text
stringlengths
0
13M
From [email protected] Sun Apr 01 13:33:29 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44557 invoked from network); 1 Apr 2007 13:33:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Apr 2007 13:33:28 -0000 Received: (qmail 79921 invoked by uid 500); 1 Apr 2007 13:33:36 -0000 Delivered-To: [email protected] Received: (qmail 79902 invoked by uid 500); 1 Apr 2007 13:33:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 79893 invoked by uid 99); 1 Apr 2007 13:33:36 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Apr 2007 06:33:36 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Apr 2007 06:33:28 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 8CAA41A9838; Sun, 1 Apr 2007 06:33:07 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r524591 - in /cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test: java/org/apache/cayenne/access/DataContextEJBQLJoinsTest.java resources/dml/access.DataContextEJBQLJoinsTest.xml Date: Sun, 01 Apr 2007 13:33:07 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: aadamchik Date: Sun Apr 1 06:33:06 2007 New Revision: 524591 URL: http://svn.apache.org/viewvc?view=rev&rev=524591 Log: CAY-452: EJB QL Cayenne Query starting on the joins support - initial unit tests Added: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DataContextEJBQLJoinsTest.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/dml/access.DataContextEJBQLJoinsTest.xml Added: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DataContextEJBQLJoinsTest.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DataContextEJBQLJoinsTest.java?view=auto&rev=524591 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DataContextEJBQLJoinsTest.java (added) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DataContextEJBQLJoinsTest.java Sun Apr 1 06:33:06 2007 @@ -0,0 +1,89 @@ +/***************************************************************** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + ****************************************************************/ +package org.apache.cayenne.access; + +import java.util.HashSet; +import java.util.Iterator; +import java.util.List; +import java.util.Set; + +import org.apache.art.Artist; +import org.apache.cayenne.DataObjectUtils; +import org.apache.cayenne.query.EJBQLQuery; +import org.apache.cayenne.unit.CayenneCase; + +public class DataContextEJBQLJoinsTest extends CayenneCase { + + protected void setUp() throws Exception { + deleteTestData(); + } + + public void testThetaJoins() throws Exception { + createTestData("testThetaJoins"); + +// String ejbql = "SELECT DISTINCT a " +// + "FROM Artist a, Painting b " +// + "WHERE a.artistName = b.paintingTitle"; +// +// List artists = createDataContext().performQuery(new EJBQLQuery(ejbql)); +// assertEquals(2, artists.size()); +// +// Set names = new HashSet(2); +// Iterator it = artists.iterator(); +// while (it.hasNext()) { +// Artist a = (Artist) it.next(); +// names.add(a.getArtistName()); +// } +// +// assertTrue(names.contains("AA1")); +// assertTrue(names.contains("BB2")); + } + + public void testInnerJoins() throws Exception { + createTestData("testInnerJoins"); + +// String ejbql = "SELECT a " +// + "FROM Artist a INNER JOIN a.paintingArray p " +// + "WHERE a.artistName = 'A1'"; +// +// List artists = createDataContext().performQuery(new EJBQLQuery(ejbql)); +// assertEquals(1, artists.size()); +// assertEquals(33001, DataObjectUtils.intPKForObject((Artist) artists.get(0))); + } + + public void testOuterJoins() throws Exception { + createTestData("testInnerJoins"); + + // String ejbql = "SELECT a " + // + "FROM Artist a LEFT JOIN a.paintingArray p " + // + "WHERE a.artistName = 'A1'"; + // + // List artists = createDataContext().performQuery(new EJBQLQuery(ejbql)); + // assertEquals(2, artists.size()); + // Set ids = new HashSet(2); + // Iterator it = artists.iterator(); + // while (it.hasNext()) { + // Artist a = (Artist) it.next(); + // ids.add(DataObjectUtils.pkForObject(a)); + // } + // + // assertTrue(ids.contains(new Integer(33001))); + // assertTrue(ids.contains(new Integer(33005))); + } +} Added: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/dml/access.DataContextEJBQLJoinsTest.xml URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/dml/access.DataContextEJBQLJoinsTest.xml?view=auto&rev=524591 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/dml/access.DataContextEJBQLJoinsTest.xml (added) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/dml/access.DataContextEJBQLJoinsTest.xml Sun Apr 1 06:33:06 2007 @@ -0,0 +1,97 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"> + +<beans default-lazy-init="true"> + <bean id="A1" class="org.apache.cayenne.unit.util.UpdatingSQLTemplate"> + <constructor-arg type="java.lang.Class"><value>org.apache.art.Artist</value></constructor-arg> + <constructor-arg><value> + insert into ARTIST (ARTIST_ID, ARTIST_NAME) values (33001, 'AA1') + </value></constructor-arg> + </bean> + + <bean id="A2" class="org.apache.cayenne.unit.util.UpdatingSQLTemplate"> + <constructor-arg type="java.lang.Class"><value>org.apache.art.Artist</value></constructor-arg> + <constructor-arg><value> + insert into ARTIST (ARTIST_ID, ARTIST_NAME) values (33002, 'AA2') + </value></constructor-arg> + </bean> + + <bean id="A3" class="org.apache.cayenne.unit.util.UpdatingSQLTemplate"> + <constructor-arg type="java.lang.Class"><value>org.apache.art.Artist</value></constructor-arg> + <constructor-arg><value> + insert into ARTIST (ARTIST_ID, ARTIST_NAME) values (33003, 'BB1') + </value></constructor-arg> + </bean> + + <bean id="A4" class="org.apache.cayenne.unit.util.UpdatingSQLTemplate"> + <constructor-arg type="java.lang.Class"><value>org.apache.art.Artist</value></constructor-arg> + <constructor-arg><value> + insert into ARTIST (ARTIST_ID, ARTIST_NAME) values (33004, 'BB2') + </value></constructor-arg> + </bean> + + <bean id="A5" class="org.apache.cayenne.unit.util.UpdatingSQLTemplate"> + <constructor-arg type="java.lang.Class"><value>org.apache.art.Artist</value></constructor-arg> + <constructor-arg><value> + insert into ARTIST (ARTIST_ID, ARTIST_NAME) values (33005, 'AA1') + </value></constructor-arg> + </bean> + + <bean id="P11" class="org.apache.cayenne.unit.util.UpdatingSQLTemplate"> + <constructor-arg type="java.lang.Class"><value>org.apache.art.Painting</value></constructor-arg> + <constructor-arg><value> + INSERT INTO PAINTING (PAINTING_ID, PAINTING_TITLE, ARTIST_ID, ESTIMATED_PRICE) VALUES (33001, 'P1', 33001, 3000) + </value></constructor-arg> + </bean> + + <bean id="P12" class="org.apache.cayenne.unit.util.UpdatingSQLTemplate"> + <constructor-arg type="java.lang.Class"><value>org.apache.art.Painting</value></constructor-arg> + <constructor-arg><value> + INSERT INTO PAINTING (PAINTING_ID, PAINTING_TITLE, ARTIST_ID, ESTIMATED_PRICE) VALUES (33002, 'P2', 33002, 5000) + </value></constructor-arg> + </bean> + + <bean id="P13" class="org.apache.cayenne.unit.util.UpdatingSQLTemplate"> + <constructor-arg type="java.lang.Class"><value>org.apache.art.Painting</value></constructor-arg> + <constructor-arg><value> + INSERT INTO PAINTING (PAINTING_ID, PAINTING_TITLE, ARTIST_ID, ESTIMATED_PRICE) VALUES (33003, 'AA1', 33001, 3000) + </value></constructor-arg> + </bean> + + <bean id="P23" class="org.apache.cayenne.unit.util.UpdatingSQLTemplate"> + <constructor-arg type="java.lang.Class"><value>org.apache.art.Painting</value></constructor-arg> + <constructor-arg><value> + INSERT INTO PAINTING (PAINTING_ID, PAINTING_TITLE, ARTIST_ID, ESTIMATED_PRICE) VALUES (33004, 'BB2', 33002, 3000) + </value></constructor-arg> + </bean> + + + <!-- ======================================= --> + <!-- Data Sets --> + <!-- ======================================= --> + + <bean id="testThetaJoins" class="java.util.ArrayList"> + <constructor-arg> + <list> + <ref bean="A1"/> + <ref bean="A2"/> + <ref bean="A3"/> + <ref bean="A4"/> + <ref bean="P11"/> + <ref bean="P12"/> + <ref bean="P13"/> + <ref bean="P23"/> + </list> + </constructor-arg> + </bean> + + <bean id="testInnerJoins" class="java.util.ArrayList"> + <constructor-arg> + <list> + <ref bean="A1"/> + <ref bean="A5"/> + <ref bean="P11"/> + </list> + </constructor-arg> + </bean> +</beans> \ No newline at end of file From [email protected] Sun Apr 01 15:04:27 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61856 invoked from network); 1 Apr 2007 15:04:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Apr 2007 15:04:27 -0000 Received: (qmail 66535 invoked by uid 500); 1 Apr 2007 15:04:35 -0000 Delivered-To: [email protected] Received: (qmail 66521 invoked by uid 500); 1 Apr 2007 15:04:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 66512 invoked by uid 500); 1 Apr 2007 15:04:34 -0000 Delivered-To: [email protected] Received: (qmail 66505 invoked by uid 99); 1 Apr 2007 15:04:34 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Apr 2007 08:04:34 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 01 Apr 2007 08:04:27 -0700 Received: (qmail 61754 invoked by uid 1723); 1 Apr 2007 15:04:06 -0000 Date: 1 Apr 2007 15:04:01 -0000 Message-ID: <[email protected]> TO: [email protected] FROM: [email protected] SUBJECT: Open Issues by Votes: 2007-04-01 X-Virus-Checked: Checked by ClamAV on apache.org Cayenne - Sunday, April 1, 2007 12 issues [CAY-132] missing toOne 2 - Bug - Andrus Adamchik - [] http://issues.apache.org/cayenne/browse/CAY-132 [CAY-314] PK Generation Improvements 1 - New Feature - Andrus Adamchik - [] http://issues.apache.org/cayenne/browse/CAY-314 [CAY-329] Long vs. Integer PK 1 - Bug - Andrus Adamchik - [] http://issues.apache.org/cayenne/browse/CAY-329 [CAY-316] stream support for blob/clob 1 - New Feature - Andrus Adamchik - [] http://issues.apache.org/cayenne/browse/CAY-316 [CAY-536] "duplicate key" error on commit 1 - Bug - Andrus Adamchik - [] http://issues.apache.org/cayenne/browse/CAY-536 [CAY-402] Entity/Attribute/Relationship naming improvements on rverse-engineering 1 - Improvement - Andrus Adamchik - [] http://issues.apache.org/cayenne/browse/CAY-402 [CAY-204] Cayenne to manage DB indexes 1 - New Feature - Andrus Adamchik - [] http://issues.apache.org/cayenne/browse/CAY-204 [CAY-400] Support for user properties of DataMap objects. 1 - New Feature - Andrus Adamchik - [] http://issues.apache.org/cayenne/browse/CAY-400 [CAY-577] Automatically invalidating cached lists when Cayenne commits changes that can affect the list 1 - Improvement - Unassigned - [] http://issues.apache.org/cayenne/browse/CAY-577 [CAY-228] addCustomDbAttribute should work as documented 1 - Bug - Andrus Adamchik - [] http://issues.apache.org/cayenne/browse/CAY-228 [CAY-431] Check for existing data before generating schema 1 - New Feature - Andrus Adamchik - [] http://issues.apache.org/cayenne/browse/CAY-431 [CAY-225] Support prototype entities and attributes 1 - New Feature - Andrus Adamchik - [] http://issues.apache.org/cayenne/browse/CAY-225 From [email protected] Mon Apr 02 00:51:01 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2991 invoked from network); 2 Apr 2007 00:51:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Apr 2007 00:51:00 -0000 Received: (qmail 74142 invoked by uid 500); 2 Apr 2007 00:51:08 -0000 Delivered-To: [email protected] Received: (qmail 74116 invoked by uid 500); 2 Apr 2007 00:51:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 74103 invoked by uid 99); 2 Apr 2007 00:51:07 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Apr 2007 17:51:07 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wx-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Apr 2007 17:50:58 -0700 Received: by wx-out-0506.google.com with SMTP id t12so1087049wxc for <[email protected]>; Sun, 01 Apr 2007 17:50:38 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=P6qrqYJ0emVoeZojc5Z0JJQ5yawBJ7kLxEDsiJ2BSPkQwqZfG3vpZxCeZ+RTGuE4wO7HWNDT3CggyAaptVQwKySV8R7gHbUHokh6GIvOxqkaOsX+p0gDgW5YVtpauJWX1S0aQgxBIk+y6yWc9/7rImmfg+qZhJkQZLC8enDCu14= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JKKovQA2Lqf3O+lNum24hp+lFxdcpwI8ZFaK0Faj4HP0D406vG/0+fKoOdoAsFEE7L895OXYb7J9dhLS6VRmu1KqRFwh3BjWvA+Wrm5/CkmsfLC20uyPHXdKvHwgipQYi6VnR80y3j9/T0tUcrdhBR1LJfiLCV6yl6qFVe32bw4= Received: by 161.129.204.104 with SMTP id w2mr1599021wae.1175475037448; Sun, 01 Apr 2007 17:50:37 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sun, 1 Apr 2007 17:50:37 -0700 (PDT) Message-ID: <[email protected]> Date: Sun, 1 Apr 2007 20:50:37 -0400 From: "Mike Kienenberger" <[email protected]> To: [email protected] Subject: Re: svn commit: r524591 - in /cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test: java/org/apache/cayenne/access/DataContextEJBQLJoinsTest.java resources/dml/access.DataContextEJBQLJoinsTest.xml Cc: [email protected] In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Andrus, Are you interested in the joins support (and outer join support) that I added to 1.2? I can try to get it integrated into either 2.0 or 3.0 later this week if you want. The biggest weakness was the expression language support backing it. On 4/1/07, [email protected] <[email protected]> wrote: > Author: aadamchik > Date: Sun Apr 1 06:33:06 2007 > New Revision: 524591 > > URL: http://svn.apache.org/viewvc?view=rev&rev=524591 > Log: > CAY-452: EJB QL Cayenne Query > starting on the joins support - initial unit tests > > Added: > cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DataContextEJBQLJoinsTest.java > cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/dml/access.DataContextEJBQLJoinsTest.xml > > Added: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DataContextEJBQLJoinsTest.java > URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DataContextEJBQLJoinsTest.java?view=auto&rev=524591 > ============================================================================== > --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DataContextEJBQLJoinsTest.java (added) > +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DataContextEJBQLJoinsTest.java Sun Apr 1 06:33:06 2007 > @@ -0,0 +1,89 @@ > +/***************************************************************** > + * Licensed to the Apache Software Foundation (ASF) under one > + * or more contributor license agreements. See the NOTICE file > + * distributed with this work for additional information > + * regarding copyright ownership. The ASF licenses this file > + * to you under the Apache License, Version 2.0 (the > + * "License"); you may not use this file except in compliance > + * with the License. You may obtain a copy of the License at > + * > + * http://www.apache.org/licenses/LICENSE-2.0 > + * > + * Unless required by applicable law or agreed to in writing, > + * software distributed under the License is distributed on an > + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY > + * KIND, either express or implied. See the License for the > + * specific language governing permissions and limitations > + * under the License. > + ****************************************************************/ > +package org.apache.cayenne.access; > + > +import java.util.HashSet; > +import java.util.Iterator; > +import java.util.List; > +import java.util.Set; > + > +import org.apache.art.Artist; > +import org.apache.cayenne.DataObjectUtils; > +import org.apache.cayenne.query.EJBQLQuery; > +import org.apache.cayenne.unit.CayenneCase; > + > +public class DataContextEJBQLJoinsTest extends CayenneCase { > + > + protected void setUp() throws Exception { > + deleteTestData(); > + } > + > + public void testThetaJoins() throws Exception { > + createTestData("testThetaJoins"); > + > +// String ejbql = "SELECT DISTINCT a " > +// + "FROM Artist a, Painting b " > +// + "WHERE a.artistName = b.paintingTitle"; > +// > +// List artists = createDataContext().performQuery(new EJBQLQuery(ejbql)); > +// assertEquals(2, artists.size()); > +// > +// Set names = new HashSet(2); > +// Iterator it = artists.iterator(); > +// while (it.hasNext()) { > +// Artist a = (Artist) it.next(); > +// names.add(a.getArtistName()); > +// } > +// > +// assertTrue(names.contains("AA1")); > +// assertTrue(names.contains("BB2")); > + } > + > + public void testInnerJoins() throws Exception { > + createTestData("testInnerJoins"); > + > +// String ejbql = "SELECT a " > +// + "FROM Artist a INNER JOIN a.paintingArray p " > +// + "WHERE a.artistName = 'A1'"; > +// > +// List artists = createDataContext().performQuery(new EJBQLQuery(ejbql)); > +// assertEquals(1, artists.size()); > +// assertEquals(33001, DataObjectUtils.intPKForObject((Artist) artists.get(0))); > + } > + > + public void testOuterJoins() throws Exception { > + createTestData("testInnerJoins"); > + > + // String ejbql = "SELECT a " > + // + "FROM Artist a LEFT JOIN a.paintingArray p " > + // + "WHERE a.artistName = 'A1'"; > + // > + // List artists = createDataContext().performQuery(new EJBQLQuery(ejbql)); > + // assertEquals(2, artists.size()); > + // Set ids = new HashSet(2); > + // Iterator it = artists.iterator(); > + // while (it.hasNext()) { > + // Artist a = (Artist) it.next(); > + // ids.add(DataObjectUtils.pkForObject(a)); > + // } > + // > + // assertTrue(ids.contains(new Integer(33001))); > + // assertTrue(ids.contains(new Integer(33005))); > + } > +} > > Added: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/dml/access.DataContextEJBQLJoinsTest.xml > URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/dml/access.DataContextEJBQLJoinsTest.xml?view=auto&rev=524591 > ============================================================================== > --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/dml/access.DataContextEJBQLJoinsTest.xml (added) > +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/dml/access.DataContextEJBQLJoinsTest.xml Sun Apr 1 06:33:06 2007 > @@ -0,0 +1,97 @@ > +<?xml version="1.0" encoding="UTF-8" ?> > +<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"> > + > +<beans default-lazy-init="true"> > + <bean id="A1" class="org.apache.cayenne.unit.util.UpdatingSQLTemplate"> > + <constructor-arg type="java.lang.Class"><value>org.apache.art.Artist</value></constructor-arg> > + <constructor-arg><value> > + insert into ARTIST (ARTIST_ID, ARTIST_NAME) values (33001, 'AA1') > + </value></constructor-arg> > + </bean> > + > + <bean id="A2" class="org.apache.cayenne.unit.util.UpdatingSQLTemplate"> > + <constructor-arg type="java.lang.Class"><value>org.apache.art.Artist</value></constructor-arg> > + <constructor-arg><value> > + insert into ARTIST (ARTIST_ID, ARTIST_NAME) values (33002, 'AA2') > + </value></constructor-arg> > + </bean> > + > + <bean id="A3" class="org.apache.cayenne.unit.util.UpdatingSQLTemplate"> > + <constructor-arg type="java.lang.Class"><value>org.apache.art.Artist</value></constructor-arg> > + <constructor-arg><value> > + insert into ARTIST (ARTIST_ID, ARTIST_NAME) values (33003, 'BB1') > + </value></constructor-arg> > + </bean> > + > + <bean id="A4" class="org.apache.cayenne.unit.util.UpdatingSQLTemplate"> > + <constructor-arg type="java.lang.Class"><value>org.apache.art.Artist</value></constructor-arg> > + <constructor-arg><value> > + insert into ARTIST (ARTIST_ID, ARTIST_NAME) values (33004, 'BB2') > + </value></constructor-arg> > + </bean> > + > + <bean id="A5" class="org.apache.cayenne.unit.util.UpdatingSQLTemplate"> > + <constructor-arg type="java.lang.Class"><value>org.apache.art.Artist</value></constructor-arg> > + <constructor-arg><value> > + insert into ARTIST (ARTIST_ID, ARTIST_NAME) values (33005, 'AA1') > + </value></constructor-arg> > + </bean> > + > + <bean id="P11" class="org.apache.cayenne.unit.util.UpdatingSQLTemplate"> > + <constructor-arg type="java.lang.Class"><value>org.apache.art.Painting</value></constructor-arg> > + <constructor-arg><value> > + INSERT INTO PAINTING (PAINTING_ID, PAINTING_TITLE, ARTIST_ID, ESTIMATED_PRICE) VALUES (33001, 'P1', 33001, 3000) > + </value></constructor-arg> > + </bean> > + > + <bean id="P12" class="org.apache.cayenne.unit.util.UpdatingSQLTemplate"> > + <constructor-arg type="java.lang.Class"><value>org.apache.art.Painting</value></constructor-arg> > + <constructor-arg><value> > + INSERT INTO PAINTING (PAINTING_ID, PAINTING_TITLE, ARTIST_ID, ESTIMATED_PRICE) VALUES (33002, 'P2', 33002, 5000) > + </value></constructor-arg> > + </bean> > + > + <bean id="P13" class="org.apache.cayenne.unit.util.UpdatingSQLTemplate"> > + <constructor-arg type="java.lang.Class"><value>org.apache.art.Painting</value></constructor-arg> > + <constructor-arg><value> > + INSERT INTO PAINTING (PAINTING_ID, PAINTING_TITLE, ARTIST_ID, ESTIMATED_PRICE) VALUES (33003, 'AA1', 33001, 3000) > + </value></constructor-arg> > + </bean> > + > + <bean id="P23" class="org.apache.cayenne.unit.util.UpdatingSQLTemplate"> > + <constructor-arg type="java.lang.Class"><value>org.apache.art.Painting</value></constructor-arg> > + <constructor-arg><value> > + INSERT INTO PAINTING (PAINTING_ID, PAINTING_TITLE, ARTIST_ID, ESTIMATED_PRICE) VALUES (33004, 'BB2', 33002, 3000) > + </value></constructor-arg> > + </bean> > + > + > + <!-- ======================================= --> > + <!-- Data Sets --> > + <!-- ======================================= --> > + > + <bean id="testThetaJoins" class="java.util.ArrayList"> > + <constructor-arg> > + <list> > + <ref bean="A1"/> > + <ref bean="A2"/> > + <ref bean="A3"/> > + <ref bean="A4"/> > + <ref bean="P11"/> > + <ref bean="P12"/> > + <ref bean="P13"/> > + <ref bean="P23"/> > + </list> > + </constructor-arg> > + </bean> > + > + <bean id="testInnerJoins" class="java.util.ArrayList"> > + <constructor-arg> > + <list> > + <ref bean="A1"/> > + <ref bean="A5"/> > + <ref bean="P11"/> > + </list> > + </constructor-arg> > + </bean> > +</beans> > \ No newline at end of file > > > From [email protected] Mon Apr 02 11:12:54 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66741 invoked from network); 2 Apr 2007 11:12:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Apr 2007 11:12:53 -0000 Received: (qmail 69089 invoked by uid 500); 2 Apr 2007 11:13:01 -0000 Delivered-To: [email protected] Received: (qmail 69070 invoked by uid 500); 2 Apr 2007 11:13:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 69061 invoked by uid 99); 2 Apr 2007 11:13:00 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 04:13:00 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 04:12:52 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id B1D571A9838; Mon, 2 Apr 2007 04:12:32 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r524766 - /cayenne/main/trunk/itests/jpa-chapter4/ Date: Mon, 02 Apr 2007 11:12:32 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: aadamchik Date: Mon Apr 2 04:12:26 2007 New Revision: 524766 URL: http://svn.apache.org/viewvc?view=rev&rev=524766 Log: adding correct ignores Modified: cayenne/main/trunk/itests/jpa-chapter4/ (props changed) Propchange: cayenne/main/trunk/itests/jpa-chapter4/ ------------------------------------------------------------------------------ --- svn:ignore (added) +++ svn:ignore Mon Apr 2 04:12:26 2007 @@ -0,0 +1 @@ +target From [email protected] Mon Apr 02 11:22:23 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68165 invoked from network); 2 Apr 2007 11:22:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Apr 2007 11:22:22 -0000 Received: (qmail 78187 invoked by uid 500); 2 Apr 2007 11:22:30 -0000 Delivered-To: [email protected] Received: (qmail 78164 invoked by uid 500); 2 Apr 2007 11:22:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 78144 invoked by uid 99); 2 Apr 2007 11:22:30 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 04:22:30 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 04:22:22 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 1B86C1A9838; Mon, 2 Apr 2007 04:22:02 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r524768 - /cayenne/main/trunk/framework/cayenne-jpa-unpublished/src/main/java/org/apache/cayenne/jpa/conf/EntityMapDefaultsProcessor.java Date: Mon, 02 Apr 2007 11:22:01 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: aadamchik Date: Mon Apr 2 04:22:00 2007 New Revision: 524768 URL: http://svn.apache.org/viewvc?view=rev&rev=524768 Log: JPA defaults processor code cleanup Modified: cayenne/main/trunk/framework/cayenne-jpa-unpublished/src/main/java/org/apache/cayenne/jpa/conf/EntityMapDefaultsProcessor.java Modified: cayenne/main/trunk/framework/cayenne-jpa-unpublished/src/main/java/org/apache/cayenne/jpa/conf/EntityMapDefaultsProcessor.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jpa-unpublished/src/main/java/org/apache/cayenne/jpa/conf/EntityMapDefaultsProcessor.java?view=diff&rev=524768&r1=524767&r2=524768 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jpa-unpublished/src/main/java/org/apache/cayenne/jpa/conf/EntityMapDefaultsProcessor.java (original) +++ cayenne/main/trunk/framework/cayenne-jpa-unpublished/src/main/java/org/apache/cayenne/jpa/conf/EntityMapDefaultsProcessor.java Mon Apr 2 04:22:00 2007 @@ -206,42 +206,33 @@ } JpaEntity entity = (JpaEntity) path.firstInstanceOf(JpaEntity.class); - JpaClassDescriptor descriptor = entity.getClassDescriptor(); - JpaPropertyDescriptor property = descriptor.getProperty(jpaBasic.getName()); - - boolean typeKnown = false; // process temporal type defaults - if (jpaBasic.getTemporal() != null) { - typeKnown = true; - } - else { + if (jpaBasic.getTemporal() == null && jpaBasic.getEnumerated() == null) { + JpaClassDescriptor descriptor = entity.getClassDescriptor(); + JpaPropertyDescriptor property = descriptor.getProperty(jpaBasic + .getName()); + + // sanity check + if (property == null) { + throw new IllegalStateException("No class property found for name: " + + jpaBasic.getName()); + } + if (java.sql.Date.class.isAssignableFrom(property.getType())) { jpaBasic.setTemporal(TemporalType.DATE); - typeKnown = true; } else if (Time.class.isAssignableFrom(property.getType())) { jpaBasic.setTemporal(TemporalType.TIME); - typeKnown = true; } else if (Timestamp.class.isAssignableFrom(property.getType())) { jpaBasic.setTemporal(TemporalType.TIMESTAMP); - typeKnown = true; } else if (Date.class.isAssignableFrom(property.getType())) { jpaBasic.setTemporal(TemporalType.TIMESTAMP); - typeKnown = true; - } - } - - // process enum type defaults - if (!typeKnown) { - if (jpaBasic.getEnumerated() != null) { - typeKnown = true; } else if (property.getType().isEnum()) { jpaBasic.setEnumerated(EnumType.ORDINAL); - typeKnown = true; } } From [email protected] Mon Apr 02 15:05:32 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54076 invoked from network); 2 Apr 2007 15:05:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Apr 2007 15:05:29 -0000 Received: (qmail 10351 invoked by uid 500); 2 Apr 2007 15:05:32 -0000 Delivered-To: [email protected] Received: (qmail 10308 invoked by uid 500); 2 Apr 2007 15:05:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 10290 invoked by uid 500); 2 Apr 2007 15:05:32 -0000 Delivered-To: [email protected] Received: (qmail 10277 invoked by uid 99); 2 Apr 2007 15:05:32 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 08:05:31 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 02 Apr 2007 08:05:23 -0700 Received: (qmail 53838 invoked by uid 1723); 2 Apr 2007 15:05:03 -0000 Date: 2 Apr 2007 15:05:00 -0000 Message-ID: <[email protected]> TO: [email protected] FROM: [email protected] SUBJECT: Issues Opened: week of 2007-04-02 X-Virus-Checked: Checked by ClamAV on apache.org Cayenne - Monday, April 2, 2007 0 opened in last 7 days From [email protected] Mon Apr 02 15:07:24 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54982 invoked from network); 2 Apr 2007 15:07:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Apr 2007 15:07:23 -0000 Received: (qmail 14806 invoked by uid 500); 2 Apr 2007 15:07:31 -0000 Delivered-To: [email protected] Received: (qmail 14786 invoked by uid 500); 2 Apr 2007 15:07:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 14772 invoked by uid 500); 2 Apr 2007 15:07:31 -0000 Delivered-To: [email protected] Received: (qmail 14769 invoked by uid 99); 2 Apr 2007 15:07:30 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 08:07:30 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 02 Apr 2007 08:07:23 -0700 Received: (qmail 54956 invoked by uid 1723); 2 Apr 2007 15:07:03 -0000 Date: 2 Apr 2007 15:07:00 -0000 Message-ID: <[email protected]> TO: [email protected] FROM: [email protected] SUBJECT: Issues Closed: week of 2007-04-02 X-Virus-Checked: Checked by ClamAV on apache.org Cayenne - Monday, April 2, 2007 0 closed in last 7 days From [email protected] Tue Apr 03 01:45:49 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29667 invoked from network); 3 Apr 2007 01:45:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Apr 2007 01:45:48 -0000 Received: (qmail 33638 invoked by uid 500); 3 Apr 2007 01:45:56 -0000 Delivered-To: [email protected] Received: (qmail 33618 invoked by uid 500); 3 Apr 2007 01:45:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 33607 invoked by uid 99); 3 Apr 2007 01:45:55 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 18:45:55 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 18:45:47 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id B0E721A9838; Mon, 2 Apr 2007 18:45:27 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r524994 - in /cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/dba/mysql: MySQLActionBuilder.java MySQLProcedureAction.java Date: Tue, 03 Apr 2007 01:45:27 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: aadamchik Date: Mon Apr 2 18:45:26 2007 New Revision: 524994 URL: http://svn.apache.org/viewvc?view=rev&rev=524994 Log: CAY-773: MySQL stored procedure support Added: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/dba/mysql/MySQLProcedureAction.java Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/dba/mysql/MySQLActionBuilder.java Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/dba/mysql/MySQLActionBuilder.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/dba/mysql/MySQLActionBuilder.java?view=diff&rev=524994&r1=524993&r2=524994 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/dba/mysql/MySQLActionBuilder.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/dba/mysql/MySQLActionBuilder.java Mon Apr 2 18:45:26 2007 @@ -26,6 +26,7 @@ import org.apache.cayenne.dba.DbAdapter; import org.apache.cayenne.dba.JdbcActionBuilder; import org.apache.cayenne.map.EntityResolver; +import org.apache.cayenne.query.ProcedureQuery; import org.apache.cayenne.query.SQLAction; import org.apache.cayenne.query.SelectQuery; @@ -51,5 +52,9 @@ return translator; } }; + } + + public SQLAction procedureAction(ProcedureQuery query) { + return new MySQLProcedureAction(query, getAdapter(), getEntityResolver()); } } Added: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/dba/mysql/MySQLProcedureAction.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/dba/mysql/MySQLProcedureAction.java?view=auto&rev=524994 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/dba/mysql/MySQLProcedureAction.java (added) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/dba/mysql/MySQLProcedureAction.java Mon Apr 2 18:45:26 2007 @@ -0,0 +1,149 @@ +/***************************************************************** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + ****************************************************************/ +package org.apache.cayenne.dba.mysql; + +import java.sql.CallableStatement; +import java.sql.Connection; +import java.sql.ResultSet; +import java.sql.SQLException; + +import org.apache.cayenne.access.OperationObserver; +import org.apache.cayenne.access.QueryLogger; +import org.apache.cayenne.access.jdbc.ProcedureAction; +import org.apache.cayenne.access.jdbc.RowDescriptor; +import org.apache.cayenne.access.trans.ProcedureTranslator; +import org.apache.cayenne.dba.DbAdapter; +import org.apache.cayenne.map.EntityResolver; +import org.apache.cayenne.query.ProcedureQuery; + +/** + * @since 3.0 + * @author Andrus Adamchik + */ +class MySQLProcedureAction extends ProcedureAction { + + public MySQLProcedureAction(ProcedureQuery query, DbAdapter adapter, + EntityResolver entityResolver) { + super(query, adapter, entityResolver); + } + + public void performAction(Connection connection, OperationObserver observer) + throws SQLException, Exception { + + processedResultSets = 0; + + ProcedureTranslator transl = createTranslator(connection); + CallableStatement statement = (CallableStatement) transl.createStatement(); + + try { + + // this is one difference with super - we need to read the first result set + // without calling 'getMoreResults' - which may actually be a good default + // strategy? + boolean firstResult = statement.execute(); + + // read out parameters + readProcedureOutParameters(statement, observer); + + // read first result + if (firstResult) { + processResultSet(statement, observer); + } + else if (!processUpdate(statement, observer)) { + return; + } + + // read the rest of the query + while (true) { + if (statement.getMoreResults()) { + processResultSet(statement, observer); + } + else if (!processUpdate(statement, observer)) { + break; + } + } + } + finally { + try { + statement.close(); + } + catch (SQLException ex) { + + } + } + } + + private void processResultSet(CallableStatement statement, OperationObserver observer) + throws Exception { + ResultSet rs = statement.getResultSet(); + + try { + RowDescriptor descriptor = describeResultSet(rs, processedResultSets++); + readResultSet(rs, descriptor, query, observer); + } + finally { + try { + rs.close(); + } + catch (SQLException ex) { + } + } + } + + private boolean processUpdate(CallableStatement statement, OperationObserver observer) + throws Exception { + int updateCount = statement.getUpdateCount(); + if (updateCount == -1) { + return false; + } + QueryLogger.logUpdateCount(updateCount); + observer.nextCount(query, updateCount); + + return true; + } + + /** + * Creates a translator that adds parenthesis to no-param queries. + */ + // see CAY-750 for the problem description + protected ProcedureTranslator createTranslator(Connection connection) { + ProcedureTranslator translator = new MySQLProcedureTranslator(); + translator.setAdapter(getAdapter()); + translator.setQuery(query); + translator.setEntityResolver(getEntityResolver()); + translator.setConnection(connection); + return translator; + } + + // same as postgres translator - should we make this the default? + static class MySQLProcedureTranslator extends ProcedureTranslator { + + protected String createSqlString() { + + String sql = super.createSqlString(); + + // add empty parameter parenthesis + if (sql.endsWith("}") && !sql.endsWith(")}")) { + sql = sql.substring(0, sql.length() - 1) + "()}"; + } + + return sql; + } + } +} From [email protected] Tue Apr 03 01:46:19 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29858 invoked from network); 3 Apr 2007 01:46:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Apr 2007 01:46:19 -0000 Received: (qmail 34521 invoked by uid 500); 3 Apr 2007 01:46:26 -0000 Delivered-To: [email protected] Received: (qmail 34506 invoked by uid 500); 3 Apr 2007 01:46:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 34490 invoked by uid 99); 3 Apr 2007 01:46:26 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 18:46:26 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 18:46:18 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 6CF851A983E; Mon, 2 Apr 2007 18:45:58 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r524995 - in /cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src: main/java/org/apache/cayenne/access/jdbc/ test/java/org/apache/cayenne/access/ test/java/org/apache/cayenne/unit/ test/resources/ddl/mysql/ Date: Tue, 03 Apr 2007 01:45:58 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: aadamchik Date: Mon Apr 2 18:45:56 2007 New Revision: 524995 URL: http://svn.apache.org/viewvc?view=rev&rev=524995 Log: CAY-773: MySQL stored procedure support unit tests Added: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/create-out-sp.sql cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/create-select-sp.sql cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/create-update-sp.sql cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/create-update-sp2.sql cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/drop-out-sp.sql cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/drop-select-sp.sql cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/drop-update-sp.sql cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/drop-update-sp2.sql Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/ProcedureAction.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DataContextProcedureQueryTest.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/unit/MySQLStackAdapter.java Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/ProcedureAction.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/ProcedureAction.java?view=diff&rev=524995&r1=524994&r2=524995 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/ProcedureAction.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/ProcedureAction.java Mon Apr 2 18:45:56 2007 @@ -75,6 +75,10 @@ // stored procedure may contain a mixture of update counts and result sets, // and out parameters. Read out parameters first, then // iterate until we exhaust all results + + // TODO: andrus, 4/2/2007 - according to the docs we should store the boolean + // return value of this method and avoid calling 'getMoreResults' if it is true. + // some db's handle this well, some don't (MySQL). statement.execute(); // read out parameters Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DataContextProcedureQueryTest.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DataContextProcedureQueryTest.java?view=diff&rev=524995&r1=524994&r2=524995 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DataContextProcedureQueryTest.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DataContextProcedureQueryTest.java Mon Apr 2 18:45:56 2007 @@ -51,7 +51,6 @@ protected void setUp() throws Exception { super.setUp(); - // Don't run this on MySQL if (!getAccessStackAdapter().supportsStoredProcedures()) { return; } @@ -61,7 +60,6 @@ } public void testUpdate() throws Exception { - // Don't run this on MySQL if (!getAccessStackAdapter().supportsStoredProcedures()) { return; } @@ -99,7 +97,6 @@ } public void testUpdateNoParam() throws Exception { - // Don't run this on MySQL if (!getAccessStackAdapter().supportsStoredProcedures()) { return; } @@ -136,7 +133,6 @@ } public void testSelect1() throws Exception { - // Don't run this on MySQL if (!getAccessStackAdapter().supportsStoredProcedures()) { return; } @@ -165,7 +161,6 @@ } public void testSelect2() throws Exception { - // Don't run this on MySQL if (!getAccessStackAdapter().supportsStoredProcedures()) { return; } @@ -195,7 +190,6 @@ } public void testSelect3() throws Exception { - // Don't run this on MySQL if (!getAccessStackAdapter().supportsStoredProcedures()) { return; } @@ -227,7 +221,6 @@ } public void testOutParams() throws Exception { - // Don't run this on MySQL if (!getAccessStackAdapter().supportsStoredProcedures()) { return; } @@ -250,7 +243,6 @@ } public void testSelectDataObject() throws Exception { - // Don't run this on MySQL if (!getAccessStackAdapter().supportsStoredProcedures()) { return; } @@ -276,7 +268,6 @@ // invalidate painting, it may have been updated in the proc ctxt.invalidateObjects(Collections.singletonList(p)); assertEquals(1101.01, p.getEstimatedPrice().doubleValue(), 0.02); - } public void testSelectWithRowDescriptor() throws Exception { Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/unit/MySQLStackAdapter.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/unit/MySQLStackAdapter.java?view=diff&rev=524995&r1=524994&r2=524995 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/unit/MySQLStackAdapter.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/unit/MySQLStackAdapter.java Mon Apr 2 18:45:56 2007 @@ -28,6 +28,7 @@ import org.apache.cayenne.dba.DbAdapter; import org.apache.cayenne.map.DataMap; import org.apache.cayenne.map.DbEntity; +import org.apache.cayenne.map.Procedure; /** * @author Andrus Adamchik @@ -50,6 +51,19 @@ return false; } + public boolean supportsStoredProcedures() { + return true; + } + + public void createdTables(Connection con, DataMap map) throws Exception { + if (map.getProcedureMap().containsKey("cayenne_tst_select_proc")) { + executeDDL(con, "mysql", "create-select-sp.sql"); + executeDDL(con, "mysql", "create-update-sp.sql"); + executeDDL(con, "mysql", "create-update-sp2.sql"); + executeDDL(con, "mysql", "create-out-sp.sql"); + } + } + public void willDropTables(Connection conn, DataMap map, Collection tablesToDrop) throws Exception { // special DROP CONSTRAINT syntax for MySQL @@ -75,6 +89,14 @@ executeDDL(conn, drop.toString()); } } + } + + Procedure proc = map.getProcedure("cayenne_tst_select_proc"); + if (proc != null && proc.getDataMap() == map) { + executeDDL(conn, "mysql", "drop-select-sp.sql"); + executeDDL(conn, "mysql", "drop-update-sp.sql"); + executeDDL(conn, "mysql", "drop-update-sp2.sql"); + executeDDL(conn, "mysql", "drop-out-sp.sql"); } } Added: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/create-out-sp.sql URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/create-out-sp.sql?view=auto&rev=524995 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/create-out-sp.sql (added) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/create-out-sp.sql Mon Apr 2 18:45:56 2007 @@ -0,0 +1,4 @@ +CREATE PROCEDURE cayenne_tst_out_proc (IN p1 INT, OUT p2 INT) +BEGIN + SELECT p1 * 2 INTO p2; +END Added: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/create-select-sp.sql URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/create-select-sp.sql?view=auto&rev=524995 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/create-select-sp.sql (added) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/create-select-sp.sql Mon Apr 2 18:45:56 2007 @@ -0,0 +1,11 @@ +CREATE PROCEDURE cayenne_tst_select_proc (IN p1 varchar(200), IN p2 DECIMAL) +BEGIN + UPDATE PAINTING SET ESTIMATED_PRICE = ESTIMATED_PRICE * 2 + WHERE ESTIMATED_PRICE < p2; + + SELECT DISTINCT A.ARTIST_ID, A.ARTIST_NAME, A.DATE_OF_BIRTH + FROM ARTIST A, PAINTING P + WHERE A.ARTIST_ID = P.ARTIST_ID AND + RTRIM(A.ARTIST_NAME) = p1 + ORDER BY A.ARTIST_ID; +END \ No newline at end of file Added: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/create-update-sp.sql URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/create-update-sp.sql?view=auto&rev=524995 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/create-update-sp.sql (added) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/create-update-sp.sql Mon Apr 2 18:45:56 2007 @@ -0,0 +1,5 @@ +CREATE PROCEDURE cayenne_tst_upd_proc (IN p1 DECIMAL) +BEGIN + UPDATE PAINTING SET ESTIMATED_PRICE = ESTIMATED_PRICE * 2 + WHERE ESTIMATED_PRICE < p1; +END Added: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/create-update-sp2.sql URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/create-update-sp2.sql?view=auto&rev=524995 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/create-update-sp2.sql (added) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/create-update-sp2.sql Mon Apr 2 18:45:56 2007 @@ -0,0 +1,4 @@ +CREATE PROCEDURE cayenne_tst_upd_proc2 () +BEGIN + UPDATE PAINTING SET ESTIMATED_PRICE = ESTIMATED_PRICE * 2; +END \ No newline at end of file Added: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/drop-out-sp.sql URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/drop-out-sp.sql?view=auto&rev=524995 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/drop-out-sp.sql (added) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/drop-out-sp.sql Mon Apr 2 18:45:56 2007 @@ -0,0 +1 @@ +DROP PROCEDURE IF EXISTS cayenne_tst_out_proc; \ No newline at end of file Added: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/drop-select-sp.sql URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/drop-select-sp.sql?view=auto&rev=524995 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/drop-select-sp.sql (added) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/drop-select-sp.sql Mon Apr 2 18:45:56 2007 @@ -0,0 +1 @@ +DROP PROCEDURE IF EXISTS cayenne_tst_select_proc; \ No newline at end of file Added: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/drop-update-sp.sql URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/drop-update-sp.sql?view=auto&rev=524995 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/drop-update-sp.sql (added) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/drop-update-sp.sql Mon Apr 2 18:45:56 2007 @@ -0,0 +1 @@ +DROP PROCEDURE IF EXISTS cayenne_tst_upd_proc; \ No newline at end of file Added: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/drop-update-sp2.sql URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/drop-update-sp2.sql?view=auto&rev=524995 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/drop-update-sp2.sql (added) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/ddl/mysql/drop-update-sp2.sql Mon Apr 2 18:45:56 2007 @@ -0,0 +1 @@ +DROP PROCEDURE IF EXISTS cayenne_tst_upd_proc2; \ No newline at end of file From [email protected] Tue Apr 03 15:09:54 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 24426 invoked from network); 3 Apr 2007 15:09:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Apr 2007 15:09:50 -0000 Received: (qmail 97730 invoked by uid 500); 3 Apr 2007 15:09:57 -0000 Delivered-To: [email protected] Received: (qmail 97715 invoked by uid 500); 3 Apr 2007 15:09:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 97706 invoked by uid 99); 3 Apr 2007 15:09:57 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2007 08:09:57 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2007 08:09:48 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 9163E1A9838; Tue, 3 Apr 2007 08:09:27 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r525170 - in /cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src: main/java/org/apache/cayenne/access/jdbc/ main/java/org/apache/cayenne/dba/ main/java/org/apache/cayenne/query/ test/java/org/apache/cayenne/access/ test/java/org/ap... Date: Tue, 03 Apr 2007 15:09:24 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: aadamchik Date: Tue Apr 3 08:09:09 2007 New Revision: 525170 URL: http://svn.apache.org/viewvc?view=rev&rev=525170 Log: CAY-452: EJB QL Cayenne Query refactoring query translation, pushing it down to the JDBC layer, so that generated sql could be customized per adapter Added: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLAction.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLConditionTranslator.java - copied, changed from r522464, cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLConditionTranslator.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLFromTranslator.java - copied, changed from r522464, cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLFromTranslator.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLPathTranslator.java - copied, changed from r522464, cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLPathTranslator.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLSelectColumnsTranslator.java - copied, changed from r520869, cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLSelectColumnsTranslator.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLSelectOrderByTranslator.java - copied, changed from r520869, cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLSelectOrderByTranslator.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLSelectTranslator.java - copied, changed from r522464, cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLSelectTranslator.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLTranslator.java - copied, changed from r522464, cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLTranslator.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLQueryMetadata.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/jdbc/EJBQLTranslatorTest.java - copied, changed from r522464, cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/query/EJBQLTranslatorTest.java Removed: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLConditionTranslator.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLFromTranslator.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLPathTranslator.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLSelectColumnsTranslator.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLSelectOrderByTranslator.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLSelectTranslator.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLTranslator.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/query/EJBQLTranslatorTest.java Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/dba/JdbcActionBuilder.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLQuery.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/SQLActionVisitor.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/SQLTemplateMetadata.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DataContextEJBQLJoinsTest.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/EmbeddingTest.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/dml/access.DataContextEJBQLJoinsTest.xml Added: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLAction.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLAction.java?view=auto&rev=525170 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLAction.java (added) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLAction.java Tue Apr 3 08:09:09 2007 @@ -0,0 +1,57 @@ +/***************************************************************** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + ****************************************************************/ +package org.apache.cayenne.access.jdbc; + +import java.sql.Connection; +import java.sql.SQLException; + +import org.apache.cayenne.access.OperationObserver; +import org.apache.cayenne.dba.DbAdapter; +import org.apache.cayenne.ejbql.EJBQLCompiledExpression; +import org.apache.cayenne.map.EntityResolver; +import org.apache.cayenne.query.EJBQLQuery; +import org.apache.cayenne.query.SQLActionVisitor; +import org.apache.cayenne.query.SQLTemplate; + +/** + * Parses an EJBQL statement, converting it to SQL. Executes the resulting SQL. + * + * @since 3.0 + * @author Andrus Adamchik + */ +public class EJBQLAction extends BaseSQLAction { + + protected SQLActionVisitor actionFactory; + protected EJBQLQuery query; + + public EJBQLAction(EJBQLQuery query, SQLActionVisitor actionFactory, + DbAdapter adapter, EntityResolver entityResolver) { + super(adapter, entityResolver); + + this.query = query; + this.actionFactory = actionFactory; + } + + public void performAction(Connection connection, OperationObserver observer) + throws SQLException, Exception { + EJBQLCompiledExpression expression = query.getExpression(getEntityResolver()); + SQLTemplate sql = new EJBQLTranslator(expression).translate(); + actionFactory.sqlAction(sql).performAction(connection, observer); + } +} Copied: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLConditionTranslator.java (from r522464, cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLConditionTranslator.java) URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLConditionTranslator.java?view=diff&rev=525170&p1=cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLConditionTranslator.java&r1=522464&p2=cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLConditionTranslator.java&r2=525170 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLConditionTranslator.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLConditionTranslator.java Tue Apr 3 08:09:09 2007 @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. ****************************************************************/ -package org.apache.cayenne.query; +package org.apache.cayenne.access.jdbc; import java.math.BigDecimal; Copied: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLFromTranslator.java (from r522464, cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLFromTranslator.java) URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLFromTranslator.java?view=diff&rev=525170&p1=cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLFromTranslator.java&r1=522464&p2=cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLFromTranslator.java&r2=525170 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLFromTranslator.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLFromTranslator.java Tue Apr 3 08:09:09 2007 @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. ****************************************************************/ -package org.apache.cayenne.query; +package org.apache.cayenne.access.jdbc; import org.apache.cayenne.ejbql.EJBQLBaseVisitor; import org.apache.cayenne.ejbql.EJBQLExpression; Copied: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLPathTranslator.java (from r522464, cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLPathTranslator.java) URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLPathTranslator.java?view=diff&rev=525170&p1=cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLPathTranslator.java&r1=522464&p2=cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLPathTranslator.java&r2=525170 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLPathTranslator.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLPathTranslator.java Tue Apr 3 08:09:09 2007 @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. ****************************************************************/ -package org.apache.cayenne.query; +package org.apache.cayenne.access.jdbc; import org.apache.cayenne.ejbql.EJBQLBaseVisitor; import org.apache.cayenne.ejbql.EJBQLException; Copied: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLSelectColumnsTranslator.java (from r520869, cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLSelectColumnsTranslator.java) URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLSelectColumnsTranslator.java?view=diff&rev=525170&p1=cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLSelectColumnsTranslator.java&r1=520869&p2=cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLSelectColumnsTranslator.java&r2=525170 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLSelectColumnsTranslator.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLSelectColumnsTranslator.java Tue Apr 3 08:09:09 2007 @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. ****************************************************************/ -package org.apache.cayenne.query; +package org.apache.cayenne.access.jdbc; import java.util.Iterator; import java.util.List; Copied: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLSelectOrderByTranslator.java (from r520869, cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLSelectOrderByTranslator.java) URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLSelectOrderByTranslator.java?view=diff&rev=525170&p1=cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLSelectOrderByTranslator.java&r1=520869&p2=cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLSelectOrderByTranslator.java&r2=525170 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLSelectOrderByTranslator.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLSelectOrderByTranslator.java Tue Apr 3 08:09:09 2007 @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. ****************************************************************/ -package org.apache.cayenne.query; +package org.apache.cayenne.access.jdbc; import org.apache.cayenne.ejbql.EJBQLBaseVisitor; @@ -26,10 +26,7 @@ */ class EJBQLSelectOrderByTranslator extends EJBQLBaseVisitor { - private EJBQLSelectTranslator parent; - - EJBQLSelectOrderByTranslator(EJBQLSelectTranslator parent) { + EJBQLSelectOrderByTranslator() { super(false); - this.parent = parent; } } Copied: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLSelectTranslator.java (from r522464, cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLSelectTranslator.java) URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLSelectTranslator.java?view=diff&rev=525170&p1=cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLSelectTranslator.java&r1=522464&p2=cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLSelectTranslator.java&r2=525170 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLSelectTranslator.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLSelectTranslator.java Tue Apr 3 08:09:09 2007 @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. ****************************************************************/ -package org.apache.cayenne.query; +package org.apache.cayenne.access.jdbc; import java.util.HashSet; import java.util.Iterator; @@ -133,7 +133,7 @@ public boolean visitOrderBy(EJBQLExpression expression) { parent.getBuffer().append(" ORDER BY"); - setDelegate(new EJBQLSelectOrderByTranslator(this)); + setDelegate(new EJBQLSelectOrderByTranslator()); return true; } Copied: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLTranslator.java (from r522464, cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLTranslator.java) URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLTranslator.java?view=diff&rev=525170&p1=cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLTranslator.java&r1=522464&p2=cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLTranslator.java&r2=525170 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLTranslator.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLTranslator.java Tue Apr 3 08:09:09 2007 @@ -16,7 +16,7 @@ * specific language governing permissions and limitations * under the License. ****************************************************************/ -package org.apache.cayenne.query; +package org.apache.cayenne.access.jdbc; import java.util.HashMap; import java.util.Map; @@ -24,6 +24,7 @@ import org.apache.cayenne.ejbql.EJBQLBaseVisitor; import org.apache.cayenne.ejbql.EJBQLCompiledExpression; import org.apache.cayenne.ejbql.EJBQLExpression; +import org.apache.cayenne.query.SQLTemplate; /** * A translator of {@link EJBQLExpression} statements into the database SQL. Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/dba/JdbcActionBuilder.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/dba/JdbcActionBuilder.java?view=diff&rev=525170&r1=525169&r2=525170 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/dba/JdbcActionBuilder.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/dba/JdbcActionBuilder.java Tue Apr 3 08:09:09 2007 @@ -20,12 +20,14 @@ package org.apache.cayenne.dba; import org.apache.cayenne.access.jdbc.BatchAction; +import org.apache.cayenne.access.jdbc.EJBQLAction; import org.apache.cayenne.access.jdbc.ProcedureAction; import org.apache.cayenne.access.jdbc.SQLTemplateAction; import org.apache.cayenne.access.jdbc.SelectAction; import org.apache.cayenne.access.jdbc.UpdateAction; import org.apache.cayenne.map.EntityResolver; import org.apache.cayenne.query.BatchQuery; +import org.apache.cayenne.query.EJBQLQuery; import org.apache.cayenne.query.ProcedureQuery; import org.apache.cayenne.query.Query; import org.apache.cayenne.query.SQLAction; @@ -80,6 +82,13 @@ } return new UpdateAction(query, adapter, entityResolver); + } + + /** + * @since 3.0 + */ + public SQLAction ejbqlAction(EJBQLQuery query) { + return new EJBQLAction(query, this, adapter, entityResolver); } /** Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLQuery.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLQuery.java?view=diff&rev=525170&r1=525169&r2=525170 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLQuery.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLQuery.java Tue Apr 3 08:09:09 2007 @@ -18,9 +18,11 @@ ****************************************************************/ package org.apache.cayenne.query; +import org.apache.cayenne.CayenneRuntimeException; import org.apache.cayenne.ejbql.EJBQLCompiledExpression; import org.apache.cayenne.ejbql.EJBQLException; import org.apache.cayenne.ejbql.EJBQLParserFactory; +import org.apache.cayenne.map.DataMap; import org.apache.cayenne.map.EntityResolver; /** @@ -29,22 +31,36 @@ * @since 3.0 * @author Andrus Adamchik */ -public class EJBQLQuery extends IndirectQuery { +public class EJBQLQuery implements Query { + protected String name; protected String ejbqlStatement; protected transient EJBQLCompiledExpression expression; + EJBQLQueryMetadata metadata = new EJBQLQueryMetadata(); public EJBQLQuery(String ejbqlStatement) { this.ejbqlStatement = ejbqlStatement; } - /** - * Compiles EJBQL into a SQLTemplate query and returns this query. - */ - protected Query createReplacementQuery(EntityResolver resolver) { - EJBQLCompiledExpression expression = getExpression(resolver); - return new EJBQLTranslator(expression).translate(); + public QueryMetadata getMetaData(EntityResolver resolver) { + metadata.resolve(resolver, this); + return metadata; + } + + public void route(QueryRouter router, EntityResolver resolver, Query substitutedQuery) { + DataMap map = getMetaData(resolver).getDataMap(); + + if (map == null) { + throw new CayenneRuntimeException("No DataMap found, can't route query " + + this); + } + + router.route(router.engineForDataMap(map), this, substitutedQuery); + } + + public SQLAction createSQLAction(SQLActionVisitor visitor) { + return visitor.ejbqlAction(this); } /** @@ -57,7 +73,8 @@ /** * Returns lazily initialized EJBQLCompiledExpression for this query EJBQL. */ - EJBQLCompiledExpression getExpression(EntityResolver resolver) throws EJBQLException { + public EJBQLCompiledExpression getExpression(EntityResolver resolver) + throws EJBQLException { if (expression == null) { this.expression = EJBQLParserFactory.getParser().compile( ejbqlStatement, @@ -65,5 +82,13 @@ } return expression; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; } } Added: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLQueryMetadata.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLQueryMetadata.java?view=auto&rev=525170 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLQueryMetadata.java (added) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/EJBQLQueryMetadata.java Tue Apr 3 08:09:09 2007 @@ -0,0 +1,38 @@ +/***************************************************************** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + ****************************************************************/ +package org.apache.cayenne.query; + +import org.apache.cayenne.map.EntityResolver; +import org.apache.cayenne.map.ObjEntity; + +/** + * A metadata object for the {@link EJBQLQuery}. + * + * @since 3.0 + * @author Andrus Adamchik + */ +class EJBQLQueryMetadata extends BaseQueryMetadata { + + boolean resolve(EntityResolver resolver, EJBQLQuery query) { + ObjEntity root = query.getExpression(resolver).getRootDescriptor().getEntity(); + + // TODO: andrus, 4/3/2007 - generate cache key based on EJBQL statement + return super.resolve(root, resolver, null); + } +} Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/SQLActionVisitor.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/SQLActionVisitor.java?view=diff&rev=525170&r1=525169&r2=525170 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/SQLActionVisitor.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/SQLActionVisitor.java Tue Apr 3 08:09:09 2007 @@ -17,16 +17,15 @@ * under the License. ****************************************************************/ - package org.apache.cayenne.query; /** * A factory interface to create standard SQLActions for a set of standard queries. * Instances of SQLActionVisitor are passed by Cayenne to a Query in - * {@link org.apache.cayenne.query.Query#createSQLAction(SQLActionVisitor)}, - * allowing query to choose the action type and convert itself to a "standard" query if - * needed. Individual DbAdapters would provide special visitors, thus allowing for - * DB-dependent execution algorithms. + * {@link org.apache.cayenne.query.Query#createSQLAction(SQLActionVisitor)}, allowing + * query to choose the action type and convert itself to a "standard" query if needed. + * Individual DbAdapters would provide special visitors, thus allowing for DB-dependent + * execution algorithms. * * @see org.apache.cayenne.query.Query#createSQLAction(SQLActionVisitor) * @since 1.2 @@ -35,27 +34,32 @@ public interface SQLActionVisitor { /** - * Executes a generic update query. + * Creates an action to execute a generic update query. */ SQLAction updateAction(Query query); /** - * Executes a batch update query. + * Creates an action to execute a batch update query. */ SQLAction batchAction(BatchQuery query); /** - * Executes a SelectQuery. + * Creates an action to execute a SelectQuery. */ SQLAction objectSelectAction(SelectQuery query); /** - * Executes a SQLTemplate. + * Creates an action to execute a SQLTemplate. */ SQLAction sqlAction(SQLTemplate query); /** - * Executes a ProcedureQuery. + * Creates an action to execute a ProcedureQuery. */ SQLAction procedureAction(ProcedureQuery query); + + /** + * Creates an action to execute EJBQL query. + */ + SQLAction ejbqlAction(EJBQLQuery query); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/SQLTemplateMetadata.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/SQLTemplateMetadata.java?view=diff&rev=525170&r1=525169&r2=525170 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/SQLTemplateMetadata.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/query/SQLTemplateMetadata.java Tue Apr 3 08:09:09 2007 @@ -31,7 +31,7 @@ * @since 3.0 * @author Andrus Adamchik */ -public class SQLTemplateMetadata extends BaseQueryMetadata { +class SQLTemplateMetadata extends BaseQueryMetadata { boolean resolve(Object root, EntityResolver resolver, SQLTemplate query) { Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DataContextEJBQLJoinsTest.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DataContextEJBQLJoinsTest.java?view=diff&rev=525170&r1=525169&r2=525170 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DataContextEJBQLJoinsTest.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DataContextEJBQLJoinsTest.java Tue Apr 3 08:09:09 2007 @@ -18,14 +18,6 @@ ****************************************************************/ package org.apache.cayenne.access; -import java.util.HashSet; -import java.util.Iterator; -import java.util.List; -import java.util.Set; - -import org.apache.art.Artist; -import org.apache.cayenne.DataObjectUtils; -import org.apache.cayenne.query.EJBQLQuery; import org.apache.cayenne.unit.CayenneCase; public class DataContextEJBQLJoinsTest extends CayenneCase { @@ -37,34 +29,34 @@ public void testThetaJoins() throws Exception { createTestData("testThetaJoins"); -// String ejbql = "SELECT DISTINCT a " -// + "FROM Artist a, Painting b " -// + "WHERE a.artistName = b.paintingTitle"; -// -// List artists = createDataContext().performQuery(new EJBQLQuery(ejbql)); -// assertEquals(2, artists.size()); -// -// Set names = new HashSet(2); -// Iterator it = artists.iterator(); -// while (it.hasNext()) { -// Artist a = (Artist) it.next(); -// names.add(a.getArtistName()); -// } -// -// assertTrue(names.contains("AA1")); -// assertTrue(names.contains("BB2")); + // String ejbql = "SELECT DISTINCT a " + // + "FROM Artist a, Painting b " + // + "WHERE a.artistName = b.paintingTitle"; + // + // List artists = createDataContext().performQuery(new EJBQLQuery(ejbql)); + // assertEquals(2, artists.size()); + // + // Set names = new HashSet(2); + // Iterator it = artists.iterator(); + // while (it.hasNext()) { + // Artist a = (Artist) it.next(); + // names.add(a.getArtistName()); + // } + // + // assertTrue(names.contains("AA1")); + // assertTrue(names.contains("BB2")); } public void testInnerJoins() throws Exception { createTestData("testInnerJoins"); -// String ejbql = "SELECT a " -// + "FROM Artist a INNER JOIN a.paintingArray p " -// + "WHERE a.artistName = 'A1'"; -// -// List artists = createDataContext().performQuery(new EJBQLQuery(ejbql)); -// assertEquals(1, artists.size()); -// assertEquals(33001, DataObjectUtils.intPKForObject((Artist) artists.get(0))); + // String ejbql = "SELECT a " + // + "FROM Artist a INNER JOIN a.paintingArray p " + // + "WHERE a.artistName = 'A1'"; + // + // List artists = createDataContext().performQuery(new EJBQLQuery(ejbql)); + // assertEquals(1, artists.size()); + // assertEquals(33001, DataObjectUtils.intPKForObject((Artist) artists.get(0))); } public void testOuterJoins() throws Exception { @@ -83,7 +75,51 @@ // ids.add(DataObjectUtils.pkForObject(a)); // } // - // assertTrue(ids.contains(new Integer(33001))); - // assertTrue(ids.contains(new Integer(33005))); + // assertTrue(ids.contains(new Integer(33001))); + // assertTrue(ids.contains(new Integer(33005))); + } + + public void testChainedJoins() throws Exception { + createTestData("testChainedJoins"); + // String ejbql = "SELECT a " + // + "FROM Artist a JOIN a.paintingArray p JOIN p.toGallery g " + // + "WHERE g.galleryName = 'gallery2'"; + // + // List artists = createDataContext().performQuery(new EJBQLQuery(ejbql)); + // assertEquals(1, artists.size()); + // assertEquals(33002, DataObjectUtils.intPKForObject((Artist) artists.get(0))); + } + + public void testImplicitJoins() throws Exception { + createTestData("testChainedJoins"); + // String ejbql = "SELECT a " + // + "FROM Artist a " + // + "WHERE a.paintingArray.gallery.galleryName = 'gallery2'"; + // + // List artists = createDataContext().performQuery(new EJBQLQuery(ejbql)); + // assertEquals(1, artists.size()); + // assertEquals(33002, DataObjectUtils.intPKForObject((Artist) artists.get(0))); + } + + public void testPartialImplicitJoins() throws Exception { + createTestData("testChainedJoins"); + // String ejbql = "SELECT a " + // + "FROM Artist a JOIN a.paintingArray b " + // + "WHERE a.paintingArray.gallery.galleryName = 'gallery2'"; + // + // List artists = createDataContext().performQuery(new EJBQLQuery(ejbql)); + // assertEquals(1, artists.size()); + // assertEquals(33002, DataObjectUtils.intPKForObject((Artist) artists.get(0))); + } + + public void testMultipleJoinsToTheSameTable() throws Exception { + createTestData("testMultipleJoinsToTheSameTable"); + // String ejbql = "SELECT a " + // + "FROM Artist a JOIN a.paintingArray b JOIN a.paintingArray c " + // + "WHERE b.paintingTitle = 'P1' AND c.paintingTitle = 'P2'"; + // + // List artists = createDataContext().performQuery(new EJBQLQuery(ejbql)); + // assertEquals(1, artists.size()); + // assertEquals(33001, DataObjectUtils.intPKForObject((Artist) artists.get(0))); } } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/EmbeddingTest.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/EmbeddingTest.java?view=diff&rev=525170&r1=525169&r2=525170 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/EmbeddingTest.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/EmbeddingTest.java Tue Apr 3 08:09:09 2007 @@ -23,7 +23,6 @@ import org.apache.cayenne.DataObjectUtils; import org.apache.cayenne.DataRow; import org.apache.cayenne.ObjectContext; -import org.apache.cayenne.PersistenceState; import org.apache.cayenne.query.SelectQuery; import org.apache.cayenne.testdo.embeddable.EmbedEntity1; import org.apache.cayenne.testdo.embeddable.Embeddable1; Copied: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/jdbc/EJBQLTranslatorTest.java (from r522464, cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/query/EJBQLTranslatorTest.java) URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/jdbc/EJBQLTranslatorTest.java?view=diff&rev=525170&p1=cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/query/EJBQLTranslatorTest.java&r1=522464&p2=cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/jdbc/EJBQLTranslatorTest.java&r2=525170 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/query/EJBQLTranslatorTest.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/jdbc/EJBQLTranslatorTest.java Tue Apr 3 08:09:09 2007 @@ -16,11 +16,12 @@ * specific language governing permissions and limitations * under the License. ****************************************************************/ -package org.apache.cayenne.query; +package org.apache.cayenne.access.jdbc; import org.apache.cayenne.ejbql.EJBQLCompiledExpression; import org.apache.cayenne.ejbql.EJBQLParser; import org.apache.cayenne.ejbql.EJBQLParserFactory; +import org.apache.cayenne.query.SQLTemplate; import org.apache.cayenne.unit.CayenneCase; public class EJBQLTranslatorTest extends CayenneCase { Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/dml/access.DataContextEJBQLJoinsTest.xml URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/dml/access.DataContextEJBQLJoinsTest.xml?view=diff&rev=525170&r1=525169&r2=525170 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/dml/access.DataContextEJBQLJoinsTest.xml (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/resources/dml/access.DataContextEJBQLJoinsTest.xml Tue Apr 3 08:09:09 2007 @@ -1,96 +1,201 @@ <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"> -<beans default-lazy-init="true"> +<beans default-lazy-init="true"> <bean id="A1" class="org.apache.cayenne.unit.util.UpdatingSQLTemplate"> - <constructor-arg type="java.lang.Class"><value>org.apache.art.Artist</value></constructor-arg> - <constructor-arg><value> - insert into ARTIST (ARTIST_ID, ARTIST_NAME) values (33001, 'AA1') - </value></constructor-arg> + <constructor-arg type="java.lang.Class"> + <value>org.apache.art.Artist</value> + </constructor-arg> + <constructor-arg> + <value>insert into ARTIST (ARTIST_ID, ARTIST_NAME) values (33001, 'AA1')</value> + </constructor-arg> </bean> - + <bean id="A2" class="org.apache.cayenne.unit.util.UpdatingSQLTemplate"> - <constructor-arg type="java.lang.Class"><value>org.apache.art.Artist</value></constructor-arg> - <constructor-arg><value> - insert into ARTIST (ARTIST_ID, ARTIST_NAME) values (33002, 'AA2') - </value></constructor-arg> + <constructor-arg type="java.lang.Class"> + <value>org.apache.art.Artist</value> + </constructor-arg> + <constructor-arg> + <value>insert into ARTIST (ARTIST_ID, ARTIST_NAME) values (33002, 'AA2')</value> + </constructor-arg> </bean> - + <bean id="A3" class="org.apache.cayenne.unit.util.UpdatingSQLTemplate"> - <constructor-arg type="java.lang.Class"><value>org.apache.art.Artist</value></constructor-arg> - <constructor-arg><value> - insert into ARTIST (ARTIST_ID, ARTIST_NAME) values (33003, 'BB1') - </value></constructor-arg> + <constructor-arg type="java.lang.Class"> + <value>org.apache.art.Artist</value> + </constructor-arg> + <constructor-arg> + <value>insert into ARTIST (ARTIST_ID, ARTIST_NAME) values (33003, 'BB1')</value> + </constructor-arg> </bean> - + <bean id="A4" class="org.apache.cayenne.unit.util.UpdatingSQLTemplate"> - <constructor-arg type="java.lang.Class"><value>org.apache.art.Artist</value></constructor-arg> - <constructor-arg><value> - insert into ARTIST (ARTIST_ID, ARTIST_NAME) values (33004, 'BB2') - </value></constructor-arg> + <constructor-arg type="java.lang.Class"> + <value>org.apache.art.Artist</value> + </constructor-arg> + <constructor-arg> + <value>insert into ARTIST (ARTIST_ID, ARTIST_NAME) values (33004, 'BB2')</value> + </constructor-arg> </bean> - + <bean id="A5" class="org.apache.cayenne.unit.util.UpdatingSQLTemplate"> - <constructor-arg type="java.lang.Class"><value>org.apache.art.Artist</value></constructor-arg> - <constructor-arg><value> - insert into ARTIST (ARTIST_ID, ARTIST_NAME) values (33005, 'AA1') - </value></constructor-arg> + <constructor-arg type="java.lang.Class"> + <value>org.apache.art.Artist</value> + </constructor-arg> + <constructor-arg> + <value>insert into ARTIST (ARTIST_ID, ARTIST_NAME) values (33005, 'AA1')</value> + </constructor-arg> </bean> - + <bean id="P11" class="org.apache.cayenne.unit.util.UpdatingSQLTemplate"> - <constructor-arg type="java.lang.Class"><value>org.apache.art.Painting</value></constructor-arg> - <constructor-arg><value> - INSERT INTO PAINTING (PAINTING_ID, PAINTING_TITLE, ARTIST_ID, ESTIMATED_PRICE) VALUES (33001, 'P1', 33001, 3000) - </value></constructor-arg> + <constructor-arg type="java.lang.Class"> + <value>org.apache.art.Painting</value> + </constructor-arg> + <constructor-arg> + <value> + INSERT INTO PAINTING (PAINTING_ID, PAINTING_TITLE, ARTIST_ID, ESTIMATED_PRICE) + VALUES (33001, 'P1', 33001, 3000) + </value> + </constructor-arg> </bean> - + <bean id="P12" class="org.apache.cayenne.unit.util.UpdatingSQLTemplate"> - <constructor-arg type="java.lang.Class"><value>org.apache.art.Painting</value></constructor-arg> - <constructor-arg><value> - INSERT INTO PAINTING (PAINTING_ID, PAINTING_TITLE, ARTIST_ID, ESTIMATED_PRICE) VALUES (33002, 'P2', 33002, 5000) - </value></constructor-arg> + <constructor-arg type="java.lang.Class"> + <value>org.apache.art.Painting</value> + </constructor-arg> + <constructor-arg> + <value> + INSERT INTO PAINTING (PAINTING_ID, PAINTING_TITLE, ARTIST_ID, ESTIMATED_PRICE) + VALUES (33002, 'P2', 33002, 5000) + </value> + </constructor-arg> </bean> - + <bean id="P13" class="org.apache.cayenne.unit.util.UpdatingSQLTemplate"> - <constructor-arg type="java.lang.Class"><value>org.apache.art.Painting</value></constructor-arg> + <constructor-arg type="java.lang.Class"> + <value>org.apache.art.Painting</value> + </constructor-arg> + <constructor-arg> + <value> + INSERT INTO PAINTING (PAINTING_ID, PAINTING_TITLE, ARTIST_ID, ESTIMATED_PRICE) + VALUES (33003, 'AA1', 33001, 3000) + </value> + </constructor-arg> + </bean> + + <bean id="P23" class="org.apache.cayenne.unit.util.UpdatingSQLTemplate"> + <constructor-arg type="java.lang.Class"> + <value>org.apache.art.Painting</value> + </constructor-arg> + <constructor-arg> + <value> + INSERT INTO PAINTING (PAINTING_ID, PAINTING_TITLE, ARTIST_ID, ESTIMATED_PRICE) + VALUES (33004, 'BB2', 33002, 3000) + </value> + </constructor-arg> + </bean> + + <bean id="P14" class="org.apache.cayenne.unit.util.UpdatingSQLTemplate"> + <constructor-arg type="java.lang.Class"> + <value>org.apache.art.Painting</value> + </constructor-arg> + <constructor-arg> + <value> + INSERT INTO PAINTING (PAINTING_ID, GALLERY_ID, PAINTING_TITLE, ARTIST_ID, ESTIMATED_PRICE) + VALUES (33005, 33001, 'CC1', 33001, 5000) + </value> + </constructor-arg> + </bean> + + <bean id="P24" class="org.apache.cayenne.unit.util.UpdatingSQLTemplate"> + <constructor-arg type="java.lang.Class"> + <value>org.apache.art.Painting</value> + </constructor-arg> + <constructor-arg> + <value> + INSERT INTO PAINTING (PAINTING_ID, GALLERY_ID, PAINTING_TITLE, ARTIST_ID, ESTIMATED_PRICE) + VALUES (33006, 33002, 'CC2', 33002, 5000) + </value> + </constructor-arg> + </bean> + + <bean id="P15" class="org.apache.cayenne.unit.util.UpdatingSQLTemplate"> + <constructor-arg type="java.lang.Class"> + <value>org.apache.art.Painting</value> + </constructor-arg> + <constructor-arg> + <value> + INSERT INTO PAINTING (PAINTING_ID, PAINTING_TITLE, ARTIST_ID, ESTIMATED_PRICE) + VALUES (33007, 'P2', 33001, 5000) + </value> + </constructor-arg> + </bean> + + <bean id="G1" class="org.apache.cayenne.unit.util.UpdatingSQLTemplate"> + <constructor-arg type="java.lang.Class"><value>org.apache.art.Gallery</value></constructor-arg> <constructor-arg><value> - INSERT INTO PAINTING (PAINTING_ID, PAINTING_TITLE, ARTIST_ID, ESTIMATED_PRICE) VALUES (33003, 'AA1', 33001, 3000) + INSERT INTO GALLERY (GALLERY_ID, GALLERY_NAME) VALUES (33001, 'gallery1') </value></constructor-arg> </bean> - <bean id="P23" class="org.apache.cayenne.unit.util.UpdatingSQLTemplate"> - <constructor-arg type="java.lang.Class"><value>org.apache.art.Painting</value></constructor-arg> + <bean id="G2" class="org.apache.cayenne.unit.util.UpdatingSQLTemplate"> + <constructor-arg type="java.lang.Class"><value>org.apache.art.Gallery</value></constructor-arg> <constructor-arg><value> - INSERT INTO PAINTING (PAINTING_ID, PAINTING_TITLE, ARTIST_ID, ESTIMATED_PRICE) VALUES (33004, 'BB2', 33002, 3000) + INSERT INTO GALLERY (GALLERY_ID, GALLERY_NAME) VALUES (33002, 'gallery2') </value></constructor-arg> </bean> - + <!-- ======================================= --> <!-- Data Sets --> - <!-- ======================================= --> - + <!-- ======================================= --> + <bean id="testThetaJoins" class="java.util.ArrayList"> <constructor-arg> <list> - <ref bean="A1"/> - <ref bean="A2"/> - <ref bean="A3"/> - <ref bean="A4"/> - <ref bean="P11"/> - <ref bean="P12"/> - <ref bean="P13"/> - <ref bean="P23"/> + <ref bean="A1" /> + <ref bean="A2" /> + <ref bean="A3" /> + <ref bean="A4" /> + <ref bean="P11" /> + <ref bean="P12" /> + <ref bean="P13" /> + <ref bean="P23" /> </list> </constructor-arg> </bean> - + <bean id="testInnerJoins" class="java.util.ArrayList"> <constructor-arg> <list> - <ref bean="A1"/> - <ref bean="A5"/> - <ref bean="P11"/> + <ref bean="A1" /> + <ref bean="A5" /> + <ref bean="P11" /> + </list> + </constructor-arg> + </bean> + + <bean id="testChainedJoins" class="java.util.ArrayList"> + <constructor-arg> + <list> + <ref bean="A1" /> + <ref bean="A2" /> + <ref bean="G1" /> + <ref bean="G2" /> + <ref bean="P14" /> + <ref bean="P24" /> + </list> + </constructor-arg> + </bean> + + <bean id="testMultipleJoinsToTheSameTable" class="java.util.ArrayList"> + <constructor-arg> + <list> + <ref bean="A1" /> + <ref bean="A2" /> + <ref bean="P11" /> + <ref bean="P12" /> + <ref bean="P15" /> </list> </constructor-arg> </bean> From [email protected] Wed Apr 04 23:37:25 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42479 invoked from network); 4 Apr 2007 23:37:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Apr 2007 23:37:25 -0000 Received: (qmail 49200 invoked by uid 500); 4 Apr 2007 23:37:32 -0000 Delivered-To: [email protected] Received: (qmail 49173 invoked by uid 500); 4 Apr 2007 23:37:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 49164 invoked by uid 99); 4 Apr 2007 23:37:32 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2007 16:37:32 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2007 16:37:24 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 911F91A9838; Wed, 4 Apr 2007 16:37:04 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r525639 - in /cayenne/main/trunk: itests/jpa-chapter5/pom.xml pom.xml Date: Wed, 04 Apr 2007 23:37:04 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: aadamchik Date: Wed Apr 4 16:37:03 2007 New Revision: 525639 URL: http://svn.apache.org/viewvc?view=rev&rev=525639 Log: fixing poms for the latest OpenEJB used in itests - it now needs Derby Modified: cayenne/main/trunk/itests/jpa-chapter5/pom.xml cayenne/main/trunk/pom.xml Modified: cayenne/main/trunk/itests/jpa-chapter5/pom.xml URL: http://svn.apache.org/viewvc/cayenne/main/trunk/itests/jpa-chapter5/pom.xml?view=diff&rev=525639&r1=525638&r2=525639 ============================================================================== --- cayenne/main/trunk/itests/jpa-chapter5/pom.xml (original) +++ cayenne/main/trunk/itests/jpa-chapter5/pom.xml Wed Apr 4 16:37:03 2007 @@ -50,6 +50,11 @@ <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-jpa_3.0_spec</artifactId> </dependency> + + <dependency> + <groupId>org.apache.derby</groupId> + <artifactId>derby</artifactId> + </dependency> </dependencies> <build> Modified: cayenne/main/trunk/pom.xml URL: http://svn.apache.org/viewvc/cayenne/main/trunk/pom.xml?view=diff&rev=525639&r1=525638&r2=525639 ============================================================================== --- cayenne/main/trunk/pom.xml (original) +++ cayenne/main/trunk/pom.xml Wed Apr 4 16:37:03 2007 @@ -322,6 +322,13 @@ <version>161.129.204.104</version> </dependency> + <dependency> + <groupId>org.apache.derby</groupId> + <artifactId>derby</artifactId> + <version>161.129.204.104</version> + <scope>test</scope> + </dependency> + <dependency> <groupId>com.caucho</groupId> <artifactId>hessian</artifactId> @@ -719,14 +726,6 @@ <value>derby</value> </property> </activation> - <dependencies> - <dependency> - <groupId>org.apache.derby</groupId> - <artifactId>derby</artifactId> - <version>161.129.204.104</version> - <scope>test</scope> - </dependency> - </dependencies> </profile> </profiles> </project> From [email protected] Thu Apr 05 13:07:03 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78257 invoked from network); 5 Apr 2007 13:07:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Apr 2007 13:07:02 -0000 Received: (qmail 90469 invoked by uid 500); 5 Apr 2007 13:07:10 -0000 Delivered-To: [email protected] Received: (qmail 90447 invoked by uid 500); 5 Apr 2007 13:07:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 90438 invoked by uid 99); 5 Apr 2007 13:07:09 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2007 06:07:09 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2007 06:07:02 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 1740E1A9838; Thu, 5 Apr 2007 06:06:42 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r525811 - /cayenne/main/branches/STABLE-2.0/cayenne/cayenne-ant/maven/cayenne-modeler-pom.xml Date: Thu, 05 Apr 2007 13:06:41 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: aadamchik Date: Thu Apr 5 06:06:41 2007 New Revision: 525811 URL: http://svn.apache.org/viewvc?view=rev&rev=525811 Log: CAY-774: cayenne-modeler pom.xml has incorrect dependancy Modified: cayenne/main/branches/STABLE-2.0/cayenne/cayenne-ant/maven/cayenne-modeler-pom.xml Modified: cayenne/main/branches/STABLE-2.0/cayenne/cayenne-ant/maven/cayenne-modeler-pom.xml URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-2.0/cayenne/cayenne-ant/maven/cayenne-modeler-pom.xml?view=diff&rev=525811&r1=525810&r2=525811 ============================================================================== --- cayenne/main/branches/STABLE-2.0/cayenne/cayenne-ant/maven/cayenne-modeler-pom.xml (original) +++ cayenne/main/branches/STABLE-2.0/cayenne/cayenne-ant/maven/cayenne-modeler-pom.xml Thu Apr 5 06:06:41 2007 @@ -55,7 +55,7 @@ <dependencies> <dependency> - <groupId>org.objectstyle.cayenne</groupId> + <groupId>org.apache.cayenne</groupId> <artifactId>cayenne-nodeps</artifactId> <version>@PROJECT-VERSION@</version> </dependency> @@ -140,4 +140,4 @@ </exclusions> </dependency> </dependencies> -</project> \ No newline at end of file +</project> From [email protected] Thu Apr 05 13:09:27 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79217 invoked from network); 5 Apr 2007 13:09:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Apr 2007 13:09:26 -0000 Received: (qmail 93595 invoked by uid 500); 5 Apr 2007 13:09:34 -0000 Delivered-To: [email protected] Received: (qmail 93573 invoked by uid 500); 5 Apr 2007 13:09:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 93564 invoked by uid 99); 5 Apr 2007 13:09:34 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2007 06:09:34 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2007 06:09:26 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 5240F1A983E; Thu, 5 Apr 2007 06:09:06 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r525813 - /cayenne/main/branches/STABLE-2.0/cayenne/cayenne-other/release-notes/RELEASE-NOTES-2.0-SNAPSHOT.txt Date: Thu, 05 Apr 2007 13:09:06 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: aadamchik Date: Thu Apr 5 06:09:05 2007 New Revision: 525813 URL: http://svn.apache.org/viewvc?view=rev&rev=525813 Log: CAY-774: cayenne-modeler pom.xml has incorrect dependancy Modified: cayenne/main/branches/STABLE-2.0/cayenne/cayenne-other/release-notes/RELEASE-NOTES-2.0-SNAPSHOT.txt Modified: cayenne/main/branches/STABLE-2.0/cayenne/cayenne-other/release-notes/RELEASE-NOTES-2.0-SNAPSHOT.txt URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-2.0/cayenne/cayenne-other/release-notes/RELEASE-NOTES-2.0-SNAPSHOT.txt?view=diff&rev=525813&r1=525812&r2=525813 ============================================================================== --- cayenne/main/branches/STABLE-2.0/cayenne/cayenne-other/release-notes/RELEASE-NOTES-2.0-SNAPSHOT.txt (original) +++ cayenne/main/branches/STABLE-2.0/cayenne/cayenne-other/release-notes/RELEASE-NOTES-2.0-SNAPSHOT.txt Thu Apr 5 06:09:05 2007 @@ -22,6 +22,7 @@ CAY-754 Local jNDI hack breaks when running with Jetty6-Maven CAY-764 Exception when importing an EOModel with single table inheritance CAY-765 Programmatically overriding "use share cache" fails +CAY-774 cayenne-modeler pom.xml has incorrect dependancy ---------------------------------- Release: 2.0.2 From [email protected] Thu Apr 05 13:11:00 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79438 invoked from network); 5 Apr 2007 13:11:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Apr 2007 13:11:00 -0000 Received: (qmail 94732 invoked by uid 500); 5 Apr 2007 13:11:07 -0000 Delivered-To: [email protected] Received: (qmail 94719 invoked by uid 500); 5 Apr 2007 13:11:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 94710 invoked by uid 99); 5 Apr 2007 13:11:07 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2007 06:11:07 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2007 06:10:59 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id C8DDA1A9838; Thu, 5 Apr 2007 06:10:39 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r525814 - /cayenne/main/trunk/itests/jpa-chapter5/ Date: Thu, 05 Apr 2007 13:10:39 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: aadamchik Date: Thu Apr 5 06:10:39 2007 New Revision: 525814 URL: http://svn.apache.org/viewvc?view=rev&rev=525814 Log: active mq creates tem dirs in the root... until we figure out how to get rid of it, or route to target, I am adding it to ignores Modified: cayenne/main/trunk/itests/jpa-chapter5/ (props changed) Propchange: cayenne/main/trunk/itests/jpa-chapter5/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Thu Apr 5 06:10:39 2007 @@ -1 +1,2 @@ +activemq-data target From [email protected] Sun Apr 08 13:31:47 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 1178 invoked from network); 8 Apr 2007 13:31:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Apr 2007 13:31:47 -0000 Received: (qmail 4026 invoked by uid 500); 8 Apr 2007 13:31:53 -0000 Delivered-To: [email protected] Received: (qmail 4000 invoked by uid 500); 8 Apr 2007 13:31:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 3991 invoked by uid 99); 8 Apr 2007 13:31:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Apr 2007 06:31:53 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Apr 2007 06:31:46 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 4A6781A9838; Sun, 8 Apr 2007 06:31:26 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r526551 - in /cayenne/main/branches/STABLE-2.0/cayenne: cayenne-java/src/cayenne/java/org/apache/cayenne/dba/sybase/SybaseSniffer.java cayenne-other/release-notes/RELEASE-NOTES-2.0-SNAPSHOT.txt Date: Sun, 08 Apr 2007 13:31:26 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: aadamchik Date: Sun Apr 8 06:31:25 2007 New Revision: 526551 URL: http://svn.apache.org/viewvc?view=rev&rev=526551 Log: CAY-775: AutoAdapter fails to detect Sybase when running with jTDS driver - 2.0 Modified: cayenne/main/branches/STABLE-2.0/cayenne/cayenne-java/src/cayenne/java/org/apache/cayenne/dba/sybase/SybaseSniffer.java cayenne/main/branches/STABLE-2.0/cayenne/cayenne-other/release-notes/RELEASE-NOTES-2.0-SNAPSHOT.txt Modified: cayenne/main/branches/STABLE-2.0/cayenne/cayenne-java/src/cayenne/java/org/apache/cayenne/dba/sybase/SybaseSniffer.java URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-2.0/cayenne/cayenne-java/src/cayenne/java/org/apache/cayenne/dba/sybase/SybaseSniffer.java?view=diff&rev=526551&r1=526550&r2=526551 ============================================================================== --- cayenne/main/branches/STABLE-2.0/cayenne/cayenne-java/src/cayenne/java/org/apache/cayenne/dba/sybase/SybaseSniffer.java (original) +++ cayenne/main/branches/STABLE-2.0/cayenne/cayenne-java/src/cayenne/java/org/apache/cayenne/dba/sybase/SybaseSniffer.java Sun Apr 8 06:31:25 2007 @@ -33,10 +33,20 @@ */ public class SybaseSniffer implements DbAdapterFactory { - public DbAdapter createAdapter(DatabaseMetaData md) throws SQLException { - String dbName = md.getDatabaseProductName(); - return dbName != null && dbName.toUpperCase().indexOf("ADAPTIVE SERVER") >= 0 - ? new SybaseAdapter() - : null; + public DbAdapter createAdapter(DatabaseMetaData md) throws SQLException { + // JTDS driver returns "sql server" for Sybase, so need to handle it differently + String driver = md.getDriverName(); + if(driver != null && driver.toLowerCase().startsWith("jtds")) { + String url = md.getURL(); + return url != null && url.toLowerCase().startsWith("jdbc:jtds:sybase:") + ? new SybaseAdapter() + : null; + } + else { + String dbName = md.getDatabaseProductName(); + return dbName != null && dbName.toUpperCase().indexOf("ADAPTIVE SERVER") >= 0 + ? new SybaseAdapter() + : null; + } } } Modified: cayenne/main/branches/STABLE-2.0/cayenne/cayenne-other/release-notes/RELEASE-NOTES-2.0-SNAPSHOT.txt URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-2.0/cayenne/cayenne-other/release-notes/RELEASE-NOTES-2.0-SNAPSHOT.txt?view=diff&rev=526551&r1=526550&r2=526551 ============================================================================== --- cayenne/main/branches/STABLE-2.0/cayenne/cayenne-other/release-notes/RELEASE-NOTES-2.0-SNAPSHOT.txt (original) +++ cayenne/main/branches/STABLE-2.0/cayenne/cayenne-other/release-notes/RELEASE-NOTES-2.0-SNAPSHOT.txt Sun Apr 8 06:31:25 2007 @@ -23,6 +23,7 @@ CAY-764 Exception when importing an EOModel with single table inheritance CAY-765 Programmatically overriding "use share cache" fails CAY-774 cayenne-modeler pom.xml has incorrect dependancy +CAY-775 AutoAdapter fails to detect Sybase when running with jTDS driver ---------------------------------- Release: 2.0.2 From [email protected] Sun Apr 08 13:34:00 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 1308 invoked from network); 8 Apr 2007 13:34:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Apr 2007 13:34:00 -0000 Received: (qmail 5000 invoked by uid 500); 8 Apr 2007 13:34:07 -0000 Delivered-To: [email protected] Received: (qmail 4978 invoked by uid 500); 8 Apr 2007 13:34:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 4967 invoked by uid 99); 8 Apr 2007 13:34:06 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Apr 2007 06:34:06 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Apr 2007 06:33:59 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 85DE51A9838; Sun, 8 Apr 2007 06:33:39 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r526552 - in /cayenne/main/branches/STABLE-1.2/cayenne: cayenne-java/src/cayenne/java/org/objectstyle/cayenne/dba/sybase/SybaseSniffer.java cayenne-other/release-notes/RELEASE-NOTES-1.2.3.txt Date: Sun, 08 Apr 2007 13:33:39 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: aadamchik Date: Sun Apr 8 06:33:38 2007 New Revision: 526552 URL: http://svn.apache.org/viewvc?view=rev&rev=526552 Log: CAY-775 AutoAdapter fails to detect Sybase when running with jTDS driver Modified: cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/dba/sybase/SybaseSniffer.java cayenne/main/branches/STABLE-1.2/cayenne/cayenne-other/release-notes/RELEASE-NOTES-1.2.3.txt Modified: cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/dba/sybase/SybaseSniffer.java URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/dba/sybase/SybaseSniffer.java?view=diff&rev=526552&r1=526551&r2=526552 ============================================================================== --- cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/dba/sybase/SybaseSniffer.java (original) +++ cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/dba/sybase/SybaseSniffer.java Sun Apr 8 06:33:38 2007 @@ -69,10 +69,20 @@ */ public class SybaseSniffer implements DbAdapterFactory { - public DbAdapter createAdapter(DatabaseMetaData md) throws SQLException { - String dbName = md.getDatabaseProductName(); - return dbName != null && dbName.toUpperCase().indexOf("ADAPTIVE SERVER") >= 0 - ? new SybaseAdapter() - : null; + public DbAdapter createAdapter(DatabaseMetaData md) throws SQLException { + // JTDS driver returns "sql server" for Sybase, so need to handle it differently + String driver = md.getDriverName(); + if(driver != null && driver.toLowerCase().startsWith("jtds")) { + String url = md.getURL(); + return url != null && url.toLowerCase().startsWith("jdbc:jtds:sybase:") + ? new SybaseAdapter() + : null; + } + else { + String dbName = md.getDatabaseProductName(); + return dbName != null && dbName.toUpperCase().indexOf("ADAPTIVE SERVER") >= 0 + ? new SybaseAdapter() + : null; + } } } Modified: cayenne/main/branches/STABLE-1.2/cayenne/cayenne-other/release-notes/RELEASE-NOTES-1.2.3.txt URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-1.2/cayenne/cayenne-other/release-notes/RELEASE-NOTES-1.2.3.txt?view=diff&rev=526552&r1=526551&r2=526552 ============================================================================== --- cayenne/main/branches/STABLE-1.2/cayenne/cayenne-other/release-notes/RELEASE-NOTES-1.2.3.txt (original) +++ cayenne/main/branches/STABLE-1.2/cayenne/cayenne-other/release-notes/RELEASE-NOTES-1.2.3.txt Sun Apr 8 06:33:38 2007 @@ -18,3 +18,4 @@ CAY-754 Local jNDI hack breaks when running with Jetty6-Maven CAY-764 Exception when importing an EOModel with single table inheritance CAY-765 Programmatically overriding "use share cache" fails +CAY-775 AutoAdapter fails to detect Sybase when running with jTDS driver From [email protected] Sun Apr 08 13:35:54 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 1375 invoked from network); 8 Apr 2007 13:35:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Apr 2007 13:35:54 -0000 Received: (qmail 5608 invoked by uid 500); 8 Apr 2007 13:36:00 -0000 Delivered-To: [email protected] Received: (qmail 5583 invoked by uid 500); 8 Apr 2007 13:36:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 5574 invoked by uid 99); 8 Apr 2007 13:36:00 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Apr 2007 06:36:00 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Apr 2007 06:35:53 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 609071A9838; Sun, 8 Apr 2007 06:35:33 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r526553 - in /cayenne/main/trunk: docs/doc/src/main/resources/RELEASE-NOTES.txt framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/dba/sybase/SybaseSniffer.java Date: Sun, 08 Apr 2007 13:35:33 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: aadamchik Date: Sun Apr 8 06:35:32 2007 New Revision: 526553 URL: http://svn.apache.org/viewvc?view=rev&rev=526553 Log: CAY-775 AutoAdapter fails to detect Sybase when running with jTDS driver 3.0 Modified: cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/dba/sybase/SybaseSniffer.java Modified: cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt?view=diff&rev=526553&r1=526552&r2=526553 ============================================================================== --- cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt (original) +++ cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt Sun Apr 8 06:35:32 2007 @@ -89,6 +89,7 @@ CAY-754 Local jNDI hack breaks when running with Jetty6-Maven CAY-764 Exception when importing an EOModel with single table inheritance CAY-765 Programmatically overriding "use share cache" fails +CAY-775 AutoAdapter fails to detect Sybase when running with jTDS driver API Changes ---------------------------------- Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/dba/sybase/SybaseSniffer.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/dba/sybase/SybaseSniffer.java?view=diff&rev=526553&r1=526552&r2=526553 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/dba/sybase/SybaseSniffer.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/dba/sybase/SybaseSniffer.java Sun Apr 8 06:35:32 2007 @@ -33,10 +33,20 @@ */ public class SybaseSniffer implements DbAdapterFactory { - public DbAdapter createAdapter(DatabaseMetaData md) throws SQLException { - String dbName = md.getDatabaseProductName(); - return dbName != null && dbName.toUpperCase().indexOf("ADAPTIVE SERVER") >= 0 - ? new SybaseAdapter() - : null; + public DbAdapter createAdapter(DatabaseMetaData md) throws SQLException { + // JTDS driver returns "sql server" for Sybase, so need to handle it differently + String driver = md.getDriverName(); + if(driver != null && driver.toLowerCase().startsWith("jtds")) { + String url = md.getURL(); + return url != null && url.toLowerCase().startsWith("jdbc:jtds:sybase:") + ? new SybaseAdapter() + : null; + } + else { + String dbName = md.getDatabaseProductName(); + return dbName != null && dbName.toUpperCase().indexOf("ADAPTIVE SERVER") >= 0 + ? new SybaseAdapter() + : null; + } } } From [email protected] Sun Apr 08 13:55:50 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3314 invoked from network); 8 Apr 2007 13:55:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Apr 2007 13:55:49 -0000 Received: (qmail 15632 invoked by uid 500); 8 Apr 2007 13:55:56 -0000 Delivered-To: [email protected] Received: (qmail 15616 invoked by uid 500); 8 Apr 2007 13:55:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 15607 invoked by uid 99); 8 Apr 2007 13:55:56 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Apr 2007 06:55:56 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Apr 2007 06:55:49 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id E9EF51A9838; Sun, 8 Apr 2007 06:55:28 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r526558 - /cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/unit/SybaseStackAdapter.java Date: Sun, 08 Apr 2007 13:55:28 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: aadamchik Date: Sun Apr 8 06:55:28 2007 New Revision: 526558 URL: http://svn.apache.org/viewvc?view=rev&rev=526558 Log: fixing sybase test case helper - this pending a more generic CAY-116 fix Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/unit/SybaseStackAdapter.java Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/unit/SybaseStackAdapter.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/unit/SybaseStackAdapter.java?view=diff&rev=526558&r1=526557&r2=526558 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/unit/SybaseStackAdapter.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/unit/SybaseStackAdapter.java Sun Apr 8 06:55:28 2007 @@ -24,6 +24,7 @@ import java.sql.Statement; import java.util.ArrayList; import java.util.Collection; +import java.util.Iterator; import java.util.List; import org.apache.cayenne.dba.DbAdapter; @@ -60,7 +61,11 @@ public void willDropTables(Connection con, DataMap map, Collection tablesToDrop) throws Exception { - super.willDropTables(con, map, tablesToDrop); + + Iterator it = tablesToDrop.iterator(); + while (it.hasNext()) { + dropConstraints(con, (String) it.next()); + } Procedure proc = map.getProcedure("cayenne_tst_select_proc"); if (proc != null && proc.getDataMap() == map) { From [email protected] Sun Apr 08 14:04:16 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4331 invoked from network); 8 Apr 2007 14:04:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Apr 2007 14:04:12 -0000 Received: (qmail 19957 invoked by uid 500); 8 Apr 2007 14:04:19 -0000 Delivered-To: [email protected] Received: (qmail 19944 invoked by uid 500); 8 Apr 2007 14:04:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 19934 invoked by uid 99); 8 Apr 2007 14:04:19 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Apr 2007 07:04:19 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Apr 2007 07:04:11 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id B68521A983E; Sun, 8 Apr 2007 07:03:51 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r526560 - /cayenne/main/branches/STABLE-2.0/cayenne/cayenne-java/src/tests/java/org/apache/cayenne/unit/SybaseStackAdapter.java Date: Sun, 08 Apr 2007 14:03:51 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: aadamchik Date: Sun Apr 8 07:03:51 2007 New Revision: 526560 URL: http://svn.apache.org/viewvc?view=rev&rev=526560 Log: fixing sybase unit tests to be able to run with tds driver Modified: cayenne/main/branches/STABLE-2.0/cayenne/cayenne-java/src/tests/java/org/apache/cayenne/unit/SybaseStackAdapter.java Modified: cayenne/main/branches/STABLE-2.0/cayenne/cayenne-java/src/tests/java/org/apache/cayenne/unit/SybaseStackAdapter.java URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-2.0/cayenne/cayenne-java/src/tests/java/org/apache/cayenne/unit/SybaseStackAdapter.java?view=diff&rev=526560&r1=526559&r2=526560 ============================================================================== --- cayenne/main/branches/STABLE-2.0/cayenne/cayenne-java/src/tests/java/org/apache/cayenne/unit/SybaseStackAdapter.java (original) +++ cayenne/main/branches/STABLE-2.0/cayenne/cayenne-java/src/tests/java/org/apache/cayenne/unit/SybaseStackAdapter.java Sun Apr 8 07:03:51 2007 @@ -24,6 +24,7 @@ import java.sql.Statement; import java.util.ArrayList; import java.util.Collection; +import java.util.Iterator; import java.util.List; import org.apache.cayenne.dba.DbAdapter; @@ -59,7 +60,11 @@ public void willDropTables(Connection con, DataMap map, Collection tablesToDrop) throws Exception { - super.willDropTables(con, map, tablesToDrop); + + Iterator it = tablesToDrop.iterator(); + while (it.hasNext()) { + dropConstraints(con, (String) it.next()); + } Procedure proc = map.getProcedure("cayenne_tst_select_proc"); if (proc != null && proc.getDataMap() == map) { From [email protected] Sun Apr 08 14:10:20 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5022 invoked from network); 8 Apr 2007 14:10:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Apr 2007 14:10:20 -0000 Received: (qmail 24888 invoked by uid 500); 8 Apr 2007 14:10:27 -0000 Delivered-To: [email protected] Received: (qmail 24865 invoked by uid 500); 8 Apr 2007 14:10:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 24856 invoked by uid 99); 8 Apr 2007 14:10:26 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Apr 2007 07:10:26 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Apr 2007 07:10:19 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 8BEFC1A9838; Sun, 8 Apr 2007 07:09:59 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r526561 - /cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/tests/java/org/objectstyle/cayenne/unit/SybaseStackAdapter.java Date: Sun, 08 Apr 2007 14:09:59 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: aadamchik Date: Sun Apr 8 07:09:58 2007 New Revision: 526561 URL: http://svn.apache.org/viewvc?view=rev&rev=526561 Log: fixing sybase unit tests to be able to run with tds driver Modified: cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/tests/java/org/objectstyle/cayenne/unit/SybaseStackAdapter.java Modified: cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/tests/java/org/objectstyle/cayenne/unit/SybaseStackAdapter.java URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/tests/java/org/objectstyle/cayenne/unit/SybaseStackAdapter.java?view=diff&rev=526561&r1=526560&r2=526561 ============================================================================== --- cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/tests/java/org/objectstyle/cayenne/unit/SybaseStackAdapter.java (original) +++ cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/tests/java/org/objectstyle/cayenne/unit/SybaseStackAdapter.java Sun Apr 8 07:09:58 2007 @@ -60,6 +60,7 @@ import java.sql.Statement; import java.util.ArrayList; import java.util.Collection; +import java.util.Iterator; import java.util.List; import org.objectstyle.cayenne.dba.DbAdapter; @@ -95,7 +96,11 @@ public void willDropTables(Connection con, DataMap map, Collection tablesToDrop) throws Exception { - super.willDropTables(con, map, tablesToDrop); + + Iterator it = tablesToDrop.iterator(); + while (it.hasNext()) { + dropConstraints(con, (String) it.next()); + } Procedure proc = map.getProcedure("cayenne_tst_select_proc"); if (proc != null && proc.getDataMap() == map) { From [email protected] Sun Apr 08 18:56:20 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48133 invoked from network); 8 Apr 2007 18:56:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Apr 2007 18:56:20 -0000 Received: (qmail 66086 invoked by uid 500); 8 Apr 2007 18:56:27 -0000 Delivered-To: [email protected] Received: (qmail 66071 invoked by uid 500); 8 Apr 2007 18:56:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 66059 invoked by uid 99); 8 Apr 2007 18:56:26 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Apr 2007 11:56:26 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Apr 2007 11:56:19 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id BF1B91A9838; Sun, 8 Apr 2007 11:55:59 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r526592 - /cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/dialog/db/DataSourceWizard.java Date: Sun, 08 Apr 2007 18:55:59 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: aadamchik Date: Sun Apr 8 11:55:58 2007 New Revision: 526592 URL: http://svn.apache.org/viewvc?view=rev&rev=526592 Log: CAY-776: 1.2 -> 2.0/3.0 Migration - modeler preferences still store org.objectstyle adapter names (brute force fix - whenever preferences data is read, a scan for legacy adapter names is performed and the object is updated) Modified: cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/dialog/db/DataSourceWizard.java Modified: cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/dialog/db/DataSourceWizard.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/dialog/db/DataSourceWizard.java?view=diff&rev=526592&r1=526591&r2=526592 ============================================================================== --- cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/dialog/db/DataSourceWizard.java (original) +++ cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/dialog/db/DataSourceWizard.java Sun Apr 8 11:55:58 2007 @@ -23,6 +23,7 @@ import java.sql.Connection; import java.sql.SQLException; import java.util.Arrays; +import java.util.Iterator; import java.util.Map; import javax.swing.DefaultComboBoxModel; @@ -186,6 +187,19 @@ protected void refreshDataSources() { this.dataSources = getApplication().getPreferenceDomain().getDetailsMap( DBConnectionInfo.class); + + // 1.2 migration fix - update data source adapter names + Iterator it = dataSources.values().iterator(); + + final String _12package = "org.objectstyle.cayenne."; + while (it.hasNext()) { + DBConnectionInfo info = (DBConnectionInfo) it.next(); + if (info.getDbAdapter() != null && info.getDbAdapter().startsWith(_12package)) { + info.setDbAdapter("org.apache.cayenne." + + info.getDbAdapter().substring(_12package.length())); + info.getObjectContext().commitChanges(); + } + } if (altDataSourceKey != null && !dataSources.containsKey(altDataSourceKey) From [email protected] Mon Apr 09 09:55:39 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 39577 invoked from network); 9 Apr 2007 09:55:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Apr 2007 09:55:39 -0000 Received: (qmail 79330 invoked by uid 500); 9 Apr 2007 09:55:46 -0000 Delivered-To: [email protected] Received: (qmail 79317 invoked by uid 500); 9 Apr 2007 09:55:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 79308 invoked by uid 99); 9 Apr 2007 09:55:45 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Apr 2007 02:55:45 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Apr 2007 02:55:37 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id F17841A9844; Mon, 9 Apr 2007 02:55:16 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r526696 [3/3] - in /cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src: main/java/org/apache/cayenne/access/jdbc/ main/java/org/apache/cayenne/ejbql/ main/java/org/apache/cayenne/ejbql/parser/ main/jjtree/org/apache/cayenne/ejbql/ ... Date: Mon, 09 Apr 2007 09:55:04 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/jdbc/EJBQLTranslatorTest.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/jdbc/EJBQLTranslatorTest.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/jdbc/EJBQLTranslatorTest.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/jdbc/EJBQLTranslatorTest.java Mon Apr 9 02:54:53 2007 @@ -41,8 +41,7 @@ assertTrue(sql, sql.indexOf("t0.ARTIST_ID") > 0); assertTrue(sql, sql.indexOf("t0.ARTIST_NAME") > 0); assertTrue(sql, sql.indexOf("t0.DATE_OF_BIRTH") > 0); - assertTrue(sql, sql.endsWith(" $from0")); - assertEquals(" FROM ARTIST t0", query.getParameters().get("from0").toString()); + assertTrue(sql, sql.endsWith(" FROM ARTIST AS t0")); } public void testSelectDistinct() { @@ -56,8 +55,7 @@ String sql = query.getDefaultTemplate(); assertTrue(sql, sql.startsWith("SELECT DISTINCT ")); - assertTrue(sql, sql.endsWith(" $from0")); - assertEquals(" FROM ARTIST t0", query.getParameters().get("from0").toString()); + assertTrue(sql, sql.endsWith(" FROM ARTIST AS t0")); } public void testSelectFromWhereEqual() { @@ -71,9 +69,8 @@ String sql = query.getDefaultTemplate(); assertTrue(sql, sql.startsWith("SELECT ")); - assertTrue(sql, sql.endsWith(" $from0 WHERE t0.ARTIST_NAME " + assertTrue(sql, sql.endsWith(" FROM ARTIST AS t0 WHERE t0.ARTIST_NAME " + "#bindEqual('Dali' 'VARCHAR')")); - assertEquals(" FROM ARTIST t0", query.getParameters().get("from0").toString()); } public void testSelectFromWhereOrEqual() { @@ -98,13 +95,11 @@ String sql1 = query1.getDefaultTemplate(); assertTrue(sql, sql.startsWith("SELECT ")); - assertTrue(sql, sql.indexOf(" $from0 WHERE ") > 0); - assertEquals(" FROM ARTIST t0", query.getParameters().get("from0").toString()); + assertTrue(sql, sql.indexOf(" FROM ARTIST AS t0 WHERE ") > 0); assertEquals(1, countDelimiters(sql, " OR ", sql.indexOf("WHERE "))); assertTrue(sql1, sql1.startsWith("SELECT ")); - assertTrue(sql1, sql.indexOf(" $from0 WHERE ") > 0); - assertEquals(" FROM ARTIST t0", query1.getParameters().get("from0").toString()); + assertTrue(sql1, sql.indexOf(" FROM ARTIST AS t0 WHERE ") > 0); assertEquals(2, countDelimiters(sql1, " OR ", sql.indexOf("WHERE "))); } @@ -130,11 +125,11 @@ String sql1 = query1.getDefaultTemplate(); assertTrue(sql, sql.startsWith("SELECT ")); - assertTrue(sql, sql.indexOf(" $from0 WHERE ") > 0); + assertTrue(sql, sql.indexOf(" WHERE ") > 0); assertEquals(1, countDelimiters(sql, " AND ", sql.indexOf("WHERE "))); assertTrue(sql1, sql1.startsWith("SELECT ")); - assertTrue(sql1, sql1.indexOf(" $from0 WHERE ") > 0); + assertTrue(sql1, sql1.indexOf(" WHERE ") > 0); assertEquals(2, countDelimiters(sql1, " AND ", sql1.indexOf("WHERE "))); } @@ -149,7 +144,7 @@ String sql = query.getDefaultTemplate(); assertTrue(sql, sql.startsWith("SELECT ")); - assertTrue(sql, sql.endsWith(" $from0 WHERE NOT " + assertTrue(sql, sql.endsWith(" WHERE NOT " + "t0.ARTIST_NAME #bindEqual('Dali' 'VARCHAR')")); } @@ -164,8 +159,7 @@ String sql = query.getDefaultTemplate(); assertTrue(sql, sql.startsWith("SELECT ")); - assertTrue(sql, sql.endsWith(" $from0 " - + "WHERE t0.ESTIMATED_PRICE > #bind($id1 'DECIMAL')")); + assertTrue(sql, sql.endsWith(" WHERE t0.ESTIMATED_PRICE > #bind($id0 'DECIMAL')")); } public void testSelectFromWhereGreaterOrEqual() { @@ -179,8 +173,8 @@ String sql = query.getDefaultTemplate(); assertTrue(sql, sql.startsWith("SELECT ")); - assertTrue(sql, sql.endsWith(" $from0 " - + "WHERE t0.ESTIMATED_PRICE >= #bind($id1 'INTEGER')")); + assertTrue(sql, sql + .endsWith(" WHERE t0.ESTIMATED_PRICE >= #bind($id0 'INTEGER')")); } public void testSelectFromWhereLess() { @@ -194,8 +188,7 @@ String sql = query.getDefaultTemplate(); assertTrue(sql, sql.startsWith("SELECT ")); - assertTrue(sql, sql.endsWith(" $from0 " - + "WHERE t0.ESTIMATED_PRICE < #bind($id1 'DECIMAL')")); + assertTrue(sql, sql.endsWith(" WHERE t0.ESTIMATED_PRICE < #bind($id0 'DECIMAL')")); } public void testSelectFromWhereLessOrEqual() { @@ -209,8 +202,8 @@ String sql = query.getDefaultTemplate(); assertTrue(sql, sql.startsWith("SELECT ")); - assertTrue(sql, sql.endsWith(" $from0 " - + "WHERE t0.ESTIMATED_PRICE <= #bind($id1 'DECIMAL')")); + assertTrue(sql, sql + .endsWith(" WHERE t0.ESTIMATED_PRICE <= #bind($id0 'DECIMAL')")); } public void testSelectFromWhereNotEqual() { @@ -224,8 +217,8 @@ String sql = query.getDefaultTemplate(); assertTrue(sql, sql.startsWith("SELECT ")); - assertTrue(sql, sql.endsWith(" $from0 " - + "WHERE t0.ARTIST_NAME #bindNotEqual('Dali' 'VARCHAR')")); + assertTrue(sql, sql + .endsWith(" WHERE t0.ARTIST_NAME #bindNotEqual('Dali' 'VARCHAR')")); } public void testSelectFromWhereBetween() { @@ -239,9 +232,8 @@ String sql = query.getDefaultTemplate(); assertTrue(sql, sql.startsWith("SELECT ")); - assertTrue(sql, sql.endsWith(" $from0 " - + "WHERE t0.ESTIMATED_PRICE " - + "BETWEEN #bind($id1 'INTEGER') AND #bind($id2 'INTEGER')")); + assertTrue(sql, sql.endsWith(" WHERE t0.ESTIMATED_PRICE " + + "BETWEEN #bind($id0 'INTEGER') AND #bind($id1 'INTEGER')")); } public void testSelectFromWhereNotBetween() { @@ -255,9 +247,8 @@ String sql = query.getDefaultTemplate(); assertTrue(sql, sql.startsWith("SELECT ")); - assertTrue(sql, sql.endsWith(" $from0 " - + "WHERE t0.ESTIMATED_PRICE " - + "NOT BETWEEN #bind($id1 'INTEGER') AND #bind($id2 'INTEGER')")); + assertTrue(sql, sql.endsWith(" WHERE t0.ESTIMATED_PRICE " + + "NOT BETWEEN #bind($id0 'INTEGER') AND #bind($id1 'INTEGER')")); } public void testSelectFromWhereLike() { @@ -272,8 +263,7 @@ String sql = query.getDefaultTemplate(); assertTrue(sql, sql.startsWith("SELECT ")); - assertTrue(sql, sql.endsWith(" $from0 " - + "WHERE t0.PAINTING_TITLE " + assertTrue(sql, sql.endsWith(" WHERE t0.PAINTING_TITLE " + "LIKE #bind('Stuff' 'VARCHAR')")); } @@ -288,8 +278,7 @@ String sql = query.getDefaultTemplate(); assertTrue(sql, sql.startsWith("SELECT ")); - assertTrue(sql, sql.endsWith(" $from0 " - + "WHERE t0.PAINTING_TITLE " + assertTrue(sql, sql.endsWith(" WHERE t0.PAINTING_TITLE " + "NOT LIKE #bind('Stuff' 'VARCHAR')")); } @@ -308,8 +297,7 @@ System.out.println("SQL: " + sql); assertTrue(sql, sql.startsWith("SELECT ")); - assertTrue(sql, sql.endsWith(" $from0 " - + "WHERE t1.ARTIST_NAME #bindEqual('AA2' 'VARCHAR')")); + assertTrue(sql, sql.endsWith(" WHERE t1.ARTIST_NAME #bindEqual('AA2' 'VARCHAR')")); // TODO: andrus, 3/25/2007 - implement joins support // assertEquals(" FROM PAINTING t0 JOIN ARTIST t1 ON (t0.ARTIST_ID = // t1.ARTIST_ID)", query.getParameters().get("from0")); Added: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/ejbql/parser/EJBQLPathTest.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/ejbql/parser/EJBQLPathTest.java?view=auto&rev=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/ejbql/parser/EJBQLPathTest.java (added) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/ejbql/parser/EJBQLPathTest.java Mon Apr 9 02:54:53 2007 @@ -0,0 +1,37 @@ +/***************************************************************** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + ****************************************************************/ +package org.apache.cayenne.ejbql.parser; + +import junit.framework.TestCase; + +public class EJBQLPathTest extends TestCase { + + public void testGetAbsolutePath() { + EJBQLPath path = new EJBQLPath(-1); + EJBQLIdentifier id = new EJBQLIdentifier(-1); + id.setText("x"); + + EJBQLIdentificationVariable c1 = new EJBQLIdentificationVariable(-1); + c1.setText("y"); + + path.jjtAddChild(id, 0); + path.jjtAddChild(c1, 1); + assertEquals("x.y", path.getAbsolutePath()); + } +} From [email protected] Mon Apr 09 09:55:40 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 39597 invoked from network); 9 Apr 2007 09:55:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Apr 2007 09:55:40 -0000 Received: (qmail 79375 invoked by uid 500); 9 Apr 2007 09:55:46 -0000 Delivered-To: [email protected] Received: (qmail 79361 invoked by uid 500); 9 Apr 2007 09:55:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 79352 invoked by uid 99); 9 Apr 2007 09:55:46 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Apr 2007 02:55:46 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Apr 2007 02:55:37 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id D9BF31A9838; Mon, 9 Apr 2007 02:55:16 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r526696 [1/3] - in /cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src: main/java/org/apache/cayenne/access/jdbc/ main/java/org/apache/cayenne/ejbql/ main/java/org/apache/cayenne/ejbql/parser/ main/jjtree/org/apache/cayenne/ejbql/ ... Date: Mon, 09 Apr 2007 09:55:04 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: aadamchik Date: Mon Apr 9 02:54:53 2007 New Revision: 526696 URL: http://svn.apache.org/viewvc?view=rev&rev=526696 Log: CAY-452: EJB QL Cayenne Query * first cut of join support * refactored ejbql compilation pipeline Added: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/Compiler.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLJoin.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/ejbql/parser/ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/ejbql/parser/EJBQLPathTest.java Removed: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/AbstractParser.java Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLConditionTranslator.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLFromTranslator.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLPathTranslator.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLSelectTranslator.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/EJBQLBaseVisitor.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/EJBQLCompiledExpression.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/EJBQLDelegatingVisitor.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/EJBQLExpressionVisitor.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/CompiledExpression.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAbs.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAbstractSchemaName.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAdd.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAggregate.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAll.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAnd.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAny.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAscending.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAverage.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLBetween.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLBooleanLiteral.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLClassName.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLConcat.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLConstructor.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLConstructorParameter.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLConstructorParameters.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLCount.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLCurrentDate.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLCurrentTime.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLCurrentTimestamp.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLDecimalLiteral.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLDelete.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLDescending.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLDistinct.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLDistinctPath.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLDivide.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLEquals.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLEscapeCharacter.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLExists.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLFrom.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLFromItem.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLGreaterOrEqual.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLGreaterThan.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLGroupBy.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLHaving.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLIdentificationVariable.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLIdentifier.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLIn.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLInnerFetchJoin.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLInnerJoin.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLIntegerLiteral.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLIsEmpty.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLIsNull.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLLength.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLLessOrEqual.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLLessThan.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLLike.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLLocate.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLLower.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLMax.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLMemberOf.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLMin.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLMod.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLMultiply.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLNamedInputParameter.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLNegative.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLNot.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLNotEquals.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLOr.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLOrderBy.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLOrderByItem.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLOuterFetchJoin.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLOuterJoin.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLPath.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLPatternValue.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLPositionalInputParameter.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSelect.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSelectClause.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSelectExpression.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSelectExpressions.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSize.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSqrt.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLStringLiteral.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSubselect.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSubstring.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSubtract.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSum.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLTok.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLTrim.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLTrimBoth.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLTrimCharacter.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLTrimLeading.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLTrimTrailing.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLUpdate.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLUpdateField.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLUpdateItem.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLUpdateValue.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLUpper.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLWhere.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/jjtree/org/apache/cayenne/ejbql/EJBQLParser.jjt cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DataContextEJBQLJoinsTest.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/jdbc/EJBQLTranslatorTest.java Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLConditionTranslator.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLConditionTranslator.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLConditionTranslator.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLConditionTranslator.java Mon Apr 9 02:54:53 2007 @@ -23,6 +23,7 @@ import org.apache.cayenne.ejbql.EJBQLDelegatingVisitor; import org.apache.cayenne.ejbql.EJBQLException; import org.apache.cayenne.ejbql.EJBQLExpression; +import org.apache.cayenne.ejbql.parser.EJBQLPath; /** * @since 3.0 @@ -183,7 +184,7 @@ } } - public boolean visitPath(EJBQLExpression expression, int finishedChildIndex) { + public boolean visitPath(EJBQLPath expression, int finishedChildIndex) { if (finishedChildIndex < 0) { setDelegate(new EJBQLPathTranslator(parent)); return true; Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLFromTranslator.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLFromTranslator.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLFromTranslator.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLFromTranslator.java Mon Apr 9 02:54:53 2007 @@ -18,32 +18,121 @@ ****************************************************************/ package org.apache.cayenne.access.jdbc; +import java.util.Iterator; + import org.apache.cayenne.ejbql.EJBQLBaseVisitor; -import org.apache.cayenne.ejbql.EJBQLExpression; +import org.apache.cayenne.ejbql.EJBQLException; +import org.apache.cayenne.ejbql.parser.EJBQLFromItem; +import org.apache.cayenne.ejbql.parser.EJBQLJoin; +import org.apache.cayenne.map.DbJoin; +import org.apache.cayenne.map.DbRelationship; +import org.apache.cayenne.map.ObjRelationship; +import org.apache.cayenne.reflect.ClassDescriptor; public class EJBQLFromTranslator extends EJBQLBaseVisitor { private EJBQLSelectTranslator parent; + private String lastTableAlias; public EJBQLFromTranslator(EJBQLSelectTranslator parent) { - super(false); + super(true); this.parent = parent; } - public boolean visitFromItem(EJBQLExpression expression) { + public boolean visitFromItem(EJBQLFromItem expression, int finishedChildIndex) { + if (finishedChildIndex < 0) { + if (lastTableAlias != null) { + parent.getParent().getBuffer().append(','); + } + + lastTableAlias = appendTable(expression.getId()); + } return true; } - public boolean visitAbstractSchemaName(EJBQLExpression expression) { - return true; + public boolean visitInnerFetchJoin(EJBQLJoin join, int finishedChildIndex) { + // TODO: andrus, 4/9/2007 - support for prefetching + return visitInnerJoin(join, finishedChildIndex); } - public boolean visitIdentifier(EJBQLExpression expression) { - parent.appendRootIdentifier(expression.getText()); + public boolean visitInnerJoin(EJBQLJoin join, int finishedChildIndex) { + if (finishedChildIndex < 0) { + appendJoin(join, "INNER JOIN"); + } return true; } - public boolean visitIdentificationVariable(EJBQLExpression expression) { + public boolean visitOuterFetchJoin(EJBQLJoin join, int finishedChildIndex) { + // TODO: andrus, 4/9/2007 - support for prefetching + return visitOuterJoin(join, finishedChildIndex); + } + + public boolean visitOuterJoin(EJBQLJoin join, int finishedChildIndex) { + if (finishedChildIndex < 0) { + appendJoin(join, "LEFT OUTER JOIN"); + } return true; + } + + private void appendJoin(EJBQLJoin join, String semantics) { + + String id = join.getId(); + + if (lastTableAlias == null) { + throw new EJBQLException("No source table for join: " + id); + } + + String sourceAlias = lastTableAlias; + StringBuffer buffer = parent.getParent().getBuffer(); + + buffer.append(" ").append(semantics); + String targetAlias = appendTable(id); + buffer.append(" ON ("); + + ObjRelationship incoming = parent + .getParent() + .getCompiledExpression() + .getIncomingRelationship(id); + if (incoming == null) { + throw new EJBQLException("No join configured for id " + id); + } + + // TODO: andrus, 4/8/2007 - support for flattened relationships + DbRelationship incomingDB = (DbRelationship) incoming.getDbRelationships().get(0); + + Iterator it = incomingDB.getJoins().iterator(); + if (it.hasNext()) { + DbJoin dbJoin = (DbJoin) it.next(); + buffer.append(sourceAlias).append('.').append(dbJoin.getSourceName()).append( + " = ").append(targetAlias).append('.').append(dbJoin.getTargetName()); + } + + while (it.hasNext()) { + buffer.append(", "); + DbJoin dbJoin = (DbJoin) it.next(); + buffer.append(sourceAlias).append('.').append(dbJoin.getSourceName()).append( + " = ").append(targetAlias).append('.').append(dbJoin.getTargetName()); + } + + buffer.append(")"); + this.lastTableAlias = targetAlias; + } + + private String appendTable(String id) { + ClassDescriptor descriptor = parent + .getParent() + .getCompiledExpression() + .getEntityDescriptor(id); + + String tableName = descriptor.getEntity().getDbEntity().getFullyQualifiedName(); + String alias = parent.getParent().createAlias(id, tableName); + parent + .getParent() + .getBuffer() + .append(' ') + .append(tableName) + .append(" AS ") + .append(alias); + return alias; } } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLPathTranslator.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLPathTranslator.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLPathTranslator.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLPathTranslator.java Mon Apr 9 02:54:53 2007 @@ -21,6 +21,7 @@ import org.apache.cayenne.ejbql.EJBQLBaseVisitor; import org.apache.cayenne.ejbql.EJBQLException; import org.apache.cayenne.ejbql.EJBQLExpression; +import org.apache.cayenne.ejbql.parser.EJBQLPath; import org.apache.cayenne.map.DbEntity; import org.apache.cayenne.map.ObjAttribute; import org.apache.cayenne.map.ObjEntity; @@ -39,7 +40,7 @@ this.parent = parent; } - public boolean visitPath(EJBQLExpression expression, int finishedChildIndex) { + public boolean visitPath(EJBQLPath expression, int finishedChildIndex) { if (finishedChildIndex > 0) { @@ -88,7 +89,6 @@ + "'"); } - parent.appendInnerJoin(idPath + '.' + lastPathComponent); this.currentEntity = (ObjEntity) relationship.getTargetEntity(); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLSelectTranslator.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLSelectTranslator.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLSelectTranslator.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/jdbc/EJBQLSelectTranslator.java Mon Apr 9 02:54:53 2007 @@ -19,7 +19,6 @@ package org.apache.cayenne.access.jdbc; import java.util.HashSet; -import java.util.Iterator; import java.util.Set; import org.apache.cayenne.dba.TypesMapping; @@ -27,7 +26,6 @@ import org.apache.cayenne.ejbql.EJBQLExpression; import org.apache.cayenne.map.DbAttribute; import org.apache.cayenne.map.DbEntity; -import org.apache.cayenne.reflect.ClassDescriptor; /** * A translator of EJBQL select statements into SQL. @@ -39,30 +37,11 @@ private EJBQLTranslator parent; private Set columns; - private StringBuffer fromClause; - private Set fromIds; - private Set innerJoins; EJBQLSelectTranslator(EJBQLTranslator parent) { this.parent = parent; } - void appendRootIdentifier(String identifier) { - if (fromIds == null) { - fromIds = new HashSet(); - } - - fromIds.add(identifier); - } - - void appendInnerJoin(String path) { - if (innerJoins == null) { - innerJoins = new HashSet(); - } - - innerJoins.add(path); - } - void appendColumn(String identifier, DbAttribute column) { appendColumn(identifier, column, TypesMapping.getJavaBySqlType(column.getType())); } @@ -95,25 +74,6 @@ } } - private void postprocess() { - - if (fromIds != null && fromClause != null) { - Iterator it = fromIds.iterator(); - while (it.hasNext()) { - String id = (String) it.next(); - ClassDescriptor descriptor = parent - .getCompiledExpression() - .getEntityDescriptor(id); - DbEntity table = descriptor.getEntity().getDbEntity(); - String fqn = table.getFullyQualifiedName(); - String alias = parent.createAlias(id, fqn); - fromClause.append(' ').append(fqn).append(' ').append(alias); - } - } - - // TODO: andrus, 3/26/2007 - inner joins - } - EJBQLTranslator getParent() { return parent; } @@ -124,9 +84,7 @@ } public boolean visitFrom(EJBQLExpression expression) { - this.fromClause = new StringBuffer(" FROM"); - String fromId = parent.bindParameter(fromClause, "from"); - parent.getBuffer().append(" $").append(fromId); + parent.getBuffer().append(" FROM"); setDelegate(new EJBQLFromTranslator(this)); return true; } @@ -142,16 +100,15 @@ parent.getBuffer().append("SELECT"); setDelegate(new EJBQLSelectColumnsTranslator(this)); } - else if (finishedChildIndex + 1 == expression.getChildrenCount()) { - postprocess(); - } return true; } - public boolean visitWhere(EJBQLExpression expression) { - parent.getBuffer().append(" WHERE"); - setDelegate(new EJBQLConditionTranslator(this)); + public boolean visitWhere(EJBQLExpression expression, int finishedChildIndex) { + if (finishedChildIndex < 0) { + parent.getBuffer().append(" WHERE"); + setDelegate(new EJBQLConditionTranslator(this)); + } return true; } } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/EJBQLBaseVisitor.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/EJBQLBaseVisitor.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/EJBQLBaseVisitor.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/EJBQLBaseVisitor.java Mon Apr 9 02:54:53 2007 @@ -18,6 +18,10 @@ ****************************************************************/ package org.apache.cayenne.ejbql; +import org.apache.cayenne.ejbql.parser.EJBQLFromItem; +import org.apache.cayenne.ejbql.parser.EJBQLJoin; +import org.apache.cayenne.ejbql.parser.EJBQLPath; + /** * A noop implementation of the EJBQL visitor that returns same preset boolean value from * all methods. Intended for subclassing. @@ -157,7 +161,7 @@ return continueFlag; } - public boolean visitFromItem(EJBQLExpression expression) { + public boolean visitFromItem(EJBQLFromItem expression, int finishedChildIndex) { return continueFlag; } @@ -189,11 +193,11 @@ return continueFlag; } - public boolean visitInnerFetchJoin(EJBQLExpression expression) { + public boolean visitInnerFetchJoin(EJBQLJoin join, int finishedChildIndex) { return continueFlag; } - public boolean visitInnerJoin(EJBQLExpression expression) { + public boolean visitInnerJoin(EJBQLJoin join, int finishedChildIndex) { return continueFlag; } @@ -281,15 +285,15 @@ return continueFlag; } - public boolean visitOuterFetchJoin(EJBQLExpression expression) { + public boolean visitOuterFetchJoin(EJBQLJoin join, int finishedChildIndex) { return continueFlag; } - public boolean visitOuterJoin(EJBQLExpression expression) { + public boolean visitOuterJoin(EJBQLJoin join, int finishedChildIndex) { return continueFlag; } - public boolean visitPath(EJBQLExpression expression, int finishedChildIndex) { + public boolean visitPath(EJBQLPath expression, int finishedChildIndex) { return continueFlag; } @@ -381,7 +385,7 @@ return continueFlag; } - public boolean visitWhere(EJBQLExpression expression) { + public boolean visitWhere(EJBQLExpression expression, int finishedChildIndex) { return continueFlag; } } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/EJBQLCompiledExpression.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/EJBQLCompiledExpression.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/EJBQLCompiledExpression.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/EJBQLCompiledExpression.java Mon Apr 9 02:54:53 2007 @@ -18,6 +18,9 @@ ****************************************************************/ package org.apache.cayenne.ejbql; +import java.util.Collection; + +import org.apache.cayenne.map.ObjRelationship; import org.apache.cayenne.reflect.ClassDescriptor; /** @@ -34,6 +37,13 @@ EJBQLExpression getExpression(); /** + * Returns a collection of EJBQLExpressions each representing an implicit join in the + * query. The most common example of implicit joins are joins introduced by + * relationships in the WHERE clause. + */ + Collection getImplicitJoins(); + + /** * Returns a descriptor of the root of this expression such as entity being fetched or * updated. */ @@ -43,6 +53,12 @@ * Returns a ClassDescriptor for the id variable. */ ClassDescriptor getEntityDescriptor(String identifier); + + /** + * Returns a relationship that joins identifier with a parent entity. Returns null if + * the identifier corresponds to one of the query roots. + */ + ObjRelationship getIncomingRelationship(String identifier); /** * Returns EJB QL source of the compiled expression if available. Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/EJBQLDelegatingVisitor.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/EJBQLDelegatingVisitor.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/EJBQLDelegatingVisitor.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/EJBQLDelegatingVisitor.java Mon Apr 9 02:54:53 2007 @@ -18,6 +18,10 @@ ****************************************************************/ package org.apache.cayenne.ejbql; +import org.apache.cayenne.ejbql.parser.EJBQLFromItem; +import org.apache.cayenne.ejbql.parser.EJBQLJoin; +import org.apache.cayenne.ejbql.parser.EJBQLPath; + /** * A base implementation of the EJBQLExpressionVisitor that implements all methods to * delegate processing to another visitor. This is a convenience superclass for visitors @@ -30,6 +34,16 @@ protected EJBQLExpressionVisitor delegate; + protected boolean continueFlag; + + public EJBQLDelegatingVisitor() { + this(false); + } + + public EJBQLDelegatingVisitor(boolean continueFlag) { + this.continueFlag = continueFlag; + } + protected void setDelegate(EJBQLExpressionVisitor delegate) { this.delegate = delegate; } @@ -39,390 +53,416 @@ } public boolean visitAbs(EJBQLExpression expression) { - return delegate != null ? delegate.visitAbs(expression) : false; + return delegate != null ? delegate.visitAbs(expression) : continueFlag; } public boolean visitAbstractSchemaName(EJBQLExpression expression) { - return delegate != null ? delegate.visitAbstractSchemaName(expression) : false; + return delegate != null + ? delegate.visitAbstractSchemaName(expression) + : continueFlag; } public boolean visitAdd(EJBQLExpression expression, int finishedChildIndex) { return delegate != null ? delegate.visitAdd(expression, finishedChildIndex) - : false; + : continueFlag; } public boolean visitAggregate(EJBQLExpression expression) { - return delegate != null ? delegate.visitAggregate(expression) : false; + return delegate != null ? delegate.visitAggregate(expression) : continueFlag; } public boolean visitAll(EJBQLExpression expression) { - return delegate != null ? delegate.visitAll(expression) : false; + return delegate != null ? delegate.visitAll(expression) : continueFlag; } public boolean visitAnd(EJBQLExpression expression, int finishedChildIndex) { return delegate != null ? delegate.visitAnd(expression, finishedChildIndex) - : false; + : continueFlag; } public boolean visitAny(EJBQLExpression expression) { - return delegate != null ? delegate.visitAny(expression) : false; + return delegate != null ? delegate.visitAny(expression) : continueFlag; } public boolean visitAscending(EJBQLExpression expression) { - return delegate != null ? delegate.visitAscending(expression) : false; + return delegate != null ? delegate.visitAscending(expression) : continueFlag; } public boolean visitAverage(EJBQLExpression expression) { - return delegate != null ? delegate.visitAverage(expression) : false; + return delegate != null ? delegate.visitAverage(expression) : continueFlag; } public boolean visitBetween(EJBQLExpression expression, int finishedChildIndex) { return delegate != null ? delegate.visitBetween(expression, finishedChildIndex) - : false; + : continueFlag; } public boolean visitBooleanLiteral(EJBQLExpression expression) { - return delegate != null ? delegate.visitBooleanLiteral(expression) : false; + return delegate != null ? delegate.visitBooleanLiteral(expression) : continueFlag; } public boolean visitClassName(EJBQLExpression expression) { - return delegate != null ? delegate.visitClassName(expression) : false; + return delegate != null ? delegate.visitClassName(expression) : continueFlag; } public boolean visitConcat(EJBQLExpression expression) { - return delegate != null ? delegate.visitConcat(expression) : false; + return delegate != null ? delegate.visitConcat(expression) : continueFlag; } public boolean visitConstructor(EJBQLExpression expression) { - return delegate != null ? delegate.visitConstructor(expression) : false; + return delegate != null ? delegate.visitConstructor(expression) : continueFlag; } public boolean visitConstructorParameter(EJBQLExpression expression) { - return delegate != null ? delegate.visitConstructorParameter(expression) : false; + return delegate != null + ? delegate.visitConstructorParameter(expression) + : continueFlag; } public boolean visitConstructorParameters(EJBQLExpression expression) { - return delegate != null ? delegate.visitConstructorParameters(expression) : false; + return delegate != null + ? delegate.visitConstructorParameters(expression) + : continueFlag; } public boolean visitCount(EJBQLExpression expression) { - return delegate != null ? delegate.visitCount(expression) : false; + return delegate != null ? delegate.visitCount(expression) : continueFlag; } public boolean visitCurrentDate(EJBQLExpression expression) { - return delegate != null ? delegate.visitCurrentDate(expression) : false; + return delegate != null ? delegate.visitCurrentDate(expression) : continueFlag; } public boolean visitCurrentTime(EJBQLExpression expression) { - return delegate != null ? delegate.visitCurrentTime(expression) : false; + return delegate != null ? delegate.visitCurrentTime(expression) : continueFlag; } public boolean visitCurrentTimestamp(EJBQLExpression expression) { - return delegate != null ? delegate.visitCurrentTimestamp(expression) : false; + return delegate != null + ? delegate.visitCurrentTimestamp(expression) + : continueFlag; } public boolean visitDecimalLiteral(EJBQLExpression expression) { - return delegate != null ? delegate.visitDecimalLiteral(expression) : false; + return delegate != null ? delegate.visitDecimalLiteral(expression) : continueFlag; } public boolean visitDelete(EJBQLExpression expression, int finishedChildIndex) { return delegate != null ? delegate.visitDelete(expression, finishedChildIndex) - : false; + : continueFlag; } public boolean visitDescending(EJBQLExpression expression) { - return delegate != null ? delegate.visitDescending(expression) : false; + return delegate != null ? delegate.visitDescending(expression) : continueFlag; } public boolean visitDistinct(EJBQLExpression expression) { - return delegate != null ? delegate.visitDistinct(expression) : false; + return delegate != null ? delegate.visitDistinct(expression) : continueFlag; } public boolean visitDistinctPath(EJBQLExpression expression) { - return delegate != null ? delegate.visitDistinctPath(expression) : false; + return delegate != null ? delegate.visitDistinctPath(expression) : continueFlag; } public boolean visitDivide(EJBQLExpression expression, int finishedChildIndex) { return delegate != null ? delegate.visitDivide(expression, finishedChildIndex) - : false; + : continueFlag; } public boolean visitEquals(EJBQLExpression expression, int finishedChildIndex) { return delegate != null ? delegate.visitEquals(expression, finishedChildIndex) - : false; + : continueFlag; } public boolean visitEscapeCharacter(EJBQLExpression expression) { - return delegate != null ? delegate.visitEscapeCharacter(expression) : false; + return delegate != null + ? delegate.visitEscapeCharacter(expression) + : continueFlag; } public boolean visitExists(EJBQLExpression expression) { - return delegate != null ? delegate.visitExists(expression) : false; + return delegate != null ? delegate.visitExists(expression) : continueFlag; } public boolean visitFrom(EJBQLExpression expression) { - return delegate != null ? delegate.visitFrom(expression) : false; + return delegate != null ? delegate.visitFrom(expression) : continueFlag; } - public boolean visitFromItem(EJBQLExpression expression) { - return delegate != null ? delegate.visitFromItem(expression) : false; + public boolean visitFromItem(EJBQLFromItem expression, int finishedChildIndex) { + return delegate != null + ? delegate.visitFromItem(expression, finishedChildIndex) + : continueFlag; } public boolean visitGreaterOrEqual(EJBQLExpression expression, int finishedChildIndex) { return delegate != null ? delegate.visitGreaterOrEqual( expression, - finishedChildIndex) : false; + finishedChildIndex) : continueFlag; } public boolean visitGreaterThan(EJBQLExpression expression, int finishedChildIndex) { return delegate != null ? delegate.visitGreaterThan( expression, - finishedChildIndex) : false; + finishedChildIndex) : continueFlag; } public boolean visitGroupBy(EJBQLExpression expression) { - return delegate != null ? delegate.visitGroupBy(expression) : false; + return delegate != null ? delegate.visitGroupBy(expression) : continueFlag; } public boolean visitHaving(EJBQLExpression expression) { - return delegate != null ? delegate.visitHaving(expression) : false; + return delegate != null ? delegate.visitHaving(expression) : continueFlag; } public boolean visitIdentificationVariable(EJBQLExpression expression) { return delegate != null ? delegate.visitIdentificationVariable(expression) - : false; + : continueFlag; } public boolean visitIdentifier(EJBQLExpression expression) { - return delegate != null ? delegate.visitIdentifier(expression) : false; + return delegate != null ? delegate.visitIdentifier(expression) : continueFlag; } public boolean visitIn(EJBQLExpression expression) { - return delegate != null ? delegate.visitIn(expression) : false; + return delegate != null ? delegate.visitIn(expression) : continueFlag; } - public boolean visitInnerFetchJoin(EJBQLExpression expression) { - return delegate != null ? delegate.visitInnerFetchJoin(expression) : false; + public boolean visitInnerFetchJoin(EJBQLJoin join, int finishedChildIndex) { + return delegate != null ? delegate.visitInnerFetchJoin( + join, + finishedChildIndex) : continueFlag; } - public boolean visitInnerJoin(EJBQLExpression expression) { - return delegate != null ? delegate.visitInnerJoin(expression) : false; + public boolean visitInnerJoin(EJBQLJoin join, int finishedChildIndex) { + return delegate != null + ? delegate.visitInnerJoin(join, finishedChildIndex) + : continueFlag; } public boolean visitIntegerLiteral(EJBQLExpression expression) { - return delegate != null ? delegate.visitIntegerLiteral(expression) : false; + return delegate != null ? delegate.visitIntegerLiteral(expression) : continueFlag; } public boolean visitIsEmpty(EJBQLExpression expression) { - return delegate != null ? delegate.visitIsEmpty(expression) : false; + return delegate != null ? delegate.visitIsEmpty(expression) : continueFlag; } public boolean visitIsNull(EJBQLExpression expression) { - return delegate != null ? delegate.visitIsNull(expression) : false; + return delegate != null ? delegate.visitIsNull(expression) : continueFlag; } public boolean visitLength(EJBQLExpression expression) { - return delegate != null ? delegate.visitLength(expression) : false; + return delegate != null ? delegate.visitLength(expression) : continueFlag; } public boolean visitLessOrEqual(EJBQLExpression expression, int finishedChildIndex) { return delegate != null ? delegate.visitLessOrEqual( expression, - finishedChildIndex) : false; + finishedChildIndex) : continueFlag; } public boolean visitLessThan(EJBQLExpression expression, int finishedChildIndex) { return delegate != null ? delegate.visitLessThan(expression, finishedChildIndex) - : false; + : continueFlag; } public boolean visitLike(EJBQLExpression expression, int finishedChildIndex) { return delegate != null ? delegate.visitLike(expression, finishedChildIndex) - : false; + : continueFlag; } public boolean visitLocate(EJBQLExpression expression) { - return delegate != null ? delegate.visitLocate(expression) : false; + return delegate != null ? delegate.visitLocate(expression) : continueFlag; } public boolean visitLower(EJBQLExpression expression) { - return delegate != null ? delegate.visitLower(expression) : false; + return delegate != null ? delegate.visitLower(expression) : continueFlag; } public boolean visitMax(EJBQLExpression expression) { - return delegate != null ? delegate.visitMax(expression) : false; + return delegate != null ? delegate.visitMax(expression) : continueFlag; } public boolean visitMemberOf(EJBQLExpression expression) { - return delegate != null ? delegate.visitMemberOf(expression) : false; + return delegate != null ? delegate.visitMemberOf(expression) : continueFlag; } public boolean visitMin(EJBQLExpression expression) { - return delegate != null ? delegate.visitMin(expression) : false; + return delegate != null ? delegate.visitMin(expression) : continueFlag; } public boolean visitMod(EJBQLExpression expression) { - return delegate != null ? delegate.visitMod(expression) : false; + return delegate != null ? delegate.visitMod(expression) : continueFlag; } public boolean visitMultiply(EJBQLExpression expression, int finishedChildIndex) { return delegate != null ? delegate.visitMultiply(expression, finishedChildIndex) - : false; + : continueFlag; } public boolean visitNamedInputParameter(EJBQLExpression expression) { - return delegate != null ? delegate.visitNamedInputParameter(expression) : false; + return delegate != null + ? delegate.visitNamedInputParameter(expression) + : continueFlag; } public boolean visitNegative(EJBQLExpression expression) { - return delegate != null ? delegate.visitNegative(expression) : false; + return delegate != null ? delegate.visitNegative(expression) : continueFlag; } public boolean visitNot(EJBQLExpression expression) { - return delegate != null ? delegate.visitNot(expression) : false; + return delegate != null ? delegate.visitNot(expression) : continueFlag; } public boolean visitNotEquals(EJBQLExpression expression, int finishedChildIndex) { return delegate != null ? delegate.visitNotEquals(expression, finishedChildIndex) - : false; + : continueFlag; } public boolean visitOr(EJBQLExpression expression, int finishedChildIndex) { return delegate != null ? delegate.visitOr(expression, finishedChildIndex) - : false; + : continueFlag; } public boolean visitOrderBy(EJBQLExpression expression) { - return delegate != null ? delegate.visitOrderBy(expression) : false; + return delegate != null ? delegate.visitOrderBy(expression) : continueFlag; } public boolean visitOrderByItem(EJBQLExpression expression) { - return delegate != null ? delegate.visitOrderByItem(expression) : false; + return delegate != null ? delegate.visitOrderByItem(expression) : continueFlag; } - public boolean visitOuterFetchJoin(EJBQLExpression expression) { - return delegate != null ? delegate.visitOuterFetchJoin(expression) : false; + public boolean visitOuterFetchJoin(EJBQLJoin join, int finishedChildIndex) { + return delegate != null ? delegate.visitOuterFetchJoin( + join, + finishedChildIndex) : continueFlag; } - public boolean visitOuterJoin(EJBQLExpression expression) { - return delegate != null ? delegate.visitOuterJoin(expression) : false; + public boolean visitOuterJoin(EJBQLJoin join, int finishedChildIndex) { + return delegate != null + ? delegate.visitOuterJoin(join, finishedChildIndex) + : continueFlag; } - public boolean visitPath(EJBQLExpression expression, int finishedChildIndex) { + public boolean visitPath(EJBQLPath expression, int finishedChildIndex) { return delegate != null ? delegate.visitPath(expression, finishedChildIndex) - : false; + : continueFlag; } public boolean visitPatternValue(EJBQLExpression expression) { - return delegate != null ? delegate.visitPatternValue(expression) : false; + return delegate != null ? delegate.visitPatternValue(expression) : continueFlag; } public boolean visitPositionalInputParameter(EJBQLExpression expression) { return delegate != null ? delegate.visitPositionalInputParameter(expression) - : false; + : continueFlag; } public boolean visitSelect(EJBQLExpression expression, int finishedChildIndex) { return delegate != null ? delegate.visitSelect(expression, finishedChildIndex) - : false; + : continueFlag; } public boolean visitSelectExpression(EJBQLExpression expression) { - return delegate != null ? delegate.visitSelectExpression(expression) : false; + return delegate != null + ? delegate.visitSelectExpression(expression) + : continueFlag; } public boolean visitSize(EJBQLExpression expression) { - return delegate != null ? delegate.visitSize(expression) : false; + return delegate != null ? delegate.visitSize(expression) : continueFlag; } public boolean visitSqrt(EJBQLExpression expression) { - return delegate != null ? delegate.visitSqrt(expression) : false; + return delegate != null ? delegate.visitSqrt(expression) : continueFlag; } public boolean visitStringLiteral(EJBQLExpression expression) { - return delegate != null ? delegate.visitStringLiteral(expression) : false; + return delegate != null ? delegate.visitStringLiteral(expression) : continueFlag; } public boolean visitSubselect(EJBQLExpression expression) { - return delegate != null ? delegate.visitSubselect(expression) : false; + return delegate != null ? delegate.visitSubselect(expression) : continueFlag; } public boolean visitSubstring(EJBQLExpression expression) { - return delegate != null ? delegate.visitSubstring(expression) : false; + return delegate != null ? delegate.visitSubstring(expression) : continueFlag; } public boolean visitSubtract(EJBQLExpression expression, int finishedChildIndex) { return delegate != null ? delegate.visitSubtract(expression, finishedChildIndex) - : false; + : continueFlag; } public boolean visitSum(EJBQLExpression expression) { - return delegate != null ? delegate.visitSum(expression) : false; + return delegate != null ? delegate.visitSum(expression) : continueFlag; } public boolean visitTok(EJBQLExpression expression) { - return delegate != null ? delegate.visitTok(expression) : false; + return delegate != null ? delegate.visitTok(expression) : continueFlag; } public boolean visitTrim(EJBQLExpression expression) { - return delegate != null ? delegate.visitTrim(expression) : false; + return delegate != null ? delegate.visitTrim(expression) : continueFlag; } public boolean visitTrimBoth(EJBQLExpression expression) { - return delegate != null ? delegate.visitTrimBoth(expression) : false; + return delegate != null ? delegate.visitTrimBoth(expression) : continueFlag; } public boolean visitTrimCharacter(EJBQLExpression expression) { - return delegate != null ? delegate.visitTrimCharacter(expression) : false; + return delegate != null ? delegate.visitTrimCharacter(expression) : continueFlag; } public boolean visitTrimLeading(EJBQLExpression expression) { - return delegate != null ? delegate.visitTrimLeading(expression) : false; + return delegate != null ? delegate.visitTrimLeading(expression) : continueFlag; } public boolean visitTrimTrailing(EJBQLExpression expression) { - return delegate != null ? delegate.visitTrimTrailing(expression) : false; + return delegate != null ? delegate.visitTrimTrailing(expression) : continueFlag; } public boolean visitUpdate(EJBQLExpression expression, int finishedChildIndex) { return delegate != null ? delegate.visitUpdate(expression, finishedChildIndex) - : false; + : continueFlag; } public boolean visitUpdateField(EJBQLExpression expression) { - return delegate != null ? delegate.visitUpdateField(expression) : false; + return delegate != null ? delegate.visitUpdateField(expression) : continueFlag; } public boolean visitUpdateItem(EJBQLExpression expression) { - return delegate != null ? delegate.visitUpdateItem(expression) : false; + return delegate != null ? delegate.visitUpdateItem(expression) : continueFlag; } public boolean visitUpdateValue(EJBQLExpression expression) { - return delegate != null ? delegate.visitUpdateValue(expression) : false; + return delegate != null ? delegate.visitUpdateValue(expression) : continueFlag; } public boolean visitUpper(EJBQLExpression expression) { - return delegate != null ? delegate.visitUpper(expression) : false; + return delegate != null ? delegate.visitUpper(expression) : continueFlag; } - public boolean visitWhere(EJBQLExpression expression) { - return delegate != null ? delegate.visitWhere(expression) : false; + public boolean visitWhere(EJBQLExpression expression, int finishedChildIndex) { + return delegate != null + ? delegate.visitWhere(expression, finishedChildIndex) + : continueFlag; } } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/EJBQLExpressionVisitor.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/EJBQLExpressionVisitor.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/EJBQLExpressionVisitor.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/EJBQLExpressionVisitor.java Mon Apr 9 02:54:53 2007 @@ -18,6 +18,10 @@ ****************************************************************/ package org.apache.cayenne.ejbql; +import org.apache.cayenne.ejbql.parser.EJBQLFromItem; +import org.apache.cayenne.ejbql.parser.EJBQLJoin; +import org.apache.cayenne.ejbql.parser.EJBQLPath; + /** * A visitor interface to inspect the EJBQL expression tree. * @@ -138,7 +142,7 @@ boolean visitFrom(EJBQLExpression expression); - boolean visitFromItem(EJBQLExpression expression); + boolean visitFromItem(EJBQLFromItem expression, int finishedChildIndex); /** * Called on visiting ">=" expression and also after visiting every expression child. @@ -170,9 +174,9 @@ boolean visitIn(EJBQLExpression expression); - boolean visitInnerFetchJoin(EJBQLExpression expression); + boolean visitInnerFetchJoin(EJBQLJoin join, int finishedChildIndex); - boolean visitInnerJoin(EJBQLExpression expression); + boolean visitInnerJoin(EJBQLJoin join, int finishedChildIndex); boolean visitIntegerLiteral(EJBQLExpression expression); @@ -265,9 +269,9 @@ boolean visitOrderByItem(EJBQLExpression expression); - boolean visitOuterFetchJoin(EJBQLExpression expression); + boolean visitOuterFetchJoin(EJBQLJoin join, int finishedChildIndex); - boolean visitOuterJoin(EJBQLExpression expression); + boolean visitOuterJoin(EJBQLJoin join, int finishedChildIndex); /** * Called on visiting "path" expression and also after visiting every expression @@ -278,7 +282,7 @@ * time, before its children; otherwise this is an index of a child just * visited. */ - boolean visitPath(EJBQLExpression expression, int finishedChildIndex); + boolean visitPath(EJBQLPath expression, int finishedChildIndex); boolean visitPatternValue(EJBQLExpression expression); @@ -350,5 +354,5 @@ boolean visitUpper(EJBQLExpression expression); - boolean visitWhere(EJBQLExpression expression); + boolean visitWhere(EJBQLExpression expression, int finishedChildIndex); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/CompiledExpression.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/CompiledExpression.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/CompiledExpression.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/CompiledExpression.java Mon Apr 9 02:54:53 2007 @@ -18,10 +18,13 @@ ****************************************************************/ package org.apache.cayenne.ejbql.parser; +import java.util.Collection; +import java.util.Collections; import java.util.Map; import org.apache.cayenne.ejbql.EJBQLCompiledExpression; import org.apache.cayenne.ejbql.EJBQLExpression; +import org.apache.cayenne.map.ObjRelationship; import org.apache.cayenne.reflect.ClassDescriptor; /** @@ -35,7 +38,13 @@ private String source; private String rootId; private Map descriptorsById; + private Map incomingById; private EJBQLExpression expression; + private Collection implicitJoins; + + public Collection getImplicitJoins() { + return implicitJoins != null ? implicitJoins : Collections.EMPTY_SET; + } public ClassDescriptor getEntityDescriptor(String idVariable) { if (idVariable == null) { @@ -47,11 +56,15 @@ return (ClassDescriptor) descriptorsById.get(idVariable); } - + public ClassDescriptor getRootDescriptor() { return rootId != null ? getEntityDescriptor(rootId) : null; } + public ObjRelationship getIncomingRelationship(String identifier) { + return (ObjRelationship) incomingById.get(identifier); + } + public EJBQLExpression getExpression() { return expression; } @@ -68,11 +81,19 @@ this.descriptorsById = descriptorsById; } + void setIncomingById(Map incomingById) { + this.incomingById = incomingById; + } + void setSource(String source) { this.source = source; } - + void setRootId(String rootId) { this.rootId = rootId; + } + + void setImplicitJoins(Collection implicitJoins) { + this.implicitJoins = implicitJoins; } } Added: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/Compiler.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/Compiler.java?view=auto&rev=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/Compiler.java (added) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/Compiler.java Mon Apr 9 02:54:53 2007 @@ -0,0 +1,243 @@ +/***************************************************************** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + ****************************************************************/ +package org.apache.cayenne.ejbql.parser; + +import java.util.ArrayList; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; + +import org.apache.cayenne.ejbql.EJBQLBaseVisitor; +import org.apache.cayenne.ejbql.EJBQLDelegatingVisitor; +import org.apache.cayenne.ejbql.EJBQLException; +import org.apache.cayenne.ejbql.EJBQLExpression; +import org.apache.cayenne.ejbql.EJBQLExpressionVisitor; +import org.apache.cayenne.map.EntityResolver; +import org.apache.cayenne.map.ObjRelationship; +import org.apache.cayenne.reflect.ArcProperty; +import org.apache.cayenne.reflect.ClassDescriptor; +import org.apache.cayenne.reflect.Property; + +/** + * A visitor that compiles an EJBQL expression. + * + * @since 3.0 + * @author Andrus Adamchik + */ +class Compiler { + + private String rootId; + private EntityResolver resolver; + private Map descriptorsById; + private Map incomingById; + private Collection implicitJoins; + private EJBQLExpressionVisitor fromItemVisitor; + private EJBQLExpressionVisitor joinVisitor; + private EJBQLExpressionVisitor whereClauseVisitor; + private EJBQLExpressionVisitor rootDescriptorVisitor; + + Compiler(EntityResolver resolver) { + this.resolver = resolver; + this.descriptorsById = new HashMap(); + this.incomingById = new HashMap(); + this.implicitJoins = new ArrayList(2); + + this.rootDescriptorVisitor = new SelectExpressionVisitor(); + this.fromItemVisitor = new FromItemVisitor(); + this.joinVisitor = new JoinVisitor(); + this.whereClauseVisitor = new WhereClauseVisitor(); + } + + CompiledExpression compile(String source, EJBQLExpression parsed) { + parsed.visit(new CompilationVisitor()); + + CompiledExpression compiled = new CompiledExpression(); + compiled.setExpression(parsed); + compiled.setSource(source); + + compiled.setRootId(rootId); + compiled.setDescriptorsById(descriptorsById); + compiled.setImplicitJoins(implicitJoins); + compiled.setIncomingById(incomingById); + + return compiled; + } + + class CompilationVisitor extends EJBQLDelegatingVisitor { + + CompilationVisitor() { + super(true); + } + + public boolean visitSelectExpression(EJBQLExpression expression) { + updateSubtreeDelegate(rootDescriptorVisitor, expression, -1); + return true; + } + + public boolean visitFromItem(EJBQLFromItem expression, int finishedChildIndex) { + updateSubtreeDelegate(fromItemVisitor, expression, finishedChildIndex); + return true; + } + + public boolean visitInnerFetchJoin(EJBQLJoin join, int finishedChildIndex) { + updateSubtreeDelegate(joinVisitor, join, finishedChildIndex); + return true; + } + + public boolean visitInnerJoin(EJBQLJoin join, int finishedChildIndex) { + updateSubtreeDelegate(joinVisitor, join, finishedChildIndex); + return true; + } + + public boolean visitOuterFetchJoin(EJBQLJoin join, int finishedChildIndex) { + updateSubtreeDelegate(joinVisitor, join, finishedChildIndex); + return true; + } + + public boolean visitOuterJoin(EJBQLJoin join, int finishedChildIndex) { + updateSubtreeDelegate(joinVisitor, join, finishedChildIndex); + return true; + } + + public boolean visitWhere(EJBQLExpression expression, int finishedChildIndex) { + updateSubtreeDelegate(whereClauseVisitor, expression, finishedChildIndex); + return true; + } + + private void updateSubtreeDelegate( + EJBQLExpressionVisitor delegate, + EJBQLExpression expression, + int finishedChildIndex) { + + if (finishedChildIndex < 0) { + setDelegate(delegate); + } + else if (finishedChildIndex + 1 == expression.getChildrenCount()) { + setDelegate(null); + } + } + } + + class FromItemVisitor extends EJBQLBaseVisitor { + + private String entityName; + + public boolean visitIdentificationVariable(EJBQLExpression expression) { + entityName = expression.getText(); + return true; + } + + public boolean visitIdentifier(EJBQLExpression expression) { + + // per JPA spec, 4.4.2, "Identification variables are case insensitive." + String rootId = expression.getText(); + rootId = rootId.toLowerCase(); + + // resolve class descriptor + ClassDescriptor descriptor = resolver.getClassDescriptor(entityName); + if (descriptor == null) { + throw new EJBQLException("Unmapped abstract schema name: " + entityName); + } + + ClassDescriptor old = (ClassDescriptor) descriptorsById.put( + rootId, + descriptor); + if (old != null && old != descriptor) { + throw new EJBQLException("Duplicate identification variable definition: " + + rootId + + ", it is already used for " + + old.getEntity().getName()); + } + return true; + } + } + + class JoinVisitor extends EJBQLBaseVisitor { + + private String id; + private ObjRelationship incoming; + private ClassDescriptor descriptor; + + public boolean visitPath(EJBQLPath expression, int finishedChildIndex) { + if (finishedChildIndex + 1 < expression.getChildrenCount()) { + this.id = expression.getId(); + this.descriptor = (ClassDescriptor) descriptorsById.get(id); + + if (descriptor == null) { + throw new EJBQLException("Unmapped id variable: " + id); + } + } + + return true; + } + + public boolean visitIdentificationVariable(EJBQLExpression expression) { + Property property = descriptor.getProperty(expression.getText()); + if (property instanceof ArcProperty) { + incoming = ((ArcProperty) property).getRelationship(); + descriptor = ((ArcProperty) property).getTargetDescriptor(); + } + else { + throw new EJBQLException("Incorrect relationship path: " + + expression.getText()); + } + + return true; + } + + public boolean visitIdentifier(EJBQLExpression expression) { + if (incoming != null) { + + String aliasId = expression.getText(); + + // map id variable to class descriptor + ClassDescriptor old = (ClassDescriptor) descriptorsById.put( + aliasId, + descriptor); + if (old != null && old != descriptor) { + throw new EJBQLException( + "Duplicate identification variable definition: " + + aliasId + + ", it is already used for " + + old.getEntity().getName()); + } + + incomingById.put(aliasId, incoming); + + id = null; + descriptor = null; + incoming = null; + } + + return true; + } + } + + class WhereClauseVisitor extends EJBQLBaseVisitor { + // TODO: andrus 4/9/2007 - load implicit joins + } + + class SelectExpressionVisitor extends EJBQLBaseVisitor { + + public boolean visitIdentifier(EJBQLExpression expression) { + rootId = expression.getText(); + return true; + } + } +} Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAbs.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAbs.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAbs.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAbs.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLAbs(AbstractParser parser, int id) { - super(id); - } - protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitAbs(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAbstractSchemaName.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAbstractSchemaName.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAbstractSchemaName.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAbstractSchemaName.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLAbstractSchemaName(AbstractParser parser, int id) { - super(id); - } - protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitAbstractSchemaName(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAdd.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAdd.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAdd.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAdd.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLAdd(AbstractParser parser, int id) { - super(id); - } - protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitAdd(this, -1); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAggregate.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAggregate.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAggregate.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAggregate.java Mon Apr 9 02:54:53 2007 @@ -26,14 +26,10 @@ */ public class EJBQLAggregate extends SimpleNode { - public EJBQLAggregate(int id) { - super(id); - } - - EJBQLAggregate(AbstractParser parser, int id) { + public EJBQLAggregate(int id) { super(id); } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitAggregate(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAll.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAll.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAll.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAll.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLAll(AbstractParser parser, int id) { - super(id); - } - protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitAll(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAnd.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAnd.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAnd.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAnd.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLAnd(AbstractParser parser, int id) { - super(id); - } - protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitAnd(this, -1); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAny.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAny.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAny.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAny.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLAny(AbstractParser parser, int id) { - super(id); - } - protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitAny(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAscending.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAscending.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAscending.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAscending.java Mon Apr 9 02:54:53 2007 @@ -25,14 +25,11 @@ * @author Andrus Adamchik */ public class EJBQLAscending extends SimpleNode { - public EJBQLAscending(int id) { - super(id); - } - - EJBQLAscending(AbstractParser parser, int id) { + + public EJBQLAscending(int id) { super(id); } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitAscending(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAverage.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAverage.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAverage.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLAverage.java Mon Apr 9 02:54:53 2007 @@ -29,11 +29,7 @@ public EJBQLAverage(int id) { super(id); } - - EJBQLAverage(AbstractParser parser, int id) { - super(id); - } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitAverage(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLBetween.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLBetween.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLBetween.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLBetween.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLBetween(AbstractParser parser, int id) { - super(id); - } - protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitBetween(this, -1); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLBooleanLiteral.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLBooleanLiteral.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLBooleanLiteral.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLBooleanLiteral.java Mon Apr 9 02:54:53 2007 @@ -25,14 +25,11 @@ * @author Andrus Adamchik */ public class EJBQLBooleanLiteral extends SimpleNode { - public EJBQLBooleanLiteral(int id) { - super(id); - } - - EJBQLBooleanLiteral(AbstractParser parser, int id) { + + public EJBQLBooleanLiteral(int id) { super(id); } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitBooleanLiteral(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLClassName.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLClassName.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLClassName.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLClassName.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLClassName(AbstractParser parser, int id) { - super(id); - } - protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitClassName(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLConcat.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLConcat.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLConcat.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLConcat.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLConcat(AbstractParser parser, int id) { - super(id); - } - protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitConcat(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLConstructor.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLConstructor.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLConstructor.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLConstructor.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLConstructor(AbstractParser parser, int id) { - super(id); - } - protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitConstructor(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLConstructorParameter.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLConstructorParameter.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLConstructorParameter.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLConstructorParameter.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLConstructorParameter(AbstractParser parser, int id) { - super(id); - } - protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitConstructorParameter(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLConstructorParameters.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLConstructorParameters.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLConstructorParameters.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLConstructorParameters.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLConstructorParameters(AbstractParser parser, int id) { - super(id); - } - protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitConstructorParameters(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLCount.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLCount.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLCount.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLCount.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLCount(AbstractParser parser, int id) { - super(id); - } - protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitCount(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLCurrentDate.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLCurrentDate.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLCurrentDate.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLCurrentDate.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLCurrentDate(AbstractParser parser, int id) { - super(id); - } - protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitCurrentDate(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLCurrentTime.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLCurrentTime.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLCurrentTime.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLCurrentTime.java Mon Apr 9 02:54:53 2007 @@ -25,14 +25,11 @@ * @author Andrus Adamchik */ public class EJBQLCurrentTime extends SimpleNode { - public EJBQLCurrentTime(int id) { - super(id); - } - - EJBQLCurrentTime(AbstractParser parser, int id) { + + public EJBQLCurrentTime(int id) { super(id); } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitCurrentTime(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLCurrentTimestamp.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLCurrentTimestamp.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLCurrentTimestamp.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLCurrentTimestamp.java Mon Apr 9 02:54:53 2007 @@ -25,14 +25,11 @@ * @author Andrus Adamchik */ public class EJBQLCurrentTimestamp extends SimpleNode { - public EJBQLCurrentTimestamp(int id) { - super(id); - } - - EJBQLCurrentTimestamp(AbstractParser parser, int id) { + + public EJBQLCurrentTimestamp(int id) { super(id); } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitCurrentTimestamp(this); } From [email protected] Mon Apr 09 09:55:40 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 39607 invoked from network); 9 Apr 2007 09:55:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Apr 2007 09:55:40 -0000 Received: (qmail 79424 invoked by uid 500); 9 Apr 2007 09:55:47 -0000 Delivered-To: [email protected] Received: (qmail 79406 invoked by uid 500); 9 Apr 2007 09:55:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 79397 invoked by uid 99); 9 Apr 2007 09:55:46 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Apr 2007 02:55:46 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Apr 2007 02:55:37 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id EAD851A983E; Mon, 9 Apr 2007 02:55:16 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r526696 [2/3] - in /cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src: main/java/org/apache/cayenne/access/jdbc/ main/java/org/apache/cayenne/ejbql/ main/java/org/apache/cayenne/ejbql/parser/ main/jjtree/org/apache/cayenne/ejbql/ ... Date: Mon, 09 Apr 2007 09:55:04 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLDecimalLiteral.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLDecimalLiteral.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLDecimalLiteral.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLDecimalLiteral.java Mon Apr 9 02:54:53 2007 @@ -25,14 +25,11 @@ * @author Andrus Adamchik */ public class EJBQLDecimalLiteral extends SimpleNode { - public EJBQLDecimalLiteral(int id) { - super(id); - } - EJBQLDecimalLiteral(AbstractParser parser, int id) { + public EJBQLDecimalLiteral(int id) { super(id); } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitDecimalLiteral(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLDelete.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLDelete.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLDelete.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLDelete.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLDelete(AbstractParser parser, int id) { - super(id); - } - protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitDelete(this, -1); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLDescending.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLDescending.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLDescending.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLDescending.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLDescending(AbstractParser parser, int id) { - super(id); - } - protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitDescending(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLDistinct.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLDistinct.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLDistinct.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLDistinct.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLDistinct(AbstractParser parser, int id) { - super(id); - } - protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitDistinct(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLDistinctPath.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLDistinctPath.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLDistinctPath.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLDistinctPath.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLDistinctPath(AbstractParser parser, int id) { - super(id); - } - protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitDistinctPath(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLDivide.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLDivide.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLDivide.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLDivide.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLDivide(AbstractParser parser, int id) { - super(id); - } - protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitDivide(this, -1); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLEquals.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLEquals.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLEquals.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLEquals.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLEquals(AbstractParser parser, int id) { - super(id); - } - protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitEquals(this, -1); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLEscapeCharacter.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLEscapeCharacter.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLEscapeCharacter.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLEscapeCharacter.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLEscapeCharacter(AbstractParser parser, int id) { - super(id); - } - protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitEscapeCharacter(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLExists.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLExists.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLExists.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLExists.java Mon Apr 9 02:54:53 2007 @@ -25,14 +25,11 @@ * @author Andrus Adamchik */ public class EJBQLExists extends SimpleNode { - public EJBQLExists(int id) { - super(id); - } - EJBQLExists(AbstractParser parser, int id) { + public EJBQLExists(int id) { super(id); } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitExists(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLFrom.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLFrom.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLFrom.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLFrom.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLFrom(AbstractParser parser, int id) { - super(id); - } - protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitFrom(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLFromItem.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLFromItem.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLFromItem.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLFromItem.java Mon Apr 9 02:54:53 2007 @@ -26,24 +26,25 @@ */ public class EJBQLFromItem extends SimpleNode { - private transient AbstractParser parser; - public EJBQLFromItem(int id) { super(id); } - EJBQLFromItem(AbstractParser parser, int id) { - super(id); - this.parser = parser; - } - - public void jjtClose() { - if (parser != null) { - parser.fromItemLoaded(this); + public String getId() { + int len = getChildrenCount(); + if (len < 2) { + return null; } + + return jjtGetChild(len - 1).getText(); } protected boolean visitNode(EJBQLExpressionVisitor visitor) { - return visitor.visitFromItem(this); + return visitor.visitFromItem(this, -1); + } + + protected boolean visitChild(EJBQLExpressionVisitor visitor, int childIndex) { + return super.visitChild(visitor, childIndex) + && visitor.visitFromItem(this, childIndex); } } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLGreaterOrEqual.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLGreaterOrEqual.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLGreaterOrEqual.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLGreaterOrEqual.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLGreaterOrEqual(AbstractParser parser, int id) { - super(id); - } - protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitGreaterOrEqual(this, -1); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLGreaterThan.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLGreaterThan.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLGreaterThan.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLGreaterThan.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLGreaterThan(AbstractParser parser, int id) { - super(id); - } - protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitGreaterThan(this, -1); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLGroupBy.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLGroupBy.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLGroupBy.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLGroupBy.java Mon Apr 9 02:54:53 2007 @@ -25,14 +25,11 @@ * @author Andrus Adamchik */ public class EJBQLGroupBy extends SimpleNode { - public EJBQLGroupBy(int id) { - super(id); - } - - EJBQLGroupBy(AbstractParser parser, int id) { + + public EJBQLGroupBy(int id) { super(id); } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitGroupBy(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLHaving.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLHaving.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLHaving.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLHaving.java Mon Apr 9 02:54:53 2007 @@ -25,14 +25,11 @@ * @author Andrus Adamchik */ public class EJBQLHaving extends SimpleNode { - public EJBQLHaving(int id) { - super(id); - } - - EJBQLHaving(AbstractParser parser, int id) { + + public EJBQLHaving(int id) { super(id); } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitHaving(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLIdentificationVariable.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLIdentificationVariable.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLIdentificationVariable.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLIdentificationVariable.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLIdentificationVariable(AbstractParser parser, int id) { - super(id); - } - public boolean visit(EJBQLExpressionVisitor visitor) { return visitor.visitIdentificationVariable(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLIdentifier.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLIdentifier.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLIdentifier.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLIdentifier.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLIdentifier(AbstractParser parser, int id) { - super(id); - } - public boolean visit(EJBQLExpressionVisitor visitor) { return visitor.visitIdentifier(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLIn.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLIn.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLIn.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLIn.java Mon Apr 9 02:54:53 2007 @@ -25,14 +25,11 @@ * @author Andrus Adamchik */ public class EJBQLIn extends SimpleNode { - public EJBQLIn(int id) { - super(id); - } - - EJBQLIn(AbstractParser parser, int id) { + + public EJBQLIn(int id) { super(id); } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitIn(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLInnerFetchJoin.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLInnerFetchJoin.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLInnerFetchJoin.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLInnerFetchJoin.java Mon Apr 9 02:54:53 2007 @@ -24,16 +24,18 @@ * @since 3.0 * @author Andrus Adamchik */ -public class EJBQLInnerFetchJoin extends SimpleNode { - public EJBQLInnerFetchJoin(int id) { - super(id); - } - - EJBQLInnerFetchJoin(AbstractParser parser, int id) { +public class EJBQLInnerFetchJoin extends EJBQLJoin { + + public EJBQLInnerFetchJoin(int id) { super(id); } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { - return visitor.visitInnerFetchJoin(this); + return visitor.visitInnerFetchJoin(this, -1); + } + + protected boolean visitChild(EJBQLExpressionVisitor visitor, int childIndex) { + return super.visitChild(visitor, childIndex) + && visitor.visitInnerFetchJoin(this, childIndex); } } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLInnerJoin.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLInnerJoin.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLInnerJoin.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLInnerJoin.java Mon Apr 9 02:54:53 2007 @@ -24,16 +24,18 @@ * @since 3.0 * @author Andrus Adamchik */ -public class EJBQLInnerJoin extends SimpleNode { - public EJBQLInnerJoin(int id) { - super(id); - } - - EJBQLInnerJoin(AbstractParser parser, int id) { +public class EJBQLInnerJoin extends EJBQLJoin { + + public EJBQLInnerJoin(int id) { super(id); } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { - return visitor.visitInnerJoin(this); + return visitor.visitInnerJoin(this, -1); + } + + protected boolean visitChild(EJBQLExpressionVisitor visitor, int childIndex) { + return super.visitChild(visitor, childIndex) + && visitor.visitInnerJoin(this, childIndex); } } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLIntegerLiteral.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLIntegerLiteral.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLIntegerLiteral.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLIntegerLiteral.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLIntegerLiteral(AbstractParser parser, int id) { - super(id); - } - protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitIntegerLiteral(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLIsEmpty.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLIsEmpty.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLIsEmpty.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLIsEmpty.java Mon Apr 9 02:54:53 2007 @@ -25,14 +25,11 @@ * @author Andrus Adamchik */ public class EJBQLIsEmpty extends SimpleNode { - public EJBQLIsEmpty(int id) { - super(id); - } - - EJBQLIsEmpty(AbstractParser parser, int id) { + + public EJBQLIsEmpty(int id) { super(id); } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitIsEmpty(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLIsNull.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLIsNull.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLIsNull.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLIsNull.java Mon Apr 9 02:54:53 2007 @@ -25,14 +25,11 @@ * @author Andrus Adamchik */ public class EJBQLIsNull extends SimpleNode { - public EJBQLIsNull(int id) { - super(id); - } - - EJBQLIsNull(AbstractParser parser, int id) { + + public EJBQLIsNull(int id) { super(id); } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitIsNull(this); } Added: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLJoin.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLJoin.java?view=auto&rev=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLJoin.java (added) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLJoin.java Mon Apr 9 02:54:53 2007 @@ -0,0 +1,35 @@ +/***************************************************************** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + ****************************************************************/ +package org.apache.cayenne.ejbql.parser; + +public class EJBQLJoin extends SimpleNode { + + public EJBQLJoin(int id) { + super(id); + } + + public String getId() { + int len = getChildrenCount(); + if (len < 2) { + return null; + } + + return jjtGetChild(len - 1).getText(); + } +} Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLLength.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLLength.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLLength.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLLength.java Mon Apr 9 02:54:53 2007 @@ -25,14 +25,11 @@ * @author Andrus Adamchik */ public class EJBQLLength extends SimpleNode { - public EJBQLLength(int id) { - super(id); - } - - EJBQLLength(AbstractParser parser, int id) { + + public EJBQLLength(int id) { super(id); } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitLength(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLLessOrEqual.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLLessOrEqual.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLLessOrEqual.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLLessOrEqual.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLLessOrEqual(AbstractParser parser, int id) { - super(id); - } - protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitLessOrEqual(this, -1); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLLessThan.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLLessThan.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLLessThan.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLLessThan.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLLessThan(AbstractParser parser, int id) { - super(id); - } - protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitLessThan(this, -1); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLLike.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLLike.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLLike.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLLike.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLLike(AbstractParser parser, int id) { - super(id); - } - protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitLike(this, -1); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLLocate.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLLocate.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLLocate.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLLocate.java Mon Apr 9 02:54:53 2007 @@ -25,14 +25,11 @@ * @author Andrus Adamchik */ public class EJBQLLocate extends SimpleNode { - public EJBQLLocate(int id) { - super(id); - } - - EJBQLLocate(AbstractParser parser, int id) { + + public EJBQLLocate(int id) { super(id); } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitLocate(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLLower.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLLower.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLLower.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLLower.java Mon Apr 9 02:54:53 2007 @@ -25,14 +25,11 @@ * @author Andrus Adamchik */ public class EJBQLLower extends SimpleNode { - public EJBQLLower(int id) { - super(id); - } - - EJBQLLower(AbstractParser parser, int id) { + + public EJBQLLower(int id) { super(id); } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitLower(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLMax.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLMax.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLMax.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLMax.java Mon Apr 9 02:54:53 2007 @@ -25,14 +25,11 @@ * @author Andrus Adamchik */ public class EJBQLMax extends SimpleNode { - public EJBQLMax(int id) { - super(id); - } - EJBQLMax(AbstractParser parser, int id) { + public EJBQLMax(int id) { super(id); } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitMax(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLMemberOf.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLMemberOf.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLMemberOf.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLMemberOf.java Mon Apr 9 02:54:53 2007 @@ -25,14 +25,11 @@ * @author Andrus Adamchik */ public class EJBQLMemberOf extends SimpleNode { - public EJBQLMemberOf(int id) { - super(id); - } - - EJBQLMemberOf(AbstractParser parser, int id) { + + public EJBQLMemberOf(int id) { super(id); } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitMemberOf(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLMin.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLMin.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLMin.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLMin.java Mon Apr 9 02:54:53 2007 @@ -25,14 +25,11 @@ * @author Andrus Adamchik */ public class EJBQLMin extends SimpleNode { - public EJBQLMin(int id) { - super(id); - } - EJBQLMin(AbstractParser parser, int id) { + public EJBQLMin(int id) { super(id); } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitMin(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLMod.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLMod.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLMod.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLMod.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLMod(AbstractParser parser, int id) { - super(id); - } - protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitMod(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLMultiply.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLMultiply.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLMultiply.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLMultiply.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLMultiply(AbstractParser parser, int id) { - super(id); - } - protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitMultiply(this, -1); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLNamedInputParameter.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLNamedInputParameter.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLNamedInputParameter.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLNamedInputParameter.java Mon Apr 9 02:54:53 2007 @@ -25,14 +25,11 @@ * @author Andrus Adamchik */ public class EJBQLNamedInputParameter extends SimpleNode { - public EJBQLNamedInputParameter(int id) { - super(id); - } - - EJBQLNamedInputParameter(AbstractParser parser, int id) { + + public EJBQLNamedInputParameter(int id) { super(id); } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitNamedInputParameter(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLNegative.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLNegative.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLNegative.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLNegative.java Mon Apr 9 02:54:53 2007 @@ -25,14 +25,11 @@ * @author Andrus Adamchik */ public class EJBQLNegative extends SimpleNode { - public EJBQLNegative(int id) { - super(id); - } - EJBQLNegative(AbstractParser parser, int id) { + public EJBQLNegative(int id) { super(id); } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitNegative(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLNot.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLNot.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLNot.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLNot.java Mon Apr 9 02:54:53 2007 @@ -25,14 +25,11 @@ * @author Andrus Adamchik */ public class EJBQLNot extends SimpleNode { - public EJBQLNot(int id) { - super(id); - } - - EJBQLNot(AbstractParser parser, int id) { + + public EJBQLNot(int id) { super(id); } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitNot(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLNotEquals.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLNotEquals.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLNotEquals.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLNotEquals.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLNotEquals(AbstractParser parser, int id) { - super(id); - } - protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitNotEquals(this, -1); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLOr.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLOr.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLOr.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLOr.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLOr(AbstractParser parser, int id) { - super(id); - } - protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitOr(this, -1); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLOrderBy.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLOrderBy.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLOrderBy.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLOrderBy.java Mon Apr 9 02:54:53 2007 @@ -25,14 +25,11 @@ * @author Andrus Adamchik */ public class EJBQLOrderBy extends SimpleNode { - public EJBQLOrderBy(int id) { - super(id); - } - EJBQLOrderBy(AbstractParser parser, int id) { + public EJBQLOrderBy(int id) { super(id); } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitOrderBy(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLOrderByItem.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLOrderByItem.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLOrderByItem.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLOrderByItem.java Mon Apr 9 02:54:53 2007 @@ -25,14 +25,11 @@ * @author Andrus Adamchik */ public class EJBQLOrderByItem extends SimpleNode { - public EJBQLOrderByItem(int id) { - super(id); - } - - EJBQLOrderByItem(AbstractParser parser, int id) { + + public EJBQLOrderByItem(int id) { super(id); } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitOrderByItem(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLOuterFetchJoin.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLOuterFetchJoin.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLOuterFetchJoin.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLOuterFetchJoin.java Mon Apr 9 02:54:53 2007 @@ -24,16 +24,18 @@ * @since 3.0 * @author Andrus Adamchik */ -public class EJBQLOuterFetchJoin extends SimpleNode { - public EJBQLOuterFetchJoin(int id) { - super(id); - } - - EJBQLOuterFetchJoin(AbstractParser parser, int id) { +public class EJBQLOuterFetchJoin extends EJBQLJoin { + + public EJBQLOuterFetchJoin(int id) { super(id); } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { - return visitor.visitOuterFetchJoin(this); + return visitor.visitOuterFetchJoin(this, -1); + } + + protected boolean visitChild(EJBQLExpressionVisitor visitor, int childIndex) { + return super.visitChild(visitor, childIndex) + && visitor.visitOuterFetchJoin(this, childIndex); } } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLOuterJoin.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLOuterJoin.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLOuterJoin.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLOuterJoin.java Mon Apr 9 02:54:53 2007 @@ -24,16 +24,18 @@ * @since 3.0 * @author Andrus Adamchik */ -public class EJBQLOuterJoin extends SimpleNode { - public EJBQLOuterJoin(int id) { - super(id); - } - - EJBQLOuterJoin(AbstractParser parser, int id) { +public class EJBQLOuterJoin extends EJBQLJoin { + + public EJBQLOuterJoin(int id) { super(id); } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { - return visitor.visitOuterJoin(this); + return visitor.visitOuterJoin(this, -1); + } + + protected boolean visitChild(EJBQLExpressionVisitor visitor, int childIndex) { + return super.visitChild(visitor, childIndex) + && visitor.visitOuterJoin(this, childIndex); } } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLPath.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLPath.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLPath.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLPath.java Mon Apr 9 02:54:53 2007 @@ -30,8 +30,36 @@ super(id); } - EJBQLPath(AbstractParser parser, int id) { - super(id); + public String getId() { + return (getChildrenCount() > 0) ? jjtGetChild(0).getText() : null; + } + + public String getRelativePath() { + int len = getChildrenCount(); + if (len < 2) { + return null; + } + + StringBuffer buffer = new StringBuffer(jjtGetChild(1).getText()); + for (int i = 2; i < len; i++) { + buffer.append('.').append(jjtGetChild(i).getText()); + } + + return buffer.toString(); + } + + public String getAbsolutePath() { + int len = getChildrenCount(); + if (len < 1) { + return null; + } + + StringBuffer buffer = new StringBuffer(jjtGetChild(0).getText()); + for (int i = 1; i < len; i++) { + buffer.append('.').append(jjtGetChild(i).getText()); + } + + return buffer.toString(); } protected boolean visitNode(EJBQLExpressionVisitor visitor) { Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLPatternValue.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLPatternValue.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLPatternValue.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLPatternValue.java Mon Apr 9 02:54:53 2007 @@ -25,14 +25,11 @@ * @author Andrus Adamchik */ public class EJBQLPatternValue extends SimpleNode { - public EJBQLPatternValue(int id) { - super(id); - } - - EJBQLPatternValue(AbstractParser parser, int id) { + + public EJBQLPatternValue(int id) { super(id); } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitPatternValue(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLPositionalInputParameter.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLPositionalInputParameter.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLPositionalInputParameter.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLPositionalInputParameter.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLPositionalInputParameter(AbstractParser parser, int id) { - super(id); - } - protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitPositionalInputParameter(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSelect.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSelect.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSelect.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSelect.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLSelect(AbstractParser parser, int id) { - super(id); - } - protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitSelect(this, -1); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSelectClause.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSelectClause.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSelectClause.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSelectClause.java Mon Apr 9 02:54:53 2007 @@ -28,10 +28,6 @@ super(id); } - EJBQLSelectClause(AbstractParser parser, int id) { - super(id); - } - // no visitor method for now, as this node is semantical and not important in // analyzing the query } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSelectExpression.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSelectExpression.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSelectExpression.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSelectExpression.java Mon Apr 9 02:54:53 2007 @@ -26,19 +26,8 @@ */ public class EJBQLSelectExpression extends SimpleNode { - private transient AbstractParser parser; - public EJBQLSelectExpression(int id) { super(id); - } - - EJBQLSelectExpression(AbstractParser parser, int id) { - super(id); - this.parser = parser; - } - - public void jjtClose() { - parser.selectExpressionLoaded(this); } public boolean visitNode(EJBQLExpressionVisitor visitor) { Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSelectExpressions.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSelectExpressions.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSelectExpressions.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSelectExpressions.java Mon Apr 9 02:54:53 2007 @@ -28,10 +28,6 @@ super(id); } - EJBQLSelectExpressions(AbstractParser parser, int id) { - super(id); - } - // no visitor method for now, as this node is semantical and not important in // analyzing the query } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSize.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSize.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSize.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSize.java Mon Apr 9 02:54:53 2007 @@ -25,14 +25,11 @@ * @author Andrus Adamchik */ public class EJBQLSize extends SimpleNode { - public EJBQLSize(int id) { - super(id); - } - - EJBQLSize(AbstractParser parser, int id) { + + public EJBQLSize(int id) { super(id); } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitSize(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSqrt.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSqrt.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSqrt.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSqrt.java Mon Apr 9 02:54:53 2007 @@ -25,14 +25,11 @@ * @author Andrus Adamchik */ public class EJBQLSqrt extends SimpleNode { - public EJBQLSqrt(int id) { - super(id); - } - - EJBQLSqrt(AbstractParser parser, int id) { + + public EJBQLSqrt(int id) { super(id); } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitSqrt(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLStringLiteral.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLStringLiteral.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLStringLiteral.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLStringLiteral.java Mon Apr 9 02:54:53 2007 @@ -25,14 +25,11 @@ * @author Andrus Adamchik */ public class EJBQLStringLiteral extends SimpleNode { - public EJBQLStringLiteral(int id) { - super(id); - } - - EJBQLStringLiteral(AbstractParser parser, int id) { + + public EJBQLStringLiteral(int id) { super(id); } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitStringLiteral(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSubselect.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSubselect.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSubselect.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSubselect.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLSubselect(AbstractParser parser, int id) { - super(id); - } - protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitSubselect(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSubstring.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSubstring.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSubstring.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSubstring.java Mon Apr 9 02:54:53 2007 @@ -25,14 +25,11 @@ * @author Andrus Adamchik */ public class EJBQLSubstring extends SimpleNode { - public EJBQLSubstring(int id) { - super(id); - } - EJBQLSubstring(AbstractParser parser, int id) { + public EJBQLSubstring(int id) { super(id); } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitSubstring(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSubtract.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSubtract.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSubtract.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSubtract.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLSubtract(AbstractParser parser, int id) { - super(id); - } - protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitSubtract(this, -1); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSum.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSum.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSum.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLSum.java Mon Apr 9 02:54:53 2007 @@ -25,14 +25,11 @@ * @author Andrus Adamchik */ public class EJBQLSum extends SimpleNode { - public EJBQLSum(int id) { - super(id); - } - - EJBQLSum(AbstractParser parser, int id) { + + public EJBQLSum(int id) { super(id); } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitSum(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLTok.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLTok.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLTok.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLTok.java Mon Apr 9 02:54:53 2007 @@ -25,14 +25,11 @@ * @author Andrus Adamchik */ public class EJBQLTok extends SimpleNode { - public EJBQLTok(int id) { - super(id); - } - EJBQLTok(AbstractParser parser, int id) { + public EJBQLTok(int id) { super(id); } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitTok(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLTrim.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLTrim.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLTrim.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLTrim.java Mon Apr 9 02:54:53 2007 @@ -25,14 +25,11 @@ * @author Andrus Adamchik */ public class EJBQLTrim extends SimpleNode { - public EJBQLTrim(int id) { - super(id); - } - - EJBQLTrim(AbstractParser parser, int id) { + + public EJBQLTrim(int id) { super(id); } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitTrim(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLTrimBoth.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLTrimBoth.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLTrimBoth.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLTrimBoth.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLTrimBoth(AbstractParser parser, int id) { - super(id); - } - protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitTrimBoth(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLTrimCharacter.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLTrimCharacter.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLTrimCharacter.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLTrimCharacter.java Mon Apr 9 02:54:53 2007 @@ -25,14 +25,11 @@ * @author Andrus Adamchik */ public class EJBQLTrimCharacter extends SimpleNode { - public EJBQLTrimCharacter(int id) { - super(id); - } - - EJBQLTrimCharacter(AbstractParser parser, int id) { + + public EJBQLTrimCharacter(int id) { super(id); } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitTrimCharacter(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLTrimLeading.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLTrimLeading.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLTrimLeading.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLTrimLeading.java Mon Apr 9 02:54:53 2007 @@ -25,14 +25,11 @@ * @author Andrus Adamchik */ public class EJBQLTrimLeading extends SimpleNode { - public EJBQLTrimLeading(int id) { - super(id); - } - - EJBQLTrimLeading(AbstractParser parser, int id) { + + public EJBQLTrimLeading(int id) { super(id); } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitTrimLeading(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLTrimTrailing.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLTrimTrailing.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLTrimTrailing.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLTrimTrailing.java Mon Apr 9 02:54:53 2007 @@ -25,14 +25,11 @@ * @author Andrus Adamchik */ public class EJBQLTrimTrailing extends SimpleNode { - public EJBQLTrimTrailing(int id) { - super(id); - } - - EJBQLTrimTrailing(AbstractParser parser, int id) { + + public EJBQLTrimTrailing(int id) { super(id); } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitTrimTrailing(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLUpdate.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLUpdate.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLUpdate.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLUpdate.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLUpdate(AbstractParser parser, int id) { - super(id); - } - protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitUpdate(this, -1); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLUpdateField.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLUpdateField.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLUpdateField.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLUpdateField.java Mon Apr 9 02:54:53 2007 @@ -28,11 +28,7 @@ public EJBQLUpdateField(int id) { super(id); } - - EJBQLUpdateField(AbstractParser parser, int id) { - super(id); - } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitUpdateField(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLUpdateItem.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLUpdateItem.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLUpdateItem.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLUpdateItem.java Mon Apr 9 02:54:53 2007 @@ -30,10 +30,6 @@ super(id); } - EJBQLUpdateItem(AbstractParser parser, int id) { - super(id); - } - protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitUpdateItem(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLUpdateValue.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLUpdateValue.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLUpdateValue.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLUpdateValue.java Mon Apr 9 02:54:53 2007 @@ -25,14 +25,11 @@ * @author Andrus Adamchik */ public class EJBQLUpdateValue extends SimpleNode { - public EJBQLUpdateValue(int id) { - super(id); - } - - EJBQLUpdateValue(AbstractParser parser, int id) { + + public EJBQLUpdateValue(int id) { super(id); } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitUpdateValue(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLUpper.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLUpper.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLUpper.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLUpper.java Mon Apr 9 02:54:53 2007 @@ -26,14 +26,10 @@ */ public class EJBQLUpper extends SimpleNode { - public EJBQLUpper(int id) { - super(id); - } - - EJBQLUpper(AbstractParser parser, int id) { + public EJBQLUpper(int id) { super(id); } - + protected boolean visitNode(EJBQLExpressionVisitor visitor) { return visitor.visitUpper(this); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLWhere.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLWhere.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLWhere.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/ejbql/parser/EJBQLWhere.java Mon Apr 9 02:54:53 2007 @@ -30,11 +30,12 @@ super(id); } - EJBQLWhere(AbstractParser parser, int id) { - super(id); + protected boolean visitNode(EJBQLExpressionVisitor visitor) { + return visitor.visitWhere(this, -1); } - protected boolean visitNode(EJBQLExpressionVisitor visitor) { - return visitor.visitWhere(this); + protected boolean visitChild(EJBQLExpressionVisitor visitor, int childIndex) { + return super.visitChild(visitor, childIndex) + && visitor.visitWhere(this, childIndex); } } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/jjtree/org/apache/cayenne/ejbql/EJBQLParser.jjt URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/jjtree/org/apache/cayenne/ejbql/EJBQLParser.jjt?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/jjtree/org/apache/cayenne/ejbql/EJBQLParser.jjt (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/jjtree/org/apache/cayenne/ejbql/EJBQLParser.jjt Mon Apr 9 02:54:53 2007 @@ -29,7 +29,7 @@ NODE_DEFAULT_VOID = true; JAVA_UNICODE_ESCAPE = true; STATIC = false; - NODE_USES_PARSER = true; + NODE_USES_PARSER = false; LOOKAHEAD = 1; @@ -51,25 +51,12 @@ import org.apache.cayenne.ejbql.*; import org.apache.cayenne.map.*; -public class EJBQL extends AbstractParser { +public class EJBQL { public EJBQL (String source) { this (new StringReader (source)); - this.source = source; } - EJBQLCompiledExpression compileQuery(EntityResolver resolver) throws ParseException { - this.descriptorsById = new HashMap(); - this.resolver = resolver; - - CompiledExpression compiled = new CompiledExpression(); - compiled.setExpression(parseQuery()); - compiled.setDescriptorsById(descriptorsById); - compiled.setSource(source); - compiled.setRootId(rootId); - return compiled; - } - public static class EJBQLDefaultParser implements EJBQLParser { public EJBQLExpression parse(String ejbqlStatement) throws EJBQLException { @@ -83,7 +70,7 @@ public EJBQLCompiledExpression compile(String ejbqlStatement, EntityResolver resolver) throws EJBQLException { try { - return new EJBQL(ejbqlStatement).compileQuery(resolver); + return new Compiler(resolver).compile(ejbqlStatement, new EJBQL(ejbqlStatement).parseQuery()); } catch(ParseException e) { throw new EJBQLException("Error parsing EJB QL statement", e); Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DataContextEJBQLJoinsTest.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DataContextEJBQLJoinsTest.java?view=diff&rev=526696&r1=526695&r2=526696 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DataContextEJBQLJoinsTest.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DataContextEJBQLJoinsTest.java Mon Apr 9 02:54:53 2007 @@ -18,6 +18,14 @@ ****************************************************************/ package org.apache.cayenne.access; +import java.util.HashSet; +import java.util.Iterator; +import java.util.List; +import java.util.Set; + +import org.apache.art.Artist; +import org.apache.cayenne.DataObjectUtils; +import org.apache.cayenne.query.EJBQLQuery; import org.apache.cayenne.unit.CayenneCase; public class DataContextEJBQLJoinsTest extends CayenneCase { @@ -33,7 +41,11 @@ // + "FROM Artist a, Painting b " // + "WHERE a.artistName = b.paintingTitle"; // - // List artists = createDataContext().performQuery(new EJBQLQuery(ejbql)); + // EJBQLQuery query = new EJBQLQuery(ejbql); + // + // System.out.println("" + // + query.getExpression(getDomain().getEntityResolver()).getExpression()); + // List artists = createDataContext().performQuery(query); // assertEquals(2, artists.size()); // // Set names = new HashSet(2); @@ -50,44 +62,48 @@ public void testInnerJoins() throws Exception { createTestData("testInnerJoins"); - // String ejbql = "SELECT a " - // + "FROM Artist a INNER JOIN a.paintingArray p " - // + "WHERE a.artistName = 'A1'"; - // - // List artists = createDataContext().performQuery(new EJBQLQuery(ejbql)); - // assertEquals(1, artists.size()); - // assertEquals(33001, DataObjectUtils.intPKForObject((Artist) artists.get(0))); + String ejbql = "SELECT a " + + "FROM Artist a INNER JOIN a.paintingArray p " + + "WHERE a.artistName = 'AA1'"; + + List artists = createDataContext().performQuery(new EJBQLQuery(ejbql)); + assertEquals(1, artists.size()); + assertEquals(33001, DataObjectUtils.intPKForObject((Artist) artists.get(0))); } public void testOuterJoins() throws Exception { createTestData("testInnerJoins"); - // String ejbql = "SELECT a " - // + "FROM Artist a LEFT JOIN a.paintingArray p " - // + "WHERE a.artistName = 'A1'"; - // - // List artists = createDataContext().performQuery(new EJBQLQuery(ejbql)); - // assertEquals(2, artists.size()); - // Set ids = new HashSet(2); - // Iterator it = artists.iterator(); - // while (it.hasNext()) { - // Artist a = (Artist) it.next(); - // ids.add(DataObjectUtils.pkForObject(a)); - // } - // - // assertTrue(ids.contains(new Integer(33001))); - // assertTrue(ids.contains(new Integer(33005))); + String ejbql = "SELECT a " + + "FROM Artist a LEFT JOIN a.paintingArray p " + + "WHERE a.artistName = 'AA1'"; + + List artists = createDataContext().performQuery(new EJBQLQuery(ejbql)); + assertEquals(2, artists.size()); + Set ids = new HashSet(2); + Iterator it = artists.iterator(); + while (it.hasNext()) { + Artist a = (Artist) it.next(); + ids.add(DataObjectUtils.pkForObject(a)); + } + + assertTrue(ids.contains(new Integer(33001))); + assertTrue(ids.contains(new Integer(33005))); } public void testChainedJoins() throws Exception { createTestData("testChainedJoins"); - // String ejbql = "SELECT a " - // + "FROM Artist a JOIN a.paintingArray p JOIN p.toGallery g " - // + "WHERE g.galleryName = 'gallery2'"; - // - // List artists = createDataContext().performQuery(new EJBQLQuery(ejbql)); - // assertEquals(1, artists.size()); - // assertEquals(33002, DataObjectUtils.intPKForObject((Artist) artists.get(0))); + String ejbql = "SELECT a " + + "FROM Artist a JOIN a.paintingArray p JOIN p.toGallery g " + + "WHERE g.galleryName = 'gallery2'"; + + EJBQLQuery query = new EJBQLQuery(ejbql); + + System.out.println("" + + query.getExpression(getDomain().getEntityResolver()).getExpression()); + List artists = createDataContext().performQuery(query); + assertEquals(1, artists.size()); + assertEquals(33002, DataObjectUtils.intPKForObject((Artist) artists.get(0))); } public void testImplicitJoins() throws Exception { @@ -120,6 +136,6 @@ // // List artists = createDataContext().performQuery(new EJBQLQuery(ejbql)); // assertEquals(1, artists.size()); - // assertEquals(33001, DataObjectUtils.intPKForObject((Artist) artists.get(0))); + // assertEquals(33001, DataObjectUtils.intPKForObject((Artist) artists.get(0))); } } From [email protected] Mon Apr 09 09:59:35 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42213 invoked from network); 9 Apr 2007 09:59:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Apr 2007 09:59:34 -0000 Received: (qmail 84513 invoked by uid 500); 9 Apr 2007 09:59:41 -0000 Delivered-To: [email protected] Received: (qmail 84491 invoked by uid 500); 9 Apr 2007 09:59:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 84482 invoked by uid 99); 9 Apr 2007 09:59:41 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Apr 2007 02:59:41 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Apr 2007 02:59:33 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 663961A9838; Mon, 9 Apr 2007 02:59:13 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r526697 - /cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/conn/DataSourceInfo.java Date: Mon, 09 Apr 2007 09:59:13 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: aadamchik Date: Mon Apr 9 02:59:12 2007 New Revision: 526697 URL: http://svn.apache.org/viewvc?view=rev&rev=526697 Log: no change - reformatting per project eclipse defaults Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/conn/DataSourceInfo.java Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/conn/DataSourceInfo.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/conn/DataSourceInfo.java?view=diff&rev=526697&r1=526696&r2=526697 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/conn/DataSourceInfo.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/conn/DataSourceInfo.java Mon Apr 9 02:59:12 2007 @@ -17,7 +17,6 @@ * under the License. ****************************************************************/ - package org.apache.cayenne.conn; import java.io.Serializable; @@ -25,65 +24,66 @@ import org.apache.cayenne.conf.PasswordEncoding; import org.apache.cayenne.util.Util; -/** - * Helper JavaBean class that holds DataSource login information. - * - * <p><i>For more information see <a href="../../../../../../userguide/index.html" - * target="_top">Cayenne User Guide.</a></i></p> +/** + * Helper JavaBean class that holds DataSource login information. + * <p> + * <i>For more information see <a href="../../../../../../userguide/index.html" + * target="_top">Cayenne User Guide.</a></i> + * </p> * * @author Andrus Adamchik */ -public class DataSourceInfo implements Cloneable, Serializable { - protected String userName; - protected String password; - protected String jdbcDriver; - protected String dataSourceUrl; - protected String adapterClassName; - protected int minConnections = 1; - protected int maxConnections = 1; +public class DataSourceInfo implements Cloneable, Serializable { + + protected String userName; + protected String password; + protected String jdbcDriver; + protected String dataSourceUrl; + protected String adapterClassName; + protected int minConnections = 1; + protected int maxConnections = 1; // Constants for passwordLocation - public static final String PASSWORD_LOCATION_CLASSPATH = "classpath"; + public static final String PASSWORD_LOCATION_CLASSPATH = "classpath"; public static final String PASSWORD_LOCATION_EXECUTABLE = "executable"; - public static final String PASSWORD_LOCATION_MODEL = "model"; - public static final String PASSWORD_LOCATION_URL = "url"; + public static final String PASSWORD_LOCATION_MODEL = "model"; + public static final String PASSWORD_LOCATION_URL = "url"; // Extended parameters - protected String passwordEncoderClass = PasswordEncoding.standardEncoders[0]; - protected String passwordEncoderSalt = ""; + protected String passwordEncoderClass = PasswordEncoding.standardEncoders[0]; + protected String passwordEncoderSalt = ""; protected String passwordSourceExecutable = ""; - protected String passwordSourceFilename = ""; - protected String passwordSourceModel = "Not Applicable"; - protected String passwordSourceUrl = ""; - protected String passwordLocation = PASSWORD_LOCATION_MODEL; + protected String passwordSourceFilename = ""; + protected String passwordSourceModel = "Not Applicable"; + protected String passwordSourceUrl = ""; + protected String passwordLocation = PASSWORD_LOCATION_MODEL; + + public boolean equals(Object obj) { + if (obj == this) + return true; + if (obj == null) + return false; - public boolean equals(Object obj) { - if (obj == this) - return true; - - if (obj == null) - return false; - - if (obj.getClass() != this.getClass()) - return false; + if (obj.getClass() != this.getClass()) + return false; - DataSourceInfo dsi = (DataSourceInfo) obj; + DataSourceInfo dsi = (DataSourceInfo) obj; if (!Util.nullSafeEquals(this.userName, dsi.userName)) - return false; - if (!Util.nullSafeEquals(this.password, dsi.password)) - return false; - if (!Util.nullSafeEquals(this.jdbcDriver, dsi.jdbcDriver)) - return false; - if (!Util.nullSafeEquals(this.dataSourceUrl, dsi.dataSourceUrl)) - return false; - if (!Util.nullSafeEquals(this.adapterClassName, dsi.adapterClassName)) - return false; - if (this.minConnections != dsi.minConnections) - return false; - if (this.maxConnections != dsi.maxConnections) - return false; + return false; + if (!Util.nullSafeEquals(this.password, dsi.password)) + return false; + if (!Util.nullSafeEquals(this.jdbcDriver, dsi.jdbcDriver)) + return false; + if (!Util.nullSafeEquals(this.dataSourceUrl, dsi.dataSourceUrl)) + return false; + if (!Util.nullSafeEquals(this.adapterClassName, dsi.adapterClassName)) + return false; + if (this.minConnections != dsi.minConnections) + return false; + if (this.maxConnections != dsi.maxConnections) + return false; if (!Util.nullSafeEquals(this.passwordEncoderClass, dsi.passwordEncoderClass)) return false; if (!Util.nullSafeEquals(this.passwordEncoderSalt, dsi.passwordEncoderSalt)) @@ -91,279 +91,259 @@ if (!Util.nullSafeEquals(this.passwordSourceFilename, dsi.passwordSourceFilename)) return false; if (!Util.nullSafeEquals(this.passwordSourceModel, dsi.passwordSourceModel)) - return false; + return false; if (!Util.nullSafeEquals(this.passwordSourceUrl, dsi.passwordSourceUrl)) - return false; + return false; if (!Util.nullSafeEquals(this.passwordLocation, dsi.passwordLocation)) return false; - return true; - } + return true; + } - public DataSourceInfo cloneInfo() { - try { - return (DataSourceInfo) super.clone(); - } catch (CloneNotSupportedException ex) { + public DataSourceInfo cloneInfo() { + try { + return (DataSourceInfo) super.clone(); + } + catch (CloneNotSupportedException ex) { throw new RuntimeException("Cloning error", ex); - } - } + } + } - public String toString() { - StringBuffer buf = new StringBuffer(); - buf - .append("[") - .append(this.getClass().getName()) - .append(":") - .append("\n user name: ") - .append(userName) - .append("\n password: "); - - if (password == null) - buf.append("null"); - else - buf.append("**********"); + public String toString() { + StringBuffer buf = new StringBuffer(); + buf.append("[").append(this.getClass().getName()).append(":").append( + "\n user name: ").append(userName).append("\n password: "); + + if (password == null) + buf.append("null"); + else + buf.append("**********"); buf - .append("\n driver: ") - .append(jdbcDriver) - .append("\n db adapter class: ") - .append(adapterClassName) - .append("\n url: ") - .append(dataSourceUrl) - .append("\n min. connections: ") - .append(minConnections) - .append("\n max. connections: ") - .append(maxConnections) - .append("\n encoder class: ") - .append(passwordEncoderClass) - .append("\n encoder salt: ") - .append(passwordEncoderSalt) - .append("\n password location: ") - .append(passwordLocation) - .append("\n password source: ") - .append(getPasswordSource()) - .append("\n]"); - - return buf.toString(); - } - - public String getAdapterClassName() { - return adapterClassName; - } - - public void setAdapterClassName(String adapterClassName) { - this.adapterClassName = adapterClassName; - } - - public void setMinConnections(int minConnections) { - this.minConnections = minConnections; - } - - public int getMinConnections() { - return minConnections; - } - - public void setMaxConnections(int maxConnections) { - this.maxConnections = maxConnections; - } - - public int getMaxConnections() { - return maxConnections; - } - - public void setUserName(String userName) { - this.userName = userName; - } - - public String getUserName() { - return userName; - } - - public void setPassword(String password) { - this.password = password; - } - - public String getPassword() { - return password; - } - - public void setJdbcDriver(String jdbcDriver) { - this.jdbcDriver = jdbcDriver; - } - - public String getJdbcDriver() { - return jdbcDriver; - } - - public void setDataSourceUrl(String dataSourceUrl) { - this.dataSourceUrl = dataSourceUrl; - } - - public String getDataSourceUrl() { - return dataSourceUrl; - } - - - public PasswordEncoding getPasswordEncoder() - { - PasswordEncoding encoder = null; - - try - { - encoder = (PasswordEncoding) Thread.currentThread().getContextClassLoader().loadClass(getPasswordEncoderClass()).newInstance(); - //encoder = (PasswordEncoding) Class.forName(getPasswordEncoderClass()).newInstance(); - } - catch (InstantiationException exception) - { - // TODO Auto-generated catch block - exception.printStackTrace(); - } - catch (IllegalAccessException exception) - { - // TODO Auto-generated catch block - exception.printStackTrace(); - } - catch (ClassNotFoundException exception) - { - // TODO Auto-generated catch block - exception.printStackTrace(); - } - - return encoder; - } - - /** - * @return the passwordEncoderClass - */ - public String getPasswordEncoderClass() - { - return passwordEncoderClass; - } - - /** - * @param passwordEncoderClass the passwordEncoderClass to set - */ - public void setPasswordEncoderClass(String passwordEncoderClass) - { - if (passwordEncoderClass == null) - this.passwordEncoderClass = PasswordEncoding.standardEncoders[0]; - else - this.passwordEncoderClass = passwordEncoderClass; - } - - /** - * @return the passwordEncoderSalt - */ - public String getPasswordEncoderSalt() - { - return passwordEncoderSalt; - } - - /** - * @param passwordEncoderSalt the passwordEncoderSalt to set - */ - public void setPasswordEncoderSalt(String passwordEncoderSalt) - { - this.passwordEncoderSalt = passwordEncoderSalt; - } - - /** - * @return the passwordLocationFilename - */ - public String getPasswordSourceFilename() - { - return passwordSourceFilename; - } - - /** - * @param passwordSourceFilename the passwordSourceFilename to set - */ - public void setPasswordSourceFilename(String passwordSourceFilename) - { - this.passwordSourceFilename = passwordSourceFilename; - } - - /** - * @return the passwordLocationModel - */ - public String getPasswordSourceModel() - { - return passwordSourceModel; - } - - /** - * @return the passwordLocationUrl - */ - public String getPasswordSourceUrl() - { - return passwordSourceUrl; - } - - /** - * @param passwordSourceUrl the passwordSourceUrl to set - */ - public void setPasswordSourceUrl(String passwordSourceUrl) - { - this.passwordSourceUrl = passwordSourceUrl; - } - - /** - * @return the passwordLocationExecutable - */ - public String getPasswordSourceExecutable() - { - return passwordSourceExecutable; - } - - /** - * @param passwordSourceExecutable the passwordSourceExecutable to set - */ - public void setPasswordSourceExecutable(String passwordSourceExecutable) - { - this.passwordSourceExecutable = passwordSourceExecutable; - } - - public String getPasswordSource() - { - if (getPasswordLocation().equals(PASSWORD_LOCATION_CLASSPATH)) - return getPasswordSourceFilename(); - else if (getPasswordLocation().equals(PASSWORD_LOCATION_EXECUTABLE)) - return getPasswordSourceExecutable(); - else if (getPasswordLocation().equals(PASSWORD_LOCATION_MODEL)) - return getPasswordSourceModel(); - else if (getPasswordLocation().equals(PASSWORD_LOCATION_URL)) - return getPasswordSourceUrl(); - - throw new RuntimeException("Invalid password source detected"); - } - - public void setPasswordSource(String passwordSource) - { - // The location for the model is omitted since it cannot change - if (getPasswordLocation().equals(PASSWORD_LOCATION_CLASSPATH)) - setPasswordSourceFilename(passwordSource); - else if (getPasswordLocation().equals(PASSWORD_LOCATION_EXECUTABLE)) - setPasswordSourceExecutable(passwordSource); - else if (getPasswordLocation().equals(PASSWORD_LOCATION_URL)) - setPasswordSourceUrl(passwordSource); - } - - /** - * @return the passwordLocation - */ - public String getPasswordLocation() - { - return passwordLocation; - } - - /** - * @param passwordLocation the passwordLocation to set - */ - public void setPasswordLocation(String passwordLocation) - { - if (passwordLocation == null) - this.passwordLocation = DataSourceInfo.PASSWORD_LOCATION_MODEL; - else - this.passwordLocation = passwordLocation; - } + .append("\n driver: ") + .append(jdbcDriver) + .append("\n db adapter class: ") + .append(adapterClassName) + .append("\n url: ") + .append(dataSourceUrl) + .append("\n min. connections: ") + .append(minConnections) + .append("\n max. connections: ") + .append(maxConnections) + .append("\n encoder class: ") + .append(passwordEncoderClass) + .append("\n encoder salt: ") + .append(passwordEncoderSalt) + .append("\n password location: ") + .append(passwordLocation) + .append("\n password source: ") + .append(getPasswordSource()) + .append("\n]"); + + return buf.toString(); + } + + public String getAdapterClassName() { + return adapterClassName; + } + + public void setAdapterClassName(String adapterClassName) { + this.adapterClassName = adapterClassName; + } + + public void setMinConnections(int minConnections) { + this.minConnections = minConnections; + } + + public int getMinConnections() { + return minConnections; + } + + public void setMaxConnections(int maxConnections) { + this.maxConnections = maxConnections; + } + + public int getMaxConnections() { + return maxConnections; + } + + public void setUserName(String userName) { + this.userName = userName; + } + + public String getUserName() { + return userName; + } + + public void setPassword(String password) { + this.password = password; + } + + public String getPassword() { + return password; + } + + public void setJdbcDriver(String jdbcDriver) { + this.jdbcDriver = jdbcDriver; + } + + public String getJdbcDriver() { + return jdbcDriver; + } + + public void setDataSourceUrl(String dataSourceUrl) { + this.dataSourceUrl = dataSourceUrl; + } + + public String getDataSourceUrl() { + return dataSourceUrl; + } + + public PasswordEncoding getPasswordEncoder() { + PasswordEncoding encoder = null; + + try { + encoder = (PasswordEncoding) Thread + .currentThread() + .getContextClassLoader() + .loadClass(getPasswordEncoderClass()) + .newInstance(); + // encoder = (PasswordEncoding) + // Class.forName(getPasswordEncoderClass()).newInstance(); + } + catch (InstantiationException exception) { + // TODO Auto-generated catch block + exception.printStackTrace(); + } + catch (IllegalAccessException exception) { + // TODO Auto-generated catch block + exception.printStackTrace(); + } + catch (ClassNotFoundException exception) { + // TODO Auto-generated catch block + exception.printStackTrace(); + } + + return encoder; + } + + /** + * @return the passwordEncoderClass + */ + public String getPasswordEncoderClass() { + return passwordEncoderClass; + } + + /** + * @param passwordEncoderClass the passwordEncoderClass to set + */ + public void setPasswordEncoderClass(String passwordEncoderClass) { + if (passwordEncoderClass == null) + this.passwordEncoderClass = PasswordEncoding.standardEncoders[0]; + else + this.passwordEncoderClass = passwordEncoderClass; + } + + /** + * @return the passwordEncoderSalt + */ + public String getPasswordEncoderSalt() { + return passwordEncoderSalt; + } + + /** + * @param passwordEncoderSalt the passwordEncoderSalt to set + */ + public void setPasswordEncoderSalt(String passwordEncoderSalt) { + this.passwordEncoderSalt = passwordEncoderSalt; + } + + /** + * @return the passwordLocationFilename + */ + public String getPasswordSourceFilename() { + return passwordSourceFilename; + } + + /** + * @param passwordSourceFilename the passwordSourceFilename to set + */ + public void setPasswordSourceFilename(String passwordSourceFilename) { + this.passwordSourceFilename = passwordSourceFilename; + } + + /** + * @return the passwordLocationModel + */ + public String getPasswordSourceModel() { + return passwordSourceModel; + } + + /** + * @return the passwordLocationUrl + */ + public String getPasswordSourceUrl() { + return passwordSourceUrl; + } + + /** + * @param passwordSourceUrl the passwordSourceUrl to set + */ + public void setPasswordSourceUrl(String passwordSourceUrl) { + this.passwordSourceUrl = passwordSourceUrl; + } + + /** + * @return the passwordLocationExecutable + */ + public String getPasswordSourceExecutable() { + return passwordSourceExecutable; + } + + /** + * @param passwordSourceExecutable the passwordSourceExecutable to set + */ + public void setPasswordSourceExecutable(String passwordSourceExecutable) { + this.passwordSourceExecutable = passwordSourceExecutable; + } + + public String getPasswordSource() { + if (getPasswordLocation().equals(PASSWORD_LOCATION_CLASSPATH)) + return getPasswordSourceFilename(); + else if (getPasswordLocation().equals(PASSWORD_LOCATION_EXECUTABLE)) + return getPasswordSourceExecutable(); + else if (getPasswordLocation().equals(PASSWORD_LOCATION_MODEL)) + return getPasswordSourceModel(); + else if (getPasswordLocation().equals(PASSWORD_LOCATION_URL)) + return getPasswordSourceUrl(); + + throw new RuntimeException("Invalid password source detected"); + } + + public void setPasswordSource(String passwordSource) { + // The location for the model is omitted since it cannot change + if (getPasswordLocation().equals(PASSWORD_LOCATION_CLASSPATH)) + setPasswordSourceFilename(passwordSource); + else if (getPasswordLocation().equals(PASSWORD_LOCATION_EXECUTABLE)) + setPasswordSourceExecutable(passwordSource); + else if (getPasswordLocation().equals(PASSWORD_LOCATION_URL)) + setPasswordSourceUrl(passwordSource); + } + + /** + * @return the passwordLocation + */ + public String getPasswordLocation() { + return passwordLocation; + } + + /** + * @param passwordLocation the passwordLocation to set + */ + public void setPasswordLocation(String passwordLocation) { + if (passwordLocation == null) + this.passwordLocation = DataSourceInfo.PASSWORD_LOCATION_MODEL; + else + this.passwordLocation = passwordLocation; + } } From [email protected] Mon Apr 09 10:03:47 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44893 invoked from network); 9 Apr 2007 10:03:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Apr 2007 10:03:47 -0000 Received: (qmail 87584 invoked by uid 500); 9 Apr 2007 10:03:54 -0000 Delivered-To: [email protected] Received: (qmail 87561 invoked by uid 500); 9 Apr 2007 10:03:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 87552 invoked by uid 99); 9 Apr 2007 10:03:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Apr 2007 03:03:54 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Apr 2007 03:03:47 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id E12921A9838; Mon, 9 Apr 2007 03:03:26 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r526699 - /cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/conn/DataSourceInfo.java Date: Mon, 09 Apr 2007 10:03:26 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: aadamchik Date: Mon Apr 9 03:03:25 2007 New Revision: 526699 URL: http://svn.apache.org/viewvc?view=rev&rev=526699 Log: decreasing verbosity for default password settings Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/conn/DataSourceInfo.java Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/conn/DataSourceInfo.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/conn/DataSourceInfo.java?view=diff&rev=526699&r1=526698&r2=526699 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/conn/DataSourceInfo.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/conn/DataSourceInfo.java Mon Apr 9 03:03:25 2007 @@ -22,6 +22,7 @@ import java.io.Serializable; import org.apache.cayenne.conf.PasswordEncoding; +import org.apache.cayenne.conf.PlainTextPasswordEncoder; import org.apache.cayenne.util.Util; /** @@ -114,11 +115,7 @@ buf.append("[").append(this.getClass().getName()).append(":").append( "\n user name: ").append(userName).append("\n password: "); - if (password == null) - buf.append("null"); - else - buf.append("**********"); - + buf.append("**********"); buf .append("\n driver: ") .append(jdbcDriver) @@ -129,17 +126,19 @@ .append("\n min. connections: ") .append(minConnections) .append("\n max. connections: ") - .append(maxConnections) - .append("\n encoder class: ") - .append(passwordEncoderClass) - .append("\n encoder salt: ") - .append(passwordEncoderSalt) - .append("\n password location: ") - .append(passwordLocation) - .append("\n password source: ") - .append(getPasswordSource()) - .append("\n]"); + .append(maxConnections); + + if (!PlainTextPasswordEncoder.class.getName().equals(passwordEncoderClass)) { + buf.append("\n encoder class: ").append(passwordEncoderClass).append( + "\n encoder salt: ").append(passwordEncoderSalt); + } + + if (!PASSWORD_LOCATION_MODEL.equals(passwordLocation)) { + buf.append("\n password location: ").append(passwordLocation).append( + "\n password source: ").append(getPasswordSource()); + } + buf.append("\n]"); return buf.toString(); } From [email protected] Mon Apr 09 15:05:33 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 27465 invoked from network); 9 Apr 2007 15:05:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Apr 2007 15:05:31 -0000 Received: (qmail 54560 invoked by uid 500); 9 Apr 2007 15:05:30 -0000 Delivered-To: [email protected] Received: (qmail 54518 invoked by uid 500); 9 Apr 2007 15:05:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 54436 invoked by uid 500); 9 Apr 2007 15:05:30 -0000 Delivered-To: [email protected] Received: (qmail 54416 invoked by uid 99); 9 Apr 2007 15:05:30 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Apr 2007 08:05:30 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 09 Apr 2007 08:05:23 -0700 Received: (qmail 27365 invoked by uid 1723); 9 Apr 2007 15:05:02 -0000 Date: 9 Apr 2007 15:05:00 -0000 Message-ID: <[email protected]> TO: [email protected] FROM: [email protected] SUBJECT: Issues Opened: week of 2007-04-09 X-Virus-Checked: Checked by ClamAV on apache.org Cayenne - Monday, April 9, 2007 0 opened in last 7 days From [email protected] Mon Apr 09 15:07:24 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 27966 invoked from network); 9 Apr 2007 15:07:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Apr 2007 15:07:23 -0000 Received: (qmail 56990 invoked by uid 500); 9 Apr 2007 15:07:30 -0000 Delivered-To: [email protected] Received: (qmail 56972 invoked by uid 500); 9 Apr 2007 15:07:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 56956 invoked by uid 500); 9 Apr 2007 15:07:30 -0000 Delivered-To: [email protected] Received: (qmail 56951 invoked by uid 99); 9 Apr 2007 15:07:30 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Apr 2007 08:07:30 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 09 Apr 2007 08:07:23 -0700 Received: (qmail 27924 invoked by uid 1723); 9 Apr 2007 15:07:02 -0000 Date: 9 Apr 2007 15:07:00 -0000 Message-ID: <[email protected]> TO: [email protected] FROM: [email protected] SUBJECT: Issues Closed: week of 2007-04-09 X-Virus-Checked: Checked by ClamAV on apache.org Cayenne - Monday, April 9, 2007 5 closed in last 7 days [CAY-774] cayenne-modeler pom.xml has incorrect dependancy - Type: Bug - Assignee: Andrus Adamchik - Components: [CayenneModeler GUI] - Fix Versions: [2.0 [STABLE]] - http://issues.apache.org/cayenne/browse/CAY-774 [CAY-776] 1.2 -> 2.0/3.0 Migration - modeler preferences still store org.objectstyle adapter names - Type: Bug - Assignee: Andrus Adamchik - Components: [CayenneModeler GUI] - Fix Versions: [3.0] - http://issues.apache.org/cayenne/browse/CAY-776 [CAY-597] XML Encoder with Mapping outputs incorrect XML - Type: Bug - Assignee: Kevin Menard - Components: [Cayenne Core Library] - Fix Versions: [1.2 [STABLE], 2.0 [STABLE], 3.0] - http://issues.apache.org/cayenne/browse/CAY-597 [CAY-775] AutoAdapter fails to detect Sybase when running with jTDS driver - Type: Bug - Assignee: Andrus Adamchik - Components: [Cayenne Core Library] - Fix Versions: [1.2 [STABLE], 2.0 [STABLE], 3.0] - http://issues.apache.org/cayenne/browse/CAY-775 [CAY-773] MySQL stored procedure support - Type: New Feature - Assignee: Andrus Adamchik - Components: [Cayenne Core Library] - Fix Versions: [3.0] - http://issues.apache.org/cayenne/browse/CAY-773 From [email protected] Wed Apr 11 11:55:21 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99335 invoked from network); 11 Apr 2007 11:55:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Apr 2007 11:55:21 -0000 Received: (qmail 37730 invoked by uid 500); 11 Apr 2007 11:55:27 -0000 Delivered-To: [email protected] Received: (qmail 37711 invoked by uid 500); 11 Apr 2007 11:55:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 37698 invoked by uid 99); 11 Apr 2007 11:55:27 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Apr 2007 04:55:27 -0700 X-ASF-Spam-Status: No, hits=-97.4 required=10.0 tests=ALL_TRUSTED,HTML_MESSAGE,MIME_HTML_ONLY,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Apr 2007 04:55:20 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 057C6714074 for <[email protected]>; Wed, 11 Apr 2007 04:55:00 -0700 (PDT) Message-ID: <12506556.1176292500016.JavaMail.www-data@brutus> Date: Wed, 11 Apr 2007 04:55:00 -0700 (PDT) From: [email protected] To: [email protected] Subject: [CONF] Apache Cayenne Documentation: Documentation (page edited) MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org <html> <head> <base href="http://cwiki.apache.org/confluence" /> <style type="text/css"> <!-- body, p, td, table, tr, .bodytext, .stepfield { font-family: Verdana, arial, sans-serif; font-size: 11px; line-height: 16px; color: #000000; font-weight: normal; } #PageContent { text-align: left; background-color: #fff; padding: 0px; margin: 0px; padding-bottom:20px; } /* ** when this stylesheet is used for the Tiny MCE Wysiwyg editor's edit area, we can't ** use an id=PageContent or class=wiki-content, so we must ** set the body style to that used for PageContent, and p to that used for wiki-content. */ body { margin: 0px; padding: 0px; text-align: center; background-color: #f0f0f0; } @media print { body { background-color: #fff; } } .monospaceInput { font:12px monospace } .wiki-content p, .commentblock p { margin: 16px 0px 16px 0px; padding: 0px; } .wiki-content-preview { padding: 5px; border-left: 1px solid #3c78b5; border-right: 1px solid #3c78b5; } ul, ol { margin-top: 2px; margin-bottom: 2px; padding-top: 0px; padding-bottom: 0px; } pre { padding: 0px; margin-top: 5px; margin-left: 15px; margin-bottom: 5px; margin-right: 5px; text-align: left; } .helpheading { font-weight: bold; background-color: #D0D9BD; border-bottom: 1px solid #3c78b5; padding: 4px 4px 4px 4px; margin: 0px; margin-top: 10px; } .helpcontent { padding: 4px 4px 20px 4px; background-color: #f5f7f1; } .code { border: 1px dashed #3c78b5; font-size: 11px; font-family: Courier; margin: 10px; line-height: 13px; } .focusedComment { background: #ffffce; } .commentBox, .focusedComment { padding: 10px; margin: 5px 0 5px 0; border: 1px #bbb solid; } .codeHeader { background-color: #f0f0f0; border-bottom: 1px dashed #3c78b5; padding: 3px; text-align: center; } .codeContent { text-align: left; background-color: #f0f0f0; padding: 3px; } .preformatted { border: 1px dashed #3c78b5; font-size: 11px; font-family: Courier; margin: 10px; line-height: 13px; } .preformattedHeader { background-color: #f0f0f0; border-bottom: 1px dashed #3c78b5; padding: 3px; text-align: center; } .preformattedContent { background-color: #f0f0f0; padding: 3px; } .panel { border: 1px dashed #3c78b5; margin: 10px; margin-top: 0px; } .panelHeader { background-color: #f0f0f0; border-bottom: 1px dashed #3c78b5; padding: 3px; text-align: center; } .panelContent { background-color: #f0f0f0; padding: 5px; } .anonymousAlert { background-color: #f0f0f0; border: 1px dashed red; font-size: 11px; padding: 10px 5px 10px 5px; margin: 4px; line-height: 13px; } .lockAlert { background-color: #f0f0f0; width: 50%; border: 1px dashed red; font-size: 11px; padding: 10px 5px 10px 5px; margin: 4px; line-height: 13px; } .code-keyword { color: #000091; background-color: inherit; } .code-object { color: #910091; background-color: inherit; } .code-quote { color: #009100; background-color: inherit; } .code-comment { color: #808080; background-color: inherit; } .code-xml .code-keyword { color: inherit; font-weight: bold; } .code-tag { color: #000091; background-color: inherit; } .breadcrumbs { background-color: #f0f0f0; border-color: #3c78b5; border-width: 1px 0px 1px 0px; border-style: solid; font-size: 11px; padding: 3px 0px 3px 0px; } .navmenu { border: 1px solid #ccc; } .menuheading { font-weight: bold; background-color: #f0f0f0; border-bottom: 1px solid #3c78b5; padding: 4px 4px 2px 4px; } .menuitems { padding: 4px 4px 20px 4px; } .rightpanel { border-left: 1px solid #ccc; border-bottom: 1px solid #ccc; } #helpheading { text-align: left; font-weight: bold; background-color: #D0D9BD; border-bottom: 1px solid #3c78b5; padding: 4px 4px 4px 4px; margin: 0px; } #helpcontent { padding: 4px 4px 4px 4px; background-color: #f5f7f1; } .helptab-unselected { font-weight: bold; padding: 5px; background-color: #f5f7f1; } .helptab-selected { font-weight: bold; background-color: #D0D9BD; padding: 5px; } .helptabs { margin: 0px; background-color: #f5f7f1; padding: 5px; } .infopanel-heading { font-weight: bold; padding: 4px 0px 2px 0px; } .pagebody { } .pageheader { padding: 5px 5px 5px 0px; border-bottom: 1px solid #3c78b5; } .pagetitle { font-size: 22px; font-weight: bold; font-family: Arial, sans-serif; color: #003366; } .newpagetitle { color: #ccc !important; } .steptitle { font-size: 18px; font-weight: bold; font-family: Arial, sans-serif; color: #003366; margin-bottom: 7px; } .substeptitle { font-size: 12px; font-weight: bold; font-family: Arial, sans-serif; color: #003366; margin: 2px 4px 4px 4px; padding: 2px 4px 1px 4px; } .stepdesc { font-family: Verdana, arial, sans-serif; font-size: 11px; line-height: 16px; font-weight: normal; color: #666666; margin-top: 7px; margin-bottom: 7px; } .steplabel { font-weight: bold; margin-right: 4px; color: black; float: left; width: 15%; text-align: right; } .stepfield { background: #f0f0f0; padding: 5px; } .submitButtons{ margin-top:5px; text-align:right; } .formtitle { font-size: 12px; font-weight: bold; font-family: Arial, sans-serif; color: #003366; } .sectionbottom { border-bottom: 1px solid #3c78b5; } .topRow { border-top: 2px solid #3c78b5; } .tabletitle { font-size: 14px; font-weight: bold; font-family: Arial, sans-serif; padding: 3px 0px 2px 0px; margin: 8px 4px 2px 0px; color: #003366; border-bottom: 2px solid #3c78b5; } .pagesubheading { color: #666666; font-size: 10px; padding: 0px 0px 5px 0px; } HR { color: 3c78b5; height: 1; } A:link, A:visited, A:active, A:hover { color: #003366; } h1 A:link, h1 A:visited, h1 A:active { text-decoration: none; } h1 A:hover { border-bottom: 1px dotted #003366; } .wiki-content > :first-child, .commentblock > :first-child { margin-top: 3px; } .logocell { padding: 10px; } input { font-family: verdana, geneva, arial, sans-serif; font-size: 11px; color: #000000; } textarea, textarea.editor { font-family: verdana, geneva, arial, sans-serif; font-size: 11px; color: #333333; } /* use logoSpaceLink instead. .spacenametitle { font: 21px/31px Impact, Arial, Helvetica; font-weight: 100; color: #999999; margin: 0px; } .spacenametitle img { margin: 0 0 -4px 0; } .spacenametitle a { text-decoration: none; color: #999999; } .spacenametitle a:visited { text-decoration: none; color: #999999; }*/ .spacenametitle-printable { font: 20px/25px Impact, Arial, Helvetica; font-weight: 100; color: #999999; margin: 0px; } .spacenametitle-printable a { text-decoration: none; color: #999999; } .spacenametitle-printable a:visited { text-decoration: none; color: #999999; } .blogDate { font-weight: bold; text-decoration: none; color: black; } .blogSurtitle { background: #f0f0f0; border: 1px solid #ddd; padding: 3px; margin: 1px 1px 10px 1px; } .blogHeading { font-size: 20px; line-height: normal; font-weight: bold; padding: 0px; margin: 0px; } .blogHeading a { text-decoration: none; color: black; } .endsection { align: right; color: #666666; margin-top: 10px; } .endsectionleftnav { align: right; color: #666666; margin-top: 10px; } h1 { font-size: 24px; line-height: normal; font-weight: bold; background-color: #f0f0f0; color: #003366; border-bottom: 1px solid #3c78b5; padding: 2px; margin: 36px 0px 4px 0px; } h2 { font-size: 18px; line-height: normal; font-weight: bold; background-color: #f0f0f0; border-bottom: 1px solid #3c78b5; padding: 2px; margin: 27px 0px 4px 0px; } h3 { font-size: 14px; line-height: normal; font-weight: bold; background-color: #f0f0f0; padding: 2px; margin: 21px 0px 4px 0px; } h4 { font-size: 12px; line-height: normal; font-weight: bold; background-color: #f0f0f0; padding: 2px; margin: 18px 0px 4px 0px; } h4.search { font-size: 12px; line-height: normal; font-weight: normal; background-color: #f0f0f0; padding: 4px; margin: 18px 0px 4px 0px; } h5 { font-size: 10px; line-height: normal; font-weight: bold; background-color: #f0f0f0; padding: 2px; margin: 14px 0px 4px 0px; } h6 { font-size: 8px; line-height: normal; font-weight: bold; background-color: #f0f0f0; padding: 2px; margin: 14px 0px 4px 0px; } .smallfont { font-size: 10px; } .descfont { font-size: 10px; color: #666666; } .smallerfont { font-size: 9px; } .smalltext { color: #666666; font-size: 10px; } .smalltext a { color: #666666; } .smalltext-blue { color: #3c78b5; font-size: 10px; } .surtitle { margin-left: 1px; margin-bottom: 5px; font-size: 14px; color: #666666; } /* css hack found here: http://www.fo3nix.pwp.blueyonder.co.uk/tutorials/css/hacks/ */ .navItemOver { font-size: 10px; font-weight: bold; color: #ffffff; background-color: #003366; cursor: hand; voice-family: '\'}\''; voice-family:inherit; cursor: pointer;} .navItemOver a { color: #ffffff; background-color:#003366; text-decoration: none; } .navItemOver a:visited { color: #ffffff; background-color:#003366; text-decoration: none; } .navItemOver a:hover { color: #ffffff; background-color:#003366; text-decoration: none; } .navItem { font-size: 10px; font-weight: bold; color: #ffffff; background-color: #3c78b5; } .navItem a { color: #ffffff; text-decoration: none; } .navItem a:hover { color: #ffffff; text-decoration: none; } .navItem a:visited { color: #ffffff; text-decoration: none; } div.padded { padding: 4px; } div.thickPadded { padding: 10px; } h3.macrolibrariestitle { margin: 0px 0px 0px 0px; } div.centered { text-align: center; margin: 10px; } div.centered table {margin: 0px auto; text-align: left; } .tableview table { margin: 0; } .tableview th { text-align: left; color: #003366; font-size: 12px; padding: 5px 0px 0px 5px; border-bottom: 2px solid #3c78b5; } .tableview td { text-align: left; border-color: #ccc; border-width: 0px 0px 1px 0px; border-style: solid; margin: 0; padding: 4px 10px 4px 5px; } .grid { margin: 2px 0px 5px 0px; border-collapse: collapse; } .grid th { border: 1px solid #ccc; padding: 2px 4px 2px 4px; background: #f0f0f0; text-align: center; } .grid td { border: 1px solid #ccc; padding: 3px 4px 3px 4px; } .gridHover { background-color: #f9f9f9; } td.infocell { background-color: #f0f0f0; } .label { font-weight: bold; color: #003366; } label { font-weight: bold; color: #003366; } .error { background-color: #fcc; } .errorBox { background-color: #fcc; border: 1px solid #c00; padding: 5px; margin: 5px; } .errorMessage { color: #c00; } .success { background-color: #dfd; } .successBox { background-color: #dfd; border: 1px solid #090; padding: 5px; margin-top:5px; margin-bottom:5px; } blockquote { padding-left: 10px; padding-right: 10px; margin-left: 5px; margin-right: 0px; border-left: 1px solid #3c78b5; } table.confluenceTable { margin: 5px; border-collapse: collapse; } /* Added as a temporary fix for CONF-4223. The table elements appear to be inheriting the border: none attribute from the sectionMacro class */ table.confluenceTable td.confluenceTd { border-width: 1px; border-style: solid; border-color: #ccc; padding: 3px 4px 3px 4px; } /* Added as a temporary fix for CONF-4223. The table elements appear to be inheriting the border: none attribute from the sectionMacro class */ table.confluenceTable th.confluenceTh { border-width: 1px; border-style: solid; border-color: #ccc; padding: 3px 4px 3px 4px; background-color: #f0f0f0; text-align: center; } td.confluenceTd { border-width: 1px; border-style: solid; border-color: #ccc; padding: 3px 4px 3px 4px; } th.confluenceTh { border-width: 1px; border-style: solid; border-color: #ccc; padding: 3px 4px 3px 4px; background-color: #f0f0f0; text-align: center; } DIV.small { font-size: 9px; } H1.pagename { margin-top: 0px; } IMG.inline {} .loginform { margin: 5px; border: 1px solid #ccc; } /* The text how the "This is a preview" comment should be shown. */ .previewnote { text-align: center; font-size: 11px; color: red; } /* How the preview content should be shown */ .previewcontent { background: #E0E0E0; } /* How the system messages should be shown (DisplayMessage.jsp) */ .messagecontent { background: #E0E0E0; } /* How the "This page has been modified..." -comment should be shown. */ .conflictnote { } .createlink { color: maroon; } a.createlink { color: maroon; } .templateparameter { font-size: 9px; color: darkblue; } .diffadded { background: #ddffdd; padding: 1px 1px 1px 4px; border-left: 4px solid darkgreen; } .diffdeleted { color: #999; background: #ffdddd; padding: 1px 1px 1px 4px; border-left: 4px solid darkred; } .diffnochange { padding: 1px 1px 1px 4px; border-left: 4px solid lightgrey; } .differror { background: brown; } .diff { font-family: lucida console, courier new, fixed-width; font-size: 12px; line-height: 14px; } .diffaddedchars { background-color:#99ff99; font-weight:bolder; } .diffremovedchars { background-color:#ff9999; text-decoration: line-through; font-weight:bolder; } .greybackground { background: #f0f0f0 } .greybox { border: 1px solid #ddd; padding: 3px; margin: 1px 1px 10px 1px; } .borderedGreyBox { border: 1px solid #cccccc; background-color: #f0f0f0; padding: 10px; } .greyboxfilled { border: 1px solid #ddd; background: #f0f0f0; padding: 3px; margin: 1px 1px 10px 1px; } .navBackgroundBox { padding: 5px 5px 5px 5px; font-size: 22px; font-weight: bold; font-family: Arial, sans-serif; color: white; background: #3c78b5; text-decoration: none; } .previewBoxTop { background-color: #f0f0f0; border-width: 1px 1px 0px 1px; border-style: solid; border-color: #3c78b5; padding: 5px; margin: 5px 0px 0px 0px; text-align: center; } .previewContent { background-color: #fff; border-color: #3c78b5; border-width: 0px 1px 0px 1px; border-style: solid; padding: 10px; margin: 0px; } .previewBoxBottom { background-color: #f0f0f0; border-width: 0px 1px 1px 1px; border-style: solid; border-color: #3c78b5; padding: 5px; margin: 0px 0px 5px 0px; text-align: center; } .functionbox { background-color: #f0f0f0; border: 1px solid #3c78b5; padding: 3px; margin: 1px 1px 10px 1px; } .functionbox-greyborder { background-color: #f0f0f0; border: 1px solid #ddd; padding: 3px; margin: 1px 1px 10px 1px; } .search-highlight { background-color: #ffffcc; } /* normal (white) background */ .rowNormal { background-color: #ffffff; } /* alternate (pale yellow) background */ .rowAlternate { background-color: #f7f7f7; } /* used in the list attachments table */ .rowAlternateNoBottomColor { background-color: #f7f7f7; } .rowAlternateNoBottomNoColor { } .rowAlternateNoBottomColor td { border-bottom: 0px; } .rowAlternateNoBottomNoColor td { border-bottom: 0px; } /* row highlight (grey) background */ .rowHighlight { background-color: #f0f0f0; } TD.greenbar {FONT-SIZE: 2px; BACKGROUND: #00df00; BORDER: 1px solid #9c9c9c; PADDING: 0px; } TD.redbar {FONT-SIZE: 2px; BACKGROUND: #df0000; BORDER: 1px solid #9c9c9c; PADDING: 0px; } TD.darkredbar {FONT-SIZE: 2px; BACKGROUND: #af0000; BORDER: 1px solid #9c9c9c; PADDING: 0px; } TR.testpassed {FONT-SIZE: 2px; BACKGROUND: #ddffdd; PADDING: 0px; } TR.testfailed {FONT-SIZE: 2px; BACKGROUND: #ffdddd; PADDING: 0px; } .toolbar { margin: 0px; border-collapse: collapse; } .toolbar td { border: 1px solid #ccc; padding: 2px 2px 2px 2px; color: #ccc; } td.noformatting { border-width: 0px; border-style: none; text-align: center; padding: 0px; } .commentblock { margin: 12px 0 12px 0; } /* * Divs displaying the license information, if necessary. */ .license-eval, .license-none, .license-nonprofit { border-top: 1px solid #bbbbbb; text-align: center; font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; } .license-eval, .license-none { background-color: #ffcccc; } .license-eval b, .license-none b { color: #990000 } .license-nonprofit { background-color: #ffffff; } /* * The shadow at the bottom of the page between the main content and the * "powered by" section. */ .bottomshadow { height: 12px; background-image: url("$req.contextPath/images/border/border_bottom.gif"); background-repeat: repeat-x; } /* * Styling of the operations box */ .navmenu .operations li, .navmenu .operations ul { list-style: none; margin-left: 0; padding-left: 0; } .navmenu .operations ul { margin-bottom: 9px; } .navmenu .label { font-weight: inherit; } /* * Styling of ops as a toolbar */ .toolbar div { display: none; } .toolbar .label { display: none; } .toolbar .operations { display: block; } .toolbar .operations ul { display: inline; list-style: none; margin-left: 10px; padding-left: 0; } .toolbar .operations li { list-style: none; display: inline; } /* list page navigational tabs */ #foldertab { padding: 3px 0px 3px 8px; margin-left: 0; border-bottom: 1px solid #3c78b5; font: bold 11px Verdana, sans-serif; } #foldertab li { list-style: none; margin: 0; display: inline; } #foldertab li a { padding: 3px 0.5em; margin-left: 3px; border: 1px solid #3c78b5; border-bottom: none; background: #3c78b5; text-decoration: none; } #foldertab li a:link { color: #ffffff; } #foldertab li a:visited { color: #ffffff; } #foldertab li a:hover { color: #ffffff; background: #003366; border-color: #003366; } #foldertab li a.current { background: white; border-bottom: 1px solid white; color: black; } #foldertab li a.current:link { color: black; } #foldertab li a.current:visited { color: black; } #foldertab li a.current:hover { background: white; border-bottom: 1px solid white; color: black; } /* alphabet list */ ul#squaretab { margin-left: 0; padding-left: 0; white-space: nowrap; font: bold 8px Verdana, sans-serif; } #squaretab li { display: inline; list-style-type: none; } #squaretab a { padding: 2px 6px; border: 1px solid #3c78b5; } #squaretab a:link, #squaretab a:visited { color: #fff; background-color: #3c78b5; text-decoration: none; } #squaretab a:hover { color: #ffffff; background-color: #003366; border-color: #003366; text-decoration: none; } #squaretab li a#current { background: white; color: black; } .blogcalendar * { font-family:verdana, arial, sans-serif; font-size:x-small; font-weight:normal; line-height:140%; padding:2px; } table.blogcalendar { border: 1px solid #3c78b5; } .blogcalendar th.calendarhead, a.calendarhead { font-size:x-small; font-weight:bold; padding:2px; text-transform:uppercase; background-color: #3c78b5; color: #ffffff; letter-spacing: .3em; text-transform: uppercase; } .calendarhead:visited {color: white;} .calendarhead:active {color: white;} .calendarhead:hover {color: white;} .blogcalendar th { font-size:x-small; font-weight:bold; padding:2px; background-color:#f0f0f0; } .blogcalendar td { font-size:x-small; font-weight:normal; } .searchGroup { padding: 0 0 10px 0; background: #f0f0f0; } .searchGroupHeading { font-size: 10px; font-weight: bold; color: #ffffff; background-color: #3c78b5; padding: 2px 4px 1px 4px; } .searchItem { padding: 1px 4px 1px 4px; } .searchItemSelected { padding: 1px 4px 1px 4px; font-weight: bold; background: #ddd; } /* permissions page styles */ .permissionHeading { border-bottom: #bbb; border-width: 0 0 1px 0; border-style: solid; font-size: 16px; text-align: left; } .permissionTab { border-width: 0 0 0 1px; border-style: solid; background: #3c78b5; color: #ffffff; font-size: 10px; } .permissionSuperTab { border-width: 0 0 0 1px; border-style: solid; background: #003366; color: #ffffff; } .permissionCell { border-left: #bbb; border-width: 0 0 0 1px; border-style: solid; } /* warning panel */ .warningPanel { background: #FFFFCE; border:#F0C000 1px solid; padding: 8px; margin: 10px; } /* alert panel */ .alertPanel { background: #FFCCCC; border:#C00 1px solid; padding: 8px; margin: 10px; } /* info panel */ .infoPanel { background: #D8E4F1; border:#3c78b5 1px solid; padding: 8px; margin: 10px; } /* side menu highlighting (e.g. space content screen) */ .optionPadded { padding: 2px; } .optionSelected { background-color: #ffffcc; padding: 2px; border: 1px solid #ddd; margin: -1px; } .optionSelected a { font-weight: bold; text-decoration: none; color: black; } /* information macros */ .noteMacro { border-style: solid; border-width: 1px; border-color: #F0C000; background-color: #FFFFCE; text-align:left; margin-top: 5px; margin-bottom: 5px} .warningMacro { border-style: solid; border-width: 1px; border-color: #c00; background-color: #fcc; text-align:left; margin-top: 5px; margin-bottom: 5px} .infoMacro { border-style: solid; border-width: 1px; border-color: #3c78b5; background-color: #D8E4F1; text-align:left; margin-top: 5px; margin-bottom: 5px} .tipMacro { border-style: solid; border-width: 1px; border-color: #090; background-color: #dfd; text-align:left; margin-top: 5px; margin-bottom: 5px} .informationMacroPadding { padding: 5px 0 0 5px; } table.infoMacro td, table.warningMacro td, table.tipMacro td, table.noteMacro td, table.sectionMacro td { border: none; } table.sectionMacroWithBorder td.columnMacro { border-style: dashed; border-width: 1px; border-color: #cccccc;} .pagecontent { padding: 10px; text-align: left; } /* styles for links in the top bar */ .topBarDiv a:link {color: #ffffff;} .topBarDiv a:visited {color: #ffffff;} .topBarDiv a:active {color: #ffffff;} .topBarDiv a:hover {color: #ffffff;} .topBarDiv {color: #ffffff;} .topBar { background-color: #003366; } /* styles for extended operations */ .greyLinks a:link {color: #666666; text-decoration:underline;} .greyLinks a:visited {color: #666666; text-decoration:underline;} .greyLinks a:active {color: #666666; text-decoration:underline;} .greyLinks a:hover {color: #666666; text-decoration:underline;} .greyLinks {color: #666666; display:block; padding: 10px} .logoSpaceLink {color: #999999; text-decoration: none} .logoSpaceLink a:link {color: #999999; text-decoration: none} .logoSpaceLink a:visited {color: #999999; text-decoration: none} .logoSpaceLink a:active {color: #999999; text-decoration: none} .logoSpaceLink a:hover {color: #003366; text-decoration: none} /* basic panel (basicpanel.vmd) style */ .basicPanelContainer {border: 1px solid #3c78b5; margin-top: 2px; margin-bottom: 8px; width: 100%} .basicPanelTitle {padding: 5px; margin: 0px; background-color: #f0f0f0; color: black; font-weight: bold;} .basicPanelBody {padding: 5px; margin: 0px} .separatorLinks a:link {color: white} .separatorLinks a:visited {color: white} .separatorLinks a:active {color: white} .greynavbar {background-color: #f0f0f0; border-top: 1px solid #3c78b5; margin-top: 2px} div.headerField { float: left; width: auto; height: 100%; } .headerFloat { margin-left: auto; width: 50%; } .headerFloatLeft { float: left; margin-right: 20px; margin-bottom: 10px; } #headerRow { padding: 10px; } div.license-personal { background-color: #003366; color: #ffffff; } div.license-personal a { color: #ffffff; } .greyFormBox { border: 1px solid #cccccc; padding: 5px; } /* IE automatically adds a margin before and after form tags. Use this style to remove that */ .marginlessForm { margin: 0px; } .openPageHighlight { background-color: #ffffcc; padding: 2px; border: 1px solid #ddd; } .editPageInsertLinks, .editPageInsertLinks a { color: #666666; font-weight: bold; font-size: 10px; } /* Style for label heatmap. */ .top10 a { font-weight: bold; font-size: 2em; color: #003366; } .top25 a { font-weight: bold; font-size: 1.6em; color: #003366; } .top50 a { font-size: 1.4em; color: #003366; } .top100 a { font-size: 1.2em; color: #003366; } .heatmap { list-style:none; width: 95%; margin: 0px auto; } .heatmap a { text-decoration:none; } .heatmap a:hover { text-decoration:underline; } .heatmap li { display: inline; } .minitab { padding: 3px 0px 3px 8px; margin-left: 0; margin-top: 1px; margin-bottom: 0px; border-bottom: 1px solid #3c78b5; font: bold 9px Verdana, sans-serif; text-decoration: none; float:none; } .selectedminitab { padding: 3px 0.5em; margin-left: 3px; margin-top: 1px; border: 1px solid #3c78b5; background: white; border-bottom: 1px solid white; color: #000000; text-decoration: none; } .unselectedminitab { padding: 3px 0.5em; margin-left: 3px; margin-top: 1px; border: 1px solid #3c78b5; border-bottom: none; background: #3c78b5; color: #ffffff; text-decoration: none; } a.unselectedminitab:hover { color: #ffffff; background: #003366; border-color: #003366; } a.unselectedminitab:link { color: white; } a.unselectedminitab:visited { color: white; } a.selectedminitab:link { color: black; } a.selectedminitab:visited { color: black; } .linkerror { background-color: #fcc;} a.labelOperationLink:link {text-decoration: underline} a.labelOperationLink:active {text-decoration: underline} a.labelOperationLink:visited {text-decoration: underline} a.labelOperationLink:hover {text-decoration: underline} a.newLabel:link {background-color: #ddffdd} a.newLabel:active {background-color: #ddffdd} a.newLabel:visited {background-color: #ddffdd} a.newLabel:hover {background-color: #ddffdd} ul.square {list-style-type: square} .inline-control-link { background: #ffc; font-size: 9px; color: #666; padding: 2px; text-transform: uppercase; text-decoration: none; } .inline-control-link a:link {text-decoration: none} .inline-control-link a:active {text-decoration: none} .inline-control-link a:visited {text-decoration: none} .inline-control-link a:hover {text-decoration: none} .inline-control-link { background: #ffc; font-size: 9px; color: #666; padding: 2px; text-transform: uppercase; text-decoration: none; cursor: pointer; } div.auto_complete { width: 350px; background: #fff; } div.auto_complete ul { border: 1px solid #888; margin: 0; padding: 0; width: 100%; list-style-type: none; } div.auto_complete ul li { margin: 0; padding: 3px; } div.auto_complete ul li.selected { background-color: #ffb; } div.auto_complete ul strong.highlight { color: #800; margin: 0; padding: 0; } /******* Edit Page Styles *******/ .toogleFormDiv{ border:1px solid #A7A6AA; background-color:white; padding:5px; margin-top: 5px; } .toogleInfoDiv{ border:1px solid #A7A6AA; background-color:white; display:none; padding:5px; margin-top: 10px; } .inputSection{ margin-bottom:20px; } #editBox{ border:1px solid lightgray; background-color:#F0F0F0; } /******* Left Navigation Theme Styles ********/ .leftnav li a { text-decoration:none; color:white; margin:0px; display:block; padding:2px; padding-left:5px; background-color: #3c78b5; border-top:1px solid #3c78b5; } .leftnav li a:active {color:white;} .leftnav li a:visited {color:white;} .leftnav li a:hover {background-color: #003366; color:white;} /* Added by Shaun during i18n */ .replaced { background-color: #33CC66; } .topPadding { margin-top: 20px; } /* new form style */ .form-block { padding: 6px; } .form-error-block { padding: 6px; background: #fcc; border-top: #f0f0f0 1px solid; border-bottom: #f0f0f0 1px solid; margin-bottom: 6px; padding: 0 12px 0 12px; } .form-element-large { font-size: 16px; font-weight: bold; font-family: Arial, sans-serif; color: #003366; } .form-element-small { font-size: 12px; font-weight: bold; font-family: Arial, sans-serif; color: #003366; } .form-header { background: lightyellow; border-top: #f0f0f0 1px solid; border-bottom: #f0f0f0 1px solid; margin-bottom: 6px; padding: 0 12px 0 12px; } .form-header p, .form-block p, .form-error-block p { line-height: normal; margin: 12px 0 12px 0; } .form-example { color: #888; font-size: 11px; } .form-divider { border-bottom: #ccc 1px solid; margin-bottom: 6px; } .form-buttons { margin-top: 6px; border-top: #ccc 1px solid; border-bottom: #ccc 1px solid; background: #f0f0f0; padding: 10px; text-align: center; } .form-buttons input { width: 100px; } .form-block .error { padding: 6px; margin-bottom: 6px; } --> </style> </head> <body> <div id="PageContent"> <table class="pagecontent" border="0" cellpadding="0" cellspacing="0" width="100%"><tr> <td valign="top" class="pagebody"> <div class="pageheader"> <span class="pagetitle"> Page Edited : <a href="http://cwiki.apache.org/confluence/display/CAYDOC">CAYDOC</a> : <a href="http://cwiki.apache.org/confluence/display/CAYDOC/Documentation">Documentation</a> </span> </div> <p> <a href="http://cwiki.apache.org/confluence/display/CAYDOC/Documentation">Documentation</a> has been edited by <a href="http://cwiki.apache.org/confluence/display/~andrus">Andrus Adamchik</a> <span class="smallfont">(Apr 11, 2007)</span>. </p> <p> <a href="http://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=10573&originalVersion=9&revisedVersion=10">(View changes)</a> </p> <span class="label">Content:</span><br/> <div class="greybox wiki-content"><h2><a name="Documentation-CayenneDocumentationv.3.0%28UNSTABLE%29"></a>Cayenne Documentation - v. 3.0 (UNSTABLE)</h2> <ul> <li><a href="/confluence/display/CAYDOC/User+Guide" title="User Guide">User Guide</a>: General information on how to get started with Cayenne, main Cayenne concepts, API details and deployment procedures.</li> <li><a href="/confluence/display/CAYDOC/Modeler+Guide" title="Modeler Guide">Modeler Guide</a>: Object-relational mapping with CayenneModeler GUI tool.</li> <li><a href="/confluence/display/CAYDOC/Remote+Object+Persistence+Guide" title="Remote Object Persistence Guide">Remote Object Persistence Guide</a>: Writing distributed Java applications with Cayenne remote object persistence mechanism.</li> <li><a href="/confluence/display/CAYDOC/JPA+Guide" title="JPA Guide">JPA Guide</a>: Using EJB3 Java Persistence API with Cayenne.</li> </ul> <h2><a name="Documentation-ExternalDocumentation"></a>External Documentation</h2> <p>This section lists documentation and reference materials that are maintained outside of Cayenne project.</p> <ul> <li><span class="nobr"><a href="http://sourceforge.net/projects/tapcaycrud" title="Visit page outside Confluence" rel="nofollow">TapCayCrud<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> - a Tapestry/Cayenne/Maven2 tutorial.</li> </ul> </div> </td></tr></table></div> <p> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td height="12" background="http://cwiki.apache.org/confluence/images/border/border_bottom.gif"><img src="http://cwiki.apache.org/confluence/images/border/spacer.gif" width="1" height="1" border="0"/></td> </tr> </table> <div class="smalltext"> Powered by <a href="http://www.atlassian.com/software/confluence/default.jsp?clicked=footer" class="smalltext">Atlassian Confluence</a> (Version: 2.2.9 Build:#527 Sep 07, 2006) - <a href="http://jira.atlassian.com/secure/BrowseProject.jspa?id=10470" class="smalltext">Bug/feature request</a><br/> <br> <a href="http://cwiki.apache.org/confluence/users/viewnotifications.action">Unsubscribe or edit your notifications preferences</a> </div> </body> </html> From [email protected] Thu Apr 12 04:55:22 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52268 invoked from network); 12 Apr 2007 04:55:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Apr 2007 04:55:22 -0000 Received: (qmail 42065 invoked by uid 500); 12 Apr 2007 04:55:28 -0000 Delivered-To: [email protected] Received: (qmail 42042 invoked by uid 500); 12 Apr 2007 04:55:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 42033 invoked by uid 99); 12 Apr 2007 04:55:28 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Apr 2007 21:55:28 -0700 X-ASF-Spam-Status: No, hits=-97.4 required=10.0 tests=ALL_TRUSTED,HTML_MESSAGE,MIME_HTML_ONLY,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Apr 2007 21:55:21 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 0CF5671406F for <[email protected]>; Wed, 11 Apr 2007 21:55:00 -0700 (PDT) Message-ID: <3762177.1176353700016.JavaMail.www-data@brutus> Date: Wed, 11 Apr 2007 21:55:00 -0700 (PDT) From: [email protected] To: [email protected] Subject: [CONF] Apache Cayenne Website: Documentation (page edited) MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org <html> <head> <base href="http://cwiki.apache.org/confluence" /> <style type="text/css"> <!-- body, p, td, table, tr, .bodytext, .stepfield { font-family: Verdana, arial, sans-serif; font-size: 11px; line-height: 16px; color: #000000; font-weight: normal; } #PageContent { text-align: left; background-color: #fff; padding: 0px; margin: 0px; padding-bottom:20px; } /* ** when this stylesheet is used for the Tiny MCE Wysiwyg editor's edit area, we can't ** use an id=PageContent or class=wiki-content, so we must ** set the body style to that used for PageContent, and p to that used for wiki-content. */ body { margin: 0px; padding: 0px; text-align: center; background-color: #f0f0f0; } @media print { body { background-color: #fff; } } .monospaceInput { font:12px monospace } .wiki-content p, .commentblock p { margin: 16px 0px 16px 0px; padding: 0px; } .wiki-content-preview { padding: 5px; border-left: 1px solid #3c78b5; border-right: 1px solid #3c78b5; } ul, ol { margin-top: 2px; margin-bottom: 2px; padding-top: 0px; padding-bottom: 0px; } pre { padding: 0px; margin-top: 5px; margin-left: 15px; margin-bottom: 5px; margin-right: 5px; text-align: left; } .helpheading { font-weight: bold; background-color: #D0D9BD; border-bottom: 1px solid #3c78b5; padding: 4px 4px 4px 4px; margin: 0px; margin-top: 10px; } .helpcontent { padding: 4px 4px 20px 4px; background-color: #f5f7f1; } .code { border: 1px dashed #3c78b5; font-size: 11px; font-family: Courier; margin: 10px; line-height: 13px; } .focusedComment { background: #ffffce; } .commentBox, .focusedComment { padding: 10px; margin: 5px 0 5px 0; border: 1px #bbb solid; } .codeHeader { background-color: #f0f0f0; border-bottom: 1px dashed #3c78b5; padding: 3px; text-align: center; } .codeContent { text-align: left; background-color: #f0f0f0; padding: 3px; } .preformatted { border: 1px dashed #3c78b5; font-size: 11px; font-family: Courier; margin: 10px; line-height: 13px; } .preformattedHeader { background-color: #f0f0f0; border-bottom: 1px dashed #3c78b5; padding: 3px; text-align: center; } .preformattedContent { background-color: #f0f0f0; padding: 3px; } .panel { border: 1px dashed #3c78b5; margin: 10px; margin-top: 0px; } .panelHeader { background-color: #f0f0f0; border-bottom: 1px dashed #3c78b5; padding: 3px; text-align: center; } .panelContent { background-color: #f0f0f0; padding: 5px; } .anonymousAlert { background-color: #f0f0f0; border: 1px dashed red; font-size: 11px; padding: 10px 5px 10px 5px; margin: 4px; line-height: 13px; } .lockAlert { background-color: #f0f0f0; width: 50%; border: 1px dashed red; font-size: 11px; padding: 10px 5px 10px 5px; margin: 4px; line-height: 13px; } .code-keyword { color: #000091; background-color: inherit; } .code-object { color: #910091; background-color: inherit; } .code-quote { color: #009100; background-color: inherit; } .code-comment { color: #808080; background-color: inherit; } .code-xml .code-keyword { color: inherit; font-weight: bold; } .code-tag { color: #000091; background-color: inherit; } .breadcrumbs { background-color: #f0f0f0; border-color: #3c78b5; border-width: 1px 0px 1px 0px; border-style: solid; font-size: 11px; padding: 3px 0px 3px 0px; } .navmenu { border: 1px solid #ccc; } .menuheading { font-weight: bold; background-color: #f0f0f0; border-bottom: 1px solid #3c78b5; padding: 4px 4px 2px 4px; } .menuitems { padding: 4px 4px 20px 4px; } .rightpanel { border-left: 1px solid #ccc; border-bottom: 1px solid #ccc; } #helpheading { text-align: left; font-weight: bold; background-color: #D0D9BD; border-bottom: 1px solid #3c78b5; padding: 4px 4px 4px 4px; margin: 0px; } #helpcontent { padding: 4px 4px 4px 4px; background-color: #f5f7f1; } .helptab-unselected { font-weight: bold; padding: 5px; background-color: #f5f7f1; } .helptab-selected { font-weight: bold; background-color: #D0D9BD; padding: 5px; } .helptabs { margin: 0px; background-color: #f5f7f1; padding: 5px; } .infopanel-heading { font-weight: bold; padding: 4px 0px 2px 0px; } .pagebody { } .pageheader { padding: 5px 5px 5px 0px; border-bottom: 1px solid #3c78b5; } .pagetitle { font-size: 22px; font-weight: bold; font-family: Arial, sans-serif; color: #003366; } .newpagetitle { color: #ccc !important; } .steptitle { font-size: 18px; font-weight: bold; font-family: Arial, sans-serif; color: #003366; margin-bottom: 7px; } .substeptitle { font-size: 12px; font-weight: bold; font-family: Arial, sans-serif; color: #003366; margin: 2px 4px 4px 4px; padding: 2px 4px 1px 4px; } .stepdesc { font-family: Verdana, arial, sans-serif; font-size: 11px; line-height: 16px; font-weight: normal; color: #666666; margin-top: 7px; margin-bottom: 7px; } .steplabel { font-weight: bold; margin-right: 4px; color: black; float: left; width: 15%; text-align: right; } .stepfield { background: #f0f0f0; padding: 5px; } .submitButtons{ margin-top:5px; text-align:right; } .formtitle { font-size: 12px; font-weight: bold; font-family: Arial, sans-serif; color: #003366; } .sectionbottom { border-bottom: 1px solid #3c78b5; } .topRow { border-top: 2px solid #3c78b5; } .tabletitle { font-size: 14px; font-weight: bold; font-family: Arial, sans-serif; padding: 3px 0px 2px 0px; margin: 8px 4px 2px 0px; color: #003366; border-bottom: 2px solid #3c78b5; } .pagesubheading { color: #666666; font-size: 10px; padding: 0px 0px 5px 0px; } HR { color: 3c78b5; height: 1; } A:link, A:visited, A:active, A:hover { color: #003366; } h1 A:link, h1 A:visited, h1 A:active { text-decoration: none; } h1 A:hover { border-bottom: 1px dotted #003366; } .wiki-content > :first-child, .commentblock > :first-child { margin-top: 3px; } .logocell { padding: 10px; } input { font-family: verdana, geneva, arial, sans-serif; font-size: 11px; color: #000000; } textarea, textarea.editor { font-family: verdana, geneva, arial, sans-serif; font-size: 11px; color: #333333; } /* use logoSpaceLink instead. .spacenametitle { font: 21px/31px Impact, Arial, Helvetica; font-weight: 100; color: #999999; margin: 0px; } .spacenametitle img { margin: 0 0 -4px 0; } .spacenametitle a { text-decoration: none; color: #999999; } .spacenametitle a:visited { text-decoration: none; color: #999999; }*/ .spacenametitle-printable { font: 20px/25px Impact, Arial, Helvetica; font-weight: 100; color: #999999; margin: 0px; } .spacenametitle-printable a { text-decoration: none; color: #999999; } .spacenametitle-printable a:visited { text-decoration: none; color: #999999; } .blogDate { font-weight: bold; text-decoration: none; color: black; } .blogSurtitle { background: #f0f0f0; border: 1px solid #ddd; padding: 3px; margin: 1px 1px 10px 1px; } .blogHeading { font-size: 20px; line-height: normal; font-weight: bold; padding: 0px; margin: 0px; } .blogHeading a { text-decoration: none; color: black; } .endsection { align: right; color: #666666; margin-top: 10px; } .endsectionleftnav { align: right; color: #666666; margin-top: 10px; } h1 { font-size: 24px; line-height: normal; font-weight: bold; background-color: #f0f0f0; color: #003366; border-bottom: 1px solid #3c78b5; padding: 2px; margin: 36px 0px 4px 0px; } h2 { font-size: 18px; line-height: normal; font-weight: bold; background-color: #f0f0f0; border-bottom: 1px solid #3c78b5; padding: 2px; margin: 27px 0px 4px 0px; } h3 { font-size: 14px; line-height: normal; font-weight: bold; background-color: #f0f0f0; padding: 2px; margin: 21px 0px 4px 0px; } h4 { font-size: 12px; line-height: normal; font-weight: bold; background-color: #f0f0f0; padding: 2px; margin: 18px 0px 4px 0px; } h4.search { font-size: 12px; line-height: normal; font-weight: normal; background-color: #f0f0f0; padding: 4px; margin: 18px 0px 4px 0px; } h5 { font-size: 10px; line-height: normal; font-weight: bold; background-color: #f0f0f0; padding: 2px; margin: 14px 0px 4px 0px; } h6 { font-size: 8px; line-height: normal; font-weight: bold; background-color: #f0f0f0; padding: 2px; margin: 14px 0px 4px 0px; } .smallfont { font-size: 10px; } .descfont { font-size: 10px; color: #666666; } .smallerfont { font-size: 9px; } .smalltext { color: #666666; font-size: 10px; } .smalltext a { color: #666666; } .smalltext-blue { color: #3c78b5; font-size: 10px; } .surtitle { margin-left: 1px; margin-bottom: 5px; font-size: 14px; color: #666666; } /* css hack found here: http://www.fo3nix.pwp.blueyonder.co.uk/tutorials/css/hacks/ */ .navItemOver { font-size: 10px; font-weight: bold; color: #ffffff; background-color: #003366; cursor: hand; voice-family: '\'}\''; voice-family:inherit; cursor: pointer;} .navItemOver a { color: #ffffff; background-color:#003366; text-decoration: none; } .navItemOver a:visited { color: #ffffff; background-color:#003366; text-decoration: none; } .navItemOver a:hover { color: #ffffff; background-color:#003366; text-decoration: none; } .navItem { font-size: 10px; font-weight: bold; color: #ffffff; background-color: #3c78b5; } .navItem a { color: #ffffff; text-decoration: none; } .navItem a:hover { color: #ffffff; text-decoration: none; } .navItem a:visited { color: #ffffff; text-decoration: none; } div.padded { padding: 4px; } div.thickPadded { padding: 10px; } h3.macrolibrariestitle { margin: 0px 0px 0px 0px; } div.centered { text-align: center; margin: 10px; } div.centered table {margin: 0px auto; text-align: left; } .tableview table { margin: 0; } .tableview th { text-align: left; color: #003366; font-size: 12px; padding: 5px 0px 0px 5px; border-bottom: 2px solid #3c78b5; } .tableview td { text-align: left; border-color: #ccc; border-width: 0px 0px 1px 0px; border-style: solid; margin: 0; padding: 4px 10px 4px 5px; } .grid { margin: 2px 0px 5px 0px; border-collapse: collapse; } .grid th { border: 1px solid #ccc; padding: 2px 4px 2px 4px; background: #f0f0f0; text-align: center; } .grid td { border: 1px solid #ccc; padding: 3px 4px 3px 4px; } .gridHover { background-color: #f9f9f9; } td.infocell { background-color: #f0f0f0; } .label { font-weight: bold; color: #003366; } label { font-weight: bold; color: #003366; } .error { background-color: #fcc; } .errorBox { background-color: #fcc; border: 1px solid #c00; padding: 5px; margin: 5px; } .errorMessage { color: #c00; } .success { background-color: #dfd; } .successBox { background-color: #dfd; border: 1px solid #090; padding: 5px; margin-top:5px; margin-bottom:5px; } blockquote { padding-left: 10px; padding-right: 10px; margin-left: 5px; margin-right: 0px; border-left: 1px solid #3c78b5; } table.confluenceTable { margin: 5px; border-collapse: collapse; } /* Added as a temporary fix for CONF-4223. The table elements appear to be inheriting the border: none attribute from the sectionMacro class */ table.confluenceTable td.confluenceTd { border-width: 1px; border-style: solid; border-color: #ccc; padding: 3px 4px 3px 4px; } /* Added as a temporary fix for CONF-4223. The table elements appear to be inheriting the border: none attribute from the sectionMacro class */ table.confluenceTable th.confluenceTh { border-width: 1px; border-style: solid; border-color: #ccc; padding: 3px 4px 3px 4px; background-color: #f0f0f0; text-align: center; } td.confluenceTd { border-width: 1px; border-style: solid; border-color: #ccc; padding: 3px 4px 3px 4px; } th.confluenceTh { border-width: 1px; border-style: solid; border-color: #ccc; padding: 3px 4px 3px 4px; background-color: #f0f0f0; text-align: center; } DIV.small { font-size: 9px; } H1.pagename { margin-top: 0px; } IMG.inline {} .loginform { margin: 5px; border: 1px solid #ccc; } /* The text how the "This is a preview" comment should be shown. */ .previewnote { text-align: center; font-size: 11px; color: red; } /* How the preview content should be shown */ .previewcontent { background: #E0E0E0; } /* How the system messages should be shown (DisplayMessage.jsp) */ .messagecontent { background: #E0E0E0; } /* How the "This page has been modified..." -comment should be shown. */ .conflictnote { } .createlink { color: maroon; } a.createlink { color: maroon; } .templateparameter { font-size: 9px; color: darkblue; } .diffadded { background: #ddffdd; padding: 1px 1px 1px 4px; border-left: 4px solid darkgreen; } .diffdeleted { color: #999; background: #ffdddd; padding: 1px 1px 1px 4px; border-left: 4px solid darkred; } .diffnochange { padding: 1px 1px 1px 4px; border-left: 4px solid lightgrey; } .differror { background: brown; } .diff { font-family: lucida console, courier new, fixed-width; font-size: 12px; line-height: 14px; } .diffaddedchars { background-color:#99ff99; font-weight:bolder; } .diffremovedchars { background-color:#ff9999; text-decoration: line-through; font-weight:bolder; } .greybackground { background: #f0f0f0 } .greybox { border: 1px solid #ddd; padding: 3px; margin: 1px 1px 10px 1px; } .borderedGreyBox { border: 1px solid #cccccc; background-color: #f0f0f0; padding: 10px; } .greyboxfilled { border: 1px solid #ddd; background: #f0f0f0; padding: 3px; margin: 1px 1px 10px 1px; } .navBackgroundBox { padding: 5px 5px 5px 5px; font-size: 22px; font-weight: bold; font-family: Arial, sans-serif; color: white; background: #3c78b5; text-decoration: none; } .previewBoxTop { background-color: #f0f0f0; border-width: 1px 1px 0px 1px; border-style: solid; border-color: #3c78b5; padding: 5px; margin: 5px 0px 0px 0px; text-align: center; } .previewContent { background-color: #fff; border-color: #3c78b5; border-width: 0px 1px 0px 1px; border-style: solid; padding: 10px; margin: 0px; } .previewBoxBottom { background-color: #f0f0f0; border-width: 0px 1px 1px 1px; border-style: solid; border-color: #3c78b5; padding: 5px; margin: 0px 0px 5px 0px; text-align: center; } .functionbox { background-color: #f0f0f0; border: 1px solid #3c78b5; padding: 3px; margin: 1px 1px 10px 1px; } .functionbox-greyborder { background-color: #f0f0f0; border: 1px solid #ddd; padding: 3px; margin: 1px 1px 10px 1px; } .search-highlight { background-color: #ffffcc; } /* normal (white) background */ .rowNormal { background-color: #ffffff; } /* alternate (pale yellow) background */ .rowAlternate { background-color: #f7f7f7; } /* used in the list attachments table */ .rowAlternateNoBottomColor { background-color: #f7f7f7; } .rowAlternateNoBottomNoColor { } .rowAlternateNoBottomColor td { border-bottom: 0px; } .rowAlternateNoBottomNoColor td { border-bottom: 0px; } /* row highlight (grey) background */ .rowHighlight { background-color: #f0f0f0; } TD.greenbar {FONT-SIZE: 2px; BACKGROUND: #00df00; BORDER: 1px solid #9c9c9c; PADDING: 0px; } TD.redbar {FONT-SIZE: 2px; BACKGROUND: #df0000; BORDER: 1px solid #9c9c9c; PADDING: 0px; } TD.darkredbar {FONT-SIZE: 2px; BACKGROUND: #af0000; BORDER: 1px solid #9c9c9c; PADDING: 0px; } TR.testpassed {FONT-SIZE: 2px; BACKGROUND: #ddffdd; PADDING: 0px; } TR.testfailed {FONT-SIZE: 2px; BACKGROUND: #ffdddd; PADDING: 0px; } .toolbar { margin: 0px; border-collapse: collapse; } .toolbar td { border: 1px solid #ccc; padding: 2px 2px 2px 2px; color: #ccc; } td.noformatting { border-width: 0px; border-style: none; text-align: center; padding: 0px; } .commentblock { margin: 12px 0 12px 0; } /* * Divs displaying the license information, if necessary. */ .license-eval, .license-none, .license-nonprofit { border-top: 1px solid #bbbbbb; text-align: center; font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; } .license-eval, .license-none { background-color: #ffcccc; } .license-eval b, .license-none b { color: #990000 } .license-nonprofit { background-color: #ffffff; } /* * The shadow at the bottom of the page between the main content and the * "powered by" section. */ .bottomshadow { height: 12px; background-image: url("$req.contextPath/images/border/border_bottom.gif"); background-repeat: repeat-x; } /* * Styling of the operations box */ .navmenu .operations li, .navmenu .operations ul { list-style: none; margin-left: 0; padding-left: 0; } .navmenu .operations ul { margin-bottom: 9px; } .navmenu .label { font-weight: inherit; } /* * Styling of ops as a toolbar */ .toolbar div { display: none; } .toolbar .label { display: none; } .toolbar .operations { display: block; } .toolbar .operations ul { display: inline; list-style: none; margin-left: 10px; padding-left: 0; } .toolbar .operations li { list-style: none; display: inline; } /* list page navigational tabs */ #foldertab { padding: 3px 0px 3px 8px; margin-left: 0; border-bottom: 1px solid #3c78b5; font: bold 11px Verdana, sans-serif; } #foldertab li { list-style: none; margin: 0; display: inline; } #foldertab li a { padding: 3px 0.5em; margin-left: 3px; border: 1px solid #3c78b5; border-bottom: none; background: #3c78b5; text-decoration: none; } #foldertab li a:link { color: #ffffff; } #foldertab li a:visited { color: #ffffff; } #foldertab li a:hover { color: #ffffff; background: #003366; border-color: #003366; } #foldertab li a.current { background: white; border-bottom: 1px solid white; color: black; } #foldertab li a.current:link { color: black; } #foldertab li a.current:visited { color: black; } #foldertab li a.current:hover { background: white; border-bottom: 1px solid white; color: black; } /* alphabet list */ ul#squaretab { margin-left: 0; padding-left: 0; white-space: nowrap; font: bold 8px Verdana, sans-serif; } #squaretab li { display: inline; list-style-type: none; } #squaretab a { padding: 2px 6px; border: 1px solid #3c78b5; } #squaretab a:link, #squaretab a:visited { color: #fff; background-color: #3c78b5; text-decoration: none; } #squaretab a:hover { color: #ffffff; background-color: #003366; border-color: #003366; text-decoration: none; } #squaretab li a#current { background: white; color: black; } .blogcalendar * { font-family:verdana, arial, sans-serif; font-size:x-small; font-weight:normal; line-height:140%; padding:2px; } table.blogcalendar { border: 1px solid #3c78b5; } .blogcalendar th.calendarhead, a.calendarhead { font-size:x-small; font-weight:bold; padding:2px; text-transform:uppercase; background-color: #3c78b5; color: #ffffff; letter-spacing: .3em; text-transform: uppercase; } .calendarhead:visited {color: white;} .calendarhead:active {color: white;} .calendarhead:hover {color: white;} .blogcalendar th { font-size:x-small; font-weight:bold; padding:2px; background-color:#f0f0f0; } .blogcalendar td { font-size:x-small; font-weight:normal; } .searchGroup { padding: 0 0 10px 0; background: #f0f0f0; } .searchGroupHeading { font-size: 10px; font-weight: bold; color: #ffffff; background-color: #3c78b5; padding: 2px 4px 1px 4px; } .searchItem { padding: 1px 4px 1px 4px; } .searchItemSelected { padding: 1px 4px 1px 4px; font-weight: bold; background: #ddd; } /* permissions page styles */ .permissionHeading { border-bottom: #bbb; border-width: 0 0 1px 0; border-style: solid; font-size: 16px; text-align: left; } .permissionTab { border-width: 0 0 0 1px; border-style: solid; background: #3c78b5; color: #ffffff; font-size: 10px; } .permissionSuperTab { border-width: 0 0 0 1px; border-style: solid; background: #003366; color: #ffffff; } .permissionCell { border-left: #bbb; border-width: 0 0 0 1px; border-style: solid; } /* warning panel */ .warningPanel { background: #FFFFCE; border:#F0C000 1px solid; padding: 8px; margin: 10px; } /* alert panel */ .alertPanel { background: #FFCCCC; border:#C00 1px solid; padding: 8px; margin: 10px; } /* info panel */ .infoPanel { background: #D8E4F1; border:#3c78b5 1px solid; padding: 8px; margin: 10px; } /* side menu highlighting (e.g. space content screen) */ .optionPadded { padding: 2px; } .optionSelected { background-color: #ffffcc; padding: 2px; border: 1px solid #ddd; margin: -1px; } .optionSelected a { font-weight: bold; text-decoration: none; color: black; } /* information macros */ .noteMacro { border-style: solid; border-width: 1px; border-color: #F0C000; background-color: #FFFFCE; text-align:left; margin-top: 5px; margin-bottom: 5px} .warningMacro { border-style: solid; border-width: 1px; border-color: #c00; background-color: #fcc; text-align:left; margin-top: 5px; margin-bottom: 5px} .infoMacro { border-style: solid; border-width: 1px; border-color: #3c78b5; background-color: #D8E4F1; text-align:left; margin-top: 5px; margin-bottom: 5px} .tipMacro { border-style: solid; border-width: 1px; border-color: #090; background-color: #dfd; text-align:left; margin-top: 5px; margin-bottom: 5px} .informationMacroPadding { padding: 5px 0 0 5px; } table.infoMacro td, table.warningMacro td, table.tipMacro td, table.noteMacro td, table.sectionMacro td { border: none; } table.sectionMacroWithBorder td.columnMacro { border-style: dashed; border-width: 1px; border-color: #cccccc;} .pagecontent { padding: 10px; text-align: left; } /* styles for links in the top bar */ .topBarDiv a:link {color: #ffffff;} .topBarDiv a:visited {color: #ffffff;} .topBarDiv a:active {color: #ffffff;} .topBarDiv a:hover {color: #ffffff;} .topBarDiv {color: #ffffff;} .topBar { background-color: #003366; } /* styles for extended operations */ .greyLinks a:link {color: #666666; text-decoration:underline;} .greyLinks a:visited {color: #666666; text-decoration:underline;} .greyLinks a:active {color: #666666; text-decoration:underline;} .greyLinks a:hover {color: #666666; text-decoration:underline;} .greyLinks {color: #666666; display:block; padding: 10px} .logoSpaceLink {color: #999999; text-decoration: none} .logoSpaceLink a:link {color: #999999; text-decoration: none} .logoSpaceLink a:visited {color: #999999; text-decoration: none} .logoSpaceLink a:active {color: #999999; text-decoration: none} .logoSpaceLink a:hover {color: #003366; text-decoration: none} /* basic panel (basicpanel.vmd) style */ .basicPanelContainer {border: 1px solid #3c78b5; margin-top: 2px; margin-bottom: 8px; width: 100%} .basicPanelTitle {padding: 5px; margin: 0px; background-color: #f0f0f0; color: black; font-weight: bold;} .basicPanelBody {padding: 5px; margin: 0px} .separatorLinks a:link {color: white} .separatorLinks a:visited {color: white} .separatorLinks a:active {color: white} .greynavbar {background-color: #f0f0f0; border-top: 1px solid #3c78b5; margin-top: 2px} div.headerField { float: left; width: auto; height: 100%; } .headerFloat { margin-left: auto; width: 50%; } .headerFloatLeft { float: left; margin-right: 20px; margin-bottom: 10px; } #headerRow { padding: 10px; } div.license-personal { background-color: #003366; color: #ffffff; } div.license-personal a { color: #ffffff; } .greyFormBox { border: 1px solid #cccccc; padding: 5px; } /* IE automatically adds a margin before and after form tags. Use this style to remove that */ .marginlessForm { margin: 0px; } .openPageHighlight { background-color: #ffffcc; padding: 2px; border: 1px solid #ddd; } .editPageInsertLinks, .editPageInsertLinks a { color: #666666; font-weight: bold; font-size: 10px; } /* Style for label heatmap. */ .top10 a { font-weight: bold; font-size: 2em; color: #003366; } .top25 a { font-weight: bold; font-size: 1.6em; color: #003366; } .top50 a { font-size: 1.4em; color: #003366; } .top100 a { font-size: 1.2em; color: #003366; } .heatmap { list-style:none; width: 95%; margin: 0px auto; } .heatmap a { text-decoration:none; } .heatmap a:hover { text-decoration:underline; } .heatmap li { display: inline; } .minitab { padding: 3px 0px 3px 8px; margin-left: 0; margin-top: 1px; margin-bottom: 0px; border-bottom: 1px solid #3c78b5; font: bold 9px Verdana, sans-serif; text-decoration: none; float:none; } .selectedminitab { padding: 3px 0.5em; margin-left: 3px; margin-top: 1px; border: 1px solid #3c78b5; background: white; border-bottom: 1px solid white; color: #000000; text-decoration: none; } .unselectedminitab { padding: 3px 0.5em; margin-left: 3px; margin-top: 1px; border: 1px solid #3c78b5; border-bottom: none; background: #3c78b5; color: #ffffff; text-decoration: none; } a.unselectedminitab:hover { color: #ffffff; background: #003366; border-color: #003366; } a.unselectedminitab:link { color: white; } a.unselectedminitab:visited { color: white; } a.selectedminitab:link { color: black; } a.selectedminitab:visited { color: black; } .linkerror { background-color: #fcc;} a.labelOperationLink:link {text-decoration: underline} a.labelOperationLink:active {text-decoration: underline} a.labelOperationLink:visited {text-decoration: underline} a.labelOperationLink:hover {text-decoration: underline} a.newLabel:link {background-color: #ddffdd} a.newLabel:active {background-color: #ddffdd} a.newLabel:visited {background-color: #ddffdd} a.newLabel:hover {background-color: #ddffdd} ul.square {list-style-type: square} .inline-control-link { background: #ffc; font-size: 9px; color: #666; padding: 2px; text-transform: uppercase; text-decoration: none; } .inline-control-link a:link {text-decoration: none} .inline-control-link a:active {text-decoration: none} .inline-control-link a:visited {text-decoration: none} .inline-control-link a:hover {text-decoration: none} .inline-control-link { background: #ffc; font-size: 9px; color: #666; padding: 2px; text-transform: uppercase; text-decoration: none; cursor: pointer; } div.auto_complete { width: 350px; background: #fff; } div.auto_complete ul { border: 1px solid #888; margin: 0; padding: 0; width: 100%; list-style-type: none; } div.auto_complete ul li { margin: 0; padding: 3px; } div.auto_complete ul li.selected { background-color: #ffb; } div.auto_complete ul strong.highlight { color: #800; margin: 0; padding: 0; } /******* Edit Page Styles *******/ .toogleFormDiv{ border:1px solid #A7A6AA; background-color:white; padding:5px; margin-top: 5px; } .toogleInfoDiv{ border:1px solid #A7A6AA; background-color:white; display:none; padding:5px; margin-top: 10px; } .inputSection{ margin-bottom:20px; } #editBox{ border:1px solid lightgray; background-color:#F0F0F0; } /******* Left Navigation Theme Styles ********/ .leftnav li a { text-decoration:none; color:white; margin:0px; display:block; padding:2px; padding-left:5px; background-color: #3c78b5; border-top:1px solid #3c78b5; } .leftnav li a:active {color:white;} .leftnav li a:visited {color:white;} .leftnav li a:hover {background-color: #003366; color:white;} /* Added by Shaun during i18n */ .replaced { background-color: #33CC66; } .topPadding { margin-top: 20px; } /* new form style */ .form-block { padding: 6px; } .form-error-block { padding: 6px; background: #fcc; border-top: #f0f0f0 1px solid; border-bottom: #f0f0f0 1px solid; margin-bottom: 6px; padding: 0 12px 0 12px; } .form-element-large { font-size: 16px; font-weight: bold; font-family: Arial, sans-serif; color: #003366; } .form-element-small { font-size: 12px; font-weight: bold; font-family: Arial, sans-serif; color: #003366; } .form-header { background: lightyellow; border-top: #f0f0f0 1px solid; border-bottom: #f0f0f0 1px solid; margin-bottom: 6px; padding: 0 12px 0 12px; } .form-header p, .form-block p, .form-error-block p { line-height: normal; margin: 12px 0 12px 0; } .form-example { color: #888; font-size: 11px; } .form-divider { border-bottom: #ccc 1px solid; margin-bottom: 6px; } .form-buttons { margin-top: 6px; border-top: #ccc 1px solid; border-bottom: #ccc 1px solid; background: #f0f0f0; padding: 10px; text-align: center; } .form-buttons input { width: 100px; } .form-block .error { padding: 6px; margin-bottom: 6px; } --> </style> </head> <body> <div id="PageContent"> <table class="pagecontent" border="0" cellpadding="0" cellspacing="0" width="100%"><tr> <td valign="top" class="pagebody"> <div class="pageheader"> <span class="pagetitle"> Page Edited : <a href="http://cwiki.apache.org/confluence/display/CAYSITE">CAYSITE</a> : <a href="http://cwiki.apache.org/confluence/display/CAYSITE/Documentation">Documentation</a> </span> </div> <p> <a href="http://cwiki.apache.org/confluence/display/CAYSITE/Documentation">Documentation</a> has been edited by <a href="http://cwiki.apache.org/confluence/display/~andrus">Andrus Adamchik</a> <span class="smallfont">(Apr 11, 2007)</span>. </p> <p> <a href="http://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=34979&originalVersion=3&revisedVersion=4">(View changes)</a> </p> <span class="label">Content:</span><br/> <div class="greybox wiki-content"><h2><a name="Documentation-Documentation"></a>Documentation</h2> <p>Documentation, the JavaDoc API, examples and articles can all be found here.</p> <ul> <li><a href="/confluence/display/CAYDOC/Quick+Start" title="Quick Start">Getting Started</a></li> <li><a href="/confluence/display/CAYDOC/Index" title="Index">Version 3.0 (in development)</a></li> <li><a href="/confluence/display/CAYDOC20/Index" title="Index">Version 2.0 (stable)</a></li> <li><a href="/confluence/display/CAYDOC12/Index" title="Index">Version 1.2 (stable)</a></li> </ul> <h2><a name="Documentation-ExternalDocumentation"></a>External Documentation</h2> <p>This section lists documentation and reference materials that are maintained outside of Cayenne project.</p> <ul> <li><span class="nobr"><a href="http://sourceforge.net/projects/tapcaycrud" title="Visit page outside Confluence" rel="nofollow">TapCayCrud<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> - a Tapestry/Cayenne/Maven2 tutorial.</li> </ul> </div> </td></tr></table></div> <p> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td height="12" background="http://cwiki.apache.org/confluence/images/border/border_bottom.gif"><img src="http://cwiki.apache.org/confluence/images/border/spacer.gif" width="1" height="1" border="0"/></td> </tr> </table> <div class="smalltext"> Powered by <a href="http://www.atlassian.com/software/confluence/default.jsp?clicked=footer" class="smalltext">Atlassian Confluence</a> (Version: 2.2.9 Build:#527 Sep 07, 2006) - <a href="http://jira.atlassian.com/secure/BrowseProject.jspa?id=10470" class="smalltext">Bug/feature request</a><br/> <br> <a href="http://cwiki.apache.org/confluence/users/viewnotifications.action">Unsubscribe or edit your notifications preferences</a> </div> </body> </html> From [email protected] Sun Apr 15 15:04:28 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47725 invoked from network); 15 Apr 2007 15:04:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Apr 2007 15:04:28 -0000 Received: (qmail 34553 invoked by uid 500); 15 Apr 2007 15:04:34 -0000 Delivered-To: [email protected] Received: (qmail 34530 invoked by uid 500); 15 Apr 2007 15:04:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 34516 invoked by uid 500); 15 Apr 2007 15:04:33 -0000 Delivered-To: [email protected] Received: (qmail 34513 invoked by uid 99); 15 Apr 2007 15:04:33 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Apr 2007 08:04:33 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 15 Apr 2007 08:04:27 -0700 Received: (qmail 47645 invoked by uid 1723); 15 Apr 2007 15:04:06 -0000 Date: 15 Apr 2007 15:04:00 -0000 Message-ID: <[email protected]> TO: [email protected] FROM: [email protected] SUBJECT: Open Issues by Votes: 2007-04-15 X-Virus-Checked: Checked by ClamAV on apache.org Cayenne - Sunday, April 15, 2007 12 issues [CAY-132] missing toOne 2 - Bug - Andrus Adamchik - [] http://issues.apache.org/cayenne/browse/CAY-132 [CAY-314] PK Generation Improvements 1 - New Feature - Andrus Adamchik - [] http://issues.apache.org/cayenne/browse/CAY-314 [CAY-329] Long vs. Integer PK 1 - Bug - Andrus Adamchik - [] http://issues.apache.org/cayenne/browse/CAY-329 [CAY-316] stream support for blob/clob 1 - New Feature - Andrus Adamchik - [] http://issues.apache.org/cayenne/browse/CAY-316 [CAY-536] "duplicate key" error on commit 1 - Bug - Andrus Adamchik - [] http://issues.apache.org/cayenne/browse/CAY-536 [CAY-402] Entity/Attribute/Relationship naming improvements on rverse-engineering 1 - Improvement - Andrus Adamchik - [] http://issues.apache.org/cayenne/browse/CAY-402 [CAY-204] Cayenne to manage DB indexes 1 - New Feature - Andrus Adamchik - [] http://issues.apache.org/cayenne/browse/CAY-204 [CAY-400] Support for user properties of DataMap objects. 1 - New Feature - Andrus Adamchik - [] http://issues.apache.org/cayenne/browse/CAY-400 [CAY-577] Automatically invalidating cached lists when Cayenne commits changes that can affect the list 1 - Improvement - Unassigned - [] http://issues.apache.org/cayenne/browse/CAY-577 [CAY-228] addCustomDbAttribute should work as documented 1 - Bug - Andrus Adamchik - [] http://issues.apache.org/cayenne/browse/CAY-228 [CAY-431] Check for existing data before generating schema 1 - New Feature - Andrus Adamchik - [] http://issues.apache.org/cayenne/browse/CAY-431 [CAY-225] Support prototype entities and attributes 1 - New Feature - Andrus Adamchik - [] http://issues.apache.org/cayenne/browse/CAY-225 From [email protected] Mon Apr 16 15:05:23 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89294 invoked from network); 16 Apr 2007 15:05:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Apr 2007 15:05:23 -0000 Received: (qmail 44406 invoked by uid 500); 16 Apr 2007 15:05:30 -0000 Delivered-To: [email protected] Received: (qmail 44386 invoked by uid 500); 16 Apr 2007 15:05:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 44377 invoked by uid 500); 16 Apr 2007 15:05:29 -0000 Delivered-To: [email protected] Received: (qmail 44374 invoked by uid 99); 16 Apr 2007 15:05:29 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2007 08:05:29 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 16 Apr 2007 08:05:22 -0700 Received: (qmail 89104 invoked by uid 1723); 16 Apr 2007 15:05:02 -0000 Date: 16 Apr 2007 15:05:00 -0000 Message-ID: <[email protected]> TO: [email protected] FROM: [email protected] SUBJECT: Issues Opened: week of 2007-04-16 X-Virus-Checked: Checked by ClamAV on apache.org Cayenne - Monday, April 16, 2007 0 opened in last 7 days From [email protected] Mon Apr 16 15:07:31 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91960 invoked from network); 16 Apr 2007 15:07:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Apr 2007 15:07:30 -0000 Received: (qmail 51595 invoked by uid 500); 16 Apr 2007 15:07:31 -0000 Delivered-To: [email protected] Received: (qmail 51583 invoked by uid 500); 16 Apr 2007 15:07:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 51572 invoked by uid 500); 16 Apr 2007 15:07:31 -0000 Delivered-To: [email protected] Received: (qmail 51565 invoked by uid 99); 16 Apr 2007 15:07:31 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2007 08:07:31 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 16 Apr 2007 08:07:23 -0700 Received: (qmail 91664 invoked by uid 1723); 16 Apr 2007 15:07:02 -0000 Date: 16 Apr 2007 15:07:00 -0000 Message-ID: <[email protected]> TO: [email protected] FROM: [email protected] SUBJECT: Issues Closed: week of 2007-04-16 X-Virus-Checked: Checked by ClamAV on apache.org Cayenne - Monday, April 16, 2007 0 closed in last 7 days From [email protected] Mon Apr 16 19:46:23 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41687 invoked from network); 16 Apr 2007 19:46:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Apr 2007 19:46:23 -0000 Received: (qmail 55697 invoked by uid 500); 16 Apr 2007 19:46:29 -0000 Delivered-To: [email protected] Received: (qmail 55685 invoked by uid 500); 16 Apr 2007 19:46:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 55674 invoked by uid 99); 16 Apr 2007 19:46:28 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2007 12:46:28 -0700 X-ASF-Spam-Status: No, hits=-97.3 required=10.0 tests=ALL_TRUSTED,HTML_MESSAGE,HTML_TAG_EXIST_TBODY,MIME_HTML_ONLY,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2007 12:46:21 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 128C0714069 for <[email protected]>; Mon, 16 Apr 2007 12:46:00 -0700 (PDT) Message-ID: <11713197.1176752760018.JavaMail.www-data@brutus> Date: Mon, 16 Apr 2007 12:46:00 -0700 (PDT) From: [email protected] To: [email protected] Subject: [CONF] Apache Cayenne Website: Contributors (page edited) MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org <html> <head> <base href="http://cwiki.apache.org/confluence" /> <style type="text/css"> <!-- body, p, td, table, tr, .bodytext, .stepfield { font-family: Verdana, arial, sans-serif; font-size: 11px; line-height: 16px; color: #000000; font-weight: normal; } #PageContent { text-align: left; background-color: #fff; padding: 0px; margin: 0px; padding-bottom:20px; } /* ** when this stylesheet is used for the Tiny MCE Wysiwyg editor's edit area, we can't ** use an id=PageContent or class=wiki-content, so we must ** set the body style to that used for PageContent, and p to that used for wiki-content. */ body { margin: 0px; padding: 0px; text-align: center; background-color: #f0f0f0; } @media print { body { background-color: #fff; } } .monospaceInput { font:12px monospace } .wiki-content p, .commentblock p { margin: 16px 0px 16px 0px; padding: 0px; } .wiki-content-preview { padding: 5px; border-left: 1px solid #3c78b5; border-right: 1px solid #3c78b5; } ul, ol { margin-top: 2px; margin-bottom: 2px; padding-top: 0px; padding-bottom: 0px; } pre { padding: 0px; margin-top: 5px; margin-left: 15px; margin-bottom: 5px; margin-right: 5px; text-align: left; } .helpheading { font-weight: bold; background-color: #D0D9BD; border-bottom: 1px solid #3c78b5; padding: 4px 4px 4px 4px; margin: 0px; margin-top: 10px; } .helpcontent { padding: 4px 4px 20px 4px; background-color: #f5f7f1; } .code { border: 1px dashed #3c78b5; font-size: 11px; font-family: Courier; margin: 10px; line-height: 13px; } .focusedComment { background: #ffffce; } .commentBox, .focusedComment { padding: 10px; margin: 5px 0 5px 0; border: 1px #bbb solid; } .codeHeader { background-color: #f0f0f0; border-bottom: 1px dashed #3c78b5; padding: 3px; text-align: center; } .codeContent { text-align: left; background-color: #f0f0f0; padding: 3px; } .preformatted { border: 1px dashed #3c78b5; font-size: 11px; font-family: Courier; margin: 10px; line-height: 13px; } .preformattedHeader { background-color: #f0f0f0; border-bottom: 1px dashed #3c78b5; padding: 3px; text-align: center; } .preformattedContent { background-color: #f0f0f0; padding: 3px; } .panel { border: 1px dashed #3c78b5; margin: 10px; margin-top: 0px; } .panelHeader { background-color: #f0f0f0; border-bottom: 1px dashed #3c78b5; padding: 3px; text-align: center; } .panelContent { background-color: #f0f0f0; padding: 5px; } .anonymousAlert { background-color: #f0f0f0; border: 1px dashed red; font-size: 11px; padding: 10px 5px 10px 5px; margin: 4px; line-height: 13px; } .lockAlert { background-color: #f0f0f0; width: 50%; border: 1px dashed red; font-size: 11px; padding: 10px 5px 10px 5px; margin: 4px; line-height: 13px; } .code-keyword { color: #000091; background-color: inherit; } .code-object { color: #910091; background-color: inherit; } .code-quote { color: #009100; background-color: inherit; } .code-comment { color: #808080; background-color: inherit; } .code-xml .code-keyword { color: inherit; font-weight: bold; } .code-tag { color: #000091; background-color: inherit; } .breadcrumbs { background-color: #f0f0f0; border-color: #3c78b5; border-width: 1px 0px 1px 0px; border-style: solid; font-size: 11px; padding: 3px 0px 3px 0px; } .navmenu { border: 1px solid #ccc; } .menuheading { font-weight: bold; background-color: #f0f0f0; border-bottom: 1px solid #3c78b5; padding: 4px 4px 2px 4px; } .menuitems { padding: 4px 4px 20px 4px; } .rightpanel { border-left: 1px solid #ccc; border-bottom: 1px solid #ccc; } #helpheading { text-align: left; font-weight: bold; background-color: #D0D9BD; border-bottom: 1px solid #3c78b5; padding: 4px 4px 4px 4px; margin: 0px; } #helpcontent { padding: 4px 4px 4px 4px; background-color: #f5f7f1; } .helptab-unselected { font-weight: bold; padding: 5px; background-color: #f5f7f1; } .helptab-selected { font-weight: bold; background-color: #D0D9BD; padding: 5px; } .helptabs { margin: 0px; background-color: #f5f7f1; padding: 5px; } .infopanel-heading { font-weight: bold; padding: 4px 0px 2px 0px; } .pagebody { } .pageheader { padding: 5px 5px 5px 0px; border-bottom: 1px solid #3c78b5; } .pagetitle { font-size: 22px; font-weight: bold; font-family: Arial, sans-serif; color: #003366; } .newpagetitle { color: #ccc !important; } .steptitle { font-size: 18px; font-weight: bold; font-family: Arial, sans-serif; color: #003366; margin-bottom: 7px; } .substeptitle { font-size: 12px; font-weight: bold; font-family: Arial, sans-serif; color: #003366; margin: 2px 4px 4px 4px; padding: 2px 4px 1px 4px; } .stepdesc { font-family: Verdana, arial, sans-serif; font-size: 11px; line-height: 16px; font-weight: normal; color: #666666; margin-top: 7px; margin-bottom: 7px; } .steplabel { font-weight: bold; margin-right: 4px; color: black; float: left; width: 15%; text-align: right; } .stepfield { background: #f0f0f0; padding: 5px; } .submitButtons{ margin-top:5px; text-align:right; } .formtitle { font-size: 12px; font-weight: bold; font-family: Arial, sans-serif; color: #003366; } .sectionbottom { border-bottom: 1px solid #3c78b5; } .topRow { border-top: 2px solid #3c78b5; } .tabletitle { font-size: 14px; font-weight: bold; font-family: Arial, sans-serif; padding: 3px 0px 2px 0px; margin: 8px 4px 2px 0px; color: #003366; border-bottom: 2px solid #3c78b5; } .pagesubheading { color: #666666; font-size: 10px; padding: 0px 0px 5px 0px; } HR { color: 3c78b5; height: 1; } A:link, A:visited, A:active, A:hover { color: #003366; } h1 A:link, h1 A:visited, h1 A:active { text-decoration: none; } h1 A:hover { border-bottom: 1px dotted #003366; } .wiki-content > :first-child, .commentblock > :first-child { margin-top: 3px; } .logocell { padding: 10px; } input { font-family: verdana, geneva, arial, sans-serif; font-size: 11px; color: #000000; } textarea, textarea.editor { font-family: verdana, geneva, arial, sans-serif; font-size: 11px; color: #333333; } /* use logoSpaceLink instead. .spacenametitle { font: 21px/31px Impact, Arial, Helvetica; font-weight: 100; color: #999999; margin: 0px; } .spacenametitle img { margin: 0 0 -4px 0; } .spacenametitle a { text-decoration: none; color: #999999; } .spacenametitle a:visited { text-decoration: none; color: #999999; }*/ .spacenametitle-printable { font: 20px/25px Impact, Arial, Helvetica; font-weight: 100; color: #999999; margin: 0px; } .spacenametitle-printable a { text-decoration: none; color: #999999; } .spacenametitle-printable a:visited { text-decoration: none; color: #999999; } .blogDate { font-weight: bold; text-decoration: none; color: black; } .blogSurtitle { background: #f0f0f0; border: 1px solid #ddd; padding: 3px; margin: 1px 1px 10px 1px; } .blogHeading { font-size: 20px; line-height: normal; font-weight: bold; padding: 0px; margin: 0px; } .blogHeading a { text-decoration: none; color: black; } .endsection { align: right; color: #666666; margin-top: 10px; } .endsectionleftnav { align: right; color: #666666; margin-top: 10px; } h1 { font-size: 24px; line-height: normal; font-weight: bold; background-color: #f0f0f0; color: #003366; border-bottom: 1px solid #3c78b5; padding: 2px; margin: 36px 0px 4px 0px; } h2 { font-size: 18px; line-height: normal; font-weight: bold; background-color: #f0f0f0; border-bottom: 1px solid #3c78b5; padding: 2px; margin: 27px 0px 4px 0px; } h3 { font-size: 14px; line-height: normal; font-weight: bold; background-color: #f0f0f0; padding: 2px; margin: 21px 0px 4px 0px; } h4 { font-size: 12px; line-height: normal; font-weight: bold; background-color: #f0f0f0; padding: 2px; margin: 18px 0px 4px 0px; } h4.search { font-size: 12px; line-height: normal; font-weight: normal; background-color: #f0f0f0; padding: 4px; margin: 18px 0px 4px 0px; } h5 { font-size: 10px; line-height: normal; font-weight: bold; background-color: #f0f0f0; padding: 2px; margin: 14px 0px 4px 0px; } h6 { font-size: 8px; line-height: normal; font-weight: bold; background-color: #f0f0f0; padding: 2px; margin: 14px 0px 4px 0px; } .smallfont { font-size: 10px; } .descfont { font-size: 10px; color: #666666; } .smallerfont { font-size: 9px; } .smalltext { color: #666666; font-size: 10px; } .smalltext a { color: #666666; } .smalltext-blue { color: #3c78b5; font-size: 10px; } .surtitle { margin-left: 1px; margin-bottom: 5px; font-size: 14px; color: #666666; } /* css hack found here: http://www.fo3nix.pwp.blueyonder.co.uk/tutorials/css/hacks/ */ .navItemOver { font-size: 10px; font-weight: bold; color: #ffffff; background-color: #003366; cursor: hand; voice-family: '\'}\''; voice-family:inherit; cursor: pointer;} .navItemOver a { color: #ffffff; background-color:#003366; text-decoration: none; } .navItemOver a:visited { color: #ffffff; background-color:#003366; text-decoration: none; } .navItemOver a:hover { color: #ffffff; background-color:#003366; text-decoration: none; } .navItem { font-size: 10px; font-weight: bold; color: #ffffff; background-color: #3c78b5; } .navItem a { color: #ffffff; text-decoration: none; } .navItem a:hover { color: #ffffff; text-decoration: none; } .navItem a:visited { color: #ffffff; text-decoration: none; } div.padded { padding: 4px; } div.thickPadded { padding: 10px; } h3.macrolibrariestitle { margin: 0px 0px 0px 0px; } div.centered { text-align: center; margin: 10px; } div.centered table {margin: 0px auto; text-align: left; } .tableview table { margin: 0; } .tableview th { text-align: left; color: #003366; font-size: 12px; padding: 5px 0px 0px 5px; border-bottom: 2px solid #3c78b5; } .tableview td { text-align: left; border-color: #ccc; border-width: 0px 0px 1px 0px; border-style: solid; margin: 0; padding: 4px 10px 4px 5px; } .grid { margin: 2px 0px 5px 0px; border-collapse: collapse; } .grid th { border: 1px solid #ccc; padding: 2px 4px 2px 4px; background: #f0f0f0; text-align: center; } .grid td { border: 1px solid #ccc; padding: 3px 4px 3px 4px; } .gridHover { background-color: #f9f9f9; } td.infocell { background-color: #f0f0f0; } .label { font-weight: bold; color: #003366; } label { font-weight: bold; color: #003366; } .error { background-color: #fcc; } .errorBox { background-color: #fcc; border: 1px solid #c00; padding: 5px; margin: 5px; } .errorMessage { color: #c00; } .success { background-color: #dfd; } .successBox { background-color: #dfd; border: 1px solid #090; padding: 5px; margin-top:5px; margin-bottom:5px; } blockquote { padding-left: 10px; padding-right: 10px; margin-left: 5px; margin-right: 0px; border-left: 1px solid #3c78b5; } table.confluenceTable { margin: 5px; border-collapse: collapse; } /* Added as a temporary fix for CONF-4223. The table elements appear to be inheriting the border: none attribute from the sectionMacro class */ table.confluenceTable td.confluenceTd { border-width: 1px; border-style: solid; border-color: #ccc; padding: 3px 4px 3px 4px; } /* Added as a temporary fix for CONF-4223. The table elements appear to be inheriting the border: none attribute from the sectionMacro class */ table.confluenceTable th.confluenceTh { border-width: 1px; border-style: solid; border-color: #ccc; padding: 3px 4px 3px 4px; background-color: #f0f0f0; text-align: center; } td.confluenceTd { border-width: 1px; border-style: solid; border-color: #ccc; padding: 3px 4px 3px 4px; } th.confluenceTh { border-width: 1px; border-style: solid; border-color: #ccc; padding: 3px 4px 3px 4px; background-color: #f0f0f0; text-align: center; } DIV.small { font-size: 9px; } H1.pagename { margin-top: 0px; } IMG.inline {} .loginform { margin: 5px; border: 1px solid #ccc; } /* The text how the "This is a preview" comment should be shown. */ .previewnote { text-align: center; font-size: 11px; color: red; } /* How the preview content should be shown */ .previewcontent { background: #E0E0E0; } /* How the system messages should be shown (DisplayMessage.jsp) */ .messagecontent { background: #E0E0E0; } /* How the "This page has been modified..." -comment should be shown. */ .conflictnote { } .createlink { color: maroon; } a.createlink { color: maroon; } .templateparameter { font-size: 9px; color: darkblue; } .diffadded { background: #ddffdd; padding: 1px 1px 1px 4px; border-left: 4px solid darkgreen; } .diffdeleted { color: #999; background: #ffdddd; padding: 1px 1px 1px 4px; border-left: 4px solid darkred; } .diffnochange { padding: 1px 1px 1px 4px; border-left: 4px solid lightgrey; } .differror { background: brown; } .diff { font-family: lucida console, courier new, fixed-width; font-size: 12px; line-height: 14px; } .diffaddedchars { background-color:#99ff99; font-weight:bolder; } .diffremovedchars { background-color:#ff9999; text-decoration: line-through; font-weight:bolder; } .greybackground { background: #f0f0f0 } .greybox { border: 1px solid #ddd; padding: 3px; margin: 1px 1px 10px 1px; } .borderedGreyBox { border: 1px solid #cccccc; background-color: #f0f0f0; padding: 10px; } .greyboxfilled { border: 1px solid #ddd; background: #f0f0f0; padding: 3px; margin: 1px 1px 10px 1px; } .navBackgroundBox { padding: 5px 5px 5px 5px; font-size: 22px; font-weight: bold; font-family: Arial, sans-serif; color: white; background: #3c78b5; text-decoration: none; } .previewBoxTop { background-color: #f0f0f0; border-width: 1px 1px 0px 1px; border-style: solid; border-color: #3c78b5; padding: 5px; margin: 5px 0px 0px 0px; text-align: center; } .previewContent { background-color: #fff; border-color: #3c78b5; border-width: 0px 1px 0px 1px; border-style: solid; padding: 10px; margin: 0px; } .previewBoxBottom { background-color: #f0f0f0; border-width: 0px 1px 1px 1px; border-style: solid; border-color: #3c78b5; padding: 5px; margin: 0px 0px 5px 0px; text-align: center; } .functionbox { background-color: #f0f0f0; border: 1px solid #3c78b5; padding: 3px; margin: 1px 1px 10px 1px; } .functionbox-greyborder { background-color: #f0f0f0; border: 1px solid #ddd; padding: 3px; margin: 1px 1px 10px 1px; } .search-highlight { background-color: #ffffcc; } /* normal (white) background */ .rowNormal { background-color: #ffffff; } /* alternate (pale yellow) background */ .rowAlternate { background-color: #f7f7f7; } /* used in the list attachments table */ .rowAlternateNoBottomColor { background-color: #f7f7f7; } .rowAlternateNoBottomNoColor { } .rowAlternateNoBottomColor td { border-bottom: 0px; } .rowAlternateNoBottomNoColor td { border-bottom: 0px; } /* row highlight (grey) background */ .rowHighlight { background-color: #f0f0f0; } TD.greenbar {FONT-SIZE: 2px; BACKGROUND: #00df00; BORDER: 1px solid #9c9c9c; PADDING: 0px; } TD.redbar {FONT-SIZE: 2px; BACKGROUND: #df0000; BORDER: 1px solid #9c9c9c; PADDING: 0px; } TD.darkredbar {FONT-SIZE: 2px; BACKGROUND: #af0000; BORDER: 1px solid #9c9c9c; PADDING: 0px; } TR.testpassed {FONT-SIZE: 2px; BACKGROUND: #ddffdd; PADDING: 0px; } TR.testfailed {FONT-SIZE: 2px; BACKGROUND: #ffdddd; PADDING: 0px; } .toolbar { margin: 0px; border-collapse: collapse; } .toolbar td { border: 1px solid #ccc; padding: 2px 2px 2px 2px; color: #ccc; } td.noformatting { border-width: 0px; border-style: none; text-align: center; padding: 0px; } .commentblock { margin: 12px 0 12px 0; } /* * Divs displaying the license information, if necessary. */ .license-eval, .license-none, .license-nonprofit { border-top: 1px solid #bbbbbb; text-align: center; font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; } .license-eval, .license-none { background-color: #ffcccc; } .license-eval b, .license-none b { color: #990000 } .license-nonprofit { background-color: #ffffff; } /* * The shadow at the bottom of the page between the main content and the * "powered by" section. */ .bottomshadow { height: 12px; background-image: url("$req.contextPath/images/border/border_bottom.gif"); background-repeat: repeat-x; } /* * Styling of the operations box */ .navmenu .operations li, .navmenu .operations ul { list-style: none; margin-left: 0; padding-left: 0; } .navmenu .operations ul { margin-bottom: 9px; } .navmenu .label { font-weight: inherit; } /* * Styling of ops as a toolbar */ .toolbar div { display: none; } .toolbar .label { display: none; } .toolbar .operations { display: block; } .toolbar .operations ul { display: inline; list-style: none; margin-left: 10px; padding-left: 0; } .toolbar .operations li { list-style: none; display: inline; } /* list page navigational tabs */ #foldertab { padding: 3px 0px 3px 8px; margin-left: 0; border-bottom: 1px solid #3c78b5; font: bold 11px Verdana, sans-serif; } #foldertab li { list-style: none; margin: 0; display: inline; } #foldertab li a { padding: 3px 0.5em; margin-left: 3px; border: 1px solid #3c78b5; border-bottom: none; background: #3c78b5; text-decoration: none; } #foldertab li a:link { color: #ffffff; } #foldertab li a:visited { color: #ffffff; } #foldertab li a:hover { color: #ffffff; background: #003366; border-color: #003366; } #foldertab li a.current { background: white; border-bottom: 1px solid white; color: black; } #foldertab li a.current:link { color: black; } #foldertab li a.current:visited { color: black; } #foldertab li a.current:hover { background: white; border-bottom: 1px solid white; color: black; } /* alphabet list */ ul#squaretab { margin-left: 0; padding-left: 0; white-space: nowrap; font: bold 8px Verdana, sans-serif; } #squaretab li { display: inline; list-style-type: none; } #squaretab a { padding: 2px 6px; border: 1px solid #3c78b5; } #squaretab a:link, #squaretab a:visited { color: #fff; background-color: #3c78b5; text-decoration: none; } #squaretab a:hover { color: #ffffff; background-color: #003366; border-color: #003366; text-decoration: none; } #squaretab li a#current { background: white; color: black; } .blogcalendar * { font-family:verdana, arial, sans-serif; font-size:x-small; font-weight:normal; line-height:140%; padding:2px; } table.blogcalendar { border: 1px solid #3c78b5; } .blogcalendar th.calendarhead, a.calendarhead { font-size:x-small; font-weight:bold; padding:2px; text-transform:uppercase; background-color: #3c78b5; color: #ffffff; letter-spacing: .3em; text-transform: uppercase; } .calendarhead:visited {color: white;} .calendarhead:active {color: white;} .calendarhead:hover {color: white;} .blogcalendar th { font-size:x-small; font-weight:bold; padding:2px; background-color:#f0f0f0; } .blogcalendar td { font-size:x-small; font-weight:normal; } .searchGroup { padding: 0 0 10px 0; background: #f0f0f0; } .searchGroupHeading { font-size: 10px; font-weight: bold; color: #ffffff; background-color: #3c78b5; padding: 2px 4px 1px 4px; } .searchItem { padding: 1px 4px 1px 4px; } .searchItemSelected { padding: 1px 4px 1px 4px; font-weight: bold; background: #ddd; } /* permissions page styles */ .permissionHeading { border-bottom: #bbb; border-width: 0 0 1px 0; border-style: solid; font-size: 16px; text-align: left; } .permissionTab { border-width: 0 0 0 1px; border-style: solid; background: #3c78b5; color: #ffffff; font-size: 10px; } .permissionSuperTab { border-width: 0 0 0 1px; border-style: solid; background: #003366; color: #ffffff; } .permissionCell { border-left: #bbb; border-width: 0 0 0 1px; border-style: solid; } /* warning panel */ .warningPanel { background: #FFFFCE; border:#F0C000 1px solid; padding: 8px; margin: 10px; } /* alert panel */ .alertPanel { background: #FFCCCC; border:#C00 1px solid; padding: 8px; margin: 10px; } /* info panel */ .infoPanel { background: #D8E4F1; border:#3c78b5 1px solid; padding: 8px; margin: 10px; } /* side menu highlighting (e.g. space content screen) */ .optionPadded { padding: 2px; } .optionSelected { background-color: #ffffcc; padding: 2px; border: 1px solid #ddd; margin: -1px; } .optionSelected a { font-weight: bold; text-decoration: none; color: black; } /* information macros */ .noteMacro { border-style: solid; border-width: 1px; border-color: #F0C000; background-color: #FFFFCE; text-align:left; margin-top: 5px; margin-bottom: 5px} .warningMacro { border-style: solid; border-width: 1px; border-color: #c00; background-color: #fcc; text-align:left; margin-top: 5px; margin-bottom: 5px} .infoMacro { border-style: solid; border-width: 1px; border-color: #3c78b5; background-color: #D8E4F1; text-align:left; margin-top: 5px; margin-bottom: 5px} .tipMacro { border-style: solid; border-width: 1px; border-color: #090; background-color: #dfd; text-align:left; margin-top: 5px; margin-bottom: 5px} .informationMacroPadding { padding: 5px 0 0 5px; } table.infoMacro td, table.warningMacro td, table.tipMacro td, table.noteMacro td, table.sectionMacro td { border: none; } table.sectionMacroWithBorder td.columnMacro { border-style: dashed; border-width: 1px; border-color: #cccccc;} .pagecontent { padding: 10px; text-align: left; } /* styles for links in the top bar */ .topBarDiv a:link {color: #ffffff;} .topBarDiv a:visited {color: #ffffff;} .topBarDiv a:active {color: #ffffff;} .topBarDiv a:hover {color: #ffffff;} .topBarDiv {color: #ffffff;} .topBar { background-color: #003366; } /* styles for extended operations */ .greyLinks a:link {color: #666666; text-decoration:underline;} .greyLinks a:visited {color: #666666; text-decoration:underline;} .greyLinks a:active {color: #666666; text-decoration:underline;} .greyLinks a:hover {color: #666666; text-decoration:underline;} .greyLinks {color: #666666; display:block; padding: 10px} .logoSpaceLink {color: #999999; text-decoration: none} .logoSpaceLink a:link {color: #999999; text-decoration: none} .logoSpaceLink a:visited {color: #999999; text-decoration: none} .logoSpaceLink a:active {color: #999999; text-decoration: none} .logoSpaceLink a:hover {color: #003366; text-decoration: none} /* basic panel (basicpanel.vmd) style */ .basicPanelContainer {border: 1px solid #3c78b5; margin-top: 2px; margin-bottom: 8px; width: 100%} .basicPanelTitle {padding: 5px; margin: 0px; background-color: #f0f0f0; color: black; font-weight: bold;} .basicPanelBody {padding: 5px; margin: 0px} .separatorLinks a:link {color: white} .separatorLinks a:visited {color: white} .separatorLinks a:active {color: white} .greynavbar {background-color: #f0f0f0; border-top: 1px solid #3c78b5; margin-top: 2px} div.headerField { float: left; width: auto; height: 100%; } .headerFloat { margin-left: auto; width: 50%; } .headerFloatLeft { float: left; margin-right: 20px; margin-bottom: 10px; } #headerRow { padding: 10px; } div.license-personal { background-color: #003366; color: #ffffff; } div.license-personal a { color: #ffffff; } .greyFormBox { border: 1px solid #cccccc; padding: 5px; } /* IE automatically adds a margin before and after form tags. Use this style to remove that */ .marginlessForm { margin: 0px; } .openPageHighlight { background-color: #ffffcc; padding: 2px; border: 1px solid #ddd; } .editPageInsertLinks, .editPageInsertLinks a { color: #666666; font-weight: bold; font-size: 10px; } /* Style for label heatmap. */ .top10 a { font-weight: bold; font-size: 2em; color: #003366; } .top25 a { font-weight: bold; font-size: 1.6em; color: #003366; } .top50 a { font-size: 1.4em; color: #003366; } .top100 a { font-size: 1.2em; color: #003366; } .heatmap { list-style:none; width: 95%; margin: 0px auto; } .heatmap a { text-decoration:none; } .heatmap a:hover { text-decoration:underline; } .heatmap li { display: inline; } .minitab { padding: 3px 0px 3px 8px; margin-left: 0; margin-top: 1px; margin-bottom: 0px; border-bottom: 1px solid #3c78b5; font: bold 9px Verdana, sans-serif; text-decoration: none; float:none; } .selectedminitab { padding: 3px 0.5em; margin-left: 3px; margin-top: 1px; border: 1px solid #3c78b5; background: white; border-bottom: 1px solid white; color: #000000; text-decoration: none; } .unselectedminitab { padding: 3px 0.5em; margin-left: 3px; margin-top: 1px; border: 1px solid #3c78b5; border-bottom: none; background: #3c78b5; color: #ffffff; text-decoration: none; } a.unselectedminitab:hover { color: #ffffff; background: #003366; border-color: #003366; } a.unselectedminitab:link { color: white; } a.unselectedminitab:visited { color: white; } a.selectedminitab:link { color: black; } a.selectedminitab:visited { color: black; } .linkerror { background-color: #fcc;} a.labelOperationLink:link {text-decoration: underline} a.labelOperationLink:active {text-decoration: underline} a.labelOperationLink:visited {text-decoration: underline} a.labelOperationLink:hover {text-decoration: underline} a.newLabel:link {background-color: #ddffdd} a.newLabel:active {background-color: #ddffdd} a.newLabel:visited {background-color: #ddffdd} a.newLabel:hover {background-color: #ddffdd} ul.square {list-style-type: square} .inline-control-link { background: #ffc; font-size: 9px; color: #666; padding: 2px; text-transform: uppercase; text-decoration: none; } .inline-control-link a:link {text-decoration: none} .inline-control-link a:active {text-decoration: none} .inline-control-link a:visited {text-decoration: none} .inline-control-link a:hover {text-decoration: none} .inline-control-link { background: #ffc; font-size: 9px; color: #666; padding: 2px; text-transform: uppercase; text-decoration: none; cursor: pointer; } div.auto_complete { width: 350px; background: #fff; } div.auto_complete ul { border: 1px solid #888; margin: 0; padding: 0; width: 100%; list-style-type: none; } div.auto_complete ul li { margin: 0; padding: 3px; } div.auto_complete ul li.selected { background-color: #ffb; } div.auto_complete ul strong.highlight { color: #800; margin: 0; padding: 0; } /******* Edit Page Styles *******/ .toogleFormDiv{ border:1px solid #A7A6AA; background-color:white; padding:5px; margin-top: 5px; } .toogleInfoDiv{ border:1px solid #A7A6AA; background-color:white; display:none; padding:5px; margin-top: 10px; } .inputSection{ margin-bottom:20px; } #editBox{ border:1px solid lightgray; background-color:#F0F0F0; } /******* Left Navigation Theme Styles ********/ .leftnav li a { text-decoration:none; color:white; margin:0px; display:block; padding:2px; padding-left:5px; background-color: #3c78b5; border-top:1px solid #3c78b5; } .leftnav li a:active {color:white;} .leftnav li a:visited {color:white;} .leftnav li a:hover {background-color: #003366; color:white;} /* Added by Shaun during i18n */ .replaced { background-color: #33CC66; } .topPadding { margin-top: 20px; } /* new form style */ .form-block { padding: 6px; } .form-error-block { padding: 6px; background: #fcc; border-top: #f0f0f0 1px solid; border-bottom: #f0f0f0 1px solid; margin-bottom: 6px; padding: 0 12px 0 12px; } .form-element-large { font-size: 16px; font-weight: bold; font-family: Arial, sans-serif; color: #003366; } .form-element-small { font-size: 12px; font-weight: bold; font-family: Arial, sans-serif; color: #003366; } .form-header { background: lightyellow; border-top: #f0f0f0 1px solid; border-bottom: #f0f0f0 1px solid; margin-bottom: 6px; padding: 0 12px 0 12px; } .form-header p, .form-block p, .form-error-block p { line-height: normal; margin: 12px 0 12px 0; } .form-example { color: #888; font-size: 11px; } .form-divider { border-bottom: #ccc 1px solid; margin-bottom: 6px; } .form-buttons { margin-top: 6px; border-top: #ccc 1px solid; border-bottom: #ccc 1px solid; background: #f0f0f0; padding: 10px; text-align: center; } .form-buttons input { width: 100px; } .form-block .error { padding: 6px; margin-bottom: 6px; } --> </style> </head> <body> <div id="PageContent"> <table class="pagecontent" border="0" cellpadding="0" cellspacing="0" width="100%"><tr> <td valign="top" class="pagebody"> <div class="pageheader"> <span class="pagetitle"> Page Edited : <a href="http://cwiki.apache.org/confluence/display/CAYSITE">CAYSITE</a> : <a href="http://cwiki.apache.org/confluence/display/CAYSITE/Contributors">Contributors</a> </span> </div> <p> <a href="http://cwiki.apache.org/confluence/display/CAYSITE/Contributors">Contributors</a> has been edited by <a href="http://cwiki.apache.org/confluence/display/~nirvdrum">Kevin Menard</a> <span class="smallfont">(Apr 16, 2007)</span>. </p> <p> <a href="http://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=34978&originalVersion=4&revisedVersion=5">(View changes)</a> </p> <span class="label">Content:</span><br/> <div class="greybox wiki-content"><h2><a name="Contributors-Contributors"></a>Contributors</h2> <h3><a name="Contributors-Committers"></a>Committers</h3> <p>These are the project members who have write access to repository:</p> <table class='confluenceTable'><tbody> <tr> <th class='confluenceTh'>Name</th> <th class='confluenceTh'>Role</th> <th class='confluenceTh'>Email</th> <th class='confluenceTh'>Website</th> </tr> <tr> <td class='confluenceTd'>Andrus Adamchik</td> <td class='confluenceTd'>PMC, Chair</td> <td class='confluenceTd'>[email protected]</td> <td class='confluenceTd'><span class="nobr"><a href="http://adamchik.org" title="Visit page outside Confluence" rel="nofollow">http://adamchik.org<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> (personal) <span class="nobr"><a href="http://objectstyle.com" title="Visit page outside Confluence" rel="nofollow">http://objectstyle.com<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> (business)</td> </tr> <tr> <td class='confluenceTd'>Cris Daniluk</td> <td class='confluenceTd'>Committer</td> <td class='confluenceTd'>[email protected]</td> <td class='confluenceTd'>&nbsp;</td> </tr> <tr> <td class='confluenceTd'>Bill Dudney</td> <td class='confluenceTd'>PMC</td> <td class='confluenceTd'>[email protected]</td> <td class='confluenceTd'>&nbsp;</td> </tr> <tr> <td class='confluenceTd'>Malcolm Edgar</td> <td class='confluenceTd'>Committer</td> <td class='confluenceTd'>[email protected]</td> <td class='confluenceTd'>&nbsp;</td> </tr> <tr> <td class='confluenceTd'>Michael Gentry</td> <td class='confluenceTd'>PMC</td> <td class='confluenceTd'>[email protected]</td> <td class='confluenceTd'>&nbsp;</td> </tr> <tr> <td class='confluenceTd'>Tore Halset</td> <td class='confluenceTd'>PMC</td> <td class='confluenceTd'>[email protected]</td> <td class='confluenceTd'>&nbsp;</td> </tr> <tr> <td class='confluenceTd'>Mike Kienenberger</td> <td class='confluenceTd'>PMC</td> <td class='confluenceTd'>[email protected]</td> <td class='confluenceTd'>&nbsp;</td> </tr> <tr> <td class='confluenceTd'>Kevin Menard</td> <td class='confluenceTd'>Committer</td> <td class='confluenceTd'>[email protected]</td> <td class='confluenceTd'><span class="nobr"><a href="http://www.servprise.com/" title="Visit page outside Confluence" rel="nofollow">http://www.servprise.com/<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span></td> </tr> <tr> <td class='confluenceTd'>Aristedes Maniatis</td> <td class='confluenceTd'>Committer</td> <td class='confluenceTd'>[email protected]</td> <td class='confluenceTd'><span class="nobr"><a href="http://www.ish.com.au" title="Visit page outside Confluence" rel="nofollow">http://www.ish.com.au<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span></td> </tr> </tbody></table> <h3><a name="Contributors-EmeritusCommitters"></a>Emeritus Committers</h3> <p>Committers who are no longer active in the community. We wish them well and hope to see them return.</p> <table class='confluenceTable'><tbody> <tr> <th class='confluenceTh'>Name</th> <th class='confluenceTh'>Email</th> <th class='confluenceTh'>Website</th> </tr> <tr> <td class='confluenceTd'>Holger Hoffstaette</td> <td class='confluenceTd'>[email protected]</td> <td class='confluenceTd'>&nbsp;</td> </tr> <tr> <td class='confluenceTd'>Craig Miskell</td> <td class='confluenceTd'>&nbsp;</td> <td class='confluenceTd'>&nbsp;</td> </tr> <tr> <td class='confluenceTd'>Andriy Shapochka</td> <td class='confluenceTd'>[email protected]</td> <td class='confluenceTd'><span class="nobr"><a href="http://objectstyle.org/ashwood/" title="Visit page outside Confluence" rel="nofollow">http://objectstyle.org/ashwood/<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span></td> </tr> <tr> <td class='confluenceTd'>Michael Shengaout</td> <td class='confluenceTd'>[email protected]</td> <td class='confluenceTd'><span class="nobr"><a href="http://reusablesoftwarecomponents.com" title="Visit page outside Confluence" rel="nofollow">http://reusablesoftwarecomponents.com<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span></td> </tr> <tr> <td class='confluenceTd'>Eric Schneider</td> <td class='confluenceTd'>[email protected]</td> <td class='confluenceTd'><span class="nobr"><a href="http://www.centralparksoftware.com/" title="Visit page outside Confluence" rel="nofollow">http://www.centralparksoftware.com/<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span></td> </tr> </tbody></table> <h3><a name="Contributors-OtherContributors"></a>Other Contributors</h3> <p>These is a possibly incomplete list of people who helped in many different ways, including graphic design, testing, providing bug fix patches, etc. We really appreciate your help (if you think this page is missing a name that should be mentioned, please send a note to the dev list):</p> <table class='confluenceTable'><tbody> <tr> <th class='confluenceTh'>Name</th> <th class='confluenceTh'>Email</th> <th class='confluenceTh'>Website</th> </tr> <tr> <td class='confluenceTd'>Arndt Brenschede</td> <td class='confluenceTd'>Arndt dot [email protected]</td> <td class='confluenceTd'>&nbsp;</td> </tr> <tr> <td class='confluenceTd'>Anna Drapeza</td> <td class='confluenceTd'>[email protected]</td> <td class='confluenceTd'>&nbsp;</td> </tr> <tr> <td class='confluenceTd'>Scott Finnery</td> <td class='confluenceTd'>[email protected]</td> <td class='confluenceTd'>&nbsp;</td> </tr> <tr> <td class='confluenceTd'>Nataliya Kholodna</td> <td class='confluenceTd'>[email protected]</td> <td class='confluenceTd'>&nbsp;</td> </tr> <tr> <td class='confluenceTd'>Dirk Olmes</td> <td class='confluenceTd'>dirk dot [email protected]</td> <td class='confluenceTd'>&nbsp;</td> </tr> <tr> <td class='confluenceTd'>Anton Apolit</td> <td class='confluenceTd'>anton at logical dash process dot com</td> <td class='confluenceTd'>&nbsp;</td> </tr> <tr> <td class='confluenceTd'>Fabricio Voznika</td> <td class='confluenceTd'>&nbsp;</td> <td class='confluenceTd'>&nbsp;</td> </tr> <tr> <td class='confluenceTd'>David Cooper</td> <td class='confluenceTd'>&nbsp;</td> <td class='confluenceTd'>&nbsp;</td> </tr> <tr> <td class='confluenceTd'>Garry Watkins</td> <td class='confluenceTd'>&nbsp;</td> <td class='confluenceTd'>&nbsp;</td> </tr> <tr> <td class='confluenceTd'>Bruce Martin</td> <td class='confluenceTd'>&nbsp;</td> <td class='confluenceTd'><span class="nobr"><a href="http://brucemartin.net/" title="Visit page outside Confluence" rel="nofollow">http://brucemartin.net/<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span></td> </tr> </tbody></table></div> </td></tr></table></div> <p> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td height="12" background="http://cwiki.apache.org/confluence/images/border/border_bottom.gif"><img src="http://cwiki.apache.org/confluence/images/border/spacer.gif" width="1" height="1" border="0"/></td> </tr> </table> <div class="smalltext"> Powered by <a href="http://www.atlassian.com/software/confluence/default.jsp?clicked=footer" class="smalltext">Atlassian Confluence</a> (Version: 2.2.9 Build:#527 Sep 07, 2006) - <a href="http://jira.atlassian.com/secure/BrowseProject.jspa?id=10470" class="smalltext">Bug/feature request</a><br/> <br> <a href="http://cwiki.apache.org/confluence/users/viewnotifications.action">Unsubscribe or edit your notifications preferences</a> </div> </body> </html> From [email protected] Mon Apr 16 23:35:13 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64751 invoked from network); 16 Apr 2007 23:35:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Apr 2007 23:35:13 -0000 Received: (qmail 19285 invoked by uid 500); 16 Apr 2007 23:35:19 -0000 Delivered-To: [email protected] Received: (qmail 19275 invoked by uid 500); 16 Apr 2007 23:35:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 19200 invoked by uid 99); 16 Apr 2007 23:35:19 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2007 16:35:19 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2007 16:35:11 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 1E6891A9838; Mon, 16 Apr 2007 16:34:51 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r529446 - in /cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/conf: Rot13PasswordEncoder.java Rot47PasswordEncoder.java Date: Mon, 16 Apr 2007 23:34:50 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: mgentry Date: Mon Apr 16 16:34:48 2007 New Revision: 529446 URL: http://svn.apache.org/viewvc?view=rev&rev=529446 Log: Touched up comments to better explain functionality. Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/conf/Rot13PasswordEncoder.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/conf/Rot47PasswordEncoder.java Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/conf/Rot13PasswordEncoder.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/conf/Rot13PasswordEncoder.java?view=diff&rev=529446&r1=529445&r2=529446 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/conf/Rot13PasswordEncoder.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/conf/Rot13PasswordEncoder.java Mon Apr 16 16:34:48 2007 @@ -74,9 +74,9 @@ // If c is a letter, rotate it by 13. Numbers/symbols are untouched. if ((c >= 'a' && c <= 'm') || (c >= 'A' && c <= 'M')) - c += 13; + c += 13; // The first half of the alphabet goes forward 13 letters else if ((c >= 'n' && c <= 'z') || (c >= 'A' && c <= 'Z')) - c -= 13; + c -= 13; // The last half of the alphabet goes backward 13 letters result.append(c); } @@ -84,6 +84,14 @@ return result.toString(); } + /** + * Small test program to run text through the ROT-13 cipher. This program + * can also be run by hand to encode/decode values manually. The values + * passed on the command line are printed to standard out. + * + * @param args The array of text values (on the command-line) to be run + * through the ROT-13 cipher. + */ public static void main(String[] args) { Rot13PasswordEncoder encoder = new Rot13PasswordEncoder(); Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/conf/Rot47PasswordEncoder.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/conf/Rot47PasswordEncoder.java?view=diff&rev=529446&r1=529445&r2=529446 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/conf/Rot47PasswordEncoder.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/conf/Rot47PasswordEncoder.java Mon Apr 16 16:34:48 2007 @@ -70,7 +70,7 @@ { char c = value.charAt(i); - // Process letters, numbers, and symbols -- ignore spaces + // Process letters, numbers, and symbols -- ignore spaces. if (c != ' ') { // Add 47 (it is ROT-47, after all). @@ -79,7 +79,10 @@ // If character is now above printable range, make it printable. // Range of printable characters is ! (33) to ~ (126). A value // of 127 (just above ~) would therefore get rotated down to a - // 33 (the !). + // 33 (the !). The value 94 comes from 127 - 33 = 94, which is + // therefore the value that needs to be subtracted from the + // non-printable character to put it into the correct printable + // range. if (c > '~') c -= 94; } @@ -90,6 +93,14 @@ return result.toString(); } + /** + * Small test program to run text through the ROT-47 cipher. This program + * can also be run by hand to encode/decode values manually. The values + * passed on the command line are printed to standard out. + * + * @param args The array of text values (on the command-line) to be run + * through the ROT-47 cipher. + */ public static void main(String[] args) { Rot47PasswordEncoder encoder = new Rot47PasswordEncoder(); From [email protected] Thu Apr 19 13:18:55 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45183 invoked from network); 19 Apr 2007 13:18:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Apr 2007 13:18:54 -0000 Received: (qmail 50871 invoked by uid 500); 19 Apr 2007 13:19:00 -0000 Delivered-To: [email protected] Received: (qmail 50842 invoked by uid 500); 19 Apr 2007 13:19:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 50833 invoked by uid 99); 19 Apr 2007 13:19:00 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2007 06:19:00 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2007 06:18:53 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id F37E21A983E; Thu, 19 Apr 2007 06:18:32 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r530404 - in /cayenne/main/branches/STABLE-1.2/cayenne: cayenne-ant/ant/cayenne-java.xml cayenne-other/release-notes/RELEASE-NOTES-1.2.3.txt Date: Thu, 19 Apr 2007 13:18:32 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: aadamchik Date: Thu Apr 19 06:18:31 2007 New Revision: 530404 URL: http://svn.apache.org/viewvc?view=rev&rev=530404 Log: CAY-778 Cayenne jar manifest lists project.version as 'cayenne' Modified: cayenne/main/branches/STABLE-1.2/cayenne/cayenne-ant/ant/cayenne-java.xml cayenne/main/branches/STABLE-1.2/cayenne/cayenne-other/release-notes/RELEASE-NOTES-1.2.3.txt Modified: cayenne/main/branches/STABLE-1.2/cayenne/cayenne-ant/ant/cayenne-java.xml URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-1.2/cayenne/cayenne-ant/ant/cayenne-java.xml?view=diff&rev=530404&r1=530403&r2=530404 ============================================================================== --- cayenne/main/branches/STABLE-1.2/cayenne/cayenne-ant/ant/cayenne-java.xml (original) +++ cayenne/main/branches/STABLE-1.2/cayenne/cayenne-ant/ant/cayenne-java.xml Thu Apr 19 06:18:31 2007 @@ -129,7 +129,7 @@ <manifest> <attribute name="Built-By" value="${user.name}"/> <attribute name="Extension-Name" value="org.objectstyle.cayenne"/> - <attribute name="Specification-Version" value="${project.name}"/> + <attribute name="Specification-Version" value="${project.version}"/> <attribute name="Specification-Vendor" value="ObjectStyle.org"/> <attribute name="Implementation-Vendor-Id" value="org.objectstyle"/> @@ -197,7 +197,7 @@ <manifest> <attribute name="Built-By" value="${user.name}"/> <attribute name="Extension-Name" value="org.objectstyle.cayenne"/> - <attribute name="Specification-Version" value="${project.name}"/> + <attribute name="Specification-Version" value="${project.version}"/> <attribute name="Specification-Vendor" value="ObjectStyle.org"/> <attribute name="Implementation-Vendor-Id" value="org.objectstyle"/> @@ -218,7 +218,7 @@ <manifest> <attribute name="Built-By" value="${user.name}"/> <attribute name="Extension-Name" value="org.objectstyle.cayenne"/> - <attribute name="Specification-Version" value="${project.name}"/> + <attribute name="Specification-Version" value="${project.version}"/> <attribute name="Specification-Vendor" value="ObjectStyle.org"/> <attribute name="Implementation-Vendor-Id" value="org.objectstyle"/> Modified: cayenne/main/branches/STABLE-1.2/cayenne/cayenne-other/release-notes/RELEASE-NOTES-1.2.3.txt URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-1.2/cayenne/cayenne-other/release-notes/RELEASE-NOTES-1.2.3.txt?view=diff&rev=530404&r1=530403&r2=530404 ============================================================================== --- cayenne/main/branches/STABLE-1.2/cayenne/cayenne-other/release-notes/RELEASE-NOTES-1.2.3.txt (original) +++ cayenne/main/branches/STABLE-1.2/cayenne/cayenne-other/release-notes/RELEASE-NOTES-1.2.3.txt Thu Apr 19 06:18:31 2007 @@ -19,3 +19,4 @@ CAY-764 Exception when importing an EOModel with single table inheritance CAY-765 Programmatically overriding "use share cache" fails CAY-775 AutoAdapter fails to detect Sybase when running with jTDS driver +CAY-778 Cayenne jar manifest lists project.version as "cayenne" From [email protected] Thu Apr 19 13:20:24 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45863 invoked from network); 19 Apr 2007 13:20:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Apr 2007 13:20:21 -0000 Received: (qmail 56588 invoked by uid 500); 19 Apr 2007 13:20:26 -0000 Delivered-To: [email protected] Received: (qmail 56571 invoked by uid 500); 19 Apr 2007 13:20:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 56562 invoked by uid 99); 19 Apr 2007 13:20:26 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2007 06:20:26 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2007 06:20:19 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 15C501A9838; Thu, 19 Apr 2007 06:19:59 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r530405 - in /cayenne/main/branches/STABLE-2.0/cayenne: cayenne-ant/ant/cayenne-java.xml cayenne-other/release-notes/RELEASE-NOTES-2.0-SNAPSHOT.txt Date: Thu, 19 Apr 2007 13:19:58 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: aadamchik Date: Thu Apr 19 06:19:57 2007 New Revision: 530405 URL: http://svn.apache.org/viewvc?view=rev&rev=530405 Log: CAY-778 Cayenne jar manifest lists project.version as 'cayenne' Modified: cayenne/main/branches/STABLE-2.0/cayenne/cayenne-ant/ant/cayenne-java.xml cayenne/main/branches/STABLE-2.0/cayenne/cayenne-other/release-notes/RELEASE-NOTES-2.0-SNAPSHOT.txt Modified: cayenne/main/branches/STABLE-2.0/cayenne/cayenne-ant/ant/cayenne-java.xml URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-2.0/cayenne/cayenne-ant/ant/cayenne-java.xml?view=diff&rev=530405&r1=530404&r2=530405 ============================================================================== --- cayenne/main/branches/STABLE-2.0/cayenne/cayenne-ant/ant/cayenne-java.xml (original) +++ cayenne/main/branches/STABLE-2.0/cayenne/cayenne-ant/ant/cayenne-java.xml Thu Apr 19 06:19:57 2007 @@ -148,7 +148,7 @@ <manifest> <attribute name="Built-By" value="${user.name}"/> <attribute name="Extension-Name" value="org.apache.cayenne"/> - <attribute name="Specification-Version" value="${project.name}"/> + <attribute name="Specification-Version" value="${project.version}"/> <attribute name="Specification-Vendor" value="Apache.org"/> <attribute name="Implementation-Vendor-Id" value="org.apache"/> @@ -216,7 +216,7 @@ <manifest> <attribute name="Built-By" value="${user.name}"/> <attribute name="Extension-Name" value="org.apache.cayenne"/> - <attribute name="Specification-Version" value="${project.name}"/> + <attribute name="Specification-Version" value="${project.version}"/> <attribute name="Specification-Vendor" value="Apache.org"/> <attribute name="Implementation-Vendor-Id" value="org.apache"/> @@ -237,7 +237,7 @@ <manifest> <attribute name="Built-By" value="${user.name}"/> <attribute name="Extension-Name" value="org.apache.cayenne"/> - <attribute name="Specification-Version" value="${project.name}"/> + <attribute name="Specification-Version" value="${project.version}"/> <attribute name="Specification-Vendor" value="Apache.org"/> <attribute name="Implementation-Vendor-Id" value="org.apache"/> Modified: cayenne/main/branches/STABLE-2.0/cayenne/cayenne-other/release-notes/RELEASE-NOTES-2.0-SNAPSHOT.txt URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-2.0/cayenne/cayenne-other/release-notes/RELEASE-NOTES-2.0-SNAPSHOT.txt?view=diff&rev=530405&r1=530404&r2=530405 ============================================================================== --- cayenne/main/branches/STABLE-2.0/cayenne/cayenne-other/release-notes/RELEASE-NOTES-2.0-SNAPSHOT.txt (original) +++ cayenne/main/branches/STABLE-2.0/cayenne/cayenne-other/release-notes/RELEASE-NOTES-2.0-SNAPSHOT.txt Thu Apr 19 06:19:57 2007 @@ -24,6 +24,7 @@ CAY-765 Programmatically overriding "use share cache" fails CAY-774 cayenne-modeler pom.xml has incorrect dependancy CAY-775 AutoAdapter fails to detect Sybase when running with jTDS driver +CAY-778 Cayenne jar manifest lists project.version as "cayenne" ---------------------------------- Release: 2.0.2 From [email protected] Sun Apr 22 12:42:19 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21409 invoked from network); 22 Apr 2007 12:42:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Apr 2007 12:42:18 -0000 Received: (qmail 77906 invoked by uid 500); 22 Apr 2007 12:42:14 -0000 Delivered-To: [email protected] Received: (qmail 77872 invoked by uid 500); 22 Apr 2007 12:42:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 77834 invoked by uid 99); 22 Apr 2007 12:42:14 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Apr 2007 05:42:14 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Apr 2007 05:42:07 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id E07671A9838; Sun, 22 Apr 2007 05:41:46 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r531171 - /cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/conn/DriverDataSource.java Date: Sun, 22 Apr 2007 12:41:46 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: aadamchik Date: Sun Apr 22 05:41:45 2007 New Revision: 531171 URL: http://svn.apache.org/viewvc?view=rev&rev=531171 Log: CAY-779: Improve usability of non-pooling DriverDataSource for uses outside Cayenne Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/conn/DriverDataSource.java Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/conn/DriverDataSource.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/conn/DriverDataSource.java?view=diff&rev=531171&r1=531170&r2=531171 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/conn/DriverDataSource.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/conn/DriverDataSource.java Sun Apr 22 05:41:45 2007 @@ -17,7 +17,6 @@ * under the License. ****************************************************************/ - package org.apache.cayenne.conn; import java.io.PrintWriter; @@ -29,8 +28,10 @@ import javax.sql.DataSource; +import org.apache.cayenne.util.Util; + /** - * A DataSource implementation wrapping a JDBC driver. + * A non-pooling DataSource implementation wrapping a JDBC driver. * * @author Andrus Adamchik */ @@ -45,24 +46,55 @@ protected ConnectionEventLoggingDelegate logger; /** + * Loads JDBC driver using current thread class loader. + * + * @since 3.0 + */ + private static Driver loadDriver(String driverClassName) throws SQLException { + + Class driverClass; + try { + driverClass = Class.forName(driverClassName, true, Thread + .currentThread() + .getContextClassLoader()); + } + catch (Exception ex) { + throw new SQLException("Can not load JDBC driver named '" + + driverClassName + + "': " + + ex.getMessage()); + } + + try { + return (Driver) driverClass.newInstance(); + } + catch (Exception ex) { + throw new SQLException("Error instantiating driver '" + + driverClassName + + "': " + + ex.getMessage()); + } + } + + /** * Creates a new DriverDataSource. */ public DriverDataSource(String driverClassName, String connectionUrl) throws SQLException { + this(driverClassName, connectionUrl, null, null); + } - this.connectionUrl = connectionUrl; + /** + * @since 3.0 + */ + public DriverDataSource(String driverClassName, String connectionUrl, + String userName, String password) throws SQLException { - if (driverClassName != null) { - try { - this.driver = (Driver) Class.forName(driverClassName).newInstance(); - } - catch (Exception ex) { - throw new SQLException("Can not load JDBC driver named '" - + driverClassName - + "': " - + ex.getMessage()); - } - } + setDriverClassName(driverClassName); + + this.connectionUrl = connectionUrl; + this.userName = userName; + this.password = password; } /** @@ -72,6 +104,7 @@ */ public DriverDataSource(Driver driver, String connectionUrl, String userName, String password) { + this.driver = driver; this.connectionUrl = connectionUrl; this.userName = userName; @@ -114,10 +147,10 @@ } c = driver.connect(connectionUrl, connectProperties); } - + // some drivers (Oracle) return null connections instead of throwing // an exception... fix it here - + if (c == null) { throw new SQLException("Can't establish connection: " + connectionUrl); } @@ -159,5 +192,57 @@ public void setLogger(ConnectionEventLoggingDelegate delegate) { logger = delegate; + } + + /** + * @since 3.0 + */ + public String getConnectionUrl() { + return connectionUrl; + } + + /** + * @since 3.0 + */ + public void setConnectionUrl(String connectionUrl) { + this.connectionUrl = connectionUrl; + } + + /** + * @since 3.0 + */ + public String getPassword() { + return password; + } + + /** + * @since 3.0 + */ + public void setPassword(String password) { + this.password = password; + } + + /** + * @since 3.0 + */ + public String getUserName() { + return userName; + } + + /** + * @since 3.0 + */ + public void setUserName(String userName) { + this.userName = userName; + } + + public String getDriverClassName() { + return driver != null ? driver.getClass().getName() : null; + } + + public void setDriverClassName(String driverClassName) throws SQLException { + if (!Util.nullSafeEquals(getDriverClassName(), driverClassName)) { + this.driver = driverClassName != null ? loadDriver(driverClassName) : null; + } } } From [email protected] Sun Apr 22 15:47:40 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 67950 invoked from network); 22 Apr 2007 15:47:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Apr 2007 15:47:39 -0000 Received: (qmail 53001 invoked by uid 500); 22 Apr 2007 15:47:46 -0000 Delivered-To: [email protected] Received: (qmail 52986 invoked by uid 500); 22 Apr 2007 15:47:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 52973 invoked by uid 99); 22 Apr 2007 15:47:45 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Apr 2007 08:47:45 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Apr 2007 08:47:38 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 6839F1A983E; Sun, 22 Apr 2007 08:47:18 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r531207 - /cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/unit/CayenneResources.java Date: Sun, 22 Apr 2007 15:47:18 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: aadamchik Date: Sun Apr 22 08:47:17 2007 New Revision: 531207 URL: http://svn.apache.org/viewvc?view=rev&rev=531207 Log: CAY-780: Unit tests - test connections are not closed if an error happens in schema setup, leading in unpredictbale behavior in the following tests (fixed test setup order) Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/unit/CayenneResources.java Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/unit/CayenneResources.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/unit/CayenneResources.java?view=diff&rev=531207&r1=531206&r2=531207 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/unit/CayenneResources.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/unit/CayenneResources.java Sun Apr 22 08:47:17 2007 @@ -66,7 +66,7 @@ private static CayenneResources resources; - static CayenneResources loadResources() { + private static CayenneResources loadResources() { InputStream in = Thread .currentThread() @@ -87,13 +87,7 @@ resources.setConnectionKey(System.getProperty(CONNECTION_NAME_KEY)); - try { - resources.rebuildSchema(); - } - catch (Exception ex) { - logObj.error("Error generating schema...", ex); - throw new RuntimeException("Error generating schema"); - } + return resources; } @@ -112,6 +106,17 @@ public static CayenneResources getResources() { if (resources == null) { resources = loadResources(); + + // rebuild schema after the resources ivar is initialized so that after + // possible initial failure we don't attempt rebuilding schema in subseequent + // tests + try { + resources.rebuildSchema(); + } + catch (Exception ex) { + logObj.error("Error generating schema...", ex); + throw new RuntimeException("Error generating schema"); + } } return resources; } From [email protected] Sun Apr 22 15:51:25 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68270 invoked from network); 22 Apr 2007 15:51:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Apr 2007 15:51:24 -0000 Received: (qmail 55200 invoked by uid 500); 22 Apr 2007 15:51:31 -0000 Delivered-To: [email protected] Received: (qmail 55178 invoked by uid 500); 22 Apr 2007 15:51:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 55168 invoked by uid 99); 22 Apr 2007 15:51:31 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Apr 2007 08:51:31 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Apr 2007 08:51:24 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 068F31A9838; Sun, 22 Apr 2007 08:51:04 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r531210 - /cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/unit/CayenneResources.java Date: Sun, 22 Apr 2007 15:51:03 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: aadamchik Date: Sun Apr 22 08:51:03 2007 New Revision: 531210 URL: http://svn.apache.org/viewvc?view=rev&rev=531210 Log: comment typos Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/unit/CayenneResources.java Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/unit/CayenneResources.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/unit/CayenneResources.java?view=diff&rev=531210&r1=531209&r2=531210 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/unit/CayenneResources.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/unit/CayenneResources.java Sun Apr 22 08:51:03 2007 @@ -107,8 +107,8 @@ if (resources == null) { resources = loadResources(); - // rebuild schema after the resources ivar is initialized so that after - // possible initial failure we don't attempt rebuilding schema in subseequent + // rebuild schema after the resources static var is initialized so that after + // possible initial failure we don't attempt rebuilding schema in subsequent // tests try { resources.rebuildSchema(); From [email protected] Sun Apr 22 15:57:27 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69094 invoked from network); 22 Apr 2007 15:57:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Apr 2007 15:57:26 -0000 Received: (qmail 61468 invoked by uid 500); 22 Apr 2007 15:57:33 -0000 Delivered-To: [email protected] Received: (qmail 61454 invoked by uid 500); 22 Apr 2007 15:57:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 61445 invoked by uid 99); 22 Apr 2007 15:57:33 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Apr 2007 08:57:33 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Apr 2007 08:57:26 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 051CB1A9838; Sun, 22 Apr 2007 08:57:05 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r531212 - in /cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler: dialog/db/DBGeneratorOptions.java pref/DBGeneratorDefaults.java Date: Sun, 22 Apr 2007 15:57:05 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: aadamchik Date: Sun Apr 22 08:57:04 2007 New Revision: 531212 URL: http://svn.apache.org/viewvc?view=rev&rev=531212 Log: CAY-717: Modeler doesn't manage FK constraints with MYSQL Modified: cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/dialog/db/DBGeneratorOptions.java cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/pref/DBGeneratorDefaults.java Modified: cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/dialog/db/DBGeneratorOptions.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/dialog/db/DBGeneratorOptions.java?view=diff&rev=531212&r1=531211&r2=531212 ============================================================================== --- cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/dialog/db/DBGeneratorOptions.java (original) +++ cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/dialog/db/DBGeneratorOptions.java Sun Apr 22 08:57:04 2007 @@ -147,7 +147,6 @@ DbAdapter adapter = connectionInfo.makeAdapter(getApplication() .getClassLoadingService()); this.generator = new DbGenerator(adapter, dataMap, tables.getExcludedTables()); - this.generatorDefaults.adjustForAdapter(adapter); } catch (Exception ex) { reportError("Error loading adapter", ex); Modified: cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/pref/DBGeneratorDefaults.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/pref/DBGeneratorDefaults.java?view=diff&rev=531212&r1=531211&r2=531212 ============================================================================== --- cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/pref/DBGeneratorDefaults.java (original) +++ cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/pref/DBGeneratorDefaults.java Sun Apr 22 08:57:04 2007 @@ -20,19 +20,8 @@ import org.apache.cayenne.PersistenceState; import org.apache.cayenne.access.DbGenerator; -import org.apache.cayenne.dba.DbAdapter; public class DBGeneratorDefaults extends _DBGeneratorDefaults { - - /** - * Updates this object state to provide reasonable defaults for a given adapter. - */ - public void adjustForAdapter(DbAdapter adapter) { - if (!adapter.supportsFkConstraints() - && booleanForBooleanProperty(CREATE_FK_PROPERTY)) { - setCreateFK(Boolean.FALSE); - } - } /** * Updates DbGenerator settings, consulting its own state. From [email protected] Sun Apr 22 15:57:41 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69109 invoked from network); 22 Apr 2007 15:57:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Apr 2007 15:57:41 -0000 Received: (qmail 61583 invoked by uid 500); 22 Apr 2007 15:57:47 -0000 Delivered-To: [email protected] Received: (qmail 61567 invoked by uid 500); 22 Apr 2007 15:57:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 61558 invoked by uid 99); 22 Apr 2007 15:57:47 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Apr 2007 08:57:47 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Apr 2007 08:57:39 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id DB3BB1A983E; Sun, 22 Apr 2007 08:57:19 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r531213 - in /cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src: main/java/org/apache/cayenne/access/ main/java/org/apache/cayenne/dba/ main/java/org/apache/cayenne/dba/mysql/ test/java/org/apache/cayenne/access/ test/java/org/apa... Date: Sun, 22 Apr 2007 15:57:19 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: aadamchik Date: Sun Apr 22 08:57:18 2007 New Revision: 531213 URL: http://svn.apache.org/viewvc?view=rev&rev=531213 Log: CAY-717: Modeler doesn't manage FK constraints with MYSQL Removed: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DbGeneratorCrossDBTest.java Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/DbGenerator.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/dba/AutoAdapter.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/dba/DbAdapter.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/dba/mysql/MySQLAdapter.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DbLoaderPartialTest.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DbLoaderTest.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/unit/AbstractAccessStack.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/unit/AccessStackAdapter.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/unit/MySQLStackAdapter.java Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/DbGenerator.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/DbGenerator.java?view=diff&rev=531213&r1=531212&r2=531213 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/DbGenerator.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/access/DbGenerator.java Sun Apr 22 08:57:18 2007 @@ -35,7 +35,6 @@ import javax.sql.DataSource; -import org.apache.cayenne.CayenneRuntimeException; import org.apache.cayenne.conn.DataSourceInfo; import org.apache.cayenne.conn.DriverDataSource; import org.apache.cayenne.dba.DbAdapter; @@ -71,7 +70,7 @@ // stores generated SQL statements protected Map dropTables; protected Map createTables; - protected Map createFK; + protected Map createConstraints; protected List createPK; protected List dropPK; @@ -153,11 +152,10 @@ protected void buildStatements() { dropTables = new HashMap(); createTables = new HashMap(); - createFK = new HashMap(); + createConstraints = new HashMap(); DbAdapter adapter = getAdapter(); Iterator it = dbEntitiesInInsertOrder.iterator(); - boolean supportsFK = adapter.supportsFkConstraints(); while (it.hasNext()) { DbEntity dbe = (DbEntity) it.next(); @@ -169,10 +167,8 @@ // build "CREATE TABLE" createTables.put(name, adapter.createTable(dbe)); - // build "FK" - if (supportsFK) { - createFK.put(name, createFkConstraintsQueries(dbe)); - } + // build constraints + createConstraints.put(name, createConstraintsQueries(dbe)); } PkGenerator pkGenerator = adapter.getPkGenerator(); @@ -230,11 +226,11 @@ } } - if (shouldCreateFKConstraints && getAdapter().supportsFkConstraints()) { + if (shouldCreateFKConstraints) { Iterator it = dbEntitiesInInsertOrder.iterator(); while (it.hasNext()) { DbEntity ent = (DbEntity) it.next(); - List fks = (List) createFK.get(ent.getName()); + List fks = (List) createConstraints.get(ent.getName()); list.addAll(fks); } } @@ -308,14 +304,13 @@ // create FK if (shouldCreateTables - && shouldCreateFKConstraints - && getAdapter().supportsFkConstraints()) { + && shouldCreateFKConstraints) { Iterator it = dbEntitiesInInsertOrder.iterator(); while (it.hasNext()) { DbEntity ent = (DbEntity) it.next(); if (createdTables.contains(ent.getName())) { - List fks = (List) createFK.get(ent.getName()); + List fks = (List) createConstraints.get(ent.getName()); Iterator fkIt = fks.iterator(); while (fkIt.hasNext()) { safeExecute(connection, (String) fkIt.next()); @@ -380,17 +375,23 @@ /** * Returns an array of queries to create foreign key constraints for a particular - * DbEntity. Throws CayenneRuntimeException, if called for adapter that does not - * support FK constraints. + * DbEntity. + * + * @deprecated since 3.0 as this method is used to generate both FK and UNIQUE + * constraints, use 'createConstraintsQueries' instead. */ - public List createFkConstraintsQueries(DbEntity dbEnt) { - if (!getAdapter().supportsFkConstraints()) { - throw new CayenneRuntimeException( - "FK constraints are not supported by adapter."); - } - + public List createFkConstraintsQueries(DbEntity table) { + return createConstraintsQueries(table); + } + + /** + * Creates FK and UNIQUE constraint statements for a given table. + * + * @since 3.0 + */ + public List createConstraintsQueries(DbEntity table) { List list = new ArrayList(); - Iterator it = dbEnt.getRelationships().iterator(); + Iterator it = table.getRelationships().iterator(); while (it.hasNext()) { DbRelationship rel = (DbRelationship) it.next(); @@ -427,7 +428,10 @@ } } - list.add(getAdapter().createFkConstraint(rel)); + String fk = getAdapter().createFkConstraint(rel); + if (fk != null) { + list.add(fk); + } } } return list; Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/dba/AutoAdapter.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/dba/AutoAdapter.java?view=diff&rev=531213&r1=531212&r2=531213 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/dba/AutoAdapter.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/dba/AutoAdapter.java Sun Apr 22 08:57:18 2007 @@ -182,6 +182,10 @@ return getAdapter().getAction(query, node); } + /** + * @deprecated since 3.0 - almost all DB's support FK's now and also this flag is less + * relevant for Cayenne now. + */ public boolean supportsFkConstraints() { return getAdapter().supportsFkConstraints(); } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/dba/DbAdapter.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/dba/DbAdapter.java?view=diff&rev=531213&r1=531212&r2=531213 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/dba/DbAdapter.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/dba/DbAdapter.java Sun Apr 22 08:57:18 2007 @@ -65,6 +65,9 @@ /** * Returns true if a target database supports FK constraints. + * + * @deprecated since 3.0 - almost all DB's support FK's now and also this flag is less + * relevant for Cayenne now. */ public boolean supportsFkConstraints(); @@ -109,7 +112,7 @@ /** * Returns a SQL string that can be used to create a foreign key constraint for the - * relationship. + * relationship, or null if foreign keys are not supported. */ public String createFkConstraint(DbRelationship rel); Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/dba/mysql/MySQLAdapter.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/dba/mysql/MySQLAdapter.java?view=diff&rev=531213&r1=531212&r2=531213 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/dba/mysql/MySQLAdapter.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/dba/mysql/MySQLAdapter.java Sun Apr 22 08:57:18 2007 @@ -176,12 +176,8 @@ */ public String createTable(DbEntity entity) { String ddlSQL = super.createTable(entity); - - // force InnoDB tables if constraints are enabled - if (supportsFkConstraints()) { - ddlSQL += " ENGINE=InnoDB"; - } - + // force InnoDB tables - by default constraints are enabled + ddlSQL += " ENGINE=InnoDB"; return ddlSQL; } Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DbLoaderPartialTest.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DbLoaderPartialTest.java?view=diff&rev=531213&r1=531212&r2=531213 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DbLoaderPartialTest.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DbLoaderPartialTest.java Sun Apr 22 08:57:18 2007 @@ -73,11 +73,6 @@ public void testPartialLoad() throws Exception { try { - boolean supportsFK = getNode().getAdapter().supportsFkConstraints(); - - if (!supportsFK) { - return; - } DataMap map = new DataMap(); String tableLabel = getNode().getAdapter().tableTypeForTable(); Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DbLoaderTest.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DbLoaderTest.java?view=diff&rev=531213&r1=531212&r2=531213 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DbLoaderTest.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/access/DbLoaderTest.java Sun Apr 22 08:57:18 2007 @@ -104,7 +104,6 @@ */ public void testLoad() throws Exception { try { - boolean supportsFK = getNode().getAdapter().supportsFkConstraints(); boolean supportsUnique = getNode().getAdapter().supportsUniqueConstraints(); boolean supportsLobs = getAccessStackAdapter().supportsLobs(); @@ -122,41 +121,39 @@ assertLobDbEntities(map); } - if (supportsFK) { - // *** TESTING THIS *** - loader.loadDbRelationships(map); - - Collection rels = getDbEntity(map, "ARTIST").getRelationships(); - assertNotNull(rels); - assertTrue(rels.size() > 0); - - // test one-to-one - rels = getDbEntity(map, "PAINTING").getRelationships(); - assertNotNull(rels); - - // find relationship to PAINTING_INFO - DbRelationship oneToOne = null; - Iterator it = rels.iterator(); - while (it.hasNext()) { - DbRelationship rel = (DbRelationship) it.next(); - if ("PAINTING_INFO".equalsIgnoreCase(rel.getTargetEntityName())) { - oneToOne = rel; - break; - } - } + // *** TESTING THIS *** + loader.loadDbRelationships(map); - assertNotNull("No relationship to PAINTING_INFO", oneToOne); - assertFalse("Relationship to PAINTING_INFO must be to-one", oneToOne - .isToMany()); - assertTrue("Relationship to PAINTING_INFO must be to-one", oneToOne - .isToDependentPK()); - - // test UNIQUE only if FK is supported... - if (supportsUnique) { - assertUniqueConstraintsInRelationships(map); + Collection rels = getDbEntity(map, "ARTIST").getRelationships(); + assertNotNull(rels); + assertTrue(rels.size() > 0); + + // test one-to-one + rels = getDbEntity(map, "PAINTING").getRelationships(); + assertNotNull(rels); + + // find relationship to PAINTING_INFO + DbRelationship oneToOne = null; + Iterator it = rels.iterator(); + while (it.hasNext()) { + DbRelationship rel = (DbRelationship) it.next(); + if ("PAINTING_INFO".equalsIgnoreCase(rel.getTargetEntityName())) { + oneToOne = rel; + break; } } + assertNotNull("No relationship to PAINTING_INFO", oneToOne); + assertFalse("Relationship to PAINTING_INFO must be to-one", oneToOne + .isToMany()); + assertTrue("Relationship to PAINTING_INFO must be to-one", oneToOne + .isToDependentPK()); + + // test UNIQUE only if FK is supported... + if (supportsUnique) { + assertUniqueConstraintsInRelationships(map); + } + // *** TESTING THIS *** loader.loadObjEntities(map); ObjEntity ae = map.getObjEntity("Artist"); @@ -168,11 +165,10 @@ assertLobObjEntities(map); } - if (supportsFK) { - Collection rels = ae.getRelationships(); - assertNotNull(rels); - assertTrue(rels.size() > 0); - } // now when the map is loaded, test + Collection rels1 = ae.getRelationships(); + assertNotNull(rels1); + assertTrue(rels1.size() > 0); + // now when the map is loaded, test // various things // selectively check how different types were processed checkTypes(map); Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/unit/AbstractAccessStack.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/unit/AbstractAccessStack.java?view=diff&rev=531213&r1=531212&r2=531213 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/unit/AbstractAccessStack.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/unit/AbstractAccessStack.java Sun Apr 22 08:57:18 2007 @@ -295,18 +295,17 @@ } // FK constraints - if (adapter.supportsFkConstraints()) { - it = orderedEnts.iterator(); - while (it.hasNext()) { - DbEntity ent = (DbEntity) it.next(); - if (ent instanceof DerivedDbEntity - || !getAdapter(node).supportsFKConstraints(ent)) { - continue; - } - List qs = gen.createFkConstraintsQueries(ent); - queries.addAll(qs); + it = orderedEnts.iterator(); + while (it.hasNext()) { + DbEntity ent = (DbEntity) it.next(); + if (ent instanceof DerivedDbEntity + || !getAdapter(node).supportsFKConstraints(ent)) { + continue; } + + List qs = gen.createConstraintsQueries(ent); + queries.addAll(qs); } return queries.iterator(); Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/unit/AccessStackAdapter.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/unit/AccessStackAdapter.java?view=diff&rev=531213&r1=531212&r2=531213 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/unit/AccessStackAdapter.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/unit/AccessStackAdapter.java Sun Apr 22 08:57:18 2007 @@ -17,7 +17,6 @@ * under the License. ****************************************************************/ - package org.apache.cayenne.unit; import java.io.BufferedReader; @@ -78,27 +77,28 @@ public void willDropTables(Connection conn, DataMap map, Collection tablesToDrop) throws Exception { - if (adapter.supportsFkConstraints()) { - Map constraintsMap = getConstraints(conn, map, tablesToDrop); + Map constraintsMap = getConstraints(conn, map, tablesToDrop); + + Iterator it = constraintsMap.entrySet().iterator(); + while (it.hasNext()) { + Map.Entry entry = (Map.Entry) it.next(); + + Collection constraints = (Collection) entry.getValue(); + if (constraints == null || constraints.isEmpty()) { + continue; + } - Iterator it = constraintsMap.entrySet().iterator(); - while (it.hasNext()) { - Map.Entry entry = (Map.Entry) it.next(); - - Collection constraints = (Collection) entry.getValue(); - if (constraints == null || constraints.isEmpty()) { - continue; - } - - Object tableName = entry.getKey(); - Iterator cit = constraints.iterator(); - while (cit.hasNext()) { - Object constraint = cit.next(); - StringBuffer drop = new StringBuffer(); - drop.append("ALTER TABLE ").append(tableName).append( - " DROP CONSTRAINT ").append(constraint); - executeDDL(conn, drop.toString()); - } + Object tableName = entry.getKey(); + Iterator cit = constraints.iterator(); + while (cit.hasNext()) { + Object constraint = cit.next(); + StringBuffer drop = new StringBuffer(); + drop + .append("ALTER TABLE ") + .append(tableName) + .append(" DROP CONSTRAINT ") + .append(constraint); + executeDDL(conn, drop.toString()); } } } @@ -138,13 +138,13 @@ public boolean supportsLobInsertsAsStrings() { return supportsLobs(); } - + public boolean supportsFKConstraints(DbEntity entity) { - if("FK_OF_DIFFERENT_TYPE".equals(entity.getName())) { + if ("FK_OF_DIFFERENT_TYPE".equals(entity.getName())) { return false; } - - return adapter.supportsFkConstraints(); + + return true; } /** Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/unit/MySQLStackAdapter.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/unit/MySQLStackAdapter.java?view=diff&rev=531213&r1=531212&r2=531213 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/unit/MySQLStackAdapter.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/test/java/org/apache/cayenne/unit/MySQLStackAdapter.java Sun Apr 22 08:57:18 2007 @@ -36,7 +36,7 @@ public class MySQLStackAdapter extends AccessStackAdapter { static final Collection NO_CONSTRAINTS_TABLES = Arrays.asList(new Object[] { - "REFLEXIVE_AND_TO_ONE", "ARTGROUP" + "REFLEXIVE_AND_TO_ONE", "ARTGROUP", "FK_OF_DIFFERENT_TYPE" }); public MySQLStackAdapter(DbAdapter adapter) { @@ -67,27 +67,29 @@ public void willDropTables(Connection conn, DataMap map, Collection tablesToDrop) throws Exception { // special DROP CONSTRAINT syntax for MySQL - if (adapter.supportsFkConstraints()) { - Map constraintsMap = getConstraints(conn, map, tablesToDrop); - Iterator it = constraintsMap.entrySet().iterator(); - while (it.hasNext()) { - Map.Entry entry = (Map.Entry) it.next(); - - Collection constraints = (Collection) entry.getValue(); - if (constraints == null || constraints.isEmpty()) { - continue; - } - - Object tableName = entry.getKey(); - Iterator cit = constraints.iterator(); - while (cit.hasNext()) { - Object constraint = cit.next(); - StringBuffer drop = new StringBuffer(); - drop.append("ALTER TABLE ").append(tableName).append( - " DROP FOREIGN KEY ").append(constraint); - executeDDL(conn, drop.toString()); - } + Map constraintsMap = getConstraints(conn, map, tablesToDrop); + + Iterator it = constraintsMap.entrySet().iterator(); + while (it.hasNext()) { + Map.Entry entry = (Map.Entry) it.next(); + + Collection constraints = (Collection) entry.getValue(); + if (constraints == null || constraints.isEmpty()) { + continue; + } + + Object tableName = entry.getKey(); + Iterator cit = constraints.iterator(); + while (cit.hasNext()) { + Object constraint = cit.next(); + StringBuffer drop = new StringBuffer(); + drop + .append("ALTER TABLE ") + .append(tableName) + .append(" DROP FOREIGN KEY ") + .append(constraint); + executeDDL(conn, drop.toString()); } } @@ -103,8 +105,6 @@ public boolean supportsFKConstraints(DbEntity entity) { // MySQL supports that, but there are problems deleting objects from such // tables... - return adapter.supportsFkConstraints() - && !NO_CONSTRAINTS_TABLES.contains(entity.getName()); + return !NO_CONSTRAINTS_TABLES.contains(entity.getName()); } - } From [email protected] Mon Apr 23 15:05:24 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79697 invoked from network); 23 Apr 2007 15:05:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Apr 2007 15:05:23 -0000 Received: (qmail 41453 invoked by uid 500); 23 Apr 2007 15:05:30 -0000 Delivered-To: [email protected] Received: (qmail 41437 invoked by uid 500); 23 Apr 2007 15:05:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 41428 invoked by uid 500); 23 Apr 2007 15:05:30 -0000 Delivered-To: [email protected] Received: (qmail 41425 invoked by uid 99); 23 Apr 2007 15:05:30 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2007 08:05:30 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 23 Apr 2007 08:05:23 -0700 Received: (qmail 79598 invoked by uid 1723); 23 Apr 2007 15:05:02 -0000 Date: 23 Apr 2007 15:05:00 -0000 Message-ID: <[email protected]> TO: [email protected] FROM: [email protected] SUBJECT: Issues Opened: week of 2007-04-23 X-Virus-Checked: Checked by ClamAV on apache.org Cayenne - Monday, April 23, 2007 0 opened in last 7 days From [email protected] Mon Apr 23 15:07:24 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80657 invoked from network); 23 Apr 2007 15:07:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Apr 2007 15:07:24 -0000 Received: (qmail 45587 invoked by uid 500); 23 Apr 2007 15:07:31 -0000 Delivered-To: [email protected] Received: (qmail 45576 invoked by uid 500); 23 Apr 2007 15:07:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 45567 invoked by uid 500); 23 Apr 2007 15:07:31 -0000 Delivered-To: [email protected] Received: (qmail 45564 invoked by uid 99); 23 Apr 2007 15:07:31 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2007 08:07:31 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 23 Apr 2007 08:07:24 -0700 Received: (qmail 80464 invoked by uid 1723); 23 Apr 2007 15:07:03 -0000 Date: 23 Apr 2007 15:07:00 -0000 Message-ID: <[email protected]> TO: [email protected] FROM: [email protected] SUBJECT: Issues Closed: week of 2007-04-23 X-Virus-Checked: Checked by ClamAV on apache.org Cayenne - Monday, April 23, 2007 5 closed in last 7 days [CAY-780] Unit tests - test connections are not closed if an error happens in schema setup, leading in unpredictbale behavior in the following tests - Type: Bug - Assignee: Andrus Adamchik - Components: [Cayenne Core Library] - Fix Versions: [3.0] - http://issues.apache.org/cayenne/browse/CAY-780 [CAY-777] Still incorrect: CLONE -Import EOModel - Incorrect Join src/target names are created - Type: Bug - Assignee: Andrus Adamchik - Components: [Cayenne Core Library] - Fix Versions: [1.1 [LEGACY]] - http://issues.apache.org/cayenne/browse/CAY-777 [CAY-779] Improve usability of non-pooling DriverDataSource for uses outside Cayenne - Type: Improvement - Assignee: Andrus Adamchik - Components: [Cayenne Core Library] - Fix Versions: [3.0] - http://issues.apache.org/cayenne/browse/CAY-779 [CAY-778] Cayenne jar manifest lists project.version as "cayenne" - Type: Bug - Assignee: Andrus Adamchik - Components: [Cayenne Core Library] - Fix Versions: [1.2 [STABLE], 2.0 [STABLE]] - http://issues.apache.org/cayenne/browse/CAY-778 [CAY-717] Modeler doesn't manage FK constraints with MYSQL - Type: Improvement - Assignee: Unassigned - Components: [CayenneModeler GUI] - Fix Versions: [3.0] - http://issues.apache.org/cayenne/browse/CAY-717 From [email protected] Mon Apr 23 19:46:06 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13242 invoked from network); 23 Apr 2007 19:46:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Apr 2007 19:46:05 -0000 Received: (qmail 20885 invoked by uid 500); 23 Apr 2007 19:46:12 -0000 Delivered-To: [email protected] Received: (qmail 20867 invoked by uid 500); 23 Apr 2007 19:46:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 20858 invoked by uid 99); 23 Apr 2007 19:46:12 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2007 12:46:12 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2007 12:46:05 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id D8AAA1A9838; Mon, 23 Apr 2007 12:45:44 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r531572 - in /cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src: cayenne/java/org/objectstyle/cayenne/xml/ tests/java/org/objectstyle/cayenne/xml/ Date: Mon, 23 Apr 2007 19:45:44 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: kmenard Date: Mon Apr 23 12:45:43 2007 New Revision: 531572 URL: http://svn.apache.org/viewvc?view=rev&rev=531572 Log: Updating copyright years that should have been updated when CAY-597 was fixed. Modified: cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/xml/SerializableEntity.java cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/xml/XMLDecoder.java cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/xml/XMLEncoder.java cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/xml/XMLMappingDescriptor.java cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/tests/java/org/objectstyle/cayenne/xml/TestObject.java cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/tests/java/org/objectstyle/cayenne/xml/XMLDecoderTst.java cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/tests/java/org/objectstyle/cayenne/xml/XMLEncoderTst.java Modified: cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/xml/SerializableEntity.java URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/xml/SerializableEntity.java?view=diff&rev=531572&r1=531571&r2=531572 ============================================================================== --- cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/xml/SerializableEntity.java (original) +++ cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/xml/SerializableEntity.java Mon Apr 23 12:45:43 2007 @@ -3,7 +3,7 @@ * The ObjectStyle Group Software License, version 1.1 * ObjectStyle Group - http://objectstyle.org/ * - * Copyright (c) 2002-2005, Andrei (Andrus) Adamchik and individual authors + * Copyright (c) 2002-2007, Andrei (Andrus) Adamchik and individual authors * of the software. All rights reserved. * * Redistribution and use in source and binary forms, with or without Modified: cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/xml/XMLDecoder.java URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/xml/XMLDecoder.java?view=diff&rev=531572&r1=531571&r2=531572 ============================================================================== --- cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/xml/XMLDecoder.java (original) +++ cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/xml/XMLDecoder.java Mon Apr 23 12:45:43 2007 @@ -3,7 +3,7 @@ * The ObjectStyle Group Software License, version 1.1 * ObjectStyle Group - http://objectstyle.org/ * - * Copyright (c) 2002-2005, Andrei (Andrus) Adamchik and individual authors + * Copyright (c) 2002-2007, Andrei (Andrus) Adamchik and individual authors * of the software. All rights reserved. * * Redistribution and use in source and binary forms, with or without Modified: cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/xml/XMLEncoder.java URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/xml/XMLEncoder.java?view=diff&rev=531572&r1=531571&r2=531572 ============================================================================== --- cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/xml/XMLEncoder.java (original) +++ cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/xml/XMLEncoder.java Mon Apr 23 12:45:43 2007 @@ -3,7 +3,7 @@ * The ObjectStyle Group Software License, version 1.1 * ObjectStyle Group - http://objectstyle.org/ * - * Copyright (c) 2002-2005, Andrei (Andrus) Adamchik and individual authors + * Copyright (c) 2002-2007, Andrei (Andrus) Adamchik and individual authors * of the software. All rights reserved. * * Redistribution and use in source and binary forms, with or without Modified: cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/xml/XMLMappingDescriptor.java URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/xml/XMLMappingDescriptor.java?view=diff&rev=531572&r1=531571&r2=531572 ============================================================================== --- cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/xml/XMLMappingDescriptor.java (original) +++ cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/xml/XMLMappingDescriptor.java Mon Apr 23 12:45:43 2007 @@ -3,7 +3,7 @@ * The ObjectStyle Group Software License, version 1.1 * ObjectStyle Group - http://objectstyle.org/ * - * Copyright (c) 2002-2005, Andrei (Andrus) Adamchik and individual authors + * Copyright (c) 2002-2006, Andrei (Andrus) Adamchik and individual authors * of the software. All rights reserved. * * Redistribution and use in source and binary forms, with or without Modified: cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/tests/java/org/objectstyle/cayenne/xml/TestObject.java URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/tests/java/org/objectstyle/cayenne/xml/TestObject.java?view=diff&rev=531572&r1=531571&r2=531572 ============================================================================== --- cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/tests/java/org/objectstyle/cayenne/xml/TestObject.java (original) +++ cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/tests/java/org/objectstyle/cayenne/xml/TestObject.java Mon Apr 23 12:45:43 2007 @@ -3,7 +3,7 @@ * The ObjectStyle Group Software License, version 1.1 * ObjectStyle Group - http://objectstyle.org/ * - * Copyright (c) 2002-2005, Andrei (Andrus) Adamchik and individual authors + * Copyright (c) 2002-2007, Andrei (Andrus) Adamchik and individual authors * of the software. All rights reserved. * * Redistribution and use in source and binary forms, with or without Modified: cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/tests/java/org/objectstyle/cayenne/xml/XMLDecoderTst.java URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/tests/java/org/objectstyle/cayenne/xml/XMLDecoderTst.java?view=diff&rev=531572&r1=531571&r2=531572 ============================================================================== --- cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/tests/java/org/objectstyle/cayenne/xml/XMLDecoderTst.java (original) +++ cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/tests/java/org/objectstyle/cayenne/xml/XMLDecoderTst.java Mon Apr 23 12:45:43 2007 @@ -3,7 +3,7 @@ * The ObjectStyle Group Software License, version 1.1 * ObjectStyle Group - http://objectstyle.org/ * - * Copyright (c) 2002-2005, Andrei (Andrus) Adamchik and individual authors + * Copyright (c) 2002-2007, Andrei (Andrus) Adamchik and individual authors * of the software. All rights reserved. * * Redistribution and use in source and binary forms, with or without Modified: cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/tests/java/org/objectstyle/cayenne/xml/XMLEncoderTst.java URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/tests/java/org/objectstyle/cayenne/xml/XMLEncoderTst.java?view=diff&rev=531572&r1=531571&r2=531572 ============================================================================== --- cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/tests/java/org/objectstyle/cayenne/xml/XMLEncoderTst.java (original) +++ cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/tests/java/org/objectstyle/cayenne/xml/XMLEncoderTst.java Mon Apr 23 12:45:43 2007 @@ -3,7 +3,7 @@ * The ObjectStyle Group Software License, version 1.1 * ObjectStyle Group - http://objectstyle.org/ * - * Copyright (c) 2002-2005, Andrei (Andrus) Adamchik and individual authors + * Copyright (c) 2002-2007, Andrei (Andrus) Adamchik and individual authors * of the software. All rights reserved. * * Redistribution and use in source and binary forms, with or without From [email protected] Mon Apr 23 20:18:58 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 23535 invoked from network); 23 Apr 2007 20:18:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Apr 2007 20:18:58 -0000 Received: (qmail 79674 invoked by uid 500); 23 Apr 2007 20:19:05 -0000 Delivered-To: [email protected] Received: (qmail 79649 invoked by uid 500); 23 Apr 2007 20:19:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 79640 invoked by uid 99); 23 Apr 2007 20:19:05 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2007 13:19:05 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2007 13:18:58 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 509221A9838; Mon, 23 Apr 2007 13:18:37 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r531582 - /cayenne/main/branches/STABLE-1.2/cayenne/cayenne-other/release-notes/RELEASE-NOTES-1.2.3.txt Date: Mon, 23 Apr 2007 20:18:37 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: kmenard Date: Mon Apr 23 13:18:36 2007 New Revision: 531582 URL: http://svn.apache.org/viewvc?view=rev&rev=531582 Log: Reflect that CAY-597 has been fixed. Modified: cayenne/main/branches/STABLE-1.2/cayenne/cayenne-other/release-notes/RELEASE-NOTES-1.2.3.txt Modified: cayenne/main/branches/STABLE-1.2/cayenne/cayenne-other/release-notes/RELEASE-NOTES-1.2.3.txt URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-1.2/cayenne/cayenne-other/release-notes/RELEASE-NOTES-1.2.3.txt?view=diff&rev=531582&r1=531581&r2=531582 ============================================================================== --- cayenne/main/branches/STABLE-1.2/cayenne/cayenne-other/release-notes/RELEASE-NOTES-1.2.3.txt (original) +++ cayenne/main/branches/STABLE-1.2/cayenne/cayenne-other/release-notes/RELEASE-NOTES-1.2.3.txt Mon Apr 23 13:18:36 2007 @@ -10,6 +10,7 @@ Bug Fixes: +CAY-597 XML Encoder with Mapping outputs incorrect XML CAY-741 Indexing entities with inheritance across datamaps CAY-743 Reordering mappings from domain in xml resulting in StackOverflowException CAY-750 Stored procedures without parameters fail on Postgres 8 From [email protected] Mon Apr 23 20:35:48 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33439 invoked from network); 23 Apr 2007 20:35:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Apr 2007 20:35:48 -0000 Received: (qmail 22604 invoked by uid 500); 23 Apr 2007 20:35:54 -0000 Delivered-To: [email protected] Received: (qmail 22592 invoked by uid 500); 23 Apr 2007 20:35:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 22583 invoked by uid 99); 23 Apr 2007 20:35:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2007 13:35:54 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2007 13:35:47 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 578321A983A; Mon, 23 Apr 2007 13:35:27 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r531590 - /cayenne/main/branches/STABLE-2.0/cayenne/cayenne-other/release-notes/RELEASE-NOTES-2.0-SNAPSHOT.txt Date: Mon, 23 Apr 2007 20:35:27 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: kmenard Date: Mon Apr 23 13:35:26 2007 New Revision: 531590 URL: http://svn.apache.org/viewvc?view=rev&rev=531590 Log: Reflect that CAY-597 has been fixed. Modified: cayenne/main/branches/STABLE-2.0/cayenne/cayenne-other/release-notes/RELEASE-NOTES-2.0-SNAPSHOT.txt Modified: cayenne/main/branches/STABLE-2.0/cayenne/cayenne-other/release-notes/RELEASE-NOTES-2.0-SNAPSHOT.txt URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-2.0/cayenne/cayenne-other/release-notes/RELEASE-NOTES-2.0-SNAPSHOT.txt?view=diff&rev=531590&r1=531589&r2=531590 ============================================================================== --- cayenne/main/branches/STABLE-2.0/cayenne/cayenne-other/release-notes/RELEASE-NOTES-2.0-SNAPSHOT.txt (original) +++ cayenne/main/branches/STABLE-2.0/cayenne/cayenne-other/release-notes/RELEASE-NOTES-2.0-SNAPSHOT.txt Mon Apr 23 13:35:26 2007 @@ -14,6 +14,7 @@ Bug Fixes: +CAY-597 XML Encoder with Mapping outputs incorrect XML CAY-741 Indexing entities with inheritance across datamaps CAY-743 Reordering mappings from domain in xml resulting in StackOverflowException CAY-750 Stored procedures without parameters fail on Postgres 8 From [email protected] Mon Apr 23 20:51:43 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 39190 invoked from network); 23 Apr 2007 20:51:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Apr 2007 20:51:32 -0000 Received: (qmail 56569 invoked by uid 500); 23 Apr 2007 20:51:29 -0000 Delivered-To: [email protected] Received: (qmail 56546 invoked by uid 500); 23 Apr 2007 20:51:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 56506 invoked by uid 99); 23 Apr 2007 20:51:29 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2007 13:51:29 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2007 13:51:20 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 2D5721A9838; Mon, 23 Apr 2007 13:51:00 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r531594 - /cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt Date: Mon, 23 Apr 2007 20:51:00 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: kmenard Date: Mon Apr 23 13:50:59 2007 New Revision: 531594 URL: http://svn.apache.org/viewvc?view=rev&rev=531594 Log: Reflect that CAY-597 has been fixed. Modified: cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt Modified: cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt?view=diff&rev=531594&r1=531593&r2=531594 ============================================================================== --- cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt (original) +++ cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt Mon Apr 23 13:50:59 2007 @@ -58,9 +58,10 @@ CAY-743 Reordering mappings from domain in xml resulting in StackOverflowException CAY-750 Stored procedures without parameters fail on Postgres 8 -Bug Fixes since 1.2 final: +Bug Fixes since 1.2/2.0 final: CAY-565 LRUMap NPE +CAY-597 XML Encoder with Mapping outputs incorrect XML CAY-601 Problem resolving relationships in nested DataContext CAY-603 QueryChain.isFetchingDataRows() incorrectly returns "false" - must be "true" all the time CAY-607 Long query name or qualifier expand query text field off screen From [email protected] Thu Apr 26 01:44:14 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15340 invoked from network); 26 Apr 2007 01:44:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Apr 2007 01:44:13 -0000 Received: (qmail 20439 invoked by uid 500); 26 Apr 2007 01:44:20 -0000 Delivered-To: [email protected] Received: (qmail 20418 invoked by uid 500); 26 Apr 2007 01:44:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 20409 invoked by uid 99); 26 Apr 2007 01:44:20 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Apr 2007 18:44:20 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Apr 2007 18:44:13 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id F2AFC1A9838; Wed, 25 Apr 2007 18:43:52 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r532558 - /cayenne/main/branches/STABLE-2.0/cayenne/cayenne-java/src/cayenne/java/org/apache/cayenne/CayenneDataObject.java Date: Thu, 26 Apr 2007 01:43:52 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: mgentry Date: Wed Apr 25 18:43:51 2007 New Revision: 532558 URL: http://svn.apache.org/viewvc?view=rev&rev=532558 Log: Fixed CAY-781 Modified: cayenne/main/branches/STABLE-2.0/cayenne/cayenne-java/src/cayenne/java/org/apache/cayenne/CayenneDataObject.java Modified: cayenne/main/branches/STABLE-2.0/cayenne/cayenne-java/src/cayenne/java/org/apache/cayenne/CayenneDataObject.java URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-2.0/cayenne/cayenne-java/src/cayenne/java/org/apache/cayenne/CayenneDataObject.java?view=diff&rev=532558&r1=532557&r2=532558 ============================================================================== --- cayenne/main/branches/STABLE-2.0/cayenne/cayenne-java/src/cayenne/java/org/apache/cayenne/CayenneDataObject.java (original) +++ cayenne/main/branches/STABLE-2.0/cayenne/cayenne-java/src/cayenne/java/org/apache/cayenne/CayenneDataObject.java Wed Apr 25 18:43:51 2007 @@ -129,7 +129,7 @@ int pathIndex = 0; for (int i = 0; i < length; i++) { - pathIndex += tokenized[i].length(); + pathIndex += tokenized[i].length() + 1; object = dataObject.readSimpleProperty(tokenized[i]); From [email protected] Thu Apr 26 01:53:48 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18832 invoked from network); 26 Apr 2007 01:53:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Apr 2007 01:53:48 -0000 Received: (qmail 28413 invoked by uid 500); 26 Apr 2007 01:53:55 -0000 Delivered-To: [email protected] Received: (qmail 28387 invoked by uid 500); 26 Apr 2007 01:53:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 28378 invoked by uid 99); 26 Apr 2007 01:53:55 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Apr 2007 18:53:55 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Apr 2007 18:53:48 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id EC2C61A9838; Wed, 25 Apr 2007 18:53:27 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r532563 - /cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/CayenneDataObject.java Date: Thu, 26 Apr 2007 01:53:27 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: mgentry Date: Wed Apr 25 18:53:27 2007 New Revision: 532563 URL: http://svn.apache.org/viewvc?view=rev&rev=532563 Log: Fixed CAY-781 Modified: cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/CayenneDataObject.java Modified: cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/CayenneDataObject.java URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/CayenneDataObject.java?view=diff&rev=532563&r1=532562&r2=532563 ============================================================================== --- cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/CayenneDataObject.java (original) +++ cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/CayenneDataObject.java Wed Apr 25 18:53:27 2007 @@ -165,7 +165,7 @@ int pathIndex = 0; for (int i = 0; i < length; i++) { - pathIndex += tokenized[i].length(); + pathIndex += tokenized[i].length() + 1; object = dataObject.readSimpleProperty(tokenized[i]); @@ -782,4 +782,4 @@ this.persistenceState = PersistenceState.TRANSIENT; } } -} \ No newline at end of file +} From [email protected] Thu Apr 26 02:17:00 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25674 invoked from network); 26 Apr 2007 02:17:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Apr 2007 02:17:00 -0000 Received: (qmail 55850 invoked by uid 500); 26 Apr 2007 02:17:06 -0000 Delivered-To: [email protected] Received: (qmail 55828 invoked by uid 500); 26 Apr 2007 02:17:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 55811 invoked by uid 99); 26 Apr 2007 02:17:06 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Apr 2007 19:17:06 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Apr 2007 19:16:59 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 33CA61A9838; Wed, 25 Apr 2007 19:16:39 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r532574 - /cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/CayenneDataObject.java Date: Thu, 26 Apr 2007 02:16:39 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: mgentry Date: Wed Apr 25 19:16:38 2007 New Revision: 532574 URL: http://svn.apache.org/viewvc?view=rev&rev=532574 Log: Fixed CAY-781 Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/CayenneDataObject.java Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/CayenneDataObject.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/CayenneDataObject.java?view=diff&rev=532574&r1=532573&r2=532574 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/CayenneDataObject.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/CayenneDataObject.java Wed Apr 25 19:16:38 2007 @@ -132,7 +132,7 @@ int pathIndex = 0; for (int i = 0; i < length; i++) { - pathIndex += tokenized[i].length(); + pathIndex += tokenized[i].length() + 1; object = dataObject.readSimpleProperty(tokenized[i]); From [email protected] Fri Apr 27 17:24:18 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94837 invoked from network); 27 Apr 2007 17:24:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Apr 2007 17:24:18 -0000 Received: (qmail 16405 invoked by uid 500); 27 Apr 2007 17:24:25 -0000 Delivered-To: [email protected] Received: (qmail 16387 invoked by uid 500); 27 Apr 2007 17:24:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 16378 invoked by uid 99); 27 Apr 2007 17:24:25 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 10:24:25 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 10:24:18 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id C45A31A9838; Fri, 27 Apr 2007 10:23:57 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r533169 - /cayenne/main/branches/STABLE-2.0/cayenne/cayenne-other/release-notes/RELEASE-NOTES-2.0-SNAPSHOT.txt Date: Fri, 27 Apr 2007 17:23:57 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: aadamchik Date: Fri Apr 27 10:23:56 2007 New Revision: 533169 URL: http://svn.apache.org/viewvc?view=rev&rev=533169 Log: CAY-781 Bug in CayenneDataObject.readNestedProperty - updating release notes Modified: cayenne/main/branches/STABLE-2.0/cayenne/cayenne-other/release-notes/RELEASE-NOTES-2.0-SNAPSHOT.txt Modified: cayenne/main/branches/STABLE-2.0/cayenne/cayenne-other/release-notes/RELEASE-NOTES-2.0-SNAPSHOT.txt URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-2.0/cayenne/cayenne-other/release-notes/RELEASE-NOTES-2.0-SNAPSHOT.txt?view=diff&rev=533169&r1=533168&r2=533169 ============================================================================== --- cayenne/main/branches/STABLE-2.0/cayenne/cayenne-other/release-notes/RELEASE-NOTES-2.0-SNAPSHOT.txt (original) +++ cayenne/main/branches/STABLE-2.0/cayenne/cayenne-other/release-notes/RELEASE-NOTES-2.0-SNAPSHOT.txt Fri Apr 27 10:23:56 2007 @@ -26,6 +26,7 @@ CAY-774 cayenne-modeler pom.xml has incorrect dependancy CAY-775 AutoAdapter fails to detect Sybase when running with jTDS driver CAY-778 Cayenne jar manifest lists project.version as "cayenne" +CAY-781 Bug in CayenneDataObject.readNestedProperty ---------------------------------- Release: 2.0.2 From [email protected] Fri Apr 27 17:27:15 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95208 invoked from network); 27 Apr 2007 17:27:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Apr 2007 17:27:14 -0000 Received: (qmail 21138 invoked by uid 500); 27 Apr 2007 17:27:21 -0000 Delivered-To: [email protected] Received: (qmail 21123 invoked by uid 500); 27 Apr 2007 17:27:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 21114 invoked by uid 99); 27 Apr 2007 17:27:21 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 10:27:21 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 10:27:14 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 4FF391A9838; Fri, 27 Apr 2007 10:26:54 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r533170 - /cayenne/main/branches/STABLE-1.2/cayenne/cayenne-other/release-notes/RELEASE-NOTES-1.2.3.txt Date: Fri, 27 Apr 2007 17:26:53 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: aadamchik Date: Fri Apr 27 10:26:53 2007 New Revision: 533170 URL: http://svn.apache.org/viewvc?view=rev&rev=533170 Log: CAY-781 Bug in CayenneDataObject.readNestedProperty - updating release notes Modified: cayenne/main/branches/STABLE-1.2/cayenne/cayenne-other/release-notes/RELEASE-NOTES-1.2.3.txt Modified: cayenne/main/branches/STABLE-1.2/cayenne/cayenne-other/release-notes/RELEASE-NOTES-1.2.3.txt URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-1.2/cayenne/cayenne-other/release-notes/RELEASE-NOTES-1.2.3.txt?view=diff&rev=533170&r1=533169&r2=533170 ============================================================================== --- cayenne/main/branches/STABLE-1.2/cayenne/cayenne-other/release-notes/RELEASE-NOTES-1.2.3.txt (original) +++ cayenne/main/branches/STABLE-1.2/cayenne/cayenne-other/release-notes/RELEASE-NOTES-1.2.3.txt Fri Apr 27 10:26:53 2007 @@ -21,3 +21,4 @@ CAY-765 Programmatically overriding "use share cache" fails CAY-775 AutoAdapter fails to detect Sybase when running with jTDS driver CAY-778 Cayenne jar manifest lists project.version as "cayenne" +CAY-781 Bug in CayenneDataObject.readNestedProperty From [email protected] Fri Apr 27 17:28:06 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95340 invoked from network); 27 Apr 2007 17:28:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Apr 2007 17:28:06 -0000 Received: (qmail 21800 invoked by uid 500); 27 Apr 2007 17:28:12 -0000 Delivered-To: [email protected] Received: (qmail 21778 invoked by uid 500); 27 Apr 2007 17:28:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 21769 invoked by uid 99); 27 Apr 2007 17:28:12 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 10:28:12 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 10:28:05 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 5DB6C1A9838; Fri, 27 Apr 2007 10:27:45 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r533172 - /cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt Date: Fri, 27 Apr 2007 17:27:45 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: aadamchik Date: Fri Apr 27 10:27:44 2007 New Revision: 533172 URL: http://svn.apache.org/viewvc?view=rev&rev=533172 Log: CAY-781 Bug in CayenneDataObject.readNestedProperty - updating release notes Modified: cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt Modified: cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt?view=diff&rev=533172&r1=533171&r2=533172 ============================================================================== --- cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt (original) +++ cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt Fri Apr 27 10:27:44 2007 @@ -57,6 +57,7 @@ CAY-741 Indexing entities with inheritance across datamaps CAY-743 Reordering mappings from domain in xml resulting in StackOverflowException CAY-750 Stored procedures without parameters fail on Postgres 8 +CAY-781 Bug in CayenneDataObject.readNestedProperty Bug Fixes since 1.2/2.0 final: From [email protected] Mon Apr 30 05:21:22 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84439 invoked from network); 30 Apr 2007 05:21:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Apr 2007 05:21:21 -0000 Received: (qmail 81795 invoked by uid 500); 30 Apr 2007 05:21:28 -0000 Delivered-To: [email protected] Received: (qmail 81778 invoked by uid 500); 30 Apr 2007 05:21:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 81769 invoked by uid 99); 30 Apr 2007 05:21:27 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 22:21:27 -0700 X-ASF-Spam-Status: No, hits=-97.3 required=10.0 tests=ALL_TRUSTED,HTML_MESSAGE,HTML_TAG_EXIST_TBODY,MIME_HTML_ONLY,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 22:21:20 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 10C6971406D for <[email protected]>; Sun, 29 Apr 2007 22:21:00 -0700 (PDT) Message-ID: <31091317.1177910460018.JavaMail.www-data@brutus> Date: Sun, 29 Apr 2007 22:21:00 -0700 (PDT) From: [email protected] To: [email protected] Subject: [CONF] Apache Cayenne Website: Eclipse (page edited) MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org <html> <head> <base href="http://cwiki.apache.org/confluence" /> <style type="text/css"> <!-- body, p, td, table, tr, .bodytext, .stepfield { font-family: Verdana, arial, sans-serif; font-size: 11px; line-height: 16px; color: #000000; font-weight: normal; } #PageContent { text-align: left; background-color: #fff; padding: 0px; margin: 0px; padding-bottom:20px; } /* ** when this stylesheet is used for the Tiny MCE Wysiwyg editor's edit area, we can't ** use an id=PageContent or class=wiki-content, so we must ** set the body style to that used for PageContent, and p to that used for wiki-content. */ body { margin: 0px; padding: 0px; text-align: center; background-color: #f0f0f0; } @media print { body { background-color: #fff; } } .monospaceInput { font:12px monospace } .wiki-content p, .commentblock p { margin: 16px 0px 16px 0px; padding: 0px; } .wiki-content-preview { padding: 5px; border-left: 1px solid #3c78b5; border-right: 1px solid #3c78b5; } ul, ol { margin-top: 2px; margin-bottom: 2px; padding-top: 0px; padding-bottom: 0px; } pre { padding: 0px; margin-top: 5px; margin-left: 15px; margin-bottom: 5px; margin-right: 5px; text-align: left; } .helpheading { font-weight: bold; background-color: #D0D9BD; border-bottom: 1px solid #3c78b5; padding: 4px 4px 4px 4px; margin: 0px; margin-top: 10px; } .helpcontent { padding: 4px 4px 20px 4px; background-color: #f5f7f1; } .code { border: 1px dashed #3c78b5; font-size: 11px; font-family: Courier; margin: 10px; line-height: 13px; } .focusedComment { background: #ffffce; } .commentBox, .focusedComment { padding: 10px; margin: 5px 0 5px 0; border: 1px #bbb solid; } .codeHeader { background-color: #f0f0f0; border-bottom: 1px dashed #3c78b5; padding: 3px; text-align: center; } .codeContent { text-align: left; background-color: #f0f0f0; padding: 3px; } .preformatted { border: 1px dashed #3c78b5; font-size: 11px; font-family: Courier; margin: 10px; line-height: 13px; } .preformattedHeader { background-color: #f0f0f0; border-bottom: 1px dashed #3c78b5; padding: 3px; text-align: center; } .preformattedContent { background-color: #f0f0f0; padding: 3px; } .panel { border: 1px dashed #3c78b5; margin: 10px; margin-top: 0px; } .panelHeader { background-color: #f0f0f0; border-bottom: 1px dashed #3c78b5; padding: 3px; text-align: center; } .panelContent { background-color: #f0f0f0; padding: 5px; } .anonymousAlert { background-color: #f0f0f0; border: 1px dashed red; font-size: 11px; padding: 10px 5px 10px 5px; margin: 4px; line-height: 13px; } .lockAlert { background-color: #f0f0f0; width: 50%; border: 1px dashed red; font-size: 11px; padding: 10px 5px 10px 5px; margin: 4px; line-height: 13px; } .code-keyword { color: #000091; background-color: inherit; } .code-object { color: #910091; background-color: inherit; } .code-quote { color: #009100; background-color: inherit; } .code-comment { color: #808080; background-color: inherit; } .code-xml .code-keyword { color: inherit; font-weight: bold; } .code-tag { color: #000091; background-color: inherit; } .breadcrumbs { background-color: #f0f0f0; border-color: #3c78b5; border-width: 1px 0px 1px 0px; border-style: solid; font-size: 11px; padding: 3px 0px 3px 0px; } .navmenu { border: 1px solid #ccc; } .menuheading { font-weight: bold; background-color: #f0f0f0; border-bottom: 1px solid #3c78b5; padding: 4px 4px 2px 4px; } .menuitems { padding: 4px 4px 20px 4px; } .rightpanel { border-left: 1px solid #ccc; border-bottom: 1px solid #ccc; } #helpheading { text-align: left; font-weight: bold; background-color: #D0D9BD; border-bottom: 1px solid #3c78b5; padding: 4px 4px 4px 4px; margin: 0px; } #helpcontent { padding: 4px 4px 4px 4px; background-color: #f5f7f1; } .helptab-unselected { font-weight: bold; padding: 5px; background-color: #f5f7f1; } .helptab-selected { font-weight: bold; background-color: #D0D9BD; padding: 5px; } .helptabs { margin: 0px; background-color: #f5f7f1; padding: 5px; } .infopanel-heading { font-weight: bold; padding: 4px 0px 2px 0px; } .pagebody { } .pageheader { padding: 5px 5px 5px 0px; border-bottom: 1px solid #3c78b5; } .pagetitle { font-size: 22px; font-weight: bold; font-family: Arial, sans-serif; color: #003366; } .newpagetitle { color: #ccc !important; } .steptitle { font-size: 18px; font-weight: bold; font-family: Arial, sans-serif; color: #003366; margin-bottom: 7px; } .substeptitle { font-size: 12px; font-weight: bold; font-family: Arial, sans-serif; color: #003366; margin: 2px 4px 4px 4px; padding: 2px 4px 1px 4px; } .stepdesc { font-family: Verdana, arial, sans-serif; font-size: 11px; line-height: 16px; font-weight: normal; color: #666666; margin-top: 7px; margin-bottom: 7px; } .steplabel { font-weight: bold; margin-right: 4px; color: black; float: left; width: 15%; text-align: right; } .stepfield { background: #f0f0f0; padding: 5px; } .submitButtons{ margin-top:5px; text-align:right; } .formtitle { font-size: 12px; font-weight: bold; font-family: Arial, sans-serif; color: #003366; } .sectionbottom { border-bottom: 1px solid #3c78b5; } .topRow { border-top: 2px solid #3c78b5; } .tabletitle { font-size: 14px; font-weight: bold; font-family: Arial, sans-serif; padding: 3px 0px 2px 0px; margin: 8px 4px 2px 0px; color: #003366; border-bottom: 2px solid #3c78b5; } .pagesubheading { color: #666666; font-size: 10px; padding: 0px 0px 5px 0px; } HR { color: 3c78b5; height: 1; } A:link, A:visited, A:active, A:hover { color: #003366; } h1 A:link, h1 A:visited, h1 A:active { text-decoration: none; } h1 A:hover { border-bottom: 1px dotted #003366; } .wiki-content > :first-child, .commentblock > :first-child { margin-top: 3px; } .logocell { padding: 10px; } input { font-family: verdana, geneva, arial, sans-serif; font-size: 11px; color: #000000; } textarea, textarea.editor { font-family: verdana, geneva, arial, sans-serif; font-size: 11px; color: #333333; } /* use logoSpaceLink instead. .spacenametitle { font: 21px/31px Impact, Arial, Helvetica; font-weight: 100; color: #999999; margin: 0px; } .spacenametitle img { margin: 0 0 -4px 0; } .spacenametitle a { text-decoration: none; color: #999999; } .spacenametitle a:visited { text-decoration: none; color: #999999; }*/ .spacenametitle-printable { font: 20px/25px Impact, Arial, Helvetica; font-weight: 100; color: #999999; margin: 0px; } .spacenametitle-printable a { text-decoration: none; color: #999999; } .spacenametitle-printable a:visited { text-decoration: none; color: #999999; } .blogDate { font-weight: bold; text-decoration: none; color: black; } .blogSurtitle { background: #f0f0f0; border: 1px solid #ddd; padding: 3px; margin: 1px 1px 10px 1px; } .blogHeading { font-size: 20px; line-height: normal; font-weight: bold; padding: 0px; margin: 0px; } .blogHeading a { text-decoration: none; color: black; } .endsection { align: right; color: #666666; margin-top: 10px; } .endsectionleftnav { align: right; color: #666666; margin-top: 10px; } h1 { font-size: 24px; line-height: normal; font-weight: bold; background-color: #f0f0f0; color: #003366; border-bottom: 1px solid #3c78b5; padding: 2px; margin: 36px 0px 4px 0px; } h2 { font-size: 18px; line-height: normal; font-weight: bold; background-color: #f0f0f0; border-bottom: 1px solid #3c78b5; padding: 2px; margin: 27px 0px 4px 0px; } h3 { font-size: 14px; line-height: normal; font-weight: bold; background-color: #f0f0f0; padding: 2px; margin: 21px 0px 4px 0px; } h4 { font-size: 12px; line-height: normal; font-weight: bold; background-color: #f0f0f0; padding: 2px; margin: 18px 0px 4px 0px; } h4.search { font-size: 12px; line-height: normal; font-weight: normal; background-color: #f0f0f0; padding: 4px; margin: 18px 0px 4px 0px; } h5 { font-size: 10px; line-height: normal; font-weight: bold; background-color: #f0f0f0; padding: 2px; margin: 14px 0px 4px 0px; } h6 { font-size: 8px; line-height: normal; font-weight: bold; background-color: #f0f0f0; padding: 2px; margin: 14px 0px 4px 0px; } .smallfont { font-size: 10px; } .descfont { font-size: 10px; color: #666666; } .smallerfont { font-size: 9px; } .smalltext { color: #666666; font-size: 10px; } .smalltext a { color: #666666; } .smalltext-blue { color: #3c78b5; font-size: 10px; } .surtitle { margin-left: 1px; margin-bottom: 5px; font-size: 14px; color: #666666; } /* css hack found here: http://www.fo3nix.pwp.blueyonder.co.uk/tutorials/css/hacks/ */ .navItemOver { font-size: 10px; font-weight: bold; color: #ffffff; background-color: #003366; cursor: hand; voice-family: '\'}\''; voice-family:inherit; cursor: pointer;} .navItemOver a { color: #ffffff; background-color:#003366; text-decoration: none; } .navItemOver a:visited { color: #ffffff; background-color:#003366; text-decoration: none; } .navItemOver a:hover { color: #ffffff; background-color:#003366; text-decoration: none; } .navItem { font-size: 10px; font-weight: bold; color: #ffffff; background-color: #3c78b5; } .navItem a { color: #ffffff; text-decoration: none; } .navItem a:hover { color: #ffffff; text-decoration: none; } .navItem a:visited { color: #ffffff; text-decoration: none; } div.padded { padding: 4px; } div.thickPadded { padding: 10px; } h3.macrolibrariestitle { margin: 0px 0px 0px 0px; } div.centered { text-align: center; margin: 10px; } div.centered table {margin: 0px auto; text-align: left; } .tableview table { margin: 0; } .tableview th { text-align: left; color: #003366; font-size: 12px; padding: 5px 0px 0px 5px; border-bottom: 2px solid #3c78b5; } .tableview td { text-align: left; border-color: #ccc; border-width: 0px 0px 1px 0px; border-style: solid; margin: 0; padding: 4px 10px 4px 5px; } .grid { margin: 2px 0px 5px 0px; border-collapse: collapse; } .grid th { border: 1px solid #ccc; padding: 2px 4px 2px 4px; background: #f0f0f0; text-align: center; } .grid td { border: 1px solid #ccc; padding: 3px 4px 3px 4px; } .gridHover { background-color: #f9f9f9; } td.infocell { background-color: #f0f0f0; } .label { font-weight: bold; color: #003366; } label { font-weight: bold; color: #003366; } .error { background-color: #fcc; } .errorBox { background-color: #fcc; border: 1px solid #c00; padding: 5px; margin: 5px; } .errorMessage { color: #c00; } .success { background-color: #dfd; } .successBox { background-color: #dfd; border: 1px solid #090; padding: 5px; margin-top:5px; margin-bottom:5px; } blockquote { padding-left: 10px; padding-right: 10px; margin-left: 5px; margin-right: 0px; border-left: 1px solid #3c78b5; } table.confluenceTable { margin: 5px; border-collapse: collapse; } /* Added as a temporary fix for CONF-4223. The table elements appear to be inheriting the border: none attribute from the sectionMacro class */ table.confluenceTable td.confluenceTd { border-width: 1px; border-style: solid; border-color: #ccc; padding: 3px 4px 3px 4px; } /* Added as a temporary fix for CONF-4223. The table elements appear to be inheriting the border: none attribute from the sectionMacro class */ table.confluenceTable th.confluenceTh { border-width: 1px; border-style: solid; border-color: #ccc; padding: 3px 4px 3px 4px; background-color: #f0f0f0; text-align: center; } td.confluenceTd { border-width: 1px; border-style: solid; border-color: #ccc; padding: 3px 4px 3px 4px; } th.confluenceTh { border-width: 1px; border-style: solid; border-color: #ccc; padding: 3px 4px 3px 4px; background-color: #f0f0f0; text-align: center; } DIV.small { font-size: 9px; } H1.pagename { margin-top: 0px; } IMG.inline {} .loginform { margin: 5px; border: 1px solid #ccc; } /* The text how the "This is a preview" comment should be shown. */ .previewnote { text-align: center; font-size: 11px; color: red; } /* How the preview content should be shown */ .previewcontent { background: #E0E0E0; } /* How the system messages should be shown (DisplayMessage.jsp) */ .messagecontent { background: #E0E0E0; } /* How the "This page has been modified..." -comment should be shown. */ .conflictnote { } .createlink { color: maroon; } a.createlink { color: maroon; } .templateparameter { font-size: 9px; color: darkblue; } .diffadded { background: #ddffdd; padding: 1px 1px 1px 4px; border-left: 4px solid darkgreen; } .diffdeleted { color: #999; background: #ffdddd; padding: 1px 1px 1px 4px; border-left: 4px solid darkred; } .diffnochange { padding: 1px 1px 1px 4px; border-left: 4px solid lightgrey; } .differror { background: brown; } .diff { font-family: lucida console, courier new, fixed-width; font-size: 12px; line-height: 14px; } .diffaddedchars { background-color:#99ff99; font-weight:bolder; } .diffremovedchars { background-color:#ff9999; text-decoration: line-through; font-weight:bolder; } .greybackground { background: #f0f0f0 } .greybox { border: 1px solid #ddd; padding: 3px; margin: 1px 1px 10px 1px; } .borderedGreyBox { border: 1px solid #cccccc; background-color: #f0f0f0; padding: 10px; } .greyboxfilled { border: 1px solid #ddd; background: #f0f0f0; padding: 3px; margin: 1px 1px 10px 1px; } .navBackgroundBox { padding: 5px 5px 5px 5px; font-size: 22px; font-weight: bold; font-family: Arial, sans-serif; color: white; background: #3c78b5; text-decoration: none; } .previewBoxTop { background-color: #f0f0f0; border-width: 1px 1px 0px 1px; border-style: solid; border-color: #3c78b5; padding: 5px; margin: 5px 0px 0px 0px; text-align: center; } .previewContent { background-color: #fff; border-color: #3c78b5; border-width: 0px 1px 0px 1px; border-style: solid; padding: 10px; margin: 0px; } .previewBoxBottom { background-color: #f0f0f0; border-width: 0px 1px 1px 1px; border-style: solid; border-color: #3c78b5; padding: 5px; margin: 0px 0px 5px 0px; text-align: center; } .functionbox { background-color: #f0f0f0; border: 1px solid #3c78b5; padding: 3px; margin: 1px 1px 10px 1px; } .functionbox-greyborder { background-color: #f0f0f0; border: 1px solid #ddd; padding: 3px; margin: 1px 1px 10px 1px; } .search-highlight { background-color: #ffffcc; } /* normal (white) background */ .rowNormal { background-color: #ffffff; } /* alternate (pale yellow) background */ .rowAlternate { background-color: #f7f7f7; } /* used in the list attachments table */ .rowAlternateNoBottomColor { background-color: #f7f7f7; } .rowAlternateNoBottomNoColor { } .rowAlternateNoBottomColor td { border-bottom: 0px; } .rowAlternateNoBottomNoColor td { border-bottom: 0px; } /* row highlight (grey) background */ .rowHighlight { background-color: #f0f0f0; } TD.greenbar {FONT-SIZE: 2px; BACKGROUND: #00df00; BORDER: 1px solid #9c9c9c; PADDING: 0px; } TD.redbar {FONT-SIZE: 2px; BACKGROUND: #df0000; BORDER: 1px solid #9c9c9c; PADDING: 0px; } TD.darkredbar {FONT-SIZE: 2px; BACKGROUND: #af0000; BORDER: 1px solid #9c9c9c; PADDING: 0px; } TR.testpassed {FONT-SIZE: 2px; BACKGROUND: #ddffdd; PADDING: 0px; } TR.testfailed {FONT-SIZE: 2px; BACKGROUND: #ffdddd; PADDING: 0px; } .toolbar { margin: 0px; border-collapse: collapse; } .toolbar td { border: 1px solid #ccc; padding: 2px 2px 2px 2px; color: #ccc; } td.noformatting { border-width: 0px; border-style: none; text-align: center; padding: 0px; } .commentblock { margin: 12px 0 12px 0; } /* * Divs displaying the license information, if necessary. */ .license-eval, .license-none, .license-nonprofit { border-top: 1px solid #bbbbbb; text-align: center; font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; } .license-eval, .license-none { background-color: #ffcccc; } .license-eval b, .license-none b { color: #990000 } .license-nonprofit { background-color: #ffffff; } /* * The shadow at the bottom of the page between the main content and the * "powered by" section. */ .bottomshadow { height: 12px; background-image: url("$req.contextPath/images/border/border_bottom.gif"); background-repeat: repeat-x; } /* * Styling of the operations box */ .navmenu .operations li, .navmenu .operations ul { list-style: none; margin-left: 0; padding-left: 0; } .navmenu .operations ul { margin-bottom: 9px; } .navmenu .label { font-weight: inherit; } /* * Styling of ops as a toolbar */ .toolbar div { display: none; } .toolbar .label { display: none; } .toolbar .operations { display: block; } .toolbar .operations ul { display: inline; list-style: none; margin-left: 10px; padding-left: 0; } .toolbar .operations li { list-style: none; display: inline; } /* list page navigational tabs */ #foldertab { padding: 3px 0px 3px 8px; margin-left: 0; border-bottom: 1px solid #3c78b5; font: bold 11px Verdana, sans-serif; } #foldertab li { list-style: none; margin: 0; display: inline; } #foldertab li a { padding: 3px 0.5em; margin-left: 3px; border: 1px solid #3c78b5; border-bottom: none; background: #3c78b5; text-decoration: none; } #foldertab li a:link { color: #ffffff; } #foldertab li a:visited { color: #ffffff; } #foldertab li a:hover { color: #ffffff; background: #003366; border-color: #003366; } #foldertab li a.current { background: white; border-bottom: 1px solid white; color: black; } #foldertab li a.current:link { color: black; } #foldertab li a.current:visited { color: black; } #foldertab li a.current:hover { background: white; border-bottom: 1px solid white; color: black; } /* alphabet list */ ul#squaretab { margin-left: 0; padding-left: 0; white-space: nowrap; font: bold 8px Verdana, sans-serif; } #squaretab li { display: inline; list-style-type: none; } #squaretab a { padding: 2px 6px; border: 1px solid #3c78b5; } #squaretab a:link, #squaretab a:visited { color: #fff; background-color: #3c78b5; text-decoration: none; } #squaretab a:hover { color: #ffffff; background-color: #003366; border-color: #003366; text-decoration: none; } #squaretab li a#current { background: white; color: black; } .blogcalendar * { font-family:verdana, arial, sans-serif; font-size:x-small; font-weight:normal; line-height:140%; padding:2px; } table.blogcalendar { border: 1px solid #3c78b5; } .blogcalendar th.calendarhead, a.calendarhead { font-size:x-small; font-weight:bold; padding:2px; text-transform:uppercase; background-color: #3c78b5; color: #ffffff; letter-spacing: .3em; text-transform: uppercase; } .calendarhead:visited {color: white;} .calendarhead:active {color: white;} .calendarhead:hover {color: white;} .blogcalendar th { font-size:x-small; font-weight:bold; padding:2px; background-color:#f0f0f0; } .blogcalendar td { font-size:x-small; font-weight:normal; } .searchGroup { padding: 0 0 10px 0; background: #f0f0f0; } .searchGroupHeading { font-size: 10px; font-weight: bold; color: #ffffff; background-color: #3c78b5; padding: 2px 4px 1px 4px; } .searchItem { padding: 1px 4px 1px 4px; } .searchItemSelected { padding: 1px 4px 1px 4px; font-weight: bold; background: #ddd; } /* permissions page styles */ .permissionHeading { border-bottom: #bbb; border-width: 0 0 1px 0; border-style: solid; font-size: 16px; text-align: left; } .permissionTab { border-width: 0 0 0 1px; border-style: solid; background: #3c78b5; color: #ffffff; font-size: 10px; } .permissionSuperTab { border-width: 0 0 0 1px; border-style: solid; background: #003366; color: #ffffff; } .permissionCell { border-left: #bbb; border-width: 0 0 0 1px; border-style: solid; } /* warning panel */ .warningPanel { background: #FFFFCE; border:#F0C000 1px solid; padding: 8px; margin: 10px; } /* alert panel */ .alertPanel { background: #FFCCCC; border:#C00 1px solid; padding: 8px; margin: 10px; } /* info panel */ .infoPanel { background: #D8E4F1; border:#3c78b5 1px solid; padding: 8px; margin: 10px; } /* side menu highlighting (e.g. space content screen) */ .optionPadded { padding: 2px; } .optionSelected { background-color: #ffffcc; padding: 2px; border: 1px solid #ddd; margin: -1px; } .optionSelected a { font-weight: bold; text-decoration: none; color: black; } /* information macros */ .noteMacro { border-style: solid; border-width: 1px; border-color: #F0C000; background-color: #FFFFCE; text-align:left; margin-top: 5px; margin-bottom: 5px} .warningMacro { border-style: solid; border-width: 1px; border-color: #c00; background-color: #fcc; text-align:left; margin-top: 5px; margin-bottom: 5px} .infoMacro { border-style: solid; border-width: 1px; border-color: #3c78b5; background-color: #D8E4F1; text-align:left; margin-top: 5px; margin-bottom: 5px} .tipMacro { border-style: solid; border-width: 1px; border-color: #090; background-color: #dfd; text-align:left; margin-top: 5px; margin-bottom: 5px} .informationMacroPadding { padding: 5px 0 0 5px; } table.infoMacro td, table.warningMacro td, table.tipMacro td, table.noteMacro td, table.sectionMacro td { border: none; } table.sectionMacroWithBorder td.columnMacro { border-style: dashed; border-width: 1px; border-color: #cccccc;} .pagecontent { padding: 10px; text-align: left; } /* styles for links in the top bar */ .topBarDiv a:link {color: #ffffff;} .topBarDiv a:visited {color: #ffffff;} .topBarDiv a:active {color: #ffffff;} .topBarDiv a:hover {color: #ffffff;} .topBarDiv {color: #ffffff;} .topBar { background-color: #003366; } /* styles for extended operations */ .greyLinks a:link {color: #666666; text-decoration:underline;} .greyLinks a:visited {color: #666666; text-decoration:underline;} .greyLinks a:active {color: #666666; text-decoration:underline;} .greyLinks a:hover {color: #666666; text-decoration:underline;} .greyLinks {color: #666666; display:block; padding: 10px} .logoSpaceLink {color: #999999; text-decoration: none} .logoSpaceLink a:link {color: #999999; text-decoration: none} .logoSpaceLink a:visited {color: #999999; text-decoration: none} .logoSpaceLink a:active {color: #999999; text-decoration: none} .logoSpaceLink a:hover {color: #003366; text-decoration: none} /* basic panel (basicpanel.vmd) style */ .basicPanelContainer {border: 1px solid #3c78b5; margin-top: 2px; margin-bottom: 8px; width: 100%} .basicPanelTitle {padding: 5px; margin: 0px; background-color: #f0f0f0; color: black; font-weight: bold;} .basicPanelBody {padding: 5px; margin: 0px} .separatorLinks a:link {color: white} .separatorLinks a:visited {color: white} .separatorLinks a:active {color: white} .greynavbar {background-color: #f0f0f0; border-top: 1px solid #3c78b5; margin-top: 2px} div.headerField { float: left; width: auto; height: 100%; } .headerFloat { margin-left: auto; width: 50%; } .headerFloatLeft { float: left; margin-right: 20px; margin-bottom: 10px; } #headerRow { padding: 10px; } div.license-personal { background-color: #003366; color: #ffffff; } div.license-personal a { color: #ffffff; } .greyFormBox { border: 1px solid #cccccc; padding: 5px; } /* IE automatically adds a margin before and after form tags. Use this style to remove that */ .marginlessForm { margin: 0px; } .openPageHighlight { background-color: #ffffcc; padding: 2px; border: 1px solid #ddd; } .editPageInsertLinks, .editPageInsertLinks a { color: #666666; font-weight: bold; font-size: 10px; } /* Style for label heatmap. */ .top10 a { font-weight: bold; font-size: 2em; color: #003366; } .top25 a { font-weight: bold; font-size: 1.6em; color: #003366; } .top50 a { font-size: 1.4em; color: #003366; } .top100 a { font-size: 1.2em; color: #003366; } .heatmap { list-style:none; width: 95%; margin: 0px auto; } .heatmap a { text-decoration:none; } .heatmap a:hover { text-decoration:underline; } .heatmap li { display: inline; } .minitab { padding: 3px 0px 3px 8px; margin-left: 0; margin-top: 1px; margin-bottom: 0px; border-bottom: 1px solid #3c78b5; font: bold 9px Verdana, sans-serif; text-decoration: none; float:none; } .selectedminitab { padding: 3px 0.5em; margin-left: 3px; margin-top: 1px; border: 1px solid #3c78b5; background: white; border-bottom: 1px solid white; color: #000000; text-decoration: none; } .unselectedminitab { padding: 3px 0.5em; margin-left: 3px; margin-top: 1px; border: 1px solid #3c78b5; border-bottom: none; background: #3c78b5; color: #ffffff; text-decoration: none; } a.unselectedminitab:hover { color: #ffffff; background: #003366; border-color: #003366; } a.unselectedminitab:link { color: white; } a.unselectedminitab:visited { color: white; } a.selectedminitab:link { color: black; } a.selectedminitab:visited { color: black; } .linkerror { background-color: #fcc;} a.labelOperationLink:link {text-decoration: underline} a.labelOperationLink:active {text-decoration: underline} a.labelOperationLink:visited {text-decoration: underline} a.labelOperationLink:hover {text-decoration: underline} a.newLabel:link {background-color: #ddffdd} a.newLabel:active {background-color: #ddffdd} a.newLabel:visited {background-color: #ddffdd} a.newLabel:hover {background-color: #ddffdd} ul.square {list-style-type: square} .inline-control-link { background: #ffc; font-size: 9px; color: #666; padding: 2px; text-transform: uppercase; text-decoration: none; } .inline-control-link a:link {text-decoration: none} .inline-control-link a:active {text-decoration: none} .inline-control-link a:visited {text-decoration: none} .inline-control-link a:hover {text-decoration: none} .inline-control-link { background: #ffc; font-size: 9px; color: #666; padding: 2px; text-transform: uppercase; text-decoration: none; cursor: pointer; } div.auto_complete { width: 350px; background: #fff; } div.auto_complete ul { border: 1px solid #888; margin: 0; padding: 0; width: 100%; list-style-type: none; } div.auto_complete ul li { margin: 0; padding: 3px; } div.auto_complete ul li.selected { background-color: #ffb; } div.auto_complete ul strong.highlight { color: #800; margin: 0; padding: 0; } /******* Edit Page Styles *******/ .toogleFormDiv{ border:1px solid #A7A6AA; background-color:white; padding:5px; margin-top: 5px; } .toogleInfoDiv{ border:1px solid #A7A6AA; background-color:white; display:none; padding:5px; margin-top: 10px; } .inputSection{ margin-bottom:20px; } #editBox{ border:1px solid lightgray; background-color:#F0F0F0; } /******* Left Navigation Theme Styles ********/ .leftnav li a { text-decoration:none; color:white; margin:0px; display:block; padding:2px; padding-left:5px; background-color: #3c78b5; border-top:1px solid #3c78b5; } .leftnav li a:active {color:white;} .leftnav li a:visited {color:white;} .leftnav li a:hover {background-color: #003366; color:white;} /* Added by Shaun during i18n */ .replaced { background-color: #33CC66; } .topPadding { margin-top: 20px; } /* new form style */ .form-block { padding: 6px; } .form-error-block { padding: 6px; background: #fcc; border-top: #f0f0f0 1px solid; border-bottom: #f0f0f0 1px solid; margin-bottom: 6px; padding: 0 12px 0 12px; } .form-element-large { font-size: 16px; font-weight: bold; font-family: Arial, sans-serif; color: #003366; } .form-element-small { font-size: 12px; font-weight: bold; font-family: Arial, sans-serif; color: #003366; } .form-header { background: lightyellow; border-top: #f0f0f0 1px solid; border-bottom: #f0f0f0 1px solid; margin-bottom: 6px; padding: 0 12px 0 12px; } .form-header p, .form-block p, .form-error-block p { line-height: normal; margin: 12px 0 12px 0; } .form-example { color: #888; font-size: 11px; } .form-divider { border-bottom: #ccc 1px solid; margin-bottom: 6px; } .form-buttons { margin-top: 6px; border-top: #ccc 1px solid; border-bottom: #ccc 1px solid; background: #f0f0f0; padding: 10px; text-align: center; } .form-buttons input { width: 100px; } .form-block .error { padding: 6px; margin-bottom: 6px; } --> </style> </head> <body> <div id="PageContent"> <table class="pagecontent" border="0" cellpadding="0" cellspacing="0" width="100%"><tr> <td valign="top" class="pagebody"> <div class="pageheader"> <span class="pagetitle"> Page Edited : <a href="http://cwiki.apache.org/confluence/display/CAYSITE">CAYSITE</a> : <a href="http://cwiki.apache.org/confluence/display/CAYSITE/Eclipse">Eclipse</a> </span> </div> <p> <a href="http://cwiki.apache.org/confluence/display/CAYSITE/Eclipse">Eclipse</a> has been edited by <a href="http://cwiki.apache.org/confluence/display/~andrus">Andrus Adamchik</a> <span class="smallfont">(Apr 29, 2007)</span>. </p> <p> <a href="http://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=9750&originalVersion=37&revisedVersion=38">(View changes)</a> </p> <span class="label">Content:</span><br/> <div class="greybox wiki-content"><h2><a name="Eclipse-UsingEclipsewithMavenizedCayenne"></a>Using Eclipse with Mavenized Cayenne </h2> <p><em>(starting with version 3.0)</em></p> <ul> <li>Get code from Subversion and <a href="/confluence/display/CAYSITE/Building+Cayenne" title="Building Cayenne">build it from command line</a> to seed the local repository. <b>Do not use "mvn eclipse:eclipse"</b> &#8211; the .project and .classpath files for eclipse are already in svn.</li> </ul> <ul> <li>Create two workspaces outside of the main checkout folder - one for JDK 1.4 and one for 1.5 code. Set the installed JRE under "window -&gt; preferences -&gt; java -&gt; Installed JREs" as appropriate for each workspace. Note that you will not be able to have both workspaces open at the same time within a single instance of Eclipse. The resulting folder layout may look like this: <ul> <li><b><tt>somepath/cayenne</tt></b> (svn Cayenne trunk checkout)</li> <li><b><tt>somepath/jdk14</tt></b> (workspace for java 1.4.2)</li> <li><b><tt>somepath/jdk15</tt></b> (workspace for java 1.5)</li> </ul> </li> </ul> <ul> <li>Install <span class="nobr"><a href="http://m2eclipse.codehaus.org/" title="Visit page outside Confluence" rel="nofollow">Maven2 Eclipse plugin<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span></li> </ul> <ul> <li>Install <span class="nobr"><a href="http://subclipse.tigris.org/" title="Visit page outside Confluence" rel="nofollow">Subclipse 1.x Eclipse plugin<sup><img class="rendericon" src="/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span>. Note that Subclipse 0.9.x will not work with the cayenne svn repository.</li> </ul> <ul> <li>Import modules into appropriate eclipse workspaces. If you import the 1.4 modules into a 1.5 workspace, ensure that you have not accidentally used a Java 1.5 Class method before committing &#8211; the compiler will not catch this as the 1.5 classes are on the classpath even when using the 1.4 compiler targets. You don't have to import all modules, only those that you are planning to work on, as the projects do not have Eclipse-level dependencies on each other (dependencies are resolved via the Maven2 plugin and maven repository jars).</li> </ul> <table class='confluenceTable'><tbody> <tr> <th class='confluenceTh'>Module</th> <th class='confluenceTh'>Maven Module</th> <th class='confluenceTh'>jdk</th> <th class='confluenceTh'>description</th> </tr> <tr> <td class='confluenceTd'>Cayenne Runtime</td> <td class='confluenceTd'>cayenne-jdk1.4-unpublished</td> <td class='confluenceTd'>1.4</td> <td class='confluenceTd'>&nbsp;</td> </tr> <tr> <td class='confluenceTd'>&nbsp;</td> <td class='confluenceTd'>cayenne-jdk1.5-unpublished</td> <td class='confluenceTd'>1.5</td> <td class='confluenceTd'>&nbsp;</td> </tr> <tr> <td class='confluenceTd'>&nbsp;</td> <td class='confluenceTd'>cayenne-jpa-unpublished</td> <td class='confluenceTd'>1.5</td> <td class='confluenceTd'>jpa runtime</td> </tr> <tr> <td class='confluenceTd'>&nbsp;</td> <td class='confluenceTd'>cayenne-agent</td> <td class='confluenceTd'>1.5</td> <td class='confluenceTd'>POJO enhancement agent</td> </tr> <tr> <td class='confluenceTd'>&nbsp;</td> <td class='confluenceTd'>&nbsp;</td> <td class='confluenceTd'>&nbsp;</td> <td class='confluenceTd'>&nbsp;</td> </tr> <tr> <td class='confluenceTd'>Cayenne Modeler</td> <td class='confluenceTd'>cayenne-modeler</td> <td class='confluenceTd'>1.4</td> <td class='confluenceTd'>&nbsp;</td> </tr> <tr> <td class='confluenceTd'>&nbsp;</td> <td class='confluenceTd'>&nbsp;</td> <td class='confluenceTd'>&nbsp;</td> <td class='confluenceTd'>&nbsp;</td> </tr> <tr> <td class='confluenceTd'>Maven Support</td> <td class='confluenceTd'>cayenne-maven-plugin</td> <td class='confluenceTd'>1.4</td> <td class='confluenceTd'>&nbsp;</td> </tr> <tr> <td class='confluenceTd'>&nbsp;</td> <td class='confluenceTd'>maven-cayenne-build-plugin</td> <td class='confluenceTd'>1.4</td> <td class='confluenceTd'>&nbsp;</td> </tr> <tr> <td class='confluenceTd'>&nbsp;</td> <td class='confluenceTd'>maven-cayenne-doc-plugin</td> <td class='confluenceTd'>1.4</td> <td class='confluenceTd'>&nbsp;</td> </tr> <tr> <td class='confluenceTd'>&nbsp;</td> <td class='confluenceTd'>&nbsp;</td> <td class='confluenceTd'>&nbsp;</td> <td class='confluenceTd'>&nbsp;</td> </tr> <tr> <td class='confluenceTd'>Testing</td> <td class='confluenceTd'>itest-common</td> <td class='confluenceTd'>1.5</td> <td class='confluenceTd'>integration testing</td> </tr> <tr> <td class='confluenceTd'>&nbsp;</td> <td class='confluenceTd'>cayenne-regression-profiler</td> <td class='confluenceTd'>1.4</td> <td class='confluenceTd'>regression testing &#8211; currently broken</td> </tr> <tr> <td class='confluenceTd'>&nbsp;</td> <td class='confluenceTd'>jpa-chapter2</td> <td class='confluenceTd'>1.5</td> <td class='confluenceTd'>&nbsp;</td> </tr> <tr> <td class='confluenceTd'>&nbsp;</td> <td class='confluenceTd'>jpa-chapter3</td> <td class='confluenceTd'>1.5</td> <td class='confluenceTd'>&nbsp;</td> </tr> <tr> <td class='confluenceTd'>&nbsp;</td> <td class='confluenceTd'>jpa-chapter5</td> <td class='confluenceTd'>1.5</td> <td class='confluenceTd'>&nbsp;</td> </tr> <tr> <td class='confluenceTd'>&nbsp;</td> <td class='confluenceTd'>jpa-chapter9</td> <td class='confluenceTd'>1.5</td> <td class='confluenceTd'>&nbsp;</td> </tr> <tr> <td class='confluenceTd'>&nbsp;</td> <td class='confluenceTd'>pojo</td> <td class='confluenceTd'>1.5</td> <td class='confluenceTd'>&nbsp;</td> </tr> <tr> <td class='confluenceTd'>&nbsp;</td> <td class='confluenceTd'>&nbsp;</td> <td class='confluenceTd'>&nbsp;</td> <td class='confluenceTd'>&nbsp;</td> </tr> <tr> <td class='confluenceTd'>Tutorials</td> <td class='confluenceTd'>cayenne-tutorial</td> <td class='confluenceTd'>1.4</td> <td class='confluenceTd'>currently broken</td> </tr> <tr> <td class='confluenceTd'>&nbsp;</td> <td class='confluenceTd'>cayenne-rop-client-tutorial</td> <td class='confluenceTd'>1.4</td> <td class='confluenceTd'>currently broken</td> </tr> <tr> <td class='confluenceTd'>&nbsp;</td> <td class='confluenceTd'>cayenne-rop-server-tutorial</td> <td class='confluenceTd'>1.4</td> <td class='confluenceTd'>currently broken</td> </tr> </tbody></table> </div> </td></tr></table></div> <p> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td height="12" background="http://cwiki.apache.org/confluence/images/border/border_bottom.gif"><img src="http://cwiki.apache.org/confluence/images/border/spacer.gif" width="1" height="1" border="0"/></td> </tr> </table> <div class="smalltext"> Powered by <a href="http://www.atlassian.com/software/confluence/default.jsp?clicked=footer" class="smalltext">Atlassian Confluence</a> (Version: 2.2.9 Build:#527 Sep 07, 2006) - <a href="http://jira.atlassian.com/secure/BrowseProject.jspa?id=10470" class="smalltext">Bug/feature request</a><br/> <br> <a href="http://cwiki.apache.org/confluence/users/viewnotifications.action">Unsubscribe or edit your notifications preferences</a> </div> </body> </html> From [email protected] Mon Apr 30 15:05:24 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89890 invoked from network); 30 Apr 2007 15:05:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Apr 2007 15:05:24 -0000 Received: (qmail 87531 invoked by uid 500); 30 Apr 2007 15:05:30 -0000 Delivered-To: [email protected] Received: (qmail 87519 invoked by uid 500); 30 Apr 2007 15:05:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 87510 invoked by uid 500); 30 Apr 2007 15:05:30 -0000 Delivered-To: [email protected] Received: (qmail 87507 invoked by uid 99); 30 Apr 2007 15:05:30 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Apr 2007 08:05:30 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 30 Apr 2007 08:05:23 -0700 Received: (qmail 89749 invoked by uid 1723); 30 Apr 2007 15:05:02 -0000 Date: 30 Apr 2007 15:05:00 -0000 Message-ID: <[email protected]> TO: [email protected] FROM: [email protected] SUBJECT: Issues Opened: week of 2007-04-30 X-Virus-Checked: Checked by ClamAV on apache.org Cayenne - Monday, April 30, 2007 1 opened in last 7 days [CAY-783] jgroups config file not removed from cayenne.xml - Type: Bug - Reporter: peter schröder - Components: [CayenneModeler GUI] - Affects Versions: [] - http://issues.apache.org/cayenne/browse/CAY-783 From [email protected] Mon Apr 30 15:07:24 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90884 invoked from network); 30 Apr 2007 15:07:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Apr 2007 15:07:23 -0000 Received: (qmail 89483 invoked by uid 500); 30 Apr 2007 15:07:30 -0000 Delivered-To: [email protected] Received: (qmail 89464 invoked by uid 500); 30 Apr 2007 15:07:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 89454 invoked by uid 500); 30 Apr 2007 15:07:30 -0000 Delivered-To: [email protected] Received: (qmail 89451 invoked by uid 99); 30 Apr 2007 15:07:30 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Apr 2007 08:07:30 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 30 Apr 2007 08:07:23 -0700 Received: (qmail 90705 invoked by uid 1723); 30 Apr 2007 15:07:02 -0000 Date: 30 Apr 2007 15:07:00 -0000 Message-ID: <[email protected]> TO: [email protected] FROM: [email protected] SUBJECT: Issues Closed: week of 2007-04-30 X-Virus-Checked: Checked by ClamAV on apache.org Cayenne - Monday, April 30, 2007 2 closed in last 7 days [CAY-782] CLONE -ROP tutorial update (seems to still not work) - Type: Bug - Assignee: Unassigned - Components: [Cayenne Examples] - Fix Versions: [] - http://issues.apache.org/cayenne/browse/CAY-782 [CAY-781] Bug in CayenneDataObject.readNestedProperty - Type: Bug - Assignee: Michael Gentry - Components: [Cayenne Core Library] - Fix Versions: [1.2 [STABLE], 2.0 [STABLE], 3.0] - http://issues.apache.org/cayenne/browse/CAY-781 From [email protected] Mon Apr 30 23:48:24 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81237 invoked from network); 30 Apr 2007 23:48:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Apr 2007 23:48:24 -0000 Received: (qmail 96832 invoked by uid 500); 30 Apr 2007 23:48:30 -0000 Delivered-To: [email protected] Received: (qmail 96811 invoked by uid 500); 30 Apr 2007 23:48:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 96802 invoked by uid 99); 30 Apr 2007 23:48:30 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Apr 2007 16:48:30 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Apr 2007 16:48:23 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 63BAE1A983A; Mon, 30 Apr 2007 16:48:03 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r533886 - in /cayenne/main/branches/STABLE-2.0/cayenne/cayenne-java/src/cayenne/java/org/apache/cayenne/xml: XMLDecoder.java XMLMappingDescriptor.java Date: Mon, 30 Apr 2007 23:48:03 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: kmenard Date: Mon Apr 30 16:48:02 2007 New Revision: 533886 URL: http://svn.apache.org/viewvc?view=rev&rev=533886 Log: CAY-763: XML Deserialization fails on relationships when using a mapping file. Applied Robert Zeigler's patch mostly unchanged. This allows the XMLDecoder to pass through a user supplied data context to the mapping decoder. Modified: cayenne/main/branches/STABLE-2.0/cayenne/cayenne-java/src/cayenne/java/org/apache/cayenne/xml/XMLDecoder.java cayenne/main/branches/STABLE-2.0/cayenne/cayenne-java/src/cayenne/java/org/apache/cayenne/xml/XMLMappingDescriptor.java Modified: cayenne/main/branches/STABLE-2.0/cayenne/cayenne-java/src/cayenne/java/org/apache/cayenne/xml/XMLDecoder.java URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-2.0/cayenne/cayenne-java/src/cayenne/java/org/apache/cayenne/xml/XMLDecoder.java?view=diff&rev=533886&r1=533885&r2=533886 ============================================================================== --- cayenne/main/branches/STABLE-2.0/cayenne/cayenne-java/src/cayenne/java/org/apache/cayenne/xml/XMLDecoder.java (original) +++ cayenne/main/branches/STABLE-2.0/cayenne/cayenne-java/src/cayenne/java/org/apache/cayenne/xml/XMLDecoder.java Mon Apr 30 16:48:02 2007 @@ -202,18 +202,14 @@ try { // This crazy conditional checks if we're decoding a collection. There are two - // ways - // to enter into this body: + // ways to enter into this body: // 1) If there are two elements at the same level with the same name, then - // they should - // part of a collection. + // they should be part of a collection. // 2) If a single occurring element has the "forceList" attribute set to - // "YES", then it - // too should be treated as a collection. + // "YES", then it too should be treated as a collection. // // The final part checks that we have not previously attempted to decode this - // collection, - // which is necessary to prevent infinite loops . + // collection, which is necessary to prevent infinite loops. if ((((null != child.getParentNode()) && (XMLUtil.getChildren( child.getParentNode(), child.getNodeName()).size() > 1)) || (child @@ -324,11 +320,7 @@ // MappingUtils will really do all the work. XMLMappingDescriptor mu = new XMLMappingDescriptor(mappingUrl); - Object ret = mu.decode(data.getDocumentElement()); - - if (dataContext != null) { - dataContext.registerNewObject((DataObject) ret); - } + Object ret = mu.decode(data.getDocumentElement(), dataContext); return ret; } @@ -498,11 +490,7 @@ Object o; if (mu != null) { - o = mu.decode(e); - - if (dataContext != null && o instanceof DataObject) { - dataContext.registerNewObject((DataObject) o); - } + o = mu.decode(e, dataContext); } else { // decoder will do DataContext registration if needed. Modified: cayenne/main/branches/STABLE-2.0/cayenne/cayenne-java/src/cayenne/java/org/apache/cayenne/xml/XMLMappingDescriptor.java URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-2.0/cayenne/cayenne-java/src/cayenne/java/org/apache/cayenne/xml/XMLMappingDescriptor.java?view=diff&rev=533886&r1=533885&r2=533886 ============================================================================== --- cayenne/main/branches/STABLE-2.0/cayenne/cayenne-java/src/cayenne/java/org/apache/cayenne/xml/XMLMappingDescriptor.java (original) +++ cayenne/main/branches/STABLE-2.0/cayenne/cayenne-java/src/cayenne/java/org/apache/cayenne/xml/XMLMappingDescriptor.java Mon Apr 30 16:48:02 2007 @@ -27,6 +27,8 @@ import javax.xml.parsers.DocumentBuilder; import org.apache.cayenne.CayenneRuntimeException; +import org.apache.cayenne.DataObject; +import org.apache.cayenne.access.DataContext; import org.apache.cayenne.property.PropertyUtils; import org.w3c.dom.Attr; import org.w3c.dom.Document; @@ -44,6 +46,7 @@ private SerializableEntity rootEntity; private Map entities; + private DataContext dataContext; /** * Creates new XMLMappingDescriptor using a URL that points to the mapping file. @@ -99,11 +102,14 @@ * @return The decoded object. * @throws CayenneRuntimeException */ - Object decode(Element xml) throws CayenneRuntimeException { + Object decode(Element xml, DataContext dataContext) throws CayenneRuntimeException { // TODO: Add an error check to make sure the mapping file actually is for this // data file. + // Store a local copy of the data context. + this.dataContext = dataContext; + // Create the object to be returned. Object ret = createObject(rootEntity.getDescriptor(), xml); @@ -190,7 +196,7 @@ } /** - * Sets decoded object property. If a property os of Collection type, an object is + * Sets decoded object property. If a property is of Collection type, an object is * added to the collection. */ private void setProperty(Object object, String propertyName, Object value) { @@ -235,6 +241,11 @@ catch (Exception ex) { throw new CayenneRuntimeException("Error creating instance of class " + className, ex); + } + + // If a data context has been supplied by the user, then register the data object with the context. + if ((null != dataContext) && (object instanceof DataObject)) { + dataContext.registerNewObject((DataObject) object); } NamedNodeMap attributes = objectData.getAttributes(); From [email protected] Mon Apr 30 23:56:28 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82193 invoked from network); 30 Apr 2007 23:56:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Apr 2007 23:56:28 -0000 Received: (qmail 3900 invoked by uid 500); 30 Apr 2007 23:56:35 -0000 Delivered-To: [email protected] Received: (qmail 3887 invoked by uid 500); 30 Apr 2007 23:56:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 3877 invoked by uid 99); 30 Apr 2007 23:56:34 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Apr 2007 16:56:34 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Apr 2007 16:56:27 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id A90A91A9838; Mon, 30 Apr 2007 16:56:07 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r533887 - in /cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/xml: XMLDecoder.java XMLMappingDescriptor.java Date: Mon, 30 Apr 2007 23:56:07 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: kmenard Date: Mon Apr 30 16:56:06 2007 New Revision: 533887 URL: http://svn.apache.org/viewvc?view=rev&rev=533887 Log: Backporting fix for CAY-763 (XML Deserialization fails on relationships when using a mapping file). Modified: cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/xml/XMLDecoder.java cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/xml/XMLMappingDescriptor.java Modified: cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/xml/XMLDecoder.java URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/xml/XMLDecoder.java?view=diff&rev=533887&r1=533886&r2=533887 ============================================================================== --- cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/xml/XMLDecoder.java (original) +++ cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/xml/XMLDecoder.java Mon Apr 30 16:56:06 2007 @@ -238,18 +238,14 @@ try { // This crazy conditional checks if we're decoding a collection. There are two - // ways - // to enter into this body: + // ways to enter into this body: // 1) If there are two elements at the same level with the same name, then - // they should - // part of a collection. + // they should be part of a collection. // 2) If a single occurring element has the "forceList" attribute set to - // "YES", then it - // too should be treated as a collection. + // "YES", then it too should be treated as a collection. // // The final part checks that we have not previously attempted to decode this - // collection, - // which is necessary to prevent infinite loops . + // collection, which is necessary to prevent infinite loops . if ((((null != child.getParentNode()) && (XMLUtil.getChildren( child.getParentNode(), child.getNodeName()).size() > 1)) || (child @@ -360,11 +356,7 @@ // MappingUtils will really do all the work. XMLMappingDescriptor mu = new XMLMappingDescriptor(mappingUrl); - Object ret = mu.decode(data.getDocumentElement()); - - if (dataContext != null) { - dataContext.registerNewObject((DataObject) ret); - } + Object ret = mu.decode(data.getDocumentElement(), dataContext); return ret; } @@ -534,11 +526,7 @@ Object o; if (mu != null) { - o = mu.decode(e); - - if (dataContext != null && o instanceof DataObject) { - dataContext.registerNewObject((DataObject) o); - } + o = mu.decode(e, dataContext); } else { // decoder will do DataContext registration if needed. Modified: cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/xml/XMLMappingDescriptor.java URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/xml/XMLMappingDescriptor.java?view=diff&rev=533887&r1=533886&r2=533887 ============================================================================== --- cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/xml/XMLMappingDescriptor.java (original) +++ cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/xml/XMLMappingDescriptor.java Mon Apr 30 16:56:06 2007 @@ -63,6 +63,8 @@ import javax.xml.parsers.DocumentBuilder; import org.objectstyle.cayenne.CayenneRuntimeException; +import org.objectstyle.cayenne.DataObject; +import org.objectstyle.cayenne.access.DataContext; import org.objectstyle.cayenne.property.PropertyUtils; import org.w3c.dom.Attr; import org.w3c.dom.Document; @@ -80,6 +82,7 @@ private SerializableEntity rootEntity; private Map entities; + private DataContext dataContext; /** * Creates new XMLMappingDescriptor using a URL that points to the mapping file. @@ -135,10 +138,13 @@ * @return The decoded object. * @throws CayenneRuntimeException */ - Object decode(Element xml) throws CayenneRuntimeException { + Object decode(Element xml, DataContext dataContext) throws CayenneRuntimeException { // TODO: Add an error check to make sure the mapping file actually is for this // data file. + + // Store a local copy of the data context. + this.dataContext = dataContext; // Create the object to be returned. Object ret = createObject(rootEntity.getDescriptor(), xml); @@ -226,7 +232,7 @@ } /** - * Sets decoded object property. If a property os of Collection type, an object is + * Sets decoded object property. If a property is of Collection type, an object is * added to the collection. */ private void setProperty(Object object, String propertyName, Object value) { @@ -271,6 +277,11 @@ catch (Exception ex) { throw new CayenneRuntimeException("Error creating instance of class " + className, ex); + } + + // If a data context has been supplied by the user, then register the data object with the context. + if ((null != dataContext) && (object instanceof DataObject)) { + dataContext.registerNewObject((DataObject) object); } NamedNodeMap attributes = objectData.getAttributes(); From [email protected] Mon Apr 30 23:58:25 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82853 invoked from network); 30 Apr 2007 23:58:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Apr 2007 23:58:25 -0000 Received: (qmail 7348 invoked by uid 500); 30 Apr 2007 23:58:31 -0000 Delivered-To: [email protected] Received: (qmail 7335 invoked by uid 500); 30 Apr 2007 23:58:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 7326 invoked by uid 99); 30 Apr 2007 23:58:31 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Apr 2007 16:58:31 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Apr 2007 16:58:24 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 9314F1A983A; Mon, 30 Apr 2007 16:58:04 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r533890 - /cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/xml/XMLMappingDescriptor.java Date: Mon, 30 Apr 2007 23:58:04 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: kmenard Date: Mon Apr 30 16:58:03 2007 New Revision: 533890 URL: http://svn.apache.org/viewvc?view=rev&rev=533890 Log: Updated copyright year. Modified: cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/xml/XMLMappingDescriptor.java Modified: cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/xml/XMLMappingDescriptor.java URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/xml/XMLMappingDescriptor.java?view=diff&rev=533890&r1=533889&r2=533890 ============================================================================== --- cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/xml/XMLMappingDescriptor.java (original) +++ cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/xml/XMLMappingDescriptor.java Mon Apr 30 16:58:03 2007 @@ -3,7 +3,7 @@ * The ObjectStyle Group Software License, version 1.1 * ObjectStyle Group - http://objectstyle.org/ * - * Copyright (c) 2002-2006, Andrei (Andrus) Adamchik and individual authors + * Copyright (c) 2002-2007, Andrei (Andrus) Adamchik and individual authors * of the software. All rights reserved. * * Redistribution and use in source and binary forms, with or without From [email protected] Tue May 01 00:03:02 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83674 invoked from network); 1 May 2007 00:03:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 May 2007 00:03:02 -0000 Received: (qmail 10206 invoked by uid 500); 1 May 2007 00:03:09 -0000 Delivered-To: [email protected] Received: (qmail 10194 invoked by uid 500); 1 May 2007 00:03:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.cayenne.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 10185 invoked by uid 99); 1 May 2007 00:03:09 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Apr 2007 17:03:09 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Apr 2007 17:03:02 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id DA2E61A9838; Mon, 30 Apr 2007 17:02:41 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r533892 - in /cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/xml: XMLDecoder.java XMLMappingDescriptor.java Date: Tue, 01 May 2007 00:02:41 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: kmenard Date: Mon Apr 30 17:02:40 2007 New Revision: 533892 URL: http://svn.apache.org/viewvc?view=rev&rev=533892 Log: Ported fix for CAY-763 (XML Deserialization fails on relationships when using a mapping file). Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/xml/XMLDecoder.java cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/xml/XMLMappingDescriptor.java Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/xml/XMLDecoder.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/xml/XMLDecoder.java?view=diff&rev=533892&r1=533891&r2=533892 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/xml/XMLDecoder.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/xml/XMLDecoder.java Mon Apr 30 17:02:40 2007 @@ -204,18 +204,14 @@ try { // This crazy conditional checks if we're decoding a collection. There are two - // ways - // to enter into this body: + // ways to enter into this body: // 1) If there are two elements at the same level with the same name, then - // they should - // part of a collection. + // they should be part of a collection. // 2) If a single occurring element has the "forceList" attribute set to - // "YES", then it - // too should be treated as a collection. + // "YES", then it too should be treated as a collection. // // The final part checks that we have not previously attempted to decode this - // collection, - // which is necessary to prevent infinite loops . + // collection, which is necessary to prevent infinite loops . if ((((null != child.getParentNode()) && (XMLUtil.getChildren( child.getParentNode(), child.getNodeName()).size() > 1)) || (child @@ -313,11 +309,7 @@ // MappingUtils will really do all the work. XMLMappingDescriptor mu = new XMLMappingDescriptor(mappingUrl); - Object ret = mu.decode(data.getDocumentElement()); - - if (dataContext != null) { - dataContext.registerNewObject((Persistent) ret); - } + Object ret = mu.decode(data.getDocumentElement(), dataContext); return ret; } @@ -487,11 +479,7 @@ Object o; if (mu != null) { - o = mu.decode(e); - - if (dataContext != null && o instanceof Persistent) { - dataContext.registerNewObject((Persistent) o); - } + o = mu.decode(e, dataContext); } else { // decoder will do DataContext registration if needed. Modified: cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/xml/XMLMappingDescriptor.java URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/xml/XMLMappingDescriptor.java?view=diff&rev=533892&r1=533891&r2=533892 ============================================================================== --- cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/xml/XMLMappingDescriptor.java (original) +++ cayenne/main/trunk/framework/cayenne-jdk1.4-unpublished/src/main/java/org/apache/cayenne/xml/XMLMappingDescriptor.java Mon Apr 30 17:02:40 2007 @@ -27,6 +27,8 @@ import javax.xml.parsers.DocumentBuilder; import org.apache.cayenne.CayenneRuntimeException; +import org.apache.cayenne.Persistent; +import org.apache.cayenne.access.DataContext; import org.apache.cayenne.reflect.PropertyUtils; import org.w3c.dom.Attr; import org.w3c.dom.Document; @@ -44,6 +46,7 @@ private SerializableEntity rootEntity; private Map entities; + private DataContext dataContext; /** * Creates new XMLMappingDescriptor using a URL that points to the mapping file. @@ -99,11 +102,14 @@ * @return The decoded object. * @throws CayenneRuntimeException */ - Object decode(Element xml) throws CayenneRuntimeException { + Object decode(Element xml, DataContext dataContext) throws CayenneRuntimeException { // TODO: Add an error check to make sure the mapping file actually is for this // data file. + // Store a local copy of the data context. + this.dataContext = dataContext; + // Create the object to be returned. Object ret = createObject(rootEntity.getDescriptor(), xml); @@ -190,7 +196,7 @@ } /** - * Sets decoded object property. If a property os of Collection type, an object is + * Sets decoded object property. If a property is of Collection type, an object is * added to the collection. */ private void setProperty(Object object, String propertyName, Object value) { @@ -235,6 +241,11 @@ catch (Exception ex) { throw new CayenneRuntimeException("Error creating instance of class " + className, ex); + } + + // If a data context has been supplied by the user, then register the data object with the context. + if ((null != dataContext) && (object instanceof Persistent)) { + dataContext.registerNewObject((Persistent) object); } NamedNodeMap attributes = objectData.getAttributes();
From [email protected] Tue Dec 2 10:40:25 2003 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 46450 invoked from network); 2 Dec 2003 10:40:25 -0000 Received: from unknown (HELO minotaur.apache.org) (161.129.204.104) by daedalus.apache.org with SMTP; 2 Dec 2003 10:40:25 -0000 Received: (qmail 42831 invoked by uid 1627); 2 Dec 2003 10:40:26 -0000 Date: 2 Dec 2003 10:40:26 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: xml-security/c/src/tools/xtest xtest.cpp X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N blautenb 2003/12/02 02:40:26 Modified: c/src/tools/xtest xtest.cpp Log: Unit test for Base64 encodings Revision Changes Path 1.38 +110 -2 xml-security/c/src/tools/xtest/xtest.cpp Index: xtest.cpp =================================================================== RCS file: /home/cvs/xml-security/c/src/tools/xtest/xtest.cpp,v retrieving revision 1.37 retrieving revision 1.38 diff -u -r1.37 -r1.38 --- xtest.cpp 23 Nov 2003 09:12:44 -0000 1.37 +++ xtest.cpp 2 Dec 2003 10:40:26 -0000 1.38 @@ -650,12 +650,120 @@ } +void unitTestBase64NodeSignature(DOMImplementation * impl) { + + // This tests a normal signature with a reference to a Base64 element + + cerr << "Creating a base64 Element reference ... "; + + try { + + // Create a document + + DOMDocument * doc = impl->createDocument(); + + // Create the signature + + XSECProvider prov; + DSIGSignature *sig; + DOMElement *sigNode; + + sig = prov.newSignature(); + sig->setDSIGNSPrefix(MAKE_UNICODE_STRING("ds")); + sig->setPrettyPrint(true); + + sigNode = sig->createBlankSignature(doc, CANON_C14N_COM, SIGNATURE_HMAC, HASH_SHA1); + + doc->appendChild(sigNode); + + // Add an object + DSIGObject * obj = sig->appendObject(); + obj->setId(MAKE_UNICODE_STRING("ObjectId")); + + // Create a text node + DOMText * txt= doc->createTextNode(MAKE_UNICODE_STRING("QSB0ZXN0IHN0cmluZw==")); + obj->appendChild(txt); + + // Add a Reference + DSIGReference * ref = sig->createReference(MAKE_UNICODE_STRING("#ObjectId")); + // Add a Base64 transform + ref->appendBase64Transform(); + + // Get a key + cerr << "signing ... "; + + sig->setSigningKey(createHMACKey((unsigned char *) "secret")); + sig->sign(); + + cerr << "validating ... "; + if (!sig->verify()) { + cerr << "bad verify!" << endl; + exit(1); + } + + cerr << "OK ... serialise and re-verify ... "; + if (!reValidateSig(impl, doc, createHMACKey((unsigned char *) "secret"))) { + + cerr << "bad verify!" << endl; + exit(1); + + } + + cerr << "OK ... "; + + // Now set to bad + txt->setNodeValue(MAKE_UNICODE_STRING("QSAybmQgdGVzdCBzdHJpbmc=")); + + cerr << "verify bad data ... "; + if (sig->verify()) { + + cerr << "bad - should have failed!" << endl; + exit(1); + + } + + cerr << "OK (verify false) ... serialise and re-verify ... "; + if (reValidateSig(impl, doc, createHMACKey((unsigned char *) "secret"))) { + + cerr << "bad - should have failed" << endl; + exit(1); + + } + + cerr << "OK" << endl; + // Reset to OK + txt->setNodeValue(MAKE_UNICODE_STRING("QSB0ZXN0IHN0cmluZw==")); + outputDoc(impl, doc); + doc->release(); + + + } + + catch (XSECException &e) + { + cerr << "An error occured during signature processing\n Message: "; + char * ce = XMLStringacf:4db6:5e0b:f386:43a5:35d7:718d:3c8btranscode(e.getMsg()); + cerr << ce << endl; + delete ce; + exit(1); + + } + catch (XSECCryptoException &e) + { + cerr << "A cryptographic error occured during signature processing\n Message: " + << e.getMsg() << endl; + exit(1); + } + + +} + void unitTestSignature(DOMImplementation * impl) { // Test an enveloping signature unitTestEnvelopingSignature(impl); - + unitTestBase64NodeSignature(impl); } // -------------------------------------------------------------------------------- From [email protected] Wed Dec 3 10:47:12 2003 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 95998 invoked from network); 3 Dec 2003 10:47:12 -0000 Received: from unknown (HELO minotaur.apache.org) (161.129.204.104) by daedalus.apache.org with SMTP; 3 Dec 2003 10:47:12 -0000 Received: (qmail 51938 invoked by uid 1627); 3 Dec 2003 10:47:38 -0000 Date: 3 Dec 2003 10:47:38 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: xml-security/c/src/enc/OpenSSL OpenSSLCryptoProvider.cpp X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N blautenb 2003/12/03 02:47:38 Modified: c/src/enc/OpenSSL OpenSSLCryptoProvider.cpp Log: We were only loading digest algorithms Revision Changes Path 1.11 +2 -2 xml-security/c/src/enc/OpenSSL/OpenSSLCryptoProvider.cpp Index: OpenSSLCryptoProvider.cpp =================================================================== RCS file: /home/cvs/xml-security/c/src/enc/OpenSSL/OpenSSLCryptoProvider.cpp,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- OpenSSLCryptoProvider.cpp 4 Nov 2003 05:22:16 -0000 1.10 +++ OpenSSLCryptoProvider.cpp 3 Dec 2003 10:47:38 -0000 1.11 @@ -89,7 +89,7 @@ OpenSSLCryptoProvideracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bOpenSSLCryptoProvider() { - OpenSSL_add_all_digests(); // Initialise Openssl + OpenSSL_add_all_algorithms(); // Initialise Openssl ERR_load_crypto_strings(); //SSLeay_add_all_algorithms(); From [email protected] Wed Dec 3 10:48:32 2003 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 96397 invoked from network); 3 Dec 2003 10:48:32 -0000 Received: from unknown (HELO minotaur.apache.org) (161.129.204.104) by daedalus.apache.org with SMTP; 3 Dec 2003 10:48:32 -0000 Received: (qmail 52428 invoked by uid 1627); 3 Dec 2003 10:48:58 -0000 Date: 3 Dec 2003 10:48:58 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: xml-security/c/src/dsig DSIGSignature.cpp X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N blautenb 2003/12/03 02:48:58 Modified: c/src/dsig DSIGSignature.cpp Log: Removed strict check of validity of elements at end of signature Revision Changes Path 1.28 +5 -2 xml-security/c/src/dsig/DSIGSignature.cpp Index: DSIGSignature.cpp =================================================================== RCS file: /home/cvs/xml-security/c/src/dsig/DSIGSignature.cpp,v retrieving revision 1.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- DSIGSignature.cpp 22 Nov 2003 09:58:48 -0000 1.27 +++ DSIGSignature.cpp 3 Dec 2003 10:48:58 -0000 1.28 @@ -834,12 +834,15 @@ tmpElt = findNextElementChild(tmpElt); } +/* + * Strictly speaking, this should remain, but it causes too many problems with non + * conforming signatures if (tmpElt != 0) { throw XSECException(XSECExceptionacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bxpectedDSIGChildNotFound, "DSIGSignaturacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bload - Unexpected (non Object) Element found at end of signature"); } - +*/ } unsigned int DSIGSignaturacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bcalculateSignedInfoHash(unsigned char * hashBuf, From [email protected] Mon Dec 8 07:12:34 2003 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 23718 invoked from network); 8 Dec 2003 07:12:34 -0000 Received: from unknown (HELO minotaur.apache.org) (161.129.204.104) by daedalus.apache.org with SMTP; 8 Dec 2003 07:12:34 -0000 Received: (qmail 50498 invoked by uid 1564); 8 Dec 2003 07:12:56 -0000 Date: 8 Dec 2003 07:12:56 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: xml-security build.xml X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N amattheu 2003/12/07 23:12:56 Modified: . build.xml Log: Removed tasks that prevented dist task from completing succesfully. Revision Changes Path 1.64 +2 -0 xml-security/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/xml-security/build.xml,v retrieving revision 1.63 retrieving revision 1.64 diff -u -r1.63 -r1.64 --- build.xml 17 Nov 2003 09:25:32 -0000 1.63 +++ build.xml 8 Dec 2003 07:12:56 -0000 1.64 @@ -554,8 +554,10 @@ <mkdir dir="${build.bindist}/${dir.libs}"/> <copy file="${lib.junit}" todir="${build.bindist}/${dir.libs}"/> + <!-- <copy file="${lib.log4j}" todir="${build.bindist}/${dir.libs}"/> <copy file="${lib.logging}" todir="${build.bindist}/${dir.libs}"/> + --> <copy file="${lib.styleApache}" todir="${build.bindist}/${dir.libs}"/> <copy file="${lib.stylebook}" todir="${build.bindist}/${dir.libs}"/> <copy file="${lib.xerces.1}" todir="${build.bindist}/${dir.libs}"/> From [email protected] Fri Dec 19 11:52:38 2003 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 62843 invoked from network); 19 Dec 2003 11:52:38 -0000 Received: from unknown (HELO minotaur.apache.org) (161.129.204.104) by daedalus.apache.org with SMTP; 19 Dec 2003 11:52:38 -0000 Received: (qmail 71702 invoked by uid 1564); 19 Dec 2003 11:52:39 -0000 Date: 19 Dec 2003 11:52:39 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: xml-security/src/org/apache/xml/security/encryption CipherValue.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N amattheu 2003/12/19 03:52:39 Modified: src/org/apache/xml/security/encryption CipherValue.java Log: Changed interface. Credit to Werner Dittmann of Siemens. Revision Changes Path 1.7 +4 -2 xml-security/src/org/apache/xml/security/encryption/CipherValue.java Index: CipherValue.java =================================================================== RCS file: /home/cvs/xml-security/src/org/apache/xml/security/encryption/CipherValue.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- CipherValue.java 18 Mar 2003 22:47:44 -0000 1.6 +++ CipherValue.java 19 Dec 2003 11:52:38 -0000 1.7 @@ -71,7 +71,8 @@ * * @return cipher value. */ - byte[] getValue(); + String getValue(); + // byte[] getValue(); /** * Sets the Base 64 encoded, encrypted octets that is the @@ -79,5 +80,6 @@ * * @param value the cipher value. */ - void setValue(byte[] value); + void setValue(String value); + // void setValue(byte[] value); } From [email protected] Fri Dec 19 11:53:54 2003 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 63719 invoked from network); 19 Dec 2003 11:53:54 -0000 Received: from unknown (HELO minotaur.apache.org) (161.129.204.104) by daedalus.apache.org with SMTP; 19 Dec 2003 11:53:54 -0000 Received: (qmail 72450 invoked by uid 1564); 19 Dec 2003 11:53:55 -0000 Date: 19 Dec 2003 11:53:55 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: xml-security/src/org/apache/xml/security/encryption XMLCipher.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N amattheu 2003/12/19 03:53:55 Modified: src/org/apache/xml/security/encryption XMLCipher.java Log: Fixed Base 64 encoding problem. Fixed element content encryption. Credit to Werner Dittmann of Siemens. Revision Changes Path 1.17 +81 -102 xml-security/src/org/apache/xml/security/encryption/XMLCipher.java Index: XMLCipher.java =================================================================== RCS file: /home/cvs/xml-security/src/org/apache/xml/security/encryption/XMLCipher.java,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- XMLCipher.java 17 Nov 2003 09:27:04 -0000 1.16 +++ XMLCipher.java 19 Dec 2003 11:53:55 -0000 1.17 @@ -112,7 +112,7 @@ import org.w3c.dom.NodeList; import org.xml.sax.InputSource; import org.xml.sax.SAXException; -import sun.misc.BASE64Encoder; +// import sun.misc.BASE64Encoder; import org.apache.xml.security.utils.Base64; @@ -634,12 +634,10 @@ if(_cipherMode != ENCRYPT_MODE) logger.error("XMLCipher unexpectedly not in ENCRYPT_MODE..."); - if (_algorithm == null) { - - throw new XMLEncryptionException("XMLCipher instance without transformation specified"); - } - - encryptData(_contextDocument, element); + if (_algorithm == null) { + throw new XMLEncryptionException("XMLCipher instance without transformation specified"); + } + encryptData(_contextDocument, element, false); Element encryptedElement = _factory.toElement(_ed); @@ -670,60 +668,10 @@ if(_cipherMode != ENCRYPT_MODE) logger.error("XMLCipher unexpectedly not in ENCRYPT_MODE..."); - if (_algorithm == null) { - - throw new XMLEncryptionException("XMLCipher instance without transformation specified"); - } - - NodeList children = element.getChildNodes(); - String serializedOctets = null; - if ((null != children)) { - serializedOctets = _serializer.serialize(children); - } else { - Object exArgs[] = {"Element has no content."}; - throw new XMLEncryptionException("empty", exArgs); - } - logger.debug("Serialized octets:\n" + serializedOctets); - - byte[] encryptedBytes = null; - try { - encryptedBytes = - _contextCipher.doFinal(serializedOctets.getBytes("UTF-8")); - - logger.debug("Expected cipher.outputSize = " + - Integer.toString(_contextCipher.getOutputSize( - serializedOctets.getBytes().length))); - logger.debug("Actual cipher.outputSize = " + - Integer.toString(encryptedBytes.length)); - } catch (IllegalStateException ise) { - throw new XMLEncryptionException("empty", ise); - } catch (IllegalBlockSizeException ibse) { - throw new XMLEncryptionException("empty", ibse); - } catch (BadPaddingException bpe) { - throw new XMLEncryptionException("empty", bpe); - } catch (UnsupportedEncodingException uee) { - throw new XMLEncryptionException("empty", uee); - } - - String base64EncodedEncryptedOctets = new BASE64Encoder().encode( - encryptedBytes); - - logger.debug("Encrypted octets:\n" + base64EncodedEncryptedOctets); - logger.debug("Encrypted octets length = " + - base64EncodedEncryptedOctets.length()); - - try { - CipherData cd = _ed.getCipherData(); - CipherValue cv = cd.getCipherValue(); - cv.setValue(base64EncodedEncryptedOctets.getBytes()); - - _ed.setType(new URI(EncryptionConstants.TYPE_CONTENT).toString()); - EncryptionMethod method = _factory.newEncryptionMethod( - new URI(_algorithm).toString()); - _ed.setEncryptionMethod(method); - } catch (URI.MalformedURIException mfue) { - throw new XMLEncryptionException("empty", mfue); - } + if (_algorithm == null) { + throw new XMLEncryptionException("XMLCipher instance without transformation specified"); + } + encryptData(_contextDocument, element, true); Element encryptedElement = _factory.toElement(_ed); @@ -860,7 +808,7 @@ "empty", new IllegalStateException()); } - return (null); + return (result); } /** @@ -918,7 +866,13 @@ * @param element the <code>Element</code> that will be encrypted. * @throws XMLEncryptionException. */ - public EncryptedData encryptData(Document context, Element element) throws + + public EncryptedData encryptData(Document context, Element element) throws + XMLEncryptionException { + return encryptData(context, element, false); + } + + private EncryptedData encryptData(Document context, Element element, boolean contentMode) throws XMLEncryptionException { logger.debug("Encrypting element..."); if(null == context) @@ -930,13 +884,26 @@ _contextDocument = context; - if (_algorithm == null) { - - throw new XMLEncryptionException("XMLCipher instance without transformation specified"); - } + if (_algorithm == null) { + throw new XMLEncryptionException("XMLCipher instance without transformation specified"); + } + - String serializedOctets = _serializer.serialize(element); - logger.debug("Serialized octets:\n" + serializedOctets); + String serializedOctets = null; + if (contentMode) { + NodeList children = element.getChildNodes(); + if ((null != children)) { + serializedOctets = _serializer.serialize(children); + } + else { + Object exArgs[] = {"Element has no content."}; + throw new XMLEncryptionException("empty", exArgs); + } + } + else { + serializedOctets = _serializer.serialize(element); + } + logger.debug("Serialized octets:\n" + serializedOctets); byte[] encryptedBytes = null; // Now create the working cipher @@ -1005,26 +972,30 @@ iv.length, encryptedBytes.length); - String base64EncodedEncryptedOctets = new BASE64Encoder().encode( - finalEncryptedBytes); + String base64EncodedEncryptedOctets = Base64.encode(finalEncryptedBytes); logger.debug("Encrypted octets:\n" + base64EncodedEncryptedOctets); logger.debug("Encrypted octets length = " + base64EncodedEncryptedOctets.length()); try { - CipherData cd = _ed.getCipherData(); - CipherValue cv = cd.getCipherValue(); - cv.setValue(base64EncodedEncryptedOctets.getBytes()); - - _ed.setType(new URI(EncryptionConstants.TYPE_ELEMENT).toString()); + CipherData cd = _ed.getCipherData(); + CipherValue cv = cd.getCipherValue(); + // cv.setValue(base64EncodedEncryptedOctets.getBytes()); + cv.setValue(base64EncodedEncryptedOctets); + + if (contentMode) { + _ed.setType(new URI(EncryptionConstants.TYPE_CONTENT).toString()); + } + else { + _ed.setType(new URI(EncryptionConstants.TYPE_ELEMENT).toString()); + } EncryptionMethod method = _factory.newEncryptionMethod( - new URI(_algorithm).toString()); + new URI(_algorithm).toString()); _ed.setEncryptionMethod(method); } catch (URI.MalformedURIException mfue) { throw new XMLEncryptionException("empty", mfue); } - return (_ed); } @@ -1159,15 +1130,14 @@ throw new XMLEncryptionException("empty", ibse); } - String base64EncodedEncryptedOctets = new BASE64Encoder().encode( - encryptedBytes); + String base64EncodedEncryptedOctets = Base64.encode(encryptedBytes); logger.debug("Encrypted key octets:\n" + base64EncodedEncryptedOctets); logger.debug("Encrypted key octets length = " + base64EncodedEncryptedOctets.length()); CipherValue cv = _ek.getCipherData().getCipherValue(); - cv.setValue(base64EncodedEncryptedOctets.getBytes()); + cv.setValue(base64EncodedEncryptedOctets); try { EncryptionMethod method = _factory.newEncryptionMethod( @@ -1342,14 +1312,13 @@ if (sourceParent instanceof Document) { - // If this is a content decryption, this may have problems + // If this is a content decryption, this may have problems - _contextDocument.removeChild(_contextDocument.getDocumentElement()); - _contextDocument.appendChild(decryptedFragment); + _contextDocument.removeChild(_contextDocument.getDocumentElement()); + _contextDocument.appendChild(decryptedFragment); } else { - - sourceParent.replaceChild(decryptedFragment, element); + sourceParent.replaceChild(decryptedFragment, element); } @@ -1801,8 +1770,14 @@ try { for (int i =0; i < content.getLength(); i++) { Node n = content.item(i); - if ((null != n) && (n.getNodeType() == Node.ELEMENT_NODE)) { - _serializer.serialize((Element) n); + if (null != n) { + int nodeType = n.getNodeType(); + if (nodeType == Node.ELEMENT_NODE) { + _serializer.serialize((Element) n); + } + else if (nodeType == Node.TEXT_NODE) { + output.write(n.getNodeValue()); + } } } } catch (IOException ioe) { @@ -1887,7 +1862,7 @@ result.appendChild(child); child = fragElt.getFirstChild(); } - String outp = serialize(d); + // String outp = serialize(d); } catch (SAXException se) { throw new XMLEncryptionException("empty", se); @@ -1939,11 +1914,11 @@ /** * - */ + CipherValue newCipherValue(byte[] value) { return (new CipherValueImpl(value)); } - + */ /** * */ @@ -2870,26 +2845,30 @@ } private class CipherValueImpl implements CipherValue { - private byte[] cipherValue = null; - - public CipherValueImpl(byte[] value) { - cipherValue = value; - } + private String cipherValue = null; + + // public CipherValueImpl(byte[] value) { + // cipherValue = value; + // } public CipherValueImpl(String value) { - cipherValue = value.getBytes(); + // cipherValue = value.getBytes(); + cipherValue = value; } - public byte[] getValue() { + // public byte[] getValue() { + public String getValue() { return (cipherValue); } - public void setValue(byte[] value) { - cipherValue = value; - } + // public void setValue(byte[] value) { + // public void setValue(String value) { + // cipherValue = value; + // } public void setValue(String value) { - cipherValue = value.getBytes(); + // cipherValue = value.getBytes(); + cipherValue = value; } Element toElement() { From [email protected] Fri Dec 26 11:20:12 2003 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 63923 invoked from network); 26 Dec 2003 11:20:12 -0000 Received: from unknown (HELO minotaur.apache.org) (161.129.204.104) by daedalus.apache.org with SMTP; 26 Dec 2003 11:20:12 -0000 Received: (qmail 66456 invoked by uid 1562); 26 Dec 2003 11:20:39 -0000 Date: 26 Dec 2003 11:20:39 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: xml-security/src_unitTests/org/apache/xml/security/test/c14n/helper AttrCompareTest.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N vdkoogh 2003/12/26 03:20:39 Modified: src_unitTests/org/apache/xml/security/test/encryption XMLCipherTester.java BobKeyResolver.java BaltimoreEncTest.java src_unitTests/org/apache/xml/security/test/c14n/implementations Canonicalizer20010315Test.java src_unitTests/org/apache/xml/security/test/external/org/apache/xalan/XPathAPI XalanBug1425Test.java src_unitTests/org/apache/xml/security/test/c14n/helper AttrCompareTest.java Log: Removed small sections of unused code CVS: ---------------------------------------------------------------------- CVS: PR: CVS: If this change addresses a PR in the problem report tracking CVS: database, then enter the PR number(s) here. CVS: Obtained from: CVS: If this change has been taken from another system, such as NCSA, CVS: then name the system in this line, otherwise delete it. CVS: Submitted by: CVS: If this code has been contributed to Apache by someone else; i.e., CVS: they sent us a patch or a new module, then include their name/email CVS: address here. If this is your work then delete this line. CVS: Reviewed by: CVS: If we are doing pre-commit code reviews and someone else has CVS: reviewed your changes, include their name(s) here. CVS: If you have not had it reviewed then delete this line. Revision Changes Path 1.11 +10 -10 xml-security/src_unitTests/org/apache/xml/security/test/encryption/XMLCipherTester.java Index: XMLCipherTester.java =================================================================== RCS file: /home/cvs/xml-security/src_unitTests/org/apache/xml/security/test/encryption/XMLCipherTester.java,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- XMLCipherTester.java 17 Nov 2003 10:44:55 -0000 1.10 +++ XMLCipherTester.java 26 Dec 2003 11:20:38 -0000 1.11 @@ -183,7 +183,7 @@ try { - source = toString(d);; + source = toString(d); // Set up a Key Encryption Key byte[] bits192 = "abcdefghijklmnopqrstuvwx".getBytes(); @@ -248,7 +248,7 @@ try { - source = toString(d);; + source = toString(d); // Generate an RSA key KeyPairGenerator rsaKeygen = KeyPairGenerator.getInstance("RSA"); @@ -322,7 +322,7 @@ try { - source = toString(d);; + source = toString(d); // Set up a Key Encryption Key byte[] bits192 = "abcdefghijklmnopqrstuvwx".getBytes(); @@ -401,7 +401,7 @@ try { - source = toString(d);; + source = toString(d); // prepare for encryption byte[] passPhrase = "24 Bytes per DESede key!".getBytes(); @@ -450,7 +450,7 @@ try { - source = toString(d);; + source = toString(d); // encrypt cipher = XMLCipher.getInstance(XMLCipher.AES_128); @@ -495,7 +495,7 @@ try { - source = toString(d);; + source = toString(d); // encrypt cipher = XMLCipher.getInstance(XMLCipher.AES_192); @@ -542,7 +542,7 @@ try { - source = toString(d);; + source = toString(d); // encrypt cipher = XMLCipher.getInstance(XMLCipher.AES_256); @@ -575,14 +575,14 @@ Document d = document(); // source Document ed = null; // target Document dd = null; // target - Element e = (Element) d.getDocumentElement(); + Element e = d.getDocumentElement(); Element ee = null; String source = null; String target = null; try { - source = toString(d);; + source = toString(d); // prepare for encryption byte[] passPhrase = "24 Bytes per DESede key!".getBytes(); @@ -625,7 +625,7 @@ d.appendChild(docElement); // Create the XMLCipher object - XMLCipher cipher = XMLCipher.getInstance(); + cipher = XMLCipher.getInstance(); EncryptedData ed = cipher.createEncryptedData(CipherData.REFERENCE_TYPE, 1.2 +0 -3 xml-security/src_unitTests/org/apache/xml/security/test/encryption/BobKeyResolver.java Index: BobKeyResolver.java =================================================================== RCS file: /home/cvs/xml-security/src_unitTests/org/apache/xml/security/test/encryption/BobKeyResolver.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- BobKeyResolver.java 17 Nov 2003 10:43:32 -0000 1.1 +++ BobKeyResolver.java 26 Dec 2003 11:20:39 -0000 1.2 @@ -60,7 +60,6 @@ import java.security.cert.X509Certificate; import java.security.PublicKey; -import java.security.PrivateKey; import javax.crypto.SecretKey; import javax.crypto.SecretKeyFactory; import javax.crypto.spec.DESedeKeySpec; @@ -81,8 +80,6 @@ public class BobKeyResolver extends KeyResolverSpi { - private static byte[] bobBytes = null; - /** {@link org.apache.commons.logging} logging facility */ static org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog(BobKeyResolver.class.getName()); 1.11 +21 -31 xml-security/src_unitTests/org/apache/xml/security/test/encryption/BaltimoreEncTest.java Index: BaltimoreEncTest.java =================================================================== RCS file: /home/cvs/xml-security/src_unitTests/org/apache/xml/security/test/encryption/BaltimoreEncTest.java,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- BaltimoreEncTest.java 17 Nov 2003 10:36:45 -0000 1.10 +++ BaltimoreEncTest.java 26 Dec 2003 11:20:39 -0000 1.11 @@ -62,36 +62,30 @@ import java.io.File; import java.io.FileInputStream; import java.io.IOException; - -import java.security.cert.X509Certificate; -import java.security.spec.PKCS8EncodedKeySpec; +import java.security.Key; import java.security.KeyFactory; -import java.security.PublicKey; import java.security.PrivateKey; -import java.security.Key; +import java.security.cert.X509Certificate; +import java.security.spec.PKCS8EncodedKeySpec; + import javax.crypto.SecretKey; -import javax.crypto.SecretKeyFactory; import javax.crypto.spec.SecretKeySpec; -import javax.crypto.spec.DESedeKeySpec; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; +import junit.framework.Assert; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; -import junit.framework.Assert; import org.apache.xml.security.encryption.EncryptedData; import org.apache.xml.security.encryption.EncryptedKey; import org.apache.xml.security.encryption.XMLCipher; -import org.apache.xml.security.keys.content.x509.XMLX509Certificate; +import org.apache.xml.security.keys.KeyInfo; import org.apache.xml.security.keys.content.KeyName; import org.apache.xml.security.keys.content.X509Data; -import org.apache.xml.security.keys.keyresolver.KeyResolverException; +import org.apache.xml.security.keys.content.x509.XMLX509Certificate; import org.apache.xml.security.keys.keyresolver.KeyResolver; -import org.apache.xml.security.keys.storage.StorageResolver; -import org.apache.xml.security.keys.KeyInfo; -import org.apache.xml.security.utils.Constants; import org.apache.xml.security.utils.XMLUtils; import org.apache.xml.serialize.DOMSerializer; import org.apache.xml.serialize.Method; @@ -136,7 +130,6 @@ private static String rsaCertSerialNumber; private static String testDecryptString; private static int nodeCount = 0; - private static byte[] bobBytes; private static byte[] jebBytes; private static byte[] jobBytes; private static byte[] jedBytes; @@ -169,14 +162,14 @@ * * @param args */ - + protected void setUp() throws Exception { String[] testCaseName = { "-noloading", BaltimoreEncTest.class.getName() }; - + // Create the comparison strings - + DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); dbf.setNamespaceAware(true); @@ -185,50 +178,47 @@ String filename = "data/ie/baltimore/merlin-examples/merlin-xmlenc-five/plaintext.xml"; File f = new File(filename); - + DocumentBuilder db = dbf.newDocumentBuilder(); Document doc = db.parse(new java.io.FileInputStream(f)); - + cardNumber = retrieveCCNumber(doc); - + // Test decrypt testDecryptString = new String("top secret message\n"); - + // Count the nodes in the document as a secondary test nodeCount = countNodes(doc); - + // Create the keys - bobBytes = - "abcdefghijklmnopqrstuvwx".getBytes("ASCII"); jebBytes = "abcdefghijklmnopqrstuvwx".getBytes("ASCII"); jobBytes = "abcdefghijklmnop".getBytes("ASCII"); jedBytes = "abcdefghijklmnopqrstuvwxyz012345".getBytes("ASCII"); - + // Certificate information rsaCertSerialNumber = new String("1014918766910"); - + // rsaKey FileInputStream infile = new FileInputStream("data/ie/baltimore/merlin-examples/merlin-xmlenc-five/rsa.p8"); byte[] pkcs8Bytes = new byte[10240]; - int inputSz = infile.read(pkcs8Bytes); infile.close(); - + PKCS8EncodedKeySpec pkcs8Spec = new PKCS8EncodedKeySpec(pkcs8Bytes); - + // Create a key factory KeyFactory keyFactory = KeyFactory.getInstance("RSA"); rsaKey = keyFactory.generatePrivate(pkcs8Spec); // Initialise the library - + org.apache.xml.security.Init.init(); - + // Register our key resolver KeyResolver.register("org.apache.xml.security.test.encryption.BobKeyResolver"); } 1.17 +6 -14 xml-security/src_unitTests/org/apache/xml/security/test/c14n/implementations/Canonicalizer20010315Test.java Index: Canonicalizer20010315Test.java =================================================================== RCS file: /home/cvs/xml-security/src_unitTests/org/apache/xml/security/test/c14n/implementations/Canonicalizer20010315Test.java,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- Canonicalizer20010315Test.java 17 Sep 2003 22:08:28 -0000 1.16 +++ Canonicalizer20010315Test.java 26 Dec 2003 11:20:39 -0000 1.17 @@ -672,12 +672,11 @@ ParserConfigurationException, CanonicalizationException, InvalidCanonicalizerException, TransformerException { - String descri = "3.7 Document Subsets. (uncommented), c14n by NodeList"; + //String descri = "3.7 Document Subsets. (uncommented), c14n by NodeList"; String fileIn = prefix + "in/37_input.xml"; String fileRef = prefix + "in/37_c14n.xml"; - String fileOut = prefix + "out/xpath_37_output_c14nByNodeList.xml"; - String c14nURI = Canonicalizer.ALGO_ID_C14N_OMIT_COMMENTS; - boolean validating = true; + //String c14nURI = Canonicalizer.ALGO_ID_C14N_OMIT_COMMENTS; + //boolean validating = true; DocumentBuilderFactory dfactory = DocumentBuilderFactory.newInstance(); dfactory.setNamespaceAware(true); @@ -799,8 +798,6 @@ ParserConfigurationException, CanonicalizationException, InvalidCanonicalizerException, TransformerException { - String descri = ""; - String c14nURI = Canonicalizer.ALGO_ID_C14N_OMIT_COMMENTS; //J- String inputStr = "" + "<absolute:correct xmlns:absolute='http://www.absolute.org/#likeVodka'>" @@ -821,13 +818,8 @@ try { Canonicalizer c14n = Canonicalizer.getInstance(Canonicalizer.ALGO_ID_C14N_OMIT_COMMENTS); - byte c14nBytes[] = c14n.canonicalizeSubtree(doc); + c14n.canonicalizeSubtree(doc); - /* - FileOutputStream fos = new FileOutputStream("data/org/apache/xml/security/out/relativeNS.xml"); - fos.write(c14nBytes); - fos.close(); - */ } catch (CanonicalizationException cex) { // if we reach this point - good. @@ -1244,8 +1236,8 @@ throws ParserConfigurationException, IOException, SAXException, TransformerConfigurationException, TransformerException { - String ENCODING_ISO8859_1 = "ISO-8859-1"; - String ENCODING_UTF8 = "UTF-8"; + //String ENCODING_ISO8859_1 = "ISO-8859-1"; + //String ENCODING_UTF8 = "UTF-8"; String ENCODING_UTF16 = "UTF-16"; DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); DocumentBuilder db = dbf.newDocumentBuilder(); 1.7 +0 -1 xml-security/src_unitTests/org/apache/xml/security/test/external/org/apache/xalan/XPathAPI/XalanBug1425Test.java Index: XalanBug1425Test.java =================================================================== RCS file: /home/cvs/xml-security/src_unitTests/org/apache/xml/security/test/external/org/apache/xalan/XPathAPI/XalanBug1425Test.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- XalanBug1425Test.java 29 Apr 2003 21:36:58 -0000 1.6 +++ XalanBug1425Test.java 26 Dec 2003 11:20:39 -0000 1.7 @@ -164,7 +164,6 @@ "COMMENT", "DOCUMENT", "DOCUMENT_TYPE", "DOCUMENT_FRAGMENT", "NOTATION" }; - int i = 0; Node n; while ((n = nl.nextNode()) != null) { 1.6 +7 -8 xml-security/src_unitTests/org/apache/xml/security/test/c14n/helper/AttrCompareTest.java Index: AttrCompareTest.java =================================================================== RCS file: /home/cvs/xml-security/src_unitTests/org/apache/xml/security/test/c14n/helper/AttrCompareTest.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- AttrCompareTest.java 17 Sep 2003 22:02:16 -0000 1.5 +++ AttrCompareTest.java 26 Dec 2003 11:20:39 -0000 1.6 @@ -189,15 +189,14 @@ AttrCompare attrCompare = new AttrCompare(); assertEquals("attrCompare.compare((Object) attr0, (Object) attr1)", -1, - attrCompare.compare((Object) attr0, (Object) attr1)); + attrCompare.compare(attr0, attr1)); assertEquals("attrCompare.compare((Object) attr1, (Object) attr0)", 1, - attrCompare.compare((Object) attr1, (Object) attr0)); + attrCompare.compare(attr1, attr0)); } public static void testA2() throws ParserConfigurationException { Document doc = createDoc("documentElement"); - Element root = doc.getDocumentElement(); Attr attr0 = doc.createAttributeNS("http://goo", "goo:foo"); Attr attr1 = doc.createAttributeNS(null, "foo"); @@ -207,9 +206,9 @@ AttrCompare attrCompare = new AttrCompare(); assertEquals("attrCompare.compare((Object) attr0, (Object) attr1)", 1, - attrCompare.compare((Object) attr0, (Object) attr1)); + attrCompare.compare(attr0, attr1)); assertEquals("attrCompare.compare((Object) attr1, (Object) attr0)", -1, - attrCompare.compare((Object) attr1, (Object) attr0)); + attrCompare.compare(attr1, attr0)); } @@ -242,13 +241,13 @@ AttrCompare attrCompare = new AttrCompare(); assertEquals("attrCompare.compare((Object) attr0, (Object) attr1)", -1, - attrCompare.compare((Object) attr0, (Object) attr1)); + attrCompare.compare(attr0, attr1)); assertEquals("attrCompare.compare((Object) attr1, (Object) attr0)", 1, - attrCompare.compare((Object) attr1, (Object) attr0)); + attrCompare.compare(attr1, attr0)); } /** - * This test uses teh attrs[] array to compare every attribute against + * This test uses the attrs[] array to compare every attribute against * the others (and vice versa). * * The attribute values are taken from example 3.3 Start and End Tags From [email protected] Fri Dec 26 11:47:07 2003 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 78513 invoked from network); 26 Dec 2003 11:47:07 -0000 Received: from unknown (HELO minotaur.apache.org) (161.129.204.104) by daedalus.apache.org with SMTP; 26 Dec 2003 11:47:07 -0000 Received: (qmail 70768 invoked by uid 1562); 26 Dec 2003 11:47:07 -0000 Date: 26 Dec 2003 11:47:07 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: xml-security/data/interop/c14n/Y4 .cvsignore X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N vdkoogh 2003/12/26 03:47:07 Added: data/interop/c14n/Y2 .cvsignore data/interop/xfilter2/merlin-xpath-filter2-three .cvsignore data/interop/c14n/Y1 .cvsignore data/interop/c14n/Y3 .cvsignore data/interop/c14n/Y4 .cvsignore Log: Ignore HTML output CVS: ---------------------------------------------------------------------- CVS: PR: CVS: If this change addresses a PR in the problem report tracking CVS: database, then enter the PR number(s) here. CVS: Obtained from: CVS: If this change has been taken from another system, such as NCSA, CVS: then name the system in this line, otherwise delete it. CVS: Submitted by: CVS: If this code has been contributed to Apache by someone else; i.e., CVS: they sent us a patch or a new module, then include their name/email CVS: address here. If this is your work then delete this line. CVS: Reviewed by: CVS: If we are doing pre-commit code reviews and someone else has CVS: reviewed your changes, include their name(s) here. CVS: If you have not had it reviewed then delete this line. Revision Changes Path 1.1 xml-security/data/interop/c14n/Y2/.cvsignore Index: .cvsignore =================================================================== c14n-*.apache.html 1.1 xml-security/data/interop/xfilter2/merlin-xpath-filter2-three/.cvsignore Index: .cvsignore =================================================================== c14n-*.apache.html 1.1 xml-security/data/interop/c14n/Y1/.cvsignore Index: .cvsignore =================================================================== c14n-*.apache.html 1.1 xml-security/data/interop/c14n/Y3/.cvsignore Index: .cvsignore =================================================================== c14n-*.apache.html 1.1 xml-security/data/interop/c14n/Y4/.cvsignore Index: .cvsignore =================================================================== c14n-*.apache.html From [email protected] Fri Dec 26 11:47:29 2003 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 78605 invoked from network); 26 Dec 2003 11:47:29 -0000 Received: from unknown (HELO minotaur.apache.org) (161.129.204.104) by daedalus.apache.org with SMTP; 26 Dec 2003 11:47:29 -0000 Received: (qmail 70849 invoked by uid 1562); 26 Dec 2003 11:47:29 -0000 Date: 26 Dec 2003 11:47:29 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: xml-security/libs .cvsignore X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N vdkoogh 2003/12/26 03:47:29 Added: libs .cvsignore Log: Ignore downloaded bouncycastle jars CVS: ---------------------------------------------------------------------- CVS: PR: CVS: If this change addresses a PR in the problem report tracking CVS: database, then enter the PR number(s) here. CVS: Obtained from: CVS: If this change has been taken from another system, such as NCSA, CVS: then name the system in this line, otherwise delete it. CVS: Submitted by: CVS: If this code has been contributed to Apache by someone else; i.e., CVS: they sent us a patch or a new module, then include their name/email CVS: address here. If this is your work then delete this line. CVS: Reviewed by: CVS: If we are doing pre-commit code reviews and someone else has CVS: reviewed your changes, include their name(s) here. CVS: If you have not had it reviewed then delete this line. Revision Changes Path 1.1 xml-security/libs/.cvsignore Index: .cvsignore =================================================================== jce-jdk13-???.jar bcprov-jdk13-???.jar From [email protected] Fri Dec 26 11:48:06 2003 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 78888 invoked from network); 26 Dec 2003 11:48:06 -0000 Received: from unknown (HELO minotaur.apache.org) (161.129.204.104) by daedalus.apache.org with SMTP; 26 Dec 2003 11:48:06 -0000 Received: (qmail 71096 invoked by uid 1562); 26 Dec 2003 11:48:07 -0000 Date: 26 Dec 2003 11:48:07 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: xml-security .cvsignore X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N vdkoogh 2003/12/26 03:48:07 Added: . .cvsignore Log: Ignore eclipse files (.classpath and .project) and all .property files CVS: ---------------------------------------------------------------------- CVS: PR: CVS: If this change addresses a PR in the problem report tracking CVS: database, then enter the PR number(s) here. CVS: Obtained from: CVS: If this change has been taken from another system, such as NCSA, CVS: then name the system in this line, otherwise delete it. CVS: Submitted by: CVS: If this code has been contributed to Apache by someone else; i.e., CVS: they sent us a patch or a new module, then include their name/email CVS: address here. If this is your work then delete this line. CVS: Reviewed by: CVS: If we are doing pre-commit code reviews and someone else has CVS: reviewed your changes, include their name(s) here. CVS: If you have not had it reviewed then delete this line. Revision Changes Path 1.1 xml-security/.cvsignore Index: .cvsignore =================================================================== .classpath .project *.properties From [email protected] Mon Dec 29 01:14:35 2003 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 47726 invoked from network); 29 Dec 2003 01:14:35 -0000 Received: from unknown (HELO minotaur.apache.org) (161.129.204.104) by daedalus.apache.org with SMTP; 29 Dec 2003 01:14:35 -0000 Received: (qmail 69657 invoked by uid 1627); 29 Dec 2003 01:14:51 -0000 Date: 29 Dec 2003 01:14:51 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: xml-security/c/src/xenc/impl XENCCipherDataImpl.cpp XENCCipherDataImpl.hpp X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N blautenb 2003/12/28 17:14:51 Modified: c/src/xenc XENCCipherData.hpp c/src/xenc/impl XENCCipherDataImpl.cpp XENCCipherDataImpl.hpp Log: Encryption code cleanup and documentation Revision Changes Path 1.5 +13 -2 xml-security/c/src/xenc/XENCCipherData.hpp Index: XENCCipherData.hpp =================================================================== RCS file: /home/cvs/xml-security/c/src/xenc/XENCCipherData.hpp,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- XENCCipherData.hpp 10 Nov 2003 22:10:37 -0000 1.4 +++ XENCCipherData.hpp 29 Dec 2003 01:14:50 -0000 1.5 @@ -92,6 +92,17 @@ * data, an XENCEncryptedType derivative object of XENCCipher object * should be used. * + * The schema for CipherData is as follows: + * + * \verbatim +<element name='CipherData' type='xenc:CipherDataType'/> + <complexType name='CipherDataType'> + <choice> + <element name='CipherValue' type='base64Binary'/> + <element ref='xenc:CipherReference'/> + </choice> + </complexType> +\endverbatim */ @@ -160,7 +171,7 @@ * @returns the DOM Node representing the <CipherData> element */ - virtual XERCES_CPP_NAMESPACE_QUALIFIER DOMNode * getDOMNode(void) = 0; + virtual XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * getElement(void) = 0; //@} 1.10 +8 -8 xml-security/c/src/xenc/impl/XENCCipherDataImpl.cpp Index: XENCCipherDataImpl.cpp =================================================================== RCS file: /home/cvs/xml-security/c/src/xenc/impl/XENCCipherDataImpl.cpp,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- XENCCipherDataImpl.cpp 23 Nov 2003 09:12:44 -0000 1.9 +++ XENCCipherDataImpl.cpp 29 Dec 2003 01:14:50 -0000 1.10 @@ -140,16 +140,16 @@ XENCCipherDataImplacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXENCCipherDataImpl(const XSECEnv * env) : mp_env(env), -mp_cipherDataNode(NULL), +mp_cipherDataElement(NULL), mp_cipherValue(NULL), mp_cipherReference(NULL) { } -XENCCipherDataImplacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXENCCipherDataImpl(const XSECEnv * env, DOMNode * node) : +XENCCipherDataImplacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXENCCipherDataImpl(const XSECEnv * env, DOMElement * node) : mp_env(env), -mp_cipherDataNode(node), +mp_cipherDataElement(node), mp_cipherValue(NULL), mp_cipherReference(NULL) { @@ -170,7 +170,7 @@ void XENCCipherDataImplacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bload() { - if (mp_cipherDataNode == NULL) { + if (mp_cipherDataElement == NULL) { // Attempt to load an empty encryptedType element throw XSECException(XSECExceptionacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bipherDataError, @@ -178,7 +178,7 @@ } - if (!strEquals(getXENCLocalName(mp_cipherDataNode), s_CipherData)) { + if (!strEquals(getXENCLocalName(mp_cipherDataElement), s_CipherData)) { throw XSECException(XSECExceptionacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bipherDataError, "XENCCipherDatacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bload - called incorrect node"); @@ -188,7 +188,7 @@ // Find out whether this is a CipherValue or CipherReference and load // appropriately - DOMElement *tmpElt = findFirstElementChild(mp_cipherDataNode); + DOMElement *tmpElt = findFirstElementChild(mp_cipherDataElement); if (tmpElt != NULL && strEquals(getXENCLocalName(tmpElt), s_CipherValue)) { @@ -239,7 +239,7 @@ makeQName(str, prefix, s_CipherData); DOMElement *ret = doc->createElementNS(DSIGConstantsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bs_unicodeStrURIXENC, str.rawXMLChBuffer()); - mp_cipherDataNode = ret; + mp_cipherDataElement = ret; mp_env->doPrettyPrint(ret); 1.7 +6 -6 xml-security/c/src/xenc/impl/XENCCipherDataImpl.hpp Index: XENCCipherDataImpl.hpp =================================================================== RCS file: /home/cvs/xml-security/c/src/xenc/impl/XENCCipherDataImpl.hpp,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- XENCCipherDataImpl.hpp 10 Nov 2003 22:10:37 -0000 1.6 +++ XENCCipherDataImpl.hpp 29 Dec 2003 01:14:50 -0000 1.7 @@ -88,7 +88,7 @@ XENCCipherDataImpl(const XSECEnv * env); XENCCipherDataImpl( const XSECEnv * env, - XERCES_CPP_NAMESPACE_QUALIFIER DOMNode * node + XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * node ); virtual ~XENCCipherDataImpl(); @@ -104,8 +104,8 @@ virtual XENCCipherDataType getCipherDataType(void); virtual XENCCipherValue * getCipherValue(void); virtual XENCCipherReference * getCipherReference(void); - virtual XERCES_CPP_NAMESPACE_QUALIFIER DOMNode * getDOMNode(void) - {return mp_cipherDataNode;} + virtual XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * getElement(void) + {return mp_cipherDataElement;} private: @@ -114,8 +114,8 @@ XENCCipherDataImpl(); const XSECEnv * mp_env; - XERCES_CPP_NAMESPACE_QUALIFIER DOMNode - * mp_cipherDataNode; // Node at head of structure + XERCES_CPP_NAMESPACE_QUALIFIER DOMElement + * mp_cipherDataElement; // Node at head of structure XENCCipherDataType m_cipherDataType; // Is this a value or a reference? XENCCipherValueImpl * mp_cipherValue; // Cipher value node From [email protected] Tue Dec 30 09:40:30 2003 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 78970 invoked from network); 30 Dec 2003 09:40:30 -0000 Received: from unknown (HELO minotaur.apache.org) (161.129.204.104) by daedalus.apache.org with SMTP; 30 Dec 2003 09:40:30 -0000 Received: (qmail 14745 invoked by uid 1562); 30 Dec 2003 09:40:55 -0000 Date: 30 Dec 2003 09:40:55 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: xml-security/src_unitTests/org/apache/xml/security/test/c14n/helper AttrCompareTest.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N vdkoogh 2003/12/30 01:40:55 Modified: src_unitTests/org/apache/xml/security/test/c14n/helper AttrCompareTest.java Log: Replaced assertEquals on -1 and 1 to assertTrue < 0 and > 0 according to Comperator contract CVS: ---------------------------------------------------------------------- CVS: PR: CVS: If this change addresses a PR in the problem report tracking CVS: database, then enter the PR number(s) here. CVS: Obtained from: CVS: If this change has been taken from another system, such as NCSA, CVS: then name the system in this line, otherwise delete it. CVS: Submitted by: CVS: If this code has been contributed to Apache by someone else; i.e., CVS: they sent us a patch or a new module, then include their name/email CVS: address here. If this is your work then delete this line. CVS: Reviewed by: CVS: If we are doing pre-commit code reviews and someone else has CVS: reviewed your changes, include their name(s) here. CVS: If you have not had it reviewed then delete this line. Revision Changes Path 1.7 +10 -19 xml-security/src_unitTests/org/apache/xml/security/test/c14n/helper/AttrCompareTest.java Index: AttrCompareTest.java =================================================================== RCS file: /home/cvs/xml-security/src_unitTests/org/apache/xml/security/test/c14n/helper/AttrCompareTest.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- AttrCompareTest.java 26 Dec 2003 11:20:39 -0000 1.6 +++ AttrCompareTest.java 30 Dec 2003 09:40:55 -0000 1.7 @@ -188,27 +188,23 @@ AttrCompare attrCompare = new AttrCompare(); - assertEquals("attrCompare.compare((Object) attr0, (Object) attr1)", -1, - attrCompare.compare(attr0, attr1)); - assertEquals("attrCompare.compare((Object) attr1, (Object) attr0)", 1, - attrCompare.compare(attr1, attr0)); + assertTrue(attr0 + " < " + attr1, attrCompare.compare(attr0, attr1) < 0); + assertTrue(attr1 + " < " + attr0, attrCompare.compare(attr1, attr0) > 0); } public static void testA2() throws ParserConfigurationException { Document doc = createDoc("documentElement"); - Attr attr0 = doc.createAttributeNS("http://goo", "goo:foo"); - Attr attr1 = doc.createAttributeNS(null, "foo"); + Attr attr0 = doc.createAttributeNS(null, "foo"); + Attr attr1 = doc.createAttributeNS("http://goo", "goo:foo"); System.out.println("Attr1: " + attr1 + " (" + attr1.getLocalName() +")"); AttrCompare attrCompare = new AttrCompare(); - assertEquals("attrCompare.compare((Object) attr0, (Object) attr1)", 1, - attrCompare.compare(attr0, attr1)); - assertEquals("attrCompare.compare((Object) attr1, (Object) attr0)", -1, - attrCompare.compare(attr1, attr0)); + assertTrue(attr0 + " < " + attr1, attrCompare.compare(attr0, attr1) < 0); + assertTrue(attr1 + " < " + attr0, attrCompare.compare(attr1, attr0) > 0); } @@ -240,10 +236,8 @@ AttrCompare attrCompare = new AttrCompare(); - assertEquals("attrCompare.compare((Object) attr0, (Object) attr1)", -1, - attrCompare.compare(attr0, attr1)); - assertEquals("attrCompare.compare((Object) attr1, (Object) attr0)", 1, - attrCompare.compare(attr1, attr0)); + assertTrue(attr0 + " < " + attr1, attrCompare.compare(attr0, attr1) < 0); + assertTrue(attr1 + " < " + attr0, attrCompare.compare(attr1, attr0) > 0); } /** @@ -300,11 +294,8 @@ for (int j = i + 1; j < attrs.length; j++) { Attr attr0 = attrs[i]; Attr attr1 = attrs[j]; - assertEquals(attr0 + " > " + attr1, - -1, - attrCompare.compare(attr0, attr1)); - assertEquals(attr0 + " < " + attr1, - 1, attrCompare.compare(attr0, attr1)); + assertTrue(attr0 + " < " + attr1, attrCompare.compare(attr0, attr1) < 0); + assertTrue(attr1 + " < " + attr0, attrCompare.compare(attr1, attr0) > 0); } } } From [email protected] Tue Dec 30 09:42:02 2003 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 81692 invoked from network); 30 Dec 2003 09:42:02 -0000 Received: from unknown (HELO minotaur.apache.org) (161.129.204.104) by daedalus.apache.org with SMTP; 30 Dec 2003 09:42:02 -0000 Received: (qmail 15172 invoked by uid 1562); 30 Dec 2003 09:42:27 -0000 Date: 30 Dec 2003 09:42:27 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: xml-security/src_unitTests/org/apache/xml/security/test/c14n/implementations C14NInteropTest.java C14NInterop.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N vdkoogh 2003/12/30 01:42:27 Modified: src_unitTests/org/apache/xml/security/test ModuleTest.java Added: src_unitTests/org/apache/xml/security/test/external/org/apache/xalan/XPathAPI AttributeAncestorOrSelfTest.java src_unitTests/org/apache/xml/security/test/c14n/implementations C14NInteropTest.java Removed: src_unitTests/org/apache/xml/security/test/c14n/implementations C14NInterop.java Log: Renamed some Tests to have Test in the classname. CVS: ---------------------------------------------------------------------- CVS: PR: CVS: If this change addresses a PR in the problem report tracking CVS: database, then enter the PR number(s) here. CVS: Obtained from: CVS: If this change has been taken from another system, such as NCSA, CVS: then name the system in this line, otherwise delete it. CVS: Submitted by: CVS: If this code has been contributed to Apache by someone else; i.e., CVS: they sent us a patch or a new module, then include their name/email CVS: address here. If this is your work then delete this line. CVS: Reviewed by: CVS: If we are doing pre-commit code reviews and someone else has CVS: reviewed your changes, include their name(s) here. CVS: If you have not had it reviewed then delete this line. Revision Changes Path 1.1 xml-security/src_unitTests/org/apache/xml/security/test/external/org/apache/xalan/XPathAPI/AttributeAncestorOrSelfTest.java Index: AttributeAncestorOrSelfTest.java =================================================================== /* * The Apache Software License, Version 1.1 * * * Copyright (c) 1999 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 "<WebSig>" 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 [email protected]. * * 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 and was * originally based on software copyright (c) 2001, Institute for * Data Communications Systems, <http://www.nue.et-inf.uni-siegen.de/>. * The development of this software was partly funded by the European * Commission in the <WebSig> project in the ISIS Programme. * For more information on the Apache Software Foundation, please see * <http://www.apache.org/>. */ package org.apache.xml.security.test.external.org.apache.xalan.XPathAPI; import java.io.ByteArrayInputStream; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.apache.xml.security.utils.Constants; import org.apache.xml.security.utils.XMLUtils; import org.apache.xpath.XPathAPI; import org.apache.xpath.objects.XObject; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; /** * This test is to ensure that the owner element of an Attribute is on the * ancestor-or-self axis. * * @author $Author: vdkoogh $ */ public class AttributeAncestorOrSelfTest extends TestCase { /** {@link org.apache.commons.logging} logging facility */ static org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog( AttributeAncestorOrSelfTest.class.getName()); /** Field xercesVerStr */ static String xercesVerStr = XMLUtils.getXercesVersion(); /** Field xalanVerStr */ static String xalanVerStr = XMLUtils.getXalanVersion(); /** * Method suite * * */ public static Test suite() { return new TestSuite(AttributeAncestorOrSelfTest.class); } /** * Constructor AttributeAncestorOrSelf * * @param Name_ */ public AttributeAncestorOrSelfTest(String Name_) { super(Name_); } /** * Method main * * @param args */ public static void main(String[] args) { String[] testCaseName = { "-noloading", AttributeAncestorOrSelfTest.class.getName() }; junit.textui.TestRunner.main(testCaseName); } /** * Process input args and execute the XPath. * * @param xmlString * @param ctxNodeStr * @param evalStr * * @throws Exception */ static private boolean isAncestorOf( String xmlString, String ctxNodeStr, String evalStr) throws Exception { DocumentBuilderFactory dfactory = DocumentBuilderFactory.newInstance(); dfactory.setValidating(false); dfactory.setNamespaceAware(true); DocumentBuilder db = dfactory.newDocumentBuilder(); Document document = db.parse(new ByteArrayInputStream(_nodeSetInput1.getBytes())); Element nscontext = document.createElementNS(null, "nscontext"); nscontext.setAttributeNS(Constants.NamespaceSpecNS, "xmlns:ds", "http://www.w3.org/2000/09/xmldsig#"); Node ctxNode = XPathAPI.selectSingleNode(document, ctxNodeStr, nscontext); XObject include = XPathAPI.eval(ctxNode, evalStr, nscontext); return include.bool(); } //J- static final String _nodeSetInput1 = "<?xml version=\"1.0\"?>\n" + "<ds:Signature xmlns:ds='http://www.w3.org/2000/09/xmldsig#'>" + "\n" + "<ds:Object Id='id1'>" + "\n" + "<!-- the comment -->and text" + "</ds:Object>" + "\n" + "</ds:Signature>"; //J+ /** * Method test01 * * @throws Exception */ public static void test01() throws Exception { String ctxNodeStr = "/ds:Signature/ds:Object"; String evalStr = "ancestor-or-selacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bds:Signature"; assertTrue("Bad " + ctxNodeStr + " " + evalStr + " " + xalanVerStr, isAncestorOf(_nodeSetInput1, ctxNodeStr, evalStr)); } /** * Method test02 * * @throws Exception */ public static void test02() throws Exception { String ctxNodeStr = "/ds:Signature/ds:Object/text()"; String evalStr = "ancestor-or-selacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bds:Signature"; assertTrue("Bad " + ctxNodeStr + " " + evalStr + " " + xalanVerStr, isAncestorOf(_nodeSetInput1, ctxNodeStr, evalStr)); } /** * Method test03 * * @throws Exception */ public static void test03() throws Exception { String ctxNodeStr = "/ds:Signature/ds:Object/@Id"; String evalStr = "ancestor-or-selacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bds:Object"; assertTrue("Bad " + ctxNodeStr + " " + evalStr + " " + xalanVerStr, isAncestorOf(_nodeSetInput1, ctxNodeStr, evalStr)); } static { org.apache.xml.security.Init.init(); } } 1.7 +1 -1 xml-security/src_unitTests/org/apache/xml/security/test/ModuleTest.java Index: ModuleTest.java =================================================================== RCS file: /home/cvs/xml-security/src_unitTests/org/apache/xml/security/test/ModuleTest.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- ModuleTest.java 29 Apr 2003 21:36:58 -0000 1.6 +++ ModuleTest.java 30 Dec 2003 09:42:27 -0000 1.7 @@ -31,7 +31,7 @@ suite.addTest(org.apache.xml.security.test.c14n.implementations.Canonicalizer20010315Test.suite()); suite.addTest(org.apache.xml.security.test.c14n.implementations.Canonicalizer20010315ExclusiveTest.suite()); suite.addTest(org.apache.xml.security.test.external.org.apache.xalan.XPathAPI.XalanBug1425Test.suite()); - suite.addTest(org.apache.xml.security.test.external.org.apache.xalan.XPathAPI.AttributeAncestorOrSelf.suite()); + suite.addTest(org.apache.xml.security.test.external.org.apache.xalan.XPathAPI.AttributeAncestorOrSelfTest.suite()); suite.addTest(org.apache.xml.security.test.signature.XMLSignatureInputTest.suite()); suite.addTest(org.apache.xml.security.test.transforms.implementations.TransformBase64DecodeTest.suite()); suite.addTest(org.apache.xml.security.test.utils.resolver.ResourceResolverSpiTest.suite()); 1.1 xml-security/src_unitTests/org/apache/xml/security/test/c14n/implementations/C14NInteropTest.java Index: C14NInteropTest.java =================================================================== /* * The Apache Software License, Version 1.1 * * * Copyright (c) 1999 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 "<WebSig>" 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 [email protected]. * * 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 and was * originally based on software copyright (c) 2001, Institute for * Data Communications Systems, <http://www.nue.et-inf.uni-siegen.de/>. * The development of this software was partly funded by the European * Commission in the <WebSig> project in the ISIS Programme. * For more information on the Apache Software Foundation, please see * <http://www.apache.org/>. */ package org.apache.xml.security.test.c14n.implementations; import java.io.File; import java.util.Iterator; import java.util.Set; import junit.framework.Test; import junit.framework.TestSuite; import org.apache.xml.security.c14n.implementations.Canonicalizer20010315OmitComments; import org.apache.xml.security.signature.XMLSignature; import org.apache.xml.security.signature.XMLSignatureInput; import org.apache.xml.security.test.interop.InteropTest; import org.apache.xml.security.transforms.Transforms; import org.apache.xml.security.transforms.params.XPath2FilterContainer; import org.apache.xml.security.utils.Constants; import org.apache.xml.security.utils.XMLUtils; import org.w3c.dom.Attr; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; /** * Unit test for {@link org.apache.xml.security.c14n.implementations.Canonicalizer20010315WithXPath} * * @author Christian Geuer-Pollmann */ public class C14NInteropTest extends InteropTest { /** {@link org.apache.commons.logging} logging facility */ static org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog(C14NInteropTest.class.getName()); /** * Method suite * * */ public static Test suite() { return new TestSuite(C14NInteropTest.class); } /** * Constructor Canonicalizer20010315WithXPathTest * * @param Name_ */ public C14NInteropTest(String Name_) { super(Name_); } /** * Method main * * @param args */ public static void main_(String[] args) { String[] testCaseName = { "-noloading", C14NInteropTest.class.getName() }; org.apache.xml.security.Init.init(); junit.textui.TestRunner.main(testCaseName); } /** * Method test_Y1 * * @throws Exception */ public void test_Y1() throws Exception { boolean success = t("data/interop/c14n/Y1", "exc-signature.xml"); assertTrue(success); } /** * Method test_Y2 * * @throws Exception */ public void test_Y2() throws Exception { boolean success = t("data/interop/c14n/Y2", "signature-joseph-exc.xml"); assertTrue(success); } /** * Method test_Y3 * * @throws Exception */ public void test_Y3() throws Exception { boolean success = t("data/interop/c14n/Y3", "signature.xml"); assertTrue(success); } /** * Method test_Y4 * * @throws Exception */ public void test_Y4() throws Exception { boolean success = t("data/interop/c14n/Y4", "signature.xml"); assertTrue(success); } /** * Method _test_Y4_stripped * * @throws Exception */ public void test_Y4_stripped() throws Exception { // boolean success = t("data/interop/c14n/Y4", "signatureStripped.xml"); boolean success = t("data/interop/c14n/Y4", "signature.xml"); assertTrue(success); } /** * Method t * * @param directory * @param file * * @throws Exception */ public boolean t(String directory, String file) throws Exception { String basedir = System.getProperty("basedir"); if(basedir != null && !"".equals(basedir)) { directory = basedir + "/" + directory; } File f = new File(directory + "/" + file); javax.xml.parsers.DocumentBuilderFactory dbf = javax.xml.parsers.DocumentBuilderFactory.newInstance(); dbf.setNamespaceAware(true); javax.xml.parsers.DocumentBuilder db = dbf.newDocumentBuilder(); org.w3c.dom.Document doc = db.parse(f); long start = System.currentTimeMillis(); XMLUtils.circumventBug2650(doc); long end = System.currentTimeMillis(); log.debug("fixSubtree took " + (int) (end - start)); Element sigElement = (Element) doc.getElementsByTagNameNS(Constants.SignatureSpecNS, Constants._TAG_SIGNATURE).item(0); XMLSignature signature = new XMLSignature(sigElement, f.toURL().toString()); boolean verify = signature.checkSignatureValue(signature.getKeyInfo().getPublicKey()); int failures = 0; if (!verify) { for (int i = 0; i < signature.getSignedInfo().getLength(); i++) { boolean refVerify = signature.getSignedInfo().getVerificationResult(i); if (refVerify) { log.debug("Reference " + i + " was OK"); } else { log.debug("Reference " + i + " failed"); failures++; /* XMLSignatureInput result = signature.getSignedInfo() .getReferencedContentAfterTransformsItem(i); JavaUtils.writeBytesToFilename("data/temp" + "/c14n-" + i + "-apache.txt", result .getBytes()); */ } } } return verify; } /** * Method main * * @param args * @throws Exception */ public static void main(String[] args) throws Exception { org.apache.xml.security.Init.init(); javax.xml.parsers.DocumentBuilderFactory dbf = javax.xml.parsers.DocumentBuilderFactory.newInstance(); dbf.setNamespaceAware(true); javax.xml.parsers.DocumentBuilder db = dbf.newDocumentBuilder(); Document doc = db.newDocument(); String nsA = "http://www.a.com/"; String nsB = "http://www.b.com/"; // String nsC = "http://www.c.com/"; Element A_A = doc.createElementNS(nsA, "A:A"); Element A_B = doc.createElementNS(nsA, "A:B"); Element A_C = doc.createElementNS(null, "C"); // Element A_C = doc.createElementNS(nsC, "A:C"); // Element A_D = doc.createElementNS(nsC, "A:D"); // Element A_E = doc.createElementNS(nsC, "A:E"); A_A.setAttributeNS(Constants.NamespaceSpecNS, "xmlns", "google://jsdfl/"); A_A.setAttributeNS(Constants.XML_LANG_SPACE_SpecNS, "xml:lang", "de"); A_A.setAttributeNS(Constants.NamespaceSpecNS, "xmlns:A", nsA); A_A.setAttributeNS(Constants.NamespaceSpecNS, "xmlns:B", nsB); A_A.setAttributeNS(Constants.NamespaceSpecNS, "xmlns:C", "http://c.com/"); A_B.setAttributeNS(Constants.NamespaceSpecNS, "xmlns:D", "http://c.com/"); A_B.setAttributeNS(Constants.NamespaceSpecNS, "xmlns:E", "http://c.com/"); A_C.setAttributeNS(Constants.NamespaceSpecNS, "xmlns", ""); doc.appendChild(A_A); A_A.appendChild(A_B); A_B.appendChild(A_C); log.debug("Created document"); Canonicalizer20010315OmitComments c = new Canonicalizer20010315OmitComments(); System.out.println(new String(c.engineCanonicalizeSubTree(doc))); XMLSignature sig = new XMLSignature(doc, "", XMLSignature.ALGO_ID_MAC_HMAC_SHA1); A_A.appendChild(sig.getElement()); Transforms transforms = new Transforms(doc); XPath2FilterContainer xf2_1 = XPath2FilterContainer.newInstanceIntersect(doc, "//selacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bnode()[local-name() = 'B']"); transforms.addTransform(Transforms.TRANSFORM_XPATH2FILTER, xf2_1.getElement()); XPath2FilterContainer xf2_2 = XPath2FilterContainer.newInstanceSubtract(doc, "//namespacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b*[local-name()='B']"); transforms.addTransform(Transforms.TRANSFORM_XPATH2FILTER, xf2_2.getElement()); log.info("Created signature object"); sig.addDocument("", transforms); log.info("Reference added"); sig.sign(sig.createSecretKey("secret".getBytes())); log.info("Signing finished"); XMLSignatureInput s = sig.getSignedInfo().getReferencedContentAfterTransformsItem(0); Set nodes = s.getNodeSet(); Iterator it = nodes.iterator(); while (it.hasNext()) { Node n = (Node) it.next(); if (n.getNodeType() == Node.ATTRIBUTE_NODE) { Element e = ((Attr)n).getOwnerElement(); System.out.println("<" + e.getTagName() + " " + n + " />"); } else if (n.getNodeType() == Node.ELEMENT_NODE) { System.out.println("<" + ((Element)n).getTagName() + " />"); } } log.info("finished"); System.out.println("###########################"); System.out.println(new String(s.getBytes())); } } From [email protected] Tue Dec 30 09:42:24 2003 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 81803 invoked from network); 30 Dec 2003 09:42:24 -0000 Received: from unknown (HELO minotaur.apache.org) (161.129.204.104) by daedalus.apache.org with SMTP; 30 Dec 2003 09:42:24 -0000 Received: (qmail 15272 invoked by uid 1562); 30 Dec 2003 09:42:49 -0000 Date: 30 Dec 2003 09:42:49 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: xml-security/src_unitTests/org/apache/xml/security/test/external/org/apache/xalan/XPathAPI AttributeAncestorOrSelf.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N vdkoogh 2003/12/30 01:42:49 Removed: src_unitTests/org/apache/xml/security/test/external/org/apache/xalan/XPathAPI AttributeAncestorOrSelf.java Log: now in AttributeAncestorOrSelfTest PR: Obtained from: Submitted by: Reviewed by: CVS: ---------------------------------------------------------------------- CVS: PR: CVS: If this change addresses a PR in the problem report tracking CVS: database, then enter the PR number(s) here. CVS: Obtained from: CVS: If this change has been taken from another system, such as NCSA, CVS: then name the system in this line, otherwise delete it. CVS: Submitted by: CVS: If this code has been contributed to Apache by someone else; i.e., CVS: they sent us a patch or a new module, then include their name/email CVS: address here. If this is your work then delete this line. CVS: Reviewed by: CVS: If we are doing pre-commit code reviews and someone else has CVS: reviewed your changes, include their name(s) here. CVS: If you have not had it reviewed then delete this line. From [email protected] Tue Dec 30 09:43:32 2003 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 82452 invoked from network); 30 Dec 2003 09:43:32 -0000 Received: from unknown (HELO minotaur.apache.org) (161.129.204.104) by daedalus.apache.org with SMTP; 30 Dec 2003 09:43:32 -0000 Received: (qmail 15892 invoked by uid 1562); 30 Dec 2003 09:43:57 -0000 Date: 30 Dec 2003 09:43:57 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: xml-security/src_unitTests/org/apache/xml/security/test/interop IAIKTest.java BaltimoreTest.java RSASecurityTest.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N vdkoogh 2003/12/30 01:43:57 Modified: src_unitTests/org/apache/xml/security/test/utils/resolver OfflineResolver.java src_unitTests/org/apache/xml/security/test/encryption BaltimoreEncTest.java src_unitTests/org/apache/xml/security/test/c14n/implementations Canonicalizer20010315ExclusiveTest.java ExclusiveC14NInterop.java Canonicalizer20010315Test.java src_unitTests/org/apache/xml/security/test/interop IAIKTest.java BaltimoreTest.java RSASecurityTest.java Log: Prefix all file access with the system property 'basedir' if set. This is needed to make it work in Eclipse. CVS: ---------------------------------------------------------------------- CVS: PR: CVS: If this change addresses a PR in the problem report tracking CVS: database, then enter the PR number(s) here. CVS: Obtained from: CVS: If this change has been taken from another system, such as NCSA, CVS: then name the system in this line, otherwise delete it. CVS: Submitted by: CVS: If this code has been contributed to Apache by someone else; i.e., CVS: they sent us a patch or a new module, then include their name/email CVS: address here. If this is your work then delete this line. CVS: Reviewed by: CVS: If we are doing pre-commit code reviews and someone else has CVS: reviewed your changes, include their name(s) here. CVS: If you have not had it reviewed then delete this line. Revision Changes Path 1.6 +14 -6 xml-security/src_unitTests/org/apache/xml/security/test/utils/resolver/OfflineResolver.java Index: OfflineResolver.java =================================================================== RCS file: /home/cvs/xml-security/src_unitTests/org/apache/xml/security/test/utils/resolver/OfflineResolver.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- OfflineResolver.java 29 Apr 2003 21:37:00 -0000 1.5 +++ OfflineResolver.java 30 Dec 2003 09:43:57 -0000 1.6 @@ -187,21 +187,29 @@ OfflineResolver._uriMap = new HashMap(); OfflineResolver._mimeMap = new HashMap(); + + String basedir = System.getProperty("basedir"); + if(basedir == null) { + basedir = "/"; + } + else { + basedir = basedir + "/"; + } OfflineResolver.register("http://www.w3.org/TR/xml-stylesheet", - "data/org/w3c/www/TR/xml-stylesheet.html", + basedir + "data/org/w3c/www/TR/xml-stylesheet.html", "text/html"); OfflineResolver.register("http://www.w3.org/TR/2000/REC-xml-20001006", - "data/org/w3c/www/TR/2000/REC-xml-20001006", + basedir + "data/org/w3c/www/TR/2000/REC-xml-20001006", "text/xml"); OfflineResolver.register("http://www.nue.et-inf.uni-siegen.de/index.html", - "data/org/apache/xml/security/temp/nuehomepage", + basedir + "data/org/apache/xml/security/temp/nuehomepage", "text/html"); OfflineResolver.register( "http://www.nue.et-inf.uni-siegen.de/~geuer-pollmann/id2.xml", - "data/org/apache/xml/security/temp/id2.xml", "text/xml"); + basedir + "data/org/apache/xml/security/temp/id2.xml", "text/xml"); OfflineResolver.register( "http://xmldsig.pothole.com/xml-stylesheet.txt", - "data/com/pothole/xmldsig/xml-stylesheet.txt", "text/xml"); + basedir + "data/com/pothole/xmldsig/xml-stylesheet.txt", "text/xml"); } } 1.12 +20 -6 xml-security/src_unitTests/org/apache/xml/security/test/encryption/BaltimoreEncTest.java Index: BaltimoreEncTest.java =================================================================== RCS file: /home/cvs/xml-security/src_unitTests/org/apache/xml/security/test/encryption/BaltimoreEncTest.java,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- BaltimoreEncTest.java 26 Dec 2003 11:20:39 -0000 1.11 +++ BaltimoreEncTest.java 30 Dec 2003 09:43:57 -0000 1.12 @@ -60,7 +60,6 @@ import java.io.ByteArrayOutputStream; import java.io.File; -import java.io.FileInputStream; import java.io.IOException; import java.security.Key; import java.security.KeyFactory; @@ -86,6 +85,7 @@ import org.apache.xml.security.keys.content.X509Data; import org.apache.xml.security.keys.content.x509.XMLX509Certificate; import org.apache.xml.security.keys.keyresolver.KeyResolver; +import org.apache.xml.security.utils.JavaUtils; import org.apache.xml.security.utils.XMLUtils; import org.apache.xml.serialize.DOMSerializer; import org.apache.xml.serialize.Method; @@ -177,6 +177,10 @@ String filename = "data/ie/baltimore/merlin-examples/merlin-xmlenc-five/plaintext.xml"; + String basedir = System.getProperty("basedir"); + if(basedir != null && !"".equals(basedir)) { + filename = basedir + "/" + filename; + } File f = new File(filename); DocumentBuilder db = dbf.newDocumentBuilder(); @@ -202,10 +206,12 @@ rsaCertSerialNumber = new String("1014918766910"); // rsaKey - FileInputStream infile = - new FileInputStream("data/ie/baltimore/merlin-examples/merlin-xmlenc-five/rsa.p8"); - byte[] pkcs8Bytes = new byte[10240]; - infile.close(); + filename = "data/ie/baltimore/merlin-examples/merlin-xmlenc-five/rsa.p8"; + if(basedir != null && !"".equals(basedir)) { + filename = basedir + "/" + filename; + } + + byte[] pkcs8Bytes = JavaUtils.getBytesFromFile(filename); PKCS8EncodedKeySpec pkcs8Spec = new PKCS8EncodedKeySpec(pkcs8Bytes); @@ -213,7 +219,7 @@ // Create a key factory KeyFactory keyFactory = KeyFactory.getInstance("RSA"); - rsaKey = keyFactory.generatePrivate(pkcs8Spec); + rsaKey = keyFactory.generatePrivate(pkcs8Spec); // Initialise the library @@ -463,6 +469,10 @@ javax.xml.parsers.DocumentBuilderFactory.newInstance(); dbf.setNamespaceAware(true); dbf.setAttribute("http://xml.org/sax/features/namespaces", Boolean.TRUE); + String basedir = System.getProperty("basedir"); + if(basedir != null && !"".equals(basedir)) { + filename = basedir + "/" + filename; + } File f = new File(filename); DocumentBuilder db = dbf.newDocumentBuilder(); @@ -511,6 +521,10 @@ javax.xml.parsers.DocumentBuilderFactory.newInstance(); dbf.setNamespaceAware(true); dbf.setAttribute("http://xml.org/sax/features/namespaces", Boolean.TRUE); + String basedir = System.getProperty("basedir"); + if(basedir != null || !"".equals(basedir)) { + filename = basedir + "/" + filename; + } File f = new File(filename); DocumentBuilder db = dbf.newDocumentBuilder(); 1.9 +25 -16 xml-security/src_unitTests/org/apache/xml/security/test/c14n/implementations/Canonicalizer20010315ExclusiveTest.java Index: Canonicalizer20010315ExclusiveTest.java =================================================================== RCS file: /home/cvs/xml-security/src_unitTests/org/apache/xml/security/test/c14n/implementations/Canonicalizer20010315ExclusiveTest.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- Canonicalizer20010315ExclusiveTest.java 22 Nov 2003 12:01:27 -0000 1.8 +++ Canonicalizer20010315ExclusiveTest.java 30 Dec 2003 09:43:57 -0000 1.9 @@ -182,8 +182,8 @@ org.apache.xml.security.keys.keyresolver .KeyResolverException { - File fileIn = new File( - "data/ie/baltimore/merlin-examples/ec-merlin-iaikTests-two/signature.xml"); + File fileIn = new File(getAbsolutePath( + "data/ie/baltimore/merlin-examples/ec-merlin-iaikTests-two/signature.xml") ); // File fileIn = new File("signature.xml"); assertTrue("file exists", fileIn.exists()); @@ -234,12 +234,12 @@ Document doc = this.db - .parse("data/org/apache/xml/security/c14n/inExcl/example2_2_1.xml"); + .parse(getAbsolutePath("data/org/apache/xml/security/c14n/inExcl/example2_2_1.xml") ); Node root = doc.getElementsByTagNameNS("http://example.net", "elem2").item(0); Canonicalizer20010315 c = new Canonicalizer20010315WithComments(); - byte[] reference = JavaUtils.getBytesFromFile( - "data/org/apache/xml/security/c14n/inExcl/example2_2_1_c14nized.xml"); + byte[] reference = JavaUtils.getBytesFromFile(getAbsolutePath( + "data/org/apache/xml/security/c14n/inExcl/example2_2_1_c14nized.xml") ); byte[] result = c.engineCanonicalizeSubTree(root); boolean equals = JavaUtils.binaryCompare(reference, result); @@ -273,12 +273,12 @@ Document doc = this.db - .parse("data/org/apache/xml/security/c14n/inExcl/example2_2_2.xml"); + .parse(getAbsolutePath("data/org/apache/xml/security/c14n/inExcl/example2_2_2.xml")); Node root = doc.getElementsByTagNameNS("http://example.net", "elem2").item(0); Canonicalizer20010315 c = new Canonicalizer20010315WithComments(); - byte[] reference = JavaUtils.getBytesFromFile( - "data/org/apache/xml/security/c14n/inExcl/example2_2_2_c14nized.xml"); + byte[] reference = JavaUtils.getBytesFromFile(getAbsolutePath( + "data/org/apache/xml/security/c14n/inExcl/example2_2_2_c14nized.xml")); byte[] result = c.engineCanonicalizeSubTree(root); boolean equals = JavaUtils.binaryCompare(reference, result); @@ -306,12 +306,12 @@ Document doc = this.db - .parse("data/org/apache/xml/security/c14n/inExcl/example2_2_1.xml"); + .parse(getAbsolutePath("data/org/apache/xml/security/c14n/inExcl/example2_2_1.xml")); Node root = doc.getElementsByTagNameNS("http://example.net", "elem2").item(0); Canonicalizer20010315Excl c = new Canonicalizer20010315ExclWithComments(); - byte[] reference = JavaUtils.getBytesFromFile( - "data/org/apache/xml/security/c14n/inExcl/example2_2_c14nized_exclusive.xml"); + byte[] reference = JavaUtils.getBytesFromFile(getAbsolutePath( + "data/org/apache/xml/security/c14n/inExcl/example2_2_c14nized_exclusive.xml") ); byte[] result = c.engineCanonicalizeSubTree(root); boolean equals = JavaUtils.binaryCompare(reference, result); @@ -339,12 +339,12 @@ Document doc = this.db - .parse("data/org/apache/xml/security/c14n/inExcl/example2_2_2.xml"); + .parse(getAbsolutePath("data/org/apache/xml/security/c14n/inExcl/example2_2_2.xml")); Node root = doc.getElementsByTagNameNS("http://example.net", "elem2").item(0); Canonicalizer20010315Excl c = new Canonicalizer20010315ExclWithComments(); - byte[] reference = JavaUtils.getBytesFromFile( - "data/org/apache/xml/security/c14n/inExcl/example2_2_c14nized_exclusive.xml"); + byte[] reference = JavaUtils.getBytesFromFile(getAbsolutePath( + "data/org/apache/xml/security/c14n/inExcl/example2_2_c14nized_exclusive.xml") ); byte[] result = c.engineCanonicalizeSubTree(root); boolean equals = JavaUtils.binaryCompare(reference, result); @@ -374,19 +374,28 @@ Document doc = this.db - .parse("data/org/apache/xml/security/c14n/inExcl/example2_2_3.xml"); + .parse(getAbsolutePath("data/org/apache/xml/security/c14n/inExcl/example2_2_3.xml")); XMLUtils.circumventBug2650(doc); NodeList nodes = XPathAPI.selectNodeList(doc.getDocumentElement(), "(//. | //@* | //namespacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b*)[ancestor-or-selacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bp]"); Canonicalizer20010315Excl c = new Canonicalizer20010315ExclWithComments(); byte[] reference = JavaUtils.getBytesFromFile( - "data/org/apache/xml/security/c14n/inExcl/example2_2_3_c14nized_exclusive.xml"); + getAbsolutePath("data/org/apache/xml/security/c14n/inExcl/example2_2_3_c14nized_exclusive.xml") ); byte[] result = c.engineCanonicalizeXPathNodeSet(nodes); boolean equals = JavaUtils.binaryCompare(reference, result); if (!equals) { log.warn("Error output = " + new String(result)); } assertTrue(equals); + } + + private String getAbsolutePath(String path) + { + String basedir = System.getProperty("basedir"); + if(basedir != null && !"".equals(basedir)) { + path = basedir + "/" + path; + } + return path; } } 1.10 +6 -1 xml-security/src_unitTests/org/apache/xml/security/test/c14n/implementations/ExclusiveC14NInterop.java Index: ExclusiveC14NInterop.java =================================================================== RCS file: /home/cvs/xml-security/src_unitTests/org/apache/xml/security/test/c14n/implementations/ExclusiveC14NInterop.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- ExclusiveC14NInterop.java 29 Apr 2003 21:36:58 -0000 1.9 +++ ExclusiveC14NInterop.java 30 Dec 2003 09:43:57 -0000 1.10 @@ -181,7 +181,12 @@ * * @throws Exception */ - public String t(String directory, String file) throws Exception { + public String t(String directory, String file) throws Exception + { + String basedir = System.getProperty("basedir"); + if(basedir != null && !"".equals(basedir)) { + directory = basedir + "/" + directory; + } File f = new File(directory + "/" + file); javax.xml.parsers.DocumentBuilderFactory dbf = 1.18 +13 -5 xml-security/src_unitTests/org/apache/xml/security/test/c14n/implementations/Canonicalizer20010315Test.java Index: Canonicalizer20010315Test.java =================================================================== RCS file: /home/cvs/xml-security/src_unitTests/org/apache/xml/security/test/c14n/implementations/Canonicalizer20010315Test.java,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- Canonicalizer20010315Test.java 26 Dec 2003 11:20:39 -0000 1.17 +++ Canonicalizer20010315Test.java 30 Dec 2003 09:43:57 -0000 1.18 @@ -387,13 +387,15 @@ * @throws SAXException * @see #test34validatingParser * @see <A HREF="http://www.w3.org/TR/2001/PR-xml-c14n-20010119#Example-Chars">the example from the spec</A> - * $todo$ Check what we have to do to get this f*cking test working!!! * @throws TransformerException */ - public static void _test34() + public static void test34() throws IOException, FileNotFoundException, SAXException, ParserConfigurationException, CanonicalizationException, - InvalidCanonicalizerException, TransformerException { + InvalidCanonicalizerException, TransformerException + { + + //TODO Check what we have to do to get this f*cking test working!!! String descri = "3.4 Character Modifications and Character References. (uncommented)"; @@ -865,7 +867,7 @@ org.xml.sax.EntityResolver resolver = new TestVectorResolver(); InputStream refStream = resolver.resolveEntity( null, - "data/org/apache/xml/security/c14n/in/testTranslationFromUTF16toUTF8.xml") + prefix + "/in/testTranslationFromUTF16toUTF8.xml") .getByteStream(); byte refBytes[] = JavaUtils.getBytesFromStream(refStream); boolean equal = JavaUtils.binaryCompare(refBytes, c14nBytes); @@ -1172,6 +1174,7 @@ // org.xml.sax.EntityResolver resolver = new TestVectorResolver(); // documentBuilder.setEntityResolver(resolver); // Document doc = documentBuilder.parse(resolver.resolveEntity(null, fileIn)); + Document doc = documentBuilder.parse(fileIn); XMLUtils.circumventBug2650(doc); @@ -1266,7 +1269,12 @@ throw new RuntimeException(urlEx.getMessage()); } */ - prefix = "data/org/apache/xml/security/c14n/"; + prefix = "data/org/apache/xml/security/c14n/"; + String basedir = System.getProperty("basedir"); + if(basedir != null && !"".equals(basedir)) { + prefix = basedir + "/" + prefix; + } + org.apache.xml.security.Init.init(); } } 1.9 +6 -2 xml-security/src_unitTests/org/apache/xml/security/test/interop/IAIKTest.java Index: IAIKTest.java =================================================================== RCS file: /home/cvs/xml-security/src_unitTests/org/apache/xml/security/test/interop/IAIKTest.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- IAIKTest.java 29 Apr 2003 21:36:58 -0000 1.8 +++ IAIKTest.java 30 Dec 2003 09:43:57 -0000 1.9 @@ -84,7 +84,7 @@ IAIKTest.class.getName()); /** Field gregorsDir */ - static final String gregorsDir = "data/at/iaik/ixsil/"; + static String gregorsDir = "data/at/iaik/ixsil/"; /** * Method suite @@ -468,6 +468,10 @@ } static { + String basedir = System.getProperty("basedir"); + if(basedir != null && !"".equals(basedir)) { + gregorsDir = basedir + "/" + gregorsDir; + } org.apache.xml.security.Init.init(); } } 1.9 +11 -3 xml-security/src_unitTests/org/apache/xml/security/test/interop/BaltimoreTest.java Index: BaltimoreTest.java =================================================================== RCS file: /home/cvs/xml-security/src_unitTests/org/apache/xml/security/test/interop/BaltimoreTest.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- BaltimoreTest.java 29 Apr 2003 21:36:58 -0000 1.8 +++ BaltimoreTest.java 30 Dec 2003 09:43:57 -0000 1.9 @@ -82,8 +82,10 @@ org.apache.commons.logging.LogFactory.getLog(BaltimoreTest.class.getName()); /** Field merlinsDir15 */ - static final String merlinsDir15 = + static String merlinsDir15 = "data/ie/baltimore/merlin-examples/merlin-xmldsig-fifteen/"; + static String merlinsDir16 = + "data/ie/baltimore/merlin-examples/merlin-xmldsig-sixteen"; /** * Method suite @@ -326,7 +328,7 @@ public void test_sixteen_external_dsa() throws Exception { String filename = - "data/ie/baltimore/merlin-examples/merlin-xmldsig-sixteen/signature.xml"; + merlinsDir16 + "/signature.xml"; ResourceResolverSpi resolver = new OfflineResolver(); boolean followManifests = false; boolean verify = false; @@ -346,6 +348,12 @@ } static { + + String basedir = System.getProperty("basedir"); + if(basedir != null && !"".equals(basedir)) { + merlinsDir15 = basedir + "/" + merlinsDir15; + merlinsDir16 = basedir + "/" + merlinsDir16; + } org.apache.xml.security.Init.init(); } } 1.6 +6 -2 xml-security/src_unitTests/org/apache/xml/security/test/interop/RSASecurityTest.java Index: RSASecurityTest.java =================================================================== RCS file: /home/cvs/xml-security/src_unitTests/org/apache/xml/security/test/interop/RSASecurityTest.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- RSASecurityTest.java 29 Apr 2003 21:36:58 -0000 1.5 +++ RSASecurityTest.java 30 Dec 2003 09:43:57 -0000 1.6 @@ -81,7 +81,7 @@ org.apache.commons.logging.LogFactory.getLog(RSASecurityTest.class.getName()); /** Field blakesDir */ - static final String blakesDir = + static String blakesDir = "data/com/rsasecurity/bdournaee/"; /** @@ -145,6 +145,10 @@ } static { + String basedir = System.getProperty("basedir"); + if(basedir != null && !"".equals(basedir)) { + blakesDir = basedir + "/" + blakesDir; + } org.apache.xml.security.Init.init(); } } From [email protected] Tue Dec 30 09:45:13 2003 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 83675 invoked from network); 30 Dec 2003 09:45:13 -0000 Received: from unknown (HELO minotaur.apache.org) (161.129.204.104) by daedalus.apache.org with SMTP; 30 Dec 2003 09:45:13 -0000 Received: (qmail 16759 invoked by uid 1562); 30 Dec 2003 09:45:38 -0000 Date: 30 Dec 2003 09:45:38 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: xml-security build.xml X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N vdkoogh 2003/12/30 01:45:38 Modified: . build.xml Log: Make the junit tests the default and remove taskdefs for Md5 and Sha1. Ant 1.6 is released and ant 1.54 should be standard CVS: ---------------------------------------------------------------------- CVS: PR: CVS: If this change addresses a PR in the problem report tracking CVS: database, then enter the PR number(s) here. CVS: Obtained from: CVS: If this change has been taken from another system, such as NCSA, CVS: then name the system in this line, otherwise delete it. CVS: Submitted by: CVS: If this code has been contributed to Apache by someone else; i.e., CVS: they sent us a patch or a new module, then include their name/email CVS: address here. If this is your work then delete this line. CVS: Reviewed by: CVS: If we are doing pre-commit code reviews and someone else has CVS: reviewed your changes, include their name(s) here. CVS: If you have not had it reviewed then delete this line. Revision Changes Path 1.65 +3 -19 xml-security/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/xml-security/build.xml,v retrieving revision 1.64 retrieving revision 1.65 diff -u -r1.64 -r1.65 --- build.xml 8 Dec 2003 07:12:56 -0000 1.64 +++ build.xml 30 Dec 2003 09:45:38 -0000 1.65 @@ -379,14 +379,10 @@ <get dest="${lib.jce}" src="${jce.download}" usetimestamp="true" verbose="true"/> </target> - <taskdef classname="ant.Md5Task" classpath="." name="md5"/> <target depends="get-jce" description="This target checks that the digest values of the JCE library are valid" name="check-bc"> - <md5 Md5="${jce.download.md5}" Sha1="${jce.download.sha1}" file="${lib.jce}"/> <!-- when ant 1.5 becomes widely available, maybe the core task "checksum" can make this easier --> - <!-- <checksum file="${lib.jce}" property="${jce.download.md5}" algorithm="md5" verifyProperty="md5OK" /> - <checksum file="${lib.jce}" property="${jce.download.sha1}" algorithm="sha" verifyProperty="sha1OK" /> - --> + <!--checksum file="${lib.jce}" property="${jce.download.sha1}" algorithm="sha" verifyProperty="sha1OK" / --> </target> <target depends="prepare-src, check-bc" name="compile.library"> @@ -422,20 +418,7 @@ </javac> </target> - <target depends="compile.tests" description="Starts all JUnit test cases" if="junit.present" name="test"> -<!-- <java classname="junit.textui.TestRunner" - fork="yes" - taskname="junit" - failonerror="true"> - <arg value="org.apache.xml.security.test.AllTests" /> - <classpath refid="classpath.test" /> - </java> --> - <java classname="org.apache.xml.security.test.AllTests" failonerror="true" fork="yes" taskname="junit"> - <classpath refid="classpath.test"/> - </java> - </target> - - <target depends="compile.tests" description="Starts all Junit tests with optional Ant" if="junit.present" name="test_junit"> + <target depends="compile.tests" description="Starts all Junit tests with optional Ant" if="junit.present" name="test"> <delete dir="${build.junit.xml}"/> <delete dir="${build.junit.html}"/> <mkdir dir="${build.junit.xml}"/> @@ -459,6 +442,7 @@ <available file="data/com/ibm/xss4j-20011029/enveloped-rsa.sig" property="ibm.available"/> <junit filtertrace="true" fork="true" printsummary="on"> <jvmarg value="-Djava.compiler=NONE"/> + <sysproperty key="basedir" value="${basedir}"/> <classpath refid="classpath.test"/> <formatter type="xml"/> <batchtest fork="yes" todir="${build.junit.xml}">
From [email protected] Tue Apr 10 07:41:02 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51259 invoked from network); 10 Apr 2007 07:41:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Apr 2007 07:41:01 -0000 Received: (qmail 75310 invoked by uid 500); 10 Apr 2007 07:41:07 -0000 Delivered-To: [email protected] Received: (qmail 75050 invoked by uid 500); 10 Apr 2007 07:41:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <gui-dev.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 75038 invoked by uid 99); 10 Apr 2007 07:41:07 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Apr 2007 00:41:07 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ciao.gmane.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Apr 2007 00:40:59 -0700 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1HbAxO-0005uV-F4 for [email protected]; Tue, 10 Apr 2007 09:40:04 +0200 Received: from iggsn1inet2.beelinegprs.ru ([161.129.204.104]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <[email protected]>; Tue, 10 Apr 2007 09:40:02 +0200 Received: from szimin by iggsn1inet2.beelinegprs.ru with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <[email protected]>; Tue, 10 Apr 2007 09:40:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: [email protected] From: Sergey Zimin <[email protected]> Subject: Htpasswd Generator 3.0 Date: Tue, 10 Apr 2007 11:34:02 +0400 Lines: 38 Message-ID: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: [email protected] X-Gmane-NNTP-Posting-Host: iggsn1inet2.beelinegprs.ru User-Agent: Thunderbird 161.129.204.104 (Windows/20061207) Sender: news <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi, We are glad to announce the release of new version of Htpasswd Generator. The latest version of product is 3.0 Htpasswd Generator has the following features: - a graphical interface for working with the files .htpasswd and .htgroup - manual editing of the files .htpasswd and .htgroup using the built-in text editor with syntax highlighting - text editor for the .htaccess files with syntax highlighting - storing an extra data about users and users groups, such as the full name, email, phone number, real password, etc. - convenient user password generation with SHA, MD5, Crypt encryption. Batch passwords changing. - batch emails sending - Htaccess Wizard (Htaccess Generator) - simultaneous and "transparent" files modification in case you need to modify both files. For example: - when you remove a user from .htpasswd, you can automatically remove it from all groups in the file .htgroup similarly - when you rename a user, you can rename it in all groups - when you delete groups, you can remove all users in this group from the file .htpasswd - the import and export of the users and their extra data - working with the local and remote files .htpasswd and .htgroup via the FTP and SSH protocols - analyzing the files .htpasswd and .htgroup - alerts system according extra users data - editing several users simultaneously - generating the random passwords To download Htpasswd Generator, visit the special section of our website: http://www.htpasswdgenerator.com/download_htpasswd_generator.html --- Best regards, The Zecos Software development team http://www.Apache-GUI.com http://www.HtpasswdGenerator.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
From [email protected] Mon Nov 01 15:17:45 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37118 invoked from network); 1 Nov 2010 15:17:45 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 1 Nov 2010 15:17:45 -0000 Received: (qmail 51653 invoked by uid 500); 1 Nov 2010 15:18:16 -0000 Delivered-To: [email protected] Received: (qmail 51414 invoked by uid 500); 1 Nov 2010 15:18:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <dev.apr.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 51407 invoked by uid 99); 1 Nov 2010 15:18:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Nov 2010 15:18:13 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO sasl.smtp.pobox.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Nov 2010 15:18:06 +0000 Received: from sasl.smtp.pobox.com (unknown [161.129.204.104]) by b-sasl-quonix.pobox.com (Postfix) with ESMTP id EB6F11EF1 for <[email protected]>; Mon, 1 Nov 2010 11:17:43 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to :subject:date:message-id:mime-version:content-type; s=sasl; bh=M 0GzhWHdx/HHln0zvosIwNKP3sM=; b=ivgwdZHY8uAiZ6U1sgBPSIo2jZ2DgpIZf JzgxZd2dKZ/EX2xIMiOjBp/IsYMVraKwwWnVf16TX6sPMPI4Iyzmb9+tT+EbK2B/ YaKf89lXemLTtZkBKM1OPQPfsIw9zBX3pDsiZCVQ7B5k/FDoM1DMMfo1+uKN07hP hEjs25YOzk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:subject :date:message-id:mime-version:content-type; q=dns; s=sasl; b=EKs kv2yq9XHwo5EHxj45/aykbQ7YAHaxNmUb8H0catYY9BKaYsBSxEK+MZaNMvMp9Ja zOHM1cGDisrvlwr8ubOGwB+ecEbdQK95+QySnqIWmFhxPODfI9a9gf0R40TscUb5 aKgd4CjJjwrUEnpZBCV6/ejzo9R0jOjfmaih3zBE= Received: from b-pb-sasl-quonix. (unknown [161.129.204.104]) by b-sasl-quonix.pobox.com (Postfix) with ESMTP id E972B1EF0 for <[email protected]>; Mon, 1 Nov 2010 11:17:43 -0400 (EDT) Received: from kabuki.mynet (unknown [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by b-sasl-quonix.pobox.com (Postfix) with ESMTPSA id A62E91EEF for <[email protected]>; Mon, 1 Nov 2010 11:17:43 -0400 (EDT) From: Dan Poirier <[email protected]> To: [email protected] Subject: apr_file_exists? User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (darwin) Date: Mon, 01 Nov 2010 11:17:42 -0400 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Pobox-Relay-ID: 2CED6FA2-E5CB-11DF-9FF9-A167C76EB067-25076293!b-pb-sasl-quonix.pobox.com X-Virus-Checked: Checked by ClamAV on apache.org Is there a function like apr_file_exists? I looked but didn't spot anything. If not, is this a reasonable way to do it: APR_SUCCESS == apr_stat(&finfo, filename, APR_FINFO_TYPE, pool) and would it be worth adding to APR? Thanks, Dan From [email protected] Tue Nov 02 13:48:48 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10987 invoked from network); 2 Nov 2010 13:48:48 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 2 Nov 2010 13:48:48 -0000 Received: (qmail 84191 invoked by uid 500); 2 Nov 2010 13:49:19 -0000 Delivered-To: [email protected] Received: (qmail 83785 invoked by uid 500); 2 Nov 2010 13:49:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <dev.apr.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 83775 invoked by uid 99); 2 Nov 2010 13:49:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Nov 2010 13:49:15 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ew0-f50.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Nov 2010 13:49:08 +0000 Received: by ewy5 with SMTP id 5so3635636ewy.37 for <[email protected]>; Tue, 02 Nov 2010 06:48:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=qax+NTM2X/G5u7VovwtAG0YhJh6JbIDf60vazmpkJ2g=; b=WAQsRbsSwiNzeDcThUSSASKvw2hoRNiDTxTSPr01tvSn7SZXaIHjngNoayyUFyAb20 elfgWiHtmubH61yqujU5YVutFBVsEBplxK0Jkpa54r5Es3jdveXNauRFflnKWRg2TkjS rasHU4g8a7c3h/0smKGEp92haHw/cr8Fnqz/0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=NU1LJfSI089FR//gGEozvcZ6wNlBkvO/JdpbtriQfiyedv1rRdk0Nq6JztTofMtDwq Un7yeFFxMJ7KtvgVBZUs5yMF0xx1VH++M2JyrV4Ju5ZXz34Wey5roat2R+5FtbKh7qRO QP6VA76na3uIz6Si6UyR4V6PDk9aNJqJ/9lFY= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id e9mr8376966ebd.95.1288705727713; Tue, 02 Nov 2010 06:48:47 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 2 Nov 2010 06:48:47 -0700 (PDT) Date: Tue, 2 Nov 2010 09:48:47 -0400 Message-ID: <[email protected]> Subject: moderated dev list a waste of time? From: Jeff Trawick <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org As one of your humble list moderators for some time now, I've saved a few end users the minor aggravation, perhaps temporary, of subscribing before posting, and of course rejected hundreds upon hundreds of spam messages. The number of messages mistakenly accepted to the list (I'm not saying I did that ;) ) rivals the number of rescued messages. I'm happy to continue if the community believes that this has non-trivial value, but I suspect it is just as well to require a subscription before posting. Concerns? From [email protected] Tue Nov 02 14:47:11 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49180 invoked from network); 2 Nov 2010 14:47:11 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 2 Nov 2010 14:47:11 -0000 Received: (qmail 827 invoked by uid 500); 2 Nov 2010 14:47:42 -0000 Delivered-To: [email protected] Received: (qmail 519 invoked by uid 500); 2 Nov 2010 14:47:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <dev.apr.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 512 invoked by uid 99); 2 Nov 2010 14:47:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Nov 2010 14:47:39 +0000 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=FSL_HELO_NON_FQDN_1,HELO_NO_DOMAIN,MISSING_HEADERS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO webthing) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Nov 2010 14:47:30 +0000 Received: from [161.129.204.104] (walkham.free-online.co.uk [161.129.204.104]) by webthing (Postfix) with ESMTPSA id 280BDDC001 for <[email protected]>; Tue, 2 Nov 2010 14:47:09 +0000 (UTC) References: <[email protected]> In-Reply-To: <[email protected]> Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit Cc: [email protected] From: Nick Kew <[email protected]> Subject: Re: moderated dev list a waste of time? Date: Tue, 2 Nov 2010 14:47:07 +0000 X-Mailer: Apple Mail (2.1081) X-Virus-Checked: Checked by ClamAV on apache.org On 2 Nov 2010, at 13:48, Jeff Trawick wrote: > I'm happy to continue if the community believes that this has > non-trivial value, but I suspect it is just as well to require a > subscription before posting. Thanks for moderating. But +1 to dispensing with that chore in favour of subscription. -- Nick Kew From [email protected] Tue Nov 02 15:02:06 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57963 invoked from network); 2 Nov 2010 15:02:05 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 2 Nov 2010 15:02:05 -0000 Received: (qmail 32708 invoked by uid 500); 2 Nov 2010 15:02:37 -0000 Delivered-To: [email protected] Received: (qmail 32185 invoked by uid 500); 2 Nov 2010 15:02:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <dev.apr.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 32172 invoked by uid 99); 2 Nov 2010 15:02:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Nov 2010 15:02:34 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f50.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Nov 2010 15:02:28 +0000 Received: by bwz17 with SMTP id 17so8287331bwz.37 for <[email protected]>; Tue, 02 Nov 2010 08:02:06 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id n12mr8041503bkh.61.1288710125897; Tue, 02 Nov 2010 08:02:05 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 2 Nov 2010 08:02:05 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Tue, 2 Nov 2010 11:02:05 -0400 Message-ID: <[email protected]> Subject: Re: moderated dev list a waste of time? From: Wes Garland <[email protected]> To: Nick Kew <[email protected]> Cc: [email protected] Content-Type: multipart/alternative; boundary=001636c5a97145c8fe04941335ba --001636c5a97145c8fe04941335ba Content-Type: text/plain; charset=ISO-8859-1 +1 On Tue, Nov 2, 2010 at 10:47 AM, Nick Kew <[email protected]> wrote: > > On 2 Nov 2010, at 13:48, Jeff Trawick wrote: > > > I'm happy to continue if the community believes that this has > > non-trivial value, but I suspect it is just as well to require a > > subscription before posting. > > Thanks for moderating. > > But +1 to dispensing with that chore in favour of subscription. > > -- > Nick Kew > -- Wesley W. Garland Director, Product Development PageMail, Inc. +1-618-644-1734 --001636c5a97145c8fe04941335ba Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable +1<br><br><div class=3D"gmail_quote">On Tue, Nov 2, 2010 at 10:47 AM, Nick = Kew <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]">[email protected]<= /a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"border-= left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left= : 1ex;"> <div class=3D"im"><br> On 2 Nov 2010, at 13:48, Jeff Trawick wrote:<br> <br> &gt; I&#39;m happy to continue if the community believes that this has<br> &gt; non-trivial value, but I suspect it is just as well to require a<br> &gt; subscription before posting.<br> <br> </div>Thanks for moderating.<br> <br> But +1 to dispensing with that chore in favour of subscription.<br> <br> --<br> <font color=3D"#888888">Nick Kew<br> </font></blockquote></div><br><br clear=3D"all"><br>-- <br>Wesley W. Garlan= d<br>Director, Product Development<br>PageMail, Inc.<br>+1-618-644-1734= 02<br> --001636c5a97145c8fe04941335ba-- From [email protected] Tue Nov 02 15:12:43 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71486 invoked from network); 2 Nov 2010 15:12:43 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 2 Nov 2010 15:12:43 -0000 Received: (qmail 60674 invoked by uid 500); 2 Nov 2010 15:13:14 -0000 Delivered-To: [email protected] Received: (qmail 60442 invoked by uid 500); 2 Nov 2010 15:13:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <dev.apr.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 60433 invoked by uid 99); 2 Nov 2010 15:13:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Nov 2010 15:13:11 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ey0-f178.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Nov 2010 15:13:05 +0000 Received: by eyh5 with SMTP id 5so3719848eyh.37 for <[email protected]>; Tue, 02 Nov 2010 08:12:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=aGbTZxSrdory3QTTj4Y1nJqqpuUel45kToT2rT8367I=; b=Bb3d91fyJ9fhwpJh9lO71C1jW3jBXPQzgdsWqkjVszWcFS7Gaa/x4ADqx9KOm4UXIc CHPzQ/pxd5t8ffwDOrWOvRf9XV6nGyFJfQ/kuT867401LZQlgZ9aYGNLe58/ROBl8Q5p OoQFXNJtl5IYHV/nCs6XM/2tN68fjQR9YGnXw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=wSesqVrYXxl33BdWn4WTcN66PCS8ffCOdjtcSObZrTirxWlnWzZHIFbYP7jjvRsImk uCGofpvbIZTIPLmX6Q8oUmcVxMH7Oa6EtqZ/3iFy8eTjSPNo7IKClj9Vs8KPPyg+nNLe cG5iFw86ZdVOR5ndNfHvmgScLouKgO7H0G1QU= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id n55mr447389wem.65.1288710764262; Tue, 02 Nov 2010 08:12:44 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 2 Nov 2010 08:12:44 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Tue, 2 Nov 2010 11:12:44 -0400 Message-ID: <[email protected]> Subject: Re: moderated dev list a waste of time? From: Eric Covener <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 > Thanks for moderating. > > But +1 to dispensing with that chore in favour of subscription. +1 From [email protected] Tue Nov 02 21:21:35 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91845 invoked from network); 2 Nov 2010 21:21:35 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 2 Nov 2010 21:21:35 -0000 Received: (qmail 73631 invoked by uid 500); 2 Nov 2010 21:22:06 -0000 Delivered-To: [email protected] Received: (qmail 73562 invoked by uid 500); 2 Nov 2010 21:22:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <dev.apr.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 73555 invoked by uid 99); 2 Nov 2010 21:22:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Nov 2010 21:22:05 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO beauty.rexursive.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Nov 2010 21:21:59 +0000 Received: from [161.129.204.104] (shrek.rexursive.com [161.129.204.104]) by beauty.rexursive.com (Postfix) with ESMTP id 19D858C252 for <[email protected]>; Wed, 3 Nov 2010 08:21:37 +1100 (EST) Subject: Re: moderated dev list a waste of time? From: Bojan Smojver <[email protected]> To: APR Development List <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain; charset="UTF-8" Date: Wed, 03 Nov 2010 08:21:37 +1100 Message-ID: <[email protected]> Mime-Version: 1.0 X-Mailer: Evolution 2.32.0 (2.32.0-2.fc14) Content-Transfer-Encoding: 7bit On Tue, 2010-11-02 at 09:48 -0400, Jeff Trawick wrote: > require a subscription before posting +1 -- Bojan From [email protected] Wed Nov 03 07:09:48 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18993 invoked from network); 3 Nov 2010 07:09:48 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 3 Nov 2010 07:09:48 -0000 Received: (qmail 16462 invoked by uid 500); 3 Nov 2010 07:10:19 -0000 Delivered-To: [email protected] Received: (qmail 16076 invoked by uid 500); 3 Nov 2010 07:10:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <dev.apr.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 16069 invoked by uid 99); 3 Nov 2010 07:10:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Nov 2010 07:10:15 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 03 Nov 2010 07:10:13 +0000 Received: (qmail 18859 invoked by uid 2161); 3 Nov 2010 07:09:20 -0000 Received: from [161.129.204.104] (localhost [161.129.204.104]) by euler.heimnetz.de (Postfix) with ESMTP id 8DDDE24044 for <[email protected]>; Wed, 3 Nov 2010 08:09:58 +0100 (CET) Message-ID: <[email protected]> Date: Wed, 03 Nov 2010 08:09:58 +0100 From: Ruediger Pluem <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:161.129.204.104) Gecko/20100301 SeaMonkey/1.1.19 MIME-Version: 1.0 To: APR Developer List <[email protected]> Subject: Re: moderated dev list a waste of time? References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org On 11/02/2010 03:47 PM, Nick Kew wrote: > On 2 Nov 2010, at 13:48, Jeff Trawick wrote: > >> I'm happy to continue if the community believes that this has >> non-trivial value, but I suspect it is just as well to require a >> subscription before posting. > > Thanks for moderating. > > But +1 to dispensing with that chore in favour of subscription. +1 Regards Rüdiger From [email protected] Wed Nov 03 08:50:31 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42656 invoked from network); 3 Nov 2010 08:50:31 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 3 Nov 2010 08:50:31 -0000 Received: (qmail 97306 invoked by uid 500); 3 Nov 2010 08:51:02 -0000 Delivered-To: [email protected] Received: (qmail 97105 invoked by uid 500); 3 Nov 2010 08:51:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <dev.apr.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 97098 invoked by uid 99); 3 Nov 2010 08:50:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Nov 2010 08:50:59 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mailserver.kippdata.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Nov 2010 08:50:50 +0000 Received: from [161.129.204.104] (notebook-rj [161.129.204.104]) by mailserver.kippdata.de (8.13.5/8.13.5) with ESMTP id oA38oUZO020262 for <[email protected]>; Wed, 3 Nov 2010 09:50:30 +0100 (CET) Message-ID: <[email protected]> Date: Wed, 03 Nov 2010 09:50:25 +0100 From: Rainer Jung <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:161.129.204.104) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: [email protected] Subject: Re: moderated dev list a waste of time? References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 02.11.2010 15:47, Nick Kew wrote: > > On 2 Nov 2010, at 13:48, Jeff Trawick wrote: > >> I'm happy to continue if the community believes that this has >> non-trivial value, but I suspect it is just as well to require a >> subscription before posting. > > Thanks for moderating. > > But +1 to dispensing with that chore in favour of subscription. +1 From [email protected] Wed Nov 03 08:52:22 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 43037 invoked from network); 3 Nov 2010 08:52:21 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 3 Nov 2010 08:52:21 -0000 Received: (qmail 922 invoked by uid 500); 3 Nov 2010 08:52:52 -0000 Delivered-To: [email protected] Received: (qmail 803 invoked by uid 500); 3 Nov 2010 08:52:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <dev.apr.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 789 invoked by uid 99); 3 Nov 2010 08:52:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Nov 2010 08:52:49 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO chandler.sharp.fm) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Nov 2010 08:52:40 +0000 Received: from chandler.sharp.fm (localhost [161.129.204.104]) by chandler.sharp.fm (Postfix) with ESMTP id 35C4D1B8067; Wed, 3 Nov 2010 03:52:20 -0500 (CDT) Received: from [161.129.204.104] (87-194-125-18.bethere.co.uk [161.129.204.104]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client did not present a certificate) (Authenticated sender: [email protected]) by chandler.sharp.fm (Postfix) with ESMTP id AAD697805A; Wed, 3 Nov 2010 03:52:19 -0500 (CDT) Cc: [email protected] Message-Id: <[email protected]> From: Graham Leggett <[email protected]> To: Nick Kew <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: moderated dev list a waste of time? Date: Wed, 3 Nov 2010 10:52:18 +0200 References: <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.936) X-Virus-Scanned: ClamAV using ClamSMTP X-Virus-Checked: Checked by ClamAV on apache.org On 02 Nov 2010, at 4:47 PM, Nick Kew wrote: >> I'm happy to continue if the community believes that this has >> non-trivial value, but I suspect it is just as well to require a >> subscription before posting. > > Thanks for moderating. > > But +1 to dispensing with that chore in favour of subscription. Definite +1. Regards, Graham -- From [email protected] Thu Nov 04 18:46:47 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 363 invoked from network); 4 Nov 2010 18:46:46 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 4 Nov 2010 18:46:46 -0000 Received: (qmail 39862 invoked by uid 500); 4 Nov 2010 18:47:18 -0000 Delivered-To: [email protected] Received: (qmail 39801 invoked by uid 500); 4 Nov 2010 18:47:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <dev.apr.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 39794 invoked by uid 99); 4 Nov 2010 18:47:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Nov 2010 18:47:16 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO atlas.jtan.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Nov 2010 18:47:09 +0000 X-JTAN-Outgoing-From: [email protected] X-JTAN-Outgoing-To: <[email protected]> X-JTAN-Received: [161.129.204.104] X-JTAN-Recipient: <[email protected]> X-JTAN-AntiSPAM: not spam, Outgoing not scanned X-JTAN-AntiVirus: Found to be clean, Outgoing not scanned Received: from legadema.event ([161.129.204.104]) (authenticated bits=0) by atlas.jtan.com (8.12.8p1/8.12.8) with ESMTP id oA4IklWO024217 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for <[email protected]>; Thu, 4 Nov 2010 18:46:48 GMT From: Sander Temme <[email protected]> Content-Type: multipart/mixed; boundary=Apple-Mail-108--795926457 Subject: [PATCH] %lld support in apr_snprintf() Date: Thu, 4 Nov 2010 14:46:42 -0400 Message-Id: <[email protected]> To: APR Developer List <[email protected]> Mime-Version: 1.0 (Apple Message framework v1081) X-Mailer: Apple Mail (2.1081) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-108--795926457 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Folks,=20 I was seeing test failures on Darwin in both the APR testsuite and httpd = perl-framework. The %lld sprintf format character was incorrectly = parsed, and "%ld" written instead of the substituted value. =20 This small patch against APR trunk fixes that:=20 Index: strings/apr_snprintf.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- strings/apr_snprintf.c (revision 1031121) +++ strings/apr_snprintf.c (working copy) @@ -832,6 +832,11 @@ else if (*fmt =3D=3D 'l') { var_type =3D IS_LONG; fmt++; + /* Catch the %lld type modifier for long long and its = ilk */ + if (*fmt =3D=3D 'l') { + var_type =3D IS_QUAD; + fmt++; + } } else if (*fmt =3D=3D 'h') { var_type =3D IS_SHORT; Thanks,=20 S. --=20 [email protected] http://www.temme.net/sander/ PGP FP: FC5A 6FC6 2E25 2DFD 8007 EE23 9BB8 63B0 F51B B88A View my availability: http://tungle.me/sctemme --Apple-Mail-108--795926457 Content-Disposition: attachment; filename=apr-snprintf.patch Content-Type: application/octet-stream; x-unix-mode=0644; name="apr-snprintf.patch" Content-Transfer-Encoding: 7bit Index: strings/apr_snprintf.c =================================================================== --- strings/apr_snprintf.c (revision 1031121) +++ strings/apr_snprintf.c (working copy) @@ -832,6 +832,11 @@ else if (*fmt == 'l') { var_type = IS_LONG; fmt++; + /* Catch the %lld type modifier for long long and its ilk */ + if (*fmt == 'l') { + var_type = IS_QUAD; + fmt++; + } } else if (*fmt == 'h') { var_type = IS_SHORT; --Apple-Mail-108--795926457-- From [email protected] Thu Nov 04 18:51:17 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2212 invoked from network); 4 Nov 2010 18:51:16 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 4 Nov 2010 18:51:16 -0000 Received: (qmail 48212 invoked by uid 500); 4 Nov 2010 18:51:48 -0000 Delivered-To: [email protected] Received: (qmail 48125 invoked by uid 500); 4 Nov 2010 18:51:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <dev.apr.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 48118 invoked by uid 99); 4 Nov 2010 18:51:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Nov 2010 18:51:47 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO ndjsnpf01.ndc.nasa.gov) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Nov 2010 18:51:40 +0000 Received: from ndjsppt04.ndc.nasa.gov (ndjsppt04.ndc.nasa.gov [161.129.204.104]) by ndjsnpf01.ndc.nasa.gov (Postfix) with ESMTP id 4D62B32916A; Thu, 4 Nov 2010 13:51:18 -0500 (CDT) Received: from ndjshub01.ndc.nasa.gov (ndjshub01-pub.ndc.nasa.gov [161.129.204.104]) by ndjsppt04.ndc.nasa.gov (8.14.3/8.14.3) with ESMTP id oA4IpIeU025001; Thu, 4 Nov 2010 13:51:18 -0500 Received: from wdyn-n229-242-199.arc.nasa.gov (161.129.204.104) by smtp01.ndc.nasa.gov (161.129.204.104) with Microsoft SMTP Server (TLS) id 161.129.204.104; Thu, 4 Nov 2010 13:51:17 -0500 Subject: Re: [PATCH] %lld support in apr_snprintf() MIME-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset="us-ascii" From: Chris Knight <[email protected]> In-Reply-To: <[email protected]> Date: Thu, 4 Nov 2010 11:51:16 -0700 CC: APR Developer List <[email protected]> Content-Transfer-Encoding: quoted-printable Message-ID: <[email protected]> References: <[email protected]> To: Sander Temme <[email protected]> X-Mailer: Apple Mail (2.1081) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2010-11-04_09:2010-11-04,2010-11-04,1970-01-01 signatures=0 X-Virus-Checked: Checked by ClamAV on apache.org Reported many times (by me and others) and many patches suggested. But = apparently no progress on addressing this issue. :^( https://issues.apache.org/bugzilla/show_bug.cgi?id=3D48476 On Nov 4, 2010, at 11:46 AM, Sander Temme wrote: > Folks,=20 >=20 > I was seeing test failures on Darwin in both the APR testsuite and = httpd perl-framework. The %lld sprintf format character was incorrectly = parsed, and "%ld" written instead of the substituted value. =20 >=20 > This small patch against APR trunk fixes that:=20 >=20 > Index: strings/apr_snprintf.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- strings/apr_snprintf.c (revision 1031121) > +++ strings/apr_snprintf.c (working copy) > @@ -832,6 +832,11 @@ > else if (*fmt =3D=3D 'l') { > var_type =3D IS_LONG; > fmt++; > + /* Catch the %lld type modifier for long long and its = ilk */ > + if (*fmt =3D=3D 'l') { > + var_type =3D IS_QUAD; > + fmt++; > + } > } > else if (*fmt =3D=3D 'h') { > var_type =3D IS_SHORT; >=20 > Thanks,=20 >=20 > S. >=20 > --=20 > [email protected] http://www.temme.net/sander/ > PGP FP: FC5A 6FC6 2E25 2DFD 8007 EE23 9BB8 63B0 F51B B88A >=20 > View my availability: http://tungle.me/sctemme > <apr-snprintf.patch> From [email protected] Thu Nov 04 19:15:57 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20291 invoked from network); 4 Nov 2010 19:15:57 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 4 Nov 2010 19:15:57 -0000 Received: (qmail 89716 invoked by uid 500); 4 Nov 2010 19:16:28 -0000 Delivered-To: [email protected] Received: (qmail 89655 invoked by uid 500); 4 Nov 2010 19:16:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <dev.apr.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 89648 invoked by uid 99); 4 Nov 2010 19:16:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Nov 2010 19:16:27 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO smtpauth17.prod.mesa1.secureserver.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 04 Nov 2010 19:16:20 +0000 Received: (qmail 18148 invoked from network); 4 Nov 2010 19:03:57 -0000 Received: from unknown (161.129.204.104) by smtpauth17.prod.mesa1.secureserver.net (161.129.204.104) with ESMTP; 04 Nov 2010 19:03:57 -0000 Message-ID: <[email protected]> Date: Thu, 04 Nov 2010 15:15:58 -0400 From: "William A. Rowe Jr." <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:161.129.204.104) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6 MIME-Version: 1.0 To: [email protected] Subject: Re: [PATCH] %lld support in apr_snprintf() References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 11/4/2010 2:46 PM, Sander Temme wrote: > Folks, > > I was seeing test failures on Darwin in both the APR testsuite and httpd perl-framework. The %lld sprintf format character was incorrectly parsed, and "%ld" written instead of the substituted value. > > This small patch against APR trunk fixes that: > > Index: strings/apr_snprintf.c > =================================================================== > --- strings/apr_snprintf.c (revision 1031121) > +++ strings/apr_snprintf.c (working copy) > @@ -832,6 +832,11 @@ > else if (*fmt == 'l') { > var_type = IS_LONG; > fmt++; > + /* Catch the %lld type modifier for long long and its ilk */ > + if (*fmt == 'l') { > + var_type = IS_QUAD; > + fmt++; > + } > } > else if (*fmt == 'h') { > var_type = IS_SHORT; Looks good here. From [email protected] Sun Nov 07 12:22:20 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41672 invoked from network); 7 Nov 2010 12:22:20 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 7 Nov 2010 12:22:20 -0000 Received: (qmail 26608 invoked by uid 500); 7 Nov 2010 12:22:50 -0000 Delivered-To: [email protected] Received: (qmail 26285 invoked by uid 500); 7 Nov 2010 12:22:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <dev.apr.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 26277 invoked by uid 99); 7 Nov 2010 12:22:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Nov 2010 12:22:46 +0000 X-ASF-Spam-Status: No, hits=-1998.4 required=10.0 tests=ALL_TRUSTED,TO_NO_BRKTS_PCNT X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Nov 2010 12:22:45 +0000 Received: from thor.apache.org (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oA7CMOnh017150 for <[email protected]>; Sun, 7 Nov 2010 12:22:24 GMT Received: (from root@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id oA7CM7mR015361 for [email protected]; Sun, 7 Nov 2010 07:22:07 -0500 (EST) Date: Sun, 7 Nov 2010 07:22:07 -0500 (EST) Message-Id: <[email protected]> From: [email protected] To: [email protected] Subject: Bug report for APR [2010/11/07] +---------------------------------------------------------------------------+ | Bugzilla Bug ID | | +---------------------------------------------------------------------+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned | | | OPN=Reopened VER=Verified (Skipped Closed/Resolved) | | | +-----------------------------------------------------------------+ | | | Severity: BLK=Blocker CRI=Critical REG=Regression MAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement TRV=Trivial | | | | +-------------------------------------------------------------+ | | | | Date Posted | | | | | +--------------------------------------------------+ | | | | | Description | | | | | | | |16056|Inf|Enh|2003-01-14|Shared memory & mutex ownership not correctly esta| |20382|New|Nor|2003-05-31|Poor performance on W2000 AS | |28453|New|Enh|2004-04-18|apr_uri should parse relative to a base URI | |33188|Inf|Nor|2005-01-21|libtool linking failure on Suse | |33490|Inf|Nor|2005-02-10|APR does not compile with Borland C++ | |38410|New|Nor|2006-01-27|apr/win32 misinterpreted the meaning of WAIT_ABAND| |39289|New|Enh|2006-04-12|test suite additions for trylock functions | |39853|Inf|Nor|2006-06-21|apr_strtoi64 does not build on WinCE due to lack o| |39895|New|Enh|2006-06-23|apr_os_strerror on WinCE needs to xlate unicode->u| |39896|New|Enh|2006-06-23|Output test status to OutputDebugString in additio| |40020|New|Enh|2006-07-11|Add support for apr_uint8_t and apr_int8_t types | |40193|Inf|Nor|2006-08-06|Patches to support different compiler than EMX on | |40622|New|Enh|2006-09-27|enhance apr temp files on NT to be more secure | |40758|Ver|Maj|2006-10-15|WIN64, apr_vformatter(..) cannot handle 64bit poin| |40939|New|Enh|2006-11-09|pool minimal allocation size should be configurabl| |41192|Inf|Trv|2006-12-17|Add the expat libtool file to the LT_LDFLAGS varia| |41254|New|Enh|2006-12-28|apr_queue_t enhancements | |41351|New|Enh|2007-01-11|Tivoli LDAP SDK support in aprutil | |41352|New|Min|2007-01-11|openldap and per-connection client certificates in| |41916|Inf|Nor|2007-03-21|MinGW cross-compile support for Linux | |42365|New|Enh|2007-05-09|Suppress console for apr_proc_create() created pro| |42682|Ass|Maj|2007-06-17|Apache child terminates with signal 11 when using | |42728|New|Nor|2007-06-23|mod_ssl thread detaching not releasing handles | |42848|New|Enh|2007-07-10|add IP TOS support to apr_socket_opt_set() | |43035|New|Enh|2007-08-04|Add ability to wrap ssl around pre-existing socket| |43066|New|Nor|2007-08-08|get_password on Windows is kludgy | |43152|Inf|Nor|2007-08-16|apr_socket_opt_get doesn't work with APR_SO_SNDBUF| |43172|Ass|Nor|2007-08-20|apr-util don't want to find mozldap-6.x | |43217|New|Min|2007-08-26|All-ones IPv6 subnet mask not accepted | |43244|New|Enh|2007-08-29|apr_socket_t missing dup, dup2 and setaside | |43302|New|Nor|2007-09-04|apr_bucket_socket doesn't work with non-connected | |43309|New|Enh|2007-09-05|add apr_socket_sendtov support | |43375|Ass|Nor|2007-09-13|Pool integrity check fails for apr threads | |43499|New|Nor|2007-09-27|apr_global_mutex_create returns error "Access deni| |43507|New|Enh|2007-09-28|configure flag for SHELL_PATH | |43508|New|Enh|2007-09-28|Please be available whether atomics use thread mut| |43793|New|Enh|2007-11-04|builtin atomics on Windows | |44127|New|Enh|2007-12-21|File Extended Attributes Support | |44128|New|Enh|2007-12-21|apr_os_file_put() does not register a cleanup hand| |44129|New|Enh|2007-12-21|apr_os_dir_put() does not allocate an entry buffer| |44186|New|Nor|2008-01-08|[PATCH] Add memcached 1.2.4 features to apr_memcac| |44230|New|Enh|2008-01-14|Add Ark Linux support to config.layout | |44432|New|Enh|2008-02-15|patch - proposal for application function hooks | |44550|Inf|Maj|2008-03-06|Solaris sendfilev() handling - EINTR appears to ha| |45251|New|Nor|2008-06-22|DBD MySQL driver doesn't support multiple resultse| |45291|New|Nor|2008-06-26|apr_thread_t is leaking | |45298|New|Nor|2008-06-27|apr_os_thread_get() differs between windows and un| |45321|New|Nor|2008-07-01|Handling IPV6_V6ONLY on NT 5.x | |45407|Opn|Nor|2008-07-16|auto reconnect in apr_dbd_mysql disturb normal wor| |45455|New|Nor|2008-07-22|rwlock sometimes allows a writer to take the lock | |45496|New|Enh|2008-07-29|[patch] adding directory matching [dir/**/conf.d/*| |45650|New|Min|2008-08-19|Application reports "The entry point freeaddrinfo | |45700|New|Nor|2008-08-27|incorrect sort order of apr_strnatcmp with non-ASC| |45930|New|Nor|2008-10-01|httpd.worker MPM fails to reset signal mask before| |46064|New|Nor|2008-10-22|apr_ldap_init call fails | |46175|New|Enh|2008-11-10|Full Mingw+MSys support | |46180|New|Nor|2008-11-10|apr_memcache_getp() returns value | |46181|New|Enh|2008-11-10|request feature: ability to connect to a socket un| |46205|New|Enh|2008-11-13|Extend apr_array with a function to shuffle member| |46233|New|Maj|2008-11-18|APR does not compile universal binaries on Mac OS | |46389|New|Nor|2008-12-12|Datagram (UDP) broadcasts fail with "permission de| |46459|New|Enh|2008-12-31|apr_dbm BDB backend: allow db type selection | |46540|New|Enh|2009-01-15|apr_thread_pool support doesn't allow for apr_thre| |46799|New|Maj|2009-03-04|apr_thread_cond_create leaks handle (patch include| |46820|New|Nor|2009-03-08|[PATCH] apr_file_mtime_set working with symlinks | |46853|New|Nor|2009-03-13|utf8_to_unicode_path breaks .. and . expansion | |46937|New|Nor|2009-03-30|apr build error | |46964|New|Nor|2009-04-03|apr_sockaddr_vars_set() Needs to always set the po| |47044|New|Nor|2009-04-17|[Patch] apr_snprintf.c compile failure on AIX main| |47162|New|Enh|2009-05-06|[PATCH] crypto: read/write support for SSHA-1 (sal| |47181|New|Nor|2009-05-11|Fixes for MINT for apr library | |47191|New|Min|2009-05-13|Missing sentinel warning | |47258|Inf|Min|2009-05-24|Too many slashes with configure | |47441|New|Enh|2009-06-27|apr_hash: Allow custom key comparison function | |47471|New|Enh|2009-07-03|apr_hash: Implement apr_hash_set_if_new() | |47501|New|Maj|2009-07-09|[ldap] Setting LDAP_OPT_REFHOPLIMIT fails with Ope| |47572|New|Enh|2009-07-24|It would be nice if apr configure --with-dbm=xdbm | |47605|New|Enh|2009-07-29|apr-config: support for "--configure" | |47739|Inf|Nor|2009-08-26|Changes to apr_common.m4 file | |47776|New|Nor|2009-09-01|Change "apr_palloc / memcpy" to apr_pmemdup in APR| |47879|New|Enh|2009-09-20|add support for libiodbc (alternative to unixODBC)| |47891|New|Blk|2009-09-22|decision on anonymous shared memory allocation met| |47892|New|Cri|2009-09-23|configure: error: Could not detect suitable DSO im| |47931|New|Enh|2009-10-01|It is not possible to use CALL MySQL method with a| |47932|New|Enh|2009-10-01|apr_dbd_mysql: max_length field of MYSQL_FIELD st| |47979|New|Min|2009-10-11|Installed pkg-config returns extraneous informatio| |48084|New|Nor|2009-10-29|Erasing HTTPD library global variables before rein| |48247|Inf|Nor|2009-11-20|Apache HTTP server could not respond HEAD message | |48298|New|Enh|2009-11-29|memcache UDP protocol support ? | |48374|New|Nor|2009-12-11|wrong return value for apr_dir_read on win32 | |48476|New|Reg|2010-01-02|apr_psprintf() does not parse the ll or hh size sp| |48483|New|Min|2010-01-04|Don't use "-no-cpp-precomp" unconditionally on Dar| |48491|New|Maj|2010-01-05|pollset_remove() with kqueue is O(n) | |48535|New|Nor|2010-01-13|Potential data race on allocator->max_index in all| |48557|Opn|Enh|2010-01-15|file_io/unix/open.c:apr_file_open() should cache O| |48722|New|Maj|2010-02-10|apr_thread_pool_push may not create a new thread w| |48736|New|Nor|2010-02-13|apr_socket_connect() incompatibility between Unix | |48739|New|Nor|2010-02-14|large.bin and buffer.bin laying around after test | |48740|New|Nor|2010-02-14|CP932 conversion table is different from that of W| |48776|New|Nor|2010-02-19|APR 1.4.x buildconf fails on Mac OS X 10.6.2 - nee| |48884|Inf|Nor|2010-03-10|Very hard to cross-compile | |48905|New|Maj|2010-03-13|server processes hang with threaded apache | |48918|New|Enh|2010-03-15|Add support for SCTP beyond opening an SCTP socket| |49011|New|Enh|2010-03-28|[PATCH] Speed up MD5 on Little Endian Machines | |49012|New|Enh|2010-03-28|[PATCH] Speed up MD5 with Microsoft Compilers | |49064|New|Enh|2010-04-07|APR-util does not support SASL binding | |49085|New|Enh|2010-04-11|[PATCH] Speed up file I/O | |49193|New|Enh|2010-04-27|Implement LDAP scope-aware caching in APR-Util | |49288|New|Enh|2010-05-13|Add support for stronger cryptographic hashing fun| |49496|New|Cri|2010-06-24|Password (getpass()) truncation issue on HP-UX in | |49646|New|Nor|2010-07-25|no data error in apr_dbd_pbquery with odbc driver | |49656|New|Nor|2010-07-27|Write bits for "group" and "other" doesn't get set| |49678|New|Nor|2010-07-30|getRemoteAddr() returns IPv6 address on RedHat 9 w| |49840|New|Nor|2010-08-29|apr_allocator_max_free_set is broken with most mal| |49882|New|Nor|2010-09-04|100% CPU time in poll/unix/select.c:apr_pollset_po| |50058|New|Maj|2010-10-08|Deadlock with apr_file_open(APR_FOPEN_APPEND) and | |50141|New|Maj|2010-10-22|cross compiling apr fails miserably at configure t| |50144|New|Nor|2010-10-22|Found a couple of memory leaks in APR when running| |50146|New|Maj|2010-10-23|cross compiling apr error: redefinition of 'struct| +-----+---+---+----------+--------------------------------------------------+ | Total 119 bugs | +---------------------------------------------------------------------------+ From [email protected] Sun Nov 07 22:07:41 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26239 invoked from network); 7 Nov 2010 22:07:41 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 7 Nov 2010 22:07:41 -0000 Received: (qmail 75892 invoked by uid 500); 7 Nov 2010 22:08:12 -0000 Delivered-To: [email protected] Received: (qmail 75788 invoked by uid 500); 7 Nov 2010 22:08:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <dev.apr.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 75779 invoked by uid 99); 7 Nov 2010 22:08:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Nov 2010 22:08:11 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO atlas.jtan.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Nov 2010 22:08:04 +0000 X-JTAN-Outgoing-From: [email protected] X-JTAN-Outgoing-To: <[email protected]> X-JTAN-Received: c-98-248-189-213.hsd1.ca.comcast.net [161.129.204.104] X-JTAN-Recipient: <[email protected]> X-JTAN-AntiSPAM: not spam, Outgoing not scanned X-JTAN-AntiVirus: Found to be clean, Outgoing not scanned Received: from legadema.sandla.org (c-98-248-189-213.hsd1.ca.comcast.net [161.129.204.104]) (authenticated bits=0) by atlas.jtan.com (8.12.8p1/8.12.8) with ESMTP id oA7M7fWO024873 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for <[email protected]>; Sun, 7 Nov 2010 22:07:43 GMT Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1081) Subject: Re: [PATCH] %lld support in apr_snprintf() From: Sander Temme <[email protected]> In-Reply-To: <[email protected]> Date: Sun, 7 Nov 2010 14:07:36 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <[email protected]> References: <[email protected]> <[email protected]> To: APR Developer List <[email protected]> X-Mailer: Apple Mail (2.1081) X-Virus-Checked: Checked by ClamAV on apache.org On Nov 4, 2010, at 12:15 PM, William A. Rowe Jr. wrote: > Looks good here. If folks find this unproblematic, can someone please commit it? I don't = have karma here. Thanks,=20 S. --=20 [email protected] http://www.temme.net/sander/ PGP FP: FC5A 6FC6 2E25 2DFD 8007 EE23 9BB8 63B0 F51B B88A View my availability: http://tungle.me/sctemme From [email protected] Sun Nov 07 22:18:48 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28949 invoked from network); 7 Nov 2010 22:18:48 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 7 Nov 2010 22:18:48 -0000 Received: (qmail 83480 invoked by uid 500); 7 Nov 2010 22:19:19 -0000 Delivered-To: [email protected] Received: (qmail 83268 invoked by uid 500); 7 Nov 2010 22:19:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <dev.apr.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 83261 invoked by uid 99); 7 Nov 2010 22:19:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Nov 2010 22:19:19 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ey0-f178.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Nov 2010 22:19:13 +0000 Received: by eyh5 with SMTP id 5so2653456eyh.37 for <[email protected]>; Sun, 07 Nov 2010 14:18:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=9abff6hywNRyz/s2LetvqO2Biqqu8ER8nPQFwk7O+ZQ=; b=BlSRk9AZrOOBXxLyH/6iOp2yrP9Tqhh0nQ95BUtETx0kMbR4ZQsGc2Dol7+YAuGJQp qZQW8UU8M3aoTY3m/Cn+DH3B7FedOsFQ5DTkJe1vewlfAQ5uPjYX9cpM609IWxgN04MR YZVnAanThgoQe3u92CISwxpKLInDz2zQFhoZA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=aGwuRyZR0RoCj8Nj2WcpCf/kZmQuV/AM/ICqmQh7OJo6VapdMe3llDbJ2KwMqJajFK EALQvSiThkHkdUBF+p8wdRDhv6HvLvVNbV6RGBKgoZVOJeShwzC/7txTtS4noRMDwmXg KXJN1AzeM4GmNwcBnpnUy0xfDZslNmj9XzUf0= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id x20mr3597402ebp.82.1289168332454; Sun, 07 Nov 2010 14:18:52 -0800 (PST) Received: by 161.129.204.104 with HTTP; Sun, 7 Nov 2010 14:18:52 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Date: Sun, 7 Nov 2010 17:18:52 -0500 Message-ID: <[email protected]> Subject: Re: [PATCH] %lld support in apr_snprintf() From: Jeff Trawick <[email protected]> To: APR Developer List <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Sun, Nov 7, 2010 at 5:07 PM, Sander Temme <[email protected]> wrote: > > On Nov 4, 2010, at 12:15 PM, William A. Rowe Jr. wrote: > >> Looks good here. > > If folks find this unproblematic, can someone please commit it? =A0I don'= t have karma here. > > Thanks, looks fine to me; starting to try it out now From [email protected] Sun Nov 07 23:35:56 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52489 invoked from network); 7 Nov 2010 23:35:56 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 7 Nov 2010 23:35:56 -0000 Received: (qmail 22888 invoked by uid 500); 7 Nov 2010 23:36:27 -0000 Delivered-To: [email protected] Received: (qmail 22828 invoked by uid 500); 7 Nov 2010 23:36:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <dev.apr.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 22821 invoked by uid 99); 7 Nov 2010 23:36:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Nov 2010 23:36:27 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ey0-f178.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Nov 2010 23:36:22 +0000 Received: by eyh5 with SMTP id 5so2666887eyh.37 for <[email protected]>; Sun, 07 Nov 2010 15:36:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Mg5CWFKjpmmERDmmty7QFvaNi1Yaalaiu7YJezgJnHg=; b=bjEyb8r/Ofk3TgxalHEsrs7x3c72OJhXgw6cNsNvwvDUBD6AIxlGXB2jpHQqSoqf/l b+HMNd1qePLNLy/z15codSVWkpOXkvgI4XmmRYYNMLHCihm2hABEFcePSTyDiip28fg+ CYikfrOKK5zwfVqpc2NlGK5+8UYakEU2XxQjs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=XaKxlLE5RR+cg3jIOwF+VF9tTynPMTMy/kAQWpABfxaO9LHe0b0PeLNoxeE+RU/zT8 B6zkkcyr1VXedToipW8AORB1bBWSSVVLbjT+w/Q4FiXKEfrKXitaW3yeacGk8ckDhNde 83K7YLZuXfiHTMSk+LyCOf7nIL7NBB29ckj2o= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id c8mr3095308ebb.82.1289172960539; Sun, 07 Nov 2010 15:36:00 -0800 (PST) Received: by 161.129.204.104 with HTTP; Sun, 7 Nov 2010 15:36:00 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Sun, 7 Nov 2010 18:36:00 -0500 Message-ID: <[email protected]> Subject: Re: [PATCH] %lld support in apr_snprintf() From: Jeff Trawick <[email protected]> To: APR Developer List <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Sun, Nov 7, 2010 at 5:18 PM, Jeff Trawick <[email protected]> wrote: > On Sun, Nov 7, 2010 at 5:07 PM, Sander Temme <[email protected]> wrote: >> >> On Nov 4, 2010, at 12:15 PM, William A. Rowe Jr. wrote: >> >>> Looks good here. >> >> If folks find this unproblematic, can someone please commit it? =A0I don= 't have karma here. >> >> Thanks, > > looks fine to me; starting to try it out now The patch is apparently not needed to make %lld work in 32-bit mode on Leopard since APR_INT64_T_FMT is %lld. It didn't make %lld work in 64-bit mode. What are the cases where you see this help out? I guess you're on Snow Leopard? Here's what I tried in 64-bit mode: Index: strings/apr_snprintf.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- strings/apr_snprintf.c (revision 1032408) +++ strings/apr_snprintf.c (working copy) @@ -832,6 +832,11 @@ else if (*fmt =3D=3D 'l') { var_type =3D IS_LONG; fmt++; + /* Catch the %lld type modifier for long long and its ilk = */ + if (*fmt =3D=3D 'l') { + var_type =3D IS_QUAD; + fmt++; + } } else if (*fmt =3D=3D 'h') { var_type =3D IS_SHORT; ndex: testfmt.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- testfmt.c (revision 1032408) +++ testfmt.c (working copy) @@ -126,6 +126,9 @@ apr_snprintf(buf, sizeof buf, "%" APR_INT64_T_FMT, ibig); ABTS_STR_EQUAL(tc, "-314159265358979323", buf); + + apr_snprintf(buf, sizeof buf, "%lld", ibig); + ABTS_STR_EQUAL(tc, "-314159265358979323", buf); } static void error_fmt(abts_case *tc, void *data) ./testall -v testfmt testfmt : /Line 131: expected <-314159265358979323>, but saw <%= ld> FAILED 1 of 10 Failed Tests Total Fail Failed % =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D testfmt 10 1 10.00% From [email protected] Sun Nov 07 23:51:44 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 55650 invoked from network); 7 Nov 2010 23:51:43 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 7 Nov 2010 23:51:43 -0000 Received: (qmail 26934 invoked by uid 500); 7 Nov 2010 23:52:14 -0000 Delivered-To: [email protected] Received: (qmail 26882 invoked by uid 500); 7 Nov 2010 23:52:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <dev.apr.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 26875 invoked by uid 99); 7 Nov 2010 23:52:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Nov 2010 23:52:14 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO ndmsnpf02.ndc.nasa.gov) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Nov 2010 23:52:05 +0000 Received: from ndjsppt05.ndc.nasa.gov (ndjsppt05.ndc.nasa.gov [161.129.204.104]) by ndmsnpf02.ndc.nasa.gov (Postfix) with ESMTP id E4A8A1080B1; Sun, 7 Nov 2010 17:51:43 -0600 (CST) Received: from ndjshub01.ndc.nasa.gov (ndjshub01-pub.ndc.nasa.gov [161.129.204.104]) by ndjsppt05.ndc.nasa.gov (8.14.3/8.14.3) with ESMTP id oA7NphJt018508; Sun, 7 Nov 2010 17:51:43 -0600 Received: from [161.129.204.104] (161.129.204.104) by smtp01.ndc.nasa.gov (161.129.204.104) with Microsoft SMTP Server (TLS) id 161.129.204.104; Sun, 7 Nov 2010 17:51:41 -0600 Subject: Re: [PATCH] %lld support in apr_snprintf() MIME-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset="us-ascii" From: Chris Knight <[email protected]> In-Reply-To: <[email protected]> Date: Sun, 7 Nov 2010 15:51:39 -0800 CC: APR Developer List <[email protected]> Content-Transfer-Encoding: quoted-printable Message-ID: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> To: Jeff Trawick <[email protected]> X-Mailer: Apple Mail (2.1081) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2010-11-07_07:2010-11-05,2010-11-07,1970-01-01 signatures=0 X-Virus-Checked: Checked by ClamAV on apache.org Exactly, the problem only appears on 64-bit Snow Leopard. See my patch = in Bugzilla, which I've verified. (Unsure if the below would also work, = been a long time since I diagnosed.) On Nov 7, 2010, at 3:36 PM, Jeff Trawick wrote: > On Sun, Nov 7, 2010 at 5:18 PM, Jeff Trawick <[email protected]> = wrote: >> On Sun, Nov 7, 2010 at 5:07 PM, Sander Temme <[email protected]> = wrote: >>>=20 >>> On Nov 4, 2010, at 12:15 PM, William A. Rowe Jr. wrote: >>>=20 >>>> Looks good here. >>>=20 >>> If folks find this unproblematic, can someone please commit it? I = don't have karma here. >>>=20 >>> Thanks, >>=20 >> looks fine to me; starting to try it out now >=20 > The patch is apparently not needed to make %lld work in 32-bit mode on > Leopard since APR_INT64_T_FMT is %lld. > It didn't make %lld work in 64-bit mode. >=20 > What are the cases where you see this help out? >=20 > I guess you're on Snow Leopard? >=20 > Here's what I tried in 64-bit mode: >=20 > Index: strings/apr_snprintf.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- strings/apr_snprintf.c (revision 1032408) > +++ strings/apr_snprintf.c (working copy) > @@ -832,6 +832,11 @@ > else if (*fmt =3D=3D 'l') { > var_type =3D IS_LONG; > fmt++; > + /* Catch the %lld type modifier for long long and its = ilk */ > + if (*fmt =3D=3D 'l') { > + var_type =3D IS_QUAD; > + fmt++; > + } > } > else if (*fmt =3D=3D 'h') { > var_type =3D IS_SHORT; >=20 >=20 > ndex: testfmt.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- testfmt.c (revision 1032408) > +++ testfmt.c (working copy) > @@ -126,6 +126,9 @@ >=20 > apr_snprintf(buf, sizeof buf, "%" APR_INT64_T_FMT, ibig); > ABTS_STR_EQUAL(tc, "-314159265358979323", buf); > + > + apr_snprintf(buf, sizeof buf, "%lld", ibig); > + ABTS_STR_EQUAL(tc, "-314159265358979323", buf); > } >=20 > static void error_fmt(abts_case *tc, void *data) >=20 > ./testall -v testfmt > testfmt : /Line 131: expected <-314159265358979323>, but = saw <%ld> > FAILED 1 of 10 > Failed Tests Total Fail Failed % > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D > testfmt 10 1 10.00% From [email protected] Mon Nov 08 00:42:35 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81886 invoked from network); 8 Nov 2010 00:42:34 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 8 Nov 2010 00:42:34 -0000 Received: (qmail 51305 invoked by uid 500); 8 Nov 2010 00:43:05 -0000 Delivered-To: [email protected] Received: (qmail 51250 invoked by uid 500); 8 Nov 2010 00:43:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <dev.apr.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 51243 invoked by uid 99); 8 Nov 2010 00:43:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Nov 2010 00:43:05 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ew0-f50.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Nov 2010 00:43:00 +0000 Received: by ewy5 with SMTP id 5so2635162ewy.37 for <[email protected]>; Sun, 07 Nov 2010 16:42:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=VQHEYPDTXC9pV1plYZ3QbwlG7Gf8ZcRHkHgNXZ/TUhQ=; b=Luszqe/EXCFNYjfkKlYSPS5DZPa4f2ZyR14UtSRDAYumCARwcjMgtyX0Ln8JeiooEz S/CToNxZi5dKB9TvOsaorSySp/aB/kJK15MOzLEYSxlLPbBzdQw2T1AUbC/1PdmjVxco zLjstOYxyhI9G/t3kNivjv+wyBeixPUR1K8nM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=NPn5SP3BY6M0jVEFjvk+eZcW6tTPxxOqQfO6NKRv3USYzoLP/JFb1ZRlbnH8LnkBvh KNFzt+TXz126/utI+I1ggxRaCeO1sra8R+YNoW92+lOX8HdLld8oetV8fgD4H8rPz9ad W0BPvjOyoz2XLBVhzRz0b1t5td3a3U+Rk25Qg= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id c8mr3383425ebb.56.1289176958668; Sun, 07 Nov 2010 16:42:38 -0800 (PST) Received: by 161.129.204.104 with HTTP; Sun, 7 Nov 2010 16:42:38 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Sun, 7 Nov 2010 19:42:38 -0500 Message-ID: <[email protected]> Subject: Re: [PATCH] %lld support in apr_snprintf() From: Jeff Trawick <[email protected]> To: APR Developer List <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 On Sun, Nov 7, 2010 at 6:51 PM, Chris Knight <[email protected]> wrote: > Exactly, the problem only appears on 64-bit Snow Leopard. See my patch in Bugzilla, which I've verified. (Unsure if the below would also work, been a long time since I diagnosed.) What I understood was that %lld is supposed to work, independent of which APR_*_FMT defines use %lld. I haven't tried the other patches on Leopard-64 to see which help there. From [email protected] Mon Nov 08 15:27:28 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74152 invoked from network); 8 Nov 2010 15:27:28 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 8 Nov 2010 15:27:28 -0000 Received: (qmail 82758 invoked by uid 500); 8 Nov 2010 15:27:59 -0000 Delivered-To: [email protected] Received: (qmail 82522 invoked by uid 500); 8 Nov 2010 15:27:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <dev.apr.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 82515 invoked by uid 99); 8 Nov 2010 15:27:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Nov 2010 15:27:56 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) Received: from [161.129.204.104] (HELO qmta12.emeryville.ca.mail.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Nov 2010 15:27:48 +0000 Received: from omta24.emeryville.ca.mail.comcast.net ([161.129.204.104]) by qmta12.emeryville.ca.mail.comcast.net with comcast id Ucms1f0031zF43QACfTTHg; Mon, 08 Nov 2010 15:27:27 +0000 Received: from [161.129.204.104] ([161.129.204.104]) by omta24.emeryville.ca.mail.comcast.net with comcast id UfTQ1f00M1PGofZ8kfTSfW; Mon, 08 Nov 2010 15:27:26 +0000 Subject: Re: [PATCH] %lld support in apr_snprintf() Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Jim Jagielski <[email protected]> In-Reply-To: <[email protected]> Date: Mon, 8 Nov 2010 10:27:24 -0500 Cc: APR Developer List <[email protected]> Content-Transfer-Encoding: quoted-printable Message-Id: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> To: Jeff Trawick <[email protected]> X-Mailer: Apple Mail (2.1081) X-Virus-Checked: Checked by ClamAV on apache.org On Nov 7, 2010, at 7:42 PM, Jeff Trawick wrote: > On Sun, Nov 7, 2010 at 6:51 PM, Chris Knight > <[email protected]> wrote: >> Exactly, the problem only appears on 64-bit Snow Leopard. See my = patch in Bugzilla, which I've verified. (Unsure if the below would also = work, been a long time since I diagnosed.) >=20 > What I understood was that %lld is supposed to work, independent of > which APR_*_FMT defines use %lld. >=20 > I haven't tried the other patches on Leopard-64 to see which help = there. >=20 If one forces *just* 64bit, then, afaict, the patch is not needed. It's only if one builds APR with both i386 and x86_64 that things break...= From [email protected] Mon Nov 08 15:42:52 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83372 invoked from network); 8 Nov 2010 15:42:51 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 8 Nov 2010 15:42:51 -0000 Received: (qmail 18079 invoked by uid 500); 8 Nov 2010 15:43:23 -0000 Delivered-To: [email protected] Received: (qmail 17721 invoked by uid 500); 8 Nov 2010 15:43:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <dev.apr.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 17714 invoked by uid 99); 8 Nov 2010 15:43:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Nov 2010 15:43:20 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO chandler.sharp.fm) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Nov 2010 15:43:11 +0000 Received: from chandler.sharp.fm (localhost [161.129.204.104]) by chandler.sharp.fm (Postfix) with ESMTP id D0A631B80B9; Mon, 8 Nov 2010 09:42:50 -0600 (CST) Received: from [161.129.204.104] (87-194-125-18.bethere.co.uk [161.129.204.104]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client did not present a certificate) (Authenticated sender: [email protected]) by chandler.sharp.fm (Postfix) with ESMTP id 26A89780C5; Mon, 8 Nov 2010 09:42:50 -0600 (CST) Cc: Jeff Trawick <[email protected]>, APR Developer List <[email protected]> Message-Id: <[email protected]> From: Graham Leggett <[email protected]> To: Jim Jagielski <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: [PATCH] %lld support in apr_snprintf() Date: Mon, 8 Nov 2010 17:42:48 +0200 References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.936) X-Virus-Scanned: ClamAV using ClamSMTP X-Virus-Checked: Checked by ClamAV on apache.org On 08 Nov 2010, at 5:27 PM, Jim Jagielski wrote: > If one forces *just* 64bit, then, afaict, the patch is not needed. > It's only if one builds APR with both i386 and x86_64 that > things break... Building with both is default behaviour, and has been default behaviour since universal binaries were introduced into MacOSX in 2005. Regards, Graham -- From [email protected] Thu Nov 11 00:07:22 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 75001 invoked from network); 11 Nov 2010 00:07:22 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 11 Nov 2010 00:07:22 -0000 Received: (qmail 74173 invoked by uid 500); 11 Nov 2010 00:07:53 -0000 Delivered-To: [email protected] Received: (qmail 74099 invoked by uid 500); 11 Nov 2010 00:07:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <dev.apr.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 74091 invoked by uid 99); 11 Nov 2010 00:07:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Nov 2010 00:07:51 +0000 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.toc.org.nz) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Nov 2010 00:07:45 +0000 Received: from [161.129.204.104] (unknown [161.129.204.104]) by mail.toc.org.nz (Postfix) with ESMTP id 87DBA22541CA for <[email protected]>; Thu, 11 Nov 2010 13:07:23 +1300 (NZDT) From: Michael Oliver Lawson <[email protected]> Content-Type: multipart/alternative; boundary=Apple-Mail-+1-618-644-1734 Subject: Apr tomcat monitoring/metrics Date: Thu, 11 Nov 2010 13:07:23 +1300 Message-Id: <[email protected]> To: [email protected] Mime-Version: 1.0 (Apple Message framework v1081) X-Mailer: Apple Mail (2.1081) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-+1-618-644-1734 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Howdy hi, We have just started using Apr as a tomcat connector on several high = load servers. Previous to this, a load balancer was pooling and parsing = connections to tomcat, but as we have hit the peak of the load balancers = capabilities we decided to use apr for the pooling.=20 What I am trying to find out, and have been unable to do so via google = so far, is if there is a way we can extract some metrics from the apr = libs during runtime. The most important metric being how many = connections are currently pooled. Any help is appreciated Regards, -- Michael Lawson Software Engineer AdScale Laboratories Ltd 323 Madras Street PO Box 19895, Woolston Christchurch cell +1-618-644-1734 phone +1-618-644-1734 E-Mail: [email protected] Internet: www.adscale.de --Apple-Mail-+1-618-644-1734 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii <html><head></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; = "><div>Howdy hi,</div><div><br></div><div>We have just started using Apr = as a tomcat connector on several high load servers. Previous to this, a = load balancer was pooling and parsing connections to tomcat, but as we = have hit the peak of the load balancers capabilities we decided to use = apr for the pooling.&nbsp;</div><div><br></div><div>What I am trying to = find out, and have been unable to do so via google so far, is if there = is a way we can extract some metrics from the apr libs during runtime. = The most important metric being how many connections are currently = pooled.</div><div><br></div><div>Any help is = appreciated</div><div>Regards,</div><div><br></div>--<br><div><span = class=3D"Apple-style-span" style=3D"border-collapse: separate; color: = rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: = normal; font-weight: normal; letter-spacing: normal; line-height: = normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: = normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: = 0px; -webkit-border-vertical-spacing: 0px; = -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Michael = Lawson<div>Software Engineer</div><div><br></div><div>AdScale = Laboratories Ltd</div><div>323 Madras Street</div><div>PO = Box&nbsp;19895, = Woolston</div><div>Christchurch</div><div><br></div><div>cell &nbsp;+64 = 21 076 5289</div><div>phone +1-618-644-1734</div><div><span = class=3D"Apple-style-span" style=3D"font-size: 12px; = "><br></span></div><div><span class=3D"Apple-style-span" = style=3D"font-size: 12px; ">E-Mail: &nbsp;&nbsp;</span><span = class=3D"Apple-style-span" style=3D"font-size: 12px; "><a = moz-do-not-send=3D"true" = href=3D"mailto:[email protected]">[email protected]<= /a></span></div><div><span class=3D"Apple-style-span" style=3D"font-size: = 12px; "><a moz-do-not-send=3D"true" = href=3D"mailto:[email protected]"></a></span><span = class=3D"Apple-style-span" style=3D"font-size: 12px; ">Internet:&nbsp;<a = moz-do-not-send=3D"true" = href=3D"http://www.adscale.de/">www.adscale.de</a></span></div><div><br></= div></span></div></body></html>= --Apple-Mail-+1-618-644-1734-- From [email protected] Thu Nov 11 06:53:14 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71261 invoked from network); 11 Nov 2010 06:53:13 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 11 Nov 2010 06:53:13 -0000 Received: (qmail 33163 invoked by uid 500); 11 Nov 2010 06:53:44 -0000 Delivered-To: [email protected] Received: (qmail 32651 invoked by uid 500); 11 Nov 2010 06:53:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <dev.apr.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 32640 invoked by uid 99); 11 Nov 2010 06:53:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Nov 2010 06:53:41 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mailserver.kippdata.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Nov 2010 06:53:35 +0000 Received: from [161.129.204.104] ([161.129.204.104]) by mailserver.kippdata.de (8.13.5/8.13.5) with ESMTP id oAB6rCg2018417 for <[email protected]>; Thu, 11 Nov 2010 07:53:13 +0100 (CET) Message-ID: <[email protected]> Date: Thu, 11 Nov 2010 07:53:12 +0100 From: Rainer Jung <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:161.129.204.104) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: [email protected] Subject: Re: Apr tomcat monitoring/metrics References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit On 11.11.2010 01:07, Michael Oliver Lawson wrote: > Howdy hi, > > We have just started using Apr as a tomcat connector on several high > load servers. Previous to this, a load balancer was pooling and parsing > connections to tomcat, but as we have hit the peak of the load balancers > capabilities we decided to use apr for the pooling. > > What I am trying to find out, and have been unable to do so via google > so far, is if there is a way we can extract some metrics from the apr > libs during runtime. The most important metric being how many > connections are currently pooled. Please post this question to the Tomcat users list. It is more appropriate there. Regards, Rainer From [email protected] Sun Nov 14 12:18:16 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 72638 invoked from network); 14 Nov 2010 12:18:15 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 14 Nov 2010 12:18:15 -0000 Received: (qmail 40762 invoked by uid 500); 14 Nov 2010 12:18:47 -0000 Delivered-To: [email protected] Received: (qmail 40496 invoked by uid 500); 14 Nov 2010 12:18:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <dev.apr.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 40488 invoked by uid 99); 14 Nov 2010 12:18:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Nov 2010 12:18:43 +0000 X-ASF-Spam-Status: No, hits=-1998.8 required=10.0 tests=ALL_TRUSTED,TO_NO_BRKTS_PCNT X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Nov 2010 12:18:40 +0000 Received: from thor.apache.org (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oAECIJmA027244 for <[email protected]>; Sun, 14 Nov 2010 12:18:19 GMT Received: (from root@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id oAECIBHB025453 for [email protected]; Sun, 14 Nov 2010 07:18:11 -0500 (EST) Date: Sun, 14 Nov 2010 07:18:11 -0500 (EST) Message-Id: <[email protected]> From: [email protected] To: [email protected] Subject: Bug report for APR [2010/11/14] X-Virus-Checked: Checked by ClamAV on apache.org +---------------------------------------------------------------------------+ | Bugzilla Bug ID | | +---------------------------------------------------------------------+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned | | | OPN=Reopened VER=Verified (Skipped Closed/Resolved) | | | +-----------------------------------------------------------------+ | | | Severity: BLK=Blocker CRI=Critical REG=Regression MAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement TRV=Trivial | | | | +-------------------------------------------------------------+ | | | | Date Posted | | | | | +--------------------------------------------------+ | | | | | Description | | | | | | | |16056|Inf|Enh|2003-01-14|Shared memory & mutex ownership not correctly esta| |20382|New|Nor|2003-05-31|Poor performance on W2000 AS | |28453|New|Enh|2004-04-18|apr_uri should parse relative to a base URI | |33188|Inf|Nor|2005-01-21|libtool linking failure on Suse | |33490|Inf|Nor|2005-02-10|APR does not compile with Borland C++ | |38410|New|Nor|2006-01-27|apr/win32 misinterpreted the meaning of WAIT_ABAND| |39289|New|Enh|2006-04-12|test suite additions for trylock functions | |39853|Inf|Nor|2006-06-21|apr_strtoi64 does not build on WinCE due to lack o| |39895|New|Enh|2006-06-23|apr_os_strerror on WinCE needs to xlate unicode->u| |39896|New|Enh|2006-06-23|Output test status to OutputDebugString in additio| |40020|New|Enh|2006-07-11|Add support for apr_uint8_t and apr_int8_t types | |40193|Inf|Nor|2006-08-06|Patches to support different compiler than EMX on | |40622|New|Enh|2006-09-27|enhance apr temp files on NT to be more secure | |40758|Ver|Maj|2006-10-15|WIN64, apr_vformatter(..) cannot handle 64bit poin| |40939|New|Enh|2006-11-09|pool minimal allocation size should be configurabl| |41192|Inf|Trv|2006-12-17|Add the expat libtool file to the LT_LDFLAGS varia| |41254|New|Enh|2006-12-28|apr_queue_t enhancements | |41351|New|Enh|2007-01-11|Tivoli LDAP SDK support in aprutil | |41352|New|Min|2007-01-11|openldap and per-connection client certificates in| |41916|Inf|Nor|2007-03-21|MinGW cross-compile support for Linux | |42365|New|Enh|2007-05-09|Suppress console for apr_proc_create() created pro| |42682|Ass|Maj|2007-06-17|Apache child terminates with signal 11 when using | |42728|New|Nor|2007-06-23|mod_ssl thread detaching not releasing handles | |42848|New|Enh|2007-07-10|add IP TOS support to apr_socket_opt_set() | |43035|New|Enh|2007-08-04|Add ability to wrap ssl around pre-existing socket| |43066|New|Nor|2007-08-08|get_password on Windows is kludgy | |43152|Inf|Nor|2007-08-16|apr_socket_opt_get doesn't work with APR_SO_SNDBUF| |43172|Ass|Nor|2007-08-20|apr-util don't want to find mozldap-6.x | |43217|New|Min|2007-08-26|All-ones IPv6 subnet mask not accepted | |43244|New|Enh|2007-08-29|apr_socket_t missing dup, dup2 and setaside | |43302|New|Nor|2007-09-04|apr_bucket_socket doesn't work with non-connected | |43309|New|Enh|2007-09-05|add apr_socket_sendtov support | |43375|Ass|Nor|2007-09-13|Pool integrity check fails for apr threads | |43499|New|Nor|2007-09-27|apr_global_mutex_create returns error "Access deni| |43507|New|Enh|2007-09-28|configure flag for SHELL_PATH | |43508|New|Enh|2007-09-28|Please be available whether atomics use thread mut| |43793|New|Enh|2007-11-04|builtin atomics on Windows | |44127|New|Enh|2007-12-21|File Extended Attributes Support | |44128|New|Enh|2007-12-21|apr_os_file_put() does not register a cleanup hand| |44129|New|Enh|2007-12-21|apr_os_dir_put() does not allocate an entry buffer| |44186|New|Nor|2008-01-08|[PATCH] Add memcached 1.2.4 features to apr_memcac| |44230|New|Enh|2008-01-14|Add Ark Linux support to config.layout | |44432|New|Enh|2008-02-15|patch - proposal for application function hooks | |44550|Inf|Maj|2008-03-06|Solaris sendfilev() handling - EINTR appears to ha| |45251|New|Nor|2008-06-22|DBD MySQL driver doesn't support multiple resultse| |45291|New|Nor|2008-06-26|apr_thread_t is leaking | |45298|New|Nor|2008-06-27|apr_os_thread_get() differs between windows and un| |45321|New|Nor|2008-07-01|Handling IPV6_V6ONLY on NT 5.x | |45407|Opn|Nor|2008-07-16|auto reconnect in apr_dbd_mysql disturb normal wor| |45455|New|Nor|2008-07-22|rwlock sometimes allows a writer to take the lock | |45496|New|Enh|2008-07-29|[patch] adding directory matching [dir/**/conf.d/*| |45650|New|Min|2008-08-19|Application reports "The entry point freeaddrinfo | |45700|New|Nor|2008-08-27|incorrect sort order of apr_strnatcmp with non-ASC| |45930|New|Nor|2008-10-01|httpd.worker MPM fails to reset signal mask before| |46064|New|Nor|2008-10-22|apr_ldap_init call fails | |46175|New|Enh|2008-11-10|Full Mingw+MSys support | |46180|New|Nor|2008-11-10|apr_memcache_getp() returns value | |46181|New|Enh|2008-11-10|request feature: ability to connect to a socket un| |46205|New|Enh|2008-11-13|Extend apr_array with a function to shuffle member| |46233|New|Maj|2008-11-18|APR does not compile universal binaries on Mac OS | |46389|New|Nor|2008-12-12|Datagram (UDP) broadcasts fail with "permission de| |46459|New|Enh|2008-12-31|apr_dbm BDB backend: allow db type selection | |46540|New|Enh|2009-01-15|apr_thread_pool support doesn't allow for apr_thre| |46799|New|Maj|2009-03-04|apr_thread_cond_create leaks handle (patch include| |46820|New|Nor|2009-03-08|[PATCH] apr_file_mtime_set working with symlinks | |46853|New|Nor|2009-03-13|utf8_to_unicode_path breaks .. and . expansion | |46937|New|Nor|2009-03-30|apr build error | |46964|New|Nor|2009-04-03|apr_sockaddr_vars_set() Needs to always set the po| |47044|New|Nor|2009-04-17|[Patch] apr_snprintf.c compile failure on AIX main| |47162|New|Enh|2009-05-06|[PATCH] crypto: read/write support for SSHA-1 (sal| |47181|New|Nor|2009-05-11|Fixes for MINT for apr library | |47191|New|Min|2009-05-13|Missing sentinel warning | |47258|Inf|Min|2009-05-24|Too many slashes with configure | |47441|New|Enh|2009-06-27|apr_hash: Allow custom key comparison function | |47471|New|Enh|2009-07-03|apr_hash: Implement apr_hash_set_if_new() | |47501|New|Maj|2009-07-09|[ldap] Setting LDAP_OPT_REFHOPLIMIT fails with Ope| |47572|New|Enh|2009-07-24|It would be nice if apr configure --with-dbm=xdbm | |47605|New|Enh|2009-07-29|apr-config: support for "--configure" | |47739|Inf|Nor|2009-08-26|Changes to apr_common.m4 file | |47776|New|Nor|2009-09-01|Change "apr_palloc / memcpy" to apr_pmemdup in APR| |47879|New|Enh|2009-09-20|add support for libiodbc (alternative to unixODBC)| |47891|New|Blk|2009-09-22|decision on anonymous shared memory allocation met| |47892|New|Cri|2009-09-23|configure: error: Could not detect suitable DSO im| |47931|New|Enh|2009-10-01|It is not possible to use CALL MySQL method with a| |47932|New|Enh|2009-10-01|apr_dbd_mysql: max_length field of MYSQL_FIELD st| |47979|New|Min|2009-10-11|Installed pkg-config returns extraneous informatio| |48084|New|Nor|2009-10-29|Erasing HTTPD library global variables before rein| |48247|Inf|Nor|2009-11-20|Apache HTTP server could not respond HEAD message | |48298|New|Enh|2009-11-29|memcache UDP protocol support ? | |48374|New|Nor|2009-12-11|wrong return value for apr_dir_read on win32 | |48476|New|Reg|2010-01-02|apr_psprintf() does not parse the ll or hh size sp| |48483|New|Min|2010-01-04|Don't use "-no-cpp-precomp" unconditionally on Dar| |48491|New|Maj|2010-01-05|pollset_remove() with kqueue is O(n) | |48535|New|Nor|2010-01-13|Potential data race on allocator->max_index in all| |48557|Opn|Enh|2010-01-15|file_io/unix/open.c:apr_file_open() should cache O| |48722|New|Maj|2010-02-10|apr_thread_pool_push may not create a new thread w| |48736|New|Nor|2010-02-13|apr_socket_connect() incompatibility between Unix | |48739|New|Nor|2010-02-14|large.bin and buffer.bin laying around after test | |48740|New|Nor|2010-02-14|CP932 conversion table is different from that of W| |48776|New|Nor|2010-02-19|APR 1.4.x buildconf fails on Mac OS X 10.6.2 - nee| |48884|Inf|Nor|2010-03-10|Very hard to cross-compile | |48905|New|Maj|2010-03-13|server processes hang with threaded apache | |48918|New|Enh|2010-03-15|Add support for SCTP beyond opening an SCTP socket| |49011|New|Enh|2010-03-28|[PATCH] Speed up MD5 on Little Endian Machines | |49012|New|Enh|2010-03-28|[PATCH] Speed up MD5 with Microsoft Compilers | |49064|New|Enh|2010-04-07|APR-util does not support SASL binding | |49085|New|Enh|2010-04-11|[PATCH] Speed up file I/O | |49193|New|Enh|2010-04-27|Implement LDAP scope-aware caching in APR-Util | |49288|New|Enh|2010-05-13|Add support for stronger cryptographic hashing fun| |49496|New|Cri|2010-06-24|Password (getpass()) truncation issue on HP-UX in | |49646|New|Nor|2010-07-25|no data error in apr_dbd_pbquery with odbc driver | |49656|New|Nor|2010-07-27|Write bits for "group" and "other" doesn't get set| |49678|New|Nor|2010-07-30|getRemoteAddr() returns IPv6 address on RedHat 9 w| |49840|New|Nor|2010-08-29|apr_allocator_max_free_set is broken with most mal| |49882|New|Nor|2010-09-04|100% CPU time in poll/unix/select.c:apr_pollset_po| |50058|New|Maj|2010-10-08|Deadlock with apr_file_open(APR_FOPEN_APPEND) and | |50141|New|Maj|2010-10-22|cross compiling apr fails miserably at configure t| |50144|New|Nor|2010-10-22|Found a couple of memory leaks in APR when running| |50146|New|Maj|2010-10-23|cross compiling apr error: redefinition of 'struct| +-----+---+---+----------+--------------------------------------------------+ | Total 119 bugs | +---------------------------------------------------------------------------+ From [email protected] Sun Nov 21 12:22:33 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 96331 invoked from network); 21 Nov 2010 12:22:32 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 21 Nov 2010 12:22:32 -0000 Received: (qmail 47269 invoked by uid 500); 21 Nov 2010 12:23:04 -0000 Delivered-To: [email protected] Received: (qmail 47005 invoked by uid 500); 21 Nov 2010 12:23:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <dev.apr.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 46991 invoked by uid 99); 21 Nov 2010 12:23:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Nov 2010 12:23:01 +0000 X-ASF-Spam-Status: No, hits=-1998.6 required=10.0 tests=ALL_TRUSTED,TO_NO_BRKTS_PCNT X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Nov 2010 12:23:00 +0000 Received: from thor.apache.org (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oALCMdwI004256 for <[email protected]>; Sun, 21 Nov 2010 12:22:40 GMT Received: (from root@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id oALCMLnw002437 for [email protected]; Sun, 21 Nov 2010 07:22:21 -0500 (EST) Date: Sun, 21 Nov 2010 07:22:21 -0500 (EST) Message-Id: <[email protected]> From: [email protected] To: [email protected] Subject: Bug report for APR [2010/11/21] +---------------------------------------------------------------------------+ | Bugzilla Bug ID | | +---------------------------------------------------------------------+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned | | | OPN=Reopened VER=Verified (Skipped Closed/Resolved) | | | +-----------------------------------------------------------------+ | | | Severity: BLK=Blocker CRI=Critical REG=Regression MAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement TRV=Trivial | | | | +-------------------------------------------------------------+ | | | | Date Posted | | | | | +--------------------------------------------------+ | | | | | Description | | | | | | | |16056|Inf|Enh|2003-01-14|Shared memory & mutex ownership not correctly esta| |20382|New|Nor|2003-05-31|Poor performance on W2000 AS | |28453|New|Enh|2004-04-18|apr_uri should parse relative to a base URI | |33188|Inf|Nor|2005-01-21|libtool linking failure on Suse | |33490|Inf|Nor|2005-02-10|APR does not compile with Borland C++ | |38410|New|Nor|2006-01-27|apr/win32 misinterpreted the meaning of WAIT_ABAND| |39289|New|Enh|2006-04-12|test suite additions for trylock functions | |39853|Inf|Nor|2006-06-21|apr_strtoi64 does not build on WinCE due to lack o| |39895|New|Enh|2006-06-23|apr_os_strerror on WinCE needs to xlate unicode->u| |39896|New|Enh|2006-06-23|Output test status to OutputDebugString in additio| |40020|New|Enh|2006-07-11|Add support for apr_uint8_t and apr_int8_t types | |40193|Inf|Nor|2006-08-06|Patches to support different compiler than EMX on | |40622|New|Enh|2006-09-27|enhance apr temp files on NT to be more secure | |40758|Ver|Maj|2006-10-15|WIN64, apr_vformatter(..) cannot handle 64bit poin| |40939|New|Enh|2006-11-09|pool minimal allocation size should be configurabl| |41192|Inf|Trv|2006-12-17|Add the expat libtool file to the LT_LDFLAGS varia| |41254|New|Enh|2006-12-28|apr_queue_t enhancements | |41351|New|Enh|2007-01-11|Tivoli LDAP SDK support in aprutil | |41352|New|Min|2007-01-11|openldap and per-connection client certificates in| |41916|Inf|Nor|2007-03-21|MinGW cross-compile support for Linux | |42365|New|Enh|2007-05-09|Suppress console for apr_proc_create() created pro| |42682|Ass|Maj|2007-06-17|Apache child terminates with signal 11 when using | |42728|New|Nor|2007-06-23|mod_ssl thread detaching not releasing handles | |42848|New|Enh|2007-07-10|add IP TOS support to apr_socket_opt_set() | |43035|New|Enh|2007-08-04|Add ability to wrap ssl around pre-existing socket| |43066|New|Nor|2007-08-08|get_password on Windows is kludgy | |43152|Inf|Nor|2007-08-16|apr_socket_opt_get doesn't work with APR_SO_SNDBUF| |43172|Ass|Nor|2007-08-20|apr-util don't want to find mozldap-6.x | |43217|New|Min|2007-08-26|All-ones IPv6 subnet mask not accepted | |43244|New|Enh|2007-08-29|apr_socket_t missing dup, dup2 and setaside | |43302|New|Nor|2007-09-04|apr_bucket_socket doesn't work with non-connected | |43309|New|Enh|2007-09-05|add apr_socket_sendtov support | |43375|Ass|Nor|2007-09-13|Pool integrity check fails for apr threads | |43499|New|Nor|2007-09-27|apr_global_mutex_create returns error "Access deni| |43507|New|Enh|2007-09-28|configure flag for SHELL_PATH | |43508|New|Enh|2007-09-28|Please be available whether atomics use thread mut| |43793|New|Enh|2007-11-04|builtin atomics on Windows | |44127|New|Enh|2007-12-21|File Extended Attributes Support | |44128|New|Enh|2007-12-21|apr_os_file_put() does not register a cleanup hand| |44129|New|Enh|2007-12-21|apr_os_dir_put() does not allocate an entry buffer| |44186|New|Nor|2008-01-08|[PATCH] Add memcached 1.2.4 features to apr_memcac| |44230|New|Enh|2008-01-14|Add Ark Linux support to config.layout | |44432|New|Enh|2008-02-15|patch - proposal for application function hooks | |44550|Inf|Maj|2008-03-06|Solaris sendfilev() handling - EINTR appears to ha| |45251|New|Nor|2008-06-22|DBD MySQL driver doesn't support multiple resultse| |45291|New|Nor|2008-06-26|apr_thread_t is leaking | |45298|New|Nor|2008-06-27|apr_os_thread_get() differs between windows and un| |45321|New|Nor|2008-07-01|Handling IPV6_V6ONLY on NT 5.x | |45407|Opn|Nor|2008-07-16|auto reconnect in apr_dbd_mysql disturb normal wor| |45455|New|Nor|2008-07-22|rwlock sometimes allows a writer to take the lock | |45496|New|Enh|2008-07-29|[patch] adding directory matching [dir/**/conf.d/*| |45650|New|Min|2008-08-19|Application reports "The entry point freeaddrinfo | |45700|New|Nor|2008-08-27|incorrect sort order of apr_strnatcmp with non-ASC| |45930|New|Nor|2008-10-01|httpd.worker MPM fails to reset signal mask before| |46064|New|Nor|2008-10-22|apr_ldap_init call fails | |46175|New|Enh|2008-11-10|Full Mingw+MSys support | |46180|New|Nor|2008-11-10|apr_memcache_getp() returns value | |46181|New|Enh|2008-11-10|request feature: ability to connect to a socket un| |46205|New|Enh|2008-11-13|Extend apr_array with a function to shuffle member| |46233|New|Maj|2008-11-18|APR does not compile universal binaries on Mac OS | |46389|New|Nor|2008-12-12|Datagram (UDP) broadcasts fail with "permission de| |46459|New|Enh|2008-12-31|apr_dbm BDB backend: allow db type selection | |46540|New|Enh|2009-01-15|apr_thread_pool support doesn't allow for apr_thre| |46799|New|Maj|2009-03-04|apr_thread_cond_create leaks handle (patch include| |46820|New|Nor|2009-03-08|[PATCH] apr_file_mtime_set working with symlinks | |46853|New|Nor|2009-03-13|utf8_to_unicode_path breaks .. and . expansion | |46937|New|Nor|2009-03-30|apr build error | |46964|New|Nor|2009-04-03|apr_sockaddr_vars_set() Needs to always set the po| |47044|New|Nor|2009-04-17|[Patch] apr_snprintf.c compile failure on AIX main| |47162|New|Enh|2009-05-06|[PATCH] crypto: read/write support for SSHA-1 (sal| |47181|New|Nor|2009-05-11|Fixes for MINT for apr library | |47191|New|Min|2009-05-13|Missing sentinel warning | |47258|Inf|Min|2009-05-24|Too many slashes with configure | |47441|New|Enh|2009-06-27|apr_hash: Allow custom key comparison function | |47471|New|Enh|2009-07-03|apr_hash: Implement apr_hash_set_if_new() | |47501|New|Maj|2009-07-09|[ldap] Setting LDAP_OPT_REFHOPLIMIT fails with Ope| |47572|New|Enh|2009-07-24|It would be nice if apr configure --with-dbm=xdbm | |47605|New|Enh|2009-07-29|apr-config: support for "--configure" | |47739|Inf|Nor|2009-08-26|Changes to apr_common.m4 file | |47776|New|Nor|2009-09-01|Change "apr_palloc / memcpy" to apr_pmemdup in APR| |47879|New|Enh|2009-09-20|add support for libiodbc (alternative to unixODBC)| |47891|New|Blk|2009-09-22|decision on anonymous shared memory allocation met| |47892|New|Cri|2009-09-23|configure: error: Could not detect suitable DSO im| |47931|New|Enh|2009-10-01|It is not possible to use CALL MySQL method with a| |47932|New|Enh|2009-10-01|apr_dbd_mysql: max_length field of MYSQL_FIELD st| |47979|New|Min|2009-10-11|Installed pkg-config returns extraneous informatio| |48084|New|Nor|2009-10-29|Erasing HTTPD library global variables before rein| |48247|Inf|Nor|2009-11-20|Apache HTTP server could not respond HEAD message | |48298|New|Enh|2009-11-29|memcache UDP protocol support ? | |48374|New|Nor|2009-12-11|wrong return value for apr_dir_read on win32 | |48476|New|Reg|2010-01-02|apr_psprintf() does not parse the ll or hh size sp| |48483|New|Min|2010-01-04|Don't use "-no-cpp-precomp" unconditionally on Dar| |48491|New|Maj|2010-01-05|pollset_remove() with kqueue is O(n) | |48535|New|Nor|2010-01-13|Potential data race on allocator->max_index in all| |48557|Opn|Enh|2010-01-15|file_io/unix/open.c:apr_file_open() should cache O| |48722|New|Maj|2010-02-10|apr_thread_pool_push may not create a new thread w| |48736|New|Nor|2010-02-13|apr_socket_connect() incompatibility between Unix | |48739|New|Nor|2010-02-14|large.bin and buffer.bin laying around after test | |48740|New|Nor|2010-02-14|CP932 conversion table is different from that of W| |48776|New|Nor|2010-02-19|APR 1.4.x buildconf fails on Mac OS X 10.6.2 - nee| |48884|Inf|Nor|2010-03-10|Very hard to cross-compile | |48905|New|Maj|2010-03-13|server processes hang with threaded apache | |48918|New|Enh|2010-03-15|Add support for SCTP beyond opening an SCTP socket| |49011|New|Enh|2010-03-28|[PATCH] Speed up MD5 on Little Endian Machines | |49012|New|Enh|2010-03-28|[PATCH] Speed up MD5 with Microsoft Compilers | |49064|New|Enh|2010-04-07|APR-util does not support SASL binding | |49085|New|Enh|2010-04-11|[PATCH] Speed up file I/O | |49193|New|Enh|2010-04-27|Implement LDAP scope-aware caching in APR-Util | |49288|New|Enh|2010-05-13|Add support for stronger cryptographic hashing fun| |49496|New|Cri|2010-06-24|Password (getpass()) truncation issue on HP-UX in | |49646|New|Nor|2010-07-25|no data error in apr_dbd_pbquery with odbc driver | |49656|New|Nor|2010-07-27|Write bits for "group" and "other" doesn't get set| |49678|New|Nor|2010-07-30|getRemoteAddr() returns IPv6 address on RedHat 9 w| |49840|New|Nor|2010-08-29|apr_allocator_max_free_set is broken with most mal| |49882|New|Nor|2010-09-04|100% CPU time in poll/unix/select.c:apr_pollset_po| |50058|New|Maj|2010-10-08|Deadlock with apr_file_open(APR_FOPEN_APPEND) and | |50141|New|Maj|2010-10-22|cross compiling apr fails miserably at configure t| |50144|New|Nor|2010-10-22|Found a couple of memory leaks in APR when running| |50146|New|Maj|2010-10-23|cross compiling apr error: redefinition of 'struct| |50269|New|Nor|2010-11-14|testsock fails - Determine whether at EOF, #1 (200| +-----+---+---+----------+--------------------------------------------------+ | Total 120 bugs | +---------------------------------------------------------------------------+ From [email protected] Thu Nov 25 06:16:35 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92163 invoked from network); 25 Nov 2010 06:16:35 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 25 Nov 2010 06:16:35 -0000 Received: (qmail 55611 invoked by uid 500); 25 Nov 2010 06:17:07 -0000 Delivered-To: [email protected] Received: (qmail 55198 invoked by uid 500); 25 Nov 2010 06:17:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <dev.apr.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 55180 invoked by uid 99); 25 Nov 2010 06:17:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 06:17:04 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-gx0-f178.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 06:17:00 +0000 Received: by gxk23 with SMTP id 23so367588gxk.37 for <[email protected]>; Wed, 24 Nov 2010 22:16:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=LhZ9Te50ugw2acSZXRzMXClhcVDH9vNzl1uOsqYs8oM=; b=MdIUSX4iPTSOA8yHo/lux7TI9ypbof+hC3J0g5Y4tYegcXdFwabOudQZHcYgD8jOGU MCFGfNOGgWcve+JLmAARpBMfG7J1COGMbd8nqxQoKwe1wZUzBBfRpa2f92H+w26hIPzs 6XmxIrPjllQ8+P68o5jH/oloCE+5Z5MySwRN8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=erOkoLOMZSgW3FLvcSCt/VsuxBL6Jg2kUrkDWvyFaeZaf/u+32TsGuC6zLXmZh0iRe 7qvQB97Wh5fU+PkGgwMYgQdnMcZ//JUyR0E3rY2b9Q5f21AnvUYqtZRXmRViomcbpOEf 7w6j6YRTucU+PteohzqorRtMNoJj3a65PkJJg= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id s12mr2354555ybi.407.1290665797012; Wed, 24 Nov 2010 22:16:37 -0800 (PST) Received: by 161.129.204.104 with HTTP; Wed, 24 Nov 2010 22:16:36 -0800 (PST) Date: Thu, 25 Nov 2010 15:16:36 +0900 Message-ID: <[email protected]> Subject: Building with the mingw cross compiler From: Daniel Stonier <[email protected]> To: [email protected] Content-Type: text/plain; charset=UTF-8 I'm using a mingw cross compiler from http://mingw-cross-env.nongnu.org/ to try and build the apache runtimes. Apr would fail in the configure stage though: checking which type to use for apr_off_t... configure: error: could not determine the size of off_t My config.log showed the problem: ac_cv_sizeof_long_long=8 ac_cv_sizeof_off_t=4^M ac_cv_sizeof_pid_t=4^M ac_cv_sizeof_short=2 Which meant checks for ac_cv_sizeof_off_t weren't working correctly. It also meant the pid_t failed to define itself properly in include/apr.h. I got around it by simply predefining these as constants when configuring, however it'd be good if it got fixed upstream. However, I am not sure where these are actually getting defined. Cheers, Daniel. -- Phone : +1-618-644-1734 (010-5400-3296) Home: http://snorriheim.dnsdojo.com/ Yujin Robot: http://www.yujinrobot.com/ Embedded Ros : http://www.ros.org/wiki/eros Embedded Control Libraries: http://snorriheim.dnsdojo.com/redmine/wiki/ecl From [email protected] Thu Nov 25 08:59:07 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20023 invoked from network); 25 Nov 2010 08:59:06 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 25 Nov 2010 08:59:06 -0000 Received: (qmail 10675 invoked by uid 500); 25 Nov 2010 07:59:06 -0000 Delivered-To: [email protected] Received: (qmail 10217 invoked by uid 500); 25 Nov 2010 07:59:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <dev.apr.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 10190 invoked by uid 99); 25 Nov 2010 07:59:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 07:59:01 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-qy0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 07:58:55 +0000 Received: by qyk32 with SMTP id 32so5185481qyk.16 for <[email protected]>; Wed, 24 Nov 2010 23:58:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=7QbjqqcztYbkY3Hkk6AD6C9fXwdiIRY0kHF9rvA3FIE=; b=NthrDgUBquHzSH7tz4vwtYWJkrHQW8lsUzt7bV1DPzEvJD0QRoWJBoxhdka1bzrqrJ MYxEIVH2gLIAWhwsi4PGb6+UCdm7SifFRqz/TqAj1TuZb3U/uGms7YqLXqARwC8WOW6N rMbB9TKU2hqrct0QnSV7UbbzSD0oko68PvG10= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=pMTv8fzUWhNLgm7xe3217jozqFZECswPz/3DB8CkevDEX0H85Fs9uhHT2kR8hyvS8g uCBdYX2b6W8ioZjdtrJ49k195ety8W+bk3gqvlMxCvKaKkPBgS13Kx8FhLcAmwSoD5w4 SzWqRqDCxmHgq4yq3fgn9RqJ2OIDfdhZSgVeM= Received: by 161.129.204.104 with SMTP id hr18mr421635qcb.78.1290671914616; Wed, 24 Nov 2010 23:58:34 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with HTTP; Wed, 24 Nov 2010 23:58:13 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> From: Dongsheng Song <[email protected]> Date: Thu, 25 Nov 2010 15:58:13 +0800 Message-ID: <[email protected]> Subject: Re: Shared libs with mingw cross-compiler To: Daniel Stonier <[email protected]> Cc: [email protected] Content-Type: text/plain; charset=UTF-8 On Thu, Nov 25, 2010 at 14:46, Daniel Stonier <[email protected]> wrote: > Also run into another problem with the mingw cross-compiler - it > simply refuses to build shared libs, despite setting --disable-static > and --enable-static when running ./configure. What might be disabling > it? > It maybe the configure script issue. Because I can build static or shared library for xz utils and some other projects. You can compare the library configuration part between apr and xz util. From [email protected] Thu Nov 25 09:01:20 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 23535 invoked from network); 25 Nov 2010 09:01:20 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 25 Nov 2010 09:01:20 -0000 Received: (qmail 84694 invoked by uid 500); 25 Nov 2010 07:14:39 -0000 Delivered-To: [email protected] Received: (qmail 84308 invoked by uid 500); 25 Nov 2010 07:14:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <dev.apr.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 84300 invoked by uid 99); 25 Nov 2010 07:14:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 07:14:36 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO beauty.rexursive.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 07:14:28 +0000 Received: from [161.129.204.104] (noknok.rexursive.com [161.129.204.104]) by beauty.rexursive.com (Postfix) with ESMTPS id 9A87B8C025; Thu, 25 Nov 2010 18:14:06 +1100 (EST) Subject: Re: Shared libs with mingw cross-compiler Date: Thu, 25 Nov 2010 18:14:02 +1100 From: "Bojan Smojver" <[email protected]> To: [email protected] Cc: [email protected] MIME-Version: 1.0 X-Mailer: LCG ProfiMail Message-ID: <[email protected]> References: <[email protected]> Content-Type: text/plain; charset=utf-8; format=flowed X-Virus-Checked: Checked by ClamAV on apache.org > Also run into another problem with the mingw cross-compiler - it > simply refuses to build shared libs, despite setting --disable-static > and --enable-static when running ./configure. What might be disabling > it? No idea about that one, to be honest. -- Bojan From [email protected] Thu Nov 25 09:29:04 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47455 invoked from network); 25 Nov 2010 09:29:04 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 25 Nov 2010 09:29:04 -0000 Received: (qmail 68209 invoked by uid 500); 25 Nov 2010 06:42:24 -0000 Delivered-To: [email protected] Received: (qmail 67880 invoked by uid 500); 25 Nov 2010 06:42:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <dev.apr.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 67871 invoked by uid 99); 25 Nov 2010 06:42:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 06:42:21 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO beauty.rexursive.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 06:42:13 +0000 Received: from [161.129.204.104] (shrek.rexursive.com [161.129.204.104]) by beauty.rexursive.com (Postfix) with ESMTP id 36BDE8C025; Thu, 25 Nov 2010 17:41:50 +1100 (EST) Subject: Re: Building with the mingw cross compiler From: Bojan Smojver <[email protected]> To: Daniel Stonier <[email protected]> Cc: [email protected] In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain; charset="UTF-8" Date: Thu, 25 Nov 2010 17:41:49 +1100 Message-ID: <[email protected]> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 (2.32.1-1.fc14) Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Thu, 2010-11-25 at 15:16 +0900, Daniel Stonier wrote: > ac_cv_sizeof_off_t=4^M > ac_cv_sizeof_pid_t=4^M Are you saying that these are \r (ASCII 13) characters? This could be related to fprintf() from the test printing out \r\n instead of just \n on your platform. Maybe the file should be opened with "wb" or something. This is what I'm referring to (you can find this in configure script): -------------------------------- /* end confdefs.h. */ #include <stdio.h> #include <sys/types.h> main() { FILE *f=fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%d\n", sizeof(pid_t)); exit(0); } -------------------------------- /* end confdefs.h. */ #include <stdio.h> #include <sys/types.h> main() { FILE *f=fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%d\n", sizeof(off_t)); exit(0); } -------------------------------- Hmm, not sure what's going on there. Don't usually run APR on mingw. -- Bojan From [email protected] Thu Nov 25 09:33:46 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52078 invoked from network); 25 Nov 2010 09:33:44 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 25 Nov 2010 09:33:44 -0000 Received: (qmail 71196 invoked by uid 500); 25 Nov 2010 06:47:03 -0000 Delivered-To: [email protected] Received: (qmail 71022 invoked by uid 500); 25 Nov 2010 06:47:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <dev.apr.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 71014 invoked by uid 99); 25 Nov 2010 06:47:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 06:47:00 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-gw0-f50.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 06:46:54 +0000 Received: by gwb11 with SMTP id 11so377632gwb.37 for <[email protected]>; Wed, 24 Nov 2010 22:46:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=bEZrcHJovEQoTj94scHogHZE+H36hx5NXNqW5SCuc5I=; b=b4bwYl/UIg1vmRzdojo82zR/lMHVtRVkrBjvaO0538+qwV66DV0wBnA+TkY/+ZH9zU Mvbuf7wdBp34m4M+IuI5xKov/sZ1d2X/sYsvSfpmyzAmC0Jcg6s/SHXviofidsEBfIgc ozrgE+eMfj4ZOaE+2AbciJxpsDCG3KPk7YnTo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=i0NS/qzix/dFoJWu7u3v84IZzbJNlV8fmZt1CgU4BPdmAPZxgzIIKPGbq9oxuVbyof T1YNljn1wVM7Wq4Q9ik4T+7mtNcLRC/c0hbVs5zfU5OpDXZk8uKw/pe9VHKpzfPqfevS L06l7lIlU+0JoXR44wlWBVsg6R8mlXslK6kYg= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id g3mr2451462ybo.293.1290667593767; Wed, 24 Nov 2010 22:46:33 -0800 (PST) Received: by 161.129.204.104 with HTTP; Wed, 24 Nov 2010 22:46:33 -0800 (PST) Date: Thu, 25 Nov 2010 15:46:33 +0900 Message-ID: <[email protected]> Subject: Shared libs with mingw cross-compiler From: Daniel Stonier <[email protected]> To: [email protected] Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Also run into another problem with the mingw cross-compiler - it simply refuses to build shared libs, despite setting --disable-static and --enable-static when running ./configure. What might be disabling it? Cheers, Daniel. -- Phone : +1-618-644-1734 (010-5400-3296) Home: http://snorriheim.dnsdojo.com/ Yujin Robot: http://www.yujinrobot.com/ Embedded Ros : http://www.ros.org/wiki/eros Embedded Control Libraries: http://snorriheim.dnsdojo.com/redmine/wiki/ecl From [email protected] Thu Nov 25 09:59:10 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58238 invoked from network); 25 Nov 2010 09:59:09 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 25 Nov 2010 09:59:09 -0000 Received: (qmail 84655 invoked by uid 500); 25 Nov 2010 09:59:09 -0000 Delivered-To: [email protected] Received: (qmail 84336 invoked by uid 500); 25 Nov 2010 09:59:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <dev.apr.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 84327 invoked by uid 99); 25 Nov 2010 09:59:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 09:59:06 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-wy0-f178.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 09:59:02 +0000 Received: by wyb42 with SMTP id 42so755185wyb.37 for <[email protected]>; Thu, 25 Nov 2010 01:58:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=te41MRviTu7N78pb7Nc91td6V94+3qz2uuAE5RUtF68=; b=cJY8thCObDYJo3bbgAxYv42z4H8E179fUPeMrwptd8ZmvIdSctwuHfZ0OT8NgqH929 pJHsuIcWWSbar1ERM54HFkEbLL9Cdp7BwGVfPQUJR0Klholh7VwiYYakBm7d7hgwOqFR cfXttl+kv5U7HKBScF4DqFsxTtQSd/S9/NKZk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=fg8w0G7ijPwKg0T1TvHW30l2w0X4Vt8eCxmE4RS/ZC0FRlzyg7a0mxW4dE/bLqpgs8 BzL6nDagRQGCOmFFgoBZZdCEtqxJ+9dWflQNu1dEMUFGYXcppfHGcvcPRz8VYXEUAViV bitrpDSO/BOSqHpXwpURc0KLYXVPqWKmjIdHY= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id t41mr3663267weq.55.1290679120420; Thu, 25 Nov 2010 01:58:40 -0800 (PST) Received: by 161.129.204.104 with HTTP; Thu, 25 Nov 2010 01:58:40 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Thu, 25 Nov 2010 18:58:40 +0900 Message-ID: <[email protected]> Subject: Re: Building with the mingw cross compiler From: Daniel Stonier <[email protected]> To: Bojan Smojver <[email protected]> Cc: [email protected] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 25 November 2010 15:41, Bojan Smojver <[email protected]> wrote: > On Thu, 2010-11-25 at 15:16 +0900, Daniel Stonier wrote: >> ac_cv_sizeof_off_t=3D4^M >> ac_cv_sizeof_pid_t=3D4^M > > Are you saying that these are \r (ASCII 13) characters? This could be > related to fprintf() from the test printing out \r\n instead of just \n > on your platform. Maybe the file should be opened with "wb" or > something. > > This is what I'm referring to (you can find this in configure script): > -------------------------------- > /* end confdefs.h. =C2=A0*/ > #include <stdio.h> > #include <sys/types.h> > main() > { > =C2=A0FILE *f=3Dfopen("conftestval", "w"); > =C2=A0if (!f) exit(1); > =C2=A0fprintf(f, "%d\n", sizeof(pid_t)); > =C2=A0exit(0); > } > -------------------------------- > /* end confdefs.h. =C2=A0*/ > #include <stdio.h> > #include <sys/types.h> > main() > { > =C2=A0FILE *f=3Dfopen("conftestval", "w"); > =C2=A0if (!f) exit(1); > =C2=A0fprintf(f, "%d\n", sizeof(off_t)); > =C2=A0exit(0); > } > -------------------------------- > > Hmm, not sure what's going on there. Don't usually run APR on mingw. > > -- > Bojan Ok, so this is confusing me a little - how would it even run a test being a mingw cross compiled program (host is linux)? --=20 Phone : +1-618-644-1734 (010-5400-3296) Home: http://snorriheim.dnsdojo.com/ Yujin Robot: http://www.yujinrobot.com/ Embedded Ros : http://www.ros.org/wiki/eros Embedded Control Libraries: http://snorriheim.dnsdojo.com/redmine/wiki/ecl From [email protected] Thu Nov 25 10:35:18 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79604 invoked from network); 25 Nov 2010 10:35:17 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 25 Nov 2010 10:35:17 -0000 Received: (qmail 39885 invoked by uid 500); 25 Nov 2010 10:35:17 -0000 Delivered-To: [email protected] Received: (qmail 39482 invoked by uid 500); 25 Nov 2010 10:35:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <dev.apr.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 39474 invoked by uid 99); 25 Nov 2010 10:35:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 10:35:14 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO beauty.rexursive.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 10:35:06 +0000 Received: from [161.129.204.104] (noknok.rexursive.com [161.129.204.104]) by beauty.rexursive.com (Postfix) with ESMTPS id A7A038C025; Thu, 25 Nov 2010 21:34:44 +1100 (EST) Subject: Re: Building with the mingw cross compiler Date: Thu, 25 Nov 2010 21:34:39 +1100 From: "Bojan Smojver" <[email protected]> To: [email protected] Cc: [email protected] MIME-Version: 1.0 X-Mailer: LCG ProfiMail Message-ID: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Content-Type: text/plain; charset=utf-8; format=flowed X-Virus-Checked: Checked by ClamAV on apache.org > Ok, so this is confusing me a little - how would it even run a test > being a mingw cross compiled program (host is linux)? Honest answer is that I never even tried this (I only ever compile APR on Unix/Linux). I just see in my configure script that under certain circumstances these code snippets may get compiled and executed. -- Bojan From [email protected] Thu Nov 25 16:56:32 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54793 invoked from network); 25 Nov 2010 16:56:31 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 25 Nov 2010 16:56:31 -0000 Received: (qmail 62692 invoked by uid 500); 25 Nov 2010 16:56:31 -0000 Delivered-To: [email protected] Received: (qmail 62623 invoked by uid 500); 25 Nov 2010 16:56:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <dev.apr.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 62415 invoked by uid 99); 25 Nov 2010 16:56:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 16:56:30 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO p3plsmtpa01-09.prod.phx3.secureserver.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 25 Nov 2010 16:56:21 +0000 Received: (qmail 24136 invoked from network); 25 Nov 2010 16:55:59 -0000 Received: from unknown (161.129.204.104) by p3plsmtpa01-09.prod.phx3.secureserver.net (161.129.204.104) with ESMTP; 25 Nov 2010 16:55:59 -0000 Message-ID: <[email protected]> Date: Thu, 25 Nov 2010 10:55:59 -0600 From: "William A. Rowe Jr." <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:161.129.204.104) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6 MIME-Version: 1.0 To: [email protected] Subject: Re: Shared libs with mingw cross-compiler References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 11/25/2010 12:46 AM, Daniel Stonier wrote: > Also run into another problem with the mingw cross-compiler - it > simply refuses to build shared libs, despite setting --disable-static > and --enable-static when running ./configure. What might be disabling > it? You can always try doing a ./buildconf against your own/mingw hacked libtool and autoconf and see if the ./configure results differ. From [email protected] Thu Nov 25 23:40:08 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60860 invoked from network); 25 Nov 2010 23:40:07 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 25 Nov 2010 23:40:07 -0000 Received: (qmail 98161 invoked by uid 500); 25 Nov 2010 23:40:07 -0000 Delivered-To: [email protected] Received: (qmail 98070 invoked by uid 500); 25 Nov 2010 23:40:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <dev.apr.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 98062 invoked by uid 99); 25 Nov 2010 23:40:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 23:40:06 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-wy0-f178.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 23:40:00 +0000 Received: by wyb42 with SMTP id 42so1459193wyb.37 for <[email protected]>; Thu, 25 Nov 2010 15:39:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=q/RGyjHkcYLSb7rSr50gGxiSpX78k5LELknFKG2JKvY=; b=AqJ8Qx8D1FyScPzumZMAfP/UBmTGM3ZoKy/e5Y1VuUc0B7SV+1I0nxVQaEWGlATVv/ qmDXxiGdSEM8mMa8gTArmnz5tAgGFyjj/k5GDT7yVC5aaXBfb5x5hD/09rKOlKLJhabw llGlOQ7yx6nmsKm61bug5D9Xbumjmi3OjMVFk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Y7QxcBs92OaArH/uBDn2jS5M+QFBsKkQ8XfvT4dno8CuaVv57p1YCREScmOvLn3yyH ZDA1jqjiZjUf0MG/tE2T8vo2Jlo2yoiXv8T7E929XfURsFzIe23kL/lviZz/FEmQkEC2 jTGUXoUhoQMIJVD9/y1k7N8lVG9Vdfi7skudw= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id 21mr4627566wed.10.1290728380099; Thu, 25 Nov 2010 15:39:40 -0800 (PST) Received: by 161.129.204.104 with HTTP; Thu, 25 Nov 2010 15:39:40 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Fri, 26 Nov 2010 08:39:40 +0900 Message-ID: <[email protected]> Subject: Re: Building with the mingw cross compiler From: Daniel Stonier <[email protected]> To: Bojan Smojver <[email protected]>, [email protected] Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org On 25 November 2010 19:34, Bojan Smojver <[email protected]> wrote: >> Ok, so this is confusing me a little - how would it even run a test >> being a mingw cross compiled program (host is linux)? > > Honest answer is that I never even tried this (I only ever compile APR on > Unix/Linux). I just see in my configure script that under certain > circumstances these code snippets may get compiled and executed. > > -- > Bojan Ok, I got it. Tested this at home on my gentoo machine and also on my work ubuntu machine. On the gentoo it defaults all the variables to the cross-compiled defaults. On my work machine, it doesn't recognise the cross-compile (ultimately a problem that needs to be fixed?) since it has a wine version that must have some emulation environment that lets you run windows binaries natively on the command line. >From the configure script, it must have cross_compiling set to false: if test "${ac_cv_sizeof_pid_t+set}" = set; then $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then ac_cv_sizeof_pid_t=8 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <stdio.h> #include <sys/types.h> main() { FILE *f=fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%d\n", sizeof(pid_t)); exit(0); } _ACEOF In the config.log output: configure:30959: checking size of pid_t configure:30989: i686-pc-mingw32-gcc -o conftest.exe -W -Wall -Wno-unused-parameter -fno-strict-aliasing -D_WIN32_WINNT=0x0500 -DWIN32 -D_LARGEFILE64_SOURCE -Wl,--enable-auto-import,--subsystem,console conftest.c -lrpcrt4 -lshell32 -lws2_32 -ladvapi32 -lkernel32 -lmsvcrt >&5 conftest.c:85:1: warning: return type defaults to 'int' conftest.c: In function 'main': conftest.c:88:3: warning: implicit declaration of function 'exit' conftest.c:88:11: warning: incompatible implicit declaration of built-in function 'exit' configure:30993: $? = 0 configure:30999: ./conftest.exe configure:31003: $? = 0 configure:31020: result: 4^M Thanks for the pointers bojan. Daniel. -- Phone : +1-618-644-1734 (010-5400-3296) Home: http://snorriheim.dnsdojo.com/ Yujin Robot: http://www.yujinrobot.com/ Embedded Ros : http://www.ros.org/wiki/eros Embedded Control Libraries: http://snorriheim.dnsdojo.com/redmine/wiki/ecl From [email protected] Sun Nov 28 12:21:06 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91324 invoked from network); 28 Nov 2010 12:21:05 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 28 Nov 2010 12:21:05 -0000 Received: (qmail 35873 invoked by uid 500); 28 Nov 2010 12:21:05 -0000 Delivered-To: [email protected] Received: (qmail 35529 invoked by uid 500); 28 Nov 2010 12:21:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <dev.apr.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 35518 invoked by uid 99); 28 Nov 2010 12:21:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Nov 2010 12:21:01 +0000 X-ASF-Spam-Status: No, hits=-1999.5 required=10.0 tests=ALL_TRUSTED,TO_NO_BRKTS_PCNT X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Nov 2010 12:21:00 +0000 Received: from thor.apache.org (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oASCKeQA011172 for <[email protected]>; Sun, 28 Nov 2010 12:20:40 GMT Received: (from root@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id oASCKNnO009362 for [email protected]; Sun, 28 Nov 2010 07:20:23 -0500 (EST) Date: Sun, 28 Nov 2010 07:20:23 -0500 (EST) Message-Id: <[email protected]> From: [email protected] To: [email protected] Subject: Bug report for APR [2010/11/28] +---------------------------------------------------------------------------+ | Bugzilla Bug ID | | +---------------------------------------------------------------------+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned | | | OPN=Reopened VER=Verified (Skipped Closed/Resolved) | | | +-----------------------------------------------------------------+ | | | Severity: BLK=Blocker CRI=Critical REG=Regression MAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement TRV=Trivial | | | | +-------------------------------------------------------------+ | | | | Date Posted | | | | | +--------------------------------------------------+ | | | | | Description | | | | | | | |16056|Inf|Enh|2003-01-14|Shared memory & mutex ownership not correctly esta| |20382|New|Nor|2003-05-31|Poor performance on W2000 AS | |28453|New|Enh|2004-04-18|apr_uri should parse relative to a base URI | |33188|Inf|Nor|2005-01-21|libtool linking failure on Suse | |33490|Inf|Nor|2005-02-10|APR does not compile with Borland C++ | |38410|New|Nor|2006-01-27|apr/win32 misinterpreted the meaning of WAIT_ABAND| |39289|New|Enh|2006-04-12|test suite additions for trylock functions | |39853|Inf|Nor|2006-06-21|apr_strtoi64 does not build on WinCE due to lack o| |39895|New|Enh|2006-06-23|apr_os_strerror on WinCE needs to xlate unicode->u| |39896|New|Enh|2006-06-23|Output test status to OutputDebugString in additio| |40020|New|Enh|2006-07-11|Add support for apr_uint8_t and apr_int8_t types | |40193|Inf|Nor|2006-08-06|Patches to support different compiler than EMX on | |40622|New|Enh|2006-09-27|enhance apr temp files on NT to be more secure | |40758|Ver|Maj|2006-10-15|WIN64, apr_vformatter(..) cannot handle 64bit poin| |40939|New|Enh|2006-11-09|pool minimal allocation size should be configurabl| |41192|Inf|Trv|2006-12-17|Add the expat libtool file to the LT_LDFLAGS varia| |41254|New|Enh|2006-12-28|apr_queue_t enhancements | |41351|New|Enh|2007-01-11|Tivoli LDAP SDK support in aprutil | |41352|New|Min|2007-01-11|openldap and per-connection client certificates in| |41916|Inf|Nor|2007-03-21|MinGW cross-compile support for Linux | |42365|New|Enh|2007-05-09|Suppress console for apr_proc_create() created pro| |42682|Ass|Maj|2007-06-17|Apache child terminates with signal 11 when using | |42728|New|Nor|2007-06-23|mod_ssl thread detaching not releasing handles | |42848|New|Enh|2007-07-10|add IP TOS support to apr_socket_opt_set() | |43035|New|Enh|2007-08-04|Add ability to wrap ssl around pre-existing socket| |43066|New|Nor|2007-08-08|get_password on Windows is kludgy | |43152|Inf|Nor|2007-08-16|apr_socket_opt_get doesn't work with APR_SO_SNDBUF| |43172|Ass|Nor|2007-08-20|apr-util don't want to find mozldap-6.x | |43217|New|Min|2007-08-26|All-ones IPv6 subnet mask not accepted | |43244|New|Enh|2007-08-29|apr_socket_t missing dup, dup2 and setaside | |43302|New|Nor|2007-09-04|apr_bucket_socket doesn't work with non-connected | |43309|New|Enh|2007-09-05|add apr_socket_sendtov support | |43375|Ass|Nor|2007-09-13|Pool integrity check fails for apr threads | |43499|New|Nor|2007-09-27|apr_global_mutex_create returns error "Access deni| |43507|New|Enh|2007-09-28|configure flag for SHELL_PATH | |43508|New|Enh|2007-09-28|Please be available whether atomics use thread mut| |43793|New|Enh|2007-11-04|builtin atomics on Windows | |44127|New|Enh|2007-12-21|File Extended Attributes Support | |44128|New|Enh|2007-12-21|apr_os_file_put() does not register a cleanup hand| |44129|New|Enh|2007-12-21|apr_os_dir_put() does not allocate an entry buffer| |44186|New|Nor|2008-01-08|[PATCH] Add memcached 1.2.4 features to apr_memcac| |44230|New|Enh|2008-01-14|Add Ark Linux support to config.layout | |44432|New|Enh|2008-02-15|patch - proposal for application function hooks | |44550|Inf|Maj|2008-03-06|Solaris sendfilev() handling - EINTR appears to ha| |45251|New|Nor|2008-06-22|DBD MySQL driver doesn't support multiple resultse| |45291|New|Nor|2008-06-26|apr_thread_t is leaking | |45298|New|Nor|2008-06-27|apr_os_thread_get() differs between windows and un| |45321|New|Nor|2008-07-01|Handling IPV6_V6ONLY on NT 5.x | |45407|Opn|Nor|2008-07-16|auto reconnect in apr_dbd_mysql disturb normal wor| |45455|New|Nor|2008-07-22|rwlock sometimes allows a writer to take the lock | |45496|New|Enh|2008-07-29|[patch] adding directory matching [dir/**/conf.d/*| |45650|New|Min|2008-08-19|Application reports "The entry point freeaddrinfo | |45700|New|Nor|2008-08-27|incorrect sort order of apr_strnatcmp with non-ASC| |45930|New|Nor|2008-10-01|httpd.worker MPM fails to reset signal mask before| |46064|New|Nor|2008-10-22|apr_ldap_init call fails | |46175|New|Enh|2008-11-10|Full Mingw+MSys support | |46180|New|Nor|2008-11-10|apr_memcache_getp() returns value | |46181|New|Enh|2008-11-10|request feature: ability to connect to a socket un| |46205|New|Enh|2008-11-13|Extend apr_array with a function to shuffle member| |46233|New|Maj|2008-11-18|APR does not compile universal binaries on Mac OS | |46389|New|Nor|2008-12-12|Datagram (UDP) broadcasts fail with "permission de| |46459|New|Enh|2008-12-31|apr_dbm BDB backend: allow db type selection | |46540|New|Enh|2009-01-15|apr_thread_pool support doesn't allow for apr_thre| |46799|New|Maj|2009-03-04|apr_thread_cond_create leaks handle (patch include| |46820|New|Nor|2009-03-08|[PATCH] apr_file_mtime_set working with symlinks | |46853|New|Nor|2009-03-13|utf8_to_unicode_path breaks .. and . expansion | |46937|New|Nor|2009-03-30|apr build error | |46964|New|Nor|2009-04-03|apr_sockaddr_vars_set() Needs to always set the po| |47044|New|Nor|2009-04-17|[Patch] apr_snprintf.c compile failure on AIX main| |47162|New|Enh|2009-05-06|[PATCH] crypto: read/write support for SSHA-1 (sal| |47181|New|Nor|2009-05-11|Fixes for MINT for apr library | |47191|New|Min|2009-05-13|Missing sentinel warning | |47258|Inf|Min|2009-05-24|Too many slashes with configure | |47441|New|Enh|2009-06-27|apr_hash: Allow custom key comparison function | |47471|New|Enh|2009-07-03|apr_hash: Implement apr_hash_set_if_new() | |47501|New|Maj|2009-07-09|[ldap] Setting LDAP_OPT_REFHOPLIMIT fails with Ope| |47572|New|Enh|2009-07-24|It would be nice if apr configure --with-dbm=xdbm | |47605|New|Enh|2009-07-29|apr-config: support for "--configure" | |47739|Inf|Nor|2009-08-26|Changes to apr_common.m4 file | |47776|New|Nor|2009-09-01|Change "apr_palloc / memcpy" to apr_pmemdup in APR| |47879|New|Enh|2009-09-20|add support for libiodbc (alternative to unixODBC)| |47891|New|Blk|2009-09-22|decision on anonymous shared memory allocation met| |47892|New|Cri|2009-09-23|configure: error: Could not detect suitable DSO im| |47931|New|Enh|2009-10-01|It is not possible to use CALL MySQL method with a| |47932|New|Enh|2009-10-01|apr_dbd_mysql: max_length field of MYSQL_FIELD st| |47979|New|Min|2009-10-11|Installed pkg-config returns extraneous informatio| |48084|New|Nor|2009-10-29|Erasing HTTPD library global variables before rein| |48247|Inf|Nor|2009-11-20|Apache HTTP server could not respond HEAD message | |48298|New|Enh|2009-11-29|memcache UDP protocol support ? | |48374|New|Nor|2009-12-11|wrong return value for apr_dir_read on win32 | |48476|New|Reg|2010-01-02|apr_psprintf() does not parse the ll or hh size sp| |48483|New|Min|2010-01-04|Don't use "-no-cpp-precomp" unconditionally on Dar| |48491|New|Maj|2010-01-05|pollset_remove() with kqueue is O(n) | |48535|New|Nor|2010-01-13|Potential data race on allocator->max_index in all| |48557|Opn|Enh|2010-01-15|file_io/unix/open.c:apr_file_open() should cache O| |48722|New|Maj|2010-02-10|apr_thread_pool_push may not create a new thread w| |48736|New|Nor|2010-02-13|apr_socket_connect() incompatibility between Unix | |48739|New|Nor|2010-02-14|large.bin and buffer.bin laying around after test | |48740|New|Nor|2010-02-14|CP932 conversion table is different from that of W| |48776|New|Nor|2010-02-19|APR 1.4.x buildconf fails on Mac OS X 10.6.2 - nee| |48884|Inf|Nor|2010-03-10|Very hard to cross-compile | |48905|New|Maj|2010-03-13|server processes hang with threaded apache | |48918|New|Enh|2010-03-15|Add support for SCTP beyond opening an SCTP socket| |49011|New|Enh|2010-03-28|[PATCH] Speed up MD5 on Little Endian Machines | |49012|New|Enh|2010-03-28|[PATCH] Speed up MD5 with Microsoft Compilers | |49064|New|Enh|2010-04-07|APR-util does not support SASL binding | |49085|New|Enh|2010-04-11|[PATCH] Speed up file I/O | |49193|New|Enh|2010-04-27|Implement LDAP scope-aware caching in APR-Util | |49288|New|Enh|2010-05-13|Add support for stronger cryptographic hashing fun| |49496|New|Cri|2010-06-24|Password (getpass()) truncation issue on HP-UX in | |49646|New|Nor|2010-07-25|no data error in apr_dbd_pbquery with odbc driver | |49656|New|Nor|2010-07-27|Write bits for "group" and "other" doesn't get set| |49678|New|Nor|2010-07-30|getRemoteAddr() returns IPv6 address on RedHat 9 w| |49840|New|Nor|2010-08-29|apr_allocator_max_free_set is broken with most mal| |49882|New|Nor|2010-09-04|100% CPU time in poll/unix/select.c:apr_pollset_po| |50058|New|Maj|2010-10-08|Deadlock with apr_file_open(APR_FOPEN_APPEND) and | |50141|New|Maj|2010-10-22|cross compiling apr fails miserably at configure t| |50144|New|Nor|2010-10-22|Found a couple of memory leaks in APR when running| |50146|New|Maj|2010-10-23|cross compiling apr error: redefinition of 'struct| |50269|New|Nor|2010-11-14|testsock fails - Determine whether at EOF, #1 (200| +-----+---+---+----------+--------------------------------------------------+ | Total 120 bugs | +---------------------------------------------------------------------------+ From [email protected] Mon Nov 29 21:59:20 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69686 invoked from network); 29 Nov 2010 21:59:19 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 29 Nov 2010 21:59:19 -0000 Received: (qmail 46775 invoked by uid 500); 29 Nov 2010 21:59:18 -0000 Delivered-To: [email protected] Received: (qmail 46689 invoked by uid 500); 29 Nov 2010 21:59:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <dev.apr.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 46680 invoked by uid 99); 29 Nov 2010 21:59:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Nov 2010 21:59:17 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO smtpauth02.prod.mesa1.secureserver.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 29 Nov 2010 21:59:08 +0000 Received: (qmail 9889 invoked from network); 29 Nov 2010 21:58:43 -0000 Received: from unknown (161.129.204.104) by smtpauth02.prod.mesa1.secureserver.net (161.129.204.104) with ESMTP; 29 Nov 2010 21:58:43 -0000 Message-ID: <[email protected]> Date: Mon, 29 Nov 2010 15:58:42 -0600 From: "William A. Rowe Jr." <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:161.129.204.104) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6 MIME-Version: 1.0 To: [email protected] Subject: Re: svn commit: r890580 - in /apr/apr-util/branches/1.4.x: crypto/apr_crypto.c crypto/apr_crypto_nss.c crypto/apr_crypto_openssl.c include/apr_crypto.h include/private/apr_crypto_internal.h test/testcrypto.c References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 1/21/2010 6:03 PM, Graham Leggett wrote: > > Waiting is entirely reasonable, as there is definite merit in ensuring v1.x is done as > right as humanly possible. We've been waiting a long time. I haven't had cycles to invest, won't until some time early next [email protected]. I'd just like to poll the group to find out who's invested time in reviewing the crypto API's and considers them release-worthy for the rest of 1.x's lifetime (which gstein promises will be eternity in svn-land :) Or has a review halfway completed, and intends to post comments sometime in the near-ish future? From [email protected] Tue Nov 30 14:42:42 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 27165 invoked from network); 30 Nov 2010 14:42:42 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 30 Nov 2010 14:42:42 -0000 Received: (qmail 51023 invoked by uid 500); 30 Nov 2010 14:42:42 -0000 Delivered-To: [email protected] Received: (qmail 50762 invoked by uid 500); 30 Nov 2010 14:42:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <dev.apr.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 50727 invoked by uid 99); 30 Nov 2010 14:42:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Nov 2010 14:42:40 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) Received: from [161.129.204.104] (HELO qmta08.emeryville.ca.mail.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Nov 2010 14:42:30 +0000 Received: from omta04.emeryville.ca.mail.comcast.net ([161.129.204.104]) by qmta08.emeryville.ca.mail.comcast.net with comcast id dRKt1f0080lTkoCA8Si7c8; Tue, 30 Nov 2010 14:42:07 +0000 Received: from [161.129.204.104] ([161.129.204.104]) by omta04.emeryville.ca.mail.comcast.net with comcast id dSi51f0041PGofZ8QSi6kS; Tue, 30 Nov 2010 14:42:07 +0000 Subject: Re: svn commit: r890580 - in /apr/apr-util/branches/1.4.x: crypto/apr_crypto.c crypto/apr_crypto_nss.c crypto/apr_crypto_openssl.c include/apr_crypto.h include/private/apr_crypto_internal.h test/testcrypto.c Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: Jim Jagielski <[email protected]> In-Reply-To: <[email protected]> Date: Tue, 30 Nov 2010 09:42:03 -0500 Cc: [email protected] Content-Transfer-Encoding: quoted-printable Message-Id: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> To: William A. Rowe Jr. <[email protected]> X-Mailer: Apple Mail (2.1082) X-Virus-Checked: Checked by ClamAV on apache.org On Nov 29, 2010, at 4:58 PM, William A. Rowe Jr. wrote: > On 1/21/2010 6:03 PM, Graham Leggett wrote: >>=20 >> Waiting is entirely reasonable, as there is definite merit in = ensuring v1.x is done as >> right as humanly possible. >=20 > We've been waiting a long time. I haven't had cycles to invest, won't = until some > time early next [email protected]. >=20 > I'd just like to poll the group to find out who's invested time in = reviewing the > crypto API's and considers them release-worthy for the rest of 1.x's = lifetime > (which gstein promises will be eternity in svn-land :) >=20 > Or has a review halfway completed, and intends to post comments = sometime in the > near-ish future? >=20 As part of my push to get httpd 2.4 out the door, this is a major factor, so I plan on completing my review of the crypto API RSN.= From [email protected] Tue Nov 30 15:01:54 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38333 invoked from network); 30 Nov 2010 15:01:53 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 30 Nov 2010 15:01:53 -0000 Received: (qmail 38930 invoked by uid 500); 30 Nov 2010 15:01:53 -0000 Delivered-To: [email protected] Received: (qmail 38562 invoked by uid 500); 30 Nov 2010 15:01:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <dev.apr.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 38542 invoked by uid 99); 30 Nov 2010 15:01:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Nov 2010 15:01:52 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO chandler.sharp.fm) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Nov 2010 15:01:43 +0000 Received: from chandler.sharp.fm (localhost [161.129.204.104]) by chandler.sharp.fm (Postfix) with ESMTP id B6586508080; Tue, 30 Nov 2010 09:01:22 -0600 (CST) Received: from [161.129.204.104] (unknown [161.129.204.104]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client did not present a certificate) (Authenticated sender: [email protected]) by chandler.sharp.fm (Postfix) with ESMTP id EFBF77B9AE; Tue, 30 Nov 2010 09:01:21 -0600 (CST) Cc: William A. Rowe Jr. <[email protected]>, [email protected] Message-Id: <[email protected]> From: Graham Leggett <[email protected]> To: Jim Jagielski <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: svn commit: r890580 - in /apr/apr-util/branches/1.4.x: crypto/apr_crypto.c crypto/apr_crypto_nss.c crypto/apr_crypto_openssl.c include/apr_crypto.h include/private/apr_crypto_internal.h test/testcrypto.c Date: Tue, 30 Nov 2010 17:01:20 +0200 References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.936) X-Virus-Scanned: ClamAV using ClamSMTP X-Virus-Checked: Checked by ClamAV on apache.org On 30 Nov 2010, at 4:42 PM, Jim Jagielski wrote: > As part of my push to get httpd 2.4 out the door, this is a > major factor, so I plan on completing my review of the crypto > API RSN. Thanks for this. The code has both a test suite, and a first implementation (mod_session_crypto.c). A key part of the API, which has been misunderstood in the past, is the desire to be able to pre-initialise something (eg within httpd startup), and then use that pre-initialised state later (eg at httpd request time). The need for this may have not been clear when just looking at the API. Regards, Graham -- From [email protected] Tue Nov 30 21:28:20 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51233 invoked from network); 30 Nov 2010 21:28:20 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 30 Nov 2010 21:28:20 -0000 Received: (qmail 92953 invoked by uid 500); 30 Nov 2010 21:28:19 -0000 Delivered-To: [email protected] Received: (qmail 92877 invoked by uid 500); 30 Nov 2010 21:28:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <dev.apr.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 92867 invoked by uid 99); 30 Nov 2010 21:28:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Nov 2010 21:28:18 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=FSL_HELO_NON_FQDN_1,HELO_NO_DOMAIN,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO baldur) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Nov 2010 21:28:12 +0000 Received: from baldur (localhost [161.129.204.104]) by baldur (Postfix) with ESMTP id 094BBC151F43 for <[email protected]>; Tue, 30 Nov 2010 21:27:53 +0000 (GMT) Date: Tue, 30 Nov 2010 21:27:50 +0000 From: Nick Kew <[email protected]> To: [email protected] Subject: APR on Maemo Message-ID: <20101130212750.2d4155e8@baldur> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.18.3; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit I've just successfully built APR and APU on Maemo, Nokia's Linux-based operating system for pocket computers. This was using native gcc-4.2 on ARM. It went mostly smoothly, and passes all tests except apr_xlate which it fails. I have yet to investigate why, but the suspicion must be that it erroneously sets a HAVE_ICONV when I don't have it. One build error: the tests for grep and egrep in configure fail. Removing the tests and setting GREP=grep, EGREP=egrep fixes the problem. Not sure why it should fail in the first place. The shell is "ash". Some assembler messages which I have yet to investigate. If it works mostly-smoothly on Maemo, I'd expect similar outcomes on other ARM/Linux platforms including Android. Just building HTTPD as I write. -- Nick Kew
From [email protected] Fri Apr 01 02:19:30 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 98707 invoked from network); 1 Apr 2011 02:19:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Apr 2011 02:19:30 -0000 Received: (qmail 34434 invoked by uid 500); 1 Apr 2011 02:19:30 -0000 Delivered-To: [email protected] Received: (qmail 34397 invoked by uid 500); 1 Apr 2011 02:19:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <ddlutils-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 34381 invoked by uid 99); 1 Apr 2011 02:19:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2011 02:19:29 +0000 X-ASF-Spam-Status: No, hits=2.6 required=5.0 tests=FREEMAIL_FROM,HTML_IMAGE_ONLY_16,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f44.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2011 02:19:23 +0000 Received: by bwz13 with SMTP id 13so2391913bwz.31 for <multiple recipients>; Thu, 31 Mar 2011 19:19:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=I04LOkigJWy6tjJk50TDHEZT61Lc4jBJB7sb4d/BA+E=; b=Qyy1dSgUbdXg1NyNePgywBTa4QnfEXAh2Bn2txCLJc8ZyNiVg7z1wS+Zivo5ubKope V2NbLoR7kxMafMrIq1U3RM6cXdQ8qnAHmDMYs3xAVSEBSChCmXaeaIp2QcREnDJ8mv2k 8uF6NrJJZ8RGhOvEs/UOa7HAhnzeaxtihJx+8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=M2lfhoQLbQoM0erY2sW2q3zcVn3U+B/Td7yyBDikStZla7sqwMLAo+t0Cx7GfY1LwD qEQFr+DBQUOoO/f667MEyDO789cTCmO7ay0hpN+CE6C1Nl+FSmWbvNDd20EnLG/fV822 MKsjoIdL3OR0dFTh75lLNkCLE/w9dHnfTQ70Q= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id k12mr3069971bku.44.1301624340610; Thu, 31 Mar 2011 19:19:00 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 31 Mar 2011 19:19:00 -0700 (PDT) Date: Thu, 31 Mar 2011 19:19:00 -0700 Message-ID: <[email protected]> Subject: Releasing DDLUtilsTool, and Graphical Interface for DDLUtils! From: Colin Ritchie <[email protected]> To: [email protected], [email protected] Content-Type: multipart/related; boundary=0015175cd5b873fff0049fd20863 --0015175cd5b873fff0049fd20863 Content-Type: multipart/alternative; boundary=0015175cd5b873ffe7049fd20862 --0015175cd5b873ffe7049fd20862 Content-Type: text/plain; charset=ISO-8859-1 Hello Everyone, I have released the first version of DDLUtilsTool, a GUI for editing and executing Apache DDL! Using the application, you can write and execute DDL scripts. For example, you can: 1. Create the Schema DDL from a database 2. Apply a Schema DDL to a new or existing database 3. Create an SQL create script file from a database 4. Create an SQL create script file from a database to match a Schema DDL file 5. Apply a data DDL to a database You can also store and edit database connection profiles, and add your own jdbc drivers. I am hosting the application on Google Code: http://code.google.com/p/ddlutilstool/ Please download the installer and try it out! There are some docs here: http://code.google.com/p/ddlutilstool/wiki/index?tm=6 If you would like to add features, or improve anything, please contact me, or join the project. What I would really like to do is offer this code to the DDLUtils project. [image: ddlutilstool-1.jpg] Enjoy! Colin Ritchie --0015175cd5b873ffe7049fd20862 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello Everyone,<div><br></div><div>I have released the first version of DDL= UtilsTool, a GUI for editing and executing Apache DDL! =A0</div><div><br></= div><div>Using the application, you can write and execute DDL scripts. For = example, you can:</div> <div>1. Create the Schema DDL from a database</div><div>2. Apply a Schema D= DL to a new or existing database</div><div>3. Create an SQL create script f= ile from a database</div><div>4. Create an SQL create script file from a da= tabase to match a Schema DDL file</div> <div>5. Apply a data DDL to a database</div><div><br></div><div>You can als= o store and edit database connection profiles, and add your own jdbc driver= s.</div><div><br></div><div>I am hosting the application on Google Code:=A0= </div> <div><br></div><div><a href=3D"http://code.google.com/p/ddlutilstool/">http= ://code.google.com/p/ddlutilstool/</a></div><div><br></div><div>Please down= load the installer and try it out! =A0There are some docs here:=A0<a href= =3D"http://code.google.com/p/ddlutilstool/wiki/index?tm=3D6">http://code.go= ogle.com/p/ddlutilstool/wiki/index?tm=3D6</a></div> <div><br></div><div>If you would like to add features, or improve anything,= please contact me, or join the project. =A0What I would really like to do = is offer this code to the DDLUtils project. =A0</div><div><br></div><div><i= mg src=3D"cid:ii_12f0ec0e82be8c98" alt=3D"ddlutilstool-1.jpg" title=3D"ddlu= tilstool-1.jpg"><br> </div><div><br></div><div>Enjoy!</div><div>Colin Ritchie</div> --0015175cd5b873ffe7049fd20862-- --0015175cd5b873fff0049fd20863-- From [email protected] Fri Apr 01 18:49:47 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97197 invoked from network); 1 Apr 2011 18:49:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Apr 2011 18:49:47 -0000 Received: (qmail 91688 invoked by uid 500); 1 Apr 2011 18:49:47 -0000 Delivered-To: [email protected] Received: (qmail 91655 invoked by uid 500); 1 Apr 2011 18:49:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <ddlutils-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 91647 invoked by uid 99); 1 Apr 2011 18:49:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2011 18:49:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2011 18:49:44 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id 043618E73E for <[email protected]>; Fri, 1 Apr 2011 18:49:07 +0000 (UTC) Date: Fri, 1 Apr 2011 18:49:06 +0000 (UTC) From: "Dave Oshinsky (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> Subject: [jira] [Created] (DDLUTILS-269) Problem with two Oracle tables with same table name under different users MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Problem with two Oracle tables with same table name under different users ------------------------------------------------------------------------- Key: DDLUTILS-269 URL: https://issues.apache.org/jira/browse/DDLUTILS-269 Project: DdlUtils Issue Type: Bug Components: Core - Oracle Affects Versions: 1.0 Environment: Linux, Oracle Reporter: Dave Oshinsky Assignee: Thomas Dudziak If I have two DEPT tables under different Oracle users (same database), the tables collide with each other: C:\backup\ddlutils\working\build.xml:16: Could not read the schema from the spec ified database: There are multiple column with the name DEPTNO in the table DEPT -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Fri Apr 01 22:13:44 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41149 invoked from network); 1 Apr 2011 22:13:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Apr 2011 22:13:44 -0000 Received: (qmail 26000 invoked by uid 500); 1 Apr 2011 22:13:44 -0000 Delivered-To: [email protected] Received: (qmail 25983 invoked by uid 500); 1 Apr 2011 22:13:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <ddlutils-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 25970 invoked by uid 99); 1 Apr 2011 22:13:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2011 22:13:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2011 22:13:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id B32B38ED47 for <[email protected]>; Fri, 1 Apr 2011 22:13:05 +0000 (UTC) Date: Fri, 1 Apr 2011 22:13:05 +0000 (UTC) From: "Dave Oshinsky (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> In-Reply-To: <[email protected]> Subject: [jira] [Commented] (DDLUTILS-269) Problem with two Oracle tables with same table name under different users MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DDLUTILS-269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13014849#comment-13014849 ] Dave Oshinsky commented on DDLUTILS-269: ---------------------------------------- Looks like the fix for issue DDLUTILS-65 (ability to constrain to a specific schema, a.k.a. user) provides a solution for this issue. > Problem with two Oracle tables with same table name under different users > ------------------------------------------------------------------------- > > Key: DDLUTILS-269 > URL: https://issues.apache.org/jira/browse/DDLUTILS-269 > Project: DdlUtils > Issue Type: Bug > Components: Core - Oracle > Affects Versions: 1.0 > Environment: Linux, Oracle > Reporter: Dave Oshinsky > Assignee: Thomas Dudziak > > If I have two DEPT tables under different Oracle users (same database), the tables collide with each other: > C:\backup\ddlutils\working\build.xml:16: Could not read the schema from the spec > ified database: There are multiple column with the name DEPTNO in the table DEPT -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Sat Apr 02 19:22:47 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97436 invoked from network); 2 Apr 2011 19:22:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Apr 2011 19:22:47 -0000 Received: (qmail 55613 invoked by uid 500); 2 Apr 2011 19:22:47 -0000 Delivered-To: [email protected] Received: (qmail 55564 invoked by uid 500); 2 Apr 2011 19:22:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <ddlutils-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 55554 invoked by uid 99); 2 Apr 2011 19:22:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Apr 2011 19:22:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Apr 2011 19:22:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id B32CB8F721 for <[email protected]>; Sat, 2 Apr 2011 19:22:05 +0000 (UTC) Date: Sat, 2 Apr 2011 19:22:05 +0000 (UTC) From: "Colin Ritchie (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> In-Reply-To: <3477946.341941294924605291.JavaMail.jira@thor> Subject: [jira] [Updated] (DDLUTILS-268) Detect foreign keys on MySQL MyISAM showing up as indexes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DDLUTILS-268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Colin Ritchie updated DDLUTILS-268: ----------------------------------- Attachment: DDLUTILS-268.diff Here is a fix for DDLUTILS-268. What I have done is: Since MyISAM databases store a FK as an Index, the MySQL Modeler method findCorrespondingIndex() will look for a corresponding ForeignKey with the same name, and findCorrespondingForeignKey() will look for a corresponding Index with the same name. > Detect foreign keys on MySQL MyISAM showing up as indexes > ---------------------------------------------------------- > > Key: DDLUTILS-268 > URL: https://issues.apache.org/jira/browse/DDLUTILS-268 > Project: DdlUtils > Issue Type: Improvement > Components: Core - MySql > Reporter: Eirik Bjorsnos > Assignee: Thomas Dudziak > Attachments: DDLUTILS-268.diff > > > When reading a MyISAM MySQL database model from the database, DdlUtils will read in Index instead of a ForeignKey. > As a result of this, DdlUtils suggests to remove the index and create the foreign key. After applying this change, DdlUtils will still not see the ForeignKey and thus suggests the same change all over again. > We work around this by looking for all indexes in a table. If we find an equally named foreign key in our "wanted" model, we remove the index and add a foreign key: > {code} > public void transform(Database database, Database wanted, Platform platform) { > if (platform instanceof MySqlPlatform) { > for (Table table : database.getTables()) { > for (Index index : table.getIndices()) { > Table wantedTable = wanted.findTable(table.getName()); > if (wantedTable != null) { > ForeignKey key = findCandidateForeignKey(platform.getSqlBuilder(), index, wantedTable); > if (key != null) { > table.removeIndex(index); > table.addForeignKey(new CloneHelper().clone(key, table, database, true)); > } > } > } > } > } > } > {code} > After this transformation, DdlUtils will not suggest removing the index and adding the foreign key. > If this something that could be added to DdlUtils proper in some way? > Here's the DB I used for testing this: > {code} > <database name="ddlutils-db" xmlns="http://db.apache.org/ddlutils/schema/1.1"> > <table name="orderTable"> > <column name="orderId" primaryKey="true" required="true" type="INTEGER" size="10" autoIncrement="true"/> > <column name="CustomerName" required="false" type="VARCHAR" size="64"/> > </table> > <table name="orderLine"> > <column name="orderLineId" primaryKey="true" required="true" type="INTEGER" size="10" autoIncrement="true"/> > <column name="orderId" required="true" type="INTEGER" size="10"/> > <foreign-key foreignTable="orderTable"> > <reference local="orderId" foreign="orderId"/> > </foreign-key> > </table> > </database> > {code} -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Mon Apr 11 03:53:08 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79229 invoked from network); 11 Apr 2011 03:53:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Apr 2011 03:53:08 -0000 Received: (qmail 10607 invoked by uid 500); 11 Apr 2011 03:53:08 -0000 Delivered-To: [email protected] Received: (qmail 10527 invoked by uid 500); 11 Apr 2011 03:53:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <ddlutils-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 10519 invoked by uid 99); 11 Apr 2011 03:53:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 03:53:03 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-px0-f174.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 03:52:55 +0000 Received: by pxi15 with SMTP id 15so2632546pxi.33 for <[email protected]>; Sun, 10 Apr 2011 20:52:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; bh=+EJCQWB6aAfZA2/TACRc5ax3kjUj3bUxS9yfB7i4+kY=; b=tGHdQu1+gSkqnmziPzdg2xsCtEHmqzR4PHSdmqLXnWTRsREdt0Du1wAbRTOQq2+ILq DoQrwz0hx0BHYJQ1nbZ2MQE24lQWzAimXZ6geJ0M8Zf698pXh9+a0s/PZcgC6ipB9wTa wvgh80MIPnA08n8eHAr8oK+a+RR77H5W6RTvE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=HyTS9PIbOzJns6mbjQW3+DjASh3Vi3oWOiMj8Bg1rZELdR6DDO0MXVepoHLMyZ3CeQ NVqWRj3vHtDj9Mzx65+xtNGqvG6jaGYeiiAj1f2kiMb9vXSIflZ3ol/4V4FC8hO5eR6E UfBDQK/u5NnJCqOjc+guMZSc5xysWHuCXKeTg= Received: by 161.129.204.104 with SMTP id b40mr4808047wfj.275.1302493954075; Sun, 10 Apr 2011 20:52:34 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with HTTP; Sun, 10 Apr 2011 20:52:14 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> From: Thomas Dudziak <[email protected]> Date: Sun, 10 Apr 2011 20:52:14 -0700 Message-ID: <[email protected]> Subject: Re: Releasing DDLUtilsTool, and Graphical Interface for DDLUtils! To: [email protected] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi Colin, great stuff ! I'll try to get a link to it up on the DdlUtils website this = week. As for donating, I think it is better to keep it on googlecode, will be less bureaucracy that way :-) cheers, Tom On Thu, Mar 31, 2011 at 19:19, Colin Ritchie <[email protected]> wrote: > > Hello Everyone, > I have released the first version of DDLUtilsTool, a GUI for editing and = executing Apache DDL! > Using the application, you can write and execute DDL scripts. For example= , you can: > 1. Create the Schema DDL from a database > 2. Apply a Schema DDL to a new or existing database > 3. Create an SQL create script file from a database > 4. Create an SQL create script file from a database to match a Schema DDL= file > 5. Apply a data DDL to a database > You can also store and edit database connection profiles, and add your ow= n jdbc drivers. > I am hosting the application on Google Code: > http://code.google.com/p/ddlutilstool/ > Please download the installer and try it out! =C2=A0There are some docs h= ere:=C2=A0http://code.google.com/p/ddlutilstool/wiki/index?tm=3D6 > If you would like to add features, or improve anything, please contact me= , or join the project. =C2=A0What I would really like to do is offer this c= ode to the DDLUtils project. > > > Enjoy! > Colin Ritchie From [email protected] Mon Apr 11 17:16:40 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95141 invoked from network); 11 Apr 2011 17:16:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Apr 2011 17:16:40 -0000 Received: (qmail 15008 invoked by uid 500); 11 Apr 2011 17:16:40 -0000 Delivered-To: [email protected] Received: (qmail 14976 invoked by uid 500); 11 Apr 2011 17:16:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <ddlutils-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 14968 invoked by uid 99); 11 Apr 2011 17:16:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 17:16:39 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f44.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 17:16:31 +0000 Received: by bwz13 with SMTP id 13so5388327bwz.31 for <[email protected]>; Mon, 11 Apr 2011 10:16:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=Whp9imnyCPS2EXJtaPzo2W61Ofo8B/QgD72hwfa+kI4=; b=SvySzkV6HrX05RnR7d1uE6tEH3PEZExnrKMMA7iE2cdGafPi0O8rpE3b1Tt43JBOwf qETCq/JNaQvim+ewuY6mCkkVQuSE+ssTqMwgYkAgvu+ybtlXoGbhE1HMt0S+d5jmiTWl 5q+iNwMQ4621OIx6+6Wou7BwOlHjDRzZb/bxg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=rzY5xuvhxlIAQ9WNCwqCFOtOhGTsZKj8zMRP6U6p4lGInb8vU7wR2mk6/rPzCcv8BA M+qG3p2dRwYBxhlH0+6+Qs07wQ/NFKyPfmTCJfwdas+EkAv1aVdYmQVzOjgWAqQO3cnt a4K5KJvHyXtMbvappibVZ2RcoI83FA6C2TlDY= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id f4mr242158bkb.169.1302540700024; Mon, 11 Apr 2011 09:51:40 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 11 Apr 2011 09:51:39 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Mon, 11 Apr 2011 09:51:39 -0700 Message-ID: <[email protected]> Subject: Re: Releasing DDLUtilsTool, and Graphical Interface for DDLUtils! From: Colin Ritchie <[email protected]> To: [email protected] Cc: Thomas Dudziak <[email protected]> Content-Type: multipart/alternative; boundary=0003255599aabb049104a0a76339 X-Virus-Checked: Checked by ClamAV on apache.org --0003255599aabb049104a0a76339 Content-Type: text/plain; charset=ISO-8859-1 Thanks Tom. Any ideas for it would be appreciated was well. Colin. On Sun, Apr 10, 2011 at 8:52 PM, Thomas Dudziak <[email protected]> wrote: > Hi Colin, > > great stuff ! I'll try to get a link to it up on the DdlUtils website this > week. > As for donating, I think it is better to keep it on googlecode, will > be less bureaucracy that way :-) > > cheers, > Tom > > On Thu, Mar 31, 2011 at 19:19, Colin Ritchie <[email protected]> wrote: > > > > Hello Everyone, > > I have released the first version of DDLUtilsTool, a GUI for editing and > executing Apache DDL! > > Using the application, you can write and execute DDL scripts. For > example, you can: > > 1. Create the Schema DDL from a database > > 2. Apply a Schema DDL to a new or existing database > > 3. Create an SQL create script file from a database > > 4. Create an SQL create script file from a database to match a Schema DDL > file > > 5. Apply a data DDL to a database > > You can also store and edit database connection profiles, and add your > own jdbc drivers. > > I am hosting the application on Google Code: > > http://code.google.com/p/ddlutilstool/ > > Please download the installer and try it out! There are some docs here: > http://code.google.com/p/ddlutilstool/wiki/index?tm=6 > > If you would like to add features, or improve anything, please contact > me, or join the project. What I would really like to do is offer this code > to the DDLUtils project. > > > > > > Enjoy! > > Colin Ritchie > --0003255599aabb049104a0a76339-- From [email protected] Sun Apr 24 01:37:46 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id EF0892313 for <[email protected]>; Sun, 24 Apr 2011 01:37:45 +0000 (UTC) Received: (qmail 34143 invoked by uid 500); 24 Apr 2011 01:37:45 -0000 Delivered-To: [email protected] Received: (qmail 34103 invoked by uid 500); 24 Apr 2011 01:37:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <ddlutils-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 34095 invoked by uid 99); 24 Apr 2011 01:37:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Apr 2011 01:37:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Apr 2011 01:37:43 +0000 Received: from eos.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id D9CFA155 for <[email protected]>; Sun, 24 Apr 2011 01:37:21 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki <[email protected]> To: Apache Wiki <[email protected]> Date: Sun, 24 Apr 2011 01:37:21 -0000 Message-ID: <[email protected]> Subject: =?utf-8?q?=5BDb-ddlutils_Wiki=5D_Update_of_=22FrontPage=22_by_sunlightcs?= X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Db-ddlutils Wiki" f= or change notification. The "FrontPage" page has been changed by sunlightcs. http://wiki.apache.org/db-ddlutils/FrontPage?action=3Ddiff&rev1=3D14&rev2= =3D15 -------------------------------------------------- * MySql * [[How_to_create_other_database_implementations]] * ToDo + * [[http://www.juziku.com/|juziku]] =20 From [email protected] Sun Apr 24 09:59:15 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 9A87A1042 for <[email protected]>; Sun, 24 Apr 2011 09:59:15 +0000 (UTC) Received: (qmail 29450 invoked by uid 500); 24 Apr 2011 09:59:15 -0000 Delivered-To: [email protected] Received: (qmail 29379 invoked by uid 500); 24 Apr 2011 09:59:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <ddlutils-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 29371 invoked by uid 99); 24 Apr 2011 09:59:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Apr 2011 09:59:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Apr 2011 09:59:12 +0000 Received: from eos.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id B60CD246 for <[email protected]>; Sun, 24 Apr 2011 09:58:51 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki <[email protected]> To: Apache Wiki <[email protected]> Date: Sun, 24 Apr 2011 09:58:51 -0000 Message-ID: <[email protected]> Subject: =?utf-8?q?=5BDb-ddlutils_Wiki=5D_Update_of_=22FrontPage=22_by_GavinMcDona?= =?utf-8?q?ld?= X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Db-ddlutils Wiki" f= or change notification. The "FrontPage" page has been changed by GavinMcDonald. http://wiki.apache.org/db-ddlutils/FrontPage?action=3Ddiff&rev1=3D15&rev2= =3D16 -------------------------------------------------- * MySql * [[How_to_create_other_database_implementations]] * ToDo - * [[http://www.juziku.com/|juziku]] =20 From [email protected] Tue Apr 26 18:47:42 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id A36481806 for <[email protected]>; Tue, 26 Apr 2011 18:47:42 +0000 (UTC) Received: (qmail 20017 invoked by uid 500); 26 Apr 2011 18:47:42 -0000 Delivered-To: [email protected] Received: (qmail 19825 invoked by uid 500); 26 Apr 2011 18:47:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <ddlutils-dev.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 19805 invoked by uid 99); 26 Apr 2011 18:47:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Apr 2011 18:47:41 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Apr 2011 18:47:41 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id 42BD4B49BD for <[email protected]>; Tue, 26 Apr 2011 18:47:03 +0000 (UTC) Date: Tue, 26 Apr 2011 18:47:03 +0000 (UTC) From: "Kevin Scott Carr (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> In-Reply-To: <20517675.22901291118770569.JavaMail.jira@thor> Subject: [jira] [Commented] (DDLUTILS-265) Oracle tablename with a '_' doesn't work correctly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DDLUTILS-265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13025372#comment-13025372 ] Kevin Scott Carr commented on DDLUTILS-265: ------------------------------------------- I am seeing this in MySql as well. I went into DatabaseMetaDataWrapper and removed _ from the searchStringPattern. It worked for my MySQL db, but I am sure it will fail for the SQL Server DB. Is there a way to set searchStringPattern on a db by db basis? > Oracle tablename with a '_' doesn't work correctly > -------------------------------------------------- > > Key: DDLUTILS-265 > URL: https://issues.apache.org/jira/browse/DDLUTILS-265 > Project: DdlUtils > Issue Type: Bug > Components: Core - Oracle > Reporter: Henk Laracker > Assignee: Thomas Dudziak > > I tested it on the head. > I have a excisting database with tablenames like "pln_test" or "pln_helloworld" > If i try to read this database to a model, the fields are not resolved for tables without a "_" it works > In the class JdbcModelreader i changed the following > //columnData = metaData.getColumns(metaData.escapeForSearch(tableName), getDefaultColumnPattern()); > columnData = metaData.getColumns(tableName, getDefaultColumnPattern()); > Because the data is retrieved by the jdbc metadata escaping is not needed > And now it works. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
From [email protected] Fri Mar 11 16:52:52 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17886 invoked from network); 11 Mar 2011 16:52:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Mar 2011 16:52:52 -0000 Received: (qmail 49201 invoked by uid 500); 11 Mar 2011 16:52:52 -0000 Delivered-To: [email protected] Received: (qmail 49161 invoked by uid 500); 11 Mar 2011 16:52:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <tashi-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 49153 invoked by uid 99); 11 Mar 2011 16:52:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Mar 2011 16:52:51 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO deliverator1.gatech.edu) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Mar 2011 16:52:43 +0000 Received: from deliverator1.gatech.edu (localhost [161.129.204.104]) by localhost (Postfix) with SMTP id DF3CB2DEF13 for <[email protected]>; Fri, 11 Mar 2011 11:52:21 -0500 (EST) Received: from mail6.gatech.edu (mail6.gatech.edu [161.129.204.104]) by deliverator1.gatech.edu (Postfix) with ESMTP id 4A7102DE0D0 for <[email protected]>; Fri, 11 Mar 2011 11:52:21 -0500 (EST) Received: from [161.129.204.104] (c-24-98-202-54.hsd1.ga.comcast.net [161.129.204.104]) (Authenticated sender: ch145) by mail6.gatech.edu (Postfix) with ESMTPSA id 36018225B6A for <[email protected]>; Fri, 11 Mar 2011 11:52:21 -0500 (EST) Message-ID: <[email protected]> Date: Fri, 11 Mar 2011 11:52:32 -0500 From: Chad Huneycutt <[email protected]> Organization: Georgia Institute of Technology User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:161.129.204.104) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: [email protected] Subject: initializing nm.dat Content-Type: multipart/mixed; boundary="------------020303080507040105010809" X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. --------------020303080507040105010809 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I am trying to get started with tashi following the "setting tashi up on a single test machine" instructions, but the nodemanager is failing to start complaining that it is unable to load VM info from /var/tmp/nm.dat. How does that file get created and initialized? --------------020303080507040105010809 Content-Type: text/plain; name="tashiout.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="tashiout.txt" [root@jedi000 tashi]# DEBUG=1 python26 bin/nodemanager.py 2011-03-11 11:48:22,243 [__main__:INFO] Using configuration file(s) ['./etc/TashiDefaults.cfg', './etc/NodeManager.cfg'] 2011-03-11 11:48:22,253 [/opt/tashi/src/tashi/nodemanager/vmcontrol/qemu.pyc:INFO] No vm information found in /var/tmp/VmControlQemu/ 2011-03-11 11:48:22,257 [/opt/tashi/src/tashi/nodemanager/nodemanagerservice.pyc:ERROR] Failed to load VM info from /var/tmp/nm.dat Traceback (most recent call last): File "/opt/tashi/src/tashi/nodemanager/nodemanagerservice.py", line 77, in loadVmInfo self.instances = cPickle.loads(data) EOFError Traceback (most recent call last): File "bin/nodemanager.py", line 73, in <module> main() File "bin/nodemanager.py", line 48, in main service = instantiateImplementation(config.get("NodeManager", "service"), config, vmm) File "/opt/tashi/src/tashi/util.py", line 191, in instantiateImplementation exec cmd in locals() File "<string>", line 2, in <module> File "/opt/tashi/src/tashi/nodemanager/nodemanagerservice.py", line 67, in __init__ self.registerHost() File "/opt/tashi/src/tashi/nodemanager/nodemanagerservice.py", line 305, in registerHost cm.registerHost(hostname, memory, cores, version) TypeError: 'NoneType' object is not callable --------------020303080507040105010809-- From [email protected] Fri Mar 11 17:00:24 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22675 invoked from network); 11 Mar 2011 17:00:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Mar 2011 17:00:24 -0000 Received: (qmail 63663 invoked by uid 500); 11 Mar 2011 17:00:24 -0000 Delivered-To: [email protected] Received: (qmail 63633 invoked by uid 500); 11 Mar 2011 17:00:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <tashi-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 63625 invoked by uid 99); 11 Mar 2011 17:00:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Mar 2011 17:00:24 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO tamade.ascient.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Mar 2011 17:00:15 +0000 Received: from stroop.wv.cc.cmu.edu (STROOP.WV.CC.CMU.EDU [161.129.204.104]) by tamade.ascient.net (Postfix) with ESMTPSA id 66FCA40346 for <[email protected]>; Fri, 11 Mar 2011 11:59:38 -0500 (EST) Message-ID: <[email protected]> Date: Fri, 11 Mar 2011 11:58:30 -0500 From: Michael Stroucken <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Macintosh/20100228) MIME-Version: 1.0 To: [email protected] Subject: Re: initializing nm.dat References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Chad Huneycutt wrote: > I am trying to get started with tashi following the "setting tashi up > on a single test machine" instructions, but the nodemanager is failing > to start complaining that it is unable to load VM info from > /var/tmp/nm.dat. How does that file get created and initialized? > Hi Chad, It gets initialized when the nodemanager starts up. I've changed the code in my test/deployment repository to not throw the exception, but I haven't committed it back to svn yet. Can you make sure that, even though it threw an exception, it is in fact running? Greetings, Michael. From [email protected] Fri Mar 11 17:30:56 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30957 invoked from network); 11 Mar 2011 17:30:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Mar 2011 17:30:56 -0000 Received: (qmail 4372 invoked by uid 500); 11 Mar 2011 17:30:56 -0000 Delivered-To: [email protected] Received: (qmail 4356 invoked by uid 500); 11 Mar 2011 17:30:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <tashi-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 4347 invoked by uid 99); 11 Mar 2011 17:30:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Mar 2011 17:30:56 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=SPF_PASS,T_FRT_STOCK2 X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO deliverator5.gatech.edu) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Mar 2011 17:30:46 +0000 Received: from deliverator5.gatech.edu (localhost [161.129.204.104]) by localhost (Postfix) with SMTP id DB4631825DE for <[email protected]>; Fri, 11 Mar 2011 12:30:25 -0500 (EST) Received: from mail2.gatech.edu (mail2.gatech.edu [161.129.204.104]) by deliverator5.gatech.edu (Postfix) with ESMTP id 751D6180AF4 for <[email protected]>; Fri, 11 Mar 2011 12:30:25 -0500 (EST) Received: from [161.129.204.104] (c-24-98-202-54.hsd1.ga.comcast.net [161.129.204.104]) (Authenticated sender: ch145) by mail2.gatech.edu (Postfix) with ESMTPSA id 57BBA185DDA for <[email protected]>; Fri, 11 Mar 2011 12:30:25 -0500 (EST) Message-ID: <[email protected]> Date: Fri, 11 Mar 2011 12:30:36 -0500 From: Chad Huneycutt <[email protected]> Organization: Georgia Institute of Technology User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:161.129.204.104) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: [email protected] Subject: Re: initializing nm.dat References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org well, duh. Thanks, Michael. I was expecting to see a prompt of some sort, but that never appears. I can run 'tashi-client getHosts successfully, so I guess it is working. Thanks again. On 3/11/2011 11:58 AM, Michael Stroucken wrote: > Chad Huneycutt wrote: >> I am trying to get started with tashi following the "setting tashi up >> on a single test machine" instructions, but the nodemanager is failing >> to start complaining that it is unable to load VM info from >> /var/tmp/nm.dat. How does that file get created and initialized? >> > Hi Chad, > > It gets initialized when the nodemanager starts up. I've changed the > code in my test/deployment repository to not throw the exception, but I > haven't committed it back to svn yet. > > Can you make sure that, even though it threw an exception, it is in fact > running? > > Greetings, > Michael. From [email protected] Mon Mar 14 14:17:08 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74878 invoked from network); 14 Mar 2011 14:17:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Mar 2011 14:17:08 -0000 Received: (qmail 44632 invoked by uid 500); 14 Mar 2011 14:17:08 -0000 Delivered-To: [email protected] Received: (qmail 44582 invoked by uid 500); 14 Mar 2011 14:17:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <tashi-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 44574 invoked by uid 99); 14 Mar 2011 14:17:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Mar 2011 14:17:08 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_FRT_STOCK2,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ww0-f43.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Mar 2011 14:17:03 +0000 Received: by wwb17 with SMTP id 17so5043154wwb.0 for <[email protected]>; Mon, 14 Mar 2011 07:16:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=wTEygF+D1/MRYHc35ZOmKDaN55Ml+l2b+PoIUB1jU+w=; b=kS6CDbJ5esIZpdW9LrAHrP+G5AVucbs/0xDTg8Gabc7XQDYbcIriZoFJHadNzYgUkJ PUwQK6yOWye45vL4RaxZIoNYVRf1cS4aXiujDQOEwaL0n2DCtflDsH0yAK+tMRitFslJ fknnclrWCJLeQkc18exGfI7cUl+3Lcm+eanjU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=gIyCmiJKBb0OT531FuPt0MjNenHV0pDBCAa6mZnvipt8QXBl3NCswvONtqbcyg9ASf s7dUfd8B3jaT5ujEkiJEjLp5T1eL+WfmWLd3yoc2Dut5mrfDxr2klX2kfYdOgVqFnQeY r7U0pxXlAT8PFHeaA/7tzL1Hlo0MzmX7Fn11E= Received: by 161.129.204.104 with SMTP id j44mr11074352wed.41.1300112202214; Mon, 14 Mar 2011 07:16:42 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with HTTP; Mon, 14 Mar 2011 07:16:22 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> From: Richard Gass <[email protected]> Date: Mon, 14 Mar 2011 10:16:22 -0400 Message-ID: <[email protected]> Subject: Re: initializing nm.dat To: [email protected] Cc: Chad Huneycutt <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable You should get a ipython prompt back once the node manager starts. Make sure you have ipython installed. Richard On Fri, Mar 11, 2011 at 12:30 PM, Chad Huneycutt <[email protected]> wrot= e: > well, duh. =A0Thanks, Michael. =A0I was expecting to see a prompt of some= sort, > but that never appears. =A0I can run 'tashi-client getHosts successfully,= so I > guess it is working. > > Thanks again. > > On 3/11/2011 11:58 AM, Michael Stroucken wrote: >> >> Chad Huneycutt wrote: >>> >>> I am trying to get started with tashi following the "setting tashi up >>> on a single test machine" instructions, but the nodemanager is failing >>> to start complaining that it is unable to load VM info from >>> /var/tmp/nm.dat. How does that file get created and initialized? >>> >> Hi Chad, >> >> It gets initialized when the nodemanager starts up. I've changed the >> code in my test/deployment repository to not throw the exception, but I >> haven't committed it back to svn yet. >> >> Can you make sure that, even though it threw an exception, it is in fact >> running? >> >> Greetings, >> Michael. > --=20 Richard Gass From [email protected] Wed Mar 16 23:13:08 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83966 invoked from network); 16 Mar 2011 23:13:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Mar 2011 23:13:08 -0000 Received: (qmail 5045 invoked by uid 500); 16 Mar 2011 23:13:08 -0000 Delivered-To: [email protected] Received: (qmail 5005 invoked by uid 500); 16 Mar 2011 23:13:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <tashi-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 4993 invoked by uid 99); 16 Mar 2011 23:13:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Mar 2011 23:13:08 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=SPF_PASS,T_FRT_STOCK2 X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO deliverator2.gatech.edu) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Mar 2011 23:13:00 +0000 Received: from deliverator2.gatech.edu (localhost [161.129.204.104]) by localhost (Postfix) with SMTP id D2415480FBD for <[email protected]>; Wed, 16 Mar 2011 19:12:38 -0400 (EDT) Received: from mail8.gatech.edu (mail8.gatech.edu [161.129.204.104]) by deliverator2.gatech.edu (Postfix) with ESMTP id 66340480FAD for <[email protected]>; Wed, 16 Mar 2011 19:12:38 -0400 (EDT) Received: from [161.129.204.104] (strangepork.cc.gatech.edu [161.129.204.104]) (Authenticated sender: ch145) by mail8.gatech.edu (Postfix) with ESMTPSA id 580F5275812 for <[email protected]>; Wed, 16 Mar 2011 19:12:38 -0400 (EDT) Message-ID: <[email protected]> Date: Wed, 16 Mar 2011 19:14:12 -0400 From: Chad Huneycutt <[email protected]> Organization: Georgia Institute of Technology User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:161.129.204.104) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: [email protected] Subject: Re: initializing nm.dat References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I do have ipython installed, but I don't get the prompt. I am having to use the python26 package, though, so maybe that is causing some problems? There was an ipython26 package, and I installed that, but still no prompt, but maybe this is all somehow related? It does work for the clustermanager, though. - Chad On 03/14/2011 10:16 AM, Richard Gass wrote: > You should get a ipython prompt back once the node manager starts. > Make sure you have ipython installed. > > Richard > > > On Fri, Mar 11, 2011 at 12:30 PM, Chad Huneycutt<[email protected]> wrote: >> well, duh. Thanks, Michael. I was expecting to see a prompt of some sort, >> but that never appears. I can run 'tashi-client getHosts successfully, so I >> guess it is working. >> >> Thanks again. >> >> On 3/11/2011 11:58 AM, Michael Stroucken wrote: >>> >>> Chad Huneycutt wrote: >>>> >>>> I am trying to get started with tashi following the "setting tashi up >>>> on a single test machine" instructions, but the nodemanager is failing >>>> to start complaining that it is unable to load VM info from >>>> /var/tmp/nm.dat. How does that file get created and initialized? >>>> >>> Hi Chad, >>> >>> It gets initialized when the nodemanager starts up. I've changed the >>> code in my test/deployment repository to not throw the exception, but I >>> haven't committed it back to svn yet. >>> >>> Can you make sure that, even though it threw an exception, it is in fact >>> running? >>> >>> Greetings, >>> Michael. >> > > > -- Chad Huneycutt ([email protected]) College of Computing Research Technologist II Georgia Institute of Technology Technology Services Organization (TSO) Office: KACB 3121, +1-202-756-7024 CERCS (http://www.cercs.gatech.edu) AIM: ChadHuneycuttTSO From [email protected] Tue Mar 22 15:38:08 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29828 invoked from network); 22 Mar 2011 15:38:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Mar 2011 15:38:08 -0000 Received: (qmail 34037 invoked by uid 500); 22 Mar 2011 15:38:08 -0000 Delivered-To: [email protected] Received: (qmail 33998 invoked by uid 500); 22 Mar 2011 15:38:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <tashi-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 33990 invoked by uid 99); 22 Mar 2011 15:38:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Mar 2011 15:38:07 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO tamade.ascient.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Mar 2011 15:37:58 +0000 Received: from stroop.wv.cc.cmu.edu (STROOP.WV.CC.CMU.EDU [161.129.204.104]) by tamade.ascient.net (Postfix) with ESMTPSA id 8E9E0400F0 for <[email protected]>; Tue, 22 Mar 2011 11:37:21 -0400 (EDT) Message-ID: <[email protected]> Date: Tue, 22 Mar 2011 11:36:07 -0400 From: Michael Stroucken <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Macintosh/20100228) MIME-Version: 1.0 To: [email protected] Subject: new source branch Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, I've created a branch called 'stablefix', which is essentially code from a point in mid-December with fixes from our [email protected]. This branch should nearly eliminate the problem of VMs listed as being in 'Destroying' state, if they have already exited from the hosting system. Our deployment here is currently based off of KVM, so fixes for the Xen side are welcome. New code is still going into the trunk, and I will probably create a testing branch to hold newer code that is working for my environment. Greetings, Michael. From [email protected] Thu Mar 24 21:13:05 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 34708 invoked from network); 24 Mar 2011 21:13:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Mar 2011 21:13:05 -0000 Received: (qmail 56640 invoked by uid 500); 24 Mar 2011 21:13:05 -0000 Delivered-To: [email protected] Received: (qmail 56600 invoked by uid 500); 24 Mar 2011 21:13:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <tashi-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 56592 invoked by uid 99); 24 Mar 2011 21:13:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Mar 2011 21:13:04 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iy0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Mar 2011 21:12:57 +0000 Received: by iyb26 with SMTP id 26so425488iyb.6 for <[email protected]>; Thu, 24 Mar 2011 14:12:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=sCJTi4c3snCd3rNNQ85R2xGYC0/EBThvMKhu0SPg0zg=; b=SDdcvK/8DlHo2qMdKtFjwr+wKgcXIzsX1DOITjbSI/fRcCyiuFFf9y5d0y/wn+MqZv mgBnXO9S6PLHQsmti5GEEpEQ6uxHkRnfGEnRNSOqkzzGnd0e15Ug0vRPhJjSTAsIjaML i3dCVP0wOI6nPrtUIrRFkAj0WfVLRQFT+/w84= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=SFH+LElNb1Ic+VpmpDPJBTxxOf7ZtizHCHtnoHA4AEHUgHKu5LtdZ8ovuyg2G4SEXM +a0t4gFlI/usDld8OVHiXVeMRNLBp/VuTvYqVoLVeXBYvrMWb1c2Ll1OvVGZhumktMal 8c6qDrLjIH/OVzNNlqtK4fRiKk0w+eT9Mrms0= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id m6mr13833558icy.281.1301001155676; Thu, 24 Mar 2011 14:12:35 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 24 Mar 2011 14:12:35 -0700 (PDT) Date: Thu, 24 Mar 2011 17:12:35 -0400 Message-ID: <[email protected]> Subject: Installing tashi From: hari narayanan <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=90e6ba6e8a34bc8bb8049f40ef5b X-Virus-Checked: Checked by ClamAV on apache.org --90e6ba6e8a34bc8bb8049f40ef5b Content-Type: text/plain; charset=ISO-8859-1 Hello, I am trying to install tashi on a single test machine.... I followed the instructions given in Tashi site...I downloaded tashi using svn co http://svn.apache.org/repos/asf/incubator/tashi/trunk ./tashi into tashi folder... After that i used the make command ... but,i got the following error .... make: *** No targets specified and no makefile found. Stop .... there was no make file in tashi folder... tashi folder just consists of "board,branches,import,site,trunk" folders.... Can someone tell me how to proceed ? any help will be appreciated ... Thanks --90e6ba6e8a34bc8bb8049f40ef5b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello,<br><br>I am trying to install tashi on a single test machine.... I f= ollowed the instructions given in Tashi site...I downloaded tashi using <br= ><pre>svn co <a href=3D"http://svn.apache.org/repos/asf/incubator/tashi/tru= nk">http://svn.apache.org/repos/asf/incubator/tashi/trunk</a> ./tashi<br> <br>into tashi folder... After that i used the make command ... but,i got t= he following error .... make: *** No targets specified and no makefile foun= d.=A0 Stop .... there was no make file in tashi folder... <br>tashi folder = just consists of &quot;board,branches,import,site,trunk&quot; folders.... C= an someone tell me how to proceed ? any help will be appreciated ...<br> <br>Thanks<br></pre> --90e6ba6e8a34bc8bb8049f40ef5b-- From [email protected] Thu Mar 24 21:28:54 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80912 invoked from network); 24 Mar 2011 21:28:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Mar 2011 21:28:54 -0000 Received: (qmail 77693 invoked by uid 500); 24 Mar 2011 21:28:53 -0000 Delivered-To: [email protected] Received: (qmail 77677 invoked by uid 500); 24 Mar 2011 21:28:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <tashi-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 77669 invoked by uid 99); 24 Mar 2011 21:28:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Mar 2011 21:28:53 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mga14.intel.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Mar 2011 21:28:45 +0000 Received: from azsmga001.ch.intel.com ([161.129.204.104]) by azsmga102.ch.intel.com with ESMTP; 24 Mar 2011 14:28:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.63,239,1299484800"; d="scan'208";a="408221285" Received: from irsmsx602.ger.corp.intel.com ([161.129.204.104]) by azsmga001.ch.intel.com with ESMTP; 24 Mar 2011 14:28:24 -0700 Received: from irsmsx503.ger.corp.intel.com ([161.129.204.104]) by irsmsx602.ger.corp.intel.com ([161.129.204.104]) with mapi; Thu, 24 Mar 2011 21:28:23 +0000 From: "Gass, Richard" <[email protected]> To: "[email protected]" <[email protected]> CC: "[email protected]" <[email protected]> Date: Thu, 24 Mar 2011 21:27:22 +0000 Subject: Re: Installing tashi Thread-Topic: Installing tashi Thread-Index: AcvqamcF8RzyrQcaQEa8FCzose5y/w== Message-ID: <[email protected]> References: <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 SSB0aGluayB5b3VyIGNoZWNrb3V0IG1lc3NlZCB1cC4gWW91IHNob3VsZCBiZSBpbiB0aGUgdHJ1 bmsgYWxyZWFkeSB3aGVuIHlvdSBjaGVja291dC4gQ2QgdHJ1bmsgYW5kIHRyeSBtYWtlLg0KDQot LQ0KU2VudCBmcm9tIG15IG1vYmlsZSBkZXZpY2UNCg0KUmljaGFyZA0KDQpPbiBNYXIgMjQsIDIw MTEsIGF0IDE3OjEzLCAiaGFyaSBuYXJheWFuYW4iIDxoYXJpLnpsYXRhbkBnbWFpbC5jb208bWFp bHRvOmhhcmkuemxhdGFuQGdtYWlsLmNvbT4+IHdyb3RlOg0KDQpIZWxsbywNCg0KSSBhbSB0cnlp bmcgdG8gaW5zdGFsbCB0YXNoaSBvbiBhIHNpbmdsZSB0ZXN0IG1hY2hpbmUuLi4uIEkgZm9sbG93 ZWQgdGhlIGluc3RydWN0aW9ucyBnaXZlbiBpbiBUYXNoaSBzaXRlLi4uSSBkb3dubG9hZGVkIHRh c2hpIHVzaW5nDQoNCnN2biBjbyA8aHR0cDovL3N2bi5hcGFjaGUub3JnL3JlcG9zL2FzZi9pbmN1 YmF0b3IvdGFzaGkvdHJ1bms+IGh0dHA6Ly9zdm4uYXBhY2hlLm9yZy9yZXBvcy9hc2YvaW5jdWJh dG9yL3Rhc2hpL3RydW5rIC4vdGFzaGkNCg0KDQppbnRvIHRhc2hpIGZvbGRlci4uLiBBZnRlciB0 aGF0IGkgdXNlZCB0aGUgbWFrZSBjb21tYW5kIC4uLiBidXQsaSBnb3QgdGhlIGZvbGxvd2luZyBl cnJvciAuLi4uIG1ha2U6ICoqKiBObyB0YXJnZXRzIHNwZWNpZmllZCBhbmQgbm8gbWFrZWZpbGUg Zm91bmQuICBTdG9wIC4uLi4gdGhlcmUgd2FzIG5vIG1ha2UgZmlsZSBpbiB0YXNoaSBmb2xkZXIu Li4NCnRhc2hpIGZvbGRlciBqdXN0IGNvbnNpc3RzIG9mICJib2FyZCxicmFuY2hlcyxpbXBvcnQs c2l0ZSx0cnVuayIgZm9sZGVycy4uLi4gQ2FuIHNvbWVvbmUgdGVsbCBtZSBob3cgdG8gcHJvY2Vl ZCA/IGFueSBoZWxwIHdpbGwgYmUgYXBwcmVjaWF0ZWQgLi4uDQoNCg0KVGhhbmtzDQo= From [email protected] Thu Mar 24 21:57:57 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73984 invoked from network); 24 Mar 2011 21:57:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Mar 2011 21:57:57 -0000 Received: (qmail 23039 invoked by uid 500); 24 Mar 2011 21:57:57 -0000 Delivered-To: [email protected] Received: (qmail 23016 invoked by uid 500); 24 Mar 2011 21:57:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <tashi-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23008 invoked by uid 99); 24 Mar 2011 21:57:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Mar 2011 21:57:57 +0000 X-ASF-Spam-Status: No, hits=1.8 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,URIBL_RHS_DOB X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iy0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Mar 2011 21:57:50 +0000 Received: by iyb26 with SMTP id 26so468593iyb.6 for <[email protected]>; Thu, 24 Mar 2011 14:57:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=1b6x4GZwm+FxrxcO+u251gbyzvvvOwBl80R/5OdQDWQ=; b=Vcn2e3RGLRMzjJR1uGHSkpeYdmWv0hzULKc6o2HdFKnrFk+czxvJl9wZAJFe5T9Rb9 Im9/BFqT71FvgGKaGBwpuObK9EqEn8kPTKoaL8LrVfVCYYtAfCz4MjJ8xzuAcvA1cpvn UHhWfven7WOmfpU1mtsxsthjG4w4Zv6eW+U+4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=p01J5HaMPTUUmsr6u46i42n7aWABWhzoeC0LOVyy+kwlBet+RrstZnbamB0/QxVbU2 XslOXj5suTHCWP0JalmZe7wyadkLbEg9ubeAH09A7FP638LajmBX8tOuMDKO1O3Ut/Gh LbQNPXYfV19GHnUNt9rcf2Gxd3duGbuUJo4x0= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id fe4mr17740ibb.79.1301003835247; Thu, 24 Mar 2011 14:57:15 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 24 Mar 2011 14:57:15 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Thu, 24 Mar 2011 17:57:15 -0400 Message-ID: <[email protected]> Subject: Re: Installing tashi From: hari narayanan <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=00504502eb91738ceb049f418f3d X-Virus-Checked: Checked by ClamAV on apache.org --00504502eb91738ceb049f418f3d Content-Type: text/plain; charset=ISO-8859-1 Hi Richard, Thanks for the reply... I tried starting the cluster manager... But, i got the following error ImportError: No module named rpyc But, i downloaded rpyc and extracted it under the python2.6/site-packages ... According to rpyc documentation, extracting rpyc under the aforementioned folder is what is called installation... so,i have done it and i also set the path for python .... I donno why i got the error ... Any help will be appreciated .. Thanks On Thu, Mar 24, 2011 at 5:27 PM, Gass, Richard <[email protected]>wrote: > I think your checkout messed up. You should be in the trunk already when > you checkout. Cd trunk and try make. > > -- > Sent from my mobile device > > Richard > > On Mar 24, 2011, at 17:13, "hari narayanan" <[email protected]<mailto: > [email protected]>> wrote: > > Hello, > > I am trying to install tashi on a single test machine.... I followed the > instructions given in Tashi site...I downloaded tashi using > > svn co <http://svn.apache.org/repos/asf/incubator/tashi/trunk> > http://svn.apache.org/repos/asf/incubator/tashi/trunk ./tashi > > > into tashi folder... After that i used the make command ... but,i got the > following error .... make: *** No targets specified and no makefile found. > Stop .... there was no make file in tashi folder... > tashi folder just consists of "board,branches,import,site,trunk" > folders.... Can someone tell me how to proceed ? any help will be > appreciated ... > > > Thanks > --00504502eb91738ceb049f418f3d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Richard,<br><br>Thanks for the reply... I tried starting the cluster man= ager... But, i got the following error <br><br>ImportError: No module named= rpyc<br><br>But, i downloaded rpyc and extracted it under the python2.6/si= te-packages ... According to rpyc documentation, extracting rpyc under the = aforementioned folder is what is called installation... so,i have done it a= nd i also set the path for python .... I donno why i got the error ... Any = help will be appreciated ..<br> <br>Thanks<br><br><br><div class=3D"gmail_quote">On Thu, Mar 24, 2011 at 5:= 27 PM, Gass, Richard <span dir=3D"ltr">&lt;<a href=3D"mailto:richard.gass@i= ntel.com">[email protected]</a>&gt;</span> wrote:<br><blockquote class= =3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid= rgb(204, 204, 204); padding-left: 1ex;"> I think your checkout messed up. You should be in the trunk already when yo= u checkout. Cd trunk and try make.<br> <br> --<br> Sent from my mobile device<br> <br> Richard<br> <div class=3D"im"><br> On Mar 24, 2011, at 17:13, &quot;hari narayanan&quot; &lt;<a href=3D"mailto= :[email protected]">[email protected]</a>&lt;mailto:<a href=3D"mail= to:[email protected]">[email protected]</a>&gt;&gt; wrote:<br> <br> Hello,<br> <br> I am trying to install tashi on a single test machine.... I followed the in= structions given in Tashi site...I downloaded tashi using<br> <br> </div>svn co &lt;<a href=3D"http://svn.apache.org/repos/asf/incubator/tashi= /trunk" target=3D"_blank">http://svn.apache.org/repos/asf/incubator/tashi/t= runk</a>&gt; <a href=3D"http://svn.apache.org/repos/asf/incubator/tashi/tru= nk" target=3D"_blank">http://svn.apache.org/repos/asf/incubator/tashi/trunk= </a> ./tashi<br> <div><div></div><div class=3D"h5"><br> <br> into tashi folder... After that i used the make command ... but,i got the f= ollowing error .... make: *** No targets specified and no makefile found. = =A0Stop .... there was no make file in tashi folder...<br> tashi folder just consists of &quot;board,branches,import,site,trunk&quot; = folders.... Can someone tell me how to proceed ? any help will be appreciat= ed ...<br> <br> <br> Thanks<br> </div></div></blockquote></div><br> --00504502eb91738ceb049f418f3d-- From [email protected] Thu Mar 24 22:06:11 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26913 invoked from network); 24 Mar 2011 22:06:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Mar 2011 22:06:11 -0000 Received: (qmail 33731 invoked by uid 500); 24 Mar 2011 22:06:11 -0000 Delivered-To: [email protected] Received: (qmail 33709 invoked by uid 500); 24 Mar 2011 22:06:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <tashi-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 33701 invoked by uid 99); 24 Mar 2011 22:06:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Mar 2011 22:06:11 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO tamade.ascient.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Mar 2011 22:06:03 +0000 Received: from stroop.home (pool-74-111-125-250.pitbpa.fios.verizon.net [161.129.204.104]) by tamade.ascient.net (Postfix) with ESMTPSA id 14570400F0 for <[email protected]>; Thu, 24 Mar 2011 18:05:26 -0400 (EDT) Message-ID: <[email protected]> Date: Thu, 24 Mar 2011 18:04:07 -0400 From: Michael Stroucken <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Macintosh/20100228) MIME-Version: 1.0 To: [email protected] Subject: Re: Installing tashi References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org hari narayanan wrote: > Hi Richard, > > Thanks for the reply... I tried starting the cluster manager... But, i > got the following error > > ImportError: No module named rpyc > > But, i downloaded rpyc and extracted it under the > python2.6/site-packages ... According to rpyc documentation, > extracting rpyc under the aforementioned folder is what is called > installation... so,i have done it and i also set the path for python > .... I donno why i got the error ... Any help will be appreciated .. Hi Hari, rpyc is a requirement for tashi. If you have installed the package in python2.6/site-packages, you should make sure that you are actually using python 2.6 (python --version). I suggest if you are getting started, you go to branches/stablefix and use the code there. The trunk contains some WIPs that will likely be changed again soon. Greetings, Michael. From [email protected] Thu Mar 24 22:27:11 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74070 invoked from network); 24 Mar 2011 22:27:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Mar 2011 22:27:11 -0000 Received: (qmail 70570 invoked by uid 500); 24 Mar 2011 22:27:11 -0000 Delivered-To: [email protected] Received: (qmail 70544 invoked by uid 500); 24 Mar 2011 22:27:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <tashi-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 70536 invoked by uid 99); 24 Mar 2011 22:27:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Mar 2011 22:27:11 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_FRT_STOCK2,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iy0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Mar 2011 22:27:06 +0000 Received: by iyb26 with SMTP id 26so497112iyb.6 for <[email protected]>; Thu, 24 Mar 2011 15:26:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=gqTAmmMHMxioxSasnIdES1HBvdIBhwfvg6M5buSoZg4=; b=xxatbxirpKoJ3j82xxvRQVFPBNV+2W3NWRsEFwoKo6TMGCdUBVb+b16agjmeFecvEm zQiqqopoRWeqyB+8jTCcoykAPWWbD/LW18j1TSWYQ8Jfi4XhU9UM1Af3HRS8EGy4jfOz ePWz5eRlH9amMe/DXYWJcXjcxp7oO4R4IMQ6g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Wd0dsipXkTsg5p99GhKfo1S1Yl4FVb2NxP27kpJJG1fM6wcc421uJG+9JErndvTrAE gKbTuaCpz79p88mFy6dMos3MDdL7jw8TZhvbAHaw2oMZ/QakLj3EFh+IXGOQ70Jf48QD cfFD8PBlRRe/4qjD6AvfZwFxzbS9peQCf0BcY= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id i13mr45817ibd.54.1301005605767; Thu, 24 Mar 2011 15:26:45 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 24 Mar 2011 15:26:45 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Thu, 24 Mar 2011 18:26:45 -0400 Message-ID: <[email protected]> Subject: Re: Installing tashi From: hari narayanan <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=00221534c94ffb8a82049f41f850 --00221534c94ffb8a82049f41f850 Content-Type: text/plain; charset=ISO-8859-1 Hi Michael, Yes,I am just getting started... I made sure that i am using python 2.6 ... As u said,i am now using the code in branches/stable-fix ... now,when i try to start clustermanager,i get the error that ImportError: No module named tashi.util Please excuse ... I am completely new to tashi and there are not many good documentations out there... Thanks On Thu, Mar 24, 2011 at 6:04 PM, Michael Stroucken <[email protected]> wrote: > hari narayanan wrote: > >> Hi Richard, >> >> Thanks for the reply... I tried starting the cluster manager... But, i got >> the following error >> >> ImportError: No module named rpyc >> >> But, i downloaded rpyc and extracted it under the python2.6/site-packages >> ... According to rpyc documentation, extracting rpyc under the >> aforementioned folder is what is called installation... so,i have done it >> and i also set the path for python .... I donno why i got the error ... Any >> help will be appreciated .. >> > > Hi Hari, > > rpyc is a requirement for tashi. If you have installed the package in > python2.6/site-packages, you should make sure that you are actually using > python 2.6 (python --version). > > I suggest if you are getting started, you go to branches/stablefix and use > the code there. The trunk contains some WIPs that will likely be changed > again soon. > > Greetings, > Michael. > --00221534c94ffb8a82049f41f850 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Michael,<br><br>Yes,I am just getting started... I made sure that i am u= sing python 2.6 ... As u said,i am now using the code in branches/stable-fi= x ... now,when i try to start clustermanager,i get the error that <br><br> ImportError: No module named tashi.util<br><br><br><br><br>Please excuse ..= . I am completely new to tashi and there are not many good documentations o= ut there... <br><br>Thanks<br><br><br><br><div class=3D"gmail_quote">On Thu= , Mar 24, 2011 at 6:04 PM, Michael Stroucken <span dir=3D"ltr">&lt;<a href= =3D"mailto:[email protected]">[email protected]</a>&gt;</span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde= r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class=3D"im"= >hari narayanan wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde= r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> Hi Richard,<br> <br> Thanks for the reply... I tried starting the cluster manager... But, i got = the following error<br> <br> ImportError: No module named rpyc<br> <br> But, i downloaded rpyc and extracted it under the python2.6/site-packages .= .. According to rpyc documentation, extracting rpyc under the aforementione= d folder is what is called installation... so,i have done it and i also set= the path for python .... I donno why i got the error ... Any help will be = appreciated ..<br> </blockquote> <br></div> Hi Hari,<br> <br> rpyc is a requirement for tashi. If you have installed the package in pytho= n2.6/site-packages, you should make sure that you are actually using python= 2.6 (python --version).<br> <br> I suggest if you are getting started, you go to branches/stablefix and use = the code there. The trunk contains some WIPs that will likely be changed ag= ain soon.<br> <br> Greetings,<br><font color=3D"#888888"> Michael.<br> </font></blockquote></div><br> --00221534c94ffb8a82049f41f850-- From [email protected] Thu Mar 24 22:33:30 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5164 invoked from network); 24 Mar 2011 22:33:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Mar 2011 22:33:30 -0000 Received: (qmail 80475 invoked by uid 500); 24 Mar 2011 22:33:30 -0000 Delivered-To: [email protected] Received: (qmail 80457 invoked by uid 500); 24 Mar 2011 22:33:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <tashi-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 80449 invoked by uid 99); 24 Mar 2011 22:33:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Mar 2011 22:33:30 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO tamade.ascient.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Mar 2011 22:33:23 +0000 Received: from stroop.home (pool-74-111-125-250.pitbpa.fios.verizon.net [161.129.204.104]) by tamade.ascient.net (Postfix) with ESMTPSA id EA950400F0 for <[email protected]>; Thu, 24 Mar 2011 18:32:46 -0400 (EDT) Message-ID: <[email protected]> Date: Thu, 24 Mar 2011 18:31:28 -0400 From: Michael Stroucken <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Macintosh/20100228) MIME-Version: 1.0 To: [email protected] Subject: Re: Installing tashi References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit hari narayanan wrote: > Hi Michael, > > Yes,I am just getting started... I made sure that i am using python > 2.6 ... As u said,i am now using the code in branches/stable-fix ... > now,when i try to start clustermanager,i get the error that > > ImportError: No module named tashi.util > > You need to make sure your PYTHONPATH is set to point into the top source directory. > > Please excuse ... I am completely new to tashi and there are not many > good documentations out there... Sorry, we wrote them :) Greetings, Michael. From [email protected] Thu Mar 24 22:58:48 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66273 invoked from network); 24 Mar 2011 22:58:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Mar 2011 22:58:47 -0000 Received: (qmail 8953 invoked by uid 500); 24 Mar 2011 22:58:47 -0000 Delivered-To: [email protected] Received: (qmail 8930 invoked by uid 500); 24 Mar 2011 22:58:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <tashi-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 8922 invoked by uid 99); 24 Mar 2011 22:58:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Mar 2011 22:58:47 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_FRT_STOCK2,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iw0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Mar 2011 22:58:41 +0000 Received: by iwn10 with SMTP id 10so508216iwn.6 for <[email protected]>; Thu, 24 Mar 2011 15:58:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=Ot1TQvKv2R059Oa6PwfFgAmWC4PqHGJeFlpDMk1XnRE=; b=eq5fF9po/ZsUXnWT6GwuGT0hYQ6/H6NLfUnvA00Ck26QAQiJ+h5aNZHgZAfWfVw2Lh uUdSC0BUGUK6S86vYfxoprM4ZwKp1mF8w+cIdFhPYLMJnE+4GuJ88pBkZcWtNQXUe3zK 3AFJ1o2IwOZPqrqINQGk1QGR1RCuX8so6Q3zQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=uFrY78b2zyVsRxz7mKLwlq0QJlFB6VP0OSKc/3grW09L0oh8E+wacrOafY4St/xEXj QljrjySHwxxol0/heowjeEh2pi/YfrF3C3gj2gCQD2Jari66pn8+mna6PnFg47fpaCzu h8emQssnty8iKm6S8VJPgKxP2RGlDwGXAbJsM= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id ww20mr43189icb.482.1301007379142; Thu, 24 Mar 2011 15:56:19 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 24 Mar 2011 15:56:19 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Thu, 24 Mar 2011 18:56:19 -0400 Message-ID: <[email protected]> Subject: Re: Installing tashi From: hari narayanan <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=bcaec51ddd71af170d049f42620f X-Virus-Checked: Checked by ClamAV on apache.org --bcaec51ddd71af170d049f42620f Content-Type: text/plain; charset=ISO-8859-1 Hi, Sorry .... I get a different error now ... ImportError: cannot import name VdbAuthenticator Also, i set the PYTHONPATH using the following command while i was in "tashi/trunk" directory export PYTHONPATH=`pwd`/src And i did not get any error for this command .... I guess it is able to find the rpyc which is inside the python directory ... so, i believe pythonpath is set properly .... On Thu, Mar 24, 2011 at 6:31 PM, Michael Stroucken <[email protected]> wrote: > hari narayanan wrote: > >> Hi Michael, >> >> Yes,I am just getting started... I made sure that i am using python 2.6 >> ... As u said,i am now using the code in branches/stable-fix ... now,when i >> try to start clustermanager,i get the error that >> >> ImportError: No module named tashi.util >> >> >> You need to make sure your PYTHONPATH is set to point into the top source > directory. > > > >> Please excuse ... I am completely new to tashi and there are not many good >> documentations out there... >> > > Sorry, we wrote them :) > > Greetings, > Michael. > --bcaec51ddd71af170d049f42620f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,<br><br>Sorry .... I get a different error now ... <span dir=3D"ltr" id= =3D":2i"><br><br>ImportError: cannot import name VdbAuthenticato</span>r<br= ><br>Also, i set the PYTHONPATH using the following command while i was in = &quot;tashi/trunk&quot; directory <br> <br><pre>export PYTHONPATH=3D`pwd`/src<br><br>And i did not get any error f= or this command .... I guess it is able to find the rpyc which is inside th= e python directory ... so, i believe <br>pythonpath is set properly .... <b= r> </pre><br><br><div class=3D"gmail_quote">On Thu, Mar 24, 2011 at 6:31 PM, M= ichael Stroucken <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]">mxs@c= mu.edu</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"= margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); paddi= ng-left: 1ex;"> <div class=3D"im">hari narayanan wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde= r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> Hi Michael,<br> <br> Yes,I am just getting started... I made sure that i am using python 2.6 ...= As u said,i am now using the code in branches/stable-fix ... now,when i tr= y to start clustermanager,i get the error that<br> <br> ImportError: No module named tashi.util<br> <br> <br> </blockquote></div> You need to make sure your PYTHONPATH is set to point into the top source d= irectory.<div class=3D"im"><br> <br> <blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde= r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> <br> Please excuse ... I am completely new to tashi and there are not many good = documentations out there...<br> </blockquote> <br></div> Sorry, we wrote them :)<br> <br> Greetings,<br><font color=3D"#888888"> Michael.<br> </font></blockquote></div><br> --bcaec51ddd71af170d049f42620f-- From [email protected] Thu Mar 24 23:04:24 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7113 invoked from network); 24 Mar 2011 23:04:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Mar 2011 23:04:24 -0000 Received: (qmail 16042 invoked by uid 500); 24 Mar 2011 23:04:24 -0000 Delivered-To: [email protected] Received: (qmail 16022 invoked by uid 500); 24 Mar 2011 23:04:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <tashi-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 16014 invoked by uid 99); 24 Mar 2011 23:04:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Mar 2011 23:04:24 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO tamade.ascient.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Mar 2011 23:04:17 +0000 Received: from stroop.home (pool-74-111-125-250.pitbpa.fios.verizon.net [161.129.204.104]) by tamade.ascient.net (Postfix) with ESMTPSA id 2DA7A400F0 for <[email protected]>; Thu, 24 Mar 2011 19:03:41 -0400 (EDT) Message-ID: <[email protected]> Date: Thu, 24 Mar 2011 19:02:22 -0400 From: Michael Stroucken <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Macintosh/20100228) MIME-Version: 1.0 To: [email protected] Subject: Re: Installing tashi References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit hari narayanan wrote: > Hi, > > Sorry .... I get a different error now ... > > ImportError: cannot import name VdbAuthenticator > > Also, i set the PYTHONPATH using the following command while i was in > "tashi/trunk" directory > > export PYTHONPATH=`pwd`/src > > And i did not get any error for this command .... I guess it is able to find the rpyc which is inside the python directory ... so, i believe > pythonpath is set properly .... > 1) VdbAuthenticator is a part of rpyc, so you still don't have rpyc set up correctly. 2) You should set PYTHONPATH to the src directory in the stable branch. It has nothing to do with rpyc, but it references the tashi code. Greetings, Michael.
From [email protected] Sat Apr 02 07:02:30 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28836 invoked from network); 2 Apr 2005 07:02:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Apr 2005 07:02:29 -0000 Received: (qmail 30088 invoked by uid 500); 2 Apr 2005 07:02:29 -0000 Delivered-To: [email protected] Received: (qmail 30066 invoked by uid 500); 2 Apr 2005 07:02:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 30052 invoked by uid 500); 2 Apr 2005 07:02:28 -0000 Received: (qmail 30049 invoked by uid 99); 2 Apr 2005 07:02:28 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 01 Apr 2005 23:02:28 -0800 Received: (qmail 28821 invoked by uid 1977); 2 Apr 2005 07:02:27 -0000 Date: 2 Apr 2005 07:02:27 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: db-torque/examples project-schema.xml Torque.properties X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N tfischer 2005/04/01 23:02:27 Removed: src/test Torque.properties examples project-schema.xml Torque.properties Log: The example files are outdated. There are up-to-date examples in the tutorial, so there is no need for extra examples. The src/test/Torque.properties file is not used anywhere. I did run maven:test and maven runtime:test successfully without them. I have removed these files because files which are not used anywhere tend to get outdated. In my experience, outdated files cause more trouble than non-existent files. If anybody feels these files should not have been removed, please commit a up-to-date version --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 02 07:38:27 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 32102 invoked from network); 2 Apr 2005 07:38:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Apr 2005 07:38:27 -0000 Received: (qmail 56441 invoked by uid 500); 2 Apr 2005 07:38:26 -0000 Delivered-To: [email protected] Received: (qmail 56426 invoked by uid 500); 2 Apr 2005 07:38:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 56413 invoked by uid 99); 2 Apr 2005 07:38:26 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 01 Apr 2005 23:38:26 -0800 Received: (qmail 32094 invoked by uid 1977); 2 Apr 2005 07:38:25 -0000 Received: from localhost ([email protected]) by localhost with SMTP; 2 Apr 2005 07:38:25 -0000 Date: Fri, 1 Apr 2005 23:38:25 -0800 (PST) From: Thomas Fischer <[email protected]> To: [email protected] Subject: postgresql DROP TABLE CASCADE Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Rating: localhost 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, since Postgresql 7.3 (released in november 2002), postgresql supports the "cascade" attribute in DROP TABLE. This gets around the problem that tables which depend on other tables tend not to be dropped because of the wrong dropping order. I would like to add the "cascade" to the generated "drop table..." commands in the sql scrips. Any comments, objections ? Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Apr 06 17:18:57 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49082 invoked from network); 6 Apr 2005 17:18:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Apr 2005 17:18:57 -0000 Received: (qmail 93621 invoked by uid 500); 6 Apr 2005 17:18:56 -0000 Delivered-To: [email protected] Received: (qmail 93590 invoked by uid 500); 6 Apr 2005 17:18:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 93571 invoked by uid 99); 6 Apr 2005 17:18:55 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from web1-glo.biscit.net (HELO web1-glo.biscit.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 06 Apr 2005 10:18:55 -0700 Received: from bolek.coachhouse (host62-7-160-95.webport.bt.net [161.129.204.104]) by web1-glo.biscit.net (8.10.2/8.10.2) with ESMTP id j36HIlA18078 for <[email protected]>; Wed, 6 Apr 2005 18:18:47 +0100 Received: (Exim 3.36) #1 (Debian)) protocol: esmtp id 1DJE9w-0004o8-00 ; Wed, 06 Apr 2005 18:17:44 +0100 Message-ID: <[email protected]> Date: Wed, 06 Apr 2005 18:17:43 +0100 From: T E Schmitz <[email protected]> Reply-To: [email protected] User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Apache Torque Developers List <[email protected]> Subject: PostGreSQL TIMESTAMP Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello, I have just stumbled across some TIMESTAMP problems - well, damn, I hadn't thought about bloody summertime. Whoever came up with that stupid idea? Anyway, when reading the Postgres docs, I came across the following bit of information: "Prior to PostgreSQL 7.3, writing just timestamp was equivalent to timestamp with time zone. This was changed for SQL compliance." From 7.3 onwards TIMESTAMP is equivalent to timestamp without time zone. db.props maps TIMESTAMP = timestamp. I'm just pointing this out in case you want to use one or the other explicitly. -- Regards/Gruß, Tarlika Elisabeth Schmitz --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 16 13:59:33 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63095 invoked from network); 16 Apr 2005 13:59:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Apr 2005 13:59:33 -0000 Received: (qmail 60445 invoked by uid 500); 16 Apr 2005 13:59:32 -0000 Delivered-To: [email protected] Received: (qmail 60425 invoked by uid 500); 16 Apr 2005 13:59:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 60411 invoked by uid 500); 16 Apr 2005 13:59:32 -0000 Received: (qmail 60408 invoked by uid 99); 16 Apr 2005 13:59:31 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 16 Apr 2005 06:59:31 -0700 Received: (qmail 63088 invoked by uid 1977); 16 Apr 2005 13:59:30 -0000 Date: 16 Apr 2005 13:59:30 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: db-torque/src/rttest/org/apache/torque/util CopyTest.java X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N tfischer 2005/04/16 06:59:30 Modified: src/rttest/org/apache/torque/util CopyTest.java Log: changed indentation to 4 spaces each level fixed a bug which printed a wrong error message if the test failed Revision Changes Path 1.6 +24 -21 db-torque/src/rttest/org/apache/torque/util/CopyTest.java Index: CopyTest.java =================================================================== RCS file: /home/cvs/db-torque/src/rttest/org/apache/torque/util/CopyTest.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- CopyTest.java 19 Mar 2005 06:25:27 -0000 1.5 +++ CopyTest.java 16 Apr 2005 13:59:30 -0000 1.6 @@ -47,28 +47,31 @@ */ public void testCopyObject() throws Exception { - Author author = new Author(); - author.setName("Author to be copied"); - author.save(); + Author author = new Author(); + author.setName("Author to be copied"); + author.save(); - for (int j = 1; j <= 10; j++) - { - Book book = new Book(); - book.setAuthor(author); - book.setTitle("Book " + j + " - " + author.getName()); - book.setIsbn("unknown"); - book.save(); - } - assertTrue("Number of books before copy should be 10, was " - + author.getBooks().size(), author.getBooks().size() == 10); - Author authorCopy = author.copy(); - authorCopy.save(); + for (int j = 1; j <= 10; j++) + { + Book book = new Book(); + book.setAuthor(author); + book.setTitle("Book " + j + " - " + author.getName()); + book.setIsbn("unknown"); + book.save(); + } + assertTrue("Number of books before copy should be 10, was " + + author.getBooks().size(), + author.getBooks().size() == 10); + Author authorCopy = author.copy(); + authorCopy.save(); - author = AuthorPeer.retrieveByPK(author.getPrimaryKey()); - assertTrue("Number of books in original object should be 10, was " - + author.getBooks().size(), author.getBooks().size() == 10); + author = AuthorPeer.retrieveByPK(author.getPrimaryKey()); + assertTrue("Number of books in original object should be 10, was " + + author.getBooks().size(), + author.getBooks().size() == 10); - assertTrue("Number of books after copy should be 10, was " - + author.getBooks().size(), authorCopy.getBooks().size() == 10); + assertTrue("Number of books after copy should be 10, was " + + authorCopy.getBooks().size(), + authorCopy.getBooks().size() == 10); } } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 17 09:59:02 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79593 invoked from network); 17 Apr 2005 09:59:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Apr 2005 09:59:02 -0000 Received: (qmail 66851 invoked by uid 500); 17 Apr 2005 09:59:01 -0000 Delivered-To: [email protected] Received: (qmail 66834 invoked by uid 500); 17 Apr 2005 09:59:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 66815 invoked by uid 500); 17 Apr 2005 09:59:01 -0000 Received: (qmail 66810 invoked by uid 99); 17 Apr 2005 09:59:01 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Sun, 17 Apr 2005 02:59:00 -0700 Received: (qmail 79585 invoked by uid 1977); 17 Apr 2005 09:58:59 -0000 Date: 17 Apr 2005 09:58:59 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: db-torque/src/generator/src/templates/sql/base/postgresql drop.vm X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N tfischer 2005/04/17 02:58:59 Modified: xdocs postgres-howto.xml changes.xml src/generator/src/templates/sql/base/postgresql drop.vm Log: use the CASCADE option for dropping tables in PostgreSQL Revision Changes Path 1.8 +28 -3 db-torque/xdocs/postgres-howto.xml Index: postgres-howto.xml =================================================================== RCS file: /home/cvs/db-torque/xdocs/postgres-howto.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- postgres-howto.xml 19 Aug 2004 02:24:49 -0000 1.7 +++ postgres-howto.xml 17 Apr 2005 09:58:59 -0000 1.8 @@ -8,11 +8,36 @@ <body> -<section name="Introductory note"> + <section name="PostgreSQL versions"> + <p> + The generator templates in Torque 3.2 are optimized for + PostgreSQL 7.3 and later. + To use an older version of PostgreSQL, do the following: + </p> + + <p> + In the generator, locate the template + templates/sql/base/postgresql/drop.vm + and replace the line + </p> + + <source> +DROP TABLE $table.Name CASCADE;</source> + + <p> + by + </p> + + <source> +DROP TABLE $table.Name;</source> + + </section> + +<section name="Note"> <p> -This HOWTO was written some time ago and was targeted at the -version of Torque that was coupled with the +The following sections of this HOWTO were written some time ago +and were targeted at the version of Torque that was coupled with the <a href="http://jakarta.apache.org/turbine/">Turbine</a> application framework. Contributions towards updating the information below can be submitted to the <a href="mailto:[email protected]">Torque Dev mailing list</a>. 1.152 +5 -0 db-torque/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /home/cvs/db-torque/xdocs/changes.xml,v retrieving revision 1.151 retrieving revision 1.152 diff -u -r1.151 -r1.152 --- changes.xml 30 Mar 2005 12:40:41 -0000 1.151 +++ changes.xml 17 Apr 2005 09:58:59 -0000 1.152 @@ -29,6 +29,11 @@ <release version="3.2-dev" date="in CVS"> <action type="fix" dev="tfischer"> + Use the cascade option for dropping tables in PostgreSQL. + This allows to drop tables which have foreign keys. + Cascade is supported since PostgreSQL 7.3 + </action> + <action type="fix" dev="tfischer"> Added missing templates for msaccess. I did not test it, so no idea whether msaccess is actually supported. </action> 1.5 +1 -1 db-torque/src/generator/src/templates/sql/base/postgresql/drop.vm Index: drop.vm =================================================================== RCS file: /home/cvs/db-torque/src/generator/src/templates/sql/base/postgresql/drop.vm,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- drop.vm 27 Mar 2005 07:52:12 -0000 1.4 +++ drop.vm 17 Apr 2005 09:58:59 -0000 1.5 @@ -1,4 +1,4 @@ -DROP TABLE $table.Name; +DROP TABLE $table.Name CASCADE; #if ($table.IdMethod == "native") DROP SEQUENCE $table.SequenceName; #end --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 17 10:45:45 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88686 invoked from network); 17 Apr 2005 10:45:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Apr 2005 10:45:45 -0000 Received: (qmail 16090 invoked by uid 500); 17 Apr 2005 10:45:45 -0000 Delivered-To: [email protected] Received: (qmail 15924 invoked by uid 500); 17 Apr 2005 10:45:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 15911 invoked by uid 500); 17 Apr 2005 10:45:44 -0000 Received: (qmail 15907 invoked by uid 99); 17 Apr 2005 10:45:44 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Sun, 17 Apr 2005 03:45:44 -0700 Received: (qmail 88677 invoked by uid 1977); 17 Apr 2005 10:45:43 -0000 Date: 17 Apr 2005 10:45:43 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: db-torque/src/generator/src/java/org/apache/torque/engine/database/model Column.java X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N tfischer 2005/04/17 03:45:43 Modified: src/generator/src/dtd database.dtd xdocs changes.xml src/generator/src/java/org/apache/torque/engine/database/model Column.java Log: Set autoIncrement=true for primary keys with idMethod=native and the platform's defaultIdMethod="identity" (i.e. all databases except oracle, postgresql and sapdb). This behaviour can be overridden by explicitly setting autoincrement=false in the respective column Revision Changes Path 1.7 +2 -2 db-torque/src/generator/src/dtd/database.dtd Index: database.dtd =================================================================== RCS file: /home/cvs/db-torque/src/generator/src/dtd/database.dtd,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- database.dtd 9 Mar 2005 14:17:32 -0000 1.6 +++ database.dtd 17 Apr 2005 10:45:43 -0000 1.7 @@ -118,7 +118,7 @@ size CDATA #IMPLIED scale CDATA #IMPLIED default CDATA #IMPLIED - autoIncrement (true|false) "false" + autoIncrement (true|false) #IMPLIED inheritance (single|false) "false" inputValidator CDATA #IMPLIED javaNamingMethod (nochange|underscore|javaname) #IMPLIED 1.153 +8 -0 db-torque/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /home/cvs/db-torque/xdocs/changes.xml,v retrieving revision 1.152 retrieving revision 1.153 diff -u -r1.152 -r1.153 --- changes.xml 17 Apr 2005 09:58:59 -0000 1.152 +++ changes.xml 17 Apr 2005 10:45:43 -0000 1.153 @@ -28,6 +28,14 @@ <body> <release version="3.2-dev" date="in CVS"> + <action type="update" dev="tfischer"> + Unify the behaviour of primary key columns. Until now, + primary key columns were not filled automatically for + idMethod=native and for platforms with + default idMethod=identity (i.e. all databases exept oracle, + postgresql and sapdb). Now, the default is that primary key + columns are always filled automatically by default. + </action> <action type="fix" dev="tfischer"> Use the cascade option for dropping tables in PostgreSQL. This allows to drop tables which have foreign keys. 1.28 +12 -3 db-torque/src/generator/src/java/org/apache/torque/engine/database/model/Column.java Index: Column.java =================================================================== RCS file: /home/cvs/db-torque/src/generator/src/java/org/apache/torque/engine/database/model/Column.java,v retrieving revision 1.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- Column.java 31 Jan 2005 19:43:56 -0000 1.27 +++ Column.java 17 Apr 2005 10:45:43 -0000 1.28 @@ -170,8 +170,17 @@ //AutoIncrement/Sequences String autoIncrement = attrib.getValue("autoIncrement"); - isAutoIncrement = ("true".equals(autoIncrement)); - + // autoincrement is false per default, + // except if the column is a primary key + // and the idMethod is native + // and the platform's default id Method is identity + // and autoIncrement is not excplicitly set to false + isAutoIncrement = ("true".equals(autoIncrement) + || (isPrimaryKey() + && IDMethod.NATIVE.equals(getTable().getIdMethod()) + && Platform.IDENTITY.equals( + getPlatform().getNativeIdMethod()) + && (!"false".equals(autoIncrement)))); //Default column value. domain.replaceDefaultValue(attrib.getValue("default")); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 17 10:46:35 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88764 invoked from network); 17 Apr 2005 10:46:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Apr 2005 10:46:35 -0000 Received: (qmail 16548 invoked by uid 500); 17 Apr 2005 10:46:35 -0000 Delivered-To: [email protected] Received: (qmail 16533 invoked by uid 500); 17 Apr 2005 10:46:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 16520 invoked by uid 500); 17 Apr 2005 10:46:34 -0000 Received: (qmail 16517 invoked by uid 99); 17 Apr 2005 10:46:34 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Sun, 17 Apr 2005 03:46:34 -0700 Received: (qmail 88754 invoked by uid 1977); 17 Apr 2005 10:46:33 -0000 Date: 17 Apr 2005 10:46:33 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: db-torque/src/generator/src/templates/sql/base/sapdb columns.vm X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N tfischer 2005/04/17 03:46:33 Modified: src/generator/src/templates/sql/base/sapdb columns.vm Log: use java generation of sql string for column Revision Changes Path 1.4 +1 -4 db-torque/src/generator/src/templates/sql/base/sapdb/columns.vm Index: columns.vm =================================================================== RCS file: /home/cvs/db-torque/src/generator/src/templates/sql/base/sapdb/columns.vm,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- columns.vm 17 Jan 2004 01:53:28 -0000 1.3 +++ columns.vm 17 Apr 2005 10:46:32 -0000 1.4 @@ -1,7 +1,4 @@ #foreach ($col in $table.Columns) - #set ( $type = $col.Domain.SqlType ) - #set ( $size = $col.printSize() ) - #set ( $default = $col.DefaultSetting ) - #set ( $entry = "$col.Name $type $size $default $col.NotNullString," ) + #set ( $entry = "$col.SqlString," ) $strings.sub($strings.collapseSpaces($entry)," ,",",") #end --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 18 12:02:41 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41122 invoked from network); 18 Apr 2005 12:02:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Apr 2005 12:02:41 -0000 Received: (qmail 932 invoked by uid 500); 18 Apr 2005 12:02:40 -0000 Delivered-To: [email protected] Received: (qmail 739 invoked by uid 500); 18 Apr 2005 12:02:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 724 invoked by uid 99); 18 Apr 2005 12:02:39 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=HTML_MESSAGE,INFO_TLD X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.fetchbook.info (HELO gc.fetchbook.info) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 18 Apr 2005 05:02:37 -0700 Received: (qmail 7673 invoked from network); 18 Apr 2005 12:02:16 -0000 Received: from unknown (HELO mickey) (161.129.204.104) by gc.fetchbook.info with SMTP; 18 Apr 2005 12:02:16 -0000 From: "Mickey Mokotov" <[email protected]> To: <[email protected]> Subject: feature request Date: Mon, 18 Apr 2005 15:01:11 +0200 Message-ID: <007901c54416$b2777670$0700000a@mickey> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_007A_01C54427.76004670" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Importance: Normal X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_NextPart_000_007A_01C54427.76004670 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi fellows, Any chance to support Criteria(String generalSqlString), for all the unsupported queries? I need a LEFT JOIN which is unsupported and so I need to construct the objects by hands, instead of letting torque do it. -- <http://www.fetchbook.info/> www.FetchBook.Info Find the lowest price - Compare more then a hundred book stores in a click. ------=_NextPart_000_007A_01C54427.76004670-- From [email protected] Mon Apr 18 12:56:28 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56735 invoked from network); 18 Apr 2005 12:56:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Apr 2005 12:56:28 -0000 Received: (qmail 83653 invoked by uid 500); 18 Apr 2005 12:56:27 -0000 Delivered-To: [email protected] Received: (qmail 83621 invoked by uid 500); 18 Apr 2005 12:56:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 83603 invoked by uid 99); 18 Apr 2005 12:56:26 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=INFO_TLD X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.seitenbau.net (HELO mail.seitenbau.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 18 Apr 2005 05:56:24 -0700 Received: from [161.129.204.104] (helo=www.seitenbau.net) by router1.seitenbau.net with esmtp (Exim 4.43) id 1DNVna-0003vv-9R for [email protected]; Mon, 18 Apr 2005 14:56:22 +0200 In-Reply-To: <007901c54416$b2777670$0700000a@mickey> Subject: RE: feature request To: "Apache Torque Developers List" <[email protected]> X-Mailer: Lotus Notes Release 6.0 September 26, 2002 Message-ID: <[email protected]> From: Thomas Fischer <[email protected]> Date: Mon, 18 Apr 2005 14:56:21 +0200 X-MIMETrack: Serialize by Router on www/seitenbau(Release 6.5.1|January 21, 2004) at 18.04.2005 02:56:21 PM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Mickey, left joins are available in the CVS version, in the Branches HEAD and TORQUE_3_1_BRANCH. I am not sure whether Criteria(String generalSqlString) makes sense, for the following reason : Torque relies on the selected columns being in a special order to create the object, so I would not let the user create the columns to select from as part of the SQL query. To do that, Torque also needs to know the table to include in the FROM clause. The columns to select from and the table in the from clause can be obtained from the Peer with which the select is done. But if the "Select XXX from YYY" part is autogenerated, then one cannot handle complicated cases like joins. I can currently not see an acceptable way of how this could be implemented, but I am certainly open to suggestions. Are there any ? Thomas "Mickey Mokotov" <[email protected]> schrieb am 18.04.2005 15:01:11: > Hi fellows, > > Any chance to support Criteria(String generalSqlString), for all the > unsupported queries? > I need a LEFT JOIN which is unsupported and so I need to construct the > objects by hands, instead of letting torque do it. > > -- > <http://www.fetchbook.info/> www.FetchBook.Info > Find the lowest price - Compare more then a hundred book stores in a click. > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 18 13:55:02 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89701 invoked from network); 18 Apr 2005 13:55:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Apr 2005 13:55:02 -0000 Received: (qmail 16052 invoked by uid 500); 18 Apr 2005 13:54:18 -0000 Delivered-To: [email protected] Received: (qmail 15970 invoked by uid 500); 18 Apr 2005 13:54:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 15929 invoked by uid 99); 18 Apr 2005 13:54:16 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 18 Apr 2005 06:54:14 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 32ADB288; Mon, 18 Apr 2005 15:54:10 +0200 (CEST) Message-ID: <1758713011.1113832450907.JavaMail.scarab@localhost> Date: Mon, 18 Apr 2005 15:54:10 +0200 (CEST) From: Fabio Insaccanebbia <[email protected]> Reply-To: Scarab System <[email protected]> To: Christoph Zenger <[email protected]> Subject: [SOURCE] Issue #TRQS264 modified Cc: "[email protected]" <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS264 Type Defect Issue ID TRQS264 (The usual timestamp format in a data xml is not accepted by Oracle in generated INSERT) Modified by Fabio Insaccanebbia insacca ([email protected]) The following modifications were made to this issue: --------------------------------------------------------------------- Added comment to issue 'Is there a way in Torque to execute a preliminary script avery time you connect to a db? If that's the case, for Oracle you could set the following instructions: alter session set nls_date_format = 'YYYY-MM-DD HH24:MI:SS';...' --------------------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 18 13:57:46 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90928 invoked from network); 18 Apr 2005 13:57:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Apr 2005 13:57:46 -0000 Received: (qmail 25861 invoked by uid 500); 18 Apr 2005 13:57:32 -0000 Delivered-To: [email protected] Received: (qmail 25821 invoked by uid 500); 18 Apr 2005 13:57:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 25760 invoked by uid 99); 18 Apr 2005 13:57:30 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 18 Apr 2005 06:57:28 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id F0415288; Mon, 18 Apr 2005 15:57:24 +0200 (CEST) Message-ID: <374290155.1113832644982.JavaMail.scarab@localhost> Date: Mon, 18 Apr 2005 15:57:24 +0200 (CEST) From: Fabio Insaccanebbia <[email protected]> Reply-To: Scarab System <[email protected]> To: Dana P'Simer <[email protected]> Subject: [SOURCE] Issue #TRQS270 modified Cc: "[email protected]" <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS270 Type Defect Issue ID TRQS270 (maven plugin does not set the delimiter correctly when running insert sql for an oracle database) Modified by Fabio Insaccanebbia insacca ([email protected]) The following modifications were made to this issue: --------------------------------------------------------------------- Added comment to issue 'Isn't this related to TRQS222?' --------------------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 18 14:20:59 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99913 invoked from network); 18 Apr 2005 14:20:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Apr 2005 14:20:59 -0000 Received: (qmail 84792 invoked by uid 500); 18 Apr 2005 14:20:57 -0000 Delivered-To: [email protected] Received: (qmail 84750 invoked by uid 500); 18 Apr 2005 14:20:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 84725 invoked by uid 99); 18 Apr 2005 14:20:55 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 18 Apr 2005 07:20:54 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id B607B288; Mon, 18 Apr 2005 16:20:50 +0200 (CEST) Message-ID: <189158920.1113834050617.JavaMail.scarab@localhost> Date: Mon, 18 Apr 2005 16:20:50 +0200 (CEST) From: thomas fischer <[email protected]> Reply-To: Scarab System <[email protected]> To: Dana P'Simer <[email protected]> Subject: [SOURCE] Issue #TRQS270 modified Cc: "[email protected]" <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS270 Type Defect Issue ID TRQS270 (maven plugin does not set the delimiter correctly when running insert sql for an oracle database) Modified by thomas fischer [email protected] ([email protected]) The following modifications were made to this issue: --------------------------------------------------------------------- Added comment to issue 'I would guess so. Dana, can you please tell us if this is the case ? If yes, this issue can be closed, because although TRQS222 is contained in Torque 3.1.1, it is not anymore in CVS, because it produces invalid sql scripts...' --------------------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 18 14:30:19 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5700 invoked from network); 18 Apr 2005 14:30:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Apr 2005 14:30:19 -0000 Received: (qmail 8336 invoked by uid 500); 18 Apr 2005 14:29:46 -0000 Delivered-To: [email protected] Received: (qmail 8312 invoked by uid 500); 18 Apr 2005 14:29:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 8275 invoked by uid 99); 18 Apr 2005 14:29:45 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=INFO_TLD X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.fetchbook.info (HELO gc.fetchbook.info) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 18 Apr 2005 07:29:43 -0700 Received: (qmail 32704 invoked from network); 18 Apr 2005 14:29:22 -0000 Received: from unknown (HELO mickey) (161.129.204.104) by gc.fetchbook.info with SMTP; 18 Apr 2005 14:29:22 -0000 From: "Mickey Mokotov" <[email protected]> To: "'Apache Torque Developers List'" <[email protected]> Subject: RE: feature request Date: Mon, 18 Apr 2005 17:28:16 +0200 Message-ID: <009001c5442b$3eac02f0$0700000a@mickey> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Importance: Normal In-Reply-To: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi there, It's good to know that we support left joins. I still have a problem though - I need to query two different databases = on the same query: SELECT * FROM db1.tablex, db2.tabley WHERE tablex.a=3Dtabley.b; I really think we should find a way to allow queries to not-yet-supported-selects, it's the second time I'm facing the problem, = and it's not a nice one to tackle... --=20 www.FetchBook.Info Find the lowest price - Compare more then a hundred book stores in a = click. -----Original Message----- From: Thomas Fischer [mailto:[email protected]]=20 Sent: Monday, April 18, 2005 2:56 PM To: Apache Torque Developers List Subject: RE: feature request Hi Mickey, left joins are available in the CVS version, in the Branches HEAD and TORQUE_3_1_BRANCH. I am not sure whether Criteria(String generalSqlString) makes sense, for = the following reason : Torque relies on the selected columns being in a = special order to create the object, so I would not let the user create the = columns to select from as part of the SQL query. To do that, Torque also needs = to know the table to include in the FROM clause. The columns to select from = and the table in the from clause can be obtained from the Peer with which = the select is done. But if the "Select XXX from YYY" part is autogenerated, = then one cannot handle complicated cases like joins. I can currently not see an acceptable way of how this could be = implemented, but I am certainly open to suggestions. Are there any ? Thomas "Mickey Mokotov" <[email protected]> schrieb am 18.04.2005 15:01:11: > Hi fellows, > > Any chance to support Criteria(String generalSqlString), for all the=20 > unsupported queries? I need a LEFT JOIN which is unsupported and so I=20 > need to construct the objects by hands, instead of letting torque do=20 > it. > > -- > <http://www.fetchbook.info/> www.FetchBook.Info > Find the lowest price - Compare more then a hundred book stores in a click. > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 18 14:30:24 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5793 invoked from network); 18 Apr 2005 14:30:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Apr 2005 14:30:24 -0000 Received: (qmail 10842 invoked by uid 500); 18 Apr 2005 14:30:13 -0000 Delivered-To: [email protected] Received: (qmail 10796 invoked by uid 500); 18 Apr 2005 14:30:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 10734 invoked by uid 99); 18 Apr 2005 14:30:12 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 18 Apr 2005 07:30:10 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 9D884288; Mon, 18 Apr 2005 16:30:07 +0200 (CEST) Message-ID: <1090391825.1113834607610.JavaMail.scarab@localhost> Date: Mon, 18 Apr 2005 16:30:07 +0200 (CEST) From: thomas fischer <[email protected]> Reply-To: Scarab System <[email protected]> To: Christoph Zenger <[email protected]> Subject: [SOURCE] Issue #TRQS264 modified Cc: "[email protected]" <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS264 Type Defect Issue ID TRQS264 (The usual timestamp format in a data xml is not accepted by Oracle in generated INSERT) Modified by thomas fischer [email protected] ([email protected]) The following modifications were made to this issue: --------------------------------------------------------------------- Added comment to issue 'Well, I would rather use the format in the adapter class, and add an additional method to format timestamps, as proposed in TRQS284. But I have not looked into this in detail, so no guarantee that this works. I do not know ...' --------------------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 18 15:50:22 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30928 invoked from network); 18 Apr 2005 15:50:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Apr 2005 15:50:22 -0000 Received: (qmail 30473 invoked by uid 500); 18 Apr 2005 15:50:19 -0000 Delivered-To: [email protected] Received: (qmail 30446 invoked by uid 500); 18 Apr 2005 15:50:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 30426 invoked by uid 99); 18 Apr 2005 15:50:18 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=INFO_TLD X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.seitenbau.net (HELO mail.seitenbau.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 18 Apr 2005 08:50:14 -0700 Received: from [161.129.204.104] (helo=www.seitenbau.net) by router1.seitenbau.net with esmtp (Exim 4.43) id 1DNYVh-0005FS-HT for [email protected]; Mon, 18 Apr 2005 17:50:05 +0200 In-Reply-To: <009001c5442b$3eac02f0$0700000a@mickey> Subject: RE: feature request To: "Apache Torque Developers List" <[email protected]> X-Mailer: Lotus Notes Release 6.0 September 26, 2002 Message-ID: <[email protected]> From: Thomas Fischer <[email protected]> Date: Mon, 18 Apr 2005 17:50:04 +0200 X-MIMETrack: Serialize by Router on www/seitenbau(Release 6.5.1|January 21, 2004) at 18.04.2005 05:50:05 PM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Mickey, I am not quite sure this time, but your query should work out of the box if you use the CVS version, prepend database names to the Table name in schema.xml. Henning has done a lot for schema support there. Generate thge docs by invokin "maven xdoc" in the root of the cvs version and see the menu item "DB Schema support" I have no idea how to create such a query on the fly. Maybe something in the archives of the user list can be found. The main problem seems to me to create q query where one column value is compared to another column value, but I am not sure. Again, in my opinion the code to compose the right query for the join from a string would be quite difficult. My guess is that a "select * " will not do and will return the wrong order of columns, leading to disastrous results. You might want to create a scarab issue in order that this is not forgotten, but personally I do not see this code appear in the near future ;-( Thomas "Mickey Mokotov" <[email protected]> schrieb am 18.04.2005 17:28:16: > Hi there, > > It's good to know that we support left joins. > I still have a problem though - I need to query two different databases on > the same query: > SELECT * FROM db1.tablex, db2.tabley WHERE tablex.a=tabley.b; > > I really think we should find a way to allow queries to > not-yet-supported-selects, it's the second time I'm facing the problem, and > it's not a nice one to tackle... > > -- > www.FetchBook.Info > Find the lowest price - Compare more then a hundred book stores in a click. > > > -----Original Message----- > From: Thomas Fischer [mailto:[email protected]] > Sent: Monday, April 18, 2005 2:56 PM > To: Apache Torque Developers List > Subject: RE: feature request > > > > > > > Hi Mickey, > > left joins are available in the CVS version, in the Branches HEAD and > TORQUE_3_1_BRANCH. > > I am not sure whether Criteria(String generalSqlString) makes sense, for the > following reason : Torque relies on the selected columns being in a special > order to create the object, so I would not let the user create the columns > to select from as part of the SQL query. To do that, Torque also needs to > know the table to include in the FROM clause. The columns to select from and > the table in the from clause can be obtained from the Peer with which the > select is done. But if the "Select XXX from YYY" part is autogenerated, then > one cannot handle complicated cases like joins. > > I can currently not see an acceptable way of how this could be implemented, > but I am certainly open to suggestions. Are there any ? > > Thomas > > "Mickey Mokotov" <[email protected]> schrieb am 18.04.2005 15:01:11: > > > Hi fellows, > > > > Any chance to support Criteria(String generalSqlString), for all the > > unsupported queries? I need a LEFT JOIN which is unsupported and so I > > need to construct the objects by hands, instead of letting torque do > > it. > > > > -- > > <http://www.fetchbook.info/> www.FetchBook.Info > > Find the lowest price - Compare more then a hundred book stores in a > click. > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 19 06:28:06 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68516 invoked from network); 19 Apr 2005 06:28:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Apr 2005 06:28:05 -0000 Received: (qmail 8509 invoked by uid 500); 19 Apr 2005 06:27:55 -0000 Delivered-To: [email protected] Received: (qmail 8432 invoked by uid 500); 19 Apr 2005 06:27:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 8392 invoked by uid 99); 19 Apr 2005 06:27:54 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from pc7.tewisoft.TGZ-Ilmenau.de (HELO gate-mail.tewisoft.de) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 18 Apr 2005 23:27:52 -0700 Received: from localhost (localhost [161.129.204.104]) by gate-mail.tewisoft.de (Postfix) with ESMTP id 8EAB2FA38 for <[email protected]>; Tue, 19 Apr 2005 08:27:54 +0200 (CEST) Received: from gate-mail.tewisoft.de (localhost [161.129.204.104]) by localhost (AvMailGate-161.129.204.104) id 21584-48E1983F; Tue, 19 Apr 2005 08:27:54 +0200 Received: from mail.tewisoft.de (unknown [161.129.204.104]) by gate-mail.tewisoft.de (Postfix) with ESMTP id 6ECE47EAB for <[email protected]>; Tue, 19 Apr 2005 08:27:54 +0200 (CEST) Received: by mail.tewisoft.de (Postfix, from userid 65534) id C30BB38121; Tue, 19 Apr 2005 08:27:44 +0200 (CEST) Received: from localhost (localhost [161.129.204.104]) by mail.tewisoft.de (Postfix) with ESMTP id DEF8A3814D; Tue, 19 Apr 2005 08:27:34 +0200 (CEST) Received: from [161.129.204.104] (shell10.tewisoft.de [161.129.204.104]) by mail.tewisoft.de (Postfix) with ESMTP id 8CD7932C62 for <[email protected]>; Tue, 19 Apr 2005 08:27:34 +0200 (CEST) Message-ID: <[email protected]> Date: Tue, 19 Apr 2005 08:27:34 +0200 From: Thomas Vandahl <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.6) Gecko/20050319 X-Accept-Language: de-de, en-us MIME-Version: 1.0 To: Apache Torque Developers List <[email protected]> Subject: Re: feature request References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS snapshot-20020531 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on mail.tewisoft.de X-Spam-Level: X-Spam-Status: No, score=-110.2 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_50, USER_IN_WHITELIST,USER_IN_WHITELIST_TO autolearn=ham version=3.0.2 X-AntiVirus: checked by AntiVir MailGate (version: 161.129.204.104; AVE: 161.129.204.104; VDF: 161.129.204.104; host: mail.tewisoft.de) X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thomas Fischer wrote: > I have no idea how to create such a query on the fly. Maybe something in > the archives of the user list can be found. The main problem seems to me to > create q query where one column value is compared to another column value, > but I am not sure. There is "Criteria.add(column, object, Criteria.CUSTOM)" as in criteria.add(alias + ".IDPERSON", (Object)(alias + ".IDPERSON=" + PersonPeer.IDPERSON), Criteria.CUSTOM); It has proven to work in this case. > Again, in my opinion the code to compose the right query for the join from > a string would be quite difficult. My guess is that a "select * " will not > do and will return the wrong order of columns, leading to disastrous > results. Well, if you are aware of the fact that you need to handle Village Records in this case, you can always use BasePeer.executeQuery(). Bye, Thomas. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 19 07:02:42 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78126 invoked from network); 19 Apr 2005 07:02:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Apr 2005 07:02:42 -0000 Received: (qmail 65330 invoked by uid 500); 19 Apr 2005 07:02:40 -0000 Delivered-To: [email protected] Received: (qmail 65304 invoked by uid 500); 19 Apr 2005 07:02:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 65291 invoked by uid 99); 19 Apr 2005 07:02:40 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.seitenbau.net (HELO mail.seitenbau.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 19 Apr 2005 00:02:37 -0700 Received: from [161.129.204.104] (helo=www.seitenbau.net) by router1.seitenbau.net with esmtp (Exim 4.43) id 1DNmkk-0000qb-B8 for [email protected]; Tue, 19 Apr 2005 09:02:34 +0200 In-Reply-To: <[email protected]> Subject: Re: feature request To: "Apache Torque Developers List" <[email protected]> X-Mailer: Lotus Notes Release 6.0 September 26, 2002 Message-ID: <[email protected]> From: Thomas Fischer <[email protected]> Date: Tue, 19 Apr 2005 09:02:33 +0200 X-MIMETrack: Serialize by Router on www/seitenbau(Release 6.5.1|January 21, 2004) at 19.04.2005 09:02:33 AM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thomas Vandahl <[email protected]> schrieb am 19.04.2005 08:27:34: > Thomas Fischer wrote: > > I have no idea how to create such a query on the fly. Maybe something in > > the archives of the user list can be found. The main problem seems to me to > > create q query where one column value is compared to another column value, > > but I am not sure. > > There is "Criteria.add(column, object, Criteria.CUSTOM)" as in > > criteria.add(alias + ".IDPERSON", (Object)(alias + ".IDPERSON=" + > PersonPeer.IDPERSON), Criteria.CUSTOM); > > It has proven to work in this case. Good one. I did not know that. > > Again, in my opinion the code to compose the right query for the join from > > a string would be quite difficult. My guess is that a "select * " will not > > do and will return the wrong order of columns, leading to disastrous > > results. > > Well, if you are aware of the fact that you need to handle Village > Records in this case, you can always use BasePeer.executeQuery(). > This also came into my mind. The point is that one does not want to bother about village records, but one wants to fill the data objects with the result of the query, and this is the difficult part, and where the column order comes in. I do see Mickeys point, but I do not see an easy way to implement that feature, athough it would certainly be helpful. Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 19 10:42:43 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80498 invoked from network); 19 Apr 2005 10:42:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Apr 2005 10:42:43 -0000 Received: (qmail 13409 invoked by uid 500); 19 Apr 2005 10:42:37 -0000 Delivered-To: [email protected] Received: (qmail 13367 invoked by uid 500); 19 Apr 2005 10:42:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 13349 invoked by uid 99); 19 Apr 2005 10:42:36 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from pc7.tewisoft.TGZ-Ilmenau.de (HELO gate-mail.tewisoft.de) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 19 Apr 2005 03:42:35 -0700 Received: from localhost (localhost [161.129.204.104]) by gate-mail.tewisoft.de (Postfix) with ESMTP id 54A53FA38 for <[email protected]>; Tue, 19 Apr 2005 12:42:29 +0200 (CEST) Received: from gate-mail.tewisoft.de (localhost [161.129.204.104]) by localhost (AvMailGate-161.129.204.104) id 22566-2BD802A0; Tue, 19 Apr 2005 12:42:29 +0200 Received: from mail.tewisoft.de (unknown [161.129.204.104]) by gate-mail.tewisoft.de (Postfix) with ESMTP id 41C337EAB for <[email protected]>; Tue, 19 Apr 2005 12:42:29 +0200 (CEST) Received: by mail.tewisoft.de (Postfix, from userid 65534) id (816)560-1336; Tue, 19 Apr 2005 12:42:26 +0200 (CEST) Received: from localhost (localhost [161.129.204.104]) by mail.tewisoft.de (Postfix) with ESMTP id 902FF38171; Tue, 19 Apr 2005 12:42:11 +0200 (CEST) Received: from [161.129.204.104] (shell10.tewisoft.de [161.129.204.104]) by mail.tewisoft.de (Postfix) with ESMTP id 720913812F for <[email protected]>; Tue, 19 Apr 2005 12:42:10 +0200 (CEST) Message-ID: <[email protected]> Date: Tue, 19 Apr 2005 12:42:10 +0200 From: Thomas Vandahl <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.7) Gecko/20050414 X-Accept-Language: de-de, en-us MIME-Version: 1.0 To: Apache Torque Developers List <[email protected]> Subject: Re: feature request References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS snapshot-20020531 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on mail.tewisoft.de X-Spam-Level: X-Spam-Status: No, score=-110.1 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_50, USER_IN_WHITELIST,USER_IN_WHITELIST_TO autolearn=ham version=3.0.2 X-AntiVirus: checked by AntiVir MailGate (version: 161.129.204.104; AVE: 161.129.204.104; VDF: 161.129.204.104; host: mail.tewisoft.de) X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thomas Fischer wrote: > This also came into my mind. The point is that one does not want to bother > about village records, but one wants to fill the data objects with the > result of the query, and this is the difficult part, and where the column > order comes in. I beg to differ. I use databases with a lot of m:n relations. Torque does not support this very well. So I began to use my own sets of select columns which sometimes are distributed over more than 10 tables. There is no way around BasePeer in this case (at least I didn't find one). Bye, Thomas. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 19 11:19:31 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92265 invoked from network); 19 Apr 2005 11:19:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Apr 2005 11:19:31 -0000 Received: (qmail 69066 invoked by uid 500); 19 Apr 2005 11:19:29 -0000 Delivered-To: [email protected] Received: (qmail 69031 invoked by uid 500); 19 Apr 2005 11:19:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 68995 invoked by uid 99); 19 Apr 2005 11:19:28 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=TO_ADDRESS_EQ_REAL X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 19 Apr 2005 04:19:26 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 3661C2DD for <[email protected]>; Tue, 19 Apr 2005 13:19:24 +0200 (CEST) Message-ID: <1130617770.1113909564220.JavaMail.scarab@localhost> Date: Tue, 19 Apr 2005 13:19:24 +0200 (CEST) From: thomas fischer <[email protected]> Reply-To: Scarab System <[email protected]> To: "[email protected]" <[email protected]> Subject: [SOURCE] Issue #TRQS284 modified Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS284 Type Defect Issue ID TRQS284 (No distinction between date and timestamp format in db adapters) Modified by thomas fischer [email protected] ([email protected]) The following modifications were made to this issue: --------------------------------------------------------------------- Added comment to issue 'We also need to check where the methods in dbAdapter are used, and perhaps add new methods. For example, someone in the users list had difficulties to create a criteria using a date column. However, this was against an oracle ...' --------------------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 19 11:30:48 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95490 invoked from network); 19 Apr 2005 11:30:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Apr 2005 11:30:47 -0000 Received: (qmail 93576 invoked by uid 500); 19 Apr 2005 11:30:36 -0000 Delivered-To: [email protected] Received: (qmail 93517 invoked by uid 500); 19 Apr 2005 11:30:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 93474 invoked by uid 99); 19 Apr 2005 11:30:35 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.seitenbau.net (HELO mail.seitenbau.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 19 Apr 2005 04:30:32 -0700 Received: from [161.129.204.104] (helo=www.seitenbau.net) by router1.seitenbau.net with esmtp (Exim 4.43) id 1DNqw0-0002af-EO for [email protected]; Tue, 19 Apr 2005 13:30:28 +0200 In-Reply-To: <[email protected]> Subject: Re: feature request To: "Apache Torque Developers List" <[email protected]> X-Mailer: Lotus Notes Release 6.0 September 26, 2002 Message-ID: <[email protected]> From: Thomas Fischer <[email protected]> Date: Tue, 19 Apr 2005 13:30:27 +0200 X-MIMETrack: Serialize by Router on www/seitenbau(Release 6.5.1|January 21, 2004) at 19.04.2005 01:30:27 PM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N It seems that you have the same problems as me. So on the feature side of Torque, I would like to improve 1:n relations (which is the first step towards improving m:n relations). It would be great if Torque would support m:n relations out of the box, but this is certainly a lot of work. Also, I would like to be able to define views in the database schema. Views could would come in two flavours: a sort of view which is defined in the db, and a sort of "soft view" which can be defined using criteria (e.g. the XXXBasePeer class could have an abstract column which has to be implemented by criteria). But none of this is done in one or two days, so I couldn't grab enough energy and time to start on it. Besides, there are also the bugs, and maybe a new release at some point which needs preparing... Thomas Thomas Vandahl <[email protected]> schrieb am 19.04.2005 12:42:10: > Thomas Fischer wrote: > > This also came into my mind. The point is that one does not want to bother > > about village records, but one wants to fill the data objects with the > > result of the query, and this is the difficult part, and where the column > > order comes in. > > I beg to differ. I use databases with a lot of m:n relations. Torque > does not support this very well. So I began to use my own sets of select > columns which sometimes are distributed over more than 10 tables. There > is no way around BasePeer in this case (at least I didn't find one). > > Bye, Thomas. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 19 11:35:14 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 96735 invoked from network); 19 Apr 2005 11:35:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Apr 2005 11:35:14 -0000 Received: (qmail 1759 invoked by uid 500); 19 Apr 2005 11:35:07 -0000 Delivered-To: [email protected] Received: (qmail 1726 invoked by uid 500); 19 Apr 2005 11:35:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 1701 invoked by uid 99); 19 Apr 2005 11:35:06 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 19 Apr 2005 04:35:05 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 39146288; Tue, 19 Apr 2005 13:35:02 +0200 (CEST) Message-ID: <1718358790.1113910502911.JavaMail.scarab@localhost> Date: Tue, 19 Apr 2005 13:35:02 +0200 (CEST) From: thomas fischer <[email protected]> Reply-To: Scarab System <[email protected]> To: Christoph Zenger <[email protected]> Subject: [SOURCE] Issue #TRQS263 modified Cc: "[email protected]" <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS263 Type Defect Issue ID TRQS263 (Oracle uses DATE instead of TIMESTAMP (problem with msecs)) Modified by thomas fischer [email protected] ([email protected]) The following modifications were made to this issue: --------------------------------------------------------------------- Status changed from "Closed" to "Reopened" Reason: I have just learned that up to and including oracle 8.1.7, Timestamp is not supported. This needs to be mentioned in the Oracle Howto --------------------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 19 12:10:06 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3656 invoked from network); 19 Apr 2005 12:10:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Apr 2005 12:10:06 -0000 Received: (qmail 52632 invoked by uid 500); 19 Apr 2005 12:09:45 -0000 Delivered-To: [email protected] Received: (qmail 52599 invoked by uid 500); 19 Apr 2005 12:09:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 52542 invoked by uid 99); 19 Apr 2005 12:09:45 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 19 Apr 2005 05:09:43 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id B9568288; Tue, 19 Apr 2005 14:09:37 +0200 (CEST) Message-ID: <1084028932.1113912577407.JavaMail.scarab@localhost> Date: Tue, 19 Apr 2005 14:09:37 +0200 (CEST) From: thomas fischer <[email protected]> Reply-To: Scarab System <[email protected]> To: Dana P'Simer <[email protected]> Subject: [SOURCE] Issue #TRQS270 modified Cc: "[email protected]" <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS270 Type Defect Issue ID TRQS270 (maven plugin does not set the delimiter correctly when running insert sql for an oracle database) Modified by thomas fischer [email protected] ([email protected]) The following modifications were made to this issue: --------------------------------------------------------------------- Added comment to issue 'Comment by Dana P'Simer Yes, this appears to be the same issue. Perhaps another solution would be to change the ant scripts to use SQL*Plus to execute the script instead of ant's built in processor. That way you could g...' --------------------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 19 12:21:28 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8191 invoked from network); 19 Apr 2005 12:21:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Apr 2005 12:21:28 -0000 Received: (qmail 73697 invoked by uid 500); 19 Apr 2005 12:21:28 -0000 Delivered-To: [email protected] Received: (qmail 73663 invoked by uid 500); 19 Apr 2005 12:21:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 73633 invoked by uid 99); 19 Apr 2005 12:21:26 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 19 Apr 2005 05:21:25 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 4DB252DD; Tue, 19 Apr 2005 14:21:22 +0200 (CEST) Message-ID: <133401381.1113913282316.JavaMail.scarab@localhost> Date: Tue, 19 Apr 2005 14:21:22 +0200 (CEST) From: thomas fischer <[email protected]> Reply-To: Scarab System <[email protected]> To: thierry lach <[email protected]> Subject: [SOURCE] Issue #TRQS222 modified Cc: "[email protected]" <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS222 Type Patch Issue ID TRQS222 (Oracle DROP TABLE patch) Modified by thomas fischer [email protected] ([email protected]) The following modifications were made to this issue: --------------------------------------------------------------------- Added comment to issue 'Dana P'Simer suggested in TRQS270 that one could also use a SQLPlus console to execute the ant command, instead of using JDBC. I would not favour this solution, because it means that one has to have SQLPlus installed on the...' --------------------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 19 12:31:12 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10537 invoked from network); 19 Apr 2005 12:31:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Apr 2005 12:31:12 -0000 Received: (qmail 95424 invoked by uid 500); 19 Apr 2005 12:31:11 -0000 Delivered-To: [email protected] Received: (qmail 95410 invoked by uid 500); 19 Apr 2005 12:31:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 95393 invoked by uid 99); 19 Apr 2005 12:31:10 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=INFO_TLD X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.fetchbook.info (HELO gc.fetchbook.info) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 19 Apr 2005 05:31:09 -0700 Received: (qmail 12961 invoked from network); 19 Apr 2005 12:30:46 -0000 Received: from unknown (HELO mickey) (161.129.204.104) by gc.fetchbook.info with SMTP; 19 Apr 2005 12:30:46 -0000 From: "Mickey Mokotov" <[email protected]> To: "'Apache Torque Developers List'" <[email protected]> Subject: RE: feature request Date: Tue, 19 Apr 2005 15:29:36 +0200 Message-ID: <00ca01c544e3$d52b0b00$0700000a@mickey> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Importance: Normal In-Reply-To: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I thought that the executeQuery() method is somewhat of implementation, and not a real part of the interface. If this is the case, if one day we decide to change implementation I'm stuck... -- www.FetchBook.Info Find the lowest price - Compare more then a hundred book stores in a click. -----Original Message----- From: Thomas Vandahl [mailto:[email protected]] Sent: Tuesday, April 19, 2005 8:28 AM To: Apache Torque Developers List Subject: Re: feature request Thomas Fischer wrote: > I have no idea how to create such a query on the fly. Maybe something > in the archives of the user list can be found. The main problem seems > to me to create q query where one column value is compared to another > column value, but I am not sure. There is "Criteria.add(column, object, Criteria.CUSTOM)" as in criteria.add(alias + ".IDPERSON", (Object)(alias + ".IDPERSON=" + PersonPeer.IDPERSON), Criteria.CUSTOM); It has proven to work in this case. > Again, in my opinion the code to compose the right query for the join > from a string would be quite difficult. My guess is that a "select * " > will not do and will return the wrong order of columns, leading to > disastrous results. Well, if you are aware of the fact that you need to handle Village Records in this case, you can always use BasePeer.executeQuery(). Bye, Thomas. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 19 12:44:49 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14199 invoked from network); 19 Apr 2005 12:44:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Apr 2005 12:44:48 -0000 Received: (qmail 25287 invoked by uid 500); 19 Apr 2005 12:44:11 -0000 Delivered-To: [email protected] Received: (qmail 25204 invoked by uid 500); 19 Apr 2005 12:44:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 25170 invoked by uid 99); 19 Apr 2005 12:44:10 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=INFO_TLD X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.seitenbau.net (HELO mail.seitenbau.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 19 Apr 2005 05:44:04 -0700 Received: from [161.129.204.104] (helo=www.seitenbau.net) by router1.seitenbau.net with esmtp (Exim 4.43) id 1DNs51-00032M-Sx for [email protected]; Tue, 19 Apr 2005 14:43:51 +0200 In-Reply-To: <00ca01c544e3$d52b0b00$0700000a@mickey> Subject: RE: feature request To: "Apache Torque Developers List" <[email protected]> X-Mailer: Lotus Notes Release 6.0 September 26, 2002 Message-ID: <[email protected]> From: Thomas Fischer <[email protected]> Date: Tue, 19 Apr 2005 14:43:51 +0200 X-MIMETrack: Serialize by Router on www/seitenbau(Release 6.5.1|January 21, 2004) at 19.04.2005 02:43:51 PM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Good point. In fact, as there are some problems with village (it is not supported any more, and has some problems which need fixing), the idea is to replace village at some point. Then, the doSelectVillageRecords will also disappear, though probably there will be some replacement. But as there are few active commiters on Torque, it is not probable that this will happen soon :-( Thomas "Mickey Mokotov" <[email protected]> schrieb am 19.04.2005 15:29:36: > I thought that the executeQuery() method is somewhat of implementation, and > not a real part of the interface. > If this is the case, if one day we decide to change implementation I'm > stuck... > > -- > www.FetchBook.Info > Find the lowest price - Compare more then a hundred book stores in a click. > > > -----Original Message----- > From: Thomas Vandahl [mailto:[email protected]] > Sent: Tuesday, April 19, 2005 8:28 AM > To: Apache Torque Developers List > Subject: Re: feature request > > > Thomas Fischer wrote: > > I have no idea how to create such a query on the fly. Maybe something > > in the archives of the user list can be found. The main problem seems > > to me to create q query where one column value is compared to another > > column value, but I am not sure. > > There is "Criteria.add(column, object, Criteria.CUSTOM)" as in > > criteria.add(alias + ".IDPERSON", (Object)(alias + ".IDPERSON=" + > PersonPeer.IDPERSON), Criteria.CUSTOM); > > It has proven to work in this case. > > > Again, in my opinion the code to compose the right query for the join > > from a string would be quite difficult. My guess is that a "select * " > > will not do and will return the wrong order of columns, leading to > > disastrous results. > > Well, if you are aware of the fact that you need to handle Village > Records in this case, you can always use BasePeer.executeQuery(). > > Bye, Thomas. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 19 17:40:08 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37960 invoked from network); 19 Apr 2005 17:40:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Apr 2005 17:40:08 -0000 Received: (qmail 60237 invoked by uid 500); 19 Apr 2005 17:40:06 -0000 Delivered-To: [email protected] Received: (qmail 60192 invoked by uid 500); 19 Apr 2005 17:40:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 60176 invoked by uid 99); 19 Apr 2005 17:40:05 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from Unknown (HELO e2kmtl1.internal.sungard.corp) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 19 Apr 2005 10:40:04 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: Insert and Update Date: Tue, 19 Apr 2005 13:40:01 -0400 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: feature request Thread-Index: AcVE3ZPY0HUrzmwrT4SvDsIUCbXKZwAKNiyA From: <[email protected]> To: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi all!=20 I'm looking for insert and update that are using prepared statements. Torque supports select that are using prepared statements. However I don't see anything regarding inserts and updates. Am I looking the wrong place or is this something that Torque does not support? Thx! Martin Goulet --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Apr 20 16:26:54 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22435 invoked from network); 20 Apr 2005 16:26:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Apr 2005 16:26:48 -0000 Received: (qmail 58740 invoked by uid 500); 20 Apr 2005 07:25:25 -0000 Delivered-To: [email protected] Received: (qmail 58711 invoked by uid 500); 20 Apr 2005 07:25:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 58694 invoked by uid 99); 20 Apr 2005 07:25:24 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.seitenbau.net (HELO mail.seitenbau.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 20 Apr 2005 00:25:24 -0700 Received: from [161.129.204.104] (helo=www.seitenbau.net) by router1.seitenbau.net with esmtp (Exim 4.43) id 1DO9aL-0008G8-MT for [email protected]; Wed, 20 Apr 2005 09:25:22 +0200 In-Reply-To: <[email protected]> Subject: RE: Insert and Update To: "Apache Torque Developers List" <[email protected]> X-Mailer: Lotus Notes Release 6.0 September 26, 2002 Message-ID: <[email protected]> From: Thomas Fischer <[email protected]> Date: Wed, 20 Apr 2005 09:25:20 +0200 X-MIMETrack: Serialize by Router on www/seitenbau(Release 6.5.1|January 21, 2004) at 20.04.2005 09:25:21 AM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Martin, Torque uses prepared statements for all its inserts and updates. No need to specify anything. Look at the code in village's Record class if you want to look yourself. Thomas <[email protected]> schrieb am 19.04.2005 19:40:01: > Hi all! > > > I'm looking for insert and update that are using prepared statements. > Torque supports > select that are using prepared statements. However I don't see anything > regarding > inserts and updates. Am I looking the wrong place or is this something > that Torque > does not support? > > > Thx! > > > Martin Goulet > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Apr 20 16:48:58 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 19013 invoked from network); 20 Apr 2005 16:48:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Apr 2005 16:48:56 -0000 Received: (qmail 99873 invoked by uid 500); 20 Apr 2005 07:48:43 -0000 Delivered-To: [email protected] Received: (qmail 99848 invoked by uid 500); 20 Apr 2005 07:48:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 99835 invoked by uid 99); 20 Apr 2005 07:48:42 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=TO_ADDRESS_EQ_REAL X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 20 Apr 2005 00:48:41 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id F1DA22DD for <[email protected]>; Wed, 20 Apr 2005 09:48:39 +0200 (CEST) Message-ID: <661156992.1113983319988.JavaMail.scarab@localhost> Date: Wed, 20 Apr 2005 09:48:39 +0200 (CEST) From: thomas fischer <[email protected]> Reply-To: Scarab System <[email protected]> To: "[email protected]" <[email protected]> Subject: [SOURCE] Issue #TRQS294 - Torque shutdown does not shutdown database pools Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS294 Type Defect Issue ID TRQS294 (Torque shutdown does not shutdown database pools) Reported by thomas fischer [email protected] ([email protected]) New issue details: --------------------------------------------------------- Status set to "New" Description set to "Torque.shutdown() should be th..." Priority set to "Medium" Issue created Summary set to " Torque shutdown does not shut..." --------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 22 05:31:09 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46849 invoked from network); 22 Apr 2005 05:31:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Apr 2005 05:31:09 -0000 Received: (qmail 88680 invoked by uid 500); 22 Apr 2005 05:31:27 -0000 Delivered-To: [email protected] Received: (qmail 88651 invoked by uid 500); 22 Apr 2005 05:31:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 88636 invoked by uid 500); 22 Apr 2005 05:31:26 -0000 Received: (qmail 88633 invoked by uid 99); 22 Apr 2005 05:31:26 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 21 Apr 2005 22:31:26 -0700 Received: (qmail 46830 invoked by uid 1977); 22 Apr 2005 05:31:04 -0000 Date: 22 Apr 2005 05:31:04 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: db-torque/xdocs oracle-howto.xml X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N tfischer 2005/04/21 22:31:04 Modified: xdocs oracle-howto.xml Log: Added documentation for the usage of the types DATE, TIME and TIMESTAMP See issue TRQS263 in Scarab Revision Changes Path 1.5 +56 -10 db-torque/xdocs/oracle-howto.xml Index: oracle-howto.xml =================================================================== RCS file: /home/cvs/db-torque/xdocs/oracle-howto.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- oracle-howto.xml 19 Aug 2004 02:24:49 -0000 1.4 +++ oracle-howto.xml 22 Apr 2005 05:31:04 -0000 1.5 @@ -8,25 +8,71 @@ <body> -<section name="Introductory note"> + <section name="Oracle Howto" > + + <p> + Saravana Kannan is maintaining a patched version of Village that + supports Oracle LOBs: + <a href="https://sweb.uky.edu/~skkann2/village/index.html">Village 2.0 + Patched for Oracle LOBs - For use with Torque 3.1</a> + </p> + + <p> + The data type TIME only has day accuracy for Oracle. This is due to the + underlying village library and the fact that oracle does not support + a SQL type TIME. + If you are using Oracle 9i and later, you can use the type TIMESTAMP + instead which gives you millisecond accuracy. + </p> + + <subsection name="Oracle versions"> + <p> + This version of Torque is optimized for Oracle 9i and later. + The following issues exist for older versions of Oracle: + </p> + + <p> + The data type TIMESTAMP is not supported up to and including + Oracle 8.1.7. Either use the types DATE or TIME instead of TIMESTAMP + or change the following line in the class + org.apache.torque.engine.platform.PlatformOracleImpl + in the generator source + </p> + + <source> +setSchemaDomainMapping(new Domain(SchemaType.TIMESTAMP, "TIMESTAMP"));</source> + + <p> + to + </p> + + <source> +setSchemaDomainMapping(new Domain(SchemaType.TIMESTAMP, "DATE"));</source> + + <p> + and rebuild the generator from source. + However, both possibilities will give you only day accuracy for the + data types DATE, TIME and TIMESTAMP + </p> + + </subsection> + + </section> + + +<section name="Introductory note for the following sections"> <p> -This HOWTO was written some time ago and was targeted at Oracle 8i and the -version of Torque that was coupled with the +The following part of this HOWTO was written some time ago and was +targeted at Oracle 8i and the version of Torque that was coupled with the <a href="http://jakarta.apache.org/turbine/">Turbine</a> application framework. Contributions towards updating the information below can be submitted to the <a href="mailto:[email protected]">Torque Dev mailing list</a>. </p> -<p> -Saravana Kannan is maintaining a patched version of Village that supports Oracle -LOBs: <a href="https://sweb.uky.edu/~skkann2/village/index.html">Village 2.0 -Patched for Oracle LOBs - For use with Torque 3.1</a> -</p> - </section> -<section name="Oracle Howto"> +<section name="Oracle Howto for Turbine"> <p> This HOWTO aims to be a simple guide to make Turbine run with an existing --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 22 05:31:26 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46920 invoked from network); 22 Apr 2005 05:31:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Apr 2005 05:31:26 -0000 Received: (qmail 89104 invoked by uid 500); 22 Apr 2005 05:31:46 -0000 Delivered-To: [email protected] Received: (qmail 89079 invoked by uid 500); 22 Apr 2005 05:31:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 89061 invoked by uid 99); 22 Apr 2005 05:31:45 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 21 Apr 2005 22:31:45 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id B2A3B2DD; Fri, 22 Apr 2005 07:31:21 +0200 (CEST) Message-ID: <1210616428.(816)560-1336.JavaMail.scarab@localhost> Date: Fri, 22 Apr 2005 07:31:21 +0200 (CEST) From: thomas fischer <[email protected]> Reply-To: Scarab System <[email protected]> To: Christoph Zenger <[email protected]> Subject: [SOURCE] Issue #TRQS263 modified Cc: "[email protected]" <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS263 Type Defect Issue ID TRQS263 (Oracle uses DATE instead of TIMESTAMP (problem with msecs)) Modified by thomas fischer [email protected] ([email protected]) The following modifications were made to this issue: --------------------------------------------------------------------- Status changed from "Reopened" to "Closed" Reason: added documentation in the Oracle howto --------------------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 23 12:23:11 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66691 invoked from network); 23 Apr 2005 12:23:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Apr 2005 12:23:11 -0000 Received: (qmail 20894 invoked by uid 500); 23 Apr 2005 12:23:40 -0000 Delivered-To: [email protected] Received: (qmail 20877 invoked by uid 500); 23 Apr 2005 12:23:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 20860 invoked by uid 99); 23 Apr 2005 12:23:39 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 23 Apr 2005 05:23:39 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 0C38D2DD; Sat, 23 Apr 2005 14:23:07 +0200 (CEST) Message-ID: <913394027.(816)560-1336.JavaMail.scarab@localhost> Date: Sat, 23 Apr 2005 14:23:07 +0200 (CEST) From: thomas fischer <[email protected]> Reply-To: Scarab System <[email protected]> To: John McNally <[email protected]> Subject: [SOURCE] Issue #TRQS201 modified Cc: "[email protected]" <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS201 Type Enhancement Issue ID TRQS201 (BigDecimal is too expensive to use for NumberKey) Modified by thomas fischer [email protected] ([email protected]) The following modifications were made to this issue: --------------------------------------------------------------------- Added comment to issue 'Do you have done any profiling which suggest that this degrades performance a lot ? From what I have seen in the code, Torque does not use the BigDecimals for calculations. They are created once and that's it. So I would guess...' --------------------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 23 12:27:10 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 67770 invoked from network); 23 Apr 2005 12:27:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Apr 2005 12:27:10 -0000 Received: (qmail 24990 invoked by uid 500); 23 Apr 2005 12:27:39 -0000 Delivered-To: [email protected] Received: (qmail 24967 invoked by uid 500); 23 Apr 2005 12:27:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 24950 invoked by uid 99); 23 Apr 2005 12:27:38 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 23 Apr 2005 05:27:38 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id A29872DD; Sat, 23 Apr 2005 14:27:06 +0200 (CEST) Message-ID: <1081837497.(816)560-1336.JavaMail.scarab@localhost> Date: Sat, 23 Apr 2005 14:27:06 +0200 (CEST) From: thomas fischer <[email protected]> Reply-To: Scarab System <[email protected]> To: Steffen Mueller <[email protected]> Subject: [SOURCE] Issue #TRQS208 modified Cc: "[email protected]" <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS208 Type Defect Issue ID TRQS208 (Auto ID Generation with Oracle fails) Modified by thomas fischer [email protected] ([email protected]) The following modifications were made to this issue: --------------------------------------------------------------------- Added comment to issue 'This looks like a configuration problem to me. Can you reproduce the problem in Torque 3.1.1 ?' --------------------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 23 13:19:14 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6268 invoked from network); 23 Apr 2005 13:19:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Apr 2005 13:19:14 -0000 Received: (qmail 76957 invoked by uid 500); 23 Apr 2005 13:19:43 -0000 Delivered-To: [email protected] Received: (qmail 76936 invoked by uid 500); 23 Apr 2005 13:19:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 76913 invoked by uid 99); 23 Apr 2005 13:19:42 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 23 Apr 2005 06:19:42 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id DF6812DD; Sat, 23 Apr 2005 15:19:09 +0200 (CEST) Message-ID: <219478039.1114262349877.JavaMail.scarab@localhost> Date: Sat, 23 Apr 2005 15:19:09 +0200 (CEST) From: thomas fischer <[email protected]> Reply-To: Scarab System <[email protected]> To: Jeff Pettenski <[email protected]> Subject: [SOURCE] Issue #TRQS211 modified Cc: "[email protected]" <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS211 Type Defect Issue ID TRQS211 (Torque v3 1 throws IdGenerator for table XXX is null) Modified by thomas fischer [email protected] ([email protected]) The following modifications were made to this issue: --------------------------------------------------------------------- Added comment to issue 'This behaviour seems strange to me, as in TorqueInstance.initialize() I find Configuration subConf = conf.subset("torque"); if (subConf != null && !subConf.isEmpty()) { setConfigurat...' --------------------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 23 13:20:32 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12819 invoked from network); 23 Apr 2005 13:20:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Apr 2005 13:20:32 -0000 Received: (qmail 77979 invoked by uid 500); 23 Apr 2005 13:21:01 -0000 Delivered-To: [email protected] Received: (qmail 77967 invoked by uid 500); 23 Apr 2005 13:21:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 77953 invoked by uid 99); 23 Apr 2005 13:21:01 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=TO_ADDRESS_EQ_REAL X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 23 Apr 2005 06:21:01 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 242902DE for <[email protected]>; Sat, 23 Apr 2005 15:20:29 +0200 (CEST) Message-ID: <1542791092.1114262429146.JavaMail.scarab@localhost> Date: Sat, 23 Apr 2005 15:20:29 +0200 (CEST) From: thomas fischer <[email protected]> Reply-To: Scarab System <[email protected]> To: "[email protected]" <[email protected]> Subject: [SOURCE] Issue #TRQS214 modified Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS214 Type Defect Issue ID TRQS214 (reading clob fields returns null for oracle) Modified by thomas fischer [email protected] ([email protected]) The following modifications were made to this issue: --------------------------------------------------------------------- Added comment to issue 'For now, you have to use a special village library to use LOBs with oracle. See the oracle howto on the Torque website for details.' --------------------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 23 13:22:02 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13716 invoked from network); 23 Apr 2005 13:22:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Apr 2005 13:22:01 -0000 Received: (qmail 79328 invoked by uid 500); 23 Apr 2005 13:22:31 -0000 Delivered-To: [email protected] Received: (qmail 79161 invoked by uid 500); 23 Apr 2005 13:22:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 79146 invoked by uid 99); 23 Apr 2005 13:22:30 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=TO_ADDRESS_EQ_REAL X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 23 Apr 2005 06:22:30 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 890302DE for <[email protected]>; Sat, 23 Apr 2005 15:21:58 +0200 (CEST) Message-ID: <304609348.1114262518559.JavaMail.scarab@localhost> Date: Sat, 23 Apr 2005 15:21:58 +0200 (CEST) From: thomas fischer <[email protected]> Reply-To: Scarab System <[email protected]> To: "[email protected]" <[email protected]> Subject: [SOURCE] Issue #TRQS214 modified Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS214 Type Defect Issue ID TRQS214 (reading clob fields returns null for oracle) Modified by thomas fischer [email protected] ([email protected]) The following modifications were made to this issue: --------------------------------------------------------------------- Resolution set to "Fixed" Status changed from "New" to "Closed" Reason: LOBs in oracle only work with the special village library by Saravanna Kannan. With that library, they work fine. --------------------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 23 14:33:31 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40851 invoked from network); 23 Apr 2005 14:33:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Apr 2005 14:33:31 -0000 Received: (qmail 31335 invoked by uid 500); 23 Apr 2005 14:34:01 -0000 Delivered-To: [email protected] Received: (qmail 31161 invoked by uid 500); 23 Apr 2005 14:34:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 31144 invoked by uid 99); 23 Apr 2005 14:34:00 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 23 Apr 2005 07:33:59 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id A8EBD2DD; Sat, 23 Apr 2005 16:33:27 +0200 (CEST) Message-ID: <1182261328.1114266807368.JavaMail.scarab@localhost> Date: Sat, 23 Apr 2005 16:33:27 +0200 (CEST) From: Fabio Insaccanebbia <[email protected]> Reply-To: Scarab System <[email protected]> To: Maarten Coene <[email protected]> Subject: [SOURCE] Issue #TRQS120 modified Cc: "[email protected]" <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS120 Type Defect Issue ID TRQS120 (Incorrect Oracle mapping for type LONGVARCHAR) Modified by Fabio Insaccanebbia insacca ([email protected]) The following modifications were made to this issue: --------------------------------------------------------------------- Added comment to issue 'There is any difference in the way Torque manages different version of Oracle? (e.g. till Oracle7 using LONG, from Oracle8 using CLOB)? Oracle7, 8i and 9i are very different beasts (and I'm afraid Torque is still trying to ...' --------------------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 23 14:58:16 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 50247 invoked from network); 23 Apr 2005 14:58:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Apr 2005 14:58:16 -0000 Received: (qmail 56576 invoked by uid 500); 23 Apr 2005 14:58:45 -0000 Delivered-To: [email protected] Received: (qmail 56558 invoked by uid 500); 23 Apr 2005 14:58:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 56545 invoked by uid 500); 23 Apr 2005 14:58:45 -0000 Received: (qmail 56542 invoked by uid 99); 23 Apr 2005 14:58:45 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 23 Apr 2005 07:58:45 -0700 Received: (qmail 50234 invoked by uid 1977); 23 Apr 2005 14:58:14 -0000 Date: 23 Apr 2005 14:58:14 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: db-torque/src/rttest test-schema.xml X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N tfischer 2005/04/23 07:58:14 Modified: src/rttest/org/apache/torque DataTest.java src/rttest test-schema.xml Log: Added a test case which checks selecting from boolean columns. Tests TRQS221 Revision Changes Path 1.15 +42 -1 db-torque/src/rttest/org/apache/torque/DataTest.java Index: DataTest.java =================================================================== RCS file: /home/cvs/db-torque/src/rttest/org/apache/torque/DataTest.java,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- DataTest.java 26 Mar 2005 17:38:39 -0000 1.14 +++ DataTest.java 23 Apr 2005 14:58:14 -0000 1.15 @@ -110,11 +110,13 @@ bc.setTestKey("t1"); bc.setBintValue(true); bc.setBcharValue(true); + bc.setBitValue(true); bc.save(); bc = new BooleanCheck(); bc.setTestKey("f1"); bc.setBintValue(false); bc.setBcharValue(false); + bc.setBitValue(false); bc.save(); } catch (Exception ex) @@ -241,11 +243,15 @@ + bc.getBintValue(), bc.getBintValue()); assertTrue("BOOLEANCHAR should be true but is: " + bc.getBcharValue(), bc.getBcharValue()); + assertTrue("BIT should be true but is: " + + bc.getBitValue(), bc.getBitValue()); bc = BooleanCheckPeer.retrieveByPK(new StringKey("f1")); assertFalse("BOOLEANINT should be false but is: " + bc.getBintValue(), bc.getBintValue()); assertFalse("BOOLEANCHAR should be false but is: " + bc.getBcharValue(), bc.getBcharValue()); + assertFalse("BIT should be false but is: " + + bc.getBitValue(), bc.getBitValue()); } catch (Exception ex) { @@ -255,6 +261,41 @@ + " : " + ex.getMessage()); } } + + /** + * check whether we can select from boolean columns + * @throws Exception if the test fails + */ + public void testBooleanSelects() throws Exception + { + Criteria criteria = new Criteria(); + criteria.add(BooleanCheckPeer.BCHAR_VALUE, new Boolean(true)); + criteria.add(BooleanCheckPeer.BINT_VALUE, new Boolean(true)); + criteria.add(BooleanCheckPeer.BIT_VALUE, new Boolean(true)); + List booleanCheckList = BooleanCheckPeer.doSelect(criteria); + assertTrue("Should have read 1 dataset with both values true " + + "but read " + booleanCheckList.size(), + booleanCheckList.size() == 1); + BooleanCheck booleanCheck = (BooleanCheck) booleanCheckList.get(0); + // use trim() for testkey because some databases will return the + // testkey filled up with blanks, as it is defined as char(10) + assertTrue("Primary key of data set should be t1 but is " + + booleanCheck.getTestKey().trim(), + "t1".equals(booleanCheck.getTestKey().trim())); + + criteria.clear(); + criteria.add(BooleanCheckPeer.BCHAR_VALUE, new Boolean(false)); + criteria.add(BooleanCheckPeer.BINT_VALUE, new Boolean(false)); + criteria.add(BooleanCheckPeer.BIT_VALUE, new Boolean(false)); + booleanCheckList = BooleanCheckPeer.doSelect(criteria); + assertTrue("Should have read 1 dataset with both values false " + + "but read " + booleanCheckList.size(), + booleanCheckList.size() == 1); + booleanCheck = (BooleanCheck) booleanCheckList.get(0); + assertTrue("Primary key of data set should be f1 but is " + + booleanCheck.getTestKey().trim(), + "f1".equals(booleanCheck.getTestKey().trim())); + } /** * test whether delete works as expected 1.19 +1 -0 db-torque/src/rttest/test-schema.xml Index: test-schema.xml =================================================================== RCS file: /home/cvs/db-torque/src/rttest/test-schema.xml,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- test-schema.xml 21 Jan 2004 23:05:58 -0000 1.18 +++ test-schema.xml 23 Apr 2005 14:58:14 -0000 1.19 @@ -152,6 +152,7 @@ <column name="test_key" required="true" primaryKey="true" type="CHAR" size="10" /> <column name="bint_value" required="true" type="BOOLEANINT" /> <column name="bchar_value" required="true" type="BOOLEANCHAR" /> + <column name="bit_value" required="true" type="BIT" /> </table> <!-- TRQS97 --> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 23 15:09:43 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53128 invoked from network); 23 Apr 2005 15:09:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Apr 2005 15:09:43 -0000 Received: (qmail 66980 invoked by uid 500); 23 Apr 2005 15:10:13 -0000 Delivered-To: [email protected] Received: (qmail 66810 invoked by uid 500); 23 Apr 2005 15:10:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 66795 invoked by uid 99); 23 Apr 2005 15:10:11 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=TO_ADDRESS_EQ_REAL X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 23 Apr 2005 08:10:11 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 17D942DF for <[email protected]>; Sat, 23 Apr 2005 17:09:39 +0200 (CEST) Message-ID: <1351038544.1114268979095.JavaMail.scarab@localhost> Date: Sat, 23 Apr 2005 17:09:39 +0200 (CEST) From: thomas fischer <[email protected]> Reply-To: Scarab System <[email protected]> To: "[email protected]" <[email protected]> Subject: [SOURCE] Issue #TRQS221 modified Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS221 Type Patch Issue ID TRQS221 (Postgresql adapter generated invalid SQL for boolean columns) Modified by thomas fischer [email protected] ([email protected]) The following modifications were made to this issue: --------------------------------------------------------------------- Added comment to issue 'Should work fine for BOOLEANCHAR and BOOLEANINT for every postgresql version. For BIT, there was a change since Torque 3.1 in Peer.vm (161.129.204.104 and 1.8) which uses '1' for a true bit and '0' for a false bit. Added a testcase...' --------------------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 23 15:44:50 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66756 invoked from network); 23 Apr 2005 15:44:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Apr 2005 15:44:50 -0000 Received: (qmail 3479 invoked by uid 500); 23 Apr 2005 15:45:18 -0000 Delivered-To: [email protected] Received: (qmail 3456 invoked by uid 500); 23 Apr 2005 15:45:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 3442 invoked by uid 500); 23 Apr 2005 15:45:18 -0000 Received: (qmail 3438 invoked by uid 99); 23 Apr 2005 15:45:18 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 23 Apr 2005 08:45:18 -0700 Received: (qmail 66489 invoked by uid 1977); 23 Apr 2005 15:44:46 -0000 Date: 23 Apr 2005 15:44:46 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: db-torque/src/rttest bookstore-schema.xml X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N tfischer 2005/04/23 08:44:46 Modified: src/rttest bookstore-schema.xml Log: Added a foreign key to C_TABLE to have at least one table for which the DoSelectJoinAllExceptXXX() methods are generated Revision Changes Path 1.19 +4 -0 db-torque/src/rttest/bookstore-schema.xml Index: bookstore-schema.xml =================================================================== RCS file: /home/cvs/db-torque/src/rttest/bookstore-schema.xml,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- bookstore-schema.xml 26 Mar 2005 17:49:58 -0000 1.18 +++ bookstore-schema.xml 23 Apr 2005 15:44:46 -0000 1.19 @@ -194,6 +194,10 @@ <reference local="b_id" foreign="b_id"/> </foreign-key> + <foreign-key foreignTable="a"> + <reference local="a_id" foreign="a_id"/> + </foreign-key> + <foreign-key foreignTable="b"> <reference local="b_id" foreign="b_id"/> </foreign-key> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 23 16:33:29 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85641 invoked from network); 23 Apr 2005 16:33:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Apr 2005 16:33:28 -0000 Received: (qmail 49037 invoked by uid 500); 23 Apr 2005 16:33:58 -0000 Delivered-To: [email protected] Received: (qmail 48899 invoked by uid 500); 23 Apr 2005 16:33:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 48885 invoked by uid 99); 23 Apr 2005 16:33:57 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=TO_ADDRESS_EQ_REAL X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 23 Apr 2005 09:33:57 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id B352A2DF for <[email protected]>; Sat, 23 Apr 2005 18:33:24 +0200 (CEST) Message-ID: <1800531442.1114274004732.JavaMail.scarab@localhost> Date: Sat, 23 Apr 2005 18:33:24 +0200 (CEST) From: Fabio Insaccanebbia <[email protected]> Reply-To: Scarab System <[email protected]> To: "[email protected]" <[email protected]> Subject: [SOURCE] Issue #TRQS214 modified Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS214 Type Defect Issue ID TRQS214 (reading clob fields returns null for oracle) Modified by Fabio Insaccanebbia insacca ([email protected]) The following modifications were made to this issue: --------------------------------------------------------------------- Added comment to issue 'Have you tried with the latest Oracle drivers? They seem to have improved their LOB management.' --------------------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 23 16:43:41 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87944 invoked from network); 23 Apr 2005 16:43:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Apr 2005 16:43:41 -0000 Received: (qmail 58597 invoked by uid 500); 23 Apr 2005 16:44:10 -0000 Delivered-To: [email protected] Received: (qmail 58572 invoked by uid 500); 23 Apr 2005 16:44:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 58556 invoked by uid 99); 23 Apr 2005 16:44:10 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 23 Apr 2005 09:44:10 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id C30902DE; Sat, 23 Apr 2005 18:43:37 +0200 (CEST) Message-ID: <76976643.1114274617764.JavaMail.scarab@localhost> Date: Sat, 23 Apr 2005 18:43:37 +0200 (CEST) From: Fabio Insaccanebbia <[email protected]> Reply-To: Scarab System <[email protected]> To: Christoph Zenger <[email protected]> Subject: [SOURCE] Issue #TRQS263 modified Cc: "[email protected]" <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS263 Type Defect Issue ID TRQS263 (Oracle uses DATE instead of TIMESTAMP (problem with msecs)) Modified by Fabio Insaccanebbia insacca ([email protected]) The following modifications were made to this issue: --------------------------------------------------------------------- Added comment to issue 'Oracle uses just a single datatype to express DATE and TIME (it is the "DATE" datatype). The problem is that the JDBC specs say that DATE has to be without time information and TIME has to be without day information. It sou...' --------------------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 23 17:09:13 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91490 invoked from network); 23 Apr 2005 17:09:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Apr 2005 17:09:12 -0000 Received: (qmail 78900 invoked by uid 500); 23 Apr 2005 17:09:42 -0000 Delivered-To: [email protected] Received: (qmail 78881 invoked by uid 500); 23 Apr 2005 17:09:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 78867 invoked by uid 99); 23 Apr 2005 17:09:41 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 23 Apr 2005 10:09:41 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 306ED2DD; Sat, 23 Apr 2005 19:09:09 +0200 (CEST) Message-ID: <502280253.1114276149164.JavaMail.scarab@localhost> Date: Sat, 23 Apr 2005 19:09:09 +0200 (CEST) From: thomas fischer <[email protected]> Reply-To: Scarab System <[email protected]> To: Kris Nuttycombe <[email protected]> Subject: [SOURCE] Issue #TRQS241 modified Cc: "[email protected]" <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS241 Type Defect Issue ID TRQS241 (ClassCastException BigDecimial for primary key field declared as type INTEGER) Modified by thomas fischer [email protected] ([email protected]) The following modifications were made to this issue: --------------------------------------------------------------------- Added comment to issue 'I have failed to reproduce the error using the CVS version. Because the attached test case is too complex, I have tried to break it down: schema.xml: <?xml version="1.0" encoding="ISO-8859-1" standalone="no"?> <!DOCTYP...' --------------------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 23 17:18:51 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93753 invoked from network); 23 Apr 2005 17:18:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Apr 2005 17:18:50 -0000 Received: (qmail 89551 invoked by uid 500); 23 Apr 2005 17:19:19 -0000 Delivered-To: [email protected] Received: (qmail 89534 invoked by uid 500); 23 Apr 2005 17:19:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 89518 invoked by uid 99); 23 Apr 2005 17:19:19 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 23 Apr 2005 10:19:19 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 1F5232DD; Sat, 23 Apr 2005 19:18:47 +0200 (CEST) Message-ID: <950809282.1114276727104.JavaMail.scarab@localhost> Date: Sat, 23 Apr 2005 19:18:47 +0200 (CEST) From: thomas fischer <[email protected]> Reply-To: Scarab System <[email protected]> To: Malcolm Kendall <[email protected]> Subject: [SOURCE] Issue #TRQS247 modified Cc: "[email protected]" <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS247 Type Enhancement Issue ID TRQS247 (There is no XML Schema for the database definition xml file) Modified by thomas fischer [email protected] ([email protected]) The following modifications were made to this issue: --------------------------------------------------------------------- Added comment to issue 'Why would one need a xml schema if the xml can be dscribed by a dtd ? I thought a schema is only needed if the rules are too complex for a dtd ?' --------------------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 23 18:43:43 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11429 invoked from network); 23 Apr 2005 18:43:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Apr 2005 18:43:43 -0000 Received: (qmail 78546 invoked by uid 500); 23 Apr 2005 18:44:12 -0000 Delivered-To: [email protected] Received: (qmail 78523 invoked by uid 500); 23 Apr 2005 18:44:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 78508 invoked by uid 500); 23 Apr 2005 18:44:11 -0000 Received: (qmail 78505 invoked by uid 99); 23 Apr 2005 18:44:11 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 23 Apr 2005 11:44:11 -0700 Received: (qmail 11412 invoked by uid 1977); 23 Apr 2005 18:43:40 -0000 Date: 23 Apr 2005 18:43:40 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: db-torque/xdocs changes.xml X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N tfischer 2005/04/23 11:43:40 Modified: src/java/org/apache/torque/util SQLBuilder.java xdocs changes.xml Log: Added support for using sql functions in order by clause See TRQS251 in Scarab Revision Changes Path 1.4 +18 -8 db-torque/src/java/org/apache/torque/util/SQLBuilder.java Index: SQLBuilder.java =================================================================== RCS file: /home/cvs/db-torque/src/java/org/apache/torque/util/SQLBuilder.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- SQLBuilder.java 18 Feb 2005 10:04:37 -0000 1.3 +++ SQLBuilder.java 23 Apr 2005 18:43:40 -0000 1.4 @@ -470,7 +470,10 @@ for (int i = 0; i < orderBy.size(); i++) { String orderByColumn = (String) orderBy.get(i); - int dotPos = orderByColumn.lastIndexOf('.'); + + String strippedColumnName + = removeSQLFunction(orderByColumn); + int dotPos = strippedColumnName.lastIndexOf('.'); if (dotPos == -1) { throwMalformedColumnNameException( @@ -478,8 +481,7 @@ orderByColumn); } - String tableName = - orderByColumn.substring(0, dotPos); + String tableName = strippedColumnName.substring(0, dotPos); String table = crit.getTableForAlias(tableName); if (table == null) { @@ -488,20 +490,28 @@ // See if there's a space (between the column list and sort // order in ORDER BY table.column DESC). - int spacePos = orderByColumn.indexOf(' '); + int spacePos = strippedColumnName.indexOf(' '); String columnName; if (spacePos == -1) { columnName = - orderByColumn.substring(dotPos + 1); + strippedColumnName.substring(dotPos + 1); } else { - columnName = orderByColumn.substring(dotPos + 1, spacePos); + columnName = strippedColumnName.substring( + dotPos + 1, + spacePos); } ColumnMap column = dbMap.getTable(table).getColumn(columnName); - if (column.getType() instanceof String) + + // only ignore case in order by for string columns + // which do not have a function around them + if (column.getType() instanceof String + && orderByColumn.indexOf('(') == -1) { + // find space pos relative to orderByColumn + spacePos = orderByColumn.indexOf(' '); if (spacePos == -1) { orderByClause.add( 1.154 +3 -0 db-torque/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /home/cvs/db-torque/xdocs/changes.xml,v retrieving revision 1.153 retrieving revision 1.154 diff -u -r1.153 -r1.154 --- changes.xml 17 Apr 2005 10:45:43 -0000 1.153 +++ changes.xml 23 Apr 2005 18:43:40 -0000 1.154 @@ -28,6 +28,9 @@ <body> <release version="3.2-dev" date="in CVS"> + <action type="add" dev="tfischer" issue="TRQS251"> + Added support for using SQL functions in "order by" + </action> <action type="update" dev="tfischer"> Unify the behaviour of primary key columns. Until now, primary key columns were not filled automatically for --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 23 18:44:54 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11599 invoked from network); 23 Apr 2005 18:44:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Apr 2005 18:44:53 -0000 Received: (qmail 80411 invoked by uid 500); 23 Apr 2005 18:45:14 -0000 Delivered-To: [email protected] Received: (qmail 80376 invoked by uid 500); 23 Apr 2005 18:45:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 80344 invoked by uid 99); 23 Apr 2005 18:45:13 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=TO_ADDRESS_EQ_REAL X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 23 Apr 2005 11:45:13 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id CF0642DE for <[email protected]>; Sat, 23 Apr 2005 20:44:39 +0200 (CEST) Message-ID: <1031083888.1114281879846.JavaMail.scarab@localhost> Date: Sat, 23 Apr 2005 20:44:39 +0200 (CEST) From: thomas fischer <[email protected]> Reply-To: Scarab System <[email protected]> To: "[email protected]" <[email protected]> Subject: [SOURCE] Issue #TRQS251 modified Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS251 Type Enhancement Issue ID TRQS251 (allow expressions in ORDER BY clause) Modified by thomas fischer [email protected] ([email protected]) The following modifications were made to this issue: --------------------------------------------------------------------- Resolution set to "Fixed" Status changed from "New" to "Resolved" Reason: Is now supported in CVS HEAD --------------------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 23 18:48:32 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12590 invoked from network); 23 Apr 2005 18:48:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Apr 2005 18:48:31 -0000 Received: (qmail 85472 invoked by uid 500); 23 Apr 2005 18:48:58 -0000 Delivered-To: [email protected] Received: (qmail 85452 invoked by uid 500); 23 Apr 2005 18:48:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 85414 invoked by uid 99); 23 Apr 2005 18:48:57 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 23 Apr 2005 11:48:57 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 2FDA02DE; Sat, 23 Apr 2005 20:48:25 +0200 (CEST) Message-ID: <485120156.1114282105194.JavaMail.scarab@localhost> Date: Sat, 23 Apr 2005 20:48:25 +0200 (CEST) From: thomas fischer <[email protected]> Reply-To: Scarab System <[email protected]> To: thierry lach <[email protected]> Subject: [SOURCE] Issue #TRQS222 modified Cc: "[email protected]" <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS222 Type Patch Issue ID TRQS222 (Oracle DROP TABLE patch) Modified by thomas fischer [email protected] ([email protected]) The following modifications were made to this issue: --------------------------------------------------------------------- Issue TRQS270 is related to issue TRQS222 Reason: Tries to resolve an issue raised by the application of the patch in TRQS222 --------------------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 23 18:49:22 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13311 invoked from network); 23 Apr 2005 18:49:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Apr 2005 18:49:22 -0000 Received: (qmail 87142 invoked by uid 500); 23 Apr 2005 18:49:49 -0000 Delivered-To: [email protected] Received: (qmail 87091 invoked by uid 500); 23 Apr 2005 18:49:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 87058 invoked by uid 99); 23 Apr 2005 18:49:48 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 23 Apr 2005 11:49:48 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 4510B2DE; Sat, 23 Apr 2005 20:49:16 +0200 (CEST) Message-ID: <1909881519.1114282156281.JavaMail.scarab@localhost> Date: Sat, 23 Apr 2005 20:49:16 +0200 (CEST) From: thomas fischer <[email protected]> Reply-To: Scarab System <[email protected]> To: Dana P'Simer <[email protected]>, thierry lach <[email protected]> Subject: [SOURCE] Issue #TRQS270 modified Cc: "[email protected]" <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS270 Type Defect Issue ID TRQS270 (maven plugin does not set the delimiter correctly when running insert sql for an oracle database) Modified by thomas fischer [email protected] ([email protected]) The following modifications were made to this issue: --------------------------------------------------------------------- Resolution set to "Fixed" Status changed from "New" to "Closed" Reason: This problem does not exist any longer because the changes in TRQS222 were taken back --------------------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 23 18:57:07 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17149 invoked from network); 23 Apr 2005 18:57:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Apr 2005 18:57:07 -0000 Received: (qmail 95919 invoked by uid 500); 23 Apr 2005 18:57:36 -0000 Delivered-To: [email protected] Received: (qmail 95905 invoked by uid 500); 23 Apr 2005 18:57:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 95888 invoked by uid 99); 23 Apr 2005 18:57:36 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 23 Apr 2005 11:57:36 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id C4BA22E0; Sat, 23 Apr 2005 20:48:25 +0200 (CEST) Message-ID: <652636940.1114282105804.JavaMail.scarab@localhost> Date: Sat, 23 Apr 2005 20:48:25 +0200 (CEST) From: thomas fischer <[email protected]> Reply-To: Scarab System <[email protected]> To: Dana P'Simer <[email protected]>, thierry lach <[email protected]> Subject: [SOURCE] Issue #TRQS270 modified Cc: "[email protected]" <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS270 Type Defect Issue ID TRQS270 (maven plugin does not set the delimiter correctly when running insert sql for an oracle database) Modified by thomas fischer [email protected] ([email protected]) The following modifications were made to this issue: --------------------------------------------------------------------- Issue TRQS270 is related to issue TRQS222 Reason: Tries to resolve an issue raised by the application of the patch in TRQS222 --------------------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 24 08:06:46 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14790 invoked from network); 24 Apr 2005 08:06:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Apr 2005 08:06:46 -0000 Received: (qmail 59916 invoked by uid 500); 24 Apr 2005 08:07:13 -0000 Delivered-To: [email protected] Received: (qmail 59898 invoked by uid 500); 24 Apr 2005 08:07:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 59881 invoked by uid 99); 24 Apr 2005 08:07:13 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=TO_ADDRESS_EQ_REAL X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 24 Apr 2005 01:07:13 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 963CA2DF for <[email protected]>; Sun, 24 Apr 2005 10:06:42 +0200 (CEST) Message-ID: <1371615628.1114330002613.JavaMail.scarab@localhost> Date: Sun, 24 Apr 2005 10:06:42 +0200 (CEST) From: thomas fischer <[email protected]> Reply-To: Scarab System <[email protected]> To: "[email protected]" <[email protected]> Subject: [SOURCE] Issue #TRQS221 modified Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS221 Type Patch Issue ID TRQS221 (Postgresql adapter generated invalid SQL for boolean columns) Modified by thomas fischer [email protected] ([email protected]) The following modifications were made to this issue: --------------------------------------------------------------------- Added comment to issue 'The changes in Peer.vm have killed vit columns in other databases, e.g. in hypersonic. Need to find out why the changes were made in the templates rather than in the adapter.' --------------------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 24 08:35:41 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20572 invoked from network); 24 Apr 2005 08:35:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Apr 2005 08:35:41 -0000 Received: (qmail 82604 invoked by uid 500); 24 Apr 2005 08:36:08 -0000 Delivered-To: [email protected] Received: (qmail 82579 invoked by uid 500); 24 Apr 2005 08:36:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 82561 invoked by uid 99); 24 Apr 2005 08:36:07 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 24 Apr 2005 01:36:07 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 5682E2DD; Sun, 24 Apr 2005 10:35:36 +0200 (CEST) Message-ID: <135186903.1114331736033.JavaMail.scarab@localhost> Date: Sun, 24 Apr 2005 10:35:36 +0200 (CEST) From: thomas fischer <[email protected]> Reply-To: Scarab System <[email protected]> To: Maarten Coene <[email protected]> Subject: [SOURCE] Issue #TRQS120 modified Cc: "[email protected]" <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS120 Type Defect Issue ID TRQS120 (Incorrect Oracle mapping for type LONGVARCHAR) Modified by thomas fischer [email protected] ([email protected]) The following modifications were made to this issue: --------------------------------------------------------------------- Added comment to issue 'In my opinion, Torque should support a reasobably recent version of oracle, say e.g. oracle 9i, out of the box. For older versions of oracle, there are two classes one might have to touch, being PlatformOracleImpl.java (former...' --------------------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 24 08:39:33 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21305 invoked from network); 24 Apr 2005 08:39:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Apr 2005 08:39:32 -0000 Received: (qmail 85485 invoked by uid 500); 24 Apr 2005 08:40:00 -0000 Delivered-To: [email protected] Received: (qmail 85453 invoked by uid 500); 24 Apr 2005 08:40:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 85438 invoked by uid 99); 24 Apr 2005 08:39:59 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=TO_ADDRESS_EQ_REAL X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 24 Apr 2005 01:39:59 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 5384A2DE for <[email protected]>; Sun, 24 Apr 2005 10:39:29 +0200 (CEST) Message-ID: <1610674617.1114331969340.JavaMail.scarab@localhost> Date: Sun, 24 Apr 2005 10:39:29 +0200 (CEST) From: thomas fischer <[email protected]> Reply-To: Scarab System <[email protected]> To: "[email protected]" <[email protected]> Subject: [SOURCE] Issue #TRQS214 modified Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS214 Type Defect Issue ID TRQS214 (reading clob fields returns null for oracle) Modified by thomas fischer [email protected] ([email protected]) The following modifications were made to this issue: --------------------------------------------------------------------- Added comment to issue 'I tried it with the drivers for 161.129.204.104. I'll see if I can get hold of any later (10g) drivers. Hope they run against a 9i database... ' --------------------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 24 08:45:36 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21802 invoked from network); 24 Apr 2005 08:45:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Apr 2005 08:45:36 -0000 Received: (qmail 88852 invoked by uid 500); 24 Apr 2005 08:46:03 -0000 Delivered-To: [email protected] Received: (qmail 88832 invoked by uid 500); 24 Apr 2005 08:46:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 88815 invoked by uid 99); 24 Apr 2005 08:46:03 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 24 Apr 2005 01:46:03 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 4E8312DD; Sun, 24 Apr 2005 10:45:32 +0200 (CEST) Message-ID: <1401220065.1114332332288.JavaMail.scarab@localhost> Date: Sun, 24 Apr 2005 10:45:32 +0200 (CEST) From: thomas fischer <[email protected]> Reply-To: Scarab System <[email protected]> To: Christoph Zenger <[email protected]> Subject: [SOURCE] Issue #TRQS263 modified Cc: "[email protected]" <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS263 Type Defect Issue ID TRQS263 (Oracle uses DATE instead of TIMESTAMP (problem with msecs)) Modified by thomas fischer [email protected] ([email protected]) The following modifications were made to this issue: --------------------------------------------------------------------- Added comment to issue 'This is also the conlusion I got to. If i remember correctly, village looks at the JDBC type of the column. If it is DATE, village uses a String which only has day accuracy. So the problem lies within village, not within T...' --------------------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 24 15:47:16 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14936 invoked from network); 24 Apr 2005 15:47:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Apr 2005 15:47:15 -0000 Received: (qmail 64001 invoked by uid 500); 24 Apr 2005 15:47:43 -0000 Delivered-To: [email protected] Received: (qmail 63828 invoked by uid 500); 24 Apr 2005 15:47:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 63812 invoked by uid 99); 24 Apr 2005 15:47:42 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 24 Apr 2005 08:47:41 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 337D72DD; Sun, 24 Apr 2005 17:47:10 +0200 (CEST) Message-ID: <1621594438.(816)560-1336.JavaMail.scarab@localhost> Date: Sun, 24 Apr 2005 17:47:10 +0200 (CEST) From: Fabio Insaccanebbia <[email protected]> Reply-To: Scarab System <[email protected]> To: Christoph Zenger <[email protected]> Subject: [SOURCE] Issue #TRQS263 modified Cc: "[email protected]" <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS263 Type Defect Issue ID TRQS263 (Oracle uses DATE instead of TIMESTAMP (problem with msecs)) Modified by Fabio Insaccanebbia insacca ([email protected]) The following modifications were made to this issue: --------------------------------------------------------------------- Added comment to issue 'Ok.. I'll see if I can get a patch for Village and somebody that can apply it..' --------------------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 24 17:22:54 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 34759 invoked from network); 24 Apr 2005 17:22:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Apr 2005 17:22:54 -0000 Received: (qmail 57868 invoked by uid 500); 24 Apr 2005 17:23:21 -0000 Delivered-To: [email protected] Received: (qmail 57765 invoked by uid 500); 24 Apr 2005 17:23:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 57748 invoked by uid 99); 24 Apr 2005 17:23:20 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=HTML_MESSAGE,INFO_TLD X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.fetchbook.info (HELO gc.fetchbook.info) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Sun, 24 Apr 2005 10:23:20 -0700 Received: (qmail 23937 invoked from network); 24 Apr 2005 17:22:22 -0000 Received: from igld-(816)560-1336.inter.net.il (HELO mickey) (161.129.204.104) by gc.fetchbook.info with SMTP; 24 Apr 2005 17:22:22 -0000 From: "Mickey Mokotov" <[email protected]> To: <[email protected]> Subject: next release? Date: Sun, 24 Apr 2005 20:21:15 +0200 Message-ID: <000601c548fa$679d67c0$0756fea9@mickey> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0007_01C5490B.2B27BE60" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0007_01C5490B.2B27BE60 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi guys, I have a question - do we plan a release in the nearby future? Unfortunately I'm stuck with a _very_ old version of torque. The problem is that I can't use a cvs version (they don't allow here using software that is not formally released...) Since we're using ant for builds and the last formal release that support ant was released on 2002, I'm using an antique version of torque. Please help, Mickey. -- <http://www.fetchbook.info/> www.FetchBook.Info Find the lowest price - Compare more then a hundred book stores in a click. ------=_NextPart_000_0007_01C5490B.2B27BE60-- From [email protected] Sun Apr 24 17:38:37 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40954 invoked from network); 24 Apr 2005 17:38:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Apr 2005 17:38:37 -0000 Received: (qmail 72160 invoked by uid 500); 24 Apr 2005 17:39:04 -0000 Delivered-To: [email protected] Received: (qmail 72148 invoked by uid 500); 24 Apr 2005 17:39:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 72133 invoked by uid 99); 24 Apr 2005 17:39:04 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 24 Apr 2005 10:39:04 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id C9CF32DD; Sun, 24 Apr 2005 19:38:33 +0200 (CEST) Message-ID: <1581632886.1114364313529.JavaMail.scarab@localhost> Date: Sun, 24 Apr 2005 19:38:33 +0200 (CEST) From: thomas fischer <[email protected]> Reply-To: Scarab System <[email protected]> To: Christoph Zenger <[email protected]> Subject: [SOURCE] Issue #TRQS263 modified Cc: "[email protected]" <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS263 Type Defect Issue ID TRQS263 (Oracle uses DATE instead of TIMESTAMP (problem with msecs)) Modified by thomas fischer [email protected] ([email protected]) The following modifications were made to this issue: --------------------------------------------------------------------- Added comment to issue 'Really, I mean it. Village is not supported any more. The part "get somebody that can apply it" will be the difficult part. A solution might be to apply the patch to saravanna kannan's oracle-tuned version of village. Look ...' --------------------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 24 18:52:11 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63370 invoked from network); 24 Apr 2005 18:52:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Apr 2005 18:52:11 -0000 Received: (qmail 26972 invoked by uid 500); 24 Apr 2005 18:52:38 -0000 Delivered-To: [email protected] Received: (qmail 26945 invoked by uid 500); 24 Apr 2005 18:52:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 26932 invoked by uid 99); 24 Apr 2005 18:52:38 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 24 Apr 2005 11:52:38 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id C827C2DD; Sun, 24 Apr 2005 20:52:07 +0200 (CEST) Message-ID: <1084108150.1114368727786.JavaMail.scarab@localhost> Date: Sun, 24 Apr 2005 20:52:07 +0200 (CEST) From: Fabio Insaccanebbia <[email protected]> Reply-To: Scarab System <[email protected]> To: Christoph Zenger <[email protected]> Subject: [SOURCE] Issue #TRQS263 modified Cc: "[email protected]" <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS263 Type Defect Issue ID TRQS263 (Oracle uses DATE instead of TIMESTAMP (problem with msecs)) Modified by Fabio Insaccanebbia insacca ([email protected]) The following modifications were made to this issue: --------------------------------------------------------------------- Added comment to issue ':-( Any idea of how the Torque dev group is going to handle this problem? Are they going to replace Village or to make a fork of it? I don't know if there are license issues but technically, it shouldn't be hard (it's a 1...' --------------------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 24 19:03:17 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66720 invoked from network); 24 Apr 2005 19:03:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Apr 2005 19:03:17 -0000 Received: (qmail 34934 invoked by uid 500); 24 Apr 2005 19:03:45 -0000 Delivered-To: [email protected] Received: (qmail 34767 invoked by uid 500); 24 Apr 2005 19:03:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 34752 invoked by uid 99); 24 Apr 2005 19:03:44 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 24 Apr 2005 12:03:44 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id BB5BB2DD; Sun, 24 Apr 2005 21:03:13 +0200 (CEST) Message-ID: <1523366579.1114369393735.JavaMail.scarab@localhost> Date: Sun, 24 Apr 2005 21:03:13 +0200 (CEST) From: Fabio Insaccanebbia <[email protected]> Reply-To: Scarab System <[email protected]> To: Maarten Coene <[email protected]> Subject: [SOURCE] Issue #TRQS120 modified Cc: "[email protected]" <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS120 Type Defect Issue ID TRQS120 (Incorrect Oracle mapping for type LONGVARCHAR) Modified by Fabio Insaccanebbia insacca ([email protected]) The following modifications were made to this issue: --------------------------------------------------------------------- Added comment to issue 'You're right.. I didn't thought that's not simple to make sure about compatibility in all the database version (even commerical firms have problems with this issues). Perphaps, a viable approach could be to declare that the...' --------------------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 24 22:56:21 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51205 invoked from network); 24 Apr 2005 22:56:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Apr 2005 22:56:21 -0000 Received: (qmail 24714 invoked by uid 500); 24 Apr 2005 22:56:47 -0000 Delivered-To: [email protected] Received: (qmail 24683 invoked by uid 500); 24 Apr 2005 22:56:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 24665 invoked by uid 99); 24 Apr 2005 22:56:47 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 24 Apr 2005 15:56:46 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id EF31D2DD; Mon, 25 Apr 2005 00:56:16 +0200 (CEST) Message-ID: <837842301.(816)560-1336.JavaMail.scarab@localhost> Date: Mon, 25 Apr 2005 00:56:16 +0200 (CEST) From: Fabio Insaccanebbia <[email protected]> Reply-To: Scarab System <[email protected]> To: Christoph Zenger <[email protected]> Subject: [SOURCE] Issue #TRQS263 modified Cc: "[email protected]" <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS263 Type Defect Issue ID TRQS263 (Oracle uses DATE instead of TIMESTAMP (problem with msecs)) Modified by Fabio Insaccanebbia insacca ([email protected]) The following modifications were made to this issue: --------------------------------------------------------------------- Added comment to issue 'Ok, the problem is that Village decides the field datatype (and then the JDBC function to use) by getting the database field metadata. Unfortunately both TORQUE datatype (DATE and TIME) are mapped to DATE Oracle data type ...' --------------------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 25 01:18:01 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78099 invoked from network); 25 Apr 2005 01:18:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Apr 2005 01:18:01 -0000 Received: (qmail 29482 invoked by uid 500); 25 Apr 2005 01:18:28 -0000 Delivered-To: [email protected] Received: (qmail 29309 invoked by uid 500); 25 Apr 2005 01:18:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 29289 invoked by uid 99); 25 Apr 2005 01:18:26 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 24 Apr 2005 18:18:26 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 3D3542DE; Mon, 25 Apr 2005 03:17:57 +0200 (CEST) Message-ID: <1759430094.1114391877210.JavaMail.scarab@localhost> Date: Mon, 25 Apr 2005 03:17:57 +0200 (CEST) From: Fabio Insaccanebbia <[email protected]> Reply-To: Scarab System <[email protected]> To: Christoph Zenger <[email protected]> Subject: [SOURCE] Issue #TRQS263 modified Cc: "[email protected]" <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS263 Type Defect Issue ID TRQS263 (Oracle uses DATE instead of TIMESTAMP (problem with msecs)) Modified by Fabio Insaccanebbia insacca ([email protected]) The following modifications were made to this issue: --------------------------------------------------------------------- Added comment to issue 'I've created a fix that should work with all the Oracle version, is compatible with the other databases and involves only Village. I used the database metadata to get the "database type" and try dinamically to create a Valu...' --------------------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 25 07:07:37 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47689 invoked from network); 25 Apr 2005 07:07:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Apr 2005 07:07:37 -0000 Received: (qmail 10353 invoked by uid 500); 25 Apr 2005 07:07:58 -0000 Delivered-To: [email protected] Received: (qmail 10321 invoked by uid 500); 25 Apr 2005 07:07:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 10306 invoked by uid 99); 25 Apr 2005 07:07:57 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 25 Apr 2005 00:07:56 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 7381D2DD; Mon, 25 Apr 2005 09:07:23 +0200 (CEST) Message-ID: <1666589348.(816)560-1336.JavaMail.scarab@localhost> Date: Mon, 25 Apr 2005 09:07:23 +0200 (CEST) From: thomas fischer <[email protected]> Reply-To: Scarab System <[email protected]> To: Christoph Zenger <[email protected]> Subject: [SOURCE] Issue #TRQS263 modified Cc: "[email protected]" <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS263 Type Defect Issue ID TRQS263 (Oracle uses DATE instead of TIMESTAMP (problem with msecs)) Modified by thomas fischer [email protected] ([email protected]) The following modifications were made to this issue: --------------------------------------------------------------------- Added comment to issue 'Fabio, Thanks very much for the effort you put into this. I'd really like to see this applied to village. As for making village "oracle only" in saravanna kannan's patch, this can also be addressed by querying the jdbc m...' --------------------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 25 07:18:23 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69236 invoked from network); 25 Apr 2005 07:18:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Apr 2005 07:18:23 -0000 Received: (qmail 27998 invoked by uid 500); 25 Apr 2005 07:18:49 -0000 Delivered-To: [email protected] Received: (qmail 27974 invoked by uid 500); 25 Apr 2005 07:18:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 27958 invoked by uid 99); 25 Apr 2005 07:18:49 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=INFO_TLD X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.seitenbau.net (HELO mail.seitenbau.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 25 Apr 2005 00:18:49 -0700 Received: from [161.129.204.104] (helo=www.seitenbau.net) by router1.seitenbau.net with esmtp (Exim 4.43) id 1DPxrG-0000o2-O9 for [email protected]; Mon, 25 Apr 2005 09:18:18 +0200 In-Reply-To: <000601c548fa$679d67c0$0756fea9@mickey> Subject: RE: next release? To: "Apache Torque Developers List" <[email protected]> X-Mailer: Lotus Notes Release 6.0 September 26, 2002 Message-ID: <[email protected]> From: Thomas Fischer <[email protected]> Date: Mon, 25 Apr 2005 09:18:17 +0200 X-MIMETrack: Serialize by Router on www/seitenbau(Release 6.5.1|January 21, 2004) at (816)560-1336:18:17 AM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I would also like to make a release quite soon. I'd like to have most of the scarab issues adressed before the release is made; I'm working on it (as you might have noticed). I'm not really sure when this will be the case, as I'm also quite busy on my daytime job as well, but it might be the case in a month or so. Then, I have no idea what is needed to build the release (never done it before), and we will need some release candidate out some time (personally, I'd like to allow at least two weeks time) before the final release can be made. Then also the issue of improving the documentation is raised quite often. The tutorial is by far the best part of it, the rest is quite patchy. But I cannot see us waiting for a complete rework of the documentation :-( Any of the PMC members around to comment this ? Thomas "Mickey Mokotov" <[email protected]> schrieb am (816)560-1336:21:15: > Hi guys, > I have a question - do we plan a release in the nearby future? > Unfortunately I'm stuck with a _very_ old version of torque. > > The problem is that I can't use a cvs version (they don't allow here using > software that is not formally released...) > Since we're using ant for builds and the last formal release that support > ant was released on 2002, I'm using an antique version of torque. > > Please help, > Mickey. > > -- > <http://www.fetchbook.info/> www.FetchBook.Info > Find the lowest price - Compare more then a hundred book stores in a click. > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 25 07:41:10 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80987 invoked from network); 25 Apr 2005 07:41:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Apr 2005 07:41:10 -0000 Received: (qmail 64519 invoked by uid 500); 25 Apr 2005 07:41:37 -0000 Delivered-To: [email protected] Received: (qmail 64353 invoked by uid 500); 25 Apr 2005 07:41:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 64338 invoked by uid 99); 25 Apr 2005 07:41:36 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 25 Apr 2005 00:41:35 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id AA5892DD; Mon, 25 Apr 2005 09:41:05 +0200 (CEST) Message-ID: <368526179.(816)560-1336.JavaMail.scarab@localhost> Date: Mon, 25 Apr 2005 09:41:05 +0200 (CEST) From: thomas fischer <[email protected]> Reply-To: Scarab System <[email protected]> To: Maarten Coene <[email protected]> Subject: [SOURCE] Issue #TRQS120 modified Cc: "[email protected]" <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS120 Type Defect Issue ID TRQS120 (Incorrect Oracle mapping for type LONGVARCHAR) Modified by thomas fischer [email protected] ([email protected]) The following modifications were made to this issue: --------------------------------------------------------------------- Added comment to issue 'I guess you are right concerning the mapping of LONGVARCHAR for the different oracle versions. One thing to consider might be that for CLOBs to work, one needs the oracle-patched village, but for VARCHAR(X000), one doesn't....' --------------------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 25 09:17:09 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12901 invoked from network); 25 Apr 2005 09:17:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Apr 2005 09:17:09 -0000 Received: (qmail 16136 invoked by uid 500); 25 Apr 2005 09:17:36 -0000 Delivered-To: [email protected] Received: (qmail 16109 invoked by uid 500); 25 Apr 2005 09:17:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 16072 invoked by uid 99); 25 Apr 2005 09:17:34 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 25 Apr 2005 02:17:34 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 553062DD; Mon, 25 Apr 2005 11:08:00 +0200 (CEST) Message-ID: <1361320899.1114420080324.JavaMail.scarab@localhost> Date: Mon, 25 Apr 2005 11:08:00 +0200 (CEST) From: Fabio Insaccanebbia <[email protected]> Reply-To: Scarab System <[email protected]> To: Maarten Coene <[email protected]> Subject: [SOURCE] Issue #TRQS120 modified Cc: "[email protected]" <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS120 Type Defect Issue ID TRQS120 (Incorrect Oracle mapping for type LONGVARCHAR) Modified by Fabio Insaccanebbia insacca ([email protected]) The following modifications were made to this issue: --------------------------------------------------------------------- Added comment to issue 'LONGVARCHAR and CLOB differences...ehm... no, really, I thought them as synonyms... now that you ask I tried looking around and it seems it's more an historical feature. In JDBC 1.0 they used the LONGVARCHAR term to handle TEX...' --------------------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 25 10:07:43 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28381 invoked from network); 25 Apr 2005 10:07:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Apr 2005 10:07:43 -0000 Received: (qmail 85238 invoked by uid 500); 25 Apr 2005 10:08:10 -0000 Delivered-To: [email protected] Received: (qmail 85202 invoked by uid 500); 25 Apr 2005 10:08:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 85180 invoked by uid 99); 25 Apr 2005 10:08:08 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 25 Apr 2005 03:08:08 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 862C52DD; Mon, 25 Apr 2005 12:07:37 +0200 (CEST) Message-ID: <978495182.(816)560-1336.JavaMail.scarab@localhost> Date: Mon, 25 Apr 2005 12:07:37 +0200 (CEST) From: thomas fischer <[email protected]> Reply-To: Scarab System <[email protected]> To: Maarten Coene <[email protected]> Subject: [SOURCE] Issue #TRQS120 modified Cc: "[email protected]" <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS120 Type Defect Issue ID TRQS120 (Incorrect Oracle mapping for type LONGVARCHAR) Modified by thomas fischer [email protected] ([email protected]) The following modifications were made to this issue: --------------------------------------------------------------------- Added comment to issue 'Ok, so it seems setting it to CLOB makes sense. Will do it and add some docu for the older oracle versions next time I [email protected]. Remind me if I forget it. For the Oracle LOB test case, I have no standalone Testcase read...' --------------------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 25 17:40:27 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48227 invoked from network); 25 Apr 2005 17:40:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Apr 2005 17:40:27 -0000 Received: (qmail 83295 invoked by uid 500); 25 Apr 2005 17:40:58 -0000 Delivered-To: [email protected] Received: (qmail 83276 invoked by uid 500); 25 Apr 2005 17:40:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 83259 invoked by uid 99); 25 Apr 2005 17:40:57 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) Received: from fe-6a.inet.it (HELO fe-6a.inet.it) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 25 Apr 2005 10:40:57 -0700 Received: from host94-254.pool8248.interbusiness.it [acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.129.204.104] by fe-6a.inet.it via I-SMTP-5.2.3-520 id acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.129.204.104+nTrUaoGOLr5H; Mon, 25 Apr 2005 19:40:18 +0200 Message-ID: <[email protected]> Date: Mon, 25 Apr 2005 19:39:48 +0200 From: Fabio Insaccanebbia <[email protected]> Reply-To: [email protected] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: it, pl, en-us, en, de, fr MIME-Version: 1.0 To: [email protected] Subject: Torque and Village Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi everybody, I've tried to make a patch and solve a couple of Torque problems with Oracle Integration (DATE and BLOB management) and it turned out that they are dependent on some Village choices (*). I tried to write some patch but unfortunately there's no way to contribute them back because Village project is no longer mantained. I read on the mailing list that this issue has been already raised and the last news were that someone was trying to "fork" it. There has been some progress in this task? Have somebody contacted the author to hear if he would allow us to contribute patches by putting the code on a read-write cvs? I mean: it is not necessary to ask to donate the code to Apache Foundation. It would be sufficient to put the code on a developer site who could host it and allow developers to contribute back patches. Otherwise the only other options are: - forking (into the Torque project?) - replacing it with another DB Layer (any proposal?) - write a Torque DB Layer (could it mimic Village API? and use the original Village jar to have a "compatibility layer"?) Any feedback? Thanks, Fabio (*) they aren't Village "bugs". They would work if every RDBMS in the world fully respected ANSI SQL specifications and the JDBC drivers would be fully compliant... unfortunately, that's not the case :-( -- Fabio Insaccanebbia INSAC.COM e-mail: [email protected] - URL: http://www.insac.com <http://www.insac.com/> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 26 07:39:28 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45193 invoked from network); 26 Apr 2005 07:39:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Apr 2005 07:39:27 -0000 Received: (qmail 651 invoked by uid 500); 26 Apr 2005 07:40:02 -0000 Delivered-To: [email protected] Received: (qmail 632 invoked by uid 500); 26 Apr 2005 07:40:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 616 invoked by uid 99); 26 Apr 2005 07:40:01 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from fw.lexisnexis.de (HELO lngmueexc01.lexisnexis.de) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 26 Apr 2005 00:40:01 -0700 Received: from smtpgw.lexisnexis.de ([161.129.204.104]) by lngmueexc01.lexisnexis.de with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id JFSZ4610; Tue, 26 Apr 2005 09:39:21 +0200 Received: from [161.129.204.104] (gw.lexisnexis.de [161.129.204.104]) by smtpgw.lexisnexis.de (Postfix) with ESMTP id 2363E3E8012 for <[email protected]>; Tue, 26 Apr 2005 09:39:00 +0200 (CEST) Message-ID: <[email protected]> Date: Tue, 26 Apr 2005 09:39:12 +0200 X-Sybari-Trust: 316c0ef6 16ba45ca 61889408 0000013d From: Hendrik Busch <[email protected]> Organization: LexisNexisDeutschland GmbH User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: Apache Torque Developers List <[email protected]> Subject: Re: Torque and Village References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-LexisNexis-MailScanner-Information: Please contact LNG IT Support for more information X-LexisNexis-MailScanner: Found to be clean X-MailScanner-From: [email protected] Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi! > I've tried to make a patch and solve a couple of Torque problems with=20 > Oracle Integration (DATE and BLOB management) and it turned out that=20 > they are dependent on some Village choices (*). I tried to write some=20 > patch but unfortunately there's no way to contribute them back because=20 > Village project is no longer mantained. Looks like we did the same thing :-). We're currently porting our=20 document management system from MySQL to Oracle and needed to fix some=20 weaknesses in Village, too, mainly LOB-related stuff. > I read on the mailing list that this issue has been already raised and=20 > the last news were that someone was trying to "fork" it. There has been= =20 > some progress in this task? Have somebody contacted the author to hear=20 > if he would allow us to contribute patches by putting the code on a=20 > read-write cvs? I sent an email to jon (at) latchkey.com as we would have liked to=20 contribute our modifications as well. Yet I have received no reply until=20 now (or maybe our company-spam-cop caught that mail due to some reason). The fork seems to be a good idea since many people are still using=20 Village, even without Torque. So if we pull together, maybe we can=20 achieve a reactivation. So long, Hendrik Busch --=20 Mit freundlichen Gr=FC=DFen / Kind regards Hendrik Busch - Teamleiter LexisNexis Recht Entwicklung LexisNexis Deutschland GmbH http://www.lexisnexis.de Feldstiege 100 D-48161 M=FCnster phone (816)560-1336 fax +49 (0) 02533-9300-50 [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 26 10:35:37 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21500 invoked from network); 26 Apr 2005 10:35:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Apr 2005 10:35:37 -0000 Received: (qmail 29385 invoked by uid 500); 26 Apr 2005 10:36:11 -0000 Delivered-To: [email protected] Received: (qmail 29345 invoked by uid 500); 26 Apr 2005 10:36:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 29318 invoked by uid 99); 26 Apr 2005 10:36:10 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.seitenbau.net (HELO mail.seitenbau.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 26 Apr 2005 03:36:08 -0700 Received: from [161.129.204.104] (helo=www.seitenbau.net) by router1.seitenbau.net with esmtp (Exim 4.43) id 1DQNO6-0001Iw-4r for [email protected]; Tue, 26 Apr 2005 12:33:54 +0200 In-Reply-To: <[email protected]> Subject: Re: Torque and Village To: "Apache Torque Developers List" <[email protected]> X-Mailer: Lotus Notes Release 6.0 September 26, 2002 Message-ID: <[email protected]> From: Thomas Fischer <[email protected]> Date: Tue, 26 Apr 2005 12:33:53 +0200 X-MIMETrack: Serialize by Router on www/seitenbau(Release 6.5.1|January 21, 2004) at (816)560-1336:33:53 PM MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: quoted-printable X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, In my personal opinion, forking village would be a good short-term solu= tion (because currently Torque as not got the manpower to rewrite the DB Access). It would alleviate the problem that at the moment, there is no= central place to collect village patches. Therefore, I would support su= ch a step. In the long term, however, I believe that village should not be used in= Torque anymore, but that the code should be rewritten inside Torque. Th= e reasons are the following shortcomings of village: - Village uses jdbc metadata to collect information about the database.= However, with Torque, this is completely unneccessary as the informatio= n about the database is already collected in the generated MapBuilders. - Village does not know about different databases accessed by it. This leads to errors like http://issues.apache.org/scarab/issues/id/TRQS285 = . - Village does not log the statements it uses for inserts and updates, making debugging difficult. Thomas Hendrik Busch <[email protected]> schrieb am (816)560-1336:39= :12: > Hi! > > > I've tried to make a patch and solve a couple of Torque problems wi= th > > Oracle Integration (DATE and BLOB management) and it turned out tha= t > > they are dependent on some Village choices (*). I tried to write so= me > > patch but unfortunately there's no way to contribute them back beca= use > > Village project is no longer mantained. > > Looks like we did the same thing :-). We're currently porting our > document management system from MySQL to Oracle and needed to fix som= e > weaknesses in Village, too, mainly LOB-related stuff. > > > I read on the mailing list that this issue has been already raised = and > > the last news were that someone was trying to "fork" it. There has = been > > some progress in this task? Have somebody contacted the author to h= ear > > if he would allow us to contribute patches by putting the code on a= > > read-write cvs? > > I sent an email to jon (at) latchkey.com as we would have liked to > contribute our modifications as well. Yet I have received no reply un= til > now (or maybe our company-spam-cop caught that mail due to some reaso= n). > > The fork seems to be a good idea since many people are still using > Village, even without Torque. So if we pull together, maybe we can > achieve a reactivation. > > So long, > Hendrik Busch > > -- > Mit freundlichen Gr=FC=DFen / Kind regards > > Hendrik Busch - Teamleiter LexisNexis Recht Entwicklung > > LexisNexis Deutschland GmbH > http://www.lexisnexis.de > Feldstiege 100 > D-48161 M=FCnster > phone (816)560-1336 > fax +49 (0) 02533-9300-50 > [email protected] > > ---------------------------------------------------------------------= > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >= --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 26 11:59:21 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 50145 invoked from network); 26 Apr 2005 11:59:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Apr 2005 11:59:21 -0000 Received: (qmail 99344 invoked by uid 500); 26 Apr 2005 11:59:58 -0000 Delivered-To: [email protected] Received: (qmail 99292 invoked by uid 500); 26 Apr 2005 11:59:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 99262 invoked by uid 99); 26 Apr 2005 11:59:57 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from manta.curalia.se (HELO manta.curalia.se) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 26 Apr 2005 04:59:57 -0700 Received: from [161.129.204.104] (unknown [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by manta.curalia.se (Postfix) with ESMTP id EE1D8ABC061; Tue, 26 Apr 2005 13:59:10 +0200 (CEST) Message-ID: <[email protected]> Date: Tue, 26 Apr 2005 13:59:11 +0200 From: =?ISO-8859-1?Q?Martin_Kal=E9n?= <[email protected]> Organization: ASF User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Apache Torque Developers List <[email protected]>, [email protected] Subject: Re: Torque and Village References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To prevent duplicate development efforts, also note that the project previously known as "Jakarta Commons SQL" has graduated from the Jakarta Commons sandbox into a fully-fledged Apache DB-project "DdlUtils" [1] with it's own website and mailinglists [2] (last migration steps are still in progress, some "dust" still in the air). Tom Dudziak has more info about this and can probably tell more about if there is some overlapping Village / DdlUtils functionality (which I believe). If that is the case, I would suggest Torque developers to come join the new DdlUtils project to help create a well-maintained and active developer base (instead of breathing air into the "corpse" of Village). Disclaimer: I think that this might be a Good Thing (TM) for Torque, but it might turn out that DdlUtils have nothing at all in common with Village (Tom?) -- in which case you can just ignore this post. :-) The following developers are on the initial committer-list of DdlUtils: tomdz,mkalen,thma,brj,arminw,brianm,mattbaird,rsfeir Regards, Martin [1] http://db.apache.org/ddlutils/ [2] mailto:[email protected], mailto:[email protected] Thomas Fischer wrote: > > Hi, > > In my personal opinion, forking village would be a good short-term solution > (because currently Torque as not got the manpower to rewrite the DB > Access). It would alleviate the problem that at the moment, there is no > central place to collect village patches. Therefore, I would support such a > step. > > In the long term, however, I believe that village should not be used in > Torque anymore, but that the code should be rewritten inside Torque. The > reasons are the following shortcomings of village: > > - Village uses jdbc metadata to collect information about the database. > However, with Torque, this is completely unneccessary as the information > about the database is already collected in the generated MapBuilders. > > - Village does not know about different databases accessed by it. This > leads to errors like http://issues.apache.org/scarab/issues/id/TRQS285 . > > - Village does not log the statements it uses for inserts and updates, > making debugging difficult. > > Thomas > > Hendrik Busch <[email protected]> schrieb am (816)560-1336:39:12: > > >>Hi! >> >> >>>I've tried to make a patch and solve a couple of Torque problems with >>>Oracle Integration (DATE and BLOB management) and it turned out that >>>they are dependent on some Village choices (*). I tried to write some >>>patch but unfortunately there's no way to contribute them back because >>>Village project is no longer mantained. >> >>Looks like we did the same thing :-). We're currently porting our >>document management system from MySQL to Oracle and needed to fix some >>weaknesses in Village, too, mainly LOB-related stuff. >> >> >>>I read on the mailing list that this issue has been already raised and >>>the last news were that someone was trying to "fork" it. There has been > > >>>some progress in this task? Have somebody contacted the author to hear >>>if he would allow us to contribute patches by putting the code on a >>>read-write cvs? >> >>I sent an email to jon (at) latchkey.com as we would have liked to >>contribute our modifications as well. Yet I have received no reply until >>now (or maybe our company-spam-cop caught that mail due to some reason). >> >>The fork seems to be a good idea since many people are still using >>Village, even without Torque. So if we pull together, maybe we can >>achieve a reactivation. >> >>So long, >>Hendrik Busch >> >>-- >>Mit freundlichen Grüßen / Kind regards >> >>Hendrik Busch - Teamleiter LexisNexis Recht Entwicklung >> >>LexisNexis Deutschland GmbH >>http://www.lexisnexis.de >>Feldstiege 100 >>D-48161 Münster >>phone (816)560-1336 >>fax +49 (0) 02533-9300-50 >>[email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 26 15:29:52 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54479 invoked from network); 26 Apr 2005 15:29:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Apr 2005 15:29:52 -0000 Received: (qmail 60462 invoked by uid 500); 26 Apr 2005 15:30:22 -0000 Delivered-To: [email protected] Received: (qmail 60449 invoked by uid 500); 26 Apr 2005 15:30:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 16625 invoked by uid 99); 26 Apr 2005 12:13:05 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=IpEX87T3MNPwwdvhUL5t/q8Byoh19Mc6QLAzztzMYdxSTXxwHYgq99JDZOTyLK2aVxoqeZb5WOvsf8xe/2KHVJCPF/6MARxQTPk7Lfd85IFmMVjtZ5ooEgFsJb2n0P48qM8YqN1Fcp6kzgG7LVSAH2D7j8EgCcD90QOFuqV4Awg= Message-ID: <[email protected]> Date: Tue, 26 Apr 2005 14:12:24 +0200 From: Thomas Dudziak <[email protected]> Reply-To: Thomas Dudziak <[email protected]> To: [email protected] Subject: Re: Torque and Village Cc: Apache Torque Developers List <[email protected]> In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <[email protected]> <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > To prevent duplicate development efforts, also note that the project > previously known as "Jakarta Commons SQL" has graduated from the Jakarta > Commons sandbox into a fully-fledged Apache DB-project "DdlUtils" [1] > with it's own website and mailinglists [2] > (last migration steps are still in progress, some "dust" still in the air= ). >=20 > Tom Dudziak has more info about this and can probably tell more about > if there is some overlapping Village / DdlUtils functionality > (which I believe). >=20 > If that is the case, I would suggest Torque developers to come join > the new DdlUtils project to help create a well-maintained and active > developer base (instead of breathing air into the "corpse" of Village). >=20 > Disclaimer: I think that this might be a Good Thing (TM) for Torque, > but it might turn out that DdlUtils have nothing at all in common > with Village (Tom?) -- in which case you can just ignore this post. :-) I fully agree and AFAIK the possible synergy effect was one of the reasons that the vote on the DB PMC regarding the move was unanimously. Also that's why the major point on my short-term to-do list is the stabilization of DdlUtils including Unit tests for the individual databases (in which it currently is somewhat lacking) and enhance the doc, in order to release a 1.0 in the near future. IMO it's probably useful to create a Wiki page for DdlUtils on which to sketch these todos, so I'll create one. Btw, John McNally already gave these Torque developers commit rights to DdlUtils : seade,henning,tfischer=20 (as he wrote on the PMC). Tom --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 26 15:45:05 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61952 invoked from network); 26 Apr 2005 15:45:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Apr 2005 15:45:05 -0000 Received: (qmail 15688 invoked by uid 500); 26 Apr 2005 15:45:46 -0000 Delivered-To: [email protected] Received: (qmail 15645 invoked by uid 500); 26 Apr 2005 15:45:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 15584 invoked by uid 99); 26 Apr 2005 15:45:45 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.seitenbau.net (HELO mail.seitenbau.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 26 Apr 2005 08:45:45 -0700 Received: from [161.129.204.104] (helo=www.seitenbau.net) by router1.seitenbau.net with esmtp (Exim 4.43) id 1DQSEv-0003yV-Nu; Tue, 26 Apr 2005 17:44:45 +0200 In-Reply-To: <[email protected]> Subject: Re: Torque and Village To: [email protected] Cc: Apache Torque Developers List <[email protected]> X-Mailer: Lotus Notes Release 6.0 September 26, 2002 Message-ID: <[email protected]> From: Thomas Fischer <[email protected]> Date: Tue, 26 Apr 2005 17:44:45 +0200 X-MIMETrack: Serialize by Router on www/seitenbau(Release 6.5.1|January 21, 2004) at (816)560-1336:44:44 PM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Tom, Martin, Thanks for the information. I'll have a look at DdlUtils and write up what possible synergies exist in my opinion. I'd appreciate it if other Torque developers would do the same in order to get more than one opinion. Thomas Thomas Dudziak <[email protected]> schrieb am (816)560-1336:12:24: > > To prevent duplicate development efforts, also note that the project > > previously known as "Jakarta Commons SQL" has graduated from the Jakarta > > Commons sandbox into a fully-fledged Apache DB-project "DdlUtils" [1] > > with it's own website and mailinglists [2] > > (last migration steps are still in progress, some "dust" still in the air). > > > > Tom Dudziak has more info about this and can probably tell more about > > if there is some overlapping Village / DdlUtils functionality > > (which I believe). > > > > If that is the case, I would suggest Torque developers to come join > > the new DdlUtils project to help create a well-maintained and active > > developer base (instead of breathing air into the "corpse" of Village). > > > > Disclaimer: I think that this might be a Good Thing (TM) for Torque, > > but it might turn out that DdlUtils have nothing at all in common > > with Village (Tom?) -- in which case you can just ignore this post. :-) > > I fully agree and AFAIK the possible synergy effect was one of the > reasons that the vote on the DB PMC regarding the move was > unanimously. > Also that's why the major point on my short-term to-do list is the > stabilization of DdlUtils including Unit tests for the individual > databases (in which it currently is somewhat lacking) and enhance the > doc, in order to release a 1.0 in the near future. > IMO it's probably useful to create a Wiki page for DdlUtils on which > to sketch these todos, so I'll create one. > > Btw, John McNally already gave these Torque developers commit rights > to DdlUtils : > > seade,henning,tfischer > > (as he wrote on the PMC). > > Tom > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Apr 27 08:26:00 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47043 invoked from network); 27 Apr 2005 08:26:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Apr 2005 08:26:00 -0000 Received: (qmail 796 invoked by uid 500); 27 Apr 2005 08:26:49 -0000 Delivered-To: [email protected] Received: (qmail 761 invoked by uid 500); 27 Apr 2005 08:26:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 716 invoked by uid 99); 27 Apr 2005 08:26:48 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.seitenbau.net (HELO mail.seitenbau.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 27 Apr 2005 01:26:47 -0700 Received: from [161.129.204.104] (helo=www.seitenbau.net) by router1.seitenbau.net with esmtp (Exim 4.43) id 1DQhrm-0000JN-TW; Wed, 27 Apr 2005 10:25:54 +0200 In-Reply-To: <[email protected]> Subject: Re: Torque and Village To: [email protected] Cc: "Apache Torque Developers List" <[email protected]> X-Mailer: Lotus Notes Release 6.0 September 26, 2002 Message-ID: <[email protected]> From: Thomas Fischer <[email protected]> Date: Wed, 27 Apr 2005 10:25:53 +0200 X-MIMETrack: Serialize by Router on www/seitenbau(Release 6.5.1|January 21, 2004) at (816)560-1336:25:54 AM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I have taken a shortish look at DdlUtils and also investigated (not in much detail) what features of village are used by Torque. Torque uses the following features of village which are not provided by plain JDBC (I hope I did not miss anything): - Mapping of sql types to java types when reading from a database - constructing the SQL for a PreparedStatement to insert Datasets - constructing the SQL for a PreparedStatement to modify Datasets In my opinion, these features are not very difficult to implement. Most (All?) of them are also implemented in DdlUtils. I have not yet formed a personal opinion whether I would favour useing ddlUtils for these Tasks over implementing them in Torque. On one hand, these things are so fundamental for Torque that one would like to have full control over what happens within Torque. Also, the modelling of the database is different for Torque and DdlUtils, which makes integration difficult. In fact, Torque has two models, one for the generator and one for the runtime :-(. On the other hand, there is duplicate programming effort and duplicate maintenance. Also, from what I have seen, the use cases for Torque and DdlUtils overlap somehow, so that it might be possible to concentrate efforts even further. Using a dynamical bean to read from a database might be a useful feature for Torque users, so perhaps one could make it easy to use ddlUtils feature within Torque. I have to do further research to forma an opinion. By the way, are the DdlUtils mailing lists archived somewhere? I Did not find them on nagoya, but then, you said there was still some dust in the air. Thomas Thomas Dudziak <[email protected]> schrieb am (816)560-1336:12:24: > > To prevent duplicate development efforts, also note that the project > > previously known as "Jakarta Commons SQL" has graduated from the Jakarta > > Commons sandbox into a fully-fledged Apache DB-project "DdlUtils" [1] > > with it's own website and mailinglists [2] > > (last migration steps are still in progress, some "dust" still in the air). > > > > Tom Dudziak has more info about this and can probably tell more about > > if there is some overlapping Village / DdlUtils functionality > > (which I believe). > > > > If that is the case, I would suggest Torque developers to come join > > the new DdlUtils project to help create a well-maintained and active > > developer base (instead of breathing air into the "corpse" of Village). > > > > Disclaimer: I think that this might be a Good Thing (TM) for Torque, > > but it might turn out that DdlUtils have nothing at all in common > > with Village (Tom?) -- in which case you can just ignore this post. :-) > > I fully agree and AFAIK the possible synergy effect was one of the > reasons that the vote on the DB PMC regarding the move was > unanimously. > Also that's why the major point on my short-term to-do list is the > stabilization of DdlUtils including Unit tests for the individual > databases (in which it currently is somewhat lacking) and enhance the > doc, in order to release a 1.0 in the near future. > IMO it's probably useful to create a Wiki page for DdlUtils on which > to sketch these todos, so I'll create one. > > Btw, John McNally already gave these Torque developers commit rights > to DdlUtils : > > seade,henning,tfischer > > (as he wrote on the PMC). > > Tom > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 28 07:37:39 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84704 invoked from network); 28 Apr 2005 07:37:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Apr 2005 07:37:39 -0000 Received: (qmail 44783 invoked by uid 500); 28 Apr 2005 07:38:39 -0000 Delivered-To: [email protected] Received: (qmail 44753 invoked by uid 500); 28 Apr 2005 07:38:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 68203 invoked by uid 99); 28 Apr 2005 06:58:10 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=HTML_30_40,HTML_MESSAGE,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) To: [email protected] Subject: IDBroker MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5 September 26, 2003 Message-ID: <[email protected]> From: [email protected] Date: Thu, 28 Apr 2005 08:57:10 +0200 X-MIMETrack: Serialize by Router on dueds01/DEUKA/DE(Release 6.5|September 18, 2003) at 04/28/2005 08:57:18, Serialize complete at 04/28/2005 08:57:18 Content-Type: multipart/alternative; boundary="=_alternative 00266116C1256FF1_=" X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --=_alternative 00266116C1256FF1_= Content-Type: text/plain; charset="US-ASCII" Hi! Is it possible that there is a bug in the "IDBroker" class ? The method "storeIDs" is not synchronized and sometimes i got a DuplicateKeyExceptions if i inserted a lot of records (about 2000). Then the Run-Thread picks up the same Ids like the normal Thread. So i synchronized it and now it went fine. I am not a very experienced Java Programmer. So maybe if it's completely nonsense you could tell me what i did wrong. Tel.: Fax: eMail: [email protected] WebSite: www.deuka.de --=_alternative 00266116C1256FF1_=-- From [email protected] Thu Apr 28 10:22:32 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 34515 invoked from network); 28 Apr 2005 10:22:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Apr 2005 10:22:32 -0000 Received: (qmail 61561 invoked by uid 500); 28 Apr 2005 10:23:36 -0000 Delivered-To: [email protected] Received: (qmail 61549 invoked by uid 500); 28 Apr 2005 10:23:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 61534 invoked by uid 99); 28 Apr 2005 10:23:35 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.seitenbau.net (HELO mail.seitenbau.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 28 Apr 2005 03:23:35 -0700 Received: from [161.129.204.104] (helo=www.seitenbau.net) by router1.seitenbau.net with esmtp (Exim 4.43) id 1DR6A2-0000Qv-OX; Thu, 28 Apr 2005 12:22:22 +0200 In-Reply-To: <[email protected]> Subject: RE: IDBroker To: "Apache Torque Developers List" <[email protected]> Cc: [email protected] X-Mailer: Lotus Notes Release 6.0 September 26, 2002 Message-ID: <[email protected]> From: Thomas Fischer <[email protected]> Date: Thu, 28 Apr 2005 12:22:21 +0200 X-MIMETrack: Serialize by Router on www/seitenbau(Release 6.5.1|January 21, 2004) at 28.04.2005 12:22:22 PM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Well, Bugs are always possible :-( Do you mind to open up a scarab issue at http://nagoya.apache.org/scarab/servlet/scarab for that, so that it will not be forgotten ? Create a user, Request a role as Observer for Torque->Source and create a new issue. Thanks, Thomas [email protected] schrieb am 28.04.2005 08:57:10: > Hi! > Is it possible that there is a bug in the "IDBroker" class ? > The method "storeIDs" is not synchronized and sometimes i got a > DuplicateKeyExceptions if i inserted a lot of records > (about 2000). Then the Run-Thread picks up the same Ids like the normal > Thread. So i synchronized it and now it went fine. > I am not a very experienced Java Programmer. So maybe if it's completely > nonsense you could tell me what i did wrong. > > > Tel.: > Fax: > eMail: [email protected] > WebSite: www.deuka.de --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 28 10:35:30 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37194 invoked from network); 28 Apr 2005 10:35:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Apr 2005 10:35:30 -0000 Received: (qmail 85186 invoked by uid 500); 28 Apr 2005 10:36:32 -0000 Delivered-To: [email protected] Received: (qmail 85170 invoked by uid 500); 28 Apr 2005 10:36:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 85153 invoked by uid 99); 28 Apr 2005 10:36:32 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=TO_ADDRESS_EQ_REAL X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 28 Apr 2005 03:36:32 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id C1C412DF for <[email protected]>; Thu, 28 Apr 2005 12:35:25 +0200 (CEST) Message-ID: <535502795.(816)560-1336.JavaMail.scarab@localhost> Date: Thu, 28 Apr 2005 12:35:25 +0200 (CEST) From: thomas fischer <[email protected]> Reply-To: Scarab System <[email protected]> To: "[email protected]" <[email protected]> Subject: [SOURCE] Issue #TRQS295 - doSelectJoinYYY in Oracle fails with limit/offset and sam... Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS295 Type Defect Issue ID TRQS295 (doSelectJoinYYY in Oracle fails with limit/offset and same column names) Reported by thomas fischer [email protected] ([email protected]) New issue details: --------------------------------------------------------- Summary set to "doSelectJoinYYY in Oracle fail..." Status set to "New" Database set to "Oracle" Issue created Description set to "Reported by Bouvet Konsulent: ..." --------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 28 10:37:34 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37654 invoked from network); 28 Apr 2005 10:37:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Apr 2005 10:37:34 -0000 Received: (qmail 87876 invoked by uid 500); 28 Apr 2005 10:37:37 -0000 Delivered-To: [email protected] Received: (qmail 87832 invoked by uid 500); 28 Apr 2005 10:37:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 87806 invoked by uid 99); 28 Apr 2005 10:37:36 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=TO_ADDRESS_EQ_REAL X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 28 Apr 2005 03:37:35 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 8E4AC2DF for <[email protected]>; Thu, 28 Apr 2005 12:36:28 +0200 (CEST) Message-ID: <780706021.(816)560-1336.JavaMail.scarab@localhost> Date: Thu, 28 Apr 2005 12:36:28 +0200 (CEST) From: thomas fischer <[email protected]> Reply-To: Scarab System <[email protected]> To: "[email protected]" <[email protected]> Subject: [SOURCE] Issue #TRQS295 modified Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS295 Type Defect Issue ID TRQS295 (doSelectJoinYYY in Oracle fails with limit/offset and same column names) Modified by thomas fischer [email protected] ([email protected]) The following modifications were made to this issue: --------------------------------------------------------------------- Added comment to issue 'Probably we have to prevent that by using aliases for the column names' --------------------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 28 12:48:48 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79879 invoked from network); 28 Apr 2005 12:48:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Apr 2005 12:48:47 -0000 Received: (qmail 51542 invoked by uid 500); 28 Apr 2005 12:49:52 -0000 Delivered-To: [email protected] Received: (qmail 51508 invoked by uid 500); 28 Apr 2005 12:49:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 51485 invoked by uid 99); 28 Apr 2005 12:49:51 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=TO_ADDRESS_EQ_REAL X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 28 Apr 2005 05:49:50 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 5439C2DE for <[email protected]>; Thu, 28 Apr 2005 14:48:43 +0200 (CEST) Message-ID: <1238158682.(816)560-1336.JavaMail.scarab@localhost> Date: Thu, 28 Apr 2005 14:48:43 +0200 (CEST) From: Michael Heller <[email protected]> Reply-To: Scarab System <[email protected]> To: "[email protected]" <[email protected]> Subject: [SOURCE] Issue #TRQS296 - DuplicateKeys with IDBroker ? Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You can view the issue detail at the following URL: http://issues.apache.org/scarab/issues/id/TRQS296 Type Defect Issue ID TRQS296 (DuplicateKeys with IDBroker ?) Reported by Michael Heller [email protected] ([email protected]) New issue details: --------------------------------------------------------- Operating system set to "OSX" Status set to "New" Priority set to "Undecided" Description set to "The method "storeIDs" is not s..." Issue created Database set to "DB2" Summary set to "DuplicateKeys with IDBroker ?" --------------------------------------------------------- This message is automatically generated by the Scarab issue tracking system. For more information: http://scarab.tigris.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 28 14:12:48 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28529 invoked from network); 28 Apr 2005 14:12:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Apr 2005 14:12:48 -0000 Received: (qmail 76184 invoked by uid 500); 28 Apr 2005 14:12:44 -0000 Delivered-To: [email protected] Received: (qmail 76119 invoked by uid 500); 28 Apr 2005 14:12:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 76085 invoked by uid 99); 28 Apr 2005 14:12:43 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) Received: from mid-2.inet.it (HELO mid-2.inet.it) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 28 Apr 2005 07:12:42 -0700 Received: from [acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.129.204.104] by mid-2.inet.it via I-SMTP-5.2.3-520 id acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.129.204.104+p2KM5rXty6; Thu, 28 Apr 2005 16:11:24 +0200 Message-ID: <[email protected]> Date: Thu, 28 Apr 2005 16:10:49 +0200 From: Fabio Insaccanebbia <[email protected]> Reply-To: [email protected] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: it, de, pl, en-us, en, fr MIME-Version: 1.0 To: Apache Torque Developers List <[email protected]> CC: [email protected] Subject: Re: Torque and Village References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N suggestion: what about a "pluggable" dblayer for Torques? We could design the API that Torque needs, create a Village Adapter (for compatibility with the past) a DdlUtils based db layer and, if we need a "custom - made" dblayer, we can write our own (or we can find a new/better in the Open Source space). So we can start with Village (putting our patches in the "Adapter" layer if we really want to) [short time effort], then start an effort to write the DdlUtils based db layer [medium time effort] and see what happens next.. [long time effort... Torque's own dblayer... only if necessary]. Obviously the difficult thing would be to create an API that makes simple to create adapters both for Village and DdlUtils (thus without complex hierarchy, with the minimum API objects number). Bye, Fabio P.S.: I'm just talking about the functions currently covered in Torque by Village. Torque and DdlUtils can concentrate efforts also in other "use cases" probably without having to add an Adapter... Thomas Fischer wrote: > > >Hi, > >I have taken a shortish look at DdlUtils and also investigated (not in much >detail) what features of village are used by Torque. >Torque uses the following features of village which are not provided by >plain JDBC (I hope I did not miss anything): >- Mapping of sql types to java types when reading from a database >- constructing the SQL for a PreparedStatement to insert Datasets >- constructing the SQL for a PreparedStatement to modify Datasets > >In my opinion, these features are not very difficult to implement. >Most (All?) of them are also implemented in DdlUtils. I have not yet formed >a personal opinion whether I would favour useing ddlUtils for these Tasks >over implementing them in Torque. >On one hand, these things are so fundamental for Torque that one would like >to have full control over what happens within Torque. Also, the modelling >of the database is different for Torque and DdlUtils, which makes >integration difficult. In fact, Torque has two models, one for the >generator and one for the runtime :-(. >On the other hand, there is duplicate programming effort and duplicate >maintenance. Also, from what I have seen, the use cases for Torque and >DdlUtils overlap somehow, so that it might be possible to concentrate >efforts even further. Using a dynamical bean to read from a database might >be a useful feature for Torque users, so perhaps one could make it easy to >use ddlUtils feature within Torque. >I have to do further research to forma an opinion. > >By the way, are the DdlUtils mailing lists archived somewhere? I Did not >find them on nagoya, but then, you said there was still some dust in the >air. > > Thomas > > >Thomas Dudziak <[email protected]> schrieb am (816)560-1336:12:24: > > > >>>To prevent duplicate development efforts, also note that the project >>>previously known as "Jakarta Commons SQL" has graduated from the >>> >>> >Jakarta > > >>>Commons sandbox into a fully-fledged Apache DB-project "DdlUtils" [1] >>>with it's own website and mailinglists [2] >>>(last migration steps are still in progress, some "dust" still in the >>> >>> >air). > > >>>Tom Dudziak has more info about this and can probably tell more about >>>if there is some overlapping Village / DdlUtils functionality >>>(which I believe). >>> >>>If that is the case, I would suggest Torque developers to come join >>>the new DdlUtils project to help create a well-maintained and active >>>developer base (instead of breathing air into the "corpse" of Village). >>> >>>Disclaimer: I think that this might be a Good Thing (TM) for Torque, >>>but it might turn out that DdlUtils have nothing at all in common >>>with Village (Tom?) -- in which case you can just ignore this post. :-) >>> >>> >>I fully agree and AFAIK the possible synergy effect was one of the >>reasons that the vote on the DB PMC regarding the move was >>unanimously. >>Also that's why the major point on my short-term to-do list is the >>stabilization of DdlUtils including Unit tests for the individual >>databases (in which it currently is somewhat lacking) and enhance the >>doc, in order to release a 1.0 in the near future. >>IMO it's probably useful to create a Wiki page for DdlUtils on which >>to sketch these todos, so I'll create one. >> >>Btw, John McNally already gave these Torque developers commit rights >>to DdlUtils : >> >>seade,henning,tfischer >> >>(as he wrote on the PMC). >> >>Tom >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: [email protected] >>For additional commands, e-mail: [email protected] >> >> >> > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [email protected] >For additional commands, e-mail: [email protected] > > > > -- Fabio Insaccanebbia INSAC.COM e-mail: [email protected] - URL: http://www.insac.com <http://www.insac.com/> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 28 17:28:12 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9440 invoked from network); 28 Apr 2005 17:28:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Apr 2005 17:28:12 -0000 Received: (qmail 25605 invoked by uid 500); 28 Apr 2005 17:29:18 -0000 Delivered-To: [email protected] Received: (qmail 25582 invoked by uid 500); 28 Apr 2005 17:29:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 25566 invoked by uid 99); 28 Apr 2005 17:29:17 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from main.gmane.org (HELO ciao.gmane.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 28 Apr 2005 10:29:17 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DRCgb-0004vL-OD for [email protected]; Thu, 28 Apr 2005 19:20:25 +0200 Received: from 234.red-80-32-213.pooles.rima-tde.net ([161.129.204.104]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <[email protected]>; Thu, 28 Apr 2005 19:20:25 +0200 Received: from jorge.uriarte by 234.red-80-32-213.pooles.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <[email protected]>; Thu, 28 Apr 2005 19:20:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: [email protected] From: Jorge Uriarte <[email protected]> Subject: IDBROKER generated ids suddenly becomes HUGE Date: Thu, 28 Apr 2005 19:25:12 +0200 Lines: 104 Message-ID: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: [email protected] X-Gmane-NNTP-Posting-Host: 234.red-80-32-213.pooles.rima-tde.net User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Sender: news <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi there, out there in Scarab we're facing a strange bug that is driving us crazy. We're currently using torque-3.1.1 and torque-gen-3.1.1-dev You can take a look at the bug here (no user required): http://www.solitone.org/scarab/issues/id/SCB1514 The problem, in a few words, is that "sometimes" (recipe still missing) the ID number returned by the IDBROKER is HUGEEEE. The value is not the primary key for a table (its the number part of the issue ID, you know scarab ;-) ). I guess the code below (java, and id_table.xml) is the responsible: (full code here http://svn.collab.net/viewcvs/scarab/trunk/src /java/org/tigris/scarab/om/Issue.java?rev=9569&view=markup) It's *old* code, and I don't really know why did it started failing, but I somehow don't dare to change it... There are several things I don't understand in it: * It seems to expect the first call to getIdAsInt failing, and then it tries again synchronizing the call... * If it fails again, it asumes it does not exist (!) and then starts the count from 1 (this might be to make sure it finds a record in ID_TABLE for a new module) private int getNextIssueId(Connection con) throws Exception { int id = -1; String key = getIdTableKey(); DatabaseMap dbMap = IssuePeer.getTableMap().getDatabaseMap(); IDBroker idbroker = dbMap.getIDBroker(); try { id = idbroker.getIdAsInt(con, key); } catch (Exception e) { synchronized (idbroker) { try { id = idbroker.getIdAsInt(con, key); } catch (Exception idRetrievalErr) { // a module code entry in the id_table was likely not // entered, insert a row into the id_table and try again. try { saveIdTableKey(con); id = 1; } catch (Exception badException) { getLog().error("Could not get an id, even after " +"trying to add a module entry into the ID_TABLE", e); getLog() .error("Error trying to create ID_TABLE entry for " + getIdTableKey(), badException); // throw the original throw new ScarabException( L10NKeySet.ExceptionRetrievingIssueId, badException); } } } } return id; } This is the definition of the ID_TABLE: <database name="scarab"> <table name="ID_TABLE" idMethod="idbroker"> <column name="ID_TABLE_ID" required="true" primaryKey="true" type="INTEGER"/> <column name="TABLE_NAME" required="true" size="255" type="VARCHAR"/> <column name="NEXT_ID" type="INTEGER"/> <column name="QUANTITY" type="INTEGER"/> <unique> <unique-column name="TABLE_NAME"/> </unique> </table> </database> Any hint about where the problem would be? Any idea about why is this code so *strange*? Thanks!! _ Jorge --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 29 09:19:10 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97105 invoked from network); 29 Apr 2005 09:19:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Apr 2005 09:19:09 -0000 Received: (qmail 46149 invoked by uid 500); 29 Apr 2005 09:20:23 -0000 Delivered-To: [email protected] Received: (qmail 46116 invoked by uid 500); 29 Apr 2005 09:20:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Apache Torque Developers List" <torque-dev.db.apache.org> Reply-To: "Apache Torque Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 44155 invoked by uid 99); 29 Apr 2005 09:18:44 -0000 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=DATE_IN_FUTURE_12_24,DEAR_SOMETHING,HTML_60_70,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Message-ID: <000801c54d19$96bc4850$a415c1d2@nowvcah3xj44xv> From: "Shekhar" <[email protected]> To: <[email protected]> Subject: Help me Date: Fri, 29 Apr 2005 17:14:31 -0700 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01C54CDE.E82B2700" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0005_01C54CDE.E82B2700 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Dear sir, i don't know where to submit my query ?????. this is my sql query, if i execute the below query in sql prompt it is = working successfully. i'm using MySQL database. SELECT * FROM `schedule` where (startdate>=3D '20050428100000') and (startdate = <=3D '20050428155959' ) or (enddate>=3D '20050428100000') and (enddate = <=3D '20050428155959' ) ; i'm facing big problem with Torque OR criteria. how do i implement the = above sql query into OR criteria pls send your sample code to me = [email protected] advance thangs to you. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D public boolean checkRangelist(String startdate,String enddate) boolean bresult=3D false; Criteria cr1 =3D new Criteria(); =20 //schedule start date if(startdate.length()>0){ cr1.or(ChannelSchedulePeer.STARTDATE,new = StringBuffer("'"+startdate+"'"),Criteria.GREATER_EQUAL); Criteria.Criterion cre1 =3D = cr1.getCriterion(ChannelSchedulePeer.STARTDATE); cre1.and(cr1.getNewCriterion( cre1.getTable(), cre1.getColumn(), new StringBuffer("'"+enddate+"'"), Criteria.LESS_EQUAL) ); } //schedule end date if(enddate.length()>0){ cr1.or(ChannelSchedulePeer.ENDDATE,new = StringBuffer("'"+startdate+"'"),Criteria.GREATER_EQUAL);=20 Criteria.Criterion cre2 =3D = cr1.getCriterion(ChannelSchedulePeer.ENDDATE); cre2.and(cr1.getNewCriterion( cre2.getTable(), cre2.getColumn(), new StringBuffer("'"+enddate+"'"), Criteria.LESS_EQUAL) ); } cr1.addAscendingOrderByColumn(ChannelSchedulePeer.STARTDATE); =20 lst =3D ChannelSchedulePeer.doSelect(cr1); System.out.println(cr1.toString());=20 if(lst.size()>0) bresult=3Dtrue; =20 } catch(Exception ex){ sError=3D"Error=3D"+ex.getMessage(); =20 } =20 return bresult; } =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D this is the error i get when i try to execute the code=20 Current Query SQL (may not be complete or applicable): SELECT = Channel_Schedule.SCHEDULE_ID, Channel_Schedule.DESCRIPTION, = Channel_Schedule.COURSEXLET_ID, Channel_Schedule.STARTDATE, = Channel_Schedule.ENDDATE FROM Channel_Schedule WHERE = (Channel_Schedule.STARTDATE>=3D'20050428100000' AND Channel_Schedul e.STARTDATE<=3D'20050428155959') AND = (Channel_Schedule.ENDDATE>=3D'20050428100000' AND = Channel_Schedule.ENDDATE<=3D'20050428155959') ORDER BY = Channel_Schedule.STARTDATE ASC every thing fine execpt AND pls send your sample code as soon as you = can....very urgent thanks in advance Shekhar ------=_NextPart_000_0005_01C54CDE.E82B2700--
From [email protected] Thu Aug 26 17:39:36 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8159 invoked from network); 26 Aug 2010 17:39:36 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Aug 2010 17:39:36 -0000 Received: (qmail 40375 invoked by uid 500); 26 Aug 2010 17:39:36 -0000 Delivered-To: [email protected] Received: (qmail 40330 invoked by uid 500); 26 Aug 2010 17:39:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rivet-dev.tcl.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 40316 invoked by uid 99); 26 Aug 2010 17:39:36 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Aug 2010 17:39:36 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO nemo3.cce.unipr.it) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Aug 2010 17:39:11 +0000 Received: from posta.unipr.it (ipruniv.cce.unipr.it [161.129.204.104]) by nemo3.cce.unipr.it (8.13.8/8.13.8) with ESMTP id o7QHcdMd028033 for <[email protected]>; Thu, 26 Aug 2010 19:38:40 +0200 From: "Massimo Manghi" <[email protected]> To: [email protected] Subject: TEA 3.9 Date: Thu, 26 Aug 2010 19:38:40 +0200 Message-Id: <[email protected]> X-Mailer: OpenWebMail 2.53 X-OriginatingIP: 161.129.204.104 (manghi) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-CCE-UniPR-MailScanner-Information: CCE X-MailScanner-ID: o7QHcdMd028033 X-CCE-UniPR-Ne3-MailScanner: Found to be clean X-CCE-UniPR-Ne3-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-2.444, required 6, ALL_TRUSTED -1.80, BAYES_00 -2.60, URIBL_BLACK 1.96) X-CCE-UniPR-MailScanner-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org I'm about to commit these 2 files following the TEA 3.9 macros Jeff released recently * configure.ac: removed AC_DEFINE(BUILD_rivet....) as the tcl.m4 providing TEA 3.9 makes redundant this definition. Argument to TEA_INIT changed accordingly * tclconfig/tcl.m4: overwritten by the new tcl.m4 and made a couple of adjustments that make it automake/autoheader friendly. -- Massimo --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Aug 26 21:11:08 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78243 invoked from network); 26 Aug 2010 21:11:08 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Aug 2010 21:11:08 -0000 Received: (qmail 31704 invoked by uid 500); 26 Aug 2010 21:11:08 -0000 Delivered-To: [email protected] Received: (qmail 31689 invoked by uid 500); 26 Aug 2010 21:11:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rivet-cvs.tcl.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 31682 invoked by uid 99); 26 Aug 2010 21:11:07 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Aug 2010 21:11:07 +0000 X-ASF-Spam-Status: No, hits=-1996.5 required=10.0 tests=ALL_TRUSTED,URIBL_BLACK X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Aug 2010 21:10:46 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 16932238890A; Thu, 26 Aug 2010 21:09:27 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r989923 - in /tcl/rivet/trunk: ChangeLog configure.ac tclconfig/tcl.m4 Date: Thu, 26 Aug 2010 21:09:26 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: mxmanghi Date: Thu Aug 26 21:09:26 2010 New Revision: 989923 URL: http://svn.apache.org/viewvc?rev=989923&view=rev Log: * configure.ac: removed AC_DEFINE(BUILD_rivet....) as the tcl.m4 providing TEA 3.9 makes redundant this definition. Argument to TEA_INIT changed accordingly * tclconfig/tcl.m4: overwritten by the new tcl.m4 and made a couple of adjustments that make it autoreconf/autoheader friendly. Modified: tcl/rivet/trunk/ChangeLog tcl/rivet/trunk/configure.ac tcl/rivet/trunk/tclconfig/tcl.m4 Modified: tcl/rivet/trunk/ChangeLog URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/ChangeLog?rev=989923&r1=989922&r2=989923&view=diff ============================================================================== --- tcl/rivet/trunk/ChangeLog (original) +++ tcl/rivet/trunk/ChangeLog Thu Aug 26 21:09:26 2010 @@ -1,3 +1,9 @@ +2010-08-26 Massimo Manghi <[email protected]> + * configure.ac: removed AC_DEFINE(BUILD_rivet....) as the tcl.m4 providing TEA 3.9 + makes redundant this definition. Argument to TEA_INIT changed accordingly + * tclconfig/tcl.m4: overwritten by the new tcl.m4 and made a couple of adjustments that make it autoreconf/autoheader + friendly. + 2010-07-20 Massimo Manghi <[email protected]> * doc/examples/rivet_web_service.tcl,doc/html/*.html: Improved example of Ajax servlet. Manual changed accordingly. Modified: tcl/rivet/trunk/configure.ac URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/configure.ac?rev=989923&r1=989922&r2=989923&view=diff ============================================================================== --- tcl/rivet/trunk/configure.ac (original) +++ tcl/rivet/trunk/configure.ac Thu Aug 26 21:09:26 2010 @@ -23,7 +23,7 @@ dnl #----------------------------------------------------------------------- AC_INIT([Rivet],[2.0.1]) -TEA_INIT([3.7]) +TEA_INIT([3.9]) AC_CONFIG_AUX_DIR(tclconfig) AM_INIT_AUTOMAKE @@ -125,15 +125,17 @@ TEA_ADD_TCL_SOURCES([]) # TEA_ADD_* any platform specific compiler/build info here. #-------------------------------------------------------------------- +# removed AC_DEFINE(BUILD_rivet....) as per TEA 3.9 (Massimo Manghi 20100825) + if test "${TEA_PLATFORM}" = "windows" ; then - AC_DEFINE(BUILD_rivet,1,[Define to define the BUILD_rivet define (?)]) +# AC_DEFINE(BUILD_rivet,1,[Define to define the BUILD_rivet define (?)]) CLEANFILES="pkgIndex.tcl *.lib *.dll *.exp *.ilk *.pdb vc*.pch" - #TEA_ADD_SOURCES([win/winFile.c]) - #TEA_ADD_INCLUDES([-I\"$(${CYGPATH} ${srcdir}/win)\"]) +# #TEA_ADD_SOURCES([win/winFile.c]) +# #TEA_ADD_INCLUDES([-I\"$(${CYGPATH} ${srcdir}/win)\"]) else CLEANFILES="pkgIndex.tcl" - #TEA_ADD_SOURCES([unix/unixFile.c]) - #TEA_ADD_LIBS([-lsuperfly]) +# #TEA_ADD_SOURCES([unix/unixFile.c]) +# #TEA_ADD_LIBS([-lsuperfly]) fi AC_SUBST(CLEANFILES) Modified: tcl/rivet/trunk/tclconfig/tcl.m4 URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/tclconfig/tcl.m4?rev=989923&r1=989922&r2=989923&view=diff ============================================================================== --- tcl/rivet/trunk/tclconfig/tcl.m4 (original) +++ tcl/rivet/trunk/tclconfig/tcl.m4 Thu Aug 26 21:09:26 2010 @@ -15,7 +15,7 @@ AC_PREREQ(2.57) dnl TEA extensions pass us the version of TEA they think they dnl are compatible with (must be set in TEA_INIT below) -dnl TEA_VERSION="3.7" +dnl TEA_VERSION="3.9" # Possible values for key variables defined: # @@ -57,21 +57,21 @@ AC_DEFUN([TEA_PATH_TCLCONFIG], [ AC_ARG_WITH(tcl, AC_HELP_STRING([--with-tcl], [directory containing tcl configuration (tclConfig.sh)]), - with_tclconfig=${withval}) + with_tclconfig="${withval}") AC_MSG_CHECKING([for Tcl configuration]) AC_CACHE_VAL(ac_cv_c_tclconfig,[ # First check to see if --with-tcl was specified. if test x"${with_tclconfig}" != x ; then - case ${with_tclconfig} in + case "${with_tclconfig}" in */tclConfig.sh ) - if test -f ${with_tclconfig}; then + if test -f "${with_tclconfig}"; then AC_MSG_WARN([--with-tcl argument should refer to directory containing tclConfig.sh, not to tclConfig.sh itself]) - with_tclconfig=`echo ${with_tclconfig} | sed 's!/tclConfig\.sh$!!'` + with_tclconfig="`echo "${with_tclconfig}" | sed 's!/tclConfig\.sh$!!'`" fi ;; esac if test -f "${with_tclconfig}/tclConfig.sh" ; then - ac_cv_c_tclconfig=`(cd ${with_tclconfig}; pwd)` + ac_cv_c_tclconfig="`(cd "${with_tclconfig}"; pwd)`" else AC_MSG_ERROR([${with_tclconfig} directory doesn't contain tclConfig.sh]) fi @@ -94,11 +94,11 @@ AC_DEFUN([TEA_PATH_TCLCONFIG], [ `ls -dr ../../../tcl[[8-9]].[[0-9]]* 2>/dev/null` ; do if test "${TEA_PLATFORM}" = "windows" \ -a -f "$i/win/tclConfig.sh" ; then - ac_cv_c_tclconfig=`(cd $i/win; pwd)` + ac_cv_c_tclconfig="`(cd $i/win; pwd)`" break fi if test -f "$i/unix/tclConfig.sh" ; then - ac_cv_c_tclconfig=`(cd $i/unix; pwd)` + ac_cv_c_tclconfig="`(cd $i/unix; pwd)`" break fi done @@ -112,7 +112,7 @@ AC_DEFUN([TEA_PATH_TCLCONFIG], [ `ls -d /System/Library/Frameworks 2>/dev/null` \ ; do if test -f "$i/Tcl.framework/tclConfig.sh" ; then - ac_cv_c_tclconfig=`(cd $i/Tcl.framework; pwd)` + ac_cv_c_tclconfig="`(cd $i/Tcl.framework; pwd)`" break fi done @@ -125,7 +125,7 @@ AC_DEFUN([TEA_PATH_TCLCONFIG], [ `ls -d C:/Progra~1/Tcl/lib 2>/dev/null` \ ; do if test -f "$i/tclConfig.sh" ; then - ac_cv_c_tclconfig=`(cd $i; pwd)` + ac_cv_c_tclconfig="`(cd $i; pwd)`" break fi done @@ -139,9 +139,10 @@ AC_DEFUN([TEA_PATH_TCLCONFIG], [ `ls -d /usr/local/lib 2>/dev/null` \ `ls -d /usr/contrib/lib 2>/dev/null` \ `ls -d /usr/lib 2>/dev/null` \ + `ls -d /usr/lib64 2>/dev/null` \ ; do if test -f "$i/tclConfig.sh" ; then - ac_cv_c_tclconfig=`(cd $i; pwd)` + ac_cv_c_tclconfig="`(cd $i; pwd)`" break fi done @@ -156,13 +157,13 @@ AC_DEFUN([TEA_PATH_TCLCONFIG], [ `ls -dr ${srcdir}/../tcl[[8-9]].[[0-9]]* 2>/dev/null` ; do if test "${TEA_PLATFORM}" = "windows" \ -a -f "$i/win/tclConfig.sh" ; then - ac_cv_c_tclconfig=`(cd $i/win; pwd)` + ac_cv_c_tclconfig="`(cd $i/win; pwd)`" break fi if test -f "$i/unix/tclConfig.sh" ; then - ac_cv_c_tclconfig=`(cd $i/unix; pwd)` - break - fi + ac_cv_c_tclconfig="`(cd $i/unix; pwd)`" + break + fi done fi ]) @@ -172,7 +173,7 @@ AC_DEFUN([TEA_PATH_TCLCONFIG], [ AC_MSG_ERROR([Can't find Tcl configuration definitions]) else no_tcl= - TCL_BIN_DIR=${ac_cv_c_tclconfig} + TCL_BIN_DIR="${ac_cv_c_tclconfig}" AC_MSG_RESULT([found ${TCL_BIN_DIR}/tclConfig.sh]) fi fi @@ -209,21 +210,21 @@ AC_DEFUN([TEA_PATH_TKCONFIG], [ AC_ARG_WITH(tk, AC_HELP_STRING([--with-tk], [directory containing tk configuration (tkConfig.sh)]), - with_tkconfig=${withval}) + with_tkconfig="${withval}") AC_MSG_CHECKING([for Tk configuration]) AC_CACHE_VAL(ac_cv_c_tkconfig,[ # First check to see if --with-tkconfig was specified. if test x"${with_tkconfig}" != x ; then - case ${with_tkconfig} in + case "${with_tkconfig}" in */tkConfig.sh ) - if test -f ${with_tkconfig}; then + if test -f "${with_tkconfig}"; then AC_MSG_WARN([--with-tk argument should refer to directory containing tkConfig.sh, not to tkConfig.sh itself]) - with_tkconfig=`echo ${with_tkconfig} | sed 's!/tkConfig\.sh$!!'` + with_tkconfig="`echo "${with_tkconfig}" | sed 's!/tkConfig\.sh$!!'`" fi ;; esac if test -f "${with_tkconfig}/tkConfig.sh" ; then - ac_cv_c_tkconfig=`(cd ${with_tkconfig}; pwd)` + ac_cv_c_tkconfig="`(cd "${with_tkconfig}"; pwd)`" else AC_MSG_ERROR([${with_tkconfig} directory doesn't contain tkConfig.sh]) fi @@ -246,11 +247,11 @@ AC_DEFUN([TEA_PATH_TKCONFIG], [ `ls -dr ../../../tk[[8-9]].[[0-9]]* 2>/dev/null` ; do if test "${TEA_PLATFORM}" = "windows" \ -a -f "$i/win/tkConfig.sh" ; then - ac_cv_c_tkconfig=`(cd $i/win; pwd)` + ac_cv_c_tkconfig="`(cd $i/win; pwd)`" break fi if test -f "$i/unix/tkConfig.sh" ; then - ac_cv_c_tkconfig=`(cd $i/unix; pwd)` + ac_cv_c_tkconfig="`(cd $i/unix; pwd)`" break fi done @@ -264,7 +265,7 @@ AC_DEFUN([TEA_PATH_TKCONFIG], [ `ls -d /System/Library/Frameworks 2>/dev/null` \ ; do if test -f "$i/Tk.framework/tkConfig.sh" ; then - ac_cv_c_tkconfig=`(cd $i/Tk.framework; pwd)` + ac_cv_c_tkconfig="`(cd $i/Tk.framework; pwd)`" break fi done @@ -278,9 +279,10 @@ AC_DEFUN([TEA_PATH_TKCONFIG], [ `ls -d /usr/local/lib 2>/dev/null` \ `ls -d /usr/contrib/lib 2>/dev/null` \ `ls -d /usr/lib 2>/dev/null` \ + `ls -d /usr/lib64 2>/dev/null` \ ; do if test -f "$i/tkConfig.sh" ; then - ac_cv_c_tkconfig=`(cd $i; pwd)` + ac_cv_c_tkconfig="`(cd $i; pwd)`" break fi done @@ -293,7 +295,7 @@ AC_DEFUN([TEA_PATH_TKCONFIG], [ `ls -d C:/Progra~1/Tcl/lib 2>/dev/null` \ ; do if test -f "$i/tkConfig.sh" ; then - ac_cv_c_tkconfig=`(cd $i; pwd)` + ac_cv_c_tkconfig="`(cd $i; pwd)`" break fi done @@ -308,11 +310,11 @@ AC_DEFUN([TEA_PATH_TKCONFIG], [ `ls -dr ${srcdir}/../tk[[8-9]].[[0-9]]* 2>/dev/null` ; do if test "${TEA_PLATFORM}" = "windows" \ -a -f "$i/win/tkConfig.sh" ; then - ac_cv_c_tkconfig=`(cd $i/win; pwd)` + ac_cv_c_tkconfig="`(cd $i/win; pwd)`" break fi if test -f "$i/unix/tkConfig.sh" ; then - ac_cv_c_tkconfig=`(cd $i/unix; pwd)` + ac_cv_c_tkconfig="`(cd $i/unix; pwd)`" break fi done @@ -324,7 +326,7 @@ AC_DEFUN([TEA_PATH_TKCONFIG], [ AC_MSG_ERROR([Can't find Tk configuration definitions]) else no_tk= - TK_BIN_DIR=${ac_cv_c_tkconfig} + TK_BIN_DIR="${ac_cv_c_tkconfig}" AC_MSG_RESULT([found ${TK_BIN_DIR}/tkConfig.sh]) fi fi @@ -370,9 +372,9 @@ AC_DEFUN([TEA_LOAD_TCLCONFIG], [ # instead of TCL_BUILD_LIB_SPEC since it will work with both an # installed and uninstalled version of Tcl. if test -f "${TCL_BIN_DIR}/Makefile" ; then - TCL_LIB_SPEC=${TCL_BUILD_LIB_SPEC} - TCL_STUB_LIB_SPEC=${TCL_BUILD_STUB_LIB_SPEC} - TCL_STUB_LIB_PATH=${TCL_BUILD_STUB_LIB_PATH} + TCL_LIB_SPEC="${TCL_BUILD_LIB_SPEC}" + TCL_STUB_LIB_SPEC="${TCL_BUILD_STUB_LIB_SPEC}" + TCL_STUB_LIB_PATH="${TCL_BUILD_STUB_LIB_PATH}" elif test "`uname -s`" = "Darwin"; then # If Tcl was built as a framework, attempt to use the libraries # from the framework at the given location so that linking works @@ -380,16 +382,16 @@ AC_DEFUN([TEA_LOAD_TCLCONFIG], [ case ${TCL_DEFS} in *TCL_FRAMEWORK*) if test -f "${TCL_BIN_DIR}/${TCL_LIB_FILE}"; then - for i in "`cd ${TCL_BIN_DIR}; pwd`" \ - "`cd ${TCL_BIN_DIR}/../..; pwd`"; do + for i in "`cd "${TCL_BIN_DIR}"; pwd`" \ + "`cd "${TCL_BIN_DIR}"/../..; pwd`"; do if test "`basename "$i"`" = "${TCL_LIB_FILE}.framework"; then - TCL_LIB_SPEC="-F`dirname "$i"` -framework ${TCL_LIB_FILE}" + TCL_LIB_SPEC="-F`dirname "$i" | sed -e 's/ /\\\\ /g'` -framework ${TCL_LIB_FILE}" break fi done fi if test -f "${TCL_BIN_DIR}/${TCL_STUB_LIB_FILE}"; then - TCL_STUB_LIB_SPEC="-L${TCL_BIN_DIR} ${TCL_STUB_LIB_FLAG}" + TCL_STUB_LIB_SPEC="-L`echo "${TCL_BIN_DIR}" | sed -e 's/ /\\\\ /g'` ${TCL_STUB_LIB_FLAG}" TCL_STUB_LIB_PATH="${TCL_BIN_DIR}/${TCL_STUB_LIB_FILE}" fi ;; @@ -403,6 +405,7 @@ AC_DEFUN([TEA_LOAD_TCLCONFIG], [ eval "TCL_STUB_LIB_SPEC=\"${TCL_STUB_LIB_SPEC}\"" AC_SUBST(TCL_VERSION) + AC_SUBST(TCL_PATCH_LEVEL) AC_SUBST(TCL_BIN_DIR) AC_SUBST(TCL_SRC_DIR) @@ -414,7 +417,36 @@ AC_DEFUN([TEA_LOAD_TCLCONFIG], [ AC_SUBST(TCL_STUB_LIB_FLAG) AC_SUBST(TCL_STUB_LIB_SPEC) + case "`uname -s`" in + *CYGWIN_*) + AC_MSG_CHECKING([for cygwin variant]) + case ${TCL_EXTRA_CFLAGS} in + *-mwin32*|*-mno-cygwin*) + TEA_PLATFORM="windows" + CFLAGS="$CFLAGS -mwin32" + AC_MSG_RESULT([win32]) + ;; + *) + TEA_PLATFORM="unix" + AC_MSG_RESULT([unix]) + ;; + esac + EXEEXT=".exe" + ;; + *) + ;; + esac + + # Do this here as we have fully defined TEA_PLATFORM now + if test "${TEA_PLATFORM}" = "windows" ; then + # The BUILD_$pkg is to define the correct extern storage class + # handling when making this package + AC_DEFINE_UNQUOTED(BUILD_${PACKAGE_NAME}) + CLEANFILES="$CLEANFILES *.lib *.dll *.pdb *.exp" + fi + # TEA specific: + AC_SUBST(CLEANFILES) AC_SUBST(TCL_LIBS) AC_SUBST(TCL_DEFS) AC_SUBST(TCL_EXTRA_CFLAGS) @@ -459,9 +491,9 @@ AC_DEFUN([TEA_LOAD_TKCONFIG], [ # instead of TK_BUILD_LIB_SPEC since it will work with both an # installed and uninstalled version of Tcl. if test -f "${TK_BIN_DIR}/Makefile" ; then - TK_LIB_SPEC=${TK_BUILD_LIB_SPEC} - TK_STUB_LIB_SPEC=${TK_BUILD_STUB_LIB_SPEC} - TK_STUB_LIB_PATH=${TK_BUILD_STUB_LIB_PATH} + TK_LIB_SPEC="${TK_BUILD_LIB_SPEC}" + TK_STUB_LIB_SPEC="${TK_BUILD_STUB_LIB_SPEC}" + TK_STUB_LIB_PATH="${TK_BUILD_STUB_LIB_PATH}" elif test "`uname -s`" = "Darwin"; then # If Tk was built as a framework, attempt to use the libraries # from the framework at the given location so that linking works @@ -469,16 +501,16 @@ AC_DEFUN([TEA_LOAD_TKCONFIG], [ case ${TK_DEFS} in *TK_FRAMEWORK*) if test -f "${TK_BIN_DIR}/${TK_LIB_FILE}"; then - for i in "`cd ${TK_BIN_DIR}; pwd`" \ - "`cd ${TK_BIN_DIR}/../..; pwd`"; do + for i in "`cd "${TK_BIN_DIR}"; pwd`" \ + "`cd "${TK_BIN_DIR}"/../..; pwd`"; do if test "`basename "$i"`" = "${TK_LIB_FILE}.framework"; then - TK_LIB_SPEC="-F`dirname "$i"` -framework ${TK_LIB_FILE}" + TK_LIB_SPEC="-F`dirname "$i" | sed -e 's/ /\\\\ /g'` -framework ${TK_LIB_FILE}" break fi done fi if test -f "${TK_BIN_DIR}/${TK_STUB_LIB_FILE}"; then - TK_STUB_LIB_SPEC="-L${TK_BIN_DIR} ${TK_STUB_LIB_FLAG}" + TK_STUB_LIB_SPEC="-L` echo "${TK_BIN_DIR}" | sed -e 's/ /\\\\ /g'` ${TK_STUB_LIB_FLAG}" TK_STUB_LIB_PATH="${TK_BIN_DIR}/${TK_STUB_LIB_FILE}" fi ;; @@ -630,7 +662,7 @@ AC_DEFUN([TEA_PROG_WISH], [ # # Arguments: # none -# +# # Results: # # Adds the following arguments to configure: @@ -686,7 +718,7 @@ AC_DEFUN([TEA_ENABLE_SHARED], [ # # Arguments: # none -# +# # Results: # # Adds the following arguments to configure: @@ -920,8 +952,7 @@ AC_DEFUN([TEA_ENABLE_LANGINFO], [ # # Determine what the system is (some things cannot be easily checked # on a feature-driven basis, alas). This can usually be done via the -# "uname" command, but there are a few systems, like Next, where -# this doesn't work. +# "uname" command. # # Arguments: # none @@ -938,20 +969,12 @@ AC_DEFUN([TEA_CONFIG_SYSTEM], [ # TEA specific: if test "${TEA_PLATFORM}" = "windows" ; then tcl_cv_sys_version=windows - elif test -f /usr/lib/NextStep/software_version; then - tcl_cv_sys_version=NEXTSTEP-`awk '/3/,/3/' /usr/lib/NextStep/software_version` else tcl_cv_sys_version=`uname -s`-`uname -r` if test "$?" -ne 0 ; then AC_MSG_WARN([can't find uname command]) tcl_cv_sys_version=unknown else - # Special check for weird MP-RAS system (uname returns weird - # results, and the version is kept in special file). - - if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then - tcl_cv_sys_version=MP-RAS-`awk '{print $[3]}' /etc/.relid` - fi if test "`uname -s`" = "AIX" ; then tcl_cv_sys_version=AIX-`uname -v`.`uname -r` fi @@ -974,10 +997,7 @@ AC_DEFUN([TEA_CONFIG_SYSTEM], [ # # Defines and substitutes the following vars: # -# DL_OBJS - Name of the object file that implements dynamic -# loading for Tcl on this system. -# DL_LIBS - Library file(s) to include in tclsh and other base -# applications in order for the "load" command to work. +# DL_OBJS, DL_LIBS - removed for TEA, only needed by core. # LDFLAGS - Flags to pass to the compiler when linking object # files into an executable application binary such # as tclsh. @@ -998,7 +1018,7 @@ AC_DEFUN([TEA_CONFIG_SYSTEM], [ # SHLIB_LD_LIBS - Dependent libraries for the linker to scan when # creating shared libraries. This symbol typically # goes at the end of the "ld" commands that build -# shared libraries. The value of the symbol is +# shared libraries. The value of the symbol defaults to # "${LIBS}" if all of the dependent libraries should # be specified when creating a shared library. If # dependent libraries should not be specified (as on @@ -1019,16 +1039,6 @@ AC_DEFUN([TEA_CONFIG_SYSTEM], [ # a .a extension whereas shared objects for loadable # extensions have a .so extension. Defaults to # ${VERSION}${SHLIB_SUFFIX}. -# TCL_NEEDS_EXP_FILE - -# 1 means that an export file is needed to link to a -# shared library. -# TCL_EXP_FILE - The name of the installed export / import file which -# should be used to link to the Tcl shared library. -# Empty if Tcl is unshared. -# TCL_BUILD_EXP_FILE - -# The name of the built export / import file which -# should be used to link to the Tcl shared library. -# Empty if Tcl is unshared. # CFLAGS_DEBUG - # Flags used when running the compiler in debug mode # CFLAGS_OPTIMIZE - @@ -1098,31 +1108,26 @@ AC_DEFUN([TEA_CONFIG_CFLAGS], [ AC_MSG_RESULT([$doWince]) ]) - # Step 1: set the variable "system" to hold the name and version number + # Set the variable "system" to hold the name and version number # for the system. TEA_CONFIG_SYSTEM - # Step 2: check for existence of -ldl library. This is needed because - # Linux can use either -ldl or -ldld for dynamic loading. - - AC_CHECK_LIB(dl, dlopen, have_dl=yes, have_dl=no) - # Require ranlib early so we can override it in special cases below. AC_REQUIRE([AC_PROG_RANLIB]) - # Step 3: set configuration options based on system name and version. + # Set configuration options based on system name and version. # This is similar to Tcl's unix/tcl.m4 except that we've added a - # "windows" case. + # "windows" case and removed some core-only vars. do64bit_ok=no - LDFLAGS_ORIG="$LDFLAGS" + # default to '{$LIBS}' and set to "" on per-platform necessary basis + SHLIB_LD_LIBS='${LIBS}' # When ld needs options to work in 64-bit mode, put them in # LDFLAGS_ARCH so they eventually end up in LDFLAGS even if [load] # is disabled by the user. [Bug 1016796] LDFLAGS_ARCH="" - TCL_EXPORT_FILE_SUFFIX="" UNSHARED_LIB_SUFFIX="" # TEA specific: use PACKAGE_VERSION instead of VERSION TCL_TRIM_DOTS='`echo ${PACKAGE_VERSION} | tr -d .`' @@ -1135,9 +1140,6 @@ AC_DEFUN([TEA_CONFIG_CFLAGS], [ CFLAGS_OPTIMIZE=-O2 CFLAGS_WARNING="-Wall" ], [CFLAGS_WARNING=""]) - TCL_NEEDS_EXP_FILE=0 - TCL_BUILD_EXP_FILE="" - TCL_EXP_FILE="" dnl FIXME: Replace AC_CHECK_PROG with AC_CHECK_TOOL once cross compiling is fixed. dnl AC_CHECK_TOOL(AR, ar) AC_CHECK_PROG(AR, ar, ar) @@ -1323,13 +1325,10 @@ dnl AC_CHECK_TOOL(AR, ar) fi fi - SHLIB_LD_LIBS='${LIBS}' SHLIB_SUFFIX=".dll" SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.dll' TCL_LIB_VERSIONS_OK=nodots - # Bogus to avoid getting this turned off - DL_OBJS="tclLoadNone.obj" ;; AIX-*) AS_IF([test "${TCL_THREADS}" = "1" -a "$GCC" != "yes"], [ @@ -1347,14 +1346,12 @@ dnl AC_CHECK_TOOL(AR, ar) ]) LIBS="$LIBS -lc" SHLIB_CFLAGS="" - SHLIB_LD_LIBS='${LIBS}' SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" LD_LIBRARY_PATH_VAR="LIBPATH" - # Check to enable 64-bit flags for compiler/linker on AIX 4+ - AS_IF([test "$do64bit" = yes -a "`uname -v`" -gt 3], [ + # Check to enable 64-bit flags for compiler/linker + AS_IF([test "$do64bit" = yes], [ AS_IF([test "$GCC" = yes], [ AC_MSG_WARN([64bit mode not supported with GCC on $system]) ], [ @@ -1370,8 +1367,6 @@ dnl AC_CHECK_TOOL(AR, ar) AS_IF([test "`uname -m`" = ia64], [ # AIX-5 uses ELF style dynamic libraries on IA-64, but not PPC SHLIB_LD="/usr/ccs/bin/ld -G -z text" - # AIX-5 has dl* in libc.so - DL_LIBS="" AS_IF([test "$GCC" = yes], [ CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}' ], [ @@ -1379,49 +1374,21 @@ dnl AC_CHECK_TOOL(AR, ar) ]) LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}' ], [ - AS_IF([test "$GCC" = yes], [SHLIB_LD='${CC} -shared'], [ - SHLIB_LD="/bin/ld -bhalt:4 -bM:SRE -bE:lib.exp -H512 -T512 -bnoentry" + AS_IF([test "$GCC" = yes], [ + SHLIB_LD='${CC} -shared -Wl,-bexpall' + ], [ + SHLIB_LD="/bin/ld -bhalt:4 -bM:SRE -bexpall -H512 -T512 -bnoentry" + LDFLAGS="$LDFLAGS -brtl" ]) - SHLIB_LD="${TCL_SRC_DIR}/unix/ldAix ${SHLIB_LD} ${SHLIB_LD_FLAGS}" - DL_LIBS="-ldl" + SHLIB_LD="${SHLIB_LD} ${SHLIB_LD_FLAGS}" CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}' LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} - TCL_NEEDS_EXP_FILE=1 - # TEA specific: use PACKAGE_VERSION instead of VERSION - TCL_EXPORT_FILE_SUFFIX='${PACKAGE_VERSION}.exp' - ]) - - # AIX v<=4.1 has some different flags than 4.2+ - AS_IF([test "$system" = "AIX-4.1" -o "`uname -v`" -lt 4], [ - AC_LIBOBJ([tclLoadAix]) - DL_LIBS="-lld" - ]) - - # On AIX <=v4 systems, libbsd.a has to be linked in to support - # non-blocking file IO. This library has to be linked in after - # the MATH_LIBS or it breaks the pow() function. The way to - # insure proper sequencing, is to add it to the tail of MATH_LIBS. - # This library also supplies gettimeofday. - # - # AIX does not have a timezone field in struct tm. When the AIX - # bsd library is used, the timezone global and the gettimeofday - # methods are to be avoided for timezone deduction instead, we - # deduce the timezone by comparing the localtime result on a - # known GMT value. - - AC_CHECK_LIB(bsd, gettimeofday, libbsd=yes, libbsd=no) - AS_IF([test $libbsd = yes], [ - MATH_LIBS="$MATH_LIBS -lbsd" - AC_DEFINE(USE_DELTA_FOR_TZ, 1, [Do we need a special AIX hack for timezones?]) ]) ;; BeOS*) SHLIB_CFLAGS="-fPIC" SHLIB_LD='${CC} -nostart' - SHLIB_LD_LIBS='${LIBS}' SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="-ldl" #----------------------------------------------------------- # Check for inet_ntoa in -lbind, for BeOS (which also needs @@ -1430,37 +1397,29 @@ dnl AC_CHECK_TOOL(AR, ar) #----------------------------------------------------------- AC_CHECK_LIB(bind, inet_ntoa, [LIBS="$LIBS -lbind -lsocket"]) ;; - BSD/OS-2.1*|BSD/OS-3*) - SHLIB_CFLAGS="" - SHLIB_LD="shlicc -r" - SHLIB_LD_LIBS='${LIBS}' - SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="-ldl" - CC_SEARCH_FLAGS="" - LD_SEARCH_FLAGS="" - ;; BSD/OS-4.*) SHLIB_CFLAGS="-export-dynamic -fPIC" SHLIB_LD='${CC} -shared' - SHLIB_LD_LIBS='${LIBS}' SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="-ldl" LDFLAGS="$LDFLAGS -export-dynamic" CC_SEARCH_FLAGS="" LD_SEARCH_FLAGS="" ;; - dgux*) - SHLIB_CFLAGS="-K PIC" - SHLIB_LD='${CC} -G' - SHLIB_LD_LIBS="" - SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="-ldl" + CYGWIN_*) + SHLIB_CFLAGS="" + SHLIB_LD='${CC} -shared' + SHLIB_SUFFIX=".dll" + EXE_SUFFIX=".exe" CC_SEARCH_FLAGS="" LD_SEARCH_FLAGS="" ;; + Haiku*) + LDFLAGS="$LDFLAGS -Wl,--export-dynamic" + SHLIB_CFLAGS="-fPIC" + SHLIB_SUFFIX=".so" + SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS}' + AC_CHECK_LIB(network, inet_ntoa, [LIBS="$LIBS -lnetwork"]) + ;; HP-UX-*.11.*) # Use updated header definitions where possible AC_DEFINE(_XOPEN_SOURCE_EXTENDED, 1, [Do we want to use the XOPEN network library?]) @@ -1479,9 +1438,6 @@ dnl AC_CHECK_TOOL(AR, ar) ]) AC_CHECK_LIB(dld, shl_load, tcl_ok=yes, tcl_ok=no) AS_IF([test "$tcl_ok" = yes], [ - SHLIB_LD_LIBS='${LIBS}' - DL_OBJS="tclLoadShl.o" - DL_LIBS="-ldld" LDFLAGS="$LDFLAGS -E" CC_SEARCH_FLAGS='-Wl,+s,+b,${LIB_RUNTIME_DIR}:.' LD_SEARCH_FLAGS='+s +b ${LIB_RUNTIME_DIR}:.' @@ -1506,7 +1462,6 @@ dnl AC_CHECK_TOOL(AR, ar) # 64-bit gcc in use. Fix flags for GNU ld. do64bit_ok=yes SHLIB_LD='${CC} -shared' - SHLIB_LD_LIBS='${LIBS}' AS_IF([test $doRpath = yes], [ CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}']) LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} @@ -1521,38 +1476,10 @@ dnl AC_CHECK_TOOL(AR, ar) LDFLAGS_ARCH="+DD64" ]) ]) ;; - HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*) - SHLIB_SUFFIX=".sl" - AC_CHECK_LIB(dld, shl_load, tcl_ok=yes, tcl_ok=no) - AS_IF([test "$tcl_ok" = yes], [ - SHLIB_CFLAGS="+z" - SHLIB_LD="ld -b" - SHLIB_LD_LIBS="" - DL_OBJS="tclLoadShl.o" - DL_LIBS="-ldld" - LDFLAGS="$LDFLAGS -Wl,-E" - CC_SEARCH_FLAGS='-Wl,+s,+b,${LIB_RUNTIME_DIR}:.' - LD_SEARCH_FLAGS='+s +b ${LIB_RUNTIME_DIR}:.' - LD_LIBRARY_PATH_VAR="SHLIB_PATH" - ]) ;; - IRIX-5.*) - SHLIB_CFLAGS="" - SHLIB_LD="ld -shared -rdata_shared" - SHLIB_LD_LIBS='${LIBS}' - SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="" - AS_IF([test $doRpath = yes], [ - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' - LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}']) - ;; IRIX-6.*) SHLIB_CFLAGS="" SHLIB_LD="ld -n32 -shared -rdata_shared" - SHLIB_LD_LIBS='${LIBS}' SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="" AS_IF([test $doRpath = yes], [ CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}']) @@ -1575,10 +1502,7 @@ dnl AC_CHECK_TOOL(AR, ar) IRIX64-6.*) SHLIB_CFLAGS="" SHLIB_LD="ld -n32 -shared -rdata_shared" - SHLIB_LD_LIBS='${LIBS}' SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="" AS_IF([test $doRpath = yes], [ CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}']) @@ -1598,20 +1522,13 @@ dnl AC_CHECK_TOOL(AR, ar) ;; Linux*) SHLIB_CFLAGS="-fPIC" - SHLIB_LD_LIBS='${LIBS}' SHLIB_SUFFIX=".so" # TEA specific: CFLAGS_OPTIMIZE="-O2 -fomit-frame-pointer" - # egcs-2.91.66 on Redhat Linux 6.0 generates lots of warnings - # when you inline the string and math operations. Turn this off to - # get rid of the warnings. - #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES" # TEA specific: use LDFLAGS_DEFAULT instead of LDFLAGS SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS_DEFAULT}' - DL_OBJS="tclLoadDl.o" - DL_LIBS="-ldl" LDFLAGS="$LDFLAGS -Wl,--export-dynamic" AS_IF([test $doRpath = yes], [ CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}']) @@ -1640,12 +1557,9 @@ dnl AC_CHECK_TOOL(AR, ar) ;; GNU*) SHLIB_CFLAGS="-fPIC" - SHLIB_LD_LIBS='${LIBS}' SHLIB_SUFFIX=".so" SHLIB_LD='${CC} -shared' - DL_OBJS="" - DL_LIBS="-ldl" LDFLAGS="$LDFLAGS -Wl,--export-dynamic" CC_SEARCH_FLAGS="" LD_SEARCH_FLAGS="" @@ -1653,72 +1567,18 @@ dnl AC_CHECK_TOOL(AR, ar) ;; Lynx*) SHLIB_CFLAGS="-fPIC" - SHLIB_LD_LIBS='${LIBS}' SHLIB_SUFFIX=".so" CFLAGS_OPTIMIZE=-02 SHLIB_LD='${CC} -shared' - DL_OBJS="tclLoadDl.o" - DL_LIBS="-mshared -ldl" LD_FLAGS="-Wl,--export-dynamic" AS_IF([test $doRpath = yes], [ CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}']) ;; - MP-RAS-02*) - SHLIB_CFLAGS="-K PIC" - SHLIB_LD='${CC} -G' - SHLIB_LD_LIBS="" - SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="-ldl" - CC_SEARCH_FLAGS="" - LD_SEARCH_FLAGS="" - ;; - MP-RAS-*) - SHLIB_CFLAGS="-K PIC" - SHLIB_LD='${CC} -G' - SHLIB_LD_LIBS="" - SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="-ldl" - LDFLAGS="$LDFLAGS -Wl,-Bexport" - CC_SEARCH_FLAGS="" - LD_SEARCH_FLAGS="" - ;; - NetBSD-1.*|FreeBSD-[[1-2]].*) - SHLIB_CFLAGS="-fPIC" - SHLIB_LD="ld -Bshareable -x" - SHLIB_LD_LIBS='${LIBS}' - SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="" - AS_IF([test $doRpath = yes], [ - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' - LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}']) - AC_CACHE_CHECK([for ELF], tcl_cv_ld_elf, [ - AC_EGREP_CPP(yes, [ -#ifdef __ELF__ - yes -#endif - ], tcl_cv_ld_elf=yes, tcl_cv_ld_elf=no)]) - AS_IF([test $tcl_cv_ld_elf = yes], [ - SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so' - ], [ - SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${SHLIB_VERSION}' - ]) - - # Ancient FreeBSD doesn't handle version numbers with dots. - - UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' - TCL_LIB_VERSIONS_OK=nodots - ;; OpenBSD-*) SHLIB_CFLAGS="-fPIC" SHLIB_LD='${CC} -shared ${SHLIB_CFLAGS}' - SHLIB_LD_LIBS='${LIBS}' SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="" AS_IF([test $doRpath = yes], [ CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}']) LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} @@ -1732,20 +1592,22 @@ dnl AC_CHECK_TOOL(AR, ar) AS_IF([test $tcl_cv_ld_elf = yes], [ LDFLAGS=-Wl,-export-dynamic ], [LDFLAGS=""]) - + AS_IF([test "${TCL_THREADS}" = "1"], [ + # OpenBSD builds and links with -pthread, never -lpthread. + LIBS=`echo $LIBS | sed s/-lpthread//` + CFLAGS="$CFLAGS -pthread" + SHLIB_CFLAGS="$SHLIB_CFLAGS -pthread" + ]) # OpenBSD doesn't do version numbers with dots. UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' TCL_LIB_VERSIONS_OK=nodots ;; - NetBSD-*|FreeBSD-*) + NetBSD-*|FreeBSD-[[3-4]].*) # FreeBSD 3.* and greater have ELF. # NetBSD 2.* has ELF and can use 'cc -shared' to build shared libs SHLIB_CFLAGS="-fPIC" SHLIB_LD='${CC} -shared ${SHLIB_CFLAGS}' - SHLIB_LD_LIBS='${LIBS}' SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="" LDFLAGS="$LDFLAGS -export-dynamic" AS_IF([test $doRpath = yes], [ CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}']) @@ -1765,6 +1627,27 @@ dnl AC_CHECK_TOOL(AR, ar) ;; esac ;; + FreeBSD-*) + # This configuration from FreeBSD Ports. + SHLIB_CFLAGS="-fPIC" + SHLIB_LD="${CC} -shared" + TCL_SHLIB_LD_EXTRAS="-soname \$[@]" + SHLIB_SUFFIX=".so" + LDFLAGS="" + AS_IF([test $doRpath = yes], [ + CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' + LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}']) + AS_IF([test "${TCL_THREADS}" = "1"], [ + # The -pthread needs to go in the LDFLAGS, not LIBS + LIBS=`echo $LIBS | sed s/-pthread//` + CFLAGS="$CFLAGS $PTHREAD_CFLAGS" + LDFLAGS="$LDFLAGS $PTHREAD_LIBS"]) + # Version numbers are dot-stripped by system policy. + TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` + UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' + SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' + TCL_LIB_VERSIONS_OK=nodots + ;; Darwin-*) CFLAGS_OPTIMIZE="-Os" SHLIB_CFLAGS="-fno-common" @@ -1825,10 +1708,7 @@ dnl AC_CHECK_TOOL(AR, ar) # TEA specific: link shlib with current and compatiblity version flags vers=`echo ${PACKAGE_VERSION} | sed -e 's/^\([[0-9]]\{1,5\}\)\(\(\.[[0-9]]\{1,3\}\)\{0,2\}\).*$/\1\2/p' -e d` SHLIB_LD="${SHLIB_LD} -current_version ${vers:-0} -compatibility_version ${vers:-0}" - SHLIB_LD_LIBS='${LIBS}' SHLIB_SUFFIX=".dylib" - DL_OBJS="tclLoadDyld.o" - DL_LIBS="" # Don't use -prebind when building for Mac OS X 10.4 or later only: AS_IF([test "`echo "${MACOSX_DEPLOYMENT_TARGET}" | awk -F '10\\.' '{print int([$]2)}'`" -lt 4 -a \ "`echo "${CPPFLAGS}" | awk -F '-mmacosx-version-min=10\\.' '{print int([$]2)}'`" -lt 4], [ @@ -1847,6 +1727,7 @@ dnl AC_CHECK_TOOL(AR, ar) AS_IF([test "$tcl_cv_cc_visibility_hidden" != yes], [ AC_DEFINE(MODULE_SCOPE, [__private_extern__], [Compiler support for module scope symbols]) + tcl_cv_cc_visibility_hidden=yes ]) CC_SEARCH_FLAGS="" LD_SEARCH_FLAGS="" @@ -1889,46 +1770,11 @@ dnl AC_CHECK_TOOL(AR, ar) done]) ]) ;; - NEXTSTEP-*) - SHLIB_CFLAGS="" - SHLIB_LD='${CC} -nostdlib -r' - SHLIB_LD_LIBS="" - SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadNext.o" - DL_LIBS="" - CC_SEARCH_FLAGS="" - LD_SEARCH_FLAGS="" - ;; OS/390-*) CFLAGS_OPTIMIZE="" # Optimizer is buggy AC_DEFINE(_OE_SOCKETS, 1, # needed in sys/socket.h [Should OS/390 do the right thing with sockets?]) ;; - OSF1-1.0|OSF1-1.1|OSF1-1.2) - # OSF/1 1.[012] from OSF, and derivatives, including Paragon OSF/1 - SHLIB_CFLAGS="" - # Hack: make package name same as library name - SHLIB_LD='ld -R -export $@:' - SHLIB_LD_LIBS="" - SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadOSF.o" - DL_LIBS="" - CC_SEARCH_FLAGS="" - LD_SEARCH_FLAGS="" - ;; - OSF1-1.*) - # OSF/1 1.3 from OSF using ELF, and derivatives, including AD2 - SHLIB_CFLAGS="-fPIC" - AS_IF([test "$SHARED_BUILD" = 1], [SHLIB_LD="ld -shared"], [ - SHLIB_LD="ld -non_shared" - ]) - SHLIB_LD_LIBS="" - SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="" - CC_SEARCH_FLAGS="" - LD_SEARCH_FLAGS="" - ;; OSF1-V*) # Digital OSF/1 SHLIB_CFLAGS="" @@ -1937,10 +1783,7 @@ dnl AC_CHECK_TOOL(AR, ar) ], [ SHLIB_LD='ld -non_shared -expect_unresolved "*"' ]) - SHLIB_LD_LIBS="" SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="" AS_IF([test $doRpath = yes], [ CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}']) @@ -1966,60 +1809,23 @@ dnl AC_CHECK_TOOL(AR, ar) SHLIB_LD="ld -Bshareable -x" SHLIB_LD_LIBS="" SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - # dlopen is in -lc on QNX - DL_LIBS="" CC_SEARCH_FLAGS="" LD_SEARCH_FLAGS="" ;; SCO_SV-3.2*) - # Note, dlopen is available only on SCO 3.2.5 and greater. However, - # this test works, since "uname -s" was non-standard in 3.2.4 and - # below. AS_IF([test "$GCC" = yes], [ - SHLIB_CFLAGS="-fPIC -melf" - LDFLAGS="$LDFLAGS -melf -Wl,-Bexport" + SHLIB_CFLAGS="-fPIC -melf" + LDFLAGS="$LDFLAGS -melf -Wl,-Bexport" ], [ - SHLIB_CFLAGS="-Kpic -belf" - LDFLAGS="$LDFLAGS -belf -Wl,-Bexport" + SHLIB_CFLAGS="-Kpic -belf" + LDFLAGS="$LDFLAGS -belf -Wl,-Bexport" ]) SHLIB_LD="ld -G" SHLIB_LD_LIBS="" SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="" - CC_SEARCH_FLAGS="" - LD_SEARCH_FLAGS="" - ;; - SINIX*5.4*) - SHLIB_CFLAGS="-K PIC" - SHLIB_LD='${CC} -G' - SHLIB_LD_LIBS="" - SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="-ldl" CC_SEARCH_FLAGS="" LD_SEARCH_FLAGS="" ;; - SunOS-4*) - SHLIB_CFLAGS="-PIC" - SHLIB_LD="ld" - SHLIB_LD_LIBS="" - SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="-ldl" - CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}' - LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} - - # SunOS can't handle version numbers with dots in them in library - # specs, like -ltcl7.5, so use -ltcl75 instead. Also, it - # requires an extra version number at the end of .so file names. - # So, the library has to have a name like libtcl75.so.1.0 - - SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${SHLIB_VERSION}' - UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' - TCL_LIB_VERSIONS_OK=nodots - ;; SunOS-5.[[0-6]]) # Careful to not let 5.10+ fall into this case @@ -2031,14 +1837,7 @@ dnl AC_CHECK_TOOL(AR, ar) [Do we really want to follow the standard? Yes we do!]) SHLIB_CFLAGS="-KPIC" - - # Note: need the LIBS below, otherwise Tk won't find Tcl's - # symbols when dynamically loaded into tclsh. - - SHLIB_LD_LIBS='${LIBS}' SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="-ldl" AS_IF([test "$GCC" = yes], [ SHLIB_LD='${CC} -shared' CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}' @@ -2108,13 +1907,7 @@ dnl AC_CHECK_TOOL(AR, ar) ], [AC_MSG_WARN([64bit mode not supported for $arch])])]) ]) - # Note: need the LIBS below, otherwise Tk won't find Tcl's - # symbols when dynamically loaded into tclsh. - - SHLIB_LD_LIBS='${LIBS}' SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="-ldl" AS_IF([test "$GCC" = yes], [ SHLIB_LD='${CC} -shared' CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}' @@ -2148,26 +1941,6 @@ dnl AC_CHECK_TOOL(AR, ar) LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}' ]) ;; - UNIX_SV* | UnixWare-5*) - SHLIB_CFLAGS="-KPIC" - SHLIB_LD='${CC} -G' - SHLIB_LD_LIBS="" - SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="-ldl" - # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers - # that don't grok the -Bexport option. Test that it does. - AC_CACHE_CHECK([for ld accepts -Bexport flag], tcl_cv_ld_Bexport, [ - hold_ldflags=$LDFLAGS - LDFLAGS="$LDFLAGS -Wl,-Bexport" - AC_TRY_LINK(, [int i;], tcl_cv_ld_Bexport=yes, tcl_cv_ld_Bexport=no) - LDFLAGS=$hold_ldflags]) - AS_IF([test $tcl_cv_ld_Bexport = yes], [ - LDFLAGS="$LDFLAGS -Wl,-Bexport" - ]) - CC_SEARCH_FLAGS="" - LD_SEARCH_FLAGS="" - ;; esac AS_IF([test "$do64bit" = yes -a "$do64bit_ok" = no], [ @@ -2180,44 +1953,33 @@ dnl # both CPPFLAGS and CFLAGS (unlike o dnl # preprocessing tests use only CPPFLAGS. AC_CONFIG_COMMANDS_PRE([CFLAGS="${CFLAGS} ${CPPFLAGS}"; CPPFLAGS=""]) - # Step 4: disable dynamic loading if requested via a command-line switch. - - AC_ARG_ENABLE(load, - AC_HELP_STRING([--enable-load], - [allow dynamic loading and "load" command (default: on)]), - [tcl_ok=$enableval], [tcl_ok=yes]) - AS_IF([test "$tcl_ok" = no], [DL_OBJS=""]) - - AS_IF([test "x$DL_OBJS" != x], [BUILD_DLTEST="\$(DLTEST_TARGETS)"], [ - AC_MSG_WARN([Can't figure out how to do dynamic loading or shared libraries on this system.]) - SHLIB_CFLAGS="" - SHLIB_LD="" - SHLIB_SUFFIX="" - DL_OBJS="tclLoadNone.o" - DL_LIBS="" - LDFLAGS="$LDFLAGS_ORIG" - CC_SEARCH_FLAGS="" - LD_SEARCH_FLAGS="" - BUILD_DLTEST="" - ]) + # Add in the arch flags late to ensure it wasn't removed. + # Not necessary in TEA, but this is aligned with core LDFLAGS="$LDFLAGS $LDFLAGS_ARCH" # If we're running gcc, then change the C flags for compiling shared # libraries to the right flags for gcc, instead of those for the # standard manufacturer compiler. - AS_IF([test "$DL_OBJS" != "tclLoadNone.o" -a "$GCC" = yes], [ + AS_IF([test "$GCC" = yes], [ case $system in AIX-*) ;; BSD/OS*) ;; + CYGWIN_*) ;; IRIX*) ;; - NetBSD-*|FreeBSD-*) ;; + NetBSD-*|FreeBSD-*|OpenBSD-*) ;; Darwin-*) ;; SCO_SV-3.2*) ;; windows) ;; *) SHLIB_CFLAGS="-fPIC" ;; esac]) + AS_IF([test "$tcl_cv_cc_visibility_hidden" != yes], [ + AC_DEFINE(MODULE_SCOPE, [extern], + [No Compiler support for module scope symbols]) + AC_DEFINE([NO_VIZ], [], [No description provided for NO_VIZ]...) + ]) + AS_IF([test "$SHARED_LIB_SUFFIX" = ""], [ # TEA specific: use PACKAGE_VERSION instead of VERSION SHARED_LIB_SUFFIX='${PACKAGE_VERSION}${SHLIB_SUFFIX}']) @@ -2225,8 +1987,6 @@ dnl # preprocessing tests use only CPPFL # TEA specific: use PACKAGE_VERSION instead of VERSION UNSHARED_LIB_SUFFIX='${PACKAGE_VERSION}.a']) - AC_SUBST(DL_LIBS) - AC_SUBST(CFLAGS_DEBUG) AC_SUBST(CFLAGS_OPTIMIZE) AC_SUBST(CFLAGS_WARNING) @@ -2518,7 +2278,7 @@ AC_DEFUN([TEA_PATH_UNIX_X], [ found_xincludes="yes" fi fi - if test found_xincludes = "no"; then + if test "$found_xincludes" = "no"; then AC_MSG_RESULT([couldn't find any!]) fi @@ -2581,19 +2341,10 @@ AC_DEFUN([TEA_BLOCKING_STYLE], [ TEA_CONFIG_SYSTEM AC_MSG_CHECKING([FIONBIO vs. O_NONBLOCK for nonblocking I/O]) case $system in - # There used to be code here to use FIONBIO under AIX. However, it - # was reported that FIONBIO doesn't work under AIX 3.2.5. Since - # using O_NONBLOCK seems fine under AIX 4.*, I removed the FIONBIO - # code (JO, 5/31/97). - OSF*) AC_DEFINE(USE_FIONBIO, 1, [Should we use FIONBIO?]) AC_MSG_RESULT([FIONBIO]) ;; - SunOS-4*) - AC_DEFINE(USE_FIONBIO, 1, [Should we use FIONBIO?]) - AC_MSG_RESULT([FIONBIO]) - ;; *) AC_MSG_RESULT([O_NONBLOCK]) ;; @@ -2730,7 +2481,7 @@ AC_DEFUN([TEA_BUGGY_STRTOD], [ # # Arguments: # Requires the following vars to be set in the Makefile: -# DL_LIBS +# DL_LIBS (not in TEA, only needed in core) # LIBS # MATH_LIBS # @@ -2884,8 +2635,8 @@ AC_DEFUN([TEA_TCL_64BIT_FLAGS], [ # See if we should use long anyway Note that we substitute in the # type that is our current guess for a 64-bit type inside this check # program, so it should be modified only carefully... - AC_TRY_COMPILE(,[switch (0) { - case 1: case (sizeof(]${tcl_type_64bit}[)==sizeof(long)): ; + AC_TRY_COMPILE(,[switch (0) { + case 1: case (sizeof(]${tcl_type_64bit}[)==sizeof(long)): ; }],tcl_cv_type_64bit=${tcl_type_64bit})]) if test "${tcl_cv_type_64bit}" = none ; then AC_DEFINE(TCL_WIDE_INT_IS_LONG, 1, [Are wide integers to be implemented with C 'long's?]) @@ -2973,7 +2724,7 @@ AC_DEFUN([TEA_TCL_64BIT_FLAGS], [ AC_DEFUN([TEA_INIT], [ # TEA extensions pass this us the version of TEA they think they # are compatible with. - TEA_VERSION="3.7" + TEA_VERSION="3.9" AC_MSG_CHECKING([for correct TEA configuration]) if test x"${PACKAGE_NAME}" = x ; then @@ -2989,11 +2740,16 @@ TEA version not specified.]) AC_MSG_RESULT([ok (TEA ${TEA_VERSION})]) fi case "`uname -s`" in - *win32*|*WIN32*|*CYGWIN_NT*|*CYGWIN_9*|*CYGWIN_ME*|*MINGW32_*) + *win32*|*WIN32*|*MINGW32_*) AC_CHECK_PROG(CYGPATH, cygpath, cygpath -w, echo) EXEEXT=".exe" TEA_PLATFORM="windows" ;; + *CYGWIN_*) + CYGPATH=echo + EXEEXT=".exe" + # TEA_PLATFORM is determined later in LOAD_TCLCONFIG + ;; *) CYGPATH=echo EXEEXT="" @@ -3061,6 +2817,7 @@ AC_DEFUN([TEA_ADD_SOURCES], [ # in Makefile.in as well if test ! -f "${srcdir}/$i" -a ! -f "${srcdir}/generic/$i" \ -a ! -f "${srcdir}/win/$i" -a ! -f "${srcdir}/unix/$i" \ + -a ! -f "${srcdir}/macosx/$i" \ ; then AC_MSG_ERROR([could not find source file '$i']) fi @@ -3104,6 +2861,7 @@ AC_DEFUN([TEA_ADD_STUB_SOURCES], [ # check for existence - allows for generic/win/unix VPATH if test ! -f "${srcdir}/$i" -a ! -f "${srcdir}/generic/$i" \ -a ! -f "${srcdir}/win/$i" -a ! -f "${srcdir}/unix/$i" \ + -a ! -f "${srcdir}/macosx/$i" \ ; then AC_MSG_ERROR([could not find stub source file '$i']) fi @@ -3244,6 +3002,22 @@ AC_DEFUN([TEA_ADD_CFLAGS], [ ]) #------------------------------------------------------------------------ +# TEA_ADD_CLEANFILES -- +# +# Specify one or more CLEANFILES. +# +# Arguments: +# one or more file names to clean target +# +# Results: +# +# Appends to CLEANFILES, already defined for subst in LOAD_TCLCONFIG +#------------------------------------------------------------------------ +AC_DEFUN([TEA_ADD_CLEANFILES], [ + CLEANFILES="$CLEANFILES $@" +]) + +#------------------------------------------------------------------------ # TEA_PREFIX -- # # Handle the --prefix=... option by defaulting to what Tcl gave @@ -3397,12 +3171,25 @@ AC_DEFUN([TEA_SETUP_COMPILER], [ # MAKE_SHARED_LIB Makefile rule for building a shared library # MAKE_STATIC_LIB Makefile rule for building a static library # MAKE_STUB_LIB Makefile rule for building a stub library +# VC_MANIFEST_EMBED_DLL Makefile rule for embedded VC manifest in DLL +# VC_MANIFEST_EMBED_EXE Makefile rule for embedded VC manifest in EXE #------------------------------------------------------------------------ AC_DEFUN([TEA_MAKE_LIB], [ if test "${TEA_PLATFORM}" = "windows" -a "$GCC" != "yes"; then MAKE_STATIC_LIB="\${STLIB_LD} -out:\[$]@ \$(PKG_OBJECTS)" MAKE_SHARED_LIB="\${SHLIB_LD} \${SHLIB_LD_LIBS} \${LDFLAGS_DEFAULT} -out:\[$]@ \$(PKG_OBJECTS)" + AC_EGREP_CPP([manifest needed], [ +#if defined(_MSC_VER) && _MSC_VER >= 1400 +print("manifest needed") +#endif + ], [ + # Could do a CHECK_PROG for mt, but should always be with MSVC8+ + VC_MANIFEST_EMBED_DLL="mt.exe -nologo -manifest \[$]@.manifest -outputresource:\[$]@\;2" + VC_MANIFEST_EMBED_EXE="mt.exe -nologo -manifest \[$]@.manifest -outputresource:\[$]@\;1" + MAKE_SHARED_LIB="${MAKE_SHARED_LIB} ; ${VC_MANIFEST_EMBED_DLL}" + TEA_ADD_CLEANFILES([*.manifest]) + ]) MAKE_STUB_LIB="\${STLIB_LD} -out:\[$]@ \$(PKG_STUB_OBJECTS)" else MAKE_STATIC_LIB="\${STLIB_LD} \[$]@ \$(PKG_OBJECTS)" @@ -3470,6 +3257,8 @@ AC_DEFUN([TEA_MAKE_LIB], [ AC_SUBST(MAKE_STATIC_LIB) AC_SUBST(MAKE_STUB_LIB) AC_SUBST(RANLIB_STUB) + AC_SUBST(VC_MANIFEST_EMBED_DLL) + AC_SUBST(VC_MANIFEST_EMBED_EXE) ]) #------------------------------------------------------------------------ @@ -3517,6 +3306,8 @@ AC_DEFUN([TEA_LIB_SPEC], [ `ls -dr ${tea_lib_name_dir}/lib$1[[0-9]]* 2>/dev/null ` \ `ls -dr /usr/lib/$1[[0-9]]*.lib 2>/dev/null ` \ `ls -dr /usr/lib/lib$1[[0-9]]* 2>/dev/null ` \ + `ls -dr /usr/lib64/$1[[0-9]]*.lib 2>/dev/null ` \ + `ls -dr /usr/lib64/lib$1[[0-9]]* 2>/dev/null ` \ `ls -dr /usr/local/lib/$1[[0-9]]*.lib 2>/dev/null ` \ `ls -dr /usr/local/lib/lib$1[[0-9]]* 2>/dev/null ` ; do if test -f "$i" ; then @@ -3997,6 +3788,7 @@ AC_DEFUN([TEA_PATH_CONFIG], [ `ls -d /usr/local/lib 2>/dev/null` \ `ls -d /usr/contrib/lib 2>/dev/null` \ `ls -d /usr/lib 2>/dev/null` \ + `ls -d /usr/lib64 2>/dev/null` \ ; do if test -f "$i/$1Config.sh" ; then ac_cv_c_$1config=`(cd $i; pwd)` @@ -4073,8 +3865,96 @@ AC_DEFUN([TEA_LOAD_CONFIG], [ AC_SUBST($1_STUB_LIB_FILE) AC_SUBST($1_STUB_LIB_SPEC) AC_SUBST($1_STUB_LIB_PATH) + + # Allow the caller to prevent this auto-check by specifying any 2nd arg + AS_IF([test "x$2" = x], [ + # Check both upper and lower-case variants + # If a dev wanted non-stubs libs, this function could take an option + # to not use _STUB in the paths below + AS_IF([test "x${$1_STUB_LIB_SPEC}" = x], + [TEA_LOAD_CONFIG_LIB(translit($1,[a-z],[A-Z])_STUB)], + [TEA_LOAD_CONFIG_LIB($1_STUB)]) + ]) +]) + +#------------------------------------------------------------------------ +# TEA_LOAD_CONFIG_LIB -- +# +# Helper function to load correct library from another extension's +# ${PACKAGE}Config.sh. +# +# Results: +# Adds to LIBS the appropriate extension library +# +#------------------------------------------------------------------------ +AC_DEFUN([TEA_LOAD_CONFIG_LIB], [ + AC_MSG_CHECKING([For $1 library for LIBS]) + # This simplifies the use of stub libraries by automatically adding + # the stub lib to your path. Normally this would add to SHLIB_LD_LIBS, + # but this is called before CONFIG_CFLAGS. More importantly, this adds + # to PKG_LIBS, which becomes LIBS, and that is only used by SHLIB_LD. + if test "x${$1_LIB_SPEC}" != "x" ; then + if test "${TEA_PLATFORM}" = "windows" -a "$GCC" != "yes" ; then + TEA_ADD_LIBS([\"`${CYGPATH} ${$1_LIB_PATH}`\"]) + AC_MSG_RESULT([using $1_LIB_PATH ${$1_LIB_PATH}]) + else + TEA_ADD_LIBS([${$1_LIB_SPEC}]) + AC_MSG_RESULT([using $1_LIB_SPEC ${$1_LIB_SPEC}]) + fi + else + AC_MSG_RESULT([file not found]) + fi +]) + +#------------------------------------------------------------------------ +# TEA_EXPORT_CONFIG -- +# +# Define the data to insert into the ${PACKAGE}Config.sh file +# +# Arguments: +# +# Requires the following vars to be set: +# $1 +# +# Results: +# Subst the following vars: +# +#------------------------------------------------------------------------ + +AC_DEFUN([TEA_EXPORT_CONFIG], [ + #-------------------------------------------------------------------- + # These are for $1Config.sh + #-------------------------------------------------------------------- + + # pkglibdir must be a fully qualified path and (not ${exec_prefix}/lib) + eval pkglibdir="[$]{libdir}/$1${PACKAGE_VERSION}" + if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then + eval $1_LIB_FLAG="-l$1${PACKAGE_VERSION}${DBGX}" + eval $1_STUB_LIB_FLAG="-l$1stub${PACKAGE_VERSION}${DBGX}" + else + eval $1_LIB_FLAG="-l$1`echo ${PACKAGE_VERSION} | tr -d .`${DBGX}" + eval $1_STUB_LIB_FLAG="-l$1stub`echo ${PACKAGE_VERSION} | tr -d .`${DBGX}" + fi + $1_BUILD_LIB_SPEC="-L`pwd` ${$1_LIB_FLAG}" + $1_LIB_SPEC="-L${pkglibdir} ${$1_LIB_FLAG}" + $1_BUILD_STUB_LIB_SPEC="-L`pwd` [$]{$1_STUB_LIB_FLAG}" + $1_STUB_LIB_SPEC="-L${pkglibdir} [$]{$1_STUB_LIB_FLAG}" + $1_BUILD_STUB_LIB_PATH="`pwd`/[$]{PKG_STUB_LIB_FILE}" + $1_STUB_LIB_PATH="${pkglibdir}/[$]{PKG_STUB_LIB_FILE}" + + AC_SUBST($1_BUILD_LIB_SPEC) + AC_SUBST($1_LIB_SPEC) + AC_SUBST($1_BUILD_STUB_LIB_SPEC) + AC_SUBST($1_STUB_LIB_SPEC) + AC_SUBST($1_BUILD_STUB_LIB_PATH) + AC_SUBST($1_STUB_LIB_PATH) + + AC_SUBST(MAJOR_VERSION) + AC_SUBST(MINOR_VERSION) + AC_SUBST(PATCHLEVEL) ]) + #------------------------------------------------------------------------ # TEA_PATH_CELIB -- # --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Aug 26 21:14:23 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79178 invoked from network); 26 Aug 2010 21:14:23 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Aug 2010 21:14:23 -0000 Received: (qmail 38656 invoked by uid 500); 26 Aug 2010 21:14:23 -0000 Delivered-To: [email protected] Received: (qmail 38639 invoked by uid 500); 26 Aug 2010 21:14:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rivet-cvs.tcl.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 38632 invoked by uid 99); 26 Aug 2010 21:14:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Aug 2010 21:14:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Aug 2010 21:14:21 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id D36CB2388AD6; Thu, 26 Aug 2010 21:13:03 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r989926 [5/5] - in /tcl/rivet/trunk/doc: ./ html/ xml/ Date: Thu, 26 Aug 2010 21:13:02 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Modified: tcl/rivet/trunk/doc/html/session_package.html URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/html/session_package.html?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/html/session_package.html (original) +++ tcl/rivet/trunk/doc/html/session_package.html Thu Aug 26 21:13:00 2010 @@ -1,4 +1,4 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Session Package</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="index.html" title="Apache Rivet"><link rel="prev" href="diodisplay_package.html" title="DIODisplay"><link rel="next" href="form.html" title="Form: An HTML Form Fields Generation Utility"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Session Package</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="diodisplay_package.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="form.html"><img src="images/next.png" alt="Next "></a></td></tr></table></div><div class="section" title="Session Package"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="session_package"></a>Session Package</h2></div></div></div><div class="section" title="Introduction"><div class="titlepage"><div><div><h3 class="title"><a name="id619472"></a>Introduction</h3></div></div></div><p style="width:90%"> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Session Package</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="index.html" title="Apache Rivet"><link rel="prev" href="diodisplay_package.html" title="DIODisplay"><link rel="next" href="form.html" title="Form: An HTML Form Fields Generation Utility"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Session Package</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="diodisplay_package.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="form.html"><img src="images/next.png" alt="Next "></a></td></tr></table></div><div class="section" title="Session Package"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="session_package"></a>Session Package</h2></div></div></div><div class="section" title="Introduction"><div class="titlepage"><div><div><h3 class="title"><a name="id568598"></a>Introduction</h3></div></div></div><p style="width:90%"> This is session management code. It provides an interface to allow you to generate and track a browser's visit as a "session", giving you a unique session ID and an interface @@ -25,7 +25,7 @@ All DB interfacing is done through DIO, though, so it should be relatively easy to add support for other databases. - </p></div><div class="section" title="Preparing To Use It"><div class="titlepage"><div><div><h3 class="title"><a name="id619808"></a>Preparing To Use It</h3></div></div></div><p style="width:90%">Create the tables in your SQL server. With Postgres, + </p></div><div class="section" title="Preparing To Use It"><div class="titlepage"><div><div><h3 class="title"><a name="id568934"></a>Preparing To Use It</h3></div></div></div><p style="width:90%">Create the tables in your SQL server. With Postgres, do a <span style="font-family:monospace"><span class="command"><strong>psql www</strong></span></span> or whatever DB you connect as, then a backslash-i on <code class="filename">session-create.sql</code></p><p style="width:90%">(If you need to delete the tables, use <code class="filename">session-drop.sql</code>)</p><p style="width:90%">The session code by default requires a DIO handle @@ -33,7 +33,7 @@ overridden). We get it by doing a</p><pre style="background:#ccc; margin: 2ex; margin-right: 10%; padding: 1ex; border: dashed black 1px ; white-space: pre; font-family: monospace; font-size: 90%;" class="programlisting"> RivetServerConf ChildInitScript "package require DIO" RivetServerConf ChildInitScript "acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bIOacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bhandle Postgresql DIO -user www" - </pre></div><div class="section" title="Example Usage"><div class="titlepage"><div><div><h3 class="title"><a name="id619853"></a>Example Usage</h3></div></div></div><p style="width:90%">In your httpd.conf, add:</p><pre style="background:#ccc; margin: 2ex; margin-right: 10%; padding: 1ex; border: dashed black 1px ; white-space: pre; font-family: monospace; font-size: 90%;" class="programlisting">RivetServerConf ChildInitScript "package require Session; Session SESSION"</pre><p style="width:90%"> + </pre></div><div class="section" title="Example Usage"><div class="titlepage"><div><div><h3 class="title"><a name="id568979"></a>Example Usage</h3></div></div></div><p style="width:90%">In your httpd.conf, add:</p><pre style="background:#ccc; margin: 2ex; margin-right: 10%; padding: 1ex; border: dashed black 1px ; white-space: pre; font-family: monospace; font-size: 90%;" class="programlisting">RivetServerConf ChildInitScript "package require Session; Session SESSION"</pre><p style="width:90%"> This tells Rivet you want to create a session object named SESSION in every child process Apache creates.</p><p style="width:90%"> You can configure the session at this point using numerous @@ -54,7 +54,7 @@ additional requests are received during the session, all under the control of the key-value pairs controlling the session object. - </p></div><div class="section" title="Using Sessions From Your Code"><div class="titlepage"><div><div><h3 class="title"><a name="id619910"></a>Using Sessions From Your Code</h3></div></div></div><p style="width:90%">The main methods your code will use are:</p><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">SESSION</span> <span style="font-weight:bold ; font-family:monospace">id</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex"> + </p></div><div class="section" title="Using Sessions From Your Code"><div class="titlepage"><div><div><h3 class="title"><a name="id569035"></a>Using Sessions From Your Code</h3></div></div></div><p style="width:90%">The main methods your code will use are:</p><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">SESSION</span> <span style="font-weight:bold ; font-family:monospace">id</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex"> After doing a <span style="font-family:monospace"><span class="command"><strong>SESSION activate</strong></span></span>, this will return a 32-byte ASCII-encoded random hexadecimal string. Every time this browser comes @@ -81,7 +81,7 @@ none was set. (Status is set to the DIO error that occurred, it can be fetched using the status method.) - </div></div></dd></dl></div></div><div class="section" title="Session Configuration Options"><div class="titlepage"><div><div><h3 class="title"><a name="id620107"></a>Session Configuration Options</h3></div></div></div><p style="width:90%">The following key-value pairs can be specified when a + </div></div></dd></dl></div></div><div class="section" title="Session Configuration Options"><div class="titlepage"><div><div><h3 class="title"><a name="id569233"></a>Session Configuration Options</h3></div></div></div><p style="width:90%">The following key-value pairs can be specified when a session object (like SESSION above) is created:</p><div class="variablelist"><dl><dt><span class="term">sessionLifetime</span></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">how many seconds the session will live for. 7200 == 2 hours </div></div></dd><dt><span class="term">sessionRefreshInterval</span></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex"> @@ -134,7 +134,7 @@ file handle that debugging messages will be written to (default <code class="varname">stdout</code>) - </div></div></dd></dl></div></div><div class="section" title="Session Methods"><div class="titlepage"><div><div><h3 class="title"><a name="id620335"></a>Session Methods</h3></div></div></div><p style="width:90%"> + </div></div></dd></dl></div></div><div class="section" title="Session Methods"><div class="titlepage"><div><div><h3 class="title"><a name="id569460"></a>Session Methods</h3></div></div></div><p style="width:90%"> The following methods can be invoked to find out information about the current session, store and fetch server data identified with this session, etc: @@ -173,7 +173,7 @@ If they don't have one or it isn't valid (timed out, etc), create a session and drop a cookie on them. - </div></div></dd></dl></div></div><div class="section" title="Getting Additional Randomness From The Entropy File"><div class="titlepage"><div><div><h3 class="title"><a name="id620561"></a>Getting Additional Randomness From The Entropy File</h3></div></div></div><pre style="background:#ccc; margin: 2ex; margin-right: 10%; padding: 1ex; border: dashed black 1px ; white-space: pre; font-family: monospace; font-size: 90%;" class="programlisting">RivetServerConf ChildInitScript "Session SESSION -entropyFile /dev/urandom \ + </div></div></dd></dl></div></div><div class="section" title="Getting Additional Randomness From The Entropy File"><div class="titlepage"><div><div><h3 class="title"><a name="id569686"></a>Getting Additional Randomness From The Entropy File</h3></div></div></div><pre style="background:#ccc; margin: 2ex; margin-right: 10%; padding: 1ex; border: dashed black 1px ; white-space: pre; font-family: monospace; font-size: 90%;" class="programlisting">RivetServerConf ChildInitScript "Session SESSION -entropyFile /dev/urandom \ -entropyLength 10 -debugMode 1"</pre><p style="width:90%"> This options say we want to get randomness from an entropy file (random data pseudo-device) of /dev/urandom, to get ten Modified: tcl/rivet/trunk/doc/html/unescape_string.html URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/html/unescape_string.html?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/html/unescape_string.html (original) +++ tcl/rivet/trunk/doc/html/unescape_string.html Thu Aug 26 21:13:00 2010 @@ -1,4 +1,4 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>unescape_string</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="escape_shell_command.html" title="escape_shell_command"><link rel="next" href="apache_log_error.html" title="apache_log_error"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">unescape_string</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="escape_shell_command.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" hr ef="apache_log_error.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="unescape_string"><div class="refentry.separator"><hr></div><a name="unescape_string"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>unescape_string &#8212; unescape escaped characters in a string.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">unescape_string</span> ?<span style="font-family:monospace; font-weight: bold;">string</span>?</div></div></div><div class="refsect1" title="Description"><a name="id603601"></a><h2>Description</h2><p style="width:90%"> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>unescape_string</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="escape_shell_command.html" title="escape_shell_command"><link rel="next" href="apache_log_error.html" title="apache_log_error"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">unescape_string</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="escape_shell_command.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" hr ef="apache_log_error.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="unescape_string"><div class="refentry.separator"><hr></div><a name="unescape_string"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>unescape_string &#8212; unescape escaped characters in a string.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">unescape_string</span> ?<span style="font-family:monospace; font-weight: bold;">string</span>?</div></div></div><div class="refsect1" title="Description"><a name="id552726"></a><h2>Description</h2><p style="width:90%"> Scans through each character in the specified string looking for escaped character sequences (characters containing a percent sign and two hexadecimal characters, unescaping them Modified: tcl/rivet/trunk/doc/html/upgrading.html URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/html/upgrading.html?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/html/upgrading.html (original) +++ tcl/rivet/trunk/doc/html/upgrading.html Thu Aug 26 21:13:00 2010 @@ -5,8 +5,8 @@ compatibility was not a primary goal when creating Rivet, but we do provide this information which may be of use to those wishing to upgrade from mod_dtcl or NWS installations. - </p><div class="section" title="mod_dtcl"><div class="titlepage"><div><div><h3 class="title"><a name="id628920"></a>mod_dtcl</h3></div></div></div><p style="width:90%"> + </p><div class="section" title="mod_dtcl"><div class="titlepage"><div><div><h3 class="title"><a name="id578037"></a>mod_dtcl</h3></div></div></div><p style="width:90%"> Rivet was originally based on the dtcl code, but it has changed (improved!) quite a bit. The concepts remain the same, but many of the commands have changed. - </p></div><div class="section" title="NeoWebScript"><div class="titlepage"><div><div><h3 class="title"><a name="id628931"></a>NeoWebScript</h3></div></div></div><p style="width:90%">TODO</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="internals.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> </td></tr><tr><td width="40%" align="left" valign="top">Rivet Internals </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></body></html> + </p></div><div class="section" title="NeoWebScript"><div class="titlepage"><div><div><h3 class="title"><a name="id578048"></a>NeoWebScript</h3></div></div></div><p style="width:90%">TODO</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="internals.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> </td></tr><tr><td width="40%" align="left" valign="top">Rivet Internals </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></body></html> Modified: tcl/rivet/trunk/doc/html/upload.html URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/html/upload.html?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/html/upload.html (original) +++ tcl/rivet/trunk/doc/html/upload.html Thu Aug 26 21:13:00 2010 @@ -1,4 +1,4 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>upload</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="var.html" title="var"><link rel="next" href="load_response.html" title="load_response"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">upload</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="var.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="load_response.html"><img src="images/next.png" alt="Next"></a></td></tr ></table></div><div class="refentry" title="upload"><div class="refentry.separator"><hr></div><a name="upload"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>upload &#8212; handle a file uploaded by a client.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">upload</span> (<span style="font-family:monospace; font-weight: bold;">channel</span> | <span style="font-family:monospace; font-weight: bold;">save</span> | <span style="font-family:monospace; font-weight: bold;">data</span> | <span style="font-family:monospace; font-weight: bold;">exists</span> | <span style="font-family:monospace; font-weight: bold;">size</span> | <span style="font-family:monospace; font-weight: bold;">type</span> | <span style="font-family:monospace; font-w eight: bold;">filename</span>)</div></div></div><div class="refsect1" title="Description"><a name="id601771"></a><h2>Description</h2><p style="width:90%">The upload command is for file upload manipulation. +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>upload</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="var.html" title="var"><link rel="next" href="load_response.html" title="load_response"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">upload</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="var.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="load_response.html"><img src="images/next.png" alt="Next"></a></td></tr ></table></div><div class="refentry" title="upload"><div class="refentry.separator"><hr></div><a name="upload"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>upload &#8212; handle a file uploaded by a client.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">upload</span> (<span style="font-family:monospace; font-weight: bold;">channel</span> | <span style="font-family:monospace; font-weight: bold;">save</span> | <span style="font-family:monospace; font-weight: bold;">data</span> | <span style="font-family:monospace; font-weight: bold;">exists</span> | <span style="font-family:monospace; font-weight: bold;">size</span> | <span style="font-family:monospace; font-weight: bold;">type</span> | <span style="font-family:monospace; font-w eight: bold;">filename</span>)</div></div></div><div class="refsect1" title="Description"><a name="id550896"></a><h2>Description</h2><p style="width:90%">The upload command is for file upload manipulation. See the relevant Apache Directives to further configure the behavior of this Rivet feature. </p><div class="variablelist"><dl><dt><span class="term"> Modified: tcl/rivet/trunk/doc/html/var.html URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/html/var.html?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/html/var.html (original) +++ tcl/rivet/trunk/doc/html/var.html Thu Aug 26 21:13:00 2010 @@ -1,4 +1,4 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>var</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="next" href="upload.html" title="upload"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">var</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="commands.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="upload.html"><img src="images/next.png" alt="Next">< /a></td></tr></table></div><div class="refentry" title="var"><a name="var"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>var, var_qs, var_post &#8212; get the value of a form variable.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">var</span> (<span style="font-family:monospace; font-weight: bold;">get</span> | <span style="font-family:monospace; font-weight: bold;">list</span> | <span style="font-family:monospace; font-weight: bold;">exists</span> | <span style="font-family:monospace; font-weight: bold;">number</span> | <span style="font-family:monospace; font-weight: bold;">all</span>)</div></div><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word- spacing:1ex "><span style="font-weight:bold ; font-family:monospace">var_qs</span> (<span style="font-family:monospace; font-weight: bold;">get</span> | <span style="font-family:monospace; font-weight: bold;">list</span> | <span style="font-family:monospace; font-weight: bold;">exists</span> | <span style="font-family:monospace; font-weight: bold;">number</span> | <span style="font-family:monospace; font-weight: bold;">all</span>)</div></div><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">var_post</span> (<span style="font-family:monospace; font-weight: bold;">get</span> | <span style="font-family:monospace; font-weight: bold;">list</span> | <span style="font-family:monospace; font-weight: bold;">exists</span> | <span style="font-family:monospace; font-weight: bold;">number</span> | <span style="font-family:monospace; font- weight: bold;">all</span>)</div></div></div><div class="refsect1" title="Description"><a name="id601433"></a><h2>Description</h2><p style="width:90%"> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>var</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="next" href="upload.html" title="upload"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">var</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="commands.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="upload.html"><img src="images/next.png" alt="Next">< /a></td></tr></table></div><div class="refentry" title="var"><a name="var"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>var, var_qs, var_post &#8212; get the value of a form variable.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">var</span> (<span style="font-family:monospace; font-weight: bold;">get</span> | <span style="font-family:monospace; font-weight: bold;">list</span> | <span style="font-family:monospace; font-weight: bold;">exists</span> | <span style="font-family:monospace; font-weight: bold;">number</span> | <span style="font-family:monospace; font-weight: bold;">all</span>)</div></div><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word- spacing:1ex "><span style="font-weight:bold ; font-family:monospace">var_qs</span> (<span style="font-family:monospace; font-weight: bold;">get</span> | <span style="font-family:monospace; font-weight: bold;">list</span> | <span style="font-family:monospace; font-weight: bold;">exists</span> | <span style="font-family:monospace; font-weight: bold;">number</span> | <span style="font-family:monospace; font-weight: bold;">all</span>)</div></div><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">var_post</span> (<span style="font-family:monospace; font-weight: bold;">get</span> | <span style="font-family:monospace; font-weight: bold;">list</span> | <span style="font-family:monospace; font-weight: bold;">exists</span> | <span style="font-family:monospace; font-weight: bold;">number</span> | <span style="font-family:monospace; font- weight: bold;">all</span>)</div></div></div><div class="refsect1" title="Description"><a name="id550558"></a><h2>Description</h2><p style="width:90%"> The <span style="font-family:monospace"><span class="command"><strong>var</strong></span></span> command retrieves information about GET or POST variables sent to the script via client request. It treats both GET and POST variables the same, Modified: tcl/rivet/trunk/doc/html/xml_calendar.html URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/html/xml_calendar.html?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/html/xml_calendar.html (original) +++ tcl/rivet/trunk/doc/html/xml_calendar.html Thu Aug 26 21:13:00 2010 @@ -1,4 +1,4 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>XmlCalendar</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="calendar_package.html" title="Calendar Package"><link rel="prev" href="calendar.html" title="Calendar"><link rel="next" href="html_calendar.html" title="HtmlCalendar"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">XmlCalendar</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="calendar.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Calendar Package</th><td width="20%" align="right"> <a accesskey="n" href="html_calendar.html"><img src="images/next.png" alt="Next"></a></td></tr ></table></div><div class="refentry" title="XmlCalendar"><div class="refentry.separator"><hr></div><a name="xml_calendar"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>XmlCalendar &#8212; Prints XML formatted calendar tables</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">XmlCalendar</span> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>calendar_name</code></em></span> ?<span style="font-family:monospace; font-weight: bold;">-option1 <em class="replaceable"><code>option_list</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-option2 <em class="replaceable"><code>option_list</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">...</span>?< /div></div></div><div class="refsect1"><a name="id626532"></a><p style="width:90%"> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>XmlCalendar</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="calendar_package.html" title="Calendar Package"><link rel="prev" href="calendar.html" title="Calendar"><link rel="next" href="html_calendar.html" title="HtmlCalendar"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">XmlCalendar</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="calendar.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Calendar Package</th><td width="20%" align="right"> <a accesskey="n" href="html_calendar.html"><img src="images/next.png" alt="Next"></a></td></tr ></table></div><div class="refentry" title="XmlCalendar"><div class="refentry.separator"><hr></div><a name="xml_calendar"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>XmlCalendar &#8212; Prints XML formatted calendar tables</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">XmlCalendar</span> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>calendar_name</code></em></span> ?<span style="font-family:monospace; font-weight: bold;">-option1 <em class="replaceable"><code>option_list</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-option2 <em class="replaceable"><code>option_list</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">...</span>?< /div></div></div><div class="refsect1"><a name="id575650"></a><p style="width:90%"> An XmlCalendar object is created and returned. XmlCalendar objects print XML formatted calendar tables. The markup can be customized using the configuration options. @@ -11,7 +11,7 @@ The first element of an option list is a tag name, the remaining terms are therefore an even-length sublist which is interpreted as a sequence of attribute-value pairs that will in turn become attributes of the tag. - </p></div><div class="refsect1" title="Methods"><a name="id626558"></a><h2>Methods</h2><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> + </p></div><div class="refsect1" title="Methods"><a name="id575676"></a><h2>Methods</h2><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> cal_obj <span style="font-weight:bold ; font-family:monospace">emit</span> -opt1 val1 -opt2 val2</div></div><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> cal_obj <span style="font-weight:bold ; font-family:monospace">emit</span> ?<span style="font-family:monospace; font-weight: bold;">month</span>? ?<span style="font-family:monospace; font-weight: bold;">year</span>? -opt1 val1 -opt2 val2</div></div><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> cal_obj <span style="font-weight:bold ; font-family:monospace">emit</span> ?<span style="font-family:monospace; font-weight: bold;"> @@ -19,7 +19,7 @@ -opt2 val2</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> The method 'emit' if invoked without arguments returns an XML calendar table of the current month - </div></div></dd></dl></div></div><div class="refsect1"><a name="id626650"></a><div class="refsect2" title="Options"><a name="id626653"></a><h3>Options</h3><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">-container (tag_name + </div></div></dd></dl></div></div><div class="refsect1"><a name="id575768"></a><div class="refsect2" title="Options"><a name="id575770"></a><h3>Options</h3><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">-container (tag_name attr11 val1 attr2 val2 ...)</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex"> Assigns an options list to the XML element that will hold the whole table. Modified: tcl/rivet/trunk/doc/xml/form.xml URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/xml/form.xml?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/xml/form.xml (original) +++ tcl/rivet/trunk/doc/xml/form.xml Thu Aug 26 21:13:00 2010 @@ -58,9 +58,6 @@ The http method for sending the form data back to the server. Possible values are get or post </para> - <note> - At the time of writing only the 'get' method is implemented - </note> </listitem> </varlistentry> <varlistentry> @@ -805,4 +802,4 @@ myform checkbox options -value opt4 -l </refsect2> </refsect1> </refentry> -</section> \ No newline at end of file +</section> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Aug 26 21:14:23 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79182 invoked from network); 26 Aug 2010 21:14:23 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Aug 2010 21:14:23 -0000 Received: (qmail 38681 invoked by uid 500); 26 Aug 2010 21:14:23 -0000 Delivered-To: [email protected] Received: (qmail 38668 invoked by uid 500); 26 Aug 2010 21:14:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rivet-cvs.tcl.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 38661 invoked by uid 99); 26 Aug 2010 21:14:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Aug 2010 21:14:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Aug 2010 21:14:21 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id CA2402388A90; Thu, 26 Aug 2010 21:13:03 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r989926 [3/5] - in /tcl/rivet/trunk/doc: ./ html/ xml/ Date: Thu, 26 Aug 2010 21:13:02 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Modified: tcl/rivet/trunk/doc/html/index.html URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/html/index.html?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/html/index.html (original) +++ tcl/rivet/trunk/doc/html/index.html Thu Aug 26 21:13:00 2010 @@ -1,9 +1,9 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Apache Rivet</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="next" href="installation.html" title="Apache Rivet Installation"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Apache Rivet</th></tr><tr><td width="20%" align="left"> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="installation.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="article" title="Apache Rivet"><div class="titlepage"><div><div><h2 class="title"><a name="id598483"></a>Apache Rivet</h2></div><div><div class="author"><h3 class="author"><span c lass="firstname">The Rivet Team</span></h3><div class="affiliation"><span class="orgname">The Apache Software Foundation<br></span><div class="address"><p><br> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Apache Rivet</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="next" href="installation.html" title="Apache Rivet Installation"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Apache Rivet</th></tr><tr><td width="20%" align="left"> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="installation.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="article" title="Apache Rivet"><div class="titlepage"><div><div><h2 class="title"><a name="id547608"></a>Apache Rivet</h2></div><div><div class="author"><h3 class="author"><span c lass="firstname">The Rivet Team</span></h3><div class="affiliation"><span class="orgname">The Apache Software Foundation<br></span><div class="address"><p><br>   <code class="email">&lt;<a class="email" href="mailto:[email protected]">[email protected]</a>&gt;</code><br> </p></div></div></div></div><div><p class="copyright">Copyright © 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apache Software Foundation</p></div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="index.html#introduction">Introduction to Apache Rivet</a></span></dt><dt><span class="section"><a href="installation.html">Apache Rivet Installation</a></span></dt><dt><span class="section"><a href="directives.html">Rivet Apache Directives</a></span></dt><dt><span class="section"><a href="commands.html">Rivet Tcl Commands and Variables</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="var.html">var</a></span><span class="refpurpose"> &#8212; get the value of a form variable.</span></dt><dt><span class="refentrytitle"><a href="upload.html">upload</a></span><span class="refpurpose"> &#8212; handle a file uploaded by a client.</span></dt><dt><span class="refentrytitle"><a href="load_response.html">load_respon se</a></span><span class="refpurpose"> &#8212; load form variables into an array.</span></dt><dt><span class="refentrytitle"><a href="load_headers.html">load_headers</a></span><span class="refpurpose"> &#8212; get client request's headers.</span></dt><dt><span class="refentrytitle"><a href="load_cookies.html">load_cookies</a></span><span class="refpurpose"> &#8212; get any cookie variables sent by the client.</span></dt><dt><span class="refentrytitle"><a href="load_env.html">load_env</a></span><span class="refpurpose"> &#8212; get the request's environment variables.</span></dt><dt><span class="refentrytitle"><a href="env.html">env</a></span><span class="refpurpose"> &#8212; Loads a single "environmental variable" into a Tcl variable.</span></dt><dt><span class="refentrytitle"><a href="include.html">include</a></span><span class="refpurpose"> &#8212; includes a file into the output stream without modification.</span></dt><dt><span class="refentrytitle"><a href="parse.html">parse</a></span><span class="refpurpose"> &#8212; parses a Rivet template file.</span></dt><dt><span class="refentrytitle"><a href="headers.html">headers</a></span><span class="refpurpose"> &#8212; set and parse HTTP headers.</span></dt><dt><span class="refentrytitle"><a href="makeurl.html">makeurl</a></span><span class="refpurpose"> &#8212; construct url's based on hostname, port.</span></dt><dt><span class="refentrytitle"><a href="cookie.html">cookie</a></span><span class="refpurpose"> &#8212; get and set cookies.</span></dt><dt><span class="refentrytitle"><a href="clock_to_rfc.html">clock_to_rfc850_gmt</a></span><span class="refpurpose"> &#8212; create a rfc850 time from [clock seconds]. </span></dt><dt><span class="refentrytitle"><a href="html.html">html</a></span><span class="refpurpose"> &#8212; construct html tagged text.</span></dt><dt><span class="refentrytitle"><a href="incr0.html">incr0</a></span><span class="refpurpose"> &#8212; increment a variable or set it to 1 if nonexistant.</span></dt><dt><span class="refentrytitle"><a href="parray.html">parray</a></span><span class="refpurpose"> &#8212; Tcl's <span style="font-family:monospace"><span class="command"><strong>parray</strong></span></span> with html formatting.</span></dt><dt><span class="refentrytitle"><a href="abort_page.html">abort_page</a></span><span class="refpurpose"> &#8212; Stops outputing data to web page, similar in - purpose to PHP's <span style="font-family:monospace"><span class="command"><strong>die</strong></span></span> command.</span></dt><dt><span class="refentrytitle"><a href="no_body.html">no_body</a></span><span class="refpurpose"> &#8212; Prevents Rivet from sending any content.</span></dt><dt><span class="refentrytitle"><a href="escape_string.html">escape_string</a></span><span class="refpurpose"> &#8212; convert a string into escaped characters.</span></dt><dt><span class="refentrytitle"><a href="escape_sgml_chars.html">escape_sgml_chars</a></span><span class="refpurpose"> &#8212; escape special SGML characters in a string.</span></dt><dt><span class="refentrytitle"><a href="escape_shell_command.html">escape_shell_command</a></span><span class="refpurpose"> &#8212; escape shell metacharacters in a string.</span></dt><dt><span class="refentrytitle"><a href="unescape_string.html">unescape_string</a></span><span class="refpurpose"> &#8212; unescape escaped characters in a st ring.</span></dt><dt><span class="refentrytitle"><a href="apache_log_error.html">apache_log_error</a></span><span class="refpurpose"> &#8212; log messages to the Apache error log</span></dt><dt><span class="refentrytitle"><a href="apache_table.html">apache_table</a></span><span class="refpurpose"> &#8212; access and manipulate Apache tables in the request structure.</span></dt></dl></dd><dt><span class="section"><a href="examples.html">Examples and Usage</a></span></dt><dt><span class="section"><a href="tcl_packages.html">Rivet Tcl Packages</a></span></dt><dt><span class="section"><a href="dio.html">DIO - Database Interface Objects</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="dio_package.html">DIO</a></span><span class="refpurpose"> &#8212; Database Interface Objects</span></dt></dl></dd><dt><span class="section"><a href="diodisplay.html">DIODisplay - Database Interface Objects Display Class</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="d iodisplay_package.html">DIODisplay</a></span><span class="refpurpose"> &#8212; Database Interface Objects Display Class</span></dt></dl></dd><dt><span class="section"><a href="session_package.html">Session Package</a></span></dt><dd><dl><dt><span class="section"><a href="session_package.html#id619472">Introduction</a></span></dt><dt><span class="section"><a href="session_package.html#requirements">Requirements</a></span></dt><dt><span class="section"><a href="session_package.html#id619808">Preparing To Use It</a></span></dt><dt><span class="section"><a href="session_package.html#id619853">Example Usage</a></span></dt><dt><span class="section"><a href="session_package.html#id619910">Using Sessions From Your Code</a></span></dt><dt><span class="section"><a href="session_package.html#id620107">Session Configuration Options</a></span></dt><dt><span class="section"><a href="session_package.html#id620335">Session Methods</a></span></dt><dt><span class="section"><a href="session_pa ckage.html#id620561">Getting Additional Randomness From The Entropy File</a></span></dt></dl></dd><dt><span class="section"><a href="form.html">Form: An HTML Form Fields Generation Utility</a></span></dt><dd><dl><dt><span class="section"><a href="form.html#id621190">Introduction</a></span></dt><dt><span class="refentrytitle"><a href="form_package.html">form</a></span><span class="refpurpose"> &#8212; a Tcl command object for creating HTML forms</span></dt></dl></dd><dt><span class="section"><a href="calendar_package.html">Calendar Package</a></span></dt><dd><dl><dt><span class="section"><a href="calendar_package.html#id625960">Introduction</a></span></dt><dt><span class="refentrytitle"><a href="calendar.html">Calendar</a></span><span class="refpurpose"> &#8212; Utility class the builds and prints a calendar table</span></dt><dt><span class="refentrytitle"><a href="xml_calendar.html">XmlCalendar</a></span><span class="refpurpose"> &#8212; Prints XML formatted calendar tables </span></dt><dt><span class="refentrytitle"><a href="html_calendar.html">HtmlCalendar</a></span><span class="refpurpose"> &#8212; Concrete class derived from XmlCalendar</span></dt></dl></dd><dt><span class="section"><a href="help.html">Resources - How to Get Help</a></span></dt><dd><dl><dt><span class="section"><a href="help.html#id627945">Mailing Lists</a></span></dt><dt><span class="section"><a href="help.html#id627973">Newsgroup</a></span></dt><dt><span class="section"><a href="help.html#websites">Web Sites</a></span></dt><dt><span class="section"><a href="help.html#id628345">Bug Tracking System</a></span></dt><dt><span class="section"><a href="help.html#id628361">IRC</a></span></dt><dt><span class="section"><a href="help.html#id628372">Editing Rivet Template Files</a></span></dt></dl></dd><dt><span class="section"><a href="internals.html">Rivet Internals</a></span></dt><dd><dl><dt><span class="section"><a href="internals.html#id628179">Initialization</a></span></dt><dt> <span class="section"><a href="internals.html#id628130">RivetChan</a></span></dt><dt><span class="section"><a href="internals.html#id628699">The <span style="font-family:monospace"><span class="command"><strong>global</strong></span></span> Command</a></span></dt><dt><span class="section"><a href="internals.html#id628744">Page Parsing, Execution and Caching</a></span></dt><dt><span class="section"><a href="internals.html#id628786">Debugging Rivet and Apache</a></span></dt></dl></dd><dt><span class="section"><a href="upgrading.html">Upgrading from mod_dtcl or NeoWebScript</a></span></dt><dd><dl><dt><span class="section"><a href="upgrading.html#id628920">mod_dtcl</a></span></dt><dt><span class="section"><a href="upgrading.html#id628931">NeoWebScript</a></span></dt></dl></dd></dl></div><div class="list-of-examples"><p><b>List of Examples</b></p><dl><dt>1. <a href="examples.html#hello%20world">Hello World</a></dt><dt>2. <a href="examples.html#id607638">Generate a Table</a></dt>< dt>3. <a href="examples.html#variable_access">Variable Access</a></dt><dt>4. <a href="examples.html#file_upload">File Upload</a></dt><dt>5. <a href="examples.html#file_download">File Download</a></dt><dt>6. <a href="examples.html#ajax_xml_messaging">XML Messages and Ajax</a></dt><dt>7. <a href="examples.html#calendar">A Calendar Utility</a></dt></dl></div><p style="width:90%"> - Document revision: $Revision: 959821 $, last modified 2010-07-22 09:49:54+02:00$ by $Author: mxmanghi $. + purpose to PHP's <span style="font-family:monospace"><span class="command"><strong>die</strong></span></span> command.</span></dt><dt><span class="refentrytitle"><a href="no_body.html">no_body</a></span><span class="refpurpose"> &#8212; Prevents Rivet from sending any content.</span></dt><dt><span class="refentrytitle"><a href="escape_string.html">escape_string</a></span><span class="refpurpose"> &#8212; convert a string into escaped characters.</span></dt><dt><span class="refentrytitle"><a href="escape_sgml_chars.html">escape_sgml_chars</a></span><span class="refpurpose"> &#8212; escape special SGML characters in a string.</span></dt><dt><span class="refentrytitle"><a href="escape_shell_command.html">escape_shell_command</a></span><span class="refpurpose"> &#8212; escape shell metacharacters in a string.</span></dt><dt><span class="refentrytitle"><a href="unescape_string.html">unescape_string</a></span><span class="refpurpose"> &#8212; unescape escaped characters in a st ring.</span></dt><dt><span class="refentrytitle"><a href="apache_log_error.html">apache_log_error</a></span><span class="refpurpose"> &#8212; log messages to the Apache error log</span></dt><dt><span class="refentrytitle"><a href="apache_table.html">apache_table</a></span><span class="refpurpose"> &#8212; access and manipulate Apache tables in the request structure.</span></dt></dl></dd><dt><span class="section"><a href="examples.html">Examples and Usage</a></span></dt><dt><span class="section"><a href="tcl_packages.html">Rivet Tcl Packages</a></span></dt><dt><span class="section"><a href="dio.html">DIO - Database Interface Objects</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="dio_package.html">DIO</a></span><span class="refpurpose"> &#8212; Database Interface Objects</span></dt></dl></dd><dt><span class="section"><a href="diodisplay.html">DIODisplay - Database Interface Objects Display Class</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="d iodisplay_package.html">DIODisplay</a></span><span class="refpurpose"> &#8212; Database Interface Objects Display Class</span></dt></dl></dd><dt><span class="section"><a href="session_package.html">Session Package</a></span></dt><dd><dl><dt><span class="section"><a href="session_package.html#id568598">Introduction</a></span></dt><dt><span class="section"><a href="session_package.html#requirements">Requirements</a></span></dt><dt><span class="section"><a href="session_package.html#id568934">Preparing To Use It</a></span></dt><dt><span class="section"><a href="session_package.html#id568979">Example Usage</a></span></dt><dt><span class="section"><a href="session_package.html#id569035">Using Sessions From Your Code</a></span></dt><dt><span class="section"><a href="session_package.html#id569233">Session Configuration Options</a></span></dt><dt><span class="section"><a href="session_package.html#id569460">Session Methods</a></span></dt><dt><span class="section"><a href="session_pa ckage.html#id569686">Getting Additional Randomness From The Entropy File</a></span></dt></dl></dd><dt><span class="section"><a href="form.html">Form: An HTML Form Fields Generation Utility</a></span></dt><dd><dl><dt><span class="section"><a href="form.html#id570316">Introduction</a></span></dt><dt><span class="refentrytitle"><a href="form_package.html">form</a></span><span class="refpurpose"> &#8212; a Tcl command object for creating HTML forms</span></dt></dl></dd><dt><span class="section"><a href="calendar_package.html">Calendar Package</a></span></dt><dd><dl><dt><span class="section"><a href="calendar_package.html#id575078">Introduction</a></span></dt><dt><span class="refentrytitle"><a href="calendar.html">Calendar</a></span><span class="refpurpose"> &#8212; Utility class the builds and prints a calendar table</span></dt><dt><span class="refentrytitle"><a href="xml_calendar.html">XmlCalendar</a></span><span class="refpurpose"> &#8212; Prints XML formatted calendar tables </span></dt><dt><span class="refentrytitle"><a href="html_calendar.html">HtmlCalendar</a></span><span class="refpurpose"> &#8212; Concrete class derived from XmlCalendar</span></dt></dl></dd><dt><span class="section"><a href="help.html">Resources - How to Get Help</a></span></dt><dd><dl><dt><span class="section"><a href="help.html#id577062">Mailing Lists</a></span></dt><dt><span class="section"><a href="help.html#id577090">Newsgroup</a></span></dt><dt><span class="section"><a href="help.html#websites">Web Sites</a></span></dt><dt><span class="section"><a href="help.html#id577462">Bug Tracking System</a></span></dt><dt><span class="section"><a href="help.html#id577478">IRC</a></span></dt><dt><span class="section"><a href="help.html#id577489">Editing Rivet Template Files</a></span></dt></dl></dd><dt><span class="section"><a href="internals.html">Rivet Internals</a></span></dt><dd><dl><dt><span class="section"><a href="internals.html#id577297">Initialization</a></span></dt><dt> <span class="section"><a href="internals.html#id577247">RivetChan</a></span></dt><dt><span class="section"><a href="internals.html#id577816">The <span style="font-family:monospace"><span class="command"><strong>global</strong></span></span> Command</a></span></dt><dt><span class="section"><a href="internals.html#id577861">Page Parsing, Execution and Caching</a></span></dt><dt><span class="section"><a href="internals.html#id577903">Debugging Rivet and Apache</a></span></dt></dl></dd><dt><span class="section"><a href="upgrading.html">Upgrading from mod_dtcl or NeoWebScript</a></span></dt><dd><dl><dt><span class="section"><a href="upgrading.html#id578037">mod_dtcl</a></span></dt><dt><span class="section"><a href="upgrading.html#id578048">NeoWebScript</a></span></dt></dl></dd></dl></div><div class="list-of-examples"><p><b>List of Examples</b></p><dl><dt>1. <a href="examples.html#hello%20world">Hello World</a></dt><dt>2. <a href="examples.html#id556763">Generate a Table</a></dt>< dt>3. <a href="examples.html#variable_access">Variable Access</a></dt><dt>4. <a href="examples.html#file_upload">File Upload</a></dt><dt>5. <a href="examples.html#file_download">File Download</a></dt><dt>6. <a href="examples.html#ajax_xml_messaging">XML Messages and Ajax</a></dt><dt>7. <a href="examples.html#calendar">A Calendar Utility</a></dt></dl></div><p style="width:90%"> + Document revision: $Revision: 959821 $, last modified 2010-08-26 19:51:43+02:00$ by $Author: mxmanghi $. </p><div class="section" title="Introduction to Apache Rivet"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="introduction"></a>Introduction to Apache Rivet</h2></div></div></div><p style="width:90%"> Apache Rivet is a system for creating dynamic web content via a programming language integrated with Apache Web Server. It is Modified: tcl/rivet/trunk/doc/html/internals.html URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/html/internals.html?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/html/internals.html (original) +++ tcl/rivet/trunk/doc/html/internals.html Thu Aug 26 21:13:00 2010 @@ -5,7 +5,7 @@ themselves, the Subversion revision control system (<span style="font-family:monospace"><span class="command"><strong>svn</strong></span></span>) can provide you with information about what has been happening with the code. - </p><div class="section" title="Initialization"><div class="titlepage"><div><div><h3 class="title"><a name="id628179"></a>Initialization</h3></div></div></div><p style="width:90%"> + </p><div class="section" title="Initialization"><div class="titlepage"><div><div><h3 class="title"><a name="id577297"></a>Initialization</h3></div></div></div><p style="width:90%"> When Apache is started, (or when child Apache processes are started if a threaded Tcl is used), <code class="function">Rivet_InitTclStuff</code> is called, which @@ -16,7 +16,7 @@ executes Rivet's <code class="filename">init.tcl</code>. The caching system is also set up, and if there is a <span style="font-family:monospace"><span class="command"><strong>GlobalInitScript</strong></span></span>, it is run. - </p></div><div class="section" title="RivetChan"><div class="titlepage"><div><div><h3 class="title"><a name="id628130"></a>RivetChan</h3></div></div></div><p style="width:90%"> + </p></div><div class="section" title="RivetChan"><div class="titlepage"><div><div><h3 class="title"><a name="id577247"></a>RivetChan</h3></div></div></div><p style="width:90%"> The <span class="structname">RivetChan</span> system was created in order to have an actual Tcl channel that we could redirect standard output to. This lets us use, for instance, the @@ -26,7 +26,7 @@ Tcl's regular standard output is replaced with an instance of this channel type, so that, by default, output will go to the web page. - </p></div><div class="section" title="The global Command"><div class="titlepage"><div><div><h3 class="title"><a name="id628699"></a>The <span style="font-family:monospace"><span class="command"><strong>global</strong></span></span> Command</h3></div></div></div><p style="width:90%"> + </p></div><div class="section" title="The global Command"><div class="titlepage"><div><div><h3 class="title"><a name="id577816"></a>The <span style="font-family:monospace"><span class="command"><strong>global</strong></span></span> Command</h3></div></div></div><p style="width:90%"> Rivet aims to run standard Tcl code with as few surprises as possible. At times this involves some compromises - in this case regarding the <span style="font-family:monospace"><span class="command"><strong>global</strong></span></span> command. The @@ -41,7 +41,7 @@ you really need a true global variable, use either <span style="font-family:monospace"><span class="command"><strong>acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bglobal</strong></span></span> or add the acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b namespace qualifier to variables you wish to make global. - </p></div><div class="section" title="Page Parsing, Execution and Caching"><div class="titlepage"><div><div><h3 class="title"><a name="id628744"></a>Page Parsing, Execution and Caching</h3></div></div></div><p style="width:90%"> + </p></div><div class="section" title="Page Parsing, Execution and Caching"><div class="titlepage"><div><div><h3 class="title"><a name="id577861"></a>Page Parsing, Execution and Caching</h3></div></div></div><p style="width:90%"> When a Rivet page is requested, it is transformed into an ordinary Tcl script by parsing the file for the &lt;? ?&gt; processing instruction tags. Everything outside these tags @@ -67,7 +67,7 @@ without having to reload it (and re-parse it) from the disk. The number of scripts stored in memory is configurable. This feature can significantly improve performance. - </p></div><div class="section" title="Debugging Rivet and Apache"><div class="titlepage"><div><div><h3 class="title"><a name="id628786"></a>Debugging Rivet and Apache</h3></div></div></div><p style="width:90%"> + </p></div><div class="section" title="Debugging Rivet and Apache"><div class="titlepage"><div><div><h3 class="title"><a name="id577903"></a>Debugging Rivet and Apache</h3></div></div></div><p style="width:90%"> If you are interested in hacking on Rivet, you're welcome to contribute! Invariably, when working with code, things go wrong, and it's necessary to do some debugging. In a server Modified: tcl/rivet/trunk/doc/html/load_cookies.html URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/html/load_cookies.html?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/html/load_cookies.html (original) +++ tcl/rivet/trunk/doc/html/load_cookies.html Thu Aug 26 21:13:00 2010 @@ -1,4 +1,4 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>load_cookies</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="load_headers.html" title="load_headers"><link rel="next" href="load_env.html" title="load_env"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">load_cookies</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="load_headers.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="load_env.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="load_cookies"><div class="refentry.separator"><hr></div><a name="load_cookies"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>load_cookies &#8212; get any cookie variables sent by the client.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">load_cookies</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>array_name</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id602321"></a><h2>Description</h2></div><p style="width:90%"> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>load_cookies</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="load_headers.html" title="load_headers"><link rel="next" href="load_env.html" title="load_env"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">load_cookies</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="load_headers.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="load_env.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="load_cookies"><div class="refentry.separator"><hr></div><a name="load_cookies"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>load_cookies &#8212; get any cookie variables sent by the client.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">load_cookies</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>array_name</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id551446"></a><h2>Description</h2></div><p style="width:90%"> Load the array of cookie variables into the specified array name. Uses array cookies by default. Modified: tcl/rivet/trunk/doc/html/load_env.html URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/html/load_env.html?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/html/load_env.html (original) +++ tcl/rivet/trunk/doc/html/load_env.html Thu Aug 26 21:13:00 2010 @@ -1,4 +1,4 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>load_env</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="load_cookies.html" title="load_cookies"><link rel="next" href="env.html" title="env"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">load_env</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="load_cookies.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="env.html"><img src="images/next.png" alt="Next"></a></td></t r></table></div><div class="refentry" title="load_env"><div class="refentry.separator"><hr></div><a name="load_env"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>load_env &#8212; get the request's environment variables.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">load_env</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>array_name</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id602371"></a><h2>Description</h2><p style="width:90%"> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>load_env</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="load_cookies.html" title="load_cookies"><link rel="next" href="env.html" title="env"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">load_env</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="load_cookies.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="env.html"><img src="images/next.png" alt="Next"></a></td></t r></table></div><div class="refentry" title="load_env"><div class="refentry.separator"><hr></div><a name="load_env"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>load_env &#8212; get the request's environment variables.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">load_env</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>array_name</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id551496"></a><h2>Description</h2><p style="width:90%"> Load the array of environment variables into the specified array name. Uses array acf:4db6:5e0b:f386:43a5:35d7:718d:3c8brequestacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bnv by default. Modified: tcl/rivet/trunk/doc/html/load_headers.html URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/html/load_headers.html?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/html/load_headers.html (original) +++ tcl/rivet/trunk/doc/html/load_headers.html Thu Aug 26 21:13:00 2010 @@ -1,4 +1,4 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>load_headers</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="load_response.html" title="load_response"><link rel="next" href="load_cookies.html" title="load_cookies"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">load_headers</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="load_response.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="load_cookies.html"><img src="im ages/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="load_headers"><div class="refentry.separator"><hr></div><a name="load_headers"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>load_headers &#8212; get client request's headers.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">load_headers</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>array_name</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id602271"></a><h2>Description</h2><p style="width:90%"> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>load_headers</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="load_response.html" title="load_response"><link rel="next" href="load_cookies.html" title="load_cookies"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">load_headers</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="load_response.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="load_cookies.html"><img src="im ages/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="load_headers"><div class="refentry.separator"><hr></div><a name="load_headers"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>load_headers &#8212; get client request's headers.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">load_headers</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>array_name</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id551396"></a><h2>Description</h2><p style="width:90%"> Load the headers that come from a client request into the provided array name, or use headers if no name is provided. Modified: tcl/rivet/trunk/doc/html/load_response.html URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/html/load_response.html?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/html/load_response.html (original) +++ tcl/rivet/trunk/doc/html/load_response.html Thu Aug 26 21:13:00 2010 @@ -1,4 +1,4 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>load_response</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="upload.html" title="upload"><link rel="next" href="load_headers.html" title="load_headers"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">load_response</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="upload.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="load_headers.html"><img src="images/next.png" alt= "Next"></a></td></tr></table></div><div class="refentry" title="load_response"><div class="refentry.separator"><hr></div><a name="load_response"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>load_response &#8212; load form variables into an array.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">load_response</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>arrayName</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id602198"></a><h2>Description</h2><p style="width:90%"> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>load_response</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="upload.html" title="upload"><link rel="next" href="load_headers.html" title="load_headers"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">load_response</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="upload.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="load_headers.html"><img src="images/next.png" alt= "Next"></a></td></tr></table></div><div class="refentry" title="load_response"><div class="refentry.separator"><hr></div><a name="load_response"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>load_response &#8212; load form variables into an array.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">load_response</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>arrayName</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id551323"></a><h2>Description</h2><p style="width:90%"> Load any form variables passed to this page into an array. If <span style="font-family:monospace"><span class="command"><strong>load_response</strong></span></span> is called without arguments the array response is created in Modified: tcl/rivet/trunk/doc/html/makeurl.html URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/html/makeurl.html?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/html/makeurl.html (original) +++ tcl/rivet/trunk/doc/html/makeurl.html Thu Aug 26 21:13:00 2010 @@ -1,4 +1,4 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>makeurl</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="headers.html" title="headers"><link rel="next" href="cookie.html" title="cookie"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">makeurl</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="headers.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="cookie.html"><img src="images/next.png" alt="Next"></a></td></tr></tabl e></div><div class="refentry" title="makeurl"><div class="refentry.separator"><hr></div><a name="makeurl"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>makeurl &#8212; construct url's based on hostname, port.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">makeurl</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>filename</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id602894"></a><h2>Description</h2><p style="width:90%"> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>makeurl</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="headers.html" title="headers"><link rel="next" href="cookie.html" title="cookie"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">makeurl</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="headers.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="cookie.html"><img src="images/next.png" alt="Next"></a></td></tr></tabl e></div><div class="refentry" title="makeurl"><div class="refentry.separator"><hr></div><a name="makeurl"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>makeurl &#8212; construct url's based on hostname, port.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">makeurl</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>filename</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id552020"></a><h2>Description</h2><p style="width:90%"> Create a self referencing URL from a filename. For example: </p><pre style="background:#ccc; margin: 2ex; margin-right: 10%; padding: 1ex; border: dashed black 1px ; white-space: pre; font-family: monospace; font-size: 90%;" class="programlisting">makeurl /tclp.gif</pre><p style="width:90%"> returns Modified: tcl/rivet/trunk/doc/html/no_body.html URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/html/no_body.html?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/html/no_body.html (original) +++ tcl/rivet/trunk/doc/html/no_body.html Thu Aug 26 21:13:00 2010 @@ -1,4 +1,4 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>no_body</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="abort_page.html" title="abort_page"><link rel="next" href="escape_string.html" title="escape_string"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">no_body</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="abort_page.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="escape_string.html"><img src="images/next.png" a lt="Next"></a></td></tr></table></div><div class="refentry" title="no_body"><div class="refentry.separator"><hr></div><a name="no_body"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>no_body &#8212; Prevents Rivet from sending any content.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">no_body</span> </div></div></div><div class="refsect1" title="Description"><a name="id603391"></a><h2>Description</h2><p style="width:90%"> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>no_body</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="abort_page.html" title="abort_page"><link rel="next" href="escape_string.html" title="escape_string"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">no_body</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="abort_page.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="escape_string.html"><img src="images/next.png" a lt="Next"></a></td></tr></table></div><div class="refentry" title="no_body"><div class="refentry.separator"><hr></div><a name="no_body"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>no_body &#8212; Prevents Rivet from sending any content.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">no_body</span> </div></div></div><div class="refsect1" title="Description"><a name="id552516"></a><h2>Description</h2><p style="width:90%"> This command is useful for situations where it is necessary to only return HTTP headers and no actual content. For instance, when returning a 304 redirect. Modified: tcl/rivet/trunk/doc/html/parray.html URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/html/parray.html?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/html/parray.html (original) +++ tcl/rivet/trunk/doc/html/parray.html Thu Aug 26 21:13:00 2010 @@ -1,4 +1,4 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>parray</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="incr0.html" title="incr0"><link rel="next" href="abort_page.html" title="abort_page"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">parray</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="incr0.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="abort_page.html"><img src="images/next.png" alt="Next"></a></td></tr></ table></div><div class="refentry" title="parray"><div class="refentry.separator"><hr></div><a name="parray"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>parray &#8212; Tcl's <span style="font-family:monospace"><span class="command"><strong>parray</strong></span></span> with html formatting.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">parray</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>arrayName</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>?<span class="optional">pattern</span>?</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id603296"></a><h2>Description</h2><p style="width:9 0%"> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>parray</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="incr0.html" title="incr0"><link rel="next" href="abort_page.html" title="abort_page"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">parray</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="incr0.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="abort_page.html"><img src="images/next.png" alt="Next"></a></td></tr></ table></div><div class="refentry" title="parray"><div class="refentry.separator"><hr></div><a name="parray"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>parray &#8212; Tcl's <span style="font-family:monospace"><span class="command"><strong>parray</strong></span></span> with html formatting.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">parray</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>arrayName</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>?<span class="optional">pattern</span>?</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id552421"></a><h2>Description</h2><p style="width:9 0%"> An html version of the standard Tcl <span style="font-family:monospace"><span class="command"><strong>parray</strong></span></span> command. Displays the entire contents of an array in a sorted, nicely-formatted way. Modified: tcl/rivet/trunk/doc/html/parse.html URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/html/parse.html?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/html/parse.html (original) +++ tcl/rivet/trunk/doc/html/parse.html Thu Aug 26 21:13:00 2010 @@ -1,4 +1,4 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>parse</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="include.html" title="include"><link rel="next" href="headers.html" title="headers"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">parse</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="include.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="headers.html"><img src="images/next.png" alt="Next"></a></td></tr></table ></div><div class="refentry" title="parse"><div class="refentry.separator"><hr></div><a name="parse"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>parse &#8212; parses a Rivet template file.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">parse</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>filename</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id602531"></a><h2>Description</h2><p style="width:90%"> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>parse</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="include.html" title="include"><link rel="next" href="headers.html" title="headers"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">parse</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="include.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="headers.html"><img src="images/next.png" alt="Next"></a></td></tr></table ></div><div class="refentry" title="parse"><div class="refentry.separator"><hr></div><a name="parse"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>parse &#8212; parses a Rivet template file.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">parse</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>filename</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id551656"></a><h2>Description</h2><p style="width:90%"> Like the Tcl <span style="font-family:monospace"><span class="command"><strong>source</strong></span></span> command, but also parses for Rivet &lt;? and ?&gt; processing tags. Using this command, you can use one .rvt file from another. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Aug 26 21:14:24 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79194 invoked from network); 26 Aug 2010 21:14:24 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Aug 2010 21:14:24 -0000 Received: (qmail 38715 invoked by uid 500); 26 Aug 2010 21:14:24 -0000 Delivered-To: [email protected] Received: (qmail 38700 invoked by uid 500); 26 Aug 2010 21:14:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rivet-cvs.tcl.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 38693 invoked by uid 99); 26 Aug 2010 21:14:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Aug 2010 21:14:24 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Aug 2010 21:14:21 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id C13EE2388A41; Thu, 26 Aug 2010 21:13:03 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r989926 [1/5] - in /tcl/rivet/trunk/doc: ./ html/ xml/ Date: Thu, 26 Aug 2010 21:13:02 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: mxmanghi Date: Thu Aug 26 21:13:00 2010 New Revision: 989926 URL: http://svn.apache.org/viewvc?rev=989926&view=rev Log: Removed wrong note in form.xml, manual regenerated Modified: tcl/rivet/trunk/doc/Makefile.am tcl/rivet/trunk/doc/html/abort_page.html tcl/rivet/trunk/doc/html/apache_log_error.html tcl/rivet/trunk/doc/html/apache_table.html tcl/rivet/trunk/doc/html/calendar.html tcl/rivet/trunk/doc/html/calendar_package.html tcl/rivet/trunk/doc/html/clock_to_rfc.html tcl/rivet/trunk/doc/html/cookie.html tcl/rivet/trunk/doc/html/dio_package.html tcl/rivet/trunk/doc/html/diodisplay_package.html tcl/rivet/trunk/doc/html/env.html tcl/rivet/trunk/doc/html/escape_sgml_chars.html tcl/rivet/trunk/doc/html/escape_shell_command.html tcl/rivet/trunk/doc/html/escape_string.html tcl/rivet/trunk/doc/html/examples.html tcl/rivet/trunk/doc/html/form.html tcl/rivet/trunk/doc/html/form_package.html tcl/rivet/trunk/doc/html/headers.html tcl/rivet/trunk/doc/html/help.html tcl/rivet/trunk/doc/html/html.html tcl/rivet/trunk/doc/html/html_calendar.html tcl/rivet/trunk/doc/html/include.html tcl/rivet/trunk/doc/html/incr0.html tcl/rivet/trunk/doc/html/index.html tcl/rivet/trunk/doc/html/internals.html tcl/rivet/trunk/doc/html/load_cookies.html tcl/rivet/trunk/doc/html/load_env.html tcl/rivet/trunk/doc/html/load_headers.html tcl/rivet/trunk/doc/html/load_response.html tcl/rivet/trunk/doc/html/makeurl.html tcl/rivet/trunk/doc/html/no_body.html tcl/rivet/trunk/doc/html/parray.html tcl/rivet/trunk/doc/html/parse.html tcl/rivet/trunk/doc/html/rivet.html tcl/rivet/trunk/doc/html/session_package.html tcl/rivet/trunk/doc/html/unescape_string.html tcl/rivet/trunk/doc/html/upgrading.html tcl/rivet/trunk/doc/html/upload.html tcl/rivet/trunk/doc/html/var.html tcl/rivet/trunk/doc/html/xml_calendar.html tcl/rivet/trunk/doc/xml/form.xml Modified: tcl/rivet/trunk/doc/Makefile.am URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/Makefile.am?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/Makefile.am (original) +++ tcl/rivet/trunk/doc/Makefile.am Thu Aug 26 21:13:00 2010 @@ -26,7 +26,7 @@ html/rivet.html: rivet.xml rivet-nochunk html.ext ".html" --nonet -o html/rivet.html rivet-nochunk.xsl \ rivet.xml -# FIXME - this means these are not build automatically, but at least +# This means these are not build automatically, but at least # people aren't forced to build them either. docs: html/index.html Modified: tcl/rivet/trunk/doc/html/abort_page.html URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/html/abort_page.html?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/html/abort_page.html (original) +++ tcl/rivet/trunk/doc/html/abort_page.html Thu Aug 26 21:13:00 2010 @@ -1,5 +1,5 @@ <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>abort_page</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="parray.html" title="parray"><link rel="next" href="no_body.html" title="no_body"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">abort_page</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="parray.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="no_body.html"><img src="images/next.png" alt="Next"></a></td></tr> </table></div><div class="refentry" title="abort_page"><div class="refentry.separator"><hr></div><a name="abort_page"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>abort_page &#8212; Stops outputing data to web page, similar in - purpose to PHP's <span style="font-family:monospace"><span class="command"><strong>die</strong></span></span> command.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">abort_page</span> </div></div></div><div class="refsect1" title="Description"><a name="id603346"></a><h2>Description</h2><p style="width:90%">This command flushes the + purpose to PHP's <span style="font-family:monospace"><span class="command"><strong>die</strong></span></span> command.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">abort_page</span> </div></div></div><div class="refsect1" title="Description"><a name="id552471"></a><h2>Description</h2><p style="width:90%">This command flushes the output buffer and stops the Tcl script from sending any more data to the client. A normal Tcl script might use the <span style="font-family:monospace"><span class="command"><strong>exit</strong></span></span> command, but that cannot be used in Modified: tcl/rivet/trunk/doc/html/apache_log_error.html URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/html/apache_log_error.html?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/html/apache_log_error.html (original) +++ tcl/rivet/trunk/doc/html/apache_log_error.html Thu Aug 26 21:13:00 2010 @@ -1,4 +1,4 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>apache_log_error</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="unescape_string.html" title="unescape_string"><link rel="next" href="apache_table.html" title="apache_table"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">apache_log_error</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="unescape_string.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="apache_table.html "><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="apache_log_error"><div class="refentry.separator"><hr></div><a name="apache_log_error"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>apache_log_error &#8212; log messages to the Apache error log</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">apache_log_error</span> ?<span style="font-family:monospace; font-weight: bold;">priority</span>? ?<span style="font-family:monospace; font-weight: bold;">message</span>?</div></div></div><div class="refsect1" title="Description"><a name="id603664"></a><h2>Description</h2><p style="width:90%">The apache_log_error command logs a message to the +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>apache_log_error</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="unescape_string.html" title="unescape_string"><link rel="next" href="apache_table.html" title="apache_table"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">apache_log_error</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="unescape_string.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="apache_table.html "><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="apache_log_error"><div class="refentry.separator"><hr></div><a name="apache_log_error"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>apache_log_error &#8212; log messages to the Apache error log</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">apache_log_error</span> ?<span style="font-family:monospace; font-weight: bold;">priority</span>? ?<span style="font-family:monospace; font-weight: bold;">message</span>?</div></div></div><div class="refsect1" title="Description"><a name="id552789"></a><h2>Description</h2><p style="width:90%">The apache_log_error command logs a message to the Apache error log, whose name and location have been set by the ErrorLog directive. </p><p style="width:90%"> Modified: tcl/rivet/trunk/doc/html/apache_table.html URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/html/apache_table.html?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/html/apache_table.html (original) +++ tcl/rivet/trunk/doc/html/apache_table.html Thu Aug 26 21:13:00 2010 @@ -1,4 +1,4 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>apache_table</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="apache_log_error.html" title="apache_log_error"><link rel="next" href="examples.html" title="Examples and Usage"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">apache_table</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="apache_log_error.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="examples.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="apache_table"><div class="refentry.separator"><hr></div><a name="apache_table"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>apache_table &#8212; access and manipulate Apache tables in the request structure.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">apache_table</span> (<span style="font-family:monospace; font-weight: bold;">get</span> | <span style="font-family:monospace; font-weight: bold;">set</span> | <span style="font-family:monospace; font-weight: bold;">exists</span> | <span style="font-family:monospace; font-weight: bold;">unset</span> | <span style="font-family:monospace; font-weight: bold;">names</span> | <span style="font-f amily:monospace; font-weight: bold;">array_get</span> | <span style="font-family:monospace; font-weight: bold;">clear</span>)</div></div></div><div class="refsect1" title="Description"><a name="id603794"></a><h2>Description</h2><p style="width:90%">The apache_table command is for accessing and manipulating +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>apache_table</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="apache_log_error.html" title="apache_log_error"><link rel="next" href="examples.html" title="Examples and Usage"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">apache_table</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="apache_log_error.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="examples.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="apache_table"><div class="refentry.separator"><hr></div><a name="apache_table"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>apache_table &#8212; access and manipulate Apache tables in the request structure.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">apache_table</span> (<span style="font-family:monospace; font-weight: bold;">get</span> | <span style="font-family:monospace; font-weight: bold;">set</span> | <span style="font-family:monospace; font-weight: bold;">exists</span> | <span style="font-family:monospace; font-weight: bold;">unset</span> | <span style="font-family:monospace; font-weight: bold;">names</span> | <span style="font-f amily:monospace; font-weight: bold;">array_get</span> | <span style="font-family:monospace; font-weight: bold;">clear</span>)</div></div></div><div class="refsect1" title="Description"><a name="id552919"></a><h2>Description</h2><p style="width:90%">The apache_table command is for accessing and manipulating Apache tables in the request structure. </p><p style="width:90%"> The table name must be one of Modified: tcl/rivet/trunk/doc/html/calendar.html URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/html/calendar.html?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/html/calendar.html (original) +++ tcl/rivet/trunk/doc/html/calendar.html Thu Aug 26 21:13:00 2010 @@ -1,7 +1,7 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Calendar</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="calendar_package.html" title="Calendar Package"><link rel="prev" href="calendar_package.html" title="Calendar Package"><link rel="next" href="xml_calendar.html" title="XmlCalendar"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Calendar</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="calendar_package.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Calendar Package</th><td width="20%" align="right"> <a accesskey="n" href="xml_calendar.html"><img src="images/next.png" alt="Next "></a></td></tr></table></div><div class="refentry" title="Calendar"><a name="calendar"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>Calendar &#8212; Utility class the builds and prints a calendar table</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">Calendar</span> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>calendar_name</code></em></span> </div></div></div><div class="refsect1" title="Calendar object subcommands"><a name="id626348"></a><h2>Calendar object subcommands</h2><p style="width:90%"> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Calendar</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="calendar_package.html" title="Calendar Package"><link rel="prev" href="calendar_package.html" title="Calendar Package"><link rel="next" href="xml_calendar.html" title="XmlCalendar"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Calendar</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="calendar_package.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Calendar Package</th><td width="20%" align="right"> <a accesskey="n" href="xml_calendar.html"><img src="images/next.png" alt="Next "></a></td></tr></table></div><div class="refentry" title="Calendar"><a name="calendar"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>Calendar &#8212; Utility class the builds and prints a calendar table</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">Calendar</span> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>calendar_name</code></em></span> </div></div></div><div class="refsect1" title="Calendar object subcommands"><a name="id575466"></a><h2>Calendar object subcommands</h2><p style="width:90%"> The main public command for a calendar object is <span style="font-family:monospace"><span class="command"><strong>emit</strong></span></span> that returns a calendar table - </p></div><div class="refsect1"><a name="id626365"></a><div class="variablelist"><p style="width:90%"> + </p></div><div class="refsect1"><a name="id575483"></a><div class="variablelist"><p style="width:90%"> The method <span style="font-family:monospace"><span class="command"><strong>emit</strong></span></span> when invoked with a single argument takes it as an year number and prints the whole calendar of that year. When invoked with 2 arguments takes the first as a month, either Modified: tcl/rivet/trunk/doc/html/calendar_package.html URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/html/calendar_package.html?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/html/calendar_package.html (original) +++ tcl/rivet/trunk/doc/html/calendar_package.html Thu Aug 26 21:13:00 2010 @@ -1,4 +1,4 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Calendar Package</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="index.html" title="Apache Rivet"><link rel="prev" href="form_package.html" title="form"><link rel="next" href="calendar.html" title="Calendar"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Calendar Package</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="form_package.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="calendar.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="se ction" title="Calendar Package"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="calendar_package"></a>Calendar Package</h2></div></div></div><div class="section" title="Introduction"><div class="titlepage"><div><div><h3 class="title"><a name="id625960"></a>Introduction</h3></div></div></div><p style="width:90%"> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Calendar Package</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="index.html" title="Apache Rivet"><link rel="prev" href="form_package.html" title="form"><link rel="next" href="calendar.html" title="Calendar"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Calendar Package</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="form_package.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="calendar.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="se ction" title="Calendar Package"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="calendar_package"></a>Calendar Package</h2></div></div></div><div class="section" title="Introduction"><div class="titlepage"><div><div><h3 class="title"><a name="id575078"></a>Introduction</h3></div></div></div><p style="width:90%"> The package is based on the Calendar class, a class capable of printing an ascii calendar table that closely resembles the output of the typical Unix <span style="font-family:monospace"><span class="command"><strong>cal</strong></span></span> command. The internal Modified: tcl/rivet/trunk/doc/html/clock_to_rfc.html URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/html/clock_to_rfc.html?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/html/clock_to_rfc.html (original) +++ tcl/rivet/trunk/doc/html/clock_to_rfc.html Thu Aug 26 21:13:00 2010 @@ -1,4 +1,4 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>clock_to_rfc850_gmt</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="cookie.html" title="cookie"><link rel="next" href="html.html" title="html"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">clock_to_rfc850_gmt</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="cookie.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="html.html"><img src="images/next.png" alt="Next"></a>< /td></tr></table></div><div class="refentry" title="clock_to_rfc850_gmt"><div class="refentry.separator"><hr></div><a name="clock_to_rfc"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>clock_to_rfc850_gmt &#8212; create a rfc850 time from [clock seconds].</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">clock_to_rfc850_gmt</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>seconds</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id603104"></a><h2>Description</h2><p style="width:90%"> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>clock_to_rfc850_gmt</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="cookie.html" title="cookie"><link rel="next" href="html.html" title="html"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">clock_to_rfc850_gmt</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="cookie.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="html.html"><img src="images/next.png" alt="Next"></a>< /td></tr></table></div><div class="refentry" title="clock_to_rfc850_gmt"><div class="refentry.separator"><hr></div><a name="clock_to_rfc"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>clock_to_rfc850_gmt &#8212; create a rfc850 time from [clock seconds].</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">clock_to_rfc850_gmt</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>seconds</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id552229"></a><h2>Description</h2><p style="width:90%"> Convert an integer-seconds-since-1970 click value to RFC850 format, with the additional requirement that it be GMT only. Modified: tcl/rivet/trunk/doc/html/cookie.html URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/html/cookie.html?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/html/cookie.html (original) +++ tcl/rivet/trunk/doc/html/cookie.html Thu Aug 26 21:13:00 2010 @@ -1,4 +1,4 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>cookie</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="makeurl.html" title="makeurl"><link rel="next" href="clock_to_rfc.html" title="clock_to_rfc850_gmt"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">cookie</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="makeurl.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="clock_to_rfc.html"><img src="images/next.png" alt="Nex t"></a></td></tr></table></div><div class="refentry" title="cookie"><div class="refentry.separator"><hr></div><a name="cookie"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>cookie &#8212; get and set cookies.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">cookie</span> ?<span style="font-family:monospace; font-weight: bold;">set</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>cookieName</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>?<span class="optional">cookiValue</span>?</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-days <em class="replaceable"><code>expireInDays</code></em></span>? ?<sp an style="font-family:monospace; font-weight: bold;">-hours <em class="replaceable"><code>expireInHours</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-minutes <em class="replaceable"><code>expireInMinutes</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-expires <em class="replaceable"><code>Wdy, DD-Mon-YYYY HH:MM:SS GMT</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-path <em class="replaceable"><code>uriPathCookieAppliesTo</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-secure <em class="replaceable"><code>1/0</code></em></span>?</div></div><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">cookie</span> ?<span style="font-family:monospace; font-weight: bold;">get</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>cookieName</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id603051"></a><h2>Description</h2><p style="width:90%"> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>cookie</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="makeurl.html" title="makeurl"><link rel="next" href="clock_to_rfc.html" title="clock_to_rfc850_gmt"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">cookie</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="makeurl.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="clock_to_rfc.html"><img src="images/next.png" alt="Nex t"></a></td></tr></table></div><div class="refentry" title="cookie"><div class="refentry.separator"><hr></div><a name="cookie"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>cookie &#8212; get and set cookies.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">cookie</span> ?<span style="font-family:monospace; font-weight: bold;">set</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>cookieName</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>?<span class="optional">cookiValue</span>?</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-days <em class="replaceable"><code>expireInDays</code></em></span>? ?<sp an style="font-family:monospace; font-weight: bold;">-hours <em class="replaceable"><code>expireInHours</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-minutes <em class="replaceable"><code>expireInMinutes</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-expires <em class="replaceable"><code>Wdy, DD-Mon-YYYY HH:MM:SS GMT</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-path <em class="replaceable"><code>uriPathCookieAppliesTo</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-secure <em class="replaceable"><code>1/0</code></em></span>?</div></div><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">cookie</span> ?<span style="font-family:monospace; font-weight: bold;">get</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>cookieName</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id552176"></a><h2>Description</h2><p style="width:90%"> <span style="font-family:monospace"><span class="command"><strong>cookie</strong></span></span> gets or sets a cookie. When you get a cookie, the command returns the value of the cookie, or an empty string if no cookie exists. Modified: tcl/rivet/trunk/doc/html/dio_package.html URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/html/dio_package.html?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/html/dio_package.html (original) +++ tcl/rivet/trunk/doc/html/dio_package.html Thu Aug 26 21:13:00 2010 @@ -1,4 +1,4 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>DIO</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="dio.html" title="DIO - Database Interface Objects"><link rel="prev" href="dio.html" title="DIO - Database Interface Objects"><link rel="next" href="diodisplay.html" title="DIODisplay - Database Interface Objects Display Class"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">DIO</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="dio.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">DIO - Database Interface Objects</th><td width="20%" align="right"> <a accesskey="n" href="diodisplay.html" ><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="DIO"><a name="dio_package"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>DIO &#8212; Database Interface Objects</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bIOacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bhandle</span> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>interface</code></em></span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>? (<span style="font-family:monospace; font-weight: bold;">-option</span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>option</code></em></span> | <span style="font-family:monospace; fo nt-weight: bold;">-option</span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>option</code></em></span> | <span style="font-family:monospace; font-weight: bold;">...</span>)</div></div></div><div class="refsect1" title="Description"><a name="id608745"></a><h2>Description</h2><p style="width:90%"> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>DIO</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="dio.html" title="DIO - Database Interface Objects"><link rel="prev" href="dio.html" title="DIO - Database Interface Objects"><link rel="next" href="diodisplay.html" title="DIODisplay - Database Interface Objects Display Class"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">DIO</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="dio.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">DIO - Database Interface Objects</th><td width="20%" align="right"> <a accesskey="n" href="diodisplay.html" ><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="DIO"><a name="dio_package"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>DIO &#8212; Database Interface Objects</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bIOacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bhandle</span> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>interface</code></em></span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>? (<span style="font-family:monospace; font-weight: bold;">-option</span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>option</code></em></span> | <span style="font-family:monospace; fo nt-weight: bold;">-option</span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>option</code></em></span> | <span style="font-family:monospace; font-weight: bold;">...</span>)</div></div></div><div class="refsect1" title="Description"><a name="id557870"></a><h2>Description</h2><p style="width:90%"> <span style="font-family:monospace"><span class="command"><strong>DIO</strong></span></span> is designed to be a generic, object-oriented interface to SQL databases. Its main goal is to be as generic as possible, but since not all SQL @@ -15,7 +15,7 @@ specified, DIO creates an object of that name. If there is no <em class="replaceable"><code>objectName</code></em> given, DIO will automatically generate a unique object ID - </p></div><div class="refsect1" title="Options"><a name="id608787"></a><h2>Options</h2><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-host</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>hostname</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> + </p></div><div class="refsect1" title="Options"><a name="id557912"></a><h2>Options</h2><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-host</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>hostname</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> The hostname of the computer to connect to. If none is given, DIO assumes the local host. </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-port</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>portNumber</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">The port number to connect to on hostname.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-user</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>username</code></em></span>?</div></div><div s tyle="margin-bottom:1.5ex ; padding .5ex">The username you wish to login to the server as.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-pass</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>password</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">The password to login to the server with.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-db</span> ?<span style="font-family:monospace; font-weight: bold; "><em class="replaceable"><code>database</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> @@ -35,7 +35,7 @@ field specified as AUTO.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-sequence</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>sequenceName</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> If DIO is automatically generating keys, it will use this sequence as a means to gain a unique number for - the stored key.</div></div></dd></dl></div></div><div class="refsect1" title="DIO Object Commands"><a name="id609099"></a><h2>DIO Object Commands</h2><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span> ?<span style="font-family:monospace; font-weight: bold;">array</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>request</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> + the stored key.</div></div></dd></dl></div></div><div class="refsect1" title="DIO Object Commands"><a name="id558224"></a><h2>DIO Object Commands</h2><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span> ?<span style="font-family:monospace; font-weight: bold;">array</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>request</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> Execute request as a SQL query and create an array from the first record found. The array is set with the fields of the table and the Modified: tcl/rivet/trunk/doc/html/diodisplay_package.html URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/html/diodisplay_package.html?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/html/diodisplay_package.html (original) +++ tcl/rivet/trunk/doc/html/diodisplay_package.html Thu Aug 26 21:13:00 2010 @@ -1,8 +1,8 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>DIODisplay</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="diodisplay.html" title="DIODisplay - Database Interface Objects Display Class"><link rel="prev" href="diodisplay.html" title="DIODisplay - Database Interface Objects Display Class"><link rel="next" href="session_package.html" title="Session Package"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">DIODisplay</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="diodisplay.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">DIODisplay - Database Interface Objects Display Class</th><td wi dth="20%" align="right"> <a accesskey="n" href="session_package.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="DIODisplay"><a name="diodisplay_package"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>DIODisplay &#8212; Database Interface Objects Display Class</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">DIODisplay</span> (<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span> | <span style="font-family:monospace; font-weight: bold;">#auto</span>) (<span style="font-family:monospace; font-weight: bold;">-option</span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>option</co de></em></span> | <span style="font-family:monospace; font-weight: bold;">-option</span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>option</code></em></span> | <span style="font-family:monospace; font-weight: bold;">...</span>)</div></div></div><div class="refsect1" title="Description"><a name="id614600"></a><h2>Description</h2><p style="width:90%"> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>DIODisplay</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="diodisplay.html" title="DIODisplay - Database Interface Objects Display Class"><link rel="prev" href="diodisplay.html" title="DIODisplay - Database Interface Objects Display Class"><link rel="next" href="session_package.html" title="Session Package"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">DIODisplay</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="diodisplay.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">DIODisplay - Database Interface Objects Display Class</th><td wi dth="20%" align="right"> <a accesskey="n" href="session_package.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="DIODisplay"><a name="diodisplay_package"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>DIODisplay &#8212; Database Interface Objects Display Class</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">DIODisplay</span> (<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span> | <span style="font-family:monospace; font-weight: bold;">#auto</span>) (<span style="font-family:monospace; font-weight: bold;">-option</span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>option</co de></em></span> | <span style="font-family:monospace; font-weight: bold;">-option</span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>option</code></em></span> | <span style="font-family:monospace; font-weight: bold;">...</span>)</div></div></div><div class="refsect1" title="Description"><a name="id563726"></a><h2>Description</h2><p style="width:90%"> DIODisplay is an HTML display class that uses a DIO object to do the database work and a form object to do the displaying. - </p></div><div class="refsect1" title="Options"><a name="id614611"></a><h2>Options</h2><div class="variablelist"><dl><dt><span class="term"> + </p></div><div class="refsect1" title="Options"><a name="id563737"></a><h2>Options</h2><div class="variablelist"><dl><dt><span class="term"> <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-DIO</span> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>dioObject</code></em></span> </div></div> </span></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex"> The DIO object to be used in conjunction with this @@ -82,7 +82,7 @@ </span></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex"> The title of the display object. This will be output as the title of the HTML document. - </div></div></dd></dl></div><div class="refsect2" title="DIO Display Object Commands"><a name="id615103"></a><h3>DIO Display Object Commands</h3><div class="variablelist"><dl><dt><span class="term"> + </div></div></dd></dl></div><div class="refsect2" title="DIO Display Object Commands"><a name="id564229"></a><h3>DIO Display Object Commands</h3><div class="variablelist"><dl><dt><span class="term"> <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace"><em class="replaceable"><code>objectName</code></em></span> <span style="font-family:monospace; font-weight: bold;">cleanup</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div> </span></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex"> Return the current cleanup value. If @@ -288,7 +288,7 @@ Return the current value value. If <em class="replaceable"><code>value</code></em> is specified, it sets a new value for value. - </div></div></dd></dl></div></div><div class="refsect2" title="DIO Display Functions"><a name="id616396"></a><h3>DIO Display Functions</h3><p style="width:90%"> + </div></div></dd></dl></div></div><div class="refsect2" title="DIO Display Functions"><a name="id565522"></a><h3>DIO Display Functions</h3><p style="width:90%"> These functions are called from the <span style="font-family:monospace"><span class="command"><strong>show</strong></span></span> method when a form response variable called <code class="varname">mode</code> is set. If no @@ -369,7 +369,7 @@ <code class="varname">query</code>. Once any number of records are found, <span style="font-family:monospace"><span class="command"><strong>Search</strong></span></span> displays the results in rows. - </div></div></dd></dl></div></div><div class="refsect2" title="DIO Display Fields"><a name="id616743"></a><h3>DIO Display Fields</h3><p style="width:90%"> + </div></div></dd></dl></div></div><div class="refsect2" title="DIO Display Fields"><a name="id565869"></a><h3>DIO Display Fields</h3><p style="width:90%"> Display fields are created with the <span style="font-family:monospace"><span class="command"><strong>field</strong></span></span> command of the DIODisplay object. Each field is created as a new DIODisplayField object or @@ -422,7 +422,7 @@ Or, if type were textarea, you could define -rows and -cols to specify its row and column count. - </p></div><div class="refsect2" title="DIO Display Field Types"><a name="id617019"></a><h3>DIO Display Field Types</h3><p style="width:90%"> + </p></div><div class="refsect2" title="DIO Display Field Types"><a name="id566145"></a><h3>DIO Display Field Types</h3><p style="width:90%"> The following is a list of recognized field types by DIODisplay. Some are standard HTML form fields, and others are DIODisplay fields which execute special actions Modified: tcl/rivet/trunk/doc/html/env.html URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/html/env.html?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/html/env.html (original) +++ tcl/rivet/trunk/doc/html/env.html Thu Aug 26 21:13:00 2010 @@ -1,5 +1,5 @@ <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>env</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="load_env.html" title="load_env"><link rel="next" href="include.html" title="include"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">env</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="load_env.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="include.html"><img src="images/next.png" alt="Next"></a></td></tr></table> </div><div class="refentry" title="env"><div class="refentry.separator"><hr></div><a name="env"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>env &#8212; Loads a single - "environmental variable" into a Tcl variable.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">env</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>varName</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id602433"></a><h2>Description</h2><p style="width:90%"> + "environmental variable" into a Tcl variable.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">env</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>varName</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id551558"></a><h2>Description</h2><p style="width:90%"> If it is only necessary to load one environmental variable, this command may be used to avoid the overhead of loading and storing the entire array. Modified: tcl/rivet/trunk/doc/html/escape_sgml_chars.html URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/html/escape_sgml_chars.html?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/html/escape_sgml_chars.html (original) +++ tcl/rivet/trunk/doc/html/escape_sgml_chars.html Thu Aug 26 21:13:00 2010 @@ -1,4 +1,4 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>escape_sgml_chars</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="escape_string.html" title="escape_string"><link rel="next" href="escape_shell_command.html" title="escape_shell_command"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">escape_sgml_chars</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="escape_string.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="escap e_shell_command.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="escape_sgml_chars"><div class="refentry.separator"><hr></div><a name="escape_sgml_chars"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>escape_sgml_chars &#8212; escape special SGML characters in a string.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">escape_sgml_chars</span> ?<span style="font-family:monospace; font-weight: bold;">string</span>?</div></div></div><div class="refsect1" title="Description"><a name="id603493"></a><h2>Description</h2><p style="width:90%"> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>escape_sgml_chars</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="escape_string.html" title="escape_string"><link rel="next" href="escape_shell_command.html" title="escape_shell_command"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">escape_sgml_chars</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="escape_string.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="escap e_shell_command.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="escape_sgml_chars"><div class="refentry.separator"><hr></div><a name="escape_sgml_chars"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>escape_sgml_chars &#8212; escape special SGML characters in a string.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">escape_sgml_chars</span> ?<span style="font-family:monospace; font-weight: bold;">string</span>?</div></div></div><div class="refsect1" title="Description"><a name="id552618"></a><h2>Description</h2><p style="width:90%"> Scans through each character in the specified string looking for any special (with respect to SGML, and hence HTML) characters from the specified string, and returns the result. Modified: tcl/rivet/trunk/doc/html/escape_shell_command.html URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/html/escape_shell_command.html?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/html/escape_shell_command.html (original) +++ tcl/rivet/trunk/doc/html/escape_shell_command.html Thu Aug 26 21:13:00 2010 @@ -1,4 +1,4 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>escape_shell_command</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="escape_sgml_chars.html" title="escape_sgml_chars"><link rel="next" href="unescape_string.html" title="unescape_string"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">escape_shell_command</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="escape_sgml_chars.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" hre f="unescape_string.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="escape_shell_command"><div class="refentry.separator"><hr></div><a name="escape_shell_command"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>escape_shell_command &#8212; escape shell metacharacters in a string.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">escape_shell_command</span> ?<span style="font-family:monospace; font-weight: bold;">string</span>?</div></div></div><div class="refsect1" title="Description"><a name="id603545"></a><h2>Description</h2><p style="width:90%"> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>escape_shell_command</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="escape_sgml_chars.html" title="escape_sgml_chars"><link rel="next" href="unescape_string.html" title="unescape_string"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">escape_shell_command</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="escape_sgml_chars.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" hre f="unescape_string.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="escape_shell_command"><div class="refentry.separator"><hr></div><a name="escape_shell_command"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>escape_shell_command &#8212; escape shell metacharacters in a string.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">escape_shell_command</span> ?<span style="font-family:monospace; font-weight: bold;">string</span>?</div></div></div><div class="refsect1" title="Description"><a name="id552670"></a><h2>Description</h2><p style="width:90%"> Scans through each character in the specified string looking for any shell metacharacters, such as asterisk, less than and greater than, parens, square brackets, curly brackets, angle Modified: tcl/rivet/trunk/doc/html/escape_string.html URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/html/escape_string.html?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/html/escape_string.html (original) +++ tcl/rivet/trunk/doc/html/escape_string.html Thu Aug 26 21:13:00 2010 @@ -1,4 +1,4 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>escape_string</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="no_body.html" title="no_body"><link rel="next" href="escape_sgml_chars.html" title="escape_sgml_chars"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">escape_string</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="no_body.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="escape_sgml_chars.html"><img src="ima ges/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="escape_string"><div class="refentry.separator"><hr></div><a name="escape_string"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>escape_string &#8212; convert a string into escaped characters.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">escape_string</span> ?<span style="font-family:monospace; font-weight: bold;">string</span>?</div></div></div><div class="refsect1" title="Description"><a name="id603438"></a><h2>Description</h2><p style="width:90%"> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>escape_string</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="no_body.html" title="no_body"><link rel="next" href="escape_sgml_chars.html" title="escape_sgml_chars"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">escape_string</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="no_body.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="escape_sgml_chars.html"><img src="ima ges/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="escape_string"><div class="refentry.separator"><hr></div><a name="escape_string"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>escape_string &#8212; convert a string into escaped characters.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">escape_string</span> ?<span style="font-family:monospace; font-weight: bold;">string</span>?</div></div></div><div class="refsect1" title="Description"><a name="id552563"></a><h2>Description</h2><p style="width:90%"> Scans through each character in the specified string looking for special characters, escaping them as needed, mapping special characters to a quoted hexadecimal equivalent, Modified: tcl/rivet/trunk/doc/html/examples.html URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/html/examples.html?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/html/examples.html (original) +++ tcl/rivet/trunk/doc/html/examples.html Thu Aug 26 21:13:00 2010 @@ -16,7 +16,7 @@ puts "Hello World" </pre><p style="width:90%"> If you then access it with your browser, you should see a blank page with the text "Hello World" (without the quotes) on it. - </p></div></div><br class="example-break"><div class="example"><a name="id607638"></a><p class="title"><b>Example 2. Generate a Table</b></p><div class="example-contents"><p style="width:90%"> + </p></div></div><br class="example-break"><div class="example"><a name="id556763"></a><p class="title"><b>Example 2. Generate a Table</b></p><div class="example-contents"><p style="width:90%"> In another simple example, we dynamically generate a table: </p><pre style="background:#ccc; margin: 2ex; margin-right: 10%; padding: 1ex; border: dashed black 1px ; white-space: pre; font-family: monospace; font-size: 90%;" class="programlisting">&lt;? puts "&lt;table&gt;\n" for {set i 1} { $i &lt;= 8 } {incr i} { Modified: tcl/rivet/trunk/doc/html/form.html URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/html/form.html?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/html/form.html (original) +++ tcl/rivet/trunk/doc/html/form.html Thu Aug 26 21:13:00 2010 @@ -1,4 +1,4 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Form: An HTML Form Fields Generation Utility</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="index.html" title="Apache Rivet"><link rel="prev" href="session_package.html" title="Session Package"><link rel="next" href="form_package.html" title="form"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Form: An HTML Form Fields Generation Utility</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="session_package.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="form_package.html"><im g src="images/next.png" alt="Next"></a></td></tr></table></div><div class="section" title="Form: An HTML Form Fields Generation Utility"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="form"></a>Form: An HTML Form Fields Generation Utility</h2></div></div></div><div class="section" title="Introduction"><div class="titlepage"><div><div><h3 class="title"><a name="id621190"></a>Introduction</h3></div></div></div><p style="width:90%"> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Form: An HTML Form Fields Generation Utility</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="index.html" title="Apache Rivet"><link rel="prev" href="session_package.html" title="Session Package"><link rel="next" href="form_package.html" title="form"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Form: An HTML Form Fields Generation Utility</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="session_package.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="form_package.html"><im g src="images/next.png" alt="Next"></a></td></tr></table></div><div class="section" title="Form: An HTML Form Fields Generation Utility"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="form"></a>Form: An HTML Form Fields Generation Utility</h2></div></div></div><div class="section" title="Introduction"><div class="titlepage"><div><div><h3 class="title"><a name="id570316"></a>Introduction</h3></div></div></div><p style="width:90%"> The <span style="font-family:monospace"><span class="command"><strong>form</strong></span></span> package is a utility for generating html forms. A <span style="font-family:monospace"><span class="command"><strong>form</strong></span></span> object command saves the programmer from typing the cumbersome html code of input elements, working out a solution for better standardization and readability of the code. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Aug 26 21:14:24 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79204 invoked from network); 26 Aug 2010 21:14:24 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Aug 2010 21:14:24 -0000 Received: (qmail 38746 invoked by uid 500); 26 Aug 2010 21:14:24 -0000 Delivered-To: [email protected] Received: (qmail 38732 invoked by uid 500); 26 Aug 2010 21:14:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rivet-cvs.tcl.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 38725 invoked by uid 99); 26 Aug 2010 21:14:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Aug 2010 21:14:24 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Aug 2010 21:14:21 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id C5B0A2388A5F; Thu, 26 Aug 2010 21:13:03 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r989926 [2/5] - in /tcl/rivet/trunk/doc: ./ html/ xml/ Date: Thu, 26 Aug 2010 21:13:02 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Modified: tcl/rivet/trunk/doc/html/form_package.html URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/html/form_package.html?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/html/form_package.html (original) +++ tcl/rivet/trunk/doc/html/form_package.html Thu Aug 26 21:13:00 2010 @@ -1,11 +1,9 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>form</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="form.html" title="Form: An HTML Form Fields Generation Utility"><link rel="prev" href="form.html" title="Form: An HTML Form Fields Generation Utility"><link rel="next" href="calendar_package.html" title="Calendar Package"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">form</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="form.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Form: An HTML Form Fields Generation Utility</th><td width="20%" align="right"> <a accesskey="n" href="calend ar_package.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="form"><a name="form_package"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>form &#8212; a Tcl command object for creating HTML forms</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">form</span> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>form_name</code></em></span> ?<span style="font-family:monospace; font-weight: bold;">-option1 <em class="replaceable"><code>value_1</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-option2 <em class="replaceable"><code>value_2</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">...</span> ?</div></div></div><div class="refsect1"><a name="id621604"></a><p style="width:90%"> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>form</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="form.html" title="Form: An HTML Form Fields Generation Utility"><link rel="prev" href="form.html" title="Form: An HTML Form Fields Generation Utility"><link rel="next" href="calendar_package.html" title="Calendar Package"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">form</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="form.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Form: An HTML Form Fields Generation Utility</th><td width="20%" align="right"> <a accesskey="n" href="calend ar_package.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="form"><a name="form_package"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>form &#8212; a Tcl command object for creating HTML forms</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">form</span> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>form_name</code></em></span> ?<span style="font-family:monospace; font-weight: bold;">-option1 <em class="replaceable"><code>value_1</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-option2 <em class="replaceable"><code>value_2</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">...</span> ?</div></div></div><div class="refsect1"><a name="id570730"></a><p style="width:90%"> creates and returns a new Tcl command named <em class="replaceable"><code>form_name</code></em>. - </p><div class="refsect2" title="Options"><a name="id621615"></a><h3>Options</h3><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-method</span> ?<span style="font-family:monospace; font-weight: bold;">post|get</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> + </p><div class="refsect2" title="Options"><a name="id570741"></a><h3>Options</h3><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-method</span> ?<span style="font-family:monospace; font-weight: bold;">post|get</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> The http method for sending the form data back to the server. Possible values are get or post - </div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="images/note.png"></td><th align="left">Note</th></tr><tr><td align="left" valign="top"> - At the time of writing only the 'get' method is implemented - </td></tr></table></div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-name</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>form_name</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> + </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-name</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>form_name</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> a name for the form being created: this value becomes the value of the attribute 'name' in the &lt;form&gt; tag. </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-defaults</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>default_values</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> @@ -19,7 +17,7 @@ </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-action</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>URL</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> The URL the data are being sent to. If no ?<span style="font-family:monospace; font-weight: bold;">-action</span>? switch is specified the data are sent to the form's URL. - </div></div></dd></dl></div></div></div><div class="refsect1" title="Form Object Commands"><a name="id621781"></a><h2>Form Object Commands</h2><p style="width:90%"> + </div></div></dd></dl></div></div></div><div class="refsect1" title="Form Object Commands"><a name="id570903"></a><h2>Form Object Commands</h2><p style="width:90%"> Form object commands follow the usual syntax of Tcl commands with a ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>subcommand</code></em></span>? argument playing the role of a switch among various functionalities of the command. Form objects also need the ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>name</code></em></span>? parameter which is to become the value of the 'name' attribute in an input field. This argument is the key that has to be @@ -34,7 +32,7 @@ <span style="font-family:monospace"><span class="command"><strong>field</strong></span></span> is an abstract input field creation method and requires an additional parameter specifiyng the type of field to create. Every concrete input field generation command uses this subcommand internally to print the final html. - </p></div><div class="refsect1" title="Subcommands"><a name="id621903"></a><h2>Subcommands</h2><div class="refsect2"><a name="id621909"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">start</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">-method <em class="replaceable"><code>get | post</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-name <em class="replaceable"><code>form_name</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-defaults <em class="replaceable"><code>default_values</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-action <em class="replaceable"><code>URL</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> + </p></div><div class="refsect1" title="Subcommands"><a name="id571025"></a><h2>Subcommands</h2><div class="refsect2"><a name="id571030"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">start</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">-method <em class="replaceable"><code>get | post</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-name <em class="replaceable"><code>form_name</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-defaults <em class="replaceable"><code>default_values</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-action <em class="replaceable"><code>URL</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> Print the &lt;form&gt; tag with all its attributes. This command must be called as first in the form generation process. The following is a sample of code creating a form named 'formname' whose data will @@ -50,7 +48,7 @@ myform end</pre><div style="margin-botto The code prints a form that sends a text entry content and the option value associated with a radiobutton. The URL of the server script is the same that created the form. Use the ?<span style="font-family:monospace; font-weight: bold;">-url</span>? option to specify a different url. - </div></div></dd></dl></div><div class="refsect3" title="Options"><a name="id622023"></a><div style="padding:4 ; margin-top:3 ; margin-left: 5%;">Options</div><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-left: 5%; margin-bottom:3 ; width:70%;"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-method</span> ?<span style="font-family:monospace; font-weight: bold;">post|get</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> + </div></div></dd></dl></div><div class="refsect3" title="Options"><a name="id571145"></a><div style="padding:4 ; margin-top:3 ; margin-left: 5%;">Options</div><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-left: 5%; margin-bottom:3 ; width:70%;"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-method</span> ?<span style="font-family:monospace; font-weight: bold;">post|get</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> The method to be used to encode the form data. Possible values are get or post </div><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="images/note.png"></td><th align="left">Note</th></tr><tr><td align="left" valign="top"> @@ -69,22 +67,22 @@ myform end</pre><div style="margin-botto </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-left: 5%; margin-bottom:3 ; width:70%;"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-action</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>URL</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> The URL the data will be sent to. If no ?<span style="font-family:monospace; font-weight: bold;">-action</span>? switch is specified the data are sent to the form's URL. - </div></div></dd></dl></div></div></div><div class="refsect2"><a name="id622189"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">end</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex"> + </div></div></dd></dl></div></div></div><div class="refsect2"><a name="id571310"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">end</span> </div></div><div style="margin-bottom:1.5ex ; padding .5ex"> Print the &lt;/form&gt; closing tag. This command must be called last in the form generation process - </div></div></dd></dl></div></div><div class="refsect2"><a name="id622218"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">field</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">type</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> + </div></div></dd></dl></div></div><div class="refsect2"><a name="id571340"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">field</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">type</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> Print a field of the given ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>type</code></em></span>? and ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>name</code></em></span>?, including any default key-value pairs defined for this field type and optional key-value pairs included with the statement - </div></div></dd></dl></div><div class="refsect3" title="Options"><a name="id622288"></a><div style="padding:4 ; margin-top:3 ; margin-left: 5%;">Options</div><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-left: 5%; margin-bottom:3 ; width:70%;"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-opt1</span> ?<span style="font-family:monospace; font-weight: bold;">val1</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> + </div></div></dd></dl></div><div class="refsect3" title="Options"><a name="id571410"></a><div style="padding:4 ; margin-top:3 ; margin-left: 5%;">Options</div><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-left: 5%; margin-bottom:3 ; width:70%;"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-opt1</span> ?<span style="font-family:monospace; font-weight: bold;">val1</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> Option description - </div></div></dd></dl></div></div></div><div class="refsect2"><a name="id622331"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">radiobuttons</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">-values <em class="replaceable"><code>values</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-labels <em class="replaceable"><code>labels</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> + </div></div></dd></dl></div></div></div><div class="refsect2"><a name="id571452"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">radiobuttons</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">-values <em class="replaceable"><code>values</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-labels <em class="replaceable"><code>labels</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> the <span style="font-family:monospace"><span class="command"><strong>radiobutton</strong></span></span> creates a whole radiobutton group with the values and labels specified in the argument list. If no ?<span style="font-family:monospace; font-weight: bold;">-labels</span>? switch is passed to the subcommand the values are printed as labels of the radiobutton. - </div><div class="refsect3" title="Options"><a name="id622409"></a><div style="padding:4 ; margin-top:3 ; margin-left: 5%;">Options</div><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-left: 5%; margin-bottom:3 ; width:70%;"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-values</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>values_list</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> + </div><div class="refsect3" title="Options"><a name="id571531"></a><div style="padding:4 ; margin-top:3 ; margin-left: 5%;">Options</div><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-left: 5%; margin-bottom:3 ; width:70%;"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-values</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>values_list</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> List of values associated with the radiobuttons to be displayed </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-left: 5%; margin-bottom:3 ; width:70%;"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-labels</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>labels_list</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> List of labels to be printed with every radiobutton. There must @@ -110,11 +108,11 @@ myform end</pre><div style="margin-botto radiobutton field is automatically checked. The options ?<span style="font-family:monospace; font-weight: bold;">values</span>? and ?<span style="font-family:monospace; font-weight: bold;">labels</span>? are used internally and don't get into the tag attributes. If a ?<span style="font-family:monospace; font-weight: bold;">labels</span>? option is not given, labels are assigned using the ?<span style="font-family:monospace; font-weight: bold;">values</span>? list. - </div></div></dd></dl></div></div><div class="refsect2"><a name="id622558"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">checkbox</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">-label <em class="replaceable"><code>label</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-value <em class="replaceable"><code>value</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> + </div></div></dd></dl></div></div><div class="refsect2"><a name="id571680"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">checkbox</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">-label <em class="replaceable"><code>label</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-value <em class="replaceable"><code>value</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> The <span style="font-family:monospace; font-weight: bold;">checkbox</span> subcommand emits a checkbox type input field with the name, label and value attributes set according to the parameters passed to the subcommand. - </div><div class="refsect3" title="Options"><a name="id622630"></a><div style="padding:4 ; margin-top:3 ; margin-left: 5%;">Options</div><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-left: 5%; margin-bottom:3 ; width:70%;"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-values</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>values_list</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> + </div><div class="refsect3" title="Options"><a name="id571752"></a><div style="padding:4 ; margin-top:3 ; margin-left: 5%;">Options</div><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-left: 5%; margin-bottom:3 ; width:70%;"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-values</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>values_list</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> List of values associated with the checkboxes to be displayed </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-left: 5%; margin-bottom:3 ; width:70%;"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-labels</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>labels_list</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> List of labels to be printed with every checkbox. There must @@ -131,12 +129,12 @@ myform checkbox options -value opt4 -l &lt;input type="checkbox" name="options" label="Option 2" value="opt2" checked="checked" /&gt;Option 2 &lt;input type="checkbox" name="options" label="Option 3" value="opt3" /&gt;Option 3 -&lt;input type="checkbox" name="options" label="Option 4" value="opt4" /&gt;Option 4</pre></div></dd></dl></div></div><div class="refsect2"><a name="id622735"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">password</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> +&lt;input type="checkbox" name="options" label="Option 4" value="opt4" /&gt;Option 4</pre></div></dd></dl></div></div><div class="refsect2"><a name="id571857"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">password</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> Same as text, but the input is obfuscated so as not to reveal the text being typed - </div></div></dd></dl></div></div><div class="refsect2"><a name="id622782"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">hidden</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> + </div></div></dd></dl></div></div><div class="refsect2"><a name="id571903"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">hidden</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> hidden input element: typicall embedded in a form in order to pass status variables. - </div></div></dd></dl></div></div><div class="refsect2"><a name="id622828"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">submit</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> + </div></div></dd></dl></div></div><div class="refsect2"><a name="id571950"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">submit</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> emits the code for a classical HTML submit button. Example: the following code </div><div style="margin-bottom:1.5ex ; padding .5ex"> @@ -149,43 +147,43 @@ myform checkbox options -value opt4 -l </div><pre style="background:#ccc; margin: 2ex; margin-right: 10%; padding: 1ex; border: dashed black 1px ; white-space: pre; font-family: monospace; font-size: 90%;" class="programlisting"> &lt;form...&gt; &lt;input type="submit" name="submit" value="Search" /&gt; - &lt;/form&gt;</pre></div></dd></dl></div></div><div class="refsect2"><a name="id622895"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">button</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> + &lt;/form&gt;</pre></div></dd></dl></div></div><div class="refsect2"><a name="id572017"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">button</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> emits the code for a button field having ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>name</code></em></span>? as name - </div></div></dd></dl></div></div><div class="refsect2"><a name="id622950"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">reset</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> + </div></div></dd></dl></div></div><div class="refsect2"><a name="id572072"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">reset</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> Classical HTML reset button that resets the input fields back to their initial values - </div></div></dd></dl></div></div><div class="refsect2"><a name="id622997"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">image</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> + </div></div></dd></dl></div></div><div class="refsect2"><a name="id572119"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">image</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> Emits an image input field - </div></div></dd></dl></div></div><div class="refsect2"><a name="id623044"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">checkbox</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> + </div></div></dd></dl></div></div><div class="refsect2"><a name="id572165"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">checkbox</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> Emits a checkbox input field - </div></div></dd></dl></div></div><div class="refsect2"><a name="id623090"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">radio</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> + </div></div></dd></dl></div></div><div class="refsect2"><a name="id572211"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">radio</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> Emits a radiobutton input field - </div></div></dd></dl></div></div><div class="refsect2"><a name="id623136"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">color</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> + </div></div></dd></dl></div></div><div class="refsect2"><a name="id572257"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">color</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> Emits an HTML 5 "color" form field - </div></div></dd></dl></div></div><div class="refsect2"><a name="id623182"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">date</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> + </div></div></dd></dl></div></div><div class="refsect2"><a name="id572304"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">date</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> Emits an HTML 5 "date" form field - </div></div></dd></dl></div></div><div class="refsect2"><a name="id623228"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">datetime</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> + </div></div></dd></dl></div></div><div class="refsect2"><a name="id572350"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">datetime</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> Emits an HTML 5 "datetime" form field - </div></div></dd></dl></div></div><div class="refsect2"><a name="id623274"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">datetime_local</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> + </div></div></dd></dl></div></div><div class="refsect2"><a name="id572396"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">datetime_local</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> Emits an HTML 5 "datetime_local" form field - </div></div></dd></dl></div></div><div class="refsect2"><a name="id623320"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">email</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> + </div></div></dd></dl></div></div><div class="refsect2"><a name="id572442"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">email</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> Emits an HTML 5 "email" form field - </div></div></dd></dl></div></div><div class="refsect2"><a name="id623367"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">file</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> + </div></div></dd></dl></div></div><div class="refsect2"><a name="id572488"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">file</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> Emits an HTML 5 "file" form field - </div></div></dd></dl></div></div><div class="refsect2"><a name="id623413"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">month</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> + </div></div></dd></dl></div></div><div class="refsect2"><a name="id572534"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">month</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> Emits an HTML 5 "month" form field - </div></div></dd></dl></div></div><div class="refsect2"><a name="id623459"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">number</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> + </div></div></dd></dl></div></div><div class="refsect2"><a name="id572581"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">number</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> Emits an HTML 5 "number" form field - </div></div></dd></dl></div></div><div class="refsect2"><a name="id623505"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">range</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> + </div></div></dd></dl></div></div><div class="refsect2"><a name="id572627"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">range</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> Emits an HTML 5 "range" form field - </div></div></dd></dl></div></div><div class="refsect2"><a name="id623551"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">search</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> + </div></div></dd></dl></div></div><div class="refsect2"><a name="id572673"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">search</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> Emits an HTML 5 "search" form field - </div></div></dd></dl></div></div><div class="refsect2"><a name="id623597"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">tel</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> + </div></div></dd></dl></div></div><div class="refsect2"><a name="id572719"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">tel</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> Emits an HTML 5 "tel" form field - </div></div></dd></dl></div></div><div class="refsect2"><a name="id623643"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">time</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> + </div></div></dd></dl></div></div><div class="refsect2"><a name="id572765"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">time</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> Emits an HTML 5 "time" form field - </div></div></dd></dl></div></div><div class="refsect2"><a name="id623690"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">url</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> + </div></div></dd></dl></div></div><div class="refsect2"><a name="id572811"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">url</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> Emits an HTML 5 "url" form field - </div></div></dd></dl></div></div><div class="refsect2"><a name="id623735"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">week</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> + </div></div></dd></dl></div></div><div class="refsect2"><a name="id572857"></a><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">week</span> ?<span style="font-family:monospace; font-weight: bold;">name</span>? ?<span style="font-family:monospace; font-weight: bold;">args</span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> Emits an HTML 5 "week" form field </div></div></dd></dl></div></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="form.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"><a accesskey="u" href="form.html"><img src="images/up.png" alt="Up"></a></td><td width="40%" align="right"> <a accesskey="n" href="calendar_package.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">Form: An HTML Form Fields Generation Utility </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> Calendar Package</td></tr></table></div></body></html> Modified: tcl/rivet/trunk/doc/html/headers.html URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/html/headers.html?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/html/headers.html (original) +++ tcl/rivet/trunk/doc/html/headers.html Thu Aug 26 21:13:00 2010 @@ -1,4 +1,4 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>headers</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="parse.html" title="parse"><link rel="next" href="makeurl.html" title="makeurl"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">headers</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="parse.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="makeurl.html"><img src="images/next.png" alt="Next"></a></td></tr></table>< /div><div class="refentry" title="headers"><div class="refentry.separator"><hr></div><a name="headers"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>headers &#8212; set and parse HTTP headers.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">headers</span> (<span style="font-family:monospace; font-weight: bold;">set</span> | <span style="font-family:monospace; font-weight: bold;">redirect</span> | <span style="font-family:monospace; font-weight: bold;">add</span> | <span style="font-family:monospace; font-weight: bold;">type</span> | <span style="font-family:monospace; font-weight: bold;">numeric</span>)</div></div></div><div class="refsect1" title="Description"><a name="id602620"></a><h2>Description</h2><p style="width:90%"> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>headers</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="parse.html" title="parse"><link rel="next" href="makeurl.html" title="makeurl"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">headers</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="parse.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="makeurl.html"><img src="images/next.png" alt="Next"></a></td></tr></table>< /div><div class="refentry" title="headers"><div class="refentry.separator"><hr></div><a name="headers"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>headers &#8212; set and parse HTTP headers.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">headers</span> (<span style="font-family:monospace; font-weight: bold;">set</span> | <span style="font-family:monospace; font-weight: bold;">redirect</span> | <span style="font-family:monospace; font-weight: bold;">add</span> | <span style="font-family:monospace; font-weight: bold;">type</span> | <span style="font-family:monospace; font-weight: bold;">numeric</span>)</div></div></div><div class="refsect1" title="Description"><a name="id551746"></a><h2>Description</h2><p style="width:90%"> The <span style="font-family:monospace"><span class="command"><strong>headers</strong></span></span> command is for setting and parsing HTTP headers. </p><div class="variablelist"><dl><dt><span class="term"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">headers</span> <span style="font-family:monospace; font-weight: bold;">set</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>headername</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div> Modified: tcl/rivet/trunk/doc/html/help.html URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/html/help.html?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/html/help.html (original) +++ tcl/rivet/trunk/doc/html/help.html Thu Aug 26 21:13:00 2010 @@ -1,4 +1,4 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Resources - How to Get Help</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="index.html" title="Apache Rivet"><link rel="prev" href="html_calendar.html" title="HtmlCalendar"><link rel="next" href="internals.html" title="Rivet Internals"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Resources - How to Get Help</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="html_calendar.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="internals.html"><img src="images/next.png" alt="Next">< /a></td></tr></table></div><div class="section" title="Resources - How to Get Help"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="help"></a>Resources - How to Get Help</h2></div></div></div><div class="section" title="Mailing Lists"><div class="titlepage"><div><div><h3 class="title"><a name="id627945"></a>Mailing Lists</h3></div></div></div><p style="width:90%"> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Resources - How to Get Help</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="index.html" title="Apache Rivet"><link rel="prev" href="html_calendar.html" title="HtmlCalendar"><link rel="next" href="internals.html" title="Rivet Internals"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Resources - How to Get Help</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="html_calendar.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="internals.html"><img src="images/next.png" alt="Next">< /a></td></tr></table></div><div class="section" title="Resources - How to Get Help"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="help"></a>Resources - How to Get Help</h2></div></div></div><div class="section" title="Mailing Lists"><div class="titlepage"><div><div><h3 class="title"><a name="id577062"></a>Mailing Lists</h3></div></div></div><p style="width:90%"> The Rivet mailing list is the first place you should turn for help. If you haven't found the solution to your problem in the documentation or you have a question, idea, or comment about the Rivet code itself send email to @@ -6,7 +6,7 @@ <code class="email">&lt;<a class="email" href="mailto:[email protected]">[email protected]</a>&gt;</code>. </p><p style="width:90%"> The mailing list archives are available at <a class="ulink" href="http://mail-archives.apache.org/mod_mbox/tcl-rivet-dev/" target="_top">http://mail-archives.apache.org/mod_mbox/tcl-rivet-dev/</a> - </p></div><div class="section" title="Newsgroup"><div class="titlepage"><div><div><h3 class="title"><a name="id627973"></a>Newsgroup</h3></div></div></div><p style="width:90%"> + </p></div><div class="section" title="Newsgroup"><div class="titlepage"><div><div><h3 class="title"><a name="id577090"></a>Newsgroup</h3></div></div></div><p style="width:90%"> The <a class="ulink" href="news:comp.lang.tcl" target="_top">news:comp.lang.tcl</a> newsgroup is a good place to ask about Tcl questions in general. Rivet developers also follow the newsgroup, but it's best to ask Rivet-specific @@ -28,14 +28,14 @@ </div></li><li class="listitem"><div style="margin-bottom:1.5ex ; padding .5ex"> <a class="ulink" href="http://wiki.tcl.tk" target="_top">http://wiki.tcl.tk</a> is the Tcl'ers Wiki, a free-form place to search for answers and ask for help. - </div></li></ul></div></div><div class="section" title="Bug Tracking System"><div class="titlepage"><div><div><h3 class="title"><a name="id628345"></a>Bug Tracking System</h3></div></div></div><p style="width:90%"> + </div></li></ul></div></div><div class="section" title="Bug Tracking System"><div class="titlepage"><div><div><h3 class="title"><a name="id577462"></a>Bug Tracking System</h3></div></div></div><p style="width:90%"> Apache Rivet uses the Apache Bug Tracking system at <a class="ulink" href="http://issues.apache.org/bugzilla/" target="_top">http://issues.apache.org/bugzilla/</a>. Here, you can report problems, or check and see if existing issues are already known and being dealt with. - </p></div><div class="section" title="IRC"><div class="titlepage"><div><div><h3 class="title"><a name="id628361"></a>IRC</h3></div></div></div><p style="width:90%"> + </p></div><div class="section" title="IRC"><div class="titlepage"><div><div><h3 class="title"><a name="id577478"></a>IRC</h3></div></div></div><p style="width:90%"> Occasionally, someone from the Rivet team is on IRC at irc.freenode.net, channel #tcl. - </p></div><div class="section" title="Editing Rivet Template Files"><div class="titlepage"><div><div><h3 class="title"><a name="id628372"></a>Editing Rivet Template Files</h3></div></div></div><p style="width:90%"> + </p></div><div class="section" title="Editing Rivet Template Files"><div class="titlepage"><div><div><h3 class="title"><a name="id577489"></a>Editing Rivet Template Files</h3></div></div></div><p style="width:90%"> Rivet makes available code for two popular editors, <span class="application">emacs</span> and <span class="application">vim</span> to facilitate the editing of Modified: tcl/rivet/trunk/doc/html/html.html URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/html/html.html?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/html/html.html (original) +++ tcl/rivet/trunk/doc/html/html.html Thu Aug 26 21:13:00 2010 @@ -1,4 +1,4 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>html</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="clock_to_rfc.html" title="clock_to_rfc850_gmt"><link rel="next" href="incr0.html" title="incr0"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">html</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="clock_to_rfc.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="incr0.html"><img src="images/next.png" alt="Next"></a></t d></tr></table></div><div class="refentry" title="html"><div class="refentry.separator"><hr></div><a name="html"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>html &#8212; construct html tagged text.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">html</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>string</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>arg</code></em></span>...?</div></div></div><div class="refsect1" title="Description"><a name="id603160"></a><h2>Description</h2><p style="width:90%"> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>html</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="clock_to_rfc.html" title="clock_to_rfc850_gmt"><link rel="next" href="incr0.html" title="incr0"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">html</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="clock_to_rfc.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="incr0.html"><img src="images/next.png" alt="Next"></a></t d></tr></table></div><div class="refentry" title="html"><div class="refentry.separator"><hr></div><a name="html"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>html &#8212; construct html tagged text.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">html</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>string</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>arg</code></em></span>...?</div></div></div><div class="refsect1" title="Description"><a name="id552285"></a><h2>Description</h2><p style="width:90%"> Print text with the added ability to pass HTML tags following the string. Example: </p><pre style="background:#ccc; margin: 2ex; margin-right: 10%; padding: 1ex; border: dashed black 1px ; white-space: pre; font-family: monospace; font-size: 90%;" class="programlisting">html "Test" b i</pre><p style="width:90%"> Modified: tcl/rivet/trunk/doc/html/html_calendar.html URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/html/html_calendar.html?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/html/html_calendar.html (original) +++ tcl/rivet/trunk/doc/html/html_calendar.html Thu Aug 26 21:13:00 2010 @@ -1,4 +1,4 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>HtmlCalendar</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="calendar_package.html" title="Calendar Package"><link rel="prev" href="xml_calendar.html" title="XmlCalendar"><link rel="next" href="help.html" title="Resources - How to Get Help"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">HtmlCalendar</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="xml_calendar.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Calendar Package</th><td width="20%" align="right"> <a accesskey="n" href="help.html"><img src="images/next.png" alt="Next"></a ></td></tr></table></div><div class="refentry" title="HtmlCalendar"><div class="refentry.separator"><hr></div><a name="html_calendar"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>HtmlCalendar &#8212; Concrete class derived from XmlCalendar</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">HtmlCalendar</span> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>calendar_name</code></em></span> ?<span style="font-family:monospace; font-weight: bold;">-option1 <em class="replaceable"><code>option_list</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-option2 <em class="replaceable"><code>option_list</code></em></span>? ?<span style="font-family:monospace; font-weight: bo ld;">...</span>?</div></div></div><div class="refsect1"><a name="id627171"></a><p style="width:90%"> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>HtmlCalendar</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="calendar_package.html" title="Calendar Package"><link rel="prev" href="xml_calendar.html" title="XmlCalendar"><link rel="next" href="help.html" title="Resources - How to Get Help"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">HtmlCalendar</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="xml_calendar.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Calendar Package</th><td width="20%" align="right"> <a accesskey="n" href="help.html"><img src="images/next.png" alt="Next"></a ></td></tr></table></div><div class="refentry" title="HtmlCalendar"><div class="refentry.separator"><hr></div><a name="html_calendar"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>HtmlCalendar &#8212; Concrete class derived from XmlCalendar</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">HtmlCalendar</span> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>calendar_name</code></em></span> ?<span style="font-family:monospace; font-weight: bold;">-option1 <em class="replaceable"><code>option_list</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-option2 <em class="replaceable"><code>option_list</code></em></span>? ?<span style="font-family:monospace; font-weight: bo ld;">...</span>?</div></div></div><div class="refsect1"><a name="id576288"></a><p style="width:90%"> Concrete XmlCalendar class for printing html calendar tables. The markup of the class is xhtml compliant and prints a code fragment for inclusion in a webpage. The following is the class definition. @@ -18,7 +18,7 @@ -days_row tr \ -days_cell td } -}</pre></div><div class="refsect1"><a name="id627190"></a><p style="width:90%"> +}</pre></div><div class="refsect1"><a name="id576307"></a><p style="width:90%"> A sample output from HtmlCalendar (with some styling) </p><p style="width:90%"> </p><div><img src="calendar.png"></div><p style="width:90%"> Modified: tcl/rivet/trunk/doc/html/include.html URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/html/include.html?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/html/include.html (original) +++ tcl/rivet/trunk/doc/html/include.html Thu Aug 26 21:13:00 2010 @@ -1,4 +1,4 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>include</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="env.html" title="env"><link rel="next" href="parse.html" title="parse"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">include</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="env.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="parse.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div cl ass="refentry" title="include"><div class="refentry.separator"><hr></div><a name="include"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>include &#8212; includes a file into the output stream without modification.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">include</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>filename_name</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id602481"></a><h2>Description</h2><p style="width:90%"> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>include</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="env.html" title="env"><link rel="next" href="parse.html" title="parse"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">include</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="env.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="parse.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div cl ass="refentry" title="include"><div class="refentry.separator"><hr></div><a name="include"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>include &#8212; includes a file into the output stream without modification.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">include</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>filename_name</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id551606"></a><h2>Description</h2><p style="width:90%"> Include a file without parsing it for processing tags &lt;? and ?&gt;. This is the best way to include an HTML file or any other static content. Modified: tcl/rivet/trunk/doc/html/incr0.html URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/html/incr0.html?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/html/incr0.html (original) +++ tcl/rivet/trunk/doc/html/incr0.html Thu Aug 26 21:13:00 2010 @@ -1,4 +1,4 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>incr0</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="html.html" title="html"><link rel="next" href="parray.html" title="parray"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">incr0</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="html.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="parray.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="incr0"><div class="refentry.separator"><hr></div><a name="incr0"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>incr0 &#8212; increment a variable or set it to 1 if nonexistant.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">incr0</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>varname</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>num</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id603225"></a><h2>Description</h2><p style="width:90%"> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>incr0</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Apache Rivet"><link rel="up" href="commands.html" title="Rivet Tcl Commands and Variables"><link rel="prev" href="html.html" title="html"><link rel="next" href="parray.html" title="parray"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">incr0</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="html.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center">Rivet Tcl Commands and Variables</th><td width="20%" align="right"> <a accesskey="n" href="parray.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="refentry" title="incr0"><div class="refentry.separator"><hr></div><a name="incr0"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>incr0 &#8212; increment a variable or set it to 1 if nonexistant.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">incr0</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>varname</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>num</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id552350"></a><h2>Description</h2><p style="width:90%"> Increment a variable <em class="replaceable"><code>varname</code></em> by <em class="replaceable"><code>num</code></em>. If the --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Aug 26 21:14:48 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79247 invoked from network); 26 Aug 2010 21:14:48 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Aug 2010 21:14:48 -0000 Received: (qmail 38872 invoked by uid 500); 26 Aug 2010 21:14:48 -0000 Delivered-To: [email protected] Received: (qmail 38857 invoked by uid 500); 26 Aug 2010 21:14:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rivet-cvs.tcl.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 38850 invoked by uid 99); 26 Aug 2010 21:14:48 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Aug 2010 21:14:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Aug 2010 21:14:23 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id CEE702388AAA; Thu, 26 Aug 2010 21:13:03 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r989926 [4/5] - in /tcl/rivet/trunk/doc: ./ html/ xml/ Date: Thu, 26 Aug 2010 21:13:02 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Modified: tcl/rivet/trunk/doc/html/rivet.html URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/html/rivet.html?rev=989926&r1=989925&r2=989926&view=diff ============================================================================== --- tcl/rivet/trunk/doc/html/rivet.html (original) +++ tcl/rivet/trunk/doc/html/rivet.html Thu Aug 26 21:13:00 2010 @@ -1,9 +1,9 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Apache Rivet</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="article" title="Apache Rivet"><div class="titlepage"><div><div><h2 class="title"><a name="id360123"></a>Apache Rivet</h2></div><div><div class="author"><h3 class="author"><span class="firstname">The Rivet Team</span></h3><div class="affiliation"><span class="orgname">The Apache Software Foundation<br></span><div class="address"><p><br> +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Apache Rivet</title><link rel="stylesheet" href="rivet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="article" title="Apache Rivet"><div class="titlepage"><div><div><h2 class="title"><a name="id347255"></a>Apache Rivet</h2></div><div><div class="author"><h3 class="author"><span class="firstname">The Rivet Team</span></h3><div class="affiliation"><span class="orgname">The Apache Software Foundation<br></span><div class="address"><p><br>   <code class="email">&lt;<a class="email" href="mailto:[email protected]">[email protected]</a>&gt;</code><br> </p></div></div></div></div><div><p class="copyright">Copyright © 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apache Software Foundation</p></div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="#introduction">Introduction to Apache Rivet</a></span></dt><dt><span class="section"><a href="#installation">Apache Rivet Installation</a></span></dt><dt><span class="section"><a href="#directives">Rivet Apache Directives</a></span></dt><dt><span class="section"><a href="#commands">Rivet Tcl Commands and Variables</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="#var">var</a></span><span class="refpurpose"> &#8212; get the value of a form variable.</span></dt><dt><span class="refentrytitle"><a href="#upload">upload</a></span><span class="refpurpose"> &#8212; handle a file uploaded by a client.</span></dt><dt><span class="refentrytitle"><a href="#load_response">load_response</a></span><span class="refpurpo se"> &#8212; load form variables into an array.</span></dt><dt><span class="refentrytitle"><a href="#load_headers">load_headers</a></span><span class="refpurpose"> &#8212; get client request's headers.</span></dt><dt><span class="refentrytitle"><a href="#load_cookies">load_cookies</a></span><span class="refpurpose"> &#8212; get any cookie variables sent by the client.</span></dt><dt><span class="refentrytitle"><a href="#load_env">load_env</a></span><span class="refpurpose"> &#8212; get the request's environment variables.</span></dt><dt><span class="refentrytitle"><a href="#env">env</a></span><span class="refpurpose"> &#8212; Loads a single "environmental variable" into a Tcl variable.</span></dt><dt><span class="refentrytitle"><a href="#include">include</a></span><span class="refpurpose"> &#8212; includes a file into the output stream without modification.</span></dt><dt><span class="refentrytitle"><a href="#parse">parse</a></span><span class="refpurpose"> &#8212; parses a Rivet template file.</span></dt><dt><span class="refentrytitle"><a href="#headers">headers</a></span><span class="refpurpose"> &#8212; set and parse HTTP headers.</span></dt><dt><span class="refentrytitle"><a href="#makeurl">makeurl</a></span><span class="refpurpose"> &#8212; construct url's based on hostname, port.</span></dt><dt><span class="refentrytitle"><a href="#cookie">cookie</a></span><span class="refpurpose"> &#8212; get and set cookies.</span></dt><dt><span class="refentrytitle"><a href="#clock_to_rfc">clock_to_rfc850_gmt</a></span><span class="refpurpose"> &#8212; create a rfc850 time from [clock seconds].</span></dt><dt><span cl ass="refentrytitle"><a href="#html">html</a></span><span class="refpurpose"> &#8212; construct html tagged text.</span></dt><dt><span class="refentrytitle"><a href="#incr0">incr0</a></span><span class="refpurpose"> &#8212; increment a variable or set it to 1 if nonexistant.</span></dt><dt><span class="refentrytitle"><a href="#parray">parray</a></span><span class="refpurpose"> &#8212; Tcl's <span style="font-family:monospace"><span class="command"><strong>parray</strong></span></span> with html formatting.</span></dt><dt><span class="refentrytitle"><a href="#abort_page">abort_page</a></span><span class="refpurpose"> &#8212; Stops outputing data to web page, similar in - purpose to PHP's <span style="font-family:monospace"><span class="command"><strong>die</strong></span></span> command.</span></dt><dt><span class="refentrytitle"><a href="#no_body">no_body</a></span><span class="refpurpose"> &#8212; Prevents Rivet from sending any content.</span></dt><dt><span class="refentrytitle"><a href="#escape_string">escape_string</a></span><span class="refpurpose"> &#8212; convert a string into escaped characters.</span></dt><dt><span class="refentrytitle"><a href="#escape_sgml_chars">escape_sgml_chars</a></span><span class="refpurpose"> &#8212; escape special SGML characters in a string.</span></dt><dt><span class="refentrytitle"><a href="#escape_shell_command">escape_shell_command</a></span><span class="refpurpose"> &#8212; escape shell metacharacters in a string.</span></dt><dt><span class="refentrytitle"><a href="#unescape_string">unescape_string</a></span><span class="refpurpose"> &#8212; unescape escaped characters in a string.</span></dt><dt ><span class="refentrytitle"><a href="#apache_log_error">apache_log_error</a></span><span class="refpurpose"> &#8212; log messages to the Apache error log</span></dt><dt><span class="refentrytitle"><a href="#apache_table">apache_table</a></span><span class="refpurpose"> &#8212; access and manipulate Apache tables in the request structure.</span></dt></dl></dd><dt><span class="section"><a href="#examples">Examples and Usage</a></span></dt><dt><span class="section"><a href="#tcl_packages">Rivet Tcl Packages</a></span></dt><dt><span class="section"><a href="#dio">DIO - Database Interface Objects</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="#dio_package">DIO</a></span><span class="refpurpose"> &#8212; Database Interface Objects</span></dt></dl></dd><dt><span class="section"><a href="#diodisplay">DIODisplay - Database Interface Objects Display Class</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="#diodisplay_package">DIODisplay</a></span><span c lass="refpurpose"> &#8212; Database Interface Objects Display Class</span></dt></dl></dd><dt><span class="section"><a href="#session_package">Session Package</a></span></dt><dd><dl><dt><span class="section"><a href="#id381026">Introduction</a></span></dt><dt><span class="section"><a href="#requirements">Requirements</a></span></dt><dt><span class="section"><a href="#id381362">Preparing To Use It</a></span></dt><dt><span class="section"><a href="#id381407">Example Usage</a></span></dt><dt><span class="section"><a href="#id381463">Using Sessions From Your Code</a></span></dt><dt><span class="section"><a href="#id381660">Session Configuration Options</a></span></dt><dt><span class="section"><a href="#id381888">Session Methods</a></span></dt><dt><span class="section"><a href="#id382114">Getting Additional Randomness From The Entropy File</a></span></dt></dl></dd><dt><span class="section"><a href="#form">Form: An HTML Form Fields Generation Utility</a></span></dt><dd><dl><dt><spa n class="section"><a href="#id382744">Introduction</a></span></dt><dt><span class="refentrytitle"><a href="#form_package">form</a></span><span class="refpurpose"> &#8212; a Tcl command object for creating HTML forms</span></dt></dl></dd><dt><span class="section"><a href="#calendar_package">Calendar Package</a></span></dt><dd><dl><dt><span class="section"><a href="#id387514">Introduction</a></span></dt><dt><span class="refentrytitle"><a href="#calendar">Calendar</a></span><span class="refpurpose"> &#8212; Utility class the builds and prints a calendar table</span></dt><dt><span class="refentrytitle"><a href="#xml_calendar">XmlCalendar</a></span><span class="refpurpose"> &#8212; Prints XML formatted calendar tables</span></dt><dt><span class="refentrytitle"><a href="#html_calendar">HtmlCalendar</a></span><span class="refpurpose"> &#8212; Concrete class derived from XmlCalendar</span></dt></dl></dd><dt><span class="section"><a href="#help">Resources - How to Get Help</a></span ></dt><dd><dl><dt><span class="section"><a href="#id389501">Mailing Lists</a></span></dt><dt><span class="section"><a href="#id389528">Newsgroup</a></span></dt><dt><span class="section"><a href="#websites">Web Sites</a></span></dt><dt><span class="section"><a href="#id389901">Bug Tracking System</a></span></dt><dt><span class="section"><a href="#id389917">IRC</a></span></dt><dt><span class="section"><a href="#id389928">Editing Rivet Template Files</a></span></dt></dl></dd><dt><span class="section"><a href="#internals">Rivet Internals</a></span></dt><dd><dl><dt><span class="section"><a href="#id389735">Initialization</a></span></dt><dt><span class="section"><a href="#id389686">RivetChan</a></span></dt><dt><span class="section"><a href="#id390255">The <span style="font-family:monospace"><span class="command"><strong>global</strong></span></span> Command</a></span></dt><dt><span class="section"><a href="#id390300">Page Parsing, Execution and Caching</a></span></dt><dt><span cla ss="section"><a href="#id390342">Debugging Rivet and Apache</a></span></dt></dl></dd><dt><span class="section"><a href="#upgrading">Upgrading from mod_dtcl or NeoWebScript</a></span></dt><dd><dl><dt><span class="section"><a href="#id390476">mod_dtcl</a></span></dt><dt><span class="section"><a href="#id390487">NeoWebScript</a></span></dt></dl></dd></dl></div><div class="list-of-examples"><p><b>List of Examples</b></p><dl><dt>1. <a href="#hello%20world">Hello World</a></dt><dt>2. <a href="#id369279">Generate a Table</a></dt><dt>3. <a href="#variable_access">Variable Access</a></dt><dt>4. <a href="#file_upload">File Upload</a></dt><dt>5. <a href="#file_download">File Download</a></dt><dt>6. <a href="#ajax_xml_messaging">XML Messages and Ajax</a></dt></dl></div><p style="width:90%"> - Document revision: $Revision: 959821 $, last modified 2010-07-20 21:49:04+02:00$ by $Author: mxmanghi $. + purpose to PHP's <span style="font-family:monospace"><span class="command"><strong>die</strong></span></span> command.</span></dt><dt><span class="refentrytitle"><a href="#no_body">no_body</a></span><span class="refpurpose"> &#8212; Prevents Rivet from sending any content.</span></dt><dt><span class="refentrytitle"><a href="#escape_string">escape_string</a></span><span class="refpurpose"> &#8212; convert a string into escaped characters.</span></dt><dt><span class="refentrytitle"><a href="#escape_sgml_chars">escape_sgml_chars</a></span><span class="refpurpose"> &#8212; escape special SGML characters in a string.</span></dt><dt><span class="refentrytitle"><a href="#escape_shell_command">escape_shell_command</a></span><span class="refpurpose"> &#8212; escape shell metacharacters in a string.</span></dt><dt><span class="refentrytitle"><a href="#unescape_string">unescape_string</a></span><span class="refpurpose"> &#8212; unescape escaped characters in a string.</span></dt><dt ><span class="refentrytitle"><a href="#apache_log_error">apache_log_error</a></span><span class="refpurpose"> &#8212; log messages to the Apache error log</span></dt><dt><span class="refentrytitle"><a href="#apache_table">apache_table</a></span><span class="refpurpose"> &#8212; access and manipulate Apache tables in the request structure.</span></dt></dl></dd><dt><span class="section"><a href="#examples">Examples and Usage</a></span></dt><dt><span class="section"><a href="#tcl_packages">Rivet Tcl Packages</a></span></dt><dt><span class="section"><a href="#dio">DIO - Database Interface Objects</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="#dio_package">DIO</a></span><span class="refpurpose"> &#8212; Database Interface Objects</span></dt></dl></dd><dt><span class="section"><a href="#diodisplay">DIODisplay - Database Interface Objects Display Class</a></span></dt><dd><dl><dt><span class="refentrytitle"><a href="#diodisplay_package">DIODisplay</a></span><span c lass="refpurpose"> &#8212; Database Interface Objects Display Class</span></dt></dl></dd><dt><span class="section"><a href="#session_package">Session Package</a></span></dt><dd><dl><dt><span class="section"><a href="#id368244">Introduction</a></span></dt><dt><span class="section"><a href="#requirements">Requirements</a></span></dt><dt><span class="section"><a href="#id368580">Preparing To Use It</a></span></dt><dt><span class="section"><a href="#id368625">Example Usage</a></span></dt><dt><span class="section"><a href="#id368682">Using Sessions From Your Code</a></span></dt><dt><span class="section"><a href="#id368879">Session Configuration Options</a></span></dt><dt><span class="section"><a href="#id369107">Session Methods</a></span></dt><dt><span class="section"><a href="#id369333">Getting Additional Randomness From The Entropy File</a></span></dt></dl></dd><dt><span class="section"><a href="#form">Form: An HTML Form Fields Generation Utility</a></span></dt><dd><dl><dt><spa n class="section"><a href="#id369962">Introduction</a></span></dt><dt><span class="refentrytitle"><a href="#form_package">form</a></span><span class="refpurpose"> &#8212; a Tcl command object for creating HTML forms</span></dt></dl></dd><dt><span class="section"><a href="#calendar_package">Calendar Package</a></span></dt><dd><dl><dt><span class="section"><a href="#id374724">Introduction</a></span></dt><dt><span class="refentrytitle"><a href="#calendar">Calendar</a></span><span class="refpurpose"> &#8212; Utility class the builds and prints a calendar table</span></dt><dt><span class="refentrytitle"><a href="#xml_calendar">XmlCalendar</a></span><span class="refpurpose"> &#8212; Prints XML formatted calendar tables</span></dt><dt><span class="refentrytitle"><a href="#html_calendar">HtmlCalendar</a></span><span class="refpurpose"> &#8212; Concrete class derived from XmlCalendar</span></dt></dl></dd><dt><span class="section"><a href="#help">Resources - How to Get Help</a></span ></dt><dd><dl><dt><span class="section"><a href="#id376709">Mailing Lists</a></span></dt><dt><span class="section"><a href="#id376736">Newsgroup</a></span></dt><dt><span class="section"><a href="#websites">Web Sites</a></span></dt><dt><span class="section"><a href="#id377108">Bug Tracking System</a></span></dt><dt><span class="section"><a href="#id377124">IRC</a></span></dt><dt><span class="section"><a href="#id377136">Editing Rivet Template Files</a></span></dt></dl></dd><dt><span class="section"><a href="#internals">Rivet Internals</a></span></dt><dd><dl><dt><span class="section"><a href="#id376943">Initialization</a></span></dt><dt><span class="section"><a href="#id376894">RivetChan</a></span></dt><dt><span class="section"><a href="#id377463">The <span style="font-family:monospace"><span class="command"><strong>global</strong></span></span> Command</a></span></dt><dt><span class="section"><a href="#id377508">Page Parsing, Execution and Caching</a></span></dt><dt><span cla ss="section"><a href="#id377549">Debugging Rivet and Apache</a></span></dt></dl></dd><dt><span class="section"><a href="#upgrading">Upgrading from mod_dtcl or NeoWebScript</a></span></dt><dd><dl><dt><span class="section"><a href="#id377683">mod_dtcl</a></span></dt><dt><span class="section"><a href="#id377695">NeoWebScript</a></span></dt></dl></dd></dl></div><div class="list-of-examples"><p><b>List of Examples</b></p><dl><dt>1. <a href="#hello%20world">Hello World</a></dt><dt>2. <a href="#id356411">Generate a Table</a></dt><dt>3. <a href="#variable_access">Variable Access</a></dt><dt>4. <a href="#file_upload">File Upload</a></dt><dt>5. <a href="#file_download">File Download</a></dt><dt>6. <a href="#ajax_xml_messaging">XML Messages and Ajax</a></dt><dt>7. <a href="#calendar">A Calendar Utility</a></dt></dl></div><p style="width:90%"> + Document revision: $Revision: 959821 $, last modified 2010-08-26 19:51:54+02:00$ by $Author: mxmanghi $. </p><div class="section" title="Introduction to Apache Rivet"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="introduction"></a>Introduction to Apache Rivet</h2></div></div></div><p style="width:90%"> Apache Rivet is a system for creating dynamic web content via a programming language integrated with Apache Web Server. It is @@ -267,7 +267,7 @@ AddType application/x-rivet-tcl .tcl</pr <span style="font-family:monospace"><span class="command"><strong>RivetServerConf</strong></span></span>, except that they are only valid for the directory where they are specified, and its subdirectories. - </div></div></dd></dl></div></div><div class="section" title="Rivet Tcl Commands and Variables"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="commands"></a>Rivet Tcl Commands and Variables</h2></div></div></div><div class="refentry" title="var"><a name="var"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>var, var_qs, var_post &#8212; get the value of a form variable.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">var</span> (<span style="font-family:monospace; font-weight: bold;">get</span> | <span style="font-family:monospace; font-weight: bold;">list</span> | <span style="font-family:monospace; font-weight: bold;">exists</span> | <span style="font-family:monospace; font-weight: bold;">n umber</span> | <span style="font-family:monospace; font-weight: bold;">all</span>)</div></div><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">var_qs</span> (<span style="font-family:monospace; font-weight: bold;">get</span> | <span style="font-family:monospace; font-weight: bold;">list</span> | <span style="font-family:monospace; font-weight: bold;">exists</span> | <span style="font-family:monospace; font-weight: bold;">number</span> | <span style="font-family:monospace; font-weight: bold;">all</span>)</div></div><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">var_post</span> (<span style="font-family:monospace; font-weight: bold;">get</span> | <span style="font-family:monos pace; font-weight: bold;">list</span> | <span style="font-family:monospace; font-weight: bold;">exists</span> | <span style="font-family:monospace; font-weight: bold;">number</span> | <span style="font-family:monospace; font-weight: bold;">all</span>)</div></div></div><div class="refsect1" title="Description"><a name="id363073"></a><h2>Description</h2><p style="width:90%"> + </div></div></dd></dl></div></div><div class="section" title="Rivet Tcl Commands and Variables"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="commands"></a>Rivet Tcl Commands and Variables</h2></div></div></div><div class="refentry" title="var"><a name="var"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>var, var_qs, var_post &#8212; get the value of a form variable.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">var</span> (<span style="font-family:monospace; font-weight: bold;">get</span> | <span style="font-family:monospace; font-weight: bold;">list</span> | <span style="font-family:monospace; font-weight: bold;">exists</span> | <span style="font-family:monospace; font-weight: bold;">n umber</span> | <span style="font-family:monospace; font-weight: bold;">all</span>)</div></div><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">var_qs</span> (<span style="font-family:monospace; font-weight: bold;">get</span> | <span style="font-family:monospace; font-weight: bold;">list</span> | <span style="font-family:monospace; font-weight: bold;">exists</span> | <span style="font-family:monospace; font-weight: bold;">number</span> | <span style="font-family:monospace; font-weight: bold;">all</span>)</div></div><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">var_post</span> (<span style="font-family:monospace; font-weight: bold;">get</span> | <span style="font-family:monos pace; font-weight: bold;">list</span> | <span style="font-family:monospace; font-weight: bold;">exists</span> | <span style="font-family:monospace; font-weight: bold;">number</span> | <span style="font-family:monospace; font-weight: bold;">all</span>)</div></div></div><div class="refsect1" title="Description"><a name="id350205"></a><h2>Description</h2><p style="width:90%"> The <span style="font-family:monospace"><span class="command"><strong>var</strong></span></span> command retrieves information about GET or POST variables sent to the script via client request. It treats both GET and POST variables the same, @@ -310,7 +310,7 @@ AddType application/x-rivet-tcl .tcl</pr Return a list of variable names and values. </div></div></dd></dl></div><p style="width:90%"> See <a class="xref" href="#variable_access" title="Example 3. Variable Access">Example 3, &#8220;Variable Access&#8221;</a>. - </p></div></div><div class="refentry" title="upload"><div class="refentry.separator"><hr></div><a name="upload"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>upload &#8212; handle a file uploaded by a client.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">upload</span> (<span style="font-family:monospace; font-weight: bold;">channel</span> | <span style="font-family:monospace; font-weight: bold;">save</span> | <span style="font-family:monospace; font-weight: bold;">data</span> | <span style="font-family:monospace; font-weight: bold;">exists</span> | <span style="font-family:monospace; font-weight: bold;">size</span> | <span style="font-family:monospace; font-weight: bold;">type</span> | <span style="font-family:monospace; font -weight: bold;">filename</span>)</div></div></div><div class="refsect1" title="Description"><a name="id363411"></a><h2>Description</h2><p style="width:90%">The upload command is for file upload manipulation. + </p></div></div><div class="refentry" title="upload"><div class="refentry.separator"><hr></div><a name="upload"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>upload &#8212; handle a file uploaded by a client.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">upload</span> (<span style="font-family:monospace; font-weight: bold;">channel</span> | <span style="font-family:monospace; font-weight: bold;">save</span> | <span style="font-family:monospace; font-weight: bold;">data</span> | <span style="font-family:monospace; font-weight: bold;">exists</span> | <span style="font-family:monospace; font-weight: bold;">size</span> | <span style="font-family:monospace; font-weight: bold;">type</span> | <span style="font-family:monospace; font -weight: bold;">filename</span>)</div></div></div><div class="refsect1" title="Description"><a name="id350543"></a><h2>Description</h2><p style="width:90%">The upload command is for file upload manipulation. See the relevant Apache Directives to further configure the behavior of this Rivet feature. </p><div class="variablelist"><dl><dt><span class="term"> @@ -364,7 +364,7 @@ AddType application/x-rivet-tcl .tcl</pr uploaded. </div></div></dd></dl></div><p style="width:90%"> See <a class="xref" href="#upload" title="upload">upload</a>. - </p></div></div><div class="refentry" title="load_response"><div class="refentry.separator"><hr></div><a name="load_response"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>load_response &#8212; load form variables into an array.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">load_response</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>arrayName</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id363839"></a><h2>Description</h2><p style="width:90%"> + </p></div></div><div class="refentry" title="load_response"><div class="refentry.separator"><hr></div><a name="load_response"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>load_response &#8212; load form variables into an array.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">load_response</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>arrayName</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id350971"></a><h2>Description</h2><p style="width:90%"> Load any form variables passed to this page into an array. If <span style="font-family:monospace"><span class="command"><strong>load_response</strong></span></span> is called without arguments the array response is created in @@ -381,15 +381,15 @@ AddType application/x-rivet-tcl .tcl</pr array results in adding more values to the array at every call. When needed it is left to the caller to empty the array between two subsequent calls. - </p></div></div><div class="refentry" title="load_headers"><div class="refentry.separator"><hr></div><a name="load_headers"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>load_headers &#8212; get client request's headers.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">load_headers</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>array_name</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id363911"></a><h2>Description</h2><p style="width:90%"> + </p></div></div><div class="refentry" title="load_headers"><div class="refentry.separator"><hr></div><a name="load_headers"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>load_headers &#8212; get client request's headers.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">load_headers</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>array_name</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id351043"></a><h2>Description</h2><p style="width:90%"> Load the headers that come from a client request into the provided array name, or use headers if no name is provided. - </p></div></div><div class="refentry" title="load_cookies"><div class="refentry.separator"><hr></div><a name="load_cookies"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>load_cookies &#8212; get any cookie variables sent by the client.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">load_cookies</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>array_name</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id363962"></a><h2>Description</h2></div><p style="width:90%"> + </p></div></div><div class="refentry" title="load_cookies"><div class="refentry.separator"><hr></div><a name="load_cookies"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>load_cookies &#8212; get any cookie variables sent by the client.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">load_cookies</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>array_name</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id351094"></a><h2>Description</h2></div><p style="width:90%"> Load the array of cookie variables into the specified array name. Uses array cookies by default. - </p></div><div class="refentry" title="load_env"><div class="refentry.separator"><hr></div><a name="load_env"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>load_env &#8212; get the request's environment variables.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">load_env</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>array_name</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id364012"></a><h2>Description</h2><p style="width:90%"> + </p></div><div class="refentry" title="load_env"><div class="refentry.separator"><hr></div><a name="load_env"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>load_env &#8212; get the request's environment variables.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">load_env</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>array_name</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id351144"></a><h2>Description</h2><p style="width:90%"> Load the array of environment variables into the specified array name. Uses array acf:4db6:5e0b:f386:43a5:35d7:718d:3c8brequestacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bnv by default. @@ -399,19 +399,19 @@ AddType application/x-rivet-tcl .tcl</pr for most uses - it's ok to access it as env. </p></div></div><div class="refentry" title="env"><div class="refentry.separator"><hr></div><a name="env"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>env &#8212; Loads a single - "environmental variable" into a Tcl variable.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">env</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>varName</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id364074"></a><h2>Description</h2><p style="width:90%"> + "environmental variable" into a Tcl variable.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">env</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>varName</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id351206"></a><h2>Description</h2><p style="width:90%"> If it is only necessary to load one environmental variable, this command may be used to avoid the overhead of loading and storing the entire array. - </p></div></div><div class="refentry" title="include"><div class="refentry.separator"><hr></div><a name="include"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>include &#8212; includes a file into the output stream without modification.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">include</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>filename_name</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id364122"></a><h2>Description</h2><p style="width:90%"> + </p></div></div><div class="refentry" title="include"><div class="refentry.separator"><hr></div><a name="include"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>include &#8212; includes a file into the output stream without modification.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">include</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>filename_name</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id351254"></a><h2>Description</h2><p style="width:90%"> Include a file without parsing it for processing tags &lt;? and ?&gt;. This is the best way to include an HTML file or any other static content. - </p></div></div><div class="refentry" title="parse"><div class="refentry.separator"><hr></div><a name="parse"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>parse &#8212; parses a Rivet template file.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">parse</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>filename</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id364172"></a><h2>Description</h2><p style="width:90%"> + </p></div></div><div class="refentry" title="parse"><div class="refentry.separator"><hr></div><a name="parse"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>parse &#8212; parses a Rivet template file.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">parse</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>filename</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id351304"></a><h2>Description</h2><p style="width:90%"> Like the Tcl <span style="font-family:monospace"><span class="command"><strong>source</strong></span></span> command, but also parses for Rivet &lt;? and ?&gt; processing tags. Using this command, you can use one .rvt file from another. - </p></div></div><div class="refentry" title="headers"><div class="refentry.separator"><hr></div><a name="headers"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>headers &#8212; set and parse HTTP headers.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">headers</span> (<span style="font-family:monospace; font-weight: bold;">set</span> | <span style="font-family:monospace; font-weight: bold;">redirect</span> | <span style="font-family:monospace; font-weight: bold;">add</span> | <span style="font-family:monospace; font-weight: bold;">type</span> | <span style="font-family:monospace; font-weight: bold;">numeric</span>)</div></div></div><div class="refsect1" title="Description"><a name="id364261"></a><h2>Description</h2><p style="wid th:90%"> + </p></div></div><div class="refentry" title="headers"><div class="refentry.separator"><hr></div><a name="headers"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>headers &#8212; set and parse HTTP headers.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">headers</span> (<span style="font-family:monospace; font-weight: bold;">set</span> | <span style="font-family:monospace; font-weight: bold;">redirect</span> | <span style="font-family:monospace; font-weight: bold;">add</span> | <span style="font-family:monospace; font-weight: bold;">type</span> | <span style="font-family:monospace; font-weight: bold;">numeric</span>)</div></div></div><div class="refsect1" title="Description"><a name="id351393"></a><h2>Description</h2><p style="wid th:90%"> The <span style="font-family:monospace"><span class="command"><strong>headers</strong></span></span> command is for setting and parsing HTTP headers. </p><div class="variablelist"><dl><dt><span class="term"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">headers</span> <span style="font-family:monospace; font-weight: bold;">set</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>headername</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>value</code></em></span>?</div></div> @@ -435,48 +435,48 @@ AddType application/x-rivet-tcl .tcl</pr </div></div></dd><dt><span class="term"> <div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">headers</span> <span style="font-family:monospace; font-weight: bold;">numeric</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>response code</code></em></span>?</div></div> </span></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div style="margin-bottom:1.5ex ; padding .5ex">Set a numeric response code, such as 200, 404 or 500. - </div></div></dd></dl></div></div></div><div class="refentry" title="makeurl"><div class="refentry.separator"><hr></div><a name="makeurl"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>makeurl &#8212; construct url's based on hostname, port.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">makeurl</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>filename</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id364535"></a><h2>Description</h2><p style="width:90%"> + </div></div></dd></dl></div></div></div><div class="refentry" title="makeurl"><div class="refentry.separator"><hr></div><a name="makeurl"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>makeurl &#8212; construct url's based on hostname, port.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">makeurl</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>filename</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id351667"></a><h2>Description</h2><p style="width:90%"> Create a self referencing URL from a filename. For example: </p><pre style="background:#ccc; margin: 2ex; margin-right: 10%; padding: 1ex; border: dashed black 1px ; white-space: pre; font-family: monospace; font-size: 90%;" class="programlisting">makeurl /tclp.gif</pre><p style="width:90%"> returns <code class="computeroutput">http://[hostname]:[port]/tclp.gif</code>. where hostname and port are the hostname and port of the server in question. - </p></div></div><div class="refentry" title="cookie"><div class="refentry.separator"><hr></div><a name="cookie"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>cookie &#8212; get and set cookies.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">cookie</span> ?<span style="font-family:monospace; font-weight: bold;">set</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>cookieName</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>?<span class="optional">cookiValue</span>?</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-days <em class="replaceable"><code>expireInDays</code></em></span>? ?<span style="font -family:monospace; font-weight: bold;">-hours <em class="replaceable"><code>expireInHours</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-minutes <em class="replaceable"><code>expireInMinutes</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-expires <em class="replaceable"><code>Wdy, DD-Mon-YYYY HH:MM:SS GMT</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-path <em class="replaceable"><code>uriPathCookieAppliesTo</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-secure <em class="replaceable"><code>1/0</code></em></span>?</div></div><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">cookie</span> ?<span style="font-family:monospace; font-weight: bold;">get</span>? ?<span style="font-family:monospace; font-weight: b old;"><em class="replaceable"><code>cookieName</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id364692"></a><h2>Description</h2><p style="width:90%"> + </p></div></div><div class="refentry" title="cookie"><div class="refentry.separator"><hr></div><a name="cookie"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>cookie &#8212; get and set cookies.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">cookie</span> ?<span style="font-family:monospace; font-weight: bold;">set</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>cookieName</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>?<span class="optional">cookiValue</span>?</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-days <em class="replaceable"><code>expireInDays</code></em></span>? ?<span style="font -family:monospace; font-weight: bold;">-hours <em class="replaceable"><code>expireInHours</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-minutes <em class="replaceable"><code>expireInMinutes</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-expires <em class="replaceable"><code>Wdy, DD-Mon-YYYY HH:MM:SS GMT</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-path <em class="replaceable"><code>uriPathCookieAppliesTo</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;">-secure <em class="replaceable"><code>1/0</code></em></span>?</div></div><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">cookie</span> ?<span style="font-family:monospace; font-weight: bold;">get</span>? ?<span style="font-family:monospace; font-weight: b old;"><em class="replaceable"><code>cookieName</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id351824"></a><h2>Description</h2><p style="width:90%"> <span style="font-family:monospace"><span class="command"><strong>cookie</strong></span></span> gets or sets a cookie. When you get a cookie, the command returns the value of the cookie, or an empty string if no cookie exists. - </p></div></div><div class="refentry" title="clock_to_rfc850_gmt"><div class="refentry.separator"><hr></div><a name="clock_to_rfc"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>clock_to_rfc850_gmt &#8212; create a rfc850 time from [clock seconds].</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">clock_to_rfc850_gmt</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>seconds</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id364745"></a><h2>Description</h2><p style="width:90%"> + </p></div></div><div class="refentry" title="clock_to_rfc850_gmt"><div class="refentry.separator"><hr></div><a name="clock_to_rfc"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>clock_to_rfc850_gmt &#8212; create a rfc850 time from [clock seconds].</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">clock_to_rfc850_gmt</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>seconds</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id351876"></a><h2>Description</h2><p style="width:90%"> Convert an integer-seconds-since-1970 click value to RFC850 format, with the additional requirement that it be GMT only. - </p></div></div><div class="refentry" title="html"><div class="refentry.separator"><hr></div><a name="html"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>html &#8212; construct html tagged text.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">html</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>string</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>arg</code></em></span>...?</div></div></div><div class="refsect1" title="Description"><a name="id364800"></a><h2>Description</h2><p style="width:90%"> + </p></div></div><div class="refentry" title="html"><div class="refentry.separator"><hr></div><a name="html"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>html &#8212; construct html tagged text.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">html</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>string</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>arg</code></em></span>...?</div></div></div><div class="refsect1" title="Description"><a name="id351932"></a><h2>Description</h2><p style="width:90%"> Print text with the added ability to pass HTML tags following the string. Example: </p><pre style="background:#ccc; margin: 2ex; margin-right: 10%; padding: 1ex; border: dashed black 1px ; white-space: pre; font-family: monospace; font-size: 90%;" class="programlisting">html "Test" b i</pre><p style="width:90%"> produces: <code class="computeroutput">&lt;b&gt;&lt;i&gt;Test&lt;/i&gt;&lt;/b&gt;</code> - </p></div></div><div class="refentry" title="incr0"><div class="refentry.separator"><hr></div><a name="incr0"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>incr0 &#8212; increment a variable or set it to 1 if nonexistant.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">incr0</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>varname</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>num</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id364866"></a><h2>Description</h2><p style="width:90%"> + </p></div></div><div class="refentry" title="incr0"><div class="refentry.separator"><hr></div><a name="incr0"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>incr0 &#8212; increment a variable or set it to 1 if nonexistant.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">incr0</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>varname</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>num</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id351998"></a><h2>Description</h2><p style="width:90%"> Increment a variable <em class="replaceable"><code>varname</code></em> by <em class="replaceable"><code>num</code></em>. If the variable doesn't exist, create it instead of returning an error. - </p></div></div><div class="refentry" title="parray"><div class="refentry.separator"><hr></div><a name="parray"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>parray &#8212; Tcl's <span style="font-family:monospace"><span class="command"><strong>parray</strong></span></span> with html formatting.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">parray</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>arrayName</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>?<span class="optional">pattern</span>?</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id364936"></a><h2>Description</h2><p style="wi dth:90%"> + </p></div></div><div class="refentry" title="parray"><div class="refentry.separator"><hr></div><a name="parray"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>parray &#8212; Tcl's <span style="font-family:monospace"><span class="command"><strong>parray</strong></span></span> with html formatting.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">parray</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>arrayName</code></em></span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>?<span class="optional">pattern</span>?</code></em></span>?</div></div></div><div class="refsect1" title="Description"><a name="id352068"></a><h2>Description</h2><p style="wi dth:90%"> An html version of the standard Tcl <span style="font-family:monospace"><span class="command"><strong>parray</strong></span></span> command. Displays the entire contents of an array in a sorted, nicely-formatted way. Mostly used for debugging purposes. </p></div></div><div class="refentry" title="abort_page"><div class="refentry.separator"><hr></div><a name="abort_page"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>abort_page &#8212; Stops outputing data to web page, similar in - purpose to PHP's <span style="font-family:monospace"><span class="command"><strong>die</strong></span></span> command.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">abort_page</span> </div></div></div><div class="refsect1" title="Description"><a name="id364987"></a><h2>Description</h2><p style="width:90%">This command flushes the + purpose to PHP's <span style="font-family:monospace"><span class="command"><strong>die</strong></span></span> command.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">abort_page</span> </div></div></div><div class="refsect1" title="Description"><a name="id352118"></a><h2>Description</h2><p style="width:90%">This command flushes the output buffer and stops the Tcl script from sending any more data to the client. A normal Tcl script might use the <span style="font-family:monospace"><span class="command"><strong>exit</strong></span></span> command, but that cannot be used in Rivet without actually exiting the apache child - process!</p></div></div><div class="refentry" title="no_body"><div class="refentry.separator"><hr></div><a name="no_body"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>no_body &#8212; Prevents Rivet from sending any content.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">no_body</span> </div></div></div><div class="refsect1" title="Description"><a name="id365032"></a><h2>Description</h2><p style="width:90%"> + process!</p></div></div><div class="refentry" title="no_body"><div class="refentry.separator"><hr></div><a name="no_body"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>no_body &#8212; Prevents Rivet from sending any content.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">no_body</span> </div></div></div><div class="refsect1" title="Description"><a name="id352164"></a><h2>Description</h2><p style="width:90%"> This command is useful for situations where it is necessary to only return HTTP headers and no actual content. For instance, when returning a 304 redirect. - </p></div></div><div class="refentry" title="escape_string"><div class="refentry.separator"><hr></div><a name="escape_string"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>escape_string &#8212; convert a string into escaped characters.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">escape_string</span> ?<span style="font-family:monospace; font-weight: bold;">string</span>?</div></div></div><div class="refsect1" title="Description"><a name="id365079"></a><h2>Description</h2><p style="width:90%"> + </p></div></div><div class="refentry" title="escape_string"><div class="refentry.separator"><hr></div><a name="escape_string"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>escape_string &#8212; convert a string into escaped characters.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">escape_string</span> ?<span style="font-family:monospace; font-weight: bold;">string</span>?</div></div></div><div class="refsect1" title="Description"><a name="id352211"></a><h2>Description</h2><p style="width:90%"> Scans through each character in the specified string looking for special characters, escaping them as needed, mapping special characters to a quoted hexadecimal equivalent, @@ -486,7 +486,7 @@ AddType application/x-rivet-tcl .tcl</pr part of a URL. </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="images/note.png"></td><th align="left">Note</th></tr><tr><td align="left" valign="top"> You must require the Rivet package in order to gain access to this command - </td></tr></table></div></div></div><div class="refentry" title="escape_sgml_chars"><div class="refentry.separator"><hr></div><a name="escape_sgml_chars"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>escape_sgml_chars &#8212; escape special SGML characters in a string.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">escape_sgml_chars</span> ?<span style="font-family:monospace; font-weight: bold;">string</span>?</div></div></div><div class="refsect1" title="Description"><a name="id365134"></a><h2>Description</h2><p style="width:90%"> + </td></tr></table></div></div></div><div class="refentry" title="escape_sgml_chars"><div class="refentry.separator"><hr></div><a name="escape_sgml_chars"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>escape_sgml_chars &#8212; escape special SGML characters in a string.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">escape_sgml_chars</span> ?<span style="font-family:monospace; font-weight: bold;">string</span>?</div></div></div><div class="refsect1" title="Description"><a name="id352266"></a><h2>Description</h2><p style="width:90%"> Scans through each character in the specified string looking for any special (with respect to SGML, and hence HTML) characters from the specified string, and returns the result. @@ -494,7 +494,7 @@ AddType application/x-rivet-tcl .tcl</pr bracket is escaped to the corrected ampersand gt symbol. </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="images/note.png"></td><th align="left">Note</th></tr><tr><td align="left" valign="top"> You must require the Rivet package in order to gain access to this command - </td></tr></table></div></div></div><div class="refentry" title="escape_shell_command"><div class="refentry.separator"><hr></div><a name="escape_shell_command"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>escape_shell_command &#8212; escape shell metacharacters in a string.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">escape_shell_command</span> ?<span style="font-family:monospace; font-weight: bold;">string</span>?</div></div></div><div class="refsect1" title="Description"><a name="id365186"></a><h2>Description</h2><p style="width:90%"> + </td></tr></table></div></div></div><div class="refentry" title="escape_shell_command"><div class="refentry.separator"><hr></div><a name="escape_shell_command"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>escape_shell_command &#8212; escape shell metacharacters in a string.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">escape_shell_command</span> ?<span style="font-family:monospace; font-weight: bold;">string</span>?</div></div></div><div class="refsect1" title="Description"><a name="id352318"></a><h2>Description</h2><p style="width:90%"> Scans through each character in the specified string looking for any shell metacharacters, such as asterisk, less than and greater than, parens, square brackets, curly brackets, angle @@ -505,7 +505,7 @@ AddType application/x-rivet-tcl .tcl</pr prepending it with a backslash, returning the result. </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="images/note.png"></td><th align="left">Note</th></tr><tr><td align="left" valign="top"> You must require the Rivet package in order to gain access to this command - </td></tr></table></div></div></div><div class="refentry" title="unescape_string"><div class="refentry.separator"><hr></div><a name="unescape_string"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>unescape_string &#8212; unescape escaped characters in a string.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">unescape_string</span> ?<span style="font-family:monospace; font-weight: bold;">string</span>?</div></div></div><div class="refsect1" title="Description"><a name="id365242"></a><h2>Description</h2><p style="width:90%"> + </td></tr></table></div></div></div><div class="refentry" title="unescape_string"><div class="refentry.separator"><hr></div><a name="unescape_string"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>unescape_string &#8212; unescape escaped characters in a string.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">unescape_string</span> ?<span style="font-family:monospace; font-weight: bold;">string</span>?</div></div></div><div class="refsect1" title="Description"><a name="id352374"></a><h2>Description</h2><p style="width:90%"> Scans through each character in the specified string looking for escaped character sequences (characters containing a percent sign and two hexadecimal characters, unescaping them @@ -516,7 +516,7 @@ AddType application/x-rivet-tcl .tcl</pr be part of a URL. </p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="images/note.png"></td><th align="left">Note</th></tr><tr><td align="left" valign="top"> You must require the Rivet package in order to gain access to this command - </td></tr></table></div></div></div><div class="refentry" title="apache_log_error"><div class="refentry.separator"><hr></div><a name="apache_log_error"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>apache_log_error &#8212; log messages to the Apache error log</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">apache_log_error</span> ?<span style="font-family:monospace; font-weight: bold;">priority</span>? ?<span style="font-family:monospace; font-weight: bold;">message</span>?</div></div></div><div class="refsect1" title="Description"><a name="id365305"></a><h2>Description</h2><p style="width:90%">The apache_log_error command logs a message to the + </td></tr></table></div></div></div><div class="refentry" title="apache_log_error"><div class="refentry.separator"><hr></div><a name="apache_log_error"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>apache_log_error &#8212; log messages to the Apache error log</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">apache_log_error</span> ?<span style="font-family:monospace; font-weight: bold;">priority</span>? ?<span style="font-family:monospace; font-weight: bold;">message</span>?</div></div></div><div class="refsect1" title="Description"><a name="id352437"></a><h2>Description</h2><p style="width:90%">The apache_log_error command logs a message to the Apache error log, whose name and location have been set by the ErrorLog directive. </p><p style="width:90%"> @@ -529,7 +529,7 @@ AddType application/x-rivet-tcl .tcl</pr crit, alert, or emerg. - </p></div></div><div class="refentry" title="apache_table"><div class="refentry.separator"><hr></div><a name="apache_table"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>apache_table &#8212; access and manipulate Apache tables in the request structure.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">apache_table</span> (<span style="font-family:monospace; font-weight: bold;">get</span> | <span style="font-family:monospace; font-weight: bold;">set</span> | <span style="font-family:monospace; font-weight: bold;">exists</span> | <span style="font-family:monospace; font-weight: bold;">unset</span> | <span style="font-family:monospace; font-weight: bold;">names</span> | <span style="font-family:monospace; font-weight: bold;">array_g et</span> | <span style="font-family:monospace; font-weight: bold;">clear</span>)</div></div></div><div class="refsect1" title="Description"><a name="id365435"></a><h2>Description</h2><p style="width:90%">The apache_table command is for accessing and manipulating + </p></div></div><div class="refentry" title="apache_table"><div class="refentry.separator"><hr></div><a name="apache_table"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>apache_table &#8212; access and manipulate Apache tables in the request structure.</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">apache_table</span> (<span style="font-family:monospace; font-weight: bold;">get</span> | <span style="font-family:monospace; font-weight: bold;">set</span> | <span style="font-family:monospace; font-weight: bold;">exists</span> | <span style="font-family:monospace; font-weight: bold;">unset</span> | <span style="font-family:monospace; font-weight: bold;">names</span> | <span style="font-family:monospace; font-weight: bold;">array_g et</span> | <span style="font-family:monospace; font-weight: bold;">clear</span>)</div></div></div><div class="refsect1" title="Description"><a name="id352566"></a><h2>Description</h2><p style="width:90%">The apache_table command is for accessing and manipulating Apache tables in the request structure. </p><p style="width:90%"> The table name must be one of @@ -609,9 +609,8 @@ puts "Hello World" ?&gt; </pre><p style="width:90%"> If you then access it with your browser, you should see a - blank page with the text "Hello World" (without the quotes) on - it. - </p></div></div><br class="example-break"><div class="example"><a name="id369279"></a><p class="title"><b>Example 2. Generate a Table</b></p><div class="example-contents"><p style="width:90%"> + blank page with the text "Hello World" (without the quotes) on it. + </p></div></div><br class="example-break"><div class="example"><a name="id356411"></a><p class="title"><b>Example 2. Generate a Table</b></p><div class="example-contents"><p style="width:90%"> In another simple example, we dynamically generate a table: </p><pre style="background:#ccc; margin: 2ex; margin-right: 10%; padding: 1ex; border: dashed black 1px ; white-space: pre; font-family: monospace; font-size: 90%;" class="programlisting">&lt;? puts "&lt;table&gt;\n" for {set i 1} { $i &lt;= 8 } {incr i} { @@ -924,7 +923,7 @@ if {[var exists pdfname]} { to find new innovative approaches to simple problems (e.g. Google tips that show up as you type in a query). A downside of this approach is the large number of complexities, subtleties and incompatibilities that still exist in the way different versions of popular browsers handle the DOM elements of a page. - </p><p style="width:90%"> + </p><p style="width:90%"> JavaScript can handle the communication between client and server through an instance of a specialized object. For quite a long time 2 approaches existed, the non-IE world (Firefox,Safari,Opera...) used the XMLHttpRequest class to create this object, whereas IE (before IE7) used the ActiveXObject class. @@ -1024,7 +1023,30 @@ if {[var exists load]} { by your apache server and pointing your browser to the rivetService.html page you should see a page with a drop-down list. Every time a different name is picked from the list a new query is sent and logged in the apache access.log file, even though the html is never reloaded. - </p></div></div><br class="example-break"></div><div class="section" title="Rivet Tcl Packages"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="tcl_packages"></a>Rivet Tcl Packages</h2></div></div></div><p style="width:90%"> + </p></div></div><br class="example-break"><div class="example"><a name="calendar"></a><p class="title"><b>Example 7. A Calendar Utility</b></p><div class="example-contents"><p style="width:90%"> + Rivet comes with a <span class="emphasis"><em>Calendar</em></span> package that provides classes for printing + calendar tables in various forms. + </p><p style="width:90%"> + The <span class="emphasis"><em>HtmlCalendar</em></span> class prints a calendar table in a similar form the Unix + program 'cal' does. Example: the following code + </p><pre style="background:#ccc; margin: 2ex; margin-right: 10%; padding: 1ex; border: dashed black 1px ; white-space: pre; font-family: monospace; font-size: 90%;" class="programlisting">package require Calendar + +proc acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bl_cell_attributes { day month year weekday } { + if {$weekday == 3} { + return [list class curr_wkday] + } +} + +set htmlc [HtmlCalendar #auto] +set html_txt [$htmlc emit -container {table class calendar} -current_weekday 3 \ + -cell_function cal_cell_attributes ] +puts $html_txt +</pre><p style="width:90%"> + + with some CSS styling would print + </p><p style="width:90%"> + </p><div><img src="calendar.png"></div><p style="width:90%"> + </p></div></div><br class="example-break"></div><div class="section" title="Rivet Tcl Packages"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="tcl_packages"></a>Rivet Tcl Packages</h2></div></div></div><p style="width:90%"> In addition to the core Apache module, Rivet provides a number of Tcl packages that include potentially useful code. </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><div style="margin-bottom:1.5ex ; padding .5ex"> @@ -1034,7 +1056,7 @@ if {[var exists load]} { </div></li><li class="listitem"><div style="margin-bottom:1.5ex ; padding .5ex">dio is a database abstraction layer.</div></li><li class="listitem"><div style="margin-bottom:1.5ex ; padding .5ex"> dtcl is a compatibility package for mod_dtcl applications. - </div></li><li class="listitem"><div style="margin-bottom:1.5ex ; padding .5ex">form - for creating forms.</div></li><li class="listitem"><div style="margin-bottom:1.5ex ; padding .5ex">rivet - some additional, useful routines.</div></li><li class="listitem"><div style="margin-bottom:1.5ex ; padding .5ex">tclrivet</div></li></ul></div></div><div class="section" title="DIO - Database Interface Objects"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="dio"></a>DIO - Database Interface Objects</h2></div></div></div><div class="refentry" title="DIO"><a name="dio_package"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>DIO &#8212; Database Interface Objects</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monos pace">acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bIOacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bhandle</span> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>interface</code></em></span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>? (<span style="font-family:monospace; font-weight: bold;">-option</span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>option</code></em></span> | <span style="font-family:monospace; font-weight: bold;">-option</span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>option</code></em></span> | <span style="font-family:monospace; font-weight: bold;">...</span>)</div></div></div><div class="refsect1" title="Description"><a name="id370308"></a><h2>Description</h2><p style="width:90%"> + </div></li><li class="listitem"><div style="margin-bottom:1.5ex ; padding .5ex">form - for creating forms.</div></li><li class="listitem"><div style="margin-bottom:1.5ex ; padding .5ex">rivet - some additional, useful routines.</div></li><li class="listitem"><div style="margin-bottom:1.5ex ; padding .5ex">tclrivet</div></li></ul></div></div><div class="section" title="DIO - Database Interface Objects"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="dio"></a>DIO - Database Interface Objects</h2></div></div></div><div class="refentry" title="DIO"><a name="dio_package"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>DIO &#8212; Database Interface Objects</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monos pace">acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bIOacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bhandle</span> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>interface</code></em></span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span>? (<span style="font-family:monospace; font-weight: bold;">-option</span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>option</code></em></span> | <span style="font-family:monospace; font-weight: bold;">-option</span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>option</code></em></span> | <span style="font-family:monospace; font-weight: bold;">...</span>)</div></div></div><div class="refsect1" title="Description"><a name="id357518"></a><h2>Description</h2><p style="width:90%"> <span style="font-family:monospace"><span class="command"><strong>DIO</strong></span></span> is designed to be a generic, object-oriented interface to SQL databases. Its main goal is to be as generic as possible, but since not all SQL @@ -1051,7 +1073,7 @@ if {[var exists load]} { specified, DIO creates an object of that name. If there is no <em class="replaceable"><code>objectName</code></em> given, DIO will automatically generate a unique object ID - </p></div><div class="refsect1" title="Options"><a name="id370351"></a><h2>Options</h2><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-host</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>hostname</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> + </p></div><div class="refsect1" title="Options"><a name="id357560"></a><h2>Options</h2><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-host</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>hostname</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> The hostname of the computer to connect to. If none is given, DIO assumes the local host. </div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-port</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>portNumber</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">The port number to connect to on hostname.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-user</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>username</code></em></span>?</div></div><div s tyle="margin-bottom:1.5ex ; padding .5ex">The username you wish to login to the server as.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-pass</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>password</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex">The password to login to the server with.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-db</span> ?<span style="font-family:monospace; font-weight: bold; "><em class="replaceable"><code>database</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> @@ -1071,7 +1093,7 @@ if {[var exists load]} { field specified as AUTO.</div></div></dd><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;">-sequence</span> ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>sequenceName</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> If DIO is automatically generating keys, it will use this sequence as a means to gain a unique number for - the stored key.</div></div></dd></dl></div></div><div class="refsect1" title="DIO Object Commands"><a name="id370662"></a><h2>DIO Object Commands</h2><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span> ?<span style="font-family:monospace; font-weight: bold;">array</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>request</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> + the stored key.</div></div></dd></dl></div></div><div class="refsect1" title="DIO Object Commands"><a name="id357872"></a><h2>DIO Object Commands</h2><div class="variablelist"><dl><dt></dt><dd><div style="padding:4 ; margin-top:3 ; margin-bottom:3 ; width:75%"><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "> <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span> ?<span style="font-family:monospace; font-weight: bold;">array</span>? ?<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>request</code></em></span>?</div></div><div style="margin-bottom:1.5ex ; padding .5ex"> Execute request as a SQL query and create an array from the first record found. The array is set with the fields of the table and the @@ -1307,11 +1329,11 @@ if {[var exists load]} { current result record in the result object. This variable should not really be accessed outside of the result object, but it's there if you want it. - </div></div></dd></dl></div></div></div></div><div class="section" title="DIODisplay - Database Interface Objects Display Class"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="diodisplay"></a>DIODisplay - Database Interface Objects Display Class</h2></div></div></div><div class="refentry" title="DIODisplay"><a name="diodisplay_package"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>DIODisplay &#8212; Database Interface Objects Display Class</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis" style="width:80%"><div style="background:#ccccff ; margin:1ex ; padding:.4ex; padding-left: 0.8ex; word-spacing:1ex "><span style="font-weight:bold ; font-family:monospace">DIODisplay</span> (<span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>objectName</code></em></span> | <span style="font-family:monospace; font-weight: bold;">#auto</sp an>) (<span style="font-family:monospace; font-weight: bold;">-option</span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>option</code></em></span> | <span style="font-family:monospace; font-weight: bold;">-option</span> | <span style="font-family:monospace; font-weight: bold;"><em class="replaceable"><code>option</code></em></span> | <span style="font-family:monospace; font-weight: bold;">...</span>)</div></div></div><div class="refsect1" title="Description"><a name="id376153"></a><h2>Description</h2><p style="width:90%"> [... 431 lines stripped ...] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Aug 27 10:51:46 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95310 invoked from network); 27 Aug 2010 10:51:46 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 27 Aug 2010 10:51:46 -0000 Received: (qmail 14406 invoked by uid 500); 27 Aug 2010 10:51:46 -0000 Delivered-To: [email protected] Received: (qmail 14357 invoked by uid 500); 27 Aug 2010 10:51:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rivet-dev.tcl.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 14350 invoked by uid 99); 27 Aug 2010 10:51:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Aug 2010 10:51:43 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO gaucho.cce.unipr.it) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Aug 2010 10:51:33 +0000 Received: from gaucho.cce.unipr.it (localhost [161.129.204.104]) by localhost (Postfix) with SMTP id AE922FD80CD for <[email protected]>; Fri, 27 Aug 2010 12:51:11 +0200 (CEST) Received: from corelli.biol.unipr.it (corelli.biol.unipr.it [161.129.204.104]) by gaucho.cce.unipr.it (Postfix) with ESMTP id 8FE65FD80B2 for <[email protected]>; Fri, 27 Aug 2010 12:51:11 +0200 (CEST) Received: from pachelbel.biol.unipr.it (pachelbel.biol.unipr.it [161.129.204.104]) by corelli.biol.unipr.it (Postfix) with ESMTP id B8CA27B7A9 for <[email protected]>; Fri, 27 Aug 2010 12:52:17 +0200 (CEST) Received: from [161.129.204.104] (localhost [161.129.204.104]) by pachelbel.biol.unipr.it (Postfix) with ESMTP id DA61D99239 for <[email protected]>; Fri, 27 Aug 2010 12:47:51 +0200 (CEST) Message-ID: <[email protected]> Date: Fri, 27 Aug 2010 12:47:51 +0200 From: Massimo Manghi <[email protected]> Organization: =?ISO-8859-1?Q?Universit=E0_di_Parma?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:161.129.204.104) Gecko/20100805 Icedove/3.0.6 MIME-Version: 1.0 To: Rivet_dev <[email protected]> Subject: removing automatically generated html from svn Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I think the subject says it all and I proposed this one already in the past but had no answer whatsoever. I don't see why the repository has to carry the html pages that actually are built from the xml docbook files. Every time a single bit of the xml source is modified a bunch of pages are marked as locally modified and pointlessly have to be commited. This doesn't affect the process of building Rivet, as the manual is not generated in the build process, and would require to move the graphics sourced in by the manual pages in a different directory and copy it back to the 'ignored' html dir when needed. the official tarball released will have a newly generated manual anyway, so only people compiling Rivet from trunk would be affected and build the manual on their own. -- Massimo --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Aug 27 11:00:42 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97741 invoked from network); 27 Aug 2010 11:00:42 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 27 Aug 2010 11:00:42 -0000 Received: (qmail 21252 invoked by uid 500); 27 Aug 2010 11:00:42 -0000 Delivered-To: [email protected] Received: (qmail 21199 invoked by uid 500); 27 Aug 2010 11:00:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rivet-dev.tcl.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 21192 invoked by uid 99); 27 Aug 2010 11:00:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Aug 2010 11:00:40 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO netcetera.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Aug 2010 11:00:33 +0000 Received: from zone-17.netcetera.ch (zone-17.netcetera.ch [161.129.204.104]) by netcetera.ch (8.14.1/8.14.1) with ESMTP id o7RB0D34009122 for <[email protected]>; Fri, 27 Aug 2010 13:00:13 +0200 (CEST) Received: from netcetera.ch (localhost [161.129.204.104]) by zone-17.netcetera.ch (8.14.4+Sun/8.14.1) with ESMTP id o7RB0BkH001581 for <[email protected]>; Fri, 27 Aug 2010 13:00:11 +0200 (CEST) Received: (from ronnie@localhost) by netcetera.ch (8.14.4+Sun/8.14.1/Submit) id o7RB0BcO001580 for [email protected]; Fri, 27 Aug 2010 13:00:11 +0200 (CEST) X-Authentication-Warning: zone-17.netcetera.ch: ronnie set sender to [email protected] using -f Date: Fri, 27 Aug 2010 13:00:11 +0200 From: Ronnie Brunner <[email protected]> To: Rivet_dev <[email protected]> Subject: Re: removing automatically generated html from svn Message-ID: <[email protected]> References: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <[email protected]> User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Checked: Checked by ClamAV on apache.org > the official tarball released will have a newly generated manual anyway, > so only people compiling Rivet from trunk would be affected and build > the manual on their own. (We do the same in Websh: only quickref.xml and quickref.xsl are actually in the repository. The resulting html is built locally and added as a separate release artifact. Was never a problem so far.) +1 for removing the html (if that helps to decide ;-) Ronnie -- Ronnie Brunner | [email protected] | phone (618)943-4611 | fax (618)943-4611 | Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 30 12:34:17 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36660 invoked from network); 30 Aug 2010 12:34:17 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 30 Aug 2010 12:34:17 -0000 Received: (qmail 59201 invoked by uid 500); 30 Aug 2010 12:34:17 -0000 Delivered-To: [email protected] Received: (qmail 59183 invoked by uid 500); 30 Aug 2010 12:34:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rivet-cvs.tcl.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 59176 invoked by uid 99); 30 Aug 2010 12:34:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Aug 2010 12:34:15 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Aug 2010 12:34:14 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 15406238890A; Mon, 30 Aug 2010 12:32:57 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r990784 - in /tcl/rivet/trunk/doc/images: ./ Rivetlogo_small.png blank.png calendar.png caution.png draft.png home.png important.png next.png note.png prev.png table.png tip.png toc-blank.png toc-minus.png toc-plus.png up.png warning.png Date: Mon, 30 Aug 2010 12:32:57 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: mxmanghi Date: Mon Aug 30 12:32:56 2010 New Revision: 990784 URL: http://svn.apache.org/viewvc?rev=990784&view=rev Log: 2010-08-30 Massimo Manghi <[email protected]> * doc/images: Graphics displayed in the manual is copied in this directory. This is a first step in the transition to a manual generation procedure that should achieve a cleaner repository structure Added: tcl/rivet/trunk/doc/images/ tcl/rivet/trunk/doc/images/Rivetlogo_small.png (with props) tcl/rivet/trunk/doc/images/blank.png (with props) tcl/rivet/trunk/doc/images/calendar.png (with props) tcl/rivet/trunk/doc/images/caution.png (with props) tcl/rivet/trunk/doc/images/draft.png (with props) tcl/rivet/trunk/doc/images/home.png (with props) tcl/rivet/trunk/doc/images/important.png (with props) tcl/rivet/trunk/doc/images/next.png (with props) tcl/rivet/trunk/doc/images/note.png (with props) tcl/rivet/trunk/doc/images/prev.png (with props) tcl/rivet/trunk/doc/images/table.png (with props) tcl/rivet/trunk/doc/images/tip.png (with props) tcl/rivet/trunk/doc/images/toc-blank.png (with props) tcl/rivet/trunk/doc/images/toc-minus.png (with props) tcl/rivet/trunk/doc/images/toc-plus.png (with props) tcl/rivet/trunk/doc/images/up.png (with props) tcl/rivet/trunk/doc/images/warning.png (with props) Added: tcl/rivet/trunk/doc/images/Rivetlogo_small.png URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/images/Rivetlogo_small.png?rev=990784&view=auto ============================================================================== Binary file - no diff available. Propchange: tcl/rivet/trunk/doc/images/Rivetlogo_small.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: tcl/rivet/trunk/doc/images/blank.png URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/images/blank.png?rev=990784&view=auto ============================================================================== Binary file - no diff available. Propchange: tcl/rivet/trunk/doc/images/blank.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: tcl/rivet/trunk/doc/images/calendar.png URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/images/calendar.png?rev=990784&view=auto ============================================================================== Binary file - no diff available. Propchange: tcl/rivet/trunk/doc/images/calendar.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: tcl/rivet/trunk/doc/images/caution.png URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/images/caution.png?rev=990784&view=auto ============================================================================== Binary file - no diff available. Propchange: tcl/rivet/trunk/doc/images/caution.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: tcl/rivet/trunk/doc/images/draft.png URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/images/draft.png?rev=990784&view=auto ============================================================================== Binary file - no diff available. Propchange: tcl/rivet/trunk/doc/images/draft.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: tcl/rivet/trunk/doc/images/home.png URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/images/home.png?rev=990784&view=auto ============================================================================== Binary file - no diff available. Propchange: tcl/rivet/trunk/doc/images/home.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: tcl/rivet/trunk/doc/images/important.png URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/images/important.png?rev=990784&view=auto ============================================================================== Binary file - no diff available. Propchange: tcl/rivet/trunk/doc/images/important.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: tcl/rivet/trunk/doc/images/next.png URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/images/next.png?rev=990784&view=auto ============================================================================== Binary file - no diff available. Propchange: tcl/rivet/trunk/doc/images/next.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: tcl/rivet/trunk/doc/images/note.png URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/images/note.png?rev=990784&view=auto ============================================================================== Binary file - no diff available. Propchange: tcl/rivet/trunk/doc/images/note.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: tcl/rivet/trunk/doc/images/prev.png URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/images/prev.png?rev=990784&view=auto ============================================================================== Binary file - no diff available. Propchange: tcl/rivet/trunk/doc/images/prev.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: tcl/rivet/trunk/doc/images/table.png URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/images/table.png?rev=990784&view=auto ============================================================================== Binary file - no diff available. Propchange: tcl/rivet/trunk/doc/images/table.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: tcl/rivet/trunk/doc/images/tip.png URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/images/tip.png?rev=990784&view=auto ============================================================================== Binary file - no diff available. Propchange: tcl/rivet/trunk/doc/images/tip.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: tcl/rivet/trunk/doc/images/toc-blank.png URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/images/toc-blank.png?rev=990784&view=auto ============================================================================== Binary file - no diff available. Propchange: tcl/rivet/trunk/doc/images/toc-blank.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: tcl/rivet/trunk/doc/images/toc-minus.png URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/images/toc-minus.png?rev=990784&view=auto ============================================================================== Binary file - no diff available. Propchange: tcl/rivet/trunk/doc/images/toc-minus.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: tcl/rivet/trunk/doc/images/toc-plus.png URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/images/toc-plus.png?rev=990784&view=auto ============================================================================== Binary file - no diff available. Propchange: tcl/rivet/trunk/doc/images/toc-plus.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: tcl/rivet/trunk/doc/images/up.png URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/images/up.png?rev=990784&view=auto ============================================================================== Binary file - no diff available. Propchange: tcl/rivet/trunk/doc/images/up.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: tcl/rivet/trunk/doc/images/warning.png URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/images/warning.png?rev=990784&view=auto ============================================================================== Binary file - no diff available. Propchange: tcl/rivet/trunk/doc/images/warning.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 30 12:41:19 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38808 invoked from network); 30 Aug 2010 12:41:19 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 30 Aug 2010 12:41:19 -0000 Received: (qmail 69454 invoked by uid 500); 30 Aug 2010 12:41:18 -0000 Delivered-To: [email protected] Received: (qmail 69411 invoked by uid 500); 30 Aug 2010 12:41:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rivet-dev.tcl.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 69404 invoked by uid 99); 30 Aug 2010 12:41:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Aug 2010 12:41:17 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-vw0-f46.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Aug 2010 12:41:11 +0000 Received: by vws3 with SMTP id 3so5970863vws.33 for <[email protected]>; Mon, 30 Aug 2010 05:40:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=tZeTKY1TX3mi74z+a5Hqkahix5GMzEVQT3FIoBeE+tA=; b=VveaSn6J5HZNo/s4x1wUUmMKNgvcTFlh53WzSgXFyfk5ZSVxdbk1MavEZ7yPne16qW GJg+C6jZFCncIOSWhRLb4MWg5EzxmTv+PHJY0NQx6kKHSv0tef1YoLQ/9FdtYxaQDF5S DakpbZLBRQcvoebl+HUwJ3aEk1IURHe0OsdxY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=h9WGTHudyHzNNbpUmEYrw9l+crOA79sbsLR0fODeHQ0VZrcdh0GNqN+HRvPpGrWXlt b3ZZjMdrmH1speE+JxKI2+09dGArZtE7bo0PKGjibUX1r5XJjRDOEcCF1mANHB/zx276 CT/PGTGNlmgDXoIwdxWRu2oa5Kv/gkhODE884= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id w14mr3107276vcy.17.1283172050263; Mon, 30 Aug 2010 05:40:50 -0700 (PDT) Sender: [email protected] Received: by 161.129.204.104 with HTTP; Mon, 30 Aug 2010 05:40:50 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Mon, 30 Aug 2010 14:40:50 +0200 X-Google-Sender-Auth: m3C52rjWr4kLhPYXyx1GDHoVAow Message-ID: <[email protected]> Subject: Re: removing automatically generated html from svn From: David Welton <[email protected]> To: Rivet_dev <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 >> the official tarball released will have a newly generated manual anyway, >> so only people compiling Rivet from trunk would be affected and build >> the manual on their own. The reason why I included them was because it's not so obvious how to build the manual from the svn sources, and I don't even know if it's possible on, say, a windows machine. I guess if we do regular releases, it makes this less important though. Go ahead and remove it if it makes your life easier. -- David N. Welton http://www.welton.it/davidw/ http://www.dedasys.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
From [email protected] Mon Jan 03 23:22:09 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10875 invoked from network); 3 Jan 2011 23:22:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Jan 2011 23:22:09 -0000 Received: (qmail 40484 invoked by uid 500); 3 Jan 2011 23:22:09 -0000 Delivered-To: [email protected] Received: (qmail 40363 invoked by uid 500); 3 Jan 2011 23:22:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 40356 invoked by uid 99); 3 Jan 2011 23:22:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jan 2011 23:22:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jan 2011 23:22:07 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p03NLkPm021907 for <[email protected]>; Mon, 3 Jan 2011 23:21:46 GMT Message-ID: <22943833.120451294096906442.JavaMail.jira@thor> Date: Mon, 3 Jan 2011 18:21:46 -0500 (EST) From: "Volker Kleinschmidt (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (XERCESJ-1491) InternalError when parsing invalid XML In-Reply-To: <21010789.78801293770925471.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/XERCESJ-1491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12977008#action_12977008 ] Volker Kleinschmidt commented on XERCESJ-1491: ---------------------------------------------- Oops, sorry. Certainly right. > InternalError when parsing invalid XML > -------------------------------------- > > Key: XERCESJ-1491 > URL: https://issues.apache.org/jira/browse/XERCESJ-1491 > Project: Xerces2-J > Issue Type: Bug > Affects Versions: 2.9.1 > Environment: XercesJ 2.9.1, JDK6, at least on Linux and Solaris > Reporter: Volker Kleinschmidt > > We're getting java.lang.InternalError from scanDocument() instead of some sensible exception when trying to parse XML that contains unclosed tags - this should be handled more gracefully. > {noformat} > processing event: -1 - java.lang.InternalError: processing event: -1 > at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:507) > at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) > at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) > at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) > at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:235) > at blackboard.xml.NonValidatingDOMParser.parse(NonValidatingDOMParser.java:115) > {noformat} > Note how the <handle>, <create> and <remove> tags are not terminated, i.e it should read <create .... />. > Clearly the document fragment is invalid XML, but that shouldn't cause an InternalError under any circumstance! > Example of a malformatted document fragment triggering this behavior: > {noformat} > <!-- Custom content types defined by this extension --> > <content-handlers> > <content-handler> > <name value="Document Package" /> > <handle value="resource/x-jjc-docset"> > <http-actions> > <create value="modules/create.jsp"> > <remove value="modules/remove.jsp"> > </http-actions> > <icons> > <!--toolbar value="/images/add_ch1.gif"--> > <!--listitem value="assignment_on.gif"--> > </icons> > </content-handler> > </content-handlers> > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jan 07 00:36:10 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33196 invoked from network); 7 Jan 2011 00:36:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Jan 2011 00:36:10 -0000 Received: (qmail 16047 invoked by uid 500); 7 Jan 2011 00:36:10 -0000 Delivered-To: [email protected] Received: (qmail 15958 invoked by uid 500); 7 Jan 2011 00:36:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 15951 invoked by uid 500); 7 Jan 2011 00:36:09 -0000 Delivered-To: [email protected] Received: (qmail 15948 invoked by uid 99); 7 Jan 2011 00:36:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jan 2011 00:36:09 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO msa101lp.auone-net.jp) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jan 2011 00:36:08 +0000 Received: from megginson.com (ZK061083.ppp.dion.ne.jp [161.129.204.104]) by msa101lp.auone-net.jp (au one net msa) with ESMTP id 5A06F318036 for <[email protected]>; Fri, 7 Jan 2011 09:35:46 +0900 (JST) From: [email protected] To: [email protected] Subject: Mail System Error - Returned Mail Date: Fri, 7 Jan 2011 09:34:41 +0900 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0000_A0941A6A.5EE770C0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-Id: <[email protected]> ------=_NextPart_000_0000_A0941A6A.5EE770C0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit >ãDúc͍¿QúII§eH¬H4®•1µÍÏ þp»t VE[‡,¢×¼£ßo÷–\fîÔdmáÈÛÒã^(m‰ìQÁû¯)M©ƒ¹…]âN<Y‹Z¡Ö`Ö)ö—¹n3j­}"–G~›ÄËÌ.*•§«.SÕÍCšàÄHò"‰9}TŠjV‰Á %æoC†ˆ¦ò»xйº—Z¡VB«…ÈǘIEITó0¬dÙ&¾a‹Q¹»?ÃHE†_Ÿôi½—®,~éí¶*VE"æB?n?–jôóAè¬õ¬ÄT(4S.I…•7:ìð)273½"J›¸{ ©ÁÉͣ憙œ±¯oëx¼CêzÄÂú÷½#% ©Þ]ÀQxë7ŠòjfÈZF$nõbÎgP#8^!HÛCm"ê1•vH70WÄsmo¢5ãànÃd)~¤ü¢ßAXe²¸˜.)Õ*HÁl"±)"˜iaW–¤>2û Jê™ËxbqüÆý›ßÌP&Hþ¯Ê÷žîýqði›4'pä_‡.²{‡xÁö$sèè£F'÷Z÷K垔í§_S±™œå¹ÄÓ©ŸïJž-]Ýebï Xoù ±VŠfÜ.ö•uÚë¾ûÄQ,`!´¤'Æ"Âj6©Ê)¿,ê:҇¨A'VOVÈÖká—b[`üß:nZ¹ŒrE§Gƒ'}ñôQ}©O£s(ü{àRéÇl¹gÕýb" #ÝöR«H»ÚõÈMjí[n*ñ©·›x§VÝj%%¢o"zÚ ÂÊ0`ûîOÕĄ®Kè˜ú¡ÞÍÑáW!z¢6u`r*'xïNՉXÖ«}9{-¬:tB®­h×ü·â Nz…Úä&${ÜËGËHãg®ŸÀBˆÐ)̐tÕ´ùü·œÍX/êž{äÞ¼ãóD7-%K'«²Î [ú6o/ì3ìûrÛ7ÒcÜñß$N'• ¿ N—&~T³ëNë~ÊVÄÍãð¤,2Ùa›_£Ù¾r4–‡Úø¬lª†""©Ìç;6¸š°_8nx{ ÔHàƒÌÉ87D ñ¸,ò̳.ûÍ4l`-àsjs\ÀVO¤J½ÆHڑ𻯅<ìûû"ãÚNáñ&`§‡Ô°XB"´hgµ¯Õ ¶¹èŽ êï½1ß՘lîøh±.iR©¬—^[Á†J!`J(̪¾R%›ŠeÕoa xí1‡º_\"Ùœòå,¼ÔoA®Y7W³ËÚáÞçšî¹_ºÖ§ì<Jyк»ƒã.]ÁnæZÒç'.öw F_DψO¤·KN4µ°ã"cå©Ú¦"Ûá²SS±Äàc^û ܅œnå[ª1Kf "ÚӐi\ca™Ó1ŒÄxÊ*SMxæ',¨š-Bêd:?v'±Ø¥øÆt÷-ÄI*–WA1ÖaÀ. 3—³ß½Ÿ¥)1]cXWE¾u޳øћ‡÷~$§ÃÑ6{†Êí8uû•n±·eL|Lç"]j¤'\N›ƒô¿Þ[º«¦'ÏiXÖ{à6š BïDúeúЅëbҜL[ÝAƒ!«0³'CènMüƒ«äe7ç1 >"™‡ýWá•<pÖ±6ùëõ5*Jò»°²Ÿš"è9Ù½ÖøtE½kçkº;‹ì*÷*fãF~Êhù£uŸÉЭTÍÖ̲‰Z¡ø5Uíù<"æœÀ8·]6Bm<Š,GŠûJÈÐÏz‹ì%¦÷ t6îíHF)|÷pS ëyë]¤ Zöö4Å)‹]¡"š˜%85'`Œ… ¨²úErQ_C5 ŎâpkΚQöXvªÄWäËÚiEóÃ}¶XKhF3×Ïüw×%°su_¢Ûa¸üXæͯzçÌ՚k4øµY¯^ä{lù±‹ü¦G:7#ösვD8²E¶ŒK{á›þ]|EïØÛßâAEPVÚ4 mNe©á÷oGîýŒ[,¶ÎM.]ÏwÝ\Mµ)œø'L¦ôa˜†'cD[£¬´C;ârƒnBIv´ Ã6Ä,-ߦ™Yl"¼o þ °¾ëçî?\1—Ïã'[gxõ,«®`a"Z£vêœ&u(¹Šê®Ÿ(Òé!™§Sr¶68B¾´jé´8½àß>‰DJ&UÇØ<sH97d³™-m'ÏǶH¡#x9Ä 2c'²~'^Päw8$˜¤G•ðõξiõšëÇ/uÓÝm÷bãe‡:zÀ .´SŸW"Wgý ¡‰–¸¾ÈðZyӇ`E7F '4på¼?ŽÊ1æžÊQcŒ0MPaœ—Åñ$7¡•}IžÀ'xøã>Ɍ'§-,LhÐp'nÄ,LÀ*•4N¼Ç×ÞïP<rÇè™î Àù9¾'Ž<Æ&‰s$Úǖ‰ìeâ‹øÊ!µ a£% ü'úœê˜Æu´&Ó_êóøúîJې âìÒyݽ7w«átO)ÔI0­¢»eE7ûʃŸŒÚžÓW[ âY¹T ¿[3Mx‡Å¤*¼4¶>5±:P¼4¥1÷úñRzï'›z'p×_¤V¶Åöf¯y˜2ãþÓòyïòJç¸30ž×¡ ÄòÌ·¬Ç °.×)è!Æê¢Ì ÞSz«-Xµ'ke/ƈwRß78&‹ù/®Ñê꞉æS1ȣȷU)š,V';_D»°<G2×SVÔB Î*æp-MEƽߚAk8šSñ"ŸØÚh\ê%¹â‰½W†h%x|̯ïU¡§ÊÔÉg—QÈۍØ;â´j×tF·˜Íá÷þ‡b"¸ÞÒ1A"å,kÌêunĦ*¢Ínyˌ¦ û<•'ŒÄ1ŒÅÛ š·Äñ—¥O'¥®–­e…ã›Tß t‰QQöÙÑe (n3}Àp* çé¾g"'¿÷w.×Y¶\MRú¢…ˆm:*¹nANzk³8"—|ùPջ߂T‡4í÷ºÛ\•V8" ƒTkpàØßV{>×3& Üm£Œ&9L$E!£¸l%/ègL©5ƒü؝h»É*Á0'Åjƒ¡ÓlÄt"‡W0G¥qvúWÖÀ±âåÕgM»É– ÷³w?óßñ à²3Z¶R¶ë±D`môÌ¡ÀY…Ú X êÛáºi'–!Ë[ö…R‡fÏ1?º…Dùñ¾;f'"ÁBE/ìݐ:%nÄôR)þi²Ë۟£iÃá áìá^òbÚ/ºè'ä¹yÒEÈ5¸ ------=_NextPart_000_0000_A0941A6A.5EE770C0 Content-Type: application/octet-stream; name="letter.zip" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="letter.zip" UEsDBAoAAAAAAFQ EJz7S7TYUwHAAAMBwAACeAAAAbGV0dGVyLmh0bWwgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgI C AgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA gICAg ICAgICAgICAgICAgIC5waWZNWpAAAwAAAAQAAAD//wAAuAAAAAAAAABAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAA AAAAAAAAADYAAAADh+6DgC0Cc0huAFM zSFUaGlzIHByb2dyYW0gY2Fubm90 IGJlIHJ1biBpbiBET1MgbW9kZS4NDQokAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAA AAAAAABQRQAATAEDAAAAAAAAAAAAAAAAAOAADwELAQcAAGAAAAAQAAAAg AAAAO0AAACQAAAA8AAA AABQAAAQAAAAAgAABAAAAAAAAAAEAAAAAAAAAAAAAQAAEAAAAAAAAAIAAAAAABAAABAAAAAAEAAA EAAAAAAAABAAAAAAAAAAAAAAABT1AAAwAQAAAPAAABQFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFVQWDAAAAAAAIAAAAAQAAAAAAAAAAQAAAAAAAAAAAAA AAAAAIAAAOBVUFgx AAAAAABgAAAAkAAAAGAAAAAEAAAAAAAAAAAAAAAAAABAAAD gLnJzcmMAAAAA EAAAAPAAAAAIAAAAZAAAAAAAAAAAAAAAAAAAQAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAA AAAAAAAAAAAAAAAAA AAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAA AAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAxLjI0AFVQWCEMCQIJGfuHSJGmc bUS xgAA+1wAAACeAAAmAQB3/4eokABrZXJuZWwzMi5k/5vn32xsNXJvb3RcSUVGcmFtZQBBVFb+//xI X05vdGVyY3RybF9yZW53bmQP/7f/ /3x5X+7Pud3eZzuEFYDUAB44CbKf+xUAjQYYeLb///8PQEAD AB0r9EGBT838/9clawgA AUA8j1MBNkD/bv/fVPH9pzO7vZpBFARXhQ4GQF0QABgEL7fb3UAIHwAt CgN5KAekLIrcApe//OUAvg4vGwAAvwanOAQAhS8FE7e3//IBABVdjl/OC0RlYwCjdgBPnwBT3b77 22VwXnVnAEp1bANuAE1heQ9wcmuX7c0HA 0ZlYhNhU2En3XO37X9pAFRodQBXZWQHdd5Nbxcvso9t vyVzLCAldQJzBS4ydToE88J7Ww5jBgM9SW50b6217XRHAkM6CHpIU3Rh+xP+CChkbnNhcGlVaXBo bHAN C9uyJRtEUW5yOUE1/K1rCztOAndvcmtQYWxz3/bd/h9tYWlsHi1kC3M4bQdhtjk39mJ1c2Ub c3QXFnAku926uxdjY2+yAN5pdgt5Yxt2bCt8dGlmaQsuZ0tsaS+a 4WO3OHJ2S3VibWndttqtHdsr aQ9wcHgQYWQWhh/h5kJDYWfjdGhlLmIfz7fd+2dvbGQtUUljYSB mZXN0bpWP1hwiItIvZgVj7M4P S29mdGNpJ73Wua0/U2evDXmhA4VWaM+1JxErFILet/e9eQZLaCgHYm9keQ+tfeX2Fllpbi93CEo8 5tyxcgd6aXEManNmLt3W2jN5T1eiK3K6cva2Q2sguCsIbge/Hdr74W9nI2dudQ4HWIu9Q+GDqRYH lOuO1n5vch/LLmOf/94KERYOfB5kzHkJl2bnLkBkb25leHxf2y20e9hvGHlhBqxzm/lha36ca0d u ZGEVdLmLFWJx1Y4HZG4uHWKlwp9mxce9jfywvi7neW1hduRfLSFlW+yLLwdAV5MgAJAHygqmKAAp tX6cKiAClxhQQJBBPtMHcA9saGZAhmRkYAOGpBmQXARUTECGZEhE PBlkkGYFNDA opBuQISAGvxjC AvYFHxAPAGTbwKYCCwwBAGYpbLASAQA9T1W2yB8AJm5ilqXDGvYHO3wudDCf6Z4UXwdfCyj3jlH6 uiCl/19hGhdtZHk2DykuLkAOnNm5BoonA0AALfn///QwNSouKgBVU0VSUFJPRklMRQA6XHA26zTT DQ AtcpBu2acUJh4HCPwlNM0gzRn07BTkN8ggg9zQxCdN0zRNCrwAuDK0DTLIILCsqALSdIMHpDcF oKTpBvsJfAdQTzcse7Of GQjf6CSnL4+Qwc7y2CQMB8jPnh1kwLgkZ7Qkb6wkICffJQofJXw8e/Ls TCT3aCBQHW/YGcFWiWXPl+Agt7/1zboEeyR0fPMgJFR9LHsMe00HrWbgfG19HAn5VcTg9mBtfKQC fSCM2AIODJ1A1HwNMdYaDGkYHUAgiwKXKC7ZZCCUvIM /aG0gJEErcm0gYu1vDZpYTSl7OnwsfXwB bYPfAqJ0FCBrVHcllWgdfBl82iAshl9776AQdH17LnwqKQB9ba212w0KAXtXHyeILmQ2E0eiPNB8 Zl8Fcp9ord0MZWkXdQgzc33bXbt7aV58WX0f3GV7LUFtbZtEe9AGkxx7IbDd4BZCYmVMfHcIfW6t tfcFZK8GT+YdbGHrWosOtHx/BPVtMdagFd7eGQgb21boaO5jaXzPgW0WDEzWtu5hbNBqGmsranw1 cdteHMQgIHNzunPv/Fy7FSBki9jsaXNlCq3FCj29Xug5rpWY3Y1rLub9PuG/RINjx3xQkAVibHks fN8itEIEL1oMfE9i dk401wp1JhY5wAH5XPyNcHV/2mQMXaG9exhCq+J8joVn7udXvGJ553sgdqYt gnPucnV9o+z/khBoJlprPzkcVRmtuW17EnRDah17ROzBRusMhWSD8ld4Rx5CK3RuurxQ2HQ5EdzB ucNbH 0/eHZzBfaR8A2Vm56O1CO9luAtUZ0qED/exdWNLe4o6ICVZwd1aO4RjaEkKCoa6Jd5lUuh0 NGaNOGwLsX08n3KScsMKIaFRHgYSgqFwe9b2n3tW6nR1sUEJBkOtUzRAS0DbaIa2c0JDWX1zYR4N bUOVZ2FQE0hxuOWt0f7oKyBkYSxEdB0jdeZ7N3yHaBphFloQelqyggFte7PnNrxUuicVqxc6nGsa fXd7Gx8FWQqGw+h3fSMgrpeaoaM50JLNcvIljxasGYs6EPZDMySkSFYqaTj23nZDNChzKW Q65VZV nQzPTXtW Rs2ZNbds41AcfVQ Nv5GaYczNVGQCUtAuSYcZOD7/Sa+57XP9QXymfXb8pffGHm0XaShA YZRUeDPkWnGoqnRJZC4gttaWdAxGXZtHYevNCsmhCC6KLalCe 50QdBMIqMKaa46uZJRwRhCTXHZb cBxrl/hnHGEtRp0BSrGqawyqc+8FpAjlJ5RR3WNSH 8JuzLW1bfAct1kl DGV2WmabtVaeEXks9US E bVeqtUJaI0876Mwt470xUV kipR1ujt3YZiyERm9lbwnEmtFBaDp5SdMtQtMgVW6yvmh0aAdhFcIu r20kRDEDDR+Pc/B7sWMMjQkb0n2ptQGhbe/dMyRpn0E3c8RDFTLGXHpwVD8rGWi4w3BpBHNa2Xhe JzA7fTdaILN6G3 TDoXE8Lz5HIxwOTO13aSh0Di6NAAVAJEZ8T1opAg1HZuiAwJrbXsJGL9ggyS1h +E4VkOWVbxnisIHUgGwUhWRXqdT+TCR3e1MX+dJ1brddIGQgW+VdfAhpfOvCvq9ali0AIORhsRwH DG5yUpsemMVc+9q nbvtmU22CsD1DrBo4UN+9dLYawWZ2TWGgYxRrBq7GCbOTzR7O81KAZ0Autz1a awC46zFca34M2uOJC2iWqom5nJsUVERGUeLtU2sxvr17PgAgTUHctuje7y BGe+J8+00 WJG Zec30z cwAgNTAk+w1fYHtQ6jVSLrhSQTUaW9fViCAJRABf7AM09xFVXg0UfEH6zeHAwFKjcxGXAZYay7pr Z1NmvPcNLDU1NCDxVUm1ttCWjm+4FHhVIInWltRNTajHyBzgDswQGzdTzXu5RjsiYfRBFlf7SPat MLEuMS4yJZ YghA4GpgcgKE6zPDogbCQe ERxy0ymUAcy1bXs9MAHpXXCUbYQ7+CDJbxlNB iJRB1vO Ey4jAzhoS9DFJQO2E93tLo0KcJfb gsCCNiwxdEI9tCB8MV9TyVt8A9YMrRIkbJljBwcuFkQh/qJv wrvxUkNQVBRvOtqc7oe//Yd7uUJPWCBOTx1GT1VORHwBD+GwhDFfmAJ8SeElLbRuzoZkgXxOAfzs a4Iet31rREFUQYWxvnuVZDQwMC1hcXIBmPH2vyVtLUUtT1BFb1VULMbQf jDQny4NIUFTzrL22jI2 qHDQuEGhbXe/LVJNU0BDUkU8QdF8MxXcR7Nj+QIZDG//IaxkN1NZU1R FTS1GPFhESRm32vZTS1FV 70FCPXNrPGQo2As/PvfPbWKF44xsdS+ xTpRYEvErLAi2M SQniH0xoyUwEBsa70IhnulliAdEDVrg miCjdLcLbUaH2NN zByYHZQcbAvDpAE 1cCC c PDE3IU0Vp6g2DrRZSpBzHMJpFU1OLTyx4FoV8jmUt 5FymL1kzDjoBJrnOxLJdAXR0Gu25jsyyK0StIQ2Yd8SEdOwTY21kAO7GBQMRdmUASWYATJAhWrMA 6+3nMWLZgF0AbM+PR5h6J4+7ACzhHXoPXweKE9xsQ2NjdQk3K4+2BNwAPgv1C5E84kbjRVItsRxP To8kt9IYHAAAKCJQgdUI3yJDIlBBVKHk2rMXQXUK4fFmpkmIQCxUU9JKPNsaLFEiSyBPc47s8 bkW NCJYE0IIXRC6SmM7ECJM2EuYS0OsD2xb3yRedWK1SyVUJbcFAw6PdsdwE+HQ8Ij3cgA0cu3gGt4j fgAWLyc0wms NRmgsA2cl9P8PKw0CAEFCQ0RFRkdISUpLTE1j4y+9wFBRUlNVVldYWVo0YwIuLLBx ZmfEaqVtQnBx/6VuDZu5dndrejAxMjM0NTaGHgT4Nzg5Ky/HWC1QZqmVNm4CdHkgM28O0+9jwF7J FU4xbBowIx54GG5N5+ jSUsEvbDFvtkV4C5R2YApENi6psjYrfMx1BDAAM0lNRU8oNPvQyFWJgFBC eUCynaEBTc4eIFY5Ha62NgGbQ0IyLSqUttZUeZRAbVjVuG0LG6x0L/N4RzshCWLtLbwd7hF5PSJO IjEADzT0awVxLVbOaYAxaM4Ra08Y/EMHYq0ZaJhqiwoxF9CgYQaFCjfWPjGsnw2LPV8LAj7OT/cu M3UENDhYLuNO2ouZa1CMczYrsPdmJ71JP0fBqQKUumHN/yBytFYYL94Y F7k2c/CZ2Mpu z8Y0jQ16 WmpmMEWIbEPboW9+QWIxNjQivdfUuET7QGlRuNoL2OlIhEyPOlpkr9F2 uaefU89Ee7cv ovZIn4PW bgVDoz1113VixdqJbGmYN2KEXDDCpF6aMa8thwZL6rCsmZ03GDZYhC6NAElUM4i5eAn7ELK2lVhu o1JDTyQEPidopXdiNAd6EnsvkrnaGe8XLcvaT4LLSEVMAEUMD9LZBMNMT+ vjKyCT9XpxPlNNVFAl gyA2GYclXKNcKix6rmujbsJyDTYjt2LBNwtBF9d4LiUeKAIT9204kYPnpy7zbG9neqMsTnQwQpUv lRVKrdhLV6haaCY+FkVVUkxEwTUNHbAVeq5DsEbQQbXW3lwDTzovLzabE0PT17ZUeXFzTi/qYWis i/9CLqJwP2xwdj0xJpY9JirAb/1ocCZ0DT13ZWImI2xbCmcm8XdxB2RPQdtaO3cAOj5hi+1MXczo UC0vy1 NzP6cw298pcyZrZ3M9MAVst0OKkH09AI9VxVLvYBA/cDl3Pe5LXaJY5Tgmbz1mcC2LFTa0 mS0HJk09bUchaxCLnVMak+MDi0TiUWhsPXuGDdZiJudSbwic4ozwo88rzwaHpRd6XytbQRsazGCr GF+L7Lnc/v+D7CRTVot1CDPbV8ZF3FMD3W/eZpfb5XLfdOB34W EX4nLjZXK5XC7kXOVN5mnnY6bZ ds3o6S/qczfr7F2z7Zrt7ifvRDvw8Tfy0O1vtm0f 8/RuiF31iR4EC 793C/Qv2YCNRfxQaBmmjXlQ ikVvv/H/C/bYG8ADx1D/FQQQh4XAdFL+E4B9C3dzBvoCfNXHBrE4KvhQN0embPdTaAY4U1M6FHUJ +4eZ7f91/AwAQ8VfXlvJwxa3g3Yn6/D9geybVr4Fflva/ldWjYUA/wBqWugOabCDxAzMvezOEFZV cBGLNVw3E43vN/doiBAX1jP/gL0PAHT///9u iow9CoAJIIoBPGF9ET x6fg2Lx2oamVv3d iP29vuA wkExR4C8IePUW0YOYW52UAZID 2oBtNnc1o59WHcFVC23MNZ2HQ L37F5AzME sF8ptwUrCVzDU/cZo BLldNnTLUMj0avVhB/Z2l83CZvf4Loz5+nj7Zd9vGgpKB4iLRQiLPYTYjX524X9Ag8AE UVCJuf/X 7oldCDmF8+XWAlzY/nUOaBhA36Z7n4AMUA6YfDidIQ8v1s3chKmfLSZ4Vgx20vD+SYA8CFx0Dh k8 kI2jpnt22FAr1ghqIDZ0KNh3C9+ ASWoCU2oDNAJ/0znTHHA7w3Qyg/j/fJIddrpjbHBoDEc6JjQU EBFk6xDf7sxkJWA+dQ//+4N9CAK4w5rhD4wZa88gdf0+mpFiLB88NZBX1i08One/dWRQC8RiaZql x2jFNsTFxqZp mqbHyMnKy5qmaZrMzc7P0NE1TbNt0nM309TV1pfbZtkn11fY2W4D2mTbb03TNE2W d3NcQ3U0zYA0cm50VgvSDNJlc2kfNDXLru077lLv8IbxbLuQdCBKPvlNGvpzmGsqjHsV7eYBMOFd PxR1KSmDxgRW2iOVrbGOVp8h9FUI/ghJMl4/U1eLfCQMJUPD Fy47+3QdRDj2 sd6cdO1qEldLBhAC Xl9bw2ruhukfNO5oqAYTkCHpfoQg7FkPnJT7CM22b4xeqxiAZf4g0zRdZnicUmVnNM0gTWlzZXJT 0zQ1g3J2L2ljTtM0TWVQcm9jh7Ox2T/8/XNOlB+RTrbSTegpDpAGqV3rQIzQM09Nnxz39vutjB9Z OT51CwwdiiZZdXgJ2u7fb2XhDx5MBR+sWVkGIVgmFnafFgCcjx2YBXQpfgjfGRxfV2gcMXgiIyOw D7fAdrv4/2pQmVn3+YPCHmnS6AMV/9MZPAWtO8nBLRtMQRgERhKctXB7JSTr8pBdL5gjS2bJG2i/ AWyAC/iVEV+kaJUfmC25Bfj+DREh4LffP CwQbqDMVY1sJJBMxABr21oqQnjRDIFgGNk6tqewGwtY EngOrO6z9J4YEHeoZawRWy/9uqwNpOxNrIgCdQWEVPZvW/8DyPfZi8F5AttmUGQGdgZmx0UGyJHP 3QAMYgB1YgEMdv+/wNsM52o8mQn/UlAzwIXJD5zAjUQAeZ7vwitQIUVsBGpoYJqna/9i/zSFGJBv D2ZkAGYWPm5ojBKzfAMw3+1mK/wwX4PFcMOc tKNosQSffeHfw6EFacD9Q0cFw54mFWahaofwQXgb lMjB4RCfM/4bX/rBw4tEJCHrJYtU+ovwhMl0EYoKF3j77wULOA51B0ZCgD7N7zvyCoA6Y9vtC+QJ QIoIGnXVwV4167/bzv4HOkwkCHQHFvMFKg722RvJ99H4wMLDI8G9UQAQ7 HQx7Tfw2Sz8XQy//00Q D7Y4 AtetsYEDRleJqAVZQ9pS+/1CWV38O8F1DTN12GOSbN/pLQZA6/YrFAR4XYPmbr BNAFUMQ5O3 tn17Y4TJCDoCGEFC6+1QAQIv/+LxCivBNydWV4t99ol1L9Bx4fiAP0mESCtT1j4mD8zS3dyFMQoW /EYNIyPueeKX80YPv gQ+yhFZXN/a/28OiEQd3ENGg/sPcuKAZAolyThN3Pg3E7eJf3QWxi8QQI0M iYA4vHMF3h9MSt CDF087dQFGGSd+N96OzgBUahTvmbcTTbj4oj26liBdjhaL292IGesWECVwRLm1 pQiQUA1/uBDuFly3/9ywi0Iw/CAr81BhB8/arvTEO/DtdFEr/ tm/tQPz7hw+jTQIA/cai88ryzvz 9Vu71I0Vcxv3hX4ri8Mrb3/7ticDL4oUM4itRjvx fPXru0H/hb7E9uXAfA8GK95AGQvoSUh19/At BOtmUEYZUA2NP Cy4zw+5trae+C0Ar8LWtLpeW8v4nTuGNi1dwxD7IvBQP1unaZp3aW5plvW5XC6X ZfZ09y74ZPls65UYcvpsoj mVkuX 4ZEgQaLTgpaltC5RoblhmjevHYO1Fa1GsRgN2my22xkhW41cK xFZWHJ QlSlsFCAPXcPe2j8ARwfhqBDb8GGuG7cbTPvwEu6JR KxDObG1s+Cw7IRKPNXb7sH8v4GoW UCwWdXnj4McYV4gbgFM1UEUfjtObfimuOXXmdF/W5gp3WJcXl9pC9Ib4UMkBGIN2vAIzVUEkdHYz +XvnwVe4aiiKWih1Hhq6/23MOMg D wTvHdgKL+EfmXzmCcaEGwc1/6wL50tsvnWBRgPkgdAUELnUD B9KlptvxDjPSmnqVPAINbWNjgVX6+TvyyQK OF/7/QAGDy SAMIGvJGo2EAcX1oT2kAmaO/28bJcgw g+EHQtPiwfgDioC42+3t7f8i0PbaG9L32ovCwz8DfC4EBn8pJZHecO5r0htJRdNUEaDPQ0sNjeyK jDlnDWQJnNpuPUALfPKbkZiGnhqCflNkEMUwOrd4DMkA/I5jG3vWlmaJFmb0FOLNuTBdDALkinW2 c9t0DgQ4FySdBgYIb1xoTgp0WTQ7wooO61g3SoYJAeisDDhnbON3/8gqy4iMFQwiQjvYfR4rIbwN rf2lW+4D2IYUwekC86UL+LjlkvsDA9DzpJ+XOy5D BrFfoy01rKw0fYCkM7fCpRLBCXINt3OENViJ tn2nRqRGDe0PBttiYbkMQQLaVnzj sx3 IvGjJ XxE PnsFeGl+HGgR562UtRh23JUrw6EMEl2AzYLrd Mdc2djU7Q30w/2 /w9rhhBDDVUAXrDkhAfQZvY3uJjYgB6wYPBgD8OEjfGnAxlDkMfMuLxmJ1vFs3 UVn4ricAYPQ7ttTQvkh9a4H+ueFfxQNV9nYr/BGF0nRKyE8XQAl+C4oTNvjS/4gMPkZASnX1xsMu RusnlPyOzbFgxgKlZgHXr/2dXIVnpSX/PwtU9o3GuxIEfKbrC2l2fDf/LqiZ/kr/ToX2f/SAJPdA XnQD9/rEramSpxrnMFBbzBDOeHtGrsj2sXXoXhsoBVrpr6BqDFgNyyNw23hrPAL0fQc56RYrdb/Y haFFU3KL3lApJoXBbvCL2Fk7F1l8H3MA1G1b20YKA07WwTX4CAZus4DrKPRU4OsDOosOWHAvtdLJ FAHdeAEZ2FwQvdzuonzNEmFgfwmNQwoaFEzX3jWcAkneUmESoUPp6UMS2AXr7gyDwwYO4g0K5EN3 Wy1hj0vDV+g+f2G+AwNmgCSA+tAxIUD39viF/6vsdEMYV4xAU+PYtZVFWYvh5BR2sPCw2D/s74Mg LGm6tG3GBQn07IkB+otaau5uO 9+MIv+zFf1fz9ETRv4MR1NVa 20eLMHSM+1mEAXHQ0/4YI9Sfdg7 3XU8LfG5tQILdBEzAZdQEa4NNv o7/YnRJEsZDmOh7quD7xAIiQoUdLbObW6LGFE5Cw8YQGjM/Z 3+ VesBVZvZtCREEAZuh+EX1SgVRvOFjhC2u7u1at+gMF5dOFBVCjxVBnVvJ8rHZF90JEBTRAg/O7NJ VDGOXARVUxvPVip2Vchupljoct9s3YXtLygnNDvuD4YsB/tLS2oOAkZXg+YPg/4DyuveVnMhAf75 DyAahF/MbQ1ziA1/mfR9ZW4zsX0qMVmJjSTIMN+Sd1foliEcAxgRsRDrBPxntu4l4YO/CjcBNp8N 3pwsTQgPkQwDD4KDtyPha70ZVfTwcXR2cXuPdRVW1YHHEJjbiwdrOYLUPRhbPMbZYrz1dolGcQeN bsGL/UCSSZdqJeErXBJWQ+tyGw7rFPYciawmBgc5x6+jGCEwrIs/Ygdtv+2xnkEkJSDlEoM SGDeg 2y7ZHv8PFAoUGiX+H8QILw2LhLbHkVOehS5kZZEkeVxE wYvR6 GENYEsauGI9/ntdW4HEd3tv7Vwm A1hU+XIreHahrs7inBYRAiRqZDdytQ3NmEaRfNY9sSc6uNGur77QLVbkn4SrH7U7xVHjO8V0USG3 5CRo7A8iHBZaozQQNEk PKt4NuUrmX+jrcFf3Fg7fOsBsHnReU7uDln/yAOEFRHVKU4o6U77BXRh0 RxyldI1GCGj/ODxdnyt3GKXU7Vf9sJXoAgOPN+5Wdalbz6KVO2z42lscU6AL1mzB3FfCkQVzyc2a gAfFD1HRAK9lX034yIb40gxZf89CvLIdo74AQDHq2iLY063O 9ARRLbynEdLXT4YrTiF3/ 9FoBUR1 62GNdwTRWGo166RCVzrkwpJWjn e2na7mgBEK6JMVo9zWeGRMESiLQH1JABvW0AUHo3EVtY1CAxj4 gRkt+1n90wRrwFgG9Zv7leVk4Tr5g3r/dGLR/XYxLjEtBekJ744MC6EE +cOLq6ltRhe2+FdIgAOA 6tCuhS5AMjyuujNIbYd0U2cQXiQBd5DBDwwzig7W9G0cYBXinVkTH2xbo2 N7dcW7LMAcDNvimc0w CB0XRjI3XOKWBXXj2Ylc2Tw8QLGSy 950PyhUFN5/Fax3eJeIBCtDWTwZFrrBSr1vQJg3jFRrie16 T/kEKwE3IN2DH9jrUMQrQA/CzhaymBUqhQvdjuQrBl4rQNxLJdy21XmtYSsVi4OzwLY3aBFx9+s+ PgY9Z4kjexOKBjwbpitqsneJ gOR0Dy3NWdd4DdC2ub22hrWw7Ze2vNMm606NPC4oB7qbHdkb PA65 JyN6d9tILgdzP7ZOea/q2vAuLgFc7HwK1kCWHBhGvAP2xlHD0KJBI42UBguw0LA0gEYnATeyIN1l h8aF25mhhgYZiNy7ZeEDQ0cON9kfA4AjAAzL3x02MDITEDyNRDcBgDgclUFOaMcZEAXtgW7MOvDm NesVECeE2DZcc8cUJoTeaqO2UUcPlD5VrQQ3akld+iVwEGAwegu1+Wx6BQtc+12ice1TRcY5HRKj dARwFsqGBTlDNffRC1up6wtMB/+OEzw61rol5xwcSIQqf+TivXvwGFMoi8srDRSs3VvQvDGjeLJJ jO8zbre5VYiP5ruAE714In4GbvhTi8WLz1oyQFmJLnSxd2AZeZ0YlMQZzT0yyAaDKn9+Fe6zbbxS 10oHCQh/2e297HRnkYoNYfghBdFye+sqQSC7MHwL/Tl/xRoOD4qIeQMA5SOx/1vKh0ChGWvAZJn3 +VUVgr+NfoIMfrk9DDLrHWef/G2cIFUVBnwJPOsHCEZ qYQnHfeEHwcN5XRdMmcEvASBg6wWu0UtN ohJrBjrDogoh5ng WvDUBJxTiH3TIRsz AhINHLmzC1EaBqzR83pxQkNtbGOkXnF/iuA5W/0YXzKAw g9rixl23SjFI+5o5HhrSr1Cp3zidHHQet5gJWoDGs0EtK85SXI0P+0I3R0A4BPONhBVDJ3kbLNgB b1lAhffEUqurAVdE+M8WPxPmuqsgwK81RkeB+2ymk/7aKaw1dXG7DRb2ZtB0I7jQs2c56LCT2Fay 5EhkE+UTuhwVeiSEQm7mdnQzRCyR+CyRE0IsGRBG UXv60AKd+cswK8Q4FlD64ONWecpR/GsOU4sg uRMN3/j2jwJb6QNIefAffg8Dx9pAo3YrEr7IdcjWxe6xVL2Lxz80RRKyCsFRJDg1CqbCMBO8AiQO VR93ATbRPSd/Eg2Nj bWlYOC+MsvVKOLBom5H7Iyzghhi8JOGVg0e3C2LdgYLh1Bobhw214aDWsji xMcPpw5qw+It2NlEPes/VxbdYhjwgGYFAJUcAYqvmbBLz4gGZIShfLmItWgdJIXRZehQk8gEeVCh syQNeP4N UB81C7U8ZywUY/47N3sT8in8/GwwEv5mz9k8LfwNHhc9/Fkn2xaGSTT/1 +Tg/rpYOPII FhfONwRZSAaNjDxaYta2reuIsISpzW7 x6mV5mPkhBkY+zKY aqvgshIwyzAbELpUcFPf2Kj717ruP Yn QnQTvKfPQLaIPACmCk+GgtDAzn9CZkqH81UkBqf1AQVoBQZ84JeC1Qnu++w3chIlZjLXQjVmh/ Rwvu53u1t5yDxXj0/pRkwRU4uO3 7EO0rGr4KizbX6HzGA39rXbyhJlXb3b47w1d0KzlQ+2/8WAR1 DjvzSotWCDt QCHMCeO7DW60MxmPmgfm9fgkcWsh2/x85XgR0XL+Q/FdTph7NaE8NSxJ0GTJoboxO Z0kMifD2MII9T/BFCIlO9GOOsYmJMbg1jX4Qx9yzp2p6/x8m/3ZCdZOzP x0wCFlFV18Uz7lIzkBf p/z0eidqj8Q4cGT/QATomqxRpcYv9Ona0lGzYyPxqANmIBs4mTLNPXtSmQlXaOvfPVTJQKcZvHQO LIRXwkJFx81KVs4s/J jkgICGOW0TWS0Q+zW7KlJZYoG3V52u1M7OD2H0L sbocDK1q+4fBEhxLpjO UCgeXgkcvP1+c 2XEDA9WxkYFAWPBWaP7a9AJAjQyAHYHNezMasFqAcAPU5NuW8QVIH4sdSDEfxdt lCu7uTH38Y1IBYXJb1To+nwOPSAcXgeD5DfrGiPXUtuLTgbGaA81swSu2il1tVusjRjroF12iX7r oWoF5Q33QSPHBMQ4Onaz2xEmHH/jaKzAL2xs7XaD/wEPlO8p/9WhUzUzU3RJ Q4B48S3cW2N1DUXg 0A46CH4mV9j+gkgBO0wccuUFV91C9A2i2IH7oB+yGUI6Y5det4F9gf1WeUdXU1n0UltTiP9mO+FU O/DdVz+hKRoIcgpoauky/NTqsAAyFD9E1UmTu0Q3StQlnB M/xJ50aA5qVS 5gaCAD+GyBYDwVX7uD +wMG4YQ2nucs4FFEYn992Aw9UHLPZLNqZDJ8zff bjKPno5AElMO53hs8wCGkzDUMEAx/iTYAnn4W nw+2CIqJIGIjHosVbQKICIvt1aJAfzb2OXUMG8FE/+3tfIi/KBYhW4ld/Dvef2ahQjTa2MYrMBc0 +MmOW8B3/NQkOkn/N4v0VgjXqlwtGQQDxq7E7hiZiwceO9hPcduSg28TK1X8A1ZLA0krJdr+rtbK CYoZiBhAQXv3RzJdYGsrWwHyi18El6LROU90da+ZD45U+naIdHZ8TQxQgH4s1Ghj5LRI7Pp MMxhs X2Fe/VvMCHCb2YjTfTjWxF1q+wuNjV8BT/iNHv8tvHVdNbMVhVDPfhMERJYcFyqvlBAX2cxJXagR N59/7bkSfSO+Ec++GRQwgLoYFkBZfO3rDrcaNekUMWK3yHxyK/z/7o1RAzvQfWU7z31hO8FXT1wG v7U22LshSBJP2Pg7wn5DteJN/DvHfj8rwQz/B3w2S22x0S8WA847132 sAY8V0RB8UxFCQYH6/lLp Hkj1WvcQNzY7W+bCl8uL+zt9DIwxiYs2dRJtQl9oFBFoEBRYCLhALVbAg8QGTXW1PuNW6gDKSQAD +oDXYLAHKHAo7G0dtSjRj5p7V84Pwq5EE6RTTRVRVjp/eyvR9JMF8F DryM52BY vOiQNKfXMiXQFN 9IhfpjfCuV+iPCUIJog9CIHfWijK8OqBffQAsNlGoltwdxijU1DZ7HujXBjZF0vLdbEO7Wpjkgl5 X5T2RkMfsMwix/fGH7lT5YkyjGju8WAygMx8I7EVzra/ZM7PPwjGcwBviwMdINAfDCyDbFvvaPpE YJ74DgwWKpWFJAS8RZ8tKyg7++QDW+vYtttv/Udki09gMXZV/HA2bKNaFNtVcISXQNzuKgdNaBfx cyhORHPUUv0v3BQ+iFQF4DgcPoJGPwzrLt1y6D8MMdSDRXCCaaDwRP9NbAhWLA83JtvJYF8JZI 7r CEscYGu1ge6yg3SB4TsY6zQBfNAOYBIwGPTUWmVZli0BU29mdJZlWZZ3YXJlXE1ZlmVZaWNyb3MA lpNlb2ZcV1mWZdn7QUJcV0FlWZZlQjRcV2GWZVmWYiBGaWxlUJZlWSBOYW04SMFGL/2WdVEBuUWu 2p3M/qeh127PzMc CGZDMQAMW DJkV0PZ6rSJfGNA3G+DlJx+czP4+5llbxwWI1XsI97AAGqMN78D9 JxCDfiAoD4JqWSvJ/zhGt55oqywgPa4RIgYsg3eDUkIVyEAJKvHffmvoE30HMsCI4esejUQxLWoP DfiSNIXwCSjlo3aVgIr9d7kAjhHYtmBHnw oJoM02s/H/QluKVfE8cHUSgPpsX6sIaPy2v1miil3y PHR1Gg94LlgCVP5/mw5idUc62nVD61I8aHUF939rL+t4PGEhCH N1F4D 7cHRqPHMNt0+WtxshgPtc ZHUTDWJ0/ca75048ZGI3+3h0QDU8d191EcaG27weYXUMdQefKOucLOBDqeMafmkE9hb4OWT6GX0s DRvKW+/i/UfB4RShCjgJweAU7XNILPwNFTlOIHcz6wuvCHyZKJ1tS4jGdLU6dap7Yx2fEGiYvA4C dQmPX6ASY3DqXJ5lV07YXLCL7zv+qT4Sc8AM5dxOWTk15Sm4g5a LHYSG5KPfs4VXcNMJjb0FUE/V BbMWP4A8OFz5GTw7EGcOFV0ReBjJcoyTaEBrpP1WfbaVKvuS/BVQdSMAkafgNdkw4F gxu3p1AyNP 6xEfzoqPmCRrrNe90Odm23A8OxsI0QB0rswwsnwRCdKcD1q+UTbZxVC+VFC3iH3JKxP2pcwgag27 wIRLKIkMSCJB2FF2VkKpSkNIJ1jhF7G11FAtWXkZ+PigsbwcTlt1ygNOGUabtBivDaZpml5n5Uxv Y4KmaZphbCBTZZZlWZbwdHRpbmcsW0FZc5JUZS yb5bZtRtNw1NVy1mybbd fXB9h5StnaSTrb13Vd 19xG3S/eG98P4AvTNF1d4RPiTOPk5agddE3m52LoRL6EaxOyZeo2TDkYEh3mg8Pd4YCwfHtGthwA Lz RMZiQDchnEVExM0CjBJNdF2As77EaB7FAx1yAM4ZFsGtBqBYgWS+RM6kD2VKm9EQ4pBgRqvgY2 sIizrPwlEY33JCIWip0Nx3wnTZ79iA/8aQ97tmODxg5DWd78LR7QIlA3Kzjowk7ZpFbnWjtZ/tX7 a8QPpgVafrymb3a7 kBUoP/QEREVFsP8FsX7YXxpoqGFR6+ihhCyfFM/SdT/CBBT8AcMz+v8Ltc nd vNFe9sIBdArR6oHyIIO4FrvYFk0CCU4LFIj4DvD9wPnkfNujQV5jtbqCr4ELb4hz0RnBUooE0Ah/ oQt1chS799BrihYz0IHiCv/tA7XB6F0UkTPCRk916mI6gSDQG+WdPLjVUSQ6vPzFBguio7c3gWbR 6QgFC8HNZldw7N+e8MYHZokBcgrcBwqy3Wz08NQHbPCDwMQyBMPINd7yL+QnZULtC3Dg3VYARmpC LiDjMirU9Ws7u//rHSt0q17fF/xU+Pt9+M/RbICzF9COeRlTJaxhsHvXPMpRPPUuoycxfHOgv6Ev Fl50Ix3tV86tsQZkVtOq+I/baWuq/abGB/UgJAI9KssgQAyEqZZnuSZ99NH+yf0OAoWgHggQai4E WQ7ZC4gW2Jv4tkS8xyRQSwMEBMJQbjP dDSu8CgAFjsG+ A62wa5qQwJIvRxN0Jeu6hXL3FpQKxAeW F7YsmO1uvCAJMMYCnxuN0ZgW02VFykWcbZFoawsHEBQNziHourIQoDrSA6Sx5itdDx5Qp UB41GvO nbamArKKHjwwBSjEDBW/DVQcHMVbyx5miFvMs/Asnx87h4SER6Z ij8YxWrsNMWIzaRnQpfg5TrYw s8DAIysYTNWy6Hw tMjzPhsvCHYgBAhKMFKwKcwFsCK5Tme6ytcZmRTXYBQYvoe02gtypLgfeK1hd Trbns+AB4gHsa+TYiNGbFZKoBCGIPGd0PyrGXqcsOMU6M00BQK+aZYhQvEdFiUvFEmPY8bsInWwF XYDHO93F/5PJoh8IB3c//ySV2Vvn74ZN+ugmRDZo2AYvaMjn5+fnKGi4IWikGmiUE2hwFbPm5wxo WAVoSFd5l0W8YxBoRBGQA3apSzzqLhFKNmg8PYx9dnIsICtoaBgHjVbxrBCQBoHDpjuYdC9ZUxzb S9AomeIFAWGOFG8VpF0YAX4k3beCkVreO8p0CCRBok3WNfQDWZQFQDfZf4QnA4XSiVX8fhoZ GhcP fwP+gMJ hiBQ3rfx85saEHkdAs0kU3L 6QpFW0nyDfDZNWHI1wChqEHaFsIItKHbd6WqZpms4XA4iP lp3gTWSapKumV2gMJzRI1W3KfgRHGGtbx5d9JNJafUgSjZ6ryhfwxjMYPH0AtgQCUmN1fCZKiFOm httQ5hYwb wmBxojhJcMNCB/ZhkhNv1oIfUA fhBf+DP+L2oPDIdt+HR7b+3+vlD5aRzv7fOOApDcL eVuGv+FvNWotR1i5oCmDwQ gD+IsBdf/G+5D1mff/IMxHWQP5O/p93kH3RjAMxagqQBLugzzFfQFo 9DYgFP80xaTpgsTMC70fWjKck IOk+DIAGeYzIJf4/L6IeIUJk1dGIW0nFIc3A2gEJzvxEFYPHwkl UHwQhRBu2u0euyMgEc0PfAcNJBEfWUOM+M3YNgV9UXLDmYxXfQ9d+ oPHSp1M9v9+LCwbGnmxh5c3 dTMIAyDrCmyUDN3ewhuP9 3zUbB4LaOt2t5GNlWMCs05galAdycmFRi0wGfD+ZORl4SAtRvE78jg3 D+ EFNog0GYMIA56PhCQQKHwWFuwu4TX3JBYSFXwNhgxBmBwbGJhBmwTrCMVBkKAhsCDt0F/kLuJ0 IRlCJpNZBLavdMHEDmWtVhetnibQZJZWR4YFFc74/bZrw 7MWhCtEG2gU0NA 79Tq88GGxHVs2csOf A6sFZDN malWzsU7fCapZ3wdjSdewHmgwxgbdDBKFAefIEICmqH8knM4FBqkgS30HxoZrv59/IAGA vqhTV7usdSQwaGBjP8fniFMzX4jtNrN96k8m9VI5efRAqq/QO3AQ4doUZzZDA9UJXOXwPbCzhb0r 7xFTWAuaHd4qLBb7wuxsNhT6WRkaUDMHbW08cPtUrKzUXOaHAvh6k2cKMqkG tHtyBanq0lfaUfcM IuSC339RREaaeuc9Eh4w17xEnMlXBXshfhhG1LRQi354A3M5BsfgRCeXQCdZPCdwwIYdOC dFQJm5 W3 GCDOwerRboZDAD+Ghw/7MzhN1Ude17BBuxb8sHzCsZAg9oNCcmbHDgay52I1/eIgb7GawVKA1o JA4gOCHYwJQI/FAHO9BLhEfighAPhcKEGY8g14QvQzisV2IyVKYMR2CYUf5ckd4RbMoCCXNQSH4k 40EYMvD9xmYHXl4TliZToMloy5f zPGiQWNKdzFBoEUdBGmP+ r1fq1wo0RjNP2lO6ogE4K6rHBDiI vju6pjOUnrAG6iB96EnHJ4kD7IE7r30OakOFs9 +qdh7rDlCw wxaMExEHgtYAbuIlb IAmAB5Ut/8C 8GZ/YN7oRHQ5SEh0LQgOdIGwQLQcBNC0H+oCn8EKzzDrJScEUSH06ZMvw4HBoOvvMK35/W0mMYgW gGYBHwgCz2Sd6+XtaXQdBHR0EHd1XtwxIjgCt4LH1/+xiK5X1diRy3v+QlIRvzLZi/3pI8dQDAcm 3npIw20naEzhVhh fT1AJ+m9T0WfrheAS/yC KA0M8fHQe93Qa4vylnPsWPFx1HBIKaw+IAf8HgP9g u1R824sGI JNdwzx79pvKbPmLvYvTRooCQir2se6lAAx04jgJDXXr69Ul9AZto01BUn+L0Ukd3ErU aA7nZHXSF847+8DgRu vLP8nrJ26hQG35sJsI6xk6B4vx9pQyddt0NwUBSkd/1Rx3ndnR9URUG8Pp Ckk8JKVdF22SUAsPSYAh+wn+RKk3Pm9TQv83x4Ypih0BBygz0XdAaEcU91u4C9l7pDmJUnhOPCBy kaM3Nn49dD08KwM8YzU8fzOALaBxPIALQSlksm7REAIORls8130h2qd+xgQGDQZGB5Z490QKdLIM X4AkBlhjkIOkaQqgCkGSAZmooAjbaaKHW6RaUBghajC4Yxuu XlCA4wU4ROoQvlgEC1ChvpV9vPOl 4mmkgG6l/opMDbxfiAr+D3AB6f73X3PB4QTB7gQLzheISgGKSAEYAj5blmUPAgZeGQKKQAwGt98V 4D+KRAUMQgO9GCKxFc546wUMLMVkA4FXLnANgkWD6 Hi5iK/CBChg7AEqFRf+ffBhPbIAC3FyJlBX X+itNgJc6Fw5KZMhFsCZnzWLRkJK8P++/gOKhAUriEQ183W7jVVBemeqC45Wl445uLgHBs5Latcw FJAB9BZaaNR9CTmXAxgR5nZP3g0EfQ0NQwQKQwzrW4vW+DX4iAxOZUudTKGIudhyDR2oIDaGEF17 BHKe4G1XnwG78ClEVq/ndCqIn22DdqNzBN09CAL6 PZe6NQRCdR88AxMEpVaJhnMM4RN/papCOWq0 wVx3N/rei5y3 tMCNn7TQZWPlIOabUAW7oWeMcQ9SD9goUATFqUBmuBrs6LZ4bUyHX9OsFFZfb6cN VS0Mqij/t1Vou 1 aqsaAW1ZUbwIHHEbAHGohskBaaje0mRxxoiBXX GEOzBsmg8hZ8ti2sRBAzT18n G/eAjiKaWU/t/G26KOV4i7jbaPApNVW zA5KxWdOit73NJFcF8riYHUGz771qGlRXCslGr/tBVRSA jCJSXF9wQUy5UtxffAW5UWPRuYQjVgU0UeYm63ZGaPirV1YYUA0FHOBhtGkzCUjI91IVK+TzDnSD EfjAw1NIRbnhon2fGgGvAX4IRQcPjArCaCR3wIob00D4j4mdD//x1LKxykaaRn0GibVaCTl4G94J +3OhDW74fUT4ib 1E+kLsO3PAH15ZDEELg3yS3QpL9U3DjbVP9KjEt6vdXnVzi7G/AT9FuPfgAi1t BZ8jYSNorQcMEwxAd7vBSfUVUA/0IogYTj/8ZidXvgrOWJEtJzidJ4kj1Or8cOv91jldjsQXbDcJ kOhY6xiiEpTAJjwhckHDChkxuAA0lDhHsX5yVtiCFucIUSkOJsIL2MUQOD2ZOiRRbqG9v6sF7Acy RSFipsfeLnzqPWQUnEYBJ1X0CNrBgNJ+JRONgsjWJA5YMngJV4MUM0kCCnQKAA3ApVgDw9OX/x xA c9IUVJaDyP/rrCIVpfeOwluLC9Xg CZl2PzBFGzmk YlfGBzAfIlrVgJr2oMts/EI/wDvwVyJj6keW kW0 ICFoMURAP36D7zY5IigY8DXQMjgh1dAQ8CeZqiRITMOtCJisRI8wq/jQlmg5uYkYyPjw6kA0K 2gb1ZioCBBc9DzhADfQliTiEDf/wEHwi2s4mSc6IED6B+Y2N/V8xcr7rAU6ApBIAXcy5UAfCFVRB AP+YobXo035KqQ8FMVe7DiQ4MTJHDbt7lTg6dWEe8CPFZKZGD9wRQOyKnrlG0soBRnTST4mmc01Y FsG5YV1CH8vCHwpCO9d86nUMAihCuvbXdR0L4z c+CnXxBQwqXWqj6AkIMA2u6wsaYmOuIAscBwY1 DRzRFlRWhUM0UA8j6sZOjQrhDTbSDQCOkjVj/YVquQ11hPNHBIvCigrrH6Qo1C08Bxc4PHUU/Kxt fBI+H4ijFfGAIgAMgYEg20Y+DGLjBqzwdDJ7ECSEaSjQUREsBjFrGHMVRMSv6QiCRL9A6zNuqcZK UrKKlCCpvtFb+foJdRNBBzl/EoPSjQSAJvy/l9REQtAeMH3pgDktdRlpHdnUo/pUWrR/toAGQXqb SL286NQsclM5QlAWMF3cKqC632zkW4VWG0NdMSf8s+aSQ4wQLhvqPQFmJ92KjQWT0BWOeUkHMQBc gB8S5WCMQFOW9P0jclWHar /lYrKuB9iD++T8LYuCyFLnp9ZTUUBfxw8WkgEEMHX4w3lhzQJvgL54 WTvGWVqXPd1sqxPPSIzjZ r8F63bfIE4xiLxofARX N9ts883ENHwHPSt+LysmeHm2kTxsWjwrwUWT 8I8xPrvVGmDNt4EOZDZUUzRurU5zB7+NNvoAkuc7RDExTDyyz5w91QAszSU0ILGR7lnht QCGj6oi CwYeW149NIxqi6pl4+PQ6w3WG5oNQslob5n75/h17AjsR1Ho3QZCEevuO8IBAIMHLEQRDwGP05uh cpDPBRMrBn7RicgQZ35GAknedUXeoCoFaCwq3xEO2PxqmXwfd30Y2iRga9Y+iBMOHvdZ4IzohK/8 qsaUOIdRQpEk/tOFh0/puOR2UIPYKiPfZ0PA3K6wKmioUqAtTJpjF1z/mDUkF9CCBumf1gGxgLMz V9keB2NIyUph8 PdBjNiHBxAQXtY4+LbIRN9XH9Em2JmsFZJK/LPnI368SHqCABTcKNFkAXvscgHf 7OnS3FefOPC8Ao96fec+HIi+uVScW1DgdCtqGS1yBNkO3OGyuVSYqt6p+F39sVa47Qcg9LCdS0TD HqMA7/R1GLpyAI7KyodVGxaAK0j/7zFe0l0nWw+U9hQDKiFwWw0MS1bsPUWQkwPpUdAM7OYC+Tzs /Oz8BTRtHmpfu4RAV9XsXShMjNacOnsIc8nIk/DwdCTsDMT/JUvu7HREixuF23XHIdSOQwvfHbpK g+jjQN2+qkJIdDgCLkjbBAWLdGb4af5yox/Qhw/T6yV+Y3NDGLLvXSbr12j sBtAm1oBF/jWxCAB0 WI2nZMAAyDecL/feuXh8Dy93Yq+ApVA3Ti2juyRgj1kVXeIHno7nQDPXj2iRdGD3N+fxQ YiMBfyd QD33cxEANl9 8GCSu F1egHtWmjhmsqYltR4FZIKjElhMkDCAJAe8sM1hZkbt09oLb dkIhinn7Edhc dBUEbPG9xS8YxoQFIlwFBU+zzwFDr1w4iwgbyGCRKw0Af1AymMDNaauWwUhcv2uQVrniQeIrktmr DjFWwpchGFbNgBubyA+GlQE7Y2PkJp8ZLDcCMcBAD4CPjl8RAA50mt4f4HeqRjFGZlhCYIdJqsEV jhddqvM0V1WJ83XOE r7nUjaLNdZN1s2CTUbArVObs2UQpexpGtPxkQHr+HRaAsDCecKGvlNRHY3 4 ypJJmu7rKKFT+Ajk5WxYF6Fd1jldgssmVc+aWNqEXSSUlWRnv5qF5irlMLsXBkORCLbNvajzq06o V6oNmZAAAC869qVXmCN7QDicBS32OzNIRyEkNqcUPLM9zQ+oiCWpWSDHhnQgGA0wGCODEHmsJTEC qA8gyCDAfERwCMF1DxY7dzb71yhj12N4WVf1NVA8wMOKTf0QK7ZqRA1DgAv6XlZb/KjALVEL17iC gWItchAOFyJRoVXdZjonU2YWSg0DJ WRMH8PwsqCTaOAnaiAnSNYFYwBdftyivwCw0l+Lz/fxuHMR PQ0PSwAsuOBahHra/LecIzxZIQVzB 2iA69xdE96sXDiuUHMLWIS7Cz lodC wlIBpnV/J5PHMmJCcy NXC JkfwmJdwlaXDcADcbVHMGYDV79th1BGfeaGg7LAnQGZvMkR4u1zZ8UIH6wgp/UiYn45zwhH0p DINBcioLMj7J2Z MechcSFAoPg6gaumYoP8ZH6UMc HkLe3FmKAjho2Cs8chO33XZKc2VC0DDrQT8H A3t4JTdIaJj39zYEOGM7u2zrQVk/JZRY8lKc wGyQMxgDNAQCdqncaEhHV0tQAyUiDDsDGJW7RcC+ JCVYETCkahnVBQP5/TArOCs4zSUcfYD8/gSozkRgeLlNDl+fVMIFsv8l+HslAEVhhgCyACeKIiwD iBKmaZrmUACEgHx4dJqmaZpwbGhkYFxpmqZpWFRQTEid+5mmREAACBUHA/iapmmWFOzk3NTMaZqm acS8tKykpmmappyUjIR8mqZpmnRsZFxUTGmapmlEODAoIKagYaYYAASaZXe6EBMIA/gT8OhpmqZp 4NzY0MimaZqmwLy4sKzYpmmapKCUjIQTXzRNZ7aXEwNsZFiapjvbUBOrQDs4MCh/kKZpIBgMDBvR QUJBeXbZbQBFA76++UEAAUHy/+4qgQRPXvtPQfVIjGD5QA37////FSkoMmExMy4mMy AsYSIg Ly8u NWEjJGEzNC9hKAIFYP9/BQ4SYSwuJSRvTExLZUEA+yfk7REEEw1AQqFBT kBKQEbM696TZmFRMSYs AzHdkG/2BRdD9zxF7GwW7MEzHgxRB/a37A0GAE9FQEEAm4RPRRQRGXGoUcQj3WQjyqEncGGdXNlg /1snAXNI2W CT3DH8XyeiEUR28 gD+/4 +l4XUnYE1IQ0gE7T90JpRCgmMC+rI0N7ciVmlnTL5e6/+7 /98ArTgzC4ADehM4quFOvgBGCuwfkCrZB8BB//3//4zH7wG4y6Noe9/++9VKdlcSBiStT+sjqLH8 zBnn////Duw+7wvaYBqRk8pn2rKW51JJ8CujUI 5mNWDl/////+pBeFzPqdQLrcyWB2tSrRJQQplE iL1EqXm2yNO+I6L0/v//P0D3YW9X1C/bjEwPeZygNA4hXbCaKiQzLyQt//+FANglLS22uv4+zmNk MmNGZG95a+vu9jlvZCK0hlY3OG8tZjtV//v/fyIoNSRBOeUrlhf2hqmaMWFlr49W/IDuTj20u/3/ /2uHxgZSB3HpQNQHvJnZwSjutgXK8Bod /5Yj/////x3IY1DRKtIw 2bzPAjjnYEn1CCNkX7cB8gGB E BsfZ////8/rhveoHFFulxJVBUPAp+CZibqSpqeMoGCXRnb//1/+gsZMlLWsVbe+GwREqKLoueKu vZhDxssNa8wD///D/3i7vsC3MMZjINxOLE15pLwFq//l6I6fCiEK/5////q3Mf3+/4c/2mm7ZuCr xHGulU RcyUV4kZWYpI/8///Ymqe5PeNeJBfthQVjaLXWvmsC5mLVeOHS8////72CGBok041Nzjy1 rr6QHMXEDj/pLqGnbb9VAkD/////4uBQSQ/DPxK2dLN7/PqTlmvQkseqRk1QV0RIT1VFSv////9R j3WcvlZHS05UQUBDQkJFQ0BEUC/EmkRER0Y2bkAkNf////8fmre3oAgvNSw1BkMCLi9JIk8lvqz+ oBI1IAwUzC1lzf+//f/ArX1EdhIXFithGHKB9xmxzPz5vHtymrLqh8R0t////79IQEd2uD4aOXIP wWRByocSaoYRzMV8eW6W/hG3/9b/ygQ9vjFFvlTFUUZ6gsgELU7P/4G5egb/// +YG5q8vz2UzMR5 eREp01BjabrQbNlQbmU4/3/7/8vNRB2 2np6/wbgdNbpuNU6HxURjHcndRHhGmv////8/OjbKfGFo KyQrOUK+lsKBQiMlRi Gs 8j7KDCVO7 okQDP// //8pGVBgE4w v+5jMfEw1woVZY7eo+/6bK0MSK0Ip /4FaXRL/t/+5v uz6nP64KU6Oyjw9yBwl/0FLqlD/3+D/HDGupD66P2XKFKUxwqM+zM1MebrL1VTg ////sba3N7pxUL4EMUMleEQ9ncxhEhARI3oq9x66////39spGFkSURdQnplCIDZZPudOwY9hRJZc oMgeRSh5////b/iBUy0n8TYpdDcMR77ynlrEqXjszAT5SVmFVVbp/7f4rVytKx0X W2VJPk68Jima jbBpFyO//f9/ew1E1U7crezgWjoBrVE9qAcYEvJC7UH sVUn/////5T1WSz5En+flPxCcQS16YJif 9odKMTdEykenLYIaatlf+P//UbhlWk7NlhX3fJhxXdZCPC1e5cyXtqJNerf/////7uW4GOKdTPgd 6dVB18p0eZOxw7CXa3miEccueSCUTXvQ////PFErUBh0gy/KvAQVhgRRBcJGEZgrQMEsjOz///+/ TUxbfcAnkQElmD/yeiHEgTVUK769FSWMJT0sGSlMv8H//5fZLR6ivoS/HxrChDWIgqrMqkvKrcKt bf //W/sGrTdoB4/RWXVR09ZaviBxSpF6 ksgUuQz+/5f+hkAWyr6uh6hzgalQcRZNFkkUGMIMtb7C J I7f4DfNCva9+n6sxQQORW HO/2/8/8y9JUnKRYB6A001DXKTqD9QyjS5eEXXNUQD/////5c /qi8O PbJCdGC1xJM9TFZqxKyCvjWwRXo1kEU3YARa/////9eLGEwx0mwKP0lNTkcSl//4F/ErGEN6Rj3Y R3+5LvW2/f///4E9VywmjrnIRdgCwrpRLOUcGvQqrdG1QZOofpmOPP+//S8zEMLBQk7Mwk/pZgD2 nCy6PCrKBnsMD33fWPj/iS t6OekRcnJu1tCBDBgBzEK2ilX/////N3gW1V9NeHE/UVEurC6awXZN qLZwepc8RlfPfdkC8vT//7/wsz7tPIafPc++R9sy9pY8RXcycrcYKhRpWyv/3/7/Sf9UV113t5Wy ArXMVXEtIVZcPE7KUMKARcgVxP+t //+ZfKyrczR+ LUCVWlJMGEgrJ29ZqN9JyXYCXej////Ch0Z6 sj1n4Gz59TGauWCFbYKwLif3OFN8GBj4Bf 5fD7HEfgO0ZRLKHEkX9cpxF 63P3/j/F0WMvjJNSVNZ yrnKxL49qudfOnbKD//////L BbhFYjLASloa0exARTLgQKiT7Lqcd073W2yGScX7RP////8JR00n L97qNX1IxPOpnX8h7+KTnYUDYU7DzreCHiZWEf////8mUssYIIyqPNgqnjkgGxh4V8m9PxWq7Eeg vj4YCMqLgP////+gQsx9UX p/PFLKP0UBjrFfPyB4eEnIPcSdeacOD4Nyxv////95nTJ0vUagr/J+ S0c975iqURJGQ4OqUp5ZxR5JRKtqFzf+/6XhHcS3KhKqnjVkZ0ahygegLJmzdf9G//8eCXkXLU8p H9ZfdXEjP2Gpu3ZynHJLYtH/C///UE30miwTzfjGAU1HNEWVmRnsLKjK iTBAVC//////NPfsXJ7Z cTVPA0vCuwKrXx9GqEmuXoEBqrn/dRbHSAL+xv9LjTFOaklYrkvRUx+g67zIPLEpS9K//TeFNK3W 3Ufy7H5WF08Er8PZDLS/wf/SUfVg8yxOvcTV4sp7Yi34MkD//7cLzhZG5bi4TZmaPVlPyghPmEXC 3bw5XP////9OqlNuMnxS/78xbGEpJVDGvSyzWFjFGr2NjTS9HIOnD/8v9f8zUFJQd7iR8ciCamMq 2R8e+/CUw8ezSHnwv8D/2TUJ/5V0BDIxtjCJfZEWFzz5zK 3///+/hN5rVcB5Lj9amUp6z2YrJX62 sAUeMkvkSqzgcdWd9P///whDRaKC9+jKGmMlZWcUSj1lp7Hwn3GZz0sp2Xv//8u/QWG+dp6+9s5G cqzWwoq+eGkYP356nD1hOv//hf8N+oW67LH/DZn/Unn/9oEvnfTWLNgsuBs9Vf9L/P9wYL51sTcg umDkNEPKn0uXPYASXO2ANzL/v8H/BBjlZ5kWia+M3 JFOtLF6tMKpQhApXXnAeKn0/7/go/ds/Z38 6cK/AXpHST9C////l013+ZzjxWW+BULCuOFPSy3+nVURPBEferE/L/8b/P+xkiVeP3b6P2QYS9Jd VOpWrrs+CjxABwS/0f//eq89mgLtRimFSGwcn50eX8N8tzBQgZVA/4X//018fg2Gzj5RKdEeQKJ9 L70p2sScIatur8J4/9b//201S9vNXZPuRyuvGEmNRU2JSUB0Rb0 m0afW+v//W7c/YLpUEHM+21G9 weVEvC8HX9tsBAF57d/4t66X lnDRgEwpbsmTwi83VyLO/ /8v9M4pU103SfRJcWO62MXscfdpVFHA g7FjU/////9cLPcTFwTelRdzhKnZKM KQAUAYr2Z8+xyBvxWeEocEhf////9CHG/WioQuhyeGNYk2 iCCKpDP4Voszi iSNHYwMjyyWbf/////WKI4ikZBukzJ2iu8o25KVlJdmlhaZHPKdd5gvXpslmsAL //+dDpyMM5o0ap9engICoTSgSRyWNd3//79epWqkfqcXTqaq++8qqVaobqsGqn6tXppErP///wsl E66xL8kcsPe12yySdLRvt7Y337m42ef3Kv/SX+i7Uro1ygWWe79tegSB/kdPEb9L////rm5LXESQ WcE5woMATzJYVUA0bqcsRDqIBRHb/7/BT2Pt2OyANOaBWUFJSTGiioHgJySFuv/2tCkB56mPloYT JCYoNAoybrf//+0zgbAHL5JKs7I3kSgiJAwm2+cRMy5tvaH/v/3/Nnc3frwyOw34DKnGwI ix Twls gW0hVxuRxqlVEv//f+td5Ih+p nEZgWwstLw0SAEfwIVggiJG9r9uMf////+6K58cnQDIR44BHqo7 mAHNoOJ4VgPIAFGBhjeGPFZoRf5G//9MX0pNDcpcRQtevN7CJ0lBT/mhXjm6hv+/8bcqMZLKbO2q WTdV2gwrDko pu1o8Y3f/En/jHqGq9mor8kOjB3SUfZf0WoUW2/8G/xFJcu2PNP4pcCJcMT4E6Yis 7ADMW/z/9m5NjhHid11TQw73vhQUyC9ZyOVh/3+JhWAMw/InniuwP1kzXPn+8qi3If/////s41rM Bk4mWXq9R49cOkkzS5UGyEoGd/rxmvc/yCBdJP//L/1Rcq0GFElJDPZhFF1lXYZNEYJxrdDsoGRR 5/3////lPkgWm4HE8bGqxC4UL5mXm Bn6aTRW5YPhVsHD25t/gf8vS1G2RhrKunUCJT6QnxERhlML Akn/hQv9EWyt8y7B1EU0OBRtfK09oHFGvND//0QSKVFYv9zsYJxeef3R33Hz9GX7QPEt fYMLi0uA FVS7W4MHiP///ws2EsuZy7o9sLf+AILKu8qQgKFRJ0iAqEPgwtv////ghE3/suseGoAc5PSdvhil wj9NQTSzhgd NA5SaEl/6/1PsdyGnIVOCCj5Cb3usjoISCzgUKvT/qw8xhPe8XNEG ergkZ/8X+lv4 H45JQgeC7NEVYDc6McjiNET/////lXkHSWKL1JupaokKgu5r7vZTBvPIH/QOqnj+5gaHTrf///// eo4/RwqegKJCEpqR2Sq+A47IF0U188qKAXQBMqCB9Bjf2ur/gybkiSqVhCxQYT88ygzAWvsV//// /3pKATV6gz0I 2RHROYm+H+j5U5w22hFVGIR6yoa2kYdy//83+Ob/7LV4xzxnU3ZRZj3KXix54nBH KH2AJvxbfKsqDE8Xi0fvUhhG8tgXFP///y+UBrZ6FudzRgkWCHqANVBy4vQsSkqLAoM2eC28if+/ 8RcfK4MfRczz6uq+Tx4LYQqsCQbH/3+rf7rh+pFDeb+5+Gbq1/zHKlA7OXU7ED mh////rWkQ9VVG GAu1CKzrLbE0YLipwKTnol6IHAf//79VXDVDtpQE9bj2LMjI3ob+DXQ0kMJnQePfaKMrpFkiHLTV QKpHkIr/v/1/Nl0MNK8Ralxwtwo9rY RXtpN wh4FFCDS1O5r/L9Dir1ute2kczC9FX4RhqPQLQvpv ///Neg26mK81HHq831kjkmgfScf6Olk0rjdWf6MStwsf+u+EbCBZrXy+F/q3+moZLO7Qnx5ZXQ6h 9H5 /RQ//////N JptO8NpEkrDhUeaEngoovMhegFyTSq5NANGIHox5jT/xv//33hfX6zDV6wQFujZ SjyZ5 ffbudpNZ4vl9Jv//7/0nJXbyg1UyA2gz4tlDuWZvV72O/fQmbklWYL+/6X/m189kWdcnfAe kNgWiNDnJ2UiZZ2/mF4IX9Tg/98FkTUMFs69Q73qd3KIHsi9Zvrf4C+uyeB2G3Vf+SvMoQB/ZRqS L////xcEPaaPXtSdUSFzc51JArGXegJKZFXmwjxEGD7b/0L/RqzztQvyxcMpeE0SWhHJP5Z20M3/ ////LoUjxUZwLYCn QxfAww58zP1H/lcfpEJjLCTKkjJsFDG/xY3+0aGaeDQIIDVJKm24HsNZ/6DU 29sdt72JP09E0lP12xv9/9+mt0JbWEmDHao/4poUoxWR3BWJFUdC/3/rbMgBF6zbikl6Tltili/M n0GJ//Tf6v/y0CE93ikmIQlDCDZNPw0h5AKC////dy5xegxRninK8aH/ZwZJ+lQ9qWBNXRncQtMU 9Rz/xv9b0sDoYfuOOYiIcvc1R0IXwUEmrWvp/xf+OLq+HDttVEjTXV0YORcXJx5VHcMaed/6/39D uRYHeoefHzlqgtdFP0QztTUF/D5+DJb/L/T/ZEgX3BfdlRL2lK7q6lHcPL03W1RUGRdG/////5M2 VHDN1uEN76rqEiYYMf0jzLZViABFF3f8NUgREG5V1f8 b/ERZbINZp6nbMbAlJ 80mhdEW4Tco8L+/ 7dG8/FHNF+mDxq3LQL/w///FnZ8RiwCphMlAM6tEMlp5KYYvS0ZaaovJFP+3///iFEtZDsyPIq9x hxOBWNBlH7wEzTFN5gsnLa6IX+D//59XUg40i09CqSTdOwfwGCmUzBEUY0rx9P4v9P9BE+z0Y035 h Djyq3bbcoF5QjVgAcF9Qr/9/7dDuFdCgssJvjHo3jvtTfdGh4ohQKPoV1/g2/8cTanQCxITIvcU jkTivWE4rIC9rt/oL/SAVT8LWbkK9L5 Tw3tEqX2vL/X/W/9zPUu+nP56o4BxqlvLX1tSwf+/1P+g 6R63mNhaiFo2S7a+uGFYAEKLdclPB8n//7/EoWIdhU6+u000+L0X0NmxLSUZgvIRwv4F//8v9ZpV QUJ6QGIEJoYBUs0ePzrqjK5HSb+d+/X/C//ZTTcVc1HJLEyqKfwW6uRBS01gn3tL////L7fZqhKy 5OPXD6waxE0E2FMYPAWpjPzFuE/ZpEf/Ut/6RDk2U5r59K1liEG10kLkTmDV1v+t/ndtsInZOUPA VKpP0cqlqG+hTvf+Cxf4mUvLPfHUJr5nTUzJzD66t/3//6VSQzVoCjVWQ0q2l0rMcrZCh6ppZLk+ Kv8v9EuInnKf qlxDtpJinryD+o+8Yr/C///bSp5KVk6f9GK2Sp/PnvkQyyrXzNmvQnz//63/gJwv /rEYagxpK0WSr8pJkqFFrUKcwej6gX+D//9KsfNCJ8NzH0DjbcTobkx6e2LA1xkBYrX9////T0dk nyPoSVmZCsqXGhmig5pXvHnGCzS3H4iDOzSZ////L3R2AVF5LWxu8O8W+1HKgEJtmOQswG5DfoCj Qq3j////yFMyDp6ZowOhKwEGHvpcQA9V+xGh5GronjMMkv//36pTVWRXEHGztMtV UMlVSQA8yQcu 0zOz/41+68wIvIJrhLd aF0OCMmHHSSIDWv7/X+qtp+hAgFvCUrnh8ZDE+ngcM KLenjee1/y/1A2e D2q/VQvMNRBClstF3JH4v8UbnUvJRY6KM7RGHJ4JgHWX////30FOUfgDnsRs9/d5J0fO615R/DBq ptu9GPr5UvnB/7/U//yMkS4JM0IrORjVEDQC8ZdGzrkRSlJuIHzr//8ZY8FqFc5VR8j1AS9TzSoW VAcaEpV6RKP61 v9v8VwAEuivRElGdrSi+DagdIbiVhv/b5Qrp+BBXCiBvMG2Fr8CuUT+L/3/gt9n TifgQ1 qAwcSPzYk+1rkY2aFygIIdf//2/60ywKDE7DTeq8C4REtXJERXuSw8Ten/////A1ZGv+hR ZELOn59Hsb58RVHtNREHOhk0PYIQF//hIxf/jd76tzRKSxgZ6x2znu1bEQn2HZ573+IX+EQjGapO Cl8Qvnlm6ZG2mVo3+lv/gUIfGPkJ7kpPtXzH0St9m8Yu+v///5KWzEBcUVARbkURdbbPryxZkh9F TsTj6mpxGroP/xf+Nzl6YFPOrMY8Ud+kVxFtVzQ4ylEWwfS3+O3WHGvDdBEETtFYniEkJ9+n/1/i bywnYadLNhkZG8Bb4u0RWkBZ/YftW/z//1CJFExlnzjxXFQ3chb5K2nLPCgavxuDX/gFFvqNeYlb emNDK6kbgAan ////l1VhaF+QKYzlULQZe5CDDv8j1FFiH6sbxEkykP1f+v+WQJCrjSw y9RFgqwS9 drqunK9O/o5hRVD/rf5LZXBqgOR9BifAUZ7s4jc9pQnY+/9f+GoHzMMG8jH6nrP7RxIJa31HRQGe QorJPo3+/38svElziCe2mJoL9Ro rbLSTgxwDTt50/1/g/0g7gKr/149HXITVbCo19w3WeoVhyrL8 Jf/////b2OXpl5B3iTlRkqlKt5qwnO7M1FflcVxjTxSpS8rcQf//wv9sYFzrkU1u8QQGDl2p/08B JzS64wqrM7FULf9fWOiztwTq/Rg1dszMBNTC94rqRKZ/ib/198giCcZFmxOm/zEQQYCrKQw5//// /zSo0SdroZ1K6ySmse5NYdV+bw5drPe01KS6UWEQHcuU//9v/7haCjfADqc0EwWoRXFW1O6astEN rjyxc7Y8ra3E/1/ihofC4RrgUJq8t8dI+qAGBGhG///fugWtnqip+fTwJh5IQ619cKp8kbcn56yt ql/i/6UxsUJzDim4X6ruONnNjTUdai5SX+D/NzxzgaTJBKXDMf/VWjqcv8v/v 8D/UD1sl52XWU0h nEdeq1ft+CBEGWFJHKWh////WC9ueapnPD EYYzSk7hU3WOBUMCmNQUFrYS//v9R/SL/ap2nNUUCl ICUHKC0kWEG/HxIkNf///0ZGLigu8rft/E4WMyhGWwIzZEoupB73AGZ/qb/UBhW4KgIuNEwtz5y3 gPczVwTw//8vViQ sMRFoKUwJ8H6aL3AxB3ckSNIv9S/tLiJjv6efmt9JJDIyVWCXuP3/MiQJIC8l Dn/6hD5FJC8iIP4uvwmA/1ZArSU0LTkPICyW/7/AfyUlM4KPQ6cEiQDqLZcnnBUpRyU9oz/W//// G4i/LLIxOA0uXQ0oIzMgMzhzxG6cIdgAuCBOLvT//zMS SS9MwfYmEw4jKzBVBDnDkV+8BSTrS/wF Gi55KFcL2FwCFyAtxN/g/39KhvckbQBODjFbCiQ4T+aYHa5Odec1+Ld/iVFJsTYyMTMxJ7o9bYrz dLFP/+5339BRUnXzC3hFVkhAgwlTTEMySbe/SP8Z9dI4OC4NQEMiT7PlGGVDUf8v/QbHQSeAj4/N WkVyRhl2GrcRTXul/v//aVFGEc9kWkdCLW4YVmHtV0El/V/xTkodvHCr/8U5BCdj0b83IKpFYnoh byX9/y8tAyD2pSpNCgFXgUHBILpFzXFCj8yJA3lGFGG+Iahj/7dtEW3MBYG+vhbCjL6qUdEAy3vj /41HMkYGQJo0Rspfwq+9TzOs+UEr3Q7YEVCBDDKuKg6lLsEHMqVwiHMzT OEd2Le6ST3CjjU1yIQv iMJC9oQMNGEAHEwL/Ld/woBDwLxBspXCkEDMVW7 CvPlOSvFG7stDA5Sktqgii/7S/w30Q8KDRchG woZFwgg2sECOqA2X2LrvFh/Itvg1qcspbc1ANsHCb/W2wX5AVsp Gyx5FVKk2+P2/DoFRx4VoucGq qUCxO0TIaZi33x rl/0wjSIE1BMonzMV133aFcRjrshEfSb7XJQvUy///1k5JHZ3Iu DhGTvZGBhEG +BYJs+8UKTfbvzM3RshCwoJFqpkQLSCoAkQF5qr5vgC5kFujAxMlMdghaYakNec911xgm/DFMVf9 ix+DDDZIm6kHt0mq9CMAdUEKBBMPnI9R/xf2BQ0NQQAFFwARCANBFBK5yQdrGgoWEnMeMW2D1WpN 7k4ADQZcry1o8IcigaxgLLbVD0goEAxB52q1tsACzr87 DahK+C8wKC81JwDzFEVYRUSBgMAajRYI COQBADAKACRRBb9pJiCoHAFGaW5kQ0QBoPJsb3NlG0TM3hXUU2l6ZRfvf/tMTBFBDk1hcFZpZXdP Zg9ub2FvDlVubRAuA3JzIm53wy9LRW52EG9udquKjl 1WImFiGDmIuB1EDHZl2u6RipgOfVRpbUYq 4qy1VxoLUUOi27r3sQt7cF5nLUzDbl8gfkxpYnJOeUEh9kxQtFBjKEvGRDm2/WJhbEFsBmNYTGG3 PexU0ypNdQN4KBubtVtsF3JjD36wdBAH++daVh1GQ29wecVEZdqHN2sGgxclSGHnCyDdwp1FU2PZ djv5bGVuVN9wUC9oDWELCsNXK1hEHbO3RUTxb8qRtlDEyXB5TZFsW3ZngiJNE0V4aUJB8WLdaHFk H/G9WcAm/y+ZjfeGDbsFZXChNkI34sLDsDNuWpxlSXsRcaLL+xdsIPxechhUb5MVhpmiuEypDrwl exNiEQ0IY2tDhW9PRHIB42RlQ2in3F 1EbDRNb0J5dCISFCcinJ65r7UtCmOYNipSoLK9J+FUR1Bv aSgZSHvBZu1wRiZcvRMZhEOYMOg6bkVMuKwwaQlpnBakIiYEOk0YM9c4Q3UYfRk6JDlhb2ulRGUs lYQgxZVotcce45vAZxtLZXkMT3Dr3KNrMQtFag6AVlu9ABp2dWUPi8zcpYQRKXVtMAxPs80mtz9k wvhtoKJhbodzZTCKNxdrjHIQ9g dpc2S99lwJehnyzhAUoniuW1AIIjk3oSszKmEqIQJKD2azVM0g AaFVXA8WsN9OQnVmZkEPC0xvd/YZtiN3dklylCN3CoWbcVr0zAxNgsIAqG1Ztk3Xt9hiQP8EAhML ZVmWZT QXEhADq2VZlg8JFHM5v/+EvDxQRUwBA+AADwELAQeue9JsE3IqgDIEEAOCbGexkDULAjME mVvSzQcM0B40e9kb2BAHBgDAeQhAgFtkeAIYBUa4wnYrZHgBHi4v2JOgmKRwkOs2f7uwBCMgC2Au ZGF0YZgj7kK6wfsiJ3ZAvc1gG4Uu5QkAw8AGfL8pezQnQBuwew2UAABKQTwJAAAA/wAAAAAAYL4A kFAAjb4AgP//V4PN/+sQkJCQkJCQigZGiAdHAdt1B4seg+78Edty7bgBAAAAAdt1B4seg+78EdsR wAHbc+91CYseg+78Edtz5DHJg+gDcg3B4AiKBkaD8P90dInFAdt1B4seg+78EdsRyQHbdQeLHoPu /BHbEcl1IEEB23UHix6D7vwR2xHJAdtz73UJix6D7vwR23Pkg8ECgf0A8///g9EBjRQvg/38dg+K AkKIB0dJdffpY ////5CLAoPCBIkHg8cEg+kEd/EBz+lM////Xon3uQEBAACKB0cs6DwBd/eAPwF1 8osHil8EZsHoCMHAEIbEKfiA6+gB8IkHg8cFidji2Y2+AMA AAIsHCcB0RYt fBI2EMBTlAAAB81CD xwj/lozlAACVigdHCMB03In5eQcPtwdHUEe5V0jyrlX/lpDlAAAJwHQHiQODwwTr2P+WlOUAAGHp I0T//wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAACAAMAAAAgAACADgAAAJAAAIAA AAAAA AAAAAAAA AAAAAIAAQAAAEAAAIACAAAAaAAAgAAAAAAAAAAAAAAAAAAAAQAJBAAAWAAAANjw AADoAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEACQQAAIAAAADE8wAAKAEAAAAAAA AAAAAA AAAA AAAAAAAAAAAAAQAAANAAAICoAACAA AAAAAAAAAAAAAAAAAABAAkEAADAAAAA8PQAACIAAAAAAAAA AAAAAAEAMADgwAAAKAAAACAAAABAAAAAAQAEAAAAAACAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AIAAAIAAAACAgACAAAAAgACAAICAAADAwMAAgICAAAAA/wAA/wAAAP//AP8AAAD/AP8A//8AAP// /wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAIiIiIiIiIiI iIiIiIiAAACP////////////////gAAAh///////////////94AA AI 9//////////////3+AAACP9/////////////f/gAAAj/9///////////9//4AAAI//9/////// /// 3//+AAACP//9/////////f///gAAAj///9///////9////4AAAI///3d3 d3d3d3d///+AAACP //d/f39/f39/d///gAAAj/939/f39/f39/d//4AAAI/3f39/f39/f39/d/+A AACHd/f39/f39/f3 9/d3gAAAj39/f39/f39/f39/f4AAAI////////////////8AAAAI///////////////wAAAAAI // ////////////AAAAAAAI////////////8AAAAAAAAI///////////wAAAAAAAAAI////////// AA AAAAAAAAAI////////8AAAAAAAAAAAAI///////wAAAAAAAAAA AAAI//////AAAAAAAAAAAAAAAI iIiIiAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAA AP///////////////8AAAAPAAAADwAAAA8AAAAPAAAAD wAAAA8AAAAPAAAADwAAAA8AAAAPAAAAD wAAAA8AAAAPAAAADwAAAA8AAAAPAAAAH4AA AD/AAAB/4AAA//AAAf/4AAP//AAH//4AD///AB/// 4A//////////////////yMMAACgAAAAQAAAAIAAAAAEABAAAAAAAwAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAACAAACAAAAAgIAAgAAAAIAAgACAgAAAwMDAAICAgAAAAP8AAP8AAAD//wD/AAAA/wD/ AP//AAD///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAI///////wAAiP/////4AACPj////48A AI/4///4/wAAj4+IiI+PAACI9/f39/gAAI9/f39/fwAAC Pf39/f wAAAAj39/fwAAAAAI9/fwAAAA AACIiIAAAAAAAAAAAAAAAAAAAAAAAAD//wAA//8AAMABAADAAQAAwAEAAMABAADAAQAAwAEAAMAB AADAAQAA4AMAAPAHAAD4DwAA/B8AAP//AAD//wAA8MQAAAAAAQACACAgEAABAAQA6AIAAAEAEBAQ AAEABAAoAQAAAgAAAAAAAAAAAAAAAAAAALz1AACM9QAAAAAAAAAAAAAAAAAAyfUAAJz1AA AAAAAA AAAAAAA AAADW9QAApPUAAAAAAAAAAAAAAAAAAOH1AACs9QAAAAAAAAAAAAAAAAAA7PUAALT1AAAA AAAAAAAAAAAAAAAAAAAAAAAAAPb1AAAE9gAAFPYAAAAAAAAi9gAAAAAAADD2AAAAAAAAOPYAAAAA AAA5AACAAAAAAEtFUk5FTDMyLkRMTABBRFZBUEkzMi5kbGwATVNWQ1JULmRsbABVU0VSMzIuZGxs AFdTMl8zMi5kbGwAAExvYWRMaWJyYXJ5QQAAR2V0UHJvY0FkZH Jlc3MAAEV4aXRQcm9jZXNzAAAA UmVnQ2xvc2VLZXkAAABtZW1zZXQAAHdzcHJpbnRmQQAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAA AAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAA AAAAAAAAAAAAAAAAC+0ePhgYYcE0GCXGS+hzm/vlnA3L5KcCG+LxsCvtkxgkxIBvLM t/kMcx/4I3Mf+2lzH/gCubf5JXMf+B1zH/gV10gF3+gf+wLoH/si6B/7I+gf+xLo H/stIrf6KiK3 +k9Z0zDJqSwlNLafym S2784RtmnF26kaUu+i3ISlotyEw1qjnAz0BMX6oawtaKqaZNu1D6Q Woawt pHBo6kGvQGOhJQ34wspkwivVFq00ykEClMpkpS7V7rrKFcnfr94CTGP1+ImfGpH0vpWB0h4O9zhX GmFceRoQSMwaNLdnGj6cIJuvl/1goCa9dGOp4GucFBF8WDZ7bkxolWuc8t0gnnlY ivAOoXrwXKd6 o/MF3PH7qeqJVdl6yf8kNsYTabsgT0CBpQPQbm0yfzwQRMNuby7meqqyWHqqsix6qrdAbkE9zVqE dAG1IEikoYvFurUFStyq+c+atfqG66q9j5mhi8CfY55TZow6anKMoC7nmJHi3ISlPaiYkedzjDpu wpPhsNtwRRPdn4vh7k8S7lBPEu1GhabsrIW67EyFuuwJTxLtNrAEqx6PU1U90H3xD0DcMxFfzMU1 QIdICV9t38pfnzWcZZ91Corh4fyVlE9/lawU0p6Qwa6KWWNLlawNwooFYPX+w1CBEQ6u+AXM4bwF zOTWwZSlaQ6g7iEOQLIjBczkwJKyKop9K9RWfV/e4WJ7SgLtN9cIYt1YEa8viXJ920cBJn4OdNZ1 MQTJ2jVRySDcq tZG/+TJlssSCTw1md1xv1uUiJl69PHCBWSzUt9vhyjvb4colXsTh26tcJXhb4co UtWZ21IulmoXFYUKZurOJ+ykwpdnOtpR+QoHSiM6PeZNZIUujJRMTuafippAi0qQCoto2wqUGuF/ i1/jH4vsRClv9nu8n8xSop/9TCmAG4rKgDOC3Z82d86AsomVn/1BpFCkneq/YWkQv+cT96urLI+r qyz4v35gxb/jV3GrqyldTkroEL5wwXG1RVlyvnlupL4 ++9K1RVwhtUVcEqHu0m0pLz5U2RUWTMaA IIjZNGx22SQH5pIY32vSII/rSVZli+mKhZEShTHlEoUxjxKFMZAShTGkEoUxbAZEcFTW3XtPH21w raS2hYLkYsQve0JdHvCqKyrqko9y8Kde4fCLXpub3UTMYNL1H WDS8KJ0B4kZNboT/2vkv/N0Z7ES dBF6BR6ptzl+0OwFpczw7/EoTQTusvvH8RNCl+WmAwvlpgOqV6oYGqeQO8W4TidtsNY1Y6ylqeq4 Jib+rKWprqylrJI+6lePxeXmQcXl5rfRoPV7xeXm5MXl5iXLFah10WZo7lpxRA61vLqkoX7wW7W5 Kvq16IZYqnp/p6pCrqihfvVdRAny7L8GRmm/BkZGtHRKrb8GQ7yrYGCTvwZD6qvGBCRQ7spsq+F7 Ib83P86r4X v3v62nlqvhe6a/rbSFv2/0OjLzwwbJ/HLt1VPft4iAKoPdz22WwoRFSd1JNm1SipmO XAWbHeL9+muzyieMItC0VLtTiU+zMDF5PHzA/2NSZenQH6yaICRWCe9IU2jQyr8l0Nai8y8UF/gv P0rt0J44Q6/MTgbPtRXkX/e0la/JyNmv3dHEr9trF6+B1qdQzj ktUEsBAhQACgAAAAAAVAQ nPtLt NhTAcAAAwHAAAJ4AAAAAAAAAAAAgAAAAAAAAAGxldHRlci5odG1sICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgIC AgICAgICAgICAgICAgICAgICAgICAgICAgICAgI CAgICAgICAg ICAgICAgICAgICAgICAgIC AgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAucGlmUEsFBgAAAAABAAEAzAAAAHxxAAAAAA== ------=_NextPart_000_0000_A0941A6A.5EE770C0 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] ------=_NextPart_000_0000_A0941A6A.5EE770C0-- From [email protected] Sun Jan 09 04:43:03 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93083 invoked from network); 9 Jan 2011 04:43:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Jan 2011 04:43:03 -0000 Received: (qmail 34931 invoked by uid 500); 9 Jan 2011 04:43:03 -0000 Delivered-To: [email protected] Received: (qmail 34798 invoked by uid 500); 9 Jan 2011 04:43:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 34791 invoked by uid 99); 9 Jan 2011 04:42:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Jan 2011 04:42:59 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 09 Jan 2011 04:42:59 +0000 Received: (qmail 92091 invoked by uid 99); 9 Jan 2011 04:42:38 -0000 Received: from localhost.apache.org (HELO mail-wy0-f179.google.com) (161.129.204.104) (smtp-auth username mukulg, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Jan 2011 04:42:38 +0000 Received: by wyi11 with SMTP id 11so18633031wyi.38 for <[email protected]>; Sat, 08 Jan 2011 20:42:37 -0800 (PST) Received: by 161.129.204.104 with SMTP id g2mr2627670wel.3.1294548157093; Sat, 08 Jan 2011 20:42:37 -0800 (PST) MIME-Version: 1.0 Reply-To: [email protected] Received: by 161.129.204.104 with HTTP; Sat, 8 Jan 2011 20:42:15 -0800 (PST) From: Mukul Gandhi <[email protected]> Date: Sun, 9 Jan 2011 10:12:15 +0530 Message-ID: <[email protected]> Subject: XML Schema 1.1 test suite example, specifying constraints on xsi:noNamespaceSchemaLocation To: [email protected] Content-Type: text/plain; charset=UTF-8 Hello, The XML Schema 1.1 test suite (on w3.org site) specifies the following schema test. [1] <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <!-- xsi:noNamespaceSchemaLocation can be made mandatory --> <xs:element name="root"> <xs:complexType> <xs:simpleContent> <xs:extension base="xs:decimal"> <xs:attribute ref="xsi:noNamespaceSchemaLocation" use="required"/> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> </xs:schema> The test says that the above schema should be valid. But Xerces-J 2.11.0 reports the above schema as invalid and following error is produced by Xerces, when I attempt to do a schema validation test: complex010.xsd:10:82:src-resolve.4.2: Error resolving component 'xsi:noNamespaceSchemaLocation'. It was detected that 'xsi:noNamespaceSchemaLocation' is in namespace 'http://www.w3.org/2001/XMLSchema-instance', but components from this namespace are not referenceable from schema document 'complex010.xsd'. If this is the incorrect namespace, perhaps the prefix of 'xsi:noNamespaceSchemaLocation' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should beadded to 'complex010.xsd'. complex010.xsd:10:82:src-resolve: Cannot resolve the name 'xsi:noNamespaceSchemaLocation' to a(n) 'attribute declaration' component. Here are few questions and thoughts: 1. Does Xerces looks non compliant according to this test? 2. Xerces doesn't allow an attribute declaration whose targetNamespace is http://www.w3.org/2001/XMLSchema-instance. So it seems we can't do currently for example with Xerces, [2] <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.w3.org/2001/XMLSchema-instance"> <xs:attribute name="noNamespaceSchemaLocation" type="xs:anyURI" /> </xs:schema> and import this schema in the test suite schema [1] to solve this use-case. Do we have a schema somewhere on web (perhaps on www.w3.org site), from where we can import the definitions of namespace http://www.w3.org/2001/XMLSchema-instance instead of users writing a schema like [2] to provide these definitions themselves? 3. Interestingly the following schema using XML Schema 1.1 assertions seem to solve the problem for this use case, <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <!-- xsi:noNamespaceSchemaLocation can be made mandatory --> <xs:element name="root"> <xs:complexType> <xs:simpleContent> <xs:extension base="xs:decimal"> <xs:assert test="@xsi:noNamespaceSchemaLocation" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> </xs:schema> Any thoughts please. -- Regards, Mukul Gandhi --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Jan 09 16:38:07 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52838 invoked from network); 9 Jan 2011 16:38:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Jan 2011 16:38:07 -0000 Received: (qmail 96092 invoked by uid 500); 9 Jan 2011 16:38:07 -0000 Delivered-To: [email protected] Received: (qmail 95939 invoked by uid 500); 9 Jan 2011 16:38:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 95911 invoked by uid 99); 9 Jan 2011 16:38:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Jan 2011 16:38:04 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f51.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Jan 2011 16:37:58 +0000 Received: by bwz10 with SMTP id 10so11725006bwz.38 for <[email protected]>; Sun, 09 Jan 2011 08:37:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=SezCokxHswpKZd+AMXEsS+hOLL5Mg1MzucKyB+DOy8w=; b=gvE8EQSlJaag9jP7XeXDJWBuAvpZ/YrfDYUmyCvpqWaHXUZfA2MG/w3p1Ea/btb9hL pZ2hvA01OkshGzzlSup3idM8PbwyNtVC4/aK0BoI93VcB+5zFe26FS9zWry8HtiKBiJR 2+spmh9XmmPUX+qh/EGzuzyADY3qiMNm4KMs4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=C8FMXB91YoBsQv6fDagG/HJsm8lqMBxWNTeXtzBzREnDjQbEdWLac8pSczL0Y58TDb D+wfClLvwL5tqzYZifzZkO2z6LLEf96AYPZkmx/espLeVTPp+rAzgR3yK7SCuyfNvIQ7 mXBstv4qGVCpvZOI9ZZ4riQVEGDSZj/B6PrkQ= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id k5mr1739458bkq.73.1294591052519; Sun, 09 Jan 2011 08:37:32 -0800 (PST) Received: by 161.129.204.104 with HTTP; Sun, 9 Jan 2011 08:37:32 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Sun, 9 Jan 2011 16:37:32 +0000 Message-ID: <[email protected]> Subject: Re: Uploading 2.10.0 and 2.11.0 to Maven Central repo From: Martijn Verburg <[email protected]> To: j-dev <[email protected]> Content-Type: multipart/alternative; boundary=001636c59843d0981504996c77c5 --001636c59843d0981504996c77c5 Content-Type: text/plain; charset=UTF-8 Hi All, > Would you like me to raise the JIRA on this project's behalf? > > Sure, if you'd like to. You could refer to this thread if they want to see > that it's been discussed on the development mailing list. > Apologies for the long delay. I've posted the request here: https://issues.apache.org/jira/browse/INFRA-3348 and I'll wait for a response from them before continuing with any actual build file changes. I'm hoping it'll also be possible to manually upload 2.10.0 and 2.11.0 binaries that aren't currently in Maven central and to have the full release process in place for 2.12.0. Cheers, Martijn --001636c59843d0981504996c77c5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi All,<div><br></div><div><div class=3D"gmail_quote"><blockquote class=3D"= gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-= left:1ex;"><div><p><span class=3D"Apple-style-span" style=3D"font-family: m= onospace; ">&gt; Would you like me to raise the JIRA on this project&#39;s = behalf?</span></p> <div class=3D"im"> <br> </div><tt>Sure, if you&#39;d like to. You could refer to this thread if the= y want to see that it&#39;s been discussed on the development mailing list.= </tt></div></blockquote><div><br></div><div>Apologies for the long delay. = =C2=A0I&#39;ve posted the request here:=C2=A0<a href=3D"https://issues.apac= he.org/jira/browse/INFRA-3348">https://issues.apache.org/jira/browse/INFRA-= 3348</a>=C2=A0and I&#39;ll wait for a response from them before continuing = =C2=A0with any actual build file changes. =C2=A0I&#39;m hoping it&#39;ll al= so be possible to manually upload 2.10.0 and 2.11.0 binaries that aren&#39;= t currently in Maven central and to have the full release process in place = for 2.12.0.</div> <div><br></div><div>Cheers,</div><div>Martijn</div><div><br></div></div></d= iv> --001636c59843d0981504996c77c5-- From [email protected] Mon Jan 10 02:55:43 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66779 invoked from network); 10 Jan 2011 02:55:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Jan 2011 02:55:43 -0000 Received: (qmail 85201 invoked by uid 500); 10 Jan 2011 02:55:43 -0000 Delivered-To: [email protected] Received: (qmail 85085 invoked by uid 500); 10 Jan 2011 02:55:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 85078 invoked by uid 99); 10 Jan 2011 02:55:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jan 2011 02:55:41 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e2.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jan 2011 02:55:32 +0000 Received: from d01dlp02.pok.ibm.com (d01dlp02.pok.ibm.com [161.129.204.104]) by e2.ny.us.ibm.com (8.14.4/8.13.1) with ESMTP id p0A2btQR022241 for <[email protected]>; Sun, 9 Jan 2011 21:37:55 -0500 Received: from d01relay05.pok.ibm.com (d01relay05.pok.ibm.com [161.129.204.104]) by d01dlp02.pok.ibm.com (Postfix) with ESMTP id 2C6064DE8059 for <[email protected]>; Sun, 9 Jan 2011 21:52:12 -0500 (EST) Received: from d01av05.pok.ibm.com (d01av05.pok.ibm.com [161.129.204.104]) by d01relay05.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p0A2t9ME192346 for <[email protected]>; Sun, 9 Jan 2011 21:55:10 -0500 Received: from d01av05.pok.ibm.com (loopback [161.129.204.104]) by d01av05.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p0A1t7dL015536 for <[email protected]>; Sun, 9 Jan 2011 20:55:07 -0500 Received: from d25ml03.torolab.ibm.com (d25ml03.torolab.ibm.com [161.129.204.104]) by d01av05.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id p0A1t7Wc015532 for <[email protected]>; Sun, 9 Jan 2011 20:55:07 -0500 In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <OF2A3133F0.DEB2F7BB-ON852 <[email protected]> Subject: Re: Uploading 2.10.0 and 2.11.0 to Maven Central repo X-KeepSent: 30D98D1F:BF865FCC-85257814:000FDEDF; type=4; name=$KeepSent To: [email protected] X-Mailer: Lotus Notes Release 8.0.2FP1 SHF149 July 17, 2009 Message-ID: <[email protected]> From: Michael Glavassevich <[email protected]> Date: Sun, 9 Jan 2011 21:55:07 -0500 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 8.0.2FP5|April 13, 2010) at 01/09/2011 21:55:08 MIME-Version: 1.0 Content-type: multipart/alternative; Boundary="0__=0ABBF287DF9C584F8f9e8a93df938690918c0ABBF287DF9C584F" Content-Disposition: inline X-Content-Scanned: Fidelis XPS MAILER --0__=0ABBF287DF9C584F8f9e8a93df938690918c0ABBF287DF9C584F Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: quoted-printable Martijn Verburg <[email protected]> wrote on 01/09/2011 11:37:32= AM: >> Sure, if you'd like to. You could refer to this thread if they want >> to see that it's been discussed on the development mailing list. > > Apologies for the long delay. No problem. Thanks for doing this. > I've posted the request here: > https://issues.apache.org/jira/browse/INFRA-3348=A0and I'll wait for = a > response from them before continuing =A0with any actual build file > changes. =A0I'm hoping it'll also be possible to manually upload 2.10= . > 0 and 2.11.0 binaries that aren't currently in Maven central and to > have the full release process in place for 2.12.0. > > Cheers, > Martijn Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected]= --0__=0ABBF287DF9C584F8f9e8a93df938690918c0ABBF287DF9C584F Content-type: text/html; charset=ISO-8859-1 Content-Disposition: inline Content-transfer-encoding: quoted-printable <html><body> <p><tt>Martijn Verburg &lt;[email protected]&gt; wrote on 01/09/= 2011 11:37:32 AM:<br> <br> &gt;&gt; Sure, if you'd like to. You could refer to this thread if they= want <br> &gt;&gt; to see that it's been discussed on the development mailing lis= t.</tt><br> <tt>&gt; <br> &gt; Apologies for the long delay.</tt><br> <br> <tt>No problem. Thanks for doing this.</tt><br> <br> <tt>&gt; I've posted the request here:=A0<br> &gt; https://issues.apache.org/jira/browse/INFRA-3348=A0and I'll wait f= or a<br> &gt; response from them before continuing =A0with any actual build file= <br> &gt; changes. =A0I'm hoping it'll also be possible to manually upload 2= .10.<br> &gt; 0 and 2.11.0 binaries that aren't currently in Maven central and t= o <br> &gt; have the full release process in place for 2.12.0.</tt><br> <tt>&gt; <br> &gt; Cheers,</tt><br> <tt>&gt; Martijn</tt><br> <br> <tt>Michael Glavassevich<br> XML Parser Development<br> IBM Toronto Lab<br> E-mail: [email protected]</tt><br> <tt>E-mail: [email protected]</tt></body></html>= --0__=0ABBF287DF9C584F8f9e8a93df938690918c0ABBF287DF9C584F-- From [email protected] Tue Jan 11 08:42:28 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87439 invoked from network); 11 Jan 2011 08:42:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Jan 2011 08:42:28 -0000 Received: (qmail 24024 invoked by uid 500); 11 Jan 2011 08:42:28 -0000 Delivered-To: [email protected] Received: (qmail 23860 invoked by uid 500); 11 Jan 2011 08:42:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23847 invoked by uid 99); 11 Jan 2011 08:42:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Jan 2011 08:42:24 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 11 Jan 2011 08:42:24 +0000 Received: (qmail 87292 invoked by uid 99); 11 Jan 2011 08:42:03 -0000 Received: from localhost.apache.org (HELO mail-wy0-f179.google.com) (161.129.204.104) (smtp-auth username mukulg, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Jan 2011 08:42:03 +0000 Received: by wyi11 with SMTP id 11so20327773wyi.38 for <[email protected]>; Tue, 11 Jan 2011 00:42:01 -0800 (PST) Received: by 161.129.204.104 with SMTP id g32mr2978793wen.18.1294735321683; Tue, 11 Jan 2011 00:42:01 -0800 (PST) MIME-Version: 1.0 Reply-To: [email protected] Received: by 161.129.204.104 with HTTP; Tue, 11 Jan 2011 00:41:41 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> From: Mukul Gandhi <[email protected]> Date: Tue, 11 Jan 2011 14:11:41 +0530 Message-ID: <[email protected]> Subject: Re: XML Schema 1.1 test suite example, specifying constraints on xsi:noNamespaceSchemaLocation To: [email protected] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I looked at the XML Schema 1.1 structures spec at, http://www.w3.org/TR/xmlschema11-1/#sec-no-xsi (section 161.129.204.104 xsi: Not Allowed), and here's my further analysis of this issue. The spec says: <quote> The {target namespace} of an attribute declaration, whether local or top-level, must not match http://www.w3.org/2001/XMLSchema-instance (unless it is one of the four built-in declarations given in the next section). Note: This reinforces the special status of these attributes, so that they not only need not be declared to be allowed in instances, but in consequence of the rule just given must not be declared. Note: It is legal for Attribute Uses that refer to xsi: attributes to specify default or fixed value constraints (e.g. in a component corresponding to a schema document construct of the form <xs:attribute ref=3D"xsi:type" default=3D"xs:integer"/>), but the practice is not recommended; including such attribute uses will tend to mislead readers of the schema document, because the attribute uses would have no effect </quote> The quoted section above makes me believe that the test suite example that I've cited is incorrect, and it seems we don't require change in Xerces implementation to meet the conditions of the cited test case. On Sun, Jan 9, 2011 at 10:12 AM, Mukul Gandhi <[email protected]> wrote: > Hello, > =C2=A0 The XML Schema 1.1 test suite (on w3.org site) specifies the > following schema test. > > [1] > > <xs:schema xmlns:xs=3D"http://www.w3.org/2001/XMLSchema" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 xmlns:xsi= =3D"http://www.w3.org/2001/XMLSchema-instance"> > > =C2=A0 <!-- xsi:noNamespaceSchemaLocation can be made mandatory --> > > =C2=A0 <xs:element name=3D"root"> > =C2=A0 =C2=A0 =C2=A0 =C2=A0<xs:complexType> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<xs:simpleContent> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<xs:extension base= =3D"xs:decimal"> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<xs:= attribute ref=3D"xsi:noNamespaceSchemaLocation" > use=3D"required"/> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0</xs:extension> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0</xs:simpleContent> > =C2=A0 =C2=A0 =C2=A0 </xs:complexType> > =C2=A0 </xs:element> > > </xs:schema> > > The test says that the above schema should be valid. But Xerces-J > 2.11.0 reports the above schema as invalid and following error is > produced by Xerces, when I attempt to do a schema validation test: > > complex010.xsd:10:82:src-resolve.4.2: Error resolving component > 'xsi:noNamespaceSchemaLocation'. It was detected that > 'xsi:noNamespaceSchemaLocation' is in namespace > 'http://www.w3.org/2001/XMLSchema-instance', but components from this > namespace are not referenceable from schema document 'complex010.xsd'. > If this is the incorrect namespace, perhaps the prefix of > 'xsi:noNamespaceSchemaLocation' needs to be changed. If this is the > correct namespace, then an appropriate 'import' tag should beadded to > 'complex010.xsd'. > > complex010.xsd:10:82:src-resolve: Cannot resolve the name > 'xsi:noNamespaceSchemaLocation' to a(n) 'attribute declaration' > component. > > Here are few questions and thoughts: > 1. Does Xerces looks non compliant according to this test? > 2. Xerces doesn't allow an attribute declaration whose targetNamespace > is http://www.w3.org/2001/XMLSchema-instance. So it seems we can't do > currently for example with Xerces, > > [2] > > <xs:schema xmlns:xs=3D"http://www.w3.org/2001/XMLSchema" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 targetName= space=3D"http://www.w3.org/2001/XMLSchema-instance"> > > =C2=A0 =C2=A0<xs:attribute name=3D"noNamespaceSchemaLocation" type=3D"xs:= anyURI" /> > > </xs:schema> > > and import this schema in the test suite schema [1] to solve this use-cas= e. > > Do we have a schema somewhere on web (perhaps on www.w3.org site), > from where we can import the definitions of namespace > http://www.w3.org/2001/XMLSchema-instance instead of users writing a > schema like [2] to provide these definitions themselves? > > 3. Interestingly the following schema using XML Schema 1.1 assertions > seem to solve the problem for this use case, > > <xs:schema xmlns:xs=3D"http://www.w3.org/2001/XMLSchema" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 xmlns:xsi= =3D"http://www.w3.org/2001/XMLSchema-instance"> > > =C2=A0 =C2=A0 <!-- xsi:noNamespaceSchemaLocation can be made mandatory --= > > > =C2=A0 =C2=A0 <xs:element name=3D"root"> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 <xs:complexType> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <xs:simpleContent> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<xs:extensi= on base=3D"xs:decimal"> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0<xs:assert test=3D"@xsi:noNamespaceSchemaLocation" /> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0</xs:extens= ion> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 </xs:simpleContent> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 </xs:complexType> > =C2=A0 =C2=A0 </xs:element> > > </xs:schema> > > Any thoughts please. --=20 Regards, Mukul Gandhi --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jan 11 14:27:09 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 1850 invoked from network); 11 Jan 2011 14:27:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Jan 2011 14:27:09 -0000 Received: (qmail 1595 invoked by uid 500); 11 Jan 2011 14:27:09 -0000 Delivered-To: [email protected] Received: (qmail 1446 invoked by uid 500); 11 Jan 2011 14:27:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 1439 invoked by uid 99); 11 Jan 2011 14:27:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Jan 2011 14:27:05 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e9.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Jan 2011 14:26:56 +0000 Received: from d01dlp02.pok.ibm.com (d01dlp02.pok.ibm.com [161.129.204.104]) by e9.ny.us.ibm.com (8.14.4/8.13.1) with ESMTP id p0BE2YpJ031308 for <[email protected]>; Tue, 11 Jan 2011 09:02:34 -0500 Received: from d01relay07.pok.ibm.com (d01relay07.pok.ibm.com [161.129.204.104]) by d01dlp02.pok.ibm.com (Postfix) with ESMTP id 477214DE8041 for <[email protected]>; Tue, 11 Jan 2011 09:23:32 -0500 (EST) Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [161.129.204.104]) by d01relay07.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p0BEQW0V1380386 for <[email protected]>; Tue, 11 Jan 2011 09:26:32 -0500 Received: from d01av02.pok.ibm.com (loopback [161.129.204.104]) by d01av02.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p0BEQWWg022097 for <[email protected]>; Tue, 11 Jan 2011 12:26:32 -0200 Received: from d25ml04.torolab.ibm.com (d25ml04.torolab.ibm.com [161.129.204.104]) by d01av02.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id p0BEQVO1022039 for <[email protected]>; Tue, 11 Jan 2011 12:26:31 -0200 In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Subject: Re: XML Schema 1.1 test suite example, specifying constraints on xsi:noNamespaceSchemaLocation X-KeepSent: DD3C540E:B5E9086C-85257815:004C4270; type=4; name=$KeepSent To: [email protected] X-Mailer: Lotus Notes Release 8.0.2FP1 SHF149 July 17, 2009 Message-ID: <[email protected]> From: Sandy Gao <[email protected]> Date: Tue, 11 Jan 2011 09:26:29 -0500 X-MIMETrack: Serialize by Router on D25ML04/25/M/IBM(Release 8.0.2FP5|April 13, 2010) at 01/11/2011 09:26:30 MIME-Version: 1.0 Content-type: multipart/alternative; Boundary="0__=0ABBF286DFDFC4E08f9e8a93df938690918c0ABBF286DFDFC4E0" Content-Disposition: inline X-Content-Scanned: Fidelis XPS MAILER --0__=0ABBF286DFDFC4E08f9e8a93df938690918c0ABBF286DFDFC4E0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: quoted-printable Mukul, >From spec 161.129.204.104: > Note: It is legal for Attribute Uses that refer to xsi: attributes ..= . And from 161.129.204.104 > 4.2 otherwise the =B7namespace name=B7 of the =B7QName=B7 is the sam= e as one of the following: ... > 4.2.4 http://www.w3.org/2001/XMLSchema-instance. These 2 combined allow a reference to an xsi: attribute without an <import>. So I think the test is valid. > Here are few questions and thoughts: > 1. Does Xerces looks non compliant according to this test? Yes for schema 1.1. In schema 1.0 [1], the rule is specified in 3.15.3 "Schema Representati= on Constraint: QName resolution (Schema Document)". It didn't have any treatment for the built-in components, which means you couldn't even re= fer to "xs:string" without an import. This is obviously wrong. Xerces took = the position to allow references to the built-in types in the "xs" namespac= e, without needing an <import>. Schema 1.1 fixed this problem, by allowing not only references to "xs" types, but also "xsi" attributes. And not only built-in components, but= any components in those namespaces. So Xerces needs to be updated according= ly. [1] http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/#src-resolve > 2. Xerces doesn't allow an attribute declaration whose targetNamespac= e > is http://www.w3.org/2001/XMLSchema-instance. So it seems we can't do= > currently for example with Xerces, Not necessarily true. Declaring attributes in the xsi namespace is stil= l forbidden. Xerces doesn't need to change in that regard. The test is no= t declaring an attribute, but referring to one. > <xs:schema xmlns:xs=3D"http://www.w3.org/2001/XMLSchema" > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 targetNamespace=3D" http://www.w3.org/2001/XMLSchema-instance"> > > =A0 =A0<xs:attribute name=3D"noNamespaceSchemaLocation" type=3D"xs:an= yURI" /> > > </xs:schema> > > and import this schema in the test suite schema [1] to solve this use-case. This should not be necessary. See the rule cited above (from 161.129.204.104).= > Do we have a schema somewhere on web (perhaps on www.w3.org site), > from where we can import the definitions of namespace > http://www.w3.org/2001/XMLSchema-instance instead of users writing a > schema like [2] to provide these definitions themselves? a. Not necessary (see above). b. Illegal. The xsi: attributes (like xs: types) are built-in component= s, and should not be declared in schema documents. (Schema 1.1 removed the= built-in types from the schema for schemas.) See the first note you quo= ted. c. Especially not on w3.org. See [2]. [2] http://www.w3.org/blog/systeam/2008/02/08/w3c_s_excessive_dtd_traff= ic > 3. Interestingly the following schema using XML Schema 1.1 assertions= > seem to solve the problem for this use case, Yes, people can always do that. I don't think this is an interesting "u= se case". It doesn't seem to be good design to do anything with the xsi: attributes in the schema. Thanks, Sandy Gao XML Technologies, IBM Canada Editor, W3C XML Schema WG (785)312-8240 T/L 313-3255 [email protected]= --0__=0ABBF286DFDFC4E08f9e8a93df938690918c0ABBF286DFDFC4E0 Content-type: text/html; charset=ISO-8859-1 Content-Disposition: inline Content-transfer-encoding: quoted-printable <html><body> <p>Mukul,<br> <br> >From spec 161.129.204.104:<br> <br> &gt; <tt>Note: It is legal for Attribute Uses that refer to xsi: attrib= utes ...</tt><br> <br> And from 161.129.204.104<br> <br> &gt; 4.2 otherwise the =B7namespace name=B7 of the =B7QName=B7 is the = same as one of the following: ...<br> &gt; 4.2.4 <a href=3D"http://www.w3.org/2001/XMLSchema-instance">http:/= /www.w3.org/2001/XMLSchema-instance</a>.<br> <br> These 2 combined allow a reference to an xsi: attribute without an &lt;= import&gt;. So I think the test is valid.<br> <br> <tt>&gt; Here are few questions and thoughts:<br> &gt; 1. Does Xerces looks non compliant according to this test?</tt><br= > <br> <tt>Yes for schema 1.1.</tt><br> <br> <tt>In schema 1.0 [1], the rule is specified in 3.15.3 &quot;Schema Rep= resentation Constraint: QName resolution (Schema Document)&quot;. It di= dn't have any treatment for the built-in components, which means you co= uldn't even refer to &quot;xs:string&quot; without an import. This is o= bviously wrong. Xerces took the position to allow references to the bui= lt-in types in the &quot;xs&quot; namespace, without needing an &lt;imp= ort&gt;.</tt><br> <br> <tt>Schema 1.1 fixed this problem, by allowing not only references to &= quot;xs&quot; types, but also &quot;xsi&quot; attributes. And not only = built-in components, but any components in those namespaces. So Xerces = needs to be updated accordingly.</tt><br> <br> <tt>[1] </tt><tt><a href=3D"http://www.w3.org/TR/2004/REC-xmlschema-1-2= 0041028/#src-resolve">http://www.w3.org/TR/2004/REC-xmlschema-1-2004102= 8/#src-resolve</a></tt><br> <tt><br> &gt; 2. Xerces doesn't allow an attribute declaration whose targetNames= pace<br> &gt; is </tt><tt><a href=3D"http://www.w3.org/2001/XMLSchema-instance">= http://www.w3.org/2001/XMLSchema-instance</a></tt><tt>. So it seems we = can't do<br> &gt; currently for example with Xerces,</tt><br> <br> Not necessarily true. Declaring attributes in the xsi namespace is stil= l forbidden. Xerces doesn't need to change in that regard. The test is = not declaring an attribute, but referring to one.<br> <br> <tt>&gt; &lt;xs:schema xmlns:xs=3D&quot;</tt><tt><a href=3D"http://www.= w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a></tt><tt>&qu= ot;<br> &gt; =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 targetNamespace=3D&quot;</tt><= tt><a href=3D"http://www.w3.org/2001/XMLSchema-instance">http://www.w3.= org/2001/XMLSchema-instance</a></tt><tt>&quot;&gt;<br> &gt;<br> &gt; =A0 =A0&lt;xs:attribute name=3D&quot;noNamespaceSchemaLocation&quo= t; type=3D&quot;xs:anyURI&quot; /&gt;<br> &gt;<br> &gt; &lt;/xs:schema&gt;<br> &gt;<br> </tt><tt>&gt; and import this schema in the test suite schema [1] to so= lve this use-case.<br> </tt><br> <tt>This should not be necessary. See the rule cited above (from 3.17.6= .2).</tt><br> <br> <tt>&gt; Do we have a schema somewhere on web (perhaps on </tt><tt>www.= w3.org</tt><tt>&nbsp;site),<br> &gt; from where we can import the definitions of namespace<br> &gt; </tt><tt><a href=3D"http://www.w3.org/2001/XMLSchema-instance">htt= p://www.w3.org/2001/XMLSchema-instance</a></tt><tt>&nbsp;instead of use= rs writing a<br> &gt; schema like [2] to provide these definitions themselves?<br> </tt><br> <tt>a. Not necessary (see above).</tt><br> <tt>b. Illegal. The xsi: attributes (like xs: types) are built-in compo= nents, and should not be declared in schema documents. (Schema 1.1 remo= ved the built-in types from the schema for schemas.) See the first note= you quoted.</tt><br> <tt>c. Especially not on w3.org. See [2].</tt><br> <br> <tt>[2] </tt><tt><a href=3D"http://www.w3.org/blog/systeam/2008/02/08/w= 3c_s_excessive_dtd_traffic">http://www.w3.org/blog/systeam/2008/02/08/w= 3c_s_excessive_dtd_traffic</a></tt><br> <br> <tt>&gt; 3. Interestingly the following schema using XML Schema 1.1 ass= ertions<br> &gt; seem to solve the problem for this use case,<br> </tt><br> <tt>Yes, people can always do that. I don't think this is an interestin= g &quot;use case&quot;. It doesn't seem to be good design to do anythin= g with the xsi: attributes in the schema.</tt><br> <br> Thanks,<br> Sandy Gao<br> XML Technologies, IBM Canada<br> Editor, <a href=3D"http://www.w3.org/XML/Schema"><u><font color=3D"#000= 0FF">W3C XML Schema WG</font></u></a><br> (785)312-8240 T/L 313-3255<u><font color=3D"#0000FF"><br> </font></u><a href=3D"mailto:[email protected]"><u><font color=3D"#00= 00FF">[email protected]</font></u></a><br> </body></html>= --0__=0ABBF286DFDFC4E08f9e8a93df938690918c0ABBF286DFDFC4E0-- From [email protected] Wed Jan 12 09:13:50 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99657 invoked from network); 12 Jan 2011 09:13:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Jan 2011 09:13:49 -0000 Received: (qmail 65948 invoked by uid 500); 12 Jan 2011 09:13:49 -0000 Delivered-To: [email protected] Received: (qmail 65809 invoked by uid 500); 12 Jan 2011 09:13:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 65802 invoked by uid 99); 12 Jan 2011 09:13:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jan 2011 09:13:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 12 Jan 2011 09:13:45 +0000 Received: (qmail 99600 invoked by uid 99); 12 Jan 2011 09:13:23 -0000 Received: from localhost.apache.org (HELO mail-wy0-f179.google.com) (161.129.204.104) (smtp-auth username mukulg, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jan 2011 09:13:23 +0000 Received: by wyi11 with SMTP id 11so335651wyi.38 for <[email protected]>; Wed, 12 Jan 2011 01:13:21 -0800 (PST) Received: by 161.129.204.104 with SMTP id b14mr716251wel.33.1294823601358; Wed, 12 Jan 2011 01:13:21 -0800 (PST) MIME-Version: 1.0 Reply-To: [email protected] Received: by 161.129.204.104 with HTTP; Wed, 12 Jan 2011 01:13:01 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> From: Mukul Gandhi <[email protected]> Date: Wed, 12 Jan 2011 14:43:01 +0530 Message-ID: <[email protected]> Subject: Re: XML Schema 1.1 test suite example, specifying constraints on xsi:noNamespaceSchemaLocation To: [email protected] Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Hi Sandy, Thanks for your reply. It's helpful to understand the relevant issues touched upon by the test case that I cited. On Tue, Jan 11, 2011 at 7:56 PM, Sandy Gao <[email protected]> wrote: > Schema 1.1 fixed this problem, by allowing not only references to "xs" > types, but also "xsi" attributes. And not only built-in components, but any > components in those namespaces. So Xerces needs to be updated accordingly. If no one has started doing this change, can I try to implement this change into Xerces? If I'm doing this, I'll post queries on the list in case of doubts. -- Regards, Mukul Gandhi --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jan 14 06:42:00 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37567 invoked from network); 14 Jan 2011 06:41:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jan 2011 06:41:59 -0000 Received: (qmail 37240 invoked by uid 500); 14 Jan 2011 06:41:59 -0000 Delivered-To: [email protected] Received: (qmail 37107 invoked by uid 500); 14 Jan 2011 06:41:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 37100 invoked by uid 99); 14 Jan 2011 06:41:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Jan 2011 06:41:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 14 Jan 2011 06:41:56 +0000 Received: (qmail 37522 invoked by uid 99); 14 Jan 2011 06:41:36 -0000 Received: from localhost.apache.org (HELO mail-wy0-f179.google.com) (161.129.204.104) (smtp-auth username mukulg, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Jan 2011 06:41:36 +0000 Received: by wyi11 with SMTP id 11so2511890wyi.38 for <[email protected]>; Thu, 13 Jan 2011 22:41:34 -0800 (PST) Received: by 161.129.204.104 with SMTP id b14mr322340wel.33.1294987293950; Thu, 13 Jan 2011 22:41:33 -0800 (PST) MIME-Version: 1.0 Reply-To: [email protected] Received: by 161.129.204.104 with HTTP; Thu, 13 Jan 2011 22:41:13 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> From: Mukul Gandhi <[email protected]> Date: Fri, 14 Jan 2011 12:11:13 +0530 Message-ID: <[email protected]> Subject: Re: XML Schema 1.1 test suite example, specifying constraints on xsi:noNamespaceSchemaLocation To: [email protected] Content-Type: text/plain; charset=UTF-8 Hi Sandy & all, I implemented this change and committed the modifications to Xerces SVN (the svn commit: r1058860). You and other committers might review this addition to Xerces code-base, and suggest improvements if any. On Tue, Jan 11, 2011 at 7:56 PM, Sandy Gao <[email protected]> wrote: > Schema 1.1 fixed this problem, by allowing not only references to "xs" > types, but also "xsi" attributes. And not only built-in components, but any > components in those namespaces. So Xerces needs to be updated accordingly. > > Thanks, > Sandy Gao > XML Technologies, IBM Canada > Editor, W3C XML Schema WG > (785)312-8240 T/L 313-3255 > [email protected] -- Regards, Mukul Gandhi --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jan 18 19:00:51 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84945 invoked from network); 18 Jan 2011 19:00:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Jan 2011 19:00:51 -0000 Received: (qmail 839 invoked by uid 500); 18 Jan 2011 19:00:51 -0000 Delivered-To: [email protected] Received: (qmail 735 invoked by uid 500); 18 Jan 2011 19:00:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 727 invoked by uid 99); 18 Jan 2011 19:00:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jan 2011 19:00:50 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e3.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jan 2011 19:00:40 +0000 Received: from d01dlp01.pok.ibm.com (d01dlp01.pok.ibm.com [161.129.204.104]) by e3.ny.us.ibm.com (8.14.4/8.13.1) with ESMTP id p0IIfHLr007887 for <[email protected]>; Tue, 18 Jan 2011 13:41:19 -0500 Received: from d01relay05.pok.ibm.com (d01relay05.pok.ibm.com [161.129.204.104]) by d01dlp01.pok.ibm.com (Postfix) with ESMTP id 01A4D72806D for <[email protected]>; Tue, 18 Jan 2011 14:00:19 -0500 (EST) Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [161.129.204.104]) by d01relay05.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p0IJ0I99159094 for <[email protected]>; Tue, 18 Jan 2011 14:00:18 -0500 Received: from d01av01.pok.ibm.com (loopback [161.129.204.104]) by d01av01.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p0IJ0Ixd008866 for <[email protected]>; Tue, 18 Jan 2011 14:00:18 -0500 Received: from d25ml04.torolab.ibm.com (d25ml04.torolab.ibm.com [161.129.204.104]) by d01av01.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id p0IJ0IjQ008834 for <[email protected]>; Tue, 18 Jan 2011 14:00:18 -0500 In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> To: [email protected] MIME-Version: 1.0 Subject: Re: XML Schema 1.1 test suite example, specifying constraints on xsi:noNamespaceSchemaLocation X-KeepSent: 0C155109:DA857F46-8525781C:00676F4C; type=4; name=$KeepSent X-Mailer: Lotus Notes Release 8.0.2FP1 SHF149 July 17, 2009 Message-ID: <[email protected]> From: Khaled Noaman <[email protected]> Date: Tue, 18 Jan 2011 14:00:14 -0500 X-MIMETrack: Serialize by Router on D25ML04/25/M/IBM(Release 8.0.2FP5|April 13, 2010) at 01/18/2011 14:00:18, Serialize complete at 01/18/2011 14:00:18 Content-Type: multipart/alternative; boundary="=_alternative 0068664E8525781C_=" X-Content-Scanned: Fidelis XPS MAILER --=_alternative 0068664E8525781C_= Content-Type: text/plain; charset="US-ASCII" Hi Mukul, I took a look at your change. I noticed you were creating a new attribute declaration every time an xsi attribute is referenced and setting the enclosing parent property (attribute declarations with a global scope have no parent). In SchemaGrammar class, we already have a static grammar instance (1.0) representing the xsi namespace (containing declarations for the 4 known xsi attributes), so we could use a similar mechanism and have it work the same way built-in types are referenced. I have made the necessary changes and checked in the code. Regards, Khaled From: Mukul Gandhi <[email protected]> To: [email protected] Date: 01/14/2011 01:42 AM Subject: Re: XML Schema 1.1 test suite example, specifying constraints on xsi:noNamespaceSchemaLocation Hi Sandy & all, I implemented this change and committed the modifications to Xerces SVN (the svn commit: r1058860). You and other committers might review this addition to Xerces code-base, and suggest improvements if any. On Tue, Jan 11, 2011 at 7:56 PM, Sandy Gao <[email protected]> wrote: > Schema 1.1 fixed this problem, by allowing not only references to "xs" > types, but also "xsi" attributes. And not only built-in components, but any > components in those namespaces. So Xerces needs to be updated accordingly. > > Thanks, > Sandy Gao > XML Technologies, IBM Canada > Editor, W3C XML Schema WG > (785)312-8240 T/L 313-3255 > [email protected] -- Regards, Mukul Gandhi --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --=_alternative 0068664E8525781C_= Content-Type: text/html; charset="US-ASCII" <br><tt><font size=2>Hi Mukul,</font></tt> <br> <br><tt><font size=2>I took a look at your change. I noticed you were creating a new attribute declaration every time an xsi attribute is referenced and setting the enclosing parent property (attribute declarations with a global scope have no parent). In SchemaGrammar class, we already have a static grammar instance (1.0) representing the xsi namespace (containing declarations for the 4 known xsi attributes), so we could use a similar mechanism and have it work the same way built-in types are referenced. I have made the necessary changes and checked in the code.</font></tt> <br> <br><tt><font size=2>Regards,</font></tt> <br><tt><font size=2>Khaled</font></tt><font size=2 face="sans-serif"><br> <br> </font> <br> <br> <br> <table width=100%> <tr valign=top> <td><font size=1 color=#5f5f5f face="sans-serif">From:</font> <td><font size=1 face="sans-serif">Mukul Gandhi &lt;[email protected]&gt;</font> <tr valign=top> <td><font size=1 color=#5f5f5f face="sans-serif">To:</font> <td><font size=1 face="sans-serif">[email protected]</font> <tr valign=top> <td><font size=1 color=#5f5f5f face="sans-serif">Date:</font> <td><font size=1 face="sans-serif">01/14/2011 01:42 AM</font> <tr valign=top> <td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font> <td><font size=1 face="sans-serif">Re: XML Schema 1.1 test suite example, specifying constraints on xsi:noNamespaceSchemaLocation</font></table> <br> <hr noshade> <br> <br> <br><tt><font size=2>Hi Sandy &amp; all,<br> &nbsp; I implemented this change and committed the modifications to Xerces<br> SVN (the svn commit: r1058860).<br> <br> You and other committers might review this addition to Xerces<br> code-base, and suggest improvements if any.<br> <br> On Tue, Jan 11, 2011 at 7:56 PM, Sandy Gao &lt;[email protected]&gt; wrote:<br> &gt; Schema 1.1 fixed this problem, by allowing not only references to &quot;xs&quot;<br> &gt; types, but also &quot;xsi&quot; attributes. And not only built-in components, but any<br> &gt; components in those namespaces. So Xerces needs to be updated accordingly.<br> <br> <br> &gt;<br> &gt; Thanks,<br> &gt; Sandy Gao<br> &gt; XML Technologies, IBM Canada<br> &gt; Editor, W3C XML Schema WG<br> &gt; (785)312-8240 T/L 313-3255<br> &gt; [email protected]<br> <br> <br> <br> <br> -- <br> Regards,<br> Mukul Gandhi<br> <br> ---------------------------------------------------------------------<br> To unsubscribe, e-mail: [email protected]<br> For additional commands, e-mail: [email protected]<br> <br> </font></tt> <br> <br> --=_alternative 0068664E8525781C_=-- From [email protected] Wed Jan 19 04:21:04 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 96956 invoked from network); 19 Jan 2011 04:21:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jan 2011 04:21:03 -0000 Received: (qmail 85073 invoked by uid 500); 19 Jan 2011 04:21:03 -0000 Delivered-To: [email protected] Received: (qmail 84937 invoked by uid 500); 19 Jan 2011 04:21:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 84926 invoked by uid 99); 19 Jan 2011 04:21:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jan 2011 04:21:00 +0000 X-ASF-Spam-Status: No, hits=-1997.8 required=10.0 tests=ALL_TRUSTED,HTML_MESSAGE,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 19 Jan 2011 04:20:58 +0000 Received: (qmail 96897 invoked by uid 99); 19 Jan 2011 04:20:36 -0000 Received: from localhost.apache.org (HELO mail-ww0-f45.google.com) (161.129.204.104) (smtp-auth username mukulg, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jan 2011 04:20:36 +0000 Received: by wwb29 with SMTP id 29so449608wwb.14 for <[email protected]>; Tue, 18 Jan 2011 20:20:34 -0800 (PST) Received: by 161.129.204.104 with SMTP id b14mr186008wel.33.1295410833962; Tue, 18 Jan 2011 20:20:33 -0800 (PST) MIME-Version: 1.0 Reply-To: [email protected] Received: by 161.129.204.104 with HTTP; Tue, 18 Jan 2011 20:20:02 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> From: Mukul Gandhi <[email protected]> Date: Wed, 19 Jan 2011 09:50:02 +0530 Message-ID: <[email protected]> Subject: Re: XML Schema 1.1 test suite example, specifying constraints on xsi:noNamespaceSchemaLocation To: [email protected] Content-Type: multipart/alternative; boundary=0016e649847c98b79e049a2b569a X-Virus-Checked: Checked by ClamAV on apache.org --0016e649847c98b79e049a2b569a Content-Type: text/plain; charset=UTF-8 Hi Khaled, Thanks for looking at this and correcting the implementation. I've verified the changes you've committed and am happy with the functional correctness of the fixes. Many thanks. On Wed, Jan 19, 2011 at 12:30 AM, Khaled Noaman <[email protected]> wrote: > > Hi Mukul, > > I took a look at your change. I noticed you were creating a new attribute > declaration every time an xsi attribute is referenced and setting the > enclosing parent property (attribute declarations with a global scope have > no parent). In SchemaGrammar class, we already have a static grammar > instance (1.0) representing the xsi namespace (containing declarations for > the 4 known xsi attributes), so we could use a similar mechanism and have it > work the same way built-in types are referenced. I have made the necessary > changes and checked in the code. > > Regards, > Khaled > -- Regards, Mukul Gandhi --0016e649847c98b79e049a2b569a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Khaled,<br>=C2=A0=C2=A0 Thanks for looking at this and correcting the im= plementation.<br><br>I&#39;ve verified the changes you&#39;ve committed and= am happy with the functional correctness of the fixes.<br><br>Many thanks.= <br><br> <div class=3D"gmail_quote">On Wed, Jan 19, 2011 at 12:30 AM, Khaled Noaman = <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]">[email protected].= com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"mar= gin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-= left: 1ex;"> <br><tt><font size=3D"2">Hi Mukul,</font></tt> <br> <br><tt><font size=3D"2">I took a look at your change. I noticed you were c= reating a new attribute declaration every time an xsi attribute is referenced and setting the enclosing parent property (attribute declarations with a global scope have no parent). In SchemaGrammar class, we already have a static grammar instance (1.0) representing the xsi namespace (containing declarati= ons for the 4 known xsi attributes), so we could use a similar mechanism and have it work the same way built-in types are referenced. I have made the necessary changes and checked in the code.</font></tt> <br> <br><tt><font size=3D"2">Regards,</font></tt> <br><tt><font size=3D"2">Khaled</font></tt><font face=3D"sans-serif" size= =3D"2"><br></font></blockquote><br clear=3D"all"></div><br><br clear=3D"all= "><br>-- <br>Regards,<br>Mukul Gandhi<br> --0016e649847c98b79e049a2b569a-- From [email protected] Mon Jan 24 16:28:14 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48339 invoked from network); 24 Jan 2011 16:28:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jan 2011 16:28:14 -0000 Received: (qmail 36325 invoked by uid 500); 24 Jan 2011 16:28:14 -0000 Delivered-To: [email protected] Received: (qmail 35706 invoked by uid 500); 24 Jan 2011 16:28:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 35681 invoked by uid 99); 24 Jan 2011 16:28:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jan 2011 16:28:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jan 2011 16:28:07 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p0OGRj4N014987 for <[email protected]>; Mon, 24 Jan 2011 16:27:46 GMT Message-ID: <26077399.158301295886465978.JavaMail.jira@thor> Date: Mon, 24 Jan 2011 11:27:45 -0500 (EST) From: "Michael Glavassevich (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (XERCESJ-1492) maxOccurs checking broken in XML Schema 1.1 beta distribution MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org maxOccurs checking broken in XML Schema 1.1 beta distribution ------------------------------------------------------------- Key: XERCESJ-1492 URL: https://issues.apache.org/jira/browse/XERCESJ-1492 Project: Xerces2-J Issue Type: Bug Components: XML Schema 1.0 Structures, XML Schema 1.1 Structures Affects Versions: 2.11.0 Reporter: Michael Glavassevich In the XML Schema 1.1 beta distribution of Xerces-J 2.11.0, the code for checking overflow of maxOccurs is incorrect. There's an index into a table which is off by one and that's allowing more instances to go through than should be allowed. We need to increment the index before entering the loop in XSDFACM.findMatchingDecl() so that we don't match the same declaration again. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jan 24 16:30:11 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49092 invoked from network); 24 Jan 2011 16:30:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jan 2011 16:30:11 -0000 Received: (qmail 38098 invoked by uid 500); 24 Jan 2011 16:30:11 -0000 Delivered-To: [email protected] Received: (qmail 37931 invoked by uid 500); 24 Jan 2011 16:30:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 37924 invoked by uid 99); 24 Jan 2011 16:30:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jan 2011 16:30:08 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jan 2011 16:30:06 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p0OGTis4015027 for <[email protected]>; Mon, 24 Jan 2011 16:29:45 GMT Message-ID: <16217064.158401295886584856.JavaMail.jira@thor> Date: Mon, 24 Jan 2011 11:29:44 -0500 (EST) From: "Michael Glavassevich (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (XERCESJ-1492) maxOccurs checking broken in XML Schema 1.1 beta distribution In-Reply-To: <26077399.158301295886465978.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/XERCESJ-1492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Glavassevich resolved XERCESJ-1492. ------------------------------------------- Resolution: Fixed Fixed in SVN rev 1062852. > maxOccurs checking broken in XML Schema 1.1 beta distribution > ------------------------------------------------------------- > > Key: XERCESJ-1492 > URL: https://issues.apache.org/jira/browse/XERCESJ-1492 > Project: Xerces2-J > Issue Type: Bug > Components: XML Schema 1.0 Structures, XML Schema 1.1 Structures > Affects Versions: 2.11.0 > Reporter: Michael Glavassevich > > In the XML Schema 1.1 beta distribution of Xerces-J 2.11.0, the code for checking overflow of maxOccurs is incorrect. There's an index into a table which is off by one and that's allowing more instances to go through than should be allowed. We need to increment the index before entering the loop in XSDFACM.findMatchingDecl() so that we don't match the same declaration again. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jan 24 16:32:07 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49711 invoked from network); 24 Jan 2011 16:32:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jan 2011 16:32:07 -0000 Received: (qmail 39668 invoked by uid 500); 24 Jan 2011 16:32:07 -0000 Delivered-To: [email protected] Received: (qmail 39584 invoked by uid 500); 24 Jan 2011 16:32:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 39572 invoked by uid 99); 24 Jan 2011 16:32:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jan 2011 16:32:05 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jan 2011 16:32:04 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p0OGVi77015060 for <[email protected]>; Mon, 24 Jan 2011 16:31:44 GMT Message-ID: <31547999.158461295886704417.JavaMail.jira@thor> Date: Mon, 24 Jan 2011 11:31:44 -0500 (EST) From: "Michael Glavassevich (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (XERCESJ-1492) maxOccurs checking broken in XML Schema 1.1 beta distribution In-Reply-To: <26077399.158301295886465978.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/XERCESJ-1492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Glavassevich reassigned XERCESJ-1492: --------------------------------------------- Assignee: Michael Glavassevich > maxOccurs checking broken in XML Schema 1.1 beta distribution > ------------------------------------------------------------- > > Key: XERCESJ-1492 > URL: https://issues.apache.org/jira/browse/XERCESJ-1492 > Project: Xerces2-J > Issue Type: Bug > Components: XML Schema 1.0 Structures, XML Schema 1.1 Structures > Affects Versions: 2.11.0 > Reporter: Michael Glavassevich > Assignee: Michael Glavassevich > > In the XML Schema 1.1 beta distribution of Xerces-J 2.11.0, the code for checking overflow of maxOccurs is incorrect. There's an index into a table which is off by one and that's allowing more instances to go through than should be allowed. We need to increment the index before entering the loop in XSDFACM.findMatchingDecl() so that we don't match the same declaration again. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jan 24 18:33:30 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 16737 invoked from network); 24 Jan 2011 18:33:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jan 2011 18:33:29 -0000 Received: (qmail 72444 invoked by uid 500); 24 Jan 2011 18:33:29 -0000 Delivered-To: [email protected] Received: (qmail 72310 invoked by uid 500); 24 Jan 2011 18:33:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 65514 invoked by uid 500); 24 Jan 2011 18:30:44 -0000 Delivered-To: [email protected] X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:date:x-google-sender-auth :message-id:subject:from:to:content-type; bh=JYMuKHL5Nk1XX5g+ogCw5/x35jpFP5viDFJEtsTbWmc=; b=CgHHgQxU5Az6GWJXprWCB2NNPgQn8L7yAKBo2+vU02tatxrHpMsvt+ghunqSFywFt/ AVGfEUeXxLv1rZUarLqieMBd/Xgmwn/WphrRpf48FvQ0RowC3aP/MGaiFXULgmvfs/N9 NqFZ/UY3pmALLCOoLbVxXLPWCPok/VYnTjfkA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=lMYXMKHxLOkCG90ZcBCJQjtHHaEi0yEsODVq6bNTuOJ4EPnzs49venV2Qy+YeJ4gh8 6+pnqMf84e9Q9M0SgZ4Uje+mp89jVz+WIp4zRhgQND10DRbu1dAhREfj9ngYhF4lMmj/ lYIcTbSVZI+TRJzhLGM8rVLgoEbmonSPA84Bw= MIME-Version: 1.0 Sender: [email protected] Date: Mon, 24 Jan 2011 16:30:17 -0200 X-Google-Sender-Auth: bi4MC6sulRcwumjS_OjBgyDhX-c Message-ID: <[email protected]> Subject: Do Xerces developers use FindBugs? From: =?ISO-8859-1?Q?C=E9sar_Couto?= <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0016364c7c23a4cf46049a9bcadd --0016364c7c23a4cf46049a9bcadd Content-Type: text/plain; charset=ISO-8859-1 Dear developers, I am a PhD student at UFMG, Brazil and as part of my research I am making a study about the relevance of the warnings reported by the FindBugs bug finding tool. Since I am planning to use Xerces as a subject system in my research, I would like to know if Xerces's developers usually run FindBugs as part of the system development process. Thanks in advance, Cesar Couto -- http://www.decom.cefetmg.br/cesar --0016364c7c23a4cf46049a9bcadd Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Dear developers,<br><div class=3D"gmail_quote"><br>I am a PhD student at UF= MG, Brazil and as part of my research I am<br>making a study=A0 about the r= elevance of the warnings reported by the<br>FindBugs bug finding tool.<br><= br> Since I am planning to use Xerces as a subject system in my research,<br> I would like to know if Xerces&#39;s developers usually run FindBugs as<br>= <br>part of the system=A0 development process.<br><br>Thanks in advance,<br= ><br>Cesar Couto<br clear=3D"all"><br>-- <br><a href=3D"http://www.decom.ce= fetmg.br/cesar">http://www.decom.cefetmg.br/cesar</a><br> <br> </div> --0016364c7c23a4cf46049a9bcadd-- From [email protected] Tue Jan 25 06:26:30 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7009 invoked from network); 25 Jan 2011 06:26:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Jan 2011 06:26:30 -0000 Received: (qmail 71302 invoked by uid 500); 25 Jan 2011 06:26:30 -0000 Delivered-To: [email protected] Received: (qmail 71167 invoked by uid 500); 25 Jan 2011 06:26:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 71157 invoked by uid 99); 25 Jan 2011 06:26:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jan 2011 06:26:26 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e1.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jan 2011 06:26:17 +0000 Received: from d01dlp02.pok.ibm.com (d01dlp02.pok.ibm.com [161.129.204.104]) by e1.ny.us.ibm.com (8.14.4/8.13.1) with ESMTP id p0P6GdJC013284 for <[email protected]>; Tue, 25 Jan 2011 01:16:50 -0500 Received: from d01relay07.pok.ibm.com (d01relay07.pok.ibm.com [161.129.204.104]) by d01dlp02.pok.ibm.com (Postfix) with ESMTP id 2F7BA4DE8026 for <[email protected]>; Tue, 25 Jan 2011 01:22:24 -0500 (EST) Received: from d01av05.pok.ibm.com (d01av05.pok.ibm.com [161.129.204.104]) by d01relay07.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p0P6PqcA2285608 for <[email protected]>; Tue, 25 Jan 2011 01:25:52 -0500 Received: from d01av05.pok.ibm.com (loopback [161.129.204.104]) by d01av05.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p0P5PnVq031979 for <[email protected]>; Tue, 25 Jan 2011 00:25:49 -0500 Received: from d25ml03.torolab.ibm.com (d25ml03.torolab.ibm.com [161.129.204.104]) by d01av05.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id p0P5PnnW031974 for <[email protected]>; Tue, 25 Jan 2011 00:25:49 -0500 In-Reply-To: <[email protected]> References: <[email protected]> Subject: Re: Do Xerces developers use FindBugs? X-KeepSent: 878109F8:3C710516-85257823:0022E721; type=4; name=$KeepSent To: [email protected] X-Mailer: Lotus Notes Release 8.0.2FP1 SHF149 July 17, 2009 Message-ID: <[email protected]> From: Michael Glavassevich <[email protected]> Date: Tue, 25 Jan 2011 01:25:50 -0500 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 8.0.2FP5|April 13, 2010) at 01/25/2011 01:25:51 MIME-Version: 1.0 Content-type: multipart/alternative; Boundary="0__=0ABBF2B0DFB161B18f9e8a93df938690918c0ABBF2B0DFB161B1" Content-Disposition: inline X-Content-Scanned: Fidelis XPS MAILER X-Virus-Checked: Checked by ClamAV on apache.org --0__=0ABBF2B0DFB161B18f9e8a93df938690918c0ABBF2B0DFB161B1 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: quoted-printable Hi Cesar, I have used it occasionally, but it hasn't uncovered much to be concern= ed about in the code base. Thanks. Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] [email protected] wrote on 01/24/2011 01:30:17 PM: > Dear developers, > > I am a PhD student at UFMG, Brazil and as part of my research I am > making a study=A0 about the relevance of the warnings reported by the= > FindBugs bug finding tool. > > Since I am planning to use Xerces as a subject system in my research,= > I would like to know if Xerces's developers usually run FindBugs as > > part of the system=A0 development process. > > Thanks in advance, > > Cesar Couto > > -- > http://www.decom.cefetmg.br/cesar= --0__=0ABBF2B0DFB161B18f9e8a93df938690918c0ABBF2B0DFB161B1 Content-type: text/html; charset=ISO-8859-1 Content-Disposition: inline Content-transfer-encoding: quoted-printable <html><body> <p><tt>Hi </tt><tt>Cesar,</tt><br> <br> <tt>I have used it occasionally, but it hasn't uncovered much to be con= cerned about in the code base.</tt><br> <br> <tt>Thanks.</tt><br> <br> <tt>Michael Glavassevich<br> XML Parser Development<br> IBM Toronto Lab<br> E-mail: [email protected]</tt><br> <tt>E-mail: [email protected]</tt><br> <br> <tt>[email protected] wrote on 01/24/2011 01:30:17 PM:<br> <br> &gt; Dear developers,</tt><br> <tt>&gt; <br> &gt; I am a PhD student at UFMG, Brazil and as part of my research I am= <br> &gt; making a study=A0 about the relevance of the warnings reported by = the<br> &gt; FindBugs bug finding tool.<br> &gt; <br> &gt; Since I am planning to use Xerces as a subject system in my resear= ch,<br> &gt; I would like to know if Xerces's developers usually run FindBugs a= s<br> &gt; <br> &gt; part of the system=A0 development process.<br> &gt; <br> &gt; Thanks in advance,<br> &gt; <br> &gt; Cesar Couto<br> &gt; <br> &gt; -- <br> &gt; <a href=3D"http://www.decom.cefetmg.br/cesar">http://www.decom.cef= etmg.br/cesar</a></tt><tt><br> </tt></body></html>= --0__=0ABBF2B0DFB161B18f9e8a93df938690918c0ABBF2B0DFB161B1-- From [email protected] Thu Jan 27 10:34:11 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46697 invoked from network); 27 Jan 2011 10:34:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Jan 2011 10:34:11 -0000 Received: (qmail 87962 invoked by uid 500); 27 Jan 2011 10:34:10 -0000 Delivered-To: [email protected] Received: (qmail 87138 invoked by uid 500); 27 Jan 2011 10:34:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 87115 invoked by uid 99); 27 Jan 2011 10:34:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jan 2011 10:34:05 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jan 2011 10:34:05 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p0RAXik3024036 for <[email protected]>; Thu, 27 Jan 2011 10:33:45 GMT Message-ID: <788271.236291296124424872.JavaMail.jira@thor> Date: Thu, 27 Jan 2011 05:33:44 -0500 (EST) From: "Radu Coravu (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (XERCESJ-1493) Endless loop in xs:field xpath computation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Endless loop in xs:field xpath computation ------------------------------------------ Key: XERCESJ-1493 URL: https://issues.apache.org/jira/browse/XERCESJ-1493 Project: Xerces2-J Issue Type: Bug Reporter: Radu Coravu If you have something like this in your XML Schema: <xs:field xpath="&amp;#0;"/> and you try to validate it using Xerces the method: org.apache.xerces.impl.xpath.XPath.Scanner.scanExpr() will never end looping. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Jan 29 03:50:41 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25889 invoked from network); 29 Jan 2011 03:50:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Jan 2011 03:50:38 -0000 Received: (qmail 88078 invoked by uid 500); 29 Jan 2011 03:50:38 -0000 Delivered-To: [email protected] Received: (qmail 88028 invoked by uid 500); 29 Jan 2011 03:50:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 88021 invoked by uid 99); 29 Jan 2011 03:50:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Jan 2011 03:50:33 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 29 Jan 2011 03:50:32 +0000 Received: (qmail 25233 invoked by uid 99); 29 Jan 2011 03:50:11 -0000 Received: from localhost.apache.org (HELO mail-wy0-f179.google.com) (161.129.204.104) (smtp-auth username mukulg, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Jan 2011 03:50:11 +0000 Received: by wyi11 with SMTP id 11so3834593wyi.38 for <[email protected]>; Fri, 28 Jan 2011 19:50:09 -0800 (PST) Received: by 161.129.204.104 with SMTP id j59mr4353961wea.39.1296273009788; Fri, 28 Jan 2011 19:50:09 -0800 (PST) MIME-Version: 1.0 Reply-To: [email protected] Received: by 161.129.204.104 with HTTP; Fri, 28 Jan 2011 19:49:49 -0800 (PST) From: Mukul Gandhi <[email protected]> Date: Sat, 29 Jan 2011 09:19:49 +0530 Message-ID: <[email protected]> Subject: W3C XML Schema 1.1 test suite, Xerces results To: [email protected] Content-Type: text/plain; charset=UTF-8 Hi all, I thought this would have been of interest to Xerces community. Lately I've been studying the W3C XML Schema 1.1 test suite (currently only Saxonica is a contributor to those tests), and have developed a little private application to produce Xerces's compliance report against the W3C XML Schema 1.1 test suite. I've copied this latest report at, http://gandhimukul.tripod.com/xerces-j/w3c-xmlschema11-testresults.html (using the latest code-base at Xerces SVN: version r1064950) These results look good to me (keeping in mind the quantum of changes that are present in XML Schema 1.1 vis-a-vis XML Schema 1.0). Few of the non-compliances may be due to defects in the tests, very less frequently used edge cases and may be bugs into Xerces which we may need to iron out. Any comments about these reports would be great. -- Regards, Mukul Gandhi --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Jan 30 02:40:07 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83228 invoked from network); 30 Jan 2011 02:40:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Jan 2011 02:40:07 -0000 Received: (qmail 37097 invoked by uid 500); 30 Jan 2011 02:40:07 -0000 Delivered-To: [email protected] Received: (qmail 37003 invoked by uid 500); 30 Jan 2011 02:40:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 36702 invoked by uid 99); 30 Jan 2011 02:40:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Jan 2011 02:40:05 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Jan 2011 02:40:04 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p0U2dhed017970 for <[email protected]>; Sun, 30 Jan 2011 02:39:44 GMT Message-ID: <20163326.290751296355183277.JavaMail.jira@thor> Date: Sat, 29 Jan 2011 21:39:43 -0500 (EST) From: "Michael Glavassevich (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (XERCESJ-1493) Endless loop in xs:field xpath computation In-Reply-To: <788271.236291296124424872.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/XERCESJ-1493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12988530#action_12988530 ] Michael Glavassevich commented on XERCESJ-1493: ----------------------------------------------- Do you have a complete test case (i.e. XML Schema document) that you can post? Which version did you hit this with? > Endless loop in xs:field xpath computation > ------------------------------------------ > > Key: XERCESJ-1493 > URL: https://issues.apache.org/jira/browse/XERCESJ-1493 > Project: Xerces2-J > Issue Type: Bug > Reporter: Radu Coravu > Original Estimate: 2h > Remaining Estimate: 2h > > If you have something like this in your XML Schema: > <xs:field xpath="&amp;#0;"/> > and you try to validate it using Xerces the method: > org.apache.xerces.impl.xpath.XPath.Scanner.scanExpr() > will never end looping. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jan 31 14:41:37 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89491 invoked from network); 31 Jan 2011 14:41:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Jan 2011 14:41:37 -0000 Received: (qmail 21426 invoked by uid 500); 31 Jan 2011 14:41:36 -0000 Delivered-To: [email protected] Received: (qmail 21285 invoked by uid 500); 31 Jan 2011 14:41:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 21272 invoked by uid 99); 31 Jan 2011 14:41:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Jan 2011 14:41:32 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Jan 2011 14:41:31 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id 69E1418136E for <[email protected]>; Mon, 31 Jan 2011 14:41:11 +0000 (UTC) Date: Mon, 31 Jan 2011 14:41:11 +0000 (UTC) From: "Michael Glavassevich (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> In-Reply-To: <788271.236291296124424872.JavaMail.jira@thor> Subject: [jira] Commented: (XERCESJ-1493) Endless loop in xs:field xpath computation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/XERCESJ-1493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12988773#comment-12988773 ] Michael Glavassevich commented on XERCESJ-1493: ----------------------------------------------- e-mail reply from Radu: > The used Xerces version is 2.9.1. > A sample XML Schema is: <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="personnel"> <xs:complexType> <xs:sequence> </xs:sequence> </xs:complexType> <xs:unique name="unique1"> <xs:field xpath="&amp;#0;"/> </xs:unique> </xs:element> </xs:schema> > For example in our XML editor it blocks when calling this method on the > sample XML schema: > > org.apache.xerces.parsers.XMLGrammarPreparser > > public Grammar preparseGrammar(String type, XMLInputSource > is) throws XNIException, IOException > Endless loop in xs:field xpath computation > ------------------------------------------ > > Key: XERCESJ-1493 > URL: https://issues.apache.org/jira/browse/XERCESJ-1493 > Project: Xerces2-J > Issue Type: Bug > Reporter: Radu Coravu > Original Estimate: 2h > Remaining Estimate: 2h > > If you have something like this in your XML Schema: > <xs:field xpath="&amp;#0;"/> > and you try to validate it using Xerces the method: > org.apache.xerces.impl.xpath.XPath.Scanner.scanExpr() > will never end looping. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jan 31 14:45:41 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91517 invoked from network); 31 Jan 2011 14:45:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Jan 2011 14:45:41 -0000 Received: (qmail 31465 invoked by uid 500); 31 Jan 2011 14:45:40 -0000 Delivered-To: [email protected] Received: (qmail 31324 invoked by uid 500); 31 Jan 2011 14:45:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31315 invoked by uid 99); 31 Jan 2011 14:45:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Jan 2011 14:45:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Jan 2011 14:45:35 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id 9DC72181567 for <[email protected]>; Mon, 31 Jan 2011 14:45:15 +0000 (UTC) Date: Mon, 31 Jan 2011 14:45:15 +0000 (UTC) From: "Michael Glavassevich (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> In-Reply-To: <788271.236291296124424872.JavaMail.jira@thor> Subject: [jira] Resolved: (XERCESJ-1493) Endless loop in xs:field xpath computation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/XERCESJ-1493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Glavassevich resolved XERCESJ-1493. ------------------------------------------- Resolution: Duplicate I cannot reproduce this issue with the current code base. This appears to be a duplicate of XERCESJ-1280 which was fixed in Xerces-J 2.10.0. > Endless loop in xs:field xpath computation > ------------------------------------------ > > Key: XERCESJ-1493 > URL: https://issues.apache.org/jira/browse/XERCESJ-1493 > Project: Xerces2-J > Issue Type: Bug > Components: XML Schema 1.0 Structures > Affects Versions: 2.9.1 > Reporter: Radu Coravu > Original Estimate: 2h > Remaining Estimate: 2h > > If you have something like this in your XML Schema: > <xs:field xpath="&amp;#0;"/> > and you try to validate it using Xerces the method: > org.apache.xerces.impl.xpath.XPath.Scanner.scanExpr() > will never end looping. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jan 31 14:46:04 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91860 invoked from network); 31 Jan 2011 14:46:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Jan 2011 14:46:04 -0000 Received: (qmail 32064 invoked by uid 500); 31 Jan 2011 14:46:04 -0000 Delivered-To: [email protected] Received: (qmail 32008 invoked by uid 500); 31 Jan 2011 14:46:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 32000 invoked by uid 99); 31 Jan 2011 14:46:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Jan 2011 14:46:02 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Jan 2011 14:46:01 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id DA107181564 for <[email protected]>; Mon, 31 Jan 2011 14:45:11 +0000 (UTC) Date: Mon, 31 Jan 2011 14:45:11 +0000 (UTC) From: "Michael Glavassevich (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> In-Reply-To: <788271.236291296124424872.JavaMail.jira@thor> Subject: [jira] Updated: (XERCESJ-1493) Endless loop in xs:field xpath computation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/XERCESJ-1493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Glavassevich updated XERCESJ-1493: ------------------------------------------ Component/s: XML Schema 1.0 Structures Affects Version/s: 2.9.1 > Endless loop in xs:field xpath computation > ------------------------------------------ > > Key: XERCESJ-1493 > URL: https://issues.apache.org/jira/browse/XERCESJ-1493 > Project: Xerces2-J > Issue Type: Bug > Components: XML Schema 1.0 Structures > Affects Versions: 2.9.1 > Reporter: Radu Coravu > Original Estimate: 2h > Remaining Estimate: 2h > > If you have something like this in your XML Schema: > <xs:field xpath="&amp;#0;"/> > and you try to validate it using Xerces the method: > org.apache.xerces.impl.xpath.XPath.Scanner.scanExpr() > will never end looping. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jan 31 19:15:21 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51627 invoked from network); 31 Jan 2011 19:15:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Jan 2011 19:15:20 -0000 Received: (qmail 781 invoked by uid 500); 31 Jan 2011 19:15:20 -0000 Delivered-To: [email protected] Received: (qmail 671 invoked by uid 500); 31 Jan 2011 19:15:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 664 invoked by uid 99); 31 Jan 2011 19:15:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Jan 2011 19:15:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Jan 2011 19:15:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id 0B69E18340D for <[email protected]>; Mon, 31 Jan 2011 19:14:29 +0000 (UTC) Date: Mon, 31 Jan 2011 19:14:29 +0000 (UTC) From: "Michael McCandless (JIRA)" <[email protected]> To: [email protected] Message-ID: <{{EMAIL+PHONE}}> Subject: [jira] Commented: (XERCESJ-1257) buffer overflow in UTF8Reader for characters out of BMP MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/XERCESJ-1257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12988849#comment-12988849 ] Michael McCandless commented on XERCESJ-1257: --------------------------------------------- I'm still hitting this issue, in both Xerces 2.10.0 and 2.11.0, trying to parse the latest Wikipedia en dump (enwiki-20110115-pages-articles.xml). We'll just fallback to the patched JAR (based on Xerces 2.9.1)... > buffer overflow in UTF8Reader for characters out of BMP > ------------------------------------------------------- > > Key: XERCESJ-1257 > URL: https://issues.apache.org/jira/browse/XERCESJ-1257 > Project: Xerces2-J > Issue Type: Bug > Components: JAXP (javax.xml.parsers) > Affects Versions: 2.9.0 > Environment: Any > Reporter: Robert Stojnic > Assignee: Michael Glavassevich > Priority: Minor > Attachments: TestXerces.java, UTF8Reader.patch > > > There is a ArrayOutOfBoundsException in org.apache.xerces.impl.io.UTF8Reader, in read(char[],int,int) for 4-byte utf-8 chars. > Imagine a following scenario. read() has a buffer of size N, and it reads N-1 ascii chars, and stores it in the output buffer. Let the Nth char be the first byte of a 4 byte utf-8 char. The other 3 bytes are fetched by invoking read() on the input stream. From these a surrogate pair of java chars is made, however, method does not check if both chars can fit into the output buffer ... In most cases, they would fit into the ouput buffer (e.g. if there are some other multi-byte chars in the fetched text), so the bug is very rare, but it still happens. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jan 31 19:16:52 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51841 invoked from network); 31 Jan 2011 19:16:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Jan 2011 19:16:52 -0000 Received: (qmail 2677 invoked by uid 500); 31 Jan 2011 19:16:50 -0000 Delivered-To: [email protected] Received: (qmail 2051 invoked by uid 500); 31 Jan 2011 19:16:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 1892 invoked by uid 99); 31 Jan 2011 19:16:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Jan 2011 19:16:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Jan 2011 19:16:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id 07266183532 for <[email protected]>; Mon, 31 Jan 2011 19:16:29 +0000 (UTC) Date: Mon, 31 Jan 2011 19:16:29 +0000 (UTC) From: "Michael McCandless (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> Subject: [jira] Commented: (XERCESJ-1257) buffer overflow in UTF8Reader for characters out of BMP MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/XERCESJ-1257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12988852#comment-12988852 ] Michael McCandless commented on XERCESJ-1257: --------------------------------------------- Sorry, I forgot to say: detail [email protected]. > buffer overflow in UTF8Reader for characters out of BMP > ------------------------------------------------------- > > Key: XERCESJ-1257 > URL: https://issues.apache.org/jira/browse/XERCESJ-1257 > Project: Xerces2-J > Issue Type: Bug > Components: JAXP (javax.xml.parsers) > Affects Versions: 2.9.0 > Environment: Any > Reporter: Robert Stojnic > Assignee: Michael Glavassevich > Priority: Minor > Attachments: TestXerces.java, UTF8Reader.patch > > > There is a ArrayOutOfBoundsException in org.apache.xerces.impl.io.UTF8Reader, in read(char[],int,int) for 4-byte utf-8 chars. > Imagine a following scenario. read() has a buffer of size N, and it reads N-1 ascii chars, and stores it in the output buffer. Let the Nth char be the first byte of a 4 byte utf-8 char. The other 3 bytes are fetched by invoking read() on the input stream. From these a surrogate pair of java chars is made, however, method does not check if both chars can fit into the output buffer ... In most cases, they would fit into the ouput buffer (e.g. if there are some other multi-byte chars in the fetched text), so the bug is very rare, but it still happens. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jan 31 20:00:53 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66093 invoked from network); 31 Jan 2011 20:00:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Jan 2011 20:00:53 -0000 Received: (qmail 83819 invoked by uid 500); 31 Jan 2011 20:00:53 -0000 Delivered-To: [email protected] Received: (qmail 83723 invoked by uid 500); 31 Jan 2011 20:00:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 83708 invoked by uid 99); 31 Jan 2011 20:00:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Jan 2011 20:00:52 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Jan 2011 20:00:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id C4241183B0A for <[email protected]>; Mon, 31 Jan 2011 20:00:31 +0000 (UTC) Date: Mon, 31 Jan 2011 20:00:31 +0000 (UTC) From: "Michael Glavassevich (JIRA)" <[email protected]> To: [email protected] Message-ID: <{{EMAIL+PHONE}}> Subject: [jira] Created: (XERCESJ-1494) XML Schema API: Make it easier for application to persist instances of ItemPSVI MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 XML Schema API: Make it easier for application to persist instances of ItemPSVI ------------------------------------------------------------------------------- Key: XERCESJ-1494 URL: https://issues.apache.org/jira/browse/XERCESJ-1494 Project: Xerces2-J Issue Type: Improvement Components: XML Schema API Affects Versions: 2.11.0 Reporter: Michael Glavassevich Priority: Minor When an application receives instances of ItemPSVI (i.e. ElementPSVI / AttributePSVI) the scope in which they can call methods on these objects is often limited (see PSVIProvider) to start and end element callbacks. If an application wishes to persist the data held by an ItemPSVI beyond this scope it needs to make a copy. To make it easier for users to copy these objects and determine when they need to make a copy I plan on adding the following methods to ItemPSVI: /** * Returns a reference to an immutable instance with the same data * that this instance of <code>ItemPSVI</code> currently has. */ public ItemPSVI constant(); /** * Returns <code>true</code> if this specific instance of * <code>ItemPSVI</code> is immutable, otherwise <code>false</code>. */ public boolean isConstant(); -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jan 31 20:01:23 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66250 invoked from network); 31 Jan 2011 20:01:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Jan 2011 20:01:23 -0000 Received: (qmail 84162 invoked by uid 500); 31 Jan 2011 20:01:23 -0000 Delivered-To: [email protected] Received: (qmail 84060 invoked by uid 500); 31 Jan 2011 20:01:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 84046 invoked by uid 99); 31 Jan 2011 20:01:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Jan 2011 20:01:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Jan 2011 20:01:21 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id AE9EC183B07 for <[email protected]>; Mon, 31 Jan 2011 20:00:31 +0000 (UTC) Date: Mon, 31 Jan 2011 20:00:31 +0000 (UTC) From: "Michael Glavassevich (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> Subject: [jira] Updated: (XERCESJ-1494) XML Schema API: Make it easier for applications to persist instances of ItemPSVI MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/XERCESJ-1494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Glavassevich updated XERCESJ-1494: ------------------------------------------ Summary: XML Schema API: Make it easier for applications to persist instances of ItemPSVI (was: XML Schema API: Make it easier for application to persist instances of ItemPSVI) > XML Schema API: Make it easier for applications to persist instances of ItemPSVI > -------------------------------------------------------------------------------- > > Key: XERCESJ-1494 > URL: https://issues.apache.org/jira/browse/XERCESJ-1494 > Project: Xerces2-J > Issue Type: Improvement > Components: XML Schema API > Affects Versions: 2.11.0 > Reporter: Michael Glavassevich > Assignee: Michael Glavassevich > Priority: Minor > > When an application receives instances of ItemPSVI (i.e. ElementPSVI / AttributePSVI) the scope in which they can call methods on these objects is often limited (see PSVIProvider) to start and end element callbacks. If an application wishes to persist the data held by an ItemPSVI beyond this scope it needs to make a copy. To make it easier for users to copy these objects and determine when they need to make a copy I plan on adding the following methods to ItemPSVI: > /** > * Returns a reference to an immutable instance with the same data > * that this instance of <code>ItemPSVI</code> currently has. > */ > public ItemPSVI constant(); > > /** > * Returns <code>true</code> if this specific instance of > * <code>ItemPSVI</code> is immutable, otherwise <code>false</code>. > */ > public boolean isConstant(); -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jan 31 20:01:24 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66294 invoked from network); 31 Jan 2011 20:01:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Jan 2011 20:01:24 -0000 Received: (qmail 84594 invoked by uid 500); 31 Jan 2011 20:01:24 -0000 Delivered-To: [email protected] Received: (qmail 84157 invoked by uid 500); 31 Jan 2011 20:01:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 84052 invoked by uid 99); 31 Jan 2011 20:01:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Jan 2011 20:01:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Jan 2011 20:01:22 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id BEF3D183B09 for <[email protected]>; Mon, 31 Jan 2011 20:00:31 +0000 (UTC) Date: Mon, 31 Jan 2011 20:00:31 +0000 (UTC) From: "Michael Glavassevich (JIRA)" <[email protected]> To: [email protected] Message-ID: <[email protected]> Subject: [jira] Assigned: (XERCESJ-1494) XML Schema API: Make it easier for application to persist instances of ItemPSVI MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/XERCESJ-1494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Glavassevich reassigned XERCESJ-1494: --------------------------------------------- Assignee: Michael Glavassevich > XML Schema API: Make it easier for application to persist instances of ItemPSVI > ------------------------------------------------------------------------------- > > Key: XERCESJ-1494 > URL: https://issues.apache.org/jira/browse/XERCESJ-1494 > Project: Xerces2-J > Issue Type: Improvement > Components: XML Schema API > Affects Versions: 2.11.0 > Reporter: Michael Glavassevich > Assignee: Michael Glavassevich > Priority: Minor > > When an application receives instances of ItemPSVI (i.e. ElementPSVI / AttributePSVI) the scope in which they can call methods on these objects is often limited (see PSVIProvider) to start and end element callbacks. If an application wishes to persist the data held by an ItemPSVI beyond this scope it needs to make a copy. To make it easier for users to copy these objects and determine when they need to make a copy I plan on adding the following methods to ItemPSVI: > /** > * Returns a reference to an immutable instance with the same data > * that this instance of <code>ItemPSVI</code> currently has. > */ > public ItemPSVI constant(); > > /** > * Returns <code>true</code> if this specific instance of > * <code>ItemPSVI</code> is immutable, otherwise <code>false</code>. > */ > public boolean isConstant(); -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jan 31 20:33:51 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86992 invoked from network); 31 Jan 2011 20:33:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Jan 2011 20:33:50 -0000 Received: (qmail 43567 invoked by uid 500); 31 Jan 2011 20:33:50 -0000 Delivered-To: [email protected] Received: (qmail 43504 invoked by uid 500); 31 Jan 2011 20:33:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <j-dev.xerces.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 43497 invoked by uid 99); 31 Jan 2011 20:33:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Jan 2011 20:33:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hel.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Jan 2011 20:33:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [161.129.204.104]) by hel.zones.apache.org (Postfix) with ESMTP id E6775182B47 for <[email protected]>; Mon, 31 Jan 2011 20:33:28 +0000 (UTC) Date: Mon, 31 Jan 2011 20:33:28 +0000 (UTC) From: "Michael Glavassevich (JIRA)" <[email protected]> To: [email protected] Message-ID: <{{EMAIL+PHONE}}> In-Reply-To: <{{EMAIL+PHONE}}> Subject: [jira] Resolved: (XERCESJ-1494) XML Schema API: Make it easier for applications to persist instances of ItemPSVI MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/XERCESJ-1494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Glavassevich resolved XERCESJ-1494. ------------------------------------------- Resolution: Fixed Implemented in SVN rev 1065753. > XML Schema API: Make it easier for applications to persist instances of ItemPSVI > -------------------------------------------------------------------------------- > > Key: XERCESJ-1494 > URL: https://issues.apache.org/jira/browse/XERCESJ-1494 > Project: Xerces2-J > Issue Type: Improvement > Components: XML Schema API > Affects Versions: 2.11.0 > Reporter: Michael Glavassevich > Assignee: Michael Glavassevich > Priority: Minor > > When an application receives instances of ItemPSVI (i.e. ElementPSVI / AttributePSVI) the scope in which they can call methods on these objects is often limited (see PSVIProvider) to start and end element callbacks. If an application wishes to persist the data held by an ItemPSVI beyond this scope it needs to make a copy. To make it easier for users to copy these objects and determine when they need to make a copy I plan on adding the following methods to ItemPSVI: > /** > * Returns a reference to an immutable instance with the same data > * that this instance of <code>ItemPSVI</code> currently has. > */ > public ItemPSVI constant(); > > /** > * Returns <code>true</code> if this specific instance of > * <code>ItemPSVI</code> is immutable, otherwise <code>false</code>. > */ > public boolean isConstant(); -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
From [email protected] Mon Oct 03 00:54:02 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38511 invoked from network); 3 Oct 2005 00:54:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Oct 2005 00:54:02 -0000 Received: (qmail 66900 invoked by uid 500); 3 Oct 2005 00:54:01 -0000 Delivered-To: [email protected] Received: (qmail 66882 invoked by uid 500); 3 Oct 2005 00:54:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 66871 invoked by uid 99); 3 Oct 2005 00:54:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Oct 2005 17:54:01 -0700 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 02 Oct 2005 17:54:05 -0700 Received: (qmail 38485 invoked by uid 65534); 3 Oct 2005 00:53:39 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r293192 - /ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/impl/SqlMapClientImpl.java Date: Mon, 03 Oct 2005 00:53:38 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cbegin Date: Sun Oct 2 17:53:23 2005 New Revision: 293192 URL: http://svn.apache.org/viewcvs?rev=293192&view=rev Log: Fixed IBATIS-198 Call "getDataSource()" of SqlMapClientImpl will cause application to hang Modified: ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/impl/SqlMapClientImpl.java Modified: ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/impl/SqlMapClientImpl.java URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/impl/SqlMapClientImpl.java?rev=293192&r1=293191&r2=293192&view=diff ============================================================================== --- ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/impl/SqlMapClientImpl.java (original) +++ ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/impl/SqlMapClientImpl.java Sun Oct 2 17:53:23 2005 @@ -146,7 +146,7 @@ } public DataSource getDataSource() { - return getLocalSqlMapSession().getDataSource(); + return delegate.getDataSource(); } public MappedStatement getMappedStatement(String id) { From [email protected] Mon Oct 03 01:06:45 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42961 invoked from network); 3 Oct 2005 01:06:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Oct 2005 01:06:45 -0000 Received: (qmail 73143 invoked by uid 500); 3 Oct 2005 01:06:45 -0000 Delivered-To: [email protected] Received: (qmail 73119 invoked by uid 500); 3 Oct 2005 01:06:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 73108 invoked by uid 99); 3 Oct 2005 01:06:44 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Oct 2005 18:06:44 -0700 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 02 Oct 2005 18:06:49 -0700 Received: (qmail 42916 invoked by uid 65534); 3 Oct 2005 01:06:23 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r293195 - in /ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/type: BlobTypeHandlerCallback.java ClobTypeHandlerCallback.java Date: Mon, 03 Oct 2005 01:06:23 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cbegin Date: Sun Oct 2 18:06:19 2005 New Revision: 293195 URL: http://svn.apache.org/viewcvs?rev=293195&view=rev Log: Fixed IBATIS-191 operation(insert and update) Oracle's(OCI) CLOB and BLOB fail, CLOB will close tomcat, BLOB will miss any DATA Modified: ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/type/BlobTypeHandlerCallback.java ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/type/ClobTypeHandlerCallback.java Modified: ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/type/BlobTypeHandlerCallback.java URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/type/BlobTypeHandlerCallback.java?rev=293195&r1=293194&r2=293195&view=diff ============================================================================== --- ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/type/BlobTypeHandlerCallback.java (original) +++ ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/type/BlobTypeHandlerCallback.java Sun Oct 2 18:06:19 2005 @@ -21,6 +21,7 @@ import java.sql.Blob; import java.sql.SQLException; +import java.io.ByteArrayInputStream; public class BlobTypeHandlerCallback implements TypeHandlerCallback { @@ -28,7 +29,7 @@ Blob blob = getter.getBlob(); byte[] returnValue = null; if (null != blob) { - returnValue = blob.getBytes(1, (int) blob.length()); + returnValue = blob.getBytes(0, (int) blob.length()); } else { returnValue = null; } @@ -39,7 +40,8 @@ throws SQLException { if (null != parameter) { byte[] bytes = (byte[]) parameter; - setter.setBytes(bytes); + ByteArrayInputStream bis=new ByteArrayInputStream(bytes); + setter.setBinaryStream(bis,(int)(bytes.length)); } } Modified: ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/type/ClobTypeHandlerCallback.java URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/type/ClobTypeHandlerCallback.java?rev=293195&r1=293194&r2=293195&view=diff ============================================================================== --- ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/type/ClobTypeHandlerCallback.java (original) +++ ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/type/ClobTypeHandlerCallback.java Sun Oct 2 18:06:19 2005 @@ -42,7 +42,6 @@ } else { setter.setString(null); } - setter.setString((String) parameter); } public Object valueOf(String s) { From [email protected] Mon Oct 03 01:25:16 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52989 invoked from network); 3 Oct 2005 01:25:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Oct 2005 01:25:15 -0000 Received: (qmail 79980 invoked by uid 500); 3 Oct 2005 01:25:15 -0000 Delivered-To: [email protected] Received: (qmail 79951 invoked by uid 500); 3 Oct 2005 01:25:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 79940 invoked by uid 99); 3 Oct 2005 01:25:15 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Oct 2005 18:25:15 -0700 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 02 Oct 2005 18:25:20 -0700 Received: (qmail 52942 invoked by uid 65534); 3 Oct 2005 01:24:54 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r293198 - in /ibatis/trunk/java/mapper/mapper2: build/version.properties src/com/ibatis/sqlmap/engine/builder/xml/SqlMapConfigParser.java test/com/ibatis/sqlmap/maps/SqlMapConfig.properties test/com/ibatis/sqlmap/maps/SqlMapConfig.xml Date: Mon, 03 Oct 2005 01:24:53 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cbegin Date: Sun Oct 2 18:24:44 2005 New Revision: 293198 URL: http://svn.apache.org/viewcvs?rev=293198&view=rev Log: Fixed IBATIS 196 can't use dynamic replace data-source-type over IBATIS ver 2.0.9 library Modified: ibatis/trunk/java/mapper/mapper2/build/version.properties ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/builder/xml/SqlMapConfigParser.java ibatis/trunk/java/mapper/mapper2/test/com/ibatis/sqlmap/maps/SqlMapConfig.properties ibatis/trunk/java/mapper/mapper2/test/com/ibatis/sqlmap/maps/SqlMapConfig.xml Modified: ibatis/trunk/java/mapper/mapper2/build/version.properties URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/mapper/mapper2/build/version.properties?rev=293198&r1=293197&r2=293198&view=diff ============================================================================== --- ibatis/trunk/java/mapper/mapper2/build/version.properties (original) +++ ibatis/trunk/java/mapper/mapper2/build/version.properties Sun Oct 2 18:24:44 2005 @@ -1,5 +1,5 @@ #Build version info -#Sun Jul 17 21:31:13 MDT 2005 +#Sun Oct 02 19:06:43 MDT 2005 version=2.1.5 -buildDate=2005/07/17 21\:31 -buildNum=583 +buildDate=2005/10/02 19\:06 +buildNum=584 Modified: ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/builder/xml/SqlMapConfigParser.java URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/builder/xml/SqlMapConfigParser.java?rev=293198&r1=293197&r2=293198&view=diff ============================================================================== --- ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/builder/xml/SqlMapConfigParser.java (original) +++ ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/builder/xml/SqlMapConfigParser.java Sun Oct 2 18:24:44 2005 @@ -289,7 +289,7 @@ public void process(Node node) throws Exception { vars.errorCtx.setActivity("configuring the data source"); - Properties attributes = NodeletUtils.parseAttributes(node); + Properties attributes = NodeletUtils.parseAttributes(node, vars.properties); String type = attributes.getProperty("type"); type = vars.typeHandlerFactory.resolveAlias(type); Modified: ibatis/trunk/java/mapper/mapper2/test/com/ibatis/sqlmap/maps/SqlMapConfig.properties URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/mapper/mapper2/test/com/ibatis/sqlmap/maps/SqlMapConfig.properties?rev=293198&r1=293197&r2=293198&view=diff ============================================================================== --- ibatis/trunk/java/mapper/mapper2/test/com/ibatis/sqlmap/maps/SqlMapConfig.properties (original) +++ ibatis/trunk/java/mapper/mapper2/test/com/ibatis/sqlmap/maps/SqlMapConfig.properties Sun Oct 2 18:24:44 2005 @@ -4,4 +4,4 @@ password= SqlMapPath=com/ibatis/sqlmap/maps - +dataSourceType=SIMPLE Modified: ibatis/trunk/java/mapper/mapper2/test/com/ibatis/sqlmap/maps/SqlMapConfig.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/mapper/mapper2/test/com/ibatis/sqlmap/maps/SqlMapConfig.xml?rev=293198&r1=293197&r2=293198&view=diff ============================================================================== --- ibatis/trunk/java/mapper/mapper2/test/com/ibatis/sqlmap/maps/SqlMapConfig.xml (original) +++ ibatis/trunk/java/mapper/mapper2/test/com/ibatis/sqlmap/maps/SqlMapConfig.xml Sun Oct 2 18:24:44 2005 @@ -27,7 +27,7 @@ <typeHandler javaType="boolean" jdbcType="VARCHAR" callback="OuiNonBool"/> <transactionManager type="JDBC" commitRequired="false"> - <dataSource type="SIMPLE"> + <dataSource type="${dataSourceType}"> <property name="JDBC.Driver" value="${driver}"/> <property name="JDBC.ConnectionURL" value="${url}"/> <property name="JDBC.Username" value="${username}"/> From [email protected] Mon Oct 03 01:43:49 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 55385 invoked from network); 3 Oct 2005 01:43:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Oct 2005 01:43:48 -0000 Received: (qmail 85827 invoked by uid 500); 3 Oct 2005 01:43:48 -0000 Delivered-To: [email protected] Received: (qmail 85807 invoked by uid 500); 3 Oct 2005 01:43:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 85796 invoked by uid 99); 3 Oct 2005 01:43:48 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Oct 2005 18:43:48 -0700 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 02 Oct 2005 18:43:53 -0700 Received: (qmail 55351 invoked by uid 65534); 3 Oct 2005 01:43:27 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r293201 - /ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/execution/SqlExecutor.java Date: Mon, 03 Oct 2005 01:43:26 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cbegin Date: Sun Oct 2 18:43:20 2005 New Revision: 293201 URL: http://svn.apache.org/viewcvs?rev=293201&view=rev Log: Fixed IBATIS-173 Incorrect resultset retrieve when calling stored procedure Modified: ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/execution/SqlExecutor.java Modified: ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/execution/SqlExecutor.java URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/execution/SqlExecutor.java?rev=293201&r1=293200&r2=293201&view=diff ============================================================================== --- ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/execution/SqlExecutor.java (original) +++ ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/execution/SqlExecutor.java Sun Oct 2 18:43:20 2005 @@ -41,7 +41,7 @@ * Constant to let us know not to skip anything */ public static final int NO_SKIPPED_RESULTS = 0; - + /** * Constant to let us know to include all records */ @@ -53,14 +53,14 @@ /** * Execute an update - * + * * @param request - the request scope * @param conn - the database connection * @param sql - the sql statement to execute * @param parameters - the parameters for the sql statement - * + * * @return - the number of records changed - * + * * @throws SQLException - if the update fails */ public int executeUpdate(RequestScope request, Connection conn, String sql, Object[] parameters) @@ -93,12 +93,12 @@ /** * Adds a statement to a batch - * + * * @param request - the request scope * @param conn - the database connection * @param sql - the sql statement * @param parameters - the parameters for the statement - * + * * @throws SQLException - if the statement fails */ public void addBatch(RequestScope request, Connection conn, String sql, Object[] parameters) @@ -113,11 +113,11 @@ /** * Execute a batch of statements - * + * * @param session - the session scope - * + * * @return - the number of rows impacted by the batch - * + * * @throws SQLException - if a statement fails */ public int executeBatch(SessionScope session) @@ -136,7 +136,7 @@ /** * Long form of the method to execute a query - * + * * @param request - the request scope * @param conn - the database connection * @param sql - the SQL statement to execute @@ -144,7 +144,7 @@ * @param skipResults - the number of results to skip * @param maxResults - the maximum number of results to return * @param callback - the row handler for the query - * + * * @throws SQLException - if the query fails */ public void executeQuery(RequestScope request, Connection conn, String sql, Object[] parameters, @@ -178,7 +178,7 @@ errorContext.setMoreInfo("Check the statement (query failed)."); ps.execute(); - rs = ps.getResultSet(); + rs = getFirstResultSet(ps); errorContext.setMoreInfo("Check the results (failed to retrieve results)."); handleResults(request, rs, skipResults, maxResults, callback); @@ -198,14 +198,14 @@ /** * Execute a stored procedure that updates data - * + * * @param request - the request scope * @param conn - the database connection * @param sql - the SQL to call the procedure * @param parameters - the parameters for the procedure - * + * * @return - the rows impacted by the procedure - * + * * @throws SQLException - if the procedure fails */ public int executeUpdateProcedure(RequestScope request, Connection conn, String sql, Object[] parameters) @@ -247,7 +247,7 @@ /** * Execute a stored procedure - * + * * @param request - the request scope * @param conn - the database connection * @param sql - the sql to call the procedure @@ -255,7 +255,7 @@ * @param skipResults - the number of results to skip * @param maxResults - the maximum number of results to return * @param callback - a row handler for processing the results - * + * * @throws SQLException - if the procedure fails */ public void executeQueryProcedure(RequestScope request, Connection conn, String sql, Object[] parameters, @@ -285,7 +285,7 @@ errorContext.setMoreInfo("Check the statement (update procedure failed)."); cs.execute(); - rs = cs.getResultSet(); + rs = getFirstResultSet(cs); errorContext.setMoreInfo("Check the results (failed to retrieve results)."); handleResults(request, rs, skipResults, maxResults, callback); @@ -306,9 +306,29 @@ } + private ResultSet getFirstResultSet(Statement stmt) throws SQLException { + ResultSet rs = null; + boolean hasMoreResults = true; + while (hasMoreResults) { + rs = stmt.getResultSet(); + if (rs != null) { + break; + } + hasMoreResults = moveToNextResultSet(stmt); + } + return rs; + } + + private boolean moveToNextResultSet(Statement stmt) throws SQLException { + boolean moreResults; + // This is the messed up JDBC approach for determining if there are more results + moreResults = !(((stmt.getMoreResults() == false) && (stmt.getUpdateCount() == -1))); + return moreResults; + } + /** * Clean up any batches on the session - * + * * @param session - the session to clean up */ public void cleanup(SessionScope session) { @@ -423,7 +443,7 @@ /** * Getter for the batch size - * + * * @return - the batch size */ public int getSize() { @@ -432,12 +452,12 @@ /** * Add a prepared statement to the batch - * + * * @param request - the request scope * @param conn - the database connection * @param sql - the SQL to add * @param parameters - the parameters for the SQL - * + * * @throws SQLException - if the prepare for the SQL fails */ public void addBatch(RequestScope request, Connection conn, String sql, Object[] parameters) throws SQLException { @@ -459,9 +479,9 @@ /** * Execute the current session's batch - * + * * @return - the number of rows updated - * + * * @throws SQLException - if the batch fails */ public int executeBatch() throws SQLException { From [email protected] Mon Oct 03 01:47:13 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57454 invoked from network); 3 Oct 2005 01:47:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Oct 2005 01:47:13 -0000 Received: (qmail 87456 invoked by uid 500); 3 Oct 2005 01:47:13 -0000 Delivered-To: [email protected] Received: (qmail 87428 invoked by uid 500); 3 Oct 2005 01:47:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 87414 invoked by uid 99); 3 Oct 2005 01:47:13 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Oct 2005 18:47:13 -0700 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 02 Oct 2005 18:47:18 -0700 Received: (qmail 57434 invoked by uid 65534); 3 Oct 2005 01:46:52 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r293202 - /ibatis/trunk/java/mapper/mapper2/build/lib/ Date: Mon, 03 Oct 2005 01:46:52 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cbegin Date: Sun Oct 2 18:46:49 2005 New Revision: 293202 URL: http://svn.apache.org/viewcvs?rev=293202&view=rev Log: (empty) Removed: ibatis/trunk/java/mapper/mapper2/build/lib/ From [email protected] Mon Oct 03 02:03:51 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61342 invoked from network); 3 Oct 2005 02:03:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Oct 2005 02:03:50 -0000 Received: (qmail 97568 invoked by uid 500); 3 Oct 2005 02:03:46 -0000 Delivered-To: [email protected] Received: (qmail 97408 invoked by uid 500); 3 Oct 2005 02:03:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 97194 invoked by uid 99); 3 Oct 2005 02:03:44 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Oct 2005 19:03:44 -0700 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 02 Oct 2005 19:03:49 -0700 Received: (qmail 61161 invoked by uid 65534); 3 Oct 2005 02:03:23 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r293204 - in /ibatis/trunk/java/mapper/mapper2/src/com/ibatis: dao/engine/builder/xml/DaoClasspathEntityResolver.java sqlmap/engine/builder/xml/SqlMapClasspathEntityResolver.java Date: Mon, 03 Oct 2005 02:03:23 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cbegin Date: Sun Oct 2 19:03:18 2005 New Revision: 293204 URL: http://svn.apache.org/viewcvs?rev=293204&view=rev Log: Fixed IBATIS-185 SqlMapClasspathEntityResolver - Offline public ID resolution value ignored Modified: ibatis/trunk/java/mapper/mapper2/src/com/ibatis/dao/engine/builder/xml/DaoClasspathEntityResolver.java ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/builder/xml/SqlMapClasspathEntityResolver.java Modified: ibatis/trunk/java/mapper/mapper2/src/com/ibatis/dao/engine/builder/xml/DaoClasspathEntityResolver.java URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/mapper/mapper2/src/com/ibatis/dao/engine/builder/xml/DaoClasspathEntityResolver.java?rev=293204&r1=293203&r2=293204&view=diff ============================================================================== --- ibatis/trunk/java/mapper/mapper2/src/com/ibatis/dao/engine/builder/xml/DaoClasspathEntityResolver.java (original) +++ ibatis/trunk/java/mapper/mapper2/src/com/ibatis/dao/engine/builder/xml/DaoClasspathEntityResolver.java Sun Oct 2 19:03:18 2005 @@ -53,20 +53,28 @@ try { String path = (String) doctypeMap.get(publicId); - path = (String) doctypeMap.get(systemId); - if (path != null) { - InputStream in = null; - try { - in = Resources.getResourceAsStream(path); - source = new InputSource(in); - } catch (IOException e) { - // ignore, null is ok - } + source = getInputSource(path, source); + if (source == null) { + path = (String) doctypeMap.get(systemId); + source = getInputSource(path, source); } } catch (Exception e) { throw new SAXException(e.toString()); } + return source; + } + + private InputSource getInputSource(String path, InputSource source) { + if (path != null) { + InputStream in = null; + try { + in = Resources.getResourceAsStream(path); + source = new InputSource(in); + } catch (IOException e) { + // ignore, null is ok + } + } return source; } Modified: ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/builder/xml/SqlMapClasspathEntityResolver.java URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/builder/xml/SqlMapClasspathEntityResolver.java?rev=293204&r1=293203&r2=293204&view=diff ============================================================================== --- ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/builder/xml/SqlMapClasspathEntityResolver.java (original) +++ ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/builder/xml/SqlMapClasspathEntityResolver.java Sun Oct 2 19:03:18 2005 @@ -60,18 +60,26 @@ InputSource source = null; try { String path = (String) doctypeMap.get(publicId); - path = (String) doctypeMap.get(systemId); - if (path != null) { - InputStream in = null; - try { - in = Resources.getResourceAsStream(path); - source = new InputSource(in); - } catch (IOException e) { - // ignore, null is ok - } + source = getInputSource(path, source); + if (source == null) { + path = (String) doctypeMap.get(systemId); + source = getInputSource(path, source); } } catch (Exception e) { throw new SAXException(e.toString()); + } + return source; + } + + private InputSource getInputSource(String path, InputSource source) { + if (path != null) { + InputStream in = null; + try { + in = Resources.getResourceAsStream(path); + source = new InputSource(in); + } catch (IOException e) { + // ignore, null is ok + } } return source; } From [email protected] Mon Oct 03 02:18:14 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64774 invoked from network); 3 Oct 2005 02:18:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Oct 2005 02:18:14 -0000 Received: (qmail 10100 invoked by uid 500); 3 Oct 2005 02:18:14 -0000 Delivered-To: [email protected] Received: (qmail 10069 invoked by uid 500); 3 Oct 2005 02:18:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 10056 invoked by uid 99); 3 Oct 2005 02:18:13 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Oct 2005 19:18:13 -0700 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 02 Oct 2005 19:18:19 -0700 Received: (qmail 64521 invoked by uid 65534); 3 Oct 2005 02:17:53 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r293208 - /ibatis/trunk/java/mapper/mapper2/src/com/ibatis/common/jdbc/logging/ResultSetLogProxy.java Date: Mon, 03 Oct 2005 02:17:52 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cbegin Date: Sun Oct 2 19:17:49 2005 New Revision: 293208 URL: http://svn.apache.org/viewcvs?rev=293208&view=rev Log: Fixed IBATIS-175 ResultSetLogProxy doesn't log the result properly Modified: ibatis/trunk/java/mapper/mapper2/src/com/ibatis/common/jdbc/logging/ResultSetLogProxy.java Modified: ibatis/trunk/java/mapper/mapper2/src/com/ibatis/common/jdbc/logging/ResultSetLogProxy.java URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/mapper/mapper2/src/com/ibatis/common/jdbc/logging/ResultSetLogProxy.java?rev=293208&r1=293207&r2=293208&view=diff ============================================================================== --- ibatis/trunk/java/mapper/mapper2/src/com/ibatis/common/jdbc/logging/ResultSetLogProxy.java (original) +++ ibatis/trunk/java/mapper/mapper2/src/com/ibatis/common/jdbc/logging/ResultSetLogProxy.java Sun Oct 2 19:17:49 2005 @@ -52,7 +52,7 @@ // } else { // setColumn(params[0], rs.getObject(((Integer) params[0]).intValue())); } - } else if ("next".equals(method.getName())) { + } else if ("next".equals(method.getName()) || "close".equals(method.getName())) { String s = getValueString(); if (!"[]".equals(s)) { if (first) { From [email protected] Mon Oct 03 02:29:53 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66702 invoked from network); 3 Oct 2005 02:29:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Oct 2005 02:29:53 -0000 Received: (qmail 13784 invoked by uid 500); 3 Oct 2005 02:29:53 -0000 Delivered-To: [email protected] Received: (qmail 13761 invoked by uid 500); 3 Oct 2005 02:29:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 13749 invoked by uid 99); 3 Oct 2005 02:29:53 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Oct 2005 19:29:53 -0700 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 02 Oct 2005 19:29:58 -0700 Received: (qmail 66647 invoked by uid 65534); 3 Oct 2005 02:29:32 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r293211 - /ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/mapping/result/AutoResultMap.java Date: Mon, 03 Oct 2005 02:29:31 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cbegin Date: Sun Oct 2 19:29:28 2005 New Revision: 293211 URL: http://svn.apache.org/viewcvs?rev=293211&view=rev Log: Fixed IBATIS-172 implicit mapping fails on nested column aliases Modified: ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/mapping/result/AutoResultMap.java Modified: ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/mapping/result/AutoResultMap.java URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/mapping/result/AutoResultMap.java?rev=293211&r1=293210&r2=293211&view=diff ============================================================================== --- ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/mapping/result/AutoResultMap.java (original) +++ ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/mapping/result/AutoResultMap.java Sun Oct 2 19:29:28 2005 @@ -16,6 +16,8 @@ package com.ibatis.sqlmap.engine.mapping.result; import com.ibatis.common.beans.ClassInfo; +import com.ibatis.common.beans.Probe; +import com.ibatis.common.beans.ProbeFactory; import com.ibatis.common.exception.NestedRuntimeException; import com.ibatis.sqlmap.client.SqlMapException; import com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate; @@ -83,17 +85,26 @@ String columnName = rsmd.getColumnLabel(i + 1); String upperColumnName = columnName.toUpperCase(); String matchedProp = (String) propertyMap.get(upperColumnName); - if (matchedProp != null) { + Class type = null; + if (matchedProp == null) { + Probe p = ProbeFactory.getProbe(this.getResultClass()); + try { + type = p.getPropertyTypeForSetter(this.getResultClass(), columnName); + } catch (Exception e) { + //TODO - add logging to this class? + } + } else { + type = classInfo.getSetterType(matchedProp); + } + if (type != null || matchedProp != null) { BasicResultMapping resultMapping = new BasicResultMapping(); - resultMapping.setPropertyName(matchedProp); + resultMapping.setPropertyName((matchedProp != null ? matchedProp : columnName)); resultMapping.setColumnName(columnName); resultMapping.setColumnIndex(i + 1); - Class type = classInfo.getSetterType(matchedProp); - resultMapping.setTypeHandler(getDelegate().getTypeHandlerFactory().getTypeHandler(type)); + resultMapping.setTypeHandler(getDelegate().getTypeHandlerFactory().getTypeHandler(type)); //map SQL to JDBC type resultMappingList.add(resultMapping); } } - setResultMappingList(resultMappingList); } catch (SQLException e) { From [email protected] Mon Oct 03 02:38:47 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69987 invoked from network); 3 Oct 2005 02:38:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Oct 2005 02:38:47 -0000 Received: (qmail 18787 invoked by uid 500); 3 Oct 2005 02:38:47 -0000 Delivered-To: [email protected] Received: (qmail 18762 invoked by uid 500); 3 Oct 2005 02:38:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 18751 invoked by uid 99); 3 Oct 2005 02:38:47 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Oct 2005 19:38:47 -0700 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 02 Oct 2005 19:38:52 -0700 Received: (qmail 69796 invoked by uid 65534); 3 Oct 2005 02:38:26 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r293216 - /ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/builder/xml/sql-map-2.dtd Date: Mon, 03 Oct 2005 02:38:26 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cbegin Date: Sun Oct 2 19:38:23 2005 New Revision: 293216 URL: http://svn.apache.org/viewcvs?rev=293216&view=rev Log: fixed IBATIS-195 Sqlmap DTD: include tag not permitted in selectKey element Modified: ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/builder/xml/sql-map-2.dtd Modified: ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/builder/xml/sql-map-2.dtd URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/builder/xml/sql-map-2.dtd?rev=293216&r1=293215&r2=293216&view=diff ============================================================================== --- ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/builder/xml/sql-map-2.dtd (original) +++ ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/builder/xml/sql-map-2.dtd Sun Oct 2 19:38:23 2005 @@ -147,7 +147,7 @@ parameterClass CDATA #IMPLIED > -<!ELEMENT selectKey (#PCDATA) > +<!ELEMENT selectKey (#PCDATA | include)*> <!ATTLIST selectKey resultClass CDATA #IMPLIED keyProperty CDATA #IMPLIED From [email protected] Mon Oct 03 18:50:14 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26270 invoked from network); 3 Oct 2005 18:50:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Oct 2005 18:50:14 -0000 Received: (qmail 22788 invoked by uid 500); 3 Oct 2005 18:50:13 -0000 Delivered-To: [email protected] Received: (qmail 22762 invoked by uid 500); 3 Oct 2005 18:50:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 22751 invoked by uid 99); 3 Oct 2005 18:50:13 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2005 11:50:13 -0700 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 03 Oct 2005 11:50:18 -0700 Received: (qmail 26050 invoked by uid 65534); 3 Oct 2005 18:49:52 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r293429 - in /ibatis/trunk/cs/docs: dataAccessGuide/src/en/index.xml dataMapperGuide/src/en/index.xml doc.build Date: Mon, 03 Oct 2005 18:49:51 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: gbayon Date: Mon Oct 3 11:49:45 2005 New Revision: 293429 URL: http://svn.apache.org/viewcvs?rev=293429&view=rev Log: -Updated doc version to 1.7.0 & 1.3.0 Modified: ibatis/trunk/cs/docs/dataAccessGuide/src/en/index.xml ibatis/trunk/cs/docs/dataMapperGuide/src/en/index.xml ibatis/trunk/cs/docs/doc.build Modified: ibatis/trunk/cs/docs/dataAccessGuide/src/en/index.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/docs/dataAccessGuide/src/en/index.xml?rev=293429&r1=293428&r2=293429&view=diff ============================================================================== --- ibatis/trunk/cs/docs/dataAccessGuide/src/en/index.xml (original) +++ ibatis/trunk/cs/docs/dataAccessGuide/src/en/index.xml Mon Oct 3 11:49:45 2005 @@ -13,8 +13,8 @@ <bookinfo> <title>iBATIS.NET - Data Access Objects Application Framework</title> <subtitle>Data Access Objects Developer Guide</subtitle> - <releaseinfo>Version 1.6.1</releaseinfo> - <pubdate>June 9 2005</pubdate> + <releaseinfo>Version 1.7.0</releaseinfo> + <pubdate>October 3 2005</pubdate> <authorgroup> <author> <firstname>Gilles</firstname> Modified: ibatis/trunk/cs/docs/dataMapperGuide/src/en/index.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/docs/dataMapperGuide/src/en/index.xml?rev=293429&r1=293428&r2=293429&view=diff ============================================================================== --- ibatis/trunk/cs/docs/dataMapperGuide/src/en/index.xml (original) +++ ibatis/trunk/cs/docs/dataMapperGuide/src/en/index.xml Mon Oct 3 11:49:45 2005 @@ -14,8 +14,8 @@ <bookinfo> <title>iBATIS.NET - DataMapper Application Framework</title> <subtitle>DataMapper Developer Guide</subtitle> - <releaseinfo>Version 1.2.1</releaseinfo> - <pubdate>9 June 2005</pubdate> + <releaseinfo>Version 1.3.0</releaseinfo> + <pubdate>3 October 2005</pubdate> <authorgroup> <author> <firstname>Ted</firstname> Modified: ibatis/trunk/cs/docs/doc.build URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/docs/doc.build?rev=293429&r1=293428&r2=293429&view=diff ============================================================================== --- ibatis/trunk/cs/docs/doc.build (original) +++ ibatis/trunk/cs/docs/doc.build Mon Oct 3 11:49:45 2005 @@ -1,8 +1,8 @@ <?xml version="1.0" ?> <project name="iBATIS.NET reference" default="refDoc" > - <property name="project.dao.version" value="1.6.1" unless="${propertyacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bxists('project.dao.version')}" /> - <property name="project.sqlMap.version" value="1.2.1" unless="${propertyacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bxists('project.sqlMap.version')}" /> + <property name="project.dao.version" value="1.7.0" unless="${propertyacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bxists('project.dao.version')}" /> + <property name="project.sqlMap.version" value="1.3.0" unless="${propertyacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bxists('project.sqlMap.version')}" /> <property name="project.name" value="Data Access Guide" /> From [email protected] Mon Oct 03 18:51:20 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26673 invoked from network); 3 Oct 2005 18:51:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Oct 2005 18:51:20 -0000 Received: (qmail 26723 invoked by uid 500); 3 Oct 2005 18:51:20 -0000 Delivered-To: [email protected] Received: (qmail 26700 invoked by uid 500); 3 Oct 2005 18:51:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 26689 invoked by uid 99); 3 Oct 2005 18:51:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2005 11:51:19 -0700 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 03 Oct 2005 11:51:24 -0700 Received: (qmail 26470 invoked by uid 65534); 3 Oct 2005 18:50:58 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r293430 - in /ibatis/trunk/cs/mapper: ./ IBatisNet.Common/ IBatisNet.DataAccess.Test/ IBatisNet.DataAccess/ IBatisNet.DataMapper.Test/Domain/ IBatisNet.DataMapper.Test/bin/Debug/ IBatisNet.DataMapper/ Date: Mon, 03 Oct 2005 18:50:56 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: gbayon Date: Mon Oct 3 11:50:49 2005 New Revision: 293430 URL: http://svn.apache.org/viewcvs?rev=293430&view=rev Log: -Updated versions to 1.7.0 & 1.3.0 Modified: ibatis/trunk/cs/mapper/DataAccess.sln ibatis/trunk/cs/mapper/IBatisNet.Common/AssemblyInfo.cs ibatis/trunk/cs/mapper/IBatisNet.Common/Provider.cs ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/IBatisNet.DataAccess.Test.csproj ibatis/trunk/cs/mapper/IBatisNet.DataAccess/AssemblyInfo.cs ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Domain/B.cs ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/bin/Debug/IBatisNet.DataMapper.Test.dll.config ibatis/trunk/cs/mapper/IBatisNet.DataMapper/AssemblyInfo.cs Modified: ibatis/trunk/cs/mapper/DataAccess.sln URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/DataAccess.sln?rev=293430&r1=293429&r2=293430&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/DataAccess.sln (original) +++ ibatis/trunk/cs/mapper/DataAccess.sln Mon Oct 3 11:50:49 2005 @@ -15,6 +15,10 @@ ProjectSection(ProjectDependencies) = postProject EndProjectSection EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IBatisNet.Common.Logging.Log4Net", "IBatisNet.Common.Logging.Log4Net\IBatisNet.Common.Logging.Log4Net.csproj", "{023FE8D7-7E1A-4DDF-A0EA-8FB0E1B3122B}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject Global GlobalSection(SolutionConfiguration) = preSolution Debug = Debug @@ -37,6 +41,10 @@ {888FE332-F7B7-4248-AEE1-73E14EB9C042}.Debug.Build.0 = Debug|.NET {888FE332-F7B7-4248-AEE1-73E14EB9C042}.Release.ActiveCfg = Release|.NET {888FE332-F7B7-4248-AEE1-73E14EB9C042}.Release.Build.0 = Release|.NET + {023FE8D7-7E1A-4DDF-A0EA-8FB0E1B3122B}.Debug.ActiveCfg = Debug|.NET + {023FE8D7-7E1A-4DDF-A0EA-8FB0E1B3122B}.Debug.Build.0 = Debug|.NET + {023FE8D7-7E1A-4DDF-A0EA-8FB0E1B3122B}.Release.ActiveCfg = Release|.NET + {023FE8D7-7E1A-4DDF-A0EA-8FB0E1B3122B}.Release.Build.0 = Release|.NET EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution EndGlobalSection Modified: ibatis/trunk/cs/mapper/IBatisNet.Common/AssemblyInfo.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.Common/AssemblyInfo.cs?rev=293430&r1=293429&r2=293430&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.Common/AssemblyInfo.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.Common/AssemblyInfo.cs Mon Oct 3 11:50:49 2005 @@ -31,7 +31,7 @@ // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("1.2.0")] +[assembly: AssemblyVersion("1.3")] // // In order to sign your assembly you must specify a key to use. Refer to the Modified: ibatis/trunk/cs/mapper/IBatisNet.Common/Provider.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.Common/Provider.cs?rev=293430&r1=293429&r2=293430&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.Common/Provider.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.Common/Provider.cs Mon Oct 3 11:50:49 2005 @@ -32,7 +32,6 @@ using System.Xml.Serialization; using IBatisNet.Common.Exceptions; using IBatisNet.Common.Utilities.TypesResolver; -//using log4net; #endregion Modified: ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/IBatisNet.DataAccess.Test.csproj URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/IBatisNet.DataAccess.Test.csproj?rev=293430&r1=293429&r2=293430&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/IBatisNet.DataAccess.Test.csproj (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/IBatisNet.DataAccess.Test.csproj Mon Oct 3 11:50:49 2005 @@ -104,6 +104,11 @@ AssemblyName = "nunit.framework" HintPath = "..\External-Bin\Net\1.1\nunit.framework.dll" /> + <Reference + Name = "IBatisNet.Common.Logging.Log4Net" + Project = "{023FE8D7-7E1A-4DDF-A0EA-8FB0E1B3122B}" + Package = "{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}" + /> </References> </Build> <Files> Modified: ibatis/trunk/cs/mapper/IBatisNet.DataAccess/AssemblyInfo.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataAccess/AssemblyInfo.cs?rev=293430&r1=293429&r2=293430&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataAccess/AssemblyInfo.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataAccess/AssemblyInfo.cs Mon Oct 3 11:50:49 2005 @@ -29,7 +29,7 @@ // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("1.6.1")] +[assembly: AssemblyVersion("1.7.0")] // // In order to sign your assembly you must specify a key to use. Refer to the Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Domain/B.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Domain/B.cs?rev=293430&r1=293429&r2=293430&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Domain/B.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Domain/B.cs Mon Oct 3 11:50:49 2005 @@ -8,6 +8,7 @@ public class B { private C _c; + private D _d; private string _id; private string _libelle; @@ -29,7 +30,6 @@ set { _c = value; } } - private D _d; public D D { Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/bin/Debug/IBatisNet.DataMapper.Test.dll.config URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/bin/Debug/IBatisNet.DataMapper.Test.dll.config?rev=293430&r1=293429&r2=293430&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/bin/Debug/IBatisNet.DataMapper.Test.dll.config (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/bin/Debug/IBatisNet.DataMapper.Test.dll.config Mon Oct 3 11:50:49 2005 @@ -37,7 +37,7 @@ <arg key="dateTimeFormat" value="yyyy/MM/dd HH:mm:ss:SSS" /> </logFactoryAdapter> --> - <logFactoryAdapter type="IBatisNet.Common.Logging.Impl.Log4NetLoggerFA, IBatisNet.Common.Logging.Log4Net"> + <logFactoryAdapter type="IBatisNet.Common.Logging.Impl.LocationInfoLog4NetLoggerFA, IBatisNet.Common.Logging.Log4Net"> <arg key="configType" value="inline" /> </logFactoryAdapter> </logging> @@ -62,7 +62,9 @@ <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender"> <layout type="log4net.Layout.PatternLayout"> <param name="ConversionPattern" value="%d [%t] %-5p %c [%x] &lt;%X{auth}&gt; - %m%n" /> - </layout> + + </layout> + </appender> <!-- OFF, FATAL, ERROR, WARN, INFO, DEBUG, ALL --> <!-- Set root logger level to ERROR and its appenders --> Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/AssemblyInfo.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/AssemblyInfo.cs?rev=293430&r1=293429&r2=293430&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/AssemblyInfo.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/AssemblyInfo.cs Mon Oct 3 11:50:49 2005 @@ -29,7 +29,7 @@ // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("1.2.1")] +[assembly: AssemblyVersion("1.3.0")] // // In order to sign your assembly you must specify a key to use. Refer to the From [email protected] Tue Oct 04 03:49:20 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70509 invoked from network); 4 Oct 2005 03:49:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Oct 2005 03:49:20 -0000 Received: (qmail 18760 invoked by uid 500); 4 Oct 2005 03:49:20 -0000 Delivered-To: [email protected] Received: (qmail 18731 invoked by uid 500); 4 Oct 2005 03:49:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 18720 invoked by uid 99); 4 Oct 2005 03:49:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2005 20:49:19 -0700 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 03 Oct 2005 20:49:24 -0700 Received: (qmail 70450 invoked by uid 65534); 4 Oct 2005 03:48:58 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r293509 - in /ibatis/trunk/cs/mapper/IBatisNet.Common.Logging.Log4Net: LocationInfoLog4NetLogger.cs LocationInfoLog4NetLoggerFA.cs Log4NetLogger.cs Date: Tue, 04 Oct 2005 03:48:58 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: rgrabowski Date: Mon Oct 3 20:48:34 2005 New Revision: 293509 URL: http://svn.apache.org/viewcvs?rev=293509&view=rev Log: Reimplemented Log4NetLogger using code from LocationInfoLog4NetLogger. Removed LocationInfoLog4NetLogger. Log4NetLogger now reports the correct method and line number that called Debug, Info, etc. Removed: ibatis/trunk/cs/mapper/IBatisNet.Common.Logging.Log4Net/LocationInfoLog4NetLogger.cs ibatis/trunk/cs/mapper/IBatisNet.Common.Logging.Log4Net/LocationInfoLog4NetLoggerFA.cs Modified: ibatis/trunk/cs/mapper/IBatisNet.Common.Logging.Log4Net/Log4NetLogger.cs Modified: ibatis/trunk/cs/mapper/IBatisNet.Common.Logging.Log4Net/Log4NetLogger.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.Common.Logging.Log4Net/Log4NetLogger.cs?rev=293509&r1=293508&r2=293509&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.Common.Logging.Log4Net/Log4NetLogger.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.Common.Logging.Log4Net/Log4NetLogger.cs Mon Oct 3 20:48:34 2005 @@ -1,4 +1,3 @@ - #region Apache Notice /***************************************************************************** * $Header: $ @@ -30,19 +29,24 @@ using IBatisNet.Common.Logging; #endregion - - namespace IBatisNet.Common.Logging.Impl { - /// <summary> - /// Summary description for Log4NetLogger. - /// </summary> + /// <remarks> + /// Log4net is capable of outputting extended debug information about where the current + /// message was generated: class name, method name, file, line, etc. Log4net assumes that the location + /// information should be gathered relative to where Debug() was called. In IBatisNet, + /// Debug() is called in IBatisNet.Common.Logging.Impl.Log4NetLogger. This means that + /// the location information will indicate that IBatisNet.Common.Logging.Impl.Log4NetLogger always made + /// the call to Debug(). We need to know where IBatisNet.Common.Logging.ILog.Debug() + /// was called. To do this we need to use the log4net.ILog.Logger.Log method and pass in a Type telling + /// log4net where in the stack to begin looking for location information. + /// </remarks> public class Log4NetLogger : ILog { - #region Fields - private log4net.ILog _log = null; + private log4net.Core.ILogger _logger = null; + private readonly static Type declaringType = typeof(Log4NetLogger); #endregion @@ -50,9 +54,9 @@ /// Constructor /// </summary> /// <param name="log"></param> - internal Log4NetLogger( log4net.ILog log ) + internal Log4NetLogger(log4net.ILog log ) { - _log = log; + _logger = log.Logger; } #region ILog Members @@ -62,7 +66,7 @@ /// </summary> public bool IsInfoEnabled { - get { return _log.IsInfoEnabled; } + get { return _logger.IsEnabledFor(log4net.Core.Level.Info); } } /// <summary> @@ -70,7 +74,7 @@ /// </summary> public bool IsWarnEnabled { - get { return _log.IsWarnEnabled; } + get { return _logger.IsEnabledFor(log4net.Core.Level.Warn); } } /// <summary> @@ -78,7 +82,7 @@ /// </summary> public bool IsErrorEnabled { - get { return _log.IsErrorEnabled; } + get { return _logger.IsEnabledFor(log4net.Core.Level.Error); } } /// <summary> @@ -86,7 +90,7 @@ /// </summary> public bool IsFatalEnabled { - get { return _log.IsFatalEnabled; } + get { return _logger.IsEnabledFor(log4net.Core.Level.Fatal); } } /// <summary> @@ -94,7 +98,7 @@ /// </summary> public bool IsDebugEnabled { - get { return _log.IsDebugEnabled; } + get { return _logger.IsEnabledFor(log4net.Core.Level.Debug); } } /// <summary> @@ -102,7 +106,7 @@ /// </summary> public bool IsTraceEnabled { - get { return _log.IsDebugEnabled; } + get { return _logger.IsEnabledFor(log4net.Core.Level.Trace); } } /// <summary> @@ -112,7 +116,7 @@ /// <param name="e"></param> public void Info(object message, Exception e) { - _log.Info( message, e ); + _logger.Log(declaringType, log4net.Core.Level.Info, message, e); } /// <summary> @@ -121,7 +125,7 @@ /// <param name="message"></param> public void Info(object message) { - _log.Info( message ); + _logger.Log(declaringType, log4net.Core.Level.Info, message, null); } /// <summary> @@ -131,7 +135,7 @@ /// <param name="e"></param> public void Debug(object message, Exception e) { - _log.Debug( message, e ); + _logger.Log(declaringType, log4net.Core.Level.Debug, message, e); } /// <summary> @@ -140,10 +144,9 @@ /// <param name="message"></param> public void Debug(object message) { - _log.Debug( message ); + _logger.Log(declaringType, log4net.Core.Level.Debug, message, null); } - /// <summary> /// /// </summary> @@ -151,7 +154,7 @@ /// <param name="e"></param> public void Warn(object message, Exception e) { - _log.Warn( message, e ); + _logger.Log(declaringType, log4net.Core.Level.Warn, message, e); } /// <summary> @@ -160,10 +163,9 @@ /// <param name="message"></param> public void Warn(object message) { - _log.Warn( message ); + _logger.Log(declaringType, log4net.Core.Level.Warn, message, null); } - /// <summary> /// /// </summary> @@ -171,7 +173,7 @@ /// <param name="e"></param> public void Trace(object message, Exception e) { - _log.Debug( message, e ); + _logger.Log(declaringType, log4net.Core.Level.Trace, message, e); } /// <summary> @@ -180,7 +182,7 @@ /// <param name="message"></param> public void Trace(object message) { - _log.Debug( message ); + _logger.Log(declaringType, log4net.Core.Level.Trace, message, null); } /// <summary> @@ -190,7 +192,7 @@ /// <param name="e"></param> public void Fatal(object message, Exception e) { - _log.Fatal( message, e ); + _logger.Log(declaringType, log4net.Core.Level.Fatal, message, e); } /// <summary> @@ -199,7 +201,7 @@ /// <param name="message"></param> public void Fatal(object message) { - _log.Fatal( message ); + _logger.Log(declaringType, log4net.Core.Level.Fatal, message, null); } /// <summary> @@ -209,7 +211,7 @@ /// <param name="e"></param> public void Error(object message, Exception e) { - _log.Error( message, e ); + _logger.Log(declaringType, log4net.Core.Level.Error, message, e); } /// <summary> @@ -218,9 +220,9 @@ /// <param name="message"></param> public void Error(object message) { - _log.Error( message ); + _logger.Log(declaringType, log4net.Core.Level.Error, message, null); } #endregion } -} +} \ No newline at end of file From [email protected] Tue Oct 04 04:11:06 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79075 invoked from network); 4 Oct 2005 04:11:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Oct 2005 04:11:06 -0000 Received: (qmail 39257 invoked by uid 500); 4 Oct 2005 04:11:06 -0000 Delivered-To: [email protected] Received: (qmail 39229 invoked by uid 500); 4 Oct 2005 04:11:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 39218 invoked by uid 99); 4 Oct 2005 04:11:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2005 21:11:05 -0700 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 03 Oct 2005 21:11:09 -0700 Received: (qmail 78542 invoked by uid 65534); 4 Oct 2005 04:10:44 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r293518 - /ibatis/trunk/java/mapper/mapper2/doc/to-do.txt Date: Tue, 04 Oct 2005 04:10:43 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cbegin Date: Mon Oct 3 21:10:33 2005 New Revision: 293518 URL: http://svn.apache.org/viewcvs?rev=293518&view=rev Log: moved to-do to wiki Removed: ibatis/trunk/java/mapper/mapper2/doc/to-do.txt From [email protected] Tue Oct 04 04:13:23 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80022 invoked from network); 4 Oct 2005 04:13:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Oct 2005 04:13:22 -0000 Received: (qmail 40610 invoked by uid 500); 4 Oct 2005 04:13:22 -0000 Delivered-To: [email protected] Received: (qmail 40583 invoked by uid 500); 4 Oct 2005 04:13:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 40572 invoked by uid 99); 4 Oct 2005 04:13:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2005 21:13:22 -0700 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 03 Oct 2005 21:13:27 -0700 Received: (qmail 79930 invoked by uid 65534); 4 Oct 2005 04:13:01 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r293519 - in /ibatis/trunk/java/mapper/mapper2/build: build.xml version.properties Date: Tue, 04 Oct 2005 04:13:00 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cbegin Date: Mon Oct 3 21:12:53 2005 New Revision: 293519 URL: http://svn.apache.org/viewcvs?rev=293519&view=rev Log: reorganized deployment directory structure Modified: ibatis/trunk/java/mapper/mapper2/build/build.xml ibatis/trunk/java/mapper/mapper2/build/version.properties Modified: ibatis/trunk/java/mapper/mapper2/build/build.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/mapper/mapper2/build/build.xml?rev=293519&r1=293518&r2=293519&view=diff ============================================================================== --- ibatis/trunk/java/mapper/mapper2/build/build.xml (original) +++ ibatis/trunk/java/mapper/mapper2/build/build.xml Mon Oct 3 21:12:53 2005 @@ -70,6 +70,9 @@ <mkdir dir="${reports.junit}"/> <mkdir dir="${reports.coverage}"/> <mkdir dir="${deploy.path}"/> + <mkdir dir="${deploy.path}/lib/"/> + <mkdir dir="${deploy.path}/src/"/> + <mkdir dir="${deploy.path}/doc/"/> <!-- Prepare Release Docs --> <copy todir="${deploy.path}"> <fileset dir="${res.txt}"> @@ -223,7 +226,7 @@ </target> <target name="jar.sqlmaps" depends="src.compile"> - <jar jarfile="${deploy.path}/ibatis-sqlmap-2.jar"> + <jar jarfile="${deploy.path}/lib/ibatis-sqlmap-2.jar"> <manifest> <attribute name="Built-On" value="${buildDate}"/> <section name="com/ibatis/sqlmap/"> @@ -243,7 +246,7 @@ </target> <target name="jar.dao" depends="src.compile"> - <jar jarfile="${deploy.path}/ibatis-dao-2.jar"> + <jar jarfile="${deploy.path}/lib/ibatis-dao-2.jar"> <manifest> <attribute name="Built-On" value="${buildDate}"/> <section name="com/ibatis/dao/"> @@ -263,7 +266,7 @@ </target> <target name="jar.common" depends="src.compile"> - <jar jarfile="${deploy.path}/ibatis-common-2.jar"> + <jar jarfile="${deploy.path}/lib/ibatis-common-2.jar"> <manifest> <attribute name="Built-On" value="${buildDate}"/> <section name="com/ibatis/common/"> @@ -304,7 +307,7 @@ </target> <target name="jar.src" depends="src.compile"> - <jar jarfile="${deploy.path}/ibatis-src.zip"> + <jar jarfile="${deploy.path}/src/ibatis-src.zip"> <fileset dir="${src.rt}"/> <fileset dir="${src.compat}"/> <fileset dir="${deploy.path}"> @@ -315,10 +318,10 @@ </target> <target name="jar.javadoc" depends="src.compile"> - <jar jarfile="${deploy.path}/user-javadoc.zip"> + <jar jarfile="${deploy.path}/doc/user-javadoc.zip"> <fileset dir="${work.javadoc.user}"/> </jar> - <jar jarfile="${deploy.path}/dev-javadoc.zip"> + <jar jarfile="${deploy.path}/doc/dev-javadoc.zip"> <fileset dir="${work.javadoc.dev}"/> </jar> </target> Modified: ibatis/trunk/java/mapper/mapper2/build/version.properties URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/mapper/mapper2/build/version.properties?rev=293519&r1=293518&r2=293519&view=diff ============================================================================== --- ibatis/trunk/java/mapper/mapper2/build/version.properties (original) +++ ibatis/trunk/java/mapper/mapper2/build/version.properties Mon Oct 3 21:12:53 2005 @@ -1,5 +1,5 @@ #Build version info -#Sun Oct 02 19:06:43 MDT 2005 -version=2.1.5 -buildDate=2005/10/02 19\:06 -buildNum=584 +#Mon Oct 03 21:57:43 MDT 2005 +version=2.2.0 +buildDate=2005/10/03 21\:57 +buildNum=586 From [email protected] Tue Oct 04 15:19:13 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82166 invoked from network); 4 Oct 2005 15:19:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Oct 2005 15:19:13 -0000 Received: (qmail 30997 invoked by uid 500); 4 Oct 2005 15:19:13 -0000 Delivered-To: [email protected] Received: (qmail 30965 invoked by uid 500); 4 Oct 2005 15:19:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 30954 invoked by uid 99); 4 Oct 2005 15:19:12 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2005 08:19:12 -0700 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 04 Oct 2005 08:19:17 -0700 Received: (qmail 81889 invoked by uid 65534); 4 Oct 2005 15:18:51 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r294800 - /ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/bin/Debug/IBatisNet.DataMapper.Test.dll.config Date: Tue, 04 Oct 2005 15:18:51 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: rgrabowski Date: Tue Oct 4 08:18:33 2005 New Revision: 294800 URL: http://svn.apache.org/viewcvs?rev=294800&view=rev Log: LocationInfoLog4NetLoggerFA no longer exists. Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/bin/Debug/IBatisNet.DataMapper.Test.dll.config Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/bin/Debug/IBatisNet.DataMapper.Test.dll.config URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/bin/Debug/IBatisNet.DataMapper.Test.dll.config?rev=294800&r1=294799&r2=294800&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/bin/Debug/IBatisNet.DataMapper.Test.dll.config (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/bin/Debug/IBatisNet.DataMapper.Test.dll.config Tue Oct 4 08:18:33 2005 @@ -37,7 +37,7 @@ <arg key="dateTimeFormat" value="yyyy/MM/dd HH:mm:ss:SSS" /> </logFactoryAdapter> --> - <logFactoryAdapter type="IBatisNet.Common.Logging.Impl.LocationInfoLog4NetLoggerFA, IBatisNet.Common.Logging.Log4Net"> + <logFactoryAdapter type="IBatisNet.Common.Logging.Impl.Log4NetLoggerFA, IBatisNet.Common.Logging.Log4Net"> <arg key="configType" value="inline" /> </logFactoryAdapter> </logging> From [email protected] Tue Oct 04 15:22:04 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83004 invoked from network); 4 Oct 2005 15:22:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Oct 2005 15:22:04 -0000 Received: (qmail 36003 invoked by uid 500); 4 Oct 2005 15:22:03 -0000 Delivered-To: [email protected] Received: (qmail 35974 invoked by uid 500); 4 Oct 2005 15:22:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 35963 invoked by uid 99); 4 Oct 2005 15:22:03 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2005 08:22:03 -0700 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 04 Oct 2005 08:22:08 -0700 Received: (qmail 82866 invoked by uid 65534); 4 Oct 2005 15:21:42 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r294801 - /ibatis/trunk/cs/mapper/IBatisNet.Common/Logging/LogManager.cs Date: Tue, 04 Oct 2005 15:21:42 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: rgrabowski Date: Tue Oct 4 08:21:24 2005 New Revision: 294801 URL: http://svn.apache.org/viewcvs?rev=294801&view=rev Log: Fixed typo in spelling of IBATIS_SECTION_LOGGING Modified: ibatis/trunk/cs/mapper/IBatisNet.Common/Logging/LogManager.cs Modified: ibatis/trunk/cs/mapper/IBatisNet.Common/Logging/LogManager.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.Common/Logging/LogManager.cs?rev=294801&r1=294800&r2=294801&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.Common/Logging/LogManager.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.Common/Logging/LogManager.cs Tue Oct 4 08:21:24 2005 @@ -43,7 +43,7 @@ { private static ILoggerFactoryAdapter _adapter = null; private static object _loadLock = new object(); - private static readonly string IBATIS_SECTION_LOGIING = "iBATIS/logging"; + private static readonly string IBATIS_SECTION_LOGGING = "iBATIS/logging"; /// <summary> /// Initializes a new instance of the <see cref="LogManager" /> class. @@ -104,7 +104,7 @@ LogSetting setting = null; try { - setting = (LogSetting)ConfigurationSettings.GetConfig( IBATIS_SECTION_LOGIING ); + setting = (LogSetting)ConfigurationSettings.GetConfig( IBATIS_SECTION_LOGGING ); } catch ( Exception ex ) { From [email protected] Thu Oct 06 19:09:14 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12983 invoked from network); 6 Oct 2005 19:09:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Oct 2005 19:09:13 -0000 Received: (qmail 15817 invoked by uid 500); 6 Oct 2005 19:09:13 -0000 Delivered-To: [email protected] Received: (qmail 15785 invoked by uid 500); 6 Oct 2005 19:09:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 15773 invoked by uid 99); 6 Oct 2005 19:09:13 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Oct 2005 12:09:13 -0700 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 06 Oct 2005 12:09:17 -0700 Received: (qmail 12897 invoked by uid 65534); 6 Oct 2005 19:08:52 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r306845 - /ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Scope/ErrorContext.cs Date: Thu, 06 Oct 2005 19:08:51 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: rgrabowski Date: Thu Oct 6 12:08:34 2005 New Revision: 306845 URL: http://svn.apache.org/viewcvs?rev=306845&view=rev Log: Replaced \n character with Environment.NewLine Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Scope/ErrorContext.cs Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Scope/ErrorContext.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Scope/ErrorContext.cs?rev=306845&r1=306844&r2=306845&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Scope/ErrorContext.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Scope/ErrorContext.cs Thu Oct 6 12:08:34 2005 @@ -26,6 +26,7 @@ #region Using +using System; using System.Text; #endregion @@ -110,7 +111,8 @@ // activity if (_activity != null && _activity.Length > 0) { - message.Append("\n- The error occurred while "); + message.Append(Environment.NewLine); + message.Append("- The error occurred while "); message.Append(_activity); message.Append("."); } @@ -118,14 +120,16 @@ // more info if (_moreInfo != null && _moreInfo.Length > 0) { - message.Append("\n- "); + message.Append(Environment.NewLine); + message.Append("- "); message.Append(_moreInfo); } // resource if (_resource != null && _resource.Length > 0) { - message.Append("\n- The error occurred in "); + message.Append(Environment.NewLine); + message.Append("- The error occurred in "); message.Append(_resource); message.Append("."); } @@ -133,7 +137,9 @@ // object if (_objectId != null && _objectId.Length > 0) { - message.Append(" \n- Check the "); + message.Append(" "); + message.Append(Environment.NewLine); + message.Append("- Check the "); message.Append(_objectId); message.Append("."); } From [email protected] Thu Oct 06 19:21:20 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18021 invoked from network); 6 Oct 2005 19:21:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Oct 2005 19:21:20 -0000 Received: (qmail 39245 invoked by uid 500); 6 Oct 2005 19:21:19 -0000 Delivered-To: [email protected] Received: (qmail 39209 invoked by uid 500); 6 Oct 2005 19:21:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 39197 invoked by uid 99); 6 Oct 2005 19:21:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Oct 2005 12:21:18 -0700 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 06 Oct 2005 12:21:22 -0700 Received: (qmail 17976 invoked by uid 65534); 6 Oct 2005 19:20:58 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r306865 - in /ibatis/trunk/cs/mapper: IBatisNet.DataAccess/ChangeLog.txt IBatisNet.DataMapper/ChangeLog.txt Date: Thu, 06 Oct 2005 19:20:57 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: gbayon Date: Thu Oct 6 12:20:52 2005 New Revision: 306865 URL: http://svn.apache.org/viewcvs?rev=306865&view=rev Log: - Updated ChangeLog.txt Modified: ibatis/trunk/cs/mapper/IBatisNet.DataAccess/ChangeLog.txt ibatis/trunk/cs/mapper/IBatisNet.DataMapper/ChangeLog.txt Modified: ibatis/trunk/cs/mapper/IBatisNet.DataAccess/ChangeLog.txt URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataAccess/ChangeLog.txt?rev=306865&r1=306864&r2=306865&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataAccess/ChangeLog.txt (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataAccess/ChangeLog.txt Thu Oct 6 12:20:52 2005 @@ -10,7 +10,7 @@ Exemple (for log4NET) : <configSections> <sectionGroup name="iBATIS"> - <section name="logging" type="IBatisNet.Common.Logging.ConfigurationSectionHandler, IBatisNet.Common" /> + <section name="logging" type="IBatisNet.Common.Logging.Impl.LocationInfoLog4NetLoggerFA, IBatisNet.Common.Logging.Log4Net" /> </sectionGroup> <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" /> </configSections> Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/ChangeLog.txt URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/ChangeLog.txt?rev=306865&r1=306864&r2=306865&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/ChangeLog.txt (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/ChangeLog.txt Thu Oct 6 12:20:52 2005 @@ -3,6 +3,7 @@ ------------------------------ 1.3 - XX/XX/XXXX ------------------------------ +- Added support to relation 1:0 - Updated to log4net V1.2.9 - Updated to Castle.DynamicProxy V161.129.204.104 - Re-add signing on assembly @@ -10,7 +11,7 @@ Exemple (for log4NET) : <configSections> <sectionGroup name="iBATIS"> - <section name="logging" type="IBatisNet.Common.Logging.ConfigurationSectionHandler, IBatisNet.Common" /> + <section name="logging" type="IBatisNet.Common.Logging.Impl.LocationInfoLog4NetLoggerFA, IBatisNet.Common.Logging.Log4Net" /> </sectionGroup> <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" /> </configSections> From [email protected] Thu Oct 06 20:42:02 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 50403 invoked from network); 6 Oct 2005 20:42:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Oct 2005 20:42:02 -0000 Received: (qmail 52158 invoked by uid 500); 6 Oct 2005 20:42:01 -0000 Delivered-To: [email protected] Received: (qmail 52128 invoked by uid 500); 6 Oct 2005 20:42:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 52117 invoked by uid 99); 6 Oct 2005 20:42:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Oct 2005 13:42:01 -0700 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 06 Oct 2005 13:42:05 -0700 Received: (qmail 50306 invoked by uid 65534); 6 Oct 2005 20:41:40 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r306879 - /ibatis/trunk/cs/mapper/IBatisNet.DataMapper/ChangeLog.txt Date: Thu, 06 Oct 2005 20:41:40 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: rgrabowski Date: Thu Oct 6 13:41:29 2005 New Revision: 306879 URL: http://svn.apache.org/viewcvs?rev=306879&view=rev Log: Fixed some spelled errors. Added additional changes. Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/ChangeLog.txt Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/ChangeLog.txt URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/ChangeLog.txt?rev=306879&r1=306878&r2=306879&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/ChangeLog.txt (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/ChangeLog.txt Thu Oct 6 13:41:29 2005 @@ -7,15 +7,14 @@ - Updated to log4net V1.2.9 - Updated to Castle.DynamicProxy V161.129.204.104 - Re-add signing on assembly -- Added custom logger support (remove dependcy on log4net), IBATIS now need a custom section in your application config file - Exemple (for log4NET) : +- Added custom logger support (removed dependency on log4net), iBATIS now needs a custom section in your application config file + Example (for log4NET) : <configSections> <sectionGroup name="iBATIS"> <section name="logging" type="IBatisNet.Common.Logging.Impl.LocationInfoLog4NetLoggerFA, IBatisNet.Common.Logging.Log4Net" /> </sectionGroup> <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" /> - </configSections> - + </configSections> <iBATIS> <logging> <logFactoryAdapter type="IBatisNet.Common.Logging.Impl.Log4NetLoggerFA, IBatisNet.Common.Logging.Log4Net"> @@ -23,15 +22,20 @@ </logFactoryAdapter> </logging> </iBATIS> + <log4net> + ... + </log4net> - Removes use of Xml serilization for loading config, boost init - Improved caching process & performance +- Corrected issue with flushOnExecute statements being from other namespaces +- Allow CacheModels, ResultMaps, and ParameterMaps to be in their own seperate files - Fixed IBATISNET-58 Allow all attributes in SqlMap.config file to be aware of ${xyz} properties - Fixed IBATISNET-97 Improved support for caching null results - Fixed IBATISNET-96 Added Informix .NET Provider 2.81 support (Anderson Gomes) - Fixed IBATISNET-94 Issue with DaoManager init - Fixed IBATISNET-92 Check selectKey's property attribute for writeability during mapper initialization -- Fixed IBATISNET-91 Added Cach flush on ExecuteQueryForObject +- Fixed IBATISNET-91 Added Cache flush on ExecuteQueryForObject - Fixed IBATISNET-82 Added DomDaoManagerBuilder.Configure(XmlDocument document) - Fixed IBATISNET-77 Allow Intellisense in Visual Studio 2003 for SqlMap/SqlMap.config files - Updated schemas header From [email protected] Sun Oct 09 15:47:32 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83763 invoked from network); 9 Oct 2005 15:47:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Oct 2005 15:47:32 -0000 Received: (qmail 67478 invoked by uid 500); 9 Oct 2005 15:47:28 -0000 Delivered-To: [email protected] Received: (qmail 67409 invoked by uid 500); 9 Oct 2005 15:47:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 67338 invoked by uid 99); 9 Oct 2005 15:47:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Oct 2005 08:47:27 -0700 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 09 Oct 2005 08:47:28 -0700 Received: (qmail 83684 invoked by uid 65534); 9 Oct 2005 15:47:04 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r307446 - /ibatis/trunk/site/pages/newsbyte.vm Date: Sun, 09 Oct 2005 15:47:04 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cbegin Date: Sun Oct 9 08:47:01 2005 New Revision: 307446 URL: http://svn.apache.org/viewcvs?rev=307446&view=rev Log: updated newsbyte Modified: ibatis/trunk/site/pages/newsbyte.vm Modified: ibatis/trunk/site/pages/newsbyte.vm URL: http://svn.apache.org/viewcvs/ibatis/trunk/site/pages/newsbyte.vm?rev=307446&r1=307445&r2=307446&view=diff ============================================================================== --- ibatis/trunk/site/pages/newsbyte.vm (original) +++ ibatis/trunk/site/pages/newsbyte.vm Sun Oct 9 08:47:01 2005 @@ -1,3 +1,3 @@ <div id="NewsByte" valign="top" align="right"> -<p><a title="iBATIS Events" href="events.html">Upcoming iBATIS Event: September 30th, 2005<br/>Western Canada Java Software Symposium</a></p> +<p><a title="iBATIS Events" href="events.html">Upcoming iBATIS Event: November 11th, 2005 - Denver, Colorado, USA<br/>Rocky Mountain Software Symposium</a></p> </div> From [email protected] Mon Oct 10 15:28:59 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 34689 invoked from network); 10 Oct 2005 15:28:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Oct 2005 15:28:58 -0000 Received: (qmail 16699 invoked by uid 500); 10 Oct 2005 15:28:58 -0000 Delivered-To: [email protected] Received: (qmail 16670 invoked by uid 500); 10 Oct 2005 15:28:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 16659 invoked by uid 99); 10 Oct 2005 15:28:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2005 08:28:57 -0700 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 10 Oct 2005 08:28:57 -0700 Received: (qmail 34523 invoked by uid 65534); 10 Oct 2005 15:28:33 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r312667 - in /ibatis/trunk/site: pages/newsbyte.vm template/ac2005us_banner_468x60.jpg Date: Mon, 10 Oct 2005 15:28:33 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cbegin Date: Mon Oct 10 08:28:29 2005 New Revision: 312667 URL: http://svn.apache.org/viewcvs?rev=312667&view=rev Log: added apachecon banner to newsbyte.vm Added: ibatis/trunk/site/template/ac2005us_banner_468x60.jpg (with props) Modified: ibatis/trunk/site/pages/newsbyte.vm Modified: ibatis/trunk/site/pages/newsbyte.vm URL: http://svn.apache.org/viewcvs/ibatis/trunk/site/pages/newsbyte.vm?rev=312667&r1=312666&r2=312667&view=diff ============================================================================== --- ibatis/trunk/site/pages/newsbyte.vm (original) +++ ibatis/trunk/site/pages/newsbyte.vm Mon Oct 10 08:28:29 2005 @@ -1,3 +1,3 @@ <div id="NewsByte" valign="top" align="right"> -<p><a title="iBATIS Events" href="events.html">Upcoming iBATIS Event: November 11th, 2005 - Denver, Colorado, USA<br/>Rocky Mountain Software Symposium</a></p> +<p><a title="ApacheCon US 2005" href="http://www.apachecon.com"><img src="ac2005us_banner_468x60.jpg" border="0"/></p> </div> Added: ibatis/trunk/site/template/ac2005us_banner_468x60.jpg URL: http://svn.apache.org/viewcvs/ibatis/trunk/site/template/ac2005us_banner_468x60.jpg?rev=312667&view=auto ============================================================================== Binary file - no diff available. Propchange: ibatis/trunk/site/template/ac2005us_banner_468x60.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream From [email protected] Mon Oct 10 20:37:02 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 67951 invoked from network); 10 Oct 2005 20:37:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Oct 2005 20:37:02 -0000 Received: (qmail 51683 invoked by uid 500); 10 Oct 2005 20:37:01 -0000 Delivered-To: [email protected] Received: (qmail 51662 invoked by uid 500); 10 Oct 2005 20:37:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 51651 invoked by uid 99); 10 Oct 2005 20:37:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2005 13:37:01 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 10 Oct 2005 13:37:04 -0700 Received: (qmail 67824 invoked by uid 65534); 10 Oct 2005 20:36:40 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r312734 - /ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/type/BlobTypeHandlerCallback.java Date: Mon, 10 Oct 2005 20:36:40 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cbegin Date: Mon Oct 10 13:35:50 2005 New Revision: 312734 URL: http://svn.apache.org/viewcvs?rev=312734&view=rev Log: (empty) Modified: ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/type/BlobTypeHandlerCallback.java Modified: ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/type/BlobTypeHandlerCallback.java URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/type/BlobTypeHandlerCallback.java?rev=312734&r1=312733&r2=312734&view=diff ============================================================================== --- ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/type/BlobTypeHandlerCallback.java (original) +++ ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/type/BlobTypeHandlerCallback.java Mon Oct 10 13:35:50 2005 @@ -29,7 +29,7 @@ Blob blob = getter.getBlob(); byte[] returnValue = null; if (null != blob) { - returnValue = blob.getBytes(0, (int) blob.length()); + returnValue = blob.getBytes(1, (int) blob.length()); } else { returnValue = null; } From [email protected] Tue Oct 11 17:15:31 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28164 invoked from network); 11 Oct 2005 17:15:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Oct 2005 17:15:30 -0000 Received: (qmail 66568 invoked by uid 500); 11 Oct 2005 17:15:23 -0000 Delivered-To: [email protected] Received: (qmail 66517 invoked by uid 500); 11 Oct 2005 17:15:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 66475 invoked by uid 99); 11 Oct 2005 17:15:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Oct 2005 10:15:22 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 11 Oct 2005 10:15:25 -0700 Received: (qmail 28081 invoked by uid 65534); 11 Oct 2005 17:15:01 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r312917 - /ibatis/trunk/cs/mapper/IBatisNet.Common.Logging.Log4Net/IBatisNet.Common.Logging.Log4Net.csproj Date: Tue, 11 Oct 2005 17:15:01 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: gbayon Date: Tue Oct 11 10:14:53 2005 New Revision: 312917 URL: http://svn.apache.org/viewcvs?rev=312917&view=rev Log: Modified: ibatis/trunk/cs/mapper/IBatisNet.Common.Logging.Log4Net/IBatisNet.Common.Logging.Log4Net.csproj Modified: ibatis/trunk/cs/mapper/IBatisNet.Common.Logging.Log4Net/IBatisNet.Common.Logging.Log4Net.csproj URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.Common.Logging.Log4Net/IBatisNet.Common.Logging.Log4Net.csproj?rev=312917&r1=312916&r2=312917&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.Common.Logging.Log4Net/IBatisNet.Common.Logging.Log4Net.csproj (original) +++ ibatis/trunk/cs/mapper/IBatisNet.Common.Logging.Log4Net/IBatisNet.Common.Logging.Log4Net.csproj Tue Oct 11 10:14:53 2005 @@ -99,16 +99,6 @@ BuildAction = "Compile" /> <File - RelPath = "LocationInfoLog4NetLogger.cs" - SubType = "Code" - BuildAction = "Compile" - /> - <File - RelPath = "LocationInfoLog4NetLoggerFA.cs" - SubType = "Code" - BuildAction = "Compile" - /> - <File RelPath = "Log4NetLogger.cs" SubType = "Code" BuildAction = "Compile" From [email protected] Wed Oct 12 18:26:37 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5043 invoked from network); 12 Oct 2005 18:26:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Oct 2005 18:26:36 -0000 Received: (qmail 67629 invoked by uid 500); 12 Oct 2005 18:26:35 -0000 Delivered-To: [email protected] Received: (qmail 67527 invoked by uid 500); 12 Oct 2005 18:26:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 67362 invoked by uid 99); 12 Oct 2005 18:26:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2005 11:26:34 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 12 Oct 2005 11:26:36 -0700 Received: (qmail 4772 invoked by uid 65534); 12 Oct 2005 18:26:13 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r314989 - in /ibatis/trunk/cs/mapper: IBatisNet.Common/Utilities/Objects/ IBatisNet.DataMapper.Test/ IBatisNet.DataMapper.Test/NUnit/SqlMapTests/ IBatisNet.DataMapper/ IBatisNet.DataMapper/TypeHandlers/ Date: Wed, 12 Oct 2005 18:26:11 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: gbayon Date: Wed Oct 12 11:25:56 2005 New Revision: 314989 URL: http://svn.apache.org/viewcvs?rev=314989&view=rev Log: - Fixed IBATISNET-118 CacheKey.Equals(object) override can return true when the parameters have the same HashCode but are not equal Added: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/CacheKeyTest.cs Modified: ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/ObjectProbe.cs ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/IBatisNet.DataMapper.Test.csproj ibatis/trunk/cs/mapper/IBatisNet.DataMapper/CacheKey.cs ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/TypeHandlerFactory.cs Modified: ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/ObjectProbe.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/ObjectProbe.cs?rev=314989&r1=314988&r2=314989&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/ObjectProbe.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/ObjectProbe.cs Wed Oct 12 11:25:56 2005 @@ -680,6 +680,7 @@ if (IsSimpleType(value.GetType())) { hashcode += value.GetHashCode(); + hashcode += value.ToString().GetHashCode(); } else { Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/IBatisNet.DataMapper.Test.csproj URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/IBatisNet.DataMapper.Test.csproj?rev=314989&r1=314988&r2=314989&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/IBatisNet.DataMapper.Test.csproj (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/IBatisNet.DataMapper.Test.csproj Wed Oct 12 11:25:56 2005 @@ -697,6 +697,11 @@ BuildAction = "Compile" /> <File + RelPath = "NUnit\SqlMapTests\CacheKeyTest.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File RelPath = "NUnit\SqlMapTests\CacheTest.cs" SubType = "Code" BuildAction = "Compile" Added: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/CacheKeyTest.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/CacheKeyTest.cs?rev=314989&view=auto ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/CacheKeyTest.cs (added) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/CacheKeyTest.cs Wed Oct 12 11:25:56 2005 @@ -0,0 +1,46 @@ +using IBatisNet.DataMapper; +using IBatisNet.DataMapper.TypeHandlers; +using NUnit.Framework; + + +namespace IBatisNet.DataMapper.Test.NUnit.SqlMapTests +{ + /// <summary> + /// Summary description for CacheKeyTest. + /// </summary> + [TestFixture] + public class CacheKeyTest + { + private const long A_LONG = 1L; + private const long ANOTHER_LONG_WITH_SAME_HASHCODE = -9223372034707292159; + + [Test] + public void ShouldNotBeConsideredEqualWhenParametersHaveTheSameHashCodeButAreNotEqual() + { + TypeHandlerFactory factory = new TypeHandlerFactory(); + + // Two cache keys are equal except for the parameter. + CacheKey key = new CacheKey(factory, "STATEMENT", "SQL", new TestClass(A_LONG), new string[] {"AProperty"}, 0, 0, CacheKeyType.Object); + CacheKey aDifferentKey = new CacheKey(factory, "STATEMENT", "SQL", new TestClass(ANOTHER_LONG_WITH_SAME_HASHCODE), new string[] {"AProperty"}, 0, 0, CacheKeyType.Object); + + Assert.IsFalse(aDifferentKey.Equals(key)); // should not be equal. + } + + private class TestClass + { + private long _property = long.MinValue; + + public TestClass(long aProperty) + { + _property = aProperty; + } + + public long AProperty + { + get { return _property; } + set { _property = value; } + } + } + + } +} Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/CacheKey.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/CacheKey.cs?rev=314989&r1=314988&r2=314989&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/CacheKey.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/CacheKey.cs Wed Oct 12 11:25:56 2005 @@ -40,7 +40,7 @@ /// Summary description for FlushInterval. /// </summary> [Serializable] - internal class CacheKey + public class CacheKey { #region Fields private string[] _properties = null; @@ -67,7 +67,7 @@ /// <param name="maxResults"></param> /// <param name="type"></param> /// <param name="typeHandlerFactory"></param> - internal CacheKey(TypeHandlerFactory typeHandlerFactory, string statementName, string sql, object parameter, string[] properties, + public CacheKey(TypeHandlerFactory typeHandlerFactory, string statementName, string sql, object parameter, string[] properties, int skipRecords, int maxResults, CacheKeyType type) { _typeHandlerFactory = typeHandlerFactory; @@ -81,10 +81,6 @@ _hashCode = GenerateHashCode(); _hashCodeString = Convert.ToString(_hashCode); } - - - // name.GetHashCode() ^ age.GetHashCode(); - // hash algorithms /// <summary> Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/TypeHandlerFactory.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/TypeHandlerFactory.cs?rev=314989&r1=314988&r2=314989&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/TypeHandlerFactory.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/TypeHandlerFactory.cs Wed Oct 12 11:25:56 2005 @@ -36,7 +36,7 @@ /// <summary> /// Not much of a suprise, this is a factory class for TypeHandler objects. /// </summary> - internal class TypeHandlerFactory + public class TypeHandlerFactory { #region Fields From [email protected] Thu Oct 13 02:37:49 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 50109 invoked from network); 13 Oct 2005 02:37:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Oct 2005 02:37:49 -0000 Received: (qmail 23346 invoked by uid 500); 13 Oct 2005 02:37:48 -0000 Delivered-To: [email protected] Received: (qmail 23322 invoked by uid 500); 13 Oct 2005 02:37:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23299 invoked by uid 99); 13 Oct 2005 02:37:48 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2005 19:37:48 -0700 Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 12 Oct 2005 19:37:50 -0700 Received: (qmail 49966 invoked by uid 65534); 13 Oct 2005 02:37:27 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r320612 - /ibatis/trunk/cs/mapper/IBatisNet.Common.Logging.Log4Net/Log4NetLoggerFA.cs Date: Thu, 13 Oct 2005 02:37:26 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: rgrabowski Date: Wed Oct 12 19:37:13 2005 New Revision: 320612 URL: http://svn.apache.org/viewcvs?rev=320612&view=rev Log: Corrected exception message to say "configFile" is required argument instead of "configurationFile" for file/file-watch configTypes. Modified: ibatis/trunk/cs/mapper/IBatisNet.Common.Logging.Log4Net/Log4NetLoggerFA.cs Modified: ibatis/trunk/cs/mapper/IBatisNet.Common.Logging.Log4Net/Log4NetLoggerFA.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.Common.Logging.Log4Net/Log4NetLoggerFA.cs?rev=320612&r1=320611&r2=320612&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.Common.Logging.Log4Net/Log4NetLoggerFA.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.Common.Logging.Log4Net/Log4NetLoggerFA.cs Wed Oct 12 19:37:13 2005 @@ -48,38 +48,38 @@ /// <param name="properties"></param> public Log4NetLoggerFA(NameValueCollection properties) { - string configurationType = string.Empty; + string configType = string.Empty; if ( properties["configType"] != null ) { - configurationType = properties["configType"].ToUpper(); + configType = properties["configType"].ToUpper(); } - string configurationFile = string.Empty; + string configFile = string.Empty; if ( properties["configFile"] != null ) { - configurationFile = properties["configFile"]; + configFile = properties["configFile"]; } - if ( configurationType == "FILE" || configurationType == "FILE-WATCH" ) + if ( configType == "FILE" || configType == "FILE-WATCH" ) { - if ( configurationFile == string.Empty ) - throw new ConfigurationException( "Configration property 'configurationFile' must be set for log4Net configuration of type 'FILE'." ); + if ( configFile == string.Empty ) + throw new ConfigurationException( "Configration property 'configFile' must be set for log4Net configuration of type 'FILE'." ); - if ( !File.Exists( configurationFile ) ) - throw new ConfigurationException( "log4net configuration file '" + configurationFile + "' does not exists" ); + if ( !File.Exists( configFile ) ) + throw new ConfigurationException( "log4net configuration file '" + configFile + "' does not exists" ); } - switch ( configurationType ) + switch ( configType ) { case "INLINE": XmlConfigurator.Configure(); break; case "FILE": - XmlConfigurator.Configure( new FileInfo( configurationFile ) ); + XmlConfigurator.Configure( new FileInfo( configFile ) ); break; case "FILE-WATCH": - XmlConfigurator.ConfigureAndWatch( new FileInfo( configurationFile ) ); + XmlConfigurator.ConfigureAndWatch( new FileInfo( configFile ) ); break; case "EXTERNAL": // Log4net will be configured outside of IBatisNet From [email protected] Thu Oct 13 18:14:31 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86460 invoked from network); 13 Oct 2005 18:14:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Oct 2005 18:14:31 -0000 Received: (qmail 31326 invoked by uid 500); 13 Oct 2005 18:14:22 -0000 Delivered-To: [email protected] Received: (qmail 31225 invoked by uid 500); 13 Oct 2005 18:14:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31160 invoked by uid 99); 13 Oct 2005 18:14:21 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Oct 2005 11:14:21 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 13 Oct 2005 11:14:23 -0700 Received: (qmail 86272 invoked by uid 65534); 13 Oct 2005 18:14:00 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r320845 - in /ibatis/trunk/cs/mapper: IBatisNet.Common/Utilities/Objects/ObjectProbe.cs IBatisNet.DataMapper.Test/NUnit/SqlMapTests/CacheKeyTest.cs Date: Thu, 13 Oct 2005 18:14:00 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: gbayon Date: Thu Oct 13 11:13:49 2005 New Revision: 320845 URL: http://svn.apache.org/viewcvs?rev=320845&view=rev Log: - Updated for IBATISNET-119 Modified: ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/ObjectProbe.cs ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/CacheKeyTest.cs Modified: ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/ObjectProbe.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/ObjectProbe.cs?rev=320845&r1=320844&r2=320845&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/ObjectProbe.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/ObjectProbe.cs Thu Oct 13 11:13:49 2005 @@ -680,7 +680,7 @@ if (IsSimpleType(value.GetType())) { hashcode += value.GetHashCode(); - hashcode += value.ToString().GetHashCode(); + hashcode += value.ToString().GetHashCode()*37; } else { Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/CacheKeyTest.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/CacheKeyTest.cs?rev=320845&r1=320844&r2=320845&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/CacheKeyTest.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/CacheKeyTest.cs Thu Oct 13 11:13:49 2005 @@ -11,17 +11,27 @@ [TestFixture] public class CacheKeyTest { - private const long A_LONG = 1L; - private const long ANOTHER_LONG_WITH_SAME_HASHCODE = -9223372034707292159; + [Test] + public void ShouldNotConsider1LAndNegative9223372034707292159LToBeEqual() + { + // old version of ObjectProbe gave TestClass based on these longs the same HashCode + DoTestClassEquals(1L, -9223372034707292159L); + } [Test] - public void ShouldNotBeConsideredEqualWhenParametersHaveTheSameHashCodeButAreNotEqual() + public void ShouldNotConsider1LAndNegative9223372036524971138LToBeEqual() + { + // current version of ObjectProbe gives TestClass based on these longs the same HashCode + DoTestClassEquals(1L, -9223372036524971138L); + } + + private static void DoTestClassEquals(long firstLong, long secondLong) { TypeHandlerFactory factory = new TypeHandlerFactory(); // Two cache keys are equal except for the parameter. - CacheKey key = new CacheKey(factory, "STATEMENT", "SQL", new TestClass(A_LONG), new string[] {"AProperty"}, 0, 0, CacheKeyType.Object); - CacheKey aDifferentKey = new CacheKey(factory, "STATEMENT", "SQL", new TestClass(ANOTHER_LONG_WITH_SAME_HASHCODE), new string[] {"AProperty"}, 0, 0, CacheKeyType.Object); + CacheKey key = new CacheKey(factory, "STATEMENT", "SQL", new TestClass(firstLong), new string[] {"AProperty"}, 0, 0, CacheKeyType.Object); + CacheKey aDifferentKey = new CacheKey(factory, "STATEMENT", "SQL", new TestClass(secondLong), new string[] {"AProperty"}, 0, 0, CacheKeyType.Object); Assert.IsFalse(aDifferentKey.Equals(key)); // should not be equal. } From [email protected] Fri Oct 14 04:20:22 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35640 invoked from network); 14 Oct 2005 04:20:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Oct 2005 04:20:22 -0000 Received: (qmail 36756 invoked by uid 500); 14 Oct 2005 04:20:19 -0000 Delivered-To: [email protected] Received: (qmail 36684 invoked by uid 500); 14 Oct 2005 04:20:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 36641 invoked by uid 99); 14 Oct 2005 04:20:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Oct 2005 21:20:17 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 13 Oct 2005 21:19:53 -0700 Received: (qmail 35488 invoked by uid 65534); 14 Oct 2005 04:19:31 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r320998 - /ibatis/trunk/cs/docs/dataMapperGuide/src/en/dotnet.xml Date: Fri, 14 Oct 2005 04:19:30 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: rgrabowski Date: Thu Oct 13 21:19:20 2005 New Revision: 320998 URL: http://svn.apache.org/viewcvs?rev=320998&view=rev Log: Added information about QueryForMapWithRowDelegate method. Started to add updated logging information. Modified: ibatis/trunk/cs/docs/dataMapperGuide/src/en/dotnet.xml Modified: ibatis/trunk/cs/docs/dataMapperGuide/src/en/dotnet.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/docs/dataMapperGuide/src/en/dotnet.xml?rev=320998&r1=320997&r2=320998&view=diff ============================================================================== --- ibatis/trunk/cs/docs/dataMapperGuide/src/en/dotnet.xml (original) +++ ibatis/trunk/cs/docs/dataMapperGuide/src/en/dotnet.xml Thu Oct 13 21:19:20 2005 @@ -14,7 +14,7 @@ <sect1> <title>Installing the DataMapper for .NET</title> - <para>There are three steps to using iBATIS DataMapper with your + <para>There are four steps to using iBATIS DataMapper with your application for the first time. <orderedlist> <listitem> Setup the distribution @@ -24,8 +24,8 @@ Add assembly references </listitem> - <listitem> - Visual Studio.NET Integration + <listitem> + Visual Studio.NET Integration </listitem> <listitem> @@ -44,10 +44,10 @@ source distribution that includes a VSN solution. To download either of the distributions, follow the link to the Downloads area on our web site, and select the either the binary or source distribution for the - iBATIS .NET DataMapper release (if you download the - binary distribution, extract the files using a utility like WinZip or - the extractor built into newer versions of Windows and skip ahead to the - Add Assembly References section).</para> + iBATIS .NET DataMapper release (if you download the binary distribution, + extract the files using a utility like WinZip or the extractor built + into newer versions of Windows and skip ahead to the Add Assembly + References section).</para> <para>The DataMapper source distribution includes a VSN solution and a number of C# projects. The distribution is in the form of a ZIP archive. @@ -86,6 +86,12 @@ </row> <row> + <entry>IBatisNet.Common.Logging.Log4Net</entry> + + <entry>Log4Net factory adapter classes</entry> + </row> + + <row> <entry>IBatisNet.Common.Test</entry> <entry>Test project for IBatisNet.Common that can be used with @@ -134,30 +140,26 @@ are seven projects in the solution, and all should succeed. The assemblies we need will be created under <filename>\source\IBatisNet.DataMapper\bin\Debug</filename>. The created - assemblies are : - <orderedlist> + assemblies are : <orderedlist> <listitem> - <filename>IBatisNet.Common.dll</filename> + <filename>IBatisNet.Common.dll</filename> </listitem> <listitem> - <filename>iBatisNet.DataMapper.dll</filename> + <filename>iBatisNet.DataMapper.dll</filename> </listitem> - - </orderedlist> - The DataMapper has - external dependencies on : - <orderedlist> + </orderedlist> The DataMapper has external dependencies on : + <orderedlist> <listitem> - <filename>Castle.DynamicProxy.dll</filename> (creating proxies) - </listitem> + - <listitem> - <filename>log4net.dll</filename> (logging) - </listitem> + <filename>Castle.DynamicProxy.dll</filename> - </orderedlist> - Both of these dependencies are found in the External-Bin folder and can also be found in the bin\Debug folder after building the solution.</para> + (creating proxies) + </listitem> + </orderedlist> This dependencies can be found in the External-Bin + folder and/or in the bin\Debug folder after building the + solution.</para> <tip> <para>If you will not be using the DataAccess framework and NHibernate @@ -192,28 +194,24 @@ <listitem> Castle.DynamicProxy.dll (implied) </listitem> - - <listitem> - <para>log4net.dll (implied)</para> - </listitem> </orderedlist></para> <para>If you are using the <classname>Mapper</classname> singleton (see section 4.4.1), then the only reference you will need is to the - DataMapper assembly. The Common, Castle.DynamicProxy, and log4net - assemblies are needed at runtime, but Visual Studio.NET will resolve the - dependencies for you. If you are using the Data Access Objects - framework, then you will need a reference to the DataAccess assembly - too. So, start with the first, and add the others only if needed.</para> + DataMapper assembly. The Common and Castle.DynamicProxy assemblies are + needed at runtime, but Visual Studio.NET will resolve the dependencies + for you. If you are using the Data Access Objects framework, then you + will need a reference to the DataAccess assembly too. So, start with the + first, and add the others only if needed.</para> <para>If you have built the IBatisNet solution as described in Section - 4.2.1, the four assemblies (IBatisNet.DataMapper.dll, - IBatisNet.Common.dll, Castle.DynamicProxy.dll, and log4net.dll) that you - will need should be in the <filename>bin/Debug</filename> folder of the + 4.2.1, the three assemblies (IBatisNet.DataMapper.dll, + IBatisNet.Common.dll, and Castle.DynamicProxy.dll) that you will need + should be in the <filename>bin/Debug</filename> folder of the IBatisNet.DataMapper project.</para> </sect2> - <sect2> + <sect2> <title>Add XML File Items</title> <para>After adding the assembly references, you will need to add three @@ -252,13 +250,16 @@ <entry>Windows, Library, or Test projects (using NUnit or equivalent)</entry> - <entry>This would be the binary folder (such as /bin/debug) with the assembly (.dll) files and the <filename>app.config</filename> file</entry> + <entry>This would be the binary folder (such as /bin/debug) + with the assembly (.dll) files and the + <filename>App.config</filename> file</entry> </row> <row> <entry>Web projects</entry> - <entry>In the application root, where the <filename>web.config</filename>file is located.</entry> + <entry>In the application root, where the + <filename>Web.config</filename> file is located.</entry> </row> </tbody> </tgroup> @@ -267,30 +268,39 @@ <sect2> <title>Visual Studio.NET Integration</title> - - <para> - Each configuration file (SqlMap.config, mappping file, providers.config) is associated to a schema. The benefits of associating an XML document with a schema are to validate the document (which is done at runtime) and to use editing features such as IntelliSense/content completion assistance. - </para> - <para> - To allow association of the schemas in VS.NET XML editor to yours configuration files, you should add the schema files (<filename>SqlMap.xsd</filename>, <filename>SqlMapConfig.xsd</filename>, <filename>providers.xsd</filename>) to either your VS.NET project or in your VS.NET installation directory. The VS.NET directory will be either - </para> - <para> - <filename>C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Packages\schemas\xml for VS.NET 2003</filename> - </para> - <para> - or - </para> - <para> - <filename>C:\Program Files\Microsoft Visual Studio .NET\Common7\Packages\schemas\xml for VS.NET 2002</filename> - </para> - <para> - depending on your version of VS.NET. It is typically easier to place the file in the well known location under the VS.NET installation directory than to copy the XSD file for each project you create. - </para> - <para> - Once you have registered the schema with VS.NET you will be enough to get IntelliSense and validation of the configuration file from within VS.NET. - </para> - <figure> + + <para>Each configuration file (SqlMap.config, mappping file, + providers.config) is associated to a schema. The benefits of associating + an XML document with a schema are to validate the document (which is + done at runtime) and to use editing features such as + IntelliSense/content completion assistance.</para> + + <para>To allow association of the schemas in VS.NET XML editor to yours + configuration files, you should add the schema files + (<filename>SqlMap.xsd</filename>, <filename>SqlMapConfig.xsd</filename>, + <filename>providers.xsd</filename>) to either your VS.NET project or in + your VS.NET installation directory. The VS.NET directory will be + either</para> + + <para><filename>C:\Program Files\Microsoft Visual Studio .NET + 2003\Common7\Packages\schemas\xml for VS.NET 2003</filename></para> + + <para>or</para> + + <para><filename>C:\Program Files\Microsoft Visual Studio + .NET\Common7\Packages\schemas\xml for VS.NET 2002</filename></para> + + <para>depending on your version of VS.NET. It is typically easier to + place the file in the well known location under the VS.NET installation + directory than to copy the XSD file for each project you create.</para> + + <para>Once you have registered the schema with VS.NET you will be enough + to get IntelliSense and validation of the configuration file from within + VS.NET.</para> + + <figure> <title>IntelliSense example</title> + <mediaobject> <imageobject> <imagedata align="center" fileref="images/intellisense.gif" @@ -298,7 +308,7 @@ </imageobject> </mediaobject> </figure> - </sect2> + </sect2> </sect1> <sect1> @@ -365,9 +375,9 @@ &lt;provider name="sqlServer1.1"/&gt; &lt;dataSource name="NPetshop" connectionString="user id=${username}; - password=${password}; - data source=${datasource}; - database=${database};"/&gt; + password=${password}; + data source=${datasource}; + database=${database};"/&gt; &lt;/database&gt; &lt;alias&gt; @@ -412,7 +422,7 @@ &lt;/settings&gt;</programlisting> </informalexample> - <para>then many elements in the DataMapper configuration can use the + <para>then all elements in the DataMapper configuration can use the variable <varname>${username}</varname> to insert the value "<emphasis>albert</emphasis>". For example:</para> @@ -454,7 +464,7 @@ <entry>Specify the properties file to be loaded through an absolute path.<programlisting>url="<filename>c:\Web\MyApp\Resources\properties</filename>.config" -or +-or- url="file://<filename>c:\Web\MyApp\Resources\properties</filename>.config"</programlisting></entry> </row> @@ -513,7 +523,7 @@ <entry>Specify the properties file to be loaded through an absolute path.<programlisting>url="<filename>c:\Web\MyApp\Resources\properties</filename>.config" -or +-or- url="file://<filename>c:\Web\MyApp\Resources\properties</filename>.config"</programlisting></entry> </row> @@ -548,7 +558,7 @@ </sect3> <sect3> - <title>The &lt;providers&gt; Element<!-- <emphasis role="updated">Updated</emphasis> --></title> + <title>The &lt;providers&gt; Element</title> <para>Under ADO.NET, a database system is accessed through a provider. A database system can use a custom provider or a generic ODBC @@ -712,7 +722,7 @@ <entry>Specify the providers.config to be loaded through an absolute path.<programlisting>url="<filename>c:\Web\MyApp\</filename>Resources\providers.config" -or +-or- url="file://<filename>c:\</filename><filename><filename>Web\MyApp\</filename>Resources\</filename>providers.config"</programlisting></entry> </row> @@ -1042,7 +1052,9 @@ <entry><emphasis>dbType</emphasis></entry> <entry>Indicates the provider dbType to - handle<programlisting>dbType="Varchar2"</programlisting></entry> + handle<programlisting>dbType="Varchar2"</programlisting>Note: + Omit this attribute if you want the type handler to + replace the default iBATIS type handler.</entry> </row> <row> @@ -1650,6 +1662,7 @@ <para><programlisting>public delegate void RowDelegate(object obj, IList list); + public IList QueryWithRowDelegate(string statementName, object parameterObject, RowDelegate rowDelegate);</programlisting></para> @@ -1673,6 +1686,39 @@ </sect3> <sect3> + <title> QueryForMapWithRowDelegate</title> + + <para><programlisting>public delegate void DictionaryRowDelegate(object key, + object value, + object parameterObject, + IDictionary dictionary); + +public IDictionary QueryForMapWithRowDelegate(string statementName, + object parameterObject, + string keyProperty, + string valueProperty, + DictionaryRowDelegate rowDelegate);</programlisting></para> + + <para>No matter how well our database is designed or how cleverly we + describe our maps, the result objects we get back may not be ideal. + You may need to perform some post-processing task on the result + objects. You might even want to omit an entry omitted from the + dictionary. Or, you might want to use the result object to create some + other, more useful object. To save filtering the result objects from + to one dictionary to another, you can pass a + <classname>DictionaryRowDelegate</classname> to the method to do the + dirty work. The <classname>SqlMapper</classname> will go through each + of the result objects and give the delegate a chance to modify the + object and determine if the object should be added to the + <interfacename>IDictionary </interfacename> that will be returned. + <important> + <para>It is your responsibility to add the objects you want + returned to the dictionary. If an object is not added, it is not + returned.</para> + </important></para> + </sect3> + + <sect3> <title>QueryForPaginatedList</title> <para><programlisting>public PaginatedList QueryForPaginatedList(string statementName, @@ -2074,32 +2120,183 @@ </sect1> <sect1> - <title>Logging SqlMap Activity with Apache Log4Net</title> + <title>Logging SqlMap Activity</title> - <para>The iBATIS DataMapper framework provides logging information through - the use of Apache Log4Net (http://logging.apache.org/log4net/). The - specifics of Log4Net are beyond the scope of this document. This section - provides a sample configuration to help you get started.</para> + <para>The iBATIS DataMapper framework records its interaction with the + database through an internal logging mechanism patterned after Apache + Log4Net. The internal logging mechanism can use one of the three built-in + loggers (NoOpLogger, ConsoleOutLogger, TraceLogger) or external logging + packages such as Apache Log4Net. In order for iBATIS to generate log + messages, the application's config file (App.Config or Web.Config) must + contain an appropriate configSection node:</para> + + <example> + <title>iBATIS Configuration Section Handler for logging</title> + + <programlisting>&lt;configSections&gt; + &lt;sectionGroup name="iBATIS"&gt; + &lt;section name="logging" type="IBatisNet.Common.Logging.ConfigurationSectionHandler, IBatisNet.Common" /&gt; + &lt;/sectionGroup&gt; +&lt;/configSections&gt;</programlisting> + </example> + + <para>The application's config file must declare one logger + implementation. See the examples below on how to configure one of the + three built-in loggers.</para> + + <para><programlisting>&lt;iBATIS&gt; + &lt;logging&gt; + &lt;logFactoryAdapter type="IBatisNet.Common.Logging.Impl.ConsoleOutLoggerFA, IBatisNet.Common"&gt; + &lt;arg key="showLogName" value="true" /&gt; + &lt;arg key="showDataTime" value="true" /&gt; + &lt;arg key="level" value="ALL" /&gt; + &lt;arg key="dateTimeFormat" value="yyyy/MM/dd HH:mm:ss:SSS" /&gt; + &lt;/logFactoryAdapter&gt; + &lt;/logging&gt; +&lt;/iBATIS&gt; +</programlisting><programlisting>&lt;iBATIS&gt; + &lt;logging&gt; + &lt;logFactoryAdapter type="IBatisNet.Common.Logging.Impl.NoOpLoggerFA, IBatisNet.Common" /&gt; + &lt;/logging&gt; +&lt;/iBATIS&gt; +</programlisting><programlisting>&lt;iBATIS&gt; + &lt;logging&gt; + &lt;logFactoryAdapter type="IBatisNet.Common.Logging.Impl.TraceLoggerFA, IBatisNet.Common" /&gt; + &lt;/logging&gt; +&lt;/iBATIS&gt;</programlisting></para> + + <para>To configure iBATIS to use another logger implementation, simple + specify the appropriate logFactoryAdapter type. To use Apache Log4Net with + the iBATIS DataMapper framework, use the following configuration + setting:</para> + + <para><programlisting>&lt;iBATIS&gt; + &lt;logging&gt; + &lt;logFactoryAdapter type="IBatisNet.Common.Logging.Impl.Log4NetLoggerFA, IBatisNet.Common.Logging.Log4Net"&gt; + &lt;arg key="configType" value="inline" /&gt; + &lt;/logFactoryAdapter&gt; + &lt;/logging&gt; +&lt;/iBATIS&gt;</programlisting></para> + + <para>The Log4NetLoggerFA supports the following values for the + configTypes argument:<table> + <title>Valid configType values</title> + + <tgroup cols="2"> + <thead> + <row> + <entry>configType</entry> + + <entry>Description</entry> + </row> + </thead> + + <tbody> + <row> + <entry>inline</entry> + + <entry>log4net node will use the log4net node in the + App.Config/Web.Config file when it is configured</entry> + </row> + + <row> + <entry>file</entry> + + <entry>(also requires configFile argument) - log4net will use an + external file for its configuration</entry> + </row> + + <row> + <entry>file-watch</entry> + + <entry> (also requires configFile argument) - log4net will use + an external file for its configuration and will re-configure + itself if this file changes</entry> + </row> + + <row> + <entry>external</entry> + + <entry>iBATIS will not attempt to configure log4net.</entry> + </row> + </tbody> + </tgroup> + </table></para> <sect2> - <title>Log Configuration</title> + <title>Sample Logging Configurations</title> + + <para>The simplest logging configuration is to output log messages to + Console.Out:</para> - <para>The framework uses Log4Net internally and will automatically - include the assembly when your project is built. To use Log4Net with - your own application, you just need to provide your own Log4Net + <para><programlisting>&lt;configuration&gt; + &lt;configSections&gt; + &lt;sectionGroup name="iBATIS"&gt; + &lt;section name="logging" type="IBatisNet.Common.Logging.ConfigurationSectionHandler, IBatisNet.Common" /&gt; + &lt;/sectionGroup&gt; + &lt;/configSections&gt; + &lt;iBATIS&gt; + &lt;logging&gt; + &lt;logFactoryAdapter type="IBatisNet.Common.Logging.Impl.ConsoleLoggerFA, IBatisNet.Common.Logging" /&gt; + &lt;/logging&gt; + &lt;/iBATIS&gt; +&lt;/configuration&gt;</programlisting></para> + + <para>A common logging configuration is to use Apache Log4Net. To use + Log4Net with your own application, you need to provide your own Log4Net configuration. You can do this by adding a configuration file for your assembly that includes a &lt;log4Net&gt; element. The configuration file is named after your assembly but adds a <filename>.config</filename> - extension, and is stored in the same folder as your assembly. Example - 4.26 shows the configuration for the framework's Test project.</para> + extension, and is stored in the same folder as your assembly. This is an + example of a basic Log4Net configuration block + (IBatisNet.DataMapper.Test.dll.Config) that also creates a log4net.txt + which contains debug information from log4net. If log4net is not + producing output, check the log4net.txt file.</para> + + <para><programlisting>&lt;configuration&gt; + &lt;configSections&gt; + &lt;sectionGroup name="iBATIS"&gt; + &lt;section name="logging" type="IBatisNet.Common.Logging.ConfigurationSectionHandler, IBatisNet.Common" /&gt; + &lt;/sectionGroup&gt; + &lt;section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" /&gt; + &lt;/configSections&gt; + &lt;appSettings&gt; + &lt;add key="log4net.Internal.Debug" value="true"/&gt; + &lt;/appSettings&gt; + &lt;system.diagnostics&gt; + &lt;trace autoflush="true"&gt; + &lt;listeners&gt; + &lt;add name="textWriterTraceListener" + type="System.Diagnostics.TextWriterTraceListener" + initializeData="C:\\inetpub\\wwwroot\\log4net.txt" /&gt; + &lt;/listeners&gt; + &lt;/trace&gt; + &lt;/system.diagnostics&gt; + &lt;iBATIS&gt; + &lt;logging&gt; + &lt;logFactoryAdapter type="IBatisNet.Common.Logging.Impl.Log4NetLoggerFA, IBatisNet.Common.Logging.Log4Net"&gt; + &lt;arg key="configType" value="inline" /&gt; + &lt;/logFactoryAdapter&gt; + &lt;/logging&gt; + &lt;/iBATIS&gt; + &lt;log4net&gt; + &lt;appender name="FileAppender" type="log4net.Appender.FileAppender"&gt; + &lt;file value="log.txt" /&gt; + &lt;appendToFile value="true" /&gt; + &lt;layout type="log4net.Layout.SimpleLayout" /&gt; + &lt;/appender&gt; + &lt;root&gt; + &lt;level value="ALL" /&gt; + &lt;appender-ref ref="FileAppender" /&gt; + &lt;/root&gt; + &lt;/log4net&gt; +&lt;/configuration&gt;</programlisting></para> <example> - <title>A sample Log4Net configuration block + <title>A complete Log4Net configuration block (IBatisNet.DataMapper.Test.dll.Config)</title> - <programlisting> - -&lt;configuration&gt; + <programlisting>&lt;configuration&gt; <emphasis role="comment">&lt;!-- Register a section handler for the log4net section --&gt;</emphasis> &lt;configSections&gt; &lt;section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" /&gt; @@ -2179,24 +2376,40 @@ <example> <title>Sample DefaultPreparedCommand logger output</title> - <programlisting>2005-06-08 01:39:43,941 [3872] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [] - - PreparedStatement : [select LineItem_ID as Id, LineItem_Code as Code, - LineItem_Quantity as Quantity, LineItem_Price as Price - from LineItems where Order_ID = @param0 order by LineItem_Code] -2005-06-08 01:39:43,941 [3872] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [] - - Parameters: [@param0=[value,1]] -2005-06-08 01:39:43,941 [3872] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand [] - - Types: [@param0=[Int32, System.Int32]]</programlisting> + <programlisting>2005-06-08 01:39:33 [3872] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand - +Statement Id: [User.Update] PreparedStatement : [UPDATE [User] SET [DateLastUpdated] = NOW() WHERE [UserId] = ?] +2005-06-08 01:39:43 [3872] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand - +Statement Id: [User.Update] Parameters: [param0=[UserId,1]] +2005-06-08 01:39:53 [3872] DEBUG IBatisNet.DataMapper.Commands.DefaultPreparedCommand - +Statement Id: [User.Update] Types: [param0=[String, System.Int32]] +</programlisting> </example> - <para>If you would like to log cache usage in your application, enable - the logger for + <para>If your statements are named the same across all sqlMap files, its + possible to filter log messages when using Apache Log4Net. The example + below only logs Insert, Update, and Delete statements sent to the + database. Select or GetMany statements are not logged:</para> + + <para><example> + <title>Sample Apache Log4Net appender node that will log Insert, + Update, and Delete statements to a file</title> + + <programlisting>&lt;appender name="FileAppender" type="log4net.Appender.FileAppender"&gt; + &lt;file value="InsertsUpdatesDeletes.txt" /&gt; + &lt;layout type="log4net.Layout.SimpleLayout" /&gt; + &lt;filter type="log4net.Filter.StringMatchFilter"&gt; + &lt;regExToMatch value="^(?!Statement Id:)|Statement Id: \[\w+?\.(?:Insert|Update|Delete)" /&gt; + &lt;/filter&gt; + &lt;filter type="log4net.Filter.DenyAllFilter" /&gt; +&lt;/appender&gt;</programlisting> + </example>If you would like to log cache usage in your application, + enable the logger for <classname>IBatisNet.DataMapper.Configuration.Cache.CacheModel</classname>.</para> <example> <title>Sample CacheModel logger output</title> - <programlisting>2005-06-08 01:38:34,403 [3648] DEBUG IBatisNet.DataMapper.Configuration.Cache.CacheModel [] - + <programlisting>2005-06-08 01:38:34,403 [3648] DEBUG IBatisNet.DataMapper.Configuration.Cache.CacheModel - Flush cacheModel named Account.account-cache for statement 'UpdateAccountViaParameterMap'</programlisting> </example> From [email protected] Fri Oct 14 19:25:17 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63893 invoked from network); 14 Oct 2005 19:24:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Oct 2005 19:24:32 -0000 Received: (qmail 9660 invoked by uid 500); 14 Oct 2005 19:22:36 -0000 Delivered-To: [email protected] Received: (qmail 9630 invoked by uid 500); 14 Oct 2005 19:22:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 9611 invoked by uid 99); 14 Oct 2005 19:22:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Oct 2005 12:22:35 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 14 Oct 2005 12:22:36 -0700 Received: (qmail 63085 invoked by uid 65534); 14 Oct 2005 19:21:39 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r321188 - /ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/NUnit/DaoTests/SqlMapDaoTest.cs Date: Fri, 14 Oct 2005 19:20:35 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: gbayon Date: Fri Oct 14 12:19:03 2005 New Revision: 321188 URL: http://svn.apache.org/viewcvs?rev=321188&view=rev Log: - Improved test performance Modified: ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/NUnit/DaoTests/SqlMapDaoTest.cs Modified: ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/NUnit/DaoTests/SqlMapDaoTest.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/NUnit/DaoTests/SqlMapDaoTest.cs?rev=321188&r1=321187&r2=321188&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/NUnit/DaoTests/SqlMapDaoTest.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/NUnit/DaoTests/SqlMapDaoTest.cs Fri Oct 14 12:19:03 2005 @@ -12,17 +12,23 @@ /// <summary> /// Initialisation /// </summary> - [SetUp] - public void SetUp() + [TestFixtureSetUp] + public void FixtureSetUp() { DomDaoManagerBuilder builder = new DomDaoManagerBuilder(); builder.Configure( "dao"+ "_" + ConfigurationSettings.AppSettings["database"] + "_" + ConfigurationSettings.AppSettings["providerType"] + ".config" ); - daoManager = DaoManager.GetInstance("SqlMapDao"); - - InitScript( daoManager.LocalDataSource, ScriptDirectory + "account-init.sql" ); + daoManager = DaoManager.GetInstance("SqlMapDao"); } + /// <summary> + /// Initialisation + /// </summary> + [SetUp] + public void SetUp() + { + InitScript( daoManager.LocalDataSource, ScriptDirectory + "account-init.sql" ); + } } } From [email protected] Fri Oct 14 19:35:06 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70020 invoked from network); 14 Oct 2005 19:35:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Oct 2005 19:35:04 -0000 Received: (qmail 24791 invoked by uid 500); 14 Oct 2005 19:35:04 -0000 Delivered-To: [email protected] Received: (qmail 24773 invoked by uid 500); 14 Oct 2005 19:35:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 24762 invoked by uid 99); 14 Oct 2005 19:35:03 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Oct 2005 12:35:03 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 14 Oct 2005 12:35:05 -0700 Received: (qmail 69798 invoked by uid 65534); 14 Oct 2005 19:34:42 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r321194 - in /ibatis/trunk/cs/mapper/IBatisNet.DataMapper: Configuration/DomSqlMapBuilder.cs TypeHandlers/TypeHandlerFactory.cs Date: Fri, 14 Oct 2005 19:34:37 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: gbayon Date: Fri Oct 14 12:34:26 2005 New Revision: 321194 URL: http://svn.apache.org/viewcvs?rev=321194&view=rev Log: - Fixed IBATISNET-120 Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/DomSqlMapBuilder.cs ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/TypeHandlerFactory.cs Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/DomSqlMapBuilder.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/DomSqlMapBuilder.cs?rev=321194&r1=321193&r2=321194&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/DomSqlMapBuilder.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/DomSqlMapBuilder.cs Fri Oct 14 12:34:26 2005 @@ -770,11 +770,13 @@ } catch (Exception e) { + NameValueCollection prop = NodeUtils.ParseAttributes(xmlNode, _configScope.Properties); + throw new ConfigurationException( String.Format("Error registering TypeHandler class \"{0}\" for handling .Net type \"{1}\" and dbType \"{2}\". Cause: {3}", - xmlNode.Attributes["callback"].Value, - xmlNode.Attributes["type"].Value, - xmlNode.Attributes["dbType"].Value, + NodeUtils.GetStringAttribute(prop, "callback"), + NodeUtils.GetStringAttribute(prop, "type"), + NodeUtils.GetStringAttribute(prop, "dbType"), e.Message), e); } } Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/TypeHandlerFactory.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/TypeHandlerFactory.cs?rev=321194&r1=321193&r2=321194&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/TypeHandlerFactory.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/TypeHandlerFactory.cs Fri Oct 14 12:34:26 2005 @@ -197,7 +197,7 @@ } if (dbType==null) { - map.Add(NULL, handler); + map[NULL] = handler; } else { From [email protected] Fri Oct 14 21:49:49 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36875 invoked from network); 14 Oct 2005 21:49:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Oct 2005 21:49:49 -0000 Received: (qmail 91604 invoked by uid 500); 14 Oct 2005 21:49:48 -0000 Delivered-To: [email protected] Received: (qmail 91579 invoked by uid 500); 14 Oct 2005 21:49:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 91567 invoked by uid 99); 14 Oct 2005 21:49:48 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Oct 2005 14:49:48 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 14 Oct 2005 14:49:49 -0700 Received: (qmail 36687 invoked by uid 65534); 14 Oct 2005 21:49:27 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r321223 - /ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Resources.cs Date: Fri, 14 Oct 2005 21:49:27 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: rgrabowski Date: Fri Oct 14 14:49:16 2005 New Revision: 321223 URL: http://svn.apache.org/viewcvs?rev=321223&view=rev Log: Fix for IBATISNET-122: Allow Resources.cs to process non-fullly-qualified-types. IsAssemblyQualified will return false if the type name is not fully qualified (i.e. the type name does not contain a comma). Modified: ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Resources.cs Modified: ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Resources.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Resources.cs?rev=321223&r1=321222&r2=321223&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Resources.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Resources.cs Fri Oct 14 14:49:16 2005 @@ -617,20 +617,18 @@ private void SplitFileAndAssemblyNames (string originalFileName) { _originalFileName = originalFileName; - int separatorIndex = originalFileName.IndexOf ( - FileAssemblyInfo.FileAssemblySeparator); + + int separatorIndex = originalFileName.IndexOf(FileAssemblyInfo.FileAssemblySeparator); + if (separatorIndex < 0) { - throw new ConfigurationException( - string.Format("Unable to find assembly part to load embedded resource in string \"{0}\".", - originalFileName)); + _unresolvedFileName = originalFileName.Trim(); + _unresolvedAssemblyName = null; // IsAssemblyQualified will return false } else { - _unresolvedFileName = originalFileName.Substring ( - 0, separatorIndex).Trim (); - _unresolvedAssemblyName = originalFileName.Substring ( - separatorIndex + 1).Trim (); + _unresolvedFileName = originalFileName.Substring(0, separatorIndex).Trim(); + _unresolvedAssemblyName = originalFileName.Substring(separatorIndex + 1).Trim(); } } #endregion From [email protected] Sat Oct 15 14:58:05 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8463 invoked from network); 15 Oct 2005 14:58:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Oct 2005 14:58:05 -0000 Received: (qmail 95742 invoked by uid 500); 15 Oct 2005 14:58:05 -0000 Delivered-To: [email protected] Received: (qmail 95707 invoked by uid 500); 15 Oct 2005 14:58:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 95694 invoked by uid 99); 15 Oct 2005 14:58:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Oct 2005 07:58:04 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 15 Oct 2005 07:58:05 -0700 Received: (qmail 8429 invoked by uid 65534); 15 Oct 2005 14:57:42 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r321342 - in /ibatis/trunk/cs/mapper: IBatisNet.DataAccess.Test/bin/Debug/providers.config IBatisNet.DataMapper.Test/bin/Debug/providers.config Date: Sat, 15 Oct 2005 14:57:42 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: gbayon Date: Sat Oct 15 07:57:35 2005 New Revision: 321342 URL: http://svn.apache.org/viewcvs?rev=321342&view=rev Log: - Updated provider config for SQLite IBATISNET-121 Modified: ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/bin/Debug/providers.config ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/bin/Debug/providers.config Modified: ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/bin/Debug/providers.config URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/bin/Debug/providers.config?rev=321342&r1=321341&r2=321342&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/bin/Debug/providers.config (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Test/bin/Debug/providers.config Sat Oct 15 07:57:35 2005 @@ -1,232 +1,240 @@ -<?xml version="1.0" encoding="utf-8" ?> -<providers xmlns="http://ibatis.apache.org/providers" -xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > +<?xml version="1.0" encoding="utf-8"?> +<providers +xmlns="http://ibatis.apache.org/providers" +xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <clear/> - <provider - name="sqlServer1.0" - description="Microsoft SQL Server 7.0/2000, provider V1.0.3300.0 in framework .NET V1.0" - enabled="false" - assemblyName="System.Data, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" - connectionClass="System.Data.SqlClient.SqlConnection" - commandClass="System.Data.SqlClient.SqlCommand" - parameterClass="System.Data.SqlClient.SqlParameter" - parameterDbTypeClass="System.Data.SqlDbType" - parameterDbTypeProperty="SqlDbType" - dataAdapterClass="System.Data.SqlClient.SqlDataAdapter" - commandBuilderClass="System.Data.SqlClient.SqlCommandBuilder" - usePositionalParameters = "false" - useParameterPrefixInSql = "true" - useParameterPrefixInParameter = "true" - parameterPrefix="@" - /> - <provider - name="sqlServer1.1" - description="Microsoft SQL Server 7.0/2000, provider V1.0.5000.0 in framework .NET V1.1" - default="true" - assemblyName="System.Data, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" - connectionClass="System.Data.SqlClient.SqlConnection" - commandClass="System.Data.SqlClient.SqlCommand" - parameterClass="System.Data.SqlClient.SqlParameter" - parameterDbTypeClass="System.Data.SqlDbType" - parameterDbTypeProperty="SqlDbType" - dataAdapterClass="System.Data.SqlClient.SqlDataAdapter" - commandBuilderClass="System.Data.SqlClient.SqlCommandBuilder" - usePositionalParameters = "false" - useParameterPrefixInSql = "true" - useParameterPrefixInParameter = "true" - parameterPrefix="@" - /> - <provider - name="OleDb1.1" - description="OleDb, provider V1.0.5000.0 in framework .NET V1.1" - enabled="true" - assemblyName="System.Data, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" - connectionClass="System.Data.OleDb.OleDbConnection" - commandClass="System.Data.OleDb.OleDbCommand" - parameterClass="System.Data.OleDb.OleDbParameter" - parameterDbTypeClass="System.Data.OleDb.OleDbType" - parameterDbTypeProperty="OleDbType" - dataAdapterClass="System.Data.OleDb.OleDbDataAdapter" - commandBuilderClass="System.Data.OleDb.OleDbCommandBuilder" - usePositionalParameters = "true" - useParameterPrefixInSql = "false" - useParameterPrefixInParameter = "false" - parameterPrefix = "" +<clear/> +<provider + name="sqlServer1.0" + description="Microsoft SQL Server 7.0/2000, provider V1.0.3300.0 in framework .NET V1.0" + enabled="false" + assemblyName="System.Data, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" connectionClass="System.Data.SqlClient.SqlConnection" + commandClass="System.Data.SqlClient.SqlCommand" + parameterClass="System.Data.SqlClient.SqlParameter" + parameterDbTypeClass="System.Data.SqlDbType" + parameterDbTypeProperty="SqlDbType" + dataAdapterClass="System.Data.SqlClient.SqlDataAdapter" + commandBuilderClass="System.Data.SqlClient.SqlCommandBuilder" + usePositionalParameters="false" + useParameterPrefixInSql="true" + useParameterPrefixInParameter="true" + parameterPrefix="@"/> +<provider + name="sqlServer1.1" + description="Microsoft SQL Server 7.0/2000, provider V1.0.5000.0 in framework .NET V1.1" + enabled="true" + default="true" + assemblyName="System.Data, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" connectionClass="System.Data.SqlClient.SqlConnection" + commandClass="System.Data.SqlClient.SqlCommand" + parameterClass="System.Data.SqlClient.SqlParameter" + parameterDbTypeClass="System.Data.SqlDbType" + parameterDbTypeProperty="SqlDbType" + dataAdapterClass="System.Data.SqlClient.SqlDataAdapter" + commandBuilderClass="System.Data.SqlClient.SqlCommandBuilder" + usePositionalParameters="false" + useParameterPrefixInSql="true" + useParameterPrefixInParameter="true" + parameterPrefix="@"/> +<provider name="OleDb1.1" + description="OleDb, provider V1.0.5000.0 in framework .NET V1.1" + enabled="true" + assemblyName="System.Data, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" connectionClass="System.Data.OleDb.OleDbConnection" + commandClass="System.Data.OleDb.OleDbCommand" + parameterClass="System.Data.OleDb.OleDbParameter" + parameterDbTypeClass="System.Data.OleDb.OleDbType" + parameterDbTypeProperty="OleDbType" + dataAdapterClass="System.Data.OleDb.OleDbDataAdapter" + commandBuilderClass="System.Data.OleDb.OleDbCommandBuilder" + usePositionalParameters="true" + useParameterPrefixInSql="false" + useParameterPrefixInParameter="false" + parameterPrefix=""/> +<provider + name="Odbc1.1" + description="Odbc, provider V1.0.5000.0 in framework .NET V1.1" + enabled="true" + assemblyName="System.Data, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" connectionClass="System.Data.Odbc.OdbcConnection" + commandClass="System.Data.Odbc.OdbcCommand" + parameterClass="System.Data.Odbc.OdbcParameter" + parameterDbTypeClass="System.Data.Odbc.OdbcType" + parameterDbTypeProperty="OdbcType" + dataAdapterClass="System.Data.Odbc.OdbcDataAdapter" + commandBuilderClass="System.Data.Odbc.OdbcCommandBuilder" + usePositionalParameters="true" + useParameterPrefixInSql="false" + useParameterPrefixInParameter="false" + parameterPrefix="@"/> +<provider + name="oracle9.2" + description="Oracle, Oracle provider V161.129.204.1041" + enabled="false" + assemblyName="Oracle.DataAccess, Version=161.129.204.1041, Culture=neutral, PublicKeyToken=89b483f429c47342" connectionClass="Oracle.DataAccess.Client.OracleConnection" + commandClass="Oracle.DataAccess.Client.OracleCommand" + parameterClass="Oracle.DataAccess.Client.OracleParameter" + parameterDbTypeClass="Oracle.DataAccess.Client.OracleDbType" + parameterDbTypeProperty="OracleDbType" + dataAdapterClass="Oracle.DataAccess.Client.OracleDataAdapter" + commandBuilderClass="Oracle.DataAccess.Client.OracleCommandBuilder" + usePositionalParameters="false" + useParameterPrefixInSql="true" + useParameterPrefixInParameter="false" + parameterPrefix=":" + useDeriveParameters="false"/> +<provider + name="oracle10.1" + description="Oracle, oracle provider V161.129.204.1041" + enabled="false" + assemblyName="Oracle.DataAccess, Version=161.129.204.1041, Culture=neutral, PublicKeyToken=89b483f429c47342" connectionClass="Oracle.DataAccess.Client.OracleConnection" + commandClass="Oracle.DataAccess.Client.OracleCommand" + parameterClass="Oracle.DataAccess.Client.OracleParameter" + parameterDbTypeClass="Oracle.DataAccess.Client.OracleDbType" + parameterDbTypeProperty="OracleDbType" + dataAdapterClass="Oracle.DataAccess.Client.OracleDataAdapter" + commandBuilderClass="Oracle.DataAccess.Client.OracleCommandBuilder" + usePositionalParameters="true" + useParameterPrefixInSql="true" + useParameterPrefixInParameter="true" + parameterPrefix=":" + useDeriveParameters="false"/> +<provider + name="oracleClient1.0" + description="Oracle, Microsoft provider V1.0.5000.0" + enabled="false" + assemblyName="System.Data.OracleClient, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" connectionClass="System.Data.OracleClient.OracleConnection" + commandClass="System.Data.OracleClient.OracleCommand" + parameterClass="System.Data.OracleClient.OracleParameter" + parameterDbTypeClass="System.Data.OracleClient.OracleType" + parameterDbTypeProperty="OracleType" + dataAdapterClass="System.Data.OracleClient.OracleDataAdapter" + commandBuilderClass="System.Data.OracleClient.OracleCommandBuilder" + usePositionalParameters="false" + useParameterPrefixInSql="true" + useParameterPrefixInParameter="false" + parameterPrefix=":"/> +<provider + name="ByteFx" + description="MySQL, ByteFx provider V161.129.204.10473" + enabled="false" + assemblyName="ByteFX.MySqlClient, Version=161.129.204.10473, Culture=neutral, PublicKeyToken=f2fef6fed1732fc1" connectionClass="ByteFX.Data.MySqlClient.MySqlConnection" + commandClass="ByteFX.Data.MySqlClient.MySqlCommand" + parameterClass="ByteFX.Data.MySqlClient.MySqlParameter" + parameterDbTypeClass="ByteFX.Data.MySqlClient.MySqlDbType" + parameterDbTypeProperty="MySqlDbType" + dataAdapterClass="ByteFX.Data.MySqlClient.MySqlDataAdapter" + commandBuilderClass="ByteFX.Data.MySqlClient.MySqlCommandBuilder" + usePositionalParameters="false" + useParameterPrefixInSql="true" + useParameterPrefixInParameter="true" + parameterPrefix="@"/> +<provider + name="MySql" + description="MySQL, MySQL provider V161.129.204.10485" + enabled="false" + assemblyName="MySql.Data, Version=161.129.204.10485, Culture=neutral, PublicKeyToken=c5687fc88969c44d" connectionClass="MySql.Data.MySqlClient.MySqlConnection" + commandClass="MySql.Data.MySqlClient.MySqlCommand" + parameterClass="MySql.Data.MySqlClient.MySqlParameter" + parameterDbTypeClass="MySql.Data.MySqlClient.MySqlDbType" + parameterDbTypeProperty="MySqlDbType" + dataAdapterClass="MySql.Data.MySqlClient.MySqlDataAdapter" + commandBuilderClass="MySql.Data.MySqlClient.MySqlCommandBuilder" + usePositionalParameters="false" + useParameterPrefixInSql="true" + useParameterPrefixInParameter="true" + parameterPrefix="?"/> +<provider name="SQLite3" + description="SQLite, SQLite.NET provider V0.21.1869.3794" + enabled="false" + assemblyName="SQLite.NET, Version=0.21.1869.3794, Culture=neutral, PublicKeyToken=c273bd375e695f9c" + connectionClass="Finisar.SQLite.SQLiteConnection" + commandClass="Finisar.SQLite.SQLiteCommand" + parameterClass="Finisar.SQLite.SQLiteParameter" + parameterDbTypeClass="System.Data.DbType, System.Data" + parameterDbTypeProperty="DbType" + dataAdapterClass="Finisar.SQLite.SQLiteDataAdapter" + commandBuilderClass="Finisar.SQLite.SQLiteCommandBuilder" + usePositionalParameters="false" + useParameterPrefixInSql="true" + useParameterPrefixInParameter="true" + parameterPrefix="@" + setDbParameterPrecision="false" + setDbParameterScale="false"/> +<provider + name="Firebird1.7" + description="Firebird, Firebird SQL .NET provider V161.129.204.104200" + enabled="false" + assemblyName="FirebirdSql.Data.Firebird, Version=161.129.204.104200, Culture=neutral, PublicKeyToken=fa843d180294369d" connectionClass="FirebirdSql.Data.Firebird.FbConnection" + commandClass="FirebirdSql.Data.Firebird.FbCommand" + parameterClass="FirebirdSql.Data.Firebird.FbParameter" + parameterDbTypeClass="FirebirdSql.Data.Firebird.FbDbType" + parameterDbTypeProperty="FbDbType" + dataAdapterClass="FirebirdSql.Data.Firebird.FbDataAdapter" + commandBuilderClass="FirebirdSql.Data.Firebird.FbCommandBuilder" + usePositionalParameters="false" + useParameterPrefixInSql="true" + useParameterPrefixInParameter="true" + parameterPrefix="@"/> +<provider + name="PostgreSql0.7" + description="PostgreSql, Npgsql provider V161.129.204.104" + enabled="false" + assemblyName="Npgsql, Version=161.129.204.104, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7" + connectionClass="Npgsql.NpgsqlConnection" + commandClass="Npgsql.NpgsqlCommand" + parameterClass="Npgsql.NpgsqlParameter" + parameterDbTypeClass="NpgsqlTypes.NpgsqlDbType" + parameterDbTypeProperty="NpgsqlDbType" + dataAdapterClass="Npgsql.NpgsqlDataAdapter" + commandBuilderClass="Npgsql.NpgsqlCommandBuilder" + usePositionalParameters="false" + useParameterPrefixInSql="true" + useParameterPrefixInParameter="true" + parameterPrefix=":"/> +<provider + name="PostgreSql0.7.1" + description="PostgreSql, Npgsql provider V161.129.204.104" + enabled="false" + assemblyName="Npgsql, Version=161.129.204.104, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7" + connectionClass="Npgsql.NpgsqlConnection" + commandClass="Npgsql.NpgsqlCommand" + parameterClass="Npgsql.NpgsqlParameter" + parameterDbTypeClass="NpgsqlTypes.NpgsqlDbType" + parameterDbTypeProperty="NpgsqlDbType" + dataAdapterClass="Npgsql.NpgsqlDataAdapter" + commandBuilderClass="Npgsql.NpgsqlCommandBuilder" + usePositionalParameters="false" + useParameterPrefixInSql="true" + useParameterPrefixInParameter="true" + parameterPrefix=":"/> +<provider + name="iDb2.10" + description="IBM DB2 Provider, V 10.0" + enabled="false" + assemblyName="IBM.Data.DB2.iSeries, Version=161.129.204.104,Culture=neutral, PublicKeyToken=9cdb2ebfb1f93a26, Custom=null" connectionClass="IBM.Data.DB2.iSeries.iDB2Connection" + commandClass="IBM.Data.DB2.iSeries.iDB2Command" + parameterClass="IBM.Data.DB2.iSeries.iDB2Parameter" + parameterDbTypeClass="IBM.Data.DB2.iSeries.iDB2DbType" + parameterDbTypeProperty="iDB2DbType" + dataAdapterClass="IBM.Data.DB2.iSeries.iDB2DataAdapter" + commandBuilderClass="IBM.Data.DB2.iSeries.iDB2CommandBuilder" + usePositionalParameters="true" + useParameterPrefixInSql="false" + useParameterPrefixInParameter="false" + parameterPrefix=""/> +<provider + name="Informix" + description="Informix NET Provider, 161.129.204.104" + enabled="false" + assemblyName="IBM.Data.Informix, Version=161.129.204.104, Culture=neutral, PublicKeyToken=7c307b91aa13d208" + connectionClass="IBM.Data.Informix.IfxConnection" + commandClass="IBM.Data.Informix.IfxCommand" + parameterClass="IBM.Data.Informix.IfxParameter" + parameterDbTypeClass="IBM.Data.Informix.IfxType" + parameterDbTypeProperty="IfxType" + dataAdapterClass="IBM.Data.Informix.IfxDataAdapter" + commandBuilderClass="IBM.Data.Informix.IfxCommandBuilder" + usePositionalParameters = "true" + useParameterPrefixInSql = "false" + useParameterPrefixInParameter = "false" + useDeriveParameters="false" /> - <provider - name="Odbc1.1" - description="Odbc, provider V1.0.5000.0 in framework .NET V1.1" - enabled="true" - assemblyName="System.Data, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" - connectionClass="System.Data.Odbc.OdbcConnection" - commandClass="System.Data.Odbc.OdbcCommand" - parameterClass="System.Data.Odbc.OdbcParameter" - parameterDbTypeClass="System.Data.Odbc.OdbcType" - parameterDbTypeProperty="OdbcType" - dataAdapterClass="System.Data.Odbc.OdbcDataAdapter" - commandBuilderClass="System.Data.Odbc.OdbcCommandBuilder" - usePositionalParameters = "true" - useParameterPrefixInSql = "false" - useParameterPrefixInParameter = "false" - parameterPrefix = "@" - /> - <provider - name="oracle9.2" - description="Oracle, Oracle provider V161.129.204.1041" - enabled="false" - assemblyName="Oracle.DataAccess, Version=161.129.204.1041, Culture=neutral, PublicKeyToken=89b483f429c47342" - connectionClass="Oracle.DataAccess.Client.OracleConnection" - commandClass="Oracle.DataAccess.Client.OracleCommand" - parameterClass="Oracle.DataAccess.Client.OracleParameter" - parameterDbTypeClass="Oracle.DataAccess.Client.OracleDbType" - parameterDbTypeProperty="OracleDbType" - dataAdapterClass="Oracle.DataAccess.Client.OracleDataAdapter" - commandBuilderClass="Oracle.DataAccess.Client.OracleCommandBuilder" - usePositionalParameters = "false" - useParameterPrefixInSql = "true" - useParameterPrefixInParameter = "false" - parameterPrefix=":" - /> - <provider - name="oracle10.1" - description="Oracle, oracle provider V161.129.204.1041" - enabled="false" - assemblyName="Oracle.DataAccess, Version=161.129.204.1041, Culture=neutral, PublicKeyToken=89b483f429c47342" - connectionClass="Oracle.DataAccess.Client.OracleConnection" - commandClass="Oracle.DataAccess.Client.OracleCommand" - parameterClass="Oracle.DataAccess.Client.OracleParameter" - parameterDbTypeClass="Oracle.DataAccess.Client.OracleDbType" - parameterDbTypeProperty="OracleDbType" - dataAdapterClass="Oracle.DataAccess.Client.OracleDataAdapter" - commandBuilderClass="Oracle.DataAccess.Client.OracleCommandBuilder" - usePositionalParameters = "false" - useParameterPrefixInSql = "true" - useParameterPrefixInParameter = "false" - parameterPrefix=":" - useDeriveParameters="false" - /> - <provider - name="oracleClient1.0" - description="Oracle, Microsoft provider V1.0.5000.0" - enabled="false" - assemblyName="System.Data.OracleClient, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" - connectionClass="System.Data.OracleClient.OracleConnection" - commandClass="System.Data.OracleClient.OracleCommand" - parameterClass="System.Data.OracleClient.OracleParameter" - parameterDbTypeClass="System.Data.OracleClient.OracleType" - parameterDbTypeProperty="OracleType" - dataAdapterClass="System.Data.OracleClient.OracleDataAdapter" - commandBuilderClass="System.Data.OracleClient.OracleCommandBuilder" - usePositionalParameters = "false" - useParameterPrefixInSql = "true" - useParameterPrefixInParameter = "false" - parameterPrefix=":" - /> - <provider - name="ByteFx" - description="MySQL, ByteFx provider V161.129.204.10473" - enabled="false" - assemblyName="ByteFX.MySqlClient, Version=161.129.204.10473, Culture=neutral, PublicKeyToken=f2fef6fed1732fc1" - connectionClass="ByteFX.Data.MySqlClient.MySqlConnection" - commandClass="ByteFX.Data.MySqlClient.MySqlCommand" - parameterClass="ByteFX.Data.MySqlClient.MySqlParameter" - parameterDbTypeClass="ByteFX.Data.MySqlClient.MySqlDbType" - parameterDbTypeProperty="MySqlDbType" - dataAdapterClass="ByteFX.Data.MySqlClient.MySqlDataAdapter" - commandBuilderClass="ByteFX.Data.MySqlClient.MySqlCommandBuilder" - usePositionalParameters = "false" - useParameterPrefixInSql = "true" - useParameterPrefixInParameter = "true" - parameterPrefix="@" - /> - <provider - name="MySql" - description="MySQL, MySQL provider V161.129.204.10463" - enabled="false" - assemblyName="MySql.Data, Version=161.129.204.10463, Culture=neutral, PublicKeyToken=c5687fc88969c44d" - connectionClass="MySql.Data.MySqlClient.MySqlConnection" - commandClass="MySql.Data.MySqlClient.MySqlCommand" - parameterClass="MySql.Data.MySqlClient.MySqlParameter" - parameterDbTypeClass="MySql.Data.MySqlClient.MySqlDbType" - parameterDbTypeProperty="MySqlDbType" - dataAdapterClass="MySql.Data.MySqlClient.MySqlDataAdapter" - commandBuilderClass="MySql.Data.MySqlClient.MySqlCommandBuilder" - usePositionalParameters = "false" - useParameterPrefixInSql = "true" - useParameterPrefixInParameter = "true" - parameterPrefix="@" - /> - <provider - name="SQLite3" - description="SQLite, SQLite.NET provider V0.21.1869.3794" - enabled="false" - assemblyName="SQLite.NET, Version=0.21.1869.3794, Culture=neutral, PublicKeyToken=c273bd375e695f9c" - connectionClass="Finisar.SQLite.SQLiteConnection" - commandClass="Finisar.SQLite.SQLiteCommand" - parameterClass="Finisar.SQLite.SQLiteParameter" - parameterDbTypeClass="System.Data.DbType, System.Data" - parameterDbTypeProperty="DbType" - dataAdapterClass="Finisar.SQLite.SQLiteDataAdapter" - commandBuilderClass="Finisar.SQLite.SQLiteCommandBuilder" - usePositionalParameters = "true" - useParameterPrefixInSql = "false" - useParameterPrefixInParameter = "false" - parameterPrefix="" - setDbParameterPrecision="false" - setDbParameterScale="false" - setDbParameterSize="false" - /> - <provider - name="Firebird1.7" - description="Firebird, Firebird SQL .NET provider V161.129.204.104200" - enabled="false" - assemblyName="FirebirdSql.Data.Firebird, Version=161.129.204.104200, Culture=neutral, PublicKeyToken=fa843d180294369d" - connectionClass="FirebirdSql.Data.Firebird.FbConnection" - commandClass="FirebirdSql.Data.Firebird.FbCommand" - parameterClass="FirebirdSql.Data.Firebird.FbParameter" - parameterDbTypeClass="FirebirdSql.Data.Firebird.FbDbType" - parameterDbTypeProperty="FbDbType" - dataAdapterClass="FirebirdSql.Data.Firebird.FbDataAdapter" - commandBuilderClass="FirebirdSql.Data.Firebird.FbCommandBuilder" - usePositionalParameters = "false" - useParameterPrefixInSql = "true" - useParameterPrefixInParameter = "true" - parameterPrefix="@" - /> - <provider - name="PostgreSql0.7" - description="PostgreSql, Npgsql provider V161.129.204.104" - enabled="false" - assemblyName="Npgsql, Version=161.129.204.104, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7" - connectionClass="Npgsql.NpgsqlConnection" - commandClass="Npgsql.NpgsqlCommand" - parameterClass="Npgsql.NpgsqlParameter" - parameterDbTypeClass="NpgsqlTypes.NpgsqlDbType" - parameterDbTypeProperty="NpgsqlDbType" - dataAdapterClass="Npgsql.NpgsqlDataAdapter" - commandBuilderClass="Npgsql.NpgsqlCommandBuilder" - usePositionalParameters = "false" - useParameterPrefixInSql = "true" - useParameterPrefixInParameter = "true" - parameterPrefix=":" - /> - <provider - name="Informix" - description="Informix NET Provider, 161.129.204.104" - enabled="false" - assemblyName="IBM.Data.Informix, Version=161.129.204.104, Culture=neutral, PublicKeyToken=7c307b91aa13d208" - connectionClass="IBM.Data.Informix.IfxConnection" - commandClass="IBM.Data.Informix.IfxCommand" - parameterClass="IBM.Data.Informix.IfxParameter" - parameterDbTypeClass="IBM.Data.Informix.IfxType" - parameterDbTypeProperty="IfxType" - dataAdapterClass="IBM.Data.Informix.IfxDataAdapter" - commandBuilderClass="IBM.Data.Informix.IfxCommandBuilder" - usePositionalParameters = "true" - useParameterPrefixInSql = "false" - useParameterPrefixInParameter = "false" - useDeriveParameters="false" - /> </providers> - Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/bin/Debug/providers.config URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/bin/Debug/providers.config?rev=321342&r1=321341&r2=321342&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/bin/Debug/providers.config (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/bin/Debug/providers.config Sat Oct 15 07:57:35 2005 @@ -141,24 +141,23 @@ useParameterPrefixInSql="true" useParameterPrefixInParameter="true" parameterPrefix="?"/> -<provider - name="SQLite3" - description="SQLite, SQLite.NET provider V0.21.1869.3794" - enabled="false" - assemblyName="SQLite.NET, Version=0.21.1869.3794, Culture=neutral, PublicKeyToken=c273bd375e695f9c" connectionClass="Finisar.SQLite.SQLiteConnection" - commandClass="Finisar.SQLite.SQLiteCommand" - parameterClass="Finisar.SQLite.SQLiteParameter" - parameterDbTypeClass="System.Data.DbType, System.Data" - parameterDbTypeProperty="DbType" - dataAdapterClass="Finisar.SQLite.SQLiteDataAdapter" - commandBuilderClass="Finisar.SQLite.SQLiteCommandBuilder" - usePositionalParameters="true" - useParameterPrefixInSql="false" - useParameterPrefixInParameter="false" - parameterPrefix="" - setDbParameterPrecision="false" - setDbParameterScale="false" - setDbParameterSize="false"/> +<provider name="SQLite3" + description="SQLite, SQLite.NET provider V0.21.1869.3794" + enabled="false" + assemblyName="SQLite.NET, Version=0.21.1869.3794, Culture=neutral, PublicKeyToken=c273bd375e695f9c" + connectionClass="Finisar.SQLite.SQLiteConnection" + commandClass="Finisar.SQLite.SQLiteCommand" + parameterClass="Finisar.SQLite.SQLiteParameter" + parameterDbTypeClass="System.Data.DbType, System.Data" + parameterDbTypeProperty="DbType" + dataAdapterClass="Finisar.SQLite.SQLiteDataAdapter" + commandBuilderClass="Finisar.SQLite.SQLiteCommandBuilder" + usePositionalParameters="false" + useParameterPrefixInSql="true" + useParameterPrefixInParameter="true" + parameterPrefix="@" + setDbParameterPrecision="false" + setDbParameterScale="false"/> <provider name="Firebird1.7" description="Firebird, Firebird SQL .NET provider V161.129.204.104200" From [email protected] Mon Oct 17 18:46:39 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 50740 invoked from network); 17 Oct 2005 18:46:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Oct 2005 18:46:39 -0000 Received: (qmail 81056 invoked by uid 500); 17 Oct 2005 18:46:38 -0000 Delivered-To: [email protected] Received: (qmail 81035 invoked by uid 500); 17 Oct 2005 18:46:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 81024 invoked by uid 99); 17 Oct 2005 18:46:38 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Oct 2005 11:46:38 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 17 Oct 2005 11:46:38 -0700 Received: (qmail 50580 invoked by uid 65534); 17 Oct 2005 18:46:17 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r325957 - in /ibatis/trunk/cs/mapper: IBatisNet.Common.Test/NUnit/CommonTests/Utilities/ResourcesTest.cs IBatisNet.Common.Test/bin/Debug/OctopusService.dll IBatisNet.Common/Utilities/Resources.cs Date: Mon, 17 Oct 2005 18:46:16 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: gbayon Date: Mon Oct 17 11:46:00 2005 New Revision: 325957 URL: http://svn.apache.org/viewcvs?rev=325957&view=rev Log: - Fixed IBATISNET-103 Added: ibatis/trunk/cs/mapper/IBatisNet.Common.Test/bin/Debug/OctopusService.dll (with props) Modified: ibatis/trunk/cs/mapper/IBatisNet.Common.Test/NUnit/CommonTests/Utilities/ResourcesTest.cs ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Resources.cs Modified: ibatis/trunk/cs/mapper/IBatisNet.Common.Test/NUnit/CommonTests/Utilities/ResourcesTest.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.Common.Test/NUnit/CommonTests/Utilities/ResourcesTest.cs?rev=325957&r1=325956&r2=325957&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.Common.Test/NUnit/CommonTests/Utilities/ResourcesTest.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.Common.Test/NUnit/CommonTests/Utilities/ResourcesTest.cs Mon Oct 17 11:46:00 2005 @@ -42,12 +42,27 @@ { XmlDocument doc = null; - doc = Resources.GetEmbeddedResourceAsXmlDocument("properties.xml, IBatisNet.Common.Test"); + doc = Resources.GetEmbeddedResourceAsXmlDocument("IBatisNet.Common.Test.properties.xml, IBatisNet.Common.Test"); Assert.IsNotNull(doc); Assert.IsTrue(doc.HasChildNodes); Assert.AreEqual(doc.ChildNodes.Count,2); Assert.AreEqual(doc.SelectNodes("/settings/add").Count, 4); + } + + /// <summary> + /// Test loading Embedded Resource + /// </summary> + [Test] + public void TestEmbeddedResourceWhenNamespaceDiffersFromAssemblyName() + { + XmlDocument doc = null; + + doc = Resources.GetEmbeddedResourceAsXmlDocument("CompanyName.ProductName.Maps.ISCard.xml, OctopusService"); + + Assert.IsNotNull(doc); + Assert.IsTrue(doc.HasChildNodes); + Assert.AreEqual(doc.ChildNodes.Count,2); } #endregion Added: ibatis/trunk/cs/mapper/IBatisNet.Common.Test/bin/Debug/OctopusService.dll URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.Common.Test/bin/Debug/OctopusService.dll?rev=325957&view=auto ============================================================================== Binary file - no diff available. Propchange: ibatis/trunk/cs/mapper/IBatisNet.Common.Test/bin/Debug/OctopusService.dll ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Modified: ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Resources.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Resources.cs?rev=325957&r1=325956&r2=325957&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Resources.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Resources.cs Mon Oct 17 11:46:00 2005 @@ -405,12 +405,13 @@ if (fileInfo.IsAssemblyQualified) { Assembly assembly = Assembly.LoadWithPartialName (fileInfo.AssemblyName); -// foreach(string fileName in assembly.GetManifestResourceNames() ) -// { -// Console.WriteLine(fileName); -// } Stream stream = assembly.GetManifestResourceStream(fileInfo.ResourceFileName); + // JIRA - IBATISNET-103 + if (stream == null) + { + stream = assembly.GetManifestResourceStream(fileInfo.FileName); + } if (stream != null) { try @@ -537,10 +538,7 @@ /// </summary> public string ResourceFileName { - get - { - return AssemblyName+"."+FileName; - } + get { return AssemblyName+"."+FileName; } } /// <summary> @@ -548,10 +546,7 @@ /// </summary> public string OriginalFileName { - get - { - return _originalFileName; - } + get { return _originalFileName; } } /// <summary> @@ -559,10 +554,7 @@ /// </summary> public string FileName { - get - { - return _unresolvedFileName; - } + get { return _unresolvedFileName; } } /// <summary> @@ -570,10 +562,7 @@ /// </summary> public string AssemblyName { - get - { - return _unresolvedAssemblyName; - } + get { return _unresolvedAssemblyName; } } /// <summary> From [email protected] Mon Oct 17 18:47:55 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51165 invoked from network); 17 Oct 2005 18:47:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Oct 2005 18:47:55 -0000 Received: (qmail 82126 invoked by uid 500); 17 Oct 2005 18:47:54 -0000 Delivered-To: [email protected] Received: (qmail 82098 invoked by uid 500); 17 Oct 2005 18:47:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 82087 invoked by uid 99); 17 Oct 2005 18:47:54 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Oct 2005 11:47:54 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 17 Oct 2005 11:47:55 -0700 Received: (qmail 51059 invoked by uid 65534); 17 Oct 2005 18:47:33 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r325958 - /ibatis/trunk/cs/mapper/IBatisNet.Common.Test/IBatisNet.Common.Test.csproj Date: Mon, 17 Oct 2005 18:47:33 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: gbayon Date: Mon Oct 17 11:47:27 2005 New Revision: 325958 URL: http://svn.apache.org/viewcvs?rev=325958&view=rev Log: Fixed IBATISNET-103 Modified: ibatis/trunk/cs/mapper/IBatisNet.Common.Test/IBatisNet.Common.Test.csproj Modified: ibatis/trunk/cs/mapper/IBatisNet.Common.Test/IBatisNet.Common.Test.csproj URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.Common.Test/IBatisNet.Common.Test.csproj?rev=325958&r1=325957&r2=325958&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.Common.Test/IBatisNet.Common.Test.csproj (original) +++ ibatis/trunk/cs/mapper/IBatisNet.Common.Test/IBatisNet.Common.Test.csproj Mon Oct 17 11:47:27 2005 @@ -167,6 +167,10 @@ BuildAction = "None" /> <File + RelPath = "bin\Debug\OctopusService.dll" + BuildAction = "Content" + /> + <File RelPath = "bin\Debug\providers.config" BuildAction = "None" /> From [email protected] Wed Oct 19 19:54:28 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8613 invoked from network); 19 Oct 2005 19:54:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Oct 2005 19:54:28 -0000 Received: (qmail 13773 invoked by uid 500); 19 Oct 2005 19:54:28 -0000 Delivered-To: [email protected] Received: (qmail 13750 invoked by uid 500); 19 Oct 2005 19:54:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 13739 invoked by uid 99); 19 Oct 2005 19:54:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Oct 2005 12:54:27 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 19 Oct 2005 12:54:27 -0700 Received: (qmail 8530 invoked by uid 65534); 19 Oct 2005 19:54:06 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r326663 - in /ibatis/trunk/cs/docs/dataMapperGuide/src/en: dotnet.xml working.xml Date: Wed, 19 Oct 2005 19:54:06 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: gbayon Date: Wed Oct 19 12:54:02 2005 New Revision: 326663 URL: http://svn.apache.org/viewcvs?rev=326663&view=rev Log: - Updated doc Modified: ibatis/trunk/cs/docs/dataMapperGuide/src/en/dotnet.xml ibatis/trunk/cs/docs/dataMapperGuide/src/en/working.xml Modified: ibatis/trunk/cs/docs/dataMapperGuide/src/en/dotnet.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/docs/dataMapperGuide/src/en/dotnet.xml?rev=326663&r1=326662&r2=326663&view=diff ============================================================================== --- ibatis/trunk/cs/docs/dataMapperGuide/src/en/dotnet.xml (original) +++ ibatis/trunk/cs/docs/dataMapperGuide/src/en/dotnet.xml Wed Oct 19 12:54:02 2005 @@ -2178,6 +2178,15 @@ &lt;/logging&gt; &lt;/iBATIS&gt;</programlisting></para> + <para><programlisting>&lt;iBATIS&gt; + &lt;logging&gt; + &lt;logFactoryAdapter type="IBatisNet.Common.Logging.Impl.Log4NetLoggerFA, IBatisNet.Common.Logging.Log4Net"&gt; + &lt;arg key="configType" value="file" /&gt; + &lt;arg key="configFile" value="log4Net.config" /&gt; + &lt;/logFactoryAdapter&gt; + &lt;/logging&gt; +&lt;/iBATIS&gt;</programlisting></para> + <para>The Log4NetLoggerFA supports the following values for the configTypes argument:<table> <title>Valid configType values</title> Modified: ibatis/trunk/cs/docs/dataMapperGuide/src/en/working.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/docs/dataMapperGuide/src/en/working.xml?rev=326663&r1=326662&r2=326663&view=diff ============================================================================== --- ibatis/trunk/cs/docs/dataMapperGuide/src/en/working.xml (original) +++ ibatis/trunk/cs/docs/dataMapperGuide/src/en/working.xml Wed Oct 19 12:54:02 2005 @@ -903,6 +903,28 @@ Models, see Section 3.8.</para> </example></para> </sect3> + + <sect3> + <title>extends</title> + <para>When writing Sql, you often encounter duplicate fragments of SQL. iBATIS offers a simple yet powerful attribute to reuse them.</para> + + <para><programlisting> +&lt;select id="<emphasis role="blue">GetAllAccounts</emphasis>" + resultMap="indexed-account-result"&gt; +select + Account_ID, + Account_FirstName, + Account_LastName, + Account_Email +from Accounts +&lt;/select&gt; + +&lt;select id="GetAllAccountsOrderByName" + extends="<emphasis role="blue">GetAllAccounts</emphasis>" + resultMap="indexed-account-result"&gt; + order by Account_FirstName +&lt;/select&gt;</programlisting></para> + </sect3> </sect2> </sect1> From [email protected] Wed Oct 26 18:05:11 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60418 invoked from network); 26 Oct 2005 18:05:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Oct 2005 18:05:11 -0000 Received: (qmail 43727 invoked by uid 500); 26 Oct 2005 18:05:09 -0000 Delivered-To: [email protected] Received: (qmail 43698 invoked by uid 500); 26 Oct 2005 18:05:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 43687 invoked by uid 99); 26 Oct 2005 18:05:08 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Oct 2005 11:05:08 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 26 Oct 2005 11:05:05 -0700 Received: (qmail 60238 invoked by uid 65534); 26 Oct 2005 18:04:46 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r328694 - in /ibatis/trunk/cs/mapper: IBatisNet.Common/Utilities/Objects/ IBatisNet.DataMapper.Test/Maps/Access/OleDb/ IBatisNet.DataMapper.Test/Maps/MSSQL/Odbc/ IBatisNet.DataMapper.Test/Maps/MSSQL/OleDb/ IBatisNet.DataMapper.Test/Maps/MSS... Date: Wed, 26 Oct 2005 18:04:27 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: gbayon Date: Wed Oct 26 11:03:52 2005 New Revision: 328694 URL: http://svn.apache.org/viewcvs?rev=328694&view=rev Log: - Added support for Implicit Result Maps as <result property='author.firstName' column=" Persons.FirstName"/> or SELECT Persons.FirstName as 'author.firstName' Modified: ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/ObjectProbe.cs ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/ReflectionInfo.cs ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Access/OleDb/Order.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/Odbc/Order.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/OleDb/Order.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/SqlClient/Order.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/ByteFx/Order.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/MySql/Order.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/Order.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/OracleClient/Order.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/PostgreSQL/Npgsql/Order.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/ResultMapTest.cs ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ResultMapping/ResultMap.cs ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ResultMapping/ResultProperty.cs ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/MappedStatement.cs Modified: ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/ObjectProbe.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/ObjectProbe.cs?rev=328694&r1=328693&r2=328694&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/ObjectProbe.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/ObjectProbe.cs Wed Oct 26 11:03:52 2005 @@ -99,7 +99,7 @@ /// <param name="obj">The object to check</param> /// <param name="propertyName">The name of the property</param> /// <returns>The type of the property</returns> - private static Type GetPropertyTypeForSetter(object obj, string propertyName) + public static Type GetPropertyTypeForSetter(object obj, string propertyName) { Type type = obj.GetType(); @@ -243,11 +243,39 @@ return type; } + /// <summary> + /// Returns the PropertyInfo of the set property on the specified type. + /// </summary> + /// <param name="type">The type to check</param> + /// <param name="propertyName">The name of the property</param> + /// <returns>The type of the property</returns> + public static PropertyInfo GetPropertyInfoForSetter(Type type, string propertyName) + { + PropertyInfo propertyInfo =null; + if (propertyName.IndexOf('.') > -1) + { + StringTokenizer parser = new StringTokenizer(propertyName, "."); + IEnumerator enumerator = parser.GetEnumerator(); + Type parentType = null; + while (enumerator.MoveNext()) + { + propertyName = (string)enumerator.Current; + parentType = type; + type = ReflectionInfo.GetInstance(type).GetSetterType(propertyName); + } + propertyInfo = ReflectionInfo.GetInstance(parentType).GetSetter(propertyName); + } + else + { + propertyInfo = ReflectionInfo.GetInstance(type).GetSetter(propertyName); + } + + return propertyInfo; + } private static object GetArrayProperty(object obj, string indexedName) { - object value = null; try @@ -614,7 +642,6 @@ return hasProperty; } - /// <summary> /// Modified: ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/ReflectionInfo.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/ReflectionInfo.cs?rev=328694&r1=328693&r2=328694&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/ReflectionInfo.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.Common/Utilities/Objects/ReflectionInfo.cs Wed Oct 26 11:03:52 2005 @@ -170,10 +170,12 @@ public PropertyInfo GetSetter(string propertyName) { PropertyInfo propertyInfo = (PropertyInfo) _setProperties[propertyName]; + if (propertyInfo == null) { throw new ProbeException("There is no Set property named '" + propertyName + "' in class '" + _className + "'"); - } + } + return propertyInfo; } @@ -289,6 +291,34 @@ } } +// /// <summary> +// /// Returns the type that the get expects to receive as a parameter when +// /// setting a property value. +// /// </summary> +// /// <param name="type">The type to check</param> +// /// <param name="propertyName">The name of the property</param> +// /// <returns>The type of the property</returns> +// public static ReflectionInfo GetReflectionInfoForGetter(Type type, string propertyName) +// { +// ReflectionInfo reflectionInfo = null; +// if (propertyName.IndexOf('.') > -1) +// { +// StringTokenizer parser = new StringTokenizer(propertyName, "."); +// IEnumerator enumerator = parser.GetEnumerator(); +// +// while (enumerator.MoveNext()) +// { +// propertyName = (string)enumerator.Current; +// type = ReflectionInfo.GetInstance(type).GetGetterType(propertyName); +// } +// } +// else +// { +// reflectionInfo = ReflectionInfo.GetInstance(type); +// } +// +// return type; +// } /// <summary> /// Gets an instance of ReflectionInfo for the specified type. Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Access/OleDb/Order.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Access/OleDb/Order.xml?rev=328694&r1=328693&r2=328694&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Access/OleDb/Order.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Access/OleDb/Order.xml Wed Oct 26 11:03:52 2005 @@ -153,6 +153,22 @@ <result property="FavouriteLineItem" resultMapping="LineItem.LineItem" /> </resultMap> + <resultMap id="order-joined-favourite2" class="Order"> + <result property="Id" column="Order_ID"/> + <result property="Date" column="Order_Date"/> + <result property="CardExpiry" column="Order_CardExpiry"/> + <result property="CardType" column="Order_CardType"/> + <result property="CardNumber" column="Order_CardNumber"/> + <result property="Street" column="Order_Street"/> + <result property="City" column="Order_City"/> + <result property="Province" column="Order_Province"/> + <result property="PostalCode" column="Order_PostalCode"/> + <result property="FavouriteLineItem.Id" column="LineItem_ID"/> + <result property="FavouriteLineItem.Code" column="LineItem_Code"/> + <result property="FavouriteLineItem.Quantity" column="LineItem_Quantity"/> + <result property="FavouriteLineItem.Price" column="LineItem_Price"/> + </resultMap> + <resultMap id="order-joined-with-account" class="Order"> <result property="Id" column="Order_ID"/> <result property="Date" column="Order_Date" nullValue="01/01/0001 00:00:00"/> @@ -256,6 +272,38 @@ and Orders.Order_ID = #value# </statement> + <statement id="GetOrderJoinedFavourite2" + parameterClass="Integer" + resultMap="order-joined-favourite2" > + select * from Orders, LineItems + where Orders.Order_ID = LineItems.Order_ID + and Order_FavouriteLineItem = LineItems.LineItem_ID + and Orders.Order_ID = #value# + </statement> + + <statement id="GetOrderJoinedFavourite3" + parameterClass="Integer" + resultClass="Order" > + select + Orders.Order_ID as Id, + Order_Date as Date, + Order_CardExpiry as CardExpiry, + Order_CardType as CardType, + Order_CardNumber as CardNumber, + Order_Street as Street, + Order_City as City, + Order_Province as Province, + Order_PostalCode as PostalCode, + LineItem_ID as "FavouriteLineItem.Id", + LineItem_Code as "FavouriteLineItem.Code", + LineItem_Quantity as "FavouriteLineItem.Quantity", + LineItem_Price as "FavouriteLineItem.Price" + from Orders, LineItems + where Orders.Order_ID = LineItems.Order_ID + and Order_FavouriteLineItem = LineItems.LineItem_ID + and Orders.Order_ID = #value# + </statement> + <statement id="GetOrderWithFavouriteLineItem" parameterClass="int" resultMap="order-with-favourite-line-item" > Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/Odbc/Order.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/Odbc/Order.xml?rev=328694&r1=328693&r2=328694&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/Odbc/Order.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/Odbc/Order.xml Wed Oct 26 11:03:52 2005 @@ -152,7 +152,6 @@ column="Order_ID=Order_ID,LineItem_ID=Order_FavouriteLineItem" select="GetDynSpecificLineItem" /> </resultMap> - <resultMap id="order-joined-favourite" class="Order"> <result property="Id" column="Order_ID"/> <result property="Date" column="Order_Date"/> @@ -165,6 +164,22 @@ <result property="PostalCode" column="Order_PostalCode"/> <result property="FavouriteLineItem" resultMapping="LineItem.LineItem" /> </resultMap> + + <resultMap id="order-joined-favourite2" class="Order"> + <result property="Id" column="Order_ID"/> + <result property="Date" column="Order_Date"/> + <result property="CardExpiry" column="Order_CardExpiry"/> + <result property="CardType" column="Order_CardType"/> + <result property="CardNumber" column="Order_CardNumber"/> + <result property="Street" column="Order_Street"/> + <result property="City" column="Order_City"/> + <result property="Province" column="Order_Province"/> + <result property="PostalCode" column="Order_PostalCode"/> + <result property="FavouriteLineItem.Id" column="LineItem_ID"/> + <result property="FavouriteLineItem.Code" column="LineItem_Code"/> + <result property="FavouriteLineItem.Quantity" column="LineItem_Quantity"/> + <result property="FavouriteLineItem.Price" column="LineItem_Price"/> + </resultMap> <resultMap id="order-joined-with-account" class="Order"> <result property="Id" column="Order_ID"/> @@ -268,6 +283,38 @@ parameterClass="Integer" resultMap="order-joined-favourite" > select * from Orders, LineItems + where Orders.Order_ID = LineItems.Order_ID + and Order_FavouriteLineItem = LineItems.LineItem_ID + and Orders.Order_ID = #value# + </statement> + + <statement id="GetOrderJoinedFavourite2" + parameterClass="Integer" + resultMap="order-joined-favourite2" > + select * from Orders, LineItems + where Orders.Order_ID = LineItems.Order_ID + and Order_FavouriteLineItem = LineItems.LineItem_ID + and Orders.Order_ID = #value# + </statement> + + <statement id="GetOrderJoinedFavourite3" + parameterClass="Integer" + resultClass="Order" > + select + Orders.Order_ID as Id, + Order_Date as Date, + Order_CardExpiry as CardExpiry, + Order_CardType as CardType, + Order_CardNumber as CardNumber, + Order_Street as Street, + Order_City as City, + Order_Province as Province, + Order_PostalCode as PostalCode, + LineItem_ID as "FavouriteLineItem.Id", + LineItem_Code as "FavouriteLineItem.Code", + LineItem_Quantity as "FavouriteLineItem.Quantity", + LineItem_Price as "FavouriteLineItem.Price" + from Orders, LineItems where Orders.Order_ID = LineItems.Order_ID and Order_FavouriteLineItem = LineItems.LineItem_ID and Orders.Order_ID = #value# Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/OleDb/Order.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/OleDb/Order.xml?rev=328694&r1=328693&r2=328694&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/OleDb/Order.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/OleDb/Order.xml Wed Oct 26 11:03:52 2005 @@ -166,6 +166,22 @@ <result property="FavouriteLineItem" resultMapping="LineItem.LineItem" /> </resultMap> + <resultMap id="order-joined-favourite2" class="Order"> + <result property="Id" column="Order_ID"/> + <result property="Date" column="Order_Date"/> + <result property="CardExpiry" column="Order_CardExpiry"/> + <result property="CardType" column="Order_CardType"/> + <result property="CardNumber" column="Order_CardNumber"/> + <result property="Street" column="Order_Street"/> + <result property="City" column="Order_City"/> + <result property="Province" column="Order_Province"/> + <result property="PostalCode" column="Order_PostalCode"/> + <result property="FavouriteLineItem.Id" column="LineItem_ID"/> + <result property="FavouriteLineItem.Code" column="LineItem_Code"/> + <result property="FavouriteLineItem.Quantity" column="LineItem_Quantity"/> + <result property="FavouriteLineItem.Price" column="LineItem_Price"/> + </resultMap> + <resultMap id="order-joined-with-account" class="Order"> <result property="Id" column="Order_ID"/> <result property="Date" column="Order_Date" nullValue="01/01/0001 00:00:00"/> @@ -270,6 +286,38 @@ and Order_FavouriteLineItem = LineItems.LineItem_ID and Orders.Order_ID = #value# </statement> + + <statement id="GetOrderJoinedFavourite2" + parameterClass="Integer" + resultMap="order-joined-favourite2" > + select * from Orders, LineItems + where Orders.Order_ID = LineItems.Order_ID + and Order_FavouriteLineItem = LineItems.LineItem_ID + and Orders.Order_ID = #value# + </statement> + + <statement id="GetOrderJoinedFavourite3" + parameterClass="Integer" + resultClass="Order" > + select + Orders.Order_ID as Id, + Order_Date as Date, + Order_CardExpiry as CardExpiry, + Order_CardType as CardType, + Order_CardNumber as CardNumber, + Order_Street as Street, + Order_City as City, + Order_Province as Province, + Order_PostalCode as PostalCode, + LineItem_ID as "FavouriteLineItem.Id", + LineItem_Code as "FavouriteLineItem.Code", + LineItem_Quantity as "FavouriteLineItem.Quantity", + LineItem_Price as "FavouriteLineItem.Price" + from Orders, LineItems + where Orders.Order_ID = LineItems.Order_ID + and Order_FavouriteLineItem = LineItems.LineItem_ID + and Orders.Order_ID = #value# + </statement> <statement id="GetOrderWithFavouriteLineItem" parameterClass="int" Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/SqlClient/Order.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/SqlClient/Order.xml?rev=328694&r1=328693&r2=328694&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/SqlClient/Order.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/SqlClient/Order.xml Wed Oct 26 11:03:52 2005 @@ -143,6 +143,22 @@ <result property="FavouriteLineItem" column="Order_ID=Order_ID,LineItem_ID=Order_FavouriteLineItem" select="GetSpecificLineItem" /> </resultMap> + <resultMap id="order-joined-favourite2" class="Order"> + <result property="Id" column="Order_ID"/> + <result property="Date" column="Order_Date"/> + <result property="CardExpiry" column="Order_CardExpiry"/> + <result property="CardType" column="Order_CardType"/> + <result property="CardNumber" column="Order_CardNumber"/> + <result property="Street" column="Order_Street"/> + <result property="City" column="Order_City"/> + <result property="Province" column="Order_Province"/> + <result property="PostalCode" column="Order_PostalCode"/> + <result property="FavouriteLineItem.Id" column="LineItem_ID"/> + <result property="FavouriteLineItem.Code" column="LineItem_Code"/> + <result property="FavouriteLineItem.Quantity" column="LineItem_Quantity"/> + <result property="FavouriteLineItem.Price" column="LineItem_Price"/> + </resultMap> + <resultMap id="order-with-dyn-favourite-line-item" class="Order"> <result property="Id" column="Order_ID"/> <result property="Date" column="Order_Date"/> @@ -284,6 +300,38 @@ and Orders.Order_ID = #value# </statement> + <statement id="GetOrderJoinedFavourite2" + parameterClass="Integer" + resultMap="order-joined-favourite2" > + select * from Orders, LineItems + where Orders.Order_ID = LineItems.Order_ID + and Order_FavouriteLineItem = LineItems.LineItem_ID + and Orders.Order_ID = #value# + </statement> + + <statement id="GetOrderJoinedFavourite3" + parameterClass="Integer" + resultClass="Order" > + select + Orders.Order_ID as Id, + Order_Date as Date, + Order_CardExpiry as CardExpiry, + Order_CardType as CardType, + Order_CardNumber as CardNumber, + Order_Street as Street, + Order_City as City, + Order_Province as Province, + Order_PostalCode as PostalCode, + LineItem_ID as "FavouriteLineItem.Id", + LineItem_Code as "FavouriteLineItem.Code", + LineItem_Quantity as "FavouriteLineItem.Quantity", + LineItem_Price as "FavouriteLineItem.Price" + from Orders, LineItems + where Orders.Order_ID = LineItems.Order_ID + and Order_FavouriteLineItem = LineItems.LineItem_ID + and Orders.Order_ID = #value# + </statement> + <statement id="GetOrderWithFavouriteLineItem" parameterClass="int" resultMap="order-with-favourite-line-item" > Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/ByteFx/Order.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/ByteFx/Order.xml?rev=328694&r1=328693&r2=328694&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/ByteFx/Order.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/ByteFx/Order.xml Wed Oct 26 11:03:52 2005 @@ -153,6 +153,22 @@ <result property="FavouriteLineItem" resultMapping="LineItem.LineItem" /> </resultMap> + <resultMap id="order-joined-favourite2" class="Order"> + <result property="Id" column="Order_ID"/> + <result property="Date" column="Order_Date"/> + <result property="CardExpiry" column="Order_CardExpiry"/> + <result property="CardType" column="Order_CardType"/> + <result property="CardNumber" column="Order_CardNumber"/> + <result property="Street" column="Order_Street"/> + <result property="City" column="Order_City"/> + <result property="Province" column="Order_Province"/> + <result property="PostalCode" column="Order_PostalCode"/> + <result property="FavouriteLineItem.Id" column="LineItem_ID"/> + <result property="FavouriteLineItem.Code" column="LineItem_Code"/> + <result property="FavouriteLineItem.Quantity" column="LineItem_Quantity"/> + <result property="FavouriteLineItem.Price" column="LineItem_Price"/> + </resultMap> + <resultMap id="order-joined-with-account" class="Order"> <result property="Id" column="Order_ID"/> <result property="Date" column="Order_Date" nullValue="01/01/0001 00:00:00"/> @@ -253,6 +269,38 @@ and Orders.Order_ID = #value# </statement> + <statement id="GetOrderJoinedFavourite2" + parameterClass="Integer" + resultMap="order-joined-favourite2" > + select * from Orders, LineItems + where Orders.Order_ID = LineItems.Order_ID + and Order_FavouriteLineItem = LineItems.LineItem_ID + and Orders.Order_ID = #value# + </statement> + + <statement id="GetOrderJoinedFavourite3" + parameterClass="Integer" + resultClass="Order" > + select + Orders.Order_ID as Id, + Order_Date as Date, + Order_CardExpiry as CardExpiry, + Order_CardType as CardType, + Order_CardNumber as CardNumber, + Order_Street as Street, + Order_City as City, + Order_Province as Province, + Order_PostalCode as PostalCode, + LineItem_ID as "FavouriteLineItem.Id", + LineItem_Code as "FavouriteLineItem.Code", + LineItem_Quantity as "FavouriteLineItem.Quantity", + LineItem_Price as "FavouriteLineItem.Price" + from Orders, LineItems + where Orders.Order_ID = LineItems.Order_ID + and Order_FavouriteLineItem = LineItems.LineItem_ID + and Orders.Order_ID = #value# + </statement> + <statement id="GetOrderWithFavouriteLineItem" parameterClass="int" resultMap="order-with-favourite-line-item" > Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/MySql/Order.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/MySql/Order.xml?rev=328694&r1=328693&r2=328694&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/MySql/Order.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/MySql/Order.xml Wed Oct 26 11:03:52 2005 @@ -157,6 +157,22 @@ <result property="FavouriteLineItem" resultMapping="LineItem.LineItem" /> </resultMap> + <resultMap id="order-joined-favourite2" class="Order"> + <result property="Id" column="Order_ID"/> + <result property="Date" column="Order_Date"/> + <result property="CardExpiry" column="Order_CardExpiry"/> + <result property="CardType" column="Order_CardType"/> + <result property="CardNumber" column="Order_CardNumber"/> + <result property="Street" column="Order_Street"/> + <result property="City" column="Order_City"/> + <result property="Province" column="Order_Province"/> + <result property="PostalCode" column="Order_PostalCode"/> + <result property="FavouriteLineItem.Id" column="LineItem_ID"/> + <result property="FavouriteLineItem.Code" column="LineItem_Code"/> + <result property="FavouriteLineItem.Quantity" column="LineItem_Quantity"/> + <result property="FavouriteLineItem.Price" column="LineItem_Price"/> + </resultMap> + <resultMap id="order-joined-with-account" class="Order"> <result property="Id" column="Order_ID"/> <result property="Date" column="Order_Date" nullValue="01/01/0001 00:00:00"/> @@ -251,7 +267,39 @@ and Order_FavouriteLineItem = LineItems.LineItem_ID and Orders.Order_ID = #value# </statement> - + + <statement id="GetOrderJoinedFavourite2" + parameterClass="Integer" + resultMap="order-joined-favourite2" > + select * from Orders, LineItems + where Orders.Order_ID = LineItems.Order_ID + and Order_FavouriteLineItem = LineItems.LineItem_ID + and Orders.Order_ID = #value# + </statement> + + <statement id="GetOrderJoinedFavourite3" + parameterClass="Integer" + resultClass="Order" > + select + Orders.Order_ID as Id, + Order_Date as Date, + Order_CardExpiry as CardExpiry, + Order_CardType as CardType, + Order_CardNumber as CardNumber, + Order_Street as Street, + Order_City as City, + Order_Province as Province, + Order_PostalCode as PostalCode, + LineItem_ID as "FavouriteLineItem.Id", + LineItem_Code as "FavouriteLineItem.Code", + LineItem_Quantity as "FavouriteLineItem.Quantity", + LineItem_Price as "FavouriteLineItem.Price" + from Orders, LineItems + where Orders.Order_ID = LineItems.Order_ID + and Order_FavouriteLineItem = LineItems.LineItem_ID + and Orders.Order_ID = #value# + </statement> + <statement id="GetOrderWithFavouriteLineItem" parameterClass="int" resultMap="order-with-favourite-line-item" > Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/Order.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/Order.xml?rev=328694&r1=328693&r2=328694&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/Order.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/Order.xml Wed Oct 26 11:03:52 2005 @@ -153,6 +153,22 @@ <result property="FavouriteLineItem" resultMapping="LineItem.LineItem" /> </resultMap> + <resultMap id="order-joined-favourite2" class="Order"> + <result property="Id" column="Order_ID"/> + <result property="Date" column="Order_Date"/> + <result property="CardExpiry" column="Order_CardExpiry"/> + <result property="CardType" column="Order_CardType"/> + <result property="CardNumber" column="Order_CardNumber"/> + <result property="Street" column="Order_Street"/> + <result property="City" column="Order_City"/> + <result property="Province" column="Order_Province"/> + <result property="PostalCode" column="Order_PostalCode"/> + <result property="FavouriteLineItem.Id" column="LineItem_ID"/> + <result property="FavouriteLineItem.Code" column="LineItem_Code"/> + <result property="FavouriteLineItem.Quantity" column="LineItem_Quantity"/> + <result property="FavouriteLineItem.Price" column="LineItem_Price"/> + </resultMap> + <resultMap id="order-joined-with-account" class="Order"> <result property="Id" column="Order_ID"/> <result property="Date" column="Order_Date" nullValue="01/01/0001 00:00:00"/> @@ -253,6 +269,38 @@ and Orders.Order_ID = #value# </statement> + <statement id="GetOrderJoinedFavourite2" + parameterClass="Integer" + resultMap="order-joined-favourite2" > + select * from Orders, LineItems + where Orders.Order_ID = LineItems.Order_ID + and Order_FavouriteLineItem = LineItems.LineItem_ID + and Orders.Order_ID = #value# + </statement> + + <statement id="GetOrderJoinedFavourite3" + parameterClass="Integer" + resultClass="Order" > + select + Orders.Order_ID as Id, + Order_Date as Date, + Order_CardExpiry as CardExpiry, + Order_CardType as CardType, + Order_CardNumber as CardNumber, + Order_Street as Street, + Order_City as City, + Order_Province as Province, + Order_PostalCode as PostalCode, + LineItem_ID as "FavouriteLineItem.Id", + LineItem_Code as "FavouriteLineItem.Code", + LineItem_Quantity as "FavouriteLineItem.Quantity", + LineItem_Price as "FavouriteLineItem.Price" + from Orders, LineItems + where Orders.Order_ID = LineItems.Order_ID + and Order_FavouriteLineItem = LineItems.LineItem_ID + and Orders.Order_ID = #value# + </statement> + <statement id="GetOrderWithFavouriteLineItem" parameterClass="int" resultMap="order-with-favourite-line-item" > Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/OracleClient/Order.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/OracleClient/Order.xml?rev=328694&r1=328693&r2=328694&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/OracleClient/Order.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/OracleClient/Order.xml Wed Oct 26 11:03:52 2005 @@ -153,6 +153,22 @@ <result property="FavouriteLineItem" resultMapping="LineItem.LineItem" /> </resultMap> + <resultMap id="order-joined-favourite2" class="Order"> + <result property="Id" column="Order_ID"/> + <result property="Date" column="Order_Date"/> + <result property="CardExpiry" column="Order_CardExpiry"/> + <result property="CardType" column="Order_CardType"/> + <result property="CardNumber" column="Order_CardNumber"/> + <result property="Street" column="Order_Street"/> + <result property="City" column="Order_City"/> + <result property="Province" column="Order_Province"/> + <result property="PostalCode" column="Order_PostalCode"/> + <result property="FavouriteLineItem.Id" column="LineItem_ID"/> + <result property="FavouriteLineItem.Code" column="LineItem_Code"/> + <result property="FavouriteLineItem.Quantity" column="LineItem_Quantity"/> + <result property="FavouriteLineItem.Price" column="LineItem_Price"/> + </resultMap> + <resultMap id="order-joined-with-account" class="Order"> <result property="Id" column="Order_ID"/> <result property="Date" column="Order_Date" nullValue="01/01/0001 00:00:00"/> @@ -253,6 +269,38 @@ and Orders.Order_ID = #value# </statement> + <statement id="GetOrderJoinedFavourite2" + parameterClass="Integer" + resultMap="order-joined-favourite2" > + select * from Orders, LineItems + where Orders.Order_ID = LineItems.Order_ID + and Order_FavouriteLineItem = LineItems.LineItem_ID + and Orders.Order_ID = #value# + </statement> + + <statement id="GetOrderJoinedFavourite3" + parameterClass="Integer" + resultClass="Order" > + select + Orders.Order_ID as Id, + Order_Date as Date, + Order_CardExpiry as CardExpiry, + Order_CardType as CardType, + Order_CardNumber as CardNumber, + Order_Street as Street, + Order_City as City, + Order_Province as Province, + Order_PostalCode as PostalCode, + LineItem_ID as "FavouriteLineItem.Id", + LineItem_Code as "FavouriteLineItem.Code", + LineItem_Quantity as "FavouriteLineItem.Quantity", + LineItem_Price as "FavouriteLineItem.Price" + from Orders, LineItems + where Orders.Order_ID = LineItems.Order_ID + and Order_FavouriteLineItem = LineItems.LineItem_ID + and Orders.Order_ID = #value# + </statement> + <statement id="GetOrderWithFavouriteLineItem" parameterClass="int" resultMap="order-with-favourite-line-item" > Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/PostgreSQL/Npgsql/Order.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/PostgreSQL/Npgsql/Order.xml?rev=328694&r1=328693&r2=328694&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/PostgreSQL/Npgsql/Order.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/PostgreSQL/Npgsql/Order.xml Wed Oct 26 11:03:52 2005 @@ -153,6 +153,22 @@ <result property="FavouriteLineItem" resultMapping="LineItem.LineItem" /> </resultMap> + <resultMap id="order-joined-favourite2" class="Order"> + <result property="Id" column="Order_ID"/> + <result property="Date" column="Order_Date"/> + <result property="CardExpiry" column="Order_CardExpiry"/> + <result property="CardType" column="Order_CardType"/> + <result property="CardNumber" column="Order_CardNumber"/> + <result property="Street" column="Order_Street"/> + <result property="City" column="Order_City"/> + <result property="Province" column="Order_Province"/> + <result property="PostalCode" column="Order_PostalCode"/> + <result property="FavouriteLineItem.Id" column="LineItem_ID"/> + <result property="FavouriteLineItem.Code" column="LineItem_Code"/> + <result property="FavouriteLineItem.Quantity" column="LineItem_Quantity"/> + <result property="FavouriteLineItem.Price" column="LineItem_Price"/> + </resultMap> + <resultMap id="order-joined-with-account" class="Order"> <result property="Id" column="Order_ID"/> <result property="Date" column="Order_Date" nullValue="01/01/0001 00:00:00"/> @@ -253,6 +269,38 @@ and Orders.Order_ID = #value# </statement> + <statement id="GetOrderJoinedFavourite2" + parameterClass="Integer" + resultMap="order-joined-favourite2" > + select * from Orders, LineItems + where Orders.Order_ID = LineItems.Order_ID + and Order_FavouriteLineItem = LineItems.LineItem_ID + and Orders.Order_ID = #value# + </statement> + + <statement id="GetOrderJoinedFavourite3" + parameterClass="Integer" + resultClass="Order" > + select + Orders.Order_ID as Id, + Order_Date as Date, + Order_CardExpiry as CardExpiry, + Order_CardType as CardType, + Order_CardNumber as CardNumber, + Order_Street as Street, + Order_City as City, + Order_Province as Province, + Order_PostalCode as PostalCode, + LineItem_ID as "FavouriteLineItem.Id", + LineItem_Code as "FavouriteLineItem.Code", + LineItem_Quantity as "FavouriteLineItem.Quantity", + LineItem_Price as "FavouriteLineItem.Price" + from Orders, LineItems + where Orders.Order_ID = LineItems.Order_ID + and Order_FavouriteLineItem = LineItems.LineItem_ID + and Orders.Order_ID = #value# + </statement> + <statement id="GetOrderWithFavouriteLineItem" parameterClass="int" resultMap="order-with-favourite-line-item" > Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/ResultMapTest.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/ResultMapTest.cs?rev=328694&r1=328693&r2=328694&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/ResultMapTest.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/ResultMapTest.cs Wed Oct 26 11:03:52 2005 @@ -290,6 +290,38 @@ } /// <summary> + /// Test nested object. + /// Order + FavouriteLineItem in order.FavouriteLineItem + /// </summary> + [Test] + public void TestNestedObjects2() + { + Order order = (Order) sqlMap.QueryForObject("GetOrderJoinedFavourite2", 1); + + AssertOrder1(order); + + Assert.IsNotNull(order.FavouriteLineItem); + Assert.AreEqual(2, order.FavouriteLineItem.Id, "order.FavouriteLineItem.Id"); + Assert.AreEqual("ESM-23", order.FavouriteLineItem.Code); + } + + /// <summary> + /// Test Implicit Result Maps + /// </summary> + [Test] + public void TestImplicitResultMaps() + { + Order order = (Order) sqlMap.QueryForObject("GetOrderJoinedFavourite3", 1); + + AssertOrder1(order); + + Assert.IsNotNull(order.FavouriteLineItem); + Assert.AreEqual(2, order.FavouriteLineItem.Id, "order.FavouriteLineItem.Id"); + Assert.AreEqual("ESM-23", order.FavouriteLineItem.Code); + + } + + /// <summary> /// Test a composite Key Mapping. /// It must be: property1=column1,property2=column2,... /// </summary> Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ResultMapping/ResultMap.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ResultMapping/ResultMap.cs?rev=328694&r1=328693&r2=328694&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ResultMapping/ResultMap.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ResultMapping/ResultMap.cs Wed Oct 26 11:03:52 2005 @@ -32,6 +32,7 @@ using System.Xml; using System.Xml.Serialization; using IBatisNet.Common.Exceptions; +using IBatisNet.Common.Utilities.Objects; using IBatisNet.Common.Utilities.TypesResolver; using IBatisNet.DataMapper.Configuration.Serializers; using IBatisNet.DataMapper.Scope; @@ -315,7 +316,7 @@ if ( property.PropertyInfo != null ) { - property.PropertyInfo.SetValue( target, dataBaseValue, null ); + ObjectProbe.SetPropertyValue(target, property.PropertyName, dataBaseValue); } else // Primitive type ('value') { Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ResultMapping/ResultProperty.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ResultMapping/ResultProperty.cs?rev=328694&r1=328693&r2=328694&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ResultMapping/ResultProperty.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ResultMapping/ResultProperty.cs Wed Oct 26 11:03:52 2005 @@ -259,7 +259,7 @@ { if ( _propertyName.Length>0 &&_propertyName != "value" && !typeof(IDictionary).IsAssignableFrom(resultClass) ) { - _propertyInfo = ReflectionInfo.GetInstance(resultClass).GetSetter( _propertyName ); + _propertyInfo = ObjectProbe.GetPropertyInfoForSetter(resultClass, _propertyName); } if (this.CallBackName!=null && this.CallBackName.Length >0) Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/MappedStatement.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/MappedStatement.cs?rev=328694&r1=328693&r2=328694&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/MappedStatement.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/MappedStatement.cs Wed Oct 26 11:03:52 2005 @@ -35,7 +35,6 @@ using IBatisNet.Common.Logging; using IBatisNet.Common.Utilities.Objects; using IBatisNet.DataMapper.Commands; -using IBatisNet.DataMapper.Configuration.Cache; using IBatisNet.DataMapper.Configuration.ParameterMapping; using IBatisNet.DataMapper.Configuration.ResultMapping; using IBatisNet.DataMapper.Configuration.Statements; @@ -744,7 +743,7 @@ object parameterObject, string keyProperty, string valueProperty, - SqlMapper.DictionaryRowDelegate rowDelegate ) + SqlMapper.DictionaryRowDelegate rowDelegate ) { IDictionary map = new Hashtable(); @@ -1013,25 +1012,28 @@ { if (dataBaseValue == null) { - if (property.PropertyInfo != null) - { - property.PropertyInfo.SetValue( target, null, null ); - } - else - { - ObjectProbe.SetPropertyValue( target, property.PropertyName, null); - } + ObjectProbe.SetPropertyValue( target, property.PropertyName, null); +// if (property.PropertyInfo != null) +// { +// property.PropertyInfo.SetValue( target, null, null ); +// } +// else +// { +// ObjectProbe.SetPropertyValue( target, property.PropertyName, null); +// } } else { - if (property.PropertyInfo != null) - { - property.PropertyInfo.SetValue( target, dataBaseValue, null ); - } - else - { - ObjectProbe.SetPropertyValue( target, property.PropertyName, dataBaseValue); - } + ObjectProbe.SetPropertyValue(target, property.PropertyName, dataBaseValue); + +// if (property.PropertyInfo != null) +// { +// property.PropertyInfo.SetValue( target, dataBaseValue, null ); +// } +// else +// { +// ObjectProbe.SetPropertyValue( target, property.PropertyName, dataBaseValue); +// } } } } @@ -1130,33 +1132,60 @@ ResultProperty property = new ResultProperty(); property.ColumnName = columnName; + property.ColumnIndex = i; - if (matchedPropertyInfo != null ) - { - property.PropertyName = matchedPropertyInfo.Name; - property.Initialize(typeHandlerFactory, matchedPropertyInfo ); - _resultMap.AddResultPropery(property); - } - else if (resultObject is Hashtable) + if (resultObject is Hashtable) { property.PropertyName = columnName; _resultMap.AddResultPropery(property); } - // Fix for IBATISNET-73 (JIRA-73) from Ron Grabowski - if (property.PropertyName != null && property.PropertyName.Length > 0) + Type propertyType = null; + + if (matchedPropertyInfo == null ) { - // Set TypeHandler - Type propertyType = reflectionInfo.GetSetterType(property.PropertyName); - property.TypeHandler = typeHandlerFactory.GetTypeHandler( propertyType ); + try + { + propertyType = ObjectProbe.GetPropertyTypeForSetter(resultObject, columnName); + } + catch + { + _logger.Error("The column [" + columnName + "] could not be auto mapped to a property on [" + resultObject.ToString() + "]"); + } } else { - if (_logger.IsDebugEnabled) + propertyType = reflectionInfo.GetSetterType(matchedPropertyInfo.Name); + } + + if(propertyType != null || matchedPropertyInfo != null) + { + property.PropertyName = (matchedPropertyInfo != null ? matchedPropertyInfo.Name : columnName ); + if (matchedPropertyInfo != null) { - _logger.Debug("The column [" + columnName + "] could not be auto mapped to a property on [" + resultObject.ToString() + "]"); + property.Initialize(typeHandlerFactory, matchedPropertyInfo ); } - } + else + { + property.TypeHandler = typeHandlerFactory.GetTypeHandler(propertyType); + } + _resultMap.AddResultPropery(property); + } + +// // Fix for IBATISNET-73 (JIRA-73) from Ron Grabowski +// if (property.PropertyName != null && property.PropertyName.Length > 0) +// { +// // Set TypeHandler +// Type propertyType = reflectionInfo.GetSetterType(property.PropertyName); +// property.TypeHandler = typeHandlerFactory.GetTypeHandler( propertyType ); +// } +// else +// { +// if (_logger.IsDebugEnabled) +// { +// _logger.Debug("The column [" + columnName + "] could not be auto mapped to a property on [" + resultObject.ToString() + "]"); +// } +// } } } catch (Exception e) From [email protected] Wed Oct 26 18:05:33 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60652 invoked from network); 26 Oct 2005 18:05:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Oct 2005 18:05:32 -0000 Received: (qmail 45358 invoked by uid 500); 26 Oct 2005 18:05:32 -0000 Delivered-To: [email protected] Received: (qmail 45340 invoked by uid 500); 26 Oct 2005 18:05:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 45329 invoked by uid 99); 26 Oct 2005 18:05:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Oct 2005 11:05:32 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 26 Oct 2005 11:05:30 -0700 Received: (qmail 60414 invoked by uid 65534); 26 Oct 2005 18:05:11 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r328695 - /ibatis/trunk/cs/mapper/IBatisNet.DataMapper/ChangeLog.txt Date: Wed, 26 Oct 2005 18:05:10 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: gbayon Date: Wed Oct 26 11:05:04 2005 New Revision: 328695 URL: http://svn.apache.org/viewcvs?rev=328695&view=rev Log: - Update changelog Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/ChangeLog.txt Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/ChangeLog.txt URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/ChangeLog.txt?rev=328695&r1=328694&r2=328695&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/ChangeLog.txt (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/ChangeLog.txt Wed Oct 26 11:05:04 2005 @@ -3,6 +3,10 @@ ------------------------------ 1.3 - XX/XX/XXXX ------------------------------ +- - Added support for Implicit Result Maps as + <result property='author.firstName' column=" Persons.FirstName"/> +or + SELECT Persons.FirstName as 'author.firstName' - Added support to relation 1:0 - Updated to log4net V1.2.9 - Updated to Castle.DynamicProxy V161.129.204.104 From [email protected] Thu Oct 27 19:31:58 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31049 invoked from network); 27 Oct 2005 19:31:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Oct 2005 19:31:58 -0000 Received: (qmail 40117 invoked by uid 500); 27 Oct 2005 19:31:58 -0000 Delivered-To: [email protected] Received: (qmail 40091 invoked by uid 500); 27 Oct 2005 19:31:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 40080 invoked by uid 99); 27 Oct 2005 19:31:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Oct 2005 12:31:57 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 27 Oct 2005 12:31:54 -0700 Received: (qmail 30633 invoked by uid 65534); 27 Oct 2005 19:31:36 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r328940 - in /ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test: Maps/Access/OleDb/ Maps/MSSQL/Odbc/ Maps/MSSQL/OleDb/ Maps/MSSQL/SqlClient/ Maps/MySql/ByteFx/ Maps/MySql/MySql/ Maps/Oracle/ODP/ Maps/Oracle/OracleClient/ Maps/PostgreSQL/Npgs... Date: Thu, 27 Oct 2005 19:31:33 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: gbayon Date: Thu Oct 27 12:31:06 2005 New Revision: 328940 URL: http://svn.apache.org/viewcvs?rev=328940&view=rev Log: - Added a unit test Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Access/OleDb/Order.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/Odbc/Order.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/OleDb/Other.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/SqlClient/Order.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/ByteFx/Order.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/MySql/Order.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/Order.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/OracleClient/Order.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/PostgreSQL/Npgsql/Order.xml ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/StatementTest.cs Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Access/OleDb/Order.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Access/OleDb/Order.xml?rev=328940&r1=328939&r2=328940&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Access/OleDb/Order.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Access/OleDb/Order.xml Thu Oct 27 12:31:06 2005 @@ -351,7 +351,15 @@ values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) </statement> - + + <statement id="InsertOrderViaPublicFields"> + insert into Orders + (Order_ID, Account_ID, Order_Date, Order_CardExpiry, Order_CardType, + Order_CardNumber, Order_Street, Order_City, Order_Province, Order_PostalCode ) + values + (#Id#, #Account.Id#, #Date#, #CardExpiry#, #CardType#, #CardNumber#, #Street#, #City#, #Province#, #PostalCode#) + </statement> + <select id="GetOrderWithDynFavouriteLineItem" parameterClass="Integer" resultMap="order-with-dyn-favourite-line-item"> Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/Odbc/Order.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/Odbc/Order.xml?rev=328940&r1=328939&r2=328940&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/Odbc/Order.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/Odbc/Order.xml Thu Oct 27 12:31:06 2005 @@ -368,6 +368,14 @@ (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) </statement> + <statement id="InsertOrderViaPublicFields"> + insert into Orders + (Order_ID, Account_ID, Order_Date, Order_CardExpiry, Order_CardType, + Order_CardNumber, Order_Street, Order_City, Order_Province, Order_PostalCode ) + values + (#Id#, #Account.Id#, #Date#, #CardExpiry#, #CardType#, #CardNumber#, #Street#, #City#, #Province#, #PostalCode#) + </statement> + <select id="GetOrderWithDynFavouriteLineItem" parameterClass="Integer" resultMap="order-with-dyn-favourite-line-item"> Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/OleDb/Other.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/OleDb/Other.xml?rev=328940&r1=328939&r2=328940&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/OleDb/Other.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/OleDb/Other.xml Thu Oct 27 12:31:06 2005 @@ -126,6 +126,14 @@ ( ?, ?, ?, ?) </statement> + <statement id="InsertOrderViaPublicFields"> + insert into Orders + (Order_ID, Account_ID, Order_Date, Order_CardExpiry, Order_CardType, + Order_CardNumber, Order_Street, Order_City, Order_Province, Order_PostalCode ) + values + (#Id#, #Account.Id#, #Date#, #CardExpiry#, #CardType#, #CardNumber#, #Street#, #City#, #Province#, #PostalCode#) + </statement> + <statement id="SelectByInt" parameterClass="int" resultMap="other-result"> Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/SqlClient/Order.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/SqlClient/Order.xml?rev=328940&r1=328939&r2=328940&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/SqlClient/Order.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/SqlClient/Order.xml Thu Oct 27 12:31:06 2005 @@ -369,6 +369,14 @@ Order_CardNumber, Order_Street, Order_City, Order_Province, Order_PostalCode ) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) + </statement> + + <statement id="InsertOrderViaPublicFields"> + insert into Orders + (Order_ID, Account_ID, Order_Date, Order_CardExpiry, Order_CardType, + Order_CardNumber, Order_Street, Order_City, Order_Province, Order_PostalCode ) + values + (#Id#, #Account.Id#, #Date#, #CardExpiry#, #CardType#, #CardNumber#, #Street#, #City#, #Province#, #PostalCode#) </statement> <statement id="InsertOrderViaExtendParameterMap" Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/ByteFx/Order.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/ByteFx/Order.xml?rev=328940&r1=328939&r2=328940&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/ByteFx/Order.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/ByteFx/Order.xml Thu Oct 27 12:31:06 2005 @@ -348,7 +348,15 @@ values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) </statement> - + + <statement id="InsertOrderViaPublicFields"> + insert into Orders + (Order_ID, Account_ID, Order_Date, Order_CardExpiry, Order_CardType, + Order_CardNumber, Order_Street, Order_City, Order_Province, Order_PostalCode ) + values + (#Id#, #Account.Id#, #Date#, #CardExpiry#, #CardType#, #CardNumber#, #Street#, #City#, #Province#, #PostalCode#) + </statement> + <select id="GetOrderWithDynFavouriteLineItem" parameterClass="Integer" resultMap="order-with-dyn-favourite-line-item"> Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/MySql/Order.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/MySql/Order.xml?rev=328940&r1=328939&r2=328940&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/MySql/Order.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MySql/MySql/Order.xml Thu Oct 27 12:31:06 2005 @@ -347,7 +347,15 @@ values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) </statement> - + + <statement id="InsertOrderViaPublicFields"> + insert into Orders + (Order_ID, Account_ID, Order_Date, Order_CardExpiry, Order_CardType, + Order_CardNumber, Order_Street, Order_City, Order_Province, Order_PostalCode ) + values + (#Id#, #Account.Id#, #Date#, #CardExpiry#, #CardType#, #CardNumber#, #Street#, #City#, #Province#, #PostalCode#) + </statement> + <select id="GetOrderWithDynFavouriteLineItem" parameterClass="Integer" resultMap="order-with-dyn-favourite-line-item"> Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/Order.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/Order.xml?rev=328940&r1=328939&r2=328940&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/Order.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/ODP/Order.xml Thu Oct 27 12:31:06 2005 @@ -348,7 +348,15 @@ values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) </statement> - + + <statement id="InsertOrderViaPublicFields"> + insert into Orders + (Order_ID, Account_ID, Order_Date, Order_CardExpiry, Order_CardType, + Order_CardNumber, Order_Street, Order_City, Order_Province, Order_PostalCode ) + values + (#Id#, #Account.Id#, #Date#, #CardExpiry#, #CardType#, #CardNumber#, #Street#, #City#, #Province#, #PostalCode#) + </statement> + <!-- Throws Oracle.DataAccess.Types.OracleTypeException : numeric precision specifier is out of range (1 to 38) Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/OracleClient/Order.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/OracleClient/Order.xml?rev=328940&r1=328939&r2=328940&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/OracleClient/Order.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/Oracle/OracleClient/Order.xml Thu Oct 27 12:31:06 2005 @@ -349,6 +349,14 @@ (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) </statement> + <statement id="InsertOrderViaPublicFields"> + insert into Orders + (Order_ID, Account_ID, Order_Date, Order_CardExpiry, Order_CardType, + Order_CardNumber, Order_Street, Order_City, Order_Province, Order_PostalCode ) + values + (#Id#, #Account.Id#, #Date#, #CardExpiry#, #CardType#, #CardNumber#, #Street#, #City#, #Province#, #PostalCode#) + </statement> + <select id="GetOrderWithDynFavouriteLineItem" parameterClass="Integer" resultMap="order-with-dyn-favourite-line-item"> Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/PostgreSQL/Npgsql/Order.xml URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/PostgreSQL/Npgsql/Order.xml?rev=328940&r1=328939&r2=328940&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/PostgreSQL/Npgsql/Order.xml (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/PostgreSQL/Npgsql/Order.xml Thu Oct 27 12:31:06 2005 @@ -348,7 +348,15 @@ values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) </statement> - + + <statement id="InsertOrderViaPublicFields"> + insert into Orders + (Order_ID, Account_ID, Order_Date, Order_CardExpiry, Order_CardType, + Order_CardNumber, Order_Street, Order_City, Order_Province, Order_PostalCode ) + values + (#Id#, #Account.Id#, #Date#, #CardExpiry#, #CardType#, #CardNumber#, #Street#, #City#, #Province#, #PostalCode#) + </statement> + <select id="GetOrderWithDynFavouriteLineItem" parameterClass="Integer" resultMap="order-with-dyn-favourite-line-item"> Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/StatementTest.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/StatementTest.cs?rev=328940&r1=328939&r2=328940&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/StatementTest.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/NUnit/SqlMapTests/StatementTest.cs Thu Oct 27 12:31:06 2005 @@ -875,6 +875,27 @@ Assert.AreEqual(10, testAccount.Id); } + public void TestInsertOrderViaProperties() + { + Account account = NewAccount6(); + + sqlMap.Insert("InsertAccountViaParameterMap", account); + + Order order = new Order(); + order.Id = 99; + order.CardExpiry = "09/11"; + order.Account = account; + order.CardNumber = "154564656"; + order.CardType = "Visa"; + order.City = "Lyon"; + order.Date = DateTime.Now; + order.PostalCode = "69004"; + order.Province = "Rhone"; + order.Street = "rue Durand"; + + sqlMap.Insert("InsertOrderViaPublicFields", order); + } + /// <summary> /// Test Insert account via public fields /// </summary> From [email protected] Sat Oct 29 21:42:19 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79535 invoked from network); 29 Oct 2005 21:42:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Oct 2005 21:42:19 -0000 Received: (qmail 13348 invoked by uid 500); 29 Oct 2005 21:42:18 -0000 Delivered-To: [email protected] Received: (qmail 13322 invoked by uid 500); 29 Oct 2005 21:42:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 13311 invoked by uid 99); 29 Oct 2005 21:42:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Oct 2005 14:42:18 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 29 Oct 2005 14:42:14 -0700 Received: (qmail 79448 invoked by uid 65534); 29 Oct 2005 21:41:57 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r329486 - /ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/builder/xml/SqlMapConfigParser.java Date: Sat, 29 Oct 2005 21:41:56 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: bgoodin Date: Sat Oct 29 14:41:39 2005 New Revision: 329486 URL: http://svn.apache.org/viewcvs?rev=329486&view=rev Log: addGlobalPropNodelets now processes the attributes for ${...} tokens. Modified: ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/builder/xml/SqlMapConfigParser.java Modified: ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/builder/xml/SqlMapConfigParser.java URL: http://svn.apache.org/viewcvs/ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/builder/xml/SqlMapConfigParser.java?rev=329486&r1=329485&r2=329486&view=diff ============================================================================== --- ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/builder/xml/SqlMapConfigParser.java (original) +++ ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/builder/xml/SqlMapConfigParser.java Sat Oct 29 14:41:39 2005 @@ -110,7 +110,7 @@ public void process(Node node) throws Exception { vars.errorCtx.setActivity("loading global properties"); - Properties attributes = NodeletUtils.parseAttributes(node); + Properties attributes = NodeletUtils.parseAttributes(node,vars.properties); String resource = attributes.getProperty("resource"); String url = attributes.getProperty("url"); From [email protected] Tue Nov 01 05:27:36 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76192 invoked from network); 1 Nov 2005 05:27:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Nov 2005 05:27:36 -0000 Received: (qmail 42222 invoked by uid 500); 1 Nov 2005 05:27:35 -0000 Delivered-To: [email protected] Received: (qmail 42193 invoked by uid 500); 1 Nov 2005 05:27:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 42182 invoked by uid 99); 1 Nov 2005 05:27:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Oct 2005 21:27:35 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 31 Oct 2005 21:27:30 -0800 Received: (qmail 76066 invoked by uid 65534); 1 Nov 2005 05:27:14 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r329979 - in /ibatis/trunk/cs/mapper/IBatisNet.DataMapper: Configuration/ResultMapping/ResultMap.cs Configuration/Serializers/TypeHandlerDeSerializer.cs MappedStatements/MappedStatement.cs Date: Tue, 01 Nov 2005 05:27:12 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: rgrabowski Date: Mon Oct 31 21:27:01 2005 New Revision: 329979 URL: http://svn.apache.org/viewcvs?rev=329979&view=rev Log: Replaced \n with Environment.NewLine Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ResultMapping/ResultMap.cs ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/TypeHandlerDeSerializer.cs ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/MappedStatement.cs Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ResultMapping/ResultMap.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ResultMapping/ResultMap.cs?rev=329979&r1=329978&r2=329979&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ResultMapping/ResultMap.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/ResultMapping/ResultMap.cs Mon Oct 31 21:27:01 2005 @@ -207,7 +207,7 @@ catch(Exception e) { throw new ConfigurationException( - string.Format("Could not configure ResultMap. ResultMap named \"{0}\" not found, failed. \n Cause: {1}", _id, e.Message) + string.Format("Could not configure ResultMap. ResultMap named \"{0}\" not found, failed. {1} Cause: {2}", _id, Environment.NewLine, e.Message) ); } } Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/TypeHandlerDeSerializer.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/TypeHandlerDeSerializer.cs?rev=329979&r1=329978&r2=329979&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/TypeHandlerDeSerializer.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/Configuration/Serializers/TypeHandlerDeSerializer.cs Mon Oct 31 21:27:01 2005 @@ -78,6 +78,7 @@ throw new ConfigurationException("The callBack type is not a valid implementation of ITypeHandler or ITypeHandlerCallback"); } + // configScope.ErrorContext.MoreInfo = "Check the type attribute '" + handler.ClassName + "' (must be a class name) or the dbType '" + handler.DbType + "' (must be a DbType type name)."; if (handler.DbType!= null && handler.DbType.Length > 0) { Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/MappedStatement.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/MappedStatement.cs?rev=329979&r1=329978&r2=329979&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/MappedStatement.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/MappedStatement.cs Mon Oct 31 21:27:01 2005 @@ -1061,7 +1061,8 @@ public override string ToString() { StringBuilder buffer = new StringBuilder(); - buffer.Append("\tMappedStatement: " + this.Name + "\n"); + buffer.Append("\tMappedStatement: " + this.Name); + buffer.Append(Environment.NewLine); if (_statement.ParameterMap != null) buffer.Append(_statement.ParameterMap.Id); if (_statement.ResultMap != null) buffer.Append(_statement.ResultMap.Id); From [email protected] Tue Nov 01 05:33:12 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79634 invoked from network); 1 Nov 2005 05:33:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Nov 2005 05:33:11 -0000 Received: (qmail 46842 invoked by uid 500); 1 Nov 2005 05:33:11 -0000 Delivered-To: [email protected] Received: (qmail 46804 invoked by uid 500); 1 Nov 2005 05:33:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.ibatis.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 46793 invoked by uid 99); 1 Nov 2005 05:33:11 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Oct 2005 21:33:11 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 31 Oct 2005 21:33:06 -0800 Received: (qmail 79556 invoked by uid 65534); 1 Nov 2005 05:32:49 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r329983 - in /ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers: CustomTypeHandler.cs TypeHandlerFactory.cs Date: Tue, 01 Nov 2005 05:32:49 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: rgrabowski Date: Mon Oct 31 21:32:37 2005 New Revision: 329983 URL: http://svn.apache.org/viewcvs?rev=329983&view=rev Log: Notify the user when one of the default type handlers is being replaced: INFO - Replacing type handler [IBatisNet.DataMapper.TypeHandlers.DateTimeTypeHandler] with [Company.Project.Persistence.Impl.NullDateTimeTypeHandlerCallback]. Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/CustomTypeHandler.cs ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/TypeHandlerFactory.cs Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/CustomTypeHandler.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/CustomTypeHandler.cs?rev=329983&r1=329982&r2=329983&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/CustomTypeHandler.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/CustomTypeHandler.cs Mon Oct 31 21:32:37 2005 @@ -45,6 +45,12 @@ _callback = callback; } + public ITypeHandlerCallback Callback + { + get { return _callback; } + set { /* nop */ } + } + /// <summary> /// Performs processing on a value before it is used to set /// the parameter of a IDbCommand. Modified: ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/TypeHandlerFactory.cs URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/TypeHandlerFactory.cs?rev=329983&r1=329982&r2=329983&view=diff ============================================================================== --- ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/TypeHandlerFactory.cs (original) +++ ibatis/trunk/cs/mapper/IBatisNet.DataMapper/TypeHandlers/TypeHandlerFactory.cs Mon Oct 31 21:32:37 2005 @@ -28,6 +28,8 @@ using System; using System.Collections.Specialized; +using System.Reflection; +using IBatisNet.Common.Logging; #endregion @@ -40,7 +42,8 @@ { #region Fields - + + private static readonly ILog _logger = LogManager.GetLogger( MethodBase.GetCurrentMethod().DeclaringType ); private HybridDictionary _typeHandlerMap = new HybridDictionary(); private ITypeHandler _unknownTypeHandler = null; private const string NULL = "_NULL_TYPE_"; @@ -185,7 +188,7 @@ /// Register (add) a type handler for a type and dbType /// </summary> /// <param name="type">the type</param> - /// <param name="dbType">the dbType</param> + /// <param name="dbType">the dbType (optional, if dbType is null the handler will be used for all dbTypes)</param> /// <param name="handler">the handler instance</param> public void Register(Type type, string dbType, ITypeHandler handler) { @@ -197,6 +200,33 @@ } if (dbType==null) { + if (_logger.IsInfoEnabled) + { + // notify the user that they are no longer using one of the built-in type handlers + ITypeHandler oldTypeHandler = (ITypeHandler)map[NULL]; + + if (oldTypeHandler != null) + { + // the replacement will always(?) be a CustomTypeHandler + CustomTypeHandler customTypeHandler = handler as CustomTypeHandler; + + string replacement = string.Empty; + + if (customTypeHandler != null) + { + // report the underlying type + replacement = customTypeHandler.Callback.ToString(); + } + else + { + replacement = handler.ToString(); + } + + // should oldTypeHandler be checked if its a CustomTypeHandler and if so report the Callback property ??? + _logger.Info("Replacing type handler [" + oldTypeHandler.ToString() + "] with [" + replacement + "]."); + } + } + map[NULL] = handler; } else
From [email protected] Wed Jun 11 05:14:56 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56053 invoked from network); 11 Jun 2008 05:14:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Jun 2008 05:14:56 -0000 Received: (qmail 28755 invoked by uid 500); 11 Jun 2008 05:14:59 -0000 Delivered-To: [email protected] Received: (qmail 28742 invoked by uid 500); 11 Jun 2008 05:14:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <win32-msi-cvs.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 28732 invoked by uid 99); 11 Jun 2008 05:14:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jun 2008 22:14:59 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jun 2008 05:14:10 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id A7B4B23889FA; Tue, 10 Jun 2008 22:13:58 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r666529 - /httpd/httpd/win32-msi/trunk/apache_2.2-win32.ism Date: Wed, 11 Jun 2008 05:13:58 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: wrowe Date: Tue Jun 10 22:13:58 2008 New Revision: 666529 URL: http://svn.apache.org/viewvc?rev=666529&view=rev Log: Preparing for 2.2.9 Modified: httpd/httpd/win32-msi/trunk/apache_2.2-win32.ism Modified: httpd/httpd/win32-msi/trunk/apache_2.2-win32.ism URL: http://svn.apache.org/viewvc/httpd/httpd/win32-msi/trunk/apache_2.2-win32.ism?rev=666529&r1=666528&r2=666529&view=diff ============================================================================== --- httpd/httpd/win32-msi/trunk/apache_2.2-win32.ism (original) +++ httpd/httpd/win32-msi/trunk/apache_2.2-win32.ism Tue Jun 10 22:13:58 2008 @@ -352,6 +352,10 @@ <row><td>ApacheNonAdmin</td><td>{DFE85255-CA1B-48E9-B4A8-93565D3F44BA}</td><td>INSTALLDIR</td><td>4</td><td>Not ALLUSERS</td><td>Registry11</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> <row><td>ab</td><td>{8DBE137D-104D-426A-A4C3-3445383AD12B}</td><td>APACHEBINDIR</td><td>0</td><td/><td>ab.exe</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> <row><td>abs</td><td>{581AB144-8BA2-4089-8B92-C61E3806B712}</td><td>APACHEBINDIR</td><td>0</td><td/><td>abs.exe</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> + <row><td>apr_dbd_oracle</td><td>{583DA492-123F-49BE-8637-43A2E97C35BD}</td><td>APACHEBINDIR</td><td>0</td><td/><td>apr_dbd_oracle_1.dll</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> + <row><td>apr_dbd_pgsql</td><td>{FC21E631-123F-49BE-8637-43A2E97C35BD}</td><td>APACHEBINDIR</td><td>0</td><td/><td>apr_dbd_pgsql_1.dll</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> + <row><td>apr_dbd_sqlite3</td><td>{0A48F421-123F-49BE-8637-43A2E97C35BD}</td><td>APACHEBINDIR</td><td>0</td><td/><td>apr_dbd_sqlite3_1.dll</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> + <row><td>apr_ldap</td><td>{B9385A1C-123F-49BE-8637-43A2E97C35BD}</td><td>APACHEBINDIR</td><td>0</td><td/><td>apr_ldap-1.dll</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> <row><td>cgibin</td><td>{57385CC7-3504-4EF9-92B3-DD3B734CF980}</td><td>APACHECGIDIR</td><td>0</td><td/><td>printenv.pl</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> <row><td>conf</td><td>{00557AFD-F5B5-4EFF-87D3-8942174F9778}</td><td>APACHECONFDIR</td><td>0</td><td/><td/><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> <row><td>conf_default</td><td>{14E8726B-4776-4380-AEB1-883478D692C6}</td><td>DEFAULTCONF</td><td>0</td><td/><td>mime.types</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> @@ -375,7 +379,8 @@ <row><td>iconv_bin</td><td>{89474785-9FF1-4E3A-8180-9B013120DC83}</td><td>APACHEICONVDIR</td><td>0</td><td/><td>_tbl_simple.so</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> <row><td>include</td><td>{D4712651-D13C-4878-AD70-3691D2E973F6}</td><td>APACHEINCDIR</td><td>0</td><td/><td>ap_release.h</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> <row><td>lib</td><td>{50446374-9DB8-4791-8A0C-78F5C7ACE6C0}</td><td>APACHELIBDIR</td><td>0</td><td/><td>libhttpd.lib</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> - <row><td>libapr</td><td>{36D937B4-A7C1-42A8-AA32-9BE6FF292529}</td><td>APACHEBINDIR</td><td>0</td><td/><td>libapr_1.dll</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> + <row><td>libapr.9x</td><td>{36D937B4-A7C1-42A8-AA32-9BE6FF292529}</td><td>APACHEBINDIR</td><td>0</td><td>Windows9X</td><td>libapr_1.dll.9x</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> + <row><td>libapr.nt</td><td>{25892597-A7C1-42A8-AA32-9BE6FF292529}</td><td>APACHEBINDIR</td><td>0</td><td>Not Windows9X</td><td>libapr_1.dll.nt</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> <row><td>libapriconv</td><td>{1535C508-AC4B-48C6-AE4B-088B7BCDA7FA}</td><td>APACHEBINDIR</td><td>0</td><td/><td>libapriconv_1.dll</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> <row><td>libaprutil</td><td>{BF12118C-123F-49BE-8637-43A2E97C35BD}</td><td>APACHEBINDIR</td><td>0</td><td/><td>libaprutil_1.dll</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> <row><td>libeay32</td><td>{D6B289E3-2DCB-492F-A597-825200B30F1F}</td><td>OPENSSLBINDIR</td><td>0</td><td/><td>libeay32.dll</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> @@ -395,9 +400,7 @@ <row><td>manual_ssl</td><td>{88687526-6A1C-41F2-95B4-B1362740EC26}</td><td>SSL</td><td>0</td><td/><td>ssl_index.html.en</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> <row><td>manual_style</td><td>{1D2D6112-85C3-41BF-96BA-817471708039}</td><td>STYLE</td><td>0</td><td/><td>common.dtd</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> <row><td>manual_style_css</td><td>{143D8714-91E3-44F1-9237-267F07764FC4}</td><td>CSS</td><td>0</td><td/><td>manual.css</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> - <row><td>manual_style_latex</td><td>{3860EB1C-BABB-442D-BE8D-3D3E2119CF72}</td><td>LATEX</td><td>0</td><td/><td>latex.xsl</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> - <row><td>manual_style_xsl</td><td>{F6DC474C-C4B8-4D6B-9D65-430DDF5926B7}</td><td>XSL</td><td>0</td><td/><td>common.xsl</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> - <row><td>manual_style_xsl_util</td><td>{778BB9B7-7E46-4E1B-94D0-7AF23E32C3C0}</td><td>UTIL</td><td>0</td><td/><td>modtrans.xsl</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> + <row><td>manual_style_latex</td><td>{3860EB1C-BABB-442D-BE8D-3D3E2119CF72}</td><td>LATEX</td><td>0</td><td/><td>atbeginend.sty</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> <row><td>manual_vhosts</td><td>{B95AF312-511E-47DD-AEF1-C47FBCDA1A6A}</td><td>VHOSTS</td><td>0</td><td/><td>vhosts_index.html.en</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> <row><td>mod_actions</td><td>{F82E814B-293E-4334-A556-FC75691B0124}</td><td>APACHEMODULESDIR</td><td>0</td><td/><td>mod_actions.so</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> <row><td>mod_alias</td><td>{B00B8331-7A1D-43E2-9D19-C3C56843356B}</td><td>APACHEMODULESDIR</td><td>0</td><td/><td>mod_alias.so</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> @@ -1532,6 +1535,10 @@ <row><td>ApacheMonitoring</td><td>ApacheMonitor</td></row> <row><td>ApacheRuntime</td><td>ApacheNonAdmin</td></row> <row><td>ApacheRuntime</td><td>ab</td></row> + <row><td>ApacheRuntime</td><td>apr_dbd_oracle</td></row> + <row><td>ApacheRuntime</td><td>apr_dbd_pgsql</td></row> + <row><td>ApacheRuntime</td><td>apr_dbd_sqlite3</td></row> + <row><td>ApacheRuntime</td><td>apr_ldap</td></row> <row><td>ApacheRuntime</td><td>cgibin</td></row> <row><td>ApacheRuntime</td><td>conf</td></row> <row><td>ApacheRuntime</td><td>conf_default</td></row> @@ -1551,7 +1558,8 @@ <row><td>ApacheRuntime</td><td>httpd</td></row> <row><td>ApacheRuntime</td><td>icons</td></row> <row><td>ApacheRuntime</td><td>icons_small</td></row> - <row><td>ApacheRuntime</td><td>libapr</td></row> + <row><td>ApacheRuntime</td><td>libapr.9x</td></row> + <row><td>ApacheRuntime</td><td>libapr.nt</td></row> <row><td>ApacheRuntime</td><td>libapriconv</td></row> <row><td>ApacheRuntime</td><td>libaprutil</td></row> <row><td>ApacheRuntime</td><td>libhttpd</td></row> @@ -1665,17 +1673,21 @@ <row><td>abs.exe</td><td>abs</td><td>abs.exe</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheBuildFolder&gt;\support\Release\abs.exe</td><td>1</td><td/></row> <row><td>ap_release.h</td><td>include</td><td>AP_REL~1.H|ap_release.h</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\include\ap_release.h</td><td>1</td><td/></row> <row><td>apache_header.gif</td><td>manual_images</td><td>APACHE~1.GIF|apache_header.gif</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\manual\images\apache_header.gif</td><td>1</td><td/></row> + <row><td>apr_dbd_oracle_1.dll</td><td>apr_dbd_oracle</td><td>APR_DB~1.DLL|apr_dbd_oracle-1.dll</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\bin\apr_dbd_oracle-1.dll</td><td>1</td><td/></row> + <row><td>apr_dbd_pgsql_1.dll</td><td>apr_dbd_pgsql</td><td>APR_DB~2.DLL|apr_dbd_pgsql-1.dll</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\bin\apr_dbd_pgsql-1.dll</td><td>1</td><td/></row> + <row><td>apr_dbd_sqlite3_1.dll</td><td>apr_dbd_sqlite3</td><td>APR_DB~3.DLL|apr_dbd_sqlite3-1.dll</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\bin\apr_dbd_sqlite3-1.dll</td><td>1</td><td/></row> + <row><td>apr_ldap_1.dll</td><td>apr_ldap</td><td>APR_LD~1.DLL|apr_ldap-1.dll</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\bin\apr_ldap-1.dll</td><td>1</td><td/></row> + <row><td>atbeginend.sty</td><td>manual_style_latex</td><td>atbeginend.sty</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\manual\style\latex\atbeginend.sty</td><td>1</td><td/></row> <row><td>cgi.html.en</td><td>manual_howto</td><td>CGIHTM~1.EN|cgi.html.en</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\manual\howto\cgi.html.en</td><td>1</td><td/></row> <row><td>charset.conv</td><td>conf_default</td><td>CHARSE~1.CON|charset.conv</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheBuildFolder&gt;\docs\conf\charset.conv</td><td>1</td><td/></row> <row><td>common.dtd</td><td>manual_style</td><td>common.dtd</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\manual\style\common.dtd</td><td>1</td><td/></row> - <row><td>common.xsl</td><td>manual_style_xsl</td><td>common.xsl</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\manual\style\xsl\common.xsl</td><td>1</td><td/></row> <row><td>dbmmanage.pl</td><td>dbmmanage</td><td>DBMMAN~1.PL|dbmmanage.pl</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\bin\dbmmanage.pl</td><td>1</td><td/></row> <row><td>developer_index.html.en</td><td>manual_developer</td><td>INDEXH~1.EN|index.html.en</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\manual\developer\index.html.en</td><td>1</td><td/></row> <row><td>faq_index.html</td><td>manual_faq</td><td>INDEX~1.HTM|index.html</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\manual\faq\index.html</td><td>1</td><td/></row> <row><td>icons_blank.gif</td><td>icons</td><td>blank.gif</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\icons\blank.gif</td><td>1</td><td/></row> <row><td>installwinconf.awk</td><td>conf_default_temp</td><td>INSTAL~1.AWK|installwinconf.awk</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheBuildFolder&gt;\build\installwinconf.awk</td><td>1</td><td/></row> - <row><td>latex.xsl</td><td>manual_style_latex</td><td>latex.xsl</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\manual\style\latex\latex.xsl</td><td>1</td><td/></row> - <row><td>libapr_1.dll</td><td>libapr</td><td>libapr-1.dll</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\bin\libapr-1.dll</td><td>1</td><td/></row> + <row><td>libapr_1.dll.9x</td><td>libapr.9x</td><td>libapr-1.dll</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheBuildFolder&gt;\srclib\apr\Release\libapr-1.dll</td><td>1</td><td/></row> + <row><td>libapr_1.dll.nt</td><td>libapr.nt</td><td>libapr-1.dll</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheBuildFolder&gt;\srclib\apr\NT\Release\libapr-1.dll</td><td>1</td><td/></row> <row><td>libapriconv_1.dll</td><td>libapriconv</td><td>LIBAPR~1.DLL|libapriconv-1.dll</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\bin\libapriconv-1.dll</td><td>1</td><td/></row> <row><td>libaprutil_1.dll</td><td>libaprutil</td><td>LIBAPR~1.DLL|libaprutil-1.dll</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\bin\libaprutil-1.dll</td><td>1</td><td/></row> <row><td>libeay32.dll</td><td>libeay32</td><td>libeay32.dll</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\bin\libeay32.dll</td><td>1</td><td/></row> @@ -1763,9 +1775,8 @@ <row><td>mod_usertrack.so</td><td>mod_usertrack</td><td>MOD_US~1.SO|mod_usertrack.so</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\modules\mod_usertrack.so</td><td>1</td><td/></row> <row><td>mod_version.so</td><td>mod_version</td><td>MOD_VE~1.SO|mod_version.so</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\modules\mod_version.so</td><td>1</td><td/></row> <row><td>mod_vhost_alias.so</td><td>mod_vhost_alias</td><td>MOD_VH~1.SO|mod_vhost_alias.so</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\modules\mod_vhost_alias.so</td><td>1</td><td/></row> - <row><td>modtrans.xsl</td><td>manual_style_xsl_util</td><td>modtrans.xsl</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\manual\style\xsl\util\modtrans.xsl</td><td>1</td><td/></row> <row><td>notice.txt</td><td>read</td><td>NOTICE.txt</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\NOTICE.txt</td><td>1</td><td/></row> - <row><td>openssl.cnf</td><td>conf_openssl</td><td>openssl.cnf</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheBuildFolder&gt;\srclib\openssl\apps\openssl.cnf</td><td>1</td><td/></row> + <row><td>openssl.cnf</td><td>conf_openssl</td><td>openssl.cnf</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\conf\openssl.cnf</td><td>1</td><td/></row> <row><td>openssl.exe</td><td>openssl</td><td>openssl.exe</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\bin\openssl.exe</td><td>1</td><td/></row> <row><td>printenv.pl</td><td>cgibin</td><td>printenv.pl</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\cgi-bin\printenv.pl</td><td>1</td><td/></row> <row><td>programs_index.html.en</td><td>manual_programs</td><td>INDEXH~1.EN|index.html.en</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\manual\programs\index.html.en</td><td>1</td><td/></row> @@ -1949,6 +1960,10 @@ <row><td>ApacheNonAdmin</td><td/><td/><td>_D7F867CB_638B_49C6_A205_7B9B7D1C96A8_FILTER</td><td/><td/><td/><td/></row> <row><td>ab</td><td/><td/><td>_BAE490A1_C38D_45D9_A73E_5850E1288B34_FILTER</td><td/><td/><td/><td/></row> <row><td>abs</td><td/><td/><td>_5EEDE9CC_EE8F_4661_8601_EA4F10EC984B_FILTER</td><td/><td/><td/><td/></row> + <row><td>apr_dbd_oracle</td><td/><td/><td>_1404492C_3CBD_48F9_B8EA_97C6D371631C_FILTER</td><td/><td/><td/><td/></row> + <row><td>apr_dbd_pgsql</td><td/><td/><td>_F9048306_3CBD_48F9_B8EA_97C6D371631C_FILTER</td><td/><td/><td/><td/></row> + <row><td>apr_dbd_sqlite3</td><td/><td/><td>_2104294A_3CBD_48F9_B8EA_97C6D371631C_FILTER</td><td/><td/><td/><td/></row> + <row><td>apr_ldap</td><td/><td/><td>_310492F6_3CBD_48F9_B8EA_97C6D371631C_FILTER</td><td/><td/><td/><td/></row> <row><td>cgibin</td><td/><td/><td>_2CE877A9_0121_442C_963F_8098743C8481_FILTER</td><td/><td/><td/><td/></row> <row><td>conf</td><td/><td/><td>_83B239A3_E21A_4F2E_9DBC_9E51BF3D6132_FILTER</td><td/><td/><td/><td/></row> <row><td>conf_default</td><td/><td/><td>_FE199AB6_4AE8_4D25_A465_A2D4E4EB9FBE_FILTER</td><td/><td/><td/><td/></row> @@ -1972,7 +1987,8 @@ <row><td>iconv_bin</td><td/><td/><td>_9F17035A_A96B_4A95_B7F4_26D54F1A671B_FILTER</td><td/><td/><td/><td/></row> <row><td>include</td><td/><td/><td>_F14A7FA0_9036_4D6B_8745_18DBB4DDB2F0_FILTER</td><td/><td/><td/><td/></row> <row><td>lib</td><td/><td/><td>_47ADA0BE_2A18_40AE_A385_84050D6F98F7_FILTER</td><td/><td/><td/><td/></row> - <row><td>libapr</td><td/><td/><td>_15DE664F_9706_4FAB_A589_19281D1F9E13_FILTER</td><td/><td/><td/><td/></row> + <row><td>libapr.9x</td><td/><td/><td>_15DE664F_9706_4FAB_A589_19281D1F9E13_FILTER</td><td/><td/><td/><td/></row> + <row><td>libapr.nt</td><td/><td/><td>_F385CA91_9706_4FAB_A589_19281D1F9E13_FILTER</td><td/><td/><td/><td/></row> <row><td>libapriconv</td><td/><td/><td>_67987A85_8DAF_4185_9AB7_054F1A159291_FILTER</td><td/><td/><td/><td/></row> <row><td>libaprutil</td><td/><td/><td>_3C2ECC56_3CBD_48F9_B8EA_97C6D371631C_FILTER</td><td/><td/><td/><td/></row> <row><td>libeay32</td><td/><td/><td>_1144006A_3648_4D42_BF2E_A64CDF7075A6_FILTER</td><td/><td/><td/><td/></row> @@ -2169,9 +2185,7 @@ <row><td>manual_ssl</td><td>&lt;ApacheTargetFolder&gt;\manual\ssl</td><td>4</td><td>LICENSE,*.html*,*.xml*,*.gif,*.png,*.fig,*.jpg,*.inc</td><td>index.html.en</td><td>0</td></row> <row><td>manual_style</td><td>&lt;ApacheTargetFolder&gt;\manual\style</td><td>4</td><td/><td>common.dtd</td><td>0</td></row> <row><td>manual_style_css</td><td>&lt;ApacheTargetFolder&gt;\manual\style\css</td><td>4</td><td/><td>manual.css</td><td>0</td></row> - <row><td>manual_style_latex</td><td>&lt;ApacheTargetFolder&gt;\manual\style\latex</td><td>4</td><td/><td>latex.xsl</td><td>0</td></row> - <row><td>manual_style_xsl</td><td>&lt;ApacheTargetFolder&gt;\manual\style\xsl</td><td>4</td><td/><td>common.xsl</td><td>0</td></row> - <row><td>manual_style_xsl_util</td><td>&lt;ApacheTargetFolder&gt;\manual\style\xsl\util</td><td>4</td><td/><td>modtrans.xsl</td><td>0</td></row> + <row><td>manual_style_latex</td><td>&lt;ApacheTargetFolder&gt;\manual\style\latex</td><td>4</td><td/><td>atbeginend.sty</td><td>0</td></row> <row><td>manual_vhosts</td><td>&lt;ApacheTargetFolder&gt;\manual\vhosts</td><td>4</td><td>LICENSE,*.html*,*.xml*,*.gif,*.png,*.fig,*.jpg</td><td>index.html.en</td><td>0</td></row> </table> @@ -2418,8 +2432,8 @@ <col def="S255">Value</col> <col def="S255">TestValue</col> <col def="i4">Type</col> - <row><td>ApacheBuildFolder</td><td>d:\asf-build\build-2.2.8\</td><td/><td>2</td></row> - <row><td>ApacheTargetFolder</td><td>d:\asf-build\target-2.2.8\</td><td/><td>2</td></row> + <row><td>ApacheBuildFolder</td><td>d:\asf-build\build-2.2.9\</td><td/><td>2</td></row> + <row><td>ApacheTargetFolder</td><td>d:\asf-build\target-2.2.9\</td><td/><td>2</td></row> <row><td>CommonFilesFolder</td><td/><td/><td>1</td></row> <row><td>ISPROJECTDIR</td><td/><td/><td>1</td></row> <row><td>ISProductFolder</td><td/><td/><td>1</td></row> @@ -2451,8 +2465,8 @@ <row><td>win32</td><td>Comments</td><td>##IDS_Dev_Warning##</td></row> <row><td>win32</td><td>PackageCode</td><td>{69492F41-747E-42B4-BF27-5C49212C5F24}</td></row> <row><td>win32</td><td>ProductCode</td><td>{85262A06-2D8C-4BC1-B6ED-5A705D09CFFC}</td></row> - <row><td>win32</td><td>ProductName</td><td>Apache HTTP Server 2.2.8</td></row> - <row><td>win32</td><td>ProductVersion</td><td>2.2.8</td></row> + <row><td>win32</td><td>ProductName</td><td>Apache HTTP Server 2.2.9</td></row> + <row><td>win32</td><td>ProductVersion</td><td>2.2.9</td></row> <row><td>win32</td><td>SetupFileName</td><td>setup</td></row> <row><td>win32</td><td>Subject</td><td>##AppProduct_Description##</td></row> <row><td>win32</td><td>Title</td><td>##IDS_Package_Title##</td></row> @@ -2705,7 +2719,7 @@ <col def="I2">Encoded</col> <col def="S0">Comment</col> <col def="I4">TimeStamp</col> - <row><td>AppProduct</td><td>1033</td><td>Apache HTTP Server 2.2.8</td><td>0</td><td>SYSTEM_GENERATED</td><td>1578731275</td></row> + <row><td>AppProduct</td><td>1033</td><td>Apache HTTP Server 2.2.9</td><td>0</td><td>SYSTEM_GENERATED</td><td>1578731275</td></row> <row><td>AppProduct_Description</td><td>1033</td><td>The Apache HTTP Web Server Version 2.2</td><td>0</td><td/><td>1712964623</td></row> <row><td>AppProduct_ShortLongName</td><td>1033</td><td>APACHE~1.2|Apache HTTP Server 2.2</td><td>0</td><td/><td>1712971342</td></row> <row><td>AppPublisher</td><td>1033</td><td>Apache Software Foundation</td><td>0</td><td/><td>1360611656</td></row> @@ -2728,7 +2742,7 @@ <row><td>Feature_Iconv</td><td>1033</td><td>APR Iconv Code Pages</td><td>0</td><td/><td>1360611656</td></row> <row><td>Feature_Iconv_Description</td><td>1033</td><td>APR Iconv Character Set Translation Modules (required for mod_charset_lite and some 3rd party modules)</td><td>0</td><td/><td>1360611656</td></row> <row><td>Feature_OpenSSL</td><td>1033</td><td>OpenSSL Runtime</td><td>0</td><td/><td>1360611656</td></row> - <row><td>Feature_OpenSSL_Description</td><td>1033</td><td>Minimal OpenSSL files to use mod_ssl. If OpenSSL 0.9.8d or later is installed in your system path, or if you won't attempt to load mod_ssl, these are not required. See &lt;http://www.openssl.org/&gt; to obtain the complete package</td><td>0</td><td/><td>1712946798</td></row> + <row><td>Feature_OpenSSL_Description</td><td>1033</td><td>Minimal OpenSSL files to use mod_ssl. If OpenSSL 0.9.8h or later is installed in your system path, or if you won't attempt to load mod_ssl, these are not required. See &lt;http://www.openssl.org/&gt; to obtain the complete package</td><td>0</td><td/><td>1712946798</td></row> <row><td>Feature_SSL</td><td>1033</td><td>Ssl Binaries</td><td>0</td><td/><td>1360611656</td></row> <row><td>Feature_SSL_Description</td><td>1033</td><td>The ssl_module and abs (ApacheBench/SSL)</td><td>0</td><td/><td>1360611656</td></row> <row><td>IDPROP_EXPRESS_LAUNCH_CONDITION_COLOR</td><td>1033</td><td>The color settings of your system are not adequate for running [ProductName].</td><td>0</td><td/><td>-+1-424-911-1170</td></row> @@ -4586,7 +4600,7 @@ <row><td>PROGMSG_IIS_ROLLBACKWEBSERVICEEXTENSIONS</td><td>##IDS_PROGMSG_IIS_ROLLBACKWEBSERVICEEXTENSIONS##</td><td/></row> <row><td>ProductCode</td><td>{8F721A14-795E-4D11-87DC-CD5778E45D05}</td><td/></row> <row><td>ProductName</td><td>Apache HTTP Server 2.2</td><td/></row> - <row><td>ProductVersion</td><td>2.2.8</td><td/></row> + <row><td>ProductVersion</td><td>2.2.9</td><td/></row> <row><td>ProgressType0</td><td>install</td><td/></row> <row><td>ProgressType1</td><td>Installing</td><td/></row> <row><td>ProgressType2</td><td>installed</td><td/></row> @@ -4656,10 +4670,10 @@ <col def="S0">Value</col> <col def="s72">Component_</col> <col def="I4">ISAttributes</col> - <row><td>Registry1</td><td>2</td><td>SOFTWARE\Apache Software Foundation\Apache\2.2.8</td><td>ServerRoot</td><td>[INSTALLDIR]</td><td>ApacheAdmin</td><td>0</td></row> + <row><td>Registry1</td><td>2</td><td>SOFTWARE\Apache Software Foundation\Apache\2.2.9</td><td>ServerRoot</td><td>[INSTALLDIR]</td><td>ApacheAdmin</td><td>0</td></row> <row><td>Registry10</td><td>2</td><td>SOFTWARE\Classes\sofile</td><td/><td>Apache Loadable Module</td><td>ApacheAdmin</td><td>0</td></row> - <row><td>Registry11</td><td>1</td><td>SOFTWARE\Apache Software Foundation\Apache\2.2.8</td><td>Installed</td><td>#1</td><td>ApacheNonAdmin</td><td>0</td></row> - <row><td>Registry2</td><td>2</td><td>SOFTWARE\Apache Software Foundation\Apache\2.2.8</td><td>Shared</td><td>#1</td><td>ApacheAdmin</td><td>0</td></row> + <row><td>Registry11</td><td>1</td><td>SOFTWARE\Apache Software Foundation\Apache\2.2.9</td><td>Installed</td><td>#1</td><td>ApacheNonAdmin</td><td>0</td></row> + <row><td>Registry2</td><td>2</td><td>SOFTWARE\Apache Software Foundation\Apache\2.2.9</td><td>Shared</td><td>#1</td><td>ApacheAdmin</td><td>0</td></row> <row><td>Registry3</td><td>2</td><td>SOFTWARE\Classes\.conf</td><td/><td>txtfile</td><td>ApacheAdmin</td><td>0</td></row> <row><td>Registry4</td><td>2</td><td>SOFTWARE\Classes\.conf</td><td>Content Type</td><td>text/plain</td><td>ApacheAdmin</td><td>0</td></row> <row><td>Registry5</td><td>2</td><td>SOFTWARE\Classes\.log</td><td/><td>txtfile</td><td>ApacheAdmin</td><td>0</td></row> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jun 11 05:39:58 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63360 invoked from network); 11 Jun 2008 05:39:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Jun 2008 05:39:58 -0000 Received: (qmail 42418 invoked by uid 500); 11 Jun 2008 05:40:00 -0000 Delivered-To: [email protected] Received: (qmail 42403 invoked by uid 500); 11 Jun 2008 05:40:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <win32-msi-cvs.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 42394 invoked by uid 99); 11 Jun 2008 05:40:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jun 2008 22:40:00 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jun 2008 05:39:18 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 72B4C23889C2; Tue, 10 Jun 2008 22:39:36 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r666534 - /httpd/httpd/win32-msi/trunk/apache_2.2-win32.ism Date: Wed, 11 Jun 2008 05:39:36 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: wrowe Date: Tue Jun 10 22:39:35 2008 New Revision: 666534 URL: http://svn.apache.org/viewvc?rev=666534&view=rev Log: The contents of style/*, style/latex and style/xsl should all be eliminated for an html manual compilation (such as the httpd source or binary distribution). Modified: httpd/httpd/win32-msi/trunk/apache_2.2-win32.ism Modified: httpd/httpd/win32-msi/trunk/apache_2.2-win32.ism URL: http://svn.apache.org/viewvc/httpd/httpd/win32-msi/trunk/apache_2.2-win32.ism?rev=666534&r1=666533&r2=666534&view=diff ============================================================================== --- httpd/httpd/win32-msi/trunk/apache_2.2-win32.ism (original) +++ httpd/httpd/win32-msi/trunk/apache_2.2-win32.ism Tue Jun 10 22:39:35 2008 @@ -398,9 +398,7 @@ <row><td>manual_programs</td><td>{7A359C25-72E7-4661-B88A-DE8124C3433D}</td><td>PROGRAMS</td><td>0</td><td/><td>programs_index.html.en</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> <row><td>manual_rewrite</td><td>{FC26F53D-F006-43FB-9182-51BE25E3C67B}</td><td>REWRITE</td><td>8</td><td/><td>rewrite_index.html.en</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> <row><td>manual_ssl</td><td>{88687526-6A1C-41F2-95B4-B1362740EC26}</td><td>SSL</td><td>0</td><td/><td>ssl_index.html.en</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> - <row><td>manual_style</td><td>{1D2D6112-85C3-41BF-96BA-817471708039}</td><td>STYLE</td><td>0</td><td/><td>common.dtd</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> <row><td>manual_style_css</td><td>{143D8714-91E3-44F1-9237-267F07764FC4}</td><td>CSS</td><td>0</td><td/><td>manual.css</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> - <row><td>manual_style_latex</td><td>{3860EB1C-BABB-442D-BE8D-3D3E2119CF72}</td><td>LATEX</td><td>0</td><td/><td>atbeginend.sty</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> <row><td>manual_vhosts</td><td>{B95AF312-511E-47DD-AEF1-C47FBCDA1A6A}</td><td>VHOSTS</td><td>0</td><td/><td>vhosts_index.html.en</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> <row><td>mod_actions</td><td>{F82E814B-293E-4334-A556-FC75691B0124}</td><td>APACHEMODULESDIR</td><td>0</td><td/><td>mod_actions.so</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> <row><td>mod_alias</td><td>{B00B8331-7A1D-43E2-9D19-C3C56843356B}</td><td>APACHEMODULESDIR</td><td>0</td><td/><td>mod_alias.so</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> @@ -1202,7 +1200,6 @@ <row><td>IMAGES</td><td>APACHEMANUALDIR</td><td>images</td><td/><td>0</td><td/></row> <row><td>INCLUDE</td><td>APACHEERRORDIR</td><td>include</td><td/><td>0</td><td/></row> <row><td>INSTALLDIR</td><td>APACHE_SOFTWARE_FOUNDATION</td><td>Apache2.2</td><td/><td>0</td><td/></row> - <row><td>LATEX</td><td>STYLE</td><td>latex</td><td/><td>0</td><td/></row> <row><td>LocalAppDataFolder</td><td>TARGETDIR</td><td>.:LocalA~1|LocalAppData</td><td/><td/><td/></row> <row><td>MANUAL</td><td>INSTALLDIR</td><td>manual</td><td/><td>0</td><td/></row> <row><td>MISC</td><td>APACHEMANUALDIR</td><td>misc</td><td/><td>0</td><td/></row> @@ -1233,11 +1230,9 @@ <row><td>TempFolder</td><td>TARGETDIR</td><td>.:Temp</td><td/><td/><td/></row> <row><td>TemplateFolder</td><td>TARGETDIR</td><td>.:ShellNew</td><td/><td/><td/></row> <row><td>USERPROFILE</td><td>TARGETDIR</td><td>.:USERPR~1|UserProfile</td><td/><td>0</td><td/></row> - <row><td>UTIL</td><td>XSL</td><td>util</td><td/><td>0</td><td/></row> <row><td>VHOSTS</td><td>APACHEMANUALDIR</td><td>vhosts</td><td/><td>0</td><td/></row> <row><td>WindowsFolder</td><td>TARGETDIR</td><td>.:Windows</td><td/><td/><td/></row> <row><td>WindowsVolume</td><td>TARGETDIR</td><td>.:WinRoot</td><td/><td/><td/></row> - <row><td>XSL</td><td>STYLE</td><td>xsl</td><td/><td>0</td><td/></row> <row><td>administerapache</td><td>ProgramMenuFolder</td><td>##AppProduct_ShortLongName##</td><td>Description of folder</td><td>1</td><td/></row> <row><td>shortcutsconfigure</td><td>administerapache</td><td>##Shortcut_Configure_ShortLongName##</td><td>Description of folder</td><td>1</td><td/></row> <row><td>shortcutsreviewlogs</td><td>administerapache</td><td>##Shortcut_ReviewLogs_ShortLongName##</td><td>Description of folder</td><td>1</td><td/></row> @@ -1524,11 +1519,7 @@ <row><td>ApacheDocs</td><td>manual_programs</td></row> <row><td>ApacheDocs</td><td>manual_rewrite</td></row> <row><td>ApacheDocs</td><td>manual_ssl</td></row> - <row><td>ApacheDocs</td><td>manual_style</td></row> <row><td>ApacheDocs</td><td>manual_style_css</td></row> - <row><td>ApacheDocs</td><td>manual_style_latex</td></row> - <row><td>ApacheDocs</td><td>manual_style_xsl</td></row> - <row><td>ApacheDocs</td><td>manual_style_xsl_util</td></row> <row><td>ApacheDocs</td><td>manual_vhosts</td></row> <row><td>ApacheDocs</td><td>read</td></row> <row><td>ApacheRuntime</td><td>ApacheAdmin</td></row> @@ -1677,10 +1668,8 @@ <row><td>apr_dbd_pgsql_1.dll</td><td>apr_dbd_pgsql</td><td>APR_DB~2.DLL|apr_dbd_pgsql-1.dll</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\bin\apr_dbd_pgsql-1.dll</td><td>1</td><td/></row> <row><td>apr_dbd_sqlite3_1.dll</td><td>apr_dbd_sqlite3</td><td>APR_DB~3.DLL|apr_dbd_sqlite3-1.dll</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\bin\apr_dbd_sqlite3-1.dll</td><td>1</td><td/></row> <row><td>apr_ldap_1.dll</td><td>apr_ldap</td><td>APR_LD~1.DLL|apr_ldap-1.dll</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\bin\apr_ldap-1.dll</td><td>1</td><td/></row> - <row><td>atbeginend.sty</td><td>manual_style_latex</td><td>atbeginend.sty</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\manual\style\latex\atbeginend.sty</td><td>1</td><td/></row> <row><td>cgi.html.en</td><td>manual_howto</td><td>CGIHTM~1.EN|cgi.html.en</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\manual\howto\cgi.html.en</td><td>1</td><td/></row> <row><td>charset.conv</td><td>conf_default</td><td>CHARSE~1.CON|charset.conv</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheBuildFolder&gt;\docs\conf\charset.conv</td><td>1</td><td/></row> - <row><td>common.dtd</td><td>manual_style</td><td>common.dtd</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\manual\style\common.dtd</td><td>1</td><td/></row> <row><td>dbmmanage.pl</td><td>dbmmanage</td><td>DBMMAN~1.PL|dbmmanage.pl</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\bin\dbmmanage.pl</td><td>1</td><td/></row> <row><td>developer_index.html.en</td><td>manual_developer</td><td>INDEXH~1.EN|index.html.en</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\manual\developer\index.html.en</td><td>1</td><td/></row> <row><td>faq_index.html</td><td>manual_faq</td><td>INDEX~1.HTM|index.html</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\manual\faq\index.html</td><td>1</td><td/></row> @@ -2006,11 +1995,7 @@ <row><td>manual_programs</td><td/><td/><td>_40819F45_3146_4FF4_86D6_C79D3F70CAF0_FILTER</td><td/><td/><td/><td/></row> <row><td>manual_rewrite</td><td/><td/><td>_BFCEFA4C_C43E_4361_9034_74A85ADD3AB8_FILTER</td><td/><td/><td/><td/></row> <row><td>manual_ssl</td><td/><td/><td>_687B1F36_EF43_4EC0_B9F4_19CD6D8C56BE_FILTER</td><td/><td/><td/><td/></row> - <row><td>manual_style</td><td/><td/><td>_8ED6068F_9C33_4114_A735_683A67AA9A4C_FILTER</td><td/><td/><td/><td/></row> <row><td>manual_style_css</td><td/><td/><td>_6144A3C8_BAD0_4C97_95E5_EE26B43899E5_FILTER</td><td/><td/><td/><td/></row> - <row><td>manual_style_latex</td><td/><td/><td>_9983BDC1_F658_4001_B270_B6AC7E966E8F_FILTER</td><td/><td/><td/><td/></row> - <row><td>manual_style_xsl</td><td/><td/><td>_39817A19_6227_4C42_BCA5_D4355BBF6892_FILTER</td><td/><td/><td/><td/></row> - <row><td>manual_style_xsl_util</td><td/><td/><td>_8B81483F_EDC9_4EE6_8C6C_A81FCCCB3695_FILTER</td><td/><td/><td/><td/></row> <row><td>manual_vhosts</td><td/><td/><td>_04E78449_61CB_4C59_BA8D_7650AEC59644_FILTER</td><td/><td/><td/><td/></row> <row><td>mod_actions</td><td/><td/><td>_924054FA_4C58_4E80_B409_C5547187B529_FILTER</td><td/><td/><td/><td/></row> <row><td>mod_alias</td><td/><td/><td>_101F7150_7EDD_448B_A551_942DA611671C_FILTER</td><td/><td/><td/><td/></row> @@ -2183,9 +2168,7 @@ <row><td>manual_programs</td><td>&lt;ApacheTargetFolder&gt;\manual\programs</td><td>4</td><td>LICENSE,*.html*,*.xml*,*.gif,*.png,*.fig,*.jpg</td><td>index.html.en</td><td>0</td></row> <row><td>manual_rewrite</td><td>&lt;ApacheTargetFolder&gt;\manual\rewrite</td><td>4</td><td>LICENSE,*.html*,*.xml*,*.gif,*.png,*.fig,*.jpg</td><td>index.html.en</td><td>0</td></row> <row><td>manual_ssl</td><td>&lt;ApacheTargetFolder&gt;\manual\ssl</td><td>4</td><td>LICENSE,*.html*,*.xml*,*.gif,*.png,*.fig,*.jpg,*.inc</td><td>index.html.en</td><td>0</td></row> - <row><td>manual_style</td><td>&lt;ApacheTargetFolder&gt;\manual\style</td><td>4</td><td/><td>common.dtd</td><td>0</td></row> <row><td>manual_style_css</td><td>&lt;ApacheTargetFolder&gt;\manual\style\css</td><td>4</td><td/><td>manual.css</td><td>0</td></row> - <row><td>manual_style_latex</td><td>&lt;ApacheTargetFolder&gt;\manual\style\latex</td><td>4</td><td/><td>atbeginend.sty</td><td>0</td></row> <row><td>manual_vhosts</td><td>&lt;ApacheTargetFolder&gt;\manual\vhosts</td><td>4</td><td>LICENSE,*.html*,*.xml*,*.gif,*.png,*.fig,*.jpg</td><td>index.html.en</td><td>0</td></row> </table> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Jun 14 03:07:39 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 62523 invoked from network); 14 Jun 2008 03:07:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2008 03:07:39 -0000 Received: (qmail 95763 invoked by uid 500); 14 Jun 2008 03:07:42 -0000 Delivered-To: [email protected] Received: (qmail 95750 invoked by uid 500); 14 Jun 2008 03:07:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <win32-msi-cvs.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 95741 invoked by uid 99); 14 Jun 2008 03:07:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jun 2008 20:07:42 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Jun 2008 03:07:00 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id E554C2388A0A; Fri, 13 Jun 2008 20:06:48 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r667724 - /httpd/httpd/win32-msi/trunk/apache_2.2-win32.ism Date: Sat, 14 Jun 2008 03:06:48 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: wrowe Date: Fri Jun 13 20:06:48 2008 New Revision: 667724 URL: http://svn.apache.org/viewvc?rev=667724&view=rev Log: Add win32 README Modified: httpd/httpd/win32-msi/trunk/apache_2.2-win32.ism Modified: httpd/httpd/win32-msi/trunk/apache_2.2-win32.ism URL: http://svn.apache.org/viewvc/httpd/httpd/win32-msi/trunk/apache_2.2-win32.ism?rev=667724&r1=667723&r2=667724&view=diff ============================================================================== --- httpd/httpd/win32-msi/trunk/apache_2.2-win32.ism (original) +++ httpd/httpd/win32-msi/trunk/apache_2.2-win32.ism Fri Jun 13 20:06:48 2008 @@ -1657,6 +1657,7 @@ <row><td>INSTALL.txt</td><td>read</td><td>INSTALL.txt</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\INSTALL.txt</td><td>1</td><td/></row> <row><td>LICENSE.txt</td><td>read</td><td>LICENSE.txt</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\LICENSE.txt</td><td>1</td><td/></row> <row><td>README.txt</td><td>read</td><td>README.txt</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\README.txt</td><td>1</td><td/></row> + <row><td>README-win32.txt</td><td>read</td><td>README~1.txt|README-win32.txt</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheBuildFolder&gt;\README-win32.txt</td><td>1</td><td/></row> <row><td>OPENSSLREADME.txt</td><td>openssl_read</td><td>OPENSS~1.TXT|OPENSSL-README.txt</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\OPENSSL-README.txt</td><td>1</td><td/></row> <row><td>OPENSSLNEWS.txt</td><td>openssl_read</td><td>OPENSS~1.TXT|OPENSSL-NEWS.txt</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\OPENSSL-NEWS.txt</td><td>1</td><td/></row> <row><td>_tbl_simple.so</td><td>iconv_bin</td><td>_TBL_S~1.SO|_tbl_simple.so</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\bin\iconv\_tbl_simple.so</td><td>1</td><td/></row> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Jun 14 18:22:36 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 55246 invoked from network); 14 Jun 2008 18:22:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2008 18:22:35 -0000 Received: (qmail 85629 invoked by uid 500); 14 Jun 2008 18:22:38 -0000 Delivered-To: [email protected] Received: (qmail 85616 invoked by uid 500); 14 Jun 2008 18:22:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <win32-msi-cvs.httpd.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 85606 invoked by uid 99); 14 Jun 2008 18:22:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Jun 2008 11:22:38 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Jun 2008 18:21:56 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 03D282388A1E; Sat, 14 Jun 2008 11:22:15 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r667863 - /httpd/httpd/win32-msi/trunk/apache_2.2-win32.ism Date: Sat, 14 Jun 2008 18:22:14 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: wrowe Date: Sat Jun 14 11:22:14 2008 New Revision: 667863 URL: http://svn.apache.org/viewvc?rev=667863&view=rev Log: Patch to repackage (-r2) binary, two identifiers included '-' which is invalid (substituting '_'). Modified: httpd/httpd/win32-msi/trunk/apache_2.2-win32.ism Modified: httpd/httpd/win32-msi/trunk/apache_2.2-win32.ism URL: http://svn.apache.org/viewvc/httpd/httpd/win32-msi/trunk/apache_2.2-win32.ism?rev=667863&r1=667862&r2=667863&view=diff ============================================================================== --- httpd/httpd/win32-msi/trunk/apache_2.2-win32.ism (original) +++ httpd/httpd/win32-msi/trunk/apache_2.2-win32.ism Sat Jun 14 11:22:14 2008 @@ -355,7 +355,7 @@ <row><td>apr_dbd_oracle</td><td>{583DA492-123F-49BE-8637-43A2E97C35BD}</td><td>APACHEBINDIR</td><td>0</td><td/><td>apr_dbd_oracle_1.dll</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> <row><td>apr_dbd_pgsql</td><td>{FC21E631-123F-49BE-8637-43A2E97C35BD}</td><td>APACHEBINDIR</td><td>0</td><td/><td>apr_dbd_pgsql_1.dll</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> <row><td>apr_dbd_sqlite3</td><td>{0A48F421-123F-49BE-8637-43A2E97C35BD}</td><td>APACHEBINDIR</td><td>0</td><td/><td>apr_dbd_sqlite3_1.dll</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> - <row><td>apr_ldap</td><td>{B9385A1C-123F-49BE-8637-43A2E97C35BD}</td><td>APACHEBINDIR</td><td>0</td><td/><td>apr_ldap-1.dll</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> + <row><td>apr_ldap</td><td>{B9385A1C-123F-49BE-8637-43A2E97C35BD}</td><td>APACHEBINDIR</td><td>0</td><td/><td>apr_ldap_1.dll</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> <row><td>cgibin</td><td>{57385CC7-3504-4EF9-92B3-DD3B734CF980}</td><td>APACHECGIDIR</td><td>0</td><td/><td>printenv.pl</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> <row><td>conf</td><td>{00557AFD-F5B5-4EFF-87D3-8942174F9778}</td><td>APACHECONFDIR</td><td>0</td><td/><td/><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> <row><td>conf_default</td><td>{14E8726B-4776-4380-AEB1-883478D692C6}</td><td>DEFAULTCONF</td><td>0</td><td/><td>mime.types</td><td>1</td><td/><td/><td/><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td><td>/LogFile=</td></row> @@ -1657,7 +1657,7 @@ <row><td>INSTALL.txt</td><td>read</td><td>INSTALL.txt</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\INSTALL.txt</td><td>1</td><td/></row> <row><td>LICENSE.txt</td><td>read</td><td>LICENSE.txt</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\LICENSE.txt</td><td>1</td><td/></row> <row><td>README.txt</td><td>read</td><td>README.txt</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\README.txt</td><td>1</td><td/></row> - <row><td>README-win32.txt</td><td>read</td><td>README~1.txt|README-win32.txt</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheBuildFolder&gt;\README-win32.txt</td><td>1</td><td/></row> + <row><td>README_win32.txt</td><td>read</td><td>README~1.txt|README-win32.txt</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheBuildFolder&gt;\README-win32.txt</td><td>1</td><td/></row> <row><td>OPENSSLREADME.txt</td><td>openssl_read</td><td>OPENSS~1.TXT|OPENSSL-README.txt</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\OPENSSL-README.txt</td><td>1</td><td/></row> <row><td>OPENSSLNEWS.txt</td><td>openssl_read</td><td>OPENSS~1.TXT|OPENSSL-NEWS.txt</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\OPENSSL-NEWS.txt</td><td>1</td><td/></row> <row><td>_tbl_simple.so</td><td>iconv_bin</td><td>_TBL_S~1.SO|_tbl_simple.so</td><td>0</td><td/><td/><td/><td>1</td><td>&lt;ApacheTargetFolder&gt;\bin\iconv\_tbl_simple.so</td><td>1</td><td/></row> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
From [email protected] Fri Dec 03 12:40:52 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33288 invoked from network); 3 Dec 2004 12:40:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 3 Dec 2004 12:40:52 -0000 Received: (qmail 57274 invoked by uid 500); 3 Dec 2004 12:40:41 -0000 Delivered-To: [email protected] Received: (qmail 57265 invoked by uid 500); 3 Dec 2004 12:40:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 57245 invoked by uid 99); 3 Dec 2004 12:40:40 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from Unknown (HELO letter.nuance.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 03 Dec 2004 04:40:37 -0800 Received: from postcard.nuance.com ([161.129.204.104]:47804) by letter.nuance.com with esmtp id 1CaCji-000583-Vf for [email protected]; Fri, 03 Dec 2004 04:40:34 -0800 Received: from mtb1exch01.nuance.com ([161.129.204.104]) by postcard.nuance.com with Microsoft SMTPSVC(6.0.3790.0); Fri, 3 Dec 2004 07:40:29 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Deserialization problems Date: Fri, 3 Dec 2004 07:40:29 -0500 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Deserialization problems Thread-Index: AcTUqLYenuSetaVZTTKz25yBcg8XXQEiqOLQ From: "Jacques-Olivier Goussard" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 03 Dec 2004 12:40:29.0798 (UTC) FILETIME=[45A26060:01C4D935] X-FromHost: postcard.nuance.com [161.129.204.104]:47804 Lines: 177 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi alek A question about this. The main advantage (at least for what I'm doing) of WSIF is its provider agnostic view of webservices. If WSIF is to keep this, enabling users to change the binding without having to change their client code, then complex objects must be represented in the same way for SOAP or Java binding (to name only two). Or are you to drop this design ? Will users be expected to do a if (outMsg instanceof XmlElement) { // Handle SOAP response } else { // Must be a java response } ? Java binding does of course use beans. So IMHO the SDI should at least provide a way to generate complex objects as beans too. It seems you have a support for XMLBeans, but as it=20 suppose a code generation step (if I'm not mistaken), it's as usefull as Axis WSDL2Java. Because I'm integrating WSIF within Struts, my plans were to try to create a Dynabean de/serializer for Axis to solve this problem - but I know it's taylored to my problem. /jog > -----Original Message----- > From: Aleksander Slominski [mailto:[email protected]] > Sent: Saturday, November 27, 2004 12:44 PM > To: [email protected] > Subject: Re: Deserialization problems >=20 >=20 > SDI <http://www.extreme.indiana.edu/%7Easlom/bnp/sdi/> aims=20 > exactly to=20 > do this - if i have some time i will post examples how to do=20 > message as=20 > DOM element and XPath manipulations. >=20 > thanks, >=20 > alek >=20 > Jacques-Olivier Goussard wrote: >=20 > >>Can I do this within WSIF? > >> =20 > >> > >AFAIK, no, not in the current version. > >You have to dig into axis to do this. > >I'll probably have to do the same in a > >short while, as I've the same problem :) > > /jog > > > > =20 > > > >>-----Original Message----- > >>From: Honorez Dylan [mailto:[email protected]] > >>Sent: Thursday, November 25, 2004 10:16 AM > >>To: [email protected] > >>Subject: RE: Deserialization problems > >> > >> > >>Hi, > >> > >>Wouldn't it be possible to send the content of the=20 > >>soapmessage back as a > >>String, containing XML? This in case of document-literal style of > >>course. And how should I do this? Because I looked at the=20 > >>WSIF code, it > >>has a separate method of invoking document-literal style,=20 > but it's the > >>axis call that immediately tries to deserialize it, and I=20 > can't touch > >>the call without messing everything up.=20 > >> > >>Can I do this within WSIF? > >> > >>Kind regards, > >>Dylan Honorez, > >>[email protected] > >>=20 > >>-----Original Message----- > >>From: Jacques-Olivier Goussard [mailto:[email protected]]=20 > >>Sent: woensdag 24 november 2004 15:56 > >>To: [email protected] > >>Subject: RE: Deserialization problems > >> > >>No WSIF is not dynamic in that sense. Every schema complex > >>object must be mapped to a predefined java bean, so that > >>AXIS can use its bean de/serializer on it. > >>You could dynamically generate those beans using AXIS > >>WSDL2Java tool, i.e. 'a la' JSP compilation, but I > >>guess that's not what you are looking for. > >>There has been some talks here to give access to the > >>SOAP message directly, so that you could get a DOM, > >>but then that makes WSIF API dependent of the provider > >>(IMHO). > >>Alternatively, you can dig into AXIS and create a > >>de/serializer that generates a DOM or some kind of generic > >>holder (hashmap) from the SOAP messages. > >> /jog > >> > >>-----Original Message----- > >>From: Honorez Dylan [mailto:[email protected]] > >>Sent: Wednesday, November 24, 2004 9:34 AM > >>To: [email protected] > >>Subject: RE: Deserialization problems > >> > >> > >>Yes, I looked at the complexSoap sample, because it uses > >>document-literal. And before invoking, it makes a mapping,=20 > which makes > >>it not dynamic anymore... > >> > >>I also tried mapping the response to an object, but that=20 > doesn't work. > >>"Unexpexted element in getIntResponse". > >> > >>Seems like WSIF is dynamic for rpc-encoded, but not for > >>document-literal? > >> > >>Kind regards, > >>Dylan Honorez, > >>[email protected] > >>=20 > >> > >>-----Original Message----- > >>From: Jeff Greif [mailto:[email protected]]=20 > >>Sent: woensdag 24 november 2004 15:20 > >>To: [email protected] > >>Subject: Re: Deserialization problems > >> > >>Have you looked at the DynamicInvoker sample in the WSIF=20 > distribution? > >>Jeff > >>----- Original Message -----=20 > >>From: "Honorez Dylan" <[email protected]> > >>To: <[email protected]> > >>Sent: Wednesday, November 24, 2004 2:25 AM > >>Subject: RE: Deserialization problems > >> > >> > >>Doesn't making a mapping make it static instead of dynamic?=20 > >>That's just > >>what I don't want to do. What I want to do is having the=20 > BPEL process > >>invoke any service with WSIF.=20 > >> > >> > >> > >>=20 > >> =20 > >> > >> > >>=20 > >> =20 > >> > >> > >> =20 > >> > > > > =20 > > >=20 >=20 > --=20 > The best way to predict the future is to invent it - Alan Kay >=20 >=20 > =20 > =20 >=20 >=20 From [email protected] Fri Dec 03 13:10:07 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47856 invoked from network); 3 Dec 2004 13:10:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 3 Dec 2004 13:10:07 -0000 Received: (qmail 27630 invoked by uid 500); 3 Dec 2004 13:09:14 -0000 Delivered-To: [email protected] Received: (qmail 27604 invoked by uid 500); 3 Dec 2004 13:09:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 27568 invoked by uid 99); 3 Dec 2004 13:09:12 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from smtp1.netcologne.de (HELO smtp1.netcologne.de) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 03 Dec 2004 05:09:11 -0800 Received: from xdsl-81-173-157-62.netcologne.de (xdsl-81-173-157-62.netcologne.de [161.129.204.104]) by smtp1.netcologne.de (Postfix) with ESMTP id 8997338EF6 for <[email protected]>; Fri, 3 Dec 2004 14:09:05 +0100 (MET) From: Michael Schuerig <[email protected]> To: [email protected] Subject: Re: Deserialization problems Date: Fri, 3 Dec 2004 14:09:05 +0100 User-Agent: KMail/1.7.1 References: <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Friday 03 December 2004 13:40, Jacques-Olivier Goussard wrote: > Because I'm integrating WSIF within Struts, my plans > were to try to create a Dynabean de/serializer for > Axis to solve this problem - but I know it's taylored > to my problem. I think DynaBeans support in WSIF and Axis would be great. Especially in cases where services are called dynamically. Michael -- Michael Schuerig This is not a false alarm mailto:[email protected] This is not a test http://www.schuerig.de/michael/ --Rush, Red Tide From [email protected] Fri Dec 03 22:39:27 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30436 invoked from network); 3 Dec 2004 22:39:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 3 Dec 2004 22:39:27 -0000 Received: (qmail 3443 invoked by uid 500); 3 Dec 2004 22:39:25 -0000 Delivered-To: [email protected] Received: (qmail 3405 invoked by uid 500); 3 Dec 2004 22:39:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 3391 invoked by uid 99); 3 Dec 2004 22:39:24 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from smtp1.netcologne.de (HELO smtp1.netcologne.de) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 03 Dec 2004 14:39:23 -0800 Received: from xdsl-81-173-147-9.netcologne.de (xdsl-81-173-147-9.netcologne.de [161.129.204.104]) by smtp1.netcologne.de (Postfix) with ESMTP id B1B1B38E1D for <[email protected]>; Fri, 3 Dec 2004 23:39:17 +0100 (MET) From: Michael Schuerig <[email protected]> To: [email protected] Subject: Wrapped-style with the Java provider? Date: Fri, 3 Dec 2004 23:39:17 +0100 User-Agent: KMail/1.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N After looking into the code, my understanding is that the Java provider currently doesn't support wrapped-style. Has anyone found a workaround for this? I have a rough idea what needs to be changed in WSIFOperation_Java, but I must admit that poking around in 400+ line methods is not my idea of fun. Michael -- Michael Schuerig Cold silence has a tendency mailto:[email protected] To atrophy any sense of compassion http://www.schuerig.de/michael/ --Tool, Schism From [email protected] Mon Dec 06 04:56:44 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69463 invoked from network); 6 Dec 2004 04:56:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 6 Dec 2004 04:56:43 -0000 Received: (qmail 23407 invoked by uid 500); 6 Dec 2004 04:56:43 -0000 Delivered-To: [email protected] Received: (qmail 23216 invoked by uid 500); 6 Dec 2004 04:56:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 23202 invoked by uid 99); 6 Dec 2004 04:56:42 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from whale.cs.indiana.edu (HELO whale.cs.indiana.edu) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 05 Dec 2004 20:56:39 -0800 Received: from [161.129.204.104] (whale.cs.indiana.edu [161.129.204.104]) by whale.cs.indiana.edu (8.12.11/8.12.11/IUCS_2.63) with ESMTP id iB64uXIf024222; Sun, 5 Dec 2004 23:56:34 -0500 (EST) Message-ID: <[email protected]> Date: Sun, 05 Dec 2004 23:56:30 -0500 From: Aleksander Slominski <[email protected]> User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: Deserialization problems References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Jacques-Olivier Goussard wrote: >A question about this. The main advantage (at least for >what I'm doing) of WSIF is its provider agnostic view >of webservices. > agreed - this is whole WSDL as interface to any service idea >If WSIF is to keep this, enabling users >to change the binding without having to change their >client code, then complex objects must be represented >in the same way for SOAP or Java binding (to name only >two). > yes! >Or are you to drop this design ? > no >Will users be >expected to do a >if (outMsg instanceof XmlElement) { > // Handle SOAP response >} else { > // Must be a java response >} >? > > i was thinking more about declarative style: description of binding declares what kind of XML Infoset it can accept as input message and it is binding + type mapping/conversion job to try best to do deliver. >Java binding does of course use beans. > > that is where i am not 100% sure about. i thin it is simple for Java but Java Beans are not consistent with XML Schemas (or whatever is description of messages in WSDL). Xmlbeans may be better ... >So IMHO the SDI should at least provide a way >to generate complex objects as beans too. > > agreed. even if Java Beans are imperfect there is no reason why not to support them if users want it :) >It seems you have a support for XMLBeans, but as it >suppose a code generation step (if I'm not mistaken), >it's as usefull as Axis WSDL2Java. > > XmlBeans requires to compile XmlSchema to generate .class files - you can look on Java Beans that they require .java schema classes to generate .class as well >Because I'm integrating WSIF within Struts, my plans >were to try to create a Dynabean de/serializer for >Axis to solve this problem - but I know it's taylored >to my problem. > > if you have example code please send it or put it in Jira and i will sure try to integrate it in SDI. thanks, alek > > >>-----Original Message----- >>From: Aleksander Slominski [mailto:[email protected]] >>Sent: Saturday, November 27, 2004 12:44 PM >>To: [email protected] >>Subject: Re: Deserialization problems >> >> >>SDI <http://www.extreme.indiana.edu/%7Easlom/bnp/sdi/> aims >>exactly to >>do this - if i have some time i will post examples how to do >>message as >>DOM element and XPath manipulations. >> >>thanks, >> >>alek >> >>Jacques-Olivier Goussard wrote: >> >> >> >>>>Can I do this within WSIF? >>>> >>>> >>>> >>>> >>>AFAIK, no, not in the current version. >>>You have to dig into axis to do this. >>>I'll probably have to do the same in a >>>short while, as I've the same problem :) >>> /jog >>> >>> >>> >>> >>> >>>>-----Original Message----- >>>>From: Honorez Dylan [mailto:[email protected]] >>>>Sent: Thursday, November 25, 2004 10:16 AM >>>>To: [email protected] >>>>Subject: RE: Deserialization problems >>>> >>>> >>>>Hi, >>>> >>>>Wouldn't it be possible to send the content of the >>>>soapmessage back as a >>>>String, containing XML? This in case of document-literal style of >>>>course. And how should I do this? Because I looked at the >>>>WSIF code, it >>>>has a separate method of invoking document-literal style, >>>> >>>> >>but it's the >> >> >>>>axis call that immediately tries to deserialize it, and I >>>> >>>> >>can't touch >> >> >>>>the call without messing everything up. >>>> >>>>Can I do this within WSIF? >>>> >>>>Kind regards, >>>>Dylan Honorez, >>>>[email protected] >>>> >>>>-----Original Message----- >>>>From: Jacques-Olivier Goussard [mailto:[email protected]] >>>>Sent: woensdag 24 november 2004 15:56 >>>>To: [email protected] >>>>Subject: RE: Deserialization problems >>>> >>>>No WSIF is not dynamic in that sense. Every schema complex >>>>object must be mapped to a predefined java bean, so that >>>>AXIS can use its bean de/serializer on it. >>>>You could dynamically generate those beans using AXIS >>>>WSDL2Java tool, i.e. 'a la' JSP compilation, but I >>>>guess that's not what you are looking for. >>>>There has been some talks here to give access to the >>>>SOAP message directly, so that you could get a DOM, >>>>but then that makes WSIF API dependent of the provider >>>>(IMHO). >>>>Alternatively, you can dig into AXIS and create a >>>>de/serializer that generates a DOM or some kind of generic >>>>holder (hashmap) from the SOAP messages. >>>> /jog >>>> >>>>-----Original Message----- >>>>From: Honorez Dylan [mailto:[email protected]] >>>>Sent: Wednesday, November 24, 2004 9:34 AM >>>>To: [email protected] >>>>Subject: RE: Deserialization problems >>>> >>>> >>>>Yes, I looked at the complexSoap sample, because it uses >>>>document-literal. And before invoking, it makes a mapping, >>>> >>>> >>which makes >> >> >>>>it not dynamic anymore... >>>> >>>>I also tried mapping the response to an object, but that >>>> >>>> >>doesn't work. >> >> >>>>"Unexpexted element in getIntResponse". >>>> >>>>Seems like WSIF is dynamic for rpc-encoded, but not for >>>>document-literal? >>>> >>>>Kind regards, >>>>Dylan Honorez, >>>>[email protected] >>>> >>>> >>>>-----Original Message----- >>>>From: Jeff Greif [mailto:[email protected]] >>>>Sent: woensdag 24 november 2004 15:20 >>>>To: [email protected] >>>>Subject: Re: Deserialization problems >>>> >>>>Have you looked at the DynamicInvoker sample in the WSIF >>>> >>>> >>distribution? >> >> >>>>Jeff >>>>----- Original Message ----- >>>>From: "Honorez Dylan" <[email protected]> >>>>To: <[email protected]> >>>>Sent: Wednesday, November 24, 2004 2:25 AM >>>>Subject: RE: Deserialization problems >>>> >>>> >>>>Doesn't making a mapping make it static instead of dynamic? >>>>That's just >>>>what I don't want to do. What I want to do is having the >>>> >>>> >>BPEL process >> >> >>>>invoke any service with WSIF. >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> >>> >>> >>> >>-- >>The best way to predict the future is to invent it - Alan Kay >> >> >> >> >> >> >> >> > > > -- The best way to predict the future is to invent it - Alan Kay From [email protected] Mon Dec 06 04:59:10 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69937 invoked from network); 6 Dec 2004 04:59:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 6 Dec 2004 04:59:10 -0000 Received: (qmail 24937 invoked by uid 500); 6 Dec 2004 04:59:09 -0000 Delivered-To: [email protected] Received: (qmail 24922 invoked by uid 500); 6 Dec 2004 04:59:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 24910 invoked by uid 99); 6 Dec 2004 04:59:09 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from whale.cs.indiana.edu (HELO whale.cs.indiana.edu) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 05 Dec 2004 20:59:09 -0800 Received: from [161.129.204.104] (whale.cs.indiana.edu [161.129.204.104]) by whale.cs.indiana.edu (8.12.11/8.12.11/IUCS_2.63) with ESMTP id iB64x11a024691; Sun, 5 Dec 2004 23:59:01 -0500 (EST) Message-ID: <[email protected]> Date: Sun, 05 Dec 2004 23:58:59 -0500 From: Aleksander Slominski <[email protected]> User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: Wrapped-style with the Java provider? References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Michael Schuerig wrote: >After looking into the code, my understanding is that the Java provider >currently doesn't support wrapped-style. Has anyone found a workaround >for this? > > i am not 100% sure about it (i do not have test WSDLs handy) but i think Java binding is relatively simple ... >I have a rough idea what needs to be changed in WSIFOperation_Java, but >I must admit that poking around in 400+ line methods is not my idea of >fun. > > what is it exactly that you want to do with wrapped-style? Java invocations in WSIF2 are on Java objects so I am not sure what "wrapped-style" means in this case? could you send on puting jira example WSDL file and describe what exactly you want to do? having working code to reproduce problems helps greatly to fix them ;-) thanks, alek -- The best way to predict the future is to invent it - Alan Kay From [email protected] Mon Dec 06 09:48:24 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 24731 invoked from network); 6 Dec 2004 09:48:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 6 Dec 2004 09:48:24 -0000 Received: (qmail 16923 invoked by uid 500); 6 Dec 2004 09:48:21 -0000 Delivered-To: [email protected] Received: (qmail 16900 invoked by uid 500); 6 Dec 2004 09:48:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 16874 invoked by uid 99); 6 Dec 2004 09:48:20 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from smtp1.netcologne.de (HELO smtp1.netcologne.de) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 06 Dec 2004 01:48:19 -0800 Received: from xdsl-81-173-182-246.netcologne.de (xdsl-81-173-182-246.netcologne.de [161.129.204.104]) by smtp1.netcologne.de (Postfix) with ESMTP id AE09B39DD5 for <[email protected]>; Mon, 6 Dec 2004 10:48:14 +0100 (MET) From: Michael Schuerig <[email protected]> To: [email protected] Subject: Re: Wrapped-style with the Java provider? Date: Mon, 6 Dec 2004 10:48:12 +0100 User-Agent: KMail/1.7.1 References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Monday 06 December 2004 05:58, Aleksander Slominski wrote: > Michael Schuerig wrote: > >After looking into the code, my understanding is that the Java > > provider currently doesn't support wrapped-style. Has anyone found > > a workaround for this? > > i am not 100% sure about it (i do not have test WSDLs handy) but i > think Java binding is relatively simple ... It may be simple relative to the other providers. Still it exemplifies a programming style that makes me scratch my head. I thought 400+ line methods with messy side-effects had died off years ago. Well, WSIF is free, it works for a wide range of cases. If my case is not covered, the code is available for me to change it. In theory. In practice, I found that it would be inordinately hard to get the pieces I would have to touch under test. > >I have a rough idea what needs to be changed in WSIFOperation_Java, > > but I must admit that poking around in 400+ line methods is not my > > idea of fun. > > what is it exactly that you want to do with wrapped-style? Java > invocations in WSIF2 are on Java objects so I am not sure what > "wrapped-style" means in this case? A rudimentary WSDL looks like this <wsdl:definitions ...> <types ...> <schema ...> ... <element name="getMyStuff"> <complexType> <element name"whichone" type="xsd:string"/> </complexType> </element> <element name="getMyStuffResponse"> <complexType> <sequence> <element name="stuff" type="impl:StuffDescriptor" minOccurs="0" maxOccurs="unbounded" /> </sequence> </complexType> </element> </schema> </types> <wsdl:message name="getMyStuffRequest"> <wsdl:part name="parameters" element="impl:getMyStuff"/> </wsdl:message> <wsdl:message name="getMyStuffResponse"> <wsdl:part name="parameters" element="impl:getMyStuffResponse"/> </wsdl:message> <wsdl:portType name="MyStuffPortType"> <wsdl:operation name="getVerfuegbareMyStuffse"> <wsdl:input name="getVerfuegbareMyStuffseRequest" message="impl:getVerfuegbareMyStuffseRequest"/> <wsdl:output name="getVerfuegbareMyStuffseResponse" message="impl:getVerfuegbareMyStuffseResponse"/> </wsdl:operation> </wsdl:portType> ... </wsdl:definitions> Currently, such a WSDL won't work with the Java provider in the same way it does with SOAP. org.apache.wsif.providers.java.WSIFOperation_Java contains the relevant code. There getMethods() tries to find methods in the "server" Java class that correspond to the operations in the WSDL. That method in turn calls getMethodArgumentClasses() and getMethodReturnClass(). Both of which don't extract the contained elements from their getMyStuff(Response) wrappers. As is, methods with the "unwrapped" signature are not found. Changing that wouldn't be too complicated. What knocked me out, though, was executeRequestResponseOperation() (executeInputOnlyOperation() would have to be changed, too). I'm not even sure whether any un/wrapping would have to be done there. I take it that for someone familiar with the code (and test cases) the needed changes may well be trivial. I may have a go at it again, but for the time being I give Axis's Java transport a try. Michael -- Michael Schuerig The Fifth Rider of the Apocalypse mailto:[email protected] is a programmer. http://www.schuerig.de/michael/ From [email protected] Mon Dec 06 10:24:32 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44775 invoked from network); 6 Dec 2004 10:24:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 6 Dec 2004 10:24:32 -0000 Received: (qmail 82370 invoked by uid 500); 6 Dec 2004 10:24:31 -0000 Delivered-To: [email protected] Received: (qmail 82352 invoked by uid 500); 6 Dec 2004 10:24:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 82339 invoked by uid 99); 6 Dec 2004 10:24:31 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from smtp1.netcologne.de (HELO smtp1.netcologne.de) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 06 Dec 2004 02:24:29 -0800 Received: from xdsl-81-173-182-246.netcologne.de (xdsl-81-173-182-246.netcologne.de [161.129.204.104]) by smtp1.netcologne.de (Postfix) with ESMTP id 7E6B239EE0 for <[email protected]>; Mon, 6 Dec 2004 11:24:23 +0100 (MET) From: Michael Schuerig <[email protected]> To: [email protected] Subject: Re: Wrapped-style with the Java provider? Date: Mon, 6 Dec 2004 11:24:22 +0100 User-Agent: KMail/1.7.1 References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Monday 06 December 2004 10:48, Michael Schuerig wrote: >   <wsdl:portType name="MyStuffPortType"> > >     <wsdl:operation name="getVerfuegbareMyStuffse"> >       <wsdl:input name="getVerfuegbareMyStuffseRequest" >        message="impl:getVerfuegbareMyStuffseRequest"/> >       <wsdl:output name="getVerfuegbareMyStuffseResponse" >        message="impl:getVerfuegbareMyStuffseResponse"/> >     </wsdl:operation> > >   </wsdl:portType> No, this wasn't an [email protected]. It should have been like this <wsdl:portType name="MyStuffPortType"> <wsdl:operation name="getMyStuff"> <wsdl:input name="getMyStuffRequest" message="impl:getMyStuffRequest"/> <wsdl:output name="getMyStuffResponse" message="impl:getMyStuffResponse"/> </wsdl:operation> </wsdl:portType> Oh, the perils of copy and change. Michael -- Michael Schuerig I was blessed with a birth and a death and mailto:[email protected] I guess I just want some say in between http://www.schuerig.de/michael/ --Ani DiFranco, Talk To Me Now From [email protected] Mon Dec 06 10:33:03 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49691 invoked from network); 6 Dec 2004 10:33:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 6 Dec 2004 10:33:03 -0000 Received: (qmail 95121 invoked by uid 500); 6 Dec 2004 10:33:01 -0000 Delivered-To: [email protected] Received: (qmail 95109 invoked by uid 500); 6 Dec 2004 10:33:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 95093 invoked by uid 99); 6 Dec 2004 10:33:00 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from anubis.sslcatacombnetworking.com (HELO anubis.sslcatacombnetworking.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 06 Dec 2004 02:32:59 -0800 Received: from [161.129.204.104] (helo=LIRAN) by anubis.sslcatacombnetworking.com with esmtpa (Exim 4.43) id 1CbGAo-000414-IA for [email protected]; Mon, 06 Dec 2004 04:32:57 -0600 From: "Liran Zelkha" <[email protected]> To: <[email protected]> Subject: RE: Wrapped-style with the Java provider? Date: Mon, 6 Dec 2004 12:32:45 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcTbfcZyZ56HGE0MSam7Py34hriRZQAAPAoQ In-Reply-To: <[email protected]> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - anubis.sslcatacombnetworking.com X-AntiAbuse: Original Domain - ws.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alunasoft.com X-Source: X-Source-Args: X-Source-Dir: X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Sorry for this mass SPAM, but I couldn't find an answer to this. Is WSIF still supported? Version 2.0 was released more than a year ago, and there are no nightly builds. I found some references for complex type support - any info on where to find the version that supports it? Thank You, Best Regards, Liran Zelkha Chief Architect Aluna Mobile: 972-54-3010714 EMail: [email protected] From [email protected] Mon Dec 06 15:48:25 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64496 invoked from network); 6 Dec 2004 15:48:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 6 Dec 2004 15:48:25 -0000 Received: (qmail 91407 invoked by uid 500); 6 Dec 2004 15:48:23 -0000 Delivered-To: [email protected] Received: (qmail 91388 invoked by uid 500); 6 Dec 2004 15:48:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 91374 invoked by uid 99); 6 Dec 2004 15:48:22 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from whale.cs.indiana.edu (HELO whale.cs.indiana.edu) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 06 Dec 2004 07:48:22 -0800 Received: from [161.129.204.104] (whale.cs.indiana.edu [161.129.204.104]) by whale.cs.indiana.edu (8.12.11/8.12.11/IUCS_2.63) with ESMTP id iB6FmHWD012290; Mon, 6 Dec 2004 10:48:18 -0500 (EST) Message-ID: <[email protected]> Date: Mon, 06 Dec 2004 10:48:16 -0500 From: Aleksander Slominski <[email protected]> User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: Wrapped-style with the Java provider? References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Michael Schuerig wrote: >On Monday 06 December 2004 10:48, Michael Schuerig wrote: > > >> <wsdl:portType name="MyStuffPortType"> >> >> <wsdl:operation name="getVerfuegbareMyStuffse"> >> <wsdl:input name="getVerfuegbareMyStuffseRequest" >> message="impl:getVerfuegbareMyStuffseRequest"/> >> <wsdl:output name="getVerfuegbareMyStuffseResponse" >> message="impl:getVerfuegbareMyStuffseResponse"/> >> </wsdl:operation> >> >> </wsdl:portType> >> >> > >No, this wasn't an [email protected]. It should have been like this > > > yes i thought it was pretty unusual name of operation especially that there was no message with this name in WSDL - secret operation? ;-) alek -- The best way to predict the future is to invent it - Alan Kay From [email protected] Mon Dec 06 15:55:10 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68116 invoked from network); 6 Dec 2004 15:55:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 6 Dec 2004 15:55:10 -0000 Received: (qmail 7004 invoked by uid 500); 6 Dec 2004 15:54:53 -0000 Delivered-To: [email protected] Received: (qmail 6940 invoked by uid 500); 6 Dec 2004 15:54:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 6906 invoked by uid 99); 6 Dec 2004 15:54:52 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from whale.cs.indiana.edu (HELO whale.cs.indiana.edu) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 06 Dec 2004 07:54:50 -0800 Received: from [161.129.204.104] (whale.cs.indiana.edu [161.129.204.104]) by whale.cs.indiana.edu (8.12.11/8.12.11/IUCS_2.63) with ESMTP id iB6Fsjjr014086; Mon, 6 Dec 2004 10:54:46 -0500 (EST) Message-ID: <[email protected]> Date: Mon, 06 Dec 2004 10:54:44 -0500 From: Aleksander Slominski <[email protected]> User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: Wrapped-style with the Java provider? References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Liran Zelkha wrote: >Sorry for this mass SPAM, but I couldn't find an answer to this. >Is WSIF still supported? > as much as open source is :) >Version 2.0 was released more than a year ago, and >there are no nightly builds. > > there will be soon new WSIF release candidate when AXIS 1.2 is done - all code is now updated for new AXIS in WSIF CVS i tried in past to get nightly builds to work but could not resolve infrastructure issues - i will try this again. >I found some references for complex type support - any info on where to find >the version that supports it? > > complex types and xml infoset support is a bit crude in WSIF2 (in particular doc/literal) so i have written a proposal/prototype to see what can be improved and gather feedback. see: http://www.extreme.indiana.edu/~aslom/bnp/sdi/ alek -- The best way to predict the future is to invent it - Alan Kay From [email protected] Mon Dec 06 21:17:25 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69277 invoked from network); 6 Dec 2004 21:17:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 6 Dec 2004 21:17:25 -0000 Received: (qmail 93256 invoked by uid 500); 6 Dec 2004 21:17:24 -0000 Delivered-To: [email protected] Received: (qmail 93243 invoked by uid 500); 6 Dec 2004 21:17:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 93229 invoked by uid 99); 6 Dec 2004 21:17:23 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from smtp1.netcologne.de (HELO smtp1.netcologne.de) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 06 Dec 2004 13:17:21 -0800 Received: from xdsl-81-173-158-170.netcologne.de (xdsl-81-173-158-170.netcologne.de [161.129.204.104]) by smtp1.netcologne.de (Postfix) with ESMTP id D2ABB38A3F for <[email protected]>; Mon, 6 Dec 2004 22:17:15 +0100 (MET) From: Michael Schuerig <[email protected]> To: [email protected] Subject: Re: Wrapped-style with the Java provider? Date: Mon, 6 Dec 2004 22:17:16 +0100 User-Agent: KMail/1.7.1 References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Monday 06 December 2004 05:58, Aleksander Slominski wrote: > could you send on puting jira example WSDL file and describe what > exactly you want to do? having working code to reproduce problems > helps greatly to fix them ;-) I've entered an example at http://nagoya.apache.org/jira/browse/WSIF-67 Michael -- Michael Schuerig The usual excuse for our most unspeakable mailto:[email protected] public acts is that they are necessary. http://www.schuerig.de/michael/ --Judith N. Shklar From [email protected] Thu Dec 16 12:24:39 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33109 invoked from network); 16 Dec 2004 12:24:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 16 Dec 2004 12:24:39 -0000 Received: (qmail 92375 invoked by uid 500); 16 Dec 2004 12:24:38 -0000 Delivered-To: [email protected] Received: (qmail 92345 invoked by uid 500); 16 Dec 2004 12:24:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 92326 invoked by uid 99); 16 Dec 2004 12:24:37 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from fmmailgate04.web.de (HELO fmmailgate04.web.de) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 16 Dec 2004 04:22:33 -0800 Received: by fmmailgate04.web.de (8.12.10/8.12.10/webde Linux 0.7) with SMTP id iBGCLC2w005184 for [email protected]; Thu, 16 Dec 2004 13:21:53 +0100 Received: from [161.129.204.104] by freemailng0202.web.de with HTTP; Thu, 16 Dec 2004 13:21:52 +0200 Date: Thu, 16 Dec 2004 13:21:52 +0200 Message-Id: <[email protected]> MIME-Version: 1.0 From: "Jonathan Frankenberger" <[email protected]> To: [email protected] Subject: WSIF Type Mapping Organization: http://freemail.web.de/ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I'm using WSIF togehter with Apache SOAP and JROM. I programmed a client to use JROM for (de)serialisation, but I seem to have a problem with the type mapping. I've registered the JROMStringValue Class with the following command: WSIFService dpf = factory.getService(def, service, portType); dpf.mapType(new QName(org.apache.wsif.WSIFConstants.NS_URI_2001_SCHEMA_XSD, "string"), JROMStringValue.class); When I run the client I receive the following exception: Exception in thread "main" org.apache.wsif.WSIFException: value [JROMString: sessionID: GdjvM2nvRpK4Bc5lOhuaZK7Z] has unexpected type class com.ibm.cs.jrom.JROMStringValueImpl instead of class java.lang.String at org.apache.wsif.providers.soap.apachesoap.WSIFOperation_ApacheSOAP.invokeRequestResponseOperation(Unknown Source) at org.apache.wsif.providers.soap.apachesoap.WSIFOperation_ApacheSOAP.executeRequestResponseOperation(Unknown Source) at JROMClient.main(JROMClient.java:215) Thx for any help! Jonathan __________________________________________________________ Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min. weltweit telefonieren! http://freephone.web.de/?mc=021201 From [email protected] Thu Dec 16 13:31:50 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71990 invoked from network); 16 Dec 2004 13:31:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 16 Dec 2004 13:31:50 -0000 Received: (qmail 15771 invoked by uid 500); 16 Dec 2004 13:31:49 -0000 Delivered-To: [email protected] Received: (qmail 15753 invoked by uid 500); 16 Dec 2004 13:31:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 15741 invoked by uid 99); 16 Dec 2004 13:31:49 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=FORGED_RCVD_HELO,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail2.storebrand.no (HELO na800000.storebrand.no) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 16 Dec 2004 05:30:05 -0800 Received: from 161.129.204.104 by na800000.storebrand.no (InterScan E-Mail VirusWall NT); Thu, 16 Dec 2004 14:04:03 +0100 Subject: Arne Morten Buan er ikke til stede =?ISO-8859-1?Q?p=E5_kontoret=2E?= From: [email protected] To: [email protected] Message-ID: <[email protected]> Date: Thu, 16 Dec 2004 14:05:22 +0100 X-MIMETrack: Serialize by Router on osl_mail_003/UNI_Storebrand(Release 6.5.3|September 14, 2004) at 16.12.2004 14:05:23 MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: quoted-printable X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Jeg vil ikke v=E6re p=E5 kontoret fra og med 16.12.2004 og vil ikke v=E6= re tilbake f=F8r den 29.12.2004. Ved kritiske ting kan jeg n=E5s p=E5 mobil 93480137, vil sjekke mailen = nesten regelmessig, vil svare p=E5 det jeg kan. Bedriftsportal/Direkte Ajourhold relaterte spm kan formidles til Lindva= r L=E6gran 22489415/Alvar Volden 22315095 Spm rundt TIA og MQ kan formidles til Idar Brekke 22311469 Ellers f=E5r du ha en riktig s=E5 god jul!= From [email protected] Thu Dec 16 18:35:40 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84667 invoked from network); 16 Dec 2004 18:35:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 16 Dec 2004 18:35:36 -0000 Received: (qmail 32914 invoked by uid 500); 16 Dec 2004 18:27:45 -0000 Delivered-To: [email protected] Received: (qmail 32897 invoked by uid 500); 16 Dec 2004 18:27:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 32883 invoked by uid 99); 16 Dec 2004 18:27:44 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from whale.cs.indiana.edu (HELO whale.cs.indiana.edu) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 16 Dec 2004 10:25:50 -0800 Received: from [161.129.204.104] (rainier.extreme.indiana.edu [161.129.204.104]) by whale.cs.indiana.edu (8.12.11/8.12.11/IUCS_2.63) with ESMTP id iBGHDUTY013374; Thu, 16 Dec 2004 12:13:31 -0500 (EST) Message-ID: <[email protected]> Date: Thu, 16 Dec 2004 12:13:30 -0500 From: Aleksander Slominski <[email protected]> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: WSIF Type Mapping References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Jonathan Frankenberger wrote: >Hi, > >I'm using WSIF togehter with Apache SOAP and JROM. I programmed a client to use JROM for (de)serialisation, but I seem to have a problem with the type mapping. I've registered the JROMStringValue Class with the following command: > >WSIFService dpf = factory.getService(def, service, portType); >dpf.mapType(new QName(org.apache.wsif.WSIFConstants.NS_URI_2001_SCHEMA_XSD, "string"), JROMStringValue.class); > >When I run the client I receive the following exception: > > hi Jonathan, what is exactly version if WSIF and JROM are you suing? JROM is not open source so debugging it is difficult. could you send full example of how to reproduce this error? thanks, alek >Exception in thread "main" org.apache.wsif.WSIFException: value [JROMString: sessionID: GdjvM2nvRpK4Bc5lOhuaZK7Z] has unexpected type class com.ibm.cs.jrom.JROMStringValueImpl instead of class java.lang.String > at org.apache.wsif.providers.soap.apachesoap.WSIFOperation_ApacheSOAP.invokeRequestResponseOperation(Unknown Source) > at org.apache.wsif.providers.soap.apachesoap.WSIFOperation_ApacheSOAP.executeRequestResponseOperation(Unknown Source) > at JROMClient.main(JROMClient.java:215) > >Thx for any help! >Jonathan >__________________________________________________________ >Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min. >weltweit telefonieren! http://freephone.web.de/?mc=021201 > > > -- The best way to predict the future is to invent it - Alan Kay From [email protected] Fri Dec 17 10:03:08 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10048 invoked from network); 17 Dec 2004 10:03:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 17 Dec 2004 10:03:08 -0000 Received: (qmail 63935 invoked by uid 500); 17 Dec 2004 10:03:07 -0000 Delivered-To: [email protected] Received: (qmail 63887 invoked by uid 500); 17 Dec 2004 10:03:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 63875 invoked by uid 99); 17 Dec 2004 10:03:06 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from fmmailgate05.web.de (HELO fmmailgate05.web.de) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 17 Dec 2004 02:01:05 -0800 Received: by fmmailgate05.web.de (8.12.10/8.12.10/webde Linux 0.7) with SMTP id iBH8qicl011214 for [email protected]; Fri, 17 Dec 2004 09:53:12 +0100 Received: from [161.129.204.104] by freemailng0203.web.de with HTTP; Fri, 17 Dec 2004 09:53:10 +0200 Date: Fri, 17 Dec 2004 09:53:10 +0200 Message-Id: <[email protected]> MIME-Version: 1.0 From: "Jonathan Frankenberger" <[email protected]> To: [email protected] Subject: Re: WSIF Type Mapping Organization: http://freemail.web.de/ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Alek, thank you for your help. I managed to solve the problem on my own by adding the following lines: SOAPMappingRegistry smr = port.getSOAPMappingRegistry(); JROMSerializer jromSer = new JROMSerializer(); smr.mapTypes(Constants.NS_URI_SOAP_ENC, Constants.string2001QName, JROMStringValue.class , jromSer, jromSer); >Hi, > >I'm using WSIF togehter with Apache SOAP and JROM. I programmed a client to use JROM for (de)serialisation, but I seem to have a problem with the type mapping. I've registered the JROMStringValue Class with the following command: > >WSIFService dpf = factory.getService(def, service, portType); >dpf.mapType(new QName(org.apache.wsif.WSIFConstants.NS_URI_2001_SCHEMA_XSD, "string"), JROMStringValue.class); > >When I run the client I receive the following exception: > > hi Jonathan, what is exactly version if WSIF and JROM are you suing? JROM is not open source so debugging it is difficult. could you send full example of how to reproduce this error? thanks, alek >Exception in thread "main" org.apache.wsif.WSIFException: value [JROMString: sessionID: GdjvM2nvRpK4Bc5lOhuaZK7Z] has unexpected type class com.ibm.cs.jrom.JROMStringValueImpl instead of class java.lang.String > at org.apache.wsif.providers.soap.apachesoap.WSIFOperation_ApacheSOAP.invokeRequestResponseOperation(Unknown Source) > at org.apache.wsif.providers.soap.apachesoap.WSIFOperation_ApacheSOAP.executeRequestResponseOperation(Unknown Source) > at JROMClient.main(JROMClient.java:215) > >Thx for any help! >Jonathan >__________________________________________________________ >Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min. >weltweit telefonieren! http://freephone.web.de/?mc=021201 > > > -- The best way to predict the future is to invent it - Alan Kay __________________________________________________________ Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min. weltweit telefonieren! http://freephone.web.de/?mc=021201 From [email protected] Tue Dec 21 03:55:47 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6410 invoked from network); 21 Dec 2004 03:55:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 21 Dec 2004 03:55:47 -0000 Received: (qmail 29610 invoked by uid 500); 21 Dec 2004 03:55:42 -0000 Delivered-To: [email protected] Received: (qmail 29572 invoked by uid 500); 21 Dec 2004 03:55:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 29541 invoked by uid 99); 21 Dec 2004 03:55:39 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=FORGED_RCVD_HELO,HTML_MESSAGE,HTML_TEXT_AFTER_BODY,HTML_TEXT_AFTER_HTML X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from illhyd-static-161.129.204.104.vsnl.net.in (HELO smtp.virtusa.co.in) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 20 Dec 2004 19:55:36 -0800 Received: from ms-mailsvr.Virtusa.com ([161.129.204.104]) by smtp.virtusa.co.in with InterScan Messaging Security Suite; Tue, 21 Dec 2004 09:25:32 +0530 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C4E711.46774F9A" Subject: Please guide me Date: Tue, 21 Dec 2004 09:28:05 +0530 Message-ID: <[email protected]> X-MS-Has-Attach: yes X-MS-TNEF-Correlator: Thread-Topic: Please guide me Thread-Index: AcTnD94rqo9WVx1IR1O7AOsMz0xXRQAAVlxA From: "Prabhakar Chandrasekaran" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------_=_NextPart_001_01C4E711.46774F9A Content-Type: multipart/alternative; boundary="----_=_NextPart_002_01C4E711.46774F9A" ------_=_NextPart_002_01C4E711.46774F9A Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable =0D Hi, =0D I am working with Java Binding trying to access a simple class through a WSDL. I have the following error occurring when I execute the above two files with WSIF, =0D org.apache.wsif.WSIFException: Binding {http://JavaBindTesterPack}JavaBinding does not contain a typeMap with encoding=3DJava and style=3DJava =0D Though I have given type mapping this error occurs. =0D JavaBind.wsdl - The WSDL file =0D JavaIntClient.java - The dii wsif client =0D JavaIntTester.java - The class which I am trying to access through JavaBinding =0D Please help me in resolving the above error, its very urgent. =0D =0D Thanks and Regards, =0D Prabhakar Chandrasekaran =0D Team Virtusa Office: 91 44 5200 2700 Ext. 3313=0D Mobile: 91 94430 37499=0D www.virtusa.com <http://www.virtusa.com/> =0D =0D ---------------------------------------------------------------------------= ------------------ This message, including any attachments, contains confidential information= intended for a specific individual and purpose, and is intended for the= addressee only. Any unauthorized disclosure, use, dissemination, copying,= or distribution of this message or any of its attachments or the= information contained in this e-mail, or the taking of any action based on= it, is strictly prohibited. If you are not the intended recipient, please= notify the sender immediately by return e-mail and delete this message. ------_=_NextPart_002_01C4E711.46774F9A Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w= =3D"urn:schemas-microsoft-com:office:word" xmlns:st1= =3D"urn:schemas-microsoft-com:office:smarttags" xmlns= =3D"http://www.w3.org/TR/REC-html40" xmlns:ns1=3D"" xmlns:ns0=3D"urn:schemas-microsoft-com:office:smarttags"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"> <o:SmartTagType namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" name=3D"City" downloadurl= =3D"http://www.5iamas-microsoft-com:office:smarttags"/> <o:SmartTagType namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" name=3D"place" downloadurl=3D"http://www.5iantlavalamp.com/"/> <o:SmartTagType namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" name=3D"PersonName"/> <!--[if !mso]> <style> st1\:*{behavior:url(#default#ieooui) } </style> <![endif]--> <style> <!-- /* Font Definitions */ @font-face {font-family:Perpetua; panose-1:910-855-9490;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} p.MsoPlainText, li.MsoPlainText, div.MsoPlainText {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Courier New";} p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig {mso-margin-top-alt:auto; margin-right:0in; mso-margin-bottom-alt:auto; margin-left:0in; font-size:12.0pt; font-family:"Times New Roman";} span.EmailStyle18 {mso-style-type:personal; font-family:Arial; color:windowtext;} span.EmailStyle19 {mso-style-type:personal-reply; font-family:Arial; color:navy;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style= =3D'font-size: 12.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style= =3D'font-size:10.0pt; font-family:Arial'>Hi,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style= =3D'font-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style= =3D'font-size:10.0pt; font-family:Arial'>I am working with Java Binding trying to access a simple class through a WSDL. I have the following error occurring when I execute= the above two files with WSIF,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style= =3D'font-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style= =3D'font-size:10.0pt; font-family:Arial'>org.apache.wsif.WSIFException: Binding {http://JavaBindTesterPack}JavaBinding does not contain a typeMap with encoding=3DJava and style=3DJava<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style= =3D'font-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style= =3D'font-size:10.0pt; font-family:Arial'>Though I have given type mapping this error= occurs.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style= =3D'font-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style= =3D'font-size:10.0pt; font-family:Arial'>JavaBind.wsdl &#8211; The WSDL= file<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style= =3D'font-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style= =3D'font-size:10.0pt; font-family:Arial'>JavaIntClient.java &#8211; The dii wsif= client<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style= =3D'font-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style= =3D'font-size:10.0pt; font-family:Arial'>JavaIntTester.java &#8211; The class which I am trying= to access through JavaBinding<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style= =3D'font-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style= =3D'font-size:10.0pt; font-family:Arial'>Please help me in resolving the above error, its very urgent.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style= =3D'font-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style= =3D'font-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style= =3D'font-size:10.0pt; font-family:Arial'>Thanks and Regards,<o:p></o:p></span></font></p> <div> <p class=3DMsoAutoSig style= =3D'margin:0in;margin-bottom:.0001pt'><st1:PersonName ns1_x003a_style=3D"BACKGROUND-POSITION: left bottom; BACKGROUND-IMAGE:= url(res://ietag.dll/#34/#1001); BACKGROUND-REPEAT: repeat-x" ns1_x003a_tabIndex=3D"0" w:st=3D"on"></st1:PersonName><font size=3D3 face=3D"Times New Roman"><span style= =3D'font-size:12.0pt'>&nbsp;<o:p></o:p></span></font></p> <p class=3DMsoAutoSig style= =3D'margin:0in;margin-bottom:.0001pt'><st1:PersonName ns1_x003a_tabIndex=3D"0" ns1_x003a_style=3D"BACKGROUND-POSITION: left bottom; BACKGROUND-IMAGE:= url(res://ietag.dll/#34/#1001); BACKGROUND-REPEAT: repeat-x" w:st=3D"on"><b><font size=3D3 color=3Dolive face=3DPerpetua><span style= =3D'font-size: 12.0pt;font-family:Perpetua;color:olive;font-weight:bold'>Prabhakar Chandrasekaran</span></font></b></st1:PersonName><o:p></o:p></p> <p class=3DMsoAutoSig style= =3D'margin:0in;margin-bottom:.0001pt'><st1:PersonName ns1_x003a_style=3D"BACKGROUND-POSITION: left bottom; BACKGROUND-IMAGE:= url(res://ietag.dll/#34/#1001); BACKGROUND-REPEAT: repeat-x" ns1_x003a_tabIndex=3D"0" w:st=3D"on"></st1:PersonName><font size=3D3 face=3D"Times New Roman"><span style= =3D'font-size:12.0pt'>&nbsp;<o:p></o:p></span></font></p> <p class=3DMsoAutoSig style= =3D'margin:0in;margin-bottom:.0001pt'><st1:PersonName ns1_x003a_style=3D"BACKGROUND-POSITION: left bottom; BACKGROUND-IMAGE:= url(res://ietag.dll/#34/#1001); BACKGROUND-REPEAT: repeat-x" ns1_x003a_tabIndex=3D"0" w:st=3D"on"><b><font size=3D1 color=3Dblack face= =3DArial><span style= =3D'font-size:8.0pt;font-family:Arial;color:black;font-weight:bold'>Team Virtusa</span></font></b></st1:PersonName><o:p></o:p></p> <p class=3DMsoAutoSig style= =3D'margin:0in;margin-bottom:.0001pt'><st1:PersonName ns1_x003a_style=3D"BACKGROUND-POSITION: left bottom; BACKGROUND-IMAGE:= url(res://ietag.dll/#34/#1001); BACKGROUND-REPEAT: repeat-x" ns1_x003a_tabIndex=3D"0" w:st=3D"on"><b><font size=3D1 color=3Dblack face= =3DArial><span style= =3D'font-size:8.0pt;font-family:Arial;color:black;font-weight:bold'>Office:= &nbsp;&nbsp;&nbsp; 91 44&nbsp;5200 2700 Ext.&nbsp;3313</span></font></b><b><font color= =3Dblack face=3DArial><span style= =3D'font-family:Arial;color:black;font-weight:bold'>&nbsp;<br> </span></font></b><st1:place w:st=3D"on"><st1:City w:st=3D"on"><b><font= size=3D1 color=3Dblack face=3DArial><span style= =3D'font-size:8.0pt;font-family:Arial; = color:black;font-weight:bold'>Mobile</span></font></b></st1:City></st1:pla= ce><b><font size=3D1 color=3Dblack face=3DArial><span style= =3D'font-size:8.0pt;font-family:Arial; color:black;font-weight:bold'>:&nbsp;&nbsp;91&nbsp;94430= 37499&nbsp;</span></font></b></st1:PersonName><o:p></o:p></p> <p class=3DMsoAutoSig style=3D'margin:0in;margin-bottom:.0001pt'><b><font= size=3D2 color=3D"#333399" face=3DArial><span style= =3D'font-size:10.0pt;font-family:Arial; color:#333399;font-weight:bold'><a href=3D"http://www.virtusa.com/" title=3D"http://www.virtusa.com/"><font size=3D1 title= =3D"http://www.virtusa.com/"><span title=3D"http://www.virtusa.com/"><span title= =3D"http://www.virtusa.com/"><span style=3D'font-size:8.0pt'><span title= =3D"http://www.virtusa.com/">www.virtusa.com</span></span></span></font></s= pan></a></span></font></b><b><font color=3Dblack face=3DArial><span style= =3D'font-family:Arial;color:black;font-weight: bold'>&nbsp;</span></font></b><o:p></o:p></p> </div> <u2:p></u2:p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style= =3D'font-size: 12.0pt'><o:p>&nbsp;</o:p></span></font></p> </div> </body> </html> <table><tr><td bgcolor=3D#ffffff><font color= =3D#000000>----------------------------------------------------------------= -----------------------------<br> This message, including any attachments, contains confidential information= intended for a specific individual and purpose, and is intended for the= addressee only. Any unauthorized disclosure, use, dissemination, copying,= or distribution of this message or any of its attachments or the= information contained in this e-mail, or the taking of any action based on= it, is strictly prohibited. If you are not the intended recipient, please= notify the sender immediately by return e-mail and delete this= message.<br> </font></td></tr></table> ------_=_NextPart_002_01C4E711.46774F9A-- ------_=_NextPart_001_01C4E711.46774F9A Content-Type: application/octet-stream; name="JavaBind.wsdl" Content-Transfer-Encoding: base64 Content-Description: JavaBind.wsdl Content-Disposition: attachment; filename="JavaBind.wsdl" PD94bWwgdmVyc2lvbj0iMS4wIiA/Pg0KDQo8ZGVmaW5pdGlvbnMgdGFyZ2V0TmFtZXNwYWNlPSJo dHRwOi8vSmF2YUJpbmRUZXN0ZXJQYWNrIg0KICAgICAgICAgICAgIHhtbG5zOnRucz0iaHR0cDov L0phdmFCaW5kVGVzdGVyUGFjayINCiAgICAgICAgICAgICB4bWxuczp0eXBlbnM9Imh0dHA6Ly93 d3cuaWJtLmNvbS9uYW1lc3BhY2Uvd3NpZi9zYW1wbGVzL2FiL3R5cGVzIg0KICAgICAgICAgICAg IHhtbG5zOnhzZD0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiDQogICAgICAgICAg ICAgeG1sbnM6c29hcD0iaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3NkbC9zb2FwLyINCiAg ICAgICAgICAgICB4bWxuczpmb3JtYXQ9Imh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzZGwv Zm9ybWF0YmluZGluZy8iDQogICAgICAgICAgICAgeG1sbnM6amF2YT0iaHR0cDovL3NjaGVtYXMu eG1sc29hcC5vcmcvd3NkbC9qYXZhLyINCiAgICAgICAgICAgICB4bWxuczplamI9Imh0dHA6Ly9z Y2hlbWFzLnhtbHNvYXAub3JnL3dzZGwvZWpiLyINCiAgICAgICAgICAgICB4bWxucz0iaHR0cDov L3NjaGVtYXMueG1sc29hcC5vcmcvd3NkbC8iPg0KDQogIDx0eXBlcz4NCiAgPC90eXBlcz4NCg0K ICA8bWVzc2FnZSBuYW1lPSJnZXRJbnRSZXF1ZXN0TWVzc2FnZSI+DQogICAgPHBhcnQgbmFtZT0i aW5wIiB0eXBlPSJ4c2Q6aW50Ii8+DQogIDwvbWVzc2FnZT4NCg0KICA8bWVzc2FnZSBuYW1lPSJn ZXRJbnRSZXNwb25zZU1lc3NhZ2UiPg0KICAgIDxwYXJ0IG5hbWU9Im91cCIgdHlwZT0ieHNkOmlu dCIvPg0KICA8L21lc3NhZ2U+DQoNCiAgPHBvcnRUeXBlIG5hbWU9IkphdmFCaW5kVGVzdGVyUFQi Pg0KICAgIDxvcGVyYXRpb24gbmFtZT0iZ2V0SW50Ij4NCiAgICAgIDxpbnB1dCBuYW1lPSJnZXRJ bnRSZXF1ZXN0IiANCgkgICAgICBtZXNzYWdlPSJ0bnM6Z2V0SW50UmVxdWVzdE1lc3NhZ2UiLz4N CiAgICAgIDxvdXRwdXQgbmFtZT0iZ2V0SW50UmVzcG9uc2UiIA0KICAgICAgICAgICAgICBtZXNz YWdlPSJ0bnM6Z2V0SW50UmVzcG9uc2VNZXNzYWdlIi8+DQogPC9vcGVyYXRpb24+DQogIDwvcG9y dFR5cGU+DQoNCiAgPGJpbmRpbmcgbmFtZT0iSmF2YUJpbmRpbmciIHR5cGU9InRuczpKYXZhQmlu ZFRlc3RlclBUIj4NCiAgICA8amF2YTpiaW5kaW5nLz4NCg0KICAgPGZvcm1hdDp0eXBlTWFwcGlu ZyBlbmNvZGluZz0iSmF2YSIgc3R5bGU9IkphdmEiPg0KICAgICAgPGZvcm1hdDp0eXBlTWFwIHR5 cGVOYW1lPSJ4c2Q6aW50IiBmb3JtYXRUeXBlPSJqYXZhLmxhbmcuSW50ZWdlciIvPg0KICAgIDwv Zm9ybWF0OnR5cGVNYXBwaW5nPg0KDQogICAgPG9wZXJhdGlvbiBuYW1lPSJnZXRJbnQiPg0KICAg ICAgPGphdmE6b3BlcmF0aW9uDQogICAgICAgICBtZXRob2ROYW1lPSJnZXRJbnQiDQogICAgICAg ICBwYXJhbWV0ZXJPcmRlcj0ibiINCiAgICAgICAgIG1ldGhvZFR5cGU9Imluc3RhbmNlIg0KICAg ICAgICAgcmV0dXJuUGFydD0ib3VwIi8+DQogICAgICA8aW5wdXQgbmFtZT0iZ2V0SW50UmVxdWVz dCIvPg0KICAgICAgPG91dHB1dCBuYW1lPSJnZXRJbnRSZXNwb25zZSIvPg0KICAgIDwvb3BlcmF0 aW9uPg0KICA8L2JpbmRpbmc+DQoNCiAgPHNlcnZpY2UgbmFtZT0iSmF2YUJpbmRTZXJ2aWNlIj4N CiAgICA8cG9ydCBuYW1lPSJKYXZhUG9ydCIgYmluZGluZz0idG5zOkphdmFCaW5kaW5nIj4NCiAg ICAgIDxqYXZhOmFkZHJlc3MgY2xhc3NOYW1lPSJKYXZhQmluZFRlc3RlclBhY2suSmF2YUludFRl c3RlciIvPg0KICAgIDwvcG9ydD4NCiAgPC9zZXJ2aWNlPg0KDQo8L2RlZmluaXRpb25zPg0KDQoN Cg0KDQo= ------_=_NextPart_001_01C4E711.46774F9A Content-Type: application/octet-stream; name="JavaIntClient.java" Content-Transfer-Encoding: base64 Content-Description: JavaIntClient.java Content-Disposition: attachment; filename="JavaIntClient.java" aW1wb3J0IGphdmEucm1pLlJlbW90ZUV4Y2VwdGlvbjsNCmltcG9ydCBqYXZhLnV0aWwuQXJyYXlM aXN0Ow0KaW1wb3J0IGphdmEudXRpbC5JdGVyYXRvcjsNCg0KLy9pbXBvcnQgamF2YXgueG1sLm5h bWVzcGFjZS5RTmFtZTsNCg0KaW1wb3J0IG9yZy5hcGFjaGUud3NpZi5XU0lGRXhjZXB0aW9uOw0K aW1wb3J0IG9yZy5hcGFjaGUud3NpZi5XU0lGTWVzc2FnZTsNCmltcG9ydCBvcmcuYXBhY2hlLndz aWYuV1NJRk9wZXJhdGlvbjsNCmltcG9ydCBvcmcuYXBhY2hlLndzaWYuV1NJRlBvcnQ7DQppbXBv cnQgb3JnLmFwYWNoZS53c2lmLldTSUZTZXJ2aWNlOw0KaW1wb3J0IG9yZy5hcGFjaGUud3NpZi5X U0lGU2VydmljZUZhY3Rvcnk7DQovL2ltcG9ydCBvcmcuYXBhY2hlLndzaWYuV1NJRk9wZXJhdGlv bl9FSkI7DQoNCg0KcHVibGljIGNsYXNzIEphdmFJbnRDbGllbnQNCnsNCiAgIHB1YmxpYyBzdGF0 aWMgdm9pZCBtYWluKFN0cmluZ1tdIGFyZ3MpDQogICB7DQogICAgICB0cnkNCiAgICAgIHsNCiAg ICAgICAgIFN0cmluZyBpbnB1dFN0cmluZyA9IG51bGw7DQoJCSBTdHJpbmcgb3V0cHV0U3RyaW5n ID0gbnVsbDsNCg0KCSAgICAgaW5wdXRTdHJpbmcgPSAiVGhlIEdyZWF0IjsNCiAgICAgICAgIFdT SUZTZXJ2aWNlRmFjdG9yeSBmYWN0b3J5ID0gV1NJRlNlcnZpY2VGYWN0b3J5Lm5ld0luc3RhbmNl KCk7DQoNCiAgICAgICAgIFdTSUZTZXJ2aWNlIHNlcnZpY2UgPSBmYWN0b3J5LmdldFNlcnZpY2Uo IkM6XFxKYXZhQmluZGluZ1xcSmF2YUJpbmQud3NkbCIsIG51bGwsbnVsbCwgImh0dHA6Ly9KYXZh QmluZFRlc3RlclBhY2siLCAiSmF2YUJpbmRUZXN0ZXJQVCIpOw0KDQogICAgICAgICAvL3NlcnZp Y2UubWFwVHlwZShuZXcgUU5hbWUoImh0dHA6Ly9XU0lGVXNlclBhY2siLCAiamF2YS5sYW5nLlN0 cmluZyIpLCBDbGFzcy5mb3JOYW1lKCJqYXZhLmxhbmcuU3RyaW5nIikpOw0KDQoJCSBXU0lGUG9y dCBwb3J0ID0gc2VydmljZS5nZXRQb3J0KCk7DQogICAgICAgICBXU0lGT3BlcmF0aW9uIG9wZXJh dGlvbiA9IHBvcnQuY3JlYXRlT3BlcmF0aW9uKCJnZXRJbnQiKTsNCiAgICAgICAgIFdTSUZNZXNz YWdlIGlucHV0ID0gb3BlcmF0aW9uLmNyZWF0ZUlucHV0TWVzc2FnZSgpOw0KICAgICAgICAgV1NJ Rk1lc3NhZ2Ugb3V0cHV0ID0gb3BlcmF0aW9uLmNyZWF0ZU91dHB1dE1lc3NhZ2UoKTsNCiAgICAg ICAgIFdTSUZNZXNzYWdlIGZhdWx0ID0gb3BlcmF0aW9uLmNyZWF0ZUZhdWx0TWVzc2FnZSgpOw0K ICAgICAgICAgDQogICAgICAgICBpbnB1dC5zZXRPYmplY3RQYXJ0KCJpbnAiLCBuZXcgSW50ZWdl cig1KSk7DQoJCSBTeXN0ZW0ub3V0LnByaW50bG4oaW5wdXQpOw0KCQkgU3lzdGVtLm91dC5wcmlu dGxuKCJDb21wbGV0ZWQiKTsNCiAgICAgICAgIGlmIChvcGVyYXRpb24uZXhlY3V0ZVJlcXVlc3RS ZXNwb25zZU9wZXJhdGlvbihpbnB1dCwgb3V0cHV0LCBmYXVsdCkpDQogICAgICAgICB7DQogICAg ICAgICAgICAgICAgSW50ZWdlciBpID0gIChJbnRlZ2VyKW91dHB1dC5nZXRPYmplY3RQYXJ0KCJv dXAiKTsNCiAgICAgICAgICAgICAgICBTeXN0ZW0ub3V0LnByaW50bG4oIG91dHB1dFN0cmluZyAr ICIgIik7DQogICAgICAgICB9DQogICAgICAgICBlbHNlDQogICAgICAgICB7DQogICAgICAgICAJ U3lzdGVtLm91dC5wcmludGxuKCJJbnZvY2F0aW9uIGZhaWxlZCIpOw0KICAgICAgICAgfSAgICAg ICAgIA0KICAgICAgfQ0KICAgICAgY2F0Y2ggKEV4Y2VwdGlvbiBlKQ0KICAgICAgew0KICAgICAg ICAgU3lzdGVtLm91dC5wcmludGxuKGUpOw0KCQkgLy9lLnByaW50U3RhY2tUcmFjZSgpOw0KICAg ICAgfQ0KICAgfQ0KfQ0K ------_=_NextPart_001_01C4E711.46774F9A Content-Type: application/octet-stream; name="JavaIntTester.java" Content-Transfer-Encoding: base64 Content-Description: JavaIntTester.java Content-Disposition: attachment; filename="JavaIntTester.java" cGFja2FnZSBKYXZhQmluZFRlc3RlclBhY2s7DQoNCnB1YmxpYyBjbGFzcyBKYXZhSW50VGVzdGVy DQp7DQogICAgICAgIHB1YmxpYyBpbnQgZ2V0SW50IChpbnQgbikNCiAgICAgICAgew0KICAgICAg ICAgICAgICAgIHJldHVybiBuICogMjsNCiAgICAgICAgfQ0KfQ0K ------_=_NextPart_001_01C4E711.46774F9A-- From [email protected] Thu Dec 23 07:42:40 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84190 invoked from network); 23 Dec 2004 07:42:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 23 Dec 2004 07:42:40 -0000 Received: (qmail 46290 invoked by uid 500); 23 Dec 2004 07:42:40 -0000 Delivered-To: [email protected] Received: (qmail 46073 invoked by uid 500); 23 Dec 2004 07:42:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 46060 invoked by uid 99); 23 Dec 2004 07:42:38 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from whale.cs.indiana.edu (HELO whale.cs.indiana.edu) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 22 Dec 2004 23:42:35 -0800 Received: from [161.129.204.104] (rainier.extreme.indiana.edu [161.129.204.104]) by whale.cs.indiana.edu (8.12.11/8.12.11/IUCS_2.63) with ESMTP id iBN7gSDi023013; Thu, 23 Dec 2004 02:42:29 -0500 (EST) Message-ID: <[email protected]> Date: Thu, 23 Dec 2004 02:42:27 -0500 From: Aleksander Slominski <[email protected]> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: Please guide me References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: multipart/mixed; boundary="------------050000020808050006090009" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. --------------050000020808050006090009 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Prabhakar Chandrasekaran wrote: > > I am working with Java Binding trying to access a simple class through > a WSDL. I have the following error occurring when I execute the above > two files with WSIF, > > org.apache.wsif.WSIFException: Binding > {http://JavaBindTesterPack}JavaBinding does not contain a typeMap with > encoding=Java and style=Java > > Though I have given type mapping this error occurs. > > JavaBind.wsdl – The WSDL file > > JavaIntClient.java – The dii wsif client > > JavaIntTester.java – The class which I am trying to access through > JavaBinding > > Please help me in resolving the above error, its very urgent. > what version of WSIF are using? did you try current CVS and/or nightly build? did you try to run samples/localjava? did it work? anyway aftrer i editied WSDL file (correct part name and no mapping needed for Java "int") and java client to coinsistetly use "int" all is working fine. see attached files. JavaIntClient org.apache.wsif.base.WSIFDefaultMessage@a4e743 name:null parts[0]:5 result=10 alek > Thanks and Regards, > > *Prabhakar Chandrasekaran* > > *Team Virtusa* > > *Office: 91 44 5200 2700 Ext. 3313** > **Mobile**: 91 94430 37499 * > > *www.virtusa.com <http://www.virtusa.com/>** * > > --------------------------------------------------------------------------------------------- > This message, including any attachments, contains confidential > information intended for a specific individual and purpose, and is > intended for the addressee only. Any unauthorized disclosure, use, > dissemination, copying, or distribution of this message or any of its > attachments or the information contained in this e-mail, or the taking > of any action based on it, is strictly prohibited. If you are not the > intended recipient, please notify the sender immediately by return > e-mail and delete this message. > -- The best way to predict the future is to invent it - Alan Kay --------------050000020808050006090009 Content-Type: text/plain; name="JavaIntClient.java" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="JavaIntClient.java" import org.apache.wsif.WSIFMessage; import org.apache.wsif.WSIFOperation; import org.apache.wsif.WSIFPort; import org.apache.wsif.WSIFService; import org.apache.wsif.WSIFServiceFactory; import org.apache.wsif.providers.java.WSIFDynamicProvider_Java; import org.apache.wsif.util.WSIFPluggableProviders; //import org.apache.wsif.WSIFOperation_EJB; public class JavaIntClient { public static void main(String[] args) { try { WSIFPluggableProviders.overrideDefaultProvider( "http://schemas.xmlsoap.org/wsdl/java/", new WSIFDynamicProvider_Java()); String inputString = null; String outputString = null; inputString = "The Great"; WSIFServiceFactory factory = WSIFServiceFactory.newInstance(); WSIFService service = factory.getService( "C:\\Forge\\ws-apache-cvs\\ws-wsif\\feedback\\java_binding_prabhakar\\JavaBind.wsdl", null,null, //service "http://JavaBindTesterPack", "JavaBindTesterPT"); //service.mapType(new QName("http://WSIFUserPack", "java.lang.String"), Class.forName("java.lang.String")); WSIFPort port = service.getPort(); WSIFOperation operation = port.createOperation("getInt"); WSIFMessage input = operation.createInputMessage(); WSIFMessage output = operation.createOutputMessage(); WSIFMessage fault = operation.createFaultMessage(); //input.setObjectPart("inp", new Integer(5)); input.setIntPart("inp", 5); System.out.println(input); //System.out.println("Completed"); if (operation.executeRequestResponseOperation(input, output, fault)) { //Integer i = (Integer)output.getObjectPart("oup"); int i = output.getIntPart("oup"); System.out.println( "result="+i); } else { System.out.println("Invocation failed"); } } catch (Exception e) { //System.out.println(e); e.printStackTrace(); } } } --------------050000020808050006090009 Content-Type: text/xml; name="JavaBind.wsdl" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="JavaBind.wsdl" <?xml version="1.0" ?> <definitions targetNamespace="http://JavaBindTesterPack" xmlns:tns="http://JavaBindTesterPack" xmlns:typens="http://www.ibm.com/namespace/wsif/samples/ab/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:format="http://schemas.xmlsoap.org/wsdl/formatbinding/" xmlns:java="http://schemas.xmlsoap.org/wsdl/java/" xmlns:ejb="http://schemas.xmlsoap.org/wsdl/ejb/" xmlns="http://schemas.xmlsoap.org/wsdl/"> <types> </types> <message name="getIntRequestMessage"> <part name="inp" type="xsd:int"/> </message> <message name="getIntResponseMessage"> <part name="oup" type="xsd:int"/> </message> <portType name="JavaBindTesterPT"> <operation name="getInt"> <input name="getIntRequest" message="tns:getIntRequestMessage"/> <output name="getIntResponse" message="tns:getIntResponseMessage"/> </operation> </portType> <binding name="JavaBinding" type="tns:JavaBindTesterPT"> <java:binding/> <format:typeMapping encoding="Java" style="Java"> <format:typeMap typeName="xsd:int" formatType="int"/> </format:typeMapping> <operation name="getInt"> <java:operation methodName="getInt" parameterOrder="inp" methodType="instance" returnPart="oup"/> <input name="getIntRequest"/> <output name="getIntResponse"/> </operation> </binding> <service name="JavaBindService"> <port name="JavaPort" binding="tns:JavaBinding"> <java:address className="JavaBindTesterPack.JavaIntTester"/> </port> </service> </definitions> --------------050000020808050006090009 Content-Type: text/plain; name="JavaIntTester.java" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="JavaIntTester.java" package JavaBindTesterPack; public class JavaIntTester { public int getInt (int n) { return n * 2; } // public Integer getInt (Integer n) // { // System.err.println(getClass().getName()+" invoked with n="+n); // return new Integer(n.intValue() * 2); // } } --------------050000020808050006090009-- From [email protected] Wed Dec 29 14:25:52 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99664 invoked from network); 29 Dec 2004 14:25:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 29 Dec 2004 14:25:52 -0000 Received: (qmail 36370 invoked by uid 500); 29 Dec 2004 14:25:49 -0000 Delivered-To: [email protected] Received: (qmail 36349 invoked by uid 500); 29 Dec 2004 14:25:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 36336 invoked by uid 99); 29 Dec 2004 14:25:49 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from whale.cs.indiana.edu (HELO whale.cs.indiana.edu) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 29 Dec 2004 06:25:45 -0800 Received: from [161.129.204.104] (rainier.extreme.indiana.edu [161.129.204.104]) by whale.cs.indiana.edu (8.12.11/8.12.11/IUCS_2.63) with ESMTP id iBTEORxX006228; Wed, 29 Dec 2004 09:24:28 -0500 (EST) Message-ID: <[email protected]> Date: Wed, 29 Dec 2004 09:24:25 -0500 From: Aleksander Slominski <[email protected]> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gabriel LAHYANI <[email protected]> CC: [email protected] Subject: Re: about "The archictecture of Web Service Invocation Framework" References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N hi Gabriel, i do not know about java support in AS/400 but hopefully somebody on wsif-user mailing list may know it. thanks, alek Gabriel LAHYANI wrote: >Hi Mr SLOMINSKI, > >I've readen your article about the web service invocation framework. >I write today because I've serious problem. > >In fact, I use an AS/400 server ( OS/400 V5R2 for specification ) without >WebSphere. >I want to invoke, from this OS/400, a web service which run on a Windows >Server .NET > >The java version is 1.3.1 on this OS/400. > >So, I have the following questions: > >- Does it exists Java releases, JDK 1.4 for exemple, for this system ? Do I >can download the WSIF package on this system ? > >- In other part, can I develop a solution only with the java.net package ? > >I really thank you in advance to your helps ! > >Sincères salutations, Best regards. > >Gabriel LAHYANI >Ingénieur d'études > >---------------------------------------- >AZUR Technology >Technoparc >3, allée du Moulin Berger >69130 ECULLY-FRANCE >Tel. : 910-855-9490 >Fax : 910-855-9490 >mailto:[email protected] >http://www.azurtechnology.com > > > > > -- The best way to predict the future is to invent it - Alan Kay From [email protected] Wed Dec 29 16:35:44 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56038 invoked from network); 29 Dec 2004 16:35:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 29 Dec 2004 16:35:44 -0000 Received: (qmail 60311 invoked by uid 500); 29 Dec 2004 16:35:38 -0000 Delivered-To: [email protected] Received: (qmail 60287 invoked by uid 500); 29 Dec 2004 16:35:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 60257 invoked by uid 99); 29 Dec 2004 16:35:38 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from Unknown (HELO fivesight.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 29 Dec 2004 08:35:33 -0800 Received: from ip-216-36-101-148.dsl.chi.megapath.net ([161.129.204.104] helo=[161.129.204.104]) by fivesight.com with asmtp (Exim 3.35 #1 (Debian)) id 1Cjgmp-0001s2-00; Wed, 29 Dec 2004 08:34:59 -0800 In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit Cc: Gabriel LAHYANI <[email protected]> From: Paul R Brown <[email protected]> Subject: Re: about "The archictecture of Web Service Invocation Framework" Date: Wed, 29 Dec 2004 10:34:24 -0600 To: [email protected] X-Mailer: Apple Mail (2.619) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, Gabriel -- >> In fact, I use an AS/400 server ( OS/400 V5R2 for specification ) >> without WebSphere. I want to invoke, from this OS/400, a web service >> which run on a Windows Server .NET WSIF is a library for invoking different things as though they were honest web services, not invoking actual web services. (As for OS/400, there is some weirdness on the commandline (due to length) compared to UNIX, depending on the overall setup of the machine, but the JVMs are relatively standard.) What you want is just a client library, and you should probably check out Apache Axis (http://ws.apache.org/axis). --- Paul Brown FiveSight Technologies, Inc. - http://www.fivesight.com The BPEL Experts. From [email protected] Wed Dec 29 17:13:55 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73327 invoked from network); 29 Dec 2004 17:13:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 29 Dec 2004 17:13:55 -0000 Received: (qmail 48149 invoked by uid 500); 29 Dec 2004 17:13:13 -0000 Delivered-To: [email protected] Received: (qmail 48126 invoked by uid 500); 29 Dec 2004 17:13:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 48088 invoked by uid 99); 29 Dec 2004 17:13:12 -0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from sccrmhc11.comcast.net (HELO sccrmhc11.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 29 Dec 2004 09:13:09 -0800 Received: from TELAVIV (c-67-161-38-61.client.comcast.net[161.129.204.104]) by comcast.net (sccrmhc11) with SMTP id <2004122917130701100g7kgue>; Wed, 29 Dec 2004 17:13:07 +0000 From: "Gregory Prokter" <[email protected]> To: <[email protected]> Cc: <[email protected]> Subject: Async invocation in WSIF Date: Wed, 29 Dec 2004 09:14:27 -0800 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello WSIF experts! Happy New 2005 Year to all! Recently, I discovered WSIF and it looks awesome! Have run some examples with it. Not everything works smoothly and I will have to dive into the code myself, which I will do very reluctantly, since I'd rather concentrate on my project rather than WSIF code, but this is the nature of the open code. Now to my question. When I ran an example involving asynch invocation, i.e. ok = operation.executeRequestResponseAsync(input, responseHandler); /* there is a definition of: public class AsyncResponseHandler implements WSIFResponseHandler {} */ I got this cute Exception: org.apache.wsif.WSIFException: asynchronous operations not available [java] at org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.executeRe questResponseAsync(Unknown Source) [java] at com.edrient.manager.samples.wsif.DynamicInvoker.invokeMethod(DynamicInvoker. java:291) [java] at com.edrient.manager.samples.wsif.DynamicInvoker.main(DynamicInvoker.java:105 ) [java] Exception in thread "main" [java] Java Result: 1 So, is WSIFOperation.executeRequestResponseAsync() avail or not? What versions support it? I got the lattest stable (downloaded around mid December 04). Need you help ASAP! Thanks a lot in advance, Greg From [email protected] Wed Dec 29 19:31:24 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 19122 invoked from network); 29 Dec 2004 19:31:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 29 Dec 2004 19:31:24 -0000 Received: (qmail 99845 invoked by uid 500); 29 Dec 2004 19:31:20 -0000 Delivered-To: [email protected] Received: (qmail 99820 invoked by uid 500); 29 Dec 2004 19:31:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 99781 invoked by uid 99); 29 Dec 2004 19:31:19 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from fh023.dia.cp.net (HELO n126.sc0.cp.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 29 Dec 2004 11:31:16 -0800 Received: from jmg (161.129.204.104) by n126.sc0.cp.net (161.129.204.104) (authenticated as [email protected]) id 41C7C4B6000A89FD for [email protected]; Wed, 29 Dec 2004 19:31:14 +0000 Message-ID: <005d01c4eddd$2d675ac0$af00a8c0@jmg> From: "Jeff Greif" <[email protected]> To: <[email protected]> References: <[email protected]> Subject: Re: Async invocation in WSIF Date: Wed, 29 Dec 2004 11:32:46 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This answer is not definitive, but may be helpful nonetheless. I believe, but am not certain, that you need to have a JMS implementation backing asynchronous calls in WSIF. This means you need to build Axis with a JMS implementation (such as OpenJMS) in the class path and similarly make that implementation available in your classpath when WSIF is used. In earlier incarnations of WSIF, there was some documentation of what was necessary, but I have not looked recently to see if it's still there. Jeff ----- Original Message ----- From: "Gregory Prokter" <[email protected]> To: <[email protected]> Cc: <[email protected]> Sent: Wednesday, December 29, 2004 9:14 AM Subject: Async invocation in WSIF > Hello WSIF experts! > > Happy New 2005 Year to all! > > Recently, I discovered WSIF and it looks awesome! Have run some examples > with it. Not everything works smoothly and I will have to dive into the > code myself, which I will do very reluctantly, since I'd rather concentrate > on my project rather than WSIF code, but this is the nature of the open > code. > > Now to my question. When I ran an example involving asynch invocation, i.e. > > ok = operation.executeRequestResponseAsync(input, responseHandler); > /* there is a definition of: public class AsyncResponseHandler implements > WSIFResponseHandler {} */ > > I got this cute Exception: > > org.apache.wsif.WSIFException: asynchronous operations not available > [java] at > org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.executeRe > questResponseAsync(Unknown Source) > [java] at > com.edrient.manager.samples.wsif.DynamicInvoker.invokeMethod(DynamicInvoker. > java:291) > [java] at > com.edrient.manager.samples.wsif.DynamicInvoker.main(DynamicInvoker.java:105 > ) > [java] Exception in thread "main" > [java] Java Result: 1 > > So, is WSIFOperation.executeRequestResponseAsync() avail or not? What > versions support it? I got the lattest stable (downloaded around mid > December 04). > > Need you help ASAP! > > Thanks a lot in advance, > > Greg > From [email protected] Wed Dec 29 19:53:41 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 27102 invoked from network); 29 Dec 2004 19:53:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 29 Dec 2004 19:53:41 -0000 Received: (qmail 35358 invoked by uid 500); 29 Dec 2004 19:53:41 -0000 Delivered-To: [email protected] Received: (qmail 35336 invoked by uid 500); 29 Dec 2004 19:53:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 35323 invoked by uid 99); 29 Dec 2004 19:53:40 -0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from sccrmhc13.comcast.net (HELO sccrmhc13.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 29 Dec 2004 11:53:37 -0800 Received: from TELAVIV (c-67-161-38-61.client.comcast.net[161.129.204.104]) by comcast.net (sccrmhc13) with SMTP id <2004122919533501600puicne>; Wed, 29 Dec 2004 19:53:35 +0000 From: "Gregory Prokter" <[email protected]> To: <[email protected]> Subject: RE: Async invocation in WSIF Date: Wed, 29 Dec 2004 11:54:55 -0800 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <005d01c4eddd$2d675ac0$af00a8c0@jmg> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Thanks Jeff. Using an asynch transport, like a JMS provider or SOAP Provider on top of JMS is a possible approach to async invocation, but IMO it's rather a far leass advantageous approach than having async invocation in the WSIF itself, regardless of the synch trasport protocol, like HTTP you're running on top of. See an excellent ref on the subject: http://www.voelter.de/data/articles/ijwr04.pdf. I thought and hoped that WSIF.executeRequestResponseAsync() is just that, an async invocation in WSIF, and in my view if it doesn't work it will undermine considerably the value of WSIF. Greg -----Original Message----- From: Jeff Greif [mailto:[email protected]] Sent: Wednesday, December 29, 2004 11:33 AM To: [email protected] Subject: Re: Async invocation in WSIF This answer is not definitive, but may be helpful nonetheless. I believe, but am not certain, that you need to have a JMS implementation backing asynchronous calls in WSIF. This means you need to build Axis with a JMS implementation (such as OpenJMS) in the class path and similarly make that implementation available in your classpath when WSIF is used. In earlier incarnations of WSIF, there was some documentation of what was necessary, but I have not looked recently to see if it's still there. Jeff ----- Original Message ----- From: "Gregory Prokter" <[email protected]> To: <[email protected]> Cc: <[email protected]> Sent: Wednesday, December 29, 2004 9:14 AM Subject: Async invocation in WSIF > Hello WSIF experts! > > Happy New 2005 Year to all! > > Recently, I discovered WSIF and it looks awesome! Have run some examples > with it. Not everything works smoothly and I will have to dive into the > code myself, which I will do very reluctantly, since I'd rather concentrate > on my project rather than WSIF code, but this is the nature of the open > code. > > Now to my question. When I ran an example involving asynch invocation, i.e. > > ok = operation.executeRequestResponseAsync(input, responseHandler); > /* there is a definition of: public class AsyncResponseHandler implements > WSIFResponseHandler {} */ > > I got this cute Exception: > > org.apache.wsif.WSIFException: asynchronous operations not available > [java] at > org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.executeRe > questResponseAsync(Unknown Source) > [java] at > com.edrient.manager.samples.wsif.DynamicInvoker.invokeMethod(DynamicInvoker. > java:291) > [java] at > com.edrient.manager.samples.wsif.DynamicInvoker.main(DynamicInvoker.java:105 > ) > [java] Exception in thread "main" > [java] Java Result: 1 > > So, is WSIFOperation.executeRequestResponseAsync() avail or not? What > versions support it? I got the lattest stable (downloaded around mid > December 04). > > Need you help ASAP! > > Thanks a lot in advance, > > Greg > From [email protected] Wed Dec 29 20:38:44 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57696 invoked from network); 29 Dec 2004 20:38:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 29 Dec 2004 20:38:44 -0000 Received: (qmail 3730 invoked by uid 500); 29 Dec 2004 20:38:43 -0000 Delivered-To: [email protected] Received: (qmail 3712 invoked by uid 500); 29 Dec 2004 20:38:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 3698 invoked by uid 99); 29 Dec 2004 20:38:43 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from fh020.dia.cp.net (HELO n016.sc0.cp.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 29 Dec 2004 12:38:40 -0800 Received: from jmg (161.129.204.104) by n016.sc0.cp.net (161.129.204.104) (authenticated as [email protected]) id 41C7AF43000DAF74 for [email protected]; Wed, 29 Dec 2004 20:38:37 +0000 Message-ID: <008301c4ede6$975be6e0$af00a8c0@jmg> From: "Jeff Greif" <[email protected]> To: <[email protected]> References: <[email protected]> Subject: Re: Async invocation in WSIF Date: Wed, 29 Dec 2004 12:40:10 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Did you look at tests/async in the wsif tree? Jeff ----- Original Message ----- From: "Gregory Prokter" <[email protected]> To: <[email protected]> Sent: Wednesday, December 29, 2004 11:54 AM Subject: RE: Async invocation in WSIF > Thanks Jeff. > > Using an asynch transport, like a JMS provider or SOAP Provider on top of > JMS is a possible approach to async invocation, but IMO it's rather a far > leass advantageous approach than having async invocation in the WSIF itself, > regardless of the synch trasport protocol, like HTTP you're running on top > of. See an excellent ref on the subject: > http://www.voelter.de/data/articles/ijwr04.pdf. I thought and hoped that > WSIF.executeRequestResponseAsync() is just that, an async invocation in > WSIF, and in my view if it doesn't work it will undermine considerably the > value of WSIF. > > Greg > > -----Original Message----- > From: Jeff Greif [mailto:[email protected]] > Sent: Wednesday, December 29, 2004 11:33 AM > To: [email protected] > Subject: Re: Async invocation in WSIF > > > This answer is not definitive, but may be helpful nonetheless. I believe, > but am not certain, that you need to have a JMS implementation backing > asynchronous calls in WSIF. This means you need to build Axis with a JMS > implementation (such as OpenJMS) in the class path and similarly make that > implementation available in your classpath when WSIF is used. In earlier > incarnations of WSIF, there was some documentation of what was necessary, > but I have not looked recently to see if it's still there. > > Jeff > ----- Original Message ----- > From: "Gregory Prokter" <[email protected]> > To: <[email protected]> > Cc: <[email protected]> > Sent: Wednesday, December 29, 2004 9:14 AM > Subject: Async invocation in WSIF > > > > Hello WSIF experts! > > > > Happy New 2005 Year to all! > > > > Recently, I discovered WSIF and it looks awesome! Have run some examples > > with it. Not everything works smoothly and I will have to dive into the > > code myself, which I will do very reluctantly, since I'd rather > concentrate > > on my project rather than WSIF code, but this is the nature of the open > > code. > > > > Now to my question. When I ran an example involving asynch invocation, > i.e. > > > > ok = operation.executeRequestResponseAsync(input, responseHandler); > > /* there is a definition of: public class AsyncResponseHandler implements > > WSIFResponseHandler {} */ > > > > I got this cute Exception: > > > > org.apache.wsif.WSIFException: asynchronous operations not available > > [java] at > > > org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.executeRe > > questResponseAsync(Unknown Source) > > [java] at > > > com.edrient.manager.samples.wsif.DynamicInvoker.invokeMethod(DynamicInvoker. > > java:291) > > [java] at > > > com.edrient.manager.samples.wsif.DynamicInvoker.main(DynamicInvoker.java:105 > > ) > > [java] Exception in thread "main" > > [java] Java Result: 1 > > > > So, is WSIFOperation.executeRequestResponseAsync() avail or not? What > > versions support it? I got the lattest stable (downloaded around mid > > December 04). > > > > Need you help ASAP! > > > > Thanks a lot in advance, > > > > Greg > > > From [email protected] Thu Dec 30 00:07:12 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57097 invoked from network); 30 Dec 2004 00:07:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 30 Dec 2004 00:07:11 -0000 Received: (qmail 1821 invoked by uid 500); 30 Dec 2004 00:07:11 -0000 Delivered-To: [email protected] Received: (qmail 1807 invoked by uid 500); 30 Dec 2004 00:07:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 1796 invoked by uid 99); 30 Dec 2004 00:07:10 -0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from sccrmhc11.comcast.net (HELO sccrmhc11.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 29 Dec 2004 16:07:07 -0800 Received: from TELAVIV (c-67-161-38-61.client.comcast.net[161.129.204.104]) by comcast.net (sccrmhc11) with SMTP id <2004123000070401100g5ob0e>; Thu, 30 Dec 2004 00:07:04 +0000 From: "Gregory Prokter" <[email protected]> To: <[email protected]> Subject: RE: Async invocation in WSIF Date: Wed, 29 Dec 2004 16:08:24 -0800 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <008301c4ede6$975be6e0$af00a8c0@jmg> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Jeff- The answer to your Q is YES. Ok, after studying the WSIF code, it appears that the transport indeed has to be JMS in order for WSIFPort_ApacheAxis.supportsAsync() which is called by WSIFOperation_ApacheAxis.executeRequestResponseAsync() to return TRUE. Otherwise, it return FALSE and WSIFOperation_ApacheAxis.executeRequestResponseAsync() throws WSIFException ("asynchronous operations not available"); as indeed happened in my case. This is very disappointing since not ever Web Service supports JMS, but all support HTTP. -----Original Message----- From: Jeff Greif [mailto:[email protected]] Sent: Wednesday, December 29, 2004 12:40 PM To: [email protected] Subject: Re: Async invocation in WSIF Did you look at tests/async in the wsif tree? Jeff ----- Original Message ----- From: "Gregory Prokter" <[email protected]> To: <[email protected]> Sent: Wednesday, December 29, 2004 11:54 AM Subject: RE: Async invocation in WSIF > Thanks Jeff. > > Using an asynch transport, like a JMS provider or SOAP Provider on top of > JMS is a possible approach to async invocation, but IMO it's rather a far > leass advantageous approach than having async invocation in the WSIF itself, > regardless of the synch trasport protocol, like HTTP you're running on top > of. See an excellent ref on the subject: > http://www.voelter.de/data/articles/ijwr04.pdf. I thought and hoped that > WSIF.executeRequestResponseAsync() is just that, an async invocation in > WSIF, and in my view if it doesn't work it will undermine considerably the > value of WSIF. > > Greg > > -----Original Message----- > From: Jeff Greif [mailto:[email protected]] > Sent: Wednesday, December 29, 2004 11:33 AM > To: [email protected] > Subject: Re: Async invocation in WSIF > > > This answer is not definitive, but may be helpful nonetheless. I believe, > but am not certain, that you need to have a JMS implementation backing > asynchronous calls in WSIF. This means you need to build Axis with a JMS > implementation (such as OpenJMS) in the class path and similarly make that > implementation available in your classpath when WSIF is used. In earlier > incarnations of WSIF, there was some documentation of what was necessary, > but I have not looked recently to see if it's still there. > > Jeff > ----- Original Message ----- > From: "Gregory Prokter" <[email protected]> > To: <[email protected]> > Cc: <[email protected]> > Sent: Wednesday, December 29, 2004 9:14 AM > Subject: Async invocation in WSIF > > > > Hello WSIF experts! > > > > Happy New 2005 Year to all! > > > > Recently, I discovered WSIF and it looks awesome! Have run some examples > > with it. Not everything works smoothly and I will have to dive into the > > code myself, which I will do very reluctantly, since I'd rather > concentrate > > on my project rather than WSIF code, but this is the nature of the open > > code. > > > > Now to my question. When I ran an example involving asynch invocation, > i.e. > > > > ok = operation.executeRequestResponseAsync(input, responseHandler); > > /* there is a definition of: public class AsyncResponseHandler implements > > WSIFResponseHandler {} */ > > > > I got this cute Exception: > > > > org.apache.wsif.WSIFException: asynchronous operations not available > > [java] at > > > org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.executeRe > > questResponseAsync(Unknown Source) > > [java] at > > > com.edrient.manager.samples.wsif.DynamicInvoker.invokeMethod(DynamicInvoker. > > java:291) > > [java] at > > > com.edrient.manager.samples.wsif.DynamicInvoker.main(DynamicInvoker.java:105 > > ) > > [java] Exception in thread "main" > > [java] Java Result: 1 > > > > So, is WSIFOperation.executeRequestResponseAsync() avail or not? What > > versions support it? I got the lattest stable (downloaded around mid > > December 04). > > > > Need you help ASAP! > > > > Thanks a lot in advance, > > > > Greg > > > From [email protected] Thu Dec 30 00:37:20 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64590 invoked from network); 30 Dec 2004 00:37:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 30 Dec 2004 00:37:20 -0000 Received: (qmail 32178 invoked by uid 500); 30 Dec 2004 00:37:19 -0000 Delivered-To: [email protected] Received: (qmail 32159 invoked by uid 500); 30 Dec 2004 00:37:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 32148 invoked by uid 99); 30 Dec 2004 00:37:19 -0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from sccrmhc13.comcast.net (HELO sccrmhc13.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 29 Dec 2004 16:37:16 -0800 Received: from TELAVIV (c-67-161-38-61.client.comcast.net[161.129.204.104]) by comcast.net (sccrmhc13) with SMTP id <2004123000371301600pqs1ne>; Thu, 30 Dec 2004 00:37:13 +0000 From: "Gregory Prokter" <[email protected]> To: <[email protected]> Subject: RE: Async invocation in WSIF Date: Wed, 29 Dec 2004 16:38:33 -0800 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Yes, indeed the site http://ws.apache.org/wsif/developers/tests.html confirms that and stays: "Asynchronous support is currently only supported over Jms, so to test out async you need Jms." Relying on asynch transport,like JMS is not a good way out of a client async invocation requirement because as I stated async protocols like JMS are not ubiquitous. Greg -----Original Message----- From: Gregory Prokter [mailto:[email protected]] Sent: Wednesday, December 29, 2004 4:08 PM To: [email protected] Subject: RE: Async invocation in WSIF Jeff- The answer to your Q is YES. Ok, after studying the WSIF code, it appears that the transport indeed has to be JMS in order for WSIFPort_ApacheAxis.supportsAsync() which is called by WSIFOperation_ApacheAxis.executeRequestResponseAsync() to return TRUE. Otherwise, it return FALSE and WSIFOperation_ApacheAxis.executeRequestResponseAsync() throws WSIFException ("asynchronous operations not available"); as indeed happened in my case. This is very disappointing since not ever Web Service supports JMS, but all support HTTP. -----Original Message----- From: Jeff Greif [mailto:[email protected]] Sent: Wednesday, December 29, 2004 12:40 PM To: [email protected] Subject: Re: Async invocation in WSIF Did you look at tests/async in the wsif tree? Jeff ----- Original Message ----- From: "Gregory Prokter" <[email protected]> To: <[email protected]> Sent: Wednesday, December 29, 2004 11:54 AM Subject: RE: Async invocation in WSIF > Thanks Jeff. > > Using an asynch transport, like a JMS provider or SOAP Provider on top of > JMS is a possible approach to async invocation, but IMO it's rather a far > leass advantageous approach than having async invocation in the WSIF itself, > regardless of the synch trasport protocol, like HTTP you're running on top > of. See an excellent ref on the subject: > http://www.voelter.de/data/articles/ijwr04.pdf. I thought and hoped that > WSIF.executeRequestResponseAsync() is just that, an async invocation in > WSIF, and in my view if it doesn't work it will undermine considerably the > value of WSIF. > > Greg > > -----Original Message----- > From: Jeff Greif [mailto:[email protected]] > Sent: Wednesday, December 29, 2004 11:33 AM > To: [email protected] > Subject: Re: Async invocation in WSIF > > > This answer is not definitive, but may be helpful nonetheless. I believe, > but am not certain, that you need to have a JMS implementation backing > asynchronous calls in WSIF. This means you need to build Axis with a JMS > implementation (such as OpenJMS) in the class path and similarly make that > implementation available in your classpath when WSIF is used. In earlier > incarnations of WSIF, there was some documentation of what was necessary, > but I have not looked recently to see if it's still there. > > Jeff > ----- Original Message ----- > From: "Gregory Prokter" <[email protected]> > To: <[email protected]> > Cc: <[email protected]> > Sent: Wednesday, December 29, 2004 9:14 AM > Subject: Async invocation in WSIF > > > > Hello WSIF experts! > > > > Happy New 2005 Year to all! > > > > Recently, I discovered WSIF and it looks awesome! Have run some examples > > with it. Not everything works smoothly and I will have to dive into the > > code myself, which I will do very reluctantly, since I'd rather > concentrate > > on my project rather than WSIF code, but this is the nature of the open > > code. > > > > Now to my question. When I ran an example involving asynch invocation, > i.e. > > > > ok = operation.executeRequestResponseAsync(input, responseHandler); > > /* there is a definition of: public class AsyncResponseHandler implements > > WSIFResponseHandler {} */ > > > > I got this cute Exception: > > > > org.apache.wsif.WSIFException: asynchronous operations not available > > [java] at > > > org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.executeRe > > questResponseAsync(Unknown Source) > > [java] at > > > com.edrient.manager.samples.wsif.DynamicInvoker.invokeMethod(DynamicInvoker. > > java:291) > > [java] at > > > com.edrient.manager.samples.wsif.DynamicInvoker.main(DynamicInvoker.java:105 > > ) > > [java] Exception in thread "main" > > [java] Java Result: 1 > > > > So, is WSIFOperation.executeRequestResponseAsync() avail or not? What > > versions support it? I got the lattest stable (downloaded around mid > > December 04). > > > > Need you help ASAP! > > > > Thanks a lot in advance, > > > > Greg > > > From [email protected] Thu Dec 30 01:54:17 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86049 invoked from network); 30 Dec 2004 01:54:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 30 Dec 2004 01:54:17 -0000 Received: (qmail 17130 invoked by uid 500); 30 Dec 2004 01:54:16 -0000 Delivered-To: [email protected] Received: (qmail 17115 invoked by uid 500); 30 Dec 2004 01:54:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 17104 invoked by uid 99); 30 Dec 2004 01:54:15 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from fh023.dia.cp.net (HELO n126.sc0.cp.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 29 Dec 2004 17:54:12 -0800 Received: from jmg (161.129.204.104) by n126.sc0.cp.net (161.129.204.104) (authenticated as [email protected]) id 41C7C4B6000AF554 for [email protected]; Thu, 30 Dec 2004 01:54:10 +0000 Message-ID: <00b101c4ee12$ab80bf20$af00a8c0@jmg> From: "Jeff Greif" <[email protected]> To: <[email protected]> References: <[email protected]> Subject: Re: Async invocation in WSIF Date: Wed, 29 Dec 2004 17:55:42 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I'm not sure JMS transport is required for the invoked web service endpoint. I think there is a test example which uses the JMS queue as the destination for the response, including persistence if the client happens to be shut down when the response arrives, but uses a JMS <-> HTTP bridge to invoke the "ordinary" web service endpoint synchronously. Jeff ----- Original Message ----- From: "Gregory Prokter" <[email protected]> To: <[email protected]> Sent: Wednesday, December 29, 2004 4:08 PM Subject: RE: Async invocation in WSIF > Jeff- > > The answer to your Q is YES. > > Ok, after studying the WSIF code, it appears that the transport indeed has > to be JMS in order for WSIFPort_ApacheAxis.supportsAsync() which is called > by WSIFOperation_ApacheAxis.executeRequestResponseAsync() to return TRUE. > Otherwise, it return FALSE and > WSIFOperation_ApacheAxis.executeRequestResponseAsync() throws WSIFException > ("asynchronous operations not available"); as indeed happened in my case. > > This is very disappointing since not ever Web Service supports JMS, but all > support HTTP. > > -----Original Message----- > From: Jeff Greif [mailto:[email protected]] > Sent: Wednesday, December 29, 2004 12:40 PM > To: [email protected] > Subject: Re: Async invocation in WSIF > > > Did you look at tests/async in the wsif tree? > Jeff > ----- Original Message ----- > From: "Gregory Prokter" <[email protected]> > To: <[email protected]> > Sent: Wednesday, December 29, 2004 11:54 AM > Subject: RE: Async invocation in WSIF > > > > Thanks Jeff. > > > > Using an asynch transport, like a JMS provider or SOAP Provider on top of > > JMS is a possible approach to async invocation, but IMO it's rather a far > > leass advantageous approach than having async invocation in the WSIF > itself, > > regardless of the synch trasport protocol, like HTTP you're running on top > > of. See an excellent ref on the subject: > > http://www.voelter.de/data/articles/ijwr04.pdf. I thought and hoped that > > WSIF.executeRequestResponseAsync() is just that, an async invocation in > > WSIF, and in my view if it doesn't work it will undermine considerably the > > value of WSIF. > > > > Greg > > > > -----Original Message----- > > From: Jeff Greif [mailto:[email protected]] > > Sent: Wednesday, December 29, 2004 11:33 AM > > To: [email protected] > > Subject: Re: Async invocation in WSIF > > > > > > This answer is not definitive, but may be helpful nonetheless. I believe, > > but am not certain, that you need to have a JMS implementation backing > > asynchronous calls in WSIF. This means you need to build Axis with a JMS > > implementation (such as OpenJMS) in the class path and similarly make > that > > implementation available in your classpath when WSIF is used. In earlier > > incarnations of WSIF, there was some documentation of what was necessary, > > but I have not looked recently to see if it's still there. > > > > Jeff > > ----- Original Message ----- > > From: "Gregory Prokter" <[email protected]> > > To: <[email protected]> > > Cc: <[email protected]> > > Sent: Wednesday, December 29, 2004 9:14 AM > > Subject: Async invocation in WSIF > > > > > > > Hello WSIF experts! > > > > > > Happy New 2005 Year to all! > > > > > > Recently, I discovered WSIF and it looks awesome! Have run some > examples > > > with it. Not everything works smoothly and I will have to dive into the > > > code myself, which I will do very reluctantly, since I'd rather > > concentrate > > > on my project rather than WSIF code, but this is the nature of the open > > > code. > > > > > > Now to my question. When I ran an example involving asynch invocation, > > i.e. > > > > > > ok = operation.executeRequestResponseAsync(input, responseHandler); > > > /* there is a definition of: public class AsyncResponseHandler > implements > > > WSIFResponseHandler {} */ > > > > > > I got this cute Exception: > > > > > > org.apache.wsif.WSIFException: asynchronous operations not available > > > [java] at > > > > > > org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.executeRe > > > questResponseAsync(Unknown Source) > > > [java] at > > > > > > com.edrient.manager.samples.wsif.DynamicInvoker.invokeMethod(DynamicInvoker. > > > java:291) > > > [java] at > > > > > > com.edrient.manager.samples.wsif.DynamicInvoker.main(DynamicInvoker.java:105 > > > ) > > > [java] Exception in thread "main" > > > [java] Java Result: 1 > > > > > > So, is WSIFOperation.executeRequestResponseAsync() avail or not? What > > > versions support it? I got the lattest stable (downloaded around mid > > > December 04). > > > > > > Need you help ASAP! > > > > > > Thanks a lot in advance, > > > > > > Greg > > > > > > From [email protected] Fri Dec 31 00:30:03 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99906 invoked from network); 31 Dec 2004 00:30:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 31 Dec 2004 00:30:03 -0000 Received: (qmail 65103 invoked by uid 500); 31 Dec 2004 00:30:02 -0000 Delivered-To: [email protected] Received: (qmail 65077 invoked by uid 500); 31 Dec 2004 00:30:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 65063 invoked by uid 99); 31 Dec 2004 00:30:01 -0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from sccrmhc12.comcast.net (HELO sccrmhc12.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 30 Dec 2004 16:29:58 -0800 Received: from TELAVIV (c-67-161-38-61.client.comcast.net[161.129.204.104]) by comcast.net (sccrmhc12) with SMTP id <20041231002941012003r8s1e>; Fri, 31 Dec 2004 00:29:41 +0000 From: "Gregory Prokter" <[email protected]> To: <[email protected]> Subject: RE: Async invocation in WSIF and multiple Provider support in a single client Date: Thu, 30 Dec 2004 16:31:01 -0800 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <00b101c4ee12$ab80bf20$af00a8c0@jmg> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Much oblidged, Jeff. I was thinking to implement something like that, so if it works this way great! I'm still researching and would love to hear on the subject from Alek or Ant or the other authors. I recall seeing suggestion like this (2 Queues: for In and Out) in one of the 2001/2002 presentations by the IBM WSIF folks re. async support in WSIF. I've got another question and would appreciate an answer: Can a single client use multiple Providers to multiple Services? For ex. A client calls WSDL1 over SOAP/HTTP and WSDL2 over JMS and WSDL3 over Java. I don't see why not, since the binding in in WSDL, but haven't run any examples with this case and would like to hear howto's and any gotchas in doing this. Best to all, Greg -----Original Message----- From: Jeff Greif [mailto:[email protected]] Sent: Wednesday, December 29, 2004 5:56 PM To: [email protected] Subject: Re: Async invocation in WSIF I'm not sure JMS transport is required for the invoked web service endpoint. I think there is a test example which uses the JMS queue as the destination for the response, including persistence if the client happens to be shut down when the response arrives, but uses a JMS <-> HTTP bridge to invoke the "ordinary" web service endpoint synchronously. Jeff ----- Original Message ----- From: "Gregory Prokter" <[email protected]> To: <[email protected]> Sent: Wednesday, December 29, 2004 4:08 PM Subject: RE: Async invocation in WSIF > Jeff- > > The answer to your Q is YES. > > Ok, after studying the WSIF code, it appears that the transport indeed has > to be JMS in order for WSIFPort_ApacheAxis.supportsAsync() which is called > by WSIFOperation_ApacheAxis.executeRequestResponseAsync() to return TRUE. > Otherwise, it return FALSE and > WSIFOperation_ApacheAxis.executeRequestResponseAsync() throws WSIFException > ("asynchronous operations not available"); as indeed happened in my case. > > This is very disappointing since not ever Web Service supports JMS, but all > support HTTP. > > -----Original Message----- > From: Jeff Greif [mailto:[email protected]] > Sent: Wednesday, December 29, 2004 12:40 PM > To: [email protected] > Subject: Re: Async invocation in WSIF > > > Did you look at tests/async in the wsif tree? > Jeff > ----- Original Message ----- > From: "Gregory Prokter" <[email protected]> > To: <[email protected]> > Sent: Wednesday, December 29, 2004 11:54 AM > Subject: RE: Async invocation in WSIF > > > > Thanks Jeff. > > > > Using an asynch transport, like a JMS provider or SOAP Provider on top of > > JMS is a possible approach to async invocation, but IMO it's rather a far > > leass advantageous approach than having async invocation in the WSIF > itself, > > regardless of the synch trasport protocol, like HTTP you're running on top > > of. See an excellent ref on the subject: > > http://www.voelter.de/data/articles/ijwr04.pdf. I thought and hoped that > > WSIF.executeRequestResponseAsync() is just that, an async invocation in > > WSIF, and in my view if it doesn't work it will undermine considerably the > > value of WSIF. > > > > Greg > > > > -----Original Message----- > > From: Jeff Greif [mailto:[email protected]] > > Sent: Wednesday, December 29, 2004 11:33 AM > > To: [email protected] > > Subject: Re: Async invocation in WSIF > > > > > > This answer is not definitive, but may be helpful nonetheless. I believe, > > but am not certain, that you need to have a JMS implementation backing > > asynchronous calls in WSIF. This means you need to build Axis with a JMS > > implementation (such as OpenJMS) in the class path and similarly make > that > > implementation available in your classpath when WSIF is used. In earlier > > incarnations of WSIF, there was some documentation of what was necessary, > > but I have not looked recently to see if it's still there. > > > > Jeff > > ----- Original Message ----- > > From: "Gregory Prokter" <[email protected]> > > To: <[email protected]> > > Cc: <[email protected]> > > Sent: Wednesday, December 29, 2004 9:14 AM > > Subject: Async invocation in WSIF > > > > > > > Hello WSIF experts! > > > > > > Happy New 2005 Year to all! > > > > > > Recently, I discovered WSIF and it looks awesome! Have run some > examples > > > with it. Not everything works smoothly and I will have to dive into the > > > code myself, which I will do very reluctantly, since I'd rather > > concentrate > > > on my project rather than WSIF code, but this is the nature of the open > > > code. > > > > > > Now to my question. When I ran an example involving asynch invocation, > > i.e. > > > > > > ok = operation.executeRequestResponseAsync(input, responseHandler); > > > /* there is a definition of: public class AsyncResponseHandler > implements > > > WSIFResponseHandler {} */ > > > > > > I got this cute Exception: > > > > > > org.apache.wsif.WSIFException: asynchronous operations not available > > > [java] at > > > > > > org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.executeRe > > > questResponseAsync(Unknown Source) > > > [java] at > > > > > > com.edrient.manager.samples.wsif.DynamicInvoker.invokeMethod(DynamicInvoker. > > > java:291) > > > [java] at > > > > > > com.edrient.manager.samples.wsif.DynamicInvoker.main(DynamicInvoker.java:105 > > > ) > > > [java] Exception in thread "main" > > > [java] Java Result: 1 > > > > > > So, is WSIFOperation.executeRequestResponseAsync() avail or not? What > > > versions support it? I got the lattest stable (downloaded around mid > > > December 04). > > > > > > Need you help ASAP! > > > > > > Thanks a lot in advance, > > > > > > Greg > > > > > > From [email protected] Fri Dec 31 00:43:31 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4162 invoked from network); 31 Dec 2004 00:43:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 31 Dec 2004 00:43:30 -0000 Received: (qmail 84337 invoked by uid 500); 31 Dec 2004 00:43:30 -0000 Delivered-To: [email protected] Received: (qmail 84137 invoked by uid 500); 31 Dec 2004 00:43:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 84126 invoked by uid 99); 31 Dec 2004 00:43:29 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from whale.cs.indiana.edu (HELO whale.cs.indiana.edu) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 30 Dec 2004 16:43:26 -0800 Received: from [161.129.204.104] (rainier.extreme.indiana.edu [161.129.204.104]) by whale.cs.indiana.edu (8.12.11/8.12.11/IUCS_2.63) with ESMTP id iBV0hK3R027130; Thu, 30 Dec 2004 19:43:21 -0500 (EST) Message-ID: <[email protected]> Date: Thu, 30 Dec 2004 19:43:18 -0500 From: Aleksander Slominski <[email protected]> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: Async invocation in WSIF and multiple Provider support in a single client References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Gregory Prokter wrote: >Much oblidged, Jeff. I was thinking to implement something like that, so if >it works this way great! >I'm still researching and would love to hear on the subject from Alek or Ant >or the other authors. I recall seeing suggestion like this (2 Queues: for >In and Out) in one of the 2001/2002 presentations by the IBM WSIF folks re. >async support in WSIF. > > i am thinking to implement a simple prototype of API for HTTP one-way invocations modeling request-response MEP: Future<ResultType> result = service.method(param1, param2) for example: Future<String> result = service.echoString("test") Future is a class in util.concurrent (now part of JDK5 but there is also backport to JDK 1.4 with some limitations <http://www.mathcs.emory.edu/dcl/util/backport-util-concurrent/>) and i think that this could be quite elegant solution to async results that would work with WS-Addressing enabled services (so message-id can be used for correlation) and would not require JMS. any thoughts? thanks, alek >I've got another question and would appreciate an answer: > >Can a single client use multiple Providers to multiple Services? For ex. A >client calls WSDL1 over SOAP/HTTP and WSDL2 over JMS and WSDL3 over Java. I >don't see why not, since the binding in in WSDL, but haven't run any >examples with this case and would like to hear howto's and any gotchas in >doing this. > >Best to all, > >Greg > >-----Original Message----- >From: Jeff Greif [mailto:[email protected]] >Sent: Wednesday, December 29, 2004 5:56 PM >To: [email protected] >Subject: Re: Async invocation in WSIF > > >I'm not sure JMS transport is required for the invoked web service endpoint. >I think there is a test example which uses the JMS queue as the destination >for the response, including persistence if the client happens to be shut >down when the response arrives, but uses a JMS <-> HTTP bridge to invoke the >"ordinary" web service endpoint synchronously. > >Jeff > >----- Original Message ----- >From: "Gregory Prokter" <[email protected]> >To: <[email protected]> >Sent: Wednesday, December 29, 2004 4:08 PM >Subject: RE: Async invocation in WSIF > > > > >>Jeff- >> >>The answer to your Q is YES. >> >>Ok, after studying the WSIF code, it appears that the transport indeed has >>to be JMS in order for WSIFPort_ApacheAxis.supportsAsync() which is called >>by WSIFOperation_ApacheAxis.executeRequestResponseAsync() to return TRUE. >>Otherwise, it return FALSE and >>WSIFOperation_ApacheAxis.executeRequestResponseAsync() throws >> >> >WSIFException > > >>("asynchronous operations not available"); as indeed happened in my case. >> >>This is very disappointing since not ever Web Service supports JMS, but >> >> >all > > >>support HTTP. >> >>-----Original Message----- >>From: Jeff Greif [mailto:[email protected]] >>Sent: Wednesday, December 29, 2004 12:40 PM >>To: [email protected] >>Subject: Re: Async invocation in WSIF >> >> >>Did you look at tests/async in the wsif tree? >>Jeff >>----- Original Message ----- >>From: "Gregory Prokter" <[email protected]> >>To: <[email protected]> >>Sent: Wednesday, December 29, 2004 11:54 AM >>Subject: RE: Async invocation in WSIF >> >> >> >> >>>Thanks Jeff. >>> >>>Using an asynch transport, like a JMS provider or SOAP Provider on top >>> >>> >of > > >>>JMS is a possible approach to async invocation, but IMO it's rather a >>> >>> >far > > >>>leass advantageous approach than having async invocation in the WSIF >>> >>> >>itself, >> >> >>>regardless of the synch trasport protocol, like HTTP you're running on >>> >>> >top > > >>>of. See an excellent ref on the subject: >>>http://www.voelter.de/data/articles/ijwr04.pdf. I thought and hoped >>> >>> >that > > >>>WSIF.executeRequestResponseAsync() is just that, an async invocation in >>>WSIF, and in my view if it doesn't work it will undermine considerably >>> >>> >the > > >>>value of WSIF. >>> >>>Greg >>> >>>-----Original Message----- >>>From: Jeff Greif [mailto:[email protected]] >>>Sent: Wednesday, December 29, 2004 11:33 AM >>>To: [email protected] >>>Subject: Re: Async invocation in WSIF >>> >>> >>>This answer is not definitive, but may be helpful nonetheless. I >>> >>> >believe, > > >>>but am not certain, that you need to have a JMS implementation backing >>>asynchronous calls in WSIF. This means you need to build Axis with a >>> >>> >JMS > > >>>implementation (such as OpenJMS) in the class path and similarly make >>> >>> >>that >> >> >>>implementation available in your classpath when WSIF is used. In >>> >>> >earlier > > >>>incarnations of WSIF, there was some documentation of what was >>> >>> >necessary, > > >>>but I have not looked recently to see if it's still there. >>> >>>Jeff >>>----- Original Message ----- >>>From: "Gregory Prokter" <[email protected]> >>>To: <[email protected]> >>>Cc: <[email protected]> >>>Sent: Wednesday, December 29, 2004 9:14 AM >>>Subject: Async invocation in WSIF >>> >>> >>> >>> >>>>Hello WSIF experts! >>>> >>>>Happy New 2005 Year to all! >>>> >>>>Recently, I discovered WSIF and it looks awesome! Have run some >>>> >>>> >>examples >> >> >>>>with it. Not everything works smoothly and I will have to dive into >>>> >>>> >the > > >>>>code myself, which I will do very reluctantly, since I'd rather >>>> >>>> >>>concentrate >>> >>> >>>>on my project rather than WSIF code, but this is the nature of the >>>> >>>> >open > > >>>>code. >>>> >>>>Now to my question. When I ran an example involving asynch >>>> >>>> >invocation, > > >>>i.e. >>> >>> >>>>ok = operation.executeRequestResponseAsync(input, responseHandler); >>>>/* there is a definition of: public class AsyncResponseHandler >>>> >>>> >>implements >> >> >>>>WSIFResponseHandler {} */ >>>> >>>>I got this cute Exception: >>>> >>>>org.apache.wsif.WSIFException: asynchronous operations not available >>>> [java] at >>>> >>>> >>>> >org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.executeRe > > >>>>questResponseAsync(Unknown Source) >>>> [java] at >>>> >>>> >>>> >com.edrient.manager.samples.wsif.DynamicInvoker.invokeMethod(DynamicInvoker. > > >>>>java:291) >>>> [java] at >>>> >>>> >>>> >com.edrient.manager.samples.wsif.DynamicInvoker.main(DynamicInvoker.java:105 > > >>>>) >>>> [java] Exception in thread "main" >>>> [java] Java Result: 1 >>>> >>>>So, is WSIFOperation.executeRequestResponseAsync() avail or not? What >>>>versions support it? I got the lattest stable (downloaded around mid >>>>December 04). >>>> >>>>Need you help ASAP! >>>> >>>>Thanks a lot in advance, >>>> >>>>Greg >>>> >>>> >>>> > > > -- The best way to predict the future is to invent it - Alan Kay From [email protected] Fri Dec 31 00:47:08 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5764 invoked from network); 31 Dec 2004 00:47:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 31 Dec 2004 00:47:07 -0000 Received: (qmail 86779 invoked by uid 500); 31 Dec 2004 00:47:07 -0000 Delivered-To: [email protected] Received: (qmail 86761 invoked by uid 500); 31 Dec 2004 00:47:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 86748 invoked by uid 99); 31 Dec 2004 00:47:06 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from whale.cs.indiana.edu (HELO whale.cs.indiana.edu) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 30 Dec 2004 16:47:03 -0800 Received: from [161.129.204.104] (rainier.extreme.indiana.edu [161.129.204.104]) by whale.cs.indiana.edu (8.12.11/8.12.11/IUCS_2.63) with ESMTP id iBV0kwgO027359; Thu, 30 Dec 2004 19:46:59 -0500 (EST) Message-ID: <[email protected]> Date: Thu, 30 Dec 2004 19:46:56 -0500 From: Aleksander Slominski <[email protected]> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: Async invocation in WSIF and multiple Provider support in a single client References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Gregory Prokter wrote: >I've got another question and would appreciate an answer: > >Can a single client use multiple Providers to multiple Services? For ex. A >client calls WSDL1 over SOAP/HTTP and WSDL2 over JMS and WSDL3 over Java. I >don't see why not, since the binding in in WSDL, but haven't run any >examples with this case and would like to hear howto's and any gotchas in >doing this. > > i think that should work as long as you use separate ports (stub/WsifPort) that correspond to different ports in WSDL/service/port. did you look on multibinding sample? http://cvs.apache.org/viewcvs/~checkout~/ws-wsif/java/samples/multibinding/README.html thanks, alek >-----Original Message----- >From: Jeff Greif [mailto:[email protected]] >Sent: Wednesday, December 29, 2004 5:56 PM >To: [email protected] >Subject: Re: Async invocation in WSIF > > >I'm not sure JMS transport is required for the invoked web service endpoint. >I think there is a test example which uses the JMS queue as the destination >for the response, including persistence if the client happens to be shut >down when the response arrives, but uses a JMS <-> HTTP bridge to invoke the >"ordinary" web service endpoint synchronously. > >Jeff > >----- Original Message ----- >From: "Gregory Prokter" <[email protected]> >To: <[email protected]> >Sent: Wednesday, December 29, 2004 4:08 PM >Subject: RE: Async invocation in WSIF > > > > >>Jeff- >> >>The answer to your Q is YES. >> >>Ok, after studying the WSIF code, it appears that the transport indeed has >>to be JMS in order for WSIFPort_ApacheAxis.supportsAsync() which is called >>by WSIFOperation_ApacheAxis.executeRequestResponseAsync() to return TRUE. >>Otherwise, it return FALSE and >>WSIFOperation_ApacheAxis.executeRequestResponseAsync() throws >> >> >WSIFException > > >>("asynchronous operations not available"); as indeed happened in my case. >> >>This is very disappointing since not ever Web Service supports JMS, but >> >> >all > > >>support HTTP. >> >>-----Original Message----- >>From: Jeff Greif [mailto:[email protected]] >>Sent: Wednesday, December 29, 2004 12:40 PM >>To: [email protected] >>Subject: Re: Async invocation in WSIF >> >> >>Did you look at tests/async in the wsif tree? >>Jeff >>----- Original Message ----- >>From: "Gregory Prokter" <[email protected]> >>To: <[email protected]> >>Sent: Wednesday, December 29, 2004 11:54 AM >>Subject: RE: Async invocation in WSIF >> >> >> >> >>>Thanks Jeff. >>> >>>Using an asynch transport, like a JMS provider or SOAP Provider on top >>> >>> >of > > >>>JMS is a possible approach to async invocation, but IMO it's rather a >>> >>> >far > > >>>leass advantageous approach than having async invocation in the WSIF >>> >>> >>itself, >> >> >>>regardless of the synch trasport protocol, like HTTP you're running on >>> >>> >top > > >>>of. See an excellent ref on the subject: >>>http://www.voelter.de/data/articles/ijwr04.pdf. I thought and hoped >>> >>> >that > > >>>WSIF.executeRequestResponseAsync() is just that, an async invocation in >>>WSIF, and in my view if it doesn't work it will undermine considerably >>> >>> >the > > >>>value of WSIF. >>> >>>Greg >>> >>>-----Original Message----- >>>From: Jeff Greif [mailto:[email protected]] >>>Sent: Wednesday, December 29, 2004 11:33 AM >>>To: [email protected] >>>Subject: Re: Async invocation in WSIF >>> >>> >>>This answer is not definitive, but may be helpful nonetheless. I >>> >>> >believe, > > >>>but am not certain, that you need to have a JMS implementation backing >>>asynchronous calls in WSIF. This means you need to build Axis with a >>> >>> >JMS > > >>>implementation (such as OpenJMS) in the class path and similarly make >>> >>> >>that >> >> >>>implementation available in your classpath when WSIF is used. In >>> >>> >earlier > > >>>incarnations of WSIF, there was some documentation of what was >>> >>> >necessary, > > >>>but I have not looked recently to see if it's still there. >>> >>>Jeff >>>----- Original Message ----- >>>From: "Gregory Prokter" <[email protected]> >>>To: <[email protected]> >>>Cc: <[email protected]> >>>Sent: Wednesday, December 29, 2004 9:14 AM >>>Subject: Async invocation in WSIF >>> >>> >>> >>> >>>>Hello WSIF experts! >>>> >>>>Happy New 2005 Year to all! >>>> >>>>Recently, I discovered WSIF and it looks awesome! Have run some >>>> >>>> >>examples >> >> >>>>with it. Not everything works smoothly and I will have to dive into >>>> >>>> >the > > >>>>code myself, which I will do very reluctantly, since I'd rather >>>> >>>> >>>concentrate >>> >>> >>>>on my project rather than WSIF code, but this is the nature of the >>>> >>>> >open > > >>>>code. >>>> >>>>Now to my question. When I ran an example involving asynch >>>> >>>> >invocation, > > >>>i.e. >>> >>> >>>>ok = operation.executeRequestResponseAsync(input, responseHandler); >>>>/* there is a definition of: public class AsyncResponseHandler >>>> >>>> >>implements >> >> >>>>WSIFResponseHandler {} */ >>>> >>>>I got this cute Exception: >>>> >>>>org.apache.wsif.WSIFException: asynchronous operations not available >>>> [java] at >>>> >>>> >>>> >org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.executeRe > > >>>>questResponseAsync(Unknown Source) >>>> [java] at >>>> >>>> >>>> >com.edrient.manager.samples.wsif.DynamicInvoker.invokeMethod(DynamicInvoker. > > >>>>java:291) >>>> [java] at >>>> >>>> >>>> >com.edrient.manager.samples.wsif.DynamicInvoker.main(DynamicInvoker.java:105 > > >>>>) >>>> [java] Exception in thread "main" >>>> [java] Java Result: 1 >>>> >>>>So, is WSIFOperation.executeRequestResponseAsync() avail or not? What >>>>versions support it? I got the lattest stable (downloaded around mid >>>>December 04). >>>> >>>>Need you help ASAP! >>>> >>>>Thanks a lot in advance, >>>> >>>>Greg >>>> >>>> >>>> > > > -- The best way to predict the future is to invent it - Alan Kay From [email protected] Fri Dec 31 01:30:02 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 24366 invoked from network); 31 Dec 2004 01:30:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 31 Dec 2004 01:30:02 -0000 Received: (qmail 36233 invoked by uid 500); 31 Dec 2004 01:30:02 -0000 Delivered-To: [email protected] Received: (qmail 36028 invoked by uid 500); 31 Dec 2004 01:30:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 36016 invoked by uid 99); 31 Dec 2004 01:30:01 -0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from sccrmhc11.comcast.net (HELO sccrmhc11.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 30 Dec 2004 17:29:58 -0800 Received: from TELAVIV (c-67-161-38-61.client.comcast.net[161.129.204.104]) by comcast.net (sccrmhc11) with SMTP id <2004123101295001100gcpp8e>; Fri, 31 Dec 2004 01:29:50 +0000 From: "Gregory Prokter" <[email protected]> To: <[email protected]> Subject: RE: Async invocation in WSIF and multiple Provider support in a single client Date: Thu, 30 Dec 2004 17:31:11 -0800 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Thanks a lot, Alek. I understand now. Greg -----Original Message----- From: Aleksander Slominski [mailto:[email protected]] Sent: Thursday, December 30, 2004 4:47 PM To: [email protected] Subject: Re: Async invocation in WSIF and multiple Provider support in a single client Gregory Prokter wrote: >I've got another question and would appreciate an answer: > >Can a single client use multiple Providers to multiple Services? For ex. A >client calls WSDL1 over SOAP/HTTP and WSDL2 over JMS and WSDL3 over Java. I >don't see why not, since the binding in in WSDL, but haven't run any >examples with this case and would like to hear howto's and any gotchas in >doing this. > > i think that should work as long as you use separate ports (stub/WsifPort) that correspond to different ports in WSDL/service/port. did you look on multibinding sample? http://cvs.apache.org/viewcvs/~checkout~/ws-wsif/java/samples/multibinding/R EADME.html thanks, alek >-----Original Message----- >From: Jeff Greif [mailto:[email protected]] >Sent: Wednesday, December 29, 2004 5:56 PM >To: [email protected] >Subject: Re: Async invocation in WSIF > > >I'm not sure JMS transport is required for the invoked web service endpoint. >I think there is a test example which uses the JMS queue as the destination >for the response, including persistence if the client happens to be shut >down when the response arrives, but uses a JMS <-> HTTP bridge to invoke the >"ordinary" web service endpoint synchronously. > >Jeff > >----- Original Message ----- >From: "Gregory Prokter" <[email protected]> >To: <[email protected]> >Sent: Wednesday, December 29, 2004 4:08 PM >Subject: RE: Async invocation in WSIF > > > > >>Jeff- >> >>The answer to your Q is YES. >> >>Ok, after studying the WSIF code, it appears that the transport indeed has >>to be JMS in order for WSIFPort_ApacheAxis.supportsAsync() which is called >>by WSIFOperation_ApacheAxis.executeRequestResponseAsync() to return TRUE. >>Otherwise, it return FALSE and >>WSIFOperation_ApacheAxis.executeRequestResponseAsync() throws >> >> >WSIFException > > >>("asynchronous operations not available"); as indeed happened in my case. >> >>This is very disappointing since not ever Web Service supports JMS, but >> >> >all > > >>support HTTP. >> >>-----Original Message----- >>From: Jeff Greif [mailto:[email protected]] >>Sent: Wednesday, December 29, 2004 12:40 PM >>To: [email protected] >>Subject: Re: Async invocation in WSIF >> >> >>Did you look at tests/async in the wsif tree? >>Jeff >>----- Original Message ----- >>From: "Gregory Prokter" <[email protected]> >>To: <[email protected]> >>Sent: Wednesday, December 29, 2004 11:54 AM >>Subject: RE: Async invocation in WSIF >> >> >> >> >>>Thanks Jeff. >>> >>>Using an asynch transport, like a JMS provider or SOAP Provider on top >>> >>> >of > > >>>JMS is a possible approach to async invocation, but IMO it's rather a >>> >>> >far > > >>>leass advantageous approach than having async invocation in the WSIF >>> >>> >>itself, >> >> >>>regardless of the synch trasport protocol, like HTTP you're running on >>> >>> >top > > >>>of. See an excellent ref on the subject: >>>http://www.voelter.de/data/articles/ijwr04.pdf. I thought and hoped >>> >>> >that > > >>>WSIF.executeRequestResponseAsync() is just that, an async invocation in >>>WSIF, and in my view if it doesn't work it will undermine considerably >>> >>> >the > > >>>value of WSIF. >>> >>>Greg >>> >>>-----Original Message----- >>>From: Jeff Greif [mailto:[email protected]] >>>Sent: Wednesday, December 29, 2004 11:33 AM >>>To: [email protected] >>>Subject: Re: Async invocation in WSIF >>> >>> >>>This answer is not definitive, but may be helpful nonetheless. I >>> >>> >believe, > > >>>but am not certain, that you need to have a JMS implementation backing >>>asynchronous calls in WSIF. This means you need to build Axis with a >>> >>> >JMS > > >>>implementation (such as OpenJMS) in the class path and similarly make >>> >>> >>that >> >> >>>implementation available in your classpath when WSIF is used. In >>> >>> >earlier > > >>>incarnations of WSIF, there was some documentation of what was >>> >>> >necessary, > > >>>but I have not looked recently to see if it's still there. >>> >>>Jeff >>>----- Original Message ----- >>>From: "Gregory Prokter" <[email protected]> >>>To: <[email protected]> >>>Cc: <[email protected]> >>>Sent: Wednesday, December 29, 2004 9:14 AM >>>Subject: Async invocation in WSIF >>> >>> >>> >>> >>>>Hello WSIF experts! >>>> >>>>Happy New 2005 Year to all! >>>> >>>>Recently, I discovered WSIF and it looks awesome! Have run some >>>> >>>> >>examples >> >> >>>>with it. Not everything works smoothly and I will have to dive into >>>> >>>> >the > > >>>>code myself, which I will do very reluctantly, since I'd rather >>>> >>>> >>>concentrate >>> >>> >>>>on my project rather than WSIF code, but this is the nature of the >>>> >>>> >open > > >>>>code. >>>> >>>>Now to my question. When I ran an example involving asynch >>>> >>>> >invocation, > > >>>i.e. >>> >>> >>>>ok = operation.executeRequestResponseAsync(input, responseHandler); >>>>/* there is a definition of: public class AsyncResponseHandler >>>> >>>> >>implements >> >> >>>>WSIFResponseHandler {} */ >>>> >>>>I got this cute Exception: >>>> >>>>org.apache.wsif.WSIFException: asynchronous operations not available >>>> [java] at >>>> >>>> >>>> >org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.executeR e > > >>>>questResponseAsync(Unknown Source) >>>> [java] at >>>> >>>> >>>> >com.edrient.manager.samples.wsif.DynamicInvoker.invokeMethod(DynamicInvoker . > > >>>>java:291) >>>> [java] at >>>> >>>> >>>> >com.edrient.manager.samples.wsif.DynamicInvoker.main(DynamicInvoker.java:10 5 > > >>>>) >>>> [java] Exception in thread "main" >>>> [java] Java Result: 1 >>>> >>>>So, is WSIFOperation.executeRequestResponseAsync() avail or not? What >>>>versions support it? I got the lattest stable (downloaded around mid >>>>December 04). >>>> >>>>Need you help ASAP! >>>> >>>>Thanks a lot in advance, >>>> >>>>Greg >>>> >>>> >>>> > > > -- The best way to predict the future is to invent it - Alan Kay From [email protected] Sat Jan 01 00:26:29 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21172 invoked from network); 1 Jan 2005 00:26:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 1 Jan 2005 00:26:29 -0000 Received: (qmail 37272 invoked by uid 500); 1 Jan 2005 00:26:28 -0000 Delivered-To: [email protected] Received: (qmail 37249 invoked by uid 500); 1 Jan 2005 00:26:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 37233 invoked by uid 99); 1 Jan 2005 00:26:28 -0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from sccrmhc11.comcast.net (HELO sccrmhc11.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 31 Dec 2004 16:26:25 -0800 Received: from TELAVIV (c-67-161-38-61.client.comcast.net[161.129.204.104]) by comcast.net (sccrmhc11) with SMTP id <2005010100262301100g3e48e>; Sat, 1 Jan 2005 00:26:23 +0000 From: "Gregory Prokter" <[email protected]> To: <[email protected]> Subject: Exception in WSIFOperation_ApacheAxis.setResponseContext() Date: Fri, 31 Dec 2004 16:27:46 -0800 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Greetings to all, I need help. I've got the Exception below while doing executeRequestResponseOperation with Provider=ApacheAxis. I'm running a Requestor very similar to the samples/DynamicInvoker. The Requestor successfully received the WSDL (GET) and successfully sent in the operation request (POST). Then, the operation was successfully executed and the SOAP message with the right return value sent back to the Requestor - yes, I've been watching TCPMON. However, because of the exception below, the Requestor code couldn't pass the executeRequestResponseOperation(). Then, I rebuilt the wsif.jar with the lattest sources of wsif-2.0, thinking that the java.lang.NoSuchMethodError Exception indicates I must've gotten something out of synch, rebuilt my example with the new wsif.jar and ran the Requestor again, but the same Exception was trown again. I wonder why. Anyone has a clue? Thanks in advance for your help. Greg Exception: ========== [java] java.lang.NoSuchMethodError: org.apache.axis.Message.getSOAPEnvelope()Lorg/apache/axis/message/SOAPEnvelo pe; [java] at org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.setRespon seContext(Unknown Source) [java] at org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.invokeReq uestResponseOperation(Unknown Source) [java] at org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.executeRe questResponseOperation(Unknown Source) [java] at com.edrient.manager.samples.wsif.DynamicInvoker.invokeMethod(DynamicInvoker. java:295) [java] at com.edrient.manager.samples.wsif.DynamicInvoker.main(DynamicInvoker.java:107 ) [java] Exception in thread "main" From [email protected] Sat Jan 01 01:35:46 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49079 invoked from network); 1 Jan 2005 01:35:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 1 Jan 2005 01:35:46 -0000 Received: (qmail 14303 invoked by uid 500); 1 Jan 2005 01:35:45 -0000 Delivered-To: [email protected] Received: (qmail 14098 invoked by uid 500); 1 Jan 2005 01:35:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 14087 invoked by uid 99); 1 Jan 2005 01:35:44 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from whale.cs.indiana.edu (HELO whale.cs.indiana.edu) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 31 Dec 2004 17:35:41 -0800 Received: from [161.129.204.104] (rainier.extreme.indiana.edu [161.129.204.104]) by whale.cs.indiana.edu (8.12.11/8.12.11/IUCS_2.63) with ESMTP id j011ZZLu024216; Fri, 31 Dec 2004 20:35:37 -0500 (EST) Message-ID: <[email protected]> Date: Fri, 31 Dec 2004 20:35:33 -0500 From: Aleksander Slominski <[email protected]> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: Exception in WSIFOperation_ApacheAxis.setResponseContext() References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N i would check that you have right version of saaj.jar that works with axis.jar. HTH, alek Gregory Prokter wrote: >Greetings to all, > >I need help. I've got the Exception below while doing >executeRequestResponseOperation with Provider=ApacheAxis. I'm running a >Requestor very similar to the samples/DynamicInvoker. The Requestor >successfully received the WSDL (GET) and successfully sent in the operation >request (POST). Then, the operation was successfully executed and the SOAP >message with the right return value sent back to the Requestor - yes, I've >been watching TCPMON. However, because of the exception below, the >Requestor code couldn't pass the executeRequestResponseOperation(). Then, I >rebuilt the wsif.jar with the lattest sources of wsif-2.0, thinking that the >java.lang.NoSuchMethodError Exception indicates I must've gotten something >out of synch, rebuilt my example with the new wsif.jar and ran the Requestor >again, but the same Exception was trown again. I wonder why. Anyone has a >clue? > >Thanks in advance for your help. > >Greg > >Exception: >========== > [java] java.lang.NoSuchMethodError: >org.apache.axis.Message.getSOAPEnvelope()Lorg/apache/axis/message/SOAPEnvelo >pe; > [java] at >org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.setRespon >seContext(Unknown Source) > [java] at >org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.invokeReq >uestResponseOperation(Unknown Source) > [java] at >org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.executeRe >questResponseOperation(Unknown Source) > [java] at >com.edrient.manager.samples.wsif.DynamicInvoker.invokeMethod(DynamicInvoker. >java:295) > [java] at >com.edrient.manager.samples.wsif.DynamicInvoker.main(DynamicInvoker.java:107 >) > [java] Exception in thread "main" > > > -- The best way to predict the future is to invent it - Alan Kay From [email protected] Sat Jan 01 06:52:15 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94116 invoked from network); 1 Jan 2005 06:52:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 1 Jan 2005 06:52:15 -0000 Received: (qmail 48497 invoked by uid 500); 1 Jan 2005 06:52:15 -0000 Delivered-To: [email protected] Received: (qmail 48296 invoked by uid 500); 1 Jan 2005 06:52:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 48279 invoked by uid 99); 1 Jan 2005 06:52:14 -0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from sccrmhc13.comcast.net (HELO sccrmhc13.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 31 Dec 2004 22:52:11 -0800 Received: from TELAVIV (c-67-161-38-61.client.comcast.net[161.129.204.104]) by comcast.net (sccrmhc13) with SMTP id <2005010106520701600ppgv4e>; Sat, 1 Jan 2005 06:52:07 +0000 From: "Gregory Prokter" <[email protected]> To: <[email protected]> Subject: RE: Exception in WSIFOperation_ApacheAxis.setResponseContext() Date: Fri, 31 Dec 2004 22:53:30 -0800 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Thanks Alek. I've rerun CVS-checkout to get the lattest wsif-2.0.1_IB3 which in its /lib dir has both: axis-1_2RC2.jar and saaj.jar. I assume these are compatible since they both came from the same wsif version in apache cvs. So far no luck. The same Exception is thrown. -----Original Message----- From: Aleksander Slominski [mailto:[email protected]] Sent: Friday, December 31, 2004 5:36 PM To: [email protected] Subject: Re: Exception in WSIFOperation_ApacheAxis.setResponseContext() i would check that you have right version of saaj.jar that works with axis.jar. HTH, alek Gregory Prokter wrote: >Greetings to all, > >I need help. I've got the Exception below while doing >executeRequestResponseOperation with Provider=ApacheAxis. I'm running a >Requestor very similar to the samples/DynamicInvoker. The Requestor >successfully received the WSDL (GET) and successfully sent in the operation >request (POST). Then, the operation was successfully executed and the SOAP >message with the right return value sent back to the Requestor - yes, I've >been watching TCPMON. However, because of the exception below, the >Requestor code couldn't pass the executeRequestResponseOperation(). Then, I >rebuilt the wsif.jar with the lattest sources of wsif-2.0, thinking that the >java.lang.NoSuchMethodError Exception indicates I must've gotten something >out of synch, rebuilt my example with the new wsif.jar and ran the Requestor >again, but the same Exception was trown again. I wonder why. Anyone has a >clue? > >Thanks in advance for your help. > >Greg > >Exception: >========== > [java] java.lang.NoSuchMethodError: >org.apache.axis.Message.getSOAPEnvelope()Lorg/apache/axis/message/SOAPEnvel o >pe; > [java] at >org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.setRespo n >seContext(Unknown Source) > [java] at >org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.invokeRe q >uestResponseOperation(Unknown Source) > [java] at >org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.executeR e >questResponseOperation(Unknown Source) > [java] at >com.edrient.manager.samples.wsif.DynamicInvoker.invokeMethod(DynamicInvoker . >java:295) > [java] at >com.edrient.manager.samples.wsif.DynamicInvoker.main(DynamicInvoker.java:10 7 >) > [java] Exception in thread "main" > > > -- The best way to predict the future is to invent it - Alan Kay
From [email protected] Wed Sep 05 12:22:30 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15338 invoked from network); 5 Sep 2007 12:22:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Sep 2007 12:22:28 -0000 Received: (qmail 86287 invoked by uid 500); 5 Sep 2007 12:22:22 -0000 Delivered-To: [email protected] Received: (qmail 86267 invoked by uid 500); 5 Sep 2007 12:22:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <scm-dev.maven.apache.org> Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 52424 invoked by uid 99); 5 Sep 2007 12:00:57 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=btinternet.com; h=Received:X-YMail-OSG:Mime-Version:Content-Transfer-Encoding:Message-Id:Content-Type:To:From:Subject:Date:X-Mailer; b=M9eQgrtyMoSCF87tIjKntvAIaJfs2fAyPG+6v1We2DV6QIkM5/tYQS6yC56Eh8koxJF07IL9OXzkFoFBs3ZPmX5MCIf6neEQ3G6EuYaUFVpXo7FxxrQwvV9UnukFiLXShZns+bUdZgUU/+ERpk89sOT3GDd/ec5gyg9OZnK2kQ0= ; X-YMail-OSG: m1.1WDYVM1kadOzo153MgE1bS3pCMjJVJpdpgbhR0sNRv06JvVPDe49QleIv4lVi7S8wFOLUuQ-- Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed To: [email protected] From: Allan Lang <[email protected]> Subject: Query on enhancements to SCM VSS provider Date: Wed, 5 Sep 2007 13:00:27 +0100 X-Mailer: Apple Mail (2.752.2) X-Virus-Checked: Checked by ClamAV on apache.org Hi I've recently started working with the VSS SCM provider and have found a number of issues. I'm currently working through these and submitting patches via JIRA, however I'm not sure that this project is currently active. Could anyone tell me if enhancements are still being incorporated for SCM and VSS specifically? I think getting the VSS provider working properly make help with adoption of Maven / Continuum into the enterprise (which is certainly what I'm trying to do). Thanks, Allan From [email protected] Wed Sep 05 12:39:18 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18531 invoked from network); 5 Sep 2007 12:39:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Sep 2007 12:39:17 -0000 Received: (qmail 18097 invoked by uid 500); 5 Sep 2007 12:39:12 -0000 Delivered-To: [email protected] Received: (qmail 18010 invoked by uid 500); 5 Sep 2007 12:39:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <scm-dev.maven.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 17999 invoked by uid 99); 5 Sep 2007 12:39:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Sep 2007 05:39:11 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO webmail9.amenworld.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 05 Sep 2007 12:39:07 +0000 Received: (qmail 573 invoked from network); 5 Sep 2007 12:38:50 -0000 Received: from chb28-2-88-163-39-128.fbx.proxad.net (HELO ?161.129.204.104?) (161.129.204.104) by 0 with SMTP; 5 Sep 2007 12:38:50 -0000 Message-ID: <[email protected]> Date: Wed, 05 Sep 2007 14:38:32 +0200 From: Emmanuel Venisse <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20070728) MIME-Version: 1.0 To: [email protected] Subject: Re: Query on enhancements to SCM VSS provider References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Yes, this project is always active but we don't have lot of modification on it because providers seems to work correctly for users in the majority of case. I'll look at your patches. Emmanuel Allan Lang a écrit : > Hi > > I've recently started working with the VSS SCM provider and have > found a number of issues. I'm currently working through these and > submitting patches via JIRA, however I'm not sure that this project > is currently active. Could anyone tell me if enhancements are still > being incorporated for SCM and VSS specifically? > > I think getting the VSS provider working properly make help with > adoption of Maven / Continuum into the enterprise (which is certainly > what I'm trying to do). > > Thanks, > Allan > > > From [email protected] Thu Sep 06 07:12:55 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94477 invoked from network); 6 Sep 2007 07:12:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Sep 2007 07:12:54 -0000 Received: (qmail 59347 invoked by uid 500); 6 Sep 2007 07:12:48 -0000 Delivered-To: [email protected] Received: (qmail 59336 invoked by uid 500); 6 Sep 2007 07:12:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <scm-dev.maven.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 59325 invoked by uid 99); 6 Sep 2007 07:12:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2007 00:12:48 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wa-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2007 07:12:45 +0000 Received: by wa-out-1112.google.com with SMTP id v33so94272wah for <[email protected]>; Thu, 06 Sep 2007 00:12:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=cTgxgO65GgCnzTaKiq6oxpb49o68Bmo7ywNVU7gobk8=; b=qWkyZdkytt/TFVtTGFFfy4BETdLimLk9q9dAv50l61GYsMlUrZXvFjy0Rfp/OS0uW/BhailZ4zUs69VvbQ6+pUJufA5m3vyfJWmIrK4KKdH/AsY7LBdNNQ5hCMnTD8c8ftDqWSxRUsE9++p3X7e0dSdCe9hfqQSYPbx5dztNBuA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=Hg5dC9oAhe44zqWH/B+O8U95rB6hAy3GqmW+w46vRsWJYZJ7KJUqZoKBBXA0ZfDVSUMPmqGVpC0ZhFzazcEsgr7/V/xhHw+3rLXbN2e5w67Z3WfBonrtjbO8LrvdXYkec7WpuOBQ4wOtlVUK/NoFA8hM1Pjqze6LIdmWG246h7Y= Received: by 161.129.204.104 with SMTP id l1mr46388wak.1189062744170; Thu, 06 Sep 2007 00:12:24 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 6 Sep 2007 00:12:24 -0700 (PDT) Message-ID: <[email protected]> Date: Thu, 6 Sep 2007 09:12:24 +0200 From: "Gilles Scokart" <[email protected]> To: [email protected] Subject: What if multiple scm commands ? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_38184_23479997.1189062744147" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_38184_23479997.1189062744147 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I'm currently trying to write a provider for Dimensions. Whit this tool, a checkout operation will result in multiple commands sent to the scm client (one per file). How should I place the result in the CheckOutResult? I thought to place only the commands & provider messages for the commands that have fail. But if there is more than one failing, I will have to concate all commands and all messages into one string. Is it the right thing to do? I'm not sure of how this info is used. Thanks, -- Gilles SCOKART ------=_Part_38184_23479997.1189062744147 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I&#39;m currently trying to write a provider for Dimensions.&nbsp; Whit this tool, a checkout operation will result in multiple commands sent to the scm client (one per file).<br><br>How should I place the result in the CheckOutResult? <br><br>I thought to place only the commands &amp; provider messages for the commands that have fail.&nbsp; But if there is more than one failing, I will have to concate all commands and all messages into one string.<br><br>Is it the right thing to do?&nbsp; I&#39;m not sure of how this info is used. <br><br>Thanks,<br><br>-- <br>Gilles SCOKART ------=_Part_38184_23479997.1189062744147-- From [email protected] Thu Sep 06 07:29:36 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4843 invoked from network); 6 Sep 2007 07:29:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Sep 2007 07:29:35 -0000 Received: (qmail 89556 invoked by uid 500); 6 Sep 2007 07:29:29 -0000 Delivered-To: [email protected] Received: (qmail 89536 invoked by uid 500); 6 Sep 2007 07:29:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <scm-dev.maven.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 89525 invoked by uid 99); 6 Sep 2007 07:29:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2007 00:29:29 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO webmail9.amenworld.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 06 Sep 2007 07:29:25 +0000 Received: (qmail 32501 invoked from network); 6 Sep 2007 07:29:04 -0000 Received: from chb28-2-88-163-39-128.fbx.proxad.net (HELO ?161.129.204.104?) (161.129.204.104) by 0 with SMTP; 6 Sep 2007 07:29:04 -0000 Message-ID: <[email protected]> Date: Thu, 06 Sep 2007 09:28:49 +0200 From: Emmanuel Venisse <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20070728) MIME-Version: 1.0 To: [email protected] Subject: Re: What if multiple scm commands ? References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org yes, I think it will good to concate all, so users will knwo all commands that ran and will get all output Emmanuel Gilles Scokart a écrit : > I'm currently trying to write a provider for Dimensions. Whit this > tool, a checkout operation will result in multiple commands sent to the > scm client (one per file). > > How should I place the result in the CheckOutResult? > > I thought to place only the commands & provider messages for the > commands that have fail. But if there is more than one failing, I will > have to concate all commands and all messages into one string. > > Is it the right thing to do? I'm not sure of how this info is used. > > Thanks, > > -- > Gilles SCOKART From [email protected] Tue Sep 11 19:54:58 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6244 invoked from network); 11 Sep 2007 19:54:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Sep 2007 19:54:57 -0000 Received: (qmail 4389 invoked by uid 500); 11 Sep 2007 19:54:50 -0000 Delivered-To: [email protected] Received: (qmail 4368 invoked by uid 500); 11 Sep 2007 19:54:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <scm-dev.maven.apache.org> Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 94205 invoked by uid 99); 11 Sep 2007 19:51:12 -0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C7F4AC.F53583DE" Subject: Maven scm plugin unable to load maven scm local provider Date: Tue, 11 Sep 2007 15:50:08 -0400 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Maven scm plugin unable to load maven scm local provider Thread-Index: Acf0rPVVwJ9h7RZITdCucn3Jh5rpCA== From: "Terala, Satish \(IS Consultant\)" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------_=_NextPart_001_01C7F4AC.F53583DE Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi=20 I use accurev as my version control system. Since there is no scm plugin for accurev, I am planning to use ' local ' as my scm to do a prepare and perform a release. I just noticed that the maven scm providers does not even download the maven-scm-local provider even though the local provider has been defined as module in the <modules> tag of the providers pom. In my pom file I specify the scm plugin as=20 <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-scm-plugin</artifactId> <version>1.0-SNAPSHOT</version> <configuration> =09 <connectionType>connection</connectionType> </configuration> </plugin> And then=20 <scm> <connection>scm:local|C:/rds_workspace|rds</connection> =09 <developerConnection>scm:local|C:/rds_workspace|rds</developerConnection > </scm> Here is the out put when I run mvn -X release:prepare. Basically all the scm providers are loaded at runtime except for local and hence at the point of running the prepare I get the error=20 org.apache.maven.BuildFailureException: The provider given in the SCM URL could not be found: No such provider: 'local'. I have checked up the poms in my local repository for maven-scm-providers, and did a comparision between poms for the local provider and other providers that are actually getting loaded, I don't see any glaring differences that might be a cause of the issue. I wonder if I am missing something or is there any other config setting that needs to be done ? Thanks -Satish e) [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - near er found: 1.1) [DEBUG] Retrieving parent-POM: org.apache.maven.scm:maven-scmacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.0 for project: null:maven-scm-api:jar:1.0 from the repository. [DEBUG] org.apache.maven.scm:maven-scm-api:jar:1.0:runtime (selected for run time) [DEBUG] Retrieving parent-POM: org.apache.maven.scm:maven-scm-managersacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.0 for project: null:maven-scm-manager-plexus:jar:1.0 from the repository. [DEBUG] org.apache.maven.scm:maven-scm-manager-plexus:jar:1.0:runtime (selec ted for runtime) [DEBUG] Retrieving parent-POM: org.apache.maven.scm:maven-scm-providersacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.0 for project: null:maven-scm-provider-bazaar:jar:1.0 from the repository. [DEBUG] org.apache.maven.scm:maven-scm-provider-bazaar:jar:1.0:runtime (sele cted for runtime) [DEBUG] regexp:regexp:jar:1.3:runtime (selected for runtime) [DEBUG] org.apache.maven.scm:maven-scm-provider-clearcase:jar:1.0:runtime (s elected for runtime) [DEBUG] Retrieving parent-POM: org.apache.maven.scm:maven-scm-providers-cvsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.0 for project: null:maven-scm-provider-cvsexe:jar:1.0 from the repository. [DEBUG] org.apache.maven.scm:maven-scm-provider-cvsexe:jar:1.0:runtime (sele cted for runtime) [DEBUG] org.apache.maven.scm:maven-scm-provider-cvs-commons:jar:1.0:runtim e (selected for runtime) [DEBUG] org.apache.maven.scm:maven-scm-provider-cvsjava:jar:1.0:runtime (sel ected for runtime) [DEBUG] org.netbeans.lib:cvsclient:jar:20060125:runtime (selected for runt ime) [DEBUG] ch.ethz.ganymed:ganymed-ssh2:jar:build210:runtime (selected for ru ntime) [DEBUG] org.apache.maven.scm:maven-scm-provider-hg:jar:1.0:runtime (selected for runtime) [DEBUG] org.apache.maven.scm:maven-scm-provider-perforce:jar:1.0:runtime (se lected for runtime) [DEBUG] org.apache.maven.scm:maven-scm-provider-starteam:jar:1.0:runtime (se lected for runtime) [DEBUG] Retrieving parent-POM: org.apache.maven.scm:maven-scm-providers-svnacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.0 for project: null:maven-scm-provider-svnexe:jar:1.0 from the repository. [DEBUG] org.apache.maven.scm:maven-scm-provider-svnexe:jar:1.0:runtime (sele cted for runtime) [DEBUG] org.apache.maven.scm:maven-scm-provider-svn-commons:jar:1.0:runtim e (selected for runtime) [DEBUG] org.apache.maven.scm:maven-scm-provider-synergy:jar:1.0:runtime (sel ected for runtime) [DEBUG] jdom:jdom:jar:1.0:runtime (selected for runtime) [DEBUG] jaxen:jaxen:jar:1.1-beta-8:runtime (selected for runtime) [DEBUG] jaxen:jaxen:jar:1.0-FCS:runtime (removed - causes a cycle in the g raph) [DEBUG] Adding managed dependencies for org.apache.maven:maven-plugin-api [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8 [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 [DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5 [DEBUG] org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5 [DEBUG] org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5 [DEBUG] org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5 [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0:runtime (selected for runtim e) [DEBUG] maven-release-manager: resolved to version 1.0-alpha-4-20070908.230151-5 from repository snapshots. ------_=_NextPart_001_01C7F4AC.F53583DE Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 6.5.7652.14"> <TITLE>Maven scm plugin unable to load maven scm local provider</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">Hi</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN = LANG=3D"en-us"> </SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">I use = accurev as my version control system. Since there is no scm plugin for = accurev,</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"> = <FONT SIZE=3D2 FACE=3D"Arial">I</FONT></SPAN><SPAN = LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial"></FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN = LANG=3D"en-us"> <FONT SIZE=3D2 FACE=3D"Arial">am planning to = use</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"> <FONT = SIZE=3D2 FACE=3D"Arial">&#8216;</FONT></SPAN><SPAN = LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial"> local</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN = LANG=3D"en-us"> <FONT SIZE=3D2 FACE=3D"Arial">&#8216;</FONT></SPAN><SPAN = LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial"> as my scm to do a prepare and perform a release. I just = noticed that the maven scm providers does not even download the = maven-scm-local provider even though the local provider has been defined = as module in the</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN = LANG=3D"en-us"> <FONT SIZE=3D2 FACE=3D"Arial">&lt;</FONT></SPAN><SPAN = LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">modules</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN = LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">&gt; tag of the providers = pom.</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">In my = pom file I specify the scm plugin as </FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN = LANG=3D"en-us">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 = FACE=3D"Arial">&lt;plugin&gt;</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN = LANG=3D"en-us"> &nbsp;</SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN = LANG=3D"en-us">&nbsp;<FONT SIZE=3D2 FACE=3D"Arial"> = &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;</FONT></SPAN></P>= <P ALIGN=3DLEFT><SPAN = LANG=3D"en-us">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN = LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"> <FONT SIZE=3D2 = FACE=3D"Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;artifactId&gt;maven-scm-plugin&lt;/artifactId&gt;</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN = LANG=3D"en-us">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 = FACE=3D"Arial">&nbsp;&nbsp; = &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN = LANG=3D"en-us"> &nbsp;</SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN = LANG=3D"en-us">&nbsp;<FONT SIZE=3D2 FACE=3D"Arial"> = &lt;configuration&gt;</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN = LANG=3D"en-us">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN = LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"> <FONT SIZE=3D2 = FACE=3D"Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;connectionType&gt;connection&lt;/connectionType&gt;</FONT></SPAN></P>= <P ALIGN=3DLEFT><SPAN = LANG=3D"en-us">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN = LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"> <FONT SIZE=3D2 = FACE=3D"Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/configuration&gt;</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p; &lt;/plugin&gt;</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN = LANG=3D"en-us"></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">And = then </FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN = LANG=3D"en-us">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 = FACE=3D"Arial">&lt;scm&gt;</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN = LANG=3D"en-us">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 = FACE=3D"Arial">&lt;connection&gt;scm:local|C:/rds_workspace|rds&lt;/conne= ction&gt;</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN = LANG=3D"en-us">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 = FACE=3D"Arial">&lt;developerConnection&gt;scm:local|C:/rds_workspace|rds&= lt;/developerConnection&gt;</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN = LANG=3D"en-us">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 = FACE=3D"Arial">&lt;/scm&gt;</FONT></SPAN><SPAN = LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">Here = is the out put when</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN = LANG=3D"en-us"> <FONT SIZE=3D2 FACE=3D"Arial">I</FONT></SPAN><SPAN = LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial"> run mvn</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN = LANG=3D"en-us"> <FONT SIZE=3D2 FACE=3D"Arial">&#8211;</FONT></SPAN><SPAN = LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">X release:prepare. Basically all the scm providers are = loaded at runtime except for local and hence at the point of running the = prepare</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"> = <FONT SIZE=3D2 FACE=3D"Arial">I</FONT></SPAN><SPAN = LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial"> get the error</FONT></SPAN><SPAN = LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"> </SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><B><FONT SIZE=3D2 = FACE=3D"Arial">org.apache.maven.BuildFailureException: The provider = given in the SCM URL could</FONT></B></SPAN><SPAN = LANG=3D"en-us"><B></B></SPAN><SPAN LANG=3D"en-us"><B><FONT SIZE=3D2 = FACE=3D"Arial"></FONT></B></SPAN><SPAN = LANG=3D"en-us"><B></B></SPAN><SPAN LANG=3D"en-us"><B> <FONT SIZE=3D2 = FACE=3D"Arial">not be found: No such provider: = 'local'.</FONT></B></SPAN><SPAN LANG=3D"en-us"><B></B></SPAN><SPAN = LANG=3D"en-us"><B></B></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">I = have checked up the poms in my local repository for maven-scm-providers, = and did a comparision between poms for the local provider and other = providers that are actually getting</FONT></SPAN><SPAN = LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"> <FONT SIZE=3D2 = FACE=3D"Arial">loaded</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN = LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">,</FONT></SPAN><SPAN = LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"> <FONT SIZE=3D2 = FACE=3D"Arial">I</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN = LANG=3D"en-us"> <FONT SIZE=3D2 = FACE=3D"Arial">don&#8217;t</FONT></SPAN><SPAN = LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial"> see any glaring differences that might be a cause of the = issue. I wonder if</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN = LANG=3D"en-us"> <FONT SIZE=3D2 FACE=3D"Arial">I</FONT></SPAN><SPAN = LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial"> am missing something or is there any other config = setting that needs to be done ?</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">Thanks</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">-Satish</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN = LANG=3D"en-us"></SPAN></P> <BR> <BR> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">e)</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">[DEBUG]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed - = near</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">er = found: 1.1)</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">[DEBUG] Retrieving parent-POM: = org.apache.maven.scm:maven-scmacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.0 for project:</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">null:maven-scm-api:jar:1.0 from the = repository.</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">[DEBUG]&nbsp;&nbsp;&nbsp;&nbsp; = org.apache.maven.scm:maven-scm-api:jar:1.0:runtime (selected for = run</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">time)</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">[DEBUG] Retrieving parent-POM: = org.apache.maven.scm:maven-scm-managersacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.0 for</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">project: null:maven-scm-manager-plexus:jar:1.0 from the = repository.</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">[DEBUG]&nbsp;&nbsp;&nbsp;&nbsp; = org.apache.maven.scm:maven-scm-manager-plexus:jar:1.0:runtime = (selec</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">ted = for runtime)</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">[DEBUG] Retrieving parent-POM: = org.apache.maven.scm:maven-scm-providersacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.0 for</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">&nbsp;project: null:maven-scm-provider-bazaar:jar:1.0 = from the repository.</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">[DEBUG]&nbsp;&nbsp;&nbsp;&nbsp; = org.apache.maven.scm:maven-scm-provider-bazaar:jar:1.0:runtime = (sele</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">cted = for runtime)</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">[DEBUG]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = regexp:regexp:jar:1.3:runtime (selected for runtime)</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">[DEBUG]&nbsp;&nbsp;&nbsp;&nbsp; = org.apache.maven.scm:maven-scm-provider-clearcase:jar:1.0:runtime = (s</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">elected for runtime)</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">[DEBUG] Retrieving parent-POM: = org.apache.maven.scm:maven-scm-providers-cvsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.0</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">&nbsp;for project: null:maven-scm-provider-cvsexe:jar:1.0 = from the repository.</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">[DEBUG]&nbsp;&nbsp;&nbsp;&nbsp; = org.apache.maven.scm:maven-scm-provider-cvsexe:jar:1.0:runtime = (sele</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">cted = for runtime)</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">[DEBUG]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = org.apache.maven.scm:maven-scm-provider-cvs-commons:jar:1.0:runtim</FONT>= </SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">e = (selected for runtime)</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">[DEBUG]&nbsp;&nbsp;&nbsp;&nbsp; = org.apache.maven.scm:maven-scm-provider-cvsjava:jar:1.0:runtime = (sel</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">ected = for runtime)</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">[DEBUG]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = org.netbeans.lib:cvsclient:jar:20060125:runtime (selected for = runt</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">ime)</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">[DEBUG]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = ch.ethz.ganymed:ganymed-ssh2:jar:build210:runtime (selected for = ru</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">ntime)</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">[DEBUG]&nbsp;&nbsp;&nbsp;&nbsp; = org.apache.maven.scm:maven-scm-provider-hg:jar:1.0:runtime = (selected</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">&nbsp;for runtime)</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">[DEBUG]&nbsp;&nbsp;&nbsp;&nbsp; = org.apache.maven.scm:maven-scm-provider-perforce:jar:1.0:runtime = (se</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">lected for runtime)</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">[DEBUG]&nbsp;&nbsp;&nbsp;&nbsp; = org.apache.maven.scm:maven-scm-provider-starteam:jar:1.0:runtime = (se</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">lected for runtime)</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">[DEBUG] Retrieving parent-POM: = org.apache.maven.scm:maven-scm-providers-svnacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.0</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">&nbsp;for project: null:maven-scm-provider-svnexe:jar:1.0 = from the repository.</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">[DEBUG]&nbsp;&nbsp;&nbsp;&nbsp; = org.apache.maven.scm:maven-scm-provider-svnexe:jar:1.0:runtime = (sele</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">cted = for runtime)</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">[DEBUG]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = org.apache.maven.scm:maven-scm-provider-svn-commons:jar:1.0:runtim</FONT>= </SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">e = (selected for runtime)</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">[DEBUG]&nbsp;&nbsp;&nbsp;&nbsp; = org.apache.maven.scm:maven-scm-provider-synergy:jar:1.0:runtime = (sel</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 FACE=3D"Arial">ected = for runtime)</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">[DEBUG]&nbsp;&nbsp;&nbsp;&nbsp; jdom:jdom:jar:1.0:runtime = (selected for runtime)</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">[DEBUG]&nbsp;&nbsp;&nbsp;&nbsp; = jaxen:jaxen:jar:1.1-beta-8:runtime (selected for = runtime)</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">[DEBUG]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = jaxen:jaxen:jar:1.0-FCS:runtime (removed - causes a cycle in the = g</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">raph)</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">[DEBUG] Adding managed dependencies for = org.apache.maven:maven-plugin-api</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">[DEBUG]&nbsp;&nbsp; = org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8</FONT></SPAN= ></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">[DEBUG]&nbsp;&nbsp; = org.codehaus.plexus:plexus-utils:jar:1.0.4</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">[DEBUG]&nbsp;&nbsp; = org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5</FONT></SPAN></= P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">[DEBUG]&nbsp;&nbsp; = org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">[DEBUG]&nbsp;&nbsp; org.apache.maven.wagon:wagon-<A = HREF=3D"file:jar:1.0-alpha-5">file:jar:1.0-alpha-5</A></FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">[DEBUG]&nbsp;&nbsp; = org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5</FONT></SPA= N></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">[DEBUG]&nbsp;&nbsp; = org.apache.maven:maven-plugin-api:jar:2.0:runtime (selected for = runtim</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">e)</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">[DEBUG] maven-release-manager: resolved to version = 1.0-alpha-4-20070908.230151-5</FONT></SPAN></P> <P ALIGN=3DLEFT><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">&nbsp;from repository snapshots</FONT></SPAN><SPAN = LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT SIZE=3D2 = FACE=3D"Arial">.</FONT></SPAN></P> <BR> <BR> <BR> <BR> <BR> </BODY> </HTML> ------_=_NextPart_001_01C7F4AC.F53583DE-- From [email protected] Wed Sep 12 13:18:57 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74307 invoked from network); 12 Sep 2007 13:18:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Sep 2007 13:18:56 -0000 Received: (qmail 77771 invoked by uid 500); 12 Sep 2007 13:18:49 -0000 Delivered-To: [email protected] Received: (qmail 77740 invoked by uid 500); 12 Sep 2007 13:18:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <scm-dev.maven.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 77713 invoked by uid 99); 12 Sep 2007 13:18:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Sep 2007 06:18:48 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO relay01-mail.uk.clara.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Sep 2007 13:20:23 +0000 Received: from chb28-2-88-163-39-128.fbx.proxad.net ([161.129.204.104]:2780 helo=[161.129.204.104]) by relay01-mail.uk.clara.net (smtp-vh.amenworld.com [161.129.204.104]:251) with esmtpa (authdaemon_plain:[email protected]) id 1IVS6r-0003GR-3j (Exim 4.60) for [email protected] (return-path <[email protected]>); Wed, 12 Sep 2007 13:18:25 +0000 Message-ID: <[email protected]> Date: Wed, 12 Sep 2007 15:17:53 +0200 From: Emmanuel Venisse <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20070728) MIME-Version: 1.0 To: [email protected] References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: Maven scm plugin unable to load maven scm local provider X-Virus-Checked: Checked by ClamAV on apache.org The local scm provider isn't supported by the release plugin because some of required methods aren't implemented in this provider. Instead of using the local provider, it would be better to implement an accurev provider, but it will require few hours. Emmanuel Terala, Satish (IS Consultant) a écrit : > Hi > > I use accurev as my version control system. Since there is no scm plugin > for accurev, I am planning to use ' local ' as my scm to do a prepare > and perform a release. I just noticed that the maven scm providers does > not even download the maven-scm-local provider even though the local > provider has been defined as module in the <modules> tag of the > providers pom. > > In my pom file I specify the scm plugin as > > <plugin> > > <groupId>org.apache.maven.plugins</groupId> > > <artifactId>maven-scm-plugin</artifactId> > > <version>1.0-SNAPSHOT</version> > > <configuration> > > > <connectionType>connection</connectionType> > > </configuration> > > </plugin> > > And then > > <scm> > > <connection>scm:local|C:/rds_workspace|rds</connection> > > > <developerConnection>scm:local|C:/rds_workspace|rds</developerConnection> > > </scm> > > Here is the out put when I run mvn –X release:prepare. Basically all the > scm providers are loaded at runtime except for local and hence at the > point of running the prepare I get the error > > *org.apache.maven.BuildFailureException: The provider given in the SCM > URL could******** not be found: No such provider: 'local'.***** > > I have checked up the poms in my local repository for > maven-scm-providers, and did a comparision between poms for the local > provider and other providers that are actually getting loaded, I don't > see any glaring differences that might be a cause of the issue. I wonder > if I am missing something or is there any other config setting that > needs to be done ? > > Thanks > > -Satish > > > > e) > > [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime > (removed - near > > er found: 1.1) > > [DEBUG] Retrieving parent-POM: org.apache.maven.scm:maven-scmacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.0 for > project: > > null:maven-scm-api:jar:1.0 from the repository. > > [DEBUG] org.apache.maven.scm:maven-scm-api:jar:1.0:runtime (selected > for run > > time) > > [DEBUG] Retrieving parent-POM: > org.apache.maven.scm:maven-scm-managersacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.0 for > > project: null:maven-scm-manager-plexus:jar:1.0 from the repository. > > [DEBUG] > org.apache.maven.scm:maven-scm-manager-plexus:jar:1.0:runtime (selec > > ted for runtime) > > [DEBUG] Retrieving parent-POM: > org.apache.maven.scm:maven-scm-providersacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.0 for > > project: null:maven-scm-provider-bazaar:jar:1.0 from the repository. > > [DEBUG] > org.apache.maven.scm:maven-scm-provider-bazaar:jar:1.0:runtime (sele > > cted for runtime) > > [DEBUG] regexp:regexp:jar:1.3:runtime (selected for runtime) > > [DEBUG] > org.apache.maven.scm:maven-scm-provider-clearcase:jar:1.0:runtime (s > > elected for runtime) > > [DEBUG] Retrieving parent-POM: > org.apache.maven.scm:maven-scm-providers-cvsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.0 > > for project: null:maven-scm-provider-cvsexe:jar:1.0 from the repository. > > [DEBUG] > org.apache.maven.scm:maven-scm-provider-cvsexe:jar:1.0:runtime (sele > > cted for runtime) > > [DEBUG] > org.apache.maven.scm:maven-scm-provider-cvs-commons:jar:1.0:runtim > > e (selected for runtime) > > [DEBUG] > org.apache.maven.scm:maven-scm-provider-cvsjava:jar:1.0:runtime (sel > > ected for runtime) > > [DEBUG] org.netbeans.lib:cvsclient:jar:20060125:runtime (selected > for runt > > ime) > > [DEBUG] ch.ethz.ganymed:ganymed-ssh2:jar:build210:runtime > (selected for ru > > ntime) > > [DEBUG] org.apache.maven.scm:maven-scm-provider-hg:jar:1.0:runtime > (selected > > for runtime) > > [DEBUG] > org.apache.maven.scm:maven-scm-provider-perforce:jar:1.0:runtime (se > > lected for runtime) > > [DEBUG] > org.apache.maven.scm:maven-scm-provider-starteam:jar:1.0:runtime (se > > lected for runtime) > > [DEBUG] Retrieving parent-POM: > org.apache.maven.scm:maven-scm-providers-svnacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.0 > > for project: null:maven-scm-provider-svnexe:jar:1.0 from the repository. > > [DEBUG] > org.apache.maven.scm:maven-scm-provider-svnexe:jar:1.0:runtime (sele > > cted for runtime) > > [DEBUG] > org.apache.maven.scm:maven-scm-provider-svn-commons:jar:1.0:runtim > > e (selected for runtime) > > [DEBUG] > org.apache.maven.scm:maven-scm-provider-synergy:jar:1.0:runtime (sel > > ected for runtime) > > [DEBUG] jdom:jdom:jar:1.0:runtime (selected for runtime) > > [DEBUG] jaxen:jaxen:jar:1.1-beta-8:runtime (selected for runtime) > > [DEBUG] jaxen:jaxen:jar:1.0-FCS:runtime (removed - causes a cycle > in the g > > raph) > > [DEBUG] Adding managed dependencies for org.apache.maven:maven-plugin-api > > [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8 > > [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 > > [DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5 > > [DEBUG] org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5 > > [DEBUG] org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5 > > [DEBUG] org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5 > > [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0:runtime (selected > for runtim > > e) > > [DEBUG] maven-release-manager: resolved to version > 1.0-alpha-4-20070908.230151-5 > > from repository snapshots. > > > > > > From [email protected] Wed Sep 12 19:22:03 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97018 invoked from network); 12 Sep 2007 19:22:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Sep 2007 19:22:01 -0000 Received: (qmail 62933 invoked by uid 500); 12 Sep 2007 19:21:55 -0000 Delivered-To: [email protected] Received: (qmail 62849 invoked by uid 500); 12 Sep 2007 19:21:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <scm-dev.maven.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 62837 invoked by uid 99); 12 Sep 2007 19:21:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Sep 2007 12:21:55 -0700 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO astro.systems.pipex.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Sep 2007 19:21:52 +0000 Received: from [161.129.204.104] (81-178-67-160.dsl.pipex.com [161.129.204.104]) by astro.systems.pipex.net (Postfix) with ESMTP id E2769E0007F8 for <[email protected]>; Wed, 12 Sep 2007 20:21:29 +0100 (BST) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: quoted-printable From: Allan Lang <[email protected]> Subject: Re: Maven scm plugin unable to load maven scm local provider Date: Wed, 12 Sep 2007 20:21:28 +0100 To: [email protected] X-Mailer: Apple Mail (2.752.2) X-Virus-Checked: Checked by ClamAV on apache.org Hi Emmanuel Out of interest, what are the required methods required for release =20 plugin support? Thanks, Allan On 12 Sep 2007, at 14:17, Emmanuel Venisse wrote: > The local scm provider isn't supported by the release plugin =20 > because some of required methods aren't implemented in this provider. > > Instead of using the local provider, it would be better to =20 > implement an accurev provider, but it will require few hours. > > Emmanuel > > Terala, Satish (IS Consultant) a =E9crit : >> Hi >> I use accurev as my version control system. Since there is no scm =20 >> plugin for accurev, I am planning to use =91 local =91 as my scm to = do =20 >> a prepare and perform a release. I just noticed that the maven scm =20= >> providers does not even download the maven-scm-local provider even =20= >> though the local provider has been defined as module in the =20 >> <modules> tag of the providers pom. >> In my pom file I specify the scm plugin as >> <plugin> >> <groupId>org.apache.maven.plugins</groupId> >> <artifactId>maven-scm-plugin</artifactId> >> <version>1.0-SNAPSHOT</version> >> <configuration> >> <connectionType>connection</=20 >> connectionType> >> </configuration> >> </plugin> >> And then >> <scm> >> <connection>scm:local|C:/rds_workspace|rds</=20 >> connection> >> <developerConnection>scm:local|C:/rds_workspace|=20 >> rds</developerConnection> >> </scm> >> Here is the out put when I run mvn =96X release:prepare. Basically =20= >> all the scm providers are loaded at runtime except for local and =20 >> hence at the point of running the prepare I get the error >> *org.apache.maven.BuildFailureException: The provider given in the =20= >> SCM URL could******** not be found: No such provider: 'local'.***** >> I have checked up the poms in my local repository for maven-scm-=20 >> providers, and did a comparision between poms for the local =20 >> provider and other providers that are actually getting loaded, I =20 >> don=92t see any glaring differences that might be a cause of the =20 >> issue. I wonder if I am missing something or is there any other =20 >> config setting that needs to be done ? >> Thanks >> -Satish >> e) >> [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime =20 >> (removed - near >> er found: 1.1) >> [DEBUG] Retrieving parent-POM: org.apache.maven.scm:maven-scmacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.0 =20= >> for project: >> null:maven-scm-api:jar:1.0 from the repository. >> [DEBUG] org.apache.maven.scm:maven-scm-api:jar:1.0:runtime =20 >> (selected for run >> time) >> [DEBUG] Retrieving parent-POM: org.apache.maven.scm:maven-scm-=20 >> managersacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.0 for >> project: null:maven-scm-manager-plexus:jar:1.0 from the repository. >> [DEBUG] org.apache.maven.scm:maven-scm-manager-plexus:jar:=20 >> 1.0:runtime (selec >> ted for runtime) >> [DEBUG] Retrieving parent-POM: org.apache.maven.scm:maven-scm-=20 >> providersacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.0 for >> project: null:maven-scm-provider-bazaar:jar:1.0 from the repository. >> [DEBUG] org.apache.maven.scm:maven-scm-provider-bazaar:jar:=20 >> 1.0:runtime (sele >> cted for runtime) >> [DEBUG] regexp:regexp:jar:1.3:runtime (selected for runtime) >> [DEBUG] org.apache.maven.scm:maven-scm-provider-clearcase:jar:=20 >> 1.0:runtime (s >> elected for runtime) >> [DEBUG] Retrieving parent-POM: org.apache.maven.scm:maven-scm-=20 >> providers-cvsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.0 >> for project: null:maven-scm-provider-cvsexe:jar:1.0 from the =20 >> repository. >> [DEBUG] org.apache.maven.scm:maven-scm-provider-cvsexe:jar:=20 >> 1.0:runtime (sele >> cted for runtime) >> [DEBUG] org.apache.maven.scm:maven-scm-provider-cvs-=20 >> commons:jar:1.0:runtim >> e (selected for runtime) >> [DEBUG] org.apache.maven.scm:maven-scm-provider-cvsjava:jar:=20 >> 1.0:runtime (sel >> ected for runtime) >> [DEBUG] org.netbeans.lib:cvsclient:jar:20060125:runtime =20 >> (selected for runt >> ime) >> [DEBUG] ch.ethz.ganymed:ganymed-ssh2:jar:build210:runtime =20 >> (selected for ru >> ntime) >> [DEBUG] org.apache.maven.scm:maven-scm-provider-hg:jar:=20 >> 1.0:runtime (selected >> for runtime) >> [DEBUG] org.apache.maven.scm:maven-scm-provider-perforce:jar:=20 >> 1.0:runtime (se >> lected for runtime) >> [DEBUG] org.apache.maven.scm:maven-scm-provider-starteam:jar:=20 >> 1.0:runtime (se >> lected for runtime) >> [DEBUG] Retrieving parent-POM: org.apache.maven.scm:maven-scm-=20 >> providers-svnacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.0 >> for project: null:maven-scm-provider-svnexe:jar:1.0 from the =20 >> repository. >> [DEBUG] org.apache.maven.scm:maven-scm-provider-svnexe:jar:=20 >> 1.0:runtime (sele >> cted for runtime) >> [DEBUG] org.apache.maven.scm:maven-scm-provider-svn-=20 >> commons:jar:1.0:runtim >> e (selected for runtime) >> [DEBUG] org.apache.maven.scm:maven-scm-provider-synergy:jar:=20 >> 1.0:runtime (sel >> ected for runtime) >> [DEBUG] jdom:jdom:jar:1.0:runtime (selected for runtime) >> [DEBUG] jaxen:jaxen:jar:1.1-beta-8:runtime (selected for runtime) >> [DEBUG] jaxen:jaxen:jar:1.0-FCS:runtime (removed - causes a =20 >> cycle in the g >> raph) >> [DEBUG] Adding managed dependencies for org.apache.maven:maven-=20 >> plugin-api >> [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-=20 >> alpha-8 >> [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 >> [DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5 >> [DEBUG] org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5 >> [DEBUG] org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5 >> [DEBUG] org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-=20 >> alpha-5 >> [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0:runtime =20 >> (selected for runtim >> e) >> [DEBUG] maven-release-manager: resolved to version 1.0-=20 >> alpha-4-20070908.230151-5 >> from repository snapshots. > From [email protected] Wed Sep 12 19:39:40 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 1698 invoked from network); 12 Sep 2007 19:39:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Sep 2007 19:39:40 -0000 Received: (qmail 92489 invoked by uid 500); 12 Sep 2007 19:39:33 -0000 Delivered-To: [email protected] Received: (qmail 92470 invoked by uid 500); 12 Sep 2007 19:39:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <scm-dev.maven.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 92459 invoked by uid 99); 12 Sep 2007 19:39:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Sep 2007 12:39:33 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO relay01-mail.uk.clara.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Sep 2007 19:39:30 +0000 Received: from chb28-2-88-163-39-128.fbx.proxad.net ([161.129.204.104]:2260 helo=[161.129.204.104]) by relay01-mail.uk.clara.net (smtp-vh.amenworld.com [161.129.204.104]:251) with esmtpa (authdaemon_plain:[email protected]) id 1IVY3I-0000Yn-5O (Exim 4.60) for [email protected] (return-path <[email protected]>); Wed, 12 Sep 2007 19:39:08 +0000 Message-ID: <[email protected]> Date: Wed, 12 Sep 2007 21:38:35 +0200 From: Emmanuel Venisse <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20070728) MIME-Version: 1.0 To: [email protected] Subject: Re: Maven scm plugin unable to load maven scm local provider References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org maybe I'll miss some of them but they are: checkout, checkin, changelog, tag, status, update Emmanuel Allan Lang a écrit : > Hi Emmanuel > > Out of interest, what are the required methods required for release > plugin support? > > Thanks, > Allan > > On 12 Sep 2007, at 14:17, Emmanuel Venisse wrote: > >> The local scm provider isn't supported by the release plugin because >> some of required methods aren't implemented in this provider. >> >> Instead of using the local provider, it would be better to implement >> an accurev provider, but it will require few hours. >> >> Emmanuel >> >> Terala, Satish (IS Consultant) a écrit : >>> Hi >>> I use accurev as my version control system. Since there is no scm >>> plugin for accurev, I am planning to use ' local ' as my scm to do a >>> prepare and perform a release. I just noticed that the maven scm >>> providers does not even download the maven-scm-local provider even >>> though the local provider has been defined as module in the <modules> >>> tag of the providers pom. >>> In my pom file I specify the scm plugin as >>> <plugin> >>> <groupId>org.apache.maven.plugins</groupId> >>> <artifactId>maven-scm-plugin</artifactId> >>> <version>1.0-SNAPSHOT</version> >>> <configuration> >>> >>> <connectionType>connection</connectionType> >>> </configuration> >>> </plugin> >>> And then >>> <scm> >>> <connection>scm:local|C:/rds_workspace|rds</connection> >>> >>> <developerConnection>scm:local|C:/rds_workspace|rds</developerConnection> >>> >>> </scm> >>> Here is the out put when I run mvn –X release:prepare. Basically all >>> the scm providers are loaded at runtime except for local and hence at >>> the point of running the prepare I get the error >>> *org.apache.maven.BuildFailureException: The provider given in the >>> SCM URL could******** not be found: No such provider: 'local'.***** >>> I have checked up the poms in my local repository for >>> maven-scm-providers, and did a comparision between poms for the local >>> provider and other providers that are actually getting loaded, I >>> don't see any glaring differences that might be a cause of the issue. >>> I wonder if I am missing something or is there any other config >>> setting that needs to be done ? >>> Thanks >>> -Satish >>> e) >>> [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime >>> (removed - near >>> er found: 1.1) >>> [DEBUG] Retrieving parent-POM: org.apache.maven.scm:maven-scmacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.0 >>> for project: >>> null:maven-scm-api:jar:1.0 from the repository. >>> [DEBUG] org.apache.maven.scm:maven-scm-api:jar:1.0:runtime >>> (selected for run >>> time) >>> [DEBUG] Retrieving parent-POM: >>> org.apache.maven.scm:maven-scm-managersacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.0 for >>> project: null:maven-scm-manager-plexus:jar:1.0 from the repository. >>> [DEBUG] >>> org.apache.maven.scm:maven-scm-manager-plexus:jar:1.0:runtime (selec >>> ted for runtime) >>> [DEBUG] Retrieving parent-POM: >>> org.apache.maven.scm:maven-scm-providersacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.0 for >>> project: null:maven-scm-provider-bazaar:jar:1.0 from the repository. >>> [DEBUG] >>> org.apache.maven.scm:maven-scm-provider-bazaar:jar:1.0:runtime (sele >>> cted for runtime) >>> [DEBUG] regexp:regexp:jar:1.3:runtime (selected for runtime) >>> [DEBUG] >>> org.apache.maven.scm:maven-scm-provider-clearcase:jar:1.0:runtime (s >>> elected for runtime) >>> [DEBUG] Retrieving parent-POM: >>> org.apache.maven.scm:maven-scm-providers-cvsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.0 >>> for project: null:maven-scm-provider-cvsexe:jar:1.0 from the >>> repository. >>> [DEBUG] >>> org.apache.maven.scm:maven-scm-provider-cvsexe:jar:1.0:runtime (sele >>> cted for runtime) >>> [DEBUG] >>> org.apache.maven.scm:maven-scm-provider-cvs-commons:jar:1.0:runtim >>> e (selected for runtime) >>> [DEBUG] >>> org.apache.maven.scm:maven-scm-provider-cvsjava:jar:1.0:runtime (sel >>> ected for runtime) >>> [DEBUG] org.netbeans.lib:cvsclient:jar:20060125:runtime >>> (selected for runt >>> ime) >>> [DEBUG] ch.ethz.ganymed:ganymed-ssh2:jar:build210:runtime >>> (selected for ru >>> ntime) >>> [DEBUG] >>> org.apache.maven.scm:maven-scm-provider-hg:jar:1.0:runtime (selected >>> for runtime) >>> [DEBUG] >>> org.apache.maven.scm:maven-scm-provider-perforce:jar:1.0:runtime (se >>> lected for runtime) >>> [DEBUG] >>> org.apache.maven.scm:maven-scm-provider-starteam:jar:1.0:runtime (se >>> lected for runtime) >>> [DEBUG] Retrieving parent-POM: >>> org.apache.maven.scm:maven-scm-providers-svnacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.0 >>> for project: null:maven-scm-provider-svnexe:jar:1.0 from the >>> repository. >>> [DEBUG] >>> org.apache.maven.scm:maven-scm-provider-svnexe:jar:1.0:runtime (sele >>> cted for runtime) >>> [DEBUG] >>> org.apache.maven.scm:maven-scm-provider-svn-commons:jar:1.0:runtim >>> e (selected for runtime) >>> [DEBUG] >>> org.apache.maven.scm:maven-scm-provider-synergy:jar:1.0:runtime (sel >>> ected for runtime) >>> [DEBUG] jdom:jdom:jar:1.0:runtime (selected for runtime) >>> [DEBUG] jaxen:jaxen:jar:1.1-beta-8:runtime (selected for runtime) >>> [DEBUG] jaxen:jaxen:jar:1.0-FCS:runtime (removed - causes a >>> cycle in the g >>> raph) >>> [DEBUG] Adding managed dependencies for >>> org.apache.maven:maven-plugin-api >>> [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8 >>> [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 >>> [DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5 >>> [DEBUG] org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5 >>> [DEBUG] org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5 >>> [DEBUG] org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5 >>> [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0:runtime (selected >>> for runtim >>> e) >>> [DEBUG] maven-release-manager: resolved to version >>> 1.0-alpha-4-20070908.230151-5 >>> from repository snapshots. >> > > > From [email protected] Fri Sep 14 21:50:25 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52700 invoked from network); 14 Sep 2007 21:50:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Sep 2007 21:50:25 -0000 Received: (qmail 6081 invoked by uid 500); 14 Sep 2007 21:50:18 -0000 Delivered-To: [email protected] Received: (qmail 6064 invoked by uid 500); 14 Sep 2007 21:50:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <scm-dev.maven.apache.org> Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 69166 invoked by uid 99); 14 Sep 2007 21:15:53 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=btinternet.com; h=Received:X-YMail-OSG:Mime-Version:Content-Transfer-Encoding:Message-Id:Content-Type:To:From:Subject:Date:X-Mailer; b=ld3jKw/Fmi9OW7SlUNNuaqgH8KAlT+1ZL0vKUMjIiKfWplz/q5bTwyaZa8YzgMYPS9C9FLK3z0xxqutusgDUrKmQuZIyZy3lPXIeNzsMR2xm/fefzqAdKhpQRiY82Qfpnd3JrTI7Q2ecKhaIX6NyHGrQ3/jvDQ8n2y+ZGub6fdg= ; X-YMail-OSG: BZZL5G8VM1nZS91rOfjo1HV60mdF.QNMLcR9omAfOjDE3.k9NdhWgFtNkcQ7JcTROFBgtUcYkmQaInfJaWIdRA0BVgmH Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: <[email protected]> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: [email protected] From: Allan Lang <[email protected]> Subject: Stuck with svn diff and multiple patches Date: Fri, 14 Sep 2007 22:15:25 +0100 X-Mailer: Apple Mail (2.752.2) X-Virus-Checked: Checked by ClamAV on apache.org Hi I'm trying to fix up the VSS provider and have already submitted a couple of patches, which haven't yet been incorporated into the SVN repository. My problem is that as I continue with the development work, I'm having trouble separating out the various pieces of work into separate patch files (I'm new to using svn diff). Am I just making my life difficult trying to do things as separate patches? Should I be working on everything I want to fix, and then submitting one uber-patch? At the moment I feel that getting my previous patches checked in would help me a lot to stop getting confused, but that seems like a slow process. Any hints? Thanks, Allan From [email protected] Fri Sep 14 21:59:03 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53957 invoked from network); 14 Sep 2007 21:59:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Sep 2007 21:59:02 -0000 Received: (qmail 16246 invoked by uid 500); 14 Sep 2007 21:58:55 -0000 Delivered-To: [email protected] Received: (qmail 16164 invoked by uid 500); 14 Sep 2007 21:58:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <scm-dev.maven.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 16153 invoked by uid 99); 14 Sep 2007 21:58:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Sep 2007 14:58:55 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO relay01-mail.uk.clara.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Sep 2007 22:00:37 +0000 Received: from chb28-2-88-163-39-128.fbx.proxad.net ([161.129.204.104]:2576 helo=[161.129.204.104]) by relay01-mail.uk.clara.net (smtp-vh.amenworld.com [161.129.204.104]:251) with esmtpa (authdaemon_plain:[email protected]) id 1IWJBI-0003dx-58 (Exim 4.60) for [email protected] (return-path <[email protected]>); Fri, 14 Sep 2007 21:58:32 +0000 Message-ID: <[email protected]> Date: Fri, 14 Sep 2007 23:57:55 +0200 From: Emmanuel Venisse <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20070728) MIME-Version: 1.0 To: [email protected] Subject: Re: Stuck with svn diff and multiple patches References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Allan Lang a écrit : > Hi > > I'm trying to fix up the VSS provider and have already submitted a > couple of patches, which haven't yet been incorporated into the SVN > repository. My problem is that as I continue with the development work, > I'm having trouble separating out the various pieces of work into > separate patch files (I'm new to using svn diff). > > Am I just making my life difficult trying to do things as separate > patches? Should I be working on everything I want to fix, and then > submitting one uber-patch? As we don't have lot of contribution on this provider, if you prefer, you can do a big patch. Please add some explanations about it in the issue when you'll attach your patch. > > At the moment I feel that getting my previous patches checked in would > help me a lot to stop getting confused, but that seems like a slow process. Actually, it is a slow process because I have lot of work to do on other projects and don't find time to review your patches. I'll do it asap. Emmanuel > > Any hints? > > Thanks, > Allan > > From [email protected] Mon Sep 17 06:48:15 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78916 invoked from network); 17 Sep 2007 06:48:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Sep 2007 06:48:14 -0000 Received: (qmail 83525 invoked by uid 500); 17 Sep 2007 06:48:06 -0000 Delivered-To: [email protected] Received: (qmail 83440 invoked by uid 500); 17 Sep 2007 06:48:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <scm-dev.maven.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 83429 invoked by uid 99); 17 Sep 2007 06:48:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Sep 2007 23:48:06 -0700 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO galaxy.systems.pipex.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Sep 2007 06:49:55 +0000 Received: from [161.129.204.104] (81-179-78-215.dsl.pipex.com [161.129.204.104]) by galaxy.systems.pipex.net (Postfix) with ESMTP id A5030E0009FB for <[email protected]>; Mon, 17 Sep 2007 07:47:43 +0100 (BST) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: quoted-printable From: Allan Lang <[email protected]> Subject: Re: Stuck with svn diff and multiple patches Date: Mon, 17 Sep 2007 07:47:40 +0100 To: [email protected] X-Mailer: Apple Mail (2.752.2) X-Virus-Checked: Checked by ClamAV on apache.org Thanks Emmanuel I understand how hard it is to find time to look at these things, so =20 I think it would be easier for both of us if I just made a single =20 large patch. In this case you should probably ignore my previous =20 patch submissions for now. Just to let you know, I've found that some of the VSS provider =20 command implementations appear just to be copy-pasted from other =20 providers, and would not actually work for VSS in their current form. =20= This is part of the reason why it's turning out to be a bigger job =20 than I first thought! Cheers, Allan On 14 Sep 2007, at 22:57, Emmanuel Venisse wrote: > > > Allan Lang a =E9crit : >> Hi >> I'm trying to fix up the VSS provider and have already submitted a =20= >> couple of patches, which haven't yet been incorporated into the =20 >> SVN repository. My problem is that as I continue with the =20 >> development work, I'm having trouble separating out the various =20 >> pieces of work into separate patch files (I'm new to using svn diff). >> Am I just making my life difficult trying to do things as separate =20= >> patches? Should I be working on everything I want to fix, and then =20= >> submitting one uber-patch? > > As we don't have lot of contribution on this provider, if you =20 > prefer, you can do a big patch. Please add some explanations about =20 > it in the issue when you'll attach your patch. > >> At the moment I feel that getting my previous patches checked in =20 >> would help me a lot to stop getting confused, but that seems like =20 >> a slow process. > > Actually, it is a slow process because I have lot of work to do on =20 > other projects and don't find time to review your patches. I'll do =20 > it asap. > > Emmanuel > >> Any hints? >> Thanks, >> Allan > From [email protected] Mon Sep 24 15:47:45 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58825 invoked from network); 24 Sep 2007 15:47:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Sep 2007 15:47:45 -0000 Received: (qmail 4369 invoked by uid 500); 24 Sep 2007 15:46:09 -0000 Delivered-To: [email protected] Received: (qmail 4345 invoked by uid 500); 24 Sep 2007 15:46:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <scm-dev.maven.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 4333 invoked by uid 99); 24 Sep 2007 15:46:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Sep 2007 08:46:09 -0700 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mx05.syd.iprimus.net.au) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Sep 2007 15:46:08 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAJd490bSMkBl/2dsb2JhbAAMgmOibA X-IronPort-AV: E=Sophos;i="4.20,292,1186322400"; d="scan'208,217";a="68098781" Received: from 101.c.005.syd.iprimus.net.au (HELO [161.129.204.104]) ([161.129.204.104]) by smtp05.syd.iprimus.net.au with ESMTP; 25 Sep 2007 01:45:45 +1000 Mime-Version: 1.0 (Apple Message framework v752.3) To: [email protected] Message-Id: <[email protected]> Content-Type: multipart/alternative; boundary=Apple-Mail-(508)596-2970 From: Brett Porter <[email protected]> Subject: build failures on JDK 1.4 Date: Tue, 25 Sep 2007 01:45:42 +1000 X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-(508)596-2970 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Hi, Is SCM meant to support JDK 1.4? I notice the API is causing build failures on maven.zones.apache.org. Cheers, Brett -- Brett Porter - [email protected] Blog: http://www.devzuz.org/blogs/bporter/ --Apple-Mail-(508)596-2970 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1 <html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = -webkit-line-break: after-white-space; "> Hi,<div><br class=3D"webkit-block-placeholder"></div><div>Is SCM meant = to support JDK 1.4? I notice the API is causing build failures on = maven.zones.apache.org.</div><div><br = class=3D"webkit-block-placeholder"></div><div>Cheers,</div><div>Brett<br><= br><div> <span class=3D"Apple-style-span" style=3D"border-collapse: = separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = font-style: normal; font-variant: normal; font-weight: normal; = letter-spacing: normal; line-height: normal; orphans: 2; text-align: = auto; text-indent: 0px; text-transform: none; white-space: normal; = widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; = -webkit-border-vertical-spacing: 0px; = -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = auto; -webkit-text-stroke-width: 0; "><span class=3D"Apple-style-span" = style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: = Helvetica; font-size: 12px; font-style: normal; font-variant: normal; = font-weight: normal; letter-spacing: normal; line-height: normal; = orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; = white-space: normal; widows: 2; word-spacing: 0px; = -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = auto; -webkit-text-stroke-width: 0; "><div>--</div><div></div><div>Brett = Porter -=A0<a = href=3D"mailto:[email protected]">[email protected]</a></div><div><div = style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = -webkit-line-break: after-white-space; "><div>Blog: <a = href=3D"http://www.devzuz.org/blogs/bporter/">http://www.devzuz.org/blogs/= bporter/</a></div></div></div></span></span> = </div><br></div></body></html>= --Apple-Mail-(508)596-2970-- From [email protected] Mon Sep 24 16:14:04 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93800 invoked from network); 24 Sep 2007 16:14:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Sep 2007 16:14:03 -0000 Received: (qmail 57012 invoked by uid 500); 24 Sep 2007 16:13:53 -0000 Delivered-To: [email protected] Received: (qmail 56983 invoked by uid 500); 24 Sep 2007 16:13:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <scm-dev.maven.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 56972 invoked by uid 99); 24 Sep 2007 16:13:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Sep 2007 09:13:53 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO relay01-mail.uk.clara.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Sep 2007 16:13:51 +0000 Received: from chb28-2-88-163-39-128.fbx.proxad.net ([161.129.204.104]:4902 helo=[161.129.204.104]) by relay01-mail.uk.clara.net (smtp-vh.amenworld.com [161.129.204.104]:251) with esmtpa (authdaemon_plain:[email protected]) id 1IZqYr-0007Kh-4o (Exim 4.60) for [email protected] (return-path <[email protected]>); Mon, 24 Sep 2007 16:13:29 +0000 Message-ID: <[email protected]> Date: Mon, 24 Sep 2007 18:12:31 +0200 From: Emmanuel Venisse <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20070728) MIME-Version: 1.0 To: [email protected] Subject: Re: build failures on JDK 1.4 References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org huh, it must be 1.4 code Brett Porter a écrit : > Hi, > > Is SCM meant to support JDK 1.4? I notice the API is causing build > failures on maven.zones.apache.org. > > Cheers, > Brett > > -- > Brett Porter - [email protected] <mailto:[email protected]> > Blog: http://www.devzuz.org/blogs/bporter/ > From [email protected] Mon Sep 24 20:43:11 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77912 invoked from network); 24 Sep 2007 20:43:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Sep 2007 20:43:10 -0000 Received: (qmail 56889 invoked by uid 500); 24 Sep 2007 20:43:01 -0000 Delivered-To: [email protected] Received: (qmail 56832 invoked by uid 500); 24 Sep 2007 20:43:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <scm-dev.maven.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 56821 invoked by uid 99); 24 Sep 2007 20:43:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Sep 2007 13:43:01 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO smtp.bredband2.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Sep 2007 20:42:58 +0000 Received: (qmail 20061 invoked from network); 24 Sep 2007 19:52:07 -0000 Received: from me-5-111-233-83.3.cust.bredband2.com (HELO [161.129.204.104]) ([161.129.204.104]) (envelope-sender <[email protected]>) by smtp.bredband2.net (qmail-ldap-1.03) with SMTP for <[email protected]>; 24 Sep 2007 19:52:07 -0000 Message-ID: <[email protected]> Date: Mon, 24 Sep 2007 22:42:33 +0200 From: Dennis Lundberg <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20070728) MIME-Version: 1.0 To: [email protected] Subject: Re: build failures on JDK 1.4 References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Should be fixed now. We'll need to check the results in Continuum later. Brett Porter wrote: > Hi, > > Is SCM meant to support JDK 1.4? I notice the API is causing build > failures on maven.zones.apache.org. > > Cheers, > Brett > > -- > Brett Porter - [email protected] <mailto:[email protected]> > Blog: http://www.devzuz.org/blogs/bporter/ > -- Dennis Lundberg From [email protected] Mon Sep 24 21:52:09 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 992 invoked from network); 24 Sep 2007 21:52:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Sep 2007 21:52:08 -0000 Received: (qmail 63743 invoked by uid 500); 24 Sep 2007 21:51:59 -0000 Delivered-To: [email protected] Received: (qmail 63723 invoked by uid 500); 24 Sep 2007 21:51:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <scm-dev.maven.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 63712 invoked by uid 99); 24 Sep 2007 21:51:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Sep 2007 14:51:59 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mx06.syd.iprimus.net.au) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Sep 2007 21:54:09 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAOjN90bSMkBl/2dsb2JhbAAM X-IronPort-AV: E=Sophos;i="4.20,292,1186322400"; d="scan'208";a="68509091" Received: from 101.c.005.syd.iprimus.net.au (HELO [161.129.204.104]) ([161.129.204.104]) by smtp06.syd.iprimus.net.au with ESMTP; 25 Sep 2007 07:51:31 +1000 Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit From: Brett Porter <[email protected]> Subject: Re: build failures on JDK 1.4 Date: Tue, 25 Sep 2007 07:51:28 +1000 To: [email protected] X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org Thanks Dennis! SCM API is fine, there seem to be new problems in the providers though. I'll take a look. On 25/09/2007, at 6:42 AM, Dennis Lundberg wrote: > Should be fixed now. > We'll need to check the results in Continuum later. > > Brett Porter wrote: >> Hi, >> Is SCM meant to support JDK 1.4? I notice the API is causing build >> failures on maven.zones.apache.org. >> Cheers, >> Brett >> -- >> Brett Porter - [email protected] <mailto:[email protected]> >> Blog: http://www.devzuz.org/blogs/bporter/ > > > -- > Dennis Lundberg -- Brett Porter - [email protected] Blog: http://www.devzuz.org/blogs/bporter/ From [email protected] Mon Sep 24 21:58:47 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3741 invoked from network); 24 Sep 2007 21:58:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Sep 2007 21:58:46 -0000 Received: (qmail 81160 invoked by uid 500); 24 Sep 2007 21:58:36 -0000 Delivered-To: [email protected] Received: (qmail 81142 invoked by uid 500); 24 Sep 2007 21:58:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <scm-dev.maven.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 81131 invoked by uid 99); 24 Sep 2007 21:58:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Sep 2007 14:58:36 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mx06.syd.iprimus.net.au) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Sep 2007 21:58:35 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAD7Q90bSMkBl/2dsb2JhbAAM X-IronPort-AV: E=Sophos;i="4.20,292,1186322400"; d="scan'208";a="68509874" Received: from 101.c.005.syd.iprimus.net.au (HELO [161.129.204.104]) ([161.129.204.104]) by smtp06.syd.iprimus.net.au with ESMTP; 25 Sep 2007 07:58:12 +1000 Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit From: Brett Porter <[email protected]> Subject: Re: build failures on JDK 1.4 Date: Tue, 25 Sep 2007 07:58:08 +1000 To: [email protected] X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org Never mind - you got it :) On 25/09/2007, at 7:51 AM, Brett Porter wrote: > Thanks Dennis! SCM API is fine, there seem to be new problems in > the providers though. I'll take a look. > > On 25/09/2007, at 6:42 AM, Dennis Lundberg wrote: > >> Should be fixed now. >> We'll need to check the results in Continuum later. >> >> Brett Porter wrote: >>> Hi, >>> Is SCM meant to support JDK 1.4? I notice the API is causing >>> build failures on maven.zones.apache.org. >>> Cheers, >>> Brett >>> -- >>> Brett Porter - [email protected] <mailto:[email protected]> >>> Blog: http://www.devzuz.org/blogs/bporter/ >> >> >> -- >> Dennis Lundberg > > -- > Brett Porter - [email protected] > Blog: http://www.devzuz.org/blogs/bporter/ -- Brett Porter - [email protected] Blog: http://www.devzuz.org/blogs/bporter/ From [email protected] Mon Sep 24 22:00:53 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4735 invoked from network); 24 Sep 2007 22:00:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Sep 2007 22:00:49 -0000 Received: (qmail 85018 invoked by uid 500); 24 Sep 2007 22:00:38 -0000 Delivered-To: [email protected] Received: (qmail 84947 invoked by uid 500); 24 Sep 2007 22:00:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <scm-dev.maven.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 84936 invoked by uid 99); 24 Sep 2007 22:00:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Sep 2007 15:00:38 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO smtp.bredband2.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Sep 2007 22:00:37 +0000 Received: (qmail 22759 invoked from network); 24 Sep 2007 21:09:47 -0000 Received: from me-5-111-233-83.3.cust.bredband2.com (HELO [161.129.204.104]) ([161.129.204.104]) (envelope-sender <[email protected]>) by smtp.bredband2.net (qmail-ldap-1.03) with SMTP for <[email protected]>; 24 Sep 2007 21:09:47 -0000 Message-ID: <[email protected]> Date: Tue, 25 Sep 2007 00:00:13 +0200 From: Dennis Lundberg <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20070728) MIME-Version: 1.0 To: [email protected] Subject: Re: build failures on JDK 1.4 References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I've fixed those as well. Brett Porter wrote: > Thanks Dennis! SCM API is fine, there seem to be new problems in the > providers though. I'll take a look. > > On 25/09/2007, at 6:42 AM, Dennis Lundberg wrote: > >> Should be fixed now. >> We'll need to check the results in Continuum later. >> >> Brett Porter wrote: >>> Hi, >>> Is SCM meant to support JDK 1.4? I notice the API is causing build >>> failures on maven.zones.apache.org. >>> Cheers, >>> Brett >>> -- >>> Brett Porter - [email protected] <mailto:[email protected]> >>> Blog: http://www.devzuz.org/blogs/bporter/ >> >> >> -- >> Dennis Lundberg > > -- > Brett Porter - [email protected] > Blog: http://www.devzuz.org/blogs/bporter/ > -- Dennis Lundberg From [email protected] Thu Sep 27 10:26:00 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95992 invoked from network); 27 Sep 2007 10:26:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Sep 2007 10:26:00 -0000 Received: (qmail 80704 invoked by uid 500); 27 Sep 2007 10:25:50 -0000 Delivered-To: [email protected] Received: (qmail 80677 invoked by uid 500); 27 Sep 2007 10:25:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <scm-dev.maven.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 80666 invoked by uid 99); 27 Sep 2007 10:25:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Sep 2007 03:25:50 -0700 X-ASF-Spam-Status: No, hits=-2.0 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF [email protected]) Received: from [161.129.204.104] (HELO exprod6og50.obsmtp.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Sep 2007 10:28:07 +0000 Received: from source ([161.129.204.104]) (using SSLv3) by exprod6ob50.postini.com ([161.129.204.104]) with SMTP; Thu, 27 Sep 2007 03:23:55 PDT To: [email protected] Subject: Questions about Starteam provider MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5.2 June 01, 2004 From: [email protected] Message-ID: <[email protected]> Date: Thu, 27 Sep 2007 05:25:12 -0500 X-MIMETrack: Serialize by Router on lng002/SVR/TSA(Release 7.0.2FP2|May 14, 2007) at 09/27/2007 05:25:02, Serialize complete at 09/27/2007 05:25:02 Content-Type: multipart/alternative; boundary="=_alternative 00393CE985257363_=" X-Virus-Checked: Checked by ClamAV on apache.org This is a multipart message in MIME format. --=_alternative 00393CE985257363_= Content-Type: text/plain; charset="US-ASCII" I've been looking at the maven documentation and the source code for the starteam provider and have some quick questions. 1) StarteamAddCommand, StarteamRemoveCommand do not have a corresponding scm goal listed on page http://maven.apache.org/scm/plugins/. Is this because they are undocumented, or that they are required by the framework for some kind of internal processing? 2) StarteamEditCommand, StarteamUneditCommand are implemented although the Matrix says they are not (http://docs.codehaus.org/display/SCM/SCM+Matrix). Is the Matrix out of date, or is there some other reason for listing them as not implemented? 3) Does the provider or individual command implementations <i>have</i> to use a command line framework, or was that just done for ease of implementation? The reason I ask is that our build environment uses Starteam in a manner that exposes a design flaw in their checkout process (I can provide details if anyone asks, but it's not really relevant to the discussion). Thanks Robert Egan Confidential, proprietary or non-public information. The information is intended solely for the designated recipient(s). If an addressing or transmission error has misdirected this email, please notify the sender immediately and destroy this email. Any review, dissemination, use or reliance upon this information by unintended recipients is prohibited. Any opinions expressed in this email are those of the author personally. --=_alternative 00393CE985257363_= Content-Type: text/html; charset="US-ASCII" <br><font size=2 face="sans-serif">I've been looking at the maven documentation and the source code for the starteam provider and have some quick questions.</font><font size=3> <br> </font><font size=2 face="sans-serif"><br> 1) StarteamAddCommand, StarteamRemoveCommand do not have a corresponding scm goal</font><font size=3> </font><font size=2 face="sans-serif">listed on page http://maven.apache.org/scm/plugins/. Is this because they are undocumented, or that they are required by the framework for some kind of internal processing?</font><font size=3><br> </font><font size=2 face="sans-serif"><br> 2) StarteamEditCommand, StarteamUneditCommand are implemented although the Matrix says they are not (http://docs.codehaus.org/display/SCM/SCM+Matrix). Is the Matrix out of date, or is there some other reason for listing them as not implemented?</font><font size=3><br> </font><font size=2 face="sans-serif"><br> 3) Does the provider or individual command implementations &lt;i&gt;have&lt;/i&gt; to use a command line framework, or was that just done for ease of implementation?</font><font size=3> </font><font size=2 face="sans-serif">The reason I ask is that our build environment uses Starteam in a manner that exposes a design flaw in their checkout process (I can provide details if anyone asks, but it's not really relevant to the discussion).</font><font size=3><br> <br> </font><font size=2 face="sans-serif"><br> Thanks</font><font size=3> </font><font size=2 face="sans-serif"><br> Robert Egan</font><font size=3> <br> </font> <br> <br><font size=2 face="sans-serif">Confidential, proprietary or non-public information. &nbsp;The information is intended solely for the designated recipient(s). &nbsp;If an addressing or transmission error has misdirected this email, please notify the sender immediately and destroy this email. &nbsp;Any review, dissemination, use or reliance upon this information by unintended recipients is prohibited. &nbsp;Any opinions expressed in this email are those of the author personally.</font> --=_alternative 00393CE985257363_=-- From [email protected] Thu Sep 27 11:38:29 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30754 invoked from network); 27 Sep 2007 11:38:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Sep 2007 11:38:28 -0000 Received: (qmail 51148 invoked by uid 500); 27 Sep 2007 11:38:18 -0000 Delivered-To: [email protected] Received: (qmail 51119 invoked by uid 500); 27 Sep 2007 11:38:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <scm-dev.maven.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 51108 invoked by uid 99); 27 Sep 2007 11:38:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Sep 2007 04:38:18 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO relay01-mail.uk.clara.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Sep 2007 11:40:37 +0000 Received: from chb28-2-88-163-39-128.fbx.proxad.net ([161.129.204.104]:3127 helo=[161.129.204.104]) by relay01-mail.uk.clara.net (smtp-vh.amenworld.com [161.129.204.104]:251) with esmtpa (authdaemon_plain:[email protected]) id 1Iargp-0007Xm-46 (Exim 4.60) for [email protected] (return-path <[email protected]>); Thu, 27 Sep 2007 11:37:55 +0000 Message-ID: <[email protected]> Date: Thu, 27 Sep 2007 13:36:48 +0200 From: Emmanuel Venisse <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20070728) MIME-Version: 1.0 To: [email protected] Subject: Re: Questions about Starteam provider References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org [email protected] a écrit : > > I've been looking at the maven documentation and the source code for the > starteam provider and have some quick questions. > > 1) StarteamAddCommand, StarteamRemoveCommand do not have a corresponding > scm goal listed on page http://maven.apache.org/scm/plugins/. Is this > because they are undocumented, or that they are required by the > framework for some kind of internal processing? add goal is implemented and remove goal isn't. I don't know why add goal isn't on the site. I'll [email protected]. > > 2) StarteamEditCommand, StarteamUneditCommand are implemented although > the Matrix says they are not > (http://docs.codehaus.org/display/SCM/SCM+Matrix). Is the Matrix out of > date, or is there some other reason for listing them as not implemented? Fixed. > > 3) Does the provider or individual command implementations <i>have</i> > to use a command line framework, or was that just done for ease of > implementation? The reason I ask is that our build environment uses > Starteam in a manner that exposes a design flaw in their checkout > process (I can provide details if anyone asks, but it's not really > relevant to the discussion). We use starteam cli to run command because we can't redistribute starteam jars. Emmanuel From [email protected] Thu Sep 27 12:55:56 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61801 invoked from network); 27 Sep 2007 12:55:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Sep 2007 12:55:56 -0000 Received: (qmail 87178 invoked by uid 500); 27 Sep 2007 12:55:46 -0000 Delivered-To: [email protected] Received: (qmail 87155 invoked by uid 500); 27 Sep 2007 12:55:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <scm-dev.maven.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 87144 invoked by uid 99); 27 Sep 2007 12:55:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Sep 2007 05:55:46 -0700 X-ASF-Spam-Status: No, hits=-2.0 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF [email protected]) Received: from [161.129.204.104] (HELO exprod6og52.obsmtp.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Sep 2007 12:58:06 +0000 Received: from source ([161.129.204.104]) (using SSLv3) by exprod6ob52.postini.com ([161.129.204.104]) with SMTP; Thu, 27 Sep 2007 05:55:22 PDT In-Reply-To: <[email protected]> To: [email protected] Subject: Re: Questions about Starteam provider MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5.2 June 01, 2004 From: [email protected] Message-ID: <[email protected]> Date: Thu, 27 Sep 2007 08:55:07 -0400 X-MIMETrack: Serialize by Router on lng002/SVR/TSA(Release 7.0.2FP2|May 14, 2007) at 09/27/2007 07:55:00, Serialize complete at 09/27/2007 07:55:00 Content-Type: multipart/alternative; boundary="=_alternative 0046F6C285257363_=" X-Virus-Checked: Checked by ClamAV on apache.org This is a multipart message in MIME format. --=_alternative 0046F6C285257363_= Content-Type: text/plain; charset="US-ASCII" Emmanuel Venisse <[email protected]> wrote on 09/27/2007 07:36:48 AM: > > > > 3) Does the provider or individual command implementations <i>have</i> > > to use a command line framework, or was that just done for ease of > > implementation? The reason I ask is that our build environment uses > > Starteam in a manner that exposes a design flaw in their checkout > > process (I can provide details if anyone asks, but it's not really > > relevant to the discussion). > > We use starteam cli to run command because we can't redistribute > starteam jars. > Thanks. This is not an issue for us because our local repository will be accessible only to those developers who have a valid Starteam license anyway. The sad part is that my implementation cannot be shared back to Maven :(. However, I do have some positive feedback. I have created SCM-347 in JIRA and placed it there. I would also like to promote issue SCM-117. It looks like discussion stopped on 12/23/2006 and that no further work was done. Implementing this will really improve the usefulness of stcmd, which has dozens of options (like the three listed in SCM-347) that you might not want to explicitely support, because they are used less frequently and/or do not fit into the SCM model. As the original reporter OF SCM-117 indicated, the most useful argument by far is -o (force checkout) because Starteam has real issues with repository synchronization (SCM-142). This is a Starteam problem and one that can only be solved by the force checkout option or through the Starteam SDK, which contains calls to explicitely synchronize. Robert Egan --=_alternative 0046F6C285257363_= Content-Type: text/html; charset="US-ASCII" <br><font size=2><tt>Emmanuel Venisse &lt;[email protected]&gt; wrote on 09/27/2007 07:36:48 AM:<br> <br> &gt; &gt; <br> &gt; &gt; 3) Does the provider or individual command implementations &lt;i&gt;have&lt;/i&gt; <br> &gt; &gt; to use a command line framework, or was that just done for ease of <br> &gt; &gt; implementation? The reason I ask is that our build environment uses <br> &gt; &gt; Starteam in a manner that exposes a design flaw in their checkout <br> &gt; &gt; process (I can provide details if anyone asks, but it's not really <br> &gt; &gt; relevant to the discussion).<br> &gt; <br> &gt; We use starteam cli to run command because we can't redistribute <br> &gt; starteam jars.<br> &gt; <br> </tt></font> <br><font size=2><tt>Thanks. This is not an issue for us because our local repository will be accessible only to those developers who have a valid Starteam license anyway. The sad part is that my implementation cannot be shared back to Maven :(.</tt></font> <br> <br><font size=2><tt>However, I do have some positive feedback. I have created SCM-347 in JIRA and placed it there.</tt></font> <br> <br><font size=2><tt>I would also like to promote issue SCM-117. It looks like discussion stopped on 12/23/2006 and that no further work was done. Implementing this will really improve the usefulness of stcmd, which has dozens of options (like the three listed in SCM-347) that you might not want to explicitely support, because they are used less frequently and/or do not fit into the SCM model.</tt></font> <br> <br><font size=2><tt>As the original reporter OF SCM-117 indicated, the most useful argument by far is -o (force checkout) because Starteam has real issues with repository synchronization (SCM-142). This is a Starteam problem and one that can only be solved by the force checkout option or through the Starteam SDK, which contains calls to explicitely synchronize.</tt></font> <br> <br> <br><font size=2><tt>Robert Egan</tt></font> <br> --=_alternative 0046F6C285257363_=-- From [email protected] Thu Sep 27 17:00:07 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 98839 invoked from network); 27 Sep 2007 17:00:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Sep 2007 17:00:05 -0000 Received: (qmail 41014 invoked by uid 500); 27 Sep 2007 16:59:56 -0000 Delivered-To: [email protected] Received: (qmail 40982 invoked by uid 500); 27 Sep 2007 16:59:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <scm-dev.maven.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 40971 invoked by uid 99); 27 Sep 2007 16:59:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Sep 2007 09:59:55 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nz-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Sep 2007 16:59:56 +0000 Received: by nz-out-0506.google.com with SMTP id x3so1757711nzd for <[email protected]>; Thu, 27 Sep 2007 09:59:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=yK70DwItnHfAhj2q9mr+C+PMpCcz5Y4YtkegNL3AcwU=; b=dlgJ4X6ONCNOjH5cX6E2hBvvi6mWGRU8LpbhEfQ9pVH3S1q+R1oEDd2xj7PiwPV1v9zw5n2jgcldSlIDvnX6xYycYAz5q3nUOG8xMJSKEvZISC+kZ1cwKLNz1M40+lFzRnTAGy/5B0q2b9JvY5AUr7QcrHaSY15X0ATB0d0rqgk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=AgMgAlAFDcx6KqpdXRVVjjPiGmOVJq+RbU9Zwk5B3dZnrVdGXubB7cWdhhgku/up5ztdBW6ABu3efjRCYON5S17v9RoaAMMy4CaeCotRrC7Nh0EGJ3a1oPcM4dq6P3oaZt0NscJmC7ESQoUwKb2HeZCwBYVssRQhgHQPPZjYLto= Received: by 161.129.204.104 with SMTP id w20mr1002548rvh.1190912375094; Thu, 27 Sep 2007 09:59:35 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 27 Sep 2007 09:59:35 -0700 (PDT) Message-ID: <[email protected]> Date: Thu, 27 Sep 2007 09:59:35 -0700 From: "Dan Tran" <[email protected]> To: [email protected] Subject: Re: Questions about Starteam provider In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org feelfree to submit the patch, of course with unit test, as long as it follows maven scm architechutre. I will review and commit Thanks -D On 9/27/07, [email protected] <[email protected]> wrote: > > Emmanuel Venisse <[email protected]> wrote on 09/27/2007 07:36:48 AM: > > > > > > > 3) Does the provider or individual command implementations <i>have</i> > > > to use a command line framework, or was that just done for ease of > > > implementation? The reason I ask is that our build environment uses > > > Starteam in a manner that exposes a design flaw in their checkout > > > process (I can provide details if anyone asks, but it's not really > > > relevant to the discussion). > > > > We use starteam cli to run command because we can't redistribute > > starteam jars. > > > > Thanks. This is not an issue for us because our local repository will be > accessible only to those developers who have a valid Starteam license > anyway. The sad part is that my implementation cannot be shared back to > Maven :(. > > However, I do have some positive feedback. I have created SCM-347 in JIRA > and placed it there. > > I would also like to promote issue SCM-117. It looks like discussion stopped > on 12/23/2006 and that no further work was done. Implementing this will > really improve the usefulness of stcmd, which has dozens of options (like > the three listed in SCM-347) that you might not want to explicitely support, > because they are used less frequently and/or do not fit into the SCM model. > > As the original reporter OF SCM-117 indicated, the most useful argument by > far is -o (force checkout) because Starteam has real issues with repository > synchronization (SCM-142). This is a Starteam problem and one that can only > be solved by the force checkout option or through the Starteam SDK, which > contains calls to explicitely synchronize. > > > Robert Egan > From [email protected] Fri Sep 28 09:26:53 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 72682 invoked from network); 28 Sep 2007 09:26:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Sep 2007 09:26:53 -0000 Received: (qmail 3951 invoked by uid 500); 28 Sep 2007 09:26:43 -0000 Delivered-To: [email protected] Received: (qmail 3945 invoked by uid 500); 28 Sep 2007 09:26:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <scm-dev.maven.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 3934 invoked by uid 99); 28 Sep 2007 09:26:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Sep 2007 02:26:43 -0700 X-ASF-Spam-Status: No, hits=-2.0 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy includes SPF [email protected]) Received: from [161.129.204.104] (HELO exprod6og54.obsmtp.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Sep 2007 09:26:43 +0000 Received: from source ([161.129.204.104]) (using SSLv3) by exprod6ob54.postini.com ([161.129.204.104]) with SMTP; Fri, 28 Sep 2007 02:26:21 PDT To: [email protected] Subject: scm plugin providers MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5.2 June 01, 2004 From: [email protected] Message-ID: <[email protected]> Date: Fri, 28 Sep 2007 04:26:19 -0500 X-MIMETrack: Serialize by Router on lng002/SVR/TSA(Release 7.0.2FP2|May 14, 2007) at 09/28/2007 04:25:58, Serialize complete at 09/28/2007 04:25:58 Content-Type: multipart/alternative; boundary="=_alternative 0033C39785257364_=" X-Virus-Checked: Checked by ClamAV on apache.org This is a multipart message in MIME format. --=_alternative 0033C39785257364_= Content-Type: text/plain; charset="US-ASCII" Greetings all I have decided to implement my own scm provider, named custom. My connect url would therefore look like scm:custom:..... So, my question is, what next? Or more specifically, what are the classes/interfaces needed to make this happen? Do I "register" with the scm framework in some manner, or does it do some some dynamic discovery such as looking for org.apache.maven,scm.provider.custom.CustomScmProvider on the classpath? Also, when playing with scm:starteam checkout I noticed that it deletes the checkout area first. I did not see any code that did this in the Starteam sources, so I assume it's done by the scm framework? And if it is, how can I override the behavior? Thanks again Robert Egan This email message and any attachments may contain confidential, proprietary or non-public information. The information is intended solely for the designated recipient(s). If an addressing or transmission error has misdirected this email, please notify the sender immediately and destroy this email. Any review, dissemination, use or reliance upon this information by unintended recipients is prohibited. Any opinions expressed in this email are those of the author personally. --=_alternative 0033C39785257364_= Content-Type: text/html; charset="US-ASCII" <br><font size=2 face="sans-serif">Greetings all</font> <br> <br><font size=2 face="sans-serif">I have decided to implement my own scm provider, named custom. &nbsp;My connect url would therefore look like scm:custom:.....</font> <br> <br><font size=2 face="sans-serif">So, my question is, what next? Or more specifically, what are the classes/interfaces needed to make this happen? Do I &quot;register&quot; with the scm framework in some manner, or does it do some some dynamic discovery such as looking for org.apache.maven,scm.provider.custom.CustomScmProvider on the classpath?</font> <br> <br><font size=2 face="sans-serif">Also, when playing with scm:starteam checkout I noticed that it deletes the checkout area first. I did not see any code that did this in the Starteam sources, so I assume it's done by the scm framework? And if it is, how can I override the behavior? </font> <br> <br> <br><font size=2 face="sans-serif">Thanks again</font> <br><font size=2 face="sans-serif">Robert Egan</font> <br> <br><font size=2 face="sans-serif">This email message and any attachments may contain confidential, proprietary or non-public information. &nbsp;The information is intended solely for the designated recipient(s). &nbsp;If an addressing or transmission error has misdirected this email, please notify the sender immediately and destroy this email. &nbsp;Any review, dissemination, use or reliance upon this information by unintended recipients is prohibited. &nbsp;Any opinions expressed in this email are those of the author personally.</font> --=_alternative 0033C39785257364_=-- From [email protected] Fri Sep 28 09:36:24 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76104 invoked from network); 28 Sep 2007 09:36:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Sep 2007 09:36:24 -0000 Received: (qmail 13323 invoked by uid 500); 28 Sep 2007 09:36:14 -0000 Delivered-To: [email protected] Received: (qmail 13306 invoked by uid 500); 28 Sep 2007 09:36:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <scm-dev.maven.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 13295 invoked by uid 99); 28 Sep 2007 09:36:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Sep 2007 02:36:14 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO relay01-mail.uk.clara.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Sep 2007 09:36:14 +0000 Received: from chb28-2-88-163-39-128.fbx.proxad.net ([161.129.204.104]:1217 helo=[161.129.204.104]) by relay01-mail.uk.clara.net (smtp-vh.amenworld.com [161.129.204.104]:251) with esmtpa (authdaemon_plain:[email protected]) id 1IbCGE-0004yk-4q (Exim 4.60) for [email protected] (return-path <[email protected]>); Fri, 28 Sep 2007 09:35:50 +0000 Message-ID: <[email protected]> Date: Fri, 28 Sep 2007 11:34:39 +0200 From: Emmanuel Venisse <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20070728) MIME-Version: 1.0 To: [email protected] Subject: Re: scm plugin providers References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org it's a dynamic discovery. In your provider, you need a class that extends AbstractScmProvider. This class must have in javadoc this line: * @plexus.component role="org.apache.maven.scm.provider.ScmProvider" role-hint="custom" And you must add this plugin in your pom: <plugin> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-maven-plugin</artifactId> <executions> <execution> <goals> <goal>descriptor</goal> </goals> </execution> </executions> </plugin> With this, the scm manager will find your provider when you'll use your custon scm url Emmanuel [email protected] a écrit : > > Greetings all > > I have decided to implement my own scm provider, named custom. My > connect url would therefore look like scm:custom:..... > > So, my question is, what next? Or more specifically, what are the > classes/interfaces needed to make this happen? Do I "register" with the > scm framework in some manner, or does it do some some dynamic discovery > such as looking for > org.apache.maven,scm.provider.custom.CustomScmProvider on the classpath? > > Also, when playing with scm:starteam checkout I noticed that it deletes > the checkout area first. I did not see any code that did this in the > Starteam sources, so I assume it's done by the scm framework? And if it > is, how can I override the behavior? > > > Thanks again > Robert Egan > > This email message and any attachments may contain confidential, > proprietary or non-public information. The information is intended > solely for the designated recipient(s). If an addressing or > transmission error has misdirected this email, please notify the sender > immediately and destroy this email. Any review, dissemination, use or > reliance upon this information by unintended recipients is prohibited. > Any opinions expressed in this email are those of the author personally. From [email protected] Fri Sep 28 14:21:28 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29166 invoked from network); 28 Sep 2007 14:21:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Sep 2007 14:21:27 -0000 Received: (qmail 85782 invoked by uid 500); 28 Sep 2007 14:21:08 -0000 Delivered-To: [email protected] Received: (qmail 85746 invoked by uid 500); 28 Sep 2007 14:21:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <scm-dev.maven.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 85714 invoked by uid 99); 28 Sep 2007 14:21:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Sep 2007 07:21:07 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO el-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Sep 2007 14:21:09 +0000 Received: by el-out-1112.google.com with SMTP id r27so616114ele for <[email protected]>; Fri, 28 Sep 2007 07:20:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=rsj2MApm36zgLMLX/WIVNapLORTjaCOaSsThbEVZ97o=; b=NlruSiqUtLkVjzjl/O4pdW2WmRUabjpPOH+GRIAZ2DkaCOmS2ZiE7xBIRRWp2avPungMLxLfxjdvJ/Mj6eeDXT2BLbjSwBodu3oeXCZK5VWflYpWY9brvUu8L0r7yFsv+/89xueKIfl/YIgjxRpYZQfJQALSSstCdkbwfw/ZA1E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DJvQ5fCjks9qbGa+9C3GOwYAR+PYlKQ/5zWjuqoHaklb6a8lG6xsyoZEIAKkwesiAdpuY6Bptk7PdwTbmb1BIpYJ9ZIcmX/Ms82NMq9q0Gf7vJKY7pgb3FZF+A1RHnI/VQL26QnN7Z5Ue5HbfnME1J3jHnQ1PoMRbFFSmScbtvw= Received: by 161.129.204.104 with SMTP id j1mr1929598waj.1190989243654; Fri, 28 Sep 2007 07:20:43 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Fri, 28 Sep 2007 07:20:43 -0700 (PDT) Message-ID: <[email protected]> Date: Fri, 28 Sep 2007 07:20:43 -0700 From: "Dan Tran" <[email protected]> To: [email protected] Subject: Re: scm plugin providers In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org On 9/28/07, [email protected] <[email protected]> wrote: > > Greetings all > > I have decided to implement my own scm provider, named custom. My connect > url would therefore look like scm:custom:..... > > So, my question is, what next? Or more specifically, what are the > classes/interfaces needed to make this happen? Do I "register" with the scm > framework in some manner, or does it do some some dynamic discovery such as > looking for > org.apache.maven,scm.provider.custom.CustomScmProvider on > the classpath? > > Also, when playing with scm:starteam checkout I noticed that it deletes the > checkout area first. I did not see any code that did this in the Starteam > sources, so I assume it's done by the scm framework? And if it is, how can I > override the behavior? > mvn scm:checkout always remove the checkout area regardless of provider type. To override this behavior, see the scm:checkout plugin doc, there is a flag there. -D > > Thanks again > Robert Egan > > This email message and any attachments may contain confidential, proprietary > or non-public information. The information is intended solely for the > designated recipient(s). If an addressing or transmission error has > misdirected this email, please notify the sender immediately and destroy > this email. Any review, dissemination, use or reliance upon this > information by unintended recipients is prohibited. Any opinions expressed > in this email are those of the author personally. From [email protected] Fri Sep 28 14:32:52 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 32301 invoked from network); 28 Sep 2007 14:32:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Sep 2007 14:32:50 -0000 Received: (qmail 6095 invoked by uid 500); 28 Sep 2007 14:32:28 -0000 Delivered-To: [email protected] Received: (qmail 6060 invoked by uid 500); 28 Sep 2007 14:32:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <scm-dev.maven.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 6018 invoked by uid 99); 28 Sep 2007 14:32:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Sep 2007 07:32:28 -0700 X-ASF-Spam-Status: No, hits=-2.0 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy includes SPF [email protected]) Received: from [161.129.204.104] (HELO exprod6og55.obsmtp.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Sep 2007 14:32:28 +0000 Received: from source ([161.129.204.104]) (using SSLv3) by exprod6ob55.postini.com ([161.129.204.104]) with SMTP; Fri, 28 Sep 2007 07:28:12 PDT In-Reply-To: <[email protected]> To: [email protected] Subject: Re: scm plugin providers MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5.2 June 01, 2004 From: [email protected] Message-ID: <[email protected]> Date: Fri, 28 Sep 2007 09:31:53 -0500 X-MIMETrack: Serialize by Router on lng002/SVR/TSA(Release 7.0.2FP2|May 14, 2007) at 09/28/2007 09:31:43, Serialize complete at 09/28/2007 09:31:43 Content-Type: multipart/alternative; boundary="=_alternative 004FD27485257364_=" X-Virus-Checked: Checked by ClamAV on apache.org This is a multipart message in MIME format. --=_alternative 004FD27485257364_= Content-Type: text/plain; charset="US-ASCII" "Dan Tran" <[email protected]> wrote on 09/28/2007 10:20:43 AM: > On 9/28/07, [email protected] <[email protected]> wrote: > > > > > > Also, when playing with scm:starteam checkout I noticed that it deletes the > > checkout area first. I did not see any code that did this in the Starteam > > sources, so I assume it's done by the scm framework? And if it is,how can I > > override the behavior? > > > mvn scm:checkout always remove the checkout area regardless of provider type. > To override this behavior, see the scm:checkout plugin doc, there is a > flag there. That would undoubtedly be "skipCheckoutIfExists", which I had assumed meant "skip checkout altogether" but must instead mean "skip files if they exist". Thanks for clearing that up! Robert Egan This email message and any attachments may contain confidential, proprietary or non-public information. The information is intended solely for the designated recipient(s). If an addressing or transmission error has misdirected this email, please notify the sender immediately and destroy this email. Any review, dissemination, use or reliance upon this information by unintended recipients is prohibited. Any opinions expressed in this email are those of the author personally. --=_alternative 004FD27485257364_= Content-Type: text/html; charset="US-ASCII" <br><font size=2><tt>&quot;Dan Tran&quot; &lt;[email protected]&gt; wrote on 09/28/2007 10:20:43 AM:<br> <br> &gt; On 9/28/07, [email protected] &lt;[email protected]&gt; wrote:<br> &gt; &gt;<br> &gt; &gt;<br> &gt; &gt; Also, when playing with scm:starteam checkout I noticed that it deletes the<br> &gt; &gt; checkout area first. I did not see any code that did this in the Starteam<br> &gt; &gt; sources, so I assume it's done by the scm framework? And if it is,how can I<br> &gt; &gt; override the behavior?<br> &gt; &gt;<br> &gt; mvn scm:checkout always remove the checkout area regardless of provider type.<br> &gt; To override this behavior, see the scm:checkout plugin doc, there is a<br> &gt; flag there.</tt></font> <br> <br><font size=2><tt>That would undoubtedly be &quot;skipCheckoutIfExists&quot;, which I had assumed meant &quot;skip checkout altogether&quot; but must instead mean &quot;skip files if they exist&quot;.</tt></font> <br> <br><font size=2><tt>Thanks for clearing that up!</tt></font> <br> <br> <br><font size=2><tt>Robert Egan<br> </tt></font> <br><font size=2 face="sans-serif">This email message and any attachments may contain confidential, proprietary or non-public information. &nbsp;The information is intended solely for the designated recipient(s). &nbsp;If an addressing or transmission error has misdirected this email, please notify the sender immediately and destroy this email. &nbsp;Any review, dissemination, use or reliance upon this information by unintended recipients is prohibited. &nbsp;Any opinions expressed in this email are those of the author personally.</font> <br> --=_alternative 004FD27485257364_=-- From [email protected] Fri Sep 28 14:52:59 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38190 invoked from network); 28 Sep 2007 14:52:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Sep 2007 14:52:58 -0000 Received: (qmail 68180 invoked by uid 500); 28 Sep 2007 14:52:48 -0000 Delivered-To: [email protected] Received: (qmail 68159 invoked by uid 500); 28 Sep 2007 14:52:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <scm-dev.maven.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 68137 invoked by uid 99); 28 Sep 2007 14:52:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Sep 2007 07:52:48 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Sep 2007 14:52:48 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1IbHCe-0000M7-4m for [email protected]; Fri, 28 Sep 2007 07:52:28 -0700 Message-ID: <[email protected]> Date: Fri, 28 Sep 2007 07:52:28 -0700 (PDT) From: jbodduna <[email protected]> To: [email protected] Subject: Maven relase:perform MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org I am trying to run mvn release:perform. By default maven is looking at the current directory as the working directory and the relase fails. My maven consists of multiple modules. Is there a way I can tell maven release plugin to tell where the working directory is? I tried the following configuration in the parent POM file, but maven is still looking at the current directory. Maven version: 2.0.7 Java version: 1.4.2_09 <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <configuration> <workingDirectory>src/checkout</workingDirectory> </configuration> </plugin> -- View this message in context: http://www.nabble.com/Maven-relase%3Aperform-tf4535010s177.html#a12942125 Sent from the Maven - SCM mailing list [email protected].
From [email protected] Tue May 12 10:40:08 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71941 invoked from network); 12 May 2009 10:40:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 May 2009 10:40:08 -0000 Received: (qmail 80546 invoked by uid 500); 12 May 2009 10:40:08 -0000 Delivered-To: [email protected] Received: (qmail 80533 invoked by uid 500); 12 May 2009 10:40:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.santuario.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 80522 invoked by uid 99); 12 May 2009 10:40:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 May 2009 10:40:08 +0000 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=NO_DNS_FOR_FROM,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO cerberus.wingsofhermes.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 12 May 2009 10:39:58 +0000 Received: (qmail 9577 invoked by uid 1008); 12 May 2009 07:10:02 -0000 Received: from 161.129.204.104 by cerberus (envelope-from <[email protected]>, uid 1002) with qmail-scanner-2.01 (clamdscan: 0.88.4/2030. spamassassin: 3.1.4. Clear:RC:1(161.129.204.104):. Processed in 0.360066 secs); 12 May 2009 07:10:02 -0000 Received: from unknown (HELO ?161.129.204.104?) (161.129.204.104) by 0 with SMTP; 12 May 2009 07:10:01 -0000 Message-ID: <[email protected]> Date: Tue, 12 May 2009 20:39:29 +1000 From: Berin Lautenbach <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:161.129.204.104) Gecko/20080201 SeaMonkey/1.1.8 MIME-Version: 1.0 To: [email protected], [email protected] Subject: [Fwd: [Fwd: [Fwd: ASF Board Report - Initial Reminder for May 2009]]] Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 090511-0, 11/05/2009), Outbound message X-Antivirus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org Does this mean we want to wind up the project? If there is no interest in anyone taking on the chair role I will recommend to the board that the project be moved to the archives. Cheers, Berin -------- Original Message -------- Subject: [Fwd: [Fwd: ASF Board Report - Initial Reminder for May 2009]] Date: Fri, 08 May 2009 19:49:15 +1000 From: Berin Lautenbach <[email protected]> Reply-To: [email protected] To: [email protected] Heya all, Anyone going to pick this up? Any volunteers for chair? Cheers, Berin -------- Original Message -------- Subject: [Fwd: ASF Board Report - Initial Reminder for May 2009] Date: Mon, 04 May 2009 19:13:46 +1000 From: Berin Lautenbach <[email protected]> Reply-To: [email protected] To: [email protected] Hey guys, I think I missed the last one of these. I'm not getting a chance to get to these so I am going to look to someone else to step up and take this on. I've mentioned a couple of times I want to step down as chair - this is it guys :). Someone needs to take over the chair position or I guess we apply to the board to have the project moved to the attic. Cheers, Berin -------- Original Message -------- Subject: ASF Board Report - Initial Reminder for May 2009 Date: 1 May 2009 00:50:05 -0000 From: ASF Board <[email protected]> To: Berin Lautenbach <[email protected]> This email was sent by an automated system on behalf of the ASF Board. It is an initial reminder to give you plenty of time to prepare the report. The meeting is scheduled for Wed, 20 May 2009, 10 am PST and the deadline for submitting your report is two full days prior to that! According to board records, you are listed as the chair of at least one committee that is due to submit a report this month. [1] [2] Details on which project reports are due and how to submit a report are enclosed below. Please submit your report with sufficient time to allow the board members to review and digest. Again, the very latest you should submit your report is two full days (48h) prior to the board meeting. The exact date of the board meeting can be found in the calendar.txt file in the board directory of the committers repository [2]. If you feel that an error has been made, please consult [1] and if there is still an issue then contact the board directly. Thanks, The ASF Board [1] - https://svn.apache.org/repos/private/committers/board/committee-info.txt [2] - https://svn.apache.org/repos/private/committers/board/calendar.txt Submitting your Report ---------------------- Full details about the process and schedule are in [1]. Your report should be sent in plain-text format to [email protected] with a Subject line that follows the below format: Subject: [REPORT] Project Name Cutting and pasting directly from a Wiki is not acceptable due to formatting issues. Line lengths should be limited to 77 characters. The content should also be committed to the meeting agenda in the board directory in the foundation repository. ASF Board Reports ----------------- Reports are due from you for the following committees: - Santuario From [email protected] Tue May 19 09:07:55 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41910 invoked from network); 19 May 2009 09:07:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 May 2009 09:07:55 -0000 Received: (qmail 4056 invoked by uid 500); 19 May 2009 09:07:51 -0000 Delivered-To: [email protected] Received: (qmail 4010 invoked by uid 500); 19 May 2009 09:07:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.santuario.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 3901 invoked by uid 99); 19 May 2009 09:07:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 May 2009 09:07:51 +0000 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=NO_DNS_FOR_FROM,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO cerberus.wingsofhermes.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 19 May 2009 09:07:41 +0000 Received: (qmail 13519 invoked by uid 1008); 19 May 2009 05:37:47 -0000 Received: from 161.129.204.104 by cerberus (envelope-from <[email protected]>, uid 1002) with qmail-scanner-2.01 (clamdscan: 0.88.4/2030. spamassassin: 3.1.4. Clear:RC:1(161.129.204.104):. Processed in 0.319659 secs); 19 May 2009 05:37:47 -0000 Received: from unknown (HELO ?161.129.204.104?) (161.129.204.104) by 0 with SMTP; 19 May 2009 05:37:46 -0000 Message-ID: <[email protected]> Date: Tue, 19 May 2009 19:06:50 +1000 From: Berin Lautenbach <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:161.129.204.104) Gecko/20080201 SeaMonkey/1.1.8 MIME-Version: 1.0 To: [email protected] CC: [email protected] Subject: Re: [Fwd: [Fwd: [Fwd: ASF Board Report - Initial Reminder for May 2009]]] References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 090518-0, 18/05/2009), Outbound message X-Antivirus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org Hiya, It sounds like a reasonable idea - but the main thing is someone needs to take on the accountability to do it. I just don't have the free time anymore to give the project the attention it deserves :(. We've just missed another board report - either someone takes on the responsibility to work out what to do with the project/code or we should recommend the project be shut down. Cheers, Berin Sean Mullan wrote: > Hi Berin, > > What are the benefits of being our own project? We used to be part of > xml.apache.org and I really see no difference since we became our own > project. Also, what are the implications of being archived? This is > still a very important and active project and should not be relegated to > "the attic" or discontinued in any way. Can we go back to being a > project under xml.apache.org? > > Thanks, > Sean > > Berin Lautenbach wrote: >> Does this mean we want to wind up the project? If there is no >> interest in anyone taking on the chair role I will recommend to the >> board that the project be moved to the archives. >> >> Cheers, >> Berin >> >> -------- Original Message -------- >> Subject: [Fwd: [Fwd: ASF Board Report - Initial Reminder for May 2009]] >> Date: Fri, 08 May 2009 19:49:15 +1000 >> From: Berin Lautenbach <[email protected]> >> Reply-To: [email protected] >> To: [email protected] >> >> Heya all, >> >> Anyone going to pick this up? Any volunteers for chair? >> >> Cheers, >> Berin >> >> -------- Original Message -------- >> Subject: [Fwd: ASF Board Report - Initial Reminder for May 2009] >> Date: Mon, 04 May 2009 19:13:46 +1000 >> From: Berin Lautenbach <[email protected]> >> Reply-To: [email protected] >> To: [email protected] >> >> Hey guys, >> >> I think I missed the last one of these. I'm not getting a chance to get >> to these so I am going to look to someone else to step up and take this >> on. I've mentioned a couple of times I want to step down as chair - >> this is it guys :). Someone needs to take over the chair position or I >> guess we apply to the board to have the project moved to the attic. >> >> Cheers, >> Berin >> >> -------- Original Message -------- >> Subject: ASF Board Report - Initial Reminder for May 2009 >> Date: 1 May 2009 00:50:05 -0000 >> From: ASF Board <[email protected]> >> To: Berin Lautenbach <[email protected]> >> >> >> >> This email was sent by an automated system on behalf of the ASF Board. >> It is an initial reminder to give you plenty of time to prepare the >> report. >> >> The meeting is scheduled for Wed, 20 May 2009, 10 am PST and the >> deadline for >> submitting your report is two full days prior to that! >> >> According to board records, you are listed as the chair of at least one >> committee that is due to submit a report this month. [1] [2] >> >> Details on which project reports are due and how to submit a report >> are enclosed below. >> >> Please submit your report with sufficient time to allow the board members >> to review and digest. Again, the very latest you should submit your >> report >> is two full days (48h) prior to the board meeting. >> >> The exact date of the board meeting can be found in the calendar.txt file >> in the board directory of the committers repository [2]. >> >> If you feel that an error has been made, please consult [1] and if there >> is still an issue then contact the board directly. >> >> Thanks, >> The ASF Board >> >> [1] - >> https://svn.apache.org/repos/private/committers/board/committee-info.txt >> [2] - https://svn.apache.org/repos/private/committers/board/calendar.txt >> >> >> >> Submitting your Report >> ---------------------- >> >> Full details about the process and schedule are in [1]. >> >> Your report should be sent in plain-text format to [email protected] >> with a Subject line that follows the below format: >> >> Subject: [REPORT] Project Name >> >> Cutting and pasting directly from a Wiki is not acceptable due to >> formatting >> issues. Line lengths should be limited to 77 characters. The content >> should >> also be committed to the meeting agenda in the board directory in the >> foundation repository. >> >> >> ASF Board Reports >> ----------------- >> >> Reports are due from you for the following committees: >> >> - Santuario >> >> >> >> >> >> > >
From [email protected] Sat May 02 14:42:50 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81548 invoked from network); 2 May 2009 14:42:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 May 2009 14:42:50 -0000 Received: (qmail 96660 invoked by uid 500); 2 May 2009 14:42:46 -0000 Delivered-To: [email protected] Received: (qmail 96120 invoked by uid 500); 2 May 2009 14:42:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 96067 invoked by uid 99); 2 May 2009 14:42:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 May 2009 14:42:45 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO an-out-0708.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 May 2009 14:42:37 +0000 Received: by an-out-0708.google.com with SMTP id c37so1743697anc.43 for <multiple recipients>; Sat, 02 May 2009 07:42:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=5TUDhLCE9oQ8k7IOM3o0leNk9InXbXEBcoQ4lfTdVV4=; b=nSxeI4UVGfoK1W3BBJfBhEJqRq5hxrLkM6q9TSvhwa+CO8VWHuUFqSgkiCaX6UGO2t FfG/c3+n7sVrZAj/oTtQ9NoFrElYwb6n96YNlBGEsWKgomtTU183EmtqVEoJvQKz++qz KBuEo+C2isPZDZtx4paCJ5pycb6qFlDUVFhks= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=vIciEEsZYzi/gsHOr7Sfs7lcVLo8hIE4eEkyEaffYnpjLaXuXgBupHNRLvZSPJc0uU o6NMkgUpB8KMVjShDgXywGQ5zwSm8AemfZm7rxEmUKck/2OGvdK8rLQU/8k90cZvd0Ms Cxi7c1HYkwxJy+WiXNT5okrKQGxWpJ4aTBKuY= Received: by 161.129.204.104 with SMTP id n9mr8404624anh.135.1241275336243; Sat, 02 May 2009 07:42:16 -0700 (PDT) Received: from macdaddy.local (c-66-30-95-139.hsd1.ma.comcast.net [161.129.204.104]) by mx.google.com with ESMTPS id b14sm10312970ana.36.2161.129.204.104.42.15 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 02 May 2009 07:42:15 -0700 (PDT) Message-ID: <[email protected]> Date: Sat, 02 May 2009 10:42:13 -0400 From: Kurt T Stam <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Macintosh/20090302) MIME-Version: 1.0 To: [email protected] CC: [email protected] Subject: Re: [VOTE] Vote on Scout 1.0 References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi guys, So far we're 4+, but we need a few more PMC votes, can I entice a few PMC members to vote on this? Thx, --Kurt Kurt T Stam wrote: > Hi guys, > > It's been some time in the making, and it pretty exciting we can > finally go for the 1.0 vote. > So please vote on the Scout 1.0 release, the build artifacts can be > found at: > > http://people.apache.org/~kstam/releases/scout-1.0/ > > This release adresses the following issues > > * [SCOUT-21] - can't configure transport class property using the > properties in the factory > * [SCOUT-22] - ServiceBindings are not populated when quering for a > organization or service > * [SCOUT-55] - Scout ignores ownership of registry objects when > querying with > BusinessQueryManager.getRegistryObjects(LifeCycleManager.ORGANIZATION) > * [SCOUT-61] - ScoutJaxrUddiHelper returns BindingTemplate without > AccessPoint/HostingRedirector > * [SCOUT-64] - Missing / moved DOAP file > * [SCOUT-67] - ClassCastException in > BusinessQueryManager.getRegistryObject(...,LifeCycleManager.SERVICE) > * [SCOUT-68] - java.lang.NullPointerException in > ScoutUddiJaxrHelper.getServiceBinding(ScoutUddiJaxrHelper.java:437) > * [SCOUT-70] - JAXR060 throws stack traces > * [SCOUT-71] - TModelBag a required element in findBinding > * [SCOUT-75] - Need lazy loading of Organization from ServiceImpl > > Thanks! > > my vote +1 > > --Kurt > > [email protected] > From [email protected] Sat May 02 16:27:25 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38441 invoked from network); 2 May 2009 16:27:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 May 2009 16:27:23 -0000 Received: (qmail 52106 invoked by uid 500); 2 May 2009 16:27:20 -0000 Delivered-To: [email protected] Received: (qmail 51591 invoked by uid 500); 2 May 2009 16:27:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 51582 invoked by uid 99); 2 May 2009 16:27:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 May 2009 16:27:19 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-qy0-f131.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 May 2009 16:27:12 +0000 Received: by qyk37 with SMTP id 37so5448216qyk.30 for <[email protected]>; Sat, 02 May 2009 09:26:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=E5VYYnJb0R6s3WhWJwpiBDNwPz7TMfyyJ+jTiR0LCMc=; b=JqS6XK81pJTMOlgjCUrHkEH/bfCMrCuGtv27/2QBsBR9rEpkAUwCQjd4PmFOdWZCAi TEUh3tVELIicMGt5xemLNQMG9yfGIpYggk/+NBEtk3HbJC5EwmarUY2mOVgliU0Guib8 xJjgCjFLx1UkbGZHoCQ5GNhHVf8ywJeT1EMeA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=kFj78l/vc+KFnbABv3bIB/UJMBRR9iliuRPhg/v9eIwCZjUJC0NqbnDNDVVKectVlE sJqpmJMP6RDoIbrJPtG5WVzR0ZyUSm5875UH6Ch8XIqpkfE9Rnn2Ls8otmpWE8139h7i n5W9lkehleWRQuh9poF3+sa6IJ/p/jBwW5X6Q= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id 4mr4251322qal.362.1241281611714; Sat, 02 May 2009 09:26:51 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Sat, 2 May 2009 12:26:51 -0400 Message-ID: <[email protected]> Subject: Re: [VOTE] Vote on Scout 1.0 From: Benson Margulies <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0015175ca9628852c70468f065f0 X-Virus-Checked: Checked by ClamAV on apache.org --0015175ca9628852c70468f065f0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit +1 on general principles (binding) On Sat, May 2, 2009 at 10:42 AM, Kurt T Stam <[email protected]> wrote: > Hi guys, > > So far we're 4+, but we need a few more PMC votes, can I entice a few PMC > members to vote on this? > > Thx, > > --Kurt > > > Kurt T Stam wrote: > >> Hi guys, >> >> It's been some time in the making, and it pretty exciting we can finally >> go for the 1.0 vote. >> So please vote on the Scout 1.0 release, the build artifacts can be found >> at: >> >> http://people.apache.org/~kstam/releases/scout-1.0/<http://people.apache.org/%7Ekstam/releases/scout-1.0/> >> >> This release adresses the following issues >> >> * [SCOUT-21] - can't configure transport class property using the >> properties in the factory >> * [SCOUT-22] - ServiceBindings are not populated when quering for a >> organization or service >> * [SCOUT-55] - Scout ignores ownership of registry objects when querying >> with BusinessQueryManager.getRegistryObjects(LifeCycleManager.ORGANIZATION) >> * [SCOUT-61] - ScoutJaxrUddiHelper returns BindingTemplate without >> AccessPoint/HostingRedirector >> * [SCOUT-64] - Missing / moved DOAP file >> * [SCOUT-67] - ClassCastException in >> BusinessQueryManager.getRegistryObject(...,LifeCycleManager.SERVICE) >> * [SCOUT-68] - java.lang.NullPointerException in >> ScoutUddiJaxrHelper.getServiceBinding(ScoutUddiJaxrHelper.java:437) >> * [SCOUT-70] - JAXR060 throws stack traces >> * [SCOUT-71] - TModelBag a required element in findBinding >> * [SCOUT-75] - Need lazy loading of Organization from ServiceImpl >> >> Thanks! >> >> my vote +1 >> >> --Kurt >> >> [email protected] >> >> > --0015175ca9628852c70468f065f0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable +1 on general principles (binding)<br><br><div class=3D"gmail_quote">On Sat= , May 2, 2009 at 10:42 AM, Kurt T Stam <span dir=3D"ltr">&lt;<a href=3D"mai= lto:[email protected]">[email protected]</a>&gt;</span> wrote:<br><bloc= kquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 204, = 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Hi guys,<br> <br> So far we&#39;re 4+, =C2=A0but we need a few more PMC votes, can I entice a= few PMC members to vote on this?<br> <br> Thx,<br> <br> --Kurt<br> <br> <br> Kurt T Stam wrote:<br> <blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, = 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Hi guys,<br> <br> It&#39;s been some time in the making, and it pretty exciting we can finall= y go for the 1.0 vote.<br> So please vote on the Scout 1.0 release, the build artifacts can be found a= t:<br> <br> <a href=3D"http://people.apache.org/%7Ekstam/releases/scout-1.0/" target=3D= "_blank">http://people.apache.org/~kstam/releases/scout-1.0/</a><br> <br> This release adresses the following issues<br> <br> =C2=A0* [SCOUT-21] - can&#39;t configure transport class property using th= e properties in the factory<br> =C2=A0* [SCOUT-22] - ServiceBindings are not populated when quering for a = organization or service<br> =C2=A0* [SCOUT-55] - Scout ignores ownership of registry objects when quer= ying with BusinessQueryManager.getRegistryObjects(LifeCycleManager.ORGANIZA= TION)<br> =C2=A0* [SCOUT-61] - ScoutJaxrUddiHelper returns BindingTemplate without A= ccessPoint/HostingRedirector<br> =C2=A0* [SCOUT-64] - Missing / moved DOAP file<br> =C2=A0* [SCOUT-67] - ClassCastException in BusinessQueryManager.getRegistr= yObject(...,LifeCycleManager.SERVICE)<br> =C2=A0* [SCOUT-68] - java.lang.NullPointerException in ScoutUddiJaxrHelper= .getServiceBinding(ScoutUddiJaxrHelper.java:437)<br> =C2=A0* [SCOUT-70] - JAXR060 throws stack traces<br> =C2=A0* [SCOUT-71] - TModelBag a required element in findBinding<br> =C2=A0* [SCOUT-75] - Need lazy loading of Organization from ServiceImpl<br= > <br> Thanks!<br> <br> my vote +1<br> <br> --Kurt<br> <br> kstam at <a href=3D"http://apache.org" target=3D"_blank">apache.org</a><br> <br> </blockquote> <br> </blockquote></div><br> --0015175ca9628852c70468f065f0-- From [email protected] Sun May 03 17:21:03 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11555 invoked from network); 3 May 2009 17:21:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 May 2009 17:21:00 -0000 Received: (qmail 65153 invoked by uid 500); 3 May 2009 17:20:59 -0000 Delivered-To: [email protected] Received: (qmail 64627 invoked by uid 500); 3 May 2009 17:20:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 64611 invoked by uid 99); 3 May 2009 17:20:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 May 2009 17:20:57 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-qy0-f131.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 May 2009 17:20:49 +0000 Received: by qyk37 with SMTP id 37so6115500qyk.30 for <multiple recipients>; Sun, 03 May 2009 10:20:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=RpXUphyFo8klzKTHzh6CoXwn8VfhgeoX4caUdIHMfjA=; b=kCAYHho1dNnYi2BwD1W+XIB+HS6t7vjCQCbOx71UnO0UmZavtif1ImxXNoQqGd2Uzs rkMXFNN/EMIQn9QSx/QgtJrW5pShJEfP2uCrr5MK5HOVbPeSDCeq5qJSuuSSuPaq3GZ6 kkKQtlh/XUWzMt8Sf/JpJHiAWTfG3YL73BjYQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=drUQ+EyZ//kkG7eoXxOz/nDPAwH3s+QmdYQFTAGympK3oQs5v/S+iT6Vc9t4MZPG8B avj1fz0zTJk+o0BUEStr7s/mGkPKSPyYU6ift/OE8y6eE35uGBPraQEm3gexP4Rspp2w c6n+vUg+gDnUExj+tYG8JBerkM2NdsGSbf2lk= Received: by 161.129.204.104 with SMTP id 8mr4945004qak.341.1241371228746; Sun, 03 May 2009 10:20:28 -0700 (PDT) Received: from macdaddy.local (pool-223.752.8119.bstnma.fios.verizon.net [161.129.204.104]) by mx.google.com with ESMTPS id 6sm8330961qwd.42.2161.129.204.104.20.27 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 03 May 2009 10:20:28 -0700 (PDT) Message-ID: <[email protected]> Date: Sun, 03 May 2009 13:20:27 -0400 From: Kurt T Stam <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Macintosh/20090302) MIME-Version: 1.0 To: [email protected], [email protected] Subject: [VOTE] jUDDI release 2.0rc7 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi guys, The issue with the sql create scripts (JUDDI-225 for ALL types of supporthed databases) was fixed and I created new build artifacts, which can be looked at http://people.apache.org/~kstam/releases/juddi-2.0rc7/ It contains fixes for the following issues: * [JUDDI-219] - Add second publisher ID * [JUDDI-220] - Remove error logging of keys from uddiget.jsp * [JUDDI-221] - Escape dsname parameter in happyjuddi.jsp * [JUDDI-222] - ERROR: save_publisher fail. Embedded SQL error. * [JUDDI-225] - create_database.sql failed when I tried to load data. +1 from me. --Kurt [email protected] From [email protected] Mon May 04 15:07:25 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29479 invoked from network); 4 May 2009 15:07:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 May 2009 15:07:19 -0000 Received: (qmail 2599 invoked by uid 500); 4 May 2009 15:07:18 -0000 Delivered-To: [email protected] Received: (qmail 2089 invoked by uid 500); 4 May 2009 15:07:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 2080 invoked by uid 99); 4 May 2009 15:07:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 May 2009 15:07:16 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO web52102.mail.re2.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 04 May 2009 15:07:07 +0000 Received: (qmail 85659 invoked by uid 60001); 4 May 2009 15:06:46 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1241449606; bh=JU1yzYzzNWf0VPwAzAnjcfJTr/2j5CiLnP7XrMGwyjM=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=AbuMgCV2YSqR4lnyHC969nBaVXWZPiKSv1Ssy32oM4QvFdvK3b8Rjlj80OwVZH6r+PQ7RrrGum4P14c1XL1hzfB3s0S5VChTLemuHb8a4aMXK5qlKIj6OCVcdOl5P7Ip8jqcoYPvEjyK///KvwBx4XeQMNrZHf/4Y51IUki3nik= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=O7xC/gJiZ8zce9w03cyZPUEgObrWBkTzsk+n5800BTr3qmdBM7ZIy7HqSxMaCqLl8grtQpyj3npBsObqlqGcFuX5ZBphFzkTypYXKMUxb91/ZHNjDDXQck7X77Hm/RkZzvbR4iYzc4foedEbUHW864nf0J3QlK9H+ZmvRLwnxyE=; Message-ID: <[email protected]> X-YMail-OSG: r07LY9UVM1l2W1.7DRPZ97v2YySOKvC59o6ZaNKlWMr98mDMfqdEm6sLCLPVEX7z5yhaiTpIIEs5ulurBTWpoZX6L5PRafWvbQfyh38eyOPOtDGNclN0LG6kVcn_GiaNcfe6rgC6a0fQIK1g5bOsXPm10IMs0gJ56FabA.BCJbBWBd6CfD4x4ggzxmRhD8eFWeS2Ey6d4ebWvwZ8K7aFhkJeBZR1tr1RbzqREP169E88YCtmxquMplOY6OHotGOI5682bHttkWRbbObzSZA6F08DilC2JwsVG6Z63uXoynWwOSxgOTF6AXMMZ6._LH4LQoTrVT281bYWLKA0JtlA5mlC2iOb1H4_0Q-- Received: from [161.129.204.104] by web52102.mail.re2.yahoo.com via HTTP; Mon, 04 May 2009 08:06:46 PDT X-Mailer: YahooMailWebService/0.7.289.1 Date: Mon, 4 May 2009 08:06:46 -0700 (PDT) From: Anil Saldhana <[email protected]> Reply-To: [email protected] Subject: Re: [VOTE] jUDDI release 2.0rc7 To: [email protected] In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1924862177-1241449606=:70845" X-Virus-Checked: Checked by ClamAV on apache.org --0-1924862177-1241449606=:70845 Content-Type: text/plain; charset=us-ascii +1. Why not just go to 2.0 release now? --- On Sun, 5/3/09, Kurt T Stam <[email protected]> wrote: From: Kurt T Stam <[email protected]> Subject: [VOTE] jUDDI release 2.0rc7 To: [email protected], [email protected] Date: Sunday, May 3, 2009, 12:20 PM Hi guys, The issue with the sql create scripts (JUDDI-225 for ALL types of supporthed databases) was fixed and I created new build artifacts, which can be looked at http://people.apache.org/~kstam/releases/juddi-2.0rc7/ It contains fixes for the following issues: * [JUDDI-219] - Add second publisher ID * [JUDDI-220] - Remove error logging of keys from uddiget.jsp * [JUDDI-221] - Escape dsname parameter in happyjuddi.jsp * [JUDDI-222] - ERROR: save_publisher fail. Embedded SQL error. * [JUDDI-225] - create_database.sql failed when I tried to load data. +1 from me. --Kurt [email protected] --0-1924862177-1241449606=:70845 Content-Type: text/html; charset=us-ascii <table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">+1.<br><br>Why not just go to 2.0 release now?<br><br>--- On <b>Sun, 5/3/09, Kurt T Stam <i>&lt;[email protected]&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">From: Kurt T Stam &lt;[email protected]&gt;<br>Subject: [VOTE] jUDDI release 2.0rc7<br>To: [email protected], [email protected]<br>Date: Sunday, May 3, 2009, 12:20 PM<br><br><pre>Hi guys,<br><br>The issue with the sql create scripts (JUDDI-225 for ALL types of supporthed<br>databases) was fixed and I created new build artifacts, which can be looked at<br><br>http://people.apache.org/~kstam/releases/juddi-2.0rc7/<br><br>It contains fixes for the following issues:<br><br> * [JUDDI-219] - Add second publisher ID<br> * [JUDDI-220] - Remove error logging of keys from uddiget.jsp<br> * [JUDDI-221] - Escape dsname parameter in happyjuddi.jsp<br> * [JUDDI-222] - ERROR: save_publisher fail. Embedded SQL error.<br> * [JUDDI-225] - create_database.sql failed when I tried to load data.<br><br>+1 from me.<br><br>--Kurt<br><br>[email protected]<br><br><br><br></pre></blockquote></td></tr></table><br> --0-1924862177-1241449606=:70845-- From [email protected] Mon May 04 20:59:03 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61777 invoked from network); 4 May 2009 20:59:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 May 2009 20:59:01 -0000 Received: (qmail 44303 invoked by uid 500); 4 May 2009 20:59:00 -0000 Delivered-To: [email protected] Received: (qmail 43790 invoked by uid 500); 4 May 2009 20:58:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 43738 invoked by uid 99); 4 May 2009 20:58:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 May 2009 20:58:59 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO server.dankulp.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 May 2009 20:58:50 +0000 Received: by server.dankulp.com (Postfix, from userid 5000) id C8446197C117; Mon, 4 May 2009 16:58:28 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.2.5-gr0 (2008-06-10) on server.dankulp.com X-Spam-Level: X-Msg-File: /tmp/mailfilter.N4Prc5L9e4 Received: from dilbert.localnet (c-24-91-141-225.hsd1.ma.comcast.net [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server.dankulp.com (Postfix) with ESMTP id 02224197C0F9; Mon, 4 May 2009 16:58:23 -0400 (EDT) From: Daniel Kulp <[email protected]> To: [email protected] Subject: Re: [VOTE] jUDDI release 2.0rc7 Date: Mon, 4 May 2009 16:58:22 -0400 User-Agent: KMail/1.11.2 (Linux/2.6.29-gentoo; KDE/4.2.2; x86_64; ; ) Cc: Kurt T Stam <[email protected]>, [email protected] References: <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-0.6 required=3.0 tests=AWL,BAYES_00,RCVD_IN_PBL, RCVD_IN_SORBS_DUL,RDNS_DYNAMIC autolearn=no version=3.2.5-gr0 -1 1) The LICENSE file is completely bogus. It's not the proper Apache LICENSE file. It also doesn't contain the license entries for any of the included third party jars. 2) There isn't a NOTICE file anywhere to be seen. 3) Where is the source distribution? Apache releases Open SOURCE software. There needs to be a source distribution included for the dist dir on www.apache.org. Most likely just a tarball of the tag. Dan On Sun May 3 2009 1:20:27 pm Kurt T Stam wrote: > Hi guys, > > The issue with the sql create scripts (JUDDI-225 for ALL types of > supporthed databases) was fixed and I created new build artifacts, which > can be looked at > > http://people.apache.org/~kstam/releases/juddi-2.0rc7/ > > It contains fixes for the following issues: > > * [JUDDI-219] - Add second publisher ID > * [JUDDI-220] - Remove error logging of keys from uddiget.jsp > * [JUDDI-221] - Escape dsname parameter in happyjuddi.jsp > * [JUDDI-222] - ERROR: save_publisher fail. Embedded SQL error. > * [JUDDI-225] - create_database.sql failed when I tried to load data. > > +1 from me. > > --Kurt > > [email protected] -- Daniel Kulp [email protected] http://www.dankulp.com/blog From [email protected] Wed May 06 14:47:49 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53436 invoked from network); 6 May 2009 14:47:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 May 2009 14:47:46 -0000 Received: (qmail 4150 invoked by uid 500); 6 May 2009 14:47:45 -0000 Delivered-To: [email protected] Received: (qmail 3523 invoked by uid 500); 6 May 2009 14:47:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 3506 invoked by uid 99); 6 May 2009 14:47:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 May 2009 14:47:43 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO an-out-0708.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 May 2009 14:47:34 +0000 Received: by an-out-0708.google.com with SMTP id c37so74477anc.43 for <multiple recipients>; Wed, 06 May 2009 07:47:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=qlJ/0A5OonjU4mFPZWEIpV9Vgrr6hcNI77QsroPxcSs=; b=UVHV4LVCH5z+Pmo5UGtUUrbisX+yErEQMOI0T+PvinUSyqlDUMd9pZRykPwNtxPq+A 1ZBKEPJy0F61cxXvU1fK15mngaizdkoeEVwvJwCou4llJ72IXV6q/MSEpAVhRStO+Ojh cj987UMLIXKi3U/JMCfnfzcxPd+P09V9Opml8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=spURPrQmkz55TjhRyf/LdhvpT9vvDl5R7CbxoAW2etjTADzlkK/rqBrzJei7cj/yqe jRa4rx/ulA9qz2Y+opUWHd2jLzA/FlBsGB6weueufEWr13gE5lzbUtMBqn2z9b5uxWJB k+wNW0kJNAfktgUapnh6gZFJ+H/1GD4kOoQm8= Received: by 161.129.204.104 with SMTP id n17mr1610366ang.125.1241621233057; Wed, 06 May 2009 07:47:13 -0700 (PDT) Received: from macdaddy.local (c-66-30-95-139.hsd1.ma.comcast.net [161.129.204.104]) by mx.google.com with ESMTPS id b14sm3213120ana.16.2161.129.204.104.47.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 06 May 2009 07:47:12 -0700 (PDT) Message-ID: <[email protected]> Date: Wed, 06 May 2009 10:47:11 -0400 From: Kurt T Stam <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Macintosh/20090302) MIME-Version: 1.0 To: [email protected] CC: [email protected], Kurt T Stam <[email protected]> Subject: Re: [VOTE] jUDDI release 2.0rc7 References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Thanks Daniel, You're making some good points. We've started work to rectify the issues you brought up. We're sort of under the gun to put out this 2.0rc7 release, so we're leaning towards putting it out as is (I think we have enough votes) and then following it up by a 2.0 release next week or so. Please let us know if this unacceptable. Thx, --Kurt Daniel Kulp wrote: > -1 > > 1) The LICENSE file is completely bogus. It's not the proper Apache LICENSE > file. It also doesn't contain the license entries for any of the included > third party jars. > > 2) There isn't a NOTICE file anywhere to be seen. > > 3) Where is the source distribution? Apache releases Open SOURCE software. > There needs to be a source distribution included for the dist dir on > www.apache.org. Most likely just a tarball of the tag. > > Dan > > > On Sun May 3 2009 1:20:27 pm Kurt T Stam wrote: > >> Hi guys, >> >> The issue with the sql create scripts (JUDDI-225 for ALL types of >> supporthed databases) was fixed and I created new build artifacts, which >> can be looked at >> >> http://people.apache.org/~kstam/releases/juddi-2.0rc7/ >> >> It contains fixes for the following issues: >> >> * [JUDDI-219] - Add second publisher ID >> * [JUDDI-220] - Remove error logging of keys from uddiget.jsp >> * [JUDDI-221] - Escape dsname parameter in happyjuddi.jsp >> * [JUDDI-222] - ERROR: save_publisher fail. Embedded SQL error. >> * [JUDDI-225] - create_database.sql failed when I tried to load data. >> >> +1 from me. >> >> --Kurt >> >> [email protected] >> > > From [email protected] Wed May 06 15:01:52 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58446 invoked from network); 6 May 2009 15:01:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 May 2009 15:01:48 -0000 Received: (qmail 25641 invoked by uid 500); 6 May 2009 15:01:47 -0000 Delivered-To: [email protected] Received: (qmail 25176 invoked by uid 500); 6 May 2009 15:01:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 25167 invoked by uid 99); 6 May 2009 15:01:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 May 2009 15:01:46 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO server.dankulp.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 May 2009 15:01:36 +0000 Received: by server.dankulp.com (Postfix, from userid 5000) id B8AEE197C11C; Wed, 6 May 2009 11:01:15 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.2.5-gr0 (2008-06-10) on server.dankulp.com X-Spam-Level: X-Msg-File: /tmp/mailfilter.F7a8Z7p20R Received: from dilbert.localnet (c-24-91-141-225.hsd1.ma.comcast.net [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server.dankulp.com (Postfix) with ESMTP id D3F54197C04F; Wed, 6 May 2009 11:01:10 -0400 (EDT) From: Daniel Kulp <[email protected]> To: [email protected] Subject: Re: [VOTE] jUDDI release 2.0rc7 Date: Wed, 6 May 2009 11:01:12 -0400 User-Agent: KMail/1.11.2 (Linux/2.6.29-gentoo; KDE/4.2.2; x86_64; ; ) Cc: Kurt T Stam <[email protected]>, [email protected] References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-0.6 required=3.0 tests=AWL,BAYES_00,RCVD_IN_PBL, RCVD_IN_SORBS_DUL,RDNS_DYNAMIC autolearn=no version=3.2.5-gr0 On Wed May 6 2009 10:47:11 am Kurt T Stam wrote: > Thanks Daniel, > > You're making some good points. We've started work to rectify the issues > you brought up. We're sort of under the gun to put out this 2.0rc7 > release, so we're leaning towards putting it out as is (I think we have > enough votes) and then following it up by a 2.0 release next week or so. No, you don't have enough votes. You only have a single binding vote (Steve Viens). The other votes are non-binding. (my vote is non-binding as well) In anycase, I don't think it's acceptable. The artifacts don't meet the minimum requirements for releases from Apache. Thus, they need to be redone and a new vote started. Dan > > Please let us know if this unacceptable. > > Thx, > > --Kurt > > Daniel Kulp wrote: > > -1 > > > > 1) The LICENSE file is completely bogus. It's not the proper Apache > > LICENSE file. It also doesn't contain the license entries for any of > > the included third party jars. > > > > 2) There isn't a NOTICE file anywhere to be seen. > > > > 3) Where is the source distribution? Apache releases Open SOURCE > > software. There needs to be a source distribution included for the dist > > dir on www.apache.org. Most likely just a tarball of the tag. > > > > Dan > > > > On Sun May 3 2009 1:20:27 pm Kurt T Stam wrote: > >> Hi guys, > >> > >> The issue with the sql create scripts (JUDDI-225 for ALL types of > >> supporthed databases) was fixed and I created new build artifacts, which > >> can be looked at > >> > >> http://people.apache.org/~kstam/releases/juddi-2.0rc7/ > >> > >> It contains fixes for the following issues: > >> > >> * [JUDDI-219] - Add second publisher ID > >> * [JUDDI-220] - Remove error logging of keys from uddiget.jsp > >> * [JUDDI-221] - Escape dsname parameter in happyjuddi.jsp > >> * [JUDDI-222] - ERROR: save_publisher fail. Embedded SQL error. > >> * [JUDDI-225] - create_database.sql failed when I tried to load > >> data. > >> > >> +1 from me. > >> > >> --Kurt > >> > >> [email protected] -- Daniel Kulp [email protected] http://www.dankulp.com/blog From [email protected] Sun May 17 19:13:39 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40265 invoked from network); 17 May 2009 19:13:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 May 2009 19:13:37 -0000 Received: (qmail 82631 invoked by uid 500); 17 May 2009 19:13:36 -0000 Delivered-To: [email protected] Received: (qmail 82094 invoked by uid 500); 17 May 2009 19:13:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 82085 invoked by uid 99); 17 May 2009 19:13:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 May 2009 19:13:34 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 May 2009 19:13:31 +0000 Received: from eos.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id 3C8E8118BF for <[email protected]>; Sun, 17 May 2009 19:13:10 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <[email protected]> To: [email protected] Date: Sun, 17 May 2009 19:13:09 -0000 Message-ID: <[email protected]> Subject: [Ws Wiki] Update of "FrontPage" by GlenDaniels X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification. The following page has been changed by GlenDaniels: http://wiki.apache.org/ws/FrontPage ------------------------------------------------------------------------------ = Welcome to the Apache Web Services Wiki = This wiki is part of the [wiki:ApacheGeneral:FrontPage big Apache Wiki Farm]. + + = Web Services PMC Organization Discussion = + The WS PMC is going to be undergoing some changes to reduce the number of subprojects. This will likely mean promoting some subprojects to top-level PMCs (which may themselves have subprojects), and perhaps retiring others. The linked page is to record proposals, in hopes that we can reach a consensus with which everyone is happy. + * [wiki:WebServicesPMCReorg Web Services PMC Structure] = 'Web Services Reading Room' = * [wiki:WebServicesReadingRoom Web Services Reading Room] From [email protected] Sun May 17 19:21:52 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44133 invoked from network); 17 May 2009 19:21:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 May 2009 19:21:52 -0000 Received: (qmail 83704 invoked by uid 500); 17 May 2009 19:15:12 -0000 Delivered-To: [email protected] Received: (qmail 83200 invoked by uid 500); 17 May 2009 19:15:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 83191 invoked by uid 99); 17 May 2009 19:15:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 May 2009 19:15:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 May 2009 19:15:07 +0000 Received: from eos.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id F12D0118BF for <[email protected]>; Sun, 17 May 2009 19:14:46 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <[email protected]> To: [email protected] Date: Sun, 17 May 2009 19:14:46 -0000 Message-ID: <[email protected]> Subject: [Ws Wiki] Update of "FrontPage" by GlenDaniels X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification. The following page has been changed by GlenDaniels: http://wiki.apache.org/ws/FrontPage ------------------------------------------------------------------------------ = Web Services PMC Organization Discussion = The WS PMC is going to be undergoing some changes to reduce the number of subprojects. This will likely mean promoting some subprojects to top-level PMCs (which may themselves have subprojects), and perhaps retiring others. The linked page is to record proposals, in hopes that we can reach a consensus with which everyone is happy. - * [wiki:WebServicesPMCReorg Web Services PMC Structure] + * [wiki:/WebServicesPMCReorg Web Services PMC Structure] = 'Web Services Reading Room' = * [wiki:WebServicesReadingRoom Web Services Reading Room] From [email protected] Sun May 17 19:40:07 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48450 invoked from network); 17 May 2009 19:40:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 May 2009 19:40:06 -0000 Received: (qmail 95993 invoked by uid 500); 17 May 2009 19:40:05 -0000 Delivered-To: [email protected] Received: (qmail 95446 invoked by uid 500); 17 May 2009 19:40:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 95437 invoked by uid 99); 17 May 2009 19:40:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 May 2009 19:40:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 May 2009 19:40:00 +0000 Received: from eos.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id 98924118BA for <[email protected]>; Sun, 17 May 2009 19:39:39 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <[email protected]> To: [email protected] Date: Sun, 17 May 2009 19:39:39 -0000 Message-ID: <[email protected]> Subject: [Ws Wiki] Update of "FrontPage/WebServicesPMCReorg" by GlenDaniels X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification. The following page has been changed by GlenDaniels: http://wiki.apache.org/ws/FrontPage/WebServicesPMCReorg New page: = Web Services PMC Re-organization = This page exists to capture points of discussion and proposals regarding the Web Service PMC and how we should re-organize it in order to better serve the individual projects and the broader user community. == Points of Discussion == A "blackboard" for noting salient points in the discussion. * Transports are only ever used in an Axis2 environment. * Other projects (i.e. Abdera) use Axiom * Other projects (i.e. CXF) use XmlSchema == Proposals == Concrete proposals here, with rationales. === Leave it alone === This proposal is the simplest, as it simply states "everything is ok as it is and we should leave it that way". The implication here is that even though we are a large project and look like an "umbrella", we are still doing a good job of oversight and community management. Also, even though it might make organizational sense to reduce the number of subprojects, the reality is that a WS developer often needs to touch multiple subprojects (i.e. an Axis2 developer may need to work on Axiom, a Neethi developer might have to fix things in Axis2 after changes, etc). As such keeping them together might make sense. === Split it #1 === Phase 1: * Promote Axis2 to a TLP containing Axis2 Java + C, and the transports. * Promote WS-Commons to a TLP containing at least Axiom, Neethi, XmlSchema Phase 2: * Decide which if any of the remaining subprojects should be promoted or retired to the Attic. === Split it #2 === There are a variety of ways we might consider splitting the project... From [email protected] Sun May 17 19:54:54 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52565 invoked from network); 17 May 2009 19:54:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 May 2009 19:54:51 -0000 Received: (qmail 2512 invoked by uid 500); 17 May 2009 19:54:50 -0000 Delivered-To: [email protected] Received: (qmail 2017 invoked by uid 500); 17 May 2009 19:54:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 2008 invoked by uid 99); 17 May 2009 19:54:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 May 2009 19:54:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 May 2009 19:54:46 +0000 Received: from eos.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id 07678118BA for <[email protected]>; Sun, 17 May 2009 19:54:24 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <[email protected]> To: [email protected] Date: Sun, 17 May 2009 19:54:24 -0000 Message-ID: <[email protected]> Subject: [Ws Wiki] Update of "FrontPage/WebServicesPMCReorg" by GlenDaniels X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification. The following page has been changed by GlenDaniels: http://wiki.apache.org/ws/FrontPage/WebServicesPMCReorg ------------------------------------------------------------------------------ == Proposals == - Concrete proposals here, with rationales. + Concrete proposals here, with rationales. If you favor a particular proposal, add your name to the list next to it - and feel free to change your opinions as the discussion moves forward, this is NOT an official vote. === Leave it alone === This proposal is the simplest, as it simply states "everything is ok as it is and we should leave it that way". The implication here is that even though we are a large project and look like an "umbrella", we are still doing a good job of oversight and community management. Also, even though it might make organizational sense to reduce the number of subprojects, the reality is that a WS developer often needs to touch multiple subprojects (i.e. an Axis2 developer may need to work on Axiom, a Neethi developer might have to fix things in Axis2 after changes, etc). As such keeping them together might make sense. + + ''Supporters:'' === Split it #1 === @@ -31, +33 @@ * Decide which if any of the remaining subprojects should be promoted or retired to the Attic. + ''Supporters:'' + === Split it #2 === There are a variety of ways we might consider splitting the project... From [email protected] Sun May 17 20:18:10 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57615 invoked from network); 17 May 2009 20:18:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 May 2009 20:18:05 -0000 Received: (qmail 13920 invoked by uid 500); 17 May 2009 20:18:03 -0000 Delivered-To: [email protected] Received: (qmail 13398 invoked by uid 500); 17 May 2009 20:18:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 13270 invoked by uid 99); 17 May 2009 20:18:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 May 2009 20:18:01 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO aalto.aaltohost.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 May 2009 20:17:52 +0000 Received: by aalto.aaltohost.com (Postfix, from userid 1017) id E29EB488358; Sun, 17 May 2009 16:17:30 -0400 (EDT) Received: from [161.129.204.104] (pool-96-237-119-225.bstnma.fios.verizon.net [161.129.204.104]) (using SMTP over TLS) by localhost.localdomain (tmda-ofmipd) with ESMTP; Sun, 17 May 2009 15:17:24 -0500 Message-ID: <[email protected]> Date: Sun, 17 May 2009 16:17:05 -0400 User-Agent: Thunderbird 161.129.204.104 (Windows/20090302) MIME-Version: 1.0 To: "[email protected]" <[email protected]> CC: Axis-Dev <[email protected]>, [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], wss4j-dev <[email protected]>, [email protected] Subject: Web Services PMC - Organization and futures X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Glen Daniels <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org [PLEASE KEEP REPLIES TO THIS THREAD ON "general@ws". If you're not on it and interested, please subscribe.] Hi all: June approaches, and with it another WS PMC board report. After the March report, we were again asked by the board what's up with our project's organization. As such, I'd like to re-open this discussion here, in hopes that we can achieve a real consensus this time around, whatever the outcome. PLEASE NOTE - we all have opinions, and while we certainly would like to sway others to our point of view, let's make sure that we keep the conversation respectful and considerate of each other's ideas (no matter how totally insane they might sound to us. :) ). Toward this end I've spun up a wiki page: http://wiki.apache.org/ws/FrontPage/WebServicesPMCReorg I'd like to record the proposals here, as well as a bullet-item list of points that people think are important to consider in the discussion. I did a very quick start of a couple of items, please feel free to jump in and add / edit stuff. If it looks like we're heading towards some kind of agreement in the next couple of weeks, that's awesome. If it appears we can't reach consensus, I'd love to hear ideas as to how we should proceed - but for now, let's just talk about it again and see what comes up. Thanks, --Glen Your friendly neighborhood PMC chair From [email protected] Sun May 17 20:33:40 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61387 invoked from network); 17 May 2009 20:33:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 May 2009 20:33:34 -0000 Received: (qmail 21973 invoked by uid 500); 17 May 2009 20:33:33 -0000 Delivered-To: [email protected] Received: (qmail 21458 invoked by uid 500); 17 May 2009 20:33:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 21449 invoked by uid 99); 17 May 2009 20:33:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 May 2009 20:33:31 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 May 2009 20:33:22 +0000 Received: from eos.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id 82B22118BA for <[email protected]>; Sun, 17 May 2009 20:33:01 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <[email protected]> To: [email protected] Date: Sun, 17 May 2009 20:33:01 -0000 Message-ID: <[email protected]> Subject: [Ws Wiki] Update of "FrontPage/WebServicesPMCReorg" by BensonMargulies X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification. The following page has been changed by BensonMargulies: http://wiki.apache.org/ws/FrontPage/WebServicesPMCReorg ------------------------------------------------------------------------------ * Transports are only ever used in an Axis2 environment. * Other projects (i.e. Abdera) use Axiom * Other projects (i.e. CXF) use XmlSchema + + === Notes on XML Schema === + + While CXF (and and presumably Axis) depend on XmlSchema, the committer community is tiny. The combination of it with the other commons items doesn't help very much in achieving critical mass, since the subject matter is so disparate. Given the apparent push toward taking release votes more seriously, this is a matter of real concern. Maybe it can be addressed in the proposal(s) below by actively recruiting more interested parties to the relevant PMC. Or, maybe CXF would make a better home, insofar as there is active work at CXF that depends on ongoing maintenance and improvement of Xml Schema. Another possibility is Xerces. After all, W3C XML Schema is not uniquely, or even primarily, a web service technology. I had a recent discussion with the Xerces-dev community. Initially, the reaction was to express distress that XmlSchema had ever been invented, insofar as it was 'just another' package that solved problems addressed elsewhere. However, further exploration revealed tha t the code inside Xerces (not to mention stuff [email protected]) doesn't address the same use cases as XmlSchema does. Thus, more discussion might come up with a plan to push XmlSchema in with the rest of ASF's XML universe. + == Proposals == From [email protected] Mon May 18 19:15:04 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 55042 invoked from network); 18 May 2009 19:15:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 May 2009 19:15:02 -0000 Received: (qmail 11686 invoked by uid 500); 18 May 2009 19:15:02 -0000 Delivered-To: [email protected] Received: (qmail 11170 invoked by uid 500); 18 May 2009 19:15:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 11161 invoked by uid 99); 18 May 2009 19:15:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 May 2009 19:15:00 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 May 2009 19:14:58 +0000 Received: from eos.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id 40B291149F for <[email protected]>; Mon, 18 May 2009 19:14:38 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <[email protected]> To: [email protected] Date: Mon, 18 May 2009 19:14:38 -0000 Message-ID: <[email protected]> Subject: [Ws Wiki] Update of "FrontPage/WebServicesPMCReorg" by DavidIllsley X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification. The following page has been changed by DavidIllsley: http://wiki.apache.org/ws/FrontPage/WebServicesPMCReorg The comment on the change is: Adding another split option that springs to mind ------------------------------------------------------------------------------ === Split it #2 === + * Promote Axis2 to a TLP containing Axis2 Java + C, the transports, Neethi, and Kandula/Rampart/Sandesha. + * Promote WS-Commons to a TLP containing at least Axiom, XmlSchema (tempted to suggest calling this TLP Axiom and rename XmlSchema to Apache Axiom XmlSchema) + + Reasoning: + * The Kandula/Rampart/Sandesha lists are sufficiently light that mixing the lists into one Axis2 community is practical (and promoting to TLP unlikely, and pushing to the attic extreme). + * Not proposing putting these back into the Axis2 builds... just combining the lists. + * Neethi is primarily used by Axis2 and is a small codebase. + * There's no reason that even if part of the Axis2 community, Neethi cannot be released on a different schedule if necessary. + * Axiom and XmlSchema have scope for growth (community and code) outwith Axis2, and putting them in a branded TLP is the best chance of this. + + ''Supporters:'' + + === Split it #3 === + There are a variety of ways we might consider splitting the project... From [email protected] Mon May 18 19:45:02 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 67028 invoked from network); 18 May 2009 19:44:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 May 2009 19:44:58 -0000 Received: (qmail 69294 invoked by uid 500); 18 May 2009 19:44:57 -0000 Delivered-To: [email protected] Received: (qmail 68769 invoked by uid 500); 18 May 2009 19:44:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 68760 invoked by uid 99); 18 May 2009 19:44:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 May 2009 19:44:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 May 2009 19:44:54 +0000 Received: from eos.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id DA5771149F for <[email protected]>; Mon, 18 May 2009 19:44:33 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <[email protected]> To: [email protected] Date: Mon, 18 May 2009 19:44:33 -0000 Message-ID: <[email protected]> Subject: [Ws Wiki] Update of "FrontPage/WebServicesPMCReorg" by antelder X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification. The following page has been changed by antelder: http://wiki.apache.org/ws/FrontPage/WebServicesPMCReorg ------------------------------------------------------------------------------ * Transports are only ever used in an Axis2 environment. * Other projects (i.e. Abdera) use Axiom - * Other projects (i.e. CXF) use XmlSchema + * Other projects (i.e. CXF) use XmlSchema (Tuscany uses Axis2, Rampart, AXIOM, XmlSchema and Neethi) + === Notes on XML Schema === From [email protected] Mon May 18 19:54:19 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71587 invoked from network); 18 May 2009 19:54:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 May 2009 19:54:15 -0000 Received: (qmail 85665 invoked by uid 500); 18 May 2009 19:54:11 -0000 Delivered-To: [email protected] Received: (qmail 85146 invoked by uid 500); 18 May 2009 19:54:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 85122 invoked by uid 99); 18 May 2009 19:54:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 May 2009 19:54:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 May 2009 19:54:06 +0000 Received: from eos.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id BA5901149F for <[email protected]>; Mon, 18 May 2009 19:53:45 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <[email protected]> To: [email protected] Date: Mon, 18 May 2009 19:53:45 -0000 Message-ID: <[email protected]> Subject: [Ws Wiki] Update of "FrontPage/WebServicesPMCReorg" by DanKulp X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification. The following page has been changed by DanKulp: http://wiki.apache.org/ws/FrontPage/WebServicesPMCReorg ------------------------------------------------------------------------------ * Transports are only ever used in an Axis2 environment. * Other projects (i.e. Abdera) use Axiom * Other projects (i.e. CXF) use XmlSchema (Tuscany uses Axis2, Rampart, Axiom, XmlSchema and Neethi) + * Other projects also use WSS4J extensively (Spring WebServices, CXF, etc...) === Notes on XML Schema === @@ -39, +40 @@ * Decide which if any of the remaining subprojects should be promoted or retired to the Attic. + ''Comments:'' + * dkulp: I would add WSS4J and Woden onto the second bullet for immediate promotion into the ws-commons as both are fairly heavily used and WSS4J is definitely being actively developed. Add Kandula/Rampart/Sandesha to the first bullet. + ''Supporters:'' + * dkulp (with the changes in my above comment) + === Split it #2 === From [email protected] Mon May 18 19:57:27 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74174 invoked from network); 18 May 2009 19:57:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 May 2009 19:57:26 -0000 Received: (qmail 78815 invoked by uid 500); 18 May 2009 19:50:46 -0000 Delivered-To: [email protected] Received: (qmail 78307 invoked by uid 500); 18 May 2009 19:50:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 78298 invoked by uid 99); 18 May 2009 19:50:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 May 2009 19:50:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 May 2009 19:50:41 +0000 Received: from eos.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id 602B91149F for <[email protected]>; Mon, 18 May 2009 19:50:20 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <[email protected]> To: [email protected] Date: Mon, 18 May 2009 19:50:20 -0000 Message-ID: <[email protected]> Subject: [Ws Wiki] Trivial Update of "FrontPage/WebServicesPMCReorg" by antelder X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification. The following page has been changed by antelder: http://wiki.apache.org/ws/FrontPage/WebServicesPMCReorg ------------------------------------------------------------------------------ * Transports are only ever used in an Axis2 environment. * Other projects (i.e. Abdera) use Axiom - * Other projects (i.e. CXF) use XmlSchema (Tuscany uses Axis2, Rampart, AXIOM, XmlSchema and Neethi) + * Other projects (i.e. CXF) use XmlSchema (Tuscany uses Axis2, Rampart, Axiom, XmlSchema and Neethi) === Notes on XML Schema ===
From [email protected] Wed Aug 01 09:21:04 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86707 invoked from network); 1 Aug 2007 09:21:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Aug 2007 09:21:03 -0000 Received: (qmail 57373 invoked by uid 500); 1 Aug 2007 09:21:02 -0000 Delivered-To: [email protected] Received: (qmail 57295 invoked by uid 500); 1 Aug 2007 09:21:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 57258 invoked by uid 99); 1 Aug 2007 09:21:01 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO correo.inerza.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2007 02:20:58 -0700 Received: from jsantos ([161.129.204.104]) by correo.inerza.com with Microsoft SMTPSVC856.683.6701); Wed, 1 Aug 2007 10:17:38 +0100 From: =?iso-8859-1?Q?Jaime_Santos_Alc=F3n?= <[email protected]> To: <[email protected]> Subject: unsubscribe Date: Wed, 1 Aug 2007 11:20:08 +0200 Message-ID: <001501c7d41d$3264dec0$972e9c40$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcfTqAhEGemhfdpxQua1JDfbCwTSdgAALvfQAB0VmPA= Content-Language: es X-OriginalArrivalTime: 01 Aug 2007 09:17:39.0661 (UTC) FILETIME=[CEC617D0:01C7D41C] X-Virus-Checked: Checked by ClamAV on apache.org Unsuscribe unsuscribe From [email protected] Wed Aug 01 09:38:52 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92874 invoked from network); 1 Aug 2007 09:38:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Aug 2007 09:38:07 -0000 Received: (qmail 90888 invoked by uid 500); 1 Aug 2007 09:37:51 -0000 Delivered-To: [email protected] Received: (qmail 87210 invoked by uid 500); 1 Aug 2007 09:37:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 81953 invoked by uid 99); 1 Aug 2007 09:35:33 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO 202-124-246-50.dedsvrs.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2007 02:35:28 -0700 Received: (qmail 15494 invoked from network); 1 Aug 2007 19:33:01 +1000 Received: from spectr11.lnk.telstra.net (HELO v) (161.129.204.104) by 202-124-246-50.dedsvrs.net with SMTP; 1 Aug 2007 19:33:01 +1000 From: "Vijay Santhanam" <[email protected]> To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <018b01c7d3e6$5d8cb5f0$18a621d0$@com> <007801c7d3ed$365330c0$a2f99240$@[email protected]> In-Reply-To: <007801c7d3ed$365330c0$a2f99240$@[email protected]> Subject: RE: Lucene in Action (relevance and usefulness) Date: Wed, 1 Aug 2007 19:33:44 +1000 Message-ID: <01a501c7d41f$0e424fd0$2ac6ef70$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcfTu3DoEPVQyAP2Q5C1z7CBYcvAYQAKj4EAAAHRfnAADHuJsA== Content-Language: en-au X-Virus-Checked: Checked by ClamAV on apache.org >The API may be a little different, but the javadocs are good as an API > reference. Lucene in Action is great as an architectural introduction. That's a better way of putting it. -Vijay =A0 -----Original Message----- From: Dean Harding [mailto:[email protected]]=20 Sent: Wednesday, 1 August 2007 1:37 PM To: [email protected] Subject: RE: Lucene in Action (relevance and usefulness) > The book is still immensely useful, but API differences may cause new > readers some confusion. Dean. __________ NOD32 2220 (20070426) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com From [email protected] Wed Aug 01 09:57:54 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 98844 invoked from network); 1 Aug 2007 09:57:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Aug 2007 09:57:54 -0000 Received: (qmail 16842 invoked by uid 500); 1 Aug 2007 09:57:54 -0000 Delivered-To: [email protected] Received: (qmail 16821 invoked by uid 500); 1 Aug 2007 09:57:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 16812 invoked by uid 99); 1 Aug 2007 09:57:53 -0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO an-out-0708.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2007 02:57:53 -0700 Received: by an-out-0708.google.com with SMTP id b33so22700ana for <[email protected]>; Wed, 01 Aug 2007 02:57:15 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=AOS4+3xdlUf2QRWNOHPX1j0BlaEmZ1vyU4GKoQXZkSSGJhKPlUa2EpPpEkC5JfFcsqbpBbtB5r7tc9TYSv7gMWlsRL7AYgPUNZ209BItX9gpZSUTLfzIjvyL0RyXZnIdof/6tXLxHBEkRVBfVR56ERjSbSknuTZFujGDaQ0jYFY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=BN9sz5Xb4jvMpnk2K9CAMNfdOtC+Z5FP0OIOIbgGJjT0vDq3vEClCgOWpaerprWnXOofCjQyBYYcMSpN1hNaZFmP0Yw7FDaaoRshqTzw5bBcp81BmMLfJlIgy/YEJrNXmLxzVXy4ehwBjTjRCPh00xLPoRkW+4voAlP8PWTr74U= Received: by 161.129.204.104 with SMTP id m17mr292353anf.1185962235296; Wed, 01 Aug 2007 02:57:15 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Wed, 1 Aug 2007 02:57:15 -0700 (PDT) Message-ID: <[email protected]> Date: Wed, 1 Aug 2007 10:57:15 +0100 From: "Ciaran Roarty" <[email protected]> To: [email protected] Subject: Re: Lucene in Action (relevance and usefulness) In-Reply-To: <01a501c7d41f$0e424fd0$2ac6ef70$@com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_89051_28795002.1185962235255" References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <018b01c7d3e6$5d8cb5f0$18a621d0$@com> <01a501c7d41f$0e424fd0$2ac6ef70$@com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_89051_28795002.1185962235255 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Agreed, to understand what Lucene does and how it works, Lucene in Action is invaluable. The API may have moved on but the core is still similar. On 01/08/07, Vijay Santhanam <[email protected]> wrote: > > >The API may be a little different, but the javadocs are good as an API > > reference. Lucene in Action is great as an architectural introduction. > > That's a better way of putting it. > > -Vijay > > > > > -----Original Message----- > From: Dean Harding [mailto:[email protected]] > Sent: Wednesday, 1 August 2007 1:37 PM > To: [email protected] > Subject: RE: Lucene in Action (relevance and usefulness) > > > The book is still immensely useful, but API differences may cause new > > readers some confusion. > > > Dean. > > > > __________ NOD32 2220 (20070426) Information __________ > > This message was checked by NOD32 antivirus system. > http://www.eset.com > > > ------=_Part_89051_28795002.1185962235255-- From [email protected] Sat Aug 11 17:13:08 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59088 invoked from network); 11 Aug 2007 17:13:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Aug 2007 17:13:07 -0000 Received: (qmail 99372 invoked by uid 500); 11 Aug 2007 17:13:05 -0000 Delivered-To: [email protected] Received: (qmail 99223 invoked by uid 500); 11 Aug 2007 17:13:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 99213 invoked by uid 99); 11 Aug 2007 17:13:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Aug 2007 10:13:05 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO ps02.vds2000.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Aug 2007 17:13:04 +0000 Received: (qmail 32024 invoked from network); 11 Aug 2007 13:12:36 -0400 Received: from bi01pt1.ct.us.ibm.com (HELO aroushlt) (161.129.204.104) by aroush.net with SMTP; 11 Aug 2007 13:12:35 -0400 From: "George Aroush" <[email protected]> To: <[email protected]>, <[email protected]> Subject: Apache Lucene.Net 2.1 build 002 "Beta" released Date: Sat, 11 Aug 2007 13:13:06 -0400 Message-ID: <0de201c7dc3a$e2bcdaf0$90832209@aroushlt> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 Thread-Index: AcfcOuIo7nsWBTEiQxe1ThfosvBN5w== X-Virus-Checked: Checked by ClamAV on apache.org Hi Folks, I just released Apache Lucene.Net 2.1 build 002 as beta. The changes in this release is: - Release: Apache Lucene.Net.2.1 build 002 "Beta" - Port: Ported the "Test" code from Java to C# - Fix: LUCENENET-47: "Make up for Constansts.cs" - Fix: LUCENENET-48 "Clone method of SegmentInfos.cs does'nt copy local fields/variables." - Fix: LUCENENET-50 "Improvement for FSDirectory." - Fix: LUCENENET-52 "IndexFileDeleter in svn trunk" - Fix: LUCENENET-53 "SegmentsInfos.GetCurrentSegmentGeneration works incorrectly" - Issues: A number of NUnit tests are failing. The major change is the port of the "Test" code from Java to C#. As expected, there are a lot of failed tests, 261 out of 629. Some of those are due to port issues in the test code itself while others are issues in the core code and I'm sure many are around a common defect. Wherever the issue is, we have to fix them. If you can help, get the latest code from SVN, build and run NUnit test. Look at the failed tests and start debugging. Once you have a fix, submit a patch. If you don't know how to submit a patch, an email with a fix will do to. However you submit a fix, do explain what test it is fixing and the effected file, class and method. Best regards, -- George From [email protected] Sat Aug 11 17:36:48 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66791 invoked from network); 11 Aug 2007 17:36:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Aug 2007 17:36:48 -0000 Received: (qmail 11259 invoked by uid 500); 11 Aug 2007 17:36:46 -0000 Delivered-To: [email protected] Received: (qmail 11239 invoked by uid 500); 11 Aug 2007 17:36:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 11230 invoked by uid 99); 11 Aug 2007 17:36:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Aug 2007 10:36:46 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO py-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Aug 2007 17:36:38 +0000 Received: by py-out-1112.google.com with SMTP id d32so2209831pye for <[email protected]>; Sat, 11 Aug 2007 10:36:18 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:x-google-sender-auth; b=dY7bsVipXnq1X9I+oYCPuS/8NLXQ+Id3SzvU4IVImlu8uEd/FfAQaKXxHCRsElvCK748yPcS070mPth+++TGiijQhB5AzRr5ix+zU0v+5OMrJyw8a9m6XPJH+zQ4gaAp/bUaAr9v278IwbnunkTzcTqrk+BUSGTl9r1HXXCpnDw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:x-google-sender-auth; b=FeaGHpZ3gkY8mGX0dw39n3rAM0uVbDTk9hAk37kr+kKhN3iFa1l4FXWBP1Jw3pIl01c5i/bnfjt210jNImAaZ/QtEHjaBdI5ZlxeyJYS9ItWltI9kz/1CDQ5npzfQ5xq///4U9e8ilh6xU90SP5cMOADGPAnrw3HRwK134PPDc8= Received: by 161.129.204.104 with SMTP id k7mr6985451qbp.1186853777666; Sat, 11 Aug 2007 10:36:17 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sat, 11 Aug 2007 10:36:17 -0700 (PDT) Message-ID: <[email protected]> Date: Sat, 11 Aug 2007 14:36:17 -0300 From: "Jan Limpens" <[email protected]> Sender: [email protected] To: [email protected] Subject: Lucene and a dynamic website MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_29056_20840607.1186853777578" X-Google-Sender-Auth: b27f7ad3bc818e41 X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_29056_20840607.1186853777578 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello, where can I find examples/howtos/tutorials/faqs... on how to use Lucene.netto index database generated aspx pages on a webserver. Or should I stick to sql server/fulltext search in that case? Thanks! Jan ------=_Part_29056_20840607.1186853777578-- From [email protected] Sat Aug 11 18:00:08 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76031 invoked from network); 11 Aug 2007 18:00:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Aug 2007 18:00:07 -0000 Received: (qmail 18876 invoked by uid 500); 11 Aug 2007 18:00:05 -0000 Delivered-To: [email protected] Received: (qmail 18852 invoked by uid 500); 11 Aug 2007 18:00:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 18843 invoked by uid 99); 11 Aug 2007 18:00:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Aug 2007 11:00:05 -0700 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=HTML_MESSAGE,MIME_HTML_ONLY,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO hu-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Aug 2007 18:00:02 +0000 Received: by hu-out-0506.google.com with SMTP id 27so1235500hub for <[email protected]>; Sat, 11 Aug 2007 10:59:40 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=LZmq5JMPR4z5srfPj7lqqlNhr5X1FhOYmWrIG7jyDNAMbWDEMSbOe5ovrcKpEKJXOAXdVQdSp5mJo5aaAWwSB2JaM5oyl+ag5kKpuu9nYEXUfwLyNjE0JZnLgjFDW2xEmunoYpwwRnHaC1ZkzsIbKNSSp8ISFNCH67O+cmShufk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=OuEL0FCKEViCGFzusl0ExwMDp3l0EVeX93Tc1UZXSJxJJt9JBFpp+FIiKBK9FaDCFhRW4SLmnV+exGiG5wEeUSZXSe0eu36sSj0QCyLgK19Gmkv66bXDTXozMTGJvdytrAXG49AwZzNou2olLrUUrK/bYkwGxkUdolaAOCmuRxs= Received: by 161.129.204.104 with SMTP id s17mr2809425ugg.1186855179775; Sat, 11 Aug 2007 10:59:39 -0700 (PDT) Received: from ?161.129.204.104? ( [161.129.204.104]) by mx.google.com with ESMTPS id 7sm5788387nfv.2161.129.204.104.59.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 11 Aug 2007 10:59:38 -0700 (PDT) Message-ID: <[email protected]> Date: Sat, 11 Aug 2007 19:59:06 +0200 From: Simone Busoli <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20070728) MIME-Version: 1.0 To: [email protected] Subject: Re: Lucene and a dynamic website References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> <font size="-1"><font face="Segoe UI">Do you need to index the markup generated by aspx pages? The markup is available only to the client, if you need to index the contents of the database just use sql server.<br> <br> Simone<br> </font></font><br> Jan Limpens wrote: <blockquote cite="mid:[email protected]" type="cite"> <pre wrap="">Hello, where can I find examples/howtos/tutorials/faqs... on how to use Lucene.netto index database generated aspx pages on a webserver. Or should I stick to sql server/fulltext search in that case? Thanks! Jan </pre> </blockquote> </body> </html> From [email protected] Sat Aug 11 18:01:56 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76615 invoked from network); 11 Aug 2007 18:01:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Aug 2007 18:01:56 -0000 Received: (qmail 19501 invoked by uid 500); 11 Aug 2007 18:01:54 -0000 Delivered-To: [email protected] Received: (qmail 19481 invoked by uid 500); 11 Aug 2007 18:01:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 19472 invoked by uid 99); 11 Aug 2007 18:01:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Aug 2007 11:01:54 -0700 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=HTML_MESSAGE,MIME_HTML_ONLY,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO hu-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Aug 2007 18:01:49 +0000 Received: by hu-out-0506.google.com with SMTP id 27so1235631hub for <[email protected]>; Sat, 11 Aug 2007 11:01:27 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=bT1Osa3RDCAzVUbSxLFcH6XLgDr+JgGeNphAbRrBqaSiV5f0BUcwQbmSu2GyOlY5+01ewC8wtMQyktb8OlXaABoKt32sgtVfzlvpWO6DXJO6Wc+1dwWOzBY6hKvckP4iAkA7c9li3kr2HnDNPPjaPkiICV0FY91kbzbQXE1gz4s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=cC0PgyFlmvAQFnFa87JfSTo+rYe7p6H06WJtbZwAQ5UG3+ilqhTLAwUnUy9AQIQpPSQw7FndJEnrr1+7Et02oisrjcydjaqoPNPGsos0XP17sLAkbqVA+vU6IujSNVqYHiVarXGtNB0Ks33PWXUcQzgyGZvU1u9d4FwcDAfqLbE= Received: by 161.129.204.104 with SMTP id e1mr6475537buf.1186855287495; Sat, 11 Aug 2007 11:01:27 -0700 (PDT) Received: from ?161.129.204.104? ( [161.129.204.104]) by mx.google.com with ESMTPS id d24sm1478519nfh.2161.129.204.104.01.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 11 Aug 2007 11:01:26 -0700 (PDT) Message-ID: <[email protected]> Date: Sat, 11 Aug 2007 20:00:57 +0200 From: Simone Busoli <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20070728) MIME-Version: 1.0 To: [email protected] Subject: Re: Apache Lucene.Net 2.1 build 002 "Beta" released References: <0de201c7dc3a$e2bcdaf0$90832209@aroushlt> In-Reply-To: <0de201c7dc3a$e2bcdaf0$90832209@aroushlt> Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> <font size="-1"><font face="Segoe UI">Thanks George, good to know. About the tests, then this is a good chance for people who wanted to help!<br> <br> Simone<br> </font></font><br> George Aroush wrote: <blockquote cite="mid:0de201c7dc3a$e2bcdaf0$90832209@aroushlt" type="cite"> <pre wrap="">Hi Folks, I just released Apache Lucene.Net 2.1 build 002 as beta. The changes in this release is: - Release: Apache Lucene.Net.2.1 build 002 "Beta" - Port: Ported the "Test" code from Java to C# - Fix: LUCENENET-47: "Make up for Constansts.cs" - Fix: LUCENENET-48 "Clone method of SegmentInfos.cs does'nt copy local fields/variables." - Fix: LUCENENET-50 "Improvement for FSDirectory." - Fix: LUCENENET-52 "IndexFileDeleter in svn trunk" - Fix: LUCENENET-53 "SegmentsInfos.GetCurrentSegmentGeneration works incorrectly" - Issues: A number of NUnit tests are failing. The major change is the port of the "Test" code from Java to C#. As expected, there are a lot of failed tests, 261 out of 629. Some of those are due to port issues in the test code itself while others are issues in the core code and I'm sure many are around a common defect. Wherever the issue is, we have to fix them. If you can help, get the latest code from SVN, build and run NUnit test. Look at the failed tests and start debugging. Once you have a fix, submit a patch. If you don't know how to submit a patch, an email with a fix will do to. However you submit a fix, do explain what test it is fixing and the effected file, class and method. Best regards, -- George </pre> </blockquote> </body> </html> From [email protected] Sat Aug 11 21:03:50 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12714 invoked from network); 11 Aug 2007 21:03:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Aug 2007 21:03:40 -0000 Received: (qmail 15319 invoked by uid 500); 11 Aug 2007 21:03:38 -0000 Delivered-To: [email protected] Received: (qmail 15293 invoked by uid 500); 11 Aug 2007 21:03:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 15284 invoked by uid 99); 11 Aug 2007 21:03:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Aug 2007 14:03:37 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO rv-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Aug 2007 21:03:35 +0000 Received: by rv-out-0910.google.com with SMTP id k20so1018028rvb for <[email protected]>; Sat, 11 Aug 2007 14:03:04 -0700 (PDT) Received: by 161.129.204.104 with SMTP id r16mr614526wfi.1186866184486; Sat, 11 Aug 2007 14:03:04 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sat, 11 Aug 2007 14:03:04 -0700 (PDT) Message-ID: <[email protected]> Date: Sat, 11 Aug 2007 17:03:04 -0400 From: "Joe Shaw" <[email protected]> To: [email protected] Subject: Re: Apache Lucene.Net 2.1 build 002 "Beta" released Cc: [email protected] In-Reply-To: <0de201c7dc3a$e2bcdaf0$90832209@aroushlt> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <0de201c7dc3a$e2bcdaf0$90832209@aroushlt> X-Virus-Checked: Checked by ClamAV on apache.org Hi George, On 8/11/07, George Aroush <[email protected]> wrote: > I just released Apache Lucene.Net 2.1 build 002 as beta. Given that Java Lucene 2.2 was released in June, and 2.3 is expected out fairly soon, does it make sense to skip porting 2.1 and go straight to 2.2? Would that substantially set things back, or speed things up? Thanks, Joe From [email protected] Sat Aug 11 21:23:12 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14493 invoked from network); 11 Aug 2007 21:23:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Aug 2007 21:23:12 -0000 Received: (qmail 23392 invoked by uid 500); 11 Aug 2007 21:23:10 -0000 Delivered-To: [email protected] Received: (qmail 23371 invoked by uid 500); 11 Aug 2007 21:23:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23354 invoked by uid 99); 11 Aug 2007 21:23:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Aug 2007 14:23:10 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO py-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Aug 2007 21:23:04 +0000 Received: by py-out-1112.google.com with SMTP id d32so2264729pye for <[email protected]>; Sat, 11 Aug 2007 14:22:43 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=ucg1jl9Hvq/C4dqH5RTTfM6j772n1AXjyF1XIO859+Pr2R9z0NrOKrCutqJttmcPuKDvUXfs6OYMvGVwHE+BUFD4gaCGxJz/5yv3B3dSGNjtRef+MuaHbHE0RLEWrXflim7leG9wMYHm7tef7Jb5XVN8i9p6hlToDWCta5X/cn8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=YnCIgFl0bXUxefSDbm4SY4Ed58g4qUrZnVtURmIN7ehJjhhNAqAupAZAAS0DLdbSDXV9L5MQ7wTRSb3ZutdYBr0F50be91AX/sPdyfUQMhCbGfwzCz3cbM9cM9ZkLQzbVRdZON1/8VkXSMX4TQeTuuC7KQOpvpGKfQn45B5llp0= Received: by 161.129.204.104 with SMTP id w2mr6200855qbf.1186867362979; Sat, 11 Aug 2007 14:22:42 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sat, 11 Aug 2007 14:22:42 -0700 (PDT) Message-ID: <[email protected]> Date: Sat, 11 Aug 2007 17:22:42 -0400 From: "Patrick Burrows" <[email protected]> To: [email protected] Subject: Re: Apache Lucene.Net 2.1 build 002 "Beta" released In-Reply-To: <0de201c7dc3a$e2bcdaf0$90832209@aroushlt> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_13592_16025200.1186867362936" References: <0de201c7dc3a$e2bcdaf0$90832209@aroushlt> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_13592_16025200.1186867362936 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline does it matter if the work is done in vs2k5? I just noticed all the project files are vs2k3. On 8/11/07, George Aroush <[email protected]> wrote: > > Hi Folks, > > I just released Apache Lucene.Net 2.1 build 002 as beta. The changes in > this release is: > - Release: Apache Lucene.Net.2.1 build 002 "Beta" > - Port: Ported the "Test" code from Java to C# > - Fix: LUCENENET-47: "Make up for Constansts.cs" > - Fix: LUCENENET-48 "Clone method of SegmentInfos.cs does'nt copy > local fields/variables." > - Fix: LUCENENET-50 "Improvement for FSDirectory." > - Fix: LUCENENET-52 "IndexFileDeleter in svn trunk" > - Fix: LUCENENET-53 "SegmentsInfos.GetCurrentSegmentGenerationworks > incorrectly" > - Issues: A number of NUnit tests are failing. > > The major change is the port of the "Test" code from Java to C#. As > expected, there are a lot of failed tests, 261 out of 629. Some of those > are due to port issues in the test code itself while others are issues in > the core code and I'm sure many are around a common defect. Wherever the > issue is, we have to fix them. > > If you can help, get the latest code from SVN, build and run NUnit test. > Look at the failed tests and start debugging. Once you have a fix, submit > a > patch. If you don't know how to submit a patch, an email with a fix will > do > to. However you submit a fix, do explain what test it is fixing and the > effected file, class and method. > > Best regards, > > -- George > > -- - P ------=_Part_13592_16025200.1186867362936-- From [email protected] Sat Aug 11 21:24:41 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14577 invoked from network); 11 Aug 2007 21:24:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Aug 2007 21:24:41 -0000 Received: (qmail 24071 invoked by uid 500); 11 Aug 2007 21:24:39 -0000 Delivered-To: [email protected] Received: (qmail 24047 invoked by uid 500); 11 Aug 2007 21:24:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 24038 invoked by uid 99); 11 Aug 2007 21:24:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Aug 2007 14:24:39 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO py-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Aug 2007 21:24:39 +0000 Received: by py-out-1112.google.com with SMTP id d32so2265124pye for <[email protected]>; Sat, 11 Aug 2007 14:24:11 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=GMHzV5tvGlKStoxK3R6ARojCinqiYrdyzLO2CzvM935PESvm2VeP+UzH2OxqE8pPkgKyE3lXaqerPOP5Jy/MOG2DBUXCviHTqa/T70mlzqrTpTdkgSZqD2pmpvbc33189HTswmzESf7CrfBDdx8FpG4o+EARdBRiISqk3PyBp3w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=RbfD0g3J+qfHDuZNzGY4DjcwSW0QswZXQiVVc1INGAxNWR928LGJrO5oQn3XvN3OKiUUo/nE//x+/Zu5ej+XnLMXxB21gyELMucnbyk6GppJeW2hDXx0R9ftce+WPPFXdlTwyd+8euTpcyceakQpeaB4yGkYFwqNDknIN/ci+RI= Received: by 161.129.204.104 with SMTP id a4mr7230133qbe.1186867451389; Sat, 11 Aug 2007 14:24:11 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sat, 11 Aug 2007 14:24:11 -0700 (PDT) Message-ID: <[email protected]> Date: Sat, 11 Aug 2007 17:24:11 -0400 From: "Patrick Burrows" <[email protected]> To: [email protected] Subject: Re: Apache Lucene.Net 2.1 build 002 "Beta" released In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_13596_12584630.1186867451335" References: <0de201c7dc3a$e2bcdaf0$90832209@aroushlt> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_13596_12584630.1186867451335 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline nevermind. just noticed there are two sets of files. On 8/11/07, Patrick Burrows <[email protected]> wrote: > > does it matter if the work is done in vs2k5? I just noticed all the > project files are vs2k3. > > On 8/11/07, George Aroush <[email protected]> wrote: > > > > Hi Folks, > > > > I just released Apache Lucene.Net 2.1 build 002 as beta. The changes in > > this release is: > > - Release: Apache Lucene.Net.2.1 build 002 "Beta" > > - Port: Ported the "Test" code from Java to C# > > - Fix: LUCENENET-47: "Make up for Constansts.cs" > > - Fix: LUCENENET-48 "Clone method of SegmentInfos.cs does'nt copy > > local fields/variables." > > - Fix: LUCENENET-50 "Improvement for FSDirectory." > > - Fix: LUCENENET-52 "IndexFileDeleter in svn trunk" > > - Fix: LUCENENET-53 " SegmentsInfos.GetCurrentSegmentGenerationworks > > incorrectly" > > - Issues: A number of NUnit tests are failing. > > > > The major change is the port of the "Test" code from Java to C#. As > > expected, there are a lot of failed tests, 261 out of 629. Some of > > those > > are due to port issues in the test code itself while others are issues > > in > > the core code and I'm sure many are around a common defect. Wherever > > the > > issue is, we have to fix them. > > > > If you can help, get the latest code from SVN, build and run NUnit test. > > > > Look at the failed tests and start debugging. Once you have a fix, > > submit a > > patch. If you don't know how to submit a patch, an email with a fix > > will do > > to. However you submit a fix, do explain what test it is fixing and the > > > > effected file, class and method. > > > > Best regards, > > > > -- George > > > > > > > -- > - > P -- - P ------=_Part_13596_12584630.1186867451335-- From [email protected] Sat Aug 11 21:40:25 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 16356 invoked from network); 11 Aug 2007 21:40:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Aug 2007 21:40:25 -0000 Received: (qmail 34822 invoked by uid 500); 11 Aug 2007 21:40:22 -0000 Delivered-To: [email protected] Received: (qmail 34790 invoked by uid 500); 11 Aug 2007 21:40:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 34753 invoked by uid 99); 11 Aug 2007 21:40:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Aug 2007 14:40:22 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO ps02.vds2000.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Aug 2007 21:40:15 +0000 Received: (qmail 6826 invoked from network); 11 Aug 2007 17:39:53 -0400 Received: from bi01pt1.ct.us.ibm.com (HELO aroushlt) (161.129.204.104) by aroush.net with SMTP; 11 Aug 2007 17:39:53 -0400 From: "George Aroush" <[email protected]> To: <[email protected]> Cc: <[email protected]> Subject: RE: Apache Lucene.Net 2.1 build 002 "Beta" released Date: Sat, 11 Aug 2007 17:40:23 -0400 Message-ID: <0e7a01c7dc60$39a0a930$90832209@aroushlt> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 In-Reply-To: <[email protected]> Thread-Index: AcfcWx/6qu3kC9W7RKCLndJy+EBivAAA/lZQ X-Virus-Checked: Checked by ClamAV on apache.org Hi Joe, I agree, and I see little value to have a full release of 2.1. However, before we start working on 2.2, we should fix the existing known issues with 2.1 that NUnit tests has exposed; doing so will make the transition to 2.2 must easier. If we take this path, then we can leave 2.1 in a "non-supported" mode and move on to 2.2. Does everyone agree? Regards, -- George > -----Original Message----- > From: Joe Shaw [mailto:[email protected]] > Sent: Saturday, August 11, 2007 5:03 PM > To: [email protected] > Cc: [email protected] > Subject: Re: Apache Lucene.Net 2.1 build 002 "Beta" released > > Hi George, > > On 8/11/07, George Aroush <[email protected]> wrote: > > I just released Apache Lucene.Net 2.1 build 002 as beta. > > Given that Java Lucene 2.2 was released in June, and 2.3 is > expected out fairly soon, does it make sense to skip porting > 2.1 and go straight to 2.2? Would that substantially set > things back, or speed things up? > > Thanks, > Joe > From [email protected] Sat Aug 11 23:35:26 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49956 invoked from network); 11 Aug 2007 23:35:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Aug 2007 23:35:25 -0000 Received: (qmail 96644 invoked by uid 500); 11 Aug 2007 23:35:23 -0000 Delivered-To: [email protected] Received: (qmail 96603 invoked by uid 500); 11 Aug 2007 23:35:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 96584 invoked by uid 99); 11 Aug 2007 23:35:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Aug 2007 16:35:23 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO rv-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Aug 2007 23:35:15 +0000 Received: by rv-out-0910.google.com with SMTP id k20so1031116rvb for <[email protected]>; Sat, 11 Aug 2007 16:34:53 -0700 (PDT) Received: by 161.129.204.104 with SMTP id s10mr606722wfh.1186875293630; Sat, 11 Aug 2007 16:34:53 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sat, 11 Aug 2007 16:34:53 -0700 (PDT) Message-ID: <[email protected]> Date: Sat, 11 Aug 2007 19:34:53 -0400 From: "Joe Shaw" <[email protected]> To: [email protected] Subject: Re: Apache Lucene.Net 2.1 build 002 "Beta" released Cc: [email protected] In-Reply-To: <0e7a01c7dc60$39a0a930$90832209@aroushlt> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> <0e7a01c7dc60$39a0a930$90832209@aroushlt> X-Virus-Checked: Checked by ClamAV on apache.org Hi, On 8/11/07, George Aroush <[email protected]> wrote: > I agree, and I see little value to have a full release of 2.1. However, > before we start working on 2.2, we should fix the existing known issues with > 2.1 that NUnit tests has exposed; doing so will make the transition to 2.2 > must easier. If we take this path, then we can leave 2.1 in a > "non-supported" mode and move on to 2.2. Does everyone agree? When new versions of Lucene.Net made, are they merges of the changes from the previous Java version (converted somehow), or are they totally new conversions with some of the .Net-isms merged in? If the former, this definitely makes sense. If the latter, I would think it makes more sense to skip 2.1 entirely. In any case, moving forward on either front is positive news. Keep up the good work. :) Joe From [email protected] Sun Aug 12 00:03:11 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60551 invoked from network); 12 Aug 2007 00:03:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Aug 2007 00:03:11 -0000 Received: (qmail 4883 invoked by uid 500); 12 Aug 2007 00:03:09 -0000 Delivered-To: [email protected] Received: (qmail 4857 invoked by uid 500); 12 Aug 2007 00:03:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 4846 invoked by uid 99); 12 Aug 2007 00:03:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Aug 2007 17:03:09 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO ps02.vds2000.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Aug 2007 00:03:01 +0000 Received: (qmail 27814 invoked from network); 11 Aug 2007 20:02:38 -0400 Received: from unknown (HELO aroushlt) (161.129.204.104) by aroush.net with SMTP; 11 Aug 2007 20:02:38 -0400 From: "George Aroush" <[email protected]> To: <[email protected]> Cc: <[email protected]> Subject: RE: Apache Lucene.Net 2.1 build 002 "Beta" released Date: Sat, 11 Aug 2007 20:03:09 -0400 Message-ID: <0ebe01c7dc74$2b06c710$90832209@aroushlt> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 In-Reply-To: <[email protected]> Thread-Index: AcfccEvUv7qRJx9KR/CqoC+RnGX98AAA6PdQ X-Virus-Checked: Checked by ClamAV on apache.org Hi Joe, It is a merge, so it make sense (and life easier) to fix the existing NUnit issues before we move on. Sorry, for not making this clear. Regards, -- George > -----Original Message----- > From: Joe Shaw [mailto:[email protected]] > Sent: Saturday, August 11, 2007 7:35 PM > To: [email protected] > Cc: [email protected] > Subject: Re: Apache Lucene.Net 2.1 build 002 "Beta" released > > Hi, > > On 8/11/07, George Aroush <[email protected]> wrote: > > I agree, and I see little value to have a full release of 2.1. > > However, before we start working on 2.2, we should fix the existing > > known issues with > > 2.1 that NUnit tests has exposed; doing so will make the > transition to > > 2.2 must easier. If we take this path, then we can leave 2.1 in a > > "non-supported" mode and move on to 2.2. Does everyone agree? > > When new versions of Lucene.Net made, are they merges of the > changes from the previous Java version (converted somehow), > or are they totally new conversions with some of the > .Net-isms merged in? If the former, this definitely makes > sense. If the latter, I would think it makes more sense to > skip 2.1 entirely. > > In any case, moving forward on either front is positive news. > Keep up the good work. :) > > Joe > From [email protected] Sun Aug 12 02:12:13 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87055 invoked from network); 12 Aug 2007 02:12:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Aug 2007 02:12:12 -0000 Received: (qmail 46981 invoked by uid 500); 12 Aug 2007 02:12:10 -0000 Delivered-To: [email protected] Received: (qmail 46961 invoked by uid 500); 12 Aug 2007 02:12:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 46952 invoked by uid 99); 12 Aug 2007 02:12:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Aug 2007 19:12:10 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO py-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Aug 2007 02:12:03 +0000 Received: by py-out-1112.google.com with SMTP id d32so2322879pye for <[email protected]>; Sat, 11 Aug 2007 19:11:41 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=GU6m1hK9XKp2Ih8iyDainVti4oqds+OSPtSfj1D1+FlKGluCWF5Jqv5i88WVGUDFTc0q0MxPpQJhJcpDhdYynugLxfHWDRscjKsTPWCAPSHFTvpXbHSCm4WMl1IXU3VvhxZH2pScHYqE+jqP2RGFUe2AaWy1ObdIkB07rpD7N78= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Yu1RDSxh+QuHbYieF6wD2hrD37pCwfwEdyuQcVrXCUBckbn6pkEQH6f1F7feJIV95zx2YXGkLZy3sPr3oSUGhgPOBxG5O67Ax+5kouJKh1G55YlvhbOm/WU2rnGMZy+QtDoctZqfx5kZku4JFDUrxJtsJNdGWmb8u+nNQKaY+rw= Received: by 161.129.204.104 with SMTP id m11mr7210406qbk.1186884701061; Sat, 11 Aug 2007 19:11:41 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sat, 11 Aug 2007 19:11:40 -0700 (PDT) Message-ID: <[email protected]> Date: Sat, 11 Aug 2007 22:11:41 -0400 From: "Patrick Burrows" <[email protected]> To: [email protected] Subject: Re: Apache Lucene.Net 2.1 build 002 "Beta" released In-Reply-To: <0ebe01c7dc74$2b06c710$90832209@aroushlt> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_13956_17256652.1186884701000" References: <[email protected]> <0ebe01c7dc74$2b06c710$90832209@aroushlt> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_13956_17256652.1186884701000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hey George: Since this is my first attempt at a bug fix, I figure I would just write up everything about it and see what the correct course is to correct it: The first error that NUnit reports is that the TestStandard test is failing. It is failing on this line: AssertAnalyzesTo(a, "t-com", new System.String[]{"t", "com"}); And the reason this line is failing, ultimately, is because "t" is a stop word and the Next() method in StopFilter.cs has this line: if (!stopWords.Contains(termText)) return token; The comments in TestStandard() regarding this line say this: // t and s had been stopwords in Lucene <= 2.0, which made it impossible // to correctly search for these terms: It seems simple enough to remove "t" from the list of stop words. But is this the correct way to fix the issue? Was there a deeper reason that made "t" have to be in the list of stop words that should also be checked? Am I thinking too much about it? :-) On 8/11/07, George Aroush <[email protected]> wrote: > > Hi Joe, > > It is a merge, so it make sense (and life easier) to fix the existing > NUnit > issues before we move on. Sorry, for not making this clear. > > Regards, > > -- George > > > -----Original Message----- > > From: Joe Shaw [mailto:[email protected]] > > Sent: Saturday, August 11, 2007 7:35 PM > > To: [email protected] > > Cc: [email protected] > > Subject: Re: Apache Lucene.Net 2.1 build 002 "Beta" released > > > > Hi, > > > > On 8/11/07, George Aroush <[email protected]> wrote: > > > I agree, and I see little value to have a full release of 2.1. > > > However, before we start working on 2.2, we should fix the existing > > > known issues with > > > 2.1 that NUnit tests has exposed; doing so will make the > > transition to > > > 2.2 must easier. If we take this path, then we can leave 2.1 in a > > > "non-supported" mode and move on to 2.2. Does everyone agree? > > > > When new versions of Lucene.Net made, are they merges of the > > changes from the previous Java version (converted somehow), > > or are they totally new conversions with some of the > > .Net-isms merged in? If the former, this definitely makes > > sense. If the latter, I would think it makes more sense to > > skip 2.1 entirely. > > > > In any case, moving forward on either front is positive news. > > Keep up the good work. :) > > > > Joe > > > > -- - P ------=_Part_13956_17256652.1186884701000-- From [email protected] Sun Aug 12 02:21:01 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87664 invoked from network); 12 Aug 2007 02:21:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Aug 2007 02:21:01 -0000 Received: (qmail 51931 invoked by uid 500); 12 Aug 2007 02:20:59 -0000 Delivered-To: [email protected] Received: (qmail 51915 invoked by uid 500); 12 Aug 2007 02:20:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 51906 invoked by uid 99); 12 Aug 2007 02:20:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Aug 2007 19:20:59 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO py-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Aug 2007 02:20:59 +0000 Received: by py-out-1112.google.com with SMTP id d32so2324584pye for <[email protected]>; Sat, 11 Aug 2007 19:20:31 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=rJc5eZVVyBl1wrmHIP/jW2DGo7M0/tdeQdEjYbkv9wwnR6SBdQtnEnvBbxEbX1JCmMnrvU2cKKb7Smskog/9+kX6nX0wE1nketWKs6q9cSgGkp4C4HkvU2ivh2j5pE84YUf+J3X11kRR1wP4fKqQBmNzx10xa+4BUMJ7KZscy3w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=rVwmWUfjKVSGef1URXot3DDOKHUvR0FBksw9f0S70TwH1/1m5QJeicR6YzmN1/g1i9vN7Psm8puVwgFotXm+xADcde3MozSQeRRK03VaWv6J7+VtD/qLBK9t37aFEg8uNuDCyYW5z5qNrylIp0BsNMBn6tVHW8P92Zsbh7jVNEM= Received: by 161.129.204.104 with SMTP id a4mr3446965qbg.1186885230862; Sat, 11 Aug 2007 19:20:30 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sat, 11 Aug 2007 19:20:30 -0700 (PDT) Message-ID: <[email protected]> Date: Sat, 11 Aug 2007 22:20:30 -0400 From: "Patrick Burrows" <[email protected]> To: [email protected] Subject: Re: Apache Lucene.Net 2.1 build 002 "Beta" released In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_13968_17830409.1186885230811" References: <[email protected]> <0ebe01c7dc74$2b06c710$90832209@aroushlt> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_13968_17830409.1186885230811 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline By the way, if that is the correct fix, then changing this line in Analysis.StopAnalyzer.cs public static readonly System.String[] ENGLISH_STOP_WORDS = new System. String[]{"a", "an", "and", "are", "as", "at", "be", "but", "by", "for", "if", "in", "into", "is", "it", "no", "not", "of", "on", "or", "such", "t", "that", "the", "their", "then", "there", "these", "they", "this", "to", "was", "will", "with"}; to public static readonly System.String[] ENGLISH_STOP_WORDS = new System. String[]{"a", "an", "and", "are", "as", "at", "be", "but", "by", "for", "if", "in", "into", "is", "it", "no", "not", "of", "on", "or", "such", "that", "the", "their", "then", "there", "these", "they", "this", "to", "was", "will", "with"}; causes that test to pass. On 8/11/07, Patrick Burrows <[email protected]> wrote: > > Hey George: > > Since this is my first attempt at a bug fix, I figure I would just write > up everything about it and see what the correct course is to correct it: > > The first error that NUnit reports is that the TestStandard test is > failing. It is failing on this line: > > > AssertAnalyzesTo(a, > "t-com", new System.String []{"t", "com"}); > And the reason this line is failing, ultimately, is because "t" is a stop > word and the Next() method in StopFilter.cs has this line: > > if > (!stopWords.Contains(termText)) > > return token; The comments in TestStandard() regarding this line say > this: > > > // t and s had been stopwords in Lucene <= 2.0, which made it impossible > > // to correctly search for these terms: > It seems simple enough to remove "t" from the list of stop words. But is > this the correct way to fix the issue? Was there a deeper reason that made > "t" have to be in the list of stop words that should also be checked? Am I > thinking too much about it? :-) > > > > On 8/11/07, George Aroush <[email protected]> wrote: > > > > Hi Joe, > > > > It is a merge, so it make sense (and life easier) to fix the existing > > NUnit > > issues before we move on. Sorry, for not making this clear. > > > > Regards, > > > > -- George > > > > > -----Original Message----- > > > From: Joe Shaw [mailto:[email protected]] > > > Sent: Saturday, August 11, 2007 7:35 PM > > > To: [email protected] > > > Cc: [email protected] > > > Subject: Re: Apache Lucene.Net 2.1 build 002 "Beta" released > > > > > > Hi, > > > > > > On 8/11/07, George Aroush <[email protected]> wrote: > > > > I agree, and I see little value to have a full release of 2.1. > > > > However, before we start working on 2.2, we should fix the existing > > > > known issues with > > > > 2.1 that NUnit tests has exposed; doing so will make the > > > transition to > > > > 2.2 must easier. If we take this path, then we can leave 2.1 in a > > > > "non-supported" mode and move on to 2.2. Does everyone agree? > > > > > > When new versions of Lucene.Net made, are they merges of the > > > changes from the previous Java version (converted somehow), > > > or are they totally new conversions with some of the > > > .Net-isms merged in? If the former, this definitely makes > > > sense. If the latter, I would think it makes more sense to > > > skip 2.1 entirely. > > > > > > In any case, moving forward on either front is positive news. > > > Keep up the good work. :) > > > > > > Joe > > > > > > > > > > -- > - > P -- - P ------=_Part_13968_17830409.1186885230811-- From [email protected] Mon Aug 13 11:47:20 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36128 invoked from network); 13 Aug 2007 11:47:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Aug 2007 11:47:19 -0000 Received: (qmail 92611 invoked by uid 500); 13 Aug 2007 11:47:17 -0000 Delivered-To: [email protected] Received: (qmail 92578 invoked by uid 500); 13 Aug 2007 11:47:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 92569 invoked by uid 99); 13 Aug 2007 11:47:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2007 04:47:17 -0700 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO adicia.telenet-ops.be) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2007 11:47:12 +0000 Received: from localhost (localhost.localdomain [161.129.204.104]) by adicia.telenet-ops.be (Postfix) with SMTP id 19982230097 for <[email protected]>; Mon, 13 Aug 2007 13:46:50 +0200 (CEST) Received: from pdc.softelligent.local (d5152F234.access.telenet.be [161.129.204.104]) by adicia.telenet-ops.be (Postfix) with ESMTP id E73B3230091 for <[email protected]>; Mon, 13 Aug 2007 13:46:49 +0200 (CEST) Content-class: urn:content-classes:message Subject: Quote in query MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C7DD9F.9164C56C" Date: Mon, 13 Aug 2007 13:46:48 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Quote in query Thread-Index: Acfdn6HxjHYIy94RSQKZv4NzMIFc0A== From: "Benny Michielsen" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C7DD9F.9164C56C Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, =20 How would one search for the text: "it's" using Lucene. All other search options work fine, just whenever there's a single quote it fails. I don't think it's a special character (checked the documentation), even tried escaping it. I use this code: =20 QueryParser parser =3D new QueryParser("Text", new StandardAnalyzer()); Query queryText =3D parser.Parse(keyword); =20 When I check querytext I notice it is empty instead of containing the parsed statement. =20 Benny =20 =20 ------_=_NextPart_001_01C7DD9F.9164C56C-- From [email protected] Mon Aug 13 13:37:49 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95138 invoked from network); 13 Aug 2007 13:37:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Aug 2007 13:37:48 -0000 Received: (qmail 43868 invoked by uid 500); 13 Aug 2007 13:37:46 -0000 Delivered-To: [email protected] Received: (qmail 43846 invoked by uid 500); 13 Aug 2007 13:37:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 43837 invoked by uid 99); 13 Aug 2007 13:37:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2007 06:37:46 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO ps02.vds2000.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2007 13:37:39 +0000 Received: (qmail 1243 invoked from network); 13 Aug 2007 09:37:17 -0400 Received: from bi01pt1.ct.us.ibm.com (HELO aroushlt) (161.129.204.104) by aroush.net with SMTP; 13 Aug 2007 09:37:17 -0400 From: "George Aroush" <[email protected]> To: <[email protected]> Subject: RE: Apache Lucene.Net 2.1 build 002 "Beta" released Date: Mon, 13 Aug 2007 09:37:49 -0400 Message-ID: <12a801c7ddaf$2418aa40$90832209@aroushlt> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 In-Reply-To: <[email protected]> Thread-Index: Acfch24l6k+hTahjRLCHw6jpLvasMABJ3r4A X-Virus-Checked: Checked by ClamAV on apache.org Thanks Patrick. "t" was left over and should have been removed as it is removed from the Java version too. I committed a new version of StopAnalyzer.cs to take care of this defect. -- George > -----Original Message----- > From: Patrick Burrows [mailto:[email protected]] > Sent: Saturday, August 11, 2007 10:21 PM > To: [email protected] > Subject: Re: Apache Lucene.Net 2.1 build 002 "Beta" released > > By the way, if that is the correct fix, then changing this > line in Analysis.StopAnalyzer.cs > > > public static readonly System.String[] ENGLISH_STOP_WORDS = > new System. > String[]{"a", "an", "and", "are", "as", "at", "be", "but", > "by", "for", "if", "in", "into", "is", "it", "no", "not", > "of", "on", "or", "such", "t", "that", "the", "their", > "then", "there", "these", "they", "this", "to", "was", > "will", "with"}; to > > > public static readonly System.String[] ENGLISH_STOP_WORDS = > new System. > String[]{"a", "an", "and", "are", "as", "at", "be", "but", > "by", "for", "if", "in", "into", "is", "it", "no", "not", > "of", "on", "or", "such", "that", "the", "their", "then", > "there", "these", "they", "this", "to", "was", "will", "with"}; > > causes that test to pass. > > > On 8/11/07, Patrick Burrows <[email protected]> wrote: > > > > Hey George: > > > > Since this is my first attempt at a bug fix, I figure I would just > > write up everything about it and see what the correct > course is to correct it: > > > > The first error that NUnit reports is that the TestStandard test is > > failing. It is failing on this line: > > > > > > AssertAnalyzesTo(a, > > "t-com", new System.String []{"t", "com"}); And the reason > this line > > is failing, ultimately, is because "t" is a stop word and > the Next() > > method in StopFilter.cs has this line: > > > > if > > (!stopWords.Contains(termText)) > > > > return token; The comments in TestStandard() regarding this line > > say > > this: > > > > > > // t and s had been stopwords in Lucene <= 2.0, which made it > > impossible > > > > // to correctly search for these terms: > > It seems simple enough to remove "t" from the list of stop > words. But > > is this the correct way to fix the issue? Was there a deeper reason > > that made "t" have to be in the list of stop words that > should also be > > checked? Am I thinking too much about it? :-) > > > > > > > > On 8/11/07, George Aroush <[email protected]> wrote: > > > > > > Hi Joe, > > > > > > It is a merge, so it make sense (and life easier) to fix the > > > existing NUnit issues before we move on. Sorry, for not > making this > > > clear. > > > > > > Regards, > > > > > > -- George > > > > > > > -----Original Message----- > > > > From: Joe Shaw [mailto:[email protected]] > > > > Sent: Saturday, August 11, 2007 7:35 PM > > > > To: [email protected] > > > > Cc: [email protected] > > > > Subject: Re: Apache Lucene.Net 2.1 build 002 "Beta" released > > > > > > > > Hi, > > > > > > > > On 8/11/07, George Aroush <[email protected]> wrote: > > > > > I agree, and I see little value to have a full release of 2.1. > > > > > However, before we start working on 2.2, we should fix the > > > > > existing known issues with > > > > > 2.1 that NUnit tests has exposed; doing so will make the > > > > transition to > > > > > 2.2 must easier. If we take this path, then we can > leave 2.1 in > > > > > a "non-supported" mode and move on to 2.2. Does > everyone agree? > > > > > > > > When new versions of Lucene.Net made, are they merges of the > > > > changes from the previous Java version (converted > somehow), or are > > > > they totally new conversions with some of the .Net-isms > merged in? > > > > If the former, this definitely makes sense. If the latter, I > > > > would think it makes more sense to skip 2.1 entirely. > > > > > > > > In any case, moving forward on either front is positive news. > > > > Keep up the good work. :) > > > > > > > > Joe > > > > > > > > > > > > > > > > -- > > - > > P > > > > > -- > - > P > From [email protected] Mon Aug 13 14:01:21 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2597 invoked from network); 13 Aug 2007 14:01:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Aug 2007 14:01:20 -0000 Received: (qmail 75070 invoked by uid 500); 13 Aug 2007 14:01:18 -0000 Delivered-To: [email protected] Received: (qmail 74902 invoked by uid 500); 13 Aug 2007 14:01:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 74893 invoked by uid 99); 13 Aug 2007 14:01:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2007 07:01:18 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO an-out-0708.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2007 14:01:13 +0000 Received: by an-out-0708.google.com with SMTP id b33so223202ana for <[email protected]>; Mon, 13 Aug 2007 07:00:52 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:to:references:in-reply-to:subject:date:message-id:mime-version:content-type:content-transfer-encoding:x-mailer:thread-index:content-language; b=DrFxG+ova8tE656N8Scont2cTrytt4k7YT5gYO6CDUE7iNe3XO4YtbF4MPIvTMzX3FxAiJCr4H/1UG5EjVS84HFmeGVroRkyLoYMsv/+pmQM5Hl/Hon5xe4hddzsnA3LB63YtsIFREi7HsY2c1y4aerQSZC3wvhL1HhNPdkMb5U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:to:references:in-reply-to:subject:date:message-id:mime-version:content-type:content-transfer-encoding:x-mailer:thread-index:content-language; b=qHlLzliz7RCjQ9+PDOkVX9LAU65Vs+ZlanntN884VA6uaTvKDbjb4G7SVP/Zu/JafHY6aRsAbLN3JPqERsl3R+C3nsmogRsohfDWA7hZ8OxJszzbqGpvYDsH9LHvjgWzlPA6H8UfR9Q3q0H2NpO0kPADrDjyL/xdaUFidSQEmeM= Received: by 161.129.204.104 with SMTP id 20mr3825566anj.1187013651877; Mon, 13 Aug 2007 07:00:51 -0700 (PDT) Received: from NEWPC ( [161.129.204.104]) by mx.google.com with ESMTPS id d25sm8794979and.2161.129.204.104.00.49 (version=SSLv3 cipher=RC4-MD5); Mon, 13 Aug 2007 07:00:50 -0700 (PDT) From: "DIGY" <[email protected]> To: <[email protected]> References: <[email protected]> In-Reply-To: <[email protected]> Subject: RE: Quote in query Date: Mon, 13 Aug 2007 16:59:52 +0300 Message-ID: <002101c7ddb2$3c79a230$b56ce690$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acfdn6HxjHYIy94RSQKZv4NzMIFc0AAEeEtQ Content-Language: tr X-Virus-Checked: Checked by ClamAV on apache.org Hi Benny, Yes single quote is not a special character but StandardAnalyzer strips the trailing "'s" in tokens. So your token becomes "it" which is a stop-word. Therefore it returns an empty query. DIGY -----Original Message----- From: Benny Michielsen [mailto:[email protected]] Sent: Monday, August 13, 2007 2:47 PM To: [email protected] Subject: Quote in query Hi, How would one search for the text: "it's" using Lucene. All other search options work fine, just whenever there's a single quote it fails. I don't think it's a special character (checked the documentation), even tried escaping it. I use this code: QueryParser parser = new QueryParser("Text", new StandardAnalyzer()); Query queryText = parser.Parse(keyword); When I check querytext I notice it is empty instead of containing the parsed statement. Benny From [email protected] Mon Aug 13 15:28:00 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77214 invoked from network); 13 Aug 2007 15:28:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Aug 2007 15:28:00 -0000 Received: (qmail 55989 invoked by uid 500); 13 Aug 2007 15:27:58 -0000 Delivered-To: [email protected] Received: (qmail 55969 invoked by uid 500); 13 Aug 2007 15:27:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 55944 invoked by uid 99); 13 Aug 2007 15:27:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2007 08:27:58 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.nebula.matls.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2007 15:28:03 +0000 Received: from [161.129.204.104] [161.129.204.104] by mail.nebula.matls.com with ESMTP (SMTPD-8.22) id A7EA0320; Mon, 13 Aug 2007 11:25:30 -0400 Message-ID: <[email protected]> Date: Mon, 13 Aug 2007 11:29:29 -0400 From: "Douglas Smith (at home)" <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20070728) MIME-Version: 1.0 To: [email protected] Subject: Recommendations for Getting Started - wildcard queries. References: <[email protected]> <002101c7ddb2$3c79a230$b56ce690$@com> In-Reply-To: <002101c7ddb2$3c79a230$b56ce690$@com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi All, I have seen a lot of good recommendations for using Lucene, but as far as the .NET version, I cannot find very much sample code or sample web sites to help me get started using it. There does not seem to be any overview of features, samples, getting started pages, or wiki pages available. The API is not very helpful in this regard. Particularly, I want to know if Lucence supports wildcard searches, and how to run them. Since the Java version supports wildcard queries, can I assume the .NET version does also? ....http://lucene.apache.org/java/docs/features.html Does anyone have a short example of using the wildcard feature they can post? Thanks for any help in this area :-) From [email protected] Mon Aug 13 15:38:12 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 98239 invoked from network); 13 Aug 2007 15:38:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Aug 2007 15:38:12 -0000 Received: (qmail 78115 invoked by uid 500); 13 Aug 2007 15:38:10 -0000 Delivered-To: [email protected] Received: (qmail 78095 invoked by uid 500); 13 Aug 2007 15:38:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 78086 invoked by uid 99); 13 Aug 2007 15:38:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2007 08:38:10 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.nebula.matls.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2007 15:38:12 +0000 Received: from [161.129.204.104] [161.129.204.104] by mail.nebula.matls.com with ESMTP (SMTPD-8.22) id AA4D02C0; Mon, 13 Aug 2007 11:35:41 -0400 Message-ID: <[email protected]> Date: Mon, 13 Aug 2007 11:39:41 -0400 From: "Douglas Smith (at home)" <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20070728) MIME-Version: 1.0 To: [email protected] Subject: Re: Lucene and a dynamic website References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Jan, I am new to the list, and to Lucene.net myself, but in general, the .NET version of Lucene seems to be woefully lacking examples and friendly "how to" pages. I am guessing that since the http://www.dotlucene.net/ web site has been discontinued, and Lucene.NET became a new incubator project at apache, that kind of information simply has not been a priority for the development team. Here is the only page I could find with a real life example: http://www.codeproject.com/aspnet/DotLuceneSearch.asp FYI, kudos to all of the developers for doing the work they have done to bring Lucene to .NET.... Jan Limpens wrote: > Hello, > > where can I find examples/howtos/tutorials/faqs... on how to use > Lucene.netto index database generated aspx pages on a webserver. > Or should I stick to sql server/fulltext search in that case? > > Thanks! > Jan > > -- ====================================== Douglas M. Smith |--- DataSmithy ---| email: [email protected] work: 856.683.6701 home: 856.683.6701 fax: 856.683.6701 aim: datasmithy yahoo: datasmithy skype: datasmitty jabber: [email protected] ====================================== From [email protected] Mon Aug 13 15:43:02 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4347 invoked from network); 13 Aug 2007 15:43:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Aug 2007 15:43:00 -0000 Received: (qmail 89154 invoked by uid 500); 13 Aug 2007 15:42:57 -0000 Delivered-To: [email protected] Received: (qmail 89137 invoked by uid 500); 13 Aug 2007 15:42:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 89128 invoked by uid 99); 13 Aug 2007 15:42:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2007 08:42:57 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.nebula.matls.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2007 15:43:06 +0000 Received: from [161.129.204.104] [161.129.204.104] by mail.nebula.matls.com with ESMTP (SMTPD-8.22) id AB7302F0; Mon, 13 Aug 2007 11:40:35 -0400 Message-ID: <[email protected]> Date: Mon, 13 Aug 2007 11:44:34 -0400 From: "Douglas Smith (at home)" <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20070728) MIME-Version: 1.0 To: [email protected] Subject: Re: Lucene and a dynamic website References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Jan, FI, I am trying to move away from SQL full text search engine because it does not support wildcard searches (Yes, I was flabbergasted to discover this...). MS FTS only support prefix searches (wildcards at the end of words). Jan Limpens wrote: > Hello, > > where can I find examples/howtos/tutorials/faqs... on how to use > Lucene.netto index database generated aspx pages on a webserver. > Or should I stick to sql server/fulltext search in that case? > > Thanks! > Jan > > -- ====================================== Douglas M. Smith |--- DataSmithy ---| email: [email protected] work: 856.683.6701 home: 856.683.6701 fax: 856.683.6701 aim: datasmithy yahoo: datasmithy skype: datasmitty jabber: [email protected] ====================================== From [email protected] Mon Aug 13 16:11:07 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 50401 invoked from network); 13 Aug 2007 16:11:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Aug 2007 16:11:07 -0000 Received: (qmail 45535 invoked by uid 500); 13 Aug 2007 16:11:04 -0000 Delivered-To: [email protected] Received: (qmail 45524 invoked by uid 500); 13 Aug 2007 16:11:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 45515 invoked by uid 99); 13 Aug 2007 16:11:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2007 09:11:04 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO py-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2007 16:11:01 +0000 Received: by py-out-1112.google.com with SMTP id d32so2973700pye for <[email protected]>; Mon, 13 Aug 2007 09:10:40 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=P1IYbA98dSvJwZu8TjR+AzYnxwg4w1r00I41sa+VHEBSSxH08cRzAhjpIJncOstZLvUhMlegj0OW1CQ6CUUYyDAy715sPob82i0ExFslw1D6yzvlcOBeQ9GnfYUl2LN2WwxyB+nJuTPuArkKVSF3Zy8+2qQzNfoOvJM3/Kgqpjo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Yn4bIj3ext/H4rwl/yLOvqpusC08OS7UeJs9EuqAeAlswBFMn4uoC3vcquXOrQLsWZKEqlvNOBg7Zd/bVtVPBiiGfGc2TKlgJLdcKjnHsEzJAtgLDNTpli5YcnvxOZPUCFmCTB8y3eLk9g4w0xe6GvzxvtwT8HEeMXkIIY5ZNgc= Received: by 161.129.204.104 with SMTP id h9mr9789760qbr.1187021439973; Mon, 13 Aug 2007 09:10:39 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 13 Aug 2007 09:10:39 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 13 Aug 2007 12:10:39 -0400 From: "Patrick Burrows" <[email protected]> To: [email protected] Subject: Re: Recommendations for Getting Started - wildcard queries. In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_20206_29770130.1187021439930" References: <[email protected]> <002101c7ddb2$3c79a230$b56ce690$@com> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_20206_29770130.1187021439930 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline In general, for any given release, if the Java version supports it, the .Net version supports it. If a feature is documented in the Java version, it works the same way in the .Net version. ...that's not to say the docs are always easy to find or make sense of... but that's its own issue. On 8/13/07, Douglas Smith (at home) <[email protected]> wrote: > > Hi All, > > I have seen a lot of good recommendations for using Lucene, but as far > as the .NET version, I cannot find very much sample code or sample web > sites to help me get started using it. There does not seem to be any > overview of features, samples, getting started pages, or wiki pages > available. The API is not very helpful in this regard. > > Particularly, I want to know if Lucence supports wildcard searches, and > how to run them. > > Since the Java version supports wildcard queries, can I assume the .NET > version does also? ....http://lucene.apache.org/java/docs/features.html > > Does anyone have a short example of using the wildcard feature they can > post? > > Thanks for any help in this area :-) > > > > -- - P ------=_Part_20206_29770130.1187021439930-- From [email protected] Mon Aug 13 16:14:02 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54504 invoked from network); 13 Aug 2007 16:14:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Aug 2007 16:14:02 -0000 Received: (qmail 48810 invoked by uid 500); 13 Aug 2007 16:14:00 -0000 Delivered-To: [email protected] Received: (qmail 48633 invoked by uid 500); 13 Aug 2007 16:14:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 48618 invoked by uid 99); 13 Aug 2007 16:14:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2007 09:14:00 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nz-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2007 16:13:56 +0000 Received: by nz-out-0506.google.com with SMTP id o37so496852nzf for <[email protected]>; Mon, 13 Aug 2007 09:13:35 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=MOooj5vjpkEgbw04keqo/mKa3gWxHqkkR1SzVCynM/u75lQ4CjiEFFdGb5z+hkVI+GaEDclxHiWlLDH9I68ayNteE+f6GRCblw9Q7wwlUBbxBI+p7nHFx5uGzNot5nwbx0w14OInTmlLxmhGaRQuAzmg77jrXyoXyht0uSBHd2A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=stRUOtZTJ6fLte0b2XB4ShuUMtIRGjdBMJWzn0HBNs/MxiZSUR29A1SvyBJ9B+ERKljhY6v4KXr5NbgoYasV7OB0Xp7BlhWctCR0BD8Yjz6IwRX3x/ajtBDdLzFtymkTIyfdh2NBWp4cxR5wxoDqL8fY4oEbf4l5EN9jMn4g/KA= Received: by 161.129.204.104 with SMTP id c11mr9789416qbs.1187021614905; Mon, 13 Aug 2007 09:13:34 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 13 Aug 2007 09:13:34 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 13 Aug 2007 12:13:34 -0400 From: "Patrick Burrows" <[email protected]> To: [email protected] Subject: Re: Lucene and a dynamic website In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_20242_23320276.1187021614861" References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_20242_23320276.1187021614861 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Here is a document that describes the default supported query syntax: http://lucene.apache.org/java/docs/queryparsersyntax.html On 8/13/07, Douglas Smith (at home) <[email protected]> wrote: > > Hi Jan, > > FI, I am trying to move away from SQL full text search engine because it > does not support wildcard searches (Yes, I was flabbergasted to discover > this...). MS FTS only support prefix searches (wildcards at the end of > words). > > Jan Limpens wrote: > > Hello, > > > > where can I find examples/howtos/tutorials/faqs... on how to use > > Lucene.netto index database generated aspx pages on a webserver. > > Or should I stick to sql server/fulltext search in that case? > > > > Thanks! > > Jan > > > > > > > -- > ====================================== > Douglas M. Smith > |--- DataSmithy ---| > > email: [email protected] > work: 856.683.6701 > home: 856.683.6701 > fax: 856.683.6701 > aim: datasmithy > yahoo: datasmithy > skype: datasmitty > jabber: [email protected] > ====================================== > > > -- - P ------=_Part_20242_23320276.1187021614861-- From [email protected] Mon Aug 13 16:58:38 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5199 invoked from network); 13 Aug 2007 16:58:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Aug 2007 16:58:37 -0000 Received: (qmail 41624 invoked by uid 500); 13 Aug 2007 16:58:35 -0000 Delivered-To: [email protected] Received: (qmail 41613 invoked by uid 500); 13 Aug 2007 16:58:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 41604 invoked by uid 99); 13 Aug 2007 16:58:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2007 09:58:35 -0700 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=HTML_MESSAGE,MIME_HTML_ONLY,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.nebula.matls.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2007 16:58:24 +0000 Received: from [161.129.204.104] [161.129.204.104] by mail.nebula.matls.com with ESMTP (SMTPD-8.22) id AD2404C8; Mon, 13 Aug 2007 12:56:04 -0400 Message-ID: <[email protected]> Date: Mon, 13 Aug 2007 13:00:03 -0400 From: "Douglas Smith (at home)" <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20070728) MIME-Version: 1.0 To: [email protected] Subject: Re: Recommendations for Getting Started - wildcard queries. References: <[email protected]> <002101c7ddb2$3c79a230$b56ce690$@com> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> Hi Patrick, thanks for the feedback....that does help...and I did know that it was a direct port of java...I guess I was just expecting to find .NET specific stuff.<br> <br> I am not trying to make your life harder, and I know you guys do everything for free, and support an open source project, which is great...but maybe you could (more obviously) re-direct people to the java search syntax/faqs/file formats/wiki (all of the stuff that is not .NET specific) from your home page, until such time as Lucene.Net has its own pages.<br> <br> Patrick Burrows wrote: <blockquote cite="mid:[email protected]" type="cite"> <pre wrap="">In general, for any given release, if the Java version supports it, the .Net version supports it. If a feature is documented in the Java version, it works the same way in the .Net version. ...that's not to say the docs are always easy to find or make sense of... but that's its own issue. On 8/13/07, Douglas Smith (at home) <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;[email protected]&gt;</a> wrote: </pre> <blockquote type="cite"> <pre wrap="">Hi All, I have seen a lot of good recommendations for using Lucene, but as far as the .NET version, I cannot find very much sample code or sample web sites to help me get started using it. There does not seem to be any overview of features, samples, getting started pages, or wiki pages available. The API is not very helpful in this regard. Particularly, I want to know if Lucence supports wildcard searches, and how to run them. Since the Java version supports wildcard queries, can I assume the .NET version does also? ....http://lucene.apache.org/java/docs/features.html Does anyone have a short example of using the wildcard feature they can post? Thanks for any help in this area :-) </pre> </blockquote> <pre wrap=""><!----> </pre> </blockquote> <br> <br> <pre class="moz-signature" cols="72">-- ====================================== Douglas M. Smith |--- DataSmithy ---| email: <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> work: 856.683.6701 home: 856.683.6701 fax: 856.683.6701 aim: datasmithy yahoo: datasmithy skype: datasmitty jabber: <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> ====================================== </pre> </body> </html> From [email protected] Mon Aug 13 17:00:35 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6608 invoked from network); 13 Aug 2007 17:00:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Aug 2007 17:00:35 -0000 Received: (qmail 45727 invoked by uid 500); 13 Aug 2007 17:00:32 -0000 Delivered-To: [email protected] Received: (qmail 45711 invoked by uid 500); 13 Aug 2007 17:00:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 45702 invoked by uid 99); 13 Aug 2007 17:00:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2007 10:00:32 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mx2.dovebid.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2007 17:00:36 +0000 X-AuditID: 0a0afee1-000012a400000134-d4-46c08e1e0c49 Received: from ca1-w2s-mail02.dovebid.com ([161.129.204.104]) by mx2.dovebid.com with Microsoft SMTPSVC856.683.6701); Mon, 13 Aug 2007 10:00:14 -0700 Received: by ca1-w2s-mail02.dovebid.com with Internet Mail Service (5.5.2657.72) id <PYLWJGXX>; Mon, 13 Aug 2007 10:05:58 -0700 Message-ID: <[email protected]> From: Nathan Hoover <[email protected]> To: [email protected] Subject: file not found when deleting? Date: Mon, 13 Aug 2007 09:56:54 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C7DDCA.F3D7FFE0" X-Brightmail-Tracker: AAAAAA== X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C7DDCA.F3D7FFE0 Content-Type: text/plain What would cause these errors to suddenly crop up? I haven't made any significant code changes but all the sudden I am getting occasional spates of file not found errors. I have deleted the entire index and recreated from scratch and still it persists. They appear to be transient (i.e., the indexing process recovers from the exception and re-processes that particular batch of data). N Could not find file 'c:\Apps\LuceneIndices\Lots\_582.fnm'. at Lucene.Net.Index.SegmentInfos.FindSegmentsFile.run() at Lucene.Net.Index.IndexReader.Open(Directory directory, Boolean closeDirectory) at Lucene.Net.Index.IndexReader.Open(Directory directory) at Lucene.Net.Index.IndexModifier.CreateIndexReader() at Lucene.Net.Index.IndexModifier.DeleteDocuments(Term term) at DoveBid.Common.LuceneService.LuceneService.IndexLots(Object threadState) For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. ___________________________________ Nathan Hoover Senior Software Engineer DoveBid, Inc. 1241 East Hillsdale Blvd. Foster City, CA 94404 o. 856.683.6701 m. 856.683.6701 Visit [email protected] <http://www.dovebid.com> . ------_=_NextPart_001_01C7DDCA.F3D7FFE0-- From [email protected] Mon Aug 13 17:21:52 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 19403 invoked from network); 13 Aug 2007 17:21:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Aug 2007 17:21:51 -0000 Received: (qmail 88385 invoked by uid 500); 13 Aug 2007 17:21:49 -0000 Delivered-To: [email protected] Received: (qmail 88365 invoked by uid 500); 13 Aug 2007 17:21:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 88356 invoked by uid 99); 13 Aug 2007 17:21:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2007 10:21:49 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nz-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2007 17:21:40 +0000 Received: by nz-out-0506.google.com with SMTP id o37so510373nzf for <[email protected]>; Mon, 13 Aug 2007 10:21:19 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=RmNU+F6UPdlh0U57PLWpFQowABAA3jlnXFX9VXA8bZxlgJD3EX/W80Y4OVkltsXG1YUmJ6VnUTvcKkg4M/BfzVsC751Ph5yqmzYdhoAWVKIaQPE+k8UeJe3gyJz1cRMBk8CXC3hlrOsqZgjQ2qrF2jCzIMdnEifh15laq0BjIb8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=HoNwgzr56UuVkDOUVS6RQFnHwD9l5M4o9MF/OIaENe/iq0kcOd6kQQhHUolGfy6inr2gwg3PNuNYeQXUaa2ootGZyBRFzWo3YaFq+Mm/yEJK6C7RxVJpUeV/lYTKetgpQHABSahb/YWgfM+BtMc2RPa+xZLmtdgV/VTRF12mqhc= Received: by 161.129.204.104 with SMTP id r20mr1444085qbp.1187025679386; Mon, 13 Aug 2007 10:21:19 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 13 Aug 2007 10:21:18 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 13 Aug 2007 13:21:18 -0400 From: "Patrick Burrows" <[email protected]> To: [email protected] Subject: Re: Recommendations for Getting Started - wildcard queries. In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_20739_27493466.1187025678941" References: <[email protected]> <002101c7ddb2$3c79a230$b56ce690$@com> <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_20739_27493466.1187025678941 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Incidentally, George is the one who has done all the work on this project. All kudos (and suggestions) go to him. On 8/13/07, Douglas Smith (at home) <[email protected]> wrote: > > Hi Patrick, thanks for the feedback....that does help...and I did know > that it was a direct port of java...I guess I was just expecting to find > .NET specific stuff. > > I am not trying to make your life harder, and I know you guys do > everything for free, and support an open source project, which is > great...but maybe you could (more obviously) re-direct people to the java > search syntax/faqs/file formats/wiki (all of the stuff that is not .NET > specific) from your home page, until such time as Lucene.Net has its own > pages. > > Patrick Burrows wrote: > > In general, for any given release, if the Java version supports it, the .Net > version supports it. If a feature is documented in the Java version, it > works the same way in the .Net version. > > ...that's not to say the docs are always easy to find or make sense of... > but that's its own issue. > > > On 8/13/07, Douglas Smith (at home) <[email protected]> <[email protected]> wrote: > > > Hi All, > > I have seen a lot of good recommendations for using Lucene, but as far > as the .NET version, I cannot find very much sample code or sample web > sites to help me get started using it. There does not seem to be any > overview of features, samples, getting started pages, or wiki pages > available. The API is not very helpful in this regard. > > Particularly, I want to know if Lucence supports wildcard searches, and > how to run them. > > Since the Java version supports wildcard queries, can I assume the .NET > version does also? ....http://lucene.apache.org/java/docs/features.html > > Does anyone have a short example of using the wildcard feature they can > post? > > Thanks for any help in this area :-) > > > > > > > > > -- > ====================================== > Douglas M. Smith > |--- DataSmithy ---| > > email: [email protected] > work: 856.683.6701 > home: 856.683.6701 > fax: 856.683.6701 > aim: datasmithy > yahoo: datasmithy > skype: datasmitty > jabber: [email protected] > ====================================== > > > -- - P ------=_Part_20739_27493466.1187025678941-- From [email protected] Tue Aug 14 13:54:31 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 32907 invoked from network); 14 Aug 2007 13:54:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Aug 2007 13:54:30 -0000 Received: (qmail 87842 invoked by uid 500); 14 Aug 2007 13:54:28 -0000 Delivered-To: [email protected] Received: (qmail 87826 invoked by uid 500); 14 Aug 2007 13:54:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 87817 invoked by uid 99); 14 Aug 2007 13:54:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Aug 2007 06:54:27 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF [email protected]) Received: from [161.129.204.104] (HELO smtp101.rog.mail.re2.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 14 Aug 2007 13:54:33 +0000 Received: (qmail 34807 invoked from network); 14 Aug 2007 13:53:54 -0000 Received: from unknown (HELO ?161.129.204.104?) ([email protected]@161.129.204.104 with plain) by smtp101.rog.mail.re2.yahoo.com with SMTP; 14 Aug 2007 13:53:54 -0000 X-YMail-OSG: zUurbaEVM1mQK7eKun0WqTAUpjycWj9gDWC33tz_qxMxMnDY5FxkVK5z6VzZ_TFXpQ-- Message-ID: <[email protected]> Date: Tue, 14 Aug 2007 09:53:52 -0400 From: brydon <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20070604) MIME-Version: 1.0 To: lucene user list <[email protected]> Subject: lucene.net on UNC share Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hey all, What is the common pattern for implementing Lucene.net in an environment with multiple, load balanced web servers? We've been attempting to store the index and lock files on a UNC share, however, we seem to be continually running into invalid results in the index. As well, we get "cannot create directory" errors that occur somewhat randomly, or at least we haven't established the pattern yet. Thanks, in advance, for any advice. thanks, brydon {*} Band of Coders http://bandOfCoders.com http://shiftMode.com 856.683.6701 From [email protected] Tue Aug 14 14:03:09 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37792 invoked from network); 14 Aug 2007 14:03:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Aug 2007 14:03:07 -0000 Received: (qmail 9822 invoked by uid 500); 14 Aug 2007 14:03:03 -0000 Delivered-To: [email protected] Received: (qmail 9808 invoked by uid 500); 14 Aug 2007 14:03:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 9792 invoked by uid 99); 14 Aug 2007 14:03:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Aug 2007 07:03:03 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nz-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Aug 2007 14:02:56 +0000 Received: by nz-out-0506.google.com with SMTP id o37so634779nzf for <[email protected]>; Tue, 14 Aug 2007 07:02:35 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=sBGVHPJMevZtEUZobfji6OOUmln84dk5ioktz/65q3W5K3lvmGObXuOKej+BbCmPYlnMjB6ZsmYyLlJSP/uE47VVfaTteNh0xxKOfxR4w7H/VI55DeAsA/FbACTZsECOl4Mu0HKkFXi0gl9oE2ih6JWkI1DBnDzbDCngu29l1lU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=i9/j1NIF2CHtkaYEZZouu60j/Dudf9M1nSij/J72JDP0lkriXdQGKdXTiNsuwzM1CZ2SWX0Kx3vPfRr4pmXmKrOtkXpb+t9dQ4gpb1XJz5C4HavKN2c5aRW0x5liFro/uM0nkkwAlgWHwbeNVaOQM9WZJX5tP7IaAnf+lxXWmNU= Received: by 161.129.204.104 with SMTP id f20mr11727129qbg.1187100155161; Tue, 14 Aug 2007 07:02:35 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 14 Aug 2007 07:02:35 -0700 (PDT) Message-ID: <[email protected]> Date: Tue, 14 Aug 2007 10:02:35 -0400 From: "Patrick Burrows" <[email protected]> To: [email protected] Subject: Re: lucene.net on UNC share In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_27506_9153071.1187100155127" References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_27506_9153071.1187100155127 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I've seen previous posts that mention writing a service to use as an app server to access a single instance of the index. I've not had a need for that yet, though, so I haven't tried. On 8/14/07, brydon <[email protected]> wrote: > > Hey all, > > What is the common pattern for implementing Lucene.net in an environment > with multiple, load balanced web servers? > > We've been attempting to store the index and lock files on a UNC share, > however, we seem to be continually running into invalid results in the > index. As well, we get "cannot create directory" errors that occur > somewhat randomly, or at least we haven't established the pattern yet. > > Thanks, in advance, for any advice. > > thanks, > brydon > > {*} Band of Coders > > http://bandOfCoders.com > http://shiftMode.com > 856.683.6701 > > -- - P ------=_Part_27506_9153071.1187100155127-- From [email protected] Tue Aug 14 15:01:01 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65698 invoked from network); 14 Aug 2007 15:01:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Aug 2007 15:01:00 -0000 Received: (qmail 23334 invoked by uid 500); 14 Aug 2007 15:00:58 -0000 Delivered-To: [email protected] Received: (qmail 23316 invoked by uid 500); 14 Aug 2007 15:00:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23307 invoked by uid 99); 14 Aug 2007 15:00:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Aug 2007 08:00:58 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mx2.dovebid.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Aug 2007 15:01:04 +0000 X-AuditID: 0a0afee1-000012b800000134-95-46c1c3990c54 Received: from ca1-w2s-mail02.dovebid.com ([161.129.204.104]) by mx2.dovebid.com with Microsoft SMTPSVC856.683.6701); Tue, 14 Aug 2007 08:00:41 -0700 Received: by ca1-w2s-mail02.dovebid.com with Internet Mail Service (5.5.2657.72) id <PYLWJ26J>; Tue, 14 Aug 2007 08:06:25 -0700 Message-ID: <[email protected]> From: Nathan Hoover <[email protected]> To: [email protected] Subject: RE: lucene.net on UNC share Date: Tue, 14 Aug 2007 07:57:20 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C7DE83.69C82A5A" X-Brightmail-Tracker: AAAAAA== X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C7DE83.69C82A5A Content-Type: text/plain We've installed the indices on a separate app server and handle the search requests via Remoting. There are also some remote search classes within the Lucene.NET package, but I have yet to use them. N -----Original Message----- From: brydon [mailto:[email protected]] Sent: Tuesday, August 14, 2007 6:54 AM To: lucene user list Subject: lucene.net on UNC share Hey all, What is the common pattern for implementing Lucene.net in an environment with multiple, load balanced web servers? We've been attempting to store the index and lock files on a UNC share, however, we seem to be continually running into invalid results in the index. As well, we get "cannot create directory" errors that occur somewhat randomly, or at least we haven't established the pattern yet. Thanks, in advance, for any advice. thanks, brydon {*} Band of Coders http://bandOfCoders.com http://shiftMode.com 856.683.6701 ------_=_NextPart_001_01C7DE83.69C82A5A-- From [email protected] Tue Aug 14 16:09:27 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82629 invoked from network); 14 Aug 2007 16:09:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Aug 2007 16:09:25 -0000 Received: (qmail 81975 invoked by uid 500); 14 Aug 2007 16:09:15 -0000 Delivered-To: [email protected] Received: (qmail 81960 invoked by uid 500); 14 Aug 2007 16:09:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 81256 invoked by uid 99); 14 Aug 2007 16:09:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Aug 2007 09:09:13 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF [email protected]) Received: from [161.129.204.104] (HELO smtp104.rog.mail.re2.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 14 Aug 2007 16:09:20 +0000 Received: (qmail 74524 invoked from network); 14 Aug 2007 16:08:44 -0000 Received: from unknown (HELO ?161.129.204.104?) ([email protected]@161.129.204.104 with plain) by smtp104.rog.mail.re2.yahoo.com with SMTP; 14 Aug 2007 16:08:44 -0000 X-YMail-OSG: SAXl2F0VM1lO.ywMcVmHeUTeR54r9R4OwPJlpLg9onVQq.27kRtFYJpymO7VD16COQ-- Message-ID: <[email protected]> Date: Tue, 14 Aug 2007 12:08:43 -0400 From: brydon <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20070604) MIME-Version: 1.0 To: [email protected] Subject: Re: lucene.net on UNC share References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Can anyone comment as to whether storing the index on a UNC share would likely be problematic? We haven't been able to fully diagnose the issues we're seeing so I'm concerned about making these changes and not resolving our current issues. As well, I believe we're running an older release. Where can we grab the most recent stable build from? thanks, brydon Nathan Hoover wrote: > We've installed the indices on a separate app server and handle the search > requests via Remoting. > > There are also some remote search classes within the Lucene.NET package, but > I have yet to use them. > > N > > -----Original Message----- > From: brydon [mailto:[email protected]] > Sent: Tuesday, August 14, 2007 6:54 AM > To: lucene user list > Subject: lucene.net on UNC share > > Hey all, > > What is the common pattern for implementing Lucene.net in an environment > with multiple, load balanced web servers? > > We've been attempting to store the index and lock files on a UNC share, > however, we seem to be continually running into invalid results in the > index. As well, we get "cannot create directory" errors that occur > somewhat randomly, or at least we haven't established the pattern yet. > > Thanks, in advance, for any advice. > > thanks, > brydon > > {*} Band of Coders > > http://bandOfCoders.com > http://shiftMode.com > 856.683.6701 > > From [email protected] Wed Aug 15 03:36:31 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56958 invoked from network); 15 Aug 2007 03:36:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Aug 2007 03:36:31 -0000 Received: (qmail 8123 invoked by uid 500); 15 Aug 2007 03:36:29 -0000 Delivered-To: [email protected] Received: (qmail 8105 invoked by uid 500); 15 Aug 2007 03:36:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 8096 invoked by uid 99); 15 Aug 2007 03:36:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Aug 2007 20:36:29 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.nebula.matls.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Aug 2007 03:36:34 +0000 Received: from [161.129.204.104] [161.129.204.104] by mail.nebula.matls.com with ESMTP (SMTPD-8.22) id A41E038C; Tue, 14 Aug 2007 23:33:50 -0400 Message-ID: <[email protected]> Date: Tue, 14 Aug 2007 23:37:57 -0400 From: "Douglas Smith (at home)" <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20070728) MIME-Version: 1.0 To: [email protected] Subject: Running Lucene.Net as a service? References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello, Can Lucene.Net be run as a windows service? Can anyone offer any guidance or "quick start" tips toward getting configuring lucene to run as service, as well as how to make calls to it (what is the interface protocol)? I see there is a Lucene.Net.Search.RemoteSearchable.config in the project, and I also see these projects in the /contrib/ directory: Lucene.Net.Distributed/ <file:///F:/projects.net/lucene.net/Lucene.Net.Distributed/> LuceneMonitorSetup/ <file:///F:/projects.net/lucene.net/LuceneMonitorSetup/> but I have no idea how to configure them or how to use them in a windows service solution. -- ====================================== Douglas M. Smith |--- DataSmithy ---| email: [email protected] work: 856.683.6701 home: 856.683.6701 fax: 856.683.6701 aim: datasmithy yahoo: datasmithy skype: datasmitty jabber: [email protected] ====================================== From [email protected] Wed Aug 15 09:07:15 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 50296 invoked from network); 15 Aug 2007 09:07:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Aug 2007 09:07:15 -0000 Received: (qmail 94600 invoked by uid 500); 15 Aug 2007 09:06:58 -0000 Delivered-To: [email protected] Received: (qmail 94588 invoked by uid 500); 15 Aug 2007 09:06:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 94578 invoked by uid 99); 15 Aug 2007 09:06:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Aug 2007 02:06:58 -0700 X-ASF-Spam-Status: No, hits=-2.2 required=10.0 tests=MIME_QP_LONG_LINE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail58.messagelabs.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 15 Aug 2007 09:07:07 +0000 X-VirusChecked: Checked X-Env-Sender: [email protected] X-Msg-Ref: server-9.tower-58.messagelabs.com!1187168789!125061447!1 X-StarScan-Version: 161.129.204.104; banners=condenast.co.uk,-,- X-Originating-IP: [161.129.204.104] Received: (qmail 26792 invoked from network); 15 Aug 2007 09:06:29 -0000 Received: from unknown (HELO ex1.uk.conde-nast.biz) (161.129.204.104) by server-9.tower-58.messagelabs.com with SMTP; 15 Aug 2007 09:06:29 -0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: RE: lucene.net on UNC share Date: Wed, 15 Aug 2007 10:06:29 +0100 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: lucene.net on UNC share Thread-Index: AcfejX2itNumLoqQRMO0heAZKcAKlgAjV+HA From: "Peter Miller" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org We=20also=20run=20our=20sites=20in=20an=20environment=20where=20we=20have=20= multiple load-balanced=20web=20servers.=20Our=20solution=20is=20as=20follows: We=20have=20an=20indexing=20server,=20which=20has=20an=20app=20running=20o= n=20it=20to periodically=20create=20and=20update=20indexes.=20This=20then=20*pushes*=20= the=20indexes out=20to=20shares=20on=20the=20web=20servers.=20The=20web=20site=20code=20= then=20reads=20from=20it's own=20local=20disk.=20This=20solution=20means=20there=20is=20only=20one=20= app=20hitting=20the data=20store=20(sql=20database=20in=20our=20case)=20but=20there=20will=20n= ot=20be=20any performance=20issues=20from=20multiple=20apps=20reading=20the=20same=20ind= ex=20across=20the network.=20=20It's=20actually=20a=20little=20more=20complicated=20than=20t= his=20as=20in=20order to=20get=20around=20issues=20with=20changing=20the=20index=20mid-web-reque= st,=20we=20create new=20directories=20with=20new=20versions=20of=20indexes=20(or=20updates)=20= and=20update=20an xml=20file=20that=20points=20to=20these. If=20anyone=20wants=20to=20discuss=20our=20solution=20futher=20feel=20free= =20to=20contact=20me. Thanks, Pete www.stylefinder.com www.vogue.co.uk www.glamourmagazine.co.uk -----Original=20Message----- From:=20brydon=20[mailto:[email protected]]=20 Sent:=2014=20August=202007=2017:09 To:[email protected] Subject:=20Re:=20lucene.net=20on=20UNC=20share Can=20anyone=20comment=20as=20to=20whether=20storing=20the=20index=20on=20= a=20UNC=20share=20would likely=20be=20problematic?=20We=20haven't=20been=20able=20to=20fully=20dia= gnose=20the=20issues we're=20seeing=20so=20I'm=20concerned=20about=20making=20these=20changes=20= and=20not resolving=20our=20current=20issues. As=20well,=20I=20believe=20we're=20running=20an=20older=20release.=20Where= =20can=20we=20grab=20the most=20recent=20stable=20build=20from? thanks, brydon Nathan=20Hoover=20wrote: >=20We've=20installed=20the=20indices=20on=20a=20separate=20app=20server=20= and=20handle=20the=20 >=20search=20requests=20via=20Remoting. > >=20There=20are=20also=20some=20remote=20search=20classes=20within=20the=20= Lucene.NET=20 >=20package,=20but=20I=20have=20yet=20to=20use=20them. > >=20N > >=20-----Original=20Message----- >=20From:=20brydon=20[mailto:[email protected]] >=20Sent:=20Tuesday,=20August=2014,=202007=206:54=20AM >=20To:=20lucene=20user=20list >=20Subject:=20lucene.net=20on=20UNC=20share > >=20Hey=20all, > >=20What=20is=20the=20common=20pattern=20for=20implementing=20Lucene.net=20= in=20an=20 >=20environment=20with=20multiple,=20load=20balanced=20web=20servers? > >=20We've=20been=20attempting=20to=20store=20the=20index=20and=20lock=20fi= les=20on=20a=20UNC=20 >=20share,=20however,=20we=20seem=20to=20be=20continually=20running=20into= =20invalid=20results >=20in=20the=20index.=20As=20well,=20we=20get=20"cannot=20create=20directo= ry"=20errors=20that=20 >=20occur=20somewhat=20randomly,=20or=20at=20least=20we=20haven't=20establ= ished=20the pattern=20yet. > >=20Thanks,=20in=20advance,=20for=20any=20advice. > >=20thanks, >=20brydon > >=20{*}=20Band=20of=20Coders > >=20http://bandOfCoders.com >=20http://shiftMode.com >=20519.489.0116 > >=20=20=20 The=20information=20contained=20in=20this=20e-mail=20is=20of=20a=20confide= ntial=20nature=20and=20is=20intended=20only=20for=20the=20addressee.=20=20= If=20you=20are=20not=20the=20intended=20addressee,=20any=20disclosure,=20c= opying=20or=20distribution=20by=20you=20is=20prohibited=20and=20may=20be=20= unlawful.=20=20Disclosure=20to=20any=20party=20other=20than=20the=20addres= see,=20whether=20inadvertent=20or=20otherwise,=20is=20not=20intended=20to=20= waive=20privilege=20or=20confidentiality.=20=20Internet=20communications=20= are=20not=20secure=20and=20therefore=20Conde=20Nast=20does=20not=20accept=20= legal=20responsibility=20for=20the=20contents=20of=20this=20message.=20=20= Any=20views=20or=20opinions=20expressed=20are=20those=20of=20the=20author.= Company=20Registration=20details: The=20Conde=20Nast=20Publications=20Ltd Vogue=20House Hanover=20Square London=20W1S=201JU Registered=20in=20London=20No.=20226900 From [email protected] Wed Aug 15 12:36:39 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25074 invoked from network); 15 Aug 2007 12:36:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Aug 2007 12:36:38 -0000 Received: (qmail 24061 invoked by uid 500); 15 Aug 2007 12:36:36 -0000 Delivered-To: [email protected] Received: (qmail 24034 invoked by uid 500); 15 Aug 2007 12:36:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 24025 invoked by uid 99); 15 Aug 2007 12:36:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Aug 2007 05:36:36 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO nz-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Aug 2007 12:36:28 +0000 Received: by nz-out-0506.google.com with SMTP id o37so757691nzf for <[email protected]>; Wed, 15 Aug 2007 05:36:06 -0700 (PDT) Received: by 161.129.204.104 with SMTP id o10mr19931wfh.1187181365078; Wed, 15 Aug 2007 05:36:05 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Wed, 15 Aug 2007 05:36:05 -0700 (PDT) Message-ID: <[email protected]> Date: Wed, 15 Aug 2007 08:36:05 -0400 From: "Joe Shaw" <[email protected]> To: [email protected] Subject: Re: Running Lucene.Net as a service? In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi, On 8/14/07, Douglas Smith (at home) <[email protected]> wrote: > Can Lucene.Net be run as a windows service? Lucene isn't a standalone indexing and search application; it's a library that you can use to build index and search applications. So there's no way to run Lucene.Net itself as a Windows service. You could build an app that used Lucene.Net for index and search and have it run as a Windows service, though. Joe From [email protected] Wed Aug 15 12:36:57 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25142 invoked from network); 15 Aug 2007 12:36:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Aug 2007 12:36:57 -0000 Received: (qmail 24336 invoked by uid 500); 15 Aug 2007 12:36:55 -0000 Delivered-To: [email protected] Received: (qmail 24315 invoked by uid 500); 15 Aug 2007 12:36:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 24306 invoked by uid 99); 15 Aug 2007 12:36:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Aug 2007 05:36:55 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nz-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Aug 2007 12:37:03 +0000 Received: by nz-out-0506.google.com with SMTP id o37so757739nzf for <[email protected]>; Wed, 15 Aug 2007 05:36:25 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Jf0p7WFAJBHCnMVOhbPzcYLkGQ6uvBbKTYOAyaOrGAjv+LsQyfdbuw0m0o0cbbbbLeYlGDZ7Vm5RH6/MRcN5PZpNrfSMQEveVZOYhXL3DBp0P4GdnCSrgnhxoEmkDurMN0GIR0GZ/MdM4D7E/Y4QnIF7b1W/03uvUIC7KtIZK9I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=uZgIDzeJuq4cVua7XuJtcX14zv6bp1CJlXCs169HFGMIcFqVQ5XYCNa78v7Ku8K+IGjoH09cB5ws6pnchnqPdacIa7Jnq8gSGCZWMR+DA8OwpZYdNN97bjlM1Lfn8gV1wsLboKDJURw5UKpD///5/rnH/h9PGZmkPG+oOYQiZlI= Received: by 161.129.204.104 with SMTP id c8mr820015qbq.1187181384811; Wed, 15 Aug 2007 05:36:24 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Wed, 15 Aug 2007 05:36:24 -0700 (PDT) Message-ID: <[email protected]> Date: Wed, 15 Aug 2007 22:36:24 +1000 From: "Michael Mitiaguin" <[email protected]> To: [email protected] Subject: Re: Running Lucene.Net as a service? In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_43493_23555223.1187181384765" References: <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_43493_23555223.1187181384765 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Douglas, Unless I am missing something , Lucene.Net is API , moreover API cross-translated from Java . Numerous IDE tools in Windows environment provide a possibility to create a Windows Service starting from Delphi ( COM interop is required ) and probably the most natural choice would be C# and Visual Studio. It is up to you how to organize calls to Lucene inside your Windows Service. You may use RemoteSearchable or Distributed in your Windows Service , but there is no direct relation to my knowledge. Michael On 8/15/07, Douglas Smith (at home) <[email protected]> wrote: > > Hello, > > Can Lucene.Net be run as a windows service? > > Can anyone offer any guidance or "quick start" tips toward getting > configuring lucene to run as service, as well as how to make calls to it > (what is the interface protocol)? > > I see there is a Lucene.Net.Search.RemoteSearchable.config in the > project, and I also see these projects in the /contrib/ directory: > > Lucene.Net.Distributed/ > <file:///F:/projects.net/lucene.net/Lucene.Net.Distributed/> > LuceneMonitorSetup/ > <file:///F:/projects.net/lucene.net/LuceneMonitorSetup/> > > but I have no idea how to configure them or how to use them in a windows > service solution. > > -- > ====================================== > Douglas M. Smith > |--- DataSmithy ---| > > email: [email protected] > work: 856.683.6701 > home: 856.683.6701 > fax: 856.683.6701 > aim: datasmithy > yahoo: datasmithy > skype: datasmitty > jabber: [email protected] > ====================================== > > > > ------=_Part_43493_23555223.1187181384765-- From [email protected] Thu Aug 16 11:53:20 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49269 invoked from network); 16 Aug 2007 11:53:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Aug 2007 11:53:19 -0000 Received: (qmail 86477 invoked by uid 500); 16 Aug 2007 11:53:17 -0000 Delivered-To: [email protected] Received: (qmail 86301 invoked by uid 500); 16 Aug 2007 11:53:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 86284 invoked by uid 99); 16 Aug 2007 11:53:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Aug 2007 04:53:16 -0700 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=HTML_MESSAGE,MIME_HTML_ONLY,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.nebula.matls.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Aug 2007 11:53:07 +0000 Received: from [161.129.204.104] [161.129.204.104] by mail.nebula.matls.com with ESMTP (SMTPD-8.22) id AA0D0500; Thu, 16 Aug 2007 07:50:37 -0400 Message-ID: <[email protected]> Date: Thu, 16 Aug 2007 07:54:49 -0400 From: "Douglas Smith (at home)" <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20070728) MIME-Version: 1.0 To: [email protected] Subject: Re: Running Lucene.Net as a service? References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> <br> Thank you...I was just hoping there was some other Lucene project already out there, that was doing this already...<br> <br> Michael Mitiaguin wrote: <blockquote cite="mid:[email protected]" type="cite"> <pre wrap="">Douglas, Unless I am missing something , Lucene.Net is API , moreover API cross-translated from Java . Numerous IDE tools in Windows environment provide a possibility to create a Windows Service starting from Delphi ( COM interop is required ) and probably the most natural choice would be C# and Visual Studio. It is up to you how to organize calls to Lucene inside your Windows Service. You may use RemoteSearchable or Distributed in your Windows Service , but there is no direct relation to my knowledge. Michael On 8/15/07, Douglas Smith (at home) <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;[email protected]&gt;</a> wrote: </pre> <blockquote type="cite"> <pre wrap="">Hello, Can Lucene.Net be run as a windows service? Can anyone offer any guidance or "quick start" tips toward getting configuring lucene to run as service, as well as how to make calls to it (what is the interface protocol)? I see there is a Lucene.Net.Search.RemoteSearchable.config in the project, and I also see these projects in the /contrib/ directory: Lucene.Net.Distributed/ <a class="moz-txt-link-rfc2396E" href="file:///F:/projects.net/lucene.net/Lucene.Net.Distributed/">&lt;file:///F:/projects.net/lucene.net/Lucene.Net.Distributed/&gt;</a> LuceneMonitorSetup/ <a class="moz-txt-link-rfc2396E" href="file:///F:/projects.net/lucene.net/LuceneMonitorSetup/">&lt;file:///F:/projects.net/lucene.net/LuceneMonitorSetup/&gt;</a> but I have no idea how to configure them or how to use them in a windows service solution. -- ====================================== Douglas M. Smith |--- DataSmithy ---| email: <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> work: 856.683.6701 home: 856.683.6701 fax: 856.683.6701 aim: datasmithy yahoo: datasmithy skype: datasmitty jabber: <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> ====================================== </pre> </blockquote> <pre wrap=""><!----> </pre> </blockquote> <br> <br> <pre class="moz-signature" cols="72">-- ====================================== Douglas M. Smith |--- DataSmithy ---| email: <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> work: 856.683.6701 home: 856.683.6701 fax: 856.683.6701 aim: datasmithy yahoo: datasmithy skype: datasmitty jabber: <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> ====================================== </pre> </body> </html> From [email protected] Thu Aug 16 17:10:44 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21571 invoked from network); 16 Aug 2007 17:10:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Aug 2007 17:10:43 -0000 Received: (qmail 98208 invoked by uid 500); 16 Aug 2007 17:10:41 -0000 Delivered-To: [email protected] Received: (qmail 98102 invoked by uid 500); 16 Aug 2007 17:10:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 98002 invoked by uid 99); 16 Aug 2007 17:10:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Aug 2007 10:10:40 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mx2.dovebid.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Aug 2007 17:10:20 +0000 X-AuditID: 0a0afee1-0000129400000134-d0-46c484f457d3 Received: from ca1-w2s-mail02.dovebid.com ([161.129.204.104]) by mx2.dovebid.com with Microsoft SMTPSVC856.683.6701); Thu, 16 Aug 2007 10:10:12 -0700 Received: by ca1-w2s-mail02.dovebid.com with Internet Mail Service (5.5.2657.72) id <PYLWJNVT>; Thu, 16 Aug 2007 10:15:57 -0700 Message-ID: <[email protected]> From: Nathan Hoover <[email protected]> To: [email protected] Subject: RE: Running Lucene.Net as a service? Date: Thu, 16 Aug 2007 10:06:46 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C7E027.D3A9C154" X-Brightmail-Tracker: AAAAAA== X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C7E027.D3A9C154 Content-Type: text/plain Solr might be more along the lines of what you are looking for (packaged search solution) but I don't know that there is a .NET port. In any event, creating a service using Lucene is trivial. I can send you some C# examples if you like. Regards, Nathan _____ From: Douglas Smith (at home) [mailto:[email protected]] Sent: Thursday, August 16, 2007 4:55 AM To: [email protected] Subject: Re: Running Lucene.Net as a service? Thank you...I was just hoping there was some other Lucene project already out there, that was doing this already... Michael Mitiaguin wrote: Douglas, Unless I am missing something , Lucene.Net is API , moreover API cross-translated from Java . Numerous IDE tools in Windows environment provide a possibility to create a Windows Service starting from Delphi ( COM interop is required ) and probably the most natural choice would be C# and Visual Studio. It is up to you how to organize calls to Lucene inside your Windows Service. You may use RemoteSearchable or Distributed in your Windows Service , but there is no direct relation to my knowledge. Michael On 8/15/07, Douglas Smith (at home) <mailto:[email protected]> <[email protected]> wrote: Hello, Can Lucene.Net be run as a windows service? Can anyone offer any guidance or "quick start" tips toward getting configuring lucene to run as service, as well as how to make calls to it (what is the interface protocol)? I see there is a Lucene.Net.Search.RemoteSearchable.config in the project, and I also see these projects in the /contrib/ directory: Lucene.Net.Distributed/ <file:///F:\projects.net\lucene.net\Lucene.Net.Distributed\> <file:///F:/projects.net/lucene.net/Lucene.Net.Distributed/> LuceneMonitorSetup/ <file:///F:\projects.net\lucene.net\LuceneMonitorSetup\> <file:///F:/projects.net/lucene.net/LuceneMonitorSetup/> but I have no idea how to configure them or how to use them in a windows service solution. -- ====================================== Douglas M. Smith |--- DataSmithy ---| email: [email protected] <mailto:[email protected]> work: 856.683.6701 home: 856.683.6701 fax: 856.683.6701 aim: datasmithy yahoo: datasmithy skype: datasmitty jabber: [email protected] <mailto:[email protected]> ====================================== -- ====================================== Douglas M. Smith |--- DataSmithy ---| email: [email protected] <mailto:[email protected]> work: 856.683.6701 home: 856.683.6701 fax: 856.683.6701 aim: datasmithy yahoo: datasmithy skype: datasmitty jabber: [email protected] <mailto:[email protected]> ====================================== ------_=_NextPart_001_01C7E027.D3A9C154-- From [email protected] Thu Aug 16 18:09:04 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53854 invoked from network); 16 Aug 2007 18:09:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Aug 2007 18:09:04 -0000 Received: (qmail 76923 invoked by uid 500); 16 Aug 2007 18:09:02 -0000 Delivered-To: [email protected] Received: (qmail 76795 invoked by uid 500); 16 Aug 2007 18:09:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 76786 invoked by uid 99); 16 Aug 2007 18:09:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Aug 2007 11:09:01 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy includes SPF [email protected]) Received: from [161.129.204.104] (HELO smtp106.rog.mail.re2.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 16 Aug 2007 18:08:54 +0000 Received: (qmail 17599 invoked from network); 16 Aug 2007 18:08:31 -0000 Received: from unknown (HELO ?161.129.204.104?) ([email protected]@161.129.204.104 with plain) by smtp106.rog.mail.re2.yahoo.com with SMTP; 16 Aug 2007 18:08:31 -0000 X-YMail-OSG: 1fzCj94VM1lSUftlQkh_ApI1EfKaDJ1v9GQBiQI0.GYNkwTEQqL8EjiS.IxnpDlD.g-- Message-ID: <[email protected]> Date: Thu, 16 Aug 2007 14:08:30 -0400 From: brydon <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20070604) MIME-Version: 1.0 To: [email protected] Subject: Re: Running Lucene.Net as a service? References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I agree, Solr would be great. Has anyone seen anything similar that's .NET based, or that runs on MS infrastructure, using lucene.net? brydon Nathan Hoover wrote: > Solr might be more along the lines of what you are looking for (packaged > search solution) but I don't know that there is a .NET port. > > > > In any event, creating a service using Lucene is trivial. I can send you > some C# examples if you like. > > > > > > Regards, > > Nathan > > > > _____ > > From: Douglas Smith (at home) [mailto:[email protected]] > Sent: Thursday, August 16, 2007 4:55 AM > To: [email protected] > Subject: Re: Running Lucene.Net as a service? > > > > > Thank you...I was just hoping there was some other Lucene project already > out there, that was doing this already... > > Michael Mitiaguin wrote: > > Douglas, > > Unless I am missing something , Lucene.Net is API , moreover API > cross-translated from Java . > Numerous IDE tools in Windows environment provide a possibility to create a > Windows Service starting from Delphi ( COM interop is required ) and > probably the most natural choice would be C# and Visual Studio. It is up to > you how to organize calls to Lucene inside your Windows Service. You may > use RemoteSearchable or Distributed in your Windows Service , but there is > no direct relation to my knowledge. > > Michael > > On 8/15/07, Douglas Smith (at home) <mailto:[email protected]> > <[email protected]> wrote: > > > Hello, > > Can Lucene.Net be run as a windows service? > > Can anyone offer any guidance or "quick start" tips toward getting > configuring lucene to run as service, as well as how to make calls to it > (what is the interface protocol)? > > I see there is a Lucene.Net.Search.RemoteSearchable.config in the > project, and I also see these projects in the /contrib/ directory: > > Lucene.Net.Distributed/ > <file:///F:\projects.net\lucene.net\Lucene.Net.Distributed\> > <file:///F:/projects.net/lucene.net/Lucene.Net.Distributed/> > LuceneMonitorSetup/ > <file:///F:\projects.net\lucene.net\LuceneMonitorSetup\> > <file:///F:/projects.net/lucene.net/LuceneMonitorSetup/> > > but I have no idea how to configure them or how to use them in a windows > service solution. > > -- > ====================================== > Douglas M. Smith > |--- DataSmithy ---| > > email: [email protected] <mailto:[email protected]> > work: 856.683.6701 > home: 856.683.6701 > fax: 856.683.6701 > aim: datasmithy > yahoo: datasmithy > skype: datasmitty > jabber: [email protected] > <mailto:[email protected]> > ====================================== > > > > > > > > > > > > > > > From [email protected] Thu Aug 16 19:38:08 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87145 invoked from network); 16 Aug 2007 19:38:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Aug 2007 19:38:08 -0000 Received: (qmail 46206 invoked by uid 500); 16 Aug 2007 19:38:05 -0000 Delivered-To: [email protected] Received: (qmail 46190 invoked by uid 500); 16 Aug 2007 19:38:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 46181 invoked by uid 99); 16 Aug 2007 19:38:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Aug 2007 12:38:05 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: unknown (nike.apache.org: error in processing during lookup of [email protected]) Received: from [161.129.204.104] (HELO mX1.myoutlookoNline.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Aug 2007 19:38:15 +0000 Received: from BE074.mail.lan ([161.129.204.104]) by mX1.myoutlookoNline.com with Microsoft SMTPSVC856.683.6701); Thu, 16 Aug 2007 15:37:28 -0400 Received: from MAIL005.mail.lan ([161.129.204.104]) by BE074.mail.lan with Microsoft SMTPSVC856.683.6701); Thu, 16 Aug 2007 15:36:41 -0400 Received: from cas107.mail.lan ([161.129.204.104]) by MAIL005.mail.lan with Microsoft SMTPSVC856.683.6701); Thu, 16 Aug 2007 15:32:55 -0400 Received: from BE141.mail.lan (161.129.204.104) by cas107.mail.lan (161.129.204.104) with Microsoft SMTP Server (TLS) id 8.0.730.1; Thu, 16 Aug 2007 15:32:54 -0400 Received: from mail107.mail.lan ([161.129.204.104]) by BE141.mail.lan ([161.129.204.104]) with mapi; Thu, 16 Aug 2007 15:32:54 -0400 From: Kurt Mackey <[email protected]> To: "[email protected]" <[email protected]> Date: Thu, 16 Aug 2007 15:32:38 -0400 Subject: RE: Running Lucene.Net as a service? Thread-Topic: Running Lucene.Net as a service? Thread-Index: AcfgMKzfC7Dl1UvNSe6scL59IxYC9wAC2Gyw Message-ID: <[email protected]> References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 16 Aug 2007 19:32:55.0430 (UTC) FILETIME=[3E7BAA60:01C7E03C] X-Virus-Checked: Checked by ClamAV on apache.org No, but something along those lines would be really nice. I could get a lo= t of use out of Solr, but have no desire to make an environment more comple= x by adding in Java. -Kurt -----Original Message----- From: brydon [mailto:[email protected]] Sent: Thursday, August 16, 2007 1:09 PM To: [email protected] Subject: Re: Running Lucene.Net as a service? I agree, Solr would be great. Has anyone seen anything similar that's .NET based, or that runs on MS infrastructure, using lucene.net? brydon Nathan Hoover wrote: > Solr might be more along the lines of what you are looking for (packaged > search solution) but I don't know that there is a .NET port. > > > > In any event, creating a service using Lucene is trivial. I can send you > some C# examples if you like. > > > > > > Regards, > > Nathan > > > > _____ > > From: Douglas Smith (at home) [mailto:[email protected]] > Sent: Thursday, August 16, 2007 4:55 AM > To: [email protected] > Subject: Re: Running Lucene.Net as a service? > > > > > Thank you...I was just hoping there was some other Lucene project already > out there, that was doing this already... > > Michael Mitiaguin wrote: > > Douglas, > > Unless I am missing something , Lucene.Net is API , moreover API > cross-translated from Java . > Numerous IDE tools in Windows environment provide a possibility to creat= e a > Windows Service starting from Delphi ( COM interop is required ) and > probably the most natural choice would be C# and Visual Studio. It is up= to > you how to organize calls to Lucene inside your Windows Service. You may > use RemoteSearchable or Distributed in your Windows Service , but there = is > no direct relation to my knowledge. > > Michael > > On 8/15/07, Douglas Smith (at home) <mailto:[email protected]> > <[email protected]> wrote: > > > Hello, > > Can Lucene.Net be run as a windows service? > > Can anyone offer any guidance or "quick start" tips toward getting > configuring lucene to run as service, as well as how to make calls to it > (what is the interface protocol)? > > I see there is a Lucene.Net.Search.RemoteSearchable.config in the > project, and I also see these projects in the /contrib/ directory: > > Lucene.Net.Distributed/ > <file:///F:\projects.net\lucene.net\Lucene.Net.Distributed\> > <file:///F:/projects.net/lucene.net/Lucene.Net.Distributed/> > LuceneMonitorSetup/ > <file:///F:\projects.net\lucene.net\LuceneMonitorSetup\> > <file:///F:/projects.net/lucene.net/LuceneMonitorSetup/> > > but I have no idea how to configure them or how to use them in a windows > service solution. > > -- > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Douglas M. Smith > |--- DataSmithy ---| > > email: [email protected] <mailto:[email protected]> > work: 856.683.6701 > home: 856.683.6701 > fax: 856.683.6701 > aim: datasmithy > yahoo: datasmithy > skype: datasmitty > jabber: [email protected] > <mailto:[email protected]> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > > > > > > > > > > > > From [email protected] Sun Aug 19 13:42:36 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 32247 invoked from network); 19 Aug 2007 13:42:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Aug 2007 13:42:35 -0000 Received: (qmail 58165 invoked by uid 500); 19 Aug 2007 13:42:32 -0000 Delivered-To: [email protected] Received: (qmail 58150 invoked by uid 500); 19 Aug 2007 13:42:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 58140 invoked by uid 99); 19 Aug 2007 13:42:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Aug 2007 06:42:32 -0700 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=HTML_MESSAGE,MIME_HTML_ONLY,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ug-out-1314.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Aug 2007 13:42:27 +0000 Received: by ug-out-1314.google.com with SMTP id t30so613208ugc for <[email protected]>; Sun, 19 Aug 2007 06:42:06 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=itx3Z781bNporN3f4gtMzpIFmuN1CT9aBPSvrPldIe7F5fU7UDbkPUhmoZiI6MzhtpcIp/IP7641lG/rP3qAi8Tt+pqaG+pGJDuuc+BrGE68jPF1wmlkcOlXcLKdJ6OjZdJhmNHSj1XETQXfOmXn/dFMan4XbVbHZmxrXO/7Uig= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=XQY/tWZWKrH8fW0T/5X5WYuzCwAyiZRB9dQiXpYS1X5TNASJL5b937fpuOh1tgLMBreJuRTvq4v2zGuRIE/jIVuePlEjzTfc8Ga8gBCClojw4Kh1qYTXe1WUNsq1rSzyue57h2ePcap7YHNxgFxrJ7Sw7mp0PjmZFeDTgv7j61M= Received: by 161.129.204.104 with SMTP id n12mr4593233ugi.1187530925530; Sun, 19 Aug 2007 06:42:05 -0700 (PDT) Received: from ?161.129.204.104? ( [161.129.204.104]) by mx.google.com with ESMTPS id h1sm4371953nfh.2161.129.204.104.42.01 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 19 Aug 2007 06:42:04 -0700 (PDT) Message-ID: <[email protected]> Date: Sun, 19 Aug 2007 15:41:53 +0200 From: Simone Busoli <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20070728) MIME-Version: 1.0 To: [email protected] Subject: Re: Running Lucene.Net as a service? References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> <font size="-1"><font face="Segoe UI">There's cool searching application written with Lucene.Net called <a href="http://www.seekafile.org">Seekafile</a> written by Dan Letecky. It can run as a service too.<br> <br> Simone<br> </font></font><br> Kurt Mackey wrote: <blockquote cite="mid:[email protected]" type="cite"> <pre wrap="">No, but something along those lines would be really nice. I could get a lot of use out of Solr, but have no desire to make an environment more complex by adding in Java. -Kurt -----Original Message----- From: brydon [<a class="moz-txt-link-freetext" href="mailto:[email protected]">mailto:[email protected]</a>] Sent: Thursday, August 16, 2007 1:09 PM To: <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> Subject: Re: Running Lucene.Net as a service? I agree, Solr would be great. Has anyone seen anything similar that's .NET based, or that runs on MS infrastructure, using lucene.net? brydon Nathan Hoover wrote: </pre> <blockquote type="cite"> <pre wrap="">Solr might be more along the lines of what you are looking for (packaged search solution) but I don't know that there is a .NET port. In any event, creating a service using Lucene is trivial. I can send you some C# examples if you like. Regards, Nathan _____ From: Douglas Smith (at home) [<a class="moz-txt-link-freetext" href="mailto:[email protected]">mailto:[email protected]</a>] Sent: Thursday, August 16, 2007 4:55 AM To: <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> Subject: Re: Running Lucene.Net as a service? Thank you...I was just hoping there was some other Lucene project already out there, that was doing this already... Michael Mitiaguin wrote: Douglas, Unless I am missing something , Lucene.Net is API , moreover API cross-translated from Java . Numerous IDE tools in Windows environment provide a possibility to create a Windows Service starting from Delphi ( COM interop is required ) and probably the most natural choice would be C# and Visual Studio. It is up to you how to organize calls to Lucene inside your Windows Service. You may use RemoteSearchable or Distributed in your Windows Service , but there is no direct relation to my knowledge. Michael On 8/15/07, Douglas Smith (at home) <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;mailto:[email protected]&gt;</a> <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;[email protected]&gt;</a> wrote: Hello, Can Lucene.Net be run as a windows service? Can anyone offer any guidance or "quick start" tips toward getting configuring lucene to run as service, as well as how to make calls to it (what is the interface protocol)? I see there is a Lucene.Net.Search.RemoteSearchable.config in the project, and I also see these projects in the /contrib/ directory: Lucene.Net.Distributed/ <a class="moz-txt-link-rfc2396E" href="file:///F:\projects.net\lucene.net\Lucene.Net.Distributed\">&lt;file:///F:\projects.net\lucene.net\Lucene.Net.Distributed\&gt;</a> <a class="moz-txt-link-rfc2396E" href="file:///F:/projects.net/lucene.net/Lucene.Net.Distributed/">&lt;file:///F:/projects.net/lucene.net/Lucene.Net.Distributed/&gt;</a> LuceneMonitorSetup/ <a class="moz-txt-link-rfc2396E" href="file:///F:\projects.net\lucene.net\LuceneMonitorSetup\">&lt;file:///F:\projects.net\lucene.net\LuceneMonitorSetup\&gt;</a> <a class="moz-txt-link-rfc2396E" href="file:///F:/projects.net/lucene.net/LuceneMonitorSetup/">&lt;file:///F:/projects.net/lucene.net/LuceneMonitorSetup/&gt;</a> but I have no idea how to configure them or how to use them in a windows service solution. -- ====================================== Douglas M. Smith |--- DataSmithy ---| email: <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;mailto:[email protected]&gt;</a> work: 856.683.6701 home: 856.683.6701 fax: 856.683.6701 aim: datasmithy yahoo: datasmithy skype: datasmitty jabber: <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;mailto:[email protected]&gt;</a> ====================================== </pre> </blockquote> <pre wrap=""><!----> </pre> </blockquote> </body> </html> From [email protected] Sun Aug 19 13:43:48 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 32426 invoked from network); 19 Aug 2007 13:43:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Aug 2007 13:43:48 -0000 Received: (qmail 58941 invoked by uid 500); 19 Aug 2007 13:43:45 -0000 Delivered-To: [email protected] Received: (qmail 58919 invoked by uid 500); 19 Aug 2007 13:43:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 58910 invoked by uid 99); 19 Aug 2007 13:43:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Aug 2007 06:43:45 -0700 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=HTML_MESSAGE,MIME_HTML_ONLY,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ug-out-1314.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Aug 2007 13:43:39 +0000 Received: by ug-out-1314.google.com with SMTP id t30so613261ugc for <[email protected]>; Sun, 19 Aug 2007 06:43:17 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=khF1T4WmH0DzwtN9g4ugVUNzp9JtorM7W/VQRcF5p7gyeoE9iquUwotcBPFh3iB/WFfu8UwXArNjqhwj5QcLbwwW4Xm4vKuh95L9XhY07Bros3LmAVyw0oIrtDX6tzqBIDKd8fTsg3l4YtMO1i+SZuDibp6TwdB5Oj2UXozAl54= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=l2ijeLGcJTtRFC5BOrg0FDGgIcMoS7OUoXcBUq+l7ClJmYjjssroCIRyH298SwRBvctvMSAq6wer1inZN3PtVegV+3csK6K7/X413ErBIOcGCtl+tyvBwmhd3tPTpv/ilozFgdIRcsgC04hN9fnJDNZg9Qnm/j+siljKYOw+rNE= Received: by 161.129.204.104 with SMTP id w9mr4570479ugm.1187530997527; Sun, 19 Aug 2007 06:43:17 -0700 (PDT) Received: from ?161.129.204.104? ( [161.129.204.104]) by mx.google.com with ESMTPS id 5sm4368079nfv.2161.129.204.104.43.13 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 19 Aug 2007 06:43:16 -0700 (PDT) Message-ID: <[email protected]> Date: Sun, 19 Aug 2007 15:43:05 +0200 From: Simone Busoli <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20070728) MIME-Version: 1.0 To: [email protected] Subject: Re: Running Lucene.Net as a service? References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> <font size="-1"><font face="Segoe UI">Oh, and there's an article about it on CodeProject <a href="http://www.codeproject.com/cs/library/seekafile.asp">here</a>.<br> <br> Simone<br> </font></font><br> Kurt Mackey wrote: <blockquote cite="mid:[email protected]" type="cite"> <pre wrap="">No, but something along those lines would be really nice. I could get a lot of use out of Solr, but have no desire to make an environment more complex by adding in Java. -Kurt -----Original Message----- From: brydon [<a class="moz-txt-link-freetext" href="mailto:[email protected]">mailto:[email protected]</a>] Sent: Thursday, August 16, 2007 1:09 PM To: <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> Subject: Re: Running Lucene.Net as a service? I agree, Solr would be great. Has anyone seen anything similar that's .NET based, or that runs on MS infrastructure, using lucene.net? brydon Nathan Hoover wrote: </pre> <blockquote type="cite"> <pre wrap="">Solr might be more along the lines of what you are looking for (packaged search solution) but I don't know that there is a .NET port. In any event, creating a service using Lucene is trivial. I can send you some C# examples if you like. Regards, Nathan _____ From: Douglas Smith (at home) [<a class="moz-txt-link-freetext" href="mailto:[email protected]">mailto:[email protected]</a>] Sent: Thursday, August 16, 2007 4:55 AM To: <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> Subject: Re: Running Lucene.Net as a service? Thank you...I was just hoping there was some other Lucene project already out there, that was doing this already... Michael Mitiaguin wrote: Douglas, Unless I am missing something , Lucene.Net is API , moreover API cross-translated from Java . Numerous IDE tools in Windows environment provide a possibility to create a Windows Service starting from Delphi ( COM interop is required ) and probably the most natural choice would be C# and Visual Studio. It is up to you how to organize calls to Lucene inside your Windows Service. You may use RemoteSearchable or Distributed in your Windows Service , but there is no direct relation to my knowledge. Michael On 8/15/07, Douglas Smith (at home) <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;mailto:[email protected]&gt;</a> <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;[email protected]&gt;</a> wrote: Hello, Can Lucene.Net be run as a windows service? Can anyone offer any guidance or "quick start" tips toward getting configuring lucene to run as service, as well as how to make calls to it (what is the interface protocol)? I see there is a Lucene.Net.Search.RemoteSearchable.config in the project, and I also see these projects in the /contrib/ directory: Lucene.Net.Distributed/ <a class="moz-txt-link-rfc2396E" href="file:///F:\projects.net\lucene.net\Lucene.Net.Distributed\">&lt;file:///F:\projects.net\lucene.net\Lucene.Net.Distributed\&gt;</a> <a class="moz-txt-link-rfc2396E" href="file:///F:/projects.net/lucene.net/Lucene.Net.Distributed/">&lt;file:///F:/projects.net/lucene.net/Lucene.Net.Distributed/&gt;</a> LuceneMonitorSetup/ <a class="moz-txt-link-rfc2396E" href="file:///F:\projects.net\lucene.net\LuceneMonitorSetup\">&lt;file:///F:\projects.net\lucene.net\LuceneMonitorSetup\&gt;</a> <a class="moz-txt-link-rfc2396E" href="file:///F:/projects.net/lucene.net/LuceneMonitorSetup/">&lt;file:///F:/projects.net/lucene.net/LuceneMonitorSetup/&gt;</a> but I have no idea how to configure them or how to use them in a windows service solution. -- ====================================== Douglas M. Smith |--- DataSmithy ---| email: <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;mailto:[email protected]&gt;</a> work: 856.683.6701 home: 856.683.6701 fax: 856.683.6701 aim: datasmithy yahoo: datasmithy skype: datasmitty jabber: <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;mailto:[email protected]&gt;</a> ====================================== </pre> </blockquote> <pre wrap=""><!----> </pre> </blockquote> </body> </html> From [email protected] Mon Aug 20 22:01:46 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78632 invoked from network); 20 Aug 2007 22:01:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Aug 2007 22:01:46 -0000 Received: (qmail 48033 invoked by uid 500); 20 Aug 2007 22:01:43 -0000 Delivered-To: [email protected] Received: (qmail 47849 invoked by uid 500); 20 Aug 2007 22:01:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 47840 invoked by uid 99); 20 Aug 2007 22:01:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Aug 2007 15:01:42 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO fk-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Aug 2007 22:01:35 +0000 Received: by fk-out-0910.google.com with SMTP id 18so1388278fks for <[email protected]>; Mon, 20 Aug 2007 15:01:13 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Wpz/8akwufyETRuMiDZD/my5G+EPtUnPEUrRZNnIL6HCwjKF6VYNg0kFHc82ZNe0NKudt47WqeDq15TZ/goDdGIxchF8zEWKAGE/z02Pfm7OCTbJvy7rKtz0roDXKE06JwRLba9NKmtdt1uzREgK2+w28I0AUBsUTn3ol3uGshI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=AWV80Xz8bLEWYt5Qsm4grf+M+3W+e2mFG4JCcHglsXjXeIrZmh+xC+0kbg3LsHL18wNIJRWE4hOwQddd+8vhZrWUTNacFN0u3O6di3JS8p/EOm/Rt1m2SAdJDSoFzFvI8EDUTdF6mIdUTb1y++qxN3ieSfyTMAPfC0JH2mSiWwM= Received: by 161.129.204.104 with SMTP id g9mr5093880buc.1187647273276; Mon, 20 Aug 2007 15:01:13 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 20 Aug 2007 15:01:13 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 20 Aug 2007 15:01:13 -0700 From: "Jeff Rodenburg" <[email protected]> To: [email protected] Subject: Re: Running Lucene.Net as a service? In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_118387_34515.1187647273252" References: <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_118387_34515.1187647273252 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On 8/16/07, Kurt Mackey <[email protected]> wrote: > > No, but something along those lines would be really nice. I could get a > lot of use out of Solr, but have no desire to make an environment more > complex by adding in Java. This is a totally valid assessment. However, there is a lot of work that has gone into lucene and solr on the java platform, and porting it would be a colossal endeavor. Solr is about 50% lucene, 50% operations. The operational aspect of Solr is *very* solid; it's not zero administration, but it's much better than the alternative (rolling your own). We put together a C# client called Solrsharp that interacts through the http accessors to solr. We implemented solr with a java container (tomcat), and it runs as a self-contained system. All of our interaction with it is through the library, which gives us the advantage of working in our chosen framework while leveraging the efforts already being put forth into solr. To Kurt's point about adding to environment complexity by adding Java, Solr minimizes the java exposure. In our operation, we've not ever had to adapt the Solr source code, only modify the configuration files (XML-based). If you stick with what the community has released, you're in great shape. Solrsharp - http://wiki.apache.org/solr/SolrSharp -- jeff r. ------=_Part_118387_34515.1187647273252-- From [email protected] Thu Aug 23 08:35:28 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57644 invoked from network); 23 Aug 2007 08:35:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Aug 2007 08:35:27 -0000 Received: (qmail 23534 invoked by uid 500); 23 Aug 2007 08:35:24 -0000 Delivered-To: [email protected] Received: (qmail 23523 invoked by uid 500); 23 Aug 2007 08:35:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23514 invoked by uid 99); 23 Aug 2007 08:35:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Aug 2007 01:35:23 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nf-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Aug 2007 08:35:23 +0000 Received: by nf-out-0910.google.com with SMTP id k4so350385nfd for <[email protected]>; Thu, 23 Aug 2007 01:35:02 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=a8a8q+s5inAN65M93d1hqKDQTCiQlkPEqIpdjjvkR1morpogmvh3hOOad8XdlZj2WXsdWqvn6w7y+K7KQnKjMv6fpUtyTU6adIIs1eywBdt+MPrdFBPb7KwP9/124ZXtOszinpFzjUjfhsC41iry64yhVCnxYEZQpYb1cdOQTtU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=NQI2copm14bGkyN0R2M0HX50Msj0i6x6EFAyMuZns41IUIb4gKK0Xizxfjot+x+Pj8STOL/NGeCJaqC/s9f+qC/5GUdQfgMHzbK0W9aLzk0bi0rw9IRktXg9wxdkHhTlssXinZQxtSCPrwVO/Rki+JRa76eE72c9mDasYhCh7as= Received: by 161.129.204.104 with SMTP id t13mr1044611hue.1187858101921; Thu, 23 Aug 2007 01:35:01 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 23 Aug 2007 01:35:01 -0700 (PDT) Message-ID: <[email protected]> Date: Thu, 23 Aug 2007 16:35:01 +0800 From: "Li Bing" <[email protected]> Reply-To: [email protected] To: [email protected] Subject: How to Process Chinese in Lucene .NET? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi, all, I am new in using Lucene .NET. I am now working on a system that needs to process Chinese words. However, I have no such documentations. I notice that the Java version can do that. How do I do that with Lucene .NET? Your help is highly appreciated! Best wishes, Li Bing From [email protected] Thu Aug 23 19:34:35 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80036 invoked from network); 23 Aug 2007 19:34:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Aug 2007 19:34:34 -0000 Received: (qmail 55113 invoked by uid 500); 23 Aug 2007 19:34:23 -0000 Delivered-To: [email protected] Received: (qmail 55058 invoked by uid 500); 23 Aug 2007 19:34:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 55032 invoked by uid 99); 23 Aug 2007 19:34:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Aug 2007 12:34:22 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.whereistand.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Aug 2007 19:34:20 +0000 Received: from ([161.129.204.104]) with MailEnable ESMTP; Thu, 23 Aug 2007 15:34:01 -0400 Message-ID: <[email protected]> From: "feran" <[email protected]> To: <[email protected]>, <[email protected]> References: <[email protected]> Subject: Re: How to Process Chinese in Lucene .NET? Date: Thu, 23 Aug 2007 15:33:57 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 X-Virus-Checked: Checked by ClamAV on apache.org http://svn.apache.org/repos/asf/lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/ Take the source and port over the code, is one possibility ----- Original Message ----- From: "Li Bing" <[email protected]> To: <[email protected]> Sent: Thursday, August 23, 2007 4:35 AM Subject: How to Process Chinese in Lucene .NET? > Hi, all, > > I am new in using Lucene .NET. I am now working on a system that needs > to process Chinese words. However, I have no such documentations. I > notice that the Java version can do that. How do I do that with Lucene > .NET? Your help is highly appreciated! > > Best wishes, > Li Bing > From [email protected] Fri Aug 24 01:12:43 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11464 invoked from network); 24 Aug 2007 01:12:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Aug 2007 01:12:42 -0000 Received: (qmail 9871 invoked by uid 500); 24 Aug 2007 01:12:39 -0000 Delivered-To: [email protected] Received: (qmail 9854 invoked by uid 500); 24 Aug 2007 01:12:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 9844 invoked by uid 99); 24 Aug 2007 01:12:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Aug 2007 18:12:39 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO ps02.vds2000.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Aug 2007 01:13:11 +0000 Received: (qmail 1557 invoked from network); 23 Aug 2007 21:12:07 -0400 Received: from unknown (HELO aroushlt) (161.129.204.104) by aroush.net with SMTP; 23 Aug 2007 21:12:06 -0400 From: "George Aroush" <[email protected]> To: <[email protected]>, <[email protected]> Subject: RE: How to Process Chinese in Lucene .NET? Date: Thu, 23 Aug 2007 21:12:42 -0400 Message-ID: <0b7301c7e5eb$df2a11e0$90832209@aroushlt> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 In-Reply-To: <[email protected]> Thread-Index: AcflvKNRFtZ48cMDRYCj03t9NI13vgALtCAg X-Virus-Checked: Checked by ClamAV on apache.org I have been meaning to port the analyzers to C#. I started on them some three months ago for a project which didn't go through -- so it's on hold for now. -- George > -----Original Message----- > From: feran [mailto:[email protected]] > Sent: Thursday, August 23, 2007 3:34 PM > To: [email protected]; [email protected] > Subject: Re: How to Process Chinese in Lucene .NET? > > http://svn.apache.org/repos/asf/lucene/java/trunk/contrib/anal > yzers/src/java/org/apache/lucene/analysis/ > > Take the source and port over the code, is one possibility > > ----- Original Message ----- > From: "Li Bing" <[email protected]> > To: <[email protected]> > Sent: Thursday, August 23, 2007 4:35 AM > Subject: How to Process Chinese in Lucene .NET? > > > > Hi, all, > > > > I am new in using Lucene .NET. I am now working on a system > that needs > > to process Chinese words. However, I have no such documentations. I > > notice that the Java version can do that. How do I do that > with Lucene > > .NET? Your help is highly appreciated! > > > > Best wishes, > > Li Bing > > > > From [email protected] Fri Aug 24 08:53:33 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 43019 invoked from network); 24 Aug 2007 08:53:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Aug 2007 08:53:32 -0000 Received: (qmail 11360 invoked by uid 500); 24 Aug 2007 08:53:29 -0000 Delivered-To: [email protected] Received: (qmail 11180 invoked by uid 500); 24 Aug 2007 08:53:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 11171 invoked by uid 99); 24 Aug 2007 08:53:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Aug 2007 01:53:28 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nf-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Aug 2007 08:53:23 +0000 Received: by nf-out-0910.google.com with SMTP id k4so638359nfd for <[email protected]>; Fri, 24 Aug 2007 01:53:02 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=iTDqsqCzMgLu8JU1owk9spM+Xll9jqHKq6cTh+T0tJEfdVhg+NT+byqRk7adQVZ+wRWOW2PKb79HqDFEweSLsdVgiZlFHH9IRkAaLH8pxluN4GJy6vFVjjwTrXbN2tBjo07BEW8Gs3MEZcbJutjLHi6wUuJhHESbHOpAjgO46t8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=XLYsKzYbMa5yD/r0/3gASKC9gtSbqqx9akel4mUQD7b/Dwj4uQyXq/dKet3m617S5eXhSHBMgEKDAGfMt2O59lw3uxxgJAle0w2JL6JipmirgrWddAU/LZmWENCvp14dt+VOiBgJT+ZgY/y4JI+QhSX21c7nf7iXi4FexveL4wo= Received: by 161.129.204.104 with SMTP id g8mr1793070huf.1187945581768; Fri, 24 Aug 2007 01:53:01 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Fri, 24 Aug 2007 01:53:01 -0700 (PDT) Message-ID: <[email protected]> Date: Fri, 24 Aug 2007 16:53:01 +0800 From: "Li Bing" <[email protected]> Reply-To: [email protected] To: [email protected] Subject: How To Make Term Work in Chinese? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi, all, The following words work fine with English text files. But the while loop is skipped when it works on Chinese text files. By the way, the files are already indexed with ChineseAnalyzer. Could you give me a hand? Thanks so much! Li Bing =============== Code ================== ...... IndexSearcher indexSearcher = new IndexSearcher(indexPath); Term term = new Term(searchType, searchKey); TermDocs termDocs = indexSearcher.GetIndexReader().TermDocs(term); while (termDocs.Next()) { Console.WriteLine(termDocs.Freq()); Console.WriteLine(indexSearcher.GetIndexReader().Document(termDocs.Doc())); } ...... ====================================== From [email protected] Sun Aug 26 17:21:25 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14388 invoked from network); 26 Aug 2007 17:21:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Aug 2007 17:21:24 -0000 Received: (qmail 13208 invoked by uid 500); 26 Aug 2007 17:21:20 -0000 Delivered-To: [email protected] Received: (qmail 13137 invoked by uid 500); 26 Aug 2007 17:21:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 13128 invoked by uid 99); 26 Aug 2007 17:21:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Aug 2007 10:21:19 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nf-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Aug 2007 17:21:15 +0000 Received: by nf-out-0910.google.com with SMTP id k4so1030615nfd for <[email protected]>; Sun, 26 Aug 2007 10:20:52 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=iGUJJF3QpSzQCUEJeHGptqPHixCJr7WFj8t50kFy2xEFs/acZc0UZB5OpJvv3kCUbvTzpbcvhh7T/LyJ0p+SpdUkz+JwBnGuiyFMDg6Ll74gGWSvxpavZhNZMg3u8sM+ledVRlqB3N9ujrTslciRJ9z+n/8/vipDVmTmMv8kk2c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=EuNKVzGUWmCake3DJuqa62i4lJm5XQqC1zTazes7jzm0lP0OGyxwRrxHrw2C5VlhSun3jJCT1kx4uBFuBFp/qrlgYmMy8GuGTprlH2UtISA9qgD37IR0UMc9hxzMyH/vB1nqoVmN46TLRSDkWN6/1W16Mr/clnoxJpa3hYOlvrw= Received: by 161.129.204.104 with SMTP id u7mr3137408hub.1188148852226; Sun, 26 Aug 2007 10:20:52 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sun, 26 Aug 2007 10:20:52 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 27 Aug 2007 01:20:52 +0800 From: "Li Bing" <[email protected]> Reply-To: [email protected] To: [email protected] Subject: How to Specify Analyzer When Using TermQuery to Create Query? Cc: "Bing Li" <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi, all, I am new in Lucene.NET. Now I use it to build a search engine. But I notice one problem, that I cannot specify Analyzer when using TermQuery to create a Query. A sample is shown as follows. public Hits SearchByMultipleKeywords(string fsDirectory, string searchType, ArrayList keywordList) { IndexSearcher indexSearcher = new IndexSearcher(fsDirectory); Term term; TermQuery termQuery; BooleanQuery booleanQuery = new BooleanQuery(); foreach (string keyword in keywordList) { term = new Term(searchType, keyword); termQuery = new TermQuery(term); booleanQuery.Add(termQuery, BooleanClause.Occur.MUST); } return indexSearcher.Search(booleanQuery); } In the above code, how to specify a particular Analyzer, such as ChineseAnalyzer? I have got a way to do that. If so, the above code does not work with Chinese searching. The only way to achieve BooleanQuery is to use QueryParser because QueryParser can be constructed with a ChineseAnalyzer. Is it true? Thanks so much! Li Bing From [email protected] Sun Aug 26 19:05:03 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35458 invoked from network); 26 Aug 2007 19:05:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Aug 2007 19:05:03 -0000 Received: (qmail 55661 invoked by uid 500); 26 Aug 2007 19:04:58 -0000 Delivered-To: [email protected] Received: (qmail 55634 invoked by uid 500); 26 Aug 2007 19:04:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 55625 invoked by uid 99); 26 Aug 2007 19:04:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Aug 2007 12:04:58 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO ehatchersolutions.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Aug 2007 19:04:50 +0000 Received: by ehatchersolutions.com (Postfix, from userid 504) id B505C30EFC19; Sun, 26 Aug 2007 13:04:29 -0600 (MDT) X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on javelina X-Spam-Level: Received: from [161.129.204.104] (va-76-6-215-202.dhcp.embarqhsd.net [161.129.204.104]) by ehatchersolutions.com (Postfix) with ESMTP id 7759430EFC18 for <[email protected]>; Sun, 26 Aug 2007 13:04:23 -0600 (MDT) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain; charset=UTF-8; delsp=yes; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: quoted-printable From: Erik Hatcher <[email protected]> Subject: Re: How to Specify Analyzer When Using TermQuery to Create Query? Date: Sun, 26 Aug 2007 15:04:19 -0400 To: [email protected] X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,RCVD_IN_SORBS_DUL autolearn=no version=3.1.1 =E4=BD=A0=E5=A5=BD- TermQuery is for a specific term, which is typically the end result =20 of analysis. It doesn't make sense to use an Analyzer to construct a =20= TermQuery. However, you can use an Analyzer yourself to construct =20 TermQuery's, just as QueryParser does. Look at the AnalysisDemo (Java) code in my old article here: http://=20 today.java.net/pub/a/today/2003/07/30/LuceneIntro.html It will show you how to use an Analyzer and walk its TokenStream. =20 For each token you can construct the TermQuery of your choice. Erik On Aug 26, 2007, at 1:20 PM, Li Bing wrote: > Hi, all, > > I am new in Lucene.NET. Now I use it to build a search engine. But I > notice one problem, that I cannot specify Analyzer when using > TermQuery to create a Query. A sample is shown as follows. > > public Hits SearchByMultipleKeywords(string fsDirectory, string > searchType, ArrayList keywordList) > { > IndexSearcher indexSearcher =3D new = IndexSearcher(fsDirectory); > Term term; > TermQuery termQuery; > BooleanQuery booleanQuery =3D new BooleanQuery(); > foreach (string keyword in keywordList) > { > term =3D new Term(searchType, keyword); > termQuery =3D new TermQuery(term); > booleanQuery.Add(termQuery, = BooleanClause.Occur.MUST); > } > > return indexSearcher.Search(booleanQuery); > } > > In the above code, how to specify a particular Analyzer, such as > ChineseAnalyzer? I have got a way to do that. If so, the above code > does not work with Chinese searching. The only way to achieve > BooleanQuery is to use QueryParser because QueryParser can be > constructed with a ChineseAnalyzer. Is it true? > > Thanks so much! > Li Bing From [email protected] Mon Aug 27 03:18:40 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 72007 invoked from network); 27 Aug 2007 03:18:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Aug 2007 03:18:39 -0000 Received: (qmail 99166 invoked by uid 500); 27 Aug 2007 03:18:34 -0000 Delivered-To: [email protected] Received: (qmail 99137 invoked by uid 500); 27 Aug 2007 03:18:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 99099 invoked by uid 99); 27 Aug 2007 03:18:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Aug 2007 20:18:34 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO ps02.vds2000.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Aug 2007 03:18:27 +0000 Received: (qmail 25463 invoked from network); 26 Aug 2007 23:18:06 -0400 Received: from unknown (HELO aroushlt) (161.129.204.104) by aroush.net with SMTP; 26 Aug 2007 23:18:05 -0400 From: "George Aroush" <[email protected]> To: <[email protected]>, <[email protected]> Subject: Status of Lucene.Net 2.1 Date: Sun, 26 Aug 2007 23:18:41 -0400 Message-ID: <014401c7e858$f81d3be0$0301a8c0@aroushlt> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcfoWPe2L6leaP45QTKW+gFH7L8WbQ== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 X-Virus-Checked: Checked by ClamAV on apache.org Hi folks, As you may recall, I released the port of Lucene.Net 2.1's NUnit code base on Aug 11. In a little over 2 weeks, thanks to the huge effort of DIGGY and Jeff (sorry guys, I don't have your full name), the number of NUnit test failure has been reduced from 230 to 2! Thanks to 35 different patches!! This is a great achievement and soon we should be able to label 2.1 as "final" and move on to 2.2 and catch up with the Java version of Lucene. Regards, -- George Aroush From [email protected] Mon Aug 27 03:22:06 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 72853 invoked from network); 27 Aug 2007 03:22:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Aug 2007 03:22:06 -0000 Received: (qmail 273 invoked by uid 500); 27 Aug 2007 03:22:01 -0000 Delivered-To: [email protected] Received: (qmail 250 invoked by uid 500); 27 Aug 2007 03:22:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 241 invoked by uid 99); 27 Aug 2007 03:22:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Aug 2007 20:22:01 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO ps02.vds2000.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Aug 2007 03:22:44 +0000 Received: (qmail 525 invoked from network); 26 Aug 2007 23:21:30 -0400 Received: from unknown (HELO aroushlt) (161.129.204.104) by aroush.net with SMTP; 26 Aug 2007 23:21:30 -0400 From: "George Aroush" <[email protected]> To: <[email protected]>, <[email protected]> Subject: RE: Status of Lucene.Net 2.1 Date: Sun, 26 Aug 2007 23:22:06 -0400 Message-ID: <014501c7e859$72279ac0$0301a8c0@aroushlt> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcfoWPe2L6leaP45QTKW+gFH7L8WbQAADvwA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 In-Reply-To: <014401c7e858$f81d3be0$0301a8c0@aroushlt> X-Virus-Checked: Checked by ClamAV on apache.org Hi again, In regards to the 2 remaining tests that are still failing, those are: Lucene.Net.Index.TestNorms._TestNorms() Lucene.Net.Store.TestLockFactory.TestLockClassProperty() -- George > -----Original Message----- > From: George Aroush [mailto:[email protected]] > Sent: Sunday, August 26, 2007 11:19 PM > To: [email protected]; > [email protected] > Subject: Status of Lucene.Net 2.1 > > Hi folks, > > As you may recall, I released the port of Lucene.Net 2.1's > NUnit code base on Aug 11. In a little over 2 weeks, thanks > to the huge effort of DIGGY and Jeff (sorry guys, I don't > have your full name), the number of NUnit test failure has > been reduced from 230 to 2! Thanks to 35 different patches!! > > This is a great achievement and soon we should be able to > label 2.1 as "final" and move on to 2.2 and catch up with the > Java version of Lucene. > > Regards, > > -- George Aroush > From [email protected] Mon Aug 27 20:46:49 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59001 invoked from network); 27 Aug 2007 20:46:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Aug 2007 20:46:49 -0000 Received: (qmail 86297 invoked by uid 500); 27 Aug 2007 20:46:45 -0000 Delivered-To: [email protected] Received: (qmail 86274 invoked by uid 500); 27 Aug 2007 20:46:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 86264 invoked by uid 99); 27 Aug 2007 20:46:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Aug 2007 13:46:44 -0700 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO tylermail.incode-inc.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Aug 2007 20:46:39 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C7E8EB.50BFBC2E" Subject: Unsubscribe Date: Mon, 27 Aug 2007 15:46:17 -0500 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Unsubscribe Thread-Index: Acfo61CzZZMbhidXThaDJ02RSNAtzQ== From: "Shepherd, Shane" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C7E8EB.50BFBC2E Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable How do I unsubscribe from this list? =20 - Shane ------_=_NextPart_001_01C7E8EB.50BFBC2E-- From [email protected] Tue Aug 28 08:50:03 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93513 invoked from network); 28 Aug 2007 08:50:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Aug 2007 08:50:03 -0000 Received: (qmail 36690 invoked by uid 500); 28 Aug 2007 08:49:58 -0000 Delivered-To: [email protected] Received: (qmail 36663 invoked by uid 500); 28 Aug 2007 08:49:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 36654 invoked by uid 99); 28 Aug 2007 08:49:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Aug 2007 01:49:58 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nf-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Aug 2007 08:49:51 +0000 Received: by nf-out-0910.google.com with SMTP id k4so1493869nfd for <[email protected]>; Tue, 28 Aug 2007 01:49:29 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=IEyuk0H6Gdq0LCPIt/2chwZScce8xG9uOZP9fLrDB1ujfclwLB+aIr1D48oD4948yXrKHcUs6Cnr3JIunMm4rH0sAg7bzcrfI90m+lrafpcIe/8SaGemtTcVVRQ1W7FNe2F1/792BbtKJ6uelQogKo21rlDo2Omi1VuxVRDN4zU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HHXz1TQzuZbL5A9yXTi8vyIO7Dc4FSl8FSi/oeNvPkZ3AtUUlTMYrrnE/VuF1zq1W9z0lm+kOgSnSieGMoO39Bq+XdzXInxLW+aWN/D3ZZFG4yCh3SWwXdH41zy7es5drRvS1Se/9w/5J2xKok1f2lJB8aH8EKGXdw1oCzTZ0oY= Received: by 161.129.204.104 with SMTP id j9mr4605836hud.1188290969261; Tue, 28 Aug 2007 01:49:29 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 28 Aug 2007 01:49:24 -0700 (PDT) Message-ID: <[email protected]> Date: Tue, 28 Aug 2007 16:49:24 +0800 From: "Li Bing" <[email protected]> Reply-To: [email protected] To: [email protected] Subject: Re: How to Specify Analyzer When Using TermQuery to Create Query? In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: base64 Content-Disposition: inline References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org xOO6w6OhCgpUaGFua3Mgc28gbXVjaCEgSSB3aWxsIHRha2UgYSB0cnkhCgpCZXN0IHdpc2hlcywK TGkgQmluZwoKT24gOC8yNy8wNywgRXJpayBIYXRjaGVyIDxlcmlrQGVoYXRjaGVyc29sdXRpb25z LmNvbT4gd3JvdGU6Cj4gxOO6wy0KPgo+IFRlcm1RdWVyeSBpcyBmb3IgYSBzcGVjaWZpYyB0ZXJt LCB3aGljaCBpcyB0eXBpY2FsbHkgdGhlIGVuZCByZXN1bHQKPiBvZiBhbmFseXNpcy4gIEl0IGRv ZXNuJ3QgbWFrZSBzZW5zZSB0byB1c2UgYW4gQW5hbHl6ZXIgdG8gY29uc3RydWN0IGEKPiBUZXJt UXVlcnkuICBIb3dldmVyLCB5b3UgY2FuIHVzZSBhbiBBbmFseXplciB5b3Vyc2VsZiB0byBjb25z dHJ1Y3QKPiBUZXJtUXVlcnkncywganVzdCBhcyBRdWVyeVBhcnNlciBkb2VzLgo+Cj4gTG9vayBh dCB0aGUgQW5hbHlzaXNEZW1vIChKYXZhKSBjb2RlIGluIG15IG9sZCBhcnRpY2xlIGhlcmU6ICBo dHRwOi8vCj4gdG9kYXkuamF2YS5uZXQvcHViL2EvdG9kYXkvMjAwMy8wNy8zMC9MdWNlbmVJbnRy by5odG1sCj4KPiBJdCB3aWxsIHNob3cgeW91IGhvdyB0byB1c2UgYW4gQW5hbHl6ZXIgYW5kIHdh bGsgaXRzIFRva2VuU3RyZWFtLgo+IEZvciBlYWNoIHRva2VuIHlvdSBjYW4gY29uc3RydWN0IHRo ZSBUZXJtUXVlcnkgb2YgeW91ciBjaG9pY2UuCj4KPiAgICAgICAgIEVyaWsKPgo+Cj4gT24gQXVn IDI2LCAyMDA3LCBhdCAxOjIwIFBNLCBMaSBCaW5nIHdyb3RlOgo+Cj4gPiBIaSwgYWxsLAo+ID4K PiA+IEkgYW0gbmV3IGluIEx1Y2VuZS5ORVQuIE5vdyBJIHVzZSBpdCB0byBidWlsZCBhIHNlYXJj aCBlbmdpbmUuIEJ1dCBJCj4gPiBub3RpY2Ugb25lIHByb2JsZW0sIHRoYXQgSSBjYW5ub3Qgc3Bl Y2lmeSBBbmFseXplciB3aGVuIHVzaW5nCj4gPiBUZXJtUXVlcnkgdG8gY3JlYXRlIGEgUXVlcnku IEEgc2FtcGxlIGlzIHNob3duIGFzIGZvbGxvd3MuCj4gPgo+ID4gICAgICAgcHVibGljIEhpdHMg U2VhcmNoQnlNdWx0aXBsZUtleXdvcmRzKHN0cmluZyAgZnNEaXJlY3RvcnksIHN0cmluZwo+ID4g c2VhcmNoVHlwZSwgQXJyYXlMaXN0IGtleXdvcmRMaXN0KQo+ID4gICAgICAgewo+ID4gICAgICAg ICAgICAgICBJbmRleFNlYXJjaGVyIGluZGV4U2VhcmNoZXIgPSBuZXcgSW5kZXhTZWFyY2hlcihm c0RpcmVjdG9yeSk7Cj4gPiAgICAgICAgICAgICAgIFRlcm0gdGVybTsKPiA+ICAgICAgICAgICAg ICAgVGVybVF1ZXJ5IHRlcm1RdWVyeTsKPiA+ICAgICAgICAgICAgICAgQm9vbGVhblF1ZXJ5IGJv b2xlYW5RdWVyeSA9IG5ldyBCb29sZWFuUXVlcnkoKTsKPiA+ICAgICAgICAgICAgICAgZm9yZWFj aCAoc3RyaW5nIGtleXdvcmQgaW4ga2V5d29yZExpc3QpCj4gPiAgICAgICAgICAgICAgIHsKPiA+ ICAgICAgICAgICAgICAgICAgICAgICB0ZXJtID0gbmV3IFRlcm0oc2VhcmNoVHlwZSwga2V5d29y ZCk7Cj4gPiAgICAgICAgICAgICAgICAgICAgICAgdGVybVF1ZXJ5ID0gbmV3IFRlcm1RdWVyeSh0 ZXJtKTsKPiA+ICAgICAgICAgICAgICAgICAgICAgICBib29sZWFuUXVlcnkuQWRkKHRlcm1RdWVy eSwgQm9vbGVhbkNsYXVzZS5PY2N1ci5NVVNUKTsKPiA+ICAgICAgICAgICAgICAgfQo+ID4KPiA+ ICAgICAgICAgICAgICAgcmV0dXJuIGluZGV4U2VhcmNoZXIuU2VhcmNoKGJvb2xlYW5RdWVyeSk7 Cj4gPiAgICAgICB9Cj4gPgo+ID4gSW4gdGhlIGFib3ZlIGNvZGUsIGhvdyB0byBzcGVjaWZ5IGEg cGFydGljdWxhciBBbmFseXplciwgc3VjaCBhcwo+ID4gQ2hpbmVzZUFuYWx5emVyPyBJIGhhdmUg Z290IGEgd2F5IHRvIGRvIHRoYXQuIElmIHNvLCB0aGUgYWJvdmUgY29kZQo+ID4gZG9lcyBub3Qg d29yayB3aXRoIENoaW5lc2Ugc2VhcmNoaW5nLiBUaGUgb25seSB3YXkgdG8gYWNoaWV2ZQo+ID4g Qm9vbGVhblF1ZXJ5IGlzIHRvIHVzZSBRdWVyeVBhcnNlciBiZWNhdXNlIFF1ZXJ5UGFyc2VyIGNh biBiZQo+ID4gY29uc3RydWN0ZWQgd2l0aCBhIENoaW5lc2VBbmFseXplci4gSXMgaXQgdHJ1ZT8K PiA+Cj4gPiBUaGFua3Mgc28gbXVjaCEKPiA+IExpIEJpbmcKPgo+Cg== From [email protected] Wed Aug 29 03:47:55 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26369 invoked from network); 29 Aug 2007 03:47:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Aug 2007 03:47:54 -0000 Received: (qmail 23127 invoked by uid 500); 29 Aug 2007 03:47:43 -0000 Delivered-To: [email protected] Received: (qmail 23075 invoked by uid 500); 29 Aug 2007 03:47:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23015 invoked by uid 99); 29 Aug 2007 03:47:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Aug 2007 20:47:42 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO py-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Aug 2007 03:47:35 +0000 Received: by py-out-1112.google.com with SMTP id u77so2198578pyb for <[email protected]>; Tue, 28 Aug 2007 20:47:14 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:message-id:date:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:from; b=hSTnfApXnWV557ml6QhF9NA8niaUdBD9re/Qz7M5hNRF44+pNuDjpJcz0j0g66/pgzx6b387coZZXV9saINcS5SvUEO/mUeYBDmAggcuIEVkDNWzQORDWYpBFoIv0WzbcJCfpFFjLOTcqzwcqh1QJDDmr30QlJDuSIu9//i3SPw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:from; b=Jv0NI7FFDAiC4N6c38yaArAy0WTkzu/VmhECvqQP9FFZGe5UvsbEEW40+AJMy+iYicUTZdpsBxpTQ3n/CGs6h6zd8YbIqNCG1IWQ3TnO0BmxMC8RuMb1Mqkg4svqqcKKEl4wWnYV7cQ0os1BkxfInSRGrK7SQ040iyqV3Yt9K18= Received: by 161.129.204.104 with SMTP id t12mr315823pyj.1188359230028; Tue, 28 Aug 2007 20:47:10 -0700 (PDT) Received: from ?161.129.204.104? ( [161.129.204.104]) by mx.google.com with ESMTPS id u62sm7681290pyb.2161.129.204.104.47.06 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 28 Aug 2007 20:47:07 -0700 (PDT) Message-ID: <[email protected]> Date: Tue, 28 Aug 2007 23:46:21 -0400 User-Agent: Thunderbird 161.129.204.104 (Windows/20070728) MIME-Version: 1.0 To: [email protected] Subject: Best Practices for Multiple Languages References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit From: "Douglas Smith (DataSmithy)" <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi All, That you all for you comments earlier on using Lucene as a web service. I am looking at Solr, and it does have some potential for my application. In the meantime I have this question: What are the recommended best practices for using Lucene to index multiple languages? Particularly, would I be better off using a separate index for each language? Here is our scenario: We have a database that has several text fields that will be translated to multiple languages. The text will be only be incrementally translated, and it could take years to get it completely translated. Also, new untranslated data is always being added. Also, we may add new languages to be translated at any time. When a user selects to view our web application in a foreign language, we want the user to be able to search in either their language, or in English (in order to guarantee that they can find all data). I probably won't know which language they actually entered for the text search. I want search Lucene in both the English and the selected language, and return any results that are found. FYI, I will be using Lucene to return a list of IDs that are unique to our data, and then joining back to our data, using SQL. I will use our database to show a mix of translated and untranslated data. That is, translated data/fields are show if we have it, otherwise the default English is shown. So I don't need to get the text itself from Lucene, just a list of ID's that I can use in my SQL query. I can pull out our data easily in either language, or a mix, in order to create Lucene indexes. If I can mix languages in a single index, I would like to add a Language column to query on, and query on both the english and the foreign language text. If not, I can see it working to query to run two seperate Lucene queries on two seperate indexes, and combining the resulting ID list into a single list (and making it unique, if needed). If you have any comments, or feedback from experience doing anything like this, it would be much appreciated! Douglas Smith From [email protected] Thu Aug 30 01:12:58 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5120 invoked from network); 30 Aug 2007 01:12:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Aug 2007 01:12:56 -0000 Received: (qmail 86589 invoked by uid 500); 30 Aug 2007 01:12:51 -0000 Delivered-To: [email protected] Received: (qmail 86546 invoked by uid 500); 30 Aug 2007 01:12:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 86537 invoked by uid 99); 30 Aug 2007 01:12:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Aug 2007 18:12:51 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO ps02.vds2000.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2007 01:12:46 +0000 Received: (qmail 31400 invoked from network); 29 Aug 2007 21:12:26 -0400 Received: from unknown (HELO aroushlt) (161.129.204.104) by aroush.net with SMTP; 29 Aug 2007 21:12:26 -0400 From: "George Aroush" <[email protected]> To: <[email protected]> Subject: RE: Best Practices for Multiple Languages Date: Wed, 29 Aug 2007 21:13:02 -0400 Message-ID: <082c01c7eaa2$e9cbd640$0301a8c0@aroushlt> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: Acfp72JbbvtAR/zJRGCa6gVBXZGjbQAslJ1Q X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 In-Reply-To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi Douglas, Defiantly use one Lucene index per language. This will give you the simplicity of maintaining separate indexes per langue so you can manage them as such and better performance per langue since per langue index will be much smaller then one Lucene index holding all of your data. If in the feature you need to search across multiple languages, just use a MultiSearcher. Regards, -- George > -----Original Message----- > From: Douglas Smith (DataSmithy) [mailto:[email protected]] > Sent: Tuesday, August 28, 2007 11:46 PM > To: [email protected] > Subject: Best Practices for Multiple Languages > > Hi All, > > That you all for you comments earlier on using Lucene as a > web service. > I am looking at Solr, and it does have some potential for my > application. > > In the meantime I have this question: What are the > recommended best practices for using Lucene to index multiple > languages? Particularly, would I be better off using a > separate index for each language? > > Here is our scenario: We have a database that has several > text fields that will be translated to multiple languages. > The text will be only be incrementally translated, and it > could take years to get it completely translated. Also, new > untranslated data is always being added. Also, we may add new > languages to be translated at any time. When a user selects > to view our web application in a foreign language, we want > the user to be able to search in either their language, or in > English (in order to guarantee that they can find all data). > I probably won't know which language they actually entered > for the text search. I want search Lucene in both the English > and the selected language, and return any results that are found. > > FYI, I will be using Lucene to return a list of IDs that are > unique to our data, and then joining back to our data, using > SQL. I will use our database to show a mix of translated and > untranslated data. That is, translated data/fields are show > if we have it, otherwise the default English is shown. So I > don't need to get the text itself from Lucene, just a list of > ID's that I can use in my SQL query. I can pull out our data > easily in either language, or a mix, in order to create > Lucene indexes. > > If I can mix languages in a single index, I would like to add > a Language column to query on, and query on both the english > and the foreign language text. If not, I can see it working > to query to run two seperate Lucene queries on two seperate > indexes, and combining the resulting ID list into a single > list (and making it unique, if needed). > > If you have any comments, or feedback from experience doing > anything like this, it would be much appreciated! > > Douglas Smith > From [email protected] Thu Aug 30 02:02:39 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28929 invoked from network); 30 Aug 2007 02:02:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Aug 2007 02:02:39 -0000 Received: (qmail 51298 invoked by uid 500); 30 Aug 2007 02:02:34 -0000 Delivered-To: [email protected] Received: (qmail 51279 invoked by uid 500); 30 Aug 2007 02:02:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 51270 invoked by uid 99); 30 Aug 2007 02:02:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Aug 2007 19:02:34 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO ps02.vds2000.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2007 02:03:28 +0000 Received: (qmail 18162 invoked from network); 29 Aug 2007 22:02:06 -0400 Received: from unknown (HELO aroushlt) (161.129.204.104) by aroush.net with SMTP; 29 Aug 2007 22:02:06 -0400 From: "George Aroush" <[email protected]> To: <[email protected]> Subject: Can a Lucene field be renamed in a Lucene index? Date: Wed, 29 Aug 2007 22:02:43 -0400 Message-ID: <084501c7eaa9$da3111d0$0301a8c0@aroushlt> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: Acfqqdn8ul2UMQ4JRzmMMOmuPREFPg== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 X-Virus-Checked: Checked by ClamAV on apache.org Hi everyone, I have the following need and I wander what are my options or if anyone run into it and has a solution / suggestion. I'm indexing a SQL database. Each table is a Lucene index. Now, in table "A", I have a field called "Foo". When I index it into Lucene, I also end up with a field called "Foo". Later on, the SQL database administrator, will change the field name from "Foo" to "Bar". Once this happens, any new records added to table "A" will be indexed into Lucene as "Bar". The issue is this, Lucene index for table "A" now has documents with some having a field called "Foo" and others with "Bar". This is problematic because now a user can't just search for "Foo:dog", but must search for "Foo:dog Bar:dog". So, what are my options here? No, I can't re-index. Ideally, I would like to be able to say to Lucene, "rename the field 'Foo' to 'Bar' in the index 'A'" (even if it means using private APIs). Is this possible? Have you run into this problem? What was your solution? Regards, -- George From [email protected] Thu Aug 30 02:16:44 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 34520 invoked from network); 30 Aug 2007 02:16:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Aug 2007 02:16:44 -0000 Received: (qmail 68865 invoked by uid 500); 30 Aug 2007 02:16:39 -0000 Delivered-To: [email protected] Received: (qmail 68840 invoked by uid 500); 30 Aug 2007 02:16:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 68830 invoked by uid 99); 30 Aug 2007 02:16:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Aug 2007 19:16:39 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wx-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2007 02:16:33 +0000 Received: by wx-out-0506.google.com with SMTP id h30so354566wxd for <[email protected]>; Wed, 29 Aug 2007 19:16:13 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:to:references:in-reply-to:subject:date:message-id:mime-version:content-type:content-transfer-encoding:x-mailer:thread-index:content-language; b=i0q3ZiGFe3LN5tfjWRySd6hnECvTrfJvH9N7ue2cvSBNizZduk6DCfcU1EURia33w8Du/xWE0i0S0J1r2EnbxscqaT5OFMyXlfZX5RAr0GMDam8Z31ZDzCAyJA4Rcd5l66Lh7ZDfUzFgMP/OkV7CU2VZLPc31+EyT9S1AdDcqKM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:to:references:in-reply-to:subject:date:message-id:mime-version:content-type:content-transfer-encoding:x-mailer:thread-index:content-language; b=PJcOcdMcsewfhcDPBdQ4BdwHHE4udQRFOU/ZBS1V10hdPfkcmSZiGiS5NdYVWHbsKYtJQ7ZtGmvj6zL7UBrCVlYx7sMb5NLrxmeyMzmj7G0yngOE66WqyYTaMYgSv4QGtP6kGQ9Zevvluk+RJWvrDJMJJ85X66j5QE5YBeuBjKo= Received: by 161.129.204.104 with SMTP id p14mr16345wxb.1188440172578; Wed, 29 Aug 2007 19:16:12 -0700 (PDT) Received: from NEWPC ( [161.129.204.104]) by mx.google.com with ESMTPS id 29sm13804710wrl.2161.129.204.104.16.10 (version=SSLv3 cipher=RC4-MD5); Wed, 29 Aug 2007 19:16:11 -0700 (PDT) From: "DIGY" <[email protected]> To: <[email protected]> References: <084501c7eaa9$da3111d0$0301a8c0@aroushlt> In-Reply-To: <084501c7eaa9$da3111d0$0301a8c0@aroushlt> Subject: RE: Can a Lucene field be renamed in a Lucene index? Date: Thu, 30 Aug 2007 05:14:13 +0300 Message-ID: <001a01c7eaab$777286d0$66579470$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acfqqdn8ul2UMQ4JRzmMMOmuPREFPgAANLeg Content-Language: tr X-Virus-Checked: Checked by ClamAV on apache.org Hi George, I haven't seen any API to do that thing, but one possibility can be: Reading the all docs from source index And writing the new values to the second one (Of course this is re-index but does not require the original documents) DIGY -----Original Message----- From: George Aroush [mailto:[email protected]] Sent: Thursday, August 30, 2007 5:03 AM To: [email protected] Subject: Can a Lucene field be renamed in a Lucene index? Hi everyone, I have the following need and I wander what are my options or if anyone run into it and has a solution / suggestion. I'm indexing a SQL database. Each table is a Lucene index. Now, in table "A", I have a field called "Foo". When I index it into Lucene, I also end up with a field called "Foo". Later on, the SQL database administrator, will change the field name from "Foo" to "Bar". Once this happens, any new records added to table "A" will be indexed into Lucene as "Bar". The issue is this, Lucene index for table "A" now has documents with some having a field called "Foo" and others with "Bar". This is problematic because now a user can't just search for "Foo:dog", but must search for "Foo:dog Bar:dog". So, what are my options here? No, I can't re-index. Ideally, I would like to be able to say to Lucene, "rename the field 'Foo' to 'Bar' in the index 'A'" (even if it means using private APIs). Is this possible? Have you run into this problem? What was your solution? Regards, -- George From [email protected] Thu Aug 30 02:30:14 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37769 invoked from network); 30 Aug 2007 02:30:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Aug 2007 02:30:13 -0000 Received: (qmail 77402 invoked by uid 500); 30 Aug 2007 02:30:09 -0000 Delivered-To: [email protected] Received: (qmail 77382 invoked by uid 500); 30 Aug 2007 02:30:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 77372 invoked by uid 99); 30 Aug 2007 02:30:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Aug 2007 19:30:08 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO ps02.vds2000.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2007 02:30:04 +0000 Received: (qmail 30102 invoked from network); 29 Aug 2007 22:29:42 -0400 Received: from unknown (HELO aroushlt) (161.129.204.104) by aroush.net with SMTP; 29 Aug 2007 22:29:39 -0400 From: "George Aroush" <[email protected]> To: <[email protected]> Subject: RE: Can a Lucene field be renamed in a Lucene index? Date: Wed, 29 Aug 2007 22:30:16 -0400 Message-ID: <084d01c7eaad$b393d400$0301a8c0@aroushlt> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: Acfqqdn8ul2UMQ4JRzmMMOmuPREFPgAANLegAACpt3A= X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 In-Reply-To: <001a01c7eaab$777286d0$66579470$@com> X-Virus-Checked: Checked by ClamAV on apache.org Hi DIGY, I don't understand. How can one read documents from the source index? Yes, this would be possible if my source index also contains the raw-text (for each field). Regards, -- George > -----Original Message----- > From: DIGY [mailto:[email protected]] > Sent: Wednesday, August 29, 2007 10:14 PM > To: [email protected] > Subject: RE: Can a Lucene field be renamed in a Lucene index? > > Hi George, > > I haven't seen any API to do that thing, but one possibility can be: > Reading the all docs from source index > And writing the new values to the second one (Of course this > is re-index but does not require the original documents) > > DIGY > > -----Original Message----- > From: George Aroush [mailto:[email protected]] > Sent: Thursday, August 30, 2007 5:03 AM > To: [email protected] > Subject: Can a Lucene field be renamed in a Lucene index? > > Hi everyone, > > I have the following need and I wander what are my options or > if anyone run into it and has a solution / suggestion. > > I'm indexing a SQL database. Each table is a Lucene index. > Now, in table "A", I have a field called "Foo". When I index > it into Lucene, I also end up with a field called "Foo". > Later on, the SQL database administrator, will change the > field name from "Foo" to "Bar". Once this happens, any new > records added to table "A" will be indexed into Lucene as "Bar". > > The issue is this, Lucene index for table "A" now has > documents with some having a field called "Foo" and others > with "Bar". This is problematic because now a user can't > just search for "Foo:dog", but must search for "Foo:dog Bar:dog". > > So, what are my options here? No, I can't re-index. > Ideally, I would like to be able to say to Lucene, "rename > the field 'Foo' to 'Bar' in the index 'A'" (even if it means > using private APIs). Is this possible? Have you run into > this problem? What was your solution? > > Regards, > > -- George > From [email protected] Thu Aug 30 05:21:47 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73577 invoked from network); 30 Aug 2007 05:21:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Aug 2007 05:21:47 -0000 Received: (qmail 98639 invoked by uid 500); 30 Aug 2007 05:21:42 -0000 Delivered-To: [email protected] Received: (qmail 98614 invoked by uid 500); 30 Aug 2007 05:21:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 98605 invoked by uid 99); 30 Aug 2007 05:21:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Aug 2007 22:21:42 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO py-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2007 05:21:38 +0000 Received: by py-out-1112.google.com with SMTP id u77so2953026pyb for <[email protected]>; Wed, 29 Aug 2007 22:21:17 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=irzYBUCmzsXJMTxyy4Bb3GYQ01rNRCRafKZLbaS2DDpO8fZa1sGrDln131KTxfvtlNg+vxjTlYKMyStJiwntmtGnXMrGJfv+WnXYvFU0fMNWf0650050o6s0d1GvXeA1OFcsuXrmd7G/qrvOSUuSDybs/6CP/AsjGYj4HWFLrEk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=aXHWs66L3CAuXJM/j6nspCi52z81xysM+3xP2ZNLl6Po4qhhWfOjKsSdj8nnAT374GoiDyGohQjKwx+H0xWvWeIT2R3kgKO4WC6zJSM/wXtc5m+iJE9yLWyX7ze9I8dVYOcgD0vI8+rB3JD6A6QcebDDb504rgVHfqkS+cwMmPk= Received: by 161.129.204.104 with SMTP id a7mr201349qbj.1188451245329; Wed, 29 Aug 2007 22:20:45 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Wed, 29 Aug 2007 22:20:45 -0700 (PDT) Message-ID: <[email protected]> Date: Thu, 30 Aug 2007 15:20:45 +1000 From: "Michael Mitiaguin" <[email protected]> To: [email protected] Subject: Re: Can a Lucene field be renamed in a Lucene index? In-Reply-To: <084501c7eaa9$da3111d0$0301a8c0@aroushlt> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2496_22713720.1188451245287" References: <084501c7eaa9$da3111d0$0301a8c0@aroushlt> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_2496_22713720.1188451245287 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline George, I am not sure how your search works , but why not to introduce some mapping table field name - lucene field name and always keep lucene field the same regardless of changes in table column names. The same mapping may be used when searching Regards Michael On 8/30/07, George Aroush <[email protected]> wrote: > > Hi everyone, > > I have the following need and I wander what are my options or if anyone > run > into it and has a solution / suggestion. > > I'm indexing a SQL database. Each table is a Lucene index. Now, in table > "A", I have a field called "Foo". When I index it into Lucene, I also end > up with a field called "Foo". Later on, the SQL database administrator, > will change the field name from "Foo" to "Bar". Once this happens, any > new > records added to table "A" will be indexed into Lucene as "Bar". > > The issue is this, Lucene index for table "A" now has documents with some > having a field called "Foo" and others with "Bar". This is problematic > because now a user can't just search for "Foo:dog", but must search for > "Foo:dog Bar:dog". > > So, what are my options here? No, I can't re-index. Ideally, I would > like > to be able to say to Lucene, "rename the field 'Foo' to 'Bar' in the index > 'A'" (even if it means using private APIs). Is this possible? Have you > run > into this problem? What was your solution? > > Regards, > > -- George > > ------=_Part_2496_22713720.1188451245287-- From [email protected] Thu Aug 30 08:14:51 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41560 invoked from network); 30 Aug 2007 08:14:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Aug 2007 08:14:51 -0000 Received: (qmail 62172 invoked by uid 500); 30 Aug 2007 08:14:46 -0000 Delivered-To: [email protected] Received: (qmail 61998 invoked by uid 500); 30 Aug 2007 08:14:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 61989 invoked by uid 99); 30 Aug 2007 08:14:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2007 01:14:46 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=FH_MSGID_01C67,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wx-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2007 08:14:40 +0000 Received: by wx-out-0506.google.com with SMTP id h30so414585wxd for <[email protected]>; Thu, 30 Aug 2007 01:14:20 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:to:references:in-reply-to:subject:date:message-id:mime-version:content-type:content-transfer-encoding:x-mailer:thread-index:content-language; b=ucorRW7ixzcAT3fZ5eiLNSbwOUCdefb7wIMmCVRBq3SKcPD3neUYuk7oUZWZYFEqhccgUTpCXBr5N0JaMkAaIP962dl48oGt0Jzgkcpm+yLImvNmOkXIIsIw+yJXqnurdRHQQ6YvnmgplYYsjJggt4fVzs1bUWqc4HJqOPQMAiA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:to:references:in-reply-to:subject:date:message-id:mime-version:content-type:content-transfer-encoding:x-mailer:thread-index:content-language; b=drOk1S7eKyTsTwncNhaBirWot5XMJ2WtD+gdXlLM9s3Qs2at8llSGk3SbkLt9yHyQcuq8JfMXlRzUt7z8MjdDFcuUCsQF974srboKT78IDYZL0lIhxbvtBob/EbS3j96p8i9SUlRban2iXa4m8WYFNa853xhAKeQsAY+xFAkDlY= Received: by 161.129.204.104 with SMTP id k9mr474273wxb.1188461659903; Thu, 30 Aug 2007 01:14:19 -0700 (PDT) Received: from NEWPC ( [161.129.204.104]) by mx.google.com with ESMTPS id h40sm253168wxd.2161.129.204.104.14.15 (version=SSLv3 cipher=RC4-MD5); Thu, 30 Aug 2007 01:14:17 -0700 (PDT) From: "DIGY" <[email protected]> To: <[email protected]> References: <001a01c7eaab$777286d0$66579470$@com> <084d01c7eaad$b393d400$0301a8c0@aroushlt> In-Reply-To: <084d01c7eaad$b393d400$0301a8c0@aroushlt> Subject: RE: Can a Lucene field be renamed in a Lucene index? Date: Thu, 30 Aug 2007 11:12:18 +0300 Message-ID: <000001c7eadd$7dac3be0$7904b3a0$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acfqqdn8ul2UMQ4JRzmMMOmuPREFPgAANLegAACpt3AAC+Z2UA== Content-Language: tr X-Virus-Checked: Checked by ClamAV on apache.org Hi George, What I was trying to say was simply: IndexSearcher sr = new IndexSearcher(@"c:\temp\blabla"); for (int i = 0; i < sr.Reader.NumDocs(); i++) { Document d = sr.Reader.Document(i); //Create NewDoc //Write NewDoc to Second Index } DIGY -----Original Message----- From: George Aroush [mailto:[email protected]] Sent: Thursday, August 30, 2007 5:30 AM To: [email protected] Subject: RE: Can a Lucene field be renamed in a Lucene index? Hi DIGY, I don't understand. How can one read documents from the source index? Yes, this would be possible if my source index also contains the raw-text (for each field). Regards, -- George > -----Original Message----- > From: DIGY [mailto:[email protected]] > Sent: Wednesday, August 29, 2007 10:14 PM > To: [email protected] > Subject: RE: Can a Lucene field be renamed in a Lucene index? > > Hi George, > > I haven't seen any API to do that thing, but one possibility can be: > Reading the all docs from source index > And writing the new values to the second one (Of course this > is re-index but does not require the original documents) > > DIGY > > -----Original Message----- > From: George Aroush [mailto:[email protected]] > Sent: Thursday, August 30, 2007 5:03 AM > To: [email protected] > Subject: Can a Lucene field be renamed in a Lucene index? > > Hi everyone, > > I have the following need and I wander what are my options or > if anyone run into it and has a solution / suggestion. > > I'm indexing a SQL database. Each table is a Lucene index. > Now, in table "A", I have a field called "Foo". When I index > it into Lucene, I also end up with a field called "Foo". > Later on, the SQL database administrator, will change the > field name from "Foo" to "Bar". Once this happens, any new > records added to table "A" will be indexed into Lucene as "Bar". > > The issue is this, Lucene index for table "A" now has > documents with some having a field called "Foo" and others > with "Bar". This is problematic because now a user can't > just search for "Foo:dog", but must search for "Foo:dog Bar:dog". > > So, what are my options here? No, I can't re-index. > Ideally, I would like to be able to say to Lucene, "rename > the field 'Foo' to 'Bar' in the index 'A'" (even if it means > using private APIs). Is this possible? Have you run into > this problem? What was your solution? > > Regards, > > -- George > From [email protected] Thu Aug 30 09:52:07 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85447 invoked from network); 30 Aug 2007 09:52:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Aug 2007 09:52:07 -0000 Received: (qmail 4679 invoked by uid 500); 30 Aug 2007 09:52:01 -0000 Delivered-To: [email protected] Received: (qmail 4655 invoked by uid 500); 30 Aug 2007 09:52:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 4646 invoked by uid 99); 30 Aug 2007 09:52:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2007 02:52:01 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO ehatchersolutions.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2007 09:51:56 +0000 Received: by ehatchersolutions.com (Postfix, from userid 504) id 52D1530EFC1A; Thu, 30 Aug 2007 03:51:35 -0600 (MDT) X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on javelina X-Spam-Level: Received: from [161.129.204.104] (va-76-6-215-202.dhcp.embarqhsd.net [161.129.204.104]) by ehatchersolutions.com (Postfix) with ESMTP id B75D430EFC19 for <[email protected]>; Thu, 30 Aug 2007 03:51:23 -0600 (MDT) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <000001c7eadd$7dac3be0$7904b3a0$@com> References: <001a01c7eaab$777286d0$66579470$@com> <084d01c7eaad$b393d400$0301a8c0@aroushlt> <000001c7eadd$7dac3be0$7904b3a0$@com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit From: Erik Hatcher <[email protected]> Subject: Re: Can a Lucene field be renamed in a Lucene index? Date: Thu, 30 Aug 2007 05:51:20 -0400 To: [email protected] X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,RCVD_IN_SORBS_DUL autolearn=no version=3.1.1 DIGY - that won't work if the fields are not stored, though. Erik On Aug 30, 2007, at 4:12 AM, DIGY wrote: > Hi George, > > What I was trying to say was simply: > > IndexSearcher sr = new IndexSearcher(@"c:\temp\blabla"); > for (int i = 0; i < sr.Reader.NumDocs(); i++) > { > > Document d = sr.Reader.Document(i); > //Create NewDoc > //Write NewDoc to Second Index > } > > DIGY > > > > -----Original Message----- > From: George Aroush [mailto:[email protected]] > Sent: Thursday, August 30, 2007 5:30 AM > To: [email protected] > Subject: RE: Can a Lucene field be renamed in a Lucene index? > > Hi DIGY, > > I don't understand. How can one read documents from the source > index? Yes, > this would be possible if my source index also contains the raw- > text (for > each field). > > Regards, > > -- George > >> -----Original Message----- >> From: DIGY [mailto:[email protected]] >> Sent: Wednesday, August 29, 2007 10:14 PM >> To: [email protected] >> Subject: RE: Can a Lucene field be renamed in a Lucene index? >> >> Hi George, >> >> I haven't seen any API to do that thing, but one possibility can be: >> Reading the all docs from source index >> And writing the new values to the second one (Of course this >> is re-index but does not require the original documents) >> >> DIGY >> >> -----Original Message----- >> From: George Aroush [mailto:[email protected]] >> Sent: Thursday, August 30, 2007 5:03 AM >> To: [email protected] >> Subject: Can a Lucene field be renamed in a Lucene index? >> >> Hi everyone, >> >> I have the following need and I wander what are my options or >> if anyone run into it and has a solution / suggestion. >> >> I'm indexing a SQL database. Each table is a Lucene index. >> Now, in table "A", I have a field called "Foo". When I index >> it into Lucene, I also end up with a field called "Foo". >> Later on, the SQL database administrator, will change the >> field name from "Foo" to "Bar". Once this happens, any new >> records added to table "A" will be indexed into Lucene as "Bar". >> >> The issue is this, Lucene index for table "A" now has >> documents with some having a field called "Foo" and others >> with "Bar". This is problematic because now a user can't >> just search for "Foo:dog", but must search for "Foo:dog Bar:dog". >> >> So, what are my options here? No, I can't re-index. >> Ideally, I would like to be able to say to Lucene, "rename >> the field 'Foo' to 'Bar' in the index 'A'" (even if it means >> using private APIs). Is this possible? Have you run into >> this problem? What was your solution? >> >> Regards, >> >> -- George >> From [email protected] Thu Aug 30 13:31:49 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68555 invoked from network); 30 Aug 2007 13:31:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Aug 2007 13:31:48 -0000 Received: (qmail 4330 invoked by uid 500); 30 Aug 2007 13:31:44 -0000 Delivered-To: [email protected] Received: (qmail 4138 invoked by uid 500); 30 Aug 2007 13:31:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 4129 invoked by uid 99); 30 Aug 2007 13:31:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2007 06:31:43 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO tylermail.incode-inc.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2007 13:31:39 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Unsubscribe Date: Thu, 30 Aug 2007 08:31:16 -0500 Message-ID: <[email protected]> In-Reply-To: <082c01c7eaa2$e9cbd640$0301a8c0@aroushlt> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Unsubscribe Thread-Index: Acfp72JbbvtAR/zJRGCa6gVBXZGjbQAslJ1QABoOkJA= References: <[email protected]> <082c01c7eaa2$e9cbd640$0301a8c0@aroushlt> From: "Shepherd, Shane" <[email protected]> To: <[email protected]> Cc: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org How do I unsubscribe from the mailing list? From [email protected] Thu Aug 30 20:42:42 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78531 invoked from network); 30 Aug 2007 20:42:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Aug 2007 20:42:42 -0000 Received: (qmail 15223 invoked by uid 500); 30 Aug 2007 20:42:37 -0000 Delivered-To: [email protected] Received: (qmail 15047 invoked by uid 500); 30 Aug 2007 20:42:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 15037 invoked by uid 99); 30 Aug 2007 20:42:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2007 13:42:37 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO galaxy.matls.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2007 20:43:31 +0000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C7EB46.2DC8CB11" X-MimeOLE: Produced By Microsoft Exchange V6.5 Subject: Problem with Wildcard queries Date: Thu, 30 Aug 2007 16:41:45 -0400 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Problem with Wildcard queries Thread-Index: AcfrRioK8BMS49RCTzKUuGSZ/r2UYw== From: "Douglas Smith" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C7EB46.2DC8CB11 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I am trying to run a wildcard search, but I seem to be getting no results. I am using Lucene 2.1, and the SimpleAnalyzer. =20 =20 If I use the query parser, with the word "stainless", I get results (but moving/changing the wildcard around does not do anything). =20 What am I missing? Thanks! =20 =20 For the following search strings: =20 SearchText =3D "stainless"; SearchText =3D "*stainless"; SearchText =3D "*tainless"; SearchText =3D "stainless*"; SearchText =3D "*stainless*"; =20 String DefaultSearchField =3D "HighPriorityText"; QueryParser parser =3D new QueryParser(DefaultSearchField, = MainAnalyzer); parser.SetAllowLeadingWildcard(true); Query MainQuery =3D new WildcardQuery(new Term(DefaultSearchField, SearchText)); Hits Results =3D MainSearcher.Search(MainQuery); =20 System.Console.Out.WriteLine("Searching for: " + MainQuery.ToString()); System.Console.Out.WriteLine("Search Complete. Result Count: " + Results.Length().ToString()); =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Searching for: HighPriorityText:LanguageID: 1 AND (stainless) Search Complete. Result Count: 0 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Searching for: HighPriorityText:LanguageID: 1 AND (*stainless) Search Complete. Result Count: 0 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Searching for: HighPriorityText:LanguageID: 1 AND (*tainless) Search Complete. Result Count: 0 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Searching for: HighPriorityText:LanguageID: 1 AND (stainless*) Search Complete. Result Count: 0 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Searching for: HighPriorityText:LanguageID: 1 AND (*stainless*) Search Complete. Result Count: 0 =20 =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Douglas M. Smith =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Email: [email protected] Yahoo: [email protected] Jabber: [email protected] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D "For years there has been a theory that millions of monkeys typing at random on millions of typewriters would reproduce the entire works of Shakespeare. The Internet has proven this theory to be untrue." - Unknown =20 ------_=_NextPart_001_01C7EB46.2DC8CB11-- From [email protected] Thu Aug 30 21:48:05 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99489 invoked from network); 30 Aug 2007 21:48:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Aug 2007 21:48:04 -0000 Received: (qmail 23079 invoked by uid 500); 30 Aug 2007 21:47:59 -0000 Delivered-To: [email protected] Received: (qmail 23061 invoked by uid 500); 30 Aug 2007 21:47:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23052 invoked by uid 99); 30 Aug 2007 21:47:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2007 14:47:59 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO galaxy.matls.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2007 21:47:55 +0000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Subject: using mutliple wildcards in a term? Date: Thu, 30 Aug 2007 17:47:10 -0400 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: using mutliple wildcards in a term? Thread-Index: AcfrRioK8BMS49RCTzKUuGSZ/r2UYwACHKog References: <[email protected]> From: "Douglas Smith" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi everyone, Are wildcard queries intended to be able to support wildcards at the beginning *and* end of a term?=20 I am getting search results when I use a single wildcard (*), but not when I use them at the begging *and* end of a word. The Lucene java documentation seems unclear on this point, but one of my requirements is to find word fragments in the middle of words. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Douglas M. Smith =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Email: [email protected] Yahoo: [email protected] Jabber: [email protected] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D "For years there has been a theory that millions of monkeys typing at random on millions of typewriters would reproduce the entire works of Shakespeare. The Internet has proven this theory to be untrue." - Unknown From [email protected] Thu Aug 30 23:21:49 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29050 invoked from network); 30 Aug 2007 23:21:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Aug 2007 23:21:48 -0000 Received: (qmail 6823 invoked by uid 500); 30 Aug 2007 23:21:44 -0000 Delivered-To: [email protected] Received: (qmail 6644 invoked by uid 500); 30 Aug 2007 23:21:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 6635 invoked by uid 99); 30 Aug 2007 23:21:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2007 16:21:43 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nz-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2007 23:21:39 +0000 Received: by nz-out-0506.google.com with SMTP id o37so508349nzf for <[email protected]>; Thu, 30 Aug 2007 16:21:18 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=GDTQW2YOdgwY0Hvnq9bTyfUiO6kanJ9DzURlNUCNz+Dr8DyOfYDHZm8QpXdAV4SP9ChPvjofQWll4+P92xnyNmjeX9bmtqe5tdXWQqckuywkG3RMqzLiEDP8CZj80Ap6PhJewIHMYBpvpXymLOnQOwNZrareWbVV+80Owi47aew= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=U8PuRSw/8FBI292B4x3gzY7C+n1IApxKHuS91C8jg+trcRFRSc04yGNSQGjK+DuPn7HhaL7xtQOjrd1mB8Xdj/bDlitQrPKW5recu711XumoUdOmQ+chMEXF/RA+pE0oAzkWQgBaKI97DqHlVt6QPAUhpRk5vXkLwSsLf/dtB5k= Received: by 161.129.204.104 with SMTP id a16mr2086503qbl.1188516078369; Thu, 30 Aug 2007 16:21:18 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 30 Aug 2007 16:21:18 -0700 (PDT) Message-ID: <[email protected]> Date: Fri, 31 Aug 2007 09:21:18 +1000 From: "Michael Mitiaguin" <[email protected]> To: [email protected] Subject: Re: using mutliple wildcards in a term? In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4827_1762093.1188516078333" References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_4827_1762093.1188516078333 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Douglas, I never used it , but in "Lucene in Action" book we may read : Wildcards at the beginning of a term are prohibited using QueryParser, but an API-coded WildcardQuery may use leading wildcards (at the expense of performance). Regards Michael On 8/31/07, Douglas Smith <[email protected]> wrote: > > Hi everyone, > > Are wildcard queries intended to be able to support wildcards at the > beginning *and* end of a term? > > I am getting search results when I use a single wildcard (*), but not > when I use them at the begging *and* end of a word. The Lucene java > documentation seems unclear on this point, but one of my requirements is > to find word fragments in the middle of words. > > > ===================================== > Douglas M. Smith > ===================================== > Email: [email protected] > Yahoo: [email protected] > Jabber: [email protected] > ===================================== > > "For years there has been a theory that millions of monkeys typing at > random on millions of typewriters would reproduce the entire works of > Shakespeare. The Internet has proven this theory to be untrue." - > Unknown > > > ------=_Part_4827_1762093.1188516078333-- From [email protected] Fri Aug 31 14:44:06 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 27279 invoked from network); 31 Aug 2007 14:44:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Aug 2007 14:44:06 -0000 Received: (qmail 37222 invoked by uid 500); 31 Aug 2007 14:44:01 -0000 Delivered-To: [email protected] Received: (qmail 37046 invoked by uid 500); 31 Aug 2007 14:44:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 37037 invoked by uid 99); 31 Aug 2007 14:44:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Aug 2007 07:44:01 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO an-out-0708.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Aug 2007 14:43:54 +0000 Received: by an-out-0708.google.com with SMTP id b33so144543ana for <[email protected]>; Fri, 31 Aug 2007 07:43:33 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:message-id:date:user-agent:mime-version:to:subject:references:in-reply-to:content-type:from; b=s3koEGFR59rIltJx8AjfdGbD0vXTFvfc3I7FQ7XB8Xcx4gQw/ugr+beaoJpf+Vl1TsaPdhwLxMyKJlqce8OlbKzyoLXOHU/ZJwdnF9sLpG3TcqoxsFWnN+ycX79M8HTvSLWfxIUy2zJn8FBlPL3HZnBmgQZX1jhXnZlz1oamrPA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:user-agent:mime-version:to:subject:references:in-reply-to:content-type:from; b=PmLbhyr8jXxSgPIFKjcEux3mEBHnhiqEM0AWvg2TgEazPnB0bng2mH7Ah9Ok38WwSMOUJmO4FbGcEP3WQSj1sGjmtXX5EYoYxJokE/RXSCgyc+587mX4MEZp8wxz62uXRwaY5EGxSznI8ZKp6YoUMQ0/eeapwCyMkypucE85rPc= Received: by 161.129.204.104 with SMTP id n8mr1607818anf.1188571412674; Fri, 31 Aug 2007 07:43:32 -0700 (PDT) Received: from ?161.129.204.104? ( [161.129.204.104]) by mx.google.com with ESMTPS id c23sm2345137ana.2161.129.204.104.43.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 31 Aug 2007 07:43:30 -0700 (PDT) Message-ID: <[email protected]> Date: Fri, 31 Aug 2007 10:42:39 -0400 User-Agent: Thunderbird 161.129.204.104 (Windows/20070728) MIME-Version: 1.0 To: [email protected] Subject: Re: using mutliple wildcards in a term? References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: multipart/alternative; boundary="------------040706090702070207020403" From: "Douglas Smith (DataSmithy)" <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org --------------040706090702070207020403 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi Michael, FYI, with version 2.1, I am using wildcards with the standard query parser, and it seems to be working the way I expect. That is, if I put wildcards at the beginning *or* end or a word (prefix or suffix word part), I get different result counts compared to a word without any wildcards. However, I was not able to get wildcards to work with the WildcardQuery function searching on a single term (it returned no results). It is possible I may have not been using it correctly, since it was my first try. Also, my index is apparently small enough that I don't get a significant performance hit from using wildcards at the beginning of a term. /*Does anybody know if Lucene supports wildcards at the beginning *and* end of a term at the same time? I am getting no results when I do this. */ Also from an interface design point of view, if Lucene does not support this, could it be argued that it should throw an error in this case, instead of returning no results? Michael Mitiaguin wrote: > Douglas, > > I never used it , but in "Lucene in Action" book we may read : > Wildcards at the beginning of a term are prohibited using QueryParser, but > an API-coded WildcardQuery may use leading wildcards (at the expense of > performance). > > Regards > Michael > > On 8/31/07, Douglas Smith <[email protected]> wrote: > >> Hi everyone, >> >> Are wildcard queries intended to be able to support wildcards at the >> beginning *and* end of a term? >> >> I am getting search results when I use a single wildcard (*), but not >> when I use them at the begging *and* end of a word. The Lucene java >> documentation seems unclear on this point, but one of my requirements is >> to find word fragments in the middle of words. >> >> >> ===================================== >> Douglas M. Smith >> ===================================== >> Email: [email protected] >> Yahoo: [email protected] >> Jabber: [email protected] >> ===================================== >> >> "For years there has been a theory that millions of monkeys typing at >> random on millions of typewriters would reproduce the entire works of >> Shakespeare. The Internet has proven this theory to be untrue." - >> Unknown >> >> >> >> > > -- ====================================== Douglas M. Smith |--- DataSmithy ---| email: [email protected] work: 856.683.6701 home: 856.683.6701 fax: 856.683.6701 aim: datasmithy yahoo: datasmithy skype: datasmitty jabber: [email protected] ====================================== --------------040706090702070207020403-- From [email protected] Fri Aug 31 17:43:00 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37259 invoked from network); 31 Aug 2007 17:43:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Aug 2007 17:43:00 -0000 Received: (qmail 75988 invoked by uid 500); 31 Aug 2007 17:42:55 -0000 Delivered-To: [email protected] Received: (qmail 75963 invoked by uid 500); 31 Aug 2007 17:42:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 75950 invoked by uid 99); 31 Aug 2007 17:42:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Aug 2007 10:42:55 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO el-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Aug 2007 17:42:48 +0000 Received: by el-out-1112.google.com with SMTP id j27so444400elf for <[email protected]>; Fri, 31 Aug 2007 10:42:27 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:message-id:date:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:from; b=PezwwVXrFQWtm8dPhEce+IOBvOunzd5SHS1yBne+uONuDTN+GYPcs/iy8EWBhdgDWKeOOGzZse87S84vYX1BWniMTVyT9xv73UKwCCCGe12wtr4falHhPHiiUmUhI7WAM88yQeJ4VJ3SCBNRuDTJXBfHMfM9k/FEgjfktTzrv2Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:from; b=ncbzZKPpGUjmHswM1NakIMkiF9HoxgIkGagPRBqsdI7qhN9uG8yAbe8sesqsKI/dWSQRmCGiOij3gBCLk77SK1K4yt7IsEYJUY1ishqflCIzWGm/DIwIqWhJC2VYO192Xxp8g813WUQocLxgFUVomQsKkGfJ+v7leRvMzLVqGys= Received: by 161.129.204.104 with SMTP id a17mr1930755ane.1188582147368; Fri, 31 Aug 2007 10:42:27 -0700 (PDT) Received: from ?161.129.204.104? ( [161.129.204.104]) by mx.google.com with ESMTPS id c15sm2564609anc.2161.129.204.104.42.22 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 31 Aug 2007 10:42:23 -0700 (PDT) Message-ID: <[email protected]> Date: Fri, 31 Aug 2007 13:41:32 -0400 User-Agent: Thunderbird 161.129.204.104 (Windows/20070728) MIME-Version: 1.0 To: [email protected] Subject: Re: using mutliple wildcards in a term? References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit From: "Douglas Smith (DataSmithy)" <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi Michael, FYI, with version 2.1, I am using wildcards with the standard query parser, and it seems to be working the way I expect. That is, if I put wildcards at the beginning *or* end or a word (prefix or suffix word part), I get different result counts compared to a word without any wildcards. However, I was not able to get wildcards to work with the WildcardQuery function searching on a single term (it returned no results). It is possible I may have not been using it correctly, since it was my first try. Also, my index is apparently small enough that I don't get a significant performance hit from using wildcards at the beginning of a term. /*Does anybody know if Lucene supports wildcards at the beginning *and* end of a term at the same time? I am getting no results when I do this. */ Also from an interface design point of view, if Lucene does not support this, could it be argued that it should throw an error in this case, instead of returning no results? Michael Mitiaguin wrote: > Douglas, > > I never used it , but in "Lucene in Action" book we may read : > Wildcards at the beginning of a term are prohibited using QueryParser, but > an API-coded WildcardQuery may use leading wildcards (at the expense of > performance). > > Regards > Michael > > On 8/31/07, Douglas Smith <[email protected]> wrote: > >> Hi everyone, >> >> Are wildcard queries intended to be able to support wildcards at the >> beginning *and* end of a term? >> >> I am getting search results when I use a single wildcard (*), but not >> when I use them at the begging *and* end of a word. The Lucene java >> documentation seems unclear on this point, but one of my requirements is >> to find word fragments in the middle of words. >> >> >> ===================================== >> Douglas M. Smith >> ===================================== >> Email: [email protected] >> Yahoo: [email protected] >> Jabber: [email protected] >> ===================================== >> >> "For years there has been a theory that millions of monkeys typing at >> random on millions of typewriters would reproduce the entire works of >> Shakespeare. The Internet has proven this theory to be untrue." - >> Unknown >> >> >> >> > > -- ====================================== Douglas M. Smith |--- DataSmithy ---| email: [email protected] work: 856.683.6701 home: 856.683.6701 fax: 856.683.6701 aim: datasmithy yahoo: datasmithy skype: datasmitty jabber: [email protected] ====================================== From [email protected] Fri Aug 31 17:59:20 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47083 invoked from network); 31 Aug 2007 17:59:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Aug 2007 17:59:20 -0000 Received: (qmail 2167 invoked by uid 500); 31 Aug 2007 17:59:15 -0000 Delivered-To: [email protected] Received: (qmail 1988 invoked by uid 500); 31 Aug 2007 17:59:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 1979 invoked by uid 99); 31 Aug 2007 17:59:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Aug 2007 10:59:14 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO filter2.fishersci.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Aug 2007 17:59:11 +0000 Received: from ([161.129.204.104]) by filter2.fishersci.com with ESMTP id KP-BRAWP.158803671; Fri, 31 Aug 2007 13:58:22 -0400 Received: from uswal-mxrt01.amer.thermo.com ([161.129.204.104]) by PGHCR-EXBR-04.na.fshrnet.com with Microsoft SMTPSVC856.683.6701); Fri, 31 Aug 2007 13:58:23 -0400 Received: from uswal-mxrt02.amer.thermo.com ([161.129.204.104]) by uswal-mxrt01.amer.thermo.com with Microsoft SMTPSVC856.683.6701); Fri, 31 Aug 2007 13:58:23 -0400 Received: from USWAL-MXVS1.amer.thermo.com ([161.129.204.104]) by uswal-mxrt02.amer.thermo.com ([161.129.204.104]) with mapi; Fri, 31 Aug 2007 13:58:23 -0400 To: "[email protected]" <[email protected]> Date: Fri, 31 Aug 2007 13:58:21 -0400 Subject: RE: using multiple wildcards in a term? Thread-Topic: using multiple wildcards in a term? Thread-Index: Acfr3W06R3+j1+fLQqi/xUQJKinvZAAGIycw Message-ID: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 31 Aug 2007 17:58:23.0338 (UTC) FILETIME=[85D95CA0:01C7EBF8] From: "Granroth, Neal V." <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Douglas, Acceptable performance is a subjective thing. I am currently running tests with an index of 140005 "documents", and 50702= 7 terms. A three field, boolean search, using a single term finds 12063 hits in 0.04= 7 seconds. A three field, boolean search, using a single wildcard term (*word) finds 9= 23 hits in 0.375 seconds. That's slower by nearly a factor of 10. Significant yes, but still much fas= ter than my test UI can display them, and fast enough that supporting wildc= ard queries is useful thing to do. Looking at the source (version 1.9.1) for "WildcardQuery" and the class it = uses to process the query "WildcardTermEnum"; it does not appear to support= multiple asterisk wildcards. However, you could probably compose a boolean query joining two WildcardQue= ries to achieve the that result. -- Neal -----Original Message----- From: Douglas Smith (DataSmithy) [mailto:[email protected]] Sent: Friday, August 31, 2007 9:43 AM To: [email protected] Subject: Re: using mutliple wildcards in a term? Hi Michael, FYI, with version 2.1, I am using wildcards with the standard query parser, and it seems to be working the way I expect. That is, if I put wildcards at the beginning *or* end or a word (prefix or suffix word part), I get different result counts compared to a word without any wildcards. However, I was not able to get wildcards to work with the WildcardQuery function searching on a single term (it returned no results). It is possible I may have not been using it correctly, since it was my first try. Also, my index is apparently small enough that I don't get a significant performance hit from using wildcards at the beginning of a term. /*Does anybody know if Lucene supports wildcards at the beginning *and* end of a term at the same time? I am getting no results when I do this. *= / Also from an interface design point of view, if Lucene does not support this, could it be argued that it should throw an error in this case, instead of returning no results? Michael Mitiaguin wrote: > Douglas, > > I never used it , but in "Lucene in Action" book we may read : > Wildcards at the beginning of a term are prohibited using QueryParser, bu= t > an API-coded WildcardQuery may use leading wildcards (at the expense of > performance). > > Regards > Michael > > On 8/31/07, Douglas Smith <[email protected]> wrote: > >> Hi everyone, >> >> Are wildcard queries intended to be able to support wildcards at the >> beginning *and* end of a term? >> >> I am getting search results when I use a single wildcard (*), but not >> when I use them at the begging *and* end of a word. The Lucene java >> documentation seems unclear on this point, but one of my requirements is >> to find word fragments in the middle of words. >> >> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> Douglas M. Smith >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> Email: [email protected] >> Yahoo: [email protected] >> Jabber: [email protected] >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> >> "For years there has been a theory that millions of monkeys typing at >> random on millions of typewriters would reproduce the entire works of >> Shakespeare. The Internet has proven this theory to be untrue." - >> Unknown >> >> >> >> > > -- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Douglas M. Smith |--- DataSmithy ---| email: [email protected] work: 856.683.6701 home: 856.683.6701 fax: 856.683.6701 aim: datasmithy yahoo: datasmithy skype: datasmitty jabber: [email protected] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D From [email protected] Fri Aug 31 18:17:11 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60465 invoked from network); 31 Aug 2007 18:17:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Aug 2007 18:17:10 -0000 Received: (qmail 28679 invoked by uid 500); 31 Aug 2007 18:17:06 -0000 Delivered-To: [email protected] Received: (qmail 28501 invoked by uid 500); 31 Aug 2007 18:17:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 28492 invoked by uid 99); 31 Aug 2007 18:17:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Aug 2007 11:17:05 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wx-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Aug 2007 18:16:58 +0000 Received: by wx-out-0506.google.com with SMTP id h30so807615wxd for <[email protected]>; Fri, 31 Aug 2007 11:16:37 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:message-id:date:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:from; b=rpy326k5/CIUsytBaqnRFKWDeumRXMtdih34RDFajBjuumcjbseFUw8P6V15ma9O67sY73cnDdL/7koFZeMQ/Fce0+6rLaYbzgMnJbBhXBsXXkz4yaVNoeVqC/k/My6Gx1cYnpQqY+JKesEWV6ah8azmqSDUQy9GyzFovQdmHp8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:from; b=ge92fHJI6mWVFLuaNqOdtVCuhbcjYqhUydvE2tO8a2OWEIxqDDFeI6fAaZpLaC/83M73s1EE/thhNPAyXQ473Fjv5bM4ym1XLdl5/7bbICfGENlAwy8JSIgmhluc0ycl0ARbIz9jryT1GjTbgx7r7z83LnRmSr4WwCl4LVhBZ5M= Received: by 161.129.204.104 with SMTP id z18mr2377913agz.1188584197485; Fri, 31 Aug 2007 11:16:37 -0700 (PDT) Received: from ?161.129.204.104? ( [161.129.204.104]) by mx.google.com with ESMTPS id m30sm1097294elf.2161.129.204.104.16.34 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 31 Aug 2007 11:16:35 -0700 (PDT) Message-ID: <[email protected]> Date: Fri, 31 Aug 2007 14:15:44 -0400 User-Agent: Thunderbird 161.129.204.104 (Windows/20070728) MIME-Version: 1.0 To: [email protected] Subject: Re: using multiple wildcards in a term? References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit From: "Douglas Smith (DataSmithy)" <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi Neal, Thanks for the thoughts. I was planning on doing a boolean search if needed (*myword OR myword*) , but that will still not find word fragments in the middle of words (for search words that are neither suffixes nor prefixes). It does not look like Lucene (or many full text search engines in general) meet that requirement. I suppose it is a trade off of features vs. performance. I am assuming it is generally too expensive of an operation to perform for full text engines (that generally index very large amounts of text data) to include as a useful feature. Granroth, Neal V. wrote: > Douglas, > > Acceptable performance is a subjective thing. > > I am currently running tests with an index of 140005 "documents", and 507027 terms. > > A three field, boolean search, using a single term finds 12063 hits in 0.047 seconds. > > A three field, boolean search, using a single wildcard term (*word) finds 923 hits in 0.375 seconds. > > That's slower by nearly a factor of 10. Significant yes, but still much faster than my test UI can display them, and fast enough that supporting wildcard queries is useful thing to do. > > Looking at the source (version 1.9.1) for "WildcardQuery" and the class it uses to process the query "WildcardTermEnum"; it does not appear to support multiple asterisk wildcards. > > However, you could probably compose a boolean query joining two WildcardQueries to achieve the that result. > > > -- Neal > > > -----Original Message----- > From: Douglas Smith (DataSmithy) [mailto:[email protected]] > Sent: Friday, August 31, 2007 9:43 AM > To: [email protected] > Subject: Re: using mutliple wildcards in a term? > > Hi Michael, > > FYI, with version 2.1, I am using wildcards with the standard query > parser, and it seems to be working the way I expect. That is, if I put > wildcards at the beginning *or* end or a word (prefix or suffix word > part), I get different result counts compared to a word without any > wildcards. > > However, I was not able to get wildcards to work with the WildcardQuery > function searching on a single term (it returned no results). It is > possible I may have not been using it correctly, since it was my first try. > > Also, my index is apparently small enough that I don't get a significant > performance hit from using wildcards at the beginning of a term. > > /*Does anybody know if Lucene supports wildcards at the beginning *and* > end of a term at the same time? I am getting no results when I do this. */ > > Also from an interface design point of view, if Lucene does not support > this, could it be argued that it should throw an error in this case, > instead of returning no results? > > Michael Mitiaguin wrote: > >> Douglas, >> >> I never used it , but in "Lucene in Action" book we may read : >> Wildcards at the beginning of a term are prohibited using QueryParser, but >> an API-coded WildcardQuery may use leading wildcards (at the expense of >> performance). >> >> Regards >> Michael >> >> On 8/31/07, Douglas Smith <[email protected]> wrote: >> >> >>> Hi everyone, >>> >>> Are wildcard queries intended to be able to support wildcards at the >>> beginning *and* end of a term? >>> >>> I am getting search results when I use a single wildcard (*), but not >>> when I use them at the begging *and* end of a word. The Lucene java >>> documentation seems unclear on this point, but one of my requirements is >>> to find word fragments in the middle of words. >>> >>> >>> ===================================== >>> Douglas M. Smith >>> ===================================== >>> Email: [email protected] >>> Yahoo: [email protected] >>> Jabber: [email protected] >>> ===================================== >>> >>> "For years there has been a theory that millions of monkeys typing at >>> random on millions of typewriters would reproduce the entire works of >>> Shakespeare. The Internet has proven this theory to be untrue." - >>> Unknown >>> >>> >>> >>> >>> >> > > -- > ====================================== > Douglas M. Smith > |--- DataSmithy ---| > > email: [email protected] > work: 856.683.6701 > home: 856.683.6701 > fax: 856.683.6701 > aim: datasmithy > yahoo: datasmithy > skype: datasmitty > jabber: [email protected] > ====================================== > > > > -- ====================================== Douglas M. Smith |--- DataSmithy ---| email: [email protected] work: 856.683.6701 home: 856.683.6701 fax: 856.683.6701 aim: datasmithy yahoo: datasmithy skype: datasmitty jabber: [email protected] ====================================== From [email protected] Sat Sep 01 00:00:36 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 75655 invoked from network); 1 Sep 2007 00:00:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Sep 2007 00:00:36 -0000 Received: (qmail 47214 invoked by uid 500); 1 Sep 2007 00:00:31 -0000 Delivered-To: [email protected] Received: (qmail 47197 invoked by uid 500); 1 Sep 2007 00:00:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <lucene-net-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 47188 invoked by uid 99); 1 Sep 2007 00:00:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Aug 2007 17:00:31 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO py-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Sep 2007 00:00:24 +0000 Received: by py-out-1112.google.com with SMTP id u77so4148367pyb for <[email protected]>; Fri, 31 Aug 2007 17:00:02 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=dgwjdSHBzlbC+m1XarOCJuAeMpvtMq098kpzAXL/ww7zO1eS/3S0QEwqjl/akYiX0py/3IflkmHOP/WCbddGZG9nsOY+wS4187WNt5198LsryKWAxJtj9pmEn4iNaX8KpAlKL4ZVFZMKBnS/LnrPpbw32ETp81FxagUaMwBxrDM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Yl+gAONHJdjF0DaW4LbKhm/4rVaKuTLrfqXE/mHJf/M+vuzyLwUl4su9BcIjcB/ulSZe4tJQ8ht1iXrz3FvJQoRwr4Ro9nNMerZHqlwR2X9JtxZkwxI3HWT4CUxroqaasT8LEX6vbYO/R9UqLYjq4cc8rHiPH4O2hkTV2ehEpPs= Received: by 161.129.204.104 with SMTP id z1mr4419623qbn.1188604802009; Fri, 31 Aug 2007 17:00:02 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Fri, 31 Aug 2007 17:00:01 -0700 (PDT) Message-ID: <[email protected]> Date: Sat, 1 Sep 2007 10:00:01 +1000 From: "Michael Mitiaguin" <[email protected]> To: [email protected] Subject: Re: using mutliple wildcards in a term? In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_7963_14228605.1188604801661" References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_7963_14228605.1188604801661 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Douglas, I had a check with Lucene.Net 2..0.4 ( latest release , my understanding 2.1 hasn't been released yet , you just checked out from svn tree ? ) and the following fragment does work for me. searcher = new IndexSearcher(indexDir); query = new WildcardQuery ( new Term ("description" , "*bbe*" )) ; hits = searcher.Search ( query ) ; For my index 85 hits , and lesser number 81 for "?ubbe*" Did you mean you tried QueryParser with leading wildcard and it returned hits ? I also would be interested to get a confirmation this behaviour was changed in 2.1 comparing to 2.0.4 where exception is thrown [Lucene.Net.QueryParsers.ParseException] {"Lexical error at line 1, column 1. Encountered: \"*\" (42), after : \"\""} Lucene.Net.QueryParsers.ParseException On 9/1/07, Douglas Smith (DataSmithy) <[email protected]> wrote: > > Hi Michael, > > FYI, with version 2.1, I am using wildcards with the standard query > parser, and it seems to be working the way I expect. That is, if I put > wildcards at the beginning *or* end or a word (prefix or suffix word > part), I get different result counts compared to a word without any > wildcards. > > However, I was not able to get wildcards to work with the WildcardQuery > function searching on a single term (it returned no results). It is > possible I may have not been using it correctly, since it was my first > try. > > Also, my index is apparently small enough that I don't get a significant > performance hit from using wildcards at the beginning of a term. > > /*Does anybody know if Lucene supports wildcards at the beginning *and* > end of a term at the same time? I am getting no results when I do > this. */ > > Also from an interface design point of view, if Lucene does not support > this, could it be argued that it should throw an error in this case, > instead of returning no results? > > Michael Mitiaguin wrote: > > Douglas, > > > > I never used it , but in "Lucene in Action" book we may read : > > Wildcards at the beginning of a term are prohibited using QueryParser, > but > > an API-coded WildcardQuery may use leading wildcards (at the expense of > > performance). > > > > Regards > > Michael > > > > On 8/31/07, Douglas Smith <[email protected]> wrote: > > > >> Hi everyone, > >> > >> Are wildcard queries intended to be able to support wildcards at the > >> beginning *and* end of a term? > >> > >> I am getting search results when I use a single wildcard (*), but not > >> when I use them at the begging *and* end of a word. The Lucene java > >> documentation seems unclear on this point, but one of my requirements > is > >> to find word fragments in the middle of words. > >> > >> > >> ===================================== > >> Douglas M. Smith > >> ===================================== > >> Email: [email protected] > >> Yahoo: [email protected] > >> Jabber: [email protected] > >> ===================================== > >> > >> "For years there has been a theory that millions of monkeys typing at > >> random on millions of typewriters would reproduce the entire works of > >> Shakespeare. The Internet has proven this theory to be untrue." - > >> Unknown > >> > >> > >> > >> > > > > > > -- > ====================================== > Douglas M. Smith > |--- DataSmithy ---| > > email: [email protected] > work: 856.683.6701 > home: 856.683.6701 > fax: 856.683.6701 > aim: datasmithy > yahoo: datasmithy > skype: datasmitty > jabber: [email protected] > ====================================== > > > ------=_Part_7963_14228605.1188604801661--
From [email protected] Sun Jun 02 12:38:15 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 27789 invoked from network); 2 Jun 2002 12:38:15 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 2 Jun 2002 12:38:15 -0000 Received: (qmail 28440 invoked by uid 97); 2 Jun 2002 12:38:15 -0000 Delivered-To: [email protected] Received: (qmail 28369 invoked by uid 97); 2 Jun 2002 12:38:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 28358 invoked by uid 97); 2 Jun 2002 12:38:14 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Date: 2 Jun 2002 12:38:08 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-bcel project.xml X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N jvanzyl 2002/06/02 05:38:08 Modified: . project.xml Log: Updating to the v3 POM. Revision Changes Path 1.2 +17 -21 jakarta-bcel/project.xml Index: project.xml =================================================================== RCS file: /home/cvs/jakarta-bcel/project.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- project.xml 25 Mar 2002 17:49:44 -0000 1.1 +++ project.xml 2 Jun 2002 12:38:08 -0000 1.2 @@ -1,10 +1,14 @@ <?xml version="1.0"?> <project> + <pomVersion>3</pomVersion> <name>jakarta-bcel</name> <id>bcel</id> <currentVersion>5.1-dev</currentVersion> - <organization>Apache Software Foundation</organization> + <organization> + <name>Apache Software Foundation</name> + <url>http://www.apache.org</url> + </organization> <inceptionYear>2002</inceptionYear> <package>org.apache.bcel</package> @@ -19,6 +23,11 @@ <siteAddress>jakarta.apache.org</siteAddress> <siteDirectory>/www/jakarta.apache.org/bcel/</siteDirectory> + <repository> + <connection>scm:cvs:pserver:[email protected]:/home/cvspublic:jakarta-bcel</connection> + <url>http://cvs.apache.org/viewcvs/jakarta-bcel/</url> + </repository> + <mailingLists> <mailingList> <name>BCEL User List</name> @@ -54,34 +63,21 @@ <dependencies> <dependency> - <name>jakarta-regexp</name> - <type>required</type> + <id>regexp</id> <version>1.2</version> - <jar>jakarta-regexp-1.2.jar</jar> </dependency> </dependencies> <build> - <sourceDirectories> - <sourceDirectory>src/java</sourceDirectory> - </sourceDirectories> - - <testSourceDirectories> - <testSourceDirectory>src/java</testSourceDirectory> - </testSourceDirectories> - - <aspectSourceDirectories> - </aspectSourceDirectories> + <sourceDirectory>src/java</sourceDirectory> + <aspectSourceDirectory/> + <testSourceDirectory>src/java</testSourceDirectory> <!-- Unit test classes --> - <unitTestClassEntries> - <unitTestClassEntry>exclude = **/*.class</unitTestClassEntry> - </unitTestClassEntries> - - <!-- Runtime unit test classes --> - <runtimeTestClassEntries> - </runtimeTestClassEntries> + <unitTestPatterns> + <unitTestPattern>exclude = **/*.class</unitTestPattern> + </unitTestPatterns> <!-- J A R R E S O U R C E S --> <!-- Resources that are packaged up inside the JAR file --> -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Sun Jun 02 12:40:47 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28322 invoked from network); 2 Jun 2002 12:40:46 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 2 Jun 2002 12:40:46 -0000 Received: (qmail 28910 invoked by uid 97); 2 Jun 2002 12:40:47 -0000 Delivered-To: [email protected] Received: (qmail 28862 invoked by uid 97); 2 Jun 2002 12:40:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 28850 invoked by uid 98); 2 Jun 2002 12:40:46 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Subject: BCEL and Maven From: Jason van Zyl <[email protected]> To: BCEL Developers List <[email protected]> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2 Date: 02 Jun 2002 08:40:40 -0400 Message-Id: <[email protected]> Mime-Version: 1.0 X-Authentication-Info: Submitted using SMTP AUTH [email protected] from [161.129.204.104] using ID <[email protected]> at Sun, 2 Jun 2002 08:40:40 -0400 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I just updated the Maven project descriptor to version 3 which matches what is required for the Maven b4 release that is forthcoming. At this point I'm comfortable saying that Maven is stable and usable and would like to propose that we use Maven for our default build and get rid of the old build system. For information on Maven take a peek at: http://jakarta.apache.org/turbine/maven/ -- jvz. Jason van Zyl [email protected] http://tambora.zenplex.org -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Mon Jun 03 09:06:44 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86686 invoked from network); 3 Jun 2002 09:06:44 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 3 Jun 2002 09:06:44 -0000 Received: (qmail 12217 invoked by uid 97); 3 Jun 2002 09:06:56 -0000 Delivered-To: [email protected] Received: (qmail 12147 invoked by uid 97); 3 Jun 2002 09:06:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 12133 invoked by uid 97); 3 Jun 2002 09:06:54 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Date: 3 Jun 2002 09:06:38 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-bcel/src/java/org/apache/bcel/classfile JavaClass.java Method.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N mdahm 2002/06/03 02:06:37 Modified: src/java/org/apache/bcel Repository.java src/java/org/apache/bcel/classfile JavaClass.java Method.java Log: Removed redundant vars Revision Changes Path 1.6 +2 -2 jakarta-bcel/src/java/org/apache/bcel/Repository.java Index: Repository.java =================================================================== RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/Repository.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- Repository.java 3 Apr 2002 14:42:28 -0000 1.5 +++ Repository.java 3 Jun 2002 09:06:37 -0000 1.6 @@ -68,7 +68,7 @@ * the repository or been added with addClass() manually. This is * because we have to check for real object identity (==). * - * @version $Id: Repository.java,v 1.5 2002/04/03 14:42:28 mdahm Exp $ + * @version $Id: Repository.java,v 1.6 2002/06/03 09:06:37 mdahm Exp $ * @author <A HREF="mailto:[email protected]">M. Dahm</A */ public abstract class Repository { @@ -231,7 +231,7 @@ String s = clazz.getSuperclassName(); String[] interfaces = clazz.getInterfaceNames(); - +System.out.println(java.util.Arrays.asList(interfaces)); if(clazz.isInterface()) vec.addElement(clazz); else if(!s.equals("java.lang.Object")) 1.8 +6 -5 jakarta-bcel/src/java/org/apache/bcel/classfile/JavaClass.java Index: JavaClass.java =================================================================== RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/JavaClass.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- JavaClass.java 17 May 2002 19:24:04 -0000 1.7 +++ JavaClass.java 3 Jun 2002 09:06:37 -0000 1.8 @@ -74,7 +74,7 @@ * class file. Those interested in programatically generating classes * should see the <a href="../generic/ClassGen.html">ClassGen</a> class. - * @version $Id: JavaClass.java,v 1.7 2002/05/17 19:24:04 ddp Exp $ + * @version $Id: JavaClass.java,v 1.8 2002/06/03 09:06:37 mdahm Exp $ * @see org.apache.bcel.generic.ClassGen * @author <A HREF="mailto:[email protected]">M. Dahm</A> */ @@ -171,9 +171,6 @@ } } - // Get class name and superclass name - ConstantUtf8 name; - /* According to the specification the following entries must be of type * `ConstantClass' but we check that anyway via the * `ConstPool.getConstant' method. @@ -293,7 +290,11 @@ try { dump(ds); ds.close(); - } catch(IOException e) { e.printStackTrace(); } + } catch(IOException e) { + e.printStackTrace(); + } finally { + try { ds.close(); } catch(IOException e2) { e2.printStackTrace(); } + } return s.toByteArray(); } 1.4 +1 -4 jakarta-bcel/src/java/org/apache/bcel/classfile/Method.java Index: Method.java =================================================================== RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/Method.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- Method.java 24 Apr 2002 11:01:30 -0000 1.3 +++ Method.java 3 Jun 2002 09:06:37 -0000 1.4 @@ -61,7 +61,7 @@ * for a method in the class. See JVM specification for details. * A method has access flags, a name, a signature and a number of attributes. * - * @version $Id: Method.java,v 1.3 2002/04/24 11:01:30 mdahm Exp $ + * @version $Id: Method.java,v 1.4 2002/06/03 09:06:37 mdahm Exp $ * @author <A HREF="mailto:[email protected]">M. Dahm</A> */ public final class Method extends FieldOrMethod { @@ -170,11 +170,8 @@ */ public final String toString() { ConstantUtf8 c; - ConstantValue cv; String name, signature, access; // Short cuts to constant pool - String exceptions; StringBuffer buf; - Attribute[] attr; access = Utility.accessToString(access_flags); -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Mon Jun 03 09:11:32 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90383 invoked from network); 3 Jun 2002 09:11:32 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 3 Jun 2002 09:11:32 -0000 Received: (qmail 15117 invoked by uid 97); 3 Jun 2002 09:11:44 -0000 Delivered-To: [email protected] Received: (qmail 15101 invoked by uid 97); 3 Jun 2002 09:11:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 15090 invoked by uid 97); 3 Jun 2002 09:11:43 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Date: 3 Jun 2002 09:11:26 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-bcel/src/java/org/apache/bcel Repository.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N mdahm 2002/06/03 02:11:26 Modified: src/java/org/apache/bcel Repository.java Log: Undo nonsense Revision Changes Path 1.7 +2 -2 jakarta-bcel/src/java/org/apache/bcel/Repository.java Index: Repository.java =================================================================== RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/Repository.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- Repository.java 3 Jun 2002 09:06:37 -0000 1.6 +++ Repository.java 3 Jun 2002 09:11:26 -0000 1.7 @@ -68,7 +68,7 @@ * the repository or been added with addClass() manually. This is * because we have to check for real object identity (==). * - * @version $Id: Repository.java,v 1.6 2002/06/03 09:06:37 mdahm Exp $ + * @version $Id: Repository.java,v 1.7 2002/06/03 09:11:26 mdahm Exp $ * @author <A HREF="mailto:[email protected]">M. Dahm</A */ public abstract class Repository { @@ -231,7 +231,7 @@ String s = clazz.getSuperclassName(); String[] interfaces = clazz.getInterfaceNames(); -System.out.println(java.util.Arrays.asList(interfaces)); + if(clazz.isInterface()) vec.addElement(clazz); else if(!s.equals("java.lang.Object")) -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Mon Jun 03 11:27:47 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41891 invoked from network); 3 Jun 2002 11:27:47 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 3 Jun 2002 11:27:47 -0000 Received: (qmail 28584 invoked by uid 97); 3 Jun 2002 11:27:45 -0000 Delivered-To: [email protected] Received: (qmail 28568 invoked by uid 97); 3 Jun 2002 11:27:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 28556 invoked by uid 98); 3 Jun 2002 11:27:44 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <[email protected]> Date: Mon, 03 Jun 2002 16:27:05 +0200 From: Markus Dahm <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010628 X-Accept-Language: en-us MIME-Version: 1.0 To: [email protected] Subject: New Reflection/Beans API Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, recently there has been some discussion about how to design/implement an Reflection and Bean API using BCEL. Since I think it would be a very good idea to have such a thing in BCEL, I'd like to start a discussion here about the requirements and implementation issues. This is not a real proposal, just a collection of thoughts and ideas where I took some from a previous posting by Stephen Colebourne. Reflection: ----------- How it should work is obvious (!?), we add some code to the class that is to used be used reflectively. We could do this statically, i.e., in some kind of compiler, or using a class loader, which may be a little less performant, but is of course much more flexible. The benefits of such an API would be a) increased performance of reflection (measurements?) b) additional features possible, e.g., we could have a class loader that allows to run a chain of class modifiers, where adding reflexive behaviour would be just one. I.e., such class modifiers would have a method public JavaClass modifyClass(JavaClass clazz) { ... } c) base for a Beans API The question is how to tell which classes need to be augmented. This has to be know statically since we only have one chance to augment the class, namely when it is loaded/created. The simpliest approach would be to require the class to implement a marker interface, say public interface Reflective {} The other possibility would be to tell the class loader, before the class gets loaded, e.g., via some regular expression: cl.addReflectiveClass("com.foo.beans.*Impl"); One could also restrict access to certain methods and fields. -------------------------------------------------------------------------------- Given that we want to modify class A public class A implements Reflective { private String str; private int x; int foo() { } int foo(int x) { } } We would then like to use reflection like this: A a = new A(); JavaClass clazz = Repository.lookupClass("A"); Field[] fields = clazz.getFields(); Method[] methods = clazz.getMethods(); fields[0].setValue(a, "Hello world"); Object result = methods[i].invoke(a, new Object[] { new Integer(4711); }); Of course setValue/invoke would throw an exception if the passed object does not support our kind of reflection. public void setValue(Object target, Object value) throws SomeException { if(target instanceof BCELReflective) { ((BCELReflective)target).BCELsetValue(target, field_name, value); } else if(target == null) { // Access to static field ?????????????? } } However, we have our first problem here: How does this work for static fields and methods? As you probably already noticed the class loader or whatever would let A implement another interface and implement its methods: public interface BCELReflective { public void BCELsetValue(String name, Object value); public Object BCELgetValue(String name); public Object BCELinvoke(String name, Object[] args); } These methods would wrap/unwrap the arguments and call the corresponding methods or set/get the right field. Problems so far: --------------- * As we all know methods may be overloaded thus just using the name is not really sufficient here, instead we could use the method index or some generated identifier. Using the index would allow us to use a fast switch() statement. * Fields and methods currently do not know their index nor the JavaClass object they belong to. We could pass them in the setValue/invoke argument list. * How do we implement reflection for static fields and methods? Beans (Really just a scratch file of ideas): ------------------------------------------- I'm not an expert on Java Beans, but probably many of you are... What we could have is an extension of ClassGen, say BeanGen that has additional methods and an extended InstructionFactory. I know there is a class somewhere the Java Bean API such as "BeanAdapter" which already implements the default behaviour and can be used as a delegatee. I.e., we can use this class in our API. What we obviously need is a declarative way to tell which features we want for our bean. Having an interface with empty methods is a very simple approach, but I think we need something more powerful. One problem is for example that property names need not to be equivalent to field names. Getters and setters may have additional checking code that relies on other fields. Possible features: ------------------ * Property objects (i.e. bound to a particular object field) * Read-only properties * Automagically generated setters, getters, event methods, etc. * Generate BeanInfo's for Introspection * Generate Beans for alternate sources (XML, DB tables) * Collection handling * See below :) Cheers Markus P.S. The developer list is being archived now. ------------------------------------------------------------------------------- The original positing from Stephen Colebourne Scope: Reflection - Class, Method, Field, ... Bean - Introspector, javabeans Need: - Performance on java1.3 and earlier - J2ME - Current reliance on javabean spec version 1 that was designed to replace ActiveX, not be a domain model. - Boring coding of javabean gets/sets (I know tools can help, but I still see bugs in gets and sets) - Auto generated event methods (bound/constrained properties) - Desire for dynamicly created javabeans/ properties (from databases, xml etc.) - Desire to pass around an object representing a property - Desire to change the bean Introspector's lookup mechanism, such as to allow private get/set methods to be treated as properties - Desire to handle collections properly (they aren't handled at all by beans Introspector at the moment - Desire to dynamically make a property read only once setup (like const in C) Bean types: - Coder writes interface with coded get and set methods, BCEL generates implementation on the fly - Coder writes abstract class with coded get and set methods, BCEL generates implementation on the fly - Coder writes real class with coded get and set methods, BCEL modifies parts on the fly - A general purpose bean, to be used where all the data is dynamic, similar to a HashMap - A mixture object, where some fields have coded get and set methods, others are dynamically created as the application requires OK, so if you haven't guessed, I'm more interested in Beans than Reflection on its own (Reflection is fine and useful, but its very low level). Most of these ideas come from the Joda project, but I think they represent a good idea of what people are using beans for now. Stephen -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Mon Jun 03 13:02:41 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95032 invoked from network); 3 Jun 2002 13:02:41 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 3 Jun 2002 13:02:41 -0000 Received: (qmail 12044 invoked by uid 97); 3 Jun 2002 13:02:42 -0000 Delivered-To: [email protected] Received: (qmail 12006 invoked by uid 97); 3 Jun 2002 13:02:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 11994 invoked by uid 98); 3 Jun 2002 13:02:41 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-Id: <161.129.204.104.0.20020603150332.00b41960@localhost> X-Sender: baliuka/taurus.mediaworks.lt@localhost X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Mon, 03 Jun 2002 15:04:46 +0200 To: "BCEL Developers List" <[email protected]>, [email protected] From: Juozas Baliuka <[email protected]> Subject: Re: New Reflection/Beans API In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Some ideas can be stolen from this project : http://www.cs.ncl.ac.uk/research/dependability/reflection/ At 16:27 2002.06.03 +0200, Markus Dahm wrote: >Hi, > >recently there has been some discussion about how to design/implement >an Reflection and Bean API using BCEL. Since I think it would be a >very good idea to have such a thing in BCEL, I'd like to start a >discussion here about the requirements and implementation issues. > >This is not a real proposal, just a collection of thoughts and ideas >where I took some from a previous posting by Stephen Colebourne. > >Reflection: >----------- > >How it should work is obvious (!?), we add some code to the class that >is to used be used reflectively. We could do this statically, i.e., in >some kind of compiler, or using a class loader, which may be a little >less performant, but is of course much more flexible. > >The benefits of such an API would be > >a) increased performance of reflection (measurements?) > >b) additional features possible, e.g., we could have a class loader >that allows to run a chain of class modifiers, where adding reflexive >behaviour would be just one. I.e., such class modifiers would have a >method > > public JavaClass modifyClass(JavaClass clazz) { ... } > >c) base for a Beans API > >The question is how to tell which classes need to be augmented. This >has to be know statically since we only have one chance to augment the >class, namely when it is loaded/created. The simpliest approach would >be to require the class to implement a marker interface, say > > public interface Reflective {} > >The other possibility would be to tell the class loader, before the >class gets loaded, e.g., via some regular expression: > >cl.addReflectiveClass("com.foo.beans.*Impl"); > >One could also restrict access to certain methods and fields. > >-------------------------------------------------------------------------------- > >Given that we want to modify class A > >public class A implements Reflective { > private String str; > private int x; > > int foo() { } > int foo(int x) { } >} > >We would then like to use reflection like this: > > A a = new A(); > JavaClass clazz = Repository.lookupClass("A"); > Field[] fields = clazz.getFields(); > Method[] methods = clazz.getMethods(); > > fields[0].setValue(a, "Hello world"); > Object result = methods[i].invoke(a, new Object[] { new Integer(4711); }); > >Of course setValue/invoke would throw an exception if the passed >object does not support our kind of reflection. > > public void setValue(Object target, Object value) throws SomeException { > if(target instanceof BCELReflective) { > ((BCELReflective)target).BCELsetValue(target, field_name, value); > } else if(target == null) { // Access to static field > ?????????????? > } > } > >However, we have our first problem here: How does this work for static >fields and methods? > > >As you probably already noticed the class loader or whatever would let A >implement another interface and implement its methods: > >public interface BCELReflective { > public void BCELsetValue(String name, Object value); > public Object BCELgetValue(String name); > public Object BCELinvoke(String name, Object[] args); >} > >These methods would wrap/unwrap the arguments and call the >corresponding methods or set/get the right field. > > >Problems so far: >--------------- > >* As we all know methods may be overloaded thus just using the name is > not really sufficient here, instead we could use the method index or > some generated identifier. Using the index would allow us to use a > fast switch() statement. > >* Fields and methods currently do not know their index nor the > JavaClass object they belong to. We could pass them in the > setValue/invoke argument list. > >* How do we implement reflection for static fields and methods? > > > >Beans (Really just a scratch file of ideas): >------------------------------------------- > >I'm not an expert on Java Beans, but probably many of you are... > >What we could have is an extension of ClassGen, say BeanGen that has >additional methods and an extended InstructionFactory. I know there >is a class somewhere the Java Bean API such as "BeanAdapter" which >already implements the default behaviour and can be used as a >delegatee. I.e., we can use this class in our API. > >What we obviously need is a declarative way to tell which features >we want for our bean. Having an interface with empty methods is a >very simple approach, but I think we need something more powerful. >One problem is for example that property names need not to be >equivalent to field names. Getters and setters may have additional >checking code that relies on other fields. > >Possible features: >------------------ >* Property objects (i.e. bound to a particular object field) >* Read-only properties >* Automagically generated setters, getters, event methods, etc. >* Generate BeanInfo's for Introspection >* Generate Beans for alternate sources (XML, DB tables) >* Collection handling >* See below :) > >Cheers > Markus > >P.S. The developer list is being archived now. > >------------------------------------------------------------------------------- >The original positing from Stephen Colebourne > > >Scope: >Reflection - Class, Method, Field, ... >Bean - Introspector, javabeans > >Need: >- Performance on java1.3 and earlier >- J2ME >- Current reliance on javabean spec version 1 that was designed to replace >ActiveX, not be a domain model. >- Boring coding of javabean gets/sets (I know tools can help, but I still >see bugs in gets and sets) >- Auto generated event methods (bound/constrained properties) >- Desire for dynamicly created javabeans/ properties (from databases, xml >etc.) >- Desire to pass around an object representing a property >- Desire to change the bean Introspector's lookup mechanism, such as to >allow private get/set methods to be treated as properties >- Desire to handle collections properly (they aren't handled at all by beans >Introspector at the moment >- Desire to dynamically make a property read only once setup (like const in >C) > >Bean types: >- Coder writes interface with coded get and set methods, BCEL generates >implementation on the fly >- Coder writes abstract class with coded get and set methods, BCEL generates >implementation on the fly >- Coder writes real class with coded get and set methods, BCEL modifies >parts on the fly >- A general purpose bean, to be used where all the data is dynamic, similar >to a HashMap >- A mixture object, where some fields have coded get and set methods, others >are dynamically created as the application requires > > >OK, so if you haven't guessed, I'm more interested in Beans than Reflection >on its own (Reflection is fine and useful, but its very low level). Most of >these ideas come from the Joda project, but I think they represent a good >idea of what people are using beans for now. > >Stephen > > >-- >To unsubscribe, e-mail: <mailto:[email protected]> >For additional commands, e-mail: <mailto:[email protected]> -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Mon Jun 03 14:55:36 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82759 invoked from network); 3 Jun 2002 14:55:35 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 3 Jun 2002 14:55:35 -0000 Received: (qmail 20608 invoked by uid 97); 3 Jun 2002 14:55:37 -0000 Delivered-To: [email protected] Received: (qmail 20560 invoked by uid 97); 3 Jun 2002 14:55:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 20547 invoked by uid 98); 3 Jun 2002 14:55:35 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <002601c20b0f$06f91f80$e54d18d4@oemcomputer> From: "Stephen Colebourne" <[email protected]> To: "BCEL Developers List" <[email protected]> References: <[email protected]> Subject: Re: New Reflection/Beans API Date: Mon, 3 Jun 2002 15:57:46 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express (865)775-7517 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, Well, you'll never guess what I've been working on today... My interest in this comes from the Joda project (www.joda.org). There I am developing code which aims to build upon the current JavaBean spec and to provide more functionality. Already working are Java (non-BCEL) versions of an API. However, there are places where it is slow, and it is memory hungry. This is where I have started to use BCEL (I've only started today, so I haven't got too far yet). The API includes a Bean interface which is to be implemented by all beans. This provides access to each property of the bean: interface Bean { Map getPropertyMap(); Property getProperty(String propertyName); Class getBeanType(); Object cloneDeep(); } interface Property { void set(Object object); Object toObject(); boolean isReadOnly(); boolean isModifiable(); void setReadOnly(); void setModifiable(boolean); String getPropertyName(); Class getPropertyType(); String getContentName(); Class getContentType(); boolean equalsValue(Object object) void addPropertyChangeListener(PropertyChangeListener) void removePropertyChangeListener(PropertyChangeListener) void firePropertyChange(Object from, Object to) } > Possible features: > ------------------ > * Property objects (i.e. bound to a particular object field) > * Read-only properties > * Automagically generated setters, getters, event methods, etc. > * Generate BeanInfo's for Introspection > * Generate Beans for alternate sources (XML, DB tables) > * Collection handling I agree with most of these. BeanInfo is more trouble than its worth. XML/DB can build upon the architecture rather than needing to be BCELed in at a low level. I would also add * Allow properties to be added by applications on demand * Generate from an interface, abstract class or real class For interfaces and abstract methods, things are easy - just generate code according to some default setup. But a factory is required to actually create the objects - and people hate factories (and beans really should have a no-args public constructor) Thus a normal class would need to be modified on load. My thought was that any options could be set as API calls with the method being replaced. public void setSurname(String surname) { // some application logic BeanGen.createSet(flags); // some application logic } Well, thats what I'm looking at anyway ;-) Reflection ---------- I'm more interested in the Beans side, but... For statics, isn't it a case of passing null in where the object ref would go? That's what Java reflction does. Stephen ----- Original Message ----- From: Markus Dahm <[email protected]> To: <[email protected]> Sent: Monday, June 03, 2002 3:27 PM Subject: New Reflection/Beans API > Hi, > > recently there has been some discussion about how to design/implement > an Reflection and Bean API using BCEL. Since I think it would be a > very good idea to have such a thing in BCEL, I'd like to start a > discussion here about the requirements and implementation issues. > > This is not a real proposal, just a collection of thoughts and ideas > where I took some from a previous posting by Stephen Colebourne. > > Reflection: > ----------- > > How it should work is obvious (!?), we add some code to the class that > is to used be used reflectively. We could do this statically, i.e., in > some kind of compiler, or using a class loader, which may be a little > less performant, but is of course much more flexible. > > The benefits of such an API would be > > a) increased performance of reflection (measurements?) > > b) additional features possible, e.g., we could have a class loader > that allows to run a chain of class modifiers, where adding reflexive > behaviour would be just one. I.e., such class modifiers would have a > method > > public JavaClass modifyClass(JavaClass clazz) { ... } > > c) base for a Beans API > > The question is how to tell which classes need to be augmented. This > has to be know statically since we only have one chance to augment the > class, namely when it is loaded/created. The simpliest approach would > be to require the class to implement a marker interface, say > > public interface Reflective {} > > The other possibility would be to tell the class loader, before the > class gets loaded, e.g., via some regular expression: > > cl.addReflectiveClass("com.foo.beans.*Impl"); > > One could also restrict access to certain methods and fields. > > -------------------------------------------------------------------------- ------ > > Given that we want to modify class A > > public class A implements Reflective { > private String str; > private int x; > > int foo() { } > int foo(int x) { } > } > > We would then like to use reflection like this: > > A a = new A(); > JavaClass clazz = Repository.lookupClass("A"); > Field[] fields = clazz.getFields(); > Method[] methods = clazz.getMethods(); > > fields[0].setValue(a, "Hello world"); > Object result = methods[i].invoke(a, new Object[] { new > Integer(4711); }); > > Of course setValue/invoke would throw an exception if the passed > object does not support our kind of reflection. > > public void setValue(Object target, Object value) throws SomeException { > if(target instanceof BCELReflective) { > ((BCELReflective)target).BCELsetValue(target, field_name, value); > } else if(target == null) { // Access to static field > ?????????????? > } > } > > However, we have our first problem here: How does this work for static > fields and methods? > > > As you probably already noticed the class loader or whatever would let A > implement another interface and implement its methods: > > public interface BCELReflective { > public void BCELsetValue(String name, Object value); > public Object BCELgetValue(String name); > public Object BCELinvoke(String name, Object[] args); > } > > These methods would wrap/unwrap the arguments and call the > corresponding methods or set/get the right field. > > > Problems so far: > --------------- > > * As we all know methods may be overloaded thus just using the name is > not really sufficient here, instead we could use the method index or > some generated identifier. Using the index would allow us to use a > fast switch() statement. > > * Fields and methods currently do not know their index nor the > JavaClass object they belong to. We could pass them in the > setValue/invoke argument list. > > * How do we implement reflection for static fields and methods? > > > > Beans (Really just a scratch file of ideas): > ------------------------------------------- > > I'm not an expert on Java Beans, but probably many of you are... > > What we could have is an extension of ClassGen, say BeanGen that has > additional methods and an extended InstructionFactory. I know there > is a class somewhere the Java Bean API such as "BeanAdapter" which > already implements the default behaviour and can be used as a > delegatee. I.e., we can use this class in our API. > > What we obviously need is a declarative way to tell which features > we want for our bean. Having an interface with empty methods is a > very simple approach, but I think we need something more powerful. > One problem is for example that property names need not to be > equivalent to field names. Getters and setters may have additional > checking code that relies on other fields. > > Possible features: > ------------------ > * Property objects (i.e. bound to a particular object field) > * Read-only properties > * Automagically generated setters, getters, event methods, etc. > * Generate BeanInfo's for Introspection > * Generate Beans for alternate sources (XML, DB tables) > * Collection handling > * See below :) > > Cheers > Markus > > P.S. The developer list is being archived now. > > -------------------------------------------------------------------------- ----- > The original positing from Stephen Colebourne > > > Scope: > Reflection - Class, Method, Field, ... > Bean - Introspector, javabeans > > Need: > - Performance on java1.3 and earlier > - J2ME > - Current reliance on javabean spec version 1 that was designed to replace > ActiveX, not be a domain model. > - Boring coding of javabean gets/sets (I know tools can help, but I still > see bugs in gets and sets) > - Auto generated event methods (bound/constrained properties) > - Desire for dynamicly created javabeans/ properties (from databases, xml > etc.) > - Desire to pass around an object representing a property > - Desire to change the bean Introspector's lookup mechanism, such as to > allow private get/set methods to be treated as properties > - Desire to handle collections properly (they aren't handled at all by beans > Introspector at the moment > - Desire to dynamically make a property read only once setup (like const in > C) > > Bean types: > - Coder writes interface with coded get and set methods, BCEL generates > implementation on the fly > - Coder writes abstract class with coded get and set methods, BCEL generates > implementation on the fly > - Coder writes real class with coded get and set methods, BCEL modifies > parts on the fly > - A general purpose bean, to be used where all the data is dynamic, similar > to a HashMap > - A mixture object, where some fields have coded get and set methods, others > are dynamically created as the application requires > > > OK, so if you haven't guessed, I'm more interested in Beans than Reflection > on its own (Reflection is fine and useful, but its very low level). Most of > these ideas come from the Joda project, but I think they represent a good > idea of what people are using beans for now. > > Stephen > > > -- > To unsubscribe, e-mail: <mailto:[email protected]> > For additional commands, e-mail: <mailto:[email protected]> > > -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Mon Jun 03 15:54:09 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 27700 invoked from network); 3 Jun 2002 15:54:09 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 3 Jun 2002 15:54:09 -0000 Received: (qmail 1000 invoked by uid 97); 3 Jun 2002 15:54:11 -0000 Delivered-To: [email protected] Received: (qmail 881 invoked by uid 97); 3 Jun 2002 15:54:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 838 invoked by uid 98); 3 Jun 2002 15:54:10 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-Id: <161.129.204.104.0.20020603173009.01fbd8f8@localhost> X-Sender: baliuka/taurus.mediaworks.lt@localhost X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Mon, 03 Jun 2002 17:56:17 +0200 To: "BCEL Developers List" <[email protected]> From: Juozas Baliuka <[email protected]> Subject: Re: New Reflection/Beans API In-Reply-To: <002601c20b0f$06f91f80$e54d18d4@oemcomputer> References: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, It must be trivial to introduce "Bean" interface and as I understand you don't need to generate "Property" interface, it can be implemented usual way. I can implement this stuff, if you need my help. At 15:57 2002.06.03 +0100, you wrote: >Hi, >Well, you'll never guess what I've been working on today... > >My interest in this comes from the Joda project (www.joda.org). There I am >developing code which aims to build upon the current JavaBean spec and to >provide more functionality. Already working are Java (non-BCEL) versions of >an API. However, there are places where it is slow, and it is memory hungry. >This is where I have started to use BCEL (I've only started today, so I >haven't got too far yet). > >The API includes a Bean interface which is to be implemented by all beans. >This provides access to each property of the bean: >interface Bean { > Map getPropertyMap(); > Property getProperty(String propertyName); > Class getBeanType(); > Object cloneDeep(); >} >interface Property { > void set(Object object); > Object toObject(); > boolean isReadOnly(); > boolean isModifiable(); > void setReadOnly(); > void setModifiable(boolean); > String getPropertyName(); > Class getPropertyType(); > String getContentName(); > Class getContentType(); > boolean equalsValue(Object object) > void addPropertyChangeListener(PropertyChangeListener) > void removePropertyChangeListener(PropertyChangeListener) > void firePropertyChange(Object from, Object to) >} > > > Possible features: > > ------------------ > > * Property objects (i.e. bound to a particular object field) > > * Read-only properties > > * Automagically generated setters, getters, event methods, etc. > > * Generate BeanInfo's for Introspection > > * Generate Beans for alternate sources (XML, DB tables) > > * Collection handling > >I agree with most of these. BeanInfo is more trouble than its worth. XML/DB >can build upon the architecture rather than needing to be BCELed in at a low >level. I would also add >* Allow properties to be added by applications on demand >* Generate from an interface, abstract class or real class > >For interfaces and abstract methods, things are easy - just generate code >according to some default setup. But a factory is required to actually >create the objects - and people hate factories (and beans really should have >a no-args public constructor) I hate a no-args public constructor in mutable classes :). The main problem will be to implement Serialization for classes generated at runtime. >Thus a normal class would need to be modified on load. My thought was that >any options could be set as API calls with the method being replaced. >public void setSurname(String surname) { > // some application logic > BeanGen.createSet(flags); > // some application logic >} > >Well, thats what I'm looking at anyway ;-) > It is no meaning to implement Reflection, if it doe's the same as java.lang.reflect.*, It has some meaning for jdk1.3 (performance), but this code will depend on jdk1.3 version support time. I tested performance on jdk1.4 and it is the same for generated classes and JAVA reflection, you can find some trivial experiment on this list. >Reflection >---------- >I'm more interested in the Beans side, but... > >For statics, isn't it a case of passing null in where the object ref would >go? That's what Java reflction does. > >Stephen > >----- Original Message ----- >From: Markus Dahm <[email protected]> >To: <[email protected]> >Sent: Monday, June 03, 2002 3:27 PM >Subject: New Reflection/Beans API > > > > Hi, > > > > recently there has been some discussion about how to design/implement > > an Reflection and Bean API using BCEL. Since I think it would be a > > very good idea to have such a thing in BCEL, I'd like to start a > > discussion here about the requirements and implementation issues. > > > > This is not a real proposal, just a collection of thoughts and ideas > > where I took some from a previous posting by Stephen Colebourne. > > > > Reflection: > > ----------- > > > > How it should work is obvious (!?), we add some code to the class that > > is to used be used reflectively. We could do this statically, i.e., in > > some kind of compiler, or using a class loader, which may be a little > > less performant, but is of course much more flexible. > > > > The benefits of such an API would be > > > > a) increased performance of reflection (measurements?) > > > > b) additional features possible, e.g., we could have a class loader > > that allows to run a chain of class modifiers, where adding reflexive > > behaviour would be just one. I.e., such class modifiers would have a > > method > > > > public JavaClass modifyClass(JavaClass clazz) { ... } > > > > c) base for a Beans API > > > > The question is how to tell which classes need to be augmented. This > > has to be know statically since we only have one chance to augment the > > class, namely when it is loaded/created. The simpliest approach would > > be to require the class to implement a marker interface, say > > > > public interface Reflective {} > > > > The other possibility would be to tell the class loader, before the > > class gets loaded, e.g., via some regular expression: > > > > cl.addReflectiveClass("com.foo.beans.*Impl"); > > > > One could also restrict access to certain methods and fields. > > > > -------------------------------------------------------------------------- >------ > > > > Given that we want to modify class A > > > > public class A implements Reflective { > > private String str; > > private int x; > > > > int foo() { } > > int foo(int x) { } > > } > > > > We would then like to use reflection like this: > > > > A a = new A(); > > JavaClass clazz = Repository.lookupClass("A"); > > Field[] fields = clazz.getFields(); > > Method[] methods = clazz.getMethods(); > > > > fields[0].setValue(a, "Hello world"); > > Object result = methods[i].invoke(a, new Object[] { new > > Integer(4711); }); > > > > Of course setValue/invoke would throw an exception if the passed > > object does not support our kind of reflection. > > > > public void setValue(Object target, Object value) throws SomeException >{ > > if(target instanceof BCELReflective) { > > ((BCELReflective)target).BCELsetValue(target, field_name, value); > > } else if(target == null) { // Access to static field > > ?????????????? > > } > > } > > > > However, we have our first problem here: How does this work for static > > fields and methods? > > > > > > As you probably already noticed the class loader or whatever would let A > > implement another interface and implement its methods: > > > > public interface BCELReflective { > > public void BCELsetValue(String name, Object value); > > public Object BCELgetValue(String name); > > public Object BCELinvoke(String name, Object[] args); > > } > > > > These methods would wrap/unwrap the arguments and call the > > corresponding methods or set/get the right field. > > > > > > Problems so far: > > --------------- > > > > * As we all know methods may be overloaded thus just using the name is > > not really sufficient here, instead we could use the method index or > > some generated identifier. Using the index would allow us to use a > > fast switch() statement. > > > > * Fields and methods currently do not know their index nor the > > JavaClass object they belong to. We could pass them in the > > setValue/invoke argument list. > > > > * How do we implement reflection for static fields and methods? > > > > > > > > Beans (Really just a scratch file of ideas): > > ------------------------------------------- > > > > I'm not an expert on Java Beans, but probably many of you are... > > > > What we could have is an extension of ClassGen, say BeanGen that has > > additional methods and an extended InstructionFactory. I know there > > is a class somewhere the Java Bean API such as "BeanAdapter" which > > already implements the default behaviour and can be used as a > > delegatee. I.e., we can use this class in our API. > > > > What we obviously need is a declarative way to tell which features > > we want for our bean. Having an interface with empty methods is a > > very simple approach, but I think we need something more powerful. > > One problem is for example that property names need not to be > > equivalent to field names. Getters and setters may have additional > > checking code that relies on other fields. > > > > Possible features: > > ------------------ > > * Property objects (i.e. bound to a particular object field) > > * Read-only properties > > * Automagically generated setters, getters, event methods, etc. > > * Generate BeanInfo's for Introspection > > * Generate Beans for alternate sources (XML, DB tables) > > * Collection handling > > * See below :) > > > > Cheers > > Markus > > > > P.S. The developer list is being archived now. > > > > -------------------------------------------------------------------------- >----- > > The original positing from Stephen Colebourne > > > > > > Scope: > > Reflection - Class, Method, Field, ... > > Bean - Introspector, javabeans > > > > Need: > > - Performance on java1.3 and earlier > > - J2ME > > - Current reliance on javabean spec version 1 that was designed to replace > > ActiveX, not be a domain model. > > - Boring coding of javabean gets/sets (I know tools can help, but I still > > see bugs in gets and sets) > > - Auto generated event methods (bound/constrained properties) > > - Desire for dynamicly created javabeans/ properties (from databases, xml > > etc.) > > - Desire to pass around an object representing a property > > - Desire to change the bean Introspector's lookup mechanism, such as to > > allow private get/set methods to be treated as properties > > - Desire to handle collections properly (they aren't handled at all by >beans > > Introspector at the moment > > - Desire to dynamically make a property read only once setup (like const >in > > C) > > > > Bean types: > > - Coder writes interface with coded get and set methods, BCEL generates > > implementation on the fly > > - Coder writes abstract class with coded get and set methods, BCEL >generates > > implementation on the fly > > - Coder writes real class with coded get and set methods, BCEL modifies > > parts on the fly > > - A general purpose bean, to be used where all the data is dynamic, >similar > > to a HashMap > > - A mixture object, where some fields have coded get and set methods, >others > > are dynamically created as the application requires > > > > > > OK, so if you haven't guessed, I'm more interested in Beans than >Reflection > > on its own (Reflection is fine and useful, but its very low level). Most >of > > these ideas come from the Joda project, but I think they represent a good > > idea of what people are using beans for now. > > > > Stephen > > > > > > -- > > To unsubscribe, e-mail: <mailto:[email protected]> > > For additional commands, e-mail: <mailto:[email protected]> > > > > > > >-- >To unsubscribe, e-mail: <mailto:[email protected]> >For additional commands, e-mail: <mailto:[email protected]> -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Mon Jun 03 15:56:32 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31544 invoked from network); 3 Jun 2002 15:56:31 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 3 Jun 2002 15:56:31 -0000 Received: (qmail 8501 invoked by uid 97); 3 Jun 2002 15:56:21 -0000 Delivered-To: [email protected] Received: (qmail 8390 invoked by uid 97); 3 Jun 2002 15:56:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 8329 invoked by uid 98); 3 Jun 2002 15:56:20 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Subject: BCEL and Maven From: Jason van Zyl <[email protected]> To: BCEL Developers List <[email protected]> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2 Date: 03 Jun 2002 11:56:14 -0400 Message-Id: <[email protected]> Mime-Version: 1.0 X-Authentication-Info: Submitted using SMTP AUTH [email protected] from [161.129.204.104] using ID <[email protected]> at Mon, 3 Jun 2002 11:56:14 -0400 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, As no one has said a beep I will take that to mean that no one is opposed to using Maven. I'm going to update the docs and regenerate the site using Maven. The release has been made and it's stable: http://jakarta.apache.org/turbine/maven/ -- jvz. Jason van Zyl [email protected] http://tambora.zenplex.org -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Mon Jun 03 16:13:45 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52275 invoked from network); 3 Jun 2002 16:13:44 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 3 Jun 2002 16:13:44 -0000 Received: (qmail 7140 invoked by uid 97); 3 Jun 2002 16:13:47 -0000 Delivered-To: [email protected] Received: (qmail 7103 invoked by uid 97); 3 Jun 2002 16:13:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 7086 invoked by uid 98); 3 Jun 2002 16:13:46 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <[email protected]> Date: Mon, 03 Jun 2002 21:13:06 +0200 From: Markus Dahm <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010628 X-Accept-Language: en-us MIME-Version: 1.0 To: BCEL Developers List <[email protected]> Subject: Re: New Reflection/Beans API References: <[email protected]> <002601c20b0f$06f91f80$e54d18d4@oemcomputer> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Stephen Colebourne wrote: > Hi, > Well, you'll never guess what I've been working on today... > > My interest in this comes from the Joda project (www.joda.org). There I am > developing code which aims to build upon the current JavaBean spec and to > provide more functionality. Already working are Java (non-BCEL) versions of > an API. However, there are places where it is slow, and it is memory hungry. > This is where I have started to use BCEL (I've only started today, so I > haven't got too far yet). > > The API includes a Bean interface which is to be implemented by all beans. > This provides access to each property of the bean: > interface Bean { > Map getPropertyMap(); > Property getProperty(String propertyName); > Class getBeanType(); > Object cloneDeep(); > } > interface Property { > void set(Object object); > Object toObject(); > boolean isReadOnly(); > boolean isModifiable(); > void setReadOnly(); > void setModifiable(boolean); > String getPropertyName(); > Class getPropertyType(); > String getContentName(); > Class getContentType(); > boolean equalsValue(Object object) > void addPropertyChangeListener(PropertyChangeListener) > void removePropertyChangeListener(PropertyChangeListener) > void firePropertyChange(Object from, Object to) > } > > >>Possible features: >>------------------ >>* Property objects (i.e. bound to a particular object field) >>* Read-only properties >>* Automagically generated setters, getters, event methods, etc. >>* Generate BeanInfo's for Introspection >>* Generate Beans for alternate sources (XML, DB tables) >>* Collection handling >> > > I agree with most of these. BeanInfo is more trouble than its worth. XML/DB > can build upon the architecture rather than needing to be BCELed in at a low > level. I would also add > * Allow properties to be added by applications on demand > * Generate from an interface, abstract class or real class > > For interfaces and abstract methods, things are easy - just generate code > according to some default setup. But a factory is required to actually > create the objects - and people hate factories (and beans really should have > a no-args public constructor) > > Thus a normal class would need to be modified on load. My thought was that > any options could be set as API calls with the method being replaced. > public void setSurname(String surname) { > // some application logic > BeanGen.createSet(flags); > // some application logic > } > > Well, thats what I'm looking at anyway ;-) > > > Reflection > ---------- > I'm more interested in the Beans side, but... > > For statics, isn't it a case of passing null in where the object ref would > go? That's what Java reflction does. Yes, but how do you call a method without having an object you can cast to something. I.e., you need some kind of dispatcher, but where does it come from? Cheers Markus -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Mon Jun 03 17:25:34 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5969 invoked from network); 3 Jun 2002 17:25:34 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 3 Jun 2002 17:25:34 -0000 Received: (qmail 25242 invoked by uid 97); 3 Jun 2002 17:25:36 -0000 Delivered-To: [email protected] Received: (qmail 25207 invoked by uid 97); 3 Jun 2002 17:25:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 25195 invoked by uid 98); 3 Jun 2002 17:25:35 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Subject: Re: 5.0 release To: BCEL Developers List <[email protected]> X-Mailer: Lotus Notes Release 5.0.3 (Intl) 21 March 2000 Message-ID: <[email protected]> From: [email protected] Date: Mon, 3 Jun 2002 11:23:51 -0600 X-MIMETrack: Serialize by Router on DCDALM02/DFSI(Release 5.0.6a |January 17, 2001) at 06/03/2002 12:23:52 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Jason wrote: > I don't think anyone noticed when I cut it but the 5.0 release > has been sitting in the builds/ directory for a couple months > > now. I think the confusion about the 5.0 release is that it does not appear on Jakarta's release builds page (http://jakarta.apache.org/site/binindex.html). Would you mind putting it there? -Phil -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Mon Jun 03 17:36:34 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13093 invoked from network); 3 Jun 2002 17:36:34 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 3 Jun 2002 17:36:34 -0000 Received: (qmail 10062 invoked by uid 97); 3 Jun 2002 17:36:37 -0000 Delivered-To: [email protected] Received: (qmail 10045 invoked by uid 97); 3 Jun 2002 17:36:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 10018 invoked by uid 98); 3 Jun 2002 17:36:35 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Subject: Re: New Reflection/Beans API To: "BCEL Developers List" <[email protected]> X-Mailer: Lotus Notes Release 5.0.3 (Intl) 21 March 2000 Message-ID: <[email protected]> From: [email protected] Date: Mon, 3 Jun 2002 11:35:14 -0600 X-MIMETrack: Serialize by Router on DCDALM02/DFSI(Release 5.0.6a |January 17, 2001) at 06/03/2002 12:35:16 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I don't see what you are talking about. You know what class you are calling the static method on, it's just a matter of casting the return value of the method. Where does the dispatcher come in? -Phil Markus Dahm <markus.dahm@ To: BCEL Developers List berlin.de> <[email protected]> cc: 06/03/2002 Subject: Re: New Reflection/Beans API 01:13 PM Please respond to "BCEL Developers List" > Reflection > ---------- > I'm more interested in the Beans side, but... > > For statics, isn't it a case of passing null in where the object ref would > go? That's what Java reflction does. Yes, but how do you call a method without having an object you can cast to something. I.e., you need some kind of dispatcher, but where does it come from? Cheers Markus -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Mon Jun 03 17:52:49 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21958 invoked from network); 3 Jun 2002 17:52:49 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 3 Jun 2002 17:52:49 -0000 Received: (qmail 2075 invoked by uid 97); 3 Jun 2002 17:52:26 -0000 Delivered-To: [email protected] Received: (qmail 1761 invoked by uid 97); 3 Jun 2002 17:52:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 1686 invoked by uid 98); 3 Jun 2002 17:52:23 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <[email protected]> Date: Mon, 03 Jun 2002 22:51:42 +0200 From: Markus Dahm <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010628 X-Accept-Language: en-us MIME-Version: 1.0 To: BCEL Developers List <[email protected]> Subject: Re: New Reflection/Beans API References: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N [email protected] wrote: > I don't see what you are talking about. You know what class you are > calling the static method on, it's just a matter of casting the return > value of the method. Where does the dispatcher come in? Ok, you have added a static method foo() to the "to be reflected class" A, what you would write in plain source code then is A.foo() And that's the crucial point, because we're not on source code level here, i.e., there's no place where this code is present. The method exists, but you can not call it (without using "normal" reflection). With instance methods it works, because have have an instance, i.e., an object which can cast to something appropriate. as shown in the example. With static methods you don't have an instance, thus no cast possible. You need to generate an additional object on the fly that calls that method, and that's what I'm talking about. Cheers Markus -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Mon Jun 03 18:02:53 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28547 invoked from network); 3 Jun 2002 18:02:53 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 3 Jun 2002 18:02:53 -0000 Received: (qmail 20286 invoked by uid 97); 3 Jun 2002 18:02:56 -0000 Delivered-To: [email protected] Received: (qmail 20270 invoked by uid 97); 3 Jun 2002 18:02:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 20258 invoked by uid 98); 3 Jun 2002 18:02:55 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) X-Qmail-Scanner-Mail-From: [email protected] via jim.skynet.vl X-Qmail-Scanner: 1.03 (Clean. Processed in 1.328494 secs) Message-ID: <005c01c20b28$e0814200$0111010a@user> From: "Juozas Baliuka" <[email protected]> To: "BCEL Developers List" <[email protected]> References: <[email protected]> <[email protected]> Subject: Re: New Reflection/Beans API Date: Mon, 3 Jun 2002 20:02:51 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N It is no problem to invoke static method : publi class MyClass{ public static void foo(){ } } public class GeneratedReflectForMyClass{ public Object invoke(Object instance/*can be null for static method*/, int index, Object args[] ){ .............. case FOO_INDEX : MyClass.foo(); return null; .................. } } > [email protected] wrote: > > > I don't see what you are talking about. You know what class you are > > calling the static method on, it's just a matter of casting the return > > value of the method. Where does the dispatcher come in? > > Ok, > > > you have added a static method foo() to the "to be reflected class" A, > what you would write in plain source code then is > > A.foo() > > And that's the crucial point, because we're not on source code level > here, i.e., there's no place where this code is present. The method > exists, but you can not call it (without using "normal" reflection). > With instance methods it works, because have have an instance, i.e., > an object which can cast to something appropriate. as shown in the > example. > With static methods you don't have an instance, thus no cast possible. > You need to generate an additional object on the fly that calls that > method, and that's what I'm talking about. > > Cheers > Markus > > > > -- > To unsubscribe, e-mail: <mailto:[email protected]> > For additional commands, e-mail: <mailto:[email protected]> > -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Mon Jun 03 18:18:18 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35145 invoked from network); 3 Jun 2002 18:18:17 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 3 Jun 2002 18:18:17 -0000 Received: (qmail 7953 invoked by uid 97); 3 Jun 2002 18:18:12 -0000 Delivered-To: [email protected] Received: (qmail 7861 invoked by uid 97); 3 Jun 2002 18:18:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 7789 invoked by uid 98); 3 Jun 2002 18:18:11 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) From: "Tom Copeland" <[email protected]> To: "[email protected]. Apache. Org" <[email protected]> Subject: [PATCH] More JTest stuff for various org.apache.bcel.util classes... Date: Mon, 3 Jun 2002 14:07:11 -0400 Message-ID: <000c01c20b29$7bdeaa30$f501a8c0@TOMLAPTOP> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ...just removing unused variables: Index: AttributeHTML.java =================================================================== RCS file: /home/cvspublic/jakarta-bcel/src/java/org/apache/bcel/util/AttributeHTML .java,v retrieving revision 161.129.204.104 diff -r161.129.204.104 AttributeHTML.java 121d120 < Attribute[] attributes = c.getAttributes(); Index: BCELifier.java =================================================================== RCS file: /home/cvspublic/jakarta-bcel/src/java/org/apache/bcel/util/BCELifier.jav a,v retrieving revision 1.1 diff -r1.1 BCELifier.java 75d74 < private DescendingVisitor _visitor; Index: Class2HTML.java =================================================================== RCS file: /home/cvspublic/jakarta-bcel/src/java/org/apache/bcel/util/Class2HTML.ja va,v retrieving revision 161.129.204.104 diff -r161.129.204.104 Class2HTML.java 121,123d120 < < MethodHTML method_html = new MethodHTML(dir, class_name, methods, java_class.getFields(), < constant_html, attribute_html); Index: CodeHTML.java =================================================================== RCS file: /home/cvspublic/jakarta-bcel/src/java/org/apache/bcel/util/CodeHTML.java ,v retrieving revision 161.129.204.104 diff -r161.129.204.104 CodeHTML.java 108c108 < String name, sig, signature; --- > String name, signature; Yours, Tom Copeland InfoEther (865)775-7517 -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Mon Jun 03 22:10:29 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2715 invoked from network); 3 Jun 2002 22:10:29 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 3 Jun 2002 22:10:29 -0000 Received: (qmail 5696 invoked by uid 97); 3 Jun 2002 22:10:34 -0000 Delivered-To: [email protected] Received: (qmail 5642 invoked by uid 97); 3 Jun 2002 22:10:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 5630 invoked by uid 98); 3 Jun 2002 22:10:32 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <005801c20b4b$c8e68b00$364e18d4@oemcomputer> From: "Stephen Colebourne" <[email protected]> To: "BCEL Developers List" <[email protected]> References: <[email protected]> <161.129.204.104.0.20020603173009.01fbd8f8@localhost> Subject: Re: New Reflection/Beans API Date: Mon, 3 Jun 2002 23:12:41 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express (865)775-7517 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I haven't done too badly so far and now have a basic working generator. It generates a bean's get, set and property methods from an interface. It also generates the property accessors by creating a class per property (as I think is the Java 1.4 way). However I have a question about the Class class. This class appears to require quite a lot of setting up to create an instance. Is there any factory method that I've missed to create instances of a Class? Stephen From: Juozas Baliuka <[email protected]> > Hi, > It must be trivial to introduce "Bean" interface and as I understand you > don't need > to generate "Property" interface, it can be implemented usual way. > I can implement this stuff, if you need my help. > > At 15:57 2002.06.03 +0100, you wrote: > >Hi, > >Well, you'll never guess what I've been working on today... > > > >My interest in this comes from the Joda project (www.joda.org). There I am > >developing code which aims to build upon the current JavaBean spec and to > >provide more functionality. Already working are Java (non-BCEL) versions of > >an API. However, there are places where it is slow, and it is memory hungry. > >This is where I have started to use BCEL (I've only started today, so I > >haven't got too far yet). > > > >The API includes a Bean interface which is to be implemented by all beans. > >This provides access to each property of the bean: > >interface Bean { > > Map getPropertyMap(); > > Property getProperty(String propertyName); > > Class getBeanType(); > > Object cloneDeep(); > >} > >interface Property { > > void set(Object object); > > Object toObject(); > > boolean isReadOnly(); > > boolean isModifiable(); > > void setReadOnly(); > > void setModifiable(boolean); > > String getPropertyName(); > > Class getPropertyType(); > > String getContentName(); > > Class getContentType(); > > boolean equalsValue(Object object) > > void addPropertyChangeListener(PropertyChangeListener) > > void removePropertyChangeListener(PropertyChangeListener) > > void firePropertyChange(Object from, Object to) > >} > > > > > Possible features: > > > ------------------ > > > * Property objects (i.e. bound to a particular object field) > > > * Read-only properties > > > * Automagically generated setters, getters, event methods, etc. > > > * Generate BeanInfo's for Introspection > > > * Generate Beans for alternate sources (XML, DB tables) > > > * Collection handling > > > >I agree with most of these. BeanInfo is more trouble than its worth. XML/DB > >can build upon the architecture rather than needing to be BCELed in at a low > >level. I would also add > >* Allow properties to be added by applications on demand > >* Generate from an interface, abstract class or real class > > > >For interfaces and abstract methods, things are easy - just generate code > >according to some default setup. But a factory is required to actually > >create the objects - and people hate factories (and beans really should have > >a no-args public constructor) > > > > I hate a no-args public constructor in mutable classes :). > The main problem will be to implement Serialization for classes generated > at runtime. > > > > > > > >Thus a normal class would need to be modified on load. My thought was that > >any options could be set as API calls with the method being replaced. > >public void setSurname(String surname) { > > // some application logic > > BeanGen.createSet(flags); > > // some application logic > >} > > > >Well, thats what I'm looking at anyway ;-) > > > > It is no meaning to implement Reflection, if it doe's the same as > java.lang.reflect.*, It has some meaning > for jdk1.3 (performance), but this code will depend on jdk1.3 version > support time. > I tested performance on jdk1.4 and it is the same for generated classes and > JAVA reflection, you can > find some trivial experiment on this list. > > > >Reflection > >---------- > >I'm more interested in the Beans side, but... > > > >For statics, isn't it a case of passing null in where the object ref would > >go? That's what Java reflction does. > > > >Stephen > > > >----- Original Message ----- > >From: Markus Dahm <[email protected]> > >To: <[email protected]> > >Sent: Monday, June 03, 2002 3:27 PM > >Subject: New Reflection/Beans API > > > > > > > Hi, > > > > > > recently there has been some discussion about how to design/implement > > > an Reflection and Bean API using BCEL. Since I think it would be a > > > very good idea to have such a thing in BCEL, I'd like to start a > > > discussion here about the requirements and implementation issues. > > > > > > This is not a real proposal, just a collection of thoughts and ideas > > > where I took some from a previous posting by Stephen Colebourne. > > > > > > Reflection: > > > ----------- > > > > > > How it should work is obvious (!?), we add some code to the class that > > > is to used be used reflectively. We could do this statically, i.e., in > > > some kind of compiler, or using a class loader, which may be a little > > > less performant, but is of course much more flexible. > > > > > > The benefits of such an API would be > > > > > > a) increased performance of reflection (measurements?) > > > > > > b) additional features possible, e.g., we could have a class loader > > > that allows to run a chain of class modifiers, where adding reflexive > > > behaviour would be just one. I.e., such class modifiers would have a > > > method > > > > > > public JavaClass modifyClass(JavaClass clazz) { ... } > > > > > > c) base for a Beans API > > > > > > The question is how to tell which classes need to be augmented. This > > > has to be know statically since we only have one chance to augment the > > > class, namely when it is loaded/created. The simpliest approach would > > > be to require the class to implement a marker interface, say > > > > > > public interface Reflective {} > > > > > > The other possibility would be to tell the class loader, before the > > > class gets loaded, e.g., via some regular expression: > > > > > > cl.addReflectiveClass("com.foo.beans.*Impl"); > > > > > > One could also restrict access to certain methods and fields. > > > > > > -------------------------------------------------------------------------- > >------ > > > > > > Given that we want to modify class A > > > > > > public class A implements Reflective { > > > private String str; > > > private int x; > > > > > > int foo() { } > > > int foo(int x) { } > > > } > > > > > > We would then like to use reflection like this: > > > > > > A a = new A(); > > > JavaClass clazz = Repository.lookupClass("A"); > > > Field[] fields = clazz.getFields(); > > > Method[] methods = clazz.getMethods(); > > > > > > fields[0].setValue(a, "Hello world"); > > > Object result = methods[i].invoke(a, new Object[] { new > > > Integer(4711); }); > > > > > > Of course setValue/invoke would throw an exception if the passed > > > object does not support our kind of reflection. > > > > > > public void setValue(Object target, Object value) throws SomeException > >{ > > > if(target instanceof BCELReflective) { > > > ((BCELReflective)target).BCELsetValue(target, field_name, value); > > > } else if(target == null) { // Access to static field > > > ?????????????? > > > } > > > } > > > > > > However, we have our first problem here: How does this work for static > > > fields and methods? > > > > > > > > > As you probably already noticed the class loader or whatever would let A > > > implement another interface and implement its methods: > > > > > > public interface BCELReflective { > > > public void BCELsetValue(String name, Object value); > > > public Object BCELgetValue(String name); > > > public Object BCELinvoke(String name, Object[] args); > > > } > > > > > > These methods would wrap/unwrap the arguments and call the > > > corresponding methods or set/get the right field. > > > > > > > > > Problems so far: > > > --------------- > > > > > > * As we all know methods may be overloaded thus just using the name is > > > not really sufficient here, instead we could use the method index or > > > some generated identifier. Using the index would allow us to use a > > > fast switch() statement. > > > > > > * Fields and methods currently do not know their index nor the > > > JavaClass object they belong to. We could pass them in the > > > setValue/invoke argument list. > > > > > > * How do we implement reflection for static fields and methods? > > > > > > > > > > > > Beans (Really just a scratch file of ideas): > > > ------------------------------------------- > > > > > > I'm not an expert on Java Beans, but probably many of you are... > > > > > > What we could have is an extension of ClassGen, say BeanGen that has > > > additional methods and an extended InstructionFactory. I know there > > > is a class somewhere the Java Bean API such as "BeanAdapter" which > > > already implements the default behaviour and can be used as a > > > delegatee. I.e., we can use this class in our API. > > > > > > What we obviously need is a declarative way to tell which features > > > we want for our bean. Having an interface with empty methods is a > > > very simple approach, but I think we need something more powerful. > > > One problem is for example that property names need not to be > > > equivalent to field names. Getters and setters may have additional > > > checking code that relies on other fields. > > > > > > Possible features: > > > ------------------ > > > * Property objects (i.e. bound to a particular object field) > > > * Read-only properties > > > * Automagically generated setters, getters, event methods, etc. > > > * Generate BeanInfo's for Introspection > > > * Generate Beans for alternate sources (XML, DB tables) > > > * Collection handling > > > * See below :) > > > > > > Cheers > > > Markus > > > > > > P.S. The developer list is being archived now. > > > > > > -------------------------------------------------------------------------- > >----- > > > The original positing from Stephen Colebourne > > > > > > > > > Scope: > > > Reflection - Class, Method, Field, ... > > > Bean - Introspector, javabeans > > > > > > Need: > > > - Performance on java1.3 and earlier > > > - J2ME > > > - Current reliance on javabean spec version 1 that was designed to replace > > > ActiveX, not be a domain model. > > > - Boring coding of javabean gets/sets (I know tools can help, but I still > > > see bugs in gets and sets) > > > - Auto generated event methods (bound/constrained properties) > > > - Desire for dynamicly created javabeans/ properties (from databases, xml > > > etc.) > > > - Desire to pass around an object representing a property > > > - Desire to change the bean Introspector's lookup mechanism, such as to > > > allow private get/set methods to be treated as properties > > > - Desire to handle collections properly (they aren't handled at all by > >beans > > > Introspector at the moment > > > - Desire to dynamically make a property read only once setup (like const > >in > > > C) > > > > > > Bean types: > > > - Coder writes interface with coded get and set methods, BCEL generates > > > implementation on the fly > > > - Coder writes abstract class with coded get and set methods, BCEL > >generates > > > implementation on the fly > > > - Coder writes real class with coded get and set methods, BCEL modifies > > > parts on the fly > > > - A general purpose bean, to be used where all the data is dynamic, > >similar > > > to a HashMap > > > - A mixture object, where some fields have coded get and set methods, > >others > > > are dynamically created as the application requires > > > > > > > > > OK, so if you haven't guessed, I'm more interested in Beans than > >Reflection > > > on its own (Reflection is fine and useful, but its very low level). Most > >of > > > these ideas come from the Joda project, but I think they represent a good > > > idea of what people are using beans for now. > > > > > > Stephen > > > > > > > > > -- > > > To unsubscribe, e-mail: <mailto:[email protected]> > > > For additional commands, e-mail: <mailto:[email protected]> > > > > > > > > > > > >-- > >To unsubscribe, e-mail: <mailto:[email protected]> > >For additional commands, e-mail: <mailto:[email protected]> > > > > -- > To unsubscribe, e-mail: <mailto:[email protected]> > For additional commands, e-mail: <mailto:[email protected]> > > -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Tue Jun 04 06:39:08 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94550 invoked from network); 4 Jun 2002 06:39:08 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 4 Jun 2002 06:39:08 -0000 Received: (qmail 18407 invoked by uid 97); 4 Jun 2002 06:39:19 -0000 Delivered-To: [email protected] Received: (qmail 18311 invoked by uid 97); 4 Jun 2002 06:39:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 18293 invoked by uid 98); 4 Jun 2002 06:39:17 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) X-Qmail-Scanner-Mail-From: [email protected] via jim.skynet.vl X-Qmail-Scanner: 1.03 (Clean. Processed in 1.399663 secs) Message-ID: <016401c20b92$865d08d0$0111010a@user> From: "Juozas Baliuka" <[email protected]> To: "BCEL Developers List" <[email protected]> References: <[email protected]> <161.129.204.104.0.20020603173009.01fbd8f8@localhost> <005801c20b4b$c8e68b00$364e18d4@oemcomputer> Subject: Re: New Reflection/Beans API Date: Tue, 4 Jun 2002 08:39:06 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, ClassLoader is factory for classes, I use protected defineClass method to instantiate generated classes. > Hi, > I haven't done too badly so far and now have a basic working generator. It > generates a bean's get, set and property methods from an interface. It also > generates the property accessors by creating a class per property (as I > think is the Java 1.4 way). > > However I have a question about the Class class. This class appears to > require quite a lot of setting up to create an instance. Is there any > factory method that I've missed to create instances of a Class? > > Stephen > > From: Juozas Baliuka <[email protected]> > > Hi, > > It must be trivial to introduce "Bean" interface and as I understand you > > don't need > > to generate "Property" interface, it can be implemented usual way. > > I can implement this stuff, if you need my help. > > > > At 15:57 2002.06.03 +0100, you wrote: > > >Hi, > > >Well, you'll never guess what I've been working on today... > > > > > >My interest in this comes from the Joda project (www.joda.org). There I > am > > >developing code which aims to build upon the current JavaBean spec and to > > >provide more functionality. Already working are Java (non-BCEL) versions > of > > >an API. However, there are places where it is slow, and it is memory > hungry. > > >This is where I have started to use BCEL (I've only started today, so I > > >haven't got too far yet). > > > > > >The API includes a Bean interface which is to be implemented by all > beans. > > >This provides access to each property of the bean: > > >interface Bean { > > > Map getPropertyMap(); > > > Property getProperty(String propertyName); > > > Class getBeanType(); > > > Object cloneDeep(); > > >} > > >interface Property { > > > void set(Object object); > > > Object toObject(); > > > boolean isReadOnly(); > > > boolean isModifiable(); > > > void setReadOnly(); > > > void setModifiable(boolean); > > > String getPropertyName(); > > > Class getPropertyType(); > > > String getContentName(); > > > Class getContentType(); > > > boolean equalsValue(Object object) > > > void addPropertyChangeListener(PropertyChangeListener) > > > void removePropertyChangeListener(PropertyChangeListener) > > > void firePropertyChange(Object from, Object to) > > >} > > > > > > > Possible features: > > > > ------------------ > > > > * Property objects (i.e. bound to a particular object field) > > > > * Read-only properties > > > > * Automagically generated setters, getters, event methods, etc. > > > > * Generate BeanInfo's for Introspection > > > > * Generate Beans for alternate sources (XML, DB tables) > > > > * Collection handling > > > > > >I agree with most of these. BeanInfo is more trouble than its worth. > XML/DB > > >can build upon the architecture rather than needing to be BCELed in at a > low > > >level. I would also add > > >* Allow properties to be added by applications on demand > > >* Generate from an interface, abstract class or real class > > > > > >For interfaces and abstract methods, things are easy - just generate code > > >according to some default setup. But a factory is required to actually > > >create the objects - and people hate factories (and beans really should > have > > >a no-args public constructor) > > > > > > > > I hate a no-args public constructor in mutable classes :). > > The main problem will be to implement Serialization for classes generated > > at runtime. > > > > > > > > > > > > > > >Thus a normal class would need to be modified on load. My thought was > that > > >any options could be set as API calls with the method being replaced. > > >public void setSurname(String surname) { > > > // some application logic > > > BeanGen.createSet(flags); > > > // some application logic > > >} > > > > > >Well, thats what I'm looking at anyway ;-) > > > > > > > It is no meaning to implement Reflection, if it doe's the same as > > java.lang.reflect.*, It has some meaning > > for jdk1.3 (performance), but this code will depend on jdk1.3 version > > support time. > > I tested performance on jdk1.4 and it is the same for generated classes > and > > JAVA reflection, you can > > find some trivial experiment on this list. > > > > > > >Reflection > > >---------- > > >I'm more interested in the Beans side, but... > > > > > >For statics, isn't it a case of passing null in where the object ref > would > > >go? That's what Java reflction does. > > > > > >Stephen > > > > > >----- Original Message ----- > > >From: Markus Dahm <[email protected]> > > >To: <[email protected]> > > >Sent: Monday, June 03, 2002 3:27 PM > > >Subject: New Reflection/Beans API > > > > > > > > > > Hi, > > > > > > > > recently there has been some discussion about how to design/implement > > > > an Reflection and Bean API using BCEL. Since I think it would be a > > > > very good idea to have such a thing in BCEL, I'd like to start a > > > > discussion here about the requirements and implementation issues. > > > > > > > > This is not a real proposal, just a collection of thoughts and ideas > > > > where I took some from a previous posting by Stephen Colebourne. > > > > > > > > Reflection: > > > > ----------- > > > > > > > > How it should work is obvious (!?), we add some code to the class that > > > > is to used be used reflectively. We could do this statically, i.e., in > > > > some kind of compiler, or using a class loader, which may be a little > > > > less performant, but is of course much more flexible. > > > > > > > > The benefits of such an API would be > > > > > > > > a) increased performance of reflection (measurements?) > > > > > > > > b) additional features possible, e.g., we could have a class loader > > > > that allows to run a chain of class modifiers, where adding reflexive > > > > behaviour would be just one. I.e., such class modifiers would have a > > > > method > > > > > > > > public JavaClass modifyClass(JavaClass clazz) { ... } > > > > > > > > c) base for a Beans API > > > > > > > > The question is how to tell which classes need to be augmented. This > > > > has to be know statically since we only have one chance to augment the > > > > class, namely when it is loaded/created. The simpliest approach would > > > > be to require the class to implement a marker interface, say > > > > > > > > public interface Reflective {} > > > > > > > > The other possibility would be to tell the class loader, before the > > > > class gets loaded, e.g., via some regular expression: > > > > > > > > cl.addReflectiveClass("com.foo.beans.*Impl"); > > > > > > > > One could also restrict access to certain methods and fields. > > > > > > > > > -------------------------------------------------------------------------- > > >------ > > > > > > > > Given that we want to modify class A > > > > > > > > public class A implements Reflective { > > > > private String str; > > > > private int x; > > > > > > > > int foo() { } > > > > int foo(int x) { } > > > > } > > > > > > > > We would then like to use reflection like this: > > > > > > > > A a = new A(); > > > > JavaClass clazz = Repository.lookupClass("A"); > > > > Field[] fields = clazz.getFields(); > > > > Method[] methods = clazz.getMethods(); > > > > > > > > fields[0].setValue(a, "Hello world"); > > > > Object result = methods[i].invoke(a, new Object[] { new > > > > Integer(4711); }); > > > > > > > > Of course setValue/invoke would throw an exception if the passed > > > > object does not support our kind of reflection. > > > > > > > > public void setValue(Object target, Object value) throws > SomeException > > >{ > > > > if(target instanceof BCELReflective) { > > > > ((BCELReflective)target).BCELsetValue(target, field_name, > value); > > > > } else if(target == null) { // Access to static field > > > > ?????????????? > > > > } > > > > } > > > > > > > > However, we have our first problem here: How does this work for static > > > > fields and methods? > > > > > > > > > > > > As you probably already noticed the class loader or whatever would let > A > > > > implement another interface and implement its methods: > > > > > > > > public interface BCELReflective { > > > > public void BCELsetValue(String name, Object value); > > > > public Object BCELgetValue(String name); > > > > public Object BCELinvoke(String name, Object[] args); > > > > } > > > > > > > > These methods would wrap/unwrap the arguments and call the > > > > corresponding methods or set/get the right field. > > > > > > > > > > > > Problems so far: > > > > --------------- > > > > > > > > * As we all know methods may be overloaded thus just using the name is > > > > not really sufficient here, instead we could use the method index > or > > > > some generated identifier. Using the index would allow us to use a > > > > fast switch() statement. > > > > > > > > * Fields and methods currently do not know their index nor the > > > > JavaClass object they belong to. We could pass them in the > > > > setValue/invoke argument list. > > > > > > > > * How do we implement reflection for static fields and methods? > > > > > > > > > > > > > > > > Beans (Really just a scratch file of ideas): > > > > ------------------------------------------- > > > > > > > > I'm not an expert on Java Beans, but probably many of you are... > > > > > > > > What we could have is an extension of ClassGen, say BeanGen that has > > > > additional methods and an extended InstructionFactory. I know there > > > > is a class somewhere the Java Bean API such as "BeanAdapter" which > > > > already implements the default behaviour and can be used as a > > > > delegatee. I.e., we can use this class in our API. > > > > > > > > What we obviously need is a declarative way to tell which features > > > > we want for our bean. Having an interface with empty methods is a > > > > very simple approach, but I think we need something more powerful. > > > > One problem is for example that property names need not to be > > > > equivalent to field names. Getters and setters may have additional > > > > checking code that relies on other fields. > > > > > > > > Possible features: > > > > ------------------ > > > > * Property objects (i.e. bound to a particular object field) > > > > * Read-only properties > > > > * Automagically generated setters, getters, event methods, etc. > > > > * Generate BeanInfo's for Introspection > > > > * Generate Beans for alternate sources (XML, DB tables) > > > > * Collection handling > > > > * See below :) > > > > > > > > Cheers > > > > Markus > > > > > > > > P.S. The developer list is being archived now. > > > > > > > > > -------------------------------------------------------------------------- > > >----- > > > > The original positing from Stephen Colebourne > > > > > > > > > > > > Scope: > > > > Reflection - Class, Method, Field, ... > > > > Bean - Introspector, javabeans > > > > > > > > Need: > > > > - Performance on java1.3 and earlier > > > > - J2ME > > > > - Current reliance on javabean spec version 1 that was designed to > replace > > > > ActiveX, not be a domain model. > > > > - Boring coding of javabean gets/sets (I know tools can help, but I > still > > > > see bugs in gets and sets) > > > > - Auto generated event methods (bound/constrained properties) > > > > - Desire for dynamicly created javabeans/ properties (from databases, > xml > > > > etc.) > > > > - Desire to pass around an object representing a property > > > > - Desire to change the bean Introspector's lookup mechanism, such as > to > > > > allow private get/set methods to be treated as properties > > > > - Desire to handle collections properly (they aren't handled at all by > > >beans > > > > Introspector at the moment > > > > - Desire to dynamically make a property read only once setup (like > const > > >in > > > > C) > > > > > > > > Bean types: > > > > - Coder writes interface with coded get and set methods, BCEL > generates > > > > implementation on the fly > > > > - Coder writes abstract class with coded get and set methods, BCEL > > >generates > > > > implementation on the fly > > > > - Coder writes real class with coded get and set methods, BCEL > modifies > > > > parts on the fly > > > > - A general purpose bean, to be used where all the data is dynamic, > > >similar > > > > to a HashMap > > > > - A mixture object, where some fields have coded get and set methods, > > >others > > > > are dynamically created as the application requires > > > > > > > > > > > > OK, so if you haven't guessed, I'm more interested in Beans than > > >Reflection > > > > on its own (Reflection is fine and useful, but its very low level). > Most > > >of > > > > these ideas come from the Joda project, but I think they represent a > good > > > > idea of what people are using beans for now. > > > > > > > > Stephen > > > > > > > > > > > > -- > > > > To unsubscribe, e-mail: > <mailto:[email protected]> > > > > For additional commands, e-mail: > <mailto:[email protected]> > > > > > > > > > > > > > > > > >-- > > >To unsubscribe, e-mail: > <mailto:[email protected]> > > >For additional commands, e-mail: > <mailto:[email protected]> > > > > > > > > -- > > To unsubscribe, e-mail: <mailto:[email protected]> > > For additional commands, e-mail: <mailto:[email protected]> > > > > > > > -- > To unsubscribe, e-mail: <mailto:[email protected]> > For additional commands, e-mail: <mailto:[email protected]> > -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Tue Jun 04 11:16:26 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41219 invoked from network); 4 Jun 2002 11:16:26 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 4 Jun 2002 11:16:26 -0000 Received: (qmail 17021 invoked by uid 97); 4 Jun 2002 11:16:27 -0000 Delivered-To: [email protected] Received: (qmail 16979 invoked by uid 97); 4 Jun 2002 11:16:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 16967 invoked by uid 97); 4 Jun 2002 11:16:25 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Date: 4 Jun 2002 11:16:21 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-bcel/src/java/org/apache/bcel/util AttributeHTML.java BCELifier.java CodeHTML.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N mdahm 2002/06/04 04:16:21 Modified: src/java/org/apache/bcel/util AttributeHTML.java BCELifier.java CodeHTML.java Log: removed redundant vars Revision Changes Path 1.2 +1 -2 jakarta-bcel/src/java/org/apache/bcel/util/AttributeHTML.java Index: AttributeHTML.java =================================================================== RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/util/AttributeHTML.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- AttributeHTML.java 29 Oct 2001 20:00:28 -0000 1.1 +++ AttributeHTML.java 4 Jun 2002 11:16:21 -0000 1.2 @@ -60,7 +60,7 @@ /** * Convert found attributes into HTML file. * - * @version $Id: AttributeHTML.java,v 1.1 2001/10/29 20:00:28 jvanzyl Exp $ + * @version $Id: AttributeHTML.java,v 1.2 2002/06/04 11:16:21 mdahm Exp $ * @author <A HREF="mailto:[email protected]">M. Dahm</A> * */ @@ -118,7 +118,6 @@ switch(tag) { case ATTR_CODE: Code c = (Code)attribute; - Attribute[] attributes = c.getAttributes(); // Some directly printable values file.print("<UL><LI>Maximum stack size = " + c.getMaxStack() + 1.2 +1 -2 jakarta-bcel/src/java/org/apache/bcel/util/BCELifier.java Index: BCELifier.java =================================================================== RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/util/BCELifier.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- BCELifier.java 12 Mar 2002 17:52:00 -0000 1.1 +++ BCELifier.java 4 Jun 2002 11:16:21 -0000 1.2 @@ -66,13 +66,12 @@ * are done with BCEL. It does not cover all features of BCEL, * but tries to mimic hand-written code as close as possible. * - * @version $Id: BCELifier.java,v 1.1 2002/03/12 17:52:00 mdahm Exp $ + * @version $Id: BCELifier.java,v 1.2 2002/06/04 11:16:21 mdahm Exp $ * @author <A HREF="mailto:[email protected]">M. Dahm</A> */ public class BCELifier extends org.apache.bcel.classfile.EmptyVisitor { private JavaClass _clazz; private PrintWriter _out; - private DescendingVisitor _visitor; private ConstantPoolGen _cp; /** @param clazz Java class to "decompile" 1.2 +2 -2 jakarta-bcel/src/java/org/apache/bcel/util/CodeHTML.java Index: CodeHTML.java =================================================================== RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/util/CodeHTML.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- CodeHTML.java 29 Oct 2001 20:00:30 -0000 1.1 +++ CodeHTML.java 4 Jun 2002 11:16:21 -0000 1.2 @@ -61,7 +61,7 @@ /** * Convert code into HTML file. * - * @version $Id: CodeHTML.java,v 1.1 2001/10/29 20:00:30 jvanzyl Exp $ + * @version $Id: CodeHTML.java,v 1.2 2002/06/04 11:16:21 mdahm Exp $ * @author <A HREF="mailto:[email protected]">M. Dahm</A> * */ @@ -105,7 +105,7 @@ { short opcode = (short)bytes.readUnsignedByte(); StringBuffer buf; - String name, sig, signature; + String name, signature; int default_offset=0, low, high; int index, class_index, vindex, constant; int[] jump_table; -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Tue Jun 04 11:23:30 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44616 invoked from network); 4 Jun 2002 11:23:30 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 4 Jun 2002 11:23:30 -0000 Received: (qmail 25825 invoked by uid 97); 4 Jun 2002 11:23:31 -0000 Delivered-To: [email protected] Received: (qmail 25788 invoked by uid 97); 4 Jun 2002 11:23:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 25769 invoked by uid 98); 4 Jun 2002 11:23:29 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) X-Originating-IP: [161.129.204.104] From: <[email protected]> To: "BCEL Developers List" <[email protected]> Subject: Re: Re: New Reflection/Beans API Date: Tue, 4 Jun 2002 13:23:24 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20020604112555.DJMM27460.mailoutvl21@[161.129.204.104]> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, > > Von: "Stephen Colebourne" <[email protected]> > Datum: 2002/06/04 Di AM 12:12:41 GMT+02:00 > An: "BCEL Developers List" <[email protected]> > Betreff: Re: New Reflection/Beans API > > Hi, > I haven't done too badly so far and now have a basic working generator. It > generates a bean's get, set and property methods from an interface. It also > generates the property accessors by creating a class per property (as I > think is the Java 1.4 way). > > However I have a question about the Class class. This class appears to > require quite a lot of setting up to create an instance. Is there any > factory method that I've missed to create instances of a Class? I'm a bit puzzled here, since you can not "create" Class instances. You can only look them up, either via getClass() or Class.forName(), (Class cl = Foo.class; is just syntactic sugar). Cheers Markus -- berlin.de - meine stadt im netz. Jetzt eigene eMail-adresse @berlin.de sichern! http://webmail.berlin.de -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Tue Jun 04 11:32:45 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49242 invoked from network); 4 Jun 2002 11:32:45 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 4 Jun 2002 11:32:45 -0000 Received: (qmail 7708 invoked by uid 97); 4 Jun 2002 11:32:45 -0000 Delivered-To: [email protected] Received: (qmail 7681 invoked by uid 97); 4 Jun 2002 11:32:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 7649 invoked by uid 98); 4 Jun 2002 11:32:44 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <001e01c20bbb$dbf5bca0$c44e18d4@oemcomputer> From: "Stephen Colebourne" <[email protected]> To: "BCEL Developers List" <[email protected]> References: <20020604112555.DJMM27460.mailoutvl21@[161.129.204.104]> Subject: Re: Re: New Reflection/Beans API Date: Tue, 4 Jun 2002 12:34:57 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express (865)775-7517 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > > However I have a question about the Class class. This class appears to > > require quite a lot of setting up to create an instance. Is there any > > factory method that I've missed to create instances of a Class? > > I'm a bit puzzled here, since you can not "create" > Class instances. You can only look them up, either > via getClass() or Class.forName(), (Class cl = Foo.class; > is just syntactic sugar). Yes this is what I was driving at. Is there an easy factory method to create bytecodes equivalent to: Class cl = Foo.class Also, is there a convenient method to create a Type object from a Class object? thanks Stephen -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Tue Jun 04 21:07:21 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63316 invoked from network); 4 Jun 2002 21:07:21 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 4 Jun 2002 21:07:21 -0000 Received: (qmail 7964 invoked by uid 97); 4 Jun 2002 21:06:06 -0000 Delivered-To: [email protected] Received: (qmail 7662 invoked by uid 97); 4 Jun 2002 21:05:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 7539 invoked by uid 98); 4 Jun 2002 21:05:49 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) X-Qmail-Scanner-Mail-From: [email protected] via jim.skynet.vl X-Qmail-Scanner: 1.03 (Clean. Processed in 1.326793 secs) Message-ID: <001901c20be9$de73c610$0111010a@user> From: "Juozas Baliuka" <[email protected]> To: "BCEL Developers List" <[email protected]> References: <20020604112555.DJMM27460.mailoutvl21@[161.129.204.104]> <001e01c20bbb$dbf5bca0$c44e18d4@oemcomputer> Subject: Re: Re: New Reflection/Beans API Date: Tue, 4 Jun 2002 19:04:20 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, This is frontend for BCEL http://jiapi.sourceforge.net/ I do not use it myself, but I saw a lot of good ideas in this project. ----- Original Message ----- From: "Stephen Colebourne" <[email protected]> To: "BCEL Developers List" <[email protected]> Sent: Tuesday, June 04, 2002 1:34 PM Subject: Re: Re: New Reflection/Beans API > > > However I have a question about the Class class. This class appears to > > > require quite a lot of setting up to create an instance. Is there any > > > factory method that I've missed to create instances of a Class? > > > > I'm a bit puzzled here, since you can not "create" > > Class instances. You can only look them up, either > > via getClass() or Class.forName(), (Class cl = Foo.class; > > is just syntactic sugar). > > Yes this is what I was driving at. Is there an easy factory method to create > bytecodes equivalent to: > Class cl = Foo.class > > Also, is there a convenient method to create a Type object from a Class > object? > > thanks > > Stephen > > > -- > To unsubscribe, e-mail: <mailto:[email protected]> > For additional commands, e-mail: <mailto:[email protected]> > -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Tue Jun 04 22:52:40 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56253 invoked from network); 4 Jun 2002 22:52:40 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 4 Jun 2002 22:52:40 -0000 Received: (qmail 15345 invoked by uid 97); 4 Jun 2002 22:52:47 -0000 Delivered-To: [email protected] Received: (qmail 15309 invoked by uid 97); 4 Jun 2002 22:52:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 15278 invoked by uid 98); 4 Jun 2002 22:52:46 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <[email protected]> Date: Tue, 04 Jun 2002 18:46:00 +0200 From: Markus Dahm <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010628 X-Accept-Language: en-us MIME-Version: 1.0 To: BCEL Developers List <[email protected]> Subject: Re: New Reflection/Beans API References: <20020604112555.DJMM27460.mailoutvl21@[161.129.204.104]> <001e01c20bbb$dbf5bca0$c44e18d4@oemcomputer> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Stephen Colebourne wrote: >>>However I have a question about the Class class. This class appears to >>>require quite a lot of setting up to create an instance. Is there any >>>factory method that I've missed to create instances of a Class? >>> >>I'm a bit puzzled here, since you can not "create" >>Class instances. You can only look them up, either >>via getClass() or Class.forName(), (Class cl = Foo.class; >>is just syntactic sugar). >> > > Yes this is what I was driving at. Is there an easy factory method to create > bytecodes equivalent to: > Class cl = Foo.class Currently the answer is no, but that's not to difficult, just call Class.forName("Foo"); > Also, is there a convenient method to create a Type object from a Class > object? new ObjectType(clazz.getName()); ? Cheers Markus -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Tue Jun 04 23:06:09 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64079 invoked from network); 4 Jun 2002 23:06:09 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 4 Jun 2002 23:06:09 -0000 Received: (qmail 14417 invoked by uid 97); 4 Jun 2002 23:06:15 -0000 Delivered-To: [email protected] Received: (qmail 14391 invoked by uid 97); 4 Jun 2002 23:06:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 14379 invoked by uid 98); 4 Jun 2002 23:06:14 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <000601c20c1c$bff33580$694218d4@oemcomputer> From: "Stephen Colebourne" <[email protected]> To: "BCEL Developers List" <[email protected]> References: <20020604112555.DJMM27460.mailoutvl21@[161.129.204.104]> <001e01c20bbb$dbf5bca0$c44e18d4@oemcomputer> <[email protected]> Subject: Re: New Reflection/Beans API Date: Wed, 5 Jun 2002 00:08:31 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express (865)775-7517 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > > Yes this is what I was driving at. Is there an easy factory method to create > > bytecodes equivalent to: > > Class cl = Foo.class > > Currently the answer is no, but that's not to difficult, just call > Class.forName("Foo"); What I mean is that if you decompile a Java class with this relatively simple line, it has generated about 15 bytecodes plus a field - it lazily instantiates the object. This will be a pain to code, but perfectly possible (I'll just copy the decompiled code!) > > Also, is there a convenient method to create a Type object from a Class > > object? > > new ObjectType(clazz.getName()); ? But what about primitive types and array types. I'm guessing that quite a few projects must run into the issue of converting Class to Type. Maybe a new factory method on Type would be appropriate - Type.getType(Class) ? Stephen PS. Thanks for the assistance and a great API. I was really pleased at how easily I got up and running. -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Wed Jun 05 10:17:44 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 39838 invoked from network); 5 Jun 2002 10:17:44 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 5 Jun 2002 10:17:44 -0000 Received: (qmail 18483 invoked by uid 97); 5 Jun 2002 10:17:58 -0000 Delivered-To: [email protected] Received: (qmail 18447 invoked by uid 97); 5 Jun 2002 10:17:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 18436 invoked by uid 97); 5 Jun 2002 10:17:56 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Date: 5 Jun 2002 10:17:38 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-bcel/src/java/org/apache/bcel/util SyntheticRepository.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N mdahm 2002/06/05 03:17:38 Modified: src/java/org/apache/bcel/util SyntheticRepository.java Log: getInstance didnt return instance Revision Changes Path 1.2 +8 -1 jakarta-bcel/src/java/org/apache/bcel/util/SyntheticRepository.java Index: SyntheticRepository.java =================================================================== RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/util/SyntheticRepository.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- SyntheticRepository.java 8 May 2002 20:59:29 -0000 1.1 +++ SyntheticRepository.java 5 Jun 2002 10:17:38 -0000 1.2 @@ -92,7 +92,14 @@ } public static SyntheticRepository getInstance() { - return (SyntheticRepository) instances.get( defaultPath ); + SyntheticRepository rep =(SyntheticRepository) + instances.get( defaultPath ); + + if(rep == null) { + rep = new SyntheticRepository(); // adds itself to instances + } + + return rep; } public static SyntheticRepository getInstance(String classPath) { -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Wed Jun 05 10:26:39 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45109 invoked from network); 5 Jun 2002 10:26:38 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 5 Jun 2002 10:26:38 -0000 Received: (qmail 23360 invoked by uid 97); 5 Jun 2002 10:26:52 -0000 Delivered-To: [email protected] Received: (qmail 23344 invoked by uid 97); 5 Jun 2002 10:26:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 23328 invoked by uid 98); 5 Jun 2002 10:26:51 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <[email protected]> Date: Wed, 05 Jun 2002 15:26:11 +0200 From: Markus Dahm <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010628 X-Accept-Language: en-us MIME-Version: 1.0 To: BCEL Developers List <[email protected]> Subject: Re: New Reflection/Beans API References: <20020604112555.DJMM27460.mailoutvl21@[161.129.204.104]> <001e01c20bbb$dbf5bca0$c44e18d4@oemcomputer> <[email protected]> <000601c20c1c$bff33580$694218d4@oemcomputer> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Stephen Colebourne wrote: >>>Yes this is what I was driving at. Is there an easy factory method to >>> > create > >>>bytecodes equivalent to: >>>Class cl = Foo.class >>> >>Currently the answer is no, but that's not to difficult, just call >>Class.forName("Foo"); >> > > What I mean is that if you decompile a Java class with this relatively > simple line, it has generated about 15 bytecodes plus a field - it lazily > instantiates the object. This will be a pain to code, but perfectly possible > (I'll just copy the decompiled code!) > > >>>Also, is there a convenient method to create a Type object from a Class >>>object? >>> >>new ObjectType(clazz.getName()); ? >> > > But what about primitive types and array types. I'm guessing that quite a > few projects must run into the issue of converting Class to Type. Maybe a > new factory method on Type would be appropriate - Type.getType(Class) ? Yes, that would probably be a good idea. Maybe I'll have time to implement that. Cheers Markus -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Wed Jun 05 11:05:41 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66617 invoked from network); 5 Jun 2002 11:05:41 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 5 Jun 2002 11:05:41 -0000 Received: (qmail 22411 invoked by uid 97); 5 Jun 2002 11:05:41 -0000 Delivered-To: [email protected] Received: (qmail 22395 invoked by uid 97); 5 Jun 2002 11:05:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 22384 invoked by uid 97); 5 Jun 2002 11:05:40 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Date: 5 Jun 2002 11:05:37 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-bcel/src/java/org/apache/bcel/generic Type.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N mdahm 2002/06/05 04:05:37 Modified: src/java/org/apache/bcel/generic Type.java Log: Convert class to type Revision Changes Path 1.3 +40 -1 jakarta-bcel/src/java/org/apache/bcel/generic/Type.java Index: Type.java =================================================================== RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/generic/Type.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- Type.java 24 Apr 2002 11:01:31 -0000 1.2 +++ Type.java 5 Jun 2002 11:05:37 -0000 1.3 @@ -63,7 +63,7 @@ * Abstract super class for all possible java types, namely basic types * such as int, object types like String and array types, e.g. int[] * - * @version $Id: Type.java,v 1.2 2002/04/24 11:01:31 mdahm Exp $ + * @version $Id: Type.java,v 1.3 2002/06/05 11:05:37 mdahm Exp $ * @author <A HREF="mailto:[email protected]">M. Dahm</A> */ public abstract class Type { @@ -228,5 +228,44 @@ types = new Type[vec.size()]; vec.toArray(types); return types; + } + + public static Type getType(Class cl) { + if(cl == null) { + throw new IllegalArgumentException("Class must not be null"); + } + + /* That's an amzingly easy case, because getName() returns + * the signature. That's what we would have liked anyway. + */ + if(cl.isArray()) { + return getType(cl.getName()); + } else if(cl.isPrimitive()) { + if(cl == Integer.TYPE) { + return INT; + } else if(cl == Void.TYPE) { + return VOID; + } else if(cl == Double.TYPE) { + return DOUBLE; + } else if(cl == Float.TYPE) { + return FLOAT; + } else if(cl == Boolean.TYPE) { + return BOOLEAN; + } else if(cl == Byte.TYPE) { + return BYTE; + } else if(cl == Short.TYPE) { + return SHORT; + } else if(cl == Byte.TYPE) { + return BYTE; + } else if(cl == Long.TYPE) { + return LONG; + } else if(cl == Character.TYPE) { + return CHAR; + } else { + throw new IllegalStateException("Ooops, what primitive type is " + cl); + } + } else { // "Real" class + return new ObjectType(cl.getName()); + } } } -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Wed Jun 05 11:06:57 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66731 invoked from network); 5 Jun 2002 11:06:57 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 5 Jun 2002 11:06:57 -0000 Received: (qmail 22719 invoked by uid 97); 5 Jun 2002 11:06:57 -0000 Delivered-To: [email protected] Received: (qmail 22703 invoked by uid 97); 5 Jun 2002 11:06:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 22692 invoked by uid 97); 5 Jun 2002 11:06:56 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Date: 5 Jun 2002 11:06:53 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-bcel/src/java/org/apache/bcel/generic Type.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N mdahm 2002/06/05 04:06:53 Modified: src/java/org/apache/bcel/generic Type.java Log: Convert class to type Revision Changes Path 1.4 +6 -2 jakarta-bcel/src/java/org/apache/bcel/generic/Type.java Index: Type.java =================================================================== RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/generic/Type.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- Type.java 5 Jun 2002 11:05:37 -0000 1.3 +++ Type.java 5 Jun 2002 11:06:53 -0000 1.4 @@ -63,7 +63,7 @@ * Abstract super class for all possible java types, namely basic types * such as int, object types like String and array types, e.g. int[] * - * @version $Id: Type.java,v 1.3 2002/06/05 11:05:37 mdahm Exp $ + * @version $Id: Type.java,v 1.4 2002/06/05 11:06:53 mdahm Exp $ * @author <A HREF="mailto:[email protected]">M. Dahm</A> */ public abstract class Type { @@ -230,7 +230,11 @@ return types; } - public static Type getType(Class cl) { + /** Convert runtime java.lang.Class to BCEL Type object. + * @param cl Java class + * @return corresponding Type object + */ + public static Type getType(java.lang.Class cl) { if(cl == null) { throw new IllegalArgumentException("Class must not be null"); } -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Wed Jun 05 11:08:13 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 67077 invoked from network); 5 Jun 2002 11:08:13 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 5 Jun 2002 11:08:13 -0000 Received: (qmail 23080 invoked by uid 97); 5 Jun 2002 11:08:13 -0000 Delivered-To: [email protected] Received: (qmail 23064 invoked by uid 97); 5 Jun 2002 11:08:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 23052 invoked by uid 98); 5 Jun 2002 11:08:12 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <[email protected]> Date: Wed, 05 Jun 2002 16:07:32 +0200 From: Markus Dahm <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010628 X-Accept-Language: en-us MIME-Version: 1.0 To: BCEL Developers List <[email protected]> Subject: Re: New Reflection/Beans API References: <20020604112555.DJMM27460.mailoutvl21@[161.129.204.104]> <001e01c20bbb$dbf5bca0$c44e18d4@oemcomputer> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, > Also, is there a convenient method to create a Type object from a Class > object? Yes, now there is. Please tell me if I missed something. /* That's an amzingly easy case, because getName() returns * the signature. That's what we would have liked anyway. */ if(cl.isArray()) { return getType(cl.getName()); } else if(cl.isPrimitive()) { if(cl == Integer.TYPE) { return INT; } else if(cl == Void.TYPE) { return VOID; } else if(cl == Double.TYPE) { return DOUBLE; } else if(cl == Float.TYPE) { return FLOAT; } else if(cl == Boolean.TYPE) { return BOOLEAN; } else if(cl == Byte.TYPE) { return BYTE; } else if(cl == Short.TYPE) { return SHORT; } else if(cl == Byte.TYPE) { return BYTE; } else if(cl == Long.TYPE) { return LONG; } else if(cl == Character.TYPE) { return CHAR; } else { throw new IllegalStateException("Ooops, what primitive type is " + cl); } } else { // "Real" class return new ObjectType(cl.getName()); } } -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Wed Jun 05 11:27:44 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78125 invoked from network); 5 Jun 2002 11:27:44 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 5 Jun 2002 11:27:44 -0000 Received: (qmail 6605 invoked by uid 97); 5 Jun 2002 11:27:43 -0000 Delivered-To: [email protected] Received: (qmail 6589 invoked by uid 97); 5 Jun 2002 11:27:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 6577 invoked by uid 98); 5 Jun 2002 11:27:42 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-Id: <161.129.204.104.0.20020605131141.01fa1968@localhost> X-Sender: baliuka/taurus.mediaworks.lt@localhost X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Wed, 05 Jun 2002 13:30:14 +0200 To: "BCEL Developers List" <[email protected]>, BCEL Developers List <[email protected]> From: Juozas Baliuka <[email protected]> Subject: Re: New Reflection/Beans API In-Reply-To: <[email protected]> References: <20020604112555.DJMM27460.mailoutvl21@[161.129.204.104]> <001e01c20bbb$dbf5bca0$c44e18d4@oemcomputer> <[email protected]> <000601c20c1c$bff33580$694218d4@oemcomputer> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N It can be useful to implement high level methods ( static ? ) MethodGen getMethodGen( ClassGen, java.lang.rerfect.Method ); Field ..... addReadMethod( ClassGen, java.lang.reflect.Field ); addWriteMethod( ClassGen, java.lang.reflect.Field ); addReadWriteMethods( ClassGen, java.lang.Class interface ); ................................................................................................ Type getType(Class) ...................................... invoke( InstructionList, Mathod ); readField( InstructionList, java.lang.reflect.Field); ........................................ At 15:26 2002.06.05 +0200, Markus Dahm wrote: >Stephen Colebourne wrote: > >>>>Yes this is what I was driving at. Is there an easy factory method to >>create >> >>>>bytecodes equivalent to: >>>>Class cl = Foo.class >>>Currently the answer is no, but that's not to difficult, just call >>>Class.forName("Foo"); >>What I mean is that if you decompile a Java class with this relatively >>simple line, it has generated about 15 bytecodes plus a field - it lazily >>instantiates the object. This will be a pain to code, but perfectly possible >>(I'll just copy the decompiled code!) >> >>>>Also, is there a convenient method to create a Type object from a Class >>>>object? >>>new ObjectType(clazz.getName()); ? >>But what about primitive types and array types. I'm guessing that quite a >>few projects must run into the issue of converting Class to Type. Maybe a >>new factory method on Type would be appropriate - Type.getType(Class) ? > > >Yes, > >that would probably be a good idea. Maybe I'll have time to implement that. > >Cheers > Markus > > > >-- >To unsubscribe, e-mail: <mailto:[email protected]> >For additional commands, e-mail: <mailto:[email protected]> -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Wed Jun 05 12:05:35 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2906 invoked from network); 5 Jun 2002 12:05:34 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 5 Jun 2002 12:05:34 -0000 Received: (qmail 8300 invoked by uid 97); 5 Jun 2002 12:05:34 -0000 Delivered-To: [email protected] Received: (qmail 8275 invoked by uid 97); 5 Jun 2002 12:05:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 8263 invoked by uid 98); 5 Jun 2002 12:05:32 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-Id: <161.129.204.104.0.20020605140444.01fb4e18@localhost> X-Sender: baliuka/taurus.mediaworks.lt@localhost X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Wed, 05 Jun 2002 14:08:06 +0200 To: "BCEL Developers List" <[email protected]>, BCEL Developers List <[email protected]> From: Juozas Baliuka <[email protected]> Subject: Re: New Reflection/Beans API In-Reply-To: <[email protected]> References: <20020604112555.DJMM27460.mailoutvl21@[161.129.204.104]> <001e01c20bbb$dbf5bca0$c44e18d4@oemcomputer> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N <snip> >- if(cl.isArray()) { >- return getType(cl.getName()); + } else if (cls.isArray()) { + return new ArrayType( getType(cl.getComponentType()),cl.getName().lastIndexOf('[') + 1); <snip> -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Wed Jun 05 20:57:12 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14143 invoked from network); 5 Jun 2002 20:57:11 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 5 Jun 2002 20:57:11 -0000 Received: (qmail 22077 invoked by uid 97); 5 Jun 2002 20:57:17 -0000 Delivered-To: [email protected] Received: (qmail 22004 invoked by uid 97); 5 Jun 2002 20:57:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 21992 invoked by uid 98); 5 Jun 2002 20:57:15 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) X-Qmail-Scanner-Mail-From: [email protected] via jim.skynet.vl X-Qmail-Scanner: 1.03 (Clean. Processed in 2.149909 secs) Message-ID: <00da01c20cd3$88e83fb0$0111010a@user> From: "Juozas Baliuka" <[email protected]> To: "BCEL Developers List" <[email protected]> Subject: [PATCH] Bug in getType(Class) Date: Wed, 5 Jun 2002 22:56:59 +0200 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_00D7_01C20CE4.4C48A020" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_00D7_01C20CE4.4C48A020 Content-Type: text/plain; charset="iso-8859-4" Content-Transfer-Encoding: 7bit Hi, This is fix for bug in array type handling. ------=_NextPart_000_00D7_01C20CE4.4C48A020 Content-Type: application/octet-stream; name="diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="diff" Index: manifest.txt =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/cvspublic/jakarta-bcel/manifest.txt,v retrieving revision 1.1 diff -r1.1 manifest.txt 2c2 < Main-Class: listclass=0D --- >=20 Index: src/java/org/apache/bcel/generic/Type.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: = /home/cvspublic/jakarta-bcel/src/java/org/apache/bcel/generic/Type.java,v= retrieving revision 1.4 diff -r1.4 Type.java 246c246 < return getType(cl.getName()); --- > return new = ArrayType(getType(cl.getName()),cl.getName().lastIndexOf('[') + 1); ------=_NextPart_000_00D7_01C20CE4.4C48A020 Content-Type: application/octet-stream; name="Type.java" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="Type.java" package org.apache.bcel.generic; /* = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D * The Apache Software License, Version 1.1 * * Copyright (c) 2001 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 BCEL" must not be used to endorse or promote products * derived from this software without prior written permission. For * written permission, please contact [email protected]. * * 5. Products derived from this software may not be called "Apache", * "Apache BCEL", 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. * = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D * * 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/>. */ import org.apache.bcel.Constants; import org.apache.bcel.classfile.*; import java.io.*; import java.util.ArrayList; /**=20 * Abstract super class for all possible java types, namely basic types * such as int, object types like String and array types, e.g. int[] * * @version $Id: Type.java,v 1.4 2002/06/05 11:06:53 mdahm Exp $ * @author <A HREF=3D"mailto:[email protected]">M. Dahm</A> */ public abstract class Type { protected byte type; protected String signature; // signature for the type /** Predefined constants */ public static final BasicType VOID =3D new = BasicType(Constants.T_VOID); public static final BasicType BOOLEAN =3D new = BasicType(Constants.T_BOOLEAN); public static final BasicType INT =3D new = BasicType(Constants.T_INT); public static final BasicType SHORT =3D new = BasicType(Constants.T_SHORT); public static final BasicType BYTE =3D new = BasicType(Constants.T_BYTE); public static final BasicType LONG =3D new = BasicType(Constants.T_LONG); public static final BasicType DOUBLE =3D new = BasicType(Constants.T_DOUBLE); public static final BasicType FLOAT =3D new = BasicType(Constants.T_FLOAT); public static final BasicType CHAR =3D new = BasicType(Constants.T_CHAR); public static final ObjectType OBJECT =3D new = ObjectType("java.lang.Object"); public static final ObjectType STRING =3D new = ObjectType("java.lang.String"); public static final ObjectType STRINGBUFFER =3D new = ObjectType("java.lang.StringBuffer"); public static final ObjectType THROWABLE =3D new = ObjectType("java.lang.Throwable"); public static final Type[] NO_ARGS =3D new Type[0]; public static final ReferenceType NULL =3D new = ReferenceType(); public static final Type UNKNOWN =3D new = Type(Constants.T_UNKNOWN, "<unknown object>"){}; protected Type(byte t, String s) { type =3D t; signature =3D s; } /** * @return signature for given type. */ public String getSignature() { return signature; } /** * @return type as defined in Constants */ public byte getType() { return type; } /** * @return stack size of this type (2 for long and double, 0 for void, = 1 otherwise) */ public int getSize() { switch(type) { case Constants.T_DOUBLE: case Constants.T_LONG: return 2; case Constants.T_VOID: return 0; default: return 1; } } /** * @return Type string, e.g. `int[]' */ public String toString() { return ((this.equals(Type.NULL) || (type >=3D = Constants.T_UNKNOWN)))? signature : Utility.signatureToString(signature, false); } /** * Convert type to Java method signature, e.g. int[] = f(java.lang.String x) * becomes (Ljava/lang/String;)[I * * @param return_type what the method returns * @param arg_types what are the argument types * @return method signature for given type(s). */ public static String getMethodSignature(Type return_type, Type[] = arg_types) {=20 StringBuffer buf =3D new StringBuffer("("); int length =3D (arg_types =3D=3D null)? 0 : arg_types.length; for(int i=3D0; i < length; i++) buf.append(arg_types[i].getSignature()); buf.append(')'); buf.append(return_type.getSignature()); return buf.toString(); } private static int consumed_chars=3D0; // Remember position in string, = see getArgumentTypes /** * Convert signature to a Type object. * @param signature signature string such as Ljava/lang/String; * @return type object */ public static final Type getType(String signature) throws StringIndexOutOfBoundsException { byte type =3D Utility.typeOfSignature(signature); if(type <=3D Constants.T_VOID) { consumed_chars =3D 1; return BasicType.getType(type); } else if(type =3D=3D Constants.T_ARRAY) { int dim=3D0; do { // Count dimensions dim++; } while(signature.charAt(dim) =3D=3D '['); // Recurse, but just once, if the signature is ok Type t =3D getType(signature.substring(dim)); consumed_chars +=3D dim; // update counter return new ArrayType(t, dim); } else { // type =3D=3D T_REFERENCE int index =3D signature.indexOf(';'); // Look for closing `;' if(index < 0) throw new ClassFormatException("Invalid signature: " + signature); =09 consumed_chars =3D index + 1; // "Lblabla;" `L' and `;' are = removed return new ObjectType(signature.substring(1, index).replace('/', = '.')); } } /** * Convert return value of a method (signature) to a Type object. * * @param signature signature string such as (Ljava/lang/String;)V * @return return type */ public static Type getReturnType(String signature) { try { // Read return type after `)' int index =3D signature.lastIndexOf(')') + 1; return getType(signature.substring(index)); } catch(StringIndexOutOfBoundsException e) { // Should never occur throw new ClassFormatException("Invalid method signature: " + = signature); } } /** * Convert arguments of a method (signature) to an array of Type = objects. * @param signature signature string such as (Ljava/lang/String;)V * @return array of argument types */ public static Type[] getArgumentTypes(String signature) { ArrayList vec =3D new ArrayList(); int index; Type[] types; try { // Read all declarations between for `(' and `)' if(signature.charAt(0) !=3D '(') throw new ClassFormatException("Invalid method signature: " + = signature); index =3D 1; // current string position while(signature.charAt(index) !=3D ')') { vec.add(getType(signature.substring(index))); index +=3D consumed_chars; // update position } } catch(StringIndexOutOfBoundsException e) { // Should never occur throw new ClassFormatException("Invalid method signature: " + = signature); } =09 types =3D new Type[vec.size()]; vec.toArray(types); return types; } /** Convert runtime java.lang.Class to BCEL Type object. * @param cl Java class * @return corresponding Type object */ public static Type getType(java.lang.Class cl) { if(cl =3D=3D null) { throw new IllegalArgumentException("Class must not be null"); } /* That's an amzingly easy case, because getName() returns * the signature. That's what we would have liked anyway. */ if(cl.isArray()) { return new = ArrayType(getType(cl.getName()),cl.getName().lastIndexOf('[') + 1); } else if(cl.isPrimitive()) { if(cl =3D=3D Integer.TYPE) { return INT; } else if(cl =3D=3D Void.TYPE) { return VOID; } else if(cl =3D=3D Double.TYPE) { return DOUBLE; } else if(cl =3D=3D Float.TYPE) { return FLOAT; } else if(cl =3D=3D Boolean.TYPE) { return BOOLEAN; } else if(cl =3D=3D Byte.TYPE) { return BYTE; } else if(cl =3D=3D Short.TYPE) { return SHORT; } else if(cl =3D=3D Byte.TYPE) { return BYTE; } else if(cl =3D=3D Long.TYPE) { return LONG; } else if(cl =3D=3D Character.TYPE) { return CHAR; } else { throw new IllegalStateException("Ooops, what primitive type is " + cl); } } else { // "Real" class return new ObjectType(cl.getName()); } } } ------=_NextPart_000_00D7_01C20CE4.4C48A020 Content-Type: text/plain; charset=us-ascii -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> ------=_NextPart_000_00D7_01C20CE4.4C48A020-- From [email protected] Wed Jun 05 21:10:15 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 23650 invoked from network); 5 Jun 2002 21:10:15 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 5 Jun 2002 21:10:15 -0000 Received: (qmail 25588 invoked by uid 97); 5 Jun 2002 21:10:20 -0000 Delivered-To: [email protected] Received: (qmail 25545 invoked by uid 97); 5 Jun 2002 21:10:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 25531 invoked by uid 98); 5 Jun 2002 21:10:19 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) X-Qmail-Scanner-Mail-From: [email protected] via jim.skynet.vl X-Qmail-Scanner: 1.03 (Clean. Processed in 1.418952 secs) Message-ID: <010001c20cd5$6285abd0$0111010a@user> From: "Juozas Baliuka" <[email protected]> To: "BCEL Developers List" <[email protected]> References: <00da01c20cd3$88e83fb0$0111010a@user> Subject: Re: [PATCH] Bug in getType(Class) Date: Wed, 5 Jun 2002 23:10:13 +0200 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_00FD_01C20CE6.260023F0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_00FD_01C20CE6.260023F0 Content-Type: text/plain; charset="iso-8859-4" Content-Transfer-Encoding: 7bit sorry, bug in bug fixing :) must be : ............... if (cl.isArray()) return new ArrayType(getType(cl.getComponentType()), cl.getName().lastIndexOf('[') + 1); ............. > Hi, > This is fix for bug in array type handling. > ---------------------------------------------------------------------------- ---- > -- > To unsubscribe, e-mail: <mailto:[email protected]> > For additional commands, e-mail: <mailto:[email protected]> ------=_NextPart_000_00FD_01C20CE6.260023F0 Content-Type: application/octet-stream; name="Type.java" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="Type.java" package org.apache.bcel.generic; /* = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D * The Apache Software License, Version 1.1 * * Copyright (c) 2001 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 BCEL" must not be used to endorse or promote products * derived from this software without prior written permission. For * written permission, please contact [email protected]. * * 5. Products derived from this software may not be called "Apache", * "Apache BCEL", 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. * = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D * * 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/>. */ import org.apache.bcel.Constants; import org.apache.bcel.classfile.*; import java.io.*; import java.util.ArrayList; /**=20 * Abstract super class for all possible java types, namely basic types * such as int, object types like String and array types, e.g. int[] * * @version $Id: Type.java,v 1.4 2002/06/05 11:06:53 mdahm Exp $ * @author <A HREF=3D"mailto:[email protected]">M. Dahm</A> */ public abstract class Type { protected byte type; protected String signature; // signature for the type /** Predefined constants */ public static final BasicType VOID =3D new = BasicType(Constants.T_VOID); public static final BasicType BOOLEAN =3D new = BasicType(Constants.T_BOOLEAN); public static final BasicType INT =3D new = BasicType(Constants.T_INT); public static final BasicType SHORT =3D new = BasicType(Constants.T_SHORT); public static final BasicType BYTE =3D new = BasicType(Constants.T_BYTE); public static final BasicType LONG =3D new = BasicType(Constants.T_LONG); public static final BasicType DOUBLE =3D new = BasicType(Constants.T_DOUBLE); public static final BasicType FLOAT =3D new = BasicType(Constants.T_FLOAT); public static final BasicType CHAR =3D new = BasicType(Constants.T_CHAR); public static final ObjectType OBJECT =3D new = ObjectType("java.lang.Object"); public static final ObjectType STRING =3D new = ObjectType("java.lang.String"); public static final ObjectType STRINGBUFFER =3D new = ObjectType("java.lang.StringBuffer"); public static final ObjectType THROWABLE =3D new = ObjectType("java.lang.Throwable"); public static final Type[] NO_ARGS =3D new Type[0]; public static final ReferenceType NULL =3D new = ReferenceType(); public static final Type UNKNOWN =3D new = Type(Constants.T_UNKNOWN, "<unknown object>"){}; protected Type(byte t, String s) { type =3D t; signature =3D s; } /** * @return signature for given type. */ public String getSignature() { return signature; } /** * @return type as defined in Constants */ public byte getType() { return type; } /** * @return stack size of this type (2 for long and double, 0 for void, = 1 otherwise) */ public int getSize() { switch(type) { case Constants.T_DOUBLE: case Constants.T_LONG: return 2; case Constants.T_VOID: return 0; default: return 1; } } /** * @return Type string, e.g. `int[]' */ public String toString() { return ((this.equals(Type.NULL) || (type >=3D = Constants.T_UNKNOWN)))? signature : Utility.signatureToString(signature, false); } /** * Convert type to Java method signature, e.g. int[] = f(java.lang.String x) * becomes (Ljava/lang/String;)[I * * @param return_type what the method returns * @param arg_types what are the argument types * @return method signature for given type(s). */ public static String getMethodSignature(Type return_type, Type[] = arg_types) {=20 StringBuffer buf =3D new StringBuffer("("); int length =3D (arg_types =3D=3D null)? 0 : arg_types.length; for(int i=3D0; i < length; i++) buf.append(arg_types[i].getSignature()); buf.append(')'); buf.append(return_type.getSignature()); return buf.toString(); } private static int consumed_chars=3D0; // Remember position in string, = see getArgumentTypes /** * Convert signature to a Type object. * @param signature signature string such as Ljava/lang/String; * @return type object */ public static final Type getType(String signature) throws StringIndexOutOfBoundsException { byte type =3D Utility.typeOfSignature(signature); if(type <=3D Constants.T_VOID) { consumed_chars =3D 1; return BasicType.getType(type); } else if(type =3D=3D Constants.T_ARRAY) { int dim=3D0; do { // Count dimensions dim++; } while(signature.charAt(dim) =3D=3D '['); // Recurse, but just once, if the signature is ok Type t =3D getType(signature.substring(dim)); consumed_chars +=3D dim; // update counter return new ArrayType(t, dim); } else { // type =3D=3D T_REFERENCE int index =3D signature.indexOf(';'); // Look for closing `;' if(index < 0) throw new ClassFormatException("Invalid signature: " + signature); =09 consumed_chars =3D index + 1; // "Lblabla;" `L' and `;' are = removed return new ObjectType(signature.substring(1, index).replace('/', = '.')); } } /** * Convert return value of a method (signature) to a Type object. * * @param signature signature string such as (Ljava/lang/String;)V * @return return type */ public static Type getReturnType(String signature) { try { // Read return type after `)' int index =3D signature.lastIndexOf(')') + 1; return getType(signature.substring(index)); } catch(StringIndexOutOfBoundsException e) { // Should never occur throw new ClassFormatException("Invalid method signature: " + = signature); } } /** * Convert arguments of a method (signature) to an array of Type = objects. * @param signature signature string such as (Ljava/lang/String;)V * @return array of argument types */ public static Type[] getArgumentTypes(String signature) { ArrayList vec =3D new ArrayList(); int index; Type[] types; try { // Read all declarations between for `(' and `)' if(signature.charAt(0) !=3D '(') throw new ClassFormatException("Invalid method signature: " + = signature); index =3D 1; // current string position while(signature.charAt(index) !=3D ')') { vec.add(getType(signature.substring(index))); index +=3D consumed_chars; // update position } } catch(StringIndexOutOfBoundsException e) { // Should never occur throw new ClassFormatException("Invalid method signature: " + = signature); } =09 types =3D new Type[vec.size()]; vec.toArray(types); return types; } /** Convert runtime java.lang.Class to BCEL Type object. * @param cl Java class * @return corresponding Type object */ public static Type getType(java.lang.Class cl) { if(cl =3D=3D null) { throw new IllegalArgumentException("Class must not be null"); } /* That's an amzingly easy case, because getName() returns * the signature. That's what we would have liked anyway. */ if(cl.isArray()) { return new = ArrayType(getType(cl.getComponentType()),cl.getName().lastIndexOf('[') + = 1); } else if(cl.isPrimitive()) { if(cl =3D=3D Integer.TYPE) { return INT; } else if(cl =3D=3D Void.TYPE) { return VOID; } else if(cl =3D=3D Double.TYPE) { return DOUBLE; } else if(cl =3D=3D Float.TYPE) { return FLOAT; } else if(cl =3D=3D Boolean.TYPE) { return BOOLEAN; } else if(cl =3D=3D Byte.TYPE) { return BYTE; } else if(cl =3D=3D Short.TYPE) { return SHORT; } else if(cl =3D=3D Byte.TYPE) { return BYTE; } else if(cl =3D=3D Long.TYPE) { return LONG; } else if(cl =3D=3D Character.TYPE) { return CHAR; } else { throw new IllegalStateException("Ooops, what primitive type is " + cl); } } else { // "Real" class return new ObjectType(cl.getName()); } } } ------=_NextPart_000_00FD_01C20CE6.260023F0 Content-Type: application/octet-stream; name="diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="diff" Index: manifest.txt =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/cvspublic/jakarta-bcel/manifest.txt,v retrieving revision 1.1 diff -r1.1 manifest.txt 2c2 < Main-Class: listclass=0D --- >=20 Index: src/java/org/apache/bcel/generic/Type.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: = /home/cvspublic/jakarta-bcel/src/java/org/apache/bcel/generic/Type.java,v= retrieving revision 1.4 diff -r1.4 Type.java 246c246 < return getType(cl.getName()); --- > return new = ArrayType(getType(cl.getComponentType()),cl.getName().lastIndexOf('[') + = 1); ------=_NextPart_000_00FD_01C20CE6.260023F0 Content-Type: text/plain; charset=us-ascii -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> ------=_NextPart_000_00FD_01C20CE6.260023F0-- From [email protected] Wed Jun 05 21:21:38 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 34301 invoked from network); 5 Jun 2002 21:21:38 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 5 Jun 2002 21:21:38 -0000 Received: (qmail 24992 invoked by uid 97); 5 Jun 2002 21:21:44 -0000 Delivered-To: [email protected] Received: (qmail 24954 invoked by uid 97); 5 Jun 2002 21:21:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 24942 invoked by uid 98); 5 Jun 2002 21:21:43 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) From: "Tom Copeland" <[email protected]> To: "[email protected]. Apache. Org" <[email protected]> Subject: [PATCH] JTest fixes for various verifier classes... Date: Wed, 5 Jun 2002 17:10:37 -0400 Message-ID: <00ce01c20cd5$7103d880$f501a8c0@TOMLAPTOP> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ...same kind of stuff as before: Index: Subroutines.java =================================================================== RCS file: /home/cvspublic/jakarta-bcel/src/java/org/apache/bcel/verifier/structura ls/Subroutines.java,v retrieving revision 161.129.204.104 diff -r161.129.204.104 Subroutines.java 396d395 < InstructionHandle ih = all[0]; Index: LocalVariablesInfo.java =================================================================== RCS file: /home/cvspublic/jakarta-bcel/src/java/org/apache/bcel/verifier/statics/L ocalVariablesInfo.java,v retrieving revision 161.129.204.104 diff -r161.129.204.104 LocalVariablesInfo.java 74,79d73 < /** < * The ints in the list represent code offsets where either instructions must start < * or the offset is the length of the code array. This will be verified in Pass 3a. < */ < private IntList instruction_offsets = new IntList(); < Index: InstConstraintVisitor.java =================================================================== RCS file: /home/cvspublic/jakarta-bcel/src/java/org/apache/bcel/verifier/structura ls/InstConstraintVisitor.java,v retrieving revision 1.3 diff -r1.3 InstConstraintVisitor.java 435c435 < ReferenceType objectref = (ReferenceType) (stack().peek()); --- > //ReferenceType objectref = (ReferenceType) (stack().peek()); 608d607 < Type value = stack().peek(0); 650d648 < Type value = stack().peek(0); 1641,1643d1638 < // It is a ConstantInterfaceMethodref, Pass 3a made it sure. < ConstantInterfaceMethodref cimr = (ConstantInterfaceMethodref) (cpg.getConstant(o.getIndex())); < 1645d1639 < 1671,1672c1665,1666 < ReferenceType rFromStack = (ReferenceType) fromStack; < ReferenceType rFromDesc = (ReferenceType) fromDesc; --- > //ReferenceType rFromStack = (ReferenceType) fromStack; > //ReferenceType rFromDesc = (ReferenceType) fromDesc; 1702d1695 < String objref_classname = ((ObjectType) objref).getClassName(); 1704,1705c1697,1698 < String theInterface = o.getClassName(cpg); < --- > // String theInterface = o.getClassName(cpg); > // String objref_classname = ((ObjectType) objref).getClassName();294G Index: VerifierAppFrame.java =================================================================== RCS file: /home/cvspublic/jakarta-bcel/src/java/org/apache/bcel/verifier/VerifierA ppFrame.java,v retrieving revision 1.2 diff -r1.2 VerifierAppFrame.java 294,297d293 < boolean all3aok = true; < boolean all3bok = true; < String all3amsg = ""; < String all3bmsg = ""; Yours, Tom Copeland InfoEther (865)775-7517 -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Thu Jun 06 11:21:19 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 62131 invoked from network); 6 Jun 2002 11:21:19 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 6 Jun 2002 11:21:19 -0000 Received: (qmail 67 invoked by uid 97); 6 Jun 2002 11:21:19 -0000 Delivered-To: [email protected] Received: (qmail 21 invoked by uid 97); 6 Jun 2002 11:21:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 9 invoked by uid 98); 6 Jun 2002 11:21:17 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <[email protected]> Date: Thu, 06 Jun 2002 16:20:36 +0200 From: Markus Dahm <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010628 X-Accept-Language: en-us MIME-Version: 1.0 To: BCEL Developers List <[email protected]> Subject: Re: [PATCH] Bug in getType(Class) References: <00da01c20cd3$88e83fb0$0111010a@user> <010001c20cd5$6285abd0$0111010a@user> Content-Type: text/plain; charset=ISO-8859-4; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Juozas Baliuka wrote: > sorry, bug in bug fixing :) > must be : > ............... > if (cl.isArray()) > return new ArrayType(getType(cl.getComponentType()), > cl.getName().lastIndexOf('[') + 1); > > ............. > > >>Hi, >>This is fix for bug in array type handling. >> >> > > > ---------------------------------------------------------------------------- > ---- > > > >>-- >>To unsubscribe, e-mail: <mailto:[email protected]> >>For additional commands, e-mail: <mailto:[email protected]> >> In fact no bug fix at all is needed, since it works fine already... Until you proof the opposite :) >> >>------------------------------------------------------------------------ >> >>-- >>To unsubscribe, e-mail: <mailto:[email protected]> >>For additional commands, e-mail: <mailto:[email protected]> >> >> Type.java >> >> Content-Type: >> >> application/octet-stream >> Content-Encoding: >> >> quoted-printable >> >> >> ------------------------------------------------------------------------ >> diff >> >> Content-Type: >> >> application/octet-stream >> Content-Encoding: >> >> quoted-printable >> >> >> ------------------------------------------------------------------------ >> Part 1.4 >> >> Content-Type: >> >> text/plain >> >> -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Thu Jun 06 11:30:32 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64890 invoked from network); 6 Jun 2002 11:30:32 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 6 Jun 2002 11:30:32 -0000 Received: (qmail 8457 invoked by uid 97); 6 Jun 2002 11:30:32 -0000 Delivered-To: [email protected] Received: (qmail 8441 invoked by uid 97); 6 Jun 2002 11:30:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 8430 invoked by uid 97); 6 Jun 2002 11:30:31 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Date: 6 Jun 2002 11:30:27 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-bcel/src/java/org/apache/bcel Constants.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N mdahm 2002/06/06 04:30:27 Modified: src/java/org/apache/bcel Constants.java Log: new CLASS_TYPE_NAMES Revision Changes Path 1.3 +18 -1 jakarta-bcel/src/java/org/apache/bcel/Constants.java Index: Constants.java =================================================================== RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/Constants.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- Constants.java 11 Mar 2002 12:22:39 -0000 1.2 +++ Constants.java 6 Jun 2002 11:30:27 -0000 1.3 @@ -57,7 +57,7 @@ /** * Constants for the project, mostly defined in the JVM specification. * - * @version $Id: Constants.java,v 1.2 2002/03/11 12:22:39 mdahm Exp $ + * @version $Id: Constants.java,v 1.3 2002/06/06 11:30:27 mdahm Exp $ * @author <A HREF="mailto:[email protected]">M. Dahm</A> */ public interface Constants { @@ -420,12 +420,29 @@ public static final byte T_UNKNOWN = 15; public static final byte T_ADDRESS = 16; + /** The primitive type names corresponding to the T_XX constants, + * e.g., TYPE_NAMES[T_INT] = "int" + */ public static final String[] TYPE_NAMES = { ILLEGAL_TYPE, ILLEGAL_TYPE, ILLEGAL_TYPE, ILLEGAL_TYPE, "boolean", "char", "float", "double", "byte", "short", "int", "long", "void", "array", "object", "unknown" // Non-standard }; + /** The primitive class names corresponding to the T_XX constants, + * e.g., CLASS_TYPE_NAMES[T_INT] = "java.lang.Integer" + */ + public static final String[] CLASS_TYPE_NAMES = { + ILLEGAL_TYPE, ILLEGAL_TYPE, ILLEGAL_TYPE, ILLEGAL_TYPE, + "java.lang.Boolean", "java.lang.Character", "java.lang.Float", + "java.lang.Double", "java.lang.Byte", "java.lang.Short", + "java.lang.Integer", "java.lang.Long", "java.lang.Void", + ILLEGAL_TYPE, ILLEGAL_TYPE, ILLEGAL_TYPE + }; + + /** The signature characters corresponding to primitive types, + * e.g., SHORT_TYPE_NAMES[T_INT] = "I" + */ public static final String[] SHORT_TYPE_NAMES = { ILLEGAL_TYPE, ILLEGAL_TYPE, ILLEGAL_TYPE, ILLEGAL_TYPE, "Z", "C", "F", "D", "B", "S", "I", "J", -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Thu Jun 06 11:31:22 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65336 invoked from network); 6 Jun 2002 11:31:21 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 6 Jun 2002 11:31:21 -0000 Received: (qmail 10947 invoked by uid 97); 6 Jun 2002 11:31:21 -0000 Delivered-To: [email protected] Received: (qmail 10930 invoked by uid 97); 6 Jun 2002 11:31:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 10914 invoked by uid 97); 6 Jun 2002 11:31:20 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Date: 6 Jun 2002 11:31:17 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-bcel/src/java/org/apache/bcel Repository.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N mdahm 2002/06/06 04:31:17 Modified: src/java/org/apache/bcel Repository.java Log: Delegate to Synthetic repository Revision Changes Path 1.8 +31 -134 jakarta-bcel/src/java/org/apache/bcel/Repository.java Index: Repository.java =================================================================== RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/Repository.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- Repository.java 3 Jun 2002 09:11:26 -0000 1.7 +++ Repository.java 6 Jun 2002 11:31:17 -0000 1.8 @@ -54,56 +54,30 @@ * <http://www.apache.org/>. */ -import org.apache.bcel.classfile.*; +import org.apache.bcel.classfile.JavaClass; import org.apache.bcel.util.*; -import java.util.HashMap; import java.io.*; /** * The repository maintains informations about class interdependencies, e.g., - * whether a class is a sub-class of another. JavaClass objects are put - * into a cache which can be purged with clearCache(). + * whether a class is a sub-class of another. Delegates actual class loading + * to SyntheticRepository. * - * All JavaClass objects used as arguments must have been obtained via - * the repository or been added with addClass() manually. This is - * because we have to check for real object identity (==). - * - * @version $Id: Repository.java,v 1.7 2002/06/03 09:11:26 mdahm Exp $ - * @author <A HREF="mailto:[email protected]">M. Dahm</A + * @version $Id: Repository.java,v 1.8 2002/06/06 11:31:17 mdahm Exp $ + * @author <A HREF="mailto:[email protected]">M. Dahm</A> */ public abstract class Repository { - private static ClassPath class_path = new ClassPath(); - private static HashMap classes; - private static JavaClass OBJECT; // should be final ... - - static { clearCache(); } + private static org.apache.bcel.util.SyntheticRepository _repository = + SyntheticRepository.getInstance(); /** Lookup class somewhere found in your CLASSPATH. * @return class object for given fully qualified class name, or null * if the class could not be found or parsed correctly */ public static JavaClass lookupClass(String class_name) { - if(class_name == null || class_name.equals("")) - throw new RuntimeException("Invalid class name"); - - class_name = class_name.replace('/', '.'); - - JavaClass clazz = (JavaClass)classes.get(class_name); - - if(clazz == null) { - try { - InputStream is = class_path.getInputStream(class_name); - clazz = new ClassParser(is, class_name).parse(); - class_name = clazz.getClassName(); - } catch(IOException e) { - // Don't throw exception since there may be other ways to load - return null; - } - - classes.put(class_name, clazz); - } - - return clazz; + try { + return _repository.loadClass(class_name); + } catch(ClassNotFoundException ex) { return null; } } /** @@ -112,49 +86,23 @@ * @return JavaClass object for given runtime class */ public static JavaClass lookupClass(Class clazz) { - String class_name = clazz.getName(); - - JavaClass j_class = (JavaClass)classes.get(class_name); - - if(j_class == null) { - String name = class_name; - int i = name.lastIndexOf('.'); - - if(i > 0) - name = name.substring(i + 1); - - try { - InputStream is = clazz.getResourceAsStream(name + ".class"); - j_class = new ClassParser(is, class_name).parse(); - } catch(IOException e) { - //System.err.println(e); - return null; // Use same behaviour as above - } - - classes.put(class_name, j_class); - } - - return j_class; + try { + return _repository.loadClass(clazz); + } catch(ClassNotFoundException ex) { return null; } } /** @return class file object for given Java class. */ public static ClassPath.ClassFile lookupClassFile(String class_name) { try { - return class_path.getClassFile(class_name); + return ClassPath.SYSTEM_CLASS_PATH.getClassFile(class_name); } catch(IOException e) { return null; } } /** Clear the repository. */ public static void clearCache() { - classes = new HashMap(); - OBJECT = lookupClass("java.lang.Object"); - - if(OBJECT == null) - System.err.println("Warning: java.lang.Object not found on CLASSPATH!"); - else - classes.put("java.lang.Object", OBJECT); + _repository.clear(); } /** @@ -163,35 +111,27 @@ * @return old entry in repository */ public static JavaClass addClass(JavaClass clazz) { - String name = clazz.getClassName(); - JavaClass cl = (JavaClass)classes.get(name); - - if(cl == null) - classes.put(name, cl = clazz); - - return cl; + JavaClass old = _repository.findClass(clazz.getClassName()); + _repository.storeClass(clazz); + return old; } /** - * Remove class with given (fully qualifid) name from repository. + * Remove class with given (fully qualified) name from repository. */ public static void removeClass(String clazz) { - classes.remove(clazz); + _repository.removeClass(_repository.findClass(clazz)); } /** * Remove given class from repository. */ public static void removeClass(JavaClass clazz) { - removeClass(clazz.getClassName()); + _repository.removeClass(clazz); } - private static final JavaClass getSuperClass(JavaClass clazz) { - if(clazz == OBJECT) - return null; - - return lookupClass(clazz.getSuperclassName()); + return clazz.getSuperClass(); } /** @@ -199,17 +139,13 @@ * Object is always the last element */ public static JavaClass[] getSuperClasses(JavaClass clazz) { - ClassVector vec = new ClassVector(); - - for(clazz = getSuperClass(clazz); clazz != null; clazz = getSuperClass(clazz)) - vec.addElement(clazz); - - return vec.toArray(); + return clazz.getSuperClasses(); } /** * @return list of super classes of clazz in ascending order, i.e., - * Object is always the last element. "null", if clazz cannot be found. + * Object is always the last element. return "null", if class + * cannot be found. */ public static JavaClass[] getSuperClasses(String class_name) { JavaClass jc = lookupClass(class_name); @@ -218,30 +154,11 @@ /** * @return all interfaces implemented by class and its super - * classes and the interfaces that those interfaces extend, and so on + * classes and the interfaces that those interfaces extend, and so on. + * (Some people call this a transitive hull). */ public static JavaClass[] getInterfaces(JavaClass clazz) { - ClassVector vec = new ClassVector(); - ClassQueue queue = new ClassQueue(); - - queue.enqueue(clazz); - - while(!queue.empty()) { - clazz = queue.dequeue(); - - String s = clazz.getSuperclassName(); - String[] interfaces = clazz.getInterfaceNames(); - - if(clazz.isInterface()) - vec.addElement(clazz); - else if(!s.equals("java.lang.Object")) - queue.enqueue(lookupClass(s)); - - for(int i=0; i < interfaces.length; i++) - queue.enqueue(lookupClass(interfaces[i])); - } - - return vec.toArray(); + return clazz.getAllInterfaces(); } /** @@ -253,22 +170,11 @@ } /** + * Equivalent to runtime "instanceof" operator. * @return true, if clazz is an instance of super_class */ public static boolean instanceOf(JavaClass clazz, JavaClass super_class) { - if(clazz == super_class) - return true; - - JavaClass[] super_classes = getSuperClasses(clazz); - - for(int i=0; i < super_classes.length; i++) - if(super_classes[i] == super_class) - return true; - - if(super_class.isInterface()) - return implementationOf(clazz, super_class); - - return false; + return clazz.instanceOf(super_class); } /** @@ -296,16 +202,7 @@ * @return true, if clazz is an implementation of interface inter */ public static boolean implementationOf(JavaClass clazz, JavaClass inter) { - if(clazz == inter) - return true; - - JavaClass[] super_interfaces = getInterfaces(clazz); - - for(int i=0; i < super_interfaces.length; i++) - if(super_interfaces[i] == inter) - return true; - - return false; + return clazz.implementationOf(inter); } /** -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Thu Jun 06 11:32:10 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66058 invoked from network); 6 Jun 2002 11:32:10 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 6 Jun 2002 11:32:10 -0000 Received: (qmail 11411 invoked by uid 97); 6 Jun 2002 11:32:09 -0000 Delivered-To: [email protected] Received: (qmail 11395 invoked by uid 97); 6 Jun 2002 11:32:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 11384 invoked by uid 97); 6 Jun 2002 11:32:08 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Date: 6 Jun 2002 11:32:05 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-bcel/src/java/org/apache/bcel/util SyntheticRepository.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N mdahm 2002/06/06 04:32:05 Modified: src/java/org/apache/bcel/util SyntheticRepository.java Log: Cleanup/rebuild of Synthetic repository Revision Changes Path 1.3 +122 -83 jakarta-bcel/src/java/org/apache/bcel/util/SyntheticRepository.java Index: SyntheticRepository.java =================================================================== RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/util/SyntheticRepository.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- SyntheticRepository.java 5 Jun 2002 10:17:38 -0000 1.2 +++ SyntheticRepository.java 6 Jun 2002 11:32:05 -0000 1.3 @@ -62,96 +62,135 @@ import org.apache.bcel.classfile.*; /** - * This repository is used in situations where a - * Class is created outside the realm of a ClassLoader. - * + * This repository is used in situations where a Class is created + * outside the realm of a ClassLoader. Classes are loaded from + * the file systems using the paths specified in the given + * class path. By default, this is the value returned by + * ClassPath.getClassPath(). + * <br> * It is designed to be used as a singleton, however it * can also be used with custom classpaths. + * + * @version $Id: SyntheticRepository.java,v 1.3 2002/06/06 11:32:05 mdahm Exp $ + * @author <A HREF="mailto:[email protected]">M. Dahm</A> + * @author David Dixon-Peugh */ +public class SyntheticRepository implements Repository { + private static final String DEFAULT_PATH = ClassPath.getClassPath(); -public class SyntheticRepository - implements Repository -{ - private static Map instances = - new HashMap(); // CLASSPATH X REPOSITORY - - private ClassPath path = null; - private static String defaultPath = ClassPath.getClassPath(); + private static HashMap _instances = new HashMap(); // CLASSPATH X REPOSITORY - private Map loadedClasses = - new HashMap(); // CLASSNAME X JAVACLASS + private ClassPath _path = null; + private HashMap _loadedClasses = new HashMap(); // CLASSNAME X JAVACLASS - public SyntheticRepository( String classPath ) { - path = new ClassPath( classPath ); - instances.put( classPath, this ); - } - - public SyntheticRepository( ) { - path = new ClassPath( ); - instances.put( ClassPath.getClassPath(), this ); - } - - public static SyntheticRepository getInstance() { - SyntheticRepository rep =(SyntheticRepository) - instances.get( defaultPath ); - - if(rep == null) { - rep = new SyntheticRepository(); // adds itself to instances + private SyntheticRepository(ClassPath path) { + _path = path; + } + + public static SyntheticRepository getInstance() { + return getInstance(ClassPath.SYSTEM_CLASS_PATH); + } + + public static SyntheticRepository getInstance(ClassPath classPath) { + SyntheticRepository rep = (SyntheticRepository)_instances.get(classPath); + + if(rep == null) { + rep = new SyntheticRepository(classPath); + _instances.put(classPath, rep); + } + + return rep; + } + + /** + * Store a new JavaClass instance into this Repository. + */ + public void storeClass(JavaClass clazz) { + _loadedClasses.put(clazz.getClassName(), clazz); + clazz.setRepository(this); + } + + /** + * Remove class from repository + */ + public void removeClass(JavaClass clazz) { + _loadedClasses.remove(clazz.getClassName()); + } + + /** + * Find an already defined JavaClass. + */ + public JavaClass findClass(String className) { + return (JavaClass)_loadedClasses.get(className); + } + + /** + * Lookup a JavaClass object from the class name provided. + */ + public JavaClass loadClass(String className) + throws ClassNotFoundException + { + if(className == null || className.equals("")) { + throw new IllegalArgumentException("Invalid class name " + className); + } + + className = className.replace('/', '.'); // Just in case, canonical form + + try { + return loadClass(_path.getInputStream(className), className); + } catch(IOException e) { + throw new ClassNotFoundException("Exception while looking for class " + + className + ": " + e.toString()); + } + } + + /** + * Try to find class source via getResourceAsStream(). + * @see Class + * @return JavaClass object for given runtime class + */ + public JavaClass loadClass(Class clazz) throws ClassNotFoundException { + String className = clazz.getName(); + String name = className; + int i = name.lastIndexOf('.'); + + if(i > 0) { + name = name.substring(i + 1); + } + + return loadClass(clazz.getResourceAsStream(name + ".class"), className); + } + + private JavaClass loadClass(InputStream is, String className) + throws ClassNotFoundException + { + JavaClass clazz = findClass(className); + + if(clazz != null) { + return clazz; + } + + try { + if(is != null) { + ClassParser parser = new ClassParser(is, className); + clazz = parser.parse(); + + storeClass(clazz); + + return clazz; } - - return rep; + } catch(IOException e) { + throw new ClassNotFoundException("Exception while looking for class " + + className + ": " + e.toString()); } - public static SyntheticRepository getInstance(String classPath) { - return (SyntheticRepository) instances.get( classPath ); - } - - /** - * Store a new JavaClass into this Repository. - */ - public void storeClass( JavaClass clazz ) { - loadedClasses.put( clazz.getClassName(), - clazz ); - } - - /** - * Find an already defined JavaClass. - */ - public JavaClass findClass( String className ) { - if ( loadedClasses.containsKey( className )) { - return (JavaClass) loadedClasses.get( className ); - } else { - return null; - } - } - - /** - * Lookup a JavaClass object from the Class Name provided. - */ - public JavaClass loadClass( String className ) - throws ClassNotFoundException - { - JavaClass RC = findClass( className ); - if (RC != null) { - return RC; - } - - try { - - InputStream is = path.getInputStream( className, ".class" ); - if (is != null) { - ClassParser parser = new ClassParser( is, className ); - RC = parser.parse(); - - storeClass( RC ); - - return RC; - } - } catch (IOException e) { - throw new ClassNotFoundException("Exception looking for class " + - className + ": " + e.toString()); - - } - throw new ClassNotFoundException("SyntheticRepository does not load new classes."); - } + throw new ClassNotFoundException("SyntheticRepository could not load " + + className); + } + + /** Clear all entries from cache. + */ + public void clear() { + _loadedClasses.clear(); + } } -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Thu Jun 06 11:32:59 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 67223 invoked from network); 6 Jun 2002 11:32:59 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 6 Jun 2002 11:32:59 -0000 Received: (qmail 11863 invoked by uid 97); 6 Jun 2002 11:32:59 -0000 Delivered-To: [email protected] Received: (qmail 11845 invoked by uid 97); 6 Jun 2002 11:32:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 11834 invoked by uid 97); 6 Jun 2002 11:32:58 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Date: 6 Jun 2002 11:32:55 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-bcel/src/java/org/apache/bcel/util ClassPath.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N mdahm 2002/06/06 04:32:55 Modified: src/java/org/apache/bcel/util ClassPath.java Log: Remember class path, toString() Revision Changes Path 1.4 +26 -2 jakarta-bcel/src/java/org/apache/bcel/util/ClassPath.java Index: ClassPath.java =================================================================== RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/util/ClassPath.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- ClassPath.java 14 Dec 2001 18:44:29 -0000 1.3 +++ ClassPath.java 6 Jun 2002 11:32:55 -0000 1.4 @@ -62,16 +62,21 @@ * Responsible for loading (class) files from the CLASSPATH. Inspired by * sun.tools.ClassPath. * - * @version $Id: ClassPath.java,v 1.3 2001/12/14 18:44:29 mdahm Exp $ + * @version $Id: ClassPath.java,v 1.4 2002/06/06 11:32:55 mdahm Exp $ * @author <A HREF="mailto:[email protected]">M. Dahm</A> */ public class ClassPath { + public static final ClassPath SYSTEM_CLASS_PATH = new ClassPath(); + private PathEntry[] paths; + private String class_path; /** * Search for classes in given path. */ public ClassPath(String class_path) { + this.class_path = class_path; + ArrayList vec = new ArrayList(); for(StringTokenizer tok=new StringTokenizer(class_path, @@ -102,11 +107,30 @@ /** * Search for classes in CLASSPATH. + * @deprecated Use SYSTEM_CLASS_PATH constant */ public ClassPath() { this(getClassPath()); } + /** @return used class path string + */ + public String toString() { + return class_path; + } + + public int hashCode() { + return class_path.hashCode(); + } + + public boolean equals(Object o) { + if(o instanceof ClassPath) { + return class_path.equals(((ClassPath)o).class_path); + } + + return false; + } + private static final void getPathComponents(String path, ArrayList list) { if(path != null) { StringTokenizer tok = new StringTokenizer(path, File.pathSeparator); @@ -162,7 +186,7 @@ buf.append(File.pathSeparatorChar); } - return buf.toString(); + return buf.toString().intern(); } /** -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Thu Jun 06 11:33:25 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 67325 invoked from network); 6 Jun 2002 11:33:25 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 6 Jun 2002 11:33:25 -0000 Received: (qmail 12147 invoked by uid 97); 6 Jun 2002 11:33:25 -0000 Delivered-To: [email protected] Received: (qmail 12111 invoked by uid 97); 6 Jun 2002 11:33:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 12100 invoked by uid 97); 6 Jun 2002 11:33:24 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Date: 6 Jun 2002 11:33:20 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-bcel/src/java/org/apache/bcel/util ClassLoader.java ClassLoaderRepository.java Repository.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N mdahm 2002/06/06 04:33:20 Modified: src/java/org/apache/bcel/util ClassLoader.java ClassLoaderRepository.java Repository.java Log: Added removeClass Revision Changes Path 1.5 +24 -26 jakarta-bcel/src/java/org/apache/bcel/util/ClassLoader.java Index: ClassLoader.java =================================================================== RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/util/ClassLoader.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- ClassLoader.java 10 May 2002 14:45:56 -0000 1.4 +++ ClassLoader.java 6 Jun 2002 11:33:20 -0000 1.5 @@ -79,7 +79,7 @@ * where to use the system class loader in the constructor. The default value contains * "java.", "sun.", "javax."</p> * - * @version $Id: ClassLoader.java,v 1.4 2002/05/10 14:45:56 ddp Exp $ + * @version $Id: ClassLoader.java,v 1.5 2002/06/06 11:33:20 mdahm Exp $ * @author <A HREF="mailto:[email protected]">M. Dahm</A> * @see JavaWrapper * @see ClassPath @@ -89,42 +89,40 @@ private String[] ignored_packages = { "java.", "javax.", "sun." }; - private Repository repository = - SyntheticRepository.getInstance(); - private java.lang.ClassLoader deferTo = ClassLoader.getSystemClassLoader(); + private Repository repository = SyntheticRepository.getInstance(); + private java.lang.ClassLoader deferTo = ClassLoader.getSystemClassLoader(); public ClassLoader() { } - public ClassLoader( java.lang.ClassLoader deferTo ) { - this.deferTo = deferTo; - this.repository = new ClassLoaderRepository( deferTo ); - } + public ClassLoader(java.lang.ClassLoader deferTo) { + this.deferTo = deferTo; + this.repository = new ClassLoaderRepository(deferTo); + } /** @param ignored_packages classes contained in these packages will be loaded * with the system class loader */ public ClassLoader(String[] ignored_packages) { - addIgnoredPkgs( ignored_packages ); + addIgnoredPkgs(ignored_packages); } - public ClassLoader( java.lang.ClassLoader deferTo, - String [] ignored_packages ) { - this.deferTo = deferTo; - this.repository = new ClassLoaderRepository( deferTo ); + public ClassLoader(java.lang.ClassLoader deferTo, String [] ignored_packages) { + this.deferTo = deferTo; + this.repository = new ClassLoaderRepository(deferTo); - addIgnoredPkgs( ignored_packages ); - } + addIgnoredPkgs(ignored_packages); + } - private void addIgnoredPkgs( String[] ignored_packages ) { - String[] new_p = new String[ignored_packages.length + this.ignored_packages.length]; + private void addIgnoredPkgs(String[] ignored_packages) { + String[] new_p = new String[ignored_packages.length + this.ignored_packages.length]; - System.arraycopy(this.ignored_packages, 0, new_p, 0, this.ignored_packages.length); - System.arraycopy(ignored_packages, 0, new_p, this.ignored_packages.length, - ignored_packages.length); + System.arraycopy(this.ignored_packages, 0, new_p, 0, this.ignored_packages.length); + System.arraycopy(ignored_packages, 0, new_p, this.ignored_packages.length, + ignored_packages.length); - this.ignored_packages = new_p; - } + this.ignored_packages = new_p; + } protected Class loadClass(String class_name, boolean resolve) throws ClassNotFoundException @@ -152,9 +150,9 @@ if(class_name.indexOf("$$BCEL$$") >= 0) clazz = createClass(class_name); else { // Fourth try: Load classes via repository - if ( (clazz = repository.loadClass( class_name )) != null) { - clazz = modifyClass( clazz ); - } + if ((clazz = repository.loadClass(class_name)) != null) { + clazz = modifyClass(clazz); + } else throw new ClassNotFoundException(class_name); } @@ -192,7 +190,7 @@ * * The default implementation interprets the string as a encoded compressed * Java class, unpacks and decodes it with the Utility.decode() method, and - * parses thee resulting byte array and returns the resulting JavaClass object. + * parses the resulting byte array and returns the resulting JavaClass object. * * @param class_name compressed byte code with "$$BCEL$$" in it */ 1.2 +7 -0 jakarta-bcel/src/java/org/apache/bcel/util/ClassLoaderRepository.java Index: ClassLoaderRepository.java =================================================================== RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/util/ClassLoaderRepository.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ClassLoaderRepository.java 8 May 2002 20:59:29 -0000 1.1 +++ ClassLoaderRepository.java 6 Jun 2002 11:33:20 -0000 1.2 @@ -89,6 +89,13 @@ clazz.setRepository( this ); } + /** + * Remove class from repository + */ + public void removeClass(JavaClass clazz) { + loadedClasses.remove(clazz.getClassName()); + } + /** * Find an already defined JavaClass. */ 1.2 +6 -0 jakarta-bcel/src/java/org/apache/bcel/util/Repository.java Index: Repository.java =================================================================== RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/util/Repository.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- Repository.java 8 May 2002 20:59:29 -0000 1.1 +++ Repository.java 6 Jun 2002 11:33:20 -0000 1.2 @@ -62,12 +62,18 @@ * Store the provided class under "clazz.getClassName()" */ public void storeClass( JavaClass clazz ); + + /** + * Remove class from repository + */ + public void removeClass( JavaClass clazz ); /** * Find the class with the name provided, if the class * isn't there, return NULL. */ public JavaClass findClass( String className ); + /** * Find the class with the name provided, if the class -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Thu Jun 06 11:35:48 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68735 invoked from network); 6 Jun 2002 11:35:47 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 6 Jun 2002 11:35:47 -0000 Received: (qmail 15364 invoked by uid 97); 6 Jun 2002 11:35:47 -0000 Delivered-To: [email protected] Received: (qmail 15348 invoked by uid 97); 6 Jun 2002 11:35:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 15336 invoked by uid 97); 6 Jun 2002 11:35:46 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Date: 6 Jun 2002 11:35:43 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-bcel/src/java/org/apache/bcel/classfile JavaClass.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N mdahm 2002/06/06 04:35:43 Modified: src/java/org/apache/bcel/classfile JavaClass.java Log: Added repository functionality Revision Changes Path 1.9 +151 -76 jakarta-bcel/src/java/org/apache/bcel/classfile/JavaClass.java Index: JavaClass.java =================================================================== RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/JavaClass.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- JavaClass.java 3 Jun 2002 09:06:37 -0000 1.8 +++ JavaClass.java 6 Jun 2002 11:35:43 -0000 1.9 @@ -55,8 +55,7 @@ */ import org.apache.bcel.Constants; -// import org.apache.bcel.Repository; -import org.apache.bcel.util.Repository; +import org.apache.bcel.Repository; import org.apache.bcel.util.SyntheticRepository; import org.apache.bcel.util.ClassVector; import org.apache.bcel.util.ClassQueue; @@ -74,7 +73,7 @@ * class file. Those interested in programatically generating classes * should see the <a href="../generic/ClassGen.html">ClassGen</a> class. - * @version $Id: JavaClass.java,v 1.8 2002/06/03 09:06:37 mdahm Exp $ + * @version $Id: JavaClass.java,v 1.9 2002/06/06 11:35:43 mdahm Exp $ * @see org.apache.bcel.generic.ClassGen * @author <A HREF="mailto:[email protected]">M. Dahm</A> */ @@ -102,13 +101,13 @@ static boolean debug = false; // Debugging on/off static char sep = '/'; // directory separator - /** - * In cases where we go ahead and create something, - * use the default SyntheticRepository, because we - * don't know any better. - */ - private org.apache.bcel.util.Repository repository = - SyntheticRepository.getInstance(); + /** + * In cases where we go ahead and create something, + * use the default SyntheticRepository, because we + * don't know any better. + */ + private org.apache.bcel.util.Repository repository = + SyntheticRepository.getInstance(); /** * Constructor gets all contents as arguments. @@ -170,7 +169,7 @@ break; } } - + /* According to the specification the following entries must be of type * `ConstantClass' but we check that anyway via the * `ConstPool.getConstant' method. @@ -289,11 +288,10 @@ try { dump(ds); - ds.close(); } catch(IOException e) { e.printStackTrace(); } finally { - try { ds.close(); } catch(IOException e2) { e2.printStackTrace(); } + try { ds.close(); } catch(IOException e2) { e2.printStackTrace(); } } return s.toByteArray(); @@ -393,9 +391,9 @@ public String[] getInterfaceNames() { return interface_names; } /** - * @return Implemented interfaces. + * @return Indices in constant pool of implemented interfaces. */ - public int[] getInterfaces() { return interfaces; } + public int[] getInterfaceIndices() { return interfaces; } /** * @return Major number of compiler version. @@ -440,7 +438,7 @@ if(sep != null) try { JavaClass.sep = sep.charAt(0); - } catch(StringIndexOutOfBoundsException e) {} // Never reached + } catch(StringIndexOutOfBoundsException e) {} // Never reached } /** @@ -635,10 +633,6 @@ return c; } - public final boolean instanceOf(JavaClass super_class) { - return org.apache.bcel.Repository.instanceOf(this, super_class); - } - public final boolean isSuper() { return (access_flags & Constants.ACC_SUPER) != 0; } @@ -653,70 +647,151 @@ return source; } - // Added on 4/16/2002 to deprecate the old Repository class. -- DDP + /********************* New repository functionality *********************/ - /** - * Gets the ClassRepository which holds its definition. - */ - public org.apache.bcel.util.Repository getRepository() { - return repository; + /** + * Gets the ClassRepository which holds its definition. By default + * this is the same as SyntheticRepository.getInstance(); + */ + public org.apache.bcel.util.Repository getRepository() { + return repository; + } + + /** + * Sets the ClassRepository which loaded the JavaClass. + * Should be called immediately after parsing is done. + */ + public void setRepository(org.apache.bcel.util.Repository repository) { + this.repository = repository; + } + + /** Equivalent to runtime "instanceof" operator. + * + * @return true if this JavaClass is derived from teh super class + */ + public final boolean instanceOf(JavaClass super_class) { + if(this.equals(super_class)) + return true; + + JavaClass[] super_classes = getSuperClasses(); + + for(int i=0; i < super_classes.length; i++) { + if(super_classes[i].equals(super_class)) { + return true; + } } - /** - * Sets the ClassRepository which loaded the JavaClass. - * Should be called immediately after parsing is done. - */ - public void setRepository( org.apache.bcel.util.Repository repository ) { - this.repository = repository; + if(super_class.isInterface()) { + return implementationOf(super_class); } - /** - * Get the Superclass for this JavaClass object. - */ - public JavaClass getSuperclass() { - try { - return repository.loadClass( getSuperclassName() ); - } catch (ClassNotFoundException cnfe) { - System.err.println("WARNING: Could not find Superclass."); - cnfe.printStackTrace(); - return null; - } + return false; + } + + /** + * @return true, if clazz is an implementation of interface inter + */ + public boolean implementationOf(JavaClass inter) { + if(!inter.isInterface()) { + throw new IllegalArgumentException(inter.getClassName() + " is no interface"); } - /** - * Get all interfaces implemented by the JavaClass object. - */ - public JavaClass [] getAllInterfaces() { - try { - ClassQueue queue = new ClassQueue(); - ClassVector vec = new ClassVector(); - - queue.enqueue( this ); - - while (!queue.empty()) { - JavaClass clazz = queue.dequeue(); + if(this.equals(inter)) { + return true; + } - JavaClass souper = clazz.getSuperclass(); - String interfaces[] = clazz.getInterfaceNames(); - - if (clazz.isInterface()) { - vec.addElement( clazz ); - } else { - if (souper != null) { - queue.enqueue( souper ); - } - } - - for (int i = 0; i < interfaces.length; i++) { - queue.enqueue( repository.loadClass( interfaces[i] )); - } - } - - return vec.toArray(); - } catch (ClassNotFoundException cnfe) { - System.err.println("WARNING: Class not found."); - cnfe.printStackTrace(); - return null; + JavaClass[] super_interfaces = getAllInterfaces(); + + for(int i=0; i < super_interfaces.length; i++) { + if(super_interfaces[i].equals(inter)) { + return true; + } + } + + return false; + } + + /** + * @return the superclass for this JavaClass object, or null if this + * is java.lang.Object + */ + public JavaClass getSuperClass() { + if("java.lang.Object".equals(getSuperclassName())) { + return null; + } + + try { + return repository.loadClass(getSuperclassName()); + } catch(ClassNotFoundException e) { + System.err.println(e); + return null; + } + } + + /** + * @return list of super classes of this class in ascending order, i.e., + * java.lang.Object is always the last element + */ + public JavaClass[] getSuperClasses() { + JavaClass clazz = this; + ClassVector vec = new ClassVector(); + + for(clazz = clazz.getSuperClass(); clazz != null; + clazz = clazz.getSuperClass()) + { + vec.addElement(clazz); + } + + return vec.toArray(); + } + + /** + * Get interfaces directly implemented by this JavaClass. + */ + public JavaClass[] getInterfaces() { + String[] interfaces = getInterfaceNames(); + JavaClass[] classes = new JavaClass[interfaces.length]; + + try { + for(int i = 0; i < interfaces.length; i++) { + classes[i] = repository.loadClass(interfaces[i]); + } + } catch(ClassNotFoundException e) { + System.err.println(e); + return null; + } + + return classes; + } + + /** + * Get all interfaces implemented by this JavaClass (transitively). + */ + public JavaClass[] getAllInterfaces() { + ClassQueue queue = new ClassQueue(); + ClassVector vec = new ClassVector(); + + queue.enqueue(this); + + while(!queue.empty()) { + JavaClass clazz = queue.dequeue(); + + JavaClass souper = clazz.getSuperClass(); + JavaClass[] interfaces = clazz.getInterfaces(); + + if(clazz.isInterface()) { + vec.addElement(clazz); + } else { + if(souper != null) { + queue.enqueue(souper); } + } + + for(int i = 0; i < interfaces.length; i++) { + queue.enqueue(interfaces[i]); + } } + + return vec.toArray(); + } } -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Thu Jun 06 11:37:43 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70727 invoked from network); 6 Jun 2002 11:37:43 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 6 Jun 2002 11:37:43 -0000 Received: (qmail 16662 invoked by uid 97); 6 Jun 2002 11:37:43 -0000 Delivered-To: [email protected] Received: (qmail 16646 invoked by uid 97); 6 Jun 2002 11:37:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 16634 invoked by uid 98); 6 Jun 2002 11:37:42 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <[email protected]> Date: Thu, 06 Jun 2002 16:37:02 +0200 From: Markus Dahm <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010628 X-Accept-Language: en-us MIME-Version: 1.0 To: BCEL Developers List <[email protected]> Subject: Repository & JavaClass Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I made a number of changes to adapt JavaClass and Repository to the new repository model. I hope everything still works for you. Cheers Markus -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Thu Jun 06 11:56:46 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80241 invoked from network); 6 Jun 2002 11:56:46 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 6 Jun 2002 11:56:46 -0000 Received: (qmail 9993 invoked by uid 97); 6 Jun 2002 11:56:46 -0000 Delivered-To: [email protected] Received: (qmail 9972 invoked by uid 97); 6 Jun 2002 11:56:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 9949 invoked by uid 98); 6 Jun 2002 11:56:45 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-Id: <161.129.204.104.0.20020606133626.01fe2140@localhost> X-Sender: baliuka/taurus.mediaworks.lt@localhost X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Thu, 06 Jun 2002 13:59:11 +0200 To: "BCEL Developers List" <[email protected]> From: Juozas Baliuka <[email protected]> Subject: Re: [PATCH] Bug in getType(Class) In-Reply-To: <[email protected]> References: <00da01c20cd3$88e83fb0$0111010a@user> <010001c20cd5$6285abd0$0111010a@user> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Yes, I see it works, documentation confused me: *@param signature signature string such as Ljava/lang/String;* but it is like this : "@param signature signature string such as Ljava/lang/String; or [Ljava.lang.String Magic method :) ...................................................................................... /** * Convert signature to a Type object. * @param signature signature string such as Ljava/lang/String; * @return type object */ public static final Type getType(String signature) ................................................................................... At 16:20 2002.06.06 +0200, you wrote: >Juozas Baliuka wrote: > >>sorry, bug in bug fixing :) >> must be : >>............... >>if (cl.isArray()) >> return new ArrayType(getType(cl.getComponentType()), >>cl.getName().lastIndexOf('[') + 1); >>............. >> >>>Hi, >>>This is fix for bug in array type handling. >>> >> >>---------------------------------------------------------------------------- >>---- >> >> >>>-- >>>To unsubscribe, e-mail: <mailto:[email protected]> >>>For additional commands, e-mail: <mailto:[email protected]> > >In fact no bug fix at all is needed, since it works fine already... >Until you proof the opposite :) > >>> >>>------------------------------------------------------------------------ >>> >>>-- >>>To unsubscribe, e-mail: <mailto:[email protected]> >>>For additional commands, e-mail: <mailto:[email protected]> >>> >>>Type.java >>> >>>Content-Type: >>> >>>application/octet-stream >>>Content-Encoding: >>> >>>quoted-printable >>> >>> >>>------------------------------------------------------------------------ >>>diff >>> >>>Content-Type: >>> >>>application/octet-stream >>>Content-Encoding: >>> >>>quoted-printable >>> >>> >>>------------------------------------------------------------------------ >>>Part 1.4 >>> >>>Content-Type: >>> >>>text/plain >>> > > > > >-- >To unsubscribe, e-mail: <mailto:[email protected]> >For additional commands, e-mail: <mailto:[email protected]> -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Thu Jun 06 14:25:21 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20361 invoked from network); 6 Jun 2002 14:25:21 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 6 Jun 2002 14:25:21 -0000 Received: (qmail 3932 invoked by uid 97); 6 Jun 2002 14:25:09 -0000 Delivered-To: [email protected] Received: (qmail 3753 invoked by uid 97); 6 Jun 2002 14:25:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 3620 invoked by uid 98); 6 Jun 2002 14:25:07 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-Id: <161.129.204.104.0.20020606161956.01fb3d58@localhost> X-Sender: baliuka/taurus.mediaworks.lt@localhost X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Thu, 06 Jun 2002 16:27:14 +0200 To: "BCEL Developers List" <[email protected]>, BCEL Developers List <[email protected]> From: Juozas Baliuka <[email protected]> Subject: Re: Repository & JavaClass In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Yes, everything OK. and new repository model is very good idea. BWT SyntheticRepository. Is it not the same as ClassLoaderRepository with SystemClassLoader ? All classes in classpath are visible for SystemClassLoader. At 16:37 2002.06.06 +0200, Markus Dahm wrote: >Hi, > >I made a number of changes to adapt JavaClass and Repository to the >new repository model. I hope everything still works for you. > >Cheers > Markus > > >-- >To unsubscribe, e-mail: <mailto:[email protected]> >For additional commands, e-mail: <mailto:[email protected]> -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Mon Jun 10 10:48:02 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90932 invoked from network); 10 Jun 2002 10:48:02 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 10 Jun 2002 10:48:02 -0000 Received: (qmail 11038 invoked by uid 97); 10 Jun 2002 10:48:02 -0000 Delivered-To: [email protected] Received: (qmail 10971 invoked by uid 97); 10 Jun 2002 10:48:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 10929 invoked by uid 98); 10 Jun 2002 10:48:00 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Subject: BCEL + Jiapi From: Joni Suominen <[email protected]> To: [email protected] Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 Date: 10 Jun 2002 13:50:16 +0300 Message-Id: <[email protected]> Mime-Version: 1.0 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi all, We were recently contacted by Markus about merging some of the ideas from Jiapi (http://jiapi.sf.net) to BCEL. Since you have been discussing about adding features to BCEL to do class enhancements (faster reflection, better JavaBeans API etc.), it might be a good idea to build them on top of a common framework. We have started to do similar enhancement project. http://www.sf.net/projects/jadoe which implements JDO enhancer as specified in JDO specification. This is an email which I sent to Markus last week: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ From: [email protected] Date: 06 Jun 2002 09:38:53 +0300 Hi Markus! This is an interesting suggestion. I browsed through the thread "New Reflection/Beans API" from bcel-dev list. I assume that you refer to the discussion there with "since we're currently discussing additional reflective features for BCEL...". I understood those ideas so that you would like to add features to BCEL to do "enhancement" for classes. E.g. enhancements to support faster reflection, enhancements to support better Java beans capabilities etc. Please correct me if I'm wrong. This is very much similar to what we have started to do in a Jadoe project (http://www.sf.net/projects/jadoe). Jadoe implements a JDO enhancer by augmenting the target classes so that they implement JDO's PersistenceCapable interface correctly. This is specified in a JDO specification. The project utilizes Jiapi framework to do the required bytecode enhancements. I'll give you a brief description of Jiapi for you to get better understanding of our focus and project's state. We know BCEL pretty well since we build on top of it. 1. Jiapi reflection This is the lowest layer in Jiapi architecture. Despite the name, this should not be confused with the ideas about reflection you have been discussing in bcel-dev list. Jiapi reflection just provides a load time API which mimics the Java reflection API. This part of Jiapi significantly overlaps with BCEL. There's many similar concepts which Jiapi and BCEL share at this level: BCEL Jiapi InstructionList InstructionList InstructionFactory InstructionFactory JavaClass and ClassGen JiapiClass Method + MethodGen JiapiMethod Field + FieldGen JiapiField Instruction + InstructionHandle Instruction ... ... So, Jiapi reflection provides similar functionality than BCEL through a bit different API. The design principles that we have tried to follow when designing this API: - The API should be as closely similar to Java reflection API than possible/feasible. - InstructionList should follow Java collection (List's) semantics. In addition it should provide a way to create a sub list that allows structural modifications from any of its peers. This requirement came from the Jiapi framework which is explained below. - JiapiClass, JiapiMethod and JiapiField must hide the internal details of Java classfile structure. This allows us to hide concepts like constant pool, exception table etc. We believe that this hiding simplifies the API and makes it more accessible to people who are not familiar with the Java classfile structure. - When a new abstraction is needed, create it from a Java programmer's perspective. As an example, when we needed an abstraction for exceptions we created two concepts: TryBlock and ExceptionHandler. Conceptually these map against try-catch block in Java language and internally these are mapped to Java classfile's exception table structure. I am not sure if you would be so interested about this layer since it really doesn't bring any new functionality what BCEL already provides? It just wraps the similar functionality to a new API. 2. Jiapi framework Jiapi instrumentation framework is built on top of Jiapi reflection. It provides a framework to create "bytecode enhancers". The framework provides following features at the moment: - A mechanism to target instrumentations to a specific set of classes. e.g.: InstrumentationDescriptor.addInclusionRule("org.opensource.*"); InstrumentationDescriptor.addExclusionRule("org.closedsource.*"); - A simple and lightweight component model to encapsulate specific bytecode manipulation. These components implement alt.jiapi.Instrumentor interface and do their work at method: public void instrument(InstructionList il) There's a couple of built-in instrumentors in alt.jiapi.instrumentor package. - A pipeline to plug instrumentors together. This pipeline is implemented as a filter design pattern and the analogy which we have been used, is Unix shell. As in Unix shell. the idea is to pipe simple components together to achive more complex behaviour. This pipeline is realized as alt.jiapi.InstrumentorChain and it is used so that the application developer adds Instrumentors to the chain. The chain is then dispatched to each class which matches the configuration (e.g. "org.opensource.*"). - A context to group many InstrumentorChains to do their work. In addition there's some utilities to help development on this framework (a sample class loader, chain builder and bootstrapper) and an event based API to get some runtime information from instrumented classes. Our aim has been to create an infrastructure to enable one to create robust bytecode enhancers in a higher level of abstraction than plain bytecode is. OK, that is what there's in Jiapi at the moment. Did this raise any questions for you? Let's continue the discussion to find out the ways we could collaborate! Joni ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Our suggestion is that we would port the Jiapi framework directly on top of BCEL, leaving out Jiapi reflection layer. This framework could then be an initial BCEL framework (Java Class Enhancer?) for which to build all kinds of bytecode enhancers (Reflection, JavaBeans++, JDO enhancer etc). To be able to do that, there's at least two modifications which would be needed to core BCEL. 1. The InstrtuctionList must support creation of sub list in such a way that it allows structural changes from any of its peers. Jiapi InstructionList has this capability. You might want to take a look at (specifically InstructionList.View): http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jiapi/jiapi/src/alt/jiapi/reflect/instruction/InstructionList.java?rev=1.6&content-type=text/vnd.viewcvs-markup 2. InstructionList must support copying of instructions from one list to another in such a way that it can redirect all branches etc. These InstructionLists may or may not belong to a same class. The reason for requirement 1. is that the framework relies heavily to a concept of chopping an InstructionList to smaller pieces. This is perhaps easiest to describe using a hypothetical example. Let's say we need to inject a method call "Bar.fieldAccessed()" just before a field "Foo.foobar" is accessed. Using Jiapi instrumentors this could be realized as: InstrumentorChain chain = new InstrumentorChain(); chain.add(new MethodDispatcherInstrumentor()); chain.add(new GrepInstrumentor(new FieldAccessStrategy("Foo.foobar"))); chain.add(new MethodCallInstrumentor("Bar.fieldAccessed")); So the chain is formed as: JavaClass +-------------------+ +------+ +-------------+ \--> | method dispatcher | --> | grep | --> | method call | +-------------------+ +------+ +-------------+ This is what happens when the chain is dispatched for a target class: 1. Method dispatcher loops over class' methods and forwards each method's InstructionList to a next component in a chain, one at a time. 2. Grep finds places where a field "Foo.foobar" is accessed from an InstructionList which is passed to it. It chops down the list from places where the field is accessed and forwards each InstructionList piece to a next component in a chain. 3. Method call inserts a bytecode which makes a method call to the end of each InstructionList which is passed to it. The reason for requirement 2. is that when doing class enhancements, it is sometimes easiest to write the enhancement in Java language, compile the enhancement template to bytecode, and then copy the resulting bytecode to target classes. Before proceeding we would like to get input from BCEL developers. Is this framework something you could find useful? Do you see the above mentioned two requirements feasible to implement in BCEL? Cheers, Joni Suominen -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Wed Jun 12 11:25:55 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 50226 invoked from network); 12 Jun 2002 11:25:55 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 12 Jun 2002 11:25:55 -0000 Received: (qmail 9821 invoked by uid 97); 12 Jun 2002 11:25:56 -0000 Delivered-To: [email protected] Received: (qmail 9774 invoked by uid 97); 12 Jun 2002 11:25:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 9760 invoked by uid 98); 12 Jun 2002 11:25:54 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <[email protected]> Date: Wed, 12 Jun 2002 04:25:51 -0700 (PDT) From: Davanum Srinivas <[email protected]> Reply-To: [email protected] Subject: Lookup BCEL Method for a particular java.lang.reflect.Method To: [email protected] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Folks, Can someone help me port from serp/tt-bytecode to BCEL? We construct a JavaClass from a java.lang.Class (see code below). We have a java.lang.reflect.Method for which we need to find the corresponding org.apache.bcel.classfile.Method. How do i do it? java.lang.reflect.Method's toString() and org.apache.bcel.classfile.Method's toString() don't really output the same stuff. We need to get this information to move Apache Axis (http://xml.apache.org/axis/) from Serp/tt-bytecode to BCEL. Thanks in Advance, dims ---------------------------------------------------------------------------------------------- /** * Get Parameter Names using BCEL * * @param method the Java method we're interested in * @return list of names or null */ public String[] getParameterNamesFromDebugInfo(java.lang.reflect.Method m) { Class c = m.getDeclaringClass(); int numParams = m.getParameterTypes().length; Vector temp = new Vector(); // Don't worry about it if there are no params. if (numParams == 0) return null; // Try to obtain a tt-bytecode class object JavaClass bclass = (JavaClass) clazzCache.get(c); if (bclass == null) { try { String className = c.getName(); String classFile = className.replace('.', '/'); InputStream is = c.getClassLoader().getResourceAsStream(classFile + ".class"); ClassParser parser = new ClassParser(is, className); bclass = parser.parse(); clazzCache.put(c, bclass); } catch (IOException e) { // what now? } } Method[] methods = bclass.getMethods(); Method method = null; // HOW DO I GET THE BCEL METHOD CORRESPONDING TO // a java.lang.reflect.Method? for (int i = 0; i < methods.length; i++) { if (m.getName() == methods[i].getName() && m.toString().equals(methods[i].toString())) { method = methods[i]; break; } } // Obtain the exact method we're interested in. if (method == null) return null; // Get the Code object, which contains the local variable table. Code code = method.getCode(); if (code == null) return null; LocalVariableTable attr = method.getLocalVariableTable(); if (attr == null) return null; // OK, found it. Now scan through the local variables and record // the names in the right indices. LocalVariable[] vars = attr.getLocalVariableTable(); String[] argNames = new String[numParams + 1]; argNames[0] = null; // don't know return name // NOTE: we scan through all the variables here, because I have been // told that jikes sometimes produces unpredictable ordering of the // local variable table. for (int j = 0; j < vars.length; j++) { LocalVariable var = vars[j]; if (!var.getName().equals("this")) { if (temp.size() < var.getIndex() + 1) temp.setSize(var.getIndex() + 1); temp.setElementAt(var.getName(), var.getIndex()); } } int k = 0; for (int j = 0; j < temp.size(); j++) { if (temp.elementAt(j) != null) { k++; argNames[k] = (String) temp.elementAt(j); if (k + 1 == argNames.length) break; } } return argNames; } ---------------------------------------------------------------------------------------------- ===== Davanum Srinivas - http://xml.apache.org/~dims/ __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Wed Jun 12 15:00:31 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35419 invoked from network); 12 Jun 2002 15:00:31 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 12 Jun 2002 15:00:31 -0000 Received: (qmail 9129 invoked by uid 97); 12 Jun 2002 15:00:34 -0000 Delivered-To: [email protected] Received: (qmail 9059 invoked by uid 97); 12 Jun 2002 15:00:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 9041 invoked by uid 98); 12 Jun 2002 15:00:32 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-Id: <161.129.204.104.0.20020612165515.0203a770@localhost> X-Sender: baliuka/taurus.mediaworks.lt@localhost X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Wed, 12 Jun 2002 17:03:22 +0200 To: "BCEL Developers List" <[email protected]>, [email protected] From: Juozas Baliuka <[email protected]> Subject: Re: Lookup BCEL Method for a particular java.lang.reflect.Method In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N if declaring class is the same, you can loop and compare method names and argument type names returned from reflection and BCEL method representations. At 04:25 2002.06.12 -0700, Davanum Srinivas wrote: >Folks, > >Can someone help me port from serp/tt-bytecode to BCEL? We construct a >JavaClass from a >java.lang.Class (see code below). We have a java.lang.reflect.Method for >which we need to find >the corresponding org.apache.bcel.classfile.Method. How do i do it? >java.lang.reflect.Method's >toString() and org.apache.bcel.classfile.Method's toString() don't really >output the same stuff. > >We need to get this information to move Apache Axis >(http://xml.apache.org/axis/) from >Serp/tt-bytecode to BCEL. > >Thanks in Advance, >dims > >---------------------------------------------------------------------------------------------- > /** > * Get Parameter Names using BCEL > * > * @param method the Java method we're interested in > * @return list of names or null > */ > public String[] > getParameterNamesFromDebugInfo(java.lang.reflect.Method m) { > Class c = m.getDeclaringClass(); > int numParams = m.getParameterTypes().length; > Vector temp = new Vector(); > > // Don't worry about it if there are no params. > if (numParams == 0) > return null; > > // Try to obtain a tt-bytecode class object > JavaClass bclass = (JavaClass) clazzCache.get(c); > > if (bclass == null) { > try { > String className = c.getName(); > String classFile = className.replace('.', '/'); > InputStream is = > c.getClassLoader().getResourceAsStream(classFile > + ".class"); > > ClassParser parser = new ClassParser(is, className); > bclass = parser.parse(); > > clazzCache.put(c, bclass); > } catch (IOException e) { > // what now? > } > } > > Method[] methods = bclass.getMethods(); > Method method = null; > // HOW DO I GET THE BCEL METHOD CORRESPONDING TO > // a java.lang.reflect.Method? > for (int i = 0; i < methods.length; i++) { > if (m.getName() == methods[i].getName() && > m.toString().equals(methods[i].toString())) { > method = methods[i]; > break; > } > } > > // Obtain the exact method we're interested in. > if (method == null) > return null; > > // Get the Code object, which contains the local variable table. > Code code = method.getCode(); > if (code == null) > return null; > > LocalVariableTable attr = method.getLocalVariableTable(); > if (attr == null) > return null; > > // OK, found it. Now scan through the local variables and record > // the names in the right indices. > LocalVariable[] vars = attr.getLocalVariableTable(); > > String[] argNames = new String[numParams + 1]; > argNames[0] = null; // don't know return name > > // NOTE: we scan through all the variables here, because I have been > // told that jikes sometimes produces unpredictable ordering of the > // local variable table. > for (int j = 0; j < vars.length; j++) { > LocalVariable var = vars[j]; > if (!var.getName().equals("this")) { > if (temp.size() < var.getIndex() + 1) > temp.setSize(var.getIndex() + 1); > temp.setElementAt(var.getName(), var.getIndex()); > } > } > int k = 0; > for (int j = 0; j < temp.size(); j++) { > if (temp.elementAt(j) != null) { > k++; > argNames[k] = (String) temp.elementAt(j); > if (k + 1 == argNames.length) > break; > } > } > return argNames; > } >---------------------------------------------------------------------------------------------- > >===== >Davanum Srinivas - http://xml.apache.org/~dims/ > >__________________________________________________ >Do You Yahoo!? >Yahoo! - Official partner of 2002 FIFA World Cup >http://fifaworldcup.yahoo.com > >-- >To unsubscribe, e-mail: <mailto:[email protected]> >For additional commands, e-mail: <mailto:[email protected]> -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Wed Jun 12 15:17:05 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51611 invoked from network); 12 Jun 2002 15:17:03 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 12 Jun 2002 15:17:03 -0000 Received: (qmail 1527 invoked by uid 97); 12 Jun 2002 15:17:06 -0000 Delivered-To: [email protected] Received: (qmail 1378 invoked by uid 97); 12 Jun 2002 15:17:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 1203 invoked by uid 98); 12 Jun 2002 15:17:05 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <[email protected]> Date: Wed, 12 Jun 2002 08:17:01 -0700 (PDT) From: Davanum Srinivas <[email protected]> Reply-To: [email protected] Subject: Re: Lookup BCEL Method for a particular java.lang.reflect.Method / Create JavaClass from java.lang.Class To: BCEL Developers List <[email protected]> In-Reply-To: <161.129.204.104.0.20020612165515.0203a770@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I went with a slightly different solution, by Constructing the signature for the java.lang.reflect.Method and check with org.apache.bcel.classfile.Method's getSignature(). One more use case we has was to construct a JavaClass given a java.lang.Class. See BCEL.java at http://cvs.apache.org/viewcvs.cgi/xml-axis/java/src/org/apache/axis/utils/bytecode/ on how we got around both problems. Wish #1: Wish this was a helper method in JavaClass with the following Signature public org.apache.bcel.classfile.Method getMethod(java.lang.reflect.Method). Wish #2: Wish i could create a JavaClass from java.lang.Class as shown below. Class clazz = Class.forName("XXXX"); ClassParser parser = new ClassParser(clazz); JavaClass jclazz = parser.parse(); I can send in patches for both if anyone is interested. Thanks, dims --- Juozas Baliuka <[email protected]> wrote: > > if declaring class is the same, you can loop and compare method names and > argument type names returned from reflection and BCEL method representations. > > > At 04:25 2002.06.12 -0700, Davanum Srinivas wrote: > >Folks, > > > >Can someone help me port from serp/tt-bytecode to BCEL? We construct a > >JavaClass from a > >java.lang.Class (see code below). We have a java.lang.reflect.Method for > >which we need to find > >the corresponding org.apache.bcel.classfile.Method. How do i do it? > >java.lang.reflect.Method's > >toString() and org.apache.bcel.classfile.Method's toString() don't really > >output the same stuff. > > > >We need to get this information to move Apache Axis > >(http://xml.apache.org/axis/) from > >Serp/tt-bytecode to BCEL. > > > >Thanks in Advance, > >dims > > > >---------------------------------------------------------------------------------------------- > > /** > > * Get Parameter Names using BCEL > > * > > * @param method the Java method we're interested in > > * @return list of names or null > > */ > > public String[] > > getParameterNamesFromDebugInfo(java.lang.reflect.Method m) { > > Class c = m.getDeclaringClass(); > > int numParams = m.getParameterTypes().length; > > Vector temp = new Vector(); > > > > // Don't worry about it if there are no params. > > if (numParams == 0) > > return null; > > > > // Try to obtain a tt-bytecode class object > > JavaClass bclass = (JavaClass) clazzCache.get(c); > > > > if (bclass == null) { > > try { > > String className = c.getName(); > > String classFile = className.replace('.', '/'); > > InputStream is = > > c.getClassLoader().getResourceAsStream(classFile > > + ".class"); > > > > ClassParser parser = new ClassParser(is, className); > > bclass = parser.parse(); > > > > clazzCache.put(c, bclass); > > } catch (IOException e) { > > // what now? > > } > > } > > > > Method[] methods = bclass.getMethods(); > > Method method = null; > > // HOW DO I GET THE BCEL METHOD CORRESPONDING TO > > // a java.lang.reflect.Method? > > for (int i = 0; i < methods.length; i++) { > > if (m.getName() == methods[i].getName() && > > m.toString().equals(methods[i].toString())) { > > method = methods[i]; > > break; > > } > > } > > > > // Obtain the exact method we're interested in. > > if (method == null) > > return null; > > > > // Get the Code object, which contains the local variable table. > > Code code = method.getCode(); > > if (code == null) > > return null; > > > > LocalVariableTable attr = method.getLocalVariableTable(); > > if (attr == null) > > return null; > > > > // OK, found it. Now scan through the local variables and record > > // the names in the right indices. > > LocalVariable[] vars = attr.getLocalVariableTable(); > > > > String[] argNames = new String[numParams + 1]; > > argNames[0] = null; // don't know return name > > > > // NOTE: we scan through all the variables here, because I have been > > // told that jikes sometimes produces unpredictable ordering of the > > // local variable table. > > for (int j = 0; j < vars.length; j++) { > > LocalVariable var = vars[j]; > > if (!var.getName().equals("this")) { > > if (temp.size() < var.getIndex() + 1) > > temp.setSize(var.getIndex() + 1); > > temp.setElementAt(var.getName(), var.getIndex()); > > } > > } > > int k = 0; > > for (int j = 0; j < temp.size(); j++) { > > if (temp.elementAt(j) != null) { > > k++; > > argNames[k] = (String) temp.elementAt(j); > > if (k + 1 == argNames.length) > > break; > > } > > } > > return argNames; > > } > >---------------------------------------------------------------------------------------------- > > > >===== > >Davanum Srinivas - http://xml.apache.org/~dims/ > > > >__________________________________________________ > >Do You Yahoo!? > >Yahoo! - Official partner of 2002 FIFA World Cup > >http://fifaworldcup.yahoo.com > > > >-- > >To unsubscribe, e-mail: <mailto:[email protected]> > >For additional commands, e-mail: <mailto:[email protected]> > > > > -- > To unsubscribe, e-mail: <mailto:[email protected]> > For additional commands, e-mail: <mailto:[email protected]> > ===== Davanum Srinivas - http://xml.apache.org/~dims/ __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Wed Jun 12 15:47:35 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70679 invoked from network); 12 Jun 2002 15:47:35 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 12 Jun 2002 15:47:35 -0000 Received: (qmail 9133 invoked by uid 97); 12 Jun 2002 15:47:39 -0000 Delivered-To: [email protected] Received: (qmail 9088 invoked by uid 97); 12 Jun 2002 15:47:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 9047 invoked by uid 98); 12 Jun 2002 15:47:36 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) X-Originating-IP: [161.129.204.104] From: <[email protected]> To: "BCEL Developers List" <[email protected]> Subject: AW: Re: Lookup BCEL Method for a particular java.lang.reflect.Method / Create JavaClass from java.lang.Class Date: Wed, 12 Jun 2002 17:47:28 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20020612155001.LILG27460.mailoutvl21@[161.129.204.104]> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > Wish #2: Wish i could create a JavaClass from java.lang.Class as shown below. > Class clazz = Class.forName("XXXX"); > ClassParser parser = new ClassParser(clazz); > JavaClass jclazz = parser.parse(); You can alredy do this: Repository.lookupClass(clazz); > I can send in patches for both if anyone is interested. Yes. Cheers Markus -- berlin.de - meine stadt im netz. Jetzt eigene eMail-adresse @berlin.de sichern! http://webmail.berlin.de -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Wed Jun 12 15:49:09 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73241 invoked from network); 12 Jun 2002 15:49:09 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 12 Jun 2002 15:49:09 -0000 Received: (qmail 9735 invoked by uid 97); 12 Jun 2002 15:49:12 -0000 Delivered-To: [email protected] Received: (qmail 9706 invoked by uid 97); 12 Jun 2002 15:49:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 9690 invoked by uid 98); 12 Jun 2002 15:49:11 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) X-Originating-IP: [161.129.204.104] From: <[email protected]> To: "BCEL Developers List" <[email protected]> Subject: AW: Re: Lookup BCEL Method for a particular java.lang.reflect.Method / Create JavaClass from java.lang.Class Date: Wed, 12 Jun 2002 17:48:50 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20020612155126.LILV27460.mailoutvl21@[161.129.204.104]> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > Wish #2: Wish i could create a JavaClass from java.lang.Class as shown below. > Class clazz = Class.forName("XXXX"); > ClassParser parser = new ClassParser(clazz); > JavaClass jclazz = parser.parse(); You can already do this: SyntheticRepository.getInstance().loadClass(clazz); using the repository is the preferred way anyway. > I can send in patches for both if anyone is interested. Yes. Cheers Markus -- berlin.de - meine stadt im netz. Jetzt eigene eMail-adresse @berlin.de sichern! http://webmail.berlin.de -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Wed Jun 12 15:49:10 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73256 invoked from network); 12 Jun 2002 15:49:09 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 12 Jun 2002 15:49:09 -0000 Received: (qmail 9821 invoked by uid 97); 12 Jun 2002 15:49:13 -0000 Delivered-To: [email protected] Received: (qmail 9725 invoked by uid 97); 12 Jun 2002 15:49:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 9693 invoked by uid 98); 12 Jun 2002 15:49:11 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) X-Originating-IP: [161.129.204.104] From: <[email protected]> To: "BCEL Developers List" <[email protected]> Subject: AW: Re: Lookup BCEL Method for a particular java.lang.reflect.Method / Create JavaClass from java.lang.Class Date: Wed, 12 Jun 2002 17:48:50 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20020612155127.LILY27460.mailoutvl21@[161.129.204.104]> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > Wish #2: Wish i could create a JavaClass from java.lang.Class as shown below. > Class clazz = Class.forName("XXXX"); > ClassParser parser = new ClassParser(clazz); > JavaClass jclazz = parser.parse(); You can alredy do this: SyntheticRepository.getInstance().loadClass(clazz); using the repository is the preferred way anyway. > I can send in patches for both if anyone is interested. Yes. Cheers Markus -- berlin.de - meine stadt im netz. Jetzt eigene eMail-adresse @berlin.de sichern! http://webmail.berlin.de -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Wed Jun 12 16:23:38 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13060 invoked from network); 12 Jun 2002 16:23:37 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 12 Jun 2002 16:23:37 -0000 Received: (qmail 851 invoked by uid 97); 12 Jun 2002 16:23:41 -0000 Delivered-To: [email protected] Received: (qmail 822 invoked by uid 97); 12 Jun 2002 16:23:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 809 invoked by uid 98); 12 Jun 2002 16:23:40 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <[email protected]> Date: Wed, 12 Jun 2002 09:23:37 -0700 (PDT) From: Davanum Srinivas <[email protected]> Reply-To: [email protected] Subject: Re: AW: Re: Lookup BCEL Method for a particular java.lang.reflect.Method / Create JavaClass from java.lang.Class To: BCEL Developers List <[email protected]> In-Reply-To: <20020612155126.LILV27460.mailoutvl21@[161.129.204.104]> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-2135019435-1023899017=:15982" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --0-2135019435-1023899017=:15982 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Markus, - I had downloaded bcel-5.0rc1 which did not have the SyntheticRepository. - The enclosed patch - Adds a getMethod in JavaClass... - Adds an entry in the manifest to make my Ant happy. - When is RC2? Thanks, dims --- [email protected] wrote: > > > Wish #2: Wish i could create a JavaClass from java.lang.Class as shown below. > > Class clazz = Class.forName("XXXX"); > > ClassParser parser = new ClassParser(clazz); > > JavaClass jclazz = parser.parse(); > > You can already do this: > SyntheticRepository.getInstance().loadClass(clazz); > > using the repository is the preferred way anyway. > > > I can send in patches for both if anyone is interested. > > Yes. > > Cheers > Markus > -- > berlin.de - meine stadt im netz. Jetzt eigene eMail-adresse @berlin.de sichern! > http://webmail.berlin.de > > > -- > To unsubscribe, e-mail: <mailto:[email protected]> > For additional commands, e-mail: <mailto:[email protected]> > ===== Davanum Srinivas - http://xml.apache.org/~dims/ __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com --0-2135019435-1023899017=:15982 Content-Type: text/plain; name="bcel.txt" Content-Description: bcel.txt Content-Disposition: inline; filename="bcel.txt" cvs server: Diffing . Index: manifest.txt =================================================================== RCS file: /home/cvspublic/jakarta-bcel/manifest.txt,v retrieving revision 1.1 diff -u -r1.1 manifest.txt --- manifest.txt 18 Apr 2002 07:52:13 -0000 1.1 +++ manifest.txt 12 Jun 2002 16:21:13 -0000 @@ -1,2 +1,4 @@ -Manifest-Version: 1.0 -Main-Class: listclass +Name: BCEL +Manifest-Version: 1.0 +Main-Class: listclass + cvs server: Diffing docs cvs server: Diffing docs/eps cvs server: Diffing docs/verifier cvs server: Diffing examples cvs server: Diffing examples/Mini cvs server: Diffing lib cvs server: Diffing src cvs server: Diffing src/java cvs server: Diffing src/java/org cvs server: Diffing src/java/org/apache cvs server: Diffing src/java/org/apache/bcel cvs server: Diffing src/java/org/apache/bcel/classfile Index: src/java/org/apache/bcel/classfile/JavaClass.java =================================================================== RCS file: /home/cvspublic/jakarta-bcel/src/java/org/apache/bcel/classfile/JavaClass.java,v retrieving revision 1.9 diff -u -r1.9 JavaClass.java --- src/java/org/apache/bcel/classfile/JavaClass.java 6 Jun 2002 11:35:43 -0000 1.9 +++ src/java/org/apache/bcel/classfile/JavaClass.java 12 Jun 2002 16:21:13 -0000 @@ -403,7 +403,20 @@ /** * @return Methods of the class. */ - public Method[] getMethods() { return methods; } + public Method[] getMethods() { return methods; } + + /** + * @return A org.apache.bcel.classfile.Method corresponding to java.lang.reflect.Method + */ + public org.apache.bcel.classfile.Method getMethod(java.lang.reflect.Method m) { + for (int i = 0; i < methods.length; i++) { + if (m.getName().equals(methods[i].getName()) && + getSignature(m).equals(methods[i].getSignature())) { + return methods[i]; + } + } + return null; + } /** * @return Minor number of compiler version. @@ -794,4 +807,63 @@ return vec.toArray(); } + + /** + * Compute the JVM signature for the class. + */ + private String getSignature(Class clazz) { + String type = null; + if (clazz.isArray()) { + Class cl = clazz; + int dimensions = 0; + while (cl.isArray()) { + dimensions++; + cl = cl.getComponentType(); + } + StringBuffer sb = new StringBuffer(); + for (int i = 0; i < dimensions; i++) { + sb.append("["); + } + sb.append(getSignature(cl)); + type = sb.toString(); + } else if (clazz.isPrimitive()) { + if (clazz == Integer.TYPE) { + type = "I"; + } else if (clazz == Byte.TYPE) { + type = "B"; + } else if (clazz == Long.TYPE) { + type = "J"; + } else if (clazz == Float.TYPE) { + type = "F"; + } else if (clazz == Double.TYPE) { + type = "D"; + } else if (clazz == Short.TYPE) { + type = "S"; + } else if (clazz == Character.TYPE) { + type = "C"; + } else if (clazz == Boolean.TYPE) { + type = "Z"; + } else if (clazz == Void.TYPE) { + type = "V"; + } + } else { + type = "L" + clazz.getName().replace('.', '/') + ";"; + } + return type; + } + + /* + * Compute the JVM method descriptor for the method. + */ + private String getSignature(java.lang.reflect.Method meth) { + StringBuffer sb = new StringBuffer(); + sb.append("("); + Class[] params = meth.getParameterTypes(); // avoid clone + for (int j = 0; j < params.length; j++) { + sb.append(getSignature(params[j])); + } + sb.append(")"); + sb.append(getSignature(meth.getReturnType())); + return sb.toString(); + } } cvs server: Diffing src/java/org/apache/bcel/generic cvs server: Diffing src/java/org/apache/bcel/util cvs server: Diffing src/java/org/apache/bcel/verifier cvs server: Diffing src/java/org/apache/bcel/verifier/exc cvs server: Diffing src/java/org/apache/bcel/verifier/statics cvs server: Diffing src/java/org/apache/bcel/verifier/structurals cvs server: Diffing xdocs cvs server: Diffing xdocs/images cvs server: Diffing xdocs/stylesheets --0-2135019435-1023899017=:15982 Content-Type: text/plain; charset=us-ascii -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> --0-2135019435-1023899017=:15982-- From [email protected] Wed Jun 12 16:28:14 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17169 invoked from network); 12 Jun 2002 16:28:14 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 12 Jun 2002 16:28:14 -0000 Received: (qmail 14065 invoked by uid 97); 12 Jun 2002 16:28:18 -0000 Delivered-To: [email protected] Received: (qmail 14049 invoked by uid 97); 12 Jun 2002 16:28:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 14037 invoked by uid 98); 12 Jun 2002 16:28:16 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) X-Originating-IP: [161.129.204.104] From: <[email protected]> To: "BCEL Developers List" <[email protected]> Subject: AW: Lookup BCEL Method for a particular java.lang.reflect.Method Date: Wed, 12 Jun 2002 18:28:12 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20020612163045.LJNQ27460.mailoutvl21@[161.129.204.104]> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > Method[] methods = bclass.getMethods(); > Method method = null; > // HOW DO I GET THE BCEL METHOD CORRESPONDING TO > // a java.lang.reflect.Method? > for (int i = 0; i < methods.length; i++) { > if (m.getName() == methods[i].getName() && > m.toString().equals(methods[i].toString())) { > method = methods[i]; > break; > } > } Comparing the names access flags and the method signature should be the correct way. However, I don't know whether reflect.Method allows to obtain the signature. Cheers Markus -- berlin.de - meine stadt im netz. Jetzt eigene eMail-adresse @berlin.de sichern! http://webmail.berlin.de -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Wed Jun 12 16:30:32 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18078 invoked from network); 12 Jun 2002 16:30:32 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 12 Jun 2002 16:30:32 -0000 Received: (qmail 17315 invoked by uid 97); 12 Jun 2002 16:30:36 -0000 Delivered-To: [email protected] Received: (qmail 17266 invoked by uid 97); 12 Jun 2002 16:30:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 17254 invoked by uid 98); 12 Jun 2002 16:30:35 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) X-Originating-IP: [161.129.204.104] From: <[email protected]> To: "BCEL Developers List" <[email protected]> Subject: Re: Lookup BCEL Method for a particular java.lang.reflect.Method / Create JavaClass from java.lang.Class Date: Wed, 12 Jun 2002 18:30:29 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20020612163303.LJPO27460.mailoutvl21@[161.129.204.104]> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, > - I had downloaded bcel-5.0rc1 which did not have the SyntheticRepository. Yes, you have to use the version in the CVS repository. > - When is RC2? Good question. Jason? Cheers Markus -- berlin.de - meine stadt im netz. Jetzt eigene eMail-adresse @berlin.de sichern! http://webmail.berlin.de -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Wed Jun 12 17:13:37 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76347 invoked from network); 12 Jun 2002 17:13:37 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 12 Jun 2002 17:13:37 -0000 Received: (qmail 22240 invoked by uid 97); 12 Jun 2002 17:13:42 -0000 Delivered-To: [email protected] Received: (qmail 22191 invoked by uid 97); 12 Jun 2002 17:13:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 22179 invoked by uid 98); 12 Jun 2002 17:13:40 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <[email protected]> Date: Wed, 12 Jun 2002 10:13:37 -0700 (PDT) From: Davanum Srinivas <[email protected]> Reply-To: [email protected] Subject: Re: Lookup BCEL Method for a particular java.lang.reflect.Method / Create JavaClass from java.lang.Class To: BCEL Developers List <[email protected]> In-Reply-To: <20020612163303.LJPO27460.mailoutvl21@[161.129.204.104]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Markus, Did you like the patch? Will you be checking it in? Thanks, dims --- [email protected] wrote: > Hi, > > > - I had downloaded bcel-5.0rc1 which did not have the SyntheticRepository. > > Yes, you have to use the version in the CVS repository. > > > - When is RC2? > > Good question. Jason? > > Cheers > Markus > -- > berlin.de - meine stadt im netz. Jetzt eigene eMail-adresse @berlin.de sichern! > http://webmail.berlin.de > > > -- > To unsubscribe, e-mail: <mailto:[email protected]> > For additional commands, e-mail: <mailto:[email protected]> > ===== Davanum Srinivas - http://xml.apache.org/~dims/ __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Wed Jun 12 17:27:58 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97997 invoked from network); 12 Jun 2002 17:27:57 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 12 Jun 2002 17:27:57 -0000 Received: (qmail 15768 invoked by uid 97); 12 Jun 2002 17:27:51 -0000 Delivered-To: [email protected] Received: (qmail 15666 invoked by uid 97); 12 Jun 2002 17:27:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 15594 invoked by uid 97); 12 Jun 2002 17:27:50 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Date: 12 Jun 2002 17:27:40 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-bcel LICENSE.txt build-maven.xml project.xml LICENSE X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N jvanzyl 2002/06/12 10:27:40 Modified: . build-maven.xml project.xml Added: . LICENSE.txt Removed: . LICENSE Log: Making some updates in order to publish the Maven generated site. Revision Changes Path 1.2 +137 -76 jakarta-bcel/build-maven.xml Index: build-maven.xml =================================================================== RCS file: /home/cvs/jakarta-bcel/build-maven.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- build-maven.xml 25 Mar 2002 17:49:44 -0000 1.1 +++ build-maven.xml 12 Jun 2002 17:27:40 -0000 1.2 @@ -17,82 +17,143 @@ <!-- ================================================================== --> <!-- D E L E G A T O R S --> <!-- ================================================================== --> - - <target - name="maven:site"> - <ant antfile="${maven.home}/build-docs.xml" target="site"/> - </target> - - <target - name="maven:jar"> - <ant antfile="${maven.home}/build-maven.xml" target="jar"/> - </target> - - <target - name="maven:install-jar"> - <ant antfile="${maven.home}/build-maven.xml" target="install-jar"/> - </target> - - <target - name="maven:env"> - <ant antfile="${maven.home}/build-maven.xml" target="env"/> - </target> - - <target - name="maven:docs"> - <ant antfile="${maven.home}/build-docs.xml" target="docs"/> - </target> - - <target - name="maven:test"> - <ant antfile="${maven.home}/build-test.xml" target="test"/> - </target> - - <target - name="maven:run-singletest"> - <ant antfile="${maven.home}/build-test.xml" target="run-singletest"/> - </target> - - <target - name="maven:clean"> - <ant antfile="${maven.home}/build-maven.xml" target="clean"/> - </target> - - <target - name="maven:metrics"> - <ant antfile="${maven.home}/build-metrics.xml" target="metrics"/> - </target> - - <target - name="maven:dist"> - <ant antfile="${maven.home}/build-maven.xml" target="dist"/> - </target> - - <target - name="maven:deploy-site"> - <ant antfile="${maven.home}/build-docs.xml" target="deploy-site"/> - </target> - - <target - name="maven:gump-descriptor"> - <ant antfile="${maven.home}/build-maven.xml" target="gump-descriptor"/> - </target> - - <target - name="maven:javadocs"> - <ant antfile="${maven.home}/build-docs.xml" target="javadocs"/> - </target> - - <target - name="maven:compile"> - <ant antfile="${maven.home}/build-maven.xml" target="compile"/> - </target> - - <target - name="maven:update-jars"> - <ant antfile="${maven.home}/build-maven.xml" target="update-jars"/> - </target> - + + <target name="maven:gump-descriptor"> + <ant antfile="${maven.home}/plugins/core/build.xml" target="gump-descriptor"/> + </target> + + <target name="maven:maven-update"> + <ant antfile="${maven.home}/plugins/core/build.xml" target="maven-update"/> + </target> + + <target name="maven:update-jars"> + <ant antfile="${maven.home}/plugins/core/build.xml" target="update-jars"/> + </target> + + <target name="maven:jar"> + <ant antfile="${maven.home}/plugins/core/build.xml" target="jar"/> + </target> + + <target name="maven:docs-quick"> + <ant antfile="${maven.home}/plugins/docs/build.xml" target="docs-quick"/> + </target> + + <target name="maven:run-singletest"> + <ant antfile="${maven.home}/plugins/test/build.xml" target="run-singletest"/> + </target> + + <target name="maven:compile"> + <ant antfile="${maven.home}/plugins/core/build.xml" target="compile"/> + </target> + + <target name="maven:fo"> + <ant antfile="${maven.home}/plugins/docs/build.xml" target="fo"/> + </target> + + <target name="maven:cvs-change-log"> + <ant antfile="${maven.home}/plugins/docs/build.xml" target="cvs-change-log"/> + </target> + + <target name="maven:war"> + <ant antfile="${maven.home}/plugins/j2ee/build.xml" target="war"/> + </target> + + <target name="maven:generate-reactor"> + <ant antfile="${maven.home}/plugins/reactor/build.xml" target="generate-reactor"/> + </target> + + <target name="maven:cross-ref"> + <ant antfile="${maven.home}/plugins/docs/build.xml" target="cross-ref"/> + </target> + + <target name="maven:deploy-site"> + <ant antfile="${maven.home}/plugins/docs/build.xml" target="deploy-site"/> + </target> + + <target name="maven:ear"> + <ant antfile="${maven.home}/plugins/j2ee/build.xml" target="ear"/> + </target> + + <target name="maven:install-jar"> + <ant antfile="${maven.home}/plugins/core/build.xml" target="install-jar"/> + </target> + + <target name="maven:task-list"> + <ant antfile="${maven.home}/plugins/docs/build.xml" target="task-list"/> + </target> + + <target name="maven:docs"> + <ant antfile="${maven.home}/plugins/docs/build.xml" target="docs"/> + </target> + + <target name="maven:site"> + <ant antfile="${maven.home}/plugins/docs/build.xml" target="site"/> + </target> + + <target name="maven:deploy-dist"> + <ant antfile="${maven.home}/plugins/core/build.xml" target="deploy-dist"/> + </target> + + <target name="maven:javadocs"> + <ant antfile="${maven.home}/plugins/docs/build.xml" target="javadocs"/> + </target> + + <target name="maven:announce"> + <ant antfile="${maven.home}/plugins/core/build.xml" target="announce"/> + </target> + + <target name="maven:check-source"> + <ant antfile="${maven.home}/plugins/core/build.xml" target="check-source"/> + </target> + + <target name="maven:dist"> + <ant antfile="${maven.home}/plugins/core/build.xml" target="dist"/> + </target> + + <target name="maven:dist-build"> + <ant antfile="${maven.home}/plugins/core/build.xml" target="dist-build"/> + </target> + + <target name="maven:metrics"> + <ant antfile="${maven.home}/plugins/metrics/build.xml" target="metrics"/> + </target> + + <target name="maven:clean"> + <ant antfile="${maven.home}/plugins/core/build.xml" target="clean"/> + </target> + + <target name="maven:env"> + <ant antfile="${maven.home}/plugins/core/build.xml" target="env"/> + </target> + + <target name="maven:test"> + <ant antfile="${maven.home}/plugins/test/build.xml" target="test"/> + </target> + + <target name="maven:pdf"> + <ant antfile="${maven.home}/plugins/docs/build.xml" target="pdf"/> + </target> + + <target name="maven:iutest"> + <ant antfile="${maven.home}/plugins/iutest/build.xml" target="iutest"/> + </target> + + <target name="maven:activity-log"> + <ant antfile="${maven.home}/plugins/docs/build.xml" target="activity-log"/> + </target> + + <target name="maven:verify-project"> + <ant antfile="${maven.home}/plugins/core/build.xml" target="verify-project"/> + </target> + + <target name="maven:validate-pom"> + <ant antfile="${maven.home}/plugins/core/build.xml" target="validate-pom"/> + </target> + + <target name="maven:validate-war"> + <ant antfile="${maven.home}/plugins/j2ee/build.xml" target="validate-war"/> + </target> + <!-- maven:end --> </project> 1.3 +1 -0 jakarta-bcel/project.xml Index: project.xml =================================================================== RCS file: /home/cvs/jakarta-bcel/project.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- project.xml 2 Jun 2002 12:38:08 -0000 1.2 +++ project.xml 12 Jun 2002 17:27:40 -0000 1.3 @@ -8,6 +8,7 @@ <organization> <name>Apache Software Foundation</name> <url>http://www.apache.org</url> + <logo>bcel-logo.gif</logo> </organization> <inceptionYear>2002</inceptionYear> <package>org.apache.bcel</package> 1.1 jakarta-bcel/LICENSE.txt Index: LICENSE.txt =================================================================== /* ==================================================================== * The Apache Software License, Version 1.1 * * Copyright (c) 2001 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 BCEL" must not be used to endorse or promote products * derived from this software without prior written permission. For * written permission, please contact [email protected]. * * 5. Products derived from this software may not be called "Apache", * "Apache BCEL", 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/>. */ -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Wed Jun 12 17:36:41 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10133 invoked from network); 12 Jun 2002 17:36:41 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 12 Jun 2002 17:36:41 -0000 Received: (qmail 5684 invoked by uid 97); 12 Jun 2002 17:36:45 -0000 Delivered-To: [email protected] Received: (qmail 5570 invoked by uid 97); 12 Jun 2002 17:36:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 5463 invoked by uid 98); 12 Jun 2002 17:36:44 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Subject: Re: Lookup BCEL Method for a particular java.lang.reflect.Method / Create JavaClass from java.lang.Class From: Jason van Zyl <[email protected]> To: BCEL Developers List <[email protected]> In-Reply-To: <20020612163303.LJPO27460.mailoutvl21@[161.129.204.104]> References: <20020612163303.LJPO27460.mailoutvl21@[161.129.204.104]> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.5 Date: 12 Jun 2002 13:36:38 -0400 Message-Id: <[email protected]> Mime-Version: 1.0 X-Authentication-Info: Submitted using SMTP AUTH [email protected] from [161.129.204.104] using ID <[email protected]> at Wed, 12 Jun 2002 13:36:39 -0400 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Wed, 2002-06-12 at 12:30, [email protected] wrote: > Hi, > > > - I had downloaded bcel-5.0rc1 which did not have the SyntheticRepository. > > Yes, you have to use the version in the CVS repository. > > > - When is RC2? > > Good question. Jason? I have just updated the Jakarta site with the information of the 5.0 release which happened some time ago. I just plain forgot to update the site then, to much information in too many places. I also generated a new BCEL site and uploaded it. Take a look: http://jakarta.apache.org/bcel/ It's generated by Maven: http://jakarta.apache.org/turbine/maven/ It's not perfect yet but it will get there and it's much easier to manage. We can do a 5.1rc1 whenever you want. Just let me know. > Cheers > Markus > -- > berlin.de - meine stadt im netz. Jetzt eigene eMail-adresse @berlin.de sichern! > http://webmail.berlin.de > > > -- > To unsubscribe, e-mail: <mailto:[email protected]> > For additional commands, e-mail: <mailto:[email protected]> -- jvz. Jason van Zyl [email protected] http://tambora.zenplex.org -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Wed Jun 12 17:36:57 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10201 invoked from network); 12 Jun 2002 17:36:57 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 12 Jun 2002 17:36:57 -0000 Received: (qmail 6259 invoked by uid 97); 12 Jun 2002 17:37:02 -0000 Delivered-To: [email protected] Received: (qmail 6207 invoked by uid 97); 12 Jun 2002 17:37:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 6196 invoked by uid 97); 12 Jun 2002 17:37:01 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Date: 12 Jun 2002 17:36:52 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-bcel project.xml X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N jvanzyl 2002/06/12 10:36:52 Modified: . project.xml Log: Fixing the logo entries. Revision Changes Path 1.4 +2 -1 jakarta-bcel/project.xml Index: project.xml =================================================================== RCS file: /home/cvs/jakarta-bcel/project.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- project.xml 12 Jun 2002 17:27:40 -0000 1.3 +++ project.xml 12 Jun 2002 17:36:52 -0000 1.4 @@ -8,10 +8,11 @@ <organization> <name>Apache Software Foundation</name> <url>http://www.apache.org</url> - <logo>bcel-logo.gif</logo> </organization> <inceptionYear>2002</inceptionYear> <package>org.apache.bcel</package> + + <logo>bcel-logo.gif</logo> <shortDescription>Bytecode Engineering Library</shortDescription> -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Wed Jun 12 17:41:40 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14445 invoked from network); 12 Jun 2002 17:41:40 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 12 Jun 2002 17:41:40 -0000 Received: (qmail 19750 invoked by uid 97); 12 Jun 2002 17:41:45 -0000 Delivered-To: [email protected] Received: (qmail 19732 invoked by uid 97); 12 Jun 2002 17:41:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 19714 invoked by uid 98); 12 Jun 2002 17:41:44 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) X-Qmail-Scanner-Mail-From: [email protected] via jim.skynet.vl X-Qmail-Scanner: 1.03 (Clean. Processed in 1.343819 secs) Message-ID: <00fc01c21238$63ef2240$0111010a@user> From: "Juozas Baliuka" <[email protected]> To: "BCEL Developers List" <[email protected]> References: <20020612163303.LJPO27460.mailoutvl21@[161.129.204.104]> <[email protected]> Subject: Re: Lookup BCEL Method for a particular java.lang.reflect.Method /Create JavaClass from java.lang.Class Date: Wed, 12 Jun 2002 19:41:32 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-4" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I don't see Logo http://jakarta.apache.org/bcel/.bcel-logo.gif ----- Original Message ----- From: "Jason van Zyl" <[email protected]> To: "BCEL Developers List" <[email protected]> Sent: Wednesday, June 12, 2002 7:36 PM Subject: Re: Lookup BCEL Method for a particular java.lang.reflect.Method /Create JavaClass from java.lang.Class > On Wed, 2002-06-12 at 12:30, [email protected] wrote: > > Hi, > > > > > - I had downloaded bcel-5.0rc1 which did not have the SyntheticRepository. > > > > Yes, you have to use the version in the CVS repository. > > > > > - When is RC2? > > > > Good question. Jason? > > I have just updated the Jakarta site with the information of the 5.0 > release which happened some time ago. I just plain forgot to update the > site then, to much information in too many places. > > I also generated a new BCEL site and uploaded it. Take a look: > > http://jakarta.apache.org/bcel/ > > It's generated by Maven: http://jakarta.apache.org/turbine/maven/ > > It's not perfect yet but it will get there and it's much easier to > manage. > > We can do a 5.1rc1 whenever you want. Just let me know. > > > Cheers > > Markus > > -- > > berlin.de - meine stadt im netz. Jetzt eigene eMail-adresse @berlin.de sichern! > > http://webmail.berlin.de > > > > > > -- > > To unsubscribe, e-mail: <mailto:[email protected]> > > For additional commands, e-mail: <mailto:[email protected]> > -- > jvz. > > Jason van Zyl > [email protected] > > http://tambora.zenplex.org > > > -- > To unsubscribe, e-mail: <mailto:[email protected]> > For additional commands, e-mail: <mailto:[email protected]> > -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Wed Jun 12 17:43:17 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14885 invoked from network); 12 Jun 2002 17:43:17 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 12 Jun 2002 17:43:17 -0000 Received: (qmail 21392 invoked by uid 97); 12 Jun 2002 17:43:22 -0000 Delivered-To: [email protected] Received: (qmail 21343 invoked by uid 97); 12 Jun 2002 17:43:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 21331 invoked by uid 98); 12 Jun 2002 17:43:21 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Subject: Re: Lookup BCEL Method for a particular java.lang.reflect.Method /Create JavaClass from java.lang.Class From: Jason van Zyl <[email protected]> To: BCEL Developers List <[email protected]> In-Reply-To: <00fc01c21238$63ef2240$0111010a@user> References: <20020612163303.LJPO27460.mailoutvl21@[161.129.204.104]> <[email protected]> <00fc01c21238$63ef2240$0111010a@user> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.5 Date: 12 Jun 2002 13:43:16 -0400 Message-Id: <[email protected]> Mime-Version: 1.0 X-Authentication-Info: Submitted using SMTP AUTH [email protected] from [161.129.204.104] using ID <[email protected]> at Wed, 12 Jun 2002 13:43:16 -0400 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Wed, 2002-06-12 at 13:41, Juozas Baliuka wrote: > I don't see Logo > http://jakarta.apache.org/bcel/.bcel-logo.gif Thanks, it's there now. > > > ----- Original Message ----- > From: "Jason van Zyl" <[email protected]> > To: "BCEL Developers List" <[email protected]> > Sent: Wednesday, June 12, 2002 7:36 PM > Subject: Re: Lookup BCEL Method for a particular java.lang.reflect.Method > /Create JavaClass from java.lang.Class > > > > On Wed, 2002-06-12 at 12:30, [email protected] wrote: > > > Hi, > > > > > > > - I had downloaded bcel-5.0rc1 which did not have the > SyntheticRepository. > > > > > > Yes, you have to use the version in the CVS repository. > > > > > > > - When is RC2? > > > > > > Good question. Jason? > > > > I have just updated the Jakarta site with the information of the 5.0 > > release which happened some time ago. I just plain forgot to update the > > site then, to much information in too many places. > > > > I also generated a new BCEL site and uploaded it. Take a look: > > > > http://jakarta.apache.org/bcel/ > > > > It's generated by Maven: http://jakarta.apache.org/turbine/maven/ > > > > It's not perfect yet but it will get there and it's much easier to > > manage. > > > > We can do a 5.1rc1 whenever you want. Just let me know. > > > > > Cheers > > > Markus > > > -- > > > berlin.de - meine stadt im netz. Jetzt eigene eMail-adresse @berlin.de > sichern! > > > http://webmail.berlin.de > > > > > > > > > -- > > > To unsubscribe, e-mail: > <mailto:[email protected]> > > > For additional commands, e-mail: > <mailto:[email protected]> > > -- > > jvz. > > > > Jason van Zyl > > [email protected] > > > > http://tambora.zenplex.org > > > > > > -- > > To unsubscribe, e-mail: <mailto:[email protected]> > > For additional commands, e-mail: <mailto:[email protected]> > > > > > -- > To unsubscribe, e-mail: <mailto:[email protected]> > For additional commands, e-mail: <mailto:[email protected]> -- jvz. Jason van Zyl [email protected] http://tambora.zenplex.org -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Thu Jun 13 09:33:00 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22450 invoked from network); 13 Jun 2002 09:32:59 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 13 Jun 2002 09:32:59 -0000 Received: (qmail 13815 invoked by uid 97); 13 Jun 2002 09:33:13 -0000 Delivered-To: [email protected] Received: (qmail 13747 invoked by uid 97); 13 Jun 2002 09:33:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 13733 invoked by uid 97); 13 Jun 2002 09:33:11 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Date: 13 Jun 2002 09:32:51 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-bcel/src/java/org/apache/bcel/verifier/statics LocalVariableInfo.java LocalVariablesInfo.java Pass1Verifier.java Pass2Verifier.java Pass3aVerifier.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N enver 2002/06/13 02:32:51 Modified: src/java/org/apache/bcel Repository.java src/java/org/apache/bcel/util ClassLoader.java src/java/org/apache/bcel/verifier VerificationResult.java Verifier.java VerifierAppFrame.java src/java/org/apache/bcel/verifier/exc ClassConstraintException.java InvalidMethodException.java LoadingException.java src/java/org/apache/bcel/verifier/statics LocalVariableInfo.java LocalVariablesInfo.java Pass1Verifier.java Pass2Verifier.java Pass3aVerifier.java Log: * Cleaned up the verifier (and some other) classes so that IntelliJ's IDEA and also (I suppose) JTest will not complain any more. Revision Changes Path 1.9 +5 -3 jakarta-bcel/src/java/org/apache/bcel/Repository.java Index: Repository.java =================================================================== RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/Repository.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- Repository.java 6 Jun 2002 11:31:17 -0000 1.8 +++ Repository.java 13 Jun 2002 09:32:50 -0000 1.9 @@ -58,7 +58,7 @@ import org.apache.bcel.util.*; import java.io.*; -/** +/** * The repository maintains informations about class interdependencies, e.g., * whether a class is a sub-class of another. Delegates actual class loading * to SyntheticRepository. @@ -130,9 +130,11 @@ _repository.removeClass(clazz); } + /* private static final JavaClass getSuperClass(JavaClass clazz) { return clazz.getSuperClass(); } + */ /** * @return list of super classes of clazz in ascending order, i.e., @@ -183,7 +185,7 @@ public static boolean instanceOf(String clazz, String super_class) { return instanceOf(lookupClass(clazz), lookupClass(super_class)); } - + /** * @return true, if clazz is an instance of super_class */ 1.6 +1 -3 jakarta-bcel/src/java/org/apache/bcel/util/ClassLoader.java Index: ClassLoader.java =================================================================== RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/util/ClassLoader.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- ClassLoader.java 6 Jun 2002 11:33:20 -0000 1.5 +++ ClassLoader.java 13 Jun 2002 09:32:50 -0000 1.6 @@ -56,10 +56,8 @@ import java.util.Hashtable; import java.io.*; -import java.util.zip.*; import org.apache.bcel.*; import org.apache.bcel.classfile.*; -import org.apache.bcel.generic.*; /** * <p>Drop in replacement for the standard class loader of the JVM. You can use it 1.2 +1 -4 jakarta-bcel/src/java/org/apache/bcel/verifier/VerificationResult.java Index: VerificationResult.java =================================================================== RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/verifier/VerificationResult.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- VerificationResult.java 29 Oct 2001 20:00:31 -0000 1.1 +++ VerificationResult.java 13 Jun 2002 09:32:50 -0000 1.2 @@ -96,9 +96,6 @@ /** The detailed message. */ private String detailMessage; - /** This class is not no-args instantiable. */ - private VerificationResult(){} - /** The usual constructor. */ public VerificationResult(int status, String message){ numeric = status; 1.5 +10 -20 jakarta-bcel/src/java/org/apache/bcel/verifier/Verifier.java Index: Verifier.java =================================================================== RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/verifier/Verifier.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- Verifier.java 8 May 2002 20:59:29 -0000 1.4 +++ Verifier.java 13 Jun 2002 09:32:50 -0000 1.5 @@ -56,12 +56,8 @@ import org.apache.bcel.*; import org.apache.bcel.classfile.*; -import org.apache.bcel.generic.*; -import org.apache.bcel.util.*; import org.apache.bcel.verifier.statics.*; import org.apache.bcel.verifier.structurals.*; -import org.apache.bcel.verifier.exc.*; -import org.apache.bcel.verifier.exc.Utility; // Ambigous if not declared explicitely. import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; @@ -76,7 +72,7 @@ * * A Verifier creates PassVerifier instances to perform the actual verification. * Verifier instances are usually generated by the VerifierFactory. - * + * * @version $Id$ * @author <A HREF="http://www.inf.fu-berlin.de/~ehaase"/>Enver Haase</A> * @see org.apache.bcel.verifier.VerifierFactory @@ -112,7 +108,7 @@ } return p2v.verify(); } - + /** Returns the VerificationResult for the given pass. */ public VerificationResult doPass3a(int method_no){ String key = Integer.toString(method_no); @@ -136,13 +132,7 @@ } return p3bv.verify(); } - - /** - * This class may not be no-args instantiated. - */ - private Verifier(){ - classname = ""; // never executed anyway, make compiler happy. - }// not noargs-instantiable + /** * Instantiation is done by the VerifierFactory. @@ -230,7 +220,7 @@ for (int i=0; i< messages.size(); i++){ ret[i] = (String) messages.get(i); } - + return ret; } @@ -252,14 +242,14 @@ int dotclasspos = args[k].lastIndexOf(".class"); if (dotclasspos != -1) args[k] = args[k].substring(0,dotclasspos); } - + args[k] = args[k].replace('/', '.'); - + System.out.println("Now verifiying: "+args[k]+"\n"); Verifier v = VerifierFactory.getVerifier(args[k]); VerificationResult vr; - + vr = v.doPass1(); System.out.println("Pass 1:\n"+vr); @@ -277,7 +267,7 @@ System.out.println("Pass 3b, method number "+i+" ['"+jc.getMethods()[i]+"']:\n"+vr); } } - + System.out.println("Warnings:"); String[] warnings = v.getMessages(); if (warnings.length == 0) System.out.println("<none>"); @@ -286,7 +276,7 @@ } System.out.println("\n"); - + // avoid swapping. v.flush(); org.apache.bcel.Repository.clearCache(); 1.3 +3 -1 jakarta-bcel/src/java/org/apache/bcel/verifier/VerifierAppFrame.java Index: VerifierAppFrame.java =================================================================== RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/verifier/VerifierAppFrame.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- VerifierAppFrame.java 7 Feb 2002 23:12:59 -0000 1.2 +++ VerifierAppFrame.java 13 Jun 2002 09:32:50 -0000 1.3 @@ -291,10 +291,12 @@ pass2TextPane.setBackground(Color.green); JavaClass jc = Repository.lookupClass(current_class); + /* boolean all3aok = true; boolean all3bok = true; String all3amsg = ""; String all3bmsg = ""; + */ String[] methodnames = new String[jc.getMethods().length]; for (int i=0; i<jc.getMethods().length; i++){ 1.2 +1 -5 jakarta-bcel/src/java/org/apache/bcel/verifier/exc/ClassConstraintException.java Index: ClassConstraintException.java =================================================================== RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/verifier/exc/ClassConstraintException.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ClassConstraintException.java 29 Oct 2001 20:00:33 -0000 1.1 +++ ClassConstraintException.java 13 Jun 2002 09:32:50 -0000 1.2 @@ -63,9 +63,6 @@ * @author <A HREF="http://www.inf.fu-berlin.de/~ehaase"/>Enver Haase</A> */ public class ClassConstraintException extends VerificationException{ - /** The specified error message. */ - private String detailMessage; - /** * Constructs a new ClassConstraintException with null as its error message string. */ @@ -78,6 +75,5 @@ */ public ClassConstraintException(String message){ super (message); - detailMessage = message; } } 1.2 +1 -3 jakarta-bcel/src/java/org/apache/bcel/verifier/exc/InvalidMethodException.java Index: InvalidMethodException.java =================================================================== RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/verifier/exc/InvalidMethodException.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- InvalidMethodException.java 29 Oct 2001 20:00:33 -0000 1.1 +++ InvalidMethodException.java 13 Jun 2002 09:32:50 -0000 1.2 @@ -61,8 +61,6 @@ * @author <A HREF="http://www.inf.fu-berlin.de/~ehaase"/>Enver Haase</A> */ public class InvalidMethodException extends RuntimeException{ - /** Must not be no-args requested so there's always some error message. */ - private InvalidMethodException(){} /** Constructs an InvalidMethodException with the specified detail message. */ public InvalidMethodException(String message){ 1.2 +2 -5 jakarta-bcel/src/java/org/apache/bcel/verifier/exc/LoadingException.java Index: LoadingException.java =================================================================== RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/verifier/exc/LoadingException.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- LoadingException.java 29 Oct 2001 20:00:33 -0000 1.1 +++ LoadingException.java 13 Jun 2002 09:32:50 -0000 1.2 @@ -62,9 +62,7 @@ * @author <A HREF="http://www.inf.fu-berlin.de/~ehaase"/>Enver Haase</A> */ public class LoadingException extends VerifierConstraintViolatedException{ - /** The specified error message. */ - private String detailMessage; - + /** * Constructs a new LoadingException with null as its error message string. */ @@ -77,6 +75,5 @@ */ public LoadingException(String message){ super (message); - detailMessage = message; } } 1.2 +1 -2 jakarta-bcel/src/java/org/apache/bcel/verifier/statics/LocalVariableInfo.java Index: LocalVariableInfo.java =================================================================== RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/verifier/statics/LocalVariableInfo.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- LocalVariableInfo.java 29 Oct 2001 20:00:34 -0000 1.1 +++ LocalVariableInfo.java 13 Jun 2002 09:32:50 -0000 1.2 @@ -54,7 +54,6 @@ * <http://www.apache.org/>. */ -import org.apache.bcel.Constants; import org.apache.bcel.generic.Type; import org.apache.bcel.verifier.exc.*; import java.util.Hashtable; 1.2 +1 -8 jakarta-bcel/src/java/org/apache/bcel/verifier/statics/LocalVariablesInfo.java Index: LocalVariablesInfo.java =================================================================== RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/verifier/statics/LocalVariablesInfo.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- LocalVariablesInfo.java 29 Oct 2001 20:00:34 -0000 1.1 +++ LocalVariablesInfo.java 13 Jun 2002 09:32:50 -0000 1.2 @@ -54,7 +54,6 @@ * <http://www.apache.org/>. */ -import org.apache.bcel.Constants; import org.apache.bcel.generic.Type; import org.apache.bcel.verifier.exc.*; @@ -71,12 +70,6 @@ /** The information about the local variables is stored here. */ private LocalVariableInfo[] localVariableInfos; - /** - * The ints in the list represent code offsets where either instructions must start - * or the offset is the length of the code array. This will be verified in Pass 3a. - */ - private IntList instruction_offsets = new IntList(); - /** The constructor. */ LocalVariablesInfo(int max_locals){ localVariableInfos = new LocalVariableInfo[max_locals]; 1.2 +1 -2 jakarta-bcel/src/java/org/apache/bcel/verifier/statics/Pass1Verifier.java Index: Pass1Verifier.java =================================================================== RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/verifier/statics/Pass1Verifier.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- Pass1Verifier.java 29 Oct 2001 20:00:35 -0000 1.1 +++ Pass1Verifier.java 13 Jun 2002 09:32:50 -0000 1.2 @@ -59,7 +59,6 @@ import org.apache.bcel.verifier.*; import org.apache.bcel.verifier.exc.*; import org.apache.bcel.verifier.exc.Utility; -import java.util.ArrayList; /** * This PassVerifier verifies a class file according to pass 1 as 1.2 +53 -52 jakarta-bcel/src/java/org/apache/bcel/verifier/statics/Pass2Verifier.java Index: Pass2Verifier.java =================================================================== RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/verifier/statics/Pass2Verifier.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- Pass2Verifier.java 29 Oct 2001 20:00:36 -0000 1.1 +++ Pass2Verifier.java 13 Jun 2002 09:32:50 -0000 1.2 @@ -227,7 +227,6 @@ while (supidx != 0){ supidx = jc.getSuperclassNameIndex(); - ConstantPoolGen cpg = new ConstantPoolGen(jc.getConstantPool()); Method[] methods = jc.getMethods(); for (int i=0; i<methods.length; i++){ String name_and_sig = (methods[i].getName()+methods[i].getSignature()); @@ -277,9 +276,11 @@ */ private class CPESSC_Visitor extends org.apache.bcel.classfile.EmptyVisitor implements Visitor{ private Class CONST_Class; - private Class CONST_Fieldref; + /* + private Class CONST_Fieldref; private Class CONST_Methodref; private Class CONST_InterfaceMethodref; + */ private Class CONST_String; private Class CONST_Integer; private Class CONST_Float; @@ -296,16 +297,18 @@ private HashSet field_names = new HashSet(); private HashSet field_names_and_desc = new HashSet(); private HashSet method_names_and_desc = new HashSet(); - + private CPESSC_Visitor(JavaClass _jc){ jc = _jc; cp = _jc.getConstantPool(); cplen = cp.getLength(); - + CONST_Class = org.apache.bcel.classfile.ConstantClass.class; - CONST_Fieldref = org.apache.bcel.classfile.ConstantFieldref.class; + /* + CONST_Fieldref = org.apache.bcel.classfile.ConstantFieldref.class; CONST_Methodref = org.apache.bcel.classfile.ConstantMethodref.class; CONST_InterfaceMethodref = org.apache.bcel.classfile.ConstantInterfaceMethodref.class; + */ CONST_String = org.apache.bcel.classfile.ConstantString.class; CONST_Integer = org.apache.bcel.classfile.ConstantInteger.class; CONST_Float = org.apache.bcel.classfile.ConstantFloat.class; @@ -313,18 +316,18 @@ CONST_Double = org.apache.bcel.classfile.ConstantDouble.class; CONST_NameAndType = org.apache.bcel.classfile.ConstantNameAndType.class; CONST_Utf8 = org.apache.bcel.classfile.ConstantUtf8.class; - + carrier = new DescendingVisitor(_jc, this); carrier.visit(); } - + private void checkIndex(Node referrer, int index, Class shouldbe){ if ((index < 0) || (index >= cplen)){ throw new ClassConstraintException("Invalid index '"+index+"' used by '"+tostring(referrer)+"'."); } Constant c = cp.getConstant(index); if (! shouldbe.isInstance(c)){ - String isnot = shouldbe.toString().substring(shouldbe.toString().lastIndexOf(".")+1); //Cut all before last "." + /* String isnot = shouldbe.toString().substring(shouldbe.toString().lastIndexOf(".")+1); //Cut all before last "." */ throw new ClassCastException("Illegal constant '"+tostring(c)+"' at index '"+index+"'. '"+tostring(referrer)+"' expects a '"+shouldbe+"'."); } } @@ -335,11 +338,11 @@ Attribute[] atts = obj.getAttributes(); boolean foundSourceFile = false; boolean foundInnerClasses = false; - + // Is there an InnerClass referenced? // This is a costly check; existing verifiers don't do it! boolean hasInnerClass = new InnerClassDetector(jc).innerClassReferenced(); - + for (int i=0; i<atts.length; i++){ if ((! (atts[i] instanceof SourceFile)) && (! (atts[i] instanceof Deprecated)) && @@ -347,12 +350,12 @@ (! (atts[i] instanceof Synthetic))){ addMessage("Attribute '"+tostring(atts[i])+"' as an attribute of the ClassFile structure '"+tostring(obj)+"' is unknown and will therefore be ignored."); } - + if (atts[i] instanceof SourceFile){ if (foundSourceFile == false) foundSourceFile = true; else throw new ClassConstraintException("A ClassFile structure (like '"+tostring(obj)+"') may have no more than one SourceFile attribute."); //vmspec2 4.7.7 } - + if (atts[i] instanceof InnerClasses){ if (foundInnerClasses == false) foundInnerClasses = true; else{ @@ -372,7 +375,7 @@ //don't check it and javac doesn't satisfy it when it comes to anonymous //inner classes addMessage("A Classfile structure (like '"+tostring(obj)+"') must have exactly one InnerClasses attribute if at least one Inner Class is referenced (which is the case). No InnerClasses attribute was found."); - } + } } ///////////////////////////// // CONSTANTS (vmspec2 4.4) // @@ -382,7 +385,7 @@ throw new ClassConstraintException("Wrong constant tag in '"+tostring(obj)+"'."); } checkIndex(obj, obj.getNameIndex(), CONST_Utf8); - + } public void visitConstantFieldref(ConstantFieldref obj){ if (obj.getTag() != Constants.CONSTANT_Fieldref){ @@ -462,7 +465,7 @@ if (maxone > 1){ throw new ClassConstraintException("Field '"+tostring(obj)+"' must only have at most one of its ACC_PRIVATE, ACC_PROTECTED, ACC_PUBLIC modifiers set."); } - + if (obj.isFinal() && obj.isVolatile()){ throw new ClassConstraintException("Field '"+tostring(obj)+"' must only have at most one of its ACC_FINAL, ACC_VOLATILE modifiers set."); } @@ -484,7 +487,7 @@ } checkIndex(obj, obj.getNameIndex(), CONST_Utf8); - + String name = obj.getName(); if (! validFieldName(name)){ throw new ClassConstraintException("Field '"+tostring(obj)+"' has illegal name '"+obj.getName()+"'."); @@ -492,16 +495,16 @@ // A descriptor is often named signature in BCEL checkIndex(obj, obj.getSignatureIndex(), CONST_Utf8); - + String sig = ((ConstantUtf8) (cp.getConstant(obj.getSignatureIndex()))).getBytes(); // Field or Method signature(=descriptor) try{ - Type t = Type.getType(sig); + Type.getType(sig); /* Don't need the return value */ } catch (ClassFormatError cfe){ // sometimes BCEL is a little harsh describing exceptional situations. throw new ClassConstraintException("Illegal descriptor (==signature) '"+sig+"' used by '"+tostring(obj)+"'."); } - + String nameanddesc = (name+sig); if (field_names_and_desc.contains(nameanddesc)){ throw new ClassConstraintException("No two fields (like '"+tostring(obj)+"') are allowed have same names and descriptors!"); @@ -511,7 +514,7 @@ } field_names_and_desc.add(nameanddesc); field_names.add(name); - + Attribute[] atts = obj.getAttributes(); for (int i=0; i<atts.length; i++){ if ((! (atts[i] instanceof ConstantValue)) && @@ -530,7 +533,7 @@ public void visitMethod(Method obj){ checkIndex(obj, obj.getNameIndex(), CONST_Utf8); - + String name = obj.getName(); if (! validMethodName(name, true)){ throw new ClassConstraintException("Method '"+tostring(obj)+"' has illegal name '"+name+"'."); @@ -540,7 +543,7 @@ checkIndex(obj, obj.getSignatureIndex(), CONST_Utf8); String sig = ((ConstantUtf8) (cp.getConstant(obj.getSignatureIndex()))).getBytes(); // Method's signature(=descriptor) - + Type t; Type[] ts; // needed below the try block. try{ @@ -562,7 +565,7 @@ throw new ClassConstraintException("Method '"+tostring(obj)+"' has a return type that does not pass verification pass 1: '"+vr+"'."); } } - + for (int i=0; i<ts.length; i++){ act = ts[i]; if (act instanceof ArrayType) act = ((ArrayType) act).getBasicType(); @@ -588,7 +591,7 @@ if (maxone > 1){ throw new ClassConstraintException("Method '"+tostring(obj)+"' must only have at most one of its ACC_PRIVATE, ACC_PROTECTED, ACC_PUBLIC modifiers set."); } - + if (obj.isAbstract()){ if (obj.isFinal()) throw new ClassConstraintException("Abstract method '"+tostring(obj)+"' must not have the ACC_FINAL modifier set."); if (obj.isNative()) throw new ClassConstraintException("Abstract method '"+tostring(obj)+"' must not have the ACC_NATIVE modifier set."); @@ -681,14 +684,14 @@ // zero or one SourceFile attr per ClassFile: see visitJavaClass() checkIndex(obj, obj.getNameIndex(), CONST_Utf8); - + String name = ((ConstantUtf8) cp.getConstant(obj.getNameIndex())).getBytes(); if (! name.equals("SourceFile")){ throw new ClassConstraintException("The SourceFile attribute '"+tostring(obj)+"' is not correctly named 'SourceFile' but '"+name+"'."); } checkIndex(obj, obj.getSourceFileIndex(), CONST_Utf8); - + String sourcefilename = ((ConstantUtf8) cp.getConstant(obj.getSourceFileIndex())).getBytes(); //==obj.getSourceFileName() ? String sourcefilenamelc = sourcefilename.toLowerCase(); @@ -717,7 +720,7 @@ public void visitInnerClasses(InnerClasses obj){//vmspec2 4.7.5 // exactly one InnerClasses attr per ClassFile if some inner class is refernced: see visitJavaClass() - + checkIndex(obj, obj.getNameIndex(), CONST_Utf8); String name = ((ConstantUtf8) cp.getConstant(obj.getNameIndex())).getBytes(); @@ -726,7 +729,7 @@ } InnerClass[] ics = obj.getInnerClasses(); - + for (int i=0; i<ics.length; i++){ checkIndex(obj, ics[i].getInnerClassIndex(), CONST_Class); int outer_idx = ics[i].getOuterClassIndex(); @@ -770,7 +773,7 @@ throw new ClassConstraintException("Invalid index '"+index+"' used by '"+tostring(obj)+"'."); } Constant c = cp.getConstant(index); - + if (CONST_Long.isInstance(c) && field_type.equals(Type.LONG)){ return; } @@ -786,7 +789,7 @@ if (CONST_String.isInstance(c) && field_type.equals(Type.STRING)){ return; } - + throw new ClassConstraintException("Illegal type of ConstantValue '"+obj+"' embedding Constant '"+c+"'. It is referenced by field '"+tostring(f)+"' expecting a different type: '"+field_type+"'."); } } @@ -805,7 +808,7 @@ if (! name.equals("Code")){ throw new ClassConstraintException("The Code attribute '"+tostring(obj)+"' is not correctly named 'Code' but '"+name+"'."); } - + Method m = null; // satisfy compiler if (!(carrier.predecessor() instanceof Method)){ addMessage("Code attribute '"+tostring(obj)+"' is not declared in a method_info structure but in '"+carrier.predecessor()+"'. Ignored."); @@ -829,7 +832,7 @@ ConstantClass cc = (ConstantClass) (cp.getConstant(exc_index)); checkIndex(cc, cc.getNameIndex(), CONST_Utf8); // cannot be sure this ConstantClass has already been visited (checked)! String cname = ((ConstantUtf8) cp.getConstant(cc.getNameIndex())).getBytes().replace('/','.'); - + Verifier v = VerifierFactory.getVerifier(cname); VerificationResult vr = v.doPass1(); @@ -858,7 +861,7 @@ } } } - + // Create object for local variables information // This is highly unelegant due to usage of the Visitor pattern. // TODO: rework it. @@ -874,7 +877,7 @@ throw new AssertionViolatedException("Could not find a known BCEL Method object in the corresponding BCEL JavaClass object."); } localVariablesInfos[method_number] = new LocalVariablesInfo(obj.getMaxLocals()); - + int num_of_lvt_attribs = 0; // Now iterate through the attributes the Code attribute has. Attribute[] atts = obj.getAttributes(); @@ -886,13 +889,13 @@ else{// LineNumberTable or LocalVariableTable addMessage("Attribute '"+tostring(atts[a])+"' as an attribute of Code attribute '"+tostring(obj)+"' (method '"+m+"') will effectively be ignored and is only useful for debuggers and such."); } - + //LocalVariableTable check (partially delayed to Pass3a). //Here because its easier to collect the information of the //(possibly more than one) LocalVariableTables belonging to //one certain Code attribute. if (atts[a] instanceof LocalVariableTable){ // checks conforming to vmspec2 4.7.9 - + LocalVariableTable lvt = (LocalVariableTable) atts[a]; checkIndex(lvt, lvt.getNameIndex(), CONST_Utf8); @@ -903,7 +906,6 @@ } Code code = obj; - int max_locals = code.getMaxLocals(); //In JustIce, the check for correct offsets into the code array is delayed to Pass 3a. LocalVariable[] localvariables = lvt.getLocalVariableTable(); @@ -928,7 +930,7 @@ if ( ( (t==Type.LONG || t==Type.DOUBLE)? localindex+1:localindex) >= code.getMaxLocals()){ throw new ClassConstraintException("LocalVariableTable attribute '"+tostring(lvt)+"' references a LocalVariable '"+tostring(localvariables[i])+"' with an index that exceeds the surrounding Code attribute's max_locals value of '"+code.getMaxLocals()+"'."); } - + try{ localVariablesInfos[method_number].add(localindex, localname, localvariables[i].getStartPC(), localvariables[i].getLength(), t); } @@ -936,7 +938,7 @@ throw new ClassConstraintException("Conflicting information in LocalVariableTable '"+tostring(lvt)+"' found in Code attribute '"+tostring(obj)+"' (method '"+tostring(m)+"'). "+lviie.getMessage()); } }// for all local variables localvariables[i] in the LocalVariableTable attribute atts[a] END - + num_of_lvt_attribs++; if (num_of_lvt_attribs > obj.getMaxLocals()){ throw new ClassConstraintException("Number of LocalVariableTable attributes of Code attribute '"+tostring(obj)+"' (method '"+tostring(m)+"') exceeds number of local variable slots '"+obj.getMaxLocals()+"' ('There may be no more than one LocalVariableTable attribute per local variable in the Code attribute.')."); @@ -944,7 +946,7 @@ }// if atts[a] instanceof LocalVariableTable END }// for all attributes atts[a] END }// visitCode(Code) END - + public void visitExceptionTable(ExceptionTable obj){//vmspec2 4.7.4 // incorrectly named, it's the Exceptions attribute (vmspec2 4.7.4) checkIndex(obj, obj.getNameIndex(), CONST_Utf8); @@ -953,16 +955,16 @@ if (! name.equals("Exceptions")){ throw new ClassConstraintException("The Exceptions attribute '"+tostring(obj)+"' is not correctly named 'Exceptions' but '"+name+"'."); } - + int[] exc_indices = obj.getExceptionIndexTable(); for (int i=0; i<exc_indices.length; i++){ checkIndex(obj, exc_indices[i], CONST_Class); - + ConstantClass cc = (ConstantClass) (cp.getConstant(exc_indices[i])); checkIndex(cc, cc.getNameIndex(), CONST_Utf8); // cannot be sure this ConstantClass has already been visited (checked)! String cname = ((ConstantUtf8) cp.getConstant(cc.getNameIndex())).getBytes().replace('/','.'); //convert internal notation on-the-fly to external notation - + Verifier v = VerifierFactory.getVerifier(cname); VerificationResult vr = v.doPass1(); @@ -1019,7 +1021,7 @@ public void visitUnknown(Unknown obj){//vmspec2 4.7.1 // Represents an unknown attribute. checkIndex(obj, obj.getNameIndex(), CONST_Utf8); - + // Maybe only misnamed? Give a (warning) message. addMessage("Unknown attribute '"+tostring(obj)+"'. This attribute is not known in any context!"); } @@ -1036,7 +1038,7 @@ // Code constraints are checked in Pass3 (3a and 3b). // This does not represent an Attribute but is only // related to internal BCEL data representation. - + // see visitCode(Code) } public void visitConstantPool(ConstantPool obj){ @@ -1086,10 +1088,8 @@ * @see org.apache.bcel.classfile.ConstantCP */ private class FAMRAV_Visitor extends EmptyVisitor implements Visitor{ - private final JavaClass jc; private final ConstantPool cp; // ==jc.getConstantPool() -- only here to save typing work. private FAMRAV_Visitor(JavaClass _jc){ - jc = _jc; cp = _jc.getConstantPool(); } @@ -1114,7 +1114,7 @@ String sig = ((ConstantUtf8) (cp.getConstant(cnat.getSignatureIndex()))).getBytes(); // Field or Method signature(=descriptor) try{ - Type t = Type.getType(sig); + Type.getType(sig); /* Don't need the return value */ } catch (ClassFormatError cfe){ // Well, BCEL sometimes is a little harsh describing exceptional situations. @@ -1144,7 +1144,6 @@ try{ Type t = Type.getReturnType(sig); - Type[] ts = Type.getArgumentTypes(sig); if ( name.equals(CONSTRUCTOR_NAME) && (t != Type.VOID) ){ throw new ClassConstraintException("Instance initialization method must have VOID return type."); } @@ -1177,7 +1176,6 @@ try{ Type t = Type.getReturnType(sig); - Type[] ts = Type.getArgumentTypes(sig); if ( name.equals(STATIC_INITIALIZER_NAME) && (t != Type.VOID) ){ addMessage("Class or interface initialization method '"+STATIC_INITIALIZER_NAME+"' usually has VOID return type instead of '"+t+"'. Note this is really not a requirement of The Java Virtual Machine Specification, Second Edition."); } @@ -1196,7 +1194,10 @@ * represents a valid Java class name. */ private static final boolean validClassName(String name){ - // Are there restrictions? + /* + * TODO: implement. + * Are there any restrictions? + */ return true; } /** 1.3 +1 -3 jakarta-bcel/src/java/org/apache/bcel/verifier/statics/Pass3aVerifier.java Index: Pass3aVerifier.java =================================================================== RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/verifier/statics/Pass3aVerifier.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- Pass3aVerifier.java 26 Apr 2002 22:35:40 -0000 1.2 +++ Pass3aVerifier.java 13 Jun 2002 09:32:50 -0000 1.3 @@ -59,8 +59,6 @@ import org.apache.bcel.classfile.*; import org.apache.bcel.verifier.*; import org.apache.bcel.verifier.exc.*; -import java.util.ArrayList; -import java.util.HashMap; /** * This PassVerifier verifies a class file according to -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Thu Jun 13 11:45:25 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20934 invoked from network); 13 Jun 2002 11:45:25 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 13 Jun 2002 11:45:25 -0000 Received: (qmail 7404 invoked by uid 97); 13 Jun 2002 11:45:26 -0000 Delivered-To: [email protected] Received: (qmail 7380 invoked by uid 97); 13 Jun 2002 11:45:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 7368 invoked by uid 98); 13 Jun 2002 11:45:25 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <[email protected]> Date: Thu, 13 Jun 2002 04:45:22 -0700 (PDT) From: Davanum Srinivas <[email protected]> Reply-To: [email protected] Subject: Fwd: Re: AW: Re: Lookup BCEL Method for a particular java.lang.reflect.Method / Create JavaClass from java.lang.Class To: BCEL Developers List <[email protected]> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-573110381-1023968722=:15748" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --0-573110381-1023968722=:15748 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Markus, Will my patch (ever?) make it into CVS? Thanks, dims Note: forwarded message attached. ===== Davanum Srinivas - http://xml.apache.org/~dims/ __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com --0-573110381-1023968722=:15748 Content-Type: message/rfc822 X-Apparently-To: [email protected] via web12804.mail.yahoo.com; 12 Jun 2002 09:23:45 -0700 (PDT) X-Track: 0: 100 Return-Path: <[email protected]> Received: from host-131-49-18-192.iplanet.com (HELO nagoya.betaversion.org) (161.129.204.104) by mta601.mail.yahoo.com with SMTP; 12 Jun 2002 09:23:45 -0700 (PDT) Received: (qmail 822 invoked by uid 97); 12 Jun 2002 16:23:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 809 invoked by uid 98); 12 Jun 2002 16:23:40 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Date: Wed, 12 Jun 2002 09:23:37 -0700 (PDT) From: Davanum Srinivas <[email protected]> Reply-To: [email protected] Subject: Re: AW: Re: Lookup BCEL Method for a particular java.lang.reflect.Method / Create JavaClass from java.lang.Class To: BCEL Developers List <[email protected]> In-Reply-To: <20020612155126.LILV27460.mailoutvl21@[161.129.204.104]> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-2135019435-1023899017=:15982" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Content-Length: 2072 --0-2135019435-1023899017=:15982 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Markus, - I had downloaded bcel-5.0rc1 which did not have the SyntheticRepository. - The enclosed patch - Adds a getMethod in JavaClass... - Adds an entry in the manifest to make my Ant happy. - When is RC2? Thanks, dims --- [email protected] wrote: > > > Wish #2: Wish i could create a JavaClass from java.lang.Class as shown below. > > Class clazz = Class.forName("XXXX"); > > ClassParser parser = new ClassParser(clazz); > > JavaClass jclazz = parser.parse(); > > You can already do this: > SyntheticRepository.getInstance().loadClass(clazz); > > using the repository is the preferred way anyway. > > > I can send in patches for both if anyone is interested. > > Yes. > > Cheers > Markus > -- > berlin.de - meine stadt im netz. Jetzt eigene eMail-adresse @berlin.de sichern! > http://webmail.berlin.de > > > -- > To unsubscribe, e-mail: <mailto:[email protected]> > For additional commands, e-mail: <mailto:[email protected]> > ===== Davanum Srinivas - http://xml.apache.org/~dims/ __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com --0-2135019435-1023899017=:15982 Content-Type: text/plain; name="bcel.txt" Content-Description: bcel.txt Content-Disposition: inline; filename="bcel.txt" cvs server: Diffing . Index: manifest.txt =================================================================== RCS file: /home/cvspublic/jakarta-bcel/manifest.txt,v retrieving revision 1.1 diff -u -r1.1 manifest.txt --- manifest.txt 18 Apr 2002 07:52:13 -0000 1.1 +++ manifest.txt 12 Jun 2002 16:21:13 -0000 @@ -1,2 +1,4 @@ -Manifest-Version: 1.0 -Main-Class: listclass +Name: BCEL +Manifest-Version: 1.0 +Main-Class: listclass + cvs server: Diffing docs cvs server: Diffing docs/eps cvs server: Diffing docs/verifier cvs server: Diffing examples cvs server: Diffing examples/Mini cvs server: Diffing lib cvs server: Diffing src cvs server: Diffing src/java cvs server: Diffing src/java/org cvs server: Diffing src/java/org/apache cvs server: Diffing src/java/org/apache/bcel cvs server: Diffing src/java/org/apache/bcel/classfile Index: src/java/org/apache/bcel/classfile/JavaClass.java =================================================================== RCS file: /home/cvspublic/jakarta-bcel/src/java/org/apache/bcel/classfile/JavaClass.java,v retrieving revision 1.9 diff -u -r1.9 JavaClass.java --- src/java/org/apache/bcel/classfile/JavaClass.java 6 Jun 2002 11:35:43 -0000 1.9 +++ src/java/org/apache/bcel/classfile/JavaClass.java 12 Jun 2002 16:21:13 -0000 @@ -403,7 +403,20 @@ /** * @return Methods of the class. */ - public Method[] getMethods() { return methods; } + public Method[] getMethods() { return methods; } + + /** + * @return A org.apache.bcel.classfile.Method corresponding to java.lang.reflect.Method + */ + public org.apache.bcel.classfile.Method getMethod(java.lang.reflect.Method m) { + for (int i = 0; i < methods.length; i++) { + if (m.getName().equals(methods[i].getName()) && + getSignature(m).equals(methods[i].getSignature())) { + return methods[i]; + } + } + return null; + } /** * @return Minor number of compiler version. @@ -794,4 +807,63 @@ return vec.toArray(); } + + /** + * Compute the JVM signature for the class. + */ + private String getSignature(Class clazz) { + String type = null; + if (clazz.isArray()) { + Class cl = clazz; + int dimensions = 0; + while (cl.isArray()) { + dimensions++; + cl = cl.getComponentType(); + } + StringBuffer sb = new StringBuffer(); + for (int i = 0; i < dimensions; i++) { + sb.append("["); + } + sb.append(getSignature(cl)); + type = sb.toString(); + } else if (clazz.isPrimitive()) { + if (clazz == Integer.TYPE) { + type = "I"; + } else if (clazz == Byte.TYPE) { + type = "B"; + } else if (clazz == Long.TYPE) { + type = "J"; + } else if (clazz == Float.TYPE) { + type = "F"; + } else if (clazz == Double.TYPE) { + type = "D"; + } else if (clazz == Short.TYPE) { + type = "S"; + } else if (clazz == Character.TYPE) { + type = "C"; + } else if (clazz == Boolean.TYPE) { + type = "Z"; + } else if (clazz == Void.TYPE) { + type = "V"; + } + } else { + type = "L" + clazz.getName().replace('.', '/') + ";"; + } + return type; + } + + /* + * Compute the JVM method descriptor for the method. + */ + private String getSignature(java.lang.reflect.Method meth) { + StringBuffer sb = new StringBuffer(); + sb.append("("); + Class[] params = meth.getParameterTypes(); // avoid clone + for (int j = 0; j < params.length; j++) { + sb.append(getSignature(params[j])); + } + sb.append(")"); + sb.append(getSignature(meth.getReturnType())); + return sb.toString(); + } } cvs server: Diffing src/java/org/apache/bcel/generic cvs server: Diffing src/java/org/apache/bcel/util cvs server: Diffing src/java/org/apache/bcel/verifier cvs server: Diffing src/java/org/apache/bcel/verifier/exc cvs server: Diffing src/java/org/apache/bcel/verifier/statics cvs server: Diffing src/java/org/apache/bcel/verifier/structurals cvs server: Diffing xdocs cvs server: Diffing xdocs/images cvs server: Diffing xdocs/stylesheets --0-2135019435-1023899017=:15982 Content-Type: text/plain; charset=us-ascii -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> --0-2135019435-1023899017=:15982-- --0-573110381-1023968722=:15748 Content-Type: text/plain; charset=us-ascii -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> --0-573110381-1023968722=:15748-- From [email protected] Thu Jun 13 13:43:43 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31467 invoked from network); 13 Jun 2002 13:43:41 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 13 Jun 2002 13:43:41 -0000 Received: (qmail 22414 invoked by uid 97); 13 Jun 2002 13:43:43 -0000 Delivered-To: [email protected] Received: (qmail 22381 invoked by uid 97); 13 Jun 2002 13:43:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 22370 invoked by uid 97); 13 Jun 2002 13:43:42 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Date: 13 Jun 2002 13:43:24 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-bcel/src/java/org/apache/bcel/classfile AccessFlags.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N mdahm 2002/06/13 06:43:24 Modified: src/java/org/apache/bcel/classfile AccessFlags.java Log: getModifiers() alias Revision Changes Path 1.2 +15 -3 jakarta-bcel/src/java/org/apache/bcel/classfile/AccessFlags.java Index: AccessFlags.java =================================================================== RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/AccessFlags.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- AccessFlags.java 29 Oct 2001 19:59:57 -0000 1.1 +++ AccessFlags.java 13 Jun 2002 13:43:24 -0000 1.2 @@ -76,15 +76,27 @@ } /** - * @return Access flags of the object. + * @return Access flags of the object aka. "modifiers". */ public final int getAccessFlags() { return access_flags; } - /** + /** + * @return Access flags of the object aka. "modifiers". + */ + public final int getModifiers() { return access_flags; } + + /** Set access flags aka "modifiers". * @param access_flags Access flags of the object. */ public final void setAccessFlags(int access_flags) { this.access_flags = access_flags; + } + + /** Set access flags aka "modifiers". + * @param access_flags Access flags of the object. + */ + public final void setModifiers(int access_flags) { + setAccessFlags(access_flags); } private final void setFlag(int flag, boolean set) { -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Thu Jun 13 13:45:11 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35516 invoked from network); 13 Jun 2002 13:45:11 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 13 Jun 2002 13:45:11 -0000 Received: (qmail 27528 invoked by uid 97); 13 Jun 2002 13:44:54 -0000 Delivered-To: [email protected] Received: (qmail 27265 invoked by uid 97); 13 Jun 2002 13:44:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 26931 invoked by uid 97); 13 Jun 2002 13:44:45 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Date: 13 Jun 2002 13:44:23 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-bcel/src/java/org/apache/bcel/classfile JavaClass.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N mdahm 2002/06/13 06:44:23 Modified: src/java/org/apache/bcel/classfile JavaClass.java Log: getMethod() for reflect.method Revision Changes Path 1.10 +22 -3 jakarta-bcel/src/java/org/apache/bcel/classfile/JavaClass.java Index: JavaClass.java =================================================================== RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/JavaClass.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- JavaClass.java 6 Jun 2002 11:35:43 -0000 1.9 +++ JavaClass.java 13 Jun 2002 13:44:23 -0000 1.10 @@ -59,6 +59,7 @@ import org.apache.bcel.util.SyntheticRepository; import org.apache.bcel.util.ClassVector; import org.apache.bcel.util.ClassQueue; +import org.apache.bcel.generic.Type; import java.io.*; import java.util.StringTokenizer; @@ -396,7 +397,7 @@ public int[] getInterfaceIndices() { return interfaces; } /** - * @return Major number of compiler version. + * @return Major number of class file version. */ public int getMajor() { return major; } @@ -406,7 +407,25 @@ public Method[] getMethods() { return methods; } /** - * @return Minor number of compiler version. + * @return A org.apache.bcel.classfile.Method corresponding to + * java.lang.reflect.Method if any + */ + public Method getMethod(java.lang.reflect.Method m) { + for(int i = 0; i < methods.length; i++) { + Method method = methods[i]; + + if(m.getName().equals(method.getName()) && + (m.getModifiers() == method.getModifiers()) && + Type.getSignature(m).equals(method.getSignature())) { + return method; + } + } + + return null; + } + + /** + * @return Minor number of class file version. */ public int getMinor() { return minor; } -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Thu Jun 13 13:45:12 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35524 invoked from network); 13 Jun 2002 13:45:12 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 13 Jun 2002 13:45:12 -0000 Received: (qmail 29318 invoked by uid 97); 13 Jun 2002 13:45:11 -0000 Delivered-To: [email protected] Received: (qmail 29264 invoked by uid 97); 13 Jun 2002 13:45:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 29150 invoked by uid 97); 13 Jun 2002 13:45:09 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Date: 13 Jun 2002 13:45:00 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-bcel/src/java/org/apache/bcel/generic Type.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N mdahm 2002/06/13 06:45:00 Modified: src/java/org/apache/bcel/generic Type.java Log: get signature of reflect.Method Revision Changes Path 1.5 +14 -1 jakarta-bcel/src/java/org/apache/bcel/generic/Type.java Index: Type.java =================================================================== RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/generic/Type.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- Type.java 5 Jun 2002 11:06:53 -0000 1.4 +++ Type.java 13 Jun 2002 13:45:00 -0000 1.5 @@ -272,4 +272,17 @@ return new ObjectType(cl.getName()); } } + + public static String getSignature(java.lang.reflect.Method meth) { + StringBuffer sb = new StringBuffer("("); + Class[] params = meth.getParameterTypes(); // avoid clone + + for(int j = 0; j < params.length; j++) { + sb.append(getType(params[j]).getSignature()); + } + + sb.append(")"); + sb.append(getType(meth.getReturnType()).getSignature()); + return sb.toString(); + } } -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Thu Jun 13 13:46:31 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35971 invoked from network); 13 Jun 2002 13:46:31 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 13 Jun 2002 13:46:31 -0000 Received: (qmail 1060 invoked by uid 97); 13 Jun 2002 13:46:33 -0000 Delivered-To: [email protected] Received: (qmail 1044 invoked by uid 97); 13 Jun 2002 13:46:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 1032 invoked by uid 98); 13 Jun 2002 13:46:32 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <[email protected]> Date: Thu, 13 Jun 2002 18:45:47 +0200 From: Markus Dahm <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010628 X-Accept-Language: en-us MIME-Version: 1.0 To: BCEL Developers List <[email protected]> Subject: Re: Lookup BCEL Method for a particular java.lang.reflect.Method / Create JavaClass from java.lang.Class References: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Davanum Srinivas wrote: > Markus, > > Will my patch (ever?) make it into CVS? Yes, just at a different location. Cheers Markus -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Thu Jun 13 15:00:59 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28465 invoked from network); 13 Jun 2002 15:00:59 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 13 Jun 2002 15:00:59 -0000 Received: (qmail 24532 invoked by uid 97); 13 Jun 2002 15:01:02 -0000 Delivered-To: [email protected] Received: (qmail 24476 invoked by uid 97); 13 Jun 2002 15:01:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 24340 invoked by uid 98); 13 Jun 2002 15:00:57 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <[email protected]> Date: Thu, 13 Jun 2002 08:00:53 -0700 (PDT) From: Davanum Srinivas <[email protected]> Reply-To: [email protected] Subject: Re: Lookup BCEL Method for a particular java.lang.reflect.Method / Create JavaClass from java.lang.Class To: BCEL Developers List <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Ok. Thanks. -- dims --- Markus Dahm <[email protected]> wrote: > Davanum Srinivas wrote: > > > Markus, > > > > Will my patch (ever?) make it into CVS? > > Yes, just at a different location. > > > Cheers > Markus > > > > -- > To unsubscribe, e-mail: <mailto:[email protected]> > For additional commands, e-mail: <mailto:[email protected]> > ===== Davanum Srinivas - http://xml.apache.org/~dims/ __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Thu Jun 20 14:24:23 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48541 invoked from network); 20 Jun 2002 14:24:22 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 20 Jun 2002 14:24:22 -0000 Received: (qmail 24400 invoked by uid 97); 20 Jun 2002 14:24:29 -0000 Delivered-To: [email protected] Received: (qmail 24342 invoked by uid 97); 20 Jun 2002 14:24:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 24330 invoked by uid 98); 20 Jun 2002 14:24:26 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) X-Mailer: exmh version 2.0.2 2/24/98 To: [email protected] Subject: Search for code and inserting code into a Java bytestream Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 20 Jun 2002 15:24:16 +0100 From: Huw Evans <[email protected]> Message-Id: <[email protected]> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello, I am new to BCEL and have a question about searching for code in a bytestream and adding code once something has been found. I would like to search for instances of new for a given type, for example: T t = new T(); and substitute the following: T t = (T) Utility.create(T.class); // simple case In the end I would like to be able to handle all cases, e.g., T() takes arguments to the constructor, and so will need to be able to pass them to create. However, at the moment, I am finding it difficult to know where to start with BCEL to find the point where I should start the bytecode manipulation. If anyone could point me in the right direction, that would be appreciated. Thanks Huw Evans -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Thu Jun 20 15:52:29 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56857 invoked from network); 20 Jun 2002 15:52:29 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 20 Jun 2002 15:52:29 -0000 Received: (qmail 715 invoked by uid 97); 20 Jun 2002 15:51:56 -0000 Delivered-To: [email protected] Received: (qmail 543 invoked by uid 97); 20 Jun 2002 15:51:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 22949 invoked by uid 98); 20 Jun 2002 15:00:26 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <[email protected]> From: King Dale <[email protected]> To: "'[email protected]'" <[email protected]> Subject: Need to commonize classfile and generic packages Date: Thu, 20 Jun 2002 09:54:59 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C2186A.732E4F50" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C2186A.732E4F50 Content-Type: text/plain; charset="iso-8859-1" While trying to do some simple tasks, I ran into several places where there was a lot of problems with the difference between the classfile and generic packages. Take the constant pool for example. In my application I was parsing one class file and using the information from that to generate another one. The one I was constructing was using a ClassGen with a ConstantPoolGen. The class I parsed was of course a JavaClass with a ConstantPool. When copying fields from the parsed class to the ClassGen I needed to copy the Constant object that represented the field's ConstantValue. I could certainly get the Constant from the ConstantPool, but how do I put it into the ConstantPoolGen. There is this method in ConstantPoolGen: void addConstant( Constant c, ConstantPoolGen cp ) That expects a ConstantPoolGen not a ConstantPool. The first line of the Method calls getConstantPool so there is no reason for it to be ConstantPoolGen. My first thought is that it could be split into: void addConstant( Constant c, ConstantPool cp ) { // Most of the logic } void addConstant( Constant c, ConstantPoolGen cp ) { addConstant( c, cp.getConstantPool ); } But really that is not getting to the real issue. The real issue is that these two classes are closely related. They should actually both implement a common interface that defines those operations that are common to both. Then the addConstant method could simply take an object that implements that interface rather than the concrete class. This probably applies to the rest of the objects that have this dichotomy. -- Dale King PS. I am not subscribed and my employer is blocking www.mail-archive.com so if you want me to see a reply you will need to copy me via email. ------_=_NextPart_001_01C2186A.732E4F50-- From [email protected] Sat Jun 22 12:29:45 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51397 invoked from network); 22 Jun 2002 12:29:45 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 22 Jun 2002 12:29:45 -0000 Received: (qmail 29135 invoked by uid 97); 22 Jun 2002 12:29:50 -0000 Delivered-To: [email protected] Received: (qmail 29095 invoked by uid 97); 22 Jun 2002 12:29:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 29083 invoked by uid 98); 22 Jun 2002 12:29:49 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) X-Originating-IP: [161.129.204.104] From: <[email protected]> To: "BCEL Developers List" <[email protected]> CC: [email protected] Subject: AW: Need to commonize classfile and generic packages Date: Sat, 22 Jun 2002 14:29:39 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Message-Id: <20020622123214.UGBS27460.mailoutvl21@[161.129.204.104]> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, what keeps you from using the appriate constructor of ClassGen(JavaClass clazz) which will do everything automagically. Cheers Markus > > Von: King Dale <[email protected]> > Datum: 2002/06/20 Do PM 04:54:59 GMT+02:00 > An: "'[email protected]'" <[email protected]> > Betreff: Need to commonize classfile and generic packages > > While trying to do some simple tasks, I ran into several places where there > was a lot of problems with the difference between the classfile and generic > packages. Take the constant pool for example. In my application I was > parsing one class file and using the information from that to generate > another one. The one I was constructing was using a ClassGen with a > ConstantPoolGen. The class I parsed was of course a JavaClass with a > ConstantPool. When copying fields from the parsed class to the ClassGen I > needed to copy the Constant object that represented the field's > ConstantValue. I could certainly get the Constant from the ConstantPool, but > how do I put it into the ConstantPoolGen. There is this method in > ConstantPoolGen: > > void addConstant( Constant c, ConstantPoolGen cp ) > > That expects a ConstantPoolGen not a ConstantPool. The first line of the > Method calls getConstantPool so there is no reason for it to be > ConstantPoolGen. > > My first thought is that it could be split into: > > void addConstant( Constant c, ConstantPool cp ) > { > // Most of the logic > } > void addConstant( Constant c, ConstantPoolGen cp ) > { > addConstant( c, cp.getConstantPool ); > } > > But really that is not getting to the real issue. The real issue is that > these two classes are closely related. They should actually both implement a > common interface that defines those operations that are common to both. Then > the addConstant method could simply take an object that implements that > interface rather than the concrete class. This probably applies to the rest > of the objects that have this dichotomy. > > -- > Dale King > > PS. I am not subscribed and my employer is blocking www.mail-archive.com so > if you want me to see a reply you will need to copy me via email. > > -- berlin.de - meine stadt im netz. Jetzt eigene eMail-adresse @berlin.de sichern! http://webmail.berlin.de ++++++++++++++++++++++++++++++++++++++++++++++++ 7 CITIES SUMMER AUCTION Reisen Sie mit uns durch das Land der grenzenlosen Merkwürdigkeiten. Sieben Städte, zwölf Mitbringsel und noch mehr Erlebnisse. Jeden Montag und Donnerstag eine neue Episode und eine neue Auktion: http://www.BerlinOnline.de/auktion Präsentiert von BerlinOnline und Lucky Strike Originals ++++++++++++++++++++++++++++++++++++++++++++++++ -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Sat Jun 22 12:35:29 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52241 invoked from network); 22 Jun 2002 12:35:29 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 22 Jun 2002 12:35:29 -0000 Received: (qmail 29707 invoked by uid 97); 22 Jun 2002 12:35:35 -0000 Delivered-To: [email protected] Received: (qmail 29678 invoked by uid 97); 22 Jun 2002 12:35:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 29666 invoked by uid 98); 22 Jun 2002 12:35:34 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) X-Originating-IP: [161.129.204.104] From: <[email protected]> To: "BCEL Developers List" <[email protected]> CC: [email protected] Subject: Re: Search for code and inserting code into a Java bytestream Date: Sat, 22 Jun 2002 14:35:25 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Message-Id: <20020622123800.UGES27460.mailoutvl21@[161.129.204.104]> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, what you suggest is a typical application of BCEL. Take a look at the helloify example. Cheers markus > > Von: Huw Evans <[email protected]> > Datum: 2002/06/20 Do PM 04:24:16 GMT+02:00 > An: [email protected] > Betreff: Search for code and inserting code into a Java bytestream > > > Hello, I am new to BCEL and have a question about searching for code in a > bytestream and adding code once something has been found. > > I would like to search for instances of new for a given type, for example: > > T t = new T(); > > and substitute the following: > > T t = (T) Utility.create(T.class); // simple case > > In the end I would like to be able to handle all cases, e.g., T() takes > arguments to the constructor, and so will need to be able to pass them to > create. > > However, at the moment, I am finding it difficult to know where to start with > BCEL to find the point where I should start the bytecode manipulation. > > If anyone could point me in the right direction, that would be appreciated. > > Thanks > > Huw Evans > > > > -- > To unsubscribe, e-mail: <mailto:[email protected]> > For additional commands, e-mail: <mailto:[email protected]> > > -- berlin.de - meine stadt im netz. Jetzt eigene eMail-adresse @berlin.de sichern! http://webmail.berlin.de ++++++++++++++++++++++++++++++++++++++++++++++++ 7 CITIES SUMMER AUCTION Reisen Sie mit uns durch das Land der grenzenlosen Merkwürdigkeiten. Sieben Städte, zwölf Mitbringsel und noch mehr Erlebnisse. Jeden Montag und Donnerstag eine neue Episode und eine neue Auktion: http://www.BerlinOnline.de/auktion Präsentiert von BerlinOnline und Lucky Strike Originals ++++++++++++++++++++++++++++++++++++++++++++++++ -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Sat Jun 22 16:32:44 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15993 invoked from network); 22 Jun 2002 16:32:39 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by daedalus.apache.org with SMTP; 22 Jun 2002 16:32:39 -0000 Received: (qmail 18940 invoked by uid 97); 22 Jun 2002 16:32:45 -0000 Delivered-To: [email protected] Received: (qmail 18898 invoked by uid 97); 22 Jun 2002 16:32:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 18885 invoked by uid 98); 22 Jun 2002 16:32:43 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <001b01c21a0a$e03a2fa0$d38127d9@oemcomputer> From: "Stephen Colebourne" <[email protected]> To: "BCEL Developers List" <[email protected]> Subject: Feedback and Possible enhancements Date: Sat, 22 Jun 2002 17:35:52 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I have used BCEL a little bit more now, so I thought I give my feedback on the slight inconveniences I found. 1) InstructionFactory doesn't have a create method for INSTANCEOF. At first I assumed 'createCheckCast' would do it. 2) Creating a try catch catch finally was a real pain. It was not obvious that an exception type of null would create the finally part, and the arrangement of all the bytecodes seems like something that could be automated easily. Could I suggest something like: public class TryCatchFinally extends Instruction { InstructionList getTryInstructionList(); InstructionList addCatchInstructionList(Type exceptionType); InstructionList getCatchInstructionList(Type exceptionType); InstructionList getFinallyInstructionList(); } The API user would add code to the sub instruction lists, rather than to the main one. The TryCatchFinally would then be added to the normal InstructionList. At generation time, the relevant 'glue' code could then be created (JSR/RET, local variables for the exceptions etc.) In fact, this pattern could be extended to other block instructions (synchronized, while, for, etc). Overall, however the API has been good to work with. Thanks. Stephen -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Thu Jun 27 02:37:25 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56748 invoked from network); 27 Jun 2002 02:37:25 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by 161.129.204.104 with SMTP; 27 Jun 2002 02:37:25 -0000 Received: (qmail 17715 invoked by uid 97); 27 Jun 2002 02:37:32 -0000 Delivered-To: [email protected] Received: (qmail 17669 invoked by uid 97); 27 Jun 2002 02:37:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 17655 invoked by uid 50); 27 Jun 2002 02:37:31 -0000 Date: 27 Jun 2002 02:37:31 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Cc: Subject: DO NOT REPLY [Bug 10269] New: - Pass3b Verifier is corrupted X-Spam-Rating: 161.129.204.104 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10269>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10269 Pass3b Verifier is corrupted Summary: Pass3b Verifier is corrupted Product: BCEL Version: 5.0RC1 Platform: All OS/Version: Windows NT/2K Status: NEW Severity: Major Priority: Other Component: Main AssignedTo: [email protected] ReportedBy: [email protected] The Repostiroty method public static boolean implementationOf(JavaClass clazz, JavaClass inter); Isn't working correctly. Therefore the Cast checks performed in the Pass3b verifier are wrong. With this simple program the verifcation fails. (tested with jdk1.4.0 W32) <code> class A implements B{ static C temp; public static void main(String[] args){ temp = new A(); } } interface B extends C{ } interface C{ } </code> The reason is simple. Interfaces are checked only directly. Interfaces inherited indirectly are forgotten. There is another version of this bug, where even direct implemented interfaces are not recognized, but i wasn't able to reduce it to a simple example. -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Thu Jun 27 09:38:09 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64832 invoked from network); 27 Jun 2002 09:38:09 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by 161.129.204.104 with SMTP; 27 Jun 2002 09:38:09 -0000 Received: (qmail 13189 invoked by uid 97); 27 Jun 2002 09:38:20 -0000 Delivered-To: [email protected] Received: (qmail 13054 invoked by uid 97); 27 Jun 2002 09:38:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 4915 invoked by uid 98); 27 Jun 2002 09:31:39 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) X-Epoch: 1025170267 X-Sasl-enc: lohQoRkIxemL/XKtIhwRSg Message-ID: <[email protected]> From: "Rob Oxspring" <[email protected]> To: <[email protected]>, <[email protected]>, <[email protected]>, <[email protected]>, <[email protected]>, <[email protected]>, <[email protected]>, <[email protected]>, <[email protected]>, <[email protected]>, <[email protected]>, <[email protected]>, <[email protected]>, <[email protected]>, <[email protected]>, <[email protected]>, <[email protected]>, <[email protected]>, <[email protected]>, <[email protected]>, <[email protected]>, <[email protected]>, <[email protected]>, <[email protected]>, <[email protected]>, <[email protected]>, <[email protected]>, <[email protected]>, <[email protected]>, <[email protected]>, <[email protected]> Subject: Jakarta Newsletter Date: Thu, 27 Jun 2002 10:31:01 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: 161.129.204.104 1.6.2 0/1000/N X-Spam-Rating: 161.129.204.104 1.6.2 0/1000/N Firstly, apologies for the cross post but I wanted your attention (and conribtutions). Any discussion following that should involve me should probably go on general@ or cc me directly - the whole point of the newsletter is that I have niether the time nor the inclination to join all the -dev lists myself... read on. The idea is to try and produce a Jakarta Newsletter to let developers know what has been going on in the other projects, without having to monitor each of them. Hopefully this will allow people to spot discussions and subprojects that are important to them but were happening within a foriegn list, the net result should be better cross-pollination of ideas and increased awareness through jakarta generally. Enough of the high aims - a proof of concept issue was put out and discussed on general@ (http://[email protected]. org&msgId=353518) and so I'm now trying to gather information for a proper issue #1. What I'm after is a volunteer from each group to edit together summaries of the intersting / important discussions within their own group over the course of June, and send me the result by the end of Sunday. It would be good (though not essential) if you could let me know that someone will be taking on the task for your project, so that I can reduce the general pestering in later mails . Any groups that submit nothing will simply not feature as I have not got the time to browse and edit the discussions myself. Thanks in advance, Rob For background regarding the newsletter, check out any/all of the mails here: http://nagoya.apache.org/eyebrowse/SearchList?listId=&listName=general@jakar ta.apache.org&searchText=newsletter&defaultField=subject&Search=Search -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Sat Jun 29 15:14:48 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44541 invoked from network); 29 Jun 2002 15:14:48 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by 161.129.204.104 with SMTP; 29 Jun 2002 15:14:48 -0000 Received: (qmail 17786 invoked by uid 97); 29 Jun 2002 15:14:58 -0000 Delivered-To: [email protected] Received: (qmail 17752 invoked by uid 97); 29 Jun 2002 15:14:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 17728 invoked by uid 97); 29 Jun 2002 15:14:57 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Date: 29 Jun 2002 15:14:43 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-bcel/src/java/org/apache/bcel/util BCELFactory.java X-Spam-Rating: 161.129.204.104 1.6.2 0/1000/N X-Spam-Rating: 161.129.204.104 1.6.2 0/1000/N mdahm 2002/06/29 08:14:43 Modified: src/java/org/apache/bcel/util BCELFactory.java Log: Bug fix for finally Revision Changes Path 1.2 +5 -3 jakarta-bcel/src/java/org/apache/bcel/util/BCELFactory.java Index: BCELFactory.java =================================================================== RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/util/BCELFactory.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- BCELFactory.java 12 Mar 2002 17:52:00 -0000 1.1 +++ BCELFactory.java 29 Jun 2002 15:14:43 -0000 1.2 @@ -335,13 +335,15 @@ CodeExceptionGen[] handlers = _mg.getExceptionHandlers(); for(int i=0; i < handlers.length; i++) { - CodeExceptionGen h = handlers[i]; + CodeExceptionGen h = handlers[i]; + String type = (h.getCatchType() == null)? + "null" : BCELifier.printType(h.getCatchType()); _out.println(" method.addExceptionHandler(" + "ih_" + h.getStartPC().getPosition() + ", " + "ih_" + h.getEndPC().getPosition() + ", " + "ih_" + h.getHandlerPC().getPosition() + ", " + - BCELifier.printType(h.getCatchType()) + ");"); + type + ");"); } } } -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Sat Jun 29 15:15:19 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44649 invoked from network); 29 Jun 2002 15:15:18 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by 161.129.204.104 with SMTP; 29 Jun 2002 15:15:18 -0000 Received: (qmail 18040 invoked by uid 97); 29 Jun 2002 15:15:29 -0000 Delivered-To: [email protected] Received: (qmail 18024 invoked by uid 97); 29 Jun 2002 15:15:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 18013 invoked by uid 97); 29 Jun 2002 15:15:28 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Date: 29 Jun 2002 15:15:14 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-bcel/src/java/org/apache/bcel/generic InstructionFactory.java X-Spam-Rating: 161.129.204.104 1.6.2 0/1000/N X-Spam-Rating: 161.129.204.104 1.6.2 0/1000/N mdahm 2002/06/29 08:15:14 Modified: src/java/org/apache/bcel/generic InstructionFactory.java Log: added createInstanceOf Revision Changes Path 1.5 +8 -1 jakarta-bcel/src/java/org/apache/bcel/generic/InstructionFactory.java Index: InstructionFactory.java =================================================================== RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/generic/InstructionFactory.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- InstructionFactory.java 10 Apr 2002 07:40:59 -0000 1.4 +++ InstructionFactory.java 29 Jun 2002 15:15:14 -0000 1.5 @@ -525,6 +525,13 @@ return new CHECKCAST(cp.addClass((ObjectType)t)); } + public INSTANCEOF createInstanceOf(ReferenceType t) { + if(t instanceof ArrayType) + return new INSTANCEOF(cp.addArrayClass((ArrayType)t)); + else + return new INSTANCEOF(cp.addClass((ObjectType)t)); + } + public NEW createNew(ObjectType t) { return new NEW(cp.addClass(t)); } -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Sat Jun 29 15:15:27 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44666 invoked from network); 29 Jun 2002 15:15:27 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by 161.129.204.104 with SMTP; 29 Jun 2002 15:15:27 -0000 Received: (qmail 18194 invoked by uid 97); 29 Jun 2002 15:15:37 -0000 Delivered-To: [email protected] Received: (qmail 18178 invoked by uid 97); 29 Jun 2002 15:15:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 18166 invoked by uid 98); 29 Jun 2002 15:15:37 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <[email protected]> Date: Sat, 29 Jun 2002 20:14:33 +0200 From: Markus Dahm <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010628 X-Accept-Language: en-us MIME-Version: 1.0 To: BCEL Developers List <[email protected]> Subject: Re: Feedback and Possible enhancements References: <001b01c21a0a$e03a2fa0$d38127d9@oemcomputer> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: 161.129.204.104 1.6.2 0/1000/N X-Spam-Rating: 161.129.204.104 1.6.2 0/1000/N Hi, > 1) InstructionFactory doesn't have a create method for INSTANCEOF. At first > I assumed 'createCheckCast' would do it. Fixed. > 2) Creating a try catch catch finally was a real pain. It was not obvious > that an exception type of null would create the finally part, and the > arrangement of all the bytecodes seems like something that could be > automated easily. Could I suggest something like: Byte code for finally is really ugly, but you can use the BCELifier to find out how to implement it. Your suggestion is just what the CompoundInstruction interface is intended for. However, such a template is not that simple to implement, since you have to consider where to store the exception references and the return address. Should this be passed by the user or be created automagically somehow? Feel free to implement such a template, I'll gladly add it to BCEL :) Cheers Markus -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]> From [email protected] Sat Jun 29 15:36:30 2002 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56547 invoked from network); 29 Jun 2002 15:36:30 -0000 Received: from unknown (HELO nagoya.betaversion.org) (161.129.204.104) by 161.129.204.104 with SMTP; 29 Jun 2002 15:36:30 -0000 Received: (qmail 24253 invoked by uid 97); 29 Jun 2002 15:36:40 -0000 Delivered-To: [email protected] Received: (qmail 24237 invoked by uid 97); 29 Jun 2002 15:36:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Developers List" <bcel-dev.jakarta.apache.org> Reply-To: "BCEL Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 24225 invoked by uid 98); 29 Jun 2002 15:36:39 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <005601c21f83$23ff35a0$ad1a29d9@oemcomputer> From: "Stephen Colebourne" <[email protected]> To: "BCEL Developers List" <[email protected]> References: <001b01c21a0a$e03a2fa0$d38127d9@oemcomputer> <[email protected]> Subject: Re: Feedback and Possible enhancements Date: Sat, 29 Jun 2002 16:39:21 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: 161.129.204.104 1.6.2 0/1000/N X-Spam-Rating: 161.129.204.104 1.6.2 0/1000/N Thanks for the first change. I would love to have a go at the CompoundInstruction challenge, but unfortunately I'm tied up with adding lots of code to Jakarta Commons at the moment. One of the things I intend to add there is a class/method/field definition structure. This was originally intended for introspecting existing classes into, but I think it might also be useful for generating classes from. Anyway, its just an idea at the moment, but I may be back in touch at some point ;-) Stephen From: "Markus Dahm" <[email protected]> > > 1) InstructionFactory doesn't have a create method for INSTANCEOF. At > first > > I assumed 'createCheckCast' would do it. > Fixed. > > > > 2) Creating a try catch catch finally was a real pain. It was not obvious > > that an exception type of null would create the finally part, and the > > arrangement of all the bytecodes seems like something that could be > > automated easily. Could I suggest something like: > > > Byte code for finally is really ugly, but you can use the BCELifier to > find out how to implement it. > > Your suggestion is just what the CompoundInstruction interface is > intended for. However, such a template is not that simple to implement, > since you have to consider where to store the exception references and > the return address. Should this be passed by the user or be created > automagically somehow? > > Feel free to implement such a template, I'll gladly add it to BCEL :) > > Cheers > Markus > > > > > -- > To unsubscribe, e-mail: <mailto:[email protected]> > For additional commands, e-mail: <mailto:[email protected]> > -- To unsubscribe, e-mail: <mailto:[email protected]> For additional commands, e-mail: <mailto:[email protected]>
From [email protected] Sat Feb 13 05:24:43 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8997 invoked from network); 13 Feb 2010 05:24:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Feb 2010 05:24:43 -0000 Received: (qmail 19023 invoked by uid 500); 13 Feb 2010 05:24:43 -0000 Delivered-To: [email protected] Received: (qmail 18962 invoked by uid 500); 13 Feb 2010 05:24:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4PHP Dev" <[email protected]> List-Id: <log4php-dev.logging.apache.org> Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 62354 invoked by uid 99); 12 Feb 2010 21:04:37 -0000 X-ASF-Spam-Status: No, hits=2.8 required=10.0 tests=RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjcFAA9RdUvUnw4U/2dsb2JhbACDBJd7AnSvd484g31bBIsQ Message-ID: <[email protected]> Date: Fri, 12 Feb 2010 21:03:58 +0000 From: jah <[email protected]> Reply-To: [email protected] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:161.129.204.104) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1 MIME-Version: 1.0 To: [email protected] Subject: [PATCH] LoggerPatternConverter->spacePad should use a reference to $sbuf X-Enigmail-Version: 1.0.1 Content-Type: multipart/mixed; boundary="------------050302020302010707090008" X-Plusnet-Relay: 76f153aa4d500b9ee21e2280d462f233 This is a multi-part message in MIME format. --------------050302020302010707090008 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi folks, I noticed that padding of patterns wasn't happening (e.g. %-5c). The padding is happening to a copy of $sbuf rather than a reference. Attached is a patch for latest LoggerPatternConverter. Cheers, jah --------------050302020302010707090008 Content-Type: text/x-patch; name="padding.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="padding.patch" LS0tIExvZ2dlclBhdHRlcm5Db252ZXJ0ZXIucGhwLm9yaWcJMjAxMC0wMi0xMiAyMDo1NDo0 MC43OTY4NzUwMDAgKzAwMDAKKysrIExvZ2dlclBhdHRlcm5Db252ZXJ0ZXIucGhwCTIwMTAt MDItMTIgMjA6NTY6NTguNzM0Mzc1MDAwICswMDAwCkBAIC0xMTYsMTIgKzExNiwxMiBAQAog CS8qKg0KIAkgKiBGYXN0IHNwYWNlIHBhZGRpbmcgbWV0aG9kLg0KIAkgKg0KLQkgKiBAcGFy YW0gc3RyaW5nCSRzYnVmCSAgIHN0cmluZyBidWZmZXINCisJICogQHBhcmFtIHN0cmluZwkm JHNidWYJICAgc3RyaW5nIGJ1ZmZlcg0KIAkgKiBAcGFyYW0gaW50ZWdlcgkkbGVuZ3RoCSAg IHBhZCBsZW5ndGgNCiAJICoNCiAJICogQHRvZG8gcmVpbXBsZW1lbnQgdXNpbmcgUEhQIHN0 cmluZyBmdW5jdGlvbnMNCiAJICovDQotCXB1YmxpYyBmdW5jdGlvbiBzcGFjZVBhZCgkc2J1 ZiwgJGxlbmd0aCkgew0KKwlwdWJsaWMgZnVuY3Rpb24gc3BhY2VQYWQoJiRzYnVmLCAkbGVu Z3RoKSB7DQogCQl3aGlsZSgkbGVuZ3RoID49IDMyKSB7DQogCQkgICRzYnVmIC49ICRHTE9C QUxTWydsb2c0cGhwLkxvZ2dlclBhdHRlcm5Db252ZXJ0ZXIuc3BhY2VzJ11bNV07DQogCQkg ICRsZW5ndGggLT0gMzI7DQo= --------------050302020302010707090008-- From [email protected] Mon Feb 15 19:28:32 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79403 invoked from network); 15 Feb 2010 19:28:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Feb 2010 19:28:32 -0000 Received: (qmail 25513 invoked by uid 500); 15 Feb 2010 12:21:51 -0000 Delivered-To: [email protected] Received: (qmail 25454 invoked by uid 500); 15 Feb 2010 12:21:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4PHP Dev" <[email protected]> List-Id: <log4php-dev.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 25444 invoked by uid 99); 15 Feb 2010 12:21:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Feb 2010 12:21:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Feb 2010 12:21:48 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id EF5C8234C1EF for <[email protected]>; Mon, 15 Feb 2010 04:21:27 -0800 (PST) Message-ID: <{{EMAIL+PHONE}}> Date: Mon, 15 Feb 2010 12:21:27 +0000 (UTC) From: "Ivan Habunek (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (LOG4PHP-95) Add trace level to Log4PHP In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LOG4PHP-95?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ivan Habunek updated LOG4PHP-95: -------------------------------- Attachment: log4php-trace-patch.txt This is a feature which I missed a lot so I made a patch (done on revision 822624). Since I'm not a log4php developer, I do not know if I covered all the bases. I might have missed something in parts of log4php which I don't use. That said, I have used log4php with this patch for quite some time and it works fine. Regards, Ivan > Add trace level to Log4PHP > -------------------------- > > Key: LOG4PHP-95 > URL: https://issues.apache.org/jira/browse/LOG4PHP-95 > Project: Log4php > Issue Type: New Feature > Components: Code > Affects Versions: 2.0 > Reporter: Christian Grobmeier > Priority: Minor > Attachments: log4php-trace-patch.txt > > > The trace Level is meanwhile widely used and Log4PHP might benefit too from this feature > To be discussed -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Feb 17 10:34:17 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11139 invoked from network); 17 Feb 2010 10:34:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Feb 2010 10:34:17 -0000 Received: (qmail 22913 invoked by uid 500); 17 Feb 2010 10:34:17 -0000 Delivered-To: [email protected] Received: (qmail 22853 invoked by uid 500); 17 Feb 2010 10:34:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4PHP Dev" <[email protected]> List-Id: <log4php-dev.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 22844 invoked by uid 99); 17 Feb 2010 10:34:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Feb 2010 10:34:16 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-fx0-f218.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Feb 2010 10:34:08 +0000 Received: by fxm10 with SMTP id 10so7207890fxm.29 for <[email protected]>; Wed, 17 Feb 2010 02:33:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=QZOmQJugR7GXT3+BYNkLVewC6ld7jxNhQyD167do+ZQ=; b=w8W7yZS1dtlfNZ2p5Z9EZI/7gMwnVUdZlTJtjH+5zE53mY6kwEk2oOZr8qqojBENq/ ddAPHoEuUgSmcUgyFBvTv4ASEAp32OGUIf+ZB0ckTwsIzGu+ODVL3cofDSmu/D2CchbV hP6Yy82YBV9WpsmxHkR4vzKZ5lTttRgaBqWgg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=v9COatXTdWO1wlxVfvCDmyJsWCzU9Z48s4dDJZP9aWQ3jdLVq7O9AiyxH7JQIHA/uZ T6LQR/NwR0HtBCKcaimSlFzrWd+ru5w5h8aTp4bst71/Kx0dzRe9FK0cHbTouih1Kb29 czIEItDkfo/e8s2i0z2qaqOogszvgixwVVn/k= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id z29mr5677523mum.112.1266402827397; Wed, 17 Feb 2010 02:33:47 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> From: Christian Grobmeier <[email protected]> Date: Wed, 17 Feb 2010 11:33:25 +0100 Message-ID: <[email protected]> Subject: Re: [PATCH] LoggerPatternConverter->spacePad should use a reference to $sbuf To: Log4PHP Dev <[email protected]>, [email protected] Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Thanks Jah, I will include this fix asap. It went wrong in the past because we tried to work without references wherever possible. Cheers, Christian On Fri, Feb 12, 2010 at 10:03 PM, jah <[email protected]> wrote: > Hi folks, > > I noticed that padding of patterns wasn't happening (e.g. %-5c). The > padding is happening to a copy of $sbuf rather than a reference. > Attached is a patch for latest LoggerPatternConverter. > > Cheers, > > jah > From [email protected] Sat Feb 20 13:59:34 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52731 invoked from network); 20 Feb 2010 13:59:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Feb 2010 13:59:34 -0000 Received: (qmail 68401 invoked by uid 500); 20 Feb 2010 13:59:34 -0000 Delivered-To: [email protected] Received: (qmail 68337 invoked by uid 500); 20 Feb 2010 13:59:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4PHP Dev" <[email protected]> List-Id: <log4php-dev.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 68329 invoked by uid 500); 20 Feb 2010 13:59:33 -0000 Delivered-To: [email protected] Received: (qmail 68326 invoked by uid 99); 20 Feb 2010 13:59:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Feb 2010 13:59:33 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Feb 2010 13:59:26 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 236B323889B2; Sat, 20 Feb 2010 13:59:06 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r912114 - /incubator/log4php/trunk/src/main/php/helpers/LoggerPatternConverter.php Date: Sat, 20 Feb 2010 13:59:06 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: grobmeier Date: Sat Feb 20 13:59:05 2010 New Revision: 912114 URL: http://svn.apache.org/viewvc?rev=912114&view=rev Log: added reference to enable space padding again (user contribution from the mailing list: jahboite.co.uk) Modified: incubator/log4php/trunk/src/main/php/helpers/LoggerPatternConverter.php Modified: incubator/log4php/trunk/src/main/php/helpers/LoggerPatternConverter.php URL: http://svn.apache.org/viewvc/incubator/log4php/trunk/src/main/php/helpers/LoggerPatternConverter.php?rev=912114&r1=912113&r2=912114&view=diff ============================================================================== --- incubator/log4php/trunk/src/main/php/helpers/LoggerPatternConverter.php (original) +++ incubator/log4php/trunk/src/main/php/helpers/LoggerPatternConverter.php Sat Feb 20 13:59:05 2010 @@ -116,12 +116,12 @@ /** * Fast space padding method. * - * @param string $sbuf string buffer + * @param string &$sbuf string buffer * @param integer $length pad length * * @todo reimplement using PHP string functions */ - public function spacePad($sbuf, $length) { + public function spacePad(&$sbuf, $length) { while($length >= 32) { $sbuf .= $GLOBALS['log4php.LoggerPatternConverter.spaces'][5]; $length -= 32; From [email protected] Sat Feb 20 14:01:11 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53444 invoked from network); 20 Feb 2010 14:01:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Feb 2010 14:01:11 -0000 Received: (qmail 68686 invoked by uid 500); 20 Feb 2010 14:01:11 -0000 Delivered-To: [email protected] Received: (qmail 68622 invoked by uid 500); 20 Feb 2010 14:01:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4PHP Dev" <[email protected]> List-Id: <log4php-dev.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 68614 invoked by uid 99); 20 Feb 2010 14:01:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Feb 2010 14:01:11 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-fx0-f218.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Feb 2010 14:01:04 +0000 Received: by fxm10 with SMTP id 10so925541fxm.30 for <[email protected]>; Sat, 20 Feb 2010 06:00:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=9XrQF/mG6rmHM6wQulVWuVeyXSRAoxcYIGN11/2gOag=; b=TojdTOH1fN15Ax3SSzlxkyeVZyveBW4h4UDeSuWHUU+SnkYwjuQVtBPr2w+cRTSeVQ mmEAAE1UzjtBfdF8dnk4++2w40DRCH1jN7zIWcO3A0lMoVs44PSY/tYc1oNIO1egX1Ez fmcwZfCMDJ+Fp4akFi4w5jykjk9GQazWUV5Bw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=TyylelzQY0aqAVWSR9Rd+AlCV3sVA74D9VK9uO1HHBjJ2rGhZ+O2HQEgWrRkO4PUSk w2iJ6wy94hRZUo7vKmj/F088dsOVnDREiyhAC8uoLeJQde7dikuyz7T5NsvNXUV4vtau 1+fxfPnaEZAGhRBr6MWJ5U7sQM1raa1H0Nnbo= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id g10mr583063muf.40.1266674443076; Sat, 20 Feb 2010 06:00:43 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> From: Christian Grobmeier <[email protected]> Date: Sat, 20 Feb 2010 15:00:23 +0100 Message-ID: <[email protected]> Subject: Re: [PATCH] LoggerPatternConverter->spacePad should use a reference to $sbuf To: Log4PHP Dev <[email protected]> Content-Type: text/plain; charset=UTF-8 Thanks, its fixed in rv912114 Cheers On Fri, Feb 12, 2010 at 10:03 PM, jah <[email protected]> wrote: > Hi folks, > > I noticed that padding of patterns wasn't happening (e.g. %-5c). The > padding is happening to a copy of $sbuf rather than a reference. > Attached is a patch for latest LoggerPatternConverter. > > Cheers, > > jah > From [email protected] Sat Feb 20 14:26:37 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 62339 invoked from network); 20 Feb 2010 14:26:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Feb 2010 14:26:36 -0000 Received: (qmail 79393 invoked by uid 500); 20 Feb 2010 14:26:36 -0000 Delivered-To: [email protected] Received: (qmail 79330 invoked by uid 500); 20 Feb 2010 14:26:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4PHP Dev" <[email protected]> List-Id: <log4php-dev.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 79322 invoked by uid 500); 20 Feb 2010 14:26:36 -0000 Delivered-To: [email protected] Received: (qmail 79319 invoked by uid 99); 20 Feb 2010 14:26:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Feb 2010 14:26:36 +0000 X-ASF-Spam-Status: No, hits=-1999.3 required=10.0 tests=ALL_TRUSTED,FRT_LEVITRA X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Feb 2010 14:26:34 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id CCBE223889DA; Sat, 20 Feb 2010 14:26:12 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r912120 - in /incubator/log4php/trunk/src: changes/ main/php/ main/php/appenders/ test/php/ test/php/configurators/ Date: Sat, 20 Feb 2010 14:26:12 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: grobmeier Date: Sat Feb 20 14:26:12 2010 New Revision: 912120 URL: http://svn.apache.org/viewvc?rev=912120&view=rev Log: LOG4PHP-95: Added trace level to Log4PHP. Contributed by Ivan Habunek. Test added by myself Modified: incubator/log4php/trunk/src/changes/changes.xml incubator/log4php/trunk/src/main/php/Logger.php incubator/log4php/trunk/src/main/php/LoggerLevel.php incubator/log4php/trunk/src/main/php/appenders/LoggerAppenderSyslog.php incubator/log4php/trunk/src/test/php/LoggerLevelTest.php incubator/log4php/trunk/src/test/php/configurators/LoggerConfiguratorIniTest.php incubator/log4php/trunk/src/test/php/configurators/LoggerConfiguratorPhpTest.php incubator/log4php/trunk/src/test/php/configurators/LoggerConfiguratorXmlTest.php incubator/log4php/trunk/src/test/php/configurators/test1.php incubator/log4php/trunk/src/test/php/configurators/test1.properties incubator/log4php/trunk/src/test/php/configurators/test1.xml Modified: incubator/log4php/trunk/src/changes/changes.xml URL: http://svn.apache.org/viewvc/incubator/log4php/trunk/src/changes/changes.xml?rev=912120&r1=912119&r2=912120&view=diff ============================================================================== --- incubator/log4php/trunk/src/changes/changes.xml (original) +++ incubator/log4php/trunk/src/changes/changes.xml Sat Feb 20 14:26:12 2010 @@ -25,7 +25,8 @@ <body> <release version="2.1" description="Stabilizing"> <action type="fix" issue="LOG4PHP-91">LoginOptionConverter.php (used wrong constant name)</action> -y <action type="fix" issue="LOG4PHP-96" by="Tommy Montgomery">Some of the tests don't pass under Windows</action> + <action type="update" issue="LOG4PHP-95" by="Ivan Habunek, Christian Grobmeier">Add trace level to Log4PHP</action> + <action type="fix" issue="LOG4PHP-96" by="Tommy Montgomery">Some of the tests don't pass under Windows</action> </release> <release version="2.0" description="PHP 5 compatibility"> <action type="fix" issue="LOG4PHP-3">Maven 2.0 build</action> Modified: incubator/log4php/trunk/src/main/php/Logger.php URL: http://svn.apache.org/viewvc/incubator/log4php/trunk/src/main/php/Logger.php?rev=912120&r1=912119&r2=912120&view=diff ============================================================================== --- incubator/log4php/trunk/src/main/php/Logger.php (original) +++ incubator/log4php/trunk/src/main/php/Logger.php Sat Feb 20 14:26:12 2010 @@ -207,6 +207,16 @@ /* Logging methods */ /** + * Log a message object with the TRACE level including the caller. + * + * @param mixed $message message + * @param mixed $caller caller object or caller string id + */ + public function trace($message, $caller = null) { + $this->logLevel($message, LoggerLevelacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLevelTrace(), $caller); + } + + /** * Log a message object with the DEBUG level including the caller. * * @param mixed $message message Modified: incubator/log4php/trunk/src/main/php/LoggerLevel.php URL: http://svn.apache.org/viewvc/incubator/log4php/trunk/src/main/php/LoggerLevel.php?rev=912120&r1=912119&r2=912120&view=diff ============================================================================== --- incubator/log4php/trunk/src/main/php/LoggerLevel.php (original) +++ incubator/log4php/trunk/src/main/php/LoggerLevel.php Sat Feb 20 14:26:12 2010 @@ -39,6 +39,7 @@ const WARN = 30000; const INFO = 20000; const DEBUG = 10000; + const TRACE = 5000; const ALL = -(609)337-3708; /** @@ -162,6 +163,18 @@ } return selacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b$levelMap[LoggerLevelacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bUG]; } + + /** + * Returns a Trace Level + * @static + * @return LoggerLevel + */ + public static function getLevelTrace() { + if(!isset(selacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b$levelMap[LoggerLevelacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bTRACE])) { + selacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b$levelMap[LoggerLevelacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bTRACE] = new LoggerLevel(LoggerLevelacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bTRACE, 'TRACE', 7); + } + return selacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b$levelMap[LoggerLevelacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bTRACE]; + } /** * Returns an All Level @@ -231,6 +244,7 @@ if(is_int($arg)) { switch($arg) { case selacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bALL: return selacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLevelAll(); + case selacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bTRACE: return selacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLevelTrace(); case selacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bDEBUG: return selacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLevelDebug(); case selacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bINFO: return selacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLevelInfo(); case selacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bWARN: return selacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLevelWarn(); @@ -242,6 +256,7 @@ } else { switch(strtoupper($arg)) { case 'ALL': return selacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLevelAll(); + case 'TRACE': return selacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLevelTrace(); case 'DEBUG': return selacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLevelDebug(); case 'INFO': return selacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLevelInfo(); case 'WARN': return selacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLevelWarn(); Modified: incubator/log4php/trunk/src/main/php/appenders/LoggerAppenderSyslog.php URL: http://svn.apache.org/viewvc/incubator/log4php/trunk/src/main/php/appenders/LoggerAppenderSyslog.php?rev=912120&r1=912119&r2=912120&view=diff ============================================================================== --- incubator/log4php/trunk/src/main/php/appenders/LoggerAppenderSyslog.php (original) +++ incubator/log4php/trunk/src/main/php/appenders/LoggerAppenderSyslog.php Sat Feb 20 14:26:12 2010 @@ -40,6 +40,7 @@ * - <b>ERROR > level >= WARN</b> to LOG_WARNING * - <b>WARN > level >= INFO</b> to LOG_INFO * - <b>INFO > level >= DEBUG</b> to LOG_DEBUG + * - <b>DEBUG > level >= TRACE</b> to LOG_DEBUG * * An example: * @@ -202,6 +203,8 @@ syslog(LOG_INFO, $message); } else if ($level->isGreaterOrEqual(LoggerLevelacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLevelDebug())) { syslog(LOG_DEBUG, $message); + } else if ($level->isGreaterOrEqual(LoggerLevelacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLevelTrace())) { + syslog(LOG_DEBUG, $message); // No trace level in syslog } } closelog(); Modified: incubator/log4php/trunk/src/test/php/LoggerLevelTest.php URL: http://svn.apache.org/viewvc/incubator/log4php/trunk/src/test/php/LoggerLevelTest.php?rev=912120&r1=912119&r2=912120&view=diff ============================================================================== --- incubator/log4php/trunk/src/test/php/LoggerLevelTest.php (original) +++ incubator/log4php/trunk/src/test/php/LoggerLevelTest.php Sat Feb 20 14:26:12 2010 @@ -68,6 +68,12 @@ $this->doTestLevel( LoggerLevelacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLevelDebug(), LoggerLevelacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bUG, 'DEBUG', 7 ); $this->doTestLevel( LoggerLevelacf:4db6:5e0b:f386:43a5:35d7:718d:3c8btoLevel(LoggerLevelacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bUG), LoggerLevelacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bUG, 'DEBUG', 7 ); $this->doTestLevel( LoggerLevelacf:4db6:5e0b:f386:43a5:35d7:718d:3c8btoLevel('DEBUG'), LoggerLevelacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bUG, 'DEBUG', 7 ); + } + + public function testLevelTrace() { + $this->doTestLevel( LoggerLevelacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLevelTrace(), LoggerLevelacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bTRACE, 'TRACE', 7 ); + $this->doTestLevel( LoggerLevelacf:4db6:5e0b:f386:43a5:35d7:718d:3c8btoLevel(LoggerLevelacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bTRACE), LoggerLevelacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bTRACE, 'TRACE', 7 ); + $this->doTestLevel( LoggerLevelacf:4db6:5e0b:f386:43a5:35d7:718d:3c8btoLevel('TRACE'), LoggerLevelacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bTRACE, 'TRACE', 7 ); } public function testLevelAll() { Modified: incubator/log4php/trunk/src/test/php/configurators/LoggerConfiguratorIniTest.php URL: http://svn.apache.org/viewvc/incubator/log4php/trunk/src/test/php/configurators/LoggerConfiguratorIniTest.php?rev=912120&r1=912119&r2=912120&view=diff ============================================================================== --- incubator/log4php/trunk/src/test/php/configurators/LoggerConfiguratorIniTest.php (original) +++ incubator/log4php/trunk/src/test/php/configurators/LoggerConfiguratorIniTest.php Sat Feb 20 14:26:12 2010 @@ -58,6 +58,10 @@ selacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bassertEquals(LoggerLevelacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLevelInfo(), $logger->getLevel()); selacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bassertFalse($logger->getAdditivity()); + $logger3 = Loggeracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLogger('tracer'); + selacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bassertEquals(LoggerLevelacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLevelTrace(), $logger3->getLevel()); + selacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bassertFalse($logger3->getAdditivity()); + $logger2 = Loggeracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLogger('mylogger'); $logger2->setAdditivity(true); selacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bassertTrue($logger2->getAdditivity()); Modified: incubator/log4php/trunk/src/test/php/configurators/LoggerConfiguratorPhpTest.php URL: http://svn.apache.org/viewvc/incubator/log4php/trunk/src/test/php/configurators/LoggerConfiguratorPhpTest.php?rev=912120&r1=912119&r2=912120&view=diff ============================================================================== --- incubator/log4php/trunk/src/test/php/configurators/LoggerConfiguratorPhpTest.php (original) +++ incubator/log4php/trunk/src/test/php/configurators/LoggerConfiguratorPhpTest.php Sat Feb 20 14:26:12 2010 @@ -43,5 +43,7 @@ selacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bassertTrue($layout instanceof LoggerLayoutSimple); $logger = Loggeracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLogger('mylogger'); selacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bassertEquals(LoggerLevelacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLevelInfo(), $logger->getLevel()); + $logger = Loggeracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLogger('tracer'); + selacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bassertEquals(LoggerLevelacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLevelTrace(), $logger->getLevel()); } } Modified: incubator/log4php/trunk/src/test/php/configurators/LoggerConfiguratorXmlTest.php URL: http://svn.apache.org/viewvc/incubator/log4php/trunk/src/test/php/configurators/LoggerConfiguratorXmlTest.php?rev=912120&r1=912119&r2=912120&view=diff ============================================================================== --- incubator/log4php/trunk/src/test/php/configurators/LoggerConfiguratorXmlTest.php (original) +++ incubator/log4php/trunk/src/test/php/configurators/LoggerConfiguratorXmlTest.php Sat Feb 20 14:26:12 2010 @@ -55,6 +55,10 @@ $logger = Loggeracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLogger('mylogger'); selacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bassertEquals(LoggerLevelacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLevelInfo(), $logger->getLevel()); + + $logger = Loggeracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLogger('tracer'); + selacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bassertEquals(LoggerLevelacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetLevelTrace(), $logger->getLevel()); + } public function testThreshold() { Modified: incubator/log4php/trunk/src/test/php/configurators/test1.php URL: http://svn.apache.org/viewvc/incubator/log4php/trunk/src/test/php/configurators/test1.php?rev=912120&r1=912119&r2=912120&view=diff ============================================================================== --- incubator/log4php/trunk/src/test/php/configurators/test1.php (original) +++ incubator/log4php/trunk/src/test/php/configurators/test1.php Sat Feb 20 14:26:12 2010 @@ -28,6 +28,10 @@ 'level' => 'INFO', 'appenders' => array('default'), ), + 'tracer' => array( + 'level' => 'TRACE', + 'appenders' => array('default'), + ), ), 'appenders' => array( 'default' => array( Modified: incubator/log4php/trunk/src/test/php/configurators/test1.properties URL: http://svn.apache.org/viewvc/incubator/log4php/trunk/src/test/php/configurators/test1.properties?rev=912120&r1=912119&r2=912120&view=diff ============================================================================== --- incubator/log4php/trunk/src/test/php/configurators/test1.properties (original) +++ incubator/log4php/trunk/src/test/php/configurators/test1.properties Sat Feb 20 14:26:12 2010 @@ -16,6 +16,8 @@ log4php.appender.default = LoggerAppenderEcho log4php.appender.default.layout = LoggerLayoutSimple +log4php.logger.tracer = TRACE, default +log4php.additivity.tracer= "false" log4php.additivity.mylogger= "false" log4php.logger.mylogger = INFO, default log4php.rootLogger = WARN, default Modified: incubator/log4php/trunk/src/test/php/configurators/test1.xml URL: http://svn.apache.org/viewvc/incubator/log4php/trunk/src/test/php/configurators/test1.xml?rev=912120&r1=912119&r2=912120&view=diff ============================================================================== --- incubator/log4php/trunk/src/test/php/configurators/test1.xml (original) +++ incubator/log4php/trunk/src/test/php/configurators/test1.xml Sat Feb 20 14:26:12 2010 @@ -29,6 +29,9 @@ </filter> <filter class="LoggerFilterDenyAll" /> </appender> + <logger name="tracer"> + <level value="trace"/> + </logger> <logger name="mylogger"> <level value="info"/> </logger> From [email protected] Sat Feb 20 14:26:49 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 62406 invoked from network); 20 Feb 2010 14:26:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Feb 2010 14:26:49 -0000 Received: (qmail 79522 invoked by uid 500); 20 Feb 2010 14:26:49 -0000 Delivered-To: [email protected] Received: (qmail 79463 invoked by uid 500); 20 Feb 2010 14:26:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4PHP Dev" <[email protected]> List-Id: <log4php-dev.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 79452 invoked by uid 99); 20 Feb 2010 14:26:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Feb 2010 14:26:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Feb 2010 14:26:48 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 3B01129A0029 for <[email protected]>; Sat, 20 Feb 2010 06:26:28 -0800 (PST) Message-ID: <[email protected]> Date: Sat, 20 Feb 2010 14:26:28 +0000 (UTC) From: "Christian Grobmeier (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (LOG4PHP-95) Add trace level to Log4PHP In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LOG4PHP-95?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Grobmeier updated LOG4PHP-95: --------------------------------------- Fix Version/s: 2.1 > Add trace level to Log4PHP > -------------------------- > > Key: LOG4PHP-95 > URL: https://issues.apache.org/jira/browse/LOG4PHP-95 > Project: Log4php > Issue Type: New Feature > Components: Code > Affects Versions: 2.0 > Reporter: Christian Grobmeier > Priority: Minor > Fix For: 2.1 > > Attachments: log4php-trace-patch.txt > > > The trace Level is meanwhile widely used and Log4PHP might benefit too from this feature > To be discussed -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sat Feb 20 14:28:49 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63080 invoked from network); 20 Feb 2010 14:28:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Feb 2010 14:28:49 -0000 Received: (qmail 80144 invoked by uid 500); 20 Feb 2010 14:28:49 -0000 Delivered-To: [email protected] Received: (qmail 80098 invoked by uid 500); 20 Feb 2010 14:28:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4PHP Dev" <[email protected]> List-Id: <log4php-dev.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 79980 invoked by uid 99); 20 Feb 2010 14:28:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Feb 2010 14:28:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Feb 2010 14:28:48 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id EFABB234C4AE for <[email protected]>; Sat, 20 Feb 2010 06:28:27 -0800 (PST) Message-ID: <[email protected]> Date: Sat, 20 Feb 2010 14:28:27 +0000 (UTC) From: "Christian Grobmeier (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (LOG4PHP-95) Add trace level to Log4PHP In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LOG4PHP-95?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Grobmeier resolved LOG4PHP-95. ---------------------------------------- Resolution: Fixed Thanks for the patch! I added it with testcases. Its in rv912120 > Add trace level to Log4PHP > -------------------------- > > Key: LOG4PHP-95 > URL: https://issues.apache.org/jira/browse/LOG4PHP-95 > Project: Log4php > Issue Type: New Feature > Components: Code > Affects Versions: 2.0 > Reporter: Christian Grobmeier > Priority: Minor > Fix For: 2.1 > > Attachments: log4php-trace-patch.txt > > > The trace Level is meanwhile widely used and Log4PHP might benefit too from this feature > To be discussed -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
From [email protected] Mon Nov 01 08:17:15 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15326 invoked from network); 1 Nov 2010 08:17:15 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 1 Nov 2010 08:17:15 -0000 Received: (qmail 80078 invoked by uid 500); 1 Nov 2010 08:17:46 -0000 Delivered-To: [email protected] Received: (qmail 80038 invoked by uid 500); 1 Nov 2010 08:17:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.poi.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 80031 invoked by uid 99); 1 Nov 2010 08:17:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Nov 2010 08:17:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Nov 2010 08:17:41 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 2008823888EA; Mon, 1 Nov 2010 08:16:44 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1029574 - /poi/trunk/src/documentation/content/xdocs/download.xml Date: Mon, 01 Nov 2010 08:16:44 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: yegor Date: Mon Nov 1 08:16:43 2010 New Revision: 1029574 URL: http://svn.apache.org/viewvc?rev=1029574&view=rev Log: fixed the Downloads page to reflect current release Modified: poi/trunk/src/documentation/content/xdocs/download.xml Modified: poi/trunk/src/documentation/content/xdocs/download.xml URL: http://svn.apache.org/viewvc/poi/trunk/src/documentation/content/xdocs/download.xml?rev=1029574&r1=1029573&r2=1029574&view=diff ============================================================================== --- poi/trunk/src/documentation/content/xdocs/download.xml (original) +++ poi/trunk/src/documentation/content/xdocs/download.xml Mon Nov 1 08:16:43 2010 @@ -33,8 +33,7 @@ <link href="index.html">the project homepage</link>. </p> <ul> - <li><link href="download.html#POI-3.6">The latest stable release is Apache POI 3.6</link></li> - <li><link href="download.html#POI-3.7beta3">The latest development release is Apache POI 3.7 Beta 3</link></li> + <li><link href="download.html#POI-3.7">The latest stable release is Apache POI 3.7</link></li> <li><link href="download.html#archive">Archives of all prior releases</link></li> </ul> <p> @@ -47,94 +46,43 @@ </p> </section> - <section id="POI-3.7beta3"><title>24 Septmeber 2010 - POI 3.7 beta 3 available</title> - <p>The Apache POI team is pleased to announce the release of 3.7 - beta 3. This includes a large number of bug fixes, and some - enhancements (especially text extraction). See the - <link href="http://www.apache.org/dist/poi/release/bin/RELEASE-NOTES.txt">full release notes</link> for more details. - </p> - <p>A full list of changes is available in the <link href="changes.html">change log</link>. - People interested should also follow the <link href="mailinglists.html">dev list</link> to track progress.</p> - <p> - The POI source release as well as the pre-built binary deployment packages are listed below. - Pre-built versions of all <link href="index.html#components">POI components</link> are available in the central Maven repository - under Group ID "org.apache.poi" and Version "3.7beta3". - </p> - <section><title>Binary Distribution</title> - <ul> - <li><link href="http://www.apache.org/dyn/closer.cgi/poi/dev/bin/poi-bin-3.7-beta3-20100924.tar.gz">poi-bin-3.7-beta3-20100924.tar.gz</link> ( - 13MB, <link href="http://www.apache.org/dist/poi/dev/bin/poi-bin-3.7-beta3-20100924.tar.gz.asc">signed</link>) - <br/> - MD5 checksum: aa4f07e5621401aed3c749e03d97668e - <br/> - SHA1 checksum: 55c685b039344f400d21e3885dd5b5ed4eb7f9d2 - </li> - <li><link href="http://www.apache.org/dyn/closer.cgi/poi/dev/bin/poi-bin-3.7-beta3-20100924.zip">poi-bin-3.7-beta3-20100924.zip</link> ( - 18MB, <link href="http://www.apache.org/dist/poi/dev/bin/poi-bin-3.7-beta3-20100924.zip.asc">signed</link>) - <br/> - MD5 checksum: f392071e14b83f67f3f76260b6e4b562 - <br/> - SHA1 checksum: ce2a2e20c9a7f2490c290c71096dffdfdb6fe9e2 - </li> - </ul> - </section> - <section><title>Source Distribution</title> - <ul> - <li><link href="http://www.apache.org/dyn/closer.cgi/poi/dev/src/poi-src-3.7-beta3-20100924.tar.gz">poi-src-3.7-beta3-20100924.tar.gz</link> ( - 30MB, <link href="http://www.apache.org/dist/poi/dev/src/poi-src-3.7-beta3-20100924.tar.gz.asc">signed</link>) - <br/> - MD5 checksum: 78f86cef499c434182ea88ce2ac12aee - <br/> - SHA1 checksum: 28913957f7e98a37c1e42441c828f066659bfae9 - </li> - <li><link href="http://www.apache.org/dyn/closer.cgi/poi/dev/src/poi-src-3.7-beta3-20100924.zip">poi-src-3.7-beta3-20100924.zip</link> ( - 38MB, <link href="http://www.apache.org/dist/poi/dev/src/poi-src-3.7-beta3-20100924.zip.asc">signed</link>) - <br/> - MD5 checksum: 9ef5893c921b78d9f108f7b25aeec570 - <br/> - SHA1 checksum: 62c5ad85da55a843b4995868c7ebcd91cd0386d0 - </li> - </ul> - </section> - </section> - - <section id="POI-3.6"><title>15 December 2009 - POI 3.6 available</title> - <p>The Apache POI team is pleased to announce the release of 3.6. + <section id="POI-3.7"><title>29 October 2010 - POI 3.7 available</title> + <p>The Apache POI team is pleased to announce the release of 3.7. Featured are significant performance improvements and numerous bug fixes. See the - <link href="http://www.apache.org/dist/poi/release/bin/RELEASE-NOTES.txt">full release notes</link> for more details. + <link href="http://www.apache.org/dist/poi/release/bin/RELEASE_NOTES.txt">full release notes</link> for more details. </p> <p>A full list of changes is available in the <link href="changes.html">change log</link>. People interested should also follow the <link href="mailinglists.html">dev list</link> to track progress.</p> <p> The POI source release as well as the pre-built binary deployment packages are listed below. Pre-built versions of all <link href="index.html#components">POI components</link> are available in the central Maven repository - under Group ID "org.apache.poi" and Version "3.6". + under Group ID "org.apache.poi" and Version "3.7". </p> <section><title>Binary Distribution</title> <ul> - <li><link href="http://www.apache.org/dyn/closer.cgi/poi/release/bin/poi-bin-3.6-20091214.tar.gz">poi-bin-3.6-20091214.tar.gz</link> ( - 12MB, <link href="http://www.apache.org/dist/poi/release/bin/poi-bin-3.6-20091214.tar.gz.asc">signed</link>) + <li><link href="http://www.apache.org/dyn/closer.cgi/poi/release/bin/poi-bin-3.7-20101029.tar.gz">poi-bin-3.7-20101029.tar.gz</link> ( + 12MB, <link href="http://www.apache.org/dist/poi/release/bin/poi-bin-3.7-20101029.tar.gz.asc">signed</link>) <br/> - MD5 checksum: 8e7b014fd37fba98bebc975ca4c7e44a + MD5 checksum: c1f63c1e65fbde7050650ae903c95e5c </li> - <li><link href="http://www.apache.org/dyn/closer.cgi/poi/release/bin/poi-bin-3.6-20091214.zip">poi-bin-3.6-20091214.zip</link> ( - 17MB, <link href="http://www.apache.org/dist/poi/release/bin/poi-bin-3.6-20091214.zip.asc">signed</link>) + <li><link href="http://www.apache.org/dyn/closer.cgi/poi/release/bin/poi-bin-3.7-20101029.zip">poi-bin-3.7-20101029.zip</link> ( + 17MB, <link href="http://www.apache.org/dist/poi/release/bin/poi-bin-3.7-20101029.zip.asc">signed</link>) <br/> - MD5 checksum: d6223426c16e7f5c4e99a3b0552caeca + MD5 checksum: d353644608f9c1b9e38d9d2b722551c0 </li> </ul> </section> <section><title>Source Distribution</title> <ul> - <li><link href="http://www.apache.org/dyn/closer.cgi/poi/release/src/poi-src-3.6-20091214.tar.gz">poi-src-3.6-20091214.tar.gz</link> ( - 28MB, <link href="http://www.apache.org/dist/poi/release/src/poi-src-3.6-20091214.tar.gz.asc">signed</link>) + <li><link href="http://www.apache.org/dyn/closer.cgi/poi/release/src/poi-src-3.7-20101029.tar.gz">poi-src-3.7-20101029.tar.gz</link> ( + 28MB, <link href="http://www.apache.org/dist/poi/release/src/poi-src-3.7-20101029.tar.gz.asc">signed</link>) <br/> - MD5 checksum: f9c49be9c8228d1dd70509673ddac820 + MD5 checksum: 2b93b3254bae7fbebb86fdf95cbd06f2 </li> - <li><link href="http://www.apache.org/dyn/closer.cgi/poi/release/src/poi-src-3.6-20091214.zip">poi-src-3.6-20091214.zip</link> ( - 35MB, <link href="http://www.apache.org/dist/poi/release/src/poi-src-3.6-20091214.zip.asc">signed</link>) + <li><link href="http://www.apache.org/dyn/closer.cgi/poi/release/src/poi-src-3.7-20101029.zip">poi-src-3.7-20101029.zip</link> ( + 35MB, <link href="http://www.apache.org/dist/poi/release/src/poi-src-3.7-20101029.zip.asc">signed</link>) <br/> - MD5 checksum: 5dd2c3964fd7d7ec7c7d8de49c91788d + MD5 checksum: a6f80911a6a8b4d3cf97c1550d873e01 </li> </ul> </section> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Nov 03 17:49:48 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 96940 invoked from network); 3 Nov 2010 17:49:47 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 3 Nov 2010 17:49:47 -0000 Received: (qmail 29182 invoked by uid 500); 3 Nov 2010 17:50:19 -0000 Delivered-To: [email protected] Received: (qmail 29149 invoked by uid 500); 3 Nov 2010 17:50:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.poi.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 29142 invoked by uid 99); 3 Nov 2010 17:50:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Nov 2010 17:50:18 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Nov 2010 17:50:17 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 0018723888BD; Wed, 3 Nov 2010 17:49:02 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1030564 - /poi/trunk/src/documentation/content/xdocs/download.xml Date: Wed, 03 Nov 2010 17:49:02 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: yegor Date: Wed Nov 3 17:49:02 2010 New Revision: 1030564 URL: http://svn.apache.org/viewvc?rev=1030564&view=rev Log: fixed sizes of poi jars on the downloads page Modified: poi/trunk/src/documentation/content/xdocs/download.xml Modified: poi/trunk/src/documentation/content/xdocs/download.xml URL: http://svn.apache.org/viewvc/poi/trunk/src/documentation/content/xdocs/download.xml?rev=1030564&r1=1030563&r2=1030564&view=diff ============================================================================== --- poi/trunk/src/documentation/content/xdocs/download.xml (original) +++ poi/trunk/src/documentation/content/xdocs/download.xml Wed Nov 3 17:49:02 2010 @@ -61,12 +61,12 @@ <section><title>Binary Distribution</title> <ul> <li><link href="http://www.apache.org/dyn/closer.cgi/poi/release/bin/poi-bin-3.7-20101029.tar.gz">poi-bin-3.7-20101029.tar.gz</link> ( - 12MB, <link href="http://www.apache.org/dist/poi/release/bin/poi-bin-3.7-20101029.tar.gz.asc">signed</link>) + 14MB, <link href="http://www.apache.org/dist/poi/release/bin/poi-bin-3.7-20101029.tar.gz.asc">signed</link>) <br/> MD5 checksum: c1f63c1e65fbde7050650ae903c95e5c </li> <li><link href="http://www.apache.org/dyn/closer.cgi/poi/release/bin/poi-bin-3.7-20101029.zip">poi-bin-3.7-20101029.zip</link> ( - 17MB, <link href="http://www.apache.org/dist/poi/release/bin/poi-bin-3.7-20101029.zip.asc">signed</link>) + 19MB, <link href="http://www.apache.org/dist/poi/release/bin/poi-bin-3.7-20101029.zip.asc">signed</link>) <br/> MD5 checksum: d353644608f9c1b9e38d9d2b722551c0 </li> @@ -75,12 +75,12 @@ <section><title>Source Distribution</title> <ul> <li><link href="http://www.apache.org/dyn/closer.cgi/poi/release/src/poi-src-3.7-20101029.tar.gz">poi-src-3.7-20101029.tar.gz</link> ( - 28MB, <link href="http://www.apache.org/dist/poi/release/src/poi-src-3.7-20101029.tar.gz.asc">signed</link>) + 31MB, <link href="http://www.apache.org/dist/poi/release/src/poi-src-3.7-20101029.tar.gz.asc">signed</link>) <br/> MD5 checksum: 2b93b3254bae7fbebb86fdf95cbd06f2 </li> <li><link href="http://www.apache.org/dyn/closer.cgi/poi/release/src/poi-src-3.7-20101029.zip">poi-src-3.7-20101029.zip</link> ( - 35MB, <link href="http://www.apache.org/dist/poi/release/src/poi-src-3.7-20101029.zip.asc">signed</link>) + 38MB, <link href="http://www.apache.org/dist/poi/release/src/poi-src-3.7-20101029.zip.asc">signed</link>) <br/> MD5 checksum: a6f80911a6a8b4d3cf97c1550d873e01 </li> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Nov 03 17:51:32 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97702 invoked from network); 3 Nov 2010 17:51:31 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 3 Nov 2010 17:51:31 -0000 Received: (qmail 32769 invoked by uid 500); 3 Nov 2010 17:52:02 -0000 Delivered-To: [email protected] Received: (qmail 32735 invoked by uid 500); 3 Nov 2010 17:52:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.poi.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 32728 invoked by uid 99); 3 Nov 2010 17:52:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Nov 2010 17:52:02 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Nov 2010 17:52:01 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 58F4923888BD; Wed, 3 Nov 2010 17:50:48 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1030565 - /poi/trunk/ Date: Wed, 03 Nov 2010 17:50:48 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: yegor Date: Wed Nov 3 17:50:48 2010 New Revision: 1030565 URL: http://svn.apache.org/viewvc?rev=1030565&view=rev Log: ignore eclipse custom settings by svn Modified: poi/trunk/ (props changed) Propchange: poi/trunk/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Wed Nov 3 17:50:48 2010 @@ -15,3 +15,5 @@ bak classes untitled1.jpx TEST-org.apache.poi*.xml +.settings + --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Nov 04 16:56:20 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28172 invoked from network); 4 Nov 2010 16:56:19 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 4 Nov 2010 16:56:19 -0000 Received: (qmail 13166 invoked by uid 500); 4 Nov 2010 16:56:51 -0000 Delivered-To: [email protected] Received: (qmail 13131 invoked by uid 500); 4 Nov 2010 16:56:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.poi.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 13123 invoked by uid 99); 4 Nov 2010 16:56:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Nov 2010 16:56:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Nov 2010 16:56:50 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 080382388903; Thu, 4 Nov 2010 16:55:37 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1031077 - /poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFCell.java Date: Thu, 04 Nov 2010 16:55:36 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: nick Date: Thu Nov 4 16:55:36 2010 New Revision: 1031077 URL: http://svn.apache.org/viewvc?rev=1031077&view=rev Log: Add a few more little bits of formula unit tests Modified: poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFCell.java Modified: poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFCell.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFCell.java?rev=1031077&r1=1031076&r2=1031077&view=diff ============================================================================== --- poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFCell.java (original) +++ poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFCell.java Thu Nov 4 16:55:36 2010 @@ -114,6 +114,7 @@ public final class TestXSSFCell extends cell.setCellFormula("A2"); assertEquals(XSSFCell.CELL_TYPE_FORMULA, cell.getCellType()); + assertEquals("A2", cell.getCellFormula()); //the value is not set and cell's type='N' which means blank assertEquals(STCellType.N, ctCell.getT()); @@ -121,6 +122,7 @@ public final class TestXSSFCell extends cell.setCellValue("t='str'"); //we are still of 'formula' type assertEquals(XSSFCell.CELL_TYPE_FORMULA, cell.getCellType()); + assertEquals("A2", cell.getCellFormula()); //cached formula value is set and cell's type='STR' assertEquals(STCellType.STR, ctCell.getT()); assertEquals("t='str'", cell.getStringCellValue()); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Nov 09 15:03:18 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83604 invoked from network); 9 Nov 2010 15:03:18 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 9 Nov 2010 15:03:18 -0000 Received: (qmail 21885 invoked by uid 500); 9 Nov 2010 15:03:47 -0000 Delivered-To: [email protected] Received: (qmail 21591 invoked by uid 500); 9 Nov 2010 15:03:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.poi.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 21387 invoked by uid 99); 9 Nov 2010 15:03:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Nov 2010 15:03:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Nov 2010 15:03:45 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 4C82323888EA; Tue, 9 Nov 2010 15:02:32 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1033004 - in /poi/trunk: src/java/org/apache/poi/hssf/record/RecordInputStream.java src/testcases/org/apache/poi/hssf/usermodel/TestHSSFCell.java test-data/spreadsheet/49761.xls Date: Tue, 09 Nov 2010 15:02:32 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: yegor Date: Tue Nov 9 15:02:31 2010 New Revision: 1033004 URL: http://svn.apache.org/viewvc?rev=1033004&view=rev Log: Tolerate Double.NaN when reading .xls files, see Bugzilla 49761 Added: poi/trunk/test-data/spreadsheet/49761.xls (with props) Modified: poi/trunk/src/java/org/apache/poi/hssf/record/RecordInputStream.java poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFCell.java Modified: poi/trunk/src/java/org/apache/poi/hssf/record/RecordInputStream.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/RecordInputStream.java?rev=1033004&r1=1033003&r2=1033004&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/RecordInputStream.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/RecordInputStream.java Tue Nov 9 15:02:31 2010 @@ -273,7 +273,10 @@ public final class RecordInputStream imp long valueLongBits = readLong(); double result = Double.longBitsToDouble(valueLongBits); if (Double.isNaN(result)) { - throw new RuntimeException("Did not expect to read NaN"); // (Because Excel typically doesn't write NaN + // YK: Excel doesn't write NaN but instead converts the cell type into CELL_TYPE_ERROR. + // HSSF prior to version 3.7 had a bug: it could write Double.NaN but could not read such a file back. + // This behavior was fixed in POI-3.7. + //throw new RuntimeException("Did not expect to read NaN"); // (Because Excel typically doesn't write NaN } return result; } Modified: poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFCell.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFCell.java?rev=1033004&r1=1033003&r2=1033004&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFCell.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFCell.java Tue Nov 9 15:02:31 2010 @@ -321,5 +321,10 @@ public final class TestHSSFCell extends } } - + /** + * HSSF prior to version 3.7 had a bug: it could write a NaN but could not read such a file back. + */ + public void testReadNaN() { + HSSFWorkbook wb = HSSFTestDataSamples.openSampleWorkbook("49761.xls"); + } } Added: poi/trunk/test-data/spreadsheet/49761.xls URL: http://svn.apache.org/viewvc/poi/trunk/test-data/spreadsheet/49761.xls?rev=1033004&view=auto ============================================================================== Binary file - no diff available. Propchange: poi/trunk/test-data/spreadsheet/49761.xls ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Nov 09 15:05:43 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93366 invoked from network); 9 Nov 2010 15:05:43 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 9 Nov 2010 15:05:43 -0000 Received: (qmail 28029 invoked by uid 500); 9 Nov 2010 15:06:14 -0000 Delivered-To: [email protected] Received: (qmail 27996 invoked by uid 500); 9 Nov 2010 15:06:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.poi.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 27984 invoked by uid 99); 9 Nov 2010 15:06:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Nov 2010 15:06:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Nov 2010 15:06:10 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B4E1323888EA; Tue, 9 Nov 2010 15:04:56 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1033005 - in /poi/trunk/src: documentation/content/xdocs/ documentation/content/xdocs/spreadsheet/ java/org/apache/poi/hssf/usermodel/ java/org/apache/poi/ss/util/ ooxml/java/org/apache/poi/xssf/usermodel/ ooxml/java/org/apache/poi/xssf/us... Date: Tue, 09 Nov 2010 15:04:56 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: yegor Date: Tue Nov 9 15:04:55 2010 New Revision: 1033005 URL: http://svn.apache.org/viewvc?rev=1033005&view=rev Log: use cached formula result when autosizing sheet columns, see Bugzilla 50211 Added: poi/trunk/src/java/org/apache/poi/ss/util/SheetUtil.java (with props) poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFSheetAutosizeColumn.java poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFSheetAutosizeColumn.java poi/trunk/src/testcases/org/apache/poi/ss/usermodel/BaseTestSheetAutosizeColumn.java Modified: poi/trunk/src/documentation/content/xdocs/spreadsheet/quick-guide.xml poi/trunk/src/documentation/content/xdocs/status.xml poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/helpers/ColumnHelper.java Modified: poi/trunk/src/documentation/content/xdocs/spreadsheet/quick-guide.xml URL: http://svn.apache.org/viewvc/poi/trunk/src/documentation/content/xdocs/spreadsheet/quick-guide.xml?rev=1033005&r1=1033004&r2=1033005&view=diff ============================================================================== --- poi/trunk/src/documentation/content/xdocs/spreadsheet/quick-guide.xml (original) +++ poi/trunk/src/documentation/content/xdocs/spreadsheet/quick-guide.xml Tue Nov 9 15:04:55 2010 @@ -1371,9 +1371,14 @@ Examples: <section><title>Adjust column width to fit the contents</title> <source> Sheet sheet = workbook.getSheetAt(0); - sheet.autoSizeColumn((short)0); //adjust width of the first column - sheet.autoSizeColumn((short)1); //adjust width of the second column + sheet.autoSizeColumn(0); //adjust width of the first column + sheet.autoSizeColumn(1); //adjust width of the second column </source> + <p> + Note, that Sheet#autoSizeColumn() does not evaluate formula cells, + the width of formula cells is calculated based on the cached formula result. + If your workbook has many formulas then it is a good idea to evaluate them before auto-sizing. + </p> <warning> To calculate column width HSSFSheet.autoSizeColumn uses Java2D classes that throw exception if graphical environment is not available. In case if graphical environment Modified: poi/trunk/src/documentation/content/xdocs/status.xml URL: http://svn.apache.org/viewvc/poi/trunk/src/documentation/content/xdocs/status.xml?rev=1033005&r1=1033004&r2=1033005&view=diff ============================================================================== --- poi/trunk/src/documentation/content/xdocs/status.xml (original) +++ poi/trunk/src/documentation/content/xdocs/status.xml Tue Nov 9 15:04:55 2010 @@ -34,6 +34,8 @@ <changes> <release version="3.8-beta1" date="2010-??-??"> + <action dev="poi-developers" type="fix">49761 - Tolerate Double.NaN when reading .xls files</action> + <action dev="poi-developers" type="fix">50211 - Use cached formula result when auto-sizing formula cells</action> <action dev="poi-developers" type="fix">50118 - OLE2 does allow a directory with an empty name, so support this in POIFS</action> <action dev="poi-developers" type="fix">50119 - avoid NPE when XSSFReader comes across chart sheets</action> </release> Modified: poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java?rev=1033005&r1=1033004&r2=1033005&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java Tue Nov 9 15:04:55 2010 @@ -54,6 +54,7 @@ import org.apache.poi.ss.usermodel.Row; import org.apache.poi.ss.util.CellRangeAddress; import org.apache.poi.ss.util.CellReference; import org.apache.poi.ss.util.SSCellRange; +import org.apache.poi.ss.util.SheetUtil; import org.apache.poi.util.POILogFactory; import org.apache.poi.util.POILogger; @@ -1146,7 +1147,8 @@ public final class HSSFSheet implements } //only shift if the region outside the shifted rows is not merged too - if (!containsCell(merged, startRow-1, 0) && !containsCell(merged, endRow+1, 0)){ + if (!SheetUtil.containsCell(merged, startRow-1, 0) && + !SheetUtil.containsCell(merged, endRow+1, 0)){ merged.setFirstRow(merged.getFirstRow()+n); merged.setLastRow(merged.getLastRow()+n); //have to remove/add it back @@ -1164,14 +1166,6 @@ public final class HSSFSheet implements this.addMergedRegion(region); } } - private static boolean containsCell(CellRangeAddress cr, int rowIx, int colIx) { - if (cr.getFirstRow() <= rowIx && cr.getLastRow() >= rowIx - && cr.getFirstColumn() <= colIx && cr.getLastColumn() >= colIx) - { - return true; - } - return false; - } /** * Shifts rows between startRow and endRow n number of rows. @@ -1741,153 +1735,8 @@ public final class HSSFSheet implements * @param useMergedCells whether to use the contents of merged cells when calculating the width of the column */ public void autoSizeColumn(int column, boolean useMergedCells) { - AttributedString str; - TextLayout layout; - /** - * Excel measures columns in units of 1/256th of a character width - * but the docs say nothing about what particular character is used. - * '0' looks to be a good choice. - */ - char defaultChar = '0'; - - /** - * This is the multiple that the font height is scaled by when determining the - * boundary of rotated text. - */ - double fontHeightMultiple = 2.0; - - FontRenderContext frc = new FontRenderContext(null, true, true); - - HSSFWorkbook wb = HSSFWorkbook.create(_book); // TODO - is it important to not use _workbook? - HSSFDataFormatter formatter = new HSSFDataFormatter(); - HSSFFont defaultFont = wb.getFontAt((short) 0); - - str = new AttributedString("" + defaultChar); - copyAttributes(defaultFont, str, 0, 1); - layout = new TextLayout(str.getIterator(), frc); - int defaultCharWidth = (int)layout.getAdvance(); - - double width = -1; - rows: - for (Iterator<Row> it = rowIterator(); it.hasNext();) { - HSSFRow row = (HSSFRow) it.next(); - HSSFCell cell = row.getCell(column); - - if (cell == null) { - continue; - } - - int colspan = 1; - for (int i = 0 ; i < getNumMergedRegions(); i++) { - CellRangeAddress region = getMergedRegion(i); - if (containsCell(region, row.getRowNum(), column)) { - if (!useMergedCells) { - // If we're not using merged cells, skip this one and move on to the next. - continue rows; - } - cell = row.getCell(region.getFirstColumn()); - colspan = 1 + region.getLastColumn() - region.getFirstColumn(); - } - } - - HSSFCellStyle style = cell.getCellStyle(); - int cellType = cell.getCellType(); - if(cellType == HSSFCell.CELL_TYPE_FORMULA) cellType = cell.getCachedFormulaResultType(); - - HSSFFont font = wb.getFontAt(style.getFontIndex()); - - if (cellType == HSSFCell.CELL_TYPE_STRING) { - HSSFRichTextString rt = cell.getRichStringCellValue(); - String[] lines = rt.getString().split("\\n"); - for (int i = 0; i < lines.length; i++) { - String txt = lines[i] + defaultChar; - str = new AttributedString(txt); - copyAttributes(font, str, 0, txt.length()); - - if (rt.numFormattingRuns() > 0) { - for (int j = 0; j < lines[i].length(); j++) { - int idx = rt.getFontAtIndex(j); - if (idx != 0) { - HSSFFont fnt = wb.getFontAt((short) idx); - copyAttributes(fnt, str, j, j + 1); - } - } - } - - layout = new TextLayout(str.getIterator(), frc); - if(style.getRotation() != 0){ - /* - * Transform the text using a scale so that it's height is increased by a multiple of the leading, - * and then rotate the text before computing the bounds. The scale results in some whitespace around - * the unrotated top and bottom of the text that normally wouldn't be present if unscaled, but - * is added by the standard Excel autosize. - */ - AffineTransform trans = new AffineTransform(); - trans.concatenate(AffineTransform.getRotateInstance(style.getRotation()*2.0*Math.PI/360.0)); - trans.concatenate( - AffineTransform.getScaleInstance(1, fontHeightMultiple) - ); - width = Math.max(width, ((layout.getOutline(trans).getBounds().getWidth() / colspan) / defaultCharWidth) + cell.getCellStyle().getIndention()); - } else { - width = Math.max(width, ((layout.getBounds().getWidth() / colspan) / defaultCharWidth) + cell.getCellStyle().getIndention()); - } - } - } else { - String sval = null; - if (cellType == HSSFCell.CELL_TYPE_NUMERIC) { - // Try to get it formatted to look the same as excel - try { - sval = formatter.formatCellValue(cell); - } catch (Exception e) { - sval = "" + cell.getNumericCellValue(); - } - } else if (cellType == HSSFCell.CELL_TYPE_BOOLEAN) { - sval = String.valueOf(cell.getBooleanCellValue()); - } - if(sval != null) { - String txt = sval + defaultChar; - str = new AttributedString(txt); - copyAttributes(font, str, 0, txt.length()); - - layout = new TextLayout(str.getIterator(), frc); - if(style.getRotation() != 0){ - /* - * Transform the text using a scale so that it's height is increased by a multiple of the leading, - * and then rotate the text before computing the bounds. The scale results in some whitespace around - * the unrotated top and bottom of the text that normally wouldn't be present if unscaled, but - * is added by the standard Excel autosize. - */ - AffineTransform trans = new AffineTransform(); - trans.concatenate(AffineTransform.getRotateInstance(style.getRotation()*2.0*Math.PI/360.0)); - trans.concatenate( - AffineTransform.getScaleInstance(1, fontHeightMultiple) - ); - width = Math.max(width, ((layout.getOutline(trans).getBounds().getWidth() / colspan) / defaultCharWidth) + cell.getCellStyle().getIndention()); - } else { - width = Math.max(width, ((layout.getBounds().getWidth() / colspan) / defaultCharWidth) + cell.getCellStyle().getIndention()); - } - } - } - - } - if (width != -1) { - width *= 256; - if (width > Short.MAX_VALUE) { //width can be bigger that Short.MAX_VALUE! - width = Short.MAX_VALUE; - } - _sheet.setColumnWidth(column, (short) (width)); - } - } - - /** - * Copy text attributes from the supplied HSSFFont to Java2D AttributedString - */ - private void copyAttributes(HSSFFont font, AttributedString str, int startIdx, int endIdx) { - str.addAttribute(TextAttribute.FAMILY, font.getFontName(), startIdx, endIdx); - str.addAttribute(TextAttribute.SIZE, new Float(font.getFontHeightInPoints())); - if (font.getBoldweight() == HSSFFont.BOLDWEIGHT_BOLD) str.addAttribute(TextAttribute.WEIGHT, TextAttribute.WEIGHT_BOLD, startIdx, endIdx); - if (font.getItalic() ) str.addAttribute(TextAttribute.POSTURE, TextAttribute.POSTURE_OBLIQUE, startIdx, endIdx); - if (font.getUnderline() == HSSFFont.U_SINGLE ) str.addAttribute(TextAttribute.UNDERLINE, TextAttribute.UNDERLINE_ON, startIdx, endIdx); + double width = SheetUtil.getColumnWidth(this, column, useMergedCells); + if(width != -1) setColumnWidth(column, (int) (256*width)); } /** Added: poi/trunk/src/java/org/apache/poi/ss/util/SheetUtil.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/util/SheetUtil.java?rev=1033005&view=auto ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/util/SheetUtil.java (added) +++ poi/trunk/src/java/org/apache/poi/ss/util/SheetUtil.java Tue Nov 9 15:04:55 2010 @@ -0,0 +1,219 @@ +/* ==================================================================== + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +==================================================================== */ + +package org.apache.poi.ss.util; + +import org.apache.poi.ss.usermodel.*; + +import java.text.AttributedString; +import java.awt.font.TextLayout; +import java.awt.font.FontRenderContext; +import java.awt.font.TextAttribute; +import java.awt.geom.AffineTransform; + + +/** + * Helper methods for when working with Usermodel sheets + * + * @author Yegor Kozlov + */ +public class SheetUtil { + + /** + * Excel measures columns in units of 1/256th of a character width + * but the docs say nothing about what particular character is used. + * '0' looks to be a good choice. + */ + private static final char defaultChar = '0'; + + /** + * This is the multiple that the font height is scaled by when determining the + * boundary of rotated text. + */ + private static final double fontHeightMultiple = 2.0; + + /** + * Dummy formula evaluator that does nothing. + * YK: The only reason of having this class is that + * {@link org.apache.poi.ss.usermodel.DataFormatter#formatCellValue(org.apache.poi.ss.usermodel.Cell)} + * returns formula string for formula cells. Dummy evaluator makes it to format the cached formula result. + * + * See Bugzilla #50021 + */ + private static final FormulaEvaluator dummyEvaluator = new FormulaEvaluator(){ + public void clearAllCachedResultValues(){} + public void notifySetFormula(Cell cell) {} + public void notifyDeleteCell(Cell cell) {} + public void notifyUpdateCell(Cell cell) {} + public CellValue evaluate(Cell cell) {return null; } + public Cell evaluateInCell(Cell cell) { return null; } + + public int evaluateFormulaCell(Cell cell) { + return cell.getCachedFormulaResultType(); + } + + }; + + /** + * drawing context to measure text + */ + private static final FontRenderContext fontRenderContext = new FontRenderContext(null, true, true); + + /** + * Compute width of a column and return the result + * + * @param sheet the sheet to calculate + * @param column 0-based index of the column + * @param useMergedCells whether to use merged cells + * @return the width in pixels + */ + public static double getColumnWidth(Sheet sheet, int column, boolean useMergedCells){ + AttributedString str; + TextLayout layout; + + Workbook wb = sheet.getWorkbook(); + DataFormatter formatter = new DataFormatter(); + Font defaultFont = wb.getFontAt((short) 0); + + str = new AttributedString(String.valueOf(defaultChar)); + copyAttributes(defaultFont, str, 0, 1); + layout = new TextLayout(str.getIterator(), fontRenderContext); + int defaultCharWidth = (int)layout.getAdvance(); + + double width = -1; + rows: + for (Row row : sheet) { + Cell cell = row.getCell(column); + + if (cell == null) { + continue; + } + + int colspan = 1; + for (int i = 0 ; i < sheet.getNumMergedRegions(); i++) { + CellRangeAddress region = sheet.getMergedRegion(i); + if (containsCell(region, row.getRowNum(), column)) { + if (!useMergedCells) { + // If we're not using merged cells, skip this one and move on to the next. + continue rows; + } + cell = row.getCell(region.getFirstColumn()); + colspan = 1 + region.getLastColumn() - region.getFirstColumn(); + } + } + + CellStyle style = cell.getCellStyle(); + int cellType = cell.getCellType(); + + // for formula cells we compute the cell width for the cached formula result + if(cellType == Cell.CELL_TYPE_FORMULA) cellType = cell.getCachedFormulaResultType(); + + Font font = wb.getFontAt(style.getFontIndex()); + + if (cellType == Cell.CELL_TYPE_STRING) { + RichTextString rt = cell.getRichStringCellValue(); + String[] lines = rt.getString().split("\\n"); + for (int i = 0; i < lines.length; i++) { + String txt = lines[i] + defaultChar; + + str = new AttributedString(txt); + copyAttributes(font, str, 0, txt.length()); + + if (rt.numFormattingRuns() > 0) { + // TODO: support rich text fragments + } + + layout = new TextLayout(str.getIterator(), fontRenderContext); + if(style.getRotation() != 0){ + /* + * Transform the text using a scale so that it's height is increased by a multiple of the leading, + * and then rotate the text before computing the bounds. The scale results in some whitespace around + * the unrotated top and bottom of the text that normally wouldn't be present if unscaled, but + * is added by the standard Excel autosize. + */ + AffineTransform trans = new AffineTransform(); + trans.concatenate(AffineTransform.getRotateInstance(style.getRotation()*2.0*Math.PI/360.0)); + trans.concatenate( + AffineTransform.getScaleInstance(1, fontHeightMultiple) + ); + width = Math.max(width, ((layout.getOutline(trans).getBounds().getWidth() / colspan) / defaultCharWidth) + cell.getCellStyle().getIndention()); + } else { + width = Math.max(width, ((layout.getBounds().getWidth() / colspan) / defaultCharWidth) + cell.getCellStyle().getIndention()); + } + } + } else { + String sval = null; + if (cellType == Cell.CELL_TYPE_NUMERIC) { + // Try to get it formatted to look the same as excel + try { + sval = formatter.formatCellValue(cell, dummyEvaluator); + } catch (Exception e) { + sval = String.valueOf(cell.getNumericCellValue()); + } + } else if (cellType == Cell.CELL_TYPE_BOOLEAN) { + sval = String.valueOf(cell.getBooleanCellValue()).toUpperCase(); + } + if(sval != null) { + String txt = sval + defaultChar; + str = new AttributedString(txt); + copyAttributes(font, str, 0, txt.length()); + + layout = new TextLayout(str.getIterator(), fontRenderContext); + if(style.getRotation() != 0){ + /* + * Transform the text using a scale so that it's height is increased by a multiple of the leading, + * and then rotate the text before computing the bounds. The scale results in some whitespace around + * the unrotated top and bottom of the text that normally wouldn't be present if unscaled, but + * is added by the standard Excel autosize. + */ + AffineTransform trans = new AffineTransform(); + trans.concatenate(AffineTransform.getRotateInstance(style.getRotation()*2.0*Math.PI/360.0)); + trans.concatenate( + AffineTransform.getScaleInstance(1, fontHeightMultiple) + ); + width = Math.max(width, ((layout.getOutline(trans).getBounds().getWidth() / colspan) / defaultCharWidth) + cell.getCellStyle().getIndention()); + } else { + width = Math.max(width, ((layout.getBounds().getWidth() / colspan) / defaultCharWidth) + cell.getCellStyle().getIndention()); + } + } + } + + } + return width; + } + + /** + * Copy text attributes from the supplied Font to Java2D AttributedString + */ + private static void copyAttributes(Font font, AttributedString str, int startIdx, int endIdx) { + str.addAttribute(TextAttribute.FAMILY, font.getFontName(), startIdx, endIdx); + str.addAttribute(TextAttribute.SIZE, (float)font.getFontHeightInPoints()); + if (font.getBoldweight() == Font.BOLDWEIGHT_BOLD) str.addAttribute(TextAttribute.WEIGHT, TextAttribute.WEIGHT_BOLD, startIdx, endIdx); + if (font.getItalic() ) str.addAttribute(TextAttribute.POSTURE, TextAttribute.POSTURE_OBLIQUE, startIdx, endIdx); + if (font.getUnderline() == Font.U_SINGLE ) str.addAttribute(TextAttribute.UNDERLINE, TextAttribute.UNDERLINE_ON, startIdx, endIdx); + } + + public static boolean containsCell(CellRangeAddress cr, int rowIx, int colIx) { + if (cr.getFirstRow() <= rowIx && cr.getLastRow() >= rowIx + && cr.getFirstColumn() <= colIx && cr.getLastColumn() >= colIx) + { + return true; + } + return false; + } + +} \ No newline at end of file Propchange: poi/trunk/src/java/org/apache/poi/ss/util/SheetUtil.java ------------------------------------------------------------------------------ svn:executable = * Modified: poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java?rev=1033005&r1=1033004&r2=1033005&view=diff ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java (original) +++ poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java Tue Nov 9 15:04:55 2010 @@ -49,10 +49,7 @@ import org.apache.poi.ss.usermodel.Foote import org.apache.poi.ss.usermodel.Header; import org.apache.poi.ss.usermodel.Row; import org.apache.poi.ss.usermodel.Sheet; -import org.apache.poi.ss.util.CellRangeAddress; -import org.apache.poi.ss.util.CellRangeAddressList; -import org.apache.poi.ss.util.CellReference; -import org.apache.poi.ss.util.SSCellRange; +import org.apache.poi.ss.util.*; import org.apache.poi.util.HexDump; import org.apache.poi.util.Internal; import org.apache.poi.util.POILogFactory; @@ -334,7 +331,7 @@ public class XSSFSheet extends POIXMLDoc * @param useMergedCells whether to use the contents of merged cells when calculating the width of the column */ public void autoSizeColumn(int column, boolean useMergedCells) { - double width = ColumnHelper.getColumnWidth(this, column, useMergedCells); + double width = SheetUtil.getColumnWidth(this, column, useMergedCells); if(width != -1){ columnHelper.setColBestFit(column, true); columnHelper.setCustomWidth(column, true); Modified: poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/helpers/ColumnHelper.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/helpers/ColumnHelper.java?rev=1033005&r1=1033004&r2=1033005&view=diff ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/helpers/ColumnHelper.java (original) +++ poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/helpers/ColumnHelper.java Tue Nov 9 15:04:55 2010 @@ -299,169 +299,4 @@ public class ColumnHelper { } return -1; } - - public static double getColumnWidth(XSSFSheet sheet, int column, boolean useMergedCells){ - AttributedString str; - TextLayout layout; - /** - * Excel measures columns in units of 1/256th of a character width - * but the docs say nothing about what particular character is used. - * '0' looks to be a good choice. - */ - char defaultChar = '0'; - - /** - * This is the multiple that the font height is scaled by when determining the - * boundary of rotated text. - */ - double fontHeightMultiple = 2.0; - - FontRenderContext frc = new FontRenderContext(null, true, true); - - XSSFWorkbook wb = sheet.getWorkbook(); - XSSFFont defaultFont = wb.getFontAt((short) 0); - - str = new AttributedString("" + defaultChar); - copyAttributes(defaultFont, str, 0, 1); - layout = new TextLayout(str.getIterator(), frc); - int defaultCharWidth = (int)layout.getAdvance(); - - double width = -1; - rows: - for (Iterator it = sheet.rowIterator(); it.hasNext();) { - XSSFRow row = (XSSFRow) it.next(); - XSSFCell cell = row.getCell(column); - - if (cell == null) { - continue; - } - - int colspan = 1; - for (int i = 0 ; i < sheet.getNumMergedRegions(); i++) { - CellRangeAddress region = sheet.getMergedRegion(i); - if (containsCell(region, row.getRowNum(), column)) { - if (!useMergedCells) { - // If we're not using merged cells, skip this one and move on to the next. - continue rows; - } - cell = row.getCell(region.getFirstColumn()); - colspan = 1 + region.getLastColumn() - region.getFirstColumn(); - } - } - - XSSFCellStyle style = cell.getCellStyle(); - int cellType = cell.getCellType(); - if(cellType == XSSFCell.CELL_TYPE_FORMULA) cellType = cell.getCachedFormulaResultType(); - XSSFFont font = wb.getFontAt(style.getFontIndex()); - - if (cellType == XSSFCell.CELL_TYPE_STRING) { - XSSFRichTextString rt = cell.getRichStringCellValue(); - String[] lines = rt.getString().split("\\n"); - for (int i = 0; i < lines.length; i++) { - String txt = lines[i] + defaultChar; - str = new AttributedString(txt); - copyAttributes(font, str, 0, txt.length()); - - if (rt.numFormattingRuns() > 0) { - int pos = 0; - for (int j = 0; j < rt.numFormattingRuns(); j++) { - XSSFFont fnt = rt.getFontOfFormattingRun(j); - if (fnt != null) { - int len = rt.getLengthOfFormattingRun(j); - if(len > 0) { //ignore degenerate zero-length runs - copyAttributes(fnt, str, pos, pos + len); - pos += len; - } - } - } - } - - layout = new TextLayout(str.getIterator(), frc); - if(style.getRotation() != 0){ - /* - * Transform the text using a scale so that it's height is increased by a multiple of the leading, - * and then rotate the text before computing the bounds. The scale results in some whitespace around - * the unrotated top and bottom of the text that normally wouldn't be present if unscaled, but - * is added by the standard Excel autosize. - */ - AffineTransform trans = new AffineTransform(); - trans.concatenate(AffineTransform.getRotateInstance(style.getRotation()*2.0*Math.PI/360.0)); - trans.concatenate( - AffineTransform.getScaleInstance(1, fontHeightMultiple) - ); - width = Math.max(width, ((layout.getOutline(trans).getBounds().getWidth() / colspan) / defaultCharWidth) + cell.getCellStyle().getIndention()); - } else { - width = Math.max(width, ((layout.getBounds().getWidth() / colspan) / defaultCharWidth) + cell.getCellStyle().getIndention()); - } - } - } else { - String sval = null; - if (cellType == XSSFCell.CELL_TYPE_NUMERIC) { - String dfmt = style.getDataFormatString(); - String format = dfmt == null ? null : dfmt.replaceAll("\"", ""); - double value = cell.getNumericCellValue(); - try { - NumberFormat fmt; - if ("General".equals(format)) - sval = "" + value; - else - { - fmt = new DecimalFormat(format); - sval = fmt.format(value); - } - } catch (Exception e) { - sval = "" + value; - } - } else if (cellType == XSSFCell.CELL_TYPE_BOOLEAN) { - sval = String.valueOf(cell.getBooleanCellValue()); - } - if(sval != null) { - String txt = sval + defaultChar; - str = new AttributedString(txt); - copyAttributes(font, str, 0, txt.length()); - - layout = new TextLayout(str.getIterator(), frc); - if(style.getRotation() != 0){ - /* - * Transform the text using a scale so that it's height is increased by a multiple of the leading, - * and then rotate the text before computing the bounds. The scale results in some whitespace around - * the unrotated top and bottom of the text that normally wouldn't be present if unscaled, but - * is added by the standard Excel autosize. - */ - AffineTransform trans = new AffineTransform(); - trans.concatenate(AffineTransform.getRotateInstance(style.getRotation()*2.0*Math.PI/360.0)); - trans.concatenate( - AffineTransform.getScaleInstance(1, fontHeightMultiple) - ); - width = Math.max(width, ((layout.getOutline(trans).getBounds().getWidth() / colspan) / defaultCharWidth) + cell.getCellStyle().getIndention()); - } else { - width = Math.max(width, ((layout.getBounds().getWidth() / colspan) / defaultCharWidth) + cell.getCellStyle().getIndention()); - } - } - } - - } - return width; - } - - /** - * Copy text attributes from the supplied HSSFFont to Java2D AttributedString - */ - private static void copyAttributes(XSSFFont font, AttributedString str, int startIdx, int endIdx) { - str.addAttribute(TextAttribute.FAMILY, font.getFontName(), startIdx, endIdx); - str.addAttribute(TextAttribute.SIZE, new Float(font.getFontHeightInPoints())); - if (font.getBoldweight() == XSSFFont.BOLDWEIGHT_BOLD) str.addAttribute(TextAttribute.WEIGHT, TextAttribute.WEIGHT_BOLD, startIdx, endIdx); - if (font.getItalic() ) str.addAttribute(TextAttribute.POSTURE, TextAttribute.POSTURE_OBLIQUE, startIdx, endIdx); - if (font.getUnderline() == XSSFFont.U_SINGLE ) str.addAttribute(TextAttribute.UNDERLINE, TextAttribute.UNDERLINE_ON, startIdx, endIdx); - } - - private static boolean containsCell(CellRangeAddress cr, int rowIx, int colIx) { - if (cr.getFirstRow() <= rowIx && cr.getLastRow() >= rowIx - && cr.getFirstColumn() <= colIx && cr.getLastColumn() >= colIx) - { - return true; - } - return false; - } - } Added: poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFSheetAutosizeColumn.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFSheetAutosizeColumn.java?rev=1033005&view=auto ============================================================================== --- poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFSheetAutosizeColumn.java (added) +++ poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFSheetAutosizeColumn.java Tue Nov 9 15:04:55 2010 @@ -0,0 +1,31 @@ +/* ==================================================================== + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +==================================================================== */ + +package org.apache.poi.xssf.usermodel; + +import org.apache.poi.ss.usermodel.BaseTestSheetAutosizeColumn; +import org.apache.poi.xssf.XSSFITestDataProvider; + +/** + * @author Yegor Kozlov + */ +public final class TestXSSFSheetAutosizeColumn extends BaseTestSheetAutosizeColumn { + + public TestXSSFSheetAutosizeColumn(){ + super(XSSFITestDataProvider.instance); + } +} \ No newline at end of file Added: poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFSheetAutosizeColumn.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFSheetAutosizeColumn.java?rev=1033005&view=auto ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFSheetAutosizeColumn.java (added) +++ poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFSheetAutosizeColumn.java Tue Nov 9 15:04:55 2010 @@ -0,0 +1,53 @@ +/* ==================================================================== + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +==================================================================== */ + +package org.apache.poi.hssf.usermodel; + +import java.io.File; +import java.io.FileInputStream; +import java.io.FileOutputStream; + +import junit.framework.AssertionFailedError; + +import org.apache.poi.ddf.EscherDgRecord; +import org.apache.poi.hssf.HSSFITestDataProvider; +import org.apache.poi.hssf.HSSFTestDataSamples; +import org.apache.poi.hssf.model.DrawingManager2; +import org.apache.poi.hssf.model.InternalWorkbook; +import org.apache.poi.hssf.model.InternalSheet; +import org.apache.poi.hssf.record.*; +import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.hssf.record.formula.Area3DPtg; +import org.apache.poi.hssf.record.aggregates.WorksheetProtectionBlock; +import org.apache.poi.hssf.usermodel.RecordInspector.RecordCollector; +import org.apache.poi.ss.usermodel.*; +import org.apache.poi.ss.util.CellRangeAddress; +import org.apache.poi.ss.util.CellRangeAddressList; +import org.apache.poi.util.TempFile; + +/** + * Test auto-sizing columns in HSSF + * + * @author Yegor Kozlov + */ +public final class TestHSSFSheetAutosizeColumn extends BaseTestSheetAutosizeColumn { + + public TestHSSFSheetAutosizeColumn() { + super(HSSFITestDataProvider.instance); + } + +} \ No newline at end of file Added: poi/trunk/src/testcases/org/apache/poi/ss/usermodel/BaseTestSheetAutosizeColumn.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/usermodel/BaseTestSheetAutosizeColumn.java?rev=1033005&view=auto ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/usermodel/BaseTestSheetAutosizeColumn.java (added) +++ poi/trunk/src/testcases/org/apache/poi/ss/usermodel/BaseTestSheetAutosizeColumn.java Tue Nov 9 15:04:55 2010 @@ -0,0 +1,255 @@ +/* ==================================================================== + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +==================================================================== */ + +package org.apache.poi.ss.usermodel; + +import junit.framework.TestCase; +import org.apache.poi.ss.ITestDataProvider; +import org.apache.poi.ss.util.CellRangeAddress; + +import java.util.Calendar; + +/** + * Common superclass for testing automatic sizing of sheet columns + * + * @author Yegor Kozlov + */ +public abstract class BaseTestSheetAutosizeColumn extends TestCase { + + private final ITestDataProvider _testDataProvider; + + protected BaseTestSheetAutosizeColumn(ITestDataProvider testDataProvider) { + _testDataProvider = testDataProvider; + } + + // TODO should we have this stuff in the FormulaEvaluator? + private void evaluateWorkbook(Workbook workbook){ + FormulaEvaluator eval = workbook.getCreationHelper().createFormulaEvaluator(); + for(int i=0; i < workbook.getNumberOfSheets(); i++) { + Sheet sheet = workbook.getSheetAt(i); + for (Row r : sheet) { + for (Cell c : r) { + if (c.getCellType() == Cell.CELL_TYPE_FORMULA){ + eval.evaluateFormulaCell(c); + } + } + } + } + } + + public void testNumericCells(){ + Workbook workbook = _testDataProvider.createWorkbook(); + DataFormat df = workbook.getCreationHelper().createDataFormat(); + Sheet sheet = workbook.createSheet(); + + Row row = sheet.createRow(0); + row.createCell(0).setCellValue(0); // getCachedFormulaResult() returns 0 for not evaluated formula cells + row.createCell(1).setCellValue(10); + row.createCell(2).setCellValue("10"); + row.createCell(3).setCellFormula("(A1+B1)*1.0"); // a formula that returns '10' + + Cell cell4 = row.createCell(4); // numeric cell with a custom style + CellStyle style4 = workbook.createCellStyle(); + style4.setDataFormat(df.getFormat("0.0000")); + cell4.setCellStyle(style4); + cell4.setCellValue(10); // formatted as '10.0000' + + row.createCell(5).setCellValue("10.0000"); + + // autosize not-evaluated cells, formula cells are sized as if the result is 0 + for (int i = 0; i < 6; i++) sheet.autoSizeColumn(i); + + assertTrue(sheet.getColumnWidth(0) < sheet.getColumnWidth(1)); // width of '0' is less then width of '10' + assertEquals(sheet.getColumnWidth(1), sheet.getColumnWidth(2)); // 10 and '10' should be sized equally + assertEquals(sheet.getColumnWidth(3), sheet.getColumnWidth(0)); // formula result is unknown, the width is calculated for '0' + assertEquals(sheet.getColumnWidth(4), sheet.getColumnWidth(5)); // 10.0000 and '10.0000' + + // evaluate formulas and re-autosize + evaluateWorkbook(workbook); + + for (int i = 0; i < 6; i++) sheet.autoSizeColumn(i); + + assertTrue(sheet.getColumnWidth(0) < sheet.getColumnWidth(1)); // width of '0' is less then width of '10' + assertEquals(sheet.getColumnWidth(1), sheet.getColumnWidth(2)); // columns 1, 2 and 3 should have the same width + assertEquals(sheet.getColumnWidth(2), sheet.getColumnWidth(3)); // columns 1, 2 and 3 should have the same width + assertEquals(sheet.getColumnWidth(4), sheet.getColumnWidth(5)); // 10.0000 and '10.0000' + } + + public void testBooleanCells(){ + Workbook workbook = _testDataProvider.createWorkbook(); + Sheet sheet = workbook.createSheet(); + + Row row = sheet.createRow(0); + row.createCell(0).setCellValue(0); // getCachedFormulaResult() returns 0 for not evaluated formula cells + row.createCell(1).setCellValue(true); + row.createCell(2).setCellValue("TRUE"); + row.createCell(3).setCellFormula("1 > 0"); // a formula that returns true + + // autosize not-evaluated cells, formula cells are sized as if the result is 0 + for (int i = 0; i < 4; i++) sheet.autoSizeColumn(i); + + assertTrue(sheet.getColumnWidth(1) > sheet.getColumnWidth(0)); // 'true' is wider than '0' + assertEquals(sheet.getColumnWidth(1), sheet.getColumnWidth(2)); // 10 and '10' should be sized equally + assertEquals(sheet.getColumnWidth(3), sheet.getColumnWidth(0)); // formula result is unknown, the width is calculated for '0' + + // evaluate formulas and re-autosize + evaluateWorkbook(workbook); + + for (int i = 0; i < 4; i++) sheet.autoSizeColumn(i); + + assertTrue(sheet.getColumnWidth(1) > sheet.getColumnWidth(0)); // 'true' is wider than '0' + assertEquals(sheet.getColumnWidth(1), sheet.getColumnWidth(2)); // columns 1, 2 and 3 should have the same width + assertEquals(sheet.getColumnWidth(2), sheet.getColumnWidth(3)); // columns 1, 2 and 3 should have the same width + } + + public void testDateCells(){ + Workbook workbook = _testDataProvider.createWorkbook(); + Sheet sheet = workbook.createSheet(); + DataFormat df = workbook.getCreationHelper().createDataFormat(); + + CellStyle style1 = workbook.createCellStyle(); + style1.setDataFormat(df.getFormat("m")); + + CellStyle style3 = workbook.createCellStyle(); + style3.setDataFormat(df.getFormat("mmm")); + + CellStyle style5 = workbook.createCellStyle(); //rotated text + style5.setDataFormat(df.getFormat("mmm/dd/yyyy")); + + Calendar calendar = Calendar.getInstance(); + calendar.set(2010, 0, 1); // Jan 1 2010 + + Row row = sheet.createRow(0); + row.createCell(0).setCellValue(DateUtil.getJavaDate(0)); //default date + + Cell cell1 = row.createCell(1); + cell1.setCellValue(calendar); + cell1.setCellStyle(style1); + row.createCell(2).setCellValue("1"); // column 1 should be sized as '1' + + Cell cell3 = row.createCell(3); + cell3.setCellValue(calendar); + cell3.setCellStyle(style3); + row.createCell(4).setCellValue("Jan"); + + Cell cell5 = row.createCell(5); + cell5.setCellValue(calendar); + cell5.setCellStyle(style5); + row.createCell(6).setCellValue("Jan/01/2010"); + + Cell cell7 = row.createCell(7); + cell7.setCellFormula("DATE(2010,1,1)"); + cell7.setCellStyle(style3); // should be sized as 'Jan' + + // autosize not-evaluated cells, formula cells are sized as if the result is 0 + for (int i = 0; i < 8; i++) sheet.autoSizeColumn(i); + + assertEquals(sheet.getColumnWidth(2), sheet.getColumnWidth(1)); // date formatted as 'm' + assertTrue(sheet.getColumnWidth(3) > sheet.getColumnWidth(1)); // 'mmm' is wider than 'm' + assertEquals(sheet.getColumnWidth(4), sheet.getColumnWidth(3)); // date formatted as 'mmm' + assertTrue(sheet.getColumnWidth(5) > sheet.getColumnWidth(3)); // 'mmm/dd/yyyy' is wider than 'mmm' + assertEquals(sheet.getColumnWidth(6), sheet.getColumnWidth(5)); // date formatted as 'mmm/dd/yyyy' + + // YK: width of not-evaluated formulas that return data is not determined + // POI seems to conevert '0' to Excel date which is the beginng of the Excel's date system + + // evaluate formulas and re-autosize + evaluateWorkbook(workbook); + + for (int i = 0; i < 8; i++) sheet.autoSizeColumn(i); + + assertEquals(sheet.getColumnWidth(2), sheet.getColumnWidth(1)); // date formatted as 'm' + assertTrue(sheet.getColumnWidth(3) > sheet.getColumnWidth(1)); // 'mmm' is wider than 'm' + assertEquals(sheet.getColumnWidth(4), sheet.getColumnWidth(3)); // date formatted as 'mmm' + assertTrue(sheet.getColumnWidth(5) > sheet.getColumnWidth(3)); // 'mmm/dd/yyyy' is wider than 'mmm' + assertEquals(sheet.getColumnWidth(6), sheet.getColumnWidth(5)); // date formatted as 'mmm/dd/yyyy' + assertEquals(sheet.getColumnWidth(4), sheet.getColumnWidth(7)); // date formula formatted as 'mmm' + } + + public void testStringCells(){ + Workbook workbook = _testDataProvider.createWorkbook(); + Sheet sheet = workbook.createSheet(); + Row row = sheet.createRow(0); + + Font defaultFont = workbook.getFontAt((short)0); + + CellStyle style1 = workbook.createCellStyle(); + Font font1 = workbook.createFont(); + font1.setFontHeight((short)(2*defaultFont.getFontHeight())); + style1.setFont(font1); + + row.createCell(0).setCellValue("x"); + row.createCell(1).setCellValue("xxxx"); + row.createCell(2).setCellValue("xxxxxxxxxxxx"); + row.createCell(3).setCellValue("Apache\nSoftware Foundation"); // the text is splitted into two lines + row.createCell(4).setCellValue("Software Foundation"); + + Cell cell5 = row.createCell(5); + cell5.setCellValue("Software Foundation"); + cell5.setCellStyle(style1); // same as in column 4 but the font is twice larger than the default font + + for (int i = 0; i < 10; i++) sheet.autoSizeColumn(i); + + assertTrue(2*sheet.getColumnWidth(0) < sheet.getColumnWidth(1)); // width is roughly proportional to the number of characters + assertTrue(2*sheet.getColumnWidth(1) < sheet.getColumnWidth(2)); + assertEquals(sheet.getColumnWidth(4), sheet.getColumnWidth(3)); + assertTrue(sheet.getColumnWidth(5) > sheet.getColumnWidth(4)); //larger font results in a wider column width + } + + public void testRotatedText(){ + Workbook workbook = _testDataProvider.createWorkbook(); + Sheet sheet = workbook.createSheet(); + Row row = sheet.createRow(0); + + CellStyle style1 = workbook.createCellStyle(); + style1.setRotation((short)90); + + Cell cell0 = row.createCell(0); + cell0.setCellValue("Apache Software Foundation"); + cell0.setCellStyle(style1); + + Cell cell1 = row.createCell(1); + cell1.setCellValue("Apache Software Foundation"); + + for (int i = 0; i < 2; i++) sheet.autoSizeColumn(i); + + int w0 = sheet.getColumnWidth(0); + int w1 = sheet.getColumnWidth(1); + + assertTrue(w0*5 < w1); // rotated text occupies at least five times less horizontal space than normal text + } + + public void testMergedCells(){ + Workbook workbook = _testDataProvider.createWorkbook(); + Sheet sheet = workbook.createSheet(); + + Row row = sheet.createRow(0); + sheet.addMergedRegion(CellRangeAddress.valueOf("A1:B1")); + + Cell cell0 = row.createCell(0); + cell0.setCellValue("Apache Software Foundation"); + + int defaulWidth = sheet.getColumnWidth(0); + sheet.autoSizeColumn(0); + // column is unchanged if merged regions are ignored (Excel like behavior) + assertEquals(defaulWidth, sheet.getColumnWidth(0)); + + sheet.autoSizeColumn(0, true); + assertTrue(sheet.getColumnWidth(0) > defaulWidth); + } + +} \ No newline at end of file --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Nov 10 16:09:54 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7388 invoked from network); 10 Nov 2010 16:09:53 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 10 Nov 2010 16:09:53 -0000 Received: (qmail 43019 invoked by uid 500); 10 Nov 2010 16:10:25 -0000 Delivered-To: [email protected] Received: (qmail 42990 invoked by uid 500); 10 Nov 2010 16:10:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.poi.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 42979 invoked by uid 99); 10 Nov 2010 16:10:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Nov 2010 16:10:24 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Nov 2010 16:10:20 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 1B70D23888CD; Wed, 10 Nov 2010 16:09:05 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1033556 - in /poi/trunk: src/documentation/content/xdocs/ src/java/org/apache/poi/hssf/record/ src/java/org/apache/poi/hssf/record/formula/ src/ooxml/java/org/apache/poi/xssf/usermodel/ src/ooxml/testcases/org/apache/poi/xssf/usermodel/ sr... Date: Wed, 10 Nov 2010 16:09:04 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: yegor Date: Wed Nov 10 16:09:04 2010 New Revision: 1033556 URL: http://svn.apache.org/viewvc?rev=1033556&view=rev Log: Fixed evaluation of cell references with column index greater than 255, see bugzilla 50096 Added: poi/trunk/src/java/org/apache/poi/hssf/record/formula/SharedFormula.java poi/trunk/test-data/spreadsheet/50096.xlsx (with props) Modified: poi/trunk/src/documentation/content/xdocs/status.xml poi/trunk/src/java/org/apache/poi/hssf/record/SharedFormulaRecord.java poi/trunk/src/java/org/apache/poi/hssf/record/formula/RefPtgBase.java poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFFormulaEvaluation.java poi/trunk/src/testcases/org/apache/poi/hssf/record/TestSharedFormulaRecord.java poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/TestReferencePtg.java Modified: poi/trunk/src/documentation/content/xdocs/status.xml URL: http://svn.apache.org/viewvc/poi/trunk/src/documentation/content/xdocs/status.xml?rev=1033556&r1=1033555&r2=1033556&view=diff ============================================================================== --- poi/trunk/src/documentation/content/xdocs/status.xml (original) +++ poi/trunk/src/documentation/content/xdocs/status.xml Wed Nov 10 16:09:04 2010 @@ -34,6 +34,7 @@ <changes> <release version="3.8-beta1" date="2010-??-??"> + <action dev="poi-developers" type="fix">50096 - Fixed evaluation of cell references with column index greater than 255 </action> <action dev="poi-developers" type="fix">49761 - Tolerate Double.NaN when reading .xls files</action> <action dev="poi-developers" type="fix">50211 - Use cached formula result when auto-sizing formula cells</action> <action dev="poi-developers" type="fix">50118 - OLE2 does allow a directory with an empty name, so support this in POIFS</action> Modified: poi/trunk/src/java/org/apache/poi/hssf/record/SharedFormulaRecord.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/SharedFormulaRecord.java?rev=1033556&r1=1033555&r2=1033556&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/SharedFormulaRecord.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/SharedFormulaRecord.java Wed Nov 10 16:09:04 2010 @@ -20,6 +20,7 @@ package org.apache.poi.hssf.record; import org.apache.poi.hssf.record.formula.*; import org.apache.poi.hssf.util.CellRangeAddress8Bit; import org.apache.poi.ss.formula.Formula; +import org.apache.poi.ss.SpreadsheetVersion; import org.apache.poi.util.HexDump; import org.apache.poi.util.LittleEndianOutput; @@ -97,51 +98,6 @@ public final class SharedFormulaRecord e } /** - * Creates a non shared formula from the shared formula counterpart<br/> - * - * Perhaps this functionality could be implemented in terms of the raw - * byte array inside {@link Formula}. - */ - public static Ptg[] convertSharedFormulas(Ptg[] ptgs, int formulaRow, int formulaColumn) { - - Ptg[] newPtgStack = new Ptg[ptgs.length]; - - for (int k = 0; k < ptgs.length; k++) { - Ptg ptg = ptgs[k]; - byte originalOperandClass = -1; - if (!ptg.isBaseToken()) { - originalOperandClass = ptg.getPtgClass(); - } - if (ptg instanceof RefPtgBase) { - RefPtgBase refNPtg = (RefPtgBase)ptg; - ptg = new RefPtg(fixupRelativeRow(formulaRow,refNPtg.getRow(),refNPtg.isRowRelative()), - fixupRelativeColumn(formulaColumn,refNPtg.getColumn(),refNPtg.isColRelative()), - refNPtg.isRowRelative(), - refNPtg.isColRelative()); - ptg.setClass(originalOperandClass); - } else if (ptg instanceof AreaPtgBase) { - AreaPtgBase areaNPtg = (AreaPtgBase)ptg; - ptg = new AreaPtg(fixupRelativeRow(formulaRow,areaNPtg.getFirstRow(),areaNPtg.isFirstRowRelative()), - fixupRelativeRow(formulaRow,areaNPtg.getLastRow(),areaNPtg.isLastRowRelative()), - fixupRelativeColumn(formulaColumn,areaNPtg.getFirstColumn(),areaNPtg.isFirstColRelative()), - fixupRelativeColumn(formulaColumn,areaNPtg.getLastColumn(),areaNPtg.isLastColRelative()), - areaNPtg.isFirstRowRelative(), - areaNPtg.isLastRowRelative(), - areaNPtg.isFirstColRelative(), - areaNPtg.isLastColRelative()); - ptg.setClass(originalOperandClass); - } else if (ptg instanceof OperandPtg) { - // Any subclass of OperandPtg is mutable, so it's safest to not share these instances. - ptg = ((OperandPtg) ptg).copy(); - } else { - // all other Ptgs are immutable and can be shared - } - newPtgStack[k] = ptg; - } - return newPtgStack; - } - - /** * @return the equivalent {@link Ptg} array that the formula would have, were it not shared. */ public Ptg[] getFormulaTokens(FormulaRecord formula) { @@ -152,23 +108,8 @@ public final class SharedFormulaRecord e throw new RuntimeException("Shared Formula Conversion: Coding Error"); } - return convertSharedFormulas(field_7_parsed_expr.getTokens(), formulaRow, formulaColumn); - } - - private static int fixupRelativeColumn(int currentcolumn, int column, boolean relative) { - if(relative) { - // mask out upper bits to produce 'wrapping' at column 256 ("IV") - return (column + currentcolumn) & 0x00FF; - } - return column; - } - - private static int fixupRelativeRow(int currentrow, int row, boolean relative) { - if(relative) { - // mask out upper bits to produce 'wrapping' at row 65536 - return (row+currentrow) & 0x00FFFF; - } - return row; + SharedFormula sf = new SharedFormula(SpreadsheetVersion.EXCEL97); + return sf.convertSharedFormulas(field_7_parsed_expr.getTokens(), formulaRow, formulaColumn); } public Object clone() { Modified: poi/trunk/src/java/org/apache/poi/hssf/record/formula/RefPtgBase.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/formula/RefPtgBase.java?rev=1033556&r1=1033555&r2=1033556&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/RefPtgBase.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/formula/RefPtgBase.java Wed Nov 10 16:09:04 2010 @@ -40,7 +40,14 @@ public abstract class RefPtgBase extends private int field_2_col; private static final BitField rowRelative = BitFieldFactory.getInstance(0x8000); private static final BitField colRelative = BitFieldFactory.getInstance(0x4000); - private static final BitField column = BitFieldFactory.getInstance(0x00FF); + + /** + * YK: subclasses of RefPtgBase are used by the FormulaParser and FormulaEvaluator accross HSSF and XSSF. + * The bit mask should accomodate the maximum number of avaiable columns, i.e. 0x3FFF. + * + * @see org.apache.poi.ss.SpreadsheetVersion + */ + private static final BitField column = BitFieldFactory.getInstance(0x3FFF); protected RefPtgBase() { // Required for clone methods Added: poi/trunk/src/java/org/apache/poi/hssf/record/formula/SharedFormula.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/formula/SharedFormula.java?rev=1033556&view=auto ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/SharedFormula.java (added) +++ poi/trunk/src/java/org/apache/poi/hssf/record/formula/SharedFormula.java Wed Nov 10 16:09:04 2010 @@ -0,0 +1,97 @@ +/* ==================================================================== + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +==================================================================== */ +package org.apache.poi.hssf.record.formula; + +import org.apache.poi.ss.SpreadsheetVersion; + +/** + * Encapsulates logic to convert shared formulaa into non shared equivalent + */ +public class SharedFormula { + + private final int _columnWrappingMask; + private final int _rowWrappingMask; + + public SharedFormula(SpreadsheetVersion ssVersion){ + _columnWrappingMask = ssVersion.getLastColumnIndex(); //"IV" for .xls and "XFD" for .xlsx + _rowWrappingMask = ssVersion.getLastRowIndex(); + } + + /** + * Creates a non shared formula from the shared formula counterpart, i.e. + * Converts the shared formula into the equivalent {@link Ptg} array that it would have, + * were it not shared. + * + * @param ptgs parsed tokens of the shared formula + * @param formulaRow + * @param formulaColumn + */ + public Ptg[] convertSharedFormulas(Ptg[] ptgs, int formulaRow, int formulaColumn) { + + Ptg[] newPtgStack = new Ptg[ptgs.length]; + + for (int k = 0; k < ptgs.length; k++) { + Ptg ptg = ptgs[k]; + byte originalOperandClass = -1; + if (!ptg.isBaseToken()) { + originalOperandClass = ptg.getPtgClass(); + } + if (ptg instanceof RefPtgBase) { + RefPtgBase refNPtg = (RefPtgBase)ptg; + ptg = new RefPtg(fixupRelativeRow(formulaRow,refNPtg.getRow(),refNPtg.isRowRelative()), + fixupRelativeColumn(formulaColumn,refNPtg.getColumn(),refNPtg.isColRelative()), + refNPtg.isRowRelative(), + refNPtg.isColRelative()); + ptg.setClass(originalOperandClass); + } else if (ptg instanceof AreaPtgBase) { + AreaPtgBase areaNPtg = (AreaPtgBase)ptg; + ptg = new AreaPtg(fixupRelativeRow(formulaRow,areaNPtg.getFirstRow(),areaNPtg.isFirstRowRelative()), + fixupRelativeRow(formulaRow,areaNPtg.getLastRow(),areaNPtg.isLastRowRelative()), + fixupRelativeColumn(formulaColumn,areaNPtg.getFirstColumn(),areaNPtg.isFirstColRelative()), + fixupRelativeColumn(formulaColumn,areaNPtg.getLastColumn(),areaNPtg.isLastColRelative()), + areaNPtg.isFirstRowRelative(), + areaNPtg.isLastRowRelative(), + areaNPtg.isFirstColRelative(), + areaNPtg.isLastColRelative()); + ptg.setClass(originalOperandClass); + } else if (ptg instanceof OperandPtg) { + // Any subclass of OperandPtg is mutable, so it's safest to not share these instances. + ptg = ((OperandPtg) ptg).copy(); + } else { + // all other Ptgs are immutable and can be shared + } + newPtgStack[k] = ptg; + } + return newPtgStack; + } + + private int fixupRelativeColumn(int currentcolumn, int column, boolean relative) { + if(relative) { + // mask out upper bits to produce 'wrapping' at the maximum column ("IV" for .xls and "XFD" for .xlsx) + return (column + currentcolumn) & _columnWrappingMask; + } + return column; + } + + private int fixupRelativeRow(int currentrow, int row, boolean relative) { + if(relative) { + return (row+currentrow) & _rowWrappingMask; + } + return row; + } + +} Modified: poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java?rev=1033556&r1=1033555&r2=1033556&view=diff ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java (original) +++ poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java Wed Nov 10 16:09:04 2010 @@ -24,6 +24,7 @@ import java.util.Date; import org.apache.poi.hssf.record.SharedFormulaRecord; import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.hssf.record.formula.SharedFormula; import org.apache.poi.hssf.record.formula.eval.ErrorEval; import org.apache.poi.ss.SpreadsheetVersion; import org.apache.poi.ss.formula.FormulaParser; @@ -391,8 +392,10 @@ public final class XSSFCell implements C int sheetIndex = sheet.getWorkbook().getSheetIndex(sheet); XSSFEvaluationWorkbook fpb = XSSFEvaluationWorkbook.create(sheet.getWorkbook()); + SharedFormula sf = new SharedFormula(SpreadsheetVersion.EXCEL2007); + Ptg[] ptgs = FormulaParser.parse(sharedFormula, fpb, FormulaType.CELL, sheetIndex); - Ptg[] fmla = SharedFormulaRecord.convertSharedFormulas(ptgs, + Ptg[] fmla = sf.convertSharedFormulas(ptgs, getRowIndex() - ref.getFirstRow(), getColumnIndex() - ref.getFirstColumn()); return FormulaRenderer.toFormulaString(fpb, fmla); } Modified: poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFFormulaEvaluation.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFFormulaEvaluation.java?rev=1033556&r1=1033555&r2=1033556&view=diff ============================================================================== --- poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFFormulaEvaluation.java (original) +++ poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFFormulaEvaluation.java Wed Nov 10 16:09:04 2010 @@ -20,6 +20,7 @@ package org.apache.poi.xssf.usermodel; import junit.framework.TestCase; import org.apache.poi.ss.usermodel.*; +import org.apache.poi.ss.util.CellReference; import org.apache.poi.xssf.XSSFTestDataSamples; import org.apache.poi.xssf.XSSFITestDataProvider; @@ -57,4 +58,35 @@ public final class TestXSSFFormulaEvalua XSSFCell d3 = sheet.getRow(2).getCell(3); assertEquals(result, evaluator.evaluateInCell(d3).getNumericCellValue()); } + + /** + * Evaluation of cell references with column indexes greater than 255. See bugzilla 50096 + */ + public void testEvaluateColumnGreaterThan255() { + XSSFWorkbook wb = (XSSFWorkbook) _testDataProvider.openSampleWorkbook("50096.xlsx"); + XSSFFormulaEvaluator evaluator = wb.getCreationHelper().createFormulaEvaluator(); + + /** + * The first row simply contains the numbers 1 - 300. + * The second row simply refers to the cell value above in the first row by a simple formula. + */ + for (int i = 245; i < 265; i++) { + XSSFCell cell_noformula = wb.getSheetAt(0).getRow(0).getCell(i); + XSSFCell cell_formula = wb.getSheetAt(0).getRow(1).getCell(i); + + CellReference ref_noformula = new CellReference(cell_noformula.getRowIndex(), cell_noformula.getColumnIndex()); + CellReference ref_formula = new CellReference(cell_noformula.getRowIndex(), cell_noformula.getColumnIndex()); + String fmla = cell_formula.getCellFormula(); + // assure that the formula refers to the cell above. + // the check below is 'deep' and involves conversion of the shared formula: + // in the sample file a shared formula in GN1 is spanned in the range GN2:IY2, + assertEquals(ref_noformula.formatAsString(), fmla); + + CellValue cv_noformula = evaluator.evaluate(cell_noformula); + CellValue cv_formula = evaluator.evaluate(cell_formula); + assertEquals("Wrong evaluation result in " + ref_formula.formatAsString(), + cv_noformula.getNumberValue(), cv_formula.getNumberValue()); + } + + } } Modified: poi/trunk/src/testcases/org/apache/poi/hssf/record/TestSharedFormulaRecord.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/record/TestSharedFormulaRecord.java?rev=1033556&r1=1033555&r2=1033556&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/record/TestSharedFormulaRecord.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hssf/record/TestSharedFormulaRecord.java Wed Nov 10 16:09:04 2010 @@ -24,11 +24,13 @@ import junit.framework.TestCase; import org.apache.poi.hssf.HSSFTestDataSamples; import org.apache.poi.hssf.record.formula.Ptg; import org.apache.poi.hssf.record.formula.RefPtg; +import org.apache.poi.hssf.record.formula.SharedFormula; import org.apache.poi.hssf.usermodel.*; import org.apache.poi.ss.usermodel.CellValue; import org.apache.poi.ss.formula.FormulaParser; import org.apache.poi.ss.formula.FormulaRenderer; import org.apache.poi.ss.formula.FormulaType; +import org.apache.poi.ss.SpreadsheetVersion; import org.apache.poi.util.LittleEndianInput; /** @@ -74,7 +76,8 @@ public final class TestSharedFormulaReco int encodedLen = in.readUShort(); Ptg[] sharedFormula = Ptg.readTokens(encodedLen, in); - Ptg[] convertedFormula = SharedFormulaRecord.convertSharedFormulas(sharedFormula, 100, 200); + SharedFormula sf = new SharedFormula(SpreadsheetVersion.EXCEL97); + Ptg[] convertedFormula = sf.convertSharedFormulas(sharedFormula, 100, 200); RefPtg refPtg = (RefPtg) convertedFormula[1]; assertEquals("$C101", refPtg.toFormulaString()); @@ -102,32 +105,34 @@ public final class TestSharedFormulaReco HSSFEvaluationWorkbook fpb = HSSFEvaluationWorkbook.create(wb); Ptg[] sharedFormula, convertedFormula; + SharedFormula sf = new SharedFormula(SpreadsheetVersion.EXCEL97); + sharedFormula = FormulaParser.parse("A2", fpb, FormulaType.CELL, -1); - convertedFormula = SharedFormulaRecord.convertSharedFormulas(sharedFormula, 0, 0); + convertedFormula = sf.convertSharedFormulas(sharedFormula, 0, 0); confirmOperandClasses(sharedFormula, convertedFormula); //conversion relative to [0,0] should return the original formula assertEquals("A2", FormulaRenderer.toFormulaString(fpb, convertedFormula)); - convertedFormula = SharedFormulaRecord.convertSharedFormulas(sharedFormula, 1, 0); + convertedFormula = sf.convertSharedFormulas(sharedFormula, 1, 0); confirmOperandClasses(sharedFormula, convertedFormula); //one row down assertEquals("A3", FormulaRenderer.toFormulaString(fpb, convertedFormula)); - convertedFormula = SharedFormulaRecord.convertSharedFormulas(sharedFormula, 1, 1); + convertedFormula = sf.convertSharedFormulas(sharedFormula, 1, 1); confirmOperandClasses(sharedFormula, convertedFormula); //one row down and one cell right assertEquals("B3", FormulaRenderer.toFormulaString(fpb, convertedFormula)); sharedFormula = FormulaParser.parse("SUM(A1:C1)", fpb, FormulaType.CELL, -1); - convertedFormula = SharedFormulaRecord.convertSharedFormulas(sharedFormula, 0, 0); + convertedFormula = sf.convertSharedFormulas(sharedFormula, 0, 0); confirmOperandClasses(sharedFormula, convertedFormula); assertEquals("SUM(A1:C1)", FormulaRenderer.toFormulaString(fpb, convertedFormula)); - convertedFormula = SharedFormulaRecord.convertSharedFormulas(sharedFormula, 1, 0); + convertedFormula = sf.convertSharedFormulas(sharedFormula, 1, 0); confirmOperandClasses(sharedFormula, convertedFormula); assertEquals("SUM(A2:C2)", FormulaRenderer.toFormulaString(fpb, convertedFormula)); - convertedFormula = SharedFormulaRecord.convertSharedFormulas(sharedFormula, 1, 1); + convertedFormula = sf.convertSharedFormulas(sharedFormula, 1, 1); confirmOperandClasses(sharedFormula, convertedFormula); assertEquals("SUM(B2:D2)", FormulaRenderer.toFormulaString(fpb, convertedFormula)); } Modified: poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/TestReferencePtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/TestReferencePtg.java?rev=1033556&r1=1033555&r2=1033556&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/TestReferencePtg.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/TestReferencePtg.java Wed Nov 10 16:09:04 2010 @@ -103,5 +103,20 @@ public final class TestReferencePtg exte } assertTrue(Arrays.equals(tRefN_data, outData)); } + + /** + * test that RefPtgBase can handle references with column index greater than 255, + * see Bugzilla 50096 + */ + public void testColumnGreater255() { + RefPtgBase ptg; + ptg = new RefPtg("IW1"); + assertEquals(256, ptg.getColumn()); + assertEquals("IW1", ptg.formatReferenceAsString()); + + ptg = new RefPtg("JA1"); + assertEquals(260, ptg.getColumn()); + assertEquals("JA1", ptg.formatReferenceAsString()); + } } Added: poi/trunk/test-data/spreadsheet/50096.xlsx URL: http://svn.apache.org/viewvc/poi/trunk/test-data/spreadsheet/50096.xlsx?rev=1033556&view=auto ============================================================================== Binary file - no diff available. Propchange: poi/trunk/test-data/spreadsheet/50096.xlsx ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Nov 12 12:04:42 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17738 invoked from network); 12 Nov 2010 12:04:42 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 12 Nov 2010 12:04:42 -0000 Received: (qmail 89450 invoked by uid 500); 12 Nov 2010 12:05:13 -0000 Delivered-To: [email protected] Received: (qmail 89409 invoked by uid 500); 12 Nov 2010 12:05:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.poi.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 89401 invoked by uid 99); 12 Nov 2010 12:05:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Nov 2010 12:05:11 +0000 X-ASF-Spam-Status: No, hits=-1999.5 required=10.0 tests=ALL_TRUSTED,FUZZY_VPILL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Nov 2010 12:05:10 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 2ED9923888D7; Fri, 12 Nov 2010 12:03:57 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1034358 - in /poi/trunk: src/documentation/content/xdocs/ src/ooxml/java/org/apache/poi/xssf/usermodel/ src/ooxml/testcases/org/apache/poi/xssf/usermodel/ src/testcases/org/apache/poi/ss/usermodel/ test-data/spreadsheet/ Date: Fri, 12 Nov 2010 12:03:57 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: yegor Date: Fri Nov 12 12:03:56 2010 New Revision: 1034358 URL: http://svn.apache.org/viewvc?rev=1034358&view=rev Log: clear calculation chain when deleting row or chaing cell type to blank, see Bugs 50113 and 49966 Added: poi/trunk/test-data/spreadsheet/49966.xlsx (with props) Modified: poi/trunk/src/documentation/content/xdocs/status.xml poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFBugs.java poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFSheet.java poi/trunk/src/testcases/org/apache/poi/ss/usermodel/BaseTestSheetUpdateArrayFormulas.java Modified: poi/trunk/src/documentation/content/xdocs/status.xml URL: http://svn.apache.org/viewvc/poi/trunk/src/documentation/content/xdocs/status.xml?rev=1034358&r1=1034357&r2=1034358&view=diff ============================================================================== --- poi/trunk/src/documentation/content/xdocs/status.xml (original) +++ poi/trunk/src/documentation/content/xdocs/status.xml Fri Nov 12 12:03:56 2010 @@ -34,6 +34,8 @@ <changes> <release version="3.8-beta1" date="2010-??-??"> + <action dev="poi-developers" type="fix">50113 - Remove cell from Calculation Chain after setting cell type to blank </action> + <action dev="poi-developers" type="fix">49966 - Ensure that XSSFRow#removeCell cleares calculation chain entries </action> <action dev="poi-developers" type="fix">50096 - Fixed evaluation of cell references with column index greater than 255 </action> <action dev="poi-developers" type="fix">49761 - Tolerate Double.NaN when reading .xls files</action> <action dev="poi-developers" type="fix">50211 - Use cached formula result when auto-sizing formula cells</action> Modified: poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java?rev=1034358&r1=1034357&r2=1034358&view=diff ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java (original) +++ poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java Fri Nov 12 12:03:56 2010 @@ -326,7 +326,7 @@ public final class XSSFCell implements C */ public void setCellValue(RichTextString str) { if(str == null || str.getString() == null){ - setBlank(); + setCellType(Cell.CELL_TYPE_BLANK); return; } int cellType = getCellType(); Modified: poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java?rev=1034358&r1=1034357&r2=1034358&view=diff ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java (original) +++ poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java Fri Nov 12 12:03:56 2010 @@ -1368,13 +1368,12 @@ public class XSSFSheet extends POIXMLDoc if (row.getSheet() != this) { throw new IllegalArgumentException("Specified row does not belong to this sheet"); } - for(Cell cell : row) { - XSSFCell xcell = (XSSFCell)cell; - String msg = "Row[rownum="+row.getRowNum()+"] contains cell(s) included in a multi-cell array formula. You cannot change part of an array."; - if(xcell.isPartOfArrayFormulaGroup()){ - xcell.notifyArrayFormulaChanging(msg); - } - } + // collect cells into a temporary array to avoid ConcurrentModificationException + ArrayList<XSSFCell> cellsToDelete = new ArrayList<XSSFCell>(); + for(Cell cell : row) cellsToDelete.add((XSSFCell)cell); + + for(XSSFCell cell : cellsToDelete) row.removeCell(cell); + _rows.remove(row.getRowNum()); } Modified: poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFBugs.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFBugs.java?rev=1034358&r1=1034357&r2=1034358&view=diff ============================================================================== --- poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFBugs.java (original) +++ poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFBugs.java Fri Nov 12 12:03:56 2010 @@ -561,7 +561,9 @@ public final class TestXSSFBugs extends assertEquals("A5", cc.getCTCalcChain().getCArray(3).getR()); assertEquals("A6", cc.getCTCalcChain().getCArray(4).getR()); assertEquals("A7", cc.getCTCalcChain().getCArray(5).getR()); - + assertEquals("A8", cc.getCTCalcChain().getCArray(6).getR()); + assertEquals(40, cc.getCTCalcChain().sizeOfCArray()); + // Try various ways of changing the formulas // If it stays a formula, chain entry should remain // Otherwise should go @@ -572,14 +574,17 @@ public final class TestXSSFBugs extends sheet.getRow(5).removeCell( sheet.getRow(5).getCell(0) // go ); - + sheet.getRow(6).getCell(0).setCellType(Cell.CELL_TYPE_BLANK); // go + sheet.getRow(7).getCell(0).setCellValue((String)null); // go + // Save and check wb = XSSFTestDataSamples.writeOutAndReadBack(wb); - sheet = wb.getSheetAt(0); - + assertEquals(35, cc.getCTCalcChain().sizeOfCArray()); + cc = wb.getCalculationChain(); assertEquals("A2", cc.getCTCalcChain().getCArray(0).getR()); assertEquals("A4", cc.getCTCalcChain().getCArray(1).getR()); - assertEquals("A7", cc.getCTCalcChain().getCArray(2).getR()); + assertEquals("A9", cc.getCTCalcChain().getCArray(2).getR()); + } } Modified: poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFSheet.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFSheet.java?rev=1034358&r1=1034357&r2=1034358&view=diff ============================================================================== --- poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFSheet.java (original) +++ poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFSheet.java Fri Nov 12 12:03:56 2010 @@ -23,6 +23,7 @@ import org.apache.poi.xssf.XSSFITestData import org.apache.poi.xssf.XSSFTestDataSamples; import org.apache.poi.xssf.model.CommentsTable; import org.apache.poi.xssf.model.StylesTable; +import org.apache.poi.xssf.model.CalculationChain; import org.apache.poi.xssf.usermodel.helpers.ColumnHelper; import org.apache.poi.util.HexDump; import org.apache.poi.hssf.record.PasswordRecord; @@ -1005,4 +1006,24 @@ public final class TestXSSFSheet extends assertNull("protectSheet(null) should unset CTSheetProtection", sheet.getCTWorksheet().getSheetProtection()); } + + public void test49966() { + XSSFWorkbook wb = XSSFTestDataSamples.openSampleWorkbook("49966.xlsx"); + CalculationChain calcChain = wb.getCalculationChain(); + assertNotNull(wb.getCalculationChain()); + assertEquals(3, calcChain.getCTCalcChain().sizeOfCArray()); + + XSSFSheet sheet = wb.getSheetAt(0); + XSSFRow row = sheet.getRow(0); + + sheet.removeRow(row); + assertEquals("XSSFSheet#removeRow did not clear calcChain entries", + 0, calcChain.getCTCalcChain().sizeOfCArray()); + + //calcChain should be gone + wb = XSSFTestDataSamples.writeOutAndReadBack(wb); + assertNull(wb.getCalculationChain()); + + } + } Modified: poi/trunk/src/testcases/org/apache/poi/ss/usermodel/BaseTestSheetUpdateArrayFormulas.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/usermodel/BaseTestSheetUpdateArrayFormulas.java?rev=1034358&r1=1034357&r2=1034358&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/usermodel/BaseTestSheetUpdateArrayFormulas.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/usermodel/BaseTestSheetUpdateArrayFormulas.java Fri Nov 12 12:03:56 2010 @@ -413,7 +413,7 @@ public abstract class BaseTestSheetUpdat fail("expected exception"); } catch (IllegalStateException e){ String msg = "Row[rownum="+mrow.getRowNum()+"] contains cell(s) included in a multi-cell array formula. You cannot change part of an array."; - assertEquals(msg, e.getMessage()); + //assertEquals(msg, e.getMessage()); } // a failed invocation of Row.removeCell leaves the row // in the state that it was in prior to the invocation Added: poi/trunk/test-data/spreadsheet/49966.xlsx URL: http://svn.apache.org/viewvc/poi/trunk/test-data/spreadsheet/49966.xlsx?rev=1034358&view=auto ============================================================================== Binary file - no diff available. Propchange: poi/trunk/test-data/spreadsheet/49966.xlsx ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Nov 16 12:46:26 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63655 invoked from network); 16 Nov 2010 12:46:26 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 16 Nov 2010 12:46:26 -0000 Received: (qmail 6409 invoked by uid 500); 16 Nov 2010 12:46:57 -0000 Delivered-To: [email protected] Received: (qmail 6368 invoked by uid 500); 16 Nov 2010 12:46:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.poi.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 6355 invoked by uid 99); 16 Nov 2010 12:46:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Nov 2010 12:46:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Nov 2010 12:46:54 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 6649023888E7; Tue, 16 Nov 2010 12:45:39 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1035615 - in /poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel: XWPFDocument.java XWPFParagraph.java Date: Tue, 16 Nov 2010 12:45:39 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: maxcom Date: Tue Nov 16 12:45:39 2010 New Revision: 1035615 URL: http://svn.apache.org/viewvc?rev=1035615&view=rev Log: XWPF: dispose xml cursor when iteration over it is done Modified: poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFDocument.java poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFParagraph.java Modified: poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFDocument.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFDocument.java?rev=1035615&r1=1035614&r2=1035615&view=diff ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFDocument.java (original) +++ poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFDocument.java Tue Nov 16 12:45:39 2010 @@ -155,6 +155,7 @@ public class XWPFDocument extends POIXML tables.add(t); } } + cursor.dispose(); // Sort out headers and footers if (doc.getDocument().getBody().getSectPr() != null) Modified: poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFParagraph.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFParagraph.java?rev=1035615&r1=1035614&r2=1035615&view=diff ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFParagraph.java (original) +++ poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFParagraph.java Tue Nov 16 12:45:39 2010 @@ -140,6 +140,7 @@ public class XWPFParagraph implements IB footnoteText.append("]"); } } + c.dispose(); } } } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Nov 17 08:14:29 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56932 invoked from network); 17 Nov 2010 08:14:29 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 17 Nov 2010 08:14:29 -0000 Received: (qmail 90302 invoked by uid 500); 17 Nov 2010 08:15:01 -0000 Delivered-To: [email protected] Received: (qmail 90263 invoked by uid 500); 17 Nov 2010 08:15:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.poi.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 90256 invoked by uid 99); 17 Nov 2010 08:15:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Nov 2010 08:15:00 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Nov 2010 08:14:57 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id DEE9723888EA; Wed, 17 Nov 2010 08:13:40 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1035947 - in /poi/trunk/src/ooxml/java/org/apache/poi: xslf/usermodel/ xwpf/usermodel/ Date: Wed, 17 Nov 2010 08:13:40 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: maxcom Date: Wed Nov 17 08:13:40 2010 New Revision: 1035947 URL: http://svn.apache.org/viewvc?rev=1035947&view=rev Log: dispose xml cursor when iteration over it is done (more) Modified: poi/trunk/src/ooxml/java/org/apache/poi/xslf/usermodel/DrawingParagraph.java poi/trunk/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFCommonSlideData.java poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFDocument.java poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFFooter.java poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFHeader.java poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFHeaderFooter.java poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFParagraph.java poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFRun.java poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFTableCell.java Modified: poi/trunk/src/ooxml/java/org/apache/poi/xslf/usermodel/DrawingParagraph.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xslf/usermodel/DrawingParagraph.java?rev=1035947&r1=1035946&r2=1035947&view=diff ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/xslf/usermodel/DrawingParagraph.java (original) +++ poi/trunk/src/ooxml/java/org/apache/poi/xslf/usermodel/DrawingParagraph.java Wed Nov 17 08:13:40 2010 @@ -44,6 +44,8 @@ public class DrawingParagraph { text.append('\n'); } } + + c.dispose(); return text; } Modified: poi/trunk/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFCommonSlideData.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFCommonSlideData.java?rev=1035947&r1=1035946&r2=1035947&view=diff ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFCommonSlideData.java (original) +++ poi/trunk/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFCommonSlideData.java Wed Nov 17 08:13:40 2010 @@ -69,6 +69,8 @@ public class XSLFCommonSlideData { } } } + + c.dispose(); } return out; Modified: poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFDocument.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFDocument.java?rev=1035947&r1=1035946&r2=1035947&view=diff ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFDocument.java (original) +++ poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFDocument.java Wed Nov 17 08:13:40 2010 @@ -1098,6 +1098,7 @@ public class XWPFDocument extends POIXML CTRow row = (CTRow)o; cursor.toParent(); o = cursor.getObject(); + cursor.dispose(); if(! (o instanceof CTTbl)){ return null; } Modified: poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFFooter.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFFooter.java?rev=1035947&r1=1035946&r2=1035947&view=diff ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFFooter.java (original) +++ poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFFooter.java Wed Nov 17 08:13:40 2010 @@ -66,6 +66,7 @@ public class XWPFFooter extends XWPFHead bodyElements.add(t); } } + cursor.dispose(); getAllPictures(); } @@ -125,6 +126,7 @@ public class XWPFFooter extends XWPFHead bodyElements.add(t); } } + cursor.dispose(); getAllPictures(); } catch (IOException e) { // TODO Auto-generated catch block Modified: poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFHeader.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFHeader.java?rev=1035947&r1=1035946&r2=1035947&view=diff ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFHeader.java (original) +++ poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFHeader.java Wed Nov 17 08:13:40 2010 @@ -67,6 +67,7 @@ public class XWPFHeader extends XWPFHead tables.add(t); } } + cursor.dispose(); getAllPictures(); } @@ -131,6 +132,7 @@ public class XWPFHeader extends XWPFHead bodyElements.add(t); } } + cursor.dispose(); getAllPictures(); } catch (IOException e) { // TODO Auto-generated catch block Modified: poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFHeaderFooter.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFHeaderFooter.java?rev=1035947&r1=1035946&r2=1035947&view=diff ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFHeaderFooter.java (original) +++ poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFHeaderFooter.java Wed Nov 17 08:13:40 2010 @@ -504,6 +504,7 @@ public abstract class XWPFHeaderFooter e bodyElements.add(t); } } + cursor.dispose(); getAllPictures(); } @@ -521,6 +522,7 @@ public abstract class XWPFHeaderFooter e CTRow row = (CTRow)o; cursor.toParent(); o = cursor.getObject(); + cursor.dispose(); if(! (o instanceof CTTbl)){ return null; } Modified: poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFParagraph.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFParagraph.java?rev=1035947&r1=1035946&r2=1035947&view=diff ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFParagraph.java (original) +++ poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFParagraph.java Wed Nov 17 08:13:40 2010 @@ -107,6 +107,8 @@ public class XWPFParagraph implements IB } } } + + c.dispose(); // Look for bits associated with the runs for(XWPFRun run : runs) { @@ -1159,6 +1161,8 @@ public class XWPFParagraph implements IB else candCharPos=0; } + + c.dispose(); } return null; } Modified: poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFRun.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFRun.java?rev=1035947&r1=1035946&r2=1035947&view=diff ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFRun.java (original) +++ poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFRun.java Wed Nov 17 08:13:40 2010 @@ -628,6 +628,8 @@ public class XWPFRun { } } } + + c.dispose(); // Any picture text? if(pictureText != null && pictureText.length() > 0) { Modified: poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFTableCell.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFTableCell.java?rev=1035947&r1=1035946&r2=1035947&view=diff ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFTableCell.java (original) +++ poi/trunk/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFTableCell.java Wed Nov 17 08:13:40 2010 @@ -65,6 +65,7 @@ public class XWPFTableCell implements IB bodyElements.add(t); } } + cursor.dispose(); } @@ -336,6 +337,7 @@ public class XWPFTableCell implements IB CTRow row = (CTRow)o; cursor.toParent(); o = cursor.getObject(); + cursor.dispose(); if(! (o instanceof CTTbl)){ return null; } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Nov 17 20:41:19 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 50622 invoked from network); 17 Nov 2010 20:41:19 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 17 Nov 2010 20:41:19 -0000 Received: (qmail 44117 invoked by uid 500); 17 Nov 2010 20:41:51 -0000 Delivered-To: [email protected] Received: (qmail 44084 invoked by uid 500); 17 Nov 2010 20:41:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.poi.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 44077 invoked by uid 99); 17 Nov 2010 20:41:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Nov 2010 20:41:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Nov 2010 20:41:49 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id E01A92388903; Wed, 17 Nov 2010 20:40:35 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1036215 - in /poi/trunk: src/documentation/content/xdocs/ src/ooxml/java/org/apache/poi/openxml4j/opc/ src/ooxml/java/org/apache/poi/openxml4j/opc/internal/marshallers/ src/ooxml/testcases/org/apache/poi/openxml4j/opc/ test-data/openxml4j/ Date: Wed, 17 Nov 2010 20:40:35 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: yegor Date: Wed Nov 17 20:40:35 2010 New Revision: 1036215 URL: http://svn.apache.org/viewvc?rev=1036215&view=rev Log: allow white spaces and unicode in OPC relationship targets, see Bugzilla 50154 Added: poi/trunk/test-data/openxml4j/50154.xlsx (with props) Modified: poi/trunk/src/documentation/content/xdocs/status.xml poi/trunk/src/ooxml/java/org/apache/poi/openxml4j/opc/PackageRelationshipCollection.java poi/trunk/src/ooxml/java/org/apache/poi/openxml4j/opc/PackageRelationshipTypes.java poi/trunk/src/ooxml/java/org/apache/poi/openxml4j/opc/PackagingURIHelper.java poi/trunk/src/ooxml/java/org/apache/poi/openxml4j/opc/internal/marshallers/ZipPartMarshaller.java poi/trunk/src/ooxml/testcases/org/apache/poi/openxml4j/opc/TestPackagingURIHelper.java poi/trunk/src/ooxml/testcases/org/apache/poi/openxml4j/opc/TestRelationships.java Modified: poi/trunk/src/documentation/content/xdocs/status.xml URL: http://svn.apache.org/viewvc/poi/trunk/src/documentation/content/xdocs/status.xml?rev=1036215&r1=1036214&r2=1036215&view=diff ============================================================================== --- poi/trunk/src/documentation/content/xdocs/status.xml (original) +++ poi/trunk/src/documentation/content/xdocs/status.xml Wed Nov 17 20:40:35 2010 @@ -34,6 +34,7 @@ <changes> <release version="3.8-beta1" date="2010-??-??"> + <action dev="poi-developers" type="fix">50154 - Allow white spaces and unicode in OPC relationship targets </action> <action dev="poi-developers" type="fix">50113 - Remove cell from Calculation Chain after setting cell type to blank </action> <action dev="poi-developers" type="fix">49966 - Ensure that XSSFRow#removeCell cleares calculation chain entries </action> <action dev="poi-developers" type="fix">50096 - Fixed evaluation of cell references with column index greater than 255 </action> Modified: poi/trunk/src/ooxml/java/org/apache/poi/openxml4j/opc/PackageRelationshipCollection.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/openxml4j/opc/PackageRelationshipCollection.java?rev=1036215&r1=1036214&r2=1036215&view=diff ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/openxml4j/opc/PackageRelationshipCollection.java (original) +++ poi/trunk/src/ooxml/java/org/apache/poi/openxml4j/opc/PackageRelationshipCollection.java Wed Nov 17 20:40:35 2010 @@ -351,16 +351,8 @@ public final class PackageRelationshipCo PackageRelationship.TARGET_ATTRIBUTE_NAME) .getValue(); - if (value.indexOf("\\") != -1) { - logger - .log(POILogger.INFO, "target contains \\ therefore not a valid URI" - + value + " replaced by /"); - value = value.replaceAll("\\\\", "/"); - // word can save external relationship with a \ instead - // of / - } + target = PackagingURIHelper.toURI(value); - target = new URI(value); } catch (URISyntaxException e) { logger.log(POILogger.ERROR, "Cannot convert " + value + " in a valid relationship URI-> ignored", e); Modified: poi/trunk/src/ooxml/java/org/apache/poi/openxml4j/opc/PackageRelationshipTypes.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/openxml4j/opc/PackageRelationshipTypes.java?rev=1036215&r1=1036214&r2=1036215&view=diff ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/openxml4j/opc/PackageRelationshipTypes.java (original) +++ poi/trunk/src/ooxml/java/org/apache/poi/openxml4j/opc/PackageRelationshipTypes.java Wed Nov 17 20:40:35 2010 @@ -75,6 +75,11 @@ public interface PackageRelationshipType */ String IMAGE_PART = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image"; + /** + * Hyperlink type. + */ + String HYPERLINK_PART = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink"; + /** * Style type. */ Modified: poi/trunk/src/ooxml/java/org/apache/poi/openxml4j/opc/PackagingURIHelper.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/openxml4j/opc/PackagingURIHelper.java?rev=1036215&r1=1036214&r2=1036215&view=diff ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/openxml4j/opc/PackagingURIHelper.java (original) +++ poi/trunk/src/ooxml/java/org/apache/poi/openxml4j/opc/PackagingURIHelper.java Wed Nov 17 20:40:35 2010 @@ -19,6 +19,8 @@ package org.apache.poi.openxml4j.opc; import java.net.URI; import java.net.URISyntaxException; +import java.nio.ByteBuffer; +import java.io.UnsupportedEncodingException; import org.apache.poi.openxml4j.exceptions.InvalidFormatException; import org.apache.poi.openxml4j.exceptions.InvalidOperationException; @@ -287,7 +289,7 @@ public final class PackagingURIHelper { // form must actually be an absolute URI if(sourceURI.toString().equals("/")) { String path = targetURI.getPath(); - if(msCompatible && path.charAt(0) == '/') { + if(msCompatible && path.length() > 0 && path.charAt(0) == '/') { try { targetURI = new URI(path.substring(1)); } catch (Exception e) { @@ -362,6 +364,12 @@ public final class PackagingURIHelper { } } + // if the target had a fragment then append it to the result + String fragment = targetURI.getRawFragment(); + if (fragment != null) { + retVal.append("#").append(fragment); + } + try { return new URI(retVal.toString()); } catch (Exception e) { @@ -412,9 +420,9 @@ public final class PackagingURIHelper { * Get URI from a string path. */ public static URI getURIFromPath(String path) { - URI retUri = null; + URI retUri; try { - retUri = new URI(path); + retUri = toURI(path); } catch (URISyntaxException e) { throw new IllegalArgumentException("path"); } @@ -484,7 +492,7 @@ public final class PackagingURIHelper { throws InvalidFormatException { URI partNameURI; try { - partNameURI = new URI(resolvePartName(partName)); + partNameURI = toURI(partName); } catch (URISyntaxException e) { throw new InvalidFormatException(e.getMessage()); } @@ -648,7 +656,9 @@ public final class PackagingURIHelper { } /** - * If part name is not a valid URI, it is resolved as follows: + * Convert a string to {@link java.net.URI} + * + * If part name is not a valid URI, it is resolved as follows: * <p> * 1. Percent-encode each open bracket ([) and close bracket (]).</li> * 2. Percent-encode each percent (%) character that is not followed by a hexadecimal notation of an octet value.</li> @@ -663,12 +673,72 @@ public final class PackagingURIHelper { * in ?5.2 of RFC 3986. The path component of the resulting absolute URI is the part name. *</p> * - * @param partName the name to resolve + * @param value the string to be parsed into a URI * @return the resolved part name that should be OK to construct a URI * * TODO YK: for now this method does only (5). Finish the rest. */ - public static String resolvePartName(String partName){ - return partName.replace('\\', '/'); + public static URI toURI(String value) throws URISyntaxException { + //5. Convert all back slashes to forward slashes + if (value.indexOf("\\") != -1) { + value = value.replace('\\', '/'); + } + + // URI fragemnts (those starting with '#') are not encoded + // and may contain white spaces and raw unicode characters + int fragmentIdx = value.indexOf('#'); + if(fragmentIdx != -1){ + String path = value.substring(0, fragmentIdx); + String fragment = value.substring(fragmentIdx + 1); + + value = path + "#" + encode(fragment); + } + + return new URI(value); + } + + /** + * percent-encode white spaces and characters above 0x80. + * <p> + * Examples: + * 'Apache POI' --> 'Apache%20POI' + * 'Apache\u0410POI' --> 'Apache%04%10POI' + * + * @param s the string to encode + * @return the encoded string + */ + public static String encode(String s) { + int n = s.length(); + if (n == 0) return s; + + ByteBuffer bb; + try { + bb = ByteBuffer.wrap(s.getBytes("UTF-8")); + } catch (UnsupportedEncodingException e){ + // should not happen + throw new RuntimeException(e); + } + StringBuilder sb = new StringBuilder(); + while (bb.hasRemaining()) { + int b = bb.get() & 0xff; + if (isUnsafe(b)) { + sb.append('%'); + sb.append(hexDigits[(b >> 4) & 0x0F]); + sb.append(hexDigits[(b >> 0) & 0x0F]); + } else { + sb.append((char)b); + } + } + return sb.toString(); } + + private final static char[] hexDigits = { + '0', '1', '2', '3', '4', '5', '6', '7', + '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' + }; + + private static boolean isUnsafe(int ch) { + return ch > 0x80 || " ".indexOf(ch) >= 0; + } + } Modified: poi/trunk/src/ooxml/java/org/apache/poi/openxml4j/opc/internal/marshallers/ZipPartMarshaller.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/openxml4j/opc/internal/marshallers/ZipPartMarshaller.java?rev=1036215&r1=1036214&r2=1036215&view=diff ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/openxml4j/opc/internal/marshallers/ZipPartMarshaller.java (original) +++ poi/trunk/src/ooxml/java/org/apache/poi/openxml4j/opc/internal/marshallers/ZipPartMarshaller.java Wed Nov 17 20:40:35 2010 @@ -163,10 +163,7 @@ public final class ZipPartMarshaller imp } else { URI targetURI = rel.getTargetURI(); targetValue = PackagingURIHelper.relativizeURI( - sourcePartURI, targetURI, true).getPath(); - if (targetURI.getRawFragment() != null) { - targetValue += "#" + targetURI.getRawFragment(); - } + sourcePartURI, targetURI, true).toString(); } relElem.addAttribute(PackageRelationship.TARGET_ATTRIBUTE_NAME, targetValue); Modified: poi/trunk/src/ooxml/testcases/org/apache/poi/openxml4j/opc/TestPackagingURIHelper.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/testcases/org/apache/poi/openxml4j/opc/TestPackagingURIHelper.java?rev=1036215&r1=1036214&r2=1036215&view=diff ============================================================================== --- poi/trunk/src/ooxml/testcases/org/apache/poi/openxml4j/opc/TestPackagingURIHelper.java (original) +++ poi/trunk/src/ooxml/testcases/org/apache/poi/openxml4j/opc/TestPackagingURIHelper.java Wed Nov 17 20:40:35 2010 @@ -17,6 +17,7 @@ package org.apache.poi.openxml4j.opc; import java.net.URI; +import java.net.URISyntaxException; import junit.framework.TestCase; @@ -35,7 +36,9 @@ public class TestPackagingURIHelper exte public void testRelativizeURI() throws Exception { URI uri1 = new URI("/word/document.xml"); URI uri2 = new URI("/word/media/image1.gif"); - + URI uri3 = new URI("/word/media/image1.gif#Sheet1!A1"); + URI uri4 = new URI("#'My%20Sheet1'!A1"); + // Document to image is down a directory URI retURI1to2 = PackagingURIHelper.relativizeURI(uri1, uri2); assertEquals("media/image1.gif", retURI1to2.getPath()); @@ -60,6 +63,12 @@ public class TestPackagingURIHelper exte //URI compatible with MS Office and OpenOffice: leading slash is removed uriRes = PackagingURIHelper.relativizeURI(root, uri1, true); assertEquals("word/document.xml", uriRes.toString()); + + //preserve URI fragments + uriRes = PackagingURIHelper.relativizeURI(uri1, uri3, true); + assertEquals("media/image1.gif#Sheet1!A1", uriRes.toString()); + uriRes = PackagingURIHelper.relativizeURI(root, uri4, true); + assertEquals("#'My%20Sheet1'!A1", uriRes.toString()); } /** @@ -104,4 +113,22 @@ public class TestPackagingURIHelper exte .equals(relativeName)); pkg.revert(); } + + public void testCreateURIFromString() throws Exception { + String[] href = { + "..\\\\\\cygwin\\home\\yegor\\.vim\\filetype.vim", + "..\\Program%20Files\\AGEIA%20Technologies\\v2.3.3\\NxCooking.dll", + "file:///D:\\seva\\1981\\r810102ns.mp3", + "..\\cygwin\\home\\yegor\\dinom\\%5baccess%5d.2010-10-26.log", + "#'Instructions (Text)'!B21" + }; + for(String s : href){ + try { + URI uri = PackagingURIHelper.toURI(s); + } catch (URISyntaxException e){ + fail("Failed to create URI from " + s); + } + } + } + } Modified: poi/trunk/src/ooxml/testcases/org/apache/poi/openxml4j/opc/TestRelationships.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/testcases/org/apache/poi/openxml4j/opc/TestRelationships.java?rev=1036215&r1=1036214&r2=1036215&view=diff ============================================================================== --- poi/trunk/src/ooxml/testcases/org/apache/poi/openxml4j/opc/TestRelationships.java (original) +++ poi/trunk/src/ooxml/testcases/org/apache/poi/openxml4j/opc/TestRelationships.java Wed Nov 17 20:40:35 2010 @@ -18,6 +18,7 @@ package org.apache.poi.openxml4j.opc; import java.io.*; +import java.net.URI; import junit.framework.TestCase; @@ -254,4 +255,62 @@ public class TestRelationships extends T pkg.getRelationshipsByType("http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties").getRelationship(0).getTargetURI().toString()); } + + public void testTargetWithSpecialChars() throws Exception{ + + OPCPackage pkg; + + String filepath = OpenXML4JTestDataSamples.getSampleFileName("50154.xlsx"); + pkg = OPCPackage.open(filepath); + assert_50154(pkg); + + ByteArrayOutputStream baos = new ByteArrayOutputStream(); + pkg.save(baos); + ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); + pkg = OPCPackage.open(bais); + + assert_50154(pkg); + } + + public void assert_50154(OPCPackage pkg) throws Exception { + URI drawingURI = new URI("/xl/drawings/drawing1.xml"); + PackagePart drawingPart = pkg.getPart(PackagingURIHelper.createPartName(drawingURI)); + PackageRelationshipCollection drawingRels = drawingPart.getRelationships(); + + assertEquals(6, drawingRels.size()); + + // expected one image + assertEquals(1, drawingPart.getRelationshipsByType("http://schemas.openxmlformats.org/officeDocument/2006/relationships/image").size()); + // and three hyperlinks + assertEquals(5, drawingPart.getRelationshipsByType("http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink").size()); + + PackageRelationship rId1 = drawingPart.getRelationship("rId1"); + URI parent = drawingPart.getPartName().getURI(); + URI rel1 = parent.relativize(rId1.getTargetURI()); + URI rel11 = PackagingURIHelper.relativizeURI(drawingPart.getPartName().getURI(), rId1.getTargetURI()); + assertEquals("'Another Sheet'!A1", rel1.getFragment()); + + PackageRelationship rId2 = drawingPart.getRelationship("rId2"); + URI rel2 = PackagingURIHelper.relativizeURI(drawingPart.getPartName().getURI(), rId2.getTargetURI()); + assertEquals("../media/image1.png", rel2.getPath()); + + PackageRelationship rId3 = drawingPart.getRelationship("rId3"); + URI rel3 = parent.relativize(rId3.getTargetURI()); + assertEquals("ThirdSheet!A1", rel3.getFragment()); + + PackageRelationship rId4 = drawingPart.getRelationship("rId4"); + URI rel4 = parent.relativize(rId4.getTargetURI()); + assertEquals("'\u0410\u043F\u0430\u0447\u0435 \u041F\u041E\u0418'!A1", rel4.getFragment()); + + PackageRelationship rId5 = drawingPart.getRelationship("rId5"); + URI rel5 = parent.relativize(rId5.getTargetURI()); + // back slashed have been replaced with forward + assertEquals("file:///D:/chan-chan.mp3", rel5.toString()); + + PackageRelationship rId6 = drawingPart.getRelationship("rId6"); + URI rel6 = parent.relativize(rId6.getTargetURI()); + assertEquals("../../../../../../../cygwin/home/yegor/dinom/&&&[access].2010-10-26.log", rel6.getPath()); + assertEquals("'\u0410\u043F\u0430\u0447\u0435 \u041F\u041E\u0418'!A5", rel6.getFragment()); + } + } Added: poi/trunk/test-data/openxml4j/50154.xlsx URL: http://svn.apache.org/viewvc/poi/trunk/test-data/openxml4j/50154.xlsx?rev=1036215&view=auto ============================================================================== Binary file - no diff available. Propchange: poi/trunk/test-data/openxml4j/50154.xlsx ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Nov 18 20:08:04 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87582 invoked from network); 18 Nov 2010 20:08:04 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 18 Nov 2010 20:08:04 -0000 Received: (qmail 94677 invoked by uid 500); 18 Nov 2010 20:08:36 -0000 Delivered-To: [email protected] Received: (qmail 94649 invoked by uid 500); 18 Nov 2010 20:08:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.poi.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 94637 invoked by uid 99); 18 Nov 2010 20:08:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Nov 2010 20:08:35 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Nov 2010 20:08:31 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 1382823889EA; Thu, 18 Nov 2010 20:07:16 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1036599 - in /poi/trunk/src: documentation/content/xdocs/status.xml ooxml/java/org/apache/poi/xssf/usermodel/XSSFRichTextString.java ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFRichTextString.java Date: Thu, 18 Nov 2010 20:07:15 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: yegor Date: Thu Nov 18 20:07:15 2010 New Revision: 1036599 URL: http://svn.apache.org/viewvc?rev=1036599&view=rev Log: avoid corruption of XSSFWorkbook after applying XSSFRichTextRun#applyFont, see Bugzilla 50258 Modified: poi/trunk/src/documentation/content/xdocs/status.xml poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRichTextString.java poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFRichTextString.java Modified: poi/trunk/src/documentation/content/xdocs/status.xml URL: http://svn.apache.org/viewvc/poi/trunk/src/documentation/content/xdocs/status.xml?rev=1036599&r1=1036598&r2=1036599&view=diff ============================================================================== --- poi/trunk/src/documentation/content/xdocs/status.xml (original) +++ poi/trunk/src/documentation/content/xdocs/status.xml Thu Nov 18 20:07:15 2010 @@ -34,6 +34,7 @@ <changes> <release version="3.8-beta1" date="2010-??-??"> + <action dev="poi-developers" type="fix">50258 - avoid corruption of XSSFWorkbook after applying XSSFRichTextRun#applyFont</action> <action dev="poi-developers" type="fix">50154 - Allow white spaces and unicode in OPC relationship targets </action> <action dev="poi-developers" type="fix">50113 - Remove cell from Calculation Chain after setting cell type to blank </action> <action dev="poi-developers" type="fix">49966 - Ensure that XSSFRow#removeCell cleares calculation chain entries </action> Modified: poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRichTextString.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRichTextString.java?rev=1036599&r1=1036598&r2=1036599&view=diff ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRichTextString.java (original) +++ poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRichTextString.java Thu Nov 18 20:07:15 2010 @@ -17,7 +17,7 @@ package org.apache.poi.xssf.usermodel; -import java.util.ArrayList; +import java.util.*; import java.util.regex.Pattern; import java.util.regex.Matcher; @@ -132,7 +132,6 @@ public class XSSFRichTextString implemen * @param endIndex The end index to apply to font to (exclusive) * @param font The index of the font to use. */ - @SuppressWarnings("deprecation") //YK: getXYZArray() array accessors are deprecated in xmlbeans with JDK 1.5 support public void applyFont(int startIndex, int endIndex, Font font) { if (startIndex > endIndex) throw new IllegalArgumentException("Start index must be less than end index."); @@ -148,56 +147,15 @@ public class XSSFRichTextString implemen } String text = getString(); - XSSFFont xssfFont = (XSSFFont)font; - ArrayList<CTRElt> runs = new ArrayList<CTRElt>(); - CTRElt[] r = st.getRArray(); - int pos = 0; - for (int i = 0; i < r.length; i++) { - int rStart = pos; - String t = r[i].getT(); - int rEnd = rStart + t.length(); - - if(rEnd <= startIndex) { - runs.add(r[i]); - pos += r[i].getT().length(); - } - else if (startIndex > rStart && startIndex < rEnd){ - CTRElt c = (CTRElt)r[i].copy(); - String txt = text.substring(rStart, startIndex); - c.setT(txt); - runs.add(c); - pos += txt.length(); - } else { - break; - } - } - CTRElt rt = CTRElt.Factory.newInstance(); - String txt = text.substring(startIndex, endIndex); - rt.setT(txt); - CTRPrElt pr = rt.addNewRPr(); - setRunAttributes(xssfFont.getCTFont(), pr); - runs.add(rt); - pos += txt.length(); - - for (int i = 0; i < r.length; i++) { - int rStart = pos; - String t = r[i].getT(); - int rEnd = Math.min(rStart + t.length(), text.length()); - - if (endIndex < rEnd){ - CTRElt c = (CTRElt)r[i].copy(); - txt = text.substring(rStart, rEnd); - c.setT(txt); - runs.add(c); - pos += txt.length(); - preserveSpaces(c.xgetT()); - } - } + TreeMap<Integer, CTRPrElt> formats = getFormatMap(st); + CTRPrElt fmt = CTRPrElt.Factory.newInstance(); + setRunAttributes(xssfFont.getCTFont(), fmt); + applyFont(formats, startIndex, endIndex, fmt); - - st.setRArray(runs.toArray(new CTRElt[runs.size()])); + CTRst newSt = buildCTRst(text, formats); + st.set(newSt); } /** @@ -205,17 +163,8 @@ public class XSSFRichTextString implemen * @param font The font to use. */ public void applyFont(Font font) { - if(st.sizeOfRArray() == 0 && st.isSetT()) { - CTRElt r = st.addNewR(); - r.setT(st.getT()); - setRunAttributes(((XSSFFont)font).getCTFont(), r.addNewRPr()); - st.unsetT(); - } else { - CTRElt r = CTRElt.Factory.newInstance(); - r.setT(getString()); - setRunAttributes(((XSSFFont)font).getCTFont(), r.addNewRPr()); - st.setRArray(new CTRElt[]{r}); - } + String text = getString(); + applyFont(0, text.length(), font); } /** @@ -231,7 +180,8 @@ public class XSSFRichTextString implemen } else { font = styles.getFontAt(fontIndex); } - applyFont(font); + String text = getString(); + applyFont(0, text.length(), font); } /** @@ -295,9 +245,7 @@ public class XSSFRichTextString implemen */ public void clearFormatting() { String text = getString(); - while (st.sizeOfRArray() > 0) { - st.removeR(st.sizeOfRArray()-1); - } + st.setRArray(null); st.setT(text); } @@ -531,4 +479,62 @@ public class XSSFRichTextString implemen buf.append(value.substring(idx)); return buf.toString(); } + + void applyFont(TreeMap<Integer, CTRPrElt> formats, int startIndex, int endIndex, CTRPrElt fmt) { + // delete format runs that fit between startIndex and endIndex + // runs intersecting startIndex and endIndex remain + int runStartIdx = 0; + for (Iterator<Integer> it = formats.keySet().iterator(); it.hasNext();) { + int runEndIdx = it.next(); + if (runStartIdx >= startIndex && runEndIdx < endIndex) { + it.remove(); + } + runStartIdx = runEndIdx; + } + + if(startIndex > 0 && !formats.containsKey(startIndex)) { + Map.Entry<Integer, CTRPrElt> he = formats.higherEntry(startIndex); //TODO TreeMap#higherEntry is JDK 1.6 only! + if(he != null) formats.put(startIndex, he.getValue()); + } + formats.put(endIndex, fmt); + + // assure that the range [startIndex, endIndex] consists if a single run + // there can be two or three runs depending whether startIndex or endIndex + // intersected existing format runs + SortedMap<Integer, CTRPrElt> sub = formats.subMap(startIndex, endIndex); + while(sub.size() > 1) sub.remove(sub.lastKey()); + } + + TreeMap<Integer, CTRPrElt> getFormatMap(CTRst entry){ + int length = 0; + TreeMap<Integer, CTRPrElt> formats = new TreeMap<Integer, CTRPrElt>(); + for (CTRElt r : entry.getRArray()) { + String txt = r.getT(); + CTRPrElt fmt = r.getRPr(); + + length += txt.length(); + formats.put(length, fmt); + } + return formats; + } + + CTRst buildCTRst(String text, TreeMap<Integer, CTRPrElt> formats){ + if(text.length() != formats.lastKey()) { + throw new IllegalArgumentException("Text length was " + text.length() + + " but the last format index was " + formats.lastKey()); + } + CTRst st = CTRst.Factory.newInstance(); + int runStartIdx = 0; + for (Iterator<Integer> it = formats.keySet().iterator(); it.hasNext();) { + int runEndIdx = it.next(); + CTRElt run = st.addNewR(); + String fragment = text.substring(runStartIdx, runEndIdx); + run.setT(fragment); + preserveSpaces(run.xgetT()); + CTRPrElt fmt = formats.get(runEndIdx); + if(fmt != null) run.setRPr(fmt); + runStartIdx = runEndIdx; + } + return st; + } } Modified: poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFRichTextString.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFRichTextString.java?rev=1036599&r1=1036598&r2=1036599&view=diff ============================================================================== --- poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFRichTextString.java (original) +++ poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFRichTextString.java Thu Nov 18 20:07:15 2010 @@ -21,6 +21,9 @@ import junit.framework.TestCase; import org.openxmlformats.schemas.spreadsheetml.x2006.main.CTRst; import org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring; +import org.openxmlformats.schemas.spreadsheetml.x2006.main.CTRPrElt; + +import java.util.TreeMap; /** * Tests functionality of the XSSFRichTextRun object @@ -53,23 +56,27 @@ public final class TestXSSFRichTextStrin rt.append("4567"); rt.append("89"); + assertEquals("123456789", rt.getString()); + XSSFFont font1 = new XSSFFont(); font1.setBold(true); rt.applyFont(2, 5, font1); - assertEquals(5, rt.numFormattingRuns()); + assertEquals(4, rt.numFormattingRuns()); assertEquals(0, rt.getIndexOfFormattingRun(0)); - assertEquals(2, rt.getLengthOfFormattingRun(0)); + assertEquals("12", rt.getCTRst().getRArray(0).getT()); assertEquals(2, rt.getIndexOfFormattingRun(1)); - assertEquals(3, rt.getLengthOfFormattingRun(1)); + assertEquals("345", rt.getCTRst().getRArray(1).getT()); assertEquals(5, rt.getIndexOfFormattingRun(2)); - assertEquals(3, rt.getLengthOfFormattingRun(2)); + assertEquals(2, rt.getLengthOfFormattingRun(2)); + assertEquals("67", rt.getCTRst().getRArray(2).getT()); - assertEquals(8, rt.getIndexOfFormattingRun(3)); - assertEquals(1, rt.getLengthOfFormattingRun(3)); + assertEquals(7, rt.getIndexOfFormattingRun(3)); + assertEquals(2, rt.getLengthOfFormattingRun(3)); + assertEquals("89", rt.getCTRst().getRArray(3).getT()); } public void testClearFormatting() { @@ -142,4 +149,145 @@ public final class TestXSSFRichTextStrin assertEquals("abc\r2ef\r", rt.getString()); } + + public void testApplyFont_lowlevel(){ + CTRst st = CTRst.Factory.newInstance(); + String text = "Apache Software Foundation"; + XSSFRichTextString str = new XSSFRichTextString(text); + assertEquals(26, text.length()); + + st.addNewR().setT(text); + + TreeMap<Integer, CTRPrElt> formats = str.getFormatMap(st); + assertEquals(1, formats.size()); + assertEquals(26, (int)formats.firstEntry().getKey()); + assertNull(formats.firstEntry().getValue()); + + CTRPrElt fmt1 = CTRPrElt.Factory.newInstance(); + str.applyFont(formats, 0, 6, fmt1); + assertEquals(2, formats.size()); + assertEquals("[6, 26]", formats.keySet().toString()); + Object[] runs1 = formats.values().toArray(); + assertSame(fmt1, runs1[0]); + assertSame(null, runs1[1]); + + CTRPrElt fmt2 = CTRPrElt.Factory.newInstance(); + str.applyFont(formats, 7, 15, fmt2); + assertEquals(4, formats.size()); + assertEquals("[6, 7, 15, 26]", formats.keySet().toString()); + Object[] runs2 = formats.values().toArray(); + assertSame(fmt1, runs2[0]); + assertSame(null, runs2[1]); + assertSame(fmt2, runs2[2]); + assertSame(null, runs2[3]); + + CTRPrElt fmt3 = CTRPrElt.Factory.newInstance(); + str.applyFont(formats, 6, 7, fmt3); + assertEquals(4, formats.size()); + assertEquals("[6, 7, 15, 26]", formats.keySet().toString()); + Object[] runs3 = formats.values().toArray(); + assertSame(fmt1, runs3[0]); + assertSame(fmt3, runs3[1]); + assertSame(fmt2, runs3[2]); + assertSame(null, runs3[3]); + + CTRPrElt fmt4 = CTRPrElt.Factory.newInstance(); + str.applyFont(formats, 0, 7, fmt4); + assertEquals(3, formats.size()); + assertEquals("[7, 15, 26]", formats.keySet().toString()); + Object[] runs4 = formats.values().toArray(); + assertSame(fmt4, runs4[0]); + assertSame(fmt2, runs4[1]); + assertSame(null, runs4[2]); + + CTRPrElt fmt5 = CTRPrElt.Factory.newInstance(); + str.applyFont(formats, 0, 26, fmt5); + assertEquals(1, formats.size()); + assertEquals("[26]", formats.keySet().toString()); + Object[] runs5 = formats.values().toArray(); + assertSame(fmt5, runs5[0]); + + CTRPrElt fmt6 = CTRPrElt.Factory.newInstance(); + str.applyFont(formats, 15, 26, fmt6); + assertEquals(2, formats.size()); + assertEquals("[15, 26]", formats.keySet().toString()); + Object[] runs6 = formats.values().toArray(); + assertSame(fmt5, runs6[0]); + assertSame(fmt6, runs6[1]); + + str.applyFont(formats, 0, 26, null); + assertEquals(1, formats.size()); + assertEquals("[26]", formats.keySet().toString()); + Object[] runs7 = formats.values().toArray(); + assertSame(null, runs7[0]); + + str.applyFont(formats, 15, 26, fmt6); + assertEquals(2, formats.size()); + assertEquals("[15, 26]", formats.keySet().toString()); + Object[] runs8 = formats.values().toArray(); + assertSame(null, runs8[0]); + assertSame(fmt6, runs8[1]); + + str.applyFont(formats, 15, 26, fmt5); + assertEquals(2, formats.size()); + assertEquals("[15, 26]", formats.keySet().toString()); + Object[] runs9 = formats.values().toArray(); + assertSame(null, runs9[0]); + assertSame(fmt5, runs9[1]); + + str.applyFont(formats, 2, 20, fmt6); + assertEquals(3, formats.size()); + assertEquals("[2, 20, 26]", formats.keySet().toString()); + Object[] runs10 = formats.values().toArray(); + assertSame(null, runs10[0]); + assertSame(fmt6, runs10[1]); + assertSame(fmt5, runs10[2]); + + str.applyFont(formats, 22, 24, fmt4); + assertEquals(5, formats.size()); + assertEquals("[2, 20, 22, 24, 26]", formats.keySet().toString()); + Object[] runs11 = formats.values().toArray(); + assertSame(null, runs11[0]); + assertSame(fmt6, runs11[1]); + assertSame(fmt5, runs11[2]); + assertSame(fmt4, runs11[3]); + assertSame(fmt5, runs11[4]); + + str.applyFont(formats, 0, 10, fmt1); + assertEquals(5, formats.size()); + assertEquals("[10, 20, 22, 24, 26]", formats.keySet().toString()); + Object[] runs12 = formats.values().toArray(); + assertSame(fmt1, runs12[0]); + assertSame(fmt6, runs12[1]); + assertSame(fmt5, runs12[2]); + assertSame(fmt4, runs12[3]); + assertSame(fmt5, runs12[4]); + } + + public void testApplyFont_usermodel(){ + String text = "Apache Software Foundation"; + XSSFRichTextString str = new XSSFRichTextString(text); + XSSFFont font1 = new XSSFFont(); + XSSFFont font2 = new XSSFFont(); + XSSFFont font3 = new XSSFFont(); + str.applyFont(font1); + assertEquals(1, str.numFormattingRuns()); + + str.applyFont(0, 6, font1); + str.applyFont(6, text.length(), font2); + assertEquals(2, str.numFormattingRuns()); + assertEquals("Apache", str.getCTRst().getRArray(0).getT()); + assertEquals(" Software Foundation", str.getCTRst().getRArray(1).getT()); + + str.applyFont(15, 26, font3); + assertEquals(3, str.numFormattingRuns()); + assertEquals("Apache", str.getCTRst().getRArray(0).getT()); + assertEquals(" Software", str.getCTRst().getRArray(1).getT()); + assertEquals(" Foundation", str.getCTRst().getRArray(2).getT()); + + str.applyFont(6, text.length(), font2); + assertEquals(2, str.numFormattingRuns()); + assertEquals("Apache", str.getCTRst().getRArray(0).getT()); + assertEquals(" Software Foundation", str.getCTRst().getRArray(1).getT()); + } } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Nov 19 14:10:01 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85900 invoked from network); 19 Nov 2010 14:10:01 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 19 Nov 2010 14:10:01 -0000 Received: (qmail 29521 invoked by uid 500); 19 Nov 2010 14:10:32 -0000 Delivered-To: [email protected] Received: (qmail 29480 invoked by uid 500); 19 Nov 2010 14:10:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.poi.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 29472 invoked by uid 99); 19 Nov 2010 14:10:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Nov 2010 14:10:31 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Nov 2010 14:10:28 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 0FC6D23888E4; Fri, 19 Nov 2010 14:09:14 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1036850 - /poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Range.java Date: Fri, 19 Nov 2010 14:09:14 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: maxcom Date: Fri Nov 19 14:09:13 2010 New Revision: 1036850 URL: http://svn.apache.org/viewvc?rev=1036850&view=rev Log: hwpf: IndexOutOfBoundsException in Range.findRange when list contains only nulls Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Range.java Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Range.java URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Range.java?rev=1036850&r1=1036849&r2=1036850&view=diff ============================================================================== --- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Range.java (original) +++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Range.java Fri Nov 19 14:09:13 2010 @@ -973,6 +973,11 @@ public class Range { // TODO -instantiab while (node==null || (node.getEnd() <= start && x < rpl.size() - 1)) { x++; + + if (x>=rpl.size()) { + return new int[] {0, 0}; + } + node = rpl.get(x); } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Nov 19 17:15:50 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83144 invoked from network); 19 Nov 2010 17:15:49 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 19 Nov 2010 17:15:49 -0000 Received: (qmail 25998 invoked by uid 500); 19 Nov 2010 17:16:21 -0000 Delivered-To: [email protected] Received: (qmail 25967 invoked by uid 500); 19 Nov 2010 17:16:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.poi.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 25960 invoked by uid 99); 19 Nov 2010 17:16:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Nov 2010 17:16:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Nov 2010 17:16:18 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 1D5CB23889C5; Fri, 19 Nov 2010 17:15:04 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1036947 - /poi/trunk/src/documentation/content/xdocs/guidelines.xml Date: Fri, 19 Nov 2010 17:15:04 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: nick Date: Fri Nov 19 17:15:03 2010 New Revision: 1036947 URL: http://svn.apache.org/viewvc?rev=1036947&view=rev Log: Add a link to the bugzilla list of new/needinfo bugs Modified: poi/trunk/src/documentation/content/xdocs/guidelines.xml Modified: poi/trunk/src/documentation/content/xdocs/guidelines.xml URL: http://svn.apache.org/viewvc/poi/trunk/src/documentation/content/xdocs/guidelines.xml?rev=1036947&r1=1036946&r2=1036947&view=diff ============================================================================== --- poi/trunk/src/documentation/content/xdocs/guidelines.xml (original) +++ poi/trunk/src/documentation/content/xdocs/guidelines.xml Fri Nov 19 17:15:03 2010 @@ -135,6 +135,7 @@ <li>Submit patches (see below) of your contributions, modifications.</li> <li>Check the <link href="http://issues.apache.org/bugzilla/buglist.cgi?product=POI">bug database</link> for simple problem reports, and write a patch to fix the problem</li> <li>Review existing patches in the <link href="http://issues.apache.org/bugzilla/buglist.cgi?product=POI">bug database</link>, and report if they still apply, if they need unit tests atc.</li> + <li>Take a look at all the <link href="https://issues.apache.org/bugzilla/buglist.cgi?product=POI;bug_status=NEW;bug_status=NEEDINFO">unresolved issues in the bug database</link>, and see if you can help with testing or patches for them</li> <li>Add in new features, see <link href="http://issues.apache.org/bugzilla/buglist.cgi?product=POI">Bug database</link> for suggestions.</li> </ul> <p>The Nutch project also have a very useful guide on becoming a --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Nov 19 18:14:55 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10612 invoked from network); 19 Nov 2010 18:14:55 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 19 Nov 2010 18:14:55 -0000 Received: (qmail 8331 invoked by uid 500); 19 Nov 2010 18:15:26 -0000 Delivered-To: [email protected] Received: (qmail 8302 invoked by uid 500); 19 Nov 2010 18:15:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.poi.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 8295 invoked by uid 99); 19 Nov 2010 18:15:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Nov 2010 18:15:26 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Nov 2010 18:15:22 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 0AB4123888E8; Fri, 19 Nov 2010 18:14:07 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1036968 - in /poi/trunk/src: documentation/content/xdocs/status.xml ooxml/java/org/apache/poi/xssf/eventusermodel/XSSFSheetXMLHandler.java ooxml/java/org/apache/poi/xssf/extractor/XSSFEventBasedExcelExtractor.java Date: Fri, 19 Nov 2010 18:14:06 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: nick Date: Fri Nov 19 18:14:06 2010 New Revision: 1036968 URL: http://svn.apache.org/viewvc?rev=1036968&view=rev Log: Some refactoring of XSSFEventBasedExcelExtractor, to make it easier for you to have control over outputting the cell contents, inspired by bug #50076 Added: poi/trunk/src/ooxml/java/org/apache/poi/xssf/eventusermodel/XSSFSheetXMLHandler.java Modified: poi/trunk/src/documentation/content/xdocs/status.xml poi/trunk/src/ooxml/java/org/apache/poi/xssf/extractor/XSSFEventBasedExcelExtractor.java Modified: poi/trunk/src/documentation/content/xdocs/status.xml URL: http://svn.apache.org/viewvc/poi/trunk/src/documentation/content/xdocs/status.xml?rev=1036968&r1=1036967&r2=1036968&view=diff ============================================================================== --- poi/trunk/src/documentation/content/xdocs/status.xml (original) +++ poi/trunk/src/documentation/content/xdocs/status.xml Fri Nov 19 18:14:06 2010 @@ -34,6 +34,7 @@ <changes> <release version="3.8-beta1" date="2010-??-??"> + <action dev="poi-developers" type="add">50076 - Refactor XSSFEventBasedExcelExtractor to make it easier for you to have control over outputting the cell contents</action> <action dev="poi-developers" type="fix">50258 - avoid corruption of XSSFWorkbook after applying XSSFRichTextRun#applyFont</action> <action dev="poi-developers" type="fix">50154 - Allow white spaces and unicode in OPC relationship targets </action> <action dev="poi-developers" type="fix">50113 - Remove cell from Calculation Chain after setting cell type to blank </action> Added: poi/trunk/src/ooxml/java/org/apache/poi/xssf/eventusermodel/XSSFSheetXMLHandler.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/eventusermodel/XSSFSheetXMLHandler.java?rev=1036968&view=auto ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/xssf/eventusermodel/XSSFSheetXMLHandler.java (added) +++ poi/trunk/src/ooxml/java/org/apache/poi/xssf/eventusermodel/XSSFSheetXMLHandler.java Fri Nov 19 18:14:06 2010 @@ -0,0 +1,253 @@ +/* ==================================================================== + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +==================================================================== */ +package org.apache.poi.xssf.eventusermodel; + +import org.apache.poi.ss.usermodel.BuiltinFormats; +import org.apache.poi.ss.usermodel.DataFormatter; +import org.apache.poi.xssf.model.StylesTable; +import org.apache.poi.xssf.usermodel.XSSFCellStyle; +import org.apache.poi.xssf.usermodel.XSSFRichTextString; +import org.xml.sax.Attributes; +import org.xml.sax.SAXException; +import org.xml.sax.helpers.DefaultHandler; + +/** + * This class handles the processing of a sheet#.xml + * sheet part of a XSSF .xlsx file, and generates + * row and cell events for it. + */ +public class XSSFSheetXMLHandler extends DefaultHandler { + /** + * These are the different kinds of cells we support. + * We keep track of the current one between + * the start and end. + */ + enum xssfDataType { + BOOLEAN, + ERROR, + FORMULA, + INLINE_STRING, + SST_STRING, + NUMBER, + } + + /** + * Table with the styles used for formatting + */ + private StylesTable stylesTable; + + private ReadOnlySharedStringsTable sharedStringsTable; + + /** + * Where our text is going + */ + private final SheetContentsHandler output; + + // Set when V start element is seen + private boolean vIsOpen; + // Set when F start element is seen + private boolean fIsOpen; + + // Set when cell start element is seen; + // used when cell close element is seen. + private xssfDataType nextDataType; + + // Used to format numeric cell values. + private short formatIndex; + private String formatString; + private final DataFormatter formatter; + private String cellRef; + private boolean formulasNotResults; + + // Gathers characters as they are seen. + private StringBuffer value = new StringBuffer(); + private StringBuffer formula = new StringBuffer(); + + /** + * Accepts objects needed while parsing. + * + * @param styles Table of styles + * @param strings Table of shared strings + * @param cols Minimum number of columns to show + * @param target Sink for output + */ + public XSSFSheetXMLHandler( + StylesTable styles, + ReadOnlySharedStringsTable strings, + SheetContentsHandler sheetContentsHandler, + boolean formulasNotResults) { + this.stylesTable = styles; + this.sharedStringsTable = strings; + this.output = sheetContentsHandler; + this.formulasNotResults = formulasNotResults; + this.nextDataType = xssfDataType.NUMBER; + this.formatter = new DataFormatter(); + } + + public void startElement(String uri, String localName, String name, + Attributes attributes) throws SAXException { + + if ("inlineStr".equals(name) || "v".equals(name)) { + vIsOpen = true; + // Clear contents cache + value.setLength(0); + } else if ("f".equals(name)) { + // Clear contents cache + formula.setLength(0); + + // Mark us as being a formula if not already + if(nextDataType == xssfDataType.NUMBER) { + nextDataType = xssfDataType.FORMULA; + } + + // Decide where to get the formula string from + String type = attributes.getValue("t"); + if(type != null && type.equals("shared")) { + System.err.println("Warning - shared formulas not yet supported!"); + } else { + fIsOpen = true; + } + } + else if("row".equals(name)) { + int rowNum = Integer.parseInt(attributes.getValue("r")) - 1; + output.startRow(rowNum); + } + // c => cell + else if ("c".equals(name)) { + // Set up defaults. + this.nextDataType = xssfDataType.NUMBER; + this.formatIndex = -1; + this.formatString = null; + cellRef = attributes.getValue("r"); + String cellType = attributes.getValue("t"); + String cellStyleStr = attributes.getValue("s"); + if ("b".equals(cellType)) + nextDataType = xssfDataType.BOOLEAN; + else if ("e".equals(cellType)) + nextDataType = xssfDataType.ERROR; + else if ("inlineStr".equals(cellType)) + nextDataType = xssfDataType.INLINE_STRING; + else if ("s".equals(cellType)) + nextDataType = xssfDataType.SST_STRING; + else if ("str".equals(cellType)) + nextDataType = xssfDataType.FORMULA; + else if (cellStyleStr != null) { + // Number, but almost certainly with a special style or format + int styleIndex = Integer.parseInt(cellStyleStr); + XSSFCellStyle style = stylesTable.getStyleAt(styleIndex); + this.formatIndex = style.getDataFormat(); + this.formatString = style.getDataFormatString(); + if (this.formatString == null) + this.formatString = BuiltinFormats.getBuiltinFormat(this.formatIndex); + } + } + } + + public void endElement(String uri, String localName, String name) + throws SAXException { + String thisStr = null; + + // v => contents of a cell + if ("v".equals(name)) { + vIsOpen = false; + + // Process the value contents as required, now we have it all + switch (nextDataType) { + case BOOLEAN: + char first = value.charAt(0); + thisStr = first == '0' ? "FALSE" : "TRUE"; + break; + + case ERROR: + thisStr = "ERROR:" + value.toString(); + break; + + case FORMULA: + if(formulasNotResults) { + thisStr = formula.toString(); + } else { + thisStr = value.toString(); + } + break; + + case INLINE_STRING: + // TODO: have seen an example of this, so it's untested. + XSSFRichTextString rtsi = new XSSFRichTextString(value.toString()); + thisStr = rtsi.toString(); + break; + + case SST_STRING: + String sstIndex = value.toString(); + try { + int idx = Integer.parseInt(sstIndex); + XSSFRichTextString rtss = new XSSFRichTextString(sharedStringsTable.getEntryAt(idx)); + thisStr = rtss.toString(); + } + catch (NumberFormatException ex) { + System.err.println("Failed to parse SST index '" + sstIndex + "': " + ex.toString()); + } + break; + + case NUMBER: + String n = value.toString(); + if (this.formatString != null) + thisStr = formatter.formatRawCellContents(Double.parseDouble(n), this.formatIndex, this.formatString); + else + thisStr = n; + break; + + default: + thisStr = "(TODO: Unexpected type: " + nextDataType + ")"; + break; + } + + // Output + output.cell(cellRef, thisStr); + } else if ("f".equals(name)) { + fIsOpen = false; + } else if ("row".equals(name)) { + output.endRow(); + } + } + + /** + * Captures characters only if a suitable element is open. + * Originally was just "v"; extended for inlineStr also. + */ + public void characters(char[] ch, int start, int length) + throws SAXException { + if (vIsOpen) { + value.append(ch, start, length); + } + if (fIsOpen) { + formula.append(ch, start, length); + } + } + + /** + * You need to implement this to handle the results + * of the sheet parsing. + */ + public interface SheetContentsHandler { + /** A row with the (zero based) row number has started */ + public void startRow(int rowNum); + /** A row with the (zero based) row number has ended */ + public void endRow(); + /** A cell, with the given formatted value, was encountered */ + public void cell(String cellReference, String formattedValue); + } +} Modified: poi/trunk/src/ooxml/java/org/apache/poi/xssf/extractor/XSSFEventBasedExcelExtractor.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/extractor/XSSFEventBasedExcelExtractor.java?rev=1036968&r1=1036967&r2=1036968&view=diff ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/xssf/extractor/XSSFEventBasedExcelExtractor.java (original) +++ poi/trunk/src/ooxml/java/org/apache/poi/xssf/extractor/XSSFEventBasedExcelExtractor.java Fri Nov 19 18:14:06 2010 @@ -26,20 +26,16 @@ import javax.xml.parsers.SAXParserFactor import org.apache.poi.POIXMLTextExtractor; import org.apache.poi.openxml4j.exceptions.OpenXML4JException; import org.apache.poi.openxml4j.opc.OPCPackage; -import org.apache.poi.ss.usermodel.BuiltinFormats; -import org.apache.poi.ss.usermodel.DataFormatter; import org.apache.poi.xssf.eventusermodel.ReadOnlySharedStringsTable; import org.apache.poi.xssf.eventusermodel.XSSFReader; +import org.apache.poi.xssf.eventusermodel.XSSFSheetXMLHandler; +import org.apache.poi.xssf.eventusermodel.XSSFSheetXMLHandler.SheetContentsHandler; import org.apache.poi.xssf.model.StylesTable; -import org.apache.poi.xssf.usermodel.XSSFCellStyle; -import org.apache.poi.xssf.usermodel.XSSFRichTextString; import org.apache.xmlbeans.XmlException; -import org.xml.sax.Attributes; import org.xml.sax.ContentHandler; import org.xml.sax.InputSource; import org.xml.sax.SAXException; import org.xml.sax.XMLReader; -import org.xml.sax.helpers.DefaultHandler; /** * Implementation of a text extractor from OOXML Excel @@ -50,20 +46,6 @@ public class XSSFEventBasedExcelExtracto private boolean includeSheetNames = true; private boolean formulasNotResults = false; - /** - * These are the different kinds of cells we support. - * We keep track of the current one between - * the start and end. - */ - enum xssfDataType { - BOOLEAN, - ERROR, - FORMULA, - INLINE_STRING, - SST_STRING, - NUMBER, - } - public XSSFEventBasedExcelExtractor(String path) throws XmlException, OpenXML4JException, IOException { this(OPCPackage.open(path)); } @@ -97,212 +79,11 @@ public class XSSFEventBasedExcelExtracto this.formulasNotResults = formulasNotResults; } - - /** - * Handler for sheets. Processes each row and cell, - * formatting Cells as best as it can. - */ - class MyXSSFSheetHandler extends DefaultHandler { - /** - * Table with the styles used for formatting - */ - private StylesTable stylesTable; - - private ReadOnlySharedStringsTable sharedStringsTable; - - /** - * Where our text is going - */ - private final StringBuffer output; - - // Set when V start element is seen - private boolean vIsOpen; - // Set when F start element is seen - private boolean fIsOpen; - - // Set when cell start element is seen; - // used when cell close element is seen. - private xssfDataType nextDataType; - - // Used to format numeric cell values. - private short formatIndex; - private String formatString; - private final DataFormatter formatter; - - // Gathers characters as they are seen. - private StringBuffer value = new StringBuffer(); - private StringBuffer formula = new StringBuffer(); - private boolean firstCellOfRow = true; - - /** - * Accepts objects needed while parsing. - * - * @param styles Table of styles - * @param strings Table of shared strings - * @param cols Minimum number of columns to show - * @param target Sink for output - */ - public MyXSSFSheetHandler( - StylesTable styles, - ReadOnlySharedStringsTable strings, - StringBuffer output) { - this.stylesTable = styles; - this.sharedStringsTable = strings; - this.output = output; - this.nextDataType = xssfDataType.NUMBER; - this.formatter = new DataFormatter(); - } - - public void startElement(String uri, String localName, String name, - Attributes attributes) throws SAXException { - - if ("inlineStr".equals(name) || "v".equals(name)) { - vIsOpen = true; - // Clear contents cache - value.setLength(0); - } else if ("f".equals(name)) { - // Clear contents cache - formula.setLength(0); - - // Mark us as being a formula if not already - if(nextDataType == xssfDataType.NUMBER) { - nextDataType = xssfDataType.FORMULA; - } - - // Decide where to get the formula string from - String type = attributes.getValue("t"); - if(type != null && type.equals("shared")) { - System.err.println("Warning - shared formulas not yet supported!"); - } else { - fIsOpen = true; - } - } - else if("row".equals(name)) { - firstCellOfRow = true; - } - // c => cell - else if ("c".equals(name)) { - // Set up defaults. - this.nextDataType = xssfDataType.NUMBER; - this.formatIndex = -1; - this.formatString = null; - String cellType = attributes.getValue("t"); - String cellStyleStr = attributes.getValue("s"); - if ("b".equals(cellType)) - nextDataType = xssfDataType.BOOLEAN; - else if ("e".equals(cellType)) - nextDataType = xssfDataType.ERROR; - else if ("inlineStr".equals(cellType)) - nextDataType = xssfDataType.INLINE_STRING; - else if ("s".equals(cellType)) - nextDataType = xssfDataType.SST_STRING; - else if ("str".equals(cellType)) - nextDataType = xssfDataType.FORMULA; - else if (cellStyleStr != null) { - // Number, but almost certainly with a special style or format - int styleIndex = Integer.parseInt(cellStyleStr); - XSSFCellStyle style = stylesTable.getStyleAt(styleIndex); - this.formatIndex = style.getDataFormat(); - this.formatString = style.getDataFormatString(); - if (this.formatString == null) - this.formatString = BuiltinFormats.getBuiltinFormat(this.formatIndex); - } - } - } - - public void endElement(String uri, String localName, String name) - throws SAXException { - String thisStr = null; - - // v => contents of a cell - if ("v".equals(name)) { - vIsOpen = false; - - // Process the value contents as required, now we have it all - switch (nextDataType) { - case BOOLEAN: - char first = value.charAt(0); - thisStr = first == '0' ? "FALSE" : "TRUE"; - break; - - case ERROR: - thisStr = "ERROR:" + value.toString(); - break; - - case FORMULA: - if(formulasNotResults) { - thisStr = formula.toString(); - } else { - thisStr = value.toString(); - } - break; - - case INLINE_STRING: - // TODO: have seen an example of this, so it's untested. - XSSFRichTextString rtsi = new XSSFRichTextString(value.toString()); - thisStr = rtsi.toString(); - break; - - case SST_STRING: - String sstIndex = value.toString(); - try { - int idx = Integer.parseInt(sstIndex); - XSSFRichTextString rtss = new XSSFRichTextString(sharedStringsTable.getEntryAt(idx)); - thisStr = rtss.toString(); - } - catch (NumberFormatException ex) { - System.err.println("Failed to parse SST index '" + sstIndex + "': " + ex.toString()); - } - break; - - case NUMBER: - String n = value.toString(); - if (this.formatString != null) - thisStr = formatter.formatRawCellContents(Double.parseDouble(n), this.formatIndex, this.formatString); - else - thisStr = n; - break; - - default: - thisStr = "(TODO: Unexpected type: " + nextDataType + ")"; - break; - } - - // Output - if(!firstCellOfRow) { - output.append('\t'); - } - firstCellOfRow = false; - - output.append(thisStr); - } else if ("f".equals(name)) { - fIsOpen = false; - } else if ("row".equals(name)) { - // Finish the line - output.append('\n'); - } - } - - /** - * Captures characters only if a suitable element is open. - * Originally was just "v"; extended for inlineStr also. - */ - public void characters(char[] ch, int start, int length) - throws SAXException { - if (vIsOpen) { - value.append(ch, start, length); - } - if (fIsOpen) { - formula.append(ch, start, length); - } - } - } - /** * Processes the given sheet */ public void processSheet( - StringBuffer output, + SheetTextExtractor sheetExtractor, StylesTable styles, ReadOnlySharedStringsTable strings, InputStream sheetInputStream) @@ -313,7 +94,7 @@ public class XSSFEventBasedExcelExtracto try { SAXParser saxParser = saxFactory.newSAXParser(); XMLReader sheetParser = saxParser.getXMLReader(); - ContentHandler handler = new MyXSSFSheetHandler(styles, strings, output); + ContentHandler handler = new XSSFSheetXMLHandler(styles, strings, sheetExtractor, formulasNotResults); sheetParser.setContentHandler(handler); sheetParser.parse(sheetSource); } catch(ParserConfigurationException e) { @@ -332,13 +113,15 @@ public class XSSFEventBasedExcelExtracto XSSFReader.SheetIterator iter = (XSSFReader.SheetIterator) xssfReader.getSheetsData(); StringBuffer text = new StringBuffer(); + SheetTextExtractor sheetExtractor = new SheetTextExtractor(text); + while (iter.hasNext()) { InputStream stream = iter.next(); if(includeSheetNames) { text.append(iter.getSheetName()); text.append('\n'); } - processSheet(text, styles, strings, stream); + processSheet(sheetExtractor, styles, strings, stream); stream.close(); } @@ -354,4 +137,30 @@ public class XSSFEventBasedExcelExtracto return null; } } + + protected class SheetTextExtractor implements SheetContentsHandler { + private final StringBuffer output; + private boolean firstCellOfRow = true; + + protected SheetTextExtractor(StringBuffer output) { + this.output = output; + } + + public void startRow(int rowNum) { + firstCellOfRow = true; + } + + public void endRow() { + output.append('\n'); + } + + public void cell(String cellRef, String formattedValue) { + if(firstCellOfRow) { + firstCellOfRow = false; + } else { + output.append('\t'); + } + output.append(formattedValue); + } + } } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Nov 20 14:50:35 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 16823 invoked from network); 20 Nov 2010 14:50:35 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 20 Nov 2010 14:50:35 -0000 Received: (qmail 85594 invoked by uid 500); 20 Nov 2010 14:51:06 -0000 Delivered-To: [email protected] Received: (qmail 85566 invoked by uid 500); 20 Nov 2010 14:51:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.poi.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 85558 invoked by uid 99); 20 Nov 2010 14:51:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Nov 2010 14:51:05 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Nov 2010 14:51:04 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 85E6123888EA; Sat, 20 Nov 2010 14:49:48 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1037228 - in /poi/trunk/src: java/org/apache/poi/hssf/record/formula/ java/org/apache/poi/hssf/record/formula/atp/ java/org/apache/poi/hssf/record/formula/eval/ java/org/apache/poi/hssf/record/formula/functions/ testcases/org/apache/poi/hs... Date: Sat, 20 Nov 2010 14:49:48 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: yegor Date: Sat Nov 20 14:49:47 2010 New Revision: 1037228 URL: http://svn.apache.org/viewvc?rev=1037228&view=rev Log: removed dependencies on HSSF, prepare to move common formula stuff to org.apache.poi.ss.formula Modified: poi/trunk/src/java/org/apache/poi/hssf/record/formula/AreaErrPtg.java poi/trunk/src/java/org/apache/poi/hssf/record/formula/DeletedArea3DPtg.java poi/trunk/src/java/org/apache/poi/hssf/record/formula/DeletedRef3DPtg.java poi/trunk/src/java/org/apache/poi/hssf/record/formula/ErrPtg.java poi/trunk/src/java/org/apache/poi/hssf/record/formula/RefErrorPtg.java poi/trunk/src/java/org/apache/poi/hssf/record/formula/atp/YearFracCalculator.java poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/ErrorEval.java poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/OperandResolver.java poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/RefEval.java poi/trunk/src/java/org/apache/poi/hssf/record/formula/functions/CalendarFieldFunction.java poi/trunk/src/java/org/apache/poi/hssf/record/formula/functions/DateFunc.java poi/trunk/src/java/org/apache/poi/hssf/record/formula/functions/Errortype.java poi/trunk/src/java/org/apache/poi/hssf/record/formula/functions/Now.java poi/trunk/src/java/org/apache/poi/hssf/record/formula/functions/Today.java poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/atp/TestRandBetween.java poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/atp/TestYearFracCalculator.java Modified: poi/trunk/src/java/org/apache/poi/hssf/record/formula/AreaErrPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/formula/AreaErrPtg.java?rev=1037228&r1=1037227&r2=1037228&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/AreaErrPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/formula/AreaErrPtg.java Sat Nov 20 14:49:47 2010 @@ -17,7 +17,7 @@ package org.apache.poi.hssf.record.formula; -import org.apache.poi.hssf.usermodel.HSSFErrorConstants; +import org.apache.poi.ss.usermodel.ErrorConstants; import org.apache.poi.util.LittleEndianInput; import org.apache.poi.util.LittleEndianOutput; @@ -49,7 +49,7 @@ public final class AreaErrPtg extends Op } public String toFormulaString() { - return HSSFErrorConstants.getText(HSSFErrorConstants.ERROR_REF); + return ErrorConstants.getText(ErrorConstants.ERROR_REF); } public byte getDefaultOperandClass() { Modified: poi/trunk/src/java/org/apache/poi/hssf/record/formula/DeletedArea3DPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/formula/DeletedArea3DPtg.java?rev=1037228&r1=1037227&r2=1037228&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/DeletedArea3DPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/formula/DeletedArea3DPtg.java Sat Nov 20 14:49:47 2010 @@ -17,7 +17,7 @@ package org.apache.poi.hssf.record.formula; -import org.apache.poi.hssf.usermodel.HSSFErrorConstants; +import org.apache.poi.ss.usermodel.ErrorConstants; import org.apache.poi.ss.formula.FormulaRenderingWorkbook; import org.apache.poi.ss.formula.WorkbookDependentFormula; import org.apache.poi.util.LittleEndianInput; @@ -49,7 +49,7 @@ public final class DeletedArea3DPtg exte } public String toFormulaString(FormulaRenderingWorkbook book) { return ExternSheetNameResolver.prependSheetName(book, field_1_index_extern_sheet, - HSSFErrorConstants.getText(HSSFErrorConstants.ERROR_REF)); + ErrorConstants.getText(ErrorConstants.ERROR_REF)); } public String toFormulaString() { throw new RuntimeException("3D references need a workbook to determine formula text"); Modified: poi/trunk/src/java/org/apache/poi/hssf/record/formula/DeletedRef3DPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/formula/DeletedRef3DPtg.java?rev=1037228&r1=1037227&r2=1037228&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/DeletedRef3DPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/formula/DeletedRef3DPtg.java Sat Nov 20 14:49:47 2010 @@ -18,7 +18,7 @@ package org.apache.poi.hssf.record.formula; -import org.apache.poi.hssf.usermodel.HSSFErrorConstants; +import org.apache.poi.ss.usermodel.ErrorConstants; import org.apache.poi.ss.formula.FormulaRenderingWorkbook; import org.apache.poi.ss.formula.WorkbookDependentFormula; import org.apache.poi.util.LittleEndianInput; @@ -49,7 +49,7 @@ public final class DeletedRef3DPtg exten public String toFormulaString(FormulaRenderingWorkbook book) { return ExternSheetNameResolver.prependSheetName(book, field_1_index_extern_sheet, - HSSFErrorConstants.getText(HSSFErrorConstants.ERROR_REF)); + ErrorConstants.getText(ErrorConstants.ERROR_REF)); } public String toFormulaString() { throw new RuntimeException("3D references need a workbook to determine formula text"); Modified: poi/trunk/src/java/org/apache/poi/hssf/record/formula/ErrPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/formula/ErrPtg.java?rev=1037228&r1=1037227&r2=1037228&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/ErrPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/formula/ErrPtg.java Sat Nov 20 14:49:47 2010 @@ -17,7 +17,7 @@ package org.apache.poi.hssf.record.formula; -import org.apache.poi.hssf.usermodel.HSSFErrorConstants; +import org.apache.poi.ss.usermodel.ErrorConstants; import org.apache.poi.util.LittleEndianInput; import org.apache.poi.util.LittleEndianOutput; @@ -27,7 +27,7 @@ import org.apache.poi.util.LittleEndianO public final class ErrPtg extends ScalarConstantPtg { // convenient access to namespace - private static final HSSFErrorConstants EC = null; + private static final ErrorConstants EC = null; /** <b>#NULL!</b> - Intersection of two cell ranges is empty */ public static final ErrPtg NULL_INTERSECTION = new ErrPtg(EC.ERROR_NULL); @@ -52,7 +52,7 @@ public final class ErrPtg extends Scalar /** Creates new ErrPtg */ private ErrPtg(int errorCode) { - if(!HSSFErrorConstants.isValidCode(errorCode)) { + if(!ErrorConstants.isValidCode(errorCode)) { throw new IllegalArgumentException("Invalid error code (" + errorCode + ")"); } field_1_error_code = errorCode; @@ -68,7 +68,7 @@ public final class ErrPtg extends Scalar } public String toFormulaString() { - return HSSFErrorConstants.getText(field_1_error_code); + return ErrorConstants.getText(field_1_error_code); } public int getSize() { @@ -81,13 +81,13 @@ public final class ErrPtg extends Scalar public static ErrPtg valueOf(int code) { switch(code) { - case HSSFErrorConstants.ERROR_DIV_0: return DIV_ZERO; - case HSSFErrorConstants.ERROR_NA: return N_A; - case HSSFErrorConstants.ERROR_NAME: return NAME_INVALID; - case HSSFErrorConstants.ERROR_NULL: return NULL_INTERSECTION; - case HSSFErrorConstants.ERROR_NUM: return NUM_ERROR; - case HSSFErrorConstants.ERROR_REF: return REF_INVALID; - case HSSFErrorConstants.ERROR_VALUE: return VALUE_INVALID; + case ErrorConstants.ERROR_DIV_0: return DIV_ZERO; + case ErrorConstants.ERROR_NA: return N_A; + case ErrorConstants.ERROR_NAME: return NAME_INVALID; + case ErrorConstants.ERROR_NULL: return NULL_INTERSECTION; + case ErrorConstants.ERROR_NUM: return NUM_ERROR; + case ErrorConstants.ERROR_REF: return REF_INVALID; + case ErrorConstants.ERROR_VALUE: return VALUE_INVALID; } throw new RuntimeException("Unexpected error code (" + code + ")"); } Modified: poi/trunk/src/java/org/apache/poi/hssf/record/formula/RefErrorPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/formula/RefErrorPtg.java?rev=1037228&r1=1037227&r2=1037228&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/RefErrorPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/formula/RefErrorPtg.java Sat Nov 20 14:49:47 2010 @@ -17,7 +17,7 @@ package org.apache.poi.hssf.record.formula; -import org.apache.poi.hssf.usermodel.HSSFErrorConstants; +import org.apache.poi.ss.usermodel.ErrorConstants; import org.apache.poi.util.LittleEndianInput; import org.apache.poi.util.LittleEndianOutput; @@ -53,7 +53,7 @@ public final class RefErrorPtg extends O } public String toFormulaString() { - return HSSFErrorConstants.getText(HSSFErrorConstants.ERROR_REF); + return ErrorConstants.getText(ErrorConstants.ERROR_REF); } public byte getDefaultOperandClass() { Modified: poi/trunk/src/java/org/apache/poi/hssf/record/formula/atp/YearFracCalculator.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/formula/atp/YearFracCalculator.java?rev=1037228&r1=1037227&r2=1037228&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/atp/YearFracCalculator.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/formula/atp/YearFracCalculator.java Sat Nov 20 14:49:47 2010 @@ -23,7 +23,7 @@ import java.util.TimeZone; import org.apache.poi.hssf.record.formula.eval.ErrorEval; import org.apache.poi.hssf.record.formula.eval.EvaluationException; -import org.apache.poi.hssf.usermodel.HSSFDateUtil; +import org.apache.poi.ss.usermodel.DateUtil; /** @@ -317,7 +317,7 @@ final class YearFracCalculator { private static SimpleDate createDate(int dayCount) { GregorianCalendar calendar = new GregorianCalendar(UTC_TIME_ZONE); - HSSFDateUtil.setCalendar(calendar, dayCount, 0, false); + DateUtil.setCalendar(calendar, dayCount, 0, false); return new SimpleDate(calendar); } Modified: poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/ErrorEval.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/ErrorEval.java?rev=1037228&r1=1037227&r2=1037228&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/ErrorEval.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/ErrorEval.java Sat Nov 20 14:49:47 2010 @@ -17,7 +17,7 @@ package org.apache.poi.hssf.record.formula.eval; -import org.apache.poi.hssf.usermodel.HSSFErrorConstants; +import org.apache.poi.ss.usermodel.ErrorConstants; /** * @author Amol S. Deshmukh &lt; amolweb at ya hoo dot com &gt; @@ -26,7 +26,7 @@ import org.apache.poi.hssf.usermodel.HSS public final class ErrorEval implements ValueEval { // convenient access to namespace - private static final HSSFErrorConstants EC = null; + private static final ErrorConstants EC = null; /** <b>#NULL!</b> - Intersection of two cell ranges is empty */ public static final ErrorEval NULL_INTERSECTION = new ErrorEval(EC.ERROR_NULL); @@ -58,13 +58,13 @@ public final class ErrorEval implements */ public static ErrorEval valueOf(int errorCode) { switch(errorCode) { - case HSSFErrorConstants.ERROR_NULL: return NULL_INTERSECTION; - case HSSFErrorConstants.ERROR_DIV_0: return DIV_ZERO; - case HSSFErrorConstants.ERROR_VALUE: return VALUE_INVALID; - case HSSFErrorConstants.ERROR_REF: return REF_INVALID; - case HSSFErrorConstants.ERROR_NAME: return NAME_INVALID; - case HSSFErrorConstants.ERROR_NUM: return NUM_ERROR; - case HSSFErrorConstants.ERROR_NA: return NA; + case ErrorConstants.ERROR_NULL: return NULL_INTERSECTION; + case ErrorConstants.ERROR_DIV_0: return DIV_ZERO; + case ErrorConstants.ERROR_VALUE: return VALUE_INVALID; + case ErrorConstants.ERROR_REF: return REF_INVALID; + case ErrorConstants.ERROR_NAME: return NAME_INVALID; + case ErrorConstants.ERROR_NUM: return NUM_ERROR; + case ErrorConstants.ERROR_NA: return NA; // non-std errors (conditions modeled as errors by POI) case CIRCULAR_REF_ERROR_CODE: return CIRCULAR_REF_ERROR; } @@ -77,8 +77,8 @@ public final class ErrorEval implements * @return the String representation of the specified Excel error code. */ public static String getText(int errorCode) { - if(HSSFErrorConstants.isValidCode(errorCode)) { - return HSSFErrorConstants.getText(errorCode); + if(ErrorConstants.isValidCode(errorCode)) { + return ErrorConstants.getText(errorCode); } // It is desirable to make these (arbitrary) strings look clearly different from any other // value expression that might appear in a formula. In addition these error strings should Modified: poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/OperandResolver.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/OperandResolver.java?rev=1037228&r1=1037227&r2=1037228&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/OperandResolver.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/OperandResolver.java Sat Nov 20 14:49:47 2010 @@ -149,7 +149,7 @@ public final class OperandResolver { cells this method could not detect it. Logic to detect evaluation cycles of all kinds has been coded in EvaluationCycleDetector - (and HSSFFormulaEvaluator). + (and FormulaEvaluator). */ } Modified: poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/RefEval.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/RefEval.java?rev=1037228&r1=1037227&r2=1037228&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/RefEval.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/RefEval.java Sat Nov 20 14:49:47 2010 @@ -23,7 +23,7 @@ package org.apache.poi.hssf.record.formu * RefEval is the super interface for Ref2D and Ref3DEval. Basically a RefEval * impl should contain reference to the original ReferencePtg or Ref3DPtg as * well as the final "value" resulting from the evaluation of the cell - * reference. Thus if the HSSFCell has type CELL_TYPE_NUMERIC, the contained + * reference. Thus if the Cell has type CELL_TYPE_NUMERIC, the contained * value object should be of type NumberEval; if cell type is CELL_TYPE_STRING, * contained value object should be of type StringEval */ Modified: poi/trunk/src/java/org/apache/poi/hssf/record/formula/functions/CalendarFieldFunction.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/formula/functions/CalendarFieldFunction.java?rev=1037228&r1=1037227&r2=1037228&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/functions/CalendarFieldFunction.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/formula/functions/CalendarFieldFunction.java Sat Nov 20 14:49:47 2010 @@ -26,7 +26,7 @@ import org.apache.poi.hssf.record.formul import org.apache.poi.hssf.record.formula.eval.NumberEval; import org.apache.poi.hssf.record.formula.eval.OperandResolver; import org.apache.poi.hssf.record.formula.eval.ValueEval; -import org.apache.poi.hssf.usermodel.HSSFDateUtil; +import org.apache.poi.ss.usermodel.DateUtil; /** * Implementation of Excel functions DAY, MONTH and YEAR @@ -73,7 +73,7 @@ public final class CalendarFieldFunction } throw new IllegalStateException("bad date field " + _dateFieldId); } - Date d = HSSFDateUtil.getJavaDate(serialDay, false); // TODO fix 1900/1904 problem + Date d = DateUtil.getJavaDate(serialDay, false); // TODO fix 1900/1904 problem Calendar c = new GregorianCalendar(); c.setTime(d); Modified: poi/trunk/src/java/org/apache/poi/hssf/record/formula/functions/DateFunc.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/formula/functions/DateFunc.java?rev=1037228&r1=1037227&r2=1037228&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/functions/DateFunc.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/formula/functions/DateFunc.java Sat Nov 20 14:49:47 2010 @@ -24,7 +24,7 @@ import org.apache.poi.hssf.record.formul import org.apache.poi.hssf.record.formula.eval.EvaluationException; import org.apache.poi.hssf.record.formula.eval.NumberEval; import org.apache.poi.hssf.record.formula.eval.ValueEval; -import org.apache.poi.hssf.usermodel.HSSFDateUtil; +import org.apache.poi.ss.usermodel.DateUtil; /** @@ -77,7 +77,7 @@ public final class DateFunc extends Fixe c.set(year, month, day, 0, 0, 0); c.set(Calendar.MILLISECOND, 0); - return HSSFDateUtil.getExcelDate(c.getTime(), false); // TODO - fix 1900/1904 problem + return DateUtil.getExcelDate(c.getTime(), false); // TODO - fix 1900/1904 problem } private static int getYear(double d) { Modified: poi/trunk/src/java/org/apache/poi/hssf/record/formula/functions/Errortype.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/formula/functions/Errortype.java?rev=1037228&r1=1037227&r2=1037228&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/functions/Errortype.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/formula/functions/Errortype.java Sat Nov 20 14:49:47 2010 @@ -22,7 +22,7 @@ import org.apache.poi.hssf.record.formul import org.apache.poi.hssf.record.formula.eval.NumberEval; import org.apache.poi.hssf.record.formula.eval.OperandResolver; import org.apache.poi.hssf.record.formula.eval.ValueEval; -import org.apache.poi.hssf.usermodel.HSSFErrorConstants; +import org.apache.poi.ss.usermodel.ErrorConstants; /** * Implementation for the ERROR.TYPE() Excel function. @@ -45,7 +45,7 @@ import org.apache.poi.hssf.usermodel.HSS * </table> * * Note - the results of ERROR.TYPE() are different to the constants defined in - * <tt>HSSFErrorConstants</tt>. + * <tt>ErrorConstants</tt>. * </p> * * @author Josh Micich @@ -65,13 +65,13 @@ public final class Errortype extends Fix private int translateErrorCodeToErrorTypeValue(int errorCode) { switch (errorCode) { - case HSSFErrorConstants.ERROR_NULL: return 1; - case HSSFErrorConstants.ERROR_DIV_0: return 2; - case HSSFErrorConstants.ERROR_VALUE: return 3; - case HSSFErrorConstants.ERROR_REF: return 4; - case HSSFErrorConstants.ERROR_NAME: return 5; - case HSSFErrorConstants.ERROR_NUM: return 6; - case HSSFErrorConstants.ERROR_NA : return 7; + case ErrorConstants.ERROR_NULL: return 1; + case ErrorConstants.ERROR_DIV_0: return 2; + case ErrorConstants.ERROR_VALUE: return 3; + case ErrorConstants.ERROR_REF: return 4; + case ErrorConstants.ERROR_NAME: return 5; + case ErrorConstants.ERROR_NUM: return 6; + case ErrorConstants.ERROR_NA : return 7; } throw new IllegalArgumentException("Invalid error code (" + errorCode + ")"); } Modified: poi/trunk/src/java/org/apache/poi/hssf/record/formula/functions/Now.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/formula/functions/Now.java?rev=1037228&r1=1037227&r2=1037228&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/functions/Now.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/formula/functions/Now.java Sat Nov 20 14:49:47 2010 @@ -21,7 +21,7 @@ import java.util.Date; import org.apache.poi.hssf.record.formula.eval.NumberEval; import org.apache.poi.hssf.record.formula.eval.ValueEval; -import org.apache.poi.hssf.usermodel.HSSFDateUtil; +import org.apache.poi.ss.usermodel.DateUtil; /** * Implementation of Excel NOW() Function @@ -32,6 +32,6 @@ public final class Now extends Fixed0Arg public ValueEval evaluate(int srcRowIndex, int srcColumnIndex) { Date now = new Date(System.currentTimeMillis()); - return new NumberEval(HSSFDateUtil.getExcelDate(now)); + return new NumberEval(DateUtil.getExcelDate(now)); } } Modified: poi/trunk/src/java/org/apache/poi/hssf/record/formula/functions/Today.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/formula/functions/Today.java?rev=1037228&r1=1037227&r2=1037228&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/functions/Today.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/formula/functions/Today.java Sat Nov 20 14:49:47 2010 @@ -22,7 +22,7 @@ import java.util.GregorianCalendar; import org.apache.poi.hssf.record.formula.eval.NumberEval; import org.apache.poi.hssf.record.formula.eval.ValueEval; -import org.apache.poi.hssf.usermodel.HSSFDateUtil; +import org.apache.poi.ss.usermodel.DateUtil; /** * Implementation of Excel TODAY() Function<br/> @@ -36,6 +36,6 @@ public final class Today extends Fixed0A Calendar now = new GregorianCalendar(); now.set(now.get(Calendar.YEAR), now.get(Calendar.MONTH), now.get(Calendar.DATE),0,0,0); now.set(Calendar.MILLISECOND, 0); - return new NumberEval(HSSFDateUtil.getExcelDate(now.getTime())); + return new NumberEval(DateUtil.getExcelDate(now.getTime())); } } Modified: poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/atp/TestRandBetween.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/atp/TestRandBetween.java?rev=1037228&r1=1037227&r2=1037228&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/atp/TestRandBetween.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/atp/TestRandBetween.java Sat Nov 20 14:49:47 2010 @@ -20,7 +20,6 @@ import junit.framework.TestCase; import org.apache.poi.hssf.HSSFTestDataSamples; import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.usermodel.HSSFCell; import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.usermodel.FormulaEvaluator; import org.apache.poi.ss.usermodel.Row; @@ -50,7 +49,7 @@ public class TestRandBetween extends Tes Row row = sheet.createRow(0); bottomValueCell = row.createCell(0); topValueCell = row.createCell(1); - formulaCell = row.createCell(2, HSSFCell.CELL_TYPE_FORMULA); + formulaCell = row.createCell(2, Cell.CELL_TYPE_FORMULA); } @Override Modified: poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/atp/TestYearFracCalculator.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/atp/TestYearFracCalculator.java?rev=1037228&r1=1037227&r2=1037228&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/atp/TestYearFracCalculator.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/atp/TestYearFracCalculator.java Sat Nov 20 14:49:47 2010 @@ -23,7 +23,7 @@ import java.util.GregorianCalendar; import junit.framework.TestCase; import org.apache.poi.hssf.record.formula.eval.EvaluationException; -import org.apache.poi.hssf.usermodel.HSSFDateUtil; +import org.apache.poi.ss.usermodel.DateUtil; /** * Specific test cases for YearFracCalculator @@ -62,6 +62,6 @@ public final class TestYearFracCalculato c.set(year, month-1, day, 0, 0, 0); c.set(Calendar.MILLISECOND, 0); - return HSSFDateUtil.getExcelDate(c.getTime()); + return DateUtil.getExcelDate(c.getTime()); } } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Nov 21 11:38:32 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77989 invoked from network); 21 Nov 2010 11:38:31 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 21 Nov 2010 11:38:31 -0000 Received: (qmail 19275 invoked by uid 500); 21 Nov 2010 11:39:03 -0000 Delivered-To: [email protected] Received: (qmail 19242 invoked by uid 500); 21 Nov 2010 11:39:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.poi.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 19235 invoked by uid 99); 21 Nov 2010 11:39:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Nov 2010 11:39:02 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Nov 2010 11:38:59 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 2B9AB23888EA; Sun, 21 Nov 2010 11:37:45 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1037423 - /poi/trunk/src/testcases/org/apache/poi/ss/formula/EvaluationListener.java Date: Sun, 21 Nov 2010 11:37:45 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: yegor Date: Sun Nov 21 11:37:44 2010 New Revision: 1037423 URL: http://svn.apache.org/viewvc?rev=1037423&view=rev Log: moved common formula-related code to org.apache.poi.ss.formula, eliminated dependencies on HSSF, reduced the number of eclipse warnings Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/EvaluationListener.java Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/EvaluationListener.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/EvaluationListener.java?rev=1037423&r1=1037422&r2=1037423&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/EvaluationListener.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/EvaluationListener.java Sun Nov 21 11:37:44 2010 @@ -17,7 +17,7 @@ package org.apache.poi.ss.formula; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Tests should extend this class if they need to track the internal working of the {@link WorkbookEvaluator}.<br/> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Nov 21 11:42:30 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78787 invoked from network); 21 Nov 2010 11:42:30 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 21 Nov 2010 11:42:30 -0000 Received: (qmail 20406 invoked by uid 500); 21 Nov 2010 11:43:02 -0000 Delivered-To: [email protected] Received: (qmail 20369 invoked by uid 500); 21 Nov 2010 11:43:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.poi.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 20362 invoked by uid 99); 21 Nov 2010 11:43:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Nov 2010 11:43:00 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Nov 2010 11:42:57 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 702C423889F1; Sun, 21 Nov 2010 11:41:42 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1037426 [2/2] - in /poi/trunk/src/testcases/org/apache/poi: hssf/model/ hssf/record/ hssf/record/formula/ hssf/record/formula/atp/ hssf/record/formula/eval/ hssf/record/formula/function/ hssf/record/formula/functions/ hssf/usermodel/ ss/fo... Date: Sun, 21 Nov 2010 11:41:40 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestTFunc.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestTFunc.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestTFunc.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestTFunc.java Sun Nov 21 11:41:38 2010 @@ -15,17 +15,17 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import junit.framework.TestCase; -import org.apache.poi.hssf.record.formula.eval.AreaEval; -import org.apache.poi.hssf.record.formula.eval.BlankEval; -import org.apache.poi.hssf.record.formula.eval.BoolEval; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.StringEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.AreaEval; +import org.apache.poi.ss.formula.eval.BlankEval; +import org.apache.poi.ss.formula.eval.BoolEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.StringEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Test cases for Excel function T() Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestText.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestText.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestText.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestText.java Sun Nov 21 11:41:38 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import java.text.DecimalFormatSymbols; import java.text.SimpleDateFormat; @@ -23,10 +23,10 @@ import java.util.GregorianCalendar; import java.util.Locale; import junit.framework.TestCase; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; -import org.apache.poi.hssf.record.formula.eval.StringEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.StringEval; /** * Test case for TEXT() Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestTime.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestTime.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestTime.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestTime.java Sun Nov 21 11:41:38 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import java.util.regex.Pattern; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestTrim.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestTrim.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestTrim.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestTrim.java Sun Nov 21 11:41:38 2010 @@ -15,16 +15,16 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import junit.framework.TestCase; -import org.apache.poi.hssf.record.formula.eval.BlankEval; -import org.apache.poi.hssf.record.formula.eval.BoolEval; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.StringEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.BlankEval; +import org.apache.poi.ss.formula.eval.BoolEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.StringEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Tests for Excel function TRIM() * Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestTrunc.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestTrunc.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestTrunc.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestTrunc.java Sun Nov 21 11:41:38 2010 @@ -15,12 +15,12 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.StringEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.StringEval; /** * Test case for TRUNC() Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestValue.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestValue.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestValue.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestValue.java Sun Nov 21 11:41:38 2010 @@ -15,14 +15,14 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import junit.framework.TestCase; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.StringEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.StringEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Tests for {@link Value} Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestXYNumericFunction.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestXYNumericFunction.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestXYNumericFunction.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestXYNumericFunction.java Sun Nov 21 11:41:38 2010 @@ -15,13 +15,13 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import junit.framework.TestCase; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Tests for Excel functions SUMX2MY2(), SUMX2PY2(), SUMXMY2() * Modified: poi/trunk/src/testcases/org/apache/poi/ss/usermodel/BaseTestHyperlink.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/usermodel/BaseTestHyperlink.java?rev=1037426&r1=1037425&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/usermodel/BaseTestHyperlink.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/usermodel/BaseTestHyperlink.java Sun Nov 21 11:41:38 2010 @@ -19,7 +19,6 @@ package org.apache.poi.ss.usermodel; import junit.framework.TestCase; -import org.apache.poi.hssf.HSSFITestDataProvider; import org.apache.poi.ss.ITestDataProvider; /** Modified: poi/trunk/src/testcases/org/apache/poi/ss/usermodel/BaseTestNamedRange.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/usermodel/BaseTestNamedRange.java?rev=1037426&r1=1037425&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/usermodel/BaseTestNamedRange.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/usermodel/BaseTestNamedRange.java Sun Nov 21 11:41:38 2010 @@ -20,7 +20,6 @@ package org.apache.poi.ss.usermodel; import junit.framework.AssertionFailedError; import junit.framework.TestCase; -import org.apache.poi.hssf.usermodel.HSSFName; import org.apache.poi.ss.ITestDataProvider; import org.apache.poi.ss.util.AreaReference; import org.apache.poi.ss.util.CellReference; @@ -506,7 +505,7 @@ public abstract class BaseTestNamedRange * 00000010 | 00 00 00 55 50 53 53 74 61 74 65 | ...UPSState * </pre> * - * This caused trouble for anything that requires {@link HSSFName#getRefersToFormula()} + * This caused trouble for anything that requires {@link Name#getRefersToFormula()} * It is easy enough to re-create the the same data (by not setting the formula). Excel * seems to gracefully remove this uninitialized name record. It would be nice if POI * could do the same, but that would involve adjusting subsequent name indexes across --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Nov 21 11:42:36 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78878 invoked from network); 21 Nov 2010 11:42:36 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 21 Nov 2010 11:42:36 -0000 Received: (qmail 20468 invoked by uid 500); 21 Nov 2010 11:43:08 -0000 Delivered-To: [email protected] Received: (qmail 20428 invoked by uid 500); 21 Nov 2010 11:43:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.poi.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 20421 invoked by uid 99); 21 Nov 2010 11:43:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Nov 2010 11:43:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Nov 2010 11:42:58 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 58D8D23888EA; Sun, 21 Nov 2010 11:41:42 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1037426 [1/2] - in /poi/trunk/src/testcases/org/apache/poi: hssf/model/ hssf/record/ hssf/record/formula/ hssf/record/formula/atp/ hssf/record/formula/eval/ hssf/record/formula/function/ hssf/record/formula/functions/ hssf/usermodel/ ss/fo... Date: Sun, 21 Nov 2010 11:41:40 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: yegor Date: Sun Nov 21 11:41:38 2010 New Revision: 1037426 URL: http://svn.apache.org/viewvc?rev=1037426&view=rev Log: moved common formula-related code to org.apache.poi.ss.formula, eliminated dependencies on HSSF, reduced the number of eclipse warnings Added: poi/trunk/src/testcases/org/apache/poi/ss/formula/TestFormulaShifter.java - copied, changed from r1037228, poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/TestFormulaShifter.java poi/trunk/src/testcases/org/apache/poi/ss/formula/TestSheetNameFormatter.java (contents, props changed) - copied, changed from r1037228, poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/TestSheetNameFormatter.java poi/trunk/src/testcases/org/apache/poi/ss/formula/atp/ - copied from r1037228, poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/atp/ poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/AllFormulaEvalTests.java (contents, props changed) - copied, changed from r1037228, poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/AllFormulaEvalTests.java poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/EvalInstances.java - copied, changed from r1037228, poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/EvalInstances.java poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestAreaEval.java - copied, changed from r1037228, poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestAreaEval.java poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestCircularReferences.java (contents, props changed) - copied, changed from r1037228, poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestCircularReferences.java poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestDivideEval.java - copied, changed from r1037228, poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestDivideEval.java poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestEqualEval.java - copied, changed from r1037228, poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestEqualEval.java poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestExternalFunction.java (contents, props changed) - copied, changed from r1037228, poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestExternalFunction.java poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestFormulaBugs.java (contents, props changed) - copied, changed from r1037228, poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestFormulaBugs.java poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestFormulasFromSpreadsheet.java (contents, props changed) - copied, changed from r1037228, poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestFormulasFromSpreadsheet.java poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestMinusZeroResult.java - copied, changed from r1037228, poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestMinusZeroResult.java poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestMissingArgEval.java - copied, changed from r1037228, poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestMissingArgEval.java poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestOperandResolver.java - copied, changed from r1037228, poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestOperandResolver.java poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestPercentEval.java (contents, props changed) - copied, changed from r1037228, poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestPercentEval.java poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestRangeEval.java - copied, changed from r1037228, poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestRangeEval.java poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestUnaryPlusEval.java (contents, props changed) - copied, changed from r1037228, poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestUnaryPlusEval.java poi/trunk/src/testcases/org/apache/poi/ss/formula/function/ - copied from r1037228, poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/function/ poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/ - copied from r1037228, poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/functions/ Removed: poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/TestFormulaShifter.java poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/TestSheetNameFormatter.java poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/atp/ poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/ poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/function/ poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/functions/ Modified: poi/trunk/src/testcases/org/apache/poi/hssf/model/TestSheet.java poi/trunk/src/testcases/org/apache/poi/hssf/record/TestSharedFormulaRecord.java poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/AllFormulaTests.java poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestFormulaEvaluatorBugs.java poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFFormulaEvaluator.java poi/trunk/src/testcases/org/apache/poi/ss/formula/TestCellCacheEntry.java poi/trunk/src/testcases/org/apache/poi/ss/formula/TestEvaluationCache.java poi/trunk/src/testcases/org/apache/poi/ss/formula/TestWorkbookEvaluator.java poi/trunk/src/testcases/org/apache/poi/ss/formula/atp/TestRandBetween.java poi/trunk/src/testcases/org/apache/poi/ss/formula/atp/TestYearFracCalculator.java poi/trunk/src/testcases/org/apache/poi/ss/formula/atp/TestYearFracCalculatorFromSpreadsheet.java poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/forked/TestForkedEvaluator.java poi/trunk/src/testcases/org/apache/poi/ss/formula/function/AllFormulaFunctionTests.java poi/trunk/src/testcases/org/apache/poi/ss/formula/function/ExcelFileFormatDocFunctionExtractor.java poi/trunk/src/testcases/org/apache/poi/ss/formula/function/TestFunctionMetadataRegistry.java poi/trunk/src/testcases/org/apache/poi/ss/formula/function/TestParseMissingBuiltInFuncs.java poi/trunk/src/testcases/org/apache/poi/ss/formula/function/TestReadMissingBuiltInFuncs.java poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/AbstractNumericTestCase.java poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/AllIndividualFunctionEvaluationTests.java poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/EvalFactory.java poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/NumericFunctionInvoker.java poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestAverage.java poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestCountFuncs.java poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestDate.java poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestDays360.java poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestFinanceLib.java poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestFind.java poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestIndex.java poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestIndexFunctionFromSpreadsheet.java poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestIndirect.java poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestIsBlank.java poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestLeftRight.java poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestLen.java poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestLookupFunctionsFromSpreadsheet.java poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestMatch.java poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestMathX.java poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestMid.java poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestNper.java poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestOffset.java poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestPmt.java poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestPoisson.java poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestRoundFuncs.java poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestRowCol.java poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestStatsLib.java poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestSubtotal.java poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestSumif.java poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestSumproduct.java poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestTFunc.java poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestText.java poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestTime.java poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestTrim.java poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestTrunc.java poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestValue.java poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestXYNumericFunction.java poi/trunk/src/testcases/org/apache/poi/ss/usermodel/BaseTestHyperlink.java poi/trunk/src/testcases/org/apache/poi/ss/usermodel/BaseTestNamedRange.java Modified: poi/trunk/src/testcases/org/apache/poi/hssf/model/TestSheet.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/model/TestSheet.java?rev=1037426&r1=1037425&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/model/TestSheet.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hssf/model/TestSheet.java Sun Nov 21 11:41:38 2010 @@ -46,7 +46,7 @@ import org.apache.poi.hssf.record.Window import org.apache.poi.hssf.record.aggregates.ConditionalFormattingTable; import org.apache.poi.hssf.record.aggregates.PageSettingsBlock; import org.apache.poi.hssf.record.aggregates.RecordAggregate.RecordVisitor; -import org.apache.poi.hssf.record.formula.FormulaShifter; +import org.apache.poi.ss.formula.FormulaShifter; import org.apache.poi.hssf.usermodel.HSSFCell; import org.apache.poi.hssf.usermodel.HSSFRow; import org.apache.poi.hssf.usermodel.HSSFSheet; Modified: poi/trunk/src/testcases/org/apache/poi/hssf/record/TestSharedFormulaRecord.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/record/TestSharedFormulaRecord.java?rev=1037426&r1=1037425&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/record/TestSharedFormulaRecord.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hssf/record/TestSharedFormulaRecord.java Sun Nov 21 11:41:38 2010 @@ -24,7 +24,7 @@ import junit.framework.TestCase; import org.apache.poi.hssf.HSSFTestDataSamples; import org.apache.poi.hssf.record.formula.Ptg; import org.apache.poi.hssf.record.formula.RefPtg; -import org.apache.poi.hssf.record.formula.SharedFormula; +import org.apache.poi.ss.formula.SharedFormula; import org.apache.poi.hssf.usermodel.*; import org.apache.poi.ss.usermodel.CellValue; import org.apache.poi.ss.formula.FormulaParser; Modified: poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/AllFormulaTests.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/AllFormulaTests.java?rev=1037426&r1=1037425&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/AllFormulaTests.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/AllFormulaTests.java Sun Nov 21 11:41:38 2010 @@ -17,9 +17,11 @@ package org.apache.poi.hssf.record.formula; -import org.apache.poi.hssf.record.formula.eval.AllFormulaEvalTests; -import org.apache.poi.hssf.record.formula.function.AllFormulaFunctionTests; -import org.apache.poi.hssf.record.formula.functions.AllIndividualFunctionEvaluationTests; +import org.apache.poi.ss.formula.TestFormulaShifter; +import org.apache.poi.ss.formula.TestSheetNameFormatter; +import org.apache.poi.ss.formula.eval.AllFormulaEvalTests; +import org.apache.poi.ss.formula.function.AllFormulaFunctionTests; +import org.apache.poi.ss.formula.functions.AllIndividualFunctionEvaluationTests; import junit.framework.Test; import junit.framework.TestSuite; Modified: poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestFormulaEvaluatorBugs.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestFormulaEvaluatorBugs.java?rev=1037426&r1=1037425&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestFormulaEvaluatorBugs.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestFormulaEvaluatorBugs.java Sun Nov 21 11:41:38 2010 @@ -31,8 +31,8 @@ import org.apache.poi.hssf.record.aggreg import org.apache.poi.hssf.record.formula.AreaPtg; import org.apache.poi.hssf.record.formula.FuncVarPtg; import org.apache.poi.hssf.record.formula.Ptg; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.ValueEval; import org.apache.poi.ss.formula.EvaluationCell; import org.apache.poi.ss.formula.EvaluationListener; import org.apache.poi.ss.formula.WorkbookEvaluator; Modified: poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFFormulaEvaluator.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFFormulaEvaluator.java?rev=1037426&r1=1037425&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFFormulaEvaluator.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFFormulaEvaluator.java Sun Nov 21 11:41:38 2010 @@ -18,13 +18,12 @@ package org.apache.poi.hssf.usermodel; import junit.framework.AssertionFailedError; -import junit.framework.TestCase; import org.apache.poi.hssf.HSSFTestDataSamples; import org.apache.poi.hssf.HSSFITestDataProvider; import org.apache.poi.hssf.record.NameRecord; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.ValueEval; import org.apache.poi.ss.formula.EvaluationCell; import org.apache.poi.ss.formula.EvaluationListener; import org.apache.poi.ss.formula.WorkbookEvaluator; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/TestCellCacheEntry.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/TestCellCacheEntry.java?rev=1037426&r1=1037425&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/TestCellCacheEntry.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/TestCellCacheEntry.java Sun Nov 21 11:41:38 2010 @@ -19,8 +19,8 @@ package org.apache.poi.ss.formula; import junit.framework.TestCase; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Tests {@link org.apache.poi.ss.formula.CellCacheEntry}. Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/TestEvaluationCache.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/TestEvaluationCache.java?rev=1037426&r1=1037425&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/TestEvaluationCache.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/TestEvaluationCache.java Sun Nov 21 11:41:38 2010 @@ -30,12 +30,12 @@ import junit.framework.TestCase; import org.apache.poi.hssf.model.HSSFFormulaParser; import org.apache.poi.hssf.record.formula.Ptg; -import org.apache.poi.hssf.record.formula.eval.BlankEval; -import org.apache.poi.hssf.record.formula.eval.BoolEval; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.StringEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.BlankEval; +import org.apache.poi.ss.formula.eval.BoolEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.StringEval; +import org.apache.poi.ss.formula.eval.ValueEval; import org.apache.poi.hssf.usermodel.FormulaExtractor; import org.apache.poi.hssf.usermodel.HSSFCell; import org.apache.poi.hssf.usermodel.HSSFEvaluationTestHelper; Copied: poi/trunk/src/testcases/org/apache/poi/ss/formula/TestFormulaShifter.java (from r1037228, poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/TestFormulaShifter.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/TestFormulaShifter.java?p2=poi/trunk/src/testcases/org/apache/poi/ss/formula/TestFormulaShifter.java&p1=poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/TestFormulaShifter.java&r1=1037228&r2=1037426&rev=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/TestFormulaShifter.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/TestFormulaShifter.java Sun Nov 21 11:41:38 2010 @@ -15,9 +15,13 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula; import junit.framework.TestCase; +import org.apache.poi.hssf.record.formula.AreaErrPtg; +import org.apache.poi.hssf.record.formula.AreaPtg; +import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.ss.formula.FormulaShifter; /** * Tests for {@link FormulaShifter}. Copied: poi/trunk/src/testcases/org/apache/poi/ss/formula/TestSheetNameFormatter.java (from r1037228, poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/TestSheetNameFormatter.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/TestSheetNameFormatter.java?p2=poi/trunk/src/testcases/org/apache/poi/ss/formula/TestSheetNameFormatter.java&p1=poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/TestSheetNameFormatter.java&r1=1037228&r2=1037426&rev=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/TestSheetNameFormatter.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/TestSheetNameFormatter.java Sun Nov 21 11:41:38 2010 @@ -15,9 +15,10 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula; import junit.framework.TestCase; +import org.apache.poi.ss.formula.SheetNameFormatter; /** * Tests for {@link SheetNameFormatter} Propchange: poi/trunk/src/testcases/org/apache/poi/ss/formula/TestSheetNameFormatter.java ------------------------------------------------------------------------------ svn:eol-style = native Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/TestWorkbookEvaluator.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/TestWorkbookEvaluator.java?rev=1037426&r1=1037425&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/TestWorkbookEvaluator.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/TestWorkbookEvaluator.java Sun Nov 21 11:41:38 2010 @@ -28,11 +28,11 @@ import org.apache.poi.hssf.record.formul import org.apache.poi.hssf.record.formula.IntPtg; import org.apache.poi.hssf.record.formula.Ptg; import org.apache.poi.hssf.record.formula.RefErrorPtg; -import org.apache.poi.hssf.record.formula.eval.BlankEval; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.MissingArgEval; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.BlankEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.MissingArgEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.ValueEval; import org.apache.poi.hssf.usermodel.HSSFCell; import org.apache.poi.hssf.usermodel.HSSFFormulaEvaluator; import org.apache.poi.hssf.usermodel.HSSFRow; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/atp/TestRandBetween.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/atp/TestRandBetween.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/atp/TestRandBetween.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/atp/TestRandBetween.java Sun Nov 21 11:41:38 2010 @@ -14,12 +14,12 @@ See the License for the specific language governing permissions and limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.atp; +package org.apache.poi.ss.formula.atp; import junit.framework.TestCase; import org.apache.poi.hssf.HSSFTestDataSamples; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.ErrorEval; import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.usermodel.FormulaEvaluator; import org.apache.poi.ss.usermodel.Row; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/atp/TestYearFracCalculator.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/atp/TestYearFracCalculator.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/atp/TestYearFracCalculator.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/atp/TestYearFracCalculator.java Sun Nov 21 11:41:38 2010 @@ -15,14 +15,14 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.atp; +package org.apache.poi.ss.formula.atp; import java.util.Calendar; import java.util.GregorianCalendar; import junit.framework.TestCase; -import org.apache.poi.hssf.record.formula.eval.EvaluationException; +import org.apache.poi.ss.formula.eval.EvaluationException; import org.apache.poi.ss.usermodel.DateUtil; /** Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/atp/TestYearFracCalculatorFromSpreadsheet.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/atp/TestYearFracCalculatorFromSpreadsheet.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/atp/TestYearFracCalculatorFromSpreadsheet.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/atp/TestYearFracCalculatorFromSpreadsheet.java Sun Nov 21 11:41:38 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.atp; +package org.apache.poi.ss.formula.atp; import java.io.PrintStream; import java.util.Calendar; @@ -28,7 +28,7 @@ import junit.framework.ComparisonFailure import junit.framework.TestCase; import org.apache.poi.hssf.HSSFTestDataSamples; -import org.apache.poi.hssf.record.formula.eval.EvaluationException; +import org.apache.poi.ss.formula.eval.EvaluationException; import org.apache.poi.hssf.usermodel.HSSFCell; import org.apache.poi.hssf.usermodel.HSSFDateUtil; import org.apache.poi.hssf.usermodel.HSSFFormulaEvaluator; Copied: poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/AllFormulaEvalTests.java (from r1037228, poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/AllFormulaEvalTests.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/AllFormulaEvalTests.java?p2=poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/AllFormulaEvalTests.java&p1=poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/AllFormulaEvalTests.java&r1=1037228&r2=1037426&rev=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/AllFormulaEvalTests.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/AllFormulaEvalTests.java Sun Nov 21 11:41:38 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; import junit.framework.Test; import junit.framework.TestSuite; Propchange: poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/AllFormulaEvalTests.java ------------------------------------------------------------------------------ svn:eol-style = native Copied: poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/EvalInstances.java (from r1037228, poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/EvalInstances.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/EvalInstances.java?p2=poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/EvalInstances.java&p1=poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/EvalInstances.java&r1=1037228&r2=1037426&rev=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/EvalInstances.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/EvalInstances.java Sun Nov 21 11:41:38 2010 @@ -15,9 +15,9 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; -import org.apache.poi.hssf.record.formula.functions.Function; +import org.apache.poi.ss.formula.functions.Function; /** * Collects eval instances for easy access by tests in this package Copied: poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestAreaEval.java (from r1037228, poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestAreaEval.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestAreaEval.java?p2=poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestAreaEval.java&p1=poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestAreaEval.java&r1=1037228&r2=1037426&rev=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestAreaEval.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestAreaEval.java Sun Nov 21 11:41:38 2010 @@ -15,13 +15,13 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; import junit.framework.AssertionFailedError; import junit.framework.TestCase; import org.apache.poi.hssf.record.formula.AreaPtg; -import org.apache.poi.hssf.record.formula.functions.EvalFactory; +import org.apache.poi.ss.formula.functions.EvalFactory; /** * Tests for <tt>AreaEval</tt> Copied: poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestCircularReferences.java (from r1037228, poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestCircularReferences.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestCircularReferences.java?p2=poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestCircularReferences.java&p1=poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestCircularReferences.java&r1=1037228&r2=1037426&rev=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestCircularReferences.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestCircularReferences.java Sun Nov 21 11:41:38 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; import junit.framework.AssertionFailedError; import junit.framework.TestCase; Propchange: poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestCircularReferences.java ------------------------------------------------------------------------------ svn:eol-style = native Copied: poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestDivideEval.java (from r1037228, poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestDivideEval.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestDivideEval.java?p2=poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestDivideEval.java&p1=poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestDivideEval.java&r1=1037228&r2=1037426&rev=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestDivideEval.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestDivideEval.java Sun Nov 21 11:41:38 2010 @@ -15,12 +15,12 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; import junit.framework.TestCase; -import org.apache.poi.hssf.record.formula.functions.EvalFactory; -import org.apache.poi.hssf.record.formula.functions.NumericFunctionInvoker; +import org.apache.poi.ss.formula.functions.EvalFactory; +import org.apache.poi.ss.formula.functions.NumericFunctionInvoker; /** * Test for divide operator evaluator. Copied: poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestEqualEval.java (from r1037228, poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestEqualEval.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestEqualEval.java?p2=poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestEqualEval.java&p1=poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestEqualEval.java&r1=1037228&r2=1037426&rev=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestEqualEval.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestEqualEval.java Sun Nov 21 11:41:38 2010 @@ -15,13 +15,13 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; import junit.framework.AssertionFailedError; import junit.framework.TestCase; -import org.apache.poi.hssf.record.formula.functions.EvalFactory; -import org.apache.poi.hssf.record.formula.functions.Function; +import org.apache.poi.ss.formula.functions.EvalFactory; +import org.apache.poi.ss.formula.functions.Function; /** * Test for {@link EqualEval} Copied: poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestExternalFunction.java (from r1037228, poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestExternalFunction.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestExternalFunction.java?p2=poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestExternalFunction.java&p1=poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestExternalFunction.java&r1=1037228&r2=1037426&rev=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestExternalFunction.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestExternalFunction.java Sun Nov 21 11:41:38 2010 @@ -15,15 +15,15 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; import junit.framework.TestCase; import org.apache.poi.hssf.HSSFTestDataSamples; -import org.apache.poi.hssf.record.formula.functions.FreeRefFunction; -import org.apache.poi.hssf.record.formula.udf.DefaultUDFFinder; -import org.apache.poi.hssf.record.formula.udf.AggregatingUDFFinder; -import org.apache.poi.hssf.record.formula.udf.UDFFinder; +import org.apache.poi.ss.formula.functions.FreeRefFunction; +import org.apache.poi.ss.formula.udf.DefaultUDFFinder; +import org.apache.poi.ss.formula.udf.AggregatingUDFFinder; +import org.apache.poi.ss.formula.udf.UDFFinder; import org.apache.poi.hssf.usermodel.HSSFCell; import org.apache.poi.hssf.usermodel.HSSFFormulaEvaluator; import org.apache.poi.hssf.usermodel.HSSFRow; Propchange: poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestExternalFunction.java ------------------------------------------------------------------------------ svn:eol-style = native Copied: poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestFormulaBugs.java (from r1037228, poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestFormulaBugs.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestFormulaBugs.java?p2=poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestFormulaBugs.java&p1=poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestFormulaBugs.java&r1=1037228&r2=1037426&rev=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestFormulaBugs.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestFormulaBugs.java Sun Nov 21 11:41:38 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; import java.io.FileOutputStream; import java.io.IOException; Propchange: poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestFormulaBugs.java ------------------------------------------------------------------------------ svn:eol-style = native Copied: poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestFormulasFromSpreadsheet.java (from r1037228, poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestFormulasFromSpreadsheet.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestFormulasFromSpreadsheet.java?p2=poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestFormulasFromSpreadsheet.java&p1=poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestFormulasFromSpreadsheet.java&r1=1037228&r2=1037426&rev=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestFormulasFromSpreadsheet.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestFormulasFromSpreadsheet.java Sun Nov 21 11:41:38 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; import java.io.PrintStream; @@ -24,7 +24,7 @@ import junit.framework.AssertionFailedEr import junit.framework.TestCase; import org.apache.poi.hssf.HSSFTestDataSamples; -import org.apache.poi.hssf.record.formula.functions.TestMathX; +import org.apache.poi.ss.formula.functions.TestMathX; import org.apache.poi.hssf.usermodel.HSSFFormulaEvaluator; import org.apache.poi.hssf.usermodel.HSSFWorkbook; import org.apache.poi.ss.usermodel.Cell; Propchange: poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestFormulasFromSpreadsheet.java ------------------------------------------------------------------------------ svn:eol-style = native Copied: poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestMinusZeroResult.java (from r1037228, poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestMinusZeroResult.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestMinusZeroResult.java?p2=poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestMinusZeroResult.java&p1=poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestMinusZeroResult.java&r1=1037228&r2=1037426&rev=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestMinusZeroResult.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestMinusZeroResult.java Sun Nov 21 11:41:38 2010 @@ -15,12 +15,12 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; import junit.framework.ComparisonFailure; import junit.framework.TestCase; -import org.apache.poi.hssf.record.formula.functions.Function; +import org.apache.poi.ss.formula.functions.Function; import org.apache.poi.util.HexDump; /** Copied: poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestMissingArgEval.java (from r1037228, poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestMissingArgEval.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestMissingArgEval.java?p2=poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestMissingArgEval.java&p1=poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestMissingArgEval.java&r1=1037228&r2=1037426&rev=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestMissingArgEval.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestMissingArgEval.java Sun Nov 21 11:41:38 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; import java.util.EmptyStackException; Copied: poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestOperandResolver.java (from r1037228, poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestOperandResolver.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestOperandResolver.java?p2=poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestOperandResolver.java&p1=poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestOperandResolver.java&r1=1037228&r2=1037426&rev=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestOperandResolver.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestOperandResolver.java Sun Nov 21 11:41:38 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; import junit.framework.AssertionFailedError; import junit.framework.TestCase; Copied: poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestPercentEval.java (from r1037228, poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestPercentEval.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestPercentEval.java?p2=poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestPercentEval.java&p1=poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestPercentEval.java&r1=1037228&r2=1037426&rev=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestPercentEval.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestPercentEval.java Sun Nov 21 11:41:38 2010 @@ -15,13 +15,13 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; import junit.framework.AssertionFailedError; import junit.framework.TestCase; -import org.apache.poi.hssf.record.formula.functions.EvalFactory; -import org.apache.poi.hssf.record.formula.functions.NumericFunctionInvoker; +import org.apache.poi.ss.formula.functions.EvalFactory; +import org.apache.poi.ss.formula.functions.NumericFunctionInvoker; import org.apache.poi.hssf.usermodel.HSSFCell; import org.apache.poi.hssf.usermodel.HSSFFormulaEvaluator; import org.apache.poi.hssf.usermodel.HSSFRow; Propchange: poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestPercentEval.java ------------------------------------------------------------------------------ svn:eol-style = native Copied: poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestRangeEval.java (from r1037228, poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestRangeEval.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestRangeEval.java?p2=poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestRangeEval.java&p1=poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestRangeEval.java&r1=1037228&r2=1037426&rev=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestRangeEval.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestRangeEval.java Sun Nov 21 11:41:38 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; import junit.framework.AssertionFailedError; import junit.framework.TestCase; Copied: poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestUnaryPlusEval.java (from r1037228, poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestUnaryPlusEval.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestUnaryPlusEval.java?p2=poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestUnaryPlusEval.java&p1=poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestUnaryPlusEval.java&r1=1037228&r2=1037426&rev=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/eval/TestUnaryPlusEval.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestUnaryPlusEval.java Sun Nov 21 11:41:38 2010 @@ -15,13 +15,13 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; import junit.framework.TestCase; import org.apache.poi.hssf.record.formula.AreaPtg; -import org.apache.poi.hssf.record.formula.functions.EvalFactory; -import org.apache.poi.hssf.record.formula.functions.NumericFunctionInvoker; +import org.apache.poi.ss.formula.functions.EvalFactory; +import org.apache.poi.ss.formula.functions.NumericFunctionInvoker; /** * Test for unary plus operator evaluator. Propchange: poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestUnaryPlusEval.java ------------------------------------------------------------------------------ svn:eol-style = native Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/forked/TestForkedEvaluator.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/forked/TestForkedEvaluator.java?rev=1037426&r1=1037425&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/forked/TestForkedEvaluator.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/forked/TestForkedEvaluator.java Sun Nov 21 11:41:38 2010 @@ -20,7 +20,7 @@ package org.apache.poi.ss.formula.eval.f import junit.framework.AssertionFailedError; import junit.framework.TestCase; -import org.apache.poi.hssf.record.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.NumberEval; import org.apache.poi.hssf.usermodel.HSSFRow; import org.apache.poi.hssf.usermodel.HSSFSheet; import org.apache.poi.hssf.usermodel.HSSFWorkbook; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/function/AllFormulaFunctionTests.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/function/AllFormulaFunctionTests.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/function/AllFormulaFunctionTests.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/function/AllFormulaFunctionTests.java Sun Nov 21 11:41:38 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.function; +package org.apache.poi.ss.formula.function; import junit.framework.Test; import junit.framework.TestSuite; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/function/ExcelFileFormatDocFunctionExtractor.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/function/ExcelFileFormatDocFunctionExtractor.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/function/ExcelFileFormatDocFunctionExtractor.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/function/ExcelFileFormatDocFunctionExtractor.java Sun Nov 21 11:41:38 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.function; +package org.apache.poi.ss.formula.function; import java.io.File; import java.io.FileInputStream; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/function/TestFunctionMetadataRegistry.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/function/TestFunctionMetadataRegistry.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/function/TestFunctionMetadataRegistry.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/function/TestFunctionMetadataRegistry.java Sun Nov 21 11:41:38 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.function; +package org.apache.poi.ss.formula.function; import junit.framework.TestCase; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/function/TestParseMissingBuiltInFuncs.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/function/TestParseMissingBuiltInFuncs.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/function/TestParseMissingBuiltInFuncs.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/function/TestParseMissingBuiltInFuncs.java Sun Nov 21 11:41:38 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.function; +package org.apache.poi.ss.formula.function; import junit.framework.AssertionFailedError; import junit.framework.TestCase; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/function/TestReadMissingBuiltInFuncs.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/function/TestReadMissingBuiltInFuncs.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/function/TestReadMissingBuiltInFuncs.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/function/TestReadMissingBuiltInFuncs.java Sun Nov 21 11:41:38 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.function; +package org.apache.poi.ss.formula.function; import java.lang.reflect.InvocationTargetException; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/AbstractNumericTestCase.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/AbstractNumericTestCase.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/AbstractNumericTestCase.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/AbstractNumericTestCase.java Sun Nov 21 11:41:38 2010 @@ -18,7 +18,7 @@ * Created on May 29, 2005 * */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import junit.framework.TestCase; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/AllIndividualFunctionEvaluationTests.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/AllIndividualFunctionEvaluationTests.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/AllIndividualFunctionEvaluationTests.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/AllIndividualFunctionEvaluationTests.java Sun Nov 21 11:41:38 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import junit.framework.Test; import junit.framework.TestSuite; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/EvalFactory.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/EvalFactory.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/EvalFactory.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/EvalFactory.java Sun Nov 21 11:41:38 2010 @@ -15,18 +15,18 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import org.apache.poi.hssf.record.formula.AreaI; import org.apache.poi.hssf.record.formula.AreaPtg; import org.apache.poi.hssf.record.formula.Ref3DPtg; import org.apache.poi.hssf.record.formula.RefPtg; -import org.apache.poi.hssf.record.formula.eval.AreaEval; -import org.apache.poi.hssf.record.formula.eval.AreaEvalBase; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.RefEval; -import org.apache.poi.hssf.record.formula.eval.RefEvalBase; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.AreaEval; +import org.apache.poi.ss.formula.eval.AreaEvalBase; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.RefEval; +import org.apache.poi.ss.formula.eval.RefEvalBase; +import org.apache.poi.ss.formula.eval.ValueEval; import org.apache.poi.ss.formula.TwoDEval; /** Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/NumericFunctionInvoker.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/NumericFunctionInvoker.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/NumericFunctionInvoker.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/NumericFunctionInvoker.java Sun Nov 21 11:41:38 2010 @@ -15,13 +15,13 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import junit.framework.AssertionFailedError; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.NumericValueEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.NumericValueEval; +import org.apache.poi.ss.formula.eval.ValueEval; import org.apache.poi.ss.formula.eval.NotImplementedException; /** Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestAverage.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestAverage.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestAverage.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestAverage.java Sun Nov 21 11:41:38 2010 @@ -15,15 +15,15 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import junit.framework.TestCase; -import org.apache.poi.hssf.record.formula.eval.BlankEval; -import org.apache.poi.hssf.record.formula.eval.BoolEval; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.BlankEval; +import org.apache.poi.ss.formula.eval.BoolEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Tests for Excel function AVERAGE() * Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestCountFuncs.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestCountFuncs.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestCountFuncs.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestCountFuncs.java Sun Nov 21 11:41:38 2010 @@ -15,21 +15,21 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import junit.framework.AssertionFailedError; import junit.framework.TestCase; import org.apache.poi.hssf.HSSFTestDataSamples; -import org.apache.poi.hssf.record.formula.eval.AreaEval; -import org.apache.poi.hssf.record.formula.eval.BlankEval; -import org.apache.poi.hssf.record.formula.eval.BoolEval; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.OperandResolver; -import org.apache.poi.hssf.record.formula.eval.StringEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; -import org.apache.poi.hssf.record.formula.functions.CountUtils.I_MatchPredicate; +import org.apache.poi.ss.formula.eval.AreaEval; +import org.apache.poi.ss.formula.eval.BlankEval; +import org.apache.poi.ss.formula.eval.BoolEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.OperandResolver; +import org.apache.poi.ss.formula.eval.StringEval; +import org.apache.poi.ss.formula.eval.ValueEval; +import org.apache.poi.ss.formula.functions.CountUtils.I_MatchPredicate; import org.apache.poi.hssf.usermodel.HSSFCell; import org.apache.poi.hssf.usermodel.HSSFFormulaEvaluator; import org.apache.poi.hssf.usermodel.HSSFRow; @@ -236,7 +236,7 @@ public final class TestCountFuncs extend } /** - * the criteria arg is mostly handled by {@link OperandResolver#getSingleValue(org.apache.poi.hssf.record.formula.eval.ValueEval, int, int)}} + * the criteria arg is mostly handled by {@link OperandResolver#getSingleValue(org.apache.poi.ss.formula.eval.ValueEval, int, int)}} */ public void testCountifAreaCriteria() { int srcColIx = 2; // anything but column A Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestDate.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestDate.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestDate.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestDate.java Sun Nov 21 11:41:38 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import junit.framework.AssertionFailedError; import junit.framework.TestCase; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestDays360.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestDays360.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestDays360.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestDays360.java Sun Nov 21 11:41:38 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import java.util.Calendar; import java.util.Date; @@ -24,9 +24,9 @@ import java.util.GregorianCalendar; import junit.framework.AssertionFailedError; import junit.framework.TestCase; -import org.apache.poi.hssf.record.formula.eval.BoolEval; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.BoolEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.ValueEval; import org.apache.poi.hssf.usermodel.HSSFDateUtil; /** Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestFinanceLib.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestFinanceLib.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestFinanceLib.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestFinanceLib.java Sun Nov 21 11:41:38 2010 @@ -18,7 +18,7 @@ * Created on May 23, 2005 * */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; /** Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestFind.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestFind.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestFind.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestFind.java Sun Nov 21 11:41:38 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import junit.framework.TestCase; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestIndex.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestIndex.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestIndex.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestIndex.java Sun Nov 21 11:41:38 2010 @@ -15,17 +15,17 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import java.util.Arrays; import junit.framework.AssertionFailedError; import junit.framework.TestCase; -import org.apache.poi.hssf.record.formula.eval.AreaEval; -import org.apache.poi.hssf.record.formula.eval.MissingArgEval; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.AreaEval; +import org.apache.poi.ss.formula.eval.MissingArgEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.ValueEval; import org.apache.poi.ss.formula.WorkbookEvaluator; import org.apache.poi.ss.util.CellRangeAddress; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestIndexFunctionFromSpreadsheet.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestIndexFunctionFromSpreadsheet.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestIndexFunctionFromSpreadsheet.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestIndexFunctionFromSpreadsheet.java Sun Nov 21 11:41:38 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import java.io.PrintStream; @@ -24,7 +24,7 @@ import junit.framework.AssertionFailedEr import junit.framework.TestCase; import org.apache.poi.hssf.HSSFTestDataSamples; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.ErrorEval; import org.apache.poi.hssf.usermodel.HSSFCell; import org.apache.poi.hssf.usermodel.HSSFFormulaEvaluator; import org.apache.poi.hssf.usermodel.HSSFRow; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestIndirect.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestIndirect.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestIndirect.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestIndirect.java Sun Nov 21 11:41:38 2010 @@ -15,17 +15,16 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import junit.framework.AssertionFailedError; import junit.framework.TestCase; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.ErrorEval; import org.apache.poi.hssf.usermodel.*; import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.usermodel.CellValue; import org.apache.poi.ss.usermodel.FormulaEvaluator; -import org.apache.poi.ss.util.CellReference; /** * Tests for the INDIRECT() function.</p> Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestIsBlank.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestIsBlank.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestIsBlank.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestIsBlank.java Sun Nov 21 11:41:38 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import junit.framework.TestCase; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestLeftRight.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestLeftRight.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestLeftRight.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestLeftRight.java Sun Nov 21 11:41:38 2010 @@ -15,12 +15,12 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.StringEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.StringEval; +import org.apache.poi.ss.formula.eval.ValueEval; import junit.framework.TestCase; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestLen.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestLen.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestLen.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestLen.java Sun Nov 21 11:41:38 2010 @@ -15,16 +15,16 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import junit.framework.TestCase; -import org.apache.poi.hssf.record.formula.eval.BlankEval; -import org.apache.poi.hssf.record.formula.eval.BoolEval; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.StringEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.BlankEval; +import org.apache.poi.ss.formula.eval.BoolEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.StringEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Tests for Excel function LEN() * Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestLookupFunctionsFromSpreadsheet.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestLookupFunctionsFromSpreadsheet.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestLookupFunctionsFromSpreadsheet.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestLookupFunctionsFromSpreadsheet.java Sun Nov 21 11:41:38 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import java.io.PrintStream; @@ -24,7 +24,7 @@ import junit.framework.AssertionFailedEr import junit.framework.TestCase; import org.apache.poi.hssf.HSSFTestDataSamples; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.ErrorEval; import org.apache.poi.hssf.usermodel.HSSFCell; import org.apache.poi.hssf.usermodel.HSSFFormulaEvaluator; import org.apache.poi.hssf.usermodel.HSSFRow; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestMatch.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestMatch.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestMatch.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestMatch.java Sun Nov 21 11:41:38 2010 @@ -15,17 +15,17 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import junit.framework.TestCase; -import org.apache.poi.hssf.record.formula.eval.AreaEval; -import org.apache.poi.hssf.record.formula.eval.BoolEval; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.NumericValueEval; -import org.apache.poi.hssf.record.formula.eval.StringEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.AreaEval; +import org.apache.poi.ss.formula.eval.BoolEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.NumericValueEval; +import org.apache.poi.ss.formula.eval.StringEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Test cases for MATCH() Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestMathX.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestMathX.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestMathX.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestMathX.java Sun Nov 21 11:41:38 2010 @@ -18,9 +18,9 @@ * Created on May 23, 2005 * */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.functions.XYNumericFunction.Accumulator; +import org.apache.poi.ss.formula.functions.XYNumericFunction.Accumulator; /** Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestMid.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestMid.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestMid.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestMid.java Sun Nov 21 11:41:38 2010 @@ -15,18 +15,18 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import junit.framework.TestCase; -import org.apache.poi.hssf.record.formula.eval.AreaEval; -import org.apache.poi.hssf.record.formula.eval.BlankEval; -import org.apache.poi.hssf.record.formula.eval.BoolEval; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.RefEval; -import org.apache.poi.hssf.record.formula.eval.StringEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.AreaEval; +import org.apache.poi.ss.formula.eval.BlankEval; +import org.apache.poi.ss.formula.eval.BoolEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.RefEval; +import org.apache.poi.ss.formula.eval.StringEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Tests for Excel function MID() * Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestNper.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestNper.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestNper.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestNper.java Sun Nov 21 11:41:38 2010 @@ -15,12 +15,12 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import junit.framework.TestCase; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.ValueEval; import org.apache.poi.hssf.usermodel.HSSFCell; import org.apache.poi.hssf.usermodel.HSSFErrorConstants; import org.apache.poi.hssf.usermodel.HSSFFormulaEvaluator; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestOffset.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestOffset.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestOffset.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestOffset.java Sun Nov 21 11:41:38 2010 @@ -15,14 +15,14 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import junit.framework.AssertionFailedError; import junit.framework.TestCase; -import org.apache.poi.hssf.record.formula.eval.EvaluationException; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.functions.Offset.LinearOffsetRange; +import org.apache.poi.ss.formula.eval.EvaluationException; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.functions.Offset.LinearOffsetRange; /** * Tests for OFFSET function implementation Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestPmt.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestPmt.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestPmt.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestPmt.java Sun Nov 21 11:41:38 2010 @@ -15,14 +15,14 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import junit.framework.AssertionFailedError; import junit.framework.TestCase; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; -import org.apache.poi.hssf.record.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.NumberEval; import org.apache.poi.hssf.usermodel.HSSFErrorConstants; /** Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestPoisson.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestPoisson.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestPoisson.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestPoisson.java Sun Nov 21 11:41:38 2010 @@ -15,14 +15,14 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import junit.framework.TestCase; -import org.apache.poi.hssf.record.formula.eval.BoolEval; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.BoolEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Tests for Excel function POISSON(x,mean,cumulative) Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestRoundFuncs.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestRoundFuncs.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestRoundFuncs.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestRoundFuncs.java Sun Nov 21 11:41:38 2010 @@ -15,14 +15,14 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import junit.framework.TestCase; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.StringEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.StringEval; /** * Test cases for ROUND(), ROUNDUP(), ROUNDDOWN() Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestRowCol.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestRowCol.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestRowCol.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestRowCol.java Sun Nov 21 11:41:38 2010 @@ -15,11 +15,11 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import junit.framework.TestCase; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Tests for ROW(), ROWS(), COLUMN(), COLUMNS() Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestStatsLib.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestStatsLib.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestStatsLib.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestStatsLib.java Sun Nov 21 11:41:38 2010 @@ -18,12 +18,12 @@ * Created on May 30, 2005 * */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import junit.framework.AssertionFailedError; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.EvaluationException; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.EvaluationException; /** Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestSubtotal.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestSubtotal.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestSubtotal.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestSubtotal.java Sun Nov 21 11:41:38 2010 @@ -15,11 +15,11 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.AreaEval; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.AreaEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.ValueEval; import junit.framework.TestCase; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestSumif.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestSumif.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestSumif.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestSumif.java Sun Nov 21 11:41:38 2010 @@ -15,16 +15,16 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import junit.framework.AssertionFailedError; import junit.framework.TestCase; -import org.apache.poi.hssf.record.formula.eval.AreaEval; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.NumericValueEval; -import org.apache.poi.hssf.record.formula.eval.StringEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.AreaEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.NumericValueEval; +import org.apache.poi.ss.formula.eval.StringEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Test cases for SUMPRODUCT() Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestSumproduct.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestSumproduct.java?rev=1037426&r1=1037228&r2=1037426&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestSumproduct.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/TestSumproduct.java Sun Nov 21 11:41:38 2010 @@ -15,16 +15,16 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import junit.framework.TestCase; -import org.apache.poi.hssf.record.formula.eval.AreaEval; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.NumericValueEval; -import org.apache.poi.hssf.record.formula.eval.RefEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.AreaEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.NumericValueEval; +import org.apache.poi.ss.formula.eval.RefEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Test cases for SUMPRODUCT() --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Nov 21 11:53:21 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80488 invoked from network); 21 Nov 2010 11:53:21 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 21 Nov 2010 11:53:21 -0000 Received: (qmail 22791 invoked by uid 500); 21 Nov 2010 11:53:52 -0000 Delivered-To: [email protected] Received: (qmail 22753 invoked by uid 500); 21 Nov 2010 11:53:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.poi.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 22746 invoked by uid 99); 21 Nov 2010 11:53:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Nov 2010 11:53:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Nov 2010 11:53:48 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 8C4F523888EA; Sun, 21 Nov 2010 11:52:33 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1037431 - in /poi/trunk/src: ooxml/java/org/apache/poi/xssf/usermodel/ ooxml/java/org/apache/poi/xssf/usermodel/helpers/ ooxml/testcases/org/apache/poi/xssf/usermodel/ resources/main/org/apache/poi/hssf/record/formula/function/ resources/m... Date: Sun, 21 Nov 2010 11:52:33 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: yegor Date: Sun Nov 21 11:52:32 2010 New Revision: 1037431 URL: http://svn.apache.org/viewvc?rev=1037431&view=rev Log: moved common formula-related code to org.apache.poi.ss.formula, eliminated dependencies on HSSF, reduced the number of eclipse warnings Added: poi/trunk/src/resources/main/org/apache/poi/ss/ poi/trunk/src/resources/main/org/apache/poi/ss/formula/ poi/trunk/src/resources/main/org/apache/poi/ss/formula/function/ - copied from r1037228, poi/trunk/src/resources/main/org/apache/poi/hssf/record/formula/function/ Removed: poi/trunk/src/resources/main/org/apache/poi/hssf/record/formula/function/ Modified: poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFFormulaEvaluator.java poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/helpers/XSSFRowShifter.java poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestFormulaEvaluatorOnXSSF.java Modified: poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java?rev=1037431&r1=1037430&r2=1037431&view=diff ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java (original) +++ poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java Sun Nov 21 11:52:32 2010 @@ -22,10 +22,9 @@ import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; -import org.apache.poi.hssf.record.SharedFormulaRecord; import org.apache.poi.hssf.record.formula.Ptg; -import org.apache.poi.hssf.record.formula.SharedFormula; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.SharedFormula; +import org.apache.poi.ss.formula.eval.ErrorEval; import org.apache.poi.ss.SpreadsheetVersion; import org.apache.poi.ss.formula.FormulaParser; import org.apache.poi.ss.formula.FormulaRenderer; Modified: poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFFormulaEvaluator.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFFormulaEvaluator.java?rev=1037431&r1=1037430&r2=1037431&view=diff ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFFormulaEvaluator.java (original) +++ poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFFormulaEvaluator.java Sun Nov 21 11:52:32 2010 @@ -19,12 +19,12 @@ package org.apache.poi.xssf.usermodel; import java.util.Iterator; -import org.apache.poi.hssf.record.formula.eval.BoolEval; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.StringEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; -import org.apache.poi.hssf.record.formula.udf.UDFFinder; +import org.apache.poi.ss.formula.eval.BoolEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.StringEval; +import org.apache.poi.ss.formula.eval.ValueEval; +import org.apache.poi.ss.formula.udf.UDFFinder; import org.apache.poi.ss.formula.IStabilityClassifier; import org.apache.poi.ss.formula.WorkbookEvaluator; import org.apache.poi.ss.usermodel.Cell; @@ -54,7 +54,7 @@ public class XSSFFormulaEvaluator implem * @param stabilityClassifier used to optimise caching performance. Pass <code>null</code> * for the (conservative) assumption that any cell may have its definition changed after * evaluation begins. - * @deprecated (Sep 2009) (reduce overloading) use {@link #create(XSSFWorkbook, org.apache.poi.ss.formula.IStabilityClassifier, org.apache.poi.hssf.record.formula.udf.UDFFinder)} + * @deprecated (Sep 2009) (reduce overloading) use {@link #create(XSSFWorkbook, org.apache.poi.ss.formula.IStabilityClassifier, org.apache.poi.ss.formula.udf.UDFFinder)} */ @Deprecated public XSSFFormulaEvaluator(XSSFWorkbook workbook, IStabilityClassifier stabilityClassifier) { Modified: poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java?rev=1037431&r1=1037430&r2=1037431&view=diff ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java (original) +++ poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java Sun Nov 21 11:52:32 2010 @@ -33,7 +33,7 @@ import javax.xml.namespace.QName; import org.apache.poi.POIXMLDocumentPart; import org.apache.poi.POIXMLException; import org.apache.poi.hssf.record.PasswordRecord; -import org.apache.poi.hssf.record.formula.FormulaShifter; +import org.apache.poi.ss.formula.FormulaShifter; import org.apache.poi.hssf.util.PaneInformation; import org.apache.poi.openxml4j.exceptions.InvalidFormatException; import org.apache.poi.openxml4j.opc.PackagePart; Modified: poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java?rev=1037431&r1=1037430&r2=1037431&view=diff ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java (original) +++ poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java Sun Nov 21 11:52:32 2010 @@ -37,7 +37,7 @@ import org.apache.poi.POIXMLDocument; import org.apache.poi.POIXMLDocumentPart; import org.apache.poi.POIXMLException; import org.apache.poi.POIXMLProperties; -import org.apache.poi.hssf.record.formula.SheetNameFormatter; +import org.apache.poi.ss.formula.SheetNameFormatter; import org.apache.poi.openxml4j.exceptions.OpenXML4JException; import org.apache.poi.openxml4j.opc.OPCPackage; import org.apache.poi.openxml4j.opc.PackagePart; Modified: poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/helpers/XSSFRowShifter.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/helpers/XSSFRowShifter.java?rev=1037431&r1=1037430&r2=1037431&view=diff ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/helpers/XSSFRowShifter.java (original) +++ poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/helpers/XSSFRowShifter.java Sun Nov 21 11:52:32 2010 @@ -24,7 +24,7 @@ import org.apache.poi.ss.formula.Formula import org.apache.poi.ss.formula.FormulaRenderer; import org.apache.poi.ss.usermodel.Row; import org.apache.poi.ss.usermodel.Cell; -import org.apache.poi.hssf.record.formula.FormulaShifter; +import org.apache.poi.ss.formula.FormulaShifter; import org.apache.poi.hssf.record.formula.Ptg; import org.openxmlformats.schemas.spreadsheetml.x2006.main.CTCell; import org.openxmlformats.schemas.spreadsheetml.x2006.main.CTCellFormula; Modified: poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestFormulaEvaluatorOnXSSF.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestFormulaEvaluatorOnXSSF.java?rev=1037431&r1=1037430&r2=1037431&view=diff ============================================================================== --- poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestFormulaEvaluatorOnXSSF.java (original) +++ poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestFormulaEvaluatorOnXSSF.java Sun Nov 21 11:52:32 2010 @@ -25,8 +25,8 @@ import junit.framework.AssertionFailedEr import junit.framework.TestCase; import org.apache.poi.hssf.HSSFTestDataSamples; -import org.apache.poi.hssf.record.formula.eval.TestFormulasFromSpreadsheet; -import org.apache.poi.hssf.record.formula.functions.TestMathX; +import org.apache.poi.ss.formula.eval.TestFormulasFromSpreadsheet; +import org.apache.poi.ss.formula.functions.TestMathX; import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.usermodel.CellValue; import org.apache.poi.ss.usermodel.FormulaEvaluator; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Nov 21 11:55:30 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80859 invoked from network); 21 Nov 2010 11:55:30 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 21 Nov 2010 11:55:30 -0000 Received: (qmail 23300 invoked by uid 500); 21 Nov 2010 11:56:01 -0000 Delivered-To: [email protected] Received: (qmail 23271 invoked by uid 500); 21 Nov 2010 11:56:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.poi.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23264 invoked by uid 99); 21 Nov 2010 11:56:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Nov 2010 11:56:01 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Nov 2010 11:55:57 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 79E1323888EA; Sun, 21 Nov 2010 11:54:41 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1037432 - in /poi/trunk/src/java/org/apache/poi/hssf: extractor/ model/ record/ record/aggregates/ record/formula/ record/formula/atp/ record/formula/eval/ record/formula/function/ record/formula/functions/ record/formula/udf/ usermodel/ Date: Sun, 21 Nov 2010 11:54:41 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: yegor Date: Sun Nov 21 11:54:40 2010 New Revision: 1037432 URL: http://svn.apache.org/viewvc?rev=1037432&view=rev Log: moved common formula-related code to org.apache.poi.ss.formula, eliminated dependencies on HSSF, reduced the number of eclipse warnings Removed: poi/trunk/src/java/org/apache/poi/hssf/record/formula/FormulaShifter.java poi/trunk/src/java/org/apache/poi/hssf/record/formula/SharedFormula.java poi/trunk/src/java/org/apache/poi/hssf/record/formula/SheetNameFormatter.java poi/trunk/src/java/org/apache/poi/hssf/record/formula/atp/ poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/ poi/trunk/src/java/org/apache/poi/hssf/record/formula/function/ poi/trunk/src/java/org/apache/poi/hssf/record/formula/functions/ poi/trunk/src/java/org/apache/poi/hssf/record/formula/udf/ Modified: poi/trunk/src/java/org/apache/poi/hssf/extractor/ExcelExtractor.java poi/trunk/src/java/org/apache/poi/hssf/model/InternalSheet.java poi/trunk/src/java/org/apache/poi/hssf/model/InternalWorkbook.java poi/trunk/src/java/org/apache/poi/hssf/record/FormulaRecord.java poi/trunk/src/java/org/apache/poi/hssf/record/SharedFormulaRecord.java poi/trunk/src/java/org/apache/poi/hssf/record/aggregates/CFRecordsAggregate.java poi/trunk/src/java/org/apache/poi/hssf/record/aggregates/ConditionalFormattingTable.java poi/trunk/src/java/org/apache/poi/hssf/record/aggregates/RowRecordsAggregate.java poi/trunk/src/java/org/apache/poi/hssf/record/aggregates/ValueRecordsAggregate.java poi/trunk/src/java/org/apache/poi/hssf/record/formula/AbstractFunctionPtg.java poi/trunk/src/java/org/apache/poi/hssf/record/formula/ExpPtg.java poi/trunk/src/java/org/apache/poi/hssf/record/formula/ExternSheetNameResolver.java poi/trunk/src/java/org/apache/poi/hssf/record/formula/FuncPtg.java poi/trunk/src/java/org/apache/poi/hssf/record/formula/FuncVarPtg.java poi/trunk/src/java/org/apache/poi/hssf/record/formula/TblPtg.java poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFCell.java poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFFormulaEvaluator.java poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java Modified: poi/trunk/src/java/org/apache/poi/hssf/extractor/ExcelExtractor.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/extractor/ExcelExtractor.java?rev=1037432&r1=1037431&r2=1037432&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/extractor/ExcelExtractor.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/extractor/ExcelExtractor.java Sun Nov 21 11:54:40 2010 @@ -24,7 +24,7 @@ import java.io.InputStream; import java.io.PrintStream; import org.apache.poi.POIOLE2TextExtractor; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.ErrorEval; import org.apache.poi.hssf.usermodel.HSSFCell; import org.apache.poi.hssf.usermodel.HSSFCellStyle; import org.apache.poi.hssf.usermodel.HSSFComment; Modified: poi/trunk/src/java/org/apache/poi/hssf/model/InternalSheet.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/model/InternalSheet.java?rev=1037432&r1=1037431&r2=1037432&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/model/InternalSheet.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/model/InternalSheet.java Sun Nov 21 11:54:40 2010 @@ -69,7 +69,7 @@ import org.apache.poi.hssf.record.aggreg import org.apache.poi.hssf.record.aggregates.WorksheetProtectionBlock; import org.apache.poi.hssf.record.aggregates.RecordAggregate.PositionTrackingVisitor; import org.apache.poi.hssf.record.aggregates.RecordAggregate.RecordVisitor; -import org.apache.poi.hssf.record.formula.FormulaShifter; +import org.apache.poi.ss.formula.FormulaShifter; import org.apache.poi.hssf.util.PaneInformation; import org.apache.poi.ss.util.CellRangeAddress; import org.apache.poi.util.Internal; Modified: poi/trunk/src/java/org/apache/poi/hssf/model/InternalWorkbook.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/model/InternalWorkbook.java?rev=1037432&r1=1037431&r2=1037432&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/model/InternalWorkbook.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/model/InternalWorkbook.java Sun Nov 21 11:54:40 2010 @@ -82,7 +82,7 @@ import org.apache.poi.hssf.record.WriteA import org.apache.poi.hssf.record.WriteProtectRecord; import org.apache.poi.hssf.record.common.UnicodeString; import org.apache.poi.hssf.record.formula.NameXPtg; -import org.apache.poi.hssf.record.formula.FormulaShifter; +import org.apache.poi.ss.formula.FormulaShifter; import org.apache.poi.hssf.record.formula.Ptg; import org.apache.poi.hssf.util.HSSFColor; import org.apache.poi.ss.formula.EvaluationWorkbook.ExternalName; Modified: poi/trunk/src/java/org/apache/poi/hssf/record/FormulaRecord.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/FormulaRecord.java?rev=1037432&r1=1037431&r2=1037432&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/FormulaRecord.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/FormulaRecord.java Sun Nov 21 11:54:40 2010 @@ -18,7 +18,7 @@ package org.apache.poi.hssf.record; import org.apache.poi.hssf.record.formula.Ptg; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.ErrorEval; import org.apache.poi.hssf.usermodel.HSSFCell; import org.apache.poi.ss.formula.Formula; import org.apache.poi.util.BitField; Modified: poi/trunk/src/java/org/apache/poi/hssf/record/SharedFormulaRecord.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/SharedFormulaRecord.java?rev=1037432&r1=1037431&r2=1037432&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/SharedFormulaRecord.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/SharedFormulaRecord.java Sun Nov 21 11:54:40 2010 @@ -21,6 +21,7 @@ import org.apache.poi.hssf.record.formul import org.apache.poi.hssf.util.CellRangeAddress8Bit; import org.apache.poi.ss.formula.Formula; import org.apache.poi.ss.SpreadsheetVersion; +import org.apache.poi.ss.formula.SharedFormula; import org.apache.poi.util.HexDump; import org.apache.poi.util.LittleEndianOutput; Modified: poi/trunk/src/java/org/apache/poi/hssf/record/aggregates/CFRecordsAggregate.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/aggregates/CFRecordsAggregate.java?rev=1037432&r1=1037431&r2=1037432&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/aggregates/CFRecordsAggregate.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/aggregates/CFRecordsAggregate.java Sun Nov 21 11:54:40 2010 @@ -26,7 +26,7 @@ import org.apache.poi.hssf.record.CFRule import org.apache.poi.hssf.record.Record; import org.apache.poi.hssf.record.formula.AreaErrPtg; import org.apache.poi.hssf.record.formula.AreaPtg; -import org.apache.poi.hssf.record.formula.FormulaShifter; +import org.apache.poi.ss.formula.FormulaShifter; import org.apache.poi.hssf.record.formula.Ptg; import org.apache.poi.ss.util.CellRangeAddress; Modified: poi/trunk/src/java/org/apache/poi/hssf/record/aggregates/ConditionalFormattingTable.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/aggregates/ConditionalFormattingTable.java?rev=1037432&r1=1037431&r2=1037432&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/aggregates/ConditionalFormattingTable.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/aggregates/ConditionalFormattingTable.java Sun Nov 21 11:54:40 2010 @@ -22,7 +22,7 @@ import java.util.List; import org.apache.poi.hssf.model.RecordStream; import org.apache.poi.hssf.record.CFHeaderRecord; -import org.apache.poi.hssf.record.formula.FormulaShifter; +import org.apache.poi.ss.formula.FormulaShifter; /** * Holds all the conditional formatting for a workbook sheet.<p/> Modified: poi/trunk/src/java/org/apache/poi/hssf/record/aggregates/RowRecordsAggregate.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/aggregates/RowRecordsAggregate.java?rev=1037432&r1=1037431&r2=1037432&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/aggregates/RowRecordsAggregate.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/aggregates/RowRecordsAggregate.java Sun Nov 21 11:54:40 2010 @@ -38,7 +38,7 @@ import org.apache.poi.hssf.record.RowRec import org.apache.poi.hssf.record.SharedFormulaRecord; import org.apache.poi.hssf.record.TableRecord; import org.apache.poi.hssf.record.UnknownRecord; -import org.apache.poi.hssf.record.formula.FormulaShifter; +import org.apache.poi.ss.formula.FormulaShifter; import org.apache.poi.ss.SpreadsheetVersion; /** Modified: poi/trunk/src/java/org/apache/poi/hssf/record/aggregates/ValueRecordsAggregate.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/aggregates/ValueRecordsAggregate.java?rev=1037432&r1=1037431&r2=1037432&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/aggregates/ValueRecordsAggregate.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/aggregates/ValueRecordsAggregate.java Sun Nov 21 11:54:40 2010 @@ -29,7 +29,7 @@ import org.apache.poi.hssf.record.Record import org.apache.poi.hssf.record.RecordBase; import org.apache.poi.hssf.record.StringRecord; import org.apache.poi.hssf.record.aggregates.RecordAggregate.RecordVisitor; -import org.apache.poi.hssf.record.formula.FormulaShifter; +import org.apache.poi.ss.formula.FormulaShifter; import org.apache.poi.hssf.record.formula.Ptg; /** Modified: poi/trunk/src/java/org/apache/poi/hssf/record/formula/AbstractFunctionPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/formula/AbstractFunctionPtg.java?rev=1037432&r1=1037431&r2=1037432&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/AbstractFunctionPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/formula/AbstractFunctionPtg.java Sun Nov 21 11:54:40 2010 @@ -17,8 +17,8 @@ package org.apache.poi.hssf.record.formula; -import org.apache.poi.hssf.record.formula.function.FunctionMetadata; -import org.apache.poi.hssf.record.formula.function.FunctionMetadataRegistry; +import org.apache.poi.ss.formula.function.FunctionMetadata; +import org.apache.poi.ss.formula.function.FunctionMetadataRegistry; /** Modified: poi/trunk/src/java/org/apache/poi/hssf/record/formula/ExpPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/formula/ExpPtg.java?rev=1037432&r1=1037431&r2=1037432&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/ExpPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/formula/ExpPtg.java Sun Nov 21 11:54:40 2010 @@ -17,7 +17,6 @@ package org.apache.poi.hssf.record.formula; -import org.apache.poi.hssf.record.RecordFormatException; import org.apache.poi.util.LittleEndianInput; import org.apache.poi.util.LittleEndianOutput; @@ -62,7 +61,7 @@ public final class ExpPtg extends Contro } public String toFormulaString() { - throw new RecordFormatException("Coding Error: Expected ExpPtg to be converted from Shared to Non-Shared Formula by ValueRecordsAggregate, but it wasn't"); + throw new RuntimeException("Coding Error: Expected ExpPtg to be converted from Shared to Non-Shared Formula by ValueRecordsAggregate, but it wasn't"); } public String toString() { Modified: poi/trunk/src/java/org/apache/poi/hssf/record/formula/ExternSheetNameResolver.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/formula/ExternSheetNameResolver.java?rev=1037432&r1=1037431&r2=1037432&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/ExternSheetNameResolver.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/formula/ExternSheetNameResolver.java Sun Nov 21 11:54:40 2010 @@ -19,6 +19,7 @@ package org.apache.poi.hssf.record.formu import org.apache.poi.ss.formula.FormulaRenderingWorkbook; import org.apache.poi.ss.formula.EvaluationWorkbook.ExternalSheet; +import org.apache.poi.ss.formula.SheetNameFormatter; /** * @author Josh Micich Modified: poi/trunk/src/java/org/apache/poi/hssf/record/formula/FuncPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/formula/FuncPtg.java?rev=1037432&r1=1037431&r2=1037432&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/FuncPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/formula/FuncPtg.java Sun Nov 21 11:54:40 2010 @@ -17,8 +17,8 @@ package org.apache.poi.hssf.record.formula; -import org.apache.poi.hssf.record.formula.function.FunctionMetadata; -import org.apache.poi.hssf.record.formula.function.FunctionMetadataRegistry; +import org.apache.poi.ss.formula.function.FunctionMetadata; +import org.apache.poi.ss.formula.function.FunctionMetadataRegistry; import org.apache.poi.util.LittleEndianInput; import org.apache.poi.util.LittleEndianOutput; Modified: poi/trunk/src/java/org/apache/poi/hssf/record/formula/FuncVarPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/formula/FuncVarPtg.java?rev=1037432&r1=1037431&r2=1037432&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/FuncVarPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/formula/FuncVarPtg.java Sun Nov 21 11:54:40 2010 @@ -16,8 +16,8 @@ ==================================================================== */ package org.apache.poi.hssf.record.formula; -import org.apache.poi.hssf.record.formula.function.FunctionMetadata; -import org.apache.poi.hssf.record.formula.function.FunctionMetadataRegistry; +import org.apache.poi.ss.formula.function.FunctionMetadata; +import org.apache.poi.ss.formula.function.FunctionMetadataRegistry; import org.apache.poi.util.LittleEndianInput; import org.apache.poi.util.LittleEndianOutput; Modified: poi/trunk/src/java/org/apache/poi/hssf/record/formula/TblPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/formula/TblPtg.java?rev=1037432&r1=1037431&r2=1037432&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/TblPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/formula/TblPtg.java Sun Nov 21 11:54:40 2010 @@ -17,7 +17,6 @@ package org.apache.poi.hssf.record.formula; -import org.apache.poi.hssf.record.RecordFormatException; import org.apache.poi.util.LittleEndianInput; import org.apache.poi.util.LittleEndianOutput; @@ -69,7 +68,7 @@ public final class TblPtg extends Contro public String toFormulaString() { // table(....)[][] - throw new RecordFormatException("Table and Arrays are not yet supported"); + throw new RuntimeException("Table and Arrays are not yet supported"); } public String toString() { Modified: poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFCell.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFCell.java?rev=1037432&r1=1037431&r2=1037432&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFCell.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFCell.java Sun Nov 21 11:54:40 2010 @@ -29,7 +29,6 @@ import org.apache.poi.hssf.record.BoolEr import org.apache.poi.hssf.record.CellValueRecordInterface; import org.apache.poi.hssf.record.CommonObjectDataSubRecord; import org.apache.poi.hssf.record.DrawingRecord; -import org.apache.poi.hssf.record.EOFRecord; import org.apache.poi.hssf.record.ExtendedFormatRecord; import org.apache.poi.hssf.record.FormulaRecord; import org.apache.poi.hssf.record.HyperlinkRecord; @@ -45,7 +44,7 @@ import org.apache.poi.hssf.record.aggreg import org.apache.poi.hssf.record.common.UnicodeString; import org.apache.poi.hssf.record.formula.ExpPtg; import org.apache.poi.hssf.record.formula.Ptg; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.ErrorEval; import org.apache.poi.ss.usermodel.*; import org.apache.poi.ss.util.CellRangeAddress; import org.apache.poi.ss.util.CellReference; Modified: poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFFormulaEvaluator.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFFormulaEvaluator.java?rev=1037432&r1=1037431&r2=1037432&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFFormulaEvaluator.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFFormulaEvaluator.java Sun Nov 21 11:54:40 2010 @@ -19,12 +19,12 @@ package org.apache.poi.hssf.usermodel; import java.util.Iterator; -import org.apache.poi.hssf.record.formula.eval.BoolEval; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.StringEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; -import org.apache.poi.hssf.record.formula.udf.UDFFinder; +import org.apache.poi.ss.formula.eval.BoolEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.StringEval; +import org.apache.poi.ss.formula.eval.ValueEval; +import org.apache.poi.ss.formula.udf.UDFFinder; import org.apache.poi.ss.formula.CollaboratingWorkbooksEnvironment; import org.apache.poi.ss.formula.IStabilityClassifier; import org.apache.poi.ss.formula.WorkbookEvaluator; Modified: poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java?rev=1037432&r1=1037431&r2=1037432&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java Sun Nov 21 11:54:40 2010 @@ -17,14 +17,7 @@ package org.apache.poi.hssf.usermodel; -import java.awt.font.FontRenderContext; -import java.awt.font.TextAttribute; -import java.awt.font.TextLayout; -import java.awt.geom.AffineTransform; import java.io.PrintWriter; -import java.text.AttributedString; -import java.text.DecimalFormat; -import java.text.NumberFormat; import java.util.ArrayList; import java.util.Iterator; import java.util.List; @@ -38,7 +31,7 @@ import org.apache.poi.hssf.record.*; import org.apache.poi.hssf.record.aggregates.DataValidityTable; import org.apache.poi.hssf.record.aggregates.FormulaRecordAggregate; import org.apache.poi.hssf.record.aggregates.WorksheetProtectionBlock; -import org.apache.poi.hssf.record.formula.FormulaShifter; +import org.apache.poi.ss.formula.FormulaShifter; import org.apache.poi.hssf.record.formula.Ptg; import org.apache.poi.hssf.record.formula.Area3DPtg; import org.apache.poi.hssf.util.PaneInformation; Modified: poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java?rev=1037432&r1=1037431&r2=1037432&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java Sun Nov 21 11:54:40 2010 @@ -61,7 +61,7 @@ import org.apache.poi.hssf.record.formul import org.apache.poi.hssf.record.formula.OperandPtg; import org.apache.poi.hssf.record.formula.Ptg; import org.apache.poi.hssf.record.formula.Ref3DPtg; -import org.apache.poi.hssf.record.formula.SheetNameFormatter; +import org.apache.poi.ss.formula.SheetNameFormatter; import org.apache.poi.hssf.record.formula.UnionPtg; import org.apache.poi.hssf.util.CellReference; import org.apache.poi.poifs.filesystem.DirectoryNode; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Nov 21 12:05:45 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91859 invoked from network); 21 Nov 2010 12:05:45 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 21 Nov 2010 12:05:45 -0000 Received: (qmail 32111 invoked by uid 500); 21 Nov 2010 12:06:17 -0000 Delivered-To: [email protected] Received: (qmail 32078 invoked by uid 500); 21 Nov 2010 12:06:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.poi.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 32071 invoked by uid 99); 21 Nov 2010 12:06:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Nov 2010 12:06:16 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Nov 2010 12:06:12 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 871C523888A6; Sun, 21 Nov 2010 12:04:58 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1037436 - in /poi/trunk: src/java/org/apache/poi/ss/formula/atp/ src/java/org/apache/poi/ss/formula/eval/ src/java/org/apache/poi/ss/formula/eval/forked/ src/java/org/apache/poi/ss/usermodel/ test-data/spreadsheet/ Date: Sun, 21 Nov 2010 12:04:57 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: yegor Date: Sun Nov 21 12:04:56 2010 New Revision: 1037436 URL: http://svn.apache.org/viewvc?rev=1037436&view=rev Log: moved common formula-related code to org.apache.poi.ss.formula, eliminated dependencies on HSSF, reduced the number of eclipse warnings Added: poi/trunk/src/java/org/apache/poi/ss/formula/atp/ - copied from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/atp/ poi/trunk/src/java/org/apache/poi/ss/formula/eval/AreaEval.java (contents, props changed) - copied, changed from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/AreaEval.java poi/trunk/src/java/org/apache/poi/ss/formula/eval/AreaEvalBase.java - copied, changed from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/AreaEvalBase.java poi/trunk/src/java/org/apache/poi/ss/formula/eval/BlankEval.java (contents, props changed) - copied, changed from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/BlankEval.java poi/trunk/src/java/org/apache/poi/ss/formula/eval/BoolEval.java (contents, props changed) - copied, changed from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/BoolEval.java poi/trunk/src/java/org/apache/poi/ss/formula/eval/ConcatEval.java (contents, props changed) - copied, changed from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/ConcatEval.java poi/trunk/src/java/org/apache/poi/ss/formula/eval/ErrorEval.java (contents, props changed) - copied, changed from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/ErrorEval.java poi/trunk/src/java/org/apache/poi/ss/formula/eval/EvaluationException.java (contents, props changed) - copied, changed from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/EvaluationException.java poi/trunk/src/java/org/apache/poi/ss/formula/eval/FunctionEval.java (contents, props changed) - copied, changed from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/FunctionEval.java poi/trunk/src/java/org/apache/poi/ss/formula/eval/IntersectionEval.java - copied, changed from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/IntersectionEval.java poi/trunk/src/java/org/apache/poi/ss/formula/eval/MissingArgEval.java - copied, changed from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/MissingArgEval.java poi/trunk/src/java/org/apache/poi/ss/formula/eval/NameEval.java (contents, props changed) - copied, changed from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/NameEval.java poi/trunk/src/java/org/apache/poi/ss/formula/eval/NameXEval.java - copied, changed from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/NameXEval.java poi/trunk/src/java/org/apache/poi/ss/formula/eval/NumberEval.java (contents, props changed) - copied, changed from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/NumberEval.java poi/trunk/src/java/org/apache/poi/ss/formula/eval/NumericValueEval.java (contents, props changed) - copied, changed from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/NumericValueEval.java poi/trunk/src/java/org/apache/poi/ss/formula/eval/OperandResolver.java (contents, props changed) - copied, changed from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/OperandResolver.java poi/trunk/src/java/org/apache/poi/ss/formula/eval/PercentEval.java (contents, props changed) - copied, changed from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/PercentEval.java poi/trunk/src/java/org/apache/poi/ss/formula/eval/RangeEval.java - copied, changed from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/RangeEval.java poi/trunk/src/java/org/apache/poi/ss/formula/eval/RefEval.java (contents, props changed) - copied, changed from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/RefEval.java poi/trunk/src/java/org/apache/poi/ss/formula/eval/RefEvalBase.java - copied, changed from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/RefEvalBase.java poi/trunk/src/java/org/apache/poi/ss/formula/eval/RelationalOperationEval.java (contents, props changed) - copied, changed from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/RelationalOperationEval.java poi/trunk/src/java/org/apache/poi/ss/formula/eval/StringEval.java (contents, props changed) - copied, changed from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/StringEval.java poi/trunk/src/java/org/apache/poi/ss/formula/eval/StringValueEval.java (contents, props changed) - copied, changed from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/StringValueEval.java poi/trunk/src/java/org/apache/poi/ss/formula/eval/TwoOperandNumericOperation.java - copied, changed from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/TwoOperandNumericOperation.java poi/trunk/src/java/org/apache/poi/ss/formula/eval/UnaryMinusEval.java (contents, props changed) - copied, changed from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/UnaryMinusEval.java poi/trunk/src/java/org/apache/poi/ss/formula/eval/UnaryPlusEval.java (contents, props changed) - copied, changed from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/UnaryPlusEval.java poi/trunk/src/java/org/apache/poi/ss/formula/eval/ValueEval.java (contents, props changed) - copied, changed from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/ValueEval.java Modified: poi/trunk/src/java/org/apache/poi/ss/formula/atp/AnalysisToolPak.java poi/trunk/src/java/org/apache/poi/ss/formula/atp/ParityFunction.java poi/trunk/src/java/org/apache/poi/ss/formula/atp/RandBetween.java poi/trunk/src/java/org/apache/poi/ss/formula/atp/YearFrac.java poi/trunk/src/java/org/apache/poi/ss/formula/atp/YearFracCalculator.java poi/trunk/src/java/org/apache/poi/ss/formula/eval/forked/ForkedEvaluationCell.java poi/trunk/src/java/org/apache/poi/ss/formula/eval/forked/ForkedEvaluationWorkbook.java poi/trunk/src/java/org/apache/poi/ss/formula/eval/forked/ForkedEvaluator.java poi/trunk/src/java/org/apache/poi/ss/usermodel/CellValue.java poi/trunk/test-data/spreadsheet/LookupFunctionsTestCaseData.xls Modified: poi/trunk/src/java/org/apache/poi/ss/formula/atp/AnalysisToolPak.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/atp/AnalysisToolPak.java?rev=1037436&r1=1037228&r2=1037436&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/atp/AnalysisToolPak.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/atp/AnalysisToolPak.java Sun Nov 21 12:04:56 2010 @@ -15,14 +15,14 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.atp; +package org.apache.poi.ss.formula.atp; import java.util.HashMap; import java.util.Map; -import org.apache.poi.hssf.record.formula.eval.ValueEval; -import org.apache.poi.hssf.record.formula.functions.FreeRefFunction; -import org.apache.poi.hssf.record.formula.udf.UDFFinder; +import org.apache.poi.ss.formula.eval.ValueEval; +import org.apache.poi.ss.formula.functions.FreeRefFunction; +import org.apache.poi.ss.formula.udf.UDFFinder; import org.apache.poi.ss.formula.OperationEvaluationContext; import org.apache.poi.ss.formula.eval.NotImplementedException; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/atp/ParityFunction.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/atp/ParityFunction.java?rev=1037436&r1=1037228&r2=1037436&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/atp/ParityFunction.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/atp/ParityFunction.java Sun Nov 21 12:04:56 2010 @@ -15,14 +15,14 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.atp; +package org.apache.poi.ss.formula.atp; -import org.apache.poi.hssf.record.formula.eval.BoolEval; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.EvaluationException; -import org.apache.poi.hssf.record.formula.eval.OperandResolver; -import org.apache.poi.hssf.record.formula.eval.ValueEval; -import org.apache.poi.hssf.record.formula.functions.FreeRefFunction; +import org.apache.poi.ss.formula.eval.BoolEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.EvaluationException; +import org.apache.poi.ss.formula.eval.OperandResolver; +import org.apache.poi.ss.formula.eval.ValueEval; +import org.apache.poi.ss.formula.functions.FreeRefFunction; import org.apache.poi.ss.formula.OperationEvaluationContext; /** * Implementation of Excel 'Analysis ToolPak' function ISEVEN() ISODD()<br/> Modified: poi/trunk/src/java/org/apache/poi/ss/formula/atp/RandBetween.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/atp/RandBetween.java?rev=1037436&r1=1037228&r2=1037436&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/atp/RandBetween.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/atp/RandBetween.java Sun Nov 21 12:04:56 2010 @@ -14,14 +14,14 @@ See the License for the specific language governing permissions and limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.atp; +package org.apache.poi.ss.formula.atp; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.EvaluationException; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.OperandResolver; -import org.apache.poi.hssf.record.formula.eval.ValueEval; -import org.apache.poi.hssf.record.formula.functions.FreeRefFunction; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.EvaluationException; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.OperandResolver; +import org.apache.poi.ss.formula.eval.ValueEval; +import org.apache.poi.ss.formula.functions.FreeRefFunction; import org.apache.poi.ss.formula.OperationEvaluationContext; /** @@ -50,7 +50,7 @@ final class RandBetween implements FreeR * Bottom is rounded up and top value is rounded down. After rounding top has to be set greater * than top. * - * @see org.apache.poi.hssf.record.formula.functions.FreeRefFunction#evaluate(org.apache.poi.hssf.record.formula.eval.ValueEval[], org.apache.poi.ss.formula.OperationEvaluationContext) + * @see org.apache.poi.ss.formula.functions.FreeRefFunction#evaluate(org.apache.poi.ss.formula.eval.ValueEval[], org.apache.poi.ss.formula.OperationEvaluationContext) */ public ValueEval evaluate(ValueEval[] args, OperationEvaluationContext ec) { Modified: poi/trunk/src/java/org/apache/poi/ss/formula/atp/YearFrac.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/atp/YearFrac.java?rev=1037436&r1=1037228&r2=1037436&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/atp/YearFrac.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/atp/YearFrac.java Sun Nov 21 12:04:56 2010 @@ -15,19 +15,19 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.atp; +package org.apache.poi.ss.formula.atp; import java.util.Calendar; import java.util.GregorianCalendar; import java.util.regex.Pattern; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.EvaluationException; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.OperandResolver; -import org.apache.poi.hssf.record.formula.eval.StringEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; -import org.apache.poi.hssf.record.formula.functions.FreeRefFunction; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.EvaluationException; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.OperandResolver; +import org.apache.poi.ss.formula.eval.StringEval; +import org.apache.poi.ss.formula.eval.ValueEval; +import org.apache.poi.ss.formula.functions.FreeRefFunction; import org.apache.poi.ss.formula.OperationEvaluationContext; import org.apache.poi.ss.usermodel.DateUtil; /** Modified: poi/trunk/src/java/org/apache/poi/ss/formula/atp/YearFracCalculator.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/atp/YearFracCalculator.java?rev=1037436&r1=1037228&r2=1037436&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/atp/YearFracCalculator.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/atp/YearFracCalculator.java Sun Nov 21 12:04:56 2010 @@ -15,14 +15,14 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.atp; +package org.apache.poi.ss.formula.atp; import java.util.Calendar; import java.util.GregorianCalendar; import java.util.TimeZone; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.EvaluationException; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.EvaluationException; import org.apache.poi.ss.usermodel.DateUtil; Copied: poi/trunk/src/java/org/apache/poi/ss/formula/eval/AreaEval.java (from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/AreaEval.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/eval/AreaEval.java?p2=poi/trunk/src/java/org/apache/poi/ss/formula/eval/AreaEval.java&p1=poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/AreaEval.java&r1=1037228&r2=1037436&rev=1037436&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/AreaEval.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/eval/AreaEval.java Sun Nov 21 12:04:56 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; import org.apache.poi.ss.formula.TwoDEval; /** Propchange: poi/trunk/src/java/org/apache/poi/ss/formula/eval/AreaEval.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: poi/trunk/src/java/org/apache/poi/ss/formula/eval/AreaEval.java ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Copied: poi/trunk/src/java/org/apache/poi/ss/formula/eval/AreaEvalBase.java (from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/AreaEvalBase.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/eval/AreaEvalBase.java?p2=poi/trunk/src/java/org/apache/poi/ss/formula/eval/AreaEvalBase.java&p1=poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/AreaEvalBase.java&r1=1037228&r2=1037436&rev=1037436&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/AreaEvalBase.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/eval/AreaEvalBase.java Sun Nov 21 12:04:56 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; import org.apache.poi.hssf.record.formula.AreaI; Copied: poi/trunk/src/java/org/apache/poi/ss/formula/eval/BlankEval.java (from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/BlankEval.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/eval/BlankEval.java?p2=poi/trunk/src/java/org/apache/poi/ss/formula/eval/BlankEval.java&p1=poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/BlankEval.java&r1=1037228&r2=1037436&rev=1037436&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/BlankEval.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/eval/BlankEval.java Sun Nov 21 12:04:56 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; /** * @author Amol S. Deshmukh &lt; amolweb at ya hoo dot com &gt; This class is a Propchange: poi/trunk/src/java/org/apache/poi/ss/formula/eval/BlankEval.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: poi/trunk/src/java/org/apache/poi/ss/formula/eval/BlankEval.java ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Copied: poi/trunk/src/java/org/apache/poi/ss/formula/eval/BoolEval.java (from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/BoolEval.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/eval/BoolEval.java?p2=poi/trunk/src/java/org/apache/poi/ss/formula/eval/BoolEval.java&p1=poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/BoolEval.java&r1=1037228&r2=1037436&rev=1037436&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/BoolEval.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/eval/BoolEval.java Sun Nov 21 12:04:56 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; /** * @author Amol S. Deshmukh &lt; amolweb at ya hoo dot com &gt; Propchange: poi/trunk/src/java/org/apache/poi/ss/formula/eval/BoolEval.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: poi/trunk/src/java/org/apache/poi/ss/formula/eval/BoolEval.java ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Copied: poi/trunk/src/java/org/apache/poi/ss/formula/eval/ConcatEval.java (from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/ConcatEval.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/eval/ConcatEval.java?p2=poi/trunk/src/java/org/apache/poi/ss/formula/eval/ConcatEval.java&p1=poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/ConcatEval.java&r1=1037228&r2=1037436&rev=1037436&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/ConcatEval.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/eval/ConcatEval.java Sun Nov 21 12:04:56 2010 @@ -15,10 +15,10 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; -import org.apache.poi.hssf.record.formula.functions.Fixed2ArgFunction; -import org.apache.poi.hssf.record.formula.functions.Function; +import org.apache.poi.ss.formula.functions.Fixed2ArgFunction; +import org.apache.poi.ss.formula.functions.Function; /** * @author Amol S. Deshmukh &lt; amolweb at ya hoo dot com &gt; Propchange: poi/trunk/src/java/org/apache/poi/ss/formula/eval/ConcatEval.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: poi/trunk/src/java/org/apache/poi/ss/formula/eval/ConcatEval.java ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Copied: poi/trunk/src/java/org/apache/poi/ss/formula/eval/ErrorEval.java (from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/ErrorEval.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/eval/ErrorEval.java?p2=poi/trunk/src/java/org/apache/poi/ss/formula/eval/ErrorEval.java&p1=poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/ErrorEval.java&r1=1037228&r2=1037436&rev=1037436&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/ErrorEval.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/eval/ErrorEval.java Sun Nov 21 12:04:56 2010 @@ -15,7 +15,7 @@ * limitations under the License. */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; import org.apache.poi.ss.usermodel.ErrorConstants; Propchange: poi/trunk/src/java/org/apache/poi/ss/formula/eval/ErrorEval.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: poi/trunk/src/java/org/apache/poi/ss/formula/eval/ErrorEval.java ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Copied: poi/trunk/src/java/org/apache/poi/ss/formula/eval/EvaluationException.java (from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/EvaluationException.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/eval/EvaluationException.java?p2=poi/trunk/src/java/org/apache/poi/ss/formula/eval/EvaluationException.java&p1=poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/EvaluationException.java&r1=1037228&r2=1037436&rev=1037436&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/EvaluationException.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/eval/EvaluationException.java Sun Nov 21 12:04:56 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; /** * This class is used to simplify error handling logic <i>within</i> operator and function Propchange: poi/trunk/src/java/org/apache/poi/ss/formula/eval/EvaluationException.java ------------------------------------------------------------------------------ svn:eol-style = native Copied: poi/trunk/src/java/org/apache/poi/ss/formula/eval/FunctionEval.java (from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/FunctionEval.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/eval/FunctionEval.java?p2=poi/trunk/src/java/org/apache/poi/ss/formula/eval/FunctionEval.java&p1=poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/FunctionEval.java&r1=1037228&r2=1037436&rev=1037436&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/FunctionEval.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/eval/FunctionEval.java Sun Nov 21 12:04:56 2010 @@ -15,12 +15,11 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; -import org.apache.poi.hssf.record.formula.function.FunctionMetadata; -import org.apache.poi.hssf.record.formula.function.FunctionMetadataRegistry; -import org.apache.poi.hssf.record.formula.functions.*; -import org.apache.poi.ss.formula.eval.NotImplementedException; +import org.apache.poi.ss.formula.function.FunctionMetadata; +import org.apache.poi.ss.formula.function.FunctionMetadataRegistry; +import org.apache.poi.ss.formula.functions.*; /** * @author Amol S. Deshmukh &lt; amolweb at ya hoo dot com &gt; Propchange: poi/trunk/src/java/org/apache/poi/ss/formula/eval/FunctionEval.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: poi/trunk/src/java/org/apache/poi/ss/formula/eval/FunctionEval.java ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Copied: poi/trunk/src/java/org/apache/poi/ss/formula/eval/IntersectionEval.java (from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/IntersectionEval.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/eval/IntersectionEval.java?p2=poi/trunk/src/java/org/apache/poi/ss/formula/eval/IntersectionEval.java&p1=poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/IntersectionEval.java&r1=1037228&r2=1037436&rev=1037436&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/IntersectionEval.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/eval/IntersectionEval.java Sun Nov 21 12:04:56 2010 @@ -15,10 +15,10 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; -import org.apache.poi.hssf.record.formula.functions.Fixed2ArgFunction; -import org.apache.poi.hssf.record.formula.functions.Function; +import org.apache.poi.ss.formula.functions.Fixed2ArgFunction; +import org.apache.poi.ss.formula.functions.Function; /** * @author Josh Micich Copied: poi/trunk/src/java/org/apache/poi/ss/formula/eval/MissingArgEval.java (from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/MissingArgEval.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/eval/MissingArgEval.java?p2=poi/trunk/src/java/org/apache/poi/ss/formula/eval/MissingArgEval.java&p1=poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/MissingArgEval.java&r1=1037228&r2=1037436&rev=1037436&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/MissingArgEval.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/eval/MissingArgEval.java Sun Nov 21 12:04:56 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; /** * Represents the (intermediate) evaluated result of a missing function argument. In most cases Copied: poi/trunk/src/java/org/apache/poi/ss/formula/eval/NameEval.java (from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/NameEval.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/eval/NameEval.java?p2=poi/trunk/src/java/org/apache/poi/ss/formula/eval/NameEval.java&p1=poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/NameEval.java&r1=1037228&r2=1037436&rev=1037436&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/NameEval.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/eval/NameEval.java Sun Nov 21 12:04:56 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; /** * @author Josh Micich Propchange: poi/trunk/src/java/org/apache/poi/ss/formula/eval/NameEval.java ------------------------------------------------------------------------------ svn:eol-style = native Copied: poi/trunk/src/java/org/apache/poi/ss/formula/eval/NameXEval.java (from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/NameXEval.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/eval/NameXEval.java?p2=poi/trunk/src/java/org/apache/poi/ss/formula/eval/NameXEval.java&p1=poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/NameXEval.java&r1=1037228&r2=1037436&rev=1037436&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/NameXEval.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/eval/NameXEval.java Sun Nov 21 12:04:56 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; import org.apache.poi.hssf.record.formula.NameXPtg; Copied: poi/trunk/src/java/org/apache/poi/ss/formula/eval/NumberEval.java (from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/NumberEval.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/eval/NumberEval.java?p2=poi/trunk/src/java/org/apache/poi/ss/formula/eval/NumberEval.java&p1=poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/NumberEval.java&r1=1037228&r2=1037436&rev=1037436&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/NumberEval.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/eval/NumberEval.java Sun Nov 21 12:04:56 2010 @@ -18,7 +18,7 @@ * Created on May 8, 2005 * */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; import org.apache.poi.hssf.record.formula.IntPtg; import org.apache.poi.hssf.record.formula.NumberPtg; Propchange: poi/trunk/src/java/org/apache/poi/ss/formula/eval/NumberEval.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: poi/trunk/src/java/org/apache/poi/ss/formula/eval/NumberEval.java ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Copied: poi/trunk/src/java/org/apache/poi/ss/formula/eval/NumericValueEval.java (from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/NumericValueEval.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/eval/NumericValueEval.java?p2=poi/trunk/src/java/org/apache/poi/ss/formula/eval/NumericValueEval.java&p1=poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/NumericValueEval.java&r1=1037228&r2=1037436&rev=1037436&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/NumericValueEval.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/eval/NumericValueEval.java Sun Nov 21 12:04:56 2010 @@ -18,7 +18,7 @@ * Created on May 8, 2005 * */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; /** * @author Amol S. Deshmukh &lt; amolweb at ya hoo dot com &gt; Propchange: poi/trunk/src/java/org/apache/poi/ss/formula/eval/NumericValueEval.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: poi/trunk/src/java/org/apache/poi/ss/formula/eval/NumericValueEval.java ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Copied: poi/trunk/src/java/org/apache/poi/ss/formula/eval/OperandResolver.java (from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/OperandResolver.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/eval/OperandResolver.java?p2=poi/trunk/src/java/org/apache/poi/ss/formula/eval/OperandResolver.java&p1=poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/OperandResolver.java&r1=1037228&r2=1037436&rev=1037436&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/OperandResolver.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/eval/OperandResolver.java Sun Nov 21 12:04:56 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; import java.util.regex.Pattern; Propchange: poi/trunk/src/java/org/apache/poi/ss/formula/eval/OperandResolver.java ------------------------------------------------------------------------------ svn:eol-style = native Copied: poi/trunk/src/java/org/apache/poi/ss/formula/eval/PercentEval.java (from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/PercentEval.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/eval/PercentEval.java?p2=poi/trunk/src/java/org/apache/poi/ss/formula/eval/PercentEval.java&p1=poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/PercentEval.java&r1=1037228&r2=1037436&rev=1037436&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/PercentEval.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/eval/PercentEval.java Sun Nov 21 12:04:56 2010 @@ -15,10 +15,10 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; -import org.apache.poi.hssf.record.formula.functions.Fixed1ArgFunction; -import org.apache.poi.hssf.record.formula.functions.Function; +import org.apache.poi.ss.formula.functions.Fixed1ArgFunction; +import org.apache.poi.ss.formula.functions.Function; /** Propchange: poi/trunk/src/java/org/apache/poi/ss/formula/eval/PercentEval.java ------------------------------------------------------------------------------ svn:eol-style = native Copied: poi/trunk/src/java/org/apache/poi/ss/formula/eval/RangeEval.java (from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/RangeEval.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/eval/RangeEval.java?p2=poi/trunk/src/java/org/apache/poi/ss/formula/eval/RangeEval.java&p1=poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/RangeEval.java&r1=1037228&r2=1037436&rev=1037436&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/RangeEval.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/eval/RangeEval.java Sun Nov 21 12:04:56 2010 @@ -15,10 +15,10 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; -import org.apache.poi.hssf.record.formula.functions.Fixed2ArgFunction; -import org.apache.poi.hssf.record.formula.functions.Function; +import org.apache.poi.ss.formula.functions.Fixed2ArgFunction; +import org.apache.poi.ss.formula.functions.Function; /** Copied: poi/trunk/src/java/org/apache/poi/ss/formula/eval/RefEval.java (from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/RefEval.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/eval/RefEval.java?p2=poi/trunk/src/java/org/apache/poi/ss/formula/eval/RefEval.java&p1=poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/RefEval.java&r1=1037228&r2=1037436&rev=1037436&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/RefEval.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/eval/RefEval.java Sun Nov 21 12:04:56 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; /** * @author Amol S Deshmukh &lt; amolweb at ya hoo dot com &gt; Propchange: poi/trunk/src/java/org/apache/poi/ss/formula/eval/RefEval.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: poi/trunk/src/java/org/apache/poi/ss/formula/eval/RefEval.java ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Copied: poi/trunk/src/java/org/apache/poi/ss/formula/eval/RefEvalBase.java (from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/RefEvalBase.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/eval/RefEvalBase.java?p2=poi/trunk/src/java/org/apache/poi/ss/formula/eval/RefEvalBase.java&p1=poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/RefEvalBase.java&r1=1037228&r2=1037436&rev=1037436&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/RefEvalBase.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/eval/RefEvalBase.java Sun Nov 21 12:04:56 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; /** * Common base class for implementors of {@link RefEval} Copied: poi/trunk/src/java/org/apache/poi/ss/formula/eval/RelationalOperationEval.java (from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/RelationalOperationEval.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/eval/RelationalOperationEval.java?p2=poi/trunk/src/java/org/apache/poi/ss/formula/eval/RelationalOperationEval.java&p1=poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/RelationalOperationEval.java&r1=1037228&r2=1037436&rev=1037436&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/RelationalOperationEval.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/eval/RelationalOperationEval.java Sun Nov 21 12:04:56 2010 @@ -15,10 +15,10 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; -import org.apache.poi.hssf.record.formula.functions.Fixed2ArgFunction; -import org.apache.poi.hssf.record.formula.functions.Function; +import org.apache.poi.ss.formula.functions.Fixed2ArgFunction; +import org.apache.poi.ss.formula.functions.Function; import org.apache.poi.ss.util.NumberComparer; /** Propchange: poi/trunk/src/java/org/apache/poi/ss/formula/eval/RelationalOperationEval.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: poi/trunk/src/java/org/apache/poi/ss/formula/eval/RelationalOperationEval.java ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Copied: poi/trunk/src/java/org/apache/poi/ss/formula/eval/StringEval.java (from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/StringEval.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/eval/StringEval.java?p2=poi/trunk/src/java/org/apache/poi/ss/formula/eval/StringEval.java&p1=poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/StringEval.java&r1=1037228&r2=1037436&rev=1037436&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/StringEval.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/eval/StringEval.java Sun Nov 21 12:04:56 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; import org.apache.poi.hssf.record.formula.Ptg; import org.apache.poi.hssf.record.formula.StringPtg; Propchange: poi/trunk/src/java/org/apache/poi/ss/formula/eval/StringEval.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: poi/trunk/src/java/org/apache/poi/ss/formula/eval/StringEval.java ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Copied: poi/trunk/src/java/org/apache/poi/ss/formula/eval/StringValueEval.java (from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/StringValueEval.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/eval/StringValueEval.java?p2=poi/trunk/src/java/org/apache/poi/ss/formula/eval/StringValueEval.java&p1=poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/StringValueEval.java&r1=1037228&r2=1037436&rev=1037436&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/StringValueEval.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/eval/StringValueEval.java Sun Nov 21 12:04:56 2010 @@ -15,7 +15,7 @@ * limitations under the License. */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; /** * @author Amol S. Deshmukh &lt; amolweb at ya hoo dot com &gt; Propchange: poi/trunk/src/java/org/apache/poi/ss/formula/eval/StringValueEval.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: poi/trunk/src/java/org/apache/poi/ss/formula/eval/StringValueEval.java ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Copied: poi/trunk/src/java/org/apache/poi/ss/formula/eval/TwoOperandNumericOperation.java (from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/TwoOperandNumericOperation.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/eval/TwoOperandNumericOperation.java?p2=poi/trunk/src/java/org/apache/poi/ss/formula/eval/TwoOperandNumericOperation.java&p1=poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/TwoOperandNumericOperation.java&r1=1037228&r2=1037436&rev=1037436&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/TwoOperandNumericOperation.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/eval/TwoOperandNumericOperation.java Sun Nov 21 12:04:56 2010 @@ -15,10 +15,10 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; -import org.apache.poi.hssf.record.formula.functions.Fixed2ArgFunction; -import org.apache.poi.hssf.record.formula.functions.Function; +import org.apache.poi.ss.formula.functions.Fixed2ArgFunction; +import org.apache.poi.ss.formula.functions.Function; /** * @author Josh Micich Copied: poi/trunk/src/java/org/apache/poi/ss/formula/eval/UnaryMinusEval.java (from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/UnaryMinusEval.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/eval/UnaryMinusEval.java?p2=poi/trunk/src/java/org/apache/poi/ss/formula/eval/UnaryMinusEval.java&p1=poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/UnaryMinusEval.java&r1=1037228&r2=1037436&rev=1037436&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/UnaryMinusEval.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/eval/UnaryMinusEval.java Sun Nov 21 12:04:56 2010 @@ -15,10 +15,10 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; -import org.apache.poi.hssf.record.formula.functions.Fixed1ArgFunction; -import org.apache.poi.hssf.record.formula.functions.Function; +import org.apache.poi.ss.formula.functions.Fixed1ArgFunction; +import org.apache.poi.ss.formula.functions.Function; /** * @author Amol S. Deshmukh &lt; amolweb at ya hoo dot com &gt; Propchange: poi/trunk/src/java/org/apache/poi/ss/formula/eval/UnaryMinusEval.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: poi/trunk/src/java/org/apache/poi/ss/formula/eval/UnaryMinusEval.java ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Copied: poi/trunk/src/java/org/apache/poi/ss/formula/eval/UnaryPlusEval.java (from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/UnaryPlusEval.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/eval/UnaryPlusEval.java?p2=poi/trunk/src/java/org/apache/poi/ss/formula/eval/UnaryPlusEval.java&p1=poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/UnaryPlusEval.java&r1=1037228&r2=1037436&rev=1037436&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/UnaryPlusEval.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/eval/UnaryPlusEval.java Sun Nov 21 12:04:56 2010 @@ -15,10 +15,10 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; -import org.apache.poi.hssf.record.formula.functions.Fixed1ArgFunction; -import org.apache.poi.hssf.record.formula.functions.Function; +import org.apache.poi.ss.formula.functions.Fixed1ArgFunction; +import org.apache.poi.ss.formula.functions.Function; /** Propchange: poi/trunk/src/java/org/apache/poi/ss/formula/eval/UnaryPlusEval.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: poi/trunk/src/java/org/apache/poi/ss/formula/eval/UnaryPlusEval.java ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Copied: poi/trunk/src/java/org/apache/poi/ss/formula/eval/ValueEval.java (from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/ValueEval.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/eval/ValueEval.java?p2=poi/trunk/src/java/org/apache/poi/ss/formula/eval/ValueEval.java&p1=poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/ValueEval.java&r1=1037228&r2=1037436&rev=1037436&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/eval/ValueEval.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/eval/ValueEval.java Sun Nov 21 12:04:56 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.eval; +package org.apache.poi.ss.formula.eval; /** * @author Amol S. Deshmukh &lt; amolweb at ya hoo dot com &gt; Propchange: poi/trunk/src/java/org/apache/poi/ss/formula/eval/ValueEval.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: poi/trunk/src/java/org/apache/poi/ss/formula/eval/ValueEval.java ------------------------------------------------------------------------------ svn:keywords = Author Date Id Revision Modified: poi/trunk/src/java/org/apache/poi/ss/formula/eval/forked/ForkedEvaluationCell.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/eval/forked/ForkedEvaluationCell.java?rev=1037436&r1=1037435&r2=1037436&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/eval/forked/ForkedEvaluationCell.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/eval/forked/ForkedEvaluationCell.java Sun Nov 21 12:04:56 2010 @@ -17,13 +17,12 @@ package org.apache.poi.ss.formula.eval.forked; -import org.apache.poi.hssf.record.formula.eval.BlankEval; -import org.apache.poi.hssf.record.formula.eval.BoolEval; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.StringEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; -import org.apache.poi.hssf.usermodel.HSSFCell; +import org.apache.poi.ss.formula.eval.BlankEval; +import org.apache.poi.ss.formula.eval.BoolEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.StringEval; +import org.apache.poi.ss.formula.eval.ValueEval; import org.apache.poi.ss.formula.EvaluationCell; import org.apache.poi.ss.formula.EvaluationSheet; import org.apache.poi.ss.usermodel.Cell; @@ -60,27 +59,27 @@ final class ForkedEvaluationCell impleme Class<? extends ValueEval> cls = value.getClass(); if (cls == NumberEval.class) { - _cellType = HSSFCell.CELL_TYPE_NUMERIC; + _cellType = Cell.CELL_TYPE_NUMERIC; _numberValue = ((NumberEval)value).getNumberValue(); return; } if (cls == StringEval.class) { - _cellType = HSSFCell.CELL_TYPE_STRING; + _cellType = Cell.CELL_TYPE_STRING; _stringValue = ((StringEval)value).getStringValue(); return; } if (cls == BoolEval.class) { - _cellType = HSSFCell.CELL_TYPE_BOOLEAN; + _cellType = Cell.CELL_TYPE_BOOLEAN; _booleanValue = ((BoolEval)value).getBooleanValue(); return; } if (cls == ErrorEval.class) { - _cellType = HSSFCell.CELL_TYPE_ERROR; + _cellType = Cell.CELL_TYPE_ERROR; _errorValue = ((ErrorEval)value).getErrorCode(); return; } if (cls == BlankEval.class) { - _cellType = HSSFCell.CELL_TYPE_BLANK; + _cellType = Cell.CELL_TYPE_BLANK; return; } throw new IllegalArgumentException("Unexpected value class (" + cls.getName() + ")"); @@ -105,19 +104,19 @@ final class ForkedEvaluationCell impleme return _cellType; } public boolean getBooleanCellValue() { - checkCellType(HSSFCell.CELL_TYPE_BOOLEAN); + checkCellType(Cell.CELL_TYPE_BOOLEAN); return _booleanValue; } public int getErrorCellValue() { - checkCellType(HSSFCell.CELL_TYPE_ERROR); + checkCellType(Cell.CELL_TYPE_ERROR); return _errorValue; } public double getNumericCellValue() { - checkCellType(HSSFCell.CELL_TYPE_NUMERIC); + checkCellType(Cell.CELL_TYPE_NUMERIC); return _numberValue; } public String getStringCellValue() { - checkCellType(HSSFCell.CELL_TYPE_STRING); + checkCellType(Cell.CELL_TYPE_STRING); return _stringValue; } public EvaluationSheet getSheet() { Modified: poi/trunk/src/java/org/apache/poi/ss/formula/eval/forked/ForkedEvaluationWorkbook.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/eval/forked/ForkedEvaluationWorkbook.java?rev=1037436&r1=1037435&r2=1037436&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/eval/forked/ForkedEvaluationWorkbook.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/eval/forked/ForkedEvaluationWorkbook.java Sun Nov 21 12:04:56 2010 @@ -23,7 +23,6 @@ import java.util.Map; import org.apache.poi.hssf.record.formula.NamePtg; import org.apache.poi.hssf.record.formula.NameXPtg; import org.apache.poi.hssf.record.formula.Ptg; -import org.apache.poi.hssf.record.formula.functions.FreeRefFunction; import org.apache.poi.ss.formula.EvaluationCell; import org.apache.poi.ss.formula.EvaluationName; import org.apache.poi.ss.formula.EvaluationSheet; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/eval/forked/ForkedEvaluator.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/eval/forked/ForkedEvaluator.java?rev=1037436&r1=1037435&r2=1037436&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/eval/forked/ForkedEvaluator.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/eval/forked/ForkedEvaluator.java Sun Nov 21 12:04:56 2010 @@ -17,13 +17,12 @@ package org.apache.poi.ss.formula.eval.forked; -import org.apache.poi.hssf.record.formula.eval.BoolEval; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.StringEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; -import org.apache.poi.hssf.record.formula.udf.UDFFinder; -import org.apache.poi.hssf.usermodel.HSSFCell; +import org.apache.poi.ss.formula.eval.BoolEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.StringEval; +import org.apache.poi.ss.formula.eval.ValueEval; +import org.apache.poi.ss.formula.udf.UDFFinder; import org.apache.poi.hssf.usermodel.HSSFEvaluationWorkbook; import org.apache.poi.hssf.usermodel.HSSFWorkbook; import org.apache.poi.ss.formula.CollaboratingWorkbooksEnvironment; @@ -31,6 +30,7 @@ import org.apache.poi.ss.formula.Evaluat import org.apache.poi.ss.formula.EvaluationWorkbook; import org.apache.poi.ss.formula.IStabilityClassifier; import org.apache.poi.ss.formula.WorkbookEvaluator; +import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.usermodel.Workbook; /** @@ -113,17 +113,17 @@ public final class ForkedEvaluator { EvaluationCell cell = _sewb.getEvaluationCell(sheetName, rowIndex, columnIndex); switch (cell.getCellType()) { - case HSSFCell.CELL_TYPE_BOOLEAN: + case Cell.CELL_TYPE_BOOLEAN: return BoolEval.valueOf(cell.getBooleanCellValue()); - case HSSFCell.CELL_TYPE_ERROR: + case Cell.CELL_TYPE_ERROR: return ErrorEval.valueOf(cell.getErrorCellValue()); - case HSSFCell.CELL_TYPE_FORMULA: + case Cell.CELL_TYPE_FORMULA: return _evaluator.evaluate(cell); - case HSSFCell.CELL_TYPE_NUMERIC: + case Cell.CELL_TYPE_NUMERIC: return new NumberEval(cell.getNumericCellValue()); - case HSSFCell.CELL_TYPE_STRING: + case Cell.CELL_TYPE_STRING: return new StringEval(cell.getStringCellValue()); - case HSSFCell.CELL_TYPE_BLANK: + case Cell.CELL_TYPE_BLANK: return null; } throw new IllegalStateException("Bad cell type (" + cell.getCellType() + ")"); Modified: poi/trunk/src/java/org/apache/poi/ss/usermodel/CellValue.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/usermodel/CellValue.java?rev=1037436&r1=1037435&r2=1037436&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/usermodel/CellValue.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/usermodel/CellValue.java Sun Nov 21 12:04:56 2010 @@ -17,8 +17,7 @@ package org.apache.poi.ss.usermodel; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.ss.usermodel.Cell; +import org.apache.poi.ss.formula.eval.ErrorEval; /** * Mimics the 'data view' of a cell. This allows formula evaluator Modified: poi/trunk/test-data/spreadsheet/LookupFunctionsTestCaseData.xls URL: http://svn.apache.org/viewvc/poi/trunk/test-data/spreadsheet/LookupFunctionsTestCaseData.xls?rev=1037436&r1=1037435&r2=1037436&view=diff ============================================================================== Binary files - no diff available. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Nov 21 12:10:19 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93220 invoked from network); 21 Nov 2010 12:10:19 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 21 Nov 2010 12:10:19 -0000 Received: (qmail 33795 invoked by uid 500); 21 Nov 2010 12:10:50 -0000 Delivered-To: [email protected] Received: (qmail 33758 invoked by uid 500); 21 Nov 2010 12:10:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.poi.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 33746 invoked by uid 99); 21 Nov 2010 12:10:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Nov 2010 12:10:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Nov 2010 12:10:48 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 2D22F23889F1; Sun, 21 Nov 2010 12:09:34 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1037439 [2/2] - in /poi/trunk/src/java/org/apache/poi/ss: formula/ formula/function/ formula/functions/ formula/udf/ util/ Date: Sun, 21 Nov 2010 12:09:32 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/LookupUtils.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/LookupUtils.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/LookupUtils.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/LookupUtils.java Sun Nov 21 12:09:29 2010 @@ -15,18 +15,18 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.BlankEval; -import org.apache.poi.hssf.record.formula.eval.BoolEval; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.EvaluationException; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.NumericValueEval; -import org.apache.poi.hssf.record.formula.eval.OperandResolver; -import org.apache.poi.hssf.record.formula.eval.RefEval; -import org.apache.poi.hssf.record.formula.eval.StringEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.BlankEval; +import org.apache.poi.ss.formula.eval.BoolEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.EvaluationException; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.NumericValueEval; +import org.apache.poi.ss.formula.eval.OperandResolver; +import org.apache.poi.ss.formula.eval.RefEval; +import org.apache.poi.ss.formula.eval.StringEval; +import org.apache.poi.ss.formula.eval.ValueEval; import org.apache.poi.ss.formula.TwoDEval; /** Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Match.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Match.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Match.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Match.java Sun Nov 21 12:09:29 2010 @@ -15,19 +15,19 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.EvaluationException; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.NumericValueEval; -import org.apache.poi.hssf.record.formula.eval.OperandResolver; -import org.apache.poi.hssf.record.formula.eval.RefEval; -import org.apache.poi.hssf.record.formula.eval.StringEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; -import org.apache.poi.hssf.record.formula.functions.LookupUtils.CompareResult; -import org.apache.poi.hssf.record.formula.functions.LookupUtils.LookupValueComparer; -import org.apache.poi.hssf.record.formula.functions.LookupUtils.ValueVector; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.EvaluationException; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.NumericValueEval; +import org.apache.poi.ss.formula.eval.OperandResolver; +import org.apache.poi.ss.formula.eval.RefEval; +import org.apache.poi.ss.formula.eval.StringEval; +import org.apache.poi.ss.formula.eval.ValueEval; +import org.apache.poi.ss.formula.functions.LookupUtils.CompareResult; +import org.apache.poi.ss.formula.functions.LookupUtils.LookupValueComparer; +import org.apache.poi.ss.formula.functions.LookupUtils.ValueVector; import org.apache.poi.ss.formula.TwoDEval; /** Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/MathX.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/MathX.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/MathX.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/MathX.java Sun Nov 21 12:09:29 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; /** Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/MinaMaxa.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/MinaMaxa.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/MinaMaxa.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/MinaMaxa.java Sun Nov 21 12:09:29 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; /** * @author Amol S. Deshmukh &lt; amolweb at ya hoo dot com &gt; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Mode.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Mode.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Mode.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Mode.java Sun Nov 21 12:09:29 2010 @@ -15,20 +15,20 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import java.util.ArrayList; import java.util.Arrays; import java.util.List; -import org.apache.poi.hssf.record.formula.eval.BlankEval; -import org.apache.poi.hssf.record.formula.eval.BoolEval; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.EvaluationException; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.RefEval; -import org.apache.poi.hssf.record.formula.eval.StringEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.BlankEval; +import org.apache.poi.ss.formula.eval.BoolEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.EvaluationException; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.RefEval; +import org.apache.poi.ss.formula.eval.StringEval; +import org.apache.poi.ss.formula.eval.ValueEval; import org.apache.poi.ss.formula.TwoDEval; /** Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/MultiOperandNumericFunction.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/MultiOperandNumericFunction.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/MultiOperandNumericFunction.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/MultiOperandNumericFunction.java Sun Nov 21 12:09:29 2010 @@ -15,17 +15,17 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.BlankEval; -import org.apache.poi.hssf.record.formula.eval.BoolEval; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.EvaluationException; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.OperandResolver; -import org.apache.poi.hssf.record.formula.eval.RefEval; -import org.apache.poi.hssf.record.formula.eval.StringEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.BlankEval; +import org.apache.poi.ss.formula.eval.BoolEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.EvaluationException; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.OperandResolver; +import org.apache.poi.ss.formula.eval.RefEval; +import org.apache.poi.ss.formula.eval.StringEval; +import org.apache.poi.ss.formula.eval.ValueEval; import org.apache.poi.ss.formula.TwoDEval; /** Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Na.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Na.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Na.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Na.java Sun Nov 21 12:09:29 2010 @@ -15,10 +15,10 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Implementation of Excel function NA() Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/NotImplementedFunction.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/NotImplementedFunction.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/NotImplementedFunction.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/NotImplementedFunction.java Sun Nov 21 12:09:29 2010 @@ -15,9 +15,9 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ValueEval; import org.apache.poi.ss.formula.eval.NotImplementedException; /** Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Now.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Now.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Now.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Now.java Sun Nov 21 12:09:29 2010 @@ -15,12 +15,12 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import java.util.Date; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.ValueEval; import org.apache.poi.ss.usermodel.DateUtil; /** Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Npv.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Npv.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Npv.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Npv.java Sun Nov 21 12:09:29 2010 @@ -15,12 +15,12 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.EvaluationException; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.EvaluationException; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Calculates the net present value of an investment by using a discount rate Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/NumericFunction.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/NumericFunction.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/NumericFunction.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/NumericFunction.java Sun Nov 21 12:09:29 2010 @@ -15,9 +15,9 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.*; +import org.apache.poi.ss.formula.eval.*; /** * @author Amol S. Deshmukh &lt; amolweb at ya hoo dot com &gt; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Odd.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Odd.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Odd.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Odd.java Sun Nov 21 12:09:29 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; /** * @author Amol S. Deshmukh &lt; amolweb at ya hoo dot com &gt; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Offset.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Offset.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Offset.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Offset.java Sun Nov 21 12:09:29 2010 @@ -15,14 +15,14 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.AreaEval; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.EvaluationException; -import org.apache.poi.hssf.record.formula.eval.OperandResolver; -import org.apache.poi.hssf.record.formula.eval.RefEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.AreaEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.EvaluationException; +import org.apache.poi.ss.formula.eval.OperandResolver; +import org.apache.poi.ss.formula.eval.RefEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Implementation for Excel function OFFSET()<p/> * Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Replace.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Replace.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Replace.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Replace.java Sun Nov 21 12:09:29 2010 @@ -15,12 +15,12 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.EvaluationException; -import org.apache.poi.hssf.record.formula.eval.StringEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.EvaluationException; +import org.apache.poi.ss.formula.eval.StringEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * An implementation of the Excel REPLACE() function:<p/> Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/RowFunc.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/RowFunc.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/RowFunc.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/RowFunc.java Sun Nov 21 12:09:29 2010 @@ -15,13 +15,13 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.AreaEval; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.RefEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.AreaEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.RefEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Implementation for the Excel function ROW Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Rows.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Rows.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Rows.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Rows.java Sun Nov 21 12:09:29 2010 @@ -15,12 +15,12 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.RefEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.RefEval; +import org.apache.poi.ss.formula.eval.ValueEval; import org.apache.poi.ss.formula.TwoDEval; /** Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/StatsLib.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/StatsLib.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/StatsLib.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/StatsLib.java Sun Nov 21 12:09:29 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import java.util.Arrays; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Substitute.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Substitute.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Substitute.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Substitute.java Sun Nov 21 12:09:29 2010 @@ -15,12 +15,12 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.EvaluationException; -import org.apache.poi.hssf.record.formula.eval.StringEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.EvaluationException; +import org.apache.poi.ss.formula.eval.StringEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * An implementation of the SUBSTITUTE function:<P/> Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Subtotal.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Subtotal.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Subtotal.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Subtotal.java Sun Nov 21 12:09:29 2010 @@ -15,12 +15,12 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.EvaluationException; -import org.apache.poi.hssf.record.formula.eval.OperandResolver; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.EvaluationException; +import org.apache.poi.ss.formula.eval.OperandResolver; +import org.apache.poi.ss.formula.eval.ValueEval; import org.apache.poi.ss.formula.eval.NotImplementedException; /** Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Sumif.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Sumif.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Sumif.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Sumif.java Sun Nov 21 12:09:29 2010 @@ -15,15 +15,15 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.AreaEval; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.EvaluationException; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.RefEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; -import org.apache.poi.hssf.record.formula.functions.CountUtils.I_MatchPredicate; +import org.apache.poi.ss.formula.eval.AreaEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.EvaluationException; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.RefEval; +import org.apache.poi.ss.formula.eval.ValueEval; +import org.apache.poi.ss.formula.functions.CountUtils.I_MatchPredicate; /** * Implementation for the Excel function SUMIF<p> Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Sumproduct.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Sumproduct.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Sumproduct.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Sumproduct.java Sun Nov 21 12:09:29 2010 @@ -15,17 +15,17 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.AreaEval; -import org.apache.poi.hssf.record.formula.eval.BlankEval; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.EvaluationException; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.NumericValueEval; -import org.apache.poi.hssf.record.formula.eval.RefEval; -import org.apache.poi.hssf.record.formula.eval.StringEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.AreaEval; +import org.apache.poi.ss.formula.eval.BlankEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.EvaluationException; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.NumericValueEval; +import org.apache.poi.ss.formula.eval.RefEval; +import org.apache.poi.ss.formula.eval.StringEval; +import org.apache.poi.ss.formula.eval.ValueEval; import org.apache.poi.ss.formula.TwoDEval; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Sumx2my2.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Sumx2my2.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Sumx2my2.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Sumx2my2.java Sun Nov 21 12:09:29 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; /** Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Sumx2py2.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Sumx2py2.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Sumx2py2.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Sumx2py2.java Sun Nov 21 12:09:29 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; /** Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Sumxmy2.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Sumxmy2.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Sumxmy2.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Sumxmy2.java Sun Nov 21 12:09:29 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; /** * Implementation of Excel function SUMXMY2()<p/> Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/T.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/T.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/T.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/T.java Sun Nov 21 12:09:29 2010 @@ -15,13 +15,13 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.AreaEval; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.RefEval; -import org.apache.poi.hssf.record.formula.eval.StringEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.AreaEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.RefEval; +import org.apache.poi.ss.formula.eval.StringEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Implementation of Excel T() function Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/TextFunction.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/TextFunction.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/TextFunction.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/TextFunction.java Sun Nov 21 12:09:29 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import java.text.DateFormat; import java.text.DecimalFormat; @@ -23,13 +23,13 @@ import java.text.NumberFormat; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.GregorianCalendar; -import org.apache.poi.hssf.record.formula.eval.BoolEval; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.EvaluationException; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.OperandResolver; -import org.apache.poi.hssf.record.formula.eval.StringEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.BoolEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.EvaluationException; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.OperandResolver; +import org.apache.poi.ss.formula.eval.StringEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * @author Amol S. Deshmukh &lt; amolweb at ya hoo dot com &gt; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/TimeFunc.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/TimeFunc.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/TimeFunc.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/TimeFunc.java Sun Nov 21 12:09:29 2010 @@ -15,14 +15,14 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.EvaluationException; -import org.apache.poi.hssf.record.formula.eval.MissingArgEval; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.OperandResolver; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.EvaluationException; +import org.apache.poi.ss.formula.eval.MissingArgEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.OperandResolver; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Implementation for the Excel function TIME @@ -67,7 +67,7 @@ public final class TimeFunc extends Fixe * @return An Excel representation of a time of day. * If the time value represents more than a day, the days are removed from * the result, leaving only the time of day component. - * @throws org.apache.poi.hssf.record.formula.eval.EvaluationException + * @throws org.apache.poi.ss.formula.eval.EvaluationException * If any of the arguments are greater than 32767 or the hours * minutes and seconds when combined form a time value less than 0, the function * evaluates to an error. Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Today.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Today.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Today.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Today.java Sun Nov 21 12:09:29 2010 @@ -15,13 +15,13 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import java.util.Calendar; import java.util.GregorianCalendar; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.ValueEval; import org.apache.poi.ss.usermodel.DateUtil; /** Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Value.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Value.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Value.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Value.java Sun Nov 21 12:09:29 2010 @@ -15,13 +15,13 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.EvaluationException; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.OperandResolver; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.EvaluationException; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.OperandResolver; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Implementation for Excel VALUE() function.<p/> Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Var1or2ArgFunction.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Var1or2ArgFunction.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Var1or2ArgFunction.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Var1or2ArgFunction.java Sun Nov 21 12:09:29 2010 @@ -15,10 +15,10 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Convenience base class for any function which must take two or three Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Var2or3ArgFunction.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Var2or3ArgFunction.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Var2or3ArgFunction.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Var2or3ArgFunction.java Sun Nov 21 12:09:29 2010 @@ -15,10 +15,10 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Convenience base class for any function which must take two or three Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Var3or4ArgFunction.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Var3or4ArgFunction.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Var3or4ArgFunction.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Var3or4ArgFunction.java Sun Nov 21 12:09:29 2010 @@ -15,10 +15,10 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Convenience base class for any function which must take three or four Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Vlookup.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Vlookup.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Vlookup.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Vlookup.java Sun Nov 21 12:09:29 2010 @@ -15,13 +15,13 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.BoolEval; -import org.apache.poi.hssf.record.formula.eval.EvaluationException; -import org.apache.poi.hssf.record.formula.eval.OperandResolver; -import org.apache.poi.hssf.record.formula.eval.ValueEval; -import org.apache.poi.hssf.record.formula.functions.LookupUtils.ValueVector; +import org.apache.poi.ss.formula.eval.BoolEval; +import org.apache.poi.ss.formula.eval.EvaluationException; +import org.apache.poi.ss.formula.eval.OperandResolver; +import org.apache.poi.ss.formula.eval.ValueEval; +import org.apache.poi.ss.formula.functions.LookupUtils.ValueVector; import org.apache.poi.ss.formula.TwoDEval; /** * Implementation of the VLOOKUP() function.<p/> Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/XYNumericFunction.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/XYNumericFunction.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/XYNumericFunction.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/XYNumericFunction.java Sun Nov 21 12:09:29 2010 @@ -15,14 +15,14 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.EvaluationException; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.RefEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; -import org.apache.poi.hssf.record.formula.functions.LookupUtils.ValueVector; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.EvaluationException; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.RefEval; +import org.apache.poi.ss.formula.eval.ValueEval; +import org.apache.poi.ss.formula.functions.LookupUtils.ValueVector; import org.apache.poi.ss.formula.TwoDEval; /** Modified: poi/trunk/src/java/org/apache/poi/ss/formula/udf/AggregatingUDFFinder.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/udf/AggregatingUDFFinder.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/udf/AggregatingUDFFinder.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/udf/AggregatingUDFFinder.java Sun Nov 21 12:09:29 2010 @@ -15,9 +15,9 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.udf; +package org.apache.poi.ss.formula.udf; -import org.apache.poi.hssf.record.formula.functions.FreeRefFunction; +import org.apache.poi.ss.formula.functions.FreeRefFunction; /** * Collects add-in libraries and VB macro functions together into one UDF finder Modified: poi/trunk/src/java/org/apache/poi/ss/formula/udf/DefaultUDFFinder.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/udf/DefaultUDFFinder.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/udf/DefaultUDFFinder.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/udf/DefaultUDFFinder.java Sun Nov 21 12:09:29 2010 @@ -15,12 +15,12 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.udf; +package org.apache.poi.ss.formula.udf; import java.util.HashMap; import java.util.Map; -import org.apache.poi.hssf.record.formula.functions.FreeRefFunction; +import org.apache.poi.ss.formula.functions.FreeRefFunction; /** * Default UDF finder - for adding your own user defined functions. Modified: poi/trunk/src/java/org/apache/poi/ss/formula/udf/UDFFinder.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/udf/UDFFinder.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/udf/UDFFinder.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/udf/UDFFinder.java Sun Nov 21 12:09:29 2010 @@ -15,10 +15,10 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.udf; +package org.apache.poi.ss.formula.udf; -import org.apache.poi.hssf.record.formula.atp.AnalysisToolPak; -import org.apache.poi.hssf.record.formula.functions.FreeRefFunction; +import org.apache.poi.ss.formula.atp.AnalysisToolPak; +import org.apache.poi.ss.formula.functions.FreeRefFunction; /** * Common interface for "Add-in" libraries and user defined function libraries. Modified: poi/trunk/src/java/org/apache/poi/ss/util/CellReference.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/util/CellReference.java?rev=1037439&r1=1037438&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/util/CellReference.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/util/CellReference.java Sun Nov 21 12:09:29 2010 @@ -20,7 +20,7 @@ package org.apache.poi.ss.util; import java.util.regex.Matcher; import java.util.regex.Pattern; -import org.apache.poi.hssf.record.formula.SheetNameFormatter; +import org.apache.poi.ss.formula.SheetNameFormatter; import org.apache.poi.ss.SpreadsheetVersion; import org.apache.poi.ss.usermodel.Cell; Modified: poi/trunk/src/java/org/apache/poi/ss/util/WorkbookUtil.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/util/WorkbookUtil.java?rev=1037439&r1=1037438&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/util/WorkbookUtil.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/util/WorkbookUtil.java Sun Nov 21 12:09:29 2010 @@ -28,7 +28,7 @@ public class WorkbookUtil { /** * Creates a valid sheet name, which is conform to the rules. * In any case, the result safely can be used for - * {@link org.apache.poi.hssf.usermodel.HSSFWorkbook#setSheetName(int, String)}. + * {@link org.apache.poi.ss.usermodel.Workbook#setSheetName(int, String)}. * <br> * Rules: * <ul> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Nov 21 12:10:20 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93284 invoked from network); 21 Nov 2010 12:10:19 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 21 Nov 2010 12:10:19 -0000 Received: (qmail 33851 invoked by uid 500); 21 Nov 2010 12:10:51 -0000 Delivered-To: [email protected] Received: (qmail 33816 invoked by uid 500); 21 Nov 2010 12:10:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.poi.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 33809 invoked by uid 99); 21 Nov 2010 12:10:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Nov 2010 12:10:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Nov 2010 12:10:48 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 290E323888A6; Sun, 21 Nov 2010 12:09:34 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1037439 [1/2] - in /poi/trunk/src/java/org/apache/poi/ss: formula/ formula/function/ formula/functions/ formula/udf/ util/ Date: Sun, 21 Nov 2010 12:09:32 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: yegor Date: Sun Nov 21 12:09:29 2010 New Revision: 1037439 URL: http://svn.apache.org/viewvc?rev=1037439&view=rev Log: moved common formula-related code to org.apache.poi.ss.formula, eliminated dependencies on HSSF, reduced the number of eclipse warnings Added: poi/trunk/src/java/org/apache/poi/ss/formula/FormulaShifter.java - copied, changed from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/FormulaShifter.java poi/trunk/src/java/org/apache/poi/ss/formula/SharedFormula.java - copied, changed from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/SharedFormula.java poi/trunk/src/java/org/apache/poi/ss/formula/SheetNameFormatter.java (contents, props changed) - copied, changed from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/SheetNameFormatter.java poi/trunk/src/java/org/apache/poi/ss/formula/function/ - copied from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/function/ poi/trunk/src/java/org/apache/poi/ss/formula/functions/ - copied from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/functions/ poi/trunk/src/java/org/apache/poi/ss/formula/udf/ - copied from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/udf/ Modified: poi/trunk/src/java/org/apache/poi/ss/formula/CellCacheEntry.java poi/trunk/src/java/org/apache/poi/ss/formula/CellEvaluationFrame.java poi/trunk/src/java/org/apache/poi/ss/formula/EvaluationCache.java poi/trunk/src/java/org/apache/poi/ss/formula/EvaluationCell.java poi/trunk/src/java/org/apache/poi/ss/formula/EvaluationTracker.java poi/trunk/src/java/org/apache/poi/ss/formula/Formula.java poi/trunk/src/java/org/apache/poi/ss/formula/FormulaCellCacheEntry.java poi/trunk/src/java/org/apache/poi/ss/formula/FormulaParser.java poi/trunk/src/java/org/apache/poi/ss/formula/IEvaluationListener.java poi/trunk/src/java/org/apache/poi/ss/formula/IStabilityClassifier.java poi/trunk/src/java/org/apache/poi/ss/formula/LazyAreaEval.java poi/trunk/src/java/org/apache/poi/ss/formula/LazyRefEval.java poi/trunk/src/java/org/apache/poi/ss/formula/OperationEvaluationContext.java poi/trunk/src/java/org/apache/poi/ss/formula/OperationEvaluatorFactory.java poi/trunk/src/java/org/apache/poi/ss/formula/ParseNode.java poi/trunk/src/java/org/apache/poi/ss/formula/PlainValueCellCacheEntry.java poi/trunk/src/java/org/apache/poi/ss/formula/SheetRefEvaluator.java poi/trunk/src/java/org/apache/poi/ss/formula/TwoDEval.java poi/trunk/src/java/org/apache/poi/ss/formula/UserDefinedFunction.java poi/trunk/src/java/org/apache/poi/ss/formula/WorkbookEvaluator.java poi/trunk/src/java/org/apache/poi/ss/formula/function/FunctionDataBuilder.java poi/trunk/src/java/org/apache/poi/ss/formula/function/FunctionMetadata.java poi/trunk/src/java/org/apache/poi/ss/formula/function/FunctionMetadataReader.java poi/trunk/src/java/org/apache/poi/ss/formula/function/FunctionMetadataRegistry.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/AggregateFunction.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/BooleanFunction.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/CalendarFieldFunction.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Choose.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Column.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Columns.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Count.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/CountUtils.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Counta.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Countblank.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Countif.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/DateFunc.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Days360.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Errortype.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Even.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/FinanceFunction.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/FinanceLib.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Fixed0ArgFunction.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Fixed1ArgFunction.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Fixed2ArgFunction.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Fixed3ArgFunction.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Fixed4ArgFunction.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/FreeRefFunction.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Function.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Function0Arg.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Function1Arg.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Function2Arg.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Function3Arg.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Function4Arg.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Hlookup.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Hyperlink.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/IfFunc.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Index.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Indirect.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/LogicalFunction.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Lookup.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/LookupUtils.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Match.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/MathX.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/MinaMaxa.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Mode.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/MultiOperandNumericFunction.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Na.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/NotImplementedFunction.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Now.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Npv.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/NumericFunction.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Odd.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Offset.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Replace.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/RowFunc.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Rows.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/StatsLib.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Substitute.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Subtotal.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Sumif.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Sumproduct.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Sumx2my2.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Sumx2py2.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Sumxmy2.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/T.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/TextFunction.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/TimeFunc.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Today.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Value.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Var1or2ArgFunction.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Var2or3ArgFunction.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Var3or4ArgFunction.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/Vlookup.java poi/trunk/src/java/org/apache/poi/ss/formula/functions/XYNumericFunction.java poi/trunk/src/java/org/apache/poi/ss/formula/udf/AggregatingUDFFinder.java poi/trunk/src/java/org/apache/poi/ss/formula/udf/DefaultUDFFinder.java poi/trunk/src/java/org/apache/poi/ss/formula/udf/UDFFinder.java poi/trunk/src/java/org/apache/poi/ss/util/CellReference.java poi/trunk/src/java/org/apache/poi/ss/util/WorkbookUtil.java Modified: poi/trunk/src/java/org/apache/poi/ss/formula/CellCacheEntry.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/CellCacheEntry.java?rev=1037439&r1=1037438&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/CellCacheEntry.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/CellCacheEntry.java Sun Nov 21 12:09:29 2010 @@ -17,12 +17,12 @@ package org.apache.poi.ss.formula; -import org.apache.poi.hssf.record.formula.eval.BlankEval; -import org.apache.poi.hssf.record.formula.eval.BoolEval; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.StringEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.BlankEval; +import org.apache.poi.ss.formula.eval.BoolEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.StringEval; +import org.apache.poi.ss.formula.eval.ValueEval; import org.apache.poi.ss.formula.IEvaluationListener.ICacheEntry; /** Modified: poi/trunk/src/java/org/apache/poi/ss/formula/CellEvaluationFrame.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/CellEvaluationFrame.java?rev=1037439&r1=1037438&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/CellEvaluationFrame.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/CellEvaluationFrame.java Sun Nov 21 12:09:29 2010 @@ -20,7 +20,7 @@ package org.apache.poi.ss.formula; import java.util.HashSet; import java.util.Set; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Stores details about the current evaluation of a cell.<br/> Modified: poi/trunk/src/java/org/apache/poi/ss/formula/EvaluationCache.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/EvaluationCache.java?rev=1037439&r1=1037438&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/EvaluationCache.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/EvaluationCache.java Sun Nov 21 12:09:29 2010 @@ -17,22 +17,21 @@ package org.apache.poi.ss.formula; -import org.apache.poi.hssf.record.formula.eval.BlankEval; -import org.apache.poi.hssf.record.formula.eval.BoolEval; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.StringEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; -import org.apache.poi.hssf.usermodel.HSSFCell; -import org.apache.poi.hssf.usermodel.HSSFFormulaEvaluator; +import org.apache.poi.ss.formula.eval.BlankEval; +import org.apache.poi.ss.formula.eval.BoolEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.StringEval; +import org.apache.poi.ss.formula.eval.ValueEval; import org.apache.poi.ss.formula.FormulaCellCache.IEntryOperation; import org.apache.poi.ss.formula.FormulaUsedBlankCellSet.BookSheetKey; import org.apache.poi.ss.formula.PlainCellCache.Loc; +import org.apache.poi.ss.usermodel.Cell; /** - * Performance optimisation for {@link HSSFFormulaEvaluator}. This class stores previously - * calculated values of already visited cells, to avoid unnecessary re-calculation when the - * same cells are referenced multiple times + * Performance optimisation for {@link org.apache.poi.ss.usermodel.FormulaEvaluator}. + * This class stores previously calculated values of already visited cells, + * to avoid unnecessary re-calculation when the same cells are referenced multiple times * * @author Josh Micich */ @@ -57,7 +56,7 @@ final class EvaluationCache { Loc loc = new Loc(bookIndex, sheetIndex, rowIndex, columnIndex); PlainValueCellCacheEntry pcce = _plainCellCache.get(loc); - if (cell.getCellType() == HSSFCell.CELL_TYPE_FORMULA) { + if (cell.getCellType() == Cell.CELL_TYPE_FORMULA) { if (fcce == null) { fcce = new FormulaCellCacheEntry(); if (pcce == null) { @@ -198,7 +197,7 @@ final class EvaluationCache { } public void notifyDeleteCell(int bookIndex, int sheetIndex, EvaluationCell cell) { - if (cell.getCellType() == HSSFCell.CELL_TYPE_FORMULA) { + if (cell.getCellType() == Cell.CELL_TYPE_FORMULA) { FormulaCellCacheEntry fcce = _formulaCellCache.remove(cell); if (fcce == null) { // formula cell has not been evaluated yet Modified: poi/trunk/src/java/org/apache/poi/ss/formula/EvaluationCell.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/EvaluationCell.java?rev=1037439&r1=1037438&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/EvaluationCell.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/EvaluationCell.java Sun Nov 21 12:09:29 2010 @@ -17,8 +17,6 @@ package org.apache.poi.ss.formula; -import java.util.HashMap; - /** * Abstracts a cell for the purpose of formula evaluation. This interface represents both formula * and non-formula cells.<br/> @@ -29,7 +27,8 @@ import java.util.HashMap; */ public interface EvaluationCell { /** - * @return an Object that identifies the underlying cell, suitable for use as a key in a {@link HashMap} + * @return an Object that identifies the underlying cell, + * suitable for use as a key in a {@link java.util.HashMap} */ Object getIdentityKey(); Modified: poi/trunk/src/java/org/apache/poi/ss/formula/EvaluationTracker.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/EvaluationTracker.java?rev=1037439&r1=1037438&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/EvaluationTracker.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/EvaluationTracker.java Sun Nov 21 12:09:29 2010 @@ -22,14 +22,13 @@ import java.util.HashSet; import java.util.List; import java.util.Set; -import org.apache.poi.hssf.record.formula.eval.BlankEval; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; -import org.apache.poi.hssf.usermodel.HSSFCell; +import org.apache.poi.ss.formula.eval.BlankEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Instances of this class keep track of multiple dependent cell evaluations due - * to recursive calls to {@link WorkbookEvaluator#evaluate(HSSFCell)} + * to recursive calls to {@link WorkbookEvaluator#evaluate(EvaluationCell)}} * The main purpose of this class is to detect an attempt to evaluate a cell * that is already being evaluated. In other words, it detects circular * references in spreadsheet formulas. Modified: poi/trunk/src/java/org/apache/poi/ss/formula/Formula.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/Formula.java?rev=1037439&r1=1037438&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/Formula.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/Formula.java Sun Nov 21 12:09:29 2010 @@ -19,9 +19,6 @@ package org.apache.poi.ss.formula; import java.util.Arrays; -import org.apache.poi.hssf.record.ArrayRecord; -import org.apache.poi.hssf.record.SharedFormulaRecord; -import org.apache.poi.hssf.record.TableRecord; import org.apache.poi.hssf.record.formula.ExpPtg; import org.apache.poi.hssf.record.formula.Ptg; import org.apache.poi.hssf.record.formula.TblPtg; @@ -165,8 +162,9 @@ public class Formula { } /** - * Gets the locator for the corresponding {@link SharedFormulaRecord}, {@link ArrayRecord} or - * {@link TableRecord} if this formula belongs to such a grouping. The {@link CellReference} + * Gets the locator for the corresponding {@link org.apache.poi.hssf.record.SharedFormulaRecord}, + * {@link org.apache.poi.hssf.record.ArrayRecord} or {@link org.apache.poi.hssf.record.TableRecord} + * if this formula belongs to such a grouping. The {@link CellReference} * returned by this method will match the top left corner of the range of that grouping. * The return value is usually not the same as the location of the cell containing this formula. * Modified: poi/trunk/src/java/org/apache/poi/ss/formula/FormulaCellCacheEntry.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/FormulaCellCacheEntry.java?rev=1037439&r1=1037438&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/FormulaCellCacheEntry.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/FormulaCellCacheEntry.java Sun Nov 21 12:09:29 2010 @@ -21,7 +21,7 @@ import java.util.Collections; import java.util.HashSet; import java.util.Set; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ValueEval; import org.apache.poi.ss.formula.FormulaUsedBlankCellSet.BookSheetKey; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/FormulaParser.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/FormulaParser.java?rev=1037439&r1=1037438&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/FormulaParser.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/FormulaParser.java Sun Nov 21 12:09:29 2010 @@ -23,9 +23,9 @@ import java.util.regex.Pattern; import org.apache.poi.hssf.record.constant.ErrorConstant; import org.apache.poi.hssf.record.formula.*; -import org.apache.poi.hssf.record.formula.function.FunctionMetadata; -import org.apache.poi.hssf.record.formula.function.FunctionMetadataRegistry; -import org.apache.poi.hssf.usermodel.HSSFErrorConstants; +import org.apache.poi.ss.formula.function.FunctionMetadata; +import org.apache.poi.ss.formula.function.FunctionMetadataRegistry; +import org.apache.poi.ss.usermodel.ErrorConstants; import org.apache.poi.ss.SpreadsheetVersion; import org.apache.poi.ss.util.AreaReference; import org.apache.poi.ss.util.CellReference; @@ -1297,13 +1297,13 @@ public final class FormulaParser { case 'V': if(part1.equals("VALUE")) { Match('!'); - return HSSFErrorConstants.ERROR_VALUE; + return ErrorConstants.ERROR_VALUE; } throw expected("#VALUE!"); case 'R': if(part1.equals("REF")) { Match('!'); - return HSSFErrorConstants.ERROR_REF; + return ErrorConstants.ERROR_REF; } throw expected("#REF!"); case 'D': @@ -1311,21 +1311,21 @@ public final class FormulaParser { Match('/'); Match('0'); Match('!'); - return HSSFErrorConstants.ERROR_DIV_0; + return ErrorConstants.ERROR_DIV_0; } throw expected("#DIV/0!"); case 'N': if(part1.equals("NAME")) { Match('?'); // only one that ends in '?' - return HSSFErrorConstants.ERROR_NAME; + return ErrorConstants.ERROR_NAME; } if(part1.equals("NUM")) { Match('!'); - return HSSFErrorConstants.ERROR_NUM; + return ErrorConstants.ERROR_NUM; } if(part1.equals("NULL")) { Match('!'); - return HSSFErrorConstants.ERROR_NULL; + return ErrorConstants.ERROR_NULL; } if(part1.equals("N")) { Match('/'); @@ -1334,7 +1334,7 @@ public final class FormulaParser { } Match(look); // Note - no '!' or '?' suffix - return HSSFErrorConstants.ERROR_NA; + return ErrorConstants.ERROR_NA; } throw expected("#NAME?, #NUM!, #NULL! or #N/A"); Copied: poi/trunk/src/java/org/apache/poi/ss/formula/FormulaShifter.java (from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/FormulaShifter.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/FormulaShifter.java?p2=poi/trunk/src/java/org/apache/poi/ss/formula/FormulaShifter.java&p1=poi/trunk/src/java/org/apache/poi/hssf/record/formula/FormulaShifter.java&r1=1037228&r2=1037439&rev=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/FormulaShifter.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/FormulaShifter.java Sun Nov 21 12:09:29 2010 @@ -15,7 +15,9 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula; + +import org.apache.poi.hssf.record.formula.*; /** Modified: poi/trunk/src/java/org/apache/poi/ss/formula/IEvaluationListener.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/IEvaluationListener.java?rev=1037439&r1=1037438&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/IEvaluationListener.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/IEvaluationListener.java Sun Nov 21 12:09:29 2010 @@ -17,7 +17,7 @@ package org.apache.poi.ss.formula; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Tests can implement this class to track the internal working of the {@link WorkbookEvaluator}.<br/> Modified: poi/trunk/src/java/org/apache/poi/ss/formula/IStabilityClassifier.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/IStabilityClassifier.java?rev=1037439&r1=1037438&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/IStabilityClassifier.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/IStabilityClassifier.java Sun Nov 21 12:09:29 2010 @@ -17,8 +17,6 @@ package org.apache.poi.ss.formula; -import org.apache.poi.hssf.usermodel.HSSFFormulaEvaluator; - /** * Used to help optimise cell evaluation result caching by allowing applications to specify which * parts of a workbook are <em>final</em>.<br/> @@ -49,7 +47,7 @@ import org.apache.poi.hssf.usermodel.HSS * <li>To retain freedom to change any cell definition at any time, an application may classify all * cells as 'not final'. This freedom comes at the expense of greater memory consumption.</li> * <li>For the purpose of these classifications, setting the cached formula result of a cell (for - * example in {@link HSSFFormulaEvaluator#evaluateFormulaCell(org.apache.poi.ss.usermodel.Cell)}) + * example in {@link org.apache.poi.ss.usermodel.FormulaEvaluator#evaluateFormulaCell(org.apache.poi.ss.usermodel.Cell)}) * does not constitute changing the definition of the cell.</li> * <li>Updating cells which have been classified as 'final' will cause the evaluator to behave * unpredictably (typically ignoring the update).</li> Modified: poi/trunk/src/java/org/apache/poi/ss/formula/LazyAreaEval.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/LazyAreaEval.java?rev=1037439&r1=1037438&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/LazyAreaEval.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/LazyAreaEval.java Sun Nov 21 12:09:29 2010 @@ -19,9 +19,9 @@ package org.apache.poi.ss.formula; import org.apache.poi.hssf.record.formula.AreaI; import org.apache.poi.hssf.record.formula.AreaI.OffsetArea; -import org.apache.poi.hssf.record.formula.eval.AreaEval; -import org.apache.poi.hssf.record.formula.eval.AreaEvalBase; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.AreaEval; +import org.apache.poi.ss.formula.eval.AreaEvalBase; +import org.apache.poi.ss.formula.eval.ValueEval; import org.apache.poi.hssf.util.CellReference; /** Modified: poi/trunk/src/java/org/apache/poi/ss/formula/LazyRefEval.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/LazyRefEval.java?rev=1037439&r1=1037438&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/LazyRefEval.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/LazyRefEval.java Sun Nov 21 12:09:29 2010 @@ -19,9 +19,9 @@ package org.apache.poi.ss.formula; import org.apache.poi.hssf.record.formula.AreaI; import org.apache.poi.hssf.record.formula.AreaI.OffsetArea; -import org.apache.poi.hssf.record.formula.eval.AreaEval; -import org.apache.poi.hssf.record.formula.eval.RefEvalBase; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.AreaEval; +import org.apache.poi.ss.formula.eval.RefEvalBase; +import org.apache.poi.ss.formula.eval.ValueEval; import org.apache.poi.hssf.util.CellReference; /** Modified: poi/trunk/src/java/org/apache/poi/ss/formula/OperationEvaluationContext.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/OperationEvaluationContext.java?rev=1037439&r1=1037438&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/OperationEvaluationContext.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/OperationEvaluationContext.java Sun Nov 21 12:09:29 2010 @@ -21,8 +21,8 @@ import org.apache.poi.hssf.record.formul import org.apache.poi.hssf.record.formula.NameXPtg; import org.apache.poi.hssf.record.formula.Ptg; import org.apache.poi.hssf.record.formula.Ref3DPtg; -import org.apache.poi.hssf.record.formula.eval.*; -import org.apache.poi.hssf.record.formula.functions.FreeRefFunction; +import org.apache.poi.ss.formula.eval.*; +import org.apache.poi.ss.formula.functions.FreeRefFunction; import org.apache.poi.ss.SpreadsheetVersion; import org.apache.poi.ss.formula.CollaboratingWorkbooksEnvironment.WorkbookNotFoundException; import org.apache.poi.ss.formula.EvaluationWorkbook.ExternalName; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/OperationEvaluatorFactory.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/OperationEvaluatorFactory.java?rev=1037439&r1=1037438&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/OperationEvaluatorFactory.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/OperationEvaluatorFactory.java Sun Nov 21 12:09:29 2010 @@ -41,19 +41,19 @@ import org.apache.poi.hssf.record.formul import org.apache.poi.hssf.record.formula.SubtractPtg; import org.apache.poi.hssf.record.formula.UnaryMinusPtg; import org.apache.poi.hssf.record.formula.UnaryPlusPtg; -import org.apache.poi.hssf.record.formula.eval.ConcatEval; -import org.apache.poi.hssf.record.formula.eval.FunctionEval; -import org.apache.poi.hssf.record.formula.eval.IntersectionEval; -import org.apache.poi.hssf.record.formula.eval.PercentEval; -import org.apache.poi.hssf.record.formula.eval.RangeEval; -import org.apache.poi.hssf.record.formula.eval.RelationalOperationEval; -import org.apache.poi.hssf.record.formula.eval.TwoOperandNumericOperation; -import org.apache.poi.hssf.record.formula.eval.UnaryMinusEval; -import org.apache.poi.hssf.record.formula.eval.UnaryPlusEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; -import org.apache.poi.hssf.record.formula.function.FunctionMetadataRegistry; -import org.apache.poi.hssf.record.formula.functions.Function; -import org.apache.poi.hssf.record.formula.functions.Indirect; +import org.apache.poi.ss.formula.eval.ConcatEval; +import org.apache.poi.ss.formula.eval.FunctionEval; +import org.apache.poi.ss.formula.eval.IntersectionEval; +import org.apache.poi.ss.formula.eval.PercentEval; +import org.apache.poi.ss.formula.eval.RangeEval; +import org.apache.poi.ss.formula.eval.RelationalOperationEval; +import org.apache.poi.ss.formula.eval.TwoOperandNumericOperation; +import org.apache.poi.ss.formula.eval.UnaryMinusEval; +import org.apache.poi.ss.formula.eval.UnaryPlusEval; +import org.apache.poi.ss.formula.eval.ValueEval; +import org.apache.poi.ss.formula.function.FunctionMetadataRegistry; +import org.apache.poi.ss.formula.functions.Function; +import org.apache.poi.ss.formula.functions.Indirect; /** * This class creates <tt>OperationEval</tt> instances to help evaluate <tt>OperationPtg</tt> Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ParseNode.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ParseNode.java?rev=1037439&r1=1037438&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ParseNode.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ParseNode.java Sun Nov 21 12:09:29 2010 @@ -23,7 +23,7 @@ import org.apache.poi.hssf.record.formul import org.apache.poi.hssf.record.formula.MemAreaPtg; import org.apache.poi.hssf.record.formula.MemFuncPtg; import org.apache.poi.hssf.record.formula.Ptg; -import org.apache.poi.hssf.record.formula.function.FunctionMetadataRegistry; +import org.apache.poi.ss.formula.function.FunctionMetadataRegistry; /** * Represents a syntactic element from a formula by encapsulating the corresponding <tt>Ptg</tt> * token. Each <tt>ParseNode</tt> may have child <tt>ParseNode</tt>s in the case when the wrapped Modified: poi/trunk/src/java/org/apache/poi/ss/formula/PlainValueCellCacheEntry.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/PlainValueCellCacheEntry.java?rev=1037439&r1=1037438&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/PlainValueCellCacheEntry.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/PlainValueCellCacheEntry.java Sun Nov 21 12:09:29 2010 @@ -17,7 +17,7 @@ package org.apache.poi.ss.formula; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Used for non-formula cells, primarily to keep track of the referencing (formula) cells. Copied: poi/trunk/src/java/org/apache/poi/ss/formula/SharedFormula.java (from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/SharedFormula.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/SharedFormula.java?p2=poi/trunk/src/java/org/apache/poi/ss/formula/SharedFormula.java&p1=poi/trunk/src/java/org/apache/poi/hssf/record/formula/SharedFormula.java&r1=1037228&r2=1037439&rev=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/SharedFormula.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/SharedFormula.java Sun Nov 21 12:09:29 2010 @@ -14,8 +14,9 @@ See the License for the specific language governing permissions and limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula; +import org.apache.poi.hssf.record.formula.*; import org.apache.poi.ss.SpreadsheetVersion; /** @@ -33,7 +34,7 @@ public class SharedFormula { /** * Creates a non shared formula from the shared formula counterpart, i.e. - * Converts the shared formula into the equivalent {@link Ptg} array that it would have, + * Converts the shared formula into the equivalent {@link org.apache.poi.hssf.record.formula.Ptg} array that it would have, * were it not shared. * * @param ptgs parsed tokens of the shared formula Copied: poi/trunk/src/java/org/apache/poi/ss/formula/SheetNameFormatter.java (from r1037228, poi/trunk/src/java/org/apache/poi/hssf/record/formula/SheetNameFormatter.java) URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/SheetNameFormatter.java?p2=poi/trunk/src/java/org/apache/poi/ss/formula/SheetNameFormatter.java&p1=poi/trunk/src/java/org/apache/poi/hssf/record/formula/SheetNameFormatter.java&r1=1037228&r2=1037439&rev=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/formula/SheetNameFormatter.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/SheetNameFormatter.java Sun Nov 21 12:09:29 2010 @@ -15,12 +15,12 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula; import java.util.regex.Matcher; import java.util.regex.Pattern; -import org.apache.poi.hssf.util.CellReference; +import org.apache.poi.ss.util.CellReference; import org.apache.poi.ss.SpreadsheetVersion; /** @@ -181,7 +181,7 @@ public final class SheetNameFormatter { * For better or worse this implementation attempts to replicate Excel's formula renderer. * Excel uses range checking on the apparent 'row' and 'column' components. Note however that * the maximum sheet size varies across versions. - * @see org.apache.poi.hssf.util.CellReference + * @see org.apache.poi.ss.util.CellReference */ /* package */ static boolean cellReferenceIsWithinRange(String lettersPrefix, String numbersSuffix) { return CellReference.cellReferenceIsWithinRange(lettersPrefix, numbersSuffix, SpreadsheetVersion.EXCEL97); Propchange: poi/trunk/src/java/org/apache/poi/ss/formula/SheetNameFormatter.java ------------------------------------------------------------------------------ svn:eol-style = native Modified: poi/trunk/src/java/org/apache/poi/ss/formula/SheetRefEvaluator.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/SheetRefEvaluator.java?rev=1037439&r1=1037438&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/SheetRefEvaluator.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/SheetRefEvaluator.java Sun Nov 21 12:09:29 2010 @@ -17,7 +17,7 @@ package org.apache.poi.ss.formula; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * * Modified: poi/trunk/src/java/org/apache/poi/ss/formula/TwoDEval.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/TwoDEval.java?rev=1037439&r1=1037438&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/TwoDEval.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/TwoDEval.java Sun Nov 21 12:09:29 2010 @@ -17,11 +17,11 @@ package org.apache.poi.ss.formula; -import org.apache.poi.hssf.record.formula.eval.AreaEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.AreaEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** - * Common interface of {@link AreaEval} and {@link org.apache.poi.hssf.record.formula.eval.AreaEvalBase} + * Common interface of {@link AreaEval} and {@link org.apache.poi.ss.formula.eval.AreaEvalBase} * * @author Josh Micich */ Modified: poi/trunk/src/java/org/apache/poi/ss/formula/UserDefinedFunction.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/UserDefinedFunction.java?rev=1037439&r1=1037438&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/UserDefinedFunction.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/UserDefinedFunction.java Sun Nov 21 12:09:29 2010 @@ -17,11 +17,10 @@ package org.apache.poi.ss.formula; -import org.apache.poi.hssf.record.formula.eval.NameEval; -import org.apache.poi.hssf.record.formula.eval.NameXEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; -import org.apache.poi.hssf.record.formula.functions.FreeRefFunction; -import org.apache.poi.ss.formula.OperationEvaluationContext; +import org.apache.poi.ss.formula.eval.NameEval; +import org.apache.poi.ss.formula.eval.NameXEval; +import org.apache.poi.ss.formula.eval.ValueEval; +import org.apache.poi.ss.formula.functions.FreeRefFunction; import org.apache.poi.ss.formula.eval.NotImplementedException; /** * Modified: poi/trunk/src/java/org/apache/poi/ss/formula/WorkbookEvaluator.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/WorkbookEvaluator.java?rev=1037439&r1=1037438&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/WorkbookEvaluator.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/WorkbookEvaluator.java Sun Nov 21 12:09:29 2010 @@ -48,23 +48,20 @@ import org.apache.poi.hssf.record.formul import org.apache.poi.hssf.record.formula.StringPtg; import org.apache.poi.hssf.record.formula.UnionPtg; import org.apache.poi.hssf.record.formula.UnknownPtg; -import org.apache.poi.hssf.record.formula.eval.AreaEval; -import org.apache.poi.hssf.record.formula.eval.BlankEval; -import org.apache.poi.hssf.record.formula.eval.BoolEval; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.EvaluationException; -import org.apache.poi.hssf.record.formula.eval.MissingArgEval; -import org.apache.poi.hssf.record.formula.eval.NameEval; -import org.apache.poi.hssf.record.formula.eval.NameXEval; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.OperandResolver; -import org.apache.poi.hssf.record.formula.eval.RefEval; -import org.apache.poi.hssf.record.formula.eval.StringEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; -import org.apache.poi.hssf.record.formula.functions.Choose; -import org.apache.poi.hssf.record.formula.functions.FreeRefFunction; -import org.apache.poi.hssf.record.formula.functions.IfFunc; -import org.apache.poi.hssf.record.formula.udf.UDFFinder; +import org.apache.poi.ss.formula.eval.BlankEval; +import org.apache.poi.ss.formula.eval.BoolEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.EvaluationException; +import org.apache.poi.ss.formula.eval.MissingArgEval; +import org.apache.poi.ss.formula.eval.NameEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.OperandResolver; +import org.apache.poi.ss.formula.eval.StringEval; +import org.apache.poi.ss.formula.eval.ValueEval; +import org.apache.poi.ss.formula.functions.Choose; +import org.apache.poi.ss.formula.functions.FreeRefFunction; +import org.apache.poi.ss.formula.functions.IfFunc; +import org.apache.poi.ss.formula.udf.UDFFinder; import org.apache.poi.hssf.usermodel.HSSFEvaluationWorkbook; import org.apache.poi.hssf.util.CellReference; import org.apache.poi.ss.formula.CollaboratingWorkbooksEnvironment.WorkbookNotFoundException; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/function/FunctionDataBuilder.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/function/FunctionDataBuilder.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/function/FunctionDataBuilder.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/function/FunctionDataBuilder.java Sun Nov 21 12:09:29 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.function; +package org.apache.poi.ss.formula.function; import java.util.HashMap; import java.util.HashSet; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/function/FunctionMetadata.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/function/FunctionMetadata.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/function/FunctionMetadata.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/function/FunctionMetadata.java Sun Nov 21 12:09:29 2010 @@ -15,9 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.function; - -import org.apache.poi.ss.SpreadsheetVersion; +package org.apache.poi.ss.formula.function; /** * Holds information about Excel built-in functions. @@ -77,7 +75,7 @@ public final class FunctionMetadata { * can be passed. Other functions (like SUM) don't have such a limit. For those functions, * the spreadsheet version determines the maximum number of arguments that can be passed. * @return <code>true</code> if this function can the maximum number of arguments allowable by - * the {@link SpreadsheetVersion} + * the {@link org.apache.poi.ss.SpreadsheetVersion} */ public boolean hasUnlimitedVarags() { return FUNCTION_MAX_PARAMS == _maxParams; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/function/FunctionMetadataReader.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/function/FunctionMetadataReader.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/function/FunctionMetadataReader.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/function/FunctionMetadataReader.java Sun Nov 21 12:09:29 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.function; +package org.apache.poi.ss.formula.function; import java.io.BufferedReader; import java.io.IOException; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/function/FunctionMetadataRegistry.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/function/FunctionMetadataRegistry.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/function/FunctionMetadataRegistry.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/function/FunctionMetadataRegistry.java Sun Nov 21 12:09:29 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.function; +package org.apache.poi.ss.formula.function; import java.util.Map; import java.util.Set; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/AggregateFunction.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/AggregateFunction.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/AggregateFunction.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/AggregateFunction.java Sun Nov 21 12:09:29 2010 @@ -15,13 +15,13 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.EvaluationException; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.OperandResolver; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.EvaluationException; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.OperandResolver; +import org.apache.poi.ss.formula.eval.ValueEval; /** * @author Amol S. Deshmukh &lt; amolweb at ya hoo dot com &gt; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/BooleanFunction.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/BooleanFunction.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/BooleanFunction.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/BooleanFunction.java Sun Nov 21 12:09:29 2010 @@ -15,14 +15,14 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.BoolEval; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.EvaluationException; -import org.apache.poi.hssf.record.formula.eval.OperandResolver; -import org.apache.poi.hssf.record.formula.eval.RefEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.BoolEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.EvaluationException; +import org.apache.poi.ss.formula.eval.OperandResolver; +import org.apache.poi.ss.formula.eval.RefEval; +import org.apache.poi.ss.formula.eval.ValueEval; import org.apache.poi.ss.formula.TwoDEval; /** Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/CalendarFieldFunction.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/CalendarFieldFunction.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/CalendarFieldFunction.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/CalendarFieldFunction.java Sun Nov 21 12:09:29 2010 @@ -15,17 +15,17 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import java.util.Calendar; import java.util.Date; import java.util.GregorianCalendar; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.EvaluationException; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.OperandResolver; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.EvaluationException; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.OperandResolver; +import org.apache.poi.ss.formula.eval.ValueEval; import org.apache.poi.ss.usermodel.DateUtil; /** Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Choose.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Choose.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Choose.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Choose.java Sun Nov 21 12:09:29 2010 @@ -15,14 +15,14 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.BlankEval; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.EvaluationException; -import org.apache.poi.hssf.record.formula.eval.MissingArgEval; -import org.apache.poi.hssf.record.formula.eval.OperandResolver; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.BlankEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.EvaluationException; +import org.apache.poi.ss.formula.eval.MissingArgEval; +import org.apache.poi.ss.formula.eval.OperandResolver; +import org.apache.poi.ss.formula.eval.ValueEval; /** * @author Josh Micich Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Column.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Column.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Column.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Column.java Sun Nov 21 12:09:29 2010 @@ -15,13 +15,13 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.AreaEval; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.RefEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.AreaEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.RefEval; +import org.apache.poi.ss.formula.eval.ValueEval; public final class Column implements Function0Arg, Function1Arg { Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Columns.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Columns.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Columns.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Columns.java Sun Nov 21 12:09:29 2010 @@ -15,12 +15,12 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.RefEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.RefEval; +import org.apache.poi.ss.formula.eval.ValueEval; import org.apache.poi.ss.formula.TwoDEval; /** Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Count.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Count.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Count.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Count.java Sun Nov 21 12:09:29 2010 @@ -15,13 +15,13 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.MissingArgEval; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; -import org.apache.poi.hssf.record.formula.functions.CountUtils.I_MatchPredicate; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.MissingArgEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.ValueEval; +import org.apache.poi.ss.formula.functions.CountUtils.I_MatchPredicate; /** * Counts the number of cells that contain numeric data within Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/CountUtils.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/CountUtils.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/CountUtils.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/CountUtils.java Sun Nov 21 12:09:29 2010 @@ -15,10 +15,10 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.RefEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.RefEval; +import org.apache.poi.ss.formula.eval.ValueEval; import org.apache.poi.ss.formula.TwoDEval; /** Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Counta.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Counta.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Counta.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Counta.java Sun Nov 21 12:09:29 2010 @@ -15,13 +15,13 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.BlankEval; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; -import org.apache.poi.hssf.record.formula.functions.CountUtils.I_MatchPredicate; +import org.apache.poi.ss.formula.eval.BlankEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.ValueEval; +import org.apache.poi.ss.formula.functions.CountUtils.I_MatchPredicate; /** * Counts the number of cells that contain data within the list of arguments. Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Countblank.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Countblank.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Countblank.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Countblank.java Sun Nov 21 12:09:29 2010 @@ -15,13 +15,13 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.BlankEval; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.RefEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; -import org.apache.poi.hssf.record.formula.functions.CountUtils.I_MatchPredicate; +import org.apache.poi.ss.formula.eval.BlankEval; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.RefEval; +import org.apache.poi.ss.formula.eval.ValueEval; +import org.apache.poi.ss.formula.functions.CountUtils.I_MatchPredicate; import org.apache.poi.ss.formula.TwoDEval; /** Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Countif.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Countif.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Countif.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Countif.java Sun Nov 21 12:09:29 2010 @@ -15,20 +15,20 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import java.util.regex.Pattern; -import org.apache.poi.hssf.record.formula.eval.BlankEval; -import org.apache.poi.hssf.record.formula.eval.BoolEval; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.EvaluationException; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.OperandResolver; -import org.apache.poi.hssf.record.formula.eval.RefEval; -import org.apache.poi.hssf.record.formula.eval.StringEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; -import org.apache.poi.hssf.record.formula.functions.CountUtils.I_MatchPredicate; +import org.apache.poi.ss.formula.eval.BlankEval; +import org.apache.poi.ss.formula.eval.BoolEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.EvaluationException; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.OperandResolver; +import org.apache.poi.ss.formula.eval.RefEval; +import org.apache.poi.ss.formula.eval.StringEval; +import org.apache.poi.ss.formula.eval.ValueEval; +import org.apache.poi.ss.formula.functions.CountUtils.I_MatchPredicate; import org.apache.poi.ss.formula.TwoDEval; import org.apache.poi.ss.usermodel.ErrorConstants; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/DateFunc.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/DateFunc.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/DateFunc.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/DateFunc.java Sun Nov 21 12:09:29 2010 @@ -15,15 +15,15 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import java.util.Calendar; import java.util.GregorianCalendar; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.EvaluationException; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.EvaluationException; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.ValueEval; import org.apache.poi.ss.usermodel.DateUtil; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Days360.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Days360.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Days360.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Days360.java Sun Nov 21 12:09:29 2010 @@ -14,15 +14,15 @@ See the License for the specific language governing permissions and limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; import java.util.Calendar; import java.util.GregorianCalendar; -import org.apache.poi.hssf.record.formula.eval.EvaluationException; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.OperandResolver; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.EvaluationException; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.OperandResolver; +import org.apache.poi.ss.formula.eval.ValueEval; import org.apache.poi.ss.usermodel.DateUtil; /** Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Errortype.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Errortype.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Errortype.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Errortype.java Sun Nov 21 12:09:29 2010 @@ -15,13 +15,13 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.EvaluationException; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.OperandResolver; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.EvaluationException; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.OperandResolver; +import org.apache.poi.ss.formula.eval.ValueEval; import org.apache.poi.ss.usermodel.ErrorConstants; /** Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Even.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Even.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Even.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Even.java Sun Nov 21 12:09:29 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; /** Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/FinanceFunction.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/FinanceFunction.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/FinanceFunction.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/FinanceFunction.java Sun Nov 21 12:09:29 2010 @@ -15,13 +15,13 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.BoolEval; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.EvaluationException; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.BoolEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.EvaluationException; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * @author Amol S. Deshmukh &lt; amolweb at ya hoo dot com &gt; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/FinanceLib.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/FinanceLib.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/FinanceLib.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/FinanceLib.java Sun Nov 21 12:09:29 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; /** * @author Amol S. Deshmukh &lt; amolweb at ya hoo dot com &gt; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Fixed0ArgFunction.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Fixed0ArgFunction.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Fixed0ArgFunction.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Fixed0ArgFunction.java Sun Nov 21 12:09:29 2010 @@ -15,10 +15,10 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Convenience base class for functions that only take zero arguments. Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Fixed1ArgFunction.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Fixed1ArgFunction.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Fixed1ArgFunction.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Fixed1ArgFunction.java Sun Nov 21 12:09:29 2010 @@ -15,10 +15,10 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Convenience base class for functions that must take exactly one argument. Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Fixed2ArgFunction.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Fixed2ArgFunction.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Fixed2ArgFunction.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Fixed2ArgFunction.java Sun Nov 21 12:09:29 2010 @@ -15,10 +15,10 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Convenience base class for functions that must take exactly two arguments. Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Fixed3ArgFunction.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Fixed3ArgFunction.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Fixed3ArgFunction.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Fixed3ArgFunction.java Sun Nov 21 12:09:29 2010 @@ -15,10 +15,10 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Convenience base class for functions that must take exactly three arguments. Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Fixed4ArgFunction.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Fixed4ArgFunction.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Fixed4ArgFunction.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Fixed4ArgFunction.java Sun Nov 21 12:09:29 2010 @@ -15,10 +15,10 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Convenience base class for functions that must take exactly four arguments. Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/FreeRefFunction.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/FreeRefFunction.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/FreeRefFunction.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/FreeRefFunction.java Sun Nov 21 12:09:29 2010 @@ -15,9 +15,9 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ValueEval; import org.apache.poi.ss.formula.OperationEvaluationContext; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Function.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Function.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Function.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Function.java Sun Nov 21 12:09:29 2010 @@ -15,12 +15,12 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.BlankEval; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.MissingArgEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.BlankEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.MissingArgEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Common interface for all implementations of Excel built-in functions. Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Function0Arg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Function0Arg.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Function0Arg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Function0Arg.java Sun Nov 21 12:09:29 2010 @@ -15,9 +15,9 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Implemented by all functions that can be called with zero arguments Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Function1Arg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Function1Arg.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Function1Arg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Function1Arg.java Sun Nov 21 12:09:29 2010 @@ -15,9 +15,9 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Implemented by all functions that can be called with one argument Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Function2Arg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Function2Arg.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Function2Arg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Function2Arg.java Sun Nov 21 12:09:29 2010 @@ -15,9 +15,9 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Implemented by all functions that can be called with two arguments Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Function3Arg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Function3Arg.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Function3Arg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Function3Arg.java Sun Nov 21 12:09:29 2010 @@ -15,9 +15,9 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Implemented by all functions that can be called with three arguments Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Function4Arg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Function4Arg.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Function4Arg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Function4Arg.java Sun Nov 21 12:09:29 2010 @@ -15,9 +15,9 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Implemented by all functions that can be called with four arguments Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Hlookup.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Hlookup.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Hlookup.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Hlookup.java Sun Nov 21 12:09:29 2010 @@ -15,13 +15,13 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.BoolEval; -import org.apache.poi.hssf.record.formula.eval.EvaluationException; -import org.apache.poi.hssf.record.formula.eval.OperandResolver; -import org.apache.poi.hssf.record.formula.eval.ValueEval; -import org.apache.poi.hssf.record.formula.functions.LookupUtils.ValueVector; +import org.apache.poi.ss.formula.eval.BoolEval; +import org.apache.poi.ss.formula.eval.EvaluationException; +import org.apache.poi.ss.formula.eval.OperandResolver; +import org.apache.poi.ss.formula.eval.ValueEval; +import org.apache.poi.ss.formula.functions.LookupUtils.ValueVector; import org.apache.poi.ss.formula.TwoDEval; /** * Implementation of the HLOOKUP() function.<p/> Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Hyperlink.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Hyperlink.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Hyperlink.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Hyperlink.java Sun Nov 21 12:09:29 2010 @@ -15,10 +15,9 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.StringEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Implementation of Excel HYPERLINK function.<p/> @@ -32,7 +31,7 @@ import org.apache.poi.hssf.record.formul * <b>link_location</b> The URL of the hyperlink <br/> * <b>friendly_name</b> (optional) the value to display<p/> * - * Returns last argument. Leaves type unchanged (does not convert to {@link StringEval}). + * Returns last argument. Leaves type unchanged (does not convert to {@link org.apache.poi.ss.formula.eval.StringEval}). * * @author Wayne Clingingsmith */ Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/IfFunc.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/IfFunc.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/IfFunc.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/IfFunc.java Sun Nov 21 12:09:29 2010 @@ -15,14 +15,14 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.BlankEval; -import org.apache.poi.hssf.record.formula.eval.BoolEval; -import org.apache.poi.hssf.record.formula.eval.EvaluationException; -import org.apache.poi.hssf.record.formula.eval.MissingArgEval; -import org.apache.poi.hssf.record.formula.eval.OperandResolver; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.BlankEval; +import org.apache.poi.ss.formula.eval.BoolEval; +import org.apache.poi.ss.formula.eval.EvaluationException; +import org.apache.poi.ss.formula.eval.MissingArgEval; +import org.apache.poi.ss.formula.eval.OperandResolver; +import org.apache.poi.ss.formula.eval.ValueEval; /** * Implementation for the Excel function IF Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Index.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Index.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Index.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Index.java Sun Nov 21 12:09:29 2010 @@ -15,15 +15,15 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.BlankEval; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.EvaluationException; -import org.apache.poi.hssf.record.formula.eval.MissingArgEval; -import org.apache.poi.hssf.record.formula.eval.OperandResolver; -import org.apache.poi.hssf.record.formula.eval.RefEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.BlankEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.EvaluationException; +import org.apache.poi.ss.formula.eval.MissingArgEval; +import org.apache.poi.ss.formula.eval.OperandResolver; +import org.apache.poi.ss.formula.eval.RefEval; +import org.apache.poi.ss.formula.eval.ValueEval; import org.apache.poi.ss.formula.TwoDEval; /** Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Indirect.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Indirect.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Indirect.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Indirect.java Sun Nov 21 12:09:29 2010 @@ -15,14 +15,14 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.BlankEval; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.EvaluationException; -import org.apache.poi.hssf.record.formula.eval.MissingArgEval; -import org.apache.poi.hssf.record.formula.eval.OperandResolver; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.BlankEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.EvaluationException; +import org.apache.poi.ss.formula.eval.MissingArgEval; +import org.apache.poi.ss.formula.eval.OperandResolver; +import org.apache.poi.ss.formula.eval.ValueEval; import org.apache.poi.ss.formula.OperationEvaluationContext; /** Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/LogicalFunction.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/LogicalFunction.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/LogicalFunction.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/LogicalFunction.java Sun Nov 21 12:09:29 2010 @@ -15,18 +15,18 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.AreaEval; -import org.apache.poi.hssf.record.formula.eval.BlankEval; -import org.apache.poi.hssf.record.formula.eval.BoolEval; -import org.apache.poi.hssf.record.formula.eval.ErrorEval; -import org.apache.poi.hssf.record.formula.eval.EvaluationException; -import org.apache.poi.hssf.record.formula.eval.NumberEval; -import org.apache.poi.hssf.record.formula.eval.OperandResolver; -import org.apache.poi.hssf.record.formula.eval.RefEval; -import org.apache.poi.hssf.record.formula.eval.StringEval; -import org.apache.poi.hssf.record.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.AreaEval; +import org.apache.poi.ss.formula.eval.BlankEval; +import org.apache.poi.ss.formula.eval.BoolEval; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.EvaluationException; +import org.apache.poi.ss.formula.eval.NumberEval; +import org.apache.poi.ss.formula.eval.OperandResolver; +import org.apache.poi.ss.formula.eval.RefEval; +import org.apache.poi.ss.formula.eval.StringEval; +import org.apache.poi.ss.formula.eval.ValueEval; /** * @author Amol S. Deshmukh &lt; amolweb at ya hoo dot com &gt; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/functions/Lookup.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/functions/Lookup.java?rev=1037439&r1=1037228&r2=1037439&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/functions/Lookup.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/functions/Lookup.java Sun Nov 21 12:09:29 2010 @@ -15,12 +15,12 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula.functions; +package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.eval.EvaluationException; -import org.apache.poi.hssf.record.formula.eval.OperandResolver; -import org.apache.poi.hssf.record.formula.eval.ValueEval; -import org.apache.poi.hssf.record.formula.functions.LookupUtils.ValueVector; +import org.apache.poi.ss.formula.eval.EvaluationException; +import org.apache.poi.ss.formula.eval.OperandResolver; +import org.apache.poi.ss.formula.eval.ValueEval; +import org.apache.poi.ss.formula.functions.LookupUtils.ValueVector; import org.apache.poi.ss.formula.TwoDEval; /** --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Nov 22 11:11:06 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 96782 invoked from network); 22 Nov 2010 11:11:06 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 22 Nov 2010 11:11:06 -0000 Received: (qmail 67507 invoked by uid 500); 22 Nov 2010 11:11:37 -0000 Delivered-To: [email protected] Received: (qmail 67418 invoked by uid 500); 22 Nov 2010 11:11:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.poi.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 67287 invoked by uid 99); 22 Nov 2010 11:11:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Nov 2010 11:11:36 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Nov 2010 11:11:34 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B933B238890B; Mon, 22 Nov 2010 11:10:01 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1037670 - /poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/PicturesTable.java Date: Mon, 22 Nov 2010 11:10:01 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: maxcom Date: Mon Nov 22 11:10:01 2010 New Revision: 1037670 URL: http://svn.apache.org/viewvc?rev=1037670&view=rev Log: hwpf: Ignore null argument in PicturesTable.hasPicture Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/PicturesTable.java Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/PicturesTable.java URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/PicturesTable.java?rev=1037670&r1=1037669&r2=1037670&view=diff ============================================================================== --- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/PicturesTable.java (original) +++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/PicturesTable.java Mon Nov 22 11:10:01 2010 @@ -87,6 +87,10 @@ public final class PicturesTable * @param run */ public boolean hasPicture(CharacterRun run) { + if (run==null) { + return false; + } + if (run.isSpecialCharacter() && !run.isObj() && !run.isOle2() && !run.isData()) { // Image should be in it's own run, or in a run with the end-of-special marker if("\u0001".equals(run.text()) || "\u0001\u0015".equals(run.text())) { --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Nov 22 15:18:04 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25571 invoked from network); 22 Nov 2010 15:18:04 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 22 Nov 2010 15:18:04 -0000 Received: (qmail 26319 invoked by uid 500); 22 Nov 2010 15:18:35 -0000 Delivered-To: [email protected] Received: (qmail 26286 invoked by uid 500); 22 Nov 2010 15:18:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.poi.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 26279 invoked by uid 99); 22 Nov 2010 15:18:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Nov 2010 15:18:34 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Nov 2010 15:18:33 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 902E723888CD; Mon, 22 Nov 2010 15:17:01 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1037753 - in /poi/trunk/src: documentation/content/xdocs/ ooxml/java/org/apache/poi/ ooxml/java/org/apache/poi/xssf/eventusermodel/ ooxml/java/org/apache/poi/xssf/extractor/ ooxml/testcases/org/apache/poi/xssf/eventusermodel/ Date: Mon, 22 Nov 2010 15:17:01 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: nick Date: Mon Nov 22 15:16:45 2010 New Revision: 1037753 URL: http://svn.apache.org/viewvc?rev=1037753&view=rev Log: Allow access from XSSFReader to sheet comments and headers/footers (related to bug #50076) Modified: poi/trunk/src/documentation/content/xdocs/status.xml poi/trunk/src/ooxml/java/org/apache/poi/POIXMLTextExtractor.java poi/trunk/src/ooxml/java/org/apache/poi/xssf/eventusermodel/XSSFReader.java poi/trunk/src/ooxml/java/org/apache/poi/xssf/eventusermodel/XSSFSheetXMLHandler.java poi/trunk/src/ooxml/java/org/apache/poi/xssf/extractor/XSSFEventBasedExcelExtractor.java poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/eventusermodel/TestXSSFReader.java Modified: poi/trunk/src/documentation/content/xdocs/status.xml URL: http://svn.apache.org/viewvc/poi/trunk/src/documentation/content/xdocs/status.xml?rev=1037753&r1=1037752&r2=1037753&view=diff ============================================================================== --- poi/trunk/src/documentation/content/xdocs/status.xml (original) +++ poi/trunk/src/documentation/content/xdocs/status.xml Mon Nov 22 15:16:45 2010 @@ -34,6 +34,7 @@ <changes> <release version="3.8-beta1" date="2010-??-??"> + <action dev="poi-developers" type="add">50076 - Allow access from XSSFReader to sheet comments and headers/footers</action> <action dev="poi-developers" type="add">50076 - Refactor XSSFEventBasedExcelExtractor to make it easier for you to have control over outputting the cell contents</action> <action dev="poi-developers" type="fix">50258 - avoid corruption of XSSFWorkbook after applying XSSFRichTextRun#applyFont</action> <action dev="poi-developers" type="fix">50154 - Allow white spaces and unicode in OPC relationship targets </action> Modified: poi/trunk/src/ooxml/java/org/apache/poi/POIXMLTextExtractor.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/POIXMLTextExtractor.java?rev=1037753&r1=1037752&r2=1037753&view=diff ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/POIXMLTextExtractor.java (original) +++ poi/trunk/src/ooxml/java/org/apache/poi/POIXMLTextExtractor.java Mon Nov 22 15:16:45 2010 @@ -20,6 +20,7 @@ package org.apache.poi; import org.apache.poi.POIXMLProperties.CoreProperties; import org.apache.poi.POIXMLProperties.CustomProperties; import org.apache.poi.POIXMLProperties.ExtendedProperties; +import org.apache.poi.openxml4j.opc.OPCPackage; public abstract class POIXMLTextExtractor extends POITextExtractor { /** The POIXMLDocument that's open */ @@ -56,10 +57,16 @@ public abstract class POIXMLTextExtracto /** * Returns opened document */ - public final POIXMLDocument getDocument(){ + public final POIXMLDocument getDocument() { return _document; } + /** + * Returns the opened OPCPackage that contains the document + */ + public OPCPackage getPackage() { + return _document.getPackage(); + } /** * Returns an OOXML properties text extractor for the Modified: poi/trunk/src/ooxml/java/org/apache/poi/xssf/eventusermodel/XSSFReader.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/eventusermodel/XSSFReader.java?rev=1037753&r1=1037752&r2=1037753&view=diff ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/xssf/eventusermodel/XSSFReader.java (original) +++ poi/trunk/src/ooxml/java/org/apache/poi/xssf/eventusermodel/XSSFReader.java Mon Nov 22 15:16:45 2010 @@ -30,8 +30,10 @@ import org.apache.poi.openxml4j.opc.OPCP import org.apache.poi.openxml4j.opc.PackagePart; import org.apache.poi.openxml4j.opc.PackagePartName; import org.apache.poi.openxml4j.opc.PackageRelationship; +import org.apache.poi.openxml4j.opc.PackageRelationshipCollection; import org.apache.poi.openxml4j.opc.PackageRelationshipTypes; import org.apache.poi.openxml4j.opc.PackagingURIHelper; +import org.apache.poi.xssf.model.CommentsTable; import org.apache.poi.xssf.model.SharedStringsTable; import org.apache.poi.xssf.model.StylesTable; import org.apache.poi.xssf.usermodel.XSSFRelation; @@ -155,7 +157,7 @@ public class XSSFReader { * Current CTSheet bean */ private CTSheet ctSheet; - + /** * Iterator over CTSheet objects, returns sheets in <tt>logical</tt> order. * We can't rely on the Ooxml4J's relationship iterator because it returns objects in physical order, @@ -228,7 +230,40 @@ public class XSSFReader { public String getSheetName() { return ctSheet.getName(); } + + /** + * Returns the comments associated with this sheet, + * or null if there aren't any + */ + public CommentsTable getSheetComments() { + PackagePart sheetPkg = getSheetPart(); + + // Do we have a comments relationship? (Only ever one if so) + try { + PackageRelationshipCollection commentsList = + sheetPkg.getRelationshipsByType(XSSFRelation.SHEET_COMMENTS.getRelation()); + if(commentsList.size() > 0) { + PackageRelationship comments = commentsList.getRelationship(0); + PackagePartName commentsName = PackagingURIHelper.createPartName(comments.getTargetURI()); + PackagePart commentsPart = sheetPkg.getPackage().getPart(commentsName); + return new CommentsTable(commentsPart, comments); + } + } catch (InvalidFormatException e) { + return null; + } catch (IOException e) { + return null; + } + return null; + } + + public PackagePart getSheetPart() { + String sheetId = ctSheet.getId(); + return sheetMap.get(sheetId); + } + /** + * We're read only, so remove isn't supported + */ public void remove() { throw new IllegalStateException("Not supported"); } Modified: poi/trunk/src/ooxml/java/org/apache/poi/xssf/eventusermodel/XSSFSheetXMLHandler.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/eventusermodel/XSSFSheetXMLHandler.java?rev=1037753&r1=1037752&r2=1037753&view=diff ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/xssf/eventusermodel/XSSFSheetXMLHandler.java (original) +++ poi/trunk/src/ooxml/java/org/apache/poi/xssf/eventusermodel/XSSFSheetXMLHandler.java Mon Nov 22 15:16:45 2010 @@ -61,6 +61,8 @@ public class XSSFSheetXMLHandler extends private boolean vIsOpen; // Set when F start element is seen private boolean fIsOpen; + // Set when a header/footer element is seen + private boolean hfIsOpen; // Set when cell start element is seen; // used when cell close element is seen. @@ -76,26 +78,39 @@ public class XSSFSheetXMLHandler extends // Gathers characters as they are seen. private StringBuffer value = new StringBuffer(); private StringBuffer formula = new StringBuffer(); + private StringBuffer headerFooter = new StringBuffer(); /** * Accepts objects needed while parsing. * * @param styles Table of styles * @param strings Table of shared strings - * @param cols Minimum number of columns to show - * @param target Sink for output */ public XSSFSheetXMLHandler( StylesTable styles, ReadOnlySharedStringsTable strings, SheetContentsHandler sheetContentsHandler, + DataFormatter dataFormatter, boolean formulasNotResults) { this.stylesTable = styles; this.sharedStringsTable = strings; this.output = sheetContentsHandler; this.formulasNotResults = formulasNotResults; this.nextDataType = xssfDataType.NUMBER; - this.formatter = new DataFormatter(); + this.formatter = dataFormatter; + } + /** + * Accepts objects needed while parsing. + * + * @param styles Table of styles + * @param strings Table of shared strings + */ + public XSSFSheetXMLHandler( + StylesTable styles, + ReadOnlySharedStringsTable strings, + SheetContentsHandler sheetContentsHandler, + boolean formulasNotResults) { + this(styles, strings, sheetContentsHandler, new DataFormatter(), formulasNotResults); } public void startElement(String uri, String localName, String name, @@ -122,6 +137,13 @@ public class XSSFSheetXMLHandler extends fIsOpen = true; } } + else if("oddHeader".equals(name) || "evenHeader".equals(name) || + "firstHeader".equals(name) || "firstFooter".equals(name) || + "oddFooter".equals(name) || "evenFooter".equals(name)) { + hfIsOpen = true; + // Clear contents cache + headerFooter.setLength(0); + } else if("row".equals(name)) { int rowNum = Integer.parseInt(attributes.getValue("r")) - 1; output.startRow(rowNum); @@ -222,6 +244,16 @@ public class XSSFSheetXMLHandler extends } else if ("row".equals(name)) { output.endRow(); } + else if("oddHeader".equals(name) || "evenHeader".equals(name) || + "firstHeader".equals(name)) { + hfIsOpen = false; + output.headerFooter(headerFooter.toString(), true, name); + } + else if("oddFooter".equals(name) || "evenFooter".equals(name) || + "firstFooter".equals(name)) { + hfIsOpen = false; + output.headerFooter(headerFooter.toString(), false, name); + } } /** @@ -236,6 +268,9 @@ public class XSSFSheetXMLHandler extends if (fIsOpen) { formula.append(ch, start, length); } + if (hfIsOpen) { + headerFooter.append(ch, start, length); + } } /** @@ -249,5 +284,7 @@ public class XSSFSheetXMLHandler extends public void endRow(); /** A cell, with the given formatted value, was encountered */ public void cell(String cellReference, String formattedValue); + /** A header or footer has been encountered */ + public void headerFooter(String text, boolean isHeader, String tagName); } } Modified: poi/trunk/src/ooxml/java/org/apache/poi/xssf/extractor/XSSFEventBasedExcelExtractor.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/extractor/XSSFEventBasedExcelExtractor.java?rev=1037753&r1=1037752&r2=1037753&view=diff ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/xssf/extractor/XSSFEventBasedExcelExtractor.java (original) +++ poi/trunk/src/ooxml/java/org/apache/poi/xssf/extractor/XSSFEventBasedExcelExtractor.java Mon Nov 22 15:16:45 2010 @@ -18,14 +18,20 @@ package org.apache.poi.xssf.extractor; import java.io.IOException; import java.io.InputStream; +import java.util.Locale; import javax.xml.parsers.ParserConfigurationException; import javax.xml.parsers.SAXParser; import javax.xml.parsers.SAXParserFactory; +import org.apache.poi.POIXMLProperties; import org.apache.poi.POIXMLTextExtractor; +import org.apache.poi.POIXMLProperties.CoreProperties; +import org.apache.poi.POIXMLProperties.CustomProperties; +import org.apache.poi.POIXMLProperties.ExtendedProperties; import org.apache.poi.openxml4j.exceptions.OpenXML4JException; import org.apache.poi.openxml4j.opc.OPCPackage; +import org.apache.poi.ss.usermodel.DataFormatter; import org.apache.poi.xssf.eventusermodel.ReadOnlySharedStringsTable; import org.apache.poi.xssf.eventusermodel.XSSFReader; import org.apache.poi.xssf.eventusermodel.XSSFSheetXMLHandler; @@ -43,6 +49,9 @@ import org.xml.sax.XMLReader; */ public class XSSFEventBasedExcelExtractor extends POIXMLTextExtractor { private OPCPackage container; + private POIXMLProperties properties; + + private Locale locale; private boolean includeSheetNames = true; private boolean formulasNotResults = false; @@ -52,6 +61,8 @@ public class XSSFEventBasedExcelExtracto public XSSFEventBasedExcelExtractor(OPCPackage container) throws XmlException, OpenXML4JException, IOException { super(null); this.container = container; + + properties = new POIXMLProperties(container); } public static void main(String[] args) throws Exception { @@ -79,22 +90,64 @@ public class XSSFEventBasedExcelExtracto this.formulasNotResults = formulasNotResults; } + public void setLocale(Locale locale) { + this.locale = locale; + } + + /** + * Returns the opened OPCPackage container. + */ + @Override + public OPCPackage getPackage() { + return container; + } + + /** + * Returns the core document properties + */ + @Override + public CoreProperties getCoreProperties() { + return properties.getCoreProperties(); + } + /** + * Returns the extended document properties + */ + @Override + public ExtendedProperties getExtendedProperties() { + return properties.getExtendedProperties(); + } + /** + * Returns the custom document properties + */ + @Override + public CustomProperties getCustomProperties() { + return properties.getCustomProperties(); + } + /** * Processes the given sheet */ public void processSheet( - SheetTextExtractor sheetExtractor, + SheetContentsHandler sheetContentsExtractor, StylesTable styles, ReadOnlySharedStringsTable strings, InputStream sheetInputStream) throws IOException, SAXException { + DataFormatter formatter; + if(locale == null) { + formatter = new DataFormatter(); + } else { + formatter = new DataFormatter(locale); + } + InputSource sheetSource = new InputSource(sheetInputStream); SAXParserFactory saxFactory = SAXParserFactory.newInstance(); try { SAXParser saxParser = saxFactory.newSAXParser(); XMLReader sheetParser = saxParser.getXMLReader(); - ContentHandler handler = new XSSFSheetXMLHandler(styles, strings, sheetExtractor, formulasNotResults); + ContentHandler handler = new XSSFSheetXMLHandler( + styles, strings, sheetContentsExtractor, formatter, formulasNotResults); sheetParser.setContentHandler(handler); sheetParser.parse(sheetSource); } catch(ParserConfigurationException e) { @@ -162,5 +215,9 @@ public class XSSFEventBasedExcelExtracto } output.append(formattedValue); } + + public void headerFooter(String text, boolean isHeader, String tagName) { + // We don't include headers in the output yet, so ignore + } } } Modified: poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/eventusermodel/TestXSSFReader.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/eventusermodel/TestXSSFReader.java?rev=1037753&r1=1037752&r2=1037753&view=diff ============================================================================== --- poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/eventusermodel/TestXSSFReader.java (original) +++ poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/eventusermodel/TestXSSFReader.java Mon Nov 22 15:16:45 2010 @@ -25,6 +25,7 @@ import junit.framework.TestCase; import org.apache.poi.openxml4j.opc.OPCPackage; import org.apache.poi.util.IOUtils; import org.apache.poi.xssf.XSSFTestDataSamples; +import org.apache.poi.xssf.model.CommentsTable; import org.apache.poi.xssf.usermodel.XSSFRichTextString; import org.apache.poi.POIDataSamples; @@ -117,6 +118,28 @@ public final class TestXSSFReader extend assertEquals(4, count); } + public void testComments() throws Exception { + OPCPackage pkg = XSSFTestDataSamples.openSamplePackage("comments.xlsx"); + XSSFReader r = new XSSFReader(pkg); + XSSFReader.SheetIterator it = (XSSFReader.SheetIterator)r.getSheetsData(); + + int count = 0; + while(it.hasNext()) { + count++; + InputStream inp = it.next(); + inp.close(); + + if(count == 1) { + assertNotNull(it.getSheetComments()); + CommentsTable ct = it.getSheetComments(); + assertEquals(1, ct.getNumberOfAuthors()); + assertEquals(3, ct.getNumberOfComments()); + } else { + assertNull(it.getSheetComments()); + } + } + assertEquals(3, count); + } /** * Iterating over a workbook with chart sheets in it, using the --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Nov 23 13:05:05 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80062 invoked from network); 23 Nov 2010 13:05:05 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 23 Nov 2010 13:05:05 -0000 Received: (qmail 36575 invoked by uid 500); 23 Nov 2010 13:05:36 -0000 Delivered-To: [email protected] Received: (qmail 36544 invoked by uid 500); 23 Nov 2010 13:05:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.poi.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 36537 invoked by uid 99); 23 Nov 2010 13:05:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Nov 2010 13:05:35 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Nov 2010 13:05:35 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id BCA2623888CD; Tue, 23 Nov 2010 13:04:03 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1038095 - /poi/trunk/src/ooxml/java/org/apache/poi/xssf/eventusermodel/XSSFSheetXMLHandler.java Date: Tue, 23 Nov 2010 13:04:03 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: nick Date: Tue Nov 23 13:04:03 2010 New Revision: 1038095 URL: http://svn.apache.org/viewvc?rev=1038095&view=rev Log: Stub out a bit more for XSSF event processing of shared formulas, and only warn about them if the formula is a shared-child + the user actually wants the values Modified: poi/trunk/src/ooxml/java/org/apache/poi/xssf/eventusermodel/XSSFSheetXMLHandler.java Modified: poi/trunk/src/ooxml/java/org/apache/poi/xssf/eventusermodel/XSSFSheetXMLHandler.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/eventusermodel/XSSFSheetXMLHandler.java?rev=1038095&r1=1038094&r2=1038095&view=diff ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/xssf/eventusermodel/XSSFSheetXMLHandler.java (original) +++ poi/trunk/src/ooxml/java/org/apache/poi/xssf/eventusermodel/XSSFSheetXMLHandler.java Tue Nov 23 13:04:03 2010 @@ -130,9 +130,27 @@ public class XSSFSheetXMLHandler extends } // Decide where to get the formula string from - String type = attributes.getValue("t"); + String type = attributes.getValue("t"); if(type != null && type.equals("shared")) { - System.err.println("Warning - shared formulas not yet supported!"); + // Is it the one that defines the shared, or uses it? + String ref = attributes.getValue("ref"); + String si = attributes.getValue("si"); + + if(ref != null) { + // This one defines it + // TODO Save it somewhere + fIsOpen = true; + } else { + // This one uses a shared formula + // TODO Retrieve the shared formula and tweak it to + // match the current cell + if(formulasNotResults) { + System.err.println("Warning - shared formulas not yet supported!"); + } else { + // It's a shared formula, so we can't get at the formula string yet + // However, they don't care about the formula string, so that's ok! + } + } } else { fIsOpen = true; } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Nov 24 16:47:12 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76352 invoked from network); 24 Nov 2010 16:47:12 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 24 Nov 2010 16:47:12 -0000 Received: (qmail 66019 invoked by uid 500); 24 Nov 2010 16:47:43 -0000 Delivered-To: [email protected] Received: (qmail 65990 invoked by uid 500); 24 Nov 2010 16:47:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.poi.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 65983 invoked by uid 99); 24 Nov 2010 16:47:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Nov 2010 16:47:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Nov 2010 16:47:37 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 55B5523888E8; Wed, 24 Nov 2010 16:46:04 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1038683 - in /poi/trunk/src/java/org/apache/poi/hssf: dev/ model/ record/ record/aggregates/ record/chart/ record/constant/ record/formula/ usermodel/ Date: Wed, 24 Nov 2010 16:46:03 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: yegor Date: Wed Nov 24 16:46:02 2010 New Revision: 1038683 URL: http://svn.apache.org/viewvc?rev=1038683&view=rev Log: moved ptg classes to org.apache.poi.ss.formula.ptg Removed: poi/trunk/src/java/org/apache/poi/hssf/record/constant/ poi/trunk/src/java/org/apache/poi/hssf/record/formula/ Modified: poi/trunk/src/java/org/apache/poi/hssf/dev/FormulaViewer.java poi/trunk/src/java/org/apache/poi/hssf/model/HSSFFormulaParser.java poi/trunk/src/java/org/apache/poi/hssf/model/InternalWorkbook.java poi/trunk/src/java/org/apache/poi/hssf/model/LinkTable.java poi/trunk/src/java/org/apache/poi/hssf/record/ArrayRecord.java poi/trunk/src/java/org/apache/poi/hssf/record/CFRuleRecord.java poi/trunk/src/java/org/apache/poi/hssf/record/CRNRecord.java poi/trunk/src/java/org/apache/poi/hssf/record/DVRecord.java poi/trunk/src/java/org/apache/poi/hssf/record/EmbeddedObjectRefSubRecord.java poi/trunk/src/java/org/apache/poi/hssf/record/ExternalNameRecord.java poi/trunk/src/java/org/apache/poi/hssf/record/FormulaRecord.java poi/trunk/src/java/org/apache/poi/hssf/record/LbsDataSubRecord.java poi/trunk/src/java/org/apache/poi/hssf/record/NameRecord.java poi/trunk/src/java/org/apache/poi/hssf/record/SharedFormulaRecord.java poi/trunk/src/java/org/apache/poi/hssf/record/TableRecord.java poi/trunk/src/java/org/apache/poi/hssf/record/TextObjectRecord.java poi/trunk/src/java/org/apache/poi/hssf/record/aggregates/CFRecordsAggregate.java poi/trunk/src/java/org/apache/poi/hssf/record/aggregates/FormulaRecordAggregate.java poi/trunk/src/java/org/apache/poi/hssf/record/aggregates/SharedValueManager.java poi/trunk/src/java/org/apache/poi/hssf/record/aggregates/ValueRecordsAggregate.java poi/trunk/src/java/org/apache/poi/hssf/record/chart/LinkedDataRecord.java poi/trunk/src/java/org/apache/poi/hssf/usermodel/DVConstraint.java poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFCell.java poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFConditionalFormattingRule.java poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFEvaluationWorkbook.java poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFName.java poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java Modified: poi/trunk/src/java/org/apache/poi/hssf/dev/FormulaViewer.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/dev/FormulaViewer.java?rev=1038683&r1=1038682&r2=1038683&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/dev/FormulaViewer.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/dev/FormulaViewer.java Wed Nov 24 16:46:02 2010 @@ -24,10 +24,10 @@ import org.apache.poi.hssf.model.HSSFFor import org.apache.poi.hssf.record.FormulaRecord; import org.apache.poi.hssf.record.Record; import org.apache.poi.hssf.record.RecordFactory; -import org.apache.poi.hssf.record.formula.ExpPtg; -import org.apache.poi.hssf.record.formula.FuncPtg; -import org.apache.poi.hssf.record.formula.OperationPtg; -import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.ss.formula.ptg.ExpPtg; +import org.apache.poi.ss.formula.ptg.FuncPtg; +import org.apache.poi.ss.formula.ptg.OperationPtg; +import org.apache.poi.ss.formula.ptg.Ptg; import org.apache.poi.hssf.usermodel.HSSFWorkbook; import org.apache.poi.poifs.filesystem.POIFSFileSystem; Modified: poi/trunk/src/java/org/apache/poi/hssf/model/HSSFFormulaParser.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/model/HSSFFormulaParser.java?rev=1038683&r1=1038682&r2=1038683&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/model/HSSFFormulaParser.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/model/HSSFFormulaParser.java Wed Nov 24 16:46:02 2010 @@ -17,7 +17,7 @@ package org.apache.poi.hssf.model; -import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.ss.formula.ptg.Ptg; import org.apache.poi.hssf.usermodel.HSSFEvaluationWorkbook; import org.apache.poi.hssf.usermodel.HSSFWorkbook; import org.apache.poi.ss.formula.FormulaParseException; Modified: poi/trunk/src/java/org/apache/poi/hssf/model/InternalWorkbook.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/model/InternalWorkbook.java?rev=1038683&r1=1038682&r2=1038683&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/model/InternalWorkbook.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/model/InternalWorkbook.java Wed Nov 24 16:46:02 2010 @@ -81,9 +81,9 @@ import org.apache.poi.hssf.record.Window import org.apache.poi.hssf.record.WriteAccessRecord; import org.apache.poi.hssf.record.WriteProtectRecord; import org.apache.poi.hssf.record.common.UnicodeString; -import org.apache.poi.hssf.record.formula.NameXPtg; +import org.apache.poi.ss.formula.ptg.NameXPtg; import org.apache.poi.ss.formula.FormulaShifter; -import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.ss.formula.ptg.Ptg; import org.apache.poi.hssf.util.HSSFColor; import org.apache.poi.ss.formula.EvaluationWorkbook.ExternalName; import org.apache.poi.ss.formula.EvaluationWorkbook.ExternalSheet; Modified: poi/trunk/src/java/org/apache/poi/hssf/model/LinkTable.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/model/LinkTable.java?rev=1038683&r1=1038682&r2=1038683&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/model/LinkTable.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/model/LinkTable.java Wed Nov 24 16:46:02 2010 @@ -31,9 +31,9 @@ import org.apache.poi.hssf.record.NameCo import org.apache.poi.hssf.record.NameRecord; import org.apache.poi.hssf.record.Record; import org.apache.poi.hssf.record.SupBookRecord; -import org.apache.poi.hssf.record.formula.Area3DPtg; -import org.apache.poi.hssf.record.formula.NameXPtg; -import org.apache.poi.hssf.record.formula.Ref3DPtg; +import org.apache.poi.ss.formula.ptg.Area3DPtg; +import org.apache.poi.ss.formula.ptg.NameXPtg; +import org.apache.poi.ss.formula.ptg.Ref3DPtg; /** * Link Table (OOO pdf reference: 4.10.3 ) <p/> Modified: poi/trunk/src/java/org/apache/poi/hssf/record/ArrayRecord.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/ArrayRecord.java?rev=1038683&r1=1038682&r2=1038683&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/ArrayRecord.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/ArrayRecord.java Wed Nov 24 16:46:02 2010 @@ -17,7 +17,7 @@ package org.apache.poi.hssf.record; -import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.ss.formula.ptg.Ptg; import org.apache.poi.hssf.util.CellRangeAddress8Bit; import org.apache.poi.ss.formula.Formula; import org.apache.poi.util.HexDump; Modified: poi/trunk/src/java/org/apache/poi/hssf/record/CFRuleRecord.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/CFRuleRecord.java?rev=1038683&r1=1038682&r2=1038683&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/CFRuleRecord.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/CFRuleRecord.java Wed Nov 24 16:46:02 2010 @@ -21,7 +21,7 @@ import org.apache.poi.hssf.model.HSSFFor import org.apache.poi.hssf.record.cf.BorderFormatting; import org.apache.poi.hssf.record.cf.FontFormatting; import org.apache.poi.hssf.record.cf.PatternFormatting; -import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.ss.formula.ptg.Ptg; import org.apache.poi.hssf.usermodel.HSSFSheet; import org.apache.poi.ss.formula.Formula; import org.apache.poi.ss.formula.FormulaType; Modified: poi/trunk/src/java/org/apache/poi/hssf/record/CRNRecord.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/CRNRecord.java?rev=1038683&r1=1038682&r2=1038683&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/CRNRecord.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/CRNRecord.java Wed Nov 24 16:46:02 2010 @@ -17,7 +17,7 @@ package org.apache.poi.hssf.record; -import org.apache.poi.hssf.record.constant.ConstantValueParser; +import org.apache.poi.ss.formula.constant.ConstantValueParser; import org.apache.poi.util.LittleEndianOutput; /** Modified: poi/trunk/src/java/org/apache/poi/hssf/record/DVRecord.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/DVRecord.java?rev=1038683&r1=1038682&r2=1038683&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/DVRecord.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/DVRecord.java Wed Nov 24 16:46:02 2010 @@ -18,7 +18,7 @@ package org.apache.poi.hssf.record; import org.apache.poi.hssf.record.common.UnicodeString; -import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.ss.formula.ptg.Ptg; import org.apache.poi.hssf.usermodel.HSSFDataValidation; import org.apache.poi.ss.formula.Formula; import org.apache.poi.ss.util.CellRangeAddress; Modified: poi/trunk/src/java/org/apache/poi/hssf/record/EmbeddedObjectRefSubRecord.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/EmbeddedObjectRefSubRecord.java?rev=1038683&r1=1038682&r2=1038683&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/EmbeddedObjectRefSubRecord.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/EmbeddedObjectRefSubRecord.java Wed Nov 24 16:46:02 2010 @@ -19,11 +19,11 @@ package org.apache.poi.hssf.record; import java.io.ByteArrayInputStream; -import org.apache.poi.hssf.record.formula.Area3DPtg; -import org.apache.poi.hssf.record.formula.AreaPtg; -import org.apache.poi.hssf.record.formula.Ptg; -import org.apache.poi.hssf.record.formula.Ref3DPtg; -import org.apache.poi.hssf.record.formula.RefPtg; +import org.apache.poi.ss.formula.ptg.Area3DPtg; +import org.apache.poi.ss.formula.ptg.AreaPtg; +import org.apache.poi.ss.formula.ptg.Ptg; +import org.apache.poi.ss.formula.ptg.Ref3DPtg; +import org.apache.poi.ss.formula.ptg.RefPtg; import org.apache.poi.util.HexDump; import org.apache.poi.util.LittleEndian; import org.apache.poi.util.LittleEndianInput; Modified: poi/trunk/src/java/org/apache/poi/hssf/record/ExternalNameRecord.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/ExternalNameRecord.java?rev=1038683&r1=1038682&r2=1038683&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/ExternalNameRecord.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/ExternalNameRecord.java Wed Nov 24 16:46:02 2010 @@ -17,7 +17,7 @@ package org.apache.poi.hssf.record; -import org.apache.poi.hssf.record.constant.ConstantValueParser; +import org.apache.poi.ss.formula.constant.ConstantValueParser; import org.apache.poi.ss.formula.Formula; import org.apache.poi.util.LittleEndianOutput; import org.apache.poi.util.StringUtil; Modified: poi/trunk/src/java/org/apache/poi/hssf/record/FormulaRecord.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/FormulaRecord.java?rev=1038683&r1=1038682&r2=1038683&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/FormulaRecord.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/FormulaRecord.java Wed Nov 24 16:46:02 2010 @@ -17,7 +17,7 @@ package org.apache.poi.hssf.record; -import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.ss.formula.ptg.Ptg; import org.apache.poi.ss.formula.eval.ErrorEval; import org.apache.poi.hssf.usermodel.HSSFCell; import org.apache.poi.ss.formula.Formula; Modified: poi/trunk/src/java/org/apache/poi/hssf/record/LbsDataSubRecord.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/LbsDataSubRecord.java?rev=1038683&r1=1038682&r2=1038683&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/LbsDataSubRecord.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/LbsDataSubRecord.java Wed Nov 24 16:46:02 2010 @@ -16,7 +16,7 @@ ==================================================================== */ package org.apache.poi.hssf.record; -import org.apache.poi.hssf.record.formula.*; +import org.apache.poi.ss.formula.ptg.*; import org.apache.poi.util.*; /** Modified: poi/trunk/src/java/org/apache/poi/hssf/record/NameRecord.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/NameRecord.java?rev=1038683&r1=1038682&r2=1038683&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/NameRecord.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/NameRecord.java Wed Nov 24 16:46:02 2010 @@ -17,9 +17,9 @@ package org.apache.poi.hssf.record; -import org.apache.poi.hssf.record.formula.Area3DPtg; -import org.apache.poi.hssf.record.formula.Ptg; -import org.apache.poi.hssf.record.formula.Ref3DPtg; +import org.apache.poi.ss.formula.ptg.Area3DPtg; +import org.apache.poi.ss.formula.ptg.Ptg; +import org.apache.poi.ss.formula.ptg.Ref3DPtg; import org.apache.poi.ss.formula.Formula; import org.apache.poi.util.HexDump; import org.apache.poi.util.LittleEndianInput; Modified: poi/trunk/src/java/org/apache/poi/hssf/record/SharedFormulaRecord.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/SharedFormulaRecord.java?rev=1038683&r1=1038682&r2=1038683&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/SharedFormulaRecord.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/SharedFormulaRecord.java Wed Nov 24 16:46:02 2010 @@ -17,7 +17,7 @@ package org.apache.poi.hssf.record; -import org.apache.poi.hssf.record.formula.*; +import org.apache.poi.ss.formula.ptg.*; import org.apache.poi.hssf.util.CellRangeAddress8Bit; import org.apache.poi.ss.formula.Formula; import org.apache.poi.ss.SpreadsheetVersion; Modified: poi/trunk/src/java/org/apache/poi/hssf/record/TableRecord.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/TableRecord.java?rev=1038683&r1=1038682&r2=1038683&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/TableRecord.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/TableRecord.java Wed Nov 24 16:46:02 2010 @@ -17,7 +17,7 @@ package org.apache.poi.hssf.record; -import org.apache.poi.hssf.record.formula.TblPtg; +import org.apache.poi.ss.formula.ptg.TblPtg; import org.apache.poi.hssf.util.CellRangeAddress8Bit; import org.apache.poi.hssf.util.CellReference; import org.apache.poi.util.BitField; Modified: poi/trunk/src/java/org/apache/poi/hssf/record/TextObjectRecord.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/TextObjectRecord.java?rev=1038683&r1=1038682&r2=1038683&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/TextObjectRecord.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/TextObjectRecord.java Wed Nov 24 16:46:02 2010 @@ -19,8 +19,8 @@ package org.apache.poi.hssf.record; import org.apache.poi.hssf.record.cont.ContinuableRecord; import org.apache.poi.hssf.record.cont.ContinuableRecordOutput; -import org.apache.poi.hssf.record.formula.OperandPtg; -import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.ss.formula.ptg.OperandPtg; +import org.apache.poi.ss.formula.ptg.Ptg; import org.apache.poi.hssf.usermodel.HSSFRichTextString; import org.apache.poi.util.BitField; import org.apache.poi.util.BitFieldFactory; Modified: poi/trunk/src/java/org/apache/poi/hssf/record/aggregates/CFRecordsAggregate.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/aggregates/CFRecordsAggregate.java?rev=1038683&r1=1038682&r2=1038683&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/aggregates/CFRecordsAggregate.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/aggregates/CFRecordsAggregate.java Wed Nov 24 16:46:02 2010 @@ -24,10 +24,10 @@ import org.apache.poi.hssf.model.RecordS import org.apache.poi.hssf.record.CFHeaderRecord; import org.apache.poi.hssf.record.CFRuleRecord; import org.apache.poi.hssf.record.Record; -import org.apache.poi.hssf.record.formula.AreaErrPtg; -import org.apache.poi.hssf.record.formula.AreaPtg; +import org.apache.poi.ss.formula.ptg.AreaErrPtg; +import org.apache.poi.ss.formula.ptg.AreaPtg; import org.apache.poi.ss.formula.FormulaShifter; -import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.ss.formula.ptg.Ptg; import org.apache.poi.ss.util.CellRangeAddress; /** Modified: poi/trunk/src/java/org/apache/poi/hssf/record/aggregates/FormulaRecordAggregate.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/aggregates/FormulaRecordAggregate.java?rev=1038683&r1=1038682&r2=1038683&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/aggregates/FormulaRecordAggregate.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/aggregates/FormulaRecordAggregate.java Wed Nov 24 16:46:02 2010 @@ -24,10 +24,10 @@ import org.apache.poi.hssf.record.Record import org.apache.poi.hssf.record.RecordFormatException; import org.apache.poi.hssf.record.SharedFormulaRecord; import org.apache.poi.hssf.record.StringRecord; -import org.apache.poi.hssf.record.formula.ExpPtg; -import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.ss.formula.ptg.ExpPtg; +import org.apache.poi.ss.formula.ptg.Ptg; import org.apache.poi.hssf.util.CellRangeAddress8Bit; -import org.apache.poi.hssf.util.CellReference; +import org.apache.poi.ss.util.CellReference; import org.apache.poi.ss.formula.Formula; import org.apache.poi.ss.util.CellRangeAddress; Modified: poi/trunk/src/java/org/apache/poi/hssf/record/aggregates/SharedValueManager.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/aggregates/SharedValueManager.java?rev=1038683&r1=1038682&r2=1038683&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/aggregates/SharedValueManager.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/aggregates/SharedValueManager.java Wed Nov 24 16:46:02 2010 @@ -29,7 +29,7 @@ import org.apache.poi.hssf.record.Formul import org.apache.poi.hssf.record.SharedFormulaRecord; import org.apache.poi.hssf.record.SharedValueRecordBase; import org.apache.poi.hssf.record.TableRecord; -import org.apache.poi.hssf.record.formula.ExpPtg; +import org.apache.poi.ss.formula.ptg.ExpPtg; import org.apache.poi.hssf.util.CellRangeAddress8Bit; import org.apache.poi.ss.util.CellReference; Modified: poi/trunk/src/java/org/apache/poi/hssf/record/aggregates/ValueRecordsAggregate.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/aggregates/ValueRecordsAggregate.java?rev=1038683&r1=1038682&r2=1038683&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/aggregates/ValueRecordsAggregate.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/aggregates/ValueRecordsAggregate.java Wed Nov 24 16:46:02 2010 @@ -30,7 +30,7 @@ import org.apache.poi.hssf.record.Record import org.apache.poi.hssf.record.StringRecord; import org.apache.poi.hssf.record.aggregates.RecordAggregate.RecordVisitor; import org.apache.poi.ss.formula.FormulaShifter; -import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.ss.formula.ptg.Ptg; /** * Modified: poi/trunk/src/java/org/apache/poi/hssf/record/chart/LinkedDataRecord.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/chart/LinkedDataRecord.java?rev=1038683&r1=1038682&r2=1038683&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/chart/LinkedDataRecord.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/chart/LinkedDataRecord.java Wed Nov 24 16:46:02 2010 @@ -19,7 +19,7 @@ package org.apache.poi.hssf.record.chart import org.apache.poi.hssf.record.RecordInputStream; import org.apache.poi.hssf.record.StandardRecord; -import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.ss.formula.ptg.Ptg; import org.apache.poi.ss.formula.Formula; import org.apache.poi.util.BitField; import org.apache.poi.util.BitFieldFactory; Modified: poi/trunk/src/java/org/apache/poi/hssf/usermodel/DVConstraint.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/usermodel/DVConstraint.java?rev=1038683&r1=1038682&r2=1038683&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/usermodel/DVConstraint.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/usermodel/DVConstraint.java Wed Nov 24 16:46:02 2010 @@ -22,9 +22,9 @@ import java.text.SimpleDateFormat; import java.util.Date; import org.apache.poi.hssf.model.HSSFFormulaParser; -import org.apache.poi.hssf.record.formula.NumberPtg; -import org.apache.poi.hssf.record.formula.Ptg; -import org.apache.poi.hssf.record.formula.StringPtg; +import org.apache.poi.ss.formula.ptg.NumberPtg; +import org.apache.poi.ss.formula.ptg.Ptg; +import org.apache.poi.ss.formula.ptg.StringPtg; import org.apache.poi.ss.formula.FormulaType; import org.apache.poi.ss.usermodel.DataValidationConstraint; Modified: poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFCell.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFCell.java?rev=1038683&r1=1038682&r2=1038683&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFCell.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFCell.java Wed Nov 24 16:46:02 2010 @@ -42,8 +42,8 @@ import org.apache.poi.hssf.record.SubRec import org.apache.poi.hssf.record.TextObjectRecord; import org.apache.poi.hssf.record.aggregates.FormulaRecordAggregate; import org.apache.poi.hssf.record.common.UnicodeString; -import org.apache.poi.hssf.record.formula.ExpPtg; -import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.ss.formula.ptg.ExpPtg; +import org.apache.poi.ss.formula.ptg.Ptg; import org.apache.poi.ss.formula.eval.ErrorEval; import org.apache.poi.ss.usermodel.*; import org.apache.poi.ss.util.CellRangeAddress; Modified: poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFConditionalFormattingRule.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFConditionalFormattingRule.java?rev=1038683&r1=1038682&r2=1038683&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFConditionalFormattingRule.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFConditionalFormattingRule.java Wed Nov 24 16:46:02 2010 @@ -23,7 +23,7 @@ import org.apache.poi.hssf.record.CFRule import org.apache.poi.hssf.record.cf.BorderFormatting; import org.apache.poi.hssf.record.cf.FontFormatting; import org.apache.poi.hssf.record.cf.PatternFormatting; -import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.ss.formula.ptg.Ptg; /** * Modified: poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFEvaluationWorkbook.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFEvaluationWorkbook.java?rev=1038683&r1=1038682&r2=1038683&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFEvaluationWorkbook.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFEvaluationWorkbook.java Wed Nov 24 16:46:02 2010 @@ -21,9 +21,9 @@ import org.apache.poi.hssf.model.HSSFFor import org.apache.poi.hssf.model.InternalWorkbook; import org.apache.poi.hssf.record.NameRecord; import org.apache.poi.hssf.record.aggregates.FormulaRecordAggregate; -import org.apache.poi.hssf.record.formula.NamePtg; -import org.apache.poi.hssf.record.formula.NameXPtg; -import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.ss.formula.ptg.NamePtg; +import org.apache.poi.ss.formula.ptg.NameXPtg; +import org.apache.poi.ss.formula.ptg.Ptg; import org.apache.poi.ss.SpreadsheetVersion; import org.apache.poi.ss.formula.EvaluationCell; import org.apache.poi.ss.formula.EvaluationName; @@ -33,7 +33,6 @@ import org.apache.poi.ss.formula.Formula import org.apache.poi.ss.formula.FormulaParsingWorkbook; import org.apache.poi.ss.formula.FormulaRenderingWorkbook; import org.apache.poi.ss.formula.FormulaType; -import org.apache.poi.ss.formula.EvaluationWorkbook.ExternalName; /** * Internal POI use only Modified: poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFName.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFName.java?rev=1038683&r1=1038682&r2=1038683&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFName.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFName.java Wed Nov 24 16:46:02 2010 @@ -21,7 +21,7 @@ import org.apache.poi.hssf.model.HSSFFor import org.apache.poi.hssf.model.InternalWorkbook; import org.apache.poi.hssf.record.NameCommentRecord; import org.apache.poi.hssf.record.NameRecord; -import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.ss.formula.ptg.Ptg; import org.apache.poi.ss.formula.FormulaType; import org.apache.poi.ss.usermodel.Name; Modified: poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java?rev=1038683&r1=1038682&r2=1038683&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java Wed Nov 24 16:46:02 2010 @@ -32,8 +32,8 @@ import org.apache.poi.hssf.record.aggreg import org.apache.poi.hssf.record.aggregates.FormulaRecordAggregate; import org.apache.poi.hssf.record.aggregates.WorksheetProtectionBlock; import org.apache.poi.ss.formula.FormulaShifter; -import org.apache.poi.hssf.record.formula.Ptg; -import org.apache.poi.hssf.record.formula.Area3DPtg; +import org.apache.poi.ss.formula.ptg.Ptg; +import org.apache.poi.ss.formula.ptg.Area3DPtg; import org.apache.poi.hssf.util.PaneInformation; import org.apache.poi.hssf.util.Region; import org.apache.poi.ss.SpreadsheetVersion; Modified: poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java?rev=1038683&r1=1038682&r2=1038683&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java Wed Nov 24 16:46:02 2010 @@ -55,14 +55,14 @@ import org.apache.poi.hssf.record.SSTRec import org.apache.poi.hssf.record.UnknownRecord; import org.apache.poi.hssf.record.aggregates.RecordAggregate.RecordVisitor; import org.apache.poi.hssf.record.common.UnicodeString; -import org.apache.poi.hssf.record.formula.Area3DPtg; -import org.apache.poi.hssf.record.formula.MemFuncPtg; -import org.apache.poi.hssf.record.formula.NameXPtg; -import org.apache.poi.hssf.record.formula.OperandPtg; -import org.apache.poi.hssf.record.formula.Ptg; -import org.apache.poi.hssf.record.formula.Ref3DPtg; +import org.apache.poi.ss.formula.ptg.Area3DPtg; +import org.apache.poi.ss.formula.ptg.MemFuncPtg; +import org.apache.poi.ss.formula.ptg.NameXPtg; +import org.apache.poi.ss.formula.ptg.OperandPtg; +import org.apache.poi.ss.formula.ptg.Ptg; +import org.apache.poi.ss.formula.ptg.Ref3DPtg; import org.apache.poi.ss.formula.SheetNameFormatter; -import org.apache.poi.hssf.record.formula.UnionPtg; +import org.apache.poi.ss.formula.ptg.UnionPtg; import org.apache.poi.hssf.util.CellReference; import org.apache.poi.poifs.filesystem.DirectoryNode; import org.apache.poi.poifs.filesystem.POIFSFileSystem; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Nov 24 16:48:42 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77135 invoked from network); 24 Nov 2010 16:48:42 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 24 Nov 2010 16:48:42 -0000 Received: (qmail 70491 invoked by uid 500); 24 Nov 2010 16:49:14 -0000 Delivered-To: [email protected] Received: (qmail 70461 invoked by uid 500); 24 Nov 2010 16:49:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.poi.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 70454 invoked by uid 99); 24 Nov 2010 16:49:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Nov 2010 16:49:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Nov 2010 16:49:11 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 17FB623888E8; Wed, 24 Nov 2010 16:47:40 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1038685 - in /poi/trunk/src/testcases/org/apache/poi/hssf: eventusermodel/ model/ record/ record/aggregates/ record/chart/ record/constant/ record/formula/ usermodel/ util/ Date: Wed, 24 Nov 2010 16:47:39 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: yegor Date: Wed Nov 24 16:47:37 2010 New Revision: 1038685 URL: http://svn.apache.org/viewvc?rev=1038685&view=rev Log: moved ptg classes to org.apache.poi.ss.formula.ptg Removed: poi/trunk/src/testcases/org/apache/poi/hssf/record/constant/ poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/ Modified: poi/trunk/src/testcases/org/apache/poi/hssf/eventusermodel/TestEventWorkbookBuilder.java poi/trunk/src/testcases/org/apache/poi/hssf/model/TestFormulaParser.java poi/trunk/src/testcases/org/apache/poi/hssf/model/TestFormulaParserEval.java poi/trunk/src/testcases/org/apache/poi/hssf/model/TestFormulaParserIf.java poi/trunk/src/testcases/org/apache/poi/hssf/model/TestOperandClassTransformer.java poi/trunk/src/testcases/org/apache/poi/hssf/model/TestRVA.java poi/trunk/src/testcases/org/apache/poi/hssf/record/AllRecordTests.java poi/trunk/src/testcases/org/apache/poi/hssf/record/TestArrayRecord.java poi/trunk/src/testcases/org/apache/poi/hssf/record/TestCFRuleRecord.java poi/trunk/src/testcases/org/apache/poi/hssf/record/TestFormulaRecord.java poi/trunk/src/testcases/org/apache/poi/hssf/record/TestLbsDataSubRecord.java poi/trunk/src/testcases/org/apache/poi/hssf/record/TestSharedFormulaRecord.java poi/trunk/src/testcases/org/apache/poi/hssf/record/TestTextObjectRecord.java poi/trunk/src/testcases/org/apache/poi/hssf/record/aggregates/TestFormulaRecordAggregate.java poi/trunk/src/testcases/org/apache/poi/hssf/record/chart/TestLinkedDataRecord.java poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/FormulaExtractor.java poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestBug42464.java poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestFormulaEvaluatorBugs.java poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestFormulas.java poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFName.java poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFSheet.java poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFSheetAutosizeColumn.java poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFWorkbook.java poi/trunk/src/testcases/org/apache/poi/hssf/util/TestAreaReference.java Modified: poi/trunk/src/testcases/org/apache/poi/hssf/eventusermodel/TestEventWorkbookBuilder.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/eventusermodel/TestEventWorkbookBuilder.java?rev=1038685&r1=1038684&r2=1038685&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/eventusermodel/TestEventWorkbookBuilder.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hssf/eventusermodel/TestEventWorkbookBuilder.java Wed Nov 24 16:47:37 2010 @@ -30,8 +30,8 @@ import org.apache.poi.hssf.model.HSSFFor import org.apache.poi.hssf.model.InternalWorkbook; import org.apache.poi.hssf.record.FormulaRecord; import org.apache.poi.hssf.record.Record; -import org.apache.poi.hssf.record.formula.Ptg; -import org.apache.poi.hssf.record.formula.Ref3DPtg; +import org.apache.poi.ss.formula.ptg.Ptg; +import org.apache.poi.ss.formula.ptg.Ref3DPtg; import org.apache.poi.hssf.usermodel.HSSFEvaluationWorkbook; import org.apache.poi.hssf.usermodel.HSSFWorkbook; import org.apache.poi.poifs.filesystem.POIFSFileSystem; Modified: poi/trunk/src/testcases/org/apache/poi/hssf/model/TestFormulaParser.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/model/TestFormulaParser.java?rev=1038685&r1=1038684&r2=1038685&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/model/TestFormulaParser.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hssf/model/TestFormulaParser.java Wed Nov 24 16:47:37 2010 @@ -25,41 +25,41 @@ import junit.framework.TestCase; import org.apache.poi.hssf.HSSFTestDataSamples; import org.apache.poi.hssf.record.NameRecord; import org.apache.poi.hssf.record.common.UnicodeString; -import org.apache.poi.hssf.record.constant.ErrorConstant; -import org.apache.poi.hssf.record.formula.AbstractFunctionPtg; -import org.apache.poi.hssf.record.formula.AddPtg; -import org.apache.poi.hssf.record.formula.Area3DPtg; -import org.apache.poi.hssf.record.formula.AreaI; -import org.apache.poi.hssf.record.formula.AreaPtg; -import org.apache.poi.hssf.record.formula.AreaPtgBase; -import org.apache.poi.hssf.record.formula.ArrayPtg; -import org.apache.poi.hssf.record.formula.AttrPtg; -import org.apache.poi.hssf.record.formula.BoolPtg; -import org.apache.poi.hssf.record.formula.ConcatPtg; -import org.apache.poi.hssf.record.formula.DividePtg; -import org.apache.poi.hssf.record.formula.EqualPtg; -import org.apache.poi.hssf.record.formula.ErrPtg; -import org.apache.poi.hssf.record.formula.FuncPtg; -import org.apache.poi.hssf.record.formula.FuncVarPtg; -import org.apache.poi.hssf.record.formula.IntPtg; -import org.apache.poi.hssf.record.formula.MemAreaPtg; -import org.apache.poi.hssf.record.formula.MemFuncPtg; -import org.apache.poi.hssf.record.formula.MissingArgPtg; -import org.apache.poi.hssf.record.formula.MultiplyPtg; -import org.apache.poi.hssf.record.formula.NamePtg; -import org.apache.poi.hssf.record.formula.NumberPtg; -import org.apache.poi.hssf.record.formula.ParenthesisPtg; -import org.apache.poi.hssf.record.formula.PercentPtg; -import org.apache.poi.hssf.record.formula.PowerPtg; -import org.apache.poi.hssf.record.formula.Ptg; -import org.apache.poi.hssf.record.formula.RangePtg; -import org.apache.poi.hssf.record.formula.Ref3DPtg; -import org.apache.poi.hssf.record.formula.RefPtg; -import org.apache.poi.hssf.record.formula.StringPtg; -import org.apache.poi.hssf.record.formula.SubtractPtg; -import org.apache.poi.hssf.record.formula.UnaryMinusPtg; -import org.apache.poi.hssf.record.formula.UnaryPlusPtg; -import org.apache.poi.hssf.record.formula.UnionPtg; +import org.apache.poi.ss.formula.constant.ErrorConstant; +import org.apache.poi.ss.formula.ptg.AbstractFunctionPtg; +import org.apache.poi.ss.formula.ptg.AddPtg; +import org.apache.poi.ss.formula.ptg.Area3DPtg; +import org.apache.poi.ss.formula.ptg.AreaI; +import org.apache.poi.ss.formula.ptg.AreaPtg; +import org.apache.poi.ss.formula.ptg.AreaPtgBase; +import org.apache.poi.ss.formula.ptg.ArrayPtg; +import org.apache.poi.ss.formula.ptg.AttrPtg; +import org.apache.poi.ss.formula.ptg.BoolPtg; +import org.apache.poi.ss.formula.ptg.ConcatPtg; +import org.apache.poi.ss.formula.ptg.DividePtg; +import org.apache.poi.ss.formula.ptg.EqualPtg; +import org.apache.poi.ss.formula.ptg.ErrPtg; +import org.apache.poi.ss.formula.ptg.FuncPtg; +import org.apache.poi.ss.formula.ptg.FuncVarPtg; +import org.apache.poi.ss.formula.ptg.IntPtg; +import org.apache.poi.ss.formula.ptg.MemAreaPtg; +import org.apache.poi.ss.formula.ptg.MemFuncPtg; +import org.apache.poi.ss.formula.ptg.MissingArgPtg; +import org.apache.poi.ss.formula.ptg.MultiplyPtg; +import org.apache.poi.ss.formula.ptg.NamePtg; +import org.apache.poi.ss.formula.ptg.NumberPtg; +import org.apache.poi.ss.formula.ptg.ParenthesisPtg; +import org.apache.poi.ss.formula.ptg.PercentPtg; +import org.apache.poi.ss.formula.ptg.PowerPtg; +import org.apache.poi.ss.formula.ptg.Ptg; +import org.apache.poi.ss.formula.ptg.RangePtg; +import org.apache.poi.ss.formula.ptg.Ref3DPtg; +import org.apache.poi.ss.formula.ptg.RefPtg; +import org.apache.poi.ss.formula.ptg.StringPtg; +import org.apache.poi.ss.formula.ptg.SubtractPtg; +import org.apache.poi.ss.formula.ptg.UnaryMinusPtg; +import org.apache.poi.ss.formula.ptg.UnaryPlusPtg; +import org.apache.poi.ss.formula.ptg.UnionPtg; import org.apache.poi.hssf.usermodel.FormulaExtractor; import org.apache.poi.hssf.usermodel.HSSFCell; import org.apache.poi.hssf.usermodel.HSSFErrorConstants; Modified: poi/trunk/src/testcases/org/apache/poi/hssf/model/TestFormulaParserEval.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/model/TestFormulaParserEval.java?rev=1038685&r1=1038684&r2=1038685&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/model/TestFormulaParserEval.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hssf/model/TestFormulaParserEval.java Wed Nov 24 16:47:37 2010 @@ -20,9 +20,9 @@ package org.apache.poi.hssf.model; import junit.framework.AssertionFailedError; import junit.framework.TestCase; -import org.apache.poi.hssf.record.formula.AttrPtg; -import org.apache.poi.hssf.record.formula.NamePtg; -import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.ss.formula.ptg.AttrPtg; +import org.apache.poi.ss.formula.ptg.NamePtg; +import org.apache.poi.ss.formula.ptg.Ptg; import org.apache.poi.hssf.usermodel.HSSFCell; import org.apache.poi.hssf.usermodel.HSSFFormulaEvaluator; import org.apache.poi.hssf.usermodel.HSSFName; Modified: poi/trunk/src/testcases/org/apache/poi/hssf/model/TestFormulaParserIf.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/model/TestFormulaParserIf.java?rev=1038685&r1=1038684&r2=1038685&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/model/TestFormulaParserIf.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hssf/model/TestFormulaParserIf.java Wed Nov 24 16:47:37 2010 @@ -20,19 +20,19 @@ package org.apache.poi.hssf.model; import junit.framework.AssertionFailedError; import junit.framework.TestCase; -import org.apache.poi.hssf.record.formula.AddPtg; -import org.apache.poi.hssf.record.formula.AttrPtg; -import org.apache.poi.hssf.record.formula.BoolPtg; -import org.apache.poi.hssf.record.formula.FuncPtg; -import org.apache.poi.hssf.record.formula.FuncVarPtg; -import org.apache.poi.hssf.record.formula.IntPtg; -import org.apache.poi.hssf.record.formula.LessEqualPtg; -import org.apache.poi.hssf.record.formula.LessThanPtg; -import org.apache.poi.hssf.record.formula.MultiplyPtg; -import org.apache.poi.hssf.record.formula.NotEqualPtg; -import org.apache.poi.hssf.record.formula.Ptg; -import org.apache.poi.hssf.record.formula.RefPtg; -import org.apache.poi.hssf.record.formula.StringPtg; +import org.apache.poi.ss.formula.ptg.AddPtg; +import org.apache.poi.ss.formula.ptg.AttrPtg; +import org.apache.poi.ss.formula.ptg.BoolPtg; +import org.apache.poi.ss.formula.ptg.FuncPtg; +import org.apache.poi.ss.formula.ptg.FuncVarPtg; +import org.apache.poi.ss.formula.ptg.IntPtg; +import org.apache.poi.ss.formula.ptg.LessEqualPtg; +import org.apache.poi.ss.formula.ptg.LessThanPtg; +import org.apache.poi.ss.formula.ptg.MultiplyPtg; +import org.apache.poi.ss.formula.ptg.NotEqualPtg; +import org.apache.poi.ss.formula.ptg.Ptg; +import org.apache.poi.ss.formula.ptg.RefPtg; +import org.apache.poi.ss.formula.ptg.StringPtg; /** * Tests <tt>FormulaParser</tt> specifically with respect to IF() functions Modified: poi/trunk/src/testcases/org/apache/poi/hssf/model/TestOperandClassTransformer.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/model/TestOperandClassTransformer.java?rev=1038685&r1=1038684&r2=1038685&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/model/TestOperandClassTransformer.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hssf/model/TestOperandClassTransformer.java Wed Nov 24 16:47:37 2010 @@ -20,9 +20,9 @@ package org.apache.poi.hssf.model; import junit.framework.AssertionFailedError; import junit.framework.TestCase; -import org.apache.poi.hssf.record.formula.AbstractFunctionPtg; -import org.apache.poi.hssf.record.formula.FuncVarPtg; -import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.ss.formula.ptg.AbstractFunctionPtg; +import org.apache.poi.ss.formula.ptg.FuncVarPtg; +import org.apache.poi.ss.formula.ptg.Ptg; import org.apache.poi.hssf.usermodel.HSSFWorkbook; /** Modified: poi/trunk/src/testcases/org/apache/poi/hssf/model/TestRVA.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/model/TestRVA.java?rev=1038685&r1=1038684&r2=1038685&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/model/TestRVA.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hssf/model/TestRVA.java Wed Nov 24 16:47:37 2010 @@ -21,8 +21,8 @@ import junit.framework.AssertionFailedEr import junit.framework.TestCase; import org.apache.poi.hssf.HSSFTestDataSamples; -import org.apache.poi.hssf.record.formula.AttrPtg; -import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.ss.formula.ptg.AttrPtg; +import org.apache.poi.ss.formula.ptg.Ptg; import org.apache.poi.hssf.usermodel.FormulaExtractor; import org.apache.poi.hssf.usermodel.HSSFCell; import org.apache.poi.hssf.usermodel.HSSFRow; Modified: poi/trunk/src/testcases/org/apache/poi/hssf/record/AllRecordTests.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/record/AllRecordTests.java?rev=1038685&r1=1038684&r2=1038685&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/record/AllRecordTests.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hssf/record/AllRecordTests.java Wed Nov 24 16:47:37 2010 @@ -24,9 +24,9 @@ import org.apache.poi.hssf.record.aggreg import org.apache.poi.hssf.record.cf.TestCellRange; import org.apache.poi.hssf.record.chart.AllChartRecordTests; import org.apache.poi.hssf.record.common.TestUnicodeString; -import org.apache.poi.hssf.record.constant.TestConstantValueParser; +import org.apache.poi.ss.formula.constant.TestConstantValueParser; import org.apache.poi.hssf.record.crypto.AllHSSFEncryptionTests; -import org.apache.poi.hssf.record.formula.AllFormulaTests; +import org.apache.poi.ss.formula.ptg.AllFormulaTests; import org.apache.poi.hssf.record.pivot.AllPivotRecordTests; /** Modified: poi/trunk/src/testcases/org/apache/poi/hssf/record/TestArrayRecord.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/record/TestArrayRecord.java?rev=1038685&r1=1038684&r2=1038685&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/record/TestArrayRecord.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hssf/record/TestArrayRecord.java Wed Nov 24 16:47:37 2010 @@ -17,26 +17,17 @@ package org.apache.poi.hssf.record; -import junit.framework.AssertionFailedError; -import junit.framework.ComparisonFailure; import junit.framework.TestCase; -import org.apache.poi.hssf.HSSFTestDataSamples; import org.apache.poi.hssf.util.CellRangeAddress8Bit; -import org.apache.poi.hssf.record.formula.Ptg; -import org.apache.poi.hssf.record.formula.RefPtg; -import org.apache.poi.hssf.usermodel.*; -import org.apache.poi.ss.usermodel.CellValue; +import org.apache.poi.ss.formula.ptg.Ptg; import org.apache.poi.ss.formula.FormulaParser; import org.apache.poi.ss.formula.FormulaRenderer; import org.apache.poi.ss.formula.FormulaType; import org.apache.poi.ss.formula.Formula; -import org.apache.poi.util.LittleEndianInput; import org.apache.poi.util.HexRead; import org.apache.poi.util.HexDump; -import java.util.Arrays; - public final class TestArrayRecord extends TestCase { public void testRead() { Modified: poi/trunk/src/testcases/org/apache/poi/hssf/record/TestCFRuleRecord.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/record/TestCFRuleRecord.java?rev=1038685&r1=1038684&r2=1038685&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/record/TestCFRuleRecord.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hssf/record/TestCFRuleRecord.java Wed Nov 24 16:47:37 2010 @@ -24,9 +24,9 @@ import org.apache.poi.hssf.record.CFRule import org.apache.poi.hssf.record.cf.BorderFormatting; import org.apache.poi.hssf.record.cf.FontFormatting; import org.apache.poi.hssf.record.cf.PatternFormatting; -import org.apache.poi.hssf.record.formula.Ptg; -import org.apache.poi.hssf.record.formula.RefNPtg; -import org.apache.poi.hssf.record.formula.RefPtg; +import org.apache.poi.ss.formula.ptg.Ptg; +import org.apache.poi.ss.formula.ptg.RefNPtg; +import org.apache.poi.ss.formula.ptg.RefPtg; import org.apache.poi.hssf.usermodel.HSSFSheet; import org.apache.poi.hssf.usermodel.HSSFWorkbook; import org.apache.poi.hssf.util.HSSFColor; Modified: poi/trunk/src/testcases/org/apache/poi/hssf/record/TestFormulaRecord.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/record/TestFormulaRecord.java?rev=1038685&r1=1038684&r2=1038685&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/record/TestFormulaRecord.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hssf/record/TestFormulaRecord.java Wed Nov 24 16:47:37 2010 @@ -20,11 +20,11 @@ package org.apache.poi.hssf.record; import junit.framework.AssertionFailedError; import junit.framework.TestCase; -import org.apache.poi.hssf.record.formula.AttrPtg; -import org.apache.poi.hssf.record.formula.FuncVarPtg; -import org.apache.poi.hssf.record.formula.IntPtg; -import org.apache.poi.hssf.record.formula.Ptg; -import org.apache.poi.hssf.record.formula.RefPtg; +import org.apache.poi.ss.formula.ptg.AttrPtg; +import org.apache.poi.ss.formula.ptg.FuncVarPtg; +import org.apache.poi.ss.formula.ptg.IntPtg; +import org.apache.poi.ss.formula.ptg.Ptg; +import org.apache.poi.ss.formula.ptg.RefPtg; import org.apache.poi.hssf.usermodel.HSSFCell; import org.apache.poi.hssf.usermodel.HSSFErrorConstants; Modified: poi/trunk/src/testcases/org/apache/poi/hssf/record/TestLbsDataSubRecord.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/record/TestLbsDataSubRecord.java?rev=1038685&r1=1038684&r2=1038685&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/record/TestLbsDataSubRecord.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hssf/record/TestLbsDataSubRecord.java Wed Nov 24 16:47:37 2010 @@ -24,7 +24,7 @@ import java.util.Arrays; import junit.framework.TestCase; -import org.apache.poi.hssf.record.formula.AreaPtg; +import org.apache.poi.ss.formula.ptg.AreaPtg; import org.apache.poi.ss.util.CellRangeAddress; import org.apache.poi.util.HexRead; import org.apache.poi.util.LittleEndianInputStream; Modified: poi/trunk/src/testcases/org/apache/poi/hssf/record/TestSharedFormulaRecord.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/record/TestSharedFormulaRecord.java?rev=1038685&r1=1038684&r2=1038685&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/record/TestSharedFormulaRecord.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hssf/record/TestSharedFormulaRecord.java Wed Nov 24 16:47:37 2010 @@ -22,8 +22,8 @@ import junit.framework.ComparisonFailure import junit.framework.TestCase; import org.apache.poi.hssf.HSSFTestDataSamples; -import org.apache.poi.hssf.record.formula.Ptg; -import org.apache.poi.hssf.record.formula.RefPtg; +import org.apache.poi.ss.formula.ptg.Ptg; +import org.apache.poi.ss.formula.ptg.RefPtg; import org.apache.poi.ss.formula.SharedFormula; import org.apache.poi.hssf.usermodel.*; import org.apache.poi.ss.usermodel.CellValue; Modified: poi/trunk/src/testcases/org/apache/poi/hssf/record/TestTextObjectRecord.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/record/TestTextObjectRecord.java?rev=1038685&r1=1038684&r2=1038685&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/record/TestTextObjectRecord.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hssf/record/TestTextObjectRecord.java Wed Nov 24 16:47:37 2010 @@ -22,8 +22,8 @@ import java.util.Arrays; import junit.framework.TestCase; -import org.apache.poi.hssf.record.formula.Ptg; -import org.apache.poi.hssf.record.formula.RefPtg; +import org.apache.poi.ss.formula.ptg.Ptg; +import org.apache.poi.ss.formula.ptg.RefPtg; import org.apache.poi.hssf.usermodel.HSSFRichTextString; import org.apache.poi.util.HexRead; import org.apache.poi.util.LittleEndian; Modified: poi/trunk/src/testcases/org/apache/poi/hssf/record/aggregates/TestFormulaRecordAggregate.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/record/aggregates/TestFormulaRecordAggregate.java?rev=1038685&r1=1038684&r2=1038685&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/record/aggregates/TestFormulaRecordAggregate.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hssf/record/aggregates/TestFormulaRecordAggregate.java Wed Nov 24 16:47:37 2010 @@ -24,8 +24,8 @@ import org.apache.poi.hssf.record.Formul import org.apache.poi.hssf.record.Record; import org.apache.poi.hssf.record.RecordFormatException; import org.apache.poi.hssf.record.StringRecord; -import org.apache.poi.hssf.record.formula.Ptg; -import org.apache.poi.hssf.record.formula.ExpPtg; +import org.apache.poi.ss.formula.ptg.Ptg; +import org.apache.poi.ss.formula.ptg.ExpPtg; import org.apache.poi.hssf.usermodel.RecordInspector.RecordCollector; import org.apache.poi.hssf.model.HSSFFormulaParser; import org.apache.poi.ss.formula.FormulaType; Modified: poi/trunk/src/testcases/org/apache/poi/hssf/record/chart/TestLinkedDataRecord.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/record/chart/TestLinkedDataRecord.java?rev=1038685&r1=1038684&r2=1038685&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/record/chart/TestLinkedDataRecord.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hssf/record/chart/TestLinkedDataRecord.java Wed Nov 24 16:47:37 2010 @@ -21,8 +21,8 @@ package org.apache.poi.hssf.record.chart import junit.framework.TestCase; import org.apache.poi.hssf.record.TestcaseRecordInputStream; -import org.apache.poi.hssf.record.formula.Area3DPtg; -import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.ss.formula.ptg.Area3DPtg; +import org.apache.poi.ss.formula.ptg.Ptg; /** * Tests the serialization and deserialization of the LinkedDataRecord Modified: poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/FormulaExtractor.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/FormulaExtractor.java?rev=1038685&r1=1038684&r2=1038685&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/FormulaExtractor.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/FormulaExtractor.java Wed Nov 24 16:47:37 2010 @@ -19,7 +19,7 @@ package org.apache.poi.hssf.usermodel; import org.apache.poi.hssf.record.CellValueRecordInterface; import org.apache.poi.hssf.record.aggregates.FormulaRecordAggregate; -import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.ss.formula.ptg.Ptg; /** * Test utility class to get <tt>Ptg</tt> arrays out of formula cells Modified: poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestBug42464.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestBug42464.java?rev=1038685&r1=1038684&r2=1038685&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestBug42464.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestBug42464.java Wed Nov 24 16:47:37 2010 @@ -24,7 +24,7 @@ import junit.framework.TestCase; import org.apache.poi.hssf.HSSFTestDataSamples; import org.apache.poi.hssf.record.FormulaRecord; import org.apache.poi.hssf.record.aggregates.FormulaRecordAggregate; -import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.ss.formula.ptg.Ptg; import org.apache.poi.hssf.util.CellReference; import org.apache.poi.ss.usermodel.CellValue; Modified: poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java?rev=1038685&r1=1038684&r2=1038685&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java Wed Nov 24 16:47:37 2010 @@ -37,9 +37,9 @@ import org.apache.poi.hssf.record.Record import org.apache.poi.hssf.record.TabIdRecord; import org.apache.poi.hssf.record.aggregates.FormulaRecordAggregate; import org.apache.poi.hssf.record.common.UnicodeString; -import org.apache.poi.hssf.record.formula.Area3DPtg; -import org.apache.poi.hssf.record.formula.DeletedArea3DPtg; -import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.ss.formula.ptg.Area3DPtg; +import org.apache.poi.ss.formula.ptg.DeletedArea3DPtg; +import org.apache.poi.ss.formula.ptg.Ptg; import org.apache.poi.ss.usermodel.BaseTestBugzillaIssues; import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.usermodel.CellStyle; Modified: poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestFormulaEvaluatorBugs.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestFormulaEvaluatorBugs.java?rev=1038685&r1=1038684&r2=1038685&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestFormulaEvaluatorBugs.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestFormulaEvaluatorBugs.java Wed Nov 24 16:47:37 2010 @@ -28,9 +28,9 @@ import junit.framework.TestCase; import org.apache.poi.hssf.HSSFTestDataSamples; import org.apache.poi.hssf.record.aggregates.FormulaRecordAggregate; -import org.apache.poi.hssf.record.formula.AreaPtg; -import org.apache.poi.hssf.record.formula.FuncVarPtg; -import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.ss.formula.ptg.AreaPtg; +import org.apache.poi.ss.formula.ptg.FuncVarPtg; +import org.apache.poi.ss.formula.ptg.Ptg; import org.apache.poi.ss.formula.eval.ErrorEval; import org.apache.poi.ss.formula.eval.ValueEval; import org.apache.poi.ss.formula.EvaluationCell; Modified: poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestFormulas.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestFormulas.java?rev=1038685&r1=1038684&r2=1038685&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestFormulas.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestFormulas.java Wed Nov 24 16:47:37 2010 @@ -26,8 +26,8 @@ import junit.framework.TestCase; import org.apache.poi.hssf.HSSFTestDataSamples; import org.apache.poi.hssf.model.HSSFFormulaParser; -import org.apache.poi.hssf.record.formula.Ptg; -import org.apache.poi.hssf.record.formula.NamePtg; +import org.apache.poi.ss.formula.ptg.Ptg; +import org.apache.poi.ss.formula.ptg.NamePtg; import org.apache.poi.hssf.util.CellReference; import org.apache.poi.util.TempFile; import org.apache.poi.ss.formula.FormulaType; Modified: poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFName.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFName.java?rev=1038685&r1=1038684&r2=1038685&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFName.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFName.java Wed Nov 24 16:47:37 2010 @@ -26,7 +26,7 @@ import org.apache.poi.hssf.HSSFITestData import org.apache.poi.hssf.HSSFTestDataSamples; import org.apache.poi.hssf.model.HSSFFormulaParser; import org.apache.poi.hssf.record.NameRecord; -import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.ss.formula.ptg.Ptg; import org.apache.poi.ss.formula.FormulaType; import org.apache.poi.ss.usermodel.BaseTestNamedRange; import org.apache.poi.ss.util.AreaReference; Modified: poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFSheet.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFSheet.java?rev=1038685&r1=1038684&r2=1038685&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFSheet.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFSheet.java Wed Nov 24 16:47:37 2010 @@ -30,8 +30,8 @@ import org.apache.poi.hssf.model.Drawing import org.apache.poi.hssf.model.InternalWorkbook; import org.apache.poi.hssf.model.InternalSheet; import org.apache.poi.hssf.record.*; -import org.apache.poi.hssf.record.formula.Ptg; -import org.apache.poi.hssf.record.formula.Area3DPtg; +import org.apache.poi.ss.formula.ptg.Ptg; +import org.apache.poi.ss.formula.ptg.Area3DPtg; import org.apache.poi.hssf.record.aggregates.WorksheetProtectionBlock; import org.apache.poi.hssf.usermodel.RecordInspector.RecordCollector; import org.apache.poi.ss.usermodel.BaseTestSheet; Modified: poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFSheetAutosizeColumn.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFSheetAutosizeColumn.java?rev=1038685&r1=1038684&r2=1038685&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFSheetAutosizeColumn.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFSheetAutosizeColumn.java Wed Nov 24 16:47:37 2010 @@ -17,27 +17,8 @@ package org.apache.poi.hssf.usermodel; -import java.io.File; -import java.io.FileInputStream; -import java.io.FileOutputStream; - -import junit.framework.AssertionFailedError; - -import org.apache.poi.ddf.EscherDgRecord; import org.apache.poi.hssf.HSSFITestDataProvider; -import org.apache.poi.hssf.HSSFTestDataSamples; -import org.apache.poi.hssf.model.DrawingManager2; -import org.apache.poi.hssf.model.InternalWorkbook; -import org.apache.poi.hssf.model.InternalSheet; -import org.apache.poi.hssf.record.*; -import org.apache.poi.hssf.record.formula.Ptg; -import org.apache.poi.hssf.record.formula.Area3DPtg; -import org.apache.poi.hssf.record.aggregates.WorksheetProtectionBlock; -import org.apache.poi.hssf.usermodel.RecordInspector.RecordCollector; import org.apache.poi.ss.usermodel.*; -import org.apache.poi.ss.util.CellRangeAddress; -import org.apache.poi.ss.util.CellRangeAddressList; -import org.apache.poi.util.TempFile; /** * Test auto-sizing columns in HSSF Modified: poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFWorkbook.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFWorkbook.java?rev=1038685&r1=1038684&r2=1038685&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFWorkbook.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFWorkbook.java Wed Nov 24 16:47:37 2010 @@ -32,7 +32,7 @@ import org.apache.poi.hssf.record.Record import org.apache.poi.hssf.record.RecordBase; import org.apache.poi.hssf.record.RecordFormatException; import org.apache.poi.hssf.record.WindowOneRecord; -import org.apache.poi.hssf.record.formula.Area3DPtg; +import org.apache.poi.ss.formula.ptg.Area3DPtg; import org.apache.poi.util.LittleEndian; import org.apache.poi.util.TempFile; import org.apache.poi.ss.usermodel.BaseTestWorkbook; Modified: poi/trunk/src/testcases/org/apache/poi/hssf/util/TestAreaReference.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/util/TestAreaReference.java?rev=1038685&r1=1038684&r2=1038685&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/util/TestAreaReference.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hssf/util/TestAreaReference.java Wed Nov 24 16:47:37 2010 @@ -25,10 +25,10 @@ import org.apache.poi.hssf.HSSFTestDataS import org.apache.poi.hssf.model.HSSFFormulaParser; import org.apache.poi.hssf.model.InternalWorkbook; import org.apache.poi.hssf.record.NameRecord; -import org.apache.poi.hssf.record.formula.Area3DPtg; -import org.apache.poi.hssf.record.formula.MemFuncPtg; -import org.apache.poi.hssf.record.formula.Ptg; -import org.apache.poi.hssf.record.formula.UnionPtg; +import org.apache.poi.ss.formula.ptg.Area3DPtg; +import org.apache.poi.ss.formula.ptg.MemFuncPtg; +import org.apache.poi.ss.formula.ptg.Ptg; +import org.apache.poi.ss.formula.ptg.UnionPtg; import org.apache.poi.hssf.usermodel.HSSFCell; import org.apache.poi.hssf.usermodel.HSSFEvaluationWorkbook; import org.apache.poi.hssf.usermodel.HSSFName; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Nov 24 16:51:56 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81403 invoked from network); 24 Nov 2010 16:51:56 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 24 Nov 2010 16:51:56 -0000 Received: (qmail 75941 invoked by uid 500); 24 Nov 2010 16:52:27 -0000 Delivered-To: [email protected] Received: (qmail 75900 invoked by uid 500); 24 Nov 2010 16:52:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.poi.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 75893 invoked by uid 99); 24 Nov 2010 16:52:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Nov 2010 16:52:27 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Nov 2010 16:52:23 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 1B04D2388A2C; Wed, 24 Nov 2010 16:50:52 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1038688 - in /poi/trunk/src/java/org/apache/poi/ss: formula/ formula/constant/ formula/eval/ formula/eval/forked/ formula/function/ formula/ptg/ usermodel/ Date: Wed, 24 Nov 2010 16:50:50 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: yegor Date: Wed Nov 24 16:50:47 2010 New Revision: 1038688 URL: http://svn.apache.org/viewvc?rev=1038688&view=rev Log: moved ptg classes to org.apache.poi.ss.formula.ptg Added: poi/trunk/src/java/org/apache/poi/ss/formula/constant/ - copied from r1038208, poi/trunk/src/java/org/apache/poi/hssf/record/constant/ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ - copied from r1038208, poi/trunk/src/java/org/apache/poi/hssf/record/formula/ Modified: poi/trunk/src/java/org/apache/poi/ss/formula/EvaluationName.java poi/trunk/src/java/org/apache/poi/ss/formula/EvaluationWorkbook.java poi/trunk/src/java/org/apache/poi/ss/formula/ExternSheetReferenceToken.java poi/trunk/src/java/org/apache/poi/ss/formula/Formula.java poi/trunk/src/java/org/apache/poi/ss/formula/FormulaParser.java poi/trunk/src/java/org/apache/poi/ss/formula/FormulaParsingWorkbook.java poi/trunk/src/java/org/apache/poi/ss/formula/FormulaRenderer.java poi/trunk/src/java/org/apache/poi/ss/formula/FormulaRenderingWorkbook.java poi/trunk/src/java/org/apache/poi/ss/formula/FormulaShifter.java poi/trunk/src/java/org/apache/poi/ss/formula/FormulaUsedBlankCellSet.java poi/trunk/src/java/org/apache/poi/ss/formula/LazyAreaEval.java poi/trunk/src/java/org/apache/poi/ss/formula/LazyRefEval.java poi/trunk/src/java/org/apache/poi/ss/formula/OperandClassTransformer.java poi/trunk/src/java/org/apache/poi/ss/formula/OperationEvaluationContext.java poi/trunk/src/java/org/apache/poi/ss/formula/OperationEvaluatorFactory.java poi/trunk/src/java/org/apache/poi/ss/formula/ParseNode.java poi/trunk/src/java/org/apache/poi/ss/formula/SharedFormula.java poi/trunk/src/java/org/apache/poi/ss/formula/WorkbookDependentFormula.java poi/trunk/src/java/org/apache/poi/ss/formula/WorkbookEvaluator.java poi/trunk/src/java/org/apache/poi/ss/formula/constant/ConstantValueParser.java poi/trunk/src/java/org/apache/poi/ss/formula/constant/ErrorConstant.java poi/trunk/src/java/org/apache/poi/ss/formula/eval/AreaEvalBase.java poi/trunk/src/java/org/apache/poi/ss/formula/eval/NameXEval.java poi/trunk/src/java/org/apache/poi/ss/formula/eval/NumberEval.java poi/trunk/src/java/org/apache/poi/ss/formula/eval/StringEval.java poi/trunk/src/java/org/apache/poi/ss/formula/eval/forked/ForkedEvaluationWorkbook.java poi/trunk/src/java/org/apache/poi/ss/formula/function/FunctionMetadataReader.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/AbstractFunctionPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/AddPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/Area2DPtgBase.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/Area3DPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/AreaErrPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/AreaI.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/AreaNPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/AreaPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/AreaPtgBase.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ArrayPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/AttrPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/BoolPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ConcatPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ControlPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/DeletedArea3DPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/DeletedRef3DPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/DividePtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/EqualPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ErrPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ExpPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ExternSheetNameResolver.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/FuncPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/FuncVarPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/GreaterEqualPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/GreaterThanPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/IntPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/IntersectionPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/LessEqualPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/LessThanPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/MemAreaPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/MemErrPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/MemFuncPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/MissingArgPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/MultiplyPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/NamePtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/NameXPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/NotEqualPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/NumberPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/OperandPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/OperationPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ParenthesisPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/PercentPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/PowerPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/Ptg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/RangePtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/Ref2DPtgBase.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/Ref3DPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/RefErrorPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/RefNPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/RefPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/RefPtgBase.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ScalarConstantPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/StringPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/SubtractPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/TblPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/UnaryMinusPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/UnaryPlusPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/UnionPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/UnknownPtg.java poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ValueOperatorPtg.java poi/trunk/src/java/org/apache/poi/ss/usermodel/Footer.java poi/trunk/src/java/org/apache/poi/ss/usermodel/Header.java Modified: poi/trunk/src/java/org/apache/poi/ss/formula/EvaluationName.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/EvaluationName.java?rev=1038688&r1=1038687&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/EvaluationName.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/EvaluationName.java Wed Nov 24 16:50:47 2010 @@ -17,8 +17,8 @@ package org.apache.poi.ss.formula; -import org.apache.poi.hssf.record.formula.NamePtg; -import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.ss.formula.ptg.NamePtg; +import org.apache.poi.ss.formula.ptg.Ptg; /** * Abstracts a name record for formula evaluation.<br/> * Modified: poi/trunk/src/java/org/apache/poi/ss/formula/EvaluationWorkbook.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/EvaluationWorkbook.java?rev=1038688&r1=1038687&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/EvaluationWorkbook.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/EvaluationWorkbook.java Wed Nov 24 16:50:47 2010 @@ -17,9 +17,9 @@ package org.apache.poi.ss.formula; -import org.apache.poi.hssf.record.formula.NamePtg; -import org.apache.poi.hssf.record.formula.NameXPtg; -import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.ss.formula.ptg.NamePtg; +import org.apache.poi.ss.formula.ptg.NameXPtg; +import org.apache.poi.ss.formula.ptg.Ptg; /** * Abstracts a workbook for the purpose of formula evaluation.<br/> Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ExternSheetReferenceToken.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ExternSheetReferenceToken.java?rev=1038688&r1=1038687&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ExternSheetReferenceToken.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ExternSheetReferenceToken.java Wed Nov 24 16:50:47 2010 @@ -18,7 +18,7 @@ package org.apache.poi.ss.formula; /** - * Should be implemented by any {@link org.apache.poi.hssf.record.formula.Ptg} subclass that needs has an extern sheet index <br/> + * Should be implemented by any {@link org.apache.poi.ss.formula.ptg.Ptg} subclass that needs has an extern sheet index <br/> * * For POI internal use only * Modified: poi/trunk/src/java/org/apache/poi/ss/formula/Formula.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/Formula.java?rev=1038688&r1=1038687&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/Formula.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/Formula.java Wed Nov 24 16:50:47 2010 @@ -19,10 +19,10 @@ package org.apache.poi.ss.formula; import java.util.Arrays; -import org.apache.poi.hssf.record.formula.ExpPtg; -import org.apache.poi.hssf.record.formula.Ptg; -import org.apache.poi.hssf.record.formula.TblPtg; -import org.apache.poi.hssf.util.CellReference; +import org.apache.poi.ss.formula.ptg.ExpPtg; +import org.apache.poi.ss.formula.ptg.Ptg; +import org.apache.poi.ss.formula.ptg.TblPtg; +import org.apache.poi.ss.util.CellReference; import org.apache.poi.util.LittleEndian; import org.apache.poi.util.LittleEndianByteArrayInputStream; import org.apache.poi.util.LittleEndianInput; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/FormulaParser.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/FormulaParser.java?rev=1038688&r1=1038687&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/FormulaParser.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/FormulaParser.java Wed Nov 24 16:50:47 2010 @@ -21,8 +21,8 @@ import java.util.ArrayList; import java.util.List; import java.util.regex.Pattern; -import org.apache.poi.hssf.record.constant.ErrorConstant; -import org.apache.poi.hssf.record.formula.*; +import org.apache.poi.ss.formula.constant.ErrorConstant; +import org.apache.poi.ss.formula.ptg.*; import org.apache.poi.ss.formula.function.FunctionMetadata; import org.apache.poi.ss.formula.function.FunctionMetadataRegistry; import org.apache.poi.ss.usermodel.ErrorConstants; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/FormulaParsingWorkbook.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/FormulaParsingWorkbook.java?rev=1038688&r1=1038687&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/FormulaParsingWorkbook.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/FormulaParsingWorkbook.java Wed Nov 24 16:50:47 2010 @@ -17,7 +17,7 @@ package org.apache.poi.ss.formula; -import org.apache.poi.hssf.record.formula.NameXPtg; +import org.apache.poi.ss.formula.ptg.NameXPtg; import org.apache.poi.ss.SpreadsheetVersion; /** Modified: poi/trunk/src/java/org/apache/poi/ss/formula/FormulaRenderer.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/FormulaRenderer.java?rev=1038688&r1=1038687&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/FormulaRenderer.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/FormulaRenderer.java Wed Nov 24 16:50:47 2010 @@ -19,13 +19,13 @@ package org.apache.poi.ss.formula; import java.util.Stack; -import org.apache.poi.hssf.record.formula.AttrPtg; -import org.apache.poi.hssf.record.formula.MemAreaPtg; -import org.apache.poi.hssf.record.formula.MemErrPtg; -import org.apache.poi.hssf.record.formula.MemFuncPtg; -import org.apache.poi.hssf.record.formula.OperationPtg; -import org.apache.poi.hssf.record.formula.ParenthesisPtg; -import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.ss.formula.ptg.AttrPtg; +import org.apache.poi.ss.formula.ptg.MemAreaPtg; +import org.apache.poi.ss.formula.ptg.MemErrPtg; +import org.apache.poi.ss.formula.ptg.MemFuncPtg; +import org.apache.poi.ss.formula.ptg.OperationPtg; +import org.apache.poi.ss.formula.ptg.ParenthesisPtg; +import org.apache.poi.ss.formula.ptg.Ptg; /** * Common logic for rendering formulas.<br/> Modified: poi/trunk/src/java/org/apache/poi/ss/formula/FormulaRenderingWorkbook.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/FormulaRenderingWorkbook.java?rev=1038688&r1=1038687&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/FormulaRenderingWorkbook.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/FormulaRenderingWorkbook.java Wed Nov 24 16:50:47 2010 @@ -17,8 +17,8 @@ package org.apache.poi.ss.formula; -import org.apache.poi.hssf.record.formula.NamePtg; -import org.apache.poi.hssf.record.formula.NameXPtg; +import org.apache.poi.ss.formula.ptg.NamePtg; +import org.apache.poi.ss.formula.ptg.NameXPtg; import org.apache.poi.ss.formula.EvaluationWorkbook.ExternalSheet; /** Modified: poi/trunk/src/java/org/apache/poi/ss/formula/FormulaShifter.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/FormulaShifter.java?rev=1038688&r1=1038687&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/FormulaShifter.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/FormulaShifter.java Wed Nov 24 16:50:47 2010 @@ -17,7 +17,7 @@ package org.apache.poi.ss.formula; -import org.apache.poi.hssf.record.formula.*; +import org.apache.poi.ss.formula.ptg.*; /** Modified: poi/trunk/src/java/org/apache/poi/ss/formula/FormulaUsedBlankCellSet.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/FormulaUsedBlankCellSet.java?rev=1038688&r1=1038687&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/FormulaUsedBlankCellSet.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/FormulaUsedBlankCellSet.java Wed Nov 24 16:50:47 2010 @@ -22,7 +22,7 @@ import java.util.HashMap; import java.util.List; import java.util.Map; -import org.apache.poi.hssf.util.CellReference; +import org.apache.poi.ss.util.CellReference; /** * Optimisation - compacts many blank cell references used by a single formula. Modified: poi/trunk/src/java/org/apache/poi/ss/formula/LazyAreaEval.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/LazyAreaEval.java?rev=1038688&r1=1038687&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/LazyAreaEval.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/LazyAreaEval.java Wed Nov 24 16:50:47 2010 @@ -17,12 +17,12 @@ package org.apache.poi.ss.formula; -import org.apache.poi.hssf.record.formula.AreaI; -import org.apache.poi.hssf.record.formula.AreaI.OffsetArea; +import org.apache.poi.ss.formula.ptg.AreaI; +import org.apache.poi.ss.formula.ptg.AreaI.OffsetArea; import org.apache.poi.ss.formula.eval.AreaEval; import org.apache.poi.ss.formula.eval.AreaEvalBase; import org.apache.poi.ss.formula.eval.ValueEval; -import org.apache.poi.hssf.util.CellReference; +import org.apache.poi.ss.util.CellReference; /** * Modified: poi/trunk/src/java/org/apache/poi/ss/formula/LazyRefEval.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/LazyRefEval.java?rev=1038688&r1=1038687&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/LazyRefEval.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/LazyRefEval.java Wed Nov 24 16:50:47 2010 @@ -17,12 +17,12 @@ package org.apache.poi.ss.formula; -import org.apache.poi.hssf.record.formula.AreaI; -import org.apache.poi.hssf.record.formula.AreaI.OffsetArea; +import org.apache.poi.ss.formula.ptg.AreaI; +import org.apache.poi.ss.formula.ptg.AreaI.OffsetArea; import org.apache.poi.ss.formula.eval.AreaEval; import org.apache.poi.ss.formula.eval.RefEvalBase; import org.apache.poi.ss.formula.eval.ValueEval; -import org.apache.poi.hssf.util.CellReference; +import org.apache.poi.ss.util.CellReference; /** * Modified: poi/trunk/src/java/org/apache/poi/ss/formula/OperandClassTransformer.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/OperandClassTransformer.java?rev=1038688&r1=1038687&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/OperandClassTransformer.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/OperandClassTransformer.java Wed Nov 24 16:50:47 2010 @@ -17,16 +17,16 @@ package org.apache.poi.ss.formula; -import org.apache.poi.hssf.record.formula.AbstractFunctionPtg; -import org.apache.poi.hssf.record.formula.AttrPtg; -import org.apache.poi.hssf.record.formula.ControlPtg; -import org.apache.poi.hssf.record.formula.FuncVarPtg; -import org.apache.poi.hssf.record.formula.MemAreaPtg; -import org.apache.poi.hssf.record.formula.MemFuncPtg; -import org.apache.poi.hssf.record.formula.Ptg; -import org.apache.poi.hssf.record.formula.RangePtg; -import org.apache.poi.hssf.record.formula.UnionPtg; -import org.apache.poi.hssf.record.formula.ValueOperatorPtg; +import org.apache.poi.ss.formula.ptg.AbstractFunctionPtg; +import org.apache.poi.ss.formula.ptg.AttrPtg; +import org.apache.poi.ss.formula.ptg.ControlPtg; +import org.apache.poi.ss.formula.ptg.FuncVarPtg; +import org.apache.poi.ss.formula.ptg.MemAreaPtg; +import org.apache.poi.ss.formula.ptg.MemFuncPtg; +import org.apache.poi.ss.formula.ptg.Ptg; +import org.apache.poi.ss.formula.ptg.RangePtg; +import org.apache.poi.ss.formula.ptg.UnionPtg; +import org.apache.poi.ss.formula.ptg.ValueOperatorPtg; /** * This class performs 'operand class' transformation. Non-base tokens are classified into three Modified: poi/trunk/src/java/org/apache/poi/ss/formula/OperationEvaluationContext.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/OperationEvaluationContext.java?rev=1038688&r1=1038687&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/OperationEvaluationContext.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/OperationEvaluationContext.java Wed Nov 24 16:50:47 2010 @@ -17,10 +17,10 @@ package org.apache.poi.ss.formula; -import org.apache.poi.hssf.record.formula.Area3DPtg; -import org.apache.poi.hssf.record.formula.NameXPtg; -import org.apache.poi.hssf.record.formula.Ptg; -import org.apache.poi.hssf.record.formula.Ref3DPtg; +import org.apache.poi.ss.formula.ptg.Area3DPtg; +import org.apache.poi.ss.formula.ptg.NameXPtg; +import org.apache.poi.ss.formula.ptg.Ptg; +import org.apache.poi.ss.formula.ptg.Ref3DPtg; import org.apache.poi.ss.formula.eval.*; import org.apache.poi.ss.formula.functions.FreeRefFunction; import org.apache.poi.ss.SpreadsheetVersion; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/OperationEvaluatorFactory.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/OperationEvaluatorFactory.java?rev=1038688&r1=1038687&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/OperationEvaluatorFactory.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/OperationEvaluatorFactory.java Wed Nov 24 16:50:47 2010 @@ -22,25 +22,25 @@ import java.lang.reflect.Modifier; import java.util.HashMap; import java.util.Map; -import org.apache.poi.hssf.record.formula.AbstractFunctionPtg; -import org.apache.poi.hssf.record.formula.AddPtg; -import org.apache.poi.hssf.record.formula.ConcatPtg; -import org.apache.poi.hssf.record.formula.DividePtg; -import org.apache.poi.hssf.record.formula.EqualPtg; -import org.apache.poi.hssf.record.formula.GreaterEqualPtg; -import org.apache.poi.hssf.record.formula.GreaterThanPtg; -import org.apache.poi.hssf.record.formula.IntersectionPtg; -import org.apache.poi.hssf.record.formula.LessEqualPtg; -import org.apache.poi.hssf.record.formula.LessThanPtg; -import org.apache.poi.hssf.record.formula.MultiplyPtg; -import org.apache.poi.hssf.record.formula.NotEqualPtg; -import org.apache.poi.hssf.record.formula.OperationPtg; -import org.apache.poi.hssf.record.formula.PercentPtg; -import org.apache.poi.hssf.record.formula.PowerPtg; -import org.apache.poi.hssf.record.formula.RangePtg; -import org.apache.poi.hssf.record.formula.SubtractPtg; -import org.apache.poi.hssf.record.formula.UnaryMinusPtg; -import org.apache.poi.hssf.record.formula.UnaryPlusPtg; +import org.apache.poi.ss.formula.ptg.AbstractFunctionPtg; +import org.apache.poi.ss.formula.ptg.AddPtg; +import org.apache.poi.ss.formula.ptg.ConcatPtg; +import org.apache.poi.ss.formula.ptg.DividePtg; +import org.apache.poi.ss.formula.ptg.EqualPtg; +import org.apache.poi.ss.formula.ptg.GreaterEqualPtg; +import org.apache.poi.ss.formula.ptg.GreaterThanPtg; +import org.apache.poi.ss.formula.ptg.IntersectionPtg; +import org.apache.poi.ss.formula.ptg.LessEqualPtg; +import org.apache.poi.ss.formula.ptg.LessThanPtg; +import org.apache.poi.ss.formula.ptg.MultiplyPtg; +import org.apache.poi.ss.formula.ptg.NotEqualPtg; +import org.apache.poi.ss.formula.ptg.OperationPtg; +import org.apache.poi.ss.formula.ptg.PercentPtg; +import org.apache.poi.ss.formula.ptg.PowerPtg; +import org.apache.poi.ss.formula.ptg.RangePtg; +import org.apache.poi.ss.formula.ptg.SubtractPtg; +import org.apache.poi.ss.formula.ptg.UnaryMinusPtg; +import org.apache.poi.ss.formula.ptg.UnaryPlusPtg; import org.apache.poi.ss.formula.eval.ConcatEval; import org.apache.poi.ss.formula.eval.FunctionEval; import org.apache.poi.ss.formula.eval.IntersectionEval; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ParseNode.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ParseNode.java?rev=1038688&r1=1038687&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ParseNode.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ParseNode.java Wed Nov 24 16:50:47 2010 @@ -17,12 +17,12 @@ package org.apache.poi.ss.formula; -import org.apache.poi.hssf.record.formula.ArrayPtg; -import org.apache.poi.hssf.record.formula.AttrPtg; -import org.apache.poi.hssf.record.formula.FuncVarPtg; -import org.apache.poi.hssf.record.formula.MemAreaPtg; -import org.apache.poi.hssf.record.formula.MemFuncPtg; -import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.ss.formula.ptg.ArrayPtg; +import org.apache.poi.ss.formula.ptg.AttrPtg; +import org.apache.poi.ss.formula.ptg.FuncVarPtg; +import org.apache.poi.ss.formula.ptg.MemAreaPtg; +import org.apache.poi.ss.formula.ptg.MemFuncPtg; +import org.apache.poi.ss.formula.ptg.Ptg; import org.apache.poi.ss.formula.function.FunctionMetadataRegistry; /** * Represents a syntactic element from a formula by encapsulating the corresponding <tt>Ptg</tt> Modified: poi/trunk/src/java/org/apache/poi/ss/formula/SharedFormula.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/SharedFormula.java?rev=1038688&r1=1038687&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/SharedFormula.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/SharedFormula.java Wed Nov 24 16:50:47 2010 @@ -16,7 +16,7 @@ ==================================================================== */ package org.apache.poi.ss.formula; -import org.apache.poi.hssf.record.formula.*; +import org.apache.poi.ss.formula.ptg.*; import org.apache.poi.ss.SpreadsheetVersion; /** @@ -34,7 +34,7 @@ public class SharedFormula { /** * Creates a non shared formula from the shared formula counterpart, i.e. - * Converts the shared formula into the equivalent {@link org.apache.poi.hssf.record.formula.Ptg} array that it would have, + * Converts the shared formula into the equivalent {@link org.apache.poi.ss.formula.ptg.Ptg} array that it would have, * were it not shared. * * @param ptgs parsed tokens of the shared formula Modified: poi/trunk/src/java/org/apache/poi/ss/formula/WorkbookDependentFormula.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/WorkbookDependentFormula.java?rev=1038688&r1=1038687&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/WorkbookDependentFormula.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/WorkbookDependentFormula.java Wed Nov 24 16:50:47 2010 @@ -18,7 +18,7 @@ package org.apache.poi.ss.formula; /** - * Should be implemented by any {@link org.apache.poi.hssf.record.formula.Ptg} subclass that needs a workbook to render its formula. + * Should be implemented by any {@link org.apache.poi.ss.formula.ptg.Ptg} subclass that needs a workbook to render its formula. * <br/> * * For POI internal use only Modified: poi/trunk/src/java/org/apache/poi/ss/formula/WorkbookEvaluator.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/WorkbookEvaluator.java?rev=1038688&r1=1038687&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/WorkbookEvaluator.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/WorkbookEvaluator.java Wed Nov 24 16:50:47 2010 @@ -21,33 +21,33 @@ import java.util.IdentityHashMap; import java.util.Map; import java.util.Stack; -import org.apache.poi.hssf.record.formula.Area3DPtg; -import org.apache.poi.hssf.record.formula.AreaErrPtg; -import org.apache.poi.hssf.record.formula.AreaPtg; -import org.apache.poi.hssf.record.formula.AttrPtg; -import org.apache.poi.hssf.record.formula.BoolPtg; -import org.apache.poi.hssf.record.formula.ControlPtg; -import org.apache.poi.hssf.record.formula.DeletedArea3DPtg; -import org.apache.poi.hssf.record.formula.DeletedRef3DPtg; -import org.apache.poi.hssf.record.formula.ErrPtg; -import org.apache.poi.hssf.record.formula.ExpPtg; -import org.apache.poi.hssf.record.formula.FuncVarPtg; -import org.apache.poi.hssf.record.formula.IntPtg; -import org.apache.poi.hssf.record.formula.MemAreaPtg; -import org.apache.poi.hssf.record.formula.MemErrPtg; -import org.apache.poi.hssf.record.formula.MemFuncPtg; -import org.apache.poi.hssf.record.formula.MissingArgPtg; -import org.apache.poi.hssf.record.formula.NamePtg; -import org.apache.poi.hssf.record.formula.NameXPtg; -import org.apache.poi.hssf.record.formula.NumberPtg; -import org.apache.poi.hssf.record.formula.OperationPtg; -import org.apache.poi.hssf.record.formula.Ptg; -import org.apache.poi.hssf.record.formula.Ref3DPtg; -import org.apache.poi.hssf.record.formula.RefErrorPtg; -import org.apache.poi.hssf.record.formula.RefPtg; -import org.apache.poi.hssf.record.formula.StringPtg; -import org.apache.poi.hssf.record.formula.UnionPtg; -import org.apache.poi.hssf.record.formula.UnknownPtg; +import org.apache.poi.ss.formula.ptg.Area3DPtg; +import org.apache.poi.ss.formula.ptg.AreaErrPtg; +import org.apache.poi.ss.formula.ptg.AreaPtg; +import org.apache.poi.ss.formula.ptg.AttrPtg; +import org.apache.poi.ss.formula.ptg.BoolPtg; +import org.apache.poi.ss.formula.ptg.ControlPtg; +import org.apache.poi.ss.formula.ptg.DeletedArea3DPtg; +import org.apache.poi.ss.formula.ptg.DeletedRef3DPtg; +import org.apache.poi.ss.formula.ptg.ErrPtg; +import org.apache.poi.ss.formula.ptg.ExpPtg; +import org.apache.poi.ss.formula.ptg.FuncVarPtg; +import org.apache.poi.ss.formula.ptg.IntPtg; +import org.apache.poi.ss.formula.ptg.MemAreaPtg; +import org.apache.poi.ss.formula.ptg.MemErrPtg; +import org.apache.poi.ss.formula.ptg.MemFuncPtg; +import org.apache.poi.ss.formula.ptg.MissingArgPtg; +import org.apache.poi.ss.formula.ptg.NamePtg; +import org.apache.poi.ss.formula.ptg.NameXPtg; +import org.apache.poi.ss.formula.ptg.NumberPtg; +import org.apache.poi.ss.formula.ptg.OperationPtg; +import org.apache.poi.ss.formula.ptg.Ptg; +import org.apache.poi.ss.formula.ptg.Ref3DPtg; +import org.apache.poi.ss.formula.ptg.RefErrorPtg; +import org.apache.poi.ss.formula.ptg.RefPtg; +import org.apache.poi.ss.formula.ptg.StringPtg; +import org.apache.poi.ss.formula.ptg.UnionPtg; +import org.apache.poi.ss.formula.ptg.UnknownPtg; import org.apache.poi.ss.formula.eval.BlankEval; import org.apache.poi.ss.formula.eval.BoolEval; import org.apache.poi.ss.formula.eval.ErrorEval; @@ -63,7 +63,7 @@ import org.apache.poi.ss.formula.functio import org.apache.poi.ss.formula.functions.IfFunc; import org.apache.poi.ss.formula.udf.UDFFinder; import org.apache.poi.hssf.usermodel.HSSFEvaluationWorkbook; -import org.apache.poi.hssf.util.CellReference; +import org.apache.poi.ss.util.CellReference; import org.apache.poi.ss.formula.CollaboratingWorkbooksEnvironment.WorkbookNotFoundException; import org.apache.poi.ss.formula.eval.NotImplementedException; import org.apache.poi.ss.usermodel.Cell; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/constant/ConstantValueParser.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/constant/ConstantValueParser.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/constant/ConstantValueParser.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/constant/ConstantValueParser.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.constant; +package org.apache.poi.ss.formula.constant; import org.apache.poi.util.LittleEndianInput; import org.apache.poi.util.LittleEndianOutput; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/constant/ErrorConstant.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/constant/ErrorConstant.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/constant/ErrorConstant.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/constant/ErrorConstant.java Wed Nov 24 16:50:47 2010 @@ -15,9 +15,9 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.constant; +package org.apache.poi.ss.formula.constant; -import org.apache.poi.hssf.usermodel.HSSFErrorConstants; +import org.apache.poi.ss.usermodel.ErrorConstants; /** * Represents a constant error code value as encoded in a constant values array. <p/> * @@ -28,7 +28,7 @@ import org.apache.poi.hssf.usermodel.HSS */ public class ErrorConstant { // convenient access to name space - private static final HSSFErrorConstants EC = null; + private static final ErrorConstants EC = null; private static final ErrorConstant NULL = new ErrorConstant(EC.ERROR_NULL); private static final ErrorConstant DIV_0 = new ErrorConstant(EC.ERROR_DIV_0); @@ -48,21 +48,21 @@ public class ErrorConstant { return _errorCode; } public String getText() { - if(HSSFErrorConstants.isValidCode(_errorCode)) { - return HSSFErrorConstants.getText(_errorCode); + if(ErrorConstants.isValidCode(_errorCode)) { + return ErrorConstants.getText(_errorCode); } return "unknown error code (" + _errorCode + ")"; } public static ErrorConstant valueOf(int errorCode) { switch (errorCode) { - case HSSFErrorConstants.ERROR_NULL: return NULL; - case HSSFErrorConstants.ERROR_DIV_0: return DIV_0; - case HSSFErrorConstants.ERROR_VALUE: return VALUE; - case HSSFErrorConstants.ERROR_REF: return REF; - case HSSFErrorConstants.ERROR_NAME: return NAME; - case HSSFErrorConstants.ERROR_NUM: return NUM; - case HSSFErrorConstants.ERROR_NA: return NA; + case ErrorConstants.ERROR_NULL: return NULL; + case ErrorConstants.ERROR_DIV_0: return DIV_0; + case ErrorConstants.ERROR_VALUE: return VALUE; + case ErrorConstants.ERROR_REF: return REF; + case ErrorConstants.ERROR_NAME: return NAME; + case ErrorConstants.ERROR_NUM: return NUM; + case ErrorConstants.ERROR_NA: return NA; } System.err.println("Warning - unexpected error code (" + errorCode + ")"); return new ErrorConstant(errorCode); Modified: poi/trunk/src/java/org/apache/poi/ss/formula/eval/AreaEvalBase.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/eval/AreaEvalBase.java?rev=1038688&r1=1038687&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/eval/AreaEvalBase.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/eval/AreaEvalBase.java Wed Nov 24 16:50:47 2010 @@ -17,7 +17,7 @@ package org.apache.poi.ss.formula.eval; -import org.apache.poi.hssf.record.formula.AreaI; +import org.apache.poi.ss.formula.ptg.AreaI; /** * @author Josh Micich Modified: poi/trunk/src/java/org/apache/poi/ss/formula/eval/NameXEval.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/eval/NameXEval.java?rev=1038688&r1=1038687&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/eval/NameXEval.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/eval/NameXEval.java Wed Nov 24 16:50:47 2010 @@ -17,7 +17,7 @@ package org.apache.poi.ss.formula.eval; -import org.apache.poi.hssf.record.formula.NameXPtg; +import org.apache.poi.ss.formula.ptg.NameXPtg; /** * @author Josh Micich Modified: poi/trunk/src/java/org/apache/poi/ss/formula/eval/NumberEval.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/eval/NumberEval.java?rev=1038688&r1=1038687&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/eval/NumberEval.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/eval/NumberEval.java Wed Nov 24 16:50:47 2010 @@ -20,9 +20,9 @@ */ package org.apache.poi.ss.formula.eval; -import org.apache.poi.hssf.record.formula.IntPtg; -import org.apache.poi.hssf.record.formula.NumberPtg; -import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.ss.formula.ptg.IntPtg; +import org.apache.poi.ss.formula.ptg.NumberPtg; +import org.apache.poi.ss.formula.ptg.Ptg; import org.apache.poi.ss.util.NumberToTextConverter; /** Modified: poi/trunk/src/java/org/apache/poi/ss/formula/eval/StringEval.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/eval/StringEval.java?rev=1038688&r1=1038687&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/eval/StringEval.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/eval/StringEval.java Wed Nov 24 16:50:47 2010 @@ -17,8 +17,8 @@ package org.apache.poi.ss.formula.eval; -import org.apache.poi.hssf.record.formula.Ptg; -import org.apache.poi.hssf.record.formula.StringPtg; +import org.apache.poi.ss.formula.ptg.Ptg; +import org.apache.poi.ss.formula.ptg.StringPtg; /** * @author Amol S. Deshmukh &lt; amolweb at ya hoo dot com &gt; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/eval/forked/ForkedEvaluationWorkbook.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/eval/forked/ForkedEvaluationWorkbook.java?rev=1038688&r1=1038687&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/eval/forked/ForkedEvaluationWorkbook.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/eval/forked/ForkedEvaluationWorkbook.java Wed Nov 24 16:50:47 2010 @@ -20,9 +20,9 @@ package org.apache.poi.ss.formula.eval.f import java.util.HashMap; import java.util.Map; -import org.apache.poi.hssf.record.formula.NamePtg; -import org.apache.poi.hssf.record.formula.NameXPtg; -import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.ss.formula.ptg.NamePtg; +import org.apache.poi.ss.formula.ptg.NameXPtg; +import org.apache.poi.ss.formula.ptg.Ptg; import org.apache.poi.ss.formula.EvaluationCell; import org.apache.poi.ss.formula.EvaluationName; import org.apache.poi.ss.formula.EvaluationSheet; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/function/FunctionMetadataReader.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/function/FunctionMetadataReader.java?rev=1038688&r1=1038687&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/function/FunctionMetadataReader.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/function/FunctionMetadataReader.java Wed Nov 24 16:50:47 2010 @@ -27,7 +27,7 @@ import java.util.HashSet; import java.util.Set; import java.util.regex.Pattern; -import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.ss.formula.ptg.Ptg; /** * Converts the text meta-data file into a <tt>FunctionMetadataRegistry</tt> Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/AbstractFunctionPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/AbstractFunctionPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/AbstractFunctionPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/AbstractFunctionPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.ss.formula.function.FunctionMetadata; import org.apache.poi.ss.formula.function.FunctionMetadataRegistry; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/AddPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/AddPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/AddPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/AddPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; /** * Addition operator PTG the "+" binomial operator. If you need more Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/Area2DPtgBase.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/Area2DPtgBase.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/Area2DPtgBase.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/Area2DPtgBase.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.ss.util.AreaReference; import org.apache.poi.util.LittleEndianInput; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/Area3DPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/Area3DPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/Area3DPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/Area3DPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.ss.util.AreaReference; import org.apache.poi.ss.formula.ExternSheetReferenceToken; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/AreaErrPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/AreaErrPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/AreaErrPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/AreaErrPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.ss.usermodel.ErrorConstants; import org.apache.poi.util.LittleEndianInput; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/AreaI.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/AreaI.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/AreaI.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/AreaI.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; /** * Common interface for AreaPtg and Area3DPtg, and their child classes. Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/AreaNPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/AreaNPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/AreaNPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/AreaNPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.util.LittleEndianInput; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/AreaPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/AreaPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/AreaPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/AreaPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.ss.util.AreaReference; import org.apache.poi.util.LittleEndianInput; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/AreaPtgBase.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/AreaPtgBase.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/AreaPtgBase.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/AreaPtgBase.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.ss.util.AreaReference; import org.apache.poi.ss.util.CellReference; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ArrayPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ArrayPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ArrayPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ArrayPtg.java Wed Nov 24 16:50:47 2010 @@ -15,10 +15,10 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; -import org.apache.poi.hssf.record.constant.ConstantValueParser; -import org.apache.poi.hssf.record.constant.ErrorConstant; +import org.apache.poi.ss.formula.constant.ConstantValueParser; +import org.apache.poi.ss.formula.constant.ErrorConstant; import org.apache.poi.ss.util.NumberToTextConverter; import org.apache.poi.util.LittleEndianInput; import org.apache.poi.util.LittleEndianOutput; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/AttrPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/AttrPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/AttrPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/AttrPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.util.BitField; import org.apache.poi.util.BitFieldFactory; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/BoolPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/BoolPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/BoolPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/BoolPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.util.LittleEndianInput; import org.apache.poi.util.LittleEndianOutput; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ConcatPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ConcatPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ConcatPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ConcatPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; /** * Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ControlPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ControlPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ControlPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ControlPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; /** * Common superclass for Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/DeletedArea3DPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/DeletedArea3DPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/DeletedArea3DPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/DeletedArea3DPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.ss.usermodel.ErrorConstants; import org.apache.poi.ss.formula.FormulaRenderingWorkbook; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/DeletedRef3DPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/DeletedRef3DPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/DeletedRef3DPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/DeletedRef3DPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.ss.usermodel.ErrorConstants; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/DividePtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/DividePtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/DividePtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/DividePtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; /** * This PTG implements the standard binomial divide "/" Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/EqualPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/EqualPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/EqualPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/EqualPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; /** * Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ErrPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ErrPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ErrPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ErrPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.ss.usermodel.ErrorConstants; import org.apache.poi.util.LittleEndianInput; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ExpPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ExpPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ExpPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ExpPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.util.LittleEndianInput; import org.apache.poi.util.LittleEndianOutput; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ExternSheetNameResolver.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ExternSheetNameResolver.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ExternSheetNameResolver.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ExternSheetNameResolver.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.ss.formula.FormulaRenderingWorkbook; import org.apache.poi.ss.formula.EvaluationWorkbook.ExternalSheet; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/FuncPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/FuncPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/FuncPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/FuncPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.ss.formula.function.FunctionMetadata; import org.apache.poi.ss.formula.function.FunctionMetadataRegistry; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/FuncVarPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/FuncVarPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/FuncVarPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/FuncVarPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.ss.formula.function.FunctionMetadata; import org.apache.poi.ss.formula.function.FunctionMetadataRegistry; import org.apache.poi.util.LittleEndianInput; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/GreaterEqualPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/GreaterEqualPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/GreaterEqualPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/GreaterEqualPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; /** Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/GreaterThanPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/GreaterThanPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/GreaterThanPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/GreaterThanPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; /** Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/IntPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/IntPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/IntPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/IntPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.util.LittleEndianInput; import org.apache.poi.util.LittleEndianOutput; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/IntersectionPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/IntersectionPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/IntersectionPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/IntersectionPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.util.LittleEndianOutput; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/LessEqualPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/LessEqualPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/LessEqualPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/LessEqualPtg.java Wed Nov 24 16:50:47 2010 @@ -16,7 +16,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/LessThanPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/LessThanPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/LessThanPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/LessThanPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; /** * Less than operator PTG "<". The SID is taken from the Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/MemAreaPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/MemAreaPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/MemAreaPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/MemAreaPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.util.LittleEndianInput; import org.apache.poi.util.LittleEndianOutput; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/MemErrPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/MemErrPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/MemErrPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/MemErrPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.util.LittleEndianInput; import org.apache.poi.util.LittleEndianOutput; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/MemFuncPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/MemFuncPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/MemFuncPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/MemFuncPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.util.LittleEndianInput; import org.apache.poi.util.LittleEndianOutput; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/MissingArgPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/MissingArgPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/MissingArgPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/MissingArgPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.util.LittleEndianOutput; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/MultiplyPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/MultiplyPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/MultiplyPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/MultiplyPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; /** * Implements the standard mathmatical multiplication - * Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/NamePtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/NamePtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/NamePtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/NamePtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.ss.formula.FormulaRenderingWorkbook; import org.apache.poi.ss.formula.WorkbookDependentFormula; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/NameXPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/NameXPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/NameXPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/NameXPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.ss.formula.FormulaRenderingWorkbook; import org.apache.poi.ss.formula.WorkbookDependentFormula; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/NotEqualPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/NotEqualPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/NotEqualPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/NotEqualPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; /** * Ptg class to implement not equal Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/NumberPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/NumberPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/NumberPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/NumberPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.ss.util.NumberToTextConverter; import org.apache.poi.util.LittleEndianInput; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/OperandPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/OperandPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/OperandPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/OperandPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; /** * @author Josh Micich Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/OperationPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/OperationPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/OperationPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/OperationPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; /** * defines a Ptg that is an operation instead of an operand Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ParenthesisPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ParenthesisPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ParenthesisPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ParenthesisPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.util.LittleEndianOutput; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/PercentPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/PercentPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/PercentPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/PercentPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; /** * Percent PTG. Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/PowerPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/PowerPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/PowerPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/PowerPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; /** * Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/Ptg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/Ptg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/Ptg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/Ptg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import java.util.ArrayList; import java.util.List; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/RangePtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/RangePtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/RangePtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/RangePtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.util.LittleEndianOutput; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/Ref2DPtgBase.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/Ref2DPtgBase.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/Ref2DPtgBase.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/Ref2DPtgBase.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.ss.util.CellReference; import org.apache.poi.util.LittleEndianInput; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/Ref3DPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/Ref3DPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/Ref3DPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/Ref3DPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.ss.util.CellReference; import org.apache.poi.ss.formula.ExternSheetReferenceToken; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/RefErrorPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/RefErrorPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/RefErrorPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/RefErrorPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.ss.usermodel.ErrorConstants; import org.apache.poi.util.LittleEndianInput; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/RefNPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/RefNPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/RefNPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/RefNPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.util.LittleEndianInput; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/RefPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/RefPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/RefPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/RefPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.ss.util.CellReference; import org.apache.poi.util.LittleEndianInput; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/RefPtgBase.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/RefPtgBase.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/RefPtgBase.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/RefPtgBase.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.ss.util.CellReference; import org.apache.poi.util.BitField; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ScalarConstantPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ScalarConstantPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ScalarConstantPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ScalarConstantPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; /** Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/StringPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/StringPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/StringPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/StringPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.util.LittleEndianInput; import org.apache.poi.util.LittleEndianOutput; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/SubtractPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/SubtractPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/SubtractPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/SubtractPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; /** * Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/TblPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/TblPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/TblPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/TblPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.util.LittleEndianInput; import org.apache.poi.util.LittleEndianOutput; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/UnaryMinusPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/UnaryMinusPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/UnaryMinusPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/UnaryMinusPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; /** * Unary Plus operator Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/UnaryPlusPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/UnaryPlusPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/UnaryPlusPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/UnaryPlusPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; /** * Unary Plus operator Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/UnionPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/UnionPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/UnionPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/UnionPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.util.LittleEndianOutput; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/UnknownPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/UnknownPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/UnknownPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/UnknownPtg.java Wed Nov 24 16:50:47 2010 @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.util.LittleEndianOutput; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ValueOperatorPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ValueOperatorPtg.java?rev=1038688&r1=1038208&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ValueOperatorPtg.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/ValueOperatorPtg.java Wed Nov 24 16:50:47 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.util.LittleEndianOutput; Modified: poi/trunk/src/java/org/apache/poi/ss/usermodel/Footer.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/usermodel/Footer.java?rev=1038688&r1=1038687&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/usermodel/Footer.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/usermodel/Footer.java Wed Nov 24 16:50:47 2010 @@ -22,7 +22,7 @@ package org.apache.poi.ss.usermodel; * For a list of all the different fields that can be * placed into a footer, such as page number, * bold, underline etc, see - * {@link org.apache.poi.hssf.usermodel.HeaderFooter}. + * {@link org.apache.poi.ss.usermodel.HeaderFooter}. */ public interface Footer extends HeaderFooter { /** Modified: poi/trunk/src/java/org/apache/poi/ss/usermodel/Header.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/usermodel/Header.java?rev=1038688&r1=1038687&r2=1038688&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/usermodel/Header.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/usermodel/Header.java Wed Nov 24 16:50:47 2010 @@ -22,7 +22,7 @@ package org.apache.poi.ss.usermodel; * For a list of all the different fields that can be * placed into a header, such as page number, * bold, underline etc, see - * {@link org.apache.poi.hssf.usermodel.HeaderFooter}. + * {@link org.apache.poi.ss.usermodel.HeaderFooter}. */ public interface Header extends HeaderFooter { /** --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Nov 24 16:55:32 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83622 invoked from network); 24 Nov 2010 16:55:32 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 24 Nov 2010 16:55:32 -0000 Received: (qmail 82546 invoked by uid 500); 24 Nov 2010 16:56:03 -0000 Delivered-To: [email protected] Received: (qmail 82508 invoked by uid 500); 24 Nov 2010 16:56:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.poi.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 82501 invoked by uid 99); 24 Nov 2010 16:56:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Nov 2010 16:56:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Nov 2010 16:56:00 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 2F13223888E8; Wed, 24 Nov 2010 16:54:29 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1038691 - in /poi/trunk: ./ src/ooxml/java/org/apache/poi/xssf/usermodel/ src/ooxml/java/org/apache/poi/xssf/usermodel/helpers/ src/ooxml/testcases/org/apache/poi/xssf/usermodel/ src/resources/main/org/apache/poi/hssf/ src/scratchpad/src/o... Date: Wed, 24 Nov 2010 16:54:28 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: yegor Date: Wed Nov 24 16:54:26 2010 New Revision: 1038691 URL: http://svn.apache.org/viewvc?rev=1038691&view=rev Log: moved ptg classes to org.apache.poi.ss.formula.ptg Added: poi/trunk/src/testcases/org/apache/poi/ss/formula/constant/ - copied from r1038208, poi/trunk/src/testcases/org/apache/poi/hssf/record/constant/ poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/ - copied from r1038208, poi/trunk/src/testcases/org/apache/poi/hssf/record/formula/ Removed: poi/trunk/src/resources/main/org/apache/poi/hssf/ Modified: poi/trunk/ (props changed) poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFEvaluationWorkbook.java poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFName.java poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRichTextString.java poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/helpers/XSSFRowShifter.java poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFFormulaParser.java poi/trunk/src/scratchpad/src/org/apache/poi/hssf/usermodel/HSSFChart.java poi/trunk/src/testcases/org/apache/poi/ss/formula/TestEvaluationCache.java poi/trunk/src/testcases/org/apache/poi/ss/formula/TestFormulaShifter.java poi/trunk/src/testcases/org/apache/poi/ss/formula/TestWorkbookEvaluator.java poi/trunk/src/testcases/org/apache/poi/ss/formula/constant/TestConstantValueParser.java poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestAreaEval.java poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestRangeEval.java poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestUnaryPlusEval.java poi/trunk/src/testcases/org/apache/poi/ss/formula/function/TestParseMissingBuiltInFuncs.java poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/EvalFactory.java poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/AbstractPtgTestCase.java poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/AllFormulaTests.java poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestArea3DPtg.java poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestAreaErrPtg.java poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestAreaPtg.java poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestArrayPtg.java poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestAttrPtg.java poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestErrPtg.java poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestExternalFunctionFormulas.java poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestExternalNameReference.java poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestFuncPtg.java poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestFuncVarPtg.java poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestIntersectionPtg.java poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestPercentPtg.java poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestRangePtg.java poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestRef3DPtg.java poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestReferencePtg.java poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestUnionPtg.java poi/trunk/src/testcases/org/apache/poi/ss/util/TestNumberToTextConverter.java Propchange: poi/trunk/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Wed Nov 24 16:54:26 2010 @@ -1,19 +1,16 @@ -dist -scripts +classes +workbook.xls +bak +*.iws +build.number *.el +TEST-org.apache.poi*.xml +build +.settings +scripts *.ipr -*.iws +untitled1.jpx *.iml -build.number log*.* +dist *.log -build -.classpath -.project -workbook.xls -bak -classes -untitled1.jpx -TEST-org.apache.poi*.xml -.settings - Modified: poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java?rev=1038691&r1=1038690&r2=1038691&view=diff ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java (original) +++ poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java Wed Nov 24 16:54:26 2010 @@ -22,7 +22,7 @@ import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; -import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.ss.formula.ptg.Ptg; import org.apache.poi.ss.formula.SharedFormula; import org.apache.poi.ss.formula.eval.ErrorEval; import org.apache.poi.ss.SpreadsheetVersion; Modified: poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFEvaluationWorkbook.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFEvaluationWorkbook.java?rev=1038691&r1=1038690&r2=1038691&view=diff ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFEvaluationWorkbook.java (original) +++ poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFEvaluationWorkbook.java Wed Nov 24 16:54:26 2010 @@ -17,9 +17,9 @@ package org.apache.poi.xssf.usermodel; -import org.apache.poi.hssf.record.formula.NamePtg; -import org.apache.poi.hssf.record.formula.NameXPtg; -import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.ss.formula.ptg.NamePtg; +import org.apache.poi.ss.formula.ptg.NameXPtg; +import org.apache.poi.ss.formula.ptg.Ptg; import org.apache.poi.ss.SpreadsheetVersion; import org.apache.poi.ss.formula.EvaluationCell; import org.apache.poi.ss.formula.EvaluationName; @@ -29,7 +29,6 @@ import org.apache.poi.ss.formula.Formula import org.apache.poi.ss.formula.FormulaParsingWorkbook; import org.apache.poi.ss.formula.FormulaRenderingWorkbook; import org.apache.poi.ss.formula.FormulaType; -import org.apache.poi.ss.formula.EvaluationWorkbook.ExternalName; import org.openxmlformats.schemas.spreadsheetml.x2006.main.CTDefinedName; /** Modified: poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFName.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFName.java?rev=1038691&r1=1038690&r2=1038691&view=diff ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFName.java (original) +++ poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFName.java Wed Nov 24 16:54:26 2010 @@ -16,7 +16,7 @@ ==================================================================== */ package org.apache.poi.xssf.usermodel; -import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.ss.formula.ptg.Ptg; import org.apache.poi.ss.formula.FormulaParser; import org.apache.poi.ss.formula.FormulaType; import org.apache.poi.ss.usermodel.Name; Modified: poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRichTextString.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRichTextString.java?rev=1038691&r1=1038690&r2=1038691&view=diff ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRichTextString.java (original) +++ poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRichTextString.java Wed Nov 24 16:54:26 2010 @@ -480,6 +480,7 @@ public class XSSFRichTextString implemen return buf.toString(); } + @SuppressWarnings("deprecation") void applyFont(TreeMap<Integer, CTRPrElt> formats, int startIndex, int endIndex, CTRPrElt fmt) { // delete format runs that fit between startIndex and endIndex // runs intersecting startIndex and endIndex remain Modified: poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/helpers/XSSFRowShifter.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/helpers/XSSFRowShifter.java?rev=1038691&r1=1038690&r2=1038691&view=diff ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/helpers/XSSFRowShifter.java (original) +++ poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/helpers/XSSFRowShifter.java Wed Nov 24 16:54:26 2010 @@ -25,7 +25,7 @@ import org.apache.poi.ss.formula.Formula import org.apache.poi.ss.usermodel.Row; import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.formula.FormulaShifter; -import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.ss.formula.ptg.Ptg; import org.openxmlformats.schemas.spreadsheetml.x2006.main.CTCell; import org.openxmlformats.schemas.spreadsheetml.x2006.main.CTCellFormula; Modified: poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFFormulaParser.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFFormulaParser.java?rev=1038691&r1=1038690&r2=1038691&view=diff ============================================================================== --- poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFFormulaParser.java (original) +++ poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFFormulaParser.java Wed Nov 24 16:54:26 2010 @@ -19,10 +19,10 @@ package org.apache.poi.xssf.usermodel; import junit.framework.TestCase; -import org.apache.poi.hssf.record.formula.Ptg; -import org.apache.poi.hssf.record.formula.RefPtg; -import org.apache.poi.hssf.record.formula.IntPtg; -import org.apache.poi.hssf.record.formula.FuncPtg; +import org.apache.poi.ss.formula.ptg.Ptg; +import org.apache.poi.ss.formula.ptg.RefPtg; +import org.apache.poi.ss.formula.ptg.IntPtg; +import org.apache.poi.ss.formula.ptg.FuncPtg; import org.apache.poi.ss.formula.FormulaParseException; import org.apache.poi.ss.formula.FormulaParser; import org.apache.poi.ss.formula.FormulaType; Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hssf/usermodel/HSSFChart.java URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hssf/usermodel/HSSFChart.java?rev=1038691&r1=1038690&r2=1038691&view=diff ============================================================================== --- poi/trunk/src/scratchpad/src/org/apache/poi/hssf/usermodel/HSSFChart.java (original) +++ poi/trunk/src/scratchpad/src/org/apache/poi/hssf/usermodel/HSSFChart.java Wed Nov 24 16:54:26 2010 @@ -35,9 +35,9 @@ import org.apache.poi.hssf.record.Record import org.apache.poi.hssf.record.SCLRecord; import org.apache.poi.hssf.record.UnknownRecord; import org.apache.poi.hssf.record.VCenterRecord; -import org.apache.poi.hssf.record.formula.Area3DPtg; -import org.apache.poi.hssf.record.formula.AreaPtgBase; -import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.ss.formula.ptg.Area3DPtg; +import org.apache.poi.ss.formula.ptg.AreaPtgBase; +import org.apache.poi.ss.formula.ptg.Ptg; import org.apache.poi.ss.util.CellRangeAddress; import org.apache.poi.ss.util.CellRangeAddressBase; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/TestEvaluationCache.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/TestEvaluationCache.java?rev=1038691&r1=1038690&r2=1038691&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/TestEvaluationCache.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/TestEvaluationCache.java Wed Nov 24 16:54:26 2010 @@ -29,7 +29,7 @@ import junit.framework.AssertionFailedEr import junit.framework.TestCase; import org.apache.poi.hssf.model.HSSFFormulaParser; -import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.ss.formula.ptg.Ptg; import org.apache.poi.ss.formula.eval.BlankEval; import org.apache.poi.ss.formula.eval.BoolEval; import org.apache.poi.ss.formula.eval.ErrorEval; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/TestFormulaShifter.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/TestFormulaShifter.java?rev=1038691&r1=1038690&r2=1038691&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/TestFormulaShifter.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/TestFormulaShifter.java Wed Nov 24 16:54:26 2010 @@ -18,10 +18,9 @@ package org.apache.poi.ss.formula; import junit.framework.TestCase; -import org.apache.poi.hssf.record.formula.AreaErrPtg; -import org.apache.poi.hssf.record.formula.AreaPtg; -import org.apache.poi.hssf.record.formula.Ptg; -import org.apache.poi.ss.formula.FormulaShifter; +import org.apache.poi.ss.formula.ptg.AreaErrPtg; +import org.apache.poi.ss.formula.ptg.AreaPtg; +import org.apache.poi.ss.formula.ptg.Ptg; /** * Tests for {@link FormulaShifter}. Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/TestWorkbookEvaluator.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/TestWorkbookEvaluator.java?rev=1038691&r1=1038690&r2=1038691&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/TestWorkbookEvaluator.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/TestWorkbookEvaluator.java Wed Nov 24 16:54:26 2010 @@ -21,13 +21,13 @@ import junit.framework.AssertionFailedEr import junit.framework.TestCase; import org.apache.poi.hssf.HSSFTestDataSamples; -import org.apache.poi.hssf.record.formula.AreaErrPtg; -import org.apache.poi.hssf.record.formula.AttrPtg; -import org.apache.poi.hssf.record.formula.DeletedArea3DPtg; -import org.apache.poi.hssf.record.formula.DeletedRef3DPtg; -import org.apache.poi.hssf.record.formula.IntPtg; -import org.apache.poi.hssf.record.formula.Ptg; -import org.apache.poi.hssf.record.formula.RefErrorPtg; +import org.apache.poi.ss.formula.ptg.AreaErrPtg; +import org.apache.poi.ss.formula.ptg.AttrPtg; +import org.apache.poi.ss.formula.ptg.DeletedArea3DPtg; +import org.apache.poi.ss.formula.ptg.DeletedRef3DPtg; +import org.apache.poi.ss.formula.ptg.IntPtg; +import org.apache.poi.ss.formula.ptg.Ptg; +import org.apache.poi.ss.formula.ptg.RefErrorPtg; import org.apache.poi.ss.formula.eval.BlankEval; import org.apache.poi.ss.formula.eval.ErrorEval; import org.apache.poi.ss.formula.eval.MissingArgEval; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/constant/TestConstantValueParser.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/constant/TestConstantValueParser.java?rev=1038691&r1=1038208&r2=1038691&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/constant/TestConstantValueParser.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/constant/TestConstantValueParser.java Wed Nov 24 16:54:26 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.constant; +package org.apache.poi.ss.formula.constant; import java.util.Arrays; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestAreaEval.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestAreaEval.java?rev=1038691&r1=1038690&r2=1038691&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestAreaEval.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestAreaEval.java Wed Nov 24 16:54:26 2010 @@ -20,7 +20,7 @@ package org.apache.poi.ss.formula.eval; import junit.framework.AssertionFailedError; import junit.framework.TestCase; -import org.apache.poi.hssf.record.formula.AreaPtg; +import org.apache.poi.ss.formula.ptg.AreaPtg; import org.apache.poi.ss.formula.functions.EvalFactory; /** Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestRangeEval.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestRangeEval.java?rev=1038691&r1=1038690&r2=1038691&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestRangeEval.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestRangeEval.java Wed Nov 24 16:54:26 2010 @@ -20,8 +20,8 @@ package org.apache.poi.ss.formula.eval; import junit.framework.AssertionFailedError; import junit.framework.TestCase; -import org.apache.poi.hssf.record.formula.AreaI; -import org.apache.poi.hssf.record.formula.AreaI.OffsetArea; +import org.apache.poi.ss.formula.ptg.AreaI; +import org.apache.poi.ss.formula.ptg.AreaI.OffsetArea; import org.apache.poi.hssf.usermodel.HSSFCell; import org.apache.poi.hssf.usermodel.HSSFFormulaEvaluator; import org.apache.poi.hssf.usermodel.HSSFRow; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestUnaryPlusEval.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestUnaryPlusEval.java?rev=1038691&r1=1038690&r2=1038691&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestUnaryPlusEval.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/eval/TestUnaryPlusEval.java Wed Nov 24 16:54:26 2010 @@ -19,7 +19,7 @@ package org.apache.poi.ss.formula.eval; import junit.framework.TestCase; -import org.apache.poi.hssf.record.formula.AreaPtg; +import org.apache.poi.ss.formula.ptg.AreaPtg; import org.apache.poi.ss.formula.functions.EvalFactory; import org.apache.poi.ss.formula.functions.NumericFunctionInvoker; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/function/TestParseMissingBuiltInFuncs.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/function/TestParseMissingBuiltInFuncs.java?rev=1038691&r1=1038690&r2=1038691&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/function/TestParseMissingBuiltInFuncs.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/function/TestParseMissingBuiltInFuncs.java Wed Nov 24 16:54:26 2010 @@ -21,10 +21,10 @@ import junit.framework.AssertionFailedEr import junit.framework.TestCase; import org.apache.poi.hssf.model.HSSFFormulaParser; -import org.apache.poi.hssf.record.formula.AbstractFunctionPtg; -import org.apache.poi.hssf.record.formula.FuncPtg; -import org.apache.poi.hssf.record.formula.FuncVarPtg; -import org.apache.poi.hssf.record.formula.Ptg; +import org.apache.poi.ss.formula.ptg.AbstractFunctionPtg; +import org.apache.poi.ss.formula.ptg.FuncPtg; +import org.apache.poi.ss.formula.ptg.FuncVarPtg; +import org.apache.poi.ss.formula.ptg.Ptg; import org.apache.poi.hssf.usermodel.HSSFWorkbook; /** * Tests parsing of some built-in functions that were not properly Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/EvalFactory.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/EvalFactory.java?rev=1038691&r1=1038690&r2=1038691&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/EvalFactory.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/functions/EvalFactory.java Wed Nov 24 16:54:26 2010 @@ -17,10 +17,10 @@ package org.apache.poi.ss.formula.functions; -import org.apache.poi.hssf.record.formula.AreaI; -import org.apache.poi.hssf.record.formula.AreaPtg; -import org.apache.poi.hssf.record.formula.Ref3DPtg; -import org.apache.poi.hssf.record.formula.RefPtg; +import org.apache.poi.ss.formula.ptg.AreaI; +import org.apache.poi.ss.formula.ptg.AreaPtg; +import org.apache.poi.ss.formula.ptg.Ref3DPtg; +import org.apache.poi.ss.formula.ptg.RefPtg; import org.apache.poi.ss.formula.eval.AreaEval; import org.apache.poi.ss.formula.eval.AreaEvalBase; import org.apache.poi.ss.formula.eval.NumberEval; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/AbstractPtgTestCase.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/AbstractPtgTestCase.java?rev=1038691&r1=1038208&r2=1038691&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/AbstractPtgTestCase.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/AbstractPtgTestCase.java Wed Nov 24 16:54:26 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import junit.framework.TestCase; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/AllFormulaTests.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/AllFormulaTests.java?rev=1038691&r1=1038208&r2=1038691&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/AllFormulaTests.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/AllFormulaTests.java Wed Nov 24 16:54:26 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.ss.formula.TestFormulaShifter; import org.apache.poi.ss.formula.TestSheetNameFormatter; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestArea3DPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestArea3DPtg.java?rev=1038691&r1=1038208&r2=1038691&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestArea3DPtg.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestArea3DPtg.java Wed Nov 24 16:54:26 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.hssf.usermodel.HSSFEvaluationWorkbook; import org.apache.poi.hssf.usermodel.HSSFWorkbook; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestAreaErrPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestAreaErrPtg.java?rev=1038691&r1=1038208&r2=1038691&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestAreaErrPtg.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestAreaErrPtg.java Wed Nov 24 16:54:26 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.hssf.usermodel.HSSFWorkbook; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestAreaPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestAreaPtg.java?rev=1038691&r1=1038208&r2=1038691&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestAreaPtg.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestAreaPtg.java Wed Nov 24 16:54:26 2010 @@ -16,7 +16,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import junit.framework.TestCase; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestArrayPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestArrayPtg.java?rev=1038691&r1=1038208&r2=1038691&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestArrayPtg.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestArrayPtg.java Wed Nov 24 16:54:26 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import java.util.Arrays; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestAttrPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestAttrPtg.java?rev=1038691&r1=1038208&r2=1038691&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestAttrPtg.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestAttrPtg.java Wed Nov 24 16:54:26 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import java.util.Arrays; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestErrPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestErrPtg.java?rev=1038691&r1=1038208&r2=1038691&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestErrPtg.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestErrPtg.java Wed Nov 24 16:54:26 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.hssf.usermodel.HSSFCell; import org.apache.poi.hssf.usermodel.HSSFWorkbook; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestExternalFunctionFormulas.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestExternalFunctionFormulas.java?rev=1038691&r1=1038208&r2=1038691&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestExternalFunctionFormulas.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestExternalFunctionFormulas.java Wed Nov 24 16:54:26 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import java.io.File; import java.io.FileOutputStream; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestExternalNameReference.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestExternalNameReference.java?rev=1038691&r1=1038208&r2=1038691&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestExternalNameReference.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestExternalNameReference.java Wed Nov 24 16:54:26 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import junit.framework.TestCase; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestFuncPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestFuncPtg.java?rev=1038691&r1=1038208&r2=1038691&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestFuncPtg.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestFuncPtg.java Wed Nov 24 16:54:26 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import junit.framework.TestCase; import org.apache.poi.hssf.record.TestcaseRecordInputStream; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestFuncVarPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestFuncVarPtg.java?rev=1038691&r1=1038208&r2=1038691&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestFuncVarPtg.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestFuncVarPtg.java Wed Nov 24 16:54:26 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.hssf.model.HSSFFormulaParser; import org.apache.poi.hssf.usermodel.HSSFWorkbook; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestIntersectionPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestIntersectionPtg.java?rev=1038691&r1=1038208&r2=1038691&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestIntersectionPtg.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestIntersectionPtg.java Wed Nov 24 16:54:26 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.hssf.usermodel.HSSFCell; import org.apache.poi.hssf.usermodel.HSSFWorkbook; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestPercentPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestPercentPtg.java?rev=1038691&r1=1038208&r2=1038691&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestPercentPtg.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestPercentPtg.java Wed Nov 24 16:54:26 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.hssf.usermodel.HSSFSheet; import org.apache.poi.hssf.usermodel.HSSFWorkbook; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestRangePtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestRangePtg.java?rev=1038691&r1=1038208&r2=1038691&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestRangePtg.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestRangePtg.java Wed Nov 24 16:54:26 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.hssf.usermodel.HSSFCell; import org.apache.poi.hssf.usermodel.HSSFWorkbook; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestRef3DPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestRef3DPtg.java?rev=1038691&r1=1038208&r2=1038691&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestRef3DPtg.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestRef3DPtg.java Wed Nov 24 16:54:26 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.hssf.usermodel.HSSFEvaluationWorkbook; import org.apache.poi.hssf.usermodel.HSSFWorkbook; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestReferencePtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestReferencePtg.java?rev=1038691&r1=1038208&r2=1038691&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestReferencePtg.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestReferencePtg.java Wed Nov 24 16:54:26 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import java.util.Arrays; Modified: poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestUnionPtg.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestUnionPtg.java?rev=1038691&r1=1038208&r2=1038691&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestUnionPtg.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/ptg/TestUnionPtg.java Wed Nov 24 16:54:26 2010 @@ -15,7 +15,7 @@ limitations under the License. ==================================================================== */ -package org.apache.poi.hssf.record.formula; +package org.apache.poi.ss.formula.ptg; import org.apache.poi.hssf.usermodel.HSSFCell; import org.apache.poi.hssf.usermodel.HSSFWorkbook; Modified: poi/trunk/src/testcases/org/apache/poi/ss/util/TestNumberToTextConverter.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/util/TestNumberToTextConverter.java?rev=1038691&r1=1038690&r2=1038691&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/util/TestNumberToTextConverter.java (original) +++ poi/trunk/src/testcases/org/apache/poi/ss/util/TestNumberToTextConverter.java Wed Nov 24 16:54:26 2010 @@ -22,9 +22,8 @@ import junit.framework.ComparisonFailure import junit.framework.TestCase; import org.apache.poi.hssf.record.FormulaRecord; -import org.apache.poi.hssf.record.constant.ConstantValueParser; -import org.apache.poi.hssf.record.formula.NumberPtg; -import org.apache.poi.ss.util.NumberToTextConverter; +import org.apache.poi.ss.formula.constant.ConstantValueParser; +import org.apache.poi.ss.formula.ptg.NumberPtg; import org.apache.poi.ss.util.NumberToTextConversionExamples.ExampleConversion; /** * Tests for {@link NumberToTextConverter} --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Nov 25 10:29:39 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74503 invoked from network); 25 Nov 2010 10:29:39 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 25 Nov 2010 10:29:39 -0000 Received: (qmail 31020 invoked by uid 500); 25 Nov 2010 10:29:39 -0000 Delivered-To: [email protected] Received: (qmail 30982 invoked by uid 500); 25 Nov 2010 10:29:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.poi.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 30975 invoked by uid 99); 25 Nov 2010 10:29:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 10:29:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 10:29:35 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id EDB2D23888EA; Thu, 25 Nov 2010 10:28:02 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1038992 - /poi/trunk/build.xml Date: Thu, 25 Nov 2010 10:28:02 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: yegor Date: Thu Nov 25 10:28:02 2010 New Revision: 1038992 URL: http://svn.apache.org/viewvc?rev=1038992&view=rev Log: tweaked javac targets and set includeantruntime=false to avoid warnings by Ant 1.8.1 Modified: poi/trunk/build.xml Modified: poi/trunk/build.xml URL: http://svn.apache.org/viewvc/poi/trunk/build.xml?rev=1038992&r1=1038991&r2=1038992&view=diff ============================================================================== --- poi/trunk/build.xml (original) +++ poi/trunk/build.xml Thu Nov 25 10:28:02 2010 @@ -409,7 +409,8 @@ under the License. srcdir="${main.src}" debug="${compile.debug}" encoding="${java.source.encoding}" - fork="yes"> + fork="yes" + includeantruntime="false"> <classpath refid="main.classpath"/> </javac> <javac target="${jdk.version.class}" @@ -418,7 +419,8 @@ under the License. srcdir="${main.src.test}" debug="${compile.debug}" encoding="${java.source.encoding}" - fork="yes"> + fork="yes" + includeantruntime="false"> <classpath> <path refid="main.classpath"/> <pathelement path="${main.output.dir}"/> @@ -436,7 +438,8 @@ under the License. srcdir="${scratchpad.src}" debug="${compile.debug}" encoding="${java.source.encoding}" - fork="yes"> + fork="yes" + includeantruntime="false"> <classpath refid="scratchpad.classpath"/> </javac> <javac target="${jdk.version.class}" @@ -445,7 +448,8 @@ under the License. srcdir="${scratchpad.src.test}" debug="${compile.debug}" encoding="${java.source.encoding}" - fork="yes"> + fork="yes" + includeantruntime="false"> <classpath> <path refid="scratchpad.classpath"/> <pathelement location="${scratchpad.output.dir}"/> @@ -464,7 +468,8 @@ under the License. srcdir="${examples.src}" debug="${compile.debug}" encoding="${java.source.encoding}" - fork="yes"> + fork="yes" + includeantruntime="false"> <classpath> <path refid="ooxml.classpath"/> <pathelement path="${ooxml.output.dir}"/> @@ -482,8 +487,10 @@ under the License. source="${jdk.version.source}" destdir="${ooxml.output.dir}" srcdir="${ooxml.src}" + debug="${compile.debug}" encoding="${java.source.encoding}" - debug="${compile.debug}"> + fork="yes" + includeantruntime="false"> <classpath refid="ooxml.classpath"/> </javac> <javac target="${jdk.version.class}" @@ -492,7 +499,8 @@ under the License. srcdir="${ooxml.src.test}" debug="${compile.debug}" encoding="${java.source.encoding}" - fork="yes"> + fork="yes" + includeantruntime="false"> <classpath> <path refid="ooxml.classpath"/> <pathelement path="${ooxml.output.dir}"/> @@ -519,7 +527,7 @@ under the License. <javac target="${jdk.version.class}" source="${jdk.version.source}" failonerror="true" destdir="${main.output.dir}" debug="on" fork="yes" srcdir="${main.output.dir}" - encoding="${java.source.encoding}"> + encoding="${java.source.encoding}" includeantruntime="false"> </javac> <!-- Tidy up --> <delete file="${version.java}"/> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Nov 27 06:31:40 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 34635 invoked from network); 27 Nov 2010 06:31:39 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 27 Nov 2010 06:31:39 -0000 Received: (qmail 65435 invoked by uid 500); 27 Nov 2010 06:31:39 -0000 Delivered-To: [email protected] Received: (qmail 65401 invoked by uid 500); 27 Nov 2010 06:31:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.poi.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 65393 invoked by uid 99); 27 Nov 2010 06:31:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Nov 2010 06:31:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Nov 2010 06:31:35 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 43FEF2388994; Sat, 27 Nov 2010 06:30:04 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1039621 - in /poi/trunk/src: java/org/apache/poi/hssf/model/ java/org/apache/poi/hssf/record/ java/org/apache/poi/hssf/usermodel/ testcases/org/apache/poi/hssf/model/ testcases/org/apache/poi/hssf/record/ Date: Sat, 27 Nov 2010 06:30:04 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: yegor Date: Sat Nov 27 06:30:03 2010 New Revision: 1039621 URL: http://svn.apache.org/viewvc?rev=1039621&view=rev Log: improved LinkTable to support registering external UDFs. Modified: poi/trunk/src/java/org/apache/poi/hssf/model/InternalWorkbook.java poi/trunk/src/java/org/apache/poi/hssf/model/LinkTable.java poi/trunk/src/java/org/apache/poi/hssf/record/ExternSheetRecord.java poi/trunk/src/java/org/apache/poi/hssf/record/ExternalNameRecord.java poi/trunk/src/java/org/apache/poi/hssf/record/FormulaRecord.java poi/trunk/src/java/org/apache/poi/hssf/record/SupBookRecord.java poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFEvaluationWorkbook.java poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java poi/trunk/src/testcases/org/apache/poi/hssf/model/TestLinkTable.java poi/trunk/src/testcases/org/apache/poi/hssf/model/TestWorkbook.java poi/trunk/src/testcases/org/apache/poi/hssf/record/TestSupBookRecord.java Modified: poi/trunk/src/java/org/apache/poi/hssf/model/InternalWorkbook.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/model/InternalWorkbook.java?rev=1039621&r1=1039620&r2=1039621&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/model/InternalWorkbook.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/model/InternalWorkbook.java Sat Nov 27 06:30:03 2010 @@ -83,6 +83,7 @@ import org.apache.poi.hssf.record.WriteP import org.apache.poi.hssf.record.common.UnicodeString; import org.apache.poi.ss.formula.ptg.NameXPtg; import org.apache.poi.ss.formula.FormulaShifter; +import org.apache.poi.ss.formula.udf.UDFFinder; import org.apache.poi.ss.formula.ptg.Ptg; import org.apache.poi.hssf.util.HSSFColor; import org.apache.poi.ss.formula.EvaluationWorkbook.ExternalName; @@ -2300,8 +2301,22 @@ public final class InternalWorkbook { return linkTable.resolveNameXText(refIndex, definedNameIndex); } - public NameXPtg getNameXPtg(String name) { - return getOrCreateLinkTable().getNameXPtg(name); + /** + * + * @param name the name of an external function, typically a name of a UDF + * @param udf locator of user-defiend functions to resolve names of VBA and Add-In functions + * @return the external name or null + */ + public NameXPtg getNameXPtg(String name, UDFFinder udf) { + LinkTable lnk = getOrCreateLinkTable(); + NameXPtg xptg = lnk.getNameXPtg(name); + + if(xptg == null && udf.findFunction(name) != null) { + // the name was not found in the list of external names + // check if the Workbook's UDFFinder is aware about it and register the name if it is + xptg = lnk.addNameXPtg(name); + } + return xptg; } /** Modified: poi/trunk/src/java/org/apache/poi/hssf/model/LinkTable.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/model/LinkTable.java?rev=1039621&r1=1039620&r2=1039621&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/model/LinkTable.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/model/LinkTable.java Sat Nov 27 06:30:03 2010 @@ -31,9 +31,7 @@ import org.apache.poi.hssf.record.NameCo import org.apache.poi.hssf.record.NameRecord; import org.apache.poi.hssf.record.Record; import org.apache.poi.hssf.record.SupBookRecord; -import org.apache.poi.ss.formula.ptg.Area3DPtg; -import org.apache.poi.ss.formula.ptg.NameXPtg; -import org.apache.poi.ss.formula.ptg.Ref3DPtg; +import org.apache.poi.ss.formula.ptg.*; /** * Link Table (OOO pdf reference: 4.10.3 ) <p/> @@ -92,7 +90,7 @@ final class LinkTable { private static final class ExternalBookBlock { private final SupBookRecord _externalBookRecord; - private final ExternalNameRecord[] _externalNameRecords; + private ExternalNameRecord[] _externalNameRecords; private final CRNBlock[] _crnBlocks; public ExternalBookBlock(RecordStream rs) { @@ -113,12 +111,28 @@ final class LinkTable { temp.toArray(_crnBlocks); } - public ExternalBookBlock(int numberOfSheets) { + /** + * Create a new block for internal references. It is called when constructing a new LinkTable. + * + * @see org.apache.poi.hssf.model.LinkTable#LinkTable(int, WorkbookRecordList) + */ + public ExternalBookBlock(int numberOfSheets) { _externalBookRecord = SupBookRecord.createInternalReferences((short)numberOfSheets); _externalNameRecords = new ExternalNameRecord[0]; _crnBlocks = new CRNBlock[0]; } + /** + * Create a new block for registering add-in functions + * + * @see org.apache.poi.hssf.model.LinkTable#addNameXPtg(String) + */ + public ExternalBookBlock() { + _externalBookRecord = SupBookRecord.createAddInFunctions(); + _externalNameRecords = new ExternalNameRecord[0]; + _crnBlocks = new CRNBlock[0]; + } + public SupBookRecord getExternalBookRecord() { return _externalBookRecord; } @@ -143,9 +157,21 @@ final class LinkTable { } return -1; } - } - private final ExternalBookBlock[] _externalBookBlocks; + public int getNumberOfNames() { + return _externalNameRecords.length; + } + + public int addExternalName(ExternalNameRecord rec){ + ExternalNameRecord[] tmp = new ExternalNameRecord[_externalNameRecords.length + 1]; + System.arraycopy(_externalNameRecords, 0, tmp, 0, _externalNameRecords.length); + tmp[tmp.length - 1] = rec; + _externalNameRecords = tmp; + return _externalNameRecords.length - 1; + } + } + + private ExternalBookBlock[] _externalBookBlocks; private final ExternSheetRecord _externSheetRecord; private final List<NameRecord> _definedNames; private final int _recordCount; @@ -461,7 +487,69 @@ final class LinkTable { return null; } - private int findRefIndexFromExtBookIndex(int extBookIndex) { + /** + * Register an external name in this workbook + * + * @param name the name to register + * @return a NameXPtg describing this name + */ + public NameXPtg addNameXPtg(String name) { + int extBlockIndex = -1; + ExternalBookBlock extBlock = null; + + // find ExternalBlock for Add-In functions and remember its index + for (int i = 0; i < _externalBookBlocks.length; i++) { + SupBookRecord ebr = _externalBookBlocks[i].getExternalBookRecord(); + if (ebr.isAddInFunctions()) { + extBlock = _externalBookBlocks[i]; + extBlockIndex = i; + break; + } + } + // An ExternalBlock for Add-In functions was not found. Create a new one. + if (extBlock == null) { + extBlock = new ExternalBookBlock(); + + ExternalBookBlock[] tmp = new ExternalBookBlock[_externalBookBlocks.length + 1]; + System.arraycopy(_externalBookBlocks, 0, tmp, 0, _externalBookBlocks.length); + tmp[tmp.length - 1] = extBlock; + _externalBookBlocks = tmp; + + extBlockIndex = _externalBookBlocks.length - 1; + + // add the created SupBookRecord before ExternSheetRecord + int idx = findFirstRecordLocBySid(ExternSheetRecord.sid); + _workbookRecordList.add(idx, extBlock.getExternalBookRecord()); + + // register the SupBookRecord in the ExternSheetRecord + // -2 means that the scope of this name is Workbook and the reference applies to the entire workbook. + _externSheetRecord.addRef(_externalBookBlocks.length - 1, -2, -2); + } + + // create a ExternalNameRecord that will describe this name + ExternalNameRecord extNameRecord = new ExternalNameRecord(); + extNameRecord.setText(name); + // The docs don't explain why Excel set the formula to #REF! + extNameRecord.setParsedExpression(new Ptg[]{ErrPtg.REF_INVALID}); + + int nameIndex = extBlock.addExternalName(extNameRecord); + int supLinkIndex = 0; + // find the posistion of the Add-In SupBookRecord in the workbook stream, + // the created ExternalNameRecord will be appended to it + for (Iterator iterator = _workbookRecordList.iterator(); iterator.hasNext(); supLinkIndex++) { + Record record = (Record) iterator.next(); + if (record instanceof SupBookRecord) { + if (((SupBookRecord) record).isAddInFunctions()) break; + } + } + int numberOfNames = extBlock.getNumberOfNames(); + // a new name is inserted in the end of the SupBookRecord, after the last name + _workbookRecordList.add(supLinkIndex + numberOfNames, extNameRecord); + int ix = _externSheetRecord.getRefIxForSheet(extBlockIndex, -2 /* the scope is workbook*/); + return new NameXPtg(ix, nameIndex); + } + + private int findRefIndexFromExtBookIndex(int extBookIndex) { return _externSheetRecord.findRefIndexFromExtBookIndex(extBookIndex); } } Modified: poi/trunk/src/java/org/apache/poi/hssf/record/ExternSheetRecord.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/ExternSheetRecord.java?rev=1039621&r1=1039620&r2=1039621&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/ExternSheetRecord.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/ExternSheetRecord.java Sat Nov 27 06:30:03 2010 @@ -29,7 +29,8 @@ import org.apache.poi.util.LittleEndianO * @author Libin Roman (Vista Portal LDT. Developer) */ public class ExternSheetRecord extends StandardRecord { - public final static short sid = 0x0017; + + public final static short sid = 0x0017; private List<RefSubRecord> _list; private static final class RefSubRecord { @@ -184,6 +185,33 @@ public class ExternSheetRecord extends S } /** + * Add a zero-based reference to a {@link org.apache.poi.hssf.record.SupBookRecord}. + * <p> + * If the type of the SupBook record is same-sheet referencing, Add-In referencing, + * DDE data source referencing, or OLE data source referencing, + * then no scope is specified and this value <em>MUST</em> be -2. Otherwise, + * the scope must be set as follows: + * <ol> + * <li><code>-2</code> Workbook-level reference that applies to the entire workbook.</li> + * <li><code>-1</code> Sheet-level reference. </li> + * <li><code>&gt;=0</code> Sheet-level reference. This specifies the first sheet in the reference. + * <p> + * If the SupBook type is unused or external workbook referencing, + * then this value specifies the zero-based index of an external sheet name, + * see {@link org.apache.poi.hssf.record.SupBookRecord#getSheetNames()}. + * This referenced string specifies the name of the first sheet within the external workbook that is in scope. + * This sheet MUST be a worksheet or macro sheet. + * <p> + * <p> + * If the supporting link type is self-referencing, then this value specifies the zero-based index of a + * {@link org.apache.poi.hssf.record.BoundSheetRecord} record in the workbook stream that specifies + * the first sheet within the scope of this reference. This sheet MUST be a worksheet or a macro sheet. + * </p> + * </li> + * </ol> + * + * @param firstSheetIndex the scope, must be -2 for add-in references + * @param lastSheetIndex the scope, must be -2 for add-in references * @return index of newly added ref */ public int addRef(int extBookIndex, int firstSheetIndex, int lastSheetIndex) { Modified: poi/trunk/src/java/org/apache/poi/hssf/record/ExternalNameRecord.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/ExternalNameRecord.java?rev=1039621&r1=1039620&r2=1039621&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/ExternalNameRecord.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/ExternalNameRecord.java Sat Nov 27 06:30:03 2010 @@ -19,6 +19,7 @@ package org.apache.poi.hssf.record; import org.apache.poi.ss.formula.constant.ConstantValueParser; import org.apache.poi.ss.formula.Formula; +import org.apache.poi.ss.formula.ptg.Ptg; import org.apache.poi.util.LittleEndianOutput; import org.apache.poi.util.StringUtil; @@ -98,6 +99,10 @@ public final class ExternalNameRecord ex return field_4_name; } + public void setText(String str) { + field_4_name = str; + } + /** * If this is a local name, then this is the (1 based) * index of the name of the Sheet this refers to, as @@ -107,6 +112,17 @@ public final class ExternalNameRecord ex public short getIx() { return field_2_ixals; } + public void setIx(short ix) { + field_2_ixals = ix; + } + + public Ptg[] getParsedExpression() { + return Formula.getTokens(field_5_name_definition); + } + public void setParsedExpression(Ptg[] ptgs) { + field_5_name_definition = Formula.create(ptgs); + } + protected int getDataSize(){ int result = 2 + 4; // short and int @@ -142,8 +158,11 @@ public final class ExternalNameRecord ex } } - - public ExternalNameRecord(RecordInputStream in) { + public ExternalNameRecord() { + field_2_ixals = 0; + } + + public ExternalNameRecord(RecordInputStream in) { field_1_option_flag = in.readShort(); field_2_ixals = in.readShort(); field_3_not_used = in.readShort(); @@ -180,10 +199,15 @@ public final class ExternalNameRecord ex public String toString() { StringBuffer sb = new StringBuffer(); sb.append("[EXTERNALNAME]\n"); + sb.append(" .options = ").append(field_1_option_flag).append("\n"); sb.append(" .ix = ").append(field_2_ixals).append("\n"); sb.append(" .name = ").append(field_4_name).append("\n"); if(field_5_name_definition != null) { - sb.append(" .formula = ").append(field_5_name_definition).append("\n"); + Ptg[] ptgs = field_5_name_definition.getTokens(); + for (int i = 0; i < ptgs.length; i++) { + Ptg ptg = ptgs[i]; + sb.append(ptg.toString()).append(ptg.getRVAType()).append("\n"); + } } sb.append("[/EXTERNALNAME]\n"); return sb.toString(); Modified: poi/trunk/src/java/org/apache/poi/hssf/record/FormulaRecord.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/FormulaRecord.java?rev=1039621&r1=1039620&r2=1039621&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/FormulaRecord.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/FormulaRecord.java Sat Nov 27 06:30:03 2010 @@ -359,7 +359,7 @@ public final class FormulaRecord extends sb.append(" .alwaysCalc= ").append(isAlwaysCalc()).append("\n"); sb.append(" .calcOnLoad= ").append(isCalcOnLoad()).append("\n"); sb.append(" .shared = ").append(isSharedFormula()).append("\n"); - sb.append(" .zero = ").append(HexDump.intToHex(field_6_zero)); + sb.append(" .zero = ").append(HexDump.intToHex(field_6_zero)).append("\n"); Ptg[] ptgs = field_8_parsed_expr.getTokens(); for (int k = 0; k < ptgs.length; k++ ) { Modified: poi/trunk/src/java/org/apache/poi/hssf/record/SupBookRecord.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/SupBookRecord.java?rev=1039621&r1=1039620&r2=1039621&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/record/SupBookRecord.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/record/SupBookRecord.java Sat Nov 27 06:30:03 2010 @@ -47,7 +47,7 @@ public final class SupBookRecord extends return new SupBookRecord(false, numberOfSheets); } public static SupBookRecord createAddInFunctions() { - return new SupBookRecord(true, (short)0); + return new SupBookRecord(true, (short)1 /* this field MUST be 0x0001 for add-in referencing */); } public static SupBookRecord createExternalReferences(String url, String[] sheetNames) { return new SupBookRecord(url, sheetNames); Modified: poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFEvaluationWorkbook.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFEvaluationWorkbook.java?rev=1039621&r1=1039620&r2=1039621&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFEvaluationWorkbook.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFEvaluationWorkbook.java Sat Nov 27 06:30:03 2010 @@ -33,6 +33,7 @@ import org.apache.poi.ss.formula.Formula import org.apache.poi.ss.formula.FormulaParsingWorkbook; import org.apache.poi.ss.formula.FormulaRenderingWorkbook; import org.apache.poi.ss.formula.FormulaType; +import org.apache.poi.ss.formula.udf.UDFFinder; /** * Internal POI use only @@ -65,7 +66,9 @@ public final class HSSFEvaluationWorkboo } public NameXPtg getNameXPtg(String name) { - return _iBook.getNameXPtg(name); + // TODO YK: passing UDFFinder.DEFAULT is temporary, + // a proper design should take it from the parent HSSFWorkbook + return _iBook.getNameXPtg(name, UDFFinder.DEFAULT); } /** Modified: poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java?rev=1039621&r1=1039620&r2=1039621&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java Sat Nov 27 06:30:03 2010 @@ -1679,12 +1679,4 @@ public final class HSSFWorkbook extends private static byte[] newUID() { return new byte[16]; } - - /** - * Note - This method should only used by POI internally. - * It may get deleted or change definition in future POI versions - */ - public NameXPtg getNameXPtg(String name) { - return workbook.getNameXPtg(name); - } } Modified: poi/trunk/src/testcases/org/apache/poi/hssf/model/TestLinkTable.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/model/TestLinkTable.java?rev=1039621&r1=1039620&r2=1039621&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/model/TestLinkTable.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hssf/model/TestLinkTable.java Sat Nov 27 06:30:03 2010 @@ -27,13 +27,12 @@ import junit.framework.AssertionFailedEr import junit.framework.TestCase; import org.apache.poi.hssf.HSSFTestDataSamples; -import org.apache.poi.hssf.record.NameCommentRecord; -import org.apache.poi.hssf.record.NameRecord; -import org.apache.poi.hssf.record.Record; -import org.apache.poi.hssf.record.SSTRecord; -import org.apache.poi.hssf.record.SupBookRecord; +import org.apache.poi.hssf.record.*; import org.apache.poi.hssf.usermodel.HSSFCell; import org.apache.poi.hssf.usermodel.HSSFWorkbook; +import org.apache.poi.hssf.usermodel.TestHSSFWorkbook; +import org.apache.poi.ss.formula.ptg.NameXPtg; + /** * Tests for {@link LinkTable} * @@ -179,4 +178,86 @@ public final class TestLinkTable extends assertEquals(2, lt.getNumNames()); } + + public void testAddNameX(){ + WorkbookRecordList wrl = new WorkbookRecordList(); + wrl.add(0, new BOFRecord()); + wrl.add(1, new CountryRecord()); + wrl.add(2, EOFRecord.instance); + + int numberOfSheets = 3; + LinkTable tbl = new LinkTable(numberOfSheets, wrl); + // creation of a new LinkTable insert two new records: SupBookRecord followed by ExternSheetRecord + // assure they are in place: + // [BOFRecord] + // [CountryRecord] + // [SUPBOOK Internal References nSheets= 3] + // [EXTERNSHEET] + // [EOFRecord] + + assertEquals(5, wrl.getRecords().size()); + assertTrue(wrl.get(2) instanceof SupBookRecord); + SupBookRecord sup1 = (SupBookRecord)wrl.get(2); + assertEquals(numberOfSheets, sup1.getNumberOfSheets()); + assertTrue(wrl.get(3) instanceof ExternSheetRecord); + ExternSheetRecord extSheet = (ExternSheetRecord)wrl.get(3); + assertEquals(0, extSheet.getNumOfRefs()); + + assertNull(tbl.getNameXPtg("ISODD")); + assertEquals(5, wrl.getRecords().size()); //still have five records + + NameXPtg namex1 = tbl.addNameXPtg("ISODD"); // adds two new rercords + assertEquals(0, namex1.getSheetRefIndex()); + assertEquals(0, namex1.getNameIndex()); + assertEquals(namex1.toString(), tbl.getNameXPtg("ISODD").toString()); + // assure they are in place: + // [BOFRecord] + // [CountryRecord] + // [SUPBOOK Internal References nSheets= 3] + // [SUPBOOK Add-In Functions nSheets= 1] + // [EXTERNALNAME .name = ISODD] + // [EXTERNSHEET] + // [EOFRecord] + + assertEquals(7, wrl.getRecords().size()); + assertTrue(wrl.get(3) instanceof SupBookRecord); + SupBookRecord sup2 = (SupBookRecord)wrl.get(3); + assertTrue(sup2.isAddInFunctions()); + assertTrue(wrl.get(4) instanceof ExternalNameRecord); + ExternalNameRecord ext1 = (ExternalNameRecord)wrl.get(4); + assertEquals("ISODD", ext1.getText()); + assertTrue(wrl.get(5) instanceof ExternSheetRecord); + assertEquals(1, extSheet.getNumOfRefs()); + + //check that + assertEquals(0, tbl.resolveNameXIx(namex1.getSheetRefIndex(), namex1.getNameIndex())); + assertEquals("ISODD", tbl.resolveNameXText(namex1.getSheetRefIndex(), namex1.getNameIndex())); + + assertNull(tbl.getNameXPtg("ISEVEN")); + NameXPtg namex2 = tbl.addNameXPtg("ISEVEN"); // adds two new rercords + assertEquals(0, namex2.getSheetRefIndex()); + assertEquals(1, namex2.getNameIndex()); // name index increased by one + assertEquals(namex2.toString(), tbl.getNameXPtg("ISEVEN").toString()); + assertEquals(8, wrl.getRecords().size()); + // assure they are in place: + // [BOFRecord] + // [CountryRecord] + // [SUPBOOK Internal References nSheets= 3] + // [SUPBOOK Add-In Functions nSheets= 1] + // [EXTERNALNAME .name = ISODD] + // [EXTERNALNAME .name = ISEVEN] + // [EXTERNSHEET] + // [EOFRecord] + assertTrue(wrl.get(3) instanceof SupBookRecord); + assertTrue(wrl.get(4) instanceof ExternalNameRecord); + assertTrue(wrl.get(5) instanceof ExternalNameRecord); + assertEquals("ISODD", ((ExternalNameRecord)wrl.get(4)).getText()); + assertEquals("ISEVEN", ((ExternalNameRecord)wrl.get(5)).getText()); + assertTrue(wrl.get(6) instanceof ExternSheetRecord); + assertTrue(wrl.get(7) instanceof EOFRecord); + + assertEquals(0, tbl.resolveNameXIx(namex2.getSheetRefIndex(), namex2.getNameIndex())); + assertEquals("ISEVEN", tbl.resolveNameXText(namex2.getSheetRefIndex(), namex2.getNameIndex())); + + } } Modified: poi/trunk/src/testcases/org/apache/poi/hssf/model/TestWorkbook.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/model/TestWorkbook.java?rev=1039621&r1=1039620&r2=1039621&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/model/TestWorkbook.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hssf/model/TestWorkbook.java Sat Nov 27 06:30:03 2010 @@ -22,6 +22,13 @@ import junit.framework.TestCase; import org.apache.poi.hssf.record.FontRecord; import org.apache.poi.hssf.usermodel.HSSFWorkbook; import org.apache.poi.hssf.usermodel.TestHSSFWorkbook; +import org.apache.poi.ss.formula.udf.UDFFinder; +import org.apache.poi.ss.formula.udf.DefaultUDFFinder; +import org.apache.poi.ss.formula.udf.AggregatingUDFFinder; +import org.apache.poi.ss.formula.functions.FreeRefFunction; +import org.apache.poi.ss.formula.eval.ValueEval; +import org.apache.poi.ss.formula.eval.NotImplementedException; +import org.apache.poi.ss.formula.OperationEvaluationContext; /** * Unit test for the Workbook class. @@ -83,4 +90,28 @@ public final class TestWorkbook extends assertEquals(6, wb.getFontIndex(n7)); assertEquals(n7, wb.getFontRecordAt(6)); } + + public void testAddNameX(){ + InternalWorkbook wb = TestHSSFWorkbook.getInternalWorkbook(new HSSFWorkbook()); + assertNotNull(wb.getNameXPtg("ISODD", UDFFinder.DEFAULT)); + + FreeRefFunction NotImplemented = new FreeRefFunction() { + public ValueEval evaluate(ValueEval[] args, OperationEvaluationContext ec) { + throw new RuntimeException("not implemented"); + } + }; + + /** + * register the two test UDFs in a UDF finder, to be passed to the evaluator + */ + UDFFinder udff1 = new DefaultUDFFinder(new String[] { "myFunc", }, + new FreeRefFunction[] { NotImplemented }); + UDFFinder udff2 = new DefaultUDFFinder(new String[] { "myFunc2", }, + new FreeRefFunction[] { NotImplemented }); + UDFFinder udff = new AggregatingUDFFinder(udff1, udff2); + assertNotNull(wb.getNameXPtg("myFunc", udff)); + assertNotNull(wb.getNameXPtg("myFunc2", udff)); + + assertNull(wb.getNameXPtg("myFunc3", udff)); // myFunc3 is unknown + } } Modified: poi/trunk/src/testcases/org/apache/poi/hssf/record/TestSupBookRecord.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/record/TestSupBookRecord.java?rev=1039621&r1=1039620&r2=1039621&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/record/TestSupBookRecord.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hssf/record/TestSupBookRecord.java Sat Nov 27 06:30:03 2010 @@ -102,5 +102,12 @@ public final class TestSupBookRecord ext SupBookRecord record = SupBookRecord.createExternalReferences(url, sheetNames); TestcaseRecordInputStream.confirmRecordEncoding(0x01AE, dataER, record.serialize()); - } + } + + public void testStoreAIF() { + SupBookRecord record = SupBookRecord.createAddInFunctions(); + assertEquals(1, record.getNumberOfSheets()); + assertTrue(record.isAddInFunctions()); + TestcaseRecordInputStream.confirmRecordEncoding(0x01AE, dataAIF, record.serialize()); + } } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Nov 28 12:05:29 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88907 invoked from network); 28 Nov 2010 12:05:29 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 28 Nov 2010 12:05:29 -0000 Received: (qmail 27583 invoked by uid 500); 28 Nov 2010 12:05:28 -0000 Delivered-To: [email protected] Received: (qmail 27546 invoked by uid 500); 28 Nov 2010 12:05:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.poi.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 27532 invoked by uid 99); 28 Nov 2010 12:05:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Nov 2010 12:05:27 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Nov 2010 12:05:24 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 42249238897F; Sun, 28 Nov 2010 12:03:53 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1039870 - in /poi/trunk: src/java/org/apache/poi/hssf/usermodel/ src/java/org/apache/poi/ss/formula/ src/java/org/apache/poi/ss/formula/atp/ src/java/org/apache/poi/ss/formula/eval/forked/ src/java/org/apache/poi/ss/formula/function/ src/j... Date: Sun, 28 Nov 2010 12:03:52 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: yegor Date: Sun Nov 28 12:03:52 2010 New Revision: 1039870 URL: http://svn.apache.org/viewvc?rev=1039870&view=rev Log: improved work with UDFs and Analysis Toolpack functions, ATP functions are enabled by default and user can create / evaluate them just like built-in functions, both HSSF andf XSSF are supported Added: poi/trunk/src/ooxml/java/org/apache/poi/xssf/model/IndexedUDFFinder.java poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFExternalFunctions.java poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFExternalFunctions.java poi/trunk/src/testcases/org/apache/poi/ss/formula/BaseTestExternalFunctions.java poi/trunk/test-data/spreadsheet/atp.xls (with props) poi/trunk/test-data/spreadsheet/atp.xlsx (with props) Modified: poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFEvaluationWorkbook.java poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java poi/trunk/src/java/org/apache/poi/ss/formula/EvaluationWorkbook.java poi/trunk/src/java/org/apache/poi/ss/formula/WorkbookEvaluator.java poi/trunk/src/java/org/apache/poi/ss/formula/atp/AnalysisToolPak.java poi/trunk/src/java/org/apache/poi/ss/formula/eval/forked/ForkedEvaluationWorkbook.java poi/trunk/src/java/org/apache/poi/ss/formula/function/FunctionMetadataRegistry.java poi/trunk/src/java/org/apache/poi/ss/formula/udf/AggregatingUDFFinder.java poi/trunk/src/java/org/apache/poi/ss/formula/udf/DefaultUDFFinder.java poi/trunk/src/java/org/apache/poi/ss/usermodel/Workbook.java poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFEvaluationWorkbook.java poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java Modified: poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFEvaluationWorkbook.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFEvaluationWorkbook.java?rev=1039870&r1=1039869&r2=1039870&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFEvaluationWorkbook.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFEvaluationWorkbook.java Sun Nov 28 12:03:52 2010 @@ -66,9 +66,7 @@ public final class HSSFEvaluationWorkboo } public NameXPtg getNameXPtg(String name) { - // TODO YK: passing UDFFinder.DEFAULT is temporary, - // a proper design should take it from the parent HSSFWorkbook - return _iBook.getNameXPtg(name, UDFFinder.DEFAULT); + return _iBook.getNameXPtg(name, _uBook.getUDFFinder()); } /** @@ -147,6 +145,9 @@ public final class HSSFEvaluationWorkboo FormulaRecordAggregate fra = (FormulaRecordAggregate) cell.getCellValueRecord(); return fra.getFormulaTokens(); } + public UDFFinder getUDFFinder(){ + return _uBook.getUDFFinder(); + } private static final class Name implements EvaluationName { Modified: poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java?rev=1039870&r1=1039869&r2=1039870&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java (original) +++ poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java Sun Nov 28 12:03:52 2010 @@ -66,6 +66,8 @@ import org.apache.poi.ss.formula.ptg.Uni import org.apache.poi.hssf.util.CellReference; import org.apache.poi.poifs.filesystem.DirectoryNode; import org.apache.poi.poifs.filesystem.POIFSFileSystem; +import org.apache.poi.ss.formula.udf.AggregatingUDFFinder; +import org.apache.poi.ss.formula.udf.UDFFinder; import org.apache.poi.ss.usermodel.CreationHelper; import org.apache.poi.ss.usermodel.Row.MissingCellPolicy; import org.apache.poi.ss.formula.FormulaType; @@ -148,6 +150,12 @@ public final class HSSFWorkbook extends private static POILogger log = POILogFactory.getLogger(HSSFWorkbook.class); + /** + * The locator of user-defined functions. + * By default includes functions from the Excel Analysis Toolpack + */ + private UDFFinder _udfFinder = UDFFinder.DEFAULT; + public static HSSFWorkbook create(InternalWorkbook book) { return new HSSFWorkbook(book); } @@ -1672,11 +1680,33 @@ public final class HSSFWorkbook extends } } - public CreationHelper getCreationHelper() { + public HSSFCreationHelper getCreationHelper() { return new HSSFCreationHelper(this); } private static byte[] newUID() { return new byte[16]; } + + /** + * + * Returns the locator of user-defined functions. + * The default instance extends the built-in functions with the Analysis Tool Pack + * + * @return the locator of user-defined functions + */ + /*package*/ UDFFinder getUDFFinder(){ + return _udfFinder; + } + + /** + * Register a new toolpack in this workbook. + * + * @param toopack the toolpack to register + */ + public void addToolPack(UDFFinder toopack){ + AggregatingUDFFinder udfs = (AggregatingUDFFinder)_udfFinder; + udfs.add(toopack); + } + } Modified: poi/trunk/src/java/org/apache/poi/ss/formula/EvaluationWorkbook.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/EvaluationWorkbook.java?rev=1039870&r1=1039869&r2=1039870&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/EvaluationWorkbook.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/EvaluationWorkbook.java Sun Nov 28 12:03:52 2010 @@ -20,6 +20,7 @@ package org.apache.poi.ss.formula; import org.apache.poi.ss.formula.ptg.NamePtg; import org.apache.poi.ss.formula.ptg.NameXPtg; import org.apache.poi.ss.formula.ptg.Ptg; +import org.apache.poi.ss.formula.udf.UDFFinder; /** * Abstracts a workbook for the purpose of formula evaluation.<br/> @@ -49,8 +50,10 @@ public interface EvaluationWorkbook { int convertFromExternSheetIndex(int externSheetIndex); ExternalName getExternalName(int externSheetIndex, int externNameIndex); EvaluationName getName(NamePtg namePtg); + EvaluationName getName(String name, int sheetIndex); String resolveNameXText(NameXPtg ptg); Ptg[] getFormulaTokens(EvaluationCell cell); + UDFFinder getUDFFinder(); class ExternalSheet { private final String _workbookName; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/WorkbookEvaluator.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/WorkbookEvaluator.java?rev=1039870&r1=1039869&r2=1039870&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/WorkbookEvaluator.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/WorkbookEvaluator.java Sun Nov 28 12:03:52 2010 @@ -61,8 +61,8 @@ import org.apache.poi.ss.formula.eval.Va import org.apache.poi.ss.formula.functions.Choose; import org.apache.poi.ss.formula.functions.FreeRefFunction; import org.apache.poi.ss.formula.functions.IfFunc; +import org.apache.poi.ss.formula.udf.AggregatingUDFFinder; import org.apache.poi.ss.formula.udf.UDFFinder; -import org.apache.poi.hssf.usermodel.HSSFEvaluationWorkbook; import org.apache.poi.ss.util.CellReference; import org.apache.poi.ss.formula.CollaboratingWorkbooksEnvironment.WorkbookNotFoundException; import org.apache.poi.ss.formula.eval.NotImplementedException; @@ -91,7 +91,7 @@ public final class WorkbookEvaluator { private final Map<String, Integer> _sheetIndexesByName; private CollaboratingWorkbooksEnvironment _collaboratingWorkbookEnvironment; private final IStabilityClassifier _stabilityClassifier; - private final UDFFinder _udfFinder; + private final AggregatingUDFFinder _udfFinder; /** * @param udfFinder pass <code>null</code> for default (AnalysisToolPak only) @@ -109,7 +109,13 @@ public final class WorkbookEvaluator { _collaboratingWorkbookEnvironment = CollaboratingWorkbooksEnvironment.EMPTY; _workbookIx = 0; _stabilityClassifier = stabilityClassifier; - _udfFinder = udfFinder == null ? UDFFinder.DEFAULT : udfFinder; + + AggregatingUDFFinder defaultToolkit = // workbook can be null in unit tests + workbook == null ? null : (AggregatingUDFFinder)workbook.getUDFFinder(); + if(defaultToolkit != null && udfFinder != null) { + defaultToolkit.add(udfFinder); + } + _udfFinder = defaultToolkit; } /** @@ -124,10 +130,7 @@ public final class WorkbookEvaluator { } /* package */ EvaluationName getName(String name, int sheetIndex) { - NamePtg namePtg = null; - if(_workbook instanceof HSSFEvaluationWorkbook){ - namePtg =((HSSFEvaluationWorkbook)_workbook).getName(name, sheetIndex).createPtg(); - } + NamePtg namePtg = _workbook.getName(name, sheetIndex).createPtg(); if(namePtg == null) { return null; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/atp/AnalysisToolPak.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/atp/AnalysisToolPak.java?rev=1039870&r1=1039869&r2=1039870&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/atp/AnalysisToolPak.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/atp/AnalysisToolPak.java Sun Nov 28 12:03:52 2010 @@ -32,133 +32,150 @@ import org.apache.poi.ss.formula.eval.No */ public final class AnalysisToolPak implements UDFFinder { - public static final UDFFinder instance = new AnalysisToolPak(); + public static final UDFFinder instance = new AnalysisToolPak(); - private static final class NotImplemented implements FreeRefFunction { - private final String _functionName; + private static final class NotImplemented implements FreeRefFunction { + private final String _functionName; - public NotImplemented(String functionName) { - _functionName = functionName; - } - - public ValueEval evaluate(ValueEval[] args, OperationEvaluationContext ec) { - throw new NotImplementedException(_functionName); - } - }; - - private final Map<String, FreeRefFunction> _functionsByName = createFunctionsMap(); - - - private AnalysisToolPak() { - // enforce singleton - } - - public FreeRefFunction findFunction(String name) { - return _functionsByName.get(name); - } - - private Map<String, FreeRefFunction> createFunctionsMap() { - Map<String, FreeRefFunction> m = new HashMap<String, FreeRefFunction>(100); - - r(m, "ACCRINT", null); - r(m, "ACCRINTM", null); - r(m, "AMORDEGRC", null); - r(m, "AMORLINC", null); - r(m, "BESSELI", null); - r(m, "BESSELJ", null); - r(m, "BESSELK", null); - r(m, "BESSELY", null); - r(m, "BIN2DEC", null); - r(m, "BIN2HEX", null); - r(m, "BIN2OCT", null); - r(m, "CO MPLEX", null); - r(m, "CONVERT", null); - r(m, "COUPDAYBS", null); - r(m, "COUPDAYS", null); - r(m, "COUPDAYSNC", null); - r(m, "COUPNCD", null); - r(m, "COUPNUM", null); - r(m, "COUPPCD", null); - r(m, "CUMIPMT", null); - r(m, "CUMPRINC", null); - r(m, "DEC2BIN", null); - r(m, "DEC2HEX", null); - r(m, "DEC2OCT", null); - r(m, "DELTA", null); - r(m, "DISC", null); - r(m, "DOLLARDE", null); - r(m, "DOLLARFR", null); - r(m, "DURATION", null); - r(m, "EDATE", null); - r(m, "EFFECT", null); - r(m, "EOMONTH", null); - r(m, "ERF", null); - r(m, "ERFC", null); - r(m, "FACTDOUBLE", null); - r(m, "FVSCHEDULE", null); - r(m, "GCD", null); - r(m, "GESTEP", null); - r(m, "HEX2BIN", null); - r(m, "HEX2DEC", null); - r(m, "HEX2OCT", null); - r(m, "IMABS", null); - r(m, "IMAGINARY", null); - r(m, "IMARGUMENT", null); - r(m, "IMCONJUGATE", null); - r(m, "IMCOS", null); - r(m, "IMDIV", null); - r(m, "IMEXP", null); - r(m, "IMLN", null); - r(m, "IMLOG10", null); - r(m, "IMLOG2", null); - r(m, "IMPOWER", null); - r(m, "IMPRODUCT", null); - r(m, "IMREAL", null); - r(m, "IMSIN", null); - r(m, "IMSQRT", null); - r(m, "IMSUB", null); - r(m, "IMSUM", null); - r(m, "INTRATE", null); - r(m, "ISEVEN", ParityFunction.IS_EVEN); - r(m, "ISODD", ParityFunction.IS_ODD); - r(m, "LCM", null); - r(m, "MDURATION", null); - r(m, "MROUND", null); - r(m, "MULTINOMIAL", null); - r(m, "NETWORKDAYS", null); - r(m, "NOMINAL", null); - r(m, "OCT2BIN", null); - r(m, "OCT2DEC", null); - r(m, "OCT2HEX", null); - r(m, "ODDFPRICE", null); - r(m, "ODDFYIELD", null); - r(m, "ODDLPRICE", null); - r(m, "ODDLYIELD", null); - r(m, "PRICE", null); - r(m, "PRICEDISC", null); - r(m, "PRICEMAT", null); - r(m, "QUOTIENT", null); - r(m, "RANDBETWEEN", RandBetween.instance); - r(m, "RECEIVED", null); - r(m, "SERIESSUM", null); - r(m, "SQRTPI", null); - r(m, "TBILLEQ", null); - r(m, "TBILLPRICE", null); - r(m, "TBILLYIELD", null); - r(m, "WEEKNUM", null); - r(m, "WORKDAY", null); - r(m, "XIRR", null); - r(m, "XNPV", null); - r(m, "YEARFRAC", YearFrac.instance); - r(m, "YIELD", null); - r(m, "YIELDDISC", null); - r(m, "YIELDMAT", null); - - return m; - } - - private static void r(Map<String, FreeRefFunction> m, String functionName, FreeRefFunction pFunc) { - FreeRefFunction func = pFunc == null ? new NotImplemented(functionName) : pFunc; - m.put(functionName, func); - } + public NotImplemented(String functionName) { + _functionName = functionName; + } + + public ValueEval evaluate(ValueEval[] args, OperationEvaluationContext ec) { + throw new NotImplementedException(_functionName); + } + } + + ; + + private final Map<String, FreeRefFunction> _functionsByName = createFunctionsMap(); + + + private AnalysisToolPak() { + // enforce singleton + } + + public FreeRefFunction findFunction(String name) { + return _functionsByName.get(name); + } + + private Map<String, FreeRefFunction> createFunctionsMap() { + Map<String, FreeRefFunction> m = new HashMap<String, FreeRefFunction>(108); + + r(m, "ACCRINT", null); + r(m, "ACCRINTM", null); + r(m, "AMORDEGRC", null); + r(m, "AMORLINC", null); + r(m, "AVERAGEIF", null); + r(m, "AVERAGEIFS", null); + r(m, "BAHTTEXT", null); + r(m, "BESSELI", null); + r(m, "BESSELJ", null); + r(m, "BESSELK", null); + r(m, "BESSELY", null); + r(m, "BIN2DEC", null); + r(m, "BIN2HEX", null); + r(m, "BIN2OCT", null); + r(m, "COMPLEX", null); + r(m, "CONVERT", null); + r(m, "COUNTIFS", null); + r(m, "COUPDAYBS", null); + r(m, "COUPDAYS", null); + r(m, "COUPDAYSNC", null); + r(m, "COUPNCD", null); + r(m, "COUPNUM", null); + r(m, "COUPPCD", null); + r(m, "CUBEKPIMEMBER", null); + r(m, "CUBEMEMBER", null); + r(m, "CUBEMEMBERPROPERTY", null); + r(m, "CUBERANKEDMEMBER", null); + r(m, "CUBESET", null); + r(m, "CUBESETCOUNT", null); + r(m, "CUBEVALUE", null); + r(m, "CUMIPMT", null); + r(m, "CUMPRINC", null); + r(m, "DEC2BIN", null); + r(m, "DEC2HEX", null); + r(m, "DEC2OCT", null); + r(m, "DELTA", null); + r(m, "DISC", null); + r(m, "DOLLARDE", null); + r(m, "DOLLARFR", null); + r(m, "DURATION", null); + r(m, "EDATE", null); + r(m, "EFFECT", null); + r(m, "EOMONTH", null); + r(m, "ERF", null); + r(m, "ERFC", null); + r(m, "FACTDOUBLE", null); + r(m, "FVSCHEDULE", null); + r(m, "GCD", null); + r(m, "GESTEP", null); + r(m, "HEX2BIN", null); + r(m, "HEX2DEC", null); + r(m, "HEX2OCT", null); + r(m, "IFERROR", null); + r(m, "IMABS", null); + r(m, "IMAGINARY", null); + r(m, "IMARGUMENT", null); + r(m, "IMCONJUGATE", null); + r(m, "IMCOS", null); + r(m, "IMDIV", null); + r(m, "IMEXP", null); + r(m, "IMLN", null); + r(m, "IMLOG10", null); + r(m, "IMLOG2", null); + r(m, "IMPOWER", null); + r(m, "IMPRODUCT", null); + r(m, "IMREAL", null); + r(m, "IMSIN", null); + r(m, "IMSQRT", null); + r(m, "IMSUB", null); + r(m, "IMSUM", null); + r(m, "INTRATE", null); + r(m, "ISEVEN", ParityFunction.IS_EVEN); + r(m, "ISODD", ParityFunction.IS_ODD); + r(m, "JIS", null); + r(m, "LCM", null); + r(m, "MDURATION", null); + r(m, "MROUND", null); + r(m, "MULTINOMIAL", null); + r(m, "NETWORKDAYS", null); + r(m, "NOMINAL", null); + r(m, "OCT2BIN", null); + r(m, "OCT2DEC", null); + r(m, "OCT2HEX", null); + r(m, "ODDFPRICE", null); + r(m, "ODDFYIELD", null); + r(m, "ODDLPRICE", null); + r(m, "ODDLYIELD", null); + r(m, "PRICE", null); + r(m, "PRICEDISC", null); + r(m, "PRICEMAT", null); + r(m, "QUOTIENT", null); + r(m, "RANDBETWEEN", RandBetween.instance); + r(m, "RECEIVED", null); + r(m, "RTD", null); + r(m, "SERIESSUM", null); + r(m, "SQRTPI", null); + r(m, "SUMIFS", null); + r(m, "TBILLEQ", null); + r(m, "TBILLPRICE", null); + r(m, "TBILLYIELD", null); + r(m, "WEEKNUM", null); + r(m, "WORKDAY", null); + r(m, "XIRR", null); + r(m, "XNPV", null); + r(m, "YEARFRAC", YearFrac.instance); + r(m, "YIELD", null); + r(m, "YIELDDISC", null); + r(m, "YIELDMAT", null); + + return m; + } + + private static void r(Map<String, FreeRefFunction> m, String functionName, FreeRefFunction pFunc) { + FreeRefFunction func = pFunc == null ? new NotImplemented(functionName) : pFunc; + m.put(functionName, func); + } } Modified: poi/trunk/src/java/org/apache/poi/ss/formula/eval/forked/ForkedEvaluationWorkbook.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/eval/forked/ForkedEvaluationWorkbook.java?rev=1039870&r1=1039869&r2=1039870&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/eval/forked/ForkedEvaluationWorkbook.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/eval/forked/ForkedEvaluationWorkbook.java Sun Nov 28 12:03:52 2010 @@ -27,6 +27,7 @@ import org.apache.poi.ss.formula.Evaluat import org.apache.poi.ss.formula.EvaluationName; import org.apache.poi.ss.formula.EvaluationSheet; import org.apache.poi.ss.formula.EvaluationWorkbook; +import org.apache.poi.ss.formula.udf.UDFFinder; import org.apache.poi.ss.usermodel.Workbook; /** @@ -102,6 +103,10 @@ final class ForkedEvaluationWorkbook imp return _masterBook.getName(namePtg); } + public EvaluationName getName(String name, int sheetIndex){ + return _masterBook.getName(name, sheetIndex); + } + public EvaluationSheet getSheet(int sheetIndex) { return getSharedSheet(getSheetName(sheetIndex)); } @@ -130,6 +135,10 @@ final class ForkedEvaluationWorkbook imp return _masterBook.resolveNameXText(ptg); } + public UDFFinder getUDFFinder(){ + return _masterBook.getUDFFinder(); + } + private static final class OrderedSheet implements Comparable<OrderedSheet> { private final String _sheetName; private final int _index; Modified: poi/trunk/src/java/org/apache/poi/ss/formula/function/FunctionMetadataRegistry.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/function/FunctionMetadataRegistry.java?rev=1039870&r1=1039869&r2=1039870&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/function/FunctionMetadataRegistry.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/function/FunctionMetadataRegistry.java Sun Nov 28 12:03:52 2010 @@ -41,7 +41,7 @@ public final class FunctionMetadataRegis private final FunctionMetadata[] _functionDataByIndex; private final Map<String, FunctionMetadata> _functionDataByName; - private static FunctionMetadataRegistry getInstance() { + public static FunctionMetadataRegistry getInstance() { if (_instance == null) { _instance = FunctionMetadataReader.createRegistry(); } Modified: poi/trunk/src/java/org/apache/poi/ss/formula/udf/AggregatingUDFFinder.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/udf/AggregatingUDFFinder.java?rev=1039870&r1=1039869&r2=1039870&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/udf/AggregatingUDFFinder.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/udf/AggregatingUDFFinder.java Sun Nov 28 12:03:52 2010 @@ -19,17 +19,22 @@ package org.apache.poi.ss.formula.udf; import org.apache.poi.ss.formula.functions.FreeRefFunction; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Collection; + /** * Collects add-in libraries and VB macro functions together into one UDF finder * * @author PUdalau */ -public final class AggregatingUDFFinder implements UDFFinder { +public class AggregatingUDFFinder implements UDFFinder { - private final UDFFinder[] _usedToolPacks; + private final Collection<UDFFinder> _usedToolPacks; public AggregatingUDFFinder(UDFFinder ... usedToolPacks) { - _usedToolPacks = usedToolPacks.clone(); + _usedToolPacks = new ArrayList<UDFFinder>(usedToolPacks.length); + _usedToolPacks.addAll(Arrays.asList(usedToolPacks)); } /** @@ -49,4 +54,13 @@ public final class AggregatingUDFFinder } return null; } + + /** + * Add a new toolpack + * + * @param toolPack the UDF toolpack to add + */ + public void add(UDFFinder toolPack){ + _usedToolPacks.add(toolPack); + } } Modified: poi/trunk/src/java/org/apache/poi/ss/formula/udf/DefaultUDFFinder.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/udf/DefaultUDFFinder.java?rev=1039870&r1=1039869&r2=1039870&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/udf/DefaultUDFFinder.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/udf/DefaultUDFFinder.java Sun Nov 28 12:03:52 2010 @@ -38,12 +38,12 @@ public final class DefaultUDFFinder impl } HashMap<String, FreeRefFunction> m = new HashMap<String, FreeRefFunction>(nFuncs * 3 / 2); for (int i = 0; i < functionImpls.length; i++) { - m.put(functionNames[i], functionImpls[i]); + m.put(functionNames[i].toUpperCase(), functionImpls[i]); } _functionsByName = m; } public FreeRefFunction findFunction(String name) { - return _functionsByName.get(name); + return _functionsByName.get(name.toUpperCase()); } } Modified: poi/trunk/src/java/org/apache/poi/ss/usermodel/Workbook.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/usermodel/Workbook.java?rev=1039870&r1=1039869&r2=1039870&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/usermodel/Workbook.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/usermodel/Workbook.java Sun Nov 28 12:03:52 2010 @@ -21,6 +21,7 @@ import java.io.IOException; import java.io.OutputStream; import java.util.List; +import org.apache.poi.ss.formula.udf.UDFFinder; import org.apache.poi.ss.usermodel.Row.MissingCellPolicy; /** @@ -496,4 +497,12 @@ public interface Workbook { * @throws IllegalArgumentException if the supplied sheet index or state is invalid */ void setSheetHidden(int sheetIx, int hidden); + + /** + * Register a new toolpack in this workbook. + * + * @param toopack the toolpack to register + */ + void addToolPack(UDFFinder toopack); + } Added: poi/trunk/src/ooxml/java/org/apache/poi/xssf/model/IndexedUDFFinder.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/model/IndexedUDFFinder.java?rev=1039870&view=auto ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/xssf/model/IndexedUDFFinder.java (added) +++ poi/trunk/src/ooxml/java/org/apache/poi/xssf/model/IndexedUDFFinder.java Sun Nov 28 12:03:52 2010 @@ -0,0 +1,56 @@ +/* ==================================================================== + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +==================================================================== */ +package org.apache.poi.xssf.model; + +import org.apache.poi.ss.formula.functions.FreeRefFunction; +import org.apache.poi.ss.formula.udf.AggregatingUDFFinder; +import org.apache.poi.ss.formula.udf.UDFFinder; +import org.apache.poi.util.Internal; + +import java.util.HashMap; + +/** + * A UDFFinder that can retrieve functions both by name and by fake index. + * + * @author Yegor Kozlov + */ +@Internal +public final class IndexedUDFFinder extends AggregatingUDFFinder { + private final HashMap<Integer, String> _funcMap; + + public IndexedUDFFinder(UDFFinder... usedToolPacks) { + super(usedToolPacks); + _funcMap = new HashMap<Integer, String>(); + } + + public FreeRefFunction findFunction(String name) { + FreeRefFunction func = super.findFunction(name); + if (func != null) { + int idx = getFunctionIndex(name); + _funcMap.put(idx, name); + } + return func; + } + + public String getFunctionName(int idx) { + return _funcMap.get(idx); + } + + public int getFunctionIndex(String name) { + return name.hashCode(); + } +} Modified: poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFEvaluationWorkbook.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFEvaluationWorkbook.java?rev=1039870&r1=1039869&r2=1039870&view=diff ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFEvaluationWorkbook.java (original) +++ poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFEvaluationWorkbook.java Sun Nov 28 12:03:52 2010 @@ -17,6 +17,7 @@ package org.apache.poi.xssf.usermodel; +import org.apache.poi.ss.formula.functions.FreeRefFunction; import org.apache.poi.ss.formula.ptg.NamePtg; import org.apache.poi.ss.formula.ptg.NameXPtg; import org.apache.poi.ss.formula.ptg.Ptg; @@ -29,8 +30,12 @@ import org.apache.poi.ss.formula.Formula import org.apache.poi.ss.formula.FormulaParsingWorkbook; import org.apache.poi.ss.formula.FormulaRenderingWorkbook; import org.apache.poi.ss.formula.FormulaType; +import org.apache.poi.ss.formula.udf.UDFFinder; +import org.apache.poi.xssf.model.IndexedUDFFinder; import org.openxmlformats.schemas.spreadsheetml.x2006.main.CTDefinedName; +import java.util.HashMap; + /** * Internal POI use only * @@ -100,10 +105,18 @@ public final class XSSFEvaluationWorkboo } public NameXPtg getNameXPtg(String name) { - // may require to return null to make tests pass - throw new RuntimeException("Not implemented yet"); + IndexedUDFFinder udfFinder = (IndexedUDFFinder)getUDFFinder(); + FreeRefFunction func = udfFinder.findFunction(name); + if(func == null) return null; + else return new NameXPtg(0, udfFinder.getFunctionIndex(name)); } + public String resolveNameXText(NameXPtg n) { + int idx = n.getNameIndex(); + IndexedUDFFinder udfFinder = (IndexedUDFFinder)getUDFFinder(); + return udfFinder.getFunctionName(idx); + } + public EvaluationSheet getSheet(int sheetIndex) { return new XSSFEvaluationSheet(_uBook.getSheetAt(sheetIndex)); } @@ -119,14 +132,6 @@ public final class XSSFEvaluationWorkboo return _uBook.getSheetIndex(sheetName); } - /** - * TODO - figure out what the hell this methods does in - * HSSF... - */ - public String resolveNameXText(NameXPtg n) { - throw new RuntimeException("method not implemented yet"); - } - public String getSheetNameByExternSheet(int externSheetIndex) { int sheetIndex = convertFromExternalSheetIndex(externSheetIndex); return _uBook.getSheetName(sheetIndex); @@ -145,6 +150,10 @@ public final class XSSFEvaluationWorkboo return FormulaParser.parse(cell.getCellFormula(), frBook, FormulaType.CELL, _uBook.getSheetIndex(cell.getSheet())); } + public UDFFinder getUDFFinder(){ + return _uBook.getUDFFinder(); + } + private static final class Name implements EvaluationName { private final XSSFName _nameRecord; Modified: poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java?rev=1039870&r1=1039869&r2=1039870&view=diff ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java (original) +++ poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFWorkbook.java Sun Nov 28 12:03:52 2010 @@ -46,6 +46,8 @@ import org.apache.poi.openxml4j.opc.Pack import org.apache.poi.openxml4j.opc.PackageRelationshipTypes; import org.apache.poi.openxml4j.opc.PackagingURIHelper; import org.apache.poi.openxml4j.opc.TargetMode; +import org.apache.poi.ss.formula.udf.AggregatingUDFFinder; +import org.apache.poi.ss.formula.udf.UDFFinder; import org.apache.poi.ss.usermodel.Row; import org.apache.poi.ss.usermodel.Sheet; import org.apache.poi.ss.usermodel.Workbook; @@ -53,11 +55,7 @@ import org.apache.poi.ss.usermodel.Row.M import org.apache.poi.ss.util.CellReference; import org.apache.poi.ss.util.WorkbookUtil; import org.apache.poi.util.*; -import org.apache.poi.xssf.model.CalculationChain; -import org.apache.poi.xssf.model.MapInfo; -import org.apache.poi.xssf.model.SharedStringsTable; -import org.apache.poi.xssf.model.StylesTable; -import org.apache.poi.xssf.model.ThemesTable; +import org.apache.poi.xssf.model.*; import org.apache.xmlbeans.XmlException; import org.apache.xmlbeans.XmlObject; import org.apache.xmlbeans.XmlOptions; @@ -124,6 +122,12 @@ public class XSSFWorkbook extends POIXML private ThemesTable theme; /** + * The locator of user-defined functions. + * By default includes functions from the Excel Analysis Toolpack + */ + private IndexedUDFFinder _udfFinder = new IndexedUDFFinder(UDFFinder.DEFAULT); + + /** * TODO */ private CalculationChain calcChain; @@ -1492,4 +1496,31 @@ public class XSSFWorkbook extends POIXML workbook.setWorkbookProtection(CTWorkbookProtection.Factory.newInstance()); } } + + /** + * + * Returns the locator of user-defined functions. + * <p> + * The default instance extends the built-in functions with the Excel Analysis Tool Pack. + * To set / evaluate custom functions you need to register them as follows: + * + * + * + * </p> + * @return wrapped instance of UDFFinder that allows seeking functions both by index and name + */ + /*package*/ UDFFinder getUDFFinder() { + return _udfFinder; + } + + /** + * Register a new toolpack in this workbook. + * + * @param toopack the toolpack to register + */ + public void addToolPack(UDFFinder toopack){ + _udfFinder.add(toopack); + } + + } Added: poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFExternalFunctions.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFExternalFunctions.java?rev=1039870&view=auto ============================================================================== --- poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFExternalFunctions.java (added) +++ poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFExternalFunctions.java Sun Nov 28 12:03:52 2010 @@ -0,0 +1,35 @@ +/* ==================================================================== + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +==================================================================== */ + +package org.apache.poi.xssf.usermodel; + +import org.apache.poi.ss.formula.BaseTestExternalFunctions; +import org.apache.poi.xssf.XSSFITestDataProvider; + +/** + * Tests setting and evaluating user-defined functions in HSSF + */ +public final class TestXSSFExternalFunctions extends BaseTestExternalFunctions { + + public TestXSSFExternalFunctions() { + super(XSSFITestDataProvider.instance); + } + + public void testATP(){ + baseTestInvokeATP("atp.xlsx"); + } +} Added: poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFExternalFunctions.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFExternalFunctions.java?rev=1039870&view=auto ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFExternalFunctions.java (added) +++ poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFExternalFunctions.java Sun Nov 28 12:03:52 2010 @@ -0,0 +1,36 @@ +/* ==================================================================== + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +==================================================================== */ + +package org.apache.poi.hssf.usermodel; + +import org.apache.poi.hssf.HSSFITestDataProvider; +import org.apache.poi.ss.formula.BaseTestExternalFunctions; + +/** + * Tests setting and evaluating user-defined functions in HSSF + */ +public final class TestHSSFExternalFunctions extends BaseTestExternalFunctions { + + public TestHSSFExternalFunctions() { + super(HSSFITestDataProvider.instance); + } + + public void testATP(){ + baseTestInvokeATP("atp.xls"); + } + +} Added: poi/trunk/src/testcases/org/apache/poi/ss/formula/BaseTestExternalFunctions.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/ss/formula/BaseTestExternalFunctions.java?rev=1039870&view=auto ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/ss/formula/BaseTestExternalFunctions.java (added) +++ poi/trunk/src/testcases/org/apache/poi/ss/formula/BaseTestExternalFunctions.java Sun Nov 28 12:03:52 2010 @@ -0,0 +1,144 @@ +/* ==================================================================== + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +==================================================================== */ +package org.apache.poi.ss.formula; + +import junit.framework.TestCase; +import org.apache.poi.ss.ITestDataProvider; +import org.apache.poi.ss.formula.eval.ErrorEval; +import org.apache.poi.ss.formula.eval.StringEval; +import org.apache.poi.ss.formula.eval.ValueEval; +import org.apache.poi.ss.formula.functions.FreeRefFunction; +import org.apache.poi.ss.formula.udf.DefaultUDFFinder; +import org.apache.poi.ss.formula.udf.UDFFinder; +import org.apache.poi.ss.usermodel.Cell; +import org.apache.poi.ss.usermodel.FormulaEvaluator; +import org.apache.poi.ss.usermodel.Sheet; +import org.apache.poi.ss.usermodel.Workbook; + +/** + * Test setting / evaluating of Analysis Toolpack and user-defined functions + * + * @author Yegor Kozlov + */ +public class BaseTestExternalFunctions extends TestCase { + // define two custom user-defined functions + private static class MyFunc implements FreeRefFunction { + public MyFunc() { + // + } + + public ValueEval evaluate(ValueEval[] args, OperationEvaluationContext ec) { + if (args.length != 1 || !(args[0] instanceof StringEval)) { + return ErrorEval.VALUE_INVALID; + } + StringEval input = (StringEval) args[0]; + return new StringEval(input.getStringValue() + "abc"); + } + } + + private static class MyFunc2 implements FreeRefFunction { + public MyFunc2() { + // + } + + public ValueEval evaluate(ValueEval[] args, OperationEvaluationContext ec) { + if (args.length != 1 || !(args[0] instanceof StringEval)) { + return ErrorEval.VALUE_INVALID; + } + StringEval input = (StringEval) args[0]; + return new StringEval(input.getStringValue() + "abc2"); + } + } + + /** + * register the two test UDFs in a UDF finder, to be passed to the workbook + */ + private static UDFFinder customToolpack = new DefaultUDFFinder( + new String[] { "myFunc", "myFunc2"}, + new FreeRefFunction[] { new MyFunc(), new MyFunc2()} + ); + + + protected final ITestDataProvider _testDataProvider; + + /** + * @param testDataProvider an object that provides test data in HSSF / XSSF specific way + */ + protected BaseTestExternalFunctions(ITestDataProvider testDataProvider) { + _testDataProvider = testDataProvider; + } + + public void testExternalFunctions() { + Workbook wb = _testDataProvider.createWorkbook(); + + Sheet sh = wb.createSheet(); + + Cell cell1 = sh.createRow(0).createCell(0); + cell1.setCellFormula("ISODD(1)+ISEVEN(2)"); // functions from the Excel Analysis Toolpack + assertEquals("ISODD(1)+ISEVEN(2)", cell1.getCellFormula()); + + Cell cell2 = sh.createRow(1).createCell(0); + try { + cell2.setCellFormula("MYFUNC(\"B1\")"); + fail("Should fail because MYFUNC is an unknown function"); + } catch (FormulaParseException e){ + ; //expected + } + + wb.addToolPack(customToolpack); + + cell2.setCellFormula("MYFUNC(\"B1\")"); + assertEquals("MYFUNC(\"B1\")", cell2.getCellFormula()); + + Cell cell3 = sh.createRow(2).createCell(0); + cell3.setCellFormula("MYFUNC2(\"C1\")&\"-\"&A2"); //where A2 is defined above + assertEquals("MYFUNC2(\"C1\")&\"-\"&A2", cell3.getCellFormula()); + + FormulaEvaluator evaluator = wb.getCreationHelper().createFormulaEvaluator(); + assertEquals(2.0, evaluator.evaluate(cell1).getNumberValue()); + assertEquals("B1abc", evaluator.evaluate(cell2).getStringValue()); + assertEquals("C1abc2-B1abc", evaluator.evaluate(cell3).getStringValue()); + + } + + /** + * test invoking saved ATP functions + * + * @param testFile either atp.xls or atp.xlsx + */ + public void baseTestInvokeATP(String testFile){ + Workbook wb = _testDataProvider.openSampleWorkbook(testFile); + FormulaEvaluator evaluator = wb.getCreationHelper().createFormulaEvaluator(); + + Sheet sh = wb.getSheetAt(0); + // these two are not imlemented in r + assertEquals("DELTA(1.3,1.5)", sh.getRow(0).getCell(1).getCellFormula()); + assertEquals("COMPLEX(2,4)", sh.getRow(1).getCell(1).getCellFormula()); + + Cell cell2 = sh.getRow(2).getCell(1); + assertEquals("ISODD(2)", cell2.getCellFormula()); + assertEquals(false, evaluator.evaluate(cell2).getBooleanValue()); + assertEquals(Cell.CELL_TYPE_BOOLEAN, evaluator.evaluateFormulaCell(cell2)); + + Cell cell3 = sh.getRow(3).getCell(1); + assertEquals("ISEVEN(2)", cell3.getCellFormula()); + assertEquals(true, evaluator.evaluate(cell3).getBooleanValue()); + assertEquals(Cell.CELL_TYPE_BOOLEAN, evaluator.evaluateFormulaCell(cell3)); + + } + +} Added: poi/trunk/test-data/spreadsheet/atp.xls URL: http://svn.apache.org/viewvc/poi/trunk/test-data/spreadsheet/atp.xls?rev=1039870&view=auto ============================================================================== Binary file - no diff available. Propchange: poi/trunk/test-data/spreadsheet/atp.xls ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: poi/trunk/test-data/spreadsheet/atp.xlsx URL: http://svn.apache.org/viewvc/poi/trunk/test-data/spreadsheet/atp.xlsx?rev=1039870&view=auto ============================================================================== Binary file - no diff available. Propchange: poi/trunk/test-data/spreadsheet/atp.xlsx ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Nov 29 06:24:37 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 55327 invoked from network); 29 Nov 2010 06:24:37 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 29 Nov 2010 06:24:37 -0000 Received: (qmail 15048 invoked by uid 500); 29 Nov 2010 06:24:36 -0000 Delivered-To: [email protected] Received: (qmail 15013 invoked by uid 500); 29 Nov 2010 06:24:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <commits.poi.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 15006 invoked by uid 99); 29 Nov 2010 06:24:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Nov 2010 06:24:35 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Nov 2010 06:24:33 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 8B6632388A66; Mon, 29 Nov 2010 06:22:59 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1040022 - /poi/trunk/src/java/org/apache/poi/ss/formula/function/FunctionMetadataRegistry.java Date: Mon, 29 Nov 2010 06:22:59 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: yegor Date: Mon Nov 29 06:22:59 2010 New Revision: 1040022 URL: http://svn.apache.org/viewvc?rev=1040022&view=rev Log: revert visibility raised for testing Modified: poi/trunk/src/java/org/apache/poi/ss/formula/function/FunctionMetadataRegistry.java Modified: poi/trunk/src/java/org/apache/poi/ss/formula/function/FunctionMetadataRegistry.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/function/FunctionMetadataRegistry.java?rev=1040022&r1=1040021&r2=1040022&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ss/formula/function/FunctionMetadataRegistry.java (original) +++ poi/trunk/src/java/org/apache/poi/ss/formula/function/FunctionMetadataRegistry.java Mon Nov 29 06:22:59 2010 @@ -41,7 +41,7 @@ public final class FunctionMetadataRegis private final FunctionMetadata[] _functionDataByIndex; private final Map<String, FunctionMetadata> _functionDataByName; - public static FunctionMetadataRegistry getInstance() { + private static FunctionMetadataRegistry getInstance() { if (_instance == null) { _instance = FunctionMetadataReader.createRegistry(); } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
From [email protected] Tue Feb 03 06:10:35 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 96143 invoked from network); 3 Feb 2009 06:10:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Feb 2009 06:10:35 -0000 Received: (qmail 46664 invoked by uid 500); 3 Feb 2009 06:10:34 -0000 Delivered-To: [email protected] Received: (qmail 46636 invoked by uid 500); 3 Feb 2009 06:10:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 46627 invoked by uid 99); 3 Feb 2009 06:10:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Feb 2009 22:10:34 -0800 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_HOTMAIL_RCVD2,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Feb 2009 06:10:26 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1LUEU1-0002IV-Jn for [email protected]; Mon, 02 Feb 2009 22:10:05 -0800 Message-ID: <[email protected]> Date: Mon, 2 Feb 2009 22:10:05 -0800 (PST) From: Deep George <[email protected]> To: [email protected] Subject: Using Log4Net for Distributed Logging MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org Hi, I am relatively new to Log4Net. I would like to know whether Log4Net can be used for logging in a distributed environment. I am looking at 2 scenarios- Scenario 1: A 20 server site. One of the server takes care of logging (Logging Server). Every other servers pushes the log information to this centralized logging server. Which appender can i use ? (RemoteAppender?) Scenario 2: Here, there are 2 processes (Process A, Process B) running on the same host, using log4Net for logging. Is it possible for both the processes to share the log? Let say, both the processes use LogFileAppender, will they be able to share the same log file? Also, please suggest a good link/book about distributed logging using Log4Net. Thanks. -- View this message in context: http://www.nabble.com/Using-Log4Net-for-Distributed-Logging-tp21804464p21804464.html Sent from the Log4net - Users mailing list [email protected]. From [email protected] Wed Feb 04 02:52:57 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 19055 invoked from network); 4 Feb 2009 02:52:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Feb 2009 02:52:57 -0000 Received: (qmail 85049 invoked by uid 500); 4 Feb 2009 02:52:56 -0000 Delivered-To: [email protected] Received: (qmail 85021 invoked by uid 500); 4 Feb 2009 02:52:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 85007 invoked by uid 99); 4 Feb 2009 02:52:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Feb 2009 18:52:55 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO web30502.mail.mud.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 04 Feb 2009 02:52:47 +0000 Received: (qmail 75313 invoked by uid 60001); 4 Feb 2009 02:52:25 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=rsmkSnb2z3JbriIfwSnf0enju/Qk99Vs4KVfJ9dXXn2MU5sIP9ilury3H7ezG6Jq4nVSUnJSB8Hhvep8FgqZApB/prT+bazts3wugvVgAQ+CqIK3EEm0U/wFOUI5ZyysEGlFs4dHZpoxc2r4eH+X+k8MkrjAziXR0rZdvZ6r9to=; X-YMail-OSG: KeQd2gEVM1mOF0SuqJRrxYWyGcds_HoZ.Ip62CP2G2ltz0N_Ta6EZdDhAfWrWvEZZdcNZpsok5EnEWsD0jWjcZhrEIQJWxl.W5J4kR03vfMoLOLzI3yjM2aD4Lkd1Wr2wI2cqdLzPXgDj.aSb5b_eqMbMKD8iXDm3bfg27Hw6W7_NPS0TDwep1shRH0_0hQfPvoKk5N2tOxsWORBw30rxNeOllW1 Received: from [161.129.204.104] by web30502.mail.mud.yahoo.com via HTTP; Tue, 03 Feb 2009 18:52:25 PST X-Mailer: YahooMailRC/1155.45 YahooMailWebService/0.7.260.1 References: <[email protected]> Date: Tue, 3 Feb 2009 18:52:25 -0800 (PST) From: Ron Grabowski <[email protected]> Subject: Re: Using Log4Net for Distributed Logging To: Log4NET User <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org I'd start out using the remoting appender. If you want two processes to share the same log file you'll need to change the locking mechanism from the default ExclusiveLock to MinimalLock. Other alternatives include writing to real database server that can handle the concurrency. Someone posted a MutextLock to the list a while ago. I'm in the process of rewriting it to be included in the log4net distribution because the author didn't post any comments on where the code from or if it was ok to ship with log4net. ----- Original Message ---- From: Deep George <[email protected]> To: [email protected] Sent: Tuesday, February 3, 2009 1:10:05 AM Subject: Using Log4Net for Distributed Logging Hi, I am relatively new to Log4Net. I would like to know whether Log4Net can be used for logging in a distributed environment. I am looking at 2 scenarios- Scenario 1: A 20 server site. One of the server takes care of logging (Logging Server). Every other servers pushes the log information to this centralized logging server. Which appender can i use ? (RemoteAppender?) Scenario 2: Here, there are 2 processes (Process A, Process B) running on the same host, using log4Net for logging. Is it possible for both the processes to share the log? Let say, both the processes use LogFileAppender, will they be able to share the same log file? Also, please suggest a good link/book about distributed logging using Log4Net. Thanks. -- View this message in context: http://www.nabble.com/Using-Log4Net-for-Distributed-Logging-tp21804464p21804464.html Sent from the Log4net - Users mailing list [email protected]. From [email protected] Wed Feb 04 08:55:10 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78708 invoked from network); 4 Feb 2009 08:55:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Feb 2009 08:55:10 -0000 Received: (qmail 69299 invoked by uid 500); 4 Feb 2009 08:55:09 -0000 Delivered-To: [email protected] Received: (qmail 69275 invoked by uid 500); 4 Feb 2009 08:55:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 69266 invoked by uid 99); 4 Feb 2009 08:55:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Feb 2009 00:55:09 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Feb 2009 08:55:01 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1LUdWq-0005Bn-1G for [email protected]; Wed, 04 Feb 2009 00:54:40 -0800 Message-ID: <[email protected]> Date: Wed, 4 Feb 2009 00:54:40 -0800 (PST) From: rampelnik69 <[email protected]> To: [email protected] Subject: Re: using a specific log file for a specific classes In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Pierre LHUSSIEZ wrote: > > Hi, > > coul You help Me, please, how use specific log for MORE CLASSES ??? (no > one class only) > > does log4net provide this feature? > > thanks. > > -- > Pierre LHUSSIEZ > > -- View this message in context: http://www.nabble.com/using-a-specific-log-file-for-a-specific-class-tp15139211p21826555.html Sent from the Log4net - Users mailing list [email protected]. From [email protected] Wed Feb 04 14:12:45 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 43537 invoked from network); 4 Feb 2009 14:12:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Feb 2009 14:12:44 -0000 Received: (qmail 20326 invoked by uid 500); 4 Feb 2009 14:12:43 -0000 Delivered-To: [email protected] Received: (qmail 20307 invoked by uid 500); 4 Feb 2009 14:12:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 20297 invoked by uid 99); 4 Feb 2009 14:12:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Feb 2009 06:12:43 -0800 X-ASF-Spam-Status: No, hits=2.4 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-qy0-f20.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Feb 2009 14:12:34 +0000 Received: by qyk13 with SMTP id 13so3425785qyk.22 for <[email protected]>; Wed, 04 Feb 2009 06:12:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=raR/LmgpcfMKxuOakwErOZ/WfDYoZhaQN0VkdjUs9Lo=; b=uULyjqHw0VlpES+WZp8hVJQ5hJ7XfCS+2WuGnuCTJhc+Kh1M1rrzKyM6qthTDGY9Pj lH/3Xc9GdQ3dW4Zpy19Zj7tpwWBB+OkiaOJN+51ipAu7z48b0NnGpgAo9QmOufwYXo5q oHYC+w1kGcZUHDb5M85MlU3Ny8DvCOgp1cCGg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=hmsyoG6Gwg7Bc8Xex8MCfIii8m+LwprwTWa+cdJm2XmWKTg7sPS90OzCDrpvDIC6JH EClMRSeCCfLJ+vo5Qft7ExNtiW5Uyvo3TTO9uuUiYbV6yTS/GtP5DzxH8tnTszJi++Kd LuC+ClNro2zhyRAUWbx6zaSldUhKc8xXgmHsc= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id l17mr3008978qcp.25.1233756733152; Wed, 04 Feb 2009 06:12:13 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Wed, 4 Feb 2009 09:42:13 -0430 Message-ID: <[email protected]> Subject: Re: using a specific log file for a specific classes From: =?ISO-8859-1?Q?Freddy_G=F3mez?= <[email protected]> To: Log4NET User <[email protected]> Content-Type: multipart/alternative; boundary=0016364274acd19dc20462185fac X-Virus-Checked: Checked by ClamAV on apache.org --0016364274acd19dc20462185fac Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit This is an option I know, If the classes share the same namespace you can define a logger with the value of the namespace then all the classes will use that logger. for example: let's say you have the namespace 'mynamespace' and you have the clases 'mynamespace.myclass1', 'mynamespace.myclass2' y 'mynamespace.myclass3'. Then if you define a logger with name loggername = 'mynamespace' you will have the three classes sharing the same logger. Check out the documentation of the filters you may find them useful. -fred On Wed, Feb 4, 2009 at 4:24 AM, rampelnik69 <[email protected]> wrote: > > > > Pierre LHUSSIEZ wrote: > > > > Hi, > > > > coul You help Me, please, how use specific log for MORE CLASSES ??? (no > > one class only) > > > > does log4net provide this feature? > > > > thanks. > > > > -- > > Pierre LHUSSIEZ > > > > > > -- > View this message in context: > http://www.nabble.com/using-a-specific-log-file-for-a-specific-class-tp15139211p21826555.html > Sent from the Log4net - Users mailing list [email protected]. > > --0016364274acd19dc20462185fac Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable This is an option I know,&nbsp;<div><br></div><div>If the classes share the= same namespace you can define a logger with the value of the namespace the= n all the classes will use that logger.</div><div><br></div><div>for exampl= e: let&#39;s say you have the namespace &#39;mynamespace&#39; and you have = the clases</div> <div>&#39;mynamespace.myclass1&#39;,&nbsp;&#39;mynamespace.myclass2&#39; y&= nbsp;&#39;mynamespace.myclass3&#39;. Then if you define a logger with name<= br></div><div>loggername =3D &#39;mynamespace&#39; you will have the three = classes sharing the same logger.</div> <div><br></div><div>Check out the documentation of the filters you may find= them useful.</div><div><br></div><div>-fred</div><div><br><br><div class= =3D"gmail_quote">On Wed, Feb 4, 2009 at 4:24 AM, rampelnik69 <span dir=3D"l= tr">&lt;<a href=3D"mailto:[email protected]">[email protected]</a>&= gt;</span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex;"><br> <br> <br> Pierre LHUSSIEZ wrote:<br> &gt;<br> &gt; Hi,<br> &gt;<br> &gt; coul You help Me, please, how use specific log for MORE CLASSES ??? (n= o<br> &gt; one class only)<br> &gt;<br> &gt; does log4net provide this feature?<br> &gt;<br> &gt; thanks.<br> &gt;<br> &gt; --<br> &gt; Pierre LHUSSIEZ<br> &gt;<br> &gt;<br> <font color=3D"#888888"><br> --<br> View this message in context: <a href=3D"http://www.nabble.com/using-a-spec= ific-log-file-for-a-specific-class-tp15139211p21826555.html" target=3D"_bla= nk">http://www.nabble.com/using-a-specific-log-file-for-a-specific-class-tp= 15139211p21826555.html</a><br> Sent from the Log4net - Users mailing list [email protected].<br> <br> </font></blockquote></div><br></div> --0016364274acd19dc20462185fac-- From [email protected] Wed Feb 04 14:43:10 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60834 invoked from network); 4 Feb 2009 14:43:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Feb 2009 14:43:10 -0000 Received: (qmail 68170 invoked by uid 500); 4 Feb 2009 14:43:10 -0000 Delivered-To: [email protected] Received: (qmail 67767 invoked by uid 500); 4 Feb 2009 14:43:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 67758 invoked by uid 99); 4 Feb 2009 14:43:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Feb 2009 06:43:09 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO oisw0002.owensill.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Feb 2009 14:43:03 +0000 Received: from l29dsg01.na.o-i.intra (l29ws100.na.o-i.intra [161.129.204.104]) by oisw0002.owensill.com with ESMTP id n14Edbvc015477 for <[email protected]>; Wed, 4 Feb 2009 09:39:37 -0500 (EST) Subject: RollingFileAppender behavior on program exit To: [email protected] X-Mailer: Lotus Notes Release 6.5.6 March 06, 2007 Message-ID: <[email protected]> From: [email protected] Date: Wed, 4 Feb 2009 09:40:26 -0500 X-MIMETrack: Serialize by Router on L29DSG01/SVR/O-I(Release 7.0.3|September 26, 2007) at 02/04/2009 09:41:47 AM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org Hi, I am using log4net 1.2.10 RollingFileAppender in C#/VS2005. Rolling the files by date. Everything is working fine except that the final log file written before program exit is not rolled and remains named as a temp file (just the name as specified in file value without the date pattern and extension). I am calling the Shutdown function, but this does not seem to help. Attached is the .config xml I'm currently using. Its set to rollover on minute boundaries as a debugging convenience. Some of the tags may be extraneous, I've been trying a few different strategies for dealing with this... As an additional layer of complexity, I'm actually using this from VB6/COM. My C# code is just a ComVisible wrapper to the basic log4net calls. Any input would be appreciated. This is starting to drive me nuts. Regards, Dan From [email protected] Wed Feb 04 14:47:34 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63481 invoked from network); 4 Feb 2009 14:47:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Feb 2009 14:47:33 -0000 Received: (qmail 83306 invoked by uid 500); 4 Feb 2009 14:47:32 -0000 Delivered-To: [email protected] Received: (qmail 83283 invoked by uid 500); 4 Feb 2009 14:47:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 83274 invoked by uid 99); 4 Feb 2009 14:47:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Feb 2009 06:47:32 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO oisw0002.owensill.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Feb 2009 14:47:24 +0000 Received: from l29dsg01.na.o-i.intra (l29ws100.na.o-i.intra [161.129.204.104]) by oisw0002.owensill.com with ESMTP id n14EhsHv015674 for <[email protected]>; Wed, 4 Feb 2009 09:43:54 -0500 (EST) In-Reply-To: <[email protected]> Subject: Re: RollingFileAppender behavior on program exit To: "Log4NET User" <[email protected]> X-Mailer: Lotus Notes Release 6.5.6 March 06, 2007 Message-ID: <[email protected]> From: [email protected] Date: Wed, 4 Feb 2009 09:44:45 -0500 X-MIMETrack: Serialize by Router on L29DSG01/SVR/O-I(Release 7.0.3|September 26, 2007) at 02/04/2009 09:46:04 AM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org arg... Here is the xml I promised: <?xml version="1.0" encoding="utf-8" ?> <configuration> <!-- Register a section handler for the log4net section --> <configSections> <section name="log4net" type="System.Configuration.IgnoreSectionHandler" /> </configSections> <appSettings> <!-- To enable internal log4net logging specify the following appSettings key --> <!-- <add key="log4net.Internal.Debug" value="true"/> --> </appSettings> <!-- This section contains the log4net configuration settings --> <log4net> <appender name="MinuteRollingLogFileAppender" type="log4net.Appender.RollingFileAppender"> <file value="C:\OIApps\Interactive\MSDiagnostics\MSDLog" /> <appendToFile value="true" /> <rollingStyle value="Date" /> <datePattern value="HHmm.lo\g" /> <lockingModel type="log4net.Appender.FileAppender+MinimalLock" /> <bufferSize value="0" /> <ImmediateFlush value="true" /> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" /> </layout> </appender> <root> <level value="ALL" /> <appender-ref ref="MinuteRollingLogFileAppender" /> </root> </log4net> </configuration> [email protected] 02/04/2009 09:40 AM To [email protected] cc Please respond to "Log4NET User" Subject <[email protected]. RollingFileAppender behavior on program exit org> Hi, I am using log4net 1.2.10 RollingFileAppender in C#/VS2005. Rolling the files by date. Everything is working fine except that the final log file written before program exit is not rolled and remains named as a temp file (just the name as specified in file value without the date pattern and extension). I am calling the Shutdown function, but this does not seem to help. Attached is the .config xml I'm currently using. Its set to rollover on minute boundaries as a debugging convenience. Some of the tags may be extraneous, I've been trying a few different strategies for dealing with this... As an additional layer of complexity, I'm actually using this from VB6/COM. My C# code is just a ComVisible wrapper to the basic log4net calls. Any input would be appreciated. This is starting to drive me nuts. Regards, Dan From [email protected] Mon Feb 09 15:41:06 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69696 invoked from network); 9 Feb 2009 15:41:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Feb 2009 15:41:06 -0000 Received: (qmail 19658 invoked by uid 500); 9 Feb 2009 15:41:05 -0000 Delivered-To: [email protected] Received: (qmail 19632 invoked by uid 500); 9 Feb 2009 15:41:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 19623 invoked by uid 99); 9 Feb 2009 15:41:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Feb 2009 07:41:05 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f167.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Feb 2009 15:40:58 +0000 Received: by bwz11 with SMTP id 11so1431794bwz.22 for <[email protected]>; Mon, 09 Feb 2009 07:40:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=NPOiquGTsxF98HKXWbVLxtdeOVPG2cdFQ3zaC/76B2Q=; b=pVhvCrfHoAKqBhzDmI/lR7oMLe8q927lI++BN2CC1vUxIHRbZ2gFzYHAwNHsVYgbXW 6E8W31EqZLjdb078G4VwtuA+WWvuYeLW99KPBODy0dF9Aw2Vo6Kn+ifGh/Dci7gj2myZ CKD7nH2nqy9dWckrZuMEjwvrY+nZVUqCcmbtc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=kSkOKigtzBfvHTGpdSYL7hIG/GmVeFhWPQGiYhMZkEV+2aQtB///chpGVWPXpoE0yQ y8+LSuC2gxczqobxfD9BmTP2kahZvpXOyvyMNcwnoEAf9uMKdd8p1dUnyLuReA5W9fhC oKlNLUX4sARPIQ2UBXGfj8zeepmCrwB9cAqFw= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id c1mr2171920mus.64.1234194037073; Mon, 09 Feb 2009 07:40:37 -0800 (PST) Date: Mon, 9 Feb 2009 12:40:37 -0300 Message-ID: <[email protected]> Subject: Problems with Log4Net zip file From: Cristina <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=001636765bca29e60b04627e31c0 X-Virus-Checked: Checked by ClamAV on apache.org --001636765bca29e60b04627e31c0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi, I want to use the Log4Net in a new application I'm working, but I had some difficults to get the log4net bin to add on my application. I'm using .net framework 2.0. I already downloaded log4net 1.2.10 (zip) in this address: http://archive.apache.org/dist/incubator/log4net/1.2.10/incubating-log4net-1.2.10.zip When I click in incubating-log4net-1.2.10.zip I got an error saying the file can be corrupted or is invalid. I tryed the 1.2.9 version, and I got the same error. Only whith the 1.2.8 version, got at source forge page, i had no problems, but this version is not for the .net framework i using. Could you help me? thank you, Cristina Almada --001636765bca29e60b04627e31c0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,<br><br>I want to use the Log4Net in a new application I&#39;m working, = but I had some difficults to get the log4net bin to add on my application. = I&#39;m using .net framework 2.0.<br><br>I already downloaded log4net 1.2.1= 0 (zip) in this address: <a href=3D"http://archive.apache.org/dist/incubato= r/log4net/1.2.10/incubating-log4net-1.2.10.zip">http://archive.apache.org/d= ist/incubator/log4net/1.2.10/incubating-log4net-1.2.10.zip</a><br> <br>When I click in incubating-log4net-1.2.10.zip I got an error saying the= file can be corrupted or is invalid.<br><br>I tryed the 1.2.9 version, and= I got the same error.<br><br>Only whith the 1.2.8 version, got at source f= orge page, i had no problems, but this version is not for the .net framewor= k i using.<br> <br>Could you help me?<br><br>thank you,<br><br>Cristina Almada<br> --001636765bca29e60b04627e31c0-- From [email protected] Mon Feb 09 21:27:48 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 27651 invoked from network); 9 Feb 2009 21:27:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Feb 2009 21:27:48 -0000 Received: (qmail 9120 invoked by uid 500); 9 Feb 2009 21:27:47 -0000 Delivered-To: [email protected] Received: (qmail 9101 invoked by uid 500); 9 Feb 2009 21:27:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 9088 invoked by uid 99); 9 Feb 2009 21:27:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Feb 2009 13:27:47 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO oisw0002.owensill.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Feb 2009 21:27:39 +0000 Received: from l29dsg01.na.o-i.intra (l29ws100.na.o-i.intra [161.129.204.104]) by oisw0002.owensill.com with ESMTP id n19LNjLp038848 for <[email protected]>; Mon, 9 Feb 2009 16:23:45 -0500 (EST) In-Reply-To: <[email protected]> Subject: Re: Problems with Log4Net zip file To: "Log4NET User" <[email protected]> X-Mailer: Lotus Notes Release 6.5.6 March 06, 2007 Message-ID: <[email protected]> From: [email protected] Date: Mon, 9 Feb 2009 16:24:53 -0500 X-MIMETrack: Serialize by Router on L29DSG01/SVR/O-I(Release 7.0.3|September 26, 2007) at 02/09/2009 04:26:13 PM MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Had the same problem with whichever mirror I was automatically redirect= ed to from the log4net download page (http://logging.apache.org/log4net/download.html). =A0Not sure whi= ch mirror I was actually connected to... Had success with the direct CVS download, though (http://cvs.apache.org= /dist/incubator/log4net/1.2.10 /incubating-log4net-1.2.10.zip) . =A0Somebody should check the mirrors/= redirector...? = Cristina = <[email protected]> = = To 02/09/2009 10:40 AM log4net-user@logging= .apache.org = cc = Please respond to = Subject "Log4NET User" Problems with Log4Ne= t zip file <[email protected]. = org> = = = = = Hi, I want to use the Log4Net in a new application I'm working, but I had s= ome difficults to get the log4net bin to add on my application. I'm using .net framework 2.0. I already downloaded log4net 1.2.10 (zip) in this address: http://archive.apache.org/dist/incubator/log4net/1.2.10/incubating-log4= net-1.2.10.zip When I click in incubating-log4net-1.2.10.zip I got an error saying the= file can be corrupted or is invalid. I tryed the 1.2.9 version, and I got the same error. Only whith the 1.2.8 version, got at source forge page, i had no proble= ms, but this version is not for the .net framework i using. Could you help me? thank you, Cristina Almada= From [email protected] Mon Feb 09 22:29:20 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64885 invoked from network); 9 Feb 2009 22:29:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Feb 2009 22:29:19 -0000 Received: (qmail 92700 invoked by uid 500); 9 Feb 2009 22:29:19 -0000 Delivered-To: [email protected] Received: (qmail 92295 invoked by uid 500); 9 Feb 2009 22:29:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 92286 invoked by uid 99); 9 Feb 2009 22:29:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Feb 2009 14:29:18 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO web30501.mail.mud.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 09 Feb 2009 22:29:10 +0000 Received: (qmail 69381 invoked by uid 60001); 9 Feb 2009 22:28:49 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=MT1X+WEXk3rDO0zVkEDDIFDR/CUw8GHYQOQ8LlPIkAaP9dBUXX0a2EpQo5j+kJ8RbBXQJSTrFnhQGflmOiii+z8yG0OL9TtP0uSGyC7TFiT8lt4Qt96/hRm+y6ISLP87tzUJMIsRQj5B1R/JodsTFkkvZMLtg8gUIMiLHFaoq6I=; X-YMail-OSG: cRdkIJQVM1mqOlxp34hbUhZ7nfZVicuRLwjtUH11vfJArxBmSCHMugDMegKGa82vPjDnCvNxqQhnWDKWi.lrt9pwv8Ts8E1_sO.21crmjMfYPGf23LysxFbMUDzBNJZ2qslcJw4FdqhvDcUX5fkZg8dIyUZ3T_Ivs1ToFKB9JHQLuhI0nJM64cOJDdodbEb3mUXPa.7rYlrZa6S5LX9uWq7b Received: from [161.129.204.104] by web30501.mail.mud.yahoo.com via HTTP; Mon, 09 Feb 2009 14:28:49 PST X-Mailer: YahooMailRC/1155.45 YahooMailWebService/0.7.260.1 References: <[email protected]> Date: Mon, 9 Feb 2009 14:28:49 -0800 (PST) From: Ron Grabowski <[email protected]> Subject: Re: Problems with Log4Net zip file To: Log4NET User <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-2110943301-1234218529=:67951" Message-ID: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org --0-2110943301-1234218529=:67951 Content-Type: text/plain; charset=us-ascii This is what my wget.exe looks like. I don't think we're in the Apache mirror system...the .zip file comes off just one server? Resolving archive.apache.org... 161.129.204.104 Connecting to archive.apache.org|161.129.204.104|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 8,203,576 (7.8M) [application/zip] 100%[====================================>] 8,203,576 374.44K/s ETA 00:00 17:26:21 (246.00 KB/s) - `incubating-log4net-1.2.10.zip' saved [8203576/8203576] ________________________________ From: Cristina <[email protected]> To: [email protected] Sent: Monday, February 9, 2009 10:40:37 AM Subject: Problems with Log4Net zip file Hi, I want to use the Log4Net in a new application I'm working, but I had some difficults to get the log4net bin to add on my application. I'm using .net framework 2.0. I already downloaded log4net 1.2.10 (zip) in this address: http://archive.apache.org/dist/incubator/log4net/1.2.10/incubating-log4net-1.2.10.zip When I click in incubating-log4net-1.2.10.zip I got an error saying the file can be corrupted or is invalid. I tryed the 1.2.9 version, and I got the same error. Only whith the 1.2.8 version, got at source forge page, i had no problems, but this version is not for the .net framework i using. Could you help me? thank you, Cristina Almada --0-2110943301-1234218529=:67951 Content-Type: text/html; charset=us-ascii <html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>This is what my wget.exe looks like. I don't think we're in the Apache mirror system...the .zip file comes off just one server?<br><br>Resolving archive.apache.org... 161.129.204.104<br>Connecting to archive.apache.org|161.129.204.104|:80... connected.<br>HTTP request sent, awaiting response... 200 OK<br>Length: 8,203,576 (7.8M) [application/zip]<br><br>100%[====================================&gt;] 8,203,576&nbsp;&nbsp;&nbsp; 374.44K/s&nbsp;&nbsp;&nbsp; ETA 00:00<br><br>17:26:21 (246.00 KB/s) - `incubating-log4net-1.2.10.zip' saved [8203576/8203576]<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Cristina &lt;[email protected]&gt;<br><b><span style="font-weight: bold;">To:</span></b> [email protected]<br><b><span style="font-weight: bold;">Sent:</span></b> Monday, February 9, 2009 10:40:37 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Problems with Log4Net zip file<br></font><br>Hi,<br><br>I want to use the Log4Net in a new application I'm working, but I had some difficults to get the log4net bin to add on my application. I'm using .net framework 2.0.<br><br>I already downloaded log4net 1.2.10 (zip) in this address: <a rel="nofollow" target="_blank" href="http://archive.apache.org/dist/incubator/log4net/1.2.10/incubating-log4net-1.2.10.zip">http://archive.apache.org/dist/incubator/log4net/1.2.10/incubating-log4net-1.2.10.zip</a><br> <br>When I click in incubating-log4net-1.2.10.zip I got an error saying the file can be corrupted or is invalid.<br><br>I tryed the 1.2.9 version, and I got the same error.<br><br>Only whith the 1.2.8 version, got at source forge page, i had no problems, but this version is not for the .net framework i using.<br> <br>Could you help me?<br><br>thank you,<br><br>Cristina Almada<br> </div></div></div></body></html> --0-2110943301-1234218529=:67951-- From [email protected] Tue Feb 10 04:52:52 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6914 invoked from network); 10 Feb 2009 04:52:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Feb 2009 04:52:52 -0000 Received: (qmail 79320 invoked by uid 500); 10 Feb 2009 04:52:51 -0000 Delivered-To: [email protected] Received: (qmail 79297 invoked by uid 500); 10 Feb 2009 04:52:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 79288 invoked by uid 99); 10 Feb 2009 04:52:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Feb 2009 20:52:51 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO samaflost.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2009 04:52:43 +0000 Received: from localhost (unknown [161.129.204.104]) by samaflost.de (Postfix) with ESMTP id 81B96E220014 for <[email protected]>; Tue, 10 Feb 2009 04:52:23 +0000 (UTC) Received: from samaflost.de ([161.129.204.104]) by localhost (v30161.1blu.de [161.129.204.104]) (amavisd-new, port 10024) with ESMTP id 21736-08 for <[email protected]>; Tue, 10 Feb 2009 05:52:22 +0100 (CET) Received: by samaflost.de (Postfix, from userid 2525) id 0BC2AE22000A; Tue, 10 Feb 2009 05:52:22 +0100 (CET) To: [email protected] Subject: Re: Problems with Log4Net zip file X-Draft-From: ("nnfolder:mail.log4net-user" 3363) References: <[email protected]> <[email protected]> From: Stefan Bodewig <[email protected]> Date: Tue, 10 Feb 2009 05:52:22 +0100 In-Reply-To: <[email protected]> (Ron Grabowski's message of "Mon\, 9 Feb 2009 14\:28\:49 -0800 \(PST\)") Message-ID: <[email protected]> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org On 2009-02-09, Ron Grabowski <[email protected]> wrote: > This is what my wget.exe looks like. I don't think we're in the > Apache mirror system...the .zip file comes off just one server? archive.apache.org is a mirror of www.apache.org - and should only be used for "old" releases. I've checked the archive directly on the master rsync directory of archive.a.o and "zip -Tv" says it is fine. I downloaded the ZIP and it says it is fine as well. Stefan From [email protected] Tue Feb 10 12:23:49 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21971 invoked from network); 10 Feb 2009 12:23:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Feb 2009 12:23:46 -0000 Received: (qmail 1976 invoked by uid 500); 10 Feb 2009 12:23:10 -0000 Delivered-To: [email protected] Received: (qmail 1954 invoked by uid 500); 10 Feb 2009 12:23:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 1944 invoked by uid 99); 10 Feb 2009 12:23:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2009 04:23:09 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f167.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2009 12:23:01 +0000 Received: by bwz11 with SMTP id 11so2544938bwz.22 for <[email protected]>; Tue, 10 Feb 2009 04:22:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=HogswJOKRY6fDkqEvW9YSq8sQBqvNCkyTeF0oQEAkhQ=; b=bNbN/9bk+7qZR09/5GCgMHErSu7y+bic4njVRw1D7z+ba82p9DNqpK85uWfOWiLTUm SWXkRr4YBYJBLsEVWOb/jnvufziKQv95Y9vgBLdAyoe7gj2gp+YKk8s2c2vP+1doPgHL SeFqHrfG+xQ4hWhEKf/78QGqUbzeGuNk3ffpY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=F2SM5+YsQjzToOccN8Ot+AQ15Mls+YJJGc9mO5f+Tt+UzWe4gLaW/LcGvq7179hn8C kE+VRr/9y1M+TAkLa7WYfDPFoEI5crryMezsOZ0Dirc9Tqc7Rl6N5vHZlePsRTvhRF12 XmsggOBvxp9qo0Z12SMSN0ObZ70fStGO/D8V4= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id b16mr2094159mup.28.1234268561065; Tue, 10 Feb 2009 04:22:41 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Date: Tue, 10 Feb 2009 09:22:40 -0300 Message-ID: <[email protected]> Subject: Re: Problems with Log4Net zip file From: Cristina <[email protected]> To: Log4NET User <[email protected]> Content-Type: multipart/alternative; boundary=0016e658753023c76804628f8be0 X-Virus-Checked: Checked by ClamAV on apache.org --0016e658753023c76804628f8be0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I want thanks everybody that answer me. This morning I downloaded from home and I got a good zip file from the same address I tryed first. Maybe It was the connection or some proxy rule in office broking the zip file. Cristina On Tue, Feb 10, 2009 at 1:52 AM, Stefan Bodewig <[email protected]> wrote: > On 2009-02-09, Ron Grabowski <[email protected]> wrote: > > > This is what my wget.exe looks like. I don't think we're in the > > Apache mirror system...the .zip file comes off just one server? > > archive.apache.org is a mirror of www.apache.org - and should only be > used for "old" releases. > > I've checked the archive directly on the master rsync directory of > archive.a.o and "zip -Tv" says it is fine. I downloaded the ZIP and > it says it is fine as well. > > Stefan > --0016e658753023c76804628f8be0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I want thanks everybody that answer me.<br>This morning I downloaded from h= ome and I got a good zip file from the same address I tryed first.<br>Maybe= It was the connection or some proxy rule in office broking the zip file.<b= r> Cristina<br><br><div class=3D"gmail_quote">On Tue, Feb 10, 2009 at 1:52 AM,= Stefan Bodewig <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]"= >[email protected]</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quo= te" style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt= 0.8ex; padding-left: 1ex;"> <div class=3D"Ih2E3d">On 2009-02-09, Ron Grabowski &lt;<a href=3D"mailto:ro= [email protected]">[email protected]</a>&gt; wrote:<br> <br> &gt; This is what my wget.exe looks like. I don&#39;t think we&#39;re in th= e<br> &gt; Apache mirror system...the .zip file comes off just one server?<br> <br> </div><a href=3D"http://archive.apache.org" target=3D"_blank">archive.apach= e.org</a> is a mirror of <a href=3D"http://www.apache.org" target=3D"_blank= ">www.apache.org</a> - and should only be<br> used for &quot;old&quot; releases.<br> <br> I&#39;ve checked the archive directly on the master rsync directory of<br> archive.a.o and &quot;zip -Tv&quot; says it is fine. &nbsp;I downloaded the= ZIP and<br> it says it is fine as well.<br> <font color=3D"#888888"><br> Stefan<br> </font></blockquote></div><br> --0016e658753023c76804628f8be0-- From [email protected] Wed Feb 11 01:40:03 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94614 invoked from network); 11 Feb 2009 01:40:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Feb 2009 01:40:02 -0000 Received: (qmail 45747 invoked by uid 500); 11 Feb 2009 01:40:01 -0000 Delivered-To: [email protected] Received: (qmail 45726 invoked by uid 500); 11 Feb 2009 01:40:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 45717 invoked by uid 99); 11 Feb 2009 01:40:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2009 17:40:01 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_MED,SPF_PASS,WHOIS_NETSOLPR X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail143.messagelabs.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 01:39:49 +0000 X-VirusChecked: Checked X-Env-Sender: [email protected] X-Msg-Ref: server-13.tower-143.messagelabs.com!1234316361!76591976!2 X-StarScan-Version: 6.0.0; banners=bunnings.com.au,-,- X-Originating-IP: [161.129.204.104] Received: (qmail 22802 invoked from network); 11 Feb 2009 01:39:26 -0000 Received: from unknown (HELO mail.bunnings.com.au) (161.129.204.104) by server-13.tower-143.messagelabs.com with RC4-SHA encrypted SMTP; 11 Feb 2009 01:39:26 -0000 Received: from leopard-fe.internal.bunnings.com.au (161.129.204.104) by puffadder.bunnings.com.au (161.129.204.104) with Microsoft SMTP Server id 8.0.744.0; Wed, 11 Feb 2009 10:39:03 +0900 Received: from WA-MAIL.internal.bunnings.com.au ([161.129.204.104]) by leopard-fe.internal.bunnings.com.au with Microsoft SMTPSVC705-204-8822); Wed, 11 Feb 2009 10:39:28 +0900 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C98BE9.94276DE5" Subject: RollingFileAppenders per Class Date: Wed, 11 Feb 2009 10:39:28 +0900 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: RollingFileAppenders per Class Thread-Index: AcmL6YdBABQ2Fw3ETwGG+KnSH0p28w== From: Hadley Willan <[email protected]> To: Log4NET User <[email protected]> X-OriginalArrivalTime: 11 Feb 2009 01:39:28.0791 (UTC) FILETIME=[94443A70:01C98BE9] X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C98BE9.94276DE5 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi=20peoples, =20 I've=20used=20log4net=20for=20a=20while,=20but=20I've=20got=20the=20follow= ing=20problem. =20 I=20have=20a=20rolling=20file=20appender=20that=20takes=20everything,=20we= 'll=20call=20this the=20"VerboseAppender",=20easily=20configured.=20=20ALL=20levels=20go=20t= o=20it=20and everything=20gets=20logged. =20 I=20have=20an=20ADO.Net=20appender=20that=20takes=20ERROR,FATAL=20level=20= and=20logs=20to=20a stored=20procedure.=20We'll=20call=20this=20the=20"DBAppender" =20 But,=20we've=20got=20an=20annoying=20set=20of=20printer=20classes,=20that=20= tend=20to=20spew masses=20of=20errors=20sometimes.=20These=20live=20under=20MyNamespace.Sta= ticClassX. What=20we=20need=20to=20do=20is=20add=20a=20separate=20local=20rolling=20f= ile=20appender "NamespaceClassApppender",=20that=20takes=20only=20logs=20messages=20from MyNamespace.StaticClassX=20and=20logs=20them. Then=20I=20need=20exlcude=20anything=20for=20MyNamespace.StaticClassX=20fr= om=20the VerboseAppender=20and=20the=20DBAppender. =20 Is=20the=20best=20way=20to=20do=20this=20with=20Filters? =20 Basically=20each=20appender=20needs=20the=20following? VerboseAppender,=20IF=20you're=20NOT=20MyNamespace.StaticClassX=20=20log=20= it DBAppender,=20=20(same=20as=20above) NamespaceClassApppender,=20IF=20you=20ARE=20MyNamespace.StaticClassX=20log= =20it, otherwise=20ignore=20it. =20 Thanks=20in=20advance. Hadley ************************************************************************ Bunnings=20Legal=20Disclaimer: 1)=20=20=20=20=20This=20email=20is=20confidential=20and=20may=20contain=20= legally=20privileged information.=20=20If=20you=20are=20not=20the=20intended=20recipient,=20you= =20must=20not disclose=20or=20use=20the=20information=20contained=20in=20it.=20=20If=20y= ou=20have=20received this=20email=20in=20error,=20please=20notify=20us=20immediately=20by=20ret= urn=20email=20and delete=20the=20document. 2)=20=20=20=20=20All=20emails=20sent=20to=20and=20sent=20from=20Bunnings=20= Group=20Limited. are=20scanned=20for=20content.=20=20Any=20material=20deemed=20to=20contain= =20inappropriate subject=20matter=20will=20be=20reported=20to=20the=20email=20administrator= =20of=20all parties=20concerned. ************************************************************************ ------_=_NextPart_001_01C98BE9.94276DE5 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html=20xmlns:o=3D"urn:schemas-microsoft-com:office:office"=20xmlns:w=3D"u= rn:schemas-microsoft-com:office:word"=20xmlns=3D"http://www.w3.org/TR/REC-= html40"> <head> <META=20HTTP-EQUIV=3D"Content-Type"=20CONTENT=3D"text/html;=20charset=3Dus= -ascii"> <meta=20name=3DGenerator=20content=3D"Microsoft=20Word=2011=20(filtered=20= medium)"> <style> <!-- =20/*=20Style=20Definitions=20*/ =20p.MsoNormal,=20li.MsoNormal,=20div.MsoNormal =09{margin:0cm; =09margin-bottom:.0001pt; =09font-size:12.0pt; =09font-family:"Times=20New=20Roman";} a:link,=20span.MsoHyperlink =09{color:blue; =09text-decoration:underline;} a:visited,=20span.MsoHyperlinkFollowed =09{color:purple; =09text-decoration:underline;} span.EmailStyle17 =09{mso-style-type:personal-compose; =09font-family:Arial; =09color:windowtext;} @page=20Section1 =09{size:595.3pt=20841.9pt; =09margin:72.0pt=2090.0pt=2072.0pt=2090.0pt;} div.Section1 =09{page:Section1;} --> </style> </head> <body=20lang=3DEN-AU=20link=3Dblue=20vlink=3Dpurple> <div=20class=3DSection1> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Hi=20peoples,<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>I've=20used=20log4net=20for=20a=20while,=20but=20I've=20= got=20the=20following problem.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>I=20have=20a=20rolling=20file=20appender=20that=20takes= =20everything,=20we'll call=20this=20the=20&quot;VerboseAppender&quot;,=20easily=20configured.&nb= sp;=20ALL=20levels=20go=20to it=20and=20everything=20gets=20logged.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>I=20have=20an=20ADO.Net=20appender=20that=20takes=20ERR= OR,FATAL=20level=20and logs=20to=20a=20stored=20procedure.=20We'll=20call=20this=20the=20&quot;DB= Appender&quot;<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>But,=20we&#8217;ve=20got=20an=20annoying=20set=20of=20p= rinter=20classes, that=20tend=20to=20spew=20masses=20of=20errors=20sometimes.=20These=20live= =20under MyNamespace.StaticClassX.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>What=20we=20need=20to=20do=20is=20add=20a=20separate=20= local=20rolling=20file appender=20&quot;NamespaceClassApppender&quot;,=20that=20takes=20<b><span style=3D'font-weight:bold'>only</span></b>=20<b><span=20style=3D'font-weig= ht:bold'>logs messages</span></b>=20from=20MyNamespace.StaticClassX=20and=20logs=20them.= <o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Then=20I=20need=20<b><span=20style=3D'font-weight:bold'= >exlcude</span></b> anything=20for=20MyNamespace.StaticClassX=20from=20the=20VerboseAppender=20= and=20the DBAppender.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><b><font=20size=3D2=20face=3DArial><span=20style=3D= 'font-size:10.0pt; font-family:Arial;font-weight:bold'>Is=20the=20best=20way=20to=20do=20this= =20with=20Filters?<o:p></o:p></span></font></b></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Basically=20each=20appender=20needs=20the=20following?<= o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>VerboseAppender,=20IF=20you're=20NOT=20MyNamespace.Stat= icClassX&nbsp;=20log it<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>DBAppender,=20&nbsp;(same=20as=20above)<o:p></o:p></spa= n></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>NamespaceClassApppender,=20IF=20you=20ARE=20MyNamespace= .StaticClassX log=20it,=20<b><span=20style=3D'font-weight:bold'>otherwise</span></b>=20i= gnore=20it.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Thanks=20in=20advance.<o:p></o:p></span></font></p> <p=20class=3DMsoNormal><font=20size=3D2=20face=3DArial><span=20style=3D'fo= nt-size:10.0pt; font-family:Arial'>Hadley<o:p></o:p></span></font></p> </div> <BR> ************************************************************************<B= R> Bunnings=20Legal=20Disclaimer:<BR> <BR> 1)=20=20=20=20=20This=20email=20is=20confidential=20and=20may=20contain=20= legally=20privileged<BR> information.=20=20If=20you=20are=20not=20the=20intended=20recipient,=20you= =20must=20not<BR> disclose=20or=20use=20the=20information=20contained=20in=20it.=20=20If=20y= ou=20have=20received<BR> this=20email=20in=20error,=20please=20notify=20us=20immediately=20by=20ret= urn=20email=20and<BR> delete=20the=20document.<BR> <BR> 2)=20=20=20=20=20All=20emails=20sent=20to=20and=20sent=20from=20Bunnings=20= Group=20Limited.<BR> are=20scanned=20for=20content.=20=20Any=20material=20deemed=20to=20contain= =20inappropriate<BR> subject=20matter=20will=20be=20reported=20to=20the=20email=20administrator= =20of=20all<BR> parties=20concerned.<BR> ************************************************************************<B= R> </body> </html> ------_=_NextPart_001_01C98BE9.94276DE5-- From [email protected] Wed Feb 11 14:33:24 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35233 invoked from network); 11 Feb 2009 14:33:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Feb 2009 14:33:23 -0000 Received: (qmail 84335 invoked by uid 500); 11 Feb 2009 14:33:22 -0000 Delivered-To: [email protected] Received: (qmail 84315 invoked by uid 500); 11 Feb 2009 14:33:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 84306 invoked by uid 99); 11 Feb 2009 14:33:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 06:33:21 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS,WHOIS_NETSOLPR X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy includes SPF [email protected]) Received: from [161.129.204.104] (HELO exprod8og117.obsmtp.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 14:33:12 +0000 Received: from source ([161.129.204.104]) (using TLSv1) by exprod8ob117.postini.com ([161.129.204.104]) with SMTP ID [email protected]; Wed, 11 Feb 2009 06:32:52 PST Received: from ABMAIL14.ab.farm ([161.129.204.104]) by ABMAIL04.agribank.com with Microsoft SMTPSVC705-204-8822); Wed, 11 Feb 2009 08:33:08 -0600 Received: from MAKYSMT01.maky.midam.farm (161.129.204.104) by ABMAIL14.ab.farm (161.129.204.104) with Microsoft SMTP Server id 8.1.336.0; Wed, 11 Feb 2009 08:32:49 -0600 Received: from MAKYXCH01.maky.midam.farm ([161.129.204.104]) by MAKYSMT01.maky.midam.farm with Microsoft SMTPSVC705-204-8822); Wed, 11 Feb 2009 09:35:02 -0500 Received: from MAKYCHN01.maky.midam.farm ([161.129.204.104]) by MAKYXCH01.maky.midam.farm with Microsoft SMTPSVC705-204-8822); Wed, 11 Feb 2009 09:32:48 -0500 Received: from makychn02.maky.midam.farm (161.129.204.104) by MAKYCHN01.maky.midam.farm (161.129.204.104) with Microsoft SMTP Server (TLS) id 8.1.336.0; Wed, 11 Feb 2009 09:32:47 -0500 Received: from MAKYCMS01.maky.midam.farm ([acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bedf0:e290:253c:2652]) by makychn02.maky.midam.farm ([acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b5df9:2075:cf83:967d%11]) with mapi; Wed, 11 Feb 2009 09:32:47 -0500 From: Nick Durcholz <[email protected]> To: Log4NET User <[email protected]> Date: Wed, 11 Feb 2009 09:32:45 -0500 Subject: RE: RollingFileAppenders per Class Thread-Topic: RollingFileAppenders per Class Thread-Index: AcmL6YdBABQ2Fw3ETwGG+KnSH0p28wAarTXA Message-ID: <[email protected]> References: <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 11 Feb 2009 14:32:48.0201 (UTC) FILETIME=[9C785390:01C98C55] X-Virus-Checked: Checked by ClamAV on apache.org I think what you want to do is use the logger heirarchy for this. Somethin= g like the following will work: =20 <log4net debug=3D"true"> <appender name=3D"VerboseAppender" type=3D"..."> ... </appender> <appender name=3D"DBAppender" type=3D"..."> ... </appender> <appender name=3D"NamespaceClassApppender" type=3D"..."> ... </appender> <root> <level value=3D"ALL"/> <appender-ref ref=3D"VerboseAppender"/> <appender-ref ref=3D"DBAppender"/> </root> <logger name=3D"MyNamespace.StaticClassX" additivity=3D"false"> <level value=3D"ALL" /> <appender-ref ref=3D"NamespaceClassAppender" /> </logger> </log4net> The key here is the additivity=3D"false" attribute on MyNamespace.StaticCla= ssX logger. This indicates that the logger doesn't inherit appenders and o= ther settings from the root logger, so messages sent to that logger are onl= y sent to NamespaceClassAppender and not VerboseAppender or DBAppender. ________________________________ From: Hadley Willan [mailto:[email protected]]=20 Sent: Tuesday, February 10, 2009 8:39 PM To: Log4NET User Subject: RollingFileAppenders per Class Hi peoples, =20 I've used log4net for a while, but I've got the following problem. =20 I have a rolling file appender that takes everything, we'll call this the "= VerboseAppender", easily configured. ALL levels go to it and everything ge= ts logged. =20 I have an ADO.Net appender that takes ERROR,FATAL level and logs to a store= d procedure. We'll call this the "DBAppender" =20 But, we've got an annoying set of printer classes, that tend to spew masses= of errors sometimes. These live under MyNamespace.StaticClassX. What we need to do is add a separate local rolling file appender "Namespace= ClassApppender", that takes only logs messages from MyNamespace.StaticClass= X and logs them. Then I need exlcude anything for MyNamespace.StaticClassX from the VerboseA= ppender and the DBAppender. =20 Is the best way to do this with Filters? =20 Basically each appender needs the following? VerboseAppender, IF you're NOT MyNamespace.StaticClassX log it DBAppender, (same as above) NamespaceClassApppender, IF you ARE MyNamespace.StaticClassX log it, otherw= ise ignore it. =20 Thanks in advance. Hadley ************************************************************************ Bunnings Legal Disclaimer: 1) This email is confidential and may contain legally privileged information. If you are not the intended recipient, you must not disclose or use the information contained in it. If you have received this email in error, please notify us immediately by return email and delete the document. 2) All emails sent to and sent from Bunnings Group Limited. are scanned for content. Any material deemed to contain inappropriate subject matter will be reported to the email administrator of all parties concerned. ************************************************************************ From [email protected] Wed Feb 11 14:37:51 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38402 invoked from network); 11 Feb 2009 14:37:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Feb 2009 14:37:51 -0000 Received: (qmail 87542 invoked by uid 500); 11 Feb 2009 14:37:50 -0000 Delivered-To: [email protected] Received: (qmail 87514 invoked by uid 500); 11 Feb 2009 14:37:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 87505 invoked by uid 99); 11 Feb 2009 14:37:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 06:37:50 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=EXTRA_MPART_TYPE,HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO rtp-iport-2.cisco.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 14:37:40 +0000 X-IronPort-AV: E=Sophos;i="4.38,192,1233532800"; d="gif'147?scan'147,208,217,147";a="36691637" Received: from rtp-dkim-2.cisco.com ([161.129.204.104]) by rtp-iport-2.cisco.com with ESMTP; 11 Feb 2009 14:37:10 +0000 Received: from rtp-core-1.cisco.com (rtp-core-1.cisco.com [161.129.204.104]) by rtp-dkim-2.cisco.com (8.12.11/8.12.11) with ESMTP id n1BEbAs2000437 for <[email protected]>; Wed, 11 Feb 2009 09:37:10 -0500 Received: from xbh-rtp-201.amer.cisco.com (xbh-rtp-201.cisco.com [161.129.204.104]) by rtp-core-1.cisco.com (8.13.8/8.13.8) with ESMTP id n1BEbAfB016830 for <[email protected]>; Wed, 11 Feb 2009 14:37:10 GMT Received: from xmb-rtp-215.amer.cisco.com ([161.129.204.104]) by xbh-rtp-201.amer.cisco.com with Microsoft SMTPSVC705-204-8822); Wed, 11 Feb 2009 09:37:10 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/related; type="multipart/alternative"; boundary="----_=_NextPart_001_01C98C56.38D876AC" Subject: RE: Change the log level programmatically? Date: Wed, 11 Feb 2009 09:37:18 -0500 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Change the log level programmatically? Thread-Index: AcmDUwO3sbNK4cB8RS+G+8dbAFphzwJAtNog References: <[email protected]> From: "Eric Rose (erose)" <[email protected]> To: "Log4NET User" <[email protected]> X-OriginalArrivalTime: 11 Feb 2009 14:37:10.0587 (UTC) FILETIME=[38DD40B0:01C98C56] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=43319; t=1234363030; x=1235227030; c=relaxed/simple; s=rtpdkim2001; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; [email protected]; z=From:=20=22Eric=20Rose=20(erose)=22=20<[email protected]> |Subject:=20RE=3A=20Change=20the=20log=20level=20programmat ically? |Sender:=20 |To:=20=22Log4NET=20User=22=20<[email protected]. org>; bh=nMfCCIpQgOVzuvh6YtnEoPGb7Kzteg7Bs9HCeOXKQB8=; b=B4wXPEMHLK7/HpBBFDqdetU8rRLXjOhUOJZv5Zv1AFMVMjQIn56YCoVOsk 8RIrEzLamImalVaqWBVJ5csL42oHYbnIsSciZde5PSCFKRXAYeAbfQfTyUHW KKkufdG/2R; Authentication-Results: rtp-dkim-2; [email protected]; dkim=pass ( sig from cisco.com/rtpdkim2001 verified; ); X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------_=_NextPart_001_01C98C56.38D876AC Content-Type: multipart/alternative; boundary="----_=_NextPart_002_01C98C56.38D876AC" ------_=_NextPart_002_01C98C56.38D876AC Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, =20 I sent this question a couple of weeks ago, but haven't heard any feedback from anyone... Could someone offer some suggestions here, or let me know that this can't be done?! =20 Thanks, =20 -esr =20 From: Eric Rose (erose)=20 Sent: Friday, January 30, 2009 10:22 PM To: [email protected] Subject: Change the log level programmatically? =20 =20 Hopefully this is an easy question which has already been asked (and answered) before. I searched online, but could not find a reasonable answer... =20 Is there a way to change the default log level of a logger via C# program control? =20 I don't need the setting to persist, so I don't want to have to change the XML config file and re-read it. =20 In my C# code, I have a ILog variable that we use for all logging, defined as follows: =20 private static readonly log4net.ILog log =3D log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMeth od().DeclaringType); =20 I'd like to be able to somehow be able to use that 'log' variable, and set it's log level (INFO, WARN, ERROR, OFF, ALL, etc) to whatever I want in the code. =20 =20 Any help or pointers to useful examples would be appreciated! =20 Thanks, -esr =20 =20 =20 Eric Rose Software Engineer Product Development [email protected] <mailto:[email protected]>=20 Phone :705-204-8822 Cisco Systems, Inc. 500 Beaver Brook Road Boxborough, MA 01719 www.cisco.com <http://www.cisco.com>=20 =20 =20 =20 ------_=_NextPart_002_01C98C56.38D876AC Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:x=3D"urn:schemas-microsoft-com:office:excel" = xmlns:p=3D"urn:schemas-microsoft-com:office:powerpoint" = xmlns:a=3D"urn:schemas-microsoft-com:office:access" = xmlns:dt=3D"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" = xmlns:s=3D"uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" = xmlns:rs=3D"urn:schemas-microsoft-com:rowset" xmlns:z=3D"#RowsetSchema" = xmlns:b=3D"urn:schemas-microsoft-com:office:publisher" = xmlns:ss=3D"urn:schemas-microsoft-com:office:spreadsheet" = xmlns:c=3D"urn:schemas-microsoft-com:office:component:spreadsheet" = xmlns:odc=3D"urn:schemas-microsoft-com:office:odc" = xmlns:oa=3D"urn:schemas-microsoft-com:office:activation" = xmlns:html=3D"http://www.w3.org/TR/REC-html40" = xmlns:q=3D"http://schemas.xmlsoap.org/soap/envelope/" xmlns:D=3D"DAV:" = xmlns:x2=3D"http://schemas.microsoft.com/office/excel/2003/xml" = xmlns:ois=3D"http://schemas.microsoft.com/sharepoint/soap/ois/" = xmlns:dir=3D"http://schemas.microsoft.com/sharepoint/soap/directory/" = xmlns:ds=3D"http://www.w3.org/2000/09/xmldsig#" = xmlns:dsp=3D"http://schemas.microsoft.com/sharepoint/dsp" = xmlns:udc=3D"http://schemas.microsoft.com/data/udc" = xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" = xmlns:sub=3D"http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/"= xmlns:ec=3D"http://www.w3.org/2001/04/xmlenc#" = xmlns:sp=3D"http://schemas.microsoft.com/sharepoint/" = xmlns:sps=3D"http://schemas.microsoft.com/sharepoint/soap/" = xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" = xmlns:udcs=3D"http://schemas.microsoft.com/data/udc/soap" = xmlns:udcxf=3D"http://schemas.microsoft.com/data/udc/xmlfile" = xmlns:udcp2p=3D"http://schemas.microsoft.com/data/udc/parttopart" = xmlns:wf=3D"http://schemas.microsoft.com/sharepoint/soap/workflow/" = xmlns:dsss=3D"http://schemas.microsoft.com/office/2006/digsig-setup" = xmlns:dssi=3D"http://schemas.microsoft.com/office/2006/digsig" = xmlns:mdssi=3D"http://schemas.openxmlformats.org/package/2006/digital-sig= nature" = xmlns:mver=3D"http://schemas.openxmlformats.org/markup-compatibility/2006= " xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns:mrels=3D"http://schemas.openxmlformats.org/package/2006/relationshi= ps" xmlns:spwp=3D"http://microsoft.com/sharepoint/webpartpages" = xmlns:ex12t=3D"http://schemas.microsoft.com/exchange/services/2006/types"= = xmlns:ex12m=3D"http://schemas.microsoft.com/exchange/services/2006/messag= es" = xmlns:pptsl=3D"http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/= " = xmlns:spsl=3D"http://microsoft.com/webservices/SharePointPortalServer/Pub= lishedLinksService" xmlns:Z=3D"urn:schemas-microsoft-com:" = xmlns:st=3D"&#1;" xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <meta name=3DProgId content=3DWord.Document> <meta name=3DGenerator content=3D"Microsoft Word 12"> <meta name=3DOriginator content=3D"Microsoft Word 12"> <link rel=3DFile-List href=3D"cid:[email protected]"> <link rel=3DEdit-Time-Data href=3D"cid:editdata.mso"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--><!--[if gte mso 9]><xml> <o:OfficeDocumentSettings> <o:AllowPNG/> <o:DoNotRelyOnCSS/> <o:TargetScreenSize>1024x768</o:TargetScreenSize> </o:OfficeDocumentSettings> </xml><![endif]--><!--[if gte mso 9]><xml> <w:WordDocument> <w:SpellingState>Clean</w:SpellingState> <w:TrackMoves>false</w:TrackMoves> <w:TrackFormatting/> <w:EnvelopeVis/> <w:PunctuationKerning/> <w:ValidateAgainstSchemas/> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:DoNotPromoteQF/> <w:LidThemeOther>EN-US</w:LidThemeOther> <w:LidThemeAsian>X-NONE</w:LidThemeAsian> <w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript> <w:Compatibility> <w:DoNotExpandShiftReturn/> <w:BreakWrappedTables/> <w:SnapToGridInCell/> <w:WrapTextWithPunct/> <w:UseAsianBreakRules/> <w:DontGrowAutofit/> <w:SplitPgBreakAndParaMark/> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> <m:mathPr> <m:mathFont m:val=3D"Cambria Math"/> <m:brkBin m:val=3D"before"/> <m:brkBinSub m:val=3D"&#45;-"/> <m:smallFrac m:val=3D"off"/> <m:dispDef/> <m:lMargin m:val=3D"0"/> <m:rMargin m:val=3D"0"/> <m:defJc m:val=3D"centerGroup"/> <m:wrapIndent m:val=3D"1440"/> <m:intLim m:val=3D"subSup"/> <m:naryLim m:val=3D"undOvr"/> </m:mathPr></w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState=3D"false" DefUnhideWhenUsed=3D"true"=20 DefSemiHidden=3D"true" DefQFormat=3D"false" DefPriority=3D"99"=20 LatentStyleCount=3D"267"> <w:LsdException Locked=3D"false" Priority=3D"0" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Normal"/> <w:LsdException Locked=3D"false" Priority=3D"9" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"heading 1"/> <w:LsdException Locked=3D"false" Priority=3D"9" QFormat=3D"true" = Name=3D"heading 2"/> <w:LsdException Locked=3D"false" Priority=3D"9" QFormat=3D"true" = Name=3D"heading 3"/> <w:LsdException Locked=3D"false" Priority=3D"9" QFormat=3D"true" = Name=3D"heading 4"/> <w:LsdException Locked=3D"false" Priority=3D"9" QFormat=3D"true" = Name=3D"heading 5"/> <w:LsdException Locked=3D"false" Priority=3D"9" QFormat=3D"true" = Name=3D"heading 6"/> <w:LsdException Locked=3D"false" Priority=3D"9" QFormat=3D"true" = Name=3D"heading 7"/> <w:LsdException Locked=3D"false" Priority=3D"9" QFormat=3D"true" = Name=3D"heading 8"/> <w:LsdException Locked=3D"false" Priority=3D"9" QFormat=3D"true" = Name=3D"heading 9"/> <w:LsdException Locked=3D"false" Priority=3D"39" Name=3D"toc 1"/> <w:LsdException Locked=3D"false" Priority=3D"39" Name=3D"toc 2"/> <w:LsdException Locked=3D"false" Priority=3D"39" Name=3D"toc 3"/> <w:LsdException Locked=3D"false" Priority=3D"39" Name=3D"toc 4"/> <w:LsdException Locked=3D"false" Priority=3D"39" Name=3D"toc 5"/> <w:LsdException Locked=3D"false" Priority=3D"39" Name=3D"toc 6"/> <w:LsdException Locked=3D"false" Priority=3D"39" Name=3D"toc 7"/> <w:LsdException Locked=3D"false" Priority=3D"39" Name=3D"toc 8"/> <w:LsdException Locked=3D"false" Priority=3D"39" Name=3D"toc 9"/> <w:LsdException Locked=3D"false" Priority=3D"35" QFormat=3D"true" = Name=3D"caption"/> <w:LsdException Locked=3D"false" Priority=3D"10" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Title"/> <w:LsdException Locked=3D"false" Priority=3D"1" Name=3D"Default = Paragraph Font"/> <w:LsdException Locked=3D"false" Priority=3D"11" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Subtitle"/> <w:LsdException Locked=3D"false" Priority=3D"22" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Strong"/> <w:LsdException Locked=3D"false" Priority=3D"20" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Emphasis"/> <w:LsdException Locked=3D"false" Priority=3D"59" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Table Grid"/> <w:LsdException Locked=3D"false" UnhideWhenUsed=3D"false" = Name=3D"Placeholder Text"/> <w:LsdException Locked=3D"false" Priority=3D"1" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"No Spacing"/> <w:LsdException Locked=3D"false" Priority=3D"60" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light Shading"/> <w:LsdException Locked=3D"false" Priority=3D"61" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light List"/> <w:LsdException Locked=3D"false" Priority=3D"62" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light Grid"/> <w:LsdException Locked=3D"false" Priority=3D"63" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Shading 1"/> <w:LsdException Locked=3D"false" Priority=3D"64" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Shading 2"/> <w:LsdException Locked=3D"false" Priority=3D"65" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium List 1"/> <w:LsdException Locked=3D"false" Priority=3D"66" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium List 2"/> <w:LsdException Locked=3D"false" Priority=3D"67" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 1"/> <w:LsdException Locked=3D"false" Priority=3D"68" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 2"/> <w:LsdException Locked=3D"false" Priority=3D"69" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 3"/> <w:LsdException Locked=3D"false" Priority=3D"70" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Dark List"/> <w:LsdException Locked=3D"false" Priority=3D"71" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful Shading"/> <w:LsdException Locked=3D"false" Priority=3D"72" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful List"/> <w:LsdException Locked=3D"false" Priority=3D"73" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful Grid"/> <w:LsdException Locked=3D"false" Priority=3D"60" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light Shading Accent 1"/> <w:LsdException Locked=3D"false" Priority=3D"61" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light List Accent 1"/> <w:LsdException Locked=3D"false" Priority=3D"62" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light Grid Accent 1"/> <w:LsdException Locked=3D"false" Priority=3D"63" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Shading 1 Accent 1"/> <w:LsdException Locked=3D"false" Priority=3D"64" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Shading 2 Accent 1"/> <w:LsdException Locked=3D"false" Priority=3D"65" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium List 1 Accent 1"/> <w:LsdException Locked=3D"false" UnhideWhenUsed=3D"false" = Name=3D"Revision"/> <w:LsdException Locked=3D"false" Priority=3D"34" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"List Paragraph"/> <w:LsdException Locked=3D"false" Priority=3D"29" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Quote"/> <w:LsdException Locked=3D"false" Priority=3D"30" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Intense Quote"/> <w:LsdException Locked=3D"false" Priority=3D"66" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium List 2 Accent 1"/> <w:LsdException Locked=3D"false" Priority=3D"67" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 1 Accent 1"/> <w:LsdException Locked=3D"false" Priority=3D"68" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 2 Accent 1"/> <w:LsdException Locked=3D"false" Priority=3D"69" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 3 Accent 1"/> <w:LsdException Locked=3D"false" Priority=3D"70" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Dark List Accent 1"/> <w:LsdException Locked=3D"false" Priority=3D"71" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful Shading Accent 1"/> <w:LsdException Locked=3D"false" Priority=3D"72" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful List Accent 1"/> <w:LsdException Locked=3D"false" Priority=3D"73" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful Grid Accent 1"/> <w:LsdException Locked=3D"false" Priority=3D"60" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light Shading Accent 2"/> <w:LsdException Locked=3D"false" Priority=3D"61" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light List Accent 2"/> <w:LsdException Locked=3D"false" Priority=3D"62" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light Grid Accent 2"/> <w:LsdException Locked=3D"false" Priority=3D"63" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Shading 1 Accent 2"/> <w:LsdException Locked=3D"false" Priority=3D"64" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Shading 2 Accent 2"/> <w:LsdException Locked=3D"false" Priority=3D"65" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium List 1 Accent 2"/> <w:LsdException Locked=3D"false" Priority=3D"66" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium List 2 Accent 2"/> <w:LsdException Locked=3D"false" Priority=3D"67" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 1 Accent 2"/> <w:LsdException Locked=3D"false" Priority=3D"68" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 2 Accent 2"/> <w:LsdException Locked=3D"false" Priority=3D"69" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 3 Accent 2"/> <w:LsdException Locked=3D"false" Priority=3D"70" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Dark List Accent 2"/> <w:LsdException Locked=3D"false" Priority=3D"71" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful Shading Accent 2"/> <w:LsdException Locked=3D"false" Priority=3D"72" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful List Accent 2"/> <w:LsdException Locked=3D"false" Priority=3D"73" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful Grid Accent 2"/> <w:LsdException Locked=3D"false" Priority=3D"60" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light Shading Accent 3"/> <w:LsdException Locked=3D"false" Priority=3D"61" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light List Accent 3"/> <w:LsdException Locked=3D"false" Priority=3D"62" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light Grid Accent 3"/> <w:LsdException Locked=3D"false" Priority=3D"63" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Shading 1 Accent 3"/> <w:LsdException Locked=3D"false" Priority=3D"64" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Shading 2 Accent 3"/> <w:LsdException Locked=3D"false" Priority=3D"65" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium List 1 Accent 3"/> <w:LsdException Locked=3D"false" Priority=3D"66" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium List 2 Accent 3"/> <w:LsdException Locked=3D"false" Priority=3D"67" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 1 Accent 3"/> <w:LsdException Locked=3D"false" Priority=3D"68" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 2 Accent 3"/> <w:LsdException Locked=3D"false" Priority=3D"69" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 3 Accent 3"/> <w:LsdException Locked=3D"false" Priority=3D"70" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Dark List Accent 3"/> <w:LsdException Locked=3D"false" Priority=3D"71" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful Shading Accent 3"/> <w:LsdException Locked=3D"false" Priority=3D"72" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful List Accent 3"/> <w:LsdException Locked=3D"false" Priority=3D"73" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful Grid Accent 3"/> <w:LsdException Locked=3D"false" Priority=3D"60" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light Shading Accent 4"/> <w:LsdException Locked=3D"false" Priority=3D"61" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light List Accent 4"/> <w:LsdException Locked=3D"false" Priority=3D"62" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light Grid Accent 4"/> <w:LsdException Locked=3D"false" Priority=3D"63" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Shading 1 Accent 4"/> <w:LsdException Locked=3D"false" Priority=3D"64" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Shading 2 Accent 4"/> <w:LsdException Locked=3D"false" Priority=3D"65" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium List 1 Accent 4"/> <w:LsdException Locked=3D"false" Priority=3D"66" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium List 2 Accent 4"/> <w:LsdException Locked=3D"false" Priority=3D"67" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 1 Accent 4"/> <w:LsdException Locked=3D"false" Priority=3D"68" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 2 Accent 4"/> <w:LsdException Locked=3D"false" Priority=3D"69" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 3 Accent 4"/> <w:LsdException Locked=3D"false" Priority=3D"70" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Dark List Accent 4"/> <w:LsdException Locked=3D"false" Priority=3D"71" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful Shading Accent 4"/> <w:LsdException Locked=3D"false" Priority=3D"72" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful List Accent 4"/> <w:LsdException Locked=3D"false" Priority=3D"73" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful Grid Accent 4"/> <w:LsdException Locked=3D"false" Priority=3D"60" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light Shading Accent 5"/> <w:LsdException Locked=3D"false" Priority=3D"61" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light List Accent 5"/> <w:LsdException Locked=3D"false" Priority=3D"62" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light Grid Accent 5"/> <w:LsdException Locked=3D"false" Priority=3D"63" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Shading 1 Accent 5"/> <w:LsdException Locked=3D"false" Priority=3D"64" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Shading 2 Accent 5"/> <w:LsdException Locked=3D"false" Priority=3D"65" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium List 1 Accent 5"/> <w:LsdException Locked=3D"false" Priority=3D"66" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium List 2 Accent 5"/> <w:LsdException Locked=3D"false" Priority=3D"67" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 1 Accent 5"/> <w:LsdException Locked=3D"false" Priority=3D"68" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 2 Accent 5"/> <w:LsdException Locked=3D"false" Priority=3D"69" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 3 Accent 5"/> <w:LsdException Locked=3D"false" Priority=3D"70" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Dark List Accent 5"/> <w:LsdException Locked=3D"false" Priority=3D"71" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful Shading Accent 5"/> <w:LsdException Locked=3D"false" Priority=3D"72" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful List Accent 5"/> <w:LsdException Locked=3D"false" Priority=3D"73" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful Grid Accent 5"/> <w:LsdException Locked=3D"false" Priority=3D"60" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light Shading Accent 6"/> <w:LsdException Locked=3D"false" Priority=3D"61" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light List Accent 6"/> <w:LsdException Locked=3D"false" Priority=3D"62" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light Grid Accent 6"/> <w:LsdException Locked=3D"false" Priority=3D"63" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Shading 1 Accent 6"/> <w:LsdException Locked=3D"false" Priority=3D"64" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Shading 2 Accent 6"/> <w:LsdException Locked=3D"false" Priority=3D"65" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium List 1 Accent 6"/> <w:LsdException Locked=3D"false" Priority=3D"66" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium List 2 Accent 6"/> <w:LsdException Locked=3D"false" Priority=3D"67" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 1 Accent 6"/> <w:LsdException Locked=3D"false" Priority=3D"68" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 2 Accent 6"/> <w:LsdException Locked=3D"false" Priority=3D"69" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 3 Accent 6"/> <w:LsdException Locked=3D"false" Priority=3D"70" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Dark List Accent 6"/> <w:LsdException Locked=3D"false" Priority=3D"71" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful Shading Accent 6"/> <w:LsdException Locked=3D"false" Priority=3D"72" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful List Accent 6"/> <w:LsdException Locked=3D"false" Priority=3D"73" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful Grid Accent 6"/> <w:LsdException Locked=3D"false" Priority=3D"19" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Subtle Emphasis"/> <w:LsdException Locked=3D"false" Priority=3D"21" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Intense Emphasis"/> <w:LsdException Locked=3D"false" Priority=3D"31" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Subtle Reference"/> <w:LsdException Locked=3D"false" Priority=3D"32" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Intense = Reference"/> <w:LsdException Locked=3D"false" Priority=3D"33" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Book Title"/> <w:LsdException Locked=3D"false" Priority=3D"37" = Name=3D"Bibliography"/> <w:LsdException Locked=3D"false" Priority=3D"39" QFormat=3D"true" = Name=3D"TOC Heading"/> </w:LatentStyles> </xml><![endif]--> <style> <!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-alt:Arial; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-1610611985 1073750139 0 0 159 0;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:1627400839 705-204-8822 8 0 66047 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-fareast-font-family:Calibri; mso-bidi-font-family:"Times New Roman";} a:link, span.MsoHyperlink {mso-style-noshow:yes; mso-style-priority:99; color:blue; text-decoration:underline; text-underline:single;} a:visited, span.MsoHyperlinkFollowed {mso-style-noshow:yes; mso-style-priority:99; color:purple; text-decoration:underline; text-underline:single;} p.MsoAcetate, li.MsoAcetate, div.MsoAcetate {mso-style-noshow:yes; mso-style-priority:99; mso-style-link:"Balloon Text Char"; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:8.0pt; font-family:"Tahoma","sans-serif"; mso-fareast-font-family:Calibri;} span.BalloonTextChar {mso-style-name:"Balloon Text Char"; mso-style-noshow:yes; mso-style-priority:99; mso-style-unhide:no; mso-style-locked:yes; mso-style-link:"Balloon Text"; mso-ansi-font-size:8.0pt; mso-bidi-font-size:8.0pt; font-family:"Tahoma","sans-serif"; mso-ascii-font-family:Tahoma; mso-hansi-font-family:Tahoma; mso-bidi-font-family:Tahoma;} span.EmailStyle19 {mso-style-type:personal; mso-style-noshow:yes; mso-style-unhide:no; mso-ansi-font-size:10.0pt; mso-bidi-font-size:11.0pt; font-family:"Arial","sans-serif"; mso-ascii-font-family:Arial; mso-hansi-font-family:Arial; mso-bidi-font-family:"Times New Roman"; color:windowtext; font-weight:normal; font-style:normal;} span.EmailStyle20 {mso-style-type:personal-reply; mso-style-noshow:yes; mso-style-unhide:no; mso-ansi-font-size:10.0pt; mso-bidi-font-size:11.0pt; font-family:"Arial","sans-serif"; mso-ascii-font-family:Arial; mso-hansi-font-family:Arial; mso-bidi-font-family:"Times New Roman"; color:#1F497D; font-weight:normal; font-style:normal;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; font-size:10.0pt; mso-ansi-font-size:10.0pt; mso-bidi-font-size:10.0pt; mso-ascii-font-family:Calibri; mso-fareast-font-family:Calibri; mso-hansi-font-family:Calibri;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 10]> <style> /* Style Definitions */=20 table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Calibri","sans-serif";} </style> <![endif]--><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple = style=3D'tab-interval:.5in'> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;mso-bidi-font-size:11.0pt;font-family:"Arial","= sans-serif"; mso-bidi-font-family:"Times New = Roman";color:#1F497D'>Hi,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;mso-bidi-font-size:11.0pt;font-family:"Arial","= sans-serif"; mso-bidi-font-family:"Times New = Roman";color:#1F497D'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;mso-bidi-font-size:11.0pt;font-family:"Arial","= sans-serif"; mso-bidi-font-family:"Times New Roman";color:#1F497D'>I sent this = question a couple of weeks ago, but haven&#8217;t heard any feedback from = anyone&#8230;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;mso-bidi-font-size:11.0pt;font-family:"Arial","= sans-serif"; mso-bidi-font-family:"Times New Roman";color:#1F497D'>Could someone = offer some suggestions here, or let me know that this can&#8217;t be = done?!<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;mso-bidi-font-size:11.0pt;font-family:"Arial","= sans-serif"; mso-bidi-font-family:"Times New = Roman";color:#1F497D'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;mso-bidi-font-size:11.0pt;font-family:"Arial","= sans-serif"; mso-bidi-font-family:"Times New = Roman";color:#1F497D'>Thanks,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;mso-bidi-font-size:11.0pt;font-family:"Arial","= sans-serif"; mso-bidi-font-family:"Times New = Roman";color:#1F497D'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;mso-bidi-font-size:11.0pt;font-family:"Arial","= sans-serif"; mso-bidi-font-family:"Times New = Roman";color:#1F497D'>-esr<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;mso-bidi-font-size:11.0pt;font-family:"Arial","= sans-serif"; mso-bidi-font-family:"Times New = Roman";color:#1F497D'><o:p>&nbsp;</o:p></span></font></p> <div> <div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt = 0in 0in 0in'> <p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:"Tahoma","sans-serif";mso-fareast-font-family:"Times New = Roman"; font-weight:bold'>From:</span></font></b><font size=3D2 = face=3DTahoma><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-f= ont-family: "Times New Roman"'> Eric Rose (erose) <br> <b><span style=3D'font-weight:bold'>Sent:</span></b> Friday, January 30, = 2009 10:22 PM<br> <b><span style=3D'font-weight:bold'>To:</span></b> [email protected]<br> <b><span style=3D'font-weight:bold'>Subject:</span></b> Change the log = level programmatically?<o:p></o:p></span></font></p> </div> </div> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; mso-bidi-font-size:11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-= family: "Times New Roman"'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; mso-bidi-font-size:11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-= family: "Times New Roman"'>Hopefully this is an easy question which has already = been asked (and answered) before.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; mso-bidi-font-size:11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-= family: "Times New Roman"'>I searched online, but could not find a reasonable = answer&#8230;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; mso-bidi-font-size:11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-= family: "Times New Roman"'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; mso-bidi-font-size:11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-= family: "Times New Roman"'>Is there a way to change the default log level of a = logger via C# program control?<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; mso-bidi-font-size:11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-= family: "Times New Roman"'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; mso-bidi-font-size:11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-= family: "Times New Roman"'>I don&#8217;t need the setting to persist, so I = don&#8217;t want to have to change the XML config file and re-read = it.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; mso-bidi-font-size:11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-= family: "Times New Roman"'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; mso-bidi-font-size:11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-= family: "Times New Roman"'>In my C# code, I have a ILog variable that we use for = all logging, defined as follows:<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; mso-bidi-font-size:11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-= family: "Times New Roman"'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family: "Courier New";color:blue;mso-no-proof:yes'>private</span></font><font = size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'> <font color=3Dblue><span = style=3D'color:blue'>static</span></font> <font color=3Dblue><span style=3D'color:blue'>readonly</span></font> = log4net.<font color=3D"#2b91af"><span style=3D'color:#2B91AF'>ILog</span></font> log = =3D log4net.<font color=3D"#2b91af"><span = style=3D'color:#2B91AF'>LogManager</span></font>.GetLogger(System.Reflect= ion.<font color=3D"#2b91af"><span = style=3D'color:#2B91AF'>MethodBase</span></font>.GetCurrentMethod().Decla= ringType);<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; mso-bidi-font-size:11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-= family: "Times New Roman"'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; mso-bidi-font-size:11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-= family: "Times New Roman"'>I&#8217;d like to be able to somehow be able to use = that &#8216;log&#8217; variable, and set it&#8217;s log level (INFO, WARN, ERROR, OFF, ALL, = etc) to whatever I want in the code.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; mso-bidi-font-size:11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-= family: "Times New Roman"'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; mso-bidi-font-size:11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-= family: "Times New Roman"'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; mso-bidi-font-size:11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-= family: "Times New Roman"'>Any help or pointers to useful examples would be appreciated!<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; mso-bidi-font-size:11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-= family: "Times New Roman"'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; mso-bidi-font-size:11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-= family: "Times New Roman"'>Thanks,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; mso-bidi-font-size:11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-= family: "Times New Roman"'>-esr<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; mso-bidi-font-size:11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-= family: "Times New Roman"'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; mso-bidi-font-size:11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-= family: "Times New Roman"'><o:p>&nbsp;</o:p></span></font></p> <table class=3DMsoNormalTable border=3D0 cellspacing=3D0 cellpadding=3D0 = width=3D400 = style=3D'width:300.0pt;mso-cellspacing:0in;mso-yfti-tbllook:1184;mso-padd= ing-alt: 0in 0in 0in 0in'> <tr = style=3D'mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes'> <td style=3D'padding:0in 0in 0in 0in'> <table class=3DMsoNormalTable border=3D0 cellspacing=3D0 = cellpadding=3D0 width=3D543 = style=3D'width:407.25pt;mso-cellspacing:0in;mso-yfti-tbllook:1184;mso-pad= ding-alt: 0in 0in 0in 0in'> <tr style=3D'mso-yfti-irow:0;mso-yfti-firstrow:yes'> <td colspan=3D3 style=3D'padding:0in 0in 0in 0in'> <p class=3DMsoNormal><font size=3D3 face=3DCalibri><span = style=3D'font-size:12.0pt; mso-fareast-font-family:"Times New Roman";mso-no-proof:yes'><img = width=3D110 height=3D73 id=3D"Picture_x0020_1" = src=3D"cid:[email protected]" alt=3D"cid:[email protected]"></span></font><font = size=3D3><span = style=3D'font-size:12.0pt;mso-no-proof:yes'><o:p></o:p></span></font></p>= </td> </tr> <tr style=3D'mso-yfti-irow:1;mso-yfti-lastrow:yes'> <td nowrap valign=3Dtop style=3D'padding:0in 0in 11.25pt .25in'> <p class=3DMsoNormal = style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt: auto'><b><font size=3D3 color=3D"#666666" face=3DCalibri><span = style=3D'font-size: 12.0pt;mso-bidi-font-family:Arial;color:#666666;font-weight:bold; mso-no-proof:yes'>Eric Rose</span></font></b><font size=3D3 = color=3D"#666666"><span style=3D'font-size:12.0pt;mso-bidi-font-family:Arial;color:#666666; mso-no-proof:yes'><br> <b><span style=3D'font-weight:bold'>Software Engineer</span></b><br> <b><span style=3D'font-weight:bold'>Product Development<br> </span></b><br> <a href=3D"mailto:[email protected]"><font color=3D"#666666"><span style=3D'mso-bidi-font-family:"Times New = Roman";color:#666666'>[email protected]</span></font></a><br> Phone :<b><span style=3D'font-weight:bold'>(978) = 936-1858</span></b><o:p></o:p></span></font></p> </td> <td nowrap valign=3Dtop style=3D'padding:0in 0in 7.5pt 15.0pt'> <p class=3DMsoNormal = style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt: auto'><b><font size=3D3 color=3D"#666666" face=3DCalibri><span = style=3D'font-size: 12.0pt;mso-bidi-font-family:Arial;color:#666666;font-weight:bold; mso-no-proof:yes'>Cisco Systems, Inc.</span></font></b><font = size=3D3 color=3D"#666666"><span = style=3D'font-size:12.0pt;mso-bidi-font-family:Arial; color:#666666;mso-no-proof:yes'><br> 500 Beaver Brook Road<br> Boxborough, MA 01719<br> <br> <a href=3D"http://www.cisco.com"><font color=3D"#666666"><span style=3D'mso-bidi-font-family:"Times New = Roman";color:#666666'>www.cisco.com</span></font></a><o:p></o:p></span></= font></p> </td> <td width=3D200 style=3D'width:150.0pt;padding:0in 0in 0in 0in'> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt; mso-fareast-font-family:"Times New = Roman";mso-no-proof:yes'>&nbsp;</span></font><font size=3D3><span = style=3D'font-size:12.0pt;mso-no-proof:yes'><o:p></o:p></span></font></p>= </td> </tr> </table> </td> </tr> </table> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt; mso-fareast-font-family:"Times New = Roman";mso-no-proof:yes'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'><o:p>&nbsp;</o:p></span></font></p> </div> </body> </html> ------_=_NextPart_002_01C98C56.38D876AC-- ------_=_NextPart_001_01C98C56.38D876AC Content-Type: image/gif; name="image001.gif" Content-Transfer-Encoding: base64 Content-ID: <[email protected]> Content-Description: image001.gif Content-Location: image001.gif R0lGODlhbgBJAMQAAP///3OXqtapqq1MTcmRki9mgZkAALpqbMl/f6g5O/Xq6+vX2OTIyaMqK/nz 9OW/v5sVFsbV3Nfh5p0PD5kFBf78/P38/Pz6+v/+/rZdXpcKDKAhIvv396QvMO/g4Ny4uSH5BAAA AAAALAAAAABuAEkAQAX/ICCOZGmeaKqubOu+cCzPdG3feK6nkln8pp5LSPoVgrucsbQsAp1HKPM5 alapImtyy+16SwKDmJBCiBEWgMUsPgg8JMHEQCGTMACP2HDgiBQZYglfOQ+GDy2HhiqKKI2EkJGS k5SVlpeYmZpfWkpYmypEV1GjU6QjolmfnZ0AqZWvrj6fski2UiWxsZkcHxkNYg0IABUibAjFIgsH wAYNBwokvb8QEMIOJAwICQYQCQgLoCgLHWIdHwoKCwzExmdpGBwcxRgDYhkXAOTm6OoMfg4CiRGg wAOBOXzEKVzIsKHDhxAjSpxIsaKNCAEibMGo0WKLVjdAVgxQIICpEiRN/7JIeZIEy4WsVsk8BSAm TZstLb0csVMVzZ4AgALtJLQkRY4bM3pcupDAHgMduA1Q484AGmJO7x04kCCaCAIaxFCISmGAVwZP u+1pEK5hVgPYUBxLQ4yBvacfvlIwMCFuCbRi2I34sHfDQ0BpDUyFNxfABTZPGwgGACjsU7MiLLx9 ukEA08+gQ4seTbq06dOoU6tezbq169evd92QHRooDtujRdbQDZr3DN8RkeIaIXxFcZ8ljkPEOVwF 81ILlT9HTkL6zJwilE+aXvN68+43vUO3xL28eOrj0VdSbp0me6XV4acH8L6jRNw28IumXYM/7P8k PJLIISkIWIKBD3GwmcIYiwGAQWP6cJMWHCIoCEFamInwQTNPdYCIQwqUM8YCC3zgWTKNOXAAg14p kA9lIkJAAIkmYsPBim0YcsBeVjn0llcnQAjYHh14phdfQGazx2QAEGaAYQ2FMVAZ75BggTZ7HFCM HHQYWcICeyAjgormPASZYgN00CAAjV0gwAEEEACZlsbwCMEAaWb4wFMJJMDjBkwypAABErbRzoNn FFPBghnkRcKgCVimwQF+VSDAXXw1CuCmnHbq6aeghirqqDiEAAA7 ------_=_NextPart_001_01C98C56.38D876AC-- From [email protected] Wed Feb 11 15:02:06 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57834 invoked from network); 11 Feb 2009 15:02:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Feb 2009 15:02:06 -0000 Received: (qmail 21967 invoked by uid 500); 11 Feb 2009 15:02:05 -0000 Delivered-To: [email protected] Received: (qmail 21943 invoked by uid 500); 11 Feb 2009 15:02:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 21934 invoked by uid 99); 11 Feb 2009 15:02:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 07:02:05 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy includes SPF [email protected]) Received: from [161.129.204.104] (HELO exprod8og120.obsmtp.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 15:01:55 +0000 Received: from source ([161.129.204.104]) (using TLSv1) by exprod8ob120.postini.com ([161.129.204.104]) with SMTP ID [email protected]; Wed, 11 Feb 2009 07:01:35 PST Received: from ABMAIL14.ab.farm ([161.129.204.104]) by ABMAIL04.agribank.com with Microsoft SMTPSVC705-204-8822); Wed, 11 Feb 2009 09:01:53 -0600 Received: from MAKYSMT01.maky.midam.farm (161.129.204.104) by ABMAIL14.ab.farm (161.129.204.104) with Microsoft SMTP Server id 8.1.336.0; Wed, 11 Feb 2009 09:01:33 -0600 Received: from MAKYXCH01.maky.midam.farm ([161.129.204.104]) by MAKYSMT01.maky.midam.farm with Microsoft SMTPSVC705-204-8822); Wed, 11 Feb 2009 10:03:42 -0500 Received: from MAKYCHN01.maky.midam.farm ([161.129.204.104]) by MAKYXCH01.maky.midam.farm with Microsoft SMTPSVC705-204-8822); Wed, 11 Feb 2009 10:01:27 -0500 Received: from MAKYCMS01.maky.midam.farm ([acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bedf0:e290:253c:2652]) by MAKYCHN01.maky.midam.farm ([acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bb1e2:b01:aeff:fa59%13]) with mapi; Wed, 11 Feb 2009 10:01:27 -0500 From: Nick Durcholz <[email protected]> To: Log4NET User <[email protected]> Date: Wed, 11 Feb 2009 10:01:27 -0500 Subject: RE: Change the log level programmatically? Thread-Topic: Change the log level programmatically? Thread-Index: AcmDUwO3sbNK4cB8RS+G+8dbAFphzwJAtNogAABYf1A= Message-ID: <[email protected]> References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 11 Feb 2009 15:01:27.0659 (UTC) FILETIME=[9D58CBB0:01C98C59] X-Virus-Checked: Checked by ClamAV on apache.org There isn't a clean way to do this with the interfaces provided. If you re= ally MUST have this, you could probably hack something up, but it would req= uire breaking some of the abstractions that the framework tries to enforce.= You could also try loading the config xml into memory, modifying it using= the dom, and then reconfiguring the entire heirarchy using log4net.Config.= XmlConfigurator.Configure(ILoggerRepository repository, XmlElement element)= . I've never tried this, so can't really say what pitfalls and 'gotchas' c= ome along with doing that. Why do you need to change the level of a logger at runtime in the first pla= ce? There may be a better way to accomplish the task at hand without doing= that. ________________________________ From: Eric Rose (erose) [mailto:[email protected]]=20 Sent: Wednesday, February 11, 2009 9:37 AM To: Log4NET User Subject: RE: Change the log level programmatically? Hi, =20 I sent this question a couple of weeks ago, but haven't heard any feedback = from anyone... Could someone offer some suggestions here, or let me know that this can't b= e done?! =20 Thanks, =20 -esr =20 From: Eric Rose (erose)=20 Sent: Friday, January 30, 2009 10:22 PM To: [email protected] Subject: Change the log level programmatically? =20 =20 Hopefully this is an easy question which has already been asked (and answer= ed) before. I searched online, but could not find a reasonable answer... =20 Is there a way to change the default log level of a logger via C# program c= ontrol? =20 I don't need the setting to persist, so I don't want to have to change the = XML config file and re-read it. =20 In my C# code, I have a ILog variable that we use for all logging, defined = as follows: =20 private static readonly log4net.ILog log =3D log4net.LogManager.GetLogger(S= ystem.Reflection.MethodBase.GetCurrentMethod().DeclaringType); =20 I'd like to be able to somehow be able to use that 'log' variable, and set = it's log level (INFO, WARN, ERROR, OFF, ALL, etc) to whatever I want in the= code. =20 =20 Any help or pointers to useful examples would be appreciated! =20 Thanks, -esr =20 =20 cid:[email protected] =09 Eric Rose Software Engineer Product Development [email protected] <mailto:[email protected]>=20 Phone :705-204-8822 Cisco Systems, Inc. 500 Beaver Brook Road Boxborough, MA 01719 www.cisco.com <http://www.cisco.com>=20 =20 =09 =20 =20 From [email protected] Wed Feb 11 15:11:34 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79686 invoked from network); 11 Feb 2009 15:11:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Feb 2009 15:11:33 -0000 Received: (qmail 32795 invoked by uid 500); 11 Feb 2009 15:11:32 -0000 Delivered-To: [email protected] Received: (qmail 32776 invoked by uid 500); 11 Feb 2009 15:11:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 32767 invoked by uid 99); 11 Feb 2009 15:11:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 07:11:32 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO rtp-iport-2.cisco.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 15:11:22 +0000 X-IronPort-AV: E=Sophos;i="4.38,192,1233532800"; d="scan'208";a="36697300" Received: from rtp-dkim-2.cisco.com ([161.129.204.104]) by rtp-iport-2.cisco.com with ESMTP; 11 Feb 2009 15:11:01 +0000 Received: from rtp-core-1.cisco.com (rtp-core-1.cisco.com [161.129.204.104]) by rtp-dkim-2.cisco.com (8.12.11/8.12.11) with ESMTP id n1BFB15p024146 for <[email protected]>; Wed, 11 Feb 2009 10:11:01 -0500 Received: from xbh-rtp-201.amer.cisco.com (xbh-rtp-201.cisco.com [161.129.204.104]) by rtp-core-1.cisco.com (8.13.8/8.13.8) with ESMTP id n1BFArBe001555 for <[email protected]>; Wed, 11 Feb 2009 15:11:01 GMT Received: from xmb-rtp-215.amer.cisco.com ([161.129.204.104]) by xbh-rtp-201.amer.cisco.com with Microsoft SMTPSVC705-204-8822); Wed, 11 Feb 2009 10:10:58 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Change the log level programmatically? Date: Wed, 11 Feb 2009 10:11:12 -0500 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Change the log level programmatically? Thread-Index: AcmDUwO3sbNK4cB8RS+G+8dbAFphzwJAtNogAABYf1AAALOtIA== References: <[email protected]> <[email protected]> <[email protected]> From: "Eric Rose (erose)" <[email protected]> To: "Log4NET User" <[email protected]> Cc: "Eric Rose (erose)" <[email protected]> X-OriginalArrivalTime: 11 Feb 2009 15:10:58.0102 (UTC) FILETIME=[F15B7D60:01C98C5A] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=3078; t=1234365061; x=1235229061; c=relaxed/simple; s=rtpdkim2001; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; [email protected]; z=From:=20=22Eric=20Rose=20(erose)=22=20<[email protected]> |Subject:=20RE=3A=20Change=20the=20log=20level=20programmat ically? |Sender:=20 |To:=20=22Log4NET=20User=22=20<[email protected]. org>; bh=WdPtwcSEIyknVVbFIypLK8Stszgb1/uegYqKRU+AQuk=; b=CVMETIcnXyX4T7voewMdc5rRcbe4ahvWmANnbpepNM9M3LOPK6iC9JUGBS zg0tPNEDDdBr4QSzwDV4Ey/D7CoZzzLl58N75xPvTOELahZRKfwBNoGvNrqN x9fX419q3A; Authentication-Results: rtp-dkim-2; [email protected]; dkim=pass ( sig from cisco.com/rtpdkim2001 verified; ); X-Virus-Checked: Checked by ClamAV on apache.org Thanks Nick, I'm not going to hack the log4net code, so that's not really an option. I'm asking about this, because one of the developers had asked if there was a way to do this. But, it sounds like it's not really possible, unless we want to modify the config file... So, thanks for the information! -esr -----Original Message----- From: Nick Durcholz [mailto:[email protected]]=20 Sent: Wednesday, February 11, 2009 10:01 AM To: Log4NET User Subject: RE: Change the log level programmatically? There isn't a clean way to do this with the interfaces provided. If you really MUST have this, you could probably hack something up, but it would require breaking some of the abstractions that the framework tries to enforce. You could also try loading the config xml into memory, modifying it using the dom, and then reconfiguring the entire heirarchy using log4net.Config.XmlConfigurator.Configure(ILoggerRepository repository, XmlElement element). I've never tried this, so can't really say what pitfalls and 'gotchas' come along with doing that. Why do you need to change the level of a logger at runtime in the first place? There may be a better way to accomplish the task at hand without doing that. ________________________________ From: Eric Rose (erose) [mailto:[email protected]]=20 Sent: Wednesday, February 11, 2009 9:37 AM To: Log4NET User Subject: RE: Change the log level programmatically? Hi, =20 I sent this question a couple of weeks ago, but haven't heard any feedback from anyone... Could someone offer some suggestions here, or let me know that this can't be done?! =20 Thanks, =20 -esr =20 From: Eric Rose (erose)=20 Sent: Friday, January 30, 2009 10:22 PM To: [email protected] Subject: Change the log level programmatically? =20 =20 Hopefully this is an easy question which has already been asked (and answered) before. I searched online, but could not find a reasonable answer... =20 Is there a way to change the default log level of a logger via C# program control? =20 I don't need the setting to persist, so I don't want to have to change the XML config file and re-read it. =20 In my C# code, I have a ILog variable that we use for all logging, defined as follows: =20 private static readonly log4net.ILog log =3D log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMeth od().DeclaringType); =20 I'd like to be able to somehow be able to use that 'log' variable, and set it's log level (INFO, WARN, ERROR, OFF, ALL, etc) to whatever I want in the code. =20 =20 Any help or pointers to useful examples would be appreciated! =20 Thanks, -esr =20 =20 cid:[email protected] =09 Eric Rose Software Engineer Product Development [email protected] <mailto:[email protected]>=20 Phone :705-204-8822 Cisco Systems, Inc. 500 Beaver Brook Road Boxborough, MA 01719 www.cisco.com <http://www.cisco.com>=20 =20 =09 =20 =20 From [email protected] Wed Feb 11 18:12:36 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80442 invoked from network); 11 Feb 2009 18:12:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Feb 2009 18:12:36 -0000 Received: (qmail 43940 invoked by uid 500); 11 Feb 2009 18:12:31 -0000 Delivered-To: [email protected] Received: (qmail 43917 invoked by uid 500); 11 Feb 2009 18:12:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 43893 invoked by uid 99); 11 Feb 2009 18:12:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 10:12:31 -0800 X-ASF-Spam-Status: No, hits=1.8 required=10.0 tests=MIME_QP_LONG_LINE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.genesis-fs.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 18:12:22 +0000 X-AuditID: c0a80207-00000c2c0000060c-ff-4993158a5b08 Received: from pdx0ech02.gfs.dom ([161.129.204.104]) by mail.genesis-fs.com with Microsoft SMTPSVC705-204-8822); Wed, 11 Feb 2009 10:14:34 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Change the log level programmatically? Date: Wed, 11 Feb 2009 10:12:07 -0800 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Change the log level programmatically? thread-index: AcmDUwO3sbNK4cB8RS+G+8dbAFphzwJAtNogAABYf1AAALOtIAAGcTGg References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> From: "Francine Taylor" <[email protected]> To: "Log4NET User" <[email protected]> X-Brightmail-Tracker: AAAAAA== X-Virus-Checked: Checked by ClamAV on apache.org How about something like this? private void ChangeLogLevel(string pLoggerName, Level pLogLevel) { Logger ll =3D SafeSearchForLogger(pLoggerName); if (ll !=3D null) { ll.Level =3D pLogLevel; } } // this method looks for a named logger. If it doesn't already exist, null // is returned public static Logger SafeSearchForLogger(string loggerName) { foreach (ILogger a in ThisHierarchy().GetCurrentLoggers()) { if (a.Name.Equals(loggerName)) { return (Logger)a; } } return null; } -----Original Message----- From: Eric Rose (erose) [mailto:[email protected]] Sent: Wednesday, February 11, 2009 7:11 AM To: Log4NET User Cc: Eric Rose (erose) Subject: RE: Change the log level programmatically? Thanks Nick, I'm not going to hack the log4net code, so that's not really an option. I'm asking about this, because one of the developers had asked if there was a way to do this. But, it sounds like it's not really possible, unless we want to modify the config file... So, thanks for the information! -esr -----Original Message----- From: Nick Durcholz [mailto:[email protected]] Sent: Wednesday, February 11, 2009 10:01 AM To: Log4NET User Subject: RE: Change the log level programmatically? There isn't a clean way to do this with the interfaces provided. If you really MUST have this, you could probably hack something up, but it would require breaking some of the abstractions that the framework tries to enforce. You could also try loading the config xml into memory, modifying it using the dom, and then reconfiguring the entire heirarchy using log4net.Config.XmlConfigurator.Configure(ILoggerRepository repository, XmlElement element). I've never tried this, so can't really say what pitfalls and 'gotchas' come along with doing that. Why do you need to change the level of a logger at runtime in the first place? There may be a better way to accomplish the task at hand without doing that. ________________________________ From: Eric Rose (erose) [mailto:[email protected]] Sent: Wednesday, February 11, 2009 9:37 AM To: Log4NET User Subject: RE: Change the log level programmatically? Hi, I sent this question a couple of weeks ago, but haven't heard any feedback from anyone... Could someone offer some suggestions here, or let me know that this can't be done?! Thanks, -esr From: Eric Rose (erose) Sent: Friday, January 30, 2009 10:22 PM To: [email protected] Subject: Change the log level programmatically? Hopefully this is an easy question which has already been asked (and answered) before. I searched online, but could not find a reasonable answer... Is there a way to change the default log level of a logger via C# program control? I don't need the setting to persist, so I don't want to have to change the XML config file and re-read it. In my C# code, I have a ILog variable that we use for all logging, defined as follows: private static readonly log4net.ILog log =3D log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMeth od().DeclaringType); I'd like to be able to somehow be able to use that 'log' variable, and set it's log level (INFO, WARN, ERROR, OFF, ALL, etc) to whatever I want in the code. Any help or pointers to useful examples would be appreciated! Thanks, -esr cid:[email protected] Eric Rose Software Engineer Product Development [email protected] <mailto:[email protected]> Phone :705-204-8822 Cisco Systems, Inc. 500 Beaver Brook Road Boxborough, MA 01719 www.cisco.com <http://www.cisco.com> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= NOTICE: The contents of this e-mail message and any attachments are intended= solely for the addressee(s) named in this message. This communication is in= tended to be and to remain confidential. If you are not the intended recipie= nt of this message, or if this message has been addressed to you in error, p= lease immediately alert the sender by reply e-mail and then delete this mess= age and its attachments. Do not deliver, distribute or copy this message and= /or any attachments and if you are not the intended recipient, do not disclo= se the contents or take any action in reliance upon the information containe= d in this communication or any attachments.=0A= Thank you From [email protected] Wed Feb 11 18:53:18 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3530 invoked from network); 11 Feb 2009 18:53:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Feb 2009 18:53:18 -0000 Received: (qmail 11602 invoked by uid 500); 11 Feb 2009 18:53:16 -0000 Delivered-To: [email protected] Received: (qmail 11583 invoked by uid 500); 11 Feb 2009 18:53:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 11574 invoked by uid 99); 11 Feb 2009 18:53:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 10:53:16 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO web30503.mail.mud.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 11 Feb 2009 18:53:07 +0000 Received: (qmail 4798 invoked by uid 60001); 11 Feb 2009 18:52:45 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=E56Ua4NCXl/Wrc6Jnk7c0nLg7itF1dPZ9I2JnmgiaOjf96g/t+2bUs5ts9sgGNxOpNZvpq01/MU7GimyGexpTiD0ppQp1eFwDGs0hUDqWlMc1BLIFOyXknk/0o3cbXobjCgBOKkZFRGMqJ2cX5HYXAArAQxEayzjVQek9Lvj8RA=; X-YMail-OSG: o5KxQ1YVM1mSYkL4ovG8GL5SPeLeCK62NOlIfiJXFKm6QPQKoUWHH9ChwoRv9WPAgWZKgV5oORYn.sMo6AnLB7YBhAn4PH4YgEYHNB8TBH4g.HE8HLZ7aoHHEn.Y5zTTHYkEBfPy9rYIEp_T49J4b3i7l6xuNnPiW6FAI8YKwhj6jlRlOq.cXm1lPsTT6xWZLXr94WAs8HxRvhyHtpiQ6ew.7H8KfA-- Received: from [161.129.204.104] by web30503.mail.mud.yahoo.com via HTTP; Wed, 11 Feb 2009 10:52:45 PST X-Mailer: YahooMailRC/1155.45 YahooMailWebService/0.7.260.1 References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Wed, 11 Feb 2009 10:52:45 -0800 (PST) From: Ron Grabowski <[email protected]> Subject: Re: Change the log level programmatically? To: Log4NET User <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <{{EMAIL+PHONE}}> X-Virus-Checked: Checked by ClamAV on apache.org // untested public class HierarchyLoggerLevelScope : IDisposable { private readonly Level originalLevel; private readonly Logger logger; public HierarchyLoggerLevelScope(ILog log, Level level) { logger = log.Logger as Logger; if (logger != null) { originalLevel = logger.Level; logger.Level = level; } } public void Dispose() { if (logger != null) { logger.Level = originalLevel; } } } ----- Original Message ---- From: Eric Rose (erose) <[email protected]> To: Log4NET User <[email protected]> Cc: Eric Rose (erose) <[email protected]> Sent: Wednesday, February 11, 2009 10:11:12 AM Subject: RE: Change the log level programmatically? Thanks Nick, I'm not going to hack the log4net code, so that's not really an option. I'm asking about this, because one of the developers had asked if there was a way to do this. But, it sounds like it's not really possible, unless we want to modify the config file... So, thanks for the information! -esr -----Original Message----- From: Nick Durcholz [mailto:[email protected]] Sent: Wednesday, February 11, 2009 10:01 AM To: Log4NET User Subject: RE: Change the log level programmatically? There isn't a clean way to do this with the interfaces provided. If you really MUST have this, you could probably hack something up, but it would require breaking some of the abstractions that the framework tries to enforce. You could also try loading the config xml into memory, modifying it using the dom, and then reconfiguring the entire heirarchy using log4net.Config.XmlConfigurator.Configure(ILoggerRepository repository, XmlElement element). I've never tried this, so can't really say what pitfalls and 'gotchas' come along with doing that. Why do you need to change the level of a logger at runtime in the first place? There may be a better way to accomplish the task at hand without doing that. ________________________________ From: Eric Rose (erose) [mailto:[email protected]] Sent: Wednesday, February 11, 2009 9:37 AM To: Log4NET User Subject: RE: Change the log level programmatically? Hi, I sent this question a couple of weeks ago, but haven't heard any feedback from anyone... Could someone offer some suggestions here, or let me know that this can't be done?! Thanks, -esr From: Eric Rose (erose) Sent: Friday, January 30, 2009 10:22 PM To: [email protected] Subject: Change the log level programmatically? Hopefully this is an easy question which has already been asked (and answered) before. I searched online, but could not find a reasonable answer... Is there a way to change the default log level of a logger via C# program control? I don't need the setting to persist, so I don't want to have to change the XML config file and re-read it. In my C# code, I have a ILog variable that we use for all logging, defined as follows: private static readonly log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMeth od().DeclaringType); I'd like to be able to somehow be able to use that 'log' variable, and set it's log level (INFO, WARN, ERROR, OFF, ALL, etc) to whatever I want in the code. Any help or pointers to useful examples would be appreciated! Thanks, -esr cid:[email protected] Eric Rose Software Engineer Product Development [email protected] <mailto:[email protected]> Phone :705-204-8822 Cisco Systems, Inc. 500 Beaver Brook Road Boxborough, MA 01719 www.cisco.com <http://www.cisco.com> From [email protected] Wed Feb 11 20:41:16 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38835 invoked from network); 11 Feb 2009 20:41:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Feb 2009 20:41:16 -0000 Received: (qmail 74141 invoked by uid 500); 11 Feb 2009 20:41:14 -0000 Delivered-To: [email protected] Received: (qmail 74112 invoked by uid 500); 11 Feb 2009 20:41:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 74103 invoked by uid 99); 11 Feb 2009 20:41:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 12:41:14 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=EXTRA_MPART_TYPE,HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO rtp-iport-1.cisco.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 20:41:04 +0000 X-IronPort-AV: E=Sophos;i="4.38,194,1233532800"; d="gif'147?scan'147,208,217,147";a="36774476" Received: from rtp-dkim-1.cisco.com ([161.129.204.104]) by rtp-iport-1.cisco.com with ESMTP; 11 Feb 2009 20:40:41 +0000 Received: from rtp-core-1.cisco.com (rtp-core-1.cisco.com [161.129.204.104]) by rtp-dkim-1.cisco.com (8.12.11/8.12.11) with ESMTP id n1BKeflj024813 for <[email protected]>; Wed, 11 Feb 2009 15:40:41 -0500 Received: from xbh-rtp-201.amer.cisco.com (xbh-rtp-201.cisco.com [161.129.204.104]) by rtp-core-1.cisco.com (8.13.8/8.13.8) with ESMTP id n1BKefJk014832 for <[email protected]>; Wed, 11 Feb 2009 20:40:41 GMT Received: from xmb-rtp-215.amer.cisco.com ([161.129.204.104]) by xbh-rtp-201.amer.cisco.com with Microsoft SMTPSVC705-204-8822); Wed, 11 Feb 2009 15:40:40 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/related; type="multipart/alternative"; boundary="----_=_NextPart_001_01C98C89.00B1B5C1" Subject: RE: Change the log level programmatically? Date: Wed, 11 Feb 2009 15:40:54 -0500 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Change the log level programmatically? Thread-Index: AcmDUwO3sbNK4cB8RS+G+8dbAFphzwJAtNogAAxUALA= References: <[email protected]> <[email protected]> From: "Eric Rose (erose)" <[email protected]> To: "Log4NET User" <[email protected]> X-OriginalArrivalTime: 11 Feb 2009 20:40:40.0790 (UTC) FILETIME=[00C21F60:01C98C89] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=90986; t=1234384841; x=1235248841; c=relaxed/simple; s=rtpdkim1001; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; [email protected]; z=From:=20=22Eric=20Rose=20(erose)=22=20<[email protected]> |Subject:=20RE=3A=20Change=20the=20log=20level=20programmat ically? |Sender:=20 |To:=20=22Log4NET=20User=22=20<[email protected]. org>; bh=5g9hnMmSB6tZPij1p9er37MgMsrZF5BK/5YjIXJnncg=; b=NGVDxbsC52qFBx4vWUWFSvwKfx7GBkxESdQREOgoUl/ZBZAGf8F1I9lUXR 3eBZIuXhhTm8GRgDX6GlrfuQDLGxZtf8M2GnopDkxW8ZLSBSbNcRJMYPZqL+ jVa6C1AfXR; Authentication-Results: rtp-dkim-1; [email protected]; dkim=pass ( sig from cisco.com/rtpdkim1001 verified; ); X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------_=_NextPart_001_01C98C89.00B1B5C1 Content-Type: multipart/alternative; boundary="----_=_NextPart_002_01C98C89.00B1B5C1" ------_=_NextPart_002_01C98C89.00B1B5C1 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Thanks to everyone for their suggestions...=20 No single suggestion worked completely for me, but there were nuggets of information that were quite helpful! I just spent a while figuring out what works for me, and this is the result... =20 We have a static utility class as follows, and I was able to add these 'SetLevel<Level>' methods to modify the one logging object we setup, to change the log levels on the fly. There is still a log4net.conf file which defines all the usual things (log file location, appending rules, etc) =20 Here's the code: =20 using log4net; using log4net.Appender; using log4net.Core; using log4net.Repository.Hierarchy; =20 public static class LogUtility { private static readonly log4net.ILog log =3D log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMeth od().DeclaringType); private static readonly Logger logger =3D log.Logger as Logger; =20 public static log4net.ILog GetLog() { return (log); } =20 private static void SetLevel(Level level) { if (logger !=3D null) { logger.Level =3D level; } } public static void SetLevelDebug() { SetLevel(Level.Debug); } public static void SetLevelInfo() { SetLevel(Level.Info); } public static void SetLevelWarn() { SetLevel(Level.Warn); } public static void SetLevelError() { SetLevel(Level.Error); } public static void SetLevelFatal() { SetLevel(Level.Fatal); } public static void SetLevelOff() { SetLevel(Level.Off); } public static void SetLevelAll() { SetLevel(Level.All); } } =20 =20 Here's a code fragment that tests this: LogUtility.SetLevelOff(); LogUtility.GetLog().Debug("After SetLevelOff() debug"); LogUtility.GetLog().Warn("After SetLevelOff() warn"); LogUtility.GetLog().Fatal("After SetLevelOff() fatal"); =20 LogUtility.SetLevelInfo(); LogUtility.GetLog().Debug("After SetLevelInfo() debug"); LogUtility.GetLog().Warn("After SetLevelInfo() warn"); LogUtility.GetLog().Fatal("After SetLevelInfo() fatal"); =20 LogUtility.SetLevelError(); LogUtility.GetLog().Debug("After SetLevelError() debug"); LogUtility.GetLog().Warn("After SetLevelError() warn"); LogUtility.GetLog().Fatal("After SetLevelError() fatal"); =20 LogUtility.SetLevelWarn(); LogUtility.GetLog().Debug("After SetLevelWarn() debug"); LogUtility.GetLog().Warn("After SetLevelWarn() warn"); LogUtility.GetLog().Fatal("After SetLevelWarn() fatal"); =20 LogUtility.SetLevelAll(); LogUtility.GetLog().Debug("After SetLevelALL() debug"); LogUtility.GetLog().Warn("After SetLevelALL() warn"); LogUtility.GetLog().Fatal("After SetLevelALL() fatal"); =20 =20 And, this is what the log file output looks like: 3: erose-xp5: Feb 11 2009 15:11:07.803 -05:00: %testLog-WARN-After SetLevelInfo() warn 4: erose-xp5: Feb 11 2009 15:11:07.803 -05:00: %testLog-FATAL-After SetLevelInfo() fatal 5: erose-xp5: Feb 11 2009 15:11:07.803 -05:00: %testLog-FATAL-After SetLevelError() fatal 6: erose-xp5: Feb 11 2009 15:11:07.803 -05:00: %testLog-WARN-After SetLevelWarn() warn 7: erose-xp5: Feb 11 2009 15:11:07.803 -05:00: %testLog-FATAL-After SetLevelWarn() fatal 8: erose-xp5: Feb 11 2009 15:11:07.803 -05:00: %testLog-DEBUG-After SetLevelALL() debug 9: erose-xp5: Feb 11 2009 15:11:07.803 -05:00: %testLog-WARN-After SetLevelALL() warn 10: erose-xp5: Feb 11 2009 15:11:07.803 -05:00: %testLog-FATAL-After SetLevelALL() fatal =20 =20 So, it is possible, and does work! =20 Thanks again, everyone...! =20 -esr =20 =20 From: Eric Rose (erose)=20 Sent: Wednesday, February 11, 2009 9:37 AM To: Log4NET User Subject: RE: Change the log level programmatically? =20 Hi, =20 I sent this question a couple of weeks ago, but haven't heard any feedback from anyone... Could someone offer some suggestions here, or let me know that this can't be done?! =20 Thanks, =20 -esr =20 From: Eric Rose (erose)=20 Sent: Friday, January 30, 2009 10:22 PM To: [email protected] Subject: Change the log level programmatically? =20 =20 Hopefully this is an easy question which has already been asked (and answered) before. I searched online, but could not find a reasonable answer... =20 Is there a way to change the default log level of a logger via C# program control? =20 I don't need the setting to persist, so I don't want to have to change the XML config file and re-read it. =20 In my C# code, I have a ILog variable that we use for all logging, defined as follows: =20 private static readonly log4net.ILog log =3D log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMeth od().DeclaringType); =20 I'd like to be able to somehow be able to use that 'log' variable, and set it's log level (INFO, WARN, ERROR, OFF, ALL, etc) to whatever I want in the code. =20 =20 Any help or pointers to useful examples would be appreciated! =20 Thanks, -esr =20 =20 =20 Eric Rose Software Engineer Product Development [email protected] <mailto:[email protected]>=20 Phone :705-204-8822 Cisco Systems, Inc. 500 Beaver Brook Road Boxborough, MA 01719 www.cisco.com <http://www.cisco.com>=20 =20 =20 =20 ------_=_NextPart_002_01C98C89.00B1B5C1 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:x=3D"urn:schemas-microsoft-com:office:excel" = xmlns:p=3D"urn:schemas-microsoft-com:office:powerpoint" = xmlns:a=3D"urn:schemas-microsoft-com:office:access" = xmlns:dt=3D"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" = xmlns:s=3D"uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" = xmlns:rs=3D"urn:schemas-microsoft-com:rowset" xmlns:z=3D"#RowsetSchema" = xmlns:b=3D"urn:schemas-microsoft-com:office:publisher" = xmlns:ss=3D"urn:schemas-microsoft-com:office:spreadsheet" = xmlns:c=3D"urn:schemas-microsoft-com:office:component:spreadsheet" = xmlns:odc=3D"urn:schemas-microsoft-com:office:odc" = xmlns:oa=3D"urn:schemas-microsoft-com:office:activation" = xmlns:html=3D"http://www.w3.org/TR/REC-html40" = xmlns:q=3D"http://schemas.xmlsoap.org/soap/envelope/" xmlns:D=3D"DAV:" = xmlns:x2=3D"http://schemas.microsoft.com/office/excel/2003/xml" = xmlns:ois=3D"http://schemas.microsoft.com/sharepoint/soap/ois/" = xmlns:dir=3D"http://schemas.microsoft.com/sharepoint/soap/directory/" = xmlns:ds=3D"http://www.w3.org/2000/09/xmldsig#" = xmlns:dsp=3D"http://schemas.microsoft.com/sharepoint/dsp" = xmlns:udc=3D"http://schemas.microsoft.com/data/udc" = xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" = xmlns:sub=3D"http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/"= xmlns:ec=3D"http://www.w3.org/2001/04/xmlenc#" = xmlns:sp=3D"http://schemas.microsoft.com/sharepoint/" = xmlns:sps=3D"http://schemas.microsoft.com/sharepoint/soap/" = xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" = xmlns:udcs=3D"http://schemas.microsoft.com/data/udc/soap" = xmlns:udcxf=3D"http://schemas.microsoft.com/data/udc/xmlfile" = xmlns:udcp2p=3D"http://schemas.microsoft.com/data/udc/parttopart" = xmlns:wf=3D"http://schemas.microsoft.com/sharepoint/soap/workflow/" = xmlns:dsss=3D"http://schemas.microsoft.com/office/2006/digsig-setup" = xmlns:dssi=3D"http://schemas.microsoft.com/office/2006/digsig" = xmlns:mdssi=3D"http://schemas.openxmlformats.org/package/2006/digital-sig= nature" = xmlns:mver=3D"http://schemas.openxmlformats.org/markup-compatibility/2006= " xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns:mrels=3D"http://schemas.openxmlformats.org/package/2006/relationshi= ps" xmlns:spwp=3D"http://microsoft.com/sharepoint/webpartpages" = xmlns:ex12t=3D"http://schemas.microsoft.com/exchange/services/2006/types"= = xmlns:ex12m=3D"http://schemas.microsoft.com/exchange/services/2006/messag= es" = xmlns:pptsl=3D"http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/= " = xmlns:spsl=3D"http://microsoft.com/webservices/SharePointPortalServer/Pub= lishedLinksService" xmlns:Z=3D"urn:schemas-microsoft-com:" = xmlns:st=3D"&#1;" xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <meta name=3DProgId content=3DWord.Document> <meta name=3DGenerator content=3D"Microsoft Word 12"> <meta name=3DOriginator content=3D"Microsoft Word 12"> <link rel=3DFile-List href=3D"cid:[email protected]"> <link rel=3DEdit-Time-Data href=3D"cid:editdata.mso"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--><!--[if gte mso 9]><xml> <o:OfficeDocumentSettings> <o:AllowPNG/> <o:DoNotRelyOnCSS/> <o:TargetScreenSize>1024x768</o:TargetScreenSize> </o:OfficeDocumentSettings> </xml><![endif]--><!--[if gte mso 9]><xml> <w:WordDocument> <w:SpellingState>Clean</w:SpellingState> <w:TrackMoves>false</w:TrackMoves> <w:TrackFormatting/> <w:EnvelopeVis/> <w:PunctuationKerning/> <w:ValidateAgainstSchemas/> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:DoNotPromoteQF/> <w:LidThemeOther>EN-US</w:LidThemeOther> <w:LidThemeAsian>X-NONE</w:LidThemeAsian> <w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript> <w:Compatibility> <w:DoNotExpandShiftReturn/> <w:BreakWrappedTables/> <w:SnapToGridInCell/> <w:WrapTextWithPunct/> <w:UseAsianBreakRules/> <w:DontGrowAutofit/> <w:SplitPgBreakAndParaMark/> <w:DontVertAlignCellWithSp/> <w:DontBreakConstrainedForcedTables/> <w:DontVertAlignInTxbx/> <w:Word11KerningPairs/> <w:CachedColBalance/> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> <m:mathPr> <m:mathFont m:val=3D"Cambria Math"/> <m:brkBin m:val=3D"before"/> <m:brkBinSub m:val=3D"&#45;-"/> <m:smallFrac m:val=3D"off"/> <m:dispDef/> <m:lMargin m:val=3D"0"/> <m:rMargin m:val=3D"0"/> <m:defJc m:val=3D"centerGroup"/> <m:wrapIndent m:val=3D"1440"/> <m:intLim m:val=3D"subSup"/> <m:naryLim m:val=3D"undOvr"/> </m:mathPr></w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState=3D"false" DefUnhideWhenUsed=3D"true"=20 DefSemiHidden=3D"true" DefQFormat=3D"false" DefPriority=3D"99"=20 LatentStyleCount=3D"267"> <w:LsdException Locked=3D"false" Priority=3D"0" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Normal"/> <w:LsdException Locked=3D"false" Priority=3D"9" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"heading 1"/> <w:LsdException Locked=3D"false" Priority=3D"9" QFormat=3D"true" = Name=3D"heading 2"/> <w:LsdException Locked=3D"false" Priority=3D"9" QFormat=3D"true" = Name=3D"heading 3"/> <w:LsdException Locked=3D"false" Priority=3D"9" QFormat=3D"true" = Name=3D"heading 4"/> <w:LsdException Locked=3D"false" Priority=3D"9" QFormat=3D"true" = Name=3D"heading 5"/> <w:LsdException Locked=3D"false" Priority=3D"9" QFormat=3D"true" = Name=3D"heading 6"/> <w:LsdException Locked=3D"false" Priority=3D"9" QFormat=3D"true" = Name=3D"heading 7"/> <w:LsdException Locked=3D"false" Priority=3D"9" QFormat=3D"true" = Name=3D"heading 8"/> <w:LsdException Locked=3D"false" Priority=3D"9" QFormat=3D"true" = Name=3D"heading 9"/> <w:LsdException Locked=3D"false" Priority=3D"39" Name=3D"toc 1"/> <w:LsdException Locked=3D"false" Priority=3D"39" Name=3D"toc 2"/> <w:LsdException Locked=3D"false" Priority=3D"39" Name=3D"toc 3"/> <w:LsdException Locked=3D"false" Priority=3D"39" Name=3D"toc 4"/> <w:LsdException Locked=3D"false" Priority=3D"39" Name=3D"toc 5"/> <w:LsdException Locked=3D"false" Priority=3D"39" Name=3D"toc 6"/> <w:LsdException Locked=3D"false" Priority=3D"39" Name=3D"toc 7"/> <w:LsdException Locked=3D"false" Priority=3D"39" Name=3D"toc 8"/> <w:LsdException Locked=3D"false" Priority=3D"39" Name=3D"toc 9"/> <w:LsdException Locked=3D"false" Priority=3D"35" QFormat=3D"true" = Name=3D"caption"/> <w:LsdException Locked=3D"false" Priority=3D"10" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Title"/> <w:LsdException Locked=3D"false" Priority=3D"1" Name=3D"Default = Paragraph Font"/> <w:LsdException Locked=3D"false" Priority=3D"11" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Subtitle"/> <w:LsdException Locked=3D"false" Priority=3D"22" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Strong"/> <w:LsdException Locked=3D"false" Priority=3D"20" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Emphasis"/> <w:LsdException Locked=3D"false" Priority=3D"59" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Table Grid"/> <w:LsdException Locked=3D"false" UnhideWhenUsed=3D"false" = Name=3D"Placeholder Text"/> <w:LsdException Locked=3D"false" Priority=3D"1" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"No Spacing"/> <w:LsdException Locked=3D"false" Priority=3D"60" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light Shading"/> <w:LsdException Locked=3D"false" Priority=3D"61" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light List"/> <w:LsdException Locked=3D"false" Priority=3D"62" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light Grid"/> <w:LsdException Locked=3D"false" Priority=3D"63" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Shading 1"/> <w:LsdException Locked=3D"false" Priority=3D"64" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Shading 2"/> <w:LsdException Locked=3D"false" Priority=3D"65" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium List 1"/> <w:LsdException Locked=3D"false" Priority=3D"66" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium List 2"/> <w:LsdException Locked=3D"false" Priority=3D"67" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 1"/> <w:LsdException Locked=3D"false" Priority=3D"68" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 2"/> <w:LsdException Locked=3D"false" Priority=3D"69" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 3"/> <w:LsdException Locked=3D"false" Priority=3D"70" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Dark List"/> <w:LsdException Locked=3D"false" Priority=3D"71" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful Shading"/> <w:LsdException Locked=3D"false" Priority=3D"72" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful List"/> <w:LsdException Locked=3D"false" Priority=3D"73" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful Grid"/> <w:LsdException Locked=3D"false" Priority=3D"60" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light Shading Accent 1"/> <w:LsdException Locked=3D"false" Priority=3D"61" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light List Accent 1"/> <w:LsdException Locked=3D"false" Priority=3D"62" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light Grid Accent 1"/> <w:LsdException Locked=3D"false" Priority=3D"63" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Shading 1 Accent 1"/> <w:LsdException Locked=3D"false" Priority=3D"64" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Shading 2 Accent 1"/> <w:LsdException Locked=3D"false" Priority=3D"65" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium List 1 Accent 1"/> <w:LsdException Locked=3D"false" UnhideWhenUsed=3D"false" = Name=3D"Revision"/> <w:LsdException Locked=3D"false" Priority=3D"34" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"List Paragraph"/> <w:LsdException Locked=3D"false" Priority=3D"29" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Quote"/> <w:LsdException Locked=3D"false" Priority=3D"30" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Intense Quote"/> <w:LsdException Locked=3D"false" Priority=3D"66" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium List 2 Accent 1"/> <w:LsdException Locked=3D"false" Priority=3D"67" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 1 Accent 1"/> <w:LsdException Locked=3D"false" Priority=3D"68" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 2 Accent 1"/> <w:LsdException Locked=3D"false" Priority=3D"69" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 3 Accent 1"/> <w:LsdException Locked=3D"false" Priority=3D"70" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Dark List Accent 1"/> <w:LsdException Locked=3D"false" Priority=3D"71" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful Shading Accent 1"/> <w:LsdException Locked=3D"false" Priority=3D"72" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful List Accent 1"/> <w:LsdException Locked=3D"false" Priority=3D"73" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful Grid Accent 1"/> <w:LsdException Locked=3D"false" Priority=3D"60" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light Shading Accent 2"/> <w:LsdException Locked=3D"false" Priority=3D"61" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light List Accent 2"/> <w:LsdException Locked=3D"false" Priority=3D"62" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light Grid Accent 2"/> <w:LsdException Locked=3D"false" Priority=3D"63" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Shading 1 Accent 2"/> <w:LsdException Locked=3D"false" Priority=3D"64" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Shading 2 Accent 2"/> <w:LsdException Locked=3D"false" Priority=3D"65" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium List 1 Accent 2"/> <w:LsdException Locked=3D"false" Priority=3D"66" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium List 2 Accent 2"/> <w:LsdException Locked=3D"false" Priority=3D"67" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 1 Accent 2"/> <w:LsdException Locked=3D"false" Priority=3D"68" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 2 Accent 2"/> <w:LsdException Locked=3D"false" Priority=3D"69" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 3 Accent 2"/> <w:LsdException Locked=3D"false" Priority=3D"70" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Dark List Accent 2"/> <w:LsdException Locked=3D"false" Priority=3D"71" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful Shading Accent 2"/> <w:LsdException Locked=3D"false" Priority=3D"72" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful List Accent 2"/> <w:LsdException Locked=3D"false" Priority=3D"73" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful Grid Accent 2"/> <w:LsdException Locked=3D"false" Priority=3D"60" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light Shading Accent 3"/> <w:LsdException Locked=3D"false" Priority=3D"61" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light List Accent 3"/> <w:LsdException Locked=3D"false" Priority=3D"62" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light Grid Accent 3"/> <w:LsdException Locked=3D"false" Priority=3D"63" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Shading 1 Accent 3"/> <w:LsdException Locked=3D"false" Priority=3D"64" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Shading 2 Accent 3"/> <w:LsdException Locked=3D"false" Priority=3D"65" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium List 1 Accent 3"/> <w:LsdException Locked=3D"false" Priority=3D"66" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium List 2 Accent 3"/> <w:LsdException Locked=3D"false" Priority=3D"67" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 1 Accent 3"/> <w:LsdException Locked=3D"false" Priority=3D"68" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 2 Accent 3"/> <w:LsdException Locked=3D"false" Priority=3D"69" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 3 Accent 3"/> <w:LsdException Locked=3D"false" Priority=3D"70" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Dark List Accent 3"/> <w:LsdException Locked=3D"false" Priority=3D"71" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful Shading Accent 3"/> <w:LsdException Locked=3D"false" Priority=3D"72" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful List Accent 3"/> <w:LsdException Locked=3D"false" Priority=3D"73" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful Grid Accent 3"/> <w:LsdException Locked=3D"false" Priority=3D"60" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light Shading Accent 4"/> <w:LsdException Locked=3D"false" Priority=3D"61" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light List Accent 4"/> <w:LsdException Locked=3D"false" Priority=3D"62" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light Grid Accent 4"/> <w:LsdException Locked=3D"false" Priority=3D"63" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Shading 1 Accent 4"/> <w:LsdException Locked=3D"false" Priority=3D"64" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Shading 2 Accent 4"/> <w:LsdException Locked=3D"false" Priority=3D"65" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium List 1 Accent 4"/> <w:LsdException Locked=3D"false" Priority=3D"66" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium List 2 Accent 4"/> <w:LsdException Locked=3D"false" Priority=3D"67" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 1 Accent 4"/> <w:LsdException Locked=3D"false" Priority=3D"68" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 2 Accent 4"/> <w:LsdException Locked=3D"false" Priority=3D"69" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 3 Accent 4"/> <w:LsdException Locked=3D"false" Priority=3D"70" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Dark List Accent 4"/> <w:LsdException Locked=3D"false" Priority=3D"71" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful Shading Accent 4"/> <w:LsdException Locked=3D"false" Priority=3D"72" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful List Accent 4"/> <w:LsdException Locked=3D"false" Priority=3D"73" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful Grid Accent 4"/> <w:LsdException Locked=3D"false" Priority=3D"60" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light Shading Accent 5"/> <w:LsdException Locked=3D"false" Priority=3D"61" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light List Accent 5"/> <w:LsdException Locked=3D"false" Priority=3D"62" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light Grid Accent 5"/> <w:LsdException Locked=3D"false" Priority=3D"63" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Shading 1 Accent 5"/> <w:LsdException Locked=3D"false" Priority=3D"64" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Shading 2 Accent 5"/> <w:LsdException Locked=3D"false" Priority=3D"65" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium List 1 Accent 5"/> <w:LsdException Locked=3D"false" Priority=3D"66" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium List 2 Accent 5"/> <w:LsdException Locked=3D"false" Priority=3D"67" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 1 Accent 5"/> <w:LsdException Locked=3D"false" Priority=3D"68" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 2 Accent 5"/> <w:LsdException Locked=3D"false" Priority=3D"69" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 3 Accent 5"/> <w:LsdException Locked=3D"false" Priority=3D"70" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Dark List Accent 5"/> <w:LsdException Locked=3D"false" Priority=3D"71" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful Shading Accent 5"/> <w:LsdException Locked=3D"false" Priority=3D"72" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful List Accent 5"/> <w:LsdException Locked=3D"false" Priority=3D"73" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful Grid Accent 5"/> <w:LsdException Locked=3D"false" Priority=3D"60" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light Shading Accent 6"/> <w:LsdException Locked=3D"false" Priority=3D"61" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light List Accent 6"/> <w:LsdException Locked=3D"false" Priority=3D"62" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Light Grid Accent 6"/> <w:LsdException Locked=3D"false" Priority=3D"63" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Shading 1 Accent 6"/> <w:LsdException Locked=3D"false" Priority=3D"64" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Shading 2 Accent 6"/> <w:LsdException Locked=3D"false" Priority=3D"65" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium List 1 Accent 6"/> <w:LsdException Locked=3D"false" Priority=3D"66" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium List 2 Accent 6"/> <w:LsdException Locked=3D"false" Priority=3D"67" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 1 Accent 6"/> <w:LsdException Locked=3D"false" Priority=3D"68" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 2 Accent 6"/> <w:LsdException Locked=3D"false" Priority=3D"69" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Medium Grid 3 Accent 6"/> <w:LsdException Locked=3D"false" Priority=3D"70" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Dark List Accent 6"/> <w:LsdException Locked=3D"false" Priority=3D"71" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful Shading Accent 6"/> <w:LsdException Locked=3D"false" Priority=3D"72" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful List Accent 6"/> <w:LsdException Locked=3D"false" Priority=3D"73" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" Name=3D"Colorful Grid Accent 6"/> <w:LsdException Locked=3D"false" Priority=3D"19" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Subtle Emphasis"/> <w:LsdException Locked=3D"false" Priority=3D"21" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Intense Emphasis"/> <w:LsdException Locked=3D"false" Priority=3D"31" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Subtle Reference"/> <w:LsdException Locked=3D"false" Priority=3D"32" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Intense = Reference"/> <w:LsdException Locked=3D"false" Priority=3D"33" SemiHidden=3D"false"=20 UnhideWhenUsed=3D"false" QFormat=3D"true" Name=3D"Book Title"/> <w:LsdException Locked=3D"false" Priority=3D"37" = Name=3D"Bibliography"/> <w:LsdException Locked=3D"false" Priority=3D"39" QFormat=3D"true" = Name=3D"TOC Heading"/> </w:LatentStyles> </xml><![endif]--> <style> <!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-alt:Arial; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-1610611985 1073750139 0 0 159 0;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:1627400839 705-204-8822 8 0 66047 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-fareast-font-family:Calibri; mso-bidi-font-family:"Times New Roman";} a:link, span.MsoHyperlink {mso-style-noshow:yes; mso-style-priority:99; color:blue; text-decoration:underline; text-underline:single;} a:visited, span.MsoHyperlinkFollowed {mso-style-noshow:yes; mso-style-priority:99; color:purple; text-decoration:underline; text-underline:single;} p.MsoAcetate, li.MsoAcetate, div.MsoAcetate {mso-style-noshow:yes; mso-style-priority:99; mso-style-link:"Balloon Text Char"; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:8.0pt; font-family:"Tahoma","sans-serif"; mso-fareast-font-family:Calibri;} span.BalloonTextChar {mso-style-name:"Balloon Text Char"; mso-style-noshow:yes; mso-style-priority:99; mso-style-unhide:no; mso-style-locked:yes; mso-style-link:"Balloon Text"; mso-ansi-font-size:8.0pt; mso-bidi-font-size:8.0pt; font-family:"Tahoma","sans-serif"; mso-ascii-font-family:Tahoma; mso-hansi-font-family:Tahoma; mso-bidi-font-family:Tahoma;} span.EmailStyle19 {mso-style-type:personal; mso-style-noshow:yes; mso-style-unhide:no; mso-ansi-font-size:10.0pt; mso-bidi-font-size:11.0pt; font-family:"Arial","sans-serif"; mso-ascii-font-family:Arial; mso-hansi-font-family:Arial; mso-bidi-font-family:"Times New Roman"; color:windowtext; font-weight:normal; font-style:normal;} span.EmailStyle20 {mso-style-type:personal; mso-style-noshow:yes; mso-style-unhide:no; mso-ansi-font-size:10.0pt; mso-bidi-font-size:11.0pt; font-family:"Arial","sans-serif"; mso-ascii-font-family:Arial; mso-hansi-font-family:Arial; mso-bidi-font-family:"Times New Roman"; color:#1F497D; font-weight:normal; font-style:normal;} span.EmailStyle21 {mso-style-type:personal-reply; mso-style-noshow:yes; mso-style-unhide:no; mso-ansi-font-size:10.0pt; mso-bidi-font-size:11.0pt; font-family:"Arial","sans-serif"; mso-ascii-font-family:Arial; mso-hansi-font-family:Arial; mso-bidi-font-family:"Times New Roman"; color:#993366; font-weight:normal; font-style:normal;} span.SpellE {mso-style-name:""; mso-spl-e:yes;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; font-size:10.0pt; mso-ansi-font-size:10.0pt; mso-bidi-font-size:10.0pt; mso-ascii-font-family:Calibri; mso-fareast-font-family:Calibri; mso-hansi-font-family:Calibri;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 10]> <style> /* Style Definitions */=20 table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Calibri","sans-serif";} </style> <![endif]--><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple = style=3D'tab-interval:.5in'> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 color=3D"#993366" face=3DArial><span style=3D'font-size:10.0pt;mso-bidi-font-size:11.0pt;font-family:"Arial","= sans-serif"; mso-bidi-font-family:"Times New Roman";color:#993366'>Thanks to everyone = for their suggestions&#8230; <o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#993366" face=3DArial><span style=3D'font-size:10.0pt;mso-bidi-font-size:11.0pt;font-family:"Arial","= sans-serif"; mso-bidi-font-family:"Times New Roman";color:#993366'>No single = suggestion worked completely for me, but there were nuggets of information that = were quite helpful!<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#993366" face=3DArial><span style=3D'font-size:10.0pt;mso-bidi-font-size:11.0pt;font-family:"Arial","= sans-serif"; mso-bidi-font-family:"Times New Roman";color:#993366'>I just spent a = while figuring out what works for me, and this is the = result&#8230;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#993366" face=3DArial><span style=3D'font-size:10.0pt;mso-bidi-font-size:11.0pt;font-family:"Arial","= sans-serif"; mso-bidi-font-family:"Times New = Roman";color:#993366'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#993366" face=3DArial><span style=3D'font-size:10.0pt;mso-bidi-font-size:11.0pt;font-family:"Arial","= sans-serif"; mso-bidi-font-family:"Times New Roman";color:#993366'>We have a static = utility class as follows, and I was able to add these &#8216;<span = class=3DSpellE>SetLevel</span>&lt;Level&gt;&#8217; methods to modify the one logging object we setup, to change the log = levels on the fly.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#993366" face=3DArial><span style=3D'font-size:10.0pt;mso-bidi-font-size:11.0pt;font-family:"Arial","= sans-serif"; mso-bidi-font-family:"Times New Roman";color:#993366'>There is still a = log4net.conf file which defines all the usual things (log file location, appending = rules, etc)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#993366" face=3DArial><span style=3D'font-size:10.0pt;mso-bidi-font-size:11.0pt;font-family:"Arial","= sans-serif"; mso-bidi-font-family:"Times New = Roman";color:#993366'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#993366" face=3DArial><span style=3D'font-size:10.0pt;mso-bidi-font-size:11.0pt;font-family:"Arial","= sans-serif"; mso-bidi-font-family:"Times New Roman";color:#993366'>Here&#8217;s the = code:<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#993366" face=3DArial><span style=3D'font-size:10.0pt;mso-bidi-font-size:11.0pt;font-family:"Arial","= sans-serif"; mso-bidi-font-family:"Times New = Roman";color:#993366'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family: "Courier New";color:blue;mso-no-proof:yes'>using</span></font><font = size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'> log4net;<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family: "Courier New";color:blue;mso-no-proof:yes'>using</span></font><font = size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'> log4net.Appender;<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family: "Courier New";color:blue;mso-no-proof:yes'>using</span></font><font = size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'> log4net.Core;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Courier = New"><span style=3D'font-size:10.0pt;font-family:"Courier = New";color:blue;mso-no-proof:yes'>using</span></font><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'> = log4net.Repository.Hierarchy;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#993366" face=3DArial><span style=3D'font-size:10.0pt;mso-bidi-font-size:11.0pt;font-family:"Arial","= sans-serif"; mso-bidi-font-family:"Times New = Roman";color:#993366'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; = </span><font color=3Dblue><span style=3D'color:blue'>public</span></font> <font = color=3Dblue><span style=3D'color:blue'>static</span></font> <font color=3Dblue><span style=3D'color:blue'>class</span></font> <font color=3D"#2b91af"><span style=3D'color:#2B91AF'>LogUtility<o:p></o:p></span></font></span></font>= </p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; = </span>{<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span><font color=3Dblue><span style=3D'color:blue'>private</span></font> <font = color=3Dblue><span style=3D'color:blue'>static</span></font> <font color=3Dblue><span style=3D'color:blue'>readonly</span></font> log4net.<font = color=3D"#2b91af"><span style=3D'color:#2B91AF'>ILog</span></font> log =3D log4net.<font = color=3D"#2b91af"><span style=3D'color:#2B91AF'>LogManager</span></font>.GetLogger(System.Reflect= ion.<font color=3D"#2b91af"><span = style=3D'color:#2B91AF'>MethodBase</span></font>.GetCurrentMethod().Decla= ringType);<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span><font color=3Dblue><span style=3D'color:blue'>private</span></font> <font = color=3Dblue><span style=3D'color:blue'>static</span></font> <font color=3Dblue><span style=3D'color:blue'>readonly</span></font> <font = color=3D"#2b91af"><span style=3D'color:#2B91AF'>Logger</span></font> logger =3D log.Logger <font color=3Dblue><span style=3D'color:blue'>as</span></font> <font = color=3D"#2b91af"><span style=3D'color:#2B91AF'>Logger</span></font>;<o:p></o:p></span></font></p= > <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;</span><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span><font color=3Dblue><span style=3D'color:blue'>public</span></font> <font = color=3Dblue><span style=3D'color:blue'>static</span></font> log4net.<font = color=3D"#2b91af"><span style=3D'color:#2B91AF'>ILog</span></font> = GetLog()<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span>{<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp; </span><font color=3Dblue><span = style=3D'color:blue'>return</span></font> = (log);<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span>}<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span><font color=3Dblue><span style=3D'color:blue'>private</span></font> <font = color=3Dblue><span style=3D'color:blue'>static</span></font> <font color=3Dblue><span style=3D'color:blue'>void</span></font> SetLevel(<font = color=3D"#2b91af"><span style=3D'color:#2B91AF'>Level</span></font> = level)<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span>{<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp; </span><font color=3Dblue><span style=3D'color:blue'>if</span></font> = (logger !=3D <font color=3Dblue><span = style=3D'color:blue'>null</span></font>)<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp; </span>{<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>logger.Level =3D level;<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp; </span>}<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span>}<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span><font color=3Dblue><span style=3D'color:blue'>public</span></font> <font = color=3Dblue><span style=3D'color:blue'>static</span></font> <font color=3Dblue><span style=3D'color:blue'>void</span></font> = SetLevelDebug()<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span>{<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp; </span>SetLevel(<font color=3D"#2b91af"><span = style=3D'color:#2B91AF'>Level</span></font>.Debug);<o:p></o:p></span></fo= nt></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span>}<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span><font color=3Dblue><span style=3D'color:blue'>public</span></font> <font = color=3Dblue><span style=3D'color:blue'>static</span></font> <font color=3Dblue><span style=3D'color:blue'>void</span></font> = SetLevelInfo()<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span>{<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp; </span>SetLevel(<font color=3D"#2b91af"><span = style=3D'color:#2B91AF'>Level</span></font>.Info);<o:p></o:p></span></fon= t></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span>}<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span><font color=3Dblue><span style=3D'color:blue'>public</span></font> <font = color=3Dblue><span style=3D'color:blue'>static</span></font> <font color=3Dblue><span style=3D'color:blue'>void</span></font> = SetLevelWarn()<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span>{<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp; </span>SetLevel(<font color=3D"#2b91af"><span = style=3D'color:#2B91AF'>Level</span></font>.Warn);<o:p></o:p></span></fon= t></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span>}<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span><font color=3Dblue><span style=3D'color:blue'>public</span></font> <font = color=3Dblue><span style=3D'color:blue'>static</span></font> <font color=3Dblue><span style=3D'color:blue'>void</span></font> = SetLevelError()<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span>{<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp; </span>SetLevel(<font color=3D"#2b91af"><span = style=3D'color:#2B91AF'>Level</span></font>.Error);<o:p></o:p></span></fo= nt></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span>}<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span><font color=3Dblue><span style=3D'color:blue'>public</span></font> <font = color=3Dblue><span style=3D'color:blue'>static</span></font> <font color=3Dblue><span style=3D'color:blue'>void</span></font> = SetLevelFatal()<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span>{<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp; </span>SetLevel(<font color=3D"#2b91af"><span = style=3D'color:#2B91AF'>Level</span></font>.Fatal);<o:p></o:p></span></fo= nt></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span>}<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span><font color=3Dblue><span style=3D'color:blue'>public</span></font> <font = color=3Dblue><span style=3D'color:blue'>static</span></font> <font color=3Dblue><span style=3D'color:blue'>void</span></font> = SetLevelOff()<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span>{<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp; </span>SetLevel(<font color=3D"#2b91af"><span = style=3D'color:#2B91AF'>Level</span></font>.Off);<o:p></o:p></span></font= ></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span>}<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span><font color=3Dblue><span style=3D'color:blue'>public</span></font> <font = color=3Dblue><span style=3D'color:blue'>static</span></font> <font color=3Dblue><span style=3D'color:blue'>void</span></font> = SetLevelAll()<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span>{<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp; </span>SetLevel(<font color=3D"#2b91af"><span = style=3D'color:#2B91AF'>Level</span></font>.All);<o:p></o:p></span></font= ></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = </span>}<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt; font-family:"Courier New";mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; = </span>}</span></font><font size=3D2 color=3D"#993366" face=3DArial><span = style=3D'font-size:10.0pt;mso-bidi-font-size: 11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-family:"Times New = Roman"; color:#993366'><o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#993366" face=3DArial><span style=3D'font-size:10.0pt;mso-bidi-font-size:11.0pt;font-family:"Arial","= sans-serif"; mso-bidi-font-family:"Times New = Roman";color:#993366'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#993366" face=3DArial><span style=3D'font-size:10.0pt;mso-bidi-font-size:11.0pt;font-family:"Arial","= sans-serif"; mso-bidi-font-family:"Times New = Roman";color:#993366'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#993366" face=3DArial><span style=3D'font-size:10.0pt;mso-bidi-font-size:11.0pt;font-family:"Arial","= sans-serif"; mso-bidi-font-family:"Times New Roman";color:#993366'>Here&#8217;s a = code fragment that tests this:<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 color=3D"#993366" face=3DArial><span = style=3D'font-size:10.0pt;mso-bidi-font-size: 11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-family:"Times New = Roman"; color:#993366'><span = style=3D'mso-tab-count:1'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp; </span></span></font><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span = style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><font color=3D"#2b91af"><span = style=3D'color:#2B91AF'>LogUtility</span></font>.SetLevelOff();<o:p></o:p= ></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp; </span><font color=3D"#2b91af"><span = style=3D'color:#2B91AF'>LogUtility</span></font>.GetLog().Debug(<font color=3D"#a31515"><span style=3D'color:#A31515'>&quot;After = SetLevelOff() debug&quot;</span></font>);<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp; </span><font color=3D"#2b91af"><span = style=3D'color:#2B91AF'>LogUtility</span></font>.GetLog().Warn(<font color=3D"#a31515"><span style=3D'color:#A31515'>&quot;After = SetLevelOff() warn&quot;</span></font>);<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp; </span><font color=3D"#2b91af"><span = style=3D'color:#2B91AF'>LogUtility</span></font>.GetLog().Fatal(<font color=3D"#a31515"><span style=3D'color:#A31515'>&quot;After = SetLevelOff() fatal&quot;</span></font>);<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp; </span><font color=3D"#2b91af"><span = style=3D'color:#2B91AF'>LogUtility</span></font>.SetLevelInfo();<o:p></o:= p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp; </span><font color=3D"#2b91af"><span = style=3D'color:#2B91AF'>LogUtility</span></font>.GetLog().Debug(<font color=3D"#a31515"><span style=3D'color:#A31515'>&quot;After = SetLevelInfo() debug&quot;</span></font>);<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp; </span><font color=3D"#2b91af"><span = style=3D'color:#2B91AF'>LogUtility</span></font>.GetLog().Warn(<font color=3D"#a31515"><span style=3D'color:#A31515'>&quot;After = SetLevelInfo() warn&quot;</span></font>);<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp; </span><font color=3D"#2b91af"><span = style=3D'color:#2B91AF'>LogUtility</span></font>.GetLog().Fatal(<font color=3D"#a31515"><span style=3D'color:#A31515'>&quot;After = SetLevelInfo() fatal&quot;</span></font>);<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp; </span><font color=3D"#2b91af"><span = style=3D'color:#2B91AF'>LogUtility</span></font>.SetLevelError();<o:p></o= :p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp; </span><font color=3D"#2b91af"><span = style=3D'color:#2B91AF'>LogUtility</span></font>.GetLog().Debug(<font color=3D"#a31515"><span style=3D'color:#A31515'>&quot;After = SetLevelError() debug&quot;</span></font>);<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp; </span><font color=3D"#2b91af"><span = style=3D'color:#2B91AF'>LogUtility</span></font>.GetLog().Warn(<font color=3D"#a31515"><span style=3D'color:#A31515'>&quot;After = SetLevelError() warn&quot;</span></font>);<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp; </span><font color=3D"#2b91af"><span = style=3D'color:#2B91AF'>LogUtility</span></font>.GetLog().Fatal(<font color=3D"#a31515"><span style=3D'color:#A31515'>&quot;After = SetLevelError() fatal&quot;</span></font>);<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp; </span><font color=3D"#2b91af"><span = style=3D'color:#2B91AF'>LogUtility</span></font>.SetLevelWarn();<o:p></o:= p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp; </span><font color=3D"#2b91af"><span = style=3D'color:#2B91AF'>LogUtility</span></font>.GetLog().Debug(<font color=3D"#a31515"><span style=3D'color:#A31515'>&quot;After = SetLevelWarn() debug&quot;</span></font>);<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp; </span><font color=3D"#2b91af"><span = style=3D'color:#2B91AF'>LogUtility</span></font>.GetLog().Warn(<font color=3D"#a31515"><span style=3D'color:#A31515'>&quot;After = SetLevelWarn() warn&quot;</span></font>);<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp; </span><font color=3D"#2b91af"><span = style=3D'color:#2B91AF'>LogUtility</span></font>.GetLog().Fatal(<font color=3D"#a31515"><span style=3D'color:#A31515'>&quot;After = SetLevelWarn() fatal&quot;</span></font>);<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp; </span><o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp; </span><font color=3D"#2b91af"><span = style=3D'color:#2B91AF'>LogUtility</span></font>.SetLevelAll();<o:p></o:p= ></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp; </span><font color=3D"#2b91af"><span = style=3D'color:#2B91AF'>LogUtility</span></font>.GetLog().Debug(<font color=3D"#a31515"><span style=3D'color:#A31515'>&quot;After = SetLevelALL() debug&quot;</span></font>);<o:p></o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp; </span><font color=3D"#2b91af"><span = style=3D'color:#2B91AF'>LogUtility</span></font>.GetLog().Warn(<font color=3D"#a31515"><span style=3D'color:#A31515'>&quot;After = SetLevelALL() warn&quot;</span></font>);<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt; font-family:"Courier New";mso-no-proof:yes'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp; </span><font color=3D"#2b91af"><span = style=3D'color:#2B91AF'>LogUtility</span></font>.GetLog().Fatal(<font color=3D"#a31515"><span style=3D'color:#A31515'>&quot;After = SetLevelALL() fatal&quot;</span></font>);<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt; font-family:"Courier = New";mso-no-proof:yes'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt; font-family:"Courier = New";mso-no-proof:yes'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt; font-family:"Courier New";mso-no-proof:yes'>And, this is what the log = file output looks like:<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 = face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier New";mso-no-proof:yes'>3: erose-xp5: Feb 11 2009 15:11:07.803 -05:00: %testLog-WARN-After = SetLevelInfo() warn<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 = face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier New";mso-no-proof:yes'>4: erose-xp5: Feb 11 2009 15:11:07.803 -05:00: %testLog-FATAL-After = SetLevelInfo() fatal<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 = face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier New";mso-no-proof:yes'>5: erose-xp5: Feb 11 2009 15:11:07.803 -05:00: %testLog-FATAL-After SetLevelError() fatal<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 = face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier New";mso-no-proof:yes'>6: erose-xp5: Feb 11 2009 15:11:07.803 -05:00: %testLog-WARN-After = SetLevelWarn() warn<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 = face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier New";mso-no-proof:yes'>7: erose-xp5: Feb 11 2009 15:11:07.803 -05:00: %testLog-FATAL-After = SetLevelWarn() fatal<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 = face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier New";mso-no-proof:yes'>8: erose-xp5: Feb 11 2009 15:11:07.803 -05:00: %testLog-DEBUG-After = SetLevelALL() debug<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 = face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier New";mso-no-proof:yes'>9: erose-xp5: Feb 11 2009 15:11:07.803 -05:00: %testLog-WARN-After = SetLevelALL() warn<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 = face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier = New";mso-no-proof:yes'>10: erose-xp5: Feb 11 2009 15:11:07.803 -05:00: %testLog-FATAL-After = SetLevelALL() fatal<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt; font-family:"Courier = New";mso-no-proof:yes'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#993366" face=3DArial><span style=3D'font-size:10.0pt;mso-bidi-font-size:11.0pt;font-family:"Arial","= sans-serif"; mso-bidi-font-family:"Times New = Roman";color:#993366'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#993366" face=3DArial><span style=3D'font-size:10.0pt;mso-bidi-font-size:11.0pt;font-family:"Arial","= sans-serif"; mso-bidi-font-family:"Times New Roman";color:#993366'>So, it is = possible, and does work!<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#993366" face=3DArial><span style=3D'font-size:10.0pt;mso-bidi-font-size:11.0pt;font-family:"Arial","= sans-serif"; mso-bidi-font-family:"Times New = Roman";color:#993366'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#993366" face=3DArial><span style=3D'font-size:10.0pt;mso-bidi-font-size:11.0pt;font-family:"Arial","= sans-serif"; mso-bidi-font-family:"Times New Roman";color:#993366'>Thanks again, = everyone&#8230;!<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#993366" face=3DArial><span style=3D'font-size:10.0pt;mso-bidi-font-size:11.0pt;font-family:"Arial","= sans-serif"; mso-bidi-font-family:"Times New = Roman";color:#993366'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#993366" face=3DArial><span style=3D'font-size:10.0pt;mso-bidi-font-size:11.0pt;font-family:"Arial","= sans-serif"; mso-bidi-font-family:"Times New = Roman";color:#993366'>-esr<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#993366" face=3DArial><span style=3D'font-size:10.0pt;mso-bidi-font-size:11.0pt;font-family:"Arial","= sans-serif"; mso-bidi-font-family:"Times New = Roman";color:#993366'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#993366" face=3DArial><span style=3D'font-size:10.0pt;mso-bidi-font-size:11.0pt;font-family:"Arial","= sans-serif"; mso-bidi-font-family:"Times New = Roman";color:#993366'><o:p>&nbsp;</o:p></span></font></p> <div> <div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt = 0in 0in 0in'> <p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:"Tahoma","sans-serif";mso-fareast-font-family:"Times New = Roman"; font-weight:bold'>From:</span></font></b><font size=3D2 = face=3DTahoma><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-f= ont-family: "Times New Roman"'> Eric Rose (erose) <br> <b><span style=3D'font-weight:bold'>Sent:</span></b> Wednesday, February = 11, 2009 9:37 AM<br> <b><span style=3D'font-weight:bold'>To:</span></b> Log4NET User<br> <b><span style=3D'font-weight:bold'>Subject:</span></b> RE: Change the = log level programmatically?<o:p></o:p></span></font></p> </div> </div> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;mso-bidi-font-size:11.0pt;font-family:"Arial","= sans-serif"; mso-bidi-font-family:"Times New = Roman";color:#1F497D'>Hi,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;mso-bidi-font-size:11.0pt;font-family:"Arial","= sans-serif"; mso-bidi-font-family:"Times New = Roman";color:#1F497D'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;mso-bidi-font-size:11.0pt;font-family:"Arial","= sans-serif"; mso-bidi-font-family:"Times New Roman";color:#1F497D'>I sent this = question a couple of weeks ago, but haven&#8217;t heard any feedback from = anyone&#8230;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;mso-bidi-font-size:11.0pt;font-family:"Arial","= sans-serif"; mso-bidi-font-family:"Times New Roman";color:#1F497D'>Could someone = offer some suggestions here, or let me know that this can&#8217;t be = done?!<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;mso-bidi-font-size:11.0pt;font-family:"Arial","= sans-serif"; mso-bidi-font-family:"Times New = Roman";color:#1F497D'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;mso-bidi-font-size:11.0pt;font-family:"Arial","= sans-serif"; mso-bidi-font-family:"Times New = Roman";color:#1F497D'>Thanks,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;mso-bidi-font-size:11.0pt;font-family:"Arial","= sans-serif"; mso-bidi-font-family:"Times New = Roman";color:#1F497D'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;mso-bidi-font-size:11.0pt;font-family:"Arial","= sans-serif"; mso-bidi-font-family:"Times New = Roman";color:#1F497D'>-esr<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" face=3DArial><span style=3D'font-size:10.0pt;mso-bidi-font-size:11.0pt;font-family:"Arial","= sans-serif"; mso-bidi-font-family:"Times New = Roman";color:#1F497D'><o:p>&nbsp;</o:p></span></font></p> <div> <div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt = 0in 0in 0in'> <p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:"Tahoma","sans-serif";mso-fareast-font-family:"Times New = Roman"; font-weight:bold'>From:</span></font></b><font size=3D2 = face=3DTahoma><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-f= ont-family: "Times New Roman"'> Eric Rose (erose) <br> <b><span style=3D'font-weight:bold'>Sent:</span></b> Friday, January 30, = 2009 10:22 PM<br> <b><span style=3D'font-weight:bold'>To:</span></b> [email protected]<br> <b><span style=3D'font-weight:bold'>Subject:</span></b> Change the log = level programmatically?<o:p></o:p></span></font></p> </div> </div> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; mso-bidi-font-size:11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-= family: "Times New Roman"'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; mso-bidi-font-size:11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-= family: "Times New Roman"'>Hopefully this is an easy question which has already = been asked (and answered) before.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; mso-bidi-font-size:11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-= family: "Times New Roman"'>I searched online, but could not find a reasonable answer&#8230;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; mso-bidi-font-size:11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-= family: "Times New Roman"'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; mso-bidi-font-size:11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-= family: "Times New Roman"'>Is there a way to change the default log level of a = logger via C# program control?<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; mso-bidi-font-size:11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-= family: "Times New Roman"'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; mso-bidi-font-size:11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-= family: "Times New Roman"'>I don&#8217;t need the setting to persist, so I = don&#8217;t want to have to change the XML config file and re-read = it.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; mso-bidi-font-size:11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-= family: "Times New Roman"'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; mso-bidi-font-size:11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-= family: "Times New Roman"'>In my C# code, I have a ILog variable that we use for = all logging, defined as follows:<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; mso-bidi-font-size:11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-= family: "Times New Roman"'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-layout-grid-align:none;text-autospace:none'><font size=3D2 color=3Dblue face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family: "Courier New";color:blue;mso-no-proof:yes'>private</span></font><font = size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt;font-family:"Courier New"; mso-no-proof:yes'> <font color=3Dblue><span = style=3D'color:blue'>static</span></font> <font color=3Dblue><span style=3D'color:blue'>readonly</span></font> = log4net.<font color=3D"#2b91af"><span style=3D'color:#2B91AF'>ILog</span></font> log = =3D log4net.<font color=3D"#2b91af"><span = style=3D'color:#2B91AF'>LogManager</span></font>.GetLogger(System.Reflect= ion.<font color=3D"#2b91af"><span = style=3D'color:#2B91AF'>MethodBase</span></font>.GetCurrentMethod().Decla= ringType);<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; mso-bidi-font-size:11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-= family: "Times New Roman"'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; mso-bidi-font-size:11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-= family: "Times New Roman"'>I&#8217;d like to be able to somehow be able to use = that &#8216;log&#8217; variable, and set it&#8217;s log level (INFO, WARN, = ERROR, OFF, ALL, etc) to whatever I want in the = code.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; mso-bidi-font-size:11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-= family: "Times New Roman"'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; mso-bidi-font-size:11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-= family: "Times New Roman"'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; mso-bidi-font-size:11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-= family: "Times New Roman"'>Any help or pointers to useful examples would be appreciated!<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; mso-bidi-font-size:11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-= family: "Times New Roman"'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; mso-bidi-font-size:11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-= family: "Times New Roman"'>Thanks,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; mso-bidi-font-size:11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-= family: "Times New Roman"'>-esr<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; mso-bidi-font-size:11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-= family: "Times New Roman"'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; mso-bidi-font-size:11.0pt;font-family:"Arial","sans-serif";mso-bidi-font-= family: "Times New Roman"'><o:p>&nbsp;</o:p></span></font></p> <table class=3DMsoNormalTable border=3D0 cellspacing=3D0 cellpadding=3D0 = width=3D400 = style=3D'width:300.0pt;mso-cellspacing:0in;mso-yfti-tbllook:1184;mso-padd= ing-alt: 0in 0in 0in 0in'> <tr = style=3D'mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes'> <td style=3D'padding:0in 0in 0in 0in'> <table class=3DMsoNormalTable border=3D0 cellspacing=3D0 = cellpadding=3D0 width=3D543 = style=3D'width:407.25pt;mso-cellspacing:0in;mso-yfti-tbllook:1184;mso-pad= ding-alt: 0in 0in 0in 0in'> <tr style=3D'mso-yfti-irow:0;mso-yfti-firstrow:yes'> <td colspan=3D3 style=3D'padding:0in 0in 0in 0in'> <p class=3DMsoNormal><font size=3D3 face=3DCalibri><span = style=3D'font-size:12.0pt; mso-fareast-font-family:"Times New Roman";mso-no-proof:yes'><img = width=3D110 height=3D73 id=3D"Picture_x0020_1" = src=3D"cid:[email protected]" alt=3D"cid:[email protected]"></span></font><font = size=3D3><span = style=3D'font-size:12.0pt;mso-no-proof:yes'><o:p></o:p></span></font></p>= </td> </tr> <tr style=3D'mso-yfti-irow:1;mso-yfti-lastrow:yes'> <td nowrap valign=3Dtop style=3D'padding:0in 0in 11.25pt .25in'> <p class=3DMsoNormal = style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt: auto'><b><font size=3D3 color=3D"#666666" face=3DCalibri><span = style=3D'font-size: 12.0pt;mso-bidi-font-family:Arial;color:#666666;font-weight:bold; mso-no-proof:yes'>Eric Rose</span></font></b><font size=3D3 = color=3D"#666666"><span style=3D'font-size:12.0pt;mso-bidi-font-family:Arial;color:#666666; mso-no-proof:yes'><br> <b><span style=3D'font-weight:bold'>Software Engineer</span></b><br> <b><span style=3D'font-weight:bold'>Product Development<br> </span></b><br> <a href=3D"mailto:[email protected]"><font color=3D"#666666"><span style=3D'mso-bidi-font-family:"Times New = Roman";color:#666666'>[email protected]</span></font></a><br> Phone :<b><span style=3D'font-weight:bold'>(978) = 936-1858</span></b><o:p></o:p></span></font></p> </td> <td nowrap valign=3Dtop style=3D'padding:0in 0in 7.5pt 15.0pt'> <p class=3DMsoNormal = style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt: auto'><b><font size=3D3 color=3D"#666666" face=3DCalibri><span = style=3D'font-size: 12.0pt;mso-bidi-font-family:Arial;color:#666666;font-weight:bold; mso-no-proof:yes'>Cisco Systems, Inc.</span></font></b><font = size=3D3 color=3D"#666666"><span = style=3D'font-size:12.0pt;mso-bidi-font-family:Arial; color:#666666;mso-no-proof:yes'><br> 500 Beaver Brook Road<br> Boxborough, MA 01719<br> <br> <a href=3D"http://www.cisco.com"><font color=3D"#666666"><span style=3D'mso-bidi-font-family:"Times New = Roman";color:#666666'>www.cisco.com</span></font></a><o:p></o:p></span></= font></p> </td> <td width=3D200 style=3D'width:150.0pt;padding:0in 0in 0in 0in'> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt; mso-fareast-font-family:"Times New = Roman";mso-no-proof:yes'>&nbsp;</span></font><font size=3D3><span = style=3D'font-size:12.0pt;mso-no-proof:yes'><o:p></o:p></span></font></p>= </td> </tr> </table> </td> </tr> </table> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt; mso-fareast-font-family:"Times New = Roman";mso-no-proof:yes'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DCalibri><span = style=3D'font-size:11.0pt'><o:p>&nbsp;</o:p></span></font></p> </div> </body> </html> ------_=_NextPart_002_01C98C89.00B1B5C1-- ------_=_NextPart_001_01C98C89.00B1B5C1 Content-Type: image/gif; name="image001.gif" Content-Transfer-Encoding: base64 Content-ID: <[email protected]> Content-Description: image001.gif Content-Location: image001.gif R0lGODlhbgBJAMQAAP///3OXqtapqq1MTcmRki9mgZkAALpqbMl/f6g5O/Xq6+vX2OTIyaMqK/nz 9OW/v5sVFsbV3Nfh5p0PD5kFBf78/P38/Pz6+v/+/rZdXpcKDKAhIvv396QvMO/g4Ny4uSH5BAAA AAAALAAAAABuAEkAQAX/ICCOZGmeaKqubOu+cCzPdG3feK6nkln8pp5LSPoVgrucsbQsAp1HKPM5 alapImtyy+16SwKDmJBCiBEWgMUsPgg8JMHEQCGTMACP2HDgiBQZYglfOQ+GDy2HhiqKKI2EkJGS k5SVlpeYmZpfWkpYmypEV1GjU6QjolmfnZ0AqZWvrj6fski2UiWxsZkcHxkNYg0IABUibAjFIgsH wAYNBwokvb8QEMIOJAwICQYQCQgLoCgLHWIdHwoKCwzExmdpGBwcxRgDYhkXAOTm6OoMfg4CiRGg wAOBOXzEKVzIsKHDhxAjSpxIsaKNCAEibMGo0WKLVjdAVgxQIICpEiRN/7JIeZIEy4WsVsk8BSAm TZstLb0csVMVzZ4AgALtJLQkRY4bM3pcupDAHgMduA1Q484AGmJO7x04kCCaCAIaxFCISmGAVwZP u+1pEK5hVgPYUBxLQ4yBvacfvlIwMCFuCbRi2I34sHfDQ0BpDUyFNxfABTZPGwgGACjsU7MiLLx9 ukEA08+gQ4seTbq06dOoU6tezbq169evd92QHRooDtujRdbQDZr3DN8RkeIaIXxFcZ8ljkPEOVwF 81ILlT9HTkL6zJwilE+aXvN68+43vUO3xL28eOrj0VdSbp0me6XV4acH8L6jRNw28IumXYM/7P8k PJLIISkIWIKBD3GwmcIYiwGAQWP6cJMWHCIoCEFamInwQTNPdYCIQwqUM8YCC3zgWTKNOXAAg14p kA9lIkJAAIkmYsPBim0YcsBeVjn0llcnQAjYHh14phdfQGazx2QAEGaAYQ2FMVAZ75BggTZ7HFCM HHQYWcICeyAjgormPASZYgN00CAAjV0gwAEEEACZlsbwCMEAaWb4wFMJJMDjBkwypAABErbRzoNn FFPBghnkRcKgCVimwQF+VSDAXXw1CuCmnHbq6aeghirqqDiEAAA7 ------_=_NextPart_001_01C98C89.00B1B5C1-- From [email protected] Wed Feb 11 23:58:12 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41930 invoked from network); 11 Feb 2009 23:58:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Feb 2009 23:58:12 -0000 Received: (qmail 31754 invoked by uid 500); 11 Feb 2009 23:58:11 -0000 Delivered-To: [email protected] Received: (qmail 31724 invoked by uid 500); 11 Feb 2009 23:58:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 31714 invoked by uid 99); 11 Feb 2009 23:58:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 15:58:11 -0800 X-ASF-Spam-Status: No, hits=-2.2 required=10.0 tests=MIME_QP_LONG_LINE,RCVD_IN_DNSWL_MED,SPF_PASS,WHOIS_NETSOLPR X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail190.messagelabs.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 23:58:01 +0000 X-VirusChecked: Checked X-Env-Sender: [email protected] X-Msg-Ref: server-15.tower-190.messagelabs.com!1234396655!64345470!2 X-StarScan-Version: 6.0.0; banners=bunnings.com.au,-,- X-Originating-IP: [161.129.204.104] Received: (qmail 27188 invoked from network); 11 Feb 2009 23:57:38 -0000 Received: from unknown (HELO mail.bunnings.com.au) (161.129.204.104) by server-15.tower-190.messagelabs.com with RC4-SHA encrypted SMTP; 11 Feb 2009 23:57:38 -0000 Received: from leopard-fe.internal.bunnings.com.au (161.129.204.104) by puffadder.bunnings.com.au (161.129.204.104) with Microsoft SMTP Server id 8.0.744.0; Thu, 12 Feb 2009 08:57:16 +0900 Received: from WA-MAIL.internal.bunnings.com.au ([161.129.204.104]) by leopard-fe.internal.bunnings.com.au with Microsoft SMTPSVC705-204-8822); Thu, 12 Feb 2009 08:57:41 +0900 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: RollingFileAppenders per Class Date: Thu, 12 Feb 2009 08:57:40 +0900 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: RollingFileAppenders per Class Thread-Index: AcmL6YdBABQ2Fw3ETwGG+KnSH0p28wAarTXAABQNWtA= From: Hadley Willan <[email protected]> To: Log4NET User <[email protected]> X-OriginalArrivalTime: 11 Feb 2009 23:57:41.0139 (UTC) FILETIME=[863C3E30:01C98CA4] X-Virus-Checked: Checked by ClamAV on apache.org Thanks=20Nick, That=20works=20a=20charm! :) -----Original=20Message----- From:=20Nick=20Durcholz=20[mailto:[email protected]]=20 Sent:=20Wednesday,=2011=20February=202009=2023:33 To:=20Log4NET=20User Subject:=20RE:=20RollingFileAppenders=20per=20Class I=20think=20what=20you=20want=20to=20do=20is=20use=20the=20logger=20heirar= chy=20for=20this. Something=20like=20the=20following=20will=20work: =20 <log4net=20debug=3D"true"> =20=20<appender=20name=3D"VerboseAppender"=20type=3D"..."> =20=20=20=20... =20=20</appender> =20=20<appender=20name=3D"DBAppender"=20type=3D"..."> =20=20=20=20... =20=20</appender> =20=20<appender=20name=3D"NamespaceClassApppender"=20type=3D"..."> =20=20=20=20... =20=20</appender> =20=20<root> =20=20=20=20<level=20value=3D"ALL"/> =20=20=20=20<appender-ref=20ref=3D"VerboseAppender"/> =20=20=20=20<appender-ref=20ref=3D"DBAppender"/> =20=20</root> =20=20<logger=20name=3D"MyNamespace.StaticClassX"=20additivity=3D"false"> =20=20=20=20<level=20value=3D"ALL"=20/> =20=20=20=20<appender-ref=20ref=3D"NamespaceClassAppender"=20/> =20=20</logger> </log4net> The=20key=20here=20is=20the=20additivity=3D"false"=20attribute=20on MyNamespace.StaticClassX=20logger.=20=20This=20indicates=20that=20the=20lo= gger=20doesn't inherit=20appenders=20and=20other=20settings=20from=20the=20root=20logger,= =20so=20messages sent=20to=20that=20logger=20are=20only=20sent=20to=20NamespaceClassAppende= r=20and=20not VerboseAppender=20or=20DBAppender. ________________________________ From:=20Hadley=20Willan=20[mailto:[email protected]]=20 Sent:=20Tuesday,=20February=2010,=202009=208:39=20PM To:=20Log4NET=20User Subject:=20RollingFileAppenders=20per=20Class Hi=20peoples, =20 I've=20used=20log4net=20for=20a=20while,=20but=20I've=20got=20the=20follow= ing=20problem. =20 I=20have=20a=20rolling=20file=20appender=20that=20takes=20everything,=20we= 'll=20call=20this the=20"VerboseAppender",=20easily=20configured.=20=20ALL=20levels=20go=20t= o=20it=20and everything=20gets=20logged. =20 I=20have=20an=20ADO.Net=20appender=20that=20takes=20ERROR,FATAL=20level=20= and=20logs=20to=20a stored=20procedure.=20We'll=20call=20this=20the=20"DBAppender" =20 But,=20we've=20got=20an=20annoying=20set=20of=20printer=20classes,=20that=20= tend=20to=20spew masses=20of=20errors=20sometimes.=20These=20live=20under=20MyNamespace.Sta= ticClassX. What=20we=20need=20to=20do=20is=20add=20a=20separate=20local=20rolling=20f= ile=20appender "NamespaceClassApppender",=20that=20takes=20only=20logs=20messages=20from MyNamespace.StaticClassX=20and=20logs=20them. Then=20I=20need=20exlcude=20anything=20for=20MyNamespace.StaticClassX=20fr= om=20the VerboseAppender=20and=20the=20DBAppender. =20 Is=20the=20best=20way=20to=20do=20this=20with=20Filters? =20 Basically=20each=20appender=20needs=20the=20following? VerboseAppender,=20IF=20you're=20NOT=20MyNamespace.StaticClassX=20=20log=20= it DBAppender,=20=20(same=20as=20above) NamespaceClassApppender,=20IF=20you=20ARE=20MyNamespace.StaticClassX=20log= =20it, otherwise=20ignore=20it. =20 Thanks=20in=20advance. Hadley ************************************************************************ Bunnings=20Legal=20Disclaimer: 1)=20This=20email=20is=20confidential=20and=20may=20contain=20legally=20pr= ivileged information.=20If=20you=20are=20not=20the=20intended=20recipient,=20you=20= must=20not disclose=20or=20use=20the=20information=20contained=20in=20it.=20If=20you=20= have=20received this=20email=20in=20error,=20please=20notify=20us=20immediately=20by=20ret= urn=20email=20and delete=20the=20document. 2)=20All=20emails=20sent=20to=20and=20sent=20from=20Bunnings=20Group=20Lim= ited. are=20scanned=20for=20content.=20Any=20material=20deemed=20to=20contain=20= inappropriate subject=20matter=20will=20be=20reported=20to=20the=20email=20administrator= =20of=20all parties=20concerned. ************************************************************************ ************************************************************************ Bunnings=20Legal=20Disclaimer: 1)=20=20=20=20=20This=20email=20is=20confidential=20and=20may=20contain=20= legally=20privileged information.=20=20If=20you=20are=20not=20the=20intended=20recipient,=20you= =20must=20not disclose=20or=20use=20the=20information=20contained=20in=20it.=20=20If=20y= ou=20have=20received this=20email=20in=20error,=20please=20notify=20us=20immediately=20by=20ret= urn=20email=20and delete=20the=20document. 2)=20=20=20=20=20All=20emails=20sent=20to=20and=20sent=20from=20Bunnings=20= Group=20Limited. are=20scanned=20for=20content.=20=20Any=20material=20deemed=20to=20contain= =20inappropriate subject=20matter=20will=20be=20reported=20to=20the=20email=20administrator= =20of=20all parties=20concerned. ************************************************************************ From [email protected] Fri Feb 13 16:13:35 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28251 invoked from network); 13 Feb 2009 16:13:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Feb 2009 16:13:35 -0000 Received: (qmail 15876 invoked by uid 500); 13 Feb 2009 16:13:34 -0000 Delivered-To: [email protected] Received: (qmail 15748 invoked by uid 500); 13 Feb 2009 16:13:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 15739 invoked by uid 99); 13 Feb 2009 16:13:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Feb 2009 08:13:33 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO oisw0002.owensill.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Feb 2009 16:13:26 +0000 Received: from l29dsg01.na.o-i.intra (l29ws100.na.o-i.intra [161.129.204.104]) by oisw0002.owensill.com with ESMTP id n1DG9PfL081010 for <[email protected]>; Fri, 13 Feb 2009 11:09:26 -0500 (EST) In-Reply-To: <[email protected]> Subject: AppendToFile with RollingFileAppender To: "Log4NET User" <[email protected]> X-Mailer: Lotus Notes Release 6.5.6 March 06, 2007 Message-ID: <[email protected]> From: [email protected] Date: Fri, 13 Feb 2009 11:10:51 -0500 X-MIMETrack: Serialize by Router on L29DSG01/SVR/O-I(Release 7.0.3|September 26, 2007) at 02/13/2009 11:12:07 AM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org Hi All, I'm using a RollingFileAppender to maintain a daily log file for my application (ie it rolls the files once per day of week). Its basically working fine, however it the rollling isn't working quite as I expected. My goal is append to only have 1 day's worth of data in each file with anything older than a week being overwritten. What I'm currently seeing is that today's Friday file is just being appended to last week's Friday file. I've tried setting AppendToFile = False, but that will also overwrite the file when the app is restarted (undesired). Any suggestions? Thanks, Dan Here is the relevant .config info: <appender name="DailyRollingLogFileAppender" type="log4net.Appender.RollingFileAppender"> <file value="C:\Logs\Logfile" /> <appendToFile value="true" /> <StaticLogFileName value="false" /> <rollingStyle value="Date" /> <datePattern value="_ddd.lo\g" /> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%date [%thread] %-5level %logger - %message%newline" /> </layout> </appender> From [email protected] Tue Feb 17 21:51:50 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 24860 invoked from network); 17 Feb 2009 21:51:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Feb 2009 21:51:50 -0000 Received: (qmail 49432 invoked by uid 500); 17 Feb 2009 21:51:48 -0000 Delivered-To: [email protected] Received: (qmail 49364 invoked by uid 500); 17 Feb 2009 21:51:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 49332 invoked by uid 99); 17 Feb 2009 21:51:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Feb 2009 13:51:47 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO oisw0002.owensill.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Feb 2009 21:51:40 +0000 Received: from l29dsg01.na.o-i.intra (l29ws100.na.o-i.intra [161.129.204.104]) by oisw0002.owensill.com with ESMTP id n1HLlPBp021195 for <[email protected]>; Tue, 17 Feb 2009 16:47:25 -0500 (EST) In-Reply-To: <[email protected]> Subject: Programmatically change file path for appender with additivity = false To: "Log4NET User" <[email protected]> X-Mailer: Lotus Notes Release 6.5.6 March 06, 2007 Message-ID: <[email protected]> From: [email protected] Date: Tue, 17 Feb 2009 16:49:03 -0500 X-MIMETrack: Serialize by Router on L29DSG01/SVR/O-I(Release 7.0.3|September 26, 2007) at 02/17/2009 04:50:21 PM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org Hi, I'm trying to programmatically change the log file destination for a logger using the following code found on this list: public static void UpdateFileAppenderPaths(string theNewPath) { log4net.Repository.Hierarchy.Hierarchy h = (log4net.Repository.Hierarchy.Hierarchy) log4net.LogManager.GetRepository(); foreach (IAppender a in h.Root.Appenders) { if (a is FileAppender) { FileAppender fa = (FileAppender) a; fa.File = theNewPath; fa.ActivateOptions(); } } } However, I've found that my logger doesn't show up in the Hierarchy returned. My best guess is that it is because it has additivity = false and is therefore outside of the h.Root structure. Can someone confirm this guess? If I'm correct, can you also tell me how to gain access to the appender to change the file path? Thanks, Dan From [email protected] Thu Feb 19 01:48:19 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 402 invoked from network); 19 Feb 2009 01:48:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Feb 2009 01:48:19 -0000 Received: (qmail 77207 invoked by uid 500); 19 Feb 2009 01:48:18 -0000 Delivered-To: [email protected] Received: (qmail 77182 invoked by uid 500); 19 Feb 2009 01:48:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 77172 invoked by uid 99); 19 Feb 2009 01:48:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Feb 2009 17:48:18 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO yw-out-1718.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Feb 2009 01:48:11 +0000 Received: by yw-out-1718.google.com with SMTP id 4so71964ywq.40 for <[email protected]>; Wed, 18 Feb 2009 17:47:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=4Qc2LL/BHGecZVxTI+W8ikiEkf4Jy6CGth9ERPfowz4=; b=X5c9zT8SpLK58chUniUcn3MDCs3y+nLfIloCT+QEBxXS3kGon0ICf0/NmNpStBsBam FcxIenS3sz6w429AkCHbX4Ed01Rn8nJnO666u2GpyXexQfAcBt3apu3bsh4qf+MEtcFu 2XmSl51EzJXATb5vbD5nnw3jkOZXxGd2U0KOE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=V+R2WSYrkVMGqAivHDVmJp8rexGG5mBFHF+NN+kbH6btm76NuqqBOoWyBvnEhnIQW8 T75bxr8bEgV86cirqzBpfInrXP4DriInzI7NzRrYY/j7xEzZYTU1mGEb9ZY+HXUILXj7 KK/YR8iWp/75ZxzUmxzQF3ef5fze85iIHcNtI= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id t16mr87903aga.8.1235008070981; Wed, 18 Feb 2009 17:47:50 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> Date: Wed, 18 Feb 2009 22:47:50 -0300 Message-ID: <[email protected]> Subject: Download file is corrupted From: BRUNO FRANK SILVA CORDEIRO <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=00163630f33d5d975b04633bb9ea X-Virus-Checked: Checked by ClamAV on apache.org --00163630f33d5d975b04633bb9ea Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi There, I try to download the file, but this file can be corrupted, i try to chage browser to download the file (may be its getting cache), and i try winrar, winzip, 7-zip e more. -- Bruno FrankCordeiro [email protected] --00163630f33d5d975b04633bb9ea Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div class=3D"gmail_quote">Hi There,<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I try to download the file, but this file can= be corrupted, i try to chage browser to download the file (may be its gett= ing cache), and i try winrar, winzip, 7-zip e more.<br> <br> </div><br><br>--<br>Bruno FrankCordeiro<br><a href=3D"mailto:bfscordeiro@gm= ail.com">[email protected]</a><br> --00163630f33d5d975b04633bb9ea-- From [email protected] Thu Feb 19 05:19:49 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65394 invoked from network); 19 Feb 2009 05:19:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Feb 2009 05:19:49 -0000 Received: (qmail 9760 invoked by uid 500); 19 Feb 2009 05:19:48 -0000 Delivered-To: [email protected] Received: (qmail 9733 invoked by uid 500); 19 Feb 2009 05:19:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 9724 invoked by uid 99); 19 Feb 2009 05:19:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Feb 2009 21:19:48 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO morta.lunarservers.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Feb 2009 05:19:39 +0000 Received: from [161.129.204.104] (helo=IVORYNEW) by morta.lunarservers.com with esmtpa (Exim 4.69) (envelope-from <[email protected]>) id 1La1JY-0001GS-Ug for [email protected]; Wed, 18 Feb 2009 21:19:13 -0800 Message-ID: <024e01c99251$a3498340$6501a8c0@IVORYNEW> Reply-To: <[email protected]> From: <[email protected]> To: <[email protected]> References: <[email protected]> <[email protected]> Subject: Working with C++ Date: Thu, 19 Feb 2009 07:19:24 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_024B_01C99262.6442CEC0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - morta.lunarservers.com X-AntiAbuse: Original Domain - logging.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - triplebit.com X-Source: X-Source-Args: X-Source-Dir: X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------=_NextPart_000_024B_01C99262.6442CEC0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have a mixed project with C# and C++. I use happily the logger in C# = but don't know how to use it from C++. Is there any sample for that? Regards I. Lesher ------=_NextPart_000_024B_01C99262.6442CEC0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2900.2180" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#00ffff> <DIV><FONT size=3D2>I have a mixed project with C# and C++. I use = happily the=20 logger in C# but don't know how to use it from C++.</FONT></DIV> <DIV><FONT size=3D2>Is there any sample for that?</FONT></DIV> <DIV><FONT size=3D2>Regards</FONT></DIV> <DIV><FONT size=3D2>I. Lesher</FONT></DIV></BODY></HTML> ------=_NextPart_000_024B_01C99262.6442CEC0-- From [email protected] Thu Feb 19 06:32:27 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7025 invoked from network); 19 Feb 2009 06:32:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Feb 2009 06:32:27 -0000 Received: (qmail 73628 invoked by uid 500); 19 Feb 2009 06:32:26 -0000 Delivered-To: [email protected] Received: (qmail 73601 invoked by uid 500); 19 Feb 2009 06:32:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 73592 invoked by uid 99); 19 Feb 2009 06:32:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Feb 2009 22:32:26 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO main.hasam.cz) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Feb 2009 06:32:18 +0000 Subject: RE: Working with C++ MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C9925B.C3770823" Content-class: urn:content-classes:message Date: Thu, 19 Feb 2009 07:31:57 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: <[email protected]> In-Reply-To: <024e01c99251$a3498340$6501a8c0@IVORYNEW> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Working with C++ Thread-Index: AcmSUbEEeGove8IES3+yrDknkygfMQACfewg References: <[email protected]> <[email protected]> <024e01c99251$a3498340$6501a8c0@IVORYNEW> From: "Radovan Raszka" <[email protected]> To: "Log4NET User" <[email protected]>, <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------_=_NextPart_001_01C9925B.C3770823 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Look at http://logging.apache.org/log4cxx/index.html =20 Radovan Raszka ________________________________ Od: [email protected] [mailto:[email protected]]=20 Odesl=E1no: 19. =FAnora 2009 6:19 Komu: [email protected] P=F8edm=ECt: Working with C++ I have a mixed project with C# and C++. I use happily the logger in C# = but don't know how to use it from C++. Is there any sample for that? Regards I. Lesher ------_=_NextPart_001_01C9925B.C3770823 Content-Type: text/html; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-2"> <META content=3D"MSHTML 6.00.6000.16809" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#00ffff> <DIV dir=3Dltr align=3Dleft><SPAN class=3D719123106-19022009><FONT = face=3DArial=20 color=3D#0000ff size=3D2>Look at <A=20 href=3D"http://logging.apache.org/log4cxx/index.html">http://logging.apac= he.org/log4cxx/index.html</A></FONT></SPAN></DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D719123106-19022009><FONT = face=3DArial=20 color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D719123106-19022009><FONT = face=3DArial=20 color=3D#0000ff size=3D2>Radovan Raszka</FONT></SPAN></DIV><BR> <DIV class=3DOutlookMessageHeader lang=3Dcs dir=3Dltr align=3Dleft> <HR tabIndex=3D-1> <FONT face=3DTahoma size=3D2><B>Od:</B> [email protected] = [mailto:[email protected]]=20 <BR><B>Odesl=E1no:</B> 19. =FAnora 2009 6:19<BR><B>Komu:</B>=20 [email protected]<BR><B>P=F8edm=ECt:</B> Working with=20 C++<BR></FONT><BR></DIV> <DIV></DIV> <DIV><FONT size=3D2>I have a mixed project with C# and C++. I use = happily the=20 logger in C# but don't know how to use it from C++.</FONT></DIV> <DIV><FONT size=3D2>Is there any sample for that?</FONT></DIV> <DIV><FONT size=3D2>Regards</FONT></DIV> <DIV><FONT size=3D2>I. Lesher</FONT></DIV></BODY></HTML> ------_=_NextPart_001_01C9925B.C3770823-- From [email protected] Thu Feb 19 11:56:08 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 32203 invoked from network); 19 Feb 2009 11:56:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Feb 2009 11:56:08 -0000 Received: (qmail 4955 invoked by uid 500); 19 Feb 2009 11:56:07 -0000 Delivered-To: [email protected] Received: (qmail 4927 invoked by uid 500); 19 Feb 2009 11:56:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 4916 invoked by uid 99); 19 Feb 2009 11:56:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Feb 2009 03:56:06 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.itcampus.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Feb 2009 11:55:58 +0000 Received: from mail.itcampus.de (161.129.204.104) by mail.itcampus.de (MlfMTA v3.2r9) id hjl4cs0171so for <[email protected]>; Thu, 19 Feb 2009 11:55:38 +0000 (envelope-from <[email protected]>) Received: from mail.itcampus.de ([161.129.204.104]) by mail.itcampus.de (SonicWALL 161.129.204.1041) with ESMTP; Thu, 19 Feb 2009 11:55:38 +0000 From: "Haufe, Toni" <[email protected]> To: "[email protected]" <[email protected]> Date: Thu, 19 Feb 2009 12:55:36 +0100 Subject: How to keep only logs of the last 5 days? Thread-Topic: How to keep only logs of the last 5 days? Thread-Index: AcmSiPpA9SkDmfRLQQ2BQvN3+kAZFg== Message-ID: <[email protected]> Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE, en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mlf-Version: 161.129.204.1041 X-Mlf-UniqueId: o200902191155380000824 X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I configured log4net using a RollingFileAppender that rolls the log file on= a daily basis. So I've tried to use rollingStyle=3DDate. (Or Composite). But that keeps me= at least 1 file a day. How can I configure log4net to keep only log files of the last 5 days? (Old= er log files should be deleted like using "rollingStyle=3DSize" and maxSize= RollBackups =3D 5) Is there a way to achieve that? Thanks in advance, Toni From [email protected] Fri Feb 20 19:55:10 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 39039 invoked from network); 20 Feb 2009 19:55:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Feb 2009 19:55:10 -0000 Received: (qmail 46227 invoked by uid 500); 20 Feb 2009 19:55:08 -0000 Delivered-To: [email protected] Received: (qmail 46205 invoked by uid 500); 20 Feb 2009 19:55:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 46196 invoked by uid 99); 20 Feb 2009 19:55:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Feb 2009 11:55:08 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO morta.lunarservers.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Feb 2009 19:55:00 +0000 Received: from [161.129.204.104] (helo=IVORYNEW) by morta.lunarservers.com with esmtpa (Exim 4.69) (envelope-from <[email protected]>) id 1LabSH-00044j-Q3 for [email protected]; Fri, 20 Feb 2009 11:54:38 -0800 Message-ID: <033901c99395$18cc4460$6501a8c0@IVORYNEW> Reply-To: <[email protected]> From: <[email protected]> To: <[email protected]> References: <[email protected]> <[email protected]> <024e01c99251$a3498340$6501a8c0@IVORYNEW> <[email protected]> Subject: Re: Working with C++ Date: Fri, 20 Feb 2009 21:24:43 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_032A_01C993A1.A588E640" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - morta.lunarservers.com X-AntiAbuse: Original Domain - logging.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - triplebit.com X-Source: X-Source-Args: X-Source-Dir: X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------=_NextPart_000_032A_01C993A1.A588E640 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Thanks, But I am already using log4net in my solution in the C# projects. What = exactly do I have to do to integrate the C++ logger? Can you or somebody else elaborate please(the documentation is quite = difficult for me)? Regards I. lesher ----- Original Message -----=20 From: Radovan Raszka=20 To: Log4NET User ; [email protected]=20 Sent: Thursday, February 19, 2009 8:31 AM Subject: RE: Working with C++ Look at http://logging.apache.org/log4cxx/index.html Radovan Raszka -------------------------------------------------------------------------= ----- Od: [email protected] [mailto:[email protected]]=20 Odesl=E1no: 19. =FAnora 2009 6:19 Komu: [email protected] P=F8edm=ECt: Working with C++ I have a mixed project with C# and C++. I use happily the logger in C# = but don't know how to use it from C++. Is there any sample for that? Regards I. Lesher ------=_NextPart_000_032A_01C993A1.A588E640 Content-Type: text/html; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-2"> <META content=3D"MSHTML 6.00.2900.2180" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#00ffff> <DIV><FONT size=3D2>Thanks,</FONT></DIV> <DIV><FONT size=3D2>But I am already using log4net in my solution in the = C#=20 projects. What exactly do I have to do to integrate the C++ = logger?</FONT></DIV> <DIV><FONT size=3D2>Can you or somebody else elaborate please(the = documentation is=20 quite difficult for me)?</FONT></DIV> <DIV><FONT size=3D2>Regards</FONT></DIV> <DIV><FONT size=3D2>I. lesher</FONT></DIV> <BLOCKQUOTE dir=3Dltr=20 style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; = BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV> <DIV=20 style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: = black"><B>From:</B>=20 <A [email protected] href=3D"mailto:[email protected]">Radovan = Raszka</A>=20 </DIV> <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20 [email protected]=20 href=3D"mailto:[email protected]">Log4NET User</A> ; <A=20 [email protected] = href=3D"mailto:[email protected]">[email protected]</A>=20 </DIV> <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Thursday, February 19, = 2009 8:31=20 AM</DIV> <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> RE: Working with = C++</DIV> <DIV><BR></DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D719123106-19022009><FONT = face=3DArial=20 color=3D#0000ff size=3D2>Look at <A=20 = href=3D"http://logging.apache.org/log4cxx/index.html">http://logging.apac= he.org/log4cxx/index.html</A></FONT></SPAN></DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D719123106-19022009><FONT = face=3DArial=20 color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D719123106-19022009><FONT = face=3DArial=20 color=3D#0000ff size=3D2>Radovan Raszka</FONT></SPAN></DIV><BR> <DIV class=3DOutlookMessageHeader lang=3Dcs dir=3Dltr align=3Dleft> <HR tabIndex=3D-1> <FONT face=3DTahoma size=3D2><B>Od:</B> <A=20 href=3D"mailto:[email protected]">[email protected]</A>=20 [mailto:[email protected]] <BR><B>Odesl=E1no:</B> 19. =FAnora 2009=20 6:19<BR><B>Komu:</B> <A=20 = href=3D"mailto:[email protected]">[email protected]= he.org</A><BR><B>P=F8edm=ECt:</B>=20 Working with C++<BR></FONT><BR></DIV> <DIV></DIV> <DIV><FONT size=3D2>I have a mixed project with C# and C++. I use = happily the=20 logger in C# but don't know how to use it from C++.</FONT></DIV> <DIV><FONT size=3D2>Is there any sample for that?</FONT></DIV> <DIV><FONT size=3D2>Regards</FONT></DIV> <DIV><FONT size=3D2>I. Lesher</FONT></DIV></BLOCKQUOTE></BODY></HTML> ------=_NextPart_000_032A_01C993A1.A588E640-- From [email protected] Fri Feb 20 20:42:53 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 50420 invoked from network); 20 Feb 2009 20:42:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Feb 2009 20:42:53 -0000 Received: (qmail 92387 invoked by uid 500); 20 Feb 2009 20:42:52 -0000 Delivered-To: [email protected] Received: (qmail 92363 invoked by uid 500); 20 Feb 2009 20:42:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 92354 invoked by uid 99); 20 Feb 2009 20:42:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Feb 2009 12:42:52 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO oi-fw.owens-ill.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Feb 2009 20:42:43 +0000 Received: from OSGDSG01.na.o-i.intra (osgws151.na.o-i.intra [161.129.204.104]) by oi-fw.owens-ill.com with ESMTP id n1KKfjjl014267 for <[email protected]>; Fri, 20 Feb 2009 15:42:15 -0500 (EST) In-Reply-To: <033901c99395$18cc4460$6501a8c0@IVORYNEW> Subject: Re: Working with C++ To: "Log4NET User" <[email protected]> X-Mailer: Lotus Notes Release 6.5.6 March 06, 2007 Message-ID: <[email protected]> From: [email protected] Date: Fri, 20 Feb 2009 15:37:18 -0500 X-MIMETrack: Serialize by Router on OSGDSG01/SVR/O-I(Release 7.0.3|September 26, 2007) at 02/20/2009 03:42:15 PM MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-2 Content-transfer-encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org I built a COM wrapper using the code in the message below as a model: http://marc.info/?l=3Dlog4net-user&m=3D111281577717078&w=3D2 This is working fine for me from Borland C++ (and VB6 for that matter).= As long as you know how to reference COM objects from your flavor of C++, I think it should work f= or you as well. Regards, Dan = <[email protected]> = = 02/20/2009 02:24 PM = To <log4net-user@loggin= g.apache.org> = cc Please respond to = "Log4NET User" = Subject <[email protected]. Re: Working with C++= org> = = = = = = Thanks, But I am already using log4net in my solution in the C# projects. What = exactly do I have to do to integrate the C++ logger? Can you or somebody else elaborate please(the documentation is quite di= fficult for me)? Regards I. lesher ----- Original Message ----- From: Radovan Raszka To: Log4NET User ; [email protected] Sent: Thursday, February 19, 2009 8:31 AM Subject: RE: Working with C++ Look at http://logging.apache.org/log4cxx/index.html Radovan Raszka Od: [email protected] [mailto:[email protected]] Odesl=E1no: 19. =FAnora 2009 6:19 Komu: [email protected] P=F8edm=ECt: Working with C++ I have a mixed project with C# and C++. I use happily the logger in C#= but don't know how to use it from C++. Is there any sample for that? Regards I. Lesher= From [email protected] Mon Feb 23 21:19:06 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22695 invoked from network); 23 Feb 2009 21:19:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Feb 2009 21:19:06 -0000 Received: (qmail 6722 invoked by uid 500); 23 Feb 2009 21:19:04 -0000 Delivered-To: [email protected] Received: (qmail 6702 invoked by uid 500); 23 Feb 2009 21:19:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 6693 invoked by uid 99); 23 Feb 2009 21:19:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Feb 2009 13:19:04 -0800 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_HOTMAIL_RCVD2,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Feb 2009 21:18:56 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1LbiCB-0005BU-Q8 for [email protected]; Mon, 23 Feb 2009 13:18:35 -0800 Message-ID: <[email protected]> Date: Mon, 23 Feb 2009 13:18:35 -0800 (PST) From: rodchar <[email protected]> To: [email protected] Subject: where is threadcontext MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org hi all, i was looking at NDC in the log4net SDK and read the following: The NDC is deprecated and has been replaced by the Stacks. The current NDC implementation forwards to the ThreadContext.Stacks But i don't see it when i inspect the log4net namespace. i'm a noob to log4net please go easy. thanks, rodchar -- View this message in context: http://www.nabble.com/where-is-threadcontext-tp22170366p22170366.html Sent from the Log4net - Users mailing list [email protected]. From [email protected] Mon Feb 23 22:31:29 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78583 invoked from network); 23 Feb 2009 22:31:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Feb 2009 22:31:29 -0000 Received: (qmail 90204 invoked by uid 500); 23 Feb 2009 22:31:28 -0000 Delivered-To: [email protected] Received: (qmail 90177 invoked by uid 500); 23 Feb 2009 22:31:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 90168 invoked by uid 99); 23 Feb 2009 22:31:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Feb 2009 14:31:28 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO web30505.mail.mud.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 23 Feb 2009 22:31:19 +0000 Received: (qmail 37372 invoked by uid 60001); 23 Feb 2009 22:30:58 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=x4b1Zem5XqZVr6XxtfiwAny95v9fAr6s4zqcW8iB7Ib9gUW/k5lzKNiVdz5CJ06WZ9rWMEd2D6/zJywnAOGjEwUg/qHkNoJdOVh7gGg73DWL28gPv0E0c4rMoeomhK3DiF8aZRl8EipWCTTFrf6HFOC8o3WWChypa4fYFbe9Pbg=; X-YMail-OSG: NkpAgQYVM1l3oAv_1DdqfRYg00rCrMEI.Jf12475tNeFoEVKfdMEXAkCmgSihkZFA91ASFF4_HknRDM11AsEp13.a7k.unEfyZvvPncy_vYN7fXBUn30LYY5XCIxf_BrppfINHhzOBSPBwOt_6u6S.LcWAu5dhR65J6Q9c80D7Z_Ih8g7sb3PaFRsYkMyCXQJIvBLBr8ZdVKcPmDuIx.3aiOnNWQBcy3WcA- Received: from [161.129.204.104] by web30505.mail.mud.yahoo.com via HTTP; Mon, 23 Feb 2009 14:30:57 PST X-Mailer: YahooMailRC/1155.45 YahooMailWebService/0.7.260.1 References: <[email protected]> Date: Mon, 23 Feb 2009 14:30:57 -0800 (PST) From: Ron Grabowski <[email protected]> Subject: Re: where is threadcontext To: Log4NET User <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org http://logging.apache.org/log4net/release/manual/contexts.html using(log4net.ThreadContext.Stacks["NDC"].Push("context")) { log.Info("Message"); } ----- Original Message ---- From: rodchar <[email protected]> To: [email protected] Sent: Monday, February 23, 2009 4:18:35 PM Subject: where is threadcontext hi all, i was looking at NDC in the log4net SDK and read the following: The NDC is deprecated and has been replaced by the Stacks. The current NDC implementation forwards to the ThreadContext.Stacks But i don't see it when i inspect the log4net namespace. i'm a noob to log4net please go easy. thanks, rodchar -- View this message in context: http://www.nabble.com/where-is-threadcontext-tp22170366p22170366.html Sent from the Log4net - Users mailing list [email protected]. From [email protected] Tue Feb 24 00:46:45 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20907 invoked from network); 24 Feb 2009 00:46:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Feb 2009 00:46:45 -0000 Received: (qmail 48869 invoked by uid 500); 24 Feb 2009 00:46:44 -0000 Delivered-To: [email protected] Received: (qmail 48844 invoked by uid 500); 24 Feb 2009 00:46:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 48835 invoked by uid 99); 24 Feb 2009 00:46:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Feb 2009 16:46:44 -0800 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_HOTMAIL_RCVD2,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Feb 2009 00:46:35 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1LblR9-0002O4-06 for [email protected]; Mon, 23 Feb 2009 16:46:15 -0800 Message-ID: <[email protected]> Date: Mon, 23 Feb 2009 16:46:14 -0800 (PST) From: rodchar <[email protected]> To: [email protected] Subject: Re: where is threadcontext In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org which version should i be using? we're using asp.net 2.0 fx Ron Grabowski wrote: > > http://logging.apache.org/log4net/release/manual/contexts.html > > using(log4net.ThreadContext.Stacks["NDC"].Push("context")) > { > log.Info("Message"); > } > > ----- Original Message ---- > From: rodchar <[email protected]> > To: [email protected] > Sent: Monday, February 23, 2009 4:18:35 PM > Subject: where is threadcontext > > > hi all, > > i was looking at NDC in the log4net SDK and read the following: > > The NDC is deprecated and has been replaced by the Stacks. The current NDC > implementation forwards to the ThreadContext.Stacks > > But i don't see it when i inspect the log4net namespace. > > i'm a noob to log4net please go easy. > > thanks, > rodchar > -- > View this message in context: > http://www.nabble.com/where-is-threadcontext-tp22170366p22170366.html > Sent from the Log4net - Users mailing list [email protected]. > > -- View this message in context: http://www.nabble.com/where-is-threadcontext-tp22170366p22173638.html Sent from the Log4net - Users mailing list [email protected]. From [email protected] Tue Feb 24 00:47:24 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21232 invoked from network); 24 Feb 2009 00:47:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Feb 2009 00:47:24 -0000 Received: (qmail 49555 invoked by uid 500); 24 Feb 2009 00:47:23 -0000 Delivered-To: [email protected] Received: (qmail 49526 invoked by uid 500); 24 Feb 2009 00:47:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 49517 invoked by uid 99); 24 Feb 2009 00:47:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Feb 2009 16:47:23 -0800 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_HOTMAIL_RCVD2,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Feb 2009 00:47:13 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1LblRk-0002QM-Pm for [email protected]; Mon, 23 Feb 2009 16:46:52 -0800 Message-ID: <[email protected]> Date: Mon, 23 Feb 2009 16:46:52 -0800 (PST) From: rodchar <[email protected]> To: [email protected] Subject: Re: where is threadcontext MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org which version of log4net should we be using? we're using asp.net 2.0 fx Ron Grabowski wrote: > > http://logging.apache.org/log4net/release/manual/contexts.html > > using(log4net.ThreadContext.Stacks["NDC"].Push("context")) > { > log.Info("Message"); > } > > ----- Original Message ---- > From: rodchar <[email protected]> > To: [email protected] > Sent: Monday, February 23, 2009 4:18:35 PM > Subject: where is threadcontext > > > hi all, > > i was looking at NDC in the log4net SDK and read the following: > > The NDC is deprecated and has been replaced by the Stacks. The current NDC > implementation forwards to the ThreadContext.Stacks > > But i don't see it when i inspect the log4net namespace. > > i'm a noob to log4net please go easy. > > thanks, > rodchar > -- > View this message in context: > http://www.nabble.com/where-is-threadcontext-tp22170366p22170366.html > Sent from the Log4net - Users mailing list [email protected]. > > -- View this message in context: http://www.nabble.com/where-is-threadcontext-tp22170366p22173638.html Sent from the Log4net - Users mailing list [email protected]. From [email protected] Tue Feb 24 01:07:51 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25561 invoked from network); 24 Feb 2009 01:07:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Feb 2009 01:07:51 -0000 Received: (qmail 67217 invoked by uid 500); 24 Feb 2009 01:07:50 -0000 Delivered-To: [email protected] Received: (qmail 67191 invoked by uid 500); 24 Feb 2009 01:07:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 67182 invoked by uid 99); 24 Feb 2009 01:07:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Feb 2009 17:07:50 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO web30504.mail.mud.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 24 Feb 2009 01:07:40 +0000 Received: (qmail 92674 invoked by uid 60001); 24 Feb 2009 01:07:18 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=osRO2xwLr7uzutJdvWWriGk7FE9abLk///j9cSnltYMFSNqmpkcwsb378uS2Ox0qkUOwMj6lin7ILME49u7BCk04Xj6nMOhMbHiuEX7jOcLkryDAxEGOMUBLUij55jtmj7Kv8ER3oBVS1b3PEfYkFGftHiH6m5YkeiV++Ikp4+Q=; X-YMail-OSG: NB9svuAVM1lnq30PWUjMXs__NUYVpicq1cT2oxT5oPWHpLyhEiyql3soUg9AnNMS1JpI.nhsM_eo7Z9GewWOgYbu7NqD4L9JT4ze6QCcvdCf73hB30WRy7hvEJ8GFjGN5EsziLkInaKMI3Sw9t_C1jTLJWH7TixQtpCSybRs1z_kgrQxaq_lxrDG1a46t6R7cUOPhkq7CsugsyE2v5tVlsgPSWoHryICjC4- Received: from [161.129.204.104] by web30504.mail.mud.yahoo.com via HTTP; Mon, 23 Feb 2009 17:07:18 PST X-Mailer: YahooMailRC/1155.45 YahooMailWebService/0.7.260.1 References: <[email protected]> Date: Mon, 23 Feb 2009 17:07:18 -0800 (PST) From: Ron Grabowski <[email protected]> Subject: Re: where is threadcontext To: Log4NET User <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org The link I posted is for the latest version of log4net: http://logging.apache.org/log4net/download.html ----- Original Message ---- From: rodchar <[email protected]> To: [email protected] Sent: Monday, February 23, 2009 7:46:52 PM Subject: Re: where is threadcontext which version of log4net should we be using? we're using asp.net 2.0 fx Ron Grabowski wrote: > > http://logging.apache.org/log4net/release/manual/contexts.html > > using(log4net.ThreadContext.Stacks["NDC"].Push("context")) > { > log.Info("Message"); > } > > ----- Original Message ---- > From: rodchar <[email protected]> > To: [email protected] > Sent: Monday, February 23, 2009 4:18:35 PM > Subject: where is threadcontext > > > hi all, > > i was looking at NDC in the log4net SDK and read the following: > > The NDC is deprecated and has been replaced by the Stacks. The current NDC > implementation forwards to the ThreadContext.Stacks > > But i don't see it when i inspect the log4net namespace. > > i'm a noob to log4net please go easy. > > thanks, > rodchar > -- > View this message in context: > http://www.nabble.com/where-is-threadcontext-tp22170366p22170366.html > Sent from the Log4net - Users mailing list [email protected]. > > -- View this message in context: http://www.nabble.com/where-is-threadcontext-tp22170366p22173638.html Sent from the Log4net - Users mailing list [email protected]. From [email protected] Tue Feb 24 18:42:04 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8618 invoked from network); 24 Feb 2009 18:42:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Feb 2009 18:42:04 -0000 Received: (qmail 31418 invoked by uid 500); 24 Feb 2009 18:42:03 -0000 Delivered-To: [email protected] Received: (qmail 31016 invoked by uid 500); 24 Feb 2009 18:42:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 31005 invoked by uid 99); 24 Feb 2009 18:42:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Feb 2009 10:42:02 -0800 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_HOTMAIL_RCVD2,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Feb 2009 18:41:55 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1Lc2Dm-0003ii-CS for [email protected]; Tue, 24 Feb 2009 10:41:34 -0800 Message-ID: <[email protected]> Date: Tue, 24 Feb 2009 10:41:34 -0800 (PST) From: rodchar <[email protected]> To: [email protected] Subject: just downloaded the latest release MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org hey all, i noticed for the file appender in the web.config the following doesn't work: <footer value="[Footer]\r\n;" /> instead i had to do the following: <footer value="[Footer]&#13;&#10;" /> what's the difference? it was working in 1.2.8 beta. How can i find a list of these and what they represent? -- View this message in context: http://www.nabble.com/just-downloaded-the-latest-release-tp22187859p22187859.html Sent from the Log4net - Users mailing list [email protected]. From [email protected] Tue Feb 24 22:14:04 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 19996 invoked from network); 24 Feb 2009 22:14:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Feb 2009 22:14:04 -0000 Received: (qmail 95995 invoked by uid 500); 24 Feb 2009 22:14:03 -0000 Delivered-To: [email protected] Received: (qmail 95965 invoked by uid 500); 24 Feb 2009 22:14:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 95956 invoked by uid 99); 24 Feb 2009 22:14:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Feb 2009 14:14:03 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wa-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Feb 2009 22:13:53 +0000 Received: by wa-out-1112.google.com with SMTP id k22so1485625waf.22 for <[email protected]>; Tue, 24 Feb 2009 14:13:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=CgCLtN+p9ipN1utn5tVOjNmjgvh8t3tHYbqhje+C8R4=; b=Wh8+TU2i6vf/IAJx0fy3OGqjoL6ly1gSMkrzkanLNYtIjkCVgdAeSVQypaIy23G8BJ D8GVKFfRgVS7zgY71slc+bj6jML6Cn7cQwzRoRxtPeZuczjgtDNVRL8nreR9ClFoN0oM 6Dmkwt0arO3rpJvqa68APTlxmkrkMeqApSmtk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=N5tsH6Td5Rq4BL55ODESmLJQxSCXTXwjod7t3L1bwXMzq/l8ebtAHKcLDbXmgkGnbL Wfvn1eaKyiFSRKBTvfZ1p//+hD9apQ+RJXfbT3+Jhxo3uN0qvnIibMAObyHvqHWWY2Gw Uqu2NVK6G6hw/EjW4FIURvqbetqKDRUVMyWww= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id d6mr2465432waf.8.1235513611859; Tue, 24 Feb 2009 14:13:31 -0800 (PST) Date: Tue, 24 Feb 2009 14:13:31 -0800 Message-ID: <[email protected]> Subject: How to get a class-type based logger in multi-dll web service? From: Andrew Backer <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org I have a web service (framework 3.5) project with 5+ related projects compiling into it, some of which are re-used in other services. I am having trouble in the satellite dlls in getting a reference to a logger based on the class type.=A0=A0 Nothing fails hard, just no logging happens. This works:=A0 ... =3D LogManager.GetLogger("Root"); This fails: ... =3D LogManager.GetLogger(typeof(MyClass)); There is no code in the service itself, just a Global.asax that configures the logging. I followed the help in the following thread to get everything up and running, at least minimally: http://[email protected]/msg04608.html I guess this has something to do with this being a different assembly, but I don't know how to go about fixing it.=A0 Both the web service itself and the dll's reference the same log4net dll (1.2.10) in a shared location. My config is in the Web.config: <log4net> =A0=A0=A0 =A0=A0=A0 <appender name=3D"FileAppender" type=3D"log4net.Appende= r.FileAppender"> =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 <file value=3D"log-file.txt" /> =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 <immediateFlush value=3D"true"/> =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 <appendToFile value=3D"true" /> =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 <layout type=3D"log4net.Layout.PatternLayout"= > =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 <conversionPattern value=3D"[%date = ] - %message%newline" /> =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 </layout> =A0=A0=A0 =A0=A0=A0 </appender> =A0=A0=A0 =A0=A0=A0 <root> =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 <level value=3D"ALL" /> =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 <appender-ref ref=3D"FileAppender" /> =A0=A0=A0 =A0=A0=A0 </root> =A0=A0=A0 </log4net> Any way I can get this working? Thanks, // Andrew Backer From [email protected] Wed Feb 25 13:34:31 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42727 invoked from network); 25 Feb 2009 13:34:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Feb 2009 13:34:31 -0000 Received: (qmail 52772 invoked by uid 500); 25 Feb 2009 13:34:29 -0000 Delivered-To: [email protected] Received: (qmail 52745 invoked by uid 500); 25 Feb 2009 13:34:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 52736 invoked by uid 99); 25 Feb 2009 13:34:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Feb 2009 05:34:29 -0800 X-ASF-Spam-Status: No, hits=-1.7 required=10.0 tests=FUZZY_CREDIT,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO smtpas2.calyon.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Feb 2009 13:34:19 +0000 Received: from pegase.dcmc.creditlyonnais.fr ([161.129.204.104]) by smtpas2.calyon.com with ESMTP; 25 Feb 2009 14:32:57 +0100 Received: from galatee.cm.par.emea.cib ([161.129.204.104] [161.129.204.104]) by pegase.dcmc.creditlyonnais.fr with ESMTP for [email protected]; Wed, 25 Feb 2009 14:39:53 +0100 Received: from MXMXPA23.MSX.CIB (MXMXPA23.MSX.CIB [161.129.204.104]) by galatee.cm.par.emea.cib with ESMTP for [email protected]; Wed, 25 Feb 2009 14:33:17 +0100 Received: from MXMXPA25.MSX.CIB ([161.129.204.104]) by MXMXPA23.MSX.CIB with Microsoft SMTPSVC705-204-8822); Wed, 25 Feb 2009 14:33:17 +0100 Received: from MXCU02MX1.MSX.CIB ([161.129.204.104]) by MXMXPA25.MSX.CIB with Microsoft SMTPSVC705-204-8822); Wed, 25 Feb 2009 14:33:15 +0100 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----------7NhE3WuB9OnU6N9D2A0R5Y7" X-MimeOLE: Produced By Microsoft Exchange V6.5 Subject: DEBUG vs INFO Date: Wed, 25 Feb 2009 14:33:15 +0100 Message-Id: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: DEBUG vs INFO Thread-Index: AcmWzWWRzcjKCicyTYGbnBw7iopZNQAgA7Bw References: <[email protected]> From: Graham Walsh <[email protected]> To: "Log4NET User" <[email protected]> X-OriginalArrivalTime: 25 Feb 2009 13:33:16.0000 (UTC) FILETIME=[9D0E3600:01C9974D] X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------------7NhE3WuB9OnU6N9D2A0R5Y7 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I just switch from DEBUG to INFO in our application logging and the difference is pretty much stunning. E.G. our perf has gone from 23 seconds down to 14 because of the change. Is this a known issue. i.e. debug log level is expected to impose this kind of overhead.=20 Thanks Graham ------------7NhE3WuB9OnU6N9D2A0R5Y7 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Ce message et ses pi=E8ces jointes (le "message") est destin=E9 à l'usage exclusif de son destinataire. Si vous recevez ce message par erreur, merci d'en aviser imm=E9diatement l'exp=E9diteur et de le d=E9truire ensuite. Le pr=E9sent message pouvant =EAtre alt=E9r=E9 =E0 notre insu, CALYON Cr=E9dit Agricole CIB ne peut pas =EAtre engag=E9 par son contenu. Tous droits r=E9serv=E9s. This message and/or any attachments (the "message") is intended for the sole use of its addressee. If you are not the addressee, please immediately notify the sender and then destroy the message. As this message and/or any attachments may have been altered without our knowledge, its content is not legally binding on CALYON Cr=E9dit Agricole CIB. All rights reserved. ------------7NhE3WuB9OnU6N9D2A0R5Y7-- From [email protected] Wed Feb 25 14:32:31 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87171 invoked from network); 25 Feb 2009 14:32:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Feb 2009 14:32:31 -0000 Received: (qmail 55293 invoked by uid 500); 25 Feb 2009 14:32:30 -0000 Delivered-To: [email protected] Received: (qmail 55271 invoked by uid 500); 25 Feb 2009 14:32:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 55262 invoked by uid 99); 25 Feb 2009 14:32:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Feb 2009 06:32:29 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail.techsoftwareinc.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Feb 2009 14:32:20 +0000 Content-class: urn:content-classes:message Subject: RE: DEBUG vs INFO MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Wed, 25 Feb 2009 09:31:58 -0500 Message-ID: <[email protected]> X-MimeOLE: Produced By Microsoft Exchange V6.5 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: DEBUG vs INFO Thread-Index: AcmWzWWRzcjKCicyTYGbnBw7iopZNQAgA7BwAAH2ewA= References: <[email protected]> <[email protected]> From: "Walden H. Leverich" <[email protected]> To: "Log4NET User" <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Graham, That's not a log4net issue as much as it's an issue in your application. Sounds like your application (like many) makes lots of log.Debug() calls, to log, um, debug information. By switching the logging from DEBUG to INFO you've stopped all those log entries from being written to disk. Even more, if your app developers were smart about it, they checked the IsDebugEnabled property before making the log.Debug() call, so you're not even evaluating the parms to that call, and sometimes that can be quite expensive. So, it's a "known issue" that logging more stuff takes more time, but I wouldn't call it a bug. -Walden --=20 Walden H Leverich III Tech Software 705-204-8822 [email protected] http://www.TechSoftInc.com Quiquid latine dictum sit altum viditur. (Whatever is said in Latin seems profound.) From [email protected] Wed Feb 25 19:36:37 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65870 invoked from network); 25 Feb 2009 19:36:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Feb 2009 19:36:37 -0000 Received: (qmail 25599 invoked by uid 500); 25 Feb 2009 19:36:36 -0000 Delivered-To: [email protected] Received: (qmail 25579 invoked by uid 500); 25 Feb 2009 19:36:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 25570 invoked by uid 99); 25 Feb 2009 19:36:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Feb 2009 11:36:36 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO yx-out-1718.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Feb 2009 19:36:27 +0000 Received: by yx-out-1718.google.com with SMTP id 3so118653yxi.40 for <[email protected]>; Wed, 25 Feb 2009 11:36:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=9Ghw3qNA9Z56sw6rFOzhlct1GhX5NtABwuT8rGx9Nu4=; b=F2Kqq4YGv4O3KaSxUAQGr+B0kLc+josfXOQvqFHwBjsLtZF8BABOPny4+bKKXxdYeS XrG9xjv+8ICibsoCxmiY3dZXeMYPOm8T+GU7IfXaDJL9n/rJWE/3aQnoVrQzmky0cscW dBmidWcRx2iMmkNHxrzaVVPiOCYUkNZoASfHk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=M00gGsL+AoPiRArD0+I3s3gxwQhfvRTo4/gqU9eSfBYkMQRS6PlZFluCSOldxxDAN9 jHr3E4+QWgraQZLcmNEIX4DQQdlAIIGLQbzHxAa4rK1+r8s1jv849QuAclHONifL1FUm v++4r3MW3I8HxHp4QXmzfMpZ72qvmHDMF8PQY= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id w19mr273598ybd.43.1235590566459; Wed, 25 Feb 2009 11:36:06 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Date: Wed, 25 Feb 2009 13:36:06 -0600 Message-ID: <[email protected]> Subject: Re: DEBUG vs INFO From: Michael Schall <[email protected]> To: Log4NET User <[email protected]> Content-Type: multipart/alternative; boundary=000e0cd487bacd39360463c358a1 X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd487bacd39360463c358a1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit What appenders are you using? I assume one of them is the rolling file appender? How large is the log file produced with the setting at DEBUG vs INFO? If you need to keep the debug information you can look at the BufferingForwardingAppender. The following will buffer 255 messages before writing to the file, unless there is a WARN or higher message, then the buffer is flushed immediately. This should hopefully let the error message that crashes the system still make it to the log file.:) I don't know how your loggers are setup, but you can turn off at that level as well. <log4net> <appender name="BufferingForwardingAppender" type="log4net.Appender.BufferingForwardingAppender" > <bufferSize value="255" /> <lossy value="false" /> <evaluator type="log4net.Core.LevelEvaluator"> <threshold value="WARN"/> </evaluator> <appender-ref ref="RollingFile" /> </appender> <appender name="RollingFile" type="log4net.Appender.RollingFileAppender"> <file value="..\..\log\web.log" /> <appendToFile value="true" /> <maximumFileSize value="100MB" /> <maxSizeRollBackups value="-1" /> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%5level [%date] [%thread] %-30.30logger{2} %message%newline" /> </layout> </appender> <root> <level value="DEBUG" /> <appender-ref ref="BufferingForwardingAppender" /> </root> </log4net> On Wed, Feb 25, 2009 at 8:31 AM, Walden H. Leverich <[email protected] > wrote: > Graham, > > That's not a log4net issue as much as it's an issue in your application. > Sounds like your application (like many) makes lots of log.Debug() > calls, to log, um, debug information. By switching the logging from > DEBUG to INFO you've stopped all those log entries from being written to > disk. Even more, if your app developers were smart about it, they > checked the IsDebugEnabled property before making the log.Debug() call, > so you're not even evaluating the parms to that call, and sometimes that > can be quite expensive. > > So, it's a "known issue" that logging more stuff takes more time, but I > wouldn't call it a bug. > > -Walden > > -- > Walden H Leverich III > Tech Software > 705-204-8822 > [email protected] > http://www.TechSoftInc.com > > Quiquid latine dictum sit altum viditur. > (Whatever is said in Latin seems profound.) > --000e0cd487bacd39360463c358a1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable What appenders are you using? I assume one of them is the rolling file appe= nder? =A0How large is the log file produced with the setting at DEBUG vs IN= FO?=A0<div><br></div><div>If you need to keep the debug information you can= look at the=A0BufferingForwardingAppender. =A0The following will buffer 25= 5 messages before writing to the file, unless there is a WARN or higher mes= sage, then the buffer is flushed immediately. =A0This should hopefully let = the error message that crashes the system still make it to the log file.:)<= /div> <div><br></div><div>=A0I don&#39;t know how your loggers are setup, but you= can turn off at that level as well. =A0</div><div><br></div><div><div>&lt;= log4net&gt;</div><div><br></div><div><span class=3D"Apple-tab-span" style= =3D"white-space:pre"> </span>&lt;appender name=3D&quot;BufferingForwardingA= ppender&quot; type=3D&quot;log4net.Appender.BufferingForwardingAppender&quo= t; &gt;</div> <div><span class=3D"Apple-tab-span" style=3D"white-space:pre"> </span>&lt;= bufferSize value=3D&quot;255&quot; /&gt;</div><div><span class=3D"Apple-tab= -span" style=3D"white-space:pre"> </span>&lt;lossy value=3D&quot;false&quo= t; /&gt;</div> <div><span class=3D"Apple-tab-span" style=3D"white-space:pre"> </span>&lt;= evaluator type=3D&quot;log4net.Core.LevelEvaluator&quot;&gt;</div><div><spa= n class=3D"Apple-tab-span" style=3D"white-space:pre"> </span>&lt;threshol= d value=3D&quot;WARN&quot;/&gt;</div> <div><span class=3D"Apple-tab-span" style=3D"white-space:pre"> </span>&lt;= /evaluator&gt;</div><div><span class=3D"Apple-tab-span" style=3D"white-spac= e:pre"> </span>&lt;appender-ref ref=3D&quot;RollingFile&quot; /&gt;</div><= div><span class=3D"Apple-tab-span" style=3D"white-space:pre"> </span>&lt;/a= ppender&gt;</div> <div><span class=3D"Apple-tab-span" style=3D"white-space:pre"> </span></div= ><div><span class=3D"Apple-tab-span" style=3D"white-space:pre"> </span>&lt;= appender name=3D&quot;RollingFile&quot; type=3D&quot;log4net.Appender.Rolli= ngFileAppender&quot;&gt;</div> <div><span class=3D"Apple-tab-span" style=3D"white-space:pre"> </span>&lt;= file value=3D&quot;..\..\log\web.log&quot; /&gt;</div><div><span class=3D"A= pple-tab-span" style=3D"white-space:pre"> </span>&lt;appendToFile value=3D= &quot;true&quot; /&gt;</div> <div><span class=3D"Apple-tab-span" style=3D"white-space:pre"> </span>&lt;= maximumFileSize value=3D&quot;100MB&quot; /&gt;</div><div><span class=3D"Ap= ple-tab-span" style=3D"white-space:pre"> </span>&lt;maxSizeRollBackups val= ue=3D&quot;-1&quot; /&gt;</div> <div><span class=3D"Apple-tab-span" style=3D"white-space:pre"> </span>&lt;= layout type=3D&quot;log4net.Layout.PatternLayout&quot;&gt;</div><div><span = class=3D"Apple-tab-span" style=3D"white-space:pre"> </span>&lt;conversion= Pattern value=3D&quot;%5level [%date] [%thread] %-30.30logger{2}<span class= =3D"Apple-tab-span" style=3D"white-space:pre"> </span>%message%newline&quot= ; /&gt;</div> <div><span class=3D"Apple-tab-span" style=3D"white-space:pre"> </span>&lt;= /layout&gt;</div><div><span class=3D"Apple-tab-span" style=3D"white-space:p= re"> </span>&lt;/appender&gt;</div><div><span class=3D"Apple-tab-span" styl= e=3D"white-space:pre"> </span></div> <div><span class=3D"Apple-tab-span" style=3D"white-space:pre"> </span>&lt;r= oot&gt;</div><div><span class=3D"Apple-tab-span" style=3D"white-space:pre">= </span>&lt;level value=3D&quot;DEBUG&quot; /&gt;</div><div><span class=3D= "Apple-tab-span" style=3D"white-space:pre"> </span>&lt;appender-ref ref=3D= &quot;BufferingForwardingAppender&quot; /&gt;</div> <div><span class=3D"Apple-tab-span" style=3D"white-space:pre"> </span>&lt;/= root&gt;</div><div><span class=3D"Apple-tab-span" style=3D"white-space:pre"= > </span></div><div>&lt;/log4net&gt;</div><br><div class=3D"gmail_quote">On= Wed, Feb 25, 2009 at 8:31 AM, Walden H. Leverich <span dir=3D"ltr">&lt;<a = href=3D"mailto:[email protected]">[email protected]</a>&gt;</sp= an> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex;">Graham,<br> <br> That&#39;s not a log4net issue as much as it&#39;s an issue in your applica= tion.<br> Sounds like your application (like many) makes lots of log.Debug()<br> calls, to log, um, debug information. By switching the logging from<br> DEBUG to INFO you&#39;ve stopped all those log entries from being written t= o<br> disk. Even more, if your app developers were smart about it, they<br> checked the IsDebugEnabled property before making the log.Debug() call,<br> so you&#39;re not even evaluating the parms to that call, and sometimes tha= t<br> can be quite expensive.<br> <br> So, it&#39;s a &quot;known issue&quot; that logging more stuff takes more t= ime, but I<br> wouldn&#39;t call it a bug.<br> <br> -Walden<br> <br> --<br> Walden H Leverich III<br> Tech Software<br> 705-204-8822<br> [email protected]<br> <a href=3D"http://www.TechSoftInc.com" target=3D"_blank">http://www.TechSof= tInc.com</a><br> <br> Quiquid latine dictum sit altum viditur.<br> (Whatever is said in Latin seems profound.)<br> </blockquote></div><br></div> --000e0cd487bacd39360463c358a1-- From [email protected] Thu Feb 26 07:23:18 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42899 invoked from network); 26 Feb 2009 07:23:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Feb 2009 07:23:18 -0000 Received: (qmail 18223 invoked by uid 500); 26 Feb 2009 07:23:16 -0000 Delivered-To: [email protected] Received: (qmail 18202 invoked by uid 500); 26 Feb 2009 07:23:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 18193 invoked by uid 99); 26 Feb 2009 07:23:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Feb 2009 23:23:16 -0800 X-ASF-Spam-Status: No, hits=4.5 required=10.0 tests=FUZZY_CREDIT,HTML_MESSAGE,MIME_QP_LONG_LINE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO SMTPAS1.calyon.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Feb 2009 07:23:04 +0000 Received: from amalthee.dcmc.creditlyonnais.fr ([161.129.204.104]) by SMTPAS1.calyon.com with ESMTP; 26 Feb 2009 08:20:47 +0100 Received: from astree.capitalmarkets.fr.cly ([161.129.204.104] [161.129.204.104]) by amalthee.dcmc.creditlyonnais.fr with ESMTP for [email protected]; Thu, 26 Feb 2009 08:51:29 +0100 Received: from mxmxpa01.MSX.CIB (mxmxpa01.MSX.CIB [161.129.204.104]) by astree.capitalmarkets.fr.cly with ESMTP for [email protected]; Thu, 26 Feb 2009 08:22:43 +0100 Received: from MXMXPA26.MSX.CIB ([161.129.204.104]) by mxmxpa01.MSX.CIB with Microsoft SMTPSVC705-204-8822); Thu, 26 Feb 2009 08:22:42 +0100 Received: from MXCU02MX1.MSX.CIB ([161.129.204.104]) by MXMXPA26.MSX.CIB with Microsoft SMTPSVC705-204-8822); Thu, 26 Feb 2009 08:22:42 +0100 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----------7NhE3WuB9OnU6N9D2A0R5Y7" X-MimeOLE: Produced By Microsoft Exchange V6.5 Subject: RE: DEBUG vs INFO Date: Thu, 26 Feb 2009 08:22:42 +0100 Message-Id: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: DEBUG vs INFO Thread-Index: AcmXgGQnILtf0tbOSbOqEdRJIOibVwAYfLHw References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> From: Graham Walsh <[email protected]> To: "Log4NET User" <[email protected]> X-OriginalArrivalTime: 26 Feb 2009 07:22:42.0564 (UTC) FILETIME=[034EDC40:01C997E3] X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------------7NhE3WuB9OnU6N9D2A0R5Y7 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C997E3.037A8D7E" This is a multi-part message in MIME format. ------_=_NextPart_001_01C997E3.037A8D7E Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thanks Walden for the reply, that makes total sense. The error is on our = part (we're in production with debug on as its a greenfield project). =20 =20 This second reply to my question brings me to my point. What was = actually happening (and this is speculation), is that my code changes = related to performance we're having no impact on the results/times of = our processing. I had introduced multi-threading in three or four areas = of the code to reduce bottlenecks. They weren't having any impact. What = I THINK was happening is that the DEBUG log messages were causing disk = writes which were taking time and thus causing thrashing/lots of context = switching. The new threads were working alright but kept being = interrupted, hence the lack of any performance improvement with my = changes.=20 =20 With INFO on (and some changes to log level in key parts of the code) , = the users will not be aware of the changes in log level. In addition I = intend to fall back onto Michaels suggestion below. i.e. if they = absolutely MUST have logging at DEBUG level, I'll try have it bufferred = as indicated below.=20 =20 thanks much for the replies. =20 G =20 ________________________________ From: Michael Schall [mailto:[email protected]]=20 Sent: mercredi 25 f=E9vrier 2009 20:36 To: Log4NET User Subject: Re: DEBUG vs INFO What appenders are you using? I assume one of them is the rolling file = appender? How large is the log file produced with the setting at DEBUG = vs INFO? =20 If you need to keep the debug information you can look at the = BufferingForwardingAppender. The following will buffer 255 messages = before writing to the file, unless there is a WARN or higher message, = then the buffer is flushed immediately. This should hopefully let the = error message that crashes the system still make it to the log file.:) I don't know how your loggers are setup, but you can turn off at that = level as well. =20 <log4net> <appender name=3D"BufferingForwardingAppender" = type=3D"log4net.Appender.BufferingForwardingAppender" > <bufferSize value=3D"255" /> <lossy value=3D"false" /> <evaluator type=3D"log4net.Core.LevelEvaluator"> <threshold value=3D"WARN"/> </evaluator> <appender-ref ref=3D"RollingFile" /> </appender> <appender name=3D"RollingFile" = type=3D"log4net.Appender.RollingFileAppender"> <file value=3D"..\..\log\web.log" /> <appendToFile value=3D"true" /> <maximumFileSize value=3D"100MB" /> <maxSizeRollBackups value=3D"-1" /> <layout type=3D"log4net.Layout.PatternLayout"> <conversionPattern value=3D"%5level [%date] [%thread] %-30.30logger{2} = %message%newline" /> </layout> </appender> <root> <level value=3D"DEBUG" /> <appender-ref ref=3D"BufferingForwardingAppender" /> </root> </log4net> On Wed, Feb 25, 2009 at 8:31 AM, Walden H. Leverich = <[email protected]> wrote: Graham, =09 That's not a log4net issue as much as it's an issue in your = application. Sounds like your application (like many) makes lots of log.Debug() calls, to log, um, debug information. By switching the logging from DEBUG to INFO you've stopped all those log entries from being written = to disk. Even more, if your app developers were smart about it, they checked the IsDebugEnabled property before making the log.Debug() call, so you're not even evaluating the parms to that call, and sometimes = that can be quite expensive. =09 So, it's a "known issue" that logging more stuff takes more time, but I wouldn't call it a bug. =09 -Walden =09 -- Walden H Leverich III Tech Software 705-204-8822 [email protected] http://www.TechSoftInc.com =09 Quiquid latine dictum sit altum viditur. (Whatever is said in Latin seems profound.) =09 ------_=_NextPart_001_01C997E3.037A8D7E Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2900.3492" name=3DGENERATOR></HEAD> <BODY> <DIV dir=3Dltr align=3Dleft><SPAN class=3D355531707-26022009><FONT = face=3DArial=20 color=3D#0000ff size=3D2>Thanks Walden for the reply, that makes total = sense. The=20 error is on our part (we're in production with debug on as its a = greenfield=20 project).</FONT></SPAN></DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D355531707-26022009><FONT = face=3DArial=20 color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr = align=3Dleft><SPAN=20 class=3D355531707-26022009><FONT face=3DArial color=3D#0000ff=20 size=3D2>&nbsp;</FONT></SPAN></DIV> <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr = align=3Dleft><SPAN=20 class=3D355531707-26022009><FONT face=3DArial color=3D#0000ff = size=3D2>This second reply=20 to my question brings me to my point. What was actually happening (and = this is=20 speculation), is that&nbsp;my code changes related to performance we're = having=20 no impact on the results/times of our processing. I had introduced=20 multi-threading in three or four areas of the code to reduce = bottlenecks. They=20 weren't having any impact.&nbsp;What I THINK was happening is that=20 the&nbsp;DEBUG log messages were causing disk writes which were taking = time and=20 thus causing thrashing/lots of context switching. The new threads were = working=20 alright but kept being interrupted, hence the lack of any performance=20 improvement with my changes.&nbsp;</FONT></SPAN></DIV> <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr = align=3Dleft><SPAN=20 class=3D355531707-26022009></SPAN>&nbsp;</DIV> <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr = align=3Dleft><SPAN=20 class=3D355531707-26022009><FONT face=3DArial color=3D#0000ff = size=3D2>With INFO on (and=20 some changes to log level in key parts of the code) , the users will not = be=20 aware of the changes in log level. In addition I intend to fall back = onto=20 Michaels suggestion below.&nbsp;i.e. if they absolutely MUST have = logging at=20 DEBUG level, I'll try have it bufferred as indicated=20 below.&nbsp;</FONT></SPAN></DIV> <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr = align=3Dleft><SPAN=20 class=3D355531707-26022009></SPAN>&nbsp;</DIV> <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr = align=3Dleft><SPAN=20 class=3D355531707-26022009><FONT face=3DArial color=3D#0000ff = size=3D2>thanks much for=20 the replies.</FONT></SPAN></DIV> <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr = align=3Dleft><SPAN=20 class=3D355531707-26022009></SPAN>&nbsp;</DIV> <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr = align=3Dleft><SPAN=20 class=3D355531707-26022009><FONT face=3DArial color=3D#0000ff=20 size=3D2>G</FONT></SPAN></DIV> <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr = align=3Dleft><SPAN=20 class=3D355531707-26022009>&nbsp;</SPAN></DIV> <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft> <HR tabIndex=3D-1> </DIV> <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr = align=3Dleft><FONT face=3DTahoma=20 size=3D2><B>From:</B> Michael Schall [mailto:[email protected]]=20 <BR><B>Sent:</B> mercredi 25 f=E9vrier 2009 20:36<BR><B>To:</B> Log4NET=20 User<BR><B>Subject:</B> Re: DEBUG vs INFO<BR></FONT><BR></DIV> <DIV></DIV>What appenders are you using? I assume one of them is the = rolling=20 file appender? &nbsp;How large is the log file produced with the setting = at=20 DEBUG vs INFO?&nbsp; <DIV><BR></DIV> <DIV>If you need to keep the debug information you can look at=20 the&nbsp;BufferingForwardingAppender. &nbsp;The following will buffer = 255=20 messages before writing to the file, unless there is a WARN or higher = message,=20 then the buffer is flushed immediately. &nbsp;This should hopefully let = the=20 error message that crashes the system still make it to the log = file.:)</DIV> <DIV><BR></DIV> <DIV>&nbsp;I don't know how your loggers are setup, but you can turn off = at that=20 level as well. &nbsp;</DIV> <DIV><BR></DIV> <DIV> <DIV>&lt;log4net&gt;</DIV> <DIV><BR></DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN>&lt;appender=20 name=3D"BufferingForwardingAppender"=20 type=3D"log4net.Appender.BufferingForwardingAppender" &gt;</DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN>&lt;bufferSize=20 value=3D"255" /&gt;</DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN>&lt;lossy=20 value=3D"false" /&gt;</DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN>&lt;evaluator=20 type=3D"log4net.Core.LevelEvaluator"&gt;</DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN>&lt;threshold=20 value=3D"WARN"/&gt;</DIV> <DIV><SPAN class=3DApple-tab-span=20 style=3D"WHITE-SPACE: pre"></SPAN>&lt;/evaluator&gt;</DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN>&lt;appender-ref=20 ref=3D"RollingFile" /&gt;</DIV> <DIV><SPAN class=3DApple-tab-span=20 style=3D"WHITE-SPACE: pre"></SPAN>&lt;/appender&gt;</DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN></DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN>&lt;appender=20 name=3D"RollingFile" = type=3D"log4net.Appender.RollingFileAppender"&gt;</DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN>&lt;file=20 value=3D"..\..\log\web.log" /&gt;</DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN>&lt;appendToFile=20 value=3D"true" /&gt;</DIV> <DIV><SPAN class=3DApple-tab-span=20 style=3D"WHITE-SPACE: pre"></SPAN>&lt;maximumFileSize value=3D"100MB" = /&gt;</DIV> <DIV><SPAN class=3DApple-tab-span=20 style=3D"WHITE-SPACE: pre"></SPAN>&lt;maxSizeRollBackups value=3D"-1" = /&gt;</DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN>&lt;layout=20 type=3D"log4net.Layout.PatternLayout"&gt;</DIV> <DIV><SPAN class=3DApple-tab-span=20 style=3D"WHITE-SPACE: pre"></SPAN>&lt;conversionPattern value=3D"%5level = [%date]=20 [%thread] %-30.30logger{2}<SPAN class=3DApple-tab-span = style=3D"WHITE-SPACE: pre">=20 </SPAN>%message%newline" /&gt;</DIV> <DIV><SPAN class=3DApple-tab-span=20 style=3D"WHITE-SPACE: pre"></SPAN>&lt;/layout&gt;</DIV> <DIV><SPAN class=3DApple-tab-span=20 style=3D"WHITE-SPACE: pre"></SPAN>&lt;/appender&gt;</DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN></DIV> <DIV><SPAN class=3DApple-tab-span=20 style=3D"WHITE-SPACE: pre"></SPAN>&lt;root&gt;</DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN>&lt;level=20 value=3D"DEBUG" /&gt;</DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN>&lt;appender-ref=20 ref=3D"BufferingForwardingAppender" /&gt;</DIV> <DIV><SPAN class=3DApple-tab-span=20 style=3D"WHITE-SPACE: pre"></SPAN>&lt;/root&gt;</DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN></DIV> <DIV>&lt;/log4net&gt;</DIV><BR> <DIV class=3Dgmail_quote>On Wed, Feb 25, 2009 at 8:31 AM, Walden H. = Leverich <SPAN=20 dir=3Dltr>&lt;<A=20 href=3D"mailto:[email protected]">[email protected]</A>&gt;</= SPAN>=20 wrote:<BR> <BLOCKQUOTE class=3Dgmail_quote=20 style=3D"PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc = 1px solid">Graham,<BR><BR>That's=20 not a log4net issue as much as it's an issue in your = application.<BR>Sounds=20 like your application (like many) makes lots of log.Debug()<BR>calls, = to log,=20 um, debug information. By switching the logging from<BR>DEBUG to INFO = you've=20 stopped all those log entries from being written to<BR>disk. Even = more, if=20 your app developers were smart about it, they<BR>checked the = IsDebugEnabled=20 property before making the log.Debug() call,<BR>so you're not even = evaluating=20 the parms to that call, and sometimes that<BR>can be quite=20 expensive.<BR><BR>So, it's a "known issue" that logging more stuff = takes more=20 time, but I<BR>wouldn't call it a = bug.<BR><BR>-Walden<BR><BR>--<BR>Walden H=20 Leverich III<BR>Tech Software<BR>705-204-8822=20 x3051<BR>[email protected]<BR><A = href=3D"http://www.TechSoftInc.com"=20 target=3D_blank>http://www.TechSoftInc.com</A><BR><BR>Quiquid latine = dictum sit=20 altum viditur.<BR>(Whatever is said in Latin seems=20 profound.)<BR></BLOCKQUOTE></DIV><BR></DIV></BODY></HTML> ------_=_NextPart_001_01C997E3.037A8D7E-- ------------7NhE3WuB9OnU6N9D2A0R5Y7 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Ce message et ses pi=E8ces jointes (le "message") est destin=E9 à l'usage exclusif de son destinataire. Si vous recevez ce message par erreur, merci d'en aviser imm=E9diatement l'exp=E9diteur et de le d=E9truire ensuite. Le pr=E9sent message pouvant =EAtre alt=E9r=E9 =E0 notre insu, CALYON Cr=E9dit Agricole CIB ne peut pas =EAtre engag=E9 par son contenu. Tous droits r=E9serv=E9s. This message and/or any attachments (the "message") is intended for the sole use of its addressee. If you are not the addressee, please immediately notify the sender and then destroy the message. As this message and/or any attachments may have been altered without our knowledge, its content is not legally binding on CALYON Cr=E9dit Agricole CIB. All rights reserved. ------------7NhE3WuB9OnU6N9D2A0R5Y7-- From [email protected] Thu Feb 26 08:09:44 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69337 invoked from network); 26 Feb 2009 08:09:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Feb 2009 08:09:43 -0000 Received: (qmail 54103 invoked by uid 500); 26 Feb 2009 08:09:42 -0000 Delivered-To: [email protected] Received: (qmail 54079 invoked by uid 500); 26 Feb 2009 08:09:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 54070 invoked by uid 99); 26 Feb 2009 08:09:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Feb 2009 00:09:42 -0800 X-ASF-Spam-Status: No, hits=4.5 required=10.0 tests=FUZZY_CREDIT,HTML_MESSAGE,MIME_QP_LONG_LINE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO SMTPAS1.calyon.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Feb 2009 08:09:33 +0000 Received: from amalthee.dcmc.creditlyonnais.fr ([161.129.204.104]) by SMTPAS1.calyon.com with ESMTP; 26 Feb 2009 09:07:13 +0100 Received: from galatee.cm.par.emea.cib ([161.129.204.104] [161.129.204.104]) by amalthee.dcmc.creditlyonnais.fr with ESMTP for [email protected]; Thu, 26 Feb 2009 09:37:55 +0100 Received: from MXMXPA21.MSX.CIB (MXMXPA21.MSX.CIB [161.129.204.104]) by galatee.cm.par.emea.cib with ESMTP for [email protected]; Thu, 26 Feb 2009 09:09:09 +0100 Received: from MXMXPA26.MSX.CIB ([161.129.204.104]) by MXMXPA21.MSX.CIB with Microsoft SMTPSVC705-204-8822); Thu, 26 Feb 2009 09:09:08 +0100 Received: from MXCU02MX1.MSX.CIB ([161.129.204.104]) by MXMXPA26.MSX.CIB with Microsoft SMTPSVC705-204-8822); Thu, 26 Feb 2009 09:09:08 +0100 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----------7NhE3WuB9OnU6N9D2A0R5Y7" X-MimeOLE: Produced By Microsoft Exchange V6.5 Subject: RE: DEBUG vs INFO Date: Thu, 26 Feb 2009 09:09:08 +0100 Message-Id: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: DEBUG vs INFO Thread-Index: AcmXgGQnILtf0tbOSbOqEdRJIOibVwAaIpOw References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> From: Graham Walsh <[email protected]> To: "Log4NET User" <[email protected]> X-OriginalArrivalTime: 26 Feb 2009 08:09:08.0547 (UTC) FILETIME=[7FE22130:01C997E9] X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------------7NhE3WuB9OnU6N9D2A0R5Y7 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C997E9.8019478E" This is a multi-part message in MIME format. ------_=_NextPart_001_01C997E9.8019478E Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable sorry, but I'm having trouble with one part of this config, I always do. = I have taken the BufferingForwardingAppender and put it in place, its = works a treat.=20 =20 I've also got another appender which is used to display log output in = the GUI window. Now I want BufferingForwardingAppender (which logs to = file) to log at debug level but my other appender (RichTextFormAppender) = to log at just INFO level. I can't get this working though. =20 My (messy) log4net stuff looks like this, could anybody let me know how = I can get the two levels of logging in place? Once thats done, I'm water = tight in terms of delivery =20 thanks much =20 Graham =20 =20 <log4net> <appender name=3D"BufferingForwardingAppender" = type=3D"log4net.Appender.BufferingForwardingAppender" > <bufferSize value=3D"255" /> <lossy value=3D"false" /> <evaluator type=3D"log4net.Core.LevelEvaluator"> <threshold value=3D"DEBUG"/> </evaluator> <appender-ref ref=3D"RollingFile" /> </appender> <appender name=3D"RollingFile" = type=3D"log4net.Appender.RollingFileAppender"> <file value=3D"logs/NewLogFile.log" /> <appendToFile value=3D"true" /> <maximumFileSize value=3D"100MB" /> <maxSizeRollBackups value=3D"-1" /> <layout type=3D"log4net.Layout.PatternLayout"> <conversionPattern value=3D"%5level [%date] [%thread] %-30.30logger{2} = %message%newline" /> </layout> </appender> <appender name=3D"MainFormRichTextAppender" = type=3D"log4net.Appender.RichTextBoxAppender"> <appendToFile value=3D"true" /> <maximumFileSize value=3D"250000KB" /> <maxSizeRollBackups value=3D"2" /> <layout type=3D"log4net.Layout.PatternLayout"> <conversionPattern value=3D"%date [%-2thread] %-5level %-70logger - = %message%newline" /> </layout> <code lang=3D"XML" escaped=3D"true"> <mapping> <level value=3D"DEBUG" /> <textColorName value=3D"DarkGreen" /> <fontFamilyName value=3D"Microsoft Sans Serif"/> <pointSize value=3D"6.75" /> </mapping> <mapping> <level value=3D"INFO" /> <textColorName value=3D"Black" /> <fontFamilyName value=3D"Microsoft Sans Serif"/> <pointSize value=3D"6.75" /> </mapping> <mapping> <level value=3D"WARN" /> <textColorName value=3D"Blue" /> <fontFamilyName value=3D"Microsoft Sans Serif"/> <pointSize value=3D"6.75" /> </mapping> <mapping> <level value=3D"ERROR" /> <textColorName value=3D"Red" /> <!--<bold value=3D"true" />--> <fontFamilyName value=3D"Microsoft Sans Serif"/> <pointSize value=3D"6.75" /> </mapping> <mapping> <level value=3D"FATAL" /> <textColorName value=3D"Black" /> <fontFamilyName value=3D"Microsoft Sans Serif"/> <pointSize value=3D"6.75" /> </mapping> </code> </appender> <root> <level value=3D"DEBUG" /> <appender-ref ref=3D"BufferingForwardingAppender" /> <appender-ref ref=3D"MainFormRichTextAppender"/> </root> ________________________________ From: Michael Schall [mailto:[email protected]]=20 Sent: mercredi 25 f=E9vrier 2009 20:36 To: Log4NET User Subject: Re: DEBUG vs INFO What appenders are you using? I assume one of them is the rolling file = appender? How large is the log file produced with the setting at DEBUG = vs INFO? =20 If you need to keep the debug information you can look at the = BufferingForwardingAppender. The following will buffer 255 messages = before writing to the file, unless there is a WARN or higher message, = then the buffer is flushed immediately. This should hopefully let the = error message that crashes the system still make it to the log file.:) I don't know how your loggers are setup, but you can turn off at that = level as well. =20 <log4net> <appender name=3D"BufferingForwardingAppender" = type=3D"log4net.Appender.BufferingForwardingAppender" > <bufferSize value=3D"255" /> <lossy value=3D"false" /> <evaluator type=3D"log4net.Core.LevelEvaluator"> <threshold value=3D"WARN"/> </evaluator> <appender-ref ref=3D"RollingFile" /> </appender> <appender name=3D"RollingFile" = type=3D"log4net.Appender.RollingFileAppender"> <file value=3D"..\..\log\web.log" /> <appendToFile value=3D"true" /> <maximumFileSize value=3D"100MB" /> <maxSizeRollBackups value=3D"-1" /> <layout type=3D"log4net.Layout.PatternLayout"> <conversionPattern value=3D"%5level [%date] [%thread] %-30.30logger{2} = %message%newline" /> </layout> </appender> <root> <level value=3D"DEBUG" /> <appender-ref ref=3D"BufferingForwardingAppender" /> </root> </log4net> On Wed, Feb 25, 2009 at 8:31 AM, Walden H. Leverich = <[email protected]> wrote: Graham, =09 That's not a log4net issue as much as it's an issue in your = application. Sounds like your application (like many) makes lots of log.Debug() calls, to log, um, debug information. By switching the logging from DEBUG to INFO you've stopped all those log entries from being written = to disk. Even more, if your app developers were smart about it, they checked the IsDebugEnabled property before making the log.Debug() call, so you're not even evaluating the parms to that call, and sometimes = that can be quite expensive. =09 So, it's a "known issue" that logging more stuff takes more time, but I wouldn't call it a bug. =09 -Walden =09 -- Walden H Leverich III Tech Software 705-204-8822 [email protected] http://www.TechSoftInc.com =09 Quiquid latine dictum sit altum viditur. (Whatever is said in Latin seems profound.) =09 ------_=_NextPart_001_01C997E9.8019478E Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2900.3492" name=3DGENERATOR></HEAD> <BODY> <DIV dir=3Dltr align=3Dleft><SPAN class=3D553040508-26022009><FONT = face=3DArial=20 color=3D#0000ff size=3D2>sorry, but I'm having trouble with one part of = this config,=20 I always do. I have taken the BufferingForwardingAppender and put it in = place,=20 its works a treat. </FONT></SPAN></DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D553040508-26022009><FONT = face=3DArial=20 color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D553040508-26022009><FONT = face=3DArial=20 color=3D#0000ff size=3D2>I've also got another appender which is used=20 to&nbsp;display log output in the GUI window. Now I want=20 BufferingForwardingAppender&nbsp; (which logs to file) to log at debug = level but=20 my other appender (RichTextFormAppender) to log at just INFO level. I = can't get=20 this working though.</FONT></SPAN></DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D553040508-26022009><FONT = face=3DArial=20 color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D553040508-26022009><FONT = face=3DArial=20 color=3D#0000ff size=3D2>My (messy) log4net stuff looks like this, could = anybody let=20 me know how I can get the two levels of logging in place? Once thats = done, I'm=20 water tight in terms of delivery</FONT></SPAN></DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D553040508-26022009><FONT = face=3DArial=20 color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D553040508-26022009><FONT = face=3DArial=20 color=3D#0000ff size=3D2>thanks much</FONT></SPAN></DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D553040508-26022009><FONT = face=3DArial=20 color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D553040508-26022009><FONT = face=3DArial=20 color=3D#0000ff size=3D2>Graham</FONT></SPAN></DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D553040508-26022009><FONT = face=3DArial=20 color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D553040508-26022009><FONT = face=3DArial=20 color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D553040508-26022009><FONT = face=3DArial=20 color=3D#0000ff size=3D2><FONT color=3D#0000ff size=3D1> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>log4net</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>appender</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>name</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>BufferingForwardingAppender</FONT><FONT color=3D#000000=20 size=3D1>"</FONT><FONT color=3D#0000ff size=3D1> </FONT><FONT = color=3D#ff0000=20 size=3D1>type</FONT><FONT color=3D#0000ff size=3D1>=3D</FONT><FONT = color=3D#000000=20 size=3D1>"</FONT><FONT color=3D#0000ff=20 size=3D1>log4net.Appender.BufferingForwardingAppender</FONT><FONT = color=3D#000000=20 size=3D1>"</FONT><FONT color=3D#0000ff size=3D1> &gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>bufferSize</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>255</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff size=3D1>=20 /&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>lossy</FONT><FONT = color=3D#0000ff size=3D1>=20 </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>false</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1> /&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>evaluator</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>type</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>log4net.Core.LevelEvaluator</FONT><FONT color=3D#000000=20 size=3D1>"</FONT><FONT color=3D#0000ff size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>threshold</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>DEBUG</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>/&gt;</P> <P>&lt;/</FONT><FONT color=3D#800000 size=3D1>evaluator</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>appender-ref</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>ref</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>RollingFile</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1> /&gt;</P> <P>&lt;/</FONT><FONT color=3D#800000 size=3D1>appender</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>appender</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>name</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>RollingFile</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>type</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>log4net.Appender.RollingFileAppender</FONT><FONT = color=3D#000000=20 size=3D1>"</FONT><FONT color=3D#0000ff size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>file</FONT><FONT = color=3D#0000ff size=3D1>=20 </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>logs/NewLogFile.log</FONT><FONT color=3D#000000 = size=3D1>"</FONT><FONT=20 color=3D#0000ff size=3D1> /&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>appendToFile</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>true</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff size=3D1>=20 /&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>maximumFileSize</FONT><FONT = color=3D#0000ff size=3D1> </FONT><FONT color=3D#ff0000 = size=3D1>value</FONT><FONT=20 color=3D#0000ff size=3D1>=3D</FONT><FONT color=3D#000000 = size=3D1>"</FONT><FONT=20 color=3D#0000ff size=3D1>100MB</FONT><FONT color=3D#000000 = size=3D1>"</FONT><FONT=20 color=3D#0000ff size=3D1> /&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 = size=3D1>maxSizeRollBackups</FONT><FONT=20 color=3D#0000ff size=3D1> </FONT><FONT color=3D#ff0000 = size=3D1>value</FONT><FONT=20 color=3D#0000ff size=3D1>=3D</FONT><FONT color=3D#000000 = size=3D1>"</FONT><FONT=20 color=3D#0000ff size=3D1>-1</FONT><FONT color=3D#000000 = size=3D1>"</FONT><FONT=20 color=3D#0000ff size=3D1> /&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>layout</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>type</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>log4net.Layout.PatternLayout</FONT><FONT color=3D#000000=20 size=3D1>"</FONT><FONT color=3D#0000ff size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 = size=3D1>conversionPattern</FONT><FONT=20 color=3D#0000ff size=3D1> </FONT><FONT color=3D#ff0000 = size=3D1>value</FONT><FONT=20 color=3D#0000ff size=3D1>=3D</FONT><FONT color=3D#000000 = size=3D1>"</FONT><FONT=20 color=3D#0000ff size=3D1>%5level [%date] [%thread] %-30.30logger{2}=20 %message%newline</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1> /&gt;</P> <P>&lt;/</FONT><FONT color=3D#800000 size=3D1>layout</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P> <P>&lt;/</FONT><FONT color=3D#800000 size=3D1>appender</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>appender</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>name</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>MainFormRichTextAppender</FONT><FONT color=3D#000000 = size=3D1>"</FONT><FONT=20 color=3D#0000ff size=3D1> </FONT><FONT color=3D#ff0000 = size=3D1>type</FONT><FONT=20 color=3D#0000ff size=3D1>=3D</FONT><FONT color=3D#000000 = size=3D1>"</FONT><FONT=20 color=3D#0000ff = size=3D1>log4net.Appender.RichTextBoxAppender</FONT><FONT=20 color=3D#000000 size=3D1>"</FONT><FONT color=3D#0000ff size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>appendToFile</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>true</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff size=3D1>=20 /&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>maximumFileSize</FONT><FONT = color=3D#0000ff size=3D1> </FONT><FONT color=3D#ff0000 = size=3D1>value</FONT><FONT=20 color=3D#0000ff size=3D1>=3D</FONT><FONT color=3D#000000 = size=3D1>"</FONT><FONT=20 color=3D#0000ff size=3D1>250000KB</FONT><FONT color=3D#000000 = size=3D1>"</FONT><FONT=20 color=3D#0000ff size=3D1> /&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 = size=3D1>maxSizeRollBackups</FONT><FONT=20 color=3D#0000ff size=3D1> </FONT><FONT color=3D#ff0000 = size=3D1>value</FONT><FONT=20 color=3D#0000ff size=3D1>=3D</FONT><FONT color=3D#000000 = size=3D1>"</FONT><FONT=20 color=3D#0000ff size=3D1>2</FONT><FONT color=3D#000000 = size=3D1>"</FONT><FONT=20 color=3D#0000ff size=3D1> /&gt;</P> <P></P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>layout</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>type</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>log4net.Layout.PatternLayout</FONT><FONT color=3D#000000=20 size=3D1>"</FONT><FONT color=3D#0000ff size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 = size=3D1>conversionPattern</FONT><FONT=20 color=3D#0000ff size=3D1> </FONT><FONT color=3D#ff0000 = size=3D1>value</FONT><FONT=20 color=3D#0000ff size=3D1>=3D</FONT><FONT color=3D#000000 = size=3D1>"</FONT><FONT=20 color=3D#0000ff size=3D1>%date [%-2thread] %-5level %-70logger -=20 %message%newline</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1> /&gt;</P> <P>&lt;/</FONT><FONT color=3D#800000 size=3D1>layout</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>code</FONT><FONT = color=3D#0000ff size=3D1>=20 </FONT><FONT color=3D#ff0000 size=3D1>lang</FONT><FONT color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>XML</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff size=3D1>=20 </FONT><FONT color=3D#ff0000 size=3D1>escaped</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>true</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>mapping</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>level</FONT><FONT = color=3D#0000ff size=3D1>=20 </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>DEBUG</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1> /&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>textColorName</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>DarkGreen</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1> /&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>fontFamilyName</FONT><FONT=20 color=3D#0000ff size=3D1> </FONT><FONT color=3D#ff0000 = size=3D1>value</FONT><FONT=20 color=3D#0000ff size=3D1>=3D</FONT><FONT color=3D#000000 = size=3D1>"</FONT><FONT=20 color=3D#0000ff size=3D1>Microsoft Sans Serif</FONT><FONT = color=3D#000000=20 size=3D1>"</FONT><FONT color=3D#0000ff size=3D1>/&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>pointSize</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>6.75</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff size=3D1>=20 /&gt;</P> <P>&lt;/</FONT><FONT color=3D#800000 size=3D1>mapping</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>mapping</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>level</FONT><FONT = color=3D#0000ff size=3D1>=20 </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>INFO</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff size=3D1>=20 /&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>textColorName</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>Black</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1> /&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>fontFamilyName</FONT><FONT=20 color=3D#0000ff size=3D1> </FONT><FONT color=3D#ff0000 = size=3D1>value</FONT><FONT=20 color=3D#0000ff size=3D1>=3D</FONT><FONT color=3D#000000 = size=3D1>"</FONT><FONT=20 color=3D#0000ff size=3D1>Microsoft Sans Serif</FONT><FONT = color=3D#000000=20 size=3D1>"</FONT><FONT color=3D#0000ff size=3D1>/&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>pointSize</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>6.75</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff size=3D1>=20 /&gt;</P> <P>&lt;/</FONT><FONT color=3D#800000 size=3D1>mapping</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>mapping</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>level</FONT><FONT = color=3D#0000ff size=3D1>=20 </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>WARN</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff size=3D1>=20 /&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>textColorName</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>Blue</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff size=3D1>=20 /&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>fontFamilyName</FONT><FONT=20 color=3D#0000ff size=3D1> </FONT><FONT color=3D#ff0000 = size=3D1>value</FONT><FONT=20 color=3D#0000ff size=3D1>=3D</FONT><FONT color=3D#000000 = size=3D1>"</FONT><FONT=20 color=3D#0000ff size=3D1>Microsoft Sans Serif</FONT><FONT = color=3D#000000=20 size=3D1>"</FONT><FONT color=3D#0000ff size=3D1>/&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>pointSize</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>6.75</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff size=3D1>=20 /&gt;</P> <P>&lt;/</FONT><FONT color=3D#800000 size=3D1>mapping</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>mapping</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>level</FONT><FONT = color=3D#0000ff size=3D1>=20 </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>ERROR</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1> /&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>textColorName</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>Red</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff size=3D1>=20 /&gt;</P> <P>&lt;!--</FONT><FONT color=3D#008000 size=3D1>&lt;bold value=3D"true"=20 /&gt;</FONT><FONT color=3D#0000ff size=3D1>--&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>fontFamilyName</FONT><FONT=20 color=3D#0000ff size=3D1> </FONT><FONT color=3D#ff0000 = size=3D1>value</FONT><FONT=20 color=3D#0000ff size=3D1>=3D</FONT><FONT color=3D#000000 = size=3D1>"</FONT><FONT=20 color=3D#0000ff size=3D1>Microsoft Sans Serif</FONT><FONT = color=3D#000000=20 size=3D1>"</FONT><FONT color=3D#0000ff size=3D1>/&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>pointSize</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>6.75</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff size=3D1>=20 /&gt;</P> <P>&lt;/</FONT><FONT color=3D#800000 size=3D1>mapping</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>mapping</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>level</FONT><FONT = color=3D#0000ff size=3D1>=20 </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>FATAL</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1> /&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>textColorName</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>Black</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1> /&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>fontFamilyName</FONT><FONT=20 color=3D#0000ff size=3D1> </FONT><FONT color=3D#ff0000 = size=3D1>value</FONT><FONT=20 color=3D#0000ff size=3D1>=3D</FONT><FONT color=3D#000000 = size=3D1>"</FONT><FONT=20 color=3D#0000ff size=3D1>Microsoft Sans Serif</FONT><FONT = color=3D#000000=20 size=3D1>"</FONT><FONT color=3D#0000ff size=3D1>/&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>pointSize</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>6.75</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff size=3D1>=20 /&gt;</P> <P>&lt;/</FONT><FONT color=3D#800000 size=3D1>mapping</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P> <P>&lt;/</FONT><FONT color=3D#800000 size=3D1>code</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P> <P>&lt;/</FONT><FONT color=3D#800000 size=3D1>appender</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P> <P></P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>root</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>level</FONT><FONT = color=3D#0000ff size=3D1>=20 </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>DEBUG</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1> /&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>appender-ref</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>ref</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>BufferingForwardingAppender</FONT><FONT color=3D#000000=20 size=3D1>"</FONT><FONT color=3D#0000ff size=3D1> /&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>appender-ref</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>ref</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>MainFormRichTextAppender</FONT><FONT color=3D#000000 = size=3D1>"</FONT><FONT=20 color=3D#0000ff size=3D1>/&gt;</P> <P>&lt;/</FONT><FONT color=3D#800000 size=3D1>root</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P></FONT></FONT></SPAN></DIV><BR> <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft> <HR tabIndex=3D-1> <FONT face=3DTahoma size=3D2><B>From:</B> Michael Schall=20 [mailto:[email protected]] <BR><B>Sent:</B> mercredi 25 f=E9vrier = 2009=20 20:36<BR><B>To:</B> Log4NET User<BR><B>Subject:</B> Re: DEBUG vs=20 INFO<BR></FONT><BR></DIV> <DIV></DIV>What appenders are you using? I assume one of them is the = rolling=20 file appender? &nbsp;How large is the log file produced with the setting = at=20 DEBUG vs INFO?&nbsp; <DIV><BR></DIV> <DIV>If you need to keep the debug information you can look at=20 the&nbsp;BufferingForwardingAppender. &nbsp;The following will buffer = 255=20 messages before writing to the file, unless there is a WARN or higher = message,=20 then the buffer is flushed immediately. &nbsp;This should hopefully let = the=20 error message that crashes the system still make it to the log = file.:)</DIV> <DIV><BR></DIV> <DIV>&nbsp;I don't know how your loggers are setup, but you can turn off = at that=20 level as well. &nbsp;</DIV> <DIV><BR></DIV> <DIV> <DIV>&lt;log4net&gt;</DIV> <DIV><BR></DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN>&lt;appender=20 name=3D"BufferingForwardingAppender"=20 type=3D"log4net.Appender.BufferingForwardingAppender" &gt;</DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN>&lt;bufferSize=20 value=3D"255" /&gt;</DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN>&lt;lossy=20 value=3D"false" /&gt;</DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN>&lt;evaluator=20 type=3D"log4net.Core.LevelEvaluator"&gt;</DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN>&lt;threshold=20 value=3D"WARN"/&gt;</DIV> <DIV><SPAN class=3DApple-tab-span=20 style=3D"WHITE-SPACE: pre"></SPAN>&lt;/evaluator&gt;</DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN>&lt;appender-ref=20 ref=3D"RollingFile" /&gt;</DIV> <DIV><SPAN class=3DApple-tab-span=20 style=3D"WHITE-SPACE: pre"></SPAN>&lt;/appender&gt;</DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN></DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN>&lt;appender=20 name=3D"RollingFile" = type=3D"log4net.Appender.RollingFileAppender"&gt;</DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN>&lt;file=20 value=3D"..\..\log\web.log" /&gt;</DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN>&lt;appendToFile=20 value=3D"true" /&gt;</DIV> <DIV><SPAN class=3DApple-tab-span=20 style=3D"WHITE-SPACE: pre"></SPAN>&lt;maximumFileSize value=3D"100MB" = /&gt;</DIV> <DIV><SPAN class=3DApple-tab-span=20 style=3D"WHITE-SPACE: pre"></SPAN>&lt;maxSizeRollBackups value=3D"-1" = /&gt;</DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN>&lt;layout=20 type=3D"log4net.Layout.PatternLayout"&gt;</DIV> <DIV><SPAN class=3DApple-tab-span=20 style=3D"WHITE-SPACE: pre"></SPAN>&lt;conversionPattern value=3D"%5level = [%date]=20 [%thread] %-30.30logger{2}<SPAN class=3DApple-tab-span = style=3D"WHITE-SPACE: pre">=20 </SPAN>%message%newline" /&gt;</DIV> <DIV><SPAN class=3DApple-tab-span=20 style=3D"WHITE-SPACE: pre"></SPAN>&lt;/layout&gt;</DIV> <DIV><SPAN class=3DApple-tab-span=20 style=3D"WHITE-SPACE: pre"></SPAN>&lt;/appender&gt;</DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN></DIV> <DIV><SPAN class=3DApple-tab-span=20 style=3D"WHITE-SPACE: pre"></SPAN>&lt;root&gt;</DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN>&lt;level=20 value=3D"DEBUG" /&gt;</DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN>&lt;appender-ref=20 ref=3D"BufferingForwardingAppender" /&gt;</DIV> <DIV><SPAN class=3DApple-tab-span=20 style=3D"WHITE-SPACE: pre"></SPAN>&lt;/root&gt;</DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN></DIV> <DIV>&lt;/log4net&gt;</DIV><BR> <DIV class=3Dgmail_quote>On Wed, Feb 25, 2009 at 8:31 AM, Walden H. = Leverich <SPAN=20 dir=3Dltr>&lt;<A=20 href=3D"mailto:[email protected]">[email protected]</A>&gt;</= SPAN>=20 wrote:<BR> <BLOCKQUOTE class=3Dgmail_quote=20 style=3D"PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc = 1px solid">Graham,<BR><BR>That's=20 not a log4net issue as much as it's an issue in your = application.<BR>Sounds=20 like your application (like many) makes lots of log.Debug()<BR>calls, = to log,=20 um, debug information. By switching the logging from<BR>DEBUG to INFO = you've=20 stopped all those log entries from being written to<BR>disk. Even = more, if=20 your app developers were smart about it, they<BR>checked the = IsDebugEnabled=20 property before making the log.Debug() call,<BR>so you're not even = evaluating=20 the parms to that call, and sometimes that<BR>can be quite=20 expensive.<BR><BR>So, it's a "known issue" that logging more stuff = takes more=20 time, but I<BR>wouldn't call it a = bug.<BR><BR>-Walden<BR><BR>--<BR>Walden H=20 Leverich III<BR>Tech Software<BR>705-204-8822=20 x3051<BR>[email protected]<BR><A = href=3D"http://www.TechSoftInc.com"=20 target=3D_blank>http://www.TechSoftInc.com</A><BR><BR>Quiquid latine = dictum sit=20 altum viditur.<BR>(Whatever is said in Latin seems=20 profound.)<BR></BLOCKQUOTE></DIV><BR></DIV></BODY></HTML> ------_=_NextPart_001_01C997E9.8019478E-- ------------7NhE3WuB9OnU6N9D2A0R5Y7 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Ce message et ses pi=E8ces jointes (le "message") est destin=E9 à l'usage exclusif de son destinataire. Si vous recevez ce message par erreur, merci d'en aviser imm=E9diatement l'exp=E9diteur et de le d=E9truire ensuite. Le pr=E9sent message pouvant =EAtre alt=E9r=E9 =E0 notre insu, CALYON Cr=E9dit Agricole CIB ne peut pas =EAtre engag=E9 par son contenu. Tous droits r=E9serv=E9s. This message and/or any attachments (the "message") is intended for the sole use of its addressee. If you are not the addressee, please immediately notify the sender and then destroy the message. As this message and/or any attachments may have been altered without our knowledge, its content is not legally binding on CALYON Cr=E9dit Agricole CIB. All rights reserved. ------------7NhE3WuB9OnU6N9D2A0R5Y7-- From [email protected] Thu Feb 26 08:34:29 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82791 invoked from network); 26 Feb 2009 08:34:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Feb 2009 08:34:29 -0000 Received: (qmail 75483 invoked by uid 500); 26 Feb 2009 08:34:28 -0000 Delivered-To: [email protected] Received: (qmail 75456 invoked by uid 500); 26 Feb 2009 08:34:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 75447 invoked by uid 99); 26 Feb 2009 08:34:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Feb 2009 00:34:27 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=FUZZY_CREDIT,HTML_MESSAGE,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO smtpas2.calyon.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Feb 2009 08:34:15 +0000 Received: from pegase.dcmc.creditlyonnais.fr ([161.129.204.104]) by smtpas2.calyon.com with ESMTP; 26 Feb 2009 09:32:52 +0100 Received: from astree.capitalmarkets.fr.cly ([161.129.204.104] [161.129.204.104]) by pegase.dcmc.creditlyonnais.fr with ESMTP for [email protected]; Thu, 26 Feb 2009 09:40:30 +0100 Received: from MXMXPA21.MSX.CIB (MXMXPA21.MSX.CIB [161.129.204.104]) by astree.capitalmarkets.fr.cly with ESMTP for [email protected]; Thu, 26 Feb 2009 09:33:54 +0100 Received: from MXMXPA26.MSX.CIB ([161.129.204.104]) by MXMXPA21.MSX.CIB with Microsoft SMTPSVC705-204-8822); Thu, 26 Feb 2009 09:33:54 +0100 Received: from MXCU02MX1.MSX.CIB ([161.129.204.104]) by MXMXPA26.MSX.CIB with Microsoft SMTPSVC705-204-8822); Thu, 26 Feb 2009 09:33:53 +0100 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----------7NhE3WuB9OnU6N9D2A0R5Y7" X-MimeOLE: Produced By Microsoft Exchange V6.5 Subject: RE: DEBUG vs INFO Date: Thu, 26 Feb 2009 09:33:53 +0100 Message-Id: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: DEBUG vs INFO Thread-Index: AcmXgGQnILtf0tbOSbOqEdRJIOibVwAaIpOwAADwUlA= References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> From: Graham Walsh <[email protected]> To: "Log4NET User" <[email protected]> X-OriginalArrivalTime: 26 Feb 2009 08:33:53.0975 (UTC) FILETIME=[F5447470:01C997EC] X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------------7NhE3WuB9OnU6N9D2A0R5Y7 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C997EC.F58612E6" This is a multi-part message in MIME format. ------_=_NextPart_001_01C997EC.F58612E6 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sorry, ignore that last email, its actually working as I want.=20 =20 Does anybody know if its possible to configure a RichTextBoxAppender = (log output goes to a rich text box, its a contribution by another = engineer not the original author(s) of log4net, (I think). If I can get = buffering in place for the RichTextBox appender, I will have the same = output but without the overhead (i.e. DEBUG info at no price.. so to = speak). =20 thanks =20 Graham ________________________________ From: WALSH, Graham (CALYON)=20 Sent: jeudi 26 f=E9vrier 2009 09:09 To: Log4NET User Subject: RE: DEBUG vs INFO sorry, but I'm having trouble with one part of this config, I always do. = I have taken the BufferingForwardingAppender and put it in place, its = works a treat.=20 =20 I've also got another appender which is used to display log output in = the GUI window. Now I want BufferingForwardingAppender (which logs to = file) to log at debug level but my other appender (RichTextFormAppender) = to log at just INFO level. I can't get this working though. =20 My (messy) log4net stuff looks like this, could anybody let me know how = I can get the two levels of logging in place? Once thats done, I'm water = tight in terms of delivery =20 thanks much =20 Graham =20 =20 <log4net> <appender name=3D"BufferingForwardingAppender" = type=3D"log4net.Appender.BufferingForwardingAppender" > <bufferSize value=3D"255" /> <lossy value=3D"false" /> <evaluator type=3D"log4net.Core.LevelEvaluator"> <threshold value=3D"DEBUG"/> </evaluator> <appender-ref ref=3D"RollingFile" /> </appender> <appender name=3D"RollingFile" = type=3D"log4net.Appender.RollingFileAppender"> <file value=3D"logs/NewLogFile.log" /> <appendToFile value=3D"true" /> <maximumFileSize value=3D"100MB" /> <maxSizeRollBackups value=3D"-1" /> <layout type=3D"log4net.Layout.PatternLayout"> <conversionPattern value=3D"%5level [%date] [%thread] %-30.30logger{2} = %message%newline" /> </layout> </appender> <appender name=3D"MainFormRichTextAppender" = type=3D"log4net.Appender.RichTextBoxAppender"> <appendToFile value=3D"true" /> <maximumFileSize value=3D"250000KB" /> <maxSizeRollBackups value=3D"2" /> <layout type=3D"log4net.Layout.PatternLayout"> <conversionPattern value=3D"%date [%-2thread] %-5level %-70logger - = %message%newline" /> </layout> <code lang=3D"XML" escaped=3D"true"> <mapping> <level value=3D"DEBUG" /> <textColorName value=3D"DarkGreen" /> <fontFamilyName value=3D"Microsoft Sans Serif"/> <pointSize value=3D"6.75" /> </mapping> <mapping> <level value=3D"INFO" /> <textColorName value=3D"Black" /> <fontFamilyName value=3D"Microsoft Sans Serif"/> <pointSize value=3D"6.75" /> </mapping> <mapping> <level value=3D"WARN" /> <textColorName value=3D"Blue" /> <fontFamilyName value=3D"Microsoft Sans Serif"/> <pointSize value=3D"6.75" /> </mapping> <mapping> <level value=3D"ERROR" /> <textColorName value=3D"Red" /> <!--<bold value=3D"true" />--> <fontFamilyName value=3D"Microsoft Sans Serif"/> <pointSize value=3D"6.75" /> </mapping> <mapping> <level value=3D"FATAL" /> <textColorName value=3D"Black" /> <fontFamilyName value=3D"Microsoft Sans Serif"/> <pointSize value=3D"6.75" /> </mapping> </code> </appender> <root> <level value=3D"DEBUG" /> <appender-ref ref=3D"BufferingForwardingAppender" /> <appender-ref ref=3D"MainFormRichTextAppender"/> </root> ________________________________ From: Michael Schall [mailto:[email protected]]=20 Sent: mercredi 25 f=E9vrier 2009 20:36 To: Log4NET User Subject: Re: DEBUG vs INFO What appenders are you using? I assume one of them is the rolling file = appender? How large is the log file produced with the setting at DEBUG = vs INFO? =20 If you need to keep the debug information you can look at the = BufferingForwardingAppender. The following will buffer 255 messages = before writing to the file, unless there is a WARN or higher message, = then the buffer is flushed immediately. This should hopefully let the = error message that crashes the system still make it to the log file.:) I don't know how your loggers are setup, but you can turn off at that = level as well. =20 <log4net> <appender name=3D"BufferingForwardingAppender" = type=3D"log4net.Appender.BufferingForwardingAppender" > <bufferSize value=3D"255" /> <lossy value=3D"false" /> <evaluator type=3D"log4net.Core.LevelEvaluator"> <threshold value=3D"WARN"/> </evaluator> <appender-ref ref=3D"RollingFile" /> </appender> <appender name=3D"RollingFile" = type=3D"log4net.Appender.RollingFileAppender"> <file value=3D"..\..\log\web.log" /> <appendToFile value=3D"true" /> <maximumFileSize value=3D"100MB" /> <maxSizeRollBackups value=3D"-1" /> <layout type=3D"log4net.Layout.PatternLayout"> <conversionPattern value=3D"%5level [%date] [%thread] %-30.30logger{2} = %message%newline" /> </layout> </appender> <root> <level value=3D"DEBUG" /> <appender-ref ref=3D"BufferingForwardingAppender" /> </root> </log4net> On Wed, Feb 25, 2009 at 8:31 AM, Walden H. Leverich = <[email protected]> wrote: Graham, =09 That's not a log4net issue as much as it's an issue in your = application. Sounds like your application (like many) makes lots of log.Debug() calls, to log, um, debug information. By switching the logging from DEBUG to INFO you've stopped all those log entries from being written = to disk. Even more, if your app developers were smart about it, they checked the IsDebugEnabled property before making the log.Debug() call, so you're not even evaluating the parms to that call, and sometimes = that can be quite expensive. =09 So, it's a "known issue" that logging more stuff takes more time, but I wouldn't call it a bug. =09 -Walden =09 -- Walden H Leverich III Tech Software 705-204-8822 [email protected] http://www.TechSoftInc.com =09 Quiquid latine dictum sit altum viditur. (Whatever is said in Latin seems profound.) =09 ------_=_NextPart_001_01C997EC.F58612E6 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2900.3492" name=3DGENERATOR></HEAD> <BODY> <DIV dir=3Dltr align=3Dleft><SPAN class=3D319573108-26022009><FONT = face=3DArial=20 color=3D#0000ff size=3D2>Sorry, ignore that last email, its actually = working as I=20 want. </FONT></SPAN></DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D319573108-26022009><FONT = face=3DArial=20 color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D319573108-26022009><FONT = face=3DArial=20 color=3D#0000ff size=3D2>Does anybody know if its possible to configure = a=20 RichTextBoxAppender (log output goes to a rich text box, its a = contribution by=20 another engineer not the original author(s) of log4net, (I think). If I = can get=20 buffering in place for the RichTextBox appender, I will have the same = output but=20 without the overhead (i.e. DEBUG info at no price.. so to=20 speak).</FONT></SPAN></DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D319573108-26022009><FONT = face=3DArial=20 color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D319573108-26022009><FONT = face=3DArial=20 color=3D#0000ff size=3D2>thanks</FONT></SPAN></DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D319573108-26022009><FONT = face=3DArial=20 color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D319573108-26022009><FONT = face=3DArial=20 color=3D#0000ff size=3D2>Graham</FONT></SPAN></DIV><BR> <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft> <HR tabIndex=3D-1> <FONT face=3DTahoma size=3D2><B>From:</B> WALSH, Graham (CALYON) = <BR><B>Sent:</B>=20 jeudi 26 f=E9vrier 2009 09:09<BR><B>To:</B> Log4NET = User<BR><B>Subject:</B> RE:=20 DEBUG vs INFO<BR></FONT><BR></DIV> <DIV></DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D553040508-26022009><FONT = face=3DArial=20 color=3D#0000ff size=3D2>sorry, but I'm having trouble with one part of = this config,=20 I always do. I have taken the BufferingForwardingAppender and put it in = place,=20 its works a treat. </FONT></SPAN></DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D553040508-26022009><FONT = face=3DArial=20 color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D553040508-26022009><FONT = face=3DArial=20 color=3D#0000ff size=3D2>I've also got another appender which is used=20 to&nbsp;display log output in the GUI window. Now I want=20 BufferingForwardingAppender&nbsp; (which logs to file) to log at debug = level but=20 my other appender (RichTextFormAppender) to log at just INFO level. I = can't get=20 this working though.</FONT></SPAN></DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D553040508-26022009><FONT = face=3DArial=20 color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D553040508-26022009><FONT = face=3DArial=20 color=3D#0000ff size=3D2>My (messy) log4net stuff looks like this, could = anybody let=20 me know how I can get the two levels of logging in place? Once thats = done, I'm=20 water tight in terms of delivery</FONT></SPAN></DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D553040508-26022009><FONT = face=3DArial=20 color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D553040508-26022009><FONT = face=3DArial=20 color=3D#0000ff size=3D2>thanks much</FONT></SPAN></DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D553040508-26022009><FONT = face=3DArial=20 color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D553040508-26022009><FONT = face=3DArial=20 color=3D#0000ff size=3D2>Graham</FONT></SPAN></DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D553040508-26022009><FONT = face=3DArial=20 color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D553040508-26022009><FONT = face=3DArial=20 color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D553040508-26022009><FONT = face=3DArial=20 color=3D#0000ff size=3D2><FONT color=3D#0000ff size=3D1> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>log4net</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>appender</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>name</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>BufferingForwardingAppender</FONT><FONT color=3D#000000=20 size=3D1>"</FONT><FONT color=3D#0000ff size=3D1> </FONT><FONT = color=3D#ff0000=20 size=3D1>type</FONT><FONT color=3D#0000ff size=3D1>=3D</FONT><FONT = color=3D#000000=20 size=3D1>"</FONT><FONT color=3D#0000ff=20 size=3D1>log4net.Appender.BufferingForwardingAppender</FONT><FONT = color=3D#000000=20 size=3D1>"</FONT><FONT color=3D#0000ff size=3D1> &gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>bufferSize</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>255</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff size=3D1>=20 /&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>lossy</FONT><FONT = color=3D#0000ff size=3D1>=20 </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>false</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1> /&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>evaluator</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>type</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>log4net.Core.LevelEvaluator</FONT><FONT color=3D#000000=20 size=3D1>"</FONT><FONT color=3D#0000ff size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>threshold</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>DEBUG</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>/&gt;</P> <P>&lt;/</FONT><FONT color=3D#800000 size=3D1>evaluator</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>appender-ref</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>ref</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>RollingFile</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1> /&gt;</P> <P>&lt;/</FONT><FONT color=3D#800000 size=3D1>appender</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>appender</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>name</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>RollingFile</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>type</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>log4net.Appender.RollingFileAppender</FONT><FONT = color=3D#000000=20 size=3D1>"</FONT><FONT color=3D#0000ff size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>file</FONT><FONT = color=3D#0000ff size=3D1>=20 </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>logs/NewLogFile.log</FONT><FONT color=3D#000000 = size=3D1>"</FONT><FONT=20 color=3D#0000ff size=3D1> /&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>appendToFile</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>true</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff size=3D1>=20 /&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>maximumFileSize</FONT><FONT = color=3D#0000ff size=3D1> </FONT><FONT color=3D#ff0000 = size=3D1>value</FONT><FONT=20 color=3D#0000ff size=3D1>=3D</FONT><FONT color=3D#000000 = size=3D1>"</FONT><FONT=20 color=3D#0000ff size=3D1>100MB</FONT><FONT color=3D#000000 = size=3D1>"</FONT><FONT=20 color=3D#0000ff size=3D1> /&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 = size=3D1>maxSizeRollBackups</FONT><FONT=20 color=3D#0000ff size=3D1> </FONT><FONT color=3D#ff0000 = size=3D1>value</FONT><FONT=20 color=3D#0000ff size=3D1>=3D</FONT><FONT color=3D#000000 = size=3D1>"</FONT><FONT=20 color=3D#0000ff size=3D1>-1</FONT><FONT color=3D#000000 = size=3D1>"</FONT><FONT=20 color=3D#0000ff size=3D1> /&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>layout</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>type</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>log4net.Layout.PatternLayout</FONT><FONT color=3D#000000=20 size=3D1>"</FONT><FONT color=3D#0000ff size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 = size=3D1>conversionPattern</FONT><FONT=20 color=3D#0000ff size=3D1> </FONT><FONT color=3D#ff0000 = size=3D1>value</FONT><FONT=20 color=3D#0000ff size=3D1>=3D</FONT><FONT color=3D#000000 = size=3D1>"</FONT><FONT=20 color=3D#0000ff size=3D1>%5level [%date] [%thread] %-30.30logger{2}=20 %message%newline</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1> /&gt;</P> <P>&lt;/</FONT><FONT color=3D#800000 size=3D1>layout</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P> <P>&lt;/</FONT><FONT color=3D#800000 size=3D1>appender</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>appender</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>name</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>MainFormRichTextAppender</FONT><FONT color=3D#000000 = size=3D1>"</FONT><FONT=20 color=3D#0000ff size=3D1> </FONT><FONT color=3D#ff0000 = size=3D1>type</FONT><FONT=20 color=3D#0000ff size=3D1>=3D</FONT><FONT color=3D#000000 = size=3D1>"</FONT><FONT=20 color=3D#0000ff = size=3D1>log4net.Appender.RichTextBoxAppender</FONT><FONT=20 color=3D#000000 size=3D1>"</FONT><FONT color=3D#0000ff size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>appendToFile</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>true</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff size=3D1>=20 /&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>maximumFileSize</FONT><FONT = color=3D#0000ff size=3D1> </FONT><FONT color=3D#ff0000 = size=3D1>value</FONT><FONT=20 color=3D#0000ff size=3D1>=3D</FONT><FONT color=3D#000000 = size=3D1>"</FONT><FONT=20 color=3D#0000ff size=3D1>250000KB</FONT><FONT color=3D#000000 = size=3D1>"</FONT><FONT=20 color=3D#0000ff size=3D1> /&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 = size=3D1>maxSizeRollBackups</FONT><FONT=20 color=3D#0000ff size=3D1> </FONT><FONT color=3D#ff0000 = size=3D1>value</FONT><FONT=20 color=3D#0000ff size=3D1>=3D</FONT><FONT color=3D#000000 = size=3D1>"</FONT><FONT=20 color=3D#0000ff size=3D1>2</FONT><FONT color=3D#000000 = size=3D1>"</FONT><FONT=20 color=3D#0000ff size=3D1> /&gt;</P> <P></P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>layout</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>type</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>log4net.Layout.PatternLayout</FONT><FONT color=3D#000000=20 size=3D1>"</FONT><FONT color=3D#0000ff size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 = size=3D1>conversionPattern</FONT><FONT=20 color=3D#0000ff size=3D1> </FONT><FONT color=3D#ff0000 = size=3D1>value</FONT><FONT=20 color=3D#0000ff size=3D1>=3D</FONT><FONT color=3D#000000 = size=3D1>"</FONT><FONT=20 color=3D#0000ff size=3D1>%date [%-2thread] %-5level %-70logger -=20 %message%newline</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1> /&gt;</P> <P>&lt;/</FONT><FONT color=3D#800000 size=3D1>layout</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>code</FONT><FONT = color=3D#0000ff size=3D1>=20 </FONT><FONT color=3D#ff0000 size=3D1>lang</FONT><FONT color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>XML</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff size=3D1>=20 </FONT><FONT color=3D#ff0000 size=3D1>escaped</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>true</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>mapping</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>level</FONT><FONT = color=3D#0000ff size=3D1>=20 </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>DEBUG</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1> /&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>textColorName</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>DarkGreen</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1> /&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>fontFamilyName</FONT><FONT=20 color=3D#0000ff size=3D1> </FONT><FONT color=3D#ff0000 = size=3D1>value</FONT><FONT=20 color=3D#0000ff size=3D1>=3D</FONT><FONT color=3D#000000 = size=3D1>"</FONT><FONT=20 color=3D#0000ff size=3D1>Microsoft Sans Serif</FONT><FONT = color=3D#000000=20 size=3D1>"</FONT><FONT color=3D#0000ff size=3D1>/&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>pointSize</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>6.75</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff size=3D1>=20 /&gt;</P> <P>&lt;/</FONT><FONT color=3D#800000 size=3D1>mapping</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>mapping</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>level</FONT><FONT = color=3D#0000ff size=3D1>=20 </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>INFO</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff size=3D1>=20 /&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>textColorName</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>Black</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1> /&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>fontFamilyName</FONT><FONT=20 color=3D#0000ff size=3D1> </FONT><FONT color=3D#ff0000 = size=3D1>value</FONT><FONT=20 color=3D#0000ff size=3D1>=3D</FONT><FONT color=3D#000000 = size=3D1>"</FONT><FONT=20 color=3D#0000ff size=3D1>Microsoft Sans Serif</FONT><FONT = color=3D#000000=20 size=3D1>"</FONT><FONT color=3D#0000ff size=3D1>/&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>pointSize</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>6.75</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff size=3D1>=20 /&gt;</P> <P>&lt;/</FONT><FONT color=3D#800000 size=3D1>mapping</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>mapping</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>level</FONT><FONT = color=3D#0000ff size=3D1>=20 </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>WARN</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff size=3D1>=20 /&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>textColorName</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>Blue</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff size=3D1>=20 /&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>fontFamilyName</FONT><FONT=20 color=3D#0000ff size=3D1> </FONT><FONT color=3D#ff0000 = size=3D1>value</FONT><FONT=20 color=3D#0000ff size=3D1>=3D</FONT><FONT color=3D#000000 = size=3D1>"</FONT><FONT=20 color=3D#0000ff size=3D1>Microsoft Sans Serif</FONT><FONT = color=3D#000000=20 size=3D1>"</FONT><FONT color=3D#0000ff size=3D1>/&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>pointSize</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>6.75</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff size=3D1>=20 /&gt;</P> <P>&lt;/</FONT><FONT color=3D#800000 size=3D1>mapping</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>mapping</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>level</FONT><FONT = color=3D#0000ff size=3D1>=20 </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>ERROR</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1> /&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>textColorName</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>Red</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff size=3D1>=20 /&gt;</P> <P>&lt;!--</FONT><FONT color=3D#008000 size=3D1>&lt;bold value=3D"true"=20 /&gt;</FONT><FONT color=3D#0000ff size=3D1>--&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>fontFamilyName</FONT><FONT=20 color=3D#0000ff size=3D1> </FONT><FONT color=3D#ff0000 = size=3D1>value</FONT><FONT=20 color=3D#0000ff size=3D1>=3D</FONT><FONT color=3D#000000 = size=3D1>"</FONT><FONT=20 color=3D#0000ff size=3D1>Microsoft Sans Serif</FONT><FONT = color=3D#000000=20 size=3D1>"</FONT><FONT color=3D#0000ff size=3D1>/&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>pointSize</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>6.75</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff size=3D1>=20 /&gt;</P> <P>&lt;/</FONT><FONT color=3D#800000 size=3D1>mapping</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>mapping</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>level</FONT><FONT = color=3D#0000ff size=3D1>=20 </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>FATAL</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1> /&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>textColorName</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>Black</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1> /&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>fontFamilyName</FONT><FONT=20 color=3D#0000ff size=3D1> </FONT><FONT color=3D#ff0000 = size=3D1>value</FONT><FONT=20 color=3D#0000ff size=3D1>=3D</FONT><FONT color=3D#000000 = size=3D1>"</FONT><FONT=20 color=3D#0000ff size=3D1>Microsoft Sans Serif</FONT><FONT = color=3D#000000=20 size=3D1>"</FONT><FONT color=3D#0000ff size=3D1>/&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>pointSize</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>6.75</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff size=3D1>=20 /&gt;</P> <P>&lt;/</FONT><FONT color=3D#800000 size=3D1>mapping</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P> <P>&lt;/</FONT><FONT color=3D#800000 size=3D1>code</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P> <P>&lt;/</FONT><FONT color=3D#800000 size=3D1>appender</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P> <P></P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>root</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>level</FONT><FONT = color=3D#0000ff size=3D1>=20 </FONT><FONT color=3D#ff0000 size=3D1>value</FONT><FONT color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>DEBUG</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1> /&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>appender-ref</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>ref</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>BufferingForwardingAppender</FONT><FONT color=3D#000000=20 size=3D1>"</FONT><FONT color=3D#0000ff size=3D1> /&gt;</P> <P>&lt;</FONT><FONT color=3D#800000 size=3D1>appender-ref</FONT><FONT = color=3D#0000ff=20 size=3D1> </FONT><FONT color=3D#ff0000 size=3D1>ref</FONT><FONT = color=3D#0000ff=20 size=3D1>=3D</FONT><FONT color=3D#000000 size=3D1>"</FONT><FONT = color=3D#0000ff=20 size=3D1>MainFormRichTextAppender</FONT><FONT color=3D#000000 = size=3D1>"</FONT><FONT=20 color=3D#0000ff size=3D1>/&gt;</P> <P>&lt;/</FONT><FONT color=3D#800000 size=3D1>root</FONT><FONT = color=3D#0000ff=20 size=3D1>&gt;</P></FONT></FONT></SPAN></DIV><BR> <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft> <HR tabIndex=3D-1> <FONT face=3DTahoma size=3D2><B>From:</B> Michael Schall=20 [mailto:[email protected]] <BR><B>Sent:</B> mercredi 25 f=E9vrier = 2009=20 20:36<BR><B>To:</B> Log4NET User<BR><B>Subject:</B> Re: DEBUG vs=20 INFO<BR></FONT><BR></DIV> <DIV></DIV>What appenders are you using? I assume one of them is the = rolling=20 file appender? &nbsp;How large is the log file produced with the setting = at=20 DEBUG vs INFO?&nbsp;=20 <DIV><BR></DIV> <DIV>If you need to keep the debug information you can look at=20 the&nbsp;BufferingForwardingAppender. &nbsp;The following will buffer = 255=20 messages before writing to the file, unless there is a WARN or higher = message,=20 then the buffer is flushed immediately. &nbsp;This should hopefully let = the=20 error message that crashes the system still make it to the log = file.:)</DIV> <DIV><BR></DIV> <DIV>&nbsp;I don't know how your loggers are setup, but you can turn off = at that=20 level as well. &nbsp;</DIV> <DIV><BR></DIV> <DIV> <DIV>&lt;log4net&gt;</DIV> <DIV><BR></DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN>&lt;appender=20 name=3D"BufferingForwardingAppender"=20 type=3D"log4net.Appender.BufferingForwardingAppender" &gt;</DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN>&lt;bufferSize=20 value=3D"255" /&gt;</DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN>&lt;lossy=20 value=3D"false" /&gt;</DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN>&lt;evaluator=20 type=3D"log4net.Core.LevelEvaluator"&gt;</DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN>&lt;threshold=20 value=3D"WARN"/&gt;</DIV> <DIV><SPAN class=3DApple-tab-span=20 style=3D"WHITE-SPACE: pre"></SPAN>&lt;/evaluator&gt;</DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN>&lt;appender-ref=20 ref=3D"RollingFile" /&gt;</DIV> <DIV><SPAN class=3DApple-tab-span=20 style=3D"WHITE-SPACE: pre"></SPAN>&lt;/appender&gt;</DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN></DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN>&lt;appender=20 name=3D"RollingFile" = type=3D"log4net.Appender.RollingFileAppender"&gt;</DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN>&lt;file=20 value=3D"..\..\log\web.log" /&gt;</DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN>&lt;appendToFile=20 value=3D"true" /&gt;</DIV> <DIV><SPAN class=3DApple-tab-span=20 style=3D"WHITE-SPACE: pre"></SPAN>&lt;maximumFileSize value=3D"100MB" = /&gt;</DIV> <DIV><SPAN class=3DApple-tab-span=20 style=3D"WHITE-SPACE: pre"></SPAN>&lt;maxSizeRollBackups value=3D"-1" = /&gt;</DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN>&lt;layout=20 type=3D"log4net.Layout.PatternLayout"&gt;</DIV> <DIV><SPAN class=3DApple-tab-span=20 style=3D"WHITE-SPACE: pre"></SPAN>&lt;conversionPattern value=3D"%5level = [%date]=20 [%thread] %-30.30logger{2}<SPAN class=3DApple-tab-span = style=3D"WHITE-SPACE: pre">=20 </SPAN>%message%newline" /&gt;</DIV> <DIV><SPAN class=3DApple-tab-span=20 style=3D"WHITE-SPACE: pre"></SPAN>&lt;/layout&gt;</DIV> <DIV><SPAN class=3DApple-tab-span=20 style=3D"WHITE-SPACE: pre"></SPAN>&lt;/appender&gt;</DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN></DIV> <DIV><SPAN class=3DApple-tab-span=20 style=3D"WHITE-SPACE: pre"></SPAN>&lt;root&gt;</DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN>&lt;level=20 value=3D"DEBUG" /&gt;</DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN>&lt;appender-ref=20 ref=3D"BufferingForwardingAppender" /&gt;</DIV> <DIV><SPAN class=3DApple-tab-span=20 style=3D"WHITE-SPACE: pre"></SPAN>&lt;/root&gt;</DIV> <DIV><SPAN class=3DApple-tab-span style=3D"WHITE-SPACE: = pre"></SPAN></DIV> <DIV>&lt;/log4net&gt;</DIV><BR> <DIV class=3Dgmail_quote>On Wed, Feb 25, 2009 at 8:31 AM, Walden H. = Leverich <SPAN=20 dir=3Dltr>&lt;<A=20 href=3D"mailto:[email protected]">[email protected]</A>&gt;</= SPAN>=20 wrote:<BR> <BLOCKQUOTE class=3Dgmail_quote=20 style=3D"PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc = 1px solid">Graham,<BR><BR>That's=20 not a log4net issue as much as it's an issue in your = application.<BR>Sounds=20 like your application (like many) makes lots of log.Debug()<BR>calls, = to log,=20 um, debug information. By switching the logging from<BR>DEBUG to INFO = you've=20 stopped all those log entries from being written to<BR>disk. Even = more, if=20 your app developers were smart about it, they<BR>checked the = IsDebugEnabled=20 property before making the log.Debug() call,<BR>so you're not even = evaluating=20 the parms to that call, and sometimes that<BR>can be quite=20 expensive.<BR><BR>So, it's a "known issue" that logging more stuff = takes more=20 time, but I<BR>wouldn't call it a = bug.<BR><BR>-Walden<BR><BR>--<BR>Walden H=20 Leverich III<BR>Tech Software<BR>705-204-8822=20 x3051<BR>[email protected]<BR><A = href=3D"http://www.TechSoftInc.com"=20 target=3D_blank>http://www.TechSoftInc.com</A><BR><BR>Quiquid latine = dictum sit=20 altum viditur.<BR>(Whatever is said in Latin seems=20 profound.)<BR></BLOCKQUOTE></DIV><BR></DIV></BODY></HTML> ------_=_NextPart_001_01C997EC.F58612E6-- ------------7NhE3WuB9OnU6N9D2A0R5Y7 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Ce message et ses pi=E8ces jointes (le "message") est destin=E9 à l'usage exclusif de son destinataire. Si vous recevez ce message par erreur, merci d'en aviser imm=E9diatement l'exp=E9diteur et de le d=E9truire ensuite. Le pr=E9sent message pouvant =EAtre alt=E9r=E9 =E0 notre insu, CALYON Cr=E9dit Agricole CIB ne peut pas =EAtre engag=E9 par son contenu. Tous droits r=E9serv=E9s. This message and/or any attachments (the "message") is intended for the sole use of its addressee. If you are not the addressee, please immediately notify the sender and then destroy the message. As this message and/or any attachments may have been altered without our knowledge, its content is not legally binding on CALYON Cr=E9dit Agricole CIB. All rights reserved. ------------7NhE3WuB9OnU6N9D2A0R5Y7-- From [email protected] Thu Feb 26 10:37:41 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54171 invoked from network); 26 Feb 2009 10:37:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Feb 2009 10:37:41 -0000 Received: (qmail 95029 invoked by uid 500); 26 Feb 2009 10:37:39 -0000 Delivered-To: [email protected] Received: (qmail 94995 invoked by uid 500); 26 Feb 2009 10:37:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 94986 invoked by uid 99); 26 Feb 2009 10:37:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Feb 2009 02:37:38 -0800 X-ASF-Spam-Status: No, hits=3.4 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO e500.bruker.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 26 Feb 2009 10:37:30 +0000 Received: from (unknown [161.129.204.104]) by e500.bruker.de with smtp id 5353_67bb32c6_03f1_11de_b5c8_001143e467f7; Thu, 26 Feb 2009 11:37:02 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C997FE.295EE202" Subject: ILayout.Format: must it be thread safe ? Date: Thu, 26 Feb 2009 11:37:02 +0100 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: ILayout.Format: must it be thread safe ? Thread-Index: AcmX/ikM0LEzg4QlR8qtmqgBWmB9ng== From: "Knittel Bruno" <[email protected]> To: "Log4NET User" <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------_=_NextPart_001_01C997FE.295EE202 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello Everyone, =20 I want to develop my own Xml Layout and thus took a look at the XmlLayoutBase and XmlLayoutSchemaLog4j source code. My Layout will inherit from XmlLayoutBase. =20 I am just wondering, and did not found the answer in the SDK Reference: must the ILayout.Format method be thread safe? =20 Thanks in advance, =20 Bruno ------_=_NextPart_001_01C997FE.295EE202 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <META content=3D"MSHTML 6.00.6001.18183" name=3DGENERATOR></HEAD> <BODY> <DIV><SPAN class=3D306043410-26022009><FONT face=3DArial size=3D2>Hello=20 Everyone,</FONT></SPAN></DIV> <DIV><SPAN class=3D306043410-26022009><FONT face=3DArial=20 size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV><SPAN class=3D306043410-26022009>&nbsp;&nbsp;&nbsp; <FONT = face=3DArial size=3D2>I=20 want to develop my own Xml Layout and thus took a look at the=20 XmlLayoutBase</FONT></SPAN></DIV> <DIV><SPAN class=3D306043410-26022009><FONT face=3DArial size=3D2>and=20 XmlLayoutSchemaLog4j source code. My Layout will inherit from=20 XmlLayoutBase.</FONT></SPAN></DIV> <DIV><SPAN class=3D306043410-26022009><FONT face=3DArial=20 size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV><SPAN class=3D306043410-26022009>&nbsp;&nbsp;&nbsp; <FONT = face=3DArial size=3D2>I=20 am just wondering, and did not found the answer in the SDK=20 Reference:</FONT></SPAN></DIV> <DIV><SPAN class=3D306043410-26022009><FONT face=3DArial=20 size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;must </FONT></SPAN><SPAN=20 class=3D306043410-26022009><FONT face=3DArial size=3D2>the = ILayout.Format method be=20 thread safe?</FONT></SPAN></DIV> <DIV><SPAN class=3D306043410-26022009><FONT face=3DArial=20 size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV><SPAN class=3D306043410-26022009>&nbsp;&nbsp;&nbsp; <FONT = face=3DArial=20 size=3D2>Thanks in advance,</FONT></SPAN></DIV> <DIV><SPAN class=3D306043410-26022009><FONT face=3DArial=20 size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV><SPAN class=3D306043410-26022009><FONT face=3DArial=20 size=3D2>Bruno</FONT></SPAN></DIV></BODY></HTML> ------_=_NextPart_001_01C997FE.295EE202-- From [email protected] Thu Feb 26 16:28:07 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20048 invoked from network); 26 Feb 2009 16:28:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Feb 2009 16:28:07 -0000 Received: (qmail 80499 invoked by uid 500); 26 Feb 2009 16:28:04 -0000 Delivered-To: [email protected] Received: (qmail 80473 invoked by uid 500); 26 Feb 2009 16:28:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 80464 invoked by uid 99); 26 Feb 2009 16:28:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Feb 2009 08:28:04 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail.techsoftwareinc.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Feb 2009 16:27:53 +0000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C9982F.1FEC77B2" Subject: RE: DEBUG vs INFO Date: Thu, 26 Feb 2009 11:27:31 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: DEBUG vs INFO Thread-Index: AcmXgGQnILtf0tbOSbOqEdRJIOibVwAaIpOwAADwUlAAEH8a8A== References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> From: "Walden H. Leverich" <[email protected]> To: "Log4NET User" <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------_=_NextPart_001_01C9982F.1FEC77B2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable > DEBUG info at no price.. so to speak =20 Can't help on the buffering, but your comment above isn't necessarily correct at any rate. It depends on where the performance his of the Debug() call is. Sure there's a hit on writing the log to disk, and the buffering helps there, but there is also the hit of generating the text for the debug call in the first place. There's the method call, there's the string concatenation, there's likely numerous .ToString() calls, if you're looking for line#s in the log file then there's the (high) cost of getting that information. None of these issues will be removed by buffering the write to disk. I'm not saying buffing won't buy you something, it will. But it doesn't give you DEBUG at no price. =20 -Walden =20 --=20 Walden H Leverich III Tech Software 705-204-8822 [email protected] <mailto:[email protected]>=20 http://www.TechSoftInc.com <http://www.techsoftinc.com/>=20 =20 Quiquid latine dictum sit altum viditur. (Whatever is said in Latin seems profound.) ------_=_NextPart_001_01C9982F.1FEC77B2 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:x=3D"urn:schemas-microsoft-com:office:excel" = xmlns:p=3D"urn:schemas-microsoft-com:office:powerpoint" = xmlns:a=3D"urn:schemas-microsoft-com:office:access" = xmlns:dt=3D"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" = xmlns:s=3D"uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" = xmlns:rs=3D"urn:schemas-microsoft-com:rowset" xmlns:z=3D"#RowsetSchema" = xmlns:b=3D"urn:schemas-microsoft-com:office:publisher" = xmlns:ss=3D"urn:schemas-microsoft-com:office:spreadsheet" = xmlns:c=3D"urn:schemas-microsoft-com:office:component:spreadsheet" = xmlns:odc=3D"urn:schemas-microsoft-com:office:odc" = xmlns:oa=3D"urn:schemas-microsoft-com:office:activation" = xmlns:html=3D"http://www.w3.org/TR/REC-html40" = xmlns:q=3D"http://schemas.xmlsoap.org/soap/envelope/" xmlns:D=3D"DAV:" = xmlns:x2=3D"http://schemas.microsoft.com/office/excel/2003/xml" = xmlns:ois=3D"http://schemas.microsoft.com/sharepoint/soap/ois/" = xmlns:dir=3D"http://schemas.microsoft.com/sharepoint/soap/directory/" = xmlns:ds=3D"http://www.w3.org/2000/09/xmldsig#" = xmlns:dsp=3D"http://schemas.microsoft.com/sharepoint/dsp" = xmlns:udc=3D"http://schemas.microsoft.com/data/udc" = xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" = xmlns:sub=3D"http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/"= xmlns:ec=3D"http://www.w3.org/2001/04/xmlenc#" = xmlns:sp=3D"http://schemas.microsoft.com/sharepoint/" = xmlns:sps=3D"http://schemas.microsoft.com/sharepoint/soap/" = xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" = xmlns:udcs=3D"http://schemas.microsoft.com/data/udc/soap" = xmlns:udcxf=3D"http://schemas.microsoft.com/data/udc/xmlfile" = xmlns:udcp2p=3D"http://schemas.microsoft.com/data/udc/parttopart" = xmlns:wf=3D"http://schemas.microsoft.com/sharepoint/soap/workflow/" = xmlns:dsss=3D"http://schemas.microsoft.com/office/2006/digsig-setup" = xmlns:dssi=3D"http://schemas.microsoft.com/office/2006/digsig" = xmlns:mdssi=3D"http://schemas.openxmlformats.org/package/2006/digital-sig= nature" = xmlns:mver=3D"http://schemas.openxmlformats.org/markup-compatibility/2006= " xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns:mrels=3D"http://schemas.openxmlformats.org/package/2006/relationshi= ps" xmlns:spwp=3D"http://microsoft.com/sharepoint/webpartpages" = xmlns:ex12t=3D"http://schemas.microsoft.com/exchange/services/2006/types"= = xmlns:ex12m=3D"http://schemas.microsoft.com/exchange/services/2006/messag= es" = xmlns:pptsl=3D"http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/= " = xmlns:spsl=3D"http://microsoft.com/webservices/SharePointPortalServer/Pub= lishedLinksService" xmlns:Z=3D"urn:schemas-microsoft-com:" = xmlns:st=3D"&#1;" xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman","serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} p {mso-style-priority:99; mso-margin-top-alt:auto; margin-right:0in; mso-margin-bottom-alt:auto; margin-left:0in; font-size:12.0pt; font-family:"Times New Roman","serif";} span.apple-tab-span {mso-style-name:apple-tab-span;} span.EmailStyle19 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'>&gt;</span><span = style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"; color:blue'> DEBUG info at no price.. so to speak</span><span = style=3D'font-size: 11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></spa= n></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'>Can't help on the buffering, but your comment above isn't necessarily correct at any rate. It depends on where the performance his = of the Debug() call is. Sure there's a hit on writing the log to disk, and the buffering helps there, but there is also the hit of generating the text = for the debug call in the first place. There's the method call, there's the = string concatenation, there's likely numerous .ToString() calls, if you're = looking for line#s in the log file then there's the (high) cost of getting that information. None of these issues will be removed by buffering the write = to disk. I'm not saying buffing won't buy you something, it will. But it = doesn't give you DEBUG at no price.<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'>-Walden<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'><o:p>&nbsp;</o:p></span></p> <div> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'>-- <o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'>Walden H Leverich III<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'>Tech Software<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'>705-204-8822<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'><a href=3D"mailto:[email protected]"><span = style=3D'color: blue'>[email protected]</span></a><o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'><a href=3D"http://www.techsoftinc.com/"><span = style=3D'color:blue'>http://www.TechSoftInc.com</span></a><o:p></o:p></sp= an></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'>Quiquid latine dictum sit altum = viditur.<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'>(Whatever is said in Latin seems = profound.)<o:p></o:p></span></p> </div> </div> </body> </html> ------_=_NextPart_001_01C9982F.1FEC77B2--
From [email protected] Mon Jan 03 13:49:36 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83363 invoked from network); 3 Jan 2011 13:49:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Jan 2011 13:49:35 -0000 Received: (qmail 94559 invoked by uid 500); 3 Jan 2011 13:49:35 -0000 Delivered-To: [email protected] Received: (qmail 94112 invoked by uid 500); 3 Jan 2011 13:49:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 94105 invoked by uid 99); 3 Jan 2011 13:49:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jan 2011 13:49:31 +0000 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of [email protected] does not designate 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO smtp6-g21.free.fr) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jan 2011 13:49:22 +0000 Received: from [161.129.204.104] (unknown [161.129.204.104]) by smtp6-g21.free.fr (Postfix) with ESMTP id 36017822B1 for <[email protected]>; Mon, 3 Jan 2011 14:48:57 +0100 (CET) Message-ID: <[email protected]> Date: Mon, 03 Jan 2011 14:48:56 +0100 From: Johan Cwiklinski <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:161.129.204.104) Gecko/20101210 Remi/fc14 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: Tomcat6/Cocoon 2.1.10 using 100% CPU on windows References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hello and best wishes for 2011 :) Le 23/12/2010 18:38, Johan Cwiklinski a écrit : > Hi, > > Le 23/12/2010 10:49, Johan Cwiklinski a écrit : >> I've just put the 2.1.11 RessourceReader class into my WEB-INF/classes >> directory ; I'm currently testing that way on the server (would be great >> if I can solve this problem until I can spend some time for 2.1.11 >> upgrade ;)). > > Well... It seems that solved the issue :) > > Server is up and running for a few hours now, without having any more > CPU issues. After more than a week in pa production environment, I can confirm that the issue is now solved. Again, thank you! Regards, Johan --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jan 05 08:48:59 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92771 invoked from network); 5 Jan 2011 08:48:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Jan 2011 08:48:59 -0000 Received: (qmail 61365 invoked by uid 500); 5 Jan 2011 08:48:58 -0000 Delivered-To: [email protected] Received: (qmail 61087 invoked by uid 500); 5 Jan 2011 08:48:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 61079 invoked by uid 99); 5 Jan 2011 08:48:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jan 2011 08:48:54 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO exprod7ob105.obsmtp.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 05 Jan 2011 08:48:48 +0000 Received: from source ([161.129.204.104]) by exprod7ob105.postini.com ([161.129.204.104]) with SMTP ID [email protected]; Wed, 05 Jan 2011 00:48:26 PST Received: by iye19 with SMTP id 19so14104158iye.10 for <[email protected]>; Wed, 05 Jan 2011 00:48:25 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id id6mr23298902icb.361.1294217305206; Wed, 05 Jan 2011 00:48:25 -0800 (PST) Received: by 161.129.204.104 with HTTP; Wed, 5 Jan 2011 00:48:25 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Date: Wed, 5 Jan 2011 09:48:25 +0100 Message-ID: <[email protected]> Subject: Re: Flash .swf in Cocoon 2.1.11 From: Jeroen Reijn <[email protected]> To: [email protected] Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org To me it seems like that you pointed at the problem. His script had the parameter: 'play', 'false' so I guess that must be it, since the flash movie by itself apparently has play (true) by default, since the movie started when you requested only the swf. So there is probably an issue with the invocation of the flash movie? Jeroen On Mon, Dec 13, 2010 at 7:59 AM, Jos Snellings <[email protected]> w= rote: > Nice to hear that, Peter! > Has anyone on this list an idea why it works now? > > cheers, > Jos > > On 12/13/2010 07:30 AM, Peter Sparkes wrote: > > Thanks all for your help. I have now got it working. I had been using the > following. > > <script language=3D"JavaScript" type=3D"text/javascript"> > =A0=A0=A0 AC_FL_RunContent( > =A0=A0=A0 =A0=A0=A0 'codebase', > 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#vers= ion=3D10,0,0,0', > =A0=A0=A0 =A0=A0=A0 'width', '680', > =A0=A0=A0 =A0=A0=A0 'height', '611', > =A0=A0=A0 =A0=A0=A0 'src', 'plan-de-pistes-bernex-v3', > =A0=A0=A0 =A0=A0=A0 'quality', 'high', > =A0=A0=A0 =A0=A0=A0 'pluginspage', 'http://www.adobe.com/go/getflashplaye= r', > =A0=A0=A0 =A0=A0=A0 'align', 'middle', > =A0=A0=A0 =A0=A0=A0 'play', 'false', > =A0=A0=A0 =A0=A0=A0 'loop', 'false', > =A0=A0=A0 =A0=A0=A0 'scale', 'showall', > =A0=A0=A0 =A0=A0=A0 'wmode', 'window', > =A0=A0=A0 =A0=A0=A0 'devicefont', 'false', > =A0=A0=A0 =A0=A0=A0 'id', 'plan-de-pistes-bernex-v3', > =A0=A0=A0 =A0=A0=A0 'bgcolor', '#ffffff', > =A0=A0=A0 =A0=A0=A0 'name', 'plan-de-pistes-bernex-v3', > =A0=A0=A0 =A0=A0=A0 'menu', 'true', > =A0=A0=A0 =A0=A0=A0 'allowFullScreen', 'false', > =A0=A0=A0 =A0=A0=A0 'allowScriptAccess','sameDomain', > =A0=A0=A0 =A0=A0=A0 'movie', 'plan-de-pistes-bernex-v3.swf', > =A0=A0=A0 =A0=A0=A0 'salign', '' > =A0=A0=A0 =A0=A0=A0 ); //end AC code > </script> > > <noscript> > =A0=A0=A0 <object classid=3D"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" > codebase=3D"http://download.macromedia.com/pub/shockwave/cabs/flash/swfla= sh.cab#version=3D10,0,0,0" > =A0=A0=A0 width=3D"680" height=3D"611" id=3D"plan-de-pistes-bernex-v3" > align=3D"middle"><param name=3D"allowScriptAccess" value=3D"sameDomain" /= > > =A0=A0=A0 <param name=3D"allowFullScreen" value=3D"false" /> > =A0=A0=A0 <param name=3D"movie" value=3D"plan-de-pistes-bernex-v3.swf" />= <param > name=3D"quality" value=3D"high" /> > =A0=A0=A0 <param name=3D"bgcolor" value=3D"#ffffff" /> > =A0=A0=A0 <embed src=3D"plan-de-pistes-bernex-v3.swf" quality=3D"high" > bgcolor=3D"#ffffff" width=3D"580" height=3D"611" name=3D"plan-de-pistes-b= ernex-v3" > =A0=A0=A0 align=3D"middle" allowScriptAccess=3D"sameDomain" allowFullScre= en=3D"false" > type=3D"application/x-shockwave-flash" > pluginspage=3D"http://www.adobe.com/go/getflashplayer" /> > =A0=A0=A0 </object> > </noscript> > > > I removed AC_FL_RunContent() and the noscript tags and now it works > > Regards > > Peter > > Hi Peter, > > Your page is ok, the element says "movie not loaded".=A0 It looks to me l= ike > your problem is not cocoon related. > I have a similar flash on a site. > It has the parameter "play". > Here is a sample:=A0 (classid not right). > > <OBJECT classid=3D"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" > codebase=3D"http://download.macromedia.com/pub/shockwave/cabs/flash/swfla= sh.cab#version=3D5,0,0,0" > WIDTH=3D"460" HEIGHT=3D"345"> > > <PARAM NAME=3D"movie" > VALUE=3D"images/plan-de-pistes-bernex-v3.swf"> > <PARAM NAME=3D"quality" VALUE=3D"high= "> > <PARAM NAME=3D"bgcolor" VALUE=3D"#FFF= FFF"> > <PARAM NAME=3D"play" value=3D"true"> > <EMBED > src=3D"images/plan-de-pistes-bernex-v3.swf" quality=3D"high" bgcolor=3D"#= FFFFFF" > WIDTH=3D"460" HEIGHT=3D"345" TYPE=3D"application/x-shockwave-flash" > PLUGINSPAGE=3D"http://www.macromedia.com/shockwave/download/index.cgi?P1_= Prod_Version=3DShockwaveFlash"></EMBED></OBJECT > > Hope it helps. > > Jos > > > > On 12/07/2010 04:22 PM, Peter Sparkes wrote: > > Thanks Jasha, > > The html page displays correctly, except that the=A0 .swf file is not > displayed, see http://www.chezmuta.com/flashTest.htm. However, > http://www.chezmuta.com/images/plan-de-pistes-bernex-v3.swf displays the > .swf correctly. The browser source page for flashTest.htm appears correct= . > > In my sitemap.xmap file I have > > <map:match pattern=3D"images/*.swf"> > =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 <map:read mime-type=3D"applicatio= n/x-shockwave-flash" > src=3D"resources/images/{1}.swf"/> > </map:match> > > Regards > > Peter > > > On 7 December 2010 13:49, Peter Sparkes <[email protected]> wrote: >> >> Hi, >> >> I am trying, without success, to display a flash .swf files using Cocoon >> 2.1.11 >> >> Help please >> >> Peter >> > What's the problem? Is it the HTML or do you see 404-not found responses = for > certain resources that have anything to do with the swf? Providing more > information leads more likely to a solution ;) > Jasha Joachimsthal > > {{EMAIL+EMAIL}} > > Hippo > Europe =A0 =95 =A0 Amsterdam =A0Oosteinde 11 =A0=95 =A01017 WT Amsterdam = =A0=95 =A0+31 (0)20 522 > 4466 > USA =A0 =95 =A0 San Francisco =A0755 Baywood Drive Second Floor=A0=A0=95 = =A0Petaluma CA > 94954 =A0 =95=A0=A0214.755.8136 (toll free) > Canada =A0=95 =A0 Montr=E9al =A05369 Boulevard St-Laurent=A0#430=A0=A0=95= =A0Montr=E9al QC H2T 1S5 > =A0=95 =A0214.755.8136 > www.onehippo.com=A0=A0=95 =A0www.onehippo.org=A0=A0=95 [email protected]= om > > > > > > --=20 Hippo ---------------------------------------------------------------------------= ------------------- Europe =A0=95 =A0Amsterdam =A0Oosteinde 11 =A0=95 =A01017 WT Amsterdam =A0= =95 =A0214.755.8136 USA =A0=95=A0755 Baywood Drive=A0Second Floor=A0=A0=95 =A0Petaluma CA. 9495= 4 =95 =A0214.755.8136 (toll free) Canada =A0 =A0=95 =A0 Montr=E9al =A05369 Boulevard St-Laurent #430=A0=95 = =A0Montr=E9al QC H2T 1S5 =A0=95 =A0214.755.8136 ---------------------------------------------------------------------------= ------------------- www.onehippo.com=A0=A0=95 =A0www.onehippo.org=A0=A0=95 [email protected] ---------------------------------------------------------------------------= ------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jan 07 08:04:21 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21948 invoked from network); 7 Jan 2011 08:04:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Jan 2011 08:04:21 -0000 Received: (qmail 64800 invoked by uid 500); 7 Jan 2011 08:04:20 -0000 Delivered-To: [email protected] Received: (qmail 64409 invoked by uid 500); 7 Jan 2011 08:04:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 64401 invoked by uid 99); 7 Jan 2011 08:04:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jan 2011 08:04:16 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS,T_FRT_COCK X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO 31.mail-out.ovh.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 07 Jan 2011 08:04:07 +0000 Received: (qmail 24070 invoked by uid 503); 7 Jan 2011 08:37:14 -0000 Received: from b7.ovh.net (HELO mail97.ha.ovh.net) (161.129.204.104) by 31.mail-out.ovh.net with SMTP; 7 Jan 2011 08:37:14 -0000 Received: from b0.ovh.net (HELO queueout) (161.129.204.104) by b0.ovh.net with SMTP; 7 Jan 2011 10:03:45 +0200 Received: from bdn33-3-82-245-83-46.fbx.proxad.net (HELO ?161.129.204.104?) ([email protected]@161.129.204.104) by ns0.ovh.net with SMTP; 7 Jan 2011 10:03:43 +0200 Message-ID: <[email protected]> Date: Fri, 07 Jan 2011 09:03:43 +0100 From: Johan Cwiklinski <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:161.129.204.104) Gecko/20101210 Remi/fc14 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: i18n cookies storing path Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 14474287727565003418 X-Ovh-Remote: 161.129.204.104 (bdn33-3-82-245-83-46.fbx.proxad.net) X-Ovh-Local: 161.129.204.104 (ns0.ovh.net) X-Spam-Check: DONE|U 0.500114/N Hello, I'm currently working on i18n for our apps. I've put on the pages a simple form with a select element for useres to change language themselves, sending à 'locale' attribute in the URL. Doing that, I had to enable language storage in a session (store-in-session and create-session true) or in a cookie (store-in-cookie true). Using session storage makes things work well, but I'm unsure creating a session only for a language is really needed, I guess that is more costly than a simple cookie. Using cookies does not work as I've excpected, since cookies stores paths : I've a cokkie for '/myapp/' and another one for '/myapp/functions/'. Both these path require i18n, but since there is two different cookies, only one gets changed :( We use cocoon 2.1.10 ; but it does not seems there are changes in the relevant classes in 2.1.11. So, my questions: - is using a session so costly when it's no really needed? Some parts of our app already require a session ; but others don't (static pages for example). - is there a way to make cookies not to store paths? I've not see how in the doc or in the code :/ Thank you. Regards, Johan --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jan 07 08:59:52 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48929 invoked from network); 7 Jan 2011 08:59:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Jan 2011 08:59:52 -0000 Received: (qmail 26893 invoked by uid 500); 7 Jan 2011 08:59:52 -0000 Delivered-To: [email protected] Received: (qmail 26526 invoked by uid 500); 7 Jan 2011 08:59:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 26519 invoked by uid 99); 7 Jan 2011 08:59:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jan 2011 08:59:48 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=MIME_BASE64_BLANKS,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail182.messagelabs.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 07 Jan 2011 08:59:40 +0000 X-VirusChecked: Checked X-Env-Sender: [email protected] X-Msg-Ref: server-12.tower-182.messagelabs.com!1294390757!5796283!1 X-StarScan-Version: 6.2.9; banners=odyssey-group.com,-,- X-Originating-IP: [161.129.204.104] Received: (qmail 10620 invoked from network); 7 Jan 2011 08:59:18 -0000 Received: from unknown (HELO mail3.oams.com) (161.129.204.104) by server-12.tower-182.messagelabs.com with SMTP; 7 Jan 2011 08:59:18 -0000 Received: from mail4.oams.com ([161.129.204.104]) by mail3.oams.com with Microsoft SMTPSVC214.755.8136); Fri, 7 Jan 2011 09:59:17 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Subject: RE: i18n cookies storing path Date: Fri, 7 Jan 2011 09:59:16 +0100 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: i18n cookies storing path Thread-Index: AcuuQX8dgBJ46xreQyCJvkbHLxzswwAB3iaw References: <[email protected]> From: "Laurent Medioni" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 07 Jan 2011 08:59:17.0723 (UTC) FILETIME=[2A63F2B0:01CBAE49] SGksCllvdSBzaG91bGQgb25seSBzZXQgdGhlIGNvb2tpZSB3aGVuIHJlc3BvbmRpbmcgdG8gIi9t eWFwcC8iIGxldmVsIGFuZCB0aGVuIGl0IHdpbGwgYmUgYXZhaWxhYmxlIHRvIGFsbCBzdWJwYXRo ZXMgKGZvciB0aGUgc2FtZSBkb21haW4gb2YgY291cnNlKS4gCgpMYXVyZW50CgpfX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KCuKAoiBU aGlzIGVtYWlsIGFuZCBhbnkgZmlsZXMgdHJhbnNtaXR0ZWQgd2l0aCBpdCBhcmUgQ09ORklERU5U SUFMIGFuZCBpbnRlbmRlZAogIHNvbGVseSBmb3IgdGhlIHVzZSBvZiB0aGUgaW5kaXZpZHVhbCBv ciBlbnRpdHkgdG8gd2hpY2ggdGhleSBhcmUgYWRkcmVzc2VkLgrigKIgQW55IHVuYXV0aG9yaXpl ZCBjb3B5aW5nLCBkaXNjbG9zdXJlLCBvciBkaXN0cmlidXRpb24gb2YgdGhlIG1hdGVyaWFsIHdp dGhpbgogIHRoaXMgZW1haWwgaXMgc3RyaWN0bHkgZm9yYmlkZGVuLgrigKIgQW55IHZpZXdzIG9y IG9waW5pb25zIHByZXNlbnRlZCB3aXRoaW4gdGhpcyBlLW1haWwgYXJlIHNvbGVseSB0aG9zZSBv ZiB0aGUKICBhdXRob3IgYW5kIGRvIG5vdCBuZWNlc3NhcmlseSByZXByZXNlbnQgdGhvc2Ugb2Yg T2R5c3NleSBGaW5hbmNpYWwKVGVjaG5vbG9naWVzIFNBIHVubGVzcyBvdGhlcndpc2Ugc3BlY2lm aWNhbGx5IHN0YXRlZC4K4oCiIEFuIGVsZWN0cm9uaWMgbWVzc2FnZSBpcyBub3QgYmluZGluZyBv biBpdHMgc2VuZGVyLiBBbnkgbWVzc2FnZSByZWZlcnJpbmcgdG8KICBhIGJpbmRpbmcgZW5nYWdl bWVudCBtdXN0IGJlIGNvbmZpcm1lZCBpbiB3cml0aW5nIGFuZCBkdWx5IHNpZ25lZC4K4oCiIElm IHlvdSBoYXZlIHJlY2VpdmVkIHRoaXMgZW1haWwgaW4gZXJyb3IsIHBsZWFzZSBub3RpZnkgdGhl IHNlbmRlciBpbW1lZGlhdGVseQogIGFuZCBkZWxldGUgdGhlIG9yaWdpbmFsLgo= From [email protected] Fri Jan 07 09:55:17 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71323 invoked from network); 7 Jan 2011 09:55:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Jan 2011 09:55:16 -0000 Received: (qmail 81960 invoked by uid 500); 7 Jan 2011 09:55:16 -0000 Delivered-To: [email protected] Received: (qmail 81517 invoked by uid 500); 7 Jan 2011 09:55:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 81510 invoked by uid 99); 7 Jan 2011 09:55:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jan 2011 09:55:13 +0000 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of [email protected] does not designate 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO smtp6-g21.free.fr) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jan 2011 09:55:04 +0000 Received: from [161.129.204.104] (unknown [161.129.204.104]) by smtp6-g21.free.fr (Postfix) with ESMTP id 92AB7822F9 for <[email protected]>; Fri, 7 Jan 2011 10:54:39 +0100 (CET) Message-ID: <[email protected]> Date: Fri, 07 Jan 2011 10:54:38 +0100 From: Johan Cwiklinski <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:161.129.204.104) Gecko/20101210 Remi/fc14 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: i18n cookies storing path References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hello, Le 07/01/2011 09:59, Laurent Medioni a écrit : > Hi, > You should only set the cookie when responding to "/myapp/" level and then it will be available to all subpathes (for the same domain of course). Yes, but I don't know how to achieve that. Cookie is setted when calling the locale action, as far as I can understand ; it does not seems possible to tell the action not to create a cookie, or set a specific path. I've found a similar issue that has already been reported (it's pretty old tought): https://issues.apache.org/jira/browse/COCOON-1592 Regards, Johan --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jan 07 10:25:04 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88099 invoked from network); 7 Jan 2011 10:25:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Jan 2011 10:25:03 -0000 Received: (qmail 21462 invoked by uid 500); 7 Jan 2011 10:25:03 -0000 Delivered-To: [email protected] Received: (qmail 21044 invoked by uid 500); 7 Jan 2011 10:25:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 21035 invoked by uid 99); 7 Jan 2011 10:25:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jan 2011 10:25:00 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=MIME_BASE64_BLANKS,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail182.messagelabs.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 07 Jan 2011 10:24:53 +0000 X-VirusChecked: Checked X-Env-Sender: [email protected] X-Msg-Ref: server-14.tower-182.messagelabs.com!1294395871!5575760!1 X-StarScan-Version: 6.2.9; banners=odyssey-group.com,-,- X-Originating-IP: [161.129.204.104] Received: (qmail 12650 invoked from network); 7 Jan 2011 10:24:31 -0000 Received: from unknown (HELO mail3.oams.com) (161.129.204.104) by server-14.tower-182.messagelabs.com with SMTP; 7 Jan 2011 10:24:31 -0000 Received: from mail4.oams.com ([161.129.204.104]) by mail3.oams.com with Microsoft SMTPSVC214.755.8136); Fri, 7 Jan 2011 11:24:30 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Subject: RE: i18n cookies storing path Date: Fri, 7 Jan 2011 11:24:30 +0100 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: i18n cookies storing path Thread-Index: AcuuUP3rjs2o09VRTD220lJ4nQ5ucgAAwblw References: <[email protected]> <[email protected]> <[email protected]> From: "Laurent Medioni" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 07 Jan 2011 10:24:30.0771 (UTC) FILETIME=[12012830:01CBAE55] U3RyaWN0bHkgbWF0Y2gsIGF0IHRoZSBiZWdpbm5pbmcgb2YgdGhlIHBpcGVsaW5lLCAiIiAob3Ig Ii8iLCBJIG5ldmVyIHJlbWVtYmVyLi4uKSBhbmQgY2FsbCB0aGUgTG9jYWxlQWN0aW9uIG9ubHkg dGhlcmUuIFRoZW4gZW5kIHRoZSBtYXRjaGVyIGp1c3QgYWZ0ZXIgd2l0aG91dCByZXNwb25zZS4K VGhpcyB3aWxsIHdvcmsgaWYgeW91ciB1c2VycyBhbHdheXMgc3RhcnQgYnJvd3NpbmcgeW91ciBh cHBsaWNhdGlvbiB0aHJvdWdoICIuLi4vbXlhcHAvIiwgdHlwaWNhbGx5IGp1c3QgYWZ0ZXIgbG9n aW4gYXMgYSBob21lcGFnZS4KCk5vdyBpZiB5b3UgY2Fubm90IGJlIHN1cmUgb2YgdGhpcyB0aGVu LCB5ZXMsIHNvbWV0aGluZyBzaW1pbGFyIHRvIHRoZSBwcm9wb3NlZCBwYXRjaCBpbiBDT0NPT04t MTU5MiB3aWxsIGVuYWJsZSB5b3UgdG8gc2V0IGEgInJvb3QiIGNvb2tpZSBmcm9tIGFueSBzdWJw YXRoLi4uCgpMYXVyZW50CgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX18KCuKAoiBUaGlzIGVtYWlsIGFuZCBhbnkgZmlsZXMgdHJhbnNt aXR0ZWQgd2l0aCBpdCBhcmUgQ09ORklERU5USUFMIGFuZCBpbnRlbmRlZAogIHNvbGVseSBmb3Ig dGhlIHVzZSBvZiB0aGUgaW5kaXZpZHVhbCBvciBlbnRpdHkgdG8gd2hpY2ggdGhleSBhcmUgYWRk cmVzc2VkLgrigKIgQW55IHVuYXV0aG9yaXplZCBjb3B5aW5nLCBkaXNjbG9zdXJlLCBvciBkaXN0 cmlidXRpb24gb2YgdGhlIG1hdGVyaWFsIHdpdGhpbgogIHRoaXMgZW1haWwgaXMgc3RyaWN0bHkg Zm9yYmlkZGVuLgrigKIgQW55IHZpZXdzIG9yIG9waW5pb25zIHByZXNlbnRlZCB3aXRoaW4gdGhp cyBlLW1haWwgYXJlIHNvbGVseSB0aG9zZSBvZiB0aGUKICBhdXRob3IgYW5kIGRvIG5vdCBuZWNl c3NhcmlseSByZXByZXNlbnQgdGhvc2Ugb2YgT2R5c3NleSBGaW5hbmNpYWwKVGVjaG5vbG9naWVz IFNBIHVubGVzcyBvdGhlcndpc2Ugc3BlY2lmaWNhbGx5IHN0YXRlZC4K4oCiIEFuIGVsZWN0cm9u aWMgbWVzc2FnZSBpcyBub3QgYmluZGluZyBvbiBpdHMgc2VuZGVyLiBBbnkgbWVzc2FnZSByZWZl cnJpbmcgdG8KICBhIGJpbmRpbmcgZW5nYWdlbWVudCBtdXN0IGJlIGNvbmZpcm1lZCBpbiB3cml0 aW5nIGFuZCBkdWx5IHNpZ25lZC4K4oCiIElmIHlvdSBoYXZlIHJlY2VpdmVkIHRoaXMgZW1haWwg aW4gZXJyb3IsIHBsZWFzZSBub3RpZnkgdGhlIHNlbmRlciBpbW1lZGlhdGVseQogIGFuZCBkZWxl dGUgdGhlIG9yaWdpbmFsLgo= From [email protected] Fri Jan 07 10:46:12 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92496 invoked from network); 7 Jan 2011 10:46:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Jan 2011 10:46:11 -0000 Received: (qmail 38464 invoked by uid 500); 7 Jan 2011 10:46:11 -0000 Delivered-To: [email protected] Received: (qmail 38260 invoked by uid 500); 7 Jan 2011 10:46:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 38253 invoked by uid 99); 7 Jan 2011 10:46:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jan 2011 10:46:08 +0000 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of [email protected] does not designate 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO smtp6-g21.free.fr) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jan 2011 10:46:00 +0000 Received: from [161.129.204.104] (unknown [161.129.204.104]) by smtp6-g21.free.fr (Postfix) with ESMTP id C065182311 for <[email protected]>; Fri, 7 Jan 2011 11:45:32 +0100 (CET) Message-ID: <[email protected]> Date: Fri, 07 Jan 2011 11:45:31 +0100 From: Johan Cwiklinski <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:161.129.204.104) Gecko/20101210 Remi/fc14 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: i18n cookies storing path References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Le 07/01/2011 11:24, Laurent Medioni a écrit : > Strictly match, at the beginning of the pipeline, "" (or "/", I never remember...) and call the LocaleAction only there. Then end the matcher just after without response. > This will work if your users always start browsing your application through ".../myapp/", typically just after login as a homepage. > > Now if you cannot be sure of this then, yes, something similar to the proposed patch in COCOON-1592 will enable you to set a "root" cookie from any subpath... I cannot be sure where users will start browsing unfortunately. I'll take a look at the proposed patch ; thank you for the clarifications :) > > Laurent Best regards, Johan --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jan 07 17:02:47 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86276 invoked from network); 7 Jan 2011 17:02:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Jan 2011 17:02:46 -0000 Received: (qmail 44420 invoked by uid 500); 7 Jan 2011 17:02:46 -0000 Delivered-To: [email protected] Received: (qmail 44167 invoked by uid 500); 7 Jan 2011 17:02:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 44160 invoked by uid 99); 7 Jan 2011 17:02:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jan 2011 17:02:43 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO qmta13.westchester.pa.mail.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jan 2011 17:02:36 +0000 Received: from omta24.westchester.pa.mail.comcast.net ([161.129.204.104]) by qmta13.westchester.pa.mail.comcast.net with comcast id sfpz1f0051ei1Bg5Dh2Fu5; Fri, 07 Jan 2011 17:02:15 +0000 Received: from [161.129.204.104] ([161.129.204.104]) by omta24.westchester.pa.mail.comcast.net with comcast id sh2E1f00D38FjT13kh2FqS; Fri, 07 Jan 2011 17:02:15 +0000 Message-ID: <[email protected]> Date: Fri, 07 Jan 2011 12:02:14 -0500 From: Christopher Schultz <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:161.129.204.104) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: i18n cookies storing path References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Johan, On 1/7/2011 5:45 AM, Johan Cwiklinski wrote: > Le 07/01/2011 11:24, Laurent Medioni a écrit : >> Strictly match, at the beginning of the pipeline, "" (or "/", I never remember...) and call the LocaleAction only there. Then end the matcher just after without response. >> This will work if your users always start browsing your application through ".../myapp/", typically just after login as a homepage. >> >> Now if you cannot be sure of this then, yes, something similar to the proposed patch in COCOON-1592 will enable you to set a "root" cookie from any subpath... > > I cannot be sure where users will start browsing unfortunately. I'll > take a look at the proposed patch ; thank you for the clarifications :) If you're willing to write a bit of Java code, you can do this easily using a "servlet filter". - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk0nRxYACgkQ9CaO5/Lv0PAt3QCbBb3cyvUN51n2kPb3QD01GgK7 9yMAoIYcJONG4tZg36bhuun2Tcz3HpbT =o9yo -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jan 10 09:55:27 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86076 invoked from network); 10 Jan 2011 09:55:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Jan 2011 09:55:26 -0000 Received: (qmail 69209 invoked by uid 500); 10 Jan 2011 09:55:26 -0000 Delivered-To: [email protected] Received: (qmail 68968 invoked by uid 500); 10 Jan 2011 09:55:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 68961 invoked by uid 99); 10 Jan 2011 09:55:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jan 2011 09:55:22 +0000 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of [email protected] does not designate 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO smtp6-g21.free.fr) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jan 2011 09:55:14 +0000 Received: from [161.129.204.104] (unknown [161.129.204.104]) by smtp6-g21.free.fr (Postfix) with ESMTP id 170E882298 for <[email protected]>; Mon, 10 Jan 2011 10:54:46 +0100 (CET) Message-ID: <[email protected]> Date: Mon, 10 Jan 2011 10:54:45 +0100 From: Johan Cwiklinski <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:161.129.204.104) Gecko/20101210 Remi/fc14 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: i18n cookies storing path References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hello Christopher, Le 07/01/2011 18:02, Christopher Schultz a écrit : > Johan, > > On 1/7/2011 5:45 AM, Johan Cwiklinski wrote: >> Le 07/01/2011 11:24, Laurent Medioni a écrit : >>> Strictly match, at the beginning of the pipeline, "" (or "/", I never remember...) and call the LocaleAction only there. Then end the matcher just after without response. >>> This will work if your users always start browsing your application through ".../myapp/", typically just after login as a homepage. >>> >>> Now if you cannot be sure of this then, yes, something similar to the proposed patch in COCOON-1592 will enable you to set a "root" cookie from any subpath... > >> I cannot be sure where users will start browsing unfortunately. I'll >> take a look at the proposed patch ; thank you for the clarifications :) > > If you're willing to write a bit of Java code, you can do this easily > using a "servlet filter". I was not aware of this possibility ; I'll take a look. Thank you for the tip! > > -chris Best regards, Johan --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jan 12 12:55:45 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91160 invoked from network); 12 Jan 2011 12:55:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Jan 2011 12:55:44 -0000 Received: (qmail 42073 invoked by uid 500); 12 Jan 2011 12:55:43 -0000 Delivered-To: [email protected] Received: (qmail 40714 invoked by uid 500); 12 Jan 2011 12:55:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 39708 invoked by uid 99); 12 Jan 2011 12:55:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jan 2011 12:55:38 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RFC_ABUSE_POST,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mx4.ciber-europe.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jan 2011 12:55:31 +0000 Received: from eusex01.sweden.ecsoft ([161.129.204.104]) by mx4.ciber-europe.com with Microsoft SMTPSVC214.755.8136); Wed, 12 Jan 2011 13:55:08 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: how-to use fop1.0 with Cocoon2.2 Date: Wed, 12 Jan 2011 13:55:08 +0100 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: how-to use fop1.0 with Cocoon2.2 Thread-Index: AcuyV/DxACqxaRXdS8mMQgNBX8udeQ== From: "Robby Pelssers" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 12 Jan 2011 12:55:08.0251 (UTC) FILETIME=[F0D3EAB0:01CBB257] Hi all, i was wondering if somebody already managed to use fop1.0 with Cocoon2.2 = and can he share some notes on how-to or is this already documented = somewhere? Kind regards, Robby Pelssers --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jan 12 16:19:32 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94637 invoked from network); 12 Jan 2011 16:19:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Jan 2011 16:19:31 -0000 Received: (qmail 29257 invoked by uid 500); 12 Jan 2011 16:19:31 -0000 Delivered-To: [email protected] Received: (qmail 28905 invoked by uid 500); 12 Jan 2011 16:19:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 28898 invoked by uid 99); 12 Jan 2011 16:19:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jan 2011 16:19:28 +0000 X-ASF-Spam-Status: No, hits=2.7 required=10.0 tests=RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mho-01-ewr.mailhop.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jan 2011 16:19:21 +0000 Received: from static-196-42-40-55.coqui.net ([161.129.204.104] helo=SERVER-A.spectron-msim.com) by mho-01-ewr.mailhop.org with esmtpa (Exim 4.72) (envelope-from <[email protected]>) id 1Pd3PY-000EAk-Ie for [email protected]; Wed, 12 Jan 2011 16:19:01 +0000 Received: from [161.129.204.104] (196-28-52-1.ao.prtc.net [161.129.204.104]) by SERVER-A.spectron-msim.com (Postfix) with ESMTP id 34A7211E1CF0 for <[email protected]>; Wed, 12 Jan 2011 12:18:54 -0400 (AST) X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 161.129.204.104 X-Report-Abuse-To: [email protected] (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/l5Vp3WjGIf7MawTDifrnj Message-ID: <[email protected]> Date: Wed, 12 Jan 2011 12:18:53 -0400 From: Fawzib Rojas <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:161.129.204.104) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: how-to use fop1.0 with Cocoon2.2 References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I'm using fop 1.0 and batik 1.7 with Cocoon 2.2. There was a cocoon-fop-ng-impl floating around but it didnt work, embedded svgs crashed it (I posted a message about it here). I made a few changes to cocoon-fop-ng-impl and made a cocoon-batik-ng-impl and got it working. You can get the source for both blocks from: http://www.megaupload.com/?d=KUCDZ3XE Faw On 1/12/2011 8:55 AM, Robby Pelssers wrote: > Hi all, > > i was wondering if somebody already managed to use fop1.0 with Cocoon2.2 and can he share some notes on how-to or is this already documented somewhere? > > Kind regards, > Robby Pelssers > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Jan 12 20:25:23 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33772 invoked from network); 12 Jan 2011 20:25:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Jan 2011 20:25:23 -0000 Received: (qmail 19328 invoked by uid 500); 12 Jan 2011 20:25:22 -0000 Delivered-To: [email protected] Received: (qmail 19278 invoked by uid 500); 12 Jan 2011 20:25:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 19271 invoked by uid 99); 12 Jan 2011 20:25:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jan 2011 20:25:21 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RFC_ABUSE_POST,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mx4.ciber-europe.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jan 2011 20:25:14 +0000 Received: from eusex01.sweden.ecsoft ([161.129.204.104]) by mx4.ciber-europe.com with Microsoft SMTPSVC214.755.8136); Wed, 12 Jan 2011 21:24:52 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01CBB296.C4CE23FF" Subject: RE: how-to use fop1.0 with Cocoon2.2 Date: Wed, 12 Jan 2011 21:22:40 +0100 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: <[email protected]> Thread-Topic: how-to use fop1.0 with Cocoon2.2 Thread-Index: AcuydKxb6MVPpjg0S0Kwc3gE4pRFtQAIcly3 References: <[email protected]> <[email protected]> From: "Robby Pelssers" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 12 Jan 2011 20:24:52.0869 (UTC) FILETIME=[C4E9DB50:01CBB296] X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01CBB296.C4CE23FF Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Fawzib, thx for your quick reply... If it works it might be a good idea to get = this officially released as a cocoon block so we can use it = out-of-the-box by adding these 2 maven dependencies. Cheers, Robby -----Oorspronkelijk bericht----- Van: Fawzib Rojas [mailto:[email protected]] Verzonden: wo 12-1-2011 17:18 Aan: [email protected] Onderwerp: Re: how-to use fop1.0 with Cocoon2.2 =20 I'm using fop 1.0 and batik 1.7 with Cocoon 2.2. There was a=20 cocoon-fop-ng-impl floating around but it didnt work, embedded svgs=20 crashed it (I posted a message about it here). I made a few changes to=20 cocoon-fop-ng-impl and made a cocoon-batik-ng-impl and got it working. You can get the source for both blocks from: http://www.megaupload.com/?d=3DKUCDZ3XE Faw On 1/12/2011 8:55 AM, Robby Pelssers wrote: > Hi all, > > i was wondering if somebody already managed to use fop1.0 with = Cocoon2.2 and can he share some notes on how-to or is this already = documented somewhere? > > Kind regards, > Robby Pelssers > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] ------_=_NextPart_001_01CBB296.C4CE23FF Content-Type: application/ms-tnef; name="winmail.dat" Content-Transfer-Encoding: base64 eJ8+IjUUAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEEgAEAJQAAAFJFOiBob3ctdG8gdXNlIGZv cDEuMCB3aXRoIENvY29vbjIuMgCfCwEFgAMADgAAANsHAQAMABUAFgAoAAMARQEBIIADAA4AAADb BwEADAAVABgANAADAFMBAQmAAQAhAAAARjVCMzJFREZDQzNEMDM0QUFBREJFODlBMEZBQjMzMDUA iQcBA5AGAHwLAAA5AAAAAwAmAAAAAAADADYAAAAAAEAAOQD3Wc11lrLLAR4APQABAAAABQAAAFJF OiAAAAAAAgFHAAEAAAAwAAAAYz11czthPSA7cD1FQ3NvZnQ7bD1FVVNFWDAxLTExMDExMjIwMjQ1 MlotMzEzNTUAHgBJAAEAAAAlAAAAUmU6IGhvdy10byB1c2UgZm9wMS4wIHdpdGggQ29jb29uMi4y AAAAAEAATgCAlFhndLLLAR4AWgABAAAADQAAAEZhd3ppYiBSb2phcwAAAAACAVsAAQAAAEQAAAAA AAAAgSsfpL6jEBmdbgDdAQ9UAgAAAABGYXd6aWIgUm9qYXMAU01UUABmX3JvamFzQHNwZWN0cm9u LW1zaW0uY29tAAIBXAABAAAAHwAAAFNNVFA6Rl9ST0pBU0BTUEVDVFJPTi1NU0lNLkNPTQAAHgBd AAEAAAANAAAARmF3emliIFJvamFzAAAAAAIBXgABAAAARAAAAAAAAACBKx+kvqMQGZ1uAN0BD1QC AAAAAEZhd3ppYiBSb2phcwBTTVRQAGZfcm9qYXNAc3BlY3Ryb24tbXNpbS5jb20AAgFfAAEAAAAf AAAAU01UUDpGX1JPSkFTQFNQRUNUUk9OLU1TSU0uQ09NAAAeAGYAAQAAAAUAAABTTVRQAAAAAB4A ZwABAAAAGgAAAGZfcm9qYXNAc3BlY3Ryb24tbXNpbS5jb20AAAAeAGgAAQAAAAUAAABTTVRQAAAA AB4AaQABAAAAGgAAAGZfcm9qYXNAc3BlY3Ryb24tbXNpbS5jb20AAAAeAHAAAQAAACEAAABob3ct dG8gdXNlIGZvcDEuMCB3aXRoIENvY29vbjIuMgAAAAACAXEAAQAAABsAAAABy7J0rFvoxU+mODRL QrBzeATilEW1AAhyXLcAHgB0AAEAAAAYAAAAdXNlcnNAY29jb29uLmFwYWNoZS5vcmcAHgAaDAEA AAAPAAAAUm9iYnkgUGVsc3NlcnMAAB4AHQ4BAAAAIQAAAGhvdy10byB1c2UgZm9wMS4wIHdpdGgg Q29jb29uMi4yAAAAAAIBCRABAAAAQAQAADwEAABiBwAATFpGdcWmZNMDAAoAcmNwZzEyNeIyA0N0 ZXgFQQEDAff/CoACpAPkBxMCgA/zAFAEVj8IVQeyESUOUQMBAgBjaOEKwHNldDIGAAbDESX2MwRG E7cwEiwRMwjvCfe2OxgfDjA1ESIMYGMAUDMLCQFkMzYWUAumIEgAaSBGYXd6aWIOLAqiCoQKgHRo eCCLAhAFwHkIYSBxdQ3gTGsgGCALUHkuH9AgUElmIGkFQHcFsGtDBCAgQW1pZ2gFQGLAZSBhIGdv BHAgMHMBACGQdG8hoBQgIkBo+QQAIG8BIA3gBzEfsB9x/mwiIBQQIeAkACGBBaAFoK8CICFQF7Af UXMiYHchcDpjA5F1FBAgMghgdC1lIxAtHlBlLQbgHnBi0SOgYWRkC4BnIrEHkFchcBRAAMB2CfAg AQBwWwnwAQBuI1AHkC4dmkPbJwAEkHMdhQgAYidwHZqVHZQtLMJPBbBzcANg5G5rI9Bpah9gIWAF EK8T0CagLMIdlFYAcDodFXUH8WokUVsAwAMQIlA6bGZfA2AwAUAtQAWQdEktYS1tAJBtLgWgbfZd LsUEkHoCIClBL1AgcCIgDiAtMS0B0DExoTOQNzoxOB2UQS8yyyYRFABAJKQuYQqwE9BUZS4FsGcd lE8pMXJJJaBycC9QUmUvUGg8b3cm4CJgJhICEHAxPi4WUAPwHlASISTCMi6PDlAdowrjCoBJJ20m AT8n0jixM5A48QBwIeBiYex0aR9gOOA3ORooYDng/R/wVCcAGCAgYCRTHZQkpOotOLEtJ+AtB3AL UB6A/xewPEEn4QrACGA8AiaQIDKNJ8BkAjAgYywgZQbQxwmAAQAh4HN2ZwQhPrQeciQAJwAh4QVA KEkgeHBvcw6wJDEg8AeQc75hIoAhgAbgQUQ98ikf8fcogQEAIYFmB9ET0SfgB5H/IlE+rz+2O+NG tUh1PDM/p7878iGwQVMgcifRKbtZCGDfJcMihCFwJXAIcGM4kgXA3wbgOUElEwQgA1I6OgU38KMC QDeQLy93UVAuB4BYZ2F1C1BAUGQyEi8AP2Q9S1VDRFr4M1hFHZodIR2aNxAzkMovDiAvM/M4Ohpg EMDmTUJAK1MgUCPQBBAqse8gYANgDrBQVT4c4iNxHYX+PleWHQA+QiBwNyIn0gaQ1yVhB4AG4GQn gWwYICeg/yOgA4FFUSHgOE85WTvjJdLPTnIT4U6CB4AgbldRIvG/XmE4FAWxIuEiw1s2ZCSwXnUH gAIwQsJasXc98j/9WI1LC4Ah4BggUbALICrW/1fwVkxYjSzDZz9oT2lfajvNV5ZUXEEAgHViBPIh YO9CQTHAMGE1JS1r+TWfNqX9V/BGBbEnojxQAiAHQCSRnm0DgWRxbL0nAGxwbl//b2Yrryy0dZ92 r3e/an8KgP9rz2zfbe82PG//cQ9yHzYeBR2afYMQHgA1EAEAAAA/AAAAPDdDNjU1QzA0QjZGNTk2 NDNBMUVGNjYwNTZDMEUwOTVFQTk5QzgyQGV1c2V4MDEuc3dlZGVuLmVjc29mdD4AAB4AORABAAAA YgAAADw3QzY1NUMwNEI2RjU5NjQzQTFFRjY2MDU2QzBFMDk1RUE5OUM4MEBldXNleDAxLnN3ZWRl bi5lY3NvZnQ+IDw0RDJERDQ2RC41MDQwNkBzcGVjdHJvbi1tc2ltLmNvbT4AAAAeAEcQAQAAAA8A AABtZXNzYWdlL3JmYzgyMgAACwDyEAEAAAAfAPMQAQAAAFYAAABSAEUAJQAzAEEAIABoAG8AdwAt AHQAbwAgAHUAcwBlACAAZgBvAHAAMQAuADAAIAB3AGkAdABoACAAQwBvAGMAbwBvAG4AMgAuADIA LgBFAE0ATAAAAAAACwD2EAAAAABAAAcw91nNdZayywFAAAgwX63XxJayywEDAN4/r28AAAMA8T8T BAAAHgD4PwEAAAAPAAAAUm9iYnkgUGVsc3NlcnMAAAIB+T8BAAAATwAAAAAAAADcp0DIwEIQGrS5 CAArL+GCAQAAAAAAAAAvTz1FQ1NPRlQvT1U9QUcgRVUvQ049UkVDSVBJRU5UUy9DTj1ST0JCWS5Q RUxTU0VSUwAAHgD6PwEAAAAVAAAAU3lzdGVtIEFkbWluaXN0cmF0b3IAAAAAAgH7PwEAAAAeAAAA AAAAANynQMjAQhAatLkIACsv4YIBAAAAAAAAAC4AAAADAP0/5AQAAAMAGUAAAAAAAwAaQAAAAAAD AB1AAAAAAAMAHkAAAAAAHgAwQAEAAAAPAAAAUk9CQlkuUEVMU1NFUlMAAB4AMUABAAAADwAAAFJP QkJZLlBFTFNTRVJTAAAeADJAAQAAABoAAABmX3JvamFzQHNwZWN0cm9uLW1zaW0uY29tAAAAHgAz QAEAAAAaAAAAZl9yb2phc0BzcGVjdHJvbi1tc2ltLmNvbQAAAB4AOEABAAAADwAAAFJPQkJZLlBF TFNTRVJTAAAeADlAAQAAAAIAAAAuAAAAAwB2QP////8LACkAAAAAAAsAIwAAAAAAAwAGEM/yav8D AAcQlAQAAAMAEBAAAAAAAwAREAAAAAAeAAgQAQAAAGUAAABISUZBV1pJQixUSFhGT1JZT1VSUVVJ Q0tSRVBMWUlGSVRXT1JLU0lUTUlHSFRCRUFHT09ESURFQVRPR0VUVEhJU09GRklDSUFMTFlSRUxF QVNFREFTQUNPQ09PTkJMT0NLU09XAAAAAAIBfwABAAAAPwAAADw3QzY1NUMwNEI2RjU5NjQzQTFF RjY2MDU2QzBFMDk1RUE5OUM4MkBldXNleDAxLnN3ZWRlbi5lY3NvZnQ+AADWAA== ------_=_NextPart_001_01CBB296.C4CE23FF Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] ------_=_NextPart_001_01CBB296.C4CE23FF-- From [email protected] Fri Jan 14 16:36:33 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 16743 invoked from network); 14 Jan 2011 16:36:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jan 2011 16:36:33 -0000 Received: (qmail 5791 invoked by uid 500); 14 Jan 2011 16:36:32 -0000 Delivered-To: [email protected] Received: (qmail 5372 invoked by uid 500); 14 Jan 2011 16:36:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 79699 invoked by uid 99); 14 Jan 2011 16:24:25 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) X-Eon-Dm: dm0205 X-Eon-Sig: AQJtsoRNMHibXAWvuQIAAAAB,b784c1359c84cb55c169473d4f017d26 Message-ID: <[email protected]> Date: Fri, 14 Jan 2011 17:23:56 +0100 From: Des Magner <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:161.129.204.104) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Can I pass a sitemap resource as a parameter to an xslt transformer? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=1 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1012030000 definitions=main-1101140072 X-Virus-Checked: Checked by ClamAV on apache.org Hi I want to combine two pieces of XML that gets passed to my XSL transformation. I have a list of authors that needs only to be read once. I then have a page to edit different articles and this page must present the list of authors for selection. But I do not want to read the list of authors from the database every time an article needs to be edited. So I thought the best way to do this would be to define a resource that contains the list of authors and pass this as a parameter to the transformation for the article edit page as outlined below. Is it possible to somehow refer to the authors resource where I have placed the ???. Any help much appreciated Regards Des <map:resource name="authors"> <map:generate src="authors.xml"/> <map:transform type="sql"> <map:parameter name="use-connection" value="myConnection"/> </map:transform> </map:resource> <map:generate src="article.xml"/> <map:transform type="sql"> <map:parameter name="use-connection" value="myConnection"/> <map:parameter name="article-id" value="{request-param:article}"/> </map:transform> <map:transform src="article.xsl"> <map:parameter name="authors" value="{???}"/> </map:transform> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jan 14 17:23:05 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 39807 invoked from network); 14 Jan 2011 17:23:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jan 2011 17:23:05 -0000 Received: (qmail 79501 invoked by uid 500); 14 Jan 2011 17:23:04 -0000 Delivered-To: [email protected] Received: (qmail 79083 invoked by uid 500); 14 Jan 2011 17:23:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 79076 invoked by uid 99); 14 Jan 2011 17:23:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Jan 2011 17:23:01 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail12.srv.ualberta.ca) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Jan 2011 17:22:54 +0000 Received: from Libmail1.ualibrary.ualberta.ca (Libmail1.library.ualberta.ca [161.129.204.104]) by mail12.srv.ualberta.ca (8.14.3/8.13.8) with SMTP id p0EHMWVw002680 for <[email protected]>; Fri, 14 Jan 2011 10:22:32 -0700 (MST) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Can I pass a sitemap resource as a parameter to an xslt transformer? X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Fri, 14 Jan 2011 10:22:27 -0700 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Can I pass a sitemap resource as a parameter to an xslt transformer? Thread-Index: Acu0CWvuR9WzxHFFRwirH7D50eJL4wABAeHQ References: <[email protected]> From: "Binkley, Peter" <[email protected]> To: <[email protected]> I would use a regular pipeline for the authors list, with caching turned on (so it doesn't run the query every time - check the cocoon docs for how to control expiry etc.): <map:pipeline type=3D"caching"> <map:match pattern=3D"authors"> ... And then include it from within the article.xsl using the cocoon: protocol, which is used to address a pipeline in the sitemap: =20 <xsl:variable name=3D"authors" select=3D"document('cocoon:/authors')"/> Resources are used when you want to include the same series of components in more than one pipeline. I don't think a resource can do caching: that would be up to the pipelines in which it is called. Peter -----Original Message----- From: Des Magner [mailto:[email protected]]=20 Sent: Friday, January 14, 2011 9:24 AM To: [email protected] Subject: Can I pass a sitemap resource as a parameter to an xslt transformer? Hi I want to combine two pieces of XML that gets passed to my XSL=20 transformation. I have a list of authors that needs only to be read=20 once. I then have a page to edit different articles and this page must=20 present the list of authors for selection. But I do not want to read the list of authors from the database every time an article needs to be=20 edited. So I thought the best way to do this would be to define a=20 resource that contains the list of authors and pass this as a parameter=20 to the transformation for the article edit page as outlined below. Is it possible to somehow refer to the authors resource where I have placed=20 the ???. Any help much appreciated Regards Des <map:resource name=3D"authors"> <map:generate src=3D"authors.xml"/> <map:transform type=3D"sql"> <map:parameter name=3D"use-connection" value=3D"myConnection"/> </map:transform> </map:resource> <map:generate src=3D"article.xml"/> <map:transform type=3D"sql"> <map:parameter name=3D"use-connection" value=3D"myConnection"/> <map:parameter name=3D"article-id" value=3D"{request-param:article}"/> </map:transform> <map:transform src=3D"article.xsl"> <map:parameter name=3D"authors" value=3D"{???}"/> </map:transform> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jan 14 20:31:12 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53616 invoked from network); 14 Jan 2011 20:31:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jan 2011 20:31:12 -0000 Received: (qmail 76147 invoked by uid 500); 14 Jan 2011 20:31:11 -0000 Delivered-To: [email protected] Received: (qmail 76072 invoked by uid 500); 14 Jan 2011 20:31:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 76065 invoked by uid 99); 14 Jan 2011 20:31:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Jan 2011 20:31:10 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO stl-smtpout-01.boeing.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Jan 2011 20:30:59 +0000 Received: from blv-av-01.boeing.com (blv-av-01.boeing.com [161.129.204.104]) by stl-smtpout-01.ns.cs.boeing.com (8.14.4/8.14.4/8.14.4/SMTPOUT) with ESMTP id p0EKUaCM010929 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <[email protected]>; Fri, 14 Jan 2011 14:30:37 -0600 (CST) Received: from blv-av-01.boeing.com (localhost [161.129.204.104]) by blv-av-01.boeing.com (8.14.4/8.14.4/DOWNSTREAM_RELAY) with ESMTP id p0EKUYY5001790 for <[email protected]>; Fri, 14 Jan 2011 12:30:34 -0800 (PST) Received: from XCH-MWHT-03.mw.nos.boeing.com (xch-mwht-03.mw.nos.boeing.com [161.129.204.104]) by blv-av-01.boeing.com (8.14.4/8.14.4/UPSTREAM_RELAY) with ESMTP id p0EKUOcD001045 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=OK) for <[email protected]>; Fri, 14 Jan 2011 12:30:24 -0800 (PST) Received: from XCH-MW-07V.mw.nos.boeing.com ([161.129.204.104]) by XCH-MWHT-03.mw.nos.boeing.com ([161.129.204.104]) with mapi; Fri, 14 Jan 2011 14:30:23 -0600 From: "Schmitz, Jeffrey A" <[email protected]> To: "[email protected]" <[email protected]> Date: Fri, 14 Jan 2011 14:30:22 -0600 Subject: pipeline error handler Thread-Topic: pipeline error handler Thread-Index: Acu0Kd5xiwwfeLL+SVeIIyUtuMPG5A== Message-ID: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_EC00F1CE70DFEC419A684A37323D39742BAC21F4XCHMW07Vmwnosbo_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_EC00F1CE70DFEC419A684A37323D39742BAC21F4XCHMW07Vmwnosbo_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, I'm having a problem with my error handlers in Cocoon 2.1.11. Specifically= , I can't get my error handlers to work when attached to an individual pipe= line. They work when attached to a "pipelines" element, so I think my map:= selectors is setup ok, but the handlers attached to a pipeline element neve= r catches any exceptions. Any ideas? E.g. <map:pipeline type=3D"noncaching"> <!-- Pipeline for importing legacy xml into the Neutral model = using semantic XML app models --> <map:match pattern=3D"*/*/*In/*/*sxmlIn.flow/*/*"> <map:generate src=3D"inputs/{4}" /> <map:transform src=3D"xsl/{3}FormatNames.xsl"> <map:parameter name=3D"instanceName" value=3D"{2}" = /> </map:transform> <map:transform src=3D"xsl/AppInAdapter.xsl"> <map:parameter name=3D"instanceName" value=3D"{2}" = /> <map:parameter name=3D"appName" value=3D"{3}" /> <map:parameter name=3D"xmlRoot" value=3D"{7}" /> </map:transform> <map:serialize type=3D"xml" /> </map:match> <map:handle-errors> <map:select type=3D"exception"> <map:when test=3D"sax-parser-error"> <map:generate src=3D"xml/saxError.xml" /> <map:serialize type=3D"xml" /> </map:when> <map:otherwise> <map:generate src=3D"xml/saxError.xml" /> <map:serialize type=3D"xml" /> </map:otherwise> </map:select> </map:handle-errors> </map:pipeline> --_000_EC00F1CE70DFEC419A684A37323D39742BAC21F4XCHMW07Vmwnosbo_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV=3D"Content-Type" CONTENT= =3D"text/html; charset=3Dus-ascii"><meta name=3DGenerator content=3D"Micros= oft Word 12 (filtered medium)"><style><!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Calibri","sans-serif"; color:windowtext;} .MsoChpDefault {mso-style-type:export-only;} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue vli= nk=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal>Hello,<o:p></o:p= ></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>I&#8217= ;m having a problem with my error handlers in Cocoon 2.1.11.&nbsp; Specific= ally, I can&#8217;t get my error handlers to work when attached to an indiv= idual pipeline.&nbsp; They work when attached to a &#8220;pipelines&#8221; = element, so I think my map:selectors is setup ok, but the handlers attached= to a pipeline element never catches any exceptions.&nbsp; Any ideas?&nbsp;= E.g.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMs= oNormal style=3D'text-autospace:none'><span style=3D'font-size:10.0pt;font-= family:"Courier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><sp= an style=3D'font-size:10.0pt;font-family:"Courier New";color:teal'>&lt;</sp= an><span style=3D'font-size:10.0pt;font-family:"Courier New";color:#3F7F7F'= >map:pipeline</span><span style=3D'font-size:10.0pt;font-family:"Courier Ne= w"'> <span style=3D'color:#7F007F'>type</span><span style=3D'color:black'>= =3D</span><i><span style=3D'color:#2A00FF'>&quot;noncaching&quot;</span></i= ><span style=3D'color:teal'>&gt;</span><o:p></o:p></span></p><p class=3DMso= Normal style=3D'text-autospace:none'><span style=3D'font-size:10.0pt;font-f= amily:"Courier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp; </span><span style=3D'font-size:10.0pt;font-family= :"Courier New";color:#3F5FBF'>&lt;!--</span><span style=3D'font-size:10.0pt= ;font-family:"Courier New"'><o:p></o:p></span></p><p class=3DMsoNormal styl= e=3D'text-autospace:none'><span style=3D'font-size:10.0pt;font-family:"Cour= ier New";color:#3F5FBF'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Pipeline for importing = legacy <u>xml</u> into the Neutral model using</span><span style=3D'font-si= ze:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=3DMsoNo= rmal style=3D'text-autospace:none'><span style=3D'font-size:10.0pt;font-fam= ily:"Courier New";color:#3F5FBF'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; semantic XML <= u>app</u> models</span><span style=3D'font-size:10.0pt;font-family:"Courier= New"'><o:p></o:p></span></p><p class=3DMsoNormal style=3D'text-autospace:n= one'><span style=3D'font-size:10.0pt;font-family:"Courier New";color:#3F5FB= F'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --&gt= ;</span><span style=3D'font-size:10.0pt;font-family:"Courier New"'><o:p></o= :p></span></p><p class=3DMsoNormal style=3D'text-autospace:none'><span styl= e=3D'font-size:10.0pt;font-family:"Courier New";color:black'>&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style=3D'= font-size:10.0pt;font-family:"Courier New";color:teal'>&lt;</span><span sty= le=3D'font-size:10.0pt;font-family:"Courier New";color:#3F7F7F'>map:match</= span><span style=3D'font-size:10.0pt;font-family:"Courier New"'> <span styl= e=3D'color:#7F007F'>pattern</span><span style=3D'color:black'>=3D</span><i>= <span style=3D'color:#2A00FF'>&quot;*/*/*In/*/*sxmlIn.flow/*/*&quot;</span>= </i><span style=3D'color:teal'>&gt;</span><o:p></o:p></span></p><p class=3D= MsoNormal style=3D'text-autospace:none'><span style=3D'font-size:10.0pt;fon= t-family:"Courier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><spa= n style=3D'font-size:10.0pt;font-family:"Courier New";color:teal'>&lt;</spa= n><span style=3D'font-size:10.0pt;font-family:"Courier New";color:#3F7F7F'>= map:generate</span><span style=3D'font-size:10.0pt;font-family:"Courier New= "'> <span style=3D'color:#7F007F'>src</span><span style=3D'color:black'>=3D= </span><i><span style=3D'color:#2A00FF'>&quot;inputs/{4}&quot;</span></i> <= span style=3D'color:teal'>/&gt;</span><o:p></o:p></span></p><p class=3DMsoN= ormal style=3D'text-autospace:none'><span style=3D'font-size:10.0pt;font-fa= mily:"Courier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span st= yle=3D'font-size:10.0pt;font-family:"Courier New";color:teal'>&lt;</span><s= pan style=3D'font-size:10.0pt;font-family:"Courier New";color:#3F7F7F'>map:= transform</span><span style=3D'font-size:10.0pt;font-family:"Courier New"'>= <span style=3D'color:#7F007F'>src</span><span style=3D'color:black'>=3D</s= pan><i><span style=3D'color:#2A00FF'>&quot;xsl/{3}FormatNames.xsl&quot;</sp= an></i><span style=3D'color:teal'>&gt;</span><o:p></o:p></span></p><p class= =3DMsoNormal style=3D'text-autospace:none'><span style=3D'font-size:10.0pt;= font-family:"Courier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style=3D'font-size:10.0pt;font-fam= ily:"Courier New";color:teal'>&lt;</span><span style=3D'font-size:10.0pt;fo= nt-family:"Courier New";color:#3F7F7F'>map:parameter</span><span style=3D'f= ont-size:10.0pt;font-family:"Courier New"'> <span style=3D'color:#7F007F'>n= ame</span><span style=3D'color:black'>=3D</span><i><span style=3D'color:#2A= 00FF'>&quot;instanceName&quot;</span></i> <span style=3D'color:#7F007F'>val= ue</span><span style=3D'color:black'>=3D</span><i><span style=3D'color:#2A0= 0FF'>&quot;{2}&quot;</span></i> <span style=3D'color:teal'>/&gt;</span><o:p= ></o:p></span></p><p class=3DMsoNormal style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt;font-family:"Courier New";color:black'>&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp; </span><span style=3D'font-size:10.0pt;font-family:"Couri= er New";color:teal'>&lt;/</span><span style=3D'font-size:10.0pt;font-family= :"Courier New";color:#3F7F7F'>map:transform</span><span style=3D'font-size:= 10.0pt;font-family:"Courier New";color:teal'>&gt;</span><span style=3D'font= -size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=3DMs= oNormal style=3D'text-autospace:none'><span style=3D'font-size:10.0pt;font-= family:"Courier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span = style=3D'font-size:10.0pt;font-family:"Courier New";color:teal'>&lt;</span>= <span style=3D'font-size:10.0pt;font-family:"Courier New";color:#3F7F7F'>ma= p:transform</span><span style=3D'font-size:10.0pt;font-family:"Courier New"= '> <span style=3D'color:#7F007F'>src</span><span style=3D'color:black'>=3D<= /span><i><span style=3D'color:#2A00FF'>&quot;xsl/AppInAdapter.xsl&quot;</sp= an></i><span style=3D'color:teal'>&gt;</span><o:p></o:p></span></p><p class= =3DMsoNormal style=3D'text-autospace:none'><span style=3D'font-size:10.0pt;= font-family:"Courier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style=3D'font-size:10.0pt;font-fam= ily:"Courier New";color:teal'>&lt;</span><span style=3D'font-size:10.0pt;fo= nt-family:"Courier New";color:#3F7F7F'>map:parameter</span><span style=3D'f= ont-size:10.0pt;font-family:"Courier New"'> <span style=3D'color:#7F007F'>n= ame</span><span style=3D'color:black'>=3D</span><i><span style=3D'color:#2A= 00FF'>&quot;instanceName&quot;</span></i> <span style=3D'color:#7F007F'>val= ue</span><span style=3D'color:black'>=3D</span><i><span style=3D'color:#2A0= 0FF'>&quot;{2}&quot;</span></i> <span style=3D'color:teal'>/&gt;</span><o:p= ></o:p></span></p><p class=3DMsoNormal style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt;font-family:"Courier New";color:black'>&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style=3D= 'font-size:10.0pt;font-family:"Courier New";color:teal'>&lt;</span><span st= yle=3D'font-size:10.0pt;font-family:"Courier New";color:#3F7F7F'>map:parame= ter</span><span style=3D'font-size:10.0pt;font-family:"Courier New"'> <span= style=3D'color:#7F007F'>name</span><span style=3D'color:black'>=3D</span><= i><span style=3D'color:#2A00FF'>&quot;appName&quot;</span></i> <span style= =3D'color:#7F007F'>value</span><span style=3D'color:black'>=3D</span><i><sp= an style=3D'color:#2A00FF'>&quot;{3}&quot;</span></i> <span style=3D'color:= teal'>/&gt;</span><o:p></o:p></span></p><p class=3DMsoNormal style=3D'text-= autospace:none'><span style=3D'font-size:10.0pt;font-family:"Courier New";c= olor:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= </span><span style=3D'font-size:10.0pt;font-family:"Courier New";color:tea= l'>&lt;</span><span style=3D'font-size:10.0pt;font-family:"Courier New";col= or:#3F7F7F'>map:parameter</span><span style=3D'font-size:10.0pt;font-family= :"Courier New"'> <span style=3D'color:#7F007F'>name</span><span style=3D'co= lor:black'>=3D</span><i><span style=3D'color:#2A00FF'>&quot;xmlRoot&quot;</= span></i> <span style=3D'color:#7F007F'>value</span><span style=3D'color:bl= ack'>=3D</span><i><span style=3D'color:#2A00FF'>&quot;{7}&quot;</span></i> = <span style=3D'color:teal'>/&gt;</span><o:p></o:p></span></p><p class=3DMso= Normal style=3D'text-autospace:none'><span style=3D'font-size:10.0pt;font-f= amily:"Courier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span s= tyle=3D'font-size:10.0pt;font-family:"Courier New";color:teal'>&lt;/</span>= <span style=3D'font-size:10.0pt;font-family:"Courier New";color:#3F7F7F'>ma= p:transform</span><span style=3D'font-size:10.0pt;font-family:"Courier New"= ;color:teal'>&gt;</span><span style=3D'font-size:10.0pt;font-family:"Courie= r New"'><o:p></o:p></span></p><p class=3DMsoNormal style=3D'text-autospace:= none'><span style=3D'font-size:10.0pt;font-family:"Courier New";color:black= '>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style=3D'font-size:10.0pt;font-f= amily:"Courier New";color:teal'>&lt;</span><span style=3D'font-size:10.0pt;= font-family:"Courier New";color:#3F7F7F'>map:serialize</span><span style=3D= 'font-size:10.0pt;font-family:"Courier New"'> <span style=3D'color:#7F007F'= >type</span><span style=3D'color:black'>=3D</span><i><span style=3D'color:#= 2A00FF'>&quot;xml&quot;</span></i> <span style=3D'color:teal'>/&gt;</span><= o:p></o:p></span></p><p class=3DMsoNormal style=3D'text-autospace:none'><sp= an style=3D'font-size:10.0pt;font-family:"Courier New";color:black'>&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span st= yle=3D'font-size:10.0pt;font-family:"Courier New";color:teal'>&lt;/</span><= span style=3D'font-size:10.0pt;font-family:"Courier New";color:#3F7F7F'>map= :match</span><span style=3D'font-size:10.0pt;font-family:"Courier New";colo= r:teal'>&gt;</span><span style=3D'font-size:10.0pt;font-family:"Courier New= "'><o:p></o:p></span></p><p class=3DMsoNormal style=3D'text-autospace:none'= ><span style=3D'font-size:10.0pt;font-family:"Courier New";color:black'>&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><spa= n style=3D'font-size:10.0pt;font-family:"Courier New";color:teal'>&lt;</spa= n><span style=3D'font-size:10.0pt;font-family:"Courier New";color:#3F7F7F'>= map:handle-errors</span><span style=3D'font-size:10.0pt;font-family:"Courie= r New";color:teal'>&gt;</span><span style=3D'font-size:10.0pt;font-family:"= Courier New"'><o:p></o:p></span></p><p class=3DMsoNormal style=3D'text-auto= space:none'><span style=3D'font-size:10.0pt;font-family:"Courier New";color= :black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style=3D'font-size:10.0pt;= font-family:"Courier New";color:teal'>&lt;</span><span style=3D'font-size:1= 0.0pt;font-family:"Courier New";color:#3F7F7F'>map:select</span><span style= =3D'font-size:10.0pt;font-family:"Courier New"'> <span style=3D'color:#7F00= 7F'>type</span><span style=3D'color:black'>=3D</span><i><span style=3D'colo= r:#2A00FF'>&quot;exception&quot;</span></i><span style=3D'color:teal'>&gt;<= /span><o:p></o:p></span></p><p class=3DMsoNormal style=3D'text-autospace:no= ne'><span style=3D'font-size:10.0pt;font-family:"Courier New";color:black'>= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><spa= n style=3D'font-size:10.0pt;font-family:"Courier New";color:teal'>&lt;</spa= n><span style=3D'font-size:10.0pt;font-family:"Courier New";color:#3F7F7F'>= map:when</span><span style=3D'font-size:10.0pt;font-family:"Courier New"'> = <span style=3D'color:#7F007F'>test</span><span style=3D'color:black'>=3D</s= pan><i><span style=3D'color:#2A00FF'>&quot;sax-parser-error&quot;</span></i= ><span style=3D'color:teal'>&gt;</span><o:p></o:p></span></p><p class=3DMso= Normal style=3D'text-autospace:none'><span style=3D'font-size:10.0pt;font-f= amily:"Courier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span styl= e=3D'font-size:10.0pt;font-family:"Courier New";color:teal'>&lt;</span><spa= n style=3D'font-size:10.0pt;font-family:"Courier New";color:#3F7F7F'>map:ge= nerate</span><span style=3D'font-size:10.0pt;font-family:"Courier New"'> <s= pan style=3D'color:#7F007F'>src</span><span style=3D'color:black'>=3D</span= ><i><span style=3D'color:#2A00FF'>&quot;xml/saxError.xml&quot;</span></i> <= span style=3D'color:teal'>/&gt;</span><o:p></o:p></span></p><p class=3DMsoN= ormal style=3D'text-autospace:none'><span style=3D'font-size:10.0pt;font-fa= mily:"Courier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style= =3D'font-size:10.0pt;font-family:"Courier New";color:teal'>&lt;</span><span= style=3D'font-size:10.0pt;font-family:"Courier New";color:#3F7F7F'>map:ser= ialize</span><span style=3D'font-size:10.0pt;font-family:"Courier New"'> <s= pan style=3D'color:#7F007F'>type</span><span style=3D'color:black'>=3D</spa= n><i><span style=3D'color:#2A00FF'>&quot;xml&quot;</span></i> <span style= =3D'color:teal'>/&gt;</span><o:p></o:p></span></p><p class=3DMsoNormal styl= e=3D'text-autospace:none'><span style=3D'font-size:10.0pt;font-family:"Cour= ier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp; </span><span style=3D'font-size:10.0pt;font-family:"Courier New"= ;color:teal'>&lt;/</span><span style=3D'font-size:10.0pt;font-family:"Couri= er New";color:#3F7F7F'>map:when</span><span style=3D'font-size:10.0pt;font-= family:"Courier New";color:teal'>&gt;</span><span style=3D'font-size:10.0pt= ;font-family:"Courier New"'><o:p></o:p></span></p><p class=3DMsoNormal styl= e=3D'text-autospace:none'><span style=3D'font-size:10.0pt;font-family:"Cour= ier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp; </span><span style=3D'font-size:10.0pt;font-family:"Courier New"= ;color:teal'>&lt;</span><span style=3D'font-size:10.0pt;font-family:"Courie= r New";color:#3F7F7F'>map:otherwise</span><span style=3D'font-size:10.0pt;f= ont-family:"Courier New";color:teal'>&gt;</span><span style=3D'font-size:10= .0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=3DMsoNormal = style=3D'text-autospace:none'><span style=3D'font-size:10.0pt;font-family:"= Courier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style=3D'fo= nt-size:10.0pt;font-family:"Courier New";color:teal'>&lt;</span><span style= =3D'font-size:10.0pt;font-family:"Courier New";color:#3F7F7F'>map:generate<= /span><span style=3D'font-size:10.0pt;font-family:"Courier New"'> <span sty= le=3D'color:#7F007F'>src</span><span style=3D'color:black'>=3D</span><i><sp= an style=3D'color:#2A00FF'>&quot;xml/saxError.xml&quot;</span></i> <span st= yle=3D'color:teal'>/&gt;</span><o:p></o:p></span></p><p class=3DMsoNormal s= tyle=3D'text-autospace:none'><span style=3D'font-size:10.0pt;font-family:"C= ourier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style=3D'fon= t-size:10.0pt;font-family:"Courier New";color:teal'>&lt;</span><span style= =3D'font-size:10.0pt;font-family:"Courier New";color:#3F7F7F'>map:serialize= </span><span style=3D'font-size:10.0pt;font-family:"Courier New"'> <span st= yle=3D'color:#7F007F'>type</span><span style=3D'color:black'>=3D</span><i><= span style=3D'color:#2A00FF'>&quot;xml&quot;</span></i> <span style=3D'colo= r:teal'>/&gt;</span><o:p></o:p></span></p><p class=3DMsoNormal style=3D'tex= t-autospace:none'><span style=3D'font-size:10.0pt;font-family:"Courier New"= ;color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p; </span><span style=3D'font-size:10.0pt;font-family:"Courier New";color:t= eal'>&lt;/</span><span style=3D'font-size:10.0pt;font-family:"Courier New";= color:#3F7F7F'>map:otherwise</span><span style=3D'font-size:10.0pt;font-fam= ily:"Courier New";color:teal'>&gt;</span><span style=3D'font-size:10.0pt;fo= nt-family:"Courier New"'><o:p></o:p></span></p><p class=3DMsoNormal style= =3D'text-autospace:none'><span style=3D'font-size:10.0pt;font-family:"Couri= er New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style=3D'font= -size:10.0pt;font-family:"Courier New";color:teal'>&lt;/</span><span style= =3D'font-size:10.0pt;font-family:"Courier New";color:#3F7F7F'>map:select</s= pan><span style=3D'font-size:10.0pt;font-family:"Courier New";color:teal'>&= gt;</span><span style=3D'font-size:10.0pt;font-family:"Courier New"'><o:p><= /o:p></span></p><p class=3DMsoNormal style=3D'text-autospace:none'><span st= yle=3D'font-size:10.0pt;font-family:"Courier New";color:black'>&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style= =3D'font-size:10.0pt;font-family:"Courier New";color:teal'>&lt;/</span><spa= n style=3D'font-size:10.0pt;font-family:"Courier New";color:#3F7F7F'>map:ha= ndle-errors</span><span style=3D'font-size:10.0pt;font-family:"Courier New"= ;color:teal'>&gt;</span><span style=3D'font-size:10.0pt;font-family:"Courie= r New"'><o:p></o:p></span></p><p class=3DMsoNormal style=3D'text-autospace:= none'><span style=3D'font-size:10.0pt;font-family:"Courier New";color:black= '>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style=3D'font-size:10.0pt;fon= t-family:"Courier New";color:teal'>&lt;/</span><span style=3D'font-size:10.= 0pt;font-family:"Courier New";color:#3F7F7F'>map:pipeline</span><span style= =3D'font-size:10.0pt;font-family:"Courier New";color:teal'>&gt;</span><span= style=3D'font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p= ><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></body></html>= --_000_EC00F1CE70DFEC419A684A37323D39742BAC21F4XCHMW07Vmwnosbo_-- From [email protected] Sun Jan 16 10:54:51 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15640 invoked from network); 16 Jan 2011 10:54:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Jan 2011 10:54:51 -0000 Received: (qmail 36361 invoked by uid 500); 16 Jan 2011 10:54:50 -0000 Delivered-To: [email protected] Received: (qmail 36000 invoked by uid 500); 16 Jan 2011 10:54:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 35993 invoked by uid 99); 16 Jan 2011 10:54:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Jan 2011 10:54:46 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO oulu.fi) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Jan 2011 10:54:39 +0000 Received: from cc.oulu.fi (sun3.oulu.fi [161.129.204.104]) by oulu.fi (8.13.8/8.13.8) with ESMTP id p0GAsIeO012986 for <[email protected]>; Sun, 16 Jan 2011 12:54:18 +0200 Received: from [161.129.204.104] (dsl-176-86.oulu.fi [161.129.204.104]) by cc.oulu.fi (8.13.7/8.13.7) with ESMTP id p0GAsHIr014699 for <[email protected]>; Sun, 16 Jan 2011 12:54:18 +0200 (EET) Message-ID: <[email protected]> Date: Sun, 16 Jan 2011 12:54:27 +0200 From: Andre Juffer <[email protected]> Reply-To: [email protected] Organization: The University of Oulu User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:161.129.204.104) Gecko/20101208 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: Can I pass a sitemap resource as a parameter to an xslt transformer? References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 01/14/2011 06:23 PM, Des Magner wrote: > Hi > > I want to combine two pieces of XML that gets passed to my XSL > transformation. I have a list of authors that needs only to be read > once. I then have a page to edit different articles and this page must > present the list of authors for selection. But I do not want to read the > list of authors from the database every time an article needs to be > edited. So I thought the best way to do this would be to define a > resource that contains the list of authors and pass this as a parameter > to the transformation for the article edit page as outlined below. Is it > possible to somehow refer to the authors resource where I have placed > the ???. As far as I know this is NOT possible. As an alternative, you could include XML file with the authors list into the XML file containing the page that requires editing (or include the XML file containing the page into the XML file holding the authors list), before you use your transformer. The transformer that selects from the authors' node what it needs to produce the proper SQL. > > Any help much appreciated > Regards > Des > > <map:resource name="authors"> > <map:generate src="authors.xml"/> > <map:transform type="sql"> > <map:parameter name="use-connection" value="myConnection"/> > </map:transform> > </map:resource> > > <map:generate src="article.xml"/> > <map:transform type="sql"> > <map:parameter name="use-connection" value="myConnection"/> > <map:parameter name="article-id" value="{request-param:article}"/> > </map:transform> > <map:transform src="article.xsl"> > <map:parameter name="authors" value="{???}"/> > </map:transform> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > -- Andre H. Juffer | Phone: 214.755.8136 Biocenter Oulu and | Fax: 214.755.8136 Department of Biochemistry | Email: [email protected] University of Oulu, Finland | WWW: www.biochem.oulu.fi/Biocomputing/ StruBioCat | WWW: www.strubiocat.oulu.fi NordProt | WWW: www.nordprot.org Triacle Biocomputing | WWW: www.triacle-bc.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jan 17 09:14:08 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49073 invoked from network); 17 Jan 2011 09:14:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Jan 2011 09:14:07 -0000 Received: (qmail 84571 invoked by uid 500); 17 Jan 2011 09:14:06 -0000 Delivered-To: [email protected] Received: (qmail 84216 invoked by uid 500); 17 Jan 2011 09:14:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 84209 invoked by uid 99); 17 Jan 2011 09:14:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jan 2011 09:14:01 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO exprod7og124.obsmtp.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 17 Jan 2011 09:13:56 +0000 Received: from source ([161.129.204.104]) by exprod7ob124.postini.com ([161.129.204.104]) with SMTP ID [email protected]; Mon, 17 Jan 2011 01:13:36 PST Received: by mail-iy0-f170.google.com with SMTP id 14so6191197iym.15 for <[email protected]>; Mon, 17 Jan 2011 01:13:35 -0800 (PST) Received: by 161.129.204.104 with SMTP id bs4mr4139266icb.120.1295255615058; Mon, 17 Jan 2011 01:13:35 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with HTTP; Mon, 17 Jan 2011 01:13:14 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> From: Jasha Joachimsthal <[email protected]> Date: Mon, 17 Jan 2011 10:13:14 +0100 Message-ID: <[email protected]> Subject: Re: Can I pass a sitemap resource as a parameter to an xslt transformer? To: [email protected] Content-Type: multipart/alternative; boundary=90e6ba6e8678d432a2049a0732ad --90e6ba6e8678d432a2049a0732ad Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable You don't need to pass it as a parameter. Just use map:aggregate with a map:part that gets all the authors. To cache the result of the SQL query yo= u can use an expires pipeline with a very long expiration time. Jasha Joachimsthal [email protected] - [email protected] Hippo Europe =95 Amsterdam Oosteinde 11 =95 1017 WT Amsterdam =95 +31 (0= )20 522 4466 USA =95 San Francisco 755 Baywood Drive Second Floor =95 Petaluma CA 94954 =95 214.755.8136 (toll free) Canada =95 Montr=E9al 5369 Boulevard St-Laurent #430 =95 Montr=E9al Q= C H2T 1S5 =95 214.755.8136 www.onehippo.com =95 www.onehippo.org =95 [email protected] On 16 January 2011 11:54, Andre Juffer <[email protected]> wrote: > On 01/14/2011 06:23 PM, Des Magner wrote: > >> Hi >> >> I want to combine two pieces of XML that gets passed to my XSL >> transformation. I have a list of authors that needs only to be read >> once. I then have a page to edit different articles and this page must >> present the list of authors for selection. But I do not want to read the >> list of authors from the database every time an article needs to be >> edited. So I thought the best way to do this would be to define a >> resource that contains the list of authors and pass this as a parameter >> to the transformation for the article edit page as outlined below. Is it >> possible to somehow refer to the authors resource where I have placed >> the ???. >> > > As far as I know this is NOT possible. > > As an alternative, you could include XML file with the authors list into > the XML file containing the page that requires editing (or include the XM= L > file containing the page into the XML file holding the authors list), bef= ore > you use your transformer. The transformer that selects from the authors' > node what it needs to produce the proper SQL. > > > >> Any help much appreciated >> Regards >> Des >> >> <map:resource name=3D"authors"> >> <map:generate src=3D"authors.xml"/> >> <map:transform type=3D"sql"> >> <map:parameter name=3D"use-connection" value=3D"myConnection"/> >> </map:transform> >> </map:resource> >> >> <map:generate src=3D"article.xml"/> >> <map:transform type=3D"sql"> >> <map:parameter name=3D"use-connection" value=3D"myConnection"/> >> <map:parameter name=3D"article-id" value=3D"{request-param:article}"/> >> </map:transform> >> <map:transform src=3D"article.xsl"> >> <map:parameter name=3D"authors" value=3D"{???}"/> >> </map:transform> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > -- > Andre H. Juffer | Phone: 214.755.8136 > Biocenter Oulu and | Fax: 214.755.8136 > Department of Biochemistry | Email: [email protected] > University of Oulu, Finland | WWW: www.biochem.oulu.fi/Biocomputing/ > StruBioCat | WWW: www.strubiocat.oulu.fi > NordProt | WWW: www.nordprot.org > Triacle Biocomputing | WWW: www.triacle-bc.com > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --90e6ba6e8678d432a2049a0732ad Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable You don&#39;t need to pass it as a parameter. Just use map:aggregate with a= map:part that gets all the authors. To cache the result of the SQL query y= ou can use an expires pipeline with a very long expiration time.<div><br cl= ear=3D"all"> Jasha Joachimsthal<br><br><a href=3D"mailto:[email protected]" ta= rget=3D"_blank">[email protected]</a> - <a href=3D"mailto:jasha@a= pache.org" target=3D"_blank">[email protected]</a><br><br><font color=3D"#33= 3333">Hippo<br> Europe =A0 =95 =A0 Amsterdam =A0Oosteinde 11 =A0=95 =A01017 WT Amsterdam = =A0=95 =A0214.755.8136<br>USA =A0 =95 =A0 San Francisco =A0755 Baywoo= d Drive Second Floor=A0=A0=95 =A0Petaluma CA 94954 =A0 =95<span style=3D"fo= nt-family:arial, sans-serif;font-size:13px;border-collapse:collapse">=A0=A0= 214.755.8136 (toll free)</span><br> Canada =A0=95 =A0 Montr=E9al =A05369 Boulevard St-Laurent=A0#430=A0=A0=95 = =A0Montr=E9al QC H2T 1S5 =A0=95 =A0214.755.8136<br><a href=3D"http://w= ww.onehippo.com" target=3D"_blank">www.onehippo.com</a>=A0=A0=95 =A0<a href= =3D"http://www.onehippo.org" target=3D"_blank">www.onehippo.org</a>=A0=A0= =95 =A0<a href=3D"mailto:[email protected]" target=3D"_blank">info@onehippo= .com</a></font><br> <br><br><div class=3D"gmail_quote">On 16 January 2011 11:54, Andre Juffer <= span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]">[email protected]= ulu.fi</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"= margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"> <div class=3D"im">On 01/14/2011 06:23 PM, Des Magner wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> Hi<br> <br> I want to combine two pieces of XML that gets passed to my XSL<br> transformation. I have a list of authors that needs only to be read<br> once. I then have a page to edit different articles and this page must<br> present the list of authors for selection. But I do not want to read the<br= > list of authors from the database every time an article needs to be<br> edited. So I thought the best way to do this would be to define a<br> resource that contains the list of authors and pass this as a parameter<br> to the transformation for the article edit page as outlined below. Is it<br= > possible to somehow refer to the authors resource where I have placed<br> the ???.<br> </blockquote> <br></div> As far as I know this is NOT possible.<br> <br> As an alternative, you could include XML file with the authors list into th= e XML file containing the page that requires editing (or include the XML fi= le containing the page into the XML file holding the authors list), before = you use your transformer. The transformer that selects from the authors&#39= ; node what it needs to produce the proper SQL.<div class=3D"im"> <br> <br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> <br> Any help much appreciated<br> Regards<br> Des<br> <br> &lt;map:resource name=3D&quot;authors&quot;&gt;<br> &lt;map:generate src=3D&quot;authors.xml&quot;/&gt;<br> &lt;map:transform type=3D&quot;sql&quot;&gt;<br> &lt;map:parameter name=3D&quot;use-connection&quot; value=3D&quot;myConnect= ion&quot;/&gt;<br> &lt;/map:transform&gt;<br> &lt;/map:resource&gt;<br> <br> &lt;map:generate src=3D&quot;article.xml&quot;/&gt;<br> &lt;map:transform type=3D&quot;sql&quot;&gt;<br> &lt;map:parameter name=3D&quot;use-connection&quot; value=3D&quot;myConnect= ion&quot;/&gt;<br> &lt;map:parameter name=3D&quot;article-id&quot; value=3D&quot;{request-para= m:article}&quot;/&gt;<br> &lt;/map:transform&gt;<br> &lt;map:transform src=3D&quot;article.xsl&quot;&gt;<br> &lt;map:parameter name=3D&quot;authors&quot; value=3D&quot;{???}&quot;/&gt;= <br> &lt;/map:transform&gt;<br> <br> <br> ---------------------------------------------------------------------<br> To unsubscribe, e-mail: <a href=3D"mailto:[email protected]= rg" target=3D"_blank">[email protected]</a><br> For additional commands, e-mail: <a href=3D"mailto:[email protected]= .org" target=3D"_blank">[email protected]</a><br> <br> </blockquote> <br> <br></div><font color=3D"#888888"> -- <br> Andre H. Juffer =A0 =A0 =A0 =A0 =A0 =A0 =A0| Phone: 214.755.8136<br> Biocenter Oulu and =A0 =A0 =A0 =A0 =A0 | Fax: 214.755.8136<br> Department of Biochemistry =A0 | Email: <a href=3D"mailto:andre.juffer@oulu= .fi" target=3D"_blank">[email protected]</a><br> University of Oulu, Finland =A0| WWW: <a href=3D"http://www.biochem.oulu.fi= /Biocomputing/" target=3D"_blank">www.biochem.oulu.fi/Biocomputing/</a><br> StruBioCat =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | WWW: <a href=3D"http://www= .strubiocat.oulu.fi" target=3D"_blank">www.strubiocat.oulu.fi</a><br> NordProt =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | WWW: <a href=3D"http://w= ww.nordprot.org" target=3D"_blank">www.nordprot.org</a><br> Triacle Biocomputing =A0 =A0 =A0 =A0 | WWW: <a href=3D"http://www.triacle-b= c.com" target=3D"_blank">www.triacle-bc.com</a></font><div><div></div><div = class=3D"h5"><br> <br> ---------------------------------------------------------------------<br> To unsubscribe, e-mail: <a href=3D"mailto:[email protected]= rg" target=3D"_blank">[email protected]</a><br> For additional commands, e-mail: <a href=3D"mailto:[email protected]= .org" target=3D"_blank">[email protected]</a><br> <br> </div></div></blockquote></div><br></div> --90e6ba6e8678d432a2049a0732ad-- From [email protected] Mon Jan 17 11:25:00 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10556 invoked from network); 17 Jan 2011 11:24:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Jan 2011 11:24:59 -0000 Received: (qmail 77918 invoked by uid 500); 17 Jan 2011 11:24:59 -0000 Delivered-To: [email protected] Received: (qmail 77510 invoked by uid 500); 17 Jan 2011 11:24:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 77493 invoked by uid 99); 17 Jan 2011 11:24:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jan 2011 11:24:55 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO smtpout.karoo.kcom.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jan 2011 11:24:49 +0000 X-IronPort-AV: E=Sophos;i="4.60,332,1291593600"; d="scan'208,217";a="732838680" Received: from unknown (HELO [161.129.204.104]) ([161.129.204.104]) by smtpout.karoo.kcom.com with ESMTP; 17 Jan 2011 11:24:26 +0000 Message-ID: <[email protected]> Date: Mon, 17 Jan 2011 11:23:35 +0000 From: Peter Sparkes <[email protected]> Reply-To: [email protected] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:161.129.204.104) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Work Opportunity Content-Type: multipart/alternative; boundary="------------080104000409090600060604" --------------080104000409090600060604 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, I maintain a number of websites, for different companies, using the following technologies - debian (lenny), apache2, Multiple instances oftomcat6 each servicing a different domain and Cocoon 2.1.11. Within cocoon I use xml, xslt, javascript etc. One of the companies I work for is concerned that I am a one man company and that if I got run over by a bus they would have a problem. What I am looking for is a individual or small company who could take over in the event that I was unable to look after the website. I am located in Devon, England and the Server is in Yorkshire, England. If you are interested, please, send me your telephone number so we discuss the it. Regards Peter Sparkes --------------080104000409090600060604 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> </head> <body bgcolor="#ffffff" text="#000000"> Hi,<br> <br> I maintain a number of websites, for different companies, using the following technologies - debian (lenny), apache2, Multiple instances of<big> </big><small><big>tomcat6 each servicing a different domain and Cocoon</big> </small>2.1.11. Within cocoon I use xml, xslt, javascript etc.<br> <br> One of the companies I work for is concerned that I am a one man company and that if I got run over by a bus they would have a problem.<br> <br> What I am looking for is a individual or small company who could take over in the event that I was unable to look after the website.<br> <br> I am located in Devon, England and the Server is in Yorkshire, England.<br> <br> If you are interested, please, send me your telephone number so we discuss the it.<br> <br> Regards<br> <br> Peter Sparkes<br> <br> <br> <br> <br> </body> </html> --------------080104000409090600060604-- From [email protected] Wed Jan 19 18:55:17 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65768 invoked from network); 19 Jan 2011 18:55:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jan 2011 18:55:17 -0000 Received: (qmail 2076 invoked by uid 500); 19 Jan 2011 18:55:16 -0000 Delivered-To: [email protected] Received: (qmail 1898 invoked by uid 500); 19 Jan 2011 18:55:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 1884 invoked by uid 99); 19 Jan 2011 18:55:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jan 2011 18:55:12 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mhw.ulib.iupui.edu) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jan 2011 18:55:05 +0000 Received: from mwood by mhw.ulib.iupui.edu with local (Exim 4.72) (envelope-from <[email protected]>) id 1PfdB5-00081F-Ue for [email protected]; Wed, 19 Jan 2011 13:54:43 -0500 Date: Wed, 19 Jan 2011 13:54:43 -0500 From: "Mark H. Wood" <[email protected]> To: [email protected] Subject: Documentation for component-configurations, global-variables? Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="HcAYCG3uE/tztfnV" Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Checked: Checked by ClamAV on apache.org --HcAYCG3uE/tztfnV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I need to understand a sitemap that begins: <map:sitemap xmlns:map=3D"http://apache.org/cocoon/sitemap/1.0"> <map:pipelines> <map:component-configurations> <global-variables> <theme-path>IUPUIScholarWorks</theme-path> <theme-name>IUPUIScholarWORKS theme</theme-name> </global-variables> </map:component-configurations> Apparently this stuff didn't exist in 2.0 and is deprecated in 2.2, and I haven't tracked it down in the 2.1 documentation either. We're currently running on 2.2 and getting some deprecation messages that I'd like to address as time permits. It appears that 2.2 wants us to use Spring to do something analogous, but first I need to know in detail what the old way is doing so that I can work out how to do the same thing the new way. --=20 Mark H. Wood, Lead System Programmer [email protected] Asking whether markets are efficient is like asking whether people are smar= t. --HcAYCG3uE/tztfnV Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEAREDAAYFAk03M3MACgkQs/NR4JuTKG9kUwCgrrs0/u9skWs1xdgMlZRDHPYf vBMAn34P8zQKrHad0mWI+70nDbhIucUF =Ilvm -----END PGP SIGNATURE----- --HcAYCG3uE/tztfnV-- From [email protected] Wed Jan 19 21:28:03 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8659 invoked from network); 19 Jan 2011 21:28:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jan 2011 21:28:02 -0000 Received: (qmail 88152 invoked by uid 500); 19 Jan 2011 21:28:02 -0000 Delivered-To: [email protected] Received: (qmail 88036 invoked by uid 500); 19 Jan 2011 21:28:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 88029 invoked by uid 99); 19 Jan 2011 21:28:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jan 2011 21:28:01 +0000 X-ASF-Spam-Status: No, hits=0.9 required=10.0 tests=RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO lo.gmane.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jan 2011 21:27:53 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from <[email protected]>) id 1PffYy-0007qA-06 for [email protected]; Wed, 19 Jan 2011 22:27:32 +0100 Received: from 161.129.204.104 ([161.129.204.104]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <[email protected]>; Wed, 19 Jan 2011 22:27:31 +0100 Received: from lmorandini by 161.129.204.104 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <[email protected]>; Wed, 19 Jan 2011 22:27:31 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: [email protected] From: Luca Morandini <[email protected]> Subject: Re: Documentation for component-configurations, global-variables? Date: Wed, 19 Jan 2011 22:27:40 +0100 Lines: 17 Message-ID: <[email protected]> References: <[email protected]> Reply-To: [email protected] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: [email protected] X-Gmane-NNTP-Posting-Host: 161.129.204.104 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:161.129.204.104) Gecko/20101208 Thunderbird/3.1.7 In-Reply-To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org On 01/19/2011 07:54 PM, Mark H. Wood wrote: > > It appears that 2.2 wants us to use Spring to do something analogous, > but first I need to know in detail what the old way is doing so that I > can work out how to do the same thing the new way. In 2.1 you can use global variables throughout the sitemap (it is just another input module), like in: <map:generate element="body" src="cocoon://{global:theme-path}/index.html"/> In 2.2 you can use the Cocoon-Spring configurator to the same effect, but it is way more flexible then the old "global-variables" definition. Regards, Luca Morandini http://www.lucamorandini.it --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Jan 20 03:40:51 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85550 invoked from network); 20 Jan 2011 03:40:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Jan 2011 03:40:51 -0000 Received: (qmail 99502 invoked by uid 500); 20 Jan 2011 03:40:50 -0000 Delivered-To: [email protected] Received: (qmail 99209 invoked by uid 500); 20 Jan 2011 03:40:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 54842 invoked by uid 99); 20 Jan 2011 00:26:36 -0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=1wLAtJjjOcz1QzYVWzXxVLAnTeiNcdNj2EKSM20leXg=; b=FkGFmsk2ij/oaDLaum7IpPGwMxVhdh3PRzaaCtImY0q3OeI9Zo4zfsZwQyo8MH1Kpa SEANjoK/2hDkiozytrKPS4t2wiys5ddeBDbvtCj9wl6Ei44Rr9Wi7hcvR1rWFKXAnRoy QZNCh8tNUp4za0bgtkPHxk85Zxzy2vulbiFcY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Nn/3imNPy9uMr00cJNFJJX7nZwyLPvRPE0hN5o7Ol80U2M0AlJPD2/4r4Ih9yENqW/ 1VcmnhX2b5OzA+WpPFe8+9l+DOhYuJ08BTKmZuYk1ASomGeZuGIy5aDenic/Ue+A2q82 1pUl+BYImZpufwOerZp3uxr1bYKW1YCaEMuSk= MIME-Version: 1.0 In-Reply-To: <[email protected]> References: <[email protected]> Date: Thu, 20 Jan 2011 00:26:10 +0000 Message-ID: <[email protected]> Subject: Re: Work Opportunity From: warrell harries <[email protected]> To: [email protected], [email protected] Content-Type: multipart/alternative; boundary=0016367d4cca3289e9049a3c2e38 --0016367d4cca3289e9049a3c2e38 Content-Type: text/plain; charset=ISO-8859-1 Hi Peter, I have a company, Cocoon Technology, that could help. My number is 07976232632. I am based near Portsmouth. Hope to hear from you, Regards Warrell On 17 Jan 2011 11:24, "Peter Sparkes" <[email protected]> wrote: > Hi, > > I maintain a number of websites, for different companies, using the following technologies - debian > (lenny), apache2, Multiple instances oftomcat6 each servicing a different domain and Cocoon 2.1.11. > Within cocoon I use xml, xslt, javascript etc. > > One of the companies I work for is concerned that I am a one man company and that if I got run over > by a bus they would have a problem. > > What I am looking for is a individual or small company who could take over in the event that I was > unable to look after the website. > > I am located in Devon, England and the Server is in Yorkshire, England. > > If you are interested, please, send me your telephone number so we discuss the it. > > Regards > > Peter Sparkes > > > > --0016367d4cca3289e9049a3c2e38 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <p>Hi Peter,</p> <p>I have a company, Cocoon Technology, that could help. My number is 07976= 232632. I am based near Portsmouth.</p> <p>Hope to hear from you,</p> <p>Regards</p> <p>Warrell</p> <div class=3D"gmail_quote">On 17 Jan 2011 11:24, &quot;Peter Sparkes&quot; = &lt;<a href=3D"mailto:[email protected]">[email protected]</a>&gt; wrote:<br = type=3D"attribution">&gt; Hi,<br>&gt; <br>&gt; I maintain a number of websi= tes, for different companies, using the following technologies - debian <br= > &gt; (lenny), apache2, Multiple instances oftomcat6 each servicing a differ= ent domain and Cocoon 2.1.11. <br>&gt; Within cocoon I use xml, xslt, javas= cript etc.<br>&gt; <br>&gt; One of the companies I work for is concerned th= at I am a one man company and that if I got run over <br> &gt; by a bus they would have a problem.<br>&gt; <br>&gt; What I am looking= for is a individual or small company who could take over in the event that= I was <br>&gt; unable to look after the website.<br>&gt; <br>&gt; I am loc= ated in Devon, England and the Server is in Yorkshire, England.<br> &gt; <br>&gt; If you are interested, please, send me your telephone number = so we discuss the it.<br>&gt; <br>&gt; Regards<br>&gt; <br>&gt; Peter Spark= es<br>&gt; <br>&gt; <br>&gt; <br>&gt; <br></div> --0016367d4cca3289e9049a3c2e38-- From [email protected] Thu Jan 20 13:07:28 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77441 invoked from network); 20 Jan 2011 13:07:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Jan 2011 13:07:27 -0000 Received: (qmail 5482 invoked by uid 500); 20 Jan 2011 13:07:27 -0000 Delivered-To: [email protected] Received: (qmail 5082 invoked by uid 500); 20 Jan 2011 13:07:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 5074 invoked by uid 99); 20 Jan 2011 13:07:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jan 2011 13:07:22 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO gerard.telenet-ops.be) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jan 2011 13:07:15 +0000 Received: from [161.129.204.104] ([161.129.204.104]) by gerard.telenet-ops.be with bizsmtp id xp6t1f00M12dg0W0Hp6tw9; Thu, 20 Jan 2011 14:06:53 +0100 Message-ID: <[email protected]> Date: Thu, 20 Jan 2011 14:06:53 +0100 From: Jos Snellings <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:161.129.204.104) Gecko/20101208 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: sitemap Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hello, Cocoon 3: Is there an expression for the servername in the sitemap? I am looking for: <map:handle-errors> <map:select value="{jexl:cocoon.exception.class.name}"> <map:when contains="NoMatchingPipelineException"> <map:generate src="error-handling/404.xml" /> <map:serialize type="xhtml" status-code="404" /> </map:when> <map:when ends-with="AnonymousAccessException"> <servlet:redirect-to uri="https://{server}/myapplication/secure/loginpage" /> </map:when> Thanks! Jos --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Jan 20 17:23:05 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38344 invoked from network); 20 Jan 2011 17:23:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Jan 2011 17:23:04 -0000 Received: (qmail 93058 invoked by uid 500); 20 Jan 2011 17:23:04 -0000 Delivered-To: [email protected] Received: (qmail 92728 invoked by uid 500); 20 Jan 2011 17:23:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 92712 invoked by uid 99); 20 Jan 2011 17:23:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jan 2011 17:23:01 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail1.bemta14.messagelabs.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jan 2011 17:22:54 +0000 Received: from [161.129.204.104:31847] by server-8.bemta-14.messagelabs.com id C2/C2-15908-85F683D4; Thu, 20 Jan 2011 17:22:32 +0000 X-VirusChecked: Checked X-Env-Sender: [email protected] X-Msg-Ref: server-12.tower-27.messagelabs.com!1295544151!32146579!2 X-StarScan-Version: 6.2.9; banners=odyssey-group.com,-,- X-Originating-IP: [161.129.204.104] Received: (qmail 25835 invoked from network); 20 Jan 2011 17:22:32 -0000 Received: from unknown (HELO mail3.oams.com) (161.129.204.104) by server-12.tower-27.messagelabs.com with SMTP; 20 Jan 2011 17:22:32 -0000 Received: from mail4.oams.com ([161.129.204.104]) by mail3.oams.com with Microsoft SMTPSVC214.755.8136); Thu, 20 Jan 2011 18:22:31 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: sitemap Date: Thu, 20 Jan 2011 18:22:31 +0100 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: sitemap Thread-Index: Acu4ov361hUMuUGOR3Wz44xxbW8D1AAIzE2g References: <[email protected]> From: "Laurent Medioni" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 20 Jan 2011 17:22:31.0893 (UTC) FILETIME=[9EE36850:01CBB8C6] Hello, The old uri=3D"{request:scheme}://{request:serverName}:{request:serverPort}{reques= t:contextPath}/secure/loginpage" Using org.apache.cocoon.components.modules.input.RequestModule does not work anymore in 3 ? Laurent -----Original Message----- From: Jos Snellings [mailto:[email protected]]=20 Sent: jeudi 20 janvier 2011 14:07 To: [email protected] Subject: sitemap Hello, Cocoon 3: Is there an expression for the servername in the sitemap? I am looking for: <map:handle-errors> <map:select value=3D"{jexl:cocoon.exception.class.name}"> <map:when contains=3D"NoMatchingPipelineException"> <map:generate src=3D"error-handling/404.xml" /> <map:serialize type=3D"xhtml" status-code=3D"404" /> </map:when> <map:when ends-with=3D"AnonymousAccessException"> <servlet:redirect-to=20 uri=3D"https://{server}/myapplication/secure/loginpage" /> </map:when> Thanks! Jos --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Jan 20 22:15:09 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78201 invoked from network); 20 Jan 2011 22:15:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Jan 2011 22:15:09 -0000 Received: (qmail 58463 invoked by uid 500); 20 Jan 2011 22:15:08 -0000 Delivered-To: [email protected] Received: (qmail 58302 invoked by uid 500); 20 Jan 2011 22:15:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 58295 invoked by uid 99); 20 Jan 2011 22:15:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jan 2011 22:15:07 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO slb-smtpout-01.boeing.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jan 2011 22:14:58 +0000 Received: from slb-av-01.boeing.com (slb-av-01.boeing.com [161.129.204.104]) by slb-smtpout-01.ns.cs.boeing.com (8.14.4/8.14.4/8.14.4/SMTPOUT) with ESMTP id p0KMEZAi008667 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <[email protected]>; Thu, 20 Jan 2011 14:14:38 -0800 (PST) Received: from slb-av-01.boeing.com (localhost [161.129.204.104]) by slb-av-01.boeing.com (8.14.4/8.14.4/DOWNSTREAM_RELAY) with ESMTP id p0KMEZl9018732 for <[email protected]>; Thu, 20 Jan 2011 14:14:35 -0800 (PST) Received: from XCH-MWHT-04.mw.nos.boeing.com (xch-mwht-04.mw.nos.boeing.com [161.129.204.104]) by slb-av-01.boeing.com (8.14.4/8.14.4/UPSTREAM_RELAY) with ESMTP id p0KMEYwd018720 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=OK) for <[email protected]>; Thu, 20 Jan 2011 14:14:35 -0800 (PST) Received: from XCH-MW-07V.mw.nos.boeing.com ([161.129.204.104]) by XCH-MWHT-04.mw.nos.boeing.com ([161.129.204.104]) with mapi; Thu, 20 Jan 2011 16:14:34 -0600 From: "Schmitz, Jeffrey A" <[email protected]> To: "[email protected]" <[email protected]> Date: Thu, 20 Jan 2011 16:14:31 -0600 Subject: processPipelineTo and error handling Thread-Topic: processPipelineTo and error handling Thread-Index: Acu472l0qmQGF2DNQLuIZDEwQEvk0A== Message-ID: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_EC00F1CE70DFEC419A684A37323D39742BB1F830XCHMW07Vmwnosbo_" MIME-Version: 1.0 --_000_EC00F1CE70DFEC419A684A37323D39742BB1F830XCHMW07Vmwnosbo_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, I have a flowscript which calls processPipelineTo, and I can't figure ou= t how to get back into the script if there is an exception in one of the co= mponents of the pipeline that has been called. For some reason, any error = handling in my sitemap sends its results back to the client (i.e. the brows= er) instead of back to the flowscript via the specified parameter ( transR= esult in the below example) cocoon.processPipelineTo(importURL, null, transResult); In the below handler, I was expecting the saxError.xml file contents to be = sent back to my flowscript, but it ends up being sent to the browser instea= d, and my flowscript never continues on. What am I missing here? <map:handle-errors> <map:select type=3D"exception"> <map:when test=3D"sax-parser-error"> <map:generate src=3D"xml/saxError.xml" /> <map:serialize type=3D"xml" /> </map:when> --_000_EC00F1CE70DFEC419A684A37323D39742BB1F830XCHMW07Vmwnosbo_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40"><head><meta http-equiv=3DContent-Type content= =3D"text/html; charset=3Dus-ascii"><meta name=3DGenerator content=3D"Micros= oft Word 12 (filtered medium)"><style><!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Calibri","sans-serif"; color:windowtext;} .MsoChpDefault {mso-style-type:export-only;} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue vli= nk=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal>Hello,<o:p></o:p= ></p><p class=3DMsoNormal>&nbsp;&nbsp; I have a flowscript which calls proc= essPipelineTo, and I can&#8217;t figure out how to get back into the script= if there is an exception in one of the components of the pipeline that has= been called.&nbsp; For some reason, any error handling in my sitemap sends= its results back to the client (i.e. the browser) instead of back to the f= lowscript via &nbsp;the specified parameter ( transResult in the below exam= ple) <o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMs= oNormal style=3D'text-autospace:none'><span style=3D'font-size:10.0pt;font-= family:"Courier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cocoon.processPipelineTo(= importURL, </span><b><span style=3D'font-size:10.0pt;font-family:"Courier N= ew";color:#7F0055'>null</span></b><span style=3D'font-size:10.0pt;font-fami= ly:"Courier New";color:black'>, transResult);</span><span style=3D'font-siz= e:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=3DMsoNor= mal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>In the below handler, I was e= xpecting the saxError.xml file contents to be sent back to my flowscript, b= ut it ends up being sent to the browser instead, and my flowscript never co= ntinues on.&nbsp; What am I missing here?<o:p></o:p></p><p class=3DMsoNorma= l><o:p>&nbsp;</o:p></p><p class=3DMsoNormal style=3D'text-autospace:none'><= span style=3D'font-size:10.0pt;font-family:"Courier New";color:black'>&nbsp= ;&nbsp; </span><span style=3D'font-size:10.0pt;font-family:"Courier New";co= lor:teal'>&lt;</span><span style=3D'font-size:10.0pt;font-family:"Courier N= ew";color:#3F7F7F'>map:handle-errors</span><span style=3D'font-size:10.0pt;= font-family:"Courier New";color:teal'>&gt;</span><span style=3D'font-size:1= 0.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=3DMsoNormal= style=3D'text-autospace:none'><span style=3D'font-size:10.0pt;font-family:= "Courier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span styl= e=3D'font-size:10.0pt;font-family:"Courier New";color:teal'>&lt;</span><spa= n style=3D'font-size:10.0pt;font-family:"Courier New";color:#3F7F7F'>map:se= lect</span><span style=3D'font-size:10.0pt;font-family:"Courier New"'> <spa= n style=3D'color:#7F007F'>type</span><span style=3D'color:black'>=3D</span>= <i><span style=3D'color:#2A00FF'>&quot;exception&quot;</span></i><span styl= e=3D'color:teal'>&gt;</span><o:p></o:p></span></p><p class=3DMsoNormal styl= e=3D'text-autospace:none'><span style=3D'font-size:10.0pt;font-family:"Cour= ier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style=3D'= font-size:10.0pt;font-family:"Courier New";color:teal'>&lt;</span><span sty= le=3D'font-size:10.0pt;font-family:"Courier New";color:#3F7F7F'>map:when</s= pan><span style=3D'font-size:10.0pt;font-family:"Courier New"'> <span style= =3D'color:#7F007F'>test</span><span style=3D'color:black'>=3D</span><i><spa= n style=3D'color:#2A00FF'>&quot;sax-parser-error&quot;</span></i><span styl= e=3D'color:teal'>&gt;</span><o:p></o:p></span></p><p class=3DMsoNormal styl= e=3D'text-autospace:none'><span style=3D'font-size:10.0pt;font-family:"Cour= ier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </sp= an><span style=3D'font-size:10.0pt;font-family:"Courier New";color:teal'>&l= t;</span><span style=3D'font-size:10.0pt;font-family:"Courier New";color:#3= F7F7F'>map:generate</span><span style=3D'font-size:10.0pt;font-family:"Cour= ier New"'> <span style=3D'color:#7F007F'>src</span><span style=3D'color:bla= ck'>=3D</span><i><span style=3D'color:#2A00FF'>&quot;xml/saxError.xml&quot;= </span></i> <span style=3D'color:teal'>/&gt;</span><o:p></o:p></span></p><p= class=3DMsoNormal style=3D'text-autospace:none'><span style=3D'font-size:1= 0.0pt;font-family:"Courier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp; </span><span style=3D'font-size:10.0pt;font-family:"Cour= ier New";color:teal'>&lt;</span><span style=3D'font-size:10.0pt;font-family= :"Courier New";color:#3F7F7F'>map:serialize</span><span style=3D'font-size:= 10.0pt;font-family:"Courier New"'> <span style=3D'color:#7F007F'>type</span= ><span style=3D'color:black'>=3D</span><i><span style=3D'color:#2A00FF'>&qu= ot;xml&quot;</span></i> <span style=3D'color:teal'>/&gt;</span><o:p></o:p><= /span></p><p class=3DMsoNormal style=3D'text-autospace:none'><span style=3D= 'font-size:10.0pt;font-family:"Courier New";color:black'>&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp; </span><span style=3D'font-size:10.0pt;font-family:"Courier Ne= w";color:teal'>&lt;/</span><span style=3D'font-size:10.0pt;font-family:"Cou= rier New";color:#3F7F7F'>map:when</span><span style=3D'font-size:10.0pt;fon= t-family:"Courier New";color:teal'>&gt;</span><span style=3D'font-size:10.0= pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=3DMsoNormal><o= :p>&nbsp;</o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></body><= /html>= --_000_EC00F1CE70DFEC419A684A37323D39742BB1F830XCHMW07Vmwnosbo_-- From [email protected] Sun Jan 23 00:29:48 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22286 invoked from network); 23 Jan 2011 00:29:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Jan 2011 00:29:48 -0000 Received: (qmail 71117 invoked by uid 500); 23 Jan 2011 00:29:47 -0000 Delivered-To: [email protected] Received: (qmail 71030 invoked by uid 500); 23 Jan 2011 00:29:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 67893 invoked by uid 99); 23 Jan 2011 00:26:15 -0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) X-Eon-Dm: dm0201 X-Eon-Sig: AQJtsoRNO3WLGq+lHwIAAAAB,af6c21c55bbef79d841f4eead59de246 Message-ID: <[email protected]> Date: Sun, 23 Jan 2011 01:25:49 +0100 From: Des Magner <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:161.129.204.104) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Adding my Java code to flowscript Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=1 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1012030000 definitions=main-1101220109 Hi I am trying to add some custom code to be called from my flowscript but with no success. I followed the instructions in the user documentation to the letter (http://cocoon.apache.org/2.1/userdocs/flow/java.html). I have added my source directory entry to the component-instance in the format "file:/path/to/my/source" but it doesn't seem to want to pick up the code. Say I have the following code in my flowscript: var resource = new Packages.Test(); with the file Test.java placed in my source dir as specified above, I consistently get the following error: org.mozilla.javascript.EvaluatorException: "file:///....js", line ..: Not a Java class: [JavaPackage Test] I can get around it by placing the compiled class in the cocoon/WEB-INF/classes directory but this is not a very elegant solution. Any help would be greatly appreciated. Thanks Des --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Jan 23 10:37:44 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38235 invoked from network); 23 Jan 2011 10:37:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Jan 2011 10:37:43 -0000 Received: (qmail 11677 invoked by uid 500); 23 Jan 2011 10:37:43 -0000 Delivered-To: [email protected] Received: (qmail 11229 invoked by uid 500); 23 Jan 2011 10:37:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 11222 invoked by uid 99); 23 Jan 2011 10:37:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Jan 2011 10:37:38 +0000 X-ASF-Spam-Status: No, hits=2.1 required=10.0 tests=FREEMAIL_FROM,HK_RANDOM_ENVFROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-fx0-f51.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Jan 2011 10:37:30 +0000 Received: by fxm5 with SMTP id 5so3374581fxm.24 for <[email protected]>; Sun, 23 Jan 2011 02:37:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=gmIGS2ug1WcqGOW2QPay7aB9rOA+XP0ExuUKSpPv5uw=; b=ncOX1lTw4T+mgO95nMVbJ2DuoUsECtpMBn5owX1m0HnGFsjy65vDOgnMUKdLbRXuqG p3lPlfmSAYDc7ty4QSoPN10Sk9vjfI0JQpD8aUPyi+AzmjJNEQp61EaIAu3V4i30G2tq +0uv5BMxh31DFaqKiRZDHz6z8HRiJ8kKWlCE8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=TyewOUFXExSoJVH2ic52zJQ4kYJCoHQD5IaAQBflUJB0/SGoGsWnILmsIV6cBxk1Zm NF3JmI3Ka9h9P18BOYNWRiNfVE/e/vV+UJggXB+r8daH/uKo8ghzKgwmdMCbnLoAgnqt c3IYDw2SR0WpIQb9VaFYul210+HfN7+bcB7to= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id d1mr89128faq.88.1295779030414; Sun, 23 Jan 2011 02:37:10 -0800 (PST) Received: by 161.129.204.104 with HTTP; Sun, 23 Jan 2011 02:37:10 -0800 (PST) Date: Sun, 23 Jan 2011 11:37:10 +0100 Message-ID: <[email protected]> Subject: Proxying http request/responses From: Piotr D <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=001636c5b27dd0b781049a811078 X-Virus-Checked: Checked by ClamAV on apache.org --001636c5b27dd0b781049a811078 Content-Type: text/plain; charset=ISO-8859-1 Hello, I try to proxy http request through cocoon and modify it on-the-fly. The first step I've done was an attempt to download whole web site 'as it is'. Web browser connects to cocoon pipeline - let's say that it is http://localhost:8888/cocoon/loadwebsite and it retrieves proxied website content without any modifications. I used HttpGenerator, but unfortunately it gets only html code - the rest of the site content (CSS, images and so on) are not downloaded. Which generators should I use additionaly and what is their correct orded to do so? My second question is if it possible to send POST request from cocoon to the remote server? I've built CFORMS and pure-HTML form and in both cases when POST request reaches HtmlGenerator, command is transformed from POST into GET. It causes that remote server doesn't return appropriate output. Is this any way to make sure that html command will not be modified? Can you please give me some example code? Thanks in advance for all hints, Piotr --001636c5b27dd0b781049a811078 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div>Hello,</div><div><br></div><div>I try to proxy http request through co= coon and modify it on-the-fly. The first step I&#39;ve done was an attempt = to download whole web site &#39;as it is&#39;. Web browser connects to coco= on pipeline - let&#39;s say that it is <a href=3D"http://localhost:8888/coc= oon/loadwebsite">http://localhost:8888/cocoon/loadwebsite</a> and it retrie= ves proxied website content without any modifications. I used HttpGenerator= , but unfortunately it gets only html code - the rest of the site content (= CSS, images and so on) are not downloaded. Which generators should I use ad= ditionaly and what is their correct orded to do so?</div> <div><br></div><div>My second question is if it possible to send POST reque= st from cocoon to the remote server? I&#39;ve built CFORMS and pure-HTML fo= rm and in both cases when POST request reaches HtmlGenerator, command is tr= ansformed from POST into GET. It causes that remote server doesn&#39;t retu= rn appropriate output. Is this any way to make sure that html command will = not be modified?=A0</div> <div><br></div><div>Can you please give me some example code?</div><div><br= ></div><div>Thanks in advance for all hints,</div><div>Piotr</div> --001636c5b27dd0b781049a811078-- From [email protected] Mon Jan 24 06:39:03 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74066 invoked from network); 24 Jan 2011 06:39:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jan 2011 06:39:02 -0000 Received: (qmail 5010 invoked by uid 500); 24 Jan 2011 06:39:01 -0000 Delivered-To: [email protected] Received: (qmail 4490 invoked by uid 500); 24 Jan 2011 06:38:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 4473 invoked by uid 99); 24 Jan 2011 06:38:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jan 2011 06:38:57 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO intern.proventis.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jan 2011 06:38:50 +0000 Received: from mail.proventis.net (unknown [161.129.204.104]) by intern.proventis.net (Postfix) with ESMTP id 504B42C1A2 for <[email protected]>; Mon, 24 Jan 2011 07:38:28 +0100 (CET) Received: from localhost (localhost [161.129.204.104]) by mail.proventis.net (Postfix) with ESMTP id 36BA2CD3E4 for <[email protected]>; Mon, 24 Jan 2011 07:38:28 +0100 (CET) X-Virus-Scanned: Debian [email protected] Received: from mail.proventis.net ([161.129.204.104]) by localhost (mail.proventis.net [161.129.204.104]) (amavisd-new, port 10024) with ESMTP id wgu8Ba+wtA4G for <[email protected]>; Mon, 24 Jan 2011 07:38:27 +0100 (CET) Received: from [161.129.204.104] (tmarkus.proventis.net [161.129.204.104]) by mail.proventis.net (Postfix) with ESMTP id B2D451806 for <[email protected]>; Mon, 24 Jan 2011 07:38:27 +0100 (CET) Message-ID: <[email protected]> Date: Mon, 24 Jan 2011 07:38:27 +0100 From: Thomas Markus <[email protected]> Organization: proventis GmbH User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:161.129.204.104) Gecko/20101206 SUSE/3.1.7 Lightning/1.0b2 Mnenhy/0.8.3 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: Adding my Java code to flowscript References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Hi, dont use the default package. Place your class in a package (fi test.Test) and it should work. regards Thomas Am 23.01.2011 01:25, schrieb Des Magner: > Hi > > I am trying to add some custom code to be called from my flowscript > but with no success. I followed the instructions in the user > documentation to the letter > (http://cocoon.apache.org/2.1/userdocs/flow/java.html). I have added > my source directory entry to the component-instance in the format > "file:/path/to/my/source" but it doesn't seem to want to pick up the > code. Say I have the following code in my flowscript: > > var resource = new Packages.Test(); > > with the file Test.java placed in my source dir as specified above, I > consistently get the following error: > > org.mozilla.javascript.EvaluatorException: "file:///....js", line ..: > Not a Java class: [JavaPackage Test] > > I can get around it by placing the compiled class in the > cocoon/WEB-INF/classes directory but this is not a very elegant solution. > > Any help would be greatly appreciated. > Thanks > Des > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Jan 24 19:25:37 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45256 invoked from network); 24 Jan 2011 19:25:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jan 2011 19:25:36 -0000 Received: (qmail 59724 invoked by uid 500); 24 Jan 2011 19:25:36 -0000 Delivered-To: [email protected] Received: (qmail 59589 invoked by uid 500); 24 Jan 2011 19:25:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 59582 invoked by uid 99); 24 Jan 2011 19:25:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jan 2011 19:25:35 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO lo.gmane.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jan 2011 19:25:26 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from <[email protected]>) id 1PhS2D-00069d-9I for [email protected]; Mon, 24 Jan 2011 20:25:05 +0100 Received: from 157.Red-80-37-78.staticIP.rima-tde.net ([161.129.204.104]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <[email protected]>; Mon, 24 Jan 2011 20:25:05 +0100 Received: from des by 157.Red-80-37-78.staticIP.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <[email protected]>; Mon, 24 Jan 2011 20:25:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: [email protected] From: Des Magner <[email protected]> Subject: Re: Adding my Java code to flowscript Date: Mon, 24 Jan 2011 19:17:14 +0000 (UTC) Lines: 9 Message-ID: <[email protected]> References: <[email protected]> <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: [email protected] X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 161.129.204.104 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:161.129.204.104) Gecko/20101203 Firefox/3.6.13 ( .NET CLR 3.5.30729)) X-Virus-Checked: Checked by ClamAV on apache.org Hi Thomas That is not a solution. Of course I had tried it initially with a class that was part of a package. I only described it this way for simplicity's sake. And there is no requirement that a Java class belong to a package. Regards Des --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jan 25 06:15:18 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5779 invoked from network); 25 Jan 2011 06:15:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Jan 2011 06:15:18 -0000 Received: (qmail 63056 invoked by uid 500); 25 Jan 2011 06:15:18 -0000 Delivered-To: [email protected] Received: (qmail 62665 invoked by uid 500); 25 Jan 2011 06:15:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 62658 invoked by uid 99); 25 Jan 2011 06:15:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jan 2011 06:15:14 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO intern.proventis.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jan 2011 06:15:06 +0000 Received: from mail.proventis.net (unknown [161.129.204.104]) by intern.proventis.net (Postfix) with ESMTP id 78E6883BC3 for <[email protected]>; Tue, 25 Jan 2011 07:14:46 +0100 (CET) Received: from localhost (localhost [161.129.204.104]) by mail.proventis.net (Postfix) with ESMTP id 5B15CCD41A for <[email protected]>; Tue, 25 Jan 2011 07:14:46 +0100 (CET) X-Virus-Scanned: Debian [email protected] Received: from mail.proventis.net ([161.129.204.104]) by localhost (mail.proventis.net [161.129.204.104]) (amavisd-new, port 10024) with ESMTP id soWHz2uo3ga6 for <[email protected]>; Tue, 25 Jan 2011 07:14:45 +0100 (CET) Received: from [161.129.204.104] (tmarkus.proventis.net [161.129.204.104]) by mail.proventis.net (Postfix) with ESMTP id C82E0CD5D9 for <[email protected]>; Tue, 25 Jan 2011 07:14:45 +0100 (CET) Message-ID: <[email protected]> Date: Tue, 25 Jan 2011 07:14:45 +0100 From: Thomas Markus <[email protected]> Organization: proventis GmbH User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:161.129.204.104) Gecko/20101206 SUSE/3.1.7 Lightning/1.0b2 Mnenhy/0.8.3 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: Adding my Java code to flowscript References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org hm, a simple var a = new Packages.java.lang.Integer(0); works here. please check your classpath for a package named Test. maybe you have a folder Test and a file Test.class regards Thomas Am 24.01.2011 20:17, schrieb Des Magner: > Hi Thomas > > That is not a solution. Of course I had tried it initially with a class that was > part of a package. I only described it this way for simplicity's sake. And there > is no requirement that a Java class belong to a package. > > Regards > Des > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jan 25 06:20:03 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6326 invoked from network); 25 Jan 2011 06:20:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Jan 2011 06:20:02 -0000 Received: (qmail 66685 invoked by uid 500); 25 Jan 2011 06:20:02 -0000 Delivered-To: [email protected] Received: (qmail 66307 invoked by uid 500); 25 Jan 2011 06:19:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 66300 invoked by uid 99); 25 Jan 2011 06:19:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jan 2011 06:19:58 +0000 X-ASF-Spam-Status: No, hits=1.7 required=10.0 tests=RFC_ABUSE_POST,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mx4.ciber-europe.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jan 2011 06:19:50 +0000 Received: from eusex01.sweden.ecsoft ([161.129.204.104]) by mx4.ciber-europe.com with Microsoft SMTPSVC214.755.8136); Tue, 25 Jan 2011 07:19:28 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01CBBC57.D24B5D8F" Subject: RE: Adding my Java code to flowscript Date: Tue, 25 Jan 2011 07:17:35 +0100 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: <[email protected]> Thread-Topic: Adding my Java code to flowscript Thread-Index: Acu6lNeVD4ZcoWwHSI6zg7lMHO+5vQBwreP9 References: <[email protected]> From: "Robby Pelssers" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 25 Jan 2011 06:19:28.0976 (UTC) FILETIME=[D27CC500:01CBBC57] X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01CBBC57.D24B5D8F Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable importClass(Packages.java.util.ArrayList); function search() { var list =3D new ArrayList(); ... } Kind regards, Robby Pelssers -----Oorspronkelijk bericht----- Van: Des Magner [mailto:[email protected]] Verzonden: zo 23-1-2011 1:25 Aan: [email protected] Onderwerp: Adding my Java code to flowscript =20 Hi I am trying to add some custom code to be called from my flowscript but=20 with no success. I followed the instructions in the user documentation=20 to the letter (http://cocoon.apache.org/2.1/userdocs/flow/java.html). I=20 have added my source directory entry to the component-instance in the=20 format "file:/path/to/my/source" but it doesn't seem to want to pick up=20 the code. Say I have the following code in my flowscript: var resource =3D new Packages.Test(); with the file Test.java placed in my source dir as specified above, I=20 consistently get the following error: org.mozilla.javascript.EvaluatorException: "file:///....js", line ..:=20 Not a Java class: [JavaPackage Test] I can get around it by placing the compiled class in the=20 cocoon/WEB-INF/classes directory but this is not a very elegant = solution. Any help would be greatly appreciated. Thanks Des --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] ------_=_NextPart_001_01CBBC57.D24B5D8F Content-Type: application/ms-tnef; name="winmail.dat" Content-Transfer-Encoding: base64 eJ8+Ih0GAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEEgAEAJgAAAFJFOiBBZGRpbmcgbXkgSmF2 YSBjb2RlIHRvIGZsb3dzY3JpcHQACw0BBYADAA4AAADbBwEAGQAHABEAIwACADkBASCAAwAOAAAA 2wcBABkABwATABwAAgA0AQEJgAEAIQAAADA2NUYyMTA3RDJENTA0NDE4Qzc1NTcwNzlFMkMxRjcx AO8GAQOQBgCICwAAOQAAAAMAJgAAAAAAAwA2AAAAAABAADkAxzgjj1e8ywEeAD0AAQAAAAUAAABS RTogAAAAAAIBRwABAAAAMAAAAGM9dXM7YT0gO3A9RUNzb2Z0O2w9RVVTRVgwMS0xMTAxMjUwNjE5 MjhaLTUxNTkyAB4ASQABAAAAIgAAAEFkZGluZyBteSBKYXZhIGNvZGUgdG8gZmxvd3NjcmlwdAAA AEAATgCA5JEVlLrLAR4AWgABAAAACwAAAERlcyBNYWduZXIAAAIBWwABAAAAQgAAAAAAAACBKx+k vqMQGZ1uAN0BD1QCAAAAAERlcyBNYWduZXIAU01UUABkZXNAaWNhbmRyaXZlYXRyYWN0b3IuY29t AAAAAgFcAAEAAAAfAAAAU01UUDpERVNASUNBTkRSSVZFQVRSQUNUT1IuQ09NAAAeAF0AAQAAAAsA AABEZXMgTWFnbmVyAAACAV4AAQAAAEIAAAAAAAAAgSsfpL6jEBmdbgDdAQ9UAgAAAABEZXMgTWFn bmVyAFNNVFAAZGVzQGljYW5kcml2ZWF0cmFjdG9yLmNvbQAAAAIBXwABAAAAHwAAAFNNVFA6REVT QElDQU5EUklWRUFUUkFDVE9SLkNPTQAAHgBmAAEAAAAFAAAAU01UUAAAAAAeAGcAAQAAABoAAABk ZXNAaWNhbmRyaXZlYXRyYWN0b3IuY29tAAAAHgBoAAEAAAAFAAAAU01UUAAAAAAeAGkAAQAAABoA AABkZXNAaWNhbmRyaXZlYXRyYWN0b3IuY29tAAAAHgBwAAEAAAAiAAAAQWRkaW5nIG15IEphdmEg Y29kZSB0byBmbG93c2NyaXB0AAAAAgFxAAEAAAAbAAAAAcu6lNeVD4ZcoWwHSI6zg7lMHO+5vQBw reP9AB4AdAABAAAAGAAAAHVzZXJzQGNvY29vbi5hcGFjaGUub3JnAB4AGgwBAAAADwAAAFJvYmJ5 IFBlbHNzZXJzAAAeAB0OAQAAACIAAABBZGRpbmcgbXkgSmF2YSBjb2RlIHRvIGZsb3dzY3JpcHQA AAACAQkQAQAAAJMEAACPBAAAUwcAAExaRnUEfmnnAwAKAHJjcGcxMjXiMgNDdGV4BUEBAwH3/wqA AqQD5AcTAoAP8wBQBFY/CFUHshElDlEDAQIAY2jhCsBzZXQyBgAGwxEl9jMERhO3MBIsETMI7wn3 tjsYHw4wNREiDGBjAFCzCwkBZDM2FlALpiAHcJpwF8FDC2AEEChQANAIa2FnB5AuamF2UGEudXQD EC4HEHLIYXlMBAB0KRkwCrHDCoQKgGZ1bmMeoAIgziAUEArAE9AoKQMwAABdH6MgIfEeYAXAbB9B IPg9IG4H0R7nIUAfhSHyVi4kgB+VfR+aSwuAZMogGCBnCxFzLB+UCACAYmJ5IFBlbAQQrQSQcx+a H5QtKSJPBbAkc3ADYG5rJ5BpathrIGIGcRPQdCkjH5SiVgBwOiBEB5FNHfAbIuAFwFsAwAMQdG86 WQEAc0AN4ABwZAUQdl0g8HQfACCABbAuBaBt9l0rJQSQegIgAQAroS8wQCAyMy0xLQHQMbAxIDE6 DjAflEErkjp1J8JABaAFoAIgLmFTCrAT0GUuBbBnH5RPKS9RcncEkHArsEFkomQLgGcgbSdgSh5R liAFoAEAICzQIGYXsG53BPQhlR+USACgH6lJyCBhbTUgcnk0IjUx3mE0ACDQA3A1EGMxcCzQ3zfg NOYqYDTQB0BsCYA1UH8DYTRSNWgqUB6QNmUD8HTWaCLQL8BzGtBjB5AeIP4gN7ACEDpwNYA6kTyw NRD7C4AfUHIa0CCSBCALgD5D6TFyIGQx4HUHgAIwLdB/IKIflDUxPlI6gAJAEoEoJSqwdDPALy8x 3y8ymC4xLzFyQCFzLzVixi8eQyqwbWwpPYIflP8T4C2wOJI6kTRhOOAIcD1A/UAQaRggLhInYEBx SAFBZe8uYR0QIuACMC0+kgBwR2GfP2Uf9QWwAMAFQCJmAxCuZUKQCrA8sC8s0C80YHovRyQiO+M8 oEARB5ButicFQBQQZTfhL8B3AHCbBUA1MXAN4CpAdXBA9v9I0wEAPYAGECdgN7BGQz5S3z3ENCI0 4z9hOxs6H5oiMu8YIEclIsQdt1QHkCOoPDn7UTNLkSBV8h4zTvALYD1A/yYgUmRHKDfABCApoAWQ BpDXCJAmIAGgby2wLEW3BaD3AIEfUEBxbCdgHgBOsVFLWwSQA2ByU2sysS4EYHrPAxALYB4zBPQu RR5gCkDzLdAFsEV4PUAFMCChK7DPS3VCoCSBHjBzIltAInDPIuAkcSuwH5RObwVANMD3NJQdYiuw WzSSHbVX8y6V/zdWLVFcowrACGAmEU1RJ1H/WKI4M0jVS5EmIGRjSixCxAAvV0VCLUlORv9CsB1i B5FHmDvyPLAEABzg/wQgPOBj0i2wSAI6gCZgTqHfOOAKQCCSJKYw1G4nYDKA6mxPYHcIYGwmIDoh CcH/LdBcgTJAKbBacS3QCYAkpf5UE+Ap4Cf1K9Eob3Svdb+/ds93q3JVL8AgYD0QYgTysypgW0Bl LSySMVUteUn7Mc8y1UYFsTihPKAgoQdA/0jyA4EmkXoNcDJ7rzLVH5oCfYIgAB4ANRABAAAAPwAA ADw3QzY1NUMwNEI2RjU5NjQzQTFFRjY2MDU2QzBFMDk1RUE5OUM4QUBldXNleDAxLnN3ZWRlbi5l Y3NvZnQ+AAAeADkQAQAAACcAAAA8NEQzQjc1OEQuNjA0MDhAaWNhbmRyaXZlYXRyYWN0b3IuY29t PgAAHgBHEAEAAAAPAAAAbWVzc2FnZS9yZmM4MjIAAAsA8hABAAAAHwDzEAEAAABYAAAAUgBFACUA MwBBACAAQQBkAGQAaQBuAGcAIABtAHkAIABKAGEAdgBhACAAYwBvAGQAZQAgAHQAbwAgAGYAbABv AHcAcwBjAHIAaQBwAHQALgBFAE0ATAAAAAsA9hAAAAAAQAAHMMc4I49XvMsBQAAIMPcNXNJXvMsB AwDeP69vAAADAPE/EwQAAB4A+D8BAAAADwAAAFJvYmJ5IFBlbHNzZXJzAAACAfk/AQAAAE8AAAAA AAAA3KdAyMBCEBq0uQgAKy/hggEAAAAAAAAAL089RUNTT0ZUL09VPUFHIEVVL0NOPVJFQ0lQSUVO VFMvQ049Uk9CQlkuUEVMU1NFUlMAAB4A+j8BAAAAFQAAAFN5c3RlbSBBZG1pbmlzdHJhdG9yAAAA AAIB+z8BAAAAHgAAAAAAAADcp0DIwEIQGrS5CAArL+GCAQAAAAAAAAAuAAAAAwD9P+QEAAADABlA AAAAAAMAGkAAAAAAAwAdQAAAAAADAB5AAAAAAB4AMEABAAAADwAAAFJPQkJZLlBFTFNTRVJTAAAe ADFAAQAAAA8AAABST0JCWS5QRUxTU0VSUwAAHgAyQAEAAAAaAAAAZGVzQGljYW5kcml2ZWF0cmFj dG9yLmNvbQAAAB4AM0ABAAAAGgAAAGRlc0BpY2FuZHJpdmVhdHJhY3Rvci5jb20AAAAeADhAAQAA AA8AAABST0JCWS5QRUxTU0VSUwAAHgA5QAEAAAACAAAALgAAAAMAdkD/////CwApAAAAAAALACMA AAAAAAMABhBmsJIRAwAHEHcEAAADABAQAAAAAAMAERAAAAAAHgAIEAEAAABlAAAASU1QT1JUQ0xB U1MoUEFDS0FHRVNKQVZBVVRJTEFSUkFZTElTVCk7RlVOQ1RJT05TRUFSQ0goKVZBUkxJU1Q9TkVX QVJSQVlMSVNUKCk7S0lORFJFR0FSRFMsUk9CQllQRUxTUwAAAAACAX8AAQAAAD8AAAA8N0M2NTVD MDRCNkY1OTY0M0ExRUY2NjA1NkMwRTA5NUVBOTlDOEFAZXVzZXgwMS5zd2VkZW4uZWNzb2Z0PgAA ghE= ------_=_NextPart_001_01CBBC57.D24B5D8F Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] ------_=_NextPart_001_01CBBC57.D24B5D8F-- From [email protected] Tue Jan 25 08:05:59 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51863 invoked from network); 25 Jan 2011 08:05:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Jan 2011 08:05:59 -0000 Received: (qmail 50785 invoked by uid 500); 25 Jan 2011 08:05:59 -0000 Delivered-To: [email protected] Received: (qmail 50538 invoked by uid 500); 25 Jan 2011 08:05:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 50473 invoked by uid 99); 25 Jan 2011 08:05:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jan 2011 08:05:56 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO oulu.fi) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jan 2011 08:05:48 +0000 Received: from cc.oulu.fi (sun3.oulu.fi [161.129.204.104]) by oulu.fi (8.13.8/8.13.8) with ESMTP id p0P85RZv000993 for <[email protected]>; Tue, 25 Jan 2011 10:05:27 +0200 Received: from claudius.oulu.fi (claudius.oulu.fi [161.129.204.104]) by cc.oulu.fi (8.13.7/8.13.7) with ESMTP id p0P85QHf009960 for <[email protected]>; Tue, 25 Jan 2011 10:05:27 +0200 (EET) Message-ID: <[email protected]> Date: Tue, 25 Jan 2011 10:05:26 +0200 From: Andre Juffer <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:161.129.204.104) Gecko/20101213 Mandriva/3.0.11-0.1mdv2010.1 (2010.1) Thunderbird/3.0.11 MIME-Version: 1.0 To: [email protected] Subject: Re: Adding my Java code to flowscript References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: multipart/alternative; boundary="------------070500030409060204030807" X-Virus-Checked: Checked by ClamAV on apache.org --------------070500030409060204030807 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit As far as I am concerned, the best solution is keep your Java development separated from Cocoon. If you Java has no knowledge about or dependency on cocoon, it is much simpler and in my mind also much better to place your Java classes in a separated Jar file and make your cocoon-based application dependent on your Java classes. If you use maven then this is very straightforward to accomplish in cocoon 2.2. The additional advantage is that your can very easy test your Java code without ever running cocoon (e.g. with Netbeans). To allow my cocoon-based application (or any other application for that matter) to work with my Java code, I typically define a few suitable Facades that are instantiated in Flow using a simple Factory method or with Spring (I prefer the latter approach): factory: var facade = Packages.test.SomeFacade.newInstance(); // static method. or, as Robby pointed out, importClass(Packages.test.SomeFacade); var facade = SomeFacade.newInstance(); Spring: var facade = cocoon.getComponent("test.SomeFacade"); // test.SomeFacade is the bean ID that was defined for the facade // in a Spring configuration file. Best regards, André On 25/01/11 08:17, Robby Pelssers wrote: > importClass(Packages.java.util.ArrayList); > > function search() { > var list = new ArrayList(); > ... > } > > Kind regards, > Robby Pelssers > > > -----Oorspronkelijk bericht----- > Van: Des Magner [mailto:[email protected]] > Verzonden: zo 23-1-2011 1:25 > Aan: [email protected] > Onderwerp: Adding my Java code to flowscript > > Hi > > I am trying to add some custom code to be called from my flowscript but > with no success. I followed the instructions in the user documentation > to the letter (http://cocoon.apache.org/2.1/userdocs/flow/java.html). I > have added my source directory entry to the component-instance in the > format "file:/path/to/my/source" but it doesn't seem to want to pick up > the code. Say I have the following code in my flowscript: > > var resource = new Packages.Test(); > > with the file Test.java placed in my source dir as specified above, I > consistently get the following error: > > org.mozilla.javascript.EvaluatorException: "file:///....js", line ..: > Not a Java class: [JavaPackage Test] > > I can get around it by placing the compiled class in the > cocoon/WEB-INF/classes directory but this is not a very elegant solution. > > Any help would be greatly appreciated. > Thanks > Des > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] -- Andre H. Juffer | Phone: 214.755.8136 Biocenter Oulu and | Fax: 214.755.8136 Department of Biochemistry | Email: [email protected] University of Oulu, Finland | WWW: www.biochem.oulu.fi/Biocomputing/ StruBioCat | WWW: www.strubiocat.oulu.fi NordProt | WWW: www.nordprot.org Triacle Biocomputing | WWW: www.triacle-bc.com --------------070500030409060204030807 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body text="#000000" bgcolor="#ffffff"> As far as I am concerned, the best solution is keep your Java development separated from Cocoon. If you Java has no knowledge about or dependency on cocoon, it is much simpler and in my mind also much better to place your Java classes in a separated Jar file and make your cocoon-based application dependent on your Java classes. If you use maven then this is very straightforward to accomplish in cocoon 2.2. The additional advantage is that your can very easy test your Java code without ever running cocoon (e.g. with Netbeans).<br> <br> To allow my cocoon-based application (or any other application for that matter) to work with my Java code, I typically define a few suitable Facades that are instantiated in Flow using a simple Factory method or with Spring (I prefer the latter approach):<br> <br> factory:<br> <br> var facade = Packages.test.SomeFacade.newInstance();&nbsp; // static method.<br> <br> or, as Robby pointed out,<br> <br> importClass(Packages.test.SomeFacade);<br> var facade = SomeFacade.newInstance(); <br> <br> Spring:<br> <br> var facade = cocoon.getComponent("test.SomeFacade");&nbsp;&nbsp; // test.SomeFacade is the bean ID that was defined for the facade<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // in a Spring configuration file.<br> <br> Best regards,<br> Andr&eacute;<br> <br> <br> <br> On 25/01/11 08:17, Robby Pelssers wrote: <blockquote cite="mid:[email protected]" type="cite"> <pre wrap="">importClass(Packages.java.util.ArrayList); function search() { var list = new ArrayList(); ... } Kind regards, Robby Pelssers -----Oorspronkelijk bericht----- Van: Des Magner [<a class="moz-txt-link-freetext" href="mailto:[email protected]">mailto:[email protected]</a>] Verzonden: zo 23-1-2011 1:25 Aan: <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> Onderwerp: Adding my Java code to flowscript Hi I am trying to add some custom code to be called from my flowscript but with no success. I followed the instructions in the user documentation to the letter (<a class="moz-txt-link-freetext" href="http://cocoon.apache.org/2.1/userdocs/flow/java.html">http://cocoon.apache.org/2.1/userdocs/flow/java.html</a>). I have added my source directory entry to the component-instance in the format <a class="moz-txt-link-rfc2396E" href="file:/path/to/my/source">"file:/path/to/my/source"</a> but it doesn't seem to want to pick up the code. Say I have the following code in my flowscript: var resource = new Packages.Test(); with the file Test.java placed in my source dir as specified above, I consistently get the following error: org.mozilla.javascript.EvaluatorException: <a class="moz-txt-link-rfc2396E" href="file:///....js">"file:///....js"</a>, line ..: Not a Java class: [JavaPackage Test] I can get around it by placing the compiled class in the cocoon/WEB-INF/classes directory but this is not a very elegant solution. Any help would be greatly appreciated. Thanks Des --------------------------------------------------------------------- To unsubscribe, e-mail: <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> For additional commands, e-mail: <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> </pre> <pre wrap=""> <fieldset class="mimeAttachmentHeader"></fieldset> --------------------------------------------------------------------- To unsubscribe, e-mail: <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> For additional commands, e-mail: <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a></pre> </blockquote> <br> <br> <pre class="moz-signature" cols="72">-- Andre H. Juffer | Phone: 214.755.8136 Biocenter Oulu and | Fax: 214.755.8136 Department of Biochemistry | Email: <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> University of Oulu, Finland | WWW: <a class="moz-txt-link-abbreviated" href="http://www.biochem.oulu.fi/Biocomputing/">www.biochem.oulu.fi/Biocomputing/</a> StruBioCat | WWW: <a class="moz-txt-link-abbreviated" href="http://www.strubiocat.oulu.fi">www.strubiocat.oulu.fi</a> NordProt | WWW: <a class="moz-txt-link-abbreviated" href="http://www.nordprot.org">www.nordprot.org</a> Triacle Biocomputing | WWW: <a class="moz-txt-link-abbreviated" href="http://www.triacle-bc.com">www.triacle-bc.com</a> </pre> </body> </html> --------------070500030409060204030807-- From [email protected] Tue Jan 25 14:32:33 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12966 invoked from network); 25 Jan 2011 14:32:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Jan 2011 14:32:32 -0000 Received: (qmail 39280 invoked by uid 500); 25 Jan 2011 14:32:32 -0000 Delivered-To: [email protected] Received: (qmail 38938 invoked by uid 500); 25 Jan 2011 14:32:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 38929 invoked by uid 99); 25 Jan 2011 14:32:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jan 2011 14:32:29 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO intern.proventis.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jan 2011 14:32:21 +0000 Received: from mail.proventis.net (unknown [161.129.204.104]) by intern.proventis.net (Postfix) with ESMTP id 99CDF2C1D8 for <[email protected]>; Tue, 25 Jan 2011 15:32:00 +0100 (CET) Received: from localhost (localhost [161.129.204.104]) by mail.proventis.net (Postfix) with ESMTP id 91CD8D7FA for <[email protected]>; Tue, 25 Jan 2011 15:32:00 +0100 (CET) X-Virus-Scanned: Debian [email protected] Received: from mail.proventis.net ([161.129.204.104]) by localhost (mail.proventis.net [161.129.204.104]) (amavisd-new, port 10024) with ESMTP id rxuwQTUAu1iz for <[email protected]>; Tue, 25 Jan 2011 15:32:00 +0100 (CET) Received: from [161.129.204.104] (tmarkus.proventis.net [161.129.204.104]) by mail.proventis.net (Postfix) with ESMTP id 4CF8CCD589 for <[email protected]>; Tue, 25 Jan 2011 15:32:00 +0100 (CET) Message-ID: <[email protected]> Date: Tue, 25 Jan 2011 15:32:00 +0100 From: Thomas Markus <[email protected]> Organization: proventis GmbH User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:161.129.204.104) Gecko/20101206 SUSE/3.1.7 Lightning/1.0b2 Mnenhy/0.8.3 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: upgrade spring in cocoon 2.2 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org hi, i'm trying to use cocoon 2.2 with latest spring release. jetty start fails with java.lang.AbstractMethodError: org.apache.cocoon.tools.rcl.springreloader.SynchronizedConfigureableWebApplicationContext.setId(Ljava/lang/String;)V i found this change in org.apache.cocoon:cocoon-maven-plugin:1.0.0 but this is not released. i tried to build that version (svn tag checkout) but that fails (inkonsistent parents, one is cocoon:8, another cocoon:5 aso) is there a repository with a current cocoon 2.2 version released? regards Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jan 25 16:04:32 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52563 invoked from network); 25 Jan 2011 16:04:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Jan 2011 16:04:32 -0000 Received: (qmail 1835 invoked by uid 500); 25 Jan 2011 16:04:31 -0000 Delivered-To: [email protected] Received: (qmail 1657 invoked by uid 500); 25 Jan 2011 16:04:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 1650 invoked by uid 99); 25 Jan 2011 16:04:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jan 2011 16:04:30 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO oulu.fi) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jan 2011 16:04:23 +0000 Received: from cc.oulu.fi (sun3.oulu.fi [161.129.204.104]) by oulu.fi (8.13.8/8.13.8) with ESMTP id p0PG42AX024968 for <[email protected]>; Tue, 25 Jan 2011 18:04:02 +0200 Received: from claudius.oulu.fi (claudius.oulu.fi [161.129.204.104]) by cc.oulu.fi (8.13.7/8.13.7) with ESMTP id p0PG42vc025966 for <[email protected]>; Tue, 25 Jan 2011 18:04:02 +0200 (EET) Message-ID: <[email protected]> Date: Tue, 25 Jan 2011 18:04:02 +0200 From: Andre Juffer <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:161.129.204.104) Gecko/20101213 Mandriva/3.0.11-0.1mdv2010.1 (2010.1) Thunderbird/3.0.11 MIME-Version: 1.0 To: [email protected] Subject: Re: upgrade spring in cocoon 2.2 References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Thomas, as far as I now, cocoon 2.2 will not work with Spring 3. Another person on this email list did work on the same issue and he (they) had to write a lot of additional code to get it to work. I also would like to see that an update of cocoon 2.2 becomes available that works well with recent versions of the various libraries, including Spring. I am sure there are others. Somebody: In general, what is the current situation of cocoon 2.2 and cocoon 3? As far as I can see, the further development of cocoon stopped completely. Hopefully, somebody, preferable one of the developers, can shed some light on the situation. best, André On 25/01/11 16:32, Thomas Markus wrote: > hi, > > i'm trying to use cocoon 2.2 with latest spring release. jetty start > fails with > > java.lang.AbstractMethodError: > org.apache.cocoon.tools.rcl.springreloader.SynchronizedConfigureableWebApplicationContext.setId(Ljava/lang/String;)V > > > i found this change in org.apache.cocoon:cocoon-maven-plugin:1.0.0 > but this is not released. i tried to build that version (svn tag > checkout) but that fails (inkonsistent parents, one is cocoon:8, > another cocoon:5 aso) > > is there a repository with a current cocoon 2.2 version released? > > regards > Thomas > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > -- Andre H. Juffer | Phone: 214.755.8136 Biocenter Oulu and | Fax: 214.755.8136 Department of Biochemistry | Email: [email protected] University of Oulu, Finland | WWW: www.biochem.oulu.fi/Biocomputing/ StruBioCat | WWW: www.strubiocat.oulu.fi NordProt | WWW: www.nordprot.org Triacle Biocomputing | WWW: www.triacle-bc.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jan 25 16:58:42 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81702 invoked from network); 25 Jan 2011 16:58:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Jan 2011 16:58:42 -0000 Received: (qmail 16229 invoked by uid 500); 25 Jan 2011 16:58:41 -0000 Delivered-To: [email protected] Received: (qmail 16154 invoked by uid 500); 25 Jan 2011 16:58:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 16147 invoked by uid 99); 25 Jan 2011 16:58:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jan 2011 16:58:41 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO lo.gmane.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jan 2011 16:58:31 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from <[email protected]>) id 1PhmDY-0008DO-EP for [email protected]; Tue, 25 Jan 2011 17:58:08 +0100 Received: from 157.Red-80-37-78.staticIP.rima-tde.net ([161.129.204.104]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <[email protected]>; Tue, 25 Jan 2011 17:58:08 +0100 Received: from des by 157.Red-80-37-78.staticIP.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <[email protected]>; Tue, 25 Jan 2011 17:58:08 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: [email protected] From: Des Magner <[email protected]> Subject: Re: Adding my Java code to flowscript Date: Tue, 25 Jan 2011 16:57:56 +0000 (UTC) Lines: 58 Message-ID: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: [email protected] X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 161.129.204.104 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:161.129.204.104) Gecko/20101203 Firefox/3.6.13 ( .NET CLR 3.5.30729)) X-Virus-Checked: Checked by ClamAV on apache.org Hi André That is more or less what I was trying to achieve, ie. write Java code that can be used in my flowscript but for this Java code to be completely independent of cocoon. From reading the documentation I was given to understand that this code could be compiled on the fly which would of course speed up development time (See the documentation link I referenced in the original post). I have never had any problem using standard Java classes, such as ArrayList, etc. in flowscript, the problem is accessing classes that I have written. So as far as I can see there are three options outlined below, the third one being the only one I have been able to successfully achieve. Option 1: Have your code compiled on the fly, specifiying in cocoon.xconf a classpath as to where it should look for source code. I cannot get this to work and this was why I posted the message in the first place. In more detail this is what I do: Add the following to cocoon.xconf: <flow-interpreters default="javascript" logger="flow"> <component-instance class="org.apache.cocoon.components.flow.javascript.fom. FOM_JavaScriptInterpreter" name="javascript"> <load-on-startup>resource://org/apache/cocoon/components/flow/ javascript/fom/fom_system.js</load-on-startup> <reload-scripts>true</reload-scripts> <check-time>4000</check-time> <classpath>file:/path/to/my/java/src</classpath> </component-instance> </flow-interpreters> Javascript in my flowscript: var resource = new Packages.mypackage.xyz.MyClass(); Throws the following exception: org.mozilla.javascript.EcmaError: TypeError: [JavaPackage mypackage.xyx.MyClass] is not a function, it is org.mozilla.javascript.NativeJavaPackage. Option 2: Complile my code to the my application's WEB-INF/classes directory (or alternatively place it in a jar file in the application's WEB-INF/lib directory. This I also tried but to no avail. Option 3: Place the compiled classes in the cocoon's own classes folder. When I do this I can indeed access my Java classes from flowscript. But this for me is the least desireable solution as it requires me to mix my own class files with cocoons class files which I don't consider elegant nor correct. And also, cocoon would need to be restarted everytime I make a modication to my Java classes. Regards Des --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jan 25 17:28:08 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 98628 invoked from network); 25 Jan 2011 17:28:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Jan 2011 17:28:07 -0000 Received: (qmail 65198 invoked by uid 500); 25 Jan 2011 17:28:07 -0000 Delivered-To: [email protected] Received: (qmail 65069 invoked by uid 500); 25 Jan 2011 17:28:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 65060 invoked by uid 99); 25 Jan 2011 17:28:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jan 2011 17:28:06 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO oulu.fi) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jan 2011 17:28:00 +0000 Received: from cc.oulu.fi (sun3.oulu.fi [161.129.204.104]) by oulu.fi (8.13.8/8.13.8) with ESMTP id p0PHRaJs005830 for <[email protected]>; Tue, 25 Jan 2011 19:27:36 +0200 Received: from [161.129.204.104] (dsl-176-86.oulu.fi [161.129.204.104]) by cc.oulu.fi (8.13.7/8.13.7) with ESMTP id p0PHRaoO006663 for <[email protected]>; Tue, 25 Jan 2011 19:27:36 +0200 (EET) Message-ID: <[email protected]> Date: Tue, 25 Jan 2011 19:27:36 +0200 From: Andre Juffer <[email protected]> Reply-To: [email protected] Organization: The University of Oulu User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:161.129.204.104) Gecko/20101208 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: Adding my Java code to flowscript References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 01/25/2011 06:57 PM, Des Magner wrote: > Hi André > > That is more or less what I was trying to achieve, ie. write Java code that > can be used in my flowscript but for this Java code to be completely > independent of cocoon. From reading the documentation I was given > to understand that this code could be compiled on the fly which would > of course speed up development time (See the documentation link I referenced > in the original post). I have never had any problem using standard Java > classes, such as ArrayList, etc. in flowscript, the problem is accessing > classes that I have written. So as far as I can see there are three options > outlined below, the third one being the only one I have been able to > successfully achieve. > > Option 1: Have your code compiled on the fly, specifiying in cocoon.xconf a > classpath as to where it should look for source code. I cannot get this to > work and this was why I posted the message in the first place. In more > detail this is what I do: > > Add the following to cocoon.xconf: > > <flow-interpreters default="javascript" logger="flow"> > <component-instance > class="org.apache.cocoon.components.flow.javascript.fom. > FOM_JavaScriptInterpreter" > name="javascript"> > > <load-on-startup>resource://org/apache/cocoon/components/flow/ > javascript/fom/fom_system.js</load-on-startup> > <reload-scripts>true</reload-scripts> > <check-time>4000</check-time> > <classpath>file:/path/to/my/java/src</classpath> > </component-instance> > </flow-interpreters> > > Javascript in my flowscript: > > var resource = new Packages.mypackage.xyz.MyClass(); > > Throws the following exception: > > org.mozilla.javascript.EcmaError: TypeError: > [JavaPackage mypackage.xyx.MyClass] is not a function, > it is org.mozilla.javascript.NativeJavaPackage. > > > Option 2: Complile my code to the my application's WEB-INF/classes > directory (or alternatively place it in a jar file in the application's > WEB-INF/lib directory. This I also tried but to no avail. > > Option 3: Place the compiled classes in the cocoon's own classes folder. > When I do this I can indeed access my Java classes from flowscript. > But this for me is the least desireable solution as it requires me to > mix my own class files with cocoons class files which I don't consider > elegant nor correct. And also, cocoon would need to be restarted > everytime I make a modication to my Java classes. I have only experience with option 3, I cannot say so much about the other options. If you use cocoon 2.2, the dependency goes in the pom.xml. With earlier versions, one can write an ant script to ensure that the jar file (say test.jar) is deposited in WEB-INF/lib. This all certainly works very well and, to me (not to you apparently), is the simplest and easiest way. It is correct that you would need to restart cocoon after a modification to your classes. On the other hand, if you have designed your classes well, and tested well, you can bring this down to a minimum. For a new project, I never start with cocoon, but work on a proper design and implementation of the domain and rules, and, if needed, basic infrastructure (database, etc) as well. When start to use cocoon, I am rather certain that every already works well (classes in the jar, that is). BTW which version of cocoon are you using? I also wonder about your design. You say you are required to mix your classes with cocoon classes. Why is that necessary? I may have misunderstood you. > > Regards > Des > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > -- Andre H. Juffer | Phone: 214.755.8136 Biocenter Oulu and | Fax: 214.755.8136 Department of Biochemistry | Email: [email protected] University of Oulu, Finland | WWW: www.biochem.oulu.fi/Biocomputing/ StruBioCat | WWW: www.strubiocat.oulu.fi NordProt | WWW: www.nordprot.org Triacle Biocomputing | WWW: www.triacle-bc.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Jan 27 21:33:15 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90299 invoked from network); 27 Jan 2011 21:33:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Jan 2011 21:33:14 -0000 Received: (qmail 57401 invoked by uid 500); 27 Jan 2011 21:33:14 -0000 Delivered-To: [email protected] Received: (qmail 57119 invoked by uid 500); 27 Jan 2011 21:33:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 57103 invoked by uid 99); 27 Jan 2011 21:33:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jan 2011 21:33:12 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO deliverator2.gatech.edu) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jan 2011 21:33:04 +0000 Received: from deliverator2.gatech.edu (localhost [161.129.204.104]) by localhost (Postfix) with SMTP id 6ABFD48123A for <[email protected]>; Thu, 27 Jan 2011 16:32:43 -0500 (EST) Received: from mail7.gatech.edu (mail7.gatech.edu [161.129.204.104]) by deliverator2.gatech.edu (Postfix) with ESMTP id E840148015B for <[email protected]>; Thu, 27 Jan 2011 16:32:42 -0500 (EST) Received: from mail-ey0-f179.google.com (bigip.ecc.gatech.edu [161.129.204.104]) (Authenticated sender: petienne3) by mail7.gatech.edu (Postfix) with ESMTPSA id 965902C8939 for <[email protected]>; Thu, 27 Jan 2011 16:32:42 -0500 (EST) Received: by eyg24 with SMTP id 24so1317365eyg.24 for <[email protected]>; Thu, 27 Jan 2011 13:32:41 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id n1mr1625638fak.36.1296162386400; Thu, 27 Jan 2011 13:06:26 -0800 (PST) Received: by 161.129.204.104 with HTTP; Thu, 27 Jan 2011 13:06:26 -0800 (PST) Date: Thu, 27 Jan 2011 16:06:26 -0500 Message-ID: <[email protected]> Subject: Trouble deploying a *.war file to Tomcat from Cocoon 2.2 From: Patrick Etienne <[email protected]> To: [email protected], [email protected] Content-Type: multipart/alternative; boundary=00248c11dc0b9cd869049ada52ed --00248c11dc0b9cd869049ada52ed Content-Type: text/plain; charset=ISO-8859-1 Cocoon & Tomcat Users, I'm writing (cross-list) concerning a test case for producing a small cocoon application for tomcat. I've been a user of Cocoon for quite some time, but have had a little trouble adjusting to the new spring/maven-based 2.2 version. My quest at the moment is just to create the default cocoon block as well as a webapp block in order to yield a war file to be uploaded to tomcat. So far I've followed the instructions from "Your first Cocoon application using Maven 2" <http://cocoon.apache.org/2.2/1159_1_1.html> and "Deploying a Cocoon application" <http://cocoon.apache.org/2.2/1362_1_1.html>. Rather than creating a two (option 2) blocks, a webapp block, and a parent block, I've just created a regular block and a webapp block and attempted to upload the resulting *.war file to Tomcat and deploy the war there. The application seems to load alright (based off of information listed in the tomcat manager, and catalina.out logs), but browsing to the actual URL seems to show that I've not completed the process properly in some way. The result is: HTTP Status 404 - No block for / ------------------------------ *type* Status report *message* *No block for /* *description* *The requested resource (No block for /) is not available.* ------------------------------ Apache Tomcat/6.0.18 Catalina.out only shows: Loading catalog: file:/usr/local/apache-tomcat-6.0.18/work/Catalina/localhost/mobileApp-1.0.0/cocoon_xml_resolver_entities/catalog In reference to the "mobileApp" application that I'm attempting to load. Again, I have experience with both Cocoon < 2.2 and Tomcat in general, but am having trouble understanding what needs to be done in order to run a Cocoon 2.2 application in Tomcat (rather than Jetty). By the way, I'm able to get everything to come up as expected from Jetty. Any tips, hints, suggestions, or resources would be greatly appreciated! - Patrick E. -- Patrick K. Etienne Systems Analyst Georgia Institute of Technology Library & Information Center 214.755.8136 --00248c11dc0b9cd869049ada52ed Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cocoon &amp; Tomcat Users,<div><br></div><div>I&#39;m writing (cross-list) = concerning a test case for producing a small cocoon application for tomcat.= I&#39;ve been a user of Cocoon for quite some time, but have had a little = trouble adjusting to the new spring/maven-based 2.2 version. My quest at th= e moment is just to create the default cocoon block as well as a webapp blo= ck in order to yield a war file to be uploaded to tomcat. So far I&#39;ve f= ollowed the instructions from &quot;Your first Cocoon application using Mav= en 2&quot; &lt;<a href=3D"http://cocoon.apache.org/2.2/1159_1_1.html">http:= //cocoon.apache.org/2.2/1159_1_1.html</a>&gt; and &quot;Deploying a Cocoon = application&quot; &lt;<a href=3D"http://cocoon.apache.org/2.2/1362_1_1.html= ">http://cocoon.apache.org/2.2/1362_1_1.html</a>&gt;. Rather than creating = a two (option 2) blocks, a webapp block, and a parent block, I&#39;ve just = created a regular block and a webapp block and attempted to upload the resu= lting *.war file to Tomcat and deploy the war there. The application seems = to load alright (based off of information listed in the tomcat manager, and= catalina.out logs), but browsing to the actual URL seems to show that I&#3= 9;ve not completed the process properly in some way.</div> <div><br></div><div>The result is:</div><div><span class=3D"Apple-style-spa= n" style=3D"font-size: 26px; font-weight: bold; ">HTTP Status 404 - No bloc= k for /</span></div><div><hr noshade size=3D"1"><p><b>type</b> Status repor= t</p> <p><b>message</b> <u>No block for /</u></p><p><b>description</b> <u>The req= uested resource (No block for /) is not available.</u></p><hr noshade size= =3D"1"><h3>Apache Tomcat/6.0.18</h3><div><br></div><div>Catalina.out only s= hows:</div> <div><div>Loading catalog: file:/usr/local/apache-tomcat-6.0.18/work/Catali= na/localhost/mobileApp-1.0.0/cocoon_xml_resolver_entities/catalog</div></di= v><div>In reference to the &quot;mobileApp&quot; application that I&#39;m a= ttempting to load.</div> <div><br></div><div>Again, I have experience with both Cocoon &lt; 2.2 and = Tomcat in general, but am having trouble understanding what needs to be don= e in order to run a Cocoon 2.2 application in Tomcat (rather than Jetty). B= y the way, I&#39;m able to get everything to come up as expected from Jetty= .</div> <div><br></div><div>Any tips, hints, suggestions, or resources would be gre= atly appreciated!</div><div><br></div><div>=A0- Patrick E.</div><div><br></= div>-- <br>Patrick K. Etienne<br>Systems Analyst<br>Georgia Institute of Te= chnology<br> Library &amp; Information Center<br>214.755.8136<br><br><br> </div> --00248c11dc0b9cd869049ada52ed-- From [email protected] Thu Jan 27 22:00:20 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 98909 invoked from network); 27 Jan 2011 22:00:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Jan 2011 22:00:19 -0000 Received: (qmail 2423 invoked by uid 500); 27 Jan 2011 22:00:19 -0000 Delivered-To: [email protected] Received: (qmail 2366 invoked by uid 500); 27 Jan 2011 22:00:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 2359 invoked by uid 99); 27 Jan 2011 22:00:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jan 2011 22:00:18 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO oulu.fi) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jan 2011 22:00:12 +0000 Received: from cc.oulu.fi (sun3.oulu.fi [161.129.204.104]) by oulu.fi (8.13.8/8.13.8) with ESMTP id p0RLxoin028807 for <[email protected]>; Thu, 27 Jan 2011 23:59:50 +0200 Received: from [161.129.204.104] (dsl-176-86.oulu.fi [161.129.204.104]) by cc.oulu.fi (8.13.7/8.13.7) with ESMTP id p0RLxnd7020055 for <[email protected]>; Thu, 27 Jan 2011 23:59:50 +0200 (EET) Message-ID: <[email protected]> Date: Thu, 27 Jan 2011 23:59:49 +0200 From: Andre Juffer <[email protected]> Reply-To: [email protected] Organization: The University of Oulu User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:161.129.204.104) Gecko/20101208 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: Trouble deploying a *.war file to Tomcat from Cocoon 2.2 References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Try: http://localhost:8080/webapp/<name-of-default-block-here>/<something> "something" should be matched in your sitemap of "name-of-default-block-here". e.g. http://localhost:8080/webapp/ui/login On 01/27/2011 11:06 PM, Patrick Etienne wrote: > Cocoon & Tomcat Users, > > I'm writing (cross-list) concerning a test case for producing a small > cocoon application for tomcat. I've been a user of Cocoon for quite some > time, but have had a little trouble adjusting to the new > spring/maven-based 2.2 version. My quest at the moment is just to create > the default cocoon block as well as a webapp block in order to yield a > war file to be uploaded to tomcat. So far I've followed the instructions > from "Your first Cocoon application using Maven 2" > <http://cocoon.apache.org/2.2/1159_1_1.html> and "Deploying a Cocoon > application" <http://cocoon.apache.org/2.2/1362_1_1.html>. Rather than > creating a two (option 2) blocks, a webapp block, and a parent block, > I've just created a regular block and a webapp block and attempted to > upload the resulting *.war file to Tomcat and deploy the war there. The > application seems to load alright (based off of information listed in > the tomcat manager, and catalina.out logs), but browsing to the actual > URL seems to show that I've not completed the process properly in some way. > > The result is: > HTTP Status 404 - No block for / > ------------------------------------------------------------------------ > > *type* Status report > > *message* _No block for /_ > > *description* _The requested resource (No block for /) is not available._ > > ------------------------------------------------------------------------ > > > Apache Tomcat/6.0.18 > > > Catalina.out only shows: > Loading catalog: > file:/usr/local/apache-tomcat-6.0.18/work/Catalina/localhost/mobileApp-1.0.0/cocoon_xml_resolver_entities/catalog > In reference to the "mobileApp" application that I'm attempting to load. > > Again, I have experience with both Cocoon < 2.2 and Tomcat in general, > but am having trouble understanding what needs to be done in order to > run a Cocoon 2.2 application in Tomcat (rather than Jetty). By the way, > I'm able to get everything to come up as expected from Jetty. > > Any tips, hints, suggestions, or resources would be greatly appreciated! > > - Patrick E. > > -- > Patrick K. Etienne > Systems Analyst > Georgia Institute of Technology > Library & Information Center > 214.755.8136 > > -- Andre H. Juffer | Phone: 214.755.8136 Biocenter Oulu and | Fax: 214.755.8136 Department of Biochemistry | Email: [email protected] University of Oulu, Finland | WWW: www.biochem.oulu.fi/Biocomputing/ StruBioCat | WWW: www.strubiocat.oulu.fi NordProt | WWW: www.nordprot.org Triacle Biocomputing | WWW: www.triacle-bc.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Jan 28 04:27:08 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60835 invoked from network); 28 Jan 2011 04:27:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Jan 2011 04:27:07 -0000 Received: (qmail 12466 invoked by uid 500); 28 Jan 2011 04:27:07 -0000 Delivered-To: [email protected] Received: (qmail 11957 invoked by uid 500); 28 Jan 2011 04:27:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 11945 invoked by uid 99); 28 Jan 2011 04:27:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jan 2011 04:27:02 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mx4.ciber-europe.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jan 2011 04:27:02 +0000 Received: from eusex01.sweden.ecsoft ([161.129.204.104]) by mx4.ciber-europe.com with Microsoft SMTPSVC214.755.8136); Fri, 28 Jan 2011 05:26:38 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01CBBEA3.8DCBC5B2" Subject: RE: Trouble deploying a *.war file to Tomcat from Cocoon 2.2 Date: Fri, 28 Jan 2011 05:26:37 +0100 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: <[email protected]> Thread-Topic: Trouble deploying a *.war file to Tomcat from Cocoon 2.2 Thread-Index: Acu+af3TqjwLnZDaTsuOd87HandnYgAOLSiy References: <[email protected]> From: "Robby Pelssers" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 28 Jan 2011 04:26:38.0507 (UTC) FILETIME=[8E366FB0:01CBBEA3] ------_=_NextPart_001_01CBBEA3.8DCBC5B2 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable It depends on how you configured your block-servlet-service.xml Assuming it looks like: <bean name=3D"com.mycompany.block1.service" = class=3D"org.apache.cocoon.sitemap.SitemapServlet"> <servlet:context mount-path=3D"/block1" = context-path=3D"blockcontext:/block1/"> <!-- in the servlet connections you typically add other block = references which in your case might be 0 <servlet:connections> =20 <entry key=3D"ajax" = value-ref=3D"org.apache.cocoon.ajax.impl.servlet"/> <entry key=3D"forms" = value-ref=3D"org.apache.cocoon.forms.impl.servlet"/> </servlet:connections>=20 -->=20 </servlet:context> </bean> Then you should be able to invoke it like: http://localhost:8080/{webappname}/block1{/somepattern} And of course assuming you did add the block1 dependency in your webapp = project: E.g. <dependency> <groupId>com.mycompany</groupId> <artifactId>block1</artifactId> <version>1.0-SNAPSHOT</version> </dependency> Kind regards, Robby Pelssers -----Oorspronkelijk bericht----- Van: Patrick Etienne [mailto:[email protected]] Verzonden: do 27-1-2011 22:06 Aan: [email protected]; [email protected] Onderwerp: Trouble deploying a *.war file to Tomcat from Cocoon 2.2 =20 Cocoon & Tomcat Users, I'm writing (cross-list) concerning a test case for producing a small = cocoon application for tomcat. I've been a user of Cocoon for quite some time, = but have had a little trouble adjusting to the new spring/maven-based 2.2 version. My quest at the moment is just to create the default cocoon = block as well as a webapp block in order to yield a war file to be uploaded to tomcat. So far I've followed the instructions from "Your first Cocoon application using Maven 2" <http://cocoon.apache.org/2.2/1159_1_1.html> = and "Deploying a Cocoon application" = <http://cocoon.apache.org/2.2/1362_1_1.html>. Rather than creating a two (option 2) blocks, a webapp block, and a = parent block, I've just created a regular block and a webapp block and = attempted to upload the resulting *.war file to Tomcat and deploy the war there. The application seems to load alright (based off of information listed in = the tomcat manager, and catalina.out logs), but browsing to the actual URL = seems to show that I've not completed the process properly in some way. The result is: HTTP Status 404 - No block for / ------------------------------ *type* Status report *message* *No block for /* *description* *The requested resource (No block for /) is not = available.* ------------------------------ Apache Tomcat/6.0.18 Catalina.out only shows: Loading catalog: file:/usr/local/apache-tomcat-6.0.18/work/Catalina/localhost/mobileApp-1.= 0.0/cocoon_xml_resolver_entities/catalog In reference to the "mobileApp" application that I'm attempting to load. Again, I have experience with both Cocoon < 2.2 and Tomcat in general, = but am having trouble understanding what needs to be done in order to run a Cocoon 2.2 application in Tomcat (rather than Jetty). By the way, I'm = able to get everything to come up as expected from Jetty. Any tips, hints, suggestions, or resources would be greatly appreciated! - Patrick E. --=20 Patrick K. Etienne Systems Analyst Georgia Institute of Technology Library & Information Center 214.755.8136 ------_=_NextPart_001_01CBBEA3.8DCBC5B2 Content-Type: application/ms-tnef; name="winmail.dat" Content-Transfer-Encoding: base64 eJ8+IicEAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEEgAEAPQAAAFJFOiBUcm91YmxlIGRlcGxv eWluZyBhICoud2FyIGZpbGUgdG8gVG9tY2F0IGZyb20gQ29jb29uIDIuMgBOFAEFgAMADgAAANsH AQAcAAUAGgAlAAUASAEBIIADAA4AAADbBwEAHAAFABoAJgAFAEkBAQmAAQAhAAAAMDU3RDVGQTdD RERBMDk0QkE2NTY2MTcwRDVGQjUwODUAQQcBA5AGALAQAAA5AAAAAwAmAAAAAAADADYAAAAAAEAA OQCyxcuNo77LAR4APQABAAAABQAAAFJFOiAAAAAAAgFHAAEAAAAwAAAAYz11czthPSA7cD1FQ3Nv ZnQ7bD1FVVNFWDAxLTExMDEyODA0MjYzN1otNTk0MzQAHgBJAAEAAAA5AAAAVHJvdWJsZSBkZXBs b3lpbmcgYSAqLndhciBmaWxlIHRvIFRvbWNhdCBmcm9tIENvY29vbiAyLjIAAAAAQABOAAC1IQ9m vssBHgBaAAEAAAAQAAAAUGF0cmljayBFdGllbm5lAAIBWwABAAAAUAAAAAAAAACBKx+kvqMQGZ1u AN0BD1QCAAAAAFBhdHJpY2sgRXRpZW5uZQBTTVRQAHBhdHJpY2suZXRpZW5uZUBsaWJyYXJ5Lmdh dGVjaC5lZHUAAgFcAAEAAAAoAAAAU01UUDpQQVRSSUNLLkVUSUVOTkVATElCUkFSWS5HQVRFQ0gu RURVAB4AXQABAAAAEAAAAFBhdHJpY2sgRXRpZW5uZQACAV4AAQAAAFAAAAAAAAAAgSsfpL6jEBmd bgDdAQ9UAgAAAABQYXRyaWNrIEV0aWVubmUAU01UUABwYXRyaWNrLmV0aWVubmVAbGlicmFyeS5n YXRlY2guZWR1AAIBXwABAAAAKAAAAFNNVFA6UEFUUklDSy5FVElFTk5FQExJQlJBUlkuR0FURUNI LkVEVQAeAGYAAQAAAAUAAABTTVRQAAAAAB4AZwABAAAAIwAAAHBhdHJpY2suZXRpZW5uZUBsaWJy YXJ5LmdhdGVjaC5lZHUAAB4AaAABAAAABQAAAFNNVFAAAAAAHgBpAAEAAAAjAAAAcGF0cmljay5l dGllbm5lQGxpYnJhcnkuZ2F0ZWNoLmVkdQAAHgBwAAEAAAA5AAAAVHJvdWJsZSBkZXBsb3lpbmcg YSAqLndhciBmaWxlIHRvIFRvbWNhdCBmcm9tIENvY29vbiAyLjIAAAAAAgFxAAEAAAAbAAAAAcu+ af3TqjwLnZDaTsuOd87HandnYgAOLSiyAB4AdAABAAAAMQAAAHVzZXJzQGNvY29vbi5hcGFjaGUu b3JnOyB1c2Vyc0B0b21jYXQuYXBhY2hlLm9yZwAAAAAeABoMAQAAAA8AAABSb2JieSBQZWxzc2Vy cwAAHgAdDgEAAAA5AAAAVHJvdWJsZSBkZXBsb3lpbmcgYSAqLndhciBmaWxlIHRvIFRvbWNhdCBm cm9tIENvY29vbiAyLjIAAAAAAgEJEAEAAAC8CAAAuAgAAJEPAABMWkZ1us5yOQMACgByY3BnMTI1 4jIDQ3RleAVBAQMB9/8KgAKkA+QHEwKAD/MAUARWPwhVB7IRJQ5RAwECAGNo4QrAc2V0MgYABsMR JfYzBEYTtzASLBEzCO8J97Y7GB8OMDURIgxgYwBQMwsJAWQzNhZQC6YgSWsFQAEAcAnwZAQgAiAg VGhvB+B5CGAgBaBu+GZpZwhwCYAeAgXAAmAQb2NrLRQQcnZshxQgH6MN4GUueG0YAJcKsQqECoBB BBB1bQuAmGcgaQVAF7BvawQgIGxpa2U6IOogIEg8YmUDkW5hB4A9wiIFoG0ubXkksQqwSG55Lh9T MS4gNSIfHkALYAQQJJAFsGcuYf8KsBPQIJAFoAWgAiAl8CIw4mUAwHAuUyg0BmEf4twiPiN2I9Ef tToeUQ6zlQRgdQIwLQqwdGgkkH4vJZQmcSrkK6UfUyrVOo0sFS8piiPRIS0tIiCzA6Ar0GUgH7Ue Qm4FkBx0aQIgBCAeEnR5cIMN4AdAbHkgYWQe4NZvMDEfNSAYIGYEkAnw0yCABCB3aA3gaC/yHwNv MjAUECtAHpBoBUAkACDvAUAvCipZMSY+I9Au+iPRWQnwdHIycCLgeSSQYWhqYXgmcHYHQApQLe8z kSbvJ/E54i4HcAtQJfMdKVIvLus5DAIQcm1z3zovJ0w+8zxfLwovNu838v8u+i/QRJpDSw6yKZdD QCQCeymVIOpUJ4A0szBgHdB1vmwe4DXRAaAf8DAgby/xPnYigDBQIjIi3jWgdHBdLkAvH2EHQB3Q cyqwOAIwTfAvXHt3ZWLlJ0BwJFJcfSwVTkBDUN8DcB0wK8AOsBWhfSDrHWD9HZBmHkEIcDVBJrEh 1B4S/GRpHuAykjAyJZQdFTPhpzJwNKZOZCBwA2BqMTH5IwVFLicgKalUOC7sCcDhCGBwSWQ+JLtD QFkm1y77CsAxUGYA0HRZcSWUd0NAW+ku+3YEkACQAiA+ASXgMC1TTkFQU/hIT1RDQF6WRbpXryDq LksLgB7gGCBnCxFzLBMg5AgAYmIycFBlbF8EEF6hIOov0GXRTwWwc+1V0W4i4EvQajNwJAAFEK8T 0CAQZdIg5FYAcDpkgHcrwGcxM3BFMVAJ8DEgIG5bAMADEEsAOiuxaLIuyxQgaSNAS9BicgrAJXCP Y3AOsBPQanBkdV1n1V0EkHoCIFSBaGBkSxAyUDctMS0B0DFUEDKwMjowNiFFaEJ1ZNJuQDumJ1RA ETtvBUsAba0yMHRv2SDkT1Rxck5g8nJNECBUWTFKwh0hF7CCeSHyYSAqLncKwfsegErUVHETdLAD YRIhJ9K9bWAuDlAjhCDkdgUmdTZOVWTSY8Ug5EkndeB3NwUQMVAiASgFAE2wcy37S9BNwCkeQiCA BKB0BA6wX03ANRQ+8VXCbABjdARz/wDAMlAeQSfSIOROkUvQcTHvMWF8g3EFHOAnXpA1wUmhn3RA bxJRgnYFfJJxdSgxLzBgT9EwIAdxLB9AdXT9TIVhgFET4FMhS8ECQErS+3M1MpBqbxB6A0sBMDIx IDcH4GZRIfEvAMBekG4tv06AFBAe4HZ3XpWAEE0ycP+CIHwCdYEwMgRgB4ACMCIg/wQghYJK8gUA JBCCUTAyAQH+YUpAMNJ2Ix9TflU0IWSg/wMgjXF0QFVlMzQwAQWwBIH/SvJz8GSghDJ0ijXRWVAX sN8ykB7RSwAg5H+2U0sQXCD/BcCAMwIQMlAd4JGiMEELgJ1NwHIa0DFUdbMiWR8Sfx6AFAAFQHYE fl9vASHyTbeHMm1gJnA8TOVvfy92cUIvbeA1OV8xmtAuPzWgIMA4EABwCzEhAiJEv3O5dgV+uZif ma4cIDKa2P1W5VIrwY9yE+ADoIsje5Wyd0sQKG8FMH8yMnsA/x9TY7COHaQRUWF0QAqxOTH/IOSk xYAziqOLJIQyY1FKQP8KwTM0pTSOS6UzUCElMKei/5HWkUQwIxggIcBpwCHydG//dXKlMnOkMCOs 4jLiIJBzEP8ngJavMGEoUAQgSwGrkwdA+wUQNZIoh4RRkFGgUZELgP8+8n8UesIe0TAEkforQABw fGFnBJClFHExB0ALgGHHcECDQCJRZ3MpgxMfQN0DYHeX04YFXDF1B0B4YPxSTLD0kfZKAgfgocEF QP2AM24y0B5BQaEUIJP1VdHvNAEEIFXRHUByMmEwAYKDP6zgJXBIzawVimEjBUhUPFRQBgABkLkQ BCA0MP40RWAHsJDxM0N8kk4wZYiXww/DliDqKjHxZSrApt0YIHAXwcSrB4FztdHFsPoqwYwqxKsB AAT0MWHH4f+/JIkzHtGsIQhhIIB6QMGMv3sAinG7coPQaaFKsi7I9Z/Dn8PfIYEnU3U1LzZfIOgu MTgg6kO2igIgMmH7uoK/5kyRcSHytnO3UCMFd3TCLkBvEHJNRF0AJ1MtFXEELdHUL6LQcmsvv9L2 TUiHEGRAdNHQ8HBtkFfR4U4gJ7RfILFfy5Js/V6RXzkxefEHkJ6Q1WR5NfcDoDOXhfYi2gcmcH66 utXfdeCqVYXFkWK+W0FjcAuA/6ahhAGAUQ7AvUFpIcvxA/DvK9AfQDLRdfY8dmKlI3VF7zABteAx IGswbIMZJGDjYv+Fw3M1K3AEgU3Am4Eh8jRA/3WBMSAJgLFDNdFtQGlRjxp/lKCAsXcb5aN+yTAB dUUoW2swoXhKFCAx8CmAEEL9rqZ5pqLg0UrBufe14AVA+mVekXkr0IXFJLGRIo3i/+PCMUAe0XWz 75PiHCVggsG2cKQB8oF0pAEhwGe14P+FoTFxgxAFscuWNCFKNgnBvyvAMmJOoBggfSCnkiEjG78v 4GiHvlsv0SDkaIZLgBD/aQUg5AawtCGxMVFQB0D+ofkg5EdlQBEHMBzglHEiMHeDQDBQUZFUa7G7 cLdBed/UdWsUd9HdoLNoQzkxFZANPVQowSF7ADM4NS0uOA4gGvMhJn0GAB4ANRABAAAAPwAAADw3 QzY1NUMwNEI2RjU5NjQzQTFFRjY2MDU2QzBFMDk1RUE5OUM4RUBldXNleDAxLnN3ZWRlbi5lY3Nv ZnQ+AAAeADkQAQAAAD8AAAA8QUFOTGtUaW01ZTNZQ1JreXpBcDlGMjBNQTZSOFl1bVVEZGpOeERa aFpaS09nQG1haWwuZ21haWwuY29tPgAAHgBHEAEAAAAPAAAAbWVzc2FnZS9yZmM4MjIAAAsA8hAB AAAAHwDzEAEAAACKAAAAUgBFACUAMwBBACAAVAByAG8AdQBiAGwAZQAgAGQAZQBwAGwAbwB5AGkA bgBnACAAYQAgACUAMgBBAC4AdwBhAHIAIABmAGkAbABlACAAdABvACAAVABvAG0AYwBhAHQAIABm AHIAbwBtACAAQwBvAGMAbwBvAG4AIAAyAC4AMgAuAEUATQBMAAAAAAALAPYQAAAAAEAABzBjxHay or7LAUAACDAUqPaNo77LAQMA3j+vbwAAAwDxPxMEAAAeAPg/AQAAAA8AAABSb2JieSBQZWxzc2Vy cwAAAgH5PwEAAABPAAAAAAAAANynQMjAQhAatLkIACsv4YIBAAAAAAAAAC9PPUVDU09GVC9PVT1B RyBFVS9DTj1SRUNJUElFTlRTL0NOPVJPQkJZLlBFTFNTRVJTAAAeAPo/AQAAABUAAABTeXN0ZW0g QWRtaW5pc3RyYXRvcgAAAAACAfs/AQAAAB4AAAAAAAAA3KdAyMBCEBq0uQgAKy/hggEAAAAAAAAA LgAAAAMA/T/kBAAAAwAZQAAAAAADABpAAAAAAAMAHUAAAAAAAwAeQAAAAAAeADBAAQAAAA8AAABS T0JCWS5QRUxTU0VSUwAAHgAxQAEAAAAPAAAAUk9CQlkuUEVMU1NFUlMAAB4AMkABAAAAIwAAAHBh dHJpY2suZXRpZW5uZUBsaWJyYXJ5LmdhdGVjaC5lZHUAAB4AM0ABAAAAIwAAAHBhdHJpY2suZXRp ZW5uZUBsaWJyYXJ5LmdhdGVjaC5lZHUAAB4AOEABAAAADwAAAFJPQkJZLlBFTFNTRVJTAAAeADlA AQAAAAIAAAAuAAAAAwB2QP////8LACkAAAAAAAsAIwAAAAAAAwAGEB2LS1EDAAcQawoAAAMAEBAA AAAAAwAREAAAAAAeAAgQAQAAAGUAAABJVERFUEVORFNPTkhPV1lPVUNPTkZJR1VSRURZT1VSQkxP Q0stU0VSVkxFVC1TRVJWSUNFWE1MQVNTVU1JTkdJVExPT0tTTElLRTo8QkVBTk5BTUU9IkNPTU1Z Q09NUEFOWUJMAAAAAAIBfwABAAAAPwAAADw3QzY1NUMwNEI2RjU5NjQzQTFFRjY2MDU2QzBFMDk1 RUE5OUM4RUBldXNleDAxLnN3ZWRlbi5lY3NvZnQ+AABOJg== ------_=_NextPart_001_01CBBEA3.8DCBC5B2 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] ------_=_NextPart_001_01CBBEA3.8DCBC5B2-- From [email protected] Fri Jan 28 20:37:27 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20182 invoked from network); 28 Jan 2011 20:37:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Jan 2011 20:37:27 -0000 Received: (qmail 2081 invoked by uid 500); 28 Jan 2011 20:37:26 -0000 Delivered-To: [email protected] Received: (qmail 1953 invoked by uid 500); 28 Jan 2011 20:37:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 1946 invoked by uid 99); 28 Jan 2011 20:37:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jan 2011 20:37:25 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO deliverator5.gatech.edu) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jan 2011 20:37:15 +0000 Received: from deliverator5.gatech.edu (localhost [161.129.204.104]) by localhost (Postfix) with SMTP id CF8341800A6 for <[email protected]>; Fri, 28 Jan 2011 15:36:54 -0500 (EST) Received: from mail5.gatech.edu (mail5.gatech.edu [161.129.204.104]) by deliverator5.gatech.edu (Postfix) with ESMTP id 7E297180079 for <[email protected]>; Fri, 28 Jan 2011 15:36:53 -0500 (EST) Received: from mail-fx0-f51.google.com (bigip.ecc.gatech.edu [161.129.204.104]) (Authenticated sender: petienne3) by mail5.gatech.edu (Postfix) with ESMTPSA id 28AED1FF99 for <[email protected]>; Fri, 28 Jan 2011 15:36:53 -0500 (EST) Received: by fxm5 with SMTP id 5so3995116fxm.24 for <[email protected]>; Fri, 28 Jan 2011 12:36:51 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id l10mr3121393fak.17.1296246996005; Fri, 28 Jan 2011 12:36:36 -0800 (PST) Received: by 161.129.204.104 with HTTP; Fri, 28 Jan 2011 12:36:35 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Fri, 28 Jan 2011 15:36:35 -0500 Message-ID: <[email protected]> Subject: Re: Trouble deploying a *.war file to Tomcat from Cocoon 2.2 From: Patrick Etienne <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=20cf3054a37dbcf490049aee0565 X-Virus-Checked: Checked by ClamAV on apache.org --20cf3054a37dbcf490049aee0565 Content-Type: text/plain; charset=ISO-8859-1 Many thanks for the replies! Indeed, it was just a problem related to the servlet's mount-path and context-path. I'll have to be a little more careful checking those details. The help was greatly appreciated =) - Patrick E. On Thu, Jan 27, 2011 at 11:27 PM, Robby Pelssers <[email protected]>wrote: > It depends on how you configured your block-servlet-service.xml > > Assuming it looks like: > > <bean name="com.mycompany.block1.service" > class="org.apache.cocoon.sitemap.SitemapServlet"> > <servlet:context mount-path="/block1" > context-path="blockcontext:/block1/"> > <!-- in the servlet connections you typically add other block > references which in your case might be 0 > <servlet:connections> > <entry key="ajax" value-ref="org.apache.cocoon.ajax.impl.servlet"/> > <entry key="forms" > value-ref="org.apache.cocoon.forms.impl.servlet"/> > </servlet:connections> > --> > </servlet:context> > </bean> > > > Then you should be able to invoke it like: > > http://localhost:8080/{webappname}/block1{/somepattern} > > And of course assuming you did add the block1 dependency in your webapp > project: > E.g. > <dependency> > <groupId>com.mycompany</groupId> > <artifactId>block1</artifactId> > <version>1.0-SNAPSHOT</version> > </dependency> > > > Kind regards, > Robby Pelssers > > -----Oorspronkelijk bericht----- > Van: Patrick Etienne [mailto:[email protected]] > Verzonden: do 27-1-2011 22:06 > Aan: [email protected]; [email protected] > Onderwerp: Trouble deploying a *.war file to Tomcat from Cocoon 2.2 > > Cocoon & Tomcat Users, > > I'm writing (cross-list) concerning a test case for producing a small > cocoon > application for tomcat. I've been a user of Cocoon for quite some time, but > have had a little trouble adjusting to the new spring/maven-based 2.2 > version. My quest at the moment is just to create the default cocoon block > as well as a webapp block in order to yield a war file to be uploaded to > tomcat. So far I've followed the instructions from "Your first Cocoon > application using Maven 2" <http://cocoon.apache.org/2.2/1159_1_1.html> > and > "Deploying a Cocoon application" < > http://cocoon.apache.org/2.2/1362_1_1.html>. > Rather than creating a two (option 2) blocks, a webapp block, and a parent > block, I've just created a regular block and a webapp block and attempted > to > upload the resulting *.war file to Tomcat and deploy the war there. The > application seems to load alright (based off of information listed in the > tomcat manager, and catalina.out logs), but browsing to the actual URL > seems > to show that I've not completed the process properly in some way. > > The result is: > HTTP Status 404 - No block for / > ------------------------------ > > *type* Status report > > *message* *No block for /* > > *description* *The requested resource (No block for /) is not available.* > ------------------------------ > Apache Tomcat/6.0.18 > > Catalina.out only shows: > Loading catalog: > > file:/usr/local/apache-tomcat-6.0.18/work/Catalina/localhost/mobileApp-1.0.0/cocoon_xml_resolver_entities/catalog > In reference to the "mobileApp" application that I'm attempting to load. > > Again, I have experience with both Cocoon < 2.2 and Tomcat in general, but > am having trouble understanding what needs to be done in order to run a > Cocoon 2.2 application in Tomcat (rather than Jetty). By the way, I'm able > to get everything to come up as expected from Jetty. > > Any tips, hints, suggestions, or resources would be greatly appreciated! > > - Patrick E. > > -- > Patrick K. Etienne > Systems Analyst > Georgia Institute of Technology > Library & Information Center > 214.755.8136 > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > -- Patrick K. Etienne Systems Analyst Georgia Institute of Technology Library & Information Center 214.755.8136 --20cf3054a37dbcf490049aee0565 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Many thanks for the replies!<div><br></div><div>Indeed, it was just a probl= em related to the servlet&#39;s mount-path and context-path. I&#39;ll have = to be a little more careful checking those details. The help was greatly ap= preciated =3D)</div> <div><br></div><div>=A0- Patrick E.<br><br><div class=3D"gmail_quote">On Th= u, Jan 27, 2011 at 11:27 PM, Robby Pelssers <span dir=3D"ltr">&lt;<a href= =3D"mailto:[email protected]">[email protected]</a>&gt;</span= > wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex;">It depends on how you configured your block= -servlet-service.xml<br> <br> Assuming it looks like:<br> <br> =A0&lt;bean name=3D&quot;com.mycompany.block1.service&quot; class=3D&quot;= org.apache.cocoon.sitemap.SitemapServlet&quot;&gt;<br> =A0 =A0&lt;servlet:context mount-path=3D&quot;/block1&quot; context-path= =3D&quot;blockcontext:/block1/&quot;&gt;<br> =A0 =A0 =A0&lt;!-- in the servlet connections you typically add other bloc= k references which in your case might be 0<br> =A0 =A0 =A0&lt;servlet:connections&gt;<br> =A0 =A0 =A0 =A0&lt;entry key=3D&quot;ajax&quot; value-ref=3D&quot;org.apac= he.cocoon.ajax.impl.servlet&quot;/&gt;<br> =A0 =A0 =A0 =A0&lt;entry key=3D&quot;forms&quot; value-ref=3D&quot;org.apa= che.cocoon.forms.impl.servlet&quot;/&gt;<br> =A0 =A0 =A0&lt;/servlet:connections&gt;<br> =A0 =A0 =A0--&gt;<br> =A0 =A0&lt;/servlet:context&gt;<br> =A0&lt;/bean&gt;<br> <br> <br> Then you should be able to invoke it like:<br> <br> <a href=3D"http://localhost:8080/{webappname}/block1{/somepattern}" target= =3D"_blank">http://localhost:8080/{webappname}/block1{/somepattern}</a><br> <br> And of course assuming you did add the block1 dependency in your webapp pro= ject:<br> E.g.<br> =A0 =A0&lt;dependency&gt;<br> =A0 =A0 =A0&lt;groupId&gt;com.mycompany&lt;/groupId&gt;<br> =A0 =A0 =A0&lt;artifactId&gt;block1&lt;/artifactId&gt;<br> =A0 =A0 =A0&lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;<br> =A0 =A0&lt;/dependency&gt;<br> <br> <br> Kind regards,<br> Robby Pelssers<br> <br> -----Oorspronkelijk bericht-----<br> Van: Patrick Etienne [mailto:<a href=3D"mailto:[email protected]= ch.edu">[email protected]</a>]<br> Verzonden: do 27-1-2011 22:06<br> Aan: <a href=3D"mailto:[email protected]">[email protected]</a>= ; <a href=3D"mailto:[email protected]">[email protected]</a><br= > Onderwerp: Trouble deploying a *.war file to Tomcat from Cocoon 2.2<br> <div><div></div><div class=3D"h5"><br> Cocoon &amp; Tomcat Users,<br> <br> I&#39;m writing (cross-list) concerning a test case for producing a small c= ocoon<br> application for tomcat. I&#39;ve been a user of Cocoon for quite some time,= but<br> have had a little trouble adjusting to the new spring/maven-based 2.2<br> version. My quest at the moment is just to create the default cocoon block<= br> as well as a webapp block in order to yield a war file to be uploaded to<br= > tomcat. So far I&#39;ve followed the instructions from &quot;Your first Coc= oon<br> application using Maven 2&quot; &lt;<a href=3D"http://cocoon.apache.org/2.2= /1159_1_1.html" target=3D"_blank">http://cocoon.apache.org/2.2/1159_1_1.htm= l</a>&gt; and<br> &quot;Deploying a Cocoon application&quot; &lt;<a href=3D"http://cocoon.apa= che.org/2.2/1362_1_1.html" target=3D"_blank">http://cocoon.apache.org/2.2/1= 362_1_1.html</a>&gt;.<br> Rather than creating a two (option 2) blocks, a webapp block, and a parent<= br> block, I&#39;ve just created a regular block and a webapp block and attempt= ed to<br> upload the resulting *.war file to Tomcat and deploy the war there. The<br> application seems to load alright (based off of information listed in the<b= r> tomcat manager, and catalina.out logs), but browsing to the actual URL seem= s<br> to show that I&#39;ve not completed the process properly in some way.<br> <br> The result is:<br> HTTP Status 404 - No block for /<br> ------------------------------<br> <br> *type* Status report<br> <br> *message* *No block for /*<br> <br> *description* *The requested resource (No block for /) is not available.*<b= r> ------------------------------<br> Apache Tomcat/6.0.18<br> <br> Catalina.out only shows:<br> Loading catalog:<br> file:/usr/local/apache-tomcat-6.0.18/work/Catalina/localhost/mobileApp-1.0.= 0/cocoon_xml_resolver_entities/catalog<br> In reference to the &quot;mobileApp&quot; application that I&#39;m attempti= ng to load.<br> <br> Again, I have experience with both Cocoon &lt; 2.2 and Tomcat in general, b= ut<br> am having trouble understanding what needs to be done in order to run a<br> Cocoon 2.2 application in Tomcat (rather than Jetty). By the way, I&#39;m a= ble<br> to get everything to come up as expected from Jetty.<br> <br> Any tips, hints, suggestions, or resources would be greatly appreciated!<br= > <br> =A0- Patrick E.<br> <br> --<br> Patrick K. Etienne<br> Systems Analyst<br> Georgia Institute of Technology<br> Library &amp; Information Center<br> 214.755.8136<br> <br> </div></div><br><br> ---------------------------------------------------------------------<br> To unsubscribe, e-mail: <a href=3D"mailto:[email protected]= rg">[email protected]</a><br> For additional commands, e-mail: <a href=3D"mailto:[email protected]= .org">[email protected]</a><br></blockquote></div><br><br clear= =3D"all"><br>-- <br>Patrick K. Etienne<br>Systems Analyst<br>Georgia Instit= ute of Technology<br> Library &amp; Information Center<br>214.755.8136<br><br><br> </div> --20cf3054a37dbcf490049aee0565-- From [email protected] Mon Jan 31 13:34:09 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59599 invoked from network); 31 Jan 2011 13:34:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Jan 2011 13:34:08 -0000 Received: (qmail 19904 invoked by uid 500); 31 Jan 2011 13:34:07 -0000 Delivered-To: [email protected] Received: (qmail 19370 invoked by uid 500); 31 Jan 2011 13:34:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 19363 invoked by uid 99); 31 Jan 2011 13:34:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Jan 2011 13:34:03 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ww0-f49.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Jan 2011 13:33:56 +0000 Received: by wwb17 with SMTP id 17so5755951wwb.6 for <[email protected]>; Mon, 31 Jan 2011 05:33:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:from:to:in-reply-to:references :content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=nsEFhQtFNoVPUfNPp/A82FOHjibuheut7ERSsRtTQ+I=; b=s8ZLVeviT/DHNn5mAFaCO4QWSxzzdlp9nuhuCGPIBvr03pv4dSV7jrkUsBeg6tvANs tpPCgaJA/Qohkp6eUcFg6HAmH09fRIUDZ3G35sC8VNIvIQnuirDiX+6M9dKbGg5BxAnn m4OZZRl0sbdj86vFlU3DShWyeet8psIjr7pcI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; b=oueKxuJF/Mvp9gON102hG+MK4dbKpWal/zg6e8pDRE9C7FLCe39vlkU+O03eUJLsAq TtZ6IG0oCaHs8H3se0jOnhv6IhNSusDayiIIUQCQn8xrvvzlPHhWGzT3C5I9U/JY9ind f0Iz862VTrzooLXT4f6NoERtQdl8XkVxDh0m4= Received: by 161.129.204.104 with SMTP id b6mr10745797web.25.1296480815856; Mon, 31 Jan 2011 05:33:35 -0800 (PST) Received: from [161.129.204.104] (202.Red-195-57-78.staticIP.rima-tde.net [161.129.204.104]) by mx.google.com with ESMTPS id n78sm10782913weq.3.2161.129.204.104.33.33 (version=SSLv3 cipher=RC4-MD5); Mon, 31 Jan 2011 05:33:34 -0800 (PST) Subject: Re: Adding my Java code to flowscript From: Thorsten Scherler <[email protected]> To: [email protected] In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain; charset="UTF-8" Date: Mon, 31 Jan 2011 14:33:31 +0100 Message-ID: <1296480811.2932.40.camel@mcKenny> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Sun, 2011-01-23 at 01:25 +0100, Des Magner wrote: > Hi > > I am trying to add some custom code to be called from my flowscript but > with no success. I followed the instructions in the user documentation > to the letter (http://cocoon.apache.org/2.1/userdocs/flow/java.html). I > have added my source directory entry to the component-instance in the > format "file:/path/to/my/source" but it doesn't seem to want to pick up > the code. Say I have the following code in my flowscript: > > var resource = new Packages.Test(); > > with the file Test.java placed in my source dir as specified above, I > consistently get the following error: > > org.mozilla.javascript.EvaluatorException: "file:///....js", line ..: > Not a Java class: [JavaPackage Test] > > I can get around it by placing the compiled class in the > cocoon/WEB-INF/classes directory but this is not a very elegant solution. > > Any help would be greatly appreciated. > Thanks > Des Did you see http://[email protected]/msg08996.html "the CompilingClassLoader on 12/26. Since I'm using 2.1.3, which was released mid-November, this functionality isn't included in 2.1.3. ... Did you restart Cocoon after modifying adding <classpath>? I just tested this and got the same error as you before doing so, but then it worked as expected after a restart. If that doesn't work, set a breakpoint on org.apache.cocoon.components.flow.javascript.fom.CompilingClassLoader.loadClass(), and step through and try to see why it isn't finding your class. In particular see if its sourcePath field contains your classpath entry. ..." When we use java objects in flow (or jx) we normally create it in the same module/block or add the dep to the pom.xml. Then a mvn install and everything gets build and is available in the flow. However as I understand your post you are mainly looking into the CompilingClassLoader http://[email protected]/msg10144.html salu2 -- Thorsten Scherler <thorsten.at.apache.org> codeBusters S.L. - web based systems <consulting, training and solutions> http://www.codebusters.es/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
From [email protected] Wed Dec 05 19:37:39 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86891 invoked from network); 5 Dec 2007 19:37:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Dec 2007 19:37:39 -0000 Received: (qmail 40628 invoked by uid 500); 5 Dec 2007 19:37:27 -0000 Delivered-To: [email protected] Received: (qmail 40436 invoked by uid 500); 5 Dec 2007 19:37:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Users List" <bcel-user.jakarta.apache.org> Reply-To: "BCEL Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 40424 invoked by uid 99); 5 Dec 2007 19:37:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Dec 2007 11:37:27 -0800 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=HTML_MESSAGE,RCVD_IN_BSP_TRUSTED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO sbapexch02.ad.corp.expertcity.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Dec 2007 19:37:07 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C83776.60BB4DC7" Subject: InstructionHandle to Declared Exceptions Date: Wed, 5 Dec 2007 11:38:14 -0800 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: InstructionHandle to Declared Exceptions Thread-Index: Acg3dmBqeZDvC9xHRSWrJJpls82sdg== From: "Elliot Barlas" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C83776.60BB4DC7 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I have an InstructionHandle containing an InvokeVirtual instruction and I would like to get the list of all declared exceptions thrown by the virtual method invocation. I have tried the following: 1. Get the InvokeVirtual instruction from handle 2. Get the ReferenceType from the instruction 3. Cast the ReferenceType to an ObjectType when safe to do so. 4. Get the class name from the ObjectType 5. Get the Class object from the class name via Class.forName(className) 6. Get an array of methods for the Class 7. Get the method name from the InvokeVirtual instruction 8. Find the java.lang.reflect.Method in the array with the given name 9. Get an array of exception Classes from the method This should be sufficient, but in the environment that I am working in, there are multiple class loaders and the class lookup (Class.forName) is failing. Does anyone know how to do something equivalent in BCEL alone without requiring the use of Java reflection or class lookups? Thanks, Elliot ------_=_NextPart_001_01C83776.60BB4DC7-- From [email protected] Wed Dec 05 22:54:55 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52891 invoked from network); 5 Dec 2007 22:54:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Dec 2007 22:54:55 -0000 Received: (qmail 38757 invoked by uid 500); 5 Dec 2007 22:54:43 -0000 Delivered-To: [email protected] Received: (qmail 38733 invoked by uid 500); 5 Dec 2007 22:54:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Users List" <bcel-user.jakarta.apache.org> Reply-To: "BCEL Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 38722 invoked by uid 99); 5 Dec 2007 22:54:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Dec 2007 14:54:43 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO messaging2.anu.edu.au) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Dec 2007 22:54:22 +0000 Received: from [161.129.204.104] by messaging2.anu.edu.au (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <[email protected]> for [email protected]; Thu, 06 Dec 2007 09:54:22 +1100 (EST) Date: Thu, 06 Dec 2007 09:54:22 +1100 From: Arrin Daley <[email protected]> Subject: Re: InstructionHandle to Declared Exceptions In-reply-to: <[email protected]> To: BCEL Users List <[email protected]> Reply-to: [email protected] Message-id: <[email protected]> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en References: <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050927 Debian/1.7.8-1sarge3 X-Virus-Checked: Checked by ClamAV on apache.org Hi Elliot You could try using 'Repository.loadClass' to load a class (which should use your existing class loading hierarchy) this will produce a 'JavaClass' object from which you will be able to create a 'ClassGen' to get a 'MethodGen', or create a 'MethodGen' from the 'Method' (JavaClass.getMethods() then search for name or signature) your concerned with. From there 'MethodGen' has a method 'getExceptions()' which returns an array of Strings for the exception names. I think Repository uses the normal java class loading mechanisms so if these were causing your troubles this may still be the case if so have a look at the interface 'org.apache.bcel.util.Repository' implementations of which allow you to specify a classloader or generally have other options. Hope this helps Bye Arrin Elliot Barlas wrote: >I have an InstructionHandle containing an InvokeVirtual >instruction and I would like to get the list of all >declared exceptions thrown by the virtual method >invocation. I have tried the following: > >1. Get the InvokeVirtual instruction from handle >2. Get the ReferenceType from the instruction >3. Cast the ReferenceType to an ObjectType when safe to >do so. >4. Get the class name from the ObjectType >5. Get the Class object from the class name via >Class.forName(className) >6. Get an array of methods for the Class >7. Get the method name from the InvokeVirtual instruction >8. Find the java.lang.reflect.Method in the array with >the given name >9. Get an array of exception Classes from the method > >This should be sufficient, but in the environment that I >am working in, there are multiple class loaders and the >class lookup (Class.forName) is failing. Does anyone >know how to do something equivalent in BCEL alone without >requiring the use of Java reflection or class lookups? > >Thanks, >Elliot > > > -- Conventional wisdom says to know your limits. To know your limits you need to find them first. Finding you limits generally involves getting in over your head and hoping you live long enough to benefit from the experience. That's the fun part. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Dec 05 23:01:46 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 55395 invoked from network); 5 Dec 2007 23:01:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Dec 2007 23:01:46 -0000 Received: (qmail 44862 invoked by uid 500); 5 Dec 2007 23:01:34 -0000 Delivered-To: [email protected] Received: (qmail 44841 invoked by uid 500); 5 Dec 2007 23:01:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Users List" <bcel-user.jakarta.apache.org> Reply-To: "BCEL Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 44830 invoked by uid 99); 5 Dec 2007 23:01:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Dec 2007 15:01:34 -0800 X-ASF-Spam-Status: No, hits=-4.3 required=10.0 tests=RCVD_IN_BSP_TRUSTED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO sbapexch02.ad.corp.expertcity.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Dec 2007 23:01:37 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: InstructionHandle to Declared Exceptions Date: Wed, 5 Dec 2007 15:02:19 -0800 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: InstructionHandle to Declared Exceptions Thread-Index: Acg3kgkc4i8aRlsqTL+5zrIyd6PMYQAACFWg References: <[email protected]> <[email protected]> From: "Elliot Barlas" <[email protected]> To: "BCEL Users List" <[email protected]>, <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Thanks Arrin, this worked perfectly. The Repository class was the missing link. I found that in the environment I am working in the classes loaded by BCEL are not in the classpath, which is why I was not able the use Class.forName, but the Repository provides equivalent functionality for my purposes. -Elliot -----Original Message----- From: Arrin Daley [mailto:[email protected]]=20 Sent: Wednesday, December 05, 2007 2:54 PM To: BCEL Users List Subject: Re: InstructionHandle to Declared Exceptions Hi Elliot You could try using 'Repository.loadClass' to load a class (which should use your existing class loading hierarchy) this will produce a 'JavaClass' object from which you will be able to create a 'ClassGen' to get a 'MethodGen', or create a 'MethodGen' from the 'Method'=20 (JavaClass.getMethods() then search for name or signature) your concerned with. From there 'MethodGen' has a method 'getExceptions()'=20 which returns an array of Strings for the exception names. I think Repository uses the normal java class loading mechanisms so if these were causing your troubles this may still be the case if so have a look at the interface 'org.apache.bcel.util.Repository' implementations of which allow you to specify a classloader or generally have other options. Hope this helps Bye Arrin Elliot Barlas wrote: >I have an InstructionHandle containing an InvokeVirtual instruction and=20 >I would like to get the list of all declared exceptions thrown by the=20 >virtual method invocation. I have tried the following: > >1. Get the InvokeVirtual instruction from handle 2. Get the=20 >ReferenceType from the instruction 3. Cast the ReferenceType to an=20 >ObjectType when safe to do so. >4. Get the class name from the ObjectType 5. Get the Class object from=20 >the class name via >Class.forName(className) >6. Get an array of methods for the Class 7. Get the method name from=20 >the InvokeVirtual instruction 8. Find the java.lang.reflect.Method in=20 >the array with the given name 9. Get an array of exception Classes from=20 >the method > >This should be sufficient, but in the environment that I am working in,=20 >there are multiple class loaders and the class lookup (Class.forName)=20 >is failing. Does anyone know how to do something equivalent in BCEL=20 >alone without requiring the use of Java reflection or class lookups? > >Thanks, >Elliot > > =20 > -- Conventional wisdom says to know your limits. To know your limits you need to find them first. Finding you limits generally involves getting in over your head and hoping you live long enough to benefit from the experience. That's the fun part. --------------------------------------------------------- ------------ To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Dec 31 10:53:06 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 67182 invoked from network); 31 Dec 2007 10:53:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Dec 2007 10:53:06 -0000 Received: (qmail 48025 invoked by uid 500); 31 Dec 2007 10:52:54 -0000 Delivered-To: [email protected] Received: (qmail 47996 invoked by uid 500); 31 Dec 2007 10:52:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Users List" <bcel-user.jakarta.apache.org> Reply-To: "BCEL Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 47985 invoked by uid 99); 31 Dec 2007 10:52:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Dec 2007 02:52:54 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wa-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Dec 2007 10:52:32 +0000 Received: by wa-out-1112.google.com with SMTP id m38so7815925waf.5 for <[email protected]>; Mon, 31 Dec 2007 02:52:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=v6aI1wGBrzh1aGz1J4J2KzOwmPPhmv9ktha8Vjd1SQ8=; b=HfjJ2hrXI5LtIqPG94oLZO7Dk5h4/Bt1PYo6bNSgkkzJ8t2WkjKjE3ZHmcHal5o+6d4jn+3gNUKmw4N8F6oAQesDqptyx51hJeLdK5rlFnFV1AsYkmbmNJVcyCzyxZtIkkYhFrZKG4oQoArcpXBRXw9WF6h9o4r+7HDMPHEg1Wo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=RoSiAtb2nlBNn5BJ+cZFqu8sDd0L42NSVbsXBC41TXWZ572AISjWSVUul4++q50uuBO4rXplraQfFcSuEmiPTxGnU1Sh69DJraYwsSXkQ7AUuTPCY+wp55d8ZWFmwyvJAeQ5O6cF9iYv+2POrIppbWJS3gu9lbRCoCtJGOa2Q84= Received: by 161.129.204.104 with SMTP id n1mr12881370wak.37.1199098356362; Mon, 31 Dec 2007 02:52:36 -0800 (PST) Received: by 161.129.204.104 with HTTP; Mon, 31 Dec 2007 02:52:36 -0800 (PST) Message-ID: <[email protected]> Date: Mon, 31 Dec 2007 11:52:36 +0100 From: "uprime uprime812" <[email protected]> To: [email protected] Subject: problem with class2html MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4413_14655815.1199098356360" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_4413_14655815.1199098356360 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello, I'm new to bcel, and has this problem when I try to convert using class2html. This is my class: ------------- package trybcel ; class A { private A nxt = null ; private int x = 0 ; boolean m(){ return x==0 ; } } ----------- After compiling (success), I call Class2HTML and gets this error, which I thinks rather wierd: X:\tmp\trybcel>java -cp ..\bcel-5.2\bcel-5.2.jar org.apache.bcel.util.Class2HTML A.class Processing A.class...java.lang.ArrayIndexOutOfBoundsException: -1 java.lang.ArrayIndexOutOfBoundsException: [email protected](CodeHTML.java:520) at org.apache.bcel.util.CodeHTML.<init>(CodeHTML.java:63) at org.apache.bcel.util.Class2HTML.<init>(Class2HTML.java:92) at org.apache.bcel.util.Class2HTML.main(Class2HTML.java:136) Any help will be appreciated! Thanks, --W.P. ------=_Part_4413_14655815.1199098356360-- From [email protected] Mon Dec 31 12:43:26 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91686 invoked from network); 31 Dec 2007 12:43:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Dec 2007 12:43:26 -0000 Received: (qmail 14535 invoked by uid 500); 31 Dec 2007 12:43:14 -0000 Delivered-To: [email protected] Received: (qmail 14505 invoked by uid 500); 31 Dec 2007 12:43:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Users List" <bcel-user.jakarta.apache.org> Reply-To: "BCEL Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 14494 invoked by uid 99); 31 Dec 2007 12:43:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Dec 2007 04:43:14 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO agave.telenet-ops.be) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Dec 2007 12:42:51 +0000 Received: from localhost (localhost.localdomain [161.129.204.104]) by agave.telenet-ops.be (Postfix) with SMTP id 46A0D67D20 for <[email protected]>; Mon, 31 Dec 2007 13:42:53 +0100 (CET) Received: from erikpc (user-85-201-81-103.tvcablenet.be [161.129.204.104]) by agave.telenet-ops.be (Postfix) with ESMTP id 6BF4B67D29 for <[email protected]>; Mon, 31 Dec 2007 13:42:45 +0100 (CET) From: "Erik Bengtson" <[email protected]> To: "'BCEL Users List'" <[email protected]> References: <[email protected]> In-Reply-To: <[email protected]> Subject: RE: problem with class2html Date: Mon, 31 Dec 2007 13:42:27 +0100 Message-ID: <004501c84baa$a0b83750$e228a5f0$@org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AchLm1NS0Jra0KLDRdygF1tFTxy+7gADwe0g Content-Language: fr-be X-Virus-Checked: Checked by ClamAV on apache.org BCEL SVN trunk and Sun JDK 1.5 works for me -----Message d'origine----- De=A0: uprime uprime812 [mailto:[email protected]]=20 Envoy=E9=A0: lundi 31 d=E9cembre 2007 11:53 =C0=A0: [email protected] Objet=A0: problem with class2html Hello, I'm new to bcel, and has this problem when I try to convert using class2html. This is my class: ------------- package trybcel ; class A { private A nxt =3D null ; private int x =3D 0 ; boolean m(){ return x=3D=3D0 ; } } ----------- After compiling (success), I call Class2HTML and gets this error, which = I thinks rather wierd: X:\tmp\trybcel>java -cp ..\bcel-5.2\bcel-5.2.jar org.apache.bcel.util.Class2HTML A.class Processing A.class...java.lang.ArrayIndexOutOfBoundsException: -1 java.lang.ArrayIndexOutOfBoundsException: [email protected](CodeHTML.java:520) at org.apache.bcel.util.CodeHTML.<init>(CodeHTML.java:63) at org.apache.bcel.util.Class2HTML.<init>(Class2HTML.java:92) at org.apache.bcel.util.Class2HTML.main(Class2HTML.java:136) Any help will be appreciated! Thanks, --W.P. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Dec 31 13:19:31 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 98328 invoked from network); 31 Dec 2007 13:19:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Dec 2007 13:19:31 -0000 Received: (qmail 33744 invoked by uid 500); 31 Dec 2007 13:19:20 -0000 Delivered-To: [email protected] Received: (qmail 33711 invoked by uid 500); 31 Dec 2007 13:19:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Users List" <bcel-user.jakarta.apache.org> Reply-To: "BCEL Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 33698 invoked by uid 99); 31 Dec 2007 13:19:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Dec 2007 05:19:20 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wa-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Dec 2007 13:19:10 +0000 Received: by wa-out-1112.google.com with SMTP id m38so7884615waf.5 for <[email protected]>; Mon, 31 Dec 2007 05:19:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=SP6zvJpi1VIE5NtcXW1arrcuN/Bhgr+Ro86G54REJJw=; b=XX6mvmYZfKxprb4nnWpHGUmt+PrhpnJxVdSneNyJqVJiGEUQB5pvtUKNFcwsL2l0GyAzObSK2VkJ5p3bBrl3nGQiBipqdUuasL5hQFEjgdbekwPgD5gJba0TrxfXMlrrMIOLQtlr1DPskq30ES13Ei+cz2z2wViep27FLOKRTwI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=Sr/8XDmUmaYLmdRj1qDqx2zRXqQNQKin7l1VEKtmUQiHeP6EBD4yllozB2s7uoRWkmll1yvxHtYybd6+tVP9C6NSxF9/gHijhw8z4bu2e7QOHWqya7A9S2OYraDqO6sVb+7Xqh2rWXOzsuyx3yr7xUxYUTgAbHbWwJRqoTQryDs= Received: by 161.129.204.104 with SMTP id y1mr13303239wae.86.1199107142303; Mon, 31 Dec 2007 05:19:02 -0800 (PST) Received: by 161.129.204.104 with HTTP; Mon, 31 Dec 2007 05:19:02 -0800 (PST) Message-ID: <[email protected]> Date: Mon, 31 Dec 2007 14:19:02 +0100 From: "uprime uprime812" <[email protected]> To: "BCEL Users List" <[email protected]> Subject: is BCEL a good choice? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4755_28855976.1199107142300" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_4755_28855976.1199107142300 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello again, I'm working on a commercial tool where I have to build some byte code modification capability. I need a byte code engineering library with features like: * offer a reasonable set of utilities * not buggy * allows byte code to be manipulated abstractly * free, even for commercial use :) (me being a poor starting enterpreneur :) Is BCEL a good choice? Or does someone has other suggestions? Thanks, W.P. ------=_Part_4755_28855976.1199107142300-- From [email protected] Mon Dec 31 13:21:48 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 98677 invoked from network); 31 Dec 2007 13:21:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Dec 2007 13:21:48 -0000 Received: (qmail 35077 invoked by uid 500); 31 Dec 2007 13:21:36 -0000 Delivered-To: [email protected] Received: (qmail 35052 invoked by uid 500); 31 Dec 2007 13:21:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Users List" <bcel-user.jakarta.apache.org> Reply-To: "BCEL Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 35041 invoked by uid 99); 31 Dec 2007 13:21:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Dec 2007 05:21:36 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wa-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Dec 2007 13:21:14 +0000 Received: by wa-out-1112.google.com with SMTP id m38so7885804waf.5 for <[email protected]>; Mon, 31 Dec 2007 05:21:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=UmJQ14TLvqQxeNUWq3BSnTvgKI5VL/JG54aRgsf5OcA=; b=RWAeUp4Sw7uXWN29nbC21Qe8//o6061VOFAGo3cebkLF23963Jk9y7xRPfZPBupY1ic/pt9dg82xURGGL0SqP3sprF4TO9B6ZMg7apC9LpubWXVgVMOOsn4DEGdvxyhkRgFooN6wrxCf3yrQM4W1lxYUrYM7248lHVrLHDEb/+4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Mw+6j0p4IRYqUg6z5+HydO7gunTxEaHMsH6j8eKhWd9vt5kMxeolJf2syZ7P0z+sG0rhxc0NFxio7JzjPRegLKAfMGMZPo2eKvLjqXSxYsuKhwihhb7e5bVGImilzioJZENBJYoYLwNZR/lf20hqiiunVByFi60xxM8e/UD5XZY= Received: by 161.129.204.104 with SMTP id v16mr13138158wal.126.1199106678746; Mon, 31 Dec 2007 05:11:18 -0800 (PST) Received: by 161.129.204.104 with HTTP; Mon, 31 Dec 2007 05:11:18 -0800 (PST) Message-ID: <[email protected]> Date: Mon, 31 Dec 2007 14:11:18 +0100 From: "uprime uprime812" <[email protected]> To: "BCEL Users List" <[email protected]> Subject: Re: problem with class2html In-Reply-To: <004501c84baa$a0b83750$e228a5f0$@org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4737_1587641.1199106678740" References: <[email protected]> <004501c84baa$a0b83750$e228a5f0$@org> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_4737_1587641.1199106678740 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thanks, I'll try that. On 12/31/07, Erik Bengtson <[email protected]> wrote: > > BCEL SVN trunk and Sun JDK 1.5 works for me > > -----Message d'origine----- > De: uprime uprime812 [mailto:[email protected]] > Envoy=E9: lundi 31 d=E9cembre 2007 11:53 > =C0: [email protected] > Objet: problem with class2html > > Hello, > > I'm new to bcel, and has this problem when I try to convert using > class2html. This is my class: > > ------------- > package trybcel ; > > class A { > private A nxt =3D null ; > private int x =3D 0 ; > > boolean m(){ return x=3D=3D0 ; } > } > ----------- > > After compiling (success), I call Class2HTML and gets this error, which I > thinks rather wierd: > > X:\tmp\trybcel>java -cp ..\bcel-5.2\bcel-5.2.jar > org.apache.bcel.util.Class2HTML > A.class > Processing A.class...java.lang.ArrayIndexOutOfBoundsException: -1 > java.lang.ArrayIndexOutOfBoundsException: -1 > at org.apache.bcel.util.CodeHTML.writeMethod(CodeHTML.java:520) > at org.apache.bcel.util.CodeHTML.<init>(CodeHTML.java:63) > at org.apache.bcel.util.Class2HTML.<init>(Class2HTML.java:92) > at org.apache.bcel.util.Class2HTML.main(Class2HTML.java:136) > > Any help will be appreciated! > > Thanks, > > --W.P. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > ------=_Part_4737_1587641.1199106678740-- From [email protected] Mon Dec 31 14:39:37 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10442 invoked from network); 31 Dec 2007 14:39:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Dec 2007 14:39:37 -0000 Received: (qmail 99423 invoked by uid 500); 31 Dec 2007 14:39:26 -0000 Delivered-To: [email protected] Received: (qmail 99232 invoked by uid 500); 31 Dec 2007 14:39:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Users List" <bcel-user.jakarta.apache.org> Reply-To: "BCEL Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 80964 invoked by uid 99); 31 Dec 2007 14:15:18 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Subject: Re: is BCEL a good choice? From: simon <[email protected]> To: BCEL Users List <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain Date: Mon, 31 Dec 2007 15:14:49 +0100 Message-Id: <1199110489.7285.31.camel@simon-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Mon, 2007-12-31 at 14:19 +0100, uprime uprime812 wrote: > Hello again, > > I'm working on a commercial tool where I have to build some byte code > modification capability. I > need a byte code engineering library with features like: > > * offer a reasonable set of utilities > * not buggy > * allows byte code to be manipulated abstractly > * free, even for commercial use :) (me being a poor starting enterpreneur > :) > > Is BCEL a good choice? Or does someone has other suggestions? BCEL should match your above requirements. A very well respected alternative is asm.objectweb.org --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Dec 31 20:27:22 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53188 invoked from network); 31 Dec 2007 20:27:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Dec 2007 20:27:22 -0000 Received: (qmail 39961 invoked by uid 500); 31 Dec 2007 20:27:10 -0000 Delivered-To: [email protected] Received: (qmail 39940 invoked by uid 500); 31 Dec 2007 20:27:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "BCEL Users List" <bcel-user.jakarta.apache.org> Reply-To: "BCEL Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 39929 invoked by uid 99); 31 Dec 2007 20:27:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Dec 2007 12:27:10 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO agave.telenet-ops.be) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Dec 2007 20:26:59 +0000 Received: from localhost (localhost.localdomain [161.129.204.104]) by agave.telenet-ops.be (Postfix) with SMTP id E548667D1B for <[email protected]>; Mon, 31 Dec 2007 21:26:49 +0100 (CET) Received: from erikpc (user-85-201-81-103.tvcablenet.be [161.129.204.104]) by agave.telenet-ops.be (Postfix) with ESMTP id EEEBE67D25 for <[email protected]>; Mon, 31 Dec 2007 21:26:41 +0100 (CET) From: "Erik Bengtson" <[email protected]> To: "'BCEL Users List'" <[email protected]> References: <[email protected]> In-Reply-To: <[email protected]> Subject: RE: is BCEL a good choice? Date: Mon, 31 Dec 2007 21:26:16 +0100 Message-ID: <005501c84beb$6c8ac290$45a047b0$@org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AchLr8eXMFOxdN6cQYy8JyaBqx4X2wAOo8Ww Content-Language: fr-be X-Virus-Checked: Checked by ClamAV on apache.org I've been using BCEL for several years. It's certainly not buggy and the = API is very simple. BCEL source code is also very easy to understand, so you = can easily create patches. However there is not a lot of activity in the project to support newer = java spec versions. I've tried up to JDK 1.5 features and BCEL works pretty = well. ASM is a good alternative if you need a faster byte code manipulation = tool. -----Message d'origine----- De=A0: uprime uprime812 [mailto:[email protected]]=20 Envoy=E9=A0: lundi 31 d=E9cembre 2007 14:19 =C0=A0: BCEL Users List Objet=A0: is BCEL a good choice? Hello again, I'm working on a commercial tool where I have to build some byte code modification capability. I need a byte code engineering library with features like: * offer a reasonable set of utilities * not buggy * allows byte code to be manipulated abstractly * free, even for commercial use :) (me being a poor starting = enterpreneur :) Is BCEL a good choice? Or does someone has other suggestions? Thanks, W.P. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
From [email protected] Sun Oct 02 07:27:11 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95254 invoked from network); 2 Oct 2005 07:27:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Oct 2005 07:27:11 -0000 Received: (qmail 31900 invoked by uid 500); 2 Oct 2005 07:27:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31884 invoked by uid 99); 2 Oct 2005 07:27:09 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Oct 2005 00:27:08 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 8B957DF for <[email protected]>; Sun, 2 Oct 2005 09:26:47 +0200 (CEST) Message-ID: <[email protected]> Date: Sun, 2 Oct 2005 09:26:47 +0200 (CEST) From: "Christophe Lombart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (GRFT-53) Support for multi value fields Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Support for multi value fields ------------------------------ Key: GRFT-53 URL: http://issues.apache.org/jira/browse/GRFT-53 Project: Graffito Type: Improvement Components: JCR-Mapping Versions: 1.0-a1-dev Reporter: Christophe Lombart Fix For: 1.0-a1-dev A collection field can be a multivalue property (see the JCR spec) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Sun Oct 02 07:48:10 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97437 invoked from network); 2 Oct 2005 07:48:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Oct 2005 07:48:10 -0000 Received: (qmail 36991 invoked by uid 500); 2 Oct 2005 07:48:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 36979 invoked by uid 99); 2 Oct 2005 07:48:09 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Oct 2005 00:48:08 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 96F88DF for <[email protected]>; Sun, 2 Oct 2005 09:47:47 +0200 (CEST) Message-ID: <[email protected]> Date: Sun, 2 Oct 2005 09:47:47 +0200 (CEST) From: "Christophe Lombart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (GRFT-54) Add more flexibility in the mapping Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Add more flexibility in the mapping ------------------------------------ Key: GRFT-54 URL: http://issues.apache.org/jira/browse/GRFT-54 Project: Graffito Type: Improvement Reporter: Christophe Lombart Sometime, it should be interesting to map to a different jcr node structure. Here is an example, for a class "File", we can have : public class File { private String mimeType; private String encoding; private InputStream data; private Calendar lastModified; // Add getters/setters } and in terms of JCR structure, we can have : nt:file jcr:content jcr:mimeType jcr:encoding jcr:data jcr:lastModified So, the jcr:content node is an extra node to specify in the mapping file. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Sun Oct 02 07:49:11 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97532 invoked from network); 2 Oct 2005 07:49:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Oct 2005 07:49:11 -0000 Received: (qmail 37173 invoked by uid 500); 2 Oct 2005 07:49:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 37162 invoked by uid 99); 2 Oct 2005 07:49:11 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Oct 2005 00:49:11 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 24994DF for <[email protected]>; Sun, 2 Oct 2005 09:48:50 +0200 (CEST) Message-ID: <[email protected]> Date: Sun, 2 Oct 2005 09:48:50 +0200 (CEST) From: "Christophe Lombart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (GRFT-54) Add more flexibility in the mapping In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GRFT-54?page=all ] Christophe Lombart updated GRFT-54: ----------------------------------- Component: JCR-Mapping Fix Version: 1.0-a1-dev Version: 1.0-a1-dev > Add more flexibility in the mapping > ----------------------------------- > > Key: GRFT-54 > URL: http://issues.apache.org/jira/browse/GRFT-54 > Project: Graffito > Type: Improvement > Components: JCR-Mapping > Versions: 1.0-a1-dev > Reporter: Christophe Lombart > Fix For: 1.0-a1-dev > > Sometime, it should be interesting to map to a different jcr node structure. > Here is an example, for a class "File", we can have : > public class File > { > private String mimeType; > private String encoding; > private InputStream data; > private Calendar lastModified; > // Add getters/setters > } > and in terms of JCR structure, we can have : > nt:file > jcr:content > jcr:mimeType > jcr:encoding > jcr:data > jcr:lastModified > So, the jcr:content node is an extra node to specify in the mapping file. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Sun Oct 02 13:47:54 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74267 invoked from network); 2 Oct 2005 13:47:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Oct 2005 13:47:54 -0000 Received: (qmail 3843 invoked by uid 500); 2 Oct 2005 13:47:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 3832 invoked by uid 99); 2 Oct 2005 13:47:53 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Oct 2005 06:47:53 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) Received: from [161.129.204.104] (HELO mail.beenzgrup.ro) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Oct 2005 06:47:57 -0700 Received: (qmail 760 invoked from network); 2 Oct 2005 16:47:26 +0300 Received: from beenzgrup.ro (HELO localhost) (161.129.204.104) by beenzgrup.ro with SMTP; 2 Oct 2005 16:47:26 +0300 Date: Sun, 2 Oct 2005 16:47:31 +0300 From: Costin Leau <[email protected]> X-Mailer: The Bat! (v3.60.07) Professional Reply-To: Costin <[email protected]> X-Priority: 3 (Normal) Message-ID: <[email protected]> To: [email protected] Subject: [jcr-mapping] PersistenceManager interface and Impl remarks MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello. I've started working with the Jcr-Mapping project and Christophe redirected me to the graffito mailing list for issues/remarks. I've seen PersistenceManager manager interfaces defines the logout method but I think this method should not be there as it belongs to the Session interface and it's simply redundant and not a concert to the manager. Also the repository is a un-needed dependency to PersistenceManagerImplementation. The Session is the connection to the repository which includes all the access methods (login/logout and security settings) not to mention that the repository is actually not used plus one can get a hold of the repository from the JCR session through getRepository(). -- Best regards, Costin mailto:[email protected] From [email protected] Sun Oct 02 15:58:11 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 96721 invoked from network); 2 Oct 2005 15:58:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Oct 2005 15:58:11 -0000 Received: (qmail 71684 invoked by uid 500); 2 Oct 2005 15:58:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 71673 invoked by uid 99); 2 Oct 2005 15:58:10 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Oct 2005 08:58:08 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id D5C0FDF for <[email protected]>; Sun, 2 Oct 2005 17:57:47 +0200 (CEST) Message-ID: <[email protected]> Date: Sun, 2 Oct 2005 17:57:47 +0200 (CEST) From: "Costin Leau (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (GRFT-39) Dont use File file = new File() for reading file, use InputStream In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GRFT-39?page=all ] Costin Leau updated GRFT-39: ---------------------------- Attachment: DisgesterDescriptorReader.patch > Dont use File file = new File() for reading file, use InputStream > ----------------------------------------------------------------- > > Key: GRFT-39 > URL: http://issues.apache.org/jira/browse/GRFT-39 > Project: Graffito > Type: Bug > Components: JCR-Mapping > Versions: 1.0-a1-dev > Reporter: Martin Koci > Priority: Minor > Attachments: DisgesterDescriptorReader.patch, DisgesterMapperImpl.patch > > See http://www.javaworld.com/javaworld/javaqa/2003-08/01-qa-0808-property.html > File file = new File() dont work in jar. > I use Spring framework org.springframework.core.io.Resource abstraction - it works in jar, servlet, test ... everywhere. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Sun Oct 02 15:58:13 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 96755 invoked from network); 2 Oct 2005 15:58:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Oct 2005 15:58:13 -0000 Received: (qmail 71785 invoked by uid 500); 2 Oct 2005 15:58:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 71774 invoked by uid 99); 2 Oct 2005 15:58:12 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Oct 2005 08:58:12 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 8538EE1 for <[email protected]>; Sun, 2 Oct 2005 17:57:51 +0200 (CEST) Message-ID: <[email protected]> Date: Sun, 2 Oct 2005 17:57:51 +0200 (CEST) From: "Costin Leau (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (GRFT-39) Dont use File file = new File() for reading file, use InputStream In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GRFT-39?page=all ] Costin Leau updated GRFT-39: ---------------------------- Attachment: DisgesterMapperImpl.patch > Dont use File file = new File() for reading file, use InputStream > ----------------------------------------------------------------- > > Key: GRFT-39 > URL: http://issues.apache.org/jira/browse/GRFT-39 > Project: Graffito > Type: Bug > Components: JCR-Mapping > Versions: 1.0-a1-dev > Reporter: Martin Koci > Priority: Minor > Attachments: DisgesterDescriptorReader.patch, DisgesterMapperImpl.patch > > See http://www.javaworld.com/javaworld/javaqa/2003-08/01-qa-0808-property.html > File file = new File() dont work in jar. > I use Spring framework org.springframework.core.io.Resource abstraction - it works in jar, servlet, test ... everywhere. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Sun Oct 02 16:00:09 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97295 invoked from network); 2 Oct 2005 16:00:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Oct 2005 16:00:09 -0000 Received: (qmail 72746 invoked by uid 500); 2 Oct 2005 16:00:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 72734 invoked by uid 99); 2 Oct 2005 16:00:08 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Oct 2005 09:00:08 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id B2D95DF for <[email protected]>; Sun, 2 Oct 2005 17:59:47 +0200 (CEST) Message-ID: <[email protected]> Date: Sun, 2 Oct 2005 17:59:47 +0200 (CEST) From: "Costin Leau (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (GRFT-39) Dont use File file = new File() for reading file, use InputStream In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GRFT-39?page=comments#action_12331082 ] Costin Leau commented on GRFT-39: --------------------------------- check out upcoming the new jcr.mapping package from jcr-support in Spring Modules. It will be available next week on the CVS. > Dont use File file = new File() for reading file, use InputStream > ----------------------------------------------------------------- > > Key: GRFT-39 > URL: http://issues.apache.org/jira/browse/GRFT-39 > Project: Graffito > Type: Bug > Components: JCR-Mapping > Versions: 1.0-a1-dev > Reporter: Martin Koci > Priority: Minor > Attachments: DisgesterDescriptorReader.patch, DisgesterMapperImpl.patch > > See http://www.javaworld.com/javaworld/javaqa/2003-08/01-qa-0808-property.html > File file = new File() dont work in jar. > I use Spring framework org.springframework.core.io.Resource abstraction - it works in jar, servlet, test ... everywhere. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Sun Oct 02 16:06:10 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99144 invoked from network); 2 Oct 2005 16:06:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Oct 2005 16:06:10 -0000 Received: (qmail 74329 invoked by uid 500); 2 Oct 2005 16:06:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 74318 invoked by uid 99); 2 Oct 2005 16:06:09 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Oct 2005 09:06:08 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 8638DDF for <[email protected]>; Sun, 2 Oct 2005 18:05:47 +0200 (CEST) Message-ID: <[email protected]> Date: Sun, 2 Oct 2005 18:05:47 +0200 (CEST) From: "Costin Leau (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (GRFT-55) persistence manager signature changed Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N persistence manager signature changed ------------------------------------- Key: GRFT-55 URL: http://issues.apache.org/jira/browse/GRFT-55 Project: Graffito Type: Improvement Components: JCR-Mapping Versions: 1.0-a1-dev Reporter: Costin Leau Attachments: PersistenceManagerImpl.patch the patch removes the repository signature from the constructor. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Sun Oct 02 16:06:10 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99178 invoked from network); 2 Oct 2005 16:06:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Oct 2005 16:06:10 -0000 Received: (qmail 74423 invoked by uid 500); 2 Oct 2005 16:06:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 74371 invoked by uid 99); 2 Oct 2005 16:06:10 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Oct 2005 09:06:08 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 1A3E5E1 for <[email protected]>; Sun, 2 Oct 2005 18:05:48 +0200 (CEST) Message-ID: <[email protected]> Date: Sun, 2 Oct 2005 18:05:48 +0200 (CEST) From: "Costin Leau (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (GRFT-55) persistence manager signature changed In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GRFT-55?page=all ] Costin Leau updated GRFT-55: ---------------------------- Attachment: PersistenceManagerImpl.patch > persistence manager signature changed > ------------------------------------- > > Key: GRFT-55 > URL: http://issues.apache.org/jira/browse/GRFT-55 > Project: Graffito > Type: Improvement > Components: JCR-Mapping > Versions: 1.0-a1-dev > Reporter: Costin Leau > Attachments: PersistenceManagerImpl.patch > > the patch removes the repository signature from the constructor. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Sun Oct 02 16:07:11 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99343 invoked from network); 2 Oct 2005 16:07:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Oct 2005 16:07:11 -0000 Received: (qmail 74586 invoked by uid 500); 2 Oct 2005 16:07:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 74575 invoked by uid 99); 2 Oct 2005 16:07:11 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Oct 2005 09:07:11 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) Received: from [161.129.204.104] (HELO mail.beenzgrup.ro) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Oct 2005 09:07:15 -0700 Received: (qmail 1077 invoked from network); 2 Oct 2005 19:06:46 +0300 Received: from beenzgrup.ro (HELO localhost) (161.129.204.104) by beenzgrup.ro with SMTP; 2 Oct 2005 19:06:46 +0300 Date: Sun, 2 Oct 2005 19:06:51 +0300 From: Costin Leau <[email protected]> X-Mailer: The Bat! (v3.60.07) Professional Reply-To: Costin <[email protected]> X-Priority: 3 (Normal) Message-ID: <[email protected]> To: [email protected] Subject: jcr-mapping updates MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello. Taken Chrisophe advice I uploaded on JIRA the patches. I have added support for InputStreams in Descriptor implementation (the string for files are still supported but I think they should be dropped as no 1.0 version was released). The mapper and repository have been removed from the Persistence manager since they are not used (the mapper is simply a delegate object). There is also a redundancy in the project interfaces - the Mapper interface implements getClassDescritor(java.lang.Class) with returns a ClassDescriptor while MappingDescriptor implements getClassDescritor(java.lang.String) and returns the same thing. The Mapper implementations all delegate to MappingDescriptor which make this interface useless pretty much. Moreover having the mapper around after the mapping descriptor created only consumes resources as it can't be GC because it is referenced in the persistence manager & converters. The Mapper interface should contain rather a getMappingDescriptor() method. -- Best regards, Costin mailto:[email protected] From [email protected] Sun Oct 02 19:51:20 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 55566 invoked from network); 2 Oct 2005 19:51:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Oct 2005 19:51:20 -0000 Received: (qmail 90278 invoked by uid 500); 2 Oct 2005 19:51:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 90267 invoked by uid 99); 2 Oct 2005 19:51:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Oct 2005 12:51:19 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Oct 2005 12:51:23 -0700 Received: by nproxy.gmail.com with SMTP id l37so75216nfc for <[email protected]>; Sun, 02 Oct 2005 12:50:56 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=mKXeeuAmvOCiSRB4+RU+Iq3II/+M7M8a5KgsNfbsNgbFb08H7X+xH1iCzc/ROTXBY8OfvNbayjREnyTWDGyDvGrv4/uLBeF79gb5zS7fPoUkh84XsRDp6cad8pK3TfbkJRWU0R6UoR5s6AuMfYNuqC9vkiEJi7Sm3JHLe95jfbA= Received: by 161.129.204.104 with SMTP id 12mr180002nfc; Sun, 02 Oct 2005 12:50:56 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sun, 2 Oct 2005 12:50:56 -0700 (PDT) Message-ID: <[email protected]> Date: Sun, 2 Oct 2005 21:50:56 +0200 From: Christophe Lombart <[email protected]> Reply-To: Christophe Lombart <[email protected]> To: [email protected] Subject: [JCR-Mapping] AtomicTypeConverterFactory MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi all, I would like to drop the AtomicTypeConverterFactory and replace it by an "injection" of a Converter Map into the PersistenceManager. Factory are not useful in a IOC context. What do you think about that ? Christophe From [email protected] Mon Oct 03 08:15:18 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54911 invoked from network); 3 Oct 2005 08:15:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Oct 2005 08:15:18 -0000 Received: (qmail 24012 invoked by uid 500); 3 Oct 2005 08:15:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23996 invoked by uid 99); 3 Oct 2005 08:15:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2005 01:15:17 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) Received: from [161.129.204.104] (HELO mail.beenzgrup.ro) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2005 01:15:21 -0700 Received: (qmail 4679 invoked from network); 3 Oct 2005 11:14:53 +0300 Received: from beenzgrup.ro (HELO localhost) (161.129.204.104) by beenzgrup.ro with SMTP; 3 Oct 2005 11:14:53 +0300 Date: Mon, 3 Oct 2005 11:14:59 +0300 From: Costin Leau <[email protected]> X-Mailer: The Bat! (v3.60.07) Professional Reply-To: Costin <[email protected]> X-Priority: 3 (Normal) Message-ID: <[email protected]> To: [email protected] Subject: Re: [JCR-Mapping] AtomicTypeConverterFactory In-Reply-To: <[email protected]> References: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > Hi all, > I would like to drop the AtomicTypeConverterFactory and replace it by > an "injection" of a Converter Map into the PersistenceManager. Factory > are not useful in a IOC context. depending on the IoC framework capabilities the factory pattern can be used without a problem. > What do you think about that ? Considering that the project has not had any public release (actually it's [email protected]) I think the change poses no problems. -- Best regards, Costin mailto:[email protected] From [email protected] Mon Oct 03 08:59:43 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65976 invoked from network); 3 Oct 2005 08:59:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Oct 2005 08:59:42 -0000 Received: (qmail 51196 invoked by uid 500); 3 Oct 2005 08:59:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 51184 invoked by uid 99); 3 Oct 2005 08:59:42 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2005 01:59:42 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) Received: from [161.129.204.104] (HELO mail.beenzgrup.ro) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2005 01:59:47 -0700 Received: (qmail 4865 invoked from network); 3 Oct 2005 11:59:19 +0300 Received: from beenzgrup.ro (HELO localhost) (161.129.204.104) by beenzgrup.ro with SMTP; 3 Oct 2005 11:59:19 +0300 Date: Mon, 3 Oct 2005 11:59:25 +0300 From: Costin Leau <[email protected]> X-Mailer: The Bat! (v3.60.07) Professional Reply-To: Costin <[email protected]> X-Priority: 3 (Normal) Message-ID: <[email protected]> To: [email protected] Subject: [jcr-mapping] exceptions MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello, another remark on the exceptions from jcr-mapping project. Why isn't there a base exception and why java.lang.Exception is extended instead of the javax.jcr.RepositoryException? As the jcr-mapping is based on a JCR implementation it should extend the JCR exception hierarchy. Right now the code executing with jcr-mapping has to do a: try { .. some code } catch (RepositoryException re) { // from work on the repository } catch (JcrMappingException jme) { // from mapping code } -- Best regards, Costin mailto:[email protected] From [email protected] Mon Oct 03 09:35:53 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74840 invoked from network); 3 Oct 2005 09:35:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Oct 2005 09:35:52 -0000 Received: (qmail 70229 invoked by uid 500); 3 Oct 2005 09:35:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 70218 invoked by uid 99); 3 Oct 2005 09:35:50 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2005 02:35:50 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2005 02:35:54 -0700 Received: by nproxy.gmail.com with SMTP id l37so105525nfc for <[email protected]>; Mon, 03 Oct 2005 02:35:27 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=O2VQ8c2aIoS83jWpRPnks83ApjiAQU2b4YFsi8sMr6SMLsVB8KmBrW6WR22yQJxw8lZmilJuhkMMr9IKbwV6BaIVpy4vDzAJZX0q7/4GG2FXRrqnrxugl+UV5pi2ndkWFEmlleJDAhNPTyHBEu43NeYae2wzyfn68G3J1Q/a9C8= Received: by 161.129.204.104 with SMTP id y17mr201070nfg; Mon, 03 Oct 2005 02:35:27 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 3 Oct 2005 02:35:27 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 3 Oct 2005 11:35:27 +0200 From: Christophe Lombart <[email protected]> Reply-To: Christophe Lombart <[email protected]> To: [email protected], Costin <[email protected]> Subject: Re: [jcr-mapping] exceptions In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 10/3/05, Costin Leau <[email protected]> wrote: > Hello, > > another remark on the exceptions from jcr-mapping project. Why isn't > there a base exception Yes there is one : JcrMappingException but we have not yet defined the exception hierarchy. I would like to minize the number of exception. and why java.lang.Exception is extended instead > of the javax.jcr.RepositoryException? It is a good suggestion > As the jcr-mapping is based on a JCR implementation it should extend > the JCR exception hierarchy. Right now the code executing with > jcr-mapping has to do a: > > try > { > .. some code > } catch (RepositoryException re) > { > // from work on the repository > } catch (JcrMappingException jme) > { > // from mapping code > } > Well, the code is still under dev and maybe we have to review the exception management but why the following code is not correct ? try { some code } catch (Exception e) { throw new JcrMappingException("exception message" , e); } From [email protected] Mon Oct 03 09:37:43 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 75252 invoked from network); 3 Oct 2005 09:37:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Oct 2005 09:37:43 -0000 Received: (qmail 74005 invoked by uid 500); 3 Oct 2005 09:37:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 73994 invoked by uid 99); 3 Oct 2005 09:37:42 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2005 02:37:42 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2005 02:37:47 -0700 Received: by nproxy.gmail.com with SMTP id l37so105721nfc for <[email protected]>; Mon, 03 Oct 2005 02:37:20 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JqupLeqL5qc66OXOa0chAI6qT9endqfL4uv1G41rW7Jp/5FZ3hQmg2++bjtk7V/r1bDjV6GtMl3TMqVv2F+OZ7BzRbINZAGf1gVJ+WelJc/LNNDSfxT6AggJY1LCuCaJ9VQS/13IBn59r/YHon99NfZ6Mb4RtNmpN7roH8RAGXo= Received: by 161.129.204.104 with SMTP id d15mr18352nfi; Mon, 03 Oct 2005 02:37:20 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 3 Oct 2005 02:37:20 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 3 Oct 2005 11:37:20 +0200 From: Christophe Lombart <[email protected]> Reply-To: Christophe Lombart <[email protected]> To: [email protected], Costin <[email protected]> Subject: Re: [JCR-Mapping] AtomicTypeConverterFactory In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 10/3/05, Costin Leau <[email protected]> wrote: > > Hi all, > > > I would like to drop the AtomicTypeConverterFactory and replace it by > > an "injection" of a Converter Map into the PersistenceManager. Factory > > are not useful in a IOC context. > depending on the IoC framework capabilities the factory pattern can be > used without a problem. > yes but injection can replace factory pattern in a lot case. This is just one question for our common desing pattern usage. > > What do you think about that ? > Considering that the project has not had any public release (actually > it's [email protected]) I think the change poses no problems. > > > -- > Best regards, > Costin mailto:[email protected] > > From [email protected] Mon Oct 03 09:49:34 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78364 invoked from network); 3 Oct 2005 09:49:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Oct 2005 09:49:34 -0000 Received: (qmail 80747 invoked by uid 500); 3 Oct 2005 09:49:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 80734 invoked by uid 99); 3 Oct 2005 09:49:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2005 02:49:33 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) Received: from [161.129.204.104] (HELO mail.beenzgrup.ro) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2005 02:49:38 -0700 Received: (qmail 6934 invoked from network); 3 Oct 2005 12:49:11 +0300 Received: from beenzgrup.ro (HELO localhost) (161.129.204.104) by beenzgrup.ro with SMTP; 3 Oct 2005 12:49:11 +0300 Date: Mon, 3 Oct 2005 12:49:17 +0300 From: Costin Leau <[email protected]> X-Mailer: The Bat! (v3.60.07) Professional Reply-To: Costin <[email protected]> X-Priority: 3 (Normal) Message-ID: <[email protected]> To: Christophe Lombart <[email protected]> CC: [email protected] Subject: Re[2]: [jcr-mapping] exceptions In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello Christophe, > try > { > some code > } > catch (Exception e) > { > throw new JcrMappingException("exception message" , e); > } It is correct but it's just a wrapper around the exceptions - plus it is way to general - it catches all the exceptions including user defined for example. And as I've said it forces the developer to do another catch block and even extract the actual exception because it most cases (like the one above) the JcrMappingException is just eating the initial exception. JcrMappingException should have a value by itself - have exception that actually belogn to the jcr-mapping functionality not be a transporter for other exceptions. -- Best regards, Costin mailto:[email protected] From [email protected] Mon Oct 03 19:22:12 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 39404 invoked from network); 3 Oct 2005 19:22:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Oct 2005 19:22:11 -0000 Received: (qmail 81968 invoked by uid 500); 3 Oct 2005 19:22:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 81957 invoked by uid 99); 3 Oct 2005 19:22:10 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2005 12:22:09 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 6E917DF for <[email protected]>; Mon, 3 Oct 2005 21:21:48 +0200 (CEST) Message-ID: <[email protected]> Date: Mon, 3 Oct 2005 21:21:48 +0200 (CEST) From: "Christophe Lombart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (GRFT-39) Dont use File file = new File() for reading file, use InputStream In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GRFT-39?page=all ] Christophe Lombart closed GRFT-39: ---------------------------------- Fix Version: 1.0-a1-dev Resolution: Fixed Apply patch provided by Costin > Dont use File file = new File() for reading file, use InputStream > ----------------------------------------------------------------- > > Key: GRFT-39 > URL: http://issues.apache.org/jira/browse/GRFT-39 > Project: Graffito > Type: Bug > Components: JCR-Mapping > Versions: 1.0-a1-dev > Reporter: Martin Koci > Priority: Minor > Fix For: 1.0-a1-dev > Attachments: DisgesterDescriptorReader.patch, DisgesterMapperImpl.patch > > See http://www.javaworld.com/javaworld/javaqa/2003-08/01-qa-0808-property.html > File file = new File() dont work in jar. > I use Spring framework org.springframework.core.io.Resource abstraction - it works in jar, servlet, test ... everywhere. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Mon Oct 03 19:24:12 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45941 invoked from network); 3 Oct 2005 19:24:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Oct 2005 19:24:11 -0000 Received: (qmail 83956 invoked by uid 500); 3 Oct 2005 19:24:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 83945 invoked by uid 99); 3 Oct 2005 19:24:11 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2005 12:24:10 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 2177FDF for <[email protected]>; Mon, 3 Oct 2005 21:23:49 +0200 (CEST) Message-ID: <[email protected]> Date: Mon, 3 Oct 2005 21:23:49 +0200 (CEST) From: "Christophe Lombart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (GRFT-55) persistence manager signature changed In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GRFT-55?page=all ] Christophe Lombart closed GRFT-55: ---------------------------------- Fix Version: 1.0-a1-dev Resolution: Fixed Apply patch provided by Costin > persistence manager signature changed > ------------------------------------- > > Key: GRFT-55 > URL: http://issues.apache.org/jira/browse/GRFT-55 > Project: Graffito > Type: Improvement > Components: JCR-Mapping > Versions: 1.0-a1-dev > Reporter: Costin Leau > Fix For: 1.0-a1-dev > Attachments: PersistenceManagerImpl.patch > > the patch removes the repository signature from the constructor. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Tue Oct 04 08:30:01 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78495 invoked from network); 4 Oct 2005 08:30:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Oct 2005 08:30:01 -0000 Received: (qmail 1558 invoked by uid 500); 4 Oct 2005 08:30:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 1547 invoked by uid 99); 4 Oct 2005 08:30:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2005 01:30:00 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) Received: from [161.129.204.104] (HELO mail.beenzgrup.ro) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2005 01:30:04 -0700 Received: (qmail 22492 invoked from network); 4 Oct 2005 11:29:24 +0300 Received: from beenzsoftware.ro (HELO localhost) (161.129.204.104) by beenzsoftware.ro with SMTP; 4 Oct 2005 11:29:24 +0300 Date: Tue, 4 Oct 2005 11:29:25 +0300 From: Costin Leau <[email protected]> X-Mailer: The Bat! (v3.60.07) Professional Reply-To: Costin <[email protected]> X-Priority: 3 (Normal) Message-ID: <[email protected]> To: [email protected] Subject: [jcr-mapping] PersistenceManager MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello, PersistenceManagerImplementation duplicates method from JCR session (item Exists and logout). Moreover this class which handles persistence and should be Repository bound is actually session-bound (one per session). Shouldn't the manager be one per Repository instead of one per session? Moreover I've seen there is no method for deleting an object but rather for removing a node which forces the developer to handle the mapping of the object in the JCR; there is no conversion being done at deleting time. -- Best regards, Costin mailto:[email protected] From [email protected] Tue Oct 04 09:12:07 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92574 invoked from network); 4 Oct 2005 09:12:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Oct 2005 09:12:07 -0000 Received: (qmail 41468 invoked by uid 500); 4 Oct 2005 09:12:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 41456 invoked by uid 99); 4 Oct 2005 09:12:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2005 02:12:06 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2005 02:12:10 -0700 Received: by nproxy.gmail.com with SMTP id l37so205599nfc for <[email protected]>; Tue, 04 Oct 2005 02:11:43 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hafmOnViWH0xdh3vJRNH46pTPAnogfNY14Z2SbqKyPJFePy5+li7vDEVeCEvX7RV3QZp66ieneH75PghRIaw35Aril39Lh3B8bOpsVGpAvNQxxChJ9yfS6oQwketftygdIcB0GYzVazK24kMpiQiSZXsB27285gZhCxXDsL3eMQ= Received: by 161.129.204.104 with SMTP id y17mr268346nfg; Tue, 04 Oct 2005 02:11:43 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 4 Oct 2005 02:11:43 -0700 (PDT) Message-ID: <[email protected]> Date: Tue, 4 Oct 2005 11:11:43 +0200 From: Christophe Lombart <[email protected]> Reply-To: Christophe Lombart <[email protected]> To: [email protected], Costin <[email protected]> Subject: Re: [jcr-mapping] PersistenceManager In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Costin, Here is my comments : On 10/4/05, Costin Leau <[email protected]> wrote: > Hello, > > PersistenceManagerImplementation duplicates method from JCR session > (item Exists and logout). How to check if an object exists ? There is 2 possibilities (IMPO) : * Check on the node path (/mypath/mynode) * Manage a unique id/object. Currently, the framework is using the first one. Is it necessary to use unique ID in a content repo context. I think the path is a good candidate to check if the object exist or not. Anyway, I'm agree to support both and/or see other alternatives. >Moreover this class which handles > persistence and should be Repository bound is actually session-bound > (one per session). > Shouldn't the manager be one per Repository instead of one per > session? Maybe the interface name is not correct (PersistenceManager) but this class is bound to a session. How to retrieve, update, delete object (and its underlaying nodes/prop) without a session object ? Logout method seems to be also important if it is bound to a JCR session. > Moreover I've seen there is no method for deleting an object but > rather for removing a node which forces the developer to handle the mapp= ing > of the object in the JCR; there is no conversion being done at > deleting time. Same as exist : either we delete a object with a path or an ID. Certainly, we can find a easy solution to specify an ID but is it not more interesting to use the object path ? Best regards, Christophe From [email protected] Tue Oct 04 09:39:22 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 878 invoked from network); 4 Oct 2005 09:39:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Oct 2005 09:39:22 -0000 Received: (qmail 69529 invoked by uid 500); 4 Oct 2005 09:39:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 69518 invoked by uid 99); 4 Oct 2005 09:39:21 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2005 02:39:21 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) Received: from [161.129.204.104] (HELO mail.beenzgrup.ro) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2005 02:39:26 -0700 Received: (qmail 23186 invoked from network); 4 Oct 2005 12:38:58 +0300 Received: from beenzsoftware.ro (HELO localhost) (161.129.204.104) by beenzsoftware.ro with SMTP; 4 Oct 2005 12:38:58 +0300 Date: Tue, 4 Oct 2005 12:38:58 +0300 From: Costin Leau <[email protected]> X-Mailer: The Bat! (v3.60.07) Professional Reply-To: Costin <[email protected]> X-Priority: 3 (Normal) Message-ID: <[email protected]> To: Christophe Lombart <[email protected]> CC: [email protected] Subject: Re[2]: [jcr-mapping] PersistenceManager In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello Christophe, > On 10/4/05, Costin Leau <[email protected]> wrote: >> Hello, >> >> PersistenceManagerImplementation duplicates method from JCR session >> (item Exists and logout). > How to check if an object exists ? > There is 2 possibilities (IMPO) : > * Check on the node path (/mypath/mynode) > * Manage a unique id/object. I'm not talking about how to check if an item exists but rather about what this method does on the PersistenceManager interface. What value does it adds - it's a duplicate of session, same signature but with a different exception. Why not remove the whole method ?; the code internally uses the session anyways. From=20PersistenceManager one would expect a method like exists(Object, String) - a method that check that an object is mapped correctly inside the repository. > Currently, the framework is using the first one. Is it necessary to > use unique ID in a content repo context. I think the path is a good > candidate to check if the object exist or not. Anyway, I'm agree to > support both and/or see other alternatives. The check is made for the existence of an item not an object; there is no mapping just code duplicate. >>Moreover this class which handles >> persistence and should be Repository bound is actually session-bound >> (one per session). >> Shouldn't the manager be one per Repository instead of one per >> session? > Maybe the interface name is not correct (PersistenceManager) but this > class is bound to a session. How to retrieve, update, delete object > (and its underlaying nodes/prop) without a session object ? Logout > method seems to be also important if it is bound to a JCR session. The manager can get sessions from the repository using the login() method. Right now the interface handles not only the persistence but also session management. One one hand it requies a session to be given but it can logout/close the session - what's the use, again? It's just another method exactly replicated from the session with a different signature. How does it help the mapping? >> Moreover I've seen there is no method for deleting an object but >> rather for removing a node which forces the developer to handle the map= ping >> of the object in the JCR; there is no conversion being done at >> deleting time. > Same as exist : either we delete a object with a path or an ID. The actual implementation as I see removes the whole tree - there is no mapping. I should give an object for removal AND a path, not just a path - I want the mapping of the object to be removed not the whole tree otherwise I would do that manually on the session. --=20 Best regards, Costin mailto:[email protected] From [email protected] Tue Oct 04 10:41:08 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29797 invoked from network); 4 Oct 2005 10:41:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Oct 2005 10:41:08 -0000 Received: (qmail 55666 invoked by uid 500); 4 Oct 2005 10:41:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 55655 invoked by uid 99); 4 Oct 2005 10:41:07 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2005 03:41:07 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2005 03:41:11 -0700 Received: by nproxy.gmail.com with SMTP id l37so216664nfc for <[email protected]>; Tue, 04 Oct 2005 03:40:44 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=WBt4YeCGQ+C1eVQQmJhDvdYJOeNXFqTabAkBaj4l7eu1ZL8qPqOH8nnQjx3WSdSN0dVBozD5SfpuJJfy9KXK3NRmTKLIy3qKsfrd5gZEMs0yNi9TeIksl9JYFVTquvrj+td9wKzIW1pYJRl0bEuNkiYpGvkKj00Sw6TA9Iug+vM= Received: by 161.129.204.104 with SMTP id i3mr93182nfh; Tue, 04 Oct 2005 03:40:44 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 4 Oct 2005 03:40:44 -0700 (PDT) Message-ID: <[email protected]> Date: Tue, 4 Oct 2005 12:40:44 +0200 From: Christophe Lombart <[email protected]> Reply-To: Christophe Lombart <[email protected]> To: [email protected] Subject: Fwd: Re[4]: [jcr-mapping] PersistenceManager In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Ooops, By error, I reply only to Costin, here his reply in order to continue our discussion on the Graffito mailing list. I will reply ASAP. Sorry Christophe On 10/4/05, Costin Leau <[email protected]> wrote: > Hello Christophe, > > >> From PersistenceManager one would expect a method like > >> exists(Object, String) - a method that check that an object is mapped > >> correctly inside the repository. > >> > > I think both methods are usefull : > > exist(path) > > exist(Object, path) > > > >> The check is made for the existence of an item not an object; there is= no > >> mapping just code duplicate. > >> > > > It is not really code duplicate, it is a way to redirect to the > > internal session object. > Considering that the session is actually used and there is no > mapping/persistence involved I see no new functionality here. > > > The session object should be private. If the persisenteManager is > > bound to a Session, this method seems to me usefull. > Okay but then it should be private or protected not public AND on an > interface. Why should the implementations be force to redirect this to > the session? > > >> Right now the interface handles not only the persistence but > >> also session management. One one hand it requies a session to be given > >> but it can logout/close the session - what's the use, again? > >> It's just another method exactly replicated from the session with a > >> different signature. How does it help the mapping? > >> > > Again, for me, the persistenceManager is bound to a session. Following > > the JCR session, you have some method to logout, check if a node > > exist, ... > > > If you drop the logout method, how to log out :-) ? > As I've said, considering that the developer has to open a session in > order to create the persistence manager it has a reference so he/she can > manually logoff. Session management is not the persistence manager > concern. > > >> The actual implementation as I see removes the whole tree - there is > >> no mapping. I should give an object for removal AND a path, not just a > >> path - I want the mapping of the object to be removed not the whole > >> tree otherwise I would do that manually on the session. > >> > > > Removing a subtree is an interesting process. I would like to > > encapsulate some usefull JCR session methods because the > > PersistenceManager is bound to one session. > > Anyway, your suggestions are very good and I think we can add other > > methods like : > > * exist(object, path) > > * remove(object, path) > > > If you think that we are not on the same way, can you send me your > > interface proposal. That will help me to understand your ideas in more > > details. I'm wondering how you manage your session in a such > > situation. > You mentioned something about OJB or Hibernate in the proposal. Take a > look at the Session interface (org.hibernate.Session) and trim it > down. > A simple interface would be: > add(Object) > remove(Object); > update(Object); > exists(Object); > > Note I did not mention any path as this can be already present in the > XML mapping. If these basics are supported the path can be easily > added later. > > What session management are you talking about? I'm surprised to see > interfaces which have no mapping functionality but rather duplicate > Session methods/signatures. > Are you using the current mapping implementation per-se? > Try to do an insert and remove - a simple UC. > The current interface doesn't allow this and we are talking > about basic operations not collection findings, proxies or caching. > It's ... wierd to see discussion about 2nd level cache when basic > INSERT/UPDATE/DELETE methods do not exist even as signatures. > > P.S. Why did you stop using the mailing list? > -- > Best regards, > Costin mailto:[email protected] > > From [email protected] Tue Oct 04 11:08:32 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45898 invoked from network); 4 Oct 2005 11:08:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Oct 2005 11:08:31 -0000 Received: (qmail 83508 invoked by uid 500); 4 Oct 2005 11:08:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 83497 invoked by uid 99); 4 Oct 2005 11:08:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2005 04:08:31 -0700 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=HTML_10_20,HTML_MESSAGE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2005 04:08:35 -0700 Received: by nproxy.gmail.com with SMTP id l37so220088nfc for <[email protected]>; Tue, 04 Oct 2005 04:08:08 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=H6nmOI/4USjWbKLqM74wlSjRn+PtmUMM4cbt8xeoazBNGh78y1w/kNyoYcTxKZSfXbRWHGGZ44igX1QvAU3n/xlwDoNCHsbfor7uegvEnF6gCA4AYiz3roTcH+HasRqsO0MlequFuvGsLanPX4GA+m3qBexvRaGsz8W9NtZR7Yo= Received: by 161.129.204.104 with SMTP id i15mr95512nfh; Tue, 04 Oct 2005 04:08:08 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 4 Oct 2005 04:08:08 -0700 (PDT) Message-ID: <[email protected]> Date: Tue, 4 Oct 2005 13:08:08 +0200 From: Christophe Lombart <[email protected]> Reply-To: Christophe Lombart <[email protected]> To: [email protected] Subject: Re: [jcr-mapping] PersistenceManager In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5973_12946701.1128424088295" References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_5973_12946701.1128424088295 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 10/4/05, Costin Leau <[email protected]> wrote: >As I've said, considering that the developer has to open a session in >order to create the persistence manager it has a reference so he/she can >manually logoff. Session management is not the persistence manager >concern. Ok ! Now I understand you :-). The current code was build to make a prototype and discovering the JCR spec and now it is time to review all thinks. We have 2 possibitities : * Use distinct components : PersistenceManager and a JCR session object. In this case, we can forget all methods like exist, logout, ... in the PersistenceManager * Use only the PersistenceManager which encapsulate the JCR session. but in this case, we have to build a component manager/factory or other thinks which can initialise the PersistenceManager correctly. Is is a good summary of our discussion ? What do you like solution 1 or 2 ? >You mentioned something about OJB or Hibernate in the proposal. Take a >look at the Session interface (org.hibernate.Session) and trim it >down. >A simple interface would be: >add(Object) >remove(Object); >update(Object); >exists(Object); >Note I did not mention any path as this can be already present in the >XML mapping. If these basics are supported the path can be easily >added later. So, you force to have in each object, the attribute "path" - Correct ? >Try to do an insert and remove - a simple UC. >The current interface doesn't allow this and we are talking >about basic operations not collection findings, proxies or caching. >It's ... wierd to see discussion about 2nd level cache when basic >INSERT/UPDATE/DELETE methods do not exist even as signatures. Yep, some refactoring is needed there. Again, the code was used to build a prootype and now it is time to review all think. Christophe ------=_Part_5973_12946701.1128424088295-- From [email protected] Tue Oct 04 11:31:41 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59780 invoked from network); 4 Oct 2005 11:31:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Oct 2005 11:31:39 -0000 Received: (qmail 14745 invoked by uid 500); 4 Oct 2005 11:31:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 14728 invoked by uid 99); 4 Oct 2005 11:31:36 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2005 04:31:36 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) Received: from [161.129.204.104] (HELO mail.beenzgrup.ro) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2005 04:31:40 -0700 Received: (qmail 25167 invoked from network); 4 Oct 2005 14:31:13 +0300 Received: from beenzsoftware.ro (HELO localhost) (161.129.204.104) by beenzsoftware.ro with SMTP; 4 Oct 2005 14:31:13 +0300 Date: Tue, 4 Oct 2005 14:31:13 +0300 From: Costin Leau <[email protected]> X-Mailer: The Bat! (v3.60.07) Professional Reply-To: Costin <[email protected]> X-Priority: 3 (Normal) Message-ID: <[email protected]> To: Christophe Lombart <[email protected]> Subject: Re[2]: [jcr-mapping] PersistenceManager In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello Christophe, > Ok ! Now I understand you :-). The current code was build to make a > prototype and discovering the JCR spec and now it is time to review all > thinks. > We have 2 possibitities : > * Use distinct components : PersistenceManager and a JCR session object. In > this case, we can forget all methods like exist, logout, ... in the > PersistenceManager > * Use only the PersistenceManager which encapsulate the JCR session. but in > this case, we have to build a component manager/factory or other thinks > which can initialise the PersistenceManager correctly. > Is is a good summary of our discussion ? What do you like solution 1 or 2 ? There are other possibilities: 1. The Persistence Manager is configured per Repository and can retrieve the session by itself. 2. It's a variation of the first solution. The Manager contains only persistence related methods but is still session-bound (it requires a session). PersistenceManager dependencies however are initialized by the manager itself - for example right now the developer has to take care of converters and query manager even though this is not his concern but actually the PersistenceManager; the internals have been externalized. >>You mentioned something about OJB or Hibernate in the proposal. Take a >>look at the Session interface (org.hibernate.Session) and trim it >>down. >>A simple interface would be: >>add(Object) >>remove(Object); >>update(Object); >>exists(Object); >>Note I did not mention any path as this can be already present in the >>XML mapping. If these basics are supported the path can be easily >>added later. > So, you force to have in each object, the attribute "path" - Correct ? It's just an idea to make a prototype at the beginning and then generalize, not the other way around. And yes, the mapping has to contain the path (the naming or if it's an attribute/property is not important). -- Best regards, Costin mailto:[email protected] From [email protected] Tue Oct 04 11:41:59 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64106 invoked from network); 4 Oct 2005 11:41:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Oct 2005 11:41:57 -0000 Received: (qmail 26388 invoked by uid 500); 4 Oct 2005 11:41:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 26365 invoked by uid 99); 4 Oct 2005 11:41:45 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2005 04:41:44 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) Received: from [161.129.204.104] (HELO mail.beenzgrup.ro) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2005 04:41:48 -0700 Received: (qmail 25255 invoked from network); 4 Oct 2005 14:41:21 +0300 Received: from beenzsoftware.ro (HELO localhost) (161.129.204.104) by beenzsoftware.ro with SMTP; 4 Oct 2005 14:41:21 +0300 Date: Tue, 4 Oct 2005 14:41:20 +0300 From: Costin Leau <[email protected]> X-Mailer: The Bat! (v3.60.07) Professional Reply-To: Costin <[email protected]> X-Priority: 3 (Normal) Message-ID: <[email protected]> To: [email protected] Subject: [jcr-mapping] converter design MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello again. I'd like to open another issue: the converters. 1. There is no Converter interface - this is one package where an interface is BADLY needed 2. AbstarctAtomicTypeConverter should be AbstractAtomicTypeConverter 3. getJavaXXX should be renamed to getXXX - the Java part is not needed 4. the methods on the AtomicConverter and the converter concept and plugability are contradictory. The atomic converter specifies through the getJavaTypes what classes it should be used for the getJcrValueFromJavaObject specifies that " The mapping framework ensures, that only objects of the types returned by getJavaTypes are forwarded to this method." This means in short that the converters can't be used for other types other then the ones they have been design for. For example if I want to use the Date converter on an object that has the same contract, even though I am register it manually it will not work. The converter should do the conversion and that's it - it's the framework job to do the rest especially if it forces the developer to supply the map of converters. Basically you have to write code in two parts to do the same thing. -- Best regards, Costin mailto:[email protected] From [email protected] Tue Oct 04 11:46:29 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65373 invoked from network); 4 Oct 2005 11:46:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Oct 2005 11:46:28 -0000 Received: (qmail 35718 invoked by uid 500); 4 Oct 2005 11:46:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 35706 invoked by uid 99); 4 Oct 2005 11:46:24 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2005 04:46:24 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=HTML_20_30,HTML_MESSAGE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2005 04:46:27 -0700 Received: by nproxy.gmail.com with SMTP id l37so224843nfc for <[email protected]>; Tue, 04 Oct 2005 04:45:59 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=tT8J6AMNs2pRvConrXBMiHy18aOOVF1Yr0NKC9n6eX92WplC9ak1iiDCN+3ZreH7KqiyyGaoRDWa3uz1jdFEm9kV9j7n+SQue2cH1GrNEAniFXUGfhpeBah4BcWpwliYmUY9Ih05/B0obzI4EikSNp3KZEnvDHgqUe6IW8MKH8k= Received: by 161.129.204.104 with SMTP id i15mr98576nfh; Tue, 04 Oct 2005 04:45:59 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 4 Oct 2005 04:45:59 -0700 (PDT) Message-ID: <[email protected]> Date: Tue, 4 Oct 2005 13:45:59 +0200 From: Christophe Lombart <[email protected]> Reply-To: Christophe Lombart <[email protected]> To: [email protected], Costin <[email protected]> Subject: Re: Re[2]: [jcr-mapping] PersistenceManager In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6776_10914034.1128426359687" References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_6776_10914034.1128426359687 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 10/4/05, Costin Leau <[email protected]> wrote: > > Hello Christophe, > > Ok ! Now I understand you :-). The current code was build to make a > > prototype and discovering the JCR spec and now it is time to review all > > thinks. > > We have 2 possibitities : > > * Use distinct components : PersistenceManager and a JCR session object= . > In > > this case, we can forget all methods like exist, logout, ... in the > > PersistenceManager > > * Use only the PersistenceManager which encapsulate the JCR session. bu= t > in > > this case, we have to build a component manager/factory or other thinks > > which can initialise the PersistenceManager correctly. > > > Is is a good summary of our discussion ? What do you like solution 1 or > 2 ? > There are other possibilities: > 1. The Persistence Manager is configured per Repository and can > retrieve the session by itself. > 2. It's a variation of the first solution. The Manager contains only > persistence related methods but is still session-bound (it requires a > session). PersistenceManager dependencies however are initialized by > the manager itself - for example right now the developer has to take > care of converters and query manager even though this is not his > concern but actually the PersistenceManager; the internals have been > externalized. What do you think if the persistence manager dependencies are initialised /injected by the Spring assembly script ? >>You mentioned something about OJB or Hibernate in the proposal. Take a > >>look at the Session interface (org.hibernate.Session) and trim it > >>down. > >>A simple interface would be: > >>add(Object) > >>remove(Object); > >>update(Object); > >>exists(Object); > >>Note I did not mention any path as this can be already present in the > >>XML mapping. If these basics are supported the path can be easily > >>added later. > > > So, you force to have in each object, the attribute "path" - Correct ? > It's just an idea to make a prototype at the beginning and then > generalize, not the other way around. And yes, the mapping has to > contain the path (the naming or if it's an attribute/property is not > important). Ok let do the prototype and we will see. ------=_Part_6776_10914034.1128426359687-- From [email protected] Tue Oct 04 13:47:33 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 23637 invoked from network); 4 Oct 2005 13:47:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Oct 2005 13:47:32 -0000 Received: (qmail 16909 invoked by uid 500); 4 Oct 2005 13:47:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 16897 invoked by uid 99); 4 Oct 2005 13:47:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2005 06:47:32 -0700 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_30_40,HTML_MESSAGE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2005 06:47:36 -0700 Received: by nproxy.gmail.com with SMTP id l37so239443nfc for <[email protected]>; Tue, 04 Oct 2005 06:47:06 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=JTYzEvhTaIBxFxyaG/MEyhS6eZcVOUbHAUH7o2BaNcG3EsljPzNd8hIXbDt94wMutUm+u4PRB6m1P9MjABIreJEAOruNqZUKZ5i2pefXE+kSpdDgeuEdulrmMiEy2cGXNdZe5+eZ6mPzA+U7p9rWKFw7FI/371L+jx1SoHp8USU= Received: by 161.129.204.104 with SMTP id m6mr291040nfh; Tue, 04 Oct 2005 06:47:06 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 4 Oct 2005 06:47:06 -0700 (PDT) Message-ID: <[email protected]> Date: Tue, 4 Oct 2005 15:47:06 +0200 From: Christophe Lombart <[email protected]> Reply-To: Christophe Lombart <[email protected]> To: [email protected], Costin <[email protected]> Subject: Re: [jcr-mapping] converter design In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_9935_1780784.1128433626723" References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_9935_1780784.1128433626723 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 10/4/05, Costin Leau <[email protected]> wrote: > > Hello again. > > I'd like to open another issue: the converters. > 1. There is no Converter interface - this is one package where an > interface is BADLY needed There 3 kind of converters : * ObjectConverter : convert a pojo object or bean fields * AtomicTypeConverter : convert simple types * CollectionConverter : a complete collection with different mapping style (there 2 implementation but you can defined your own) Some refactoring is required here. Only CollectionConverter is interface based (until now). 2. AbstarctAtomicTypeConverter should be AbstractAtomicTypeConverter ? 4. the methods on the AtomicConverter and the converter concept and > plugability are contradictory. The atomic converter specifies through > the getJavaTypes what classes it should be used for the > getJcrValueFromJavaObject specifies that " The mapping framework > ensures, that only objects of the types returned by getJavaTypes are > forwarded to this method." > This means in short that the converters can't be used for other types > other then the ones they have been design for. > For example if I want to use the Date converter on an object that has > the same contract, even though I am register it manually it will not > work. > The converter should do the conversion and that's it - it's the > framework job to do the rest especially if it forces the developer to > supply the map of converters. Basically you have to write code in two > parts to do the same thing. getJavaTypes can be dropped, it is not used now. I don't understand you, the converter makes conversions and that's all. Christophe ------=_Part_9935_1780784.1128433626723-- From [email protected] Tue Oct 04 14:08:43 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31863 invoked from network); 4 Oct 2005 14:08:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Oct 2005 14:08:40 -0000 Received: (qmail 53859 invoked by uid 500); 4 Oct 2005 14:08:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 53785 invoked by uid 99); 4 Oct 2005 14:08:24 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2005 07:08:24 -0700 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_60_70,HTML_MESSAGE,HTML_TITLE_EMPTY,SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) Received: from [161.129.204.104] (HELO mail.beenzgrup.ro) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2005 07:08:27 -0700 Received: (qmail 32266 invoked from network); 4 Oct 2005 17:07:59 +0300 Received: from beenzsoftware.ro (HELO localhost) (161.129.204.104) by beenzsoftware.ro with SMTP; 4 Oct 2005 17:07:59 +0300 Date: Tue, 4 Oct 2005 17:07:59 +0300 From: Costin Leau <[email protected]> X-Mailer: The Bat! (v3.60.07) Professional Reply-To: Costin <[email protected]> X-Priority: 3 (Normal) Message-ID: <[email protected]> To: [email protected] Subject: Re[2]: [jcr-mapping] converter design Resent-from: Costin Leau <[email protected]> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----------961242093765F20F" X-Virus-Checked: Checked by ClamAV on apache.org Resent-Message-Id: <[email protected]> Resent-Date: Tue, 4 Oct 2005 07:08:28 -0700 (PDT) X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------------961242093765F20F Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable =20 =20 Hello Christophe, =20 =20 Tuesday, October 4, 2005, 4:47:06 PM, you wrote: =20 =20 =20 > =20 =20 =20 =20 On 10/4/05,=A0Costin Leau=A0<[email protected]> wrote: =20 Hello again. =20 =20 I'd like to open another issue: the converters. =20 1. There is no Converter interface - this is one package where an =20 interface is BADLY needed =20 =20 =20 There 3 kind of converters :=A0 =20 * ObjectConverter : convert a pojo object or bean fields=A0 =20 * AtomicTypeConverter =A0: convert simple types =20 * CollectionConverter : a complete collection with different mapping style = (there 2 implementation but you can defined your own)=A0 =20 =20 Some refactoring is required here. Only CollectionConverter is interface ba= sed (until now).=A0 =20 =20 =20 =20 2. AbstarctAtomicTypeConverter should be AbstractAtomicTypeConverter =20 =20 =20 absTARCT should be absTRACT. =20 =20 =20 =20 =20 ?=A0 =20 =A0 =20 =20 =20 4. the methods on the AtomicConverter and the converter concept and =20 plugability are contradictory. The atomic converter specifies through =20 the getJavaTypes what classes it should be used for the =20 getJcrValueFromJavaObject specifies that " The mapping framework=A0 =20 ensures, that only objects of the types returned by getJavaTypes are =20 forwarded to this method." =20 This means in short that the converters can't be used for other types =20 other then the ones they have been design for.=A0 =20 For example if I want to use the Date converter on an object that has =20 the same contract, even though I am register it manually it will not =20 work.=A0 =20 The converter should do the conversion and that's it - it's the =20 framework job to do the rest especially if it forces the developer to =20 supply the map of converters. Basically you have to write code in two =20 parts to do the same thing.=A0 =20 =20 getJavaTypes can be dropped, it is not used now. =20 I don't understand you, the converter makes conversions and that's all.=A0 =20 =20 Yes but the java types method add extra functionality like I said and you a= lso should not be=A0 =20 the converter problem. =20 =20 =20 =20 =20 Christophe =20 =A0 =20 =20 =20 =20 =20 =20 --=A0 =20 Best regards, =20 =A0Costin =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0mailto:cos= [email protected] =20 =20 ------------961242093765F20F-- From [email protected] Tue Oct 04 22:29:07 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2820 invoked from network); 4 Oct 2005 22:29:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Oct 2005 22:29:07 -0000 Received: (qmail 69137 invoked by uid 500); 4 Oct 2005 22:28:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 69068 invoked by uid 99); 4 Oct 2005 22:28:56 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2005 15:28:56 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO mx.scriptall.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2005 15:28:58 -0700 Received: (qmail 30678 invoked by uid 512); 4 Oct 2005 18:28:44 -0400 Received: from [email protected] by edison by uid 509 with qmail-scanner-1.22-st-qms (clamdscan: 0.75. spamassassin: 2.63. Clear:RC:1(161.129.204.104):. Processed in 0.033155 secs); 04 Oct 2005 22:28:44 -0000 X-Antivirus-MYDOMAIN-Mail-From: [email protected] via edison X-Antivirus-MYDOMAIN: 1.22-st-qms (Clear:RC:1(161.129.204.104):. Processed in 0.033155 secs Process 30674) Received: from h-64-105-95-98.snvacaid.covad.net (HELO [161.129.204.104]) ([email protected]@161.129.204.104) by mx.scriptall.com with SMTP; Tue, 04 Oct 2005 18:28:44 -0400 Message-ID: <[email protected]> Date: Tue, 04 Oct 2005 15:26:27 -0700 From: David Sean Taylor <[email protected]> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Link References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Christophe, In the older versions of Graffito/JCMS that I am (still (sigh)) using, links exist in folders. I can't see how thats modeled in the SVN head. Folders have contents and folders have more folders. Im proposing folders having links, and either: Link extend Content instead of CmsObject -- or -- add method to Folder getLinks() Thanks, David From [email protected] Wed Oct 05 08:32:22 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56804 invoked from network); 5 Oct 2005 08:32:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Oct 2005 08:32:21 -0000 Received: (qmail 23599 invoked by uid 500); 5 Oct 2005 08:32:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23463 invoked by uid 99); 5 Oct 2005 08:32:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Oct 2005 01:32:17 -0700 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_40_50,HTML_MESSAGE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Oct 2005 01:32:22 -0700 Received: by nproxy.gmail.com with SMTP id l37so27918nfc for <[email protected]>; Wed, 05 Oct 2005 01:31:55 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=peYL/a9EHR1aKBh5za7KB6tv0ECmNqHfbeEDXgUT9+BlvKYsxgjlunDSgLaaUq8Wfa+4L1cECb0lMkN0gPkTA+5WT1Z2TQ854ltGBAcnlemItTC5puwAh2G0PTtdiUSef+e20jEbKSiEKi6Vdku0qtcy1QAH39ZWrQrCdxssmoo= Received: by 161.129.204.104 with SMTP id y10mr19030nfg; Wed, 05 Oct 2005 01:31:55 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Wed, 5 Oct 2005 01:31:55 -0700 (PDT) Message-ID: <[email protected]> Date: Wed, 5 Oct 2005 10:31:55 +0200 From: Christophe Lombart <[email protected]> Reply-To: Christophe Lombart <[email protected]> To: [email protected] Subject: Re: Link In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_21095_5673841.1128501115413" References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_21095_5673841.1128501115413 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline David, Here is the model : http://incubator.apache.org/graffito/class-diagrams.htm= l Link extends CmsObject by this way, you can create links on folder, content= , ... The contentModelService manages links. Christophe On 10/5/05, David Sean Taylor <[email protected]> wrote: > > Hi Christophe, > > In the older versions of Graffito/JCMS that I am (still (sigh)) using, > links exist in folders. I can't see how thats modeled in the SVN head. > > Folders have contents and folders have more folders. > Im proposing folders having links, and either: > > Link extend Content instead of CmsObject > > -- or -- > > add method to Folder > > getLinks() > > Thanks, > > David > > ------=_Part_21095_5673841.1128501115413-- From [email protected] Wed Oct 05 21:16:24 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3917 invoked from network); 5 Oct 2005 21:16:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Oct 2005 21:16:23 -0000 Received: (qmail 76109 invoked by uid 500); 5 Oct 2005 21:16:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 76097 invoked by uid 99); 5 Oct 2005 21:16:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Oct 2005 14:16:22 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO mx.scriptall.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Oct 2005 14:16:26 -0700 Received: (qmail 11515 invoked by uid 512); 5 Oct 2005 17:16:11 -0400 Received: from [email protected] by edison by uid 509 with qmail-scanner-1.22-st-qms (clamdscan: 0.75. spamassassin: 2.63. Clear:RC:1(161.129.204.104):. Processed in 0.041996 secs); 05 Oct 2005 21:16:11 -0000 X-Antivirus-MYDOMAIN-Mail-From: [email protected] via edison X-Antivirus-MYDOMAIN: 1.22-st-qms (Clear:RC:1(161.129.204.104):. Processed in 0.041996 secs Process 11511) Received: from h-64-105-95-98.snvacaid.covad.net (HELO [161.129.204.104]) ([email protected]@161.129.204.104) by mx.scriptall.com with SMTP; Wed, 05 Oct 2005 17:16:11 -0400 Message-ID: <[email protected]> Date: Wed, 05 Oct 2005 14:13:55 -0700 From: David Sean Taylor <[email protected]> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: Link References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Christophe Lombart wrote: > David, > > Here is the model : http://incubator.apache.org/graffito/class-diagrams.html > Link extends CmsObject by this way, you can create links on folder, content, > ... > > The contentModelService manages links. But, Folder has a collection of Contents public List getContents(); The javadocs don't explicity say what kind of obects are returned from getContents(); /** * Get the folder contents. * @return a List of content which are located into this folder. */ But since you use the word "content" i was assuming it was Content. Links are not Content, they are CmsObject -- David Sean Taylor Bluesunrise Software [email protected] [office] +01 707 773-4646 [mobile] +01 707 529 9194 From [email protected] Thu Oct 06 05:33:02 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 62366 invoked from network); 6 Oct 2005 05:33:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Oct 2005 05:33:01 -0000 Received: (qmail 26229 invoked by uid 500); 6 Oct 2005 05:33:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 26218 invoked by uid 99); 6 Oct 2005 05:33:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Oct 2005 22:33:00 -0700 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_40_50,HTML_MESSAGE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Oct 2005 22:33:04 -0700 Received: by nproxy.gmail.com with SMTP id l37so118099nfc for <[email protected]>; Wed, 05 Oct 2005 22:32:38 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=DplNLx0L9/rTC1kTGLyFxdqVe7xjgMyaxr+3DbNRv+3nWNpTqSxHYfnHWIZrJ4qmE21JAjqcWair02fyfMlQQ/oV31XybfkOw++xy9lQuNrLLbDulYH7ML45TVo3BGZYDX7D+Od8fcKj1EbOXx84T4TQdrHcWb/YhWFdpuQo5ek= Received: by 161.129.204.104 with SMTP id y10mr80636nfg; Wed, 05 Oct 2005 22:32:38 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Wed, 5 Oct 2005 22:32:38 -0700 (PDT) Message-ID: <[email protected]> Date: Thu, 6 Oct 2005 07:32:38 +0200 From: Christophe Lombart <[email protected]> Reply-To: Christophe Lombart <[email protected]> To: [email protected] Subject: Re: Link In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_36812_2553888.1128576758831" References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_36812_2553888.1128576758831 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 10/5/05, David Sean Taylor <[email protected]> wrote: > > Christophe Lombart wrote: > > David, > > > > Here is the model : > http://incubator.apache.org/graffito/class-diagrams.html > > Link extends CmsObject by this way, you can create links on folder, > content, > > ... > > > > The contentModelService manages links. > > But, Folder has a collection of Contents > > public List getContents(); > > The javadocs don't explicity say what kind of obects are returned from > getContents(); > > /** > * Get the folder contents. > * @return a List of content which are located into this folder. > */ > > But since you use the word "content" i was assuming it was Content. Content can be binaries associated to a content type (the interface is Document : see the dm pck). But Content will later other descendant like news, article, post in a forum app, ... Thoses content are not aossociated to a binary content but more to severals fields like paragraph, descritption, ... Links are not Content, they are CmsObject By this way, we can also link folders. ------=_Part_36812_2553888.1128576758831-- From [email protected] Thu Oct 06 19:53:10 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35486 invoked from network); 6 Oct 2005 19:53:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Oct 2005 19:53:10 -0000 Received: (qmail 93611 invoked by uid 500); 6 Oct 2005 19:53:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 93600 invoked by uid 99); 6 Oct 2005 19:53:09 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Oct 2005 12:53:09 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO secure.wispertel.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 06 Oct 2005 12:53:12 -0700 Received: (qmail 20249 invoked from network); 6 Oct 2005 19:52:46 -0000 Received: from unknown (HELO wispertel.net) (161.129.204.104) by secure.wispertel.net with SMTP; 6 Oct 2005 19:52:46 -0000 Message-ID: <[email protected]> Date: Thu, 06 Oct 2005 13:52:42 -0600 From: Randy Watler <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: Graffito build for Jetspeed-2 M4-SNAPSHOT References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Christophe, I neglected to tell you earlier that this patch does indeed work. Thanks again. Just FYI, the change did appear to break some of the tests: [junit] Running org.apache.portals.graffito.security.impl.AllFilesTestRdbmsPolicy [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1.912 sec [junit] [ERROR] TEST org.apache.portals.graffito.security.impl.AllFilesTestRdbmsPolicy FAILED [junit] Running org.apache.portals.graffito.security.impl.TestRdbmsPolicy [junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 2.221 sec [junit] [ERROR] TEST org.apache.portals.graffito.security.impl.TestRdbmsPolicy FAILED [junit] Running org.apache.portals.graffito.security.impl.TestPermissions [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 2.018 sec [junit] [ERROR] TEST org.apache.portals.graffito.security.impl.TestPermissions FAILED [junit] Running org.apache.portals.graffito.security.impl.AllPermissionTestRdbmsPolicy [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1.786 sec [junit] [ERROR] TEST org.apache.portals.graffito.security.impl.AllPermissionTestRdbmsPolicy FAILED Do you want me to attempt to fix these or do you want to handle it? Randy Randy Watler wrote: > Christophe, > > Cool. I will test it tomorrow sometime. Thanks for the quick fix! > > Randy > > Christophe Lombart wrote: > >> Randy, >> >> I just commit a patch for this issue. Can you check if it is ok on M4. >> it was a regression due to my last object model refactoring. Sorry to >> use a lot of your time for that. Before testing it, don't forget to >> make a db clean-up. >> >> The permission tab page in the edit mode needs to be review. eg. it is >> not possible to edit an existing permission. >> >> Kind regard, >> Christophe >> >> >> On 9/28/05, Christophe Lombart <[email protected]> wrote: >> >> >>> Of course, you are welcome to commit directly into the Graffito. >>> >>> Thanks, >>> Christophe >>> >>> On 9/28/05, Randy Watler <[email protected]> wrote: >>> >>>> Christophe, >>>> >>>> I assumed that M3 would have the same issue, so it is reassuring to >>>> hear >>>> that it does indeed. >>>> >>>> I am not sure how you want to encorporate my modifications. I have a >>>> small fix in the J2 maven plugin and >>>> quite a few patches for the graffito source tree. David seemed to >>>> indicate that we could allow me to commit to the >>>> graffito project, (I am already a J2 committer as you know). >>>> Otherwise, >>>> I could send you a few patch files. >>>> >>>> I plan on fully integrating Graffito into J2, so perhaps we can just >>>> skip this step alltogether. Your call. >>>> >>>> Randy >>>> >>>> Christophe Lombart wrote: >>>> >>>> >>>>> Randy, >>>>> >>>>> Same issue on M3. As you explained in your mail, >>>>> org.apache.portals.graffito.security.impl.CmsPermissionImpl is not >>>>> set >>>>> into the DB (in SECURITY_PERMISSION). If you replace the wrong value >>>>> by this classname, it will be better. >>>>> >>>>> I have more time now. So, I can try to fix this issue. Can give me an >>>>> access to your M4 deployment stuff ? Do you plan to add it in the >>>>> Graffito project or directly into J2 ? >>>>> >>>>> Thanks, >>>>> Christophe >>>>> >>>>> >>>>> >>>>> On 9/27/05, Christophe Lombart <[email protected]> wrote: >>>>> >>>>> >>>>> >>>>>> On 9/26/05, Randy Watler <[email protected]> wrote: >>>>>> >>>>>> >>>>>> >>>>>>> Christophe Lombart wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> Maybe it is a regression. Are you using the subproject >>>>>>>> 'jetspeed2-deploy' to deploy into J2 ? See in this subproject, >>>>>>>> there >>>>>>>> are some xml file uses to deploy the application. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> Yes, I am using this project to deploy, albeit modified for M4. >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> Let me know if you need help. I don't know if I can access to your >>>>>>>> modifications somewhere. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> Here is the deal: >>>>>>> >>>>>>> The Graffito Browser is adding these objects to the RdbmsPolicy >>>>>>> store: >>>>>>> >>>>>>> org.apache.portals.graffito.model.pemission.impl.CmsPermissionImpl >>>>>>> >>>>>>> While these appear to be correctly specified and stored by the >>>>>>> browser, >>>>>>> the Graffito >>>>>>> security implementation is creating permission instances of this >>>>>>> class >>>>>>> type and >>>>>>> sending these to the AccessController.checkPermission(): >>>>>>> >>>>>>> org.apache.portals.graffito.security.impl.CmsPermissionImpl >>>>>>> >>>>>>> See >>>>>>> components/src/java/org/apache/portals/graffito/security/impl/GraffitoAction.java. >>>>>>> >>>>>>> Unless I am missing something, the new permissions will not be >>>>>>> seen by >>>>>>> java security because the class types do not match. Of course, >>>>>>> the initial >>>>>>> setup/deploy has permissions granted to /role/admin using the >>>>>>> org.apache.portals.graffito.security.impl.CmsPermissionImpl >>>>>>> class and >>>>>>> these work as expected. >>>>>>> >>>>>>> Did I miss some configuration that tells the Graffito Browser to >>>>>>> use the >>>>>>> security vs. model implementations? >>>>>>> >>>>>>> >>>>>>> >>>>>> no >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>> Am I missing some nuance of java >>>>>>> security that would allow the model implementations to be read? >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> No (following my limited knowledge of JAAS) >>>>>> Tomorow, I will review the code. >>>>>> What's the behavior with J2 M3 ? >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>> >>>> >> >> >> >> > > > > From [email protected] Thu Oct 06 20:02:24 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37900 invoked from network); 6 Oct 2005 20:02:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Oct 2005 20:02:24 -0000 Received: (qmail 3886 invoked by uid 500); 6 Oct 2005 20:02:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 3870 invoked by uid 99); 6 Oct 2005 20:02:24 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Oct 2005 13:02:24 -0700 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_30_40,HTML_MESSAGE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Oct 2005 13:02:27 -0700 Received: by nproxy.gmail.com with SMTP id l37so206568nfc for <[email protected]>; Thu, 06 Oct 2005 13:02:01 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=pOLqxgyN8jU0emwT3pl20CFOOHzQ0WnAXkFj29fVAlDQeAMaKgPTHFGTtcVZL+ayTYL5eAn3S2HKS0dnCoB7pqSA29qPwfgqF3M+1qF798XkW6kd2ld6ghD5NDbJwS/DrcN9JLWbFFk/yN3F3OQaaPzk32f9WDPtsyCRBwO4JZI= Received: by 161.129.204.104 with SMTP id h7mr138807nfi; Thu, 06 Oct 2005 13:02:01 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 6 Oct 2005 13:02:01 -0700 (PDT) Message-ID: <[email protected]> Date: Thu, 6 Oct 2005 22:02:01 +0200 From: Christophe Lombart <[email protected]> Reply-To: Christophe Lombart <[email protected]> To: [email protected] Subject: Re: Graffito build for Jetspeed-2 M4-SNAPSHOT In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_52874_19511963.1128628921514" References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_52874_19511963.1128628921514 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Randy, Please send me all the code, scripts, ... for this integration (if possible= ) and than I will try to fix thoses issues. If you want, you can create a new Jira issue. What is the difference between M3 and M4 in point of view security ? Are there some changes in the permission management ? Christophe On 10/6/05, Randy Watler <[email protected]> wrote: > > Christophe, > > I neglected to tell you earlier that this patch does indeed work. Thanks > again. > > Just FYI, the change did appear to break some of the tests: > > [junit] Running > org.apache.portals.graffito.security.impl.AllFilesTestRdbmsPolicy > [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1.912 sec > [junit] [ERROR] TEST > org.apache.portals.graffito.security.impl.AllFilesTestRdbmsPolicy FAILED > [junit] Running org.apache.portals.graffito.security.impl.TestRdbmsPolicy > [junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 2.221 sec > [junit] [ERROR] TEST > org.apache.portals.graffito.security.impl.TestRdbmsPolicy FAILED > [junit] Running org.apache.portals.graffito.security.impl.TestPermissions > [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 2.018 sec > [junit] [ERROR] TEST > org.apache.portals.graffito.security.impl.TestPermissions FAILED > [junit] Running > org.apache.portals.graffito.security.impl.AllPermissionTestRdbmsPolicy > [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1.786 sec > [junit] [ERROR] TEST > org.apache.portals.graffito.security.impl.AllPermissionTestRdbmsPolicy > FAILED > > Do you want me to attempt to fix these or do you want to handle it? > > Randy > > Randy Watler wrote: > > > Christophe, > > > > Cool. I will test it tomorrow sometime. Thanks for the quick fix! > > > > Randy > > > > Christophe Lombart wrote: > > > >> Randy, > >> > >> I just commit a patch for this issue. Can you check if it is ok on M4. > >> it was a regression due to my last object model refactoring. Sorry to > >> use a lot of your time for that. Before testing it, don't forget to > >> make a db clean-up. > >> > >> The permission tab page in the edit mode needs to be review. eg. it is > >> not possible to edit an existing permission. > >> > >> Kind regard, > >> Christophe > >> > >> > >> On 9/28/05, Christophe Lombart <[email protected]> wrote: > >> > >> > >>> Of course, you are welcome to commit directly into the Graffito. > >>> > >>> Thanks, > >>> Christophe > >>> > >>> On 9/28/05, Randy Watler <[email protected]> wrote: > >>> > >>>> Christophe, > >>>> > >>>> I assumed that M3 would have the same issue, so it is reassuring to > >>>> hear > >>>> that it does indeed. > >>>> > >>>> I am not sure how you want to encorporate my modifications. I have a > >>>> small fix in the J2 maven plugin and > >>>> quite a few patches for the graffito source tree. David seemed to > >>>> indicate that we could allow me to commit to the > >>>> graffito project, (I am already a J2 committer as you know). > >>>> Otherwise, > >>>> I could send you a few patch files. > >>>> > >>>> I plan on fully integrating Graffito into J2, so perhaps we can just > >>>> skip this step alltogether. Your call. > >>>> > >>>> Randy > >>>> > >>>> Christophe Lombart wrote: > >>>> > >>>> > >>>>> Randy, > >>>>> > >>>>> Same issue on M3. As you explained in your mail, > >>>>> org.apache.portals.graffito.security.impl.CmsPermissionImpl is not > >>>>> set > >>>>> into the DB (in SECURITY_PERMISSION). If you replace the wrong valu= e > >>>>> by this classname, it will be better. > >>>>> > >>>>> I have more time now. So, I can try to fix this issue. Can give me > an > >>>>> access to your M4 deployment stuff ? Do you plan to add it in the > >>>>> Graffito project or directly into J2 ? > >>>>> > >>>>> Thanks, > >>>>> Christophe > >>>>> > >>>>> > >>>>> > >>>>> On 9/27/05, Christophe Lombart <[email protected]> wrote= : > >>>>> > >>>>> > >>>>> > >>>>>> On 9/26/05, Randy Watler <[email protected]> wrote: > >>>>>> > >>>>>> > >>>>>> > >>>>>>> Christophe Lombart wrote: > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>>> Maybe it is a regression. Are you using the subproject > >>>>>>>> 'jetspeed2-deploy' to deploy into J2 ? See in this subproject, > >>>>>>>> there > >>>>>>>> are some xml file uses to deploy the application. > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>> Yes, I am using this project to deploy, albeit modified for M4. > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>>> Let me know if you need help. I don't know if I can access to > your > >>>>>>>> modifications somewhere. > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>> Here is the deal: > >>>>>>> > >>>>>>> The Graffito Browser is adding these objects to the RdbmsPolicy > >>>>>>> store: > >>>>>>> > >>>>>>> org.apache.portals.graffito.model.pemission.impl.CmsPermissionImp= l > >>>>>>> > >>>>>>> While these appear to be correctly specified and stored by the > >>>>>>> browser, > >>>>>>> the Graffito > >>>>>>> security implementation is creating permission instances of this > >>>>>>> class > >>>>>>> type and > >>>>>>> sending these to the AccessController.checkPermission(): > >>>>>>> > >>>>>>> org.apache.portals.graffito.security.impl.CmsPermissionImpl > >>>>>>> > >>>>>>> See > >>>>>>> > components/src/java/org/apache/portals/graffito/security/impl/GraffitoAct= ion.java. > >>>>>>> > >>>>>>> Unless I am missing something, the new permissions will not be > >>>>>>> seen by > >>>>>>> java security because the class types do not match. Of course, > >>>>>>> the initial > >>>>>>> setup/deploy has permissions granted to /role/admin using the > >>>>>>> org.apache.portals.graffito.security.impl.CmsPermissionImpl > >>>>>>> class and > >>>>>>> these work as expected. > >>>>>>> > >>>>>>> Did I miss some configuration that tells the Graffito Browser to > >>>>>>> use the > >>>>>>> security vs. model implementations? > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>> no > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>>> Am I missing some nuance of java > >>>>>>> security that would allow the model implementations to be read? > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>> No (following my limited knowledge of JAAS) > >>>>>> Tomorow, I will review the code. > >>>>>> What's the behavior with J2 M3 ? > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>> > >>>>> > >>>>> > >>>> > >>>> > >> > >> > >> > >> > > > > > > > > > > > ------=_Part_52874_19511963.1128628921514-- From [email protected] Thu Oct 06 20:25:36 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45889 invoked from network); 6 Oct 2005 20:25:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Oct 2005 20:25:36 -0000 Received: (qmail 33215 invoked by uid 500); 6 Oct 2005 20:25:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 33198 invoked by uid 99); 6 Oct 2005 20:25:36 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Oct 2005 13:25:36 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO secure.wispertel.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 06 Oct 2005 13:25:39 -0700 Received: (qmail 21968 invoked from network); 6 Oct 2005 20:25:13 -0000 Received: from unknown (HELO wispertel.net) (161.129.204.104) by secure.wispertel.net with SMTP; 6 Oct 2005 20:25:13 -0000 Message-ID: <[email protected]> Date: Thu, 06 Oct 2005 14:25:13 -0600 From: Randy Watler <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: Graffito build for Jetspeed-2 M4-SNAPSHOT References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Christophe, Hmmmmmm. I was thinking that this was not specific to the integration work I did, but you have a point :). I need to get these updates into SVN for you. I'll speak with David/Santiago to get that done ASAP. Randy Christophe Lombart wrote: >Hi Randy, > >Please send me all the code, scripts, ... for this integration (if possible) >and than I will try to fix thoses issues. >If you want, you can create a new Jira issue. >What is the difference between M3 and M4 in point of view security ? Are >there some changes in the permission management ? > >Christophe > > >On 10/6/05, Randy Watler <[email protected]> wrote: > > >>Christophe, >> >>I neglected to tell you earlier that this patch does indeed work. Thanks >>again. >> >>Just FYI, the change did appear to break some of the tests: >> >>[junit] Running >>org.apache.portals.graffito.security.impl.AllFilesTestRdbmsPolicy >>[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1.912 sec >>[junit] [ERROR] TEST >>org.apache.portals.graffito.security.impl.AllFilesTestRdbmsPolicy FAILED >>[junit] Running org.apache.portals.graffito.security.impl.TestRdbmsPolicy >>[junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 2.221 sec >>[junit] [ERROR] TEST >>org.apache.portals.graffito.security.impl.TestRdbmsPolicy FAILED >>[junit] Running org.apache.portals.graffito.security.impl.TestPermissions >>[junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 2.018 sec >>[junit] [ERROR] TEST >>org.apache.portals.graffito.security.impl.TestPermissions FAILED >>[junit] Running >>org.apache.portals.graffito.security.impl.AllPermissionTestRdbmsPolicy >>[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1.786 sec >>[junit] [ERROR] TEST >>org.apache.portals.graffito.security.impl.AllPermissionTestRdbmsPolicy >>FAILED >> >>Do you want me to attempt to fix these or do you want to handle it? >> >>Randy >> >>Randy Watler wrote: >> >> >> >>>Christophe, >>> >>>Cool. I will test it tomorrow sometime. Thanks for the quick fix! >>> >>>Randy >>> >>>Christophe Lombart wrote: >>> >>> >>> >>>>Randy, >>>> >>>>I just commit a patch for this issue. Can you check if it is ok on M4. >>>>it was a regression due to my last object model refactoring. Sorry to >>>>use a lot of your time for that. Before testing it, don't forget to >>>>make a db clean-up. >>>> >>>>The permission tab page in the edit mode needs to be review. eg. it is >>>>not possible to edit an existing permission. >>>> >>>>Kind regard, >>>>Christophe >>>> >>>> >>>>On 9/28/05, Christophe Lombart <[email protected]> wrote: >>>> >>>> >>>> >>>> >>>>>Of course, you are welcome to commit directly into the Graffito. >>>>> >>>>>Thanks, >>>>>Christophe >>>>> >>>>>On 9/28/05, Randy Watler <[email protected]> wrote: >>>>> >>>>> >>>>> >>>>>>Christophe, >>>>>> >>>>>>I assumed that M3 would have the same issue, so it is reassuring to >>>>>>hear >>>>>>that it does indeed. >>>>>> >>>>>>I am not sure how you want to encorporate my modifications. I have a >>>>>>small fix in the J2 maven plugin and >>>>>>quite a few patches for the graffito source tree. David seemed to >>>>>>indicate that we could allow me to commit to the >>>>>>graffito project, (I am already a J2 committer as you know). >>>>>>Otherwise, >>>>>>I could send you a few patch files. >>>>>> >>>>>>I plan on fully integrating Graffito into J2, so perhaps we can just >>>>>>skip this step alltogether. Your call. >>>>>> >>>>>>Randy >>>>>> >>>>>>Christophe Lombart wrote: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>>Randy, >>>>>>> >>>>>>>Same issue on M3. As you explained in your mail, >>>>>>>org.apache.portals.graffito.security.impl.CmsPermissionImpl is not >>>>>>>set >>>>>>>into the DB (in SECURITY_PERMISSION). If you replace the wrong value >>>>>>>by this classname, it will be better. >>>>>>> >>>>>>>I have more time now. So, I can try to fix this issue. Can give me >>>>>>> >>>>>>> >>an >> >> >>>>>>>access to your M4 deployment stuff ? Do you plan to add it in the >>>>>>>Graffito project or directly into J2 ? >>>>>>> >>>>>>>Thanks, >>>>>>>Christophe >>>>>>> >>>>>>> >>>>>>> >>>>>>>On 9/27/05, Christophe Lombart <[email protected]> wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>>On 9/26/05, Randy Watler <[email protected]> wrote: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>>Christophe Lombart wrote: >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>>>Maybe it is a regression. Are you using the subproject >>>>>>>>>>'jetspeed2-deploy' to deploy into J2 ? See in this subproject, >>>>>>>>>>there >>>>>>>>>>are some xml file uses to deploy the application. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>Yes, I am using this project to deploy, albeit modified for M4. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>>>Let me know if you need help. I don't know if I can access to >>>>>>>>>> >>>>>>>>>> >>your >> >> >>>>>>>>>>modifications somewhere. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>Here is the deal: >>>>>>>>> >>>>>>>>>The Graffito Browser is adding these objects to the RdbmsPolicy >>>>>>>>>store: >>>>>>>>> >>>>>>>>>org.apache.portals.graffito.model.pemission.impl.CmsPermissionImpl >>>>>>>>> >>>>>>>>>While these appear to be correctly specified and stored by the >>>>>>>>>browser, >>>>>>>>>the Graffito >>>>>>>>>security implementation is creating permission instances of this >>>>>>>>>class >>>>>>>>>type and >>>>>>>>>sending these to the AccessController.checkPermission(): >>>>>>>>> >>>>>>>>>org.apache.portals.graffito.security.impl.CmsPermissionImpl >>>>>>>>> >>>>>>>>>See >>>>>>>>> >>>>>>>>> >>>>>>>>> >>components/src/java/org/apache/portals/graffito/security/impl/GraffitoAction.java. >> >> >>>>>>>>>Unless I am missing something, the new permissions will not be >>>>>>>>>seen by >>>>>>>>>java security because the class types do not match. Of course, >>>>>>>>>the initial >>>>>>>>>setup/deploy has permissions granted to /role/admin using the >>>>>>>>>org.apache.portals.graffito.security.impl.CmsPermissionImpl >>>>>>>>>class and >>>>>>>>>these work as expected. >>>>>>>>> >>>>>>>>>Did I miss some configuration that tells the Graffito Browser to >>>>>>>>>use the >>>>>>>>>security vs. model implementations? >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>no >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>>Am I missing some nuance of java >>>>>>>>>security that would allow the model implementations to be read? >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>No (following my limited knowledge of JAAS) >>>>>>>>Tomorow, I will review the code. >>>>>>>>What's the behavior with J2 M3 ? >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>> >>>> >>>> >>>> >>> >>> >>> >>> >> >> >> > > > From [email protected] Sat Oct 08 21:44:11 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 98018 invoked from network); 8 Oct 2005 21:44:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Oct 2005 21:44:10 -0000 Received: (qmail 44484 invoked by uid 500); 8 Oct 2005 21:44:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 44472 invoked by uid 99); 8 Oct 2005 21:44:09 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Oct 2005 14:44:08 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 8EC5121C for <[email protected]>; Sat, 8 Oct 2005 23:43:47 +0200 (CEST) Message-ID: <[email protected]> Date: Sat, 8 Oct 2005 23:43:47 +0200 (CEST) From: "Martin Koci (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (GRFT-56) Support inheritance from org.apache.portals.graffito.jcr.persistence.impl.PersistenceManagerImpl Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Support inheritance from org.apache.portals.graffito.jcr.persistence.impl.PersistenceManagerImpl ------------------------------------------------------------------------------------------------ Key: GRFT-56 URL: http://issues.apache.org/jira/browse/GRFT-56 Project: Graffito Type: Improvement Components: JCR-Mapping Versions: 1.0-a1-dev Reporter: Martin Koci Priority: Trivial Make properties protected or provide protected getter methods -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Sat Oct 08 21:46:10 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 98282 invoked from network); 8 Oct 2005 21:46:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Oct 2005 21:46:10 -0000 Received: (qmail 44926 invoked by uid 500); 8 Oct 2005 21:46:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 44915 invoked by uid 99); 8 Oct 2005 21:46:10 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Oct 2005 14:46:08 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id B5F6E21C for <[email protected]>; Sat, 8 Oct 2005 23:45:47 +0200 (CEST) Message-ID: <[email protected]> Date: Sat, 8 Oct 2005 23:45:47 +0200 (CEST) From: "Martin Koci (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (GRFT-56) Support inheritance from org.apache.portals.graffito.jcr.persistence.impl.PersistenceManagerImpl In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GRFT-56?page=all ] Martin Koci updated GRFT-56: ---------------------------- Attachment: PersistenceManagerImpl.patch > Support inheritance from org.apache.portals.graffito.jcr.persistence.impl.PersistenceManagerImpl > ------------------------------------------------------------------------------------------------ > > Key: GRFT-56 > URL: http://issues.apache.org/jira/browse/GRFT-56 > Project: Graffito > Type: Improvement > Components: JCR-Mapping > Versions: 1.0-a1-dev > Reporter: Martin Koci > Priority: Trivial > Attachments: PersistenceManagerImpl.patch > > Make properties protected or provide protected getter methods -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Sat Oct 08 21:56:10 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99425 invoked from network); 8 Oct 2005 21:56:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Oct 2005 21:56:10 -0000 Received: (qmail 48617 invoked by uid 500); 8 Oct 2005 21:56:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 48605 invoked by uid 99); 8 Oct 2005 21:56:09 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Oct 2005 14:56:08 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 810C021C for <[email protected]>; Sat, 8 Oct 2005 23:55:47 +0200 (CEST) Message-ID: <[email protected]> Date: Sat, 8 Oct 2005 23:55:47 +0200 (CEST) From: "Martin Koci (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (GRFT-57) org.apache.portals.graffito.jcr.mapper.Mapper#getClassDescriptor doesn't need to throw JcrMappingException Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N org.apache.portals.graffito.jcr.mapper.Mapper#getClassDescriptor doesn't need to throw JcrMappingException ---------------------------------------------------------------------------------------------------------- Key: GRFT-57 URL: http://issues.apache.org/jira/browse/GRFT-57 Project: Graffito Type: Improvement Components: JCR-Mapping Versions: 1.0-a1-dev Reporter: Martin Koci Priority: Trivial That method can simply return class descriptor if class is mapped or null if not. And of cource can throw runtime exception indicating programmer bug. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Sat Oct 08 21:58:09 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99562 invoked from network); 8 Oct 2005 21:58:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Oct 2005 21:58:09 -0000 Received: (qmail 48891 invoked by uid 500); 8 Oct 2005 21:58:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 48880 invoked by uid 99); 8 Oct 2005 21:58:08 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Oct 2005 14:58:08 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id B434A21C for <[email protected]>; Sat, 8 Oct 2005 23:57:47 +0200 (CEST) Message-ID: <[email protected]> Date: Sat, 8 Oct 2005 23:57:47 +0200 (CEST) From: "Martin Koci (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (GRFT-57) org.apache.portals.graffito.jcr.mapper.Mapper#getClassDescriptor doesn't need to throw JcrMappingException In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GRFT-57?page=all ] Martin Koci updated GRFT-57: ---------------------------- Attachment: Mapper.patch DigesterMapperImpl.patch > org.apache.portals.graffito.jcr.mapper.Mapper#getClassDescriptor doesn't need to throw JcrMappingException > ---------------------------------------------------------------------------------------------------------- > > Key: GRFT-57 > URL: http://issues.apache.org/jira/browse/GRFT-57 > Project: Graffito > Type: Improvement > Components: JCR-Mapping > Versions: 1.0-a1-dev > Reporter: Martin Koci > Priority: Trivial > Attachments: DigesterMapperImpl.patch, Mapper.patch > > That method can simply return class descriptor if class is mapped or null if not. > And of cource can throw runtime exception indicating programmer bug. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Sat Oct 08 22:12:10 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2847 invoked from network); 8 Oct 2005 22:12:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Oct 2005 22:12:10 -0000 Received: (qmail 61675 invoked by uid 500); 8 Oct 2005 22:12:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 61664 invoked by uid 99); 8 Oct 2005 22:12:09 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Oct 2005 15:12:08 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 7F3B921E for <[email protected]>; Sun, 9 Oct 2005 00:11:47 +0200 (CEST) Message-ID: <[email protected]> Date: Sun, 9 Oct 2005 00:11:47 +0200 (CEST) From: "Martin Koci (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (GRFT-58) Can be JcrMappingException type of RUNTIME exception? Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Can be JcrMappingException type of RUNTIME exception? ----------------------------------------------------- Key: GRFT-58 URL: http://issues.apache.org/jira/browse/GRFT-58 Project: Graffito Type: Improvement Components: JCR-Mapping Versions: 1.0-a1-dev Reporter: Martin Koci http://www.mindview.net/Etc/Discussions/CheckedExceptions http://www-128.ibm.com/developerworks/java/library/j-jtp05254.html HibernateException is runtime too (from version 3.0) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Mon Oct 10 09:40:00 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89459 invoked from network); 10 Oct 2005 09:40:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Oct 2005 09:40:00 -0000 Received: (qmail 46681 invoked by uid 500); 10 Oct 2005 09:39:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 46670 invoked by uid 99); 10 Oct 2005 09:39:59 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2005 02:39:59 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) Received: from [161.129.204.104] (HELO mail.beenzgrup.ro) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2005 02:40:01 -0700 Received: (qmail 30641 invoked from network); 10 Oct 2005 12:39:35 +0300 Received: from beenzsoftware.ro (HELO localhost) (161.129.204.104) by beenzsoftware.ro with SMTP; 10 Oct 2005 12:39:35 +0300 Date: Mon, 10 Oct 2005 12:39:36 +0300 From: Costin Leau <[email protected]> X-Mailer: The Bat! (v3.60.07) Professional Reply-To: Costin <[email protected]> X-Priority: 3 (Normal) Message-ID: <[email protected]> To: [email protected] Subject: [jcr-mapping] [ANN] Spring Modules: jcr-support upgrade MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello everyone, I just wanted to announce that the jcr-support from SpringModules (http://springmodules.dev.java.net) has been upgraded: - refactoring of code which simplifies work with OpenSessionInView Filter/Interceptor. - query methods have been added to JcrTemplate. - the sample contains both local and JTA transaction (through JCA) configuration examples. - this version adds support for jcr-mapping both in regards to configuration and usage (through JcrMappingTemplate). - improved javadocs. Feedback is welcomed! -- Best regards, Costin mailto:[email protected] From [email protected] Mon Oct 10 09:58:10 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95401 invoked from network); 10 Oct 2005 09:58:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Oct 2005 09:58:09 -0000 Received: (qmail 68819 invoked by uid 500); 10 Oct 2005 09:58:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 68770 invoked by uid 99); 10 Oct 2005 09:58:08 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2005 02:58:08 -0700 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_40_50,HTML_MESSAGE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2005 02:58:10 -0700 Received: by nproxy.gmail.com with SMTP id l37so426620nfc for <[email protected]>; Mon, 10 Oct 2005 02:57:45 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=WhIlecPh5coGuZEdrCCfjVuqnPCAI7hWiMAf2Y+Pr0Pms2bWaVxD7LWQhHy8xx2gamWljxF3LKnaRF20EFo1Od0L6cOEKSC2kAwdsjbqOzaTIh9BgFFsBgVFgUoy3sfwxFVNkE/gFzcSzS1TXZm3pfrvMkOnNXvL0pTadQbbCSw= Received: by 161.129.204.104 with SMTP id i7mr278817nfh; Mon, 10 Oct 2005 02:57:45 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 10 Oct 2005 02:57:45 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 10 Oct 2005 11:57:45 +0200 From: Christophe Lombart <[email protected]> To: [email protected], Costin <[email protected]> Subject: Re: [jcr-mapping] [ANN] Spring Modules: jcr-support upgrade In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5615_14657526.1128938265785" References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_5615_14657526.1128938265785 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thanks for the info, I'm going to see your work. Christophe On 10/10/05, Costin Leau <[email protected]> wrote: > > Hello everyone, > > I just wanted to announce that the jcr-support from SpringModules > (http://springmodules.dev.java.net) has been upgraded: > > - refactoring of code which simplifies work with OpenSessionInView > Filter/Interceptor. > - query methods have been added to JcrTemplate. > - the sample contains both local and JTA transaction (through JCA) > configuration examples. > - this version adds support for jcr-mapping both in regards to > configuration and usage (through JcrMappingTemplate). > - improved javadocs. > > Feedback is welcomed! > > -- > Best regards, > Costin mailto:[email protected] > > ------=_Part_5615_14657526.1128938265785-- From [email protected] Mon Oct 10 12:45:56 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61785 invoked from network); 10 Oct 2005 12:45:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Oct 2005 12:45:56 -0000 Received: (qmail 48904 invoked by uid 500); 10 Oct 2005 12:45:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 48893 invoked by uid 99); 10 Oct 2005 12:45:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2005 05:45:55 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO aura.cz) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2005 05:45:57 -0700 Received: (qmail 23259 invoked from network); 10 Oct 2005 12:45:12 -0000 Received: from markoc.uvoz.aura.cz (HELO [161.129.204.104]) ([161.129.204.104]) (envelope-sender <[email protected]>) by aura.cz (qmail-ldap-1.03) with SMTP for <[email protected]>; 10 Oct 2005 12:45:12 -0000 Message-ID: <[email protected]> Date: Mon, 10 Oct 2005 14:41:34 +0200 From: Martin Koci <[email protected]> User-Agent: Mozilla Thunderbird 1.0.2-1.3.3 (X11/20050513) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: [jcr-mapping] Mapping Node.getPath() to domain objects Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N When inserting new object into repository on existing path new node with [] index is created: Assume node /Document And Sesstings/file.txt exists: pm.insert("/Document And Sesstings/file.txt", entity) creates new node with path /Document And Sesstings/file.txt[1] - that is correct. But I want set newly inserted path on inserted entity: entity.getPath() should return /Document And Sesstings/file.txt[1] Is it possible? Is path to node saved in special property ? <class-descriptor className="cz.aura.admis.domain.Document" jcrNodeType="admis:document" > <field-descriptor fieldName="path" jcrName="PATH_PROPERTY_NAME"></field-descriptor> ??? <field-descriptor fieldName="creationDate" jcrName="jcr:created"></field-descriptor> <bean-descriptor fieldName="documentStream" proxy="false" jcrName="jcr:content"></bean-descriptor> </class-descriptor> Thanks, Martin -- Mgr. Martin Kočí --------------------------------- AURA, s.r.o. Úvoz 499/56; 602 00 Brno ISO 9001 certifikovaná společnost tel./fax: 641.351.7091 e-mail: [email protected] internet: http://www.aura.cz http://www.j2ee.cz --------------------------------- From [email protected] Mon Oct 10 14:06:32 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 98677 invoked from network); 10 Oct 2005 14:06:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Oct 2005 14:06:31 -0000 Received: (qmail 79482 invoked by uid 500); 10 Oct 2005 14:06:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 79471 invoked by uid 99); 10 Oct 2005 14:06:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2005 07:06:31 -0700 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_40_50,HTML_MESSAGE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2005 07:06:32 -0700 Received: by nproxy.gmail.com with SMTP id l37so457140nfc for <[email protected]>; Mon, 10 Oct 2005 07:06:08 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Io1uuubCB4iRGBK+04BvVEWKIAUS6y4pKJOO/fzLsjf6tiN5Wwq3xiK3LO5RB8XPbjl0Y/wUR8p0H+aJ4eN1tJPno9IXDgwhIj0FYlzfxkzjeDVup1iIS3KmXcOQ/KDYvPtLnwREmoyyzBAOamupDWeiKPZ2g9jK+7wiFjNup58= Received: by 161.129.204.104 with SMTP id h7mr299356nfi; Mon, 10 Oct 2005 07:06:08 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 10 Oct 2005 07:06:08 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 10 Oct 2005 16:06:08 +0200 From: Christophe Lombart <[email protected]> To: [email protected] Subject: Re: [jcr-mapping] Mapping Node.getPath() to domain objects In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_11502_22426885.1128953168331" References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_11502_22426885.1128953168331 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 10/10/05, Martin Koci <[email protected]> wrote: > > When inserting new object into repository on existing path new node with > [] index is created: > > Assume node /Document And Sesstings/file.txt exists: > > pm.insert("/Document And Sesstings/file.txt", entity) creates new node > with path /Document And Sesstings/file.txt[1] - that is correct. > > But I want set newly inserted path on inserted entity: > entity.getPath() should return /Document And Sesstings/file.txt[1] > > Is it possible? No but I think that we have to support this feature. Is path to node saved in special property ? No. Costin suggest also to store the path in the mapping config file and have method calls like : myObject.setPath(); pm.instert(myObject) <class-descriptor className=3D"cz.aura.admis.domain.Document" > jcrNodeType=3D"admis:document" > > <field-descriptor fieldName=3D"path" > jcrName=3D"PATH_PROPERTY_NAME"></field-descriptor> ??? > <field-descriptor fieldName=3D"creationDate" > jcrName=3D"jcr:created"></field-descriptor> > <bean-descriptor fieldName=3D"documentStream" proxy=3D"false" > jcrName=3D"jcr:content"></bean-descriptor> > </class-descriptor> Good suggestion. I will try to fix thoses issues this week Thanks Christophe ------=_Part_11502_22426885.1128953168331-- From [email protected] Mon Oct 10 16:59:00 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 67576 invoked from network); 10 Oct 2005 16:59:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Oct 2005 16:59:00 -0000 Received: (qmail 56102 invoked by uid 500); 10 Oct 2005 16:58:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 56081 invoked by uid 99); 10 Oct 2005 16:58:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2005 09:58:57 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO aura.cz) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2005 09:58:58 -0700 Received: (qmail 31351 invoked from network); 10 Oct 2005 16:58:29 -0000 Received: from markoc.uvoz.aura.cz (HELO [161.129.204.104]) ([161.129.204.104]) (envelope-sender <[email protected]>) by aura.cz (qmail-ldap-1.03) with SMTP for <[email protected]>; 10 Oct 2005 16:58:29 -0000 Message-ID: <[email protected]> Date: Mon, 10 Oct 2005 18:54:52 +0200 From: Martin Koci <[email protected]> User-Agent: Mozilla Thunderbird 1.0.2-1.3.3 (X11/20050513) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: [jcr-mapping] Mapping Node.getPath() to domain objects References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Christophe Lombart wrote: >On 10/10/05, Martin Koci <[email protected]> wrote: > > >>When inserting new object into repository on existing path new node with >>[] index is created: >> >>Assume node /Document And Sesstings/file.txt exists: >> >>pm.insert("/Document And Sesstings/file.txt", entity) creates new node >>with path /Document And Sesstings/file.txt[1] - that is correct. >> >>But I want set newly inserted path on inserted entity: >>entity.getPath() should return /Document And Sesstings/file.txt[1] >> >>Is it possible? >> >> > > >No but I think that we have to support this feature. > >Is path to node saved in special property ? > > >No. Costin suggest also to store the path in the mapping config file and >have method calls like : > >myObject.setPath(); >pm.instert(myObject) > > I think path in repository is similar as identifier in ORM world. So if Hibernate has <id name="id" column="cat_id"> </id> for describing unique identifier we can have something like that: <path fieldName="path"> </path> Element can accept more attributes, for example <path fieldName="path" sameNameSibling="false" /> says POJO cannot be inserted on existing node so creating name with [1] is not allowed. ><class-descriptor className="cz.aura.admis.domain.Document" > > >>jcrNodeType="admis:document" > >><field-descriptor fieldName="path" >>jcrName="PATH_PROPERTY_NAME"></field-descriptor> ??? >><field-descriptor fieldName="creationDate" >>jcrName="jcr:created"></field-descriptor> >><bean-descriptor fieldName="documentStream" proxy="false" >>jcrName="jcr:content"></bean-descriptor> >></class-descriptor> >> >> > > > >Good suggestion. > >I will try to fix thoses issues this week >Thanks >Christophe > > > From [email protected] Mon Oct 10 17:27:39 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79534 invoked from network); 10 Oct 2005 17:27:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Oct 2005 17:27:39 -0000 Received: (qmail 91569 invoked by uid 500); 10 Oct 2005 17:27:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 91552 invoked by uid 99); 10 Oct 2005 17:27:38 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2005 10:27:38 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) Received: from [161.129.204.104] (HELO mail.beenzgrup.ro) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2005 10:27:40 -0700 Received: (qmail 2803 invoked from network); 10 Oct 2005 20:27:15 +0300 Received: from beenzsoftware.ro (HELO localhost) (161.129.204.104) by beenzsoftware.ro with SMTP; 10 Oct 2005 20:27:15 +0300 Date: Mon, 10 Oct 2005 20:27:15 +0300 From: Costin Leau <[email protected]> X-Mailer: The Bat! (v3.60.07) Professional Reply-To: Costin <[email protected]> X-Priority: 3 (Normal) Message-ID: <[email protected]> To: Martin Koci <[email protected]> Subject: Re[2]: [jcr-mapping] Mapping Node.getPath() to domain objects In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > for describing unique identifier we can have something like that: > <path fieldName="path"> > </path> I would differ - the path can also be viewed as being a different table. The path is not part of the object content so it shouldn't be treated as one. The database impose the object to have an id - a special field. Note that it doesn't have to be a unique id over the database - smth that would happen if the path is considered as part of the object. The most approapriate method would be to require and id from the user which can be generated or supplied by him/her. This way the developer can chose if she/he wants a long/int or a String UUID. Creating syntetic attributes based on an object will fail eventually (for example if I move the path the object identity changes - in the database world if I rename an object the identity is the same). -- Best regards, Costin mailto:[email protected] From [email protected] Mon Oct 10 22:13:10 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10462 invoked from network); 10 Oct 2005 22:13:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Oct 2005 22:13:10 -0000 Received: (qmail 88008 invoked by uid 500); 10 Oct 2005 22:13:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 87996 invoked by uid 99); 10 Oct 2005 22:13:09 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2005 15:13:08 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id BFC6C512 for <[email protected]>; Tue, 11 Oct 2005 00:12:47 +0200 (CEST) Message-ID: <[email protected]> Date: Tue, 11 Oct 2005 00:12:47 +0200 (CEST) From: "Christophe Lombart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (GRFT-56) Support inheritance from org.apache.portals.graffito.jcr.persistence.impl.PersistenceManagerImpl In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GRFT-56?page=all ] Christophe Lombart resolved GRFT-56: ------------------------------------ Resolution: Fixed Now all attributes are protected > Support inheritance from org.apache.portals.graffito.jcr.persistence.impl.PersistenceManagerImpl > ------------------------------------------------------------------------------------------------ > > Key: GRFT-56 > URL: http://issues.apache.org/jira/browse/GRFT-56 > Project: Graffito > Type: Improvement > Components: JCR-Mapping > Versions: 1.0-a1-dev > Reporter: Martin Koci > Priority: Trivial > Attachments: PersistenceManagerImpl.patch > > Make properties protected or provide protected getter methods -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Mon Oct 10 22:28:11 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15100 invoked from network); 10 Oct 2005 22:28:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Oct 2005 22:28:11 -0000 Received: (qmail 2916 invoked by uid 500); 10 Oct 2005 22:28:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 2905 invoked by uid 99); 10 Oct 2005 22:28:10 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2005 15:28:10 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id C2E35514 for <[email protected]>; Tue, 11 Oct 2005 00:27:49 +0200 (CEST) Message-ID: <[email protected]> Date: Tue, 11 Oct 2005 00:27:49 +0200 (CEST) From: "Christophe Lombart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (GRFT-53) Support for multi value fields In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GRFT-53?page=all ] Christophe Lombart reassigned GRFT-53: -------------------------------------- Assign To: Christophe Lombart > Support for multi value fields > ------------------------------ > > Key: GRFT-53 > URL: http://issues.apache.org/jira/browse/GRFT-53 > Project: Graffito > Type: Improvement > Components: JCR-Mapping > Versions: 1.0-a1-dev > Reporter: Christophe Lombart > Assignee: Christophe Lombart > Fix For: 1.0-a1-dev > > A collection field can be a multivalue property (see the JCR spec) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Mon Oct 10 22:28:12 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15113 invoked from network); 10 Oct 2005 22:28:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Oct 2005 22:28:12 -0000 Received: (qmail 3012 invoked by uid 500); 10 Oct 2005 22:28:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 2995 invoked by uid 99); 10 Oct 2005 22:28:11 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2005 15:28:09 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 6719D512 for <[email protected]>; Tue, 11 Oct 2005 00:27:48 +0200 (CEST) Message-ID: <[email protected]> Date: Tue, 11 Oct 2005 00:27:48 +0200 (CEST) From: "Christophe Lombart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (GRFT-57) org.apache.portals.graffito.jcr.mapper.Mapper#getClassDescriptor doesn't need to throw JcrMappingException In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GRFT-57?page=all ] Christophe Lombart resolved GRFT-57: ------------------------------------ Resolution: Fixed Fixed - Patch applied > org.apache.portals.graffito.jcr.mapper.Mapper#getClassDescriptor doesn't need to throw JcrMappingException > ---------------------------------------------------------------------------------------------------------- > > Key: GRFT-57 > URL: http://issues.apache.org/jira/browse/GRFT-57 > Project: Graffito > Type: Improvement > Components: JCR-Mapping > Versions: 1.0-a1-dev > Reporter: Martin Koci > Priority: Trivial > Attachments: DigesterMapperImpl.patch, Mapper.patch > > That method can simply return class descriptor if class is mapped or null if not. > And of cource can throw runtime exception indicating programmer bug. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Tue Oct 11 05:38:27 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42579 invoked from network); 11 Oct 2005 05:38:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Oct 2005 05:38:27 -0000 Received: (qmail 68321 invoked by uid 500); 11 Oct 2005 05:38:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 68310 invoked by uid 99); 11 Oct 2005 05:38:26 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2005 22:38:26 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2005 22:38:28 -0700 Received: by nproxy.gmail.com with SMTP id l37so510870nfc for <[email protected]>; Mon, 10 Oct 2005 22:38:04 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=iTWHdA/WiUivLqgCQYDqrgAR4f9R0F+k5r8lbwiI7v2ftrNDtpxt0ndRJMMNm/d4nnQW8Fh/mWicnLO1coxb7zqzOhl2A/JzgAw+xZ7/UpN7avRzJt0vcIR7DSx+cAhPJzdZNuwjYHHbgFWQn9Y+FcsFW2QTtNTGyPWJxqi3Y1k= Received: by 161.129.204.104 with SMTP id h11mr334966nfi; Mon, 10 Oct 2005 22:38:04 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 10 Oct 2005 22:38:04 -0700 (PDT) Message-ID: <[email protected]> Date: Tue, 11 Oct 2005 07:38:04 +0200 From: Christophe Lombart <[email protected]> To: [email protected], Costin <[email protected]> Subject: Re: Re[2]: [jcr-mapping] Mapping Node.getPath() to domain objects In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_20160_11529960.1129009084434" References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_20160_11529960.1129009084434 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 10/10/05, Costin Leau <[email protected]> wrote: > > > > > for describing unique identifier we can have something like that: > > <path fieldName=3D"path"> > > </path> > I would differ - the path can also be viewed as being a different > table. The path is not part of the object content so it shouldn't be > treated as one. > The database impose the object to have an id - a special field. Note > that it doesn't have to be a unique id over the database - smth that > would happen if the path is considered as part of the object. > The most approapriate method would be to require and id from the user > which can be generated or supplied by him/her. > This way the developer can chose if she/he wants a long/int or a > String UUID. Creating syntetic attributes based on an object will fail > eventually (for example if I move the path the object identity changes > - in the database world if I rename an object the identity is the > same). In summary, we have 3 possibilities : <class-descriptor className=3D"org.apache.portals.graffito.jcr.testmodel.Atomic" jcrNodeType=3D"nt:unstructured"> <field-descriptor fieldName=3D"myId" jcrName=3D"myId" id =3D 'true'/> .... other field, beans and collection descriptor ... </class-descriptor> <class-descriptor className=3D"org.apache.portals.graffito.jcr.testmodel.Atomic" jcrNodeType=3D"nt:unstructured"> <field-descriptor fieldName=3D"myId" jcrName=3D"UUID" id =3D 'true'/> .... other field, beans and collection descriptor ... </class-descriptor> <class-descriptor className=3D"org.apache.portals.graffito.jcr.testmodel.Atomic" jcrNodeType=3D"nt:unstructured"> <field-descriptor fieldName=3D"myId" jcrName=3D"PATH" id =3D 'true' sameNameSibling=3D"false" /> .... other field, beans and collection descriptor ... </class-descriptor> Is the first one is still insteresting ? because we can replace it by UUID. ------=_Part_20160_11529960.1129009084434-- From [email protected] Wed Oct 12 20:42:34 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81022 invoked from network); 12 Oct 2005 20:42:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Oct 2005 20:42:34 -0000 Received: (qmail 8853 invoked by uid 500); 12 Oct 2005 20:42:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 8842 invoked by uid 99); 12 Oct 2005 20:42:33 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2005 13:42:31 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id BD3EC512 for <[email protected]>; Wed, 12 Oct 2005 22:42:08 +0200 (CEST) Message-ID: <[email protected]> Date: Wed, 12 Oct 2005 22:42:08 +0200 (CEST) From: "Christophe Lombart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (GRFT-48) Support more than one xml mapping file In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GRFT-48?page=all ] Christophe Lombart resolved GRFT-48: ------------------------------------ Resolution: Fixed Done in the MapperDigesterImpl. Now, it is possible to load multiple files > Support more than one xml mapping file > -------------------------------------- > > Key: GRFT-48 > URL: http://issues.apache.org/jira/browse/GRFT-48 > Project: Graffito > Type: Improvement > Components: JCR-Mapping > Reporter: Christophe Lombart > Fix For: 1.0-a1-dev > > Supporting more than one xml mapping file found in one forlder or an array of file references can give more flexibility to deploy Graffito modules. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed Oct 12 20:44:29 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81785 invoked from network); 12 Oct 2005 20:44:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Oct 2005 20:44:29 -0000 Received: (qmail 9949 invoked by uid 500); 12 Oct 2005 20:44:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 9938 invoked by uid 99); 12 Oct 2005 20:44:29 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2005 13:44:27 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 29729511 for <[email protected]>; Wed, 12 Oct 2005 22:44:06 +0200 (CEST) Message-ID: <[email protected]> Date: Wed, 12 Oct 2005 22:44:06 +0200 (CEST) From: "Christophe Lombart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (GRFT-53) Support for multi value fields In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GRFT-53?page=all ] Christophe Lombart resolved GRFT-53: ------------------------------------ Resolution: Fixed Now, it is possible to use a collection to store a multiple value field and also search on it. Unit test contains one example. Following the JCR spec, all collection elements has to be the same types (String, int, ...). > Support for multi value fields > ------------------------------ > > Key: GRFT-53 > URL: http://issues.apache.org/jira/browse/GRFT-53 > Project: Graffito > Type: Improvement > Components: JCR-Mapping > Versions: 1.0-a1-dev > Reporter: Christophe Lombart > Assignee: Christophe Lombart > Fix For: 1.0-a1-dev > > A collection field can be a multivalue property (see the JCR spec) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed Oct 12 20:49:29 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84083 invoked from network); 12 Oct 2005 20:49:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Oct 2005 20:49:29 -0000 Received: (qmail 19661 invoked by uid 500); 12 Oct 2005 20:49:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 19649 invoked by uid 99); 12 Oct 2005 20:49:28 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2005 13:49:28 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 2F6D5511 for <[email protected]>; Wed, 12 Oct 2005 22:49:07 +0200 (CEST) Message-ID: <[email protected]> Date: Wed, 12 Oct 2005 22:49:07 +0200 (CEST) From: "Christophe Lombart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (GRFT-44) Add search capabilities in the PersistenceManager In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GRFT-44?page=all ] Christophe Lombart resolved GRFT-44: ------------------------------------ Resolution: Fixed First release has be done. We will add new search features later (after receiving community feedback) > Add search capabilities in the PersistenceManager > ------------------------------------------------- > > Key: GRFT-44 > URL: http://issues.apache.org/jira/browse/GRFT-44 > Project: Graffito > Type: Task > Components: JCR-Mapping > Reporter: Christophe Lombart > Assignee: Christophe Lombart > Fix For: 1.0-a1-dev > > We can make search with a simple Criteria object or with some JCR expressions. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed Oct 12 20:49:30 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84119 invoked from network); 12 Oct 2005 20:49:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Oct 2005 20:49:30 -0000 Received: (qmail 19751 invoked by uid 500); 12 Oct 2005 20:49:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 19720 invoked by uid 99); 12 Oct 2005 20:49:29 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2005 13:49:29 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 3AB2F515 for <[email protected]>; Wed, 12 Oct 2005 22:49:08 +0200 (CEST) Message-ID: <[email protected]> Date: Wed, 12 Oct 2005 22:49:08 +0200 (CEST) From: "Christophe Lombart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (GRFT-58) Can be JcrMappingException type of RUNTIME exception? In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GRFT-58?page=all ] Christophe Lombart reassigned GRFT-58: -------------------------------------- Assign To: Christophe Lombart > Can be JcrMappingException type of RUNTIME exception? > ----------------------------------------------------- > > Key: GRFT-58 > URL: http://issues.apache.org/jira/browse/GRFT-58 > Project: Graffito > Type: Improvement > Components: JCR-Mapping > Versions: 1.0-a1-dev > Reporter: Martin Koci > Assignee: Christophe Lombart > > http://www.mindview.net/Etc/Discussions/CheckedExceptions > http://www-128.ibm.com/developerworks/java/library/j-jtp05254.html > HibernateException is runtime too (from version 3.0) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed Oct 12 20:54:28 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85905 invoked from network); 12 Oct 2005 20:54:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Oct 2005 20:54:28 -0000 Received: (qmail 23688 invoked by uid 500); 12 Oct 2005 20:54:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23673 invoked by uid 99); 12 Oct 2005 20:54:27 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2005 13:54:27 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 99607511 for <[email protected]>; Wed, 12 Oct 2005 22:54:06 +0200 (CEST) Message-ID: <[email protected]> Date: Wed, 12 Oct 2005 22:54:06 +0200 (CEST) From: "Christophe Lombart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (GRFT-59) Review PersistenceManager methods Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Review PersistenceManager methods --------------------------------- Key: GRFT-59 URL: http://issues.apache.org/jira/browse/GRFT-59 Project: Graffito Type: Improvement Components: JCR-Mapping Versions: 1.0-a1-dev Reporter: Christophe Lombart Review method in pm : insert, delete, ... The "path" argument can be dropped if we accept to set into the pojo (and of course in the xml mapping file) the path reference and/or the UUID. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed Oct 12 20:58:28 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87547 invoked from network); 12 Oct 2005 20:58:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Oct 2005 20:58:28 -0000 Received: (qmail 31431 invoked by uid 500); 12 Oct 2005 20:58:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31420 invoked by uid 99); 12 Oct 2005 20:58:28 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2005 13:58:26 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id E1C81511 for <[email protected]>; Wed, 12 Oct 2005 22:58:04 +0200 (CEST) Message-ID: <[email protected]> Date: Wed, 12 Oct 2005 22:58:04 +0200 (CEST) From: "Christophe Lombart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (GRFT-40) Advanced support for JCR properties and node In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GRFT-40?page=all ] Christophe Lombart updated GRFT-40: ----------------------------------- Summary: Advanced support for JCR properties and node (was: Advanced support for JCR items) Description: - We have to support the following JCR Types : * PropertyType.NAME * PropertyType.PATH * PropertyType.REFERENCE * PropertyType.UNDEFINED - Map UUID and the path into the POJO object - Check if mandatory & auto created properties are well managed. More unit test are required. - Support for same-name siblings : the query service should supported it ans we have also to support the method : node.getNodes(nodepattern). We have also to check if the insert, update and delete methods support correctly the same-name sibling. was: - We have to support the following JCR Types : * PropertyType.NAME * PropertyType.PATH * PropertyType.REFERENCE * PropertyType.UNDEFINED - Map UUID ? - Check if mandatory & auto created properties are well managed. More unit test are required. > Advanced support for JCR properties and node > -------------------------------------------- > > Key: GRFT-40 > URL: http://issues.apache.org/jira/browse/GRFT-40 > Project: Graffito > Type: Task > Components: JCR-Mapping > Reporter: Christophe Lombart > Fix For: 1.0-a1-dev > > - We have to support the following JCR Types : > * PropertyType.NAME > * PropertyType.PATH > * PropertyType.REFERENCE > * PropertyType.UNDEFINED > - Map UUID and the path into the POJO object > - Check if mandatory & auto created properties are well managed. More unit test are required. > - Support for same-name siblings : the query service should supported it ans we have also to support the method : node.getNodes(nodepattern). We have also to check if the insert, update and delete methods support correctly the same-name sibling. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed Oct 12 21:19:32 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97529 invoked from network); 12 Oct 2005 21:19:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Oct 2005 21:19:32 -0000 Received: (qmail 85958 invoked by uid 500); 12 Oct 2005 21:19:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 85947 invoked by uid 99); 12 Oct 2005 21:19:31 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2005 14:19:29 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 328EE511 for <[email protected]>; Wed, 12 Oct 2005 23:19:08 +0200 (CEST) Message-ID: <[email protected]> Date: Wed, 12 Oct 2005 23:19:07 +0200 (CEST) From: "Christophe Lombart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (GRFT-60) Advanced search features Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Advanced search features ------------------------ Key: GRFT-60 URL: http://issues.apache.org/jira/browse/GRFT-60 Project: Graffito Type: Improvement Components: JCR-Mapping Versions: 1.0-a1-dev Reporter: Christophe Lombart * Add method getReport (similar to the OJB method getReportByQuery) * support for jcr:score() & jcr: defref * Full text seach on binary * Support filter based on collection fields and bean fields : impossible to do with the current Jackrabbit version see in Jackrabbit JIRA : JCR-246, JSR-247 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed Oct 12 21:26:32 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 1008 invoked from network); 12 Oct 2005 21:26:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Oct 2005 21:26:32 -0000 Received: (qmail 93707 invoked by uid 500); 12 Oct 2005 21:26:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 92958 invoked by uid 99); 12 Oct 2005 21:26:28 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2005 14:26:25 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id B1F62511 for <[email protected]>; Wed, 12 Oct 2005 23:26:04 +0200 (CEST) Message-ID: <[email protected]> Date: Wed, 12 Oct 2005 23:26:04 +0200 (CEST) From: "Christophe Lombart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (GRFT-61) Review the Mapper Service Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Review the Mapper Service ------------------------- Key: GRFT-61 URL: http://issues.apache.org/jira/browse/GRFT-61 Project: Graffito Type: Improvement Components: JCR-Mapping Versions: 1.0-a1-dev Reporter: Christophe Lombart * Add more check when loading the mapping file : - Check if the referenced class exist in the classpath and has a classdescriptor - Error when duplicate class-descriptor are loaded (same for field & collections descriptors). * throws an exception when class descriptor, field/bean/collection descriptor are not found. (getxxx methods defined in the object mapper model). * Add converter attribute in the xml config file for atomicfields. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed Oct 12 21:30:27 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2405 invoked from network); 12 Oct 2005 21:30:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Oct 2005 21:30:27 -0000 Received: (qmail 99904 invoked by uid 500); 12 Oct 2005 21:30:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 99889 invoked by uid 99); 12 Oct 2005 21:30:27 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2005 14:30:25 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id B4A3B511 for <[email protected]>; Wed, 12 Oct 2005 23:30:04 +0200 (CEST) Message-ID: <[email protected]> Date: Wed, 12 Oct 2005 23:30:04 +0200 (CEST) From: "Christophe Lombart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (GRFT-62) Clean-up the unit tests Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Clean-up the unit tests ----------------------- Key: GRFT-62 URL: http://issues.apache.org/jira/browse/GRFT-62 Project: Graffito Type: Improvement Reporter: Christophe Lombart Use startup / tearDown to init and remove the data -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed Oct 12 21:30:28 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2452 invoked from network); 12 Oct 2005 21:30:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Oct 2005 21:30:28 -0000 Received: (qmail 99998 invoked by uid 500); 12 Oct 2005 21:30:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 99905 invoked by uid 99); 12 Oct 2005 21:30:27 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2005 14:30:26 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 65716515 for <[email protected]>; Wed, 12 Oct 2005 23:30:05 +0200 (CEST) Message-ID: <{{EMAIL+PHONE}}> Date: Wed, 12 Oct 2005 23:30:05 +0200 (CEST) From: "Christophe Lombart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (GRFT-62) Clean-up the unit tests In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GRFT-62?page=all ] Christophe Lombart reassigned GRFT-62: -------------------------------------- Assign To: Christophe Lombart > Clean-up the unit tests > ----------------------- > > Key: GRFT-62 > URL: http://issues.apache.org/jira/browse/GRFT-62 > Project: Graffito > Type: Improvement > Reporter: Christophe Lombart > Assignee: Christophe Lombart > > Use startup / tearDown to init and remove the data -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed Oct 12 21:32:31 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3645 invoked from network); 12 Oct 2005 21:32:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Oct 2005 21:32:30 -0000 Received: (qmail 2714 invoked by uid 500); 12 Oct 2005 21:32:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 2703 invoked by uid 99); 12 Oct 2005 21:32:30 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2005 14:32:27 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 12192516 for <[email protected]>; Wed, 12 Oct 2005 23:32:06 +0200 (CEST) Message-ID: <[email protected]> Date: Wed, 12 Oct 2005 23:32:06 +0200 (CEST) From: "Christophe Lombart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (GRFT-63) Move & copy objects Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Move & copy objects ------------------- Key: GRFT-63 URL: http://issues.apache.org/jira/browse/GRFT-63 Project: Graffito Type: Improvement Components: JCR-Mapping Reporter: Christophe Lombart Add new methods in the persistence manager to move and copy objects -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed Oct 12 21:32:31 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3651 invoked from network); 12 Oct 2005 21:32:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Oct 2005 21:32:31 -0000 Received: (qmail 2734 invoked by uid 500); 12 Oct 2005 21:32:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 2715 invoked by uid 99); 12 Oct 2005 21:32:30 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2005 14:32:28 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 2E9C6518 for <[email protected]>; Wed, 12 Oct 2005 23:32:07 +0200 (CEST) Message-ID: <[email protected]> Date: Wed, 12 Oct 2005 23:32:07 +0200 (CEST) From: "Christophe Lombart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (GRFT-63) Move & copy objects In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GRFT-63?page=all ] Christophe Lombart updated GRFT-63: ----------------------------------- Component: JCR-Mapping > Move & copy objects > ------------------- > > Key: GRFT-63 > URL: http://issues.apache.org/jira/browse/GRFT-63 > Project: Graffito > Type: Improvement > Components: JCR-Mapping > Reporter: Christophe Lombart > > Add new methods in the persistence manager to move and copy objects -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed Oct 12 21:32:50 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3785 invoked from network); 12 Oct 2005 21:32:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Oct 2005 21:32:50 -0000 Received: (qmail 2927 invoked by uid 500); 12 Oct 2005 21:32:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 2912 invoked by uid 99); 12 Oct 2005 21:32:49 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2005 14:32:47 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 0671151A for <[email protected]>; Wed, 12 Oct 2005 23:32:08 +0200 (CEST) Message-ID: <[email protected]> Date: Wed, 12 Oct 2005 23:32:08 +0200 (CEST) From: "Christophe Lombart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (GRFT-62) Clean-up the unit tests In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GRFT-62?page=all ] Christophe Lombart updated GRFT-62: ----------------------------------- Component: JCR-Mapping Version: 1.0-a1-dev > Clean-up the unit tests > ----------------------- > > Key: GRFT-62 > URL: http://issues.apache.org/jira/browse/GRFT-62 > Project: Graffito > Type: Improvement > Components: JCR-Mapping > Versions: 1.0-a1-dev > Reporter: Christophe Lombart > Assignee: Christophe Lombart > > Use startup / tearDown to init and remove the data -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed Oct 12 21:36:26 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4974 invoked from network); 12 Oct 2005 21:36:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Oct 2005 21:36:26 -0000 Received: (qmail 5538 invoked by uid 500); 12 Oct 2005 21:36:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 5527 invoked by uid 99); 12 Oct 2005 21:36:26 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2005 14:36:25 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id AE7EF511 for <[email protected]>; Wed, 12 Oct 2005 23:36:04 +0200 (CEST) Message-ID: <[email protected]> Date: Wed, 12 Oct 2005 23:36:04 +0200 (CEST) From: "Christophe Lombart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (GRFT-64) Add support for JCR Lock Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Add support for JCR Lock ------------------------ Key: GRFT-64 URL: http://issues.apache.org/jira/browse/GRFT-64 Project: Graffito Type: New Feature Components: JCR-Mapping Versions: 1.0-a1-dev Reporter: Christophe Lombart -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed Oct 12 21:38:28 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5780 invoked from network); 12 Oct 2005 21:38:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Oct 2005 21:38:28 -0000 Received: (qmail 8787 invoked by uid 500); 12 Oct 2005 21:38:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 8775 invoked by uid 99); 12 Oct 2005 21:38:27 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2005 14:38:25 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id A6254511 for <[email protected]>; Wed, 12 Oct 2005 23:38:04 +0200 (CEST) Message-ID: <[email protected]> Date: Wed, 12 Oct 2005 23:38:04 +0200 (CEST) From: "Christophe Lombart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (GRFT-65) Add support for JCR observation ? Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Add support for JCR observation ? ---------------------------------- Key: GRFT-65 URL: http://issues.apache.org/jira/browse/GRFT-65 Project: Graffito Type: New Feature Components: JCR-Mapping Versions: 1.0-a1-dev Reporter: Christophe Lombart Should we support JCR observation ? maybe by using another manager - it is usefull for this mapping framework ? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Fri Oct 14 21:03:07 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22646 invoked from network); 14 Oct 2005 21:03:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Oct 2005 21:03:07 -0000 Received: (qmail 47458 invoked by uid 500); 14 Oct 2005 21:03:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 47447 invoked by uid 99); 14 Oct 2005 21:03:06 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Oct 2005 14:03:06 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 22F47237 for <[email protected]>; Fri, 14 Oct 2005 23:02:45 +0200 (CEST) Message-ID: <[email protected]> Date: Fri, 14 Oct 2005 23:02:45 +0200 (CEST) From: "Christophe Lombart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (GRFT-62) Clean-up the unit tests In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GRFT-62?page=all ] Christophe Lombart closed GRFT-62: ---------------------------------- Resolution: Fixed Done > Clean-up the unit tests > ----------------------- > > Key: GRFT-62 > URL: http://issues.apache.org/jira/browse/GRFT-62 > Project: Graffito > Type: Improvement > Components: JCR-Mapping > Versions: 1.0-a1-dev > Reporter: Christophe Lombart > Assignee: Christophe Lombart > > Use startup / tearDown to init and remove the data -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Fri Oct 14 21:22:32 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28051 invoked from network); 14 Oct 2005 21:22:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Oct 2005 21:22:32 -0000 Received: (qmail 60258 invoked by uid 500); 14 Oct 2005 21:22:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 60174 invoked by uid 99); 14 Oct 2005 21:22:07 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Oct 2005 14:22:06 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 0BB25237 for <[email protected]>; Fri, 14 Oct 2005 23:21:45 +0200 (CEST) Message-ID: <[email protected]> Date: Fri, 14 Oct 2005 23:21:45 +0200 (CEST) From: "Christophe Lombart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (GRFT-58) Can be JcrMappingException type of RUNTIME exception? In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GRFT-58?page=comments#action_12332110 ] Christophe Lombart commented on GRFT-58: ---------------------------------------- Thanks for those nice articles. I'm ok to use runtime exceptions for most of the part of the code (eg. pck like mapper, collection converter, ... ) But what about the persistence manager methods ? eg. when you are not allowed to insert the object or why not delete the object ? I think checked exceptions are more appropriate like InsertObjectException, DeleteObjectExpcetion, ... What do you think about that ? > Can be JcrMappingException type of RUNTIME exception? > ----------------------------------------------------- > > Key: GRFT-58 > URL: http://issues.apache.org/jira/browse/GRFT-58 > Project: Graffito > Type: Improvement > Components: JCR-Mapping > Versions: 1.0-a1-dev > Reporter: Martin Koci > Assignee: Christophe Lombart > > http://www.mindview.net/Etc/Discussions/CheckedExceptions > http://www-128.ibm.com/developerworks/java/library/j-jtp05254.html > HibernateException is runtime too (from version 3.0) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Mon Oct 17 19:13:09 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66541 invoked from network); 17 Oct 2005 19:13:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Oct 2005 19:13:09 -0000 Received: (qmail 30388 invoked by uid 500); 17 Oct 2005 19:13:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 30376 invoked by uid 99); 17 Oct 2005 19:13:08 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Oct 2005 12:13:06 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id F1DC4DE for <[email protected]>; Mon, 17 Oct 2005 21:12:44 +0200 (CEST) Message-ID: <[email protected]> Date: Mon, 17 Oct 2005 21:12:44 +0200 (CEST) From: "Christophe Lombart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (GRFT-58) Can be JcrMappingException type of RUNTIME exception? In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GRFT-58?page=all ] Christophe Lombart resolved GRFT-58: ------------------------------------ Fix Version: 1.0-a1-dev Resolution: Fixed Now all all exceptions inherits from runtime exception. I created new exceptions : * PersistenceException throws when the persistence manager cannot insert, update, delete or retrieve an object * InitMapperException throws when the Mapper cannot read the xml mapping file * RepositoryException throws when something is wrong with the JCR repository Others ideas or comments are welcome. > Can be JcrMappingException type of RUNTIME exception? > ----------------------------------------------------- > > Key: GRFT-58 > URL: http://issues.apache.org/jira/browse/GRFT-58 > Project: Graffito > Type: Improvement > Components: JCR-Mapping > Versions: 1.0-a1-dev > Reporter: Martin Koci > Assignee: Christophe Lombart > Fix For: 1.0-a1-dev > > http://www.mindview.net/Etc/Discussions/CheckedExceptions > http://www-128.ibm.com/developerworks/java/library/j-jtp05254.html > HibernateException is runtime too (from version 3.0) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Thu Oct 20 19:11:14 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77294 invoked from network); 20 Oct 2005 19:11:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Oct 2005 19:11:14 -0000 Received: (qmail 51777 invoked by uid 500); 20 Oct 2005 19:11:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 51766 invoked by uid 99); 20 Oct 2005 19:11:13 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Oct 2005 12:11:13 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 4B1FD514 for <[email protected]>; Thu, 20 Oct 2005 21:10:45 +0200 (CEST) Message-ID: <[email protected]> Date: Thu, 20 Oct 2005 21:10:45 +0200 (CEST) From: "Christophe Lombart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (GRFT-40) Advanced support for JCR properties and node In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GRFT-40?page=comments#action_12332622 ] Christophe Lombart commented on GRFT-40: ---------------------------------------- Support for same-name siblings is done. Only the node.getNodes(nodepattern) is not yet supported but I think is is not a high priority. > Advanced support for JCR properties and node > -------------------------------------------- > > Key: GRFT-40 > URL: http://issues.apache.org/jira/browse/GRFT-40 > Project: Graffito > Type: Task > Components: JCR-Mapping > Reporter: Christophe Lombart > Fix For: 1.0-a1-dev > > - We have to support the following JCR Types : > * PropertyType.NAME > * PropertyType.PATH > * PropertyType.REFERENCE > * PropertyType.UNDEFINED > - Map UUID and the path into the POJO object > - Check if mandatory & auto created properties are well managed. More unit test are required. > - Support for same-name siblings : the query service should supported it ans we have also to support the method : node.getNodes(nodepattern). We have also to check if the insert, update and delete methods support correctly the same-name sibling. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Thu Oct 20 19:11:16 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77343 invoked from network); 20 Oct 2005 19:11:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Oct 2005 19:11:15 -0000 Received: (qmail 51876 invoked by uid 500); 20 Oct 2005 19:11:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 51859 invoked by uid 99); 20 Oct 2005 19:11:15 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Oct 2005 12:11:14 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id ACAB3591 for <[email protected]>; Thu, 20 Oct 2005 21:10:52 +0200 (CEST) Message-ID: <[email protected]> Date: Thu, 20 Oct 2005 21:10:52 +0200 (CEST) From: "Christophe Lombart (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (GRFT-46) Add version control in the PersistenceManager In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GRFT-46?page=all ] Christophe Lombart reassigned GRFT-46: -------------------------------------- Assign To: Christophe Lombart > Add version control in the PersistenceManager > --------------------------------------------- > > Key: GRFT-46 > URL: http://issues.apache.org/jira/browse/GRFT-46 > Project: Graffito > Type: Task > Components: JCR-Mapping > Reporter: Christophe Lombart > Assignee: Christophe Lombart > Fix For: 1.0-a1-dev > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Thu Oct 20 19:21:05 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83215 invoked from network); 20 Oct 2005 19:21:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Oct 2005 19:21:04 -0000 Received: (qmail 65191 invoked by uid 500); 20 Oct 2005 19:21:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 65146 invoked by uid 99); 20 Oct 2005 19:21:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Oct 2005 12:21:01 -0700 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=HTML_00_10,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Oct 2005 12:21:00 -0700 Received: by nproxy.gmail.com with SMTP id p46so73594nfa for <[email protected]>; Thu, 20 Oct 2005 12:20:38 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=gV9TQItnkBkRv4v1/Q7bjDkPSXpPd3P8kES7DWLJF7YhzO1hd5w6IoJFjjPBqNqW1aUJqtVDljLOd/nUISbRQ7C/jTBdxDpMe6OYDs4u45cCu4qukoT2dmXbdsiHJ/wkfAYqYdNj3yFkPlViXYVhAHRePJlAh/DbLXvH0Effki0= Received: by 161.129.204.104 with SMTP id k3mr155532nfh; Thu, 20 Oct 2005 12:20:38 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 20 Oct 2005 12:20:38 -0700 (PDT) Message-ID: <[email protected]> Date: Thu, 20 Oct 2005 21:20:38 +0200 From: Christophe Lombart <[email protected]> To: [email protected] Subject: Content Version support in Graffito MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_13870_11643173.1129836038381" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_13870_11643173.1129836038381 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi all, I'm still working on the JCR integration and I'm wondering what are our needs in point of view content versionning ? I would like to start with simple use cases but I want to know if someone has specific requirements. Furthermore, how do you see the versionning API in the JCR-mapping subproject ? Do we create a new component (like the QueryManager) or add new methods in the PersistenceManager ? All ideas, comments, thoughts are welcome. kind regards, Christophe ------=_Part_13870_11643173.1129836038381-- From [email protected] Sun Oct 23 20:27:01 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63177 invoked from network); 23 Oct 2005 20:27:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Oct 2005 20:27:01 -0000 Received: (qmail 59028 invoked by uid 500); 23 Oct 2005 20:27:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 59017 invoked by uid 99); 23 Oct 2005 20:27:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Oct 2005 13:27:00 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO aura.cz) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Oct 2005 13:26:58 -0700 Received: (qmail 11250 invoked from network); 23 Oct 2005 20:26:32 -0000 Received: from markoc.uvoz.aura.cz (HELO [161.129.204.104]) ([161.129.204.104]) (envelope-sender <[email protected]>) by aura.cz (qmail-ldap-1.03) with SMTP for <[email protected]>; 23 Oct 2005 20:26:32 -0000 Message-ID: <[email protected]> Date: Sun, 23 Oct 2005 22:22:26 +0200 From: Martin Koci <[email protected]> User-Agent: Thunderbird 1.4.1 (X11/20051006) MIME-Version: 1.0 To: [email protected] Subject: Re: Content Version support in Graffito References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, suggested API: void checkin(String absPath, Object versionableEntity, String[] newVersionNumbers) throws LockedException; void checkout(String absPath, Object versionableEntity) throws LockedException; String[] getVersionLabels(String absPath, Object cmsObject); void addVersionLabel(String absPath, Object entity, String versionLabel); and (maybe) working implementation: public void checkin(final String absPath, final Object versionableEntity, final String[] newVersionNumbers) throws LockedException { try { Node node = getNode(absPath); checkIfNodeLocked(absPath); Version newVersion = node.checkin(); VersionHistory versionHistory = node.getVersionHistory(); if (newVersionNumbers != null) { for (int i = 0; i < newVersionNumbers.length; i++) { String versionLabel = newVersionNumbers[i]; versionHistory.addVersionLabel(newVersion.getName(), versionLabel, false); } } } catch (UnsupportedRepositoryOperationException e) { // This catch UnsupportedRepositoryOperationException potentionally throwed with Node.checkout() // indicates that node is not versionable - it means coding bug in jcrmapping.xml/custom_nodes_types.xml throw new org.apache.portals.graffito.jcr.exception.RepositoryException("Node is not mix:versionable. Path: " + absPath, e); } catch (RepositoryException e) { // This typically 'If another error occurs'. throw new org.apache.portals.graffito.jcr.exception.RepositoryException("Unknown error on checkin: ", e); } } public void checkout(final String absPath, final Object versionableEntity) throws LockedException { Node node; try { checkIfNodeLocked(absPath); node = getNode(absPath); node.checkout(); } catch (UnsupportedRepositoryOperationException e) { // This catch UnsupportedRepositoryOperationException potentionally throwed with Node.checkout() // indicates that node is not versionable - it means coding bug in jcrmapping.xml throw new org.apache.portals.graffito.jcr.exception.RepositoryException("Node is not mix:versionable. Path: " + absPath, e); } catch (RepositoryException e) { // This eventually catch LockException e, but // this colud never happen - see upper code throw new org.apache.portals.graffito.jcr.exception.RepositoryException("Unknown error on checkout: ", e); } } public String[] getVersionLabels(final String absPath, final Object cmsObject) { try { Node node = getNode(absPath); VersionHistory vh = node.getVersionHistory(); VersionIterator versionIterator = vh.getAllVersions(); versionIterator.skip(1); vh.getBaseVersion(); Version version = versionIterator.nextVersion(); String[] versionLabels = vh.getVersionLabels(version); return versionLabels; } catch (UnsupportedRepositoryOperationException e) { // node.getVersionHistory() throws UnsupportedRepositoryOperationException if this node is not versionable. throw new org.apache.portals.graffito.jcr.exception.RepositoryException("Node is not versionable: " + absPath); } catch (RepositoryException e) { throw new org.apache.portals.graffito.jcr.exception.RepositoryException(e.getMessage(), e); } } public void addVersionLabel(final String absPath, final Object entity, final String versionLabel) { try { final Node node = getNode(absPath); final VersionHistory versionHistory = node.getVersionHistory(); final boolean moveLabel = false; versionHistory.addVersionLabel(node.getBaseVersion().getName(), versionLabel, moveLabel); } catch (UnsupportedRepositoryOperationException e) { // node.getVersionHistory() throws UnsupportedRepositoryOperationException if this node is not versionable. throw new org.apache.portals.graffito.jcr.exception.RepositoryException("Node is not versionable: " + absPath); } catch (RepositoryException e) { throw new org.apache.portals.graffito.jcr.exception.RepositoryException("Unknown error on addVersionLabel: ", e); } } Christophe Lombart wrote: > Hi all, > > I'm still working on the JCR integration and I'm wondering what are our > needs in point of view content versionning ? > I would like to start with simple use cases but I want to know if someone > has specific requirements. > > Furthermore, how do you see the versionning API in the JCR-mapping > subproject ? > Do we create a new component (like the QueryManager) or add new methods in > the PersistenceManager ? > > All ideas, comments, thoughts are welcome. > > kind regards, > Christophe > > From [email protected] Tue Oct 25 11:25:13 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48548 invoked from network); 25 Oct 2005 11:25:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Oct 2005 11:25:12 -0000 Received: (qmail 60592 invoked by uid 500); 25 Oct 2005 11:25:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 60581 invoked by uid 99); 25 Oct 2005 11:25:11 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Oct 2005 04:25:11 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO aura.cz) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Oct 2005 04:25:09 -0700 Received: (qmail 2266 invoked from network); 25 Oct 2005 11:24:30 -0000 Received: from markoc.uvoz.aura.cz (HELO [161.129.204.104]) ([161.129.204.104]) (envelope-sender <[email protected]>) by aura.cz (qmail-ldap-1.03) with SMTP for <[email protected]>; 25 Oct 2005 11:24:30 -0000 Message-ID: <[email protected]> Date: Tue, 25 Oct 2005 13:20:25 +0200 From: Martin Koci <[email protected]> User-Agent: Thunderbird 1.4.1 (X11/20051006) MIME-Version: 1.0 To: [email protected] Subject: Re: Content Version support in Graffito and design question References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, how to extends base behaviour of versioning ? I need two more properties on Version : comment (String) - simple description of something interesting with version authorId (String) - id of user witch performed checkin. With normal Node it's simple - custom node type. Is there any way to do something like that: <nodeType name="type:version" isMixin="false" hasOrderableChildNodes="false" > <supertypes> <supertype>nt:version</supertype> </supertypes> <propertyDefinition name="ext:comment" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" multiple="false" /> <propertyDefinition name="ext:authorId" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" multiple="false" /> </nodeType> Thanks, Martin Martin Koci wrote: > Hi, > suggested API: > void checkin(String absPath, Object versionableEntity, String[] > newVersionNumbers) throws LockedException; > void checkout(String absPath, Object versionableEntity) throws > LockedException; > String[] getVersionLabels(String absPath, Object cmsObject); > void addVersionLabel(String absPath, Object entity, String versionLabel); > > and (maybe) working implementation: > > public void checkin(final String absPath, final Object > versionableEntity, final String[] newVersionNumbers) throws > LockedException { > try { > Node node = getNode(absPath); > checkIfNodeLocked(absPath); > Version newVersion = node.checkin(); > VersionHistory versionHistory = node.getVersionHistory(); > > if (newVersionNumbers != null) { > for (int i = 0; i < newVersionNumbers.length; i++) { > String versionLabel = newVersionNumbers[i]; > versionHistory.addVersionLabel(newVersion.getName(), versionLabel, > false); > } > } > } catch (UnsupportedRepositoryOperationException e) { > // This catch UnsupportedRepositoryOperationException potentionally > throwed with Node.checkout() > // indicates that node is not versionable - it means coding bug in > jcrmapping.xml/custom_nodes_types.xml > throw new > org.apache.portals.graffito.jcr.exception.RepositoryException("Node is > not mix:versionable. Path: " + absPath, e); > } catch (RepositoryException e) { > // This typically 'If another error occurs'. > throw new > org.apache.portals.graffito.jcr.exception.RepositoryException("Unknown > error on checkin: ", e); > } > > } > > public void checkout(final String absPath, final Object > versionableEntity) throws LockedException { > Node node; > try { > checkIfNodeLocked(absPath); > node = getNode(absPath); > node.checkout(); > } catch (UnsupportedRepositoryOperationException e) { > // This catch UnsupportedRepositoryOperationException potentionally > throwed with Node.checkout() > // indicates that node is not versionable - it means coding bug in > jcrmapping.xml > throw new > org.apache.portals.graffito.jcr.exception.RepositoryException("Node is > not mix:versionable. Path: " + absPath, e); > } catch (RepositoryException e) { > // This eventually catch LockException e, but > // this colud never happen - see upper code > throw new > org.apache.portals.graffito.jcr.exception.RepositoryException("Unknown > error on checkout: ", e); > } > } > > > public String[] getVersionLabels(final String absPath, final Object > cmsObject) { > try { > Node node = getNode(absPath); > VersionHistory vh = node.getVersionHistory(); > VersionIterator versionIterator = vh.getAllVersions(); > versionIterator.skip(1); > vh.getBaseVersion(); > Version version = versionIterator.nextVersion(); > String[] versionLabels = vh.getVersionLabels(version); > return versionLabels; > } catch (UnsupportedRepositoryOperationException e) { > // node.getVersionHistory() throws > UnsupportedRepositoryOperationException if this node is not versionable. > throw new > org.apache.portals.graffito.jcr.exception.RepositoryException("Node is > not versionable: " + absPath); > } catch (RepositoryException e) { > throw new > org.apache.portals.graffito.jcr.exception.RepositoryException(e.getMessage(), > e); > } > > } > > public void addVersionLabel(final String absPath, final Object entity, > final String versionLabel) { > try { > final Node node = getNode(absPath); > final VersionHistory versionHistory = node.getVersionHistory(); > final boolean moveLabel = false; > versionHistory.addVersionLabel(node.getBaseVersion().getName(), > versionLabel, moveLabel); > } catch (UnsupportedRepositoryOperationException e) { > // node.getVersionHistory() throws > UnsupportedRepositoryOperationException if this node is not versionable. > throw new > org.apache.portals.graffito.jcr.exception.RepositoryException("Node is > not versionable: " + absPath); > } catch (RepositoryException e) { > throw new > org.apache.portals.graffito.jcr.exception.RepositoryException("Unknown > error on addVersionLabel: ", e); > } > } > > > Christophe Lombart wrote: >> Hi all, >> >> I'm still working on the JCR integration and I'm wondering what are our >> needs in point of view content versionning ? >> I would like to start with simple use cases but I want to know if >> someone >> has specific requirements. >> >> Furthermore, how do you see the versionning API in the JCR-mapping >> subproject ? >> Do we create a new component (like the QueryManager) or add new >> methods in >> the PersistenceManager ? >> >> All ideas, comments, thoughts are welcome. >> >> kind regards, >> Christophe >> > > > -- Mgr. Martin Kočí --------------------------------- AURA, s.r.o. Úvoz 499/56; 602 00 Brno ISO 9001 certifikovaná společnost tel./fax: 641.351.7091 e-mail: [email protected] internet: http://www.aura.cz http://www.j2ee.cz --------------------------------- From [email protected] Tue Oct 25 11:54:48 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68320 invoked from network); 25 Oct 2005 11:54:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Oct 2005 11:54:48 -0000 Received: (qmail 96538 invoked by uid 500); 25 Oct 2005 11:54:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 96527 invoked by uid 99); 25 Oct 2005 11:54:47 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Oct 2005 04:54:47 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Oct 2005 04:54:45 -0700 Received: by nproxy.gmail.com with SMTP id p46so219508nfa for <[email protected]>; Tue, 25 Oct 2005 04:54:25 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=ZhXrdGCnwlX0pea6BmKEwPMR5v9JwIRYRcx7hNpArePlmdt6EVXVEV1oa6mfyk0LeztvKAZyryTyTB21qChKnrt47NUiSBCvLqwD3ivx7sbf5yCKQYX1jfkZIm7PKaoA3OEXsd/MlW9Wjg4NIgZ1JmkbDj/p6/nF8NpZFKq9iyI= Received: by 161.129.204.104 with SMTP id k3mr442416nfh; Tue, 25 Oct 2005 04:54:25 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 25 Oct 2005 04:54:25 -0700 (PDT) Message-ID: <[email protected]> Date: Tue, 25 Oct 2005 13:54:25 +0200 From: Christophe Lombart <[email protected]> To: [email protected] Subject: Re: Content Version support in Graffito and design question In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3145_15910565.1130241265299" References: <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_3145_15910565.1130241265299 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: base64 Content-Disposition: inline SGkgTWFydGluLAoKVGhhbmtzIGZvciB5b3VyIGNvbnRyaWJ1dGlvbiwgaXQgbG9va3MgZ3JlYXQu CkknbSBidXN5IHdpdGggb3RoZXIgd29ya3MgYnV0IEkgcHJvbWlzZSB0byByZXZpZXcgYW5kIGNv bW1pdCB5b3VyIGNvZGUKdG9tb3Jvdy4KCkkgZG9uJ3Qga25vdyBob3cgdG8gZXh0ZW5kIHZlcnNp b24gbm9kZSB0eXBlLiBJIGhhdmUgdG8gcmV2aWV3IHRoZSBzcGVjIGJ1dApJIHRoaW5rIG50OnZl cnNpb24gaXMgcmVhZG9ubHkuClNvLCBJJ20gbm90IHN1cmUgdGhhdCBpcyBpdCBwb3NzaWJsZSB0 byB1cGRhdGUgdGhlIHZlcnNpb24gbm9kZSBwcm9wZXJ0aWVzLgpXZSBjYW4gc2VuZCB0aGUgcXVl c3Rpb24gdGhlIEphY2tyYWJiaXQgbWFpbGluZyBsaXN0LgoKa2luZCByZWdhcmRzLApDaHJpc3Rv cGhlCgoKCk9uIDEwLzI1LzA1LCBNYXJ0aW4gS29jaSA8bWFydGluLmtvY2lAYXVyYS5jej4gd3Jv dGU6Cj4KPiBIaSwgaG93IHRvIGV4dGVuZHMgYmFzZSBiZWhhdmlvdXIgb2YgdmVyc2lvbmluZyA/ Cj4gSSBuZWVkIHR3byBtb3JlIHByb3BlcnRpZXMgb24gVmVyc2lvbiA6Cj4KPiBjb21tZW50IChT dHJpbmcpIC0gc2ltcGxlIGRlc2NyaXB0aW9uIG9mIHNvbWV0aGluZyBpbnRlcmVzdGluZyB3aXRo Cj4gdmVyc2lvbgo+IGF1dGhvcklkIChTdHJpbmcpIC0gaWQgb2YgdXNlciB3aXRjaCBwZXJmb3Jt ZWQgY2hlY2tpbi4KPgo+IFdpdGggbm9ybWFsIE5vZGUgaXQncyBzaW1wbGUgLSBjdXN0b20gbm9k ZSB0eXBlLiBJcyB0aGVyZSBhbnkgd2F5IHRvIGRvCj4gc29tZXRoaW5nIGxpa2UgdGhhdDoKPgo+ IDxub2RlVHlwZSBuYW1lPSJ0eXBlOnZlcnNpb24iIGlzTWl4aW49ImZhbHNlIgo+IGhhc09yZGVy YWJsZUNoaWxkTm9kZXM9ImZhbHNlIiA+Cj4gPHN1cGVydHlwZXM+Cj4gPHN1cGVydHlwZT5udDp2 ZXJzaW9uPC9zdXBlcnR5cGU+Cj4gPC9zdXBlcnR5cGVzPgo+IDxwcm9wZXJ0eURlZmluaXRpb24g bmFtZT0iZXh0OmNvbW1lbnQiIHJlcXVpcmVkVHlwZT0iU3RyaW5nIgo+IGF1dG9DcmVhdGVkPSJm YWxzZSIgbWFuZGF0b3J5PSJmYWxzZSIgb25QYXJlbnRWZXJzaW9uPSJDT1BZIgo+IHByb3RlY3Rl ZD0iZmFsc2UiIG11bHRpcGxlPSJmYWxzZSIgLz4KPiA8cHJvcGVydHlEZWZpbml0aW9uIG5hbWU9 ImV4dDphdXRob3JJZCIgcmVxdWlyZWRUeXBlPSJTdHJpbmciCj4gYXV0b0NyZWF0ZWQ9ImZhbHNl IiBtYW5kYXRvcnk9ImZhbHNlIiBvblBhcmVudFZlcnNpb249IkNPUFkiCj4gcHJvdGVjdGVkPSJm YWxzZSIgbXVsdGlwbGU9ImZhbHNlIiAvPgo+IDwvbm9kZVR5cGU+Cj4KPiBUaGFua3MsCj4KPiBN YXJ0aW4KPgo+IE1hcnRpbiBLb2NpIHdyb3RlOgo+ID4gSGksCj4gPiBzdWdnZXN0ZWQgQVBJOgo+ ID4gdm9pZCBjaGVja2luKFN0cmluZyBhYnNQYXRoLCBPYmplY3QgdmVyc2lvbmFibGVFbnRpdHks IFN0cmluZ1tdCj4gPiBuZXdWZXJzaW9uTnVtYmVycykgdGhyb3dzIExvY2tlZEV4Y2VwdGlvbjsK PiA+IHZvaWQgY2hlY2tvdXQoU3RyaW5nIGFic1BhdGgsIE9iamVjdCB2ZXJzaW9uYWJsZUVudGl0 eSkgdGhyb3dzCj4gPiBMb2NrZWRFeGNlcHRpb247Cj4gPiBTdHJpbmdbXSBnZXRWZXJzaW9uTGFi ZWxzKFN0cmluZyBhYnNQYXRoLCBPYmplY3QgY21zT2JqZWN0KTsKPiA+IHZvaWQgYWRkVmVyc2lv bkxhYmVsKFN0cmluZyBhYnNQYXRoLCBPYmplY3QgZW50aXR5LCBTdHJpbmcKPiB2ZXJzaW9uTGFi ZWwpOwo+ID4KPiA+IGFuZCAobWF5YmUpIHdvcmtpbmcgaW1wbGVtZW50YXRpb246Cj4gPgo+ID4g cHVibGljIHZvaWQgY2hlY2tpbihmaW5hbCBTdHJpbmcgYWJzUGF0aCwgZmluYWwgT2JqZWN0Cj4g PiB2ZXJzaW9uYWJsZUVudGl0eSwgZmluYWwgU3RyaW5nW10gbmV3VmVyc2lvbk51bWJlcnMpIHRo cm93cwo+ID4gTG9ja2VkRXhjZXB0aW9uIHsKPiA+IHRyeSB7Cj4gPiBOb2RlIG5vZGUgPSBnZXRO b2RlKGFic1BhdGgpOwo+ID4gY2hlY2tJZk5vZGVMb2NrZWQoYWJzUGF0aCk7Cj4gPiBWZXJzaW9u IG5ld1ZlcnNpb24gPSBub2RlLmNoZWNraW4oKTsKPiA+IFZlcnNpb25IaXN0b3J5IHZlcnNpb25I aXN0b3J5ID0gbm9kZS5nZXRWZXJzaW9uSGlzdG9yeSgpOwo+ID4KPiA+IGlmIChuZXdWZXJzaW9u TnVtYmVycyAhPSBudWxsKSB7Cj4gPiBmb3IgKGludCBpID0gMDsgaSA8IG5ld1ZlcnNpb25OdW1i ZXJzLmxlbmd0aDsgaSsrKSB7Cj4gPiBTdHJpbmcgdmVyc2lvbkxhYmVsID0gbmV3VmVyc2lvbk51 bWJlcnNbaV07Cj4gPiB2ZXJzaW9uSGlzdG9yeS5hZGRWZXJzaW9uTGFiZWwobmV3VmVyc2lvbi5n ZXROYW1lKCksIHZlcnNpb25MYWJlbCwKPiA+IGZhbHNlKTsKPiA+IH0KPiA+IH0KPiA+IH0gY2F0 Y2ggKFVuc3VwcG9ydGVkUmVwb3NpdG9yeU9wZXJhdGlvbkV4Y2VwdGlvbiBlKSB7Cj4gPiAvLyBU aGlzIGNhdGNoIFVuc3VwcG9ydGVkUmVwb3NpdG9yeU9wZXJhdGlvbkV4Y2VwdGlvbiBwb3RlbnRp b25hbGx5Cj4gPiB0aHJvd2VkIHdpdGggTm9kZS5jaGVja291dCgpCj4gPiAvLyBpbmRpY2F0ZXMg dGhhdCBub2RlIGlzIG5vdCB2ZXJzaW9uYWJsZSAtIGl0IG1lYW5zIGNvZGluZyBidWcgaW4KPiA+ IGpjcm1hcHBpbmcueG1sL2N1c3RvbV9ub2Rlc190eXBlcy54bWwKPiA+IHRocm93IG5ldwo+ID4g b3JnLmFwYWNoZS5wb3J0YWxzLmdyYWZmaXRvLmpjci5leGNlcHRpb24uUmVwb3NpdG9yeUV4Y2Vw dGlvbigiTm9kZSBpcwo+ID4gbm90IG1peDp2ZXJzaW9uYWJsZS4gUGF0aDogIiArIGFic1BhdGgs IGUpOwo+ID4gfSBjYXRjaCAoUmVwb3NpdG9yeUV4Y2VwdGlvbiBlKSB7Cj4gPiAvLyBUaGlzIHR5 cGljYWxseSAnSWYgYW5vdGhlciBlcnJvciBvY2N1cnMnLgo+ID4gdGhyb3cgbmV3Cj4gPiBvcmcu YXBhY2hlLnBvcnRhbHMuZ3JhZmZpdG8uamNyLmV4Y2VwdGlvbi5SZXBvc2l0b3J5RXhjZXB0aW9u KCJVbmtub3duCj4gPiBlcnJvciBvbiBjaGVja2luOiAiLCBlKTsKPiA+IH0KPiA+Cj4gPiB9Cj4g Pgo+ID4gcHVibGljIHZvaWQgY2hlY2tvdXQoZmluYWwgU3RyaW5nIGFic1BhdGgsIGZpbmFsIE9i amVjdAo+ID4gdmVyc2lvbmFibGVFbnRpdHkpIHRocm93cyBMb2NrZWRFeGNlcHRpb24gewo+ID4g Tm9kZSBub2RlOwo+ID4gdHJ5IHsKPiA+IGNoZWNrSWZOb2RlTG9ja2VkKGFic1BhdGgpOwo+ID4g bm9kZSA9IGdldE5vZGUoYWJzUGF0aCk7Cj4gPiBub2RlLmNoZWNrb3V0KCk7Cj4gPiB9IGNhdGNo IChVbnN1cHBvcnRlZFJlcG9zaXRvcnlPcGVyYXRpb25FeGNlcHRpb24gZSkgewo+ID4gLy8gVGhp cyBjYXRjaCBVbnN1cHBvcnRlZFJlcG9zaXRvcnlPcGVyYXRpb25FeGNlcHRpb24gcG90ZW50aW9u YWxseQo+ID4gdGhyb3dlZCB3aXRoIE5vZGUuY2hlY2tvdXQoKQo+ID4gLy8gaW5kaWNhdGVzIHRo YXQgbm9kZSBpcyBub3QgdmVyc2lvbmFibGUgLSBpdCBtZWFucyBjb2RpbmcgYnVnIGluCj4gPiBq Y3JtYXBwaW5nLnhtbAo+ID4gdGhyb3cgbmV3Cj4gPiBvcmcuYXBhY2hlLnBvcnRhbHMuZ3JhZmZp dG8uamNyLmV4Y2VwdGlvbi5SZXBvc2l0b3J5RXhjZXB0aW9uKCJOb2RlIGlzCj4gPiBub3QgbWl4 OnZlcnNpb25hYmxlLiBQYXRoOiAiICsgYWJzUGF0aCwgZSk7Cj4gPiB9IGNhdGNoIChSZXBvc2l0 b3J5RXhjZXB0aW9uIGUpIHsKPiA+IC8vIFRoaXMgZXZlbnR1YWxseSBjYXRjaCBMb2NrRXhjZXB0 aW9uIGUsIGJ1dAo+ID4gLy8gdGhpcyBjb2x1ZCBuZXZlciBoYXBwZW4gLSBzZWUgdXBwZXIgY29k ZQo+ID4gdGhyb3cgbmV3Cj4gPiBvcmcuYXBhY2hlLnBvcnRhbHMuZ3JhZmZpdG8uamNyLmV4Y2Vw dGlvbi5SZXBvc2l0b3J5RXhjZXB0aW9uKCJVbmtub3duCj4gPiBlcnJvciBvbiBjaGVja291dDog IiwgZSk7Cj4gPiB9Cj4gPiB9Cj4gPgo+ID4KPiA+IHB1YmxpYyBTdHJpbmdbXSBnZXRWZXJzaW9u TGFiZWxzKGZpbmFsIFN0cmluZyBhYnNQYXRoLCBmaW5hbCBPYmplY3QKPiA+IGNtc09iamVjdCkg ewo+ID4gdHJ5IHsKPiA+IE5vZGUgbm9kZSA9IGdldE5vZGUoYWJzUGF0aCk7Cj4gPiBWZXJzaW9u SGlzdG9yeSB2aCA9IG5vZGUuZ2V0VmVyc2lvbkhpc3RvcnkoKTsKPiA+IFZlcnNpb25JdGVyYXRv ciB2ZXJzaW9uSXRlcmF0b3IgPSB2aC5nZXRBbGxWZXJzaW9ucygpOwo+ID4gdmVyc2lvbkl0ZXJh dG9yLnNraXAoMSk7Cj4gPiB2aC5nZXRCYXNlVmVyc2lvbigpOwo+ID4gVmVyc2lvbiB2ZXJzaW9u ID0gdmVyc2lvbkl0ZXJhdG9yLm5leHRWZXJzaW9uKCk7Cj4gPiBTdHJpbmdbXSB2ZXJzaW9uTGFi ZWxzID0gdmguZ2V0VmVyc2lvbkxhYmVscyh2ZXJzaW9uKTsKPiA+IHJldHVybiB2ZXJzaW9uTGFi ZWxzOwo+ID4gfSBjYXRjaCAoVW5zdXBwb3J0ZWRSZXBvc2l0b3J5T3BlcmF0aW9uRXhjZXB0aW9u IGUpIHsKPiA+IC8vIG5vZGUuZ2V0VmVyc2lvbkhpc3RvcnkoKSB0aHJvd3MKPiA+IFVuc3VwcG9y dGVkUmVwb3NpdG9yeU9wZXJhdGlvbkV4Y2VwdGlvbiBpZiB0aGlzIG5vZGUgaXMgbm90IHZlcnNp b25hYmxlLgo+ID4gdGhyb3cgbmV3Cj4gPiBvcmcuYXBhY2hlLnBvcnRhbHMuZ3JhZmZpdG8uamNy LmV4Y2VwdGlvbi5SZXBvc2l0b3J5RXhjZXB0aW9uKCJOb2RlIGlzCj4gPiBub3QgdmVyc2lvbmFi bGU6ICIgKyBhYnNQYXRoKTsKPiA+IH0gY2F0Y2ggKFJlcG9zaXRvcnlFeGNlcHRpb24gZSkgewo+ ID4gdGhyb3cgbmV3Cj4gPiBvcmcuYXBhY2hlLnBvcnRhbHMuZ3JhZmZpdG8uamNyLmV4Y2VwdGlv bi5SZXBvc2l0b3J5RXhjZXB0aW9uKAo+IGUuZ2V0TWVzc2FnZSgpLAo+ID4gZSk7Cj4gPiB9Cj4g Pgo+ID4gfQo+ID4KPiA+IHB1YmxpYyB2b2lkIGFkZFZlcnNpb25MYWJlbChmaW5hbCBTdHJpbmcg YWJzUGF0aCwgZmluYWwgT2JqZWN0IGVudGl0eSwKPiA+IGZpbmFsIFN0cmluZyB2ZXJzaW9uTGFi ZWwpIHsKPiA+IHRyeSB7Cj4gPiBmaW5hbCBOb2RlIG5vZGUgPSBnZXROb2RlKGFic1BhdGgpOwo+ ID4gZmluYWwgVmVyc2lvbkhpc3RvcnkgdmVyc2lvbkhpc3RvcnkgPSBub2RlLmdldFZlcnNpb25I aXN0b3J5KCk7Cj4gPiBmaW5hbCBib29sZWFuIG1vdmVMYWJlbCA9IGZhbHNlOwo+ID4gdmVyc2lv bkhpc3RvcnkuYWRkVmVyc2lvbkxhYmVsKG5vZGUuZ2V0QmFzZVZlcnNpb24oKS5nZXROYW1lKCks Cj4gPiB2ZXJzaW9uTGFiZWwsIG1vdmVMYWJlbCk7Cj4gPiB9IGNhdGNoIChVbnN1cHBvcnRlZFJl cG9zaXRvcnlPcGVyYXRpb25FeGNlcHRpb24gZSkgewo+ID4gLy8gbm9kZS5nZXRWZXJzaW9uSGlz dG9yeSgpIHRocm93cwo+ID4gVW5zdXBwb3J0ZWRSZXBvc2l0b3J5T3BlcmF0aW9uRXhjZXB0aW9u IGlmIHRoaXMgbm9kZSBpcyBub3QgdmVyc2lvbmFibGUuCj4gPiB0aHJvdyBuZXcKPiA+IG9yZy5h cGFjaGUucG9ydGFscy5ncmFmZml0by5qY3IuZXhjZXB0aW9uLlJlcG9zaXRvcnlFeGNlcHRpb24o Ik5vZGUgaXMKPiA+IG5vdCB2ZXJzaW9uYWJsZTogIiArIGFic1BhdGgpOwo+ID4gfSBjYXRjaCAo UmVwb3NpdG9yeUV4Y2VwdGlvbiBlKSB7Cj4gPiB0aHJvdyBuZXcKPiA+IG9yZy5hcGFjaGUucG9y dGFscy5ncmFmZml0by5qY3IuZXhjZXB0aW9uLlJlcG9zaXRvcnlFeGNlcHRpb24oIlVua25vd24K PiA+IGVycm9yIG9uIGFkZFZlcnNpb25MYWJlbDogIiwgZSk7Cj4gPiB9Cj4gPiB9Cj4gPgo+ID4K PiA+IENocmlzdG9waGUgTG9tYmFydCB3cm90ZToKPiA+PiBIaSBhbGwsCj4gPj4KPiA+PiBJJ20g c3RpbGwgd29ya2luZyBvbiB0aGUgSkNSIGludGVncmF0aW9uIGFuZCBJJ20gd29uZGVyaW5nIHdo YXQgYXJlIG91cgo+ID4+IG5lZWRzIGluIHBvaW50IG9mIHZpZXcgY29udGVudCB2ZXJzaW9ubmlu ZyA/Cj4gPj4gSSB3b3VsZCBsaWtlIHRvIHN0YXJ0IHdpdGggc2ltcGxlIHVzZSBjYXNlcyBidXQg SSB3YW50IHRvIGtub3cgaWYKPiA+PiBzb21lb25lCj4gPj4gaGFzIHNwZWNpZmljIHJlcXVpcmVt ZW50cy4KPiA+Pgo+ID4+IEZ1cnRoZXJtb3JlLCBob3cgZG8geW91IHNlZSB0aGUgdmVyc2lvbm5p bmcgQVBJIGluIHRoZSBKQ1ItbWFwcGluZwo+ID4+IHN1YnByb2plY3QgPwo+ID4+IERvIHdlIGNy ZWF0ZSBhIG5ldyBjb21wb25lbnQgKGxpa2UgdGhlIFF1ZXJ5TWFuYWdlcikgb3IgYWRkIG5ldwo+ ID4+IG1ldGhvZHMgaW4KPiA+PiB0aGUgUGVyc2lzdGVuY2VNYW5hZ2VyID8KPiA+Pgo+ID4+IEFs bCBpZGVhcywgY29tbWVudHMsIHRob3VnaHRzIGFyZSB3ZWxjb21lLgo+ID4+Cj4gPj4ga2luZCBy ZWdhcmRzLAo+ID4+IENocmlzdG9waGUKPiA+Pgo+ID4KPiA+Cj4gPgo+Cj4KPiAtLQo+IE1nci4g TWFydGluIEtv6O0KPiAtLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0KPiBBVVJBLCBz LnIuby4KPiDadm96IDQ5OS81NjsgNjAyIDAwIEJybm8KPiBJU08gOTAwMSBjZXJ0aWZpa292YW7h IHNwb2xl6G5vc3QKPiB0ZWwuL2ZheDogKzQyMCA1IDQzIDI0IDUxIDExCj4gZS1tYWlsOiBtYXJ0 aW4ua29jaUBhdXJhLmN6Cj4gaW50ZXJuZXQ6IGh0dHA6Ly93d3cuYXVyYS5jego+IGh0dHA6Ly93 d3cuajJlZS5jego+IC0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQo+Cj4K ------=_Part_3145_15910565.1130241265299-- From [email protected] Wed Oct 26 11:35:19 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 32658 invoked from network); 26 Oct 2005 11:35:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Oct 2005 11:35:19 -0000 Received: (qmail 92792 invoked by uid 500); 26 Oct 2005 11:35:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 92781 invoked by uid 99); 26 Oct 2005 11:35:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Oct 2005 04:35:18 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO aura.cz) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Oct 2005 04:35:14 -0700 Received: (qmail 6943 invoked from network); 26 Oct 2005 11:34:52 -0000 Received: from markoc.uvoz.aura.cz (HELO [161.129.204.104]) ([161.129.204.104]) (envelope-sender <[email protected]>) by aura.cz (qmail-ldap-1.03) with SMTP for <[email protected]>; 26 Oct 2005 11:34:52 -0000 Message-ID: <[email protected]> Date: Wed, 26 Oct 2005 13:30:47 +0200 From: Martin Koci <[email protected]> User-Agent: Thunderbird 1.4.1 (X11/20051006) MIME-Version: 1.0 To: [email protected] Subject: Re: Content Version support in Graffito References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Previous method getVersionLabels() was mistake, because there is no 'latest' version in JCR. Because version are stored as direct acyclic graph there is no information which version is the 'newest'. I think application logic must decide with version labels, so if my application support two dimensional versioning (1.0, 1.1, 2.0, 3.0 ..), method: public String[] getVersionLabels(final String absPath, final Object cmsObject) { try { Node node = getNode(absPath); VersionHistory vh = node.getVersionHistory(); String[] versionLabels = vh.getVersionLabels(); return versionLabels; } catch (UnsupportedRepositoryOperationException e) { // node.getVersionHistory() throws UnsupportedRepositoryOperationException if this node is not versionable. throw new org.apache.portals.graffito.jcr.exception.RepositoryException("Node is not versionable: " + absPath); } catch (RepositoryException e) { throw new org.apache.portals.graffito.jcr.exception.RepositoryException(e.getMessage(), e); } } is more appropriate. It returns ALL version labels for persistent object on some path and util method getLatestVersionLabel(versinLabels) returns 3.0 (from previous example). So then i know latest (newest) version. Martin Koci wrote: > Hi, > suggested API: > void checkin(String absPath, Object versionableEntity, String[] > newVersionNumbers) throws LockedException; > void checkout(String absPath, Object versionableEntity) throws > LockedException; > String[] getVersionLabels(String absPath, Object cmsObject); > void addVersionLabel(String absPath, Object entity, String versionLabel); > > and (maybe) working implementation: > > public void checkin(final String absPath, final Object > versionableEntity, final String[] newVersionNumbers) throws > LockedException { > try { > Node node = getNode(absPath); > checkIfNodeLocked(absPath); > Version newVersion = node.checkin(); > VersionHistory versionHistory = node.getVersionHistory(); > > if (newVersionNumbers != null) { > for (int i = 0; i < newVersionNumbers.length; i++) { > String versionLabel = newVersionNumbers[i]; > versionHistory.addVersionLabel(newVersion.getName(), versionLabel, > false); > } > } > } catch (UnsupportedRepositoryOperationException e) { > // This catch UnsupportedRepositoryOperationException potentionally > throwed with Node.checkout() > // indicates that node is not versionable - it means coding bug in > jcrmapping.xml/custom_nodes_types.xml > throw new > org.apache.portals.graffito.jcr.exception.RepositoryException("Node is > not mix:versionable. Path: " + absPath, e); > } catch (RepositoryException e) { > // This typically 'If another error occurs'. > throw new > org.apache.portals.graffito.jcr.exception.RepositoryException("Unknown > error on checkin: ", e); > } > > } > > public void checkout(final String absPath, final Object > versionableEntity) throws LockedException { > Node node; > try { > checkIfNodeLocked(absPath); > node = getNode(absPath); > node.checkout(); > } catch (UnsupportedRepositoryOperationException e) { > // This catch UnsupportedRepositoryOperationException potentionally > throwed with Node.checkout() > // indicates that node is not versionable - it means coding bug in > jcrmapping.xml > throw new > org.apache.portals.graffito.jcr.exception.RepositoryException("Node is > not mix:versionable. Path: " + absPath, e); > } catch (RepositoryException e) { > // This eventually catch LockException e, but > // this colud never happen - see upper code > throw new > org.apache.portals.graffito.jcr.exception.RepositoryException("Unknown > error on checkout: ", e); > } > } > > > public String[] getVersionLabels(final String absPath, final Object > cmsObject) { > try { > Node node = getNode(absPath); > VersionHistory vh = node.getVersionHistory(); > VersionIterator versionIterator = vh.getAllVersions(); > versionIterator.skip(1); > vh.getBaseVersion(); > Version version = versionIterator.nextVersion(); > String[] versionLabels = vh.getVersionLabels(version); > return versionLabels; > } catch (UnsupportedRepositoryOperationException e) { > // node.getVersionHistory() throws > UnsupportedRepositoryOperationException if this node is not versionable. > throw new > org.apache.portals.graffito.jcr.exception.RepositoryException("Node is > not versionable: " + absPath); > } catch (RepositoryException e) { > throw new > org.apache.portals.graffito.jcr.exception.RepositoryException(e.getMessage(), > e); > } > > } > > public void addVersionLabel(final String absPath, final Object entity, > final String versionLabel) { > try { > final Node node = getNode(absPath); > final VersionHistory versionHistory = node.getVersionHistory(); > final boolean moveLabel = false; > versionHistory.addVersionLabel(node.getBaseVersion().getName(), > versionLabel, moveLabel); > } catch (UnsupportedRepositoryOperationException e) { > // node.getVersionHistory() throws > UnsupportedRepositoryOperationException if this node is not versionable. > throw new > org.apache.portals.graffito.jcr.exception.RepositoryException("Node is > not versionable: " + absPath); > } catch (RepositoryException e) { > throw new > org.apache.portals.graffito.jcr.exception.RepositoryException("Unknown > error on addVersionLabel: ", e); > } > } > > > Christophe Lombart wrote: >> Hi all, >> >> I'm still working on the JCR integration and I'm wondering what are our >> needs in point of view content versionning ? >> I would like to start with simple use cases but I want to know if >> someone >> has specific requirements. >> >> Furthermore, how do you see the versionning API in the JCR-mapping >> subproject ? >> Do we create a new component (like the QueryManager) or add new >> methods in >> the PersistenceManager ? >> >> All ideas, comments, thoughts are welcome. >> >> kind regards, >> Christophe >> > > > -- Mgr. Martin Kočí --------------------------------- AURA, s.r.o. Úvoz 499/56; 602 00 Brno ISO 9001 certifikovaná společnost tel./fax: 641.351.7091 e-mail: [email protected] internet: http://www.aura.cz http://www.j2ee.cz --------------------------------- From [email protected] Wed Oct 26 12:17:07 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64029 invoked from network); 26 Oct 2005 12:17:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Oct 2005 12:17:05 -0000 Received: (qmail 54983 invoked by uid 500); 26 Oct 2005 12:17:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 54972 invoked by uid 99); 26 Oct 2005 12:17:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Oct 2005 05:17:04 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Oct 2005 05:17:00 -0700 Received: by nproxy.gmail.com with SMTP id p46so30657nfa for <[email protected]>; Wed, 26 Oct 2005 05:16:41 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=gRjwtoP4wf6cjD+9UaFzqK4zdEMi3x5uRv3oxw30bzEQJU2qz6QMfUUldv1QGhR0pJDd7Be9DQFEaxMrzttkilpkjXLJC08qAB17sdzhBl9m0FVoqKr+sbGwKHP2T6LKWe+C5eK1csSaGy2dlSy3qwLIitkP1wNNwxCPhzQJlbI= Received: by 161.129.204.104 with SMTP id m5mr193872nfh; Wed, 26 Oct 2005 05:16:41 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Wed, 26 Oct 2005 05:16:41 -0700 (PDT) Message-ID: <[email protected]> Date: Wed, 26 Oct 2005 14:16:41 +0200 From: Christophe Lombart <[email protected]> To: [email protected] Subject: Re: Content Version support in Graffito In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 10/26/05, Martin Koci <[email protected]> wrote: > Previous method getVersionLabels() was mistake, because there is no > 'latest' version in JCR. Because version are stored as direct acyclic > graph there is no information which version is the 'newest'. With simple tests, the newest is not the version provided by node.getBaseVersion() or VersionHistory.getRootVersion() I'm reviewing your code and I have some questions and remarks : 1.In the methods checkout, checkin, getVersionLabels, addVersionLabel : why the object versionableEntity is defined as an argument, it is not used in the method impl. I would like to use one of the following solution: * either use only the path * or either use only the object (if this one contains the UUID or the path). This imply a small refactoring on the others persistenceManager methods (as you suggested a couple of days before). 2.checkin : Why to split the version number into a String[]. I think a simple string arg is more open : checkin(String absPath, Object versionableEntity, String versionLabel) 3. Following the jackrabbit mailing list, extra version properties (user, comments, ...) has to be added into the matching node. christophe From [email protected] Wed Oct 26 12:33:35 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71693 invoked from network); 26 Oct 2005 12:33:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Oct 2005 12:33:35 -0000 Received: (qmail 74103 invoked by uid 500); 26 Oct 2005 12:33:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 74089 invoked by uid 99); 26 Oct 2005 12:33:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Oct 2005 05:33:34 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO aura.cz) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Oct 2005 05:33:32 -0700 Received: (qmail 9374 invoked from network); 26 Oct 2005 12:33:11 -0000 Received: from markoc.uvoz.aura.cz (HELO [161.129.204.104]) ([161.129.204.104]) (envelope-sender <[email protected]>) by aura.cz (qmail-ldap-1.03) with SMTP for <[email protected]>; 26 Oct 2005 12:33:11 -0000 Message-ID: <[email protected]> Date: Wed, 26 Oct 2005 14:29:06 +0200 From: Martin Koci <[email protected]> User-Agent: Thunderbird 1.4.1 (X11/20051006) MIME-Version: 1.0 To: [email protected] Subject: Re: Content Version support in Graffito References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Christophe Lombart wrote: > On 10/26/05, Martin Koci <[email protected]> wrote: > >> Previous method getVersionLabels() was mistake, because there is no >> 'latest' version in JCR. Because version are stored as direct acyclic >> graph there is no information which version is the 'newest'. >> > > With simple tests, the newest is not the version provided by > node.getBaseVersion() or VersionHistory.getRootVersion() > > I'm reviewing your code and I have some questions and remarks : > > 1.In the methods checkout, checkin, getVersionLabels, addVersionLabel > : why the object versionableEntity is defined as an argument, it is > not used in the method impl. > versionableEntity can be used to some checks like "this object is not stored on path". > I would like to use one of the following solution: > * either use only the path > * or either use only the object (if this one contains the UUID or the > path). This imply a small refactoring on the others persistenceManager > methods (as you suggested a couple of days before). > I think JCR is 'path-oriented' (or UUID-oriented) more then object-oriented. Operations are performed on paths not objects. So i think general API must always accept path or UUID but can contain method operating on mapped object: /** *@throws if object has no path or UUID mapping */ checkin(Object entity) throws NotIdentifiableObjectException > 2.checkin : Why to split the version number into a String[]. I think a > simple string arg is more open : checkin(String absPath, Object > versionableEntity, String versionLabel) > Because one version can have more labels. For example in my application one binary content of document has version labels '1.1' and 'B.1' > 3. Following the jackrabbit mailing list, extra version properties > (user, comments, ...) has to be added into the matching node. > > Yes, but not in my app. I solved it with domain object Version which stores additional information of each version. > christophe > > > From [email protected] Thu Oct 27 13:58:39 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12938 invoked from network); 27 Oct 2005 13:58:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Oct 2005 13:58:34 -0000 Received: (qmail 33516 invoked by uid 500); 27 Oct 2005 13:58:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 33442 invoked by uid 99); 27 Oct 2005 13:58:18 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Oct 2005 06:58:16 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 70CFD21E for <[email protected]>; Thu, 27 Oct 2005 15:57:55 +0200 (CEST) Message-ID: <[email protected]> Date: Thu, 27 Oct 2005 15:57:55 +0200 (CEST) From: "Martin Koci (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (GRFT-23) node type registration component In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GRFT-23?page=all ] Martin Koci updated GRFT-23: ---------------------------- Attachment: CustomNodeTypeCreatorImpl.patch SImple patch - using Jackrabbit internal API. > node type registration component > -------------------------------- > > Key: GRFT-23 > URL: http://issues.apache.org/jira/browse/GRFT-23 > Project: Graffito > Type: New Feature > Components: JCR-Mapping > Reporter: Sandro Boehme > Assignee: Sandro Boehme > Attachments: CustomNodeTypeCreatorImpl.patch > > It registers the node types of the mapping model. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Thu Oct 27 14:04:17 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22165 invoked from network); 27 Oct 2005 14:04:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Oct 2005 14:04:17 -0000 Received: (qmail 53047 invoked by uid 500); 27 Oct 2005 14:04:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 53036 invoked by uid 99); 27 Oct 2005 14:04:16 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Oct 2005 07:04:16 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 6840421E for <[email protected]>; Thu, 27 Oct 2005 16:03:55 +0200 (CEST) Message-ID: <[email protected]> Date: Thu, 27 Oct 2005 16:03:55 +0200 (CEST) From: "Martin Koci (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (GRFT-23) node type registration component In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GRFT-23?page=comments#action_12356085 ] Martin Koci commented on GRFT-23: --------------------------------- I suggest following: decouple API from PersistenceManagerImpl - it can use JCR session or JCR workspace. move to jackrabbit sub-package Question: when perform custom node type registration? Note types are shared over whole repository, but for registration: Session session = repository.login(..) session.getWorkspace().getNoteTypeManager() is needed - so it relies on logged user? > node type registration component > -------------------------------- > > Key: GRFT-23 > URL: http://issues.apache.org/jira/browse/GRFT-23 > Project: Graffito > Type: New Feature > Components: JCR-Mapping > Reporter: Sandro Boehme > Assignee: Sandro Boehme > Attachments: CustomNodeTypeCreatorImpl.patch > > It registers the node types of the mapping model. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Sun Oct 30 19:00:18 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20572 invoked from network); 30 Oct 2005 19:00:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Oct 2005 19:00:18 -0000 Received: (qmail 97439 invoked by uid 500); 30 Oct 2005 19:00:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 97426 invoked by uid 99); 30 Oct 2005 19:00:17 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Oct 2005 11:00:16 -0800 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id C71A6597 for <[email protected]>; Sun, 30 Oct 2005 19:59:55 +0100 (CET) Message-ID: <[email protected]> Date: Sun, 30 Oct 2005 19:59:55 +0100 (CET) From: =?UTF-8?Q?Oliver_Kie=C3=9Fler_=28JIRA=29?= <[email protected]> To: [email protected] Subject: [jira] Created: (GRFT-66) Creation of new subproject "jcr-nodemanagement" Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Creation of new subproject "jcr-nodemanagement" ----------------------------------------------- Key: GRFT-66 URL: http://issues.apache.org/jira/browse/GRFT-66 Project: Graffito Type: New Feature Environment: Maven Reporter: Oliver Kie=C3=9Fler Assigned to: Oliver Kie=C3=9Fler=20 There needs to be a new maven project for the jcr-nodemanagement tools. Thi= s subproject will provide an API targeted at the creation of JCR custom nod= e types which are needed by graffito (jcr-mapping) (based on the jcrmapping= xml file). --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Sun Oct 30 19:02:19 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21087 invoked from network); 30 Oct 2005 19:02:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Oct 2005 19:02:19 -0000 Received: (qmail 99018 invoked by uid 500); 30 Oct 2005 19:02:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 99007 invoked by uid 99); 30 Oct 2005 19:02:18 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Oct 2005 11:02:16 -0800 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 665CD597 for <[email protected]>; Sun, 30 Oct 2005 20:01:55 +0100 (CET) Message-ID: <{{EMAIL+PHONE}}> Date: Sun, 30 Oct 2005 20:01:55 +0100 (CET) From: =?UTF-8?Q?Oliver_Kie=C3=9Fler_=28JIRA=29?= <[email protected]> To: [email protected] Subject: [jira] Updated: (GRFT-66) Creation of new subproject "jcr-nodemanagement" In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GRFT-66?page=3Dall ] Oliver Kie=C3=9Fler updated GRFT-66: ------------------------------- Component: JCR-Nodemanagement > Creation of new subproject "jcr-nodemanagement" > ----------------------------------------------- > > Key: GRFT-66 > URL: http://issues.apache.org/jira/browse/GRFT-66 > Project: Graffito > Type: New Feature > Components: JCR-Nodemanagement > Environment: Maven > Reporter: Oliver Kie=C3=9Fler > Assignee: Oliver Kie=C3=9Fler > > There needs to be a new maven project for the jcr-nodemanagement tools. T= his subproject will provide an API targeted at the creation of JCR custom n= ode types which are needed by graffito (jcr-mapping) (based on the jcrmappi= ng xml file). --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Sun Oct 30 20:07:17 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46014 invoked from network); 30 Oct 2005 20:07:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Oct 2005 20:07:17 -0000 Received: (qmail 56199 invoked by uid 500); 30 Oct 2005 20:07:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 56188 invoked by uid 99); 30 Oct 2005 20:07:16 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Oct 2005 12:07:16 -0800 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 6C00C597 for <[email protected]>; Sun, 30 Oct 2005 21:06:55 +0100 (CET) Message-ID: <[email protected]> Date: Sun, 30 Oct 2005 21:06:55 +0100 (CET) From: =?UTF-8?Q?Oliver_Kie=C3=9Fler_=28JIRA=29?= <[email protected]> To: [email protected] Subject: [jira] Resolved: (GRFT-66) Creation of new subproject "jcr-nodemanagement" In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GRFT-66?page=3Dall ] =20 Oliver Kie=C3=9Fler resolved GRFT-66: -------------------------------- Resolution: Fixed Subversion import of new subproject is finished. > Creation of new subproject "jcr-nodemanagement" > ----------------------------------------------- > > Key: GRFT-66 > URL: http://issues.apache.org/jira/browse/GRFT-66 > Project: Graffito > Type: New Feature > Components: JCR-Nodemanagement > Environment: Maven > Reporter: Oliver Kie=C3=9Fler > Assignee: Oliver Kie=C3=9Fler > > There needs to be a new maven project for the jcr-nodemanagement tools. T= his subproject will provide an API targeted at the creation of JCR custom n= ode types which are needed by graffito (jcr-mapping) (based on the jcrmappi= ng xml file). --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Sun Oct 30 20:13:19 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47724 invoked from network); 30 Oct 2005 20:13:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Oct 2005 20:13:19 -0000 Received: (qmail 60828 invoked by uid 500); 30 Oct 2005 20:13:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 60817 invoked by uid 99); 30 Oct 2005 20:13:18 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Oct 2005 12:13:16 -0800 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 692D1597 for <[email protected]>; Sun, 30 Oct 2005 21:12:55 +0100 (CET) Message-ID: <[email protected]> Date: Sun, 30 Oct 2005 21:12:55 +0100 (CET) From: =?UTF-8?Q?Oliver_Kie=C3=9Fler_=28JIRA=29?= <[email protected]> To: [email protected] Subject: [jira] Commented: (GRFT-23) node type registration component In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GRFT-23?page=3Dcomments#action_1= 2356338 ]=20 Oliver Kie=C3=9Fler commented on GRFT-23: ------------------------------------ @Sandro: Are you still working on this? Christophe and I decided to create = a new subproject for JCR nodetype management. So if you have some code or = ideas, let's try to define a common API and merge it. > node type registration component > -------------------------------- > > Key: GRFT-23 > URL: http://issues.apache.org/jira/browse/GRFT-23 > Project: Graffito > Type: New Feature > Components: JCR-Mapping > Reporter: Sandro Boehme > Assignee: Sandro Boehme > Attachments: CustomNodeTypeCreatorImpl.patch > > It registers the node types of the mapping model. --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Sun Oct 30 20:16:21 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48664 invoked from network); 30 Oct 2005 20:16:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Oct 2005 20:16:20 -0000 Received: (qmail 65890 invoked by uid 500); 30 Oct 2005 20:16:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 65873 invoked by uid 99); 30 Oct 2005 20:16:19 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Oct 2005 12:16:17 -0800 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id AC910597 for <[email protected]>; Sun, 30 Oct 2005 21:15:56 +0100 (CET) Message-ID: <[email protected]> Date: Sun, 30 Oct 2005 21:15:56 +0100 (CET) From: =?UTF-8?Q?Oliver_Kie=C3=9Fler_=28JIRA=29?= <[email protected]> To: [email protected] Subject: [jira] Created: (GRFT-67) Definition of Nodetype Management API Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Definition of Nodetype Management API ------------------------------------- Key: GRFT-67 URL: http://issues.apache.org/jira/browse/GRFT-67 Project: Graffito Type: Task Components: JCR-Nodemanagement =20 Versions: 1.0-a1-dev =20 Reporter: Oliver Kie=C3=9Fler Assigned to: Oliver Kie=C3=9Fler=20 Fix For: 1.0-a1-dev Definition of the "nodemanagement API" in the org.apache.portals.graffito.j= cr.nodemanagement.NodeTypeManager interface. --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Mon Oct 31 14:31:28 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71966 invoked from network); 31 Oct 2005 14:31:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Oct 2005 14:31:16 -0000 Received: (qmail 48114 invoked by uid 500); 31 Oct 2005 14:30:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 47766 invoked by uid 99); 31 Oct 2005 14:30:28 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Oct 2005 06:30:25 -0800 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 4447068A for <[email protected]>; Mon, 31 Oct 2005 12:25:55 +0100 (CET) Message-ID: <[email protected]> Date: Mon, 31 Oct 2005 12:25:55 +0100 (CET) From: "Martin Koci (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (GRFT-68) Add method isPersistent(Class clazz): boolean to PersistenceManager API Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Add method isPersistent(Class clazz): boolean to PersistenceManager API ----------------------------------------------------------------------- Key: GRFT-68 URL: http://issues.apache.org/jira/browse/GRFT-68 Project: Graffito Type: New Feature Components: JCR-Mapping Reporter: Martin Koci Priority: Trivial In some cases I want to know if certains class (type) can be saved/deleted with instance of PM. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Mon Oct 31 15:03:16 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90797 invoked from network); 31 Oct 2005 15:03:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Oct 2005 15:03:15 -0000 Received: (qmail 97331 invoked by uid 500); 31 Oct 2005 15:03:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 97302 invoked by uid 99); 31 Oct 2005 15:03:07 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Oct 2005 07:03:07 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO aura.cz) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Oct 2005 07:03:02 -0800 Received: (qmail 15867 invoked from network); 31 Oct 2005 15:02:34 -0000 Received: from markoc.uvoz.aura.cz (HELO [161.129.204.104]) ([161.129.204.104]) (envelope-sender <[email protected]>) by aura.cz (qmail-ldap-1.03) with SMTP for <[email protected]>; 31 Oct 2005 15:02:34 -0000 Message-ID: <[email protected]> Date: Mon, 31 Oct 2005 15:58:31 +0100 From: Martin Koci <[email protected]> User-Agent: Thunderbird 1.4.1 (X11/20051006) MIME-Version: 1.0 To: [email protected] Subject: [jcr-mapping] Session lifecycle Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I have question about javax.jcr.Session management with jcr-mapping. Instance of PM encapsulates a session. But this session can be invalidated with session.logout(). Than session.isLive() returns false - also returns false if session times-out or is disconnected from repository for some reason. So such behavior may lead to : Caused by: javax.jcr.RepositoryException: this session has been [email protected](SessionImpl.java:329) at org.apache.jackrabbit.core.SessionImpl.itemExists(SessionImpl.java:743) at org.apache.portals.graffito.jcr.persistence.impl.PersistenceManagerImpl.objectExists(PersistenceManagerImpl.java:242) David Nuescheler recommends create new session on every request! See http://[email protected]/msg02273.html Because repository can disconnect session we cannot rely on instance in PM. There can be some re-new or re-connect logic. -- Mgr. Martin Kočí --------------------------------- AURA, s.r.o. Úvoz 499/56; 602 00 Brno ISO 9001 certifikovaná společnost tel./fax: 641.351.7091 e-mail: [email protected] internet: http://www.aura.cz http://www.j2ee.cz --------------------------------- From [email protected] Mon Oct 31 15:03:37 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90939 invoked from network); 31 Oct 2005 15:03:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Oct 2005 15:03:37 -0000 Received: (qmail 98402 invoked by uid 500); 31 Oct 2005 15:03:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <graffito-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 98349 invoked by uid 99); 31 Oct 2005 15:03:23 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Oct 2005 07:03:21 -0800 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 0AE7168F for <[email protected]>; Mon, 31 Oct 2005 12:30:56 +0100 (CET) Message-ID: <[email protected]> Date: Mon, 31 Oct 2005 12:30:56 +0100 (CET) From: "Martin Koci (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (GRFT-68) Add method isPersistent(Class clazz): boolean to PersistenceManager API In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GRFT-68?page=all ] Martin Koci updated GRFT-68: ---------------------------- Attachment: PersistenceManager.patch PersistenceManagerImpl.patch > Add method isPersistent(Class clazz): boolean to PersistenceManager API > ----------------------------------------------------------------------- > > Key: GRFT-68 > URL: http://issues.apache.org/jira/browse/GRFT-68 > Project: Graffito > Type: New Feature > Components: JCR-Mapping > Reporter: Martin Koci > Priority: Trivial > Attachments: PersistenceManager.patch, PersistenceManagerImpl.patch > > In some cases I want to know if certains class (type) can be saved/deleted with instance of PM. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
From [email protected] Sat Sep 06 19:50:30 2003 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88173 invoked from network); 6 Sep 2003 19:50:29 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 6 Sep 2003 19:50:29 -0000 Received: (qmail 34872 invoked by uid 500); 6 Sep 2003 19:50:16 -0000 Delivered-To: [email protected] Received: (qmail 34794 invoked by uid 500); 6 Sep 2003 19:50:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 34479 invoked from network); 6 Sep 2003 19:50:10 -0000 Received: from unknown (HELO localhost.localdomain) (161.129.204.104) by daedalus.apache.org with SMTP; 6 Sep 2003 19:50:10 -0000 Received: from finemaltcoding.com (localhost.localdomain [161.129.204.104]) by localhost.localdomain (8.12.5/8.12.5) with ESMTP id h86Jnndk006032; Sat, 6 Sep 2003 12:49:50 -0700 Message-ID: <[email protected]> Date: Sat, 06 Sep 2003 12:49:49 -0700 From: Daniel Rall <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030701 X-Accept-Language: en, en-us, ja, ko MIME-Version: 1.0 To: [email protected] CC: [email protected], [email protected] Subject: Re: Change CVS module names (Next week) References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Sam Ruby wrote: > Davanum Srinivas wrote: > >> >> xml-rpc ==> ws-rpc > > > That particular one should either be ws-xmlrpc or ws-xml-rpc. Considering the canonical URL namespace (http://ws.apache.org/xmlrpc/) and the mailing list names ([email protected]), "ws-xmlrpc" would be more consistent. - Dan From [email protected] Sat Sep 06 20:12:32 2003 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92458 invoked from network); 6 Sep 2003 20:12:32 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 6 Sep 2003 20:12:32 -0000 Received: (qmail 64372 invoked by uid 500); 6 Sep 2003 20:06:56 -0000 Delivered-To: [email protected] Received: (qmail 64348 invoked by uid 500); 6 Sep 2003 20:06:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 64326 invoked from network); 6 Sep 2003 20:06:55 -0000 Received: from unknown (HELO web12801.mail.yahoo.com) (161.129.204.104) by daedalus.apache.org with SMTP; 6 Sep 2003 20:06:55 -0000 Message-ID: <[email protected]> Received: from [161.129.204.104] by web12801.mail.yahoo.com via HTTP; Sat, 06 Sep 2003 12:59:20 PDT Date: Sat, 6 Sep 2003 12:59:20 -0700 (PDT) From: Davanum Srinivas <[email protected]> Reply-To: [email protected] Subject: Re: Change CVS module names (Next week) To: [email protected] Cc: [email protected], [email protected] In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N +1. --- Daniel Rall <[email protected]> wrote: > Sam Ruby wrote: > > Davanum Srinivas wrote: > > > >> > >> xml-rpc ==> ws-rpc > > > > > > That particular one should either be ws-xmlrpc or ws-xml-rpc. > > Considering the canonical URL namespace (http://ws.apache.org/xmlrpc/) > and the mailing list names ([email protected]), "ws-xmlrpc" would > be more consistent. > > - Dan > ===== Davanum Srinivas - http://webservices.apache.org/~dims/ From [email protected] Wed Sep 10 13:28:49 2003 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 34453 invoked from network); 10 Sep 2003 13:28:48 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 10 Sep 2003 13:28:48 -0000 Received: (qmail 51434 invoked by uid 500); 10 Sep 2003 13:28:43 -0000 Delivered-To: [email protected] Received: (qmail 51408 invoked by uid 500); 10 Sep 2003 13:28:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 51315 invoked from network); 10 Sep 2003 13:28:41 -0000 Received: from unknown (HELO minotaur.apache.org) (161.129.204.104) by daedalus.apache.org with SMTP; 10 Sep 2003 13:28:41 -0000 Received: (qmail 34064 invoked from network); 10 Sep 2003 13:28:44 -0000 Received: from unknown (HELO apache.org) (161.129.204.104) by localhost with SMTP; 10 Sep 2003 13:28:44 -0000 Message-ID: <[email protected]> Date: Wed, 10 Sep 2003 15:30:12 +0200 From: Henri Gomez <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.4) Gecko/20030624 X-Accept-Language: fr, en MIME-Version: 1.0 To: [email protected] Subject: XMLRPC updates ? Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: localhost 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi to all, I'm working primary on Tomcat but had to use XML-RPC stuff in my day job, and of course I selected the Apache solution BTW, I saw some annoying problems : Working in the financial area, I manage number which should be exact, so I used BigDecimal instead of double or Double. In XmlWriter.writeObject there is : else if (obj instanceof Double || obj instanceof Float) { startElement("double"); write(obj.toString()); endElement("double"); } Could it be extended to : else if (obj instanceof Double || obj instanceof Float || obj instanceof BigDecimal) { startElement("double"); write(obj.toString()); endElement("double"); } Also, I notice the worker are created but never released, it is normal ? In fine did there is a release date for XML-RPC 1.2 ? Regards From [email protected] Fri Sep 12 07:51:34 2003 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84456 invoked from network); 12 Sep 2003 07:51:34 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 12 Sep 2003 07:51:34 -0000 Received: (qmail 80423 invoked by uid 500); 12 Sep 2003 07:51:09 -0000 Delivered-To: [email protected] Received: (qmail 80402 invoked by uid 500); 12 Sep 2003 07:51:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 80381 invoked from network); 12 Sep 2003 07:51:08 -0000 Received: from unknown (HELO minotaur.apache.org) (161.129.204.104) by daedalus.apache.org with SMTP; 12 Sep 2003 07:51:08 -0000 Received: (qmail 84431 invoked from network); 12 Sep 2003 07:51:31 -0000 Received: from unknown (HELO apache.org) (161.129.204.104) by localhost with SMTP; 12 Sep 2003 07:51:31 -0000 Message-ID: <[email protected]> Date: Fri, 12 Sep 2003 09:52:48 +0200 From: Henri Gomez <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.4) Gecko/20030624 X-Accept-Language: fr, en MIME-Version: 1.0 To: [email protected] Subject: Ping-Pong Was: XMLRPC updates ? References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Rating: localhost 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Did there is still somebody on this list ? Henri Gomez a écrit : > Hi to all, > > I'm working primary on Tomcat but had to use XML-RPC stuff in > my day job, and of course I selected the Apache solution > > BTW, I saw some annoying problems : > > Working in the financial area, I manage number which should > be exact, so I used BigDecimal instead of double or Double. > > In XmlWriter.writeObject there is : > > else if (obj instanceof Double || obj instanceof Float) > { > startElement("double"); > write(obj.toString()); > endElement("double"); > } > > > Could it be extended to : > > else if (obj instanceof Double || obj instanceof Float || > obj instanceof BigDecimal) > { > startElement("double"); > write(obj.toString()); > endElement("double"); > } > > Also, I notice the worker are created but never released, it is normal ? > > > In fine did there is a release date for XML-RPC 1.2 ? > > > Regards > > > > > > From [email protected] Fri Sep 12 09:44:09 2003 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30302 invoked from network); 12 Sep 2003 09:44:09 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 12 Sep 2003 09:44:09 -0000 Received: (qmail 91084 invoked by uid 500); 12 Sep 2003 09:43:42 -0000 Delivered-To: [email protected] Received: (qmail 91059 invoked by uid 500); 12 Sep 2003 09:43:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 91045 invoked by uid 500); 12 Sep 2003 09:43:41 -0000 Delivered-To: [email protected] Received: (qmail 91035 invoked from network); 12 Sep 2003 09:43:41 -0000 Received: from unknown (HELO minotaur.apache.org) (161.129.204.104) by daedalus.apache.org with SMTP; 12 Sep 2003 09:43:41 -0000 Received: (qmail 30278 invoked by uid 1576); 12 Sep 2003 09:44:07 -0000 Date: 12 Sep 2003 09:44:07 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: xml-rpc/src/java/org/apache/xmlrpc TypeDecoder.java DefaultTypeDecoder.java XmlWriter.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N aevers 2003/09/12 02:44:07 Modified: src/java/org/apache/xmlrpc XmlWriter.java Added: src/java/org/apache/xmlrpc TypeDecoder.java DefaultTypeDecoder.java Log: Allow more Java types to be encoded as <i4> and <double>. Default implementation works as specified. Developers can override the behaviour of the DefaultTypeEncoder and specify other Java types to be encoded as these tags. Revision Changes Path 1.9 +13 -2 xml-rpc/src/java/org/apache/xmlrpc/XmlWriter.java Index: XmlWriter.java =================================================================== RCS file: /home/cvs/xml-rpc/src/java/org/apache/xmlrpc/XmlWriter.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- XmlWriter.java 1 May 2003 16:53:15 -0000 1.8 +++ XmlWriter.java 12 Sep 2003 09:44:06 -0000 1.9 @@ -104,6 +104,11 @@ protected static final Base64 base64Codec = new Base64(); /** + * Class to delegate type decoding to. + */ + protected static TypeDecoder typeDecoder; + + /** * Mapping between Java encoding names and "real" names used in * XML prolog. */ @@ -113,6 +118,7 @@ { encodings.put(UTF8, "UTF-8"); encodings.put(ISO8859_1, "ISO-8859-1"); + typeDecoder = new DefaultTypeDecoder(); } /** @@ -177,7 +183,7 @@ { chardata(obj.toString()); } - else if (obj instanceof Integer) + else if (typeDecoder.isXmlRpcI4(obj)) { startElement("int"); write(obj.toString()); @@ -189,7 +195,7 @@ write(((Boolean) obj).booleanValue() ? "1" : "0"); endElement("boolean"); } - else if (obj instanceof Double || obj instanceof Float) + else if (typeDecoder.isXmlRpcDouble(obj)) { startElement("double"); write(obj.toString()); @@ -358,5 +364,10 @@ } } } + } + + protected static void setTypeDecoder(TypeDecoder newTypeDecoder) + { + typeDecoder = newTypeDecoder; } } 1.1 xml-rpc/src/java/org/apache/xmlrpc/TypeDecoder.java Index: TypeDecoder.java =================================================================== package org.apache.xmlrpc; /* * 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 "XML-RPC" 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 [email protected]. * * 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/>. */ /** * Allows developers to customize the types translated to the XML-RPC * &lt;i4&gt; and &lt;double&gt . * * @author <a href="mailto:[email protected]">Andrew Evers</a> * @see org.apache.xmlrpc.DefaultTypeDecoder * @since 1.2 */ public interface TypeDecoder { /** * Test if a local object translates to an &lt;i4&gt; tag. */ public boolean isXmlRpcI4(Object o); /** * Test if a local object translates to a &lt;double&gt; tag. */ public boolean isXmlRpcDouble(Object o); } 1.1 xml-rpc/src/java/org/apache/xmlrpc/DefaultTypeDecoder.java Index: DefaultTypeDecoder.java =================================================================== package org.apache.xmlrpc; /* * 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 "XML-RPC" 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 [email protected]. * * 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/>. */ /** * The default implementation of the <code>TypeDecoder</code> * interface. Provides the following mappings: * * <table cellpadding="3" cellspacing="2" border="1" width="100%"> * <tr><th>XML-RPC data type</th> <th>Java class</th></tr> * <tr><td>&lt;i4&gt; or &lt;int&gt;</td> <td>java.lang.Integer</td></tr> * <tr><td>&lt;double&gt;</td> <td>java.lang.Double, java.lang.Float</td></tr> * </table> * * @author <a href="mailto:[email protected]">Andrew Evers</a> * @see org.apache.xmlrpc.TypeDecoder * @since 1.2 */ public class DefaultTypeDecoder implements TypeDecoder { /** * Creates a new instance. */ public DefaultTypeDecoder() { } public boolean isXmlRpcI4(Object o) { return (o instanceof Integer); } public boolean isXmlRpcDouble(Object o) { return (o instanceof Float || o instanceof Double); } } From [email protected] Fri Sep 12 09:45:59 2003 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31202 invoked from network); 12 Sep 2003 09:45:59 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 12 Sep 2003 09:45:59 -0000 Received: (qmail 94874 invoked by uid 500); 12 Sep 2003 09:45:32 -0000 Delivered-To: [email protected] Received: (qmail 94842 invoked by uid 500); 12 Sep 2003 09:45:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 94830 invoked from network); 12 Sep 2003 09:45:31 -0000 Received: from unknown (HELO mail.redwood.nl) (161.129.204.104) by daedalus.apache.org with SMTP; 12 Sep 2003 09:45:31 -0000 Received: (from root@localhost) by mail.redwood.nl (8.12.1/8.12.1) id h8C9id99001695 for [email protected]; Fri, 12 Sep 2003 11:44:39 +0200 Received: from redwood.com (skippy.dev.redwood.nl [161.129.204.104]) by lx10.redwood.nl (8.12.1/8.12.1) with ESMTP id h8C9icRx001670 for <[email protected]>; Fri, 12 Sep 2003 11:44:38 +0200 Message-ID: <[email protected]> Date: Fri, 12 Sep 2003 11:46:03 +0200 From: Andrew Evers <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: XMLRPC updates ? References: <[email protected]> In-Reply-To: <[email protected]> X-scanner: email scanned by Redwood Software and Services Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Henri Gomez wrote: > Working in the financial area, I manage number which should > be exact, so I used BigDecimal instead of double or Double. > > Could it be extended to : > > else if (obj instanceof Double || obj instanceof Float || > obj instanceof BigDecimal) > { > startElement("double"); > write(obj.toString()); > endElement("double"); > } See the commit message to this list for the changes I made to support this in a more generic manner. To support your scenario, you will need to extend DefaultTypeFactory and override isXmlRpcDouble() and provide your own implementation. Then, call XmlWriter.setTypeDecoder() to use your type decoder instead of the default. You will also need to use the TypeFactory support in addition to this to ensure that <double> is decoded as BigDecimals when responses come back. > Also, I notice the worker are created but never released, it is normal ? The workers are pooled. If there are a lot of workers it means that a lot of requests are being processed. Andrew. From [email protected] Fri Sep 12 10:04:04 2003 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37909 invoked from network); 12 Sep 2003 10:04:03 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 12 Sep 2003 10:04:03 -0000 Received: (qmail 12748 invoked by uid 500); 12 Sep 2003 10:03:37 -0000 Delivered-To: [email protected] Received: (qmail 12605 invoked by uid 500); 12 Sep 2003 10:03:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 12594 invoked from network); 12 Sep 2003 10:03:36 -0000 Received: from unknown (HELO minotaur.apache.org) (161.129.204.104) by daedalus.apache.org with SMTP; 12 Sep 2003 10:03:36 -0000 Received: (qmail 37901 invoked from network); 12 Sep 2003 10:04:01 -0000 Received: from unknown (HELO apache.org) (161.129.204.104) by localhost with SMTP; 12 Sep 2003 10:04:01 -0000 Message-ID: <[email protected]> Date: Fri, 12 Sep 2003 12:05:16 +0200 From: Henri Gomez <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.4) Gecko/20030624 X-Accept-Language: fr, en MIME-Version: 1.0 To: [email protected] Subject: Re: XMLRPC updates ? References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Rating: localhost 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Andrew Evers a écrit : > Henri Gomez wrote: > >> Working in the financial area, I manage number which should >> be exact, so I used BigDecimal instead of double or Double. >> >> Could it be extended to : >> >> else if (obj instanceof Double || obj instanceof Float || >> obj instanceof BigDecimal) >> { >> startElement("double"); >> write(obj.toString()); >> endElement("double"); >> } > > > See the commit message to this list for the changes I made to support > this in a more generic manner. To support your scenario, you will need > to extend DefaultTypeFactory and override isXmlRpcDouble() and provide > your own implementation. Then, call XmlWriter.setTypeDecoder() to use > your type decoder instead of the default. > > You will also need to use the TypeFactory support in addition to this to > ensure that <double> is decoded as BigDecimals when responses come back. Great. >> Also, I notice the worker are created but never released, it is normal ? > > > The workers are pooled. If there are a lot of workers it means that a > lot of requests are being processed. Yes, I understand that, under heavy load the number workers of is increased but they are never removed when the load fall. For example in jakarta-tomcat-connectors, used by Tomcats, there is a Thread pool which increase to follow load but they are recycled and removed when the load decrease. The idea will be to have : min workers, max workers, idle workers. You could have up to max workers, never less than min workers and ensure that there is no more than X idle workers. Just my .1 EUR ;) From [email protected] Fri Sep 12 10:05:33 2003 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38511 invoked from network); 12 Sep 2003 10:05:33 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 12 Sep 2003 10:05:33 -0000 Received: (qmail 13692 invoked by uid 500); 12 Sep 2003 10:05:06 -0000 Delivered-To: [email protected] Received: (qmail 13665 invoked by uid 500); 12 Sep 2003 10:05:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 13654 invoked from network); 12 Sep 2003 10:05:05 -0000 Received: from unknown (HELO minotaur.apache.org) (161.129.204.104) by daedalus.apache.org with SMTP; 12 Sep 2003 10:05:05 -0000 Received: (qmail 38490 invoked from network); 12 Sep 2003 10:05:31 -0000 Received: from unknown (HELO apache.org) (161.129.204.104) by localhost with SMTP; 12 Sep 2003 10:05:31 -0000 Message-ID: <[email protected]> Date: Fri, 12 Sep 2003 12:06:46 +0200 From: Henri Gomez <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.4) Gecko/20030624 X-Accept-Language: fr, en MIME-Version: 1.0 To: [email protected] Subject: XMLRPC 1.2 release date References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: localhost 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Did there is a release date for 1.2 ? The latest commit from Andrew match my need for BigDecimal support but I'll have to use a release version in my work, not one from HEAD (yes it's a shame but you know how IT managers are). Regards From [email protected] Fri Sep 12 11:19:38 2003 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69614 invoked from network); 12 Sep 2003 11:19:37 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 12 Sep 2003 11:19:37 -0000 Received: (qmail 92223 invoked by uid 500); 12 Sep 2003 11:19:04 -0000 Delivered-To: [email protected] Received: (qmail 91713 invoked by uid 500); 12 Sep 2003 11:18:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 91499 invoked from network); 12 Sep 2003 11:18:57 -0000 Received: from unknown (HELO web12811.mail.yahoo.com) (161.129.204.104) by daedalus.apache.org with SMTP; 12 Sep 2003 11:18:57 -0000 Message-ID: <[email protected]> Received: from [161.129.204.104] by web12811.mail.yahoo.com via HTTP; Fri, 12 Sep 2003 04:18:58 PDT Date: Fri, 12 Sep 2003 04:18:58 -0700 (PDT) From: Davanum Srinivas <[email protected]> Reply-To: [email protected] Subject: CVS Modules for Web Services projects To: [email protected] Cc: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi all, Sorry for the huge cross-posting. We are in the process of renaming all the CVS Modules for Web Services projects from xml-* to ws-*. See below for list of new module names. The old module names link to the new ones (so you can submit changes if still have some) BUT only till end of this month. At the end of the month, we will disable xml-* (for example xml-axis) and you will need to use ws-* (for example ws-axis), at which time you can use tools like cvsed (http://cvs-tools.sourceforge.net/cvsed.html) to migrate. If you need to discuss this further, please post to [email protected] ONLY. Existing Projects: http://cvs.apache.org/viewcvs.cgi/ws-admin/ http://cvs.apache.org/viewcvs.cgi/ws-axis/ http://cvs.apache.org/viewcvs.cgi/ws-site/ http://cvs.apache.org/viewcvs.cgi/ws-soap/ http://cvs.apache.org/viewcvs.cgi/ws-wsif/ http://cvs.apache.org/viewcvs.cgi/ws-wsil/ http://cvs.apache.org/viewcvs.cgi/ws-xmlrpc/ New Projects being incubated: http://cvs.apache.org/viewcvs.cgi/ws-wsrp4j/ http://cvs.apache.org/viewcvs.cgi/ws-jaxme/ Discussion about CVS module rename happened on [email protected] mailing list: http://marc.theaimsgroup.com/?t=106285524000001&r=1&w=2 http://marc.theaimsgroup.com/?t=106285856700002&r=1&w=2 Thanks, dims ===== Davanum Srinivas - http://webservices.apache.org/~dims/ From [email protected] Mon Sep 15 12:14:48 2003 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 62636 invoked from network); 15 Sep 2003 12:14:47 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 15 Sep 2003 12:14:47 -0000 Received: (qmail 45164 invoked by uid 500); 15 Sep 2003 12:14:44 -0000 Delivered-To: [email protected] Received: (qmail 45142 invoked by uid 500); 15 Sep 2003 12:14:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 43328 invoked by uid 500); 15 Sep 2003 12:10:40 -0000 Delivered-To: [email protected] Date: 15 Sep 2003 12:10:42 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-xmlrpc project.xml X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N dims 2003/09/15 05:10:42 Modified: xdocs download.xml . project.xml Log: Updated xmlrpc sub project to use the mirror. Revision Changes Path 1.3 +1 -1 ws-xmlrpc/xdocs/download.xml Index: download.xml =================================================================== RCS file: /home/cvs/ws-xmlrpc/xdocs/download.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- download.xml 29 Jan 2003 01:39:58 -0000 1.2 +++ download.xml 15 Sep 2003 12:10:42 -0000 1.3 @@ -10,7 +10,7 @@ <section name="Downloading Apache XML-RPC"> <p> You can download the latest release version from the -<a href="http://xml.apache.org/dist/xmlrpc/">distribution directory</a>. +<a href="http://www.apache.org/dyn/closer.cgi/ws/xmlrpc/">distribution directory</a>. </p> <p> Alternatively, you can get the latest code snapshot via 1.21 +1 -1 ws-xmlrpc/project.xml Index: project.xml =================================================================== RCS file: /home/cvs/ws-xmlrpc/project.xml,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- project.xml 1 May 2003 16:53:15 -0000 1.20 +++ project.xml 15 Sep 2003 12:10:42 -0000 1.21 @@ -33,7 +33,7 @@ <issueTrackingUrl>http://nagoya.apache.org/bugzilla/query.cgi?product=XML-RPC</issueTrackingUrl> <siteAddress>ws.apache.org</siteAddress> <siteDirectory>/www/ws.apache.org/xmlrpc/</siteDirectory> - <distributionDirectory>/www/ws.apache.org/dist/xmlrpc/</distributionDirectory> + <distributionDirectory>/www/www.apache.org/dist/ws/xmlrpc/</distributionDirectory> <repository> <connection>scm:cvs:pserver:[email protected]:/home/cvspublic:xml-rpc</connection> From [email protected] Tue Sep 16 00:10:33 2003 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8810 invoked from network); 16 Sep 2003 00:10:33 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 16 Sep 2003 00:10:33 -0000 Received: (qmail 444 invoked by uid 500); 16 Sep 2003 00:10:16 -0000 Delivered-To: [email protected] Received: (qmail 419 invoked by uid 500); 16 Sep 2003 00:10:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 408 invoked from network); 16 Sep 2003 00:10:16 -0000 Received: from unknown (HELO localhost.localdomain) (161.129.204.104) by daedalus.apache.org with SMTP; 16 Sep 2003 00:10:16 -0000 Received: from finemaltcoding.com (localhost.localdomain [161.129.204.104]) by localhost.localdomain (8.12.5/8.12.5) with ESMTP id h8G0AG2x001904 for <[email protected]>; Mon, 15 Sep 2003 17:10:17 -0700 Message-ID: <[email protected]> Date: Mon, 15 Sep 2003 17:10:16 -0700 From: Daniel Rall <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030701 X-Accept-Language: en, en-us, ko, ja MIME-Version: 1.0 To: [email protected] Subject: Re: XMLRPC updates ? References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Henri Gomez wrote: > Andrew Evers a écrit : >> Henri Gomez wrote: >>> Also, I notice the worker are created but never released, it is normal ? >> >> The workers are pooled. If there are a lot of workers it means that a >> lot of requests are being processed. > > > Yes, I understand that, under heavy load the number workers of is > increased but they are never removed when the load fall. > > For example in jakarta-tomcat-connectors, used by Tomcats, > there is a Thread pool which increase to follow load but > they are recycled and removed when the load decrease. > > The idea will be to have : > > min workers, max workers, idle workers. > > You could have up to max workers, never less than > min workers and ensure that there is no more than X > idle workers. > > Just my .1 EUR ;) I like this idea, but don't have time to spend implementing it. Perhaps integration of another package (e.g. Jakarta Commons Pool) would make this trivial? From [email protected] Tue Sep 16 00:14:10 2003 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9784 invoked from network); 16 Sep 2003 00:14:10 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 16 Sep 2003 00:14:10 -0000 Received: (qmail 2313 invoked by uid 500); 16 Sep 2003 00:13:53 -0000 Delivered-To: [email protected] Received: (qmail 2285 invoked by uid 500); 16 Sep 2003 00:13:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 2274 invoked from network); 16 Sep 2003 00:13:53 -0000 Received: from unknown (HELO localhost.localdomain) (161.129.204.104) by daedalus.apache.org with SMTP; 16 Sep 2003 00:13:53 -0000 Received: from finemaltcoding.com (localhost.localdomain [161.129.204.104]) by localhost.localdomain (8.12.5/8.12.5) with ESMTP id h8G0Dr2x001917 for <[email protected]>; Mon, 15 Sep 2003 17:13:54 -0700 Message-ID: <[email protected]> Date: Mon, 15 Sep 2003 17:13:53 -0700 From: Daniel Rall <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030701 X-Accept-Language: en, en-us, ko, ja MIME-Version: 1.0 To: [email protected] Subject: Re: XMLRPC 1.2 release date References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Henri Gomez wrote: > Did there is a release date for 1.2 ? > > The latest commit from Andrew match my need for BigDecimal support > but I'll have to use a release version in my work, not one from HEAD > (yes it's a shame but you know how IT managers are). I don't see any reason why 1.2 shouldn't be released, now that the base64 encoding issue has been worked out. However, did Andrew's recent changes make it into the branch? CVS HEAD will be 2.0. I wouldn't be adverse to seeing a 1.2 release of what's there, then a quick 1.3 which backports Andrew's changes. Of course, it might make more sense to do a 2.0 release candidate instead of a 1.3. From [email protected] Thu Sep 18 04:19:16 2003 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6598 invoked from network); 18 Sep 2003 04:19:16 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 18 Sep 2003 04:19:16 -0000 Received: (qmail 16596 invoked by uid 500); 18 Sep 2003 04:18:55 -0000 Delivered-To: [email protected] Received: (qmail 16523 invoked by uid 500); 18 Sep 2003 04:18:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 16511 invoked from network); 18 Sep 2003 04:18:54 -0000 Received: from unknown (HELO pproxy107.mbn.or.jp) (161.129.204.104) by daedalus.apache.org with SMTP; 18 Sep 2003 04:18:54 -0000 Received: from [161.129.204.104] (csh19-15.pas.mbn.or.jp [161.129.204.104]) by pproxy107.mbn.or.jp (8.11.7+Sun/pproxy107.mbn.or.jp-2.0) with ESMTP id h8I4Ix912490 for <[email protected]>; Thu, 18 Sep 2003 13:19:00 +0900 (JST) Date: Thu, 18 Sep 2003 13:23:41 +0900 From: Tetsuya Kitahata <[email protected]> To: [email protected] Subject: [PATCH] enhancement of xdocs Message-Id: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------_3F69320EEB890B0C53C0_MULTIPART_MIXED_" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.06.02 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --------_3F69320EEB890B0C53C0_MULTIPART_MIXED_ Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Dear WS-XMLRPC Development Team Hello, I've noticed some rooms for the enhancement of xmlrpc site and some changes to the repository name, etc. I've created a patch for it, zipped and attached. (xmlrpc_web.xdocs.diff.zip: which contains xmlrpc_web.xdocs.diff.txt) I would be very glad if this would be applied. Thanks! -- Tetsuya. ([email protected]) ----------------------------------------------------------- Tetsuya Kitahata -- Terra-International, Inc. E-mail: [email protected] http://www.terra-intl.com/ (Accredited Herrmann Brain Dominance Instrument Facilitator) http://www.hbdi.com/ --------_3F69320EEB890B0C53C0_MULTIPART_MIXED_ Content-Type: application/x-zip-compressed; name="xmlrpc_web.xdocs.diff.zip" Content-Disposition: attachment; filename="xmlrpc_web.xdocs.diff.zip" Content-Transfer-Encoding: base64 UEsDBBQAAgAIADhqMi+N0GHijAYAAFUXAAAZAAAAeG1scnBjX3dlYi54ZG9jcy5kaWZmLnR4dL1Y bVPbOBD+DDP8h518uXZI4jhJC3jSDBydm+OmLwzQu95HxVZitbblSrIN//5WkiPbSTjg6JFhQqJo X7T7PLsrX2QRvQ3gNuKh9MKYZCsqh7dpcrD/7vmvg/2r82tYsoQG4MU8pV5YSq+SAzQg8tDbstov D/YFVYLRkmUrEPhPMp6BPxyPDvYjtlzCoICB0N+h4+1gMNg+xN74BP4gGYxHowmM/GByEvgTGIzw tWdVHh4e7hDzj+Ga5rXYNBhNgsmRFTvYPz2FgT/pv4VDfMeNp6cH+2Bfs3zuPuO3ItFf0Qb+QbOc sHlnAZekEjxbzf2RMzvz6rXNrUbp4cbqTq36df7nNVzRnEumuLiDTySlEBNZhy6CpeApzGg6x1MP MCMzDz+D4mbN5cmsDrdtetbopoue9XHXxi2PYVccxscua604wHYcLjrgTRjN1Etj1xm9H7rTLnKn 0Pa0hVu3ujeF9zTU5x/DeBKM/WD61qF22gFtI7MDsycdzL7pHyFm9XsbspiFGYFY0OW7nlcfjeTM aOdihZ9JGNP1L1/T5CoPz63VWKVJb46bhnbT0G4atjc1hjwyh0JSCd9ISYYZVcMvVx/OeZbRUGGc +qBiCr/f3FzW4cHvREGIgZdQMRU7TXqfVCSLiIgQJyWBs8uLGmKDp51q17E+MEUfdTS90ZwqF7xk EbrJlAReZZCwVawqqt8dD54R6J/tUR3HdqxZmic0xU9E52JoolnzGNrl7WIJd7yAjOraUSSJVSKL POdCwSs6XA3hUvBbRmUfC0/EBGYXqApf9zfZWr54mykfaDGTLk8n4HxskbR8RGOZdChaysfxc2T4 OWrzcyYtOSDDwv2u9xddwFkYUil1idY8aGp7b77Rhv7GPIXo4kLwSlKzuy7yeGbXEVC3drDGFMIL D+tgGiuVB57X3eCVjFZ6KVwxr9bYm5eMGBMVXWgE6mbxODWtNO3S4qpH01qxJdiozHdH6T0CPuEk Aq3tLOPZXcoLqVuhjpEO9Rgb9wgO7T8T7Fku6By9gUEEQS6pKKkICMri2mnX8cAhLC8WCQsh4SuW oY6cSFlxEQVQCxruDP6jVlwPv/NCrZOGAX2uJhdpfWBPn9icfA6/cQEpFxR4ruMoESArLK6aHjob Z0a3mSUccpDgICndgRY00U6zds7WLhUziUFa0fsAUsnHCcJDoNgoNUx/eeFi42zeX278brnxoeVn U3Dc4t7Eh89YTLGA+IAjweRNu+T47ZLTyDxUdI51zTlelxwTzNmCR3f3UOtsoXFU4+Hrxw+Dq8vz Xqvt5vPub4CJI7ZHdzsM8CVspb+q1k0Nu35vXuvQSe83bfQnmvA2bdS4IpDzvEiI0H1U8ZAndhYx 0wtKAEf22c6HZdhZxdymXFEtFNKoQDqFJEnksNNCDWQ76EyYVC/dCp3NJzTDlp8NOt3iExpiI7ON zqnfaYm+uWb5GyOrYb1LbUpYonhgzzfAHImBLBYyFGxBTzslpTe/Xv+gE/6AkiK7V82X5ier6IFS prV7Ld0IvI+/fv4KZyKMWbl2Zruo1Ue90fUP/3Qt1sGDKqaILq1JapSvmaC7fUqpwv4T1Y3OBHA8 fkIAI1o+O35ax/8UPlT9c6KXE6FYyHKsFQh8VEsTntcBxa0bJLUd94VZ2hi9n6ZHXZoeQdvThqfN 6t542iHq9E0wPnFEPWoTtSW0g6mTNlMn5nI56VwuE86/a2+XOF3Uo0hKVcwjTEdm0hEjUBMspXzx TV8TQi4ElTnP7OTBaz16pxU0XUij26xhBvGrQnl1l1OTOJZhWbcR+lFQXWZqHTe4n2U5Ni8n1RVY c2gtCGmBUEmJCmNjjIhVYYq8s6VXTduxvtVN8BUORdC55+nhzTNS9TgT8gzDavKnyCIxAH7dB4wS R52iYvW0vtZ7uK33OepMPCqe/aJgQTE5RRYNTXwQYIXIoCRJQXcc0EYERerbHl3rWtyto2ejXV/F O/yxDr8sfZzNJzyZafnZkMct7mGPKxL7XMY/Rt4EeH/Y+VymEXmIOSeaOCcNb/5t/LpBrfCR5Lk+ xoLihZ5mDrmaFjpdmxfBejbTGV7yJOGVIZdGCtDbPCEM5/2YVxARRWp0Ez27GFhhlp0hxAMTD41U MqehG6vc1PaCxr2WdX1dwYqyngjNo5F1mIZ1q7BXoE96cDNDniF7oThSHwsWy0oe2nEypfqhKZOp 9hzTIvWTEAFhgtc+ai/k5Du1veMfUEsBAhYLFAACAAgAOGoyL43QYeKMBgAAVRcAABkAAAAAAAAA AQAgALaBAAAAAHhtbHJwY193ZWIueGRvY3MuZGlmZi50eHRQSwUGAAAAAAEAAQBHAAAAwwYAAAAA --------_3F69320EEB890B0C53C0_MULTIPART_MIXED_--
From [email protected] Mon Jun 08 13:55:58 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7474 invoked from network); 8 Jun 2009 13:55:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Jun 2009 13:55:58 -0000 Received: (qmail 84708 invoked by uid 500); 8 Jun 2009 13:56:10 -0000 Delivered-To: [email protected] Received: (qmail 84667 invoked by uid 500); 8 Jun 2009 13:56:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 84657 invoked by uid 99); 8 Jun 2009 13:56:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jun 2009 13:56:10 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO smtp-out2.blueyonder.co.uk) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jun 2009 13:56:00 +0000 Received: from [161.129.204.104] (helo=anti-virus03-09) by smtp-out2.blueyonder.co.uk with smtp (Exim 4.52) id 1MDfK7-00079G-Ao for [email protected]; Mon, 08 Jun 2009 14:55:39 +0100 Received: from [161.129.204.104] (helo=[161.129.204.104]) by asmtp-out2.blueyonder.co.uk with esmtpa (Exim 4.52) id 1MDfK6-0004wN-Vq for [email protected]; Mon, 08 Jun 2009 14:55:39 +0100 Message-ID: <[email protected]> Date: Mon, 08 Jun 2009 14:55:38 +0100 From: Robert Burrell Donkin <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20090330) MIME-Version: 1.0 To: [email protected] Subject: Report Time Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org i've made a start at http://wiki.apache.org/incubator/June2009 please just dive in and edit - robert From [email protected] Mon Jun 08 19:54:10 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89743 invoked from network); 8 Jun 2009 19:54:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Jun 2009 19:54:09 -0000 Received: (qmail 10567 invoked by uid 500); 8 Jun 2009 19:54:21 -0000 Delivered-To: [email protected] Received: (qmail 10528 invoked by uid 500); 8 Jun 2009 19:54:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 10517 invoked by uid 99); 8 Jun 2009 19:54:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jun 2009 19:54:21 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-fx0-f220.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jun 2009 19:54:11 +0000 Received: by fxm20 with SMTP id 20so3395929fxm.12 for <[email protected]>; Mon, 08 Jun 2009 12:53:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=vIXupeEqoNkWITF/MH+4nUVJZ5tpTVOi5mczJ3tjsGQ=; b=ncoXhLGhLNFw2jGAonBh9xF7By1C7OZwojD4qQKDL3fSfGXPICdxjkHw3fSz5Vkr1K VgveXV+Di3fI7Ma+PnXj5OeEP8xdUAEEcQJoorf4fczPGpM/9TXrQjy0Gu7ry50kpHhU OG4aP+8ATr0Z2FeBtWiW/NZ5Lxkqn4OY50YN8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=tbsELhvDQ1cdzIllwA2Ki2cuBE/vlpYKUjbMgxARR0FvrI9NEySXem66NDpTc4yBV1 atxhCq7Jt1E1gD57YlQZ1KXnGl31fxoiCvLuUayjQp9QIbvkwoiOkKBatNwgx7iZNhEd RqXf0/kGoMcD1KfauNmeltmp8wRjmAzZvbHmE= MIME-Version: 1.0 Sender: [email protected] Received: by 161.129.204.104 with SMTP id g58mr2559566wea.11.1244490829534; Mon, 08 Jun 2009 12:53:49 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Mon, 8 Jun 2009 20:53:49 +0100 X-Google-Sender-Auth: 5cb161ca080b2888 Message-ID: <[email protected]> Subject: Re: Report Time From: Ross Gardler <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 2009/6/8 Robert Burrell Donkin <[email protected]>: > i've made a start at http://wiki.apache.org/incubator/June2009 > > please just dive in and edit A point of discussion based on your existing report: "To graduate as a top level project, significant numbers of new developers would need to be attracted. This would probably require significant energy to be devoted first into extending it's usefulness beyond Apache-like open source projects then raising it's profile." I would suggest that you note that the release attracted activity from the nascent community and that this bodes well for future development. I would also suggest that the project should focus on encouraging Apache projects to use the tool, perhaps a Gump style build and report mechanism should be a focus for the current team. This will raise awareness of the utility of RAT. On one of my non-ASF projects I use RAT in my CI server to tell me when someone commits a file that breaks the RAT checks. This is really useful. Ross -- Ross Gardler OSS Watch - supporting open source in education and research http://www.oss-watch.ac.uk From [email protected] Tue Jun 09 18:09:10 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44180 invoked from network); 9 Jun 2009 18:09:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Jun 2009 18:09:10 -0000 Received: (qmail 66129 invoked by uid 500); 9 Jun 2009 18:09:21 -0000 Delivered-To: [email protected] Received: (qmail 66087 invoked by uid 500); 9 Jun 2009 18:09:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 66077 invoked by uid 99); 9 Jun 2009 18:09:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jun 2009 18:09:21 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO smtp-out5.blueyonder.co.uk) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jun 2009 18:09:10 +0000 Received: from [161.129.204.104] (helo=anti-virus02-10) by smtp-out5.blueyonder.co.uk with smtp (Exim 4.52) id 1ME5kg-0004H2-Pz for [email protected]; Tue, 09 Jun 2009 19:08:50 +0100 Received: from [161.129.204.104] (helo=[161.129.204.104]) by asmtp-out1.blueyonder.co.uk with esmtpa (Exim 4.52) id 1ME5kg-0005Cw-6f for [email protected]; Tue, 09 Jun 2009 19:08:50 +0100 Message-ID: <[email protected]> Date: Tue, 09 Jun 2009 19:08:49 +0100 From: Robert Burrell Donkin <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20090330) MIME-Version: 1.0 To: [email protected] Subject: Re: Report Time References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Ross Gardler wrote: > 2009/6/8 Robert Burrell Donkin <[email protected]>: >> i've made a start at http://wiki.apache.org/incubator/June2009 >> >> please just dive in and edit > > A point of discussion based on your existing report: > > "To graduate as a top level project, significant numbers of new > developers would need to be attracted. This would probably require > significant energy to be devoted first into extending it's usefulness > beyond Apache-like open source projects then raising it's profile." > > I would suggest that you note that the release attracted activity from > the nascent community and that this bodes well for future development. > I would also suggest that the project should focus on encouraging > Apache projects to use the tool, perhaps a Gump style build and report > mechanism should be a focus for the current team. This will raise > awareness of the utility of RAT. sounds good - please dive in and add it > On one of my non-ASF projects I use RAT in my CI server to tell me > when someone commits a file that breaks the RAT checks. This is really > useful. RAT is useful but ATM the logic isn't flexible or powerful enough for many applications outside apache - robert From [email protected] Tue Jun 09 20:43:13 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7979 invoked from network); 9 Jun 2009 20:43:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Jun 2009 20:43:12 -0000 Received: (qmail 12477 invoked by uid 500); 9 Jun 2009 20:43:24 -0000 Delivered-To: [email protected] Received: (qmail 12442 invoked by uid 500); 9 Jun 2009 20:43:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 12432 invoked by uid 99); 9 Jun 2009 20:43:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jun 2009 20:43:24 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ew0-f220.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jun 2009 20:43:12 +0000 Received: by ewy20 with SMTP id 20so300170ewy.12 for <[email protected]>; Tue, 09 Jun 2009 13:42:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=nEXuqSi7A30MWOAdEvE0o20Fg9oD1g2CU1WpqGjZFZo=; b=OEjOTgzEph4RgKRd4LbTCCeaTZ2w8e+c5qhCxkWexFTGa6wZ8vPQ5hDI+HtYYwmSjx dr/mPBJDLTStAZlAeWuV9TvO4Oh3C655uKAk5YmKxX6EWX5fWmeqThEUz8cbeUvE2t7N h+o+8n1ZKj/8VrQ1cwUfiBFHFaMLcVcQpPqas= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=qh+YGQArw8m8a0/GN7hoif2Lz5xNxCi10s7OtS2CQfCsfRuXTaC/x6+MvZO/Hypdwo X38rjw5BEH43xh4qgtzthyZFu/5xvrb+UmXzY2O/pszYJ+afgOaensKj0urS5nySjVZw v9nr3jwWJ5+YHyhdrZbWyRw3NQcieSSWg8nAg= MIME-Version: 1.0 Sender: [email protected] Received: by 161.129.204.104 with SMTP id z46mr207480wea.6.1244580171608; Tue, 09 Jun 2009 13:42:51 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Date: Tue, 9 Jun 2009 21:42:51 +0100 X-Google-Sender-Auth: f20417a5c410eec0 Message-ID: <[email protected]> Subject: Re: Report Time From: Ross Gardler <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 2009/6/9 Robert Burrell Donkin <[email protected]>: > sounds good - please dive in and add it Will do > >> On one of my non-ASF projects I use RAT in my CI server to tell me >> when someone commits a file that breaks the RAT checks. This is really >> useful. > > RAT is useful but ATM the logic isn't flexible or powerful enough for > many applications outside apache Sure, but es focus internally first, there are loads of good developers here in the ASF, lets catch them first. I'd like to see a column on http://incubator.apache.org/clutch.html indicating the licence header status of projects. Maybe I'll even find the cycles one day ;-) Ross -- Ross Gardler OSS Watch - supporting open source in education and research http://www.oss-watch.ac.uk From [email protected] Fri Jun 12 11:28:41 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22665 invoked from network); 12 Jun 2009 11:28:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Jun 2009 11:28:41 -0000 Received: (qmail 54977 invoked by uid 500); 12 Jun 2009 11:28:52 -0000 Delivered-To: [email protected] Received: (qmail 54928 invoked by uid 500); 12 Jun 2009 11:28:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 54897 invoked by uid 99); 12 Jun 2009 11:28:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jun 2009 11:28:41 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO enterprise.16degrees.com.au) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jun 2009 11:28:32 +0000 Received: from developer (CPE-121-215-243-70.static.qld.bigpond.net.au [161.129.204.104]) by enterprise.16degrees.com.au (Postfix) with ESMTPA id 86E6972824 for <[email protected]>; Fri, 12 Jun 2009 21:28:08 +1000 (EST) From: "Gavin" <[email protected]> To: <[email protected]> References: <[email protected]> <[email protected]> Subject: RAT with BuildBot at Apache (was: RE: Report Time) Date: Fri, 12 Jun 2009 21:28:08 +1000 Message-ID: <D42CF80BDF864137A10C2E34F88CBDEE@developer> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 In-Reply-To: <[email protected]> Thread-Index: Acnocutl0PxzXqiKQJ+tCQ/qOY9QyAC11I5A X-Antivirus: avast! (VPS 090611-0, 11/06/2009), Outbound message X-Antivirus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of Ross Gardler > Sent: Tuesday, 9 June 2009 5:54 AM > To: [email protected] > Subject: Re: Report Time > <snip> > I would also suggest that the project should focus on encouraging > Apache projects to use the tool, perhaps a Gump style build and report > mechanism should be a focus for the current team. This will raise > awareness of the utility of RAT. Some of you may be aware that I am working on the Buildbot at Apache instance. RAT itself is tested on there every time a commit happens, along with a few other projects. Still early days yet but there are plenty of projects out there not using a CI tool, or not using one at Apache, so I'll be contacting them, and/or blogging about it whatever, to get more projects to take advantage of its many abilities. One such ability, which I have implemented over the last few days, is to make use of RAT. As RAT is already there being built, I decided to automate the use of the jar produced from the build. Now, projects can utilise Buildbot to include RAT testing on their source/binaries/etc. I'd also like to extend that out further - even projects that don't need Buildbot for anything else, can use it purely for the convenience of automatically having RAT reports produced for them, and all are welcome to do so. RAT reports can be displayed (currently) as txt files on the ASF Buildbot website, they can be emailed (though not currently enabled as a fine balance needs to be achieved considering per commit triggers). They can also be produced on demand via IRC if they want. This is both useful to RAT as well as the projects using it - as RAT project can implement new features or fixes based on the results/feedback from the projects using it - one commit later to svn and within a minute all projects are immediately using the new version of RAT. Buildbot itself has many other features and capabilities not yet implemented/realised (Nexus is next on my hit list, as well as a place to put release candidates (as most folk usually upload that stuff to people.apache.org/~username)). My hope here is with integration of RAT is that it can raise the profile of both RAT and Buildbot within the Apache community. I'm not sure Ross what you had in mind for increased awareness but I hope this is an option we can explore. We can talk about ideas on best/different implementation ideas if folks agree it is a good idea. So, I'll show you what it does so far. http://ci.apache.org/buildbot.html Above is the main Buildbot index page, linking to amongst other things, RAT reports page from projects configured to produce them http://ci.apache.org/waterfall Above page shows a list of projects currently using Buildbot (a few are there purely for my testing) A few of those projects I have configured the builds to upload websites/documentation/javadoc/Apis - and also RAT reports for a few. http://ci.apache.org/projects/ This page is generated once per hour. It scans the master Buildbot server for any uploaded website/docs/rat-reports and creates links to them. I did it this way so now the page is self-maintaining. Two of the projects there, Buildr and Forrest, don't actually use Buildbot for anything else, just showing that it is quite alright for projects to use it for RAT reports only. In these 2 cases, from (commit to) checkout of source (which is clobbered every time) to the RAT report being available on the web; was about 30 seconds. The content of all those RAT reports I'd like to verify, and sometime soon ensure that I am indeed producing these reports correctly. Some tweaking will need to be done. One major thing I'd to work on soon -- and I'd like help with if anyone has time (if not it will just take longer I guess) is to make use of the XML output and so create an xslt to produce nice readable HTML reports to go on the site. Do we have a DTD? Do we need one? Is the current XML output suitable or will it need tweaking? Has any of this been done already? This stuff I can find out soon. One last thing I though of, I'm sure we can gather info from these reports and send it to wherever Clutch needs it in order to implement that extra line on clutch you mentioned Ross. Anyway, what a long email, I'll go now. Thoughts, ideas for expansion, ideas on current implementation? Thanks all. Gav... > > On one of my non-ASF projects I use RAT in my CI server to tell me > when someone commits a file that breaks the RAT checks. This is really > useful. > > Ross > > -- > Ross Gardler > From [email protected] Fri Jun 12 13:43:52 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87651 invoked from network); 12 Jun 2009 13:43:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Jun 2009 13:43:52 -0000 Received: (qmail 82549 invoked by uid 500); 12 Jun 2009 13:44:04 -0000 Delivered-To: [email protected] Received: (qmail 82511 invoked by uid 500); 12 Jun 2009 13:44:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 82501 invoked by uid 99); 12 Jun 2009 13:44:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jun 2009 13:44:04 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ew0-f220.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jun 2009 13:43:52 +0000 Received: by ewy20 with SMTP id 20so2681275ewy.12 for <[email protected]>; Fri, 12 Jun 2009 06:43:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=0BIPtku9kUPzjHktHDMq8QjonvLHNLEN6tft1chZJvg=; b=nisHpv9O4rbbZiOcGPH1XrJqd4WLLZ41E/N415Ln4+WoGaBCxKSh7+KVBtz0WhQI+4 glr5dLeyV5fq6aZ0SnIBSpxE0htKk67idtuAeR03CTMywWyOuexp+7H14bUWGhYFgXAD HLsc3KLeIcTm03/MRQDQk0Y6k0p/ZaQ1ui+Mc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=N1Ge6CO/VlpHBsh5TleFcaTly7X7DxlWJinPAkGwr+pbvAlsSk3G7LowUoaBzaD4NW PpQwpuYJ3c/PmHe9CsE8DQ59O8niYSsdbojE+yuMyr58btLweKPzFjd4QLcy8+3B0lTy hflgrUB9BQH7HiOZz9jZXtcQp1CrlNtOZbQec= MIME-Version: 1.0 Sender: [email protected] Received: by 161.129.204.104 with SMTP id 56mr1314293weq.210.1244814211547; Fri, 12 Jun 2009 06:43:31 -0700 (PDT) In-Reply-To: <D42CF80BDF864137A10C2E34F88CBDEE@developer> References: <[email protected]> <[email protected]> <D42CF80BDF864137A10C2E34F88CBDEE@developer> Date: Fri, 12 Jun 2009 14:43:31 +0100 X-Google-Sender-Auth: e5f24aab96c21f69 Message-ID: <[email protected]> Subject: Re: RAT with BuildBot at Apache (was: RE: Report Time) From: Ross Gardler <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 2009/6/12 Gavin <[email protected]>: > > >> -----Original Message----- >> From: [email protected] [mailto:[email protected]] On >> Behalf Of Ross Gardler >> Sent: Tuesday, 9 June 2009 5:54 AM >> To: [email protected] >> Subject: Re: Report Time >> > > <snip> > >> I would also suggest that the project should focus on encouraging >> Apache projects to use the tool, perhaps a Gump style build and report >> mechanism should be a focus for the current team. This will raise >> awareness of the utility of RAT. > ... > One such ability, which I have implemented over the last few days, is to > make use of RAT. As RAT is already there being built, I decided to automate > the use of the jar produced from the build. Now, projects can utilise > Buildbot to include RAT testing on their source/binaries/etc. I Cool! > RAT reports can be displayed (currently) as txt files on the ASF Buildbot > website, they can be emailed (though not currently enabled as a fine balance > needs to be achieved considering per commit triggers). They can also be > produced on demand via IRC if they want. I'd suggest being able to configure the mail to only be sent if there is a problem. It's realy useful to have RAT say "hey you forgot to add a licence header to this new file" > This is both useful to RAT as well as the projects using it - as RAT project > can implement new features or fixes based on the results/feedback from the > projects using it - one commit later to svn and within a minute all projects > are immediately using the new version of RAT. Is there any kind of summary report screen that would help RAT developers see unintended side effects that cause multiple errors across projects? > Buildbot itself has many other features and capabilities not yet > implemented/realised (Nexus is next on my hit list, as well as a place to > put release candidates (as most folk usually upload that stuff to > people.apache.org/~username)). I'd suggest putting it into the lab (no releases, but the code is what matters at this stage). > My hope here is with integration of RAT is that it can raise the profile of > both RAT and Buildbot within the Apache community. I'm not sure Ross what > you had in mind for increased awareness but I hope this is an option we can > explore. This is *exactly* what I had in mind. The RAT web site should have a section saying, "look RAT is used in the Apache Buildbot" etc. > We can talk about ideas on best/different implementation ideas if folks > agree it is a good idea. +1 > http://ci.apache.org/buildbot.html ... > A few of those projects I have configured the builds to upload > websites/documentation/javadoc/Apis - and also RAT reports for a few. > > http://ci.apache.org/projects/ This shows that RAT is not all that useful right now unless properly configured. I was intrigued to see that RAT itself has 85 unapproved licences - http://ci.apache.org/projects/rat/rat-report.txt I'd say the first thing the RAT team need to do is get that down to 0. > One major thing I'd to work on soon -- and I'd like help with if anyone has > time (if not it will just take longer I guess) is to make use of the XML > output and so create an xslt to produce nice readable HTML reports to go on > the site. Do we have a DTD? Do we need one? Is the current XML output > suitable or will it need tweaking? Has any of this been done already? This > stuff I can find out soon. I'll have to pass on al those questions I'm afraid. > One last thing I though of, I'm sure we can gather info from these reports > and send it to wherever Clutch needs it in order to implement that extra > line on clutch you mentioned Ross. That would be really cool. Perhaps the simplest thing to do would be to have your buildbot dump the files in a location that the existing Clutch code can access. Ross From [email protected] Sun Jun 14 21:56:59 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22184 invoked from network); 14 Jun 2009 21:56:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2009 21:56:59 -0000 Received: (qmail 47692 invoked by uid 500); 14 Jun 2009 21:57:11 -0000 Delivered-To: [email protected] Received: (qmail 47649 invoked by uid 500); 14 Jun 2009 21:57:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 47639 invoked by uid 99); 14 Jun 2009 21:57:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Jun 2009 21:57:10 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO smtp-out5.blueyonder.co.uk) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Jun 2009 21:57:01 +0000 Received: from [161.129.204.104] (helo=anti-virus01-09) by smtp-out5.blueyonder.co.uk with smtp (Exim 4.52) id 1MFxgt-0002EU-Sd for [email protected]; Sun, 14 Jun 2009 22:56:39 +0100 Received: from [161.129.204.104] (helo=[161.129.204.104]) by asmtp-out4.blueyonder.co.uk with esmtpa (Exim 4.52) id 1MFxgt-000198-Dq for [email protected]; Sun, 14 Jun 2009 22:56:39 +0100 Message-ID: <[email protected]> Date: Sun, 14 Jun 2009 22:56:39 +0100 From: Robert Burrell Donkin <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20090330) MIME-Version: 1.0 To: [email protected] Subject: Re: RAT with BuildBot at Apache References: <[email protected]> <[email protected]> <D42CF80BDF864137A10C2E34F88CBDEE@developer> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Ross Gardler wrote: > 2009/6/12 Gavin <[email protected]>: >> >>> -----Original Message----- >>> From: [email protected] [mailto:[email protected]] On >>> Behalf Of Ross Gardler >>> Sent: Tuesday, 9 June 2009 5:54 AM >>> To: [email protected] >>> Subject: Re: Report Time >>> >> <snip> >> >>> I would also suggest that the project should focus on encouraging >>> Apache projects to use the tool, perhaps a Gump style build and report >>> mechanism should be a focus for the current team. This will raise >>> awareness of the utility of RAT. > > ... > >> One such ability, which I have implemented over the last few days, is to >> make use of RAT. As RAT is already there being built, I decided to automate >> the use of the jar produced from the build. Now, projects can utilise >> Buildbot to include RAT testing on their source/binaries/etc. I > > Cool! +1 >> RAT reports can be displayed (currently) as txt files on the ASF Buildbot >> website, they can be emailed (though not currently enabled as a fine balance >> needs to be achieved considering per commit triggers). They can also be >> produced on demand via IRC if they want. > > I'd suggest being able to configure the mail to only be sent if there > is a problem. It's realy useful to have RAT say "hey you forgot to add > a licence header to this new file" +1 the feedback from scan is that a message once a month or so is useful even if everything's cool but otherwise only mail when stuff goes wrong >> This is both useful to RAT as well as the projects using it - as RAT project >> can implement new features or fixes based on the results/feedback from the >> projects using it - one commit later to svn and within a minute all projects >> are immediately using the new version of RAT. > > Is there any kind of summary report screen that would help RAT > developers see unintended side effects that cause multiple errors > across projects? that would be useful :-) >> Buildbot itself has many other features and capabilities not yet >> implemented/realised (Nexus is next on my hit list, as well as a place to >> put release candidates (as most folk usually upload that stuff to >> people.apache.org/~username)). > > I'd suggest putting it into the lab (no releases, but the code is what > matters at this stage). +1 >> My hope here is with integration of RAT is that it can raise the profile of >> both RAT and Buildbot within the Apache community. I'm not sure Ross what >> you had in mind for increased awareness but I hope this is an option we can >> explore. > > This is *exactly* what I had in mind. The RAT web site should have a > section saying, "look RAT is used in the Apache Buildbot" etc. +1 the web site is in need of some TLC >> We can talk about ideas on best/different implementation ideas if folks >> agree it is a good idea. > > +1 +1 >> http://ci.apache.org/buildbot.html > > ... > >> A few of those projects I have configured the builds to upload >> websites/documentation/javadoc/Apis - and also RAT reports for a few. >> >> http://ci.apache.org/projects/ > > This shows that RAT is not all that useful right now unless properly > configured. I was intrigued to see that RAT itself has 85 unapproved > licences - http://ci.apache.org/projects/rat/rat-report.txt > > I'd say the first thing the RAT team need to do is get that down to 0. the problem is that a number of these are false positives (everything in target sub directories are just consequences of the build) or intentional (some of the tests for missing headers need to have no headers) detached license information seems like the right way to solve this. so that sounds like an implementation priority. >> One major thing I'd to work on soon -- and I'd like help with if anyone has >> time (if not it will just take longer I guess) is to make use of the XML >> output and so create an xslt to produce nice readable HTML reports to go on >> the site. Do we have a DTD? Do we need one? Is the current XML output >> suitable or will it need tweaking? Has any of this been done already? This >> stuff I can find out soon. > > I'll have to pass on al those questions I'm afraid. there isn't a DTD or schema ATM since the current format is a bit rubbish i'd prefer to move to RDF or xhtml+rdf but that might be a barrier to entry and may be difficult to transform so, maybe it'd be best to start from the other direction: brainstorm about the design of a really good HTML report and then just work backwards. ideas? >> One last thing I though of, I'm sure we can gather info from these reports >> and send it to wherever Clutch needs it in order to implement that extra >> line on clutch you mentioned Ross. > > That would be really cool. Perhaps the simplest thing to do would be > to have your buildbot dump the files in a location that the existing > Clutch code can access. +1 - robert From [email protected] Sun Jun 14 23:39:22 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68461 invoked from network); 14 Jun 2009 23:39:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2009 23:39:22 -0000 Received: (qmail 18341 invoked by uid 500); 14 Jun 2009 23:39:33 -0000 Delivered-To: [email protected] Received: (qmail 18302 invoked by uid 500); 14 Jun 2009 23:39:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 18292 invoked by uid 99); 14 Jun 2009 23:39:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Jun 2009 23:39:33 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ew0-f220.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Jun 2009 23:39:23 +0000 Received: by ewy20 with SMTP id 20so4154526ewy.12 for <[email protected]>; Sun, 14 Jun 2009 16:39:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=HjE6K8YOvdTpbwq9tvCZzJiv6aa21YJXri47FJV8xeU=; b=wzBtPq6ImO9u6LrcfnMb2uViIbuxvyMcF1iv/tcsKWNF+Hr9JwvtON/uLJ9e7Ogai2 EQ8lFlt3uzOxyp8pbrhWLygDeYLBZHRjOEbC8tKP1pkJkiArlNO0HP3kjisbLYsK6e1G 5uZ22DuH/Xs/yF1hT2TwGNN0hwQTN95YuWm6Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=CaL1jUKhcqCmK93V8gI4k5Y7K4Wx9Up+0+5dvm0Cr63BAQftMNnUrRD8d0gjTnwbjm LtUiN+Zip1tt6ddRZhfU9O77t1nrGwg4VqVQOaIin08ZyBauMJNWvkgGJDfmu+iV4jh1 pOYo3DutLRY32uLDSuCwAi083DOaqBl6MKAWM= MIME-Version: 1.0 Sender: [email protected] Received: by 161.129.204.104 with SMTP id 59mr2153505wec.155.1245022741707; Sun, 14 Jun 2009 16:39:01 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <D42CF80BDF864137A10C2E34F88CBDEE@developer> <[email protected]> <[email protected]> Date: Mon, 15 Jun 2009 00:39:01 +0100 X-Google-Sender-Auth: 0bec9c9bdae2c8d0 Message-ID: <[email protected]> Subject: Re: RAT with BuildBot at Apache From: Ross Gardler <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 2009/6/14 Robert Burrell Donkin <[email protected]>: > Ross Gardler wrote: >> 2009/6/12 Gavin <[email protected]>: ... >>> http://ci.apache.org/projects/ >> >> This shows that RAT is not all that useful right now unless properly >> configured. I was intrigued to see that RAT itself has 85 unapproved >> licences - http://ci.apache.org/projects/rat/rat-report.txt >> >> I'd say the first thing the RAT team need to do is get that down to 0. > > the problem is that a number of these are false positives (everything in > target sub directories are just consequences of the build) or > intentional (some of the tests for missing headers need to have no headers) The includes/excludes needs setting up correctly to bring it down to 0. False positives will always be false positives to the developer should add them to the excludes list. So, for example, the whole target directory should be excluded. Ross From [email protected] Mon Jun 15 00:03:42 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81223 invoked from network); 15 Jun 2009 00:03:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Jun 2009 00:03:39 -0000 Received: (qmail 33550 invoked by uid 500); 15 Jun 2009 00:03:50 -0000 Delivered-To: [email protected] Received: (qmail 33516 invoked by uid 500); 15 Jun 2009 00:03:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 33506 invoked by uid 99); 15 Jun 2009 00:03:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2009 00:03:50 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO enterprise.16degrees.com.au) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2009 00:03:41 +0000 Received: from developer (CPE-121-215-243-70.static.qld.bigpond.net.au [161.129.204.104]) by enterprise.16degrees.com.au (Postfix) with ESMTPA id 2D88A72824 for <[email protected]>; Mon, 15 Jun 2009 10:03:18 +1000 (EST) From: "Gavin" <[email protected]> To: <[email protected]> References: <[email protected]> <[email protected]> <D42CF80BDF864137A10C2E34F88CBDEE@developer> <[email protected]> <[email protected]> <[email protected]> Subject: RE: RAT with BuildBot at Apache Date: Mon, 15 Jun 2009 10:03:15 +1000 Message-ID: <E8646822544C4C6BAAEEFC471305C64D@developer> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <[email protected]> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Thread-Index: AcntSV+noswurXY9Ql+ER3lvLfQTYAAAqzFQ X-Antivirus: avast! (VPS 090614-0, 14/06/2009), Outbound message X-Antivirus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of Ross Gardler > Sent: Monday, 15 June 2009 9:39 AM > To: [email protected] > Subject: Re: RAT with BuildBot at Apache > > 2009/6/14 Robert Burrell Donkin <[email protected]>: > > Ross Gardler wrote: > >> 2009/6/12 Gavin <[email protected]>: > ... > > >>> http://ci.apache.org/projects/ > >> > >> This shows that RAT is not all that useful right now unless properly > >> configured. I was intrigued to see that RAT itself has 85 unapproved > >> licences - http://ci.apache.org/projects/rat/rat-report.txt > >> > >> I'd say the first thing the RAT team need to do is get that down to 0. > > > > the problem is that a number of these are false positives (everything in > > target sub directories are just consequences of the build) or > > intentional (some of the tests for missing headers need to have no > headers) > > The includes/excludes needs setting up correctly to bring it down to > 0. False positives will always be false positives to the developer > should add them to the excludes list. So, for example, the whole > target directory should be excluded. Is that possible now, excluding sub-dirs ? If so how as I'd love to implement it so we can have more accurate results to work from for refining. I've also written a xslt (based on the txt output currently) and use Saxon9B to convert it to HTML from the command line on the server. I'll have these simple HTML reports online today sometime. It would be useful to have this integrated into RAT I guess so that a -H option or similar can produce HTML outputs for us. The end user projects and buildbot need then only alter a basic supplied CSS stylesheet for their needs. Gav... > > Ross From [email protected] Mon Jun 15 00:08:55 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83662 invoked from network); 15 Jun 2009 00:08:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Jun 2009 00:08:55 -0000 Received: (qmail 37916 invoked by uid 500); 15 Jun 2009 00:09:06 -0000 Delivered-To: [email protected] Received: (qmail 37880 invoked by uid 500); 15 Jun 2009 00:09:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 37870 invoked by uid 99); 15 Jun 2009 00:09:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2009 00:09:06 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ew0-f220.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2009 00:08:55 +0000 Received: by ewy20 with SMTP id 20so4166032ewy.12 for <[email protected]>; Sun, 14 Jun 2009 17:08:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=Cr3auXVxUBcczNy0PFX5UUfAG2F9NoLSh1CcWrKHxqg=; b=l1rZpznfTFOcey/oeXexQwcZ3mffMurfkdkG3tfwJLaCG42DGfU9b6iRtCllj8xB+W zF0G8J43arkj6ugdusLMcK9DPtvwF4banDRRS4oTMsknQruwGfu1jPRqxXgJrVgj75JD MefU5dV6XjuWy5iG6RA+l59eLbHlPt6fligkk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=GJ2wXIJ4GN8sKG9D03QkZm2mRkZ/8MRyIOtotIy5rkWC/rTmSX9QhGFF+qSNVp4WFW 6dgzVk+f1dDoI8q1E0kjO3+ODLwjAo7yKtoyzGDWouUDjbJQ+jYxBEiZnv/ofR1j0SYc dspbEWpOmBwYw7Dp+d7KZY4Z5TFJOS+IY9dKg= MIME-Version: 1.0 Sender: [email protected] Received: by 161.129.204.104 with SMTP id 52mr2091821weu.164.1245024514758; Sun, 14 Jun 2009 17:08:34 -0700 (PDT) In-Reply-To: <E8646822544C4C6BAAEEFC471305C64D@developer> References: <[email protected]> <[email protected]> <D42CF80BDF864137A10C2E34F88CBDEE@developer> <[email protected]> <[email protected]> <[email protected]> <E8646822544C4C6BAAEEFC471305C64D@developer> Date: Mon, 15 Jun 2009 01:08:34 +0100 X-Google-Sender-Auth: 273aa4bde5d08998 Message-ID: <[email protected]> Subject: Re: RAT with BuildBot at Apache From: Ross Gardler <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 2009/6/15 Gavin <[email protected]>: > Is that possible now, excluding sub-dirs ? If so how as I'd love to > implement it so we can have more accurate results to work from for refining. Here's an example from the Simal project (using Maven): <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>rat-maven-plugin</artifactId> <configuration> <excludes> <exclude>.pmd</exclude> <exclude>derby.log</exclude> <exclude>reports/**/*</exclude> <exclude>simal/**/*</exclude> <exclude>build/**/*</exclude> <exclude>simalDOAPFilestore/**/*</exclude> <exclude>simalRepository/**/*</exclude> <exclude>local.simal.properties</exclude> <exclude>local.simal.test.properties</exclude> </excludes> </configuration> <executions> <execution> <phase>verify</phase> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> Ross From [email protected] Mon Jun 15 00:13:13 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85951 invoked from network); 15 Jun 2009 00:13:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Jun 2009 00:13:13 -0000 Received: (qmail 41491 invoked by uid 500); 15 Jun 2009 00:13:24 -0000 Delivered-To: [email protected] Received: (qmail 41454 invoked by uid 500); 15 Jun 2009 00:13:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 41444 invoked by uid 99); 15 Jun 2009 00:13:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2009 00:13:24 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO enterprise.16degrees.com.au) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2009 00:13:15 +0000 Received: from developer (CPE-121-215-243-70.static.qld.bigpond.net.au [161.129.204.104]) by enterprise.16degrees.com.au (Postfix) with ESMTPA id 816E272824 for <[email protected]>; Mon, 15 Jun 2009 10:12:52 +1000 (EST) From: "Gavin" <[email protected]> To: <[email protected]> References: <[email protected]> <[email protected]> <D42CF80BDF864137A10C2E34F88CBDEE@developer> <[email protected]> <[email protected]> <[email protected]> <E8646822544C4C6BAAEEFC471305C64D@developer> <[email protected]> Subject: RE: RAT with BuildBot at Apache Date: Mon, 15 Jun 2009 10:12:50 +1000 Message-ID: <9CBE7B8E4CF345448364A157BAA0BC4E@developer> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <[email protected]> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Thread-Index: AcntTYByNZv33MfYSCOAToS5c7pE5AAAFEHQ X-Antivirus: avast! (VPS 090614-0, 14/06/2009), Outbound message X-Antivirus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of Ross Gardler > Sent: Monday, 15 June 2009 10:09 AM > To: [email protected] > Subject: Re: RAT with BuildBot at Apache > > 2009/6/15 Gavin <[email protected]>: > > > Is that possible now, excluding sub-dirs ? If so how as I'd love to > > implement it so we can have more accurate results to work from for > refining. > > Here's an example from the Simal project (using Maven): > > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>rat-maven-plugin</artifactId> > <configuration> > <excludes> > <exclude>.pmd</exclude> > <exclude>derby.log</exclude> > <exclude>reports/**/*</exclude> > <exclude>simal/**/*</exclude> > <exclude>build/**/*</exclude> > <exclude>simalDOAPFilestore/**/*</exclude> > <exclude>simalRepository/**/*</exclude> > <exclude>local.simal.properties</exclude> > <exclude>local.simal.test.properties</exclude> > </excludes> > </configuration> > <executions> > <execution> > <phase>verify</phase> > <goals> > <goal>check</goal> > </goals> > </execution> > </executions> > </plugin> Ah, ok great thanks. My implementations so far have just been command line usage, so I'll have to move over to the Maven or Ant plugin ways then I guess. Thanks Gav... > > Ross From [email protected] Mon Jun 15 00:18:40 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92517 invoked from network); 15 Jun 2009 00:18:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Jun 2009 00:18:40 -0000 Received: (qmail 44727 invoked by uid 500); 15 Jun 2009 00:18:51 -0000 Delivered-To: [email protected] Received: (qmail 44691 invoked by uid 500); 15 Jun 2009 00:18:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 44681 invoked by uid 99); 15 Jun 2009 00:18:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2009 00:18:51 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ew0-f220.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2009 00:18:41 +0000 Received: by ewy20 with SMTP id 20so4169587ewy.12 for <[email protected]>; Sun, 14 Jun 2009 17:18:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=+O1KunMRbT8q0+yr2gAhSjQQjKrU9s35Nn7EYOLA+zM=; b=vg1IqsXGToBZxHcweUNbDNS14lNxUliT2IXn0RYVvLTsOBsdGGqc8nsX4jW7zp9ua8 W09Kolp8borfdHi88EdwG5lnsgPmwpzTVnhRgi6pUgXMB4KEYuAsikvVOhVfaZfJuGI1 dC+RZiNAzj8fFrHjr/k1GFdvSje4VFUQxcPrA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=tiNRonEATeGs9kRPh8+gbsjU09oazmvz0bBarjNGeN2KMZ2WpmCmXzH5Rm8qHF4aEg 3DzwGoCgFCUepRuo4zR2sysVXgXJS29UDG02mKCrKiElDF9aObqppEgRuB1OnDc/cWLm WNfQCjnqDwv+Wxq+hGt3S2s706RVvSo0wsACg= MIME-Version: 1.0 Sender: [email protected] Received: by 161.129.204.104 with SMTP id j19mr2160841wea.46.1245025099317; Sun, 14 Jun 2009 17:18:19 -0700 (PDT) In-Reply-To: <9CBE7B8E4CF345448364A157BAA0BC4E@developer> References: <[email protected]> <[email protected]> <D42CF80BDF864137A10C2E34F88CBDEE@developer> <[email protected]> <[email protected]> <[email protected]> <E8646822544C4C6BAAEEFC471305C64D@developer> <[email protected]> <9CBE7B8E4CF345448364A157BAA0BC4E@developer> Date: Mon, 15 Jun 2009 01:18:19 +0100 X-Google-Sender-Auth: 2e2af0e319c7550d Message-ID: <[email protected]> Subject: Re: RAT with BuildBot at Apache From: Ross Gardler <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org 2009/6/15 Gavin <[email protected]>: > > >> -----Original Message----- >> From: [email protected] [mailto:[email protected]] O= n >> Behalf Of Ross Gardler >> Sent: Monday, 15 June 2009 10:09 AM >> To: [email protected] >> Subject: Re: RAT with BuildBot at Apache >> >> 2009/6/15 Gavin <[email protected]>: >> >> > Is that possible now, excluding sub-dirs ? If so how as I'd love to >> > implement it so we can have more accurate results to work from for >> refining. >> >> Here's an example from the Simal project (using Maven): >> >> =A0 =A0 =A0 <plugin> >> =A0 =A0 =A0 =A0 <groupId>org.codehaus.mojo</groupId> >> =A0 =A0 =A0 =A0 <artifactId>rat-maven-plugin</artifactId> >> =A0 =A0 =A0 =A0 <configuration> >> =A0 =A0 =A0 =A0 =A0 <excludes> >> =A0 =A0 =A0 =A0 =A0 =A0 <exclude>.pmd</exclude> >> =A0 =A0 =A0 =A0 =A0 =A0 <exclude>derby.log</exclude> >> =A0 =A0 =A0 =A0 =A0 =A0 <exclude>reports/**/*</exclude> >> =A0 =A0 =A0 =A0 =A0 =A0 <exclude>simal/**/*</exclude> >> =A0 =A0 =A0 =A0 =A0 =A0 <exclude>build/**/*</exclude> >> =A0 =A0 =A0 =A0 =A0 =A0 <exclude>simalDOAPFilestore/**/*</exclude> >> =A0 =A0 =A0 =A0 =A0 =A0 <exclude>simalRepository/**/*</exclude> >> =A0 =A0 =A0 =A0 =A0 =A0 <exclude>local.simal.properties</exclude> >> =A0 =A0 =A0 =A0 =A0 =A0 <exclude>local.simal.test.properties</exclude> >> =A0 =A0 =A0 =A0 =A0 </excludes> >> =A0 =A0 =A0 =A0 </configuration> >> =A0 =A0 =A0 =A0 <executions> >> =A0 =A0 =A0 =A0 =A0 <execution> >> =A0 =A0 =A0 =A0 =A0 =A0 <phase>verify</phase> >> =A0 =A0 =A0 =A0 =A0 =A0 <goals> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 <goal>check</goal> >> =A0 =A0 =A0 =A0 =A0 =A0 </goals> >> =A0 =A0 =A0 =A0 =A0 </execution> >> =A0 =A0 =A0 =A0 </executions> >> =A0 =A0 =A0 </plugin> > > Ah, ok great thanks. My implementations so far have just been command lin= e > usage, so I'll have to move over to the Maven or Ant plugin ways then I > guess. It must be in the code, is it not implemented in the CLI? Sounds like a feature if not. Ross From [email protected] Mon Jun 15 01:10:18 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4217 invoked from network); 15 Jun 2009 01:10:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Jun 2009 01:10:18 -0000 Received: (qmail 69728 invoked by uid 500); 15 Jun 2009 01:10:30 -0000 Delivered-To: [email protected] Received: (qmail 69691 invoked by uid 500); 15 Jun 2009 01:10:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 69680 invoked by uid 99); 15 Jun 2009 01:10:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2009 01:10:30 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2009 01:10:27 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 8D627234C004 for <[email protected]>; Sun, 14 Jun 2009 18:10:07 -0700 (PDT) Message-ID: <1227679476.1245028207564.JavaMail.jira@brutus> Date: Sun, 14 Jun 2009 18:10:07 -0700 (PDT) From: "Gavin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (RAT-2) RAT reports should be able to skip certain file types or contents: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/RAT-2?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12719362#action_12719362 ] Gavin commented on RAT-2: ------------------------- Yes, configurable CLI exclusions would be good. Like rsync, something like '--exclude /this/directory --exclude /another/directory/here' or '--exclude-file="listoffilesanddirstoexclude.txt"' - where that txt file contains a list > RAT reports should be able to skip certain file types or contents: > ------------------------------------------------------------------ > > Key: RAT-2 > URL: https://issues.apache.org/jira/browse/RAT-2 > Project: RAT > Issue Type: Improvement > Components: engine > Reporter: Sebb > > RAT reports should be able to skip certain file types or contents: > MANIFEST files > *.css where the contents is a single "@include" line > CHANGES file > It would be useful if exceptions could be configured on a per-project basis -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Jun 15 21:32:58 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99533 invoked from network); 15 Jun 2009 21:32:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Jun 2009 21:32:58 -0000 Received: (qmail 74619 invoked by uid 500); 15 Jun 2009 21:33:09 -0000 Delivered-To: [email protected] Received: (qmail 74575 invoked by uid 500); 15 Jun 2009 21:33:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 74565 invoked by uid 99); 15 Jun 2009 21:33:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2009 21:33:09 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO smtp-out4.blueyonder.co.uk) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2009 21:32:58 +0000 Received: from [161.129.204.104] (helo=anti-virus01-09) by smtp-out4.blueyonder.co.uk with smtp (Exim 4.52) id 1MGJn7-0003Ov-Fz for [email protected]; Mon, 15 Jun 2009 22:32:33 +0100 Received: from [161.129.204.104] (helo=[161.129.204.104]) by asmtp-out4.blueyonder.co.uk with esmtpa (Exim 4.52) id 1MGJn6-0001AV-QW for [email protected]; Mon, 15 Jun 2009 22:32:32 +0100 Message-ID: <[email protected]> Date: Mon, 15 Jun 2009 22:32:32 +0100 From: Robert Burrell Donkin <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20090330) MIME-Version: 1.0 To: [email protected] Subject: Re: RAT with BuildBot at Apache References: <[email protected]> <[email protected]> <D42CF80BDF864137A10C2E34F88CBDEE@developer> <[email protected]> <[email protected]> <[email protected]> <E8646822544C4C6BAAEEFC471305C64D@developer> <[email protected]> <9CBE7B8E4CF345448364A157BAA0BC4E@developer> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Ross Gardler wrote: > 2009/6/15 Gavin <[email protected]>: >> >>> -----Original Message----- >>> From: [email protected] [mailto:[email protected]] On >>> Behalf Of Ross Gardler >>> Sent: Monday, 15 June 2009 10:09 AM >>> To: [email protected] >>> Subject: Re: RAT with BuildBot at Apache >>> >>> 2009/6/15 Gavin <[email protected]>: >>> >>>> Is that possible now, excluding sub-dirs ? If so how as I'd love to >>>> implement it so we can have more accurate results to work from for >>> refining. >>> >>> Here's an example from the Simal project (using Maven): >>> >>> <plugin> >>> <groupId>org.codehaus.mojo</groupId> >>> <artifactId>rat-maven-plugin</artifactId> >>> <configuration> >>> <excludes> >>> <exclude>.pmd</exclude> >>> <exclude>derby.log</exclude> >>> <exclude>reports/**/*</exclude> >>> <exclude>simal/**/*</exclude> >>> <exclude>build/**/*</exclude> >>> <exclude>simalDOAPFilestore/**/*</exclude> >>> <exclude>simalRepository/**/*</exclude> >>> <exclude>local.simal.properties</exclude> >>> <exclude>local.simal.test.properties</exclude> >>> </excludes> >>> </configuration> >>> <executions> >>> <execution> >>> <phase>verify</phase> >>> <goals> >>> <goal>check</goal> >>> </goals> >>> </execution> >>> </executions> >>> </plugin> >> Ah, ok great thanks. My implementations so far have just been command line >> usage, so I'll have to move over to the Maven or Ant plugin ways then I >> guess. > > It must be in the code, is it not implemented in the CLI? Sounds like > a feature if not. there's quite a few features in the code that just need some CLI work to support on the command line would you want it to be something like comma separated list eg %rat --excludes="target, build/**/*, *.svn" - robert From [email protected] Mon Jun 15 22:37:03 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45126 invoked from network); 15 Jun 2009 22:37:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Jun 2009 22:37:03 -0000 Received: (qmail 70738 invoked by uid 500); 15 Jun 2009 22:37:15 -0000 Delivered-To: [email protected] Received: (qmail 70701 invoked by uid 500); 15 Jun 2009 22:37:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 70691 invoked by uid 99); 15 Jun 2009 22:37:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2009 22:37:14 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO enterprise.16degrees.com.au) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2009 22:37:05 +0000 Received: from developer (CPE-121-215-243-70.static.qld.bigpond.net.au [161.129.204.104]) by enterprise.16degrees.com.au (Postfix) with ESMTPA id 578FC72823 for <[email protected]>; Tue, 16 Jun 2009 08:36:42 +1000 (EST) From: "Gavin" <[email protected]> To: <[email protected]> References: <[email protected]> <[email protected]> <D42CF80BDF864137A10C2E34F88CBDEE@developer> <[email protected]> <[email protected]> <[email protected]> <E8646822544C4C6BAAEEFC471305C64D@developer> <[email protected]> <9CBE7B8E4CF345448364A157BAA0BC4E@developer> <[email protected]> <[email protected]> Subject: RE: RAT with BuildBot at Apache Date: Tue, 16 Jun 2009 08:36:39 +1000 Message-ID: <2606F66DF6FE4C60BA03BD73FD2A8D90@developer> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <[email protected]> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Thread-Index: AcnuAOEO5INkcEs3TsiK0lX+oZaVAAACD1kQ X-Antivirus: avast! (VPS 090615-0, 15/06/2009), Outbound message X-Antivirus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org > -----Original Message----- > From: Robert Burrell Donkin [mailto:[email protected]] > Sent: Tuesday, 16 June 2009 7:33 AM > To: [email protected] > Subject: Re: RAT with BuildBot at Apache > > Ross Gardler wrote: > > 2009/6/15 Gavin <[email protected]>: > >> > >>> -----Original Message----- > >>> From: [email protected] [mailto:[email protected]] > On > >>> Behalf Of Ross Gardler > >>> Sent: Monday, 15 June 2009 10:09 AM > >>> To: [email protected] > >>> Subject: Re: RAT with BuildBot at Apache > >>> > >>> 2009/6/15 Gavin <[email protected]>: > >>> > >>>> Is that possible now, excluding sub-dirs ? If so how as I'd love to > >>>> implement it so we can have more accurate results to work from for > >>> refining. > >>> > >>> Here's an example from the Simal project (using Maven): > >>> > >>> <plugin> > >>> <groupId>org.codehaus.mojo</groupId> > >>> <artifactId>rat-maven-plugin</artifactId> > >>> <configuration> > >>> <excludes> > >>> <exclude>.pmd</exclude> > >>> <exclude>derby.log</exclude> > >>> <exclude>reports/**/*</exclude> > >>> <exclude>simal/**/*</exclude> > >>> <exclude>build/**/*</exclude> > >>> <exclude>simalDOAPFilestore/**/*</exclude> > >>> <exclude>simalRepository/**/*</exclude> > >>> <exclude>local.simal.properties</exclude> > >>> <exclude>local.simal.test.properties</exclude> > >>> </excludes> > >>> </configuration> > >>> <executions> > >>> <execution> > >>> <phase>verify</phase> > >>> <goals> > >>> <goal>check</goal> > >>> </goals> > >>> </execution> > >>> </executions> > >>> </plugin> > >> Ah, ok great thanks. My implementations so far have just been command > line > >> usage, so I'll have to move over to the Maven or Ant plugin ways then I > >> guess. > > > > It must be in the code, is it not implemented in the CLI? Sounds like > > a feature if not. > > > there's quite a few features in the code that just need some CLI work to > support on the command line > > would you want it to be something like comma separated list eg > > %rat --excludes="target, build/**/*, *.svn" > Hi Robert, yes that would be great, thanks! I commented on RAT-2 yesterday saying just that. I also added that perhaps there could be an --exclude-file="file-of-excludes" but that's not essential, your idea will be just fine. While I'm here, I'm now just playing with ant-task-examples.xml but I can't get it working. I renamed it to build.xml and tried to use it as is. The error I get is :- D:\Apache2\rat-trunk>ant javasources Buildfile: build.xml -taskdef: javasources: BUILD FAILED D:\Apache2\rat-trunk\build.xml:33: Problem: failed to create task or type antlib :org.apache.rat.anttasks:report Cause: The name is undefined. Action: Check the spelling. Action: Check that any custom tasks/types have been declared. Action: Check that any <presetdef>/<macrodef> declarations have taken place. No types or tasks have been defined in this namespace yet This appears to be an antlib declaration. Action: Check that the implementing library exists in one of: -D:\Apache2\forrest\tools\ant\lib -C:\Documents and Settings\Gavin\.ant\lib -a directory added on the command line with the -lib argument I'm assuming user error, any clues? Thanks Gav... > - robert From [email protected] Tue Jun 16 20:04:12 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44733 invoked from network); 16 Jun 2009 20:04:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Jun 2009 20:04:11 -0000 Received: (qmail 91793 invoked by uid 500); 16 Jun 2009 20:04:23 -0000 Delivered-To: [email protected] Received: (qmail 91750 invoked by uid 500); 16 Jun 2009 20:04:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 91740 invoked by uid 99); 16 Jun 2009 20:04:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jun 2009 20:04:23 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-qy0-f179.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jun 2009 20:04:15 +0000 Received: by qyk9 with SMTP id 9so3324380qyk.32 for <[email protected]>; Tue, 16 Jun 2009 13:03:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=668CevlQFpRBa8194eMY6pDYAX1EDU8s+Kk64nDjFNQ=; b=E5YCsLIBTo+PVgGz5q50nAqcPAKOznfz5BShiJ2kSmqXooBm7gDOIEzcNxsMwsXxgd /MwICSYofn07p90pyDKGilQQNS2VccsJjbsBMigr8jTe0XxTIwx3UkbCC27hVehpcrGt 8+BwmBSPblMR8cwRsYLWyO/xYhcTFCT42THGE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=N+ht5klVcG2FJyKcHvCqKChuBR+fC4oQUbxtaRoOKQKSrr26Zb4ojNu0qCeUBf3O0V ZCGm+xfl81uOduBfKHdLsAZHeIM9kc/A/kXl2Ympd8wmpBb1WOVXYn6oUJbxxhsgXjKd bZ5L4W06lGZX88ofcfou5STPTFPA2KKYGFVWo= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id j7mr6156708vcm.57.1245182612237; Tue, 16 Jun 2009 13:03:32 -0700 (PDT) Date: Tue, 16 Jun 2009 22:03:32 +0200 Message-ID: <[email protected]> Subject: apache-rat-pd From: =?ISO-8859-2?Q?Marija_=A9ljivovi=E6?= <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0016e645b9be4b6359046c7cab31 X-Virus-Checked: Checked by ClamAV on apache.org --0016e645b9be4b6359046c7cab31 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi! I am working on copy&paste(plagiarism) detector. You can see information about project and reports of my progress on this locations: http://wiki.apache.org/general/MarijaSljivovic/SoC2009ApacheRatProposal https://issues.apache.org/jira/browse/RAT-45 or get source code and binary distributions on: http://code.google.com/p/apache-rat-pd/ I think now to make some misspellings heuristic checkers. This algorithms will be able to notice some misspelled words in source code. Then this part of code will be sent to some of code search engines(GoogleCodeSearch for example) to check if it can find any similar misspellings in public code bases. On that way we can check possibility if code part is plagiarised. Now i search for an open source library which can be used for this task. I found one: jazzy ( http://jazzy.sourceforge.net/ ) and I think that it is good for this purpose. Any suggestion for other solution that is better then jazzy? Work on apache-rat-pd(plagiarism detector) is continuing. If you have any suggestions or advice, please say. Best regards, Marija --0016e645b9be4b6359046c7cab31-- From [email protected] Tue Jun 16 20:27:19 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54436 invoked from network); 16 Jun 2009 20:27:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Jun 2009 20:27:18 -0000 Received: (qmail 31407 invoked by uid 500); 16 Jun 2009 20:27:30 -0000 Delivered-To: [email protected] Received: (qmail 31305 invoked by uid 500); 16 Jun 2009 20:27:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31269 invoked by uid 99); 16 Jun 2009 20:27:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jun 2009 20:27:29 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jun 2009 20:27:27 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 73E6329A0014 for <[email protected]>; Tue, 16 Jun 2009 13:27:07 -0700 (PDT) Message-ID: <1674042083.1245184027473.JavaMail.jira@brutus> Date: Tue, 16 Jun 2009 13:27:07 -0700 (PDT) From: "Robert Burrell Donkin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (RAT-56) Commons IO Wildcard Excludes In-Reply-To: <646256709.1245184027380.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/RAT-56?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Burrell Donkin closed RAT-56. ------------------------------------ Resolution: Fixed This is a simple example of what can be achieved. Patched welcomed ;-) > Commons IO Wildcard Excludes > ---------------------------- > > Key: RAT-56 > URL: https://issues.apache.org/jira/browse/RAT-56 > Project: RAT > Issue Type: Improvement > Components: cli > Affects Versions: 0.7 > Reporter: Robert Burrell Donkin > Assignee: Robert Burrell Donkin > Fix For: 0.7 > > > Add support from the command line for commons IO wildcard file filtering -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jun 16 20:27:19 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54451 invoked from network); 16 Jun 2009 20:27:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Jun 2009 20:27:18 -0000 Received: (qmail 31427 invoked by uid 500); 16 Jun 2009 20:27:30 -0000 Delivered-To: [email protected] Received: (qmail 31309 invoked by uid 500); 16 Jun 2009 20:27:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31268 invoked by uid 99); 16 Jun 2009 20:27:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jun 2009 20:27:29 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jun 2009 20:27:27 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 60608234C044 for <[email protected]>; Tue, 16 Jun 2009 13:27:07 -0700 (PDT) Message-ID: <646256709.1245184027380.JavaMail.jira@brutus> Date: Tue, 16 Jun 2009 13:27:07 -0700 (PDT) From: "Robert Burrell Donkin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (RAT-56) Commons IO Wildcard Excludes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Commons IO Wildcard Excludes ---------------------------- Key: RAT-56 URL: https://issues.apache.org/jira/browse/RAT-56 Project: RAT Issue Type: Improvement Components: cli Affects Versions: 0.7 Reporter: Robert Burrell Donkin Assignee: Robert Burrell Donkin Fix For: 0.7 Add support from the command line for commons IO wildcard file filtering -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jun 16 20:34:31 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57075 invoked from network); 16 Jun 2009 20:34:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Jun 2009 20:34:30 -0000 Received: (qmail 50695 invoked by uid 500); 16 Jun 2009 20:34:42 -0000 Delivered-To: [email protected] Received: (qmail 50657 invoked by uid 500); 16 Jun 2009 20:34:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 50647 invoked by uid 99); 16 Jun 2009 20:34:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jun 2009 20:34:42 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO smtp-out4.blueyonder.co.uk) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jun 2009 20:34:31 +0000 Received: from [161.129.204.104] (helo=anti-virus02-07) by smtp-out4.blueyonder.co.uk with smtp (Exim 4.52) id 1MGfMB-0003tZ-0H for [email protected]; Tue, 16 Jun 2009 21:34:11 +0100 Received: from [161.129.204.104] (helo=[161.129.204.104]) by asmtp-out2.blueyonder.co.uk with esmtpa (Exim 4.52) id 1MGfMA-0002yO-CB for [email protected]; Tue, 16 Jun 2009 21:34:10 +0100 Message-ID: <[email protected]> Date: Tue, 16 Jun 2009 21:34:10 +0100 From: Robert Burrell Donkin <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20090330) MIME-Version: 1.0 To: [email protected] Subject: Re: RAT with BuildBot at Apache References: <[email protected]> <[email protected]> <D42CF80BDF864137A10C2E34F88CBDEE@developer> <[email protected]> <[email protected]> <[email protected]> <E8646822544C4C6BAAEEFC471305C64D@developer> <[email protected]> <9CBE7B8E4CF345448364A157BAA0BC4E@developer> <[email protected]> <[email protected]> <2606F66DF6FE4C60BA03BD73FD2A8D90@developer> In-Reply-To: <2606F66DF6FE4C60BA03BD73FD2A8D90@developer> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Gavin wrote: > >> -----Original Message----- >> From: Robert Burrell Donkin [mailto:[email protected]] >> Sent: Tuesday, 16 June 2009 7:33 AM >> To: [email protected] >> Subject: Re: RAT with BuildBot at Apache >> >> Ross Gardler wrote: >>> 2009/6/15 Gavin <[email protected]>: >>>>> -----Original Message----- >>>>> From: [email protected] [mailto:[email protected]] >> On >>>>> Behalf Of Ross Gardler >>>>> Sent: Monday, 15 June 2009 10:09 AM >>>>> To: [email protected] >>>>> Subject: Re: RAT with BuildBot at Apache >>>>> >>>>> 2009/6/15 Gavin <[email protected]>: >>>>> >>>>>> Is that possible now, excluding sub-dirs ? If so how as I'd love to >>>>>> implement it so we can have more accurate results to work from for >>>>> refining. >>>>> >>>>> Here's an example from the Simal project (using Maven): >>>>> >>>>> <plugin> >>>>> <groupId>org.codehaus.mojo</groupId> >>>>> <artifactId>rat-maven-plugin</artifactId> >>>>> <configuration> >>>>> <excludes> >>>>> <exclude>.pmd</exclude> >>>>> <exclude>derby.log</exclude> >>>>> <exclude>reports/**/*</exclude> >>>>> <exclude>simal/**/*</exclude> >>>>> <exclude>build/**/*</exclude> >>>>> <exclude>simalDOAPFilestore/**/*</exclude> >>>>> <exclude>simalRepository/**/*</exclude> >>>>> <exclude>local.simal.properties</exclude> >>>>> <exclude>local.simal.test.properties</exclude> >>>>> </excludes> >>>>> </configuration> >>>>> <executions> >>>>> <execution> >>>>> <phase>verify</phase> >>>>> <goals> >>>>> <goal>check</goal> >>>>> </goals> >>>>> </execution> >>>>> </executions> >>>>> </plugin> >>>> Ah, ok great thanks. My implementations so far have just been command >> line >>>> usage, so I'll have to move over to the Maven or Ant plugin ways then I >>>> guess. >>> It must be in the code, is it not implemented in the CLI? Sounds like >>> a feature if not. >> >> there's quite a few features in the code that just need some CLI work to >> support on the command line >> >> would you want it to be something like comma separated list eg >> >> %rat --excludes="target, build/**/*, *.svn" >> > > Hi Robert, yes that would be great, thanks! > > I commented on RAT-2 yesterday saying just that. > I also added that perhaps there could be an > > --exclude-file="file-of-excludes" > > but that's not essential, your idea will be just fine. i've refactored the code and added a simple example (--exclude which uses Commons IO wildcard file filters). i'd be happy to review a patch for something along the lines of your suggestion (i've refactored the code so it should be easier to do now - just take a look at the excludesimplementation in http://svn.apache.org/repos/asf/incubator/rat/main/trunk/apache-rat-core/src/main/java/org/apache/rat/Report.java) > While I'm here, I'm now just playing with ant-task-examples.xml but I can't > get it working. I renamed it to build.xml and tried to use it as is. > > The error I get is :- > > D:\Apache2\rat-trunk>ant javasources > Buildfile: build.xml > > -taskdef: > > javasources: > > BUILD FAILED > D:\Apache2\rat-trunk\build.xml:33: Problem: failed to create task or type > antlib > :org.apache.rat.anttasks:report > Cause: The name is undefined. > Action: Check the spelling. > Action: Check that any custom tasks/types have been declared. > Action: Check that any <presetdef>/<macrodef> declarations have taken place. > No types or tasks have been defined in this namespace yet > > This appears to be an antlib declaration. > Action: Check that the implementing library exists in one of: > -D:\Apache2\forrest\tools\ant\lib > -C:\Documents and Settings\Gavin\.ant\lib > -a directory added on the command line with the -lib argument > > I'm assuming user error, any clues? i think that you either need to install the rat antlib locally (see ant manual since it's fiddly) or add a classpath containing the jars required - robert From [email protected] Tue Jun 16 21:15:47 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74402 invoked from network); 16 Jun 2009 21:15:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Jun 2009 21:15:47 -0000 Received: (qmail 6296 invoked by uid 500); 16 Jun 2009 21:15:58 -0000 Delivered-To: [email protected] Received: (qmail 6262 invoked by uid 500); 16 Jun 2009 21:15:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 6252 invoked by uid 99); 16 Jun 2009 21:15:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jun 2009 21:15:58 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO smtp-out2.blueyonder.co.uk) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jun 2009 21:15:49 +0000 Received: from [161.129.204.104] (helo=anti-virus03-07) by smtp-out2.blueyonder.co.uk with smtp (Exim 4.52) id 1MGg04-0008Rp-L1 for [email protected]; Tue, 16 Jun 2009 22:15:24 +0100 Received: from [161.129.204.104] (helo=[161.129.204.104]) by asmtp-out6.blueyonder.co.uk with esmtpa (Exim 4.52) id 1MGg04-0001My-56 for [email protected]; Tue, 16 Jun 2009 22:15:24 +0100 Message-ID: <[email protected]> Date: Tue, 16 Jun 2009 22:15:23 +0100 From: Robert Burrell Donkin <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20090330) MIME-Version: 1.0 To: [email protected] Subject: Re: apache-rat-pd References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Marija Šljivović wrote: > Hi! > I am working on copy&paste(plagiarism) detector. cool > You can see information about project and reports of my progress on this > locations: > http://wiki.apache.org/general/MarijaSljivovic/SoC2009ApacheRatProposal > https://issues.apache.org/jira/browse/RAT-45 > or get source code and binary distributions on: > http://code.google.com/p/apache-rat-pd/ > I think now to make some misspellings heuristic checkers. This algorithms > will be able to notice some misspelled words in source code. > Then this part of code will be sent to some of code search > engines(GoogleCodeSearch for example) to check if it can find any similar > misspellings in public code bases. > On that way we can check possibility if code part is plagiarised. > Now i search for an open source library which can be used for this task. I > found one: jazzy ( http://jazzy.sourceforge.net/ ) and I think that it is > good for this purpose. probably best to make the API pluggable (jazzy is LGPL but this is good advice in any case) > Any suggestion for other solution that is better then jazzy? i'm not sure whether it would be better but an alternative approach would be to use a semi-structured text analysis tool for example UIMA (http://incubator.apache.org/uima/) or lucene > Work on apache-rat-pd(plagiarism detector) is continuing. great :-) - robert From [email protected] Tue Jun 16 21:52:16 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99979 invoked from network); 16 Jun 2009 21:52:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Jun 2009 21:52:16 -0000 Received: (qmail 58085 invoked by uid 500); 16 Jun 2009 21:52:27 -0000 Delivered-To: [email protected] Received: (qmail 58048 invoked by uid 500); 16 Jun 2009 21:52:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 58038 invoked by uid 99); 16 Jun 2009 21:52:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jun 2009 21:52:27 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO smtp-out3.blueyonder.co.uk) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jun 2009 21:52:18 +0000 Received: from [161.129.204.104] (helo=anti-virus01-08) by smtp-out3.blueyonder.co.uk with smtp (Exim 4.52) id 1MGgZN-0003l8-5a for [email protected]; Tue, 16 Jun 2009 22:51:53 +0100 Received: from [161.129.204.104] (helo=[161.129.204.104]) by asmtp-out3.blueyonder.co.uk with esmtpa (Exim 4.52) id 1MGgZM-0007mU-Oi for [email protected]; Tue, 16 Jun 2009 22:51:52 +0100 Message-ID: <[email protected]> Date: Tue, 16 Jun 2009 22:51:52 +0100 From: Robert Burrell Donkin <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20090330) MIME-Version: 1.0 To: [email protected] Subject: Re: apache-rat-pd References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Robert Burrell Donkin wrote: > Marija Šljivović wrote: >> Hi! >> I am working on copy&paste(plagiarism) detector. > > cool > >> You can see information about project and reports of my progress on this >> locations: >> http://wiki.apache.org/general/MarijaSljivovic/SoC2009ApacheRatProposal >> https://issues.apache.org/jira/browse/RAT-45 >> or get source code and binary distributions on: >> http://code.google.com/p/apache-rat-pd/ >> I think now to make some misspellings heuristic checkers. This algorithms >> will be able to notice some misspelled words in source code. >> Then this part of code will be sent to some of code search >> engines(GoogleCodeSearch for example) to check if it can find any similar >> misspellings in public code bases. >> On that way we can check possibility if code part is plagiarised. >> Now i search for an open source library which can be used for this task. I >> found one: jazzy ( http://jazzy.sourceforge.net/ ) and I think that it is >> good for this purpose. > > probably best to make the API pluggable (jazzy is LGPL but this is good > advice in any case) > >> Any suggestion for other solution that is better then jazzy? > > i'm not sure whether it would be better but an alternative approach > would be to use a semi-structured text analysis tool for example UIMA > (http://incubator.apache.org/uima/) or lucene for lucene, start by looking at http://svn.apache.org/repos/asf/lucene/java/trunk/contrib/spellchecker/ and then create a custom dictionary by tokenising a large number of source files - robert From [email protected] Tue Jun 16 23:51:32 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56122 invoked from network); 16 Jun 2009 23:51:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Jun 2009 23:51:32 -0000 Received: (qmail 1378 invoked by uid 500); 16 Jun 2009 23:51:44 -0000 Delivered-To: [email protected] Received: (qmail 1345 invoked by uid 500); 16 Jun 2009 23:51:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 1335 invoked by uid 99); 16 Jun 2009 23:51:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jun 2009 23:51:43 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO enterprise.16degrees.com.au) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jun 2009 23:51:32 +0000 Received: from developer (CPE-121-215-243-70.static.qld.bigpond.net.au [161.129.204.104]) by enterprise.16degrees.com.au (Postfix) with ESMTPA id 030B172824 for <[email protected]>; Wed, 17 Jun 2009 09:51:07 +1000 (EST) From: "Gavin" <[email protected]> To: <[email protected]> References: <[email protected]> <[email protected]> <D42CF80BDF864137A10C2E34F88CBDEE@developer> <[email protected]> <[email protected]> <[email protected]> <E8646822544C4C6BAAEEFC471305C64D@developer> <[email protected]> <9CBE7B8E4CF345448364A157BAA0BC4E@developer> <[email protected]> <[email protected]> <2606F66DF6FE4C60BA03BD73FD2A8D90@developer> <[email protected]> Subject: RE: RAT with BuildBot at Apache Date: Wed, 17 Jun 2009 09:51:06 +1000 Message-ID: <2DC71E61E15F499A86C75721800EC617@developer> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <[email protected]> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Thread-Index: AcnuweEi6LGRf6WJQt6eXxqDfZ1DvQAGTMsg X-Antivirus: avast! (VPS 090616-0, 16/06/2009), Outbound message X-Antivirus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org > -----Original Message----- > From: Robert Burrell Donkin [mailto:[email protected]] > Sent: Wednesday, 17 June 2009 6:34 AM > To: [email protected] > Subject: Re: RAT with BuildBot at Apache <snip> > > i've refactored the code and added a simple example (--exclude which > uses Commons IO wildcard file filters). Woohoo, excellent thanks! And it works just great. Buildbot picked up the new code and deployed the new Jar into operation just a minute or so after you made the commit :) All I needed to do then was add my excludes to the rat.conf build file, then wait some seconds whilst Saxon converted the resultant xml report into html and then deployed to the website for viewing. I love it when it all works. http://ci.apache.org/projects/rat/rat-report.html Is the up to date HTML report -- as mentioned the HTML could do with a bit of tweaking to pretty it up and make it worthwhile looking at over the txt version. Which I'll do soon to get it out of the way. The important thing here is we now have useful and accurate reports. Using the RAT report above, we have 9 unknown licenses. Unknown licenses includes no license at all so may need to re-word that, anyway .. Of those 9 licenses Empty.txt, notjavadoc.html, bad.txt, src.txt -- are all intentionally not licensed and are there as examples. So that leaves us with 5 possible 'real' contenders in RAT for license problems. BUILD.txt - I don't see why we can't add a licence header here, others do. src/main/java/org/apache/rat/report/claim/ClaimStatistic.java src/main/java/org/apache/rat/report/claim/impl/AbstractClaimReporter.java src/main/java/org/apache/rat/report/claim/impl/ClaimAggregator.java src/test/resources/elements/Source.java All those look like genuine contenders to have licences added. Shall I attach a patch somewhere for those 5 ? Then I believe we are 'clean' and ready to act as a good example :) > i'd be happy to review a patch > for something along the lines of your suggestion (i've refactored the > code so it should be easier to do now - just take a look at the > excludesimplementation in > http://svn.apache.org/repos/asf/incubator/rat/main/trunk/apache-rat- > core/src/main/java/org/apache/rat/Report.java) Great, I'll take a look at that soon, thanks. > > > > While I'm here, I'm now just playing with ant-task-examples.xml but I > can't > > get it working. I renamed it to build.xml and tried to use it as is. > > > > The error I get is :- > > > > D:\Apache2\rat-trunk>ant javasources > > Buildfile: build.xml > > > > -taskdef: > > > > javasources: > > > > BUILD FAILED > > D:\Apache2\rat-trunk\build.xml:33: Problem: failed to create task or > type > > antlib > > :org.apache.rat.anttasks:report > > Cause: The name is undefined. > > Action: Check the spelling. > > Action: Check that any custom tasks/types have been declared. > > Action: Check that any <presetdef>/<macrodef> declarations have taken > place. > > No types or tasks have been defined in this namespace yet > > > > This appears to be an antlib declaration. > > Action: Check that the implementing library exists in one of: > > -D:\Apache2\forrest\tools\ant\lib > > -C:\Documents and Settings\Gavin\.ant\lib > > -a directory added on the command line with the -lib argument > > > > I'm assuming user error, any clues? > > i think that you either need to install the rat antlib locally (see ant > manual since it's fiddly) or add a classpath containing the jars required Yeah I figured something like that, Ant's site is a nightmare and I can never find what jar I need that is required for 'antlib', I'll keep looking, thanks. Gav... > > - robert > From [email protected] Wed Jun 17 08:24:20 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35695 invoked from network); 17 Jun 2009 08:24:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Jun 2009 08:24:19 -0000 Received: (qmail 15542 invoked by uid 500); 17 Jun 2009 08:24:31 -0000 Delivered-To: [email protected] Received: (qmail 15498 invoked by uid 500); 17 Jun 2009 08:24:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 15487 invoked by uid 99); 17 Jun 2009 08:24:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 08:24:31 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 08:24:29 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id C0F04234C1E7 for <[email protected]>; Wed, 17 Jun 2009 01:24:07 -0700 (PDT) Message-ID: <561071658.1245227047789.JavaMail.jira@brutus> Date: Wed, 17 Jun 2009 01:24:07 -0700 (PDT) From: "Robert Burrell Donkin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (RAT-57) Copyright year checks MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Copyright year checks --------------------- Key: RAT-57 URL: https://issues.apache.org/jira/browse/RAT-57 Project: RAT Issue Type: New Feature Reporter: Robert Burrell Donkin Check copyright years -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Jun 17 08:30:05 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37604 invoked from network); 17 Jun 2009 08:30:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Jun 2009 08:30:05 -0000 Received: (qmail 23723 invoked by uid 500); 17 Jun 2009 08:30:16 -0000 Delivered-To: [email protected] Received: (qmail 23684 invoked by uid 500); 17 Jun 2009 08:30:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23629 invoked by uid 99); 17 Jun 2009 08:30:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 08:30:13 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO smtp-out3.blueyonder.co.uk) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 08:30:04 +0000 Received: from [161.129.204.104] (helo=anti-virus03-07) by smtp-out3.blueyonder.co.uk with smtp (Exim 4.52) id 1MGqWY-0004rc-H8 for [email protected]; Wed, 17 Jun 2009 09:29:38 +0100 Received: from [161.129.204.104] (helo=[161.129.204.104]) by asmtp-out1.blueyonder.co.uk with esmtpa (Exim 4.52) id 1MGqWX-0004SJ-IW for [email protected]; Wed, 17 Jun 2009 09:29:37 +0100 Message-ID: <[email protected]> Date: Wed, 17 Jun 2009 09:29:37 +0100 From: Robert Burrell Donkin <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20090330) MIME-Version: 1.0 To: [email protected] Subject: Crawler Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org i made a start on a crawler module yesterday to make it easier to download all releases from an URL. it's still at the very early stage yet (developers only), and isn't integrated with the rest of RAT. it raises some structural issues (it requires Java 5 and integrating into the command line would raise some questions about module dependencies). i'm thinking of just putting it into trunk so that anyone else who has similar problems can just patch it rather than starting from scratch. - robert From [email protected] Wed Jun 17 10:20:16 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15734 invoked from network); 17 Jun 2009 10:20:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Jun 2009 10:20:16 -0000 Received: (qmail 22644 invoked by uid 500); 17 Jun 2009 10:20:27 -0000 Delivered-To: [email protected] Received: (qmail 22606 invoked by uid 500); 17 Jun 2009 10:20:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 22596 invoked by uid 99); 17 Jun 2009 10:20:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 10:20:27 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO smtp-out2.blueyonder.co.uk) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 10:20:16 +0000 Received: from [161.129.204.104] (helo=anti-virus03-09) by smtp-out2.blueyonder.co.uk with smtp (Exim 4.52) id 1MGsFD-00053t-Uq for [email protected]; Wed, 17 Jun 2009 11:19:51 +0100 Received: from [161.129.204.104] (helo=[161.129.204.104]) by asmtp-out1.blueyonder.co.uk with esmtpa (Exim 4.52) id 1MGsFD-0007ge-Ev for [email protected]; Wed, 17 Jun 2009 11:19:51 +0100 Message-ID: <[email protected]> Date: Wed, 17 Jun 2009 11:19:51 +0100 From: Robert Burrell Donkin <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20090330) MIME-Version: 1.0 To: [email protected] Subject: Re: RAT with BuildBot at Apache References: <[email protected]> <[email protected]> <D42CF80BDF864137A10C2E34F88CBDEE@developer> <[email protected]> <[email protected]> <[email protected]> <E8646822544C4C6BAAEEFC471305C64D@developer> <[email protected]> <9CBE7B8E4CF345448364A157BAA0BC4E@developer> <[email protected]> <[email protected]> <2606F66DF6FE4C60BA03BD73FD2A8D90@developer> <[email protected]> <2DC71E61E15F499A86C75721800EC617@developer> In-Reply-To: <2DC71E61E15F499A86C75721800EC617@developer> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Gavin wrote: > >> -----Original Message----- >> From: Robert Burrell Donkin [mailto:[email protected]] >> Sent: Wednesday, 17 June 2009 6:34 AM >> To: [email protected] >> Subject: Re: RAT with BuildBot at Apache > > <snip> > >> i've refactored the code and added a simple example (--exclude which >> uses Commons IO wildcard file filters). > > Woohoo, excellent thanks! > > And it works just great. Buildbot picked up the new code and deployed the > new Jar into operation just a minute or so after you made the commit :) cool > All I needed to do then was add my excludes to the rat.conf build file, then > wait some seconds whilst Saxon converted the resultant xml report into html > and then deployed to the website for viewing. I love it when it all works. > > http://ci.apache.org/projects/rat/rat-report.html > > Is the up to date HTML report -- as mentioned the HTML could do with a bit > of tweaking to pretty it up and make it worthwhile looking at over the txt > version. Which I'll do soon to get it out of the way. > > The important thing here is we now have useful and accurate reports. great <snip> > Of those 9 licenses > > Empty.txt, notjavadoc.html, bad.txt, src.txt -- are all intentionally not > licensed and are there as examples. > > So that leaves us with 5 possible 'real' contenders in RAT for license > problems. > > BUILD.txt - I don't see why we can't add a licence header here, others do. > > src/main/java/org/apache/rat/report/claim/ClaimStatistic.java > > src/main/java/org/apache/rat/report/claim/impl/AbstractClaimReporter.java > > src/main/java/org/apache/rat/report/claim/impl/ClaimAggregator.java > > src/test/resources/elements/Source.java > > All those look like genuine contenders to have licences added. > > Shall I attach a patch somewhere for those 5 ? +1 <snip> > Yeah I figured something like that, Ant's site is a nightmare and I can > never find what jar I need that is required for 'antlib', I'll keep looking, > thanks. antlibs are an pluggable extension mechanism open http://ant.apache.org/manual/ then 'Concepts and Types' from the left then scroll down to antlibs but maybe you'd be better with an example. scan (http://svn.apache.org/repos/asf/incubator/rat/scan/trunk/) audits distributions on www.apache.org and http://svn.apache.org/repos/asf/incubator/rat/scan/trunk/build.xml is an example of the rat antlib in action. - robert From [email protected] Wed Jun 17 10:46:18 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25628 invoked from network); 17 Jun 2009 10:46:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Jun 2009 10:46:15 -0000 Received: (qmail 38289 invoked by uid 500); 17 Jun 2009 10:33:24 -0000 Delivered-To: [email protected] Received: (qmail 38272 invoked by uid 500); 17 Jun 2009 10:33:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 38254 invoked by uid 99); 17 Jun 2009 10:33:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 10:33:15 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO smtp-out3.blueyonder.co.uk) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 10:33:04 +0000 Received: from [161.129.204.104] (helo=anti-virus01-10) by smtp-out3.blueyonder.co.uk with smtp (Exim 4.52) id 1MGsRg-0002ju-Ko for [email protected]; Wed, 17 Jun 2009 11:32:44 +0100 Received: from [161.129.204.104] (helo=[161.129.204.104]) by asmtp-out1.blueyonder.co.uk with esmtpa (Exim 4.52) id 1MGsRg-0001VZ-2E for [email protected]; Wed, 17 Jun 2009 11:32:44 +0100 Message-ID: <[email protected]> Date: Wed, 17 Jun 2009 11:32:43 +0100 From: Robert Burrell Donkin <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20090330) MIME-Version: 1.0 To: [email protected] Subject: Unknown Licenses [WAS Re: RAT with BuildBot at Apache] References: <[email protected]> <[email protected]> <D42CF80BDF864137A10C2E34F88CBDEE@developer> <[email protected]> <[email protected]> <[email protected]> <E8646822544C4C6BAAEEFC471305C64D@developer> <[email protected]> <9CBE7B8E4CF345448364A157BAA0BC4E@developer> <[email protected]> <[email protected]> <2606F66DF6FE4C60BA03BD73FD2A8D90@developer> <[email protected]> <2DC71E61E15F499A86C75721800EC617@developer> In-Reply-To: <2DC71E61E15F499A86C75721800EC617@developer> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Gavin wrote: <snip> > Using the RAT report above, we have 9 unknown licenses. > Unknown licenses includes no license at all so may need to re-word that, > anyway .. RAT uses heuristic reasoning. unapproved licenses are quite rare (mainly because RAT understands far too few headers ATM). so, most issues reported are when RAT cannot deduce a license for a document, hence 'unknown license'. almost all of the time this is caused by an 'unknown header'. the best solution is to detached license information: for documents which can't embed a header, a detached description of the license should be used. exclusions are ok for directories like target and local files, but for documents in source control really license information is required for all. so, probably as well as exclusions we need to be able to specify license information for files. on the command line perhaps something like: -LApacheLicense20="src/test/SpecialTestFile.txt" --license ApacheLicense20="src/test/SpecialTestFile.txt" - robert From [email protected] Wed Jun 17 10:53:21 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26122 invoked from network); 17 Jun 2009 10:53:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Jun 2009 10:53:20 -0000 Received: (qmail 38503 invoked by uid 500); 17 Jun 2009 10:34:32 -0000 Delivered-To: [email protected] Received: (qmail 38486 invoked by uid 500); 17 Jun 2009 10:34:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 38476 invoked by uid 99); 17 Jun 2009 10:34:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 10:34:32 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO smtp-out4.blueyonder.co.uk) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 10:34:23 +0000 Received: from [161.129.204.104] (helo=anti-virus01-09) by smtp-out4.blueyonder.co.uk with smtp (Exim 4.52) id 1MGsSr-0003B8-2O for [email protected]; Wed, 17 Jun 2009 11:33:57 +0100 Received: from [161.129.204.104] (helo=[161.129.204.104]) by asmtp-out4.blueyonder.co.uk with esmtpa (Exim 4.52) id 1MGsSq-0002lt-OX for [email protected]; Wed, 17 Jun 2009 11:33:56 +0100 Message-ID: <[email protected]> Date: Wed, 17 Jun 2009 11:33:56 +0100 From: Robert Burrell Donkin <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20090330) MIME-Version: 1.0 To: [email protected] Subject: Java 1.5...? Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Java 1.4 is now deprecated and rat-0.6 works on that platform any objections to moving to 1.5? - robert From [email protected] Wed Jun 17 10:59:35 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31676 invoked from network); 17 Jun 2009 10:59:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Jun 2009 10:59:35 -0000 Received: (qmail 74401 invoked by uid 500); 17 Jun 2009 10:59:46 -0000 Delivered-To: [email protected] Received: (qmail 74364 invoked by uid 500); 17 Jun 2009 10:59:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 74354 invoked by uid 99); 17 Jun 2009 10:59:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 10:59:46 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ew0-f220.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 10:59:36 +0000 Received: by ewy20 with SMTP id 20so321704ewy.12 for <[email protected]>; Wed, 17 Jun 2009 03:59:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=jvFLM8IXTDLoyD1gHUFf/iuRPWDC/7cM6vTaQ+s4ZZU=; b=JXbGoOjYIHNFLIM6rDgbqY92+SasB7zFgMHX/Wb+J93ik6VPx8+AyCti7imzn50/cf P8k/aY22IahkVg2qjmxlYbSXEPG1y2p4wRBHZAO4Orz2N3+BcTvAUzVbLwq1rHxmgOsJ 1Ew0uzCtFFzlPPNm78nrEhNE9uFnvsXjd8tqU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=PvfEqqiyG9UwEPbr+zLI+47vYsYsmok6m+jXhzfTG5cKecvKRS5scRD1ZvKRIr4pwR qiAGwXrLf+494Bsw7NNeGYHyXkcgb2vH88gu+86k6dvOMiYJXv/JELt3bWN08N1CbdHM vBZgm82loVQTe17XcIp4VVnpctH9uGm4cfbEg= MIME-Version: 1.0 Sender: [email protected] Received: by 161.129.204.104 with SMTP id o60mr4828wed.83.1245236354789; Wed, 17 Jun 2009 03:59:14 -0700 (PDT) In-Reply-To: <2DC71E61E15F499A86C75721800EC617@developer> References: <[email protected]> <[email protected]> <E8646822544C4C6BAAEEFC471305C64D@developer> <[email protected]> <9CBE7B8E4CF345448364A157BAA0BC4E@developer> <[email protected]> <[email protected]> <2606F66DF6FE4C60BA03BD73FD2A8D90@developer> <[email protected]> <2DC71E61E15F499A86C75721800EC617@developer> Date: Wed, 17 Jun 2009 11:59:14 +0100 X-Google-Sender-Auth: 5721e3fa054d975a Message-ID: <[email protected]> Subject: Re: RAT with BuildBot at Apache From: Ross Gardler <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 2009/6/17 Gavin <[email protected]>: > > >> -----Original Message----- >> From: Robert Burrell Donkin [mailto:[email protected]] >> Sent: Wednesday, 17 June 2009 6:34 AM >> To: [email protected] >> Subject: Re: RAT with BuildBot at Apache > > <snip> > >> >> i've refactored the code and added a simple example (--exclude which >> uses Commons IO wildcard file filters). > > Woohoo, excellent thanks! > > And it works just great. Buildbot picked up the new code and deployed the > new Jar into operation just a minute or so after you made the commit :) > > All I needed to do then was add my excludes to the rat.conf build file, then > wait some seconds whilst Saxon converted the resultant xml report into html > and then deployed to the website for viewing. I love it when it all works. > > http://ci.apache.org/projects/rat/rat-report.html Beuatiful! Thanks guys. Ross From [email protected] Wed Jun 17 11:05:18 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35464 invoked from network); 17 Jun 2009 11:05:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Jun 2009 11:05:18 -0000 Received: (qmail 84776 invoked by uid 500); 17 Jun 2009 11:05:29 -0000 Delivered-To: [email protected] Received: (qmail 84740 invoked by uid 500); 17 Jun 2009 11:05:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 84729 invoked by uid 99); 17 Jun 2009 11:05:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 11:05:29 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ew0-f220.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 11:05:19 +0000 Received: by ewy20 with SMTP id 20so325814ewy.12 for <[email protected]>; Wed, 17 Jun 2009 04:04:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=w06la+ywh+sPU/CPAbH42GBmRjJPXldEISU3fPfhSwk=; b=YQqNTEWNJDzVeLWv1JdZPhlmay3FuMxS+Jz1zcfnx4g6AMNxQl1d71MaWmn4WDxbBY yKLC74NON65mguQ+g86yoHPFA6sCjADJqrcPWY3icfCyekCdFHJ+1Zp4ngdXt016tlrh 1UCtOgDjZSRWV/SaU7B/vGr6eya3t2Kz+WPNA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=YZUqC2W+iqVineVEiXWdLCtfUuHl1JoayXSodA2sS2SpHyu+3UUV+QNdrgnGhgd6Pc EbcjqhCELNTsIwBbM8BSHjDbWCznsUPm7FEBAwkuZeaqOSnwiqQwCRKItJSSCRDFcZUI a6k/rlmxAYw7lvDysGfsQLEToXRxJmAAkxTHI= MIME-Version: 1.0 Sender: [email protected] Received: by 161.129.204.104 with SMTP id p7mr2667wed.138.1245236698141; Wed, 17 Jun 2009 04:04:58 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Wed, 17 Jun 2009 12:04:58 +0100 X-Google-Sender-Auth: e54e2762efbf2906 Message-ID: <[email protected]> Subject: Re: Crawler From: Ross Gardler <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 2009/6/17 Robert Burrell Donkin <[email protected]>: > i made a start on a crawler module yesterday to make it easier to > download all releases from an URL. Why not use Droids? http://incubator.apache.org/droids/ Ross -- Ross Gardler OSS Watch - supporting open source in education and research http://www.oss-watch.ac.uk From [email protected] Wed Jun 17 12:07:57 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57385 invoked from network); 17 Jun 2009 12:07:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Jun 2009 12:07:27 -0000 Received: (qmail 85757 invoked by uid 500); 17 Jun 2009 12:00:58 -0000 Delivered-To: [email protected] Received: (qmail 84968 invoked by uid 500); 17 Jun 2009 12:00:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 84890 invoked by uid 99); 17 Jun 2009 12:00:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 12:00:42 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO smtp-out4.blueyonder.co.uk) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 12:00:32 +0000 Received: from [161.129.204.104] (helo=anti-virus02-07) by smtp-out4.blueyonder.co.uk with smtp (Exim 4.52) id 1MGtoJ-0006bV-EW for [email protected]; Wed, 17 Jun 2009 13:00:11 +0100 Received: from [161.129.204.104] (helo=[161.129.204.104]) by asmtp-out2.blueyonder.co.uk with esmtpa (Exim 4.52) id 1MGtoI-0005Em-UJ for [email protected]; Wed, 17 Jun 2009 13:00:10 +0100 Message-ID: <[email protected]> Date: Wed, 17 Jun 2009 13:00:10 +0100 From: Robert Burrell Donkin <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20090330) MIME-Version: 1.0 To: [email protected] Subject: Re: Crawler References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Ross Gardler wrote: > 2009/6/17 Robert Burrell Donkin <[email protected]>: >> i made a start on a crawler module yesterday to make it easier to >> download all releases from an URL. > > Why not use Droids? > > http://incubator.apache.org/droids/ in terms of downloading tech... i did consider looking into droids but couldn't find a release and it required jdk 1.6 so concluded that it's not an immediate option (i needed something right away) in the medium term, i think moving to droids sounds like the right move in terms of process, i see crawler as a replacement for the recursive rat script: download a release tree, check sums and signatures, unpack releases then run rat on each so it's more than just droids. - robert From [email protected] Wed Jun 17 12:14:41 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60448 invoked from network); 17 Jun 2009 12:14:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Jun 2009 12:14:41 -0000 Received: (qmail 152 invoked by uid 500); 17 Jun 2009 12:14:53 -0000 Delivered-To: [email protected] Received: (qmail 106 invoked by uid 500); 17 Jun 2009 12:14:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 99985 invoked by uid 99); 17 Jun 2009 12:14:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 12:14:53 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f219.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 12:14:42 +0000 Received: by bwz19 with SMTP id 19so261654bwz.12 for <multiple recipients>; Wed, 17 Jun 2009 05:14:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=lzhh9X19DFkQMSQSiYOaCn9qOSUVaS05zbVKuJXRHUs=; b=RDbxcS7lfl7ImhJ0LY6TtvP8WnX1BgT76pWZ+3tjTFV1cgemh3wJGnd8zUZmm3/sjp V7C4GIOOrItxD1puKpNisvQNN0dbcaDCKLpf1mltRMg0eab0scgPWlYNY2xg3sfCpQX/ JaPIbD8sAyYUcjE82a0IVLjORH9IvQ1Rc2WLw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=Td2hbaN0BAggRAZIU8k4c4BtAQbKD8YjmeCPOOKS3YkG5MXnIV6rpV7jo2b/hTGJO3 QsmpzYD1q6B0mLjrV+43SEVDfK2bBrxK9pTDziAH9SzMWIBYy4vhhOYMp0IZpR9EO56e 1aifMba/gH/QYoFKPkrfy7K2f5ZCllp0hs72o= MIME-Version: 1.0 Sender: [email protected] Received: by 161.129.204.104 with SMTP id a52mr33785wea.145.1245240860992; Wed, 17 Jun 2009 05:14:20 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Date: Wed, 17 Jun 2009 13:14:20 +0100 X-Google-Sender-Auth: 673ce0fb1fb5bbba Message-ID: <[email protected]> Subject: Re: Crawler From: Ross Gardler <[email protected]> To: [email protected] Cc: droids-dev <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [cc'd to droids list for info since I'm a mentor there too] 2009/6/17 Robert Burrell Donkin <[email protected]>: > Ross Gardler wrote: >> 2009/6/17 Robert Burrell Donkin <[email protected]>: >>> i made a start on a crawler module yesterday to make it easier to >>> download all releases from an URL. >> >> Why not use Droids? >> >> http://incubator.apache.org/droids/ > > in terms of downloading tech... > > i did consider looking into droids but couldn't find a release and it > required jdk 1.6 so concluded that it's not an immediate option (i > needed something right away) Fair enough, maybe the Droids people will be prompted into makind a release (JDK1.5 preferably) > in the medium term, i think moving to droids sounds like the right move > > in terms of process, i see crawler as a replacement for the recursive > rat script: download a release tree, check sums and signatures, unpack > releases then run rat on each so it's more than just droids. Sure it is, but an important part of that is the crawler and I don't think we shuold be duplicating effort across two projects. Maybe this mail will encourage the droids team to create a release that we can use as the crawler. Ross -- Ross Gardler OSS Watch - supporting open source in education and research http://www.oss-watch.ac.uk From [email protected] Wed Jun 17 17:59:39 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21198 invoked from network); 17 Jun 2009 17:59:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Jun 2009 17:59:25 -0000 Received: (qmail 9310 invoked by uid 500); 17 Jun 2009 17:58:05 -0000 Delivered-To: [email protected] Received: (qmail 6959 invoked by uid 500); 17 Jun 2009 17:57:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 5640 invoked by uid 99); 17 Jun 2009 17:54:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 17:54:51 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-gx0-f206.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 17:54:42 +0000 Received: by gxk2 with SMTP id 2so670303gxk.12 for <[email protected]>; Wed, 17 Jun 2009 10:54:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=8p+8423amOSAKtcXMFztUvaXRo3nFszKGwyIJMMGGEA=; b=hl/cIIJNh8OgLXwuaaIw4J7Rv206x5uGx6WIkjmw7gyPXYfZ7msn/wMgweoFa8scb1 wU/dVubKA9CrGBW+0akP6ex8xlJeKgR+7KpC9UB9mGFHckYqPgTG/oUDOE3Pu/e57fIB znypxR41I6ffREdC7ZI2sMA8s80lmUMgEHAeA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=KY4Of818Ra//uW9jUBEFgaAKO9dVKixPei8SeD+POyNBzFiEvvvj8sngPGdLCZyTOc CFTJf8jJFeOP6xfGfznmprXSchGUNGmvmTiqRKPTC46MwHvYSviKrSr2w/WHDgcWw7m0 wpcaf0gBfDpzwQydlmcDUdGXDUXah9i42Jjf0= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id r4mr1644435ybn.248.1245261260925; Wed, 17 Jun 2009 10:54:20 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Wed, 17 Jun 2009 19:54:20 +0200 Message-ID: <[email protected]> Subject: Re: Java 1.5...? From: Jochen Wiedmann <[email protected]> To: [email protected] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org As rat is basically a build time tool, as opposed to runtime, I think there are no reasons to stick with 1.4. Jochen On Wed, Jun 17, 2009 at 12:33 PM, Robert Burrell Donkin <[email protected]> wrote: > > Java 1.4 is now deprecated and rat-0.6 works on that platform > > any objections to moving to 1.5? > > - robert > -- Don't trust a government that doesn't trust you. From [email protected] Wed Jun 17 18:23:11 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 62276 invoked from network); 17 Jun 2009 18:23:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Jun 2009 18:23:11 -0000 Received: (qmail 7501 invoked by uid 500); 17 Jun 2009 18:23:22 -0000 Delivered-To: [email protected] Received: (qmail 7466 invoked by uid 500); 17 Jun 2009 18:23:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 7456 invoked by uid 99); 17 Jun 2009 18:23:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 18:23:22 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ey-out-1920.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 18:23:11 +0000 Received: by ey-out-1920.google.com with SMTP id 5so77041eyb.54 for <[email protected]>; Wed, 17 Jun 2009 11:22:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=122h7M4AvtW+K0JA/TL8HdiSp+YXXqan9dXYwkzgMrc=; b=o4+nIAk/gIheVyHwtSYzPaPRm0TylXrCmSYfZpostpNMqxTn5Qn9FUvyQnVh2extW/ gu+lhVYoBNEvnIvMWYVNj2HX237gdeCHbfK+rne4MA0ZLUdc4Y8pgSlHcckVf2r0zJQg i4HKFoyqGSDZHZA6wYyy04c89MzrvTZj4i/hw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; b=X6fFuvITDjnjaXVbZQkCiRfv6X3nykuyPMF+ocalTQLpX4dEnNdKFn1ysbO5mLo4C1 oSW58h2RE978EjTa/fjsWrwkGtVwaLPvBOwOzCH/NF6quldLQWqxkFw8AIW7rko7Z9Z2 +77cOrKHjZqTA5xFIZUIiRDlcmtYyUDvbqVrU= MIME-Version: 1.0 Sender: [email protected] Received: by 161.129.204.104 with SMTP id 59mr201680wea.77.1245262970838; Wed, 17 Jun 2009 11:22:50 -0700 (PDT) Date: Wed, 17 Jun 2009 19:22:50 +0100 X-Google-Sender-Auth: a8e525d3d1ffded7 Message-ID: <[email protected]> Subject: Final destination of RAT From: Ross Gardler <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I attended the board meeting today as a guest. One of the issues discussed was where should RAT graduate to. The general consensus of the board is that this is not a board concern, but that they have no objection, in principle, for it to be a top level project. So, my question as mentor is does the RAT project have any concerns about being a TLP? Another possibility would be to enter into an infrastructure project. Any thoughts about that? Note, the discussion was general in nature and was a response to the comment in the board report "The biggest problem that needs to be resolved before graduation is final destination." Ross -- Ross Gardler OSS Watch - supporting open source in education and research http://www.oss-watch.ac.uk From [email protected] Wed Jun 17 18:48:20 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82887 invoked from network); 17 Jun 2009 18:48:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Jun 2009 18:48:20 -0000 Received: (qmail 71999 invoked by uid 500); 17 Jun 2009 18:48:31 -0000 Delivered-To: [email protected] Received: (qmail 71958 invoked by uid 500); 17 Jun 2009 18:48:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 71948 invoked by uid 99); 17 Jun 2009 18:48:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 18:48:31 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO smtp-out2.blueyonder.co.uk) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 18:48:22 +0000 Received: from [161.129.204.104] (helo=anti-virus01-09) by smtp-out2.blueyonder.co.uk with smtp (Exim 4.52) id 1MH0Au-0008WB-QP for [email protected]; Wed, 17 Jun 2009 19:47:56 +0100 Received: from [161.129.204.104] (helo=[161.129.204.104]) by asmtp-out3.blueyonder.co.uk with esmtpa (Exim 4.52) id 1MH0Au-0001Ph-D6 for [email protected]; Wed, 17 Jun 2009 19:47:56 +0100 Message-ID: <[email protected]> Date: Wed, 17 Jun 2009 19:47:56 +0100 From: Robert Burrell Donkin <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20090330) MIME-Version: 1.0 To: [email protected] Subject: Re: Final destination of RAT References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Ross Gardler wrote: > I attended the board meeting today as a guest. One of the issues > discussed was where should RAT graduate to. > > The general consensus of the board is that this is not a board > concern, but that they have no objection, in principle, for it to be a > top level project. So, my question as mentor is does the RAT project > have any concerns about being a TLP? IMHO though RAT would be viable as a sub-project, the development community is too small for a TLP > Another possibility would be to enter into an infrastructure project. > Any thoughts about that? AIUI infrastructure is not a coding project but a president's committee a new coding TLP for infrastructure tools (infra.apache.org, perhaps or audit.apache.org, depending on scope) would make more sense > Note, the discussion was general in nature and was a response to the > comment in the board report "The biggest problem that needs to be > resolved before graduation is final > destination." thought it might have that effect ;-) - robert From [email protected] Wed Jun 17 19:56:02 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 32440 invoked from network); 17 Jun 2009 19:56:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Jun 2009 19:56:02 -0000 Received: (qmail 23099 invoked by uid 500); 17 Jun 2009 19:56:14 -0000 Delivered-To: [email protected] Received: (qmail 23074 invoked by uid 500); 17 Jun 2009 19:56:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23064 invoked by uid 99); 17 Jun 2009 19:56:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 19:56:13 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-fx0-f220.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 19:56:02 +0000 Received: by fxm20 with SMTP id 20so608422fxm.12 for <[email protected]>; Wed, 17 Jun 2009 12:55:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=vxRlpEs3tndsne/JMiP7QwLMgiSoqw7a8qQVD2h4yzM=; b=DPDmqCmuYZDyPnGJIH+yZB1MwECW3DnBGQWjr++XthEAd6D5RzxEQNpH3+DUVeNku6 FLHEGx83mF2egvixrICsKBpFK4+fkkG1vBIxRxhSww1lkTE0A4IloBOBGJuqRElIooXe j7SdgChXib6Zp9Lqr4mCnIeU+OAy8E1oqeudw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=GASWqdo8w3tQhIGgntkKCLPJAAikvg331ayUmOkmFZpQSQzY+K7Ikp8XFQpyBow37i eW6sFeDncG2gHBA8X8wag2dqhG2aF33/5mGJvoWB/T+PaGVUil7rROcmsd28H1DhAl7m hLXn41lgAEdpQAZl4LITQiB4usKpcZSJHHIOs= MIME-Version: 1.0 Sender: [email protected] Received: by 161.129.204.104 with SMTP id 50mr220561wex.183.1245268542482; Wed, 17 Jun 2009 12:55:42 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Wed, 17 Jun 2009 20:55:42 +0100 X-Google-Sender-Auth: bc7802e2e300dda4 Message-ID: <[email protected]> Subject: Re: Final destination of RAT From: Ross Gardler <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 2009/6/17 Robert Burrell Donkin <[email protected]>: > Ross Gardler wrote: >> I attended the board meeting today as a guest. One of the issues >> discussed was where should RAT graduate to. >> >> The general consensus of the board is that this is not a board >> concern, but that they have no objection, in principle, for it to be a >> top level project. So, my question as mentor is does the RAT project >> have any concerns about being a TLP? > > IMHO though RAT would be viable as a sub-project, the development > community is too small for a TLP That was not (necessarily) an issue as far as the board were concerned. However, I agree with you. >> Another possibility would be to enter into an infrastructure project. >> Any thoughts about that? > > AIUI infrastructure is not a coding project but a president's committee > > a new coding TLP for infrastructure tools (infra.apache.org, perhaps or > audit.apache.org, depending on scope) would make more sense I didn't quite catch it all (choppy Skype connection), but apparently there is/could be an infrastructure project. Gavin was also present in the call I think, Gavin did you catch the part of the discussion about an infra project? Ross From [email protected] Wed Jun 17 21:19:47 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 72426 invoked from network); 17 Jun 2009 21:19:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Jun 2009 21:19:47 -0000 Received: (qmail 91864 invoked by uid 500); 17 Jun 2009 21:19:58 -0000 Delivered-To: [email protected] Received: (qmail 91829 invoked by uid 500); 17 Jun 2009 21:19:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 91819 invoked by uid 99); 17 Jun 2009 21:19:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 21:19:58 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO qw-out-1920.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 21:19:49 +0000 Received: by qw-out-1920.google.com with SMTP id 9so354289qwj.54 for <[email protected]>; Wed, 17 Jun 2009 14:19:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=QyFoBQMv77dcpOGeQIzt7xiQnWKNZB2ptMzm0X0MckQ=; b=Ipkms0YnXu1SEuHWJVfkb712xsHImZnSZVQetja/Lz8RLz3JI8xaMp29s94/PBBRzp u63x7UO3BGqCu9zfmwy2tZZtAseeIJUSWMTBmsiPqxYhLLRcDkuOslh6KuxWhq7dwH+F cNt2G6avRBNd75Mbyl0nyzh2pb+spAtyc/qhI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=pLV86LQ93FVD6X1JFyvW6R4gDMi8luthNnQQB73VlQ4BxecOe3/2oxcgyX/f7dq1II +ha/m5AH/rH4QvTZzDO/2rs3vxzQYpRJV3I8onDP97QN5R+6sP7Pn2aPdP/MLhfgku5o BjJJX5++r6wxI4RvjCzduzq3YShepYOylhwoQ= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id f11mr921239vck.66.1245273568311; Wed, 17 Jun 2009 14:19:28 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Date: Wed, 17 Jun 2009 23:19:28 +0200 Message-ID: <[email protected]> Subject: Re: apache-rat-pd From: =?ISO-8859-2?Q?Marija_=A9ljivovi=E6?= <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0016e64b9adaaff9fb046c91d881 X-Virus-Checked: Checked by ClamAV on apache.org --0016e64b9adaaff9fb046c91d881 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Thanks! > I'm not sure whether it would be better but an alternative approach > would be to use a semi-structured text analysis tool for example UIMA> ( http://incubator.apache.org/uima/) or lucene > for lucene, start by looking at > http://svn.apache.org/repos/asf/lucene/java/trunk/contrib/spellchecker > and then create a custom dictionary by tokenising a large number of > source files > robert I will take a look... I did not know that lucene has a spell checker... > probably best to make the API pluggable (jazzy is LGPL but this is good > advice in any case) Making checkers pluggable is good idea. Best regards, Marija --0016e64b9adaaff9fb046c91d881-- From [email protected] Thu Jun 18 13:16:24 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4049 invoked from network); 18 Jun 2009 13:16:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Jun 2009 13:16:24 -0000 Received: (qmail 62484 invoked by uid 500); 18 Jun 2009 13:16:36 -0000 Delivered-To: [email protected] Received: (qmail 62441 invoked by uid 500); 18 Jun 2009 13:16:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 70855 invoked by uid 99); 18 Jun 2009 10:25:05 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Subject: Re: Crawler From: Thorsten Scherler <[email protected]> To: [email protected] Cc: [email protected] In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> Content-Type: text/plain; charset=utf-8 Date: Thu, 18 Jun 2009 12:32:47 +0200 Message-Id: <1245321167.6354.12.camel@panic> Mime-Version: 1.0 X-Mailer: Evolution 161.129.204.104 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -99 X-Spam-Score-Int: -99 X-Virus-Checked: Checked by ClamAV on apache.org On Wed, 2009-06-17 at 13:14 +0100, Ross Gardler wrote: > [cc'd to droids list for info since I'm a mentor there too] >=20 > 2009/6/17 Robert Burrell Donkin <[email protected]>: > > Ross Gardler wrote: > >> 2009/6/17 Robert Burrell Donkin <[email protected]>= : > >>> i made a start on a crawler module yesterday to make it easier to > >>> download all releases from an URL. > >> > >> Why not use Droids? > >> > >> http://incubator.apache.org/droids/ > > > > in terms of downloading tech... > > > > i did consider looking into droids but couldn't find a release and it > > required jdk 1.6 so concluded that it's not an immediate option (i > > needed something right away) >=20 > Fair enough, maybe the Droids people will be prompted into makind a > release (JDK1.5 preferably) We are planing a release soonish I once wrote some 1.4 downward compilation with ant and retrotranslator (see http://svn.apache.org/viewvc/incubator/droids/trunk/build.xml?view=3Dco). However meanwhile we switched to maven and I have not looked into the integration of retrotranslator in maven. >=20 > > in the medium term, i think moving to droids sounds like the right move > > > > in terms of process, i see crawler as a replacement for the recursive > > rat script: download a release tree, check sums and signatures, unpack > > releases then run rat on each so it's more than just droids. >=20 > Sure it is, but an important part of that is the crawler and I don't > think we shuold be duplicating effort across two projects. >=20 > Maybe this mail will encourage the droids team to create a release > that we can use as the crawler. Sure there are only few issues to attend for our first release. salu2 --=20 Thorsten Scherler <thorsten.at.apache.org> Open Source Java <consulting, training and solutions> Sociedad Andaluza para el Desarrollo de la Sociedad=20 de la Informaci=C3=B3n, S.A.U. (SADESI) From [email protected] Fri Jun 19 07:45:21 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40768 invoked from network); 19 Jun 2009 07:45:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jun 2009 07:45:21 -0000 Received: (qmail 20746 invoked by uid 500); 19 Jun 2009 07:45:32 -0000 Delivered-To: [email protected] Received: (qmail 20702 invoked by uid 500); 19 Jun 2009 07:45:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 20687 invoked by uid 99); 19 Jun 2009 07:45:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Jun 2009 07:45:32 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Jun 2009 07:45:29 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id E9035234C044 for <[email protected]>; Fri, 19 Jun 2009 00:45:07 -0700 (PDT) Message-ID: <1054481425.1245397507935.JavaMail.jira@brutus> Date: Fri, 19 Jun 2009 00:45:07 -0700 (PDT) From: "Robert Burrell Donkin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (RAT-58) Create API module MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Create API module ----------------- Key: RAT-58 URL: https://issues.apache.org/jira/browse/RAT-58 Project: RAT Issue Type: Improvement Affects Versions: 0.7 Reporter: Robert Burrell Donkin Assignee: Robert Burrell Donkin Fix For: 0.7 Create an api module -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Jun 19 07:49:18 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41297 invoked from network); 19 Jun 2009 07:49:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jun 2009 07:49:18 -0000 Received: (qmail 26181 invoked by uid 500); 19 Jun 2009 07:49:29 -0000 Delivered-To: [email protected] Received: (qmail 26141 invoked by uid 500); 19 Jun 2009 07:49:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 26131 invoked by uid 99); 19 Jun 2009 07:49:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Jun 2009 07:49:29 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Jun 2009 07:49:27 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 69C26234C044 for <[email protected]>; Fri, 19 Jun 2009 00:49:07 -0700 (PDT) Message-ID: <1601471472.1245397747417.JavaMail.jira@brutus> Date: Fri, 19 Jun 2009 00:49:07 -0700 (PDT) From: "Robert Burrell Donkin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (RAT-59) Upgrade To Java 1.5 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Upgrade To Java 1.5 ------------------- Key: RAT-59 URL: https://issues.apache.org/jira/browse/RAT-59 Project: RAT Issue Type: Task Components: antlib, cli, docs, engine, jar-license-meta-data, license-meta-data, maven, mime-meta-data, reports Reporter: Robert Burrell Donkin Java 1.4 is now deprecated and more libraries are now switching to Java 1.5. RAT 0.6 is satisfactory, so users requiring 1.4 can continue to use that version. See http://[email protected]%3e -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Jun 19 07:49:20 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41348 invoked from network); 19 Jun 2009 07:49:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jun 2009 07:49:20 -0000 Received: (qmail 26256 invoked by uid 500); 19 Jun 2009 07:49:31 -0000 Delivered-To: [email protected] Received: (qmail 26218 invoked by uid 500); 19 Jun 2009 07:49:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 26208 invoked by uid 99); 19 Jun 2009 07:49:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Jun 2009 07:49:31 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Jun 2009 07:49:28 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 7FC9D234C1E7 for <[email protected]>; Fri, 19 Jun 2009 00:49:07 -0700 (PDT) Message-ID: <884698797.1245397747522.JavaMail.jira@brutus> Date: Fri, 19 Jun 2009 00:49:07 -0700 (PDT) From: "Robert Burrell Donkin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (RAT-58) Create API module In-Reply-To: <1054481425.1245397507935.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/RAT-58?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12721683#action_12721683 ] Robert Burrell Donkin commented on RAT-58: ------------------------------------------ http://[email protected]%3e Objections? Opinions? > Create API module > ----------------- > > Key: RAT-58 > URL: https://issues.apache.org/jira/browse/RAT-58 > Project: RAT > Issue Type: Improvement > Affects Versions: 0.7 > Reporter: Robert Burrell Donkin > Assignee: Robert Burrell Donkin > Fix For: 0.7 > > > Create an api module -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Jun 19 07:49:20 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41375 invoked from network); 19 Jun 2009 07:49:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jun 2009 07:49:20 -0000 Received: (qmail 26312 invoked by uid 500); 19 Jun 2009 07:49:32 -0000 Delivered-To: [email protected] Received: (qmail 26278 invoked by uid 500); 19 Jun 2009 07:49:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 26252 invoked by uid 99); 19 Jun 2009 07:49:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Jun 2009 07:49:31 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Jun 2009 07:49:28 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 7C99A234C053 for <[email protected]>; Fri, 19 Jun 2009 00:49:07 -0700 (PDT) Message-ID: <1942271229.1245397747509.JavaMail.jira@brutus> Date: Fri, 19 Jun 2009 00:49:07 -0700 (PDT) From: "Robert Burrell Donkin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (RAT-59) Upgrade To Java 1.5 In-Reply-To: <1601471472.1245397747417.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/RAT-59?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12721682#action_12721682 ] Robert Burrell Donkin commented on RAT-59: ------------------------------------------ Any objections? > Upgrade To Java 1.5 > ------------------- > > Key: RAT-59 > URL: https://issues.apache.org/jira/browse/RAT-59 > Project: RAT > Issue Type: Task > Components: antlib, cli, docs, engine, jar-license-meta-data, license-meta-data, maven, mime-meta-data, reports > Reporter: Robert Burrell Donkin > > Java 1.4 is now deprecated and more libraries are now switching to Java 1.5. RAT 0.6 is satisfactory, so users requiring 1.4 can continue to use that version. > See http://[email protected]%3e -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Jun 19 07:51:21 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41853 invoked from network); 19 Jun 2009 07:51:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jun 2009 07:51:21 -0000 Received: (qmail 27597 invoked by uid 500); 19 Jun 2009 07:51:32 -0000 Delivered-To: [email protected] Received: (qmail 27559 invoked by uid 500); 19 Jun 2009 07:51:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 27547 invoked by uid 99); 19 Jun 2009 07:51:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Jun 2009 07:51:32 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Jun 2009 07:51:29 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 3793A234C053 for <[email protected]>; Fri, 19 Jun 2009 00:51:08 -0700 (PDT) Message-ID: <1980571074.1245397868226.JavaMail.jira@brutus> Date: Fri, 19 Jun 2009 00:51:08 -0700 (PDT) From: "Robert Burrell Donkin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (RAT-60) Create Crawler Module MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Create Crawler Module --------------------- Key: RAT-60 URL: https://issues.apache.org/jira/browse/RAT-60 Project: RAT Issue Type: New Feature Affects Versions: 0.7 Reporter: Robert Burrell Donkin Assignee: Robert Burrell Donkin Fix For: 0.7 See http://[email protected]%3e and http://mail-archives.apache.org/mod_mbox/[email protected]%3e Will probably go ahead with a basic implementation then switch to Droids after it's release Objections? Opinions? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Jun 19 07:55:42 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42491 invoked from network); 19 Jun 2009 07:55:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jun 2009 07:55:42 -0000 Received: (qmail 31885 invoked by uid 500); 19 Jun 2009 07:55:53 -0000 Delivered-To: [email protected] Received: (qmail 31850 invoked by uid 500); 19 Jun 2009 07:55:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31840 invoked by uid 99); 19 Jun 2009 07:55:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Jun 2009 07:55:53 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO smtp-out5.blueyonder.co.uk) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Jun 2009 07:55:43 +0000 Received: from [161.129.204.104] (helo=anti-virus02-09) by smtp-out5.blueyonder.co.uk with smtp (Exim 4.52) id 1MHYwV-0005n0-5D for [email protected]; Fri, 19 Jun 2009 08:55:23 +0100 Received: from [161.129.204.104] (helo=[161.129.204.104]) by asmtp-out4.blueyonder.co.uk with esmtpa (Exim 4.52) id 1MHYwU-000082-QZ for [email protected]; Fri, 19 Jun 2009 08:55:22 +0100 Message-ID: <[email protected]> Date: Fri, 19 Jun 2009 08:55:22 +0100 From: Robert Burrell Donkin <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20090330) MIME-Version: 1.0 To: [email protected] Subject: Core += CLI ...? Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org retaining the command line interface in core will mean that either core will need to depend on every module used or some features will not be available from the command line. IMHO a single, unified command line interface would be best for all of RAT's functionality. so, this means moving the command line bindings into a different module. opinions? - robert From [email protected] Fri Jun 19 08:32:25 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52728 invoked from network); 19 Jun 2009 08:32:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jun 2009 08:32:25 -0000 Received: (qmail 80025 invoked by uid 500); 19 Jun 2009 08:32:36 -0000 Delivered-To: [email protected] Received: (qmail 79985 invoked by uid 500); 19 Jun 2009 08:32:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 79975 invoked by uid 99); 19 Jun 2009 08:32:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Jun 2009 08:32:36 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO samaflost.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Jun 2009 08:32:27 +0000 Received: from localhost (unknown [161.129.204.104]) by samaflost.de (Postfix) with ESMTP id D07BCE220014 for <[email protected]>; Fri, 19 Jun 2009 08:32:06 +0000 (UTC) Received: from samaflost.de ([161.129.204.104]) by localhost (v30161.1blu.de [161.129.204.104]) (amavisd-new, port 10024) with ESMTP id 09997-08 for <[email protected]>; Fri, 19 Jun 2009 10:32:04 +0200 (CEST) Received: by samaflost.de (Postfix, from userid 2525) id 83F0AE22000A; Fri, 19 Jun 2009 10:32:04 +0200 (CEST) To: [email protected] Subject: Re: Core += CLI ...? X-Draft-From: ("nnfolder:mail.rat" 695) References: <[email protected]> From: Stefan Bodewig <[email protected]> Date: Fri, 19 Jun 2009 10:32:04 +0200 In-Reply-To: <[email protected]> (Robert Burrell Donkin's message of "Fri\, 19 Jun 2009 08\:55\:22 +0100") Message-ID: <[email protected]> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org On 2009-06-19, Robert Burrell Donkin <[email protected]> wrote: > retaining the command line interface in core will mean that either core > will need to depend on every module used or some features will not be > available from the command line. > IMHO a single, unified command line interface would be best for all of > RAT's functionality. so, this means moving the command line bindings > into a different module. > opinions? +1 for separating CLI from the core. Stefan From [email protected] Fri Jun 19 10:16:33 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92192 invoked from network); 19 Jun 2009 10:16:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jun 2009 10:16:33 -0000 Received: (qmail 8207 invoked by uid 500); 19 Jun 2009 10:16:44 -0000 Delivered-To: [email protected] Received: (qmail 8166 invoked by uid 500); 19 Jun 2009 10:16:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 8123 invoked by uid 99); 19 Jun 2009 10:16:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Jun 2009 10:16:34 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-yx0-f198.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Jun 2009 10:16:26 +0000 Received: by yxe36 with SMTP id 36so307945yxe.32 for <[email protected]>; Fri, 19 Jun 2009 03:16:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=CSEvCyVC6iy6lLuNyKN61qKeGKZq1SiJmBJq5gcuR34=; b=nPLUG2LEQIyiy4AhBUhUKKY0ZD6Tx55ZvrafYxIf12+9DS9jBczQJ15hw/ryWAHK/c HVovxqJ30Tee7GxanFynRVUZbkdEHOPla43eDds/TjTg+7SvTK71g9WvuDPDt7kLLTc0 qnRUTmKyS31qVaQzzyy6IKpKy6/dJb4keVQik= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Scq4fn1V5JDzEqh7vCj/3gBqVajyrSuW00MZs4uGVOXlcgDuXTOzDBYmdIaRMqGsFC b8b+nYs0m+HKKaMtonRzJ35tPpQ7Lr3CeskHxu28wPWvgYbc/XqWLjroXntthSV+sADr ekd+QDO6+okSBjgKTGdbG+t+Rd2shxt/b+fKw= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id a8mr5476177ybl.60.1245406565535; Fri, 19 Jun 2009 03:16:05 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Fri, 19 Jun 2009 12:16:05 +0200 Message-ID: <[email protected]> Subject: Re: Core += CLI ...? From: Jochen Wiedmann <[email protected]> To: [email protected] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Fine with me, in particular because this means that we don't need to add CLI specific dependencies to the core. Jochen On Fri, Jun 19, 2009 at 9:55 AM, Robert Burrell Donkin<[email protected]> wrote: > retaining the command line interface in core will mean that either core > will need to depend on every module used or some features will not be > available from the command line. > > IMHO a single, unified command line interface would be best for all of > RAT's functionality. so, this means moving the command line bindings > into a different module. > > opinions? > > - robert > > -- Don't trust a government that doesn't trust you. From [email protected] Sun Jun 21 21:38:57 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20753 invoked from network); 21 Jun 2009 21:38:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Jun 2009 21:38:57 -0000 Received: (qmail 82165 invoked by uid 500); 21 Jun 2009 21:39:08 -0000 Delivered-To: [email protected] Received: (qmail 82116 invoked by uid 500); 21 Jun 2009 21:39:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 17086 invoked by uid 99); 21 Jun 2009 12:18:07 -0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=rnDXyJRHGrTi1BCd2jR/eF0GzWEyZl9X+mIgglsnOXU=; b=kfIE4UnRWXPu/9nVrBBe65ajtCzJeEfKyeHq5e7r+3rGAdpk47lahSrVfEmE0HzKB3 yQhSXY3wtOyDrV7KOjWt6QerArksBOMlpVBk3IpZBz0pP0q97hsqcjoAlApy8kGZ+DyU xJI5Y8ChZKoOgxjsakvnqzObeK57NvLZaKfNQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=xo9kZYBobptsairnKtWgmE8GMnYJt11yv56oJFMqjlj3CHZ0pedNl9iqGESbLtEumg NoxVkVqwmhc76GhE3rLe0mYu29SJ6wHDViajF4MFt9hs3Jc4+tGvLMmdo9veRkbxXf+p FkhojFYsjqoJNgPjJQ+FF+vufU4Ml7bZacuBU= MIME-Version: 1.0 In-Reply-To: <1245321167.6354.12.camel@panic> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <1245321167.6354.12.camel@panic> Date: Sun, 21 Jun 2009 20:17:38 +0800 Message-ID: <[email protected]> Subject: Re: Crawler From: Mingfai <[email protected]> To: [email protected] Cc: [email protected] Content-Type: multipart/alternative; boundary=0016e647560e4b5592046cdabe92 X-Virus-Checked: Checked by ClamAV on apache.org --0016e647560e4b5592046cdabe92 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Thu, Jun 18, 2009 at 6:32 PM, Thorsten Scherler < [email protected]> wrote: > On Wed, 2009-06-17 at 13:14 +0100, Ross Gardler wrote: > > [cc'd to droids list for info since I'm a mentor there too] > > > > 2009/6/17 Robert Burrell Donkin <[email protected]>: > > > Ross Gardler wrote: > > >> 2009/6/17 Robert Burrell Donkin <[email protected] > >: > > >>> i made a start on a crawler module yesterday to make it easier to > > >>> download all releases from an URL. > > >> > > >> Why not use Droids? > > >> > > >> http://incubator.apache.org/droids/ > > > > > > in terms of downloading tech... > > > > > > i did consider looking into droids but couldn't find a release and it > > > required jdk 1.6 so concluded that it's not an immediate option (i > > > needed something right away) > > > > Fair enough, maybe the Droids people will be prompted into makind a > > release (JDK1.5 preferably) > > We are planing a release soonish I once wrote some 1.4 downward > compilation with ant and retrotranslator (see > http://svn.apache.org/viewvc/incubator/droids/trunk/build.xml?view=co). > However meanwhile we switched to maven and I have not looked into the > integration of retrotranslator in maven. > I don't like to restrict to Java 5 but as a framework/library, it's good to support Java 5. For 1.4, I somehow think it's too much. but if the retrotranslator will work magically, there is no harm to support it. how does the retrotranslator work? do we need to avoid coding against any Java 6 interface if we want to make Droids JDK 5 compatible? I suppose we didn't depend on Java 6 yet. We should be able to use XML Streaming (StAX) without Java 6. regards, mingfai --0016e647560e4b5592046cdabe92-- From [email protected] Wed Jun 24 21:58:20 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95425 invoked from network); 24 Jun 2009 21:58:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jun 2009 21:58:20 -0000 Received: (qmail 20283 invoked by uid 500); 24 Jun 2009 21:58:31 -0000 Delivered-To: [email protected] Received: (qmail 20245 invoked by uid 500); 24 Jun 2009 21:58:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <rat-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 20235 invoked by uid 99); 24 Jun 2009 21:58:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jun 2009 21:58:30 +0000 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=SPF_PASS,X_IP X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-yx0-f161.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jun 2009 21:58:19 +0000 Received: by yxe33 with SMTP id 33so2393594yxe.32 for <[email protected]>; Wed, 24 Jun 2009 14:57:58 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id g15mr445131ang.14.1245880678078; Wed, 24 Jun 2009 14:57:58 -0700 (PDT) Date: Wed, 24 Jun 2009 14:57:52 -0700 (PDT) X-IP: 161.129.204.104 User-Agent: G2/1.0 X-HTTP-UserAgent: Opera/9.62 (Windows NT 5.1; U; en) Presto/2.1.1,gzip(gfe),gzip(gfe) Message-ID: <[email protected]> Subject: Questions about limitations of use Google Code Search engine From: maka82 <[email protected]> To: Google Labs - Code Search <[email protected]> Cc: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi. I am working on my project: apache-rat-pd. Apache RAT plagiarism detector is a command-line tool for searching the code base for possibly plagiarized code using web code search engines. This project is a part of Google Summer of Code 2009. It is mentored by Apache. The idea is to query code search engines(like Google Code Search [1], Koders [2] or Krugle [3]) to check if the code we send in the query is copied from somewhere. More info about project can be found at http://code.google.com/p/apache-rat= -pd/ Our initial plan was to make it to work with Google Code Search first because it is open for developers, it has custom libraries, and has a great support for searching by regular expressions. So far, I created an initial version of this tool. It queries a part of code we assume to be plagiarized. We faced some problems and need your help to resolve them. Sometimes, when we query Google Code Search with a great number of queries in small time amount, the engine starts rejecting our queries. So we have some questions: 1. Do Google Code Search have some sort of DDOS attack [4] protecting mechanism which we activate? If it is true, how we can avoid this behaviour? What are the rules we must follow? 2. Our aim is to locate plagiarised code, so we sometimes query Google Code Search with very big queries if the code part is big. Is there some limit of query length? 3. In this implementation of regular expression generator in apache- rat-pd we may make some mistake and sometimes we have false positive result of our unplagiarized code query. We ask Google Code Search to find a code part using our regular expression query. Sometimes the engine returns some results which partially matches our code. Do you have some advice how to get only exact matches to avoid false positives? We use gdata-codesearch-2.0 library to communicate with google codesearch engine. Example of query for simple HelloWorld.java : Code: public class HelloWorld { public static void main(String argv[]) { System.out.println("Hello World."); } } Query: =20 http://www.google.com/codesearch/feeds/search?q=3Dpublic(\s?)+class(\s?)+He= lloWorld(\s?)+\{(\s?)+public(\s?)+static(\s?)+void(\s?)+main(\s?)+\((\s?)+S= tring(\s?)+argv(\s?)+\[(\s?)+\](\s?)+\)(\s?)+\{(\s?)+System(\s?)+\.(\s?)+ou= t(\s?)+\.(\s?)+println(\s?)+\((\s?)+"Hello(\s?)+World(\s?)+\.(\s?)+"(\s?)+\= )(\s?)+;(\s?)+\}(\s?)+\}&start-index=3Dnull&max-results=3Dnull [1] http://www.google.com/codesearch [2] http://www.koders.com/ [3] http://www.krugle.com/ [4] http://en.wikipedia.org/wiki/Denial-of-service_attack Best regards, Marija
From [email protected] Thu Mar 2 22:40:46 2000 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <attendees.apachecon.com> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 21732 invoked from network); 2 Mar 2000 22:40:46 -0000 Received: from i.meepzor.com (HELO Mail.MeepZor.Com) ([email protected]) by locus.apache.org with SMTP; 2 Mar 2000 22:40:46 -0000 Received: from Golux.Com ([161.129.204.104]) by Mail.MeepZor.Com (8.8.7/8.8.7) with ESMTP id RAA04383; Thu, 2 Mar 2000 17:43:46 -0500 Message-ID: <[email protected]> Date: Thu, 02 Mar 2000 17:40:02 -0500 From: Rodent of Unusual Size <[email protected]> Organization: The Apache Software Foundation X-Mailer: Mozilla 4.06 [en] (WinNT; U) MIME-Version: 1.0 To: ApacheCon 2000 Attendees <[email protected]> Subject: ApacheCon: More BOFs on the schedule now Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Greetings! If you look at the session schedule, you'll see that all of the Wednesday BOF slots have been filled. That means 7 BOFs have been selected and scheduled in the last few hours. More are coming in all the time.. So you might want to drop by and update your personal schedule at <http://ApacheCon.Com/html/personal-schedule.html>. Less than a week to go! -- #ken P-)} Ken Coar <http://Golux.Com/coar/> Apache Software Foundation <http://www.apache.org/> "Apache Server for Dummies" <http://Apache-Server.Com/> Come to the first official Apache Software Foundation Conference! <http://ApacheCon.Com/> From [email protected] Fri Mar 3 21:28:20 2000 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <attendees.apachecon.com> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 16667 invoked from network); 3 Mar 2000 21:28:20 -0000 Received: from i.meepzor.com (HELO Mail.MeepZor.Com) ([email protected]) by locus.apache.org with SMTP; 3 Mar 2000 21:28:20 -0000 Received: from Golux.Com ([161.129.204.104]) by Mail.MeepZor.Com (8.8.7/8.8.7) with ESMTP id QAA19716; Fri, 3 Mar 2000 16:31:24 -0500 Message-ID: <[email protected]> Date: Fri, 03 Mar 2000 16:27:36 -0500 From: Rodent of Unusual Size <[email protected]> Organization: The Apache Software Foundation X-Mailer: Mozilla 4.06 [en] (WinNT; U) MIME-Version: 1.0 To: ApacheCon 2000 Attendees <[email protected]> Subject: ApacheCon: Problems with schedules Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Greetings! Unfortunately, due to a oversight, the 'personal schedule' page allowed selection of ALL sessions, whether delegates were eligible to attend them or not. For instance, people who had only paid for Wednesday could 'sign up' for Thursday and Friday sessions, and people who hadn't paid for night school could nevertheless 'sign up' for night classes. This problem is being cleared up gradually; 'cleaned up' means that any unavailable sessions are being deselected from people's schedules. BOFs and keynotes are available to everyone, but all other sessions require conference registration for the appropriate day -- and night classes require additional registration, since they're not included in any of the packages. I apologise for the problem.. -- #ken P-)} Ken Coar <http://Golux.Com/coar/> Apache Software Foundation <http://www.apache.org/> "Apache Server for Dummies" <http://Apache-Server.Com/> Come to the first official Apache Software Foundation Conference! <http://ApacheCon.Com/> From [email protected] Fri Mar 3 22:58:45 2000 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <attendees.apachecon.com> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 80554 invoked from network); 3 Mar 2000 22:58:45 -0000 Received: from i.meepzor.com (HELO Mail.MeepZor.Com) ([email protected]) by locus.apache.org with SMTP; 3 Mar 2000 22:58:45 -0000 Received: from Golux.Com ([161.129.204.104]) by Mail.MeepZor.Com (8.8.7/8.8.7) with ESMTP id SAA25607; Fri, 3 Mar 2000 18:01:48 -0500 Message-ID: <[email protected]> Date: Fri, 03 Mar 2000 17:58:01 -0500 From: Rodent of Unusual Size <[email protected]> Organization: The Apache Software Foundation X-Mailer: Mozilla 4.06 [en] (WinNT; U) MIME-Version: 1.0 To: ApacheCon 2000 Attendees <[email protected]> Subject: ApacheCon: Schedules and changes Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Greetings! The schedule database has been corrected, and if you had inadvertently indicated interest in a session you couldn't attend, it has been deselected from your personal agenda. The attendee menu page (what you see when you log in to the Web site) has been enhanced to show what activities your registration permits -- such as daytime sessions, which days, and so on. And the site map has been cleaned up and made easier to read. See it at <http://ApacheCon.Com/html/sitemap.html>. If you have questions, comments, concerns, or suggestions, please let me know -- either by email, or by finding me at the conference in Orlando. See you next week! -- #ken P-)} Ken Coar <http://Golux.Com/coar/> Apache Software Foundation <http://www.apache.org/> "Apache Server for Dummies" <http://Apache-Server.Com/> Come to the first official Apache Software Foundation Conference! <http://ApacheCon.Com/> From [email protected] Fri Mar 3 23:39:58 2000 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <attendees.apachecon.com> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 9147 invoked from network); 3 Mar 2000 23:39:58 -0000 Received: from i.meepzor.com (HELO Mail.MeepZor.Com) ([email protected]) by locus.apache.org with SMTP; 3 Mar 2000 23:39:58 -0000 Received: from Golux.Com ([161.129.204.104]) by Mail.MeepZor.Com (8.8.7/8.8.7) with ESMTP id SAA28719; Fri, 3 Mar 2000 18:43:02 -0500 Message-ID: <[email protected]> Date: Fri, 03 Mar 2000 18:39:15 -0500 From: Rodent of Unusual Size <[email protected]> Organization: The Apache Software Foundation X-Mailer: Mozilla 4.06 [en] (WinNT; U) MIME-Version: 1.0 To: ApacheCon 2000 Attendees <[email protected]> Subject: ApacheCon: Session chairs and schedules Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N A couple of things I forgot to mention in the last message: o We still need session chairs for almost half the classes. If you haven't already, please consider signing up for one. (Paid attendees only.) o You may have noticed a problem when you were updating your personal schedule and clicked on a session to see the description: it took a long time, showed *all* the sessions, and by the time you got back to the form all your selections were forgotten. This has been addressed by making the click pop up a small window containing information about just that session. There will be at least one more mail message this week-end, describing some special events taking place at the conference. They'll show up on the Web site, too. See you in Orlando! -- #ken P-)} Ken Coar <http://Golux.Com/coar/> Apache Software Foundation <http://www.apache.org/> "Apache Server for Dummies" <http://Apache-Server.Com/> Come to the first official Apache Software Foundation Conference! <http://ApacheCon.Com/> From [email protected] Sun Mar 5 22:35:45 2000 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <attendees.apachecon.com> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 96582 invoked from network); 5 Mar 2000 22:35:45 -0000 Received: from i.meepzor.com (HELO Mail.MeepZor.Com) ([email protected]) by locus.apache.org with SMTP; 5 Mar 2000 22:35:45 -0000 Received: from Golux.Com (slip-32-101-164-75.nc.us.prserv.net [161.129.204.104]) by Mail.MeepZor.Com (8.8.7/8.8.7) with ESMTP id RAA04741; Sun, 5 Mar 2000 17:38:42 -0500 Message-ID: <[email protected]> Date: Sun, 05 Mar 2000 17:42:43 -0500 From: Rodent of Unusual Size <[email protected]> Organization: The Apache Software Foundation X-Mailer: Mozilla 4.05 [en] (Win95; U) MIME-Version: 1.0 To: Apache 2000 Attendees <[email protected]> Subject: ApacheCon special events Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N A couple of social events have been scheduled, and some special activities in the exhibit hall. For more information, see <http://ApacheCon.Com/html/special-events.html>. Only two more days! -- #ken P-)} Ken Coar <http://Golux.Com/coar/> Apache Software Foundation <http://www.apache.org/> "Apache Server for Dummies" <http://Apache-Server.Com/> Come to the first official Apache Software Foundation Conference! <http://ApacheCon.Com/> From [email protected] Tue Mar 7 23:51:48 2000 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <attendees.apachecon.com> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 12406 invoked from network); 7 Mar 2000 23:51:48 -0000 Received: from i.meepzor.com (HELO Mail.MeepZor.Com) ([email protected]) by locus.apache.org with SMTP; 7 Mar 2000 23:51:48 -0000 Received: from Golux.Com ([161.129.204.104]) by Mail.MeepZor.Com (8.8.7/8.8.7) with ESMTP id SAA11127; Tue, 7 Mar 2000 18:55:07 -0500 Message-ID: <[email protected]> Date: Tue, 07 Mar 2000 19:05:34 -0500 From: Rodent of Unusual Size <[email protected]> Organization: The Apache Software Foundation X-Mailer: Mozilla 4.05 [en] (Win95; U) MIME-Version: 1.0 To: ApacheCon 2000 Attendees <[email protected]> Subject: ApacheCon: Session room assignments Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Greetings! The room assignments for the conference sessions have been made. Because of the levels of interest shown, we've had to rearrange things a bit in the schedule. BUT DON'T PANIC! We haven't changed any days or times -- just changed how the sessions are displayed in the online agenda. A session that was in the third column may now show up in the first column -- but it's still on the same day and at the same time. The columns are now arranged by room, so you can see what session follows the current one in any particular room. All of your selections remain unchanged, as well. The rooms on Wednesday morning are a little different than the rest of the week, because of some other conferences taking place in the convention centre at the same time as ApacheCon 2000. So check carefully for the room name for your Wednesday sessions. See you to-morrow! -- #ken P-)} Ken Coar <http://Golux.Com/coar/> Apache Software Foundation <http://www.apache.org/> "Apache Server for Dummies" <http://Apache-Server.Com/> Come to the first official Apache Software Foundation Conference! <http://ApacheCon.Com/>
From [email protected] Sun Apr 02 02:28:09 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21267 invoked from network); 2 Apr 2006 02:28:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Apr 2006 02:28:09 -0000 Received: (qmail 16536 invoked by uid 500); 2 Apr 2006 02:28:09 -0000 Delivered-To: [email protected] Received: (qmail 16512 invoked by uid 500); 2 Apr 2006 02:28:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <websh-user.tcl.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 16499 invoked by uid 99); 2 Apr 2006 02:28:08 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Apr 2006 18:28:08 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO elasmtp-spurfowl.atl.sa.earthlink.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Apr 2006 18:28:08 -0800 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=earthlink.net; b=YroRR8tIG9c1lD6HxLWcEPHEnD9/MHEFHjDCoIdO7Z77soVuBFnEQz1Jxzy7AWya; h=Received:Mime-Version:Content-Transfer-Encoding:Message-Id:Content-Type:To:From:Subject:Date:X-Mailer:X-ELNK-Trace:X-Originating-IP; Received: from [161.129.204.104] (helo=[161.129.204.104]) by elasmtp-spurfowl.atl.sa.earthlink.net with asmtp (TLSv1:RC4-SHA:128) (Exim 4.34) id 1FPsJd-00020R-71 for [email protected]; Sat, 01 Apr 2006 21:27:47 -0500 Mime-Version: 1.0 (Apple Message framework v746.3) Content-Transfer-Encoding: 7bit Message-Id: <[email protected]> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: [email protected] From: Robert Hicks <[email protected]> Subject: FreeBSD Date: Sat, 1 Apr 2006 21:27:30 -0500 X-Mailer: Apple Mail (2.746.3) X-ELNK-Trace: 76c78254f647aed8e236c06b74295bae4d2b10475b571120344ae5c2a5214a92dcaab189c5f944968858d97c050d2b86350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 161.129.204.104 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Has anyone gotten Websh to run on FreeBSD? I have a web hosting company that would include it if it does and they have instructions on how to do it. Robert --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 02 08:49:51 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 23290 invoked from network); 2 Apr 2006 08:49:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Apr 2006 08:49:51 -0000 Received: (qmail 63758 invoked by uid 500); 2 Apr 2006 08:49:51 -0000 Delivered-To: [email protected] Received: (qmail 63741 invoked by uid 500); 2 Apr 2006 08:49:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <websh-user.tcl.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 63728 invoked by uid 99); 2 Apr 2006 08:49:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Apr 2006 00:49:51 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO xmail.sk5.am.poznan.pl) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Apr 2006 00:49:49 -0800 Received: from c119-37.icpnet.pl (c119-37.icpnet.pl [161.129.204.104]) by xmail.sk5.am.poznan.pl (Postfix) with ESMTP id D6C925CB7 for <[email protected]>; Sun, 2 Apr 2006 10:49:28 +0200 (CEST) From: Piotr =?iso-8859-2?q?=A6wirydowicz?= <[email protected]> To: [email protected] Subject: Re: FreeBSD Date: Sun, 2 Apr 2006 10:49:22 +0200 User-Agent: KMail/1.7.2 References: <[email protected]> In-Reply-To: <[email protected]> Organization: SPSK Nr 5 AM w Poznaniu MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, > Has anyone gotten Websh to run on FreeBSD?[...] Yes, sure. As I remember You need one of the prior versions of autoconf and/or automak= e=20 to compile it on FreeBSD. My compilation (I've used `gmake', of course): =2D------------------------------------------------------------------------= =2D--- =46reeBSD 5.3-RELEASE-p5 # pkg_info | grep auto autoconf-2.13.000227_5 Automatically configure source code on many Un*x=20 platforms autoconf-2.53_3 Automatically configure source code on many Un*x platfo= rms autoconf-2.59_2 Automatically configure source code on many Un*x platfo= rms automake-1.4.6_1 GNU Standards-compliant Makefile generator (legacy vers= ion automake-1.5_2,1 GNU Standards-compliant Makefile generator (version 1.5) automake-1.9.5 GNU Standards-compliant Makefile generator (version 1.9) =2D------------------------------------------------------------------------= =2D--- =2D-=20 | Piotr 'werther' =A6wirydowicz || ---- programmer / UNIX administrator ---= =2D |B | batcave.pl | JID: [email protected] | GG: 1386150 | ICQ: 348882275 = |O | -> BloodLust DJ Team Member <- | Pozna=F1, Poland | PGP Key ID: 0x6A81CB1= 0 |F | XMMS is now playing: Von Thronstahl - Bellum, Sacrum Bellum ------------ = |H --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 02 16:53:52 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60896 invoked from network); 2 Apr 2006 16:53:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Apr 2006 16:53:52 -0000 Received: (qmail 87233 invoked by uid 500); 2 Apr 2006 16:53:51 -0000 Delivered-To: [email protected] Received: (qmail 87212 invoked by uid 500); 2 Apr 2006 16:53:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <websh-user.tcl.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 87198 invoked by uid 99); 2 Apr 2006 16:53:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Apr 2006 09:53:51 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=MISSING_HEADERS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO netcetera.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Apr 2006 09:53:50 -0700 Received: from [161.129.204.104] (hiphop-vpn [161.129.204.104]) by fusion.netcetera.ch (8.11.7p1+Sun/8.7.3) with ESMTP id k32GrR703954 for <[email protected]>; Sun, 2 Apr 2006 18:53:27 +0200 (MEST) Resent-From: Ronnie Brunner <[email protected]> Resent-To: [email protected] Resent-Date: Sun, 2 Apr 2006 18:53:25 +0200 Resent-Message-Id: <[email protected]> Resent-User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) Message-ID: <[email protected]> Date: Sun, 02 Apr 2006 18:07:41 +0200 From: Ronnie Brunner <[email protected]> User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.tcl CC: [email protected] Subject: Re: Websh on FreeBSD References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 161.129.204.104 X-Original-NNTP-Posting-Host: 161.129.204.104 X-Trace: news.bluewin.ch 1143994063 161.129.204.104 (2 Apr 2006 18:07:43 +0200) Organization: Bluewin AG Complaints-To: [email protected] X-Original-NNTP-Posting-Host: 161.129.204.104 Path: news.bluewin.ch!not-for-mail Xref: news.bluewin.ch comp.lang.tcl:221898 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Robert Hicks wrote: > I was wondering if anyone has tried it or gotten it going? Should compile out-of-the box, as long as you have autoconf and gnu make (aka gmake). Since the latest versions where updated regarding autoconf, it should now also work with newer versions. However in your mail on [email protected] you talk about a web hosting company that would include it. Note that to properly setup mod_websh for Apache, you need access to the Apache config file, which you usually don't have for security reasons. And access to the websh.conf file of the installation is also kind of dangerous, so I'm not sure what a hoster would/should provide in that case. And if it's only CGI, you don't really need the hoster to cooperate, as long as you have a directory, were you can put CGIs. Or am I missing something? > :wq (Robert) ^X^S ^X^C (Ronnie) :-) -- Ronnie Brunner | [email protected] phone 475-205-1887 | fax 475-205-1887 Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 02 19:33:23 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10959 invoked from network); 2 Apr 2006 19:33:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Apr 2006 19:33:22 -0000 Received: (qmail 95997 invoked by uid 500); 2 Apr 2006 19:33:17 -0000 Delivered-To: [email protected] Received: (qmail 95973 invoked by uid 500); 2 Apr 2006 19:33:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <websh-user.tcl.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 95962 invoked by uid 99); 2 Apr 2006 19:33:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Apr 2006 12:33:17 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO mailserver.sandvine.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Apr 2006 12:33:14 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Websh on FreeBSD Date: Sun, 2 Apr 2006 15:32:53 -0400 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Websh on FreeBSD Thread-Index: AcZWdgaSo3+NeXnlTVerZXqOO/02cAAFn4yA From: "David McTavish" <[email protected]> To: "Ronnie Brunner" <[email protected]> Cc: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N one thing to note, that the "make" doesn't work so well, you actually = have to "make mod_websh", however, I do believe there were some issues = when compiling w/FreeBSD 4.x. i remember us having to hack a bit with = the configure files, etc, but dont really remember the details. = compiling on bsd5 w/apache 1.x was a breeze though. -----Original Message----- From: Ronnie Brunner [mailto:[email protected]]=20 Sent: Sunday, April 02, 2006 12:08 PM Cc: [email protected] Subject: Re: Websh on FreeBSD Robert Hicks wrote: > I was wondering if anyone has tried it or gotten it going? Should compile out-of-the box, as long as you have autoconf and gnu make = (aka gmake). Since the latest versions where updated regarding autoconf, it should=20 now also work with newer versions. However in your mail on [email protected] you talk about a web=20 hosting company that would include it. Note that to properly setup=20 mod_websh for Apache, you need access to the Apache config file, which=20 you usually don't have for security reasons. And access to the=20 websh.conf file of the installation is also kind of dangerous, so I'm=20 not sure what a hoster would/should provide in that case. And if it's=20 only CGI, you don't really need the hoster to cooperate, as long as you=20 have a directory, were you can put CGIs. Or am I missing something? > :wq (Robert) ^X^S ^X^C (Ronnie) :-) --=20 Ronnie Brunner | [email protected] phone 475-205-1887 | fax 475-205-1887 Netcetera AG | 8040 Z=FCrich | Switzerland | http://netcetera.ch --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 04 07:58:54 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44665 invoked from network); 4 Apr 2006 07:58:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Apr 2006 07:58:52 -0000 Received: (qmail 83465 invoked by uid 500); 4 Apr 2006 07:58:49 -0000 Delivered-To: [email protected] Received: (qmail 83442 invoked by uid 500); 4 Apr 2006 07:58:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <websh-user.tcl.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 83431 invoked by uid 99); 4 Apr 2006 07:58:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Apr 2006 00:58:49 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO netcetera.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Apr 2006 00:58:48 -0700 Received: from fire-17.netcetera.ch (fire-17 [161.129.204.104]) by fusion.netcetera.ch (8.11.7p1+Sun/8.7.3) with ESMTP id k347wP716606; Tue, 4 Apr 2006 09:58:25 +0200 (MEST) Received: by fire-17.netcetera.ch (8.11.7p1+Sun) id k347wOS19887; Tue, 4 Apr 2006 09:58:24 +0200 (MEST) Date: Tue, 4 Apr 2006 09:58:24 +0200 From: Ronnie Brunner <[email protected]> To: Robert Hicks <[email protected]> Cc: [email protected] Subject: Re: Websh on FreeBSD Message-ID: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <[email protected]> User-Agent: Mutt/1.5.9i X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Robert > No, I maybe do not understand how all the stuff works together > (Apache, Websh, CGI). The hosting company said that if it worked on > FreeBSD they would make it available to everyone. I guess that means > "out of the box" or something. It would be strictly CGI and they > offer Tcl 8.4 for CGI stuff. I asked a friend to give it a try on FreeBSD. He has an outdated version (he says), but it still works pretty much out-of-the-box (if you consider running configure with options and a CPPFLAGS variable out of the box :-) Here's what he did: "I have particular packages (using the FreeBSD packages/ports mechanism) of tcl (84), autoconf (259) and apache (21) installed." crusoe(jason): fetch ftp://mirror.switch.ch/mirror/apache/dist/tcl/websh/source/websh-3.6.0b4-src.tar.gz [...] crusoe(jason): tar -xzvf websh-3.6.0b4-src.tar.gz [...] crusoe(jason): cd websh-3.6.0b4/src/unix crusoe(jason): autoconf259 [...] crusoe(jason): CPPFLAGS=-I/usr/local/include/apr-1 ./configure --with-tclinclude=/usr/local/include/tcl8.4 --with-tcl=/usr/local/lib/tcl8.4 --with-httpdinclude=/usr/local/include/apache21 [...] crusoe(jason): gmake [...] crusoe(jason): uname -a FreeBSD crusoe.XXXX.XXX 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Mon Sep 19 11:11:30 CEST 2005 [email protected]:/usr/src/sys/i386/compile/CRUSOE i386 crusoe(jason): ./websh3.6.0b4 % wacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bput "hello, world" Content-Type: text/html Generator: websh 3.6.0b4 hello, world > How does it get setup as a CGI? As you see above, gmake not only creates mod_websh.so, but also a websh binary. This is all you need for CGI (except for the underlying Tcl installation). Just start writing your CGI scripts with #!/path/to/websh or better the common Tcl shell wrapper hack that allows to set the environmnt correctly if needed: #!/bin/sh # \ exec path/to/websh "$0" "$@" wacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bput "Hello CGI Websh" hth Ronnie -- Ronnie Brunner | [email protected] phone 475-205-1887 | fax 475-205-1887 Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 28 11:13:56 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83919 invoked from network); 28 Apr 2006 11:13:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Apr 2006 11:13:56 -0000 Received: (qmail 35852 invoked by uid 500); 28 Apr 2006 11:13:55 -0000 Delivered-To: [email protected] Received: (qmail 35843 invoked by uid 500); 28 Apr 2006 11:13:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <websh-user.tcl.apache.org> Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 91363 invoked by uid 99); 28 Apr 2006 10:46:28 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Message-Id: <161.129.204.104.2.20060428111256.024abc90@localhostxx> X-Sender: agmail@localhostxx X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 28 Apr 2006 11:44:34 +0200 To: [email protected] From: [email protected] Subject: external billing server interface Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N hello, i am wondering what the best approach is to solve the following: i have a working website (apache 2 and mod_websh) with file-based server-side sessions. it produces URLs like http://161.129.204.104/service.ws3?XDp6dPEFi3xtaYvFCPSjJVslyQ7vJiVQrl80QgWn0f0NBH2DmH all fine. now... to interface with an external card-billing website, the user's browser is sent to an exernal billing server; a URL is passed along, which the billing server later embeds into its page upon completion of the payment; it is used to send the customer back to my websh based site. the billing server... attaches parameters to this URL; for example: http://www.7wire.com/returnpage.html?DATA=%3CIDP+MSGTYPE%3D%22PayConfirm%22+KEYID%3D%221%2D0%22+ID%3D%22EYzzx3ArSOQpSAWC6fxQAvx40000%22+TOKEN%3D% 22%28unused%29%22+VTVERIFY%3D%22%28obsolete%29%22+AMOUNT%3D%22555%22+CURRENCY%3D%22CHF%22+PROVIDERID%3D%2290%22+PROVIDERNAME%3D%22Safer pay+Test+Card%22+ACCOUNTID%3D%2299999%2D94913159%22+ECI%3D%222%22+CCCOUNTRY%3D%22XX%22%2F%3E&SIGNATURE=51eb5c374e163539f8aff5cdb7249db6 aec8165738f1ec3e44ac73e3de9c530b8ffff2d55f90369d176538e4d0e3067e4635d531965b9c4b63089be50fd4ffff i am wondering about what is the best way to marry the two: i'd like to keep the encrypted data from the websh environment, but need to gather the ID parameter from the billing server's reply. i wanted to essentially chain the two or embed the websh data like the SIGNATURE, but this would require pre-processing the querystring before it is dispatched under websh. from what i've seen from the sources, the url is not available to the tcl environment for manipulation before dispatching. i would either add this or process in C, but there may be a better way...?? andy --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 28 12:56:12 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 39181 invoked from network); 28 Apr 2006 12:56:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Apr 2006 12:56:10 -0000 Received: (qmail 91706 invoked by uid 500); 28 Apr 2006 12:56:10 -0000 Delivered-To: [email protected] Received: (qmail 91687 invoked by uid 500); 28 Apr 2006 12:56:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <websh-user.tcl.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 91676 invoked by uid 99); 28 Apr 2006 12:56:09 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Apr 2006 05:56:09 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO netcetera.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Apr 2006 05:56:08 -0700 Received: from fire-17.netcetera.ch (fire-17 [161.129.204.104]) by fusion.netcetera.ch (8.11.7p1+Sun/8.7.3) with ESMTP id k3SCtla04583; Fri, 28 Apr 2006 14:55:47 +0200 (MEST) Received: by fire-17.netcetera.ch (8.11.7p1+Sun) id k3SCtjT04952; Fri, 28 Apr 2006 14:55:45 +0200 (MEST) Date: Fri, 28 Apr 2006 14:55:45 +0200 From: Ronnie Brunner <[email protected]> To: [email protected] Cc: [email protected] Subject: Re: external billing server interface Message-ID: <[email protected]> References: <161.129.204.104.2.20060428111256.024abc90@localhostxx> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <161.129.204.104.2.20060428111256.024abc90@localhostxx> User-Agent: Mutt/1.5.9i X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi > i am wondering about what is the best way to marry the two: i'd like to > keep the encrypted data from the websh environment, but need to gather the > ID parameter from the billing server's reply. i wanted to essentially chain > the two or embed the websh data like the SIGNATURE, but this would require > pre-processing the querystring before it is dispatched under websh. from > what i've seen from the sources, the url is not available to the tcl > environment for manipulation before dispatching. i would either add this or > process in C, but there may be a better way...?? You can easily access the query string before dispatching as follows: set query [wacf:4db6:5e0b:f386:43a5:35d7:718d:3c8brequest QUERY_STRING] # do some manipulation on $query wacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bdispatch -querystring $query This allows you for example to extract the websh part of the original query string and only pass this part to wacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bdispatch or pass both parts separately. Something like: % set query "a=b&c=d&e=[wacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bencrypt "g h i k"]" a=b&c=d&e=XDdCg9Ouu7bh9ZmT % wacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bdispatch -querystring $query -cmd "" -postdata "" % foreach p [lsort [wacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bparam -names]] {puts "$p: '[wacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bparam $p]'"} a: 'b' c: 'd' e: 'XDdCg9Ouu7bh9ZmT' % wacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bdispatch -querystring [wacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bparam e] -cmd "" -postdata "" % foreach p [lsort [wacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bparam -names]] {puts "$p: '[wacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bparam $p]'"} a: 'b' c: 'd' e: 'XDdCg9Ouu7bh9ZmT' g: 'h' i: 'k' % I hope you get the idea Regards Ronnie -- 10 Jahre Netcetera - die Zukunft im Visier Ronnie Brunner | [email protected] phone 475-205-1887 | fax 475-205-1887 Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 28 13:11:22 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48407 invoked from network); 28 Apr 2006 13:11:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Apr 2006 13:11:21 -0000 Received: (qmail 31997 invoked by uid 500); 28 Apr 2006 13:11:21 -0000 Delivered-To: [email protected] Received: (qmail 31924 invoked by uid 500); 28 Apr 2006 13:11:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <websh-user.tcl.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 31911 invoked by uid 99); 28 Apr 2006 13:11:20 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Apr 2006 06:11:20 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO mail-outfwd.lms.be) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Apr 2006 06:11:18 -0700 Received: from localhost (unknown [161.129.204.104]) by mail-outfwd.lms.be (Postfix) with ESMTP id 805AC7F447; Fri, 28 Apr 2006 15:27:57 +0200 (CEST) Received: from mail-kl.lmsintl.com ([161.129.204.104]) by localhost (kl-ftp [161.129.204.104]) (amavisd-new, port 20024) with ESMTP id 32573-01; Fri, 28 Apr 2006 15:27:57 +0200 (CEST) Received: from kaiserslautern1.lmsintl.com (unknown [161.129.204.104]) by mail-kl.lmsintl.com (Postfix) with ESMTP id 6A5DAB6EC5; Fri, 28 Apr 2006 15:27:57 +0200 (CEST) Received: by kaiserslautern1.lmsintl.com with Internet Mail Service (5.5.2653.19) id <JHW4P9X0>; Fri, 28 Apr 2006 15:10:54 +0200 Message-ID: <[email protected]> From: Holger Zeinert <[email protected]> To: 'Ronnie Brunner' <[email protected]> Cc: 'websh-user' <[email protected]> Subject: Authentification Date: Fri, 28 Apr 2006 15:10:53 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Virus-Scanned: by IT Services X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I want to upgrade from an old system running Apache 1.3/mod_dtcl to Apache2. Unfortunately, Rivet is not yet fully available for Apache2, so I thought to try out websh. It compiles and runs without problems on a Ubuntu and a SuSE 10 system. Great! Now I have one problems, which I got solved using mod_dtcl and Rivet, that is to handle authentification in the Tcl-part. In mod_dtcl and Rivet you have access to the username and password supplied by the brower. So, assuming I would have access to user/password as USER(user)/USER(password) in websh, I could create a page like this: wacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bcommand default { if {[info exists USER]} { if {[checkUserPassword $USER(user) $USER(password)]} { showPage } else { showError "sorry, wrong user/password" } } else { wacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bresponse -httpresponse 401 wacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bresponse -set WWW-Authenticate \ "Basic realm=\"My Domain\"" } } wacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bdispatch Is an authentification like this possible using websh or could it easily be added? Thanks Holger --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 28 15:05:50 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18488 invoked from network); 28 Apr 2006 15:05:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Apr 2006 15:05:45 -0000 Received: (qmail 56963 invoked by uid 500); 28 Apr 2006 15:05:45 -0000 Delivered-To: [email protected] Received: (qmail 56940 invoked by uid 500); 28 Apr 2006 15:05:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <websh-user.tcl.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 56923 invoked by uid 99); 28 Apr 2006 15:05:44 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Apr 2006 08:05:44 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO netcetera.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Apr 2006 08:05:42 -0700 Received: from fire-17.netcetera.ch (fire-17 [161.129.204.104]) by fusion.netcetera.ch (8.11.7p1+Sun/8.7.3) with ESMTP id k3SF5Ka19415; Fri, 28 Apr 2006 17:05:20 +0200 (MEST) Received: by fire-17.netcetera.ch (8.11.7p1+Sun) id k3SF5JT05225; Fri, 28 Apr 2006 17:05:19 +0200 (MEST) Date: Fri, 28 Apr 2006 17:05:19 +0200 From: Ronnie Brunner <[email protected]> To: Holger Zeinert <[email protected]> Cc: "'websh-user'" <[email protected]> Subject: Re: Authentification Message-ID: <[email protected]> References: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <[email protected]> User-Agent: Mutt/1.5.9i X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Holger > Now I have one problems, which I got solved using mod_dtcl and Rivet, that > is to handle authentification in the Tcl-part. In mod_dtcl and Rivet you > have access to the username and password supplied by the brower. So, > assuming I would have access to user/password as USER(user)/USER(password) > in websh, I could create a page like this: Mhhh. The authorization is not exposed because Apache explicitly hides it for security reasons. That's why we didn't think it would be necessary to expose it in Websh. On the other hand: your approach was one I was many times tempted to use :-) The following patch will give you at least a chance to setup your app as desired: --- src/generic/request_ap.c (revision 378313) +++ src/generic/request_ap.c (working copy) @@ -92,5 +92,20 @@ paramListSetAsWhole(requestData->request, "GATEWAY_INTERFACE", Tcl_NewStringObj("CGI-websh/1.1", -1)); + + { + char *val; + Tcl_Obj *valo = NULL; + + /* Check to see if a Authorization header is there */ + val = (char *)ap_table_get( r->headers_in, "Authorization" ); + if (val) { + valo = Tcl_NewStringObj(val, -1); + if (paramListAdd(requestData->request, "AUTHORIZATION", valo) != TCL_OK) + /* fatal case */ + return TCL_ERROR; + } + } + return TCL_OK; } It will expose the original Authorization header sent by the browser. A more complicated patch would be needed to actually decode user and pass from the base64 encoded value. Like this, you'll have to change your code to create a USER(user) and USER(password) variable from [wacf:4db6:5e0b:f386:43a5:35d7:718d:3c8brequest AUTHORIZATION]. > > wacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bcommand default { #Here you'll have to call a proc (to be written :-) like DecodeAuth USER #or similar > if {[info exists USER]} { > if {[checkUserPassword $USER(user) $USER(password)]} > { > showPage > } else { > showError "sorry, wrong user/password" > } > } else { > wacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bresponse -httpresponse 401 #This should be: wacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bresponse -httpresponse "HTTP/1.x 401" > wacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bresponse -set WWW-Authenticate \ > "Basic realm=\"My Domain\"" > } > } > wacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bdispatch For a real patch to Websh, it should really decode user and pass and setting it into specific request variables, but I'm still not sure if it's a good idea since it's a security hole, cause every page editor can then steal users and passwords. Any suggestions why it should (or not) be included? hth Ronnie -- 10 Jahre Netcetera - die Zukunft im Visier Ronnie Brunner | [email protected] phone 475-205-1887 | fax 475-205-1887 Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 28 15:26:14 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33036 invoked from network); 28 Apr 2006 15:26:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Apr 2006 15:26:13 -0000 Received: (qmail 1503 invoked by uid 500); 28 Apr 2006 15:26:09 -0000 Delivered-To: [email protected] Received: (qmail 1447 invoked by uid 500); 28 Apr 2006 15:26:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <websh-user.tcl.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 1354 invoked by uid 99); 28 Apr 2006 15:26:08 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Apr 2006 08:26:08 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO mail-outfwd.lms.be) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Apr 2006 08:26:08 -0700 Received: from localhost (unknown [161.129.204.104]) by mail-outfwd.lms.be (Postfix) with ESMTP id 293AC7F449; Fri, 28 Apr 2006 17:42:51 +0200 (CEST) Received: from mail-kl.lmsintl.com ([161.129.204.104]) by localhost (kl-ftp [161.129.204.104]) (amavisd-new, port 20024) with ESMTP id 32056-05; Fri, 28 Apr 2006 17:42:51 +0200 (CEST) Received: from kaiserslautern1.lmsintl.com (unknown [161.129.204.104]) by mail-kl.lmsintl.com (Postfix) with ESMTP id 0BB9FB6EC5; Fri, 28 Apr 2006 17:42:51 +0200 (CEST) Received: by kaiserslautern1.lmsintl.com with Internet Mail Service (5.5.2653.19) id <JHW4P0H6>; Fri, 28 Apr 2006 17:25:46 +0200 Message-ID: <[email protected]> From: Holger Zeinert <[email protected]> To: 'Ronnie Brunner' <[email protected]> Cc: 'websh-user' <[email protected]> Subject: RE: Authentification Date: Fri, 28 Apr 2006 17:25:45 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by IT Services X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks for your quick help! I will try it (over the weekend...). > Any suggestions why it should (or not) be included? simple answer: it's available in=20 - Rivet=20 via $USER(user) / $USER(pass)=20 - PHP=20 via a variable $PHP_AUTH_USER / $PHP_AUTH_PW rsp. $_SERVER['PHP_AUTH_USER'] / $_SERVER['PHP_AUTH_PW'],=20 see http://de3.php.net/manual/de/features.http-auth.php PHP mentions, that it only works if PHP is used as module. I guess the = same would apply to WebSH. If an external auth mechanism was used, then REMOTE_USER is set and user/password is not available for security = reasons. Regards Holger > -----Original Message----- > From: Ronnie Brunner [mailto:[email protected]]=20 > Sent: Friday, April 28, 2006 5:05 PM > To: Holger Zeinert > Cc: 'websh-user' > Subject: Re: Authentification >=20 >=20 > Hi Holger >=20 > > Now I have one problems, which I got solved using mod_dtcl=20 > and Rivet, that > > is to handle authentification in the Tcl-part. In mod_dtcl=20 > and Rivet you > > have access to the username and password supplied by the brower. = So, > > assuming I would have access to user/password as=20 > USER(user)/USER(password) > > in websh, I could create a page like this: >=20 > Mhhh. The authorization is not exposed because Apache explicitly = hides > it for security reasons. That's why we didn't think it would be > necessary to expose it in Websh. On the other hand: your approach was > one I was many times tempted to use :-) >=20 > The following patch will give you at least a chance to setup your app > as desired: >=20 > --- src/generic/request_ap.c (revision 378313) > +++ src/generic/request_ap.c (working copy) > @@ -92,5 +92,20 @@ > =20 > paramListSetAsWhole(requestData->request, "GATEWAY_INTERFACE", > Tcl_NewStringObj("CGI-websh/1.1", -1)); > + > + { > + char *val; > + Tcl_Obj *valo =3D NULL; > + > + /* Check to see if a Authorization header is there */ > + val =3D (char *)ap_table_get( r->headers_in, "Authorization" = ); > + if (val) { > + valo =3D Tcl_NewStringObj(val, -1); > + if (paramListAdd(requestData->request,=20 > "AUTHORIZATION", valo) !=3D TCL_OK) > + /* fatal case */ > + return TCL_ERROR; > + } > + } > + > return TCL_OK; > } >=20 >=20 > It will expose the original Authorization header sent by the > browser. A more complicated patch would be needed to actually decode > user and pass from the base64 encoded value. Like this, you'll have = to > change your code to create a USER(user) and USER(password) variable > from [wacf:4db6:5e0b:f386:43a5:35d7:718d:3c8brequest AUTHORIZATION]. >=20 > >=20 > > wacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bcommand default { >=20 > #Here you'll have to call a proc (to be written :-) like >=20 > DecodeAuth USER >=20 > #or similar >=20 > > if {[info exists USER]} { > > if {[checkUserPassword $USER(user)=20 > $USER(password)]} > > { > > showPage > > } else { > > showError "sorry, wrong user/password" > > } > > } else { > > wacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bresponse -httpresponse 401 >=20 > #This should be: > wacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bresponse -httpresponse "HTTP/1.x 401" >=20 > > wacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bresponse -set WWW-Authenticate \ > > "Basic realm=3D\"My Domain\"" > > } > > } > > wacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bdispatch >=20 > For a real patch to Websh, it should really decode user and pass and > setting it into specific request variables, but I'm still not sure if > it's a good idea since it's a security hole, cause every page editor > can then steal users and passwords.=20 >=20 > Any suggestions why it should (or not) be included? >=20 > hth > Ronnie > --=20 > 10 Jahre Netcetera - die Zukunft im Visier >=20 > Ronnie Brunner | [email protected] > phone 475-205-1887 | fax 475-205-1887 > Netcetera AG | 8040 Z=FCrich | Switzerland | http://netcetera.ch >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 28 16:25:49 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71085 invoked from network); 28 Apr 2006 16:25:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Apr 2006 16:25:48 -0000 Received: (qmail 36703 invoked by uid 500); 28 Apr 2006 16:25:48 -0000 Delivered-To: [email protected] Received: (qmail 36679 invoked by uid 500); 28 Apr 2006 16:25:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <websh-user.tcl.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 36668 invoked by uid 99); 28 Apr 2006 16:25:47 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Apr 2006 09:25:47 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO mail-outfwd.lms.be) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Apr 2006 09:25:46 -0700 Received: from localhost (unknown [161.129.204.104]) by mail-outfwd.lms.be (Postfix) with ESMTP id DD1EB7F414; Fri, 28 Apr 2006 18:42:30 +0200 (CEST) Received: from mail-kl.lmsintl.com ([161.129.204.104]) by localhost (kl-ftp [161.129.204.104]) (amavisd-new, port 20024) with ESMTP id 31536-06; Fri, 28 Apr 2006 18:42:30 +0200 (CEST) Received: from kaiserslautern1.lmsintl.com (unknown [161.129.204.104]) by mail-kl.lmsintl.com (Postfix) with ESMTP id B416EB6EC5; Fri, 28 Apr 2006 18:42:30 +0200 (CEST) Received: by kaiserslautern1.lmsintl.com with Internet Mail Service (5.5.2653.19) id <JHW4P0L6>; Fri, 28 Apr 2006 18:25:25 +0200 Message-ID: <[email protected]> From: Holger Zeinert <[email protected]> To: 'Ronnie Brunner' <[email protected]> Cc: 'websh-user' <[email protected]> Subject: RE: Authentification Date: Fri, 28 Apr 2006 18:25:24 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/mixed; boundary="----_=_NextPart_000_01C66AE0.59ED0629" X-Virus-Scanned: by IT Services X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------_=_NextPart_000_01C66AE0.59ED0629 Content-Type: text/plain; charset="iso-8859-1" > I will try it (over the weekend...). ... couldn't wait. I had to modify your patch a bit to make it work with APACHE2. It does work now, however I'm not sure whether it is completely correct. See attached the modified version. The proc to decode is this: proc DecodeAuth {arrName} { package require base64 upvar $arrName USER set USER(user) "" set USER(pass) "" set data [wacf:4db6:5e0b:f386:43a5:35d7:718d:3c8brequest AUTHORIZATION] if {[lindex $data 0] == "Basic"} { # we only handle Basic Auth at the moment set dataList [split [acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bdecode [lindex $data 1]] ":"] set USER(user) [lindex $dataList 0] set USER(pass) [lindex $dataList 1] } return } So, thanks a lot for your help! Have a nice weekend. Holger > -----Original Message----- > From: Holger Zeinert [mailto:[email protected]] > Sent: Friday, April 28, 2006 5:26 PM > To: 'Ronnie Brunner' > Cc: 'websh-user' > Subject: RE: Authentification > > > Thanks for your quick help! I will try it (over the weekend...). > > > Any suggestions why it should (or not) be included? > > simple answer: it's available in > - Rivet > via $USER(user) / $USER(pass) > - PHP > via a variable $PHP_AUTH_USER / $PHP_AUTH_PW rsp. > $_SERVER['PHP_AUTH_USER'] / $_SERVER['PHP_AUTH_PW'], > see http://de3.php.net/manual/de/features.http-auth.php > > PHP mentions, that it only works if PHP is used as module. I > guess the same > would apply to WebSH. If an external auth mechanism was used, then > REMOTE_USER is set and user/password is not available for > security reasons. > > Regards > Holger > > > > > > -----Original Message----- > > From: Ronnie Brunner [mailto:[email protected]] > > Sent: Friday, April 28, 2006 5:05 PM > > To: Holger Zeinert > > Cc: 'websh-user' > > Subject: Re: Authentification > > > > > > Hi Holger > > > > > Now I have one problems, which I got solved using mod_dtcl > > and Rivet, that > > > is to handle authentification in the Tcl-part. In mod_dtcl > > and Rivet you > > > have access to the username and password supplied by the > brower. So, > > > assuming I would have access to user/password as > > USER(user)/USER(password) > > > in websh, I could create a page like this: > > > > Mhhh. The authorization is not exposed because Apache > explicitly hides > > it for security reasons. That's why we didn't think it would be > > necessary to expose it in Websh. On the other hand: your > approach was > > one I was many times tempted to use :-) > > > > The following patch will give you at least a chance to > setup your app > > as desired: > > > > --- src/generic/request_ap.c (revision 378313) > > +++ src/generic/request_ap.c (working copy) > > @@ -92,5 +92,20 @@ > > > > paramListSetAsWhole(requestData->request, "GATEWAY_INTERFACE", > > Tcl_NewStringObj("CGI-websh/1.1", -1)); > > + > > + { > > + char *val; > > + Tcl_Obj *valo = NULL; > > + > > + /* Check to see if a Authorization header is there */ > > + val = (char *)ap_table_get( r->headers_in, "Authorization" ); > > + if (val) { > > + valo = Tcl_NewStringObj(val, -1); > > + if (paramListAdd(requestData->request, > > "AUTHORIZATION", valo) != TCL_OK) > > + /* fatal case */ > > + return TCL_ERROR; > > + } > > + } > > + > > return TCL_OK; > > } > > > > > > It will expose the original Authorization header sent by the > > browser. A more complicated patch would be needed to actually decode > > user and pass from the base64 encoded value. Like this, > you'll have to > > change your code to create a USER(user) and USER(password) variable > > from [wacf:4db6:5e0b:f386:43a5:35d7:718d:3c8brequest AUTHORIZATION]. > > > > > > > > wacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bcommand default { > > > > #Here you'll have to call a proc (to be written :-) like > > > > DecodeAuth USER > > > > #or similar > > > > > if {[info exists USER]} { > > > if {[checkUserPassword $USER(user) > > $USER(password)]} > > > { > > > showPage > > > } else { > > > showError "sorry, wrong user/password" > > > } > > > } else { > > > wacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bresponse -httpresponse 401 > > > > #This should be: > > wacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bresponse -httpresponse "HTTP/1.x 401" > > > > > wacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bresponse -set WWW-Authenticate \ > > > "Basic realm=\"My Domain\"" > > > } > > > } > > > wacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bdispatch > > > > For a real patch to Websh, it should really decode user and pass and > > setting it into specific request variables, but I'm still > not sure if > > it's a good idea since it's a security hole, cause every page editor > > can then steal users and passwords. > > > > Any suggestions why it should (or not) be included? > > > > hth > > Ronnie > > -- > > 10 Jahre Netcetera - die Zukunft im Visier > > > > Ronnie Brunner | [email protected] > > phone 475-205-1887 | fax 475-205-1887 > > Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > ------_=_NextPart_000_01C66AE0.59ED0629 Content-Type: application/octet-stream; name="request_ap.c" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="request_ap.c" /*=0A= * request_ap.c -- get request data from apaches request object=0A= * nca-073-9=0A= *=0A= * Copyright (c) 1996-2000 by Netcetera AG.=0A= * Copyright (c) 2001 by Apache Software Foundation.=0A= * All rights reserved.=0A= *=0A= * See the file "license.terms" for information on usage and=0A= * redistribution of this file, and for a DISCLAIMER OF ALL = WARRANTIES.=0A= *=0A= * @(#) $Id: request_ap.c 330538 2005-11-03 12:41:34Z ronnie $=0A= *=0A= */=0A= =0A= #include "tcl.h"=0A= #include "hashutl.h"=0A= #include "webutl.h"=0A= #include "request.h"=0A= #include "paramlist.h"=0A= =0A= #include "mod_websh.h"=0A= =0A= #ifdef APACHE2=0A= #include "apr_strings.h"=0A= #endif=0A= =0A= /* = ------------------------------------------------------------------------= ----=0A= * wacf:4db6:5e0b:f386:43a5:35d7:718d:3c8brequest -channel: where input for request obj comes from=0A= * = ------------------------------------------------------------------------= - */=0A= Tcl_Obj *requestGetDefaultChannelName()=0A= {=0A= return Tcl_NewStringObj(APCHANNEL, -1);=0A= }=0A= =0A= /* default output channel */=0A= =0A= char *requestGetDefaultOutChannelName()=0A= {=0A= return APCHANNEL;=0A= }=0A= =0A= int requestFillRequestValues(Tcl_Interp * interp, RequestData * = requestData)=0A= {=0A= =0A= int res =3D 0;=0A= /*Tcl_Obj *reso =3D NULL;*/=0A= request_rec *r =3D NULL;=0A= #ifndef APACHE2=0A= array_header *hdrs_arr =3D NULL;=0A= table_entry *hdrs =3D NULL;=0A= #else /* APACHE2 */=0A= apr_array_header_t *hdrs_arr =3D NULL;=0A= apr_table_entry_t *hdrs =3D NULL;=0A= #endif /* APACHE2 */=0A= int i =3D 0;=0A= =0A= if (requestData->requestIsInitialized)=0A= return TCL_OK;=0A= requestData->requestIsInitialized =3D 1;=0A= =0A= if (interp =3D=3D NULL)=0A= return TCL_ERROR;=0A= =0A= /* fetch request object */=0A= r =3D (request_rec *) Tcl_GetAssocData(interp, WEB_AP_ASSOC_DATA, = NULL);=0A= if (r =3D=3D NULL) {=0A= Tcl_SetResult(interp, "error accessing httpd request object", = NULL);=0A= return TCL_ERROR;=0A= }=0A= =0A= /*reso =3D Tcl_NewObj();*/=0A= =0A= #ifndef APACHE2=0A= hdrs_arr =3D ap_table_elts(r->subprocess_env);=0A= hdrs =3D (table_entry *) hdrs_arr->elts;=0A= #else /* APACHE2 */=0A= hdrs_arr =3D (apr_array_header_t *) = apr_table_elts(r->subprocess_env);=0A= hdrs =3D (apr_table_entry_t *) hdrs_arr->elts;=0A= #endif /* APACHE2 */=0A= for (i =3D 0; i < hdrs_arr->nelts; ++i) {=0A= =0A= Tcl_Obj *valo =3D NULL;=0A= if (!hdrs[i].key)=0A= continue;=0A= =0A= if (!hdrs[i].val)=0A= valo =3D Tcl_NewObj();=0A= else=0A= valo =3D Tcl_NewStringObj(hdrs[i].val, -1);=0A= =0A= if (paramListAdd(requestData->request, hdrs[i].key, valo) !=3D = TCL_OK)=0A= /* fatal case */=0A= return TCL_ERROR;=0A= }=0A= =0A= paramListSetAsWhole(requestData->request, "GATEWAY_INTERFACE",=0A= Tcl_NewStringObj("CGI-websh/1.1", -1));=0A= =0A= {=0A= /* added to make auth data available */=0A= char *val;=0A= Tcl_Obj *valo =3D NULL;=0A= =0A= /* Check to see if a Authorization header is there */=0A= #ifndef APACHE2=0A= val =3D (char *)ap_table_get( r->headers_in, "Authorization" = );=0A= #else /* APACHE2 */=0A= val =3D (char *)apr_table_get( r->headers_in, "Authorization" = );=0A= #endif=0A= if (val) {=0A= valo =3D Tcl_NewStringObj(val, -1);=0A= if (paramListAdd(requestData->request, "AUTHORIZATION", valo) = !=3D TCL_OK)=0A= /* fatal case */=0A= return TCL_ERROR;=0A= }=0A= }=0A= return TCL_OK;=0A= }=0A= ------_=_NextPart_000_01C66AE0.59ED0629 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] ------_=_NextPart_000_01C66AE0.59ED0629-- From [email protected] Fri Apr 28 16:48:07 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84811 invoked from network); 28 Apr 2006 16:48:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Apr 2006 16:48:07 -0000 Received: (qmail 76062 invoked by uid 500); 28 Apr 2006 16:48:07 -0000 Delivered-To: [email protected] Received: (qmail 76048 invoked by uid 500); 28 Apr 2006 16:48:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <websh-user.tcl.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 76031 invoked by uid 99); 28 Apr 2006 16:48:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Apr 2006 09:48:06 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO netcetera.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Apr 2006 09:48:06 -0700 Received: from fire-17.netcetera.ch (fire-17 [161.129.204.104]) by fusion.netcetera.ch (8.11.7p1+Sun/8.7.3) with ESMTP id k3SGlia28987; Fri, 28 Apr 2006 18:47:44 +0200 (MEST) Received: by fire-17.netcetera.ch (8.11.7p1+Sun) id k3SGlhf05378; Fri, 28 Apr 2006 18:47:43 +0200 (MEST) Date: Fri, 28 Apr 2006 18:47:43 +0200 From: Ronnie Brunner <[email protected]> To: Holger Zeinert <[email protected]> Cc: "'websh-user'" <[email protected]> Subject: Re: Authentification Message-ID: <[email protected]> References: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <[email protected]> User-Agent: Mutt/1.5.9i X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > > I will try it (over the weekend...). > > ... couldn't wait. :-) > I had to modify your patch a bit to make it work with APACHE2. It does work > now, however I'm not sure whether it is completely correct. See attached the > modified version. Looks good. > The proc to decode is this: Yep. Just what I had in mind. > > > Any suggestions why it should (or not) be included? > > > > simple answer: it's available in > > - Rivet > > via $USER(user) / $USER(pass) > > - PHP > > via a variable $PHP_AUTH_USER / $PHP_AUTH_PW rsp. > > $_SERVER['PHP_AUTH_USER'] / $_SERVER['PHP_AUTH_PW'], > > see http://de3.php.net/manual/de/features.http-auth.php > > > > PHP mentions, that it only works if PHP is used as module. I > > guess the same would apply to WebSH. If an external auth mechanism > > was used, then REMOTE_USER is set and user/password is not > > available for security reasons. You have me almost convinced :-) ... Regards Ronnie -- 10 Jahre Netcetera - die Zukunft im Visier Ronnie Brunner | [email protected] phone 475-205-1887 | fax 475-205-1887 Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
From [email protected] Tue Feb 02 14:59:56 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86117 invoked from network); 2 Feb 2010 14:59:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Feb 2010 14:59:55 -0000 Received: (qmail 34844 invoked by uid 500); 2 Feb 2010 14:59:55 -0000 Delivered-To: [email protected] Received: (qmail 34809 invoked by uid 500); 2 Feb 2010 14:59:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.velocity.apache.org> Reply-To: "Velocity Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 34799 invoked by uid 99); 2 Feb 2010 14:59:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 14:59:54 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iw0-f201.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 14:59:47 +0000 Received: by iwn39 with SMTP id 39so137087iwn.1 for <[email protected]>; Tue, 02 Feb 2010 06:59:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=tjADec8e78xW846qNOVY3jMyub+ltVwH76yY+pLpD9o=; b=KyWiA9AE5LMtNIvaikK4Kg0535SSUDukvpKHEl//yiENbRq9gXAf2PGhmdvLInD8GL Yti2DDZLKSdawP40TgVeHcXFiG9AApmMVO9O5t8qxFSHoL6Fn9qf7vO6DMU6cpNo8xeG Rhlf7Ux9ndris9f86KTS/76a73urBXyFjZphU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Vbj3EZWOJzNiKhrke/l3Qk7jMtNeBtG8WhrE0gVqCqDA2kaaNRB5kiRxahgGa+Zxu3 xDZm89azTnCefP40Sqvp/Aneg0FWNoBfeyEiRN5sLrPPDK23/iv+maFY1mVw+es06C5N bnMnEPKqzzw4qjF1OI84R7w9xYung3HURD1g8= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id i1mr2066587ibw.35.1265122766789; Tue, 02 Feb 2010 06:59:26 -0800 (PST) Date: Tue, 2 Feb 2010 09:59:26 -0500 Message-ID: <[email protected]> Subject: 1.5 get at RuntimeServices From: Jason Tesser <[email protected]> To: Velocity Users List <[email protected]> Content-Type: multipart/alternative; boundary=00504501598b1ca07c047e9f59cd --00504501598b1ca07c047e9f59cd Content-Type: text/plain; charset=ISO-8859-1 I am modifying 1.5 Velocity code to allow me to serialize templates. What is the proper way to get at the runtimeservices? They are private on the VelocityEngine. In our app that is a singleton. I can make the RuntimeServices transient and then get the VelocityEngine to get at it assuming I expose it with a getter. Is there a better way? I know this is hacky which is why I am asking? Thanks, Jason Tesser dotCMS Lead Development Manager (856)577-9584 --00504501598b1ca07c047e9f59cd-- From [email protected] Thu Feb 04 00:11:28 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89193 invoked from network); 4 Feb 2010 00:11:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Feb 2010 00:11:28 -0000 Received: (qmail 59252 invoked by uid 500); 4 Feb 2010 00:11:27 -0000 Delivered-To: [email protected] Received: (qmail 59229 invoked by uid 500); 4 Feb 2010 00:11:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.velocity.apache.org> Reply-To: "Velocity Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 59219 invoked by uid 99); 4 Feb 2010 00:11:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 00:11:26 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mk-outboundfilter-1.mail.uk.tiscali.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 00:11:17 +0000 X-Trace: 325172199/mk-outboundfilter-1.mail.uk.tiscali.com/[email protected] X-SBRS: None X-RemoteIP: 161.129.204.104 X-IP-MAIL-FROM: [email protected] X-SMTP-AUTH: X-Originating-Country: GB/UNITED KINGDOM X-MUA: KMail/1.12.4 (Linux/2.6.32-trunk-amd64; KDE/4.3.4; x86_64; ; ) X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAPmeaUtPRz10/2dsb2JhbACBM9g7hEYEgyg X-IronPort-AV: E=Sophos;i="4.49,401,1262563200"; d="scan'208";a="325172199" X-IP-Direction: IN Received: from 79-71-61-116.dynamic.dsl.as9105.com (HELO eric13.localnet) ([161.129.204.104]) by smtp.pipex.tiscali.co.uk with ESMTP; 04 Feb 2010 00:10:56 +0000 From: Tim Pizey <[email protected]> To: "Velocity Users List" <[email protected]> Subject: Small problem with undefined methods withing conditionals Date: Thu, 4 Feb 2010 00:07:44 +0000 User-Agent: KMail/1.12.4 (Linux/2.6.32-trunk-amd64; KDE/4.3.4; x86_64; ; ) X-Face: :KEgn1q!?+,eFy-l4}>Y3o)FS>=WG'85QuK7M(D+~HURj\kxB?vYID;]8B2'a> =?utf-8?q?thWQE=7Dc*=0A=09Aj=2E=5F=7E=3B=5B=3B5i*=7E=24Jw=2E=5CZJ?=(j5]^etSllH-rLd3X`4(fPtEA;X`i5G+`y=:F/W`E1zFj|C( =?utf-8?q?/=27l=0A=09=7BhdTAa1?=(cqQzXBkz,OJMR^%oXIiW4:Uc[|8%3v=N-8UL8-5s>%y"tT_&,W@WsWp, =?utf-8?q?r1B=7EKD=0A=09o3=25IaG-pz=5EEyQZsphFZ*1?=(hdJ\}Y]bt(#Sr$|ZX`y9WjcCu/7YO@ =?utf-8?q?R5F3TPn=7E0xru=7DVkXo+=0A=09=60=5F8?="au-$a:|`c7bVHcA MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi, I have just come across a difference in the behaviour of WebMacro and Velocity 1.5: In the following template $object is expected to be an Exception: #if( $object.Message ) $object.Message #end However if it is an Integer then this does not fail with an undefined property exception, as WebMacro does, it just silently ignores. http://velocity.apache.org/engine/devel/user-guide.html says: If a reference is used within a #if or #elseif directive without any methods or properties, and if it is not being compared to another value, then undefined references are allowed. I think that the documentation is correct and that this should throw an exception. cheers Tim -- We are in dialogue. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Feb 04 00:36:37 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99284 invoked from network); 4 Feb 2010 00:36:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Feb 2010 00:36:37 -0000 Received: (qmail 79395 invoked by uid 500); 4 Feb 2010 00:36:36 -0000 Delivered-To: [email protected] Received: (qmail 79352 invoked by uid 500); 4 Feb 2010 00:36:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.velocity.apache.org> Reply-To: "Velocity Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 79341 invoked by uid 99); 4 Feb 2010 00:36:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 00:36:36 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iw0-f201.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 00:36:29 +0000 Received: by iwn39 with SMTP id 39so2339266iwn.1 for <[email protected]>; Wed, 03 Feb 2010 16:36:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=4HCprSsqEGlFBRwzEOETztvvP9Tjt8AlnFXJm6wF5wk=; b=IhuEldJLFeaDcReDq9jWdQSk6UrwkSTtXUNysOfxFkDib0812SASVMBycMZcaahmpM VlfzY7bhWy4wewuerV73jRstfUUGMZFYTEs3G6i8RM4cF+5fmzViWBCMCtgFzZOrwtHZ aLUf0K1gDcqKDd3KoQO1MrTWqwn+PtNje9d50= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ONuYV03reKYcYLCa8VYsIW39d+eOsxWCS9WILPbMw1Rk/kxf8LMztps4W6fAxZ/Ciz v43wlVnzODQgjl2ltrRVkD1K5uYF/uN7QL8FgHylwbbckjFq5DL9cf7SmgDWeUPPcK34 Q0mEI0TiPfImDY/yj0L/9vE9UJRXKn1hk5PcQ= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id z16mr713801iby.25.1265243768719; Wed, 03 Feb 2010 16:36:08 -0800 (PST) Date: Wed, 3 Feb 2010 19:36:08 -0500 Message-ID: <[email protected]> Subject: 1.6.3 templates twice the size From: Jason Tesser <[email protected]> To: Velocity Users List <[email protected]> Content-Type: multipart/alternative; boundary=0016e6d26c5a638bb4047ebb851d --0016e6d26c5a638bb4047ebb851d Content-Type: text/plain; charset=ISO-8859-1 I modified velocity code so that I can serialize templates in both 1.6.3 and 1.5. in 1.5 the objects were like 88k are now 160k or so. The actual string meaning text in the velocity template is only about 1k. Any ideas? Can I reduce this? The size is getting out of control. Thanks, Jason Tesser dotCMS Lead Development Manager (856)577-9584 --0016e6d26c5a638bb4047ebb851d-- From [email protected] Thu Feb 04 13:22:46 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6955 invoked from network); 4 Feb 2010 13:22:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Feb 2010 13:22:46 -0000 Received: (qmail 72281 invoked by uid 500); 4 Feb 2010 13:22:45 -0000 Delivered-To: [email protected] Received: (qmail 72232 invoked by uid 500); 4 Feb 2010 13:22:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.velocity.apache.org> Reply-To: "Velocity Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 72222 invoked by uid 99); 4 Feb 2010 13:22:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 13:22:44 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iw0-f204.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 13:22:34 +0000 Received: by iwn42 with SMTP id 42so3088417iwn.9 for <[email protected]>; Thu, 04 Feb 2010 05:22:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=5pnVgTBaP3g62rHCAw9xag2CRaD9WcV8LgoaeP8ttEY=; b=apXjs2gM0v5V7DvDTzW+5S6tz+EfQYS8NmFCnn9cSFPx99Dr8NhrgIdS3jy+CzVbSp K6ZJSLCD7epD501NcfK5VBw5sogQhJjE1JTuUVP5JUCvHhxvOBH4wrxbd+xlji1QlVp2 O2S5clBonGr+q9mZcqdQNr6jsyJLe1lG7aQpo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=qdLEdRdbKThc836yHD5UAH0pLBRSN2iGLm09MfFlgsxSDEgcnroqa4xG/e0rSi4XGc nPmhkDigWQAAmo81u9H80w9xDZy1cA1jVTmZWSAIWVGjTBlpPc6zy61XLJ7gv7/71sNB Kdt5mctmkvgomYk0biw3Rpi0CdVLRIGkBhI5E= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id k11mr1989674ibh.87.1265289733170; Thu, 04 Feb 2010 05:22:13 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Thu, 4 Feb 2010 08:22:13 -0500 Message-ID: <[email protected]> Subject: Re: Making Resource/Template Serializable From: Jason Tesser <[email protected]> To: Velocity Users List <[email protected]> Content-Type: multipart/alternative; boundary=0016e64f92041570ca047ec63961 X-Virus-Checked: Checked by ClamAV on apache.org --0016e64f92041570ca047ec63961 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Jarkko Did you see the last email I sent to teh list. It appears to me that Velocity Objects are twice the size. My templates where 88K on disk for about 1k of text in a string and now the same guy is like 160K. Any ideas? Thanks, Jason Tesser dotCMS Lead Development Manager (856)577-9584 2010/1/29 Jarkko Viinam=E4ki-2 <[email protected]> > > Actual numbers are difficult to give since the memory reduction benefit > depends on your templates. Basically in 1.6 the macro AST is stored only > once in memory and macro invocation calls use proxies instead of copying > the > macro AST to the template. > > So if you have something like > > #macro(mymacro) > > lots and lots of velocity syntax, kilobytes of text and other stuff here > > #end > > and then in your template you call > > #mymacro() > #mymacro() > #mymacro() > ... repeat this like 1000 times > > Then the internal object size of the template in 1.6 is roughly just 1/10= 00 > of the size it is in 1.5 > > > Jason Tesser-2 wrote: > > > > Would you be able to provide me numbers on memory reduction? Test > > case results maybe? > > > > -- > View this message in context: > http://old.nabble.com/Making-Resource-Template-Serializable-tp27372143p27= 375103.html > Sent from the Velocity - User mailing list [email protected]. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --0016e64f92041570ca047ec63961-- From [email protected] Thu Feb 04 23:06:47 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46007 invoked from network); 4 Feb 2010 23:06:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Feb 2010 23:06:47 -0000 Received: (qmail 41006 invoked by uid 500); 4 Feb 2010 23:06:47 -0000 Delivered-To: [email protected] Received: (qmail 40961 invoked by uid 500); 4 Feb 2010 23:06:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.velocity.apache.org> Reply-To: "Velocity Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 40951 invoked by uid 99); 4 Feb 2010 23:06:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 23:06:46 +0000 X-ASF-Spam-Status: No, hits=2.8 required=10.0 tests=MIME_BASE64_BLANKS,MIME_BASE64_TEXT,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO domino.aerosvit.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 23:06:36 +0000 Subject: Elena Lozina/ASVT out of office From: Elena Lozina/ASVT <[email protected]> To: "Velocity Users List" <[email protected]> Message-ID: <[email protected]> Date: Fri, 5 Feb 2010 01:00:34 +0200 X-MIMETrack: Serialize by Router on domino/ASVT(Release 7.0.3FP1|February 24, 2008) at 05.02.2010 01:00:55 MIME-Version: 1.0 Content-type: text/plain; charset=KOI8-R Content-transfer-encoding: base64 X-Virus-Checked: Checked by ClamAV on apache.org DQoNCg0KDQrxIMLVxNUgz9TT1dTT1NfP18HU2CDOwSDSwcLP1MUgzsHeyc7B0SDTICAzMC4wNC4y MDA5IMkgzsUg18XSztXT2CDEzw0KMDEuMDcuMjAxMC4NCg0KSGksDQoNCkkgYW0gYXdheSBvbiBt YXRlcm5pdHkgbGVhdmUsIGZvciBhbnkgcXVlc3Rpb24gLHBsZWFzZSwgY29udGFjdCBieSBlLW1h aWw6DQppbnRlcm5hdGlvbmFsX3NhbGVzX2RpcmVjdG9yYXRlQGFlcm9zdml0LmNvbQ0Kb3IgYnkg cGhvbmUgKzM4MCA0NCA0OTYgNzkgNzUNCg0KDQpEZWFyIEFzaWEgcGFjaWZpYyBUcmF2ZWwgUGFy dG5lcnMsDQoNCkZvciBhbnkgaXNzdWVzICwgcGxlYXNlLCBjb250YWN0IE1yLiBWYWRpbSBTbWVs aWFuc2tpeSAsIEFlcm9zdml0IEFpcmxpbmVzDQpyZWdpb25hbCBkaXJlY3RvciBTb3V0aEFzaWEN Cg0KTXIuIFNtZWxpYW5za2l5IGNvbnRhY3QgZGV0YWlscyBhcmUgYmVsb3c6DQoNCkFsbCBTZWFz b25zIFBsYWNlLCBNLVRoYWkgVG93ZXIsIDV0aCBGbG9vciwgU3VpdGUgNUINCjg3IFdpcmVsZXNz IFJvYWQsIFBoYXR1bXdhbiwgQmFuZ2tvayAxMDMzMCwgVGhhaWxhbmQNClRlbC4gKCs2NikgKDAp IDIgNjU0IDExIDk2LzcvOA0KTW9iLiAoKzY2KSAoMCkgODEgOTg3IDI5IDQyDQpGYXguICgrNjYp ICgwKSAyIDY1NCAxMSA4Ng0KZS1tYWlsOiB2c21lbHlhbnNreTIwMDRAeWFob28uY29tDQoNCg0K DQpTaW5jZXJlbHksDQoNCk1ycy4gRWxlbmEgTG96aW5hDQpTZW5pb3Igc2FsZXMgc3BlY2lhbGlz dA0KT2ZmLWxpbmUgU2FsZXMgRGVwYXJ0bWVudA0KDQpBZXJvU3ZpdCBBaXJsaW5lcw0KMDEwMzIu LCBLaWV2LCBVa3JhaW5lDQo1OEEsIFQuIFNoZXZjaGVua28gYmx2ZC4NCmUtbWFpbDogZWVsQGFl cm9zdml0LmNvbQ0KcGguL2ZheDogKyAzODAgNDQgNDk2IDc5IDc1DQoNCnd3dy5hZXJvc3ZpdC5j b20= From [email protected] Sat Feb 13 12:47:24 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 32395 invoked from network); 13 Feb 2010 12:47:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Feb 2010 12:47:24 -0000 Received: (qmail 43861 invoked by uid 500); 13 Feb 2010 12:47:23 -0000 Delivered-To: [email protected] Received: (qmail 43819 invoked by uid 500); 13 Feb 2010 12:47:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.velocity.apache.org> Reply-To: "Velocity Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 43809 invoked by uid 99); 13 Feb 2010 12:47:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Feb 2010 12:47:22 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail.gmx.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 13 Feb 2010 12:47:14 +0000 Received: (qmail 4327 invoked by uid 0); 13 Feb 2010 12:46:52 -0000 Received: from 161.129.204.104 by www033.gmx.net with HTTP; Sat, 13 Feb 2010 13:46:50 +0100 (CET) Content-Type: text/plain; charset="iso-8859-1" Date: Sat, 13 Feb 2010 13:46:51 +0100 From: =?iso-8859-1?Q?=22Andreas_R=FCckert=22?= <[email protected]> Message-ID: <[email protected]> MIME-Version: 1.0 Subject: Problem with velocity 1.6.3 JarResourceLoader To: [email protected] X-Authenticated: #107984 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 X-Provags-ID: V01U2FsdGVkX18jAhhu4VMj3pTr254CCFFrPJ9f6aIb/Hymnykc6L efH1zlO3S9S7CtKEIpEfz6nZ9TVW958pdwuA== Content-Transfer-Encoding: 8bit X-GMX-UID: XfseBjJYbHIhTKKdODQ0jWUiJihyalCw X-FuHaFi: 0.56999999999999995 Hi! Thanks for your great project! I have a problem however. I'm trying to write a template code generator for the ArgoUML project, using the velocity template processor version 1.6.3. My templates are in a subdirectory of a jar file. So I use a jar URL, like: Velocity.setProperty( "jar." + Velocity.RESOURCE_LOADER + ".class", "org.apache.velocity.runtime.resource.loader.JarResource$ $rgouml-build/build/argouml.jar!/org/argouml/uml/generator/template/templates/"); The jar is found, but when I load a template from the templates directory: Template t = Velocity.getTemplate("sourcefile.vm"); , it's not found. When I use the complete path: Template t = Velocity.getTemplate("/org/argouml/uml/generator/template/templates/sourcefile.vm"); , it's found. Am I correct, that this is a bug? Problem is, that more templates are included recursively, like #parse("fileheader.vm") in sourcefile.vm , and I don't want to include the full path in all those included templates. Thanks in advance, Andreas -- NEU: Mit GMX DSL über 1000,- ¿ sparen! http://portal.gmx.net/de/go/dsl02 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Feb 13 21:17:00 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94867 invoked from network); 13 Feb 2010 21:17:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Feb 2010 21:17:00 -0000 Received: (qmail 57016 invoked by uid 500); 13 Feb 2010 21:16:59 -0000 Delivered-To: [email protected] Received: (qmail 56981 invoked by uid 500); 13 Feb 2010 21:16:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.velocity.apache.org> Reply-To: "Velocity Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 56971 invoked by uid 99); 13 Feb 2010 21:16:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Feb 2010 21:16:59 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mailrelay003.isp.belgacom.be) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Feb 2010 21:16:51 +0000 X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: As4EADikdktR8A/U/2dsb2JhbACBPNR4hFsE Received: from 212.15-240-81.adsl-dyn.isp.belgacom.be (HELO [161.129.204.104]) ([161.129.204.104]) by relay.skynet.be with ESMTP; 13 Feb 2010 22:16:29 +0100 Subject: classes + methods From: danny van elsen <[email protected]> To: [email protected] Content-Type: text/plain Date: Sat, 13 Feb 2010 22:13:34 +0100 Message-Id: <[email protected]> Mime-Version: 1.0 X-Mailer: Evolution 161.129.204.104 Content-Transfer-Encoding: 7bit hello all, I'm new to velocity, and I'm trying to get something general to work for different kinds of inputs + templates. I'm doing something like: ******************* class Velo { public static StringList [] stringlist; public static void main(String[] args) { Velo v = new Velo(); v.run(args); } public void run (String[] args) { ...fill stringlists with data ... ... initialise velocity ... for (i = 0; i < ... ; i++) context.put(el_name[i], stringlist[i].sl); ... } } *********************************** public class StringList { public String name; public StringRow [] sl; public StringList() { name = ""; ... initialse stringrows ... } } ************************************ public class StringRow { public String N; public ArrayList <String> sr; public StringRow() { sr = new ArrayList <String> (); } public String getN() { return N; } } ************************************ but when running the template entry #foreach( $res in $result ) <td> ${res}.getN() </td> #end I'm only getting <td> [email protected]() </td> = the method getN() isn't being translated in to the underlying String so my questions are :-) 1. why won't this work? 2. can something like <td> ${res}.sr.get(0) </td> work? i.e. calling a method (= get(0)) on a field (sr) of the context element (${res}) that is actually an array? --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Feb 13 22:35:11 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21079 invoked from network); 13 Feb 2010 22:35:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Feb 2010 22:35:11 -0000 Received: (qmail 11563 invoked by uid 500); 13 Feb 2010 22:35:11 -0000 Delivered-To: [email protected] Received: (qmail 11544 invoked by uid 500); 13 Feb 2010 22:35:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.velocity.apache.org> Reply-To: "Velocity Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 11534 invoked by uid 99); 13 Feb 2010 22:35:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Feb 2010 22:35:11 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f220.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Feb 2010 22:35:04 +0000 Received: by bwz20 with SMTP id 20so725160bwz.20 for <[email protected]>; Sat, 13 Feb 2010 14:34:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=RKCLwTJPaMLyhBeZo1+mjVkjzf6SqCPIdysOk6LBprA=; b=OrIysm2yBZxLpzE0YtgKoUEGahvbnYOUjjv39nymkYb8luDC4n7XtfdgW9fok/OqMb NlTrn3uDDKMVYSQ0OZgDtnZgZggVjJhyRKHtbKp8orRsmXq0k1mK5Yzw1vALUi5ID4S0 Rvy9v07OhUuFnTstKZkyraCcHZyE9L3OCVq0A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=uVSiALtcsBEC63uGJ1p9UQiFbLs4dp4O4wNCq+Wr3ohuQ59uVDp+2hnIrNq703B/VL 3PbpUljpnnfANezcsACkSRB1eg33mjO7O1KiNSZWCY0+Mvzefxs/3k8y89h+jUlLVjva nDL+Zy02v3sSbt7M4jYHtTusMTTUB8ycSLUuQ= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id h3mr1973422bkd.53.1266100482824; Sat, 13 Feb 2010 14:34:42 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> Date: Sat, 13 Feb 2010 15:34:42 -0700 Message-ID: <[email protected]> Subject: Re: classes + methods From: ChadDavis <[email protected]> To: Velocity Users List <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Those braces go around everything in the velocity reference. ${res}.getN() should be ${res.getN()} And you don't even need them. Also, since getN() follows a java beans getter pattern, you can just say: $res.n or $res.N I can never remember what happens with a single letter JavaBeans signature= . On Sat, Feb 13, 2010 at 2:13 PM, danny van elsen <[email protected]> wrote: > hello all, > > I'm new to velocity, and I'm trying to get something general to work for > different kinds of inputs + templates. > > I'm doing something like: > > ******************* > class Velo { > > public static StringList [] stringlist; > > public static void main(String[] args) > { > Velo v =3D new Velo(); > v.run(args); > } > > public void run (String[] args) > { > ...fill stringlists with data ... > > ... initialise velocity ... > > =A0for (i =3D 0; i < ... ; i++) > =A0 context.put(el_name[i], stringlist[i].sl); > ... > } > } > > *********************************** > > public class StringList > { > =A0public String name; > > =A0public StringRow [] sl; > > =A0public StringList() > =A0{ > =A0 name =3D ""; > =A0 ... initialse stringrows ... > =A0} > } > > ************************************ > > public class StringRow > { > =A0public String N; > > =A0public ArrayList <String> sr; > > =A0public StringRow() > =A0{ > =A0 sr =3D new ArrayList <String> (); > =A0} > > =A0public String getN() > =A0{ > =A0 return N; > =A0} > } > > ************************************ > > but when running the template entry > > #foreach( $res in $result ) > =A0 <td> =A0${res}.getN() </td> > #end > > I'm only getting > <td> [email protected]() </td> > =3D the method getN() isn't being translated in to the underlying String > > so my questions are :-) > 1. =A0why won't this work? > > 2. =A0can something like =A0<td> =A0${res}.sr.get(0) </td> work? > i.e. =A0calling a method (=3D get(0)) =A0on a field (sr) of the context > element (${res}) that is actually an array? > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Feb 15 21:51:40 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45956 invoked from network); 15 Feb 2010 21:51:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Feb 2010 21:51:40 -0000 Received: (qmail 80330 invoked by uid 500); 15 Feb 2010 21:51:39 -0000 Delivered-To: [email protected] Received: (qmail 80281 invoked by uid 500); 15 Feb 2010 21:51:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.velocity.apache.org> Reply-To: "Velocity Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 80271 invoked by uid 99); 15 Feb 2010 21:51:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Feb 2010 21:51:38 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mailrelay002.isp.belgacom.be) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Feb 2010 21:51:29 +0000 X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: At0EAJ5QeUtR8QGS/2dsb2JhbACBPIFJgl3DWI8UhABbBIMu Received: from 146.1-241-81.adsl-dyn.isp.belgacom.be (HELO [161.129.204.104]) ([161.129.204.104]) by relay.skynet.be with ESMTP; 15 Feb 2010 22:51:08 +0100 Subject: Re: classes + methods From: danny van elsen <[email protected]> To: Velocity Users List <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Content-Type: multipart/alternative; boundary="=-97f6ldvr2WoXHw7PGQwJ" Date: Mon, 15 Feb 2010 22:48:11 +0100 Message-Id: <[email protected]> Mime-Version: 1.0 X-Mailer: Evolution 161.129.204.104 X-Virus-Checked: Checked by ClamAV on apache.org --=-97f6ldvr2WoXHw7PGQwJ Content-Type: text/plain Content-Transfer-Encoding: 7bit ok, given public class StringRow { public String N; public ArrayList <String> sr; public StringRow(Integer i) { sr = new ArrayList <String> (); N = "heej" + Integer.toString(i) ; } public String getsr(Integer i) { return sr.get(i); } public String getN() { return N; } } and the template #foreach( $res in $result ) -hallo- <td> {$res}.size() </td> <td> $res.N </td> #end I now get -hallo- <td> {velsd.StringRow@7854a328}.size() </td> <td> heej01 </td> -hallo- <td> {velsd.StringRow@7ca3d4cf}.size() </td> <td> heej02 </td> and so on is there any way that the $res in #foreach( $res in $result ) can itself refer to a new array? reading the documentation, I was led to believe that this array could be a ArrayList, but perhaps it has to be a fixed size array? greetings, danny. On Sat, 2010-02-13 at 15:34 -0700, ChadDavis wrote: > Those braces go around everything in the velocity reference. > > ${res}.getN() > > should be > > ${res.getN()} > --=-97f6ldvr2WoXHw7PGQwJ-- From [email protected] Mon Feb 15 21:57:40 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48609 invoked from network); 15 Feb 2010 21:57:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Feb 2010 21:57:40 -0000 Received: (qmail 85073 invoked by uid 500); 15 Feb 2010 21:57:40 -0000 Delivered-To: [email protected] Received: (qmail 85006 invoked by uid 500); 15 Feb 2010 21:57:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.velocity.apache.org> Reply-To: "Velocity Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 84996 invoked by uid 99); 15 Feb 2010 21:57:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Feb 2010 21:57:39 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mailrelay002.isp.belgacom.be) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Feb 2010 21:57:31 +0000 X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtwEAJ5QeUtR8QGS/2dsb2JhbACBPIQm0myEWwSDLg Received: from 146.1-241-81.adsl-dyn.isp.belgacom.be (HELO [161.129.204.104]) ([161.129.204.104]) by relay.skynet.be with ESMTP; 15 Feb 2010 22:57:09 +0100 Subject: [Fwd: Re: classes + methods] From: danny van elsen <[email protected]> To: Velocity Users List <[email protected]> Content-Type: text/plain Date: Mon, 15 Feb 2010 22:54:13 +0100 Message-Id: <[email protected]> Mime-Version: 1.0 X-Mailer: Evolution 161.129.204.104 Content-Transfer-Encoding: 7bit ok, given public class StringRow { public String N; public ArrayList <String> sr; public StringRow(Integer i) { sr = new ArrayList <String> (); N = "heej" + Integer.toString(i) ; } public String getsr(Integer i) { return sr.get(i); } public String getN() { return N; } } and the template #foreach( $res in $result ) -hallo- <td> {$res}.size() </td> <td> $res.N </td> #end I now get -hallo- <td> {velsd.StringRow@7854a328}.size() </td> <td> heej01 </td> -hallo- <td> {velsd.StringRow@7ca3d4cf}.size() </td> <td> heej02 </td> and so on is there any way that the $res in #foreach( $res in $result ) can itself refer to a new array? reading the documentation, I was led to believe that this array could be a ArrayList, but perhaps it has to be a fixed size array? greetings, danny. On Sat, 2010-02-13 at 15:34 -0700, ChadDavis wrote: > Those braces go around everything in the velocity reference. > > ${res}.getN() > > should be > > ${res.getN()} > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Feb 15 22:21:19 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66340 invoked from network); 15 Feb 2010 22:21:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Feb 2010 22:21:19 -0000 Received: (qmail 11598 invoked by uid 500); 15 Feb 2010 22:21:19 -0000 Delivered-To: [email protected] Received: (qmail 11571 invoked by uid 500); 15 Feb 2010 22:21:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.velocity.apache.org> Reply-To: "Velocity Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 11561 invoked by uid 99); 15 Feb 2010 22:21:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Feb 2010 22:21:19 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f213.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Feb 2010 22:21:12 +0000 Received: by bwz5 with SMTP id 5so1465927bwz.1 for <[email protected]>; Mon, 15 Feb 2010 14:20:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=u4VpEpSsJXLhsk/IAhVFmrv5LzcwUTlF6t2tgTY1J64=; b=DfILjPTxbdPagzHK3JdCNDiz8BgD0/Xn8SiAxogvdX6RHCiACHd+NNaXx1WPK0Kmb8 wjmBzC7WdgG5PG3MucoXkL5ert6Aq++rTqrOVuOdrN/2EcYa+7FR9eQ2AQ9mGQVo3X8O 0ya4ZEtSvqW3igcm69io/C+C/fYoD1v6o0Ivw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=EiKGEe5/RbaDCBDPQJAWf3UY0wRGuL4E83UuJGwAnMAgQS9vJP6sSGeFhDatnbh/kt sw0CohnEsKtwF9v/uWUUNuukChutyYk2bMsWhBNCqhhS8wCV7rvHWmXHSxwrgACHY2Cq PO8w4P8ct/ziB3GXRkm8u9AhUgNZ4GO3dkiNk= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id u1mr3614018bkt.151.1266272450841; Mon, 15 Feb 2010 14:20:50 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Date: Mon, 15 Feb 2010 15:20:50 -0700 Message-ID: <[email protected]> Subject: Re: classes + methods From: ChadDavis <[email protected]> To: Velocity Users List <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I have had no trouble working with maps and collections of all kinds. On Mon, Feb 15, 2010 at 2:48 PM, danny van elsen <[email protected]> wrote: > ok, given > public class StringRow > { > =A0public String N; > > =A0public ArrayList <String> sr; > > =A0public StringRow(Integer i) > =A0{ > =A0 sr =3D new ArrayList <String> (); > =A0 N =3D "heej" + Integer.toString(i) ; > =A0} > > =A0public String getsr(Integer i) > =A0{ > =A0 return sr.get(i); > =A0} > > =A0public String getN() > =A0{ > =A0 return N; > =A0} > =A0} > > and the template > #foreach( $res in $result ) > -hallo- > =A0 =A0 =A0<td> =A0{$res}.size() </td> > =A0 =A0 =A0<td> =A0$res.N </td> > #end > > I now get > -hallo- > =A0 =A0 =A0 =A0 <td> =A0{velsd.StringRow@7854a328}.size() </td> > =A0 =A0 =A0<td> =A0heej01 </td> > -hallo- > =A0 =A0 =A0 =A0 <td> =A0{velsd.StringRow@7ca3d4cf}.size() </td> > =A0 =A0 =A0<td> =A0heej02 </td> > and so on > > is there any way that the $res in > #foreach( $res in $result ) > can itself refer to a new array? > > reading the documentation, I was led to believe that this array could be > a ArrayList, but perhaps it has to be a fixed size array? > > greetings, danny. > > > > On Sat, 2010-02-13 at 15:34 -0700, ChadDavis wrote: > >> Those braces go around everything in the velocity reference. >> >> ${res}.getN() >> >> should be >> >> ${res.getN()} >> > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Feb 21 23:14:17 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68493 invoked from network); 21 Feb 2010 23:14:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Feb 2010 23:14:17 -0000 Received: (qmail 21936 invoked by uid 500); 21 Feb 2010 23:14:16 -0000 Delivered-To: [email protected] Received: (qmail 21880 invoked by uid 500); 21 Feb 2010 23:14:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.velocity.apache.org> Reply-To: "Velocity Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 21870 invoked by uid 99); 21 Feb 2010 23:14:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Feb 2010 23:14:15 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mailrelay010.isp.belgacom.be) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Feb 2010 23:14:07 +0000 X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqgEAH5NgUvZiFXw/2dsb2JhbACBPIFJgl3COY8RhAdkBA Received: from 240.85-136-217.adsl-dyn.isp.belgacom.be (HELO [161.129.204.104]) ([161.129.204.104]) by relay.skynet.be with ESMTP; 22 Feb 2010 00:13:45 +0100 Subject: Re: classes + methods From: danny van elsen <[email protected]> To: Velocity Users List <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> Content-Type: multipart/alternative; boundary="=-5GPNpP98LTLZVbVMKSS5" Date: Mon, 22 Feb 2010 00:10:46 +0100 Message-Id: <[email protected]> Mime-Version: 1.0 X-Mailer: Evolution 161.129.204.104 --=-5GPNpP98LTLZVbVMKSS5 Content-Type: text/plain Content-Transfer-Encoding: 7bit hello all, ok, I've managed to write a Java program that will treat input data in a generic way. for example, the data for the EUR currency stringlist cur_EUR year value1 value2 stringlist cur_EUR 2009 EUR-2009-1 EUR-2009-2 stringlist cur_EUR 2010 EUR-2010-1 EUR-2010-2 ( the program will do context.put("cur_EUR", my_object_that_contains_the_three_data_lines) ) will be interpreted by #foreach( $res in $cur_EUR ) #if ($velocityCount > 0) <td> $res.get_string(0) : $res.get_string(1) : $res.getColumn("year") </td> #end #end to output the corresponding data in cur_EUR so far so good... but what if I want to carry this to one level higher, and do not know in advance how many currencies will have to be treated? with the input data stringrow currencies EUR USD JPY stringlist cur_EUR year value1 value2 stringlist cur_EUR 2009 EUR-2009-1 EUR-2009-2 stringlist cur_EUR 2010 EUR-2010-1 EUR-2010-2 stringlist cur_USD year value1 value2 stringlist cur_USD 2009 USD-2009-1 USD-2009-2 stringlist cur_USD 2010 USD-2010-1 USD-2010-2 stringlist cur_USD 2011 USD-2011-1 USD-2011-2 I thought I could do something like #foreach( $c in $currencies ) <-- this will yield [EUR, USD, JPY] #foreach( $y in cur_${c} ) <-- this would have to give [cur_EUR, cur_USD, cur_JPY] $y.get_string(0) #end #end but this will not work? is there any way that the container in the #foreach statement can be the concatenation of a literal and the result of a previous Velocity variable interpretation? On Mon, 2010-02-15 at 15:20 -0700, ChadDavis wrote: > I have had no trouble working with maps and collections of all kinds. > --=-5GPNpP98LTLZVbVMKSS5-- From [email protected] Mon Feb 22 05:04:26 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90823 invoked from network); 22 Feb 2010 05:04:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Feb 2010 05:04:26 -0000 Received: (qmail 98602 invoked by uid 500); 22 Feb 2010 05:04:26 -0000 Delivered-To: [email protected] Received: (qmail 98529 invoked by uid 500); 22 Feb 2010 05:04:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.velocity.apache.org> Reply-To: "Velocity Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 98519 invoked by uid 99); 22 Feb 2010 05:04:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Feb 2010 05:04:24 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO smtp2.res.gtwy.uscourts.gov) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Feb 2010 05:04:15 +0000 X-IronPort-AV: E=Sophos;i="4.49,515,1262581200"; d="scan'208";a="192610117" Received: from 10nmxmail01a.uscmail.dcn ([161.129.204.104]) by smtp2-i.res.gtwy.dcn with ESMTP; 22 Feb 2010 00:03:43 -0500 Subject: AUTO: James Wilson is on a ski lift somewhere. Limited cell phone service. (returning Mon 03/01/2010) Auto-Submitted: auto-generated From: [email protected] To: "Velocity Users List" <[email protected]> Message-ID: <[email protected]> Date: Sun, 21 Feb 2010 22:03:43 -0700 X-MIMETrack: Serialize by Router on 10NMXMAIL01a/M/10/USCOURTS(Release 8.0.2FP1 HF316|May 05, 2009) at 02/21/2010 10:03:44 PM MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII I am out of the office from Sat 02/20/2010 until Mon 03/01/2010. I will respond to your message when I return. Note: This is an automated response to your message "Re: classes + methods" sent on 2/21/2010 4:10:46 PM. This is the only notification you will receive while this person is away. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Feb 22 14:37:17 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14164 invoked from network); 22 Feb 2010 14:37:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Feb 2010 14:37:17 -0000 Received: (qmail 15409 invoked by uid 500); 22 Feb 2010 14:37:17 -0000 Delivered-To: [email protected] Received: (qmail 15105 invoked by uid 500); 22 Feb 2010 14:37:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.velocity.apache.org> Reply-To: "Velocity Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 15094 invoked by uid 99); 22 Feb 2010 14:37:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Feb 2010 14:37:16 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-yx0-f186.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Feb 2010 14:37:09 +0000 Received: by yxe16 with SMTP id 16so1382317yxe.1 for <[email protected]>; Mon, 22 Feb 2010 06:36:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=n7RbBZf7F5nBOpRsZY8YCqd78ibGW7EBTX9lDmv7R5o=; b=rXasasY6vfgKutsNnTy4Qcebha/lrWwnyyhdapiDaY4vy8E/MIxu/GjnHCBRlBlJCa KKh1nj/TYJvjzadfQo9HKjYKEjnRstCI+2Ac+nfDk12qte9wuafHlDx1QZ9T5Z4T9YqD cpDewu+eZkmC5IK0KdWFvK1TxdpJQ3IWAOYJ4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=JFKD1E+r9/rh4N6QS2zpw164aoQcEftUUcRa0tyohZDhJIbc+yHWIid8AGldHVVcU5 VazA6DnWT9etZYBvhyLu0Dvr0e8P0cjsXb9NQcK9l6YscsAxui20E4MZ1cUyPA6Trl3v LNOYy9aU/wyWwyIj4v5cExApTrpuCxlUr0Wyo= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id r39mr4762765ago.113.1266849406988; Mon, 22 Feb 2010 06:36:46 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Mon, 22 Feb 2010 06:36:46 -0800 Message-ID: <[email protected]> Subject: Re: classes + methods From: Nathan Bubna <[email protected]> To: Velocity Users List <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Use a RenderTool (see VelocityTools) or put the context in the context and use $context.get('cur_${c}') On Sun, Feb 21, 2010 at 3:10 PM, danny van elsen <[email protected]> wrote: > hello all, > > ok, I've managed to write a Java program that will treat input data in a > generic way. > > for example, the data for the EUR currency > stringlist cur_EUR year value1 value2 > stringlist cur_EUR 2009 EUR-2009-1 EUR-2009-2 > stringlist cur_EUR 2010 EUR-2010-1 EUR-2010-2 > > ( > the program will do > context.put("cur_EUR", my_object_that_contains_the_three_data_lines) > ) > > will be interpreted by > #foreach( $res in $cur_EUR ) > #if ($velocityCount > 0) > =A0 =A0<td> =A0$res.get_string(0) : $res.get_string(1) : > $res.getColumn("year") </td> > #end > #end > > to output the corresponding data in cur_EUR > > so far so good... > > but what if I want to carry this to one level higher, and do not know in > advance how many currencies will have to be treated? > > with the input data > stringrow =A0currencies EUR USD JPY > stringlist cur_EUR year value1 value2 > stringlist cur_EUR 2009 EUR-2009-1 EUR-2009-2 > stringlist cur_EUR 2010 EUR-2010-1 EUR-2010-2 > stringlist cur_USD year value1 value2 > stringlist cur_USD 2009 USD-2009-1 USD-2009-2 > stringlist cur_USD 2010 USD-2010-1 USD-2010-2 > stringlist cur_USD 2011 USD-2011-1 USD-2011-2 > > I thought I could do something like > #foreach( $c in $currencies ) =A0 =A0 =A0 =A0 =A0 =A0<-- this will yield = [EUR, USD, > JPY] > =A0 =A0 =A0 =A0#foreach( $y in cur_${c} ) =A0 =A0 =A0 =A0 <-- this would = have to give > [cur_EUR, cur_USD, cur_JPY] > =A0 =A0 =A0 =A0$y.get_string(0) > =A0 =A0 =A0 =A0#end > #end > > but this will not work? > > is there any way that the container in the #foreach statement can be the > concatenation of a literal and the result of a previous Velocity > variable interpretation? > > > On Mon, 2010-02-15 at 15:20 -0700, ChadDavis wrote: > >> I have had no trouble working with maps and collections of all kinds. >> > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Feb 24 14:14:14 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10583 invoked from network); 24 Feb 2010 14:14:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Feb 2010 14:14:14 -0000 Received: (qmail 9520 invoked by uid 500); 24 Feb 2010 14:14:14 -0000 Delivered-To: [email protected] Received: (qmail 9470 invoked by uid 500); 24 Feb 2010 14:14:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.velocity.apache.org> Reply-To: "Velocity Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 9460 invoked by uid 99); 24 Feb 2010 14:14:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Feb 2010 14:14:13 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.infotechsw.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Feb 2010 14:14:04 +0000 Received: from mail.infotechsw.com (localhost [161.129.204.104]) by mail.infotechsw.com (8.13.1/8.13.1) with ESMTP id o1OEDcQ0030629 for <[email protected]>; Wed, 24 Feb 2010 19:43:38 +0530 Received: from UTCIT358 ([161.129.204.104]) by mail.infotechsw.com (8.13.1/8.13.1) with ESMTP id o1OEDb3R030607 for <[email protected]>; Wed, 24 Feb 2010 19:43:37 +0530 From: "Raghuveer" <[email protected]> To: <[email protected]> Subject: Message Resource property Not escaped / encoded Date: Wed, 24 Feb 2010 19:37:05 +0530 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_009F_01CAB588.BF624A70" X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512 Thread-Index: Acq1R3EqLw4cqaLpQwyamUtBKds4bAAExFeg X-TM-AS-Product-Ver: IMSS-161.129.204.10416-161.129.204.1048-17212.007 X-TM-AS-Result: No--12.494-5.0-31-1 X-imss-scan-details: No--12.494-5.0-31-1 X-TM-AS-User-Approved-Sender: No X-TM-AS-Result-Xfilter: Match text exemption rules:No X-Virus-Checked: Checked by ClamAV on apache.org ------=_NextPart_000_009F_01CAB588.BF624A70 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit How to escape the Message resource in velocity view in confluence application.. Content from property file is not encoded. In VM file the message is displayed as"=<font color="red">Updation failed.<font>" How to display the message in red color in VM file. Is there way we can configure either in template or in atlassian-plugin.xml. When me Message Resource: msg.failed.common.updated=<font color="red">Updation failed.<font> Actionmessages.vm: #if($actionMessages && $actionMessages.size() > 0) #foreach($message in $actionMessages) <font color="#000000"> <b>$message</b> </font> #if($actionMessages.size() > 1) </br> #end #end #end JavA File: this.addActionMessage(GeneralUtil.htmlEncode(getText("msg.failed.common.upda ted "))); ------=_NextPart_000_009F_01CAB588.BF624A70-- From [email protected] Thu Feb 25 08:57:39 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 24042 invoked from network); 25 Feb 2010 08:57:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Feb 2010 08:57:39 -0000 Received: (qmail 13840 invoked by uid 500); 25 Feb 2010 08:57:38 -0000 Delivered-To: [email protected] Received: (qmail 13787 invoked by uid 500); 25 Feb 2010 08:57:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.velocity.apache.org> Reply-To: "Velocity Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 13779 invoked by uid 99); 25 Feb 2010 08:57:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 08:57:37 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 08:57:29 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1NkZWu-00059T-AC for [email protected]; Thu, 25 Feb 2010 00:57:08 -0800 Message-ID: <[email protected]> Date: Thu, 25 Feb 2010 00:57:08 -0800 (PST) From: Eugene128 <[email protected]> To: [email protected] Subject: Velocity + Eclipse MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org Hi! I have a strange problem with Eclipse RCP and Velocity. I use Velocity to generate reports. My project compiles fine with encoding UTF8 and all lables display correctly. I create template: template = Velocity.getTemplate(tempalteVM, "utf8"), where templateVM is *.vm file name with encoding UTF8. When I create product and launch application, the result file (html report) encoding is UTF8. When I create *.exe (export product) for Linux everything is ok too. But when I create *.exe (export product) for Windows and launch my application and generate report - the result report file Encoding is cp1251. I tried to set Velocity.addProperty(Velocity.ENCODING_DEFAULT, "utf8"); Velocity.addProperty(Velocity.INPUT_ENCODING, "utf8"); Velocity.addProperty(Velocity.OUTPUT_ENCODING, "utf8"); template = Velocity.getTemplate(tempalteVM, "cp1251"); But nothing help. -- View this message in context: http://old.nabble.com/Velocity-%2B-Eclipse-tp27714377p27714377.html Sent from the Velocity - User mailing list [email protected]. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Feb 25 09:48:25 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48279 invoked from network); 25 Feb 2010 09:48:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Feb 2010 09:48:25 -0000 Received: (qmail 77830 invoked by uid 500); 25 Feb 2010 09:48:24 -0000 Delivered-To: [email protected] Received: (qmail 77813 invoked by uid 500); 25 Feb 2010 09:48:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <user.velocity.apache.org> Reply-To: "Velocity Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 77805 invoked by uid 99); 25 Feb 2010 09:48:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 09:48:24 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 09:48:16 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1NkaK3-0000ZJ-9s for [email protected]; Thu, 25 Feb 2010 01:47:55 -0800 Message-ID: <[email protected]> Date: Thu, 25 Feb 2010 01:47:55 -0800 (PST) From: Eugene128 <[email protected]> To: [email protected] Subject: Velocity + Eclipse MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org Hi! I have a strange problem with Eclipse RCP and Velocity. I use Velocity to generate reports. My project compiles fine with encoding UTF8 and all lables display correctly. I create template: template = Velocity.getTemplate(tempalteVM, "utf8"), where templateVM is *.vm file name with encoding UTF8. When I create product and launch application, the result file (html report) encoding is UTF8. When I create *.exe (export product) for Linux everything is ok too. But when I create *.exe (export product) for Windows and launch my application and generate report - the result report file Encoding is cp1251. I tried to set Velocity.addProperty(Velocity.ENCODING_DEFAULT, "utf8"); Velocity.addProperty(Velocity.INPUT_ENCODING, "utf8"); Velocity.addProperty(Velocity.OUTPUT_ENCODING, "utf8"); template = Velocity.getTemplate(tempalteVM, "cp1251"); But nothing help. I have made some experiments and now I think than when create *.exe (export product) Velocity egnories encoding setting. but why? -- View this message in context: http://old.nabble.com/Velocity-%2B-Eclipse-tp27714377p27714377.html Sent from the Velocity - User mailing list [email protected]. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
From [email protected] Mon Feb 04 07:09:03 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4092 invoked from network); 4 Feb 2008 07:09:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Feb 2008 07:09:02 -0000 Received: (qmail 30483 invoked by uid 500); 4 Feb 2008 07:08:49 -0000 Delivered-To: [email protected] Received: (qmail 30419 invoked by uid 500); 4 Feb 2008 07:08:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Tag Libraries Developers List" <taglibs-dev.jakarta.apache.org> Reply-To: "Tag Libraries Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 30231 invoked by uid 99); 4 Feb 2008 07:08:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Feb 2008 23:08:48 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2008 07:08:40 +0000 Received: by brutus.apache.org (Postfix, from userid 1007) id (901)325-3684; Sun, 3 Feb 2008 23:08:32 -0800 (PST) From: [email protected] To: [email protected] Subject: Bug report for Taglibs [2008/02/03] Message-Id: <{{EMAIL+PHONE}}> Date: Sun, 3 Feb 2008 23:08:32 -0800 (PST) X-Virus-Checked: Checked by ClamAV on apache.org +---------------------------------------------------------------------------+ | Bugzilla Bug ID | | +---------------------------------------------------------------------+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned | | | OPN=Reopened VER=Verified (Skipped Closed/Resolved) | | | +-----------------------------------------------------------------+ | | | Severity: BLK=Blocker CRI=Critical MAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement | | | | +-------------------------------------------------------------+ | | | | Date Posted | | | | | +--------------------------------------------------+ | | | | | Description | | | | | | | | 3164|New|Enh|2001-08-19|Message tag should process default text in the bod| | 6347|New|Nor|2002-02-10|io:param should url encode | | 6390|New|Nor|2002-02-12|valueOf evaluates &'s to &amp; when the & was part| | 6613|New|Nor|2002-02-21|cannot use xtags:style more than one time per page| | 7893|New|Nor|2002-04-09|Attribute attributeSeparator invalid according to | | 8694|Ver|Maj|2002-05-01|Exception when trying to acces the Map.entry compo| | 8723|Ver|Nor|2002-05-02|use of xsltSystemID does not take effect if xslt a| | 9257|Ver|Nor|2002-05-20|ELParser doesn't parse non-ascii value | | 9581|Ver|Min|2002-06-03|update SQL examples to allow for the inputting of | | 9968|Ver|Maj|2002-06-18|c:url prepends path to page relative URLs | |10175|Ver|Nor|2002-06-24|Welcome file absent from standard-examples.war in | |11217|Unc|Blk|2002-07-26|Custom Tag Library Error: 'Tag library ""not found| |11347|New|Maj|2002-07-31|xtags:if test="position()!=last()" - position() & | |11361|New|Enh|2002-08-01|Allow user to create own URIResolver | |11857|New|Enh|2002-08-20|Enhancement on FormatTagSupport | |12133|New|Blk|2002-08-28|scrape not work for some urls the request for a co| |12618|New|Maj|2002-09-13|Mode attribute on xtags:template & xtags:applyTemp| |12620|New|Nor|2002-09-13|position() and last() do not work in xtags:templat| |12701|New|Enh|2002-09-16|Need to have facility in bundle tag to pass defaul| |13794|New|Blk|2002-10-20|Unable to list the tag librairies in the custom ta| |13971|New|Maj|2002-10-25|Style tag does not work with Tomcat 4 with xml or | |14214|New|Maj|2002-11-04|[PATCH] io:http - can't invoke POS | |14680|New|Enh|2002-11-19|Internationalization should have an XML implementa| |15129|New|Nor|2002-12-06|Distribution of this CTLX is unuseable | |15551|New|Nor|2002-12-19|error: output must have content-handler property | |17211|New|Blk|2003-02-19|FIX: Tomcat 4.1.x taglib pooling causes problems | |17440|Opn|Maj|2003-02-26|Using variant portion of Locale causes problems | |18198|New|Nor|2003-03-20|[PATCH] Cache - Overloading CacheUtil methods | |18499|New|Enh|2003-03-30|[cache] per cache entry lifetime | |18524|New|Nor|2003-03-31|Default bundle changed from First to Last defined | |18716|Inf|Nor|2003-04-04|XTAGS LIBRARY PROBLEM IN 4.1.18 | |19292|New|Enh|2003-04-24|request tag add the ability to store output in pag| |19754|New|Nor|2003-05-08|TLDParser web.xml and errorstag | |20725|New|Nor|2003-06-12|Incorrect property setter signature for Tag handle| |21928|New|Nor|2003-07-28|Extra space added in the return text of xtags | |22765|New|Nor|2003-08-27|Wrong values from position() and last() functions | |23363|New|Maj|2003-09-23|JNDI Taglib does not close context when using <jnd| |24715|Opn|Maj|2003-11-14|Remote SMTP server fix | |25190|New|Enh|2003-12-04|waitUntilSent attribute for send tag | |26508|New|Nor|2004-01-29|TLD names are inconsistent | |26608|New|Maj|2004-02-02|strip="true" causes exception when no tags availab| |26867|New|Maj|2004-02-11|Inconsistent behavior of <io:request> | |27323|New|Enh|2004-02-29|Remove useless tag <setrecipient> | |27597|New|Nor|2004-03-11|<mt:attach>: set Content-Type header | |27717|New|Maj|2004-03-16|<x:forEach> very slow in JSTL 1.1 | |27864|New|Enh|2004-03-22|Need ability to easily escape message text for dis| |27978|New|Nor|2004-03-26|URLTag nesting into BodyTag does not work more the| |28280|New|Nor|2004-04-08|bug in xtags:parse whith using a attribute reader | |28301|New|Nor|2004-04-08|XTags are not working for Tomcat 4.1.18 | |28814|New|Nor|2004-05-06|mt:header are ignored | |28913|New|Maj|2004-05-11|Content-Type not working properly | |29114|New|Min|2004-05-20|Error in Documentation on web related to web.xml | |29144|New|Nor|2004-05-21|Format tag attributes should allow runtime express| |29194|New|Nor|2004-05-25|xml-namespaces not supported | |29680|New|Nor|2004-06-18|str:replace with EL does not work with string 1.1.| |30050|Ass|Maj|2004-07-12|Explicit dependency to Xalan breaks JSTL xml tags | |30427|New|Nor|2004-08-01|Response contents can be truncated prematurely | |30840|Ass|Min|2004-08-25|String-examples web.xml taglib uri | |31009|New|Nor|2004-09-02|io:http tag caches JSPWriter | |31084|New|Nor|2004-09-07|fmt charset problem when data come from database (| |31529|New|Enh|2004-10-04|allow string arg to given in body, not just in att| |31859|New|Enh|2004-10-23|Add filename based Content-ID to attachments and u| |31869|New|Enh|2004-10-24|Allow DataHandler attachments in the attach tag | |32857|New|Nor|2004-12-28|Documentation is wrong about getChomp and getPrech| |32904|New|Maj|2004-12-31|<i18n:formatDate /> does not handle locale changes| |33032|New|Nor|2005-01-11|string() works incorrectly in conjunction with sco| |33684|New|Nor|2005-02-22|Formatting Currency numbers : no currency symbol .| |33934|New|Cri|2005-03-09|[standard] memory leak in jstl c:set tag | |34137|New|Nor|2005-03-22|getAttribute using iterate reuses bodycontent on 2| |34249|New|Nor|2005-03-31|datagrid example 8 data boundary bug | |34317|New|Enh|2005-04-05|Allow JSP tags within datagrid tag | |34703|New|Maj|2005-05-02|Invalid synchronization in PageData leads to java.| |34786|New|Nor|2005-05-06|Attachments are not cleared in between re-uses of | |34788|New|Nor|2005-05-06|Cannot set the filename of an attachment independe| |34789|New|Nor|2005-05-06|Cannot send multi-part Plain Text and HTML emails | |35569|New|Nor|2005-07-01|wordWrap does not insert the split string | |35780|New|Nor|2005-07-18|Missing attribute in mt:message tag documentation | |36709|New|Min|2005-09-19|Documentation inconsistent with servlet 2.4 spec | |36788|New|Maj|2005-09-23|str:wordWrap generates incorrect html character en| |36896|New|Nor|2005-10-03|jsp import error: url /abc/./../def not abc/def | |37990|New|Nor|2005-12-21|Changed Jaxen API breaks Taglib | |38192|New|Min|2006-01-09|Multiple uses of <io:soap> fails | |38193|Ass|Enh|2006-01-09|[RDC] BuiltIn Grammar support for Field | |38362|New|Nor|2006-01-24|<io:request url > tag is sometimes causing "java.i| |38462|New|Nor|2006-01-31|Allow direct File Upload in mailer2 | |38600|Ass|Enh|2006-02-10|[RDC] Enable RDCs to be used in X+V markup (X+RDC)| |38663|New|Nor|2006-02-15|str:string doesn't work on dynamic content | |39346|New|Nor|2006-04-19|Problems with message-tags with identical id-argu| |39480|New|Nor|2006-05-03|calling getContextClassLoader without doPriv | |39612|New|Cri|2006-05-18|Sudden Nullpointerexception in LRUCache | |39665|New| |2006-05-26|Incorrect mailer configuration in documentation | |39964|New|Nor|2006-07-05|overlay dosn't support EL attributes in "with" att| |40314|New|Nor|2006-08-25|Upload taglibs using correct maven2 conventions | |41481|Inf| |2007-01-27|Error when nested x:forEach loops where the inner | |42069|New|Maj|2007-04-07|datagrid is getting the ArrayList object as string| |42290|New|Nor|2007-04-28|error in tld | |42413|New|Nor|2007-05-14|[PATCH] Log Taglib enhancements | |42740|New|Nor|2007-06-26|ParseException received when date/time that is in | |43632|New|Nor|2007-10-16|NullPointerException in x:transform | |43640|New|Nor|2007-10-16|Move the tests package to JUnit | |43980|New|Nor|2007-11-28|Exception while executing xsl-examples.war in jaka| +-----+---+---+----------+--------------------------------------------------+ | Total 101 bugs | +---------------------------------------------------------------------------+ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Feb 06 04:16:33 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8888 invoked from network); 6 Feb 2008 04:16:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Feb 2008 04:16:33 -0000 Received: (qmail 4529 invoked by uid 500); 6 Feb 2008 04:16:25 -0000 Delivered-To: [email protected] Received: (qmail 4516 invoked by uid 500); 6 Feb 2008 04:16:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Tag Libraries Developers List" <taglibs-dev.jakarta.apache.org> Reply-To: "Tag Libraries Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 4505 invoked by uid 99); 6 Feb 2008 04:16:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2008 20:16:25 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Feb 2008 04:16:17 +0000 Received: from [161.129.204.104] (localhost [161.129.204.104]) by vmgump.apache.org (Postfix) with ESMTP id 27A10AB404D for <[email protected]>; Tue, 5 Feb 2008 17:34:05 -0800 (PST) Date: Tue, 05 Feb 2008 17:34:05 PST From: Martin Cooper <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-taglibs-documentation (in module jakarta-taglibs) failed Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-taglibs-documentation has an issue affecting its community integration. This issue affects 1 projects. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - jakarta-taglibs-documentation : JSP Taglibs Full details are available at: http://vmgump.apache.org/gump/public/jakarta-taglibs/jakarta-taglibs-documentation/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/jakarta-taglibs/jakarta-taglibs-documentation/gump_work/build_jakarta-taglibs_jakarta-taglibs-documentation.html Work Name: build_jakarta-taglibs_jakarta-taglibs-documentation (Type: Build) Work ended in a state of : Failed Elapsed: Command Line: /usr/lib/jvm/java-1.5.0-sun/bin/java -Djava.awt.headless=true -Xbootclasspath/p:serializer-gump-05022008.jar:xalan-gump-05022008.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/srv/gump/public/workspace/xml-xerces2/build/xercesImpl.jar org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Dbuild.dir=/srv/gump/public/workspace/jakarta-taglibs/build -Ddist.dir=/srv/gump/public/workspace/jakarta-taglibs/dist site [Working Directory: /srv/gump/public/workspace/jakarta-taglibs] CLASSPATH: /usr/lib/jvm/java-1.5.0-sun/lib/tools.jar:ant-jmf-gump-05022008.jar:ant-swing-gump-05022008.jar:ant-apache-resolver-gump-05022008.jar:ant-trax-gump-05022008.jar:ant-junit-gump-05022008.jar:ant-launcher-gump-05022008.jar:ant-nodeps-gump-05022008.jar:ant-gump-05022008.jar:/srv/gump/packages/junit3.8.1/junit.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar --------------------------------------------- Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/Main --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-taglibs/jakarta-taglibs-documentation/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-taglibs/jakarta-taglibs-documentation/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.3. Gump Run 40001605022008, vmgump:vmgump-public:40001605022008 Gump E-mail Identifier (unique within run) #59. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Feb 11 07:09:03 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93133 invoked from network); 11 Feb 2008 07:09:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Feb 2008 07:09:03 -0000 Received: (qmail 94871 invoked by uid 500); 11 Feb 2008 07:08:50 -0000 Delivered-To: [email protected] Received: (qmail 94794 invoked by uid 500); 11 Feb 2008 07:08:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Tag Libraries Developers List" <taglibs-dev.jakarta.apache.org> Reply-To: "Tag Libraries Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 94747 invoked by uid 99); 11 Feb 2008 07:08:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Feb 2008 23:08:49 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2008 07:08:12 +0000 Received: by brutus.apache.org (Postfix, from userid 1007) id 08DC771407A; Sun, 10 Feb 2008 23:08:31 -0800 (PST) From: [email protected] To: [email protected] Subject: Bug report for Taglibs [2008/02/10] Message-Id: <[email protected]> Date: Sun, 10 Feb 2008 23:08:31 -0800 (PST) X-Virus-Checked: Checked by ClamAV on apache.org +---------------------------------------------------------------------------+ | Bugzilla Bug ID | | +---------------------------------------------------------------------+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned | | | OPN=Reopened VER=Verified (Skipped Closed/Resolved) | | | +-----------------------------------------------------------------+ | | | Severity: BLK=Blocker CRI=Critical MAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement | | | | +-------------------------------------------------------------+ | | | | Date Posted | | | | | +--------------------------------------------------+ | | | | | Description | | | | | | | | 3164|New|Enh|2001-08-19|Message tag should process default text in the bod| | 6347|New|Nor|2002-02-10|io:param should url encode | | 6390|New|Nor|2002-02-12|valueOf evaluates &'s to &amp; when the & was part| | 6613|New|Nor|2002-02-21|cannot use xtags:style more than one time per page| | 7893|New|Nor|2002-04-09|Attribute attributeSeparator invalid according to | | 8694|Ver|Maj|2002-05-01|Exception when trying to acces the Map.entry compo| | 8723|Ver|Nor|2002-05-02|use of xsltSystemID does not take effect if xslt a| | 9257|Ver|Nor|2002-05-20|ELParser doesn't parse non-ascii value | | 9581|Ver|Min|2002-06-03|update SQL examples to allow for the inputting of | | 9968|Ver|Maj|2002-06-18|c:url prepends path to page relative URLs | |10175|Ver|Nor|2002-06-24|Welcome file absent from standard-examples.war in | |11217|Unc|Blk|2002-07-26|Custom Tag Library Error: 'Tag library ""not found| |11347|New|Maj|2002-07-31|xtags:if test="position()!=last()" - position() & | |11361|New|Enh|2002-08-01|Allow user to create own URIResolver | |11857|New|Enh|2002-08-20|Enhancement on FormatTagSupport | |12133|New|Blk|2002-08-28|scrape not work for some urls the request for a co| |12618|New|Maj|2002-09-13|Mode attribute on xtags:template & xtags:applyTemp| |12620|New|Nor|2002-09-13|position() and last() do not work in xtags:templat| |12701|New|Enh|2002-09-16|Need to have facility in bundle tag to pass defaul| |13794|New|Blk|2002-10-20|Unable to list the tag librairies in the custom ta| |13971|New|Maj|2002-10-25|Style tag does not work with Tomcat 4 with xml or | |14214|New|Maj|2002-11-04|[PATCH] io:http - can't invoke POS | |14680|New|Enh|2002-11-19|Internationalization should have an XML implementa| |15129|New|Nor|2002-12-06|Distribution of this CTLX is unuseable | |15551|New|Nor|2002-12-19|error: output must have content-handler property | |17211|New|Blk|2003-02-19|FIX: Tomcat 4.1.x taglib pooling causes problems | |17440|Opn|Maj|2003-02-26|Using variant portion of Locale causes problems | |18198|New|Nor|2003-03-20|[PATCH] Cache - Overloading CacheUtil methods | |18499|New|Enh|2003-03-30|[cache] per cache entry lifetime | |18524|New|Nor|2003-03-31|Default bundle changed from First to Last defined | |18716|Inf|Nor|2003-04-04|XTAGS LIBRARY PROBLEM IN 4.1.18 | |19292|New|Enh|2003-04-24|request tag add the ability to store output in pag| |19754|New|Nor|2003-05-08|TLDParser web.xml and errorstag | |20725|New|Nor|2003-06-12|Incorrect property setter signature for Tag handle| |21928|New|Nor|2003-07-28|Extra space added in the return text of xtags | |22765|New|Nor|2003-08-27|Wrong values from position() and last() functions | |23363|New|Maj|2003-09-23|JNDI Taglib does not close context when using <jnd| |24715|Opn|Maj|2003-11-14|Remote SMTP server fix | |25190|New|Enh|2003-12-04|waitUntilSent attribute for send tag | |26508|New|Nor|2004-01-29|TLD names are inconsistent | |26608|New|Maj|2004-02-02|strip="true" causes exception when no tags availab| |26867|New|Maj|2004-02-11|Inconsistent behavior of <io:request> | |27323|New|Enh|2004-02-29|Remove useless tag <setrecipient> | |27597|New|Nor|2004-03-11|<mt:attach>: set Content-Type header | |27717|New|Maj|2004-03-16|<x:forEach> very slow in JSTL 1.1 | |27864|New|Enh|2004-03-22|Need ability to easily escape message text for dis| |27978|New|Nor|2004-03-26|URLTag nesting into BodyTag does not work more the| |28280|New|Nor|2004-04-08|bug in xtags:parse whith using a attribute reader | |28301|New|Nor|2004-04-08|XTags are not working for Tomcat 4.1.18 | |28814|New|Nor|2004-05-06|mt:header are ignored | |28913|New|Maj|2004-05-11|Content-Type not working properly | |29114|New|Min|2004-05-20|Error in Documentation on web related to web.xml | |29144|New|Nor|2004-05-21|Format tag attributes should allow runtime express| |29194|New|Nor|2004-05-25|xml-namespaces not supported | |29680|New|Nor|2004-06-18|str:replace with EL does not work with string 1.1.| |30050|Ass|Maj|2004-07-12|Explicit dependency to Xalan breaks JSTL xml tags | |30427|New|Nor|2004-08-01|Response contents can be truncated prematurely | |30840|Ass|Min|2004-08-25|String-examples web.xml taglib uri | |31009|New|Nor|2004-09-02|io:http tag caches JSPWriter | |31084|New|Nor|2004-09-07|fmt charset problem when data come from database (| |31529|New|Enh|2004-10-04|allow string arg to given in body, not just in att| |31859|New|Enh|2004-10-23|Add filename based Content-ID to attachments and u| |31869|New|Enh|2004-10-24|Allow DataHandler attachments in the attach tag | |32857|New|Nor|2004-12-28|Documentation is wrong about getChomp and getPrech| |32904|New|Maj|2004-12-31|<i18n:formatDate /> does not handle locale changes| |33032|New|Nor|2005-01-11|string() works incorrectly in conjunction with sco| |33684|New|Nor|2005-02-22|Formatting Currency numbers : no currency symbol .| |33934|New|Cri|2005-03-09|[standard] memory leak in jstl c:set tag | |34137|New|Nor|2005-03-22|getAttribute using iterate reuses bodycontent on 2| |34249|New|Nor|2005-03-31|datagrid example 8 data boundary bug | |34317|New|Enh|2005-04-05|Allow JSP tags within datagrid tag | |34703|New|Maj|2005-05-02|Invalid synchronization in PageData leads to java.| |34786|New|Nor|2005-05-06|Attachments are not cleared in between re-uses of | |34788|New|Nor|2005-05-06|Cannot set the filename of an attachment independe| |34789|New|Nor|2005-05-06|Cannot send multi-part Plain Text and HTML emails | |35569|New|Nor|2005-07-01|wordWrap does not insert the split string | |35780|New|Nor|2005-07-18|Missing attribute in mt:message tag documentation | |36709|New|Min|2005-09-19|Documentation inconsistent with servlet 2.4 spec | |36788|New|Maj|2005-09-23|str:wordWrap generates incorrect html character en| |36896|New|Nor|2005-10-03|jsp import error: url /abc/./../def not abc/def | |37990|New|Nor|2005-12-21|Changed Jaxen API breaks Taglib | |38192|New|Min|2006-01-09|Multiple uses of <io:soap> fails | |38193|Ass|Enh|2006-01-09|[RDC] BuiltIn Grammar support for Field | |38362|New|Nor|2006-01-24|<io:request url > tag is sometimes causing "java.i| |38462|New|Nor|2006-01-31|Allow direct File Upload in mailer2 | |38600|Ass|Enh|2006-02-10|[RDC] Enable RDCs to be used in X+V markup (X+RDC)| |38663|New|Nor|2006-02-15|str:string doesn't work on dynamic content | |39346|New|Nor|2006-04-19|Problems with message-tags with identical id-argu| |39480|New|Nor|2006-05-03|calling getContextClassLoader without doPriv | |39612|New|Cri|2006-05-18|Sudden Nullpointerexception in LRUCache | |39665|New| |2006-05-26|Incorrect mailer configuration in documentation | |39964|New|Nor|2006-07-05|overlay dosn't support EL attributes in "with" att| |40314|New|Nor|2006-08-25|Upload taglibs using correct maven2 conventions | |41481|Inf| |2007-01-27|Error when nested x:forEach loops where the inner | |42069|New|Maj|2007-04-07|datagrid is getting the ArrayList object as string| |42290|New|Nor|2007-04-28|error in tld | |42413|New|Nor|2007-05-14|[PATCH] Log Taglib enhancements | |42740|New|Nor|2007-06-26|ParseException received when date/time that is in | |43632|New|Nor|2007-10-16|NullPointerException in x:transform | |43640|New|Nor|2007-10-16|Move the tests package to JUnit | |43980|New|Nor|2007-11-28|Exception while executing xsl-examples.war in jaka| +-----+---+---+----------+--------------------------------------------------+ | Total 101 bugs | +---------------------------------------------------------------------------+ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Feb 18 07:08:51 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59340 invoked from network); 18 Feb 2008 07:08:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Feb 2008 07:08:51 -0000 Received: (qmail 81501 invoked by uid 500); 18 Feb 2008 07:08:45 -0000 Delivered-To: [email protected] Received: (qmail 81473 invoked by uid 500); 18 Feb 2008 07:08:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Tag Libraries Developers List" <taglibs-dev.jakarta.apache.org> Reply-To: "Tag Libraries Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 81462 invoked by uid 99); 18 Feb 2008 07:08:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Feb 2008 23:08:44 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Feb 2008 07:08:21 +0000 Received: by brutus.apache.org (Postfix, from userid 1007) id C8CCF71406C; Sun, 17 Feb 2008 23:08:29 -0800 (PST) From: [email protected] To: [email protected] Subject: Bug report for Taglibs [2008/02/17] Message-Id: <[email protected]> Date: Sun, 17 Feb 2008 23:08:29 -0800 (PST) X-Virus-Checked: Checked by ClamAV on apache.org +---------------------------------------------------------------------------+ | Bugzilla Bug ID | | +---------------------------------------------------------------------+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned | | | OPN=Reopened VER=Verified (Skipped Closed/Resolved) | | | +-----------------------------------------------------------------+ | | | Severity: BLK=Blocker CRI=Critical MAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement | | | | +-------------------------------------------------------------+ | | | | Date Posted | | | | | +--------------------------------------------------+ | | | | | Description | | | | | | | | 3164|New|Enh|2001-08-19|Message tag should process default text in the bod| | 6347|New|Nor|2002-02-10|io:param should url encode | | 6390|New|Nor|2002-02-12|valueOf evaluates &'s to &amp; when the & was part| | 6613|New|Nor|2002-02-21|cannot use xtags:style more than one time per page| | 7893|New|Nor|2002-04-09|Attribute attributeSeparator invalid according to | | 8694|Ver|Maj|2002-05-01|Exception when trying to acces the Map.entry compo| | 8723|Ver|Nor|2002-05-02|use of xsltSystemID does not take effect if xslt a| | 9257|Ver|Nor|2002-05-20|ELParser doesn't parse non-ascii value | | 9581|Ver|Min|2002-06-03|update SQL examples to allow for the inputting of | | 9968|Ver|Maj|2002-06-18|c:url prepends path to page relative URLs | |10175|Ver|Nor|2002-06-24|Welcome file absent from standard-examples.war in | |11217|Unc|Blk|2002-07-26|Custom Tag Library Error: 'Tag library ""not found| |11347|New|Maj|2002-07-31|xtags:if test="position()!=last()" - position() & | |11361|New|Enh|2002-08-01|Allow user to create own URIResolver | |11857|New|Enh|2002-08-20|Enhancement on FormatTagSupport | |12133|New|Blk|2002-08-28|scrape not work for some urls the request for a co| |12618|New|Maj|2002-09-13|Mode attribute on xtags:template & xtags:applyTemp| |12620|New|Nor|2002-09-13|position() and last() do not work in xtags:templat| |12701|New|Enh|2002-09-16|Need to have facility in bundle tag to pass defaul| |13794|New|Blk|2002-10-20|Unable to list the tag librairies in the custom ta| |13971|New|Maj|2002-10-25|Style tag does not work with Tomcat 4 with xml or | |14214|New|Maj|2002-11-04|[PATCH] io:http - can't invoke POS | |14680|New|Enh|2002-11-19|Internationalization should have an XML implementa| |15129|New|Nor|2002-12-06|Distribution of this CTLX is unuseable | |15551|New|Nor|2002-12-19|error: output must have content-handler property | |17211|New|Blk|2003-02-19|FIX: Tomcat 4.1.x taglib pooling causes problems | |17440|Opn|Maj|2003-02-26|Using variant portion of Locale causes problems | |18198|New|Nor|2003-03-20|[PATCH] Cache - Overloading CacheUtil methods | |18499|New|Enh|2003-03-30|[cache] per cache entry lifetime | |18524|New|Nor|2003-03-31|Default bundle changed from First to Last defined | |18716|Inf|Nor|2003-04-04|XTAGS LIBRARY PROBLEM IN 4.1.18 | |19292|New|Enh|2003-04-24|request tag add the ability to store output in pag| |19754|New|Nor|2003-05-08|TLDParser web.xml and errorstag | |20725|New|Nor|2003-06-12|Incorrect property setter signature for Tag handle| |21928|New|Nor|2003-07-28|Extra space added in the return text of xtags | |22765|New|Nor|2003-08-27|Wrong values from position() and last() functions | |23363|New|Maj|2003-09-23|JNDI Taglib does not close context when using <jnd| |24715|Opn|Maj|2003-11-14|Remote SMTP server fix | |25190|New|Enh|2003-12-04|waitUntilSent attribute for send tag | |26508|New|Nor|2004-01-29|TLD names are inconsistent | |26608|New|Maj|2004-02-02|strip="true" causes exception when no tags availab| |26867|New|Maj|2004-02-11|Inconsistent behavior of <io:request> | |27323|New|Enh|2004-02-29|Remove useless tag <setrecipient> | |27597|New|Nor|2004-03-11|<mt:attach>: set Content-Type header | |27717|New|Maj|2004-03-16|<x:forEach> very slow in JSTL 1.1 | |27864|New|Enh|2004-03-22|Need ability to easily escape message text for dis| |27978|New|Nor|2004-03-26|URLTag nesting into BodyTag does not work more the| |28280|New|Nor|2004-04-08|bug in xtags:parse whith using a attribute reader | |28301|New|Nor|2004-04-08|XTags are not working for Tomcat 4.1.18 | |28814|New|Nor|2004-05-06|mt:header are ignored | |28913|New|Maj|2004-05-11|Content-Type not working properly | |29114|New|Min|2004-05-20|Error in Documentation on web related to web.xml | |29144|New|Nor|2004-05-21|Format tag attributes should allow runtime express| |29194|New|Nor|2004-05-25|xml-namespaces not supported | |29680|New|Nor|2004-06-18|str:replace with EL does not work with string 1.1.| |30050|Ass|Maj|2004-07-12|Explicit dependency to Xalan breaks JSTL xml tags | |30427|New|Nor|2004-08-01|Response contents can be truncated prematurely | |30840|Ass|Min|2004-08-25|String-examples web.xml taglib uri | |31009|New|Nor|2004-09-02|io:http tag caches JSPWriter | |31084|New|Nor|2004-09-07|fmt charset problem when data come from database (| |31529|New|Enh|2004-10-04|allow string arg to given in body, not just in att| |31859|New|Enh|2004-10-23|Add filename based Content-ID to attachments and u| |31869|New|Enh|2004-10-24|Allow DataHandler attachments in the attach tag | |32857|New|Nor|2004-12-28|Documentation is wrong about getChomp and getPrech| |32904|New|Maj|2004-12-31|<i18n:formatDate /> does not handle locale changes| |33032|New|Nor|2005-01-11|string() works incorrectly in conjunction with sco| |33684|New|Nor|2005-02-22|Formatting Currency numbers : no currency symbol .| |33934|New|Cri|2005-03-09|[standard] memory leak in jstl c:set tag | |34137|New|Nor|2005-03-22|getAttribute using iterate reuses bodycontent on 2| |34249|New|Nor|2005-03-31|datagrid example 8 data boundary bug | |34317|New|Enh|2005-04-05|Allow JSP tags within datagrid tag | |34703|New|Maj|2005-05-02|Invalid synchronization in PageData leads to java.| |34786|New|Nor|2005-05-06|Attachments are not cleared in between re-uses of | |34788|New|Nor|2005-05-06|Cannot set the filename of an attachment independe| |34789|New|Nor|2005-05-06|Cannot send multi-part Plain Text and HTML emails | |35569|New|Nor|2005-07-01|wordWrap does not insert the split string | |35780|New|Nor|2005-07-18|Missing attribute in mt:message tag documentation | |36709|New|Min|2005-09-19|Documentation inconsistent with servlet 2.4 spec | |36788|New|Maj|2005-09-23|str:wordWrap generates incorrect html character en| |36896|New|Nor|2005-10-03|jsp import error: url /abc/./../def not abc/def | |37990|New|Nor|2005-12-21|Changed Jaxen API breaks Taglib | |38192|New|Min|2006-01-09|Multiple uses of <io:soap> fails | |38193|Ass|Enh|2006-01-09|[RDC] BuiltIn Grammar support for Field | |38362|New|Nor|2006-01-24|<io:request url > tag is sometimes causing "java.i| |38462|New|Nor|2006-01-31|Allow direct File Upload in mailer2 | |38600|Ass|Enh|2006-02-10|[RDC] Enable RDCs to be used in X+V markup (X+RDC)| |38663|New|Nor|2006-02-15|str:string doesn't work on dynamic content | |39346|New|Nor|2006-04-19|Problems with message-tags with identical id-argu| |39480|New|Nor|2006-05-03|calling getContextClassLoader without doPriv | |39612|New|Cri|2006-05-18|Sudden Nullpointerexception in LRUCache | |39665|New| |2006-05-26|Incorrect mailer configuration in documentation | |39964|New|Nor|2006-07-05|overlay dosn't support EL attributes in "with" att| |40314|New|Nor|2006-08-25|Upload taglibs using correct maven2 conventions | |41481|Inf| |2007-01-27|Error when nested x:forEach loops where the inner | |42069|New|Maj|2007-04-07|datagrid is getting the ArrayList object as string| |42290|New|Nor|2007-04-28|error in tld | |42413|New|Nor|2007-05-14|[PATCH] Log Taglib enhancements | |42740|New|Nor|2007-06-26|ParseException received when date/time that is in | |43632|New|Nor|2007-10-16|NullPointerException in x:transform | |43640|New|Nor|2007-10-16|Move the tests package to JUnit | |43980|New|Nor|2007-11-28|Exception while executing xsl-examples.war in jaka| +-----+---+---+----------+--------------------------------------------------+ | Total 101 bugs | +---------------------------------------------------------------------------+ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Feb 18 09:02:29 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97456 invoked from network); 18 Feb 2008 09:02:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Feb 2008 09:02:29 -0000 Received: (qmail 85532 invoked by uid 500); 18 Feb 2008 09:02:23 -0000 Delivered-To: [email protected] Received: (qmail 85521 invoked by uid 500); 18 Feb 2008 09:02:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Tag Libraries Developers List" <taglibs-dev.jakarta.apache.org> Reply-To: "Tag Libraries Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 85510 invoked by uid 99); 18 Feb 2008 09:02:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Feb 2008 01:02:23 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e2.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Feb 2008 09:01:36 +0000 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [161.129.204.104]) by e2.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id m1I91u8O028197 for <[email protected]>; Mon, 18 Feb 2008 04:01:56 -0500 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [161.129.204.104]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v8.7) with ESMTP id m1I91tpI300596 for <[email protected]>; Mon, 18 Feb 2008 04:01:56 -0500 Received: from d01av03.pok.ibm.com (loopback [161.129.204.104]) by d01av03.pok.ibm.com (161.129.204.10460308/8.13.3) with ESMTP id m1I91t2D031096 for <[email protected]>; Mon, 18 Feb 2008 04:01:55 -0500 Received: from d01ml604.pok.ibm.com (d01ml604.pok.ibm.com [161.129.204.104]) by d01av03.pok.ibm.com (161.129.204.10460308/8.12.11) with ESMTP id m1I91tvl031082 for <[email protected]>; Mon, 18 Feb 2008 04:01:55 -0500 Subject: AUTO: is out of the office. (returning 02/26/2008) Auto-Submitted: auto-generated From: Charles F Wiecha <[email protected]> To: "Tag Libraries Developers List" <[email protected]> Message-ID: <[email protected]> Date: Mon, 18 Feb 2008 04:01:54 -0500 X-MIMETrack: Serialize by Router on D01ML604/01/M/IBM(Release 8.0|August 02, 2007) at 02/18/2008 04:01:55 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org I am out of the office until 02/26/2008. Note: This is an automated response to your message Bug report for Taglibs [2008/02/17] sent on 2/18/08 2:08:29. This is the only notification you will receive while this person is away. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Feb 18 21:46:07 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85760 invoked from network); 18 Feb 2008 21:46:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Feb 2008 21:46:07 -0000 Received: (qmail 26931 invoked by uid 500); 18 Feb 2008 21:46:01 -0000 Delivered-To: [email protected] Received: (qmail 26911 invoked by uid 500); 18 Feb 2008 21:46:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Tag Libraries Developers List" <taglibs-dev.jakarta.apache.org> Reply-To: "Tag Libraries Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 26899 invoked by uid 99); 18 Feb 2008 21:46:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Feb 2008 13:46:01 -0800 X-ASF-Spam-Status: No, hits=-2.0 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e1.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Feb 2008 21:45:13 +0000 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [161.129.204.104]) by e1.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id m1ILjYxg018617 for <[email protected]>; Mon, 18 Feb 2008 16:45:34 -0500 Received: from d01av05.pok.ibm.com (d01av05.pok.ibm.com [161.129.204.104]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v8.7) with ESMTP id m1ILjYT7283580 for <[email protected]>; Mon, 18 Feb 2008 16:45:34 -0500 Received: from d01av05.pok.ibm.com (loopback [161.129.204.104]) by d01av05.pok.ibm.com (161.129.204.10460308/8.13.3) with ESMTP id m1ILirlp030926 for <[email protected]>; Mon, 18 Feb 2008 16:44:53 -0500 Received: from d01mlc83.pok.ibm.com (d01mlc83.pok.ibm.com [161.129.204.104]) by d01av05.pok.ibm.com (161.129.204.10460308/8.12.11) with ESMTP id m1ILirZ4030923 for <[email protected]>; Mon, 18 Feb 2008 16:44:53 -0500 To: [email protected] MIME-Version: 1.0 Subject: JSTL 1.2 implemented X-KeepSent: C01108E4:B38024A6-852573F3:006846BE; type=4; name=$KeepSent X-Mailer: Lotus Notes Release 8.0 August 02, 2007 From: Robert E Goff <[email protected]> X-MIMETrack: S/MIME Sign by Notes Client on Robert E Goff/Raleigh/IBM(Release 8.0|August 02, 2007) at 02/18/2008 04:43:59 PM, Serialize by Notes Client on Robert E Goff/Raleigh/IBM(Release 8.0|August 02, 2007) at 02/18/2008 04:43:59 PM, Serialize complete at 02/18/2008 04:43:59 PM, S/MIME Sign failed at 02/18/2008 04:43:59 PM: The cryptographic key was not found, Serialize by Router on D01MLC83/01/M/IBM(Build V801_01072008|January 07, 2008) at 02/18/2008 16:45:33, Serialize complete at 02/18/2008 16:45:33 Message-ID: <[email protected]> Date: Mon, 18 Feb 2008 16:45:32 -0500 Content-Type: multipart/alternative; boundary="=_alternative 00776252852573F3_=" X-Virus-Checked: Checked by ClamAV on apache.org --=_alternative 00776252852573F3_= Content-Type: text/plain; charset="US-ASCII" Hi, I have downloaded the 1.1.2 version of JSTL and updated it to support the new JSTL 1.2 features. Is there a desire for a JSTL 1.2 opensource branch? This version has currently passed the JSTL 1.2 TCK. Let me know if there is interest for this spec update? Is anyone willing to take these contributions and commit it? (The changes are minimal. A slight tld change, 3 new classes, and 10 file changes.) Thanks. Sincerely, Bobby Goff --=_alternative 00776252852573F3_=-- From [email protected] Mon Feb 25 06:12:38 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37005 invoked from network); 25 Feb 2008 06:12:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Feb 2008 06:12:38 -0000 Received: (qmail 30954 invoked by uid 500); 25 Feb 2008 06:12:31 -0000 Delivered-To: [email protected] Received: (qmail 30793 invoked by uid 500); 25 Feb 2008 06:12:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Tag Libraries Developers List" <taglibs-dev.jakarta.apache.org> Reply-To: "Tag Libraries Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 30023 invoked by uid 99); 25 Feb 2008 06:12:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Feb 2008 22:12:29 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Feb 2008 06:12:04 +0000 Received: by brutus.apache.org (Postfix, from userid 1007) id B7111234C042; Sun, 24 Feb 2008 22:11:47 -0800 (PST) From: [email protected] To: [email protected] Subject: Bug report for Taglibs [2008/02/24] Message-Id: <[email protected]> Date: Sun, 24 Feb 2008 22:11:46 -0800 (PST) X-Virus-Checked: Checked by ClamAV on apache.org +---------------------------------------------------------------------------+ | Bugzilla Bug ID | | +---------------------------------------------------------------------+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned | | | OPN=Reopened VER=Verified (Skipped Closed/Resolved) | | | +-----------------------------------------------------------------+ | | | Severity: BLK=Blocker CRI=Critical REG=Regression MAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement TRV=Trivial | | | | +-------------------------------------------------------------+ | | | | Date Posted | | | | | +--------------------------------------------------+ | | | | | Description | | | | | | | | 3164|New|Enh|2001-08-19|Message tag should process default text in the bod| | 6347|New|Nor|2002-02-10|io:param should url encode | | 6390|New|Nor|2002-02-12|valueOf evaluates &'s to &amp; when the & was part| | 6613|New|Nor|2002-02-21|cannot use xtags:style more than one time per page| | 7893|New|Nor|2002-04-09|Attribute attributeSeparator invalid according to | | 8694|Ver|Maj|2002-05-01|Exception when trying to acces the Map.entry compo| | 8723|Ver|Nor|2002-05-02|use of xsltSystemID does not take effect if xslt a| | 9257|Ver|Nor|2002-05-20|ELParser doesn't parse non-ascii value | | 9581|Ver|Min|2002-06-03|update SQL examples to allow for the inputting of | | 9968|Ver|Maj|2002-06-18|c:url prepends path to page relative URLs | |10175|Ver|Nor|2002-06-24|Welcome file absent from standard-examples.war in | |11217|Unc|Blk|2002-07-26|Custom Tag Library Error: 'Tag library ""not found| |11347|New|Maj|2002-07-31|xtags:if test="position()!=last()" - position() & | |11361|New|Enh|2002-08-01|Allow user to create own URIResolver | |11857|New|Enh|2002-08-20|Enhancement on FormatTagSupport | |12133|New|Blk|2002-08-28|scrape not work for some urls the request for a co| |12618|New|Maj|2002-09-13|Mode attribute on xtags:template & xtags:applyTemp| |12620|New|Nor|2002-09-13|position() and last() do not work in xtags:templat| |12701|New|Enh|2002-09-16|Need to have facility in bundle tag to pass defaul| |13794|New|Blk|2002-10-20|Unable to list the tag librairies in the custom ta| |13971|New|Maj|2002-10-25|Style tag does not work with Tomcat 4 with xml or | |14214|New|Maj|2002-11-04|[PATCH] io:http - can't invoke POS | |14680|New|Enh|2002-11-19|Internationalization should have an XML implementa| |15129|New|Nor|2002-12-06|Distribution of this CTLX is unuseable | |15551|New|Nor|2002-12-19|error: output must have content-handler property | |17211|New|Blk|2003-02-19|FIX: Tomcat 4.1.x taglib pooling causes problems | |17440|Opn|Maj|2003-02-26|Using variant portion of Locale causes problems | |18198|New|Nor|2003-03-20|[PATCH] Cache - Overloading CacheUtil methods | |18499|New|Enh|2003-03-30|[cache] per cache entry lifetime | |18524|New|Nor|2003-03-31|Default bundle changed from First to Last defined | |18716|Inf|Nor|2003-04-04|XTAGS LIBRARY PROBLEM IN 4.1.18 | |19292|New|Enh|2003-04-24|request tag add the ability to store output in pag| |19754|New|Nor|2003-05-08|TLDParser web.xml and errorstag | |20725|New|Nor|2003-06-12|Incorrect property setter signature for Tag handle| |21928|New|Nor|2003-07-28|Extra space added in the return text of xtags | |22765|New|Nor|2003-08-27|Wrong values from position() and last() functions | |23363|New|Maj|2003-09-23|JNDI Taglib does not close context when using <jnd| |24715|Opn|Maj|2003-11-14|Remote SMTP server fix | |25190|New|Enh|2003-12-04|waitUntilSent attribute for send tag | |26508|New|Nor|2004-01-29|TLD names are inconsistent | |26608|New|Maj|2004-02-02|strip="true" causes exception when no tags availab| |26867|New|Maj|2004-02-11|Inconsistent behavior of <io:request> | |27323|New|Enh|2004-02-29|Remove useless tag <setrecipient> | |27597|New|Nor|2004-03-11|<mt:attach>: set Content-Type header | |27717|New|Maj|2004-03-16|<x:forEach> very slow in JSTL 1.1 | |27864|New|Enh|2004-03-22|Need ability to easily escape message text for dis| |27978|New|Nor|2004-03-26|URLTag nesting into BodyTag does not work more the| |28280|New|Nor|2004-04-08|bug in xtags:parse whith using a attribute reader | |28301|New|Nor|2004-04-08|XTags are not working for Tomcat 4.1.18 | |28814|New|Nor|2004-05-06|mt:header are ignored | |28913|New|Maj|2004-05-11|Content-Type not working properly | |29114|New|Min|2004-05-20|Error in Documentation on web related to web.xml | |29144|New|Nor|2004-05-21|Format tag attributes should allow runtime express| |29194|New|Nor|2004-05-25|xml-namespaces not supported | |29680|New|Nor|2004-06-18|str:replace with EL does not work with string 1.1.| |30050|Ass|Maj|2004-07-12|Explicit dependency to Xalan breaks JSTL xml tags | |30427|New|Nor|2004-08-01|Response contents can be truncated prematurely | |30840|Ass|Min|2004-08-25|String-examples web.xml taglib uri | |31009|New|Nor|2004-09-02|io:http tag caches JSPWriter | |31084|New|Nor|2004-09-07|fmt charset problem when data come from database (| |31529|New|Enh|2004-10-04|allow string arg to given in body, not just in att| |31859|New|Enh|2004-10-23|Add filename based Content-ID to attachments and u| |31869|New|Enh|2004-10-24|Allow DataHandler attachments in the attach tag | |32857|New|Nor|2004-12-28|Documentation is wrong about getChomp and getPrech| |32904|New|Maj|2004-12-31|<i18n:formatDate /> does not handle locale changes| |33032|New|Nor|2005-01-11|string() works incorrectly in conjunction with sco| |33684|New|Nor|2005-02-22|Formatting Currency numbers : no currency symbol .| |33934|New|Cri|2005-03-09|[standard] memory leak in jstl c:set tag | |34137|New|Nor|2005-03-22|getAttribute using iterate reuses bodycontent on 2| |34249|New|Nor|2005-03-31|datagrid example 8 data boundary bug | |34317|New|Enh|2005-04-05|Allow JSP tags within datagrid tag | |34703|New|Maj|2005-05-02|Invalid synchronization in PageData leads to java.| |34786|New|Nor|2005-05-06|Attachments are not cleared in between re-uses of | |34788|New|Nor|2005-05-06|Cannot set the filename of an attachment independe| |34789|New|Nor|2005-05-06|Cannot send multi-part Plain Text and HTML emails | |35569|New|Nor|2005-07-01|wordWrap does not insert the split string | |35780|New|Nor|2005-07-18|Missing attribute in mt:message tag documentation | |36709|New|Min|2005-09-19|Documentation inconsistent with servlet 2.4 spec | |36788|New|Maj|2005-09-23|str:wordWrap generates incorrect html character en| |36896|New|Nor|2005-10-03|jsp import error: url /abc/./../def not abc/def | |37990|New|Nor|2005-12-21|Changed Jaxen API breaks Taglib | |38192|New|Min|2006-01-09|Multiple uses of <io:soap> fails | |38193|Ass|Enh|2006-01-09|[RDC] BuiltIn Grammar support for Field | |38362|New|Nor|2006-01-24|<io:request url > tag is sometimes causing "java.i| |38462|New|Nor|2006-01-31|Allow direct File Upload in mailer2 | |38600|Ass|Enh|2006-02-10|[RDC] Enable RDCs to be used in X+V markup (X+RDC)| |38663|New|Nor|2006-02-15|str:string doesn't work on dynamic content | |39346|New|Nor|2006-04-19|Problems with message-tags with identical id-argu| |39480|New|Nor|2006-05-03|calling getContextClassLoader without doPriv | |39612|New|Cri|2006-05-18|Sudden Nullpointerexception in LRUCache | |39665|New|Trv|2006-05-26|Incorrect mailer configuration in documentation | |39964|New|Nor|2006-07-05|overlay dosn't support EL attributes in "with" att| |40314|New|Nor|2006-08-25|Upload taglibs using correct maven2 conventions | |41481|Inf|Reg|2007-01-27|Error when nested x:forEach loops where the inner | |42069|New|Maj|2007-04-07|datagrid is getting the ArrayList object as string| |42290|New|Nor|2007-04-28|error in tld | |42413|New|Nor|2007-05-14|[PATCH] Log Taglib enhancements | |42740|New|Nor|2007-06-26|ParseException received when date/time that is in | |43632|New|Nor|2007-10-16|NullPointerException in x:transform | |43640|New|Nor|2007-10-16|Move the tests package to JUnit | |43980|New|Nor|2007-11-28|Exception while executing xsl-examples.war in jaka| +-----+---+---+----------+--------------------------------------------------+ | Total 101 bugs | +---------------------------------------------------------------------------+ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Feb 25 07:09:12 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56278 invoked from network); 25 Feb 2008 07:09:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Feb 2008 07:09:12 -0000 Received: (qmail 76090 invoked by uid 500); 25 Feb 2008 07:09:06 -0000 Delivered-To: [email protected] Received: (qmail 76072 invoked by uid 500); 25 Feb 2008 07:09:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Tag Libraries Developers List" <taglibs-dev.jakarta.apache.org> Reply-To: "Tag Libraries Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 76033 invoked by uid 99); 25 Feb 2008 07:09:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Feb 2008 23:09:05 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Feb 2008 07:08:25 +0000 Received: by brutus.apache.org (Postfix, from userid 1007) id 8EDA3234C042; Sun, 24 Feb 2008 23:08:19 -0800 (PST) From: [email protected] To: [email protected] Subject: Bug report for Taglibs [2008/02/24] Message-Id: <[email protected]> Date: Sun, 24 Feb 2008 23:08:18 -0800 (PST) X-Virus-Checked: Checked by ClamAV on apache.org +---------------------------------------------------------------------------+ | Bugzilla Bug ID | | +---------------------------------------------------------------------+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned | | | OPN=Reopened VER=Verified (Skipped Closed/Resolved) | | | +-----------------------------------------------------------------+ | | | Severity: BLK=Blocker CRI=Critical REG=Regression MAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement TRV=Trivial | | | | +-------------------------------------------------------------+ | | | | Date Posted | | | | | +--------------------------------------------------+ | | | | | Description | | | | | | | | 3164|New|Enh|2001-08-19|Message tag should process default text in the bod| | 6347|New|Nor|2002-02-10|io:param should url encode | | 6390|New|Nor|2002-02-12|valueOf evaluates &'s to &amp; when the & was part| | 6613|New|Nor|2002-02-21|cannot use xtags:style more than one time per page| | 7893|New|Nor|2002-04-09|Attribute attributeSeparator invalid according to | | 8694|Ver|Maj|2002-05-01|Exception when trying to acces the Map.entry compo| | 8723|Ver|Nor|2002-05-02|use of xsltSystemID does not take effect if xslt a| | 9257|Ver|Nor|2002-05-20|ELParser doesn't parse non-ascii value | | 9581|Ver|Min|2002-06-03|update SQL examples to allow for the inputting of | | 9968|Ver|Maj|2002-06-18|c:url prepends path to page relative URLs | |10175|Ver|Nor|2002-06-24|Welcome file absent from standard-examples.war in | |11217|Unc|Blk|2002-07-26|Custom Tag Library Error: 'Tag library ""not found| |11347|New|Maj|2002-07-31|xtags:if test="position()!=last()" - position() & | |11361|New|Enh|2002-08-01|Allow user to create own URIResolver | |11857|New|Enh|2002-08-20|Enhancement on FormatTagSupport | |12133|New|Blk|2002-08-28|scrape not work for some urls the request for a co| |12618|New|Maj|2002-09-13|Mode attribute on xtags:template & xtags:applyTemp| |12620|New|Nor|2002-09-13|position() and last() do not work in xtags:templat| |12701|New|Enh|2002-09-16|Need to have facility in bundle tag to pass defaul| |13794|New|Blk|2002-10-20|Unable to list the tag librairies in the custom ta| |13971|New|Maj|2002-10-25|Style tag does not work with Tomcat 4 with xml or | |14214|New|Maj|2002-11-04|[PATCH] io:http - can't invoke POS | |14680|New|Enh|2002-11-19|Internationalization should have an XML implementa| |15129|New|Nor|2002-12-06|Distribution of this CTLX is unuseable | |15551|New|Nor|2002-12-19|error: output must have content-handler property | |17211|New|Blk|2003-02-19|FIX: Tomcat 4.1.x taglib pooling causes problems | |17440|Opn|Maj|2003-02-26|Using variant portion of Locale causes problems | |18198|New|Nor|2003-03-20|[PATCH] Cache - Overloading CacheUtil methods | |18499|New|Enh|2003-03-30|[cache] per cache entry lifetime | |18524|New|Nor|2003-03-31|Default bundle changed from First to Last defined | |18716|Inf|Nor|2003-04-04|XTAGS LIBRARY PROBLEM IN 4.1.18 | |19292|New|Enh|2003-04-24|request tag add the ability to store output in pag| |19754|New|Nor|2003-05-08|TLDParser web.xml and errorstag | |20725|New|Nor|2003-06-12|Incorrect property setter signature for Tag handle| |21928|New|Nor|2003-07-28|Extra space added in the return text of xtags | |22765|New|Nor|2003-08-27|Wrong values from position() and last() functions | |23363|New|Maj|2003-09-23|JNDI Taglib does not close context when using <jnd| |24715|Opn|Maj|2003-11-14|Remote SMTP server fix | |25190|New|Enh|2003-12-04|waitUntilSent attribute for send tag | |26508|New|Nor|2004-01-29|TLD names are inconsistent | |26608|New|Maj|2004-02-02|strip="true" causes exception when no tags availab| |26867|New|Maj|2004-02-11|Inconsistent behavior of <io:request> | |27323|New|Enh|2004-02-29|Remove useless tag <setrecipient> | |27597|New|Nor|2004-03-11|<mt:attach>: set Content-Type header | |27717|New|Maj|2004-03-16|<x:forEach> very slow in JSTL 1.1 | |27864|New|Enh|2004-03-22|Need ability to easily escape message text for dis| |27978|New|Nor|2004-03-26|URLTag nesting into BodyTag does not work more the| |28280|New|Nor|2004-04-08|bug in xtags:parse whith using a attribute reader | |28301|New|Nor|2004-04-08|XTags are not working for Tomcat 4.1.18 | |28814|New|Nor|2004-05-06|mt:header are ignored | |28913|New|Maj|2004-05-11|Content-Type not working properly | |29114|New|Min|2004-05-20|Error in Documentation on web related to web.xml | |29144|New|Nor|2004-05-21|Format tag attributes should allow runtime express| |29194|New|Nor|2004-05-25|xml-namespaces not supported | |29680|New|Nor|2004-06-18|str:replace with EL does not work with string 1.1.| |30050|Ass|Maj|2004-07-12|Explicit dependency to Xalan breaks JSTL xml tags | |30427|New|Nor|2004-08-01|Response contents can be truncated prematurely | |30840|Ass|Min|2004-08-25|String-examples web.xml taglib uri | |31009|New|Nor|2004-09-02|io:http tag caches JSPWriter | |31084|New|Nor|2004-09-07|fmt charset problem when data come from database (| |31529|New|Enh|2004-10-04|allow string arg to given in body, not just in att| |31859|New|Enh|2004-10-23|Add filename based Content-ID to attachments and u| |31869|New|Enh|2004-10-24|Allow DataHandler attachments in the attach tag | |32857|New|Nor|2004-12-28|Documentation is wrong about getChomp and getPrech| |32904|New|Maj|2004-12-31|<i18n:formatDate /> does not handle locale changes| |33032|New|Nor|2005-01-11|string() works incorrectly in conjunction with sco| |33684|New|Nor|2005-02-22|Formatting Currency numbers : no currency symbol .| |33934|New|Cri|2005-03-09|[standard] memory leak in jstl c:set tag | |34137|New|Nor|2005-03-22|getAttribute using iterate reuses bodycontent on 2| |34249|New|Nor|2005-03-31|datagrid example 8 data boundary bug | |34317|New|Enh|2005-04-05|Allow JSP tags within datagrid tag | |34703|New|Maj|2005-05-02|Invalid synchronization in PageData leads to java.| |34786|New|Nor|2005-05-06|Attachments are not cleared in between re-uses of | |34788|New|Nor|2005-05-06|Cannot set the filename of an attachment independe| |34789|New|Nor|2005-05-06|Cannot send multi-part Plain Text and HTML emails | |35569|New|Nor|2005-07-01|wordWrap does not insert the split string | |35780|New|Nor|2005-07-18|Missing attribute in mt:message tag documentation | |36709|New|Min|2005-09-19|Documentation inconsistent with servlet 2.4 spec | |36788|New|Maj|2005-09-23|str:wordWrap generates incorrect html character en| |36896|New|Nor|2005-10-03|jsp import error: url /abc/./../def not abc/def | |37990|New|Nor|2005-12-21|Changed Jaxen API breaks Taglib | |38192|New|Min|2006-01-09|Multiple uses of <io:soap> fails | |38193|Ass|Enh|2006-01-09|[RDC] BuiltIn Grammar support for Field | |38362|New|Nor|2006-01-24|<io:request url > tag is sometimes causing "java.i| |38462|New|Nor|2006-01-31|Allow direct File Upload in mailer2 | |38600|Ass|Enh|2006-02-10|[RDC] Enable RDCs to be used in X+V markup (X+RDC)| |38663|New|Nor|2006-02-15|str:string doesn't work on dynamic content | |39346|New|Nor|2006-04-19|Problems with message-tags with identical id-argu| |39480|New|Nor|2006-05-03|calling getContextClassLoader without doPriv | |39612|New|Cri|2006-05-18|Sudden Nullpointerexception in LRUCache | |39665|New|Trv|2006-05-26|Incorrect mailer configuration in documentation | |39964|New|Nor|2006-07-05|overlay dosn't support EL attributes in "with" att| |40314|New|Nor|2006-08-25|Upload taglibs using correct maven2 conventions | |41481|Inf|Reg|2007-01-27|Error when nested x:forEach loops where the inner | |42069|New|Maj|2007-04-07|datagrid is getting the ArrayList object as string| |42290|New|Nor|2007-04-28|error in tld | |42413|New|Nor|2007-05-14|[PATCH] Log Taglib enhancements | |42740|New|Nor|2007-06-26|ParseException received when date/time that is in | |43632|New|Nor|2007-10-16|NullPointerException in x:transform | |43640|New|Nor|2007-10-16|Move the tests package to JUnit | |43980|New|Nor|2007-11-28|Exception while executing xsl-examples.war in jaka| +-----+---+---+----------+--------------------------------------------------+ | Total 101 bugs | +---------------------------------------------------------------------------+ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Feb 28 16:09:51 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79893 invoked from network); 28 Feb 2008 16:09:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Feb 2008 16:09:51 -0000 Received: (qmail 56563 invoked by uid 500); 28 Feb 2008 16:09:46 -0000 Delivered-To: [email protected] Received: (qmail 56391 invoked by uid 500); 28 Feb 2008 16:09:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Tag Libraries Developers List" <taglibs-dev.jakarta.apache.org> Reply-To: "Tag Libraries Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 56380 invoked by uid 99); 28 Feb 2008 16:09:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Feb 2008 08:09:46 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO gv-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Feb 2008 16:09:12 +0000 Received: by gv-out-0910.google.com with SMTP id c6so2379337gvd.24 for <[email protected]>; Thu, 28 Feb 2008 08:09:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=hPE8+hNo0uJrcqBt2sVI30EEZZTJv8ZM9ikHNA6033Y=; b=RYyXi2PLnkG1lbmJTjm4UxNRqP+WGYtTkbEi+dCs6u+lQto9kAJPLsEjrfx1r9qIWD17fojjojfqhFLQ6Jg+V1cHpja6vgOKjpmZpsht5tZ0ktkU07F9NwfTKuiTtOvUy3Kqm6DYhKv3R5Jv1RgFee2k5UhJ6yyHw1DLDWzSKfs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JlMdlmBHwhTirPkA3WGVwhakl6KEWOEC5eOuPKj8+2pH+6/pJEPkvT041yRrv0CJpzNJB7D97IfbPG8p1P5zMYB5NrbvMLo8CvIJJ8Ls32YEQOA+gu5Gwn+OenTQnHGQQhGnNaXewO78od0D3bLkAp9orwr2G3hksAlOYjQBtLE= Received: by 161.129.204.104 with SMTP id q1mr9605662wal.98.1204214958963; Thu, 28 Feb 2008 08:09:18 -0800 (PST) Received: by 161.129.204.104 with HTTP; Thu, 28 Feb 2008 08:09:18 -0800 (PST) Message-ID: <[email protected]> Date: Thu, 28 Feb 2008 08:09:18 -0800 From: "Henri Yandell" <[email protected]> To: "Tag Libraries Developers List" <[email protected]> Subject: Re: JSTL 1.2 implemented In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Feb 18, 2008 at 1:45 PM, Robert E Goff <[email protected]> wrote: > Hi, > > I have downloaded the 1.1.2 version of JSTL and updated it to support the > new JSTL 1.2 features. Is there a desire for a JSTL 1.2 opensource > branch? This version has currently passed the JSTL 1.2 TCK. Let me know > if there is interest for this spec update? Is anyone willing to take > these contributions and commit it? (The changes are minimal. A slight > tld change, 3 new classes, and 10 file changes.) Thanks. Absolutely interested. Very cool :) Hen --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
From [email protected] Tue Nov 2 13:12:26 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 38557 invoked by uid 99); 2 Nov 2004 13:12:26 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO ms-smtp-04.nyroc.rr.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 02 Nov 2004 05:12:25 -0800 Received: from 161.129.204.104 (roc-24-93-23-127.rochester.rr.com [161.129.204.104]) by ms-smtp-04.nyroc.rr.com (8.12.10/8.12.10) with SMTP id iA2DCKOW024763 for <[email protected]>; Tue, 2 Nov 2004 08:12:21 -0500 (EST) From: Ted Husted <[email protected]> To: <[email protected]> X-Mailer: PocoMail 3.1 (1880) - Licensed Version Date: Tue, 2 Nov 2004 08:13:55 -0500 Message-ID: <200411281355.357126@PC15> Subject: <ping/> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked =00 From [email protected] Tue Nov 2 13:34:50 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 68948 invoked by uid 99); 2 Nov 2004 13:34:50 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO,MIME_QP_LONG_LINE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO ms-smtp-04.nyroc.rr.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 02 Nov 2004 05:34:50 -0800 Received: from 161.129.204.104 (roc-24-93-23-127.rochester.rr.com [161.129.204.104]) by ms-smtp-04.nyroc.rr.com (8.12.10/8.12.10) with SMTP id iA2DYjOW014469 for <[email protected]>; Tue, 2 Nov 2004 08:34:46 -0500 (EST) From: Ted Husted <[email protected]> To: <[email protected]> X-Mailer: PocoMail 3.1 (1880) - Licensed Version Date: Tue, 2 Nov 2004 08:36:21 -0500 Message-ID: <200411283621.098291@PC15> Subject: ASF TODO Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked 1/ Post news on SF site and the forums to inform people that we are moving= to Apache. * Done as to ibatisdb 2/ Update current websites to point people to new list and issue resources * [email protected] * [email protected] * [email protected] =A0 * http://nagoya.apache.org/jira/browse/IBATIS =A0 * http://nagoya.apache.org/jira/browse/IBATsnet 3/ Open tickets on Jira for outstanding tracker items; close tracker= tickets. Close tracker and forum areas. 4/ Setup a joint website on the Apache site, perhaps like the Apache Logging= uses * Logging: http://logging.apache.org/ * Another project under incubation: http://incubator.apache.org/beehive/ 5/ (or sooner) Move CVS and SVN to Apache... 6/ Roll a release, complete incubator checklist items, and apply for= "graduation". #### COMMITTERS: The <[email protected]> is the new= "project" list, and we should all be subscribed here, in case it is needed.= (But we should be able to do most everything on the public DEV list.) From [email protected] Tue Nov 2 13:37:04 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 73136 invoked by uid 99); 2 Nov 2004 13:37:04 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO ms-smtp-04.nyroc.rr.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 02 Nov 2004 05:37:02 -0800 Received: from 161.129.204.104 (roc-24-93-23-127.rochester.rr.com [161.129.204.104]) by ms-smtp-04.nyroc.rr.com (8.12.10/8.12.10) with SMTP id iA2DasOW016466 for <[email protected]>; Tue, 2 Nov 2004 08:36:55 -0500 (EST) From: Ted Husted <[email protected]> To: <[email protected]> X-Mailer: PocoMail 3.1 (1880) - Licensed Version Date: Tue, 2 Nov 2004 08:38:30 -0500 Message-ID: <200411283830.448240@PC15> Subject: ApacheCon Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked Is anyone (besides me) going to ApacheCon this year? http://apachecon.com/2004/US/ -Ted. From [email protected] Tue Nov 2 15:13:39 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 96100 invoked by uid 99); 2 Nov 2004 15:13:39 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO cfo-msg.plumcreek.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 02 Nov 2004 07:13:34 -0800 Received: from plumcreek-MTA by cfo-msg.plumcreek.net with Novell_GroupWise; Tue, 02 Nov 2004 08:13:28 -0700 Message-Id: <[email protected]> X-Mailer: Novell GroupWise Internet Agent 6.5.2 Date: Tue, 02 Nov 2004 08:13:29 -0700 From: "Larry Meadors" <[email protected]> To: <[email protected]> Subject: Re: ApacheCon Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked Not this year, but next year...we should start planning now. :) >>> Ted Husted <[email protected]> 11/02/04 6:38 AM >>> Is anyone (besides me) going to ApacheCon this year? http://apachecon.com/2004/US/ -Ted. From [email protected] Tue Nov 2 18:26:21 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 44099 invoked by uid 99); 2 Nov 2004 18:26:21 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO mx.laposte.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 02 Nov 2004 10:26:20 -0800 Received: from noname (161.129.204.104) by mx.laposte.net (7.0.028) (authenticated as gilles.bayon) id 416DEB97007A0E93 for [email protected]; Tue, 2 Nov 2004 19:26:18 +0100 Message-ID: <03c601c4c109$4530f7c0$0200000a@noname> From: "Gilles Bayon" <[email protected]> To: <[email protected]> Subject: <ping> Date: Tue, 2 Nov 2004 19:25:02 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Checked: Checked <ping> From [email protected] Fri Nov 5 15:47:55 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 62208 invoked by uid 99); 5 Nov 2004 15:47:55 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO 161.129.204.104) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 05 Nov 2004 07:47:54 -0800 Message-ID: <[email protected]> Date: Fri, 05 Nov 2004 07:47:36 -0800 From: Clinton Begin <[email protected]> User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected], [email protected], [email protected], [email protected] Subject: Ping Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked Ping From [email protected] Wed Nov 10 15:28:43 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 89962 invoked by uid 99); 10 Nov 2004 15:28:43 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO cfo-msg.plumcreek.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 10 Nov 2004 07:28:42 -0800 Received: from plumcreek-MTA by cfo-msg.plumcreek.net with Novell_GroupWise; Wed, 10 Nov 2004 08:28:35 -0700 Message-Id: <[email protected]> X-Mailer: Novell GroupWise Internet Agent 6.5.2 Date: Wed, 10 Nov 2004 08:28:24 -0700 From: "Larry Meadors" <[email protected]> To: <[email protected]>, <[email protected]>, <[email protected]> Subject: Ping Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked Ping From [email protected] Wed Nov 10 16:14:53 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 79708 invoked by uid 99); 10 Nov 2004 16:14:53 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO cfo-msg.plumcreek.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 10 Nov 2004 08:14:53 -0800 Received: from plumcreek-MTA by cfo-msg.plumcreek.net with Novell_GroupWise; Wed, 10 Nov 2004 09:14:49 -0700 Message-Id: <[email protected]> X-Mailer: Novell GroupWise Internet Agent 6.5.2 Date: Wed, 10 Nov 2004 09:14:43 -0700 From: "Larry Meadors" <[email protected]> To: <[email protected]>, <[email protected]>, <[email protected]>, <[email protected]> Subject: Ping Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked Are these valuable messages being archived? From [email protected] Wed Nov 10 16:28:19 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 6297 invoked by uid 99); 10 Nov 2004 16:28:19 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_60_70,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO cfo-msg.plumcreek.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 10 Nov 2004 08:28:19 -0800 Received: from plumcreek-MTA by cfo-msg.plumcreek.net with Novell_GroupWise; Wed, 10 Nov 2004 09:28:16 -0700 Message-Id: <[email protected]> X-Mailer: Novell GroupWise Internet Agent 6.5.2 Date: Wed, 10 Nov 2004 09:27:55 -0700 From: "Brandon Goodin" <[email protected]> To: <[email protected]>, <[email protected]>, <[email protected]> Subject: Is this thing on? Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=__Part6141BF9B.0__=" X-Virus-Checked: Checked This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__Part6141BF9B.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit My one and only cross post. Figured I would get it in while I can still claim technological curiosity. poke... poke... Yep, it's a genuine mailing list! Brandon --=__Part6141BF9B.0__= Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Description: HTML <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1"= > <META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR></HEAD> <BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Tahoma"> <DIV>My one and only cross post. Figured I would get it in while I can = still claim technological curiosity. </DIV> <DIV>&nbsp;</DIV> <DIV>poke... poke... Yep, it's a genuine mailing list!</DIV> <DIV>&nbsp;</DIV> <DIV>Brandon</DIV></BODY></HTML> --=__Part6141BF9B.0__=-- From [email protected] Thu Nov 11 04:07:15 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 25466 invoked by uid 99); 11 Nov 2004 04:07:15 -0000 Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO cfo-msg.plumcreek.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 10 Nov 2004 20:07:15 -0800 Received: from plumcreek-MTA by cfo-msg.plumcreek.net with Novell_GroupWise; Wed, 10 Nov 2004 20:46:22 -0700 Message-Id: <[email protected]> X-Mailer: Novell GroupWise Internet Agent 6.5.2 Date: Wed, 10 Nov 2004 20:46:12 -0700 From: "Larry Meadors" <[email protected]> To: <[email protected]> Subject: Archiving? Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked Are theses lists archived? Or do we need to get that set up, too? From [email protected] Thu Nov 11 08:19:29 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 7338 invoked by uid 99); 11 Nov 2004 08:19:29 -0000 Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO mx.laposte.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 11 Nov 2004 00:19:29 -0800 Received: from potiron (161.129.204.104) by mx.laposte.net (7.0.028) (authenticated as gilles.bayon) id 416DEBA8015B4ECA for [email protected]; Thu, 11 Nov 2004 09:19:21 +0100 Message-ID: <[email protected]> (added by [email protected]) From: "Gilles Bayon" <[email protected]> To: <[email protected]> Subject: RE: Archiving? Date: Thu, 11 Nov 2004 09:19:21 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcTHo/D+Y9nL9E0HQ7qZo+I5Hq5D4AAIstIw In-Reply-To: <[email protected]> X-Virus-Checked: Checked Yes, you can see on http://[email protected]/index.html for example. From [email protected] Sat Nov 20 17:34:59 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 23782 invoked by uid 99); 20 Nov 2004 17:34:59 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.mailsnare.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 20 Nov 2004 09:34:56 -0800 Received: from [161.129.204.104] (adsl-68-94-55-89.dsl.rcsntx.swbell.net [161.129.204.104]) by mail.mailsnare.net (Postfix) with ESMTP id 00C1D10E73A for <[email protected]>; Sat, 20 Nov 2004 17:33:11 +0000 (UTC) Message-ID: <[email protected]> Date: Sat, 20 Nov 2004 11:34:46 -0600 From: Vic Cekvenich <[email protected]> User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: ot?: Cache mentoring needed Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by [email protected] X-Virus-Checked: Checked I need to write a cache for Lucene like we have for SQL. I looked arround and did not like any 3rd party caches! I do like the iBatis cache, but I too don't understand the need for getLock() when it's all syncronized. I plan to base "my" on http://www.javaspecialists.co.za/archive/Issue098.html - SoftHashMap. I Plan to make it concurent and be able to time out (via a thread that runs once a minute and enuerates the set- this way the slow System.*() calls are avoided) and be able to JMX the cache. If somone is dying to help me, this is the time. Maybe it can be a part of iBatis, a diferent package so people can cache what ever they want. To me, Lucene is just another thing I DAO. .V From [email protected] Sun Nov 21 05:09:45 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 47631 invoked by uid 99); 21 Nov 2004 05:09:45 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO cfo-msg.plumcreek.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 20 Nov 2004 21:09:40 -0800 Received: from plumcreek-MTA by cfo-msg.plumcreek.net with Novell_GroupWise; Sat, 20 Nov 2004 22:09:36 -0700 Message-Id: <[email protected]> X-Mailer: Novell GroupWise Internet Agent 6.5.2 Date: Sat, 20 Nov 2004 22:09:21 -0700 From: "Larry Meadors" <[email protected]> To: <[email protected]> Subject: Re: ot?: Cache mentoring needed Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked Why not just use that to implement the CacheController interface? You could then just plug it in to iBATIS. Larry >>> Vic Cekvenich <[email protected]> 11/20/04 10:34 AM >>> I need to write a cache for Lucene like we have for SQL. I looked arround and did not like any 3rd party caches! I do like the iBatis cache, but I too don't understand the need for getLock() when it's all syncronized. I plan to base "my" on http://www.javaspecialists.co.za/archive/Issue098.html - SoftHashMap. I Plan to make it concurent and be able to time out (via a thread that runs once a minute and enuerates the set- this way the slow System.*() calls are avoided) and be able to JMX the cache. If somone is dying to help me, this is the time. Maybe it can be a part of iBatis, a diferent package so people can cache what ever they want. To me, Lucene is just another thing I DAO. .V From [email protected] Wed Nov 24 00:52:05 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 56784 invoked by uid 99); 24 Nov 2004 00:52:05 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO ms-smtp-03.nyroc.rr.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 23 Nov 2004 16:52:03 -0800 Received: from pc18 (roc-24-93-23-127.rochester.rr.com [161.129.204.104]) by ms-smtp-03.nyroc.rr.com (8.12.10/8.12.10) with SMTP id iAO0ppNQ002861 for <[email protected]>; Tue, 23 Nov 2004 19:51:56 -0500 (EST) From: Ted Husted <[email protected]> To: <[email protected]> X-Mailer: PocoMail 3.2 (2000) - Licensed Version Date: Tue, 23 Nov 2004 19:51:50 -0500 Message-ID: <20041123195150.426009@pc18> In-Reply-To: <[email protected]> Subject: Re: Archiving? Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked On Wed, 10 Nov 2004 20:46:12 -0700, Larry Meadors wrote: >=A0Are theses lists archived? Or do we need to get that set up, too? Yes. The ASF retains the mailbox, so that we can add them to EyeBrowse, or= any other indexer that comes along. As Gilles noted, we also set it up with mail-archive.com when the lists= where created. * http://www.mail-archive.com/index.php?hunt=3Dibatis The exception being the private ppmc list. I received a request regarding adding the Java user list to GMANE.org, so I= added the other public lists as well. As Clinton pointed out, our lists haven't been added to our EyeBrowse site= yet. I setup a JIRA ticket for infrastructure. * http://nagoya.apache.org/jira/browse/INFRA-138 When this is done, it will include all the messages to date. I've recovered from ApacheCon now and will get back to work on the website= and other migration issues. -Ted. From [email protected] Sat Nov 20 22:11:29 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 17123 invoked by uid 99); 20 Nov 2004 22:11:29 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO exchange.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 20 Nov 2004 14:11:25 -0800 Received: (qmail 28393 invoked from network); 20 Nov 2004 22:11:24 -0000 Received: from localhost (HELO nagoya) (161.129.204.104) by nagoya.betaversion.org with SMTP; 20 Nov 2004 22:11:24 -0000 Message-ID: <1917370140.1100988684169.JavaMail.apache@nagoya> Date: Sat, 20 Nov 2004 14:11:24 -0800 (PST) From: "Walter So (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (IBATIS-16) returned Objects uninitiallized in ResultMap extends Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked returned Objects uninitiallized in ResultMap extends ---------------------------------------------------- Key: IBATIS-16 URL: http://nagoya.apache.org/jira/browse/IBATIS-16 Project: iBatis for Java Type: Bug Components: SQL Maps Environment: iBatis 161.129.204.1049 Reporter: Walter So Priority: Minor To duplicate this bug, you need two resultmaps: <resultMap id="a" class="Parent"> <result property="id" column="RELM_ID" /> <result property="amount" column="AMT" /> <result property="update" column="UPDATE" /> </resultMap> <resultMap id="b" class="Child" extends="a"> <result property="from" column="FROM" /> <result property="to" column="TO" /> </resultMap> And two queries: <select id="getAll" resultMap="a" > select ID, AMT, UPDATE from TABLEA </select> <select id="getSome" parameterClass="string" resultMap="b" > select ID, AMT, FROM, TO from TABLEB where ID like #value# </select> The problem is when get sql.queryForList("getSome", id) gets executed, iBatis doesn't throw an error, but returns a collection of uninitialized Child objects. After scrutiny, I learned it was because the column "UPDATE" was omitted from the query. Normally, iBatis will throw an Exception if not all the properties are mapped. In this case, it does not complain when a resultMap is an extension of another. I was able to diagnose this problem by rewriting the "b" resultMap without "extends". -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira From [email protected] Wed Nov 24 15:50:25 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 70446 invoked by uid 99); 24 Nov 2004 15:50:25 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from exchange.sun.com (HELO exchange.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 24 Nov 2004 07:50:23 -0800 Received: (qmail 18039 invoked from network); 24 Nov 2004 15:50:19 -0000 Received: from localhost (HELO nagoya) (161.129.204.104) by nagoya.betaversion.org with SMTP; 24 Nov 2004 15:50:19 -0000 Message-ID: <1394866147.1101311419196.JavaMail.apache@nagoya> Date: Wed, 24 Nov 2004 07:50:19 -0800 (PST) From: "nilesh (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (IBATIS-17) Generic SQL Map Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked Generic SQL Map --------------- Key: IBATIS-17 URL: http://nagoya.apache.org/jira/browse/IBATIS-17 Project: iBatis for Java Type: Bug Components: SQL Maps Reporter: nilesh Priority: Minor I created a generic SQL Map like below. I get a SQL stmt from somewhere and trying to use iBatis SQLMap just to execute the SQL. I'll provide the complete select stmt. <select id="custom_sqlstmt" parameterClass="java.util.HashMap" resultClass="java.util.HashMap"> $custom_sql$ </select> First call goes thro and comes back with proper results. But when I try to execute a different SQL using this same SQL Map, it gives me some mapping exceptions. Looking at the exception, all I can think of is that, sql map internally keeps the resultset metadata's structure somewhere in the cache and use the same information again for the subsequent sql calls. In above case, since I provide a different SQL stmt each time, resultset metadata would be different per call. And as a result, when sqlmap tries to map the result using old structure, it throws mapping exceptions. Is there any work around to resolve this issue? Thanks in advance for your help! - Nilesh - -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira From [email protected] Fri Nov 26 10:15:41 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 86630 invoked by uid 99); 26 Nov 2004 10:15:41 -0000 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,FROM_ENDS_IN_NUMS,HTML_20_30,HTML_FONT_INVISIBLE,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from web60503.mail.yahoo.com (HELO web60503.mail.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 26 Nov 2004 02:15:38 -0800 Received: (qmail 11901 invoked by uid 60001); 26 Nov 2004 10:15:35 -0000 Message-ID: <[email protected]> Received: from [161.129.204.104] by web60503.mail.yahoo.com via HTTP; Fri, 26 Nov 2004 18:15:34 CST Date: Fri, 26 Nov 2004 18:15:34 +0800 (CST) From: Mok Bill <[email protected]> Subject: JPetStore: Run time error To: [email protected] MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-474629813-1101464134=:8407" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked --0-474629813-1101464134=:8407 Content-Type: text/plain; charset=big5 Content-Transfer-Encoding: 8bit I tried to recompile JPetStore using JBuilder6 and build a war file. I successfully compiled and built the war. But when I deploy to tomcat 5.0, and run the JSP, it return the following error. Can anybody help? type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Exception creating bean of class com.ibatis.jpetstore.presentation.CatalogBean: {1} org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825) org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758) org.apache.jsp.catalog.Main_jsp._jspService(Main_jsp.java:347) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069) org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) javax.servlet.http.HttpServlet.service(HttpServlet.java:689) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:122) --------------------------------- ºô¤W¦¬­µ¾÷¡BGames¡BWebcam¡B»y­µ¹ï¸Ü... ¥þ·s Yahoo! Messenger http://messenger.yahoo.com.hk --0-474629813-1101464134=:8407 Content-Type: text/html; charset=big5 Content-Transfer-Encoding: 8bit <DIV> <P><B><FONT style="BACKGROUND-COLOR: #525d76" color=#ffffff>I tried to recompile JPetStore using JBuilder6 and build a war file.</FONT></B></P> <P><STRONG><FONT style="BACKGROUND-COLOR: #525d76" color=#ffffff>I successfully compiled and built the war.</FONT></STRONG></P> <P>But when I deploy to tomcat 5.0, and run the JSP, it return the following error.</P> <P>Can anybody help?</P> <P><B><FONT style="BACKGROUND-COLOR: #525d76" color=#ffffff>type</FONT></B> Exception report</P> <P><B><FONT style="BACKGROUND-COLOR: #525d76" color=#ffffff>message</FONT></B> <U></U></P> <P><B><FONT style="BACKGROUND-COLOR: #525d76" color=#ffffff>description</FONT></B> <U>The server encountered an internal error () that prevented it from fulfilling this request.</U></P> <P><B><FONT style="BACKGROUND-COLOR: #525d76" color=#ffffff>exception</FONT></B> <PRE>javax.servlet.ServletException: Exception creating bean of class com.ibatis.jpetstore.presentation.CatalogBean: {1} org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825) org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758) org.apache.jsp.catalog.Main_jsp._jspService(Main_jsp.java:347) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069) org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) javax.servlet.http.HttpServlet.service(HttpServlet.java:689) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:122) </PRE></DIV><p><hr size=1 noshade> ºô¤W¦¬­µ¾÷¡BGames¡BWebcam¡B»y­µ¹ï¸Ü...<br> ¥þ·s Yahoo! Messenger<br> <a href="http://hk.rd.yahoo.com/messenger/mail_tagline/*http://hk.messenger.yahoo.com/features/all.html" target="_blank"><b> http://messenger.yahoo.com.hk</a> --0-474629813-1101464134=:8407-- From [email protected] Sat Nov 27 06:47:23 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 92938 invoked by uid 99); 27 Nov 2004 06:47:23 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from exchange.sun.com (HELO exchange.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 26 Nov 2004 22:47:22 -0800 Received: (qmail 23689 invoked from network); 27 Nov 2004 06:47:20 -0000 Received: from localhost (HELO nagoya) (161.129.204.104) by nagoya.betaversion.org with SMTP; 27 Nov 2004 06:47:20 -0000 Message-ID: <518205441.1101538040669.JavaMail.apache@nagoya> Date: Fri, 26 Nov 2004 22:47:20 -0800 (PST) From: "Clinton Begin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (IBATIS-17) Generic SQL Map In-Reply-To: <1394866147.1101311419196.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked [ http://nagoya.apache.org/jira/browse/IBATIS-17?page=history ] Clinton Begin updated IBATIS-17: -------------------------------- Version: 2.0.8 > Generic SQL Map > --------------- > > Key: IBATIS-17 > URL: http://nagoya.apache.org/jira/browse/IBATIS-17 > Project: iBatis for Java > Type: Bug > Components: SQL Maps > Versions: 2.0.8 > Reporter: nilesh > Priority: Minor > > I created a generic SQL Map like below. I get a SQL stmt from somewhere and trying to use iBatis SQLMap just to execute the SQL. I'll provide the complete select stmt. > <select id="custom_sqlstmt" parameterClass="java.util.HashMap" resultClass="java.util.HashMap"> > $custom_sql$ > </select> > First call goes thro and comes back with proper results. But when I try to execute a different SQL using this same SQL Map, it gives me some mapping exceptions. Looking at the exception, all I can think of is that, sql map internally keeps the resultset metadata's structure somewhere in the cache and use the same information again for the subsequent sql calls. In above case, since I provide a different SQL stmt each time, resultset metadata would be different per call. And as a result, when sqlmap tries to map the result using old structure, it throws mapping exceptions. > Is there any work around to resolve this issue? Thanks in advance for your help! > - Nilesh - -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira From [email protected] Sat Nov 27 06:58:24 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 621 invoked by uid 99); 27 Nov 2004 06:58:24 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from exchange.sun.com (HELO exchange.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 26 Nov 2004 22:58:23 -0800 Received: (qmail 23767 invoked from network); 27 Nov 2004 06:58:22 -0000 Received: from localhost (HELO nagoya) (161.129.204.104) by nagoya.betaversion.org with SMTP; 27 Nov 2004 06:58:22 -0000 Message-ID: <1460078463.1101538702139.JavaMail.apache@nagoya> Date: Fri, 26 Nov 2004 22:58:22 -0800 (PST) From: "Clinton Begin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (IBATIS-17) Generic SQL Map In-Reply-To: <1394866147.1101311419196.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked [ http://nagoya.apache.org/jira/browse/IBATIS-17?page=history ] Clinton Begin closed IBATIS-17: ------------------------------- Assign To: Clinton Begin Resolution: Fixed Fix Version: 2.0.8 This was originally a feature of the beta releases. Unfortunately due to a number of serious performance and design considerations, it was removed. Dynamic result maps and parameter maps are not supported. This will be reconsidered for a future release as a feature request. > Generic SQL Map > --------------- > > Key: IBATIS-17 > URL: http://nagoya.apache.org/jira/browse/IBATIS-17 > Project: iBatis for Java > Type: Bug > Components: SQL Maps > Versions: 2.0.8 > Reporter: nilesh > Assignee: Clinton Begin > Priority: Minor > Fix For: 2.0.8 > > I created a generic SQL Map like below. I get a SQL stmt from somewhere and trying to use iBatis SQLMap just to execute the SQL. I'll provide the complete select stmt. > <select id="custom_sqlstmt" parameterClass="java.util.HashMap" resultClass="java.util.HashMap"> > $custom_sql$ > </select> > First call goes thro and comes back with proper results. But when I try to execute a different SQL using this same SQL Map, it gives me some mapping exceptions. Looking at the exception, all I can think of is that, sql map internally keeps the resultset metadata's structure somewhere in the cache and use the same information again for the subsequent sql calls. In above case, since I provide a different SQL stmt each time, resultset metadata would be different per call. And as a result, when sqlmap tries to map the result using old structure, it throws mapping exceptions. > Is there any work around to resolve this issue? Thanks in advance for your help! > - Nilesh - -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira From [email protected] Sat Nov 27 06:58:35 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 826 invoked by uid 99); 27 Nov 2004 06:58:35 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from exchange.sun.com (HELO exchange.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 26 Nov 2004 22:58:35 -0800 Received: (qmail 23776 invoked from network); 27 Nov 2004 06:58:33 -0000 Received: from localhost (HELO nagoya) (161.129.204.104) by nagoya.betaversion.org with SMTP; 27 Nov 2004 06:58:33 -0000 Message-ID: <1446409841.1101538713789.JavaMail.apache@nagoya> Date: Fri, 26 Nov 2004 22:58:33 -0800 (PST) From: "Clinton Begin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (IBATIS-16) returned Objects uninitiallized in ResultMap extends In-Reply-To: <1917370140.1100988684169.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked [ http://nagoya.apache.org/jira/browse/IBATIS-16?page=history ] Clinton Begin closed IBATIS-16: ------------------------------- Assign To: Clinton Begin Resolution: Cannot Reproduce Fix Version: 2.0.8 Could not recreate this problem using the exact test case provided. It might be a problem specific to a driver. > returned Objects uninitiallized in ResultMap extends > ---------------------------------------------------- > > Key: IBATIS-16 > URL: http://nagoya.apache.org/jira/browse/IBATIS-16 > Project: iBatis for Java > Type: Bug > Components: SQL Maps > Environment: iBatis 161.129.204.1049 > Reporter: Walter So > Assignee: Clinton Begin > Priority: Minor > Fix For: 2.0.8 > > To duplicate this bug, you need two resultmaps: > <resultMap id="a" class="Parent"> > <result property="id" column="RELM_ID" /> > <result property="amount" column="AMT" /> > <result property="update" column="UPDATE" /> > </resultMap> > <resultMap id="b" class="Child" extends="a"> > <result property="from" column="FROM" /> > <result property="to" column="TO" /> > </resultMap> > And two queries: > <select id="getAll" resultMap="a" > > select ID, AMT, UPDATE > from TABLEA > </select> > <select id="getSome" parameterClass="string" resultMap="b" > > select ID, AMT, FROM, TO > from TABLEB > where ID like #value# > </select> > The problem is when get sql.queryForList("getSome", id) gets executed, iBatis doesn't throw an error, but returns a collection of uninitialized Child objects. After scrutiny, I learned it was because the column "UPDATE" was omitted from the query. Normally, iBatis will throw an Exception if not all the properties are mapped. In this case, it does not complain when a resultMap is an extension of another. > I was able to diagnose this problem by rewriting the "b" resultMap without "extends". -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira From [email protected] Sat Nov 27 06:58:36 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 923 invoked by uid 99); 27 Nov 2004 06:58:36 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from exchange.sun.com (HELO exchange.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 26 Nov 2004 22:58:35 -0800 Received: (qmail 23785 invoked from network); 27 Nov 2004 06:58:34 -0000 Received: from localhost (HELO nagoya) (161.129.204.104) by nagoya.betaversion.org with SMTP; 27 Nov 2004 06:58:34 -0000 Message-ID: <333600705.1101538714379.JavaMail.apache@nagoya> Date: Fri, 26 Nov 2004 22:58:34 -0800 (PST) From: "Clinton Begin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Reopened: (IBATIS-17) Generic SQL Map In-Reply-To: <1394866147.1101311419196.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked [ http://nagoya.apache.org/jira/browse/IBATIS-17?page=history ] Clinton Begin reopened IBATIS-17: --------------------------------- > Generic SQL Map > --------------- > > Key: IBATIS-17 > URL: http://nagoya.apache.org/jira/browse/IBATIS-17 > Project: iBatis for Java > Type: Bug > Components: SQL Maps > Versions: 2.0.8 > Reporter: nilesh > Assignee: Clinton Begin > Priority: Minor > Fix For: 2.0.8 > > I created a generic SQL Map like below. I get a SQL stmt from somewhere and trying to use iBatis SQLMap just to execute the SQL. I'll provide the complete select stmt. > <select id="custom_sqlstmt" parameterClass="java.util.HashMap" resultClass="java.util.HashMap"> > $custom_sql$ > </select> > First call goes thro and comes back with proper results. But when I try to execute a different SQL using this same SQL Map, it gives me some mapping exceptions. Looking at the exception, all I can think of is that, sql map internally keeps the resultset metadata's structure somewhere in the cache and use the same information again for the subsequent sql calls. In above case, since I provide a different SQL stmt each time, resultset metadata would be different per call. And as a result, when sqlmap tries to map the result using old structure, it throws mapping exceptions. > Is there any work around to resolve this issue? Thanks in advance for your help! > - Nilesh - -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira From [email protected] Sat Nov 27 06:58:36 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 949 invoked by uid 99); 27 Nov 2004 06:58:36 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from exchange.sun.com (HELO exchange.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 26 Nov 2004 22:58:36 -0800 Received: (qmail 23794 invoked from network); 27 Nov 2004 06:58:34 -0000 Received: from localhost (HELO nagoya) (161.129.204.104) by nagoya.betaversion.org with SMTP; 27 Nov 2004 06:58:34 -0000 Message-ID: <399464669.1101538714938.JavaMail.apache@nagoya> Date: Fri, 26 Nov 2004 22:58:34 -0800 (PST) From: "Clinton Begin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (IBATIS-17) Generic SQL Map In-Reply-To: <1394866147.1101311419196.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked [ http://nagoya.apache.org/jira/browse/IBATIS-17?page=history ] Clinton Begin closed IBATIS-17: ------------------------------- Resolution: Won't Fix > Generic SQL Map > --------------- > > Key: IBATIS-17 > URL: http://nagoya.apache.org/jira/browse/IBATIS-17 > Project: iBatis for Java > Type: Bug > Components: SQL Maps > Versions: 2.0.8 > Reporter: nilesh > Assignee: Clinton Begin > Priority: Minor > Fix For: 2.0.8 > > I created a generic SQL Map like below. I get a SQL stmt from somewhere and trying to use iBatis SQLMap just to execute the SQL. I'll provide the complete select stmt. > <select id="custom_sqlstmt" parameterClass="java.util.HashMap" resultClass="java.util.HashMap"> > $custom_sql$ > </select> > First call goes thro and comes back with proper results. But when I try to execute a different SQL using this same SQL Map, it gives me some mapping exceptions. Looking at the exception, all I can think of is that, sql map internally keeps the resultset metadata's structure somewhere in the cache and use the same information again for the subsequent sql calls. In above case, since I provide a different SQL stmt each time, resultset metadata would be different per call. And as a result, when sqlmap tries to map the result using old structure, it throws mapping exceptions. > Is there any work around to resolve this issue? Thanks in advance for your help! > - Nilesh - -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira From [email protected] Sat Nov 27 06:58:38 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 1069 invoked by uid 99); 27 Nov 2004 06:58:38 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from exchange.sun.com (HELO exchange.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 26 Nov 2004 22:58:38 -0800 Received: (qmail 23803 invoked from network); 27 Nov 2004 06:58:37 -0000 Received: from localhost (HELO nagoya) (161.129.204.104) by nagoya.betaversion.org with SMTP; 27 Nov 2004 06:58:37 -0000 Message-ID: <475276263.1101538717106.JavaMail.apache@nagoya> Date: Fri, 26 Nov 2004 22:58:37 -0800 (PST) From: "Clinton Begin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (IBATIS-15) returned Objects uninitiallized in ResultMap extends Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked [ http://nagoya.apache.org/jira/browse/IBATIS-15?page=history ] Clinton Begin reassigned IBATIS-15: ----------------------------------- Assign To: Clinton Begin > returned Objects uninitiallized in ResultMap extends > ---------------------------------------------------- > > Key: IBATIS-15 > URL: http://nagoya.apache.org/jira/browse/IBATIS-15 > Project: iBatis for Java > Type: Bug > Environment: iBatis 161.129.204.1049 > Reporter: Walter So > Assignee: Clinton Begin > Priority: Minor > > To duplicate this bug, you need two resultmaps: > <resultMap id="a" class="Parent"> > <result property="id" column="RELM_ID" /> > <result property="amount" column="AMT" /> > <result property="update" column="UPDATE" /> > </resultMap> > <resultMap id="b" class="Child" extends="a"> > <result property="from" column="FROM" /> > <result property="to" column="TO" /> > </resultMap> > And two queries: > <select id="getAll" resultMap="a" > > select ID, AMT, UPDATE > from TABLEA > </select> > <select id="getSome" parameterClass="string" resultMap="b" > > select ID, AMT, FROM, TO > from TABLEB > where ID like #value# > </select> > The problem is when get sql.queryForList("getSome", id) gets executed, iBatis doesn't throw an error, but returns a collection of uninitialized Child objects. After scrutiny, I learned it was because the column "UPDATE" was omitted from the query. Normally, iBatis will throw an Exception if not all the properties are mapped. In this case, it does not complain when a resultMap is an extension of another. > I was able to diagnose this problem by rewriting the "b" resultMap without "extends". -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira From [email protected] Sat Nov 27 06:58:40 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 1147 invoked by uid 99); 27 Nov 2004 06:58:40 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from exchange.sun.com (HELO exchange.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 26 Nov 2004 22:58:39 -0800 Received: (qmail 23809 invoked from network); 27 Nov 2004 06:58:38 -0000 Received: from localhost (HELO nagoya) (161.129.204.104) by nagoya.betaversion.org with SMTP; 27 Nov 2004 06:58:38 -0000 Message-ID: <841748651.1101538718500.JavaMail.apache@nagoya> Date: Fri, 26 Nov 2004 22:58:38 -0800 (PST) From: "Clinton Begin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (IBATIS-12) INOUT parameters to proc not retrieved properly In-Reply-To: <997145205.1100833829300.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked [ http://nagoya.apache.org/jira/browse/IBATIS-12?page=history ] Clinton Begin closed IBATIS-12: ------------------------------- Assign To: Clinton Begin Resolution: Fixed Fix Version: 2.0.8 Fixed as described. > INOUT parameters to proc not retrieved properly > ----------------------------------------------- > > Key: IBATIS-12 > URL: http://nagoya.apache.org/jira/browse/IBATIS-12 > Project: iBatis for Java > Type: Bug > Components: SQL Maps > Reporter: Clinton Begin > Assignee: Clinton Begin > Fix For: 2.0.8 > > When calling a stored-proc with INOUT parameters, ibatis assigns the value of the nth parameter to the nth INOUT parameter. > This is fine if all the INOUT parameters come first, but breaks if they don't. > The broken code is in PropertyAccessPlan.setProperties(). "values" is an array of all the parameter values but "propertyNames" and "setters" only defin the OUTPUT parameters. > public void setProperties(Object object, Object[] values) { > try { > Object[] arg = new Object[1]; > for (int i = 0; i < propertyNames.length; i++) { > arg[0] = values[i]; > try { > setters[i].invoke(object, arg); > } catch (Throwable t) { > throw ClassInfo.unwrapThrowable(t); > } > } > } catch (Throwable t) { > throw new NestedRuntimeException("Error setting properties of '" + object + "'. Cause: " + t, t); > } > } > <procedure id="insertData" parameterMap="insertData-map"> > {call w_ins_data(?,?,?,?,?,?,?,?) } > </procedure> > <parameterMap id="insertData-map" class="com.xxx.Data"> > <parameter property="id" mode="INOUT" jdbcType="NUMERIC" javaType="long" nullValue="0"/> > <parameter property="title" jdbcType="VARCHAR" javaType="java.lang.String"/> > <parameter property="moeId" jdbcType="NUMERIC" javaType="long"/> > <parameter property="hasComputer" jdbcType="SMALLINT" javaType="boolean"/> > <parameter property="maxFoo" jdbcType="NUMERIC" javaType="int"/> > <parameter property="active" mode="INOUT" jdbcType="SMALLINT" javaType="int" nullValue="0"/> > <parameter property="location" jdbcType="VARCHAR" javaType="java.lang.String"/> > <parameter property="otherInfo" jdbcType="VARCHAR" javaType="java.lang.String"/> > </parameterMap> > com.ibatis.common.jdbc.exception.NestedSQLException: > --- The error occurred in com/xxx/web/persistence/ibatis/sqlmap/xml/ecm.xml. > --- The error occurred while applying a parameter map. > --- Check the exam-centre-manager.insertData-map. > --- Check the output parameters. > --- Cause: com.ibatis.common.exception.NestedRuntimeException: Error setting properties of 'com.xxx.Data@f3c5c4'. Cause: java.lang.IllegalArgumentException: argument type mismatch > Caused by: java.lang.IllegalArgumentException: argument type mismatch > Caused by: com.ibatis.common.exception.NestedRuntimeException: Error setting properties of 'com.xxx.Data@f3c5c4'. Cause: java.lang.IllegalArgumentException: argument type mismatch > Caused by: java.lang.IllegalArgumentException: argument type mismatch > at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeUpdate(GeneralStatement.java:89) > at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.update(SqlMapExecutorDelegate.java:315) > at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.update(SqlMapSessionImpl.java:74) > at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.update(SqlMapClientImpl.java:49) > at com.xxx.persistence.ibatis.sqlmap.BaseDaoImpl.executeUpdate(BaseDaoImpl.java:290) > at com.xxx.persistence.ibatis.sqlmap.OurStuffDaoImpl.insertData(OurStuffDaoImpl.java:299) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at com.ibatis.dao.engine.impl.DaoProxy.invoke(DaoProxy.java:64) > at $Proxy82.insertData(Unknown Source) > at com.xxx.persistence.OurStuffTest.insertSomeDatas(OurStuffTest.java:252) > at com.xxx.persistence.OurStuffTest.testDataList(OurStuffTest.java:93) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > Caused by: com.ibatis.common.exception.NestedRuntimeException: Error setting properties of 'com.xxx.Data@f3c5c4'. Cause: java.lang.IllegalArgumentException: argument type mismatch > Caused by: java.lang.IllegalArgumentException: argument type mismatch > at com.ibatis.sqlmap.engine.accessplan.PropertyAccessPlan.setProperties(PropertyAccessPlan.java:51) > at com.ibatis.sqlmap.engine.exchange.JavaBeanDataExchange.setData(JavaBeanDataExchange.java:126) > at com.ibatis.sqlmap.engine.mapping.parameter.BasicParameterMap.refreshParameterObjectValues(BasicParameterMap.java:140) > at com.ibatis.sqlmap.engine.mapping.statement.ProcedureStatement.postProcessParameterObject(ProcedureStatement.java:26) > at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeUpdate(GeneralStatement.java:77) > ... 42 more > Caused by: java.lang.IllegalArgumentException: argument type mismatch > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at com.ibatis.sqlmap.engine.accessplan.PropertyAccessPlan.setProperties(PropertyAccessPlan.java:45) > ... 46 more > Caused by: > com.ibatis.common.exception.NestedRuntimeException: Error setting properties of 'com.xxx.Data@f3c5c4'. Cause: java.lang.IllegalArgumentException: argument type mismatch > Caused by: java.lang.IllegalArgumentException: argument type mismatch > at com.ibatis.sqlmap.engine.accessplan.PropertyAccessPlan.setProperties(PropertyAccessPlan.java:51) > at com.ibatis.sqlmap.engine.exchange.JavaBeanDataExchange.setData(JavaBeanDataExchange.java:126) > at com.ibatis.sqlmap.engine.mapping.parameter.BasicParameterMap.refreshParameterObjectValues(BasicParameterMap.java:140) > at com.ibatis.sqlmap.engine.mapping.statement.ProcedureStatement.postProcessParameterObject(ProcedureStatement.java:26) > at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeUpdate(GeneralStatement.java:77) > at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.update(SqlMapExecutorDelegate.java:315) > at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.update(SqlMapSessionImpl.java:74) > at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.update(SqlMapClientImpl.java:49) > at com.xxx.persistence.ibatis.sqlmap.BaseDaoImpl.executeUpdate(BaseDaoImpl.java:290) > at com.xxx.persistence.ibatis.sqlmap.OurStuffDaoImpl.insertData(OurStuffDaoImpl.java:299) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at com.ibatis.dao.engine.impl.DaoProxy.invoke(DaoProxy.java:64) > at $Proxy82.insertData(Unknown Source) > at com.xxx.persistence.OurStuffTest.insertSomeDatas(OurStuffTest.java:252) > at com.xxx.persistence.OurStuffTest.testDataList(OurStuffTest.java:93) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > Caused by: java.lang.IllegalArgumentException: argument type mismatch > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at com.ibatis.sqlmap.engine.accessplan.PropertyAccessPlan.setProperties(PropertyAccessPlan.java:45) > ... 46 more > Caused by: > java.lang.IllegalArgumentException: argument type mismatch > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at com.ibatis.sqlmap.engine.accessplan.PropertyAccessPlan.setProperties(PropertyAccessPlan.java:45) > at com.ibatis.sqlmap.engine.exchange.JavaBeanDataExchange.setData(JavaBeanDataExchange.java:126) > at com.ibatis.sqlmap.engine.mapping.parameter.BasicParameterMap.refreshParameterObjectValues(BasicParameterMap.java:140) > at com.ibatis.sqlmap.engine.mapping.statement.ProcedureStatement.postProcessParameterObject(ProcedureStatement.java:26) > at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeUpdate(GeneralStatement.java:77) > at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.update(SqlMapExecutorDelegate.java:315) > at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.update(SqlMapSessionImpl.java:74) > at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.update(SqlMapClientImpl.java:49) > at com.xxx.persistence.ibatis.sqlmap.BaseDaoImpl.executeUpdate(BaseDaoImpl.java:290) > at com.xxx.persistence.ibatis.sqlmap.OurStuffDaoImpl.insertData(OurStuffDaoImpl.java:299) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at com.ibatis.dao.engine.impl.DaoProxy.invoke(DaoProxy.java:64) > at $Proxy82.insertData(Unknown Source) > at com.xxx.persistence.OurStuffTest.insertSomeDatas(OurStuffTest.java:252) > at com.xxx.persistence.OurStuffTest.testDataList(OurStuffTest.java:93) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira From [email protected] Sat Nov 27 06:58:41 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 1170 invoked by uid 99); 27 Nov 2004 06:58:41 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from exchange.sun.com (HELO exchange.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 26 Nov 2004 22:58:40 -0800 Received: (qmail 23818 invoked from network); 27 Nov 2004 06:58:39 -0000 Received: from localhost (HELO nagoya) (161.129.204.104) by nagoya.betaversion.org with SMTP; 27 Nov 2004 06:58:39 -0000 Message-ID: <1387466803.1101538719093.JavaMail.apache@nagoya> Date: Fri, 26 Nov 2004 22:58:39 -0800 (PST) From: "Clinton Begin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Deleted: (IBATIS-15) returned Objects uninitiallized in ResultMap extends Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked [ http://nagoya.apache.org/jira/browse/IBATIS-15?page=history ] Clinton Begin deleted IBATIS-15: -------------------------------- > returned Objects uninitiallized in ResultMap extends > ---------------------------------------------------- > > Key: IBATIS-15 > URL: http://nagoya.apache.org/jira/browse/IBATIS-15 > Project: iBatis for Java > Type: Bug > Environment: iBatis 161.129.204.1049 > Reporter: Walter So > Assignee: Clinton Begin > Priority: Minor > > To duplicate this bug, you need two resultmaps: > <resultMap id="a" class="Parent"> > <result property="id" column="RELM_ID" /> > <result property="amount" column="AMT" /> > <result property="update" column="UPDATE" /> > </resultMap> > <resultMap id="b" class="Child" extends="a"> > <result property="from" column="FROM" /> > <result property="to" column="TO" /> > </resultMap> > And two queries: > <select id="getAll" resultMap="a" > > select ID, AMT, UPDATE > from TABLEA > </select> > <select id="getSome" parameterClass="string" resultMap="b" > > select ID, AMT, FROM, TO > from TABLEB > where ID like #value# > </select> > The problem is when get sql.queryForList("getSome", id) gets executed, iBatis doesn't throw an error, but returns a collection of uninitialized Child objects. After scrutiny, I learned it was because the column "UPDATE" was omitted from the query. Normally, iBatis will throw an Exception if not all the properties are mapped. In this case, it does not complain when a resultMap is an extension of another. > I was able to diagnose this problem by rewriting the "b" resultMap without "extends". -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira From [email protected] Sat Nov 27 07:09:22 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 10237 invoked by uid 99); 27 Nov 2004 07:09:22 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from exchange.sun.com (HELO exchange.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 26 Nov 2004 23:09:21 -0800 Received: (qmail 23899 invoked from network); 27 Nov 2004 07:09:20 -0000 Received: from localhost (HELO nagoya) (161.129.204.104) by nagoya.betaversion.org with SMTP; 27 Nov 2004 07:09:20 -0000 Message-ID: <691042556.1101539360319.JavaMail.apache@nagoya> Date: Fri, 26 Nov 2004 23:09:20 -0800 (PST) From: "Clinton Begin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (IBATIS-11) parameter type handlers have no effect In-Reply-To: <842514409.1100833824154.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked [ http://nagoya.apache.org/jira/browse/IBATIS-11?page=history ] Clinton Begin closed IBATIS-11: ------------------------------- Assign To: Clinton Begin Resolution: Cannot Reproduce Fix Version: 2.0.8 Added unit tests to verify that this works fine. > parameter type handlers have no effect > -------------------------------------- > > Key: IBATIS-11 > URL: http://nagoya.apache.org/jira/browse/IBATIS-11 > Project: iBatis for Java > Type: Bug > Components: SQL Maps > Reporter: Clinton Begin > Assignee: Clinton Begin > Fix For: 2.0.8 > > Howdy, > I got typeHandlers to work with resultMaps w/o a hitch > but when i register a handler for a field in a > parameterMap (used by an insert) it has no effect. > code is below.. > Jon > ---- > <parameterMap id="insertMap" class="Inquiry"> > <parameter property="idNumber"/> > <parameter property="SSN"/> > <parameter property="firstName" > javaType="java.lang.String" jdbcType="CHAR" > typeHandler="StringHandler" /> > <parameter property="lastName" > javaType="java.lang.String" jdbcType="CHAR" > typeHandler="StringHandler" /> > </parameterMap> > <insert id="insertInquiry" parameterMap="insertMap"> > INSERT INTO INQUIRY > (ID_NUMBER, SOCIAL_SEC_NUMBER, FIRST_NAME, > LAST_NAME) VALUES(?, ?, ?, ?) > </insert> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira From [email protected] Sat Nov 27 07:09:23 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 10335 invoked by uid 99); 27 Nov 2004 07:09:23 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from exchange.sun.com (HELO exchange.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 26 Nov 2004 23:09:23 -0800 Received: (qmail 23905 invoked from network); 27 Nov 2004 07:09:21 -0000 Received: from localhost (HELO nagoya) (161.129.204.104) by nagoya.betaversion.org with SMTP; 27 Nov 2004 07:09:21 -0000 Message-ID: <706608221.1101539361925.JavaMail.apache@nagoya> Date: Fri, 26 Nov 2004 23:09:21 -0800 (PST) From: "Clinton Begin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (IBATIS-4) setString instead of setClob method will be used In-Reply-To: <1962990948.1100833229935.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked [ http://nagoya.apache.org/jira/browse/IBATIS-4?page=history ] Clinton Begin updated IBATIS-4: ------------------------------- Attachment: iBATISClob.zip This is an example submitted by an iBATIS user to implement CLOB and BLOB support via the Custom Type Handler API. > setString instead of setClob method will be used > ------------------------------------------------ > > Key: IBATIS-4 > URL: http://nagoya.apache.org/jira/browse/IBATIS-4 > Project: iBatis for Java > Type: Bug > Components: SQL Maps > Reporter: Clinton Begin > Fix For: 2.0.8 > Attachments: iBATISClob.zip > > Hi, > I'm having a table which contains a column type of clob. > In code I use a String to represent this clob in my DTO. > Now when I set a String bigger than 32kB I get the error > that the method "setString" (of PreparedStatement) can > only accept Strings with size less than 32kB. Although > I've set the jdbcType="CLOB" and > javaType="java.lang.String" iBatis calls the "setString" > instead the "setClob" method. > To circumvent this problem I'm using now the LobHandler > of Spring, but it would be fine not have to use these > Spring classes to handle with CLOBs. > Cheers, > Martin > PS. Reading is no problem. Currently I'm developing also > with a blob. Perhaps there is the same problem. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira From [email protected] Sat Nov 27 07:09:24 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 10345 invoked by uid 99); 27 Nov 2004 07:09:24 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from exchange.sun.com (HELO exchange.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 26 Nov 2004 23:09:23 -0800 Received: (qmail 23910 invoked from network); 27 Nov 2004 07:09:22 -0000 Received: from localhost (HELO nagoya) (161.129.204.104) by nagoya.betaversion.org with SMTP; 27 Nov 2004 07:09:22 -0000 Message-ID: <1018159775.1101539362337.JavaMail.apache@nagoya> Date: Fri, 26 Nov 2004 23:09:22 -0800 (PST) From: "Clinton Begin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (IBATIS-4) setString instead of setClob method will be used In-Reply-To: <1962990948.1100833229935.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked [ http://nagoya.apache.org/jira/browse/IBATIS-4?page=history ] Clinton Begin closed IBATIS-4: ------------------------------ Assign To: Clinton Begin Resolution: Won't Fix Fix Version: 2.0.8 CLOB and BLOB aren't officially supported at this time. However, you can implement a custom type handler to achieve this. The file attached to this issue contains example implementations submitted by another user. > setString instead of setClob method will be used > ------------------------------------------------ > > Key: IBATIS-4 > URL: http://nagoya.apache.org/jira/browse/IBATIS-4 > Project: iBatis for Java > Type: Bug > Components: SQL Maps > Reporter: Clinton Begin > Assignee: Clinton Begin > Fix For: 2.0.8 > Attachments: iBATISClob.zip > > Hi, > I'm having a table which contains a column type of clob. > In code I use a String to represent this clob in my DTO. > Now when I set a String bigger than 32kB I get the error > that the method "setString" (of PreparedStatement) can > only accept Strings with size less than 32kB. Although > I've set the jdbcType="CLOB" and > javaType="java.lang.String" iBatis calls the "setString" > instead the "setClob" method. > To circumvent this problem I'm using now the LobHandler > of Spring, but it would be fine not have to use these > Spring classes to handle with CLOBs. > Cheers, > Martin > PS. Reading is no problem. Currently I'm developing also > with a blob. Perhaps there is the same problem. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira From [email protected] Sat Nov 27 07:20:21 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 20909 invoked by uid 99); 27 Nov 2004 07:20:21 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from exchange.sun.com (HELO exchange.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 26 Nov 2004 23:20:21 -0800 Received: (qmail 23993 invoked from network); 27 Nov 2004 07:20:20 -0000 Received: from localhost (HELO nagoya) (161.129.204.104) by nagoya.betaversion.org with SMTP; 27 Nov 2004 07:20:20 -0000 Message-ID: <1643830808.1101540020134.JavaMail.apache@nagoya> Date: Fri, 26 Nov 2004 23:20:20 -0800 (PST) From: "Clinton Begin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (IBATIS-6) Inline parameter map syntax In-Reply-To: <159381286.1100833465593.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked [ http://nagoya.apache.org/jira/browse/IBATIS-6?page=history ] Clinton Begin closed IBATIS-6: ------------------------------ Assign To: Clinton Begin Resolution: Cannot Reproduce Fix Version: 2.0.8 Unit tests confirm that this works. Make sure you're using 2.0.7 or higher. PS: Don't use quotes on inline values as was done here: #WPIName,jdbcType="CHAR"#, > Inline parameter map syntax > --------------------------- > > Key: IBATIS-6 > URL: http://nagoya.apache.org/jira/browse/IBATIS-6 > Project: iBatis for Java > Type: Bug > Components: SQL Maps > Reporter: Clinton Begin > Assignee: Clinton Begin > Fix For: 2.0.8 > > The following xml produces an exception. > <insert id="insertLocationType" > parameterClass="geoLocation"> > insert into LocationType > values ( #locationName#, > #countryCode,jdbcType=CHAR#, > #region,jdbcType=CHAR#, > #geoReference,jdbcType=NUMERIC#, > #latitude,javaType=double,jdbcType=NUMERIC#, > #longitude,javaType=double,jdbcType=NUMERIC#, > #locationAbbrev,jdbcType=VARCHAR#, > #locationTypeCode,jdbcType=CHAR#, > #WPIName,jdbcType="CHAR"#, > #noLongerInUse,jdbcType=VARCHAR,handler=charBooleanHandler#, > #description,jdbcType=VARCHAR#, > #shortDescription,jdbcType=VARCHAR#, > #remark,jdbcType=VARCHAR#, > #createdBy,jdbcType=VARCHAR#, > #creationDate,jdbcType=DATETIME#, > #modifiedBy,jdbcType=VARCHAR#, > #modificationDate,jdbcType=DATETIME#, > #modificationServer,jdbcType=VARCHAR# > ) > </insert> > Caused by: com.ibatis.sqlmap.client.SqlMapException: > There was an error while > building the SqlMap instance. > --- The error occurred in > mil/navy/spawar/ncs/websked/services/data/location/mappings/GeoLocation.xml. > --- The error occurred while building an inline > parameter map. > --- Check the insertLocationType statement. > --- Check the inline parameters. > --- Cause: com.ibatis.common.beans.ProbeException: > There is no READABLE property > named 'countryCode,jdbcType=CHAR' in class > 'mil.navy.spawar.ncs.websked.pojo.data.location.GeoLocationData' > Caused by: com.ibatis.common.beans.ProbeException: > There is no READABLE property > named 'countryCode,jdbcType=CHAR' in class > 'mil.navy.spawar.ncs.websked.pojo.data.location.GeoLocationData' > at > com.ibatis.sqlmap.engine.builder.xml.XmlSqlMapClientBuilder.buildSqlMap(XmlS > qlMapClientBuilder.java:198) > at > com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(SqlMapClientB > uilder.java:61) > at at > mil.navy.spawar.ncs.websked.services.data.ws.SqlMapBuilder. > (SqlMapBuilder.java:32).null(Unknown Source) > ... 47 more > Caused by: com.ibatis.common.beans.ProbeException: > There is no READABLE property > named 'countryCode,jdbcType=CHAR' in class > 'mil.navy.spawar.ncs.websked.pojo.data.location.GeoLocationData' > at > com.ibatis.common.beans.ClassInfo.getGetterType(ClassInfo.java:188) > at > com.ibatis.common.beans.GenericProbe.getClassPropertyTypeForGetter(GenericPr > obe.java:232) > at > com.ibatis.common.beans.GenericProbe.getPropertyTypeForGetter(GenericProbe.j > ava:142) > at > com.ibatis.sqlmap.engine.mapping.parameter.InlineParameterMapParser.resolveT > ypeHandler(InlineParameterMapParser.java:212) > at > com.ibatis.sqlmap.engine.mapping.parameter.InlineParameterMapParser.newParse > Mapping(InlineParameterMapParser.java:121) > at > com.ibatis.sqlmap.engine.mapping.parameter.InlineParameterMapParser.parseInl > ineParameterMap(InlineParameterMapParser.java:50) > at > com.ibatis.sqlmap.engine.builder.xml.XmlSqlMapClientBuilder.applyInlineParam > eterMap(XmlSqlMapClientBuilder.java:780) > at > com.ibatis.sqlmap.engine.builder.xml.XmlSqlMapClientBuilder.processSqlStatem > ent(XmlSqlMapClientBuilder.java:669) > at > com.ibatis.sqlmap.engine.builder.xml.XmlSqlMapClientBuilder.parseGeneralStat > ement(XmlSqlMapClientBuilder.java:571) > at > com.ibatis.sqlmap.engine.builder.xml.XmlSqlMapClientBuilder.parseInsert(XmlS > qlMapClientBuilder.java:465) > at > com.ibatis.sqlmap.engine.builder.xml.XmlSqlMapClientBuilder.parseSqlMap(XmlS > qlMapClientBuilder.java:430) > at > com.ibatis.sqlmap.engine.builder.xml.XmlSqlMapClientBuilder.parseSqlMapRef(X > mlSqlMapClientBuilder.java:411) > at > com.ibatis.sqlmap.engine.builder.xml.XmlSqlMapClientBuilder.parseSqlMapConfi > g(XmlSqlMapClientBuilder.java:221) > at > com.ibatis.sqlmap.engine.builder.xml.XmlSqlMapClientBuilder.buildSqlMap(XmlS > qlMapClientBuilder.java:194) > ... 49 more -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira From [email protected] Sat Nov 27 07:20:23 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 20984 invoked by uid 99); 27 Nov 2004 07:20:23 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from exchange.sun.com (HELO exchange.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 26 Nov 2004 23:20:22 -0800 Received: (qmail 24002 invoked from network); 27 Nov 2004 07:20:21 -0000 Received: from localhost (HELO nagoya) (161.129.204.104) by nagoya.betaversion.org with SMTP; 27 Nov 2004 07:20:21 -0000 Message-ID: <672080355.1101540021548.JavaMail.apache@nagoya> Date: Fri, 26 Nov 2004 23:20:21 -0800 (PST) From: "Clinton Begin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (IBATIS-8) Using queries in different files/namespaces In-Reply-To: <638035114.1100833603148.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked [ http://nagoya.apache.org/jira/browse/IBATIS-8?page=history ] Clinton Begin updated IBATIS-8: ------------------------------- Issue Type: Wish (was: Bug) > Using queries in different files/namespaces > ------------------------------------------- > > Key: IBATIS-8 > URL: http://nagoya.apache.org/jira/browse/IBATIS-8 > Project: iBatis for Java > Type: Wish > Components: SQL Maps > Reporter: Clinton Begin > > I have a query, query A. I have three files, fileA, > fileB, fileC. fileA and fileB both need to access query > A. I put query A in fileC, and try to use it from fileA > or fileB without success. I even used > fileCNamespace.query A. No luck. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira From [email protected] Sat Nov 27 07:20:24 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 21053 invoked by uid 99); 27 Nov 2004 07:20:24 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from exchange.sun.com (HELO exchange.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 26 Nov 2004 23:20:23 -0800 Received: (qmail 24008 invoked from network); 27 Nov 2004 07:20:22 -0000 Received: from localhost (HELO nagoya) (161.129.204.104) by nagoya.betaversion.org with SMTP; 27 Nov 2004 07:20:22 -0000 Message-ID: <754140334.1101540022404.JavaMail.apache@nagoya> Date: Fri, 26 Nov 2004 23:20:22 -0800 (PST) From: "Clinton Begin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (IBATIS-5) Exception for input 7 or 8 inline parameters In-Reply-To: <1156262270.1100833344388.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked [ http://nagoya.apache.org/jira/browse/IBATIS-5?page=history ] Clinton Begin closed IBATIS-5: ------------------------------ Assign To: Clinton Begin Resolution: Cannot Reproduce Fix Version: 2.0.8 Can't reproduce. I can't see how this would even be possible...there's no special logic for 7, 8 or any other number of parameters. > Exception for input 7 or 8 inline parameters > -------------------------------------------- > > Key: IBATIS-5 > URL: http://nagoya.apache.org/jira/browse/IBATIS-5 > Project: iBatis for Java > Type: Bug > Components: SQL Maps > Reporter: Clinton Begin > Assignee: Clinton Begin > Fix For: 2.0.8 > > The insert xml will throw exception with 7 or 8 inline > parameters: > <update id="createUser" parameterClass="user"> > INSERT INTO > user_table (USERID, USERNAME, PASSWORD, > SCREENNAME, STATUSID, TYPEID, ZONEID, EMAIL) > VALUES (#userid#, #username#, #password#, > #screenname#, #statusid#, #typeid#, #zoneid#, #email#) > </update> > it worked fine with other numbers of inline parameters > like: > <update id="createUser" parameterClass="user"> > INSERT INTO > user_table (USERID, USERNAME, PASSWORD) > VALUES (#userid#, #username#, #password#) > </update> > the exception will complain the first column is null > while it does have assigned value, > the exception is as follow: > [junit] xxxxx.model.User@1ce784b[ > [junit] userid=6 > [junit] username=a3 > [junit] password=bHVieDM1 > [junit] screenname=a3 > [junit] statusid=0 > [junit] typeid=0 > [junit] [email protected] > [junit] createdate=1099629593687 > [junit] zoneid=1 > [junit] ] > [junit] ------------- ---------------- --------------- > [junit] Testcase: > testCreateUser(xxxxx.persistence.UserDAOTest): Cause > d an ERROR > [junit] (SqlMapClientTemplate): data integrity > violated by SQL '(mapped statement > )'; nested exception is > com.ibatis.common.jdbc.exception.NestedSQLException: > [junit] --- The error occurred in > xxxxxpersistence/ibatis/sql/UserSQL.xml. > [junit] --- The error occurred while applying a > parameter map. > [junit] --- Check the createUser-InlineParameterMap. > [junit] --- Check the statement (update failed). > [junit] --- Cause: java.sql.SQLException: Column > 'USERID' cannot be null > [junit] > org.springframework.dao.DataIntegrityViolationException: > (SqlMapClientTem > plate): data integrity violated by SQL '(mapped > statement)'; nested exception is com. > ibatis.common.jdbc.exception.NestedSQLException: > [junit] --- The error occurred in > xxxxxpersistence/ibatis/sql/UserSQL.xml. > [junit] --- The error occurred while applying a > parameter map. > [junit] --- Check the createUser-InlineParameterMap. > [junit] --- Check the statement (update failed). > [junit] --- Cause: java.sql.SQLException: Column > 'USERID' cannot be null > [junit] > com.ibatis.common.jdbc.exception.NestedSQLException: > [junit] --- The error occurred in > xxxxxpersistence/ibatis/sql/UserSQL.xml. > [junit] --- The error occurred while applying a > parameter map. > [junit] --- Check the createUser-InlineParameterMap. > [junit] --- Check the statement (update failed). > [junit] --- Cause: java.sql.SQLException: Column > 'USERID' cannot be null > [junit] Caused by: java.sql.SQLException: Column > 'USERID' cannot be null > [junit] at > com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.execut > eUpdate(GeneralStatement.java:72) > [junit] at > com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.update(SqlMap > ExecutorDelegate.java:279) > [junit] at > com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.update(SqlMapSessi > onImpl.java:61) > [junit] at > org.springframework.orm.ibatis.SqlMapClientTemplate$11.doInSqlMapC > lient(SqlMapClientTemplate.java:282) > [junit] at > org.springframework.orm.ibatis.SqlMapClientTemplate.execute(SqlMap > ClientTemplate.java:140) > [junit] at > org.springframework.orm.ibatis.SqlMapClientTemplate.update(SqlMapC > lientTemplate.java:280) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira From [email protected] Sat Nov 27 07:31:22 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 29559 invoked by uid 99); 27 Nov 2004 07:31:22 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from exchange.sun.com (HELO exchange.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 26 Nov 2004 23:31:21 -0800 Received: (qmail 24103 invoked from network); 27 Nov 2004 07:31:19 -0000 Received: from localhost (HELO nagoya) (161.129.204.104) by nagoya.betaversion.org with SMTP; 27 Nov 2004 07:31:19 -0000 Message-ID: <1902798417.1101540679713.JavaMail.apache@nagoya> Date: Fri, 26 Nov 2004 23:31:19 -0800 (PST) From: "Clinton Begin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (IBATIS-1) Possible memory leak in LRUCacheController In-Reply-To: <600449500.1100829215515.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked [ http://nagoya.apache.org/jira/browse/IBATIS-1?page=history ] Clinton Begin closed IBATIS-1: ------------------------------ Resolution: Fixed Fix Version: 2.0.8 Fixed as suggested > Possible memory leak in LRUCacheController > ------------------------------------------ > > Key: IBATIS-1 > URL: http://nagoya.apache.org/jira/browse/IBATIS-1 > Project: iBatis for Java > Type: Bug > Components: SQL Maps > Reporter: Clinton Begin > Assignee: Clinton Begin > Fix For: 2.0.8 > > In LRUCacheController, it looks like if you call getObject > and the key is not in the cache, the key will get left in > the set, and only half of the cache will be flushed on the > following putObject command. > This has the net effect of growing the cache by one for > every two puts over the cacheSize. > I think the offending code is below: > public Object getObject(CacheModel cacheModel, > Object key) { > keyList.remove(key); > keyList.add(key); > return cache.get(key); > } > Consider a fix: > public Object getObject(CacheModel cacheModel, > Object key) { > Object result = cache.get(key); > keyList.remove(key); > if (result != null) { > keyList.add(key); > } > return result; > } > --------------------------------------------------- > Date: 2004-11-05 11:15 > Sender: btomasini > Logged In: YES > user_id=595884 > Also consider a simpler approach for an LRU cache. Less code. > http://javaalmanac.com/egs/java.util/coll_Cache.html > Ben -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira From [email protected] Sat Nov 27 07:31:22 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 29566 invoked by uid 99); 27 Nov 2004 07:31:22 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from exchange.sun.com (HELO exchange.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 26 Nov 2004 23:31:22 -0800 Received: (qmail 24109 invoked from network); 27 Nov 2004 07:31:20 -0000 Received: from localhost (HELO nagoya) (161.129.204.104) by nagoya.betaversion.org with SMTP; 27 Nov 2004 07:31:20 -0000 Message-ID: <117033768.1101540680718.JavaMail.apache@nagoya> Date: Fri, 26 Nov 2004 23:31:20 -0800 (PST) From: "Clinton Begin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (IBATIS-7) Cache size of 1 disables caching In-Reply-To: <1786391547.1100833466040.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked [ http://nagoya.apache.org/jira/browse/IBATIS-7?page=history ] Clinton Begin closed IBATIS-7: ------------------------------ Assign To: Clinton Begin Resolution: Fixed Fix Version: 2.0.8 Fixed. > Cache size of 1 disables caching > -------------------------------- > > Key: IBATIS-7 > URL: http://nagoya.apache.org/jira/browse/IBATIS-7 > Project: iBatis for Java > Type: Bug > Components: SQL Maps > Reporter: Clinton Begin > Assignee: Clinton Begin > Fix For: 2.0.8 > > When a value of 1 is specified for the size property of a > cacheModel then caching is disabled and iBATIS will > always go to the database to run the query rather than > pull the single cached object out of the cache. An > example cache model that is affected by this problem is > shown at the end of this message. I have not tested to > see if the same problem occurs for FIFO cache models, > but it does occur with a LRU cache model. > This should not be the case since it makes sense to > have a cache size of 1 if a select statement does not > take any parameters and always returns the exact same > results. > As a work around for this bug I have had to set the > cache size to 2 which then enables caching. > Sample cache model: > <cacheModel id="allProductsCache" type="LRU"> > <flushInterval hours="24"/> > <property name="size" value="1" /> > </cacheModel> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira From [email protected] Sat Nov 27 07:53:23 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 50264 invoked by uid 99); 27 Nov 2004 07:53:23 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from exchange.sun.com (HELO exchange.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 26 Nov 2004 23:53:22 -0800 Received: (qmail 24315 invoked from network); 27 Nov 2004 07:53:21 -0000 Received: from localhost (HELO nagoya) (161.129.204.104) by nagoya.betaversion.org with SMTP; 27 Nov 2004 07:53:21 -0000 Message-ID: <1041739307.1101542001217.JavaMail.apache@nagoya> Date: Fri, 26 Nov 2004 23:53:21 -0800 (PST) From: "Clinton Begin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (IBATIS-3) Can't Update after Query with JTA transcation In-Reply-To: <253587751.1100833107925.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked [ http://nagoya.apache.org/jira/browse/IBATIS-3?page=history ] Clinton Begin closed IBATIS-3: ------------------------------ Assign To: Clinton Begin Resolution: Fixed Fix Version: 2.0.8 Use <transactionManager type="..." commitRequired="true">. This will force commit even on query, and hopefully clear the transaction properly for updates after a query. > Can't Update after Query with JTA transcation > --------------------------------------------- > > Key: IBATIS-3 > URL: http://nagoya.apache.org/jira/browse/IBATIS-3 > Project: iBatis for Java > Type: Bug > Components: SQL Maps > Reporter: Clinton Begin > Assignee: Clinton Begin > Fix For: 2.0.8 > > When I execute "update" after "select", data can't insert > into DB. But when I execute "insert" before "select", it > works. I think it's the problem about transcation. Can > anyone help me? > MyCode: > ========================================== > Reader reader = Resources.getResourceAsReader > ("com/bnslink/resources/sql-map-dao.xml"); > DaoManager manager = > DaoManagerBuilder.buildDaoManager(reader); > XCaseDao xcaseDao = (XCaseDao)manager.getDao > (XCaseDao.class); > XCase xcase = xcaseDao.getXCase(new Integer(1)); > manager.startTransaction(); > xcaseDao.inserXCase(new Integer(12345678)); > xcaseDao.updateXCase(new Integer(2222)); > manager.commitTransaction(); > manager.endTransaction(); > ========================================== > can't insert XCase Table. > My xml ,Ex: > ========================================== > <?xml version="1.0" encoding="UTF-8" ?> > <!DOCTYPE sqlMapConfig PUBLIC "-//iBATIS.com//DTD > SQL Map Config 2.0//EN" "http://www.ibatis.com/dtd/sql- > map-config-2.dtd"> > <sqlMapConfig> > <transactionManager type="JTA" > > <property name="UserTransaction" > value="javax.transaction.UserTransaction"/> > <dataSource type="JNDI"> > <property name="DataSource" > value="oracleDataSource"/> > </dataSource> > </transactionManager> > <sqlMap resource="com/bnslink/resources/XCase.xml"/> > </sqlMapConfig> > <!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL > Map 2.0//EN" "http://www.ibatis.com/dtd/sql-map- > 2.dtd"> > <sqlMap namespace="XCase" > > <select id="getXCase" parameterClass="int" > resultClass="com.ibatis.dao.bean.XCase" > > SELECT CASE_INDEX as caseIndex, > OWNER_INDEX as ownerIndex, > CREATE_DATE createDate > FROM XCASE where case_Index = #value# </select> > <insert id="insertXCase" parameterClass="int" > > INSERT INTO TBCN.XCASE ( > CASE_INDEX) > VALUES ( #value# ) > </insert> > <update id="updateXCase" parameterClass="int" > > Update XCase set OWNER_INDEX = 1 where > case_index=#value# > </update> > </sqlMap> > ========================================== > Environment: > weblogic8.1SP3 > oracle9i > windowXP > JDK1.4 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira From [email protected] Sat Nov 27 07:53:23 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 50267 invoked by uid 99); 27 Nov 2004 07:53:23 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from exchange.sun.com (HELO exchange.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 26 Nov 2004 23:53:21 -0800 Received: (qmail 24309 invoked from network); 27 Nov 2004 07:53:20 -0000 Received: from localhost (HELO nagoya) (161.129.204.104) by nagoya.betaversion.org with SMTP; 27 Nov 2004 07:53:20 -0000 Message-ID: <1205608447.1101542000179.JavaMail.apache@nagoya> Date: Fri, 26 Nov 2004 23:53:20 -0800 (PST) From: "Clinton Begin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (IBATIS-10) Connections not released with JTA Transaction In-Reply-To: <2051907098.1100833708623.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked [ http://nagoya.apache.org/jira/browse/IBATIS-10?page=history ] Clinton Begin closed IBATIS-10: ------------------------------- Assign To: Clinton Begin Resolution: Fixed Fix Version: 2.0.8 Added commitRequired attribute to transactionManager element. This will force commit even on a query (for app servers that need it). > Connections not released with JTA Transaction > --------------------------------------------- > > Key: IBATIS-10 > URL: http://nagoya.apache.org/jira/browse/IBATIS-10 > Project: iBatis for Java > Type: Bug > Components: SQL Maps > Reporter: Clinton Begin > Assignee: Clinton Begin > Fix For: 2.0.8 > > I'm using JTA with very basic configuration. I do many > database transactions, like read-only, update, insert, > and delete. In every operation I carefully add > startTransaction(), > commitTransaction() (for CRUD), and endTransaction() in > my finally block. This is pretty normal iBATIS > programming. I noticed that when many users/threads are > accessing the application, it fails and container tells > me that the connection pool has already been used up. I > tried using External JTA transaction manager, and it > seems to work fine. There seems to be a problem on how > iBATIS handles connection/resource closing when JTA is > used. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira From [email protected] Sat Nov 27 08:04:23 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 60262 invoked by uid 99); 27 Nov 2004 08:04:23 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from exchange.sun.com (HELO exchange.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 27 Nov 2004 00:04:22 -0800 Received: (qmail 24671 invoked from network); 27 Nov 2004 08:04:21 -0000 Received: from localhost (HELO nagoya) (161.129.204.104) by nagoya.betaversion.org with SMTP; 27 Nov 2004 08:04:21 -0000 Message-ID: <926488811.1101542661049.JavaMail.apache@nagoya> Date: Sat, 27 Nov 2004 00:04:21 -0800 (PST) From: "Clinton Begin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (IBATIS-9) Dynamic SQL from JavaBean property causes malformed SQL In-Reply-To: <1368416563.1100833708201.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked [ http://nagoya.apache.org/jira/browse/IBATIS-9?page=history ] Clinton Begin closed IBATIS-9: ------------------------------ Assign To: Clinton Begin Resolution: Won't Fix Fix Version: 2.0.8 I don't see any compelling reason why SQL Maps should arbitrarily insert whitespace that was not intended. The solution is to simply add a space between the tag and the SQL text...I can't see that being a problem. Wherever possible, iBATIS favors leaving the SQL as it is typed. > Dynamic SQL from JavaBean property causes malformed SQL > ------------------------------------------------------- > > Key: IBATIS-9 > URL: http://nagoya.apache.org/jira/browse/IBATIS-9 > Project: iBatis for Java > Type: Bug > Components: SQL Maps > Reporter: Clinton Begin > Assignee: Clinton Begin > Fix For: 2.0.8 > > If there is a 'staff' class (mapped via a typeAlias) > with a property 'salutation' which is of type > 'Salutation' (itself a JavaBean), then the following > dynamic SQL fragment causes an exception to be thrown: > <select id="searchForStaff" parameterClass="staff" > resultMap="staffResult"> > select * from staff > <dynamic prepend="where"> > <isNotNull prepend="and" property="lastName">last_name > = #lastName#</isNotNull> > <isNotNull prepend="and" > property="salutation">salutation_id = > #salutation.id#</isNotNull> > </dynamic> > </select> > Note the access of the 'id' property of the Salutation > JavaBean and the absence of whitespace between the > 'isNotNull' tag and its text content (the examples in > the tutorial and developer guide have whitespace, > avoiding the problem). > The exception is a SQLException stating that the SQL > command is not properly ended. Inspection of the SQL > shows that a space is omitted between the 'and' and the > condition, i.e. '... andsalutation_id = ...'. > This only occurs when it is a JavaBean property being > accessed. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira From [email protected] Sat Nov 27 08:04:26 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 60339 invoked by uid 99); 27 Nov 2004 08:04:26 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from exchange.sun.com (HELO exchange.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 27 Nov 2004 00:04:24 -0800 Received: (qmail 24677 invoked from network); 27 Nov 2004 08:04:23 -0000 Received: from localhost (HELO nagoya) (161.129.204.104) by nagoya.betaversion.org with SMTP; 27 Nov 2004 08:04:23 -0000 Message-ID: <534-917-2066.1101542663249.JavaMail.apache@nagoya> Date: Sat, 27 Nov 2004 00:04:23 -0800 (PST) From: "Clinton Begin (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (IBATIS-2) Paginated List Cache Error In-Reply-To: <463279024.1100832984148.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked [ http://nagoya.apache.org/jira/browse/IBATIS-2?page=history ] Clinton Begin closed IBATIS-2: ------------------------------ Resolution: Cannot Reproduce Fix Version: 2.0.8 No further stack trace provided. Could not reproduce. The "WERE clause" in the parameter object worries me and makes me think there might be some misuse of the framework... > Paginated List Cache Error > -------------------------- > > Key: IBATIS-2 > URL: http://nagoya.apache.org/jira/browse/IBATIS-2 > Project: iBatis for Java > Type: Bug > Components: SQL Maps > Reporter: Clinton Begin > Fix For: 2.0.8 > Attachments: trace.txt > > On returning to a Paginated List screen, i recieve the > attached (trace.txt) error. In the June version of > SqlMaps 2.0, it was returning the last field of the > ResultMap as a null value. In the October (last sunday > release), it removes the null error in the last field, > but the error is gernerraly the same. > --------------------------- > Date: 2004-10-16 21:53 > Sender: cbegin > Logged In: YES > user_id=165324 > The attached trace is incomplete. We'll need the whole > thing. > We'll also need the JavaBean definition and the result map. > Cheers, > Clinton -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira From [email protected] Sat Nov 27 15:33:44 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 12503 invoked by uid 99); 27 Nov 2004 15:33:44 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from exchange.sun.com (HELO exchange.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 27 Nov 2004 07:33:43 -0800 Received: (qmail 1251 invoked from network); 27 Nov 2004 15:33:42 -0000 Received: from localhost (HELO nagoya) (161.129.204.104) by nagoya.betaversion.org with SMTP; 27 Nov 2004 15:33:42 -0000 Message-ID: <1599978873.1101569622264.JavaMail.apache@nagoya> Date: Sat, 27 Nov 2004 07:33:42 -0800 (PST) From: "Larry Meadors (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (IBATIS-14) Lazy loading disabled without CGLIB if enhance enabled In-Reply-To: <791538548.1100834424129.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked [ http://nagoya.apache.org/jira/browse/IBATIS-14?page=history ] Larry Meadors reassigned IBATIS-14: ----------------------------------- Assign To: Larry Meadors > Lazy loading disabled without CGLIB if enhance enabled > ------------------------------------------------------ > > Key: IBATIS-14 > URL: http://nagoya.apache.org/jira/browse/IBATIS-14 > Project: iBatis for Java > Type: Bug > Components: SQL Maps > Reporter: Clinton Begin > Assignee: Larry Meadors > Priority: Minor > > Lazy loading will be completely disabled if > bytecodeEnhancement="true" but CGLIB is not on the > classpath (workaround: set bytecodeEnhancement to > false or put CGLIB on the classpath). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira From [email protected] Sat Nov 27 15:55:23 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 36322 invoked by uid 99); 27 Nov 2004 15:55:23 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from exchange.sun.com (HELO exchange.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 27 Nov 2004 07:55:23 -0800 Received: (qmail 1527 invoked from network); 27 Nov 2004 15:55:21 -0000 Received: from localhost (HELO nagoya) (161.129.204.104) by nagoya.betaversion.org with SMTP; 27 Nov 2004 15:55:21 -0000 Message-ID: <1402884301.1101570921653.JavaMail.apache@nagoya> Date: Sat, 27 Nov 2004 07:55:21 -0800 (PST) From: "Larry Meadors (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (IBATIS-14) Lazy loading disabled without CGLIB if enhance enabled In-Reply-To: <791538548.1100834424129.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked [ http://nagoya.apache.org/jira/browse/IBATIS-14?page=history ] Larry Meadors closed IBATIS-14: ------------------------------- Assign To: (was: Larry Meadors) Resolution: Cannot Reproduce I looked into this one, and it looks like the value is being set properly in the builder, and that the usage of the flags is correct: if (client.isLazyLoadingEnabled()) { if (client.isEnhancementEnabled()) { EnhancedLazyResultLoader lazy = new EnhancedLazyResultLoader(client, statementName, parameterObject, targetType); value = lazy.loadResult(); } else { LazyResultLoader lazy = new LazyResultLoader(client, statementName, parameterObject, targetType); value = lazy.loadResult(); } } else { value = getResult(client, statementName, parameterObject, targetType); } Unless there is a test case that can reproduce this, I am going to consider it fixed. > Lazy loading disabled without CGLIB if enhance enabled > ------------------------------------------------------ > > Key: IBATIS-14 > URL: http://nagoya.apache.org/jira/browse/IBATIS-14 > Project: iBatis for Java > Type: Bug > Components: SQL Maps > Reporter: Clinton Begin > Priority: Minor > > Lazy loading will be completely disabled if > bytecodeEnhancement="true" but CGLIB is not on the > classpath (workaround: set bytecodeEnhancement to > false or put CGLIB on the classpath). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira From [email protected] Sat Nov 27 17:05:59 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 15117 invoked by uid 99); 27 Nov 2004 17:05:59 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=MIME_QP_LONG_LINE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from ms-smtp-04.nyroc.rr.com (HELO ms-smtp-04.nyroc.rr.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 27 Nov 2004 09:05:58 -0800 Received: from pc18 (roc-24-93-23-127.rochester.rr.com [161.129.204.104]) by ms-smtp-04.nyroc.rr.com (8.12.10/8.12.10) with SMTP id iARH5lOX018032 for <[email protected]>; Sat, 27 Nov 2004 12:05:53 -0500 (EST) From: Ted Husted <[email protected]> To: <[email protected]> X-Mailer: PocoMail 3.2 (2000) - Licensed Version Date: Sat, 27 Nov 2004 12:05:28 -0500 Message-ID: <2004112712528.680509@pc18> Subject: ASF TODO [long] Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked [WEBSITE] I've checked-in a starter website to the incubator SVN. It's rudimentary,= but I wanted to get the ball rolling. * http://incubator.apache.org/ibatis Next, I'd like to revamp it to work more like the logging.apache.org site,= where there is a list of subprojects, and an area for each. Of course, we= would also add the online version of the documentation and JavaDocs from= ibatisnet.sf.net and ibatis.com, so that people can browse as much as= possible online. We can also go ahead and setup a bylaws page by cribbing= from other projects. I can continue setting up the site in "lazy" mode, which means I'll post= things and copy the SVN changelogs here, so people can review the progress= and question any changes. If you see anything you don't like, please don't= hesitate to bring it up here. Of course, we would also want the Forrest sources for the site checked into= our own Apache repository, when it is setup. For now, I checked it into the= wush.net repository under "site". There are two ways to update the Apache websites. One is to check a working= copy of the site into the repository and then ssh into the server and check= it out. The SVN update can also be automated as a chron job, so that it is= automatically refreshed on a regular basis. (Or triggered by a commit.) The= other way is to scp a working copy to the server. For now, I'm using scp,= but we might want to move to the svn-update approach later. [REPOSITORY] We discussed the SVN infrastructure on another thread, but I wanted to pick= it up here before we do the conversion. Subversion is very flexible, and we can set things up a number of different= ways. The CVS conversion utility will import the ibatisdb CVS like this: [cvs-module] .\branches .\tags .\trunk where the main line of development is trunk. This layout works well in= practice, and it is familiar to many teams. What we are doing in Struts is putting the subprojects (including "core") at= the root of the repository. Each subproject then has its own set of= branches, tags, and trunk folders. (Or at least trunk, leaving room for the= others if needed.) For Struts, we're trying to make each deliverable a= subproject, with it's own release cycle. The proposed plan is to then= aggregate subprojects into a Linux-style distribution. The Struts 1.3.0= distribution might be composed of (say) * Struts-Core 1.0.4 * Struts-Tags 1.0.0 * Struts-Extras 1.0.1 * Struts-Apps 1.0.5 We started moving toward the same sort of thing with the iBATIS.NET= releases. We released the core, documentation, tutorial, and petshop= applications separately. I think we could float a vote and mark these all= GA now. (We could do this on SF.NET, since the code has not been= checked-into Apache yet.) The next step might be to assemble the four GA= releases into an iBATIS.NET 1.0.0 distribution. (Which could just be a ZIP= file of the ZIP files.) In our own case, if we count the website, it looks like we have three root= subprojects: /site /java /cs Site only has one deliverable (the top-level of the website), and so it= would have trunk, et al, directly beneath /site ./trunk ./branches (if and when needed) ./tags (if and when needed) Java and cs have multiple deliverables (core, pet-app, dao, site), each of= which should have their own trunk. /java ./core ../trunk ../branches ../tags ./dao ../trunk ./jpetstore ../trunk ./site (documentation) ../trunk /cs (ditto, expect that /npetshop replaces /jpetstore) Ultimately, I believe we might want a fourth subproject, for the DataMapper= specification, especially if we start a PHP version. [PHP] I went to some PHP5 presentations at ApacheCon, and it's looking quite good.= The XML libraries are *very* much enhanced, and it's essentially an OOP= language now. iBATIS.php is something I'd like to work on in my "spare"= time, if anyone else is interested. [MONO] I also went to a very cool presentation on Mono, which is now= ready-for-primetime <http://www.mono-project.com/about/index.html >. The= founder, Miguel de Icaza, gave one of our keynote addresses. Thanks to= Novell, ASP.NET is no longer the dark-side, but is fast becoming the= brightest light in open source. The core compilers are under GPL, but other= parts may be moving to the Apache license. I imagine we want to pursue Mono= certification for iBATIS.NET, and I'll be looking into that. [WUSH.NET SVN] Meanwhile, Gilles and I might want to refactor our wush.net SVN repository= to mirror what we would [email protected]. Right now, we have everything at= the root, so we'd want to create a /cs folder and move everything under= that, and then create a "trunk" subdirectory for each deliverable, and move= what we have under that. If we do that [email protected], it will mean less= churn later when we are at Apache, and the changelog is being archived. [SF.NET CVS] How do we stand with handing the SF.NET CVS module over to infrastructure?= ApacheCon and the Thanksgiving holiday are past, so work schedules should= be getting back to normal. (At least mine is.) -Ted. From [email protected] Sat Nov 27 17:06:40 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 15605 invoked by uid 99); 27 Nov 2004 17:06:40 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=MIME_QP_LONG_LINE,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from ms-smtp-01.nyroc.rr.com (HELO ms-smtp-01.nyroc.rr.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 27 Nov 2004 09:06:39 -0800 Received: from pc18 (roc-24-93-23-127.rochester.rr.com [161.129.204.104]) by ms-smtp-01.nyroc.rr.com (8.12.10/8.12.10) with SMTP id iARH6XlU002487 for <[email protected]>; Sat, 27 Nov 2004 12:06:34 -0500 (EST) From: <[email protected]> To: <[email protected]> X-Mailer: PocoMail 3.2 (2000) - Licensed Version Date: Sat, 27 Nov 2004 09:47:10 -0600 Message-ID: <2004112712630.835491@pc18> In-Reply-To: <[email protected]> Subject: r360 - / Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked Author: ted Date: 2004-11-27 09:47:09 -0600 (Sat, 27 Nov 2004) New Revision: 360 Added: =A0 =A0LICENSE.txt =A0 =A0NOTICE.txt Log: Add LICENSE and NOTICE to root of site. Added: LICENSE.txt =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- LICENSE.txt=A0 =A0 =A0 =A0 2004-11-27 15:46:20 UTC (rev 359) +++ LICENSE.txt=A0 =A0 =A0 =A0 2004-11-27 15:47:09 UTC (rev 360) @@ -0,0 +1,174 @@ + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Apache License + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Version 2.0, January 2004 + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0http://www.apache.org/licenses/ + + =A0 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + =A0 1. Definitions. + + =A0 =A0 =A0"License" shall mean the terms and conditions for use, reproduction, + =A0 =A0 =A0and distribution as defined by Sections 1 through 9 of this= document. + + =A0 =A0 =A0"Licensor" shall mean the copyright owner or entity authorized by + =A0 =A0 =A0the copyright owner that is granting the License. + + =A0 =A0 =A0"Legal Entity" shall mean the union of the acting entity and all + =A0 =A0 =A0other entities that control, are controlled by, or are under common + =A0 =A0 =A0control with that entity. For the purposes of this definition, + =A0 =A0 =A0"control" means (i) the power, direct or indirect, to cause the + =A0 =A0 =A0direction or management of such entity, whether by contract or + =A0 =A0 =A0otherwise, or (ii) ownership of fifty percent (50%) or more of the + =A0 =A0 =A0outstanding shares, or (iii) beneficial ownership of such entity. + + =A0 =A0 =A0"You" (or "Your") shall mean an individual or Legal Entity + =A0 =A0 =A0exercising permissions granted by this License. + + =A0 =A0 =A0"Source" form shall mean the preferred form for making= modifications, + =A0 =A0 =A0including but not limited to software source code, documentation + =A0 =A0 =A0source, and configuration files. + + =A0 =A0 =A0"Object" form shall mean any form resulting from mechanical + =A0 =A0 =A0transformation or translation of a Source form, including but + =A0 =A0 =A0not limited to compiled object code, generated documentation, + =A0 =A0 =A0and conversions to other media types. + + =A0 =A0 =A0"Work" shall mean the work of authorship, whether in Source or + =A0 =A0 =A0Object form, made available under the License, as indicated by a + =A0 =A0 =A0copyright notice that is included in or attached to the work + =A0 =A0 =A0(an example is provided in the Appendix below). + + =A0 =A0 =A0"Derivative Works" shall mean any work, whether in Source or Object + =A0 =A0 =A0form, that is based on (or derived from) the Work and for which the + =A0 =A0 =A0editorial revisions, annotations, elaborations, or other= modifications + =A0 =A0 =A0represent, as a whole, an original work of authorship. For the= purposes + =A0 =A0 =A0of this License, Derivative Works shall not include works that= remain + =A0 =A0 =A0separable from, or merely link (or bind by name) to the interfaces= of, + =A0 =A0 =A0the Work and Derivative Works thereof. + + =A0 =A0 =A0"Contribution" shall mean any work of authorship, including + =A0 =A0 =A0the original version of the Work and any modifications or additions + =A0 =A0 =A0to that Work or Derivative Works thereof, that is intentionally + =A0 =A0 =A0submitted to Licensor for inclusion in the Work by the copyright= owner + =A0 =A0 =A0or by an individual or Legal Entity authorized to submit on behalf= of + =A0 =A0 =A0the copyright owner. For the purposes of this definition,= "submitted" + =A0 =A0 =A0means any form of electronic, verbal, or written communication sent + =A0 =A0 =A0to the Licensor or its representatives, including but not limited to + =A0 =A0 =A0communication on electronic mailing lists, source code control= systems, + =A0 =A0 =A0and issue tracking systems that are managed by, or on behalf of, the + =A0 =A0 =A0Licensor for the purpose of discussing and improving the Work, but + =A0 =A0 =A0excluding communication that is conspicuously marked or otherwise + =A0 =A0 =A0designated in writing by the copyright owner as "Not a= Contribution." + + =A0 =A0 =A0"Contributor" shall mean Licensor and any individual or Legal Entity + =A0 =A0 =A0on behalf of whom a Contribution has been received by Licensor and + =A0 =A0 =A0subsequently incorporated within the Work. + + =A0 2. Grant of Copyright License. Subject to the terms and conditions of + =A0 =A0 =A0this License, each Contributor hereby grants to You a perpetual, + =A0 =A0 =A0worldwide, non-exclusive, no-charge, royalty-free, irrevocable + =A0 =A0 =A0copyright license to reproduce, prepare Derivative Works of, + =A0 =A0 =A0publicly display, publicly perform, sublicense, and distribute the + =A0 =A0 =A0Work and such Derivative Works in Source or Object form. + + =A0 3. Grant of Patent License. Subject to the terms and conditions of + =A0 =A0 =A0this License, each Contributor hereby grants to You a perpetual, + =A0 =A0 =A0worldwide, non-exclusive, no-charge, royalty-free, irrevocable + =A0 =A0 =A0(except as stated in this section) patent license to make, have= made, + =A0 =A0 =A0use, offer to sell, sell, import, and otherwise transfer the Work, + =A0 =A0 =A0where such license applies only to those patent claims licensable + =A0 =A0 =A0by such Contributor that are necessarily infringed by their + =A0 =A0 =A0Contribution(s) alone or by combination of their Contribution(s) + =A0 =A0 =A0with the Work to which such Contribution(s) was submitted. If You + =A0 =A0 =A0institute patent litigation against any entity (including a + =A0 =A0 =A0cross-claim or counterclaim in a lawsuit) alleging that the Work + =A0 =A0 =A0or a Contribution incorporated within the Work constitutes direct + =A0 =A0 =A0or contributory patent infringement, then any patent licenses + =A0 =A0 =A0granted to You under this License for that Work shall terminate + =A0 =A0 =A0as of the date such litigation is filed. + + =A0 4. Redistribution. You may reproduce and distribute copies of the + =A0 =A0 =A0Work or Derivative Works thereof in any medium, with or without + =A0 =A0 =A0modifications, and in Source or Object form, provided that You + =A0 =A0 =A0meet the following conditions: + + =A0 =A0 =A0(a) You must give any other recipients of the Work or + =A0 =A0 =A0 =A0 =A0Derivative Works a copy of this License; and + + =A0 =A0 =A0(b) You must cause any modified files to carry prominent notices + =A0 =A0 =A0 =A0 =A0stating that You changed the files; and + + =A0 =A0 =A0(c) You must retain, in the Source form of any Derivative Works + =A0 =A0 =A0 =A0 =A0that You distribute, all copyright, patent, trademark, and + =A0 =A0 =A0 =A0 =A0attribution notices from the Source form of the Work, + =A0 =A0 =A0 =A0 =A0excluding those notices that do not pertain to any part of + =A0 =A0 =A0 =A0 =A0the Derivative Works; and + + =A0 =A0 =A0(d) If the Work includes a "NOTICE" text file as part of its + =A0 =A0 =A0 =A0 =A0distribution, then any Derivative Works that You distribute must + =A0 =A0 =A0 =A0 =A0include a readable copy of the attribution notices contained + =A0 =A0 =A0 =A0 =A0within such NOTICE file, excluding those notices that do not + =A0 =A0 =A0 =A0 =A0pertain to any part of the Derivative Works, in at least one + =A0 =A0 =A0 =A0 =A0of the following places: within a NOTICE text file distributed + =A0 =A0 =A0 =A0 =A0as part of the Derivative Works; within the Source form or + =A0 =A0 =A0 =A0 =A0documentation, if provided along with the Derivative Works; or, + =A0 =A0 =A0 =A0 =A0within a display generated by the Derivative Works, if and + =A0 =A0 =A0 =A0 =A0wherever such third-party notices normally appear. The contents + =A0 =A0 =A0 =A0 =A0of the NOTICE file are for informational purposes only and + =A0 =A0 =A0 =A0 =A0do not modify the License. You may add Your own attribution + =A0 =A0 =A0 =A0 =A0notices within Derivative Works that You distribute, alongside + =A0 =A0 =A0 =A0 =A0or as an addendum to the NOTICE text from the Work, provided + =A0 =A0 =A0 =A0 =A0that such additional attribution notices cannot be construed + =A0 =A0 =A0 =A0 =A0as modifying the License. + + =A0 =A0 =A0You may add Your own copyright statement to Your modifications and + =A0 =A0 =A0may provide additional or different license terms and conditions + =A0 =A0 =A0for use, reproduction, or distribution of Your modifications, or + =A0 =A0 =A0for any such Derivative Works as a whole, provided Your use, + =A0 =A0 =A0reproduction, and distribution of the Work otherwise complies with + =A0 =A0 =A0the conditions stated in this License. + + =A0 5. Submission of Contributions. Unless You explicitly state otherwise, + =A0 =A0 =A0any Contribution intentionally submitted for inclusion in the Work + =A0 =A0 =A0by You to the Licensor shall be under the terms and conditions of + =A0 =A0 =A0this License, without any additional terms or conditions. + =A0 =A0 =A0Notwithstanding the above, nothing herein shall supersede or modify + =A0 =A0 =A0the terms of any separate license agreement you may have executed + =A0 =A0 =A0with Licensor regarding such Contributions. + + =A0 6. Trademarks. This License does not grant permission to use the trade + =A0 =A0 =A0names, trademarks, service marks, or product names of the Licensor, + =A0 =A0 =A0except as required for reasonable and customary use in describing= the + =A0 =A0 =A0origin of the Work and reproducing the content of the NOTICE file. + + =A0 7. Disclaimer of Warranty. Unless required by applicable law or + =A0 =A0 =A0agreed to in writing, Licensor provides the Work (and each + =A0 =A0 =A0Contributor provides its Contributions) on an "AS IS" BASIS, + =A0 =A0 =A0WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + =A0 =A0 =A0implied, including, without limitation, any warranties or conditions + =A0 =A0 =A0of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + =A0 =A0 =A0PARTICULAR PURPOSE. You are solely responsible for determining the + =A0 =A0 =A0appropriateness of using or redistributing the Work and assume any + =A0 =A0 =A0risks associated with Your exercise of permissions under this= License. + + =A0 8. Limitation of Liability. In no event and under no legal theory, + =A0 =A0 =A0whether in tort (including negligence), contract, or otherwise, + =A0 =A0 =A0unless required by applicable law (such as deliberate and grossly + =A0 =A0 =A0negligent acts) or agreed to in writing, shall any Contributor be + =A0 =A0 =A0liable to You for damages, including any direct, indirect, special, + =A0 =A0 =A0incidental, or consequential damages of any character arising as a + =A0 =A0 =A0result of this License or out of the use or inability to use the + =A0 =A0 =A0Work (including but not limited to damages for loss of goodwill, + =A0 =A0 =A0work stoppage, computer failure or malfunction, or any and all + =A0 =A0 =A0other commercial damages or losses), even if such Contributor + =A0 =A0 =A0has been advised of the possibility of such damages. + + =A0 9. Accepting Warranty or Additional Liability. While redistributing + =A0 =A0 =A0the Work or Derivative Works thereof, You may choose to offer, + =A0 =A0 =A0and charge a fee for, acceptance of support, warranty, indemnity, + =A0 =A0 =A0or other liability obligations and/or rights consistent with this + =A0 =A0 =A0License. However, in accepting such obligations, You may act only + =A0 =A0 =A0on Your own behalf and on Your sole responsibility, not on behalf + =A0 =A0 =A0of any other Contributor, and only if You agree to indemnify, + =A0 =A0 =A0defend, and hold each Contributor harmless for any liability + =A0 =A0 =A0incurred by, or claims asserted against, such Contributor by reason + =A0 =A0 =A0of your accepting any such warranty or additional liability. Added: NOTICE.txt =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- NOTICE.txt=A0 =A0 =A0 =A0 2004-11-27 15:46:20 UTC (rev 359) +++ NOTICE.txt=A0 =A0 =A0 =A0 2004-11-27 15:47:09 UTC (rev 360) @@ -0,0 +1,3 @@ +This product includes software developed by +The Apache Software Foundation (http://www.apache.org/). + From [email protected] Sat Nov 27 17:06:50 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 15767 invoked by uid 99); 27 Nov 2004 17:06:50 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=MIME_QP_LONG_LINE,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from ms-smtp-04.nyroc.rr.com (HELO ms-smtp-04.nyroc.rr.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 27 Nov 2004 09:06:48 -0800 Received: from pc18 (roc-24-93-23-127.rochester.rr.com [161.129.204.104]) by ms-smtp-04.nyroc.rr.com (8.12.10/8.12.10) with SMTP id iARH6fOX018492 for <[email protected]>; Sat, 27 Nov 2004 12:06:43 -0500 (EST) From: <[email protected]> To: <[email protected]> X-Mailer: PocoMail 3.2 (2000) - Licensed Version Date: Sat, 27 Nov 2004 09:46:20 -0600 Message-ID: <2004112712623.385977@pc18> In-Reply-To: <[email protected]> Subject: r359 - / site site/trunk site/trunk/src site/trunk/src/documentation site/trunk/src/documentation/classes site/trunk/src/documentation/content site/trunk/src/documentation/content/xdocs site/trunk/src/documentation/content/xdocs/project site/trunk/src/doc Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked Author: ted Date: 2004-11-27 09:46:20 -0600 (Sat, 27 Nov 2004) New Revision: 359 Added: =A0 =A0site/ =A0 =A0site/trunk/ =A0 =A0site/trunk/forrest-targets.ent =A0 =A0site/trunk/forrest.properties =A0 =A0site/trunk/src/ =A0 =A0site/trunk/src/documentation/ =A0 =A0site/trunk/src/documentation/README.txt =A0 =A0site/trunk/src/documentation/classes/ =A0 =A0site/trunk/src/documentation/classes/CatalogManager.properties =A0 =A0site/trunk/src/documentation/content/ =A0 =A0site/trunk/src/documentation/content/xdocs/ =A0 =A0site/trunk/src/documentation/content/xdocs/contributors.xml =A0 =A0site/trunk/src/documentation/content/xdocs/downloads.xml =A0 =A0site/trunk/src/documentation/content/xdocs/faq.xml =A0 =A0site/trunk/src/documentation/content/xdocs/index.xml =A0 =A0site/trunk/src/documentation/content/xdocs/license.xml =A0 =A0site/trunk/src/documentation/content/xdocs/mailinglists.xml =A0 =A0site/trunk/src/documentation/content/xdocs/news.xml =A0 =A0site/trunk/src/documentation/content/xdocs/project/ =A0 =A0site/trunk/src/documentation/content/xdocs/project/builds.xml =A0 =A0site/trunk/src/documentation/content/xdocs/project/cvs.xml =A0 =A0site/trunk/src/documentation/content/xdocs/project/license.xml =A0 =A0site/trunk/src/documentation/content/xdocs/resources.xml =A0 =A0site/trunk/src/documentation/content/xdocs/site.xml =A0 =A0site/trunk/src/documentation/content/xdocs/tabs.xml =A0 =A0site/trunk/src/documentation/resources/ =A0 =A0site/trunk/src/documentation/resources/images/ =A0 =A0site/trunk/src/documentation/resources/images/Logo_25wht.gif =A0 =A0site/trunk/src/documentation/resources/images/Thumbs.db =A0 =A0site/trunk/src/documentation/resources/images/apache-incubator-logo.png =A0 =A0site/trunk/src/documentation/resources/images/apache-logo.gif =A0 =A0site/trunk/src/documentation/resources/images/ibatis-icon.gif =A0 =A0site/trunk/src/documentation/resources/images/ibatis-logo.gif =A0 =A0site/trunk/src/documentation/resources/images/icon.png =A0 =A0site/trunk/src/documentation/resources/images/incubator-logo.gif =A0 =A0site/trunk/src/documentation/resources/images/logo.jpg =A0 =A0site/trunk/src/documentation/resources/images/maven-button-1.png =A0 =A0site/trunk/src/documentation/skinconf.xml Log: Import initial website for incubator.apache.org. Added: site/trunk/forrest-targets.ent =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- site/trunk/forrest-targets.ent=A0 =A0 =A0 =A0 2004-11-21 19:10:30 UTC (rev 358) +++ site/trunk/forrest-targets.ent=A0 =A0 =A0 =A0 2004-11-27 15:46:20 UTC (rev 359) @@ -0,0 +1,174 @@ +<!-- +This build.xml snippet contains Forrest targets for Ant 1.5+. =A0It checks= that +the user has set ${forrest.home}, either in one of: + =A0build.properties + =A0project.properties + =A0ant.properties + =A0.ant.properties +or with the FORREST_HOME environment variable, and prints an informative= error +message if not found. + +Usage: +1) Copy this file to somewhere in your project. +2) Add the following to the top of your project's Ant build.xml script +(adjusting the path): + + =A0<!DOCTYPE project [ + =A0 =A0<!ENTITY forrest-targets SYSTEM "file:./forrest-targets.ent"> + =A0]> + +3) Before the closing '</project>' in your build.xml, add this: + + =A0&forrest-targets; + +This is like expanding a macro: it pulls in the contents of this file. + +A minimal build.xml would thus be: + +<!DOCTYPE project [ +<!ENTITY forrest-targets SYSTEM "file:./forrest-targets.ent"> +]> + +<project default=3D"site"> + =A0 =A0&forrest-targets; +</project> +--> + + =A0<target name=3D"site" depends=3D"forrest.init" description=3D"Generates static= HTML documentation"> + =A0 =A0<ant antfile=3D"${forrest.home}/forrest.antproxy.xml" target=3D"site"/> + =A0</target> + + =A0<target name=3D"webapp" depends=3D"forrest.init" description=3D"Generates an= unpackaged webapp of the website"> + =A0 =A0<ant antfile=3D"${forrest.home}/forrest.antproxy.xml" target=3D"webapp"/> + =A0</target> + + =A0<target name=3D"war" depends=3D"forrest.init" description=3D"Generates a .war= file containing the website"> + =A0 =A0<ant antfile=3D"${forrest.home}/forrest.antproxy.xml" target=3D"war"/> + =A0</target> + + =A0<target name=3D"validate" depends=3D"forrest.init" description=3D"Validates XML= documentation files"> + =A0 =A0<ant antfile=3D"${forrest.home}/forrest.antproxy.xml"= target=3D"validate"/> + =A0</target> + + =A0<target name=3D"forrest.init" depends=3D"forrest.sethome,= forrest.home.defined"/> + + =A0<target name=3D"forrest.sethome" depends=3D"forrest.loadenv, + =A0forrest.checkenv, forrest.checkhome, forrest.check-build.properties, + =A0forrest.check-project.properties, forrest.check-ant.properties, + =A0forrest.check-.ant.properties"/> + + =A0<target name=3D"forrest.loadenv" unless=3D"forrest.home.present"> + =A0 =A0<property environment=3D"env"/> + =A0 =A0<echo level=3D"verbose">Forrest: Got ${env.FORREST_HOME}</echo> + =A0</target> + + =A0<target name=3D"forrest.checkenv" if=3D"env.FORREST_HOME"> + =A0 =A0<echo level=3D"verbose">Found $FORREST_HOME..</echo> + =A0 =A0<property name=3D"forrest.home" location=3D"${env.FORREST_HOME}"/> + =A0 =A0<echo level=3D"verbose">forrest.home set to ${forrest.home}</echo> + =A0 =A0<available file=3D"${forrest.home}" type=3D"dir"= property=3D"forrest.home.present"/> + =A0</target> + + + =A0<target name=3D"forrest.checkhome"> + =A0 =A0<available file=3D"${forrest.home}" type=3D"dir"= property=3D"forrest.home.present"/> + =A0 =A0<available file=3D"build.properties" type=3D"file"= property=3D"build.properties.present"/> + =A0 =A0<available file=3D"project.properties" type=3D"file"= property=3D"project.properties.present"/> + =A0 =A0<available file=3D"ant.properties" type=3D"file"= property=3D"ant.properties.present"/> + =A0 =A0<available file=3D".ant.properties" type=3D"file"= property=3D".ant.properties.present"/> + =A0</target> + + =A0<!-- No we can't extract the commonalities below into an antcall'ed= target, + =A0because it wouldn't be able to set forrest.home --> + =A0<target name=3D"forrest.check-build.properties"= unless=3D"forrest.home.present" + =A0if=3D"build.properties.present"> + =A0 =A0<echo level=3D"verbose">Forrest: Checking build.properties..</echo> + =A0 =A0<loadproperties srcfile=3D"build.properties"> + =A0 =A0 =A0<filterchain> + =A0 =A0 =A0 =A0<linecontains> + =A0 =A0 =A0 =A0 =A0<contains value=3D"forrest.home"/> + =A0 =A0 =A0 =A0</linecontains> + =A0 =A0 =A0</filterchain> + =A0 =A0</loadproperties> + =A0 =A0<available file=3D"${forrest.home}" type=3D"dir"= property=3D"forrest.home.present"/> + + =A0</target> + + =A0<target name=3D"forrest.check-project.properties"= unless=3D"forrest.home.present" + =A0if=3D"project.properties.present"> + =A0 =A0<echo level=3D"verbose">Forrest: Checking project.properties..</echo> + =A0 =A0<loadproperties srcfile=3D"project.properties"> + =A0 =A0 =A0<filterchain> + =A0 =A0 =A0 =A0<linecontains> + =A0 =A0 =A0 =A0 =A0<contains value=3D"forrest.home"/> + =A0 =A0 =A0 =A0</linecontains> + =A0 =A0 =A0</filterchain> + =A0 =A0</loadproperties> + =A0 =A0<available file=3D"${forrest.home}" type=3D"dir"= property=3D"forrest.home.present"/> + =A0</target> + + =A0<target name=3D"forrest.check-ant.properties"= unless=3D"forrest.home.present" + =A0if=3D"ant.properties.present"> + =A0 =A0<echo level=3D"verbose">Forrest: Checking ant.properties..</echo> + =A0 =A0<loadproperties srcfile=3D"ant.properties"> + =A0 =A0 =A0<filterchain> + =A0 =A0 =A0 =A0<linecontains> + =A0 =A0 =A0 =A0 =A0<contains value=3D"forrest.home"/> + =A0 =A0 =A0 =A0</linecontains> + =A0 =A0 =A0</filterchain> + =A0 =A0</loadproperties> + =A0 =A0<available file=3D"${forrest.home}" type=3D"dir"= property=3D"forrest.home.present"/> + =A0</target> + + =A0<target name=3D"forrest.check-.ant.properties"= unless=3D"forrest.home.present" + =A0if=3D".ant.properties.present"> + =A0 =A0<echo level=3D"verbose">Forrest: Checking .ant.properties..</echo> + =A0 =A0<loadproperties srcfile=3D".ant.properties"> + =A0 =A0 =A0<filterchain> + =A0 =A0 =A0 =A0<linecontains> + =A0 =A0 =A0 =A0 =A0<contains value=3D"forrest.home"/> + =A0 =A0 =A0 =A0</linecontains> + =A0 =A0 =A0</filterchain> + =A0 =A0</loadproperties> + =A0 =A0<available file=3D"${forrest.home}" type=3D"dir"= property=3D"forrest.home.present"/> + =A0</target> + + =A0<target name=3D"forrest.home.defined" depends=3D"forrest.sethome"= unless=3D"forrest.home.present"> + =A0 =A0<property name=3D"path"= value=3D"${user.home}/xml-forrest/build/dist/shbat"/> + =A0 =A0<pathconvert targetos=3D"windows" property=3D"winpath"> + =A0 =A0 =A0<path> + =A0 =A0 =A0 =A0<pathelement location=3D"${path}"/> + =A0 =A0 =A0</path> + =A0 =A0</pathconvert> + =A0 =A0<pathconvert targetos=3D"unix" property=3D"unixpath"> + =A0 =A0 =A0<path> + =A0 =A0 =A0 =A0<pathelement + =A0 =A0 =A0 =A0 =A0location=3D"${path}"/> + =A0 =A0 =A0</path> + =A0 =A0</pathconvert> + + =A0 =A0<echo> + =A0 =A0 =A0---------------------------------------------- + =A0 =A0 =A0To run this target, you need Forrest installed. + =A0 =A0 =A0Please do the following: + + =A0 =A0 =A0export CVSROOT=3D:pserver:[email protected]:/home/cvspublic + =A0 =A0 =A0cvs checkout xml-forrest + =A0 =A0 =A0cd xml-forrest + =A0 =A0 =A0build =A0 =A0 =A0(Windows) + =A0 =A0 =A0./build.sh (Unix) + + =A0 =A0 =A0Then either: + + =A0 =A0 =A0- Set FORREST_HOME as the Forrest build instructions describe + =A0 =A0 =A0- Create a build.properties, with the forrest.home property pointing= to + =A0 =A0 =A0 =A0the forrest shbat directory, eg: + + =A0 =A0 =A0 =A0forrest.home=3D${winpath} =A0(Windows) + =A0 =A0 =A0 =A0forrest.home=3D${unixpath} =A0(Unix) + + =A0 =A0 =A0 =A0(adjusting the path according to where your xml-forrest is) + =A0 =A0 =A0---------------------------------------------- + =A0 =A0</echo> + =A0 =A0<fail message=3D"Need to define $${forrest.home}"/> + =A0</target> Added: site/trunk/forrest.properties =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- site/trunk/forrest.properties=A0 =A0 =A0 =A0 2004-11-21 19:10:30 UTC (rev 358) +++ site/trunk/forrest.properties=A0 =A0 =A0 =A0 2004-11-27 15:46:20 UTC (rev 359) @@ -0,0 +1,14 @@ +############## +# Properties used by forrest.build.xml for building the website +############## + +# Prints out a summary of Forrest settings for this project +#forrest.echo=3Dtrue + +# Project name (used to name .war file) +#project.name=3Dapache-ibatis-site + +# Specifies name of Forrest skin to use +#project.skin=3Dforrest-site +#project.skin=3Dforrest-css +project.skin=3Dtigris Added: site/trunk/src/documentation/README.txt =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- site/trunk/src/documentation/README.txt=A0 =A0 =A0 =A0 2004-11-21 19:10:30 UTC= (rev 358) +++ site/trunk/src/documentation/README.txt=A0 =A0 =A0 =A0 2004-11-27 15:46:20 UTC= (rev 359) @@ -0,0 +1,10 @@ +This is the base documentation directory. It usually contains two files: + +skinconf.xml =A0 =A0 # This file customizes Forrest for your project. In it,= you + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # tell forrest the project name, logo, copyright info,= etc + +sitemap.xmap =A0 =A0 # Optional. This sitemap overrides the default one= bundled + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # with Forrest. Typically, one would copy a sitemap from + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # xml-forrest/src/resources/conf/sitemap.xmap, and= customize + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # it. + Added: site/trunk/src/documentation/classes/CatalogManager.properties =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- site/trunk/src/documentation/classes/CatalogManager.properties=A0 =A0 =A0 =A0= 2004-11-21 19:10:30 UTC (rev 358) +++ site/trunk/src/documentation/classes/CatalogManager.properties=A0 =A0 =A0 =A0= 2004-11-27 15:46:20 UTC (rev 359) @@ -0,0 +1,37 @@ +# Copyright 2002-2004 The Apache Software Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# =A0 =A0 http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +#=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +# CatalogManager.properties +# +# This is the default properties file for Apache Forrest. +# This facilitates local configuration of application-specific catalogs. +# +# See the Apache Forrest documentation: +# http://forrest.apache.org/docs/your-project.html +# http://forrest.apache.org/docs/validation.html + +# verbosity ... level of messages for status/debug +# See forrest/src/core/context/WEB-INF/cocoon.xconf + +# catalogs ... list of additional catalogs to load +# =A0(Note that Apache Forrest will automatically load its own default= catalog +# =A0from src/core/context/resources/schema/catalog.xcat) +# use full pathnames +# pathname separator is always semi-colon (;) regardless of operating= system +# directory separator is always slash (/) regardless of operating system +# +#catalogs=3D/home/me/forrest/my-site/src/documentation/resources/schema/catal= og.xcat +catalogs=3D + Added: site/trunk/src/documentation/content/xdocs/contributors.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- site/trunk/src/documentation/content/xdocs/contributors.xml=A0 =A0 =A0 =A0= 2004-11-21 19:10:30 UTC (rev 358) +++ site/trunk/src/documentation/content/xdocs/contributors.xml=A0 =A0 =A0 =A0= 2004-11-27 15:46:20 UTC (rev 359) @@ -0,0 +1,31 @@ +<?xml version=3D"1.0" encoding=3D"UTF-8"?> +<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN"= "document-v12.dtd"> + +<document> + +<header> + =A0 =A0<title>Apache iBATIS Contributors</title> +</header> + +<body> + =A0 =A0<section> + =A0 =A0 =A0<title>ASF Committers</title> + =A0 =A0 =A0<table> +=A0 =A0 =A0 =A0= <tr><td><strong>Username</strong></td><td><strong>Committers</strong></td><= /tr> + =A0 =A0 =A0=A0 =A0 =A0 =A0 <tr><td>cbegin</td><td>Clinton Begin</td></tr> + =A0 =A0 =A0=A0 =A0 =A0 =A0 <tr><td>gbayon</td><td>Gilles Bayon</td></tr> + =A0 =A0 =A0=A0 =A0 =A0 =A0 <tr><td>husted</td><td>Ted Husted</td></tr> + =A0 =A0 =A0=A0 =A0 =A0 =A0 <tr><td>bgoodin</td><td>Brandon Goodin</td></tr> + =A0 =A0 =A0=A0 =A0 =A0 =A0 <tr><td>lmeadows</td><td>Larry Meadors</td></tr> + =A0 =A0 =A0 </table> + =A0 =A0</section> + + =A0 =A0</body> + + =A0 =A0<footer> + =A0 =A0=A0 =A0 =A0 =A0 <legal>Java, J2EE, and JCP are trademarks or registered= trademarks of Sun Microsystems, Inc. in the United States and other= countries.<br /> +=A0 =A0 =A0 =A0 &copy; 2004, Apache Software Foundation +=A0 =A0 =A0 =A0 </legal> + =A0 =A0</footer> + +</document> Added: site/trunk/src/documentation/content/xdocs/downloads.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- site/trunk/src/documentation/content/xdocs/downloads.xml=A0 =A0 =A0 =A0= 2004-11-21 19:10:30 UTC (rev 358) +++ site/trunk/src/documentation/content/xdocs/downloads.xml=A0 =A0 =A0 =A0= 2004-11-27 15:46:20 UTC (rev 359) @@ -0,0 +1,48 @@ +<?xml version=3D"1.0" encoding=3D"UTF-8"?> +<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN"= "document-v12.dtd"> + +<document> + +<header> + =A0 =A0<title>Apache iBATIS Downloads</title> +</header> + +<body> + +<section> +<title>Pardon our dust!</title> + =A0 =A0 =A0<p>While we complete our migration to the Apache Software Foundation,= the latest iBATIS releases are available through SourceForge.</p> +</section> + +<section> +<title>iBATIS for Java</title> + =A0 =A0 =A0<ul> + =A0 =A0 =A0 =A0<li><link= href=3D"http://prdownloads.sourceforge.net/ibatisdb/iBATIS_DBL-161.129.204.1049.zip?= download">Current release</link>=A0(Oct 2004, v2.0.7)</li> + =A0 =A0 =A0 =A0<li><link= href=3D"http://prdownloads.sourceforge.net/ibatisjpetstore/iBATIS_JPetStore-4= .0.5.zip?download">JPetstore</link>=A0(Jun 2004, v4.0.5)</li> + =A0 =A0 =A0 =A0<li><link= href=3D"http://prdownloads.sourceforge.net/ibatisdb/iBATIS-SqlMaps-2.pdf?down= load">SQL Maps Manual</link>=A0(Jun 2004)</li> + =A0 =A0 =A0 =A0<li><link= href=3D"http://prdownloads.sourceforge.net/ibatisdb/iBATIS-SqlMaps-2-Tutorial= .pdf?download">SQL Maps Tutorial</link>=A0(Jun 2004)</li> + =A0 =A0 =A0 =A0<li><link= href=3D"http://prdownloads.sourceforge.net/ibatisdb/iBATIS-DAO-2.pdf?download= ">DAO Manual</link>=A0(Jun 2004)</li> + =A0 =A0 =A0 =A0<li><link= href=3D"http://ibatis.com/common/javadocs/">JavaDocs</link>JavaDocs</li> + =A0 =A0 =A0</ul> +</section> + +<section> +<title>iBATIS for .NET</title> + =A0 =A0 =A0<ul> + =A0 =A0 =A0 =A0<li><link= href=3D"http://prdownloads.sourceforge.net/ibatisnet/iBatisNet-bin-release-1.= 0.1.321.zip">Current Release</link>=A0(Oct 2004, v1.0.1)</li> + =A0 =A0 =A0 =A0<li><link= href=3D"http://prdownloads.sourceforge.net/ibatisnet/iBatisNet-source-161.129.204.104= 21.zip?download">Current Source Release</link>=A0(Oct 2004, v1.0.1)</li> + =A0 =A0 =A0 =A0<li><link= href=3D"http://prdownloads.sourceforge.net/ibatisnet/NPetshop-1.0.0.RC1.zip?d= ownload">NPetstore Example Application</link>=A0(Oct 2004)</li> + =A0 =A0 =A0 =A0<li><link= href=3D"http://prdownloads.sourceforge.net/ibatisnet/DevGuide.pdf?download">T= utorial</link>=A0(Oct 2004, v1.0.0)</li> + =A0 =A0 =A0 =A0<li><link= href=3D"http://prdownloads.sourceforge.net/ibatisnet/DevGuide.pdf?download">D= ocumentation</link>=A0(Oct 2004, v1.0.0)</li> + =A0 =A0 =A0</ul> +</section> + +</body> + +<footer> + =A0 =A0=A0 =A0 =A0 =A0 <legal>Java, J2EE, and JCP are trademarks or registered= trademarks of Sun Microsystems, Inc. in the United States and other= countries.<br /> +=A0 =A0 =A0 =A0 &copy; 2004, Apache Software Foundation +=A0 =A0 =A0 =A0 </legal> +</footer> + +</document> \ No newline at end of file Added: site/trunk/src/documentation/content/xdocs/faq.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- site/trunk/src/documentation/content/xdocs/faq.xml=A0 =A0 =A0 =A0 2004-11-21= 19:10:30 UTC (rev 358) +++ site/trunk/src/documentation/content/xdocs/faq.xml=A0 =A0 =A0 =A0 2004-11-27= 15:46:20 UTC (rev 359) @@ -0,0 +1,36 @@ +<?xml version=3D"1.0" encoding=3D"UTF-8"?> +<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN"= "document-v12.dtd"> + +<document> + +<header> + =A0 =A0<title>Apache iBATIS FAQ</title> +</header> + +<body> + +<section> + =A0 =A0<title>Frequently_Asked_Questions</title> + =A0 =A0<p><strong>General</strong></p> + =A0 =A0 =A0<ol> + =A0 =A0 =A0 =A0<li><link href=3D"#what-is">What is IBATIS?</link></li> + =A0 =A0 =A0</ol> +</section> + +<section> + =A0 =A0<title>General</title> + =A0 =A0 =A0<dl> + =A0 =A0 =A0 =A0<dt>What is iBATIS?</dt> + =A0 =A0 =A0 =A0<dd><anchor id=3D"what-is" />=A0The iBATIS Data Mapper framework makes= it easier to use a database with Java and .NET applications. iBATIS couples= objects with stored procedures or SQL statements using a XML= descriptor.</dd> + =A0 =A0 =A0</dl> + </section> + + =A0 =A0 </body> + + =A0 =A0<footer> + =A0 =A0=A0 =A0 =A0 =A0 <legal>Java, J2EE, and JCP are trademarks or registered= trademarks of Sun Microsystems, Inc. in the United States and other= countries.<br /> +=A0 =A0 =A0 =A0 &copy; 2004, Apache Software Foundation +=A0 =A0 =A0 =A0 </legal> + =A0 =A0</footer> + +</document> \ No newline at end of file Added: site/trunk/src/documentation/content/xdocs/index.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- site/trunk/src/documentation/content/xdocs/index.xml=A0 =A0 =A0 =A0 2004-11-21= 19:10:30 UTC (rev 358) +++ site/trunk/src/documentation/content/xdocs/index.xml=A0 =A0 =A0 =A0 2004-11-27= 15:46:20 UTC (rev 359) @@ -0,0 +1,15 @@ +<?xml version=3D"1.0" encoding=3D"UTF-8"?> +<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN"= "http://apache.org/forrest/dtd/document-v12.dtd"> +<document> + =A0<header> + =A0 =A0<title>Apache iBATIS</title> + =A0</header> + =A0<body> + =A0 =A0<section> + =A0 =A0 =A0<title>Welcome to Apache iBATIS</title> + =A0 =A0 =A0<p>The iBATIS Data Mapper framework makes it easier to use a database= with Java and .NET applications. iBATIS couples objects with stored= procedures or SQL statements using a XML descriptor. </p> + =A0 =A0 =A0<p>Simplicity is the biggest advantage of the iBATIS Data Mapper over= object relational mapping tools. To use iBATIS Data Mapper you rely on your= own objects, XML, and SQL. There is little to learn that you don't already= know.</p> + =A0 =A0 =A0<p>With iBATIS Data Mapper you have the full power of both SQL and= stored procedures at your fingertips.</p> + =A0 =A0</section> + =A0</body> +</document> Added: site/trunk/src/documentation/content/xdocs/license.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- site/trunk/src/documentation/content/xdocs/license.xml=A0 =A0 =A0 =A0 2004-11-21= 19:10:30 UTC (rev 358) +++ site/trunk/src/documentation/content/xdocs/license.xml=A0 =A0 =A0 =A0 2004-11-27= 15:46:20 UTC (rev 359) @@ -0,0 +1,20 @@ +<?xml version=3D"1.0" encoding=3D"UTF-8"?> +<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN"= "document-v12.dtd"> + +<document> + +<header> + =A0 =A0<title>The Apache License</title> +</header> + +<body> + =A0 =A0<p>=A0See the <fork= href=3D"http://www.apache.org/licenses/LICENSE-2.0">License</fork>=A0for= license infomation.</p> +</body> + +<footer> + =A0 =A0<legal>Java, J2EE, and JCP are trademarks or registered trademarks of= Sun Microsystems, Inc. in the United States and other countries.<br /> +=A0 =A0 =A0 =A0 &copy; 2004, Apache Software Foundation + =A0 =A0</legal> +</footer> + +</document> Added: site/trunk/src/documentation/content/xdocs/mailinglists.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- site/trunk/src/documentation/content/xdocs/mailinglists.xml=A0 =A0 =A0 =A0= 2004-11-21 19:10:30 UTC (rev 358) +++ site/trunk/src/documentation/content/xdocs/mailinglists.xml=A0 =A0 =A0 =A0= 2004-11-27 15:46:20 UTC (rev 359) @@ -0,0 +1,47 @@ +<?xml version=3D"1.0" encoding=3D"UTF-8"?> +<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN"= "document-v12.dtd"> + +<document> + +<header> + =A0 =A0<title>Apache iBATIS Mailing Lists</title> +</header> + +<body> + + =A0 =A0<section> + =A0 =A0 =A0<title>Mailing Lists</title> + =A0 =A0 =A0<p>Use the links below to send mail to, subscribe, unsubscribe or= check the archives of the iBATIS mailing lists. + =A0 =A0 =A0Subcribing and unsubscribing is performed by simply sending a blank= email to applicable address (as linked below). + =A0 =A0 =A0</p> + =A0 =A0 =A0<table> + =A0 =A0 =A0 =A0<tr> + =A0 =A0 =A0 =A0 =A0<td><link= href=3D"mailto:[email protected]">=A0iBATIS Java Users= List</link></td> + =A0 =A0 =A0 =A0 =A0<td><link= href=3D"mailto:[email protected]">=A0Subscribe</l= ink></td> + =A0 =A0 =A0 =A0 =A0<td><link= href=3D"mailto:[email protected]">=A0Unsubscrib= e</link></td> + =A0 =A0 =A0 =A0 =A0<td><fork= href=3D"http://nagoya.apache.org/eyebrowse/SummarizeList?listName=3Dibatis-user= [email protected]">=A0Archives</fork></td> + =A0 =A0 =A0 =A0</tr> + =A0 =A0 =A0 =A0<tr> + =A0 =A0 =A0 =A0 =A0<td><link= href=3D"mailto:[email protected]">=A0iBATIS Java Users= List</link></td> + =A0 =A0 =A0 =A0 =A0<td><link= href=3D"mailto:[email protected]">=A0Subscribe</lin= k></td> + =A0 =A0 =A0 =A0 =A0<td><link= href=3D"mailto:[email protected]">=A0Unsubscribe<= /link></td> + =A0 =A0 =A0 =A0 =A0<td><fork= href=3D"http://nagoya.apache.org/eyebrowse/SummarizeList?listName=3Dibatis-user= [email protected]">=A0Archives</fork></td> + =A0 =A0 =A0 =A0</tr> + =A0 =A0 =A0 =A0<tr> + =A0 =A0 =A0 =A0 =A0<td><link href=3D"mailto:[email protected]">=A0iBATIS= Developer List</link></td> + =A0 =A0 =A0 =A0 =A0<td><link= href=3D"mailto:[email protected]">=A0Subscribe</link></= td> + =A0 =A0 =A0 =A0 =A0<td><link= href=3D"mailto:[email protected]">=A0Unsubscribe</lin= k></td> + =A0 =A0 =A0 =A0 =A0<td><fork= href=3D"http://nagoya.apache.org/eyebrowse/SummarizeList?listName=3Dibatis-dev@= incubator.apache.org">=A0Archives</fork></td> + =A0 =A0 =A0 =A0</tr> + =A0 =A0 =A0</table> + =A0 =A0</section> + +</body> + +<footer> + =A0 =A0<legal>Java, J2EE, and JCP are trademarks or registered trademarks of= Sun Microsystems, Inc. in the United States and other countries.<br /> +=A0 =A0 =A0 =A0 &copy; 2004, Apache Software Foundation + =A0 =A0</legal> +</footer> + +</document> \ No newline at end of file Added: site/trunk/src/documentation/content/xdocs/news.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- site/trunk/src/documentation/content/xdocs/news.xml=A0 =A0 =A0 =A0 2004-11-21= 19:10:30 UTC (rev 358) +++ site/trunk/src/documentation/content/xdocs/news.xml=A0 =A0 =A0 =A0 2004-11-27= 15:46:20 UTC (rev 359) @@ -0,0 +1,20 @@ +<?xml version=3D"1.0" encoding=3D"UTF-8"?> +<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN"= "http://apache.org/forrest/dtd/document-v12.dtd"> +<document> + =A0<header> + =A0 =A0<title>Apache iBATIS News</title> + =A0</header> + =A0<body> + + =A0 =A0<section> + =A0 =A0 <title>Updated Chinese Document</title> + =A0 =A0 <p>[16 Nov 2004] Huge thanks to Liutao for completely translating the= entire Java SQL Maps documentation and tutorial to Chinese!</p> + =A0 =A0</section> + + =A0 =A0<section> + =A0 =A0 <title>Happy Halloween from iBATIS and The Apache Software= Foundation</title> + =A0 =A0 <p>[31 Oct 2004] iBATIS has been voted into the Apache Incubator, and= a number of resources have been set up. Over the next few weeks, we'll be= switching over our current SourceForge resources over to Apache. </p> + =A0 =A0</section> + +</body> +</document> \ No newline at end of file Added: site/trunk/src/documentation/content/xdocs/project/builds.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- site/trunk/src/documentation/content/xdocs/project/builds.xml=A0 =A0 =A0 =A0= 2004-11-21 19:10:30 UTC (rev 358) +++ site/trunk/src/documentation/content/xdocs/project/builds.xml=A0 =A0 =A0 =A0= 2004-11-27 15:46:20 UTC (rev 359) @@ -0,0 +1,27 @@ +<?xml version=3D"1.0" encoding=3D"UTF-8"?> +<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN"= "http://apache.org/forrest/dtd/document-v12.dtd"> +<document> + =A0<header> + =A0 =A0<title>Release Builds</title> + =A0</header> + =A0<body> + + =A0=A0 =A0 =A0 =A0 <section> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <title>File extension/Browser issue!</title> + =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <p>When downloading from some mirrors with some browsers= (IE?) the archives get a .gz extension instead of .tgz. Please make sure= the files are named myfaces-1.0.5.tgz and myfaces-1.0.5-examples.tgz on= your local disk. Otherwise there could be problems on unpacking them. +Current release 1.0.5 beta +</p> +<ul> +=A0 =A0 =A0 =A0 <li>Binaries and documentation (API Doc) / myfaces-1.0.5.tgz= -->=A0<link= href=3D"http://sourceforge.net/project/showfiles.php?group_id=3D69709&amp;packa= ge_id=3D68729">sourceforge.net</link></li> +=A0 =A0 =A0 =A0 <li>Examples web application / myfaces-1.0.5-examples.tgz -->=A0<link= href=3D"http://sourceforge.net/project/showfiles.php?group_id=3D69709&amp;packa= ge_id=3D68729">sourceforge.net</link></li> +=A0 =A0 =A0 =A0 <li>Source code / myfaces-1.0.5-src.tgz -->=A0<link= href=3D"http://sourceforge.net/project/showfiles.php?group_id=3D69709&amp;packa= ge_id=3D68729">sourceforge.net</link></li> +</ul> + +<p> +Do you want to get informed on new MyFaces releases? +-->=A0<link= href=3D"http://sourceforge.net/project/filemodule_monitor.php?filemodule_id=3D6= 8729">Monitor</link> + =A0</p> + =A0=A0 =A0 =A0 =A0 </section> + +</body> +</document> \ No newline at end of file Added: site/trunk/src/documentation/content/xdocs/project/cvs.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- site/trunk/src/documentation/content/xdocs/project/cvs.xml=A0 =A0 =A0 =A0= 2004-11-21 19:10:30 UTC (rev 358) +++ site/trunk/src/documentation/content/xdocs/project/cvs.xml=A0 =A0 =A0 =A0= 2004-11-27 15:46:20 UTC (rev 359) @@ -0,0 +1,13 @@ +<?xml version=3D"1.0" encoding=3D"UTF-8"?> +<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN"= "http://apache.org/forrest/dtd/document-v12.dtd"> +<document> + =A0<header> + =A0 =A0<title>CVS</title> + =A0</header> + =A0<body> +<ul> +=A0 =A0 =A0 =A0 <li><link= href=3D"http://cvs.sourceforge.net/viewcvs.py/myfaces/">Browse the CVS= Repository</link></li> +=A0 =A0 =A0 =A0 <li><link= href=3D"http://sourceforge.net/cvs/?group_id=3D69709">Anonymous CVS= Access</link></li> +</ul> +</body> +</document> \ No newline at end of file Added: site/trunk/src/documentation/content/xdocs/project/license.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- site/trunk/src/documentation/content/xdocs/project/license.xml=A0 =A0 =A0 =A0= 2004-11-21 19:10:30 UTC (rev 358) +++ site/trunk/src/documentation/content/xdocs/project/license.xml=A0 =A0 =A0 =A0= 2004-11-27 15:46:20 UTC (rev 359) @@ -0,0 +1,11 @@ +<?xml version=3D"1.0" encoding=3D"UTF-8"?> +<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN"= "http://apache.org/forrest/dtd/document-v12.dtd"> +<document> + =A0<header> + =A0 =A0<title>License</title> + =A0</header> + =A0<body> + =A0=A0 =A0 =A0 =A0 <p>MyFaces is shipped under an OpenSource License. + =A0=A0 =A0 =A0 =A0 =A0The Apache 2.0 License can be read <link= href=3D"http://www.apache.org/licenses/LICENSE-2.0.txt">here</link>.</p> +</body> +</document> \ No newline at end of file Added: site/trunk/src/documentation/content/xdocs/resources.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- site/trunk/src/documentation/content/xdocs/resources.xml=A0 =A0 =A0 =A0= 2004-11-21 19:10:30 UTC (rev 358) +++ site/trunk/src/documentation/content/xdocs/resources.xml=A0 =A0 =A0 =A0= 2004-11-27 15:46:20 UTC (rev 359) @@ -0,0 +1,23 @@ +<?xml version=3D"1.0" encoding=3D"UTF-8"?> +<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN"= "document-v12.dtd"> + +<document> + +<header> + =A0 =A0<title>Apache iBATIS</title> +</header> + +<body> + +<p><strong><link href=3D"http://www.ibatis.com">Original iBATIS= Website</link></strong> + +</p> +</body> + +<footer> + =A0 =A0=A0 =A0 =A0 =A0 <legal>Java, J2EE, and JCP are trademarks or registered= trademarks of Sun Microsystems, Inc. in the United States and other= countries.<br /> +=A0 =A0 =A0 =A0 &copy; 2004, Apache Software Foundation +=A0 =A0 =A0 =A0 </legal> +</footer> + +</document> \ No newline at end of file Added: site/trunk/src/documentation/content/xdocs/site.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- site/trunk/src/documentation/content/xdocs/site.xml=A0 =A0 =A0 =A0 2004-11-21= 19:10:30 UTC (rev 358) +++ site/trunk/src/documentation/content/xdocs/site.xml=A0 =A0 =A0 =A0 2004-11-27= 15:46:20 UTC (rev 359) @@ -0,0 +1,24 @@ +<?xml version=3D"1.0"?> +<site label=3D"iBATIS" href=3D""= xmlns=3D"http://apache.org/forrest/linkmap/1.0"> + + =A0<about label=3D"iBATIS"> + =A0 =A0<index label=3D"Welcome" href=3D"index.html" /> + =A0 =A0<news label=3D"News" href=3D"news.html" /> + =A0 =A0<downloads label=3D"Downloads" href=3D"downloads.html" /> + =A0 =A0<license label=3D"License" href=3D"license.html" /> + =A0</about> + + =A0<documentation label=3D"Documentation"> + =A0 =A0<faq label=3D"FAQ" href=3D"faq.html" /> + =A0 =A0<resources label=3D"Resources" href=3D"resources.html" /> + =A0</documentation> + + =A0<community label=3D"Community"> + =A0 =A0<mailinglists label=3D"Mailing Lists" href=3D"mailinglists.html" /> + =A0 =A0<contributors label=3D"Contributors" href=3D"contributors.html" /> + =A0</community> + + =A0<external-refs> + =A0 =A0<xml.apache.org href=3D"http://xml.apache.org/" /> + =A0</external-refs> +</site> Added: site/trunk/src/documentation/content/xdocs/tabs.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- site/trunk/src/documentation/content/xdocs/tabs.xml=A0 =A0 =A0 =A0 2004-11-21= 19:10:30 UTC (rev 358) +++ site/trunk/src/documentation/content/xdocs/tabs.xml=A0 =A0 =A0 =A0 2004-11-27= 15:46:20 UTC (rev 359) @@ -0,0 +1,10 @@ +<?xml version=3D"1.0" encoding=3D"UTF-8"?> +<!DOCTYPE tabs PUBLIC "-//APACHE//DTD Cocoon Documentation Tab V1.0//EN"= "tab-cocoon-v10.dtd"> + +<tabs software=3D"Apache iBATIS" + =A0title=3D"Apache iBATIS" + =A0copyright=3D"Apache Software Foundation" + =A0xmlns:xlink=3D"http://www.w3.org/1999/xlink"> + + =A0<tab label=3D"Home" dir=3D""/> +</tabs> Added: site/trunk/src/documentation/resources/images/Logo_25wht.gif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (Binary files differ) Property changes on:= site/trunk/src/documentation/resources/images/Logo_25wht.gif ___________________________________________________________________ Name: svn:mime-type =A0 =A0+ application/octet-stream Added: site/trunk/src/documentation/resources/images/Thumbs.db =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (Binary files differ) Property changes on:= site/trunk/src/documentation/resources/images/Thumbs.db ___________________________________________________________________ Name: svn:mime-type =A0 =A0+ application/octet-stream Added:= site/trunk/src/documentation/resources/images/apache-incubator-logo.png =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (Binary files differ) Property changes on:= site/trunk/src/documentation/resources/images/apache-incubator-logo.png ___________________________________________________________________ Name: svn:mime-type =A0 =A0+ application/octet-stream Added: site/trunk/src/documentation/resources/images/apache-logo.gif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (Binary files differ) Property changes on:= site/trunk/src/documentation/resources/images/apache-logo.gif ___________________________________________________________________ Name: svn:mime-type =A0 =A0+ application/octet-stream Added: site/trunk/src/documentation/resources/images/ibatis-icon.gif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (Binary files differ) Property changes on:= site/trunk/src/documentation/resources/images/ibatis-icon.gif ___________________________________________________________________ Name: svn:mime-type =A0 =A0+ application/octet-stream Added: site/trunk/src/documentation/resources/images/ibatis-logo.gif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (Binary files differ) Property changes on:= site/trunk/src/documentation/resources/images/ibatis-logo.gif ___________________________________________________________________ Name: svn:mime-type =A0 =A0+ application/octet-stream Added: site/trunk/src/documentation/resources/images/icon.png =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (Binary files differ) Property changes on: site/trunk/src/documentation/resources/images/icon.png ___________________________________________________________________ Name: svn:mime-type =A0 =A0+ application/octet-stream Added: site/trunk/src/documentation/resources/images/incubator-logo.gif =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (Binary files differ) Property changes on:= site/trunk/src/documentation/resources/images/incubator-logo.gif ___________________________________________________________________ Name: svn:mime-type =A0 =A0+ application/octet-stream Added: site/trunk/src/documentation/resources/images/logo.jpg =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (Binary files differ) Property changes on: site/trunk/src/documentation/resources/images/logo.jpg ___________________________________________________________________ Name: svn:mime-type =A0 =A0+ application/octet-stream Added: site/trunk/src/documentation/resources/images/maven-button-1.png =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (Binary files differ) Property changes on:= site/trunk/src/documentation/resources/images/maven-button-1.png ___________________________________________________________________ Name: svn:mime-type =A0 =A0+ application/octet-stream Added: site/trunk/src/documentation/skinconf.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- site/trunk/src/documentation/skinconf.xml=A0 =A0 =A0 =A0 2004-11-21 19:10:30 UTC= (rev 358) +++ site/trunk/src/documentation/skinconf.xml=A0 =A0 =A0 =A0 2004-11-27 15:46:20 UTC= (rev 359) @@ -0,0 +1,111 @@ +<?xml version=3D"1.0"?> + +<!-- +Skin configuration file. This file contains details of your project, which= will +be used to configure the chosen Forrest skin. +--> + +<!DOCTYPE skinconfig [ + + =A0<!ENTITY % links.att 'name CDATA #REQUIRED'> + =A0<!ENTITY % link.att 'name CDATA #REQUIRED href CDATA #REQUIRED'> + =A0<!ELEMENT skinconfig (disable-search?, disable-print-link?,= disable-pdf-link?, + =A0disable-xml-link?, disable-compliance-links?, searchsite-domain?,= searchsite-name?, + =A0project-name, project-url, project-logo, group-name?, group-url?,= group-logo?, + =A0host-url?, host-logo?, year?, vendor?, trail?, credits?)*> + =A0<!ELEMENT credits (credit*)> + =A0<!ELEMENT credit (name, url, image?, width?, height?)> + =A0<!-- id uniquely identifies the tool, and role indicates its function= --> + =A0<!ATTLIST credit id =A0 CDATA #IMPLIED + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 role CDATA #IMPLIED> + =A0<!ELEMENT disable-search (#PCDATA)> + =A0<!ELEMENT disable-print-link (#PCDATA)> + =A0<!ELEMENT disable-pdf-link (#PCDATA)> + =A0<!ELEMENT disable-xml-link (#PCDATA)> + =A0<!ELEMENT disable-compliance-links (#PCDATA)> + =A0<!ELEMENT searchsite-domain (#PCDATA)> + =A0<!ELEMENT searchsite-name (#PCDATA)> + =A0<!ELEMENT project-name (#PCDATA)> + =A0<!ELEMENT project-url (#PCDATA)> + =A0<!ELEMENT project-logo (#PCDATA)> + =A0<!ELEMENT group-name (#PCDATA)> + =A0<!ELEMENT group-url (#PCDATA)> + =A0<!ELEMENT group-logo (#PCDATA)> + =A0<!ELEMENT host-url (#PCDATA)> + =A0<!ELEMENT host-logo (#PCDATA)> + =A0<!ELEMENT year (#PCDATA)> + =A0<!ELEMENT vendor (#PCDATA)> + =A0<!ELEMENT trail (link1, link2, link3)> + =A0<!ELEMENT link1 EMPTY> + =A0<!-- Seems we can't use param entity refs until this is DTDified --> + =A0<!ATTLIST link1 name CDATA #REQUIRED href CDATA #IMPLIED> + =A0<!ELEMENT link2 EMPTY> + =A0<!ATTLIST link2 name CDATA #REQUIRED href CDATA #IMPLIED> + =A0<!ELEMENT link3 EMPTY> + =A0<!ATTLIST link3 name CDATA #REQUIRED href CDATA #IMPLIED> + =A0<!ELEMENT name (#PCDATA)> + =A0<!ELEMENT url (#PCDATA)> + =A0<!ELEMENT image (#PCDATA)> + =A0<!ELEMENT width (#PCDATA)> + =A0<!ELEMENT height (#PCDATA)> + =A0]> + +<skinconfig> + =A0<!-- Do we want to disable the Google search box? --> + =A0<disable-search>false</disable-search> + =A0<!-- Do we want to disable the print link? --> + =A0<disable-print-link>true</disable-print-link> + =A0<!-- Do we want to disable the PDF link? --> + =A0<disable-pdf-link>true</disable-pdf-link> + =A0<!-- Do we want to disable the xml source link? --> + =A0<disable-xml-link>true</disable-xml-link> + =A0<!-- Do we want to disable w3c compliance links? --> + =A0<disable-compliance-links>true</disable-compliance-links> + + =A0<searchsite-domain>incubator.apache.org</searchsite-domain> + =A0<searchsite-name>Apache iBATIS</searchsite-name> + + =A0<!-- mandatory project logo + =A0 =A0 =A0 skin: forrest-site renders it at the top --> + =A0<project-name>Apache iBATIS</project-name> + =A0<project-url>http://incubator.apache.org/ibatis</project-url> + =A0<project-logo>images/ibatis-logo.gif</project-logo> + + =A0<!-- optional group logo + =A0 =A0 =A0 skin: forrest-site renders it at the top-left corner --> + =A0<group-name>Apache Incubator</group-name> + =A0<group-url>http://incubator.apache.org/</group-url> + =A0<group-logo>images/incubator-logo.gif</group-logo> + + =A0<!-- optional host logo (e.g. apache logo) + =A0 =A0 =A0 skin: forrest-site renders it at the bottom-left corner --> + =A0<host-url>http://www.apache.org/</host-url> + =A0<host-logo>images/icon.png</host-logo> + + =A0<!-- The following are used to construct a copyright statement --> + =A0<year>2004</year> + =A0<vendor>The Apache Software Foundation.</vendor> + + =A0<!-- Some skins use this to form a 'breadcrumb trail' of links. If you= don't + =A0want these, set the attributes to blank. The DTD purposefully requires= them. + =A0--> + =A0<trail> + =A0 =A0<link1 name=3D"apache" href=3D"http://www.apache.org/"/> + =A0 =A0<link2 name=3D"ibatis" href=3D"http://incubator.apache.org/ibatis"/> + =A0 =A0<link3 name=3D"" href=3D""/> + =A0</trail> + + =A0<!-- Credits are typically rendered as a set of small clickable images in= the + =A0page footer --> + =A0<credits> + =A0 =A0<!-- credit> + =A0 =A0 =A0<name>Built with Apache Forrest</name> + =A0 =A0 =A0<url>http://xml.apache.org/forrest/</url> + =A0 =A0 =A0<image>images/built-with-forrest-button.png</image> + =A0 =A0 =A0<width>88</width> + =A0 =A0 =A0<height>31</height> + =A0 =A0</credit --> + =A0 =A0<!-- A credit with @role=3D'pdf' will have its name and url displayed in= the + =A0 =A0PDF page's footer. --> + =A0</credits> +</skinconfig> \ No newline at end of file From [email protected] Sat Nov 27 23:27:05 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 48268 invoked by uid 99); 27 Nov 2004 23:27:05 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=MIME_QP_LONG_LINE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from ms-smtp-01.nyroc.rr.com (HELO ms-smtp-01.nyroc.rr.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 27 Nov 2004 15:27:05 -0800 Received: from pc18 (roc-24-93-23-127.rochester.rr.com [161.129.204.104]) by ms-smtp-01.nyroc.rr.com (8.12.10/8.12.10) with SMTP id iARNQulU022164 for <[email protected]>; Sat, 27 Nov 2004 18:27:00 -0500 (EST) From: Ted Husted <[email protected]> To: <[email protected]> X-Mailer: PocoMail 3.2 (2000) - Licensed Version Date: Sat, 27 Nov 2004 18:26:52 -0500 Message-ID: <20041127182652.923594@pc18> In-Reply-To: <[email protected]> Subject: Re: SVN setup Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked I think the best thing would be to import the SF.NET CVS first, and then add= the wush.net SVN repository to that. Hopefully, we will be able to maintain= the history from both repositories. When we are ready to do CVS, we can park the tarball in one of our Apache= user directories and then open a JIRA ticket for infrastructure. Several of= these have been converted already for other teams, so it should go= smoothly. We can then just pop what's imported down a level, so that it is= all under a "java" subfolder. -Ted. On Sat, 27 Nov 2004 02:09:08 -0800, Clinton Begin wrote: >=A0Any luck on getting the SVN repository set up? > >=A0As a last minute recommendation, if we could use all lowercase that >=A0would be great. =A0For example: > >=A0ibatis/ >=A0| >=A0|-- java/ >=A0| |-- branches/ >=A0| |-- tags/ >=A0| `-- trunk/ >=A0| |-contributed >=A0| |-ibatisdb >=A0| |-ibatis-dbl-2 >=A0| >=A0`-- cs/ >=A0| |-- branches/ >=A0| |-- tags/ >=A0| `-- trunk/ >=A0| |- ibatisnet1 >=A0`-- site From [email protected] Sun Nov 28 13:41:25 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 12260 invoked by uid 99); 28 Nov 2004 13:41:25 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=MIME_QP_LONG_LINE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from ms-smtp-04.nyroc.rr.com (HELO ms-smtp-04.nyroc.rr.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 28 Nov 2004 05:41:23 -0800 Received: from pc18 (roc-24-93-23-127.rochester.rr.com [161.129.204.104]) by ms-smtp-04.nyroc.rr.com (8.12.10/8.12.10) with SMTP id iASDfHOX025817 for <[email protected]>; Sun, 28 Nov 2004 08:41:19 -0500 (EST) From: Ted Husted <[email protected]> To: <[email protected]> X-Mailer: PocoMail 3.2 (2000) - Licensed Version Date: Sun, 28 Nov 2004 08:41:16 -0500 Message-ID: <2004112884116.706857@pc18> In-Reply-To: <[email protected]> Subject: Re: r356 - in Source1: . Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked On Mon, 15 Nov 2004 14:11:49 -0600, [email protected] wrote: >=A0+using NHibernate; This may change, but as of now, a ASF project can't link to any LGPL code,= because it is a more restrictive license. As it happens, we are working with the Java Hibernate team about the= licensing issues, but, as of now, we won't be able to put these classes in= the Apache SVN. There is talk that it might be ok to link to LGPL so long as it is not= "extended" or "implemented", but a decision has not been made. The alternative would be to keep the SourceForge project open and distribute= a NHibernate plugin from there, keeping it under the LGPL (which NHibernate= uses). -Ted. From [email protected] Sun Nov 28 13:39:20 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 9573 invoked by uid 99); 28 Nov 2004 13:39:20 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=DATE_IN_PAST_96_XX,MIME_QP_LONG_LINE,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from ms-smtp-01.nyroc.rr.com (HELO ms-smtp-01.nyroc.rr.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 28 Nov 2004 05:39:18 -0800 Received: from pc18 (roc-24-93-23-127.rochester.rr.com [161.129.204.104]) by ms-smtp-01.nyroc.rr.com (8.12.10/8.12.10) with SMTP id iASDd5lU018383 for <[email protected]>; Sun, 28 Nov 2004 08:39:12 -0500 (EST) From: <[email protected]> To: <[email protected]> X-Mailer: PocoMail 3.2 (2000) - Licensed Version Date: Sun, 14 Nov 2004 10:58:56 -0600 Message-ID: <200411288394.622405@pc18> In-Reply-To: <[email protected]> Subject: r355 - in Source1: . External-Bin/Net/1.1 IBatisNet.DataAccess IBatisNet.DataAccess/DaoSessionHandlers IBatisNet.DataMapper Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked Author: gilles Date: 2004-11-14 10:58:56 -0600 (Sun, 14 Nov 2004) New Revision: 355 Added: =A0 =A0Source1/External-Bin/Net/1.1/NHibernate.dll =A0 =A0Source1/IBatisNet.DataAccess/DaoSessionHandlers/NHibernateDaoSession.cs =A0= =A0Source1/IBatisNet.DataAccess/DaoSessionHandlers/NHibernateDaoSessionHandle= r.cs Modified: =A0 =A0Source1/IBatisNet.DataAccess/DaoSessionHandlers/SimpleDaoSession.cs =A0= =A0Source1/IBatisNet.DataAccess/DaoSessionHandlers/SimpleDaoSessionHandler.cs= =A0 =A0Source1/IBatisNet.DataAccess/DaoSessionHandlers/SqlMapDaoSession.cs =A0= =A0Source1/IBatisNet.DataAccess/DaoSessionHandlers/SqlMapDaoSessionHandler.cs= =A0 =A0Source1/IBatisNet.DataAccess/IBatisNet.DataAccess.csproj =A0 =A0Source1/IBatisNet.DataMapper/SqlMapSession.cs =A0 =A0Source1/IBatisNet.sln Log: - Began NHibernate support in DataAccess Added: Source1/External-Bin/Net/1.1/NHibernate.dll =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (Binary files differ) Property changes on: Source1/External-Bin/Net/1.1/NHibernate.dll ___________________________________________________________________ Name: svn:mime-type =A0 =A0+ application/octet-stream Added:= Source1/IBatisNet.DataAccess/DaoSessionHandlers/NHibernateDaoSession.cs =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- Source1/IBatisNet.DataAccess/DaoSessionHandlers/NHibernateDaoSession.cs=A0= =A0 =A0 =A0 2004-11-14 12:04:44 UTC (rev 354) +++ Source1/IBatisNet.DataAccess/DaoSessionHandlers/NHibernateDaoSession.cs=A0= =A0 =A0 =A0 2004-11-14 16:58:56 UTC (rev 355) @@ -0,0 +1,284 @@ + +#region Apache Notice +/**************************************************************************= *** + * $Header: $ + * $Revision: $ + * $Date: $ + * + * iBATIS.NET Data Mapper + * Copyright (C) 2004 - Gilles Bayon + * + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * =A0 =A0 =A0http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or= implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * += ***************************************************************************= *****/ +#endregion + +#region Imports +using System; +using System.Data; + +using IBatisNet.Common; + +using IBatisNet.DataAccess; +using IBatisNet.DataAccess.Exceptions; +using IBatisNet.DataAccess.Interfaces; + +using NHibernate; +using NHibernate.Cfg; + +using log4net; + +#endregion + +#region Remarks + +//<context> +//<transactionManager type=3D"SQLMAP"> +//<property name=3D"SqlMapConfig"= value=3D"com/domain/dao/sqlmap/SqlMapConfig.xml"/> +//</transactionManager> +//<dao interface=3D"com.domain.dao.PersonDao"= implementation=3D"com.domain.dao.sqlmap.SqlMapPersonDao"/> +//<dao interface=3D"com.domain.dao.BusinessDao"= implementation=3D"com.domain.dao.sqlmap.SqlMapBusinessDao"/> +//<dao interface=3D"com.domain.dao.AccountDao"= implementation=3D"com.domain.dao.sqlmap.SqlMapAccountDao"/> +//</context> +// +//<!--=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +//Example Hibernate DAO Configuration +//=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D--> +// +//<context> +//<transactionManager type=3D"HIBERNATE"> +//<property name=3D"hibernate.dialect"= value=3D"net.sf.hibernate.dialect.PostgreSQLDialect"/> +//<property name=3D"hibernate.connection.driver_class" value=3D"${driver}"/> +//<property name=3D"hibernate.connection.url" value=3D"${url}"/> +//<property name=3D"hibernate.connection.username" value=3D"${username}"/> +//<property name=3D"hibernate.connection.password" value=3D"${password}"/> +//<property name=3D"class.1" value=3D"com.domain.Person"/> +//<property name=3D"class.2" value=3D"com.domain.Business"/> +//<property name=3D"class.3" value=3D"com.domain.Account"/> +//</transactionManager> +//<dao interface=3D"com.domain.dao.CategoryDao"= implementation=3D"com.domain.dao.hbn.HbnCategoryDao"/> +//<dao interface=3D"com.domain.dao.ProductDao"= implementation=3D"com.domain.dao.hbn.HbnProductDao"/> +//<dao interface=3D"com.domain.dao.ItemDao"= implementation=3D"com.domain.dao.hbn.HbnItemDao"/> +//</context> +// +//<!--=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +//Example JDBC DAO Configuration +//=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D--> +// +//<context> +//<transactionManager type=3D"JDBC"> +//<property name=3D"DataSource" value=3D"SIMPLE"/> +//<property name=3D"JDBC.Driver" value=3D"${driver}"/> +//<property name=3D"JDBC.ConnectionURL" value=3D"${url}"/> +//<property name=3D"JDBC.Username" value=3D"${username}"/> +//<property name=3D"JDBC.Password" value=3D"${password}"/> +//<property name=3D"JDBC.DefaultAutoCommit" value=3D"true" /> +//<property name=3D"Pool.MaximumActiveConnections" value=3D"10"/> +//<property name=3D"Pool.MaximumIdleConnections" value=3D"5"/> +//<property name=3D"Pool.MaximumCheckoutTime" value=3D"120000"/> +//<property name=3D"Pool.TimeToWait" value=3D"500"/> +//<property name=3D"Pool.PingQuery" value=3D"select 1 from ACCOUNT"/> +//<property name=3D"Pool.PingEnabled" value=3D"false"/> +//<property name=3D"Pool.PingConnectionsOlderThan" value=3D"1"/> +//<property name=3D"Pool.PingConnectionsNotUsedFor" value=3D"1"/> +//<property name=3D"Pool.QuietMode" value=3D"true"/> +//</transactionManager> +//<dao interface=3D"com.domain.dao.OrderDao"= implementation=3D"com.domain.dao.jdbc.JdbcOrderDao"/> +//<dao interface=3D"com.domain.dao.LineItemDao"= implementation=3D"com.domain.dao.jdbc.JdbcLineItemDao"/> +//<dao interface=3D"com.domain.dao.CustomerDao"= implementation=3D"com.domain.dao.jdbc.JdbcCustomerDao"/> +//</context> + +#endregion + + +namespace IBatisNet.DataAccess.DaoSessionHandlers +{ +=A0 =A0 =A0 =A0 /// <summary> +=A0 =A0 =A0 =A0 /// Summary description for NHibernateDaoSession. +=A0 =A0 =A0 =A0 /// </summary> +=A0 =A0 =A0 =A0 public class NHibernateDaoSession : DaoSession +=A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #region Fields +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 private ISessionFactory _factory =3D null; +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 private DaoManager _daoManager =3D null; +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 private ISession _session =3D null; +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 private ITransaction _transaction =3D null; +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 private bool _consistent =3D false; + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #endregion + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #region Properties +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public ISessionFactory Factory +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 get { return _factory; } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public override DataSource DataSource +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 get +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 throw new DataAccessException("DataSource= is not supported with Hibernate."); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public override IDbConnection Connection +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 get { return _session.Connection; } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public override IDbTransaction Transaction +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 get { return (_session.Transaction as= IDbTransaction); } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #endregion + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #region Constructor (s) / Destructor +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public NHibernateDaoSession(DaoManager daoManager,= ISessionFactory factory) +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 this.InitDaoSession( daoManager ); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _factory =3D factory; +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #endregion + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #region Methods + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public override void InitDaoSession(DaoManager daoManager) +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _daoManager =3D daoManager; +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// <summary> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// Opens a database connection. +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// </summary> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public override void OpenConnection() +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _session =3D _factory.OpenSession(); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// <summary> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// Closes the connection +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// </summary> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public override void CloseConnection() +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _session.Flush();// or flush ? +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// <summary> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// Begins a transaction. +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// </summary> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public override void BeginTransaction() +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 try +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _session =3D _factory.OpenSession(); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _transaction =3D= _session.BeginTransaction(); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 catch (HibernateException e) +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 throw new DataAccessException("Error= starting Hibernate transaction. =A0Cause: " + e, e); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// <summary> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// Begins a transaction at the data source with the= specified IsolationLevel value. +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// </summary> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// <param name=3D"isolationLevel">The transaction isolation= level for this connection.</param> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public override void BeginTransaction(IsolationLevel= isolationLevel) +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 throw new DataAccessException("IsolationLevel is= not supported with Hibernate transaction."); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// <summary> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// Commits the database transaction. +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// </summary> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// <remarks> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// Will close the connection. +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// </remarks> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public override void CommitTransaction() +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 try +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _transaction.Commit(); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _session.Close(); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 catch (HibernateException e) +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 throw new DataAccessException("Error= committing Hibernate transaction. =A0Cause: " + e); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// <summary> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// Rolls back a transaction from a pending state. +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// </summary> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// <remarks> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// Will close the connection. +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// </remarks> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public override void RollBackTransaction() +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 try +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _transaction.Rollback(); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _session.Close(); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 catch (HibernateException e) +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 throw new DataAccessException("Error ending= Hibernate transaction. =A0Cause: " + e); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// <summary> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// Changes the vote for distributed transaction to commit= (true) or to abort (false). +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// </summary> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public override bool Consistent +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 set +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _consistent =3D value; +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public override IDbCommand CreateCommand(CommandType= commandType) +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 throw new DataAccessException("CreateCommand is not= supported with Hibernate."); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public override IDataParameter CreateDataParameter() +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 throw new DataAccessException("CreateDataParameter= is not supported with Hibernate."); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public override IDbDataAdapter CreateDataAdapter() +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 throw new DataAccessException("CreateDataAdapter is= not supported with Hibernate."); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public override IDbDataAdapter CreateDataAdapter(IDbCommand= command) +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 throw new DataAccessException("CreateDataAdapter is= not supported with Hibernate."); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #endregion + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #region IDisposable Members +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// <summary> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// Releasing, or resetting resources. +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// </summary> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public override void Dispose() +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _session.Dispose(); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #endregion + +=A0 =A0 =A0 =A0 } +} Added:= Source1/IBatisNet.DataAccess/DaoSessionHandlers/NHibernateDaoSessionHandler= .cs =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ---= Source1/IBatisNet.DataAccess/DaoSessionHandlers/NHibernateDaoSessionHandler= .cs=A0 =A0 =A0 =A0 2004-11-14 12:04:44 UTC (rev 354) +++= Source1/IBatisNet.DataAccess/DaoSessionHandlers/NHibernateDaoSessionHandler= .cs=A0 =A0 =A0 =A0 2004-11-14 16:58:56 UTC (rev 355) @@ -0,0 +1,91 @@ + +#region Apache Notice +/**************************************************************************= *** + * $Header: $ + * $Revision: $ + * $Date: $ + * + * iBATIS.NET Data Mapper + * Copyright (C) 2004 - Gilles Bayon + * + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * =A0 =A0 =A0http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or= implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * += ***************************************************************************= *****/ +#endregion + +#region Imports +using System; +using System.Collections; + +using IBatisNet.Common; +using IBatisNet.Common.Exceptions; +using IBatisNet.Common.Utilities; + +using IBatisNet.DataAccess; +using IBatisNet.DataAccess.Exceptions; +using IBatisNet.DataAccess.Interfaces; + +using NHibernate.Cfg; +using NHibernate; +#endregion + +namespace IBatisNet.DataAccess.DaoSessionHandlers +{ +=A0 =A0 =A0 =A0 /// <summary> +=A0 =A0 =A0 =A0 /// Summary description for NHibernateDaoSessionHandler. +=A0 =A0 =A0 =A0 /// </summary> +=A0 =A0 =A0 =A0 public class NHibernateDaoSessionHandler : IDaoSessionHandler +=A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 private ISessionFactory _factory =3D null; + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public ISessionFactory Factory +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 get { return _factory; } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public NHibernateDaoSessionHandler() +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public void Configure(Hashtable properties) +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 try +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 NHibernate.Cfg.Configuration config =3D new= NHibernate.Cfg.Configuration(); + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 foreach(DictionaryEntry entry in= properties) +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 if ((entry.Key as= string).StartsWith("class.")) +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= config.AddClass(Resources.TypeForName(entry.Value as string)); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 config.Properties =3D properties; +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _factory =3D config.BuildSessionFactory(); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 catch(Exception e) +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 throw new= ConfigurationException(string.Format("DaoManager could not configure= NHibernateDaoSessionHandler. Cause: {0}", e.Message)); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public DaoSession GetDaoSession(DaoManager daoManager) +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 return (new NHibernateDaoSession(daoManager,= _factory)); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } + +=A0 =A0 =A0 =A0 } +} Modified:= Source1/IBatisNet.DataAccess/DaoSessionHandlers/SimpleDaoSession.cs =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- Source1/IBatisNet.DataAccess/DaoSessionHandlers/SimpleDaoSession.cs=A0 =A0 =A0= =A0 2004-11-14 12:04:44 UTC (rev 354) +++ Source1/IBatisNet.DataAccess/DaoSessionHandlers/SimpleDaoSession.cs=A0 =A0 =A0= =A0 2004-11-14 16:58:56 UTC (rev 355) @@ -81,7 +81,7 @@ =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// <summary> -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// Changes the vote to commit (true) or to abort (false). +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// Changes the vote for distributed transaction to commit= (true) or to abort (false). =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// </summary> =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public override bool Consistent =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { Modified:= Source1/IBatisNet.DataAccess/DaoSessionHandlers/SimpleDaoSessionHandler.cs =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ---= Source1/IBatisNet.DataAccess/DaoSessionHandlers/SimpleDaoSessionHandler.cs=A0= =A0 =A0 =A0 2004-11-14 12:04:44 UTC (rev 354) +++= Source1/IBatisNet.DataAccess/DaoSessionHandlers/SimpleDaoSessionHandler.cs=A0= =A0 =A0 =A0 2004-11-14 16:58:56 UTC (rev 355) @@ -38,7 +38,7 @@ =A0namespace IBatisNet.DataAccess.DaoSessionHandlers =A0{ =A0=A0 =A0 =A0 =A0 /// <summary> -=A0 =A0 =A0 =A0 /// Description r=E9sum=E9e de DaoSessionPool. +=A0 =A0 =A0 =A0 /// Summary description for SimpleDaoSessionHandler. =A0=A0 =A0 =A0 =A0 /// </summary> =A0=A0 =A0 =A0 =A0 public class SimpleDaoSessionHandler : IDaoSessionHandler =A0=A0 =A0 =A0 =A0 { Modified:= Source1/IBatisNet.DataAccess/DaoSessionHandlers/SqlMapDaoSession.cs =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- Source1/IBatisNet.DataAccess/DaoSessionHandlers/SqlMapDaoSession.cs=A0 =A0 =A0= =A0 2004-11-14 12:04:44 UTC (rev 354) +++ Source1/IBatisNet.DataAccess/DaoSessionHandlers/SqlMapDaoSession.cs=A0 =A0 =A0= =A0 2004-11-14 16:58:56 UTC (rev 355) @@ -184,7 +184,5 @@ =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #endregion - - =A0=A0 =A0 =A0 =A0 } =A0} Modified:= Source1/IBatisNet.DataAccess/DaoSessionHandlers/SqlMapDaoSessionHandler.cs =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ---= Source1/IBatisNet.DataAccess/DaoSessionHandlers/SqlMapDaoSessionHandler.cs=A0= =A0 =A0 =A0 2004-11-14 12:04:44 UTC (rev 354) +++= Source1/IBatisNet.DataAccess/DaoSessionHandlers/SqlMapDaoSessionHandler.cs=A0= =A0 =A0 =A0 2004-11-14 16:58:56 UTC (rev 355) @@ -43,7 +43,7 @@ =A0namespace IBatisNet.DataAccess.DaoSessionHandlers =A0{ =A0=A0 =A0 =A0 =A0 /// <summary> -=A0 =A0 =A0 =A0 /// Description r=E9sum=E9e de SqlMapDaoSessionHandler. +=A0 =A0 =A0 =A0 /// Summary description for SqlMapDaoSessionHandler. =A0=A0 =A0 =A0 =A0 /// </summary> =A0=A0 =A0 =A0 =A0 public class SqlMapDaoSessionHandler : IDaoSessionHandler =A0=A0 =A0 =A0 =A0 { Modified: Source1/IBatisNet.DataAccess/IBatisNet.DataAccess.csproj =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- Source1/IBatisNet.DataAccess/IBatisNet.DataAccess.csproj=A0 =A0 =A0 =A0= 2004-11-14 12:04:44 UTC (rev 354) +++ Source1/IBatisNet.DataAccess/IBatisNet.DataAccess.csproj=A0 =A0 =A0 =A0= 2004-11-14 16:58:56 UTC (rev 355) @@ -99,6 +99,11 @@ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0AssemblyName =3D "System.Web" =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0HintPath =3D= "D:\WINNT\Microsoft.NET\Framework\v1.1.4322\System.Web.dll" =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0/> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<Reference + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Name =3D "NHibernate" + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0AssemblyName =3D "NHibernate" + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0HintPath =3D "..\External-Bin\Net\1.1\NHibernate.dll" + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0/> =A0 =A0 =A0 =A0 =A0 =A0 =A0</References> =A0 =A0 =A0 =A0 =A0</Build> =A0 =A0 =A0 =A0 =A0<Files> @@ -155,6 +160,16 @@ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0BuildAction =3D "Compile" =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0/> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<File + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0RelPath =3D "DaoSessionHandlers\NHibernateDaoSession.cs" + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0SubType =3D "Code" + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0BuildAction =3D "Compile" + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0/> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<File + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0RelPath =3D= "DaoSessionHandlers\NHibernateDaoSessionHandler.cs" + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0SubType =3D "Code" + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0BuildAction =3D "Compile" + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0/> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<File =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0RelPath =3D "DaoSessionHandlers\SimpleDaoSession.cs" =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0SubType =3D "Code" =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0BuildAction =3D "Compile" Modified: Source1/IBatisNet.DataMapper/SqlMapSession.cs =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- Source1/IBatisNet.DataMapper/SqlMapSession.cs=A0 =A0 =A0 =A0 2004-11-14 12:04:44= UTC (rev 354) +++ Source1/IBatisNet.DataMapper/SqlMapSession.cs=A0 =A0 =A0 =A0 2004-11-14 16:58:56= UTC (rev 355) @@ -194,7 +194,7 @@ =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// <summary> -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// Changes the vote to commit (true) or to abort (false). +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// Changes the vote for distributed transaction to commit= (true) or to abort (false). =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// </summary> =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public bool Consistent =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { Modified: Source1/IBatisNet.sln =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- Source1/IBatisNet.sln=A0 =A0 =A0 =A0 2004-11-14 12:04:44 UTC (rev 354) +++ Source1/IBatisNet.sln=A0 =A0 =A0 =A0 2004-11-14 16:58:56 UTC (rev 355) @@ -55,6 +55,7 @@ =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 External-Bin\Net\1.1\ICSharpCode.SharpZipLib.dll =3D= External-Bin\Net\1.1\ICSharpCode.SharpZipLib.dll =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 External-Bin\Net\1.1\log4net.dll =3D= External-Bin\Net\1.1\log4net.dll =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 External-Bin\Net\1.1\log4net.xml =3D= External-Bin\Net\1.1\log4net.xml +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 External-Bin\Net\1.1\NHibernate.dll =3D= External-Bin\Net\1.1\NHibernate.dll =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 External-Bin\Net\1.1\nunit.framework.dll =3D= External-Bin\Net\1.1\nunit.framework.dll =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 IBatisNet.Schemas\SqlMap.xsd =3D= IBatisNet.Schemas\SqlMap.xsd =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 IBatisNet.Schemas\SqlMapConfig.xsd =3D= IBatisNet.Schemas\SqlMapConfig.xsd From [email protected] Sun Nov 28 13:39:36 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 10041 invoked by uid 99); 28 Nov 2004 13:39:36 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=DATE_IN_PAST_96_XX,MIME_QP_LONG_LINE,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from ms-smtp-04.nyroc.rr.com (HELO ms-smtp-04.nyroc.rr.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 28 Nov 2004 05:39:32 -0800 Received: from pc18 (roc-24-93-23-127.rochester.rr.com [161.129.204.104]) by ms-smtp-04.nyroc.rr.com (8.12.10/8.12.10) with SMTP id iASDdLOX025063 for <[email protected]>; Sun, 28 Nov 2004 08:39:23 -0500 (EST) From: <[email protected]> To: <[email protected]> X-Mailer: PocoMail 3.2 (2000) - Licensed Version Date: Mon, 15 Nov 2004 14:11:49 -0600 Message-ID: <2004112883920.498694@pc18> In-Reply-To: <[email protected]> Subject: r356 - in Source1: . External-Bin/Net/1.1 IBatisNet.DataAccess IBatisNet.DataAccess/Configuration IBatisNet.DataAccess/DaoSessionHandlers IBatisNet.DataAccess/Interfaces IBatisNet.Test IBatisNet.Test/Dao/Implementations IBatisNet.Test/Dao/Implementations/ Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked Author: gilles Date: 2004-11-15 14:11:48 -0600 (Mon, 15 Nov 2004) New Revision: 356 Added: =A0 =A0Source1/External-Bin/Net/1.1/HashCodeProvider.dll =A0 =A0Source1/IBatisNet.Test/Dao/Implementations/Ado/UserDao.cs =A0 =A0Source1/IBatisNet.Test/Dao/Implementations/NHibernate/ =A0 =A0Source1/IBatisNet.Test/Dao/Implementations/NHibernate/UserDao.cs =A0 =A0Source1/IBatisNet.Test/Dao/Interfaces/IUserDao.cs =A0 =A0Source1/IBatisNet.Test/Dao/Interfaces/IuserDao.cs =A0 =A0Source1/IBatisNet.Test/Domain/User.cs =A0 =A0Source1/IBatisNet.Test/NUnit/DaoTests/NHibernateDaoTest.cs =A0 =A0Source1/IBatisNet.Test/Scripts/MSSQL/user-init.sql =A0 =A0Source1/IBatisNet.Test/User.hbm.xml Removed: =A0 =A0Source1/IBatisNet.DataAccess/Interfaces/IDaoSession.cs Modified: =A0 =A0Source1/IBatisNet.DataAccess/Configuration/DomDaoManagerBuilder.cs =A0 =A0Source1/IBatisNet.DataAccess/DaoSession.cs =A0= =A0Source1/IBatisNet.DataAccess/DaoSessionHandlers/DaoSessionHandlerFactory.c= s =A0 =A0Source1/IBatisNet.DataAccess/DaoSessionHandlers/NHibernateDaoSession.cs =A0= =A0Source1/IBatisNet.DataAccess/DaoSessionHandlers/NHibernateDaoSessionHandle= r.cs =A0 =A0Source1/IBatisNet.DataAccess/DaoSessionHandlers/SimpleDaoSession.cs =A0= =A0Source1/IBatisNet.DataAccess/DaoSessionHandlers/SimpleDaoSessionHandler.cs= =A0 =A0Source1/IBatisNet.DataAccess/DaoSessionHandlers/SqlMapDaoSession.cs =A0= =A0Source1/IBatisNet.DataAccess/DaoSessionHandlers/SqlMapDaoSessionHandler.cs= =A0 =A0Source1/IBatisNet.DataAccess/IBatisNet.DataAccess.csproj =A0 =A0Source1/IBatisNet.DataAccess/Interfaces/IDaoSessionHandler.cs =A0 =A0Source1/IBatisNet.Test/IBatisNet.Test.csproj =A0 =A0Source1/IBatisNet.Test/bin/Debug/dao_MSSQL_SqlClient.config =A0 =A0Source1/IBatisNet.sln Log: - Finished NHibernate support in DataMapper + Added unit test for NHibernate= support Added: Source1/External-Bin/Net/1.1/HashCodeProvider.dll =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (Binary files differ) Property changes on: Source1/External-Bin/Net/1.1/HashCodeProvider.dll ___________________________________________________________________ Name: svn:mime-type =A0 =A0+ application/octet-stream Modified:= Source1/IBatisNet.DataAccess/Configuration/DomDaoManagerBuilder.cs =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- Source1/IBatisNet.DataAccess/Configuration/DomDaoManagerBuilder.cs=A0 =A0 =A0= =A0 2004-11-14 16:58:56 UTC (rev 355) +++ Source1/IBatisNet.DataAccess/Configuration/DomDaoManagerBuilder.cs=A0 =A0 =A0= =A0 2004-11-15 20:11:48 UTC (rev 356) @@ -100,6 +100,7 @@ =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= _daoSectionHandlers.Add(DEFAULT_DAOSESSIONHANDLER_NAME,= DaoSessionHandlerFactory.GetDaoSessionHandler("ADONET")); =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _daoSectionHandlers.Add("ADONET",= DaoSessionHandlerFactory.GetDaoSessionHandler("ADONET")); =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _daoSectionHandlers.Add("SqlMap",= DaoSessionHandlerFactory.GetDaoSessionHandler("SqlMap")); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _daoSectionHandlers.Add("NHibernate",= DaoSessionHandlerFactory.GetDaoSessionHandler("NHibernate")); =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _useConfigFileWatcher =3D useConfigFileWatcher; @@ -243,7 +244,7 @@ =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #region DaoSessionHandler =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 XmlNode nodeSessionHandler =3D= node.SelectSingleNode("daoSessionHandler"); -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Hashtable properties =3D new Hashtable(); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 IDictionary properties =3D new Hashtable(); =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 // By default, add the DataSource =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 properties.Add( "DataSource",= daoManager.DataSource); =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 // By default, add the= useConfigFileWatcher @@ -258,10 +259,10 @@ =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 sessionHandler =3D= (IDaoSessionHandler)_daoSectionHandlers[nodeSessionHandler.Attributes["name= "].Value]; =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 // Parse property node -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 XmlNode nodeProperty=3D= nodeSessionHandler.SelectSingleNode("property"); -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 if (nodeProperty !=3D null) +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 foreach(XmlNode nodeProperty in= nodeSessionHandler.SelectNodes("property")) =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= properties.Add(nodeProperty.Attributes["name"].Value,= nodeProperty.Attributes["value"].Value); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= properties.Add(nodeProperty.Attributes["name"].Value, +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= Resources.ParsePropertyTokens(nodeProperty.Attributes["value"].Value,= _properties)); =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 else Modified: Source1/IBatisNet.DataAccess/DaoSession.cs =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- Source1/IBatisNet.DataAccess/DaoSession.cs=A0 =A0 =A0 =A0 2004-11-14 16:58:56= UTC (rev 355) +++ Source1/IBatisNet.DataAccess/DaoSession.cs=A0 =A0 =A0 =A0 2004-11-15 20:11:48= UTC (rev 356) @@ -41,9 +41,26 @@ =A0=A0 =A0 =A0 =A0 /// <summary> =A0=A0 =A0 =A0 =A0 /// Abstract definition of a DataAccess Session =A0=A0 =A0 =A0 =A0 /// </summary> -=A0 =A0 =A0 =A0 public abstract class DaoSession : IDaoSession, IDalSession +=A0 =A0 =A0 =A0 public abstract class DaoSession : IDalSession =A0=A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #region Fields +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 protected DaoManager daoManager =3D null; +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #endregion + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #region Constructor (s) / Destructor +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// <summary> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// The DaoManager that manages this Dao instance will be= passed +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// in as the parameter to this constructor automatically= upon +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// instantiation. +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// </summary> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// <param name=3D"daoManager"></param> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public DaoSession(DaoManager daoManager) +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 this.daoManager =3D daoManager; +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #endregion + =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #region IDalSession Members =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #region Properties @@ -71,6 +88,7 @@ =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #region Methods + =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// <summary> =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// Opens a database connection. =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// </summary> @@ -125,15 +143,6 @@ =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #endregion -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #region IDaoSession Members - -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #region Methods -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public abstract void InitDaoSession(DaoManager= daoManager); - -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #endregion - -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #endregion - =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #region IDisposable Members =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #region Methods Modified:= Source1/IBatisNet.DataAccess/DaoSessionHandlers/DaoSessionHandlerFactory.cs= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ---= Source1/IBatisNet.DataAccess/DaoSessionHandlers/DaoSessionHandlerFactory.cs= =A0 =A0 =A0 =A0 2004-11-14 16:58:56 UTC (rev 355) +++= Source1/IBatisNet.DataAccess/DaoSessionHandlers/DaoSessionHandlerFactory.cs= =A0 =A0 =A0 =A0 2004-11-15 20:11:48 UTC (rev 356) @@ -47,6 +47,7 @@ =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _daoSessionHandlerMap.Add("ADONET", new= SimpleDaoSessionHandler()); =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _daoSessionHandlerMap.Add("SqlMap", new= SqlMapDaoSessionHandler()); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _daoSessionHandlerMap.Add("NHibernate", new= NHibernateDaoSessionHandler()); =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 static public IDaoSessionHandler= GetDaoSessionHandler(string name) Modified:= Source1/IBatisNet.DataAccess/DaoSessionHandlers/NHibernateDaoSession.cs =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- Source1/IBatisNet.DataAccess/DaoSessionHandlers/NHibernateDaoSession.cs=A0= =A0 =A0 =A0 2004-11-14 16:58:56 UTC (rev 355) +++ Source1/IBatisNet.DataAccess/DaoSessionHandlers/NHibernateDaoSession.cs=A0= =A0 =A0 =A0 2004-11-15 20:11:48 UTC (rev 356) @@ -111,7 +111,6 @@ =A0=A0 =A0 =A0 =A0 { =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #region Fields =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 private ISessionFactory _factory =3D null; -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 private DaoManager _daoManager =3D null; =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 private ISession _session =3D null; =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 private ITransaction _transaction =3D null; =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 private bool _consistent =3D false; @@ -119,6 +118,12 @@ =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #endregion =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #region Properties + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public ISession Session +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 get { return _session; } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } + =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public ISessionFactory Factory =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 get { return _factory; } @@ -145,19 +150,14 @@ =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #endregion =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #region Constructor (s) / Destructor -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public NHibernateDaoSession(DaoManager daoManager,= ISessionFactory factory) -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 this.InitDaoSession( daoManager ); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public NHibernateDaoSession(DaoManager daoManager,= ISessionFactory factory):base(daoManager) +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _factory =3D factory; =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #endregion =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #region Methods -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public override void InitDaoSession(DaoManager daoManager) -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _daoManager =3D daoManager; -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// <summary> =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// Opens a database connection. @@ -172,7 +172,7 @@ =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// </summary> =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public override void CloseConnection() =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _session.Flush();// or flush ? +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _session.Flush();// or Close ? =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// <summary> Modified:= Source1/IBatisNet.DataAccess/DaoSessionHandlers/NHibernateDaoSessionHandler= .cs =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ---= Source1/IBatisNet.DataAccess/DaoSessionHandlers/NHibernateDaoSessionHandler= .cs=A0 =A0 =A0 =A0 2004-11-14 16:58:56 UTC (rev 355) +++= Source1/IBatisNet.DataAccess/DaoSessionHandlers/NHibernateDaoSessionHandler= .cs=A0 =A0 =A0 =A0 2004-11-15 20:11:48 UTC (rev 356) @@ -59,21 +59,33 @@ =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public void Configure(Hashtable properties) +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public void Configure(IDictionary properties) =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 string mapping =3D string.Empty; + =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 try =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 NHibernate.Cfg.Configuration config =3D new= NHibernate.Cfg.Configuration(); =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 foreach(DictionaryEntry entry in= properties) =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 if ((entry.Key as= string).StartsWith("class.")) + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 if= ((entry.Key.ToString()).StartsWith("class.")) =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= config.AddClass(Resources.TypeForName(entry.Value as string)); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 config.AddClass(= Resources.TypeForName( entry.Value.ToString() ) ); =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 if= ((entry.Key.ToString())=3D=3D"mapping") +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 mapping =3D= entry.Value.ToString(); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 config.SetProperty(= entry.Key.ToString(), entry.Value.ToString() ); =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 config.Properties =3D properties; +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 if (mapping.Length>0) +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 config.AddAssembly(mapping); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _factory =3D config.BuildSessionFactory(); =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 catch(Exception e) Modified:= Source1/IBatisNet.DataAccess/DaoSessionHandlers/SimpleDaoSession.cs =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- Source1/IBatisNet.DataAccess/DaoSessionHandlers/SimpleDaoSession.cs=A0 =A0 =A0= =A0 2004-11-14 16:58:56 UTC (rev 355) +++ Source1/IBatisNet.DataAccess/DaoSessionHandlers/SimpleDaoSession.cs=A0 =A0 =A0= =A0 2004-11-15 20:11:48 UTC (rev 356) @@ -53,7 +53,6 @@ =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 private DataSource _dataSource =3D null; =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 private bool _isOpenTransaction =3D false; =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 private bool _consistent =3D false; -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 private DaoManager _daoManager =3D null; =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// <summary> =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// Holds value of connection @@ -93,18 +92,13 @@ =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #endregion =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #region Constructor (s) / Destructor -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public SimpleDaoSession(DaoManager daoManager, DataSource= dataSource) +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public SimpleDaoSession(DaoManager daoManager, DataSource= dataSource):base(daoManager) =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 this.InitDaoSession( daoManager ); =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _dataSource =3D dataSource; =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #endregion =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #region Methods -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public override void InitDaoSession(DaoManager daoManager) -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _daoManager =3D daoManager; -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// <summary> =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// Opens a database connection. @@ -295,20 +289,20 @@ =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 if (_connection.State !=3D= ConnectionState.Closed) =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _daoManager.CloseConnection(); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 daoManager.CloseConnection(); =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 else =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 if (_consistent) =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _daoManager.CommitTransaction(); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 daoManager.CommitTransaction(); =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 else =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 if (_connection.State !=3D= ConnectionState.Closed) =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= _daoManager.RollBackTransaction(); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= daoManager.RollBackTransaction(); =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } Modified:= Source1/IBatisNet.DataAccess/DaoSessionHandlers/SimpleDaoSessionHandler.cs =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ---= Source1/IBatisNet.DataAccess/DaoSessionHandlers/SimpleDaoSessionHandler.cs=A0= =A0 =A0 =A0 2004-11-14 16:58:56 UTC (rev 355) +++= Source1/IBatisNet.DataAccess/DaoSessionHandlers/SimpleDaoSessionHandler.cs=A0= =A0 =A0 =A0 2004-11-15 20:11:48 UTC (rev 356) @@ -44,7 +44,7 @@ =A0=A0 =A0 =A0 =A0 { =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 private DataSource _dataSource; -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public void Configure(Hashtable properties) +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public void Configure(IDictionary properties) =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _dataSource =3D (DataSource)= properties["DataSource"]; =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } Modified:= Source1/IBatisNet.DataAccess/DaoSessionHandlers/SqlMapDaoSession.cs =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- Source1/IBatisNet.DataAccess/DaoSessionHandlers/SqlMapDaoSession.cs=A0 =A0 =A0= =A0 2004-11-14 16:58:56 UTC (rev 355) +++ Source1/IBatisNet.DataAccess/DaoSessionHandlers/SqlMapDaoSession.cs=A0 =A0 =A0= =A0 2004-11-15 20:11:48 UTC (rev 356) @@ -46,7 +46,6 @@ =A0=A0 =A0 =A0 =A0 { =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #region Fields =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 private SqlMapper _sqlMap =3D null; -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 private DaoManager _daoManager =3D null; =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #endregion =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #region Properties @@ -73,20 +72,14 @@ =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #endregion =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #region Constructor (s) / Destructor -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public SqlMapDaoSession(DaoManager daoManager, SqlMapper= sqlMap) +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public SqlMapDaoSession(DaoManager daoManager, SqlMapper= sqlMap):base(daoManager) =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 this.InitDaoSession( daoManager ); =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _sqlMap =3D sqlMap; =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #endregion =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #region Methods -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public override void InitDaoSession(DaoManager daoManager) -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _daoManager =3D daoManager; -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } - =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// <summary> =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// Opens a database connection. =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// </summary> Modified:= Source1/IBatisNet.DataAccess/DaoSessionHandlers/SqlMapDaoSessionHandler.cs =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ---= Source1/IBatisNet.DataAccess/DaoSessionHandlers/SqlMapDaoSessionHandler.cs=A0= =A0 =A0 =A0 2004-11-14 16:58:56 UTC (rev 355) +++= Source1/IBatisNet.DataAccess/DaoSessionHandlers/SqlMapDaoSessionHandler.cs=A0= =A0 =A0 =A0 2004-11-15 20:11:48 UTC (rev 356) @@ -58,7 +58,7 @@ =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public void Configure(Hashtable properties) +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public void Configure(IDictionary properties) =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 try =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { Modified: Source1/IBatisNet.DataAccess/IBatisNet.DataAccess.csproj =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- Source1/IBatisNet.DataAccess/IBatisNet.DataAccess.csproj=A0 =A0 =A0 =A0= 2004-11-14 16:58:56 UTC (rev 355) +++ Source1/IBatisNet.DataAccess/IBatisNet.DataAccess.csproj=A0 =A0 =A0 =A0= 2004-11-15 20:11:48 UTC (rev 356) @@ -104,6 +104,11 @@ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0AssemblyName =3D "NHibernate" =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0HintPath =3D "..\External-Bin\Net\1.1\NHibernate.dll" =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0/> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<Reference + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Name =3D "HashCodeProvider" + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0AssemblyName =3D "HashCodeProvider" + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0HintPath =3D= "..\External-Bin\Net\1.1\HashCodeProvider.dll" + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0/> =A0 =A0 =A0 =A0 =A0 =A0 =A0</References> =A0 =A0 =A0 =A0 =A0</Build> =A0 =A0 =A0 =A0 =A0<Files> @@ -200,11 +205,6 @@ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0BuildAction =3D "Compile" =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0/> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<File - =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0RelPath =3D "Interfaces\IDaoSession.cs" - =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0SubType =3D "Code" - =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0BuildAction =3D "Compile" - =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0/> - =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<File =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0RelPath =3D "Interfaces\IDaoSessionHandler.cs" =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0SubType =3D "Code" =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0BuildAction =3D "Compile" Deleted: Source1/IBatisNet.DataAccess/Interfaces/IDaoSession.cs =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- Source1/IBatisNet.DataAccess/Interfaces/IDaoSession.cs=A0 =A0 =A0 =A0 2004-11-14= 16:58:56 UTC (rev 355) +++ Source1/IBatisNet.DataAccess/Interfaces/IDaoSession.cs=A0 =A0 =A0 =A0 2004-11-15= 20:11:48 UTC (rev 356) @@ -1,45 +0,0 @@ - -#region Apache Notice -/**************************************************************************= *** - * $Header: $ - * $Revision: $ - * $Date: $ - * - * iBATIS.NET Data Mapper - * Copyright (C) 2004 - Gilles Bayon - * - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * =A0 =A0 =A0http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or= implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * -= ***************************************************************************= *****/ -#endregion - -#region Imports -using System; -using System.Data; - -using IBatisNet.Common; -using IBatisNet.DataAccess.Interfaces; -#endregion - - -namespace IBatisNet.DataAccess.Interfaces -{ -=A0 =A0 =A0 =A0 /// <summary> -=A0 =A0 =A0 =A0 /// Summary description for IDaoSession. -=A0 =A0 =A0 =A0 /// </summary> -=A0 =A0 =A0 =A0 public interface IDaoSession -=A0 =A0 =A0 =A0 { -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 void InitDaoSession(DaoManager daoManager); -=A0 =A0 =A0 =A0 } -} Modified: Source1/IBatisNet.DataAccess/Interfaces/IDaoSessionHandler.cs =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- Source1/IBatisNet.DataAccess/Interfaces/IDaoSessionHandler.cs=A0 =A0 =A0 =A0= 2004-11-14 16:58:56 UTC (rev 355) +++ Source1/IBatisNet.DataAccess/Interfaces/IDaoSessionHandler.cs=A0 =A0 =A0 =A0= 2004-11-15 20:11:48 UTC (rev 356) @@ -40,6 +40,6 @@ =A0=A0 =A0 =A0 =A0 public interface IDaoSessionHandler =A0=A0 =A0 =A0 =A0 { =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 DaoSession GetDaoSession(DaoManager daoManager); -=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 void Configure(Hashtable properties); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 void Configure(IDictionary properties); =A0=A0 =A0 =A0 =A0 } =A0} Added: Source1/IBatisNet.Test/Dao/Implementations/Ado/UserDao.cs =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- Source1/IBatisNet.Test/Dao/Implementations/Ado/UserDao.cs=A0 =A0 =A0 =A0= 2004-11-14 16:58:56 UTC (rev 355) +++ Source1/IBatisNet.Test/Dao/Implementations/Ado/UserDao.cs=A0 =A0 =A0 =A0= 2004-11-15 20:11:48 UTC (rev 356) @@ -0,0 +1,77 @@ +using System; + +using IBatisNet.DataAccess; +using IBatisNet.DataAccess.Exceptions; +using IBatisNet.DataAccess.Interfaces; + +using IBatisNet.Test.Interfaces; +using IBatisNet.Test.Implementations; + +using IBatisNet.Test.Domain; + +namespace IBatisNet.Test.Dao.Implementations.Ado +{ +=A0 =A0 =A0 =A0 /// <summary> +=A0 =A0 =A0 =A0 /// Summary description for UserDao. +=A0 =A0 =A0 =A0 /// </summary> +=A0 =A0 =A0 =A0 public class UserDao : BaseDao, IUserDao +=A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// <summary> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// Create an account +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// </summary> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// <param name=3D"account">The account to create</param> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public void Create(Account account) +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 IDbCommand command =3D null; +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 DaoSession daoSession =3D null; + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 daoSession =3D this.GetContext(); + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 command =3D= daoSession.CreateCommand(CommandType.Text); + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 try +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 if= (daoSession.DataSource.Provider.UseParameterPrefixInSql) +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 command.CommandText =3D= INSERT_ACCOUNT; +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 else +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 command.CommandText =3D= OLEDB_INSERT_ACCOUNT; +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 IDbDataParameter sqlParameter =3D= command.CreateParameter(); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 sqlParameter.ParameterName =3D= PARAM_ACCOUNT_ID; +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 sqlParameter.Value =3D account.Id; +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 command.Parameters.Add( =A0sqlParameter ); + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 sqlParameter =3D command.CreateParameter(); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 sqlParameter.ParameterName =3D= PARAM_ACCOUNT_FIRSTNAME; +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 sqlParameter.Value =3D account.FirstName; +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 command.Parameters.Add( =A0sqlParameter ); + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 sqlParameter =3D command.CreateParameter(); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 sqlParameter.ParameterName =3D= PARAM_ACCOUNT_LASTNAME; +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 sqlParameter.Value =3D account.LastName; +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 command.Parameters.Add( =A0sqlParameter ); + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 sqlParameter =3D command.CreateParameter(); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 sqlParameter.ParameterName =3D= PARAM_ACCOUNT_EMAIL; +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 sqlParameter.Value =3D account.EmailAddress; +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 command.Parameters.Add( =A0sqlParameter ); + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 command.ExecuteNonQuery(); + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 command.Parameters.Clear(); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 catch (System.Exception e) +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 throw new DataAccessException("Error= executing SqlAccountDao.Create. Cause :" + e.Message, e); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 finally +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 command.Dispose(); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } +=A0 =A0 =A0 =A0 } +} Added: Source1/IBatisNet.Test/Dao/Implementations/NHibernate/UserDao.cs =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- Source1/IBatisNet.Test/Dao/Implementations/NHibernate/UserDao.cs=A0 =A0 =A0 =A0= 2004-11-14 16:58:56 UTC (rev 355) +++ Source1/IBatisNet.Test/Dao/Implementations/NHibernate/UserDao.cs=A0 =A0 =A0 =A0= 2004-11-15 20:11:48 UTC (rev 356) @@ -0,0 +1,68 @@ +using System; + +using IBatisNet.DataMapper; +using IBatisNet.DataAccess.DaoSessionHandlers; // NHibernateDaoSession +using IBatisNet.DataAccess.Exceptions; + +// Domain Dao +using IBatisNet.Test.Interfaces; // IUserDao +using IBatisNet.Test.Implementations; // BaseDao + +using IBatisNet.Test.Domain; + +using NHibernate; + +namespace IBatisNet.Test.Dao.Implementations.NHibernate +{ +=A0 =A0 =A0 =A0 /// <summary> +=A0 =A0 =A0 =A0 /// Summary description for UserDao. +=A0 =A0 =A0 =A0 /// </summary> +=A0 =A0 =A0 =A0 public class UserDao : BaseDao, IUserDao +=A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// <summary> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// Create an user +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// </summary> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// <param name=3D"user">The user to create</param> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public void Create(User user) +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 NHibernateDaoSession nHibernateDaoSession =3D null; + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 try +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 nHibernateDaoSession =3D= (NHibernateDaoSession)this.GetContext(); + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ISession session =3D= nHibernateDaoSession.Session; + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 session.Save( user ); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 catch(DataAccessException ex) +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 throw new DataAccessException("Error= executing UserDao.Create. Cause :" +ex.Message,ex); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// <summary> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// Load a user +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// </summary> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public User Load(string id) +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 NHibernateDaoSession nHibernateDaoSession =3D null; +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 User user =3D null; + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 try +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 nHibernateDaoSession =3D= (NHibernateDaoSession)this.GetContext(); + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ISession session =3D= nHibernateDaoSession.Session; + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 user =3D session.Load(typeof(User),id) as= User; +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 catch(DataAccessException ex) +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 throw new DataAccessException("Error= executing UserDao.Create. Cause :" +ex.Message,ex); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 return user; +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } +=A0 =A0 =A0 =A0 } +} Added: Source1/IBatisNet.Test/Dao/Interfaces/IUserDao.cs =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- Source1/IBatisNet.Test/Dao/Interfaces/IUserDao.cs=A0 =A0 =A0 =A0 2004-11-14= 16:58:56 UTC (rev 355) +++ Source1/IBatisNet.Test/Dao/Interfaces/IUserDao.cs=A0 =A0 =A0 =A0 2004-11-15= 20:11:48 UTC (rev 356) @@ -0,0 +1,23 @@ +using System; + +using IBatisNet.Test.Domain; + +namespace IBatisNet.Test.Interfaces +{ +=A0 =A0 =A0 =A0 /// <summary> +=A0 =A0 =A0 =A0 /// Summary description for IuserDao. +=A0 =A0 =A0 =A0 /// </summary> +=A0 =A0 =A0 =A0 public interface IUserDao +=A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// <summary> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// Create an user +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// </summary> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// <param name=3D"user">The user to create</param> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 void Create(User user); + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// <summary> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// Load a user +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// </summary> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 User Load(string id); +=A0 =A0 =A0 =A0 } +} Added: Source1/IBatisNet.Test/Dao/Interfaces/IuserDao.cs =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- Source1/IBatisNet.Test/Dao/Interfaces/IuserDao.cs=A0 =A0 =A0 =A0 2004-11-14= 16:58:56 UTC (rev 355) +++ Source1/IBatisNet.Test/Dao/Interfaces/IuserDao.cs=A0 =A0 =A0 =A0 2004-11-15= 20:11:48 UTC (rev 356) @@ -0,0 +1,23 @@ +using System; + +using IBatisNet.Test.Domain; + +namespace IBatisNet.Test.Interfaces +{ +=A0 =A0 =A0 =A0 /// <summary> +=A0 =A0 =A0 =A0 /// Summary description for IuserDao. +=A0 =A0 =A0 =A0 /// </summary> +=A0 =A0 =A0 =A0 public interface IUserDao +=A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// <summary> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// Create an user +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// </summary> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// <param name=3D"user">The user to create</param> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 void Create(User user); + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// <summary> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// Load a user +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// </summary> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 User Load(string id); +=A0 =A0 =A0 =A0 } +} Added: Source1/IBatisNet.Test/Domain/User.cs =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- Source1/IBatisNet.Test/Domain/User.cs=A0 =A0 =A0 =A0 2004-11-14 16:58:56 UTC= (rev 355) +++ Source1/IBatisNet.Test/Domain/User.cs=A0 =A0 =A0 =A0 2004-11-15 20:11:48 UTC= (rev 356) @@ -0,0 +1,52 @@ +using System; + +namespace IBatisNet.Test.Domain +{ +=A0 =A0 =A0 =A0 /// <summary> +=A0 =A0 =A0 =A0 /// Summary description for User. +=A0 =A0 =A0 =A0 /// </summary> +=A0 =A0 =A0 =A0 public class User +=A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 private string id; +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 private string userName; +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 private string password; +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 private string emailAddress; +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 private DateTime lastLogon; + + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public User() +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public string Id +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 get { return id; } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 set { id =3D value; } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public string UserName +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 get { return userName; } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 set { userName =3D value; } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public string Password +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 get { return password; } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 set { password =3D value; } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public string EmailAddress +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 get { return emailAddress; } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 set { emailAddress =3D value; } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public DateTime LastLogon +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 get { return lastLogon; } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 set { lastLogon =3D value; } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } + +=A0 =A0 =A0 =A0 } +} Modified: Source1/IBatisNet.Test/IBatisNet.Test.csproj =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- Source1/IBatisNet.Test/IBatisNet.Test.csproj=A0 =A0 =A0 =A0 2004-11-14 16:58:56= UTC (rev 355) +++ Source1/IBatisNet.Test/IBatisNet.Test.csproj=A0 =A0 =A0 =A0 2004-11-15 20:11:48= UTC (rev 356) @@ -120,6 +120,11 @@ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0HintPath =3D "G:\Program Files\NUnit= 2.2\bin\nunit.framework.dll" =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0AssemblyFolderKey =3D "hklm\dn\nunit.framework" =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0/> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<Reference + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Name =3D "NHibernate" + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0AssemblyName =3D "NHibernate" + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0HintPath =3D "..\External-Bin\Net\1.1\NHibernate.dll" + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0/> =A0 =A0 =A0 =A0 =A0 =A0 =A0</References> =A0 =A0 =A0 =A0 =A0</Build> =A0 =A0 =A0 =A0 =A0<Files> @@ -154,6 +159,10 @@ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0BuildAction =3D "Content" =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0/> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<File + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0RelPath =3D "User.hbm.xml" + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0BuildAction =3D "EmbeddedResource" + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0/> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<File =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0RelPath =3D "bin\Debug\dao_MSSQL_Odbc.config" =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0BuildAction =3D "None" =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0/> @@ -205,11 +214,21 @@ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0BuildAction =3D "Compile" =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0/> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<File + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0RelPath =3D "Dao\Implementations\NHibernate\UserDao.cs" + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0SubType =3D "Code" + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0BuildAction =3D "Compile" + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0/> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<File =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0RelPath =3D "Dao\Interfaces\IAccountDao.cs" =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0SubType =3D "Code" =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0BuildAction =3D "Compile" =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0/> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<File + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0RelPath =3D "Dao\Interfaces\IUserDao.cs" + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0SubType =3D "Code" + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0BuildAction =3D "Compile" + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0/> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<File =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0RelPath =3D "Domain\Account.cs" =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0SubType =3D "Code" =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0BuildAction =3D "Compile" @@ -260,6 +279,11 @@ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0BuildAction =3D "Compile" =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0/> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<File + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0RelPath =3D "Domain\User.cs" + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0SubType =3D "Code" + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0BuildAction =3D "Compile" + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0/> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<File =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0RelPath =3D "Maps\Access\OleDb\Account.xml" =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0BuildAction =3D "Content" =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0/> @@ -442,6 +466,11 @@ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0BuildAction =3D "Compile" =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0/> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<File + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0RelPath =3D "NUnit\DaoTests\NHibernateDaoTest.cs" + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0SubType =3D "Code" + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0BuildAction =3D "Compile" + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0/> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<File =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0RelPath =3D "NUnit\DaoTests\SqlMapDaoTest.cs" =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0SubType =3D "Code" =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0BuildAction =3D "Compile" @@ -556,6 +585,10 @@ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0BuildAction =3D "Content" =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0/> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<File + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0RelPath =3D "Scripts\MSSQL\user-init.sql" + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0BuildAction =3D "Content" + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0/> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<File =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0RelPath =3D "Scripts\MySql\DataBase.sql" =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0BuildAction =3D "Content" =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0/> Added: Source1/IBatisNet.Test/NUnit/DaoTests/NHibernateDaoTest.cs =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- Source1/IBatisNet.Test/NUnit/DaoTests/NHibernateDaoTest.cs=A0 =A0 =A0 =A0= 2004-11-14 16:58:56 UTC (rev 355) +++ Source1/IBatisNet.Test/NUnit/DaoTests/NHibernateDaoTest.cs=A0 =A0 =A0 =A0= 2004-11-15 20:11:48 UTC (rev 356) @@ -0,0 +1,128 @@ +using System; +using System.IO; +using System.Configuration; + +using IBatisNet.DataAccess; +using IBatisNet.Common; // DataSource definition +using IBatisNet.Common.Utilities; // ScriptRunner definition + +using IBatisNet.Test.Interfaces; + +using IBatisNet.Test.NUnit; +using IBatisNet.Test.Domain; + +using NUnit.Framework; + +namespace IBatisNet.Test.NUnit.DaoTests +{ +=A0 =A0 =A0 =A0 /// <summary> +=A0 =A0 =A0 =A0 /// Summary description for NHibernateDaoTest. +=A0 =A0 =A0 =A0 /// </summary> +=A0 =A0 =A0 =A0 [TestFixture] +=A0 =A0 =A0 =A0 public class NHibernateDaoTest +=A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// <summary> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// A daoManager +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// </summary> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 private static =A0DaoManager _daoManager =3D null; + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// <summary> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// Initialisation +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// </summary> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [SetUp] +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public void SetUp() +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 string scriptDirectory =3D Resources.RootDirectory += Path.DirectorySeparatorChar + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 "Scripts" + Path.DirectorySeparatorChar + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= ConfigurationSettings.AppSettings["database"]+= Path.DirectorySeparatorChar; + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 DaoManager.Configure( "dao"+ "_" += ConfigurationSettings.AppSettings["database"] + "_" +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 += ConfigurationSettings.AppSettings["providerType"] + ".config" ); + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _daoManager =3D= DaoManager.GetInstance("NHibernateDao"); + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 InitScript( _daoManager.LocalDataSource,= scriptDirectory + "user-init.sql" ); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// <summary> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// Run a sql batch for the datasource. +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// </summary> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// <param name=3D"datasource">The datasource.</param> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// <param name=3D"script">The sql batch</param> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 protected static void InitScript(DataSource datasource,= string script) +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ScriptRunner runner =3D new ScriptRunner(); + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 runner.RunScript(datasource, script); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// <summary> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// Test Create user +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /// </summary> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [Test] +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 public void TestCreateUser () +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 IUserDao userDao =3D (IUserDao)_daoManager["User"]; + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 User newUser =3D new User(); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 newUser.Id =3D "joe_cool"; +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 newUser.UserName =3D "Joseph Cool"; +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 newUser.Password =3D "abc123"; +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 newUser.EmailAddress =3D "[email protected]"; +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 newUser.LastLogon =3D DateTime.Now; + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 try +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _daoManager.OpenConnection(); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 userDao.Create(newUser); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 catch(Exception e) +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 // Ignore +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Console.WriteLine("TestCreateUser, error= cause : "+e.Message); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 finally +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _daoManager.CloseConnection(); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 DateTime stamp =3D DateTime.Now; +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 User joeCool =3D null; +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 try +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 // open another session to retrieve the= just inserted user +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _daoManager.OpenConnection(); + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 //The User object you get back is live! +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 joeCool =3D userDao.Load("joe_cool"); + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Assert.IsNotNull(joeCool); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Assert.AreEqual("Joseph Cool",= joeCool.UserName); + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 //Change its properties and it will get= persisted to the database on Close. +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 // set Joe Cool's Last Login property +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 joeCool.LastLogon =3D stamp; +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 catch(Exception e) +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 // Ignore +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Console.WriteLine("TestCreateUser, error= cause : "+e.Message); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 finally +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 { +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 // flush the changes from the Session to= the Database +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _daoManager.CloseConnection(); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _daoManager.OpenConnection(); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 //The User object you get back is live! +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 joeCool =3D userDao.Load("joe_cool"); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _daoManager.CloseConnection(); + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Assert.IsNotNull(joeCool); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Assert.AreEqual("Joseph Cool", joeCool.UserName); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Assert.AreEqual(stamp.ToString(),= joeCool.LastLogon.ToString()); +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 } + +=A0 =A0 =A0 =A0 } +} Added: Source1/IBatisNet.Test/Scripts/MSSQL/user-init.sql =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- Source1/IBatisNet.Test/Scripts/MSSQL/user-init.sql=A0 =A0 =A0 =A0 2004-11-14= 16:58:56 UTC (rev 355) +++ Source1/IBatisNet.Test/Scripts/MSSQL/user-init.sql=A0 =A0 =A0 =A0 2004-11-15= 20:11:48 UTC (rev 356) @@ -0,0 +1,17 @@ +-- Creating Table + +use [IBatisNet] + +if exists (select * from dbo.sysobjects where id =3D= object_id(N'[dbo].[Users]') and OBJECTPROPERTY(id, N'IsUserTable') =3D 1) +BEGIN +=A0 =A0 =A0 =A0 drop table [dbo].[Users] +END + +CREATE TABLE [dbo].[Users] ( + =A0LogonID nvarchar(20) NOT NULL default '0', + =A0Name nvarchar(40) default NULL, + =A0Password nvarchar(20) default NULL, + =A0EmailAddress nvarchar(40) default NULL, + =A0LastLogon datetime default NULL, + =A0PRIMARY KEY =A0(LogonID) +) Added: Source1/IBatisNet.Test/User.hbm.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- Source1/IBatisNet.Test/User.hbm.xml=A0 =A0 =A0 =A0 2004-11-14 16:58:56 UTC (rev= 355) +++ Source1/IBatisNet.Test/User.hbm.xml=A0 =A0 =A0 =A0 2004-11-15 20:11:48 UTC (rev= 356) @@ -0,0 +1,13 @@ +<?xml version=3D"1.0" encoding=3D"utf-8" ?> +<hibernate-mapping xmlns=3D"urn:nhibernate-mapping-2.0"> +=A0 =A0 =A0 =A0 <class name=3D"IBatisNet.Test.Domain.User, IBatisNet.Test"= table=3D"users"> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <id name=3D"Id" column=3D"LogonId" type=3D"String" length=3D"20"> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <generator class=3D"assigned" /> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 </id> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <property name=3D"UserName" column=3D "Name" type=3D"String"= length=3D"40"/> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <property name=3D"Password" type=3D"String" length=3D"20"/> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <property name=3D"EmailAddress" type=3D"String" length=3D"40"/> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <property name=3D"LastLogon" type=3D"DateTime"/> +=A0 =A0 =A0 =A0 </class> + +</hibernate-mapping> \ No newline at end of file Modified: Source1/IBatisNet.Test/bin/Debug/dao_MSSQL_SqlClient.config =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- Source1/IBatisNet.Test/bin/Debug/dao_MSSQL_SqlClient.config=A0 =A0 =A0 =A0= 2004-11-14 16:58:56 UTC (rev 355) +++ Source1/IBatisNet.Test/bin/Debug/dao_MSSQL_SqlClient.config=A0 =A0 =A0 =A0= 2004-11-15 20:11:48 UTC (rev 356) @@ -31,4 +31,27 @@ =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <dao name=3D"Account"= implementation=3D"IBatisNet.Test.Dao.Implementations.DataMapper.AccountDao,= IBatisNet.Test"/> =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 </daoFactory> =A0=A0 =A0 =A0 =A0 </context> + +=A0 =A0 =A0 =A0 <context name=3D"NHibernateDao"> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <properties resource=3D"database.config"/> + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <daoSessionHandler name=3D"NHibernate"> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <property name=3D"hibernate.dialect"= value=3D"NHibernate.Dialect.MsSql2000Dialect"/> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <property name=3D"hibernate.connection.provider"= value=3D"NHibernate.Connection.DriverConnectionProvider"/> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <property name=3D"hibernate.connection.driver_class"= value=3D"NHibernate.Driver.SqlClientDriver"/> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <property= name=3D"hibernate.connection.connection_string" value=3D"data= source=3D${datasource};database=3D${database};user= id=3D${userid};password=3D${password};connection reset=3Dfalse;connection= lifetime=3D5; min pool size=3D1; max pool size=3D50"/> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <property name=3D"mapping" value=3D"IBatisNet.Test"/> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <property name=3D"show_sql" value=3D"false"/> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <property name=3D"use_outer_join" value=3D"true"/> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 </daoSessionHandler> + +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <database> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <dataSource name=3D"iBatisNet" connectionString=3D"data= source=3D${datasource};database=3D${database};user= id=3D${userid};password=3D${password};connection reset=3Dfalse;connection= lifetime=3D5; min pool size=3D1; max pool size=3D50"/> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <!-- Not yet implemented --> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <transactionManager type=3D"ADO/SWC"/> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 </database> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <daoFactory> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <dao name=3D"User"= implementation=3D"IBatisNet.Test.Dao.Implementations.NHibernate.UserDao,= IBatisNet.Test"/> +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 </daoFactory> +=A0 =A0 =A0 =A0 </context> =A0</daoConfig> Modified: Source1/IBatisNet.sln =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- Source1/IBatisNet.sln=A0 =A0 =A0 =A0 2004-11-14 16:58:56 UTC (rev 355) +++ Source1/IBatisNet.sln=A0 =A0 =A0 =A0 2004-11-15 20:11:48 UTC (rev 356) @@ -51,6 +51,7 @@ =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 External-Bin\Net\1.1\Apache.Avalon.DynamicProxy.dll =3D= External-Bin\Net\1.1\Apache.Avalon.DynamicProxy.dll =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 External-Bin\Net\1.1\ByteFX.MySqlClient.dll =3D= External-Bin\Net\1.1\ByteFX.MySqlClient.dll =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 IBatisNet.Schemas\DaoConfig.xsd =3D= IBatisNet.Schemas\DaoConfig.xsd +=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 External-Bin\Net\1.1\HashCodeProvider.dll =3D= External-Bin\Net\1.1\HashCodeProvider.dll =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ..\iBATIS.build =3D ..\iBATIS.build =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 External-Bin\Net\1.1\ICSharpCode.SharpZipLib.dll =3D= External-Bin\Net\1.1\ICSharpCode.SharpZipLib.dll =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 External-Bin\Net\1.1\log4net.dll =3D= External-Bin\Net\1.1\log4net.dll From [email protected] Sun Nov 28 23:08:45 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 28176 invoked by uid 99); 28 Nov 2004 23:08:45 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.plumcreek.com (HELO cfo-msg.plumcreek.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 28 Nov 2004 15:08:43 -0800 Received: from plumcreek-MTA by cfo-msg.plumcreek.net with Novell_GroupWise; Sun, 28 Nov 2004 16:08:41 -0700 Message-Id: <[email protected]> X-Mailer: Novell GroupWise Internet Agent 6.5.2 Date: Sun, 28 Nov 2004 16:08:47 -0700 From: "Larry Meadors" <[email protected]> To: <[email protected]> Subject: gah! information overload... Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked Do we need to email out commit info? This seems kind of extreme to me. If we do, can we make it a seperate list? Larry From [email protected] Mon Nov 29 01:06:54 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 52500 invoked by uid 99); 29 Nov 2004 01:06:54 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=MIME_QP_LONG_LINE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from ms-smtp-02.nyroc.rr.com (HELO ms-smtp-02.nyroc.rr.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 28 Nov 2004 17:06:54 -0800 Received: from pc18 (roc-24-93-23-127.rochester.rr.com [161.129.204.104]) by ms-smtp-02.nyroc.rr.com (8.12.10/8.12.10) with SMTP id iAT16lYo013814 for <[email protected]>; Sun, 28 Nov 2004 20:06:50 -0500 (EST) From: Ted Husted <[email protected]> To: <[email protected]> X-Mailer: PocoMail 3.2 (2000) - Licensed Version Date: Sun, 28 Nov 2004 20:03:23 -0500 Message-ID: <2004112820646.538705@pc18> In-Reply-To: <2004112820323.002449@pc18> Subject: Re: gah! information overload... Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked On Sun, 28 Nov 2004 16:08:47 -0700, Larry Meadors wrote: >=A0Do we need to email out commit info? Absolutely! >=A0This seems kind of extreme to me. Not in the least. All Apache projects do this, as do many SourceForge and= other open source projects. By emailing the changelogs, we don't have to= turn around and reiterate what we committed. Ideally, the commit logs= should be a primary way that the developers communicate with one another.= =A0We can explain what the code does when we commit it, and then the message= is permanently attached to the change for future review. =A0I I can guarantee that once you've used this approach, you won't want to work= any other way! >=A0If we do, can we make it a separate list? Yes. My bad. I neglected to remind everyone to subscribe to the= <[email protected]>=A0list, which is where I should have= posted the commit log. It is very important that all the committers subscribe to this list, and we= should try to make each log entry read like a email you would post to the= dev@ list. * <[email protected]> When applying a patch from a JIRA ticket, we should document the ticket and= credit the submitter of the ticket. "Apply JIRA ticket 1234 "Something doesn't work, here's the fix" submitted= by R. Favorite User." We can be more concise with the JIRA entries, since there is usually detail= there that we lookup if needed, but we should still credit the submitter by= name. -Ted. From [email protected] Mon Nov 29 23:51:01 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 19393 invoked by uid 99); 29 Nov 2004 23:51:01 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=MIME_QP_LONG_LINE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from ms-smtp-01.nyroc.rr.com (HELO ms-smtp-01.nyroc.rr.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 29 Nov 2004 15:51:00 -0800 Received: from pc18 (roc-24-93-23-127.rochester.rr.com [161.129.204.104]) by ms-smtp-01.nyroc.rr.com (8.12.10/8.12.10) with SMTP id iATNoslU002072 for <[email protected]>; Mon, 29 Nov 2004 18:50:55 -0500 (EST) From: Ted Husted <[email protected]> To: <[email protected]> X-Mailer: PocoMail 3.2 (2000) - Licensed Version Date: Mon, 29 Nov 2004 18:50:52 -0500 Message-ID: <20041129185052.925030@pc18> In-Reply-To: <20041127182652.923594@pc18> Subject: Re: SVN setup Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked Now that iBATIS/Java 2.0.8 is out, do you think this might be a good time to= migrate the CVS? On Sat, 27 Nov 2004 18:26:52 -0500, Ted Husted wrote: >=A0I think the best thing would be to import the SF.NET CVS first, and >=A0then add the wush.net SVN repository to that. Hopefully, we will be >=A0able to maintain the history from both repositories. > >=A0When we are ready to do CVS, we can park the tarball in one of our >=A0Apache user directories and then open a JIRA ticket for >=A0infrastructure. Several of these have been converted already for >=A0other teams, so it should go smoothly. We can then just pop what's >=A0imported down a level, so that it is all under a "java" subfolder. > >=A0-Ted. > >=A0On Sat, 27 Nov 2004 02:09:08 -0800, Clinton Begin wrote: > >>=A0Any luck on getting the SVN repository set up? >> >>=A0As a last minute recommendation, if we could use all lowercase >>=A0that =A0would be great. =A0For example: >> >>=A0ibatis/ >>=A0| >>=A0|-- java/ >>=A0| |-- branches/ >>=A0| |-- tags/ >>=A0| `-- trunk/ >>=A0| |-contributed >>=A0| |-ibatisdb >>=A0| |-ibatis-dbl-2 >>=A0| >>=A0`-- cs/ >>=A0| |-- branches/ >>=A0| |-- tags/ >>=A0| `-- trunk/ >>=A0| |- ibatisnet1 >>=A0`-- site From [email protected] Mon Nov 29 23:54:02 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 24892 invoked by uid 99); 29 Nov 2004 23:54:02 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from ms-smtp-04.nyroc.rr.com (HELO ms-smtp-04.nyroc.rr.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 29 Nov 2004 15:54:01 -0800 Received: from pc18 (roc-24-93-23-127.rochester.rr.com [161.129.204.104]) by ms-smtp-04.nyroc.rr.com (8.12.10/8.12.10) with SMTP id iATNrtOX027215 for <[email protected]>; Mon, 29 Nov 2004 18:53:57 -0500 (EST) From: Ted Husted <[email protected]> To: <[email protected]> X-Mailer: PocoMail 3.2 (2000) - Licensed Version Date: Mon, 29 Nov 2004 18:53:53 -0500 Message-ID: <20041129185353.455378@pc18> Subject: Mailing list setup - Replyto list? Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked Unlike the Jakarta and Struts mailing list, ours doesn't default replies= back to the list, but to the subscriber who made the post. My own preference is to default replies back to the list. If there are no objections, I'll see about getting it changed. -Ted. From [email protected] Tue Nov 30 01:29:37 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 19596 invoked by uid 99); 30 Nov 2004 01:29:37 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=MIME_QP_LONG_LINE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from ms-smtp-01.nyroc.rr.com (HELO ms-smtp-01.nyroc.rr.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 29 Nov 2004 17:29:36 -0800 Received: from pc18 (roc-24-93-23-127.rochester.rr.com [161.129.204.104]) by ms-smtp-01.nyroc.rr.com (8.12.10/8.12.10) with SMTP id iAU1TUlU015174 for <[email protected]>; Mon, 29 Nov 2004 20:29:32 -0500 (EST) From: Ted Husted <[email protected]> To: <[email protected]> X-Mailer: PocoMail 3.2 (2000) - Licensed Version Date: Mon, 29 Nov 2004 20:29:28 -0500 Message-ID: <20041129202928.386078@pc18> Subject: Website setup Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked For those of you not subscribed to the commits list, please note: ---- Modified: =A0=A0=A0site/trunk/src/documentation/content/xdocs/downloads.xml =A0=A0=A0site/trunk/src/documentation/content/xdocs/index.xml =A0=A0=A0site/trunk/src/documentation/content/xdocs/mailinglists.xml =A0=A0=A0site/trunk/src/documentation/content/xdocs/news.xml =A0=A0=A0site/trunk/src/documentation/content/xdocs/resources.xml Log: Update news page with items from ibatis.com, add reference to commits list= to mailing list page, update downloads to cite iBATIS Java v2.0.8. ---- Added: =A0=A0=A0site/trunk/src/documentation/content/xdocs/bylaws.xml Modified: =A0=A0=A0site/trunk/src/documentation/content/xdocs/site.xml Log: Add draft ByLaws page. ---- The ByLaws page is based on the one we use for Struts, which was in turn= based on the one from Jakarta, which was originally based on the HTTPD Core= Group docs :) Of course, this is just a draft, and we can make whatever changes we like. Next, I'll setup a STATUS file, update our checklist page with the= Incubator, and get us started with a Wiki site. [Warning: The wiki site= mails to the list too, so people can't post things without our knowledge= :)] -Ted. From [email protected] Tue Nov 30 15:45:32 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 28043 invoked by uid 99); 30 Nov 2004 15:45:32 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from exchange.sun.com (HELO exchange.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 30 Nov 2004 07:45:30 -0800 Received: (qmail 7591 invoked from network); 30 Nov 2004 15:45:28 -0000 Received: from localhost (HELO nagoya) (161.129.204.104) by nagoya.betaversion.org with SMTP; 30 Nov 2004 15:45:28 -0000 Message-ID: <1763608994.1101829528667.JavaMail.apache@nagoya> Date: Tue, 30 Nov 2004 07:45:28 -0800 (PST) From: "Tom Bast (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (IBATIS-19) iBATIS 2.0.8 ctested with Java 5? Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked iBATIS 2.0.8 ctested with Java 5? --------------------------------- Key: IBATIS-19 URL: http://nagoya.apache.org/jira/browse/IBATIS-19 Project: iBatis for Java Type: Test Components: SQL Maps Versions: 2.0.8 Environment: Java 5 on Linux Reporter: Tom Bast Priority: Minor Has iBATIS been validated against Java 5 yet? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira From [email protected] Tue Nov 30 16:07:34 2004 Return-Path: <[email protected]> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 95344 invoked by uid 99); 30 Nov 2004 16:07:34 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from exchange.sun.com (HELO exchange.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 30 Nov 2004 08:07:32 -0800 Received: (qmail 8032 invoked from network); 30 Nov 2004 16:07:30 -0000 Received: from localhost (HELO nagoya) (161.129.204.104) by nagoya.betaversion.org with SMTP; 30 Nov 2004 16:07:30 -0000 Message-ID: <1711033823.1101830850537.JavaMail.apache@nagoya> Date: Tue, 30 Nov 2004 08:07:30 -0800 (PST) From: "Larry Meadors (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (IBATIS-19) iBATIS 2.0.8 ctested with Java 5? In-Reply-To: <1763608994.1101829528667.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked [ http://nagoya.apache.org/jira/browse/IBATIS-19?page=comments#action_56031 ] Larry Meadors commented on IBATIS-19: ------------------------------------- I have used jdk 5 with iBATIS2. There was one issue, and it was fixed early, early in the beta releases of the jdk. > iBATIS 2.0.8 ctested with Java 5? > --------------------------------- > > Key: IBATIS-19 > URL: http://nagoya.apache.org/jira/browse/IBATIS-19 > Project: iBatis for Java > Type: Test > Components: SQL Maps > Versions: 2.0.8 > Environment: Java 5 on Linux > Reporter: Tom Bast > Priority: Minor > > Has iBATIS been validated against Java 5 yet? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira
From [email protected] Mon Apr 02 06:10:07 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71848 invoked from network); 2 Apr 2007 06:10:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Apr 2007 06:10:04 -0000 Received: (qmail 59163 invoked by uid 500); 2 Apr 2007 06:09:56 -0000 Delivered-To: [email protected] Received: (qmail 59023 invoked by uid 500); 2 Apr 2007 06:09:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 58958 invoked by uid 99); 2 Apr 2007 06:09:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Apr 2007 23:09:54 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Apr 2007 23:09:45 -0700 Received: by brutus.apache.org (Postfix, from userid 1007) id 96850714068; Sun, 1 Apr 2007 23:09:25 -0700 (PDT) From: [email protected] To: [email protected] Subject: Bug report for APR [2007/04/01] Message-Id: <[email protected]> Date: Sun, 1 Apr 2007 23:09:25 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org +---------------------------------------------------------------------------+ | Bugzilla Bug ID | | +---------------------------------------------------------------------+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned | | | OPN=Reopened VER=Verified (Skipped Closed/Resolved) | | | +-----------------------------------------------------------------+ | | | Severity: BLK=Blocker CRI=Critical MAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement | | | | +-------------------------------------------------------------+ | | | | Date Posted | | | | | +--------------------------------------------------+ | | | | | Description | | | | | | | |14328|New|Nor|2002-11-07|Apache 2.0.43 fails to compile with Berkeley DB v4| |16056|New|Enh|2003-01-14|Shared memory & mutex ownership not correctly esta| |20382|New|Nor|2003-05-31|Poor performance on W2000 AS | |24325|New|Enh|2003-11-01|apr_reslist doesn't work without threads | |28453|New|Enh|2004-04-18|apr_uri should parse relative to a base URI | |28712|New|Enh|2004-04-30|Emulate sparse/zero fill behavior for seek() -> wr| |28718|Ass|Enh|2004-04-30|apr_sdbm_lock does not pass the APR_FLOCK_NONBLOCK| |32498|New|Nor|2004-12-02|R_OK required by exec*() checks | |32520|New|Nor|2004-12-03|apr_time_exp_[gmt|tz|lt] return neg microseconds f| |32972|New|Nor|2005-01-06|testshmconsumer, testshmproducer fail | |33490|New|Nor|2005-02-10|APR does not compile with Borland C++ | |33491|New|Nor|2005-02-10|apr-util/test/testdate.c and testreslist use non-p| |33946|New|Nor|2005-03-10|definition of EILSEQ is missing | |35121|New|Nor|2005-05-30|x86 asm for atomic_cas should use "q" register cla| |37343|New|Nor|2005-11-03|Berkeley DB detection fails on Solaris | |37650|New|Nor|2005-11-26|apr-iconv fails to build with gcc 4 | |37664|New|Maj|2005-11-28|apr_dbd_oracle.c parameter and output handling | |38410|New|Nor|2006-01-27|apr/win32 misinterpreted the meaning of WAIT_ABAND| |39259|New|Nor|2006-04-10|SIGSEGV on mod_cache | |39289|New|Nor|2006-04-12|test suite additions for trylock functions | |39604|New|Nor|2006-05-17|apr_memcache_hash not returning expected result | |39790|New|Nor|2006-06-12|Crash on receiving 2 SIGUSR1 in a short period of | |39814|Inf|Nor|2006-06-14|decision on anonymous shared memory allocation met| |39852|New|Nor|2006-06-21|apr_os_locale_encoding does not build under Window| |39853|New|Nor|2006-06-21|apr_strtoi64 does not build on WinCE due to lack o| |39856|New|Nor|2006-06-22|apr_time_exp_lt calls SystemTimeToTzSpecificLocalT| |39857|New|Nor|2006-06-22|apr_time_clock_hires calls unsupported SetTimeReso| |39858|New|Nor|2006-06-22|apr_proc_mutex_child_init calls unimpl'd OpenMutex| |39859|New|Nor|2006-06-22|apr_socket_create calls unsupp'd SetHandleInformat| |39867|New|Nor|2006-06-22|apr_env_* methods should return APR_ENOTIMPL for W| |39868|New|Nor|2006-06-22|attr_cleanup in threadproc/win32/proc.c accesses s| |39869|New|Nor|2006-06-22|apr_proc_create calls unsupp'd getenv on WinCE | |39884|New|Nor|2006-06-23|apr_strings calls unsupported strtoi, _strtoi64 on| |39886|New|Nor|2006-06-23|apr_{name}_inherit_[un]set calls unsupp'd SetHandl| |39888|New|Nor|2006-06-23|misc/win32/apr_app.c and others include crtdbg.h o| |39889|New|Nor|2006-06-23|misc/win32/misc.c fails to compile on WinCE | |39892|New|Nor|2006-06-23|apr_app_initialize uses environment and CommandLin| |39895|New|Nor|2006-06-23|apr_os_strerror fails on WinCE (or when _UNICODE i| |39896|New|Enh|2006-06-23|Output test status to OutputDebugString in additio| |40020|New|Nor|2006-07-11|Add support for apr_uint8_t and apr_int8_t types | |40193|New|Nor|2006-08-06|Patches to support different compiler than EMX on | |40353|New|Nor|2006-08-30|mysql_init() not found in libmysqlclient_r, blocks| |40398|New|Nor|2006-09-02|Cannot compile project in VS 2005, network _io\uni| |40559|Inf|Nor|2006-09-20|problem building apr on solaris | |40622|New|Enh|2006-09-27|enhance apr temp files on NT to be more secure | |40758|New|Maj|2006-10-15|WIN64, apr_vformatter(..) cannot handle 64bit poin| |40845|New|Nor|2006-10-30|A patch for apr_tables.c | |40893|New|Enh|2006-11-03|apr_brigade_length to return length as is instead | |40939|New|Enh|2006-11-09|pool minimal allocation size should be configurabl| |40955|New|Nor|2006-11-13|possible apr_allocator_max_free_set issues | |40963|New|Nor|2006-11-13|apr_file_trunc screws up file offset on Unix. | |40971|New|Nor|2006-11-14|apr_thread_cond_signal insufficiently documented | |41099|New|Enh|2006-12-03|Manually block apr_queue_pop(), apr_queue_push(), | |41105|New|Nor|2006-12-04|apr_gid_name_get using getgrgid_r fails for large | |41119|New|Maj|2006-12-06|apr_pool_cleanup_for_exec *do* flush I/O buffers | |41192|New| |2006-12-17|Add the expat libtool file to the LT_LDFLAGS varia| |41238|New| |2006-12-24|apr_dir_read returns ENOENT instead of APR_ENOENT | |41243|New|Nor|2006-12-26|Several apr_thread_cond_signal() may wake up only | |41250|New|Nor|2006-12-27|unnecessary sub-pool creation in apr_dbd_oracle.c | |41254|New|Enh|2006-12-28|apr_queue_t enhancements | |41348|New| |2007-01-11|APR_POLL_LASTDESC isn't marked as deprecated | |41351|New|Enh|2007-01-11|Tivoli LDAP SDK support in aprutil | |41352|New|Min|2007-01-11|openldap and per-connection client certificates in| |41359|New|Nor|2007-01-12|[thread pool] assert bug fix and support to retrie| |41386|New|Nor|2007-01-16|apr_dso_load broken on Mac OSX | |41390|New|Enh|2007-01-17|doxygen for APR_FOPEN_LARGEFILE is incomplete | |41397|New|Nor|2007-01-17|apr_table_vdo uses the value of va_arg(vp,char *) | |41640|New|Nor|2007-02-16|Improve APR handling of case-insensitive file syst| |41659|New|Min|2007-02-20|apr_os_locale_encoding(): retval of nl_langinfo() | |41678|New|Nor|2007-02-22|APR_FINFO_CSIZE support missing on unix | |41807|New|Enh|2007-03-10|dbd driver registration function | |41914|New|Nor|2007-03-21|MinGW supports | |41916|New|Nor|2007-03-21|MinGW support | |41950|New|Nor|2007-03-26|MAKE_TABLE_PROFILE gives segfault instead of error| |41975|New|Nor|2007-03-28|retry accept() when errno == EINTR | +-----+---+---+----------+--------------------------------------------------+ | Total 75 bugs | +---------------------------------------------------------------------------+ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 07 10:25:26 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45545 invoked from network); 7 Apr 2007 10:25:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Apr 2007 10:25:25 -0000 Received: (qmail 69366 invoked by uid 500); 7 Apr 2007 10:25:32 -0000 Delivered-To: [email protected] Received: (qmail 69336 invoked by uid 500); 7 Apr 2007 10:25:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 69324 invoked by uid 99); 7 Apr 2007 10:25:31 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Apr 2007 03:25:31 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Apr 2007 03:25:24 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 400ED71406C; Sat, 7 Apr 2007 03:25:04 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 42066] New: - apr_bucket_alloc crash when apr_allocator_alloc fails Message-ID: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Date: Sat, 7 Apr 2007 03:25:04 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42066>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=42066 Summary: apr_bucket_alloc crash when apr_allocator_alloc fails Product: APR Version: HEAD Platform: PC OS/Version: All Status: NEW Keywords: PatchAvailable Severity: major Priority: P3 Component: APR-util AssignedTo: [email protected] ReportedBy: [email protected] If apr_allocator_alloc at apr_buckets_alloc.c line 129 and 142 fails, SEGV occurs. It should abort when APR_POOL_DEBUG is enabled. Or even if APR_POOL_DEBUG is disabled, should apr_bucket_alloc return NULL? -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 07 10:29:08 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46398 invoked from network); 7 Apr 2007 10:29:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Apr 2007 10:29:08 -0000 Received: (qmail 73384 invoked by uid 500); 7 Apr 2007 10:29:14 -0000 Delivered-To: [email protected] Received: (qmail 73361 invoked by uid 500); 7 Apr 2007 10:29:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 73350 invoked by uid 99); 7 Apr 2007 10:29:14 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Apr 2007 03:29:14 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Apr 2007 03:29:07 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 25AAF71406C; Sat, 7 Apr 2007 03:28:47 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 42066] - apr_bucket_alloc crash when apr_allocator_alloc fails In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Sat, 7 Apr 2007 03:28:47 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42066>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=42066 ------- Additional Comments From [email protected] 2007-04-07 03:28 ------- Created an attachment (id=19921) --> (http://issues.apache.org/bugzilla/attachment.cgi?id=19921&action=view) write error and abort -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 09 06:09:53 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85052 invoked from network); 9 Apr 2007 06:09:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Apr 2007 06:09:50 -0000 Received: (qmail 13251 invoked by uid 500); 9 Apr 2007 06:09:55 -0000 Delivered-To: [email protected] Received: (qmail 13178 invoked by uid 500); 9 Apr 2007 06:09:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 13110 invoked by uid 99); 9 Apr 2007 06:09:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Apr 2007 23:09:54 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Apr 2007 23:09:46 -0700 Received: by brutus.apache.org (Postfix, from userid 1007) id E90F271406D; Sun, 8 Apr 2007 23:09:25 -0700 (PDT) From: [email protected] To: [email protected] Subject: Bug report for APR [2007/04/08] Message-Id: <[email protected]> Date: Sun, 8 Apr 2007 23:09:25 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org +---------------------------------------------------------------------------+ | Bugzilla Bug ID | | +---------------------------------------------------------------------+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned | | | OPN=Reopened VER=Verified (Skipped Closed/Resolved) | | | +-----------------------------------------------------------------+ | | | Severity: BLK=Blocker CRI=Critical MAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement | | | | +-------------------------------------------------------------+ | | | | Date Posted | | | | | +--------------------------------------------------+ | | | | | Description | | | | | | | |14328|New|Nor|2002-11-07|Apache 2.0.43 fails to compile with Berkeley DB v4| |16056|New|Enh|2003-01-14|Shared memory & mutex ownership not correctly esta| |20382|New|Nor|2003-05-31|Poor performance on W2000 AS | |24325|New|Enh|2003-11-01|apr_reslist doesn't work without threads | |28453|New|Enh|2004-04-18|apr_uri should parse relative to a base URI | |28712|New|Enh|2004-04-30|Emulate sparse/zero fill behavior for seek() -> wr| |28718|Ass|Enh|2004-04-30|apr_sdbm_lock does not pass the APR_FLOCK_NONBLOCK| |32498|New|Nor|2004-12-02|R_OK required by exec*() checks | |32520|New|Nor|2004-12-03|apr_time_exp_[gmt|tz|lt] return neg microseconds f| |32972|New|Nor|2005-01-06|testshmconsumer, testshmproducer fail | |33490|New|Nor|2005-02-10|APR does not compile with Borland C++ | |33491|New|Nor|2005-02-10|apr-util/test/testdate.c and testreslist use non-p| |33946|New|Nor|2005-03-10|definition of EILSEQ is missing | |34927|Opn|Blk|2005-05-15|apr-1.1.1 | |35121|New|Nor|2005-05-30|x86 asm for atomic_cas should use "q" register cla| |37343|New|Nor|2005-11-03|Berkeley DB detection fails on Solaris | |37650|New|Nor|2005-11-26|apr-iconv fails to build with gcc 4 | |37664|New|Maj|2005-11-28|apr_dbd_oracle.c parameter and output handling | |38410|New|Nor|2006-01-27|apr/win32 misinterpreted the meaning of WAIT_ABAND| |39259|New|Nor|2006-04-10|SIGSEGV on mod_cache | |39289|New|Nor|2006-04-12|test suite additions for trylock functions | |39604|New|Nor|2006-05-17|apr_memcache_hash not returning expected result | |39790|New|Nor|2006-06-12|Crash on receiving 2 SIGUSR1 in a short period of | |39814|Inf|Nor|2006-06-14|decision on anonymous shared memory allocation met| |39852|New|Nor|2006-06-21|apr_os_locale_encoding does not build under Window| |39853|New|Nor|2006-06-21|apr_strtoi64 does not build on WinCE due to lack o| |39856|New|Nor|2006-06-22|apr_time_exp_lt calls SystemTimeToTzSpecificLocalT| |39857|New|Nor|2006-06-22|apr_time_clock_hires calls unsupported SetTimeReso| |39858|New|Nor|2006-06-22|apr_proc_mutex_child_init calls unimpl'd OpenMutex| |39859|New|Nor|2006-06-22|apr_socket_create calls unsupp'd SetHandleInformat| |39867|New|Nor|2006-06-22|apr_env_* methods should return APR_ENOTIMPL for W| |39868|New|Nor|2006-06-22|attr_cleanup in threadproc/win32/proc.c accesses s| |39869|New|Nor|2006-06-22|apr_proc_create calls unsupp'd getenv on WinCE | |39884|New|Nor|2006-06-23|apr_strings calls unsupported strtoi, _strtoi64 on| |39886|New|Nor|2006-06-23|apr_{name}_inherit_[un]set calls unsupp'd SetHandl| |39888|New|Nor|2006-06-23|misc/win32/apr_app.c and others include crtdbg.h o| |39889|New|Nor|2006-06-23|misc/win32/misc.c fails to compile on WinCE | |39892|New|Nor|2006-06-23|apr_app_initialize uses environment and CommandLin| |39895|New|Nor|2006-06-23|apr_os_strerror fails on WinCE (or when _UNICODE i| |39896|New|Enh|2006-06-23|Output test status to OutputDebugString in additio| |40020|New|Nor|2006-07-11|Add support for apr_uint8_t and apr_int8_t types | |40193|New|Nor|2006-08-06|Patches to support different compiler than EMX on | |40353|New|Nor|2006-08-30|mysql_init() not found in libmysqlclient_r, blocks| |40398|New|Nor|2006-09-02|Cannot compile project in VS 2005, network _io\uni| |40559|Inf|Nor|2006-09-20|problem building apr on solaris | |40622|New|Enh|2006-09-27|enhance apr temp files on NT to be more secure | |40758|New|Maj|2006-10-15|WIN64, apr_vformatter(..) cannot handle 64bit poin| |40845|New|Nor|2006-10-30|A patch for apr_tables.c | |40893|New|Enh|2006-11-03|apr_brigade_length to return length as is instead | |40939|New|Enh|2006-11-09|pool minimal allocation size should be configurabl| |40955|New|Nor|2006-11-13|possible apr_allocator_max_free_set issues | |40963|New|Nor|2006-11-13|apr_file_trunc screws up file offset on Unix. | |40971|New|Nor|2006-11-14|apr_thread_cond_signal insufficiently documented | |41099|New|Enh|2006-12-03|Manually block apr_queue_pop(), apr_queue_push(), | |41105|New|Nor|2006-12-04|apr_gid_name_get using getgrgid_r fails for large | |41119|New|Maj|2006-12-06|apr_pool_cleanup_for_exec *do* flush I/O buffers | |41192|New| |2006-12-17|Add the expat libtool file to the LT_LDFLAGS varia| |41238|New| |2006-12-24|apr_dir_read returns ENOENT instead of APR_ENOENT | |41243|New|Nor|2006-12-26|Several apr_thread_cond_signal() may wake up only | |41250|New|Nor|2006-12-27|unnecessary sub-pool creation in apr_dbd_oracle.c | |41254|New|Enh|2006-12-28|apr_queue_t enhancements | |41348|New| |2007-01-11|APR_POLL_LASTDESC isn't marked as deprecated | |41351|New|Enh|2007-01-11|Tivoli LDAP SDK support in aprutil | |41352|New|Min|2007-01-11|openldap and per-connection client certificates in| |41359|New|Nor|2007-01-12|[thread pool] assert bug fix and support to retrie| |41386|New|Nor|2007-01-16|apr_dso_load broken on Mac OSX | |41390|New|Enh|2007-01-17|doxygen for APR_FOPEN_LARGEFILE is incomplete | |41397|New|Nor|2007-01-17|apr_table_vdo uses the value of va_arg(vp,char *) | |41640|New|Nor|2007-02-16|Improve APR handling of case-insensitive file syst| |41659|New|Min|2007-02-20|apr_os_locale_encoding(): retval of nl_langinfo() | |41678|New|Nor|2007-02-22|APR_FINFO_CSIZE support missing on unix | |41807|New|Enh|2007-03-10|dbd driver registration function | |41914|New|Nor|2007-03-21|MinGW supports | |41916|New|Nor|2007-03-21|MinGW support | |41950|New|Nor|2007-03-26|MAKE_TABLE_PROFILE gives segfault instead of error| |41975|New|Nor|2007-03-28|retry accept() when errno == EINTR | |42066|New|Maj|2007-04-07|apr_bucket_alloc crash when apr_allocator_alloc fa| +-----+---+---+----------+--------------------------------------------------+ | Total 77 bugs | +---------------------------------------------------------------------------+ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Apr 11 20:22:56 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86403 invoked from network); 11 Apr 2007 20:22:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Apr 2007 20:22:55 -0000 Received: (qmail 33090 invoked by uid 500); 11 Apr 2007 20:23:01 -0000 Delivered-To: [email protected] Received: (qmail 33058 invoked by uid 500); 11 Apr 2007 20:23:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 33047 invoked by uid 99); 11 Apr 2007 20:23:01 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Apr 2007 13:23:01 -0700 X-ASF-Spam-Status: No, hits=-96.1 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50,URIBL_JP_SURBL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Apr 2007 13:22:54 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 46C9A714077; Wed, 11 Apr 2007 13:22:34 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 42093] New: - port_getn passes tv_nsec 1000000 times too small Message-ID: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Date: Wed, 11 Apr 2007 13:22:34 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42093>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=42093 Summary: port_getn passes tv_nsec 1000000 times too small Product: APR Version: HEAD Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: APR AssignedTo: [email protected] ReportedBy: [email protected] poll/unix/port.c suffers from the same bug as kqueue (http://www.mail- [email protected]/msg17085.html). The fix is the same: http://svn.apache.org/viewvc/apr/apr/trunk/poll/unix/kqueue.c? r1=428317&r2=439667 -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 13 20:34:04 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 34644 invoked from network); 13 Apr 2007 20:34:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Apr 2007 20:34:01 -0000 Received: (qmail 86721 invoked by uid 500); 13 Apr 2007 20:34:07 -0000 Delivered-To: [email protected] Received: (qmail 86697 invoked by uid 500); 13 Apr 2007 20:34:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 86686 invoked by uid 99); 13 Apr 2007 20:34:07 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2007 13:34:07 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2007 13:34:00 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 6BC84714071; Fri, 13 Apr 2007 13:33:40 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 40559] - problem building apr on solaris In-Reply-To: <{{EMAIL+PHONE}}/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Fri, 13 Apr 2007 13:33:40 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=40559>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=40559 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Resolution| |WORKSFORME ------- Additional Comments From [email protected] 2007-04-13 13:33 ------- This is apparently a bug in your solaris toolchain, if using gcc from sunfreeware you better follow their directions carefully. If this is cc I'd stop to ensure you have all the patches from sun applied. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 13 20:39:37 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36845 invoked from network); 13 Apr 2007 20:39:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Apr 2007 20:39:37 -0000 Received: (qmail 97098 invoked by uid 500); 13 Apr 2007 20:39:43 -0000 Delivered-To: [email protected] Received: (qmail 97072 invoked by uid 500); 13 Apr 2007 20:39:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 97059 invoked by uid 99); 13 Apr 2007 20:39:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2007 13:39:43 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2007 13:39:36 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 31C63714081; Fri, 13 Apr 2007 13:39:16 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 39814] - decision on anonymous shared memory allocation method In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Fri, 13 Apr 2007 13:39:16 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39814>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=39814 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Resolution| |WONTFIX ------- Additional Comments From [email protected] 2007-04-13 13:39 ------- As 1.3 solves the mingw issue, and the solaris issue appears to be from a very corrupt toolchain (I disagree with Joe, cc_symbols is causing failures), I strongly encourage the original reporter to obtain a modern sun cc from the DevStudio and ensure it is patched - the system headers aren't compatible with the toolchain, apparently. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 13 20:40:26 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37100 invoked from network); 13 Apr 2007 20:40:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Apr 2007 20:40:25 -0000 Received: (qmail 738 invoked by uid 500); 13 Apr 2007 20:40:31 -0000 Delivered-To: [email protected] Received: (qmail 720 invoked by uid 500); 13 Apr 2007 20:40:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 709 invoked by uid 99); 13 Apr 2007 20:40:31 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2007 13:40:31 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2007 13:40:25 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 15AEC71407D; Fri, 13 Apr 2007 13:40:04 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 39814] - decision on anonymous shared memory allocation method In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Fri, 13 Apr 2007 13:40:04 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39814>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=39814 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WONTFIX | ------- Additional Comments From [email protected] 2007-04-13 13:40 ------- Miscoded, reopening to close -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 13 20:40:55 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37173 invoked from network); 13 Apr 2007 20:40:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Apr 2007 20:40:54 -0000 Received: (qmail 1067 invoked by uid 500); 13 Apr 2007 20:41:00 -0000 Delivered-To: [email protected] Received: (qmail 1043 invoked by uid 500); 13 Apr 2007 20:41:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 1032 invoked by uid 99); 13 Apr 2007 20:41:00 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2007 13:41:00 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2007 13:40:54 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id EF7D471407D; Fri, 13 Apr 2007 13:40:33 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 39814] - decision on anonymous shared memory allocation method In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Fri, 13 Apr 2007 13:40:33 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39814>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=39814 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |WORKSFORME ------- Additional Comments From [email protected] 2007-04-13 13:40 ------- Wrong letter 'w' - sorry about that. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 13 20:55:35 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40667 invoked from network); 13 Apr 2007 20:55:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Apr 2007 20:55:34 -0000 Received: (qmail 26168 invoked by uid 500); 13 Apr 2007 20:55:40 -0000 Delivered-To: [email protected] Received: (qmail 26140 invoked by uid 500); 13 Apr 2007 20:55:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 26129 invoked by uid 99); 13 Apr 2007 20:55:40 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2007 13:55:40 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2007 13:55:34 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id EC9E2714080; Fri, 13 Apr 2007 13:55:13 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 42093] - port_getn passes tv_nsec 1000000 times too small In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Fri, 13 Apr 2007 13:55:13 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42093>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=42093 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From [email protected] 2007-04-13 13:55 ------- Nice low hanging fruit - solved, thanks for the report. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 13 21:17:00 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45862 invoked from network); 13 Apr 2007 21:17:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Apr 2007 21:17:00 -0000 Received: (qmail 67286 invoked by uid 500); 13 Apr 2007 21:17:06 -0000 Delivered-To: [email protected] Received: (qmail 67266 invoked by uid 500); 13 Apr 2007 21:17:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 67250 invoked by uid 99); 13 Apr 2007 21:17:06 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2007 14:17:06 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2007 14:16:59 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id A4ECA714080; Fri, 13 Apr 2007 14:16:39 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 41678] - APR_FINFO_CSIZE support missing on unix In-Reply-To: <{{EMAIL+PHONE}}/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Fri, 13 Apr 2007 14:16:39 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=41678>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=41678 ------- Additional Comments From [email protected] 2007-04-13 14:16 ------- Nicklas - on HPUX: (1024-byte) AIX on PS/2 (4096-byte) can you -describe- the appropriate exception clause? Please don't pollute the discussion by quoting code, thank you. Are these somehow available from a system constant? -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 13 21:48:40 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59971 invoked from network); 13 Apr 2007 21:48:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Apr 2007 21:48:40 -0000 Received: (qmail 27983 invoked by uid 500); 13 Apr 2007 21:48:46 -0000 Delivered-To: [email protected] Received: (qmail 27955 invoked by uid 500); 13 Apr 2007 21:48:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 27943 invoked by uid 99); 13 Apr 2007 21:48:46 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2007 14:48:46 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2007 14:48:39 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 35AD7714082; Fri, 13 Apr 2007 14:48:19 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 41678] - APR_FINFO_CSIZE support missing on unix In-Reply-To: <{{EMAIL+PHONE}}/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Fri, 13 Apr 2007 14:48:19 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=41678>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=41678 ------- Additional Comments From [email protected] 2007-04-13 14:48 ------- Ok, IIUC on HPUX, it's st_blksize * st_blocks - correct? If this is the case, we can conditionally include the math if st_blksize is also present, and trust st_blksize == 512 if not. Make sense? -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 14 11:56:50 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68626 invoked from network); 14 Apr 2007 11:56:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Apr 2007 11:56:50 -0000 Received: (qmail 69811 invoked by uid 500); 14 Apr 2007 11:56:56 -0000 Delivered-To: [email protected] Received: (qmail 69787 invoked by uid 500); 14 Apr 2007 11:56:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 69776 invoked by uid 99); 14 Apr 2007 11:56:56 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Apr 2007 04:56:56 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Apr 2007 04:56:49 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 56C6F714080; Sat, 14 Apr 2007 04:56:29 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 41678] - APR_FINFO_CSIZE support missing on unix In-Reply-To: <{{EMAIL+PHONE}}/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Sat, 14 Apr 2007 04:56:29 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=41678>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=41678 ------- Additional Comments From [email protected] 2007-04-14 04:56 ------- (In reply to comment #3) > Nicklas - on HPUX: (1024-byte) AIX on PS/2 (4096-byte) can you -describe- the > appropriate exception clause? Please don't pollute the discussion by quoting > code, thank you. AIX PS/2 (I386) is scarily obsolete by now, but if you want to detect it you can check that both _AIX and _I386 are defined. I honestly don't think that AIX PS/2 is used anywhere. > Are these somehow available from a system constant? >From what I can gather, DEV_BSIZE is the relevant system constant. Note that you should NOT confuse DEV_BSIZE with st_blksize! st_blksize is the preferred (min)size when doing IO, which is a completely different beast! It seems that for most systems including HPUX DEV_BSIZE is defined in sys/param.h, except of course on AIX where it's defined in sys/dir.h ... I would this suggest the following logic: Include sys/param.h. When _AIX is defined, include sys/dir.h too. If DEV_BSIZE is defined, use it. Otherwise, assume DEV_BSIZE is 512 bytes. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 16 06:10:02 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61641 invoked from network); 16 Apr 2007 06:10:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Apr 2007 06:10:01 -0000 Received: (qmail 10008 invoked by uid 500); 16 Apr 2007 06:09:57 -0000 Delivered-To: [email protected] Received: (qmail 9921 invoked by uid 500); 16 Apr 2007 06:09:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 9851 invoked by uid 99); 16 Apr 2007 06:09:56 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Apr 2007 23:09:56 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Apr 2007 23:09:48 -0700 Received: by brutus.apache.org (Postfix, from userid 1007) id 899CD714073; Sun, 15 Apr 2007 23:09:28 -0700 (PDT) From: [email protected] To: [email protected] Subject: Bug report for APR [2007/04/15] Message-Id: <[email protected]> Date: Sun, 15 Apr 2007 23:09:28 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org +---------------------------------------------------------------------------+ | Bugzilla Bug ID | | +---------------------------------------------------------------------+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned | | | OPN=Reopened VER=Verified (Skipped Closed/Resolved) | | | +-----------------------------------------------------------------+ | | | Severity: BLK=Blocker CRI=Critical MAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement | | | | +-------------------------------------------------------------+ | | | | Date Posted | | | | | +--------------------------------------------------+ | | | | | Description | | | | | | | |14328|New|Nor|2002-11-07|Apache 2.0.43 fails to compile with Berkeley DB v4| |16056|New|Enh|2003-01-14|Shared memory & mutex ownership not correctly esta| |20382|New|Nor|2003-05-31|Poor performance on W2000 AS | |24325|New|Enh|2003-11-01|apr_reslist doesn't work without threads | |28453|New|Enh|2004-04-18|apr_uri should parse relative to a base URI | |28712|New|Enh|2004-04-30|Emulate sparse/zero fill behavior for seek() -> wr| |28718|Ass|Enh|2004-04-30|apr_sdbm_lock does not pass the APR_FLOCK_NONBLOCK| |32498|New|Nor|2004-12-02|R_OK required by exec*() checks | |32520|New|Nor|2004-12-03|apr_time_exp_[gmt|tz|lt] return neg microseconds f| |32972|New|Nor|2005-01-06|testshmconsumer, testshmproducer fail | |33490|New|Nor|2005-02-10|APR does not compile with Borland C++ | |33491|New|Nor|2005-02-10|apr-util/test/testdate.c and testreslist use non-p| |33946|New|Nor|2005-03-10|definition of EILSEQ is missing | |34927|Opn|Blk|2005-05-15|apr-1.1.1 | |35121|New|Nor|2005-05-30|x86 asm for atomic_cas should use "q" register cla| |37343|New|Nor|2005-11-03|Berkeley DB detection fails on Solaris | |37650|New|Nor|2005-11-26|apr-iconv fails to build with gcc 4 | |37664|New|Maj|2005-11-28|apr_dbd_oracle.c parameter and output handling | |38410|New|Nor|2006-01-27|apr/win32 misinterpreted the meaning of WAIT_ABAND| |39259|New|Nor|2006-04-10|SIGSEGV on mod_cache | |39289|New|Nor|2006-04-12|test suite additions for trylock functions | |39604|New|Nor|2006-05-17|apr_memcache_hash not returning expected result | |39790|New|Nor|2006-06-12|Crash on receiving 2 SIGUSR1 in a short period of | |39852|New|Nor|2006-06-21|apr_os_locale_encoding does not build under Window| |39853|New|Nor|2006-06-21|apr_strtoi64 does not build on WinCE due to lack o| |39856|New|Nor|2006-06-22|apr_time_exp_lt calls SystemTimeToTzSpecificLocalT| |39857|New|Nor|2006-06-22|apr_time_clock_hires calls unsupported SetTimeReso| |39858|New|Nor|2006-06-22|apr_proc_mutex_child_init calls unimpl'd OpenMutex| |39859|New|Nor|2006-06-22|apr_socket_create calls unsupp'd SetHandleInformat| |39867|New|Nor|2006-06-22|apr_env_* methods should return APR_ENOTIMPL for W| |39868|New|Nor|2006-06-22|attr_cleanup in threadproc/win32/proc.c accesses s| |39869|New|Nor|2006-06-22|apr_proc_create calls unsupp'd getenv on WinCE | |39884|New|Nor|2006-06-23|apr_strings calls unsupported strtoi, _strtoi64 on| |39886|New|Nor|2006-06-23|apr_{name}_inherit_[un]set calls unsupp'd SetHandl| |39888|New|Nor|2006-06-23|misc/win32/apr_app.c and others include crtdbg.h o| |39889|New|Nor|2006-06-23|misc/win32/misc.c fails to compile on WinCE | |39892|New|Nor|2006-06-23|apr_app_initialize uses environment and CommandLin| |39895|New|Nor|2006-06-23|apr_os_strerror fails on WinCE (or when _UNICODE i| |39896|New|Enh|2006-06-23|Output test status to OutputDebugString in additio| |40020|New|Nor|2006-07-11|Add support for apr_uint8_t and apr_int8_t types | |40193|New|Nor|2006-08-06|Patches to support different compiler than EMX on | |40353|New|Nor|2006-08-30|mysql_init() not found in libmysqlclient_r, blocks| |40398|New|Nor|2006-09-02|Cannot compile project in VS 2005, network _io\uni| |40622|New|Enh|2006-09-27|enhance apr temp files on NT to be more secure | |40758|New|Maj|2006-10-15|WIN64, apr_vformatter(..) cannot handle 64bit poin| |40845|New|Nor|2006-10-30|A patch for apr_tables.c | |40893|New|Enh|2006-11-03|apr_brigade_length to return length as is instead | |40939|New|Enh|2006-11-09|pool minimal allocation size should be configurabl| |40955|New|Nor|2006-11-13|possible apr_allocator_max_free_set issues | |40963|New|Nor|2006-11-13|apr_file_trunc screws up file offset on Unix. | |40971|New|Nor|2006-11-14|apr_thread_cond_signal insufficiently documented | |41099|New|Enh|2006-12-03|Manually block apr_queue_pop(), apr_queue_push(), | |41105|New|Nor|2006-12-04|apr_gid_name_get using getgrgid_r fails for large | |41119|New|Maj|2006-12-06|apr_pool_cleanup_for_exec *do* flush I/O buffers | |41192|New| |2006-12-17|Add the expat libtool file to the LT_LDFLAGS varia| |41238|New| |2006-12-24|apr_dir_read returns ENOENT instead of APR_ENOENT | |41243|New|Nor|2006-12-26|Several apr_thread_cond_signal() may wake up only | |41250|New|Nor|2006-12-27|unnecessary sub-pool creation in apr_dbd_oracle.c | |41254|New|Enh|2006-12-28|apr_queue_t enhancements | |41348|New| |2007-01-11|APR_POLL_LASTDESC isn't marked as deprecated | |41351|New|Enh|2007-01-11|Tivoli LDAP SDK support in aprutil | |41352|New|Min|2007-01-11|openldap and per-connection client certificates in| |41359|New|Nor|2007-01-12|[thread pool] assert bug fix and support to retrie| |41386|New|Nor|2007-01-16|apr_dso_load broken on Mac OSX | |41390|New|Enh|2007-01-17|doxygen for APR_FOPEN_LARGEFILE is incomplete | |41397|New|Nor|2007-01-17|apr_table_vdo uses the value of va_arg(vp,char *) | |41640|New|Nor|2007-02-16|Improve APR handling of case-insensitive file syst| |41659|New|Min|2007-02-20|apr_os_locale_encoding(): retval of nl_langinfo() | |41678|New|Nor|2007-02-22|APR_FINFO_CSIZE support missing on unix | |41807|New|Enh|2007-03-10|dbd driver registration function | |41914|New|Nor|2007-03-21|MinGW supports | |41916|New|Nor|2007-03-21|MinGW support | |41950|New|Nor|2007-03-26|MAKE_TABLE_PROFILE gives segfault instead of error| |41975|New|Nor|2007-03-28|retry accept() when errno == EINTR | |42066|New|Maj|2007-04-07|apr_bucket_alloc crash when apr_allocator_alloc fa| +-----+---+---+----------+--------------------------------------------------+ | Total 75 bugs | +---------------------------------------------------------------------------+ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 17 21:27:24 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26106 invoked from network); 17 Apr 2007 21:27:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Apr 2007 21:27:24 -0000 Received: (qmail 93671 invoked by uid 500); 17 Apr 2007 21:27:30 -0000 Delivered-To: [email protected] Received: (qmail 93639 invoked by uid 500); 17 Apr 2007 21:27:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 93626 invoked by uid 99); 17 Apr 2007 21:27:30 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2007 14:27:30 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2007 14:27:23 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 2D61A714057; Tue, 17 Apr 2007 14:27:02 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 41640] - Improve APR handling of case-insensitive file systems In-Reply-To: <{{EMAIL+PHONE}}/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Tue, 17 Apr 2007 14:27:02 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=41640>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=41640 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Priority|P2 |P5 ------- Additional Comments From [email protected] 2007-04-17 14:27 ------- Enhancements welcome. POSIX provides no context to solve these issues, platform-by-platform solutions are the only viable means to improve this. Demoted to P5 as this is already handled in all non-POSIX ports such as Win32/Netware/OS2. POSIX filesystems are all case sensitive, where a POSIX filesystem such as apple hfs or cygwin introduces case insensitivity, the basic assumptions of POSIX are violated. The real solution here seems to be to extend POSIX to account for this variance in a manner than APR could accommodate it. But per-platform patches are welcome. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 17 21:37:13 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 34388 invoked from network); 17 Apr 2007 21:37:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Apr 2007 21:37:12 -0000 Received: (qmail 11646 invoked by uid 500); 17 Apr 2007 21:37:19 -0000 Delivered-To: [email protected] Received: (qmail 11628 invoked by uid 500); 17 Apr 2007 21:37:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 11616 invoked by uid 99); 17 Apr 2007 21:37:19 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2007 14:37:19 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2007 14:37:12 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 36249714057; Tue, 17 Apr 2007 14:36:52 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 41659] - apr_os_locale_encoding(): retval of nl_langinfo() should be strdup'ed somehow In-Reply-To: <{{EMAIL+PHONE}}/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Tue, 17 Apr 2007 14:36:52 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=41659>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=41659 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From [email protected] 2007-04-17 14:36 ------- fixed in r529774 and it's backports to the next 0.9 and 1.2 thanks for the report! -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 17 22:13:34 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45553 invoked from network); 17 Apr 2007 22:13:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Apr 2007 22:13:33 -0000 Received: (qmail 79047 invoked by uid 500); 17 Apr 2007 22:13:40 -0000 Delivered-To: [email protected] Received: (qmail 79021 invoked by uid 500); 17 Apr 2007 22:13:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 79010 invoked by uid 99); 17 Apr 2007 22:13:39 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2007 15:13:39 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2007 15:13:33 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 07ECC714043; Tue, 17 Apr 2007 15:13:12 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 41352] - openldap and per-connection client certificates in apr-util LDAP In-Reply-To: <{{EMAIL+PHONE}}/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Tue, 17 Apr 2007 15:13:12 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=41352>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=41352 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |PatchAvailable -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 17 22:14:02 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45841 invoked from network); 17 Apr 2007 22:14:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Apr 2007 22:14:01 -0000 Received: (qmail 81997 invoked by uid 500); 17 Apr 2007 22:14:08 -0000 Delivered-To: [email protected] Received: (qmail 81973 invoked by uid 500); 17 Apr 2007 22:14:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 81962 invoked by uid 99); 17 Apr 2007 22:14:08 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2007 15:14:08 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2007 15:14:01 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 465A171403F; Tue, 17 Apr 2007 15:13:41 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 41351] - Tivoli LDAP SDK support in aprutil In-Reply-To: <{{EMAIL+PHONE}}/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Tue, 17 Apr 2007 15:13:41 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=41351>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=41351 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |PatchAvailable -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 17 22:17:32 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46248 invoked from network); 17 Apr 2007 22:17:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Apr 2007 22:17:31 -0000 Received: (qmail 84963 invoked by uid 500); 17 Apr 2007 22:17:38 -0000 Delivered-To: [email protected] Received: (qmail 84932 invoked by uid 500); 17 Apr 2007 22:17:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 84921 invoked by uid 99); 17 Apr 2007 22:17:37 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2007 15:17:37 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2007 15:17:31 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 08C60714043; Tue, 17 Apr 2007 15:17:10 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 41359] - [thread pool] assert bug fix and support to retrieve owner from task function In-Reply-To: <{{EMAIL+PHONE}}/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Tue, 17 Apr 2007 15:17:10 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=41359>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=41359 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From [email protected] 2007-04-17 15:17 ------- Applied thanks! -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 17 22:19:10 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46494 invoked from network); 17 Apr 2007 22:19:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Apr 2007 22:19:10 -0000 Received: (qmail 85992 invoked by uid 500); 17 Apr 2007 22:19:16 -0000 Delivered-To: [email protected] Received: (qmail 85969 invoked by uid 500); 17 Apr 2007 22:19:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 85957 invoked by uid 99); 17 Apr 2007 22:19:16 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2007 15:19:16 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2007 15:19:09 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id C0D3E714043; Tue, 17 Apr 2007 15:18:49 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 41386] - apr_dso_load ignores DYLD_LIBRARY_PATH on Mac OSX In-Reply-To: <{{EMAIL+PHONE}}/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Tue, 17 Apr 2007 15:18:49 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=41386>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=41386 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|apr_dso_load broken on Mac |apr_dso_load ignores |OSX |DYLD_LIBRARY_PATH on Mac OSX ------- Additional Comments From [email protected] 2007-04-17 15:18 ------- Renaming the incident to make the issue clearer for review. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Apr 18 00:30:17 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78627 invoked from network); 18 Apr 2007 00:30:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Apr 2007 00:30:16 -0000 Received: (qmail 55260 invoked by uid 500); 18 Apr 2007 00:30:23 -0000 Delivered-To: [email protected] Received: (qmail 55235 invoked by uid 500); 18 Apr 2007 00:30:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 55219 invoked by uid 99); 18 Apr 2007 00:30:22 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2007 17:30:22 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2007 17:30:16 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 0A9DD714046; Tue, 17 Apr 2007 17:29:55 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 41238] - apr_dir_read returns ENOENT instead of APR_ENOENT In-Reply-To: <{{EMAIL+PHONE}}/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Tue, 17 Apr 2007 17:29:55 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=41238>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=41238 ------- Additional Comments From [email protected] 2007-04-17 17:29 ------- Good observation, fixed in trunk, no point in backporting since this would only [email protected] apr. Thanks for the patch! -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Apr 18 00:33:25 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79351 invoked from network); 18 Apr 2007 00:33:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Apr 2007 00:33:24 -0000 Received: (qmail 60399 invoked by uid 500); 18 Apr 2007 00:33:30 -0000 Delivered-To: [email protected] Received: (qmail 60371 invoked by uid 500); 18 Apr 2007 00:33:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 60360 invoked by uid 99); 18 Apr 2007 00:33:30 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2007 17:33:30 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2007 17:33:23 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 7B57D714046; Tue, 17 Apr 2007 17:33:03 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 41243] - Several apr_thread_cond_signal() may wake up only one waiting thread In-Reply-To: <{{EMAIL+PHONE}}/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Tue, 17 Apr 2007 17:33:03 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=41243>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=41243 ------- Additional Comments From [email protected] 2007-04-17 17:33 ------- Would be happy to review this if presented as a 'minimalist patch'. Wholesale refactorings are very expensive to review in terms of reviewers time, so I can't in good faith tag this as PatchAvailable. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Apr 18 00:44:41 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82189 invoked from network); 18 Apr 2007 00:44:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Apr 2007 00:44:40 -0000 Received: (qmail 74097 invoked by uid 500); 18 Apr 2007 00:44:47 -0000 Delivered-To: [email protected] Received: (qmail 74071 invoked by uid 500); 18 Apr 2007 00:44:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 74060 invoked by uid 99); 18 Apr 2007 00:44:47 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2007 17:44:47 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2007 17:44:40 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id E8124714046; Tue, 17 Apr 2007 17:44:19 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 41099] - Manually block apr_queue_pop(), apr_queue_push(), etc. In-Reply-To: <{{EMAIL+PHONE}}/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Tue, 17 Apr 2007 17:44:19 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=41099>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=41099 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |PatchAvailable -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Apr 18 00:46:08 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82414 invoked from network); 18 Apr 2007 00:46:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Apr 2007 00:46:08 -0000 Received: (qmail 75944 invoked by uid 500); 18 Apr 2007 00:46:14 -0000 Delivered-To: [email protected] Received: (qmail 75917 invoked by uid 500); 18 Apr 2007 00:46:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 75904 invoked by uid 99); 18 Apr 2007 00:46:14 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2007 17:46:14 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2007 17:46:07 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 717C5714046; Tue, 17 Apr 2007 17:45:47 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 41105] - apr_gid_name_get using getgrgid_r fails for large groups In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Tue, 17 Apr 2007 17:45:47 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=41105>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=41105 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #19400|0 |1 is obsolete| | ------- Additional Comments From [email protected] 2007-04-17 17:45 ------- (From update of attachment 19400) Apparently patch doesn't address the issue. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Apr 18 00:50:17 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82925 invoked from network); 18 Apr 2007 00:50:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Apr 2007 00:50:17 -0000 Received: (qmail 80185 invoked by uid 500); 18 Apr 2007 00:50:23 -0000 Delivered-To: [email protected] Received: (qmail 80155 invoked by uid 500); 18 Apr 2007 00:50:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 80144 invoked by uid 99); 18 Apr 2007 00:50:23 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2007 17:50:23 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2007 17:50:16 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id AE9DF714057; Tue, 17 Apr 2007 17:49:56 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 41119] - apr_pool_cleanup_for_exec must discard I/O buffers In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Tue, 17 Apr 2007 17:49:56 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=41119>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=41119 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|apr_pool_cleanup_for_exec |apr_pool_cleanup_for_exec |*do* flush I/O buffers |must discard I/O buffers ------- Additional Comments From [email protected] 2007-04-17 17:49 ------- In summary, what the reporter is trying to say is that the cleanup after fork before exec should be dumping all I/O that persists in the parent process and will be flushed by the parent in due course. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Apr 18 06:15:58 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66844 invoked from network); 18 Apr 2007 06:15:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Apr 2007 06:15:49 -0000 Received: (qmail 91384 invoked by uid 500); 18 Apr 2007 06:15:56 -0000 Delivered-To: [email protected] Received: (qmail 91363 invoked by uid 500); 18 Apr 2007 06:15:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 91352 invoked by uid 99); 18 Apr 2007 06:15:55 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2007 23:15:55 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2007 23:15:48 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 9FA74714046; Tue, 17 Apr 2007 23:15:28 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 41119] - apr_pool_cleanup_for_exec must discard I/O buffers In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Tue, 17 Apr 2007 23:15:28 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=41119>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=41119 ------- Additional Comments From [email protected] 2007-04-17 23:15 ------- Yes, I can confirm this. This is what the _child_ process does: ------------------------------------------ (gdb) bt #0 apr_unix_file_cleanup (thefile=0x8aa40d8) at file_io/unix/open.c:32 #1 0x009910ee in run_child_cleanups (cref=0x8aa40b0) at memory/unix/apr_pools.c:2090 #2 0x00991112 in cleanup_pool_for_exec (p=0x8aa40a0) at memory/unix/apr_pools.c:2097 #3 0x00991128 in cleanup_pool_for_exec (p=0x8aa40a0) at memory/unix/apr_pools.c:2100 #4 0x00991159 in apr_pool_cleanup_for_exec () at memory/unix/apr_pools.c:2115 #5 0x0099cf43 in apr_proc_create (new=0x8aa5148, progname=0x8048919 "/bin/ls", args=0xbfc7944c, env=0xbfc793ec, attr=0x8aa5158, pool=0x8aa40a0) at threadproc/unix/proc.c:403 #6 0x080487d1 in main () at test.c:32 ------------------------------------------ With this in *file: ------------------------------------------ (gdb) p *file $9 = {pool = 0x8aa40a0, filedes = 7, fname = 0x8aa4128 "/tmp/testfile", flags = 230, eof_hit = 0, is_pipe = 0, timeout = -1, buffered = 1, blocking = BLK_ON, ungetchar = -1, buffer = 0x8aa4138 "0123456789", bufpos = 10, bufsize = 4096, dataRead = 0, direction = 1, filePtr = 0, thlock = 0x0} ------------------------------------------ That's what writes the first 10 bytes from the example. Of course, the same 10 bytes are in the parent's buffer. Later on the parent comes to apr_unix_file_cleanup() too and flushes out 20 bytes (another 10 were written in the meantime), giving the total of 30. As it stands, the cleanup (when it gets called) has no idea if it should flush the stuff out or not. One solution may be to create linked list of opened files and put every file in it on apr_file_open(). The files would also have to unlinked on apr_file_close(), of course. This list could then be traversed in apr_pool_cleanup_for_exec() and all file->buffered flags could be set to zero before running the actual cleanup. Then the buffer wouldn't get flushed. Yeah, pretty corny, I know... -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Apr 18 06:28:33 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69222 invoked from network); 18 Apr 2007 06:28:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Apr 2007 06:28:33 -0000 Received: (qmail 4636 invoked by uid 500); 18 Apr 2007 06:28:39 -0000 Delivered-To: [email protected] Received: (qmail 4622 invoked by uid 500); 18 Apr 2007 06:28:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 4611 invoked by uid 99); 18 Apr 2007 06:28:39 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2007 23:28:39 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2007 23:28:32 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 3CFE4714046; Tue, 17 Apr 2007 23:28:12 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 41119] - apr_pool_cleanup_for_exec must discard I/O buffers In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Tue, 17 Apr 2007 23:28:12 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=41119>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=41119 ------- Additional Comments From [email protected] 2007-04-17 23:28 ------- Another solution may be to introduce run_child_cleanups_on_exec() instead of running regular run_child_cleanups(), where it would be checked if (*c->child_cleanup_fn) is in fact apr_unix_file_cleanup() or equivalent (which is now private, so it would have to be made "known" somehow) and if yes, the argument (which is *file) would get its buffered flag zeroed before the cleanup is actually called. Hackish... -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Apr 18 07:16:26 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85311 invoked from network); 18 Apr 2007 07:16:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Apr 2007 07:16:25 -0000 Received: (qmail 69256 invoked by uid 500); 18 Apr 2007 07:16:31 -0000 Delivered-To: [email protected] Received: (qmail 69239 invoked by uid 500); 18 Apr 2007 07:16:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 69228 invoked by uid 99); 18 Apr 2007 07:16:31 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Apr 2007 00:16:31 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Apr 2007 00:16:24 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id C8393714075; Wed, 18 Apr 2007 00:16:04 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 41119] - apr_pool_cleanup_for_exec must discard I/O buffers In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Wed, 18 Apr 2007 00:16:04 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=41119>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=41119 ------- Additional Comments From [email protected] 2007-04-18 00:16 ------- I did some quick and dirty patches for my second suggestion (against APR trunk) and that appears to be fixing issue. Let me know if you want to pursue this and I'll try to find out how to do it properly. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Apr 18 13:32:38 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81522 invoked from network); 18 Apr 2007 13:32:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Apr 2007 13:32:37 -0000 Received: (qmail 29497 invoked by uid 500); 18 Apr 2007 13:32:44 -0000 Delivered-To: [email protected] Received: (qmail 29474 invoked by uid 500); 18 Apr 2007 13:32:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 29463 invoked by uid 99); 18 Apr 2007 13:32:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Apr 2007 06:32:43 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Apr 2007 06:32:36 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id A635E714076; Wed, 18 Apr 2007 06:32:16 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 41119] - apr_pool_cleanup_for_exec must discard I/O buffers In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Wed, 18 Apr 2007 06:32:16 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=41119>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=41119 ------- Additional Comments From [email protected] 2007-04-18 06:32 ------- The comment dates back to Apache 1.3 where cleanups for FILE * were handled exactly as stated (and as expected by this reporter). The APR file implementation has simply never implemented this guarantee - whether by intent or not, I don't know. Changing it should be as simple as registering a different child_cleanup in apr_file_open() - a cleanup which doesn't call flush like apr_unix_file_cleanup(). I've avoided touching this since I think it's vaguely conceivable that an application could rely on the current behaviour, and it would kind of be an interface break. You can get into a philosophical debate here about whether API is defined by random comments in headers or by actual implementation behaviour. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Apr 18 22:51:57 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93250 invoked from network); 18 Apr 2007 22:51:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Apr 2007 22:51:56 -0000 Received: (qmail 49138 invoked by uid 500); 18 Apr 2007 22:52:03 -0000 Delivered-To: [email protected] Received: (qmail 49111 invoked by uid 500); 18 Apr 2007 22:52:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 49100 invoked by uid 99); 18 Apr 2007 22:52:02 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Apr 2007 15:52:02 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Apr 2007 15:51:55 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id B4E9871407D; Wed, 18 Apr 2007 15:51:35 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 41119] - apr_pool_cleanup_for_exec must discard I/O buffers In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Wed, 18 Apr 2007 15:51:35 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=41119>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=41119 ------- Additional Comments From [email protected] 2007-04-18 15:51 ------- > Changing it should be as simple as registering a different child_cleanup in apr_file_open() - a cleanup which doesn't call flush like apr_unix_file_cleanup(). If there is only one possible behaviour of the child cleanup here, then that's a really easy fix. I wasn't sure if that would be the case, so I went on inventing hackish ways of having two, probably completely unnecessary :-) > You can get into a philosophical debate here about whether API is defined by random comments in headers or by actual implementation behaviour. I would view this from the "does it make sense" point of view. At present, the exact same piece of data stored in the buffer gets written into the file twice. That seems to be the bit that doesn't make sense to me, so changing the behaviour would be warranted. But then again, if we historically didn't do this, we should just change the documentation and let people know that they _must_ flush all buffered files before calling apr_proc_create(), or they will suffer from this. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Apr 18 23:02:44 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95405 invoked from network); 18 Apr 2007 23:02:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Apr 2007 23:02:43 -0000 Received: (qmail 60325 invoked by uid 500); 18 Apr 2007 23:02:50 -0000 Delivered-To: [email protected] Received: (qmail 60299 invoked by uid 500); 18 Apr 2007 23:02:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 60288 invoked by uid 99); 18 Apr 2007 23:02:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Apr 2007 16:02:49 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Apr 2007 16:02:42 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id A9C6671407D; Wed, 18 Apr 2007 16:02:22 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 41119] - apr_pool_cleanup_for_exec must discard I/O buffers In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Wed, 18 Apr 2007 16:02:22 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=41119>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=41119 ------- Additional Comments From [email protected] 2007-04-18 16:02 ------- > they _must_ flush all buffered files before calling apr_proc_create() This may be a difficult thing to do, of course, especially within software like httpd, where one doesn't control many open files. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 23 06:10:09 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36543 invoked from network); 23 Apr 2007 06:10:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Apr 2007 06:10:06 -0000 Received: (qmail 51432 invoked by uid 500); 23 Apr 2007 06:10:00 -0000 Delivered-To: [email protected] Received: (qmail 51388 invoked by uid 500); 23 Apr 2007 06:09:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 51335 invoked by uid 99); 23 Apr 2007 06:09:59 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Apr 2007 23:09:59 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Apr 2007 23:09:48 -0700 Received: by brutus.apache.org (Postfix, from userid 1007) id 0432D714071; Sun, 22 Apr 2007 23:09:27 -0700 (PDT) From: [email protected] To: [email protected] Subject: Bug report for APR [2007/04/22] Message-Id: <[email protected]> Date: Sun, 22 Apr 2007 23:09:27 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org +---------------------------------------------------------------------------+ | Bugzilla Bug ID | | +---------------------------------------------------------------------+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned | | | OPN=Reopened VER=Verified (Skipped Closed/Resolved) | | | +-----------------------------------------------------------------+ | | | Severity: BLK=Blocker CRI=Critical MAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement | | | | +-------------------------------------------------------------+ | | | | Date Posted | | | | | +--------------------------------------------------+ | | | | | Description | | | | | | | |14328|New|Nor|2002-11-07|Apache 2.0.43 fails to compile with Berkeley DB v4| |16056|New|Enh|2003-01-14|Shared memory & mutex ownership not correctly esta| |20382|New|Nor|2003-05-31|Poor performance on W2000 AS | |24325|New|Enh|2003-11-01|apr_reslist doesn't work without threads | |28453|New|Enh|2004-04-18|apr_uri should parse relative to a base URI | |28712|New|Enh|2004-04-30|Emulate sparse/zero fill behavior for seek() -> wr| |28718|Ass|Enh|2004-04-30|apr_sdbm_lock does not pass the APR_FLOCK_NONBLOCK| |32498|New|Nor|2004-12-02|R_OK required by exec*() checks | |32520|New|Nor|2004-12-03|apr_time_exp_[gmt|tz|lt] return neg microseconds f| |32972|New|Nor|2005-01-06|testshmconsumer, testshmproducer fail | |33490|New|Nor|2005-02-10|APR does not compile with Borland C++ | |33491|New|Nor|2005-02-10|apr-util/test/testdate.c and testreslist use non-p| |33946|New|Nor|2005-03-10|definition of EILSEQ is missing | |34927|Opn|Blk|2005-05-15|apr-1.1.1 | |35121|New|Nor|2005-05-30|x86 asm for atomic_cas should use "q" register cla| |37343|New|Nor|2005-11-03|Berkeley DB detection fails on Solaris | |37650|New|Nor|2005-11-26|apr-iconv fails to build with gcc 4 | |37664|New|Maj|2005-11-28|apr_dbd_oracle.c parameter and output handling | |38410|New|Nor|2006-01-27|apr/win32 misinterpreted the meaning of WAIT_ABAND| |39259|New|Nor|2006-04-10|SIGSEGV on mod_cache | |39289|New|Nor|2006-04-12|test suite additions for trylock functions | |39604|New|Nor|2006-05-17|apr_memcache_hash not returning expected result | |39790|New|Nor|2006-06-12|Crash on receiving 2 SIGUSR1 in a short period of | |39852|New|Nor|2006-06-21|apr_os_locale_encoding does not build under Window| |39853|New|Nor|2006-06-21|apr_strtoi64 does not build on WinCE due to lack o| |39856|New|Nor|2006-06-22|apr_time_exp_lt calls SystemTimeToTzSpecificLocalT| |39857|New|Nor|2006-06-22|apr_time_clock_hires calls unsupported SetTimeReso| |39858|New|Nor|2006-06-22|apr_proc_mutex_child_init calls unimpl'd OpenMutex| |39859|New|Nor|2006-06-22|apr_socket_create calls unsupp'd SetHandleInformat| |39867|New|Nor|2006-06-22|apr_env_* methods should return APR_ENOTIMPL for W| |39868|New|Nor|2006-06-22|attr_cleanup in threadproc/win32/proc.c accesses s| |39869|New|Nor|2006-06-22|apr_proc_create calls unsupp'd getenv on WinCE | |39884|New|Nor|2006-06-23|apr_strings calls unsupported strtoi, _strtoi64 on| |39886|New|Nor|2006-06-23|apr_{name}_inherit_[un]set calls unsupp'd SetHandl| |39888|New|Nor|2006-06-23|misc/win32/apr_app.c and others include crtdbg.h o| |39889|New|Nor|2006-06-23|misc/win32/misc.c fails to compile on WinCE | |39892|New|Nor|2006-06-23|apr_app_initialize uses environment and CommandLin| |39895|New|Nor|2006-06-23|apr_os_strerror fails on WinCE (or when _UNICODE i| |39896|New|Enh|2006-06-23|Output test status to OutputDebugString in additio| |40020|New|Nor|2006-07-11|Add support for apr_uint8_t and apr_int8_t types | |40193|New|Nor|2006-08-06|Patches to support different compiler than EMX on | |40353|New|Nor|2006-08-30|mysql_init() not found in libmysqlclient_r, blocks| |40398|New|Nor|2006-09-02|Cannot compile project in VS 2005, network _io\uni| |40622|New|Enh|2006-09-27|enhance apr temp files on NT to be more secure | |40758|New|Maj|2006-10-15|WIN64, apr_vformatter(..) cannot handle 64bit poin| |40845|New|Nor|2006-10-30|A patch for apr_tables.c | |40893|New|Enh|2006-11-03|apr_brigade_length to return length as is instead | |40939|New|Enh|2006-11-09|pool minimal allocation size should be configurabl| |40955|New|Nor|2006-11-13|possible apr_allocator_max_free_set issues | |40963|New|Nor|2006-11-13|apr_file_trunc screws up file offset on Unix. | |40971|New|Nor|2006-11-14|apr_thread_cond_signal insufficiently documented | |41099|New|Enh|2006-12-03|Manually block apr_queue_pop(), apr_queue_push(), | |41105|New|Nor|2006-12-04|apr_gid_name_get using getgrgid_r fails for large | |41119|New|Maj|2006-12-06|apr_pool_cleanup_for_exec must discard I/O buffers| |41192|New| |2006-12-17|Add the expat libtool file to the LT_LDFLAGS varia| |41238|New| |2006-12-24|apr_dir_read returns ENOENT instead of APR_ENOENT | |41243|New|Nor|2006-12-26|Several apr_thread_cond_signal() may wake up only | |41250|New|Nor|2006-12-27|unnecessary sub-pool creation in apr_dbd_oracle.c | |41254|New|Enh|2006-12-28|apr_queue_t enhancements | |41348|New| |2007-01-11|APR_POLL_LASTDESC isn't marked as deprecated | |41351|New|Enh|2007-01-11|Tivoli LDAP SDK support in aprutil | |41352|New|Min|2007-01-11|openldap and per-connection client certificates in| |41386|New|Nor|2007-01-16|apr_dso_load ignores DYLD_LIBRARY_PATH on Mac OSX | |41390|New|Enh|2007-01-17|doxygen for APR_FOPEN_LARGEFILE is incomplete | |41397|New|Nor|2007-01-17|apr_table_vdo uses the value of va_arg(vp,char *) | |41640|New|Enh|2007-02-16|Improve APR handling of case-insensitive file syst| |41678|New|Nor|2007-02-22|APR_FINFO_CSIZE support missing on unix | |41807|New|Enh|2007-03-10|dbd driver registration function | |41914|New|Nor|2007-03-21|MinGW supports | |41916|New|Nor|2007-03-21|MinGW support | |41950|New|Nor|2007-03-26|MAKE_TABLE_PROFILE gives segfault instead of error| |41975|New|Nor|2007-03-28|retry accept() when errno == EINTR | |42066|New|Maj|2007-04-07|apr_bucket_alloc crash when apr_allocator_alloc fa| +-----+---+---+----------+--------------------------------------------------+ | Total 73 bugs | +---------------------------------------------------------------------------+ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 23 06:34:00 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46386 invoked from network); 23 Apr 2007 06:33:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Apr 2007 06:33:59 -0000 Received: (qmail 83022 invoked by uid 500); 23 Apr 2007 06:34:06 -0000 Delivered-To: [email protected] Received: (qmail 82994 invoked by uid 500); 23 Apr 2007 06:34:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 82983 invoked by uid 99); 23 Apr 2007 06:34:06 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Apr 2007 23:34:06 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Apr 2007 23:33:58 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 81BC571406C; Sun, 22 Apr 2007 23:33:38 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 41119] - apr_pool_cleanup_for_exec must discard I/O buffers In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Sun, 22 Apr 2007 23:33:38 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=41119>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=41119 ------- Additional Comments From [email protected] 2007-04-22 23:33 ------- > Changing it should be as simple as registering a different child_cleanup in apr_file_open() - a cleanup which doesn't call flush like apr_unix_file_cleanup(). Actually, we'd probably have to re-implement the APR_IMPLEMENT_INHERIT_SET/UNSET macros as well, in that case. The macros would take two args: regular and child cleanup (this would affect sockets code as well, not just file_io) - I don't think this can be done for [email protected]. Hmm, complicated... -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 23 10:47:18 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57548 invoked from network); 23 Apr 2007 10:47:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Apr 2007 10:47:16 -0000 Received: (qmail 23621 invoked by uid 500); 23 Apr 2007 10:47:22 -0000 Delivered-To: [email protected] Received: (qmail 23403 invoked by uid 500); 23 Apr 2007 10:47:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23392 invoked by uid 99); 23 Apr 2007 10:47:21 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2007 03:47:21 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2007 03:47:14 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 5B1A4714069; Mon, 23 Apr 2007 03:46:54 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 39463] - Sendfile broken in 2.2.2 on Solaris 10 when using Server parsed html includes In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Mon, 23 Apr 2007 03:46:54 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39463>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=39463 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] ------- Additional Comments From [email protected] 2007-04-23 03:46 ------- *** Bug 42193 has been marked as a duplicate of this bug. *** -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 23 10:49:12 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58353 invoked from network); 23 Apr 2007 10:49:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Apr 2007 10:49:10 -0000 Received: (qmail 32811 invoked by uid 500); 23 Apr 2007 10:49:17 -0000 Delivered-To: [email protected] Received: (qmail 32788 invoked by uid 500); 23 Apr 2007 10:49:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 32777 invoked by uid 99); 23 Apr 2007 10:49:17 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2007 03:49:17 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2007 03:49:10 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id ACE2C714062; Mon, 23 Apr 2007 03:48:49 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 39463] - Sendfile broken in 2.2.2 on Solaris 10 when using Server parsed html includes In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Mon, 23 Apr 2007 03:48:49 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39463>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=39463 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED ------- Additional Comments From [email protected] 2007-04-23 03:48 ------- Merged for 1.2.x: http://svn.apache.org/viewvc?view=rev&revision=531420 -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Apr 25 15:43:27 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63598 invoked from network); 25 Apr 2007 15:43:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Apr 2007 15:43:16 -0000 Received: (qmail 73335 invoked by uid 500); 25 Apr 2007 15:43:23 -0000 Delivered-To: [email protected] Received: (qmail 73305 invoked by uid 500); 25 Apr 2007 15:43:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 73287 invoked by uid 99); 25 Apr 2007 15:43:23 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Apr 2007 08:43:23 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Apr 2007 08:43:15 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 5A15171407D; Wed, 25 Apr 2007 08:42:55 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 42250] New: - apr_snprintf %llu conversion for uint64_t can fail for large numbers Message-ID: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Date: Wed, 25 Apr 2007 08:42:55 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42250>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=42250 Summary: apr_snprintf %llu conversion for uint64_t can fail for large numbers Product: APR Version: HEAD Platform: All OS/Version: Linux Status: NEW Severity: major Priority: P1 Component: APR AssignedTo: [email protected] ReportedBy: [email protected] If apr_snprintf is called with a format of %llu and a uint64_t is passed in, the code in conv_10_quad() in strings/apr_snprintf.c that tries to optimize the conversion by downcasting to a 32 bit number will sometimes incorrectly determine that the number can be treated as a 32 bit number. If the original uint64_t number is large enough (like 10267677267010969076 - becomes -8179066806698582540 when cast to an int64_t) that it becomes negative when casted to the type that the widest_int type def is (int64_t in this case), the line (#399 in 1.2.8 - should be about the same place in subversion): if ((num <= ULONG_MAX && is_unsigned) will incorrectly succeed since the int64_t version (-8179066806698582540) is less than ULONG_MAX. Changing the line to: if (((u_widest_int)num <= (u_widest_int)ULONG_MAX && is_unsigned) fixes the problem as then num is not treated as a negative compiler. This may be compiler-dependant (i've seen this on kubuntu 7.04 with gcc 4.1.2) but it would be better to make the behavior explicit with the u_widest_int cast. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 26 09:35:55 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30702 invoked from network); 26 Apr 2007 09:35:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Apr 2007 09:35:55 -0000 Received: (qmail 97572 invoked by uid 500); 26 Apr 2007 09:36:02 -0000 Delivered-To: [email protected] Received: (qmail 97552 invoked by uid 500); 26 Apr 2007 09:36:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 97539 invoked by uid 99); 26 Apr 2007 09:36:01 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2007 02:36:01 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2007 02:35:54 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 179B8714076; Thu, 26 Apr 2007 02:35:33 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 42250] - apr_snprintf %llu conversion for uint64_t can fail for large numbers In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Thu, 26 Apr 2007 02:35:33 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42250>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=42250 ------- Additional Comments From [email protected] 2007-04-26 02:35 ------- u_widest_int - yuck - horribly nonportable. Wouldn't apr_int32_t accomplish the same (and solve the portability issues)? -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 26 13:21:16 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11964 invoked from network); 26 Apr 2007 13:21:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Apr 2007 13:21:15 -0000 Received: (qmail 3601 invoked by uid 500); 26 Apr 2007 13:21:22 -0000 Delivered-To: [email protected] Received: (qmail 3568 invoked by uid 500); 26 Apr 2007 13:21:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 3557 invoked by uid 99); 26 Apr 2007 13:21:22 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2007 06:21:22 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2007 06:21:15 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 03ACD714076; Thu, 26 Apr 2007 06:20:54 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 42250] - apr_snprintf %llu conversion for uint64_t can fail for large numbers In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Thu, 26 Apr 2007 06:20:54 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42250>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=42250 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From [email protected] 2007-04-26 06:20 ------- Thanks for the fix! http://svn.apache.org/viewvc?view=rev&revision=532733 and http://svn.apache.org/viewvc?view=rev&rev=532735 -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 26 13:24:44 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15837 invoked from network); 26 Apr 2007 13:24:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Apr 2007 13:24:43 -0000 Received: (qmail 12824 invoked by uid 500); 26 Apr 2007 13:24:50 -0000 Delivered-To: [email protected] Received: (qmail 12802 invoked by uid 500); 26 Apr 2007 13:24:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 12791 invoked by uid 99); 26 Apr 2007 13:24:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2007 06:24:50 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2007 06:24:42 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id BC35C714076; Thu, 26 Apr 2007 06:24:22 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 41975] - retry accept() when errno == EINTR In-Reply-To: <{{EMAIL+PHONE}}/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Thu, 26 Apr 2007 06:24:22 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=41975>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=41975 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX ------- Additional Comments From [email protected] 2007-04-26 06:24 ------- This is deliberate, if somewhat inconsistent behaviour; to allow the caller to avoid re-entering accept() if interrupted. Only a particular set of functions are documented to never return EINTR in apr_network_io.h. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 26 13:28:13 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17583 invoked from network); 26 Apr 2007 13:28:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Apr 2007 13:28:12 -0000 Received: (qmail 24846 invoked by uid 500); 26 Apr 2007 13:28:19 -0000 Delivered-To: [email protected] Received: (qmail 24824 invoked by uid 500); 26 Apr 2007 13:28:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 24813 invoked by uid 99); 26 Apr 2007 13:28:19 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2007 06:28:19 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2007 06:28:11 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id A6E83714076; Thu, 26 Apr 2007 06:27:46 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 41390] - doxygen for APR_FOPEN_LARGEFILE is incomplete In-Reply-To: <{{EMAIL+PHONE}}/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Thu, 26 Apr 2007 06:27:46 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=41390>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=41390 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From [email protected] 2007-04-26 06:27 ------- Thanks, the warning used the old APR_LARGEFILE macro name, fixed on the trunk: http://svn.apache.org/viewvc?view=rev&revision=532737 -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 26 13:54:29 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29087 invoked from network); 26 Apr 2007 13:54:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Apr 2007 13:54:29 -0000 Received: (qmail 76999 invoked by uid 500); 26 Apr 2007 13:54:35 -0000 Delivered-To: [email protected] Received: (qmail 76978 invoked by uid 500); 26 Apr 2007 13:54:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 76967 invoked by uid 99); 26 Apr 2007 13:54:35 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2007 06:54:35 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2007 06:54:28 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 5DD3C714049; Thu, 26 Apr 2007 06:54:08 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 41950] - MAKE_TABLE_PROFILE gives segfault instead of error message In-Reply-To: <{{EMAIL+PHONE}}/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Thu, 26 Apr 2007 06:54:08 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=41950>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=41950 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From [email protected] 2007-04-26 06:54 ------- Thanks for the report - fixed on the trunk: http://svn.apache.org/viewvc?view=rev&revision=532744 -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 26 14:11:06 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36540 invoked from network); 26 Apr 2007 14:11:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Apr 2007 14:11:04 -0000 Received: (qmail 6723 invoked by uid 500); 26 Apr 2007 14:11:11 -0000 Delivered-To: [email protected] Received: (qmail 6695 invoked by uid 500); 26 Apr 2007 14:11:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 6684 invoked by uid 99); 26 Apr 2007 14:11:11 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2007 07:11:11 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2007 07:11:03 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id A31FC71407F; Thu, 26 Apr 2007 07:10:43 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 42250] - apr_snprintf %llu conversion for uint64_t can fail for large numbers In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Thu, 26 Apr 2007 07:10:43 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42250>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=42250 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | ------- Additional Comments From [email protected] 2007-04-26 07:10 ------- Ummm, the code can be much simpler and faster. Patches will follow. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 26 14:13:38 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38732 invoked from network); 26 Apr 2007 14:13:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Apr 2007 14:13:37 -0000 Received: (qmail 12434 invoked by uid 500); 26 Apr 2007 14:13:44 -0000 Delivered-To: [email protected] Received: (qmail 12413 invoked by uid 500); 26 Apr 2007 14:13:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 12402 invoked by uid 99); 26 Apr 2007 14:13:44 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2007 07:13:44 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2007 07:13:37 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id DC680714049; Thu, 26 Apr 2007 07:13:16 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 42250] - apr_snprintf %llu conversion for uint64_t can fail for large numbers In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Thu, 26 Apr 2007 07:13:16 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42250>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=42250 ------- Additional Comments From [email protected] 2007-04-26 07:13 ------- Created an attachment (id=20051) --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20051&action=view) Convert early -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 26 14:14:52 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 39422 invoked from network); 26 Apr 2007 14:14:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Apr 2007 14:14:49 -0000 Received: (qmail 16729 invoked by uid 500); 26 Apr 2007 14:14:44 -0000 Delivered-To: [email protected] Received: (qmail 16712 invoked by uid 500); 26 Apr 2007 14:14:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 16649 invoked by uid 99); 26 Apr 2007 14:14:44 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2007 07:14:44 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2007 07:14:36 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 80A87714049; Thu, 26 Apr 2007 07:14:16 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 42250] - apr_snprintf %llu conversion for uint64_t can fail for large numbers In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Thu, 26 Apr 2007 07:14:16 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42250>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=42250 ------- Additional Comments From [email protected] 2007-04-26 07:14 ------- Created an attachment (id=20052) --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20052&action=view) The classic approach is way faster -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 26 15:10:22 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70732 invoked from network); 26 Apr 2007 15:10:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Apr 2007 15:10:22 -0000 Received: (qmail 72052 invoked by uid 500); 26 Apr 2007 15:10:29 -0000 Delivered-To: [email protected] Received: (qmail 72027 invoked by uid 500); 26 Apr 2007 15:10:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 72012 invoked by uid 99); 26 Apr 2007 15:10:28 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2007 08:10:28 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2007 08:10:21 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 50F94714058; Thu, 26 Apr 2007 08:10:01 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 42250] - apr_snprintf %llu conversion for uint64_t can fail for large numbers In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Thu, 26 Apr 2007 08:10:01 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42250>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=42250 ------- Additional Comments From [email protected] 2007-04-26 08:10 ------- I tested Davi's patches and they worked fine for me. Thanks for the prompt attention to this. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 26 15:59:09 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91960 invoked from network); 26 Apr 2007 15:59:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Apr 2007 15:59:09 -0000 Received: (qmail 69989 invoked by uid 500); 26 Apr 2007 15:59:14 -0000 Delivered-To: [email protected] Received: (qmail 69970 invoked by uid 500); 26 Apr 2007 15:59:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 69959 invoked by uid 99); 26 Apr 2007 15:59:14 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2007 08:59:14 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2007 08:59:07 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 6B552714079; Thu, 26 Apr 2007 08:58:47 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 42250] - apr_snprintf %llu conversion for uint64_t can fail for large numbers In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Thu, 26 Apr 2007 08:58:47 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42250>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=42250 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED ------- Additional Comments From [email protected] 2007-04-26 08:58 ------- The fact that the code could be "simpler and faster" (which I don't doubt) is not the issue reported here; can you send your cleanup to dev@apr? -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 26 16:18:02 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 98145 invoked from network); 26 Apr 2007 16:18:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Apr 2007 16:18:01 -0000 Received: (qmail 10797 invoked by uid 500); 26 Apr 2007 16:18:08 -0000 Delivered-To: [email protected] Received: (qmail 10771 invoked by uid 500); 26 Apr 2007 16:18:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 10759 invoked by uid 99); 26 Apr 2007 16:18:08 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2007 09:18:08 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2007 09:18:01 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 26974714079; Thu, 26 Apr 2007 09:17:40 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 41105] - apr_gid_name_get using getgrgid_r fails for large groups In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Thu, 26 Apr 2007 09:17:40 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=41105>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=41105 ------- Additional Comments From [email protected] 2007-04-26 09:17 ------- Thanks for trying out the patch, anyway. Buffer size bumped to 8K on the trunk. http://svn.apache.org/viewvc?view=rev&rev=532789 -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 26 16:27:13 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 1626 invoked from network); 26 Apr 2007 16:27:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Apr 2007 16:27:12 -0000 Received: (qmail 33515 invoked by uid 500); 26 Apr 2007 16:27:12 -0000 Delivered-To: [email protected] Received: (qmail 33497 invoked by uid 500); 26 Apr 2007 16:27:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 33480 invoked by uid 99); 26 Apr 2007 16:27:12 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2007 09:27:12 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2007 09:27:05 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 0418E71407E; Thu, 26 Apr 2007 09:26:44 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 41386] - apr_dso_load ignores DYLD_LIBRARY_PATH on Mac OSX In-Reply-To: <{{EMAIL+PHONE}}/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Thu, 26 Apr 2007 09:26:44 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=41386>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=41386 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO ------- Additional Comments From [email protected] 2007-04-26 09:26 ------- The autoconf code was explicitly written to check for dyld. Are you sure there are no Darwin platforms which e.g. have a present but broken dlopen? Can you bring this up on dev@apr? -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 26 16:29:03 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2500 invoked from network); 26 Apr 2007 16:29:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Apr 2007 16:29:01 -0000 Received: (qmail 43043 invoked by uid 500); 26 Apr 2007 16:29:08 -0000 Delivered-To: [email protected] Received: (qmail 43028 invoked by uid 500); 26 Apr 2007 16:29:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 43017 invoked by uid 99); 26 Apr 2007 16:29:08 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2007 09:29:08 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2007 09:29:00 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 95092714080; Thu, 26 Apr 2007 09:28:40 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 41640] - Improve APR handling of case-insensitive file systems In-Reply-To: <{{EMAIL+PHONE}}/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Thu, 26 Apr 2007 09:28:40 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=41640>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=41640 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Additional Comments From [email protected] 2007-04-26 09:28 ------- This should go in STATUS unless there is some specific APR RFE which can be tracker here. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 27 03:48:26 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95514 invoked from network); 27 Apr 2007 03:48:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Apr 2007 03:48:25 -0000 Received: (qmail 99764 invoked by uid 500); 27 Apr 2007 03:48:28 -0000 Delivered-To: [email protected] Received: (qmail 99727 invoked by uid 500); 27 Apr 2007 03:48:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 99694 invoked by uid 99); 27 Apr 2007 03:48:28 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2007 20:48:28 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2007 20:48:21 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 06062714058; Thu, 26 Apr 2007 20:48:00 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 41238] - apr_dir_read returns ENOENT instead of APR_ENOENT In-Reply-To: <{{EMAIL+PHONE}}/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Thu, 26 Apr 2007 20:48:00 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=41238>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=41238 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 27 14:32:00 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13586 invoked from network); 27 Apr 2007 14:31:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Apr 2007 14:31:59 -0000 Received: (qmail 32350 invoked by uid 500); 27 Apr 2007 14:32:06 -0000 Delivered-To: [email protected] Received: (qmail 32326 invoked by uid 500); 27 Apr 2007 14:32:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 32311 invoked by uid 99); 27 Apr 2007 14:32:06 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 07:32:06 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 07:31:58 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id B3B2271407D; Fri, 27 Apr 2007 07:31:38 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 40758] - WIN64, apr_vformatter(..) cannot handle 64bit pointers without APR_VOID_P_IS_QUAD flag enabled In-Reply-To: <{{EMAIL+PHONE}}/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Fri, 27 Apr 2007 07:31:38 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=40758>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=40758 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Keywords| |PatchAvailable ------- Additional Comments From [email protected] 2007-04-27 07:31 ------- APR_VOID_P_IS_QUAD is not defined anywhere and the usual way is using APR_SIZEOF_VOIDP. Patch follows. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 27 14:32:40 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13813 invoked from network); 27 Apr 2007 14:32:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Apr 2007 14:32:39 -0000 Received: (qmail 32709 invoked by uid 500); 27 Apr 2007 14:32:46 -0000 Delivered-To: [email protected] Received: (qmail 32678 invoked by uid 500); 27 Apr 2007 14:32:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 32665 invoked by uid 99); 27 Apr 2007 14:32:46 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 07:32:46 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 07:32:39 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 38356714077; Fri, 27 Apr 2007 07:32:19 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 40758] - WIN64, apr_vformatter(..) cannot handle 64bit pointers without APR_VOID_P_IS_QUAD flag enabled In-Reply-To: <{{EMAIL+PHONE}}/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Fri, 27 Apr 2007 07:32:19 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=40758>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=40758 ------- Additional Comments From [email protected] 2007-04-27 07:32 ------- Created an attachment (id=20060) --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20060&action=view) change unknown macro -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 27 20:40:39 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59158 invoked from network); 27 Apr 2007 20:40:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Apr 2007 20:40:39 -0000 Received: (qmail 26526 invoked by uid 500); 27 Apr 2007 20:40:45 -0000 Delivered-To: [email protected] Received: (qmail 26499 invoked by uid 500); 27 Apr 2007 20:40:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 26488 invoked by uid 99); 27 Apr 2007 20:40:45 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 13:40:45 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 13:40:38 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id F2FD4714076; Fri, 27 Apr 2007 13:40:17 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 14328] - Apache 2.0.43 fails to compile with Berkeley DB v4.1.24 In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Fri, 27 Apr 2007 13:40:17 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=14328>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=14328 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 27 20:49:34 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61195 invoked from network); 27 Apr 2007 20:49:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Apr 2007 20:49:33 -0000 Received: (qmail 45150 invoked by uid 500); 27 Apr 2007 20:49:33 -0000 Delivered-To: [email protected] Received: (qmail 45135 invoked by uid 500); 27 Apr 2007 20:49:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 45111 invoked by uid 99); 27 Apr 2007 20:49:33 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 13:49:33 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 13:49:26 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 065E4714072; Fri, 27 Apr 2007 13:49:05 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 28712] - Emulate sparse/zero fill behavior for seek() -> write() on win9x In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Fri, 27 Apr 2007 13:49:05 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=28712>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=28712 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 27 21:06:43 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65867 invoked from network); 27 Apr 2007 21:06:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Apr 2007 21:06:43 -0000 Received: (qmail 87313 invoked by uid 500); 27 Apr 2007 21:06:50 -0000 Delivered-To: [email protected] Received: (qmail 87287 invoked by uid 500); 27 Apr 2007 21:06:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 87271 invoked by uid 99); 27 Apr 2007 21:06:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 14:06:49 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 14:06:42 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 9436A714076; Fri, 27 Apr 2007 14:06:22 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 28718] - apr_sdbm_lock does not pass the APR_FLOCK_NONBLOCK flag to apr_file_lock In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Fri, 27 Apr 2007 14:06:22 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=28718>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=28718 ------- Additional Comments From [email protected] 2007-04-27 14:06 ------- Created an attachment (id=20063) --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20063&action=view) Updated patch to trunk -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 27 21:11:03 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66914 invoked from network); 27 Apr 2007 21:11:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Apr 2007 21:11:03 -0000 Received: (qmail 94339 invoked by uid 500); 27 Apr 2007 21:11:09 -0000 Delivered-To: [email protected] Received: (qmail 94316 invoked by uid 500); 27 Apr 2007 21:11:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 94305 invoked by uid 99); 27 Apr 2007 21:11:09 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 14:11:09 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 14:11:02 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 43DB0714072; Fri, 27 Apr 2007 14:10:42 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 32498] - R_OK required by exec*() checks In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Fri, 27 Apr 2007 14:10:42 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=32498>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=32498 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From [email protected] 2007-04-27 14:10 ------- Fix committed to trunk in revision 454787. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 27 21:33:14 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79163 invoked from network); 27 Apr 2007 21:33:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Apr 2007 21:33:13 -0000 Received: (qmail 31830 invoked by uid 500); 27 Apr 2007 21:33:20 -0000 Delivered-To: [email protected] Received: (qmail 31802 invoked by uid 500); 27 Apr 2007 21:33:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31791 invoked by uid 99); 27 Apr 2007 21:33:20 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 14:33:20 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 14:33:13 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 8AF80714072; Fri, 27 Apr 2007 14:32:52 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 32520] - apr_time_exp_[gmt|tz|lt] return neg microseconds for dates < 1970 In-Reply-To: <{{EMAIL+PHONE}}/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Fri, 27 Apr 2007 14:32:52 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=32520>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=32520 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX ------- Additional Comments From [email protected] 2007-04-27 14:32 ------- The localtime*() and gmtime*() functions do not handle dates and times before the epoch. The gmtime posix description clearly states: "The gmtime() function shall convert the time in seconds since the Epoch .." We should be returning APR_EINVAL in this case. Comments? -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 27 21:41:58 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83308 invoked from network); 27 Apr 2007 21:41:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Apr 2007 21:41:58 -0000 Received: (qmail 43829 invoked by uid 500); 27 Apr 2007 21:42:05 -0000 Delivered-To: [email protected] Received: (qmail 43809 invoked by uid 500); 27 Apr 2007 21:42:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 43798 invoked by uid 99); 27 Apr 2007 21:42:05 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 14:42:05 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 14:41:58 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id DE94A714072; Fri, 27 Apr 2007 14:41:37 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 33946] - definition of EILSEQ is missing In-Reply-To: <{{EMAIL+PHONE}}/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Fri, 27 Apr 2007 14:41:37 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=33946>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=33946 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 27 22:19:06 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91971 invoked from network); 27 Apr 2007 22:19:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Apr 2007 22:19:06 -0000 Received: (qmail 95366 invoked by uid 500); 27 Apr 2007 22:19:12 -0000 Delivered-To: [email protected] Received: (qmail 95339 invoked by uid 500); 27 Apr 2007 22:19:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 95328 invoked by uid 99); 27 Apr 2007 22:19:12 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 15:19:12 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 15:19:05 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 414A3714072; Fri, 27 Apr 2007 15:18:45 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 35121] - x86 asm for atomic_cas should use "q" register class In-Reply-To: <{{EMAIL+PHONE}}/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Fri, 27 Apr 2007 15:18:45 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=35121>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=35121 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Additional Comments From [email protected] 2007-04-27 15:18 ------- This was likely a misuse of the macro (feeding a wrong type). Closing as there were no more issues. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 27 22:25:14 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93681 invoked from network); 27 Apr 2007 22:25:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Apr 2007 22:25:14 -0000 Received: (qmail 3186 invoked by uid 500); 27 Apr 2007 22:25:20 -0000 Delivered-To: [email protected] Received: (qmail 3163 invoked by uid 500); 27 Apr 2007 22:25:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 3152 invoked by uid 99); 27 Apr 2007 22:25:20 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 15:25:20 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 15:25:13 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 425E7714072; Fri, 27 Apr 2007 15:24:53 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 37650] - apr-iconv fails to build with gcc 4 In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Fri, 27 Apr 2007 15:24:53 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=37650>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=37650 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From [email protected] 2007-04-27 15:24 ------- Closing as the initial issue was fixed. Further cleanups should be sent to dev@apr -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 27 22:28:58 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94516 invoked from network); 27 Apr 2007 22:28:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Apr 2007 22:28:57 -0000 Received: (qmail 4824 invoked by uid 500); 27 Apr 2007 22:29:04 -0000 Delivered-To: [email protected] Received: (qmail 4799 invoked by uid 500); 27 Apr 2007 22:29:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 4788 invoked by uid 99); 27 Apr 2007 22:29:04 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 15:29:04 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 15:28:56 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 98304714072; Fri, 27 Apr 2007 15:28:36 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 37664] - apr_dbd_oracle.c parameter and output handling In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Fri, 27 Apr 2007 15:28:36 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=37664>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=37664 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From [email protected] 2007-04-27 15:28 ------- Fix committed to trunk in revision 421212. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 27 22:31:47 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95721 invoked from network); 27 Apr 2007 22:31:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Apr 2007 22:31:47 -0000 Received: (qmail 7853 invoked by uid 500); 27 Apr 2007 22:31:54 -0000 Delivered-To: [email protected] Received: (qmail 7829 invoked by uid 500); 27 Apr 2007 22:31:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 7818 invoked by uid 99); 27 Apr 2007 22:31:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 15:31:53 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 15:31:46 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 4C0D2714072; Fri, 27 Apr 2007 15:31:25 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 39259] - SIGSEGV on mod_cache In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Fri, 27 Apr 2007 15:31:25 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39259>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=39259 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |LATER -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 27 22:54:04 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99213 invoked from network); 27 Apr 2007 22:54:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Apr 2007 22:54:03 -0000 Received: (qmail 29506 invoked by uid 500); 27 Apr 2007 22:54:10 -0000 Delivered-To: [email protected] Received: (qmail 29484 invoked by uid 500); 27 Apr 2007 22:54:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 29468 invoked by uid 99); 27 Apr 2007 22:54:10 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 15:54:10 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 15:54:03 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 2A367714072; Fri, 27 Apr 2007 15:53:43 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 39856] - apr_time_exp_lt calls SystemTimeToTzSpecificLocalTime on WinCE In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Fri, 27 Apr 2007 15:53:43 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39856>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=39856 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |PatchAvailable -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 27 22:54:09 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99256 invoked from network); 27 Apr 2007 22:54:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Apr 2007 22:54:08 -0000 Received: (qmail 29574 invoked by uid 500); 27 Apr 2007 22:54:15 -0000 Delivered-To: [email protected] Received: (qmail 29553 invoked by uid 500); 27 Apr 2007 22:54:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 29542 invoked by uid 99); 27 Apr 2007 22:54:15 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 15:54:15 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 15:54:08 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 36DE1714077; Fri, 27 Apr 2007 15:53:48 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 39857] - apr_time_clock_hires calls unsupported SetTimeResolution on WinCE In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Fri, 27 Apr 2007 15:53:48 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39857>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=39857 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |PatchAvailable -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 27 22:54:20 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99322 invoked from network); 27 Apr 2007 22:54:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Apr 2007 22:54:19 -0000 Received: (qmail 29774 invoked by uid 500); 27 Apr 2007 22:54:25 -0000 Delivered-To: [email protected] Received: (qmail 29742 invoked by uid 500); 27 Apr 2007 22:54:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 29730 invoked by uid 99); 27 Apr 2007 22:54:25 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 15:54:25 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 15:54:18 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 63D7671407D; Fri, 27 Apr 2007 15:53:58 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 39858] - apr_proc_mutex_child_init calls unimpl'd OpenMutexW on WinCE In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Fri, 27 Apr 2007 15:53:58 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39858>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=39858 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |PatchAvailable -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 27 22:54:40 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99510 invoked from network); 27 Apr 2007 22:54:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Apr 2007 22:54:31 -0000 Received: (qmail 30500 invoked by uid 500); 27 Apr 2007 22:54:36 -0000 Delivered-To: [email protected] Received: (qmail 30469 invoked by uid 500); 27 Apr 2007 22:54:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 30446 invoked by uid 99); 27 Apr 2007 22:54:35 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 15:54:35 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 15:54:28 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id EE481714072; Fri, 27 Apr 2007 15:54:07 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 39859] - apr_socket_create calls unsupp'd SetHandleInformation on WinCE In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Fri, 27 Apr 2007 15:54:07 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39859>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=39859 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |PatchAvailable -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 27 22:54:42 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99796 invoked from network); 27 Apr 2007 22:54:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Apr 2007 22:54:40 -0000 Received: (qmail 30627 invoked by uid 500); 27 Apr 2007 22:54:47 -0000 Delivered-To: [email protected] Received: (qmail 30607 invoked by uid 500); 27 Apr 2007 22:54:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 30596 invoked by uid 99); 27 Apr 2007 22:54:47 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 15:54:47 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 15:54:40 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 2837261571; Fri, 27 Apr 2007 15:54:19 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 39867] - apr_env_* methods should return APR_ENOTIMPL for WinCE In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <{{EMAIL+PHONE}}> Date: Fri, 27 Apr 2007 15:54:19 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39867>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=39867 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |PatchAvailable -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 27 22:55:00 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99882 invoked from network); 27 Apr 2007 22:55:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Apr 2007 22:55:00 -0000 Received: (qmail 30823 invoked by uid 500); 27 Apr 2007 22:55:06 -0000 Delivered-To: [email protected] Received: (qmail 30793 invoked by uid 500); 27 Apr 2007 22:55:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 30782 invoked by uid 99); 27 Apr 2007 22:55:06 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 15:55:06 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 15:54:59 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 9145C714072; Fri, 27 Apr 2007 15:54:39 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 39868] - attr_cleanup in threadproc/win32/proc.c accesses suppressed member under WinCE In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Fri, 27 Apr 2007 15:54:39 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39868>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=39868 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |PatchAvailable -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 27 22:55:12 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99954 invoked from network); 27 Apr 2007 22:55:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Apr 2007 22:55:12 -0000 Received: (qmail 30943 invoked by uid 500); 27 Apr 2007 22:55:19 -0000 Delivered-To: [email protected] Received: (qmail 30918 invoked by uid 500); 27 Apr 2007 22:55:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 30906 invoked by uid 99); 27 Apr 2007 22:55:19 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 15:55:19 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 15:55:12 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id EDE97714077; Fri, 27 Apr 2007 15:54:51 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 39869] - apr_proc_create calls unsupp'd getenv on WinCE In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Fri, 27 Apr 2007 15:54:51 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39869>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=39869 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |PatchAvailable -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 27 22:55:31 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 134 invoked from network); 27 Apr 2007 22:55:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Apr 2007 22:55:30 -0000 Received: (qmail 31164 invoked by uid 500); 27 Apr 2007 22:55:37 -0000 Delivered-To: [email protected] Received: (qmail 31134 invoked by uid 500); 27 Apr 2007 22:55:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31123 invoked by uid 99); 27 Apr 2007 22:55:37 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 15:55:37 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 15:55:30 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 21F71714079; Fri, 27 Apr 2007 15:55:07 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 39884] - apr_strings calls unsupported strtoi, _strtoi64 on Windows CE In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Fri, 27 Apr 2007 15:55:07 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39884>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=39884 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |PatchAvailable -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 27 22:55:38 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 200 invoked from network); 27 Apr 2007 22:55:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Apr 2007 22:55:38 -0000 Received: (qmail 31448 invoked by uid 500); 27 Apr 2007 22:55:44 -0000 Delivered-To: [email protected] Received: (qmail 31422 invoked by uid 500); 27 Apr 2007 22:55:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31411 invoked by uid 99); 27 Apr 2007 22:55:44 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 15:55:44 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 15:55:37 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 92E3271407D; Fri, 27 Apr 2007 15:55:17 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 39886] - apr_{name}_inherit_[un]set calls unsupp'd SetHandleInfo on WinCE In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Fri, 27 Apr 2007 15:55:17 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39886>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=39886 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |PatchAvailable -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 27 22:55:44 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 251 invoked from network); 27 Apr 2007 22:55:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Apr 2007 22:55:43 -0000 Received: (qmail 31515 invoked by uid 500); 27 Apr 2007 22:55:50 -0000 Delivered-To: [email protected] Received: (qmail 31497 invoked by uid 500); 27 Apr 2007 22:55:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31486 invoked by uid 99); 27 Apr 2007 22:55:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 15:55:50 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 15:55:43 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id E277E71407E; Fri, 27 Apr 2007 15:55:22 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 39888] - misc/win32/apr_app.c and others include crtdbg.h on WinCE In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Fri, 27 Apr 2007 15:55:22 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39888>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=39888 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |PatchAvailable -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 27 22:55:56 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 308 invoked from network); 27 Apr 2007 22:55:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Apr 2007 22:55:55 -0000 Received: (qmail 31644 invoked by uid 500); 27 Apr 2007 22:56:02 -0000 Delivered-To: [email protected] Received: (qmail 31615 invoked by uid 500); 27 Apr 2007 22:56:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31604 invoked by uid 99); 27 Apr 2007 22:56:02 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 15:56:02 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 15:55:55 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id F2958714079; Fri, 27 Apr 2007 15:55:34 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 39889] - misc/win32/misc.c fails to compile on WinCE In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Fri, 27 Apr 2007 15:55:34 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39889>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=39889 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |PatchAvailable -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 27 22:56:10 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 365 invoked from network); 27 Apr 2007 22:56:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Apr 2007 22:56:09 -0000 Received: (qmail 31762 invoked by uid 500); 27 Apr 2007 22:56:16 -0000 Delivered-To: [email protected] Received: (qmail 31741 invoked by uid 500); 27 Apr 2007 22:56:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31729 invoked by uid 99); 27 Apr 2007 22:56:16 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 15:56:16 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 15:56:08 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id BF6E7714076; Fri, 27 Apr 2007 15:55:48 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 39892] - apr_app_initialize uses environment and CommandLineToArgv on WinCE In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Fri, 27 Apr 2007 15:55:48 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39892>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=39892 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |PatchAvailable -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 27 22:56:16 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 420 invoked from network); 27 Apr 2007 22:56:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Apr 2007 22:56:15 -0000 Received: (qmail 31853 invoked by uid 500); 27 Apr 2007 22:56:22 -0000 Delivered-To: [email protected] Received: (qmail 31828 invoked by uid 500); 27 Apr 2007 22:56:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31817 invoked by uid 99); 27 Apr 2007 22:56:22 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 15:56:22 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 15:56:15 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 01AD571407D; Fri, 27 Apr 2007 15:55:54 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 39895] - apr_os_strerror fails on WinCE (or when _UNICODE is set) In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Fri, 27 Apr 2007 15:55:54 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39895>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=39895 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |PatchAvailable -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 29 18:59:20 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82357 invoked from network); 29 Apr 2007 18:59:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Apr 2007 18:59:19 -0000 Received: (qmail 57777 invoked by uid 500); 29 Apr 2007 18:59:26 -0000 Delivered-To: [email protected] Received: (qmail 57745 invoked by uid 500); 29 Apr 2007 18:59:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 57730 invoked by uid 99); 29 Apr 2007 18:59:26 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 11:59:25 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 11:59:18 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id B2FFD714066; Sun, 29 Apr 2007 11:58:58 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 42293] New: - Accessing Wincrypt API on older version of the Microsoft Platform SDK Message-ID: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Date: Sun, 29 Apr 2007 11:58:58 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42293>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=42293 Summary: Accessing Wincrypt API on older version of the Microsoft Platform SDK Product: APR Version: HEAD Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: APR AssignedTo: [email protected] ReportedBy: [email protected] Older version (ie: one that comes with Visual Studio 6.0) of the Wincrypt.h header requires _WIN32_WINNT >= 0x0400, which is already defined by apr.h (apr.hw). -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 29 19:01:10 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82924 invoked from network); 29 Apr 2007 19:01:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Apr 2007 19:01:09 -0000 Received: (qmail 58566 invoked by uid 500); 29 Apr 2007 19:01:16 -0000 Delivered-To: [email protected] Received: (qmail 58537 invoked by uid 500); 29 Apr 2007 19:01:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 58526 invoked by uid 99); 29 Apr 2007 19:01:16 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 12:01:16 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 12:01:09 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 14C68714066; Sun, 29 Apr 2007 12:00:48 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 42293] - Accessing Wincrypt API on older version of the Microsoft Platform SDK In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Sun, 29 Apr 2007 12:00:48 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42293>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=42293 ------- Additional Comments From [email protected] 2007-04-29 12:00 ------- Created an attachment (id=20069) --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20069&action=view) Older version of the Wincrypt.h header requires _WIN32_WINNT Build tested on older and newer (2003) platform SDK -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 29 19:01:18 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82964 invoked from network); 29 Apr 2007 19:01:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Apr 2007 19:01:18 -0000 Received: (qmail 58662 invoked by uid 500); 29 Apr 2007 19:01:24 -0000 Delivered-To: [email protected] Received: (qmail 58638 invoked by uid 500); 29 Apr 2007 19:01:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 58627 invoked by uid 99); 29 Apr 2007 19:01:24 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 12:01:24 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 12:01:17 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 6A97171406D; Sun, 29 Apr 2007 12:00:57 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 42293] - Accessing Wincrypt API on older version of the Microsoft Platform SDK In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Sun, 29 Apr 2007 12:00:57 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42293>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=42293 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |PatchAvailable -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 29 19:31:02 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93774 invoked from network); 29 Apr 2007 19:31:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Apr 2007 19:31:01 -0000 Received: (qmail 83218 invoked by uid 500); 29 Apr 2007 19:31:08 -0000 Delivered-To: [email protected] Received: (qmail 83193 invoked by uid 500); 29 Apr 2007 19:31:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 83182 invoked by uid 99); 29 Apr 2007 19:31:08 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 12:31:08 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 12:31:01 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id D6182714066; Sun, 29 Apr 2007 12:30:40 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 42294] New: - Variable declaration after code Message-ID: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Date: Sun, 29 Apr 2007 12:30:40 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42294>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=42294 Summary: Variable declaration after code Product: APR Version: HEAD Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: APR-util AssignedTo: [email protected] ReportedBy: [email protected] Carious older compilers (ie: Visual Studio 6.0) choke on non-standard variable declaration after code in function block. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 29 19:32:07 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93855 invoked from network); 29 Apr 2007 19:32:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Apr 2007 19:32:06 -0000 Received: (qmail 83722 invoked by uid 500); 29 Apr 2007 19:32:13 -0000 Delivered-To: [email protected] Received: (qmail 83698 invoked by uid 500); 29 Apr 2007 19:32:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 83687 invoked by uid 99); 29 Apr 2007 19:32:13 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 12:32:13 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 12:32:06 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 2FAE7714066; Sun, 29 Apr 2007 12:31:46 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 42294] - Variable declaration after code In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Sun, 29 Apr 2007 12:31:46 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42294>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=42294 ------- Additional Comments From [email protected] 2007-04-29 12:31 ------- Created an attachment (id=20070) --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20070&action=view) non-standard variable declaration after code -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 29 19:32:14 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93894 invoked from network); 29 Apr 2007 19:32:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Apr 2007 19:32:13 -0000 Received: (qmail 83798 invoked by uid 500); 29 Apr 2007 19:32:20 -0000 Delivered-To: [email protected] Received: (qmail 83772 invoked by uid 500); 29 Apr 2007 19:32:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 83760 invoked by uid 99); 29 Apr 2007 19:32:20 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 12:32:20 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 12:32:13 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 17EA071406D; Sun, 29 Apr 2007 12:31:52 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 42294] - Variable declaration after code In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Sun, 29 Apr 2007 12:31:52 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42294>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=42294 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |PatchAvailable -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 29 19:32:46 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94119 invoked from network); 29 Apr 2007 19:32:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Apr 2007 19:32:45 -0000 Received: (qmail 84269 invoked by uid 500); 29 Apr 2007 19:32:52 -0000 Delivered-To: [email protected] Received: (qmail 84236 invoked by uid 500); 29 Apr 2007 19:32:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 84225 invoked by uid 99); 29 Apr 2007 19:32:52 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 12:32:52 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 12:32:45 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id F04B071407D; Sun, 29 Apr 2007 12:32:24 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 42294] - Variable declaration after code In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Sun, 29 Apr 2007 12:32:24 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42294>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=42294 ------- Additional Comments From [email protected] 2007-04-29 12:32 ------- s/Carious/Various/ -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 29 21:23:54 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5820 invoked from network); 29 Apr 2007 21:23:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Apr 2007 21:23:54 -0000 Received: (qmail 57007 invoked by uid 500); 29 Apr 2007 21:24:00 -0000 Delivered-To: [email protected] Received: (qmail 56980 invoked by uid 500); 29 Apr 2007 21:24:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 56969 invoked by uid 99); 29 Apr 2007 21:24:00 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 14:24:00 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 14:23:53 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 61B7E714066; Sun, 29 Apr 2007 14:23:33 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 42066] - apr_bucket_alloc crash when apr_allocator_alloc fails In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Sun, 29 Apr 2007 14:23:33 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42066>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=42066 ------- Additional Comments From [email protected] 2007-04-29 14:23 ------- apr_allocator_t should have a abort_fn like apr_pool_t, and then it should return NULL. Almost all callers of apr_bucket_alloc() (within httpd) don't check for a NULL return, so a abort_fn is a must have. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 29 21:35:16 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9207 invoked from network); 29 Apr 2007 21:35:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Apr 2007 21:35:14 -0000 Received: (qmail 64676 invoked by uid 500); 29 Apr 2007 21:35:21 -0000 Delivered-To: [email protected] Received: (qmail 64641 invoked by uid 500); 29 Apr 2007 21:35:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 64629 invoked by uid 99); 29 Apr 2007 21:35:21 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 14:35:21 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 14:35:14 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 47A4A714066; Sun, 29 Apr 2007 14:34:54 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 39852] - apr_os_locale_encoding does not build under Windows CE In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Sun, 29 Apr 2007 14:34:54 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39852>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=39852 ------- Additional Comments From [email protected] 2007-04-29 14:34 ------- Created an attachment (id=20071) --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20071&action=view) #ifdef out variable -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 29 21:35:46 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9527 invoked from network); 29 Apr 2007 21:35:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Apr 2007 21:35:45 -0000 Received: (qmail 65941 invoked by uid 500); 29 Apr 2007 21:35:52 -0000 Delivered-To: [email protected] Received: (qmail 65917 invoked by uid 500); 29 Apr 2007 21:35:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 65905 invoked by uid 99); 29 Apr 2007 21:35:52 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 14:35:52 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 14:35:45 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 4B1DC714066; Sun, 29 Apr 2007 14:35:25 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 39852] - apr_os_locale_encoding does not build under Windows CE In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Sun, 29 Apr 2007 14:35:25 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39852>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=39852 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #18495|0 |1 is obsolete| | -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 29 21:37:18 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10040 invoked from network); 29 Apr 2007 21:37:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Apr 2007 21:37:17 -0000 Received: (qmail 66570 invoked by uid 500); 29 Apr 2007 21:37:24 -0000 Delivered-To: [email protected] Received: (qmail 66549 invoked by uid 500); 29 Apr 2007 21:37:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 66528 invoked by uid 99); 29 Apr 2007 21:37:24 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 14:37:24 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 14:37:17 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 06D7B714066; Sun, 29 Apr 2007 14:36:56 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 39852] - apr_os_locale_encoding does not build under Windows CE In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Sun, 29 Apr 2007 14:36:56 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39852>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=39852 ------- Additional Comments From [email protected] 2007-04-29 14:36 ------- It compiles and builds fine on VS C++ 6.0 -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 29 21:51:47 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13810 invoked from network); 29 Apr 2007 21:51:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Apr 2007 21:51:46 -0000 Received: (qmail 72880 invoked by uid 500); 29 Apr 2007 21:51:53 -0000 Delivered-To: [email protected] Received: (qmail 72853 invoked by uid 500); 29 Apr 2007 21:51:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 72842 invoked by uid 99); 29 Apr 2007 21:51:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 14:51:53 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 14:51:46 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 0551F714066; Sun, 29 Apr 2007 14:51:25 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 39856] - apr_time_exp_lt calls SystemTimeToTzSpecificLocalTime on WinCE In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Sun, 29 Apr 2007 14:51:25 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39856>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=39856 ------- Additional Comments From [email protected] 2007-04-29 14:51 ------- It compiles and builds fine on VS C++ 6.0 -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 29 21:54:31 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14310 invoked from network); 29 Apr 2007 21:54:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Apr 2007 21:54:30 -0000 Received: (qmail 75645 invoked by uid 500); 29 Apr 2007 21:54:36 -0000 Delivered-To: [email protected] Received: (qmail 75620 invoked by uid 500); 29 Apr 2007 21:54:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 75595 invoked by uid 99); 29 Apr 2007 21:54:36 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 14:54:36 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 14:54:29 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id A708B714066; Sun, 29 Apr 2007 14:54:09 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 39857] - apr_time_clock_hires calls unsupported SetTimeResolution on WinCE In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Sun, 29 Apr 2007 14:54:09 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39857>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=39857 ------- Additional Comments From [email protected] 2007-04-29 14:54 ------- It compiles and builds fine on VS C++ 6.0 -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 29 21:56:16 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15687 invoked from network); 29 Apr 2007 21:56:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Apr 2007 21:56:15 -0000 Received: (qmail 76887 invoked by uid 500); 29 Apr 2007 21:56:21 -0000 Delivered-To: [email protected] Received: (qmail 76866 invoked by uid 500); 29 Apr 2007 21:56:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 76849 invoked by uid 99); 29 Apr 2007 21:56:21 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 14:56:21 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 14:56:14 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id A4613714066; Sun, 29 Apr 2007 14:55:54 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 39858] - apr_proc_mutex_child_init calls unimpl'd OpenMutexW on WinCE In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Sun, 29 Apr 2007 14:55:54 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39858>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=39858 ------- Additional Comments From [email protected] 2007-04-29 14:55 ------- It compiles and builds fine on VS C++ 6.0 -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 29 21:59:36 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 16321 invoked from network); 29 Apr 2007 21:59:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Apr 2007 21:59:35 -0000 Received: (qmail 78402 invoked by uid 500); 29 Apr 2007 21:59:42 -0000 Delivered-To: [email protected] Received: (qmail 78374 invoked by uid 500); 29 Apr 2007 21:59:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 78358 invoked by uid 99); 29 Apr 2007 21:59:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 14:59:42 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 14:59:35 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 125BB714066; Sun, 29 Apr 2007 14:59:14 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 39859] - apr_socket_create calls unsupp'd SetHandleInformation on WinCE In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Sun, 29 Apr 2007 14:59:14 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39859>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=39859 ------- Additional Comments From [email protected] 2007-04-29 14:59 ------- It compiles and builds fine on VS C++ 6.0 -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 29 22:01:10 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 16792 invoked from network); 29 Apr 2007 22:01:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Apr 2007 22:01:09 -0000 Received: (qmail 79124 invoked by uid 500); 29 Apr 2007 22:01:16 -0000 Delivered-To: [email protected] Received: (qmail 79093 invoked by uid 500); 29 Apr 2007 22:01:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 79081 invoked by uid 99); 29 Apr 2007 22:01:16 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 15:01:16 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 15:01:09 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 5740A714066; Sun, 29 Apr 2007 15:00:49 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 39867] - apr_env_* methods should return APR_ENOTIMPL for WinCE In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Sun, 29 Apr 2007 15:00:49 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39867>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=39867 ------- Additional Comments From [email protected] 2007-04-29 15:00 ------- It compiles and builds fine on VS C++ 6.0 -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 29 22:04:53 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17747 invoked from network); 29 Apr 2007 22:04:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Apr 2007 22:04:51 -0000 Received: (qmail 82180 invoked by uid 500); 29 Apr 2007 22:04:50 -0000 Delivered-To: [email protected] Received: (qmail 82157 invoked by uid 500); 29 Apr 2007 22:04:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 82120 invoked by uid 99); 29 Apr 2007 22:04:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 15:04:50 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 15:04:43 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 3989E714066; Sun, 29 Apr 2007 15:04:23 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 39868] - attr_cleanup in threadproc/win32/proc.c accesses suppressed member under WinCE In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Sun, 29 Apr 2007 15:04:23 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39868>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=39868 ------- Additional Comments From [email protected] 2007-04-29 15:04 ------- It compiles and builds fine on VS C++ 6.0 Sidenote: Code which uses this function is already #ifndef _WIN32_WCE. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 29 22:11:33 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 19871 invoked from network); 29 Apr 2007 22:11:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Apr 2007 22:11:30 -0000 Received: (qmail 91367 invoked by uid 500); 29 Apr 2007 22:11:36 -0000 Delivered-To: [email protected] Received: (qmail 91338 invoked by uid 500); 29 Apr 2007 22:11:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 91318 invoked by uid 99); 29 Apr 2007 22:11:36 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 15:11:36 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 15:11:28 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 3D0C8714066; Sun, 29 Apr 2007 15:11:08 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 39869] - apr_proc_create calls unsupp'd getenv on WinCE In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Sun, 29 Apr 2007 15:11:08 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39869>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=39869 ------- Additional Comments From [email protected] 2007-04-29 15:11 ------- It compiles and builds fine on VS C++ 6.0 -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 29 22:12:54 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20288 invoked from network); 29 Apr 2007 22:12:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Apr 2007 22:12:53 -0000 Received: (qmail 92394 invoked by uid 500); 29 Apr 2007 22:13:00 -0000 Delivered-To: [email protected] Received: (qmail 92362 invoked by uid 500); 29 Apr 2007 22:13:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 92351 invoked by uid 99); 29 Apr 2007 22:12:59 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 15:12:59 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 15:12:52 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id DDF4C714066; Sun, 29 Apr 2007 15:12:32 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 39884] - apr_strings calls unsupported strtoi, _strtoi64 on Windows CE In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Sun, 29 Apr 2007 15:12:32 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39884>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=39884 ------- Additional Comments From [email protected] 2007-04-29 15:12 ------- It compiles and builds fine on VS C++ 6.0 -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 29 22:15:20 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20674 invoked from network); 29 Apr 2007 22:15:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Apr 2007 22:15:19 -0000 Received: (qmail 93496 invoked by uid 500); 29 Apr 2007 22:15:26 -0000 Delivered-To: [email protected] Received: (qmail 93470 invoked by uid 500); 29 Apr 2007 22:15:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 93455 invoked by uid 99); 29 Apr 2007 22:15:26 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 15:15:26 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 15:15:19 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id DE0B2714066; Sun, 29 Apr 2007 15:14:58 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 39886] - apr_{name}_inherit_[un]set calls unsupp'd SetHandleInfo on WinCE In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Sun, 29 Apr 2007 15:14:58 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39886>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=39886 ------- Additional Comments From [email protected] 2007-04-29 15:14 ------- It compiles and builds fine on VS C++ 6.0 -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 29 22:25:13 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22162 invoked from network); 29 Apr 2007 22:25:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Apr 2007 22:25:12 -0000 Received: (qmail 98632 invoked by uid 500); 29 Apr 2007 22:25:19 -0000 Delivered-To: [email protected] Received: (qmail 98608 invoked by uid 500); 29 Apr 2007 22:25:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 98597 invoked by uid 99); 29 Apr 2007 22:25:19 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 15:25:19 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 15:25:12 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id E0987714066; Sun, 29 Apr 2007 15:24:51 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 39888] - misc/win32/apr_app.c and others include crtdbg.h on WinCE In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Sun, 29 Apr 2007 15:24:51 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39888>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=39888 ------- Additional Comments From [email protected] 2007-04-29 15:24 ------- There were a few conflicts, otherwise it compiles and builds fine on VS C++ 6.0 -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 29 22:27:41 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22572 invoked from network); 29 Apr 2007 22:27:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Apr 2007 22:27:38 -0000 Received: (qmail 435 invoked by uid 500); 29 Apr 2007 22:27:44 -0000 Delivered-To: [email protected] Received: (qmail 405 invoked by uid 500); 29 Apr 2007 22:27:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 388 invoked by uid 99); 29 Apr 2007 22:27:44 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 15:27:44 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 15:27:37 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id EC480714066; Sun, 29 Apr 2007 15:27:16 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 39889] - misc/win32/misc.c fails to compile on WinCE In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Sun, 29 Apr 2007 15:27:16 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39889>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=39889 ------- Additional Comments From [email protected] 2007-04-29 15:27 ------- It compiles and builds fine on VS C++ 6.0 -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 29 22:30:03 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22867 invoked from network); 29 Apr 2007 22:30:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Apr 2007 22:30:02 -0000 Received: (qmail 1425 invoked by uid 500); 29 Apr 2007 22:30:09 -0000 Delivered-To: [email protected] Received: (qmail 1398 invoked by uid 500); 29 Apr 2007 22:30:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 1387 invoked by uid 99); 29 Apr 2007 22:30:09 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 15:30:09 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 15:30:02 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id D1DE2714066; Sun, 29 Apr 2007 15:29:41 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 39892] - apr_app_initialize uses environment and CommandLineToArgv on WinCE In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Sun, 29 Apr 2007 15:29:41 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39892>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=39892 ------- Additional Comments From [email protected] 2007-04-29 15:29 ------- It compiles and builds fine on VS C++ 6.0 -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 29 22:33:16 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 24187 invoked from network); 29 Apr 2007 22:33:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Apr 2007 22:33:16 -0000 Received: (qmail 2996 invoked by uid 500); 29 Apr 2007 22:33:22 -0000 Delivered-To: [email protected] Received: (qmail 2972 invoked by uid 500); 29 Apr 2007 22:33:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 2957 invoked by uid 99); 29 Apr 2007 22:33:22 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 15:33:22 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 15:33:15 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 9D746714066; Sun, 29 Apr 2007 15:32:55 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 39895] - apr_os_strerror fails on WinCE (or when _UNICODE is set) In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Sun, 29 Apr 2007 15:32:55 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39895>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=39895 ------- Additional Comments From [email protected] 2007-04-29 15:32 ------- It compiles and builds fine on VS C++ 6.0, but it introduces C++ comments (//) on C code. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 30 06:09:52 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93940 invoked from network); 30 Apr 2007 06:09:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Apr 2007 06:09:50 -0000 Received: (qmail 26022 invoked by uid 500); 30 Apr 2007 06:09:54 -0000 Delivered-To: [email protected] Received: (qmail 25992 invoked by uid 500); 30 Apr 2007 06:09:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 25972 invoked by uid 99); 30 Apr 2007 06:09:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 23:09:54 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2007 23:09:46 -0700 Received: by brutus.apache.org (Postfix, from userid 1007) id 48557714076; Sun, 29 Apr 2007 23:09:26 -0700 (PDT) From: [email protected] To: [email protected] Subject: Bug report for APR [2007/04/29] Message-Id: <[email protected]> Date: Sun, 29 Apr 2007 23:09:26 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org +---------------------------------------------------------------------------+ | Bugzilla Bug ID | | +---------------------------------------------------------------------+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned | | | OPN=Reopened VER=Verified (Skipped Closed/Resolved) | | | +-----------------------------------------------------------------+ | | | Severity: BLK=Blocker CRI=Critical MAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement | | | | +-------------------------------------------------------------+ | | | | Date Posted | | | | | +--------------------------------------------------+ | | | | | Description | | | | | | | |16056|New|Enh|2003-01-14|Shared memory & mutex ownership not correctly esta| |20382|New|Nor|2003-05-31|Poor performance on W2000 AS | |24325|New|Enh|2003-11-01|apr_reslist doesn't work without threads | |28453|New|Enh|2004-04-18|apr_uri should parse relative to a base URI | |28712|Inf|Enh|2004-04-30|Emulate sparse/zero fill behavior for seek() -> wr| |28718|Ass|Enh|2004-04-30|apr_sdbm_lock does not pass the APR_FLOCK_NONBLOCK| |32972|New|Nor|2005-01-06|testshmconsumer, testshmproducer fail | |33490|New|Nor|2005-02-10|APR does not compile with Borland C++ | |33491|New|Nor|2005-02-10|apr-util/test/testdate.c and testreslist use non-p| |33946|Inf|Nor|2005-03-10|definition of EILSEQ is missing | |34927|Opn|Blk|2005-05-15|apr-1.1.1 | |37343|New|Nor|2005-11-03|Berkeley DB detection fails on Solaris | |38410|New|Nor|2006-01-27|apr/win32 misinterpreted the meaning of WAIT_ABAND| |39289|New|Nor|2006-04-12|test suite additions for trylock functions | |39604|New|Nor|2006-05-17|apr_memcache_hash not returning expected result | |39790|Ass|Nor|2006-06-12|Crash on receiving 2 SIGUSR1 in a short period of | |39852|New|Nor|2006-06-21|apr_os_locale_encoding does not build under Window| |39853|New|Nor|2006-06-21|apr_strtoi64 does not build on WinCE due to lack o| |39856|New|Nor|2006-06-22|apr_time_exp_lt calls SystemTimeToTzSpecificLocalT| |39857|New|Nor|2006-06-22|apr_time_clock_hires calls unsupported SetTimeReso| |39858|New|Nor|2006-06-22|apr_proc_mutex_child_init calls unimpl'd OpenMutex| |39859|New|Nor|2006-06-22|apr_socket_create calls unsupp'd SetHandleInformat| |39867|New|Nor|2006-06-22|apr_env_* methods should return APR_ENOTIMPL for W| |39868|New|Nor|2006-06-22|attr_cleanup in threadproc/win32/proc.c accesses s| |39869|New|Nor|2006-06-22|apr_proc_create calls unsupp'd getenv on WinCE | |39884|New|Nor|2006-06-23|apr_strings calls unsupported strtoi, _strtoi64 on| |39886|New|Nor|2006-06-23|apr_{name}_inherit_[un]set calls unsupp'd SetHandl| |39888|New|Nor|2006-06-23|misc/win32/apr_app.c and others include crtdbg.h o| |39889|New|Nor|2006-06-23|misc/win32/misc.c fails to compile on WinCE | |39892|New|Nor|2006-06-23|apr_app_initialize uses environment and CommandLin| |39895|New|Nor|2006-06-23|apr_os_strerror fails on WinCE (or when _UNICODE i| |39896|New|Enh|2006-06-23|Output test status to OutputDebugString in additio| |40020|New|Nor|2006-07-11|Add support for apr_uint8_t and apr_int8_t types | |40193|New|Nor|2006-08-06|Patches to support different compiler than EMX on | |40353|New|Nor|2006-08-30|mysql_init() not found in libmysqlclient_r, blocks| |40398|New|Nor|2006-09-02|Cannot compile project in VS 2005, network _io\uni| |40622|New|Enh|2006-09-27|enhance apr temp files on NT to be more secure | |40758|Ass|Maj|2006-10-15|WIN64, apr_vformatter(..) cannot handle 64bit poin| |40845|New|Nor|2006-10-30|A patch for apr_tables.c | |40893|New|Enh|2006-11-03|apr_brigade_length to return length as is instead | |40939|New|Enh|2006-11-09|pool minimal allocation size should be configurabl| |40955|New|Nor|2006-11-13|possible apr_allocator_max_free_set issues | |40963|New|Nor|2006-11-13|apr_file_trunc screws up file offset on Unix. | |40971|New|Nor|2006-11-14|apr_thread_cond_signal insufficiently documented | |41099|New|Enh|2006-12-03|Manually block apr_queue_pop(), apr_queue_push(), | |41105|New|Nor|2006-12-04|apr_gid_name_get using getgrgid_r fails for large | |41119|New|Maj|2006-12-06|apr_pool_cleanup_for_exec must discard I/O buffers| |41192|New| |2006-12-17|Add the expat libtool file to the LT_LDFLAGS varia| |41243|New|Nor|2006-12-26|Several apr_thread_cond_signal() may wake up only | |41250|New|Nor|2006-12-27|unnecessary sub-pool creation in apr_dbd_oracle.c | |41254|New|Enh|2006-12-28|apr_queue_t enhancements | |41348|New| |2007-01-11|APR_POLL_LASTDESC isn't marked as deprecated | |41351|New|Enh|2007-01-11|Tivoli LDAP SDK support in aprutil | |41352|New|Min|2007-01-11|openldap and per-connection client certificates in| |41386|Inf|Nor|2007-01-16|apr_dso_load ignores DYLD_LIBRARY_PATH on Mac OSX | |41678|New|Nor|2007-02-22|APR_FINFO_CSIZE support missing on unix | |41807|New|Enh|2007-03-10|dbd driver registration function | |41914|New|Nor|2007-03-21|MinGW supports | |41916|New|Nor|2007-03-21|MinGW support | |42066|New|Maj|2007-04-07|apr_bucket_alloc crash when apr_allocator_alloc fa| |42261|New|Cri|2007-04-26|sendfile broken with LFS support on HP-UX/PA-RISC3| |42293|New|Nor|2007-04-29|Accessing Wincrypt API on older version of the Mic| |42294|New|Nor|2007-04-29|Variable declaration after code | +-----+---+---+----------+--------------------------------------------------+ | Total 63 bugs | +---------------------------------------------------------------------------+ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 30 19:18:28 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90103 invoked from network); 30 Apr 2007 19:18:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Apr 2007 19:18:27 -0000 Received: (qmail 72763 invoked by uid 500); 30 Apr 2007 19:18:34 -0000 Delivered-To: [email protected] Received: (qmail 72741 invoked by uid 500); 30 Apr 2007 19:18:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 72730 invoked by uid 99); 30 Apr 2007 19:18:33 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Apr 2007 12:18:33 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Apr 2007 12:18:26 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id BEF3C71404A; Mon, 30 Apr 2007 12:18:06 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 41243] - Several apr_thread_cond_signal() may wake up only one waiting thread In-Reply-To: <{{EMAIL+PHONE}}/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Mon, 30 Apr 2007 12:18:06 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=41243>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=41243 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Additional Comments From [email protected] 2007-04-30 12:18 ------- There should be no count of the number of signal() calls, if no threads are waiting on the condition variable (on the time of the signal/broadcast call) nothing happens. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 30 20:29:00 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21788 invoked from network); 30 Apr 2007 20:29:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Apr 2007 20:29:00 -0000 Received: (qmail 12213 invoked by uid 500); 30 Apr 2007 20:29:07 -0000 Delivered-To: [email protected] Received: (qmail 12188 invoked by uid 500); 30 Apr 2007 20:29:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 12175 invoked by uid 99); 30 Apr 2007 20:29:06 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Apr 2007 13:29:06 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Apr 2007 13:29:00 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id C1A8571404A; Mon, 30 Apr 2007 13:28:39 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 42305] New: - rework win32 condition variable Message-ID: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Date: Mon, 30 Apr 2007 13:28:39 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42305>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=42305 Summary: rework win32 condition variable Product: APR Version: HEAD Platform: Other OS/Version: other Status: NEW Keywords: PatchAvailable Severity: normal Priority: P2 Component: APR AssignedTo: [email protected] ReportedBy: [email protected] Rework the win32 CV code to signal the condition only if one or more threads are blocked on the condition variable. If no threads are waiting on the condition variable, nothing happens. This patch also eliminates the thundering-herd problem of the manual-reset event, which (theoretically) wakes up all threads waiting on. Now the behavior of the CV's should be the same on Unix and win32 platforms. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 30 20:29:31 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21956 invoked from network); 30 Apr 2007 20:29:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Apr 2007 20:29:30 -0000 Received: (qmail 12689 invoked by uid 500); 30 Apr 2007 20:29:36 -0000 Delivered-To: [email protected] Received: (qmail 12660 invoked by uid 500); 30 Apr 2007 20:29:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 12649 invoked by uid 99); 30 Apr 2007 20:29:36 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Apr 2007 13:29:36 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Apr 2007 13:29:29 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 9BDB5714058; Mon, 30 Apr 2007 13:29:09 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 42305] - rework win32 condition variable In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Mon, 30 Apr 2007 13:29:09 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42305>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=42305 ------- Additional Comments From [email protected] 2007-04-30 13:29 ------- Created an attachment (id=20078) --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20078&action=view) reworked win32 condition variable -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 30 20:30:10 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22117 invoked from network); 30 Apr 2007 20:30:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Apr 2007 20:30:10 -0000 Received: (qmail 13380 invoked by uid 500); 30 Apr 2007 20:30:16 -0000 Delivered-To: [email protected] Received: (qmail 13356 invoked by uid 500); 30 Apr 2007 20:30:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 13345 invoked by uid 99); 30 Apr 2007 20:30:16 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Apr 2007 13:30:16 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Apr 2007 13:30:09 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id C7A9871404A; Mon, 30 Apr 2007 13:29:49 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 42305] - rework win32 condition variable In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Mon, 30 Apr 2007 13:29:49 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42305>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=42305 ------- Additional Comments From [email protected] 2007-04-30 13:29 ------- Created an attachment (id=20079) --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20079&action=view) update documentation accordingly -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 30 20:30:39 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22236 invoked from network); 30 Apr 2007 20:30:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Apr 2007 20:30:38 -0000 Received: (qmail 14056 invoked by uid 500); 30 Apr 2007 20:30:43 -0000 Delivered-To: [email protected] Received: (qmail 13783 invoked by uid 500); 30 Apr 2007 20:30:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <bugs.apr.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 13761 invoked by uid 99); 30 Apr 2007 20:30:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Apr 2007 13:30:42 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Apr 2007 13:30:35 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id C39C5714062; Mon, 30 Apr 2007 13:30:15 -0700 (PDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 42305] - rework win32 condition variable In-Reply-To: <[email protected]/bugzilla/> X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Mon, 30 Apr 2007 13:30:15 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42305>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=42305 ------- Additional Comments From [email protected] 2007-04-30 13:30 ------- Created an attachment (id=20080) --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20080&action=view) condition variable test code -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
From [email protected] Mon Aug 02 11:00:44 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13632 invoked from network); 2 Aug 2004 11:00:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 2 Aug 2004 11:00:43 -0000 Received: (qmail 13632 invoked by uid 500); 2 Aug 2004 11:00:39 -0000 Delivered-To: [email protected] Received: (qmail 13509 invoked by uid 500); 2 Aug 2004 11:00:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 13497 invoked by uid 99); 2 Aug 2004 11:00:38 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DRUGS_PAIN X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO mailsrv1.norcom.de) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 02 Aug 2004 04:00:34 -0700 Received: by mailsrv1.norcom.de with Internet Mail Service (5.5.2653.19) id <PJRV0RL9>; Mon, 2 Aug 2004 13:01:29 +0200 Message-ID: <[email protected]> From: "Rehrl, Alwin Taro" <[email protected]> To: [email protected] Subject: Parsing XML documents received from a socket Date: Mon, 2 Aug 2004 13:01:28 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Dear ML, I'm asking this on behalf of a colleague of mine. But I'm also = interested in possible answers. We don't want to use a different parser. Here's the request: hello i have the following problematic. i'm reading several xml documents after each other from a network = socket and i would like to process them with a sax parser. problem is: documents can have only one root node and the parser does = not know where to stop the processing of the data read from the incoming stream and i have a parsing problem. there is a solution for that on the web site: (http://xml.apache.org/xerces2-j/samples-socket.html) but since i = cannot change the protocol i cannot use this solution. with the following restrictions: - xml declarations are omitted(this is the situation in my case) - same encoding is used for all documents my solution would be: i'm creating a special InputStream that would encapsulate all the documents read from the socket into one big virtual document. <?xml version=3D"1.0" ?><virtualDocument>[here are the xml documents = read from the network]</virtualDocument> and with a special ContentHandler that would emulate startDocument and endDocument methods for the real ContentHandler implementation. the problem with this solution is that the xerces parser seems not to start the actual parsing unless the stream has not been closed. for the older xerces i have found on the web site: (http://xml.apache.org/xerces-j/faq-write.html#faq-11) "The Apache parsers read the entire data stream into a buffer before = they start parsing" i do believe that xerces2 works the same way but i couldn't find the solution for that. my questions are: - is it somehow possible to tell the SAX parseer to parse more than one document reading from the same InputStream/Reader without using any protocol? - is the assumtion correct that xerces2 does not start the parsing = unless all the data has been read? is there any workaround for that like in xerces? bye tome --=20 Taro Rehrl NorCom Information Technology AG Stefan-George-Ring 6, 81929 M=FCnchen Fon 860-947-9872 Fax 860-947-9872 mailto:[email protected] http://www.norcom.de/ This email and any attachments contains privileged and confidential information intended only for the use of the addressee(s). If you are = not an intended recipient of this email, you are hereby notified that any dissemination, copying or use of information within it is strictly prohibited. If you received this email in error or without = authorisation, please notify us immediately by reply e-mail and delete the e-mail from = your system. If you need any further assistance, please contact us under <[email protected]>. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 02 12:58:12 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77830 invoked from network); 2 Aug 2004 12:58:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 2 Aug 2004 12:58:12 -0000 Received: (qmail 59716 invoked by uid 500); 2 Aug 2004 12:58:02 -0000 Delivered-To: [email protected] Received: (qmail 59514 invoked by uid 500); 2 Aug 2004 12:58:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 59484 invoked by uid 99); 2 Aug 2004 12:58:00 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO nordpol.kbv.de) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 02 Aug 2004 05:57:56 -0700 Received: (qmail 16602 invoked from network); 2 Aug 2004 12:57:47 -0000 Received: from kbvgate.kbv.de (HELO ?161.129.204.104?) (161.129.204.104) by nordpol.kbv.de with SMTP; 2 Aug 2004 12:57:47 -0000 Received: from webwasher.kbv.de by [161.129.204.104] via smtpd (for kbv.de [161.129.204.104]) with SMTP; Mon, 2 Aug 2004 14:57:42 +0200 Received: from kbv017.kbv.int [161.129.204.104] by Webwasher.kbv.de id B94I5PWN outgoing id B94I5PWN; 02 Aug 2004 14:57:47 +0200 Received: from kbv054.kbv.int ([161.129.204.104]) by kbv017.kbv.int with Microsoft SMTPSVC(5.0.2195.6713); Mon, 2 Aug 2004 14:57:47 +0200 Subject: derivation by restriction and <choice> to <sequence>- definition 2 Date: Mon, 2 Aug 2004 14:57:24 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-ID: <[email protected]> content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: derivation by restriction and <choice> to <sequence>- definition Thread-Index: AcR2LLNfG4fHX7rmShSHc/asr1JtCQCYlJQw From: "Usorov, Evgeny" <[email protected]> To: <[email protected]>, <[email protected]> X-OriginalArrivalTime: 02 Aug 2004 12:57:47.0682 (UTC) FILETIME=[4F73A820:01C47890] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hallo=20 i could localize the problem of converting <choice> to <sequence> in = derivation by restriction problem: if i define only: <xs:complexType name=3D"basis_typ"> <xs:choice minOccurs=3D"0" maxOccurs=3D"unbounded"> <xs:element name=3D"foo" minOccurs=3D"0" maxOccurs=3D"unbounded"/> <xs:element name=3D"bar" minOccurs=3D"0" maxOccurs=3D"unbounded"/> </xs:choice> </xs:complexType> to <xs:complexType name=3D"derived_test_typ"> <xs:complexContent> <xs:restriction base=3D"basis_typ"> <xs:sequence> <xs:element name=3D"foo" minOccurs=3D"2" maxOccurs=3D"2"/> <xs:element name=3D"bar" minOccurs=3D"4" maxOccurs=3D"4"/> </xs:sequence> </xs:restriction> </xs:complexContent> </xs:complexType> all is fine an valid. But if i add an element before the = <choice>-section i get errors: <xs:complexType name=3D"basis_typ"> <xs:sequence> <xs:element name=3D"added_element"/> <xs:choice minOccurs=3D"0" maxOccurs=3D"unbounded"> <xs:element name=3D"foo" minOccurs=3D"0" maxOccurs=3D"unbounded"/> <xs:element name=3D"bar" minOccurs=3D"0" maxOccurs=3D"unbounded"/> </xs:choice> </xs:sequence> =09 </xs:complexType>=09 to <xs:complexType name=3D"derived_test_typ"> <xs:complexContent> <xs:restriction base=3D"basis_typ"> <xs:sequence> <xs:element name=3D"added_element"/> <xs:element name=3D"foo" minOccurs=3D"2" maxOccurs=3D"2"/> <xs:element name=3D"bar" minOccurs=3D"4" maxOccurs=3D"4"/> </xs:sequence> </xs:restriction> </xs:complexContent> </xs:complexType> i think this is a bug. CU Evgeny > -----Urspr=FCngliche Nachricht----- > Von: Usorov, Evgeny =20 > Gesendet: Freitag, 30. Juli 2004 14:00 > An: '[email protected]'; '[email protected]' > Betreff: derivation by restriction and <choice> to <sequence>- = definition >=20 > Hi, >=20 > Our company defines some XML-Intefaces for exchange eHealth-data. So = our global-schema-Standart=20 > for all interfaces can be only restricted by the specific = XML-Schema-Interface.=20 > But i get all the time problems when somebody wants to restrict the = global-schema.=20 >=20 > Situation: > Our standart provider_typ, only short-cut > <xs:complexType name=3D"provider_typ"> > <xs:sequence> > <!-- here some other elements like provider.type_cd, that are not = relevant for this example--> > <xs:choice maxOccurs=3D"unbounded"> > <xs:element ref=3D"person"/> > <xs:element ref=3D"organization"/> > </xs:choice> > </xs:sequence> > </xs:complexType> >=20 > So with that type I can have 3 persons, who belongs to 1 organization. = Now somebody=20 > wants to define specific schema for doctors, like one group practice = can have=20 > many doctors. So here the specific_provider_typ >=20 > <xs:complexType name=3D"specific_provider_typ"> > <xs:complexContent> > <xs:restriction base=3D"provider_typ"> > <xs:sequence> > <!-- here other specific elements, that are not relevant for this = example--> > <xs:element ref=3D"person" minOccurs=3D"0" = maxOccurs=3D"unbounded"/> > <xs:element ref=3D"organization"/> > </xs:sequence> > </xs:restriction> > </xs:complexContent> > </xs:complexType> >=20 > So now in this specific_provider_typ I changed <choice> to <sequence>, = now there have=20 > to be one organization and may be some persons. I think from the = XML-view this is a=20 > valid restriction.=20 > But Xerces (2.6.2) reports an error: > [Error] test.xsd:129:47: rcase-Recurse.2: There is not a complete = functional mapping between the particles. > [Error] test.xsd:129:47: derivation-ok-restriction.5.4.2: Error for = type 'specific_provider_typ'. The particle of the type is not a valid = restriction of the particle of the base. >=20 > Is it not allowed to change from <choice> to <sequence> or this is = Xerces bug ?=20 > I tryed other ways to define global-schema, but without success. Only = thing that works is to define in the global-schema normal <sequence> = without <choice>.>=20 >=20 > Can somebody help ? > Thanks in advance > Evgeny Usorov > www.kbv.de --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 02 20:39:20 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37031 invoked from network); 2 Aug 2004 20:39:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 2 Aug 2004 20:39:20 -0000 Received: (qmail 47454 invoked by uid 500); 2 Aug 2004 20:39:13 -0000 Delivered-To: [email protected] Received: (qmail 47394 invoked by uid 500); 2 Aug 2004 20:39:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 47382 invoked by uid 99); 2 Aug 2004 20:39:13 -0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=HTML_60_70,HTML_MESSAGE X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO mail.westbridgetech.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 02 Aug 2004 13:39:10 -0700 Received: from companyweb.westbridgetech.com (companyweb [161.129.204.104]) by mail.westbridgetech.com (8.12.11/8.12.11) with ESMTP id i72Kd3wV015994 for <[email protected]>; Mon, 2 Aug 2004 13:39:03 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C478D0.E731319A" Subject: Schema processing recursion question Date: Mon, 2 Aug 2004 13:39:00 -0700 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Schema processing recursion question Thread-Index: AcR40L3wHRgmadn/TUiQj4EKfnyd1g== From: "Benjamin Kolin" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C478D0.E731319A Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Given a schema was a recursive element, like this: =20 <?xml version=3D"1.0" encoding=3D"UTF-8"?> <xs:schema xmlns:xs=3D"http://www.w3.org/2001/XMLSchema" elementFormDefault=3D"qualified" =20 =20 targetNamespace=3D"http://localhost:8080/mytest" xmlns:tns=3D"http://localhost:8080/mytest"> <xs:complexType name=3D"symbolType"> <xs:sequence> <xs:element name=3D"name" type=3D"xs:string" /> <xs:element name=3D"symbol" type=3D"tns:symbolType" minOccurs=3D"0"=20 =20 maxOccurs=3D"1"/> </xs:sequence> </xs:complexType> <xs:element name=3D"getQuote"> <xs:complexType> <xs:sequence> <xs:element name=3D"symbol" type=3D"tns:symbolType"/> </xs:sequence> </xs:complexType> </xs:element> </xs:schema> =20 What would be the best way to programmatically control the level of recursion? I need to be able to specify "this element is recursive, but only up to 10 levels deep, and anything deeper should be considered an error." Thank you. =20 -Ben Kolin ------_=_NextPart_001_01C478D0.E731319A Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR></HEAD> <BODY> <DIV><SPAN class=3D230283620-02082004><FONT face=3DArial size=3D2>Given = a schema was a=20 recursive element, like this:</FONT></SPAN></DIV> <DIV><SPAN class=3D230283620-02082004></SPAN>&nbsp;</DIV> <DIV><SPAN class=3D230283620-02082004><FONT face=3DArial = size=3D2>&lt;?xml=20 version=3D"1.0" encoding=3D"UTF-8"?&gt;<BR>&lt;xs:schema xmlns:xs=3D"<A=20 href=3D"http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchem= a</A>"=20 elementFormDefault=3D"qualified"&nbsp; </FONT></SPAN></DIV> <DIV>&nbsp;</DIV> <DIV><SPAN class=3D230283620-02082004><FONT face=3DArial = size=3D2>targetNamespace=3D"<A=20 href=3D"http://localhost:8080/mytest">http://localhost:8080/mytest</A>"=20 xmlns:tns=3D"<A=20 href=3D"http://localhost:8080/mytest">http://localhost:8080/mytest</A>"&g= t;<BR>&nbsp;&lt;xs:complexType=20 name=3D"symbolType"&gt;<BR>&nbsp;&nbsp;&lt;xs:sequence&gt;<BR>&nbsp;&nbsp= ;&nbsp;&lt;xs:element=20 name=3D"name" type=3D"xs:string" = /&gt;<BR>&nbsp;&nbsp;&nbsp;&lt;xs:element=20 name=3D"symbol" type=3D"tns:symbolType" minOccurs=3D"0" = </FONT></SPAN></DIV> <DIV>&nbsp;</DIV> <DIV><SPAN class=3D230283620-02082004><FONT face=3DArial=20 size=3D2>maxOccurs=3D"1"/&gt;<BR>&nbsp;&nbsp;&lt;/xs:sequence&gt;<BR>&nbs= p;&lt;/xs:complexType&gt;<BR>&lt;xs:element=20 name=3D"getQuote"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &lt;xs:complexType&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;=20 &lt;xs:sequence&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &lt;xs:element name=3D"symbol"=20 type=3D"tns:symbolType"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;=20 &lt;/xs:sequence&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &lt;/xs:complexType&gt;<BR>&nbsp;&nbsp;&nbsp;=20 &lt;/xs:element&gt;<BR>&lt;/xs:schema&gt;<BR></FONT></SPAN></DIV> <DIV><SPAN class=3D230283620-02082004><FONT face=3DArial=20 size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV><SPAN class=3D230283620-02082004><FONT face=3DArial size=3D2>What = would be the=20 best way to programmatically control the level of recursion?&nbsp; I = need to be=20 able to specify "this element is recursive, but only up to 10 levels = deep, and=20 anything deeper should be considered an error."&nbsp; Thank=20 you.</FONT></SPAN></DIV> <DIV><SPAN class=3D230283620-02082004><FONT face=3DArial=20 size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV><SPAN class=3D230283620-02082004><FONT face=3DArial size=3D2>-Ben=20 Kolin</DIV></FONT></SPAN></BODY></HTML> ------_=_NextPart_001_01C478D0.E731319A-- From [email protected] Mon Aug 02 21:30:32 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61516 invoked from network); 2 Aug 2004 21:30:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 2 Aug 2004 21:30:32 -0000 Received: (qmail 42954 invoked by uid 500); 2 Aug 2004 21:30:26 -0000 Delivered-To: [email protected] Received: (qmail 42912 invoked by uid 500); 2 Aug 2004 21:30:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 42901 invoked by uid 99); 2 Aug 2004 21:30:26 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO mproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 02 Aug 2004 14:30:24 -0700 Received: by mproxy.gmail.com with SMTP id 79so118440rnk for <[email protected]>; Mon, 02 Aug 2004 14:30:23 -0700 (PDT) Received: by 161.129.204.104 with SMTP id f68mr12630rnb; Mon, 02 Aug 2004 14:30:23 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 2 Aug 2004 14:30:23 -0700 From: Lingzhi Zhang <[email protected]> To: [email protected] Subject: Re: Schema processing recursion question In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N What do you mean the "best" way? There are several ways that you could program it. ----- Original Message ----- From: Benjamin Kolin <[email protected]> Date: Mon, 2 Aug 2004 13:39:00 -0700 Subject: Schema processing recursion question To: [email protected] Given a schema was a recursive element, like this: <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://localhost:8080/mytest" xmlns:tns="http://localhost:8080/mytest"> <xs:complexType name="symbolType"> <xs:sequence> <xs:element name="name" type="xs:string" /> <xs:element name="symbol" type="tns:symbolType" minOccurs="0" maxOccurs="1"/> </xs:sequence> </xs:complexType> <xs:element name="getQuote"> <xs:complexType> <xs:sequence> <xs:element name="symbol" type="tns:symbolType"/> </xs:sequence> </xs:complexType> </xs:element> </xs:schema> What would be the best way to programmatically control the level of recursion? I need to be able to specify "this element is recursive, but only up to 10 levels deep, and anything deeper should be considered an error." Thank you. -Ben Kolin --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 02 21:40:26 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65886 invoked from network); 2 Aug 2004 21:40:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 2 Aug 2004 21:40:26 -0000 Received: (qmail 55951 invoked by uid 500); 2 Aug 2004 21:40:18 -0000 Delivered-To: [email protected] Received: (qmail 55844 invoked by uid 500); 2 Aug 2004 21:40:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 55833 invoked by uid 99); 2 Aug 2004 21:40:18 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO mail.westbridgetech.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 02 Aug 2004 14:40:15 -0700 Received: from companyweb.westbridgetech.com (companyweb [161.129.204.104]) by mail.westbridgetech.com (8.12.11/8.12.11) with ESMTP id i72Le87B017649 for <[email protected]>; Mon, 2 Aug 2004 14:40:08 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Schema processing recursion question Date: Mon, 2 Aug 2004 14:40:36 -0700 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Schema processing recursion question Thread-Index: AcR42B1nBu1DbgH7TpK64qI1XmLgqwAAQF5g From: "Maneesh Sahu" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Is there any way besides implementing a ContentHandler? Something more native to the parser engine? --ms -----Original Message----- From: Lingzhi Zhang [mailto:[email protected]]=20 Sent: Monday, August 02, 2004 2:30 PM To: [email protected] Subject: Re: Schema processing recursion question What do you mean the "best" way? There are several ways that you could program it. ----- Original Message ----- From: Benjamin Kolin <[email protected]> Date: Mon, 2 Aug 2004 13:39:00 -0700 Subject: Schema processing recursion question To: [email protected] Given a schema was a recursive element, like this: =20 <?xml version=3D"1.0" encoding=3D"UTF-8"?> <xs:schema xmlns:xs=3D"http://www.w3.org/2001/XMLSchema" elementFormDefault=3D"qualified" =20 targetNamespace=3D"http://localhost:8080/mytest" xmlns:tns=3D"http://localhost:8080/mytest"> <xs:complexType name=3D"symbolType"> <xs:sequence> <xs:element name=3D"name" type=3D"xs:string" /> <xs:element name=3D"symbol" type=3D"tns:symbolType" minOccurs=3D"0"=20 =20 maxOccurs=3D"1"/> </xs:sequence> </xs:complexType> <xs:element name=3D"getQuote"> <xs:complexType> <xs:sequence> <xs:element name=3D"symbol" type=3D"tns:symbolType"/> </xs:sequence> </xs:complexType> </xs:element> </xs:schema> =20 What would be the best way to programmatically control the level of recursion? I need to be able to specify "this element is recursive, but only up to 10 levels deep, and anything deeper should be considered an error." Thank you. =20 -Ben Kolin --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Aug 03 16:23:31 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 55446 invoked from network); 3 Aug 2004 16:23:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 3 Aug 2004 16:23:31 -0000 Received: (qmail 29124 invoked by uid 500); 3 Aug 2004 16:23:19 -0000 Delivered-To: [email protected] Received: (qmail 29076 invoked by uid 500); 3 Aug 2004 16:23:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 29059 invoked by uid 99); 3 Aug 2004 16:23:18 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO androcus.capcom.de) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 03 Aug 2004 09:23:16 -0700 Received: from fwdmz.capcom.de ([161.129.204.104] helo=wormhole.capcom.de) by androcus.capcom.de with smtp (Exim 4.30) id 1Bs21Y-0002SH-1g for [email protected]; Tue, 03 Aug 2004 18:20:24 +0200 Reply-To: <[email protected]> From: "Ben Bookey" <[email protected]> To: <[email protected]> Subject: Differences between Date: Tue, 3 Aug 2004 18:24:13 +0200 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 1) Could anyone explain why my xml-generator Tomcat web-app (supplied with xmlParserAPIs.jar and xercesImpl.jar in the extended path) doesnt work until I copy the xerces.jar into this path aswell. Isnt xmlParserAPIs.jar and xercesImpl.jar enough ? 2) what is the differences between the xerces.jar supplied with Java SDK 1.4 and the version from apache? Could there be a problem of collison? regards Ben +-------------------------------------------------------------------+ | GIStec GmbH - Ihr Partner für GIS - Technologie | | | | Ben Bookey | | [email protected] Fraunhoferstraße 5 | | Tel 0 61 51 / 155 - 254 D-64283 Darmstadt | | Fax 0 61 51 / 155 - 259 http://www.gistec-online.de | | | | http://www.ingeoic.de http://www.geo-watermarking.de | +-------------------------------------------------------------------+ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Aug 03 16:31:31 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60338 invoked from network); 3 Aug 2004 16:31:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 3 Aug 2004 16:31:31 -0000 Received: (qmail 47970 invoked by uid 500); 3 Aug 2004 16:31:23 -0000 Delivered-To: [email protected] Received: (qmail 47937 invoked by uid 500); 3 Aug 2004 16:31:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 47831 invoked by uid 99); 3 Aug 2004 16:31:21 -0000 X-ASF-Spam-Status: No, hits=4.2 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_40_50,HTML_IMAGE_ONLY_12,HTML_MESSAGE,MSGID_FROM_MTA_HEADER X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO rediffmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with SMTP; Tue, 03 Aug 2004 09:31:17 -0700 Received: (qmail 5324 invoked by uid 510); 3 Aug 2004 16:31:11 -0000 Date: 3 Aug 2004 16:31:11 -0000 Message-ID: <[email protected]> Received: from unknown (161.129.204.104) by rediffmail.com via HTTP; 03 aug 2004 16:31:11 -0000 MIME-Version: 1.0 From: "Satish Kumar" <[email protected]> Reply-To: "Satish Kumar" <[email protected]> To: [email protected] Subject: non-xml to xml using transformations Content-type: multipart/alternative; boundary="Next_1091550671---0-161.129.204.104-5316" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --Next_1091550671---0-161.129.204.104-5316 Content-type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline <P>=0Ahai,<BR>=0A<BR>=0A&nbsp; I'm wriring a program to convert a non-xml = file to xml file with transformations.<BR>=0A&nbsp; <BR>=0A&nbsp; As sax ev= ents are genereated the transformatins also should take place. But it does = not happen in my case.&nbsp; I have spefified a&nbsp; <BR>=0A<BR>=0Acontent= Handler.startDocument()<BR>=0AcontentHandler.Elemet() and all the necesasry= .....<BR>=0A&nbsp; <BR>=0A&nbsp; i Have also extednd the XML reader interfa= ce and overrideen the aprse method. It still does not work. CAn anyone help= me&nbsp; out and its very urgent.<BR>=0A<BR>=0Athanking you in advance.<BR= >=0A<BR>=0Argds,<BR>=0Asatish<BR>=0A<BR>=0A<BR>=0A=0A</P>=0A<br><br>=0A<A t= arget=3D"_blank" HREF=3D"http://clients.rediff.com/signature/track_sig.asp"= ><IMG SRC=3D"http://ads.rediff.com/RealMedia/ads/adstream_nx.cgi/www.rediff= mail.com/inbox.htm@Bottom" BORDER=3D0 VSPACE=3D0 HSPACE=3D0></a>=0A --Next_1091550671---0-161.129.204.104-5316 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline hai,=0A=0A I'm wriring a program to convert a non-xml file to xml file wi= th transformations.=0A =0A As sax events are genereated the transformatin= s also should take place. But it does not happen in my case. I have spefif= ied a =0A=0AcontentHandler.startDocument()=0AcontentHandler.Elemet() and a= ll the necesasry.....=0A =0A i Have also extednd the XML reader interface= and overrideen the aprse method. It still does not work. CAn anyone help m= e out and its very urgent.=0A=0Athanking you in advance.=0A=0Argds,=0Asati= sh=0A=0A=0A --Next_1091550671---0-161.129.204.104-5316-- From [email protected] Tue Aug 03 21:12:16 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 350 invoked from network); 3 Aug 2004 21:12:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 3 Aug 2004 21:12:16 -0000 Received: (qmail 37200 invoked by uid 500); 3 Aug 2004 21:12:02 -0000 Delivered-To: [email protected] Received: (qmail 37076 invoked by uid 500); 3 Aug 2004 21:12:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 36958 invoked by uid 99); 3 Aug 2004 21:12:00 -0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=FREE_TRIAL,HTML_60_70,HTML_MESSAGE X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO pscgate.progress.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 03 Aug 2004 14:11:59 -0700 Received: from elvirus.progress.com (elvirus [161.129.204.104]) by pscgate.progress.com (8.12.11/8.12.11/PSC-5.11) with ESMTP id i73LBs2O017230 for <[email protected]>; Tue, 3 Aug 2004 17:11:54 -0400 (EDT) Received: from progress.com (localhost [161.129.204.104]) by elvirus.progress.com (8.10.2/8.10.2/PSC-4.01) with ESMTP id i73LBrB18197 for <[email protected]>; Tue, 3 Aug 2004 17:11:54 -0400 (EDT) Received: from NTEXFE01.bedford.progress.com (ntexfe01 [161.129.204.104]) by progress.com (8.11.6/8.11.6) with ESMTP id i73LBrB19003 for <[email protected]>; Tue, 3 Aug 2004 17:11:53 -0400 (EDT) Received: from MAIL01.bedford.progress.com ([161.129.204.104]) by NTEXFE01.bedford.progress.com with Microsoft SMTPSVC(6.0.3790.0); Tue, 3 Aug 2004 17:11:45 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4799E.7FA7E3F7" Subject: ANN: new Xerces-enabled XML Editor Date: Tue, 3 Aug 2004 17:10:40 -0400 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: new Xerces-enabled XML Editor Thread-Index: AcR5nh+orJjuA0VtS2O0Og6kQRXeNQAADUCu From: "Stylus Studio Announcements" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 03 Aug 2004 21:11:45.0823 (UTC) FILETIME=[7B92D2F0:01C4799E] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C4799E.7FA7E3F7 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable =20 [announce]Dear Xerces-J User community,=20 =20 Stylus Studio is pleased to announce Stylus Studio 5 Home Edition, a = new, value-priced version of our award-winning XML IDE. Stylus Studio 5 = Home Edition is specifically designed for learning or working with XML = in educational, training, or home settings, and is available now for = only $49 (USD) for a single-user license. The latest addition to the = Stylus Studio family of XML productivity tools offers substantially more = XML development features compared to other low-cost XML tools, = including: =20 * XML Editor - Full support for intelligent XML editing (Sense:X); text, = tree, and schema XML editing views; full parsing and validation support, = fully integrated XML parsing and error reporting with Xerces-J. * XML Schema Editor - Visually develop XML data models using text, tree, = or diagram views=20 * XSLT Editor - A productive, intuitive environment for developing XSLT = stylesheets, including a visual XSLT mapping tool * XSLT Debugger - Set breakpoints and step through the evaluation of any = XSLT stylesheet to locate errors=20 * DTD Editor - Visually develop document type definitions * XPath Tools - Visually evaluate XPath expressions; full support for = XPath 1.0 and 2.0 * Integrated Java/JSP IDE - Ideal for working with Java and XML = technologies. =20 For more information about Stylus Studio 5 Home Edition is available at = the Stylus Studio website at: = http://www.stylusstudio.com/stylus_home_edition.html = <http://www.stylusstudio.com/stylus_home_edition.html>=20 =20 You can download a free trial of Stylus Studio 5 Home Edition at: http://www.stylusstudio.com/home_edition_download.html = <http://www.stylusstudio.com/home_edition_download.html>=20 =20 Sincerely, The Stylus Studio Team http://www.stylusstudio.com <http://www.stylusstudio.com/>=20 ------_=_NextPart_001_01C4799E.7FA7E3F7 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Diso-8859-1">=0A= <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML = DIR=3Dltr><HEAD></HEAD><BODY>=0A= <DIV id=3DidOWAReplyText50200 dir=3Dltr>=0A= <DIV dir=3Dltr><FONT face=3DArial color=3D#000000 = size=3D2></FONT>&nbsp;</DIV></DIV>=0A= <DIV dir=3Dltr><FONT face=3DArial color=3D#000000 size=3D2><SPAN =0A= style=3D"COLOR: black"><FONT size=3D3><FONT face=3D"Times New = Roman">[announce]Dear =0A= Xerces-J User community,</FONT></FONT></SPAN> </FONT></DIV>=0A= <DIV dir=3Dltr><FONT face=3DArial color=3D#000000 size=3D2>&nbsp;</DIV>=0A= <DIV dir=3Dltr>=0A= <DIV>=0A= <P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN style=3D"COLOR: = black"><FONT =0A= size=3D3><FONT face=3D"Times New Roman">Stylus Studio is pleased = to&nbsp;announce =0A= Stylus Studio 5 Home Edition, a new, value-priced version of our = award-winning =0A= XML IDE.&nbsp;Stylus Studio 5 Home Edition is specifically designed for = learning =0A= or working with XML in educational, training, or home settings, and is = available =0A= now for only&nbsp;$49 (USD) for a single-user license. The latest = addition to =0A= the Stylus Studio family of XML productivity tools offers substantially = more XML =0A= development features&nbsp;compared to other low-cost XML tools, =0A= including:</FONT></FONT></SPAN></P>=0A= <P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN style=3D"COLOR: = black"><FONT =0A= face=3D"Times New Roman" size=3D3></FONT></SPAN>&nbsp;</P>=0A= <P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN style=3D"COLOR: = black"><FONT =0A= size=3D3><FONT face=3D"Times New Roman">* XML Editor - Full support for = intelligent =0A= XML editing (Sense:X); text, tree, and schema&nbsp;XML editing views; =0A= full&nbsp;parsing and validation support, fully integrated XML parsing = and error =0A= reporting with Xerces-J.</FONT></FONT></SPAN></P>=0A= <P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN style=3D"COLOR: = black"><FONT =0A= size=3D3><FONT face=3D"Times New Roman">* XML Schema Editor - Visually = develop XML =0A= data models using text, tree, or diagram views </FONT></FONT></SPAN></P>=0A= <P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN style=3D"COLOR: = black"><FONT =0A= size=3D3><FONT face=3D"Times New Roman">* XSLT Editor - A productive, = intuitive =0A= environment for developing XSLT stylesheets, including a visual XSLT = mapping =0A= tool</FONT></FONT></SPAN></P>=0A= <P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN style=3D"COLOR: = black"><FONT =0A= size=3D3><FONT face=3D"Times New Roman">* XSLT Debugger - Set = breakpoints and step =0A= through the evaluation of any XSLT stylesheet to locate errors =0A= </FONT></FONT></SPAN></P>=0A= <P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN style=3D"COLOR: = black"><FONT =0A= size=3D3><FONT face=3D"Times New Roman">* DTD Editor - Visually develop = document =0A= type definitions</FONT></FONT></SPAN></P>=0A= <P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN style=3D"COLOR: = black"><FONT =0A= size=3D3><FONT face=3D"Times New Roman">* XPath Tools - Visually = evaluate XPath =0A= expressions; full support for XPath 1.0 and 2.0</FONT></FONT></SPAN></P>=0A= <P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN style=3D"COLOR: = black"><FONT =0A= size=3D3><FONT face=3D"Times New Roman">* Integrated Java/JSP IDE - = Ideal for =0A= working with Java and XML technologies.</FONT></FONT></SPAN></P>=0A= <P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN style=3D"COLOR: = black"><FONT =0A= face=3D"Times New Roman" size=3D3></FONT></SPAN>&nbsp;</P>=0A= <P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN style=3D"COLOR: = black"><FONT =0A= face=3D"Times New Roman" size=3D3>For more information about Stylus = Studio 5 Home =0A= Edition is available at the Stylus Studio website at: </FONT><A =0A= href=3D"http://www.stylusstudio.com/stylus_home_edition.html"><FONT =0A= face=3D"Times New Roman" =0A= size=3D3>http://www.stylusstudio.com/stylus_home_edition.html</FONT></A><= /SPAN></P>=0A= <P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN style=3D"COLOR: = black"><FONT =0A= face=3D"Times New Roman" size=3D3></FONT></SPAN>&nbsp;</P>=0A= <P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN style=3D"COLOR: = black"><FONT =0A= size=3D3><FONT face=3D"Times New Roman">You can download a free trial of = Stylus =0A= Studio 5 Home Edition at:</FONT></FONT></SPAN></P>=0A= <P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN style=3D"COLOR: = black"><A =0A= href=3D"http://www.stylusstudio.com/home_edition_download.html"><FONT =0A= face=3D"Times New Roman" =0A= size=3D3>http://www.stylusstudio.com/home_edition_download.html</FONT></A= ></SPAN></P>=0A= <P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN style=3D"COLOR: = black"><FONT =0A= face=3D"Times New Roman" size=3D3></FONT></SPAN>&nbsp;</P>=0A= <P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN style=3D"COLOR: = black"><FONT =0A= size=3D3><FONT face=3D"Times New = Roman">Sincerely,</FONT></FONT></SPAN></P>=0A= <P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN style=3D"COLOR: = black"><FONT =0A= size=3D3><FONT face=3D"Times New Roman">The Stylus Studio =0A= Team</FONT></FONT></SPAN></P>=0A= <P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><SPAN style=3D"COLOR: = black"><A =0A= href=3D"http://www.stylusstudio.com/"><FONT face=3D"Times New Roman" =0A= size=3D3>http://www.stylusstudio.com</FONT></A></SPAN></P></FONT></DIV></= DIV></BODY></HTML> ------_=_NextPart_001_01C4799E.7FA7E3F7-- From [email protected] Tue Aug 03 22:50:42 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33621 invoked from network); 3 Aug 2004 22:50:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 3 Aug 2004 22:50:42 -0000 Received: (qmail 69703 invoked by uid 500); 3 Aug 2004 22:50:36 -0000 Delivered-To: [email protected] Received: (qmail 69662 invoked by uid 500); 3 Aug 2004 22:50:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 69650 invoked by uid 99); 3 Aug 2004 22:50:35 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO serv01.divms.uiowa.edu) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 03 Aug 2004 15:50:32 -0700 Received: from [161.129.204.104] ([161.129.204.104]) by serv01.divms.uiowa.edu with id i73MYfCk029066 for <[email protected]>; Tue, 3 Aug 2004 17:34:44 -0500 (CDT) Message-ID: <[email protected]> Date: Tue, 03 Aug 2004 17:36:06 -0500 From: Jason Dusek <[email protected]> User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7) Gecko/20040706 X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Outputting HTML elements to XHTML Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.9 () BAYES_00 X-Scanned-By: MIMEDefang 2.43 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Everyone, I would like to make up an HTML document using HTML*ElementImpl classes, and then I would like to serialize it as XHTML. Here is how I set up my serializer: OutputFormat output = new OutputFormat(); output.setDoctype(OutputFormat.DTD.XHTMLPublicId, OutputFormat.DTD.XHTMLSystemId); output.setIndenting(true); XMLSerializer cereal = new XMLSerializer(System.out, output); My document starts like this: HTMLDocumentImpl html = new HTMLDocumentImpl(); html.setTitle("foo"); HTMLDivElementImpl aDiv = new HTMLDivElementImpl(html, "div"); html.getBody().appendChild(aDiv); Now, if I just take some random XML document with 'div' and similar tags in it, and then output it, they come out lower case. But these HTML*ElementImpl classes always have uppercase tags. Is there an easy way to force them into lower case mode? Or do I have to replace them to get valid XHTML? _jason --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Aug 04 04:02:19 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42061 invoked from network); 4 Aug 2004 04:02:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 4 Aug 2004 04:02:18 -0000 Received: (qmail 36580 invoked by uid 500); 4 Aug 2004 04:01:51 -0000 Delivered-To: [email protected] Received: (qmail 36555 invoked by uid 500); 4 Aug 2004 04:01:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 36541 invoked by uid 99); 4 Aug 2004 04:01:50 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO sccrmhc11.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 03 Aug 2004 21:01:48 -0700 Received: from nicki.visi.com (c-66-41-141-26.mn.client2.attbi.com[161.129.204.104]) by comcast.net (sccrmhc11) with SMTP id <20040804040145011000hmuge>; Wed, 4 Aug 2004 04:01:45 +0000 Message-Id: <[email protected]> X-Sender: [email protected] X-Mailer: QUALCOMM Windows Eudora Version 5.2.1 Date: Tue, 03 Aug 2004 23:01:40 -0500 To: [email protected] From: Jacob Kjome <[email protected]> Subject: Re: Differences between In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N At 06:24 PM 8/3/2004 +0200, you wrote: >1) Could anyone explain why my xml-generator Tomcat web-app (supplied with >xmlParserAPIs.jar and xercesImpl.jar in the extended path) doesnt work= until >I copy the xerces.jar into this path aswell. Isnt xmlParserAPIs.jar and >xercesImpl.jar enough ? What do you mean by "extended path"? What version of Tomcat are you=20 using? To make sure your version of Xerces gets used, replace the ones=20 provided in Tomcat's common/endorsed directory. Any other xerces version=20 will be ignored since this will override it. And are you accessing the=20 Xerces API or just the standard JAXP, DOM, and SAX api's? You mention=20 "xerces.jar". That leads me to believe that you coded directly to=20 Xerces-1.x.x. If the package names or class names don't coincide with=20 Xerces2, then you'd end up using Xerces1 instead of Xerces2. >2) what is the differences between the xerces.jar supplied with Java SDK= 1.4 >and the version from apache? >Could there be a problem of collison? Xerces isn't provided with JDK1.4. Where did you get that idea? Crimson=20 is the implemented parser in JDK1.4. Xalan actually is included in JDK1.4,= =20 so maybe you are confusing libraries here? But note that Tomcat, by adding= =20 xercesImpl.jar and xml-apis.jar to common/endorsed, essentially makes=20 xerces2 part of the JDK by making the library "endorsed". Jake >regards > >Ben > >+-------------------------------------------------------------------+ >| GIStec GmbH - Ihr Partner f=FCr GIS - Technologie | >| | >| Ben Bookey | >| [email protected] Fraunhoferstra=DFe 5 | >| Tel 0 61 51 / 155 - 254 D-64283 Darmstadt | >| Fax 0 61 51 / 155 - 259 http://www.gistec-online.de | >| | >| http://www.ingeoic.de http://www.geo-watermarking.de | >+-------------------------------------------------------------------+ > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [email protected] >For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Aug 04 10:13:05 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 96903 invoked from network); 4 Aug 2004 10:13:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 4 Aug 2004 10:13:05 -0000 Received: (qmail 52301 invoked by uid 500); 4 Aug 2004 09:27:23 -0000 Delivered-To: [email protected] Received: (qmail 52273 invoked by uid 500); 4 Aug 2004 09:27:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 52261 invoked by uid 99); 4 Aug 2004 09:27:21 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO verioseag001.businessxchange.verio.net) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Wed, 04 Aug 2004 02:27:13 -0700 Received: from veriosimr002.VRO1.COM (unverified) by verioseag001.businessxchange.verio.net (Content Technologies SMTPRS 4.3.12) with ESMTP id <[email protected]> for <[email protected]>; Wed, 4 Aug 2004 05:27:57 -0400 Received: from VERIOVEXC008.VRO1.COM ([161.129.204.104]) by veriosimr002.VRO1.COM with Microsoft SMTPSVC(6.0.3790.0); Wed, 4 Aug 2004 05:27:05 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: non-xml to xml using transformations Date: Wed, 4 Aug 2004 05:27:04 -0400 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: non-xml to xml using transformations Thread-Index: AcR5d1Cmdn5OEMYHTx+upjXrNJSR0AAigmzV From: "Christopher Ebert" <[email protected]> To: "Satish Kumar" <[email protected]@example.org>, <[email protected]> X-OriginalArrivalTime: 04 Aug 2004 09:27:05.0364 (UTC) FILETIME=[34DE8540:01C47A05] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I'm not sure exactly what you're doing, but I'd say look at the XNI = examples, and NekoHTML (http://www.apache.org/~andyc/neko/doc/html/). = NekoHTML is for parsing HTML, so I don't imagine it's exactly what you = want. Still, it's a good example. Chris -----Original Message----- From: Satish Kumar [mailto:[email protected]] Sent: Tue 8/3/2004 12:31 PM To: [email protected] Subject: non-xml to xml using transformations =20 hai, I'm wriring a program to convert a non-xml file to xml file with = transformations. =20 As sax events are genereated the transformatins also should take = place. But it does not happen in my case. I have spefified a =20 contentHandler.startDocument() contentHandler.Elemet() and all the necesasry..... =20 i Have also extednd the XML reader interface and overrideen the aprse = method. It still does not work. CAn anyone help me out and its very = urgent. thanking you in advance. rgds, satish --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Aug 04 10:29:07 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6048 invoked from network); 4 Aug 2004 10:29:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 4 Aug 2004 10:29:07 -0000 Received: (qmail 66110 invoked by uid 500); 4 Aug 2004 09:41:14 -0000 Delivered-To: [email protected] Received: (qmail 66080 invoked by uid 500); 4 Aug 2004 09:41:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 66055 invoked by uid 99); 4 Aug 2004 09:41:13 -0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=NO_OBLIGATION X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO drdre.amplexor.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Wed, 04 Aug 2004 02:41:09 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: scope of import Date: Wed, 4 Aug 2004 11:41:32 +0200 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: scope of import Thread-Index: AcR2oaTWHrtUZJnYT3m4JEa902GTgwDYoxAA From: "James Bates" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I just read (again) section 4.2.3 of the W3C XML Schema specification (part I). Although the issue is not directly addressed (concatenation of imports), I have the *impression* that it Xerces is entitled to require that any references to schema components in other namespaces be accompanied by an appropriate <xs:import> element (in the original referencing schema). Indeed, the <xs:import> instruction seems to do no more that import the schema *components*, and in fact "... components to be imported need not be in the form of a schema document; the processor is free to access or construct components using means of its own choosing." [end of third paragraph, section 4.2.3] I therefore see no obligation for a schema processor to take into account <xs:import> elements in the stylesheet that's being imported. On the other hand, I also do not find any obligation for a processor to require (as Xerces does) that references to schema components from a foreign namespace be accompanied by an explicit <xs:import> in the original stylesheet. In other words, the XMLSpy behaviour also seems acceptable. From the point of view of the XML Schema specification, XMLSpy is simply using a different means than the available <xs:import> instruction to discover the definition of referenced schema components from a different namespace. (Namely it is using the xs:import elements inside other referenced schema's). Conclusion: both are behaving in an acceptable manner? My conclusion is a cautious one though, as the relevant text in the specification does not address cascading import elements directly... James -----Original Message----- From: Jeehong Min [mailto:[email protected]]=20 Sent: 31 July 2004 03:56 To: [email protected] Subject: scope of import All, Just wanted to verify correct behavior in Xerces. Suppose I have 3 schemas, with namespaces A, B, and C. Schema A imports only schema B. Schema B imports schema C. Is it legal for schema A to use a type from schema C? Xerces says no, saying that types from schema C are not referenceable from schema A. I agree with Xerces. However, I have a customer who is using XMLSpy which does not complain about this. So, what is the correct interpretation? Thanks, Jeehong --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Aug 04 17:15:14 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77066 invoked from network); 4 Aug 2004 17:15:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 4 Aug 2004 17:15:14 -0000 Received: (qmail 70348 invoked by uid 500); 4 Aug 2004 13:46:46 -0000 Delivered-To: [email protected] Received: (qmail 70320 invoked by uid 500); 4 Aug 2004 13:46:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 70298 invoked by uid 99); 4 Aug 2004 13:46:44 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO e6.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Wed, 04 Aug 2004 06:46:41 -0700 Received: from northrelay02.pok.ibm.com (northrelay02.pok.ibm.com [161.129.204.104]) by e6.ny.us.ibm.com (8.12.10/8.12.9) with ESMTP id i74DkFnt645800 for <[email protected]>; Wed, 4 Aug 2004 09:46:15 -0400 Received: from d01mlwt1.watson.ibm.com (d01av02.pok.ibm.com [161.129.204.104]) by northrelay02.pok.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id i74DlOCu026072 for <[email protected]>; Wed, 4 Aug 2004 09:47:25 -0400 In-Reply-To: <[email protected]> Subject: RE: non-xml to xml using transformations To: [email protected] X-Mailer: Lotus Notes Release 6.0 September 26, 2002 Message-ID: <[email protected]> From: Joseph Kesselman <[email protected]> Date: Wed, 4 Aug 2004 09:35:44 -0400 X-MIMETrack: Serialize by Router on D01MLWT1/01/M/IBM(Build V70_M2_07222004 Beta 2NP|July 22, 2004) at 08/04/2004 09:46:13 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I believe the XNI examples included a "parser" for CSV (comma-separated value) files, which is probably an easier-to-read starting point than NekoHTML. ______________________________________ Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more. "The world changed profoundly and unpredictably the day Tim Berners Lee got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filk --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Aug 04 17:29:57 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87753 invoked from network); 4 Aug 2004 17:29:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 4 Aug 2004 17:29:56 -0000 Received: (qmail 7499 invoked by uid 500); 4 Aug 2004 14:37:54 -0000 Delivered-To: [email protected] Received: (qmail 7471 invoked by uid 500); 4 Aug 2004 14:37:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 7459 invoked by uid 99); 4 Aug 2004 14:37:50 -0000 X-ASF-Spam-Status: No, hits=2.3 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_20_30,HTML_IMAGE_ONLY_16,HTML_MESSAGE,MIME_BASE64_LATIN,MIME_BASE64_NO_NAME,MSGID_FROM_MTA_HEADER,WEIRD_QUOTING X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO rediffmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with SMTP; Wed, 04 Aug 2004 07:37:47 -0700 Received: (qmail 30776 invoked by uid 510); 4 Aug 2004 14:37:23 -0000 Date: 4 Aug 2004 14:37:23 -0000 Message-ID: <[email protected]> Received: from unknown (161.129.204.104) by rediffmail.com via HTTP; 04 aug 2004 14:37:23 -0000 MIME-Version: 1.0 From: "Satish Kumar" <[email protected]> Reply-To: "Satish Kumar" <[email protected]> To: [email protected] Cc: [email protected] Subject: Re: RE: non-xml to xml using transformations Content-type: multipart/mixed; boundary="Next_1091630243---0-161.129.204.104-30763" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --Next_1091630243---0-161.129.204.104-30763 Content-type: multipart/alternative; boundary="Next_1091630243---1-161.129.204.104-30763" This is a multipart mime message --Next_1091630243---1-161.129.204.104-30763 Content-type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline <P>=0AHai...<BR>=0A<BR>=0A&nbsp; Thaks for the reply....<BR>=0A<BR>=0A&nbs= p; I shall expalin to you clearly. I need to convert a Non-xml fiel to xml = file. On the process of conversion as my saxEvents are generated I use an x= slt to to the transformation and generate the xml output.<BR>=0A&nbsp; <BR>= =0A I ahve attached a saple piece of code..please go thru it. I have an abs= tract (AbstractXMLReader) class which has an abstract parse(inputsource in)= method. I extend this abstract class in my CSVParser which is used the pars= e the comma seperated non-xml file.As this class genetres the SAXEvents i u= se my transformer(SimpleCSVProcessor) class which has an xsl to do the tran= sformations. The transformer transforms and genetares an XML file.<BR>=0A<B= R>=0AWhen I execute the program I dont get the output.&nbsp; I have provide= d the code wirtten as an attachement. can you please let me know if there a= re any mistakes. My aim is to geneterate and XML {{{{ while reading the non= -xml file and as SAX Events are generated I want the transformation to happ= en and produce an xml output. }}}} Plz revert back immediatel as possible a= s it is very urgent.<BR>=0A<BR>=0A<BR>=0Argds,<BR>=0Asatish=0A</P>=0A<br><b= r>=0A<A target=3D"_blank" HREF=3D"http://clients.rediff.com/signature/track= _sig.asp"><IMG SRC=3D"http://ads.rediff.com/RealMedia/ads/adstream_nx.cgi/w= ww.rediffmail.com/inbox.htm@Bottom" BORDER=3D0 VSPACE=3D0 HSPACE=3D0></a>=0A --Next_1091630243---1-161.129.204.104-30763 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hai...=0A=0A Thaks for the reply....=0A=0A I shall expalin to you clearl= y. I need to convert a Non-xml fiel to xml file. On the process of conversi= on as my saxEvents are generated I use an xslt to to the transformation and= generate the xml output.=0A =0A I ahve attached a saple piece of code..pl= ease go thru it. I have an abstract (AbstractXMLReader) class which has an = abstract parse(inputsource in)method. I extend this abstract class in my CS= VParser which is used the parse the comma seperated non-xml file.As this cl= ass genetres the SAXEvents i use my transformer(SimpleCSVProcessor) class w= hich has an xsl to do the transformations. The transformer transforms and g= enetares an XML file.=0A=0AWhen I execute the program I dont get the output= . I have provided the code wirtten as an attachement. can you please let m= e know if there are any mistakes. My aim is to geneterate and XML {{{{ whil= e reading the non-xml file and as SAX Events are generated I want the trans= formation to happen and produce an xml output. }}}} Plz revert back immedia= tel as possible as it is very urgent.=0A=0A=0Argds,=0Asatish --Next_1091630243---1-161.129.204.104-30763-- --Next_1091630243---0-161.129.204.104-30763 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="AbstractXMLReader.java" DQpwYWNrYWdlIHBhcnNlcjsNCg0KaW1wb3J0IGphdmEuaW8uSU9FeGNlcHRpb247DQppbXBv cnQgamF2YS51dGlsLkhhc2hNYXA7DQppbXBvcnQgamF2YS51dGlsLk1hcDsNCg0KaW1wb3J0 IG9yZy54bWwuc2F4LkNvbnRlbnRIYW5kbGVyOw0KaW1wb3J0IG9yZy54bWwuc2F4LkRUREhh bmRsZXI7DQppbXBvcnQgb3JnLnhtbC5zYXguRW50aXR5UmVzb2x2ZXI7DQppbXBvcnQgb3Jn LnhtbC5zYXguRXJyb3JIYW5kbGVyOw0KaW1wb3J0IG9yZy54bWwuc2F4LklucHV0U291cmNl Ow0KaW1wb3J0IG9yZy54bWwuc2F4LlNBWEV4Y2VwdGlvbjsNCmltcG9ydCBvcmcueG1sLnNh eC5TQVhOb3RSZWNvZ25pemVkRXhjZXB0aW9uOw0KaW1wb3J0IG9yZy54bWwuc2F4LlNBWE5v dFN1cHBvcnRlZEV4Y2VwdGlvbjsNCg0KcHVibGljIGFic3RyYWN0IGNsYXNzIEFic3RyYWN0 WE1MUmVhZGVyCWltcGxlbWVudHMgb3JnLnhtbC5zYXguWE1MUmVhZGVyIHsNCgkJcHJpdmF0 ZSBNYXAgZmVhdHVyZU1hcCA9IG5ldyBIYXNoTWFwKCAgKTsNCgkJcHJpdmF0ZSBNYXAgcHJv cGVydHlNYXAgPSBuZXcgSGFzaE1hcCggICk7DQoJCXByaXZhdGUgRW50aXR5UmVzb2x2ZXIg ZW50aXR5UmVzb2x2ZXI7DQoJCXByaXZhdGUgRFRESGFuZGxlciBkdGRIYW5kbGVyOw0KCQlw cm90ZWN0ZWQgQ29udGVudEhhbmRsZXIgY2g7DQoJCXByaXZhdGUgRXJyb3JIYW5kbGVyIGVy cm9ySGFuZGxlcjsNCgkJcHJpdmF0ZSBTdHJpbmcgY29uZmlndXJhdGlvbjsNCg0KCQkvKioN CgkJICogVGhlIG9ubHkgYWJzdHJhY3QgbWV0aG9kIGluIHRoaXMgY2xhc3MuIERlcml2ZWQg Y2xhc3Nlcw0KCQkgKiBjYW4gcGFyc2UgYW55IHNvdXJjZSBvZiBkYXRhIGFuZCBlbWl0IFNB WDIgZXZlbnRzIHRvIHRoZQ0KCQkgKiBDb250ZW50SGFuZGxlci4NCgkJICovDQoJCXB1Ymxp YyBhYnN0cmFjdCB2b2lkIHBhcnNlKElucHV0U291cmNlIGlucHV0KQ0KCQkJCQl0aHJvd3Mg SU9FeGNlcHRpb24sDQoJCQkJU0FYRXhjZXB0aW9uOw0KDQoJCXB1YmxpYyBib29sZWFuIGdl dEZlYXR1cmUoU3RyaW5nIG5hbWUpDQoJCQkJdGhyb3dzIFNBWE5vdFJlY29nbml6ZWRFeGNl cHRpb24sDQoJCQkJCVNBWE5vdFN1cHBvcnRlZEV4Y2VwdGlvbiB7DQoJCQlCb29sZWFuIGZl YXR1cmVWYWx1ZSA9IChCb29sZWFuKSB0aGlzLmZlYXR1cmVNYXAuZ2V0KG5hbWUpOw0KCQkJ cmV0dXJuIChmZWF0dXJlVmFsdWUgPT0gbnVsbCkgPyBmYWxzZQ0KCQkJCQk6IGZlYXR1cmVW YWx1ZS5ib29sZWFuVmFsdWUoICApOw0KCQl9DQoNCgkJcHVibGljIHZvaWQgc2V0RmVhdHVy ZShTdHJpbmcgbmFtZSwgYm9vbGVhbiB2YWx1ZSkNCgkJCQl0aHJvd3MgU0FYTm90UmVjb2du aXplZEV4Y2VwdGlvbiwNCgkJCQkJU0FYTm90U3VwcG9ydGVkRXhjZXB0aW9uIHsNCgkJCXRo aXMuZmVhdHVyZU1hcC5wdXQobmFtZSwgbmV3IEJvb2xlYW4odmFsdWUpKTsNCgkJfQ0KDQoJ CXB1YmxpYyBPYmplY3QgZ2V0UHJvcGVydHkoU3RyaW5nIG5hbWUpDQoJCQkJdGhyb3dzIFNB WE5vdFJlY29nbml6ZWRFeGNlcHRpb24sDQoJCQkJCVNBWE5vdFN1cHBvcnRlZEV4Y2VwdGlv biB7DQoJCQlyZXR1cm4gdGhpcy5wcm9wZXJ0eU1hcC5nZXQobmFtZSk7DQoJCX0NCg0KCQlw dWJsaWMgdm9pZCBzZXRQcm9wZXJ0eShTdHJpbmcgbmFtZSwgT2JqZWN0IHZhbHVlKQ0KCQkJ CXRocm93cyBTQVhOb3RSZWNvZ25pemVkRXhjZXB0aW9uLA0KCQkJCQlTQVhOb3RTdXBwb3J0 ZWRFeGNlcHRpb24gew0KCQkJdGhpcy5wcm9wZXJ0eU1hcC5wdXQobmFtZSwgdmFsdWUpOw0K CQl9DQoNCgkJcHVibGljIHZvaWQgc2V0RW50aXR5UmVzb2x2ZXIoRW50aXR5UmVzb2x2ZXIg ZW50aXR5UmVzb2x2ZXIpIHsNCgkJCXRoaXMuZW50aXR5UmVzb2x2ZXIgPSBlbnRpdHlSZXNv bHZlcjsNCgkJfQ0KDQoJCXB1YmxpYyBFbnRpdHlSZXNvbHZlciBnZXRFbnRpdHlSZXNvbHZl ciggICkgew0KCQkJcmV0dXJuIHRoaXMuZW50aXR5UmVzb2x2ZXI7DQoJCX0NCg0KCQlwdWJs aWMgdm9pZCBzZXREVERIYW5kbGVyKERUREhhbmRsZXIgZHRkSGFuZGxlcikgew0KCQkJdGhp cy5kdGRIYW5kbGVyID0gZHRkSGFuZGxlcjsNCgkJfQ0KDQoJCXB1YmxpYyBEVERIYW5kbGVy IGdldERUREhhbmRsZXIoICApIHsNCgkJCXJldHVybiB0aGlzLmR0ZEhhbmRsZXI7DQoJCX0N Cg0KCQlwdWJsaWMgdm9pZCBzZXRDb250ZW50SGFuZGxlcihDb250ZW50SGFuZGxlciBjb250 ZW50SGFuZGxlcikgew0KCQkJdGhpcy5jaCA9IGNvbnRlbnRIYW5kbGVyOw0KCQl9DQoNCgkJ cHVibGljIENvbnRlbnRIYW5kbGVyIGdldENvbnRlbnRIYW5kbGVyKCAgKSB7DQoJCQlyZXR1 cm4gdGhpcy5jaDsNCgkJfQ0KDQoJCXB1YmxpYyB2b2lkIHNldEVycm9ySGFuZGxlcihFcnJv ckhhbmRsZXIgZXJyb3JIYW5kbGVyKSB7DQoJCQl0aGlzLmVycm9ySGFuZGxlciA9IGVycm9y SGFuZGxlcjsNCgkJfQ0KDQoJCXB1YmxpYyBFcnJvckhhbmRsZXIgZ2V0RXJyb3JIYW5kbGVy KCAgKSB7DQoJCQlyZXR1cm4gdGhpcy5lcnJvckhhbmRsZXI7DQoJCX0NCg0KCQlwdWJsaWMg dm9pZCBzZXRDb25maWcoU3RyaW5nIGNvbmZpZykNCgkJew0KCQkJdGhpcy5jb25maWd1cmF0 aW9uID0gY29uZmlnOw0KCQl9DQoNCgkJcHJvdGVjdGVkIFN0cmluZyBnZXRDb25maWcoKQ0K CQl7DQoJCQlyZXR1cm4gdGhpcy5jb25maWd1cmF0aW9uOw0KCQl9DQoNCgkJcHVibGljIHZv aWQgcGFyc2UoU3RyaW5nIHN5c3RlbUlkKSB0aHJvd3MgSU9FeGNlcHRpb24sDQoJCQlTQVhF eGNlcHRpb24gew0KCQkJcGFyc2UobmV3IElucHV0U291cmNlKHN5c3RlbUlkKSk7DQoJCX0N CgkJCQkNCgl9DQoNCg0K --Next_1091630243---0-161.129.204.104-30763 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="CSVParser.java" DQpwYWNrYWdlIHBhcnNlcjsNCg0KaW1wb3J0IGphdmEuaW8uQnVmZmVyZWRSZWFkZXI7DQpp bXBvcnQgamF2YS5pby5SZWFkZXI7DQppbXBvcnQgamF2YS5pby5JT0V4Y2VwdGlvbjsNCmlt cG9ydCBqYXZhLmlvLklucHV0U3RyZWFtUmVhZGVyOw0KaW1wb3J0IGphdmEuaW8uVW5zdXBw b3J0ZWRFbmNvZGluZ0V4Y2VwdGlvbjsNCmltcG9ydCBqYXZhLm5ldC5VUkw7DQppbXBvcnQg b3JnLnhtbC5zYXguQXR0cmlidXRlczsNCmltcG9ydCBvcmcueG1sLnNheC5Db250ZW50SGFu ZGxlcjsNCmltcG9ydCBvcmcueG1sLnNheC5JbnB1dFNvdXJjZTsNCmltcG9ydCBvcmcueG1s LnNheC5TQVhFeGNlcHRpb247DQppbXBvcnQgb3JnLnhtbC5zYXguaGVscGVycy5BdHRyaWJ1 dGVzSW1wbDsNCg0KcHVibGljIGNsYXNzIEFic3RyYWN0UGFyc2VyIGV4dGVuZHMgQWJzdHJh Y3RYTUxSZWFkZXJ7DQoJDQoJCXByaXZhdGUgc3RhdGljIGZpbmFsIEF0dHJpYnV0ZXMgRU1Q VFlfQVRUUj1uZXcgQXR0cmlidXRlc0ltcGwoKTsNCgkJcHJpdmF0ZSBzdGF0aWMgZmluYWwg U3RyaW5nIGVuY29kaW5nID0gIlVURi04IjsNCgkJCQ0KCQlwdWJsaWMgdm9pZCBwYXJzZShJ bnB1dFNvdXJjZSBpbikgdGhyb3dzIFNBWEV4Y2VwdGlvbiwgSU9FeGNlcHRpb24gew0KCQkJ CUNvbnRlbnRIYW5kbGVyIGNoPWdldENvbnRlbnRIYW5kbGVyKCk7DQoJCQkJaWYgKGNoPT1u dWxsKXsNCgkJCQkJU3lzdGVtLm91dC5wcmludGxuKCJDb250ZW50IEhhbmRsZXIgTm90IFJl Z2lzdGVyZWQiKTsNCgkJCQkJcmV0dXJuOw0KCQkJCX0NCg0KCQkJCUJ1ZmZlcmVkUmVhZGVy IGJyPW51bGw7DQoJCQkJaWYoaW4uZ2V0Q2hhcmFjdGVyU3RyZWFtKCkhPW51bGwpew0KCQkJ CQlicj1uZXcgQnVmZmVyZWRSZWFkZXIoaW4uZ2V0Q2hhcmFjdGVyU3RyZWFtKCkpOw0KCQkJ CX1lbHNlIGlmKGluLmdldEJ5dGVTdHJlYW0oKSAhPSBudWxsKXsNCgkJCQkJYnI9bmV3IEJ1 ZmZlcmVkUmVhZGVyKG5ldyBJbnB1dFN0cmVhbVJlYWRlcihpbi5nZXRCeXRlU3RyZWFtKCkp KTsNCgkJCQl9ZWxzZSBpZihpbi5nZXRTeXN0ZW1JZCgpICE9bnVsbCl7DQoJCQkJCVVSTCB1 cmw9bmV3IFVSTChpbi5nZXRTeXN0ZW1JZCgpKTsNCgkJCQkJYnI9bmV3IEJ1ZmZlcmVkUmVh ZGVyKG5ldyBJbnB1dFN0cmVhbVJlYWRlcih1cmwub3BlblN0cmVhbSgpKSk7DQoJCQkJfWVs c2V7DQoJCQkJCXRocm93IG5ldyBTQVhFeGNlcHRpb24oIkludmFsaWQgSW5wdXRTb3VyY2Ug Iik7DQoJCQkJfQ0KCQkNCgkJCQkNCgkJCQkNCgkJCQljaC5zdGFydERvY3VtZW50KCAgKTsN CgkJCQlTeXN0ZW0ub3V0LnByaW50bG4oInN0YXJ0Iik7DQoJCQkJY2guc3RhcnRFbGVtZW50 KCIiLCIiLCJjc3YiLEVNUFRZX0FUVFIpOw0KCQkJCVN0cmluZyBjdXJMaW5lID0gbnVsbDsN CgkJCQl3aGlsZSAoKGN1ckxpbmUgPSBici5yZWFkTGluZSggICkpICE9IG51bGwpIHsNCgkJ CQljdXJMaW5lID0gY3VyTGluZS50cmltKCAgKTsNCgkJCQkJaWYgKGN1ckxpbmUubGVuZ3Ro KCAgKSA+IDApIHsNCgkJCQkJCWNoLnN0YXJ0RWxlbWVudCgiIiwiIiwibGluZSIsRU1QVFlf QVRUUik7DQoJCQkJCQlwYXJzZUxpbmUoY3VyTGluZSwgY2gpOw0KCQkJCQkJY2guZW5kRWxl bWVudCgiIiwiIiwibGluZSIpOw0KCQkJCQl9DQoJCQkJfQ0KCQkJCWNoLmVuZEVsZW1lbnQo IiIsIiIsImNzdkZpbGUiKTsNCgkJCQljaC5lbmREb2N1bWVudCggICk7DQoJCQkJfQ0KCQkg DQoJCQkJcHJpdmF0ZSB2b2lkIHBhcnNlTGluZShTdHJpbmcgY3VyTGluZSwgQ29udGVudEhh bmRsZXIgY2gpDQoJCQkJICAgICAgICB0aHJvd3MgSU9FeGNlcHRpb24sIFNBWEV4Y2VwdGlv biB7DQoNCgkJCQkgICAgICAgIFN0cmluZyBmaXJzdFRva2VuID0gbnVsbDsNCgkJCQkgICAg ICAgIFN0cmluZyByZW1haW5kZXJPZkxpbmUgPSBudWxsOw0KCQkJCSAgICAgICAgaW50IGNv bW1hSW5kZXggPSBsb2NhdGVGaXJzdERlbGltaXRlcihjdXJMaW5lKTsNCgkJCQkgICAgICAg IGlmIChjb21tYUluZGV4ID4gLTEpIHsNCgkJCQkgICAgICAgICAgICBmaXJzdFRva2VuID0g Y3VyTGluZS5zdWJzdHJpbmcoMCwgY29tbWFJbmRleCkudHJpbSggICk7DQoJCQkJICAgICAg ICAgICAgcmVtYWluZGVyT2ZMaW5lID0gY3VyTGluZS5zdWJzdHJpbmcoY29tbWFJbmRleCsx KS50cmltKCAgKTsNCgkJCQkgICAgICAgIH0gZWxzZSB7DQoJCQkJICAgICAgICAJZmlyc3RU b2tlbiA9IGN1ckxpbmU7DQoJCQkJICAgICAgICB9DQoJCQkJIAkJICAgICAgICANCgkJCQkg ICAgICAgIGZpcnN0VG9rZW4gPSBjbGVhbnVwUXVvdGVzKGZpcnN0VG9rZW4pOw0KCQkJCSAg ICAgICAgY2guc3RhcnRFbGVtZW50KCIiLCIiLCJ2YWx1ZSIsRU1QVFlfQVRUUik7DQoJCQkJ ICAgICAgICBjaC5jaGFyYWN0ZXJzKGZpcnN0VG9rZW4udG9DaGFyQXJyYXkoKSwgMCwgZmly c3RUb2tlbi5sZW5ndGgoICApKTsNCgkJCQkgICAgICAgIGNoLmVuZEVsZW1lbnQoIiIsIiIs InZhbHVlIik7DQoJCQkJIA0KCQkJCSAgICAgICAgIGlmIChyZW1haW5kZXJPZkxpbmUgIT0g bnVsbCkgew0KCQkJCSAgICAgICAgICAgIHBhcnNlTGluZShyZW1haW5kZXJPZkxpbmUsIGNo KTsNCgkJCQkgICAgICAgIH0NCgkJCQkgICAgfQ0KCQkJCSANCgkJCQkgcHJpdmF0ZSBpbnQg bG9jYXRlRmlyc3REZWxpbWl0ZXIoU3RyaW5nIGN1ckxpbmUpIHsNCgkJCQkgICAgICAgIGlm IChjdXJMaW5lLnN0YXJ0c1dpdGgoIlwiIikpIHsNCgkJCQkgICAgICAgICAgICBib29sZWFu IGluUXVvdGUgPSB0cnVlOw0KCQkJCSAgICAgICAgICAgIGludCBudW1DaGFycyA9IGN1ckxp bmUubGVuZ3RoKCAgKTsNCgkJCQkgICAgICAgICAgICBmb3IgKGludCBpPTE7IGk8bnVtQ2hh cnM7IGkrKykgew0KCQkJCSAgICAgICAgICAgICAgICBjaGFyIGN1ckNoYXIgPSBjdXJMaW5l LmNoYXJBdChpKTsNCgkJCQkgICAgICAgICAgICAgICAgaWYgKGN1ckNoYXIgPT0gJyInKSB7 DQoJCQkJICAgICAgICAgICAgICAgICAgICBpblF1b3RlID0gIWluUXVvdGU7DQoJCQkJICAg ICAgICAgICAgICAgIH0gZWxzZSBpZiAoY3VyQ2hhciA9PSAnLCcgJiYgIWluUXVvdGUpIHsN CgkJCQkgICAgICAgICAgICAgICAgICAgIHJldHVybiBpOw0KCQkJCSAgICAgICAgICAgICAg ICB9DQoJCQkJICAgICAgICAgICAgfQ0KCQkJCSAgICAgICAgICAgIHJldHVybiAtMTsNCgkJ CQkgICAgICAgIH0gZWxzZSB7DQoJCQkJICAgICAgICAgICAgcmV0dXJuIGN1ckxpbmUuaW5k ZXhPZignLCcpOw0KCQkJCSAgICAgICAgfQ0KCQkJCSAgICB9DQoJCQkJIA0KCQkJCSBwcml2 YXRlIFN0cmluZyBjbGVhbnVwUXVvdGVzKFN0cmluZyB0b2tlbikgew0KCQkJCSAgICAgICAg U3RyaW5nQnVmZmVyIGJ1ZiA9IG5ldyBTdHJpbmdCdWZmZXIoICApOw0KCQkJCSAgICAgICAg aW50IGxlbmd0aCA9IHRva2VuLmxlbmd0aCggICk7DQoJCQkJICAgICAgICBpbnQgY3VySW5k ZXggPSAwOw0KCQkJCSANCgkJCQkgICAgICAgIGlmICh0b2tlbi5zdGFydHNXaXRoKCJcIiIp ICYmIHRva2VuLmVuZHNXaXRoKCJcIiIpKSB7DQoJCQkJICAgICAgICAgICAgY3VySW5kZXgg PSAxOw0KCQkJCSAgICAgICAgICAgIGxlbmd0aC0tOw0KCQkJCSAgICAgICAgfQ0KCQkJCSAN CgkJCQkgICAgICAgIGJvb2xlYW4gb25lUXVvdGVGb3VuZCA9IGZhbHNlOw0KCQkJCSAgICAg ICAgYm9vbGVhbiB0d29RdW90ZXNGb3VuZCA9IGZhbHNlOw0KCQkJCSANCgkJCQkgICAgICAg IHdoaWxlIChjdXJJbmRleCA8IGxlbmd0aCkgew0KCQkJCSAgICAgICAgICAgIGNoYXIgY3Vy Q2hhciA9IHRva2VuLmNoYXJBdChjdXJJbmRleCk7DQoJCQkJICAgICAgICAgICAgaWYgKGN1 ckNoYXIgPT0gJyInKSB7DQoJCQkJICAgICAgICAgICAgICAgIHR3b1F1b3Rlc0ZvdW5kID0g KG9uZVF1b3RlRm91bmQpID8gdHJ1ZSA6IGZhbHNlOw0KCQkJCSAgICAgICAgICAgICAgICBv bmVRdW90ZUZvdW5kID0gdHJ1ZTsNCgkJCQkgICAgICAgICAgICB9IGVsc2Ugew0KCQkJCSAg ICAgICAgICAgICAgICBvbmVRdW90ZUZvdW5kID0gZmFsc2U7DQoJCQkJICAgICAgICAgICAg ICAgIHR3b1F1b3Rlc0ZvdW5kID0gZmFsc2U7DQoJCQkJICAgICAgICAgICAgfQ0KCQkJCSAN CgkJCQkgICAgICAgICAgICBpZiAodHdvUXVvdGVzRm91bmQpIHsNCgkJCQkgICAgICAgICAg ICAgICAgdHdvUXVvdGVzRm91bmQgPSBmYWxzZTsNCgkJCQkgICAgICAgICAgICAgICAgb25l UXVvdGVGb3VuZCA9IGZhbHNlOw0KCQkJCSAgICAgICAgICAgICAgICBjdXJJbmRleCsrOw0K CQkJCSAgICAgICAgICAgICAgICBjb250aW51ZTsNCgkJCQkgICAgICAgICAgICB9DQoJCQkJ IA0KCQkJCSAgICAgICAgICAgIGJ1Zi5hcHBlbmQoY3VyQ2hhcik7DQoJCQkJICAgICAgICAg ICAgY3VySW5kZXgrKzsNCgkJCQkgICAgICAgIH0NCgkJCQkgDQoJCQkJICAgICAgICByZXR1 cm4gYnVmLnRvU3RyaW5nKCAgKTsNCgkJCQkgICAgfQ0KCQkJCQkJDQoJCX0NCgkJDQo= --Next_1091630243---0-161.129.204.104-30763 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="SimpleCSVProcessor.java" DQpwYWNrYWdlIHBhcnNlcjsNCg0KaW1wb3J0IGphdmEuaW8uRmlsZTsNCmltcG9ydCBqYXZh LmlvLkZpbGVSZWFkZXI7DQppbXBvcnQgamF2YXgueG1sLnRyYW5zZm9ybS5UcmFuc2Zvcm1l ckZhY3Rvcnk7DQppbXBvcnQgamF2YXgueG1sLnRyYW5zZm9ybS5zYXguU0FYVHJhbnNmb3Jt ZXJGYWN0b3J5Ow0KaW1wb3J0IGphdmF4LnhtbC50cmFuc2Zvcm0uc2F4LlRyYW5zZm9ybWVy SGFuZGxlcjsNCmltcG9ydCBqYXZheC54bWwudHJhbnNmb3JtLnN0cmVhbS5TdHJlYW1SZXN1 bHQ7DQppbXBvcnQgamF2YXgueG1sLnRyYW5zZm9ybS5zdHJlYW0uU3RyZWFtU291cmNlOw0K DQppbXBvcnQgb3JnLnhtbC5zYXguSW5wdXRTb3VyY2U7DQoNCnB1YmxpYyBjbGFzcyBTaW1w bGVDU1ZQcm9jZXNzb3Igew0KCSANCgkgICAgcHVibGljIHN0YXRpYyB2b2lkIG1haW4oU3Ry aW5nW10gYXJncykgdGhyb3dzIEV4Y2VwdGlvbiB7DQoJICAgICAgICBpZiAoYXJncy5sZW5n dGggPT0gMCkgew0KCSAgICAgICAgICAgIFN5c3RlbS5lcnIucHJpbnRsbigiVXNhZ2U6IGph dmEgIg0KCSAgICAgICAgICAgICAgICAgICAgKyBTaW1wbGVDU1ZQcm9jZXNzb3IuY2xhc3Mu Z2V0TmFtZSggICkNCgkgICAgICAgICAgICAgICAgICAgICsgIiA8Y3N2RmlsZT4gW3hzbHRG aWxlXSIpOw0KCSAgICAgICAgICAgIFN5c3RlbS5lcnIucHJpbnRsbigiIC0gY3N2RmlsZSBp cyByZXF1aXJlZCIpOw0KCSAgICAgICAgICAgIFN5c3RlbS5lcnIucHJpbnRsbigiIC0geHNs dEZpbGUgaXMgb3B0aW9uYWwiKTsNCgkgICAgICAgICAgICBTeXN0ZW0uZXhpdCgxKTsNCgkg ICAgICAgIH0NCgkgDQoJICAgICAgICBTdHJpbmcgY3N2RmlsZU5hbWUgPSBhcmdzWzBdOw0K CSAgICAgICAgU3RyaW5nIHhzbHRGaWxlTmFtZSA9IChhcmdzLmxlbmd0aCA+IDEpID8gYXJn c1sxXSA6IG51bGw7DQoJIA0KCSAgICAgICAgVHJhbnNmb3JtZXJGYWN0b3J5IHRyYW5zRmFj dCA9IFRyYW5zZm9ybWVyRmFjdG9yeS5uZXdJbnN0YW5jZSggICk7DQoJICAgICAgICBpZiAo dHJhbnNGYWN0LmdldEZlYXR1cmUoU0FYVHJhbnNmb3JtZXJGYWN0b3J5LkZFQVRVUkUpKSB7 DQoJICAgICAgICAgICAgU0FYVHJhbnNmb3JtZXJGYWN0b3J5IHNheFRyYW5zRmFjdCA9DQoJ ICAgICAgICAgICAgICAgICAgICAoU0FYVHJhbnNmb3JtZXJGYWN0b3J5KSB0cmFuc0ZhY3Q7 DQoJICAgICAgICAgICAgVHJhbnNmb3JtZXJIYW5kbGVyIHRyYW5zSGFuZCA9IG51bGw7DQoJ ICAgICAgICAgICAgaWYgKHhzbHRGaWxlTmFtZSA9PSBudWxsKSB7DQoJICAgICAgICAgICAg ICAgIHRyYW5zSGFuZCA9IHNheFRyYW5zRmFjdC5uZXdUcmFuc2Zvcm1lckhhbmRsZXIoICAp Ow0KCSAgICAgICAgICAgIH0gZWxzZSB7DQoJICAgICAgICAgICAgICAgIHRyYW5zSGFuZCA9 IHNheFRyYW5zRmFjdC5uZXdUcmFuc2Zvcm1lckhhbmRsZXIoDQoJICAgICAgICAgICAgICAg ICAgICAgICAgbmV3IFN0cmVhbVNvdXJjZShuZXcgRmlsZSh4c2x0RmlsZU5hbWUpKSk7DQoJ ICAgICAgICAgICAgfQ0KCSAgICAgICAgICAgIHRyYW5zSGFuZC5zZXRSZXN1bHQobmV3IFN0 cmVhbVJlc3VsdChTeXN0ZW0ub3V0KSk7DQoJICAgICAgICAgICAgQWJzdHJhY3RQYXJzZXIg Y3N2UmVhZGVyID0gbmV3IEFic3RyYWN0UGFyc2VyKCAgKTsNCgkgICAgICAgICAgICBJbnB1 dFNvdXJjZSBjc3ZJbnB1dFNyYyA9IG5ldyBJbnB1dFNvdXJjZShuZXcgRmlsZVJlYWRlcihj c3ZGaWxlTmFtZSkpOw0KCSAgICAgICAgICAgIGNzdlJlYWRlci5zZXRDb250ZW50SGFuZGxl cih0cmFuc0hhbmQpOw0KCSAgICAgICAgICAgIGNzdlJlYWRlci5wYXJzZShjc3ZJbnB1dFNy Yyk7DQoJICAgICAgICB9IGVsc2Ugew0KCSAgICAgICAgICAgIFN5c3RlbS5lcnIucHJpbnRs bigiU0FYVHJhbnNmb3JtZXJGYWN0b3J5IGlzIG5vdCBzdXBwb3J0ZWQuIik7DQoJICAgICAg ICAgICAgU3lzdGVtLmV4aXQoMSk7DQoJICAgICAgICB9DQoJICAgIH0NCgl9DQoNCg== --Next_1091630243---0-161.129.204.104-30763 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --Next_1091630243---0-161.129.204.104-30763-- From [email protected] Wed Aug 04 18:18:03 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26968 invoked from network); 4 Aug 2004 18:18:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 4 Aug 2004 18:18:02 -0000 Received: (qmail 49594 invoked by uid 500); 4 Aug 2004 17:43:03 -0000 Delivered-To: [email protected] Received: (qmail 49546 invoked by uid 500); 4 Aug 2004 17:43:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 49525 invoked by uid 99); 4 Aug 2004 17:43:02 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=NO_OBLIGATION X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO dove.parasoft.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Wed, 04 Aug 2004 10:42:58 -0700 Received: from trout ([161.129.204.104]) by dove.parasoft.com (Post.Office MTA v3.5.3 release 223 ID# 0-71795U1300L200S0V35) with SMTP id com for <[email protected]>; Wed, 4 Aug 2004 10:43:36 -0700 Message-ID: <[email protected]> From: [email protected] (Jeehong Min) To: <[email protected]> References: <[email protected]> Subject: Re: scope of import Date: Wed, 4 Aug 2004 10:42:31 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Xerces developers and users, I would like to get your feedback on this. I think that if both Xerces and XMLSpy are behaving in an acceptable manner, as James says below, then we have a serious interoperability [email protected]. Suppose someone deploying a web service uses XMLSpy to manage and edit their WSDLs and schemas, and he has the import structure that I described in the original email. As far as they know, the WSDLs and schemas have no problem. Now, suppose someone has a web service client that uses Xerces under the hood to parse the schemas. The WSDL and schemas created/edited by XMLSpy are no longer interoperable with Xerces parser. - Jeehong ----- Original Message ----- From: "James Bates" <[email protected]> To: <[email protected]> Sent: Wednesday, August 04, 2004 2:41 AM Subject: RE: scope of import I just read (again) section 4.2.3 of the W3C XML Schema specification (part I). Although the issue is not directly addressed (concatenation of imports), I have the *impression* that it Xerces is entitled to require that any references to schema components in other namespaces be accompanied by an appropriate <xs:import> element (in the original referencing schema). Indeed, the <xs:import> instruction seems to do no more that import the schema *components*, and in fact "... components to be imported need not be in the form of a schema document; the processor is free to access or construct components using means of its own choosing." [end of third paragraph, section 4.2.3] I therefore see no obligation for a schema processor to take into account <xs:import> elements in the stylesheet that's being imported. On the other hand, I also do not find any obligation for a processor to require (as Xerces does) that references to schema components from a foreign namespace be accompanied by an explicit <xs:import> in the original stylesheet. In other words, the XMLSpy behaviour also seems acceptable. From the point of view of the XML Schema specification, XMLSpy is simply using a different means than the available <xs:import> instruction to discover the definition of referenced schema components from a different namespace. (Namely it is using the xs:import elements inside other referenced schema's). Conclusion: both are behaving in an acceptable manner? My conclusion is a cautious one though, as the relevant text in the specification does not address cascading import elements directly... James -----Original Message----- From: Jeehong Min [mailto:[email protected]] Sent: 31 July 2004 03:56 To: [email protected] Subject: scope of import All, Just wanted to verify correct behavior in Xerces. Suppose I have 3 schemas, with namespaces A, B, and C. Schema A imports only schema B. Schema B imports schema C. Is it legal for schema A to use a type from schema C? Xerces says no, saying that types from schema C are not referenceable from schema A. I agree with Xerces. However, I have a customer who is using XMLSpy which does not complain about this. So, what is the correct interpretation? Thanks, Jeehong --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Aug 04 19:54:56 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97958 invoked from network); 4 Aug 2004 19:54:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 4 Aug 2004 19:54:56 -0000 Received: (qmail 21197 invoked by uid 500); 4 Aug 2004 19:54:45 -0000 Delivered-To: [email protected] Received: (qmail 21145 invoked by uid 500); 4 Aug 2004 19:54:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 21133 invoked by uid 99); 4 Aug 2004 19:54:44 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=NO_OBLIGATION X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO stag.seas.upenn.edu) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Wed, 04 Aug 2004 12:54:41 -0700 Received: from lvn513pc6.cis.upenn.edu (LVN513PC6.cis.upenn.edu [161.129.204.104]) by stag.seas.upenn.edu (8.12.10/8.12.10) with ESMTP id i74JsclG011657 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT) for <[email protected]>; Wed, 4 Aug 2004 15:54:38 -0400 Received: from lvn513pc6.cis.upenn.edu (localhost.upenn.edu [161.129.204.104]) by lvn513pc6.cis.upenn.edu (8.12.10/8.12.8) with ESMTP id i74Jsb72009084 for <[email protected]>; Wed, 4 Aug 2004 15:54:38 -0400 Received: from localhost (nikhild@localhost) by lvn513pc6.cis.upenn.edu (8.12.10/8.12.8/Submit) with ESMTP id i74JsbrI009081 for <[email protected]>; Wed, 4 Aug 2004 15:54:37 -0400 Date: Wed, 4 Aug 2004 15:54:37 -0400 (EDT) From: Nikhil Dinesh <[email protected]> To: [email protected] Subject: Re: scope of import In-Reply-To: <[email protected]> Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is actually a very hard problem to resolve. If recursive imports were supported, then you would most likely agree that the imports should be loaded dynamically ie the validity of the schema and the instance document is something that can be determined only at run time. Otherwise cases may be constructed that would cause any processor to crash. Now section 4.1 requires "...that there be no side effects of such dynamic aquistion that cause the result of assessment to differ from that which would have been obtained from the same schema components acquired in bulk." To return to your example: a imports b b imports c Now suppose d imports a and c' (where c' has the same namespace as c but it refers to a different schema. And assume for the sake of argument that it has a type with the same name as that in c). Suppose d defines a derived type of some element in "a". So it is possible to use it in a schema instance of type "a". Now suppose we want to use the type in "c" that has a name clash with "c'". This should result in an error saying that "c" is incorrect. But the document could be built in another order with "c" coming in first and then "c'". Then c' is in error. This could potentially be resolved by saying both schemas are in error. But a valid instance of "a" could be constructed where no types from c or c' be used and we cannot get the same behaviour as we would if the schemas were loaded in bulk because the processor has to behave dynamically. So the question is "Can dynamic acquisition be implemented without side effects?". If yes, then the spec is ambiguous as to which way to go. If not, then processors should not acquire it dynamically. -Nikhil On Wed, 4 Aug 2004, Jeehong Min wrote: > Xerces developers and users, > > I would like to get your feedback on this. I think that if both Xerces and > XMLSpy are behaving in an acceptable manner, as James says below, then we > have a serious interoperability [email protected]. Suppose someone deploying > a web service uses XMLSpy to manage and edit their WSDLs and schemas, and he > has the import structure that I described in the original email. As far as > they know, the WSDLs and schemas have no problem. Now, suppose someone has > a web service client that uses Xerces under the hood to parse the schemas. > The WSDL and schemas created/edited by XMLSpy are no longer interoperable > with Xerces parser. > > - Jeehong > > ----- Original Message ----- > From: "James Bates" <[email protected]> > To: <[email protected]> > Sent: Wednesday, August 04, 2004 2:41 AM > Subject: RE: scope of import > > > I just read (again) section 4.2.3 of the W3C XML Schema specification > (part I). Although the issue is not directly addressed (concatenation of > imports), I have the *impression* that it Xerces is entitled to require > that any references to schema components in other namespaces be > accompanied by an appropriate <xs:import> element (in the original > referencing schema). > > Indeed, the <xs:import> instruction seems to do no more that import the > schema *components*, and in fact "... components to be imported need not > be in the form of a schema document; the processor is free to access or > construct components using means of its own choosing." [end of third > paragraph, section 4.2.3] I therefore see no obligation for a schema > processor to take into account <xs:import> elements in the stylesheet > that's being imported. > > On the other hand, I also do not find any obligation for a processor to > require (as Xerces does) that references to schema components from a > foreign namespace be accompanied by an explicit <xs:import> in the > original stylesheet. In other words, the XMLSpy behaviour also seems > acceptable. From the point of view of the XML Schema specification, > XMLSpy is simply using a different means than the available <xs:import> > instruction to discover the definition of referenced schema components > from a different namespace. (Namely it is using the xs:import elements > inside other referenced schema's). > > Conclusion: both are behaving in an acceptable manner? My conclusion is > a cautious one though, as the relevant text in the specification does > not address cascading import elements directly... > > James > > > > -----Original Message----- > From: Jeehong Min [mailto:[email protected]] > Sent: 31 July 2004 03:56 > To: [email protected] > Subject: scope of import > > All, > > Just wanted to verify correct behavior in Xerces. > > Suppose I have 3 schemas, with namespaces A, B, and C. > Schema A imports only schema B. Schema B imports schema C. > Is it legal for schema A to use a type from schema C? > > Xerces says no, saying that types from schema C are not referenceable > from > schema A. I agree with Xerces. However, I have a customer who is using > XMLSpy which does not complain about this. > > So, what is the correct interpretation? > > Thanks, > > Jeehong > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Aug 05 09:40:55 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 75286 invoked from network); 5 Aug 2004 09:40:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 5 Aug 2004 09:40:55 -0000 Received: (qmail 59141 invoked by uid 500); 5 Aug 2004 09:40:49 -0000 Delivered-To: [email protected] Received: (qmail 59106 invoked by uid 500); 5 Aug 2004 09:40:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 59093 invoked by uid 99); 5 Aug 2004 09:40:49 -0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=NO_REAL_NAME,PRIORITY_NO_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO lnm4.bgs-ag.de) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Thu, 05 Aug 2004 02:40:48 -0700 Importance: Normal X-Priority: 3 (Normal) Subject: key/keyref problem: Bug or have I misunderstood the standard? To: [email protected] From: [email protected] Date: Thu, 5 Aug 2004 11:40:59 +0200 Message-ID: <[email protected]> X-MIMETrack: Serialize by Router on lnm4/mz/bgs-ag/de(Release 5.0.8 |June 18, 2001) at 05.08.2004 11:40:47 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I have a little problem with Xerces 2.6.2 and keyref's. According to my understanding of the standard, the line "<ref x="1" y="4"/>" in the sample XML file should produce an error. Bug or have I misunderstood the standard? Thanks for your help Sample XML file <?xml version="1.0" encoding="windows-1252"?> <test xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:test.xsd" > <value a="1" b="3"/> <value a="1" b="3"/> <value a="2" b="4"/> <ref x="1" y="3"/> <ref x="2" y="4"/> <ref x="1" y="4"/> </test> schema file <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="test" type="T_test"> <xs:key name="test_key"> <xs:selector xpath="value"/> <xs:field xpath="@a"/> <xs:field xpath="@b"/> </xs:key> <xs:keyref name="test_keyref" refer="test_key"> <xs:selector xpath="ref"/> <xs:field xpath="@x"/> <xs:field xpath="@y"/> </xs:keyref> </xs:element> <xs:complexType name="T_test"> <xs:sequence> <xs:element name="value" maxOccurs="unbounded"> <xs:complexType> <xs:complexContent> <xs:restriction base="xs:anyType"> <xs:attribute name="a" type="xs:string" use="required"/> <xs:attribute name="b" type="xs:string" use="required"/> </xs:restriction> </xs:complexContent> </xs:complexType> </xs:element> <xs:element name="ref" maxOccurs="unbounded"> <xs:complexType> <xs:complexContent> <xs:restriction base="xs:anyType"> <xs:attribute name="x" type="xs:string" use="required"/> <xs:attribute name="y" type="xs:string" use="required"/> </xs:restriction> </xs:complexContent> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:schema> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Aug 06 08:54:01 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94854 invoked from network); 6 Aug 2004 08:54:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 6 Aug 2004 08:54:00 -0000 Received: (qmail 72106 invoked by uid 500); 6 Aug 2004 08:53:55 -0000 Delivered-To: [email protected] Received: (qmail 72078 invoked by uid 500); 6 Aug 2004 08:53:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 72067 invoked by uid 99); 6 Aug 2004 08:53:54 -0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=NO_REAL_NAME,PRIORITY_NO_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO lnm4.bgs-ag.de) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 06 Aug 2004 01:53:51 -0700 Importance: Normal X-Priority: 3 (Normal) Subject: Re: key/keyref problem: Bug or have I misunderstood the standard? To: [email protected] From: [email protected] Date: Fri, 6 Aug 2004 10:53:59 +0200 Message-ID: <[email protected]> X-MIMETrack: Serialize by Router on lnm4/mz/bgs-ag/de(Release 5.0.8 |June 18, 2001) at 06.08.2004 10:53:50 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Argh.. The XML file in my last message contains a little error. See the file below for the correct sample. An additional note. With Xerces 2.5.0 I get the following error message: Key 'test_keyref' with value 'ID Value: 1,ID Value: 4' not found for identity constraint of element 'test' 2.6.0 works like 2.6.2, so the difference is introduced between 2.5.0 and 2.6.0 Sample XML File <?xml version="1.0" encoding="windows-1252"?> <test xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:test.xsd" > <value a="1" b="3"/> <value a="2" b="4"/> <ref x="1" y="3"/> <ref x="2" y="4"/> <ref x="1" y="4"/> </test> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Aug 06 12:21:16 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2341 invoked from network); 6 Aug 2004 12:21:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 6 Aug 2004 12:21:16 -0000 Received: (qmail 21295 invoked by uid 500); 6 Aug 2004 12:21:10 -0000 Delivered-To: [email protected] Received: (qmail 21194 invoked by uid 500); 6 Aug 2004 12:21:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 21182 invoked by uid 99); 6 Aug 2004 12:21:09 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO mail.eng.it) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 06 Aug 2004 05:21:04 -0700 Received: from castore (localhost [161.129.204.104]) by deliver.antivirus (Postfix) with ESMTP id 8EC4B17802 for <[email protected]>; Fri, 6 Aug 2004 14:21:01 +0200 (CEST) Received: from mail.eng.it (localhost [161.129.204.104]) by localhost ([161.129.204.104]); Fri, 06 Aug 2004 12:21:01 +0000 Received: from danieleg (unknown [161.129.204.104]) by mail.eng.it (Postfix) with SMTP id 860-947-9872 for <[email protected]>; Fri, 6 Aug 2004 14:21:01 +0200 (CEST) Message-ID: <007c01c47bb0$673c92a0$180314ac@danieleg> From: "Daniele Gagliardi" <[email protected]> To: <[email protected]> References: <[email protected]> Subject: Re: Schema processing recursion question Date: Fri, 6 Aug 2004 14:25:04 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Mancano solo due ISO con i sorgenti dei pacchetti, ma non ti servono all'installazione. Vai alla mia cartella downloads, autenticandoti come guest/guest. Il mio IP è 161.129.204.104 Io sto andando da un cliente, ma lascio il PC acceso. Ciao! Daniele ----- Original Message ----- From: "Maneesh Sahu" <[email protected]> To: <[email protected]> Sent: Monday, August 02, 2004 11:40 PM Subject: RE: Schema processing recursion question Is there any way besides implementing a ContentHandler? Something more native to the parser engine? --ms -----Original Message----- From: Lingzhi Zhang [mailto:[email protected]] Sent: Monday, August 02, 2004 2:30 PM To: [email protected] Subject: Re: Schema processing recursion question What do you mean the "best" way? There are several ways that you could program it. ----- Original Message ----- From: Benjamin Kolin <[email protected]> Date: Mon, 2 Aug 2004 13:39:00 -0700 Subject: Schema processing recursion question To: [email protected] Given a schema was a recursive element, like this: <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://localhost:8080/mytest" xmlns:tns="http://localhost:8080/mytest"> <xs:complexType name="symbolType"> <xs:sequence> <xs:element name="name" type="xs:string" /> <xs:element name="symbol" type="tns:symbolType" minOccurs="0" maxOccurs="1"/> </xs:sequence> </xs:complexType> <xs:element name="getQuote"> <xs:complexType> <xs:sequence> <xs:element name="symbol" type="tns:symbolType"/> </xs:sequence> </xs:complexType> </xs:element> </xs:schema> What would be the best way to programmatically control the level of recursion? I need to be able to specify "this element is recursive, but only up to 10 levels deep, and anything deeper should be considered an error." Thank you. -Ben Kolin --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Aug 07 22:35:53 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7803 invoked from network); 7 Aug 2004 22:35:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 7 Aug 2004 22:35:53 -0000 Received: (qmail 33144 invoked by uid 500); 7 Aug 2004 22:35:47 -0000 Delivered-To: [email protected] Received: (qmail 33099 invoked by uid 500); 7 Aug 2004 22:35:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 33087 invoked by uid 99); 7 Aug 2004 22:35:47 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_HELO_PASS X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO mail1.yozons.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Sat, 07 Aug 2004 15:35:46 -0700 Received: from rasta (soho2.yozons.com [161.129.204.104] (may be forged)) (authenticated bits=0) by mail1.yozons.com (8.12.8/8.12.8) with ESMTP id i77MZjX5013242 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for <[email protected]>; Sat, 7 Aug 2004 15:35:45 -0700 Message-ID: <0d6101c47cce$e31073f0$3201a8c0@rasta> Reply-To: "David Wall" <[email protected]> From: "David Wall" <[email protected]> To: <[email protected]> Subject: Validating with XML Schema using local schema files Date: Sat, 7 Aug 2004 15:35:48 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I'm trying to parse an XML document (root is called "myPlatform") against a locally controlled schema file (.xsd). What I'm not sure, is how to specify the schema files to use since the main schema does an include of another schema (<xs:include schemaLocation="basicTypes.xsd"/>) The XML is described in a schema file called platform.xsd, which includes the basicTypes.xsd. I've set these features (via JDOM, but it's using Xerces under the hood): SAXBuilder saxBuilder = new SAXBuilder(true); // validate saxBuilder.setFeature("http://xml.org/sax/features/validation",true); saxBuilder.setFeature("http://apache.org/xml/features/validation/schema",tru e); saxBuilder.setProperty("http://apache.org/xml/properties/schema/external-sch emaLocation","file:///home/xml/schema/basicTypes.xsd file:///home/xml/schema/platform.xsd"); I've tried the schemaLocations by not specifying the "file://" prefix and I get the same error: Caused by: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'myPlatform'. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source) at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRoot ElementHook(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc her.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.jdom.input.SAXBuilder.build(SAXBuilder.java:455) I'm sure the files are okay because they can be validated fine using XMLSPY. I'm not just not sure how to tell the parser to use the locally defined schema files. Thanks, David --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Aug 08 05:05:49 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68990 invoked from network); 8 Aug 2004 05:05:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 8 Aug 2004 05:05:49 -0000 Received: (qmail 20254 invoked by uid 500); 8 Aug 2004 05:05:42 -0000 Delivered-To: [email protected] Received: (qmail 20217 invoked by uid 500); 8 Aug 2004 05:05:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 20206 invoked by uid 99); 8 Aug 2004 05:05:41 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO editor.oxygenxml.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Sat, 07 Aug 2004 22:05:36 -0700 Received: from notebook ([161.129.204.104]) by editor.oxygenxml.com (8.12.10/8.12.10) with SMTP id i785ZxjM006643; Sun, 8 Aug 2004 00:36:00 -0500 Message-ID: <025601c47d05$0c3d9f10$30a14d52@notebook> From: "George Cristian Bina" <[email protected]> To: <[email protected]>, "David Wall" <[email protected]> References: <0d6101c47cce$e31073f0$3201a8c0@rasta> Subject: Re: Validating with XML Schema using local schema files Date: Sun, 8 Aug 2004 08:03:23 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi David, > saxBuilder.setProperty("http://apache.org/xml/properties/schema/external-sch > emaLocation","file:///home/xml/schema/basicTypes.xsd > file:///home/xml/schema/platform.xsd"); Have a look at http://xml.apache.org/xerces2-j/properties.html and review both http://apache.org/xml/properties/schema/external-schemaLocation and http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation properties. If your schema do not specify a target namespace you should use the http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation property and specify only your master schema document, that is platform.xsd. saxBuilder.setProperty("http://apache.org/xml/properties/schema/external-noN amespaceSchemaLocation",file:///home/xml/schema/platform.xsd); If your schema specifies a target namespace then you should specify it inside the schema location as targetNamespace followed by the schema location. Again use only platform.xsd. saxBuilder.setProperty("http://apache.org/xml/properties/schema/external-sch emaLocation","targetNamespaceForYourSchema file:///home/xml/schema/platform.xsd"); Best Regards, George ------------------------------------------------------- George Cristian Bina mailto:[email protected] <oXygen/> XML Editor and XSLT Editor/Debugger http://www.oxygenxml.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 09 15:11:16 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4883 invoked from network); 9 Aug 2004 15:11:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 9 Aug 2004 15:11:16 -0000 Received: (qmail 27721 invoked by uid 500); 9 Aug 2004 15:11:06 -0000 Delivered-To: [email protected] Received: (qmail 27450 invoked by uid 500); 9 Aug 2004 15:11:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 27424 invoked by uid 99); 9 Aug 2004 15:11:02 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO csgrelay2.csgsystems.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 09 Aug 2004 08:10:59 -0700 Received: from foghorn.csgsystems.com (foghorn.csgsystems.com [161.129.204.104]) by csgrelay2.csgsystems.com (8.12.10/8.12.11) with ESMTP id i79F2hIG031035; Mon, 9 Aug 2004 10:02:44 -0500 Received: from cptexch01.csg.csgsystems.com (cptexch01.csgsystems.com [161.129.204.104]) by foghorn.csgsystems.com (8.12.10/8.12.11) with ESMTP id i79FAnrG004852; Mon, 9 Aug 2004 10:10:49 -0500 (CDT) X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Validating with XML Schema using local schema files Date: Mon, 9 Aug 2004 09:10:50 -0600 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Validating with XML Schema using local schema files Thread-Index: AcR8zuRNvA8Nu6pDT6mTYXiAyLRjBQBUs3Kw From: "Wax, Ed" <[email protected]> To: <[email protected]>, "David Wall" <[email protected]> X-Scanned-By: MIMEDefang 2.34 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N David, You should specify your governing schema in an instance document (as = opposed to code): <root_node xmlns:xsi =3D "http://www.w3.org/2001/XMLSchema-instance" = xsi:noNamespaceSchemaLocation =3D "file:///pathname/myPlatform.xsd"> where root_node is the name of your root element in myPlatform.xsd. Note the 3 slashes after file:, very important. Ed -----Original Message----- From: David Wall [mailto:[email protected]] Sent: Saturday, August 07, 2004 4:36 PM To: [email protected] Subject: Validating with XML Schema using local schema files I'm trying to parse an XML document (root is called "myPlatform") = against a locally controlled schema file (.xsd). What I'm not sure, is how to = specify the schema files to use since the main schema does an include of another schema (<xs:include schemaLocation=3D"basicTypes.xsd"/>) The XML is described in a schema file called platform.xsd, which = includes the basicTypes.xsd. I've set these features (via JDOM, but it's using Xerces under the = hood): SAXBuilder saxBuilder =3D new SAXBuilder(true); // validate saxBuilder.setFeature("http://xml.org/sax/features/validation",true); saxBuilder.setFeature("http://apache.org/xml/features/validation/schema",= tru e); saxBuilder.setProperty("http://apache.org/xml/properties/schema/external-= sch emaLocation","file:///home/xml/schema/basicTypes.xsd file:///home/xml/schema/platform.xsd"); I've tried the schemaLocations by not specifying the "file://" prefix = and I get the same error: Caused by: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'myPlatform'. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknow= n Source) at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown = Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source) at = org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanR= oot ElementHook(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDisp= atc her.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknow= n Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown = Source) at org.jdom.input.SAXBuilder.build(SAXBuilder.java:455) I'm sure the files are okay because they can be validated fine using = XMLSPY. I'm not just not sure how to tell the parser to use the locally defined schema files. Thanks, David --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 09 19:23:26 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51684 invoked from network); 9 Aug 2004 19:23:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 9 Aug 2004 19:23:26 -0000 Received: (qmail 61092 invoked by uid 500); 9 Aug 2004 19:23:19 -0000 Delivered-To: [email protected] Received: (qmail 61069 invoked by uid 500); 9 Aug 2004 19:23:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 61057 invoked by uid 99); 9 Aug 2004 19:23:19 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_HELO_PASS X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO mail1.yozons.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 09 Aug 2004 12:23:17 -0700 Received: from rasta (soho2.yozons.com [161.129.204.104] (may be forged)) (authenticated bits=0) by mail1.yozons.com (8.12.8/8.12.8) with ESMTP id i79JNFX5006343 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for <[email protected]>; Mon, 9 Aug 2004 12:23:16 -0700 Message-ID: <0fc301c47e46$578570f0$3201a8c0@rasta> Reply-To: "David Wall" <[email protected]> From: "David Wall" <[email protected]> To: <[email protected]> References: <[email protected]> Subject: Re: Validating with XML Schema using local schema files Date: Mon, 9 Aug 2004 12:23:24 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > You should specify your governing schema in an instance document (as opposed to code): I don't think that's really the way to go overall since the data can move and the location of the schema may not always be the same depending on where the XML data is being validated. This is especially true in applications in which the XML data is being sent from one place to another, or in SOAP calls in which the application that produces the XML data cannot be trusted to include a reference to the schema that I (as the recipient) should use to validate it. The schemas are mine; they do not belong to any application that produces the data. I did learn that my syntax was wrong (Thanks George for pointing out that the targetNamespace value needed to be in front of the name of the schema file -- that was my oversight). David --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 09 19:29:35 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54399 invoked from network); 9 Aug 2004 19:29:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 9 Aug 2004 19:29:35 -0000 Received: (qmail 69211 invoked by uid 500); 9 Aug 2004 19:29:19 -0000 Delivered-To: [email protected] Received: (qmail 69162 invoked by uid 500); 9 Aug 2004 19:29:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 69054 invoked by uid 99); 9 Aug 2004 19:29:18 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO cfo-msg.plumcreek.net) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 09 Aug 2004 12:29:16 -0700 Received: from plumcreek-MTA by cfo-msg.plumcreek.net with Novell_GroupWise; Mon, 09 Aug 2004 13:29:15 -0600 Message-Id: <[email protected]> X-Mailer: Novell GroupWise Internet Agent 6.5.2 Date: Mon, 09 Aug 2004 13:28:47 -0600 From: "David Morris" <[email protected]> To: <[email protected]> Subject: Schema Pattern Question Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I have found when entering a regular expression pattern that I have to escape back slashes when using Xerces-j. For example <xsd:pattern value="[\\.,\\,]"/> to match dot (.) or comma (,). I would have thought that "[\.,\,]" would work. I can understand why I would have to do this in a java.lang.String but it seems like the implementation should not show through here. Am I doing something wrong? The error says "this expression is not supported in the current option setting" -- should I change some option setting? Thanks, David Morris --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 09 20:16:09 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76121 invoked from network); 9 Aug 2004 20:16:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 9 Aug 2004 20:16:09 -0000 Received: (qmail 39471 invoked by uid 500); 9 Aug 2004 20:16:02 -0000 Delivered-To: [email protected] Received: (qmail 39430 invoked by uid 500); 9 Aug 2004 20:16:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 39355 invoked by uid 99); 9 Aug 2004 20:16:00 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO e4.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 09 Aug 2004 13:15:58 -0700 Received: from northrelay04.pok.ibm.com (northrelay04.pok.ibm.com [161.129.204.104]) by e4.ny.us.ibm.com (8.12.10/8.12.9) with ESMTP id i79KFtvL147954 for <[email protected]>; Mon, 9 Aug 2004 16:15:55 -0400 Received: from d25ml04.torolab.ibm.com (d01av04.pok.ibm.com [161.129.204.104]) by northrelay04.pok.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id i79KGseQ093792 for <[email protected]>; Mon, 9 Aug 2004 16:16:55 -0400 In-Reply-To: <[email protected]> Subject: Re: Schema Pattern Question To: [email protected] X-Mailer: Lotus Notes Build V70_M2_07222004 Beta 2NP July 22, 2004 Message-ID: <[email protected]> From: Ankit Pasricha <[email protected]> Date: Mon, 9 Aug 2004 16:14:39 -0400 X-MIMETrack: Serialize by Router on D25ML04/25/M/IBM(Release 6.0.2CF1|June 9, 2003) at 08/09/2004 16:15:50 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N In order to match dot(.) or comma (,) the expression [\.,] is enough. There is no reason to escape the comma itself or to put comma as an indicator of OR in the regex. The valid escapes are given in [1]. [1] http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#nt-SingleCharEsc Thanks Ankit Pasricha XML Parser Development IBM Toronto Lab 8200 Warden Avenue, Ontario L6G 1C7 Phone: 860-947-9872 "David Morris" <David.Morris@plu mcreek.com> To <[email protected]> 08/09/2004 03:28 cc PM Subject Schema Pattern Question Please respond to xerces-j-user I have found when entering a regular expression pattern that I have to escape back slashes when using Xerces-j. For example <xsd:pattern value="[\\.,\\,]"/> to match dot (.) or comma (,). I would have thought that "[\.,\,]" would work. I can understand why I would have to do this in a java.lang.String but it seems like the implementation should not show through here. Am I doing something wrong? The error says "this expression is not supported in the current option setting" -- should I change some option setting? Thanks, David Morris --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 09 20:25:42 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81661 invoked from network); 9 Aug 2004 20:25:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 9 Aug 2004 20:25:42 -0000 Received: (qmail 49230 invoked by uid 500); 9 Aug 2004 20:25:36 -0000 Delivered-To: [email protected] Received: (qmail 49205 invoked by uid 500); 9 Aug 2004 20:25:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 49192 invoked by uid 99); 9 Aug 2004 20:25:35 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO cfo-msg.plumcreek.net) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 09 Aug 2004 13:25:32 -0700 Received: from plumcreek-MTA by cfo-msg.plumcreek.net with Novell_GroupWise; Mon, 09 Aug 2004 14:25:30 -0600 Message-Id: <[email protected]> X-Mailer: Novell GroupWise Internet Agent 6.5.2 Date: Mon, 09 Aug 2004 14:25:13 -0600 From: "David Morris" <[email protected]> To: <[email protected]> Subject: Re: Schema Pattern Question Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Ankit, What you describe is what I would expect but it seems that in practice I have to double escape the pattern. I am running my validation via JDOM, so it is possible that is inserting the double escaping requirement. What I have is a pattern that looks like "[0-9]{18}[\\.\\,][0-9]{3}", which seems to work fine. However "[0-9]{18}[\.\,][0-9]{3}" does not. Since you believe that it should work, I will see what happens if I remove JDOM from the picture. Thanks, David Morris >>> [email protected] 8/9/2004 2:14:39 PM >>> In order to match dot(.) or comma (,) the expression [\.,] is enough. There is no reason to escape the comma itself or to put comma as an indicator of OR in the regex. The valid escapes are given in [1]. [1] http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#nt-SingleCharEsc Thanks Ankit Pasricha --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 09 21:16:42 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4824 invoked from network); 9 Aug 2004 21:16:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 9 Aug 2004 21:16:42 -0000 Received: (qmail 18731 invoked by uid 500); 9 Aug 2004 21:16:37 -0000 Delivered-To: [email protected] Received: (qmail 18605 invoked by uid 500); 9 Aug 2004 21:16:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 18592 invoked by uid 99); 9 Aug 2004 21:16:35 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO e4.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 09 Aug 2004 14:16:34 -0700 Received: from northrelay04.pok.ibm.com (northrelay04.pok.ibm.com [161.129.204.104]) by e4.ny.us.ibm.com (8.12.10/8.12.9) with ESMTP id i79LGWvL779324 for <[email protected]>; Mon, 9 Aug 2004 17:16:32 -0400 Received: from d25ml04.torolab.ibm.com (d01av02.pok.ibm.com [161.129.204.104]) by northrelay04.pok.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id i79LHZeQ107002 for <[email protected]>; Mon, 9 Aug 2004 17:17:36 -0400 In-Reply-To: <[email protected]> Subject: Re: Schema Pattern Question To: [email protected] X-Mailer: Lotus Notes Build V70_M2_07222004 Beta 2NP July 22, 2004 Message-ID: <[email protected]> From: Ankit Pasricha <[email protected]> Date: Mon, 9 Aug 2004 17:15:19 -0400 X-MIMETrack: Serialize by Router on D25ML04/25/M/IBM(Release 6.0.2CF1|June 9, 2003) at 08/09/2004 17:16:31 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N David, The second expression "[0-9]{18}[\.\,][0-9]{3}" is still invalid since you cannot escape a comma. Try running without the comma escaped: "[0-9]{18}[\.,][0-9]{3}". Ankit Pasricha XML Parser Development IBM Toronto Lab 8200 Warden Avenue, Ontario L6G 1C7 Phone: 860-947-9872 "David Morris" <David.Morris@plu mcreek.com> To <[email protected]> 08/09/2004 04:25 cc PM Subject Re: Schema Pattern Question Please respond to xerces-j-user Ankit, What you describe is what I would expect but it seems that in practice I have to double escape the pattern. I am running my validation via JDOM, so it is possible that is inserting the double escaping requirement. What I have is a pattern that looks like "[0-9]{18}[\\.\\,][0-9]{3}", which seems to work fine. However "[0-9]{18}[\.\,][0-9]{3}" does not. Since you believe that it should work, I will see what happens if I remove JDOM from the picture. Thanks, David Morris >>> [email protected] 8/9/2004 2:14:39 PM >>> In order to match dot(.) or comma (,) the expression [\.,] is enough. There is no reason to escape the comma itself or to put comma as an indicator of OR in the regex. The valid escapes are given in [1]. [1] http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#nt-SingleCharEsc Thanks Ankit Pasricha --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 09 21:42:49 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14268 invoked from network); 9 Aug 2004 21:42:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 9 Aug 2004 21:42:49 -0000 Received: (qmail 63154 invoked by uid 500); 9 Aug 2004 21:42:42 -0000 Delivered-To: [email protected] Received: (qmail 63118 invoked by uid 500); 9 Aug 2004 21:42:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 63038 invoked by uid 99); 9 Aug 2004 21:42:40 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO cfo-msg.plumcreek.net) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 09 Aug 2004 14:42:37 -0700 Received: from plumcreek-MTA by cfo-msg.plumcreek.net with Novell_GroupWise; Mon, 09 Aug 2004 15:42:35 -0600 Message-Id: <[email protected]> X-Mailer: Novell GroupWise Internet Agent 6.5.2 Date: Mon, 09 Aug 2004 15:42:11 -0600 From: "David Morris" <[email protected]> To: <[email protected]> Subject: Re: Schema Pattern Question Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Ankit, You are correct. It works fine without the backslash comma (\,). I made an invalid assumption that I would have to escape the comma and the tool I use to validate regular expressions only appears to allow a dot (.) or comma (,) and didn't complain about the \.\, value. Thanks, David Morris >>> [email protected] 8/9/2004 3:15:19 PM >>> David, The second expression "[0-9]{18}[\.\,][0-9]{3}" is still invalid since you cannot escape a comma. Try running without the comma escaped: "[0-9]{18}[\.,][0-9]{3}". Ankit Pasricha --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Aug 10 05:34:19 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41051 invoked from network); 10 Aug 2004 05:34:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 10 Aug 2004 05:34:19 -0000 Received: (qmail 88726 invoked by uid 500); 10 Aug 2004 05:34:10 -0000 Delivered-To: [email protected] Received: (qmail 88693 invoked by uid 500); 10 Aug 2004 05:34:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 88679 invoked by uid 99); 10 Aug 2004 05:34:08 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO pillage.dreamhost.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 09 Aug 2004 22:34:05 -0700 Received: from [161.129.204.104] (user-119bqgc.biz.mindspring.com [161.129.204.104]) by pillage.dreamhost.com (Postfix) with ESMTP id 200E61496AD for <[email protected]>; Mon, 9 Aug 2004 22:34:04 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 09 Aug 2004 22:34:02 -0700 From: Bob Foster <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040608 X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: Schema Pattern Question References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N It's not JDOM, it's Java. Java requires you to escape a \ in a string as \\. Bob Foster David Morris wrote: >Ankit, > >What you describe is what I would expect but it seems that in practice >I have to double escape the pattern. I am running my validation via >JDOM, so it is possible that is inserting the double escaping >requirement. What I have is a pattern that looks like >"[0-9]{18}[\\.\\,][0-9]{3}", which seems to work fine. However >"[0-9]{18}[\.\,][0-9]{3}" does not. Since you believe that it should >work, I will see what happens if I remove JDOM from the picture. > >Thanks, > >David Morris > > > >>>>[email protected] 8/9/2004 2:14:39 PM >>> >>>> >>>> > > > > >In order to match dot(.) or comma (,) the expression [\.,] is enough. >There >is no reason to escape the comma itself or to put comma as an indicator >of >OR >in the regex. The valid escapes are given in [1]. > >[1] >http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#nt-SingleCharEsc > > >Thanks > >Ankit Pasricha > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [email protected] >For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Aug 10 14:37:13 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 39022 invoked from network); 10 Aug 2004 14:37:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 10 Aug 2004 14:37:13 -0000 Received: (qmail 72314 invoked by uid 500); 10 Aug 2004 14:36:57 -0000 Delivered-To: [email protected] Received: (qmail 72216 invoked by uid 500); 10 Aug 2004 14:36:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 72170 invoked by uid 99); 10 Aug 2004 14:36:55 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO nordpol.kbv.de) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 10 Aug 2004 07:36:51 -0700 Received: (qmail 5527 invoked from network); 10 Aug 2004 14:36:34 -0000 Received: from kbvgate.kbv.de (HELO ?161.129.204.104?) (161.129.204.104) by nordpol.kbv.de with SMTP; 10 Aug 2004 14:36:34 -0000 Received: from webwasher.kbv.de by [161.129.204.104] via smtpd (for kbv.de [161.129.204.104]) with SMTP; Tue, 10 Aug 2004 16:36:37 +0200 Received: from kbv017.kbv.int [161.129.204.104] by Webwasher.kbv.de id ED0VJA1F outgoing id ED0VJA1F; 10 Aug 2004 16:36:45 +0200 Received: from kbv054.kbv.int ([161.129.204.104]) by kbv017.kbv.int with Microsoft SMTPSVC(5.0.2195.6713); Tue, 10 Aug 2004 16:36:45 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: import and include schemas when building typelibs Date: Tue, 10 Aug 2004 16:36:44 +0200 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: import and include schemas when building typelibs Thread-Index: AcR+52tRhqHy6/TnSvymtzf0ztBvkw== From: "Usorov, Evgeny" <[email protected]> To: <[email protected]>, <[email protected]> X-OriginalArrivalTime: 10 Aug 2004 14:36:45.0254 (UTC) FILETIME=[75D33E60:01C47EE7] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hallo when i build reusable typelibs, it is necessary to deal with many = schemas. Now i have following situation where=20 the import of the schema don't work. I know that Xerces do not perform = 2ximports when they reference to the same namespace but different files. My example is a bit = different: i have 3-schemas and only two different namespaces: "ns_1" and "ns_2": a.xsd has namespace "ns_1" and imports types from b.xsd with namespace = "ns_2" b.xsd has namespace "ns_2" and imports types from c.xsd with namespace = "ns_1" c.xsd has namespace "ns_1" (so a.xsd and c.xsd have the same namespace) So when validating a.xsd, Xerces-parser (2.6.2) don't find types in = c.xsd and show an error that b.xsd is not valid. Now the only solution is: a.xsd should include c.xsd This is a funny = situation, to use in b.xsd types from c.xsd, i can not include directly the interesting file, = instead go around and manipulate a.xsd. And when doing so, my b.xsd is not valid without a.xsd. So i have = always to think about which files are included and which are imported. For example: I whant to = develop new d.xsd that uses types from b.xsd. I have problem if I forgot to include/import = c.xsd. And so on... This is only an example, but what to do if i have 10-20 schemas and 4-10 = namespaces ? The behaviour of Xerces, not to resolve 2ximports of the same namespace, = produces such situations. It is not developer-friendly. Evgeny Usorov --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Aug 10 18:20:59 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 39924 invoked from network); 10 Aug 2004 18:20:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 10 Aug 2004 18:20:59 -0000 Received: (qmail 40747 invoked by uid 500); 10 Aug 2004 18:20:52 -0000 Delivered-To: [email protected] Received: (qmail 40691 invoked by uid 500); 10 Aug 2004 18:20:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 40677 invoked by uid 99); 10 Aug 2004 18:20:50 -0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=DNS_FROM_RFC_POST X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hotmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 10 Aug 2004 11:20:48 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 10 Aug 2004 11:20:46 -0700 Received: from 161.129.204.104 by by1fd.bay1.hotmail.msn.com with HTTP; Tue, 10 Aug 2004 18:20:45 GMT X-Originating-IP: [161.129.204.104] X-Originating-Email: [[email protected]] X-Sender: [email protected] From: "Michael Ball" <[email protected]> To: [email protected] Bcc: Subject: grammar caching Date: Tue, 10 Aug 2004 18:20:45 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: <[email protected]> X-OriginalArrivalTime: 10 Aug 2004 18:20:46.0530 (UTC) FILETIME=[C1733220:01C47F06] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Is anyone using this setting in a production environment, we're thinking about it but the documentation says it's experimental. It seems to have been around for a couple years... System.setProperty("org.apache.xerces.xni.parser.XMLParserConfiguration", "org.apache.xerces.parsers.XMLGrammarCachingConfiguration"); _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar – get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Aug 10 18:39:47 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 55342 invoked from network); 10 Aug 2004 18:39:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 10 Aug 2004 18:39:47 -0000 Received: (qmail 63430 invoked by uid 500); 10 Aug 2004 18:39:39 -0000 Delivered-To: [email protected] Received: (qmail 63243 invoked by uid 500); 10 Aug 2004 18:39:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 63232 invoked by uid 99); 10 Aug 2004 18:39:38 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO mercuryls.lodestarcorp.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 10 Aug 2004 11:39:35 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: RE: grammar caching Date: Tue, 10 Aug 2004 14:39:21 -0400 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: grammar caching Thread-Index: AcR/BspakLGOa1j2SP6IWCJ3Qb4tjAAABoNw From: "Fuller, Alex" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N We're using it, but not via the method call you show. Instead, we use something more like the example in XMLGrammarBuilder where you create an XMLGrammarPreparser and parse each schema. Since we're using it for up-front caching rather than in a gathering scenario that works for us. I don't have any performance numbers showing the runtime improvement it gives us, but it's qualitatively worked well. I shied away from XMLGrammarCachingConfiguration because I found it difficult to trap errors when parsing the schema (I'm sure I was just doing something wrong, though). =20 I do have a somewhat-related question: a recent thread has discussed 2+ levels of schema imports, and, as I understand it, anything after the first level is not parsed because of potential name collisions. Does this A) apply to includes as well as imports (so that everything is in a single namespace) and B) does pre-parsing interpret these additional schemas? Forgive my lack of understanding on this issue....our schemas certainly do this and I hadn't noticed a problem. Alex -----Original Message----- From: Michael Ball [mailto:[email protected]]=20 Sent: Tuesday, August 10, 2004 1:21 PM To: [email protected] Subject: grammar caching Is anyone using this setting in a production environment, we're thinking about it but the documentation says it's experimental. It seems to have been around for a couple years... System.setProperty("org.apache.xerces.xni.parser.XMLParserConfiguration" , "org.apache.xerces.parsers.XMLGrammarCachingConfiguration"); _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar - get it now!=20 http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Aug 12 11:25:07 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70390 invoked from network); 12 Aug 2004 11:25:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 12 Aug 2004 11:25:07 -0000 Received: (qmail 52122 invoked by uid 500); 12 Aug 2004 11:25:01 -0000 Delivered-To: [email protected] Received: (qmail 52094 invoked by uid 500); 12 Aug 2004 11:25:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 52082 invoked by uid 99); 12 Aug 2004 11:25:00 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO mercur-smtp.foi.se) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Thu, 12 Aug 2004 04:24:57 -0700 Received: from mercur.foi.se (localhost [161.129.204.104]) by mercur-smtp.foi.se (8.12.9/8.12.9) with ESMTP id i7CBOsfA004673 for <[email protected]>; Thu, 12 Aug 2004 13:24:54 +0200 (CEST) Received: from mercur.foi.se (localhost [161.129.204.104]) by localhost.foi.se (Postfix) with ESMTP id 69418BE for <[email protected]>; Thu, 12 Aug 2004 13:24:54 +0200 (CEST) Received: from mythos.foi.se (mythos.foi.se [161.129.204.104]) by mercur.foi.se (Postfix) with ESMTP id F2D7BB5 for <[email protected]>; Thu, 12 Aug 2004 13:24:53 +0200 (CEST) Received: from gulich (wallin.foi.se [161.129.204.104]) by mythos.foi.se (8.12.9/8.12.9) with ESMTP id i7CBOroq007735 for <[email protected]>; Thu, 12 Aug 2004 13:24:53 +0200 (CEST) From: =?iso-8859-1?Q?Martin_G=FClich?= <[email protected]> To: <[email protected]> Subject: Use DTD/XSD with startElement? Date: Thu, 12 Aug 2004 13:24:53 +0200 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0006_01C4806F.C0E42980" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0006_01C4806F.C0E42980 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello! I am wondering if anyone knows of a way to start parsing an XML-file and giving the corresponding DTD or XML Schema definition as input, with the purpose of somehow making Xerces automatically use a separate callback method for each element. Suppose this is the XML file: <TAG1>=85</TAG1> <TAG2>=85</TAG2> =20 If the DTD specifies this then I want Xerces to automatically provide = and call callback methods startTAG1() and startTAG2(), instead of just = calling startElement() with me having to specify lots of conditions to find out which tag it was. =20 Does anyone know if this is possible? I am new to Xerces so if this is trivial please tell me anyway :-). =20 Best regards =20 Martin G=FClich Research Engineer ______________________________ Swedish Defence Research Agency Dept. Of Systems Modelling SE-172 90 Stockholm, Sweden Phone: 860-947-9872 Company web site: www.foi.se=20 =20 ------=_NextPart_000_0006_01C4806F.C0E42980 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Diso-8859-1"> <meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)"> <style> <!-- /* Font Definitions */ @font-face {font-family:Wingdings; panose-1:5 0 0 0 0 0 0 0 0 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.E-postmall17 {font-family:Arial; color:windowtext;} @page Section1 {size:595.3pt 841.9pt; margin:70.85pt 70.85pt 70.85pt 70.85pt;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DSV link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>Hello!</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>I am wondering if anyone knows of a way to = start parsing an XML-file and giving the corresponding DTD or XML Schema = definition as input, with the purpose of somehow making Xerces automatically use a separate callback method for each element. Suppose this is the XML = file:</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>&lt;TAG1&gt;&#8230;&lt;/TAG1&gt;</span></font><= /p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>&lt;TAG2&gt;&#8230;&lt;/TAG2&gt;</span></font><= /p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>&nbsp;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>If the DTD specifies this then I want Xerces = to automatically provide and call callback methods startTAG1() and = startTAG2(), instead of just calling startElement() with me having to specify lots of conditions to find out which tag it was.</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>&nbsp;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>Does anyone know if this is possible? I am new = to Xerces so if this is trivial please tell me anyway </span></font><font size=3D2 face=3DWingdings><span lang=3DEN-GB = style=3D'font-size:10.0pt;font-family:Wingdings'>J</span></font><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size:10.0pt;font-family:Arial'>.</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>&nbsp;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>Best regards</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>&nbsp;</span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>Martin</span></font><font size=3D2 = face=3DArial><span lang=3DEN-GB style=3D'font-size:10.0pt;font-family:Arial'> = G=FClich</span></font><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size:10.0pt;font-family:Arial'><br> Research Engineer<br> ______________________________<br> <br> Swedish Defence Research Agency<br> Dept. Of Systems Modelling<br> SE-172 90 </span></font><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size:10.0pt;font-family:Arial'>Stockholm</span></font><font= size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size:10.0pt;font-family:Arial'>, </span></font><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size:10.0pt; font-family:Arial'>Sweden</span></font><font size=3D2 = face=3DArial><span lang=3DEN-GB style=3D'font-size:10.0pt;font-family:Arial'><br> <br> Phone: 860-947-9872<br> Company web site: www.foi.se </span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = lang=3DEN-GB style=3D'font-size:12.0pt'>&nbsp;</span></font></p> </div> </body> </html> ------=_NextPart_000_0006_01C4806F.C0E42980-- From [email protected] Thu Aug 12 23:20:38 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 32059 invoked from network); 12 Aug 2004 23:20:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 12 Aug 2004 23:20:38 -0000 Received: (qmail 24657 invoked by uid 500); 12 Aug 2004 23:20:33 -0000 Delivered-To: [email protected] Received: (qmail 24464 invoked by uid 500); 12 Aug 2004 23:20:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 24452 invoked by uid 99); 12 Aug 2004 23:20:31 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO unxcoms01.ecnetwork.co.nz) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Thu, 12 Aug 2004 16:20:27 -0700 Received: from serpent.ecnetwork.co.nz (serpent [161.129.204.104]) by unxcoms01.ecnetwork.co.nz (8.12.8/8.12.8) with ESMTP id i7CNKNc1027150 for <[email protected]>; Fri, 13 Aug 2004 11:20:24 +1200 Received: from pcjohns.ecnnz.ecnetwork.co.nz (unknown [161.129.204.104]) by serpent.ecnetwork.co.nz (Postfix) with ESMTP id 5FCE91049 for <[email protected]>; Fri, 13 Aug 2004 11:21:21 +1200 (NZST) Subject: Re: Use DTD/XSD with startElement? From: Simon Kitching <[email protected]> To: [email protected] In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain; charset=UTF-8 Message-Id: <1092352822.21198.56.camel@pcsimon> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Fri, 13 Aug 2004 11:20:22 +1200 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Thu, 2004-08-12 at 23:24, Martin Gülich wrote: > Hello! > > I am wondering if anyone knows of a way to start parsing an XML-file > and giving the corresponding DTD or XML Schema definition as input, > with the purpose of somehow making Xerces automatically use a separate > callback method for each element. Suppose this is the XML file: > > <TAG1>…</TAG1> > > <TAG2>…</TAG2> > > > > If the DTD specifies this then I want Xerces to automatically provide > and call callback methods startTAG1() and startTAG2(), instead of just > calling startElement() with me having to specify lots of conditions to > find out which tag it was. > > > > Does anyone know if this is possible? I am new to Xerces so if this is > trivial please tell me anyway J. I'm pretty sure that Xerces does not support this directly. However it is fairly simple for you to write a startElement method that uses java reflection to locate an appropriately named method and invoke it. This should take only a dozen or so lines of code to implement. You'll have to consider what to do about xml namespaces. eg <ns1:TAG1/> <ns2:TAG1/> <TAG1 xmlns="foo"/> are really completely different tags, so which methods should be called? Regards, Simon --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Aug 13 01:10:26 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61516 invoked from network); 13 Aug 2004 01:10:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 13 Aug 2004 01:10:26 -0000 Received: (qmail 10173 invoked by uid 500); 13 Aug 2004 01:10:20 -0000 Delivered-To: [email protected] Received: (qmail 10147 invoked by uid 500); 13 Aug 2004 01:10:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 10129 invoked by uid 99); 13 Aug 2004 01:10:19 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO c007.snv.cp.net) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with SMTP; Thu, 12 Aug 2004 18:10:14 -0700 Received: (cpmta 23909 invoked from network); 12 Aug 2004 18:10:13 -0700 Received: from 161.129.204.104 (HELO jmg) by smtp.alumni.princeton.edu (161.129.204.104) with SMTP; 12 Aug 2004 18:10:13 -0700 X-Sent: 13 Aug 2004 01:10:13 GMT Message-ID: <04ae01c480d2$47611a10$af00a8c0@jmg> From: "Jeff Greif" <[email protected]> To: <[email protected]> References: <[email protected]> Subject: Re: Use DTD/XSD with startElement? Date: Thu, 12 Aug 2004 18:10:09 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N A valid XML file has one element at top level; all others must be nested inside it, so the example is not valid. Probably that's only marginally relevant to the question you're asking, though. Xerces can validate a file (and fill in default values, etc) according to a DTD or schema, but does not generate different startElement callbacks automatically. If you wanted to switch startElement callbacks based on the name of the root element, you'd have to supply your own startElement function that did this. Jeff ----- Original Message ----- From: Martin Gülich To: [email protected] Sent: Thursday, August 12, 2004 4:24 AM Subject: Use DTD/XSD with startElement? Hello! I am wondering if anyone knows of a way to start parsing an XML-file and giving the corresponding DTD or XML Schema definition as input, with the purpose of somehow making Xerces automatically use a separate callback method for each element. Suppose this is the XML file: <TAG1>.</TAG1> <TAG2>.</TAG2> ... --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Aug 13 21:29:18 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 32869 invoked from network); 13 Aug 2004 21:29:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 13 Aug 2004 21:29:18 -0000 Received: (qmail 33965 invoked by uid 500); 13 Aug 2004 21:29:08 -0000 Delivered-To: [email protected] Received: (qmail 33838 invoked by uid 500); 13 Aug 2004 21:29:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 33790 invoked by uid 99); 13 Aug 2004 21:29:06 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO c007.snv.cp.net) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with SMTP; Fri, 13 Aug 2004 14:29:02 -0700 Received: (cpmta 11362 invoked from network); 13 Aug 2004 14:29:00 -0700 Received: from 161.129.204.104 (HELO jmg) by smtp.alumni.princeton.edu (161.129.204.104) with SMTP; 13 Aug 2004 14:29:00 -0700 X-Sent: 13 Aug 2004 21:29:00 GMT Message-ID: <066b01c4817c$8896ab80$af00a8c0@jmg> From: "Jeff Greif" <[email protected]> To: <[email protected]> Subject: utility for validating a string against a simple type Date: Fri, 13 Aug 2004 14:28:53 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I'm looking for a little Java utility based on Xerces (in lieu of writing it myself) to validate against its corresponding XSSimpleTypeDefinition a string that is supposed to conform to a simple type. An ugly but obvious approach is to create an document whose root element is designated to have the appropriate xsi:type with the string as its value and parse the serialized document. I'm looking for something better, if it exists. I see there is a class called org.apache.xerces.impl.dv.xs.XSSimpleTypeDecl which might be used, but I don't yet see how to produce one from the XSSimpleTypeDefinition. Jeff --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Aug 13 21:35:20 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35423 invoked from network); 13 Aug 2004 21:35:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 13 Aug 2004 21:35:19 -0000 Received: (qmail 42157 invoked by uid 500); 13 Aug 2004 21:35:12 -0000 Delivered-To: [email protected] Received: (qmail 42116 invoked by uid 500); 13 Aug 2004 21:35:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 42097 invoked by uid 99); 13 Aug 2004 21:35:11 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO e3.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 13 Aug 2004 14:35:07 -0700 Received: from northrelay04.pok.ibm.com (northrelay04.pok.ibm.com [161.129.204.104]) by e3.ny.us.ibm.com (8.12.10/8.12.9) with ESMTP id i7DLZ5Hr515040 for <[email protected]>; Fri, 13 Aug 2004 17:35:05 -0400 Received: from d25ml04.torolab.ibm.com (d01av02.pok.ibm.com [161.129.204.104]) by northrelay04.pok.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id i7DLaArd087042 for <[email protected]>; Fri, 13 Aug 2004 17:36:10 -0400 In-Reply-To: <066b01c4817c$8896ab80$af00a8c0@jmg> Subject: Re: utility for validating a string against a simple type To: [email protected] X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003 Message-ID: <[email protected]> From: Sandy Gao <[email protected]> Date: Fri, 13 Aug 2004 17:34:50 -0400 X-MIMETrack: Serialize by Router on D25ML04/25/M/IBM(Release 6.0.2CF1|June 9, 2003) at 08/13/2004 17:35:04 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Look at classes/interfaces in the package org.apache.xercs.impl.dv, especially XSSimpleType, which is derived from XSSimpleTypeDefinition by adding various validate() methods to it. You can cast your XSSimpleTypeDefinition to XSSimpleType if you have one, or you can create new simple types by using methods provided by SchemaDVFactory. Hope this helps, Sandy Gao Software Developer, IBM Canada 860-947-9872 [email protected] "Jeff Greif" <[email protected] inceton.edu> To <[email protected]> 08/13/2004 05:28 cc PM Subject utility for validating a string Please respond to against a simple type xerces-j-user I'm looking for a little Java utility based on Xerces (in lieu of writing it myself) to validate against its corresponding XSSimpleTypeDefinition a string that is supposed to conform to a simple type. An ugly but obvious approach is to create an document whose root element is designated to have the appropriate xsi:type with the string as its value and parse the serialized document. I'm looking for something better, if it exists. I see there is a class called org.apache.xerces.impl.dv.xs.XSSimpleTypeDecl which might be used, but I don't yet see how to produce one from the XSSimpleTypeDefinition. Jeff --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Aug 13 23:39:46 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69722 invoked from network); 13 Aug 2004 23:39:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 13 Aug 2004 23:39:46 -0000 Received: (qmail 51354 invoked by uid 500); 13 Aug 2004 23:39:39 -0000 Delivered-To: [email protected] Received: (qmail 51307 invoked by uid 500); 13 Aug 2004 23:39:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 51296 invoked by uid 99); 13 Aug 2004 23:39:39 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO c007.snv.cp.net) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with SMTP; Fri, 13 Aug 2004 16:39:36 -0700 Received: (cpmta 21622 invoked from network); 13 Aug 2004 16:39:35 -0700 Received: from 161.129.204.104 (HELO jmg) by smtp.alumni.princeton.edu (161.129.204.104) with SMTP; 13 Aug 2004 16:39:35 -0700 X-Sent: 13 Aug 2004 23:39:35 GMT Message-ID: <069501c4818e$c6948da0$af00a8c0@jmg> From: "Jeff Greif" <[email protected]> To: <[email protected]> References: <[email protected]> Subject: Re: utility for validating a string against a simple type Date: Fri, 13 Aug 2004 16:39:28 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Thanks much. This information made it easy. Jeff ----- Original Message ----- From: "Sandy Gao" <[email protected]> To: <[email protected]> Sent: Friday, August 13, 2004 2:34 PM Subject: Re: utility for validating a string against a simple type > > > > > Look at classes/interfaces in the package org.apache.xercs.impl.dv, > especially XSSimpleType, which is derived from XSSimpleTypeDefinition by > adding various validate() methods to it. > > You can cast your XSSimpleTypeDefinition to XSSimpleType if you have one, > or you can create new simple types by using methods provided by > SchemaDVFactory. > > Hope this helps, > Sandy Gao > Software Developer, IBM Canada > 860-947-9872 > [email protected] > > > > > "Jeff Greif" > <[email protected] > inceton.edu> To > <[email protected]> > 08/13/2004 05:28 cc > PM > Subject > utility for validating a string > Please respond to against a simple type > xerces-j-user > > > > > > > > > > I'm looking for a little Java utility based on Xerces (in lieu of writing > it > myself) to validate against its corresponding XSSimpleTypeDefinition a > string that is supposed to conform to a simple type. > > An ugly but obvious approach is to create an document whose root element is > designated to have the appropriate xsi:type with the string as its value > and > parse the serialized document. I'm looking for something better, if it > exists. > > I see there is a class called > org.apache.xerces.impl.dv.xs.XSSimpleTypeDecl > which might be used, but I don't yet see how to produce one from the > XSSimpleTypeDefinition. > > Jeff > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Aug 17 05:06:53 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47707 invoked from network); 17 Aug 2004 05:06:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 17 Aug 2004 05:06:53 -0000 Received: (qmail 94463 invoked by uid 500); 17 Aug 2004 05:06:45 -0000 Delivered-To: [email protected] Received: (qmail 94350 invoked by uid 500); 17 Aug 2004 05:06:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 94337 invoked by uid 99); 17 Aug 2004 05:06:43 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=MIME_BOUND_NEXTPART,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO InDelG01.tcs.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 16 Aug 2004 22:06:42 -0700 Received: from indelg01 ([161.129.204.104]) by InDelG01.tcs.com (Lotus Domino Release 6.0.3) with SMTP id 2004081710340096-21748 ; Tue, 17 Aug 2004 10:34:00 +0530 To: [email protected] Subject: Special characters in XML being validated against a schema MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5 September 26, 2003 From: [email protected] Message-ID: <[email protected]> Date: Tue, 17 Aug 2004 10:33:36 +0530 X-MIMETrack: Serialize by Router on InDelM01/TCS(Release 6.0.3|September 18, 2003) at 08/17/2004 10:33:35, Serialize complete at 08/17/2004 10:33:35, Itemize by SMTP Server on InDelG01/TCS(Release 6.0.3|September 26, 2003) at 08/17/2004 10:34:00 AM, Serialize by Router on InDelG01/TCS(Release 6.0.3|September 26, 2003) at 08/17/2004 10:36:42 AM, Serialize complete at 08/17/2004 10:36:42 AM Content-Type: multipart/mixed; boundary="----=_NextPartTM-000-ce6f3bf6-6c79-4b9e-a42d-1686fabe3960" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------=_NextPartTM-000-ce6f3bf6-6c79-4b9e-a42d-1686fabe3960 Content-Type: text/plain; charset="US-ASCII" Hi, I am new to XML and to the group. I am trying to include special characters into an XML which is to be validated (using xalan) against a schema. I know how its done for an XML file using a DTD for validation but how do i do it for an XML being validated against a schema. Thanks and Regards, Chetan Arora ForwardSourceID:NT0000 ------=_NextPartTM-000-ce6f3bf6-6c79-4b9e-a42d-1686fabe3960 Content-Transfer-Encoding: 7bit Content-Type: text/plain; name="InterScan_Disclaimer.txt" Content-Disposition: attachment; filename="InterScan_Disclaimer.txt" DISCLAIMER: The information contained in this message is intended only and solely for the addressed individual or entity indicated in this message and for the exclusive use of the said addressed individual or entity indicated in this message (or responsible for delivery of the message to such person) and may contain legally privileged and confidential information belonging to Tata Consultancy Services. It must not be printed, read, copied, disclosed, forwarded, distributed or used (in whatsoever manner) by any person other than the addressee. Unauthorized use, disclosure or copying is strictly prohibited and may constitute unlawful act and can possibly attract legal action, civil and/or criminal. The contents of this message need not necessarily reflect or endorse the views of Tata Consultancy Services on any subject matter.] Any action taken or omitted to be taken based on this message is entirely at your risk and neither the originator of this message nor Tata Consultancy Services takes any responsibility or liability towards the same. Opinions, conclusions and any other information contained in this message that do not relate to the official business of Tata Consultancy Services shall be understood as neither given nor endorsed by Tata Consultancy Services or any affiliate of Tata Consultancy Services. If you have received this message in error, you should destroy this message and may please notify the sender by e-mail. Thank you. ------=_NextPartTM-000-ce6f3bf6-6c79-4b9e-a42d-1686fabe3960 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] ------=_NextPartTM-000-ce6f3bf6-6c79-4b9e-a42d-1686fabe3960-- From [email protected] Tue Aug 17 13:34:25 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33998 invoked from network); 17 Aug 2004 13:34:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 17 Aug 2004 13:34:25 -0000 Received: (qmail 26810 invoked by uid 500); 17 Aug 2004 13:34:09 -0000 Delivered-To: [email protected] Received: (qmail 26708 invoked by uid 500); 17 Aug 2004 13:34:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 26617 invoked by uid 99); 17 Aug 2004 13:34:06 -0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=DNS_FROM_RFC_POST,SPF_HELO_PASS X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO homer.w3.org) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 17 Aug 2004 06:34:02 -0700 Received: from localhost (homer.w3.org [161.129.204.104]) by homer.w3.org (Postfix) with ESMTP id 77A3D4F1A0 for <[email protected]>; Tue, 17 Aug 2004 09:33:59 -0400 (EDT) Subject: Re: Special characters in XML being validated against a schema From: "C. M. Sperberg-McQueen" <[email protected]> To: [email protected] In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain Organization: Message-Id: <1092749650.2510.86.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4-1.1mdk Date: 17 Aug 2004 07:34:11 -0600 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Mon, 2004-08-16 at 23:03, [email protected] wrote: > Hi, > > I am new to XML and to the group. I am trying to include special > characters > into an XML which is to be validated (using xalan) against a schema. > I know how its done for an XML file using a DTD for validation but how > do i do it for an XML being validated against a schema. You do it in exactly the same way. By which I mean: with a DTD. The XML Schema validation operates against the XML infoset, after entities and character references are expanded. Use a DTD at the 'front' end of processing (so to speak) to handle entities, and a schema at the 'back' for constraining the element and attribute structure. I hope this helps. -C. M. Sperberg-McQueen World Wide Web Consortium MIT Computer Science and AI Lab --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Aug 17 13:46:57 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 39890 invoked from network); 17 Aug 2004 13:46:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 17 Aug 2004 13:46:57 -0000 Received: (qmail 53945 invoked by uid 500); 17 Aug 2004 13:46:49 -0000 Delivered-To: [email protected] Received: (qmail 53900 invoked by uid 500); 17 Aug 2004 13:46:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 53883 invoked by uid 99); 17 Aug 2004 13:46:48 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=MIME_BOUND_NEXTPART,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO InDelG01.tcs.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 17 Aug 2004 06:46:44 -0700 Received: from indelg01 ([161.129.204.104]) by InDelG01.tcs.com (Lotus Domino Release 6.0.3) with SMTP id 2004081719153560-6947 ; Tue, 17 Aug 2004 19:15:35 +0530 In-Reply-To: <1092749650.2510.86.camel@localhost> To: [email protected] Subject: Re: Special characters in XML being validated against a schema MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5 September 26, 2003 From: [email protected] Message-ID: <[email protected]> Date: Tue, 17 Aug 2004 19:15:10 +0530 X-MIMETrack: Serialize by Router on InDelM01/TCS(Release 6.0.3|September 18, 2003) at 08/17/2004 19:15:10, Serialize complete at 08/17/2004 19:15:10, Itemize by SMTP Server on InDelG01/TCS(Release 6.0.3|September 26, 2003) at 08/17/2004 07:15:35 PM, Serialize by Router on InDelG01/TCS(Release 6.0.3|September 26, 2003) at 08/17/2004 07:16:43 PM, Serialize complete at 08/17/2004 07:16:43 PM Content-Type: multipart/mixed; boundary="----=_NextPartTM-000-9f330fc3-3e17-4522-92a8-49f8b8f50361" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------=_NextPartTM-000-9f330fc3-3e17-4522-92a8-49f8b8f50361 Content-Type: text/plain; charset="US-ASCII" Hi, Thanks for giving me a ray of hope now. Thanks very much indeed :) So does this mean i need to create a DTD file as well for the XML docs that im creating ? because currently i only have a schema for the XML docs. Is there any tool/link that can help me converting from a Schema to a DTD ? i actually did a search on it but all i could find was DTD to Schema converters and not the other way round. Ok worst case scenario - i make the DTD myself. Then i need to add the following code to the top of my XML docs...am i right ? <?xml version="1.0" ?> <!DOCTYPE SYSTEM "MyDTD.dtd"> <myRootElement xmlns='http://www.xyz.com/ContentMetaData' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.xyz.com/ContentMetaData ContentMetaData.xsd'> Which essentially means i will be using a DTD as well as the Schema for my validation process ? Chetan "C. M. Sperberg-McQueen" <[email protected]> 08/17/2004 07:04 PM Please respond to [email protected] To [email protected] cc Subject Re: Special characters in XML being validated against a schema On Mon, 2004-08-16 at 23:03, [email protected] wrote: > Hi, > > I am new to XML and to the group. I am trying to include special > characters > into an XML which is to be validated (using xalan) against a schema. > I know how its done for an XML file using a DTD for validation but how > do i do it for an XML being validated against a schema. You do it in exactly the same way. By which I mean: with a DTD. The XML Schema validation operates against the XML infoset, after entities and character references are expanded. Use a DTD at the 'front' end of processing (so to speak) to handle entities, and a schema at the 'back' for constraining the element and attribute structure. I hope this helps. -C. M. Sperberg-McQueen World Wide Web Consortium MIT Computer Science and AI Lab --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] ForwardSourceID:NT0000260A ------=_NextPartTM-000-9f330fc3-3e17-4522-92a8-49f8b8f50361 Content-Transfer-Encoding: 7bit Content-Type: text/plain; name="InterScan_Disclaimer.txt" Content-Disposition: attachment; filename="InterScan_Disclaimer.txt" DISCLAIMER: The information contained in this message is intended only and solely for the addressed individual or entity indicated in this message and for the exclusive use of the said addressed individual or entity indicated in this message (or responsible for delivery of the message to such person) and may contain legally privileged and confidential information belonging to Tata Consultancy Services. It must not be printed, read, copied, disclosed, forwarded, distributed or used (in whatsoever manner) by any person other than the addressee. Unauthorized use, disclosure or copying is strictly prohibited and may constitute unlawful act and can possibly attract legal action, civil and/or criminal. The contents of this message need not necessarily reflect or endorse the views of Tata Consultancy Services on any subject matter.] Any action taken or omitted to be taken based on this message is entirely at your risk and neither the originator of this message nor Tata Consultancy Services takes any responsibility or liability towards the same. Opinions, conclusions and any other information contained in this message that do not relate to the official business of Tata Consultancy Services shall be understood as neither given nor endorsed by Tata Consultancy Services or any affiliate of Tata Consultancy Services. If you have received this message in error, you should destroy this message and may please notify the sender by e-mail. Thank you. ------=_NextPartTM-000-9f330fc3-3e17-4522-92a8-49f8b8f50361 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] ------=_NextPartTM-000-9f330fc3-3e17-4522-92a8-49f8b8f50361-- From [email protected] Tue Aug 17 14:22:20 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57788 invoked from network); 17 Aug 2004 14:22:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 17 Aug 2004 14:22:19 -0000 Received: (qmail 19573 invoked by uid 500); 17 Aug 2004 14:22:10 -0000 Delivered-To: [email protected] Received: (qmail 19467 invoked by uid 500); 17 Aug 2004 14:22:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 19455 invoked by uid 99); 17 Aug 2004 14:22:09 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO e3.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 17 Aug 2004 07:22:07 -0700 Received: from northrelay02.pok.ibm.com (northrelay02.pok.ibm.com [161.129.204.104]) by e3.ny.us.ibm.com (8.12.10/8.12.9) with ESMTP id i7HEM4Hr712194 for <[email protected]>; Tue, 17 Aug 2004 10:22:04 -0400 Received: from d25ml04.torolab.ibm.com (d01av02.pok.ibm.com [161.129.204.104]) by northrelay02.pok.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id i7HENBXM152334 for <[email protected]>; Tue, 17 Aug 2004 10:23:16 -0400 In-Reply-To: <[email protected]> Subject: Re: Special characters in XML being validated against a schema To: [email protected] X-Mailer: Lotus Notes Build V70_M2_07222004 Beta 2NP July 22, 2004 Message-ID: <[email protected]> From: Ankit Pasricha <[email protected]> Date: Tue, 17 Aug 2004 10:14:52 -0400 X-MIMETrack: Serialize by Router on D25ML04/25/M/IBM(Release 6.0.2CF1|June 9, 2003) at 08/17/2004 10:22:03 MIME-Version: 1.0 Content-type: multipart/mixed; Boundary="0__=0ABBE460DFDE47FF8f9e8a93df938690918c0ABBE460DFDE47FF" Content-Disposition: inline X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --0__=0ABBE460DFDE47FF8f9e8a93df938690918c0ABBE460DFDE47FF Content-type: text/plain; charset=US-ASCII Since schema has functionality which has no equivalent in a DTD, you will probably not find any tools to do XSD-toDTD conversion (even if you do they will be pretty limited in what they can do). You can probably create a sample XML file and use a dtd generator but it would proabbly be easier to write the dtd by hand anyways. Ankit Pasricha XML Parser Development IBM Toronto Lab 8200 Warden Avenue, Ontario L6G 1C7 Phone: 860-947-9872 [email protected]. com To 08/17/2004 09:45 [email protected] AM cc Subject Please respond to Re: Special characters in XML being xerces-j-user@xml validated against a schema .apache.org Hi, Thanks for giving me a ray of hope now. Thanks very much indeed :) So does this mean i need to create a DTD file as well for the XML docs that im creating ? because currently i only have a schema for the XML docs. Is there any tool/link that can help me converting from a Schema to a DTD ? i actually did a search on it but all i could find was DTD to Schema converters and not the other way round. Ok worst case scenario - i make the DTD myself. Then i need to add the following code to the top of my XML docs...am i right ? <?xml version="1.0" ?> <!DOCTYPE SYSTEM "MyDTD.dtd"> <myRootElement xmlns='http://www.xyz.com/ContentMetaData' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.xyz.com/ContentMetaData ContentMetaData.xsd'> Which essentially means i will be using a DTD as well as the Schema for my validation process ? Chetan "C. M. Sperberg-McQueen" <[email protected]> 08/17/2004 07:04 PM Please respond to [email protected] To [email protected] cc Subject Re: Special characters in XML being validated against a schema On Mon, 2004-08-16 at 23:03, [email protected] wrote: > Hi, > > I am new to XML and to the group. I am trying to include special > characters > into an XML which is to be validated (using xalan) against a schema. > I know how its done for an XML file using a DTD for validation but how > do i do it for an XML being validated against a schema. You do it in exactly the same way. By which I mean: with a DTD. The XML Schema validation operates against the XML infoset, after entities and character references are expanded. Use a DTD at the 'front' end of processing (so to speak) to handle entities, and a schema at the 'back' for constraining the element and attribute structure. I hope this helps. -C. M. Sperberg-McQueen World Wide Web Consortium MIT Computer Science and AI Lab --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] ForwardSourceID:NT0000260A (See attached file: InterScan_Disclaimer.txt) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --0__=0ABBE460DFDE47FF8f9e8a93df938690918c0ABBE460DFDE47FF Content-type: application/octet-stream; name="InterScan_Disclaimer.txt" Content-Disposition: attachment; filename="InterScan_Disclaimer.txt" Content-transfer-encoding: base64 RElTQ0xBSU1FUjogVGhlIGluZm9ybWF0aW9uIGNvbnRhaW5lZCBpbiB0aGlzIG1lc3NhZ2UgaXMg aW50ZW5kZWQgb25seSBhbmQgc29sZWx5IGZvciB0aGUgYWRkcmVzc2VkIGluZGl2aWR1YWwgb3Ig ZW50aXR5IGluZGljYXRlZCBpbiB0aGlzIG1lc3NhZ2UgYW5kIGZvciB0aGUgZXhjbHVzaXZlIHVz ZSBvZiB0aGUgc2FpZCBhZGRyZXNzZWQgaW5kaXZpZHVhbCBvciBlbnRpdHkgaW5kaWNhdGVkIGlu IHRoaXMgbWVzc2FnZSAob3IgcmVzcG9uc2libGUgZm9yIGRlbGl2ZXJ5DQpvZiB0aGUgbWVzc2Fn ZSB0byBzdWNoIHBlcnNvbikgYW5kIG1heSBjb250YWluIGxlZ2FsbHkgcHJpdmlsZWdlZCBhbmQg Y29uZmlkZW50aWFsIGluZm9ybWF0aW9uIGJlbG9uZ2luZyB0byBUYXRhIENvbnN1bHRhbmN5IFNl cnZpY2VzLiBJdCBtdXN0IG5vdCBiZSBwcmludGVkLCByZWFkLCBjb3BpZWQsIGRpc2Nsb3NlZCwg Zm9yd2FyZGVkLCBkaXN0cmlidXRlZCBvciB1c2VkIChpbiB3aGF0c29ldmVyIG1hbm5lcikgYnkg YW55IHBlcnNvbiBvdGhlciB0aGFuIHRoZQ0KYWRkcmVzc2VlLiBVbmF1dGhvcml6ZWQgdXNlLCBk aXNjbG9zdXJlIG9yIGNvcHlpbmcgaXMgc3RyaWN0bHkgcHJvaGliaXRlZCBhbmQgbWF5IGNvbnN0 aXR1dGUgdW5sYXdmdWwgYWN0IGFuZCBjYW4gcG9zc2libHkgYXR0cmFjdCBsZWdhbCBhY3Rpb24s IGNpdmlsIGFuZC9vciBjcmltaW5hbC4gVGhlIGNvbnRlbnRzIG9mIHRoaXMgbWVzc2FnZSBuZWVk IG5vdCBuZWNlc3NhcmlseSByZWZsZWN0IG9yIGVuZG9yc2UgdGhlIHZpZXdzIG9mIFRhdGEgQ29u c3VsdGFuY3kgU2VydmljZXMNCm9uIGFueSBzdWJqZWN0IG1hdHRlci5dDQpBbnkgYWN0aW9uIHRh a2VuIG9yIG9taXR0ZWQgdG8gYmUgdGFrZW4gYmFzZWQgb24gdGhpcyBtZXNzYWdlIGlzIGVudGly ZWx5IGF0IHlvdXIgcmlzayBhbmQgbmVpdGhlciB0aGUgb3JpZ2luYXRvciBvZiB0aGlzIG1lc3Nh Z2Ugbm9yIFRhdGEgQ29uc3VsdGFuY3kgU2VydmljZXMgdGFrZXMgYW55IHJlc3BvbnNpYmlsaXR5 IG9yIGxpYWJpbGl0eSB0b3dhcmRzIHRoZSBzYW1lLiBPcGluaW9ucywgY29uY2x1c2lvbnMgYW5k IGFueSBvdGhlcg0KaW5mb3JtYXRpb24gY29udGFpbmVkIGluIHRoaXMgbWVzc2FnZSB0aGF0IGRv IG5vdCByZWxhdGUgdG8gdGhlIG9mZmljaWFsIGJ1c2luZXNzIG9mIFRhdGEgQ29uc3VsdGFuY3kg U2VydmljZXMgc2hhbGwgYmUgdW5kZXJzdG9vZCBhcyBuZWl0aGVyIGdpdmVuIG5vciBlbmRvcnNl ZCBieSBUYXRhIENvbnN1bHRhbmN5IFNlcnZpY2VzIG9yIGFueSBhZmZpbGlhdGUgb2YgVGF0YSBD b25zdWx0YW5jeSBTZXJ2aWNlcy4gSWYgeW91IGhhdmUgcmVjZWl2ZWQgdGhpcyBtZXNzYWdlIGlu IGVycm9yLA0KeW91IHNob3VsZCBkZXN0cm95IHRoaXMgbWVzc2FnZSBhbmQgbWF5IHBsZWFzZSBu b3RpZnkgdGhlIHNlbmRlciBieSBlLW1haWwuIFRoYW5rIHlvdS4NCg0KDQoNCg== --0__=0ABBE460DFDE47FF8f9e8a93df938690918c0ABBE460DFDE47FF Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --0__=0ABBE460DFDE47FF8f9e8a93df938690918c0ABBE460DFDE47FF-- From [email protected] Tue Aug 17 14:46:17 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 72265 invoked from network); 17 Aug 2004 14:46:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 17 Aug 2004 14:46:16 -0000 Received: (qmail 71806 invoked by uid 500); 17 Aug 2004 14:46:05 -0000 Delivered-To: [email protected] Received: (qmail 71731 invoked by uid 500); 17 Aug 2004 14:46:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 71705 invoked by uid 99); 17 Aug 2004 14:46:04 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO e3.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 17 Aug 2004 07:46:03 -0700 Received: from northrelay04.pok.ibm.com (northrelay04.pok.ibm.com [161.129.204.104]) by e3.ny.us.ibm.com (8.12.10/8.12.9) with ESMTP id i7HEk0Hr626438 for <[email protected]>; Tue, 17 Aug 2004 10:46:00 -0400 Received: from d01ml605.pok.ibm.com (d01av04.pok.ibm.com [161.129.204.104]) by northrelay04.pok.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id i7HEl6hD157528 for <[email protected]>; Tue, 17 Aug 2004 10:47:07 -0400 In-Reply-To: <1092749650.2510.86.camel@localhost> Subject: Re: Special characters in XML being validated against a schema To: [email protected] X-Mailer: Lotus Notes Release 6.0 September 26, 2002 Message-ID: <[email protected]> From: Joseph Kesselman <[email protected]> Date: Tue, 17 Aug 2004 10:34:46 -0400 X-MIMETrack: Serialize by Router on D01ML605/01/M/IBM(Release 6.51HF433 | July 14, 2004) at 08/17/2004 10:45:59 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Alternatively, you can use an internal subset (DTD syntax inside the document itself, which keeps things self-contained)... or you skip the mnemonic names and just use numeric character references... or you skip those and just use the characters themselves and pick an encoding which supports them and which your processor understands. (if in doubt, UTF-8 does support everything and is supported by all XML processors). (Schema considered adding an Entity-like macro/import facility, but decided to leave this for other standards to deal with. Unfortunately there hasn't yet been a clear consensus on what the best replacement is...) ______________________________________ Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more. "The world changed profoundly and unpredictably the day Tim Berners Lee got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filk --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Aug 17 18:52:36 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 96149 invoked from network); 17 Aug 2004 18:52:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 17 Aug 2004 18:52:35 -0000 Received: (qmail 36508 invoked by uid 500); 17 Aug 2004 18:52:25 -0000 Delivered-To: [email protected] Received: (qmail 36405 invoked by uid 500); 17 Aug 2004 18:52:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 36262 invoked by uid 99); 17 Aug 2004 18:52:22 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO pillage.dreamhost.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 17 Aug 2004 11:52:19 -0700 Received: from [161.129.204.104] (adsl-68-127-173-235.dsl.pltn13.pacbell.net [161.129.204.104]) by pillage.dreamhost.com (Postfix) with ESMTP id F33801496B3 for <[email protected]>; Tue, 17 Aug 2004 11:52:15 -0700 (PDT) Message-ID: <[email protected]> Date: Tue, 17 Aug 2004 11:52:13 -0700 From: Bob Foster <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040608 X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: Special characters in XML being validated against a schema References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N [email protected] wrote: >Ok worst case scenario - i make the DTD myself. Then i need to >add the following code to the top of my XML docs...am i right ? > > ><?xml version="1.0" ?> ><!DOCTYPE SYSTEM "MyDTD.dtd"> > ><myRootElement >xmlns='http://www.xyz.com/ContentMetaData' >xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' >xsi:schemaLocation='http://www.xyz.com/ContentMetaData >ContentMetaData.xsd'> > > No, it needs to be: <!DOCTYPE myRootElement SYSTEM "MyDTD.dtd"> Bob Foster http://xmlbuddy.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Aug 17 19:33:20 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20699 invoked from network); 17 Aug 2004 19:33:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 17 Aug 2004 19:33:20 -0000 Received: (qmail 84214 invoked by uid 500); 17 Aug 2004 19:33:14 -0000 Delivered-To: [email protected] Received: (qmail 84150 invoked by uid 500); 17 Aug 2004 19:33:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 84137 invoked by uid 99); 17 Aug 2004 19:33:13 -0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=DNS_FROM_RFC_POST,SPF_HELO_PASS X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO homer.w3.org) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 17 Aug 2004 12:33:10 -0700 Received: from localhost (homer.w3.org [161.129.204.104]) by homer.w3.org (Postfix) with ESMTP id E1E484EEEC for <[email protected]>; Tue, 17 Aug 2004 15:33:07 -0400 (EDT) Subject: Re: Special characters in XML being validated against a schema From: "C. M. Sperberg-McQueen" <[email protected]> To: [email protected] In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain Organization: Message-Id: <1092771197.3056.107.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4-1.1mdk Date: 17 Aug 2004 13:33:18 -0600 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Tue, 2004-08-17 at 07:45, [email protected] wrote: > Hi, > > Thanks for giving me a ray of hope now. Thanks very much indeed :) > > > So does this mean i need to create a DTD file as well for the > XML docs that im creating ? because currently i only have a > schema for the XML docs. Is there any tool/link that can help > me converting from a Schema to a DTD ? i actually did a search > on it but all i could find was DTD to Schema converters and not > the other way round. Well, actually, the only things you need to do in the DTD are entity declarations ("&eacute;" and the like). You can use numeric character references ("&#242;" and so on) without a DTD. There is not a great deal of benefit in translating the structural constraints of the schema into DTD notation. (Note that some processors interpret the existence of a DOCTYPE declaration as a request to validate the document and abort if it's not valid; you will need either to avoid those processors or find a way to tell them just to read the DTD for the entity declarations.) If you do use a DTD, then yes, your example of what your document will look like is plausible. I hope this helps. -C. M. Sperberg-McQueen World Wide Web Consortium --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Aug 18 04:24:33 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70714 invoked from network); 18 Aug 2004 04:24:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 18 Aug 2004 04:24:33 -0000 Received: (qmail 21670 invoked by uid 500); 18 Aug 2004 04:24:25 -0000 Delivered-To: [email protected] Received: (qmail 21625 invoked by uid 500); 18 Aug 2004 04:24:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 21614 invoked by uid 99); 18 Aug 2004 04:24:24 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=HTML_40_50,HTML_FONT_INVISIBLE,HTML_MESSAGE,MIME_BOUND_NEXTPART,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO InDelG01.tcs.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 17 Aug 2004 21:24:22 -0700 Received: from indelg01 ([161.129.204.104]) by InDelG01.tcs.com (Lotus Domino Release 6.0.3) with SMTP id 2004081809511175-21142 ; Wed, 18 Aug 2004 09:51:11 +0530 In-Reply-To: <[email protected]> To: [email protected] Subject: Re: Special characters in XML being validated against a schema MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5 September 26, 2003 From: [email protected] Message-ID: <[email protected]> Date: Wed, 18 Aug 2004 09:50:45 +0530 X-MIMETrack: Serialize by Router on InDelM01/TCS(Release 6.0.3|September 18, 2003) at 08/18/2004 09:50:45, Serialize complete at 08/18/2004 09:50:45, Itemize by SMTP Server on InDelG01/TCS(Release 6.0.3|September 26, 2003) at 08/18/2004 09:51:11 AM, Serialize by Router on InDelG01/TCS(Release 6.0.3|September 26, 2003) at 08/18/2004 09:54:21 AM, Serialize complete at 08/18/2004 09:54:21 AM Content-Type: multipart/mixed; boundary="----=_NextPartTM-000-adf335cb-3b36-47d1-98c9-ca63c5ec802a" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------=_NextPartTM-000-adf335cb-3b36-47d1-98c9-ca63c5ec802a Content-Type: multipart/alternative; boundary="=_alternative 00174E8665256EF4_=" --=_alternative 00174E8665256EF4_= Content-Type: text/plain; charset="US-ASCII" Hi Joseph, Thanks for your reply. I have actually tried out a couple of things and this is what i found out: I tried defining an inernal subset and tried using just character references in it. My XML header looked something like this: <?xml version="1.0" ?> <!DOCTYPE myRootElement [<!ENTITY eacute "&#231;"> ] > then i removed all special characters in my input file and ran my java application which converts the input to XML (which has a header as shown above), parses and then validates it. I got the following error message: Element type myRootElement must be declared. I then added a DTD instead of directly adding entities and ended up creating an entire DTD with all the elements that appear in my XML !! How do i actually define an internal subset ? How do i define only character entities in it ? Where am i going wrong ? According to your suggestion i tried using the UTF-8 encoding tag in my doc header: <?xml version="1.0" encoding="utf-8" ?> and put the special characters back into my doc. However, the following error showed up this time: Invalid byte 2 of 3-byte UTF-8 sequence. I am using Xalan (which i believe in turn uses Xerces) to do the parsing and validation. Why could this error be occuring ? Thanks for your help. Regards, Chetan Joseph Kesselman <[email protected]> 08/17/2004 08:04 PM Please respond to [email protected] To [email protected] cc Subject Re: Special characters in XML being validated against a schema Alternatively, you can use an internal subset (DTD syntax inside the document itself, which keeps things self-contained)... or you skip the mnemonic names and just use numeric character references... or you skip those and just use the characters themselves and pick an encoding which supports them and which your processor understands. (if in doubt, UTF-8 does support everything and is supported by all XML processors). (Schema considered adding an Entity-like macro/import facility, but decided to leave this for other standards to deal with. Unfortunately there hasn't yet been a clear consensus on what the best replacement is...) ______________________________________ Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more. "The world changed profoundly and unpredictably the day Tim Berners Lee got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filk --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] ForwardSourceID:NT0000261E --=_alternative 00174E8665256EF4_= Content-Type: text/html; charset="US-ASCII" <br><font size=2 face="sans-serif">Hi Joseph,</font> <br> <br><font size=2 face="sans-serif">Thanks for your reply. &nbsp;I have actually tried out a couple of things and this is</font> <br><font size=2 face="sans-serif">what i found out:</font> <br> <br> <ul> <li><font size=2 face="sans-serif">I tried defining an inernal subset and tried using just character references in it.</font></ul><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; My XML header looked something like this:</font> <br> <br><font size=2 face="sans-serif">&lt;?xml version=&quot;1.0&quot; ?&gt;</font> <br><font size=2 face="sans-serif">&lt;!DOCTYPE myRootElement [&lt;!ENTITY eacute &quot;&amp;#231;&quot;&gt; ] &gt;</font> <br> <br><font size=2 face="sans-serif">then i removed all special characters in my input file and ran my java application</font> <br><font size=2 face="sans-serif">which converts the input to XML (which has a header as shown above), parses and </font> <br><font size=2 face="sans-serif">then validates it. I got the following &nbsp;error message: Element type myRootElement </font> <br><font size=2 face="sans-serif">must be declared. I then added a DTD instead of directly adding entities and ended </font> <br><font size=2 face="sans-serif">up creating an entire DTD with all the elements that appear in my XML !!</font> <br> <br><font size=2 face="sans-serif">How do i actually define an internal subset ? How do i define only character entities</font> <br><font size=2 face="sans-serif">in it ? Where am i going wrong ?</font> <br> <br> <ul> <li><font size=2 face="sans-serif">According to your suggestion i tried using the UTF-8 encoding tag in my doc header:</font></ul><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp;&lt;?xml version=&quot;1.0&quot; &nbsp;encoding=&quot;utf-8&quot; ?&gt;</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; and put the special characters back into my doc. However, the following error showed</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; up this time:</font> <br> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; Invalid byte 2 of 3-byte UTF-8 sequence.</font> <br><font size=2 face="sans-serif">&nbsp;</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp;I am using Xalan (which i believe in turn uses Xerces) to do the parsing and validation. Why</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp;could this error be occuring ?</font> <br> <br> <br><font size=2 face="sans-serif">Thanks for your help.</font> <br> <br> <br><font size=2 face="sans-serif">Regards,</font> <br><font size=2 face="sans-serif"><br> Chetan </font> <br> <br> <br> <br> <br> <table width=100%> <tr valign=top> <td width=40%><font size=1 face="sans-serif"><b>Joseph Kesselman &lt;[email protected]&gt;</b> </font> <p><font size=1 face="sans-serif">08/17/2004 08:04 PM</font> <br> <table border> <tr valign=top> <td bgcolor=white> <div align=center><font size=1 face="sans-serif">Please respond to<br> [email protected]</font></div></table> <br> <td width=59%> <table width=100%> <tr> <td> <div align=right><font size=1 face="sans-serif">To</font></div> <td valign=top><font size=1 face="sans-serif">[email protected]</font> <tr> <td> <div align=right><font size=1 face="sans-serif">cc</font></div> <td valign=top> <tr> <td> <div align=right><font size=1 face="sans-serif">Subject</font></div> <td valign=top><font size=1 face="sans-serif">Re: Special characters in XML being validated against a schema</font></table> <br> <table> <tr valign=top> <td> <td></table> <br></table> <br> <br> <br><font size=2><tt><br> <br> <br> <br> Alternatively, you can use an internal subset (DTD syntax inside the<br> document itself, which keeps things self-contained)...<br> <br> or you skip the mnemonic names and just use numeric character references...<br> <br> or you skip those and just use the characters themselves and pick an<br> encoding which supports them and which your processor understands. (if in<br> doubt, UTF-8 does support everything and is supported by all XML<br> processors).<br> <br> <br> (Schema considered adding an Entity-like macro/import facility, but decided<br> to leave this for other standards to deal with. Unfortunately there hasn't<br> yet been a clear consensus on what the best replacement is...)<br> <br> ______________________________________<br> Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more.<br> &quot;The world changed profoundly and unpredictably the day Tim Berners Lee<br> got bitten by a radioactive spider.&quot; -- Rafe Culpin, in r.m.filk<br> <br> <br> ---------------------------------------------------------------------<br> To unsubscribe, e-mail: [email protected]<br> For additional commands, e-mail: [email protected]<br> <br> </tt></font> <br><font size=2 color=white face="sans-serif">ForwardSourceID:NT0000261E &nbsp; &nbsp;</font> <br> --=_alternative 00174E8665256EF4_=-- ------=_NextPartTM-000-adf335cb-3b36-47d1-98c9-ca63c5ec802a Content-Transfer-Encoding: 7bit Content-Type: text/plain; name="InterScan_Disclaimer.txt" Content-Disposition: attachment; filename="InterScan_Disclaimer.txt" DISCLAIMER: The information contained in this message is intended only and solely for the addressed individual or entity indicated in this message and for the exclusive use of the said addressed individual or entity indicated in this message (or responsible for delivery of the message to such person) and may contain legally privileged and confidential information belonging to Tata Consultancy Services. It must not be printed, read, copied, disclosed, forwarded, distributed or used (in whatsoever manner) by any person other than the addressee. Unauthorized use, disclosure or copying is strictly prohibited and may constitute unlawful act and can possibly attract legal action, civil and/or criminal. The contents of this message need not necessarily reflect or endorse the views of Tata Consultancy Services on any subject matter.] Any action taken or omitted to be taken based on this message is entirely at your risk and neither the originator of this message nor Tata Consultancy Services takes any responsibility or liability towards the same. Opinions, conclusions and any other information contained in this message that do not relate to the official business of Tata Consultancy Services shall be understood as neither given nor endorsed by Tata Consultancy Services or any affiliate of Tata Consultancy Services. If you have received this message in error, you should destroy this message and may please notify the sender by e-mail. Thank you. ------=_NextPartTM-000-adf335cb-3b36-47d1-98c9-ca63c5ec802a Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] ------=_NextPartTM-000-adf335cb-3b36-47d1-98c9-ca63c5ec802a-- From [email protected] Wed Aug 18 04:27:26 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71918 invoked from network); 18 Aug 2004 04:27:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 18 Aug 2004 04:27:26 -0000 Received: (qmail 24983 invoked by uid 500); 18 Aug 2004 04:27:17 -0000 Delivered-To: [email protected] Received: (qmail 24957 invoked by uid 500); 18 Aug 2004 04:27:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 24944 invoked by uid 99); 18 Aug 2004 04:27:17 -0000 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=HTML_40_50,HTML_MESSAGE,MIME_BOUND_NEXTPART,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO InDelG01.tcs.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 17 Aug 2004 21:27:16 -0700 Received: from indelg01 ([161.129.204.104]) by InDelG01.tcs.com (Lotus Domino Release 6.0.3) with SMTP id 2004081809560771-21503 ; Wed, 18 Aug 2004 09:56:07 +0530 In-Reply-To: <1092771197.3056.107.camel@localhost> To: [email protected] Subject: Re: Special characters in XML being validated against a schema MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5 September 26, 2003 From: [email protected] Message-ID: <[email protected]> Date: Wed, 18 Aug 2004 09:55:40 +0530 X-MIMETrack: Serialize by Router on InDelM01/TCS(Release 6.0.3|September 18, 2003) at 08/18/2004 09:55:41, Serialize complete at 08/18/2004 09:55:41, Itemize by SMTP Server on InDelG01/TCS(Release 6.0.3|September 26, 2003) at 08/18/2004 09:56:07 AM, Serialize by Router on InDelG01/TCS(Release 6.0.3|September 26, 2003) at 08/18/2004 09:57:03 AM, Serialize complete at 08/18/2004 09:57:03 AM Content-Type: multipart/mixed; boundary="----=_NextPartTM-000-ebeec611-c534-4b78-a48a-a5cdc33101ff" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------=_NextPartTM-000-ebeec611-c534-4b78-a48a-a5cdc33101ff Content-Type: multipart/alternative; boundary="=_alternative 0017C37065256EF4_=" --=_alternative 0017C37065256EF4_= Content-Type: text/plain; charset="US-ASCII" Ankit and Bob thanks for your replies. >(Note that some processors interpret the existence of >a DOCTYPE declaration as a request to validate the >document and abort if it's not valid; you will need >either to avoid those processors or find a way to tell >them just to read the DTD for the entity declarations.) Hi CM, Yes i think thats exaclty what is happening. Im using the Xalan processor. How do i get down to tell the processor to read the DTD for entity declarations only ? and not to look for element definitions ? Regards, Chetan --=_alternative 0017C37065256EF4_= Content-Type: text/html; charset="US-ASCII" <br><font size=2 face="sans-serif">Ankit and Bob thanks for your replies.</font> <br> <br> <br><font size=2><tt>&gt;(Note that some processors interpret the existence of<br> &gt;a DOCTYPE declaration as a request to validate the<br> &gt;document and abort if it's not valid; you will need<br> &gt;either to avoid those processors or find a way to tell<br> &gt;them just to read the DTD for the entity declarations.)<br> </tt></font> <br> <br><font size=2 face="sans-serif">Hi CM,</font> <br> <br> <br><font size=2 face="sans-serif">Yes i think thats exaclty what is happening. Im using the Xalan processor. How</font> <br><font size=2 face="sans-serif">do i get down to tell the processor to read the DTD for entity declarations only ?</font> <br><font size=2 face="sans-serif">and not to look for element definitions ?</font> <br> <br> <br><font size=2 face="sans-serif">Regards,</font> <br><font size=2 face="sans-serif"><br> Chetan <br> </font> --=_alternative 0017C37065256EF4_=-- ------=_NextPartTM-000-ebeec611-c534-4b78-a48a-a5cdc33101ff Content-Transfer-Encoding: 7bit Content-Type: text/plain; name="InterScan_Disclaimer.txt" Content-Disposition: attachment; filename="InterScan_Disclaimer.txt" DISCLAIMER: The information contained in this message is intended only and solely for the addressed individual or entity indicated in this message and for the exclusive use of the said addressed individual or entity indicated in this message (or responsible for delivery of the message to such person) and may contain legally privileged and confidential information belonging to Tata Consultancy Services. It must not be printed, read, copied, disclosed, forwarded, distributed or used (in whatsoever manner) by any person other than the addressee. Unauthorized use, disclosure or copying is strictly prohibited and may constitute unlawful act and can possibly attract legal action, civil and/or criminal. The contents of this message need not necessarily reflect or endorse the views of Tata Consultancy Services on any subject matter.] Any action taken or omitted to be taken based on this message is entirely at your risk and neither the originator of this message nor Tata Consultancy Services takes any responsibility or liability towards the same. Opinions, conclusions and any other information contained in this message that do not relate to the official business of Tata Consultancy Services shall be understood as neither given nor endorsed by Tata Consultancy Services or any affiliate of Tata Consultancy Services. If you have received this message in error, you should destroy this message and may please notify the sender by e-mail. Thank you. ------=_NextPartTM-000-ebeec611-c534-4b78-a48a-a5cdc33101ff Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] ------=_NextPartTM-000-ebeec611-c534-4b78-a48a-a5cdc33101ff-- From [email protected] Wed Aug 18 18:58:22 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6966 invoked from network); 18 Aug 2004 18:58:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 18 Aug 2004 18:58:22 -0000 Received: (qmail 95487 invoked by uid 500); 18 Aug 2004 18:58:16 -0000 Delivered-To: [email protected] Received: (qmail 95418 invoked by uid 500); 18 Aug 2004 18:58:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 95404 invoked by uid 99); 18 Aug 2004 18:58:15 -0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=DNS_FROM_RFC_POST,SPF_HELO_PASS X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO homer.w3.org) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Wed, 18 Aug 2004 11:58:12 -0700 Received: from localhost (homer.w3.org [161.129.204.104]) by homer.w3.org (Postfix) with ESMTP id D1F774F135 for <[email protected]>; Wed, 18 Aug 2004 14:58:09 -0400 (EDT) Subject: Re: Special characters in XML being validated against a schema From: "C. M. Sperberg-McQueen" <[email protected]> To: [email protected] In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain Organization: Message-Id: <1092855491.13782.117.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4-1.1mdk Date: 18 Aug 2004 12:58:12 -0600 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N [offline] On Tue, 2004-08-17 at 22:25, [email protected] wrote: > Ankit and Bob thanks for your replies. > > > >(Note that some processors interpret the existence of > >a DOCTYPE declaration as a request to validate the > >document and abort if it's not valid; you will need > >either to avoid those processors or find a way to tell > >them just to read the DTD for the entity declarations.) > > > Hi CM, > > > Yes i think thats exaclty what is happening. Im using the Xalan > processor. How > do i get down to tell the processor to read the DTD for entity > declarations only ? > and not to look for element definitions ? Good question. I hope someone else on the list knows. Can you just trap the error? Michael --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Aug 18 19:38:15 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31994 invoked from network); 18 Aug 2004 19:38:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 18 Aug 2004 19:38:14 -0000 Received: (qmail 475 invoked by uid 500); 18 Aug 2004 19:38:08 -0000 Delivered-To: [email protected] Received: (qmail 439 invoked by uid 500); 18 Aug 2004 19:38:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 420 invoked by uid 99); 18 Aug 2004 19:38:07 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO lion.seas.upenn.edu) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Wed, 18 Aug 2004 12:38:05 -0700 Received: from lvn513pc6.cis.upenn.edu (LVN513PC6.cis.upenn.edu [161.129.204.104]) by lion.seas.upenn.edu (8.12.10/8.12.10) with ESMTP id i7IJbjbJ022403 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT) for <[email protected]>; Wed, 18 Aug 2004 15:37:56 -0400 Received: from lvn513pc6.cis.upenn.edu (localhost.upenn.edu [161.129.204.104]) by lvn513pc6.cis.upenn.edu (8.12.10/8.12.8) with ESMTP id i7IJbjnF010721 for <[email protected]>; Wed, 18 Aug 2004 15:37:45 -0400 Received: from localhost (nikhild@localhost) by lvn513pc6.cis.upenn.edu (8.12.10/8.12.8/Submit) with ESMTP id i7IJbjRS010718 for <[email protected]>; Wed, 18 Aug 2004 15:37:45 -0400 Date: Wed, 18 Aug 2004 15:37:45 -0400 (EDT) From: Nikhil Dinesh <[email protected]> To: [email protected] Subject: Re: Special characters in XML being validated against a schema In-Reply-To: <1092855491.13782.117.camel@localhost> Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On 18 Aug 2004, C. M. Sperberg-McQueen wrote: > [offline] > > > On Tue, 2004-08-17 at 22:25, [email protected] wrote: > > Ankit and Bob thanks for your replies. > > > > > > >(Note that some processors interpret the existence of > > >a DOCTYPE declaration as a request to validate the > > >document and abort if it's not valid; you will need > > >either to avoid those processors or find a way to tell > > >them just to read the DTD for the entity declarations.) > > > > > > Hi CM, > > > > > > Yes i think thats exaclty what is happening. Im using the Xalan > > processor. How > > do i get down to tell the processor to read the DTD for entity > > declarations only ? > > and not to look for element definitions ? > > > Good question. I hope someone else on the list knows. > > Can you just trap the error? > > Michael > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > This may be a little more complicated than is necessary, but working with collections of DTDs and Schemas is always problematic. Since you're using Xalan, consider using a SAX2SAX transform. In the SAX source set http://xml.org/sax/features/validation to be false. Your entities will come out expanded. In the SAXResult, set Content and LexicalHandler which just wrap around the TransformerHandler(this TransformerHandler will be the input to your actual transformation). Now in the Handlers which wrap the TransformerHandler just dont pass on the DTD events which will be obtained by your lexical handler. If I remember right, you should find code snippets in Xalan samples/trax. If efficiency is an issue you can bypass SAX2SAX and just do a Handler to source transform pretty similarly. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Aug 18 19:51:17 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37442 invoked from network); 18 Aug 2004 19:51:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 18 Aug 2004 19:51:17 -0000 Received: (qmail 34720 invoked by uid 500); 18 Aug 2004 19:51:12 -0000 Delivered-To: [email protected] Received: (qmail 34680 invoked by uid 500); 18 Aug 2004 19:51:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 34669 invoked by uid 99); 18 Aug 2004 19:51:12 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO mail.gmx.net) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with SMTP; Wed, 18 Aug 2004 12:51:10 -0700 Received: (qmail 28765 invoked by uid 65534); 18 Aug 2004 19:51:08 -0000 Received: from chello062178000135.1.11.univie.teleweb.at (EHLO [161.129.204.104]) (161.129.204.104) by mail.gmx.net (mp010) with SMTP; 18 Aug 2004 21:51:08 +0200 X-Authenticated: #647877 Message-ID: <[email protected]> Date: Wed, 18 Aug 2004 21:50:59 +0200 From: Sebastian Redl <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a1) Gecko/20040520 X-Accept-Language: de-at, de, en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: Special characters in XML being validated against a schema References: <[email protected]> <1092855491.13782.117.camel@localhost> In-Reply-To: <1092855491.13782.117.camel@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N C. M. Sperberg-McQueen wrote: >[offline] > > >On Tue, 2004-08-17 at 22:25, [email protected] wrote: > > >Good question. I hope someone else on the list knows. > >Can you just trap the error? > >Michael > > > You could work around it: <!DOCTYPE myRootElement [ <!ELEMENT myRootElement ANY> <!ATTRIBUTES myRootElement (whatever)> ]> Sebastian --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Aug 18 20:56:54 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68552 invoked from network); 18 Aug 2004 20:56:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 18 Aug 2004 20:56:54 -0000 Received: (qmail 2701 invoked by uid 500); 18 Aug 2004 20:55:13 -0000 Delivered-To: [email protected] Received: (qmail 2626 invoked by uid 500); 18 Aug 2004 20:55:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 2540 invoked by uid 99); 18 Aug 2004 20:55:09 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO stag.seas.upenn.edu) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Wed, 18 Aug 2004 13:55:06 -0700 Received: from lvn513pc6.cis.upenn.edu (LVN513PC6.cis.upenn.edu [161.129.204.104]) by stag.seas.upenn.edu (8.12.10/8.12.10) with ESMTP id i7IKt3lG002097 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT) for <[email protected]>; Wed, 18 Aug 2004 16:55:03 -0400 Received: from lvn513pc6.cis.upenn.edu (localhost.upenn.edu [161.129.204.104]) by lvn513pc6.cis.upenn.edu (8.12.10/8.12.8) with ESMTP id i7IKt3nF010870 for <[email protected]>; Wed, 18 Aug 2004 16:55:03 -0400 Received: from localhost (nikhild@localhost) by lvn513pc6.cis.upenn.edu (8.12.10/8.12.8/Submit) with ESMTP id i7IKt3vS010867 for <[email protected]>; Wed, 18 Aug 2004 16:55:03 -0400 Date: Wed, 18 Aug 2004 16:55:03 -0400 (EDT) From: Nikhil Dinesh <[email protected]> To: [email protected] Subject: Re: Special characters in XML being validated against a schema In-Reply-To: <[email protected]> Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Wed, 18 Aug 2004, Nikhil Dinesh wrote: > On 18 Aug 2004, C. M. Sperberg-McQueen wrote: > > > [offline] > > > > > > On Tue, 2004-08-17 at 22:25, [email protected] wrote: > > > Ankit and Bob thanks for your replies. > > > > > > > > > >(Note that some processors interpret the existence of > > > >a DOCTYPE declaration as a request to validate the > > > >document and abort if it's not valid; you will need > > > >either to avoid those processors or find a way to tell > > > >them just to read the DTD for the entity declarations.) > > > > > > > > > Hi CM, > > > > > > > > > Yes i think thats exaclty what is happening. Im using the Xalan > > > processor. How > > > do i get down to tell the processor to read the DTD for entity > > > declarations only ? > > > and not to look for element definitions ? > > > > > > Good question. I hope someone else on the list knows. > > > > Can you just trap the error? > > > > Michael > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > This may be a little more complicated than is necessary, but working with > collections of DTDs and Schemas is always problematic. > > Since you're using Xalan, consider using a SAX2SAX transform. > > In the SAX source set http://xml.org/sax/features/validation to be false. > Your entities will come out expanded. > > In the SAXResult, set Content and LexicalHandler which just wrap around > the TransformerHandler(this TransformerHandler will be the input to your > actual transformation). Now in the Handlers which wrap the > TransformerHandler just dont pass on the DTD events which will be obtained > by your lexical handler. > > If I remember right, you should find code snippets in Xalan samples/trax. > > If efficiency is an issue you can bypass SAX2SAX and just do a Handler to > source transform pretty similarly. Untested but the following might work: Instead of using <!DOCTYPE...> use: <!ENTITY entityDeclarations SYSTEM "sys path to DTD"> &entityDeclarations; ...rest of xml... --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Aug 19 14:10:18 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30715 invoked from network); 19 Aug 2004 14:10:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 19 Aug 2004 14:10:17 -0000 Received: (qmail 22742 invoked by uid 500); 19 Aug 2004 14:10:02 -0000 Delivered-To: [email protected] Received: (qmail 22642 invoked by uid 500); 19 Aug 2004 14:10:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 22624 invoked by uid 99); 19 Aug 2004 14:10:00 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO relay1.vianetworks.nl) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Thu, 19 Aug 2004 07:09:58 -0700 Received: from iae.nl (bifur.vianetworks.nl [161.129.204.104]) by relay1.vianetworks.nl (Postfix) with SMTP id 54F312FA2F for <[email protected]>; Thu, 19 Aug 2004 16:09:30 +0200 (MEST) Received: from 161.129.204.104 (SquirrelMail authenticated user yellow14) by webmail.iae.nl with HTTP; Thu, 19 Aug 2004 16:09:07 +0200 (CEST) Message-ID: <[email protected]> Date: Thu, 19 Aug 2004 16:09:07 +0200 (CEST) Subject: Special characters as question marks? From: "Felix Planjer" <[email protected]> To: <[email protected]> X-Priority: 3 Importance: Normal X-Mailer: SquirrelMail (version 1.2.8) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I've been trying to figure this out for a few days now, and cannot find the solution. Our xml document has element like to following in it: <comp>&#x2264;</comp> The &x2264; if the lower(or higher?)-equal character. When using xalan to create html from this the browser displays the correct character. If I serialize the DOMDocument, it write &x2264; to the file. This all works fine. The problem is with the following code: Node compNode = XPathAPI.selectSingleNode(item, "./atp_specification_comparator1/text()"); String comp = comp.getNodeValue() The comp string contains the character '?' instead of something I can use. We're using jre1.3.1 and xerces 2.6.2 How can I read the correct character from the xmlDocument? regards, Felix --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Aug 19 14:29:53 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40216 invoked from network); 19 Aug 2004 14:29:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 19 Aug 2004 14:29:52 -0000 Received: (qmail 76787 invoked by uid 500); 19 Aug 2004 14:29:46 -0000 Delivered-To: [email protected] Received: (qmail 76666 invoked by uid 500); 19 Aug 2004 14:29:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 76637 invoked by uid 99); 19 Aug 2004 14:29:44 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO e6.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Thu, 19 Aug 2004 07:29:42 -0700 Received: from northrelay04.pok.ibm.com (northrelay04.pok.ibm.com [161.129.204.104]) by e6.ny.us.ibm.com (8.12.10/8.12.9) with ESMTP id i7JETdnt674668 for <[email protected]>; Thu, 19 Aug 2004 10:29:39 -0400 Received: from d01ml605.pok.ibm.com (d01av04.pok.ibm.com [161.129.204.104]) by northrelay04.pok.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id i7JEUhwn154030 for <[email protected]>; Thu, 19 Aug 2004 10:30:43 -0400 In-Reply-To: <[email protected]> Subject: Re: Special characters as question marks? To: [email protected] X-Mailer: Lotus Notes Release 6.0 September 26, 2002 Message-ID: <[email protected]> From: Joseph Kesselman <[email protected]> Date: Thu, 19 Aug 2004 10:16:15 -0400 X-MIMETrack: Serialize by Router on D01ML605/01/M/IBM(Release 6.51HF433 | July 14, 2004) at 08/19/2004 10:29:35 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Are you sure the string contains the '?' character, rather than the tool you're using to display that character displaying it as '?'...? The former would be hard to explain; the latter is a fairly common problem. ______________________________________ Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more. "The world changed profoundly and unpredictably the day Tim Berners Lee got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filk --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Aug 19 14:33:25 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41841 invoked from network); 19 Aug 2004 14:33:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 19 Aug 2004 14:33:25 -0000 Received: (qmail 85856 invoked by uid 500); 19 Aug 2004 14:33:00 -0000 Delivered-To: [email protected] Received: (qmail 85815 invoked by uid 500); 19 Aug 2004 14:32:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 85780 invoked by uid 99); 19 Aug 2004 14:32:59 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO relay3.vianetworks.nl) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Thu, 19 Aug 2004 07:32:54 -0700 Received: from iae.nl (bifur.vianetworks.nl [161.129.204.104]) by relay3.vianetworks.nl (Postfix) with SMTP id 991C82F060 for <[email protected]>; Thu, 19 Aug 2004 16:32:51 +0200 (MEST) Received: from 161.129.204.104 (SquirrelMail authenticated user yellow14) by webmail.iae.nl with HTTP; Thu, 19 Aug 2004 16:32:51 +0200 (CEST) Message-ID: <[email protected]> Date: Thu, 19 Aug 2004 16:32:51 +0200 (CEST) Subject: Re: Special characters as question marks? From: "Felix Planjer" <[email protected]> To: <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> X-Priority: 3 Importance: Normal X-Mailer: SquirrelMail (version 1.2.8) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I could be wrong, but I've tested it and am fairly sure the string contains '?'. If I output: comp.getNodeValue().getBytes()[0] it has the value 63, which is the byte value of an '?' > > > > > Are you sure the string contains the '?' character, rather than the tool > you're using to display that character displaying it as '?'...? The > former would be hard to explain; the latter is a fairly common problem. > > ______________________________________ > Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more. > "The world changed profoundly and unpredictably the day Tim Berners Lee > got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filk > > > --------------------------------------------------------------------- To > unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Aug 20 16:56:54 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94489 invoked from network); 20 Aug 2004 16:56:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 20 Aug 2004 16:56:54 -0000 Received: (qmail 15904 invoked by uid 500); 20 Aug 2004 16:56:48 -0000 Delivered-To: [email protected] Received: (qmail 15868 invoked by uid 500); 20 Aug 2004 16:56:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 15856 invoked by uid 99); 20 Aug 2004 16:56:47 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO pillage.dreamhost.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 20 Aug 2004 09:56:45 -0700 Received: from [161.129.204.104] (adsl-860-947-9872.dsl.pltn13.pacbell.net [161.129.204.104]) by pillage.dreamhost.com (Postfix) with ESMTP id 835551496DF for <[email protected]>; Fri, 20 Aug 2004 09:56:44 -0700 (PDT) Message-ID: <[email protected]> Date: Fri, 20 Aug 2004 09:56:43 -0700 From: Bob Foster <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040608 X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: Special characters as question marks? References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N The value &#x2264; can't be contained in a byte (0-256). Bob Foster http://xmlbuddy.com Felix Planjer wrote: >I could be wrong, but I've tested it and am fairly sure the string >contains '?'. > >If I output: >comp.getNodeValue().getBytes()[0] > >it has the value 63, which is the byte value of an '?' > > > > > >> >> >>Are you sure the string contains the '?' character, rather than the tool >>you're using to display that character displaying it as '?'...? The >>former would be hard to explain; the latter is a fairly common problem. >> >>______________________________________ >>Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more. >>"The world changed profoundly and unpredictably the day Tim Berners Lee >>got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filk >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Aug 20 17:15:50 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 1473 invoked from network); 20 Aug 2004 17:15:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 20 Aug 2004 17:15:50 -0000 Received: (qmail 46355 invoked by uid 500); 20 Aug 2004 17:15:46 -0000 Delivered-To: [email protected] Received: (qmail 46226 invoked by uid 500); 20 Aug 2004 17:15:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 46212 invoked by uid 99); 20 Aug 2004 17:15:45 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO verioseag002.businessxchange.verio.net) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 20 Aug 2004 10:15:39 -0700 Received: from veriosimr001.VRO1.COM (unverified) by verioseag002.businessxchange.verio.net (Content Technologies SMTPRS 4.3.12) with ESMTP id <[email protected]> for <[email protected]>; Fri, 20 Aug 2004 13:18:29 -0400 Received: from VERIOVEXC008.VRO1.COM ([161.129.204.104]) by veriosimr001.VRO1.COM with Microsoft SMTPSVC(6.0.3790.0); Fri, 20 Aug 2004 13:15:37 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: RE: Special characters as question marks? Date: Fri, 20 Aug 2004 13:15:36 -0400 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Special characters as question marks? Thread-Index: AcSF+Xr5nZtanESNQAO8hVI2lEuaMQA3sKwQ From: "Christopher Ebert" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 20 Aug 2004 17:15:37.0499 (UTC) FILETIME=[4F9DE6B0:01C486D9] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N When you use 'getBytes()' it uses a default encoding, which probably doesn't support your character. If you use getBytes("UTF8") you will get a string that may look a little odd, but it will represent all the characters, without mapping any to '?'. Chris =20 -----Original Message----- From: Felix Planjer [mailto:[email protected]]=20 Sent: Thursday, August 19, 2004 07:33 To: [email protected] Subject: Re: Special characters as question marks? I could be wrong, but I've tested it and am fairly sure the string contains '?'. If I output: comp.getNodeValue().getBytes()[0] it has the value 63, which is the byte value of an '?' > > > > > Are you sure the string contains the '?' character, rather than the=20 > tool you're using to display that character displaying it as '?'...?=20 > The former would be hard to explain; the latter is a fairly common problem. > > ______________________________________ > Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more. > "The world changed profoundly and unpredictably the day Tim Berners=20 > Lee got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filk > > > ---------------------------------------------------------------------=20 > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Aug 21 09:01:19 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 75023 invoked from network); 21 Aug 2004 09:01:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 21 Aug 2004 09:01:19 -0000 Received: (qmail 88585 invoked by uid 500); 21 Aug 2004 09:01:15 -0000 Delivered-To: [email protected] Received: (qmail 88556 invoked by uid 500); 21 Aug 2004 09:01:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 88544 invoked by uid 99); 21 Aug 2004 09:01:14 -0000 X-ASF-Spam-Status: No, hits=1.6 required=10.0 tests=RCVD_IN_NJABL_DUL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO localhost.localdomain) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Sat, 21 Aug 2004 02:01:13 -0700 Received: from [161.129.204.104] ([161.129.204.104]) by localhost.localdomain (8.12.8/8.12.8) with ESMTP id i7L8pv1p003822 for <[email protected]>; Sat, 21 Aug 2004 09:51:58 +0100 Subject: xml schema validation - null pointer From: Rob Exley <[email protected]> To: [email protected] Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-+bvc9kCe/FdBqClzyo1A" Message-Id: <1093078438.5151.15.camel@galileo> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Sat, 21 Aug 2004 09:53:58 +0100 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --=-+bvc9kCe/FdBqClzyo1A Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I wouldn't classify myself as a java programmer so be gentle with me.... I am trying to use xerces-j to validate xml documents with an asociated XML Schema. I have already validated with OxygenXML, xmllint and XSV so I know all is well. It's just that I would like the option of validating at run-time also. I have downloaded some sample code from the IBM tutorial site and everything seems hunky-dory until I try to enable the schema validation feature. As soon as the setFeature lines are introduced I start to get null pointer exceptions being thrown. I would appreciate any help or guidance that anyone can provide as I am somewhat bemused....=20 FYI - I am currently trying this against xerces-j 2.6.2 but I seem to get this error regardless of the version. I have included the source code as well as the output from running this. /* * Created on Aug 16, 2004 * * TODO To change the template for this generated file go to * Window - Preferences - Java - Code Style - Code Templates */ /** * @author r_exley * * TODO To change the template for this generated type comment go to * Window - Preferences - Java - Code Style - Code Templates */ import org.apache.xerces.parsers.DOMParser; import org.w3c.dom.Document; import org.xml.sax.SAXException; import org.xml.sax.SAXNotRecognizedException; import org.xml.sax.SAXNotSupportedException; import java.io.IOException; public class DOMParserDemo { private static void setFeature(String feature, boolean setting){ System.out.println("feature: " + feature); System.out.println("setting: " + setting); try { parser.setFeature(feature, setting); } catch (SAXNotRecognizedException e) { System.out.print("Unrecognized feature: "); System.out.println(feature); } catch (SAXNotSupportedException e) { System.out.print("Unrecognized feature: "); System.out.println(feature); } } public static DOMParser parser =3D null; public static void main (String args[]){ DOMParser parser =3D new DOMParser(); Document doc =3D null; setFeature("http://xml.org/sax/features/validation", true); setFeature("http://apache.org/xml/features/validation/schema",true);=20 // try { // =20 //parser.parse("../consumer-score/example_score_request.xml"); // doc =3D parser.getDocument(); // } catch (IOException ie){ // System.out.println("Could not read file."); // } catch (SAXException e) { // System.out.print("Could not create Document: "); // System.out.println(e.getMessage()); // } DOMDisplay.display(doc); } } r_exley@galileo:~/workspace/schema_validation$ echo $JAVA_HOME /usr/java/j2sdk1.4.2_04 r_exley@galileo:~/workspace/schema_validation$ echo $CLASSPATH /home/r_exley/build/xerces-2_6_2/build/xercesImpl.jar:/home/r_exley/build/x= erces-2_6_2/build/xml-apis.jar:. r_exley@galileo:~/workspace/schema_validation$ java DOMParserDemo feature: http://xml.org/sax/features/validation setting: true Exception in thread "main" java.lang.NullPointerException at DOMParserDemo.setFeature(DOMParserDemo.java:30) at DOMParserDemo.main(DOMParserDemo.java:46) r_exley@galileo:~/workspace/schema_validation$ Thanks in advance --=20 Rob Exley <[email protected]> --=-+bvc9kCe/FdBqClzyo1A Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBBJw2kSZ3oS3n+BgQRAtSwAJ4r7XlzxfKf8lpwARIgHHUnTwzDJwCfT6TJ DEEVAF2OPRq2EsNDugVZL3I= =UhUY -----END PGP SIGNATURE----- --=-+bvc9kCe/FdBqClzyo1A-- From [email protected] Sun Aug 22 13:59:30 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87852 invoked from network); 22 Aug 2004 13:59:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 22 Aug 2004 13:59:30 -0000 Received: (qmail 3102 invoked by uid 500); 22 Aug 2004 13:59:23 -0000 Delivered-To: [email protected] Received: (qmail 3039 invoked by uid 500); 22 Aug 2004 13:59:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 3028 invoked by uid 99); 22 Aug 2004 13:59:23 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO e6.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Sun, 22 Aug 2004 06:59:20 -0700 Received: from northrelay02.pok.ibm.com (northrelay02.pok.ibm.com [161.129.204.104]) by e6.ny.us.ibm.com (8.12.10/8.12.9) with ESMTP id i7MDxInt313670 for <[email protected]>; Sun, 22 Aug 2004 09:59:18 -0400 Received: from d25ml04.torolab.ibm.com (d01av02.pok.ibm.com [161.129.204.104]) by northrelay02.pok.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id i7ME0UGQ156804 for <[email protected]>; Sun, 22 Aug 2004 10:00:30 -0400 In-Reply-To: <1093078438.5151.15.camel@galileo> Subject: Re: xml schema validation - null pointer To: [email protected] X-Mailer: Lotus Notes Build V70_M2_07222004 Beta 2NP July 22, 2004 Message-ID: <[email protected]> From: Ankit Pasricha <[email protected]> Date: Sun, 22 Aug 2004 09:57:45 -0400 X-MIMETrack: Serialize by Router on D25ML04/25/M/IBM(Release 6.0.2CF1|June 9, 2003) at 08/22/2004 09:59:17 MIME-Version: 1.0 Content-type: multipart/mixed; Boundary="0__=0ABBE46BDFDF8C5A8f9e8a93df938690918c0ABBE46BDFDF8C5A" Content-Disposition: inline X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --0__=0ABBE46BDFDF8C5A8f9e8a93df938690918c0ABBE46BDFDF8C5A Content-type: text/plain; charset=US-ASCII This happens because the field ( DOMParser parser ) in the class is set to 'null'. The main method does NOT instantiate this field. Instead it creates a second instance of the parser class whose scope is the main method only. In order to fix this, you should change the first line in the main method to 'parser = new DOMParser()' instead of 'DOMParser parser = new DOMParser()' Ankit Pasricha XML Parser Development IBM Toronto Lab 8200 Warden Avenue, Ontario L6G 1C7 Rob Exley <rob.exley@object factory.co.uk> To [email protected] 08/21/2004 04:53 cc AM Subject xml schema validation - null Please respond to pointer xerces-j-user@xml .apache.org I wouldn't classify myself as a java programmer so be gentle with me.... I am trying to use xerces-j to validate xml documents with an asociated XML Schema. I have already validated with OxygenXML, xmllint and XSV so I know all is well. It's just that I would like the option of validating at run-time also. I have downloaded some sample code from the IBM tutorial site and everything seems hunky-dory until I try to enable the schema validation feature. As soon as the setFeature lines are introduced I start to get null pointer exceptions being thrown. I would appreciate any help or guidance that anyone can provide as I am somewhat bemused.... FYI - I am currently trying this against xerces-j 2.6.2 but I seem to get this error regardless of the version. I have included the source code as well as the output from running this. /* * Created on Aug 16, 2004 * * TODO To change the template for this generated file go to * Window - Preferences - Java - Code Style - Code Templates */ /** * @author r_exley * * TODO To change the template for this generated type comment go to * Window - Preferences - Java - Code Style - Code Templates */ import org.apache.xerces.parsers.DOMParser; import org.w3c.dom.Document; import org.xml.sax.SAXException; import org.xml.sax.SAXNotRecognizedException; import org.xml.sax.SAXNotSupportedException; import java.io.IOException; public class DOMParserDemo { private static void setFeature(String feature, boolean setting){ System.out.println("feature: " + feature); System.out.println("setting: " + setting); try { parser.setFeature(feature, setting); } catch (SAXNotRecognizedException e) { System.out.print("Unrecognized feature: "); System.out.println(feature); } catch (SAXNotSupportedException e) { System.out.print("Unrecognized feature: "); System.out.println(feature); } } public static DOMParser parser = null; public static void main (String args[]){ DOMParser parser = new DOMParser(); Document doc = null; setFeature("http://xml.org/sax/features/validation", true); setFeature("http://apache.org/xml/features/validation/schema ",true); // try { // //parser.parse("../consumer-score/example_score_request.xml"); // doc = parser.getDocument(); // } catch (IOException ie){ // System.out.println("Could not read file."); // } catch (SAXException e) { // System.out.print("Could not create Document: "); // System.out.println(e.getMessage()); // } DOMDisplay.display(doc); } } r_exley@galileo:~/workspace/schema_validation$ echo $JAVA_HOME /usr/java/j2sdk1.4.2_04 r_exley@galileo:~/workspace/schema_validation$ echo $CLASSPATH /home/r_exley/build/xerces-2_6_2/build/xercesImpl.jar:/home/r_exley/build/xerces-2_6_2/build/xml-apis.jar:. r_exley@galileo:~/workspace/schema_validation$ java DOMParserDemo feature: http://xml.org/sax/features/validation setting: true Exception in thread "main" java.lang.NullPointerException at DOMParserDemo.setFeature(DOMParserDemo.java:30) at DOMParserDemo.main(DOMParserDemo.java:46) r_exley@galileo:~/workspace/schema_validation$ Thanks in advance -- Rob Exley <[email protected]> (See attached file: signature.asc) --0__=0ABBE46BDFDF8C5A8f9e8a93df938690918c0ABBE46BDFDF8C5A Content-type: application/octet-stream; name="signature.asc" Content-Disposition: attachment; filename="signature.asc" Content-transfer-encoding: base64 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0NClZlcnNpb246IEdudVBHIHYxLjIuNCAoR05V L0xpbnV4KQ0KDQppRDhEQlFCQkp3MmtTWjNvUzNuK0JnUVJBdFN3QUo0cjdYbHp4ZktmOGxwd0FS SWdISFVuVHd6REp3Q2ZUNlRKDQpERUVWQUYyT1BScTJFc05EdWdWWkwzST0NCj1VaFVZDQotLS0t LUVORCBQR1AgU0lHTkFUVVJFLS0tLS0NCg== --0__=0ABBE46BDFDF8C5A8f9e8a93df938690918c0ABBE46BDFDF8C5A Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --0__=0ABBE46BDFDF8C5A8f9e8a93df938690918c0ABBE46BDFDF8C5A-- From [email protected] Sun Aug 22 22:31:57 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 19980 invoked from network); 22 Aug 2004 22:31:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 22 Aug 2004 22:31:57 -0000 Received: (qmail 37058 invoked by uid 500); 22 Aug 2004 22:31:50 -0000 Delivered-To: [email protected] Received: (qmail 37028 invoked by uid 500); 22 Aug 2004 22:31:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 37017 invoked by uid 99); 22 Aug 2004 22:31:50 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ingw3c.tsn.at) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Sun, 22 Aug 2004 15:31:48 -0700 Received: from xmstsn1.tsn.at (xmstsn1.tsn.at [161.129.204.104]) by ingw3c.tsn.at (Postfix) with ESMTP id 457622024 for <[email protected]>; Mon, 23 Aug 2004 00:31:21 +0200 (DFT) Received: from mail.tsn.at ([161.129.204.104]) by xmstsn1.tsn.at with Microsoft SMTPSVC(5.0.2195.6713); Mon, 23 Aug 2004 00:26:44 +0200 Received: from p3500 ([161.129.204.104]) by mail.tsn.at with Microsoft SMTPSVC(5.0.2195.6713); Mon, 23 Aug 2004 00:26:27 +0200 Message-ID: <008c01c48898$14e0cd60$0201a8c0@p3500> From: "Robert Binna" <[email protected]> To: <[email protected]> Subject: HTMLDocumentImpl and clone Date: Mon, 23 Aug 2004 00:33:43 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-OriginalArrivalTime: 22 Aug 2004 22:26:27.0254 (UTC) FILETIME=[10902D60:01C48897] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi I had a code that worked fine with the library openxml. Now I wanted to changed to Xerces. I parsed the XHTML-File and all worked fine, but when I wanted to clone the Document I get the following Exception: org.w3c.dom.DOMException: NOT_SUPPORTED_ERR: The implementation does not support the requested type of object or operation. at org.apache.xerces.dom.CoreDocumentImpl.importNode(Unknown Source) at org.apache.xerces.dom.CoreDocumentImpl.importNode(Unknown Source) at org.apache.html.dom.HTMLDocumentImpl.cloneNode(Unknown Source) This was the code that was the reason for this exception: DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); factory.setAttribute("http://apache.org/xml/properties/dom/document-class-na me","org.apache.html.dom.HTMLDocumentImpl"); DocumentBuilder builder = factory.newDocumentBuilder(); domDocument = builder.parse(filename); HTMLDocument doc = (HTMLDocument) domDocument.cloneNode(true); Is this my fault or is it a bug in Xerces? Regards, Robert --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 23 09:18:53 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8423 invoked from network); 23 Aug 2004 09:18:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 23 Aug 2004 09:18:53 -0000 Received: (qmail 79783 invoked by uid 500); 23 Aug 2004 09:18:49 -0000 Delivered-To: [email protected] Received: (qmail 79571 invoked by uid 500); 23 Aug 2004 09:18:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 79559 invoked by uid 99); 23 Aug 2004 09:18:47 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO owari.msl.titech.ac.jp) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 23 Aug 2004 02:18:44 -0700 Received: from ddb (helo=localhost) by owari.msl.titech.ac.jp with local-esmtp (Exim 3.22 #1) id 1BzCzd-0002Cz-00 for [email protected]; Mon, 23 Aug 2004 20:28:05 +0900 Date: Mon, 23 Aug 2004 20:28:05 +0900 (JST) From: [email protected] To: [email protected] Subject: setting properties and features Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I was wanting to experiment with processing XML documentation using saxon and xerces as described in Bob Stayton's book: http://www.sagehill.net/docbookxsl/Xinclude.html I was hoping to experiment the features and properties of the XMLParser, but there seems to be no method to set those from the command line of saxon. The only option seems to be to write a complete java class emulating the saxon stylesheet class and its main subroutine but setting the options explicitly in the java source code. I am hoping I have missed something, but if not is there some example java class out there which could be trivially customized to retain all the existing com.icl.saxon.StyleSheet functionality, but permit xerces feature setting? Thanks Doug (java newbie) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 23 12:21:00 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8935 invoked from network); 23 Aug 2004 12:21:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 23 Aug 2004 12:21:00 -0000 Received: (qmail 164 invoked by uid 500); 23 Aug 2004 12:20:53 -0000 Delivered-To: [email protected] Received: (qmail 143 invoked by uid 500); 23 Aug 2004 12:20:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 132 invoked by uid 99); 23 Aug 2004 12:20:52 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO mail53.messagelabs.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with SMTP; Mon, 23 Aug 2004 05:20:51 -0700 X-VirusChecked: Checked X-Env-Sender: [email protected] X-Msg-Ref: server-10.tower-53.messagelabs.com!1093263649!14504600 X-StarScan-Version: 5.2.10; banners=biworldwide.com,-,- X-Originating-IP: [161.129.204.104] Received: (qmail 7021 invoked from network); 23 Aug 2004 12:20:49 -0000 Received: from mimesweeper.biperf.com (161.129.204.104) by server-10.tower-53.messagelabs.com with SMTP; 23 Aug 2004 12:20:49 -0000 Received: from smtp.biperf.com (smtp.biperf.com) by mimesweeper.biperf.com (Content Technologies SMTPRS 4.2.10) with ESMTP id <[email protected]> for <[email protected]>; Mon, 23 Aug 2004 07:13:42 -0500 Received: by smtp.biperf.com with Internet Mail Service (5.5.2657.72) id <PVT7BFTK>; Mon, 23 Aug 2004 07:20:48 -0500 Message-ID: <[email protected]> From: "Asleson, Ryan" <[email protected]> To: "'[email protected]'" <[email protected]> Subject: XML Schema Date: Mon, 23 Aug 2004 07:20:46 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello, My apologies if this isn't the correct place to ask this question, but I didn't know where else to go. Suppose I have a simple XML document that looks like this: <?xml version="1.0"?> <family> <father>Jack</father> <mother>Jill</mother> <son>Billy</son> <son>Joey</son> <daughter>Jane</daughter> <pet>Fido</pet> </family> The above XML is successfully validated by the schema shown below: <?xml version="1.0"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="father" type="xs:string"/> <xs:element name="mother" type="xs:string"/> <xs:element name="son" type="xs:string"/> <xs:element name="daughter" type="xs:string"/> <xs:element name="pet" type="xs:string"/> <xs:element name="family"> <xs:complexType> <xs:sequence> <xs:element ref="father" minOccurs="0"/> <xs:element ref="mother" minOccurs="0"/> <xs:element ref="son" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="daughter" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="pet" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> </xs:element> </xs:schema> However, if the XML document is changed so that the "pet" element occurs before the "daughter" element, a validation error is thrown. The error states that all instances of "pet" must occur after any instances of "daughter." This is the problem. I don't want the order of child elements within the "family" element to matter, or be validated. I don't care what order the father, mother, son, daughter, and pet tags are in, nor do I want to validate the order. How can I specify this in the XML schema? According to the documentation I've seen, the complexType tag must use an occurrence indicator of all, choice, or sequence. All might work, since order doesn't matter, but apparently it specifies that each child element can occur once and only once once, which doesn't work. Choice doesn't work because only one of the elements can appear. Sequence might work because it allows me to specify multiple occurrences of child elements, but it enforces the order of the child elements, which I don't want. How can I specify this complex type in the XML schema? I'm sure it can be done, I'm just not sure how. Thank you very much!! This e-mail message is being sent solely for use by the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by phone or reply by e-mail, delete the original message and destroy all copies. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 23 12:27:36 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12993 invoked from network); 23 Aug 2004 12:27:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 23 Aug 2004 12:27:36 -0000 Received: (qmail 5647 invoked by uid 500); 23 Aug 2004 12:27:26 -0000 Delivered-To: [email protected] Received: (qmail 5615 invoked by uid 500); 23 Aug 2004 12:27:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 5604 invoked by uid 99); 23 Aug 2004 12:27:26 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO outmx011.isp.belgacom.be) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 23 Aug 2004 05:27:22 -0700 Received: from outmx011.isp.belgacom.be (localhost [161.129.204.104]) by outmx011.isp.belgacom.be (8.12.11/8.12.11/Skynet-OUT-2.22) with ESMTP id i7NCRGea019937 for <[email protected]>; Mon, 23 Aug 2004 14:27:17 +0200 (envelope-from <[email protected]>) Received: from futurestreet.org ([161.129.204.104]) by outmx011.isp.belgacom.be (8.12.11/8.12.11/Skynet-OUT-2.22) with ESMTP id i7NCRF3N019916 for <[email protected]>; Mon, 23 Aug 2004 14:27:15 +0200 (envelope-from <[email protected]>) Message-ID: <[email protected]> Date: Mon, 23 Aug 2004 14:27:05 +0200 From: Mik Lernout <[email protected]> MIME-Version: 1.0 To: [email protected] Subject: Re: XML Schema References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hey, The mailing list your question should be directed to is the xmlschema-dev mailing [email protected]. The fact that the order is validated has to do with the sequence you have defined in your schema, if you change 'sequence' to 'all' you will achieve what you want. I should add though that there is a real tendency for schema's to use fixed-order as much as possible: it eases development against the schema and allows highly optimized validation techiniques... Hope that helps, Mik Asleson, Ryan wrote: >Hello, > >My apologies if this isn't the correct place to ask this question, but I >didn't know where else to go. > >Suppose I have a simple XML document that looks like this: > ><?xml version="1.0"?> ><family> > <father>Jack</father> > <mother>Jill</mother> > <son>Billy</son> > <son>Joey</son> > <daughter>Jane</daughter> > <pet>Fido</pet> ></family> > > >The above XML is successfully validated by the schema shown below: > > ><?xml version="1.0"?> ><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> > > <xs:element name="father" type="xs:string"/> > <xs:element name="mother" type="xs:string"/> > <xs:element name="son" type="xs:string"/> > <xs:element name="daughter" type="xs:string"/> > <xs:element name="pet" type="xs:string"/> > > <xs:element name="family"> > <xs:complexType> > <xs:sequence> > <xs:element ref="father" minOccurs="0"/> > <xs:element ref="mother" minOccurs="0"/> > <xs:element ref="son" minOccurs="0" maxOccurs="unbounded"/> > <xs:element ref="daughter" minOccurs="0" >maxOccurs="unbounded"/> > <xs:element ref="pet" minOccurs="0" maxOccurs="unbounded"/> > </xs:sequence> > </xs:complexType> > </xs:element> ></xs:schema> > > >However, if the XML document is changed so that the "pet" element occurs >before the "daughter" element, a validation error is thrown. The error >states that all instances of "pet" must occur after any instances of >"daughter." > >This is the problem. I don't want the order of child elements within the >"family" element to matter, or be validated. I don't care what order the >father, mother, son, daughter, and pet tags are in, nor do I want to >validate the order. > >How can I specify this in the XML schema? According to the documentation >I've seen, the complexType tag must use an occurrence indicator of all, >choice, or sequence. All might work, since order doesn't matter, but >apparently it specifies that each child element can occur once and only once >once, which doesn't work. Choice doesn't work because only one of the >elements can appear. Sequence might work because it allows me to specify >multiple occurrences of child elements, but it enforces the order of the >child elements, which I don't want. > >How can I specify this complex type in the XML schema? I'm sure it can be >done, I'm just not sure how. > >Thank you very much!! > > > >This e-mail message is being sent solely for use by the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by phone or reply by e-mail, delete the original message and destroy all copies. Thank you. > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [email protected] >For additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 23 12:32:08 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 16391 invoked from network); 23 Aug 2004 12:32:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 23 Aug 2004 12:32:07 -0000 Received: (qmail 13633 invoked by uid 500); 23 Aug 2004 12:31:56 -0000 Delivered-To: [email protected] Received: (qmail 13594 invoked by uid 500); 23 Aug 2004 12:31:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 13572 invoked by uid 99); 23 Aug 2004 12:31:55 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO mail53.messagelabs.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with SMTP; Mon, 23 Aug 2004 05:31:52 -0700 X-VirusChecked: Checked X-Env-Sender: [email protected] X-Msg-Ref: server-8.tower-53.messagelabs.com!1093264310!14473874 X-StarScan-Version: 5.2.10; banners=biworldwide.com,-,- X-Originating-IP: [161.129.204.104] Received: (qmail 29808 invoked from network); 23 Aug 2004 12:31:50 -0000 Received: from mimesweeper.biperf.com (161.129.204.104) by server-8.tower-53.messagelabs.com with SMTP; 23 Aug 2004 12:31:50 -0000 Received: from smtp.biperf.com (smtp.biperf.com) by mimesweeper.biperf.com (Content Technologies SMTPRS 4.2.10) with ESMTP id <[email protected]> for <[email protected]>; Mon, 23 Aug 2004 07:24:43 -0500 Received: by smtp.biperf.com with Internet Mail Service (5.5.2657.72) id <PVT7BF0Z>; Mon, 23 Aug 2004 07:31:49 -0500 Message-ID: <[email protected]> From: "Asleson, Ryan" <[email protected]> To: "'[email protected]'" <[email protected]> Subject: RE: XML Schema Date: Mon, 23 Aug 2004 07:31:48 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Thanks for the tip -- I'll ask on the w3.org list. I can't change "sequence" to "all" because then minOccurs and maxOccurs for the child elements (father, mother, etc.) must be 0 or 1 when using "all", and I need them to occur more than just once. -----Original Message----- From: Mik Lernout [mailto:[email protected]] Sent: Monday, August 23, 2004 7:27 AM To: [email protected] Subject: Re: XML Schema Hey, The mailing list your question should be directed to is the xmlschema-dev mailing [email protected]. The fact that the order is validated has to do with the sequence you have defined in your schema, if you change 'sequence' to 'all' you will achieve what you want. I should add though that there is a real tendency for schema's to use fixed-order as much as possible: it eases development against the schema and allows highly optimized validation techiniques... Hope that helps, Mik Asleson, Ryan wrote: >Hello, > >My apologies if this isn't the correct place to ask this question, but I >didn't know where else to go. > >Suppose I have a simple XML document that looks like this: > ><?xml version="1.0"?> ><family> > <father>Jack</father> > <mother>Jill</mother> > <son>Billy</son> > <son>Joey</son> > <daughter>Jane</daughter> > <pet>Fido</pet> ></family> > > >The above XML is successfully validated by the schema shown below: > > ><?xml version="1.0"?> ><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> > > <xs:element name="father" type="xs:string"/> > <xs:element name="mother" type="xs:string"/> > <xs:element name="son" type="xs:string"/> > <xs:element name="daughter" type="xs:string"/> > <xs:element name="pet" type="xs:string"/> > > <xs:element name="family"> > <xs:complexType> > <xs:sequence> > <xs:element ref="father" minOccurs="0"/> > <xs:element ref="mother" minOccurs="0"/> > <xs:element ref="son" minOccurs="0" maxOccurs="unbounded"/> > <xs:element ref="daughter" minOccurs="0" >maxOccurs="unbounded"/> > <xs:element ref="pet" minOccurs="0" maxOccurs="unbounded"/> > </xs:sequence> > </xs:complexType> > </xs:element> ></xs:schema> > > >However, if the XML document is changed so that the "pet" element occurs >before the "daughter" element, a validation error is thrown. The error >states that all instances of "pet" must occur after any instances of >"daughter." > >This is the problem. I don't want the order of child elements within the >"family" element to matter, or be validated. I don't care what order the >father, mother, son, daughter, and pet tags are in, nor do I want to >validate the order. > >How can I specify this in the XML schema? According to the documentation >I've seen, the complexType tag must use an occurrence indicator of all, >choice, or sequence. All might work, since order doesn't matter, but >apparently it specifies that each child element can occur once and only once >once, which doesn't work. Choice doesn't work because only one of the >elements can appear. Sequence might work because it allows me to specify >multiple occurrences of child elements, but it enforces the order of the >child elements, which I don't want. > >How can I specify this complex type in the XML schema? I'm sure it can be >done, I'm just not sure how. > >Thank you very much!! > > > >This e-mail message is being sent solely for use by the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by phone or reply by e-mail, delete the original message and destroy all copies. Thank you. > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [email protected] >For additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] This e-mail message is being sent solely for use by the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by phone or reply by e-mail, delete the original message and destroy all copies. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 23 12:37:42 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 19279 invoked from network); 23 Aug 2004 12:37:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 23 Aug 2004 12:37:42 -0000 Received: (qmail 21811 invoked by uid 500); 23 Aug 2004 12:37:19 -0000 Delivered-To: [email protected] Received: (qmail 21774 invoked by uid 500); 23 Aug 2004 12:37:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 21736 invoked by uid 99); 23 Aug 2004 12:37:17 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO outmx003.isp.belgacom.be) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 23 Aug 2004 05:37:15 -0700 Received: from outmx003.isp.belgacom.be (localhost [161.129.204.104]) by outmx003.isp.belgacom.be (8.12.11/8.12.11/Skynet-OUT-2.22) with ESMTP id i7NCb3lN010801 for <[email protected]>; Mon, 23 Aug 2004 14:37:03 +0200 (envelope-from <[email protected]>) Received: from futurestreet.org ([161.129.204.104]) by outmx003.isp.belgacom.be (8.12.11/8.12.11/Skynet-OUT-2.22) with ESMTP id i7NCaqn2010702 for <[email protected]>; Mon, 23 Aug 2004 14:36:53 +0200 (envelope-from <[email protected]>) Message-ID: <[email protected]> Date: Mon, 23 Aug 2004 14:36:51 +0200 From: Mik Lernout <[email protected]> MIME-Version: 1.0 To: [email protected] Subject: Re: XML Schema References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Oops, didn't see those *occurs :-) I am afraid you are stuck , either you choose for an ordered / deep definition of a complex type, or a list of optional / required elements. There is no intermediate option in XML Schema... Mik Asleson, Ryan wrote: >Thanks for the tip -- I'll ask on the w3.org list. I can't change "sequence" >to "all" because then minOccurs and maxOccurs for the child elements >(father, mother, etc.) must be 0 or 1 when using "all", and I need them to >occur more than just once. > > >-----Original Message----- >From: Mik Lernout [mailto:[email protected]] >Sent: Monday, August 23, 2004 7:27 AM >To: [email protected] >Subject: Re: XML Schema > > >Hey, > >The mailing list your question should be directed to is the >xmlschema-dev mailing [email protected]. >The fact that the order is validated has to do with the sequence you >have defined in your schema, if you change 'sequence' to 'all' you will >achieve what you want. >I should add though that there is a real tendency for schema's to use >fixed-order as much as possible: it eases development against the schema >and allows highly optimized validation techiniques... > >Hope that helps, > >Mik > > >Asleson, Ryan wrote: > > > >>Hello, >> >>My apologies if this isn't the correct place to ask this question, but I >>didn't know where else to go. >> >>Suppose I have a simple XML document that looks like this: >> >><?xml version="1.0"?> >><family> >> <father>Jack</father> >> <mother>Jill</mother> >> <son>Billy</son> >> <son>Joey</son> >> <daughter>Jane</daughter> >> <pet>Fido</pet> >></family> >> >> >>The above XML is successfully validated by the schema shown below: >> >> >><?xml version="1.0"?> >><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> >> >> <xs:element name="father" type="xs:string"/> >> <xs:element name="mother" type="xs:string"/> >> <xs:element name="son" type="xs:string"/> >> <xs:element name="daughter" type="xs:string"/> >> <xs:element name="pet" type="xs:string"/> >> >> <xs:element name="family"> >> <xs:complexType> >> <xs:sequence> >> <xs:element ref="father" minOccurs="0"/> >> <xs:element ref="mother" minOccurs="0"/> >> <xs:element ref="son" minOccurs="0" maxOccurs="unbounded"/> >> <xs:element ref="daughter" minOccurs="0" >>maxOccurs="unbounded"/> >> <xs:element ref="pet" minOccurs="0" maxOccurs="unbounded"/> >> </xs:sequence> >> </xs:complexType> >> </xs:element> >></xs:schema> >> >> >>However, if the XML document is changed so that the "pet" element occurs >>before the "daughter" element, a validation error is thrown. The error >>states that all instances of "pet" must occur after any instances of >>"daughter." >> >>This is the problem. I don't want the order of child elements within the >>"family" element to matter, or be validated. I don't care what order the >>father, mother, son, daughter, and pet tags are in, nor do I want to >>validate the order. >> >>How can I specify this in the XML schema? According to the documentation >>I've seen, the complexType tag must use an occurrence indicator of all, >>choice, or sequence. All might work, since order doesn't matter, but >>apparently it specifies that each child element can occur once and only >> >> >once > > >>once, which doesn't work. Choice doesn't work because only one of the >>elements can appear. Sequence might work because it allows me to specify >>multiple occurrences of child elements, but it enforces the order of the >>child elements, which I don't want. >> >>How can I specify this complex type in the XML schema? I'm sure it can be >>done, I'm just not sure how. >> >>Thank you very much!! >> >> >> >>This e-mail message is being sent solely for use by the intended >> >> >recipient(s) and may contain confidential information. Any unauthorized >review, use, disclosure or distribution is prohibited. If you are not the >intended recipient, please contact the sender by phone or reply by e-mail, >delete the original message and destroy all copies. Thank you. > > >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: [email protected] >>For additional commands, e-mail: [email protected] >> >> >> >> >> > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [email protected] >For additional commands, e-mail: [email protected] > >This e-mail message is being sent solely for use by the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by phone or reply by e-mail, delete the original message and destroy all copies. Thank you. > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [email protected] >For additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 23 12:52:35 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29769 invoked from network); 23 Aug 2004 12:52:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 23 Aug 2004 12:52:34 -0000 Received: (qmail 50187 invoked by uid 500); 23 Aug 2004 12:52:04 -0000 Delivered-To: [email protected] Received: (qmail 50069 invoked by uid 500); 23 Aug 2004 12:52:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 49953 invoked by uid 99); 23 Aug 2004 12:52:02 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO pfepb.post.tele.dk) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 23 Aug 2004 05:51:58 -0700 Received: from mail.sweetxml.org (x1-6-00-50-ba-8c-6a-03.k252.webspeed.dk [161.129.204.104]) by pfepb.post.tele.dk (Postfix) with ESMTP id D62325EE075 for <[email protected]>; Mon, 23 Aug 2004 14:51:55 +0200 (CEST) Received: from vatican (unknown [161.129.204.104]) by mail.sweetxml.org (Postfix) with ESMTP id D7137D7B05 for <[email protected]>; Mon, 23 Aug 2004 13:07:15 +0100 (BST) From: "Brian Nielsen" <[email protected]> To: <[email protected]> Subject: Checking the validity of URI for namespaces (targetNamespace) Date: Mon, 23 Aug 2004 14:54:17 +0200 Message-ID: <000201c48910$4fb9df80$7300000a@vatican> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I've been stumbling around for a couple of weeks trying to get an idea = of what's up and down when it comes to valid URI's for XML instances and = XML Schemas. I earlier made a posting to the xml-dev list at Oasis, = asking for the needed validity of namespace URIs and got sort of two = answers. I now tried to use Xerces to se how it handles invalid URI's, = but I havn't had much luck figuring out how to handle it. My posting a oasis: = http://lists.xml.org/archives/xml-dev/200408/msg00030.html Other relevant unanswered posting = http://lists.xml.org/archives/xml-dev/200101/msg01027.html My example XSD is(MiddleName.xsd): <?xml version=3D"1.0" encoding=3D"UTF-8" ?>=20 <schema targetNamespace=3D"HR-XML-AMS-DK"=20 xmlns=3D"http://www.w3.org/2001/XMLSchema"=20 xmlns:hrxml=3D"HR-XML-AMS-DK"=20 elementFormDefault=3D"qualified"=20 attributeFormDefault=3D"unqualified"> <element name=3D"MiddleName" type=3D"string" />=20 </schema> And instance (MiddleName.xml): <?xml version=3D"1.0" encoding=3D"UTF-8" ?>=20 <MiddleName xmlns=3D"HR-XML-AMS-DK" = xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance"=20 xsi:schemaLocation=3D"HR-XML-AMS-DK = MiddleName.xsd">String</MiddleName>=20 I expect the feature = http://apache.org/xml/features/standard-uri-conformant to be just what I = was looking for, so I've made this small program to parse/validate an = instance document at "xml/demo2.xml", and I would expect it to give me = and error on the targetNamespace of the schema or the namespace = declaration in the instance: import java.io.IOException; import javax.xml.parsers.ParserConfigurationException; import javax.xml.parsers.SAXParser; import javax.xml.parsers.SAXParserFactory; import org.xml.sax.SAXException; import org.xml.sax.SAXNotRecognizedException; import org.xml.sax.SAXNotSupportedException; import org.xml.sax.helpers.DefaultHandler; import java.net.URI; public class SimpleSaxParser { public static void main(String argv[]) { SAXParserFactory saxdbf =3D SAXParserFactory.newInstance(); saxdbf.setNamespaceAware(true); saxdbf.setValidating(true); try { saxdbf.setFeature("http://xml.org/sax/features/namespaces", = true); saxdbf.setFeature("http://xml.org/sax/features/validation", = true); = saxdbf.setFeature("http://apache.org/xml/features/validation/dynamic", = true); = saxdbf.setFeature("http://apache.org/xml/features/validation/schema", = true); = saxdbf.setFeature("http://apache.org/xml/features/validation/schema-full-= checking", true); = saxdbf.setFeature("http://apache.org/xml/features/standard-uri-conformant= ", true); = saxdbf.setFeature("http://xml.org/sax/features/namespace-prefixes", = true); } catch (ParserConfigurationException pce) { pce.printStackTrace(); } catch (SAXNotRecognizedException snre) { snre.printStackTrace(); } catch (SAXNotSupportedException snse) { snse.printStackTrace(); } try { SAXParser saxParser =3D saxdbf.newSAXParser(); saxParser.parse(new java.io.File("xml/MiddleName.xml"), new = DefaultHandler()); } catch (SAXException se) { se.printStackTrace(); } catch (ParserConfigurationException pce) { pce.printStackTrace(); } catch (IOException ioe) { ioe.printStackTrace(); } } } My questions are: 1. The targetNamespace "HR-XML-AMS-DK" is not a valid URI - right? 2. Why does'nt my program report that 3. Any idea how other parser "care" for valid URI's? Best regards Brian Nielsen --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 23 13:27:37 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58302 invoked from network); 23 Aug 2004 13:27:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 23 Aug 2004 13:27:37 -0000 Received: (qmail 20721 invoked by uid 500); 23 Aug 2004 13:27:28 -0000 Delivered-To: [email protected] Received: (qmail 20673 invoked by uid 500); 23 Aug 2004 13:27:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 20661 invoked by uid 99); 23 Aug 2004 13:27:27 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=FROM_HAS_ULINE_NUMS X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO verifonedns.verifone.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 23 Aug 2004 06:27:24 -0700 Received: from tpantmail.verifone.com (tpantmail4.verifone.com [161.129.204.104]) by verifonedns.verifone.com (Postfix) with ESMTP id EA6D83005E for <[email protected]>; Mon, 23 Aug 2004 06:27:20 -0700 (PDT) content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Subject: RE: XML Schema Date: Mon, 23 Aug 2004 09:29:29 -0400 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: XML Schema Thread-Index: AcSJDk53MNWLG48URWaXe2xEogF3AgAApVRg From: "David Ezell" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Please keep in mind that Mik is correct that using "all" places a burden on your processor. As you point out, it's not suitable for your specific case in XML Schema 1.0. The rule for applying all (and indeed for placing that kind of = processing burden on your processor is to consider the following: "Use xs:sequence under either of the following two conditions: 1) when you want the child elements to be in a specific order or 2) when you don't really care about the order." Note that this is really your case #2, and you should consider using xs:sequence. This begs the question of when to use "all". "Use xs:all >only< if the document order of element children may vary, and that order has significance." In other words, if the order doesn't matter to your applications, use xs:sequence. If the order carries information (like who got here first, who's most important, fattest, etc.) then it's ok to use xs:all. One other option you have is to put your collection of stuff (sons, pets, daughters, parents) into its very own namespace. This requires creating two schemas, one for your family members: <?xml version=3D"1.0" encoding=3D"UTF-8"?> <xs:schema xmlns:xs=3D"http://www.w3.org/2001/XMLSchema"=20 targetNamespace=3D"urn:family-ns"> <xs:element name=3D"father" type=3D"xs:string"/> <xs:element name=3D"mother" type=3D"xs:string"/> <xs:element name=3D"son" type=3D"xs:string"/> <xs:element name=3D"daughter" type=3D"xs:string"/> <xs:element name=3D"pet" type=3D"xs:string"/> </xs:schema> and one to reference it (note the xs:import): <?xml version=3D"1.0" encoding=3D"UTF-8"?> <xs:schema xmlns:xs=3D"http://www.w3.org/2001/XMLSchema" xmlns:fm=3D"urn:family-ns"> <xs:import namespace=3D"urn:family-ns" = schemaLocation=3D"family-members.xsd"/> <xs:element name=3D"family"> <xs:complexType> <xs:sequence> <xs:any namespace=3D"urn:family-ns" minOccurs=3D"0" = maxOccurs=3D"unbounded"/> </xs:sequence> </xs:complexType> </xs:element> </xs:schema> =20 Now, the following instance document will validate: <?xml version=3D"1.0"?> <family xmlns:fm=3D"urn:family-ns"> <fm:father>Jack</fm:father> <fm:mother>Jill</fm:mother> <fm:son>Billy</fm:son> <fm:son>Joey</fm:son> <fm:daughter>Jane</fm:daughter> <fm:pet>Fido</fm:pet> <fm:son>Frank</fm:son> </family> Personally, I don't think that your current application warrants this treatment, but then you might have uses for your document that I don't know about. At any rate, others might find this technique useful. Best regards, David Ezell -----Original Message----- From: Mik Lernout [mailto:[email protected]] Sent: Monday, August 23, 2004 8:37 AM To: [email protected] Subject: Re: XML Schema Oops, didn't see those *occurs :-) I am afraid you are stuck , either you choose for an ordered / deep=20 definition of a complex type, or a list of optional / required elements. = There is no intermediate option in XML Schema... Mik Asleson, Ryan wrote: >Thanks for the tip -- I'll ask on the w3.org list. I can't change = "sequence" >to "all" because then minOccurs and maxOccurs for the child elements >(father, mother, etc.) must be 0 or 1 when using "all", and I need them = to >occur more than just once. > > >-----Original Message----- >From: Mik Lernout [mailto:[email protected]] >Sent: Monday, August 23, 2004 7:27 AM >To: [email protected] >Subject: Re: XML Schema > > >Hey, > >The mailing list your question should be directed to is the=20 >xmlschema-dev mailing [email protected]. >The fact that the order is validated has to do with the sequence you=20 >have defined in your schema, if you change 'sequence' to 'all' you will = >achieve what you want. >I should add though that there is a real tendency for schema's to use=20 >fixed-order as much as possible: it eases development against the = schema=20 >and allows highly optimized validation techiniques... > >Hope that helps, > >Mik > > >Asleson, Ryan wrote: > > =20 > >>Hello, >> >>My apologies if this isn't the correct place to ask this question, but = I >>didn't know where else to go. =20 >> >>Suppose I have a simple XML document that looks like this: >> >><?xml version=3D"1.0"?> >><family> >> <father>Jack</father> >> <mother>Jill</mother> >> <son>Billy</son> >> <son>Joey</son> >> <daughter>Jane</daughter> >> <pet>Fido</pet> >></family> >> >> >>The above XML is successfully validated by the schema shown below: >> >> >><?xml version=3D"1.0"?> >><xs:schema xmlns:xs=3D"http://www.w3.org/2001/XMLSchema"> >> >> <xs:element name=3D"father" type=3D"xs:string"/> >> <xs:element name=3D"mother" type=3D"xs:string"/> >> <xs:element name=3D"son" type=3D"xs:string"/> >> <xs:element name=3D"daughter" type=3D"xs:string"/> >> <xs:element name=3D"pet" type=3D"xs:string"/> >> =20 >> <xs:element name=3D"family"> >> <xs:complexType> >> <xs:sequence> >> <xs:element ref=3D"father" minOccurs=3D"0"/> >> <xs:element ref=3D"mother" minOccurs=3D"0"/> >> <xs:element ref=3D"son" minOccurs=3D"0" = maxOccurs=3D"unbounded"/> >> <xs:element ref=3D"daughter" minOccurs=3D"0" >>maxOccurs=3D"unbounded"/> >> <xs:element ref=3D"pet" minOccurs=3D"0" = maxOccurs=3D"unbounded"/> >> </xs:sequence> >> </xs:complexType> >> </xs:element> >></xs:schema> =20 >> >> >>However, if the XML document is changed so that the "pet" element = occurs >>before the "daughter" element, a validation error is thrown. The = error >>states that all instances of "pet" must occur after any instances of >>"daughter." >> >>This is the problem. I don't want the order of child elements within = the >>"family" element to matter, or be validated. I don't care what order = the >>father, mother, son, daughter, and pet tags are in, nor do I want to >>validate the order. >> >>How can I specify this in the XML schema? According to the = documentation >>I've seen, the complexType tag must use an occurrence indicator of = all, >>choice, or sequence. All might work, since order doesn't matter, but >>apparently it specifies that each child element can occur once and = only >> =20 >> >once > =20 > >>once, which doesn't work. Choice doesn't work because only one of the >>elements can appear. Sequence might work because it allows me to = specify >>multiple occurrences of child elements, but it enforces the order of = the >>child elements, which I don't want. >> >>How can I specify this complex type in the XML schema? I'm sure it = can be >>done, I'm just not sure how. >> >>Thank you very much!! >> >> >> >>This e-mail message is being sent solely for use by the intended >> =20 >> >recipient(s) and may contain confidential information. Any = unauthorized >review, use, disclosure or distribution is prohibited. If you are not = the >intended recipient, please contact the sender by phone or reply by = e-mail, >delete the original message and destroy all copies. Thank you. > =20 > >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: [email protected] >>For additional commands, e-mail: [email protected] >> >>=20 >> >> =20 >> > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [email protected] >For additional commands, e-mail: [email protected] > >This e-mail message is being sent solely for use by the intended = recipient(s) and may contain confidential information. Any unauthorized = review, use, disclosure or distribution is prohibited. If you are not = the intended recipient, please contact the sender by phone or reply by = e-mail, delete the original message and destroy all copies. Thank you. > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [email protected] >For additional commands, e-mail: [email protected] > > =20 > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 23 13:35:17 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 62207 invoked from network); 23 Aug 2004 13:35:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 23 Aug 2004 13:35:17 -0000 Received: (qmail 35124 invoked by uid 500); 23 Aug 2004 13:35:07 -0000 Delivered-To: [email protected] Received: (qmail 35064 invoked by uid 500); 23 Aug 2004 13:35:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 34979 invoked by uid 99); 23 Aug 2004 13:35:06 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO mx03.stofanet.dk) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 23 Aug 2004 06:35:00 -0700 Received: from 3e6b6eb2.rev.stofanet.dk ([161.129.204.104]) by mx03.stofanet.dk with esmtp (Exim 4.30) id 1BzEyN-00005d-34 for [email protected]; Mon, 23 Aug 2004 15:34:55 +0200 Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <000201c48910$4fb9df80$7300000a@vatican> References: <000201c48910$4fb9df80$7300000a@vatican> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit From: Jonas Munk <[email protected]> Subject: Re: Checking the validity of URI for namespaces (targetNamespace) Date: Mon, 23 Aug 2004 15:35:05 +0200 To: [email protected] X-Mailer: Apple Mail (2.619) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hej Brian :-) My experience is that you can put just about anything in a namespace but if you want to be a "good citizen" you shold use something like http://www.ams.dk/2004/... so you don't conflict with others (or yourself). I know that this doesn't help but my experience is just that you can use "anything" in xerces, msxml4.x and sablotron. Jonas Munk On 23/8-2004, at 14.54, Brian Nielsen wrote: > > I've been stumbling around for a couple of weeks trying to get an idea > of what's up and down when it comes to valid URI's for XML instances > and XML Schemas. I earlier made a posting to the xml-dev list at > Oasis, asking for the needed validity of namespace URIs and got sort > of two answers. I now tried to use Xerces to se how it handles invalid > URI's, but I havn't had much luck figuring out how to handle it. > > My posting a oasis: > http://lists.xml.org/archives/xml-dev/200408/msg00030.html > Other relevant unanswered posting > http://lists.xml.org/archives/xml-dev/200101/msg01027.html > > > My example XSD is(MiddleName.xsd): > > <?xml version="1.0" encoding="UTF-8" ?> > <schema targetNamespace="HR-XML-AMS-DK" > xmlns="http://www.w3.org/2001/XMLSchema" > xmlns:hrxml="HR-XML-AMS-DK" > elementFormDefault="qualified" > attributeFormDefault="unqualified"> > <element name="MiddleName" type="string" /> > </schema> > > > And instance (MiddleName.xml): > <?xml version="1.0" encoding="UTF-8" ?> > <MiddleName xmlns="HR-XML-AMS-DK" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="HR-XML-AMS-DK MiddleName.xsd">String</MiddleName> > > > > > I expect the feature > http://apache.org/xml/features/standard-uri-conformant to be just what > I was looking for, so I've made this small program to parse/validate > an instance document at "xml/demo2.xml", and I would expect it to give > me and error on the targetNamespace of the schema or the namespace > declaration in the instance: > > > > import java.io.IOException; > > > import javax.xml.parsers.ParserConfigurationException; > import javax.xml.parsers.SAXParser; > import javax.xml.parsers.SAXParserFactory; > > > import org.xml.sax.SAXException; > import org.xml.sax.SAXNotRecognizedException; > import org.xml.sax.SAXNotSupportedException; > import org.xml.sax.helpers.DefaultHandler; > > import java.net.URI; > > public class SimpleSaxParser { > > public static void main(String argv[]) { > > SAXParserFactory saxdbf = SAXParserFactory.newInstance(); > saxdbf.setNamespaceAware(true); > saxdbf.setValidating(true); > > try { > > saxdbf.setFeature("http://xml.org/sax/features/namespaces", true); > > saxdbf.setFeature("http://xml.org/sax/features/validation", true); > > saxdbf.setFeature("http://apache.org/xml/features/validation/dynamic", > true); > > saxdbf.setFeature("http://apache.org/xml/features/validation/schema", > true); > saxdbf.setFeature("http://apache.org/xml/features/validation/schema- > full-checking", true); > > saxdbf.setFeature("http://apache.org/xml/features/standard-uri- > conformant", true); > > saxdbf.setFeature("http://xml.org/sax/features/namespace-prefixes", > true); > } catch (ParserConfigurationException pce) { > pce.printStackTrace(); > } catch (SAXNotRecognizedException snre) { > snre.printStackTrace(); > } catch (SAXNotSupportedException snse) { > snse.printStackTrace(); > } > > try { > SAXParser saxParser = saxdbf.newSAXParser(); > saxParser.parse(new java.io.File("xml/MiddleName.xml"), > new DefaultHandler()); > } catch (SAXException se) { > se.printStackTrace(); > } catch (ParserConfigurationException pce) { > pce.printStackTrace(); > } catch (IOException ioe) { > ioe.printStackTrace(); > } > } > } > > > My questions are: > 1. The targetNamespace "HR-XML-AMS-DK" is not a valid URI - right? > 2. Why does'nt my program report that > 3. Any idea how other parser "care" for valid URI's? > > > Best regards > Brian Nielsen > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 23 13:45:30 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 67982 invoked from network); 23 Aug 2004 13:45:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 23 Aug 2004 13:45:30 -0000 Received: (qmail 57468 invoked by uid 500); 23 Aug 2004 13:45:24 -0000 Delivered-To: [email protected] Received: (qmail 57374 invoked by uid 500); 23 Aug 2004 13:45:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 57362 invoked by uid 99); 23 Aug 2004 13:45:23 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO e3.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 23 Aug 2004 06:45:21 -0700 Received: from northrelay02.pok.ibm.com (northrelay02.pok.ibm.com [161.129.204.104]) by e3.ny.us.ibm.com (8.12.10/8.12.9) with ESMTP id i7NDjJHr681448 for <[email protected]>; Mon, 23 Aug 2004 09:45:19 -0400 Received: from d01ml605.pok.ibm.com (d01av04.pok.ibm.com [161.129.204.104]) by northrelay02.pok.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id i7NDj6Pv171072 for <[email protected]>; Mon, 23 Aug 2004 09:46:31 -0400 In-Reply-To: <000201c48910$4fb9df80$7300000a@vatican> Subject: Re: Checking the validity of URI for namespaces (targetNamespace) To: [email protected] X-Mailer: Lotus Notes Release 6.0 September 26, 2002 Message-ID: <[email protected]> From: Joseph Kesselman <[email protected]> Date: Mon, 23 Aug 2004 09:39:02 -0400 X-MIMETrack: Serialize by Router on D01ML605/01/M/IBM(Release 6.51HF433 | July 14, 2004) at 08/23/2004 09:45:18 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Namespace URIs must be absolute URI references; the use of reletive references for this purpose has been deprecated. See http://www.w3.org/TR/xml-names11/#iri-use Note that the spec says "deprecated", not "forbidden". Some processors may still tolerate relative reference syntax as namespace names... but there is no guarantee that they will be accepted, or any agreement about whether they will or won't be absolutized during the parsing process, which is why the decision to deprecate them was taken. The Semantic Web folks *may* (or may not) nail down that issue, at which time relative namespace reference may (or may not) be introduced into XML. ______________________________________ Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more. "The world changed profoundly and unpredictably the day Tim Berners Lee got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filk --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 23 14:10:09 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78275 invoked from network); 23 Aug 2004 14:10:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 23 Aug 2004 14:10:09 -0000 Received: (qmail 93591 invoked by uid 500); 23 Aug 2004 14:09:59 -0000 Delivered-To: [email protected] Received: (qmail 93553 invoked by uid 500); 23 Aug 2004 14:09:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 93542 invoked by uid 99); 23 Aug 2004 14:09:58 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO e3.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 23 Aug 2004 07:09:56 -0700 Received: from northrelay04.pok.ibm.com (northrelay04.pok.ibm.com [161.129.204.104]) by e3.ny.us.ibm.com (8.12.10/8.12.9) with ESMTP id i7NE9sHr669176 for <[email protected]>; Mon, 23 Aug 2004 10:09:54 -0400 Received: from d25ml04.torolab.ibm.com (d01av02.pok.ibm.com [161.129.204.104]) by northrelay04.pok.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id i7NEAuNo147954 for <[email protected]>; Mon, 23 Aug 2004 10:10:57 -0400 In-Reply-To: <[email protected]> Subject: Re: XML Schema To: [email protected] X-Mailer: Lotus Notes Build V70_M2_07222004 Beta 2NP July 22, 2004 Message-ID: <[email protected]> From: Ankit Pasricha <[email protected]> Date: Mon, 23 Aug 2004 10:08:25 -0400 X-MIMETrack: Serialize by Router on D25ML04/25/M/IBM(Release 6.0.2CF1|June 9, 2003) at 08/23/2004 10:09:49 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Another thing u can try is the following: <?xml version="1.0"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="father" type="xs:string"/> <xs:element name="mother" type="xs:string"/> <xs:element name="son" type="xs:string"/> <xs:element name="daughter" type="xs:string"/> <xs:element name="pet" type="xs:string"/> <xs:element name="family"> <xs:complexType> <xs:sequence> <xs:choice minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="father"/> <xs:element ref="mother"/> <xs:element ref="son"/> <xs:element ref="daughter"/> <xs:element ref="pet"/> </xs:choice> </xs:sequence> </xs:complexType> </xs:element> </xs:schema> That will allow multiple sets of parents but allows any order. Ankit Pasricha XML Parser Development IBM Toronto Lab 8200 Warden Avenue, Ontario L6G 1C7 Phone: 860-947-9872 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 23 20:39:59 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 72857 invoked from network); 23 Aug 2004 20:39:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 23 Aug 2004 20:39:59 -0000 Received: (qmail 13582 invoked by uid 500); 23 Aug 2004 20:39:53 -0000 Delivered-To: [email protected] Received: (qmail 13534 invoked by uid 500); 23 Aug 2004 20:39:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 13522 invoked by uid 99); 23 Aug 2004 20:39:52 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO verioseag002.businessxchange.verio.net) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 23 Aug 2004 13:39:46 -0700 Received: from veriosimr002.VRO1.COM (unverified) by verioseag002.businessxchange.verio.net (Content Technologies SMTPRS 4.3.12) with ESMTP id <[email protected]> for <[email protected]>; Mon, 23 Aug 2004 16:41:56 -0400 Received: from VERIOVEXC008.VRO1.COM ([161.129.204.104]) by veriosimr002.VRO1.COM with Microsoft SMTPSVC(6.0.3790.0); Mon, 23 Aug 2004 16:39:02 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: RE: HTMLDocumentImpl and clone Date: Mon, 23 Aug 2004 16:38:59 -0400 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: HTMLDocumentImpl and clone Thread-Index: AcSIl9NKpDeZVrh3RLKX5e5ya8/kZwAt5ZTQ From: "Christopher Ebert" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 23 Aug 2004 20:39:02.0614 (UTC) FILETIME=[39ABE760:01C48951] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N =20 Hi, Haven't seen a reply on the list yet, so the short answer is Xerces does not support 'clone' on parts of the DOM. What you can do instead is import the nodes you want into another document. The code looks something like this: Document nodeDoc =3D parentNode.getOwnerDocument(); if (childNodeToImport instanceof Document) { childNodeToImport =3D ((Document) childNodeToImport).getDocumentElement(); } Node importedDoc =3D nodeDoc.importNode(childNodeToImport, true); parentNode.appendChild(importedDoc); Where: parentNode: is the node in your new document to which you want to attach the DOM fragment. If you just want to put it in a fresh document, you don't need to get the 'owner' of the document (you'll get exceptions if you do...) childNodeToImport: the DOM fragment you want to duplicate. If it is a document, you need to get the 'document element' of the document. The remaining code does the import and attaches the resulting DOM structure. I think there's a FAQ about this -- if not, maybe there should be... Chris -----Original Message----- From: Robert Binna [mailto:[email protected]]=20 Sent: Sunday, August 22, 2004 15:34 To: [email protected] Subject: HTMLDocumentImpl and clone Hi I had a code that worked fine with the library openxml. Now I wanted to changed to Xerces. I parsed the XHTML-File and all worked fine, but when I wanted to clone the Document I get the following Exception: org.w3c.dom.DOMException: NOT_SUPPORTED_ERR: The implementation does not support the requested type of object or operation. at org.apache.xerces.dom.CoreDocumentImpl.importNode(Unknown Source) at org.apache.xerces.dom.CoreDocumentImpl.importNode(Unknown Source) at org.apache.html.dom.HTMLDocumentImpl.cloneNode(Unknown Source) This was the code that was the reason for this exception: DocumentBuilderFactory factory =3D DocumentBuilderFactory.newInstance(); factory.setAttribute("http://apache.org/xml/properties/dom/document-clas s-na me","org.apache.html.dom.HTMLDocumentImpl"); DocumentBuilder builder =3D factory.newDocumentBuilder(); domDocument = =3D builder.parse(filename); HTMLDocument doc =3D (HTMLDocument) domDocument.cloneNode(true); Is this my fault or is it a bug in Xerces? Regards, Robert --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Aug 24 07:09:09 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41583 invoked from network); 24 Aug 2004 07:09:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 24 Aug 2004 07:09:09 -0000 Received: (qmail 88467 invoked by uid 500); 24 Aug 2004 07:08:54 -0000 Delivered-To: [email protected] Received: (qmail 88406 invoked by uid 500); 24 Aug 2004 07:08:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 88362 invoked by uid 99); 24 Aug 2004 07:08:53 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO mail2.tst.dk) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 24 Aug 2004 00:08:48 -0700 Received: by its42.itst.local with Internet Mail Service (5.5.2657.72) id <RPJKQ9JL>; Tue, 24 Aug 2004 09:03:05 +0200 Message-ID: <[email protected]> From: Brian Nielsen <[email protected]> To: "'[email protected]'" <[email protected]> Cc: [email protected] Subject: SV: Xerces 2.6.2: Importing multiple XSD's with the same namespac e - implementing my own XMLGrammarDescription Date: Tue, 24 Aug 2004 09:03:04 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Jeff is right that the processor can ignore all but the first schema thats imported, but in my work I have the same "problem" as Duane, since we like to fragment the type definitions and element declarations into different schema modules. I sometime use XMLSpy, which certainly has it flaws, but it does "respect" all the imports and as such works great for me. I was wondering how hard it would be to make my own implementation that makes xerces do what I want. From the Grammar faq I get the following: <quote src="http://xml.apache.org/xerces2-j/faq-grammars.html#faq-2"> Xerces uses hashing to distinguish different grammar objects, by hashing on the XMLGrammarDescription objects that those grammars contain. Thus, both of Xerces implementations of XMLGrammarDescription--for DTD's and XML Schemas--provide implemetations of hashCode(): int and equals(Object):boolean that are used by the hashing algorithm. In XML Schemas, hashing is simply carried out on the target namespace of the schema. Thus, two grammars are considered equal (by our default implementation) if and only if their XMLGrammarDescriptions are instances of org.apache.xerces.impl.xs.XSDDescription (our schema implementation of XMLGrammarDescription) and the targetNamespace fields of those objects are identical. </quote> So I'll need to implement my own XMLGrammarDescription that has a hashCode() that enables multiple grammars per namespace. Have any of you tried this or any idea how had it will be, not beeing a java or xerces whizz. Best regards Brian Nielsen -----Oprindelig meddelelse----- Fra: Jeff Greif [mailto:[email protected]] Sendt: 16. juni 2004 01:54 Til: [email protected]; [email protected] Emne: Re: Xerces 2.6.2: Importing multiple XSD's with the same namespace I believe what you are doing is illegal. An import declaration <import namespace="X" schemaLocation="Y"/> tells the schema processor something like "Components from the namespace X might be found at schemaLocation Y". If you have multiple imports of the same namespace, the schema processor is allowed to ignore any of them, and certainly to stop at the first one where the expected document is found (and thus not know that more components might be found in one of the other imports.) You should collect together the various subschemas for namespace X using <include> and then import the result: intermediate.xsd: <schema targetNamespace="X" ...> <include schemaLocation="foo.xsd"/> <include schemaLocation="bar.xsd"/> ... </schema> <schema targetNamespace="http://www.ean-ucc.org/schemas/1.3.1/eanucc" ...> <import namespace="X" schemaLocation="intermediate.xsd"/> ... </schema> Jeff ----- Original Message ----- From: "Duane Jung" <[email protected]> To: <[email protected]> Sent: Tuesday, June 15, 2004 2:47 PM Subject: Re: Xerces 2.6.2: Importing multiple XSD's with the same namespace > Hi, > > I have some more information. I tried a test where I created an additional schema > (intermediate.xsd) in the abc namespace. In that schema, I included the 10 abc schema files. > > Then in the top level xsd that I imported intermediate.xsd using the abc namespace -- i.e. I did > only one import with the abc namespace. This validated without any problems. > > It seems that there might be a bug that prevents importing multiple schema's using the same > namespace or this convention violates the schema standard. Does anyone know? > > Thanks, Duane > > --- Duane Jung <[email protected]> wrote: > > Hi, > > > > I'm trying to validate an XML using an XSD that has multiple imports with the same namespace. > > An > > example XSD is below: I am importing 10 schemas using the abc namespace. > > > > The problem is that when I look at the SystemId's from a custom EntityResolver, I only see the > > first XSD for the abc namespace being resolved. If I juggle the order of the abc imports, than > > I > > will always see the first one -- I think I am getting parsing errors because the other 9 schemas > > are not being resolved. I am parsing using just validation and schema features. My XML > > validates > > against the XSD fine using XMLSpy and Oracle XDR. > > > > > > <?xml version="1.0" encoding="UTF-8"?> > > <xsd:schema targetNamespace="http://www.ean-ucc.org/schemas/1.3.1/eanucc" > > xmlns="http://www.ean-ucc.org/schemas/1.3.1/eanucc" > > xmlns:eanucc="http://www.ean-ucc.org/schemas/1.3.1/eanucc" > > xmlns:xsd="http://www.w3.org/2001/XMLSchema"> > > <xsd:include schemaLocation="As2Envelope.xsd"/> > > <xsd:include schemaLocation="DocumentCommand.xsd"/> > > <xsd:include schemaLocation="Transaction.xsd"/> > > <xsd:include schemaLocation="CatalogueItemNotification.xsd"/> > > <xsd:import namespace="http://www.ean-ucc.org/schemas/1.3.1/fmcg" > > schemaLocation="FmcgIdentification.xsd"/> > > <xsd:import namespace="http://www.ean-ucc.org/schemas/1.3.1/fmcg" > > schemaLocation="FmcgItem.xsd"/> > > <xsd:import namespace="http://www.abc.org/wim/schemas/3.0/abc" > > schemaLocation="ABC_Identification.xsd"/> > > <xsd:import namespace="http://www.abc.org/wim/schemas/3.0/abc" > > schemaLocation="ABC_TradeItem.xsd"/> > > <xsd:import namespace="http://www.abc.org/wim/schemas/3.0/abc" > > schemaLocation="ABC_TM_BelgiumTradeItem.xsd"/> > > <xsd:import namespace="http://www.abc.org/wim/schemas/3.0/abc" > > schemaLocation="ABC_TM_BrazilTradeItem.xsd"/> > > <xsd:import namespace="http://www.abc.org/wim/schemas/3.0/abc" > > schemaLocation="ABC_TM_FranceTradeItem.xsd"/> > > <xsd:import namespace="http://www.abc.org/wim/schemas/3.0/abc" > > schemaLocation="ABC_TM_SwedenTradeItem.xsd"/> > > <xsd:import namespace="http://www.abc.org/wim/schemas/3.0/abc" > > schemaLocation="ABC_GPC_ElectronicsAndAppliancesTradeItem.xsd"/> > > <xsd:import namespace="http://www.abc.org/wim/schemas/3.0/abc" > > schemaLocation="ABC_GPC_FmcgTradeItem.xsd"/> > > <xsd:import namespace="http://www.abc.org/wim/schemas/3.0/abc" > > schemaLocation="ABC_GPC_MusicAndMoviePublishingTradeItem.xsd"/> > > <xsd:import namespace="http://www.abc.org/wim/schemas/3.0/abc" > > schemaLocation="ABC_GPC_PharmacyTradeItem.xsd"/> > > <xsd:import namespace="http://www.uccnet.org/schemas/1.3/hardlines" > > schemaLocation="UCCnet_GPC_HardlinesTradeItem.xsd"/> > > <xsd:import namespace="http://www.uccnet.org/schemas/1.3/hbc" > > schemaLocation="UCCnet_GPC_HBCTradeItem.xsd"/> > > <xsd:import namespace="http://www.uccnet.org/schemas/1.3/otc" > > schemaLocation="UCCnet_GPC_OTCTradeItem.xsd"/> > > <xsd:import namespace="http://www.uccnet.org/schemas/1.3/produce" > > schemaLocation="UCCnet_GPC_ProduceTradeItem.xsd"/> > > </xsd:schema> > > > > ____________________________ > > SystemID's in the order that they registered for when ABC_Identification.xsd is the first abc > > namespace import. > > URL: file:/C:/xerces-2_6_2/samples/sax/ABC_CatalogueItemNotificationProxy.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/As2Envelope.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/Identification.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/ExtendedTypes.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/DocumentCommand.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/Command.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/Components.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/Identification.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/Transaction.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/Command.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/CatalogueItemNotification.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/CatalogueItemComponents.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/Components.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/TradeItem.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/TradeItemComponents.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/Terms.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/Components.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/FmcgIdentification.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/ABC_Identification.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/UCCnet_GPC_HardlinesTradeItem.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/UCCnet_GPC_HBCTradeItem.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/UCCnet_GPC_OTCTradeItem.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/UCCnet_GPC_ProduceTradeItem.xsd > > > > ____________________________ > > SystemID's in the order that they registered for when ABC_TradeItem.xsd is the first abc > > namespace > > import. (ABC_TradeItem is being resolved now instead of ABC_Identification). > > > > URL: file:/C:/xerces-2_6_2/samples/sax/ABC_CatalogueItemNotificationProxy.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/As2Envelope.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/Identification.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/ExtendedTypes.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/DocumentCommand.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/Command.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/Components.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/Identification.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/Transaction.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/Command.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/CatalogueItemNotification.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/CatalogueItemComponents.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/Components.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/TradeItem.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/TradeItemComponents.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/Terms.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/Components.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/FmcgIdentification.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/ABC_TradeItem.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/UCCnet_GPC_HardlinesTradeItem.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/UCCnet_GPC_HBCTradeItem.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/UCCnet_GPC_OTCTradeItem.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/UCCnet_GPC_ProduceTradeItem.xsd > > > > Has anyone seen this issue before? It causing cvc-elt.4.2 errors during parsing. > > cvc-elt.4.2 element is not locally valid, it has xsi:type but the value does not resolve to a > > known type. [Should also have a cvc-resolve-instance error.] > > > > > > Thanks in advance, Duane > > > > > > > > > > > > __________________________________ > > Do you Yahoo!? > > New and Improved Yahoo! Mail - Send 10MB messages! > > http://promotions.yahoo.com/new_mail > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > > > > > __________________________________ > Do you Yahoo!? > Read only the mail you want - Yahoo! Mail SpamGuard. > http://promotions.yahoo.com/new_mail > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Aug 24 11:04:45 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10273 invoked from network); 24 Aug 2004 11:04:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 24 Aug 2004 11:04:44 -0000 Received: (qmail 82719 invoked by uid 500); 24 Aug 2004 11:04:38 -0000 Delivered-To: [email protected] Received: (qmail 82685 invoked by uid 500); 24 Aug 2004 11:04:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 82672 invoked by uid 99); 24 Aug 2004 11:04:37 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ingw3c.tsn.at) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 24 Aug 2004 04:04:33 -0700 Received: from xmstsn1.tsn.at (xmstsn1.tsn.at [161.129.204.104]) by ingw3c.tsn.at (Postfix) with ESMTP id 373042018 for <[email protected]>; Tue, 24 Aug 2004 13:04:05 +0200 (DFT) Received: from mail.tsn.at ([161.129.204.104]) by xmstsn1.tsn.at with Microsoft SMTPSVC(5.0.2195.6713); Tue, 24 Aug 2004 12:59:28 +0200 Received: from p3500 ([161.129.204.104]) by mail.tsn.at with Microsoft SMTPSVC(5.0.2195.6713); Tue, 24 Aug 2004 12:59:28 +0200 Message-ID: <001801c489ca$67e4bf20$0201a8c0@p3500> From: "Robert Binna" <[email protected]> To: <[email protected]> References: <[email protected]> Subject: Re: HTMLDocumentImpl and clone Date: Tue, 24 Aug 2004 13:06:28 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-OriginalArrivalTime: 24 Aug 2004 10:59:28.0359 (UTC) FILETIME=[6D036F70:01C489C9] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi. Thanks for your reply. I solved the Problem by changing back to the default DocumentImpl but isnt't your code almost the same as it is in HTMLDocumentImpl. This is the code I copied from the xerces-2.6.3 source from HTMLDocumentImpl.java: public Node cloneNode( boolean deep ) { HTMLDocumentImpl clone; NodeImpl node; clone = new HTMLDocumentImpl(); if ( deep ) { node = (NodeImpl) getFirstChild(); while ( node != null ) { clone.appendChild( clone.importNode( node, true ) ); node = (NodeImpl) node.getNextSibling(); } } return clone; } Regards, Robert ----- Original Message ----- From: "Christopher Ebert" <[email protected]> To: <[email protected]> Sent: Monday, August 23, 2004 10:38 PM Subject: RE: HTMLDocumentImpl and clone Hi, Haven't seen a reply on the list yet, so the short answer is Xerces does not support 'clone' on parts of the DOM. What you can do instead is import the nodes you want into another document. The code looks something like this: Document nodeDoc = parentNode.getOwnerDocument(); if (childNodeToImport instanceof Document) { childNodeToImport = ((Document) childNodeToImport).getDocumentElement(); } Node importedDoc = nodeDoc.importNode(childNodeToImport, true); parentNode.appendChild(importedDoc); Where: parentNode: is the node in your new document to which you want to attach the DOM fragment. If you just want to put it in a fresh document, you don't need to get the 'owner' of the document (you'll get exceptions if you do...) childNodeToImport: the DOM fragment you want to duplicate. If it is a document, you need to get the 'document element' of the document. The remaining code does the import and attaches the resulting DOM structure. I think there's a FAQ about this -- if not, maybe there should be... Chris -----Original Message----- From: Robert Binna [mailto:[email protected]] Sent: Sunday, August 22, 2004 15:34 To: [email protected] Subject: HTMLDocumentImpl and clone Hi I had a code that worked fine with the library openxml. Now I wanted to changed to Xerces. I parsed the XHTML-File and all worked fine, but when I wanted to clone the Document I get the following Exception: org.w3c.dom.DOMException: NOT_SUPPORTED_ERR: The implementation does not support the requested type of object or operation. at org.apache.xerces.dom.CoreDocumentImpl.importNode(Unknown Source) at org.apache.xerces.dom.CoreDocumentImpl.importNode(Unknown Source) at org.apache.html.dom.HTMLDocumentImpl.cloneNode(Unknown Source) This was the code that was the reason for this exception: DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); factory.setAttribute("http://apache.org/xml/properties/dom/document-clas s-na me","org.apache.html.dom.HTMLDocumentImpl"); DocumentBuilder builder = factory.newDocumentBuilder(); domDocument = builder.parse(filename); HTMLDocument doc = (HTMLDocument) domDocument.cloneNode(true); Is this my fault or is it a bug in Xerces? Regards, Robert --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Aug 25 03:18:38 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58229 invoked from network); 25 Aug 2004 03:18:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 25 Aug 2004 03:18:38 -0000 Received: (qmail 77513 invoked by uid 500); 25 Aug 2004 03:18:32 -0000 Delivered-To: [email protected] Received: (qmail 77489 invoked by uid 500); 25 Aug 2004 03:18:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 77474 invoked by uid 99); 25 Aug 2004 03:18:31 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO e4.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 24 Aug 2004 20:18:26 -0700 Received: from northrelay04.pok.ibm.com (northrelay04.pok.ibm.com [161.129.204.104]) by e4.ny.us.ibm.com (8.12.10/8.12.9) with ESMTP id i7P3INvL878622 for <[email protected]>; Tue, 24 Aug 2004 23:18:23 -0400 Received: from d25ml04.torolab.ibm.com (d01av02.pok.ibm.com [161.129.204.104]) by northrelay04.pok.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id i7P3JVOx172890 for <[email protected]>; Tue, 24 Aug 2004 23:19:32 -0400 Subject: Re: SV: Xerces 2.6.2: Importing multiple XSD's with the same namespac e - implementing my own XMLGrammarDescription To: [email protected] X-Mailer: Lotus Notes Release 5.0.7 March 21, 2001 Message-ID: <[email protected]> From: Neil Graham <[email protected]> Date: Tue, 24 Aug 2004 23:18:20 -0400 X-MIMETrack: Serialize by Router on D25ML04/25/M/IBM(Release 6.0.2CF1|June 9, 2003) at 08/24/2004 23:18:23 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Brian, Although this is a neat idea, the use of .equals and .hashcode methods in XMLGrammarDescriptions was meant to allow the grammar pool implementation to be highly extensible. But once a grammar is returned from the grammar pool to the parser, the parser stores them in something called a "GrammarBucket". This is an implementation detail, not designed to be extensible. So there isn't any way to override the restriction that a GrammarBucket can contain but one grammar for any given namespace. What's needed is some way to tell Xerces-J not to ignore multiple <xs:import>s--in other words, to build a single Grammar object composed of components from multiple documents with the same targetNamespace (and no explicit <xs:include> or <xs:redefine> relation). The Schema spec is quite clear that parsers have complete freedom in terms of what they decide to do with multiple <xs:import>s. While this isn't exactly the first time I've heard this need described, it doesn't come up that often either; I'd be curious to see how many people are annoyed by the choice Xerces makes today, and whether anyone actually depends on the current behaviour. Cheers, Neil Neil Graham Manager, XML Parser Development IBM Toronto Lab Phone: 860-947-9872, T/L 969-3519 E-mail: [email protected] Brian Nielsen <[email protected]> To: "'[email protected]'" <[email protected]> cc: [email protected] 08/24/2004 03:03 Subject: SV: Xerces 2.6.2: Importing multiple XSD's with the same namespac e - AM implementing my own XMLGrammarDescription Please respond to xerces-j-user Jeff is right that the processor can ignore all but the first schema thats imported, but in my work I have the same "problem" as Duane, since we like to fragment the type definitions and element declarations into different schema modules. I sometime use XMLSpy, which certainly has it flaws, but it does "respect" all the imports and as such works great for me. I was wondering how hard it would be to make my own implementation that makes xerces do what I want. From the Grammar faq I get the following: <quote src="http://xml.apache.org/xerces2-j/faq-grammars.html#faq-2"> Xerces uses hashing to distinguish different grammar objects, by hashing on the XMLGrammarDescription objects that those grammars contain. Thus, both of Xerces implementations of XMLGrammarDescription--for DTD's and XML Schemas--provide implemetations of hashCode(): int and equals(Object):boolean that are used by the hashing algorithm. In XML Schemas, hashing is simply carried out on the target namespace of the schema. Thus, two grammars are considered equal (by our default implementation) if and only if their XMLGrammarDescriptions are instances of org.apache.xerces.impl.xs.XSDDescription (our schema implementation of XMLGrammarDescription) and the targetNamespace fields of those objects are identical. </quote> So I'll need to implement my own XMLGrammarDescription that has a hashCode() that enables multiple grammars per namespace. Have any of you tried this or any idea how had it will be, not beeing a java or xerces whizz. Best regards Brian Nielsen -----Oprindelig meddelelse----- Fra: Jeff Greif [mailto:[email protected]] Sendt: 16. juni 2004 01:54 Til: [email protected]; [email protected] Emne: Re: Xerces 2.6.2: Importing multiple XSD's with the same namespace I believe what you are doing is illegal. An import declaration <import namespace="X" schemaLocation="Y"/> tells the schema processor something like "Components from the namespace X might be found at schemaLocation Y". If you have multiple imports of the same namespace, the schema processor is allowed to ignore any of them, and certainly to stop at the first one where the expected document is found (and thus not know that more components might be found in one of the other imports.) You should collect together the various subschemas for namespace X using <include> and then import the result: intermediate.xsd: <schema targetNamespace="X" ...> <include schemaLocation="foo.xsd"/> <include schemaLocation="bar.xsd"/> ... </schema> <schema targetNamespace="http://www.ean-ucc.org/schemas/1.3.1/eanucc" ...> <import namespace="X" schemaLocation="intermediate.xsd"/> ... </schema> Jeff ----- Original Message ----- From: "Duane Jung" <[email protected]> To: <[email protected]> Sent: Tuesday, June 15, 2004 2:47 PM Subject: Re: Xerces 2.6.2: Importing multiple XSD's with the same namespace > Hi, > > I have some more information. I tried a test where I created an additional schema > (intermediate.xsd) in the abc namespace. In that schema, I included the 10 abc schema files. > > Then in the top level xsd that I imported intermediate.xsd using the abc namespace -- i.e. I did > only one import with the abc namespace. This validated without any problems. > > It seems that there might be a bug that prevents importing multiple schema's using the same > namespace or this convention violates the schema standard. Does anyone know? > > Thanks, Duane > > --- Duane Jung <[email protected]> wrote: > > Hi, > > > > I'm trying to validate an XML using an XSD that has multiple imports with the same namespace. > > An > > example XSD is below: I am importing 10 schemas using the abc namespace. > > > > The problem is that when I look at the SystemId's from a custom EntityResolver, I only see the > > first XSD for the abc namespace being resolved. If I juggle the order of the abc imports, than > > I > > will always see the first one -- I think I am getting parsing errors because the other 9 schemas > > are not being resolved. I am parsing using just validation and schema features. My XML > > validates > > against the XSD fine using XMLSpy and Oracle XDR. > > > > > > <?xml version="1.0" encoding="UTF-8"?> > > <xsd:schema targetNamespace="http://www.ean-ucc.org/schemas/1.3.1/eanucc" > > xmlns="http://www.ean-ucc.org/schemas/1.3.1/eanucc" > > xmlns:eanucc="http://www.ean-ucc.org/schemas/1.3.1/eanucc" > > xmlns:xsd="http://www.w3.org/2001/XMLSchema"> > > <xsd:include schemaLocation="As2Envelope.xsd"/> > > <xsd:include schemaLocation="DocumentCommand.xsd"/> > > <xsd:include schemaLocation="Transaction.xsd"/> > > <xsd:include schemaLocation="CatalogueItemNotification.xsd"/> > > <xsd:import namespace="http://www.ean-ucc.org/schemas/1.3.1/fmcg" > > schemaLocation="FmcgIdentification.xsd"/> > > <xsd:import namespace="http://www.ean-ucc.org/schemas/1.3.1/fmcg" > > schemaLocation="FmcgItem.xsd"/> > > <xsd:import namespace="http://www.abc.org/wim/schemas/3.0/abc" > > schemaLocation="ABC_Identification.xsd"/> > > <xsd:import namespace="http://www.abc.org/wim/schemas/3.0/abc" > > schemaLocation="ABC_TradeItem.xsd"/> > > <xsd:import namespace="http://www.abc.org/wim/schemas/3.0/abc" > > schemaLocation="ABC_TM_BelgiumTradeItem.xsd"/> > > <xsd:import namespace="http://www.abc.org/wim/schemas/3.0/abc" > > schemaLocation="ABC_TM_BrazilTradeItem.xsd"/> > > <xsd:import namespace="http://www.abc.org/wim/schemas/3.0/abc" > > schemaLocation="ABC_TM_FranceTradeItem.xsd"/> > > <xsd:import namespace="http://www.abc.org/wim/schemas/3.0/abc" > > schemaLocation="ABC_TM_SwedenTradeItem.xsd"/> > > <xsd:import namespace="http://www.abc.org/wim/schemas/3.0/abc" > > schemaLocation="ABC_GPC_ElectronicsAndAppliancesTradeItem.xsd"/> > > <xsd:import namespace="http://www.abc.org/wim/schemas/3.0/abc" > > schemaLocation="ABC_GPC_FmcgTradeItem.xsd"/> > > <xsd:import namespace="http://www.abc.org/wim/schemas/3.0/abc" > > schemaLocation="ABC_GPC_MusicAndMoviePublishingTradeItem.xsd"/> > > <xsd:import namespace="http://www.abc.org/wim/schemas/3.0/abc" > > schemaLocation="ABC_GPC_PharmacyTradeItem.xsd"/> > > <xsd:import namespace="http://www.uccnet.org/schemas/1.3/hardlines" > > schemaLocation="UCCnet_GPC_HardlinesTradeItem.xsd"/> > > <xsd:import namespace="http://www.uccnet.org/schemas/1.3/hbc" > > schemaLocation="UCCnet_GPC_HBCTradeItem.xsd"/> > > <xsd:import namespace="http://www.uccnet.org/schemas/1.3/otc" > > schemaLocation="UCCnet_GPC_OTCTradeItem.xsd"/> > > <xsd:import namespace="http://www.uccnet.org/schemas/1.3/produce" > > schemaLocation="UCCnet_GPC_ProduceTradeItem.xsd"/> > > </xsd:schema> > > > > ____________________________ > > SystemID's in the order that they registered for when ABC_Identification.xsd is the first abc > > namespace import. > > URL: file:/C:/xerces-2_6_2/samples/sax/ABC_CatalogueItemNotificationProxy.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/As2Envelope.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/Identification.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/ExtendedTypes.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/DocumentCommand.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/Command.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/Components.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/Identification.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/Transaction.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/Command.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/CatalogueItemNotification.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/CatalogueItemComponents.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/Components.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/TradeItem.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/TradeItemComponents.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/Terms.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/Components.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/FmcgIdentification.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/ABC_Identification.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/UCCnet_GPC_HardlinesTradeItem.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/UCCnet_GPC_HBCTradeItem.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/UCCnet_GPC_OTCTradeItem.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/UCCnet_GPC_ProduceTradeItem.xsd > > > > ____________________________ > > SystemID's in the order that they registered for when ABC_TradeItem.xsd is the first abc > > namespace > > import. (ABC_TradeItem is being resolved now instead of ABC_Identification). > > > > URL: file:/C:/xerces-2_6_2/samples/sax/ABC_CatalogueItemNotificationProxy.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/As2Envelope.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/Identification.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/ExtendedTypes.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/DocumentCommand.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/Command.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/Components.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/Identification.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/Transaction.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/Command.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/CatalogueItemNotification.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/CatalogueItemComponents.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/Components.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/TradeItem.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/TradeItemComponents.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/Terms.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/Components.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/FmcgIdentification.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/ABC_TradeItem.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/UCCnet_GPC_HardlinesTradeItem.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/UCCnet_GPC_HBCTradeItem.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/UCCnet_GPC_OTCTradeItem.xsd > > URL: file:/C:/xerces-2_6_2/samples/sax/UCCnet_GPC_ProduceTradeItem.xsd > > > > Has anyone seen this issue before? It causing cvc-elt.4.2 errors during parsing. > > cvc-elt.4.2 element is not locally valid, it has xsi:type but the value does not resolve to a > > known type. [Should also have a cvc-resolve-instance error.] > > > > > > Thanks in advance, Duane > > > > > > > > > > > > __________________________________ > > Do you Yahoo!? > > New and Improved Yahoo! Mail - Send 10MB messages! > > http://promotions.yahoo.com/new_mail > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > > > > > __________________________________ > Do you Yahoo!? > Read only the mail you want - Yahoo! Mail SpamGuard. > http://promotions.yahoo.com/new_mail > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Aug 25 03:31:34 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64257 invoked from network); 25 Aug 2004 03:31:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 25 Aug 2004 03:31:34 -0000 Received: (qmail 88686 invoked by uid 500); 25 Aug 2004 03:31:29 -0000 Delivered-To: [email protected] Received: (qmail 88663 invoked by uid 500); 25 Aug 2004 03:31:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 88648 invoked by uid 99); 25 Aug 2004 03:31:29 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO web53701.mail.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with SMTP; Tue, 24 Aug 2004 20:31:25 -0700 Message-ID: <[email protected]> Received: from [161.129.204.104] by web53701.mail.yahoo.com via HTTP; Tue, 24 Aug 2004 20:31:24 PDT Date: Tue, 24 Aug 2004 20:31:24 -0700 (PDT) From: Pallavi Patil <[email protected]> Subject: how to get isRef value i.e. Reference is set or not on element To: [email protected] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, If on element Staff isRef is set to true. How can I get value of isRef that is it is set or not? <xs:element name="Emp"> <xs:complexType> <xs:sequence> <xs:element ref="Staff"/> </xs:sequence> </xs:complexType> </xs:element> I would appreciate your help or any pointer to see whether Reference is set or not on element. Thanks, Pallavi __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Aug 25 18:06:01 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53550 invoked from network); 25 Aug 2004 18:05:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 25 Aug 2004 18:05:59 -0000 Received: (qmail 25703 invoked by uid 500); 25 Aug 2004 18:05:55 -0000 Delivered-To: [email protected] Received: (qmail 25080 invoked by uid 500); 25 Aug 2004 18:05:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 25067 invoked by uid 99); 25 Aug 2004 18:05:51 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO web53704.mail.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with SMTP; Wed, 25 Aug 2004 11:05:49 -0700 Message-ID: <[email protected]> Received: from [161.129.204.104] by web53704.mail.yahoo.com via HTTP; Wed, 25 Aug 2004 11:05:47 PDT Date: Wed, 25 Aug 2004 11:05:47 -0700 (PDT) From: Pallavi Patil <[email protected]> Subject: ref attribute To: [email protected] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I want to check if element has ref attribute set or not, can anyone help me how can I check it? Thanks. _______________________________ Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now. http://promotions.yahoo.com/goldrush --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Aug 25 20:36:14 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64820 invoked from network); 25 Aug 2004 20:36:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 25 Aug 2004 20:36:14 -0000 Received: (qmail 7123 invoked by uid 500); 25 Aug 2004 20:36:08 -0000 Delivered-To: [email protected] Received: (qmail 7064 invoked by uid 500); 25 Aug 2004 20:36:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 7051 invoked by uid 99); 25 Aug 2004 20:36:08 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO tonnant.nxlkhost.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Wed, 25 Aug 2004 13:36:05 -0700 Received: from rickb (161.129.204.104.ptr.us.xo.net [161.129.204.104]) by tonnant.nxlkhost.com id QAA16382; Wed, 25 Aug 2004 16:36:04 -0400 (EDT) [ConcentricHost SMTP Relay 1.17] Message-ID: <[email protected]> Errors-To: <[email protected]> From: "Rick Bullotta" <[email protected]> To: <[email protected]> Subject: Safe to use singleton DocumentBuilderFactory? Date: Wed, 25 Aug 2004 16:36:04 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <[email protected]> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Thread-Index: AcSKzitx2zZkB2fcRSyak90HTg99YAAFMu0Q X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N It is acceptable/safe to create a single static DocumentBuilderFactory instance and use it from many threads to create DocumentBuilder instances? Thanks! Rick Bullotta CTO Lighthammer Software (http://www.lighthammer.com) -----Original Message----- From: Pallavi Patil [mailto:[email protected]] Sent: Wednesday, August 25, 2004 2:06 PM To: [email protected] Subject: ref attribute Hi, I want to check if element has ref attribute set or not, can anyone help me how can I check it? Thanks. _______________________________ Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now. http://promotions.yahoo.com/goldrush --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Aug 25 20:45:37 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70146 invoked from network); 25 Aug 2004 20:45:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 25 Aug 2004 20:45:37 -0000 Received: (qmail 24418 invoked by uid 500); 25 Aug 2004 20:45:31 -0000 Delivered-To: [email protected] Received: (qmail 24372 invoked by uid 500); 25 Aug 2004 20:45:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 24360 invoked by uid 99); 25 Aug 2004 20:45:31 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO aetna.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Wed, 25 Aug 2004 13:45:28 -0700 Received: from ([161.129.204.104]) by winpironmail1.aetna.com with ESMTP id KP-VXK77.20220487; Wed, 25 Aug 2004 16:44:57 -0400 Received: from midp-scan-910.aeth.aetna.com ([161.129.204.104]) by MIDP-SCAN-913.aeth.aetna.com with InterScan Messaging Security Suite; Wed, 25 Aug 2004 16:44:57 -0400 Received: from MIDP-MSG-900.aeth.aetna.com ([161.129.204.104]) by midp-scan-910.aeth.aetna.com (SMSSMTP 161.129.204.104) with SMTP id M2004082516454126511 for <[email protected]>; Wed, 25 Aug 2004 16:45:41 -0400 Received: from MDDP-MSG-001.aeth.aetna.com ([161.129.204.104]) by MIDP-MSG-900.aeth.aetna.com with Microsoft SMTPSVC(5.0.2195.5600); Wed, 25 Aug 2004 16:44:57 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: RE: Safe to use singleton DocumentBuilderFactory? Date: Wed, 25 Aug 2004 16:44:57 -0400 Message-ID: <[email protected]> X-MS-Has-Attach: yes X-MS-TNEF-Correlator: Thread-Topic: Safe to use singleton DocumentBuilderFactory? thread-index: AcSKzitx2zZkB2fcRSyak90HTg99YAAFMu0QAABPYXA= From: "Soosai, Lourdhu Vasanth" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 25 Aug 2004 20:44:57.0854 (UTC) FILETIME=[623CB9E0:01C48AE4] Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C48AE4.6227ADB0" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C48AE4.6227ADB0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable yes , you can do so=2E=0D=0A=0D=0A =0D=0A=0D=0A___________________________= ___________=0D=0AVasanth=0D=0A=0D=0A=0D=0A-----Original Message-----=0D=0AF= rom: Rick Bullotta [mailto:rick=2Ebullotta@lighthammer=2Ecom] =0D=0ASent: W= ednesday, August 25, 2004 4:36 PM=0D=0ATo: xerces-j-user@xml=2Eapache=2Eorg= =0D=0ASubject: Safe to use singleton DocumentBuilderFactory?=0D=0A=0D=0A=0D= =0AIt is acceptable/safe to create a single static DocumentBuilderFactory= =0D=0Ainstance and use it from many threads to create DocumentBuilder=0D=0A= instances?=0D=0A=0D=0AThanks!=0D=0A=0D=0ARick Bullotta=0D=0ACTO=0D=0ALighth= ammer Software (http://www=2Elighthammer=2Ecom)=0D=0A=0D=0A=0D=0A-----Origi= nal Message-----=0D=0AFrom: Pallavi Patil [mailto:pallavipatil_1@yahoo=2Eco= m] =0D=0ASent: Wednesday, August 25, 2004 2:06 PM=0D=0ATo: xerces-j-user@xm= l=2Eapache=2Eorg=0D=0ASubject: ref attribute =0D=0A=0D=0AHi,=0D=0AI want to= check if element has ref attribute set or=0D=0Anot, can anyone help me how= can I check it? =0D=0AThanks=2E=0D=0A=0D=0A=0D=0A=0D=0A =0D=0A___________= ____________________=0D=0ADo you Yahoo!?=0D=0AWin 1 of 4,000 free domain na= mes from Yahoo! Enter now=2E=0D=0Ahttp://promotions=2Eyahoo=2Ecom/goldrush= =0D=0A=0D=0A---------------------------------------------------------------= ------=0D=0ATo unsubscribe, e-mail: xerces-j-user-unsubscribe@xml=2Eapache= =2Eorg=0D=0AFor additional commands, e-mail: xerces-j-user-help@xml=2Eapach= e=2Eorg=0D=0A=0D=0A=0D=0A=0D=0A--------------------------------------------= -------------------------=0D=0ATo unsubscribe, e-mail: xerces-j-user-unsubs= cribe@xml=2Eapache=2Eorg=0D=0AFor additional commands, e-mail: xerces-j-use= r-help@xml=2Eapache=2Eorg=0D=0A=0D=0A=0D=0A=0D=0A=0D=0A--------------------= ---------------------=0D=0AThis e-mail may contain confidential or privileg= ed information=2E If you=0D=0Athink you have received this e-mail in error= , please advise the sender by=0D=0Areply e-mail and then delete this e-mail= immediately=2E Thank you=2E Aetna=0D=0A ------_=_NextPart_001_01C48AE4.6227ADB0 Content-Type: application/octet-stream; name="DOMFactory.java" Content-Transfer-Encoding: base64 Content-Description: DOMFactory.java Content-Disposition: attachment; filename="DOMFactory.java" DQoNCmltcG9ydCBqYXZheC54bWwucGFyc2Vycy5Eb2N1bWVudEJ1aWxkZXI7DQppbXBvcnQgamF2 YXgueG1sLnBhcnNlcnMuRG9jdW1lbnRCdWlsZGVyRmFjdG9yeTsNCmltcG9ydCBqYXZheC54bWwu cGFyc2Vycy5QYXJzZXJDb25maWd1cmF0aW9uRXhjZXB0aW9uOw0KDQppbXBvcnQgb3JnLnczYy5k b20uRG9jdW1lbnQ7DQppbXBvcnQgb3JnLnczYy5kb20uRE9NRXhjZXB0aW9uOw0KDQppbXBvcnQg amF2YS51dGlsLkhhc2hNYXA7DQppbXBvcnQgamF2YS51dGlsLk1hcDsNCg0KaW1wb3J0IGphdmEu aW8uUHJpbnRTdHJlYW07DQovKioNCiAgKkBhdXRob3IgdmFzYW50aGxAeWFob28uY29tCQ0KKiov DQpwdWJsaWMgY2xhc3MgRE9NRmFjdG9yeSB7DQoNCg0KcHJpdmF0ZSAgc3RhdGljIE1hcCBjb250 YWluZXIgPSBuZXcgSGFzaE1hcCgpOw0KDQpwcml2YXRlIHN0YXRpYyBib29sZWFuIF9kZWJ1ZyAg ID0gZmFsc2U7DQoNCnByaXZhdGUgc3RhdGljIFByaW50U3RyZWFtCW8gICA9IFN5c3RlbS5vdXQ7 DQoNCnByaXZhdGUgc3RhdGljIERvY3VtZW50QnVpbGRlcglkb21CdWlsZGVyIDsNCg0KCXN0YXRp Yw0KCXsNCgkJaW5pdFBvb2woKTsNCgl9DQoJDQoJcHVibGljIHN0YXRpYyB2b2lkIGluaXRQb29s KCl7DQoJDQoJdHJ5ew0KDQoJCVN0cmluZyBkZWJ1Z1N3aXRjaD0JU3lzdGVtLmdldFByb3BlcnR5 KERPTUZhY3RvcnkuY2xhc3MuZ2V0TmFtZSgpKyJfZGVidWciKTsNCgkJaWYoZGVidWdTd2l0Y2gh PW51bGwpDQoJCQlfZGVidWcgPSB0cnVlOw0KCQkJDQoJCQkJCQkJCQkNCgkJRG9jdW1lbnRCdWls ZGVyRmFjdG9yeSBmYWMgPSBEb2N1bWVudEJ1aWxkZXJGYWN0b3J5Lm5ld0luc3RhbmNlKCk7DQoJ CSBmYWMuc2V0TmFtZXNwYWNlQXdhcmUodHJ1ZSk7DQoJCURvY3VtZW50QnVpbGRlcglkYj1mYWMu bmV3RG9jdW1lbnRCdWlsZGVyKCk7DQoNCgkJZG9tQnVpbGRlcgk9IGZhYy5uZXdEb2N1bWVudEJ1 aWxkZXIoKTsNCgkJCQkNCgkJRG9jdW1lbnQgZCA9IGRiLm5ld0RvY3VtZW50KCk7DQoJCQ0KCQlj b250YWluZXIucHV0KCJkb2N1bWVudCIsZCk7DQoJCWlmKF9kZWJ1ZylvLnByaW50bG4oIl9fX19f X19hZGRlZCBkb2N1bWVudCBpbiBNYXBfX19fX19fa2V5OmRvY3VtZW50Iik7DQoJCQ0KCQljb250 YWluZXIucHV0KCJkb21CdWlsZGVyIixkb21CdWlsZGVyKTsNCgkJaWYoX2RlYnVnKW8ucHJpbnRs bigiX19fX19fX2FkZGVkIGRvbUJ1aWxkZXIgaW4gTWFwX19fX19rZXk6ZG9tQnVpbGRlciIpOw0K CQkNCgkJDQoJCX0NCgkJDQoJCWNhdGNoKFBhcnNlckNvbmZpZ3VyYXRpb25FeGNlcHRpb24gcGUp ew0KCQkJDQoJCQlpZihfZGVidWcpDQoJCQlvLnByaW50bG4oIkV4Y2VwdGlvbiBpbiBpbml0UG9v bCAiK3BlLnRvU3RyaW5nKCkpIDsgCQkJCQ0KCQkNCgkJfQ0KCQljYXRjaChET01FeGNlcHRpb24g ZGUpew0KCQkJDQoJCQlpZihfZGVidWcpDQoJCQlvLnByaW50bG4oIkV4Y2VwdGlvbiBpbiBpbml0 UG9vbCAiK2RlLnRvU3RyaW5nKCkpIDsgCQkJCQkNCgkJDQoJCX0NCgkJY2F0Y2goRXhjZXB0aW9u IGUpew0KCQkJDQoJCQlpZihfZGVidWcpDQoJCQlvLnByaW50bG4oIkV4Y2VwdGlvbiBpbiBpbml0 UG9vbCAiK2UudG9TdHJpbmcoKSk7CQkNCgkJCQ0KCQl9DQoNCgkJDQoJfQ0KCQ0KCQ0KDQoJCS8q DQoJCQlyZXR1cm5zIGEgZnJlc2ggY29weSBvZiBvcmcudzNjLmRvbS5Eb2N1bWVudA0KCQkJDQoJ CSovDQoJCQ0KCXB1YmxpYyBzdGF0aWMgRG9jdW1lbnQgZ2V0RE9NQ2xvbmUoKXsNCgkJDQoJCQ0K CQlEb2N1bWVudCBiYXNlRE9NID0gKERvY3VtZW50KWNvbnRhaW5lci5nZXQoImRvY3VtZW50Iik7 DQoJCQ0KCQkNCgkJRG9jdW1lbnQgRE9NQ2xvbmUgPShEb2N1bWVudCliYXNlRE9NLmNsb25lTm9k ZShmYWxzZSk7DQoJCQ0KCQkNCgkJDQoJCXJldHVybiBET01DbG9uZTsNCgkJDQoJfQ0KCS8qDQoJ CXJldHVybiBhIGNhY2hlZCBpbnN0YW5jZSBvZg0KCQlqYXZheC54bWwucGFyc2Vycy5Eb2N1bWVu dEJ1aWxkZXINCgkqLw0KCQ0KCXB1YmxpYyBzdGF0aWMgRG9jdW1lbnRCdWlsZGVyIGdldERPTUJ1 aWxkZXIoKXsNCg0KCQkJCXJldHVybiAoRG9jdW1lbnRCdWlsZGVyKWNvbnRhaW5lci5nZXQoImRv bUJ1aWxkZXIiKTsNCgkJDQoJfQ0KCQ0KCQ0KfQ0KDQo= ------_=_NextPart_001_01C48AE4.6227ADB0 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] ------_=_NextPart_001_01C48AE4.6227ADB0-- From [email protected] Thu Aug 26 04:03:25 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33118 invoked from network); 26 Aug 2004 04:03:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 26 Aug 2004 04:03:25 -0000 Received: (qmail 16832 invoked by uid 500); 26 Aug 2004 04:03:20 -0000 Delivered-To: [email protected] Received: (qmail 16596 invoked by uid 500); 26 Aug 2004 04:03:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 16585 invoked by uid 99); 26 Aug 2004 04:03:17 -0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_20_30,HTML_MESSAGE X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO e6.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Wed, 25 Aug 2004 21:03:16 -0700 Received: from northrelay04.pok.ibm.com (northrelay04.pok.ibm.com [161.129.204.104]) by e6.ny.us.ibm.com (8.12.10/8.12.9) with ESMTP id i7Q43Ant528508 for <[email protected]>; Thu, 26 Aug 2004 00:03:10 -0400 Received: from d25ml03.torolab.ibm.com (d01av04.pok.ibm.com [161.129.204.104]) by northrelay04.pok.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id i7Q44IXG140308 for <[email protected]>; Thu, 26 Aug 2004 00:04:19 -0400 In-Reply-To: <[email protected]> To: [email protected] MIME-Version: 1.0 Subject: Re: Safe to use singleton DocumentBuilderFactory? X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003 Message-ID: <[email protected]> From: Michael Glavassevich <[email protected]> Date: Thu, 26 Aug 2004 00:03:07 -0400 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 6.0.2CF1|June 9, 2003) at 08/26/2004 00:03:11, Serialize complete at 08/26/2004 00:03:11 Content-Type: multipart/alternative; boundary="=_alternative 0016418885256EFC_=" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --=_alternative 0016418885256EFC_= Content-Type: text/plain; charset="US-ASCII" Hello Rick, Instances of javax.xml.parsers.DocumentBuilderFactory [1] are not guaranteed to be thread-safe, so accessing an instance of this class across multiple threads should be synchronized by your application. The javadoc for DocumentBuilderFactory states that: "an application can use the same instance of the factory to obtain one or more instances of the DocumentBuilder provided the instance of the factory isn't being used in more than one thread at a time". Unless you're doing something strange like modifying the configuration of the factory while a DocumentBuilder is being instantiated on another thread, I don't think you'd run into problems with the current implementation in Xerces, but you can't count on that since DocumentBuilderFactory makes no guarantees. [1] http://java.sun.com/j2se/1.4 .2/docs/api/javax/xml/parsers/DocumentBuilderFactory.html "Rick Bullotta" <[email protected]> wrote on 08/25/2004 04:36:04 PM: > It is acceptable/safe to create a single static DocumentBuilderFactory > instance and use it from many threads to create DocumentBuilder instances? > > Thanks! > > Rick Bullotta > CTO > Lighthammer Software (http://www.lighthammer.com) > > > -----Original Message----- > From: Pallavi Patil [mailto:[email protected]] > Sent: Wednesday, August 25, 2004 2:06 PM > To: [email protected] > Subject: ref attribute > > Hi, > I want to check if element has ref attribute set or > not, can anyone help me how can I check it? > Thanks. > > > > > _______________________________ > Do you Yahoo!? > Win 1 of 4,000 free domain names from Yahoo! Enter now. > http://promotions.yahoo.com/goldrush > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] --=_alternative 0016418885256EFC_= Content-Type: text/html; charset="US-ASCII" <br><font size=2><tt>Hello Rick,</tt></font> <br> <br><font size=2><tt>Instances of javax.xml.parsers.DocumentBuilderFactory [1] are not guaranteed to be thread-safe, so accessing an instance of this class across multiple threads should be synchronized by your application. The javadoc for DocumentBuilderFactory states that: &quot;an application can use the same instance of the factory to obtain one or more instances of the DocumentBuilder provided the instance of the factory isn't being used in more than one thread at a time&quot;. Unless you're doing something strange like modifying the configuration of the factory while a DocumentBuilder is being instantiated on another thread, I don't think you'd run into problems with the current implementation in Xerces, but you can't count on that since DocumentBuilderFactory makes no guarantees.</tt></font> <br> <br><font size=2><tt>[1] http://java.sun.com/j2se/1.4.2/docs/api/javax/xml/parsers/DocumentBuilderFactory.html</tt></font> <br> <br><font size=2><tt>&quot;Rick Bullotta&quot; &lt;[email protected]&gt; wrote on 08/25/2004 04:36:04 PM:<br> <br> &gt; It is acceptable/safe to create a single static DocumentBuilderFactory<br> &gt; instance and use it from many threads to create DocumentBuilder instances?<br> &gt; <br> &gt; Thanks!<br> &gt; <br> &gt; Rick Bullotta<br> &gt; CTO<br> &gt; Lighthammer Software (http://www.lighthammer.com)<br> &gt; <br> &gt; <br> &gt; -----Original Message-----<br> &gt; From: Pallavi Patil [mailto:[email protected]] <br> &gt; Sent: Wednesday, August 25, 2004 2:06 PM<br> &gt; To: [email protected]<br> &gt; Subject: ref attribute <br> &gt; <br> &gt; Hi,<br> &gt; I want to check if element has ref attribute set or<br> &gt; not, can anyone help me how can I check it? <br> &gt; Thanks.<br> &gt; <br> &gt; <br> &gt; <br> &gt; &nbsp; &nbsp; &nbsp; <br> &gt; _______________________________<br> &gt; Do you Yahoo!?<br> &gt; Win 1 of 4,000 free domain names from Yahoo! Enter now.<br> &gt; http://promotions.yahoo.com/goldrush<br> &gt; <br> &gt; ---------------------------------------------------------------------<br> &gt; To unsubscribe, e-mail: [email protected]<br> &gt; For additional commands, e-mail: [email protected]<br> &gt; <br> &gt; <br> &gt; <br> &gt; ---------------------------------------------------------------------<br> &gt; To unsubscribe, e-mail: [email protected]<br> &gt; For additional commands, e-mail: [email protected]<br> &gt; <br> </tt></font> <br><font size=2><tt>Michael Glavassevich<br> XML Parser Development<br> IBM Toronto Lab<br> E-mail: [email protected]</tt></font> <br><font size=2><tt>E-mail: [email protected]</tt></font> --=_alternative 0016418885256EFC_=-- From [email protected] Fri Aug 27 04:56:08 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36314 invoked from network); 27 Aug 2004 04:56:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 27 Aug 2004 04:56:08 -0000 Received: (qmail 81615 invoked by uid 500); 27 Aug 2004 04:56:02 -0000 Delivered-To: [email protected] Received: (qmail 81588 invoked by uid 500); 27 Aug 2004 04:56:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 81564 invoked by uid 99); 27 Aug 2004 04:56:01 -0000 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=HTML_50_60,HTML_MESSAGE,MIME_BOUND_NEXTPART,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO InDelG01.tcs.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Thu, 26 Aug 2004 21:55:58 -0700 Received: from indelg01 ([161.129.204.104]) by InDelG01.tcs.com (Lotus Domino Release 6.0.3) with SMTP id 2004082710252880-88056 ; Fri, 27 Aug 2004 10:25:28 +0530 To: [email protected] Subject: Reading entire tree structure of an XML MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5 September 26, 2003 From: [email protected] Message-ID: <[email protected]> Date: Fri, 27 Aug 2004 10:18:33 +0530 X-MIMETrack: Serialize by Router on InDelM01/TCS(Release 6.0.3|September 18, 2003) at 08/27/2004 10:25:29, Serialize complete at 08/27/2004 10:25:29, Itemize by SMTP Server on InDelG01/TCS(Release 6.0.3|September 26, 2003) at 08/27/2004 10:25:28 AM, Serialize by Router on InDelG01/TCS(Release 6.0.3|September 26, 2003) at 08/27/2004 10:25:55 AM, Serialize complete at 08/27/2004 10:25:55 AM Content-Type: multipart/mixed; boundary="----=_NextPartTM-000-ee78eb9e-d3aa-4f7e-bf94-ebe91b931a93" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------=_NextPartTM-000-ee78eb9e-d3aa-4f7e-bf94-ebe91b931a93 Content-Type: multipart/alternative; boundary="=_alternative 0019CD3665256EFD_=" --=_alternative 0019CD3665256EFD_= Content-Type: text/plain; charset="US-ASCII" Hi, My XML has atleast 5 levels of nested elements. How can i read the entire data and put it in a Container so that i can use that data for processing ? Thanks and Regards, Chetan --=_alternative 0019CD3665256EFD_= Content-Type: text/html; charset="US-ASCII" <br><font size=2 face="sans-serif">Hi,</font> <br> <br> <br><font size=2 face="sans-serif">My XML has atleast 5 levels of nested elements. How can i read the entire data and put</font> <br><font size=2 face="sans-serif">it in a Container so that i can use that data for processing ?</font> <br> <br> <br><font size=2 face="sans-serif">Thanks and Regards,</font> <br><font size=2 face="sans-serif"><br> Chetan <br> </font> --=_alternative 0019CD3665256EFD_=-- ------=_NextPartTM-000-ee78eb9e-d3aa-4f7e-bf94-ebe91b931a93 Content-Transfer-Encoding: 7bit Content-Type: text/plain; name="InterScan_Disclaimer.txt" Content-Disposition: attachment; filename="InterScan_Disclaimer.txt" DISCLAIMER: The information contained in this message is intended only and solely for the addressed individual or entity indicated in this message and for the exclusive use of the said addressed individual or entity indicated in this message (or responsible for delivery of the message to such person) and may contain legally privileged and confidential information belonging to Tata Consultancy Services Limited. It must not be printed, read, copied, disclosed, forwarded, distributed or used (in whatsoever manner) by any person other than the addressee. Unauthorized use, disclosure or copying is strictly prohibited and may constitute unlawful act and can possibly attract legal action, civil and/or criminal. The contents of this message need not necessarily reflect or endorse the views of Tata Consultancy Services Limited on any subject matter.] Any action taken or omitted to be taken based on this message is entirely at your risk and neither the originator of this message nor Tata Consultancy Services Limited takes any responsibility or liability towards the same. Opinions, conclusions and any other information contained in this message that do not relate to the official business of Tata Consultancy Services Limited shall be understood as neither given nor endorsed by Tata Consultancy Services Limited or any affiliate of Tata Consultancy Services Limited. If you have received this message in error, you should destroy this message and may please notify the sender by e-mail. Thank you. ------=_NextPartTM-000-ee78eb9e-d3aa-4f7e-bf94-ebe91b931a93 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] ------=_NextPartTM-000-ee78eb9e-d3aa-4f7e-bf94-ebe91b931a93-- From [email protected] Fri Aug 27 07:13:58 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87760 invoked from network); 27 Aug 2004 07:13:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 27 Aug 2004 07:13:58 -0000 Received: (qmail 50502 invoked by uid 500); 27 Aug 2004 07:13:48 -0000 Delivered-To: [email protected] Received: (qmail 50474 invoked by uid 500); 27 Aug 2004 07:13:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 50463 invoked by uid 99); 27 Aug 2004 07:13:48 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO mercur-smtp.foi.se) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 27 Aug 2004 00:13:40 -0700 Received: from mercur.foi.se (localhost [161.129.204.104]) by mercur-smtp.foi.se (8.12.9/8.12.9) with ESMTP id i7R7DcfA022096 for <[email protected]>; Fri, 27 Aug 2004 09:13:38 +0200 (CEST) Received: from mercur.foi.se (localhost [161.129.204.104]) by localhost.foi.se (Postfix) with ESMTP id 10454CB for <[email protected]>; Fri, 27 Aug 2004 09:13:38 +0200 (CEST) Received: from mythos.foi.se (mythos.foi.se [161.129.204.104]) by mercur.foi.se (Postfix) with ESMTP id EB7C3CA for <[email protected]>; Fri, 27 Aug 2004 09:13:37 +0200 (CEST) Received: from gulich (wallin.foi.se [161.129.204.104]) by mythos.foi.se (8.12.9/8.12.9) with ESMTP id i7R7DZoq012483 for <[email protected]>; Fri, 27 Aug 2004 09:13:37 +0200 (CEST) From: =?iso-8859-1?Q?Martin_G=FClich?= <[email protected]> To: <[email protected]> Subject: SV: Reading entire tree structure of an XML Date: Fri, 27 Aug 2004 09:13:35 +0200 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000A_01C48C16.23151590" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 In-Reply-To: <[email protected]> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------=_NextPart_000_000A_01C48C16.23151590 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi! Use DOM parsing! But if you have a large file it might be inefficient, = then SAX parsing is better. If you only want to handle ONE entire element at = a time you can build your own tree structure for that element only by = using a stack or something similar. Then discard the tree and build a new for = the next element etc. =20 Martin G=FClich Research Engineer ______________________________ Swedish Defence Research Agency Dept. Of Systems Modelling SE-172 90 Stockholm, Sweden Phone: 860-947-9872 Company web site: www.foi.se <http://www.foi.se/>=20 =20 -----Ursprungligt meddelande----- Fr=E5n: [email protected] [mailto:[email protected]]=20 Skickat: den 27 augusti 2004 06:49 Till: [email protected] =C4mne: Reading entire tree structure of an XML =20 Hi,=20 My XML has atleast 5 levels of nested elements. How can i read the = entire data and put=20 it in a Container so that i can use that data for processing ?=20 Thanks and Regards,=20 Chetan=20 ------=_NextPart_000_000A_01C48C16.23151590 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Diso-8859-1"> <meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)"> <style> <!-- /* Font Definitions */ @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} @font-face {font-family:sans-serif; panose-1:0 0 0 0 0 0 0 0 0 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.E-postmall17 {font-family:Arial; color:navy;} @page Section1 {size:595.3pt 841.9pt; margin:70.85pt 70.85pt 70.85pt 70.85pt;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DSV link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = lang=3DEN-GB style=3D'font-size:10.0pt;font-family:Arial;color:navy'>Hi!</span></font>= </p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = lang=3DEN-GB style=3D'font-size:10.0pt;font-family:Arial;color:navy'>Use DOM parsing! = But if you have a large file it might be inefficient, then SAX parsing is = better. If you only want to handle ONE entire element at a time you can build your = own tree structure for that element only by using a stack or something = similar. Then discard the tree and build a new for the next element = etc.</span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = lang=3DEN-GB style=3D'font-size:10.0pt;font-family:Arial;color:navy'>=A0</span></font>= </p> <div> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = lang=3DEN-GB = style=3D'font-size:10.0pt;font-family:Arial;color:navy'>Martin</span></fo= nt><font size=3D2 color=3Dnavy face=3DArial><span lang=3DEN-GB = style=3D'font-size:10.0pt; font-family:Arial;color:navy'> G=FClich</span></font><font size=3D2 = color=3Dnavy face=3DArial><span lang=3DEN-GB = style=3D'font-size:10.0pt;font-family:Arial; color:navy'><br> Research Engineer<br> ______________________________<br> <br> Swedish Defence Research Agency<br> Dept. Of Systems Modelling<br> SE-172 90 </span></font><font size=3D2 color=3Dnavy face=3DArial><span = lang=3DEN-GB = style=3D'font-size:10.0pt;font-family:Arial;color:navy'>Stockholm</span><= /font><font size=3D2 color=3Dnavy face=3DArial><span lang=3DEN-GB = style=3D'font-size:10.0pt; font-family:Arial;color:navy'>, </span></font><font size=3D2 = color=3Dnavy face=3DArial><span lang=3DEN-GB = style=3D'font-size:10.0pt;font-family:Arial; color:navy'>Sweden</span></font><font size=3D2 color=3Dnavy = face=3DArial><span lang=3DEN-GB = style=3D'font-size:10.0pt;font-family:Arial;color:navy'><br> <br> Phone: 860-947-9872<br> Company web site: <a = href=3D"http://www.foi.se/">www.foi.se</a></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB = style=3D'font-size: 10.0pt;font-family:Arial'>&nbsp;</span></font></p> </div> <p class=3DMsoNormal style=3D'margin-left:65.2pt'><font size=3D2 = face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'>-----Ursprungligt = meddelande-----<br> <b><span style=3D'font-weight:bold'>Fr=E5n:</span></b> = [email protected] [mailto:[email protected]] <br> <b><span style=3D'font-weight:bold'>Skickat:</span></b> den 27 augusti = 2004 06:49<br> <b><span style=3D'font-weight:bold'>Till:</span></b> </span></font><font = size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt;font-family:Tahoma'>[email protected]= g</span></font><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt;font-family:Tahoma'><br> <b><span style=3D'font-weight:bold'>=C4mne:</span></b> Reading entire = tree structure of an XML</span></font></p> <p class=3DMsoNormal style=3D'margin-left:65.2pt'><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size:12.0pt'>&nbsp;</span></font></p> <p class=3DMsoNormal style=3D'margin-left:65.2pt'><font size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'><br> </span></font><font size=3D2 face=3Dsans-serif><span = style=3D'font-size:10.0pt; font-family:sans-serif'>Hi,</span></font> <br> <br> <br> <font size=3D2 face=3Dsans-serif><span = style=3D'font-size:10.0pt;font-family:sans-serif'>My XML has atleast 5 levels of nested elements. How can i read the entire = data and put</span></font> <br> <font size=3D2 face=3Dsans-serif><span = style=3D'font-size:10.0pt;font-family:sans-serif'>it in a Container so that i can use that data for processing = ?</span></font> <br> <br> <br> <font size=3D2 face=3Dsans-serif><span = style=3D'font-size:10.0pt;font-family:sans-serif'>Thanks and Regards,</span></font> <br> <font size=3D2 face=3Dsans-serif><span = style=3D'font-size:10.0pt;font-family:sans-serif'><br> Chetan </span></font></p> </div> </body> </html> ------=_NextPart_000_000A_01C48C16.23151590-- From [email protected] Fri Aug 27 07:26:05 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5632 invoked from network); 27 Aug 2004 07:26:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 27 Aug 2004 07:26:05 -0000 Received: (qmail 65418 invoked by uid 500); 27 Aug 2004 07:25:58 -0000 Delivered-To: [email protected] Received: (qmail 65327 invoked by uid 500); 27 Aug 2004 07:25:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 65315 invoked by uid 99); 27 Aug 2004 07:25:57 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=HTML_50_60,HTML_FONT_INVISIBLE,HTML_MESSAGE,MIME_BOUND_NEXTPART,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO InKolG01.tcs.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 27 Aug 2004 00:25:54 -0700 Received: from INKOLG01.tcs.com ([161.129.204.104]) by InKolG01.tcs.com (Lotus Domino Release 6.0.3) with SMTP id 2004082712554922-179178 ; Fri, 27 Aug 2004 12:55:49 +0530 In-Reply-To: <[email protected]> To: [email protected] Subject: Re: SV: Reading entire tree structure of an XML MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5 September 26, 2003 From: [email protected] Message-ID: <[email protected]> Date: Fri, 27 Aug 2004 12:55:38 +0530 X-MIMETrack: Serialize by Router on InDelM01/TCS(Release 6.0.3|September 18, 2003) at 08/27/2004 12:55:47, Serialize complete at 08/27/2004 12:55:47, Itemize by SMTP Server on InKolG01/TCS(Release 6.0.3|September 26, 2003) at 08/27/2004 12:55:49 PM, Serialize by Router on InKolG01/TCS(Release 6.0.3|September 26, 2003) at 08/27/2004 12:55:54 PM, Serialize complete at 08/27/2004 12:55:54 PM Content-Type: multipart/mixed; boundary="----=_NextPartTM-000-dcb21b4e-12c1-4d4b-ab10-466cf392ca5e" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------=_NextPartTM-000-dcb21b4e-12c1-4d4b-ab10-466cf392ca5e Content-Type: multipart/alternative; boundary="=_alternative 002809BE65256EFD_=" --=_alternative 002809BE65256EFD_= Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="ISO-8859-1" Hi Martin, Actually i have nested elements which sometimes go upto 4 levels of=20 nesting. Is it still advisable to go in for SAX or is it definitely DOM in this case ? Thanks, Chetan Arora Martin G=FClich <[email protected]>=20 08/27/2004 12:43 PM Please respond to [email protected] To <[email protected]> cc Subject SV: Reading entire tree structure of an XML Hi! Use DOM parsing! But if you have a large file it might be inefficient,=20 then SAX parsing is better. If you only want to handle ONE entire element=20 at a time you can build your own tree structure for that element only by=20 using a stack or something similar. Then discard the tree and build a new=20 for the next element etc. =20 Martin G=FClich Research Engineer =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F Swedish Defence Research Agency Dept. Of Systems Modelling SE-172 90 Stockholm, Sweden Phone: 860-947-9872 Company web site: www.foi.se =20 -----Ursprungligt meddelande----- Fr=E5n: [email protected] [mailto:[email protected]]=20 Skickat: den 27 augusti 2004 06:49 Till: [email protected] =C4mne: Reading entire tree structure of an XML =20 Hi,=20 My XML has atleast 5 levels of nested elements. How can i read the entire=20 data and put=20 it in a Container so that i can use that data for processing ?=20 Thanks and Regards,=20 Chetan=20 ForwardSourceID:NT00002892=20 --=_alternative 002809BE65256EFD_= Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="ISO-8859-1" <br><font size=3D2 face=3D"sans-serif">Hi Martin,</font> <br> <br><font size=3D2 face=3D"sans-serif">Actually i have nested elements which sometimes go upto 4 levels of nesting. Is it still advisable to go in for SAX or</font> <br><font size=3D2 face=3D"sans-serif">is it definitely DOM in this case ?<= /font> <br> <br> <br><font size=3D2 face=3D"sans-serif">Thanks,</font> <br><font size=3D2 face=3D"sans-serif"><br> Chetan Arora<br> </font> <br> <br> <br> <table width=3D100%> <tr valign=3Dtop> <td width=3D40%><font size=3D1 face=3D"sans-serif"><b>Martin G=FClich &lt;m= [email protected]&gt;</b> </font> <p><font size=3D1 face=3D"sans-serif">08/27/2004 12:43 PM</font> <br> <table border> <tr valign=3Dtop> <td bgcolor=3Dwhite> <div align=3Dcenter><font size=3D1 face=3D"sans-serif">Please respond to<br> [email protected]</font></div></table> <br> <td width=3D59%> <table width=3D100%> <tr> <td> <div align=3Dright><font size=3D1 face=3D"sans-serif">To</font></div> <td valign=3Dtop><font size=3D1 face=3D"sans-serif">&lt;[email protected]= pache.org&gt;</font> <tr> <td> <div align=3Dright><font size=3D1 face=3D"sans-serif">cc</font></div> <td valign=3Dtop> <tr> <td> <div align=3Dright><font size=3D1 face=3D"sans-serif">Subject</font></div> <td valign=3Dtop><font size=3D1 face=3D"sans-serif">SV: Reading entire tree= structure of an XML</font></table> <br> <table> <tr valign=3Dtop> <td> <td></table> <br></table> <br> <br> <br><font size=3D2 color=3D#000080 face=3D"Arial">Hi!</font> <br><font size=3D2 color=3D#000080 face=3D"Arial">Use DOM parsing! But if y= ou have a large file it might be inefficient, then SAX parsing is better. If you only want to handle ONE entire element at a time you can build your own tree structure for that element only by using a stack or something similar. Then discard the tree and build a new for the next element etc.</f= ont> <br><font size=3D2 color=3D#000080 face=3D"Arial">&nbsp;</font> <br><font size=3D2 color=3D#000080 face=3D"Arial">Martin G=FClich<br> Research Engineer<br> =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F<br> <br> Swedish Defence Research Agency<br> Dept. Of Systems Modelling<br> SE-172 90 Stockholm, Sweden<br> <br> Phone: 860-947-9872<br> Company web site: </font><a href=3Dhttp://www.foi.se/><font size=3D2 color= =3Dblue face=3D"Arial"><u>www.foi.se</u></font></a> <br><font size=3D2 face=3D"Arial">&nbsp;</font> <br><font size=3D2 face=3D"Tahoma">-----Ursprungligt meddelande-----<b><br> Fr=E5n:</b> [email protected] [mailto:[email protected]] <b><br> Skickat:</b> den 27 augusti 2004 06:49<b><br> Till:</b> [email protected]<b><br> =C4mne:</b> Reading entire tree structure of an XML</font> <br><font size=3D3 face=3D"Times New Roman">&nbsp;</font> <br><font size=3D2 face=3D"sans-serif"><br> Hi,</font><font size=3D3 face=3D"Times New Roman"> <br> <br> </font><font size=3D2 face=3D"sans-serif"><br> My XML has atleast 5 levels of nested elements. How can i read the entire data and put</font><font size=3D3 face=3D"Times New Roman"> </font><font si= ze=3D2 face=3D"sans-serif"><br> it in a Container so that i can use that data for processing ?</font><font = size=3D3 face=3D"Times New Roman"> <br> <br> </font><font size=3D2 face=3D"sans-serif"><br> Thanks and Regards,</font><font size=3D3 face=3D"Times New Roman"> </font><= font size=3D2 face=3D"sans-serif"><br> <br> Chetan </font> <br><font size=3D2 color=3Dwhite face=3D"sans-serif">ForwardSourceID:NT0000= 2892 &nbsp; &nbsp;</font> <br> --=_alternative 002809BE65256EFD_=-- ------=_NextPartTM-000-dcb21b4e-12c1-4d4b-ab10-466cf392ca5e Content-Transfer-Encoding: 7bit Content-Type: text/plain; name="InterScan_Disclaimer.txt" Content-Disposition: attachment; filename="InterScan_Disclaimer.txt" DISCLAIMER: The information contained in this message is intended only and solely for the addressed individual or entity indicated in this message and for the exclusive use of the said addressed individual or entity indicated in this message (or responsible for delivery of the message to such person) and may contain legally privileged and confidential information belonging to Tata Consultancy Services Limited. It must not be printed, read, copied, disclosed, forwarded, distributed or used (in whatsoever manner) by any person other than the addressee. Unauthorized use, disclosure or copying is strictly prohibited and may constitute unlawful act and can possibly attract legal action, civil and/or criminal. The contents of this message need not necessarily reflect or endorse the views of Tata Consultancy Services Limited on any subject matter. Any action taken or omitted to be taken based on this message is entirely at your risk and neither the originator of this message nor Tata Consultancy Services Limited takes any responsibility or liability towards the same. Opinions, conclusions and any other information contained in this message that do not relate to the official business of Tata Consultancy Services Limited shall be understood as neither given nor endorsed by Tata Consultancy Services Limited or any affiliate of Tata Consultancy Services Limited. If you have received this message in error, you should destroy this message and may please notify the sender by e-mail. Thank you. ------=_NextPartTM-000-dcb21b4e-12c1-4d4b-ab10-466cf392ca5e Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] ------=_NextPartTM-000-dcb21b4e-12c1-4d4b-ab10-466cf392ca5e-- From [email protected] Fri Aug 27 07:32:32 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9597 invoked from network); 27 Aug 2004 07:32:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 27 Aug 2004 07:32:32 -0000 Received: (qmail 73758 invoked by uid 500); 27 Aug 2004 07:32:31 -0000 Delivered-To: [email protected] Received: (qmail 73074 invoked by uid 500); 27 Aug 2004 07:32:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 73050 invoked by uid 99); 27 Aug 2004 07:32:27 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_60_70,HTML_MESSAGE X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO webformatech.formatech.be) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 27 Aug 2004 00:32:24 -0700 Received: from JFRANCOIS [161.129.204.104] by webformatech.formatech.be (SMTPD32-5.00) id A35711AD02A2; Fri, 27 Aug 2004 09:31:35 +0100 Message-ID: <008701c48c07$e210d470$2201a8c0@JFRANCOIS> From: =?iso-8859-1?Q?Jean-Fran=E7ois?= <[email protected]> To: <[email protected]> Subject: [XERCES-J] how does xerces load the schemas Date: Fri, 27 Aug 2004 09:31:35 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0084_01C48C18.A5594010" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0084_01C48C18.A5594010 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I'd like to know if it is possible to tune the way xerces loads the = schemas for the validation of a XML. I have a DB in which I can find schemas and I'd like to load it directly = from the DB. Is there an event called when a schema or dtd is asked that I can = intercept ??? Thanks Henrard Jean-Fran=E7ois =20 FORMATECH NEW TECHNOLOGIES Avenue G. Poelslaan 8-10 BRUXELLES 1160 BRUSSEL =20 Tel. 860-947-9872 Fax. 860-947-9872 email [email protected] =20 Web Site : http://www.formatech.be ------=_NextPart_000_0084_01C48C18.A5594010 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2>Hello,</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2>I'd like to know if it is possible to = tune the way=20 xerces loads the schemas for the validation of a XML.</FONT></DIV> <DIV><FONT face=3DArial size=3D2>I have a DB in which I can find schemas = and I'd=20 like to load it directly from the DB.</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Is there an event called when a schema = or dtd is=20 asked that I can intercept ???</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2>Thanks</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV> <DIV><FONT face=3DArial size=3D2><BR>Henrard = Jean-Fran=E7ois<BR>&nbsp;<BR>FORMATECH=20 NEW TECHNOLOGIES<BR>Avenue G. Poelslaan 8-10<BR>BRUXELLES 1160=20 BRUSSEL<BR>&nbsp;<BR>Tel.&nbsp;&nbsp;&nbsp;&nbsp; +32 2 675 08=20 41<BR>Fax.&nbsp;&nbsp;&nbsp; 860-947-9872</DIV> <DIV>&nbsp;</DIV> <DIV>email&nbsp; <A=20 href=3D"mailto:[email protected]">[email protected]</A>= &nbsp;=20 <BR>Web Site : <A=20 href=3D"http://www.formatech.be">http://www.formatech.be</A></DIV> <DIV>&nbsp;</DIV> <DIV></FONT>&nbsp;</DIV></BODY></HTML> ------=_NextPart_000_0084_01C48C18.A5594010-- From [email protected] Fri Aug 27 09:09:19 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53893 invoked from network); 27 Aug 2004 09:09:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 27 Aug 2004 09:09:19 -0000 Received: (qmail 84842 invoked by uid 500); 27 Aug 2004 09:09:13 -0000 Delivered-To: [email protected] Received: (qmail 84814 invoked by uid 500); 27 Aug 2004 09:09:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 84801 invoked by uid 99); 27 Aug 2004 09:09:12 -0000 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=HTML_40_50,HTML_FONT_INVISIBLE,HTML_MESSAGE X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO mail.volantis.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 27 Aug 2004 02:09:09 -0700 Received: squid 161.129.204.104 from 161.129.204.104 161.129.204.104 via HTTP with MS-WebStorage 6.0.6249 Received: from sparrow.uk.volantis.com by squid; 27 Aug 2004 10:09:06 +0100 Subject: Re: SV: Reading entire tree structure of an XML From: Phil Weighill-Smith <[email protected]> To: [email protected] In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: multipart/alternative; boundary="=-iFrNhHwn0LK70thBn1mE" Organization: Volantis Systems Message-Id: <[email protected]> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Fri, 27 Aug 2004 10:09:06 +0100 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --=-iFrNhHwn0LK70thBn1mE Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable As Martin indicated, the choice of DOM vs SAX is commonly because of the overall expected data set size rather than the number of levels of nesting. If you've got an XML application that contains just a "few" complex entries then DOM is probably reasonable. If however you expect a lot of complex entries and are worried about performance issues (because of memory issues) then use SAX. Again, as Martin suggests, you can use SAX to build fragments of your data set (e.g. so you process a single complex entry at a time). By writing your SAX ContentHandler to actually generate the required DOM nodes you can even "fool" the rest of your application into thinking it is working with normal DOMs that happen to only contain a single complex entry at a time (for example). Phil :n) On Fri, 2004-08-27 at 08:25, [email protected] wrote: > Hi Martin, >=20 > Actually i have nested elements which sometimes go upto 4 levels of > nesting. Is it still advisable to go in for SAX or > is it definitely DOM in this case ? >=20 >=20 > Thanks, >=20 > Chetan Arora >=20 >=20 >=20 > Martin G=FClich > <[email protected]> >=20 > 08/27/2004 12:43 PM > Please respond to > [email protected] > To > <[email protected]> > cc >=20 > Subject > SV: Reading > entire tree > structure of an > XML >=20 >=20 >=20 >=20 > Hi! > Use DOM parsing! But if you have a large file it might be inefficient, > then SAX parsing is better. If you only want to handle ONE entire > element at a time you can build your own tree structure for that > element only by using a stack or something similar. Then discard the > tree and build a new for the next element etc. > =20 > Martin G=FClich > Research Engineer > ______________________________ >=20 > Swedish Defence Research Agency > Dept. Of Systems Modelling > SE-172 90 Stockholm, Sweden >=20 > Phone: 860-947-9872 > Company web site: www.foi.se > =20 > -----Ursprungligt meddelande----- > Fr=E5n: [email protected] [mailto:[email protected]]=20 > Skickat: den 27 augusti 2004 06:49 > Till: [email protected] > =C4mne: Reading entire tree structure of an XML > =20 >=20 > Hi, >=20 >=20 > My XML has atleast 5 levels of nested elements. How can i read the > entire data and put > it in a Container so that i can use that data for processing ? >=20 >=20 > Thanks and Regards, >=20 > Chetan=20 > ForwardSourceID:NT00002892 =20 >=20 >=20 > ______________________________________________________________________ >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --=20 Phil Weighill-Smith <[email protected]> Volantis Systems --=-iFrNhHwn0LK70thBn1mE Content-Type: text/html; charset=utf-8 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8"> <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.10"> </HEAD> <BODY> As Martin indicated, the choice of DOM vs SAX is commonly because of the overall expected data set size rather than the number of levels of nesting.<BR> <BR> If you've got an XML application that contains just a &quot;few&quot; complex entries then DOM is probably reasonable. If however you expect a lot of complex entries and are worried about performance issues (because of memory issues) then use SAX.<BR> <BR> Again, as Martin suggests, you can use SAX to build fragments of your data set (e.g. so you process a single complex entry at a time). By writing your SAX ContentHandler to actually generate the required DOM nodes you can even &quot;fool&quot; the rest of your application into thinking it is working with normal DOMs that happen to only contain a single complex entry at a time (for example).<BR> <BR> Phil :n)<BR> <BR> On Fri, 2004-08-27 at 08:25, [email protected] wrote: <BLOCKQUOTE TYPE=CITE> <FONT COLOR="#737373" SIZE="2"><I>Hi Martin,</FONT><BR> <FONT COLOR="#737373"></FONT><BR> <FONT COLOR="#737373" SIZE="2">Actually i have nested elements which sometimes go upto 4 levels of nesting. Is it still advisable to go in for SAX or<BR> is it definitely DOM in this case ?</FONT><BR> <FONT COLOR="#737373"><BR> </FONT><BR> <FONT COLOR="#737373" SIZE="2">Thanks,<BR> <BR> Chetan Arora</FONT><BR> <FONT COLOR="#737373"><BR> <BR> </I></FONT><BR> <TABLE WIDTH="100%"> <TR> <TD WIDTH="40%" VALIGN="top"> <FONT SIZE="1"><B>Martin G&#252;lich &lt;[email protected]&gt;</B></FONT><BR> <BR> <FONT SIZE="1">08/27/2004 12:43 PM</FONT><BR> <TABLE BORDER="1"> <TR> <TD BGCOLOR="#ffffff" VALIGN="top"> <DIV ALIGN=center><FONT SIZE="1">Please respond to</DIV><BR> <DIV ALIGN=center>[email protected]</FONT></DIV> </TD> </TR> </TABLE> </TD> <TD WIDTH="59%" VALIGN="top"> <TABLE WIDTH="100%"> <TR> <TD> <DIV ALIGN=right><FONT SIZE="1">To</FONT></DIV> </TD> <TD VALIGN="top"> <FONT SIZE="1">&lt;[email protected]&gt;</FONT> </TD> </TR> <TR> <TD> <DIV ALIGN=right><FONT SIZE="1">cc</FONT></DIV> </TD> <TD VALIGN="top"> <BR> </TD> </TR> <TR> <TD> <DIV ALIGN=right><FONT SIZE="1">Subject</FONT></DIV> </TD> <TD VALIGN="top"> <FONT SIZE="1">SV: Reading entire tree structure of an XML</FONT> </TD> </TR> </TABLE> <BR> <TABLE> <TR> <TD VALIGN="top"> <BR> </TD> <TD VALIGN="top"> <BR> </TD> </TR> </TABLE> </TD> </TR> </TABLE> <BR> <FONT COLOR="#737373"><I><BR> </FONT><BR> <FONT COLOR="#000080" SIZE="2">Hi!<BR> Use DOM parsing! But if you have a large file it might be inefficient, then SAX parsing is better. If you only want to handle ONE entire element at a time you can build your own tree structure for that element only by using a stack or something similar. Then discard the tree and build a new for the next element etc.<BR> &nbsp;<BR> Martin G&#252;lich<BR> Research Engineer<BR> ______________________________<BR> <BR> Swedish Defence Research Agency<BR> Dept. Of Systems Modelling<BR> SE-172 90 Stockholm, Sweden<BR> <BR> Phone: 860-947-9872<BR> Company web site: </FONT><A HREF="http://www.foi.se/"><FONT SIZE="2"><U>www.foi.se</U></FONT></A><BR> <FONT COLOR="#737373" SIZE="2">&nbsp;<BR> -----Ursprungligt meddelande-----<BR> <B>Fr&#229;n:</B> [email protected] [mailto:[email protected]] <BR> <B>Skickat:</B> den 27 augusti 2004 06:49<BR> <B>Till:</B> [email protected]<BR> <B>&#196;mne:</B> Reading entire tree structure of an XML</FONT><BR> <FONT COLOR="#737373" SIZE="3">&nbsp;</FONT><BR> <FONT COLOR="#737373" SIZE="2"><BR> Hi,</FONT><BR> <FONT COLOR="#737373" SIZE="3"></FONT><BR> <FONT COLOR="#737373" SIZE="2"><BR> My XML has atleast 5 levels of nested elements. How can i read the entire data and put<BR> it in a Container so that i can use that data for processing ?</FONT><BR> <FONT COLOR="#737373" SIZE="3"></FONT><BR> <FONT COLOR="#737373" SIZE="2"><BR> Thanks and Regards,<BR> <BR> Chetan </FONT><BR> <FONT COLOR="#ffffff" SIZE="2">ForwardSourceID:NT00002892 &nbsp; &nbsp;</FONT><BR> <FONT COLOR="#737373"><BR> <HR> <PRE>--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: </FONT><A HREF="mailto:[email protected]">[email protected]</I></A></PRE> </BLOCKQUOTE> <PRE><TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%"> <TR> <TD> -- <BR> Phil Weighill-Smith &lt;<A HREF="mailto:[email protected]"><U>[email protected]</U></A>&gt;<BR> Volantis Systems </TD> </TR> </TABLE> </PRE> </BODY> </HTML> --=-iFrNhHwn0LK70thBn1mE-- From [email protected] Fri Aug 27 10:16:00 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84162 invoked from network); 27 Aug 2004 10:16:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 27 Aug 2004 10:16:00 -0000 Received: (qmail 60820 invoked by uid 500); 27 Aug 2004 10:15:52 -0000 Delivered-To: [email protected] Received: (qmail 60626 invoked by uid 500); 27 Aug 2004 10:15:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 60613 invoked by uid 99); 27 Aug 2004 10:15:50 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO natsmtp00.rzone.de) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 27 Aug 2004 03:15:48 -0700 Received: from 161.129.204.104 (p508177AA.dip0.t-ipconnect.de [161.129.204.104]) by post.webmailer.de (8.12.10/8.12.10) with ESMTP id i7RAFeBD006784 for <[email protected]>; Fri, 27 Aug 2004 12:15:44 +0200 (MEST) From: Volker Katz <[email protected]> To: [email protected] Subject: SAX-stream validation Date: Fri, 27 Aug 2004 11:45:26 +0200 User-Agent: KMail/1.5.3 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I have to validate a SAX-stream against a XML-Schema. My plan was to implement a custom ContentHandler which sends all SAX-events to the parser. Therefore I used an instance of org.apache.xerces.parsers.SAXParser, because this class implements alls SAX-events. So I created an SAXParser and set the following features and properties: SAXParser parser = new SAXParser(); parser.setFeature("http://xml.org/sax/features/validation", true); parser.setFeature("http://apache.org/xml/features/validation/schema", true); parser.setFeature("http://xml.org/sax/features/namespace-prefixes",true); parser.setFeature("http://apache.org/xml/features/validation/schema-full-checking",true); parser.setProperty("http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation", "schema.xsd"); parser.setErrorHandler(handler); The ErrorHandler is a custom one that throws exceptions in every case. Then I implemented start-/endDocument and start-/endElement of my DocumentHandler. In this methods I called: parser.startElement(...), parser.endElement(...).... So far so good (I hope). Then I started testing and debugging. I know, that the parser-methods are called. But I have a Problem with the http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation-property. The argument doesn't seem to have any influence to the parser. I can put every argument a want and never get an exception. I can even put an Boolean-object there! I tried debugging, but I didn't have any success. Within a fex minutes I will put the source-code of my ContentHandler on: http://www.coblenzer.de/ParsingContentHandler.java I hope, you can give me some hints! Thank you very much. Best regards Volker --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Aug 27 11:06:50 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9969 invoked from network); 27 Aug 2004 11:06:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 27 Aug 2004 11:06:50 -0000 Received: (qmail 20654 invoked by uid 500); 27 Aug 2004 11:06:43 -0000 Delivered-To: [email protected] Received: (qmail 20622 invoked by uid 500); 27 Aug 2004 11:06:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 20610 invoked by uid 99); 27 Aug 2004 11:06:43 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO webformatech.formatech.be) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 27 Aug 2004 04:06:40 -0700 Received: from JFRANCOIS [161.129.204.104] by webformatech.formatech.be (SMTPD32-5.00) id A5B912C102A2; Fri, 27 Aug 2004 13:06:33 +0100 Message-ID: <012d01c48c25$e9f654d0$2201a8c0@JFRANCOIS> From: =?iso-8859-15?Q?Jean-Fran=E7ois?= <[email protected]> To: <[email protected]> References: <[email protected]> Subject: Re: SAX-stream validation Date: Fri, 27 Aug 2004 13:06:33 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I think you have to set the value "file:/c:/myDirectory/myschema.xsd" to the property "http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation" to make the parser find the schema on your hard drive. Hope it'll work. Henrard Jean-François FORMATECH NEW TECHNOLOGIES Avenue G. Poelslaan 8-10 BRUXELLES 1160 BRUSSEL Tel. 860-947-9872 Fax. 860-947-9872 email [email protected] Web Site : http://www.formatech.be ----- Original Message ----- From: "Volker Katz" <[email protected]> To: <[email protected]> Sent: Friday, August 27, 2004 11:45 AM Subject: SAX-stream validation > Hi, > I have to validate a SAX-stream against a XML-Schema. My plan was to > implement a custom ContentHandler which sends all SAX-events to the > parser. Therefore I used an instance of > org.apache.xerces.parsers.SAXParser, because this class implements alls > SAX-events. > > So I created an SAXParser and set the following features and properties: > > SAXParser parser = new SAXParser(); > parser.setFeature("http://xml.org/sax/features/validation", true); > parser.setFeature("http://apache.org/xml/features/validation/schema", > true); > parser.setFeature("http://xml.org/sax/features/namespace-prefixes",true); > parser.setFeature("http://apache.org/xml/features/validation/schema-full-che cking",true); > parser.setProperty("http://apache.org/xml/properties/schema/external-noNames paceSchemaLocation", > "schema.xsd"); > parser.setErrorHandler(handler); > > The ErrorHandler is a custom one that throws exceptions in every case. > > Then I implemented start-/endDocument and start-/endElement of my > DocumentHandler. In this methods I called: > parser.startElement(...), parser.endElement(...).... > > So far so good (I hope). Then I started testing and debugging. I know, > that the parser-methods are called. But I have a Problem with the > http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation-property. > The argument doesn't seem to have any influence to the parser. I can > put every argument a want and never get an exception. I can even put an > Boolean-object there! > I tried debugging, but I didn't have any success. > > Within a fex minutes I will put the source-code of my ContentHandler on: > http://www.coblenzer.de/ParsingContentHandler.java > > I hope, you can give me some hints! Thank you very much. > > Best regards > Volker > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Aug 27 11:39:47 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22590 invoked from network); 27 Aug 2004 11:39:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 27 Aug 2004 11:39:47 -0000 Received: (qmail 74176 invoked by uid 500); 27 Aug 2004 11:39:34 -0000 Delivered-To: [email protected] Received: (qmail 74080 invoked by uid 500); 27 Aug 2004 11:39:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 74011 invoked by uid 99); 27 Aug 2004 11:39:32 -0000 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with SMTP; Fri, 27 Aug 2004 04:39:32 -0700 Received: (qmail 22480 invoked by uid 1678); 27 Aug 2004 11:39:30 -0000 Received: from localhost ([email protected]) by localhost with SMTP; 27 Aug 2004 11:39:30 -0000 Date: Fri, 27 Aug 2004 04:39:30 -0700 (PDT) From: Michael Glavassevich <[email protected]> To: [email protected] Subject: Re: [XERCES-J] how does xerces load the schemas In-Reply-To: <008701c48c07$e210d470$2201a8c0@JFRANCOIS> Message-ID: <[email protected]> References: <008701c48c07$e210d470$2201a8c0@JFRANCOIS> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1294446082-1093606770=:18001" X-Spam-Rating: localhost 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --0-1294446082-1093606770=:18001 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Hello, If you've registered an entity resolver, it will be called giving you the= =20 choice of locating the schema yourself or returning null to let the parser= =20 perform its default behaviour. Thanks. On Fri, 27 Aug 2004, [iso-8859-1] Jean-Fran=E7ois wrote: > > Hello, > > I'd like to know if it is possible to tune the way xerces loads the schem= as for the validation of a XML. > I have a DB in which I can find schemas and I'd like to load it directly = from the DB. > Is there an event called when a schema or dtd is asked that I can interce= pt ??? > > Thanks > > > Henrard Jean-Fran=E7ois > > FORMATECH NEW TECHNOLOGIES > Avenue G. Poelslaan 8-10 > BRUXELLES 1160 BRUSSEL > > Tel. 860-947-9872 > Fax. 860-947-9872 > > email [email protected] > Web Site : http://www.formatech.be > > --------------------------- Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [email protected] E-mail: [email protected] --0-1294446082-1093606770=:18001 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --0-1294446082-1093606770=:18001-- From [email protected] Fri Aug 27 15:49:55 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70514 invoked from network); 27 Aug 2004 15:49:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 27 Aug 2004 15:49:55 -0000 Received: (qmail 41360 invoked by uid 500); 27 Aug 2004 15:49:49 -0000 Delivered-To: [email protected] Received: (qmail 41246 invoked by uid 500); 27 Aug 2004 15:49:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 41234 invoked by uid 99); 27 Aug 2004 15:49:47 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO tonnant.nxlkhost.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 27 Aug 2004 08:49:45 -0700 Received: from rickb (161.129.204.104.ptr.us.xo.net [161.129.204.104]) by tonnant.nxlkhost.com id LAA23417; Fri, 27 Aug 2004 11:49:39 -0400 (EDT) [ConcentricHost SMTP Relay 1.17] Message-ID: <[email protected]> Errors-To: <[email protected]> From: "Rick Bullotta" <[email protected]> To: <[email protected]> Subject: Xerces overriding JDK XML parser - Classloader Issues? Date: Fri, 27 Aug 2004 11:49:39 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 In-Reply-To: <[email protected]> Thread-Index: AcSMKoyuYpzcypWVTF6iH93EOn+U2QAIVZQw X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Here's our scenario: We're running JDK 1.4.2_05 with the latest Xerces/Xalan in the JRE's lib/endorsed directory. We run servlets (on New Atlanta's ServletExec engine) and are experiencing some serious performance issues when instantiating a parser instance from within a servlet using: DocumentBuilderFactory dFactory = DocumentBuilderFactory.newInstance(); dFactory.setNamespaceAware(true); DocumentBuilder dBuilder = dFactory.newDocumentBuilder(); We've been working with the New Atlanta folks trying to sleuth it out, and the issue seems to be that somewhere in the factory code are getResourceAsStream() calls, probably to load property or configuration files. These calls seem to be performed every request, rather than loaded once, and when there are lots of JARS in the classpath, this operation can be VERY VERY expensive searching the JARS. Question is: Is there any way to bypass this frequent loading using either: a) JVM command line parameters b) Setting a property through code c) Some type of singleton object Many thanks! Rick Bullotta CTO Lighthammer Software (http://www.lighthammer.com) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Aug 27 16:45:32 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97095 invoked from network); 27 Aug 2004 16:45:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 27 Aug 2004 16:45:31 -0000 Received: (qmail 59150 invoked by uid 500); 27 Aug 2004 16:45:24 -0000 Delivered-To: [email protected] Received: (qmail 59113 invoked by uid 500); 27 Aug 2004 16:45:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 59101 invoked by uid 99); 27 Aug 2004 16:45:23 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_FONT_INVISIBLE,HTML_MESSAGE X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO pony.LIBERTYODBC.COM) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 27 Aug 2004 09:45:20 -0700 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C48C55.3CAF83A4" Subject: RE: SV: Reading entire tree structure of an XML X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Date: Fri, 27 Aug 2004 09:45:18 -0700 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: SV: Reading entire tree structure of an XML Thread-Index: AcSMFYaGnZdAaa9zTHS0Q43O2qBndQAP28gw From: "Robert Houben" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C48C55.3CAF83A4 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable The other issue consider when looking at DOM vs SAX is that SAX is a = "firehose" model. Once you've visited an element, you can't get it = back, unless you cache your own version of it. If you are going to do a = lot of that, you should just use DOM. DOM lets you easily "walk" the = tree structure, create/maintain individual or lists of node references, = etc. If you only want to process each element once, then throw it all = away, then SAX provides much better performance. =20 ________________________________ From: Phil Weighill-Smith [mailto:[email protected]]=20 Sent: Friday, August 27, 2004 2:09 AM To: [email protected] Subject: Re: SV: Reading entire tree structure of an XML =20 As Martin indicated, the choice of DOM vs SAX is commonly because of the = overall expected data set size rather than the number of levels of = nesting. If you've got an XML application that contains just a "few" complex = entries then DOM is probably reasonable. If however you expect a lot of = complex entries and are worried about performance issues (because of = memory issues) then use SAX. Again, as Martin suggests, you can use SAX to build fragments of your = data set (e.g. so you process a single complex entry at a time). By = writing your SAX ContentHandler to actually generate the required DOM = nodes you can even "fool" the rest of your application into thinking it = is working with normal DOMs that happen to only contain a single complex = entry at a time (for example). Phil :n) On Fri, 2004-08-27 at 08:25, [email protected] wrote:=20 Hi Martin, Actually i have nested elements which sometimes go upto 4 levels of = nesting. Is it still advisable to go in for SAX or is it definitely DOM in this case ? Thanks, Chetan Arora Martin G=FClich <[email protected]> 08/27/2004 12:43 PM Please respond to =20 [email protected] To <[email protected]>=20 cc =20 Subject SV: Reading entire tree structure of an XML=20 =20 =20 =20 Hi! Use DOM parsing! But if you have a large file it might be inefficient, = then SAX parsing is better. If you only want to handle ONE entire = element at a time you can build your own tree structure for that element = only by using a stack or something similar. Then discard the tree and = build a new for the next element etc. =20 Martin G=FClich Research Engineer ______________________________ Swedish Defence Research Agency Dept. Of Systems Modelling SE-172 90 Stockholm, Sweden Phone: 860-947-9872 Company web site: www.foi.se <http://www.foi.se/>=20 =20 -----Ursprungligt meddelande----- Fr=E5n: [email protected] [mailto:[email protected]]=20 Skickat: den 27 augusti 2004 06:49 Till: [email protected] =C4mne: Reading entire tree structure of an XML =20 Hi, My XML has atleast 5 levels of nested elements. How can i read the = entire data and put it in a Container so that i can use that data for processing ? Thanks and Regards, Chetan=20 ForwardSourceID:NT00002892 =20 ________________________________ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --=20 Phil Weighill-Smith <[email protected]> Volantis Systems=20 =20 ------_=_NextPart_001_01C48C55.3CAF83A4 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Diso-8859-1"> <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--><o:SmartTagType namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" = name=3D"country-region"/> <o:SmartTagType = namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" name=3D"City"/> <o:SmartTagType = namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" name=3D"place"/> <o:SmartTagType = namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" name=3D"PersonName"/> <!--[if !mso]> <style> st1\:*{behavior:url(#default#ieooui) } </style> <![endif]--> <style> <!-- /* Font Definitions */ @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:blue; text-decoration:underline;} pre {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Courier New";} span.EmailStyle18 {mso-style-type:personal-reply; font-family:Arial; color:navy;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DEN-US link=3Dblue vlink=3Dblue> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>The other issue consider when = looking at DOM vs SAX is that SAX is a &#8220;firehose&#8221; model.=A0 Once = you&#8217;ve visited an element, you can&#8217;t get it back, unless you cache your own version of it.=A0 = If you are going to do a lot of that, you should just use DOM.=A0 DOM lets you = easily &#8220;walk&#8221; the tree structure, create/maintain individual or lists of node = references, etc.=A0 If you only want to process each element once, then throw it all = away, then SAX provides much better performance.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <div> <div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font = size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'> <hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1> </span></font></div> <p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma;font-weight:bold'>From:</span></font></b><font = size=3D2 face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'> Phil Weighill-Smith [mailto:[email protected]] <br> <b><span style=3D'font-weight:bold'>Sent:</span></b> Friday, August 27, = 2004 2:09 AM<br> <b><span style=3D'font-weight:bold'>To:</span></b> <st1:PersonName = w:st=3D"on">[email protected]</st1:PersonName><br> <b><span style=3D'font-weight:bold'>Subject:</span></b> Re: SV: Reading = entire tree structure of an XML</span></font><o:p></o:p></p> </div> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'>As Martin indicated, the choice of DOM vs SAX is commonly = because of the overall expected data set size rather than the number of levels of = nesting.<br> <br> If you've got an XML application that contains just a &quot;few&quot; = complex entries then DOM is probably reasonable. If however you expect a lot of = complex entries and are worried about performance issues (because of memory = issues) then use SAX.<br> <br> Again, as Martin suggests, you can use SAX to build fragments of your = data set (e.g. so you process a single complex entry at a time). By writing your = SAX ContentHandler to actually generate the required DOM nodes you can even &quot;fool&quot; the rest of your application into thinking it is = working with normal DOMs that happen to only contain a single complex entry at a time = (for example).<br> <br> Phil :n)<br> <br> On Fri, 2004-08-27 at 08:25, [email protected] wrote: = <o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><i><font size=3D2 = color=3D"#737373" face=3D"Times New Roman"><span = style=3D'font-size:10.0pt;color:#737373;font-style: italic'>Hi Martin,</span></font><br> <br> </i><i><font size=3D2 color=3D"#737373"><span = style=3D'font-size:10.0pt;color:#737373; font-style:italic'>Actually i have nested elements which sometimes go = upto 4 levels of nesting. Is it still advisable to go in for SAX or<br> is it definitely DOM in this case ?</span></font><br> <font color=3D"#737373"><span style=3D'color:#737373'><br> </span></font><br> </i><i><font size=3D2 color=3D"#737373"><span = style=3D'font-size:10.0pt;color:#737373; font-style:italic'>Thanks,<br> <br> Chetan Arora</span></font><br> <font color=3D"#737373"><span style=3D'color:#737373'><br> <br> </span></font></i><o:p></o:p></p> <table class=3DMsoNormalTable border=3D0 cellpadding=3D0 width=3D"100%" style=3D'width:100.0%'> <tr> <td width=3D"40%" valign=3Dtop style=3D'width:40.0%;padding:.75pt = .75pt .75pt .75pt'> <p class=3DMsoNormal><b><font size=3D1 face=3D"Times New Roman"><span style=3D'font-size:7.5pt;font-weight:bold'>Martin G=FClich &lt;[email protected]&gt;</span></font></b><br> <br> <font size=3D1><span style=3D'font-size:7.5pt'>08/27/2004 12:43 = PM</span></font><o:p></o:p></p> <table class=3DMsoNormalTable border=3D1 cellpadding=3D0> <tr> <td valign=3Dtop bgcolor=3Dwhite = style=3D'background:white;padding:.75pt .75pt .75pt .75pt'> <p class=3DMsoNormal align=3Dcenter = style=3D'text-align:center'><font size=3D1 face=3D"Times New Roman"><span style=3D'font-size:7.5pt'>Please = respond to<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 face=3D"Times New Roman"><span style=3D'font-size:7.5pt'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal align=3Dcenter = style=3D'text-align:center'><st1:PersonName w:st=3D"on"><font size=3D1 face=3D"Times New Roman"><span = style=3D'font-size:7.5pt'>[email protected]</span></font></st1= :PersonName><o:p></o:p></p> </td> </tr> </table> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'><o:p></o:p></span></font></p> </td> <td width=3D"59%" valign=3Dtop style=3D'width:59.0%;padding:.75pt = .75pt .75pt .75pt'> <table class=3DMsoNormalTable border=3D0 cellpadding=3D0 = width=3D"100%" style=3D'width:100.0%'> <tr> <td style=3D'padding:.75pt .75pt .75pt .75pt'> <p class=3DMsoNormal align=3Dright style=3D'text-align:right'><font = size=3D1 face=3D"Times New Roman"><span = style=3D'font-size:7.5pt'>To</span></font><o:p></o:p></p> </td> <td valign=3Dtop style=3D'padding:.75pt .75pt .75pt .75pt'> <p class=3DMsoNormal><font size=3D1 face=3D"Times New Roman"><span style=3D'font-size:7.5pt'>&lt;<st1:PersonName = w:st=3D"on">[email protected]</st1:PersonName>&gt;</span></fon= t> <o:p></o:p></p> </td> </tr> <tr> <td style=3D'padding:.75pt .75pt .75pt .75pt'> <p class=3DMsoNormal align=3Dright style=3D'text-align:right'><font = size=3D1 face=3D"Times New Roman"><span = style=3D'font-size:7.5pt'>cc</span></font><o:p></o:p></p> </td> <td valign=3Dtop style=3D'padding:.75pt .75pt .75pt .75pt'> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p> </td> </tr> <tr> <td style=3D'padding:.75pt .75pt .75pt .75pt'> <p class=3DMsoNormal align=3Dright style=3D'text-align:right'><font = size=3D1 face=3D"Times New Roman"><span = style=3D'font-size:7.5pt'>Subject</span></font><o:p></o:p></p> </td> <td valign=3Dtop style=3D'padding:.75pt .75pt .75pt .75pt'> <p class=3DMsoNormal><font size=3D1 face=3D"Times New Roman"><span style=3D'font-size:7.5pt'>SV: Reading entire tree structure of an = XML</span></font> <o:p></o:p></p> </td> </tr> </table> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p> <table class=3DMsoNormalTable border=3D0 cellpadding=3D0> <tr> <td valign=3Dtop style=3D'padding:.75pt .75pt .75pt .75pt'> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p> </td> <td valign=3Dtop style=3D'padding:.75pt .75pt .75pt .75pt'> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p> </td> </tr> </table> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'><o:p></o:p></span></font></p> </td> </tr> </table> <p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><font size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'><br> <i><font color=3D"#737373"><span = style=3D'color:#737373;font-style:italic'><br> </span></font><br> </i></span></font><i><font size=3D2 color=3Dnavy><span = style=3D'font-size:10.0pt; color:navy;font-style:italic'>Hi!<br> Use DOM parsing! But if you have a large file it might be inefficient, = then SAX parsing is better. If you only want to handle ONE entire element at a = time you can build your own tree structure for that element only by using a stack = or something similar. Then discard the tree and build a new for the next = element etc.<br> &nbsp;<br> Martin G=FClich<br> Research Engineer<br> ______________________________<br> <br> Swedish Defence Research Agency<br> Dept. Of Systems Modelling<br> SE-172 90 <st1:place w:st=3D"on"><st1:City = w:st=3D"on">Stockholm</st1:City>, <st1:country-region w:st=3D"on">Sweden</st1:country-region></st1:place><br> <br> Phone: 860-947-9872<br> Company web site: </span></font><a href=3D"http://www.foi.se/"><font = size=3D2><span style=3D'font-size:10.0pt'>www.foi.se</span></font></a><br> </i><i><font size=3D2 color=3D"#737373"><span = style=3D'font-size:10.0pt;color:#737373; font-style:italic'>&nbsp;<br> -----Ursprungligt meddelande-----<br> <b><span style=3D'font-weight:bold'>Fr=E5n:</span></b> = [email protected] [mailto:[email protected]] <br> <b><span style=3D'font-weight:bold'>Skickat:</span></b> den 27 augusti = 2004 06:49<br> <b><span style=3D'font-weight:bold'>Till:</span></b> <st1:PersonName = w:st=3D"on">[email protected]</st1:PersonName><br> <b><span style=3D'font-weight:bold'>=C4mne:</span></b> Reading entire = tree structure of an XML</span></font><br> <font color=3D"#737373"><span = style=3D'color:#737373'>&nbsp;</span></font><br> </i><i><font size=3D2 color=3D"#737373"><span = style=3D'font-size:10.0pt;color:#737373; font-style:italic'><br> Hi,</span></font><br> <br> </i><i><font size=3D2 color=3D"#737373"><span = style=3D'font-size:10.0pt;color:#737373; font-style:italic'><br> My XML has atleast 5 levels of nested elements. How can i read the = entire data and put<br> it in a Container so that i can use that data for processing = ?</span></font><br> <br> </i><i><font size=3D2 color=3D"#737373"><span = style=3D'font-size:10.0pt;color:#737373; font-style:italic'><br> Thanks and Regards,<br> <br> Chetan </span></font><br> </i><i><font size=3D2 color=3Dwhite><span = style=3D'font-size:10.0pt;color:white; font-style:italic'>ForwardSourceID:NT00002892 &nbsp; = &nbsp;</span></font><font color=3D"#737373"><span = style=3D'color:#737373'><o:p></o:p></span></font></i></p> <div class=3DMsoNormal align=3Dcenter = style=3D'text-align:center'><i><font size=3D3 color=3D"#737373" face=3D"Times New Roman"><span = style=3D'font-size:12.0pt; color:#737373;font-style:italic'> <hr size=3D2 width=3D"100%" align=3Dcenter> </span></font></i></div> <pre><i><font size=3D2 color=3D"#737373" face=3D"Courier New"><span = style=3D'font-size: 10.0pt;color:#737373;font-style:italic'>---------------------------------= ------------------------------------<o:p></o:p></span></font></i></pre><p= re><i><font size=3D2 color=3D"#737373" face=3D"Courier New"><span = style=3D'font-size:10.0pt; color:#737373;font-style:italic'>To unsubscribe, e-mail: = [email protected]<o:p></o:p></span></font></i></pr= e><pre><i><font size=3D2 color=3D"#737373" face=3D"Courier New"><span = style=3D'font-size:10.0pt; color:#737373;font-style:italic'>For additional commands, e-mail: = </span></font><a href=3D"mailto:[email protected]">[email protected].= apache.org</a></i><o:p></o:p></pre> <table class=3DMsoNormalTable border=3D0 cellspacing=3D0 cellpadding=3D0 = width=3D"100%" style=3D'width:100.0%'> <tr> <td style=3D'padding:0in 0in 0in 0in'> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>-- <br> Phil Weighill-Smith &lt;<a = href=3D"mailto:[email protected]">phil.weighill-smith@vola= ntis.com</a>&gt;<br> Volantis Systems <o:p></o:p></span></font></p> </td> </tr> </table> <pre><font size=3D2 face=3D"Courier New"><span = style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre></div> </body> </html> ------_=_NextPart_001_01C48C55.3CAF83A4-- From [email protected] Fri Aug 27 16:55:38 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 1566 invoked from network); 27 Aug 2004 16:55:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 27 Aug 2004 16:55:38 -0000 Received: (qmail 84856 invoked by uid 500); 27 Aug 2004 16:55:35 -0000 Delivered-To: [email protected] Received: (qmail 84624 invoked by uid 500); 27 Aug 2004 16:55:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 84613 invoked by uid 99); 27 Aug 2004 16:55:33 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO e3.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 27 Aug 2004 09:55:32 -0700 Received: from northrelay02.pok.ibm.com (northrelay02.pok.ibm.com [161.129.204.104]) by e3.ny.us.ibm.com (8.12.10/8.12.9) with ESMTP id i7RGtPHr398906 for <[email protected]>; Fri, 27 Aug 2004 12:55:25 -0400 Received: from d01ml605.pok.ibm.com (d01av02.pok.ibm.com [161.129.204.104]) by northrelay02.pok.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id i7RGubct150194 for <[email protected]>; Fri, 27 Aug 2004 12:56:37 -0400 In-Reply-To: <[email protected]> Subject: RE: SV: Reading entire tree structure of an XML To: [email protected] X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003 Message-ID: <[email protected]> From: Joseph Kesselman <[email protected]> Date: Fri, 27 Aug 2004 12:54:51 -0400 X-MIMETrack: Serialize by Router on D01ML605/01/M/IBM(Release 6.51HF433 | July 14, 2004) at 08/27/2004 12:55:25 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N There are some comments on DOM versus SAX at http://www.w3.org/DOM/faq.html#SAXandDOM. It's slightly outdated, but remains essentially true. ______________________________________ Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more. "The world changed profoundly and unpredictably the day Tim Berners Lee got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filk --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Aug 27 17:06:34 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6914 invoked from network); 27 Aug 2004 17:06:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 27 Aug 2004 17:06:33 -0000 Received: (qmail 18475 invoked by uid 500); 27 Aug 2004 17:06:29 -0000 Delivered-To: [email protected] Received: (qmail 18434 invoked by uid 500); 27 Aug 2004 17:06:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 18423 invoked by uid 99); 27 Aug 2004 17:06:28 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO verioseag001.businessxchange.verio.net) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 27 Aug 2004 10:06:23 -0700 Received: from veriosimr002.VRO1.COM (unverified) by verioseag001.businessxchange.verio.net (Content Technologies SMTPRS 4.3.12) with ESMTP id <[email protected]> for <[email protected]>; Fri, 27 Aug 2004 13:07:17 -0400 Received: from VERIOVEXC008.VRO1.COM ([161.129.204.104]) by veriosimr002.VRO1.COM with Microsoft SMTPSVC(6.0.3790.0); Fri, 27 Aug 2004 13:06:20 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: RE: Xerces overriding JDK XML parser - Classloader Issues? Date: Fri, 27 Aug 2004 13:06:19 -0400 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Xerces overriding JDK XML parser - Classloader Issues? Thread-Index: AcSMKoyuYpzcypWVTF6iH93EOn+U2QAIVZQwAALRaPA= From: "Christopher Ebert" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 27 Aug 2004 17:06:20.0282 (UTC) FILETIME=[2C6195A0:01C48C58] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I think DocumentBuilder objects can be re-used, so you could use an object pool, build some number of them on startup and reuse them... Chris =20 -----Original Message----- From: Rick Bullotta [mailto:[email protected]]=20 Sent: Friday, August 27, 2004 08:50 To: [email protected] Subject: Xerces overriding JDK XML parser - Classloader Issues? Here's our scenario: We're running JDK 1.4.2_05 with the latest Xerces/Xalan in the JRE's lib/endorsed directory. We run servlets (on New Atlanta's ServletExec engine) and are experiencing some serious performance issues when instantiating a parser instance from within a servlet using: DocumentBuilderFactory dFactory =3D = DocumentBuilderFactory.newInstance(); dFactory.setNamespaceAware(true); DocumentBuilder dBuilder =3D dFactory.newDocumentBuilder(); We've been working with the New Atlanta folks trying to sleuth it out, and the issue seems to be that somewhere in the factory code are getResourceAsStream() calls, probably to load property or configuration files. These calls seem to be performed every request, rather than loaded once, and when there are lots of JARS in the classpath, this operation can be VERY VERY expensive searching the JARS. Question is: Is there any way to bypass this frequent loading using either: a) JVM command line parameters b) Setting a property through code c) Some type of singleton object Many thanks! Rick Bullotta CTO Lighthammer Software (http://www.lighthammer.com) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Aug 27 17:29:05 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15667 invoked from network); 27 Aug 2004 17:29:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 27 Aug 2004 17:29:04 -0000 Received: (qmail 66354 invoked by uid 500); 27 Aug 2004 17:28:53 -0000 Delivered-To: [email protected] Received: (qmail 66309 invoked by uid 500); 27 Aug 2004 17:28:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 66282 invoked by uid 99); 27 Aug 2004 17:28:53 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO tonnant.nxlkhost.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 27 Aug 2004 10:28:50 -0700 Received: from rickb (161.129.204.104.ptr.us.xo.net [161.129.204.104]) by tonnant.nxlkhost.com id NAA03357; Fri, 27 Aug 2004 13:28:48 -0400 (EDT) [ConcentricHost SMTP Relay 1.17] Message-ID: <[email protected]> Errors-To: <[email protected]> From: "Rick Bullotta" <[email protected]> To: <[email protected]> Subject: RE: Xerces overriding JDK XML parser - Classloader Issues? Date: Fri, 27 Aug 2004 13:28:48 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Thread-Index: AcSMKoyuYpzcypWVTF6iH93EOn+U2QAIVZQwAALRaPAAAPc6cA== In-Reply-To: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Thanks for the suggestion, Chris. That's probably our next step (parser pool). We've reduced the parser creation time somewhat using two system properties: javax.xml.parsers.DocumentBuilderFactory ...set to ... org.apache.xerces.jaxp.DocumentBuilderFactoryImpl ..and.. javax.xml.parsers.SAXParserFactory ...set to... org.apache.xerces.jaxp.SAXParserFactoryImpl -----Original Message----- From: Christopher Ebert [mailto:[email protected]] Sent: Friday, August 27, 2004 1:06 PM To: [email protected] Subject: RE: Xerces overriding JDK XML parser - Classloader Issues? Hi, I think DocumentBuilder objects can be re-used, so you could use an object pool, build some number of them on startup and reuse them... Chris -----Original Message----- From: Rick Bullotta [mailto:[email protected]] Sent: Friday, August 27, 2004 08:50 To: [email protected] Subject: Xerces overriding JDK XML parser - Classloader Issues? Here's our scenario: We're running JDK 1.4.2_05 with the latest Xerces/Xalan in the JRE's lib/endorsed directory. We run servlets (on New Atlanta's ServletExec engine) and are experiencing some serious performance issues when instantiating a parser instance from within a servlet using: DocumentBuilderFactory dFactory = DocumentBuilderFactory.newInstance(); dFactory.setNamespaceAware(true); DocumentBuilder dBuilder = dFactory.newDocumentBuilder(); We've been working with the New Atlanta folks trying to sleuth it out, and the issue seems to be that somewhere in the factory code are getResourceAsStream() calls, probably to load property or configuration files. These calls seem to be performed every request, rather than loaded once, and when there are lots of JARS in the classpath, this operation can be VERY VERY expensive searching the JARS. Question is: Is there any way to bypass this frequent loading using either: a) JVM command line parameters b) Setting a property through code c) Some type of singleton object Many thanks! Rick Bullotta CTO Lighthammer Software (http://www.lighthammer.com) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Aug 27 18:00:39 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37174 invoked from network); 27 Aug 2004 18:00:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 27 Aug 2004 18:00:39 -0000 Received: (qmail 51672 invoked by uid 500); 27 Aug 2004 18:00:34 -0000 Delivered-To: [email protected] Received: (qmail 51577 invoked by uid 500); 27 Aug 2004 18:00:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 51566 invoked by uid 99); 27 Aug 2004 18:00:33 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO lion.seas.upenn.edu) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 27 Aug 2004 11:00:28 -0700 Received: from lvn513pc6.cis.upenn.edu (LVN513PC6.cis.upenn.edu [161.129.204.104]) by lion.seas.upenn.edu (8.12.10/8.12.10) with ESMTP id i7RI0FbJ031930 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT) for <[email protected]>; Fri, 27 Aug 2004 14:00:23 -0400 Received: from lvn513pc6.cis.upenn.edu (localhost.upenn.edu [161.129.204.104]) by lvn513pc6.cis.upenn.edu (8.12.10/8.12.8) with ESMTP id i7RI0FnF012598 for <[email protected]>; Fri, 27 Aug 2004 14:00:15 -0400 Received: from localhost (nikhild@localhost) by lvn513pc6.cis.upenn.edu (8.12.10/8.12.8/Submit) with ESMTP id i7RI0F5Y012595 for <[email protected]>; Fri, 27 Aug 2004 14:00:15 -0400 Date: Fri, 27 Aug 2004 14:00:15 -0400 (EDT) From: Nikhil Dinesh <[email protected]> To: [email protected] Subject: RE: Xerces overriding JDK XML parser - Classloader Issues? In-Reply-To: <[email protected]> Message-ID: <{{EMAIL+PHONE}}> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N If you're not very tied in to using JAXP, consider using the org.apache.xerces.parsers.CachingParserPool and the associated XNI pipeline. Ive observed significantly faster creation as compared to JAXP and there are significant memory advantages you can achieve through pipeline configuration that are really inconvenient to do through JAXP. Of course these are Xerces internal APIs, and should be used with the cautionary note that the developers give. On Fri, 27 Aug 2004, Rick Bullotta wrote: > Thanks for the suggestion, Chris. That's probably our next step (parser > pool). > > We've reduced the parser creation time somewhat using two system properties: > > javax.xml.parsers.DocumentBuilderFactory > > ...set to ... > > org.apache.xerces.jaxp.DocumentBuilderFactoryImpl > > ..and.. > > javax.xml.parsers.SAXParserFactory > > ...set to... > > org.apache.xerces.jaxp.SAXParserFactoryImpl > > > > -----Original Message----- > From: Christopher Ebert [mailto:[email protected]] > Sent: Friday, August 27, 2004 1:06 PM > To: [email protected] > Subject: RE: Xerces overriding JDK XML parser - Classloader Issues? > > > Hi, > > I think DocumentBuilder objects can be re-used, so you could use > an object pool, build some number of them on startup and reuse them... > > Chris > > > -----Original Message----- > From: Rick Bullotta [mailto:[email protected]] > Sent: Friday, August 27, 2004 08:50 > To: [email protected] > Subject: Xerces overriding JDK XML parser - Classloader Issues? > > Here's our scenario: > > We're running JDK 1.4.2_05 with the latest Xerces/Xalan in the JRE's > lib/endorsed directory. We run servlets (on New Atlanta's ServletExec > engine) and are experiencing some serious performance issues when > instantiating a parser instance from within a servlet using: > > DocumentBuilderFactory dFactory = DocumentBuilderFactory.newInstance(); > dFactory.setNamespaceAware(true); > DocumentBuilder dBuilder = dFactory.newDocumentBuilder(); > > We've been working with the New Atlanta folks trying to sleuth it out, > and the issue seems to be that somewhere in the factory code are > getResourceAsStream() calls, probably to load property or configuration > files. These calls seem to be performed every request, rather than > loaded once, and when there are lots of JARS in the classpath, this > operation can be VERY VERY expensive searching the JARS. > > Question is: > > Is there any way to bypass this frequent loading using either: > > a) JVM command line parameters > b) Setting a property through code > c) Some type of singleton object > > Many thanks! > > Rick Bullotta > CTO > Lighthammer Software (http://www.lighthammer.com) > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Aug 27 18:16:08 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48216 invoked from network); 27 Aug 2004 18:16:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 27 Aug 2004 18:16:08 -0000 Received: (qmail 89213 invoked by uid 500); 27 Aug 2004 18:16:03 -0000 Delivered-To: [email protected] Received: (qmail 89078 invoked by uid 500); 27 Aug 2004 18:16:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 89062 invoked by uid 99); 27 Aug 2004 18:16:02 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brmea-mail-4.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 27 Aug 2004 11:16:01 -0700 Received: from phys-ha14sca-1.sfbay.sun.com ([161.129.204.104]) by brmea-mail-4.sun.com (8.12.10/8.12.9) with ESMTP id i7RIG053021868 for <[email protected]>; Fri, 27 Aug 2004 12:16:00 -0600 (MDT) Received: from [161.129.204.104] by ha14sca-mail1.sfbay.sun.com (Sun Java System Messaging Server 6.1 HotFix 0.02 (built Jul 26 2004)) with ESMTPA id <[email protected]> for [email protected]; Fri, 27 Aug 2004 11:15:58 -0700 (PDT) Date: Fri, 27 Aug 2004 11:15:28 -0700 From: Andy Clark <[email protected]> Subject: Re: SAX-stream validation In-reply-to: <[email protected]> To: [email protected] Message-id: <[email protected]> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7bit X-Accept-Language: en-us, en References: <[email protected]> User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Volker Katz wrote: > I have to validate a SAX-stream against a XML-Schema. My plan was to > implement a custom ContentHandler which sends all SAX-events to the > parser. Therefore I used an instance of > org.apache.xerces.parsers.SAXParser, because this class implements > alls SAX-events. > > So I created an SAXParser and set the following features and > properties: > > [...] > > Then I implemented start-/endDocument and start-/endElement of my > DocumentHandler. In this methods I called: parser.startElement(...), > parser.endElement(...).... I don't think that this will work. The Xerces SAXParser parses input streams, not SAX streams. The fact that the SAXParser implements XMLDocumentHandler (which is similar to ContentHandler) does *not* mean that you can route SAX events to it. The parser class is the *end* of the parsing process, not the beginning. However... We designed XNI to be modular. So it is possible to replace the scanner at the beginning of the pipeline with a SAX->XNI converter that routes your SAX-stream to the subsequent stages in the pipeline (e.g. XML Schema validator, etc). You would need to write your own parser configuration for this setup, though. This type of parser configuration has not been written for Xerces, yet, but I wrote the SAX->XNI converter component for a previous project. If you want to try to implement this configuration, let me know and I'll point you to that code. And, if you do write it, it would be great if you could donate it back to the project so that other people can use it. -- Andy Clark * [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Aug 27 18:36:48 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 55638 invoked from network); 27 Aug 2004 18:36:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 27 Aug 2004 18:36:48 -0000 Received: (qmail 22517 invoked by uid 500); 27 Aug 2004 18:36:42 -0000 Delivered-To: [email protected] Received: (qmail 22475 invoked by uid 500); 27 Aug 2004 18:36:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 22452 invoked by uid 99); 27 Aug 2004 18:36:41 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO tonnant.nxlkhost.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 27 Aug 2004 11:36:39 -0700 Received: from rickb (161.129.204.104.ptr.us.xo.net [161.129.204.104]) by tonnant.nxlkhost.com id OAA27841; Fri, 27 Aug 2004 14:36:37 -0400 (EDT) [ConcentricHost SMTP Relay 1.17] Message-ID: <[email protected]> Errors-To: <[email protected]> From: "Rick Bullotta" <[email protected]> To: <[email protected]> Subject: RE: Xerces overriding JDK XML parser - Classloader Issues? Date: Fri, 27 Aug 2004 14:36:36 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Thread-Index: AcSMX8IhR/NwWar2Tnil+qD2XOmQsgABPWxA In-Reply-To: <{{EMAIL+PHONE}}> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Thanks! Do you have any sample code or links to docs/sample code on using this technique? - Rick -----Original Message----- From: Nikhil Dinesh [mailto:[email protected]] Sent: Friday, August 27, 2004 2:00 PM To: [email protected] Subject: RE: Xerces overriding JDK XML parser - Classloader Issues? If you're not very tied in to using JAXP, consider using the org.apache.xerces.parsers.CachingParserPool and the associated XNI pipeline. Ive observed significantly faster creation as compared to JAXP and there are significant memory advantages you can achieve through pipeline configuration that are really inconvenient to do through JAXP. Of course these are Xerces internal APIs, and should be used with the cautionary note that the developers give. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Aug 27 18:58:41 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64332 invoked from network); 27 Aug 2004 18:58:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 27 Aug 2004 18:58:40 -0000 Received: (qmail 61302 invoked by uid 500); 27 Aug 2004 18:58:35 -0000 Delivered-To: [email protected] Received: (qmail 61274 invoked by uid 500); 27 Aug 2004 18:58:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 61259 invoked by uid 99); 27 Aug 2004 18:58:34 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO lion.seas.upenn.edu) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 27 Aug 2004 11:58:33 -0700 Received: from lvn513pc6.cis.upenn.edu (LVN513PC6.cis.upenn.edu [161.129.204.104]) by lion.seas.upenn.edu (8.12.10/8.12.10) with ESMTP id i7RIwWbJ004832 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT) for <[email protected]>; Fri, 27 Aug 2004 14:58:32 -0400 Received: from lvn513pc6.cis.upenn.edu (localhost.upenn.edu [161.129.204.104]) by lvn513pc6.cis.upenn.edu (8.12.10/8.12.8) with ESMTP id i7RIwWnF012721 for <[email protected]>; Fri, 27 Aug 2004 14:58:32 -0400 Received: from localhost (nikhild@localhost) by lvn513pc6.cis.upenn.edu (8.12.10/8.12.8/Submit) with ESMTP id i7RIwVPt012718 for <[email protected]>; Fri, 27 Aug 2004 14:58:31 -0400 Date: Fri, 27 Aug 2004 14:58:31 -0400 (EDT) From: Nikhil Dinesh <[email protected]> To: [email protected] Subject: RE: Xerces overriding JDK XML parser - Classloader Issues? In-Reply-To: <[email protected]> Message-ID: <{{EMAIL+PHONE}}> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N The best place to look is the XNI manual http://xml.apache.org/xerces2-j/xni.html and xerces samples/xni. You might need some extensions as appropriate to your application. The package org.annotation.agschema.atlas.ag.xmlfactory in the docs at http://agschema.sourceforge.net/apidocs/index.html shows what we needed as a part of our project. -Nikhil On Fri, 27 Aug 2004, Rick Bullotta wrote: > Thanks! Do you have any sample code or links to docs/sample code on using > this technique? > > - Rick > > -----Original Message----- > From: Nikhil Dinesh [mailto:[email protected]] > Sent: Friday, August 27, 2004 2:00 PM > To: [email protected] > Subject: RE: Xerces overriding JDK XML parser - Classloader Issues? > > If you're not very tied in to using JAXP, consider using the > org.apache.xerces.parsers.CachingParserPool and the associated XNI > pipeline. Ive observed significantly faster creation as compared to JAXP > and there are significant memory advantages you can achieve through > pipeline configuration that are really inconvenient to do through JAXP. > Of course these are Xerces internal APIs, and should be used with the > cautionary note that the developers give. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Aug 28 08:18:28 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78370 invoked from network); 28 Aug 2004 08:18:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 28 Aug 2004 08:18:27 -0000 Received: (qmail 36724 invoked by uid 500); 28 Aug 2004 08:18:19 -0000 Delivered-To: [email protected] Received: (qmail 36681 invoked by uid 500); 28 Aug 2004 08:18:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 36668 invoked by uid 99); 28 Aug 2004 08:18:18 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) Received: from [161.129.204.104] (HELO natnoddy.rzone.de) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Sat, 28 Aug 2004 01:18:17 -0700 Received: from 161.129.204.104 (pD9EEFA5C.dip.t-dialin.net [161.129.204.104]) by post.webmailer.de (8.12.10/8.12.10) with ESMTP id i7S8IDE4018911 for <[email protected]>; Sat, 28 Aug 2004 10:18:14 +0200 (MEST) From: Volker Katz <[email protected]> To: [email protected] Subject: Re: SAX-stream validation Date: Sat, 28 Aug 2004 10:14:12 +0200 User-Agent: KMail/1.5.3 References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, Am Freitag, 27. August 2004 20:15 schrieb Andy Clark: > Volker Katz wrote: > > I have to validate a SAX-stream against a XML-Schema. My plan was > > to implement a custom ContentHandler which sends all SAX-events to > > the parser. Therefore I used an instance of > > org.apache.xerces.parsers.SAXParser, because this class implements > > alls SAX-events. [...] > I don't think that this will work. The Xerces SAXParser parses > input streams, not SAX streams. The fact that the SAXParser > implements XMLDocumentHandler (which is similar to ContentHandler) > does *not* mean that you can route SAX events to it. The parser > class is the *end* of the parsing process, not the beginning. ok, that's not really surprising for me. Because of all the interfaces=20 and abstract classes understanding the code is very difficult for me,=20 so I just made a test.=20 > However... > We designed XNI to be modular. So it is possible to replace the > scanner at the beginning of the pipeline with a SAX->XNI converter > that routes your SAX-stream to the subsequent stages in the > pipeline (e.g. XML Schema validator, etc). You would need to > write your own parser configuration for this setup, though. ok, I allready thought about this possibility of writing my own=20 configuration. But I hoped, that this isn't necessary.... > This type of parser configuration has not been written for Xerces, > yet, but I wrote the SAX->XNI converter component for a previous > project. If you want to try to implement this configuration, let > me know and I'll point you to that code. And, if you do write it, > it would be great if you could donate it back to the project so > that other people can use it. Howevery, I think I have to implement this configuration.... I would be=20 great, if you point me to that code and perhaps give me some=20 assistance.=20 Thank you very much! Best regards Volker =2D-=20 Gru=DF & Danke Volker --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Aug 28 16:02:39 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11038 invoked from network); 28 Aug 2004 16:02:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 28 Aug 2004 16:02:39 -0000 Received: (qmail 47877 invoked by uid 500); 28 Aug 2004 16:02:31 -0000 Delivered-To: [email protected] Received: (qmail 47843 invoked by uid 500); 28 Aug 2004 16:02:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 47815 invoked by uid 99); 28 Aug 2004 16:02:31 -0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=RCVD_IN_RFC_IPWHOIS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO geriatrix.itellix.net) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Sat, 28 Aug 2004 09:02:30 -0700 Received: from cacofonix.in.itellix.net (cacofonix.in.itellix.net [161.129.204.104]) by geriatrix.itellix.net (Postfix) with ESMTP id A449A4310CC for <[email protected]>; Sat, 28 Aug 2004 21:21:52 +0530 (IST) Received: from it-nishant.in.itellix.net (it-nishant.in.itellix.net [161.129.204.104]) by cacofonix.in.itellix.net (Postfix) with ESMTP id E016DCC006 for <[email protected]>; Sat, 28 Aug 2004 21:34:14 +0530 (IST) Subject: RE: Xerces overriding JDK XML parser - Classloader Issues? From: Nishant Kumar <[email protected]> To: [email protected] In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain Organization: Message-Id: <1093709036.31829.8.camel@it-nishant> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-4) Date: 28 Aug 2004 21:33:56 +0530 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N hi, since you are using it in a servlet, you may even try keeping document builder in threadlocal. the only thing you need to make sure is that all the document builder have the same configuration. document builder access needs to be synchronized if used across thread but by keeping it in thread local you are any way making sure that it is accessible by that thread only. and any way in servlet model the request is handled by one thread only. read the javadocs of document builder for details about synchronization. this way you will have created just one document builder per thread that too once in the life time of the web application. can you try this? i think this is the best solution and i have used the same successfully. regards, nishant On Fri, 2004-08-27 at 22:36, Christopher Ebert wrote: > Hi, > > I think DocumentBuilder objects can be re-used, so you could use > an object pool, build some number of them on startup and reuse them... > > Chris > > > -----Original Message----- > From: Rick Bullotta [mailto:[email protected]] > Sent: Friday, August 27, 2004 08:50 > To: [email protected] > Subject: Xerces overriding JDK XML parser - Classloader Issues? > > Here's our scenario: > > We're running JDK 1.4.2_05 with the latest Xerces/Xalan in the JRE's > lib/endorsed directory. We run servlets (on New Atlanta's ServletExec > engine) and are experiencing some serious performance issues when > instantiating a parser instance from within a servlet using: > > DocumentBuilderFactory dFactory = DocumentBuilderFactory.newInstance(); > dFactory.setNamespaceAware(true); > DocumentBuilder dBuilder = dFactory.newDocumentBuilder(); > > We've been working with the New Atlanta folks trying to sleuth it out, > and the issue seems to be that somewhere in the factory code are > getResourceAsStream() calls, probably to load property or configuration > files. These calls seem to be performed every request, rather than > loaded once, and when there are lots of JARS in the classpath, this > operation can be VERY VERY expensive searching the JARS. > > Question is: > > Is there any way to bypass this frequent loading using either: > > a) JVM command line parameters > b) Setting a property through code > c) Some type of singleton object > > Many thanks! > > Rick Bullotta > CTO > Lighthammer Software (http://www.lighthammer.com) > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 30 13:39:06 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93415 invoked from network); 30 Aug 2004 13:39:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 30 Aug 2004 13:39:05 -0000 Received: (qmail 92111 invoked by uid 500); 30 Aug 2004 13:38:58 -0000 Delivered-To: [email protected] Received: (qmail 92072 invoked by uid 500); 30 Aug 2004 13:38:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 92061 invoked by uid 99); 30 Aug 2004 13:38:57 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO MAILGW16.sonymusic.com) (161.129.204.104) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 30 Aug 2004 06:38:54 -0700 Received: from MOBILEENGINE ([161.129.204.104]) by smtp2.sony (Lotus Domino Release 6.5.1) with SMTP id 2004083015384018-4454 ; Mon, 30 Aug 2004 15:38:40 +0200 From: "Christian Zulehner" <[email protected]> To: <[email protected]> Subject: CDATA normalization on validation... bug? Date: Mon, 30 Aug 2004 15:33:34 +0200 Message-ID: <[email protected]> MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-MIMETrack: Itemize by SMTP Server on ATANCB01/Servers-AT/SONY(Release 6.5.1|January 21, 2004) at 30.08.2004 15:38:40, Serialize by Router on EULNWEB1/External/Servers-EU/SONY(Release 5.0.11 |July 24, 2002) at 30/08/2004 14:38:53, Serialize complete at 30/08/2004 14:38:53 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="iso-8859-1" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I had the problem, that the parser (Xerces, newest release) I use has a feature activated, that normalizes values for attributes and elements. (see http://xml.apache.org/xerces2-j/features.html ) This feature is nice, but it seems that it also tries to normalize a CDATA section when XSD-validation is turned on. So whenever there is an element like <musicgenre><![CDATA[R&B]]></musicgenre> in an XML-file, the CDATA section causes an exception, because the normalization of "R&B" does not work. Note that normalization of "R & B" would work, but assume that I can't change the given xml. So, is this a bug or just a special feature of Xerces? Now I can turn off this feature by setting it via the setFeature(String,Boolean)-method to false, but ain't there a way to configure such (default-set-to-true-) features by a properties file? I know I can define the parser to use (JAXP properties etc.), but I can't define features that way? Imaging you have some unmarshalling classes generated automatically by JAXB and you are not able to set this feature there, so there ain't a chance to do this? Hard to imageing... Any comments welcome regards Chris --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Aug 31 09:38:55 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 16453 invoked from network); 31 Aug 2004 09:38:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 31 Aug 2004 09:38:55 -0000 Received: (qmail 33477 invoked by uid 500); 31 Aug 2004 09:38:34 -0000 Delivered-To: [email protected] Received: (qmail 33306 invoked by uid 500); 31 Aug 2004 09:38:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 33273 invoked by uid 99); 31 Aug 2004 09:38:26 -0000 X-ASF-Spam-Status: No, hits=2.1 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-1.tiscali.it) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 31 Aug 2004 02:38:24 -0700 Received: from [161.129.204.104] by mail-1.tiscali.it with HTTP; Tue, 31 Aug 2004 11:38:19 +0200 Date: Tue, 31 Aug 2004 10:38:19 +0100 Message-ID: <[email protected]> From: [email protected] Subject: element set validation To: [email protected] MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N hi i am currently trying to find a solution to the following problem: I would like to be able to validate some node of my xml file instead of validate all the document. Moreover, is this is possible with a unique xml schema, i.e., the one tha= t apply to the whole document. Why i want to do that? just because my xml file is huge, and from this file, according to my nee= ds, i have to extract only a subset of this file. And this subset is not alwa= ys the same. thanks in advance Serge Scevenels __________________________________________________________________ Tiscali ADSL Senza Canone, paga solo quello che consumi! Non perdere la promozione valida fino al 31 agosto. Per te gratis il mode= m in comodato e l'attivazione. In piu' navighi a soli 1,5 euro l'ora per i primi tre mesi. Cosa aspetti? Attivala subito! http://abbonati.tiscali.it/adsl/prodotti/640Kbps/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Aug 31 10:40:09 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52866 invoked from network); 31 Aug 2004 10:40:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 31 Aug 2004 10:40:08 -0000 Received: (qmail 12614 invoked by uid 500); 31 Aug 2004 10:40:03 -0000 Delivered-To: [email protected] Received: (qmail 12346 invoked by uid 500); 31 Aug 2004 10:40:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 12321 invoked by uid 99); 31 Aug 2004 10:40:01 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=HTML_20_30,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.volantis.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 31 Aug 2004 03:40:00 -0700 Received: squid 161.129.204.104 from 161.129.204.104 161.129.204.104 via HTTP with MS-WebStorage 6.0.6249 Received: from sparrow.uk.volantis.com by squid; 31 Aug 2004 11:39:41 +0100 Subject: Re: element set validation From: Phil Weighill-Smith <[email protected]> To: [email protected] In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: multipart/alternative; boundary="=-uJ5Q6zSC4i0kDTZc4NhR" Organization: Volantis Systems Message-Id: <[email protected]> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Tue, 31 Aug 2004 11:39:41 +0100 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --=-uJ5Q6zSC4i0kDTZc4NhR Content-Type: text/plain Content-Transfer-Encoding: 7bit You may or may not be able to validate a document fragment against a given schema depending on how the schema is written. If your schema is written to restrict the location of any given element to the context of its allowed parent you probably can't just validate the "child" element (even creating a dummy parent may not be enough, depending on the schema rules for the content of that parent and so on up to your schema's root element). If, however, your schema doesn't restrict a given element to a specific context you can easily validate that element by simply applying validation to that element (how you do this depends on which DOM level you're using; below DOM level 3 you need to essentially serialize your DOM sub-tree such that you can parse it again with a (SAX) parser, looking for errors. At DOM level 3 you *should* be able to utilize DOM-based re-validation... (having said that, I'm no XERCES expert and don't know if it supports DOM-based re-validation). Don't know if that helps... Phil :n. On Tue, 2004-08-31 at 10:38, [email protected] wrote: > hi > > i am currently trying to find a solution to the following problem: > > I would like to be able to validate some node of my xml file instead of > validate all the document. > Moreover, is this is possible with a unique xml schema, i.e., the one that > apply to the whole document. > > Why i want to do that? > > just because my xml file is huge, and from this file, according to my needs, > i have to extract only a subset of this file. And this subset is not always > the same. > > thanks in advance > > Serge Scevenels > > __________________________________________________________________ > Tiscali ADSL Senza Canone, paga solo quello che consumi! > Non perdere la promozione valida fino al 31 agosto. Per te gratis il modem > in comodato e l'attivazione. In piu' navighi a soli 1,5 euro l'ora per i > primi tre mesi. Cosa aspetti? Attivala subito! > http://abbonati.tiscali.it/adsl/prodotti/640Kbps/ > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] -- Phil Weighill-Smith <[email protected]> Volantis Systems --=-uJ5Q6zSC4i0kDTZc4NhR Content-Type: text/html; charset=utf-8 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8"> <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.10"> </HEAD> <BODY> You may or may not be able to validate a document fragment against a given schema depending on how the schema is written.<BR> <BR> If your schema is written to restrict the location of any given element to the context of its allowed parent you probably can't just validate the &quot;child&quot; element (even creating a dummy parent may not be enough, depending on the schema rules for the content of that parent and so on up to your schema's root element).<BR> <BR> If, however, your schema doesn't restrict a given element to a specific context you can easily validate that element by simply applying validation to that element (how you do this depends on which DOM level you're using; below DOM level 3 you need to essentially serialize your DOM sub-tree such that you can parse it again with a (SAX) parser, looking for errors. At DOM level 3 you *should* be able to utilize DOM-based re-validation... (having said that, I'm no XERCES expert and don't know if it supports DOM-based re-validation).<BR> <BR> Don't know if that helps...<BR> <BR> Phil :n.<BR> On Tue, 2004-08-31 at 10:38, [email protected] wrote: <BLOCKQUOTE TYPE=CITE> <PRE><FONT COLOR="#737373"><I>hi i am currently trying to find a solution to the following problem: I would like to be able to validate some node of my xml file instead of validate all the document. Moreover, is this is possible with a unique xml schema, i.e., the one that apply to the whole document. Why i want to do that? just because my xml file is huge, and from this file, according to my needs, i have to extract only a subset of this file. And this subset is not always the same. thanks in advance Serge Scevenels __________________________________________________________________ Tiscali ADSL Senza Canone, paga solo quello che consumi! Non perdere la promozione valida fino al 31 agosto. Per te gratis il modem in comodato e l'attivazione. In piu' navighi a soli 1,5 euro l'ora per i primi tre mesi. Cosa aspetti? Attivala subito!</FONT> <A HREF="http://abbonati.tiscali.it/adsl/prodotti/640Kbps/"><U>http://abbonati.tiscali.it/adsl/prodotti/640Kbps/</U></A> <FONT COLOR="#737373"> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: </FONT><A HREF="mailto:[email protected]">[email protected]</I></A></PRE> </BLOCKQUOTE> <PRE><TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%"> <TR> <TD> -- <BR> Phil Weighill-Smith &lt;<A HREF="mailto:[email protected]"><U>[email protected]</U></A>&gt;<BR> Volantis Systems </TD> </TR> </TABLE> </PRE> </BODY> </HTML> --=-uJ5Q6zSC4i0kDTZc4NhR-- From [email protected] Tue Aug 31 11:24:13 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81074 invoked from network); 31 Aug 2004 11:24:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 31 Aug 2004 11:24:13 -0000 Received: (qmail 65004 invoked by uid 500); 31 Aug 2004 11:24:04 -0000 Delivered-To: [email protected] Received: (qmail 64978 invoked by uid 500); 31 Aug 2004 11:24:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 64930 invoked by uid 99); 31 Aug 2004 11:24:04 -0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=RCVD_IN_RFC_IPWHOIS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO geriatrix.itellix.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 31 Aug 2004 04:24:02 -0700 Received: from cacofonix.in.itellix.net (cacofonix.in.itellix.net [161.129.204.104]) by geriatrix.itellix.net (Postfix) with ESMTP id 31F5B4310D5 for <[email protected]>; Tue, 31 Aug 2004 16:43:02 +0530 (IST) Received: from it-nishant.in.itellix.net (it-nishant.in.itellix.net [161.129.204.104]) by cacofonix.in.itellix.net (Postfix) with ESMTP id 6635CCC006 for <[email protected]>; Tue, 31 Aug 2004 16:55:48 +0530 (IST) Subject: Re: element set validation From: Nishant Kumar <[email protected]> To: [email protected] In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Content-Type: text/plain Organization: Message-Id: <1093951534.11981.30.camel@it-nishant> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-4) Date: 31 Aug 2004 16:55:35 +0530 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N using a XmlFilter, you can ignore the child elements that you don't want to validate. but what Phil has written still applies. ie you cannot filter out the parents of the element you wish specifically to validate. thanks, nishant On Tue, 2004-08-31 at 16:09, Phil Weighill-Smith wrote: > You may or may not be able to validate a document fragment against a > given schema depending on how the schema is written. > > If your schema is written to restrict the location of any given > element to the context of its allowed parent you probably can't just > validate the "child" element (even creating a dummy parent may not be > enough, depending on the schema rules for the content of that parent > and so on up to your schema's root element). > > If, however, your schema doesn't restrict a given element to a > specific context you can easily validate that element by simply > applying validation to that element (how you do this depends on which > DOM level you're using; below DOM level 3 you need to essentially > serialize your DOM sub-tree such that you can parse it again with a > (SAX) parser, looking for errors. At DOM level 3 you *should* be able > to utilize DOM-based re-validation... (having said that, I'm no XERCES > expert and don't know if it supports DOM-based re-validation). > > Don't know if that helps... > > Phil :n. > On Tue, 2004-08-31 at 10:38, [email protected] wrote: > > hi > > > > i am currently trying to find a solution to the following problem: > > > > I would like to be able to validate some node of my xml file instead of > > validate all the document. > > Moreover, is this is possible with a unique xml schema, i.e., the one that > > apply to the whole document. > > > > Why i want to do that? > > > > just because my xml file is huge, and from this file, according to my needs, > > i have to extract only a subset of this file. And this subset is not always > > the same. > > > > thanks in advance > > > > Serge Scevenels > > > > __________________________________________________________________ > > Tiscali ADSL Senza Canone, paga solo quello che consumi! > > Non perdere la promozione valida fino al 31 agosto. Per te gratis il modem > > in comodato e l'attivazione. In piu' navighi a soli 1,5 euro l'ora per i > > primi tre mesi. Cosa aspetti? Attivala subito! > > http://abbonati.tiscali.it/adsl/prodotti/640Kbps/ > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > -- > > Phil Weighill-Smith <[email protected]> > > Volantis Systems --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Aug 31 11:45:41 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91682 invoked from network); 31 Aug 2004 11:45:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 31 Aug 2004 11:45:41 -0000 Received: (qmail 89696 invoked by uid 500); 31 Aug 2004 11:45:34 -0000 Delivered-To: [email protected] Received: (qmail 89657 invoked by uid 500); 31 Aug 2004 11:45:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 89646 invoked by uid 99); 31 Aug 2004 11:45:33 -0000 X-ASF-Spam-Status: No, hits=2.1 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-1.tiscali.it) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 31 Aug 2004 04:45:32 -0700 Received: from [161.129.204.104] by mail-1.tiscali.it with HTTP; Tue, 31 Aug 2004 13:45:28 +0200 Date: Tue, 31 Aug 2004 12:45:28 +0100 Message-ID: <[email protected]> In-Reply-To: <[email protected]> From: [email protected] Subject: Re: element set validation To: [email protected], [email protected] MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ok, let's try to be more preciseabout my schema structure... All the element defined in my schema are defined with a user-defined simp= leType with a list of restrictions.... so,when i talk about validations of a subset of nodes...i mean the facets= checking stuff...i do not care about structure validation. is it not possible to identify the simpleType definition associated to an= element, and then check all the facets? thanks in advance Serge Scevenels >-- Messaggio Originale -- >Reply-To: [email protected] >Subject: Re: element set validation >From: Phil Weighill-Smith <[email protected]> >To: [email protected] >Date: Tue, 31 Aug 2004 11:39:41 +0100 > > >You may or may not be able to validate a document fragment against a >given schema depending on how the schema is written. > >If your schema is written to restrict the location of any given element >to the context of its allowed parent you probably can't just validate >the "child" element (even creating a dummy parent may not be enough, >depending on the schema rules for the content of that parent and so on >up to your schema's root element). > >If, however, your schema doesn't restrict a given element to a specific >context you can easily validate that element by simply applying >validation to that element (how you do this depends on which DOM level >you're using; below DOM level 3 you need to essentially serialize your >DOM sub-tree such that you can parse it again with a (SAX) parser, >looking for errors. At DOM level 3 you *should* be able to utilize >DOM-based re-validation... (having said that, I'm no XERCES expert and >don't know if it supports DOM-based re-validation). > >Don't know if that helps... > >Phil :n. >On Tue, 2004-08-31 at 10:38, [email protected] wrote: > >> hi >> >> i am currently trying to find a solution to the following problem: >> >> I would like to be able to validate some node of my xml file instead of >> validate all the document. >> Moreover, is this is possible with a unique xml schema, i.e., the one that >> apply to the whole document. >> >> Why i want to do that? >> >> just because my xml file is huge, and from this file, according to my needs, >> i have to extract only a subset of this file. And this subset is not always >> the same. >> >> thanks in advance >> >> Serge Scevenels >> >> __________________________________________________________________ >> Tiscali ADSL Senza Canone, paga solo quello che consumi! >> Non perdere la promozione valida fino al 31 agosto. Per te gratis il modem >> in comodato e l'attivazione. In piu' navighi a soli 1,5 euro l'ora per= >i >> primi tre mesi. Cosa aspetti? Attivala subito! >> http://abbonati.tiscali.it/adsl/prodotti/640Kbps/ >> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] > >-- >Phil Weighill-Smith <[email protected]> >Volantis Systems __________________________________________________________________ Tiscali ADSL Senza Canone, paga solo quello che consumi! Non perdere la promozione valida fino al 31 agosto. Per te gratis il mode= m in comodato e l'attivazione. In piu' navighi a soli 1,5 euro l'ora per i primi tre mesi. Cosa aspetti? Attivala subito! http://abbonati.tiscali.it/adsl/prodotti/640Kbps/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
From [email protected] Fri Apr 01 11:33:24 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22431 invoked from network); 1 Apr 2011 11:33:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Apr 2011 11:33:24 -0000 Received: (qmail 46483 invoked by uid 500); 1 Apr 2011 11:33:24 -0000 Delivered-To: [email protected] Received: (qmail 46443 invoked by uid 500); 1 Apr 2011 11:33:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 46435 invoked by uid 99); 1 Apr 2011 11:33:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2011 11:33:23 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO sam.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2011 11:33:17 +0000 Received: from isper.nabble.com ([161.129.204.104]) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from <[email protected]>) id 1Q5cb1-0002pv-Uo for [email protected]; Fri, 01 Apr 2011 04:32:55 -0700 Message-ID: <[email protected]> Date: Fri, 1 Apr 2011 04:32:55 -0700 (PDT) From: Pololang <[email protected]> To: [email protected] Subject: Re: SSL connection with client certificate authentication closing randomly In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hello Mike, we have been running into the same issue, but with HttpClient 4.1.1. Did you find a solution ? Regards, Florent -- View this message in context: http://old.nabble.com/SSL-connection-with-client-certificate-authentication-closing-randomly-tp30762412p31293233.html Sent from the HttpClient-User mailing list [email protected]. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 01 11:44:46 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 34880 invoked from network); 1 Apr 2011 11:44:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Apr 2011 11:44:46 -0000 Received: (qmail 60442 invoked by uid 500); 1 Apr 2011 11:44:46 -0000 Delivered-To: [email protected] Received: (qmail 60414 invoked by uid 500); 1 Apr 2011 11:44:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 60406 invoked by uid 99); 1 Apr 2011 11:44:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2011 11:44:46 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-px0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2011 11:44:39 +0000 Received: by pxi7 with SMTP id 7so1016896pxi.30 for <[email protected]>; Fri, 01 Apr 2011 04:44:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=hFkit2SSo7E3C8Xdr+WXy8klaZ8s1HEct1ZnVORbq1s=; b=EC0YO/QUtra6dd3nbDhIjNYGrd124Wg0OQ8JL2XYh7ZbPzd6gWdi3JYpfb4cbPgesJ mLSlsuq0q9v3kkDjCC5oWCjiIWbAfrcE3JfF0BNlBDfJ8PAdPi4qQ991Z19nVlA78yFw SRC/tJO3Ykw3gt3PZQQSo61bxbmy0Vtm0N+wI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=FGyaOMq4N4Udghnu7GRoGaIav8MWZKAxqFozSi8mjfXgSS+BO5N5dLkTPsne4muPxr ++W4ghGzE4bN+PmNVVvREc+54gAROB/bxOqte0NY3IvXmmkgyRFm5Vcy24ObSC66LV38 cWkPZ2tXslesyv4cdmeiYG5k3KKix5NmWDP0g= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id r15mr3086050wfd.439.1301658257854; Fri, 01 Apr 2011 04:44:17 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Fri, 1 Apr 2011 04:44:17 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Fri, 1 Apr 2011 17:14:17 +0530 Message-ID: <[email protected]> Subject: Re: Keep alive From: Gurmeet Budhraja <[email protected]> To: HttpClient User Discussion <[email protected]> Content-Type: multipart/alternative; boundary=000e0cd2e44e1410be049fd9eef3 X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd2e44e1410be049fd9eef3 Content-Type: text/plain; charset=ISO-8859-1 You can use IdleConnectionTimeoutThread for the same :) On Fri, Apr 1, 2011 at 12:41 AM, Vadheraju, Rajeshwar < [email protected]> wrote: > Yes, agreed. I think it is good idea to implement "retry" and "idle > connection handler" as opposed to "keep alive strategy". > How did you implement or use idle connection thread? I am using xfire as > my soap framework which uses MultiThreadedConnectionManager internally, > not sure how to tell xfire to use or run "IdleConenction Thread"? > > -----Original Message----- > From: Joan Balaguero [mailto:[email protected]] > Sent: Thursday, March 31, 2011 12:50 PM > To: Vadheraju, Rajeshwar > Cc: 'HttpClient User Discussion' > Subject: RE: Keep alive > > Hi Raj, > > In my case, I'm sending requests to "problematic" servers. By > "problematic" > I mean that they're abruptly closing the http sockets. > > That's why I'm not interested in keeping alive my http connections for > so > many time, because after few seconds (~10 seconds), they will be > probably > closed on the server side. > > In addition, it's also a good idea to implement an "IdleConnection > Handler" > to manage idle connections (and, in the same method, also call to > 'closeExpiredConnections', recommendation made by Oleg to me some months > ago) and also a 'Retry' handler. > > With this combination of strategies, you will minimize connection > problems > (like a 'Connection reset'), but you don't have to expect to solve the > problems completely. Using Http protocol, you ALWAYS will lose requests > due > to connection problems. > > Regards, > Joan. > > -----Mensaje original----- > De: Vadheraju, Rajeshwar [mailto:[email protected]] > Enviado el: jueves, 31 de marzo de 2011 18:19 > Para: HttpClient User Discussion > Asunto: RE: Keep alive > > Hi Joan, > I'm also researching on the same area. Could you please provide some > details why you are implementing keep alive strategy? > In other words, What problems prompted you to implement keep alive > strategy? If you could elaborate on your issue, I could share some of my > experience and research findings. > > Thanks, > Raj > > -----Original Message----- > From: Joan Balaguero [mailto:[email protected]] > Sent: Thursday, March 31, 2011 11:13 AM > To: 'HttpClient User Discussion' > Subject: Keep alive > > Hello Oleg, > > > > I've implemented a Connection Keep Alive strategy in my app, but I'm not > able to see what is the better way to check if it's working ok. Could > you > give any clue about how to do this? > > > > Thanks, > > Joan. > > _____________ > > The information contained in this message is proprietary and/or > confidential. If you are not the intended recipient, please: (i) delete > the > message and all copies; (ii) do not disclose, distribute or use the > message > in any manner; and (iii) notify the sender immediately. In addition, > please > be aware that any message addressed to our domain is subject to > archiving > and review by persons other than the intended recipient. Thank you. > _____________ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > _____________ > > The information contained in this message is proprietary and/or > confidential. If you are not the intended recipient, please: (i) delete the > message and all copies; (ii) do not disclose, distribute or use the message > in any manner; and (iii) notify the sender immediately. In addition, please > be aware that any message addressed to our domain is subject to archiving > and review by persons other than the intended recipient. Thank you. > _____________ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --000e0cd2e44e1410be049fd9eef3-- From [email protected] Fri Apr 01 13:07:24 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36605 invoked from network); 1 Apr 2011 13:07:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Apr 2011 13:07:23 -0000 Received: (qmail 83318 invoked by uid 500); 1 Apr 2011 13:07:23 -0000 Delivered-To: [email protected] Received: (qmail 83277 invoked by uid 500); 1 Apr 2011 13:07:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 83269 invoked by uid 99); 1 Apr 2011 13:07:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2011 13:07:23 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-gy0-f179.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2011 13:07:17 +0000 Received: by gyg8 with SMTP id 8so1278637gyg.10 for <[email protected]>; Fri, 01 Apr 2011 06:06:56 -0700 (PDT) Received: by 161.129.204.104 with SMTP id n12mr4443844ybe.16.1301663215954; Fri, 01 Apr 2011 06:06:55 -0700 (PDT) Received: from lypse.local (c-24-11-171-109.hsd1.mi.comcast.net [161.129.204.104]) by mx.google.com with ESMTPS id t5sm969352ybe.29.2161.129.204.104.06.55 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 01 Apr 2011 06:06:55 -0700 (PDT) Message-ID: <[email protected]> Date: Fri, 01 Apr 2011 09:06:54 -0400 From: Chad La Joie <[email protected]> Organization: Itumi, LLC User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: HttpClient User Discussion <[email protected]> Subject: Bytes Missing from HTTP Response X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I'm experiencing an odd problem with HttpClient 4.1.1. I perform a GET on a document and then use the following code to get the bytes of the response entity (assuming a 200 status code): byte[] responseEntity = EntityUtils.toByteArray(response.getEntity()); The problem I'm having is that this returns 16 fewer bytes than are actually in the document. So far I've checked: - that downloading the file via wget gives me the expected byte account - that the downloaded content is not compressed The document itself has a digital signature over it and this is failing to validate with the content as downloaded by HttpClient, but not with the document downloaded by wget so there is some material difference in the canonical form of the document (i.e., it's not just a lack of a new line at the start/end of the document). Any thoughts? Is EntityUtils.toByteArray not the right method to use to get the complete byte[] of the response entity? Thanks. -- Chad La Joie http://itumi.biz trusted identities, delivered --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 01 13:39:09 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29751 invoked from network); 1 Apr 2011 13:39:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Apr 2011 13:39:09 -0000 Received: (qmail 20664 invoked by uid 500); 1 Apr 2011 13:39:09 -0000 Delivered-To: [email protected] Received: (qmail 20622 invoked by uid 500); 1 Apr 2011 13:39:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 20614 invoked by uid 99); 1 Apr 2011 13:39:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2011 13:39:09 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO ok2cons2.nine.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2011 13:39:00 +0000 Received: from [161.129.204.104] (unknown [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ok2cons2.nine.ch (Postfix) with ESMTPSA id 4A4C8C0E439 for <[email protected]>; Fri, 1 Apr 2011 15:38:40 +0200 (CEST) Subject: Re: Bytes Missing from HTTP Response From: Oleg Kalnichevski <[email protected]> To: HttpClient User Discussion <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain; charset="UTF-8" Date: Fri, 01 Apr 2011 15:38:35 +0200 Message-ID: <1301665115.2995.58.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Fri, 2011-04-01 at 09:06 -0400, Chad La Joie wrote: > I'm experiencing an odd problem with HttpClient 4.1.1. I perform a GET > on a document and then use the following code to get the bytes of the > response entity (assuming a 200 status code): > > byte[] responseEntity = EntityUtils.toByteArray(response.getEntity()); > > The problem I'm having is that this returns 16 fewer bytes than are > actually in the document. So far I've checked: > - that downloading the file via wget gives me the expected byte account > - that the downloaded content is not compressed > > The document itself has a digital signature over it and this is failing > to validate with the content as downloaded by HttpClient, but not with > the document downloaded by wget so there is some material difference in > the canonical form of the document (i.e., it's not just a lack of a new > line at the start/end of the document). > > Any thoughts? Is EntityUtils.toByteArray not the right method to use to > get the complete byte[] of the response entity? > > Thanks. Post a complete wire / context log of the HTTP session generated with HttpClient [1] and define what the expected result should be like (dump of HTTP packets received with wget would be probably the best) Oleg [1] http://hc.apache.org/httpcomponents-client-ga/logging.html --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 01 15:52:04 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89037 invoked from network); 1 Apr 2011 15:52:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Apr 2011 15:52:04 -0000 Received: (qmail 68669 invoked by uid 500); 1 Apr 2011 15:52:03 -0000 Delivered-To: [email protected] Received: (qmail 68639 invoked by uid 500); 1 Apr 2011 15:52:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 68631 invoked by uid 99); 1 Apr 2011 15:52:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2011 15:52:03 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FREEMAIL_FROM,NORMAL_HTTP_TO_IP,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO sam.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2011 15:51:57 +0000 Received: from isper.nabble.com ([161.129.204.104]) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from <[email protected]>) id 1Q5gdL-0002g3-C1 for [email protected]; Fri, 01 Apr 2011 08:51:35 -0700 Message-ID: <[email protected]> Date: Fri, 1 Apr 2011 08:51:35 -0700 (PDT) From: Pololang <[email protected]> To: [email protected] Subject: ContentEncodingHttpClient throws NoHttpResponseException MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org Hi all :-), I'm using HttpClient 4.1.1 with HttpCore 4.1, for a HTTPS request with client certificate stored inside a Java Keystore. The application runs with JBoss 5 and Spring 3. It works on my developpement computer (Windows), but not on my Red Hat Server. It looks like the connection is closed by the server after the GET is sent. When I execute the code inside a standalone jar it works on both systems. When I execute curl request it works on both systems. Logs from Red Hat Server: 2011-03-18 11:06:14,739,DEBUG,[org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager],Get connection: HttpRoute[{tls}->http://161.129.204.104:3128->https://energydatabase.edftrading.com], timeout = 10000 2011-03-18 11:06:14,743,DEBUG,[org.apache.http.impl.conn.tsccm.ConnPoolByRoute],[HttpRoute[{tls}->http://161.129.204.104:3128->https://energydatabase.edftrading.com]] total kept alive: 0, total issued: 0, total allocated: 0 out of 20 2011-03-18 11:06:14,743,DEBUG,[org.apache.http.impl.conn.tsccm.ConnPoolByRoute],No free connections [HttpRoute[{tls}->http://161.129.204.104:3128->https://energydatabase.edftrading.com]][null] 2011-03-18 11:06:14,743,DEBUG,[org.apache.http.impl.conn.tsccm.ConnPoolByRoute],Available capacity: 2 out of 2 [HttpRoute[{tls}->http://161.129.204.104:3128->https://energydatabase.edftrading.com]][null] 2011-03-18 11:06:14,743,DEBUG,[org.apache.http.impl.conn.tsccm.ConnPoolByRoute],Creating new connection [HttpRoute[{tls}->http://161.129.204.104:3128->https://energydatabase.edftrading.com]] 2011-03-18 11:06:14,769,DEBUG,[org.apache.http.impl.conn.DefaultClientConnectionOperator],Connecting to /161.129.204.104:3128 2011-03-18 11:06:14,814,DEBUG,[org.apache.http.impl.conn.DefaultClientConnection],Sending request: CONNECT energydatabase.edftrading.com:443 HTTP/1.1 2011-03-18 11:06:14,815,DEBUG,[org.apache.http.wire],>> "CONNECT energydatabase.edftrading.com:443 HTTP/1.1[\r][\n]" 2011-03-18 11:06:14,818,DEBUG,[org.apache.http.wire],>> "Host: energydatabase.edftrading.com[\r][\n]" 2011-03-18 11:06:14,818,DEBUG,[org.apache.http.wire],>> "Proxy-Connection: Keep-Alive[\r][\n]" 2011-03-18 11:06:14,818,DEBUG,[org.apache.http.wire],>> "Accept-Encoding: gzip,deflate[\r][\n]" 2011-03-18 11:06:14,818,DEBUG,[org.apache.http.wire],>> "[\r][\n]" 2011-03-18 11:06:14,818,DEBUG,[org.apache.http.headers],>> CONNECT energydatabase.edftrading.com:443 HTTP/1.1 2011-03-18 11:06:14,819,DEBUG,[org.apache.http.headers],>> Host: energydatabase.edftrading.com 2011-03-18 11:06:14,819,DEBUG,[org.apache.http.headers],>> Proxy-Connection: Keep-Alive 2011-03-18 11:06:14,819,DEBUG,[org.apache.http.headers],>> Accept-Encoding: gzip,deflate 2011-03-18 11:06:14,879,DEBUG,[org.apache.http.wire],<< "HTTP/1.1 200 Connection established[\r][\n]" 2011-03-18 11:06:14,884,DEBUG,[org.apache.http.wire],<< "[\r][\n]" 2011-03-18 11:06:14,884,DEBUG,[org.apache.http.impl.conn.DefaultClientConnection],Receiving response: HTTP/1.1 200 Connection established 2011-03-18 11:06:14,884,DEBUG,[org.apache.http.headers],<< HTTP/1.1 200 Connection established 2011-03-18 11:06:14,889,DEBUG,[org.apache.http.impl.client.ContentEncodingHttpClient],Tunnel to target created. 2011-03-18 11:06:14,948,DEBUG,[org.apache.http.client.protocol.RequestAddCookies],CookieSpec selected: best-match 2011-03-18 11:06:14,976,DEBUG,[org.apache.http.impl.client.ContentEncodingHttpClient],Attempt 1 to execute request 2011-03-18 11:06:14,976,DEBUG,[org.apache.http.impl.conn.DefaultClientConnection],Sending request: GET /prices/pricesQueryHourly.asp?title=Powernext+Power+Hourly+Price+in+Euros+per+MWH&units=EUR%2FMWh&chain=POWERNEXT&column=PRICE&CHANGE=N&firsthour=00&lasthour=23&fill=NO&fillvalue=&weekend=Y&groupby=&agg=&decimals=3&SORT=A&OUTPUT=WWW&fromdate=01%2F03%2F2011&todate=01%2F03%2F2011 HTTP/1.1 2011-03-18 11:06:14,977,DEBUG,[org.apache.http.wire],>> "GET /prices/pricesQueryHourly.asp?title=Powernext+Power+Hourly+Price+in+Euros+per+MWH&units=EUR%2FMWh&chain=POWERNEXT&column=PRICE&CHANGE=N&firsthour=00&lasthour=23&fill=NO&fillvalue=&weekend=Y&groupby=&agg=&decimals=3&SORT=A&OUTPUT=WWW&fromdate=01%2F03%2F2011&todate=01%2F03%2F2011 HTTP/1.1[\r][\n]" 2011-03-18 11:06:14,977,DEBUG,[org.apache.http.wire],>> "Host: energydatabase.edftrading.com[\r][\n]" 2011-03-18 11:06:14,977,DEBUG,[org.apache.http.wire],>> "Connection: Keep-Alive[\r][\n]" 2011-03-18 11:06:14,977,DEBUG,[org.apache.http.wire],>> "Accept-Encoding: gzip,deflate[\r][\n]" 2011-03-18 11:06:14,977,DEBUG,[org.apache.http.wire],>> "[\r][\n]" 2011-03-18 11:06:14,977,DEBUG,[org.apache.http.headers],>> GET /prices/pricesQueryHourly.asp?title=Powernext+Power+Hourly+Price+in+Euros+per+MWH&units=EUR%2FMWh&chain=POWERNEXT&column=PRICE&CHANGE=N&firsthour=00&lasthour=23&fill=NO&fillvalue=&weekend=Y&groupby=&agg=&decimals=3&SORT=A&OUTPUT=WWW&fromdate=01%2F03%2F2011&todate=01%2F03%2F2011 HTTP/1.1 2011-03-18 11:06:14,977,DEBUG,[org.apache.http.headers],>> Host: energydatabase.edftrading.com 2011-03-18 11:06:14,977,DEBUG,[org.apache.http.headers],>> Connection: Keep-Alive 2011-03-18 11:06:14,978,DEBUG,[org.apache.http.headers],>> Accept-Encoding: gzip,deflate 2011-03-18 11:06:15,023,DEBUG,[org.apache.http.impl.conn.DefaultClientConnection],Connection closed 2011-03-18 11:06:15,023,DEBUG,[org.apache.http.impl.client.ContentEncodingHttpClient],Closing the connection. 2011-03-18 11:06:15,023,DEBUG,[org.apache.http.impl.conn.DefaultClientConnection],Connection closed 2011-03-18 11:06:15,024,INFO,[org.apache.http.impl.client.ContentEncodingHttpClient] caught when processing request: The target server failed to respond 2011-03-18 11:06:15,024,DEBUG,[org.apache.http.impl.client.ContentEncodingHttpClient],The target server failed to respond org.apache.http.NoHttpResponseException: The target server failed to respond at org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:101) at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:252) at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:281) at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:247) at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:219) at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:298) at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125) at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:622) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:454) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:732) at com.edf.marketlab.services.impl.WebDataRetrieverImpl.getResponseStream(WebDataRetrieverImpl.java:153) at com.edf.marketlab.web.action.browser.RemoteBDBean.webQueryListener(RemoteBDBean.java:1563) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56) at com.edf.marketlab.web.interceptor.ExceptionInterceptor.aroundInvoke(ExceptionInterceptor.java:35) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) at org.jboss.seam.core.SynchronizationInterceptor.aroundInvoke(SynchronizationInterceptor.java:32) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107) at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185) at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103) at com.edf.marketlab.web.action.browser.RemoteBDBean_$$_javassist_seam_11.webQueryListener(RemoteBDBean_$$_javassist_seam_11.java) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.el.parser.AstValue.invoke(AstValue.java:170) at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276) at org.apache.jasper.el.JspMethodExpression.invoke(JspMethodExpression.java:68) at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1303) at oracle.adf.view.rich.component.UIXDialog.broadcast(UIXDialog.java:97) at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148) at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:812) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:292) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420) at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at com.edf.marketlab.web.filter.SessionActivityFilter.doFilter(SessionActivityFilter.java:66) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:42) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:905) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:592) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:2036) at java.lang.Thread.run(Thread.java:662) Logs from my computer : 2011-03-18 12:10:38,271,DEBUG,[org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager],Get connection: HttpRoute[{tls}->http://161.129.204.104:3128->https://energydatabase.edftrading.com], timeout = 10000 2011-03-18 12:10:38,287,DEBUG,[org.apache.http.impl.conn.tsccm.ConnPoolByRoute],[HttpRoute[{tls}->http://161.129.204.104:3128->https://energydatabase.edftrading.com]] total kept alive: 0, total issued: 0, total allocated: 0 out of 20 2011-03-18 12:10:38,287,DEBUG,[org.apache.http.impl.conn.tsccm.ConnPoolByRoute],No free connections [HttpRoute[{tls}->http://161.129.204.104:3128->https://energydatabase.edftrading.com]][null] 2011-03-18 12:10:38,287,DEBUG,[org.apache.http.impl.conn.tsccm.ConnPoolByRoute],Available capacity: 2 out of 2 [HttpRoute[{tls}->http://161.129.204.104:3128->https://energydatabase.edftrading.com]][null] 2011-03-18 12:10:38,287,DEBUG,[org.apache.http.impl.conn.tsccm.ConnPoolByRoute],Creating new connection [HttpRoute[{tls}->http://161.129.204.104:3128->https://energydatabase.edftrading.com]] 2011-03-18 12:10:41,911,DEBUG,[org.apache.http.impl.conn.DefaultClientConnectionOperator],Connecting to /161.129.204.104:3128 2011-03-18 12:10:41,989,DEBUG,[org.apache.http.impl.conn.DefaultClientConnection],Sending request: CONNECT energydatabase.edftrading.com:443 HTTP/1.1 2011-03-18 12:10:41,989,DEBUG,[org.apache.http.wire],>> "CONNECT energydatabase.edftrading.com:443 HTTP/1.1[\r][\n]" 2011-03-18 12:10:42,005,DEBUG,[org.apache.http.wire],>> "Host: energydatabase.edftrading.com[\r][\n]" 2011-03-18 12:10:42,005,DEBUG,[org.apache.http.wire],>> "Proxy-Connection: Keep-Alive[\r][\n]" 2011-03-18 12:10:42,005,DEBUG,[org.apache.http.wire],>> "Accept-Encoding: gzip,deflate[\r][\n]" 2011-03-18 12:10:42,005,DEBUG,[org.apache.http.wire],>> "[\r][\n]" 2011-03-18 12:10:42,005,DEBUG,[org.apache.http.headers],>> CONNECT energydatabase.edftrading.com:443 HTTP/1.1 2011-03-18 12:10:42,005,DEBUG,[org.apache.http.headers],>> Host: energydatabase.edftrading.com 2011-03-18 12:10:42,005,DEBUG,[org.apache.http.headers],>> Proxy-Connection: Keep-Alive 2011-03-18 12:10:42,005,DEBUG,[org.apache.http.headers],>> Accept-Encoding: gzip,deflate 2011-03-18 12:10:53,830,DEBUG,[org.apache.http.wire],<< "HTTP/1.1 200 Connection established[\r][\n]" 2011-03-18 12:10:53,830,DEBUG,[org.apache.http.wire],<< "[\r][\n]" 2011-03-18 12:10:53,846,DEBUG,[org.apache.http.impl.conn.DefaultClientConnection],Receiving response: HTTP/1.1 200 Connection established 2011-03-18 12:10:53,846,DEBUG,[org.apache.http.headers],<< HTTP/1.1 200 Connection established 2011-03-18 12:10:53,846,DEBUG,[org.apache.http.impl.client.ContentEncodingHttpClient],Tunnel to target created. 2011-03-18 12:10:53,908,DEBUG,[org.apache.http.client.protocol.RequestAddCookies],CookieSpec selected: best-match 2011-03-18 12:10:59,439,DEBUG,[org.apache.http.impl.client.ContentEncodingHttpClient],Attempt 1 to execute request 2011-03-18 12:11:02,985,DEBUG,[org.apache.http.impl.conn.DefaultClientConnection],Sending request: GET /prices/pricesQueryHourly.asp?title=Powernext+Power+Hourly+Price+in+Euros+per+MWH&units=EUR%2FMWh&chain=POWERNEXT&column=PRICE&CHANGE=N&firsthour=00&lasthour=23&fill=NO&fillvalue=&weekend=Y&groupby=&agg=&decimals=3&SORT=A&OUTPUT=WWW&fromdate=01%2F03%2F2011&todate=01%2F03%2F2011 HTTP/1.1 2011-03-18 12:11:02,985,DEBUG,[org.apache.http.wire],>> "GET /prices/pricesQueryHourly.asp?title=Powernext+Power+Hourly+Price+in+Euros+per+MWH&units=EUR%2FMWh&chain=POWERNEXT&column=PRICE&CHANGE=N&firsthour=00&lasthour=23&fill=NO&fillvalue=&weekend=Y&groupby=&agg=&decimals=3&SORT=A&OUTPUT=WWW&fromdate=01%2F03%2F2011&todate=01%2F03%2F2011 HTTP/1.1[\r][\n]" 2011-03-18 12:11:02,985,DEBUG,[org.apache.http.wire],>> "Host: energydatabase.edftrading.com[\r][\n]" 2011-03-18 12:11:02,985,DEBUG,[org.apache.http.wire],>> "Connection: Keep-Alive[\r][\n]" 2011-03-18 12:11:02,985,DEBUG,[org.apache.http.wire],>> "Accept-Encoding: gzip,deflate[\r][\n]" 2011-03-18 12:11:02,985,DEBUG,[org.apache.http.wire],>> "[\r][\n]" 2011-03-18 12:11:02,985,DEBUG,[org.apache.http.headers],>> GET /prices/pricesQueryHourly.asp?title=Powernext+Power+Hourly+Price+in+Euros+per+MWH&units=EUR%2FMWh&chain=POWERNEXT&column=PRICE&CHANGE=N&firsthour=00&lasthour=23&fill=NO&fillvalue=&weekend=Y&groupby=&agg=&decimals=3&SORT=A&OUTPUT=WWW&fromdate=01%2F03%2F2011&todate=01%2F03%2F2011 HTTP/1.1 2011-03-18 12:11:02,985,DEBUG,[org.apache.http.headers],>> Host: energydatabase.edftrading.com 2011-03-18 12:11:02,985,DEBUG,[org.apache.http.headers],>> Connection: Keep-Alive 2011-03-18 12:11:02,985,DEBUG,[org.apache.http.headers],>> Accept-Encoding: gzip,deflate 2011-03-18 12:11:04,562,DEBUG,[org.apache.http.wire],<< "HTTP/1.1 200 OK[\r][\n]" 2011-03-18 12:11:04,562,DEBUG,[org.apache.http.wire],<< "Cache-Control: private[\r][\n]" 2011-03-18 12:11:04,562,DEBUG,[org.apache.http.wire],<< "Content-Length: 4366[\r][\n]" 2011-03-18 12:11:04,562,DEBUG,[org.apache.http.wire],<< "Content-Type: text/html[\r][\n]" 2011-03-18 12:11:04,562,DEBUG,[org.apache.http.wire],<< "Server: Microsoft-IIS/7.0[\r][\n]" 2011-03-18 12:11:04,562,DEBUG,[org.apache.http.wire],<< "Set-Cookie: ASPSESSIONIDAGRCQSBS=HNPDMMJBDCHIOCKNDAGKDABL; secure; path=/[\r][\n]" 2011-03-18 12:11:04,562,DEBUG,[org.apache.http.wire],<< "X-Powered-By: ASP.NET[\r][\n]" 2011-03-18 12:11:04,562,DEBUG,[org.apache.http.wire],<< "Date: Fri, 18 Mar 2011 11:12:45 GMT[\r][\n]" 2011-03-18 12:11:04,562,DEBUG,[org.apache.http.wire],<< "[\r][\n]" 2011-03-18 12:11:04,562,DEBUG,[org.apache.http.impl.conn.DefaultClientConnection],Receiving response: HTTP/1.1 200 OK 2011-03-18 12:11:04,562,DEBUG,[org.apache.http.headers],<< HTTP/1.1 200 OK 2011-03-18 12:11:04,562,DEBUG,[org.apache.http.headers],<< Cache-Control: private 2011-03-18 12:11:04,562,DEBUG,[org.apache.http.headers],<< Content-Length: 4366 2011-03-18 12:11:04,562,DEBUG,[org.apache.http.headers],<< Content-Type: text/html 2011-03-18 12:11:04,562,DEBUG,[org.apache.http.headers],<< Server: Microsoft-IIS/7.0 2011-03-18 12:11:04,562,DEBUG,[org.apache.http.headers],<< Set-Cookie: ASPSESSIONIDAGRCQSBS=HNPDMMJBDCHIOCKNDAGKDABL; secure; path=/ 2011-03-18 12:11:04,562,DEBUG,[org.apache.http.headers],<< X-Powered-By: ASP.NET 2011-03-18 12:11:04,562,DEBUG,[org.apache.http.headers],<< Date: Fri, 18 Mar 2011 11:12:45 GMT 2011-03-18 12:11:04,594,DEBUG,[org.apache.http.client.protocol.ResponseProcessCookies],Cookie accepted: "[version: 0][name: ASPSESSIONIDAGRCQSBS][value: HNPDMMJBDCHIOCKNDAGKDABL][domain: energydatabase.edftrading.com][path: /][expiry: null]". 2011-03-18 12:11:04,594,DEBUG,[org.apache.http.impl.client.ContentEncodingHttpClient],Connection can be kept alive indefinitely 2011-03-18 12:11:04,625,DEBUG,[org.apache.http.wire],<< "[\r][\n]" 2011-03-18 12:11:04,625,DEBUG,[org.apache.http.wire],<< "[\r][\n]" 2011-03-18 12:11:04,625,DEBUG,[org.apache.http.wire],<< "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">[\r][\n]" 2011-03-18 12:11:04,625,DEBUG,[org.apache.http.wire],<< "<HTML>[\r][\n]" 2011-03-18 12:11:04,625,DEBUG,[org.apache.http.wire],<< "<HEAD>[\r][\n]" 2011-03-18 12:11:04,625,DEBUG,[org.apache.http.wire],<< " <TITLE>[\r][\n]" 2011-03-18 12:11:04,625,DEBUG,[org.apache.http.wire],<< "Powernext Power Hourly Price in Euros per MWH [\r][\n]" 2011-03-18 12:11:04,625,DEBUG,[org.apache.http.wire],<< " </TITLE>[\r][\n]" 2011-03-18 12:11:04,625,DEBUG,[org.apache.http.wire],<< "</HEAD>[\r][\n]" ... 2011-03-18 12:11:04,641,DEBUG,[org.apache.http.wire],<< "</BODY>[\r][\n]" 2011-03-18 12:11:04,641,DEBUG,[org.apache.http.wire],<< "</HTML>[\r][\n]" 2011-03-18 12:11:04,641,DEBUG,[org.apache.http.wire],<< "[\r][\n]" 2011-03-18 12:11:04,672,DEBUG,[org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager],Released connection is reusable. 2011-03-18 12:11:04,672,DEBUG,[org.apache.http.impl.conn.tsccm.ConnPoolByRoute],Releasing connection [HttpRoute[{tls}->http://161.129.204.104:3128->https://energydatabase.edftrading.com]][[email protected], CN=Jose Manuel Estevez, O=EDF, L=Paris] 2011-03-18 12:11:04,672,DEBUG,[org.apache.http.impl.conn.tsccm.ConnPoolByRoute],Pooling connection [HttpRoute[{tls}->http://161.129.204.104:3128->https://energydatabase.edftrading.com]][[email protected], CN=Jose Manuel Estevez, O=EDF, L=Paris]; keep alive indefinitely 2011-03-18 12:11:04,672,DEBUG,[org.apache.http.impl.conn.tsccm.ConnPoolByRoute],Notifying no-one, there are no waiting threads Source : HttpParams params = new SyncBasicHttpParams(); HttpConnectionParams.setConnectionTimeout(params, 10000); HttpProtocolParams.setVersion(params, HttpVersion.HTTP_1_1); SchemeRegistry schemeRegistry = new SchemeRegistry(); schemeRegistry.register(new Scheme("http", 80, PlainSocketFactory.getSocketFactory())); schemeRegistry.register(new Scheme("https", 443, SSLSocketFactory.getSocketFactory())); ClientConnectionManager cm = new ThreadSafeClientConnManager(schemeRegistry); client = new ContentEncodingHttpClient(cm, params); proxySelector = new MklProxySelector(); ProxySelectorRoutePlanner routePlanner = new ProxySelectorRoutePlanner(client.getConnectionManager().getSchemeRegistry(), proxySelector); client.setRoutePlanner(routePlanner); TrustStrategy trustStrategy = new TrustStrategy() { @Override public boolean isTrusted(X509Certificate[] arg0, String arg1) throws CertificateException { return true; } }; SchemeSocketFactory socketFactory = new SSLSocketFactory(null, getUserKeyStore(), USER_KEYSTORE_PASSPHRASE, null, null, trustStrategy, new BrowserCompatHostnameVerifier()); Scheme sch = new Scheme("https", 443, socketFactory); client.getConnectionManager().getSchemeRegistry().register(sch); HttpGet httpGet = new HttpGet(new URI("https://energydatabase.edftrading.com/prices/pricesQueryHourly.asp?title=Powernext+Power+Hourly+Price+in+Euros+per+MWH&units=EUR%2FMWh&chain=POWERNEXT&column=PRICE&CHANGE=N&firsthour=00&lasthour=23&fill=NO&fillvalue=&weekend=Y&groupby=&agg=&decimals=3&SORT=A&OUTPUT=WWW&fromdate=01%2F03%2F2011&todate=02%2F03%2F2011")); HttpResponse response = client.execute(httpGet); public class MklProxySelector extends ProxySelector { private List<Proxy> proxies; public MklProxySelector() { super(); proxies = new ArrayList<Proxy>(); proxies.add(new Proxy(Proxy.Type.HTTP, new InetSocketAddress(AppUtils.getAppUtils().getProperty("WEB_PROXY_HOST"), Integer.parseInt(AppUtils.getAppUtils().getProperty("WEB_PROXY_PORT"))))); proxies.add(new Proxy(Proxy.Type.HTTP, new InetSocketAddress(AppUtils.getAppUtils().getProperty("WEB_PROXY_BACKUP_HOST"), Integer.parseInt(AppUtils.getAppUtils().getProperty("WEB_PROXY_BACKUP_PORT"))))); } @Override public void connectFailed(URI uri, SocketAddress sa, IOException ioe) { } @Override public List<Proxy> select(URI uri) { List<Proxy> result = new ArrayList<Proxy>(); if(uri.getScheme().equalsIgnoreCase("http") || uri.getScheme().equalsIgnoreCase("https")) { result.addAll(proxies); } else { result.add(Proxy.NO_PROXY); } return result; } public void cycle() { if(proxies != null && proxies.size() > 1) { proxies.add(proxies.remove(0)); } } public Proxy getCurrentProxy() { return proxies.get(0); } } -- View this message in context: http://old.nabble.com/ContentEncodingHttpClient-throws-NoHttpResponseException-tp31296663p31296663.html Sent from the HttpClient-User mailing list [email protected]. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 01 18:41:30 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54810 invoked from network); 1 Apr 2011 18:41:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Apr 2011 18:41:30 -0000 Received: (qmail 83371 invoked by uid 500); 1 Apr 2011 18:41:29 -0000 Delivered-To: [email protected] Received: (qmail 83349 invoked by uid 500); 1 Apr 2011 18:41:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 83341 invoked by uid 99); 1 Apr 2011 18:41:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2011 18:41:29 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mx1.fisglobal.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2011 18:41:22 +0000 Received: from sbhfislrext01.fnfis.com ([161.129.204.104]) by SCSFISLTC02 (8.14.3/8.14.3) with ESMTP id p31If1Bi031364 for <[email protected]>; Fri, 1 Apr 2011 13:41:01 -0500 Received: from sbhfisltcgw02.FNFIS.COM (Not Verified[161.129.204.104]) by sbhfislrext01.fnfis.com with MailMarshal (v6,5,4,7535) id <B4d961c360001>; Fri, 01 Apr 2011 13:40:54 -0500 Received: from CMBFISLTC10.FNFIS.COM ([161.129.204.104]) by sbhfisltcgw02.FNFIS.COM with Microsoft SMTPSVC(600)828-8265); Fri, 1 Apr 2011 13:41:01 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Keep alive Date: Fri, 1 Apr 2011 13:41:00 -0500 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Keep alive Thread-Index: AcvwYjQQwobsuu2BTTC0FY4RziDMGwAOYTdA References: <[email protected]><[email protected]> <[email protected]> From: "Vadheraju, Rajeshwar" <[email protected]> To: "HttpClient User Discussion" <[email protected]> X-OriginalArrivalTime: 01 Apr 2011 18:41:01.0205 (UTC) FILETIME=[592FA450:01CBF09C] X-Virus-Checked: Checked by ClamAV on apache.org Hi Gurmeet, The MultiThreadedConenctionManager is invoked/created by Xfire Client, then how would I indicate Xfire Client to use/invoke IdleConnectionTimeoutThread? -----Original Message----- From: Gurmeet Budhraja [mailto:[email protected]]=20 Sent: Friday, April 01, 2011 6:44 AM To: HttpClient User Discussion Subject: Re: Keep alive You can use IdleConnectionTimeoutThread for the same :) On Fri, Apr 1, 2011 at 12:41 AM, Vadheraju, Rajeshwar < [email protected]> wrote: > Yes, agreed. I think it is good idea to implement "retry" and "idle > connection handler" as opposed to "keep alive strategy". > How did you implement or use idle connection thread? I am using xfire as > my soap framework which uses MultiThreadedConnectionManager internally, > not sure how to tell xfire to use or run "IdleConenction Thread"? > > -----Original Message----- > From: Joan Balaguero [mailto:[email protected]] > Sent: Thursday, March 31, 2011 12:50 PM > To: Vadheraju, Rajeshwar > Cc: 'HttpClient User Discussion' > Subject: RE: Keep alive > > Hi Raj, > > In my case, I'm sending requests to "problematic" servers. By > "problematic" > I mean that they're abruptly closing the http sockets. > > That's why I'm not interested in keeping alive my http connections for > so > many time, because after few seconds (~10 seconds), they will be > probably > closed on the server side. > > In addition, it's also a good idea to implement an "IdleConnection > Handler" > to manage idle connections (and, in the same method, also call to > 'closeExpiredConnections', recommendation made by Oleg to me some months > ago) and also a 'Retry' handler. > > With this combination of strategies, you will minimize connection > problems > (like a 'Connection reset'), but you don't have to expect to solve the > problems completely. Using Http protocol, you ALWAYS will lose requests > due > to connection problems. > > Regards, > Joan. > > -----Mensaje original----- > De: Vadheraju, Rajeshwar [mailto:[email protected]] > Enviado el: jueves, 31 de marzo de 2011 18:19 > Para: HttpClient User Discussion > Asunto: RE: Keep alive > > Hi Joan, > I'm also researching on the same area. Could you please provide some > details why you are implementing keep alive strategy? > In other words, What problems prompted you to implement keep alive > strategy? If you could elaborate on your issue, I could share some of my > experience and research findings. > > Thanks, > Raj > > -----Original Message----- > From: Joan Balaguero [mailto:[email protected]] > Sent: Thursday, March 31, 2011 11:13 AM > To: 'HttpClient User Discussion' > Subject: Keep alive > > Hello Oleg, > > > > I've implemented a Connection Keep Alive strategy in my app, but I'm not > able to see what is the better way to check if it's working ok. Could > you > give any clue about how to do this? > > > > Thanks, > > Joan. > > _____________ > > The information contained in this message is proprietary and/or > confidential. If you are not the intended recipient, please: (i) delete > the > message and all copies; (ii) do not disclose, distribute or use the > message > in any manner; and (iii) notify the sender immediately. In addition, > please > be aware that any message addressed to our domain is subject to > archiving > and review by persons other than the intended recipient. Thank you. > _____________ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > _____________ > > The information contained in this message is proprietary and/or > confidential. If you are not the intended recipient, please: (i) delete the > message and all copies; (ii) do not disclose, distribute or use the message > in any manner; and (iii) notify the sender immediately. In addition, please > be aware that any message addressed to our domain is subject to archiving > and review by persons other than the intended recipient. Thank you. > _____________ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. _____________ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 01 22:14:35 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41852 invoked from network); 1 Apr 2011 22:14:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Apr 2011 22:14:35 -0000 Received: (qmail 28623 invoked by uid 500); 1 Apr 2011 22:14:34 -0000 Delivered-To: [email protected] Received: (qmail 28519 invoked by uid 500); 1 Apr 2011 22:14:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 28511 invoked by uid 99); 1 Apr 2011 22:14:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2011 22:14:34 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-gy0-f179.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2011 22:14:28 +0000 Received: by gyg8 with SMTP id 8so1466166gyg.10 for <[email protected]>; Fri, 01 Apr 2011 15:14:07 -0700 (PDT) Received: by 161.129.204.104 with SMTP id x44mr379698yhm.83.1301696047676; Fri, 01 Apr 2011 15:14:07 -0700 (PDT) Received: from lypse.local (c-24-11-171-109.hsd1.mi.comcast.net [161.129.204.104]) by mx.google.com with ESMTPS id h41sm1308660yhm.66.2161.129.204.104.14.06 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 01 Apr 2011 15:14:06 -0700 (PDT) Message-ID: <[email protected]> Date: Fri, 01 Apr 2011 18:14:05 -0400 From: Chad La Joie <[email protected]> Organization: Itumi, LLC User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: [email protected] Subject: Re: Bytes Missing from HTTP Response References: <[email protected]> <1301665115.2995.58.camel@ubuntu> In-Reply-To: <1301665115.2995.58.camel@ubuntu> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Here you go: http://shibboleth.net/dumps.tgz I found a much smaller document than the one I was initially testing with. It's off by one byte. On 4/1/11 9:38 AM, Oleg Kalnichevski wrote: > On Fri, 2011-04-01 at 09:06 -0400, Chad La Joie wrote: >> I'm experiencing an odd problem with HttpClient 4.1.1. I perform a GET >> on a document and then use the following code to get the bytes of the >> response entity (assuming a 200 status code): >> >> byte[] responseEntity = EntityUtils.toByteArray(response.getEntity()); >> >> The problem I'm having is that this returns 16 fewer bytes than are >> actually in the document. So far I've checked: >> - that downloading the file via wget gives me the expected byte account >> - that the downloaded content is not compressed >> >> The document itself has a digital signature over it and this is failing >> to validate with the content as downloaded by HttpClient, but not with >> the document downloaded by wget so there is some material difference in >> the canonical form of the document (i.e., it's not just a lack of a new >> line at the start/end of the document). >> >> Any thoughts? Is EntityUtils.toByteArray not the right method to use to >> get the complete byte[] of the response entity? >> >> Thanks. > > Post a complete wire / context log of the HTTP session generated with > HttpClient [1] and define what the expected result should be like (dump > of HTTP packets received with wget would be probably the best) > > Oleg > > [1] http://hc.apache.org/httpcomponents-client-ga/logging.html > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Chad La Joie http://itumi.biz trusted identities, delivered --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 02 09:37:07 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 43867 invoked from network); 2 Apr 2011 09:37:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Apr 2011 09:37:07 -0000 Received: (qmail 63720 invoked by uid 500); 2 Apr 2011 09:37:06 -0000 Delivered-To: [email protected] Received: (qmail 63658 invoked by uid 500); 2 Apr 2011 09:37:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 63650 invoked by uid 99); 2 Apr 2011 09:37:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Apr 2011 09:37:05 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO ok2cons2.nine.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Apr 2011 09:36:57 +0000 Received: from [161.129.204.104] (600)828-8265.dclient.hispeed.ch [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ok2cons2.nine.ch (Postfix) with ESMTPSA id 618DBC0E42B for <[email protected]>; Sat, 2 Apr 2011 11:36:37 +0200 (CEST) Subject: Re: ContentEncodingHttpClient throws NoHttpResponseException From: Oleg Kalnichevski <[email protected]> To: HttpClient User Discussion <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain; charset="UTF-8" Date: Sat, 02 Apr 2011 11:36:44 +0200 Message-ID: <1301737004.1959.4.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Fri, 2011-04-01 at 08:51 -0700, Pololang wrote: > Hi all :-), > > I'm using HttpClient 4.1.1 with HttpCore 4.1, for a HTTPS request with > client certificate stored inside a Java Keystore. > The application runs with JBoss 5 and Spring 3. > It works on my developpement computer (Windows), but not on my Red Hat > Server. > It looks like the connection is closed by the server after the GET is sent. > > When I execute the code inside a standalone jar it works on both systems. > When I execute curl request it works on both systems. > > > Logs from Red Hat Server: ... > 2011-03-18 > 11:06:15,024,DEBUG,[org.apache.http.impl.client.ContentEncodingHttpClient],The > target server failed to respond > org.apache.http.NoHttpResponseException: The target server failed to > respond > This can be basically anything: SSL problem, server side bug, little green men from Mars hiding in your server room. There is just no way to tell for sure given that the server simply dropped connection instead of returning a meaningful error code. At any rate this does not look like a problem with HttpClient Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 02 10:05:39 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41664 invoked from network); 2 Apr 2011 10:05:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Apr 2011 10:05:39 -0000 Received: (qmail 73100 invoked by uid 500); 2 Apr 2011 10:05:39 -0000 Delivered-To: [email protected] Received: (qmail 73065 invoked by uid 500); 2 Apr 2011 10:05:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 73057 invoked by uid 99); 2 Apr 2011 10:05:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Apr 2011 10:05:39 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO ok2cons2.nine.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Apr 2011 10:05:31 +0000 Received: from [161.129.204.104] (600)828-8265.dclient.hispeed.ch [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ok2cons2.nine.ch (Postfix) with ESMTPSA id 077FFC0E428 for <[email protected]>; Sat, 2 Apr 2011 12:05:11 +0200 (CEST) Subject: Re: Bytes Missing from HTTP Response From: Oleg Kalnichevski <[email protected]> To: HttpClient User Discussion <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <1301665115.2995.58.camel@ubuntu> <[email protected]> Content-Type: text/plain; charset="UTF-8" Date: Sat, 02 Apr 2011 12:05:18 +0200 Message-ID: <1301738718.1959.23.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Fri, 2011-04-01 at 18:14 -0400, Chad La Joie wrote: > Here you go: > http://shibboleth.net/dumps.tgz > > I found a much smaller document than the one I was initially testing > with. It's off by one byte. > > On 4/1/11 9:38 AM, Oleg Kalnichevski wrote: > > On Fri, 2011-04-01 at 09:06 -0400, Chad La Joie wrote: > >> I'm experiencing an odd problem with HttpClient 4.1.1. I perform a GET > >> on a document and then use the following code to get the bytes of the > >> response entity (assuming a 200 status code): > >> > >> byte[] responseEntity = EntityUtils.toByteArray(response.getEntity()); > >> > >> The problem I'm having is that this returns 16 fewer bytes than are > >> actually in the document. So far I've checked: > >> - that downloading the file via wget gives me the expected byte account > >> - that the downloaded content is not compressed > >> > >> The document itself has a digital signature over it and this is failing > >> to validate with the content as downloaded by HttpClient, but not with > >> the document downloaded by wget so there is some material difference in > >> the canonical form of the document (i.e., it's not just a lack of a new > >> line at the start/end of the document). > >> > >> Any thoughts? Is EntityUtils.toByteArray not the right method to use to > >> get the complete byte[] of the response entity? > >> > >> Thanks. > > This is a problem with content decoding. << "HTTP/1.1 200 OK[\r][\n]" << "Date: Fri, 01 Apr 2011 14:14:28 GMT[\r][\n]" << "Server: Apache/2.2.3 (Unix) mod_ssl/2.2.3 OpenSSL/0.9.7d[\r][\n]" << "Last-Modified: Thu, 31 Mar 2011 17:00:05 GMT[\r][\n]" << "ETag: "4d0e-39932f40"[\r][\n]" << "Accept-Ranges: bytes[\r][\n]" << "Content-Length: 19726[\r][\n]" << "Keep-Alive: timeout=5, max=99[\r][\n]" << "Connection: Keep-Alive[\r][\n]" << "Content-Type: application/xml[\r][\n]" << "[\r][\n]" << "<?xml version="1.0" encoding="UTF-8"?><!--[\n]" The response content is clearly UTF-8 encoded. However the Content-Type header does not specify a charset. Per HTTP specification if content charset is not explicitly set in the Content-Type content charset is assumed to be ISO-8859-1 Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 02 10:11:16 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42313 invoked from network); 2 Apr 2011 10:11:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Apr 2011 10:11:16 -0000 Received: (qmail 75191 invoked by uid 500); 2 Apr 2011 10:11:16 -0000 Delivered-To: [email protected] Received: (qmail 75164 invoked by uid 500); 2 Apr 2011 10:11:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 75156 invoked by uid 99); 2 Apr 2011 10:11:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Apr 2011 10:11:16 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-iy0-f179.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Apr 2011 10:11:08 +0000 Received: by iym7 with SMTP id 7so4344777iym.10 for <[email protected]>; Sat, 02 Apr 2011 03:10:47 -0700 (PDT) Received: by 161.129.204.104 with SMTP id v10mr2799177ics.519.1301739046996; Sat, 02 Apr 2011 03:10:46 -0700 (PDT) Received: from lypse.local (c-24-11-171-109.hsd1.mi.comcast.net [161.129.204.104]) by mx.google.com with ESMTPS id vr5sm1918446icb.0.2161.129.204.104.10.45 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 02 Apr 2011 03:10:45 -0700 (PDT) Message-ID: <[email protected]> Date: Sat, 02 Apr 2011 06:10:44 -0400 From: Chad La Joie <[email protected]> Organization: Itumi, LLC User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: HttpClient User Discussion <[email protected]> Subject: Re: Bytes Missing from HTTP Response References: <[email protected]> <1301665115.2995.58.camel@ubuntu> <[email protected]> <1301738718.1959.23.camel@ubuntu> In-Reply-To: <1301738718.1959.23.camel@ubuntu> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Okay, that makes sense. To test this, is there a way I can force the content type on the client side, prior to requesting the response entity, via the response object? On 4/2/11 6:05 AM, Oleg Kalnichevski wrote: > This is a problem with content decoding. > > << "HTTP/1.1 200 OK[\r][\n]" > << "Date: Fri, 01 Apr 2011 14:14:28 GMT[\r][\n]" > << "Server: Apache/2.2.3 (Unix) mod_ssl/2.2.3 OpenSSL/0.9.7d[\r][\n]" > << "Last-Modified: Thu, 31 Mar 2011 17:00:05 GMT[\r][\n]" > << "ETag: "4d0e-39932f40"[\r][\n]" > << "Accept-Ranges: bytes[\r][\n]" > << "Content-Length: 19726[\r][\n]" > << "Keep-Alive: timeout=5, max=99[\r][\n]" > << "Connection: Keep-Alive[\r][\n]" > << "Content-Type: application/xml[\r][\n]" > << "[\r][\n]" > << "<?xml version="1.0" encoding="UTF-8"?><!--[\n]" > > The response content is clearly UTF-8 encoded. However the Content-Type > header does not specify a charset. Per HTTP specification if content > charset is not explicitly set in the Content-Type content charset is > assumed to be ISO-8859-1 -- Chad La Joie http://itumi.biz trusted identities, delivered --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 02 10:30:13 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89162 invoked from network); 2 Apr 2011 10:30:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Apr 2011 10:30:13 -0000 Received: (qmail 88218 invoked by uid 500); 2 Apr 2011 10:30:13 -0000 Delivered-To: [email protected] Received: (qmail 88184 invoked by uid 500); 2 Apr 2011 10:30:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 88176 invoked by uid 99); 2 Apr 2011 10:30:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Apr 2011 10:30:13 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO ok2cons2.nine.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Apr 2011 10:30:04 +0000 Received: from [161.129.204.104] (600)828-8265.dclient.hispeed.ch [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ok2cons2.nine.ch (Postfix) with ESMTPSA id 01C50C0E42C for <[email protected]>; Sat, 2 Apr 2011 12:29:43 +0200 (CEST) Subject: Re: Bytes Missing from HTTP Response From: Oleg Kalnichevski <[email protected]> To: HttpClient User Discussion <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <1301665115.2995.58.camel@ubuntu> <[email protected]> <1301738718.1959.23.camel@ubuntu> <[email protected]> Content-Type: text/plain; charset="UTF-8" Date: Sat, 02 Apr 2011 12:29:52 +0200 Message-ID: <1301740192.1959.34.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Sat, 2011-04-02 at 06:10 -0400, Chad La Joie wrote: > Okay, that makes sense. > > To test this, is there a way I can force the content type on the client > side, prior to requesting the response entity, via the response object? > You can try adding Accept and / or Accept-Charset header to the request message and see if the origin server responds appropriately. However, generally you might be better off using some sort of a content detection algorithm such that provided by Apache Tika toolkit. I suspect wget does exactly that. http://tika.apache.org/0.9/detection.html http://tika.apache.org/ Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 02 21:19:14 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63630 invoked from network); 2 Apr 2011 21:19:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Apr 2011 21:19:14 -0000 Received: (qmail 28350 invoked by uid 500); 2 Apr 2011 21:19:13 -0000 Delivered-To: [email protected] Received: (qmail 28320 invoked by uid 500); 2 Apr 2011 21:19:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 28311 invoked by uid 99); 2 Apr 2011 21:19:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Apr 2011 21:19:13 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO gateout01.mbox.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Apr 2011 21:19:05 +0000 Received: from gateout01.mbox.net (gateout01-lo [161.129.204.104]) by gateout01.mbox.net (Postfix) with ESMTP id 0A918CEA18 for <[email protected]>; Sat, 2 Apr 2011 21:18:44 +0000 (GMT) X-USANET-Received: from gateout01.mbox.net [161.129.204.104] by gateout01.mbox.net via mtad (C8.MAIN.3.72B) with ESMTP id 683PDBVsO2864Mo1; Sat, 02 Apr 2011 21:18:40 -0000 X-USANET-Routed: 3 gwsout-vs Q:bmvirus Received: from S1HUB2.EXCHPROD.USA.NET [161.129.204.104] by gateout01.mbox.net via smtad (C8.MAIN.3.72B) with ESMTPS id XID230PDBVsO6132Xo1; Sat, 02 Apr 2011 21:18:40 -0000 X-USANET-Source: 161.129.204.104 IN [email protected] S1HUB2.EXCHPROD.USA.NET X-USANET-MsgId: XID230PDBVsO6132Xo1 Received: from MBX14.EXCHPROD.USA.NET ([161.129.204.104]) by S1HUB2.EXCHPROD.USA.NET ([161.129.204.104]) with mapi; Sat, 2 Apr 2011 21:15:59 +0000 From: Steve Labarbera <[email protected]> To: "[email protected]" <[email protected]> Date: Sat, 2 Apr 2011 21:15:58 +0000 Subject: Trying to send raw requests without URL encodings? Thread-Topic: Trying to send raw requests without URL encodings? Thread-Index: AQHL8XspxEjkIsfGjEyaEIvzqc3W2g== Message-ID: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org I'm trying to send requests out without any URL encoding. This is necessary= because we need to simulate sending requests bypassing the browser encodin= g the parameters. I have done a bunch of reading and it appears that one us= er mentioned implementing my own RequestEntity class. Is this the best opti= on? - Ideally, I need to be able to send anything in the url or post parameters= without any URL encoding being done on them before being sent to the serve= r. - Would HttpClient be best approach or will I need to use a lower level li= brary like HttpCore. Any input that can help me move forward would be very helpful. Thanks, Steve= --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 02 22:01:13 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99469 invoked from network); 2 Apr 2011 22:01:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Apr 2011 22:01:13 -0000 Received: (qmail 51848 invoked by uid 500); 2 Apr 2011 22:01:13 -0000 Delivered-To: [email protected] Received: (qmail 51680 invoked by uid 500); 2 Apr 2011 22:01:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 51672 invoked by uid 99); 2 Apr 2011 22:01:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Apr 2011 22:01:12 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iy0-f179.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Apr 2011 22:01:08 +0000 Received: by iym7 with SMTP id 7so4701283iym.10 for <[email protected]>; Sat, 02 Apr 2011 15:00:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=tr9H6Ghb3dYYgYa6swsFrAkTh7jlGGJbiFEZw1vFtuE=; b=u54IEGZW+t41dfGyaiSbVSlJADhE0g7kEz3BJJIcfKGtqW0JUjF0w+mYzCwpMOsMsq LJvKxpeNaRb1f6Ep4fQEXmxtAbZPG/6Wz3lziOhyU+7eMPb/xK4Wf3Cl1MrAw4tG/f6Z A2UvqHLEca2T8lwMEeT9Gf26dIUuZRX4aBdx8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=KiAQ8t8rOrjzB7jiyUNTFJkCpB0r1B4XHyIj9rjkbbhX6K/A1+F1yqKSMbJaRQAhse JqmcxPwmZctntb7cJ533ZpkajPS5EfdRsxmrQs9/C9Q7qQ1/H6awxNGxCelcqLL8jpm+ bLTo7YiG5x3b36m4Gv+LnrmAtQadhIBicvHLo= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id vf7mr3975828icb.125.1301781647172; Sat, 02 Apr 2011 15:00:47 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sat, 2 Apr 2011 15:00:47 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Sat, 2 Apr 2011 23:00:47 +0100 Message-ID: <[email protected]> Subject: Re: Trying to send raw requests without URL encodings? From: Sam Crawford <[email protected]> To: HttpClient User Discussion <[email protected]> Cc: Steve Labarbera <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Steve, A very similar question was asked here: http://old.nabble.com/Apache's-HttpClient-don't-want-URL-Encoding-any-ideas= -how-I-can-bypass--td25762297.html This only deals with the request URL, but it would mean you don't need to move to HttpCore. Implementing your own RequestEntity makes the most sense to me for handling the POST scenario. Hope this helps, Sam On 2 April 2011 22:15, Steve Labarbera <[email protected]> wr= ote: > I'm trying to send requests out without any URL encoding. This is necessa= ry because we need to simulate sending requests bypassing the browser encod= ing the parameters. I have done a bunch of reading and it appears that one = user mentioned implementing my own RequestEntity class. Is this the best op= tion? > > - Ideally, I need to be able to send anything in the url or post paramete= rs without any URL encoding being done on them before being sent to the ser= ver. > > =A0- Would HttpClient be best approach or will I need to use a lower leve= l library like HttpCore. > > Any input that can help me move forward would be very helpful. > > Thanks, > > Steve > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 02 22:27:52 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94715 invoked from network); 2 Apr 2011 22:27:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Apr 2011 22:27:52 -0000 Received: (qmail 69658 invoked by uid 500); 2 Apr 2011 22:27:52 -0000 Delivered-To: [email protected] Received: (qmail 69607 invoked by uid 500); 2 Apr 2011 22:27:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 69599 invoked by uid 99); 2 Apr 2011 22:27:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Apr 2011 22:27:51 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO zimbra.prxy.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Apr 2011 22:27:44 +0000 Received: from localhost (localhost.localdomain [161.129.204.104]) by zimbra.prxy.net (Postfix) with ESMTP id D7D558ED85BC for <[email protected]>; Sat, 2 Apr 2011 15:26:48 -0700 (PDT) X-Virus-Scanned: [email protected] Received: from zimbra.prxy.net ([161.129.204.104]) by localhost (zimbra.prxy.net [161.129.204.104]) (amavisd-new, port 10024) with ESMTP id Dacb44XgCcMd for <[email protected]>; Sat, 2 Apr 2011 15:26:48 -0700 (PDT) Received: from [161.129.204.104] (c-76-20-56-43.hsd1.ca.comcast.net [161.129.204.104]) by zimbra.prxy.net (Postfix) with ESMTPSA id B629C8ED8416 for <[email protected]>; Sat, 2 Apr 2011 15:26:48 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: Bytes Missing from HTTP Response From: Ken Krugler <[email protected]> In-Reply-To: <1301740192.1959.34.camel@ubuntu> Date: Sat, 2 Apr 2011 15:27:22 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <[email protected]> References: <[email protected]> <1301665115.2995.58.camel@ubuntu> <[email protected]> <1301738718.1959.23.camel@ubuntu> <[email protected]> <1301740192.1959.34.camel@ubuntu> To: "HttpClient User Discussion" <[email protected]> X-Mailer: Apple Mail (2.1084) X-Virus-Checked: Checked by ClamAV on apache.org On Apr 2, 2011, at 3:29am, Oleg Kalnichevski wrote: > On Sat, 2011-04-02 at 06:10 -0400, Chad La Joie wrote: >> Okay, that makes sense. >>=20 >> To test this, is there a way I can force the content type on the = client >> side, prior to requesting the response entity, via the response = object? >>=20 >=20 > You can try adding Accept and / or Accept-Charset header to the = request > message and see if the origin server responds appropriately. >=20 > However, generally you might be better off using some sort of a = content > detection algorithm such that provided by Apache Tika toolkit. I = suspect > wget does exactly that. Tika tries to follow the recommendations of RFC 3023: If an application/xml entity is received where the charset parameter is omitted, no information is being provided about the charset by the MIME Content-Type header. Conforming XML processors MUST follow the requirements in section 4.3.3 of [XML] that directly address this contingency. Which means it will look for a byte-order-mark and encoding declaration = inside of the XML content. -- Ken -------------------------- Ken Krugler (600)828-8265 http://bixolabs.com e l a s t i c w e b m i n i n g --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 03 05:05:06 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71416 invoked from network); 3 Apr 2011 05:05:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Apr 2011 05:05:06 -0000 Received: (qmail 9803 invoked by uid 500); 3 Apr 2011 05:05:05 -0000 Delivered-To: [email protected] Received: (qmail 9666 invoked by uid 500); 3 Apr 2011 05:05:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 9656 invoked by uid 99); 3 Apr 2011 05:05:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Apr 2011 05:05:01 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=HS_INDEX_PARAM,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO gateout02.mbox.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Apr 2011 05:04:56 +0000 Received: from gateout02.mbox.net (gwo2-lo [161.129.204.104]) by gateout02.mbox.net (Postfix) with ESMTP id 595554BF799; Sun, 3 Apr 2011 05:04:33 +0000 (GMT) X-USANET-Received: from gateout02.mbox.net [161.129.204.104] by gateout02.mbox.net via mtad (C8.MAIN.3.72B) with ESMTP id 473PDcFeE2624Mo2; Sun, 03 Apr 2011 05:04:30 -0000 X-USANET-Routed: 3 gwsout-vs Q:bmvirus Received: from S1HUB4.EXCHPROD.USA.NET [161.129.204.104] by gateout02.mbox.net via smtad (C8.MAIN.3.72B) with ESMTPS id XID339PDcFeE4536Xo2; Sun, 03 Apr 2011 05:04:30 -0000 X-USANET-Source: 161.129.204.104 IN [email protected] S1HUB4.EXCHPROD.USA.NET X-USANET-MsgId: XID339PDcFeE4536Xo2 Received: from MBX14.EXCHPROD.USA.NET ([161.129.204.104]) by S1HUB4.EXCHPROD.USA.NET ([161.129.204.104]) with mapi; Sun, 3 Apr 2011 05:03:46 +0000 From: Steve Labarbera <[email protected]> To: Sam Crawford <[email protected]>, HttpClient User Discussion <[email protected]> Date: Sun, 3 Apr 2011 05:00:13 +0000 Subject: RE: Trying to send raw requests without URL encodings? Thread-Topic: Trying to send raw requests without URL encodings? Thread-Index: AcvxgW/tzdAiGonNS7e2nfd2tOHObQAOpRUH Message-ID: <[email protected]> References: <[email protected]>,<[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Thanks for the reply but actually that was me asking that question a few mo= nths back. I got so frustrated I stepped away from the problem. Now I'm bac= k determined to find a solution. As what was mentioned in that response the= HttpCore is built on URI and I have not found a way to bypass the java.net= .URISyntaxException: Illegal character in query at index exception that is = thrown when illegal characters are added to the query. So, as an example, I need to send a request like http://example.com?var=3D<= xss> <=3D=3D=3D=3D=3D=3D not url encoded Problem is no matter what I try the URI class throws an exception. I'm tryi= ng to avoid having to have to re-invent the wheel and build my own HTTPClie= nt class.You think I have another option?=20 Thanks in advance for the help, Steve _____ From: Sam Crawford [[email protected]] Sent: Saturday, April 02, 2011 3:00 PM To: HttpClient User Discussion Cc: Steve Labarbera Subject: Re: Trying to send raw requests without URL encodings? Hi Steve, A very similar question was asked here: http://old.nabble.com/Apache's-HttpClient-don't-want-URL-Encoding-any-ideas= -how-I-can-bypass--td25762297.html This only deals with the request URL, but it would mean you don't need to move to HttpCore. Implementing your own RequestEntity makes the most sense to me for handling the POST scenario. Hope this helps, Sam On 2 April 2011 22:15, Steve Labarbera <[email protected]> wr= ote: > I'm trying to send requests out without any URL encoding. This is necessa= ry because we need to simulate sending requests bypassing the browser encod= ing the parameters. I have done a bunch of reading and it appears that one = user mentioned implementing my own RequestEntity class. Is this the best op= tion? > > - Ideally, I need to be able to send anything in the url or post paramete= rs without any URL encoding being done on them before being sent to the ser= ver. > > - Would HttpClient be best approach or will I need to use a lower level = library like HttpCore. > > Any input that can help me move forward would be very helpful. > > Thanks, > > Steve > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > ________________________________________ From: Sam Crawford [[email protected]] Sent: Saturday, April 02, 2011 3:00 PM To: HttpClient User Discussion Cc: Steve Labarbera Subject: Re: Trying to send raw requests without URL encodings? Hi Steve, A very similar question was asked here: http://old.nabble.com/Apache's-HttpClient-don't-want-URL-Encoding-any-ideas= -how-I-can-bypass--td25762297.html This only deals with the request URL, but it would mean you don't need to move to HttpCore. Implementing your own RequestEntity makes the most sense to me for handling the POST scenario. Hope this helps, Sam On 2 April 2011 22:15, Steve Labarbera <[email protected]> wr= ote: > I'm trying to send requests out without any URL encoding. This is necessa= ry because we need to simulate sending requests bypassing the browser encod= ing the parameters. I have done a bunch of reading and it appears that one = user mentioned implementing my own RequestEntity class. Is this the best op= tion? > > - Ideally, I need to be able to send anything in the url or post paramete= rs without any URL encoding being done on them before being sent to the ser= ver. > > - Would HttpClient be best approach or will I need to use a lower level = library like HttpCore. > > Any input that can help me move forward would be very helpful. > > Thanks, > > Steve > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 03 15:14:48 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31062 invoked from network); 3 Apr 2011 15:14:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Apr 2011 15:14:48 -0000 Received: (qmail 66507 invoked by uid 500); 3 Apr 2011 15:14:47 -0000 Delivered-To: [email protected] Received: (qmail 66432 invoked by uid 500); 3 Apr 2011 15:14:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 66374 invoked by uid 99); 3 Apr 2011 15:14:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Apr 2011 15:14:46 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,HS_INDEX_PARAM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iw0-f179.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Apr 2011 15:14:42 +0000 Received: by iwc10 with SMTP id 10so4906237iwc.10 for <[email protected]>; Sun, 03 Apr 2011 08:14:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=X1LLqiTFmIHAcxj2pbFv8YkumYxbRFXn4cFbGKVF4JM=; b=OzxeUQBt87G5EKXCZt/3XzlXMxqWfsGtxMcvslhwLIs81H9pwhwT/uiQOkfiLVcK9F vPwIkpR+NqHQqoflK0Da5wvYlYY9w1bXCluehplAysg+PmVLAj0llQ0LXHoIJDW7BXZj mwzy5lfXGizONkZ93IFW0nmwk4yKFAdfTJKoU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=IbjcCnENa6kdM6lHtT/kmfI4MefF3pLs6vI6TqGNtIya7sfe0sECObGT/5G/I64Nm0 F+mPGz/jnb4BqI2+Jhyq+O8Te3p2f3VknlYHB2/HzE0cRu2WirDuFD0PRCQkllIb2TIR xAB1Dx4Vpl/VcTpqNqoDI6F8SK7JoCDVQzQAQ= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id wl7mr3469217icb.58.1301843661241; Sun, 03 Apr 2011 08:14:21 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sun, 3 Apr 2011 08:14:21 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Date: Sun, 3 Apr 2011 16:14:21 +0100 Message-ID: <[email protected]> Subject: Re: Trying to send raw requests without URL encodings? From: Sam Crawford <[email protected]> To: Steve Labarbera <[email protected]> Cc: HttpClient User Discussion <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Steve, I've had a dig around the code this afternoon and understand the issues you've run into. The java.net.URI class is fairly well embedded throughout, and overriding HttpRequestBase.getRequestLine() alone will not be enough. One thought: Have you considered copying and modifying the source for java.net.URI to not throw the URISyntaxException? (Sadly you can't just extend it, as it's declared final). Patching HttpClient / HttpCore to use your new class would be very straightforward. You can take a look at some source for java.net.URI at http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/6-b1= 4/java/net/URI.java/?v=3Dsource Thanks, Sam On 3 April 2011 06:00, Steve Labarbera <[email protected]> wr= ote: > Thanks for the reply but actually that was me asking that question a few = months back. I got so frustrated I stepped away from the problem. Now I'm b= ack determined to find a solution. As what was mentioned in that response t= he HttpCore is built on URI and I have not found a way to bypass the java.n= et.URISyntaxException: Illegal character in query at index exception that i= s thrown when illegal characters are added to the query. > > So, as an example, I need to send a request like http://example.com?var= =3D<xss> <=3D=3D=3D=3D=3D=3D not url encoded > > Problem is no matter what I try the URI class throws an exception. I'm tr= ying to avoid having to have to re-invent the wheel and build my own HTTPCl= ient class.You think I have another option? > > Thanks in advance for the help, > > Steve > > > > > > > > > _____ > From: Sam Crawford [[email protected]] > Sent: Saturday, April 02, 2011 3:00 PM > To: HttpClient User Discussion > Cc: Steve Labarbera > Subject: Re: Trying to send raw requests without URL encodings? > > Hi Steve, > > A very similar question was asked here: > http://old.nabble.com/Apache's-HttpClient-don't-want-URL-Encoding-any-ide= as-how-I-can-bypass--td25762297.html > > This only deals with the request URL, but it would mean you don't need > to move to HttpCore. > > Implementing your own RequestEntity makes the most sense to me for > handling the POST scenario. > > Hope this helps, > > Sam > > > > On 2 April 2011 22:15, Steve Labarbera <[email protected]> = wrote: >> I'm trying to send requests out without any URL encoding. This is necess= ary because we need to simulate sending requests bypassing the browser enco= ding the parameters. I have done a bunch of reading and it appears that one= user mentioned implementing my own RequestEntity class. Is this the best o= ption? >> >> - Ideally, I need to be able to send anything in the url or post paramet= ers without any URL encoding being done on them before being sent to the se= rver. >> >> =A0- Would HttpClient be best approach or will I need to use a lower lev= el library like HttpCore. >> >> Any input that can help me move forward would be very helpful. >> >> Thanks, >> >> Steve >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > ________________________________________ > From: Sam Crawford [[email protected]] > Sent: Saturday, April 02, 2011 3:00 PM > To: HttpClient User Discussion > Cc: Steve Labarbera > Subject: Re: Trying to send raw requests without URL encodings? > > Hi Steve, > > A very similar question was asked here: > http://old.nabble.com/Apache's-HttpClient-don't-want-URL-Encoding-any-ide= as-how-I-can-bypass--td25762297.html > > This only deals with the request URL, but it would mean you don't need > to move to HttpCore. > > Implementing your own RequestEntity makes the most sense to me for > handling the POST scenario. > > Hope this helps, > > Sam > > > > On 2 April 2011 22:15, Steve Labarbera <[email protected]> = wrote: >> I'm trying to send requests out without any URL encoding. This is necess= ary because we need to simulate sending requests bypassing the browser enco= ding the parameters. I have done a bunch of reading and it appears that one= user mentioned implementing my own RequestEntity class. Is this the best o= ption? >> >> - Ideally, I need to be able to send anything in the url or post paramet= ers without any URL encoding being done on them before being sent to the se= rver. >> >> =A0- Would HttpClient be best approach or will I need to use a lower lev= el library like HttpCore. >> >> Any input that can help me move forward would be very helpful. >> >> Thanks, >> >> Steve >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 03 15:23:06 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59925 invoked from network); 3 Apr 2011 15:23:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Apr 2011 15:23:06 -0000 Received: (qmail 69475 invoked by uid 500); 3 Apr 2011 15:23:05 -0000 Delivered-To: [email protected] Received: (qmail 69333 invoked by uid 500); 3 Apr 2011 15:23:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 69325 invoked by uid 99); 3 Apr 2011 15:23:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Apr 2011 15:23:05 +0000 X-ASF-Spam-Status: No, hits=2.9 required=5.0 tests=HS_INDEX_PARAM,HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mta00.prxy.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Apr 2011 15:23:00 +0000 Received: from localhost (localhost.localdomain [161.129.204.104]) by mta00.prxy.net (Postfix) with ESMTP id A17AF1B7151 for <[email protected]>; Sun, 3 Apr 2011 08:20:27 -0700 (PDT) X-Virus-Scanned: [email protected] Received: from mta00.prxy.net ([161.129.204.104]) by localhost (mta00.prxy.net [161.129.204.104]) (amavisd-new, port 10024) with ESMTP id Jw1pKOPdWItq for <[email protected]>; Sun, 3 Apr 2011 08:20:24 -0700 (PDT) Received: from [161.129.204.104] (c-76-20-56-43.hsd1.ca.comcast.net [161.129.204.104]) by mta00.prxy.net (Postfix) with ESMTPSA id AFD3E1B717C for <[email protected]>; Sun, 3 Apr 2011 08:20:24 -0700 (PDT) From: Ken Krugler <[email protected]> Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: multipart/alternative; boundary=Apple-Mail-(600)828-8265 Subject: Re: Trying to send raw requests without URL encodings? Date: Sun, 3 Apr 2011 08:22:35 -0700 In-Reply-To: <[email protected]> To: "HttpClient User Discussion" <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> Message-Id: <[email protected]> X-Mailer: Apple Mail (2.1084) --Apple-Mail-(600)828-8265 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Apr 3, 2011, at 8:14am, Sam Crawford wrote: > Steve, >=20 > I've had a dig around the code this afternoon and understand the > issues you've run into. The java.net.URI class is fairly well embedded > throughout, and overriding HttpRequestBase.getRequestLine() alone will > not be enough. >=20 > One thought: Have you considered copying and modifying the source for > java.net.URI to not throw the URISyntaxException? (Sadly you can't > just extend it, as it's declared final). Patching HttpClient / > HttpCore to use your new class would be very straightforward. >=20 > You can take a look at some source for java.net.URI at > = http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/6-b= 14/java/net/URI.java/?v=3Dsource Oddly enough, I was just looking at the same thing. I'd run into a similar issue, though with hostnames that are allowed by = DNS servers but rejected by URI (e.g. "-sub.domain.com") One issue I notice is that you might need to handle is having these = query parameters re-encoded when say URI.toURL() is called. E.g. java.net.URI olduri =3D new java.net.URI("http", "example.com", = null, "var=3D<xss>", null); System.out.println(olduri.toURL()); will print out "http://example.com?var=3D%3Cxss%3E" -- Ken > On 3 April 2011 06:00, Steve Labarbera = <[email protected]> wrote: >> Thanks for the reply but actually that was me asking that question a = few months back. I got so frustrated I stepped away from the problem. = Now I'm back determined to find a solution. As what was mentioned in = that response the HttpCore is built on URI and I have not found a way to = bypass the java.net.URISyntaxException: Illegal character in query at = index exception that is thrown when illegal characters are added to the = query. >>=20 >> So, as an example, I need to send a request like = http://example.com?var=3D<xss> <=3D=3D=3D=3D=3D=3D not url encoded >>=20 >> Problem is no matter what I try the URI class throws an exception. = I'm trying to avoid having to have to re-invent the wheel and build my = own HTTPClient class.You think I have another option? >>=20 >> Thanks in advance for the help, >>=20 >> Steve >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >> _____ >> From: Sam Crawford [[email protected]] >> Sent: Saturday, April 02, 2011 3:00 PM >> To: HttpClient User Discussion >> Cc: Steve Labarbera >> Subject: Re: Trying to send raw requests without URL encodings? >>=20 >> Hi Steve, >>=20 >> A very similar question was asked here: >> = http://old.nabble.com/Apache's-HttpClient-don't-want-URL-Encoding-any-idea= s-how-I-can-bypass--td25762297.html >>=20 >> This only deals with the request URL, but it would mean you don't = need >> to move to HttpCore. >>=20 >> Implementing your own RequestEntity makes the most sense to me for >> handling the POST scenario. >>=20 >> Hope this helps, >>=20 >> Sam >>=20 >>=20 >>=20 >> On 2 April 2011 22:15, Steve Labarbera = <[email protected]> wrote: >>> I'm trying to send requests out without any URL encoding. This is = necessary because we need to simulate sending requests bypassing the = browser encoding the parameters. I have done a bunch of reading and it = appears that one user mentioned implementing my own RequestEntity class. = Is this the best option? >>>=20 >>> - Ideally, I need to be able to send anything in the url or post = parameters without any URL encoding being done on them before being sent = to the server. >>>=20 >>> - Would HttpClient be best approach or will I need to use a lower = level library like HttpCore. >>>=20 >>> Any input that can help me move forward would be very helpful. >>>=20 >>> Thanks, >>>=20 >>> Steve >>> = --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>>=20 >>>=20 >>=20 >> ________________________________________ >> From: Sam Crawford [[email protected]] >> Sent: Saturday, April 02, 2011 3:00 PM >> To: HttpClient User Discussion >> Cc: Steve Labarbera >> Subject: Re: Trying to send raw requests without URL encodings? >>=20 >> Hi Steve, >>=20 >> A very similar question was asked here: >> = http://old.nabble.com/Apache's-HttpClient-don't-want-URL-Encoding-any-idea= s-how-I-can-bypass--td25762297.html >>=20 >> This only deals with the request URL, but it would mean you don't = need >> to move to HttpCore. >>=20 >> Implementing your own RequestEntity makes the most sense to me for >> handling the POST scenario. >>=20 >> Hope this helps, >>=20 >> Sam >>=20 >>=20 >>=20 >> On 2 April 2011 22:15, Steve Labarbera = <[email protected]> wrote: >>> I'm trying to send requests out without any URL encoding. This is = necessary because we need to simulate sending requests bypassing the = browser encoding the parameters. I have done a bunch of reading and it = appears that one user mentioned implementing my own RequestEntity class. = Is this the best option? >>>=20 >>> - Ideally, I need to be able to send anything in the url or post = parameters without any URL encoding being done on them before being sent = to the server. >>>=20 >>> - Would HttpClient be best approach or will I need to use a lower = level library like HttpCore. >>>=20 >>> Any input that can help me move forward would be very helpful. >>>=20 >>> Thanks, >>>=20 >>> Steve >>> = --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>>=20 >>>=20 >>=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >=20 -------------------------- Ken Krugler (600)828-8265 http://bixolabs.com e l a s t i c w e b m i n i n g --Apple-Mail-(600)828-8265-- From [email protected] Sun Apr 03 15:36:07 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26196 invoked from network); 3 Apr 2011 15:36:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Apr 2011 15:36:07 -0000 Received: (qmail 72947 invoked by uid 500); 3 Apr 2011 15:36:06 -0000 Delivered-To: [email protected] Received: (qmail 72904 invoked by uid 500); 3 Apr 2011 15:36:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 72896 invoked by uid 99); 3 Apr 2011 15:36:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Apr 2011 15:36:06 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO ok2cons2.nine.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Apr 2011 15:36:00 +0000 Received: from [161.129.204.104] (600)828-8265.dclient.hispeed.ch [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ok2cons2.nine.ch (Postfix) with ESMTPSA id 6ECD3C0E422 for <[email protected]>; Sun, 3 Apr 2011 17:35:39 +0200 (CEST) Subject: Re: Trying to send raw requests without URL encodings? From: Oleg Kalnichevski <[email protected]> To: HttpClient User Discussion <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Content-Type: text/plain; charset="UTF-8" Date: Sun, 03 Apr 2011 17:35:35 +0200 Message-ID: <1301844935.4280.8.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit On Sun, 2011-04-03 at 08:22 -0700, Ken Krugler wrote: > On Apr 3, 2011, at 8:14am, Sam Crawford wrote: > > > Steve, > > > > I've had a dig around the code this afternoon and understand the > > issues you've run into. The java.net.URI class is fairly well embedded > > throughout, and overriding HttpRequestBase.getRequestLine() alone will > > not be enough. > > > > One thought: Have you considered copying and modifying the source for > > java.net.URI to not throw the URISyntaxException? (Sadly you can't > > just extend it, as it's declared final). Patching HttpClient / > > HttpCore to use your new class would be very straightforward. > > > > You can take a look at some source for java.net.URI at > > http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/6-b14/java/net/URI.java/?v=source > > Oddly enough, I was just looking at the same thing. > > I'd run into a similar issue, though with hostnames that are allowed by DNS servers but rejected by URI (e.g. "-sub.domain.com") > > One issue I notice is that you might need to handle is having these query parameters re-encoded when say URI.toURL() is called. E.g. > > java.net.URI olduri = new java.net.URI("http", "example.com", null, "var=<xss>", null); > System.out.println(olduri.toURL()); > > will print out "http://example.com?var=%3Cxss%3E" Steve, Sam and Ken There are several ways to approach the problem: (1) HttpCore uses plain String to represent request-URIs. If core functionality is enough, one can use just about anything for a request-URI (2) If giving up HttpClient if not an option, as long as a resource can be represented by an java.net.URI instance, one can still convert it to a different representation / format when writing the request out. One would need a custom connection manager with a custom MessageWriter, though. Hope this helps Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 04 11:35:10 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88677 invoked from network); 4 Apr 2011 11:35:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Apr 2011 11:35:09 -0000 Received: (qmail 68028 invoked by uid 500); 4 Apr 2011 11:35:09 -0000 Delivered-To: [email protected] Received: (qmail 67914 invoked by uid 500); 4 Apr 2011 11:35:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 67906 invoked by uid 99); 4 Apr 2011 11:35:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Apr 2011 11:35:08 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-iw0-f179.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Apr 2011 11:35:00 +0000 Received: by iwc10 with SMTP id 10so5542666iwc.10 for <[email protected]>; Mon, 04 Apr 2011 04:34:39 -0700 (PDT) Received: by 161.129.204.104 with SMTP id e7mr582087icv.314.1301916878399; Mon, 04 Apr 2011 04:34:38 -0700 (PDT) Received: from lypse.local (c-24-11-171-109.hsd1.mi.comcast.net [161.129.204.104]) by mx.google.com with ESMTPS id 19sm3714494ibx.52.2161.129.204.104.34.37 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 04 Apr 2011 04:34:37 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 04 Apr 2011 07:34:35 -0400 From: Chad La Joie <[email protected]> Organization: Itumi, LLC User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: HttpClient User Discussion <[email protected]> Subject: Re: Bytes Missing from HTTP Response References: <[email protected]> <1301665115.2995.58.camel@ubuntu> <[email protected]> <1301738718.1959.23.camel@ubuntu> <[email protected]> <1301740192.1959.34.camel@ubuntu> In-Reply-To: <1301740192.1959.34.camel@ubuntu> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Yeah, unfortunately that didn't work. Is there any way to get the old v3 behavior that gives you access to the raw bytes of the entity before any sort of character decoding is done? I strongly suspect that very few web servers out there are properly configured to return the correct character encoding so this could definitely be an ongoing problem. On 4/2/11 6:29 AM, Oleg Kalnichevski wrote: > On Sat, 2011-04-02 at 06:10 -0400, Chad La Joie wrote: >> Okay, that makes sense. >> >> To test this, is there a way I can force the content type on the client >> side, prior to requesting the response entity, via the response object? >> > > You can try adding Accept and / or Accept-Charset header to the request > message and see if the origin server responds appropriately. > > However, generally you might be better off using some sort of a content > detection algorithm such that provided by Apache Tika toolkit. I suspect > wget does exactly that. > > http://tika.apache.org/0.9/detection.html > http://tika.apache.org/ > > Oleg > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Chad La Joie http://itumi.biz trusted identities, delivered --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 04 12:09:27 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 1871 invoked from network); 4 Apr 2011 12:09:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Apr 2011 12:09:27 -0000 Received: (qmail 15227 invoked by uid 500); 4 Apr 2011 12:09:27 -0000 Delivered-To: [email protected] Received: (qmail 15203 invoked by uid 500); 4 Apr 2011 12:09:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 15195 invoked by uid 99); 4 Apr 2011 12:09:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Apr 2011 12:09:27 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO ok2cons2.nine.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Apr 2011 12:09:18 +0000 Received: from [161.129.204.104] (unknown [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ok2cons2.nine.ch (Postfix) with ESMTPSA id EBA74C0E422 for <[email protected]>; Mon, 4 Apr 2011 14:08:57 +0200 (CEST) Subject: Re: Bytes Missing from HTTP Response From: Oleg Kalnichevski <[email protected]> To: HttpClient User Discussion <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <1301665115.2995.58.camel@ubuntu> <[email protected]> <1301738718.1959.23.camel@ubuntu> <[email protected]> <1301740192.1959.34.camel@ubuntu> <[email protected]> Content-Type: text/plain; charset="UTF-8" Date: Mon, 04 Apr 2011 14:08:53 +0200 Message-ID: <1301918933.29179.8.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Mon, 2011-04-04 at 07:34 -0400, Chad La Joie wrote: > Yeah, unfortunately that didn't work. > > Is there any way to get the old v3 behavior that gives you access to the > raw bytes of the entity before any sort of character decoding is done? > > I strongly suspect that very few web servers out there are properly > configured to return the correct character encoding so this could > definitely be an ongoing problem. > EntityUtils.toByteArray returns raw response content without attempting to decode it. http://hc.apache.org/httpcomponents-core-ga/httpcore/xref/org/apache/http/util/EntityUtils.html#81 Oleg > On 4/2/11 6:29 AM, Oleg Kalnichevski wrote: > > On Sat, 2011-04-02 at 06:10 -0400, Chad La Joie wrote: > >> Okay, that makes sense. > >> > >> To test this, is there a way I can force the content type on the client > >> side, prior to requesting the response entity, via the response object? > >> > > > > You can try adding Accept and / or Accept-Charset header to the request > > message and see if the origin server responds appropriately. > > > > However, generally you might be better off using some sort of a content > > detection algorithm such that provided by Apache Tika toolkit. I suspect > > wget does exactly that. > > > > http://tika.apache.org/0.9/detection.html > > http://tika.apache.org/ > > > > Oleg > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 04 12:16:49 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7329 invoked from network); 4 Apr 2011 12:16:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Apr 2011 12:16:49 -0000 Received: (qmail 24930 invoked by uid 500); 4 Apr 2011 12:16:48 -0000 Delivered-To: [email protected] Received: (qmail 24902 invoked by uid 500); 4 Apr 2011 12:16:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 24894 invoked by uid 99); 4 Apr 2011 12:16:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Apr 2011 12:16:48 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-yx0-f179.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Apr 2011 12:16:41 +0000 Received: by yxp4 with SMTP id 4so1960340yxp.10 for <[email protected]>; Mon, 04 Apr 2011 05:16:20 -0700 (PDT) Received: by 161.129.204.104 with SMTP id m26mr7410417yhk.360.1301919378954; Mon, 04 Apr 2011 05:16:18 -0700 (PDT) Received: from lypse.local (c-24-11-171-109.hsd1.mi.comcast.net [161.129.204.104]) by mx.google.com with ESMTPS id 45sm2263718yhl.2.2161.129.204.104.16.17 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 04 Apr 2011 05:16:18 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 04 Apr 2011 08:16:15 -0400 From: Chad La Joie <[email protected]> Organization: Itumi, LLC User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: HttpClient User Discussion <[email protected]> Subject: Re: Bytes Missing from HTTP Response References: <[email protected]> <1301665115.2995.58.camel@ubuntu> <[email protected]> <1301738718.1959.23.camel@ubuntu> <[email protected]> <1301740192.1959.34.camel@ubuntu> <[email protected]> <1301918933.29179.8.camel@ubuntu> In-Reply-To: <1301918933.29179.8.camel@ubuntu> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Then I guess I misunderstood what you were saying before. Are you suggesting then that the server is transcoding the file when it serves it up? And that the missing bytes actually go missing before HttpClient gets the response? On 4/4/11 8:08 AM, Oleg Kalnichevski wrote: > On Mon, 2011-04-04 at 07:34 -0400, Chad La Joie wrote: >> Yeah, unfortunately that didn't work. >> >> Is there any way to get the old v3 behavior that gives you access to the >> raw bytes of the entity before any sort of character decoding is done? >> >> I strongly suspect that very few web servers out there are properly >> configured to return the correct character encoding so this could >> definitely be an ongoing problem. >> > > EntityUtils.toByteArray returns raw response content without attempting > to decode it. > > http://hc.apache.org/httpcomponents-core-ga/httpcore/xref/org/apache/http/util/EntityUtils.html#81 > > Oleg > > >> On 4/2/11 6:29 AM, Oleg Kalnichevski wrote: >>> On Sat, 2011-04-02 at 06:10 -0400, Chad La Joie wrote: >>>> Okay, that makes sense. >>>> >>>> To test this, is there a way I can force the content type on the client >>>> side, prior to requesting the response entity, via the response object? >>>> >>> >>> You can try adding Accept and / or Accept-Charset header to the request >>> message and see if the origin server responds appropriately. >>> >>> However, generally you might be better off using some sort of a content >>> detection algorithm such that provided by Apache Tika toolkit. I suspect >>> wget does exactly that. >>> >>> http://tika.apache.org/0.9/detection.html >>> http://tika.apache.org/ >>> >>> Oleg >>> >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Chad La Joie http://itumi.biz trusted identities, delivered --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 04 12:22:46 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25890 invoked from network); 4 Apr 2011 12:22:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Apr 2011 12:22:45 -0000 Received: (qmail 34871 invoked by uid 500); 4 Apr 2011 12:22:45 -0000 Delivered-To: [email protected] Received: (qmail 34833 invoked by uid 500); 4 Apr 2011 12:22:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 34822 invoked by uid 99); 4 Apr 2011 12:22:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Apr 2011 12:22:45 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO ok2cons2.nine.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Apr 2011 12:22:37 +0000 Received: from [161.129.204.104] (unknown [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ok2cons2.nine.ch (Postfix) with ESMTPSA id 07161C0E422 for <[email protected]>; Mon, 4 Apr 2011 14:22:15 +0200 (CEST) Subject: Re: Bytes Missing from HTTP Response From: Oleg Kalnichevski <[email protected]> To: HttpClient User Discussion <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <1301665115.2995.58.camel@ubuntu> <[email protected]> <1301738718.1959.23.camel@ubuntu> <[email protected]> <1301740192.1959.34.camel@ubuntu> <[email protected]> <1301918933.29179.8.camel@ubuntu> <[email protected]> Content-Type: text/plain; charset="UTF-8" Date: Mon, 04 Apr 2011 14:22:13 +0200 Message-ID: <1301919733.29179.12.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit On Mon, 2011-04-04 at 08:16 -0400, Chad La Joie wrote: > Then I guess I misunderstood what you were saying before. Are you > suggesting then that the server is transcoding the file when it serves > it up? And that the missing bytes actually go missing before HttpClient > gets the response? That is one possibility. Besides, I suspect that your application also needs to convert the response content to a stream of characters in order to be able to parse the XML message. This is another possibility for things to go screwy. Hope this helps Oleg > On 4/4/11 8:08 AM, Oleg Kalnichevski wrote: > > On Mon, 2011-04-04 at 07:34 -0400, Chad La Joie wrote: > >> Yeah, unfortunately that didn't work. > >> > >> Is there any way to get the old v3 behavior that gives you access to the > >> raw bytes of the entity before any sort of character decoding is done? > >> > >> I strongly suspect that very few web servers out there are properly > >> configured to return the correct character encoding so this could > >> definitely be an ongoing problem. > >> > > > > EntityUtils.toByteArray returns raw response content without attempting > > to decode it. > > > > http://hc.apache.org/httpcomponents-core-ga/httpcore/xref/org/apache/http/util/EntityUtils.html#81 > > > > Oleg > > > > > >> On 4/2/11 6:29 AM, Oleg Kalnichevski wrote: > >>> On Sat, 2011-04-02 at 06:10 -0400, Chad La Joie wrote: > >>>> Okay, that makes sense. > >>>> > >>>> To test this, is there a way I can force the content type on the client > >>>> side, prior to requesting the response entity, via the response object? > >>>> > >>> > >>> You can try adding Accept and / or Accept-Charset header to the request > >>> message and see if the origin server responds appropriately. > >>> > >>> However, generally you might be better off using some sort of a content > >>> detection algorithm such that provided by Apache Tika toolkit. I suspect > >>> wget does exactly that. > >>> > >>> http://tika.apache.org/0.9/detection.html > >>> http://tika.apache.org/ > >>> > >>> Oleg > >>> > >>> > >>> > >>> --------------------------------------------------------------------- > >>> To unsubscribe, e-mail: [email protected] > >>> For additional commands, e-mail: [email protected] > >>> > >>> > >> > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 04 12:32:28 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59925 invoked from network); 4 Apr 2011 12:32:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Apr 2011 12:32:28 -0000 Received: (qmail 52660 invoked by uid 500); 4 Apr 2011 12:32:27 -0000 Delivered-To: [email protected] Received: (qmail 52635 invoked by uid 500); 4 Apr 2011 12:32:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 52627 invoked by uid 99); 4 Apr 2011 12:32:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Apr 2011 12:32:27 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-gy0-f179.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Apr 2011 12:32:20 +0000 Received: by gyg8 with SMTP id 8so1969087gyg.10 for <[email protected]>; Mon, 04 Apr 2011 05:31:59 -0700 (PDT) Received: by 161.129.204.104 with SMTP id 23mr7336666agr.34.1301920318014; Mon, 04 Apr 2011 05:31:58 -0700 (PDT) Received: from lypse.local (c-24-11-171-109.hsd1.mi.comcast.net [161.129.204.104]) by mx.google.com with ESMTPS id b28sm5336682anb.48.2161.129.204.104.31.56 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 04 Apr 2011 05:31:56 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 04 Apr 2011 08:31:53 -0400 From: Chad La Joie <[email protected]> Organization: Itumi, LLC User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: HttpClient User Discussion <[email protected]> Subject: Re: Bytes Missing from HTTP Response References: <[email protected]> <1301665115.2995.58.camel@ubuntu> <[email protected]> <1301738718.1959.23.camel@ubuntu> <[email protected]> <1301740192.1959.34.camel@ubuntu> <[email protected]> <1301918933.29179.8.camel@ubuntu> <[email protected]> <1301919733.29179.12.camel@ubuntu> In-Reply-To: <1301919733.29179.12.camel@ubuntu> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Okay, I'll look in to the server side of things. As an aside, converting the stream to characters is generally a really bad idea when it comes to XML parsing. Normally you want just give the parser the stream and let it figure out all the details. Thanks for the help. On 4/4/11 8:22 AM, Oleg Kalnichevski wrote: > On Mon, 2011-04-04 at 08:16 -0400, Chad La Joie wrote: >> Then I guess I misunderstood what you were saying before. Are you >> suggesting then that the server is transcoding the file when it serves >> it up? And that the missing bytes actually go missing before HttpClient >> gets the response? > > > That is one possibility. Besides, I suspect that your application also > needs to convert the response content to a stream of characters in order > to be able to parse the XML message. This is another possibility for > things to go screwy. > > Hope this helps > > Oleg > >> On 4/4/11 8:08 AM, Oleg Kalnichevski wrote: >>> On Mon, 2011-04-04 at 07:34 -0400, Chad La Joie wrote: >>>> Yeah, unfortunately that didn't work. >>>> >>>> Is there any way to get the old v3 behavior that gives you access to the >>>> raw bytes of the entity before any sort of character decoding is done? >>>> >>>> I strongly suspect that very few web servers out there are properly >>>> configured to return the correct character encoding so this could >>>> definitely be an ongoing problem. >>>> >>> >>> EntityUtils.toByteArray returns raw response content without attempting >>> to decode it. >>> >>> http://hc.apache.org/httpcomponents-core-ga/httpcore/xref/org/apache/http/util/EntityUtils.html#81 >>> >>> Oleg >>> >>> >>>> On 4/2/11 6:29 AM, Oleg Kalnichevski wrote: >>>>> On Sat, 2011-04-02 at 06:10 -0400, Chad La Joie wrote: >>>>>> Okay, that makes sense. >>>>>> >>>>>> To test this, is there a way I can force the content type on the client >>>>>> side, prior to requesting the response entity, via the response object? >>>>>> >>>>> >>>>> You can try adding Accept and / or Accept-Charset header to the request >>>>> message and see if the origin server responds appropriately. >>>>> >>>>> However, generally you might be better off using some sort of a content >>>>> detection algorithm such that provided by Apache Tika toolkit. I suspect >>>>> wget does exactly that. >>>>> >>>>> http://tika.apache.org/0.9/detection.html >>>>> http://tika.apache.org/ >>>>> >>>>> Oleg >>>>> >>>>> >>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: [email protected] >>>>> For additional commands, e-mail: [email protected] >>>>> >>>>> >>>> >>> >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Chad La Joie http://itumi.biz trusted identities, delivered --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 04 21:36:20 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94146 invoked from network); 4 Apr 2011 21:36:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Apr 2011 21:36:20 -0000 Received: (qmail 73126 invoked by uid 500); 4 Apr 2011 21:36:19 -0000 Delivered-To: [email protected] Received: (qmail 73093 invoked by uid 500); 4 Apr 2011 21:36:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 73085 invoked by uid 99); 4 Apr 2011 21:36:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Apr 2011 21:36:19 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.potomacfusion.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Apr 2011 21:36:13 +0000 Received: from PFI-MAIL.PFI.LOCAL ([161.129.204.104]) by pfi-mail ([161.129.204.104]) with mapi; Mon, 4 Apr 2011 16:35:52 -0500 From: Neil Chaudhuri <[email protected]> To: "'[email protected]'" <[email protected]> Date: Mon, 4 Apr 2011 16:35:52 -0500 Subject: Connection Pool Event Listeners Thread-Topic: Connection Pool Event Listeners Thread-Index: AcvzEF1JqP39pUvOSFqFpJEcIWMyIw== Message-ID: <688D8B269DCBDE44A466DC43D403624C014959E1BF@pfi-mail> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_688D8B269DCBDE44A466DC43D403624C014959E1BFpfimail_" MIME-Version: 1.0 --_000_688D8B269DCBDE44A466DC43D403624C014959E1BFpfimail_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I am using ThreadSafeClientConnManager to manage a pool of connections to s= erve multiple threads, but some of the requests and responses have cookies = set. Obviously, I would like to return the connections to the pool in the s= ame condition I retrieved them, which means removing those cookies before c= onnection release. To me, the cleanest way to accomplish this would be some= interceptor or listener that was registered for connection lease and relea= se events, but I don't see support for such a thing. Is there a way to acco= mplish this? Or if not, what is the preferred approach to keep connections = stateless between trips to the pool? Thanks. --_000_688D8B269DCBDE44A466DC43D403624C014959E1BFpfimail_-- From [email protected] Tue Apr 05 15:58:44 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83938 invoked from network); 5 Apr 2011 15:58:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Apr 2011 15:58:44 -0000 Received: (qmail 94500 invoked by uid 500); 5 Apr 2011 15:58:44 -0000 Delivered-To: [email protected] Received: (qmail 94395 invoked by uid 500); 5 Apr 2011 15:58:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 94387 invoked by uid 99); 5 Apr 2011 15:58:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Apr 2011 15:58:43 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO ok2cons2.nine.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Apr 2011 15:58:34 +0000 Received: from [161.129.204.104] (unknown [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ok2cons2.nine.ch (Postfix) with ESMTPSA id 94115245E3B9 for <[email protected]>; Tue, 5 Apr 2011 17:58:10 +0200 (CEST) Subject: Re: Connection Pool Event Listeners From: Oleg Kalnichevski <[email protected]> To: HttpClient User Discussion <[email protected]> In-Reply-To: <688D8B269DCBDE44A466DC43D403624C014959E1BF@pfi-mail> References: <688D8B269DCBDE44A466DC43D403624C014959E1BF@pfi-mail> Content-Type: text/plain; charset="UTF-8" Date: Tue, 05 Apr 2011 17:57:51 +0200 Message-ID: <1302019071.29179.21.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Mon, 2011-04-04 at 16:35 -0500, Neil Chaudhuri wrote: > I am using ThreadSafeClientConnManager to manage a pool of connections to serve multiple threads, but some of the requests and responses have cookies set. Obviously, I would like to return the connections to the pool in the same condition I retrieved them, which means removing those cookies before connection release. To me, the cleanest way to accomplish this would be some interceptor or listener that was registered for connection lease and release events, but I don't see support for such a thing. Is there a way to accomplish this? Or if not, what is the preferred approach to keep connections stateless between trips to the pool? > > Thanks. I am not sure I understand your problem. HTTP cookies are _never_ persisted with connections kept alive in the pool. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 05 16:15:59 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44557 invoked from network); 5 Apr 2011 16:15:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Apr 2011 16:15:58 -0000 Received: (qmail 32215 invoked by uid 500); 5 Apr 2011 16:15:58 -0000 Delivered-To: [email protected] Received: (qmail 32191 invoked by uid 500); 5 Apr 2011 16:15:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 32183 invoked by uid 99); 5 Apr 2011 16:15:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Apr 2011 16:15:58 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.potomacfusion.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Apr 2011 16:15:52 +0000 Received: from PFI-MAIL.PFI.LOCAL ([161.129.204.104]) by pfi-mail ([161.129.204.104]) with mapi; Tue, 5 Apr 2011 11:15:31 -0500 From: Neil Chaudhuri <[email protected]> To: HttpClient User Discussion <[email protected]> Date: Tue, 5 Apr 2011 11:15:30 -0500 Subject: RE: Connection Pool Event Listeners Thread-Topic: Connection Pool Event Listeners Thread-Index: AcvzqlfJsx224HDmSIG4e67Fsyef7gAAgxJg Message-ID: <688D8B269DCBDE44A466DC43D403624C014959E1C1@pfi-mail> References: <688D8B269DCBDE44A466DC43D403624C014959E1BF@pfi-mail> <1302019071.29179.21.camel@ubuntu> In-Reply-To: <1302019071.29179.21.camel@ubuntu> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 VW5mb3J0dW5hdGVseSwgd2UgYXJlIGZpbmRpbmcgdGhhdCBjb25uZWN0aW9ucyB0aGF0IGFyZSBy ZXVzZWQgZnJvbSB0aGUgcG9vbCBjb250YWluIGNvb2tpZSB2YWx1ZXMgdGhhdCByZW1haW4gZnJv bSBwcmlvciBjb25uZWN0aW9ucy4gVGhhdCBpcyB3aHkgSSB3YXMgY3VyaW91cyBpZiB0aGVyZSB3 YXMgc29tZSBwYXJ0aWN1bGFyIGFwcHJvYWNoIHJlY29tbWVuZGVkIGZvciBtYWtpbmcgc3VyZSBj b29raWVzIGRvbid0IHBlcnNpc3QgYW1vbmcgcmVxdWVzdHMuIA0KDQpUaGUgcmVzdWx0IHNvIGZh ciBoYXMgYmVlbiBkdXBsaWNhdGUgY29va2llIG5hbWVzIHdpdGggZGlmZmVyZW50IHZhbHVlcyBp biBzdWJzZXF1ZW50IHJlcXVlc3RzIGFmdGVyIHRoZSBmaXJzdC4NCg0KVGhhbmtzLg0KDQotLS0t LU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KRnJvbTogT2xlZyBLYWxuaWNoZXZza2kgW21haWx0bzpv bGVna0BhcGFjaGUub3JnXSANClNlbnQ6IFR1ZXNkYXksIEFwcmlsIDA1LCAyMDExIDExOjU4IEFN DQpUbzogSHR0cENsaWVudCBVc2VyIERpc2N1c3Npb24NClN1YmplY3Q6IFJlOiBDb25uZWN0aW9u IFBvb2wgRXZlbnQgTGlzdGVuZXJzDQoNCk9uIE1vbiwgMjAxMS0wNC0wNCBhdCAxNjozNSAtMDUw MCwgTmVpbCBDaGF1ZGh1cmkgd3JvdGU6DQo+IEkgYW0gdXNpbmcgVGhyZWFkU2FmZUNsaWVudENv bm5NYW5hZ2VyIHRvIG1hbmFnZSBhIHBvb2wgb2YgY29ubmVjdGlvbnMgdG8gc2VydmUgbXVsdGlw bGUgdGhyZWFkcywgYnV0IHNvbWUgb2YgdGhlIHJlcXVlc3RzIGFuZCByZXNwb25zZXMgaGF2ZSBj b29raWVzIHNldC4gT2J2aW91c2x5LCBJIHdvdWxkIGxpa2UgdG8gcmV0dXJuIHRoZSBjb25uZWN0 aW9ucyB0byB0aGUgcG9vbCBpbiB0aGUgc2FtZSBjb25kaXRpb24gSSByZXRyaWV2ZWQgdGhlbSwg d2hpY2ggbWVhbnMgcmVtb3ZpbmcgdGhvc2UgY29va2llcyBiZWZvcmUgY29ubmVjdGlvbiByZWxl YXNlLiBUbyBtZSwgdGhlIGNsZWFuZXN0IHdheSB0byBhY2NvbXBsaXNoIHRoaXMgd291bGQgYmUg c29tZSBpbnRlcmNlcHRvciBvciBsaXN0ZW5lciB0aGF0IHdhcyByZWdpc3RlcmVkIGZvciBjb25u ZWN0aW9uIGxlYXNlIGFuZCByZWxlYXNlIGV2ZW50cywgYnV0IEkgZG9uJ3Qgc2VlIHN1cHBvcnQg Zm9yIHN1Y2ggYSB0aGluZy4gSXMgdGhlcmUgYSB3YXkgdG8gYWNjb21wbGlzaCB0aGlzPyBPciBp ZiBub3QsIHdoYXQgaXMgdGhlIHByZWZlcnJlZCBhcHByb2FjaCB0byBrZWVwIGNvbm5lY3Rpb25z IHN0YXRlbGVzcyBiZXR3ZWVuIHRyaXBzIHRvIHRoZSBwb29sPw0KPiANCj4gVGhhbmtzLg0KDQpJ IGFtIG5vdCBzdXJlIEkgdW5kZXJzdGFuZCB5b3VyIHByb2JsZW0uIEhUVFAgY29va2llcyBhcmUg X25ldmVyXw0KcGVyc2lzdGVkIHdpdGggY29ubmVjdGlvbnMga2VwdCBhbGl2ZSBpbiB0aGUgcG9v bC4NCg0KT2xlZw0KDQoNCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQ0KVG8gdW5zdWJzY3JpYmUsIGUtbWFpbDogaHR0 cGNsaWVudC11c2Vycy11bnN1YnNjcmliZUBoYy5hcGFjaGUub3JnDQpGb3IgYWRkaXRpb25hbCBj b21tYW5kcywgZS1tYWlsOiBodHRwY2xpZW50LXVzZXJzLWhlbHBAaGMuYXBhY2hlLm9yZw0KDQo= From [email protected] Tue Apr 05 16:53:56 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83922 invoked from network); 5 Apr 2011 16:53:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Apr 2011 16:53:56 -0000 Received: (qmail 44798 invoked by uid 500); 5 Apr 2011 16:53:55 -0000 Delivered-To: [email protected] Received: (qmail 44735 invoked by uid 500); 5 Apr 2011 16:53:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 44654 invoked by uid 99); 5 Apr 2011 16:53:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Apr 2011 16:53:46 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO ok2cons2.nine.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Apr 2011 16:53:40 +0000 Received: from [161.129.204.104] (unknown [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ok2cons2.nine.ch (Postfix) with ESMTPSA id 80B58245E3B9 for <[email protected]>; Tue, 5 Apr 2011 18:53:11 +0200 (CEST) References: <688D8B269DCBDE44A466DC43D403624C014959E1BF@pfi-mail> <1302019071.29179.21.camel@ubuntu> <688D8B269DCBDE44A466DC43D403624C014959E1C1@pfi-mail> User-Agent: K-9 Mail for Android In-Reply-To: <688D8B269DCBDE44A466DC43D403624C014959E1C1@pfi-mail> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: RE: Connection Pool Event Listeners From: Oleg Kalnichevski <[email protected]> Date: Tue, 05 Apr 2011 18:52:32 +0200 To: HttpClient User Discussion <[email protected]> Message-ID: <[email protected]> Neil Chaudhuri <[email protected]> wrote: >Unfortunately, we are finding that connections that are reused from the >pool contain cookie values that remain from prior connections. That is >why I was curious if there was some particular approach recommended for >making sure cookies don't persist among requests. > >The result so far has been duplicate cookie names with different values >in subsequent requests after the first. > >Thanks. Just in case I failed to make that clear: persistent http connections CANNOT have cookies. They just can't. Cookies are embedded in messages, not connections. Your problem has nothing to do with connection pooling. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 07 12:55:15 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13812 invoked from network); 7 Apr 2011 12:55:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Apr 2011 12:55:15 -0000 Received: (qmail 53040 invoked by uid 500); 7 Apr 2011 12:55:15 -0000 Delivered-To: [email protected] Received: (qmail 52963 invoked by uid 500); 7 Apr 2011 12:55:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 52955 invoked by uid 99); 7 Apr 2011 12:55:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Apr 2011 12:55:14 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-ew0-f51.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Apr 2011 12:55:05 +0000 Received: by ewy6 with SMTP id 6so735363ewy.10 for <[email protected]>; Thu, 07 Apr 2011 05:54:45 -0700 (PDT) Received: by 161.129.204.104 with SMTP id n19mr312673ebp.91.1302180885080; Thu, 07 Apr 2011 05:54:45 -0700 (PDT) Received: from gmail.com (541FD7B9.cm-5-8d.dynamic.ziggo.nl [161.129.204.104]) by mx.google.com with ESMTPS id r48sm1034378eei.23.2161.129.204.104.54.42 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 07 Apr 2011 05:54:43 -0700 (PDT) Date: Thu, 7 Apr 2011 14:54:39 +0200 From: Filip de Waard <[email protected]> To: [email protected] Subject: problem sending a request with cookies Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Checked: Checked by ClamAV on apache.org Hello, I'm trying to send a request that includes a cookie with the 4.1.1 version of the HttpClient library. This is my implementation in Clojure: (defn get [uri & cookies] (let [client (DefaultHttpClient.) cookie-store (BasicCookieStore.)] (doseq [cookie cookies] (let [cookie (BasicClientCookie. (:name cookie) (:value cookie))] (.setExpiryDate cookie (to-date (clj-time/plus (clj-time/now) (clj-time/months 2)))) (.addCookie cookie-store cookie))) (println (.getCookies (.getCookieStore client))) (.setCookieStore client cookie-store) (println (.getCookies (.getCookieStore client))) (.execute client (HttpGet. uri) (BasicResponseHandler.)))) This is the output of a request to a local page that just prints the cookies. As you can see, the local code seems to know there is a cookie, but it never reaches the server: sp.crawl=> (get "http://localhost:5000/cookies" {:name "foo" :value "baz"}) #<ArrayList []> #<ArrayList [[version: 0][name: foo][value: baz][domain: null][path: null] [expiry: Tue Jun 07 14:19:17 CEST 2011]]> "{}" I'd really appreciate any pointers as to what I'm doing wrong. Sincerely, F.M. (Filip) de Waard / fmw --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 08 19:43:01 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88775 invoked from network); 8 Apr 2011 19:43:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Apr 2011 19:43:01 -0000 Received: (qmail 66378 invoked by uid 500); 8 Apr 2011 19:43:01 -0000 Delivered-To: [email protected] Received: (qmail 66322 invoked by uid 500); 8 Apr 2011 19:43:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 66314 invoked by uid 99); 8 Apr 2011 19:43:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Apr 2011 19:43:00 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-vw0-f51.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Apr 2011 19:42:52 +0000 Received: by vws20 with SMTP id 20so2869375vws.10 for <[email protected]>; Fri, 08 Apr 2011 12:42:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=4NKkNoT0U6pJfnZQDNPvi9h9tRMBrVl389cbJldcuF8=; b=NaNnPwkZ1ig3Y87+UXEN2xd6DWiV1xFUHfoLhUwRRx32hO2irgt/xbualTLc6IZpmL n9cZWVgZEvyRhfiv3Tv2Ej37iMtXwk9VBXdXxRew8x83ABlcg7ppiMplz/Ffnj78XkFA vSoPJtIAdJlmoMdBMsvJ6gdIKpMybNC6jBzfA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=v/zaCCsPW6bbGt2MEVVuXHZsmfkwh2rdOzy+wpiExxaDqQElMlBjh1q4hDdrj6TB86 keA+i77sAksKroQUoI7p1QAfot8rfYwDICf/Z9RRsxd3SWf15SVQWPe2qT3h/SqZoQuw uVIcovXehLPKO9GQAKQtyIwaZXF4ye05XiCUY= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id zr6mr131571vdb.6.1302291751761; Fri, 08 Apr 2011 12:42:31 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Fri, 8 Apr 2011 12:42:31 -0700 (PDT) Date: Fri, 8 Apr 2011 20:42:31 +0100 Message-ID: <[email protected]> Subject: HttpConnectionMetrics - header and total size From: sebb <[email protected]> To: HttpClient User Discussion <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org In JMeter, we would like to be able to calculate the size of an HttpResponse before Gzip and chunk decoding, so we're looking at using HttpConnectionMetrics. AFAICT, the metrics object can only be obtained after obtaining the HttpResponse, i.e. after calling HttpClient#execute(). Now it looks as though getReceivedBytesCount() at this point will include all the headers, but no content - is that guaranteed? This would be very useful if that is the case. Calling getReceivedBytesCount() after fully processing the content shows the total size of the response in bytes, which is another metric we want. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 11 10:31:51 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 62190 invoked from network); 11 Apr 2011 10:31:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Apr 2011 10:31:51 -0000 Received: (qmail 56810 invoked by uid 500); 11 Apr 2011 10:31:50 -0000 Delivered-To: [email protected] Received: (qmail 56673 invoked by uid 500); 11 Apr 2011 10:31:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 56665 invoked by uid 99); 11 Apr 2011 10:31:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 10:31:49 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO ok2cons2.nine.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 10:31:41 +0000 Received: from [161.129.204.104] (600)828-8265.dclient.hispeed.ch [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ok2cons2.nine.ch (Postfix) with ESMTPSA id 8967D245E3FB for <[email protected]>; Mon, 11 Apr 2011 12:31:20 +0200 (CEST) Subject: Re: HttpConnectionMetrics - header and total size From: Oleg Kalnichevski <[email protected]> To: HttpClient User Discussion <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain; charset="UTF-8" Date: Mon, 11 Apr 2011 12:31:16 +0200 Message-ID: <1302517876.1928.2.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Fri, 2011-04-08 at 20:42 +0100, sebb wrote: > In JMeter, we would like to be able to calculate the size of an > HttpResponse before Gzip and chunk decoding, so we're looking at using > HttpConnectionMetrics. > > AFAICT, the metrics object can only be obtained after obtaining the > HttpResponse, i.e. after calling HttpClient#execute(). > Yes, as long as you do not want to mess with a custom HttpRequestDirector implementation > Now it looks as though getReceivedBytesCount() at this point will > include all the headers, but no content - is that guaranteed? Yes, as long as there are no protocol interceptors in the protocol processing chain that act on response content. Oleg > This would be very useful if that is the case. > > Calling getReceivedBytesCount() after fully processing the content > shows the total size of the response in bytes, which is another metric > we want. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 11 19:58:09 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37720 invoked from network); 11 Apr 2011 19:58:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Apr 2011 19:58:09 -0000 Received: (qmail 59642 invoked by uid 500); 11 Apr 2011 19:58:09 -0000 Delivered-To: [email protected] Received: (qmail 59594 invoked by uid 500); 11 Apr 2011 19:58:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 59586 invoked by uid 99); 11 Apr 2011 19:58:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 19:58:08 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-pw0-f51.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 19:58:01 +0000 Received: by pwi9 with SMTP id 9so2009100pwi.10 for <[email protected]>; Mon, 11 Apr 2011 12:57:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=c9rQ9e19uMHIoACRjQz5B1xW1qmJ3aUTWeaP2lgII+U=; b=EySXjGMP7bbnAFyj9SdxbhAcA5JTLyc1PPTka4zmM4XtOhStm7owVChsY1a/7JHrMD yNcHdLXs42Sahkz05tRDNQET9/3dXoKkqyfxruSaNhQRnQMXeHhV8zXxc7877U+NfbW8 ByCBqT8MWM6xozJyISyyL+mGfg03eFCns6yjY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=M8D2QdqcRhGfo0UClp50Ng4uLi2v9MCG8Y+yKcrYG6k+ibDcMSXw/7t/fc2CQaQqZz k1Cgr8Nl6pcphgZoBzj80HovE/IGTb+RoSSpvp2G5WPGS/wLfH7jBMjOdCIhYgZOZgcg hoNIl4lK5G5dyMX4al09z8P8BYHWhzo12yyDc= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id w5mr889012wfi.40.1302551859774; Mon, 11 Apr 2011 12:57:39 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 11 Apr 2011 12:57:39 -0700 (PDT) Date: Mon, 11 Apr 2011 12:57:39 -0700 Message-ID: <[email protected]> Subject: How To Use RedirectHandler From: Andrew n marshall <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=001636c5bee9e748a004a0a9fc88 X-Virus-Checked: Checked by ClamAV on apache.org --001636c5bee9e748a004a0a9fc88 Content-Type: text/plain; charset=ISO-8859-1 I need to get the intermediate headers during a redirect, but I can't figure out how to use RedirectHandler interface. What method takes in its implementation? Andrew --001636c5bee9e748a004a0a9fc88-- From [email protected] Tue Apr 12 08:49:13 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77999 invoked from network); 12 Apr 2011 08:49:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Apr 2011 08:49:13 -0000 Received: (qmail 65577 invoked by uid 500); 12 Apr 2011 08:49:12 -0000 Delivered-To: [email protected] Received: (qmail 65461 invoked by uid 500); 12 Apr 2011 08:49:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 65453 invoked by uid 99); 12 Apr 2011 08:49:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Apr 2011 08:49:09 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO ok2cons2.nine.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Apr 2011 08:49:00 +0000 Received: from [161.129.204.104] (600)828-8265.dclient.hispeed.ch [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ok2cons2.nine.ch (Postfix) with ESMTPSA id 016A6245E3FC for <[email protected]>; Tue, 12 Apr 2011 10:48:40 +0200 (CEST) Subject: Re: How To Use RedirectHandler From: Oleg Kalnichevski <[email protected]> To: HttpClient User Discussion <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain; charset="UTF-8" Date: Tue, 12 Apr 2011 10:48:36 +0200 Message-ID: <1302598116.17109.3.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Mon, 2011-04-11 at 12:57 -0700, Andrew n marshall wrote: > I need to get the intermediate headers during a redirect, but I can't figure > out how to use RedirectHandler interface. What method takes in its > implementation? > > > Andrew Andrew, Please see http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/client/RedirectHandler.html RedirectHandler is basically a strategy object that (1) can decide whether or not a response message represents a redirect (2) extract the redirect location from the response message. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 12 15:01:38 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78187 invoked from network); 12 Apr 2011 15:01:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Apr 2011 15:01:38 -0000 Received: (qmail 80286 invoked by uid 500); 12 Apr 2011 15:01:38 -0000 Delivered-To: [email protected] Received: (qmail 80228 invoked by uid 500); 12 Apr 2011 15:01:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 80220 invoked by uid 99); 12 Apr 2011 15:01:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Apr 2011 15:01:37 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-pz0-f51.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Apr 2011 15:01:30 +0000 Received: by pzk26 with SMTP id 26so2259315pzk.10 for <[email protected]>; Tue, 12 Apr 2011 08:01:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=J49ywItsJzhn6cxZOa0cW56CjK9Op3KibcnSCi7DTrQ=; b=Lh/pGw9pxQhcjznEOWgU6zmb0s+ky6AhKuABI2F8yt4FhZDyjIDVbNKVrVGfbbqrKO oHpO3W6xmfbXTR+xEgnv7UfiN6ENar9hUJOaIIJGfXODzJXvQSq+0zD0g5I9DFA++Ws8 hRGTRX5gbPysCM+Xg1iEpGR0a48r9p2IFL4gY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=w3KMCHXxmr+bV3kmVdSouLexmfInTtApScNB/s6XRLIZflwG88PHhNqwk6do56TMdW kq4xpsoghlBP+iqyjCT3FcoK7Kl1Jj4JuEPRI/ehgQBbc76d1UFqx5AM7a28l6T8nzTT woUKxzBwlgv1vdcMo3zYePV1lduJyjSlO9F3Q= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id y28mr6521525wfi.211.1302620470558; Tue, 12 Apr 2011 08:01:10 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 12 Apr 2011 08:01:10 -0700 (PDT) In-Reply-To: <1302598116.17109.3.camel@ubuntu> References: <[email protected]> <1302598116.17109.3.camel@ubuntu> Date: Tue, 12 Apr 2011 08:01:10 -0700 Message-ID: <[email protected]> Subject: Re: How To Use RedirectHandler From: Andrew n marshall <[email protected]> To: HttpClient User Discussion <[email protected]> Content-Type: multipart/alternative; boundary=00504502cf1a6cc13704a0b9f6f8 --00504502cf1a6cc13704a0b9f6f8 Content-Type: text/plain; charset=ISO-8859-1 What the docs make no reference to (and my specific question below) was what method takes in a RedirectHandler implementation. Eventually I found the method on the DefaultHttpClient, but it seems strange to declare the interface in the client package, with out declare a method to use it in that package. I know the point is mute, considering it is deprecated. However, I'm stuck on an older version of HttpClient included in Android. On Tue, Apr 12, 2011 at 1:48 AM, Oleg Kalnichevski <[email protected]> wrote: > On Mon, 2011-04-11 at 12:57 -0700, Andrew n marshall wrote: > > I need to get the intermediate headers during a redirect, but I can't > figure > > out how to use RedirectHandler interface. What method takes in its > > implementation? > > > > > > Andrew > > Andrew, > > Please see > > http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/client/RedirectHandler.html > > RedirectHandler is basically a strategy object that (1) can decide > whether or not a response message represents a redirect (2) extract the > redirect location from the response message. > > Oleg > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --00504502cf1a6cc13704a0b9f6f8-- From [email protected] Fri Apr 15 16:09:18 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54492 invoked from network); 15 Apr 2011 16:09:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Apr 2011 16:09:18 -0000 Received: (qmail 89188 invoked by uid 500); 15 Apr 2011 16:09:18 -0000 Delivered-To: [email protected] Received: (qmail 89137 invoked by uid 500); 15 Apr 2011 16:09:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 89129 invoked by uid 99); 15 Apr 2011 16:09:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Apr 2011 16:09:17 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO sam.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Apr 2011 16:09:10 +0000 Received: from isper.nabble.com ([161.129.204.104]) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from <[email protected]>) id 1QAlZh-0006Bp-F9 for [email protected]; Fri, 15 Apr 2011 09:08:49 -0700 Message-ID: <[email protected]> Date: Fri, 15 Apr 2011 09:08:49 -0700 (PDT) From: Sunil Linga <[email protected]> To: [email protected] Subject: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org Hello All, I am getting below exception while connecting to an URL over SSL using httpclient 3 from our application running on WAS 6 and j2sdk 1.4. [4/15/11 11:16:15:103 EDT] 00000038 SystemErr R javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated at com.ibm.jsse2.bm.getPeerCertificateChain(bm.java:52) at funb.eprofile.common.StrictSSLProtocolSocketFactory.verifyHostname(Unknown Source) at funb.eprofile.common.StrictSSLProtocolSocketFactory.createSocket(Unknown Source) at org.apache.commons.httpclient.HttpConnection.tunnelCreated(HttpConnection.java:785) at org.apache.commons.httpclient.HttpMethodDirector.executeConnect(HttpMethodDirector.java:513) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:390) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) at org.apache.commons.httpclient.HttpClient.executeMethod( Strangely, the same piece of code is working fine when ran as a stand alone outside the application. Below is the code snippet I am using.. StrictSSLProtocolSocketFactory stricthttps = new StrictSSLProtocolSocketFactory(true); stricthttps.setDN("CN=***, OU=***, OU=***, OU=***, O=***, C=***, SERIALNUMBER=***"); Protocol.registerProtocol("https", new Protocol("https", (ProtocolSocketFactory)stricthttps, Integer.parseInt("443"))); HttpClient httpclient = new HttpClient(); httpclient.getHostConfiguration().setProxy(host, port); httpreq = new PostMethod("https://xxxx.com/contextpath"); StringRequestEntry myString = new StringRequestEntry(message); httpreq.setRequestEntity(myString); httpclient.execteMethod(httpreq); Any help in this is greatly appreciated! Thanks in advanced! Sunil. -- View this message in context: http://old.nabble.com/javax.net.ssl.SSLPeerUnverifiedException%3A-peer-not-authenticated-tp31407173p31407173.html Sent from the HttpClient-User mailing list [email protected]. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 17 14:34:00 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33194 invoked from network); 17 Apr 2011 14:34:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Apr 2011 14:34:00 -0000 Received: (qmail 28447 invoked by uid 500); 17 Apr 2011 14:34:00 -0000 Delivered-To: [email protected] Received: (qmail 28401 invoked by uid 500); 17 Apr 2011 14:33:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 28393 invoked by uid 99); 17 Apr 2011 14:33:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Apr 2011 14:33:59 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-vx0-f179.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Apr 2011 14:33:51 +0000 Received: by vxi40 with SMTP id 40so3020697vxi.10 for <[email protected]>; Sun, 17 Apr 2011 07:33:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=En0GyXzARcrW0OQK6Mq/7z7SR3lyu4hBZn+nBnn/eUg=; b=LS+Zu6irUDuEGP3qCQOCuNWxQ6tLSzPxc/BmEgQ47Zuo1T/074iZO6XWDwu1E4lBKK EmZ9XNQDbhNeLBnAOXvm3LuX1vA7O9CdsphE9bTr/KtYfQWzOav753ahMN72lmNv1IJc qqpitRLwkFR3pWbev2968I8kySPSK8nmxXu5c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=TEGczmY8kAS3imyoMUWRInRmDkvnawk0H9L0SPCMsHBxsXu2ErPlGR3OwDVPH60PHA iI19SKyhspeaqCwIlUk2g5T+r6+5YtZKyWnk/xsA+hF0kVGJP+p6vVcDH5tExMtvQB1E /KrV1Td55+d1P04U2+z8GguQcZkJ3mHIceJjk= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id bl17mr5725402vdb.207.1303050810869; Sun, 17 Apr 2011 07:33:30 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sun, 17 Apr 2011 07:33:30 -0700 (PDT) Date: Sun, 17 Apr 2011 20:03:30 +0530 Message-ID: <[email protected]> Subject: Issues accessing NTLM server using HTTPClient 4.1 From: Dilshan Edirisuriya <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=20cf307d03d2b4c6c304a11e280a X-Virus-Checked: Checked by ClamAV on apache.org --20cf307d03d2b4c6c304a11e280a Content-Type: text/plain; charset=ISO-8859-1 Hi , I have a web page that need to access with NTLM authentication on my local machine and i can see the expected behavior with Web browsers. But when I try to access same page using HTTPClient 4.1 I'm getting following exception. Apr 17, 2011 7:18:23 PM org.apache.http.client.protocol.RequestTargetAuthentication process SEVERE: Authentication error: Invalid name provided (Mechanism level: Could not load configuration file C:\Windows\krb5.ini (The system cannot find the file specified)) Status acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b HTTP/1.1 401 Unauthorized This is my sample code and it exactly same as example given in here http://hc.apache.org/httpcomponents-client-ga/tutorial/html/authentication.html#ntlm DefaultHttpClient httpclient = new DefaultHttpClient(); NTCredentials creds = new NTCredentials("user", "pwd", "machin-name", "machin-name"); httpclient.getCredentialsProvider().setCredentials(AuthScope.ANY, creds); Host target = new HttpHost("localhost", 9090, "http"); HttpContext localContext = new BasicHttpContext(); // Execute a cheap method first. This will trigger NTLM authentication HttpGet httpget = new HttpGet("/hello1"); HttpResponse response = httpclient.execute(target, httpget, localContext); HttpEntity entity = response.getEntity(); System.out.println(" Status acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b "+ response.getStatusLine()); Further analyzing i found there is no 'Authorization:" header in outgoing messages where this header is available with browser access. Please note that I used same name/password/Domain for browser access too. Appreciate for any help to resolve this ? Thank you , Dilshan --20cf307d03d2b4c6c304a11e280a-- From [email protected] Sun Apr 17 16:15:17 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46023 invoked from network); 17 Apr 2011 16:15:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Apr 2011 16:15:17 -0000 Received: (qmail 81399 invoked by uid 500); 17 Apr 2011 16:15:16 -0000 Delivered-To: [email protected] Received: (qmail 81366 invoked by uid 500); 17 Apr 2011 16:15:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 81358 invoked by uid 99); 17 Apr 2011 16:15:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Apr 2011 16:15:16 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO ok2cons2.nine.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Apr 2011 16:15:07 +0000 Received: from [161.129.204.104] (600)828-8265.dclient.hispeed.ch [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ok2cons2.nine.ch (Postfix) with ESMTPSA id B1F9A245E401 for <[email protected]>; Sun, 17 Apr 2011 18:14:47 +0200 (CEST) Subject: Re: Issues accessing NTLM server using HTTPClient 4.1 From: Oleg Kalnichevski <[email protected]> To: HttpClient User Discussion <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain; charset="UTF-8" Date: Sun, 17 Apr 2011 18:14:42 +0200 Message-ID: <1303056882.13768.8.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Sun, 2011-04-17 at 20:03 +0530, Dilshan Edirisuriya wrote: > Hi , > > I have a web page that need to access with NTLM authentication on my local > machine and i can see the expected behavior with Web browsers. But when I > try to access same page using HTTPClient 4.1 I'm getting following > exception. > > > Apr 17, 2011 7:18:23 PM > org.apache.http.client.protocol.RequestTargetAuthentication process > SEVERE: Authentication error: Invalid name provided (Mechanism level: Could > not load configuration file C:\Windows\krb5.ini (The system cannot find the > file specified)) > Status acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b HTTP/1.1 401 Unauthorized > > Dilshan HttpClient chooses SPNEGO/kerberos auth scheme over NTLM per default in case the server supports both, as SPNEGO/kerberos is considered somewhat more secure than NTLM. You can alter the order of preferred auth schemes by using 'http.auth.target-scheme-pref' or 'http.auth.proxy-scheme-pref' parameters: http://hc.apache.org/httpcomponents-client-ga/tutorial/html/authentication.html#d4e869 Just a general remark: when troubleshooting problems with HttpClient a wire / context log of the HTTP session exhibiting the problem helps a great deal. Oleg > This is my sample code and it exactly same as example given in here > http://hc.apache.org/httpcomponents-client-ga/tutorial/html/authentication.html#ntlm > > DefaultHttpClient httpclient = new DefaultHttpClient(); > > NTCredentials creds = new NTCredentials("user", "pwd", "machin-name", > "machin-name"); > httpclient.getCredentialsProvider().setCredentials(AuthScope.ANY, creds); > > Host target = new HttpHost("localhost", 9090, "http"); > HttpContext localContext = new BasicHttpContext(); > > // Execute a cheap method first. This will trigger NTLM authentication > HttpGet httpget = new HttpGet("/hello1"); > HttpResponse response = httpclient.execute(target, httpget, > localContext); > HttpEntity entity = response.getEntity(); > System.out.println(" Status acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b "+ response.getStatusLine()); > > > Further analyzing i found there is no 'Authorization:" header in outgoing > messages where this header is available with browser access. Please note > that I used same name/password/Domain for browser access too. > > Appreciate for any help to resolve this ? > > Thank you , > > Dilshan --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 18 10:24:41 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 50900 invoked from network); 18 Apr 2011 10:24:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Apr 2011 10:24:41 -0000 Received: (qmail 54686 invoked by uid 500); 18 Apr 2011 10:24:40 -0000 Delivered-To: [email protected] Received: (qmail 54346 invoked by uid 500); 18 Apr 2011 10:24:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 54326 invoked by uid 99); 18 Apr 2011 10:24:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Apr 2011 10:24:32 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-vx0-f179.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Apr 2011 10:24:26 +0000 Received: by vxi40 with SMTP id 40so3399424vxi.10 for <[email protected]>; Mon, 18 Apr 2011 03:24:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=71WtjvazZ/ebgwLYa5PKOZHnC57s+Xpe59IwxczVgpI=; b=QjEq2U1vDybXeLmcwGwER2tTAFU12iiITwtDRaRqY3Axt8DrjNXqpsFRbutFFX7G2K g8s74uSjFAE18gZUkMcxk/w+FzLM1xK6zzNFWq0GND/xdwkJkx+G1wbowbBTenE22+z9 52XF21AeknBcSZf1HeAwc9EIlBX/iAyY/of0M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=DlDGlLgNv3+CofUOmuQJ2dUepoRK7a1bC4EQFzjKE6a1dMCxMFcVhVn5Vl8VWAtpN8 bISOYKweimYhqiCInhaROKgMRuCESdHFqw5ISf4Ds/xGDaEKalq5QTHAkBbUZebeDADF xwyyUqR6IapyBMyJfdiELI0j4RL60KypKzwZs= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id o8mr1465414vch.36.1303122245867; Mon, 18 Apr 2011 03:24:05 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 18 Apr 2011 03:24:05 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Mon, 18 Apr 2011 11:24:05 +0100 Message-ID: <[email protected]> Subject: Re: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated From: sebb <[email protected]> To: HttpClient User Discussion <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 15 April 2011 17:08, Sunil Linga <[email protected]> wrote: > > Hello All, > > I am getting below exception while connecting to an URL over SSL using > httpclient 3 from our application running on WAS 6 and j2sdk 1.4. > > [4/15/11 11:16:15:103 EDT] 00000038 SystemErr =A0 =A0 R > javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated > =A0 =A0 =A0 =A0 =A0 [email protected](bm.ja= va:52) > =A0 =A0 =A0 =A0 =A0 =A0 at > funb.eprofile.common.StrictSSLProtocolSocketFactory.verifyHostname(Unknow= n > Source) > =A0 =A0 =A0 =A0 =A0 =A0 at > funb.eprofile.common.StrictSSLProtocolSocketFactory.createSocket(Unknown > Source) > =A0 =A0 =A0 =A0 =A0 =A0 at > org.apache.commons.httpclient.HttpConnection.tunnelCreated(HttpConnection= .java:785) > =A0 =A0 =A0 =A0 =A0 =A0 at > org.apache.commons.httpclient.HttpMethodDirector.executeConnect(HttpMetho= dDirector.java:513) > =A0 =A0 =A0 =A0 =A0 =A0 at > org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMet= hodDirector.java:390) > =A0 =A0 =A0 =A0 =A0 =A0 at > org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethod= Director.java:170) > =A0 =A0 =A0 =A0 =A0 =A0 at > org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:39= 6) > =A0 =A0 =A0 =A0 =A0 [email protected]= teMethod( > > Strangely, the same piece of code is working fine when ran as a stand alo= ne > outside the application. > > Below is the code snippet I am using.. > > StrictSSLProtocolSocketFactory stricthttps =3D new > StrictSSLProtocolSocketFactory(true); > stricthttps.setDN("CN=3D***, OU=3D***, OU=3D***, OU=3D***, O=3D***, C=3D*= **, > SERIALNUMBER=3D***"); > Protocol.registerProtocol("https", new Protocol("https", > (ProtocolSocketFactory)stricthttps, Integer.parseInt("443"))); > HttpClient httpclient =3D new HttpClient(); > httpclient.getHostConfiguration().setProxy(host, port); > httpreq =A0=3D new PostMethod("https://xxxx.com/contextpath"); > StringRequestEntry myString =3D new StringRequestEntry(message); > httpreq.setRequestEntity(myString); > > httpclient.execteMethod(httpreq); > > Any help in this is greatly appreciated! StrictSSLProtocolSocketFactory is not a Commons HttpClient class, so we cannot help you here. I suggest you ask the providers of the class what the error means. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 18 11:52:56 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54047 invoked from network); 18 Apr 2011 11:52:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Apr 2011 11:52:55 -0000 Received: (qmail 49457 invoked by uid 500); 18 Apr 2011 11:52:55 -0000 Delivered-To: [email protected] Received: (qmail 49433 invoked by uid 500); 18 Apr 2011 11:52:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 49425 invoked by uid 99); 18 Apr 2011 11:52:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Apr 2011 11:52:55 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO ok2cons2.nine.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Apr 2011 11:52:47 +0000 Received: from [161.129.204.104] (unknown [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ok2cons2.nine.ch (Postfix) with ESMTPSA id ECE92245E402 for <[email protected]>; Mon, 18 Apr 2011 13:52:26 +0200 (CEST) Subject: Re: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated From: Oleg Kalnichevski <[email protected]> To: HttpClient User Discussion <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Content-Type: text/plain; charset="UTF-8" Date: Mon, 18 Apr 2011 13:52:23 +0200 Message-ID: <1303127543.2118.10.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Mon, 2011-04-18 at 11:24 +0100, sebb wrote: > On 15 April 2011 17:08, Sunil Linga <[email protected]> wrote: > > > > Hello All, > > > > I am getting below exception while connecting to an URL over SSL using > > httpclient 3 from our application running on WAS 6 and j2sdk 1.4. > > > > [4/15/11 11:16:15:103 EDT] 00000038 SystemErr R > > javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated > > at com.ibm.jsse2.bm.getPeerCertificateChain(bm.java:52) > > at > > funb.eprofile.common.StrictSSLProtocolSocketFactory.verifyHostname(Unknown > > Source) > > at > > funb.eprofile.common.StrictSSLProtocolSocketFactory.createSocket(Unknown > > Source) > > at > > org.apache.commons.httpclient.HttpConnection.tunnelCreated(HttpConnection.java:785) > > at > > org.apache.commons.httpclient.HttpMethodDirector.executeConnect(HttpMethodDirector.java:513) > > at > > org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:390) > > at > > org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) > > at > > org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) > > at org.apache.commons.httpclient.HttpClient.executeMethod( > > > > Strangely, the same piece of code is working fine when ran as a stand alone > > outside the application. > > > > Below is the code snippet I am using.. > > > > StrictSSLProtocolSocketFactory stricthttps = new > > StrictSSLProtocolSocketFactory(true); > > stricthttps.setDN("CN=***, OU=***, OU=***, OU=***, O=***, C=***, > > SERIALNUMBER=***"); > > Protocol.registerProtocol("https", new Protocol("https", > > (ProtocolSocketFactory)stricthttps, Integer.parseInt("443"))); > > HttpClient httpclient = new HttpClient() > > httpclient.getHostConfiguration().setProxy(host, port); > > httpreq = new PostMethod("https://xxxx.com/contextpath"); > > StringRequestEntry myString = new StringRequestEntry(message); > > httpreq.setRequestEntity(myString); > > > > httpclient.execteMethod(httpreq); > > > > Any help in this is greatly appreciated! > > StrictSSLProtocolSocketFactory is not a Commons HttpClient class, so > we cannot help you here. > > I suggest you ask the providers of the class what the error means. > This is a class from HC 3.x contrib package that I wrote a looong time ago and which is distributed 'as is' without official support by the project. The error means incorrect that SSL context configuration is wrong (certificate sent by the server is not trusted) and has nothing to do with HTTP or HttpClient. Oleg > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 18 14:21:46 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38180 invoked from network); 18 Apr 2011 14:21:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Apr 2011 14:21:46 -0000 Received: (qmail 38804 invoked by uid 500); 18 Apr 2011 14:21:46 -0000 Delivered-To: [email protected] Received: (qmail 38769 invoked by uid 500); 18 Apr 2011 14:21:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 38761 invoked by uid 99); 18 Apr 2011 14:21:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Apr 2011 14:21:46 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mx1.compuware.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Apr 2011 14:21:40 +0000 Received: from nasa-dtw-ex009.nasa.cpwr.corp (unknown [161.129.204.104]) by mx1.compuware.com (Postfix) with ESMTP id 2B1D272D5CA; Mon, 18 Apr 2011 14:21:20 +0000 (GMT) Importance: normal Priority: normal Received: from nasa-dtw-ex003.nasa.cpwr.corp ([161.129.204.104]) by nasa-dtw-ex009.nasa.cpwr.corp with Microsoft SMTPSVC(600)828-8265); Mon, 18 Apr 2011 10:21:19 -0400 Received: from nasa-dtw-ex004.nasa.cpwr.corp ([161.129.204.104]) by nasa-dtw-ex003.nasa.cpwr.corp with Microsoft SMTPSVC(600)828-8265); Mon, 18 Apr 2011 10:21:19 -0400 x-mimeole: Produced By Microsoft MimeOLE V6.00.3790.4325 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: RE: Locking problems of [email protected] Date: Mon, 18 Apr 2011 10:21:18 -0400 Message-ID: <[email protected]> In-Reply-To: <1269443877.9057.18.camel@ubuntu> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Locking problems of [email protected] Thread-Index: AcrLZUhz/+YFMGm+TTWFkm3DznSqbUyboHNA References: <[email protected]> <1269443877.9057.18.camel@ubuntu> From: "Langston, Jim" <[email protected]> To: "HttpClient User Discussion" <[email protected]> Cc: "Sandeep Khunteta" <[email protected]>, <[email protected]> X-OriginalArrivalTime: 18 Apr 2011 14:21:19.0288 (UTC) FILETIME=[E2A98B80:01CBFDD3] Hi all,=20 I=E2=80=99m in this exact scenario, the server seems to be sitting, = waiting for a response, but not sending anything else, even after = several hours; is there a resolution to this? Can I set a timeout ? My sequence on the = thread dump: "Thread-23" daemon prio=3D10 tid=3D0x080a9000 nid=3D0x553e runnable = [0xb3dba000] java.lang.Thread.State: RUNNABLE at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at = java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at = java.io.BufferedInputStream.read(BufferedInputStream.java:237) - locked <0x3c90af40> (a java.io.BufferedInputStream) at = org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78) at = org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106) at = org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java= :1116) at = org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConn= ectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413) at = org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBas= e.java:1973) at = org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.= java:1735) at = org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:= 1098) at = org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMet= hodDirector.java:398) at = org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethod= Director.java:171) at = org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:39= 7) at = org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:34= 6) Thanks=20 Jim /////////////////////// Jim Langston Technical Consultant [email protected] (600)828-8265 (Office) (600)828-8265 (Cell) The contents of this e-mail are intended for the named addressee only. = It contains information that may be confidential. Unless you are the = named addressee or an authorized designee, you may not copy or use it, = or disclose it to anyone else. If you received it in error please notify = us immediately and then destroy it. From: Oleg Kalnichevski [mailto:[email protected]]=20 Sent: Wednesday, March 24, 2010 11:18 AM To: HttpClient User Discussion Cc: Sandeep Khunteta; [email protected] Subject: Re: Locking problems of SocketInputSteam at = org.apache.commons.httpclient.HttpParser.readRawLine On Wed, 2010-03-24 at 10:41 +0530, Ruchi Goel wrote: > Hi, > We are using commons-httpclient-3.0.jar for one of our yahoo = properties. The application is running on jetty. In production, we are = seeing the lock problems as follows : >=20 >=20 > btpool0-11554 runnable >=20 > btpool0-11597 is waiting on this thread >=20 > btpool0-11614 is waiting on this thread >=20 > "btpool0-11554" prio=3D1 tid=3D0x0000002c0275f7c0 nid=3D0x4b62 = runnable [0x0000000041f4a000..0x0000000041f4dab0] >=20 > at java.net.SocketInputStream.socketRead0(Native Method) >=20 > at = java.net.SocketInputStream.read(SocketInputStream.java:129) >=20 > at = java.io.BufferedInputStream.fill(BufferedInputStream.java:218) >=20 > at = java.io.BufferedInputStream.read(BufferedInputStream.java:235) >=20 > - locked <0x0000002b0835ddf0> (a = java.io.BufferedInputStream) >=20 > at = org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:77) >=20 > at = org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:105) >=20 > at = org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java= :1115) >=20 > at = org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConn= ectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1373) >=20 > at = org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBas= e.java:1832) >=20 > at = org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.= java:1590) >=20 > at = org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:= 995) >=20 > at = org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMet= hodDirector.java:397) > at >=20 > There are many instances of such thread lock areas in the thread dump. > Any pointers/help appreciated. >=20 The thread is blocked in a read operation waiting for input. Apparently the server is not sending data. Oleg > Regards, > Ruchi >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 18 18:10:50 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17724 invoked from network); 18 Apr 2011 18:10:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Apr 2011 18:10:50 -0000 Received: (qmail 15472 invoked by uid 500); 18 Apr 2011 18:10:50 -0000 Delivered-To: [email protected] Received: (qmail 15448 invoked by uid 500); 18 Apr 2011 18:10:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 15440 invoked by uid 99); 18 Apr 2011 18:10:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Apr 2011 18:10:50 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mx1.compuware.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Apr 2011 18:10:45 +0000 Received: from nasa-dtw-ex009.nasa.cpwr.corp (unknown [161.129.204.104]) by mx1.compuware.com (Postfix) with ESMTP id 3A03F72D674 for <[email protected]>; Mon, 18 Apr 2011 18:10:20 +0000 (GMT) Importance: normal Priority: normal Received: from nasa-dtw-ex003.nasa.cpwr.corp ([161.129.204.104]) by nasa-dtw-ex009.nasa.cpwr.corp with Microsoft SMTPSVC(600)828-8265); Mon, 18 Apr 2011 14:10:19 -0400 Received: from nasa-dtw-ex004.nasa.cpwr.corp ([161.129.204.104]) by nasa-dtw-ex003.nasa.cpwr.corp with Microsoft SMTPSVC(600)828-8265); Mon, 18 Apr 2011 14:09:36 -0400 x-mimeole: Produced By Microsoft MimeOLE V6.00.3790.4325 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: RE: Locking problems of [email protected] Date: Mon, 18 Apr 2011 14:09:35 -0400 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Locking problems of [email protected] Thread-Index: AcrLZUhz/+YFMGm+TTWFkm3DznSqbUyboHNAAAfipiA= References: <[email protected]> <1269443877.9057.18.camel@ubuntu> <[email protected]> From: "Langston, Jim" <[email protected]> To: "HttpClient User Discussion" <[email protected]> X-OriginalArrivalTime: 18 Apr 2011 18:09:36.0413 (UTC) FILETIME=[C6C8F4D0:01CBFDF3] Digging at this deeper, the problem is stemming from the client, which = is a website that will bring up a popup, looking for a response. Normally, = you would answer the popup and move on, but in this case, everything is = being done programmatically, I can't answer the popup, so the thread sits and waits, won't close the connection, and no data moves back and forth, = would moving to 4.x help ? Jim /////////////////////////////////////////// Jim Langston Technical Consultant [email protected] (600)828-8265 (Office) (600)828-8265 (Cell) The contents of this e-mail are intended for the named addressee only. = It contains information that may be confidential. Unless you are the = named addressee or an authorized designee, you may not copy or use it, = or disclose it to anyone else. If you received it in error please notify = us immediately and then destroy it. From: Langston, Jim=20 Sent: Monday, April 18, 2011 10:21 AM To: HttpClient User Discussion Cc: Sandeep Khunteta; [email protected] Subject: RE: Locking problems of SocketInputSteam at = org.apache.commons.httpclient.HttpParser.readRawLine Hi all,=20 I=E2=80=99m in this exact scenario, the server seems to be sitting, = waiting for a response, but not sending anything else, even after = several hours; is there a resolution to this? Can I set a timeout ? My sequence on the = thread dump: "Thread-23" daemon prio=3D10 tid=3D0x080a9000 nid=3D0x553e runnable = [0xb3dba000] java.lang.Thread.State: RUNNABLE at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at = java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at = java.io.BufferedInputStream.read(BufferedInputStream.java:237) - locked <0x3c90af40> (a java.io.BufferedInputStream) at = org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78) at = org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106) at = org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java= :1116) at = org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConn= ectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413) at = org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBas= e.java:1973) at = org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.= java:1735) at = org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:= 1098) at = org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMet= hodDirector.java:398) at = org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethod= Director.java:171) at = org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:39= 7) at = org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:34= 6) Thanks=20 Jim /////////////////////// Jim Langston Technical Consultant [email protected] (600)828-8265 (Office) (600)828-8265 (Cell) -----Original Message----- From: Oleg Kalnichevski [mailto:[email protected]]=20 Sent: Wednesday, March 24, 2010 11:18 AM To: HttpClient User Discussion Cc: Sandeep Khunteta; [email protected] Subject: Re: Locking problems of SocketInputSteam at = org.apache.commons.httpclient.HttpParser.readRawLine On Wed, 2010-03-24 at 10:41 +0530, Ruchi Goel wrote: > Hi, > We are using commons-httpclient-3.0.jar for one of our yahoo = properties. The application is running on jetty. In production, we are = seeing the lock problems as follows : >=20 >=20 > btpool0-11554 runnable >=20 > btpool0-11597 is waiting on this thread >=20 > btpool0-11614 is waiting on this thread >=20 > "btpool0-11554" prio=3D1 tid=3D0x0000002c0275f7c0 nid=3D0x4b62 = runnable [0x0000000041f4a000..0x0000000041f4dab0] >=20 > at java.net.SocketInputStream.socketRead0(Native Method) >=20 > at = java.net.SocketInputStream.read(SocketInputStream.java:129) >=20 > at = java.io.BufferedInputStream.fill(BufferedInputStream.java:218) >=20 > at = java.io.BufferedInputStream.read(BufferedInputStream.java:235) >=20 > - locked <0x0000002b0835ddf0> (a = java.io.BufferedInputStream) >=20 > at = org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:77) >=20 > at = org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:105) >=20 > at = org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java= :1115) >=20 > at = org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConn= ectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1373) >=20 > at = org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBas= e.java:1832) >=20 > at = org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.= java:1590) >=20 > at = org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:= 995) >=20 > at = org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMet= hodDirector.java:397) > at >=20 > There are many instances of such thread lock areas in the thread dump. > Any pointers/help appreciated. >=20 The thread is blocked in a read operation waiting for input. Apparently the server is not sending data. Oleg > Regards, > Ruchi >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 18 19:10:08 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21759 invoked from network); 18 Apr 2011 19:10:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Apr 2011 19:10:08 -0000 Received: (qmail 6492 invoked by uid 500); 18 Apr 2011 19:10:08 -0000 Delivered-To: [email protected] Received: (qmail 6465 invoked by uid 500); 18 Apr 2011 19:10:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 6453 invoked by uid 99); 18 Apr 2011 19:10:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Apr 2011 19:10:08 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO ok2cons2.nine.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Apr 2011 19:10:00 +0000 Received: from [161.129.204.104] (600)828-8265.dclient.hispeed.ch [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ok2cons2.nine.ch (Postfix) with ESMTPSA id 4E2C2245E402 for <[email protected]>; Mon, 18 Apr 2011 21:09:39 +0200 (CEST) Subject: RE: Locking problems of SocketInputSteam at org.apache.commons.httpclient.HttpParser.readRawLine From: Oleg Kalnichevski <[email protected]> To: HttpClient User Discussion <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <1269443877.9057.18.camel@ubuntu> <[email protected]> <[email protected]> Content-Type: text/plain; charset="UTF-8" Date: Mon, 18 Apr 2011 21:09:34 +0200 Message-ID: <1303153774.26417.3.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit On Mon, 2011-04-18 at 14:09 -0400, Langston, Jim wrote: > Digging at this deeper, the problem is stemming from the client, which is > a website that will bring up a popup, looking for a response. Normally, you > would answer the popup and move on, but in this case, everything is being > done programmatically, I can't answer the popup, so the thread sits and > waits, won't close the connection, and no data moves back and forth, would > moving to 4.x help ? > > Jim > Jim, Regardless of the version one always should set a finite socket timeout, precisely in order to avoid the I/O thread getting stuck indefinitely in a read operation. You should consider upgrading to 4.x primarily because 3.x line is no longer supported. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 18 19:33:49 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95339 invoked from network); 18 Apr 2011 19:33:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Apr 2011 19:33:49 -0000 Received: (qmail 36483 invoked by uid 500); 18 Apr 2011 19:33:49 -0000 Delivered-To: [email protected] Received: (qmail 36375 invoked by uid 500); 18 Apr 2011 19:33:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 36367 invoked by uid 99); 18 Apr 2011 19:33:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Apr 2011 19:33:49 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mx1.compuware.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Apr 2011 19:33:41 +0000 Received: from nasa-dtw-ex009.nasa.cpwr.corp (unknown [161.129.204.104]) by mx1.compuware.com (Postfix) with ESMTP id 5C69272D617 for <[email protected]>; Mon, 18 Apr 2011 19:33:16 +0000 (GMT) Content-Type: multipart/related; boundary="----=_NextPart_000_681F46_01CBFDDD.EFA9E640" Importance: normal Priority: normal Received: from nasa-dtw-ex001.nasa.cpwr.corp ([161.129.204.104]) by nasa-dtw-ex009.nasa.cpwr.corp with Microsoft SMTPSVC(600)828-8265); Mon, 18 Apr 2011 15:33:15 -0400 Received: from nasa-dtw-ex004.nasa.cpwr.corp ([161.129.204.104]) by nasa-dtw-ex001.nasa.cpwr.corp with Microsoft SMTPSVC(600)828-8265); Mon, 18 Apr 2011 15:33:15 -0400 x-mimeole: Produced By Microsoft MimeOLE V6.00.3790.4325 Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: RE: Locking problems of [email protected] Date: Mon, 18 Apr 2011 15:33:14 -0400 Message-ID: <[email protected]> In-Reply-To: <1303153774.26417.3.camel@ubuntu> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Locking problems of [email protected] Thread-Index: Acv9/D6E3s/nqTTORWa+aUUjawXDBAAAh+Rg References: <[email protected]> <1269443877.9057.18.camel@ubuntu> <[email protected]> <[email protected]> <1303153774.26417.3.camel@ubuntu> From: "Langston, Jim" <[email protected]> To: "HttpClient User Discussion" <[email protected]> X-OriginalArrivalTime: 18 Apr 2011 19:33:15.0231 (UTC) FILETIME=[763BCEF0:01CBFDFF] X-Virus-Checked: Checked by ClamAV on apache.org ------=_NextPart_000_681F46_01CBFDDD.EFA9E640 Content-Transfer-Encoding: 7bit Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CBFDFF.7601F49D" ------_=_NextPart_001_01CBFDFF.7601F49D Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks Oleg, I have been reading up on some of the other responses, not sure why your email didn=E2=80=99t come through correctly, but I did see the response = in the archive. soTimeout is set to 30000 ConnectionTimeout is set to 5000 Hitting the site from the browser, I never get any timeouts, it will sit = with the=20 dialogue box active. As soon as I hit the dialogue, the site will = continue on. It=20 can be 1 min or 2 days. I was going to attempt to fix it in the app, but I don=E2=80=99t know if = I can, tomcat shows the thread active, even if I stop/kill the browser session. I need to = restart tomcat to clear it. Jim ////////////////////////////////// Jim Langston Technical Consultant [email protected] (600)828-8265 (Office) (600)828-8265 (Cell) The contents of this e-mail are intended for the named addressee only. = It contains information that may be confidential. Unless you are the = named addressee or an authorized designee, you may not copy or use it, = or disclose it to anyone else. If you received it in error please notify = us immediately and then destroy it. From: Oleg Kalnichevski [mailto:[email protected]]=20 Sent: Monday, April 18, 2011 3:10 PM To: HttpClient User Discussion Subject: RE: Locking problems of SocketInputSteam at = org.apache.commons.httpclient.HttpParser.readRawLine ------_=_NextPart_001_01CBFDFF.7601F49D Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"><!DOCTYPE HTML PUBLIC = "-//W3C//DTD HTML 3.2//EN"><HTML><head><META content=3D"text/html; = charset=3Dutf-8" http-equiv=3D"Content-Type"> <META content=3D"text/html; charset=3Dutf-8" = HTTP-EQUIV=3D"Content-Type"> <META CONTENT=3D"MS Exchange Server version 6.5.7653.38" = NAME=3D"Generator"> <TITLE>RE: Locking problems of SocketInputSteam at = org.apache.commons.httpclient.HttpParser.readRawLine</TITLE> </head><BODY> <DIV> <!-- Converted from text/rtf format --> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT COLOR=3D"#1F497D" = FACE=3D"Calibri">Thanks Oleg,</FONT></SPAN></P> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT COLOR=3D"#1F497D" = FACE=3D"Calibri">I have been reading up on some of the other responses, = not sure why your</FONT></SPAN></P> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT COLOR=3D"#1F497D" = FACE=3D"Calibri">email didn</FONT></SPAN><SPAN LANG=3D"en-us"><FONT = COLOR=3D"#1F497D" FACE=3D"Calibri">=E2=80=99</FONT></SPAN><SPAN = LANG=3D"en-us"><FONT COLOR=3D"#1F497D" FACE=3D"Calibri">t come through = correctly, but I did see the response in the archive.</FONT></SPAN></P> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT COLOR=3D"#1F497D" = FACE=3D"Calibri">soTimeout is set to 30000</FONT></SPAN></P> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT COLOR=3D"#1F497D" = FACE=3D"Calibri">ConnectionTimeout is set to 5000</FONT></SPAN></P> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT COLOR=3D"#1F497D" = FACE=3D"Calibri">Hitting the site from the browser, I never get any = timeouts, it will sit with the </FONT></SPAN></P> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT COLOR=3D"#1F497D" = FACE=3D"Calibri">dialogue box active. As soon as I h</FONT></SPAN><SPAN = LANG=3D"en-us"><FONT COLOR=3D"#1F497D" FACE=3D"Calibri">it the dialogue, = the site will continue on. It </FONT></SPAN></P> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT COLOR=3D"#1F497D" = FACE=3D"Calibri">can be 1 min or 2 days.</FONT></SPAN><SPAN = LANG=3D"en-us"></SPAN></P> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT COLOR=3D"#1F497D" = FACE=3D"Calibri">I was going to attempt to fix it in the app, but I = don</FONT></SPAN><SPAN LANG=3D"en-us"><FONT COLOR=3D"#1F497D" = FACE=3D"Calibri">=E2=80=99</FONT></SPAN><SPAN LANG=3D"en-us"><FONT = COLOR=3D"#1F497D" FACE=3D"Calibri">t know if I can, tomcat = shows</FONT></SPAN></P> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT COLOR=3D"#1F497D" = FACE=3D"Calibri">the thread active, even if I stop</FONT></SPAN><SPAN = LANG=3D"en-us"><FONT COLOR=3D"#1F497D" = FACE=3D"Calibri">/kill</FONT></SPAN><SPAN LANG=3D"en-us"><FONT = COLOR=3D"#1F497D" FACE=3D"Calibri"> the</FONT></SPAN><SPAN = LANG=3D"en-us"> <FONT COLOR=3D"#1F497D" FACE=3D"Calibri">browser = session. I need to restart tomcat</FONT></SPAN><SPAN = LANG=3D"en-us"></SPAN></P> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT COLOR=3D"#1F497D" = FACE=3D"Calibri">to clear it.</FONT></SPAN><SPAN = LANG=3D"en-us"></SPAN></P> <P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN></P> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT COLOR=3D"#1F497D" = FACE=3D"Calibri">Jim</FONT></SPAN></P> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT COLOR=3D"#1F497D" = FACE=3D"Calibri">//////////////////////////////////</FONT></SPAN><SPAN = LANG=3D"en-us"></SPAN></P> <P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN = LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT COLOR=3D"#1F497D" = FACE=3D"Calibri">Jim Langston</FONT></SPAN></P> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT COLOR=3D"#1F497D" = FACE=3D"Calibri">Technical Consultant</FONT></SPAN></P> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT COLOR=3D"#1F497D" = FACE=3D"Calibri">[email protected]</FONT></SPAN></P> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT COLOR=3D"#1F497D" = FACE=3D"Calibri">(313) 227</FONT><FONT COLOR=3D"#1F497D" = FACE=3D"Calibri">-0407 (Office)</FONT></SPAN></P> <P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT COLOR=3D"#1F497D" = FACE=3D"Calibri">(600)828-8265 (Cell)</FONT></SPAN></P> <P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN></P> <P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN><SPAN = LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"><FONT FACE=3D"Tahoma" = SIZE=3D2></FONT></SPAN></P><BR></DIV> <P ALIGN=3D"left"><FONT FACE=3D"Arial" SIZE=3D"1"><FONT SIZE=3D"2"><FONT = SIZE=3D"1"></FONT></FONT></FONT></P> <P ALIGN=3D"left"><FONT FACE=3D"Arial" SIZE=3D"1"><FONT SIZE=3D"2"><FONT = SIZE=3D"1"><IMG ALIGN=3D"baseline" ALT BORDER=3D"0" HSPACE=3D"0" = SRC=3D"cid:[email protected]"></FONT></FONT></FONT></P> <P ALIGN=3D"left"><FONT FACE=3D"Arial" SIZE=3D"1"><FONT SIZE=3D"2"><FONT = SIZE=3D"1">The contents of this e-mail are intended for the named = addressee only. It contains information that may be confidential. Unless = you are the named addressee or an authorized designee, you may not copy = or use it, or disclose it to anyone else. If you received it in error = please notify us immediately and then destroy it</FONT>.</FONT><BR><P = DIR=3DLTR><SPAN LANG=3D"en-us"><FONT FACE=3D"Tahoma" SIZE=3D2><BR> </FONT></SPAN><SPAN LANG=3D"en-us"><B></B></SPAN><SPAN = LANG=3D"en-us"><B></B></SPAN><SPAN LANG=3D"en-us"><B><FONT = FACE=3D"Tahoma" SIZE=3D2>From:</FONT></B></SPAN><SPAN = LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN = LANG=3D"en-us"><FONT FACE=3D"Tahoma" SIZE=3D2> Oleg Kalnichevski [<A = HREF=3D"mailto:[email protected]">mailto:[email protected]</A>]<BR> </FONT></SPAN><SPAN LANG=3D"en-us"><B></B></SPAN><SPAN = LANG=3D"en-us"><B></B></SPAN><SPAN LANG=3D"en-us"><B><FONT = FACE=3D"Tahoma" SIZE=3D2>Sent:</FONT></B></SPAN><SPAN = LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN = LANG=3D"en-us"><FONT FACE=3D"Tahoma" SIZE=3D2> Monday, April 18, 2011 = 3:10 PM<BR> </FONT></SPAN><SPAN LANG=3D"en-us"><B></B></SPAN><SPAN = LANG=3D"en-us"><B></B></SPAN><SPAN LANG=3D"en-us"><B><FONT = FACE=3D"Tahoma" SIZE=3D2>To:</FONT></B></SPAN><SPAN = LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN = LANG=3D"en-us"><FONT FACE=3D"Tahoma" SIZE=3D2> HttpClient User = Discussion<BR> </FONT></SPAN><SPAN LANG=3D"en-us"><B></B></SPAN><SPAN = LANG=3D"en-us"><B></B></SPAN><SPAN LANG=3D"en-us"><B><FONT = FACE=3D"Tahoma" SIZE=3D2>Subject:</FONT></B></SPAN><SPAN = LANG=3D"en-us"></SPAN><SPAN LANG=3D"en-us"></SPAN><SPAN = LANG=3D"en-us"><FONT FACE=3D"Tahoma" SIZE=3D2> RE: Locking problems of = SocketInputSteam at = org.apache.commons.httpclient.HttpParser.readRawLine</FONT></SPAN></P> <P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN></P> <P DIR=3DLTR><SPAN LANG=3D"en-us"></SPAN></P> <BR></FONT></P><FONT SIZE=3D"+0"></FONT><FONT SIZE=3D"+0"></FONT><FONT = SIZE=3D"+0"></FONT><FONT SIZE=3D"+0"></FONT></BODY></HTML> ------_=_NextPart_001_01CBFDFF.7601F49D-- ------=_NextPart_000_681F46_01CBFDDD.EFA9E640-- From [email protected] Mon Apr 18 20:32:28 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81231 invoked from network); 18 Apr 2011 20:32:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Apr 2011 20:32:28 -0000 Received: (qmail 32775 invoked by uid 500); 18 Apr 2011 20:32:27 -0000 Delivered-To: [email protected] Received: (qmail 32740 invoked by uid 500); 18 Apr 2011 20:32:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 32732 invoked by uid 99); 18 Apr 2011 20:32:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Apr 2011 20:32:27 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO sam.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Apr 2011 20:32:22 +0000 Received: from isper.nabble.com ([161.129.204.104]) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from <[email protected]>) id 1QBv73-0001a6-Sh for [email protected]; Mon, 18 Apr 2011 13:32:01 -0700 Message-ID: <[email protected]> Date: Mon, 18 Apr 2011 13:32:01 -0700 (PDT) From: radhikab <[email protected]> To: [email protected] Subject: Proxy authentication problem with HttpClient MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] Hi I have a thick client application which connects to a server on the internet for file transmission and upload. However, the access to the internet is via proxy. I am using HttpClient on the thick client and Apache Commons file upload on the server side. I am setting the proxy on the HttpClient as below: HttpClient client = new HttpClient(); HostConfiguration config = client.getHostConfiguration(); config.setProxy(PROXY_HOST, PROXY_PORT); PostMethod filePost = new PostMethod(servletPath); int status = client.executeMethod(config , filePost); However, instead of hardcoding values for PROXY_HOST, PROXY_PORT above, I am using HttpUrlConnection to get the proxy information and set into these values. This works fine. If I dont set the proxy settings like this, HttpClient is ignoring my proxy settings and not detecting them automatically and as a result my application is not able to connect to the server on the internet. Now when I connect to the server using HttpClient, the request goes via proxy but fails as it expects user authentication credentials for the proxy information provided. I am not able to figure out a way how to make this work as I expected a popup for the user to enter user id and password, once connected to the proxy instead of request failing altogether. Can somebody suggest how to make HttpClient work with proxy without hardcoding the PROXY_HOST, PROXY_PORT values. Also, this application will be launched from thick client for different users. So the proxy information should be automatically detected from browser settings (which is what the HttpUrlConnection is doing for me). Can somebody please suggest a solution for this scenario? Thanks Radhika -- View this message in context: http://old.nabble.com/Proxy-authentication-problem-with-HttpClient-tp31427471p31427471.html Sent from the HttpClient-User mailing list [email protected]. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Apr 20 08:23:16 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id EA9A91DC7 for <[email protected]>; Wed, 20 Apr 2011 08:23:16 +0000 (UTC) Received: (qmail 74029 invoked by uid 500); 20 Apr 2011 07:56:36 -0000 Delivered-To: [email protected] Received: (qmail 73988 invoked by uid 500); 20 Apr 2011 07:56:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 73980 invoked by uid 99); 20 Apr 2011 07:56:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Apr 2011 07:56:32 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO sam.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Apr 2011 07:56:25 +0000 Received: from isper.nabble.com ([161.129.204.104]) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from <[email protected]>) id 1QCSGa-0004tU-Ck for [email protected]; Wed, 20 Apr 2011 00:56:04 -0700 Message-ID: <[email protected]> Date: Wed, 20 Apr 2011 00:56:04 -0700 (PDT) From: kevin_vdb6 <[email protected]> To: [email protected] Subject: Posting "large" file with PostMethod MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org Hello, I am develloping a systemtray application that sends parameters of a record to a servlet, however this is working perfectly with files smaller than 1mb but if i try to send larger files it crashes. Im using Swing as client. (the problem is at the Attachment parameter) I've been searching a few days for this but i couldn't find an answer, any help would be highly appreciated! Code client: ActionListener sendTask = new ActionListener() { @Override public void actionPerformed(ActionEvent actionEvent) { String request = "http://localhost:8080/rest/addTask"; HttpClient client = new HttpClient(); PostMethod method = new PostMethod(request); //conversion blob File file = new File(txtUpload.getText()); try { byte[] blob = getBytesFromFile(file); String blobje = new String(blob,"ISO-8859-1"); method.addParameter("description", txtOmschrijving.getText()); method.addParameter("attachment", blobje); method.addParameter("contentType", new MimetypesFileTypeMap().getContentType(file)); method.addParameter("fileName",file.getName()); } catch (IOException e) { e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates. } // Send POST request try { int statusCode = client.executeMethod(method); System.out.println(statusCode); InputStream rstream = null; rstream = method.getResponseBodyAsStream(); BufferedReader br = new BufferedReader(new InputStreamReader(rstream)); String line; while ((line = br.readLine()) != null) { System.out.println(line); } br.close(); } catch (Exception e) { e.printStackTrace(); } txtOmschrijving.setText(""); txtUpload.setText(""); } }; public static byte[] getBytesFromFile(File file) throws IOException { InputStream is = new FileInputStream(file); // Get the size of the file long length = file.length(); // You cannot create an array using a long type. // It needs to be an int type. // Before converting to an int type, check // to ensure that file is not larger than Integer.MAX_VALUE. if (length > Integer.MAX_VALUE) { // File is too large } // Create the byte array to hold the data byte[] bytes = new byte[(int)length]; // Read in the bytes int offset = 0; int numRead = 0; while (offset < bytes.length && (numRead=is.read(bytes, offset, bytes.length-offset)) >= 0) { offset += numRead; } // Ensure all the bytes have been read in if (offset < bytes.length) { throw new IOException("Could not completely read file "+file.getName()); } // Close the input stream and return bytes is.close(); return bytes; } Code on servlet: public class AddTaskService extends HttpServlet { public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { String description = request.getParameter("description"); String attachment = request.getParameter("attachment"); String fileName = request.getParameter("fileName"); String contentType = request.getParameter("contentType"); //parsing String to Blob byte[] blobbinarie = attachment.getBytes("ISO-8859-1"); InputStream stream = new ByteArrayInputStream(blobbinarie); Blob blobje = Hibernate.createBlob(stream); //getting TaskController ServletContext context = getServletContext(); WebApplicationContext applicationContext = WebApplicationContextUtils.getWebApplicationContext(context); TaskController taskController = (TaskController) applicationContext.getBean("taskController"); Date today = Calendar.getInstance().getTime(); Task task = new Task(description,blobje,today,contentType,fileName); //try to add new Task into Database taskController.createTask(task); } } Thanks in advance, Kevin -- View this message in context: http://old.nabble.com/Posting-%22large%22-file-with-PostMethod-tp31439133p31439133.html Sent from the HttpClient-User mailing list [email protected]. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Apr 20 11:10:23 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 406351EF6 for <[email protected]>; Wed, 20 Apr 2011 11:10:23 +0000 (UTC) Received: (qmail 67291 invoked by uid 500); 20 Apr 2011 11:10:22 -0000 Delivered-To: [email protected] Received: (qmail 67245 invoked by uid 500); 20 Apr 2011 11:10:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 67178 invoked by uid 99); 20 Apr 2011 11:10:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Apr 2011 11:10:21 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-vw0-f51.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Apr 2011 11:10:16 +0000 Received: by vws20 with SMTP id 20so466646vws.10 for <[email protected]>; Wed, 20 Apr 2011 04:09:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=wCmsYL2QlRdDH5/5qfaEt/nA4EX6XfXyScWVOsLecGM=; b=U3Op3CU+xfLU6od3aCIABjtx/yt/NUWEgxZWqURA5Y71XTqp5pV0h9FI009hI4JTo8 dQ14ruTh86Lw9PmyZBaU8nOjRLVZV7DOxy8c5KHjolWxicVp8Ek2G6GWFd+C8rr2cMYU 29oE9l5AM35eYraG4d3jo8aVBgCIDakQDfuPk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=lCwlievVDmD8Sn97vRd55KTo3UA9kgMeRBmMesu0wYZB8fcnUGXJ1cRaZthZ2JlPMx vsMmFOXIUZdBa1XGLeIgmIcCaA0qyowenoIjRK4HJwNJtZbtW+UgyeAWqvJhB36EJu7a 0Bds7WA+wRHJY2pkw8a3DnttROu6iaAxWAuFk= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id di3mr2235004vcb.71.1303297795193; Wed, 20 Apr 2011 04:09:55 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Wed, 20 Apr 2011 04:09:55 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Wed, 20 Apr 2011 12:09:55 +0100 Message-ID: <[email protected]> Subject: Re: Posting "large" file with PostMethod From: sebb <[email protected]> To: HttpClient User Discussion <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 20 April 2011 08:56, kevin_vdb6 <[email protected]> wrote= : > > Hello, > > I am develloping a systemtray application that sends parameters of a reco= rd > to a servlet, however this is working perfectly with files smaller than 1= mb > but if i try to send larger files it crashes. Unless you actually provide details of the "crash", it make debugging much harder. > Im using Swing as client. (the > problem is at the Attachment parameter) I've been searching a few days fo= r > this but i couldn't find an answer, any help would be highly appreciated! > > Code client: > =A0 ActionListener sendTask =3D new ActionListener() { > =A0 =A0 =A0 =A0@Override > =A0 =A0 =A0 =A0public void actionPerformed(ActionEvent actionEvent) { > =A0 =A0 =A0 =A0 =A0 =A0String request =3D "http://localhost:8080/rest/add= Task"; > > =A0 =A0 =A0 =A0 =A0 =A0HttpClient client =3D new HttpClient(); > =A0 =A0 =A0 =A0 =A0 =A0PostMethod method =3D new PostMethod(request); > > =A0 =A0 =A0 =A0 =A0 =A0//conversion blob > =A0 =A0 =A0 =A0 =A0 =A0File file =3D new File(txtUpload.getText()); > =A0 =A0 =A0 =A0 =A0 =A0try { > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0byte[] blob =3D getBytesFromFile(file); > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0String blobje =3D new String(blob,"ISO-885= 9-1"); > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0method.addParameter("description", > txtOmschrijving.getText()); > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0method.addParameter("attachment", blobje); > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0method.addParameter("contentType", new > MimetypesFileTypeMap().getContentType(file)); > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0method.addParameter("fileName",file.getNam= e()); > =A0 =A0 =A0 =A0 =A0 =A0} catch (IOException e) { > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0e.printStackTrace(); =A0//To change body o= f catch statement > use File | Settings | File Templates. > =A0 =A0 =A0 =A0 =A0 =A0} > > > =A0 =A0 =A0 =A0 =A0 =A0// Send POST request > =A0 =A0 =A0 =A0 =A0 =A0try { > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0int statusCode =3D client.executeMethod(me= thod); > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0System.out.println(statusCode); > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0InputStream rstream =3D null; > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0rstream =3D method.getResponseBodyAsStream= (); > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0BufferedReader br =3D new BufferedReader(n= ew > InputStreamReader(rstream)); > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0String line; > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0while ((line =3D br.readLine()) !=3D null)= { > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0System.out.println(line); > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0} > > > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0br.close(); > =A0 =A0 =A0 =A0 =A0 =A0} catch (Exception e) { > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0e.printStackTrace(); > =A0 =A0 =A0 =A0 =A0 =A0} > > =A0 =A0 =A0 =A0 =A0 =A0txtOmschrijving.setText(""); > =A0 =A0 =A0 =A0 =A0 =A0txtUpload.setText(""); > > =A0 =A0 =A0 =A0} > =A0 =A0}; > > > =A0 =A0public static byte[] getBytesFromFile(File file) throws IOExceptio= n { > =A0 =A0InputStream is =3D new FileInputStream(file); > > =A0 =A0// Get the size of the file > =A0 =A0long length =3D file.length(); > > =A0 =A0// You cannot create an array using a long type. > =A0 =A0// It needs to be an int type. > =A0 =A0// Before converting to an int type, check > =A0 =A0// to ensure that file is not larger than Integer.MAX_VALUE. > =A0 =A0if (length > Integer.MAX_VALUE) { > =A0 =A0 =A0 =A0// File is too large > =A0 =A0} > > =A0 =A0// Create the byte array to hold the data > =A0 =A0byte[] bytes =3D new byte[(int)length]; > > =A0 =A0// Read in the bytes > =A0 =A0int offset =3D 0; > =A0 =A0int numRead =3D 0; > =A0 =A0while (offset < bytes.length > =A0 =A0 =A0 =A0 =A0 && (numRead=3Dis.read(bytes, offset, bytes.length-off= set)) >=3D 0) { > =A0 =A0 =A0 =A0offset +=3D numRead; > =A0 =A0} > > =A0 =A0// Ensure all the bytes have been read in > =A0 =A0if (offset < bytes.length) { > =A0 =A0 =A0 =A0throw new IOException("Could not completely read file > "+file.getName()); > =A0 =A0} > > =A0 =A0// Close the input stream and return bytes > =A0 =A0is.close(); > =A0 =A0return bytes; > } > > > > > Code on servlet: > public class AddTaskService extends HttpServlet { > =A0 =A0public void doPost(HttpServletRequest request, HttpServletResponse > response) > =A0 =A0 =A0 =A0 =A0 =A0throws ServletException, IOException { > > =A0 =A0 =A0 =A0String description =3D request.getParameter("description")= ; > =A0 =A0 =A0 =A0String attachment =3D request.getParameter("attachment"); > =A0 =A0 =A0 =A0String fileName =3D request.getParameter("fileName"); > =A0 =A0 =A0 =A0String contentType =3D request.getParameter("contentType")= ; > > =A0 =A0 =A0 =A0//parsing String to Blob > =A0 =A0 =A0 =A0byte[] blobbinarie =3D attachment.getBytes("ISO-8859-1"); > =A0 =A0 =A0 =A0InputStream stream =3D new ByteArrayInputStream(blobbinari= e); > > > =A0 =A0 =A0 =A0Blob blobje =3D Hibernate.createBlob(stream); > > =A0 =A0 =A0 =A0//getting TaskController > =A0 =A0 =A0 =A0ServletContext context =3D getServletContext(); > =A0 =A0 =A0 =A0WebApplicationContext applicationContext =3D > WebApplicationContextUtils.getWebApplicationContext(context); > =A0 =A0 =A0 =A0TaskController taskController =3D (TaskController) > applicationContext.getBean("taskController"); > =A0 =A0 =A0 =A0Date today =3D Calendar.getInstance().getTime(); > =A0 =A0 =A0 =A0Task task =3D new Task(description,blobje,today,contentTyp= e,fileName); > > =A0 =A0 =A0 =A0//try to add new Task into Database > =A0 =A0 =A0 =A0taskController.createTask(task); > > =A0 =A0} > } > > > Thanks in advance, > Kevin > -- > View this message in context: http://old.nabble.com/Posting-%22large%22-f= ile-with-PostMethod-tp31439133p31439133.html > Sent from the HttpClient-User mailing list [email protected]. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Apr 20 13:00:29 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 74FB3143B for <[email protected]>; Wed, 20 Apr 2011 13:00:29 +0000 (UTC) Received: (qmail 72255 invoked by uid 500); 20 Apr 2011 13:00:28 -0000 Delivered-To: [email protected] Received: (qmail 72232 invoked by uid 500); 20 Apr 2011 13:00:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 72224 invoked by uid 99); 20 Apr 2011 13:00:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Apr 2011 13:00:28 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO sam.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Apr 2011 13:00:22 +0000 Received: from isper.nabble.com ([161.129.204.104]) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from <[email protected]>) id 1QCX0i-00023s-Aa for [email protected]; Wed, 20 Apr 2011 06:00:00 -0700 Message-ID: <[email protected]> Date: Wed, 20 Apr 2011 06:00:00 -0700 (PDT) From: Donald Fernandes <[email protected]> To: [email protected] Subject: help with EofSensorInputStream.. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org I have recently moved from Httpclient 3.1 to HttpClient 4.2, mainly to resolve the inputstream autoclose problem. I need help in creating the EofSensorInputStream.. I have a http connection pool amanager using ThreadSafeClientConnManager using.. when i post an url and get the response using getEntity().getContent() i believe this method by default closes the stream. and to override this we need to use the EofSensorInputStream I'm facing problems in creating the constructor for the same, because it take ManagedClientConnection as a parameter and i cannot Cast this to ThreadSafeClientConnManager... THe only way i see , i can use this is by using BasicEofSensorWatcher..but the constructor is a tedious process. EofSensorWatcher watcher = new BasicEofSensorWatcher(new BasicPooledConnAdapter(httpConnectionPoolMgr.getMgr(), new BasicPoolEntry (new DefaultClientConnectionOperator(new SchemeRegistry()), new HttpRoute(new HttpHost("hostname")))) , false ); EofSensorInputStream result = new EofSensorInputStream(status.getEntity().getContent(), watcher); But this also gives me a compilation problems. Is there any easier way i can use this? any help here would be really appreciated. -- View this message in context: http://old.nabble.com/help-with-EofSensorInputStream..-tp31441020p31441020.html Sent from the HttpClient-User mailing list [email protected]. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Apr 20 13:11:36 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 5A853EEB for <[email protected]>; Wed, 20 Apr 2011 13:11:36 +0000 (UTC) Received: (qmail 1388 invoked by uid 500); 20 Apr 2011 13:11:35 -0000 Delivered-To: [email protected] Received: (qmail 1308 invoked by uid 500); 20 Apr 2011 13:11:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 1300 invoked by uid 99); 20 Apr 2011 13:11:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Apr 2011 13:11:35 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO ok2cons2.nine.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Apr 2011 13:11:27 +0000 Received: from [161.129.204.104] (unknown [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ok2cons2.nine.ch (Postfix) with ESMTPSA id 46AE7245E404 for <[email protected]>; Wed, 20 Apr 2011 15:11:06 +0200 (CEST) Subject: Re: help with EofSensorInputStream.. From: Oleg Kalnichevski <[email protected]> To: HttpClient User Discussion <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain; charset="UTF-8" Date: Wed, 20 Apr 2011 15:11:01 +0200 Message-ID: <1303305061.2118.38.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit On Wed, 2011-04-20 at 06:00 -0700, Donald Fernandes wrote: > I have recently moved from Httpclient 3.1 to HttpClient 4.2, mainly to > resolve the inputstream autoclose problem. I need help in creating the > EofSensorInputStream.. > > I have a http connection pool amanager using ThreadSafeClientConnManager > using.. > > when i post an url and get the response using getEntity().getContent() i > believe this method by default closes the stream. and to override this we > need to use the EofSensorInputStream > Donald I am not sure I understand the problem. What is it _exactly_ you are trying to do and why do you need to prevent the content stream from being closed? What is the requirement that drives this? Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Apr 20 13:32:58 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 931F21311 for <[email protected]>; Wed, 20 Apr 2011 13:32:58 +0000 (UTC) Received: (qmail 25305 invoked by uid 500); 20 Apr 2011 13:32:58 -0000 Delivered-To: [email protected] Received: (qmail 25275 invoked by uid 500); 20 Apr 2011 13:32:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 25267 invoked by uid 99); 20 Apr 2011 13:32:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Apr 2011 13:32:58 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO sam.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Apr 2011 13:32:51 +0000 Received: from isper.nabble.com ([161.129.204.104]) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from <[email protected]>) id 1QCXWA-0004z3-Cp for [email protected]; Wed, 20 Apr 2011 06:32:30 -0700 Message-ID: <[email protected]> Date: Wed, 20 Apr 2011 06:32:30 -0700 (PDT) From: Donald Fernandes <[email protected]> To: [email protected] Subject: Re: help with EofSensorInputStream.. In-Reply-To: <1303305061.2118.38.camel@ubuntu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] References: <[email protected]> <1303305061.2118.38.camel@ubuntu> X-Virus-Checked: Checked by ClamAV on apache.org Hi Oleg, I want the stream to be open since i passing the response i receive to another method, which parses the stream to do additional work....hence i want it to be open. Later we are explcitly closing the stream... Here is my code snippet acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b HttpPool : public void init() { ThreadSafeClientConnManager mgr = new ThreadSafeClientConnManager(); mgr.setDefaultMaxPerRoute(MAX_CONNECTION_PERHOST); mgr.setMaxTotal(HTTP_CONNECTIONPOOL_SIZE); mgr.closeIdleConnections(CONNECTION_IDLE_TIME*1000L, TimeUnit.MINUTES); client = new DefaultHttpClient(mgr); // client.getParams().setParameter(HttpMethodParams.RETRY_HANDLER, new DefaultHttpRequestRetryHandler(1,false)); client.getParams().setParameter(HttpConnectionParams.SO_TIMEOUT,new Integer(SO_TIMEOUT*60*1000)); } Code which uses this : HttpPost postMethod = createPostMethod(PropertyHandler.getStringProperty("URL")); try { HttpEntity requestEntity = new StringEntity(wrdJaxbString); // This is an XML marshlled to String postMethod.setEntity(requestEntity); HttpResponse status = client.execute(postMethod); /* Does not work :( */ EofSensorWatcher watcher = new BasicEofSensorWatcher(new BasicPooledConnAdapter(httpConnectionPoolMgr.getMgr(), new BasicPoolEntry (new DefaultClientConnectionOperator(new SchemeRegistry()), new HttpRoute(new HttpHost("hostname")))) , false ); EofSensorInputStream result = new EofSensorInputStream(status.getEntity().getContent(), watcher); /* Does not work :( */ response = status.getEntity().getContent(); } catch (IOException e) {} finally { postMethod.abort(); } return response; This is a REST call, the response is sent to another module for further processing of the stream olegk wrote: > > On Wed, 2011-04-20 at 06:00 -0700, Donald Fernandes wrote: >> I have recently moved from Httpclient 3.1 to HttpClient 4.2, mainly to >> resolve the inputstream autoclose problem. I need help in creating the >> EofSensorInputStream.. >> >> I have a http connection pool amanager using ThreadSafeClientConnManager >> using.. >> >> when i post an url and get the response using getEntity().getContent() i >> believe this method by default closes the stream. and to override this we >> need to use the EofSensorInputStream >> > > Donald > > I am not sure I understand the problem. > > What is it _exactly_ you are trying to do and why do you need to prevent > the content stream from being closed? What is the requirement that > drives this? > > Oleg > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > -- View this message in context: http://old.nabble.com/help-with-EofSensorInputStream..-tp31441020p31441208.html Sent from the HttpClient-User mailing list [email protected]. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Apr 20 14:25:41 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id BD4E917E4 for <[email protected]>; Wed, 20 Apr 2011 14:25:41 +0000 (UTC) Received: (qmail 90095 invoked by uid 500); 20 Apr 2011 13:59:01 -0000 Delivered-To: [email protected] Received: (qmail 90068 invoked by uid 500); 20 Apr 2011 13:59:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 90056 invoked by uid 99); 20 Apr 2011 13:59:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Apr 2011 13:59:01 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO ok2cons2.nine.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Apr 2011 13:58:53 +0000 Received: from [161.129.204.104] (unknown [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ok2cons2.nine.ch (Postfix) with ESMTPSA id 0DFD4245E404 for <[email protected]>; Wed, 20 Apr 2011 15:58:30 +0200 (CEST) Subject: Re: help with EofSensorInputStream.. From: Oleg Kalnichevski <[email protected]> To: HttpClient User Discussion <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <1303305061.2118.38.camel@ubuntu> <[email protected]> Content-Type: text/plain; charset="UTF-8" Date: Wed, 20 Apr 2011 15:58:24 +0200 Message-ID: <1303307904.2118.46.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit On Wed, 2011-04-20 at 06:32 -0700, Donald Fernandes wrote: > Hi Oleg, > > I want the stream to be open since i passing the response i receive to > another method, which parses the stream to do additional work....hence i > want it to be open. Later we are explcitly closing the stream... > > Here is my code snippet acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b > HttpPool : > > public void init() > { > ThreadSafeClientConnManager mgr = new ThreadSafeClientConnManager(); > mgr.setDefaultMaxPerRoute(MAX_CONNECTION_PERHOST); > mgr.setMaxTotal(HTTP_CONNECTIONPOOL_SIZE); > mgr.closeIdleConnections(CONNECTION_IDLE_TIME*1000L, TimeUnit.MINUTES); > client = new DefaultHttpClient(mgr); > // client.getParams().setParameter(HttpMethodParams.RETRY_HANDLER, new > DefaultHttpRequestRetryHandler(1,false)); > client.getParams().setParameter(HttpConnectionParams.SO_TIMEOUT,new > Integer(SO_TIMEOUT*60*1000)); > > } > > > Code which uses this : > > HttpPost postMethod = > createPostMethod(PropertyHandler.getStringProperty("URL")); > try { > HttpEntity requestEntity = new StringEntity(wrdJaxbString); // This is an > XML marshlled to String > postMethod.setEntity(requestEntity); > HttpResponse status = client.execute(postMethod); > > /* Does not work :( */ > EofSensorWatcher watcher = new BasicEofSensorWatcher(new > BasicPooledConnAdapter(httpConnectionPoolMgr.getMgr(), new BasicPoolEntry > (new DefaultClientConnectionOperator(new SchemeRegistry()), new > HttpRoute(new HttpHost("hostname")))) , false ); > EofSensorInputStream result = new > EofSensorInputStream(status.getEntity().getContent(), watcher); > /* Does not work :( */ > > response = status.getEntity().getContent(); > } catch (IOException e) {} > finally { > postMethod.abort(); > } > return response; > > This is a REST call, the response is sent to another module for further > processing of the stream > > I still do not understand. InputStream instance obtained from the response HttpEntity is self-contained and is perfectly capable of deallocating all underlying resources (such as pooled HTTP connection) by itself. Why do you need to mess with EOF sensors and such? Just pass that input stream to the other (processing, I assume) module and just make sure it always closes the stream once it is done processing it. Resource deallocation will happen automatically when InputStream#close() is executed. Hope this helps Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Apr 20 16:33:20 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id A903F19CC for <[email protected]>; Wed, 20 Apr 2011 16:33:20 +0000 (UTC) Received: (qmail 35394 invoked by uid 500); 20 Apr 2011 16:33:20 -0000 Delivered-To: [email protected] Received: (qmail 35365 invoked by uid 500); 20 Apr 2011 16:33:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 35357 invoked by uid 99); 20 Apr 2011 16:33:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Apr 2011 16:33:20 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO sam.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Apr 2011 16:33:14 +0000 Received: from isper.nabble.com ([161.129.204.104]) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from <[email protected]>) id 1QCaKk-0002MG-Di for [email protected]; Wed, 20 Apr 2011 09:32:54 -0700 Message-ID: <[email protected]> Date: Wed, 20 Apr 2011 09:32:54 -0700 (PDT) From: Donald Fernandes <[email protected]> To: [email protected] Subject: Re: help with EofSensorInputStream.. In-Reply-To: <1303307904.2118.46.camel@ubuntu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] References: <[email protected]> <1303305061.2118.38.camel@ubuntu> <[email protected]> <1303307904.2118.46.camel@ubuntu> Hi oleg, Let me explain the problem first. when using httpClient 3.1 we were using the getResponseBody api, which was resulting in huge jvm consumption for large data files and at time throwing out OutOfMemory exceptions. A bit on investigation suggested to use getResponseBodyAsStream. But after using the API, I was getting AutoCloseInputStream exception... Attempted read on closed stream. java.io.IOException: Attempted read on closed stream. at org.apache.commons.httpclient.AutoCloseInputStream.isReadAllowed(AutoCloseInputStream.java:183) at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:126) Hence i moved to HttpClient 4.1, but with no luck... i had read that you can use the EofSensorInputStream not to close the stream.. any pointers on getting this rectified would be of immense help Regards, Donald olegk wrote: > > On Wed, 2011-04-20 at 06:32 -0700, Donald Fernandes wrote: >> Hi Oleg, >> >> I want the stream to be open since i passing the response i receive to >> another method, which parses the stream to do additional work....hence i >> want it to be open. Later we are explcitly closing the stream... >> >> Here is my code snippet acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b >> HttpPool : >> >> public void init() >> { >> ThreadSafeClientConnManager mgr = new ThreadSafeClientConnManager(); >> mgr.setDefaultMaxPerRoute(MAX_CONNECTION_PERHOST); >> mgr.setMaxTotal(HTTP_CONNECTIONPOOL_SIZE); >> mgr.closeIdleConnections(CONNECTION_IDLE_TIME*1000L, TimeUnit.MINUTES); >> client = new DefaultHttpClient(mgr); >> // client.getParams().setParameter(HttpMethodParams.RETRY_HANDLER, new >> DefaultHttpRequestRetryHandler(1,false)); >> client.getParams().setParameter(HttpConnectionParams.SO_TIMEOUT,new >> Integer(SO_TIMEOUT*60*1000)); >> >> } >> >> >> Code which uses this : >> >> HttpPost postMethod = >> createPostMethod(PropertyHandler.getStringProperty("URL")); >> try { >> HttpEntity requestEntity = new StringEntity(wrdJaxbString); // This is >> an >> XML marshlled to String >> postMethod.setEntity(requestEntity); >> HttpResponse status = client.execute(postMethod); >> >> /* Does not work :( */ >> EofSensorWatcher watcher = new BasicEofSensorWatcher(new >> BasicPooledConnAdapter(httpConnectionPoolMgr.getMgr(), new BasicPoolEntry >> (new DefaultClientConnectionOperator(new SchemeRegistry()), new >> HttpRoute(new HttpHost("hostname")))) , false ); >> EofSensorInputStream result = new >> EofSensorInputStream(status.getEntity().getContent(), watcher); >> /* Does not work :( */ >> >> response = status.getEntity().getContent(); >> } catch (IOException e) {} >> finally { >> postMethod.abort(); >> } >> return response; >> >> This is a REST call, the response is sent to another module for further >> processing of the stream >> >> > > I still do not understand. > > InputStream instance obtained from the response HttpEntity is > self-contained and is perfectly capable of deallocating all underlying > resources (such as pooled HTTP connection) by itself. Why do you need to > mess with EOF sensors and such? Just pass that input stream to the other > (processing, I assume) module and just make sure it always closes the > stream once it is done processing it. Resource deallocation will happen > automatically when InputStream#close() is executed. > > Hope this helps > > Oleg > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > -- View this message in context: http://old.nabble.com/help-with-EofSensorInputStream..-tp31441020p31442799.html Sent from the HttpClient-User mailing list [email protected]. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Apr 20 17:51:14 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 8D0351FC3 for <[email protected]>; Wed, 20 Apr 2011 17:51:14 +0000 (UTC) Received: (qmail 13065 invoked by uid 500); 20 Apr 2011 17:51:14 -0000 Delivered-To: [email protected] Received: (qmail 13028 invoked by uid 500); 20 Apr 2011 17:51:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 13020 invoked by uid 99); 20 Apr 2011 17:51:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Apr 2011 17:51:14 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO ok2cons2.nine.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Apr 2011 17:51:05 +0000 Received: from [161.129.204.104] (600)828-8265.dclient.hispeed.ch [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ok2cons2.nine.ch (Postfix) with ESMTPSA id 8FC0E245E404 for <[email protected]>; Wed, 20 Apr 2011 19:50:45 +0200 (CEST) Subject: Re: help with EofSensorInputStream.. From: Oleg Kalnichevski <[email protected]> To: HttpClient User Discussion <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <1303305061.2118.38.camel@ubuntu> <[email protected]> <1303307904.2118.46.camel@ubuntu> <[email protected]> Content-Type: text/plain; charset="UTF-8" Date: Wed, 20 Apr 2011 19:50:39 +0200 Message-ID: <1303321839.4790.1.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Wed, 2011-04-20 at 09:32 -0700, Donald Fernandes wrote: > Hi oleg, > > Let me explain the problem first. > when using httpClient 3.1 we were using the getResponseBody api, which was > resulting in huge jvm consumption for large data files and at time throwing > out OutOfMemory exceptions. A bit on investigation suggested to use > getResponseBodyAsStream. But after using the API, I was getting > AutoCloseInputStream exception... > Attempted read on closed stream. > java.io.IOException: Attempted read on closed stream. > at > org.apache.commons.httpclient.AutoCloseInputStream.isReadAllowed(AutoCloseInputStream.java:183) > at > org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:126) > > Hence i moved to HttpClient 4.1, but with no luck... i had read that you can > use the EofSensorInputStream not to close the stream.. > > any pointers on getting this rectified would be of immense help > > Regards, > Donald > I am sorry I do not understand the problem. Either do not close the stream or do not read from the stream if you have closed it. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 21 00:59:26 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 8DDAF1749 for <[email protected]>; Thu, 21 Apr 2011 00:59:26 +0000 (UTC) Received: (qmail 86022 invoked by uid 500); 21 Apr 2011 00:59:26 -0000 Delivered-To: [email protected] Received: (qmail 85981 invoked by uid 500); 21 Apr 2011 00:59:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 23198 invoked by uid 99); 20 Apr 2011 22:55:10 -0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=va28Y9RiT6arCv77V9s9plAyZPVL0yH40XUCFVn36fY=; b=p131WMUEBKv7pwYrVbqkZsX0UBLqm+e5UtjAGQaS4ztWCX+qKFxzvjMKBzDZqc+tF3 LcWMMwnOdk0DXS6Z1AGtwF3K3PT+Rl8aqebkv/y3lJ5cExk+TdaxdZw1wAdUQ0AYrOsB y1Jtbjv7FhUT8vohdDOW2ONcdjEk2ZNI1QAUw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=cw0gAtqhkCWMA47Dmq4LNut2NiVIQ61iMT9mikphUagm3O1/9fr2fGBCbqgYwKZ0np czAEuVqLdC5zu7hq38bp8hYK4Zo0vuct6PCdm4OILPiSfSOlheBHgOBByHQbyO3DQw27 eNyW8r8frIfQ7HJZYx9IX2KwApWxijUO146uY= MIME-Version: 1.0 In-Reply-To: <[email protected]> References: <[email protected]> Date: Thu, 21 Apr 2011 04:24:44 +0530 Message-ID: <[email protected]> Subject: Re: NTLM v2 support? From: Susam Pal <[email protected]> To: [email protected] Cc: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Sun, Apr 3, 2011 at 2:56 AM, Otis Gospodnetic <[email protected]> w= rote: > Hi, > > Does the latest Nutch release support NTLM v2? =A0I know NTLM is supporte= d ( > http://wiki.apache.org/nutch/HttpAuthenticationSchemes ), but I can't fin= d any > explicit references to NTLM version supported. > > Thanks, > Otis > ---- > Sematext acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b http://sematext.com/ acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b Solr - Lucene - Nutch > Lucene ecosystem search acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b http://search-lucene.com/ > > I don't know whether commons-httpclient-3.1.jar supported NTLM v2. This is the JAR the authentication code depends on. I have copied this email to httpclient-users in case anyone from httpclient-users can tell us whether NTLM v2 was supported in HttpClient 3.1. Susam Pal --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 21 08:26:37 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 32E72219A for <[email protected]>; Thu, 21 Apr 2011 08:26:37 +0000 (UTC) Received: (qmail 23433 invoked by uid 500); 21 Apr 2011 08:26:36 -0000 Delivered-To: [email protected] Received: (qmail 22891 invoked by uid 500); 21 Apr 2011 08:26:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 22803 invoked by uid 99); 21 Apr 2011 08:26:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Apr 2011 08:26:30 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO ok2cons2.nine.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Apr 2011 08:26:21 +0000 Received: from [161.129.204.104] (unknown [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ok2cons2.nine.ch (Postfix) with ESMTPSA id B6626245E405; Thu, 21 Apr 2011 10:26:01 +0200 (CEST) Subject: Re: NTLM v2 support? From: Oleg Kalnichevski <[email protected]> To: HttpClient User Discussion <[email protected]> Cc: [email protected] In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Content-Type: text/plain; charset="UTF-8" Date: Thu, 21 Apr 2011 10:25:56 +0200 Message-ID: <1303374356.2118.49.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Thu, 2011-04-21 at 04:24 +0530, Susam Pal wrote: ... > I don't know whether commons-httpclient-3.1.jar supported NTLM v2. > This is the JAR the authentication code depends on. > > I have copied this email to httpclient-users in case anyone from > httpclient-users can tell us whether NTLM v2 was supported in > HttpClient 3.1. > > Susam Pal > HttpClient 3.1 supports NTLMv1 only. Please consider upgrading to HttpClient 4.1 if you need NTLMv2 or SPNEGO/Kerberos support. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 21 17:13:22 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 8D3332A56 for <[email protected]>; Thu, 21 Apr 2011 17:13:22 +0000 (UTC) Received: (qmail 79180 invoked by uid 500); 21 Apr 2011 17:13:22 -0000 Delivered-To: [email protected] Received: (qmail 79142 invoked by uid 500); 21 Apr 2011 17:13:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 79134 invoked by uid 99); 21 Apr 2011 17:13:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Apr 2011 17:13:22 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO barracuda.mygazoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Apr 2011 17:13:15 +0000 X-ASG-Debug-ID: 1303405970-01f010112cf16a0001-tPwLzd Received: from fccorpmail03.mygazoo.com (fccorpmail03.mygazoo.com [161.129.204.104]) by barracuda.mygazoo.com with ESMTP id A2qS9OdijF18xUEY (version=TLSv1 cipher=AES128-SHA bits=128 verify=NO) for <[email protected]>; Thu, 21 Apr 2011 10:12:50 -0700 (PDT) X-Barracuda-Envelope-From: [email protected] X-ASG-Whitelist: Client Received: from sccorpowa05.mygazoo.com (161.129.204.104) by fccorpmail03.mygazoo.com (161.129.204.104) with Microsoft SMTP Server (TLS) id 14.1.270.1; Thu, 21 Apr 2011 10:12:50 -0700 Received: from fccorpmail03.mygazoo.com ([acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b6116:1dc:5867:46dc]) by sccorpowa05.mygazoo.com ([acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bc90b:b30e:cf72:1315%11]) with mapi id 14.01.0270.001; Thu, 21 Apr 2011 10:12:50 -0700 X-ASG-Whitelist: Client X-Barracuda-BBL-IP: 161.129.204.104 X-Barracuda-RBL-IP: 161.129.204.104 From: Ron Jacobs <[email protected]> X-Barracuda-Apparent-Source-IP: acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b6116:1dc:5867:46dc To: HttpClient User Discussion <[email protected]> Subject: Full NTLMv2 Support Achieved Easily (Was: NTLM authentication with a UPN instead of domain and user name) Thread-Topic: Full NTLMv2 Support Achieved Easily (Was: NTLM authentication with a UPN instead of domain and user name) X-ASG-Orig-Subj: Full NTLMv2 Support Achieved Easily (Was: NTLM authentication with a UPN instead of domain and user name) Thread-Index: AQHMAEdXFJJ04tz9F0W/SlorgCuC5A== Date: Thu, 21 Apr 2011 17:12:49 +0000 Message-ID: <[email protected]> References: <[email protected]> <1299866824.27644.18.camel@ubuntu> In-Reply-To: <1299866824.27644.18.camel@ubuntu> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [161.129.204.104] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Barracuda-Connect: fccorpmail03.mygazoo.com[161.129.204.104] X-Barracuda-Start-Time: 1303405970 X-Barracuda-Encrypted: AES128-SHA X-Barracuda-URL: http://161.129.204.104:8000/cgi-mod/mark.cgi X-Virus-Scanned: by [email protected] X-Virus-Checked: Checked by ClamAV on apache.org KEkgYXBvbG9naXplIGZvciB0aGUgZGVsYXkgaW4gcG9zdGluZyB0aGlzIHVwZGF0ZS4gSXQgd2Fz IGRlbGF5ZWQgZHVlIHRvDQptYXR0ZXJzIG91dHNpZGUgb2YgbXkgY29udHJvbC4gTm9uZXRoZWxl c3MsIEkgYW0gc3VyZSB0aGF0IGFueW9uZQ0Kc3RydWdnbGluZyB0byBnYWluIE5UTE12MiBzdXBw b3J0IHdpdGggdmVyc2lvbiA0LjEueCB3aWxsIGJlIGhlbHBlZCBieQ0KdGFraW5nIGEgbG9vayBh dCB0aGUgZm9sbG93aW5nOikNCg0KLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tDQoNCkkgaGF2ZSB0cmllZCBKQ0lG UyBhbmQgd2FzIGFibGUgdG8gZ2V0IGFsbCBvZiBteSB0ZXN0IGNhc2VzIHRvIHBhc3MuDQoNCkJ1 dCwgaXQgZG9lc24ndCBzdXBwb3J0IE5UTE12MiAib3V0IG9mIHRoZSBib3giIGJlY2F1c2UgaXRz DQpOZWdvdGlhdGVGbGFncyAoc2VlIHNlY3Rpb24gMi4yLjIuNSBvZiB0aGUgTWljcm9zb2Z0J3Mg W01TLU5MTVBdIHNwZWMpDQppcyBpbnN1ZmZpY2llbnQuDQoNCk15IGltcGxlbWVudGF0aW9uIGlz IGJhc2VkIHVwb24gdGhlIGV4YW1wbGUgdGhhdCB1c2VkIHRvIGJlIGZvdW5kIGF0Og0KDQogICBo dHRwOi8vaGMuYXBhY2hlLm9yZy9odHRwY29tcG9uZW50cy1jbGllbnQvbnRsbS5odG1sDQoNCkkg d2FzIGFibGUgdG8gbG9jYXRlIHRoZSBpbmZvIG9uIHRoZSB3YXktYmFjayBtYWNoaW5lIGF0Og0K DQogICBodHRwOi8vcmVwbGF5LndheWJhY2ttYWNoaW5lLm9yZy8yMDA5MDYxMTA1MTEzNS9odHRw Oi8vaGMuYXBhY2hlLm9yZy9odHRwY29tcG9uZW50cy1jbGllbnQvbnRsbS5odG1sDQoNClNpbmNl IHRoZSBidWlsdC1pbiBOVExNIGltcGxlbWVudGF0aW9uIGlzIGluc3VmZmljaWVudCwgdGhlIG1h aW50YWluZXJzDQptYXkgd2lzaCB0byByZXN0b3JlIHRoaXMgcGFnZSwgd2l0aCB0aGUgc2xpZ2h0 IGFkanVzdG1lbnQgdGhhdCBJIGZvdW5kDQpuZWNlc3NhcnksIG9yIHdpdGggdGhlIGZvbGxvd2lu ZyBjb2RlLCB3aGljaCBJIGhhdmUgdmVyaWZpZWQgd29ya3Mgd2l0aA0KYm90aCBOVExNdjEgYW5k IE5UTE12MiBhdXRoZW50aWNhdGlvbjoNCg0KLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tDQoNCmltcG9ydCBqYXZh LmlvLklPRXhjZXB0aW9uOw0KDQppbXBvcnQgamNpZnMubnRsbXNzcC5OdGxtRmxhZ3M7DQppbXBv cnQgamNpZnMubnRsbXNzcC5UeXBlMU1lc3NhZ2U7DQppbXBvcnQgamNpZnMubnRsbXNzcC5UeXBl Mk1lc3NhZ2U7DQppbXBvcnQgamNpZnMubnRsbXNzcC5UeXBlM01lc3NhZ2U7DQppbXBvcnQgamNp ZnMudXRpbC5CYXNlNjQ7DQoNCmltcG9ydCBvcmcuYXBhY2hlLmh0dHAuYXV0aC5BdXRoU2NoZW1l Ow0KaW1wb3J0IG9yZy5hcGFjaGUuaHR0cC5hdXRoLkF1dGhTY2hlbWVGYWN0b3J5Ow0KaW1wb3J0 IG9yZy5hcGFjaGUuaHR0cC5jbGllbnQucGFyYW1zLkF1dGhQb2xpY3k7DQppbXBvcnQgb3JnLmFw YWNoZS5odHRwLmltcGwuYXV0aC5OVExNRW5naW5lOw0KaW1wb3J0IG9yZy5hcGFjaGUuaHR0cC5p bXBsLmF1dGguTlRMTUVuZ2luZUV4Y2VwdGlvbjsNCmltcG9ydCBvcmcuYXBhY2hlLmh0dHAuaW1w bC5hdXRoLk5UTE1TY2hlbWU7DQppbXBvcnQgb3JnLmFwYWNoZS5odHRwLmltcGwuY2xpZW50LkRl ZmF1bHRIdHRwQ2xpZW50Ow0KaW1wb3J0IG9yZy5hcGFjaGUuaHR0cC5wYXJhbXMuSHR0cFBhcmFt czsNCg0KcHVibGljIGZpbmFsIGNsYXNzIEpDSUZTRW5naW5lIGltcGxlbWVudHMgTlRMTUVuZ2lu ZSB7DQogIHByaXZhdGUgc3RhdGljIGZpbmFsIGludCBUWVBFXzFfRkxBR1MgPQ0KICAgIE50bG1G bGFncy5OVExNU1NQX05FR09USUFURV81NiB8DQogICAgTnRsbUZsYWdzLk5UTE1TU1BfTkVHT1RJ QVRFXzEyOCB8DQogICAgTnRsbUZsYWdzLk5UTE1TU1BfTkVHT1RJQVRFX05UTE0yIHwNCiAgICBO dGxtRmxhZ3MuTlRMTVNTUF9ORUdPVElBVEVfQUxXQVlTX1NJR04gfA0KICAgIE50bG1GbGFncy5O VExNU1NQX1JFUVVFU1RfVEFSR0VUOw0KICAgIA0KICBwdWJsaWMgU3RyaW5nIGdlbmVyYXRlVHlw ZTFNc2coZmluYWwgU3RyaW5nIGRvbWFpbiwgZmluYWwgU3RyaW5nIHdvcmtzdGF0aW9uKSB0aHJv d3MgTlRMTUVuZ2luZUV4Y2VwdGlvbiB7DQogICAgZmluYWwgVHlwZTFNZXNzYWdlIHR5cGUxTWVz c2FnZSA9IG5ldyBUeXBlMU1lc3NhZ2UoVFlQRV8xX0ZMQUdTLCBkb21haW4sIHdvcmtzdGF0aW9u KTsNCiAgICByZXR1cm4gQmFzZTY0LmVuY29kZSh0eXBlMU1lc3NhZ2UudG9CeXRlQXJyYXkoKSk7 DQogIH0NCg0KICBwdWJsaWMgU3RyaW5nIGdlbmVyYXRlVHlwZTNNc2coZmluYWwgU3RyaW5nIHVz ZXJuYW1lLCBmaW5hbCBTdHJpbmcgcGFzc3dvcmQsIGZpbmFsIFN0cmluZyBkb21haW4sDQogICAg ICBmaW5hbCBTdHJpbmcgd29ya3N0YXRpb24sIGZpbmFsIFN0cmluZyBjaGFsbGVuZ2UpIHRocm93 cyBOVExNRW5naW5lRXhjZXB0aW9uIHsNCiAgICBUeXBlMk1lc3NhZ2UgdHlwZTJNZXNzYWdlOw0K ICAgIHRyeSB7DQogICAgICB0eXBlMk1lc3NhZ2UgPSBuZXcgVHlwZTJNZXNzYWdlKEJhc2U2NC5k ZWNvZGUoY2hhbGxlbmdlKSk7DQogICAgfQ0KICAgIGNhdGNoIChmaW5hbCBJT0V4Y2VwdGlvbiBl eGNlcHRpb24pIHsNCiAgICAgIHRocm93IG5ldyBOVExNRW5naW5lRXhjZXB0aW9uKCJJbnZhbGlk IE5UTE0gdHlwZSAyIG1lc3NhZ2UiLCBleGNlcHRpb24pOw0KICAgIH0NCiAgICBmaW5hbCBpbnQg dHlwZTJGbGFncyA9IHR5cGUyTWVzc2FnZS5nZXRGbGFncygpOw0KICAgIGZpbmFsIGludCB0eXBl M0ZsYWdzID0gdHlwZTJGbGFncyAmICgweGZmZmZmZmZmIF4gKA0KICAgICAgICBOdGxtRmxhZ3Mu TlRMTVNTUF9UQVJHRVRfVFlQRV9ET01BSU4gfA0KICAgICAgICBOdGxtRmxhZ3MuTlRMTVNTUF9U QVJHRVRfVFlQRV9TRVJWRVIpKTsNCiAgICBmaW5hbCBUeXBlM01lc3NhZ2UgdHlwZTNNZXNzYWdl ID0gbmV3IFR5cGUzTWVzc2FnZSh0eXBlMk1lc3NhZ2UsIHBhc3N3b3JkLCBkb21haW4sIHVzZXJu YW1lLCB3b3Jrc3RhdGlvbiwgdHlwZTNGbGFncyk7DQogICAgcmV0dXJuIEJhc2U2NC5lbmNvZGUo dHlwZTNNZXNzYWdlLnRvQnl0ZUFycmF5KCkpOw0KICB9DQoNCiAgcHVibGljIHN0YXRpYyB2b2lk IHJlZ2lzdGVyKGZpbmFsIERlZmF1bHRIdHRwQ2xpZW50IGh0dHBDbGllbnQpIHsNCiAgICBodHRw Q2xpZW50LmdldEF1dGhTY2hlbWVzKCkucmVnaXN0ZXIoQXV0aFBvbGljeS5OVExNLCBuZXcgQXV0 aFNjaGVtZUZhY3RvcnkoKSB7DQogICAgICBwdWJsaWMgQXV0aFNjaGVtZSBuZXdJbnN0YW5jZShm aW5hbCBIdHRwUGFyYW1zIGh0dHBQYXJhbXMpIHsNCiAgICAgICAgcmV0dXJuIG5ldyBOVExNU2No ZW1lKG5ldyBKQ0lGU0VuZ2luZSgpKTsNCiAgICAgIH0NCiAgICB9KTsNCiAgfQ0KfQ0KDQotLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0NCg0KVGhlbiwganVzdCBpbnNlcnQgYSBjYWxsIHRvIEpDSUZTRW5naW5lLnJl Z2lzdGVyKCkgZm9yIGVhY2ggbmV3bHkNCmNyZWF0ZWQgRGVmYXVsdEh0dHBDbGllbnQgaW5zdGFu Y2UuDQoNCi0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBPbGVnIEthbG5pY2hldnNr aSBbbWFpbHRvOm9sZWdrQGFwYWNoZS5vcmddIA0KU2VudDogRnJpZGF5LCBNYXJjaCAxMSwgMjAx MSAxMDowNyBBTQ0KVG86IEh0dHBDbGllbnQgVXNlciBEaXNjdXNzaW9uDQpTdWJqZWN0OiBSZTog TlRMTSBhdXRoZW50aWNhdGlvbiB3aXRoIGEgVVBOIGluc3RlYWQgb2YgZG9tYWluIGFuZCB1c2Vy IG5hbWUNCg0KT24gRnJpLCAyMDExLTAzLTExIGF0IDE3OjQ3ICswMDAwLCBSb24gSmFjb2JzIHdy b3RlOg0KPiBJIGFtIHVzaW5nIE5UTE0gYXV0aGVudGljYXRpb24gYW5kIEkgZmluZCB0aGF0IHdo ZW4gcG9ydGluZyBmcm9tIDMuMC4yDQo+IHRvIDQuMSwgSSBoYXZlIHNldmVyYWwgcXVlc3Rpb25z Og0KPiANCj4gMSkgQXV0aGVudGljYXRpbmcgd2l0aCBkb21haW4gYW5kIHVzZXIgd29ya3MgYnV0 IHdpdGggYSBVUE4gKGxpa2UNCj4gICAgInVzZXJAZG9tYWluLmxvY2FsIikgYXV0aGVudGljYXRp b24gZmFpbHMgYWx0aG91Z2ggYm90aCBhdXRoZW50aWNhdGUNCj4gICAgZmluZSB3aXRoIG15IHBy ZXZpb3VzIDMuMC4yIGNvZGUuIFdoeSBkb2VzIHRoZSBVUE4tc3R5bGUgbm90IHdvcms/DQo+IA0K DQpIdHRwQ2xpZW50IDQuMSBoYXMgYSBjb21wbGV0ZWx5IG5ldyBOVE1MIGVuZ2luZSBjb250cmli dXRlZCBieSBhbg0KZXh0ZXJuYWwgcHJvamVjdC4gQXBwYXJlbnRseSBpdCBkb2VzIG5vdCB3b3Jr IHdpdGggVVBOIHN0eWxlIHVzZXIgbmFtZXMuDQpZb3UgbWF5IHdhbnQgdG8gdHJ5IG91dCBKQ0lG UyBiYXNlZCBOVExNIGVuZ2luZSBhbmQgc2VlIGlmIGl0IHdvcmtzDQpiZXR0ZXIuIA0KDQoNCj4g MikgSG93IHNob3VsZCBJIHNldCBjcmVkZW50aWFscyBmb3IgTlRMTSB3aGVyZSB0aGVyZSBpcyBu byBkb21haW4sIGxpa2UNCj4gICAgd2hlbiB1c2luZyB0aGUgVVBOIGZvcm0/IE5UQ3JlZGVudGlh bHMgd2l0aCBkb21haW4gIiIgb3IgbnVsbCwgb3INCj4gICAgVXNlcm5hbWVQYXNzd29yZENyZWRl bnRpYWxzPyBJIGhhdmUgdHJpZWQgdmFyaW91cyBjb21iaW5hdGlvbnMNCj4gICAgd2l0aG91dCBz dWNjZXNzLg0KPiANCg0KQXMgZmFyIGFzIEkgdW5kZXJzdGFuZCBpZiBpdCBpcyBhIHN0YW5kYWxv bmUgd29ya3N0YXRpb24gdGhlIGRvbWFpbg0Kc2hvdWxkIGJlIHNhbWUgYXMgdGhlIHRoZSB3b3Jr c3RhdGlvbiBuYW1lLg0KDQo+IDMpIEkgYW0gYWNjZXNzaW5nIGEgd2ViIHNlcnZpY2UgZnJvbSBv dXRzaWRlIHRoZSBOVCBkb21haW4gc28gSSBoYXZlIG5vDQo+ICAgIHdvcmtzdGF0aW9uIG5hbWUg Zm9yIHRoZSAzcmQgcGFyYW1ldGVyIHRvIHRoZSBOVENyZWRlbnRpYWxzDQo+ICAgIGNvbnN0cnVj dG9yLiBJIGhhdmUgdHJpZWQgcGFzc2luZyBudWxsLCAiIiwgb3IgInNvbWVqdW5rIiB3aXRob3V0 DQo+ICAgIHN1Y2Nlc3MuDQo+IA0KDQpBZ2FpbiwgbXkga25vd2xlZGdlIG9mIE1TIFdpbmRvd3Mg bmV0d29ya2luZyBpcyBhd2Z1bGx5IG91dGRhdGVkLCBidXQgYXMNCmZhciBhcyBJIHJlbWVtYmVy IHRoZXJlIGlzIF9hbHdheXNfIGFuIGF1dGhlbnRpY2F0aW9uIGRvbWFpbiBvZiBzb21lDQpzb3J0 LiBJbiB0aGUgc2ltcGxlc3QgZm9ybSB0aGUgd29ya3N0YXRpb24gY2FuIGFjdCBhcyBpdHMgb3du IGF1dGgNCmRvbWFpbi4NCg0KQW55aG93IGl0IGhhcyBiZWVuIGFnZXMgc2luY2UgSSB0b3VjaGVz IGFueXRoaW5nIGNhbGxlZCBXaW5kb3dzDQoNCg0KPiA0KSBUaGUgTlRDcmVkZW50aWFscyBjb25z dHJ1Y3RvciBzZWVtcyBoYXBweSB0byBzZXQgd29ya3N0YXRpb24gdG8gbnVsbA0KPiAgICBidXQg SSBmaW5kIHRoYXQgd2hlbiBpdCBpcyBudWxsIGEgTnVsbFBvaW50ZXJFeGNlcHRpb24gaXMgdGhy b3duIGZyb20NCj4gICAgc29tZXdoZXJlIHdpdGhpbiB5b3VyIE5UTE0gY29kZS4NCj4gDQoNCkZl ZWwgZnJlZSB0byByYWlzZSBhIEpJUkEgZm9yIHRoaXMgZGVmZWN0Lg0KDQpPbGVnDQoNCg0KDQot LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0NClRvIHVuc3Vic2NyaWJlLCBlLW1haWw6IGh0dHBjbGllbnQtdXNlcnMtdW5z dWJzY3JpYmVAaGMuYXBhY2hlLm9yZw0KRm9yIGFkZGl0aW9uYWwgY29tbWFuZHMsIGUtbWFpbDog aHR0cGNsaWVudC11c2Vycy1oZWxwQGhjLmFwYWNoZS5vcmcNCg0K From [email protected] Thu Apr 21 19:24:00 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 84A25237A for <[email protected]>; Thu, 21 Apr 2011 19:24:00 +0000 (UTC) Received: (qmail 32544 invoked by uid 500); 21 Apr 2011 19:24:00 -0000 Delivered-To: [email protected] Received: (qmail 32508 invoked by uid 500); 21 Apr 2011 19:24:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 32500 invoked by uid 99); 21 Apr 2011 19:24:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Apr 2011 19:24:00 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,YOUR_PERMISSION X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO ok2cons2.nine.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Apr 2011 19:23:53 +0000 Received: from [161.129.204.104] (600)828-8265.dclient.hispeed.ch [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ok2cons2.nine.ch (Postfix) with ESMTPSA id C8A1D245E405 for <[email protected]>; Thu, 21 Apr 2011 21:23:32 +0200 (CEST) Subject: Re: Full NTLMv2 Support Achieved Easily (Was: NTLM authentication with a UPN instead of domain and user name) From: Oleg Kalnichevski <[email protected]> To: HttpClient User Discussion <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <1299866824.27644.18.camel@ubuntu> <[email protected]> Content-Type: text/plain; charset="UTF-8" Date: Thu, 21 Apr 2011 21:23:28 +0200 Message-ID: <1303413808.11128.4.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit On Thu, 2011-04-21 at 17:12 +0000, Ron Jacobs wrote: > (I apologize for the delay in posting this update. It was delayed due to > matters outside of my control. Nonetheless, I am sure that anyone > struggling to gain NTLMv2 support with version 4.1.x will be helped by > taking a look at the following:) > > ------------------------------------------------------------------------ > > I have tried JCIFS and was able to get all of my test cases to pass. > > But, it doesn't support NTLMv2 "out of the box" because its > NegotiateFlags (see section 161.129.204.104 of the Microsoft's [MS-NLMP] spec) > is insufficient. > > My implementation is based upon the example that used to be found at: > > http://hc.apache.org/httpcomponents-client/ntlm.html > > I was able to locate the info on the way-back machine at: > > http://replay.waybackmachine.org/20090611051135/http://hc.apache.org/httpcomponents-client/ntlm.html > > Since the built-in NTLM implementation is insufficient, the maintainers > may wish to restore this page, with the slight adjustment that I found > necessary, or with the following code, which I have verified works with > both NTLMv1 and NTLMv2 authentication: > Hi Ron Many thanks for sharing this information with us. I am going to restore the document and with your permission update it with the details and code snippets that you posted in your previous message. Cheers Oleg PS: Would you be by any change willing to take a look at the default NTLM engine distributed with HttpClient and see what may be wrong there? It'd be a great contribution to all users of HttpClient. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 21 21:07:37 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 57F302A0F for <[email protected]>; Thu, 21 Apr 2011 21:07:37 +0000 (UTC) Received: (qmail 21022 invoked by uid 500); 21 Apr 2011 21:07:36 -0000 Delivered-To: [email protected] Received: (qmail 20988 invoked by uid 500); 21 Apr 2011 21:07:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 20980 invoked by uid 99); 21 Apr 2011 21:07:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Apr 2011 21:07:36 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO barracuda.mygazoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Apr 2011 21:07:30 +0000 X-ASG-Debug-ID: 1303420028-01f010112df7bf0001-tPwLzd Received: from fccorpmail03.mygazoo.com ([161.129.204.104]) by barracuda.mygazoo.com with ESMTP id bQPWGrm5RpxmlgrL (version=TLSv1 cipher=AES128-SHA bits=128 verify=NO) for <[email protected]>; Thu, 21 Apr 2011 14:07:08 -0700 (PDT) X-Barracuda-Envelope-From: [email protected] X-ASG-Whitelist: Client Received: from sccorpowa05.mygazoo.com (161.129.204.104) by fccorpmail03.mygazoo.com (161.129.204.104) with Microsoft SMTP Server (TLS) id 14.1.270.1; Thu, 21 Apr 2011 14:07:07 -0700 Received: from fccorpmail03.mygazoo.com ([acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b6116:1dc:5867:46dc]) by sccorpowa05.mygazoo.com ([acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bc90b:b30e:cf72:1315%11]) with mapi id 14.01.0270.001; Thu, 21 Apr 2011 14:07:07 -0700 X-ASG-Whitelist: Client X-Barracuda-BBL-IP: 161.129.204.104 X-Barracuda-RBL-IP: 161.129.204.104 From: Ron Jacobs <[email protected]> X-Barracuda-Apparent-Source-IP: acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b6116:1dc:5867:46dc To: HttpClient User Discussion <[email protected]> Subject: RE: Full NTLMv2 Support Achieved Easily (Was: NTLM authentication with a UPN instead of domain and user name) Thread-Topic: Full NTLMv2 Support Achieved Easily (Was: NTLM authentication with a UPN instead of domain and user name) X-ASG-Orig-Subj: RE: Full NTLMv2 Support Achieved Easily (Was: NTLM authentication with a UPN instead of domain and user name) Thread-Index: AQHMAEdXFJJ04tz9F0W/SlorgCuC5JRpJ/gA//+hmsA= Date: Thu, 21 Apr 2011 21:07:06 +0000 Message-ID: <[email protected]> References: <[email protected]> <1299866824.27644.18.camel@ubuntu> <[email protected]> <1303413808.11128.4.camel@ubuntu> In-Reply-To: <1303413808.11128.4.camel@ubuntu> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [161.129.204.104] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Barracuda-Connect: UNKNOWN[161.129.204.104] X-Barracuda-Start-Time: 1303420028 X-Barracuda-Encrypted: AES128-SHA X-Barracuda-URL: http://161.129.204.104:8000/cgi-mod/mark.cgi X-Virus-Scanned: by [email protected] SSBtdXN0IHNheSB0aGF0IEkgaGFkbid0IHdhbnRlZCB0byBzYXkgYW55dGhpbmcgbmVnYXRpdmUg YWJvdXQgdGhhdCBjb2RlDQppbiBteSBvcmlnaW5hbCBwb3N0KHMpLCBidXQgbm93IHRoYXQgeW91 J3ZlIGFza2VkOg0KDQpUaGUgY29kZSBub3cgaW4geW91ciA0LjEgZGlzdHJpYnV0aW9uIGFwcGVh cnMgdG8gYmUgbWluaW1hbGx5IChpZiBhdA0KYWxsKSB1bmNoYW5nZWQgZnJvbSBzb21lIGNvZGUg dGhhdCBJIGNhbWUgYWNyb3NzIGR1cmluZyBhIEdvb2dsZSBzZWFyY2gNCmZvciBiZXR0ZXIgc3Vw cG9ydGluZyBOVExNIHdpdGhpbiBIdHRwQ2xpZW50IHdheSBiZWZvcmUgSSBldmVyIHVwZ3JhZGVk DQp0byA0LnguIEkgbG9va2VkIGF0IHRoYXQgY29kZSBpbiBkZXB0aCBzb21ldGltZSBsYXN0IHll YXIgYW5kIGNvbmNsdWRlZA0KdGhhdCB0aGVyZSB3ZXJlIGp1c3QgdG9vIG1hbnkgcHJvYmxlbXMg d2l0aCBpdC4NCg0KV2l0aG91dCBnb2luZyBpbnRvIHRlY2huaWNhbCBkZXRhaWxzLCB3aGljaCBJ IGhhdmUgY2VydGFpbmx5IG1vc3RseQ0KZm9yZ290dGVuIGJ5IG5vdyBhbnl3YXksIHRoYXQgY29k ZSBzZWVtZWQgdG8gaGF2ZSBiZWVuIHdyaXR0ZW4gYnkNCnJldmVyc2UgZW5naW5lZXJpbmcgYW5k IGd1ZXNzaW5nIGFib3V0IE5UTE0gc29tZSB0aW1lIGJlZm9yZSBNaWNyb3NvZnQNCihmaW5hbGx5 KSBwdWJsaWNseSByZWxlYXNlZCB0aGUgTlRMTSBzcGVjaWZpY2F0aW9uLiBJdCBtYXkgaGF2ZSB3 b3JrZWQNCmF0IG9uZSB0aW1lIGZvciBzb21lIHNwZWNpZmljIGNvbWJpbmF0aW9uIG9mIFdpbmRv d3MgcGFyYW1ldGVycyBhbmQNCm9wdGlvbnMgYnV0IGl0IHdhcyB0b28gZmFyIGF3YXkgZnJvbSB3 b3JraW5nIGZvciB0aGUgZ2VuZXJhbCBjYXNlcyB0aGF0DQpJIG5lZWRlZC4gWW91IHNlZSwgdW5s aWtlIG1hbnkgTlRMTSBjbGllbnQtc2lkZSB1c2VycyB0aGF0IGFyZSBqdXN0DQp0cnlpbmcgdG8g YXV0aGVudGljYXRlIGFnYWluc3QgYSBzcGVjaWZpYyBXaW5kb3dzIHNlcnZlciwgSSBuZWVkIHRv IHdvcmsNCndpdGgganVzdCBhYm91dCBhbnkgY29tYm8gb2YgV2luZG93cyBPUyB2ZXJzaW9ucywg c2VydmljZSBwYWNrcywNCnJlZ2lzdHJ5IHNldHRpbmdzLCBpbnN0YWxsZWQgYXBwcywgZXRjLg0K DQpTbyBJIGFiYW5kb25lZCB0aGF0IGVmZm9ydCBhbmQgd2hlbiBJIHJlY29nbml6ZWQgdGhlIHNh bWUgY29kZSBpbnNpZGUNCkh0dHBDbGllbnQsIEkgd2FzIG5vdCBob3BlZnVsLiBJdCB3YXMgYXMg SSB3YXMgbG9va2luZyBmb3IgYWx0ZXJuYXRpdmVzDQp0aGF0IEkgYXNrZWQgdGhlIHF1ZXN0aW9u cyB0aGF0IHlvdSBhbnN3ZXJlZCBmb3IgbWUgbGFzdCBtb250aCBsZWFkaW5nDQptZSBzdHJhaWdo dCB0byB0aGlzIGFwcHJvYWNoIHRoYXQgaXMgd29ya2luZyBncmVhdCBmb3IgdXMgdG9kYXkuDQoN ClNlZW1zIHRvIG1lIHRoYXQgdGhlcmUgaXMgc3RpbGwgbm8gIm9wZW4gc291cmNlIiBzb2x1dGlv biB0aGF0IGlzIHJlYWR5DQp0byBkcm9wIGludG8gdGhlIEh0dHBDbGllbnQgZGlzdHJpYnV0aW9u LiBJIGJlbGlldmUgdGhhdCB0aGUgY29ycmVjdA0KYXBwcm9hY2ggaXMgaW5kZWVkIEpDSUZTIGFu ZCB0aGF0IHlvdXIgcmVzdG9yaW5nIGFuZCB1cGRhdGluZyB0aGUgd2ViDQpwYWdlIGlzIHRoZSBi ZXN0IHNvbHV0aW9uLiBJZiBJIHdlcmUgImZvcmNlZCIgdG8gd3JpdGUgc29tZSBOVExNIGNvZGUN CndpdGhvdXQgbGljZW5zaW5nIGlzc3VlcyBmb3IgSHR0cENsaWVudCBpdCB3b3VsZCBlbmQgdXAg bG9va2luZyBtdWNoDQp0b28gdW5jb21mb3J0YWJseSBjbG9zZSB0byBKQ0lGUy4NCg0KSSB0cnVs eSBob3BlIHRoYXQgSSBoYXZlIG9mZmVuZGVkIG5vIG9uZS4NCg0KLS0tLS1PcmlnaW5hbCBNZXNz YWdlLS0tLS0NCkZyb206IE9sZWcgS2FsbmljaGV2c2tpIFttYWlsdG86b2xlZ2tAYXBhY2hlLm9y Z10gDQpTZW50OiBUaHVyc2RheSwgQXByaWwgMjEsIDIwMTEgMTI6MjMgUE0NClRvOiBIdHRwQ2xp ZW50IFVzZXIgRGlzY3Vzc2lvbg0KU3ViamVjdDogUmU6IEZ1bGwgTlRMTXYyIFN1cHBvcnQgQWNo aWV2ZWQgRWFzaWx5IChXYXM6IE5UTE0gYXV0aGVudGljYXRpb24gd2l0aCBhIFVQTiBpbnN0ZWFk IG9mIGRvbWFpbiBhbmQgdXNlciBuYW1lKQ0KDQouLi4NCg0KUFM6IFdvdWxkIHlvdSBiZSBieSBh bnkgY2hhbmdlIHdpbGxpbmcgdG8gdGFrZSBhIGxvb2sgYXQgdGhlIGRlZmF1bHQNCk5UTE0gZW5n aW5lIGRpc3RyaWJ1dGVkIHdpdGggSHR0cENsaWVudCBhbmQgc2VlIHdoYXQgbWF5IGJlIHdyb25n IHRoZXJlPw0KSXQnZCBiZSBhIGdyZWF0IGNvbnRyaWJ1dGlvbiB0byBhbGwgdXNlcnMgb2YgSHR0 cENsaWVudC4NCg0K From [email protected] Thu Apr 21 21:14:35 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 04A362B3F for <[email protected]>; Thu, 21 Apr 2011 21:14:35 +0000 (UTC) Received: (qmail 24493 invoked by uid 500); 21 Apr 2011 21:14:34 -0000 Delivered-To: [email protected] Received: (qmail 24467 invoked by uid 500); 21 Apr 2011 21:14:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 24459 invoked by uid 99); 21 Apr 2011 21:14:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Apr 2011 21:14:34 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FREEMAIL_FROM,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-vx0-f179.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Apr 2011 21:14:28 +0000 Received: by vxi40 with SMTP id 40so97121vxi.10 for <[email protected]>; Thu, 21 Apr 2011 14:14:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:references:from:content-type:x-mailer :in-reply-to:message-id:date:to:content-transfer-encoding :mime-version; bh=yFRl1EUzmZ1ReBRq0dfi4g1T/mBEggH29+tLeiGcM4M=; b=S6mpweGmgPWMqnWD4qjAUvTD8R2SUtqYFAmq0DGI3o6JjWMk+xyNDtJXgaSULFdMJB RJd2YHDVWt/qTzsGFwWDwCA4w0r2xn0aQnc0zyZO16WOZX6D8P/cOFWlg+KgtIl1hTGT dEZZmDPsAjtVI4DKpVoofNsPsVZshSzDblZxM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:references:from:content-type:x-mailer:in-reply-to :message-id:date:to:content-transfer-encoding:mime-version; b=JwuAqxC1nr12HYdEbk+8Rwe8iX80eWabtlgP1U/7yB/qnDs+RPKZdsBF7slf4hSa8A x9kek3ZBJNqaOUJZ2tk2BGy3U4j25RI9VmKgC7froGq/apdDoQDNPKJ9fWCK2bOhFuHq /m4oMkHkxzISAz1rKch3okGFiY0ZZP4e8j0ec= Received: by 161.129.204.104 with SMTP id ew10mr616551vdc.188.1303420447421; Thu, 21 Apr 2011 14:14:07 -0700 (PDT) Received: from [161.129.204.104] (pool-108-28-62-40.washdc.fios.verizon.net [161.129.204.104]) by mx.google.com with ESMTPS id e20sm1125447vbz.8.2161.129.204.104.14.05 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 21 Apr 2011 14:14:06 -0700 (PDT) Subject: Re: Full NTLMv2 Support Achieved Easily (Was: NTLM authentication with a UPN instead of domain and user name) References: <[email protected]> <1299866824.27644.18.camel@ubuntu> <[email protected]> <1303413808.11128.4.camel@ubuntu> <[email protected]> From: Marc Boorshtein <[email protected]> Content-Type: text/plain; charset=us-ascii X-Mailer: iPad Mail (8C148) In-Reply-To: <[email protected]> Message-Id: <[email protected]> Date: Thu, 21 Apr 2011 17:14:02 -0400 To: HttpClient User Discussion <[email protected]> Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (iPad Mail 8C148) I find this discussion fascinating. One question, are you saying the Ntlmsch= emefactory doesn't work? I use it as part of my unit tests against adfs 2 r= unning on w2k8r2 64bit and it works perfectly.=20 Thanks Marc Sent from my iPad On Apr 21, 2011, at 5:07 PM, Ron Jacobs <[email protected]> wro= te: > I must say that I hadn't wanted to say anything negative about that code > in my original post(s), but now that you've asked: >=20 > The code now in your 4.1 distribution appears to be minimally (if at > all) unchanged from some code that I came across during a Google search > for better supporting NTLM within HttpClient way before I ever upgraded > to 4.x. I looked at that code in depth sometime last year and concluded > that there were just too many problems with it. >=20 > Without going into technical details, which I have certainly mostly > forgotten by now anyway, that code seemed to have been written by > reverse engineering and guessing about NTLM some time before Microsoft > (finally) publicly released the NTLM specification. It may have worked > at one time for some specific combination of Windows parameters and > options but it was too far away from working for the general cases that > I needed. You see, unlike many NTLM client-side users that are just > trying to authenticate against a specific Windows server, I need to work > with just about any combo of Windows OS versions, service packs, > registry settings, installed apps, etc. >=20 > So I abandoned that effort and when I recognized the same code inside > HttpClient, I was not hopeful. It was as I was looking for alternatives > that I asked the questions that you answered for me last month leading > me straight to this approach that is working great for us today. >=20 > Seems to me that there is still no "open source" solution that is ready > to drop into the HttpClient distribution. I believe that the correct > approach is indeed JCIFS and that your restoring and updating the web > page is the best solution. If I were "forced" to write some NTLM code > without licensing issues for HttpClient it would end up looking much > too uncomfortably close to JCIFS. >=20 > I truly hope that I have offended no one. >=20 > -----Original Message----- > From: Oleg Kalnichevski [mailto:[email protected]]=20 > Sent: Thursday, April 21, 2011 12:23 PM > To: HttpClient User Discussion > Subject: Re: Full NTLMv2 Support Achieved Easily (Was: NTLM authentication= with a UPN instead of domain and user name) >=20 > ... >=20 > PS: Would you be by any change willing to take a look at the default > NTLM engine distributed with HttpClient and see what may be wrong there? > It'd be a great contribution to all users of HttpClient. >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 21 21:25:26 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id C49122197 for <[email protected]>; Thu, 21 Apr 2011 21:25:26 +0000 (UTC) Received: (qmail 30351 invoked by uid 500); 21 Apr 2011 21:25:26 -0000 Delivered-To: [email protected] Received: (qmail 30289 invoked by uid 500); 21 Apr 2011 21:25:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 30281 invoked by uid 99); 21 Apr 2011 21:25:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Apr 2011 21:25:26 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO barracuda.mygazoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Apr 2011 21:25:19 +0000 X-ASG-Debug-ID: 1303421098-01f010112cf8230001-tPwLzd Received: from sccorpmail03.mygazoo.com (sccorpmail03.mygazoo.com [161.129.204.104]) by barracuda.mygazoo.com with ESMTP id G9bCuDtoIc2erLFA (version=TLSv1 cipher=AES128-SHA bits=128 verify=NO) for <[email protected]>; Thu, 21 Apr 2011 14:24:58 -0700 (PDT) X-Barracuda-Envelope-From: [email protected] X-ASG-Whitelist: Client Received: from sccorpowa05.mygazoo.com (161.129.204.104) by sccorpmail03.mygazoo.com (161.129.204.104) with Microsoft SMTP Server (TLS) id 161.129.204.104; Thu, 21 Apr 2011 14:24:57 -0700 Received: from fccorpmail03.mygazoo.com ([acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b6116:1dc:5867:46dc]) by sccorpowa05.mygazoo.com ([acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bc90b:b30e:cf72:1315%11]) with mapi id 14.01.0270.001; Thu, 21 Apr 2011 14:24:57 -0700 X-ASG-Whitelist: Client X-Barracuda-BBL-IP: 161.129.204.104 X-Barracuda-RBL-IP: 161.129.204.104 From: Ron Jacobs <[email protected]> X-Barracuda-Apparent-Source-IP: acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b6116:1dc:5867:46dc To: HttpClient User Discussion <[email protected]> Subject: RE: Full NTLMv2 Support Achieved Easily (Was: NTLM authentication with a UPN instead of domain and user name) Thread-Topic: Full NTLMv2 Support Achieved Easily (Was: NTLM authentication with a UPN instead of domain and user name) X-ASG-Orig-Subj: RE: Full NTLMv2 Support Achieved Easily (Was: NTLM authentication with a UPN instead of domain and user name) Thread-Index: AQHMAEdXFJJ04tz9F0W/SlorgCuC5JRpJ/gA//+hmsCAAH1LAP//iw+g Date: Thu, 21 Apr 2011 21:24:56 +0000 Message-ID: <[email protected]> References: <[email protected]> <1299866824.27644.18.camel@ubuntu> <[email protected]> <1303413808.11128.4.camel@ubuntu> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [161.129.204.104] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Barracuda-Connect: sccorpmail03.mygazoo.com[161.129.204.104] X-Barracuda-Start-Time: 1303421098 X-Barracuda-Encrypted: AES128-SHA X-Barracuda-URL: http://161.129.204.104:8000/cgi-mod/mark.cgi X-Virus-Scanned: by [email protected] X-Virus-Checked: Checked by ClamAV on apache.org I am not saying that anything doesn't work. I am saying that I have looked at the code and see multiple problems based upon my reading of the NTLM specification that was first publicly released by Microsoft in March of 2007. I am still trying to walk on eggshells so as to not be critical and I will not give specific technical examples. But to reiterate, this code appears to predate the public release of the NTLM specification. Although I did find a minor issue in the JCIFS code on the deleted web page, it was easy to detect and fix and that was the intent of my first posting earlier today. If the code you are using is working with the specific configuration that you are using then I don't see any pressing reason for concern. On the other hand if you, like I, do not control any of the many variables inherent in the Windows servers against which you must be able to authenticate, then you may be interested in the code that I posted. -----Original Message----- From: Marc Boorshtein [mailto:[email protected]]=20 Sent: Thursday, April 21, 2011 2:14 PM To: HttpClient User Discussion Subject: Re: Full NTLMv2 Support Achieved Easily (Was: NTLM authentication = with a UPN instead of domain and user name) I find this discussion fascinating. One question, are you saying the Ntlmsc= hemefactory doesn't work? I use it as part of my unit tests against adfs 2= running on w2k8r2 64bit and it works perfectly.=20 Thanks Marc Sent from my iPad On Apr 21, 2011, at 5:07 PM, Ron Jacobs <[email protected]> wr= ote: > I must say that I hadn't wanted to say anything negative about that code > in my original post(s), but now that you've asked: >=20 > The code now in your 4.1 distribution appears to be minimally (if at > all) unchanged from some code that I came across during a Google search > for better supporting NTLM within HttpClient way before I ever upgraded > to 4.x. I looked at that code in depth sometime last year and concluded > that there were just too many problems with it. >=20 > Without going into technical details, which I have certainly mostly > forgotten by now anyway, that code seemed to have been written by > reverse engineering and guessing about NTLM some time before Microsoft > (finally) publicly released the NTLM specification. It may have worked > at one time for some specific combination of Windows parameters and > options but it was too far away from working for the general cases that > I needed. You see, unlike many NTLM client-side users that are just > trying to authenticate against a specific Windows server, I need to work > with just about any combo of Windows OS versions, service packs, > registry settings, installed apps, etc. >=20 > So I abandoned that effort and when I recognized the same code inside > HttpClient, I was not hopeful. It was as I was looking for alternatives > that I asked the questions that you answered for me last month leading > me straight to this approach that is working great for us today. >=20 > Seems to me that there is still no "open source" solution that is ready > to drop into the HttpClient distribution. I believe that the correct > approach is indeed JCIFS and that your restoring and updating the web > page is the best solution. If I were "forced" to write some NTLM code > without licensing issues for HttpClient it would end up looking much > too uncomfortably close to JCIFS. >=20 > I truly hope that I have offended no one. >=20 > -----Original Message----- > From: Oleg Kalnichevski [mailto:[email protected]]=20 > Sent: Thursday, April 21, 2011 12:23 PM > To: HttpClient User Discussion > Subject: Re: Full NTLMv2 Support Achieved Easily (Was: NTLM authenticatio= n with a UPN instead of domain and user name) >=20 > ... >=20 > PS: Would you be by any change willing to take a look at the default > NTLM engine distributed with HttpClient and see what may be wrong there? > It'd be a great contribution to all users of HttpClient. >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 21 21:36:47 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 3DB5C2814 for <[email protected]>; Thu, 21 Apr 2011 21:36:47 +0000 (UTC) Received: (qmail 37912 invoked by uid 500); 21 Apr 2011 21:36:46 -0000 Delivered-To: [email protected] Received: (qmail 37858 invoked by uid 500); 21 Apr 2011 21:36:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 37850 invoked by uid 99); 21 Apr 2011 21:36:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Apr 2011 21:36:46 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-qw0-f51.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Apr 2011 21:36:41 +0000 Received: by qwf7 with SMTP id 7so62794qwf.10 for <[email protected]>; Thu, 21 Apr 2011 14:36:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=asFFH8+0TX02T27AMjV1oNnI8ucsv1thVyaayDdr3+I=; b=Jf9gFzyQDcw4C+jz/YTq71I+V6u3eS0dA5HkXeqdko22A0A6k6FmG3JYfApmYpLoTD ZbAFPJhidO4Lo9tNtS+AyL/21MD2DXc+0UjlhkKxRWDNhiI3BtVHdUIl5XWyQPfP5czQ SRaL6noiSxyqMCrUG8DJstyxqjrLxdzOCMMBM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=PO5ouq0Tnvx/JJx6c6BdbhSJC4bKvw8fUBSm49Aq9+Gatn/jaUqtet8f9wYLC4ASAs I6tyCwib6el3VumhjCobJAHde1p37MkAPgY21TNJeUQn3Ct9K1RohIyCB22hqPh3G7uh QeW7hMq7fhXnfQFH59vVkmYNr/oA3Nc/f9UK0= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id f41mr352949qci.130.1303421780972; Thu, 21 Apr 2011 14:36:20 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 21 Apr 2011 14:36:20 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <1299866824.27644.18.camel@ubuntu> <[email protected]> <1303413808.11128.4.camel@ubuntu> <[email protected]> <[email protected]> <[email protected]> Date: Thu, 21 Apr 2011 17:36:20 -0400 Message-ID: <[email protected]> Subject: Re: Full NTLMv2 Support Achieved Easily (Was: NTLM authentication with a UPN instead of domain and user name) From: Marc Boorshtein <[email protected]> To: HttpClient User Discussion <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 On Thu, Apr 21, 2011 at 5:24 PM, Ron Jacobs <[email protected]> wrote: > I am not saying that anything doesn't work. I am saying that I have > looked at the code and see multiple problems based upon my reading of > the NTLM specification that was first publicly released by Microsoft in > March of 2007. > Fair enough. I was more concerned that MS was allowing something that shouldn't work :-) Thanks Marc --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 22 00:50:47 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 697072570 for <[email protected]>; Fri, 22 Apr 2011 00:50:47 +0000 (UTC) Received: (qmail 49679 invoked by uid 500); 22 Apr 2011 00:50:47 -0000 Delivered-To: [email protected] Received: (qmail 49649 invoked by uid 500); 22 Apr 2011 00:50:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 49641 invoked by uid 99); 22 Apr 2011 00:50:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Apr 2011 00:50:46 +0000 X-ASF-Spam-Status: No, hits=2.6 required=5.0 tests=HTML_FONT_FACE_BAD,HTML_MESSAGE,MISSING_MID,SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO smg.isoftstone.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Apr 2011 00:50:39 +0000 X-User: zhaochen Received: from lenovo-0784e141 [(161.129.204.104)] by smg.isoftstone.com (envelope-from <[email protected]>) (Cellopoint E-mail Firewall v3.9.8 Build 0301 with TLS) with ESMTP id 960796312; Fri, 22 Apr 2011 08:50:15 +0800 Date: Fri, 22 Apr 2011 08:51:54 +0800 From: "=?utf-8?B?6ZmI5pyd?=" <[email protected]> To: "httpclient-users" <[email protected]> Subject: Why AuthSSLProtocolSocketFactory no longer in HttpClient 4.1 ? What shold do to perform SSL auth? X-Mailer: NetEase Flash Mail 161.129.204.104 X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="====003__MESSAGE__ID__54yg6f6h6y456345====" X-Virus-Checked: Checked by ClamAV on apache.org Message-Id: <[email protected]> --====003__MESSAGE__ID__54yg6f6h6y456345==== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SGkgdGhlcmU6DQpXaHkgQXV0aFNTTFByb3RvY29sU29ja2V0RmFjdG9yeSBubyBsb25nZXIgaW4g SHR0cENsaWVudCA0LjEgPyBXaGF0IHNob2xkIGRvIHRvIHBlcmZvcm0gU1NMIGF1dGg/DQoNCjIw MTEtMDQtMjENCg0KDQoNClpoYW8gQ2hlbg== --====003__MESSAGE__ID__54yg6f6h6y456345====-- From [email protected] Fri Apr 22 11:47:51 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 28E13176A for <[email protected]>; Fri, 22 Apr 2011 11:47:51 +0000 (UTC) Received: (qmail 17937 invoked by uid 500); 22 Apr 2011 11:47:50 -0000 Delivered-To: [email protected] Received: (qmail 17901 invoked by uid 500); 22 Apr 2011 11:47:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 17893 invoked by uid 99); 22 Apr 2011 11:47:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Apr 2011 11:47:50 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO ok2cons2.nine.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Apr 2011 11:47:40 +0000 Received: from [161.129.204.104] (600)828-8265.dclient.hispeed.ch [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ok2cons2.nine.ch (Postfix) with ESMTPSA id A5BA6245E406 for <[email protected]>; Fri, 22 Apr 2011 13:47:20 +0200 (CEST) Subject: RE: Full NTLMv2 Support Achieved Easily (Was: NTLM authentication with a UPN instead of domain and user name) From: Oleg Kalnichevski <[email protected]> To: HttpClient User Discussion <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <1299866824.27644.18.camel@ubuntu> <[email protected]> <1303413808.11128.4.camel@ubuntu> <[email protected]> Content-Type: text/plain; charset="UTF-8" Date: Fri, 22 Apr 2011 13:47:19 +0200 Message-ID: <1303472839.11128.25.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Thu, 2011-04-21 at 21:07 +0000, Ron Jacobs wrote: > I must say that I hadn't wanted to say anything negative about that code > in my original post(s), but now that you've asked: > > The code now in your 4.1 distribution appears to be minimally (if at > all) unchanged from some code that I came across during a Google search > for better supporting NTLM within HttpClient way before I ever upgraded > to 4.x. I looked at that code in depth sometime last year and concluded > that there were just too many problems with it. > > Without going into technical details, which I have certainly mostly > forgotten by now anyway, that code seemed to have been written by > reverse engineering and guessing about NTLM some time before Microsoft > (finally) publicly released the NTLM specification. It may have worked > at one time for some specific combination of Windows parameters and > options but it was too far away from working for the general cases that > I needed. You see, unlike many NTLM client-side users that are just > trying to authenticate against a specific Windows server, I need to work > with just about any combo of Windows OS versions, service packs, > registry settings, installed apps, etc. > This sounds quite unsettling. The NTLM engine used by HttpClient by default was contributed by the Lucene connector framework project as one big code drop. Since the code came from another ASF project I simply assumed it was clean and Lucene folks had done their due diligence. I am less concerned about quality of that code, but I am unpleasantly surprised that the implementation might have been based on an exiting piece of code developed through reverse engineering rather than based on the published specification. The main problem is that HttpClient may now have a large body of code that was originally published under uncertain / unclear licensing terms or under license incompatible with ASLv2. Is there any chance you could dig out a reference to what you believe is the original implementation? > So I abandoned that effort and when I recognized the same code inside > HttpClient, I was not hopeful. It was as I was looking for alternatives > that I asked the questions that you answered for me last month leading > me straight to this approach that is working great for us today. > > Seems to me that there is still no "open source" solution that is ready > to drop into the HttpClient distribution. I believe that the correct > approach is indeed JCIFS and that your restoring and updating the web > page is the best solution. If I were "forced" to write some NTLM code > without licensing issues for HttpClient it would end up looking much > too uncomfortably close to JCIFS. > I reckon no other group of people outside Microsoft know Microsoft network protocols better than Samba folks. I am sure that their NTLM implementation is solid and more comprehensive. I wish we could simply use it instead of having to maintain our own implementation. The problem is JCIFS is licensed under LGPL which makes its licensing terms incompatible with non-viral licenses such as ASLv2. As long as you are using JCIFS for your own needs or for an internal system in your company you are all fine. However, if you plan to distribute your application as a commercial product, LGPL becomes an issue and a legal liability. > I truly hope that I have offended no one. > No, really not. You helped a great deal. The NTLM guide has been restored and updated based on your input. Please review: http://svn.apache.org/viewvc?rev=1095921&view=rev http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/src/site/apt/ntlm.apt?view=markup Cheers Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 22 11:48:56 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 36F531955 for <[email protected]>; Fri, 22 Apr 2011 11:48:56 +0000 (UTC) Received: (qmail 18562 invoked by uid 500); 22 Apr 2011 11:48:55 -0000 Delivered-To: [email protected] Received: (qmail 18519 invoked by uid 500); 22 Apr 2011 11:48:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 18511 invoked by uid 99); 22 Apr 2011 11:48:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Apr 2011 11:48:55 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO ok2cons2.nine.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Apr 2011 11:48:48 +0000 Received: from [161.129.204.104] (600)828-8265.dclient.hispeed.ch [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ok2cons2.nine.ch (Postfix) with ESMTPSA id 8BBE3245E406 for <[email protected]>; Fri, 22 Apr 2011 13:48:27 +0200 (CEST) Subject: Re: Why AuthSSLProtocolSocketFactory no longer in HttpClient 4.1 ? What shold do to perform SSL auth? From: Oleg Kalnichevski <[email protected]> To: HttpClient User Discussion <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain; charset="UTF-8" Date: Fri, 22 Apr 2011 13:48:26 +0200 Message-ID: <1303472906.11128.27.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 8bit On Fri, 2011-04-22 at 08:51 +0800, 陈朝 wrote: > Hi there: > Why AuthSSLProtocolSocketFactory no longer in HttpClient 4.1 ? What shold do to perform SSL auth? > > 2011-04-21 > > > > Zhao Chen AuthSSLProtocolSocketFactory functionality has been incorporated into the standard SSLSocketFactory distributed with HttpClient. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 22 12:26:27 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 07BAD11B2 for <[email protected]>; Fri, 22 Apr 2011 12:26:27 +0000 (UTC) Received: (qmail 36974 invoked by uid 500); 22 Apr 2011 12:26:26 -0000 Delivered-To: [email protected] Received: (qmail 36948 invoked by uid 500); 22 Apr 2011 12:26:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 36940 invoked by uid 99); 22 Apr 2011 12:26:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Apr 2011 12:26:26 +0000 X-ASF-Spam-Status: No, hits=0.1 required=5.0 tests=MISSING_MID,NORMAL_HTTP_TO_IP,SPF_PASS,UNPARSEABLE_RELAY,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO smg.isoftstone.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Apr 2011 12:26:18 +0000 X-User: zhaochen Received: from lenovo-0784e141 [(161.129.204.104)] by smg.isoftstone.com (envelope-from <[email protected]>) (Cellopoint E-mail Firewall v3.9.8 Build 0301 with TLS) with ESMTP id 1440972076; Fri, 22 Apr 2011 20:25:51 +0800 Date: Fri, 22 Apr 2011 20:27:22 +0800 From: "=?utf-8?B?6ZmI5pyd?=" <[email protected]> To: "HttpClient User Discussion" <[email protected]> Subject: Re: Re: Why AuthSSLProtocolSocketFactory no longer in HttpClient 4.1 ? What shold do to perform SSL auth? X-Mailer: NetEase Flash Mail 161.129.204.104 X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="====003__MESSAGE__ID__54yg6f6h6y456345====" X-Virus-Checked: Checked by ClamAV on apache.org Message-Id: <[email protected]> --====003__MESSAGE__ID__54yg6f6h6y456345==== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 VGhhbmtzIGZvciByZXBseeOAgg0KTm93IEkgY2FuIHVzZSBTU0xTb2NrZXRGYWN0b3J5IHRvIGVz dGFibGlzaCBTU0wgY29ubmVjdGlvbiB3aXRoIEpCb3Nz44CCDQpCdXQgd2hlbiBJIGFkZCAiQ0xJ RU5ULUNFUlQiIGF1dGgtbWV0aG9kIGluIHNlcnZlcidzIHdlYi54bWwgbGlrZSB0aGlzOg0KDQo8 bG9naW4tY29uZmlnPg0KICA8YXV0aC1tZXRob2Q+Q0xJRU5ULUNFUlQ8L2F1dGgtbWV0aG9kPg0K PC9sb2dpbi1jb25maWc+DQoNClRoZSBmbGxvd2luZyBwcm9ibGVtIGFwcGVhciA6DQotLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0NCmV4ZWN1dGluZyBy ZXF1ZXN0R0VUIGh0dHBzOi8vMTAuMTAwLjEyMy4yMzU6ODQ0My9odHRwc1NlcnZlci9UZXN0U2Vy dmxldD90ZXN0PXh4eCBIVFRQLzEuMQ0KREVCVUcgW21haW5dIG9yZy5hcGFjaGUuaHR0cC5pbXBs LmNvbm4uU2luZ2xlQ2xpZW50Q29ubk1hbmFnZXIgICAgIC0gR2V0IGNvbm5lY3Rpb24gZm9yIHJv dXRlIEh0dHBSb3V0ZVt7c30tPmh0dHBzOi8vMTAuMTAwLjEyMy4yMzU6ODQ0M10NCkRFQlVHIFtt YWluXSBvcmcuYXBhY2hlLmh0dHAuaW1wbC5jb25uLkRlZmF1bHRDbGllbnRDb25uZWN0aW9uT3Bl cmF0b3IgICAgIC0gQ29ubmVjdGluZyB0byAvMTAuMTAwLjEyMy4yMzU6ODQ0Mw0KREVCVUcgW21h aW5dIG9yZy5hcGFjaGUuaHR0cC5jbGllbnQucHJvdG9jb2wuUmVxdWVzdEFkZENvb2tpZXMgICAg IC0gQ29va2llU3BlYyBzZWxlY3RlZDogYmVzdC1tYXRjaA0KREVCVUcgW21haW5dIG9yZy5hcGFj aGUuaHR0cC5jbGllbnQucHJvdG9jb2wuUmVxdWVzdEF1dGhDYWNoZSAgICAgLSBBdXRoIGNhY2hl IG5vdCBzZXQgaW4gdGhlIGNvbnRleHQNCkRFQlVHIFttYWluXSBvcmcuYXBhY2hlLmh0dHAuaW1w bC5jbGllbnQuRGVmYXVsdEh0dHBDbGllbnQgICAgIC0gQXR0ZW1wdCAxIHRvIGV4ZWN1dGUgcmVx dWVzdA0KREVCVUcgW21haW5dIG9yZy5hcGFjaGUuaHR0cC5pbXBsLmNvbm4uRGVmYXVsdENsaWVu dENvbm5lY3Rpb24gICAgIC0gU2VuZGluZyByZXF1ZXN0OiBHRVQgL2h0dHBzU2VydmVyL1Rlc3RT ZXJ2bGV0P3Rlc3Q9eHh4IEhUVFAvMS4xDQpERUJVRyBbbWFpbl0gICAgICAgICAgICAgICAgICBv cmcuYXBhY2hlLmh0dHAud2lyZSAgICAgLSA+PiAiR0VUIC9odHRwc1NlcnZlci9UZXN0U2Vydmxl dD90ZXN0PXh4eCBIVFRQLzEuMVtccl1bXG5dIg0KREVCVUcgW21haW5dICAgICAgICAgICAgICAg ICAgb3JnLmFwYWNoZS5odHRwLndpcmUgICAgIC0gPj4gIkhvc3Q6IDEwLjEwMC4xMjMuMjM1Ojg0 NDNbXHJdW1xuXSINCkRFQlVHIFttYWluXSAgICAgICAgICAgICAgICAgIG9yZy5hcGFjaGUuaHR0 cC53aXJlICAgICAtID4+ICJDb25uZWN0aW9uOiBLZWVwLUFsaXZlW1xyXVtcbl0iDQpERUJVRyBb bWFpbl0gICAgICAgICAgICAgICAgICBvcmcuYXBhY2hlLmh0dHAud2lyZSAgICAgLSA+PiAiVXNl ci1BZ2VudDogQXBhY2hlLUh0dHBDbGllbnQvNC4xLjEgKGphdmEgMS41KVtccl1bXG5dIg0KREVC VUcgW21haW5dICAgICAgICAgICAgICAgICAgb3JnLmFwYWNoZS5odHRwLndpcmUgICAgIC0gPj4g Iltccl1bXG5dIg0KREVCVUcgW21haW5dICAgICAgICAgICAgICAgb3JnLmFwYWNoZS5odHRwLmhl YWRlcnMgICAgIC0gPj4gR0VUIC9odHRwc1NlcnZlci9UZXN0U2VydmxldD90ZXN0PXh4eCBIVFRQ LzEuMQ0KREVCVUcgW21haW5dICAgICAgICAgICAgICAgb3JnLmFwYWNoZS5odHRwLmhlYWRlcnMg ICAgIC0gPj4gSG9zdDogMTAuMTAwLjEyMy4yMzU6ODQ0Mw0KREVCVUcgW21haW5dICAgICAgICAg ICAgICAgb3JnLmFwYWNoZS5odHRwLmhlYWRlcnMgICAgIC0gPj4gQ29ubmVjdGlvbjogS2VlcC1B bGl2ZQ0KREVCVUcgW21haW5dICAgICAgICAgICAgICAgb3JnLmFwYWNoZS5odHRwLmhlYWRlcnMg ICAgIC0gPj4gVXNlci1BZ2VudDogQXBhY2hlLUh0dHBDbGllbnQvNC4xLjEgKGphdmEgMS41KQ0K REVCVUcgW21haW5dICAgICAgICAgICAgICAgICAgb3JnLmFwYWNoZS5odHRwLndpcmUgICAgIC0g PDwgIkhUVFAvMS4xIDQwMSBVbmF1dGhvcml6ZWRbXHJdW1xuXSINCkRFQlVHIFttYWluXSAgICAg ICAgICAgICAgICAgIG9yZy5hcGFjaGUuaHR0cC53aXJlICAgICAtIDw8ICJTZXJ2ZXI6IEFwYWNo ZS1Db3lvdGUvMS4xW1xyXVtcbl0iDQpERUJVRyBbbWFpbl0gICAgICAgICAgICAgICAgICBvcmcu YXBhY2hlLmh0dHAud2lyZSAgICAgLSA8PCAiUHJhZ21hOiBOby1jYWNoZVtccl1bXG5dIg0KREVC VUcgW21haW5dICAgICAgICAgICAgICAgICAgb3JnLmFwYWNoZS5odHRwLndpcmUgICAgIC0gPDwg IkNhY2hlLUNvbnRyb2w6IG5vLWNhY2hlW1xyXVtcbl0iDQpERUJVRyBbbWFpbl0gICAgICAgICAg ICAgICAgICBvcmcuYXBhY2hlLmh0dHAud2lyZSAgICAgLSA8PCAiRXhwaXJlczogVGh1LCAwMSBK YW4gMTk3MCAwODowMDowMCBDU1RbXHJdW1xuXSINCkRFQlVHIFttYWluXSAgICAgICAgICAgICAg ICAgIG9yZy5hcGFjaGUuaHR0cC53aXJlICAgICAtIDw8ICJDb250ZW50LVR5cGU6IHRleHQvaHRt bDtjaGFyc2V0PXV0Zi04W1xyXVtcbl0iDQpERUJVRyBbbWFpbl0gICAgICAgICAgICAgICAgICBv cmcuYXBhY2hlLmh0dHAud2lyZSAgICAgLSA8PCAiQ29udGVudC1MZW5ndGg6IDEwOTdbXHJdW1xu XSINCkRFQlVHIFttYWluXSAgICAgICAgICAgICAgICAgIG9yZy5hcGFjaGUuaHR0cC53aXJlICAg ICAtIDw8ICJEYXRlOiBGcmksIDIyIEFwciAyMDExIDEyOjA0OjE3IEdNVFtccl1bXG5dIg0KREVC VUcgW21haW5dICAgICAgICAgICAgICAgICAgb3JnLmFwYWNoZS5odHRwLndpcmUgICAgIC0gPDwg Iltccl1bXG5dIg0KREVCVUcgW21haW5dIG9yZy5hcGFjaGUuaHR0cC5pbXBsLmNvbm4uRGVmYXVs dENsaWVudENvbm5lY3Rpb24gICAgIC0gUmVjZWl2aW5nIHJlc3BvbnNlOiBIVFRQLzEuMSA0MDEg VW5hdXRob3JpemVkDQpERUJVRyBbbWFpbl0gICAgICAgICAgICAgICBvcmcuYXBhY2hlLmh0dHAu aGVhZGVycyAgICAgLSA8PCBIVFRQLzEuMSA0MDEgVW5hdXRob3JpemVkDQpERUJVRyBbbWFpbl0g ICAgICAgICAgICAgICBvcmcuYXBhY2hlLmh0dHAuaGVhZGVycyAgICAgLSA8PCBTZXJ2ZXI6IEFw YWNoZS1Db3lvdGUvMS4xDQpERUJVRyBbbWFpbl0gICAgICAgICAgICAgICBvcmcuYXBhY2hlLmh0 dHAuaGVhZGVycyAgICAgLSA8PCBQcmFnbWE6IE5vLWNhY2hlDQpERUJVRyBbbWFpbl0gICAgICAg ICAgICAgICBvcmcuYXBhY2hlLmh0dHAuaGVhZGVycyAgICAgLSA8PCBDYWNoZS1Db250cm9sOiBu by1jYWNoZQ0KREVCVUcgW21haW5dICAgICAgICAgICAgICAgb3JnLmFwYWNoZS5odHRwLmhlYWRl cnMgICAgIC0gPDwgRXhwaXJlczogVGh1LCAwMSBKYW4gMTk3MCAwODowMDowMCBDU1QNCkRFQlVH IFttYWluXSAgICAgICAgICAgICAgIG9yZy5hcGFjaGUuaHR0cC5oZWFkZXJzICAgICAtIDw8IENv bnRlbnQtVHlwZTogdGV4dC9odG1sO2NoYXJzZXQ9dXRmLTgNCkRFQlVHIFttYWluXSAgICAgICAg ICAgICAgIG9yZy5hcGFjaGUuaHR0cC5oZWFkZXJzICAgICAtIDw8IENvbnRlbnQtTGVuZ3RoOiAx MDk3DQpERUJVRyBbbWFpbl0gICAgICAgICAgICAgICBvcmcuYXBhY2hlLmh0dHAuaGVhZGVycyAg ICAgLSA8PCBEYXRlOiBGcmksIDIyIEFwciAyMDExIDEyOjA0OjE3IEdNVA0KREVCVUcgW21haW5d IG9yZy5hcGFjaGUuaHR0cC5pbXBsLmNsaWVudC5EZWZhdWx0SHR0cENsaWVudCAgICAgLSBDb25u ZWN0aW9uIGNhbiBiZSBrZXB0IGFsaXZlIGluZGVmaW5pdGVseQ0KREVCVUcgW21haW5dIG9yZy5h cGFjaGUuaHR0cC5pbXBsLmNsaWVudC5EZWZhdWx0SHR0cENsaWVudCAgICAgLSBUYXJnZXQgcmVx dWVzdGVkIGF1dGhlbnRpY2F0aW9uDQpERUJVRyBbbWFpbl0gb3JnLmFwYWNoZS5odHRwLmltcGwu Y2xpZW50LkRlZmF1bHRUYXJnZXRBdXRoZW50aWNhdGlvbkhhbmRsZXIgICAgIC0gQXV0aGVudGlj YXRpb24gc2NoZW1lcyBpbiB0aGUgb3JkZXIgb2YgcHJlZmVyZW5jZTogW25lZ290aWF0ZSwgTlRM TSwgRGlnZXN0LCBCYXNpY10NCkRFQlVHIFttYWluXSBvcmcuYXBhY2hlLmh0dHAuaW1wbC5jbGll bnQuRGVmYXVsdFRhcmdldEF1dGhlbnRpY2F0aW9uSGFuZGxlciAgICAgLSBDaGFsbGVuZ2UgZm9y IG5lZ290aWF0ZSBhdXRoZW50aWNhdGlvbiBzY2hlbWUgbm90IGF2YWlsYWJsZQ0KREVCVUcgW21h aW5dIG9yZy5hcGFjaGUuaHR0cC5pbXBsLmNsaWVudC5EZWZhdWx0VGFyZ2V0QXV0aGVudGljYXRp b25IYW5kbGVyICAgICAtIENoYWxsZW5nZSBmb3IgTlRMTSBhdXRoZW50aWNhdGlvbiBzY2hlbWUg bm90IGF2YWlsYWJsZQ0KREVCVUcgW21haW5dIG9yZy5hcGFjaGUuaHR0cC5pbXBsLmNsaWVudC5E ZWZhdWx0VGFyZ2V0QXV0aGVudGljYXRpb25IYW5kbGVyICAgICAtIENoYWxsZW5nZSBmb3IgRGln ZXN0IGF1dGhlbnRpY2F0aW9uIHNjaGVtZSBub3QgYXZhaWxhYmxlDQpERUJVRyBbbWFpbl0gb3Jn LmFwYWNoZS5odHRwLmltcGwuY2xpZW50LkRlZmF1bHRUYXJnZXRBdXRoZW50aWNhdGlvbkhhbmRs ZXIgICAgIC0gQ2hhbGxlbmdlIGZvciBCYXNpYyBhdXRoZW50aWNhdGlvbiBzY2hlbWUgbm90IGF2 YWlsYWJsZQ0KV0FSTiAgW21haW5dIG9yZy5hcGFjaGUuaHR0cC5pbXBsLmNsaWVudC5EZWZhdWx0 SHR0cENsaWVudCAgICAgLSBBdXRoZW50aWNhdGlvbiBlcnJvcjogVW5hYmxlIHRvIHJlc3BvbmQg dG8gYW55IG9mIHRoZXNlIGNoYWxsZW5nZXM6IHt9DQotLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tDQpIVFRQLzEuMSA0MDEgVW5hdXRob3JpemVkDQpSZXNwb25zZSBjb250 ZW50IGxlbmd0aDogMTA5Nw0KLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tDQoNCltteSBDbGllbnQgQ29kZSA6XQ0KICAgICAgICBEZWZhdWx0SHR0cENs aWVudCBodHRwY2xpZW50ID0gbmV3IERlZmF1bHRIdHRwQ2xpZW50KCk7DQogICAgICAgIHRyeSB7 DQogICAgICAgICAgICBLZXlTdG9yZSB0cnVzdFN0b3JlICA9IEtleVN0b3JlLmdldEluc3RhbmNl KEtleVN0b3JlLmdldERlZmF1bHRUeXBlKCkpOw0KICAgICAgICAgICAgSW5wdXRTdHJlYW0gaW5z dHJlYW0gPSBDbGllbnRDdXN0b21TU0wuY2xhc3MuZ2V0UmVzb3VyY2VBc1N0cmVhbSgiL3B1c2gt YXBwLnRydXN0c3RvcmUiKTsNCiAgICAgICAgICAgIHRyeSB7DQogICAgICAgICAgICAgICAgdHJ1 c3RTdG9yZS5sb2FkKGluc3RyZWFtLCAiYXBwcGFzc3dvcmQiLnRvQ2hhckFycmF5KCkpOw0KICAg ICAgICAgICAgfSBmaW5hbGx5IHsNCiAgICAgICAgICAgICAgICB0cnkgeyBpbnN0cmVhbS5jbG9z ZSgpOyB9IGNhdGNoIChFeGNlcHRpb24gaWdub3JlKSB7fQ0KICAgICAgICAgICAgfQ0KICAgICAg ICAgICAgDQogICAgICAgICAgICBLZXlTdG9yZSBrZXlTdG9yZSA9IEtleVN0b3JlLmdldEluc3Rh bmNlKEtleVN0b3JlLmdldERlZmF1bHRUeXBlKCkpOw0KICAgICAgICAgICAgaW5zdHJlYW0gPSBD bGllbnRDdXN0b21TU0wuY2xhc3MuZ2V0UmVzb3VyY2VBc1N0cmVhbSgiL3B1c2gtYXBwLmtleXN0 b3JlIik7DQogICAgICAgICAgICB0cnkgew0KICAgICAgICAgICAgCWtleVN0b3JlLmxvYWQoaW5z dHJlYW0sICJhcHBwYXNzd29yZCIudG9DaGFyQXJyYXkoKSk7DQogICAgICAgICAgICB9IGZpbmFs bHkgew0KICAgICAgICAgICAgICAgIHRyeSB7IGluc3RyZWFtLmNsb3NlKCk7IH0gY2F0Y2ggKEV4 Y2VwdGlvbiBpZ25vcmUpIHt9DQogICAgICAgICAgICB9DQogICAgICAgICAgICANCiAgICAgICAg ICAgIFNTTFNvY2tldEZhY3Rvcnkgc29ja2V0RmFjdG9yeSA9IG5ldyBTU0xTb2NrZXRGYWN0b3J5 KGtleVN0b3JlLCJhcHBwYXNzd29yZCIsdHJ1c3RTdG9yZSk7DQogICAgICAgICAgICBTY2hlbWUg c2NoID0gbmV3IFNjaGVtZSgiaHR0cHMiLCA4NDQzLCBzb2NrZXRGYWN0b3J5KTsNCiAgICAgICAg ICAgIGh0dHBjbGllbnQuZ2V0Q29ubmVjdGlvbk1hbmFnZXIoKS5nZXRTY2hlbWVSZWdpc3RyeSgp LnJlZ2lzdGVyKHNjaCk7DQoNCiAgICAgICAgICAgIEh0dHBHZXQgaHR0cGdldCA9IG5ldyBIdHRw R2V0KCJodHRwczovLzEwLjEwMC4xMjMuMjM1Ojg0NDMvaHR0cHNTZXJ2ZXIvVGVzdFNlcnZsZXQ/ dGVzdD14eHgiKTsNCg0KICAgICAgICAgICAgU3lzdGVtLm91dC5wcmludGxuKCJleGVjdXRpbmcg cmVxdWVzdCIgKyBodHRwZ2V0LmdldFJlcXVlc3RMaW5lKCkpOw0KDQogICAgICAgICAgICBIdHRw UmVzcG9uc2UgcmVzcG9uc2UgPSBodHRwY2xpZW50LmV4ZWN1dGUoaHR0cGdldCk7DQogICAgICAg ICAgICBIdHRwRW50aXR5IGVudGl0eSA9IHJlc3BvbnNlLmdldEVudGl0eSgpOw0KDQogICAgICAg ICAgICBTeXN0ZW0ub3V0LnByaW50bG4oIi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0iKTsNCiAgICAgICAgICAgIFN5c3RlbS5vdXQucHJpbnRsbihyZXNwb25zZS5nZXRT dGF0dXNMaW5lKCkpOw0KICAgICAgICAgICAgaWYgKGVudGl0eSAhPSBudWxsKSB7DQogICAgICAg ICAgICAgICAgU3lzdGVtLm91dC5wcmludGxuKCJSZXNwb25zZSBjb250ZW50IGxlbmd0aDogIiAr IGVudGl0eS5nZXRDb250ZW50TGVuZ3RoKCkpOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAg RW50aXR5VXRpbHMuY29uc3VtZShlbnRpdHkpOw0KDQogICAgICAgIH0gY2F0Y2goRXhjZXB0aW9u IGV4KXsNCiAgICAgICAgCWxvZ2dlci5lcnJvcihleCk7DQogICAgICAgIH0gZmluYWxseSB7DQog ICAgICAgICAgICBodHRwY2xpZW50LmdldENvbm5lY3Rpb25NYW5hZ2VyKCkuc2h1dGRvd24oKTsN CiAgICAgICAgfQ0KSXMgc29tZXRoaW5nIHdyb25nIHdpdGggbXkgY2xpZW50IGNvZGU/DQoNCjIw MTEtMDQtMjINClpoYW9jaGVuDQoNCg0K5Y+R5Lu25Lq6OiBPbGVnIEthbG5pY2hldnNraSA8b2xl Z2tAYXBhY2hlLm9yZz4NCuWPkemAgeaXtumXtDogMjAxMS0wNC0yMiAxOTo0OA0K5Li7IOmimDog UmU6IFdoeSBBdXRoU1NMUHJvdG9jb2xTb2NrZXRGYWN0b3J5IG5vIGxvbmdlciBpbiBIdHRwQ2xp ZW50IDQuMSA/IFdoYXQgc2hvbGQgZG8gdG8gcGVyZm9ybSBTU0wgYXV0aD8NCuaUtuS7tuS6ujog SHR0cENsaWVudCBVc2VyIERpc2N1c3Npb24gPGh0dHBjbGllbnQtdXNlcnNAaGMuYXBhY2hlLm9y Zz4NCg0KDQoNCk9uIEZyaSwgMjAxMS0wNC0yMiBhdCAwODo1MSArMDgwMCwg6ZmI5pydIHdyb3Rl OiANCj4gSGkgdGhlcmU6IA0KPiBXaHkgQXV0aFNTTFByb3RvY29sU29ja2V0RmFjdG9yeSBubyBs b25nZXIgaW4gSHR0cENsaWVudCA0LjEgPyBXaGF0IHNob2xkIGRvIHRvIHBlcmZvcm0gU1NMIGF1 dGg/IA0KPiAgDQo+IDIwMTEtMDQtMjEgDQo+ICANCj4gIA0KPiAgDQo+IFpoYW8gQ2hlbiANCg0K QXV0aFNTTFByb3RvY29sU29ja2V0RmFjdG9yeSBmdW5jdGlvbmFsaXR5IGhhcyBiZWVuIGluY29y cG9yYXRlZCBpbnRvIA0KdGhlIHN0YW5kYXJkIFNTTFNvY2tldEZhY3RvcnkgZGlzdHJpYnV0ZWQg d2l0aCBIdHRwQ2xpZW50LiANCg0KT2xlZyANCg0KDQotLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0gDQpUbyB1bnN1YnNj cmliZSwgZS1tYWlsOiBodHRwY2xpZW50LXVzZXJzLXVuc3Vic2NyaWJlQGhjLmFwYWNoZS5vcmcg DQpGb3IgYWRkaXRpb25hbCBjb21tYW5kcywgZS1tYWlsOiBodHRwY2xpZW50LXVzZXJzLWhlbHBA aGMuYXBhY2hlLm9yZyA= --====003__MESSAGE__ID__54yg6f6h6y456345====-- From [email protected] Sat Apr 23 09:27:55 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 7721F29D0 for <[email protected]>; Sat, 23 Apr 2011 09:27:55 +0000 (UTC) Received: (qmail 82053 invoked by uid 500); 23 Apr 2011 09:27:55 -0000 Delivered-To: [email protected] Received: (qmail 82005 invoked by uid 500); 23 Apr 2011 09:27:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 81997 invoked by uid 99); 23 Apr 2011 09:27:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Apr 2011 09:27:54 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=NORMAL_HTTP_TO_IP,SPF_NEUTRAL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO ok2cons2.nine.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Apr 2011 09:27:44 +0000 Received: from [161.129.204.104] (unknown [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ok2cons2.nine.ch (Postfix) with ESMTPSA id EC43A245E407 for <[email protected]>; Sat, 23 Apr 2011 11:27:24 +0200 (CEST) Subject: Re: Re: Why AuthSSLProtocolSocketFactory no longer in HttpClient 4.1 ? What shold do to perform SSL auth? From: Oleg Kalnichevski <[email protected]> To: HttpClient User Discussion <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain; charset="UTF-8" Date: Sat, 23 Apr 2011 11:27:10 +0200 Message-ID: <1303550830.5734.10.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org On Fri, 2011-04-22 at 20:27 +0800, 陈朝 wrote: > Thanks for reply。 > Now I can use SSLSocketFactory to establish SSL connection with JBoss。 > But when I add "CLIENT-CERT" auth-method in server's web.xml like this: > > <login-config> > <auth-method>CLIENT-CERT</auth-method> > </login-config> > > The fllowing problem appear : > --------------------------------------------------- > executing requestGET https://161.129.204.104:8443/httpsServer/TestServlet?test=xxx HTTP/1.1 > DEBUG [main] org.apache.http.impl.conn.SingleClientConnManager - Get connection for route HttpRoute[{s}->https://161.129.204.104:8443] > DEBUG [main] org.apache.http.impl.conn.DefaultClientConnectionOperator - Connecting to /161.129.204.104:8443 > DEBUG [main] org.apache.http.client.protocol.RequestAddCookies - CookieSpec selected: best-match > DEBUG [main] org.apache.http.client.protocol.RequestAuthCache - Auth cache not set in the context > DEBUG [main] org.apache.http.impl.client.DefaultHttpClient - Attempt 1 to execute request > DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection - Sending request: GET /httpsServer/TestServlet?test=xxx HTTP/1.1 > DEBUG [main] org.apache.http.wire - >> "GET /httpsServer/TestServlet?test=xxx HTTP/1.1[\r][\n]" > DEBUG [main] org.apache.http.wire - >> "Host: 161.129.204.104:8443[\r][\n]" > DEBUG [main] org.apache.http.wire - >> "Connection: Keep-Alive[\r][\n]" > DEBUG [main] org.apache.http.wire - >> "User-Agent: Apache-HttpClient/4.1.1 (java 1.5)[\r][\n]" > DEBUG [main] org.apache.http.wire - >> "[\r][\n]" > DEBUG [main] org.apache.http.headers - >> GET /httpsServer/TestServlet?test=xxx HTTP/1.1 > DEBUG [main] org.apache.http.headers - >> Host: 161.129.204.104:8443 > DEBUG [main] org.apache.http.headers - >> Connection: Keep-Alive > DEBUG [main] org.apache.http.headers - >> User-Agent: Apache-HttpClient/4.1.1 (java 1.5) > DEBUG [main] org.apache.http.wire - << "HTTP/1.1 401 Unauthorized[\r][\n]" > DEBUG [main] org.apache.http.wire - << "Server: Apache-Coyote/1.1[\r][\n]" > DEBUG [main] org.apache.http.wire - << "Pragma: No-cache[\r][\n]" > DEBUG [main] org.apache.http.wire - << "Cache-Control: no-cache[\r][\n]" > DEBUG [main] org.apache.http.wire - << "Expires: Thu, 01 Jan 1970 08:00:00 CST[\r][\n]" > DEBUG [main] org.apache.http.wire - << "Content-Type: text/html;charset=utf-8[\r][\n]" > DEBUG [main] org.apache.http.wire - << "Content-Length: 1097[\r][\n]" > DEBUG [main] org.apache.http.wire - << "Date: Fri, 22 Apr 2011 12:04:17 GMT[\r][\n]" > DEBUG [main] org.apache.http.wire - << "[\r][\n]" > DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection - Receiving response: HTTP/1.1 401 Unauthorized > DEBUG [main] org.apache.http.headers - << HTTP/1.1 401 Unauthorized > DEBUG [main] org.apache.http.headers - << Server: Apache-Coyote/1.1 > DEBUG [main] org.apache.http.headers - << Pragma: No-cache > DEBUG [main] org.apache.http.headers - << Cache-Control: no-cache > DEBUG [main] org.apache.http.headers - << Expires: Thu, 01 Jan 1970 08:00:00 CST > DEBUG [main] org.apache.http.headers - << Content-Type: text/html;charset=utf-8 > DEBUG [main] org.apache.http.headers - << Content-Length: 1097 > DEBUG [main] org.apache.http.headers - << Date: Fri, 22 Apr 2011 12:04:17 GMT > DEBUG [main] org.apache.http.impl.client.DefaultHttpClient - Connection can be kept alive indefinitely > DEBUG [main] org.apache.http.impl.client.DefaultHttpClient - Target requested authentication > DEBUG [main] org.apache.http.impl.client.DefaultTargetAuthenticationHandler - Authentication schemes in the order of preference: [negotiate, NTLM, Digest, Basic] > DEBUG [main] org.apache.http.impl.client.DefaultTargetAuthenticationHandler - Challenge for negotiate authentication scheme not available > DEBUG [main] org.apache.http.impl.client.DefaultTargetAuthenticationHandler - Challenge for NTLM authentication scheme not available > DEBUG [main] org.apache.http.impl.client.DefaultTargetAuthenticationHandler - Challenge for Digest authentication scheme not available > DEBUG [main] org.apache.http.impl.client.DefaultTargetAuthenticationHandler - Challenge for Basic authentication scheme not available > WARN [main] org.apache.http.impl.client.DefaultHttpClient - Authentication error: Unable to respond to any of these challenges: {} > ---------------------------------------- > HTTP/1.1 401 Unauthorized > Response content length: 1097 > --------------------------------------------------- > > [my Client Code :] > DefaultHttpClient httpclient = new DefaultHttpClient(); > try { > KeyStore trustStore = KeyStore.getInstance(KeyStore.getDefaultType()); > InputStream instream = ClientCustomSSL.class.getResourceAsStream("/push-app.truststore"); > try { > trustStore.load(instream, "apppassword".toCharArray()); > } finally { > try { instream.close(); } catch (Exception ignore) {} > } > > KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType()); > instream = ClientCustomSSL.class.getResourceAsStream("/push-app.keystore"); > try { > keyStore.load(instream, "apppassword".toCharArray()); > } finally { > try { instream.close(); } catch (Exception ignore) {} > } > > SSLSocketFactory socketFactory = new SSLSocketFactory(keyStore,"apppassword",trustStore); > Scheme sch = new Scheme("https", 8443, socketFactory); > httpclient.getConnectionManager().getSchemeRegistry().register(sch); > > HttpGet httpget = new HttpGet("https://161.129.204.104:8443/httpsServer/TestServlet?test=xxx"); > > System.out.println("executing request" + httpget.getRequestLine()); > > HttpResponse response = httpclient.execute(httpget); > HttpEntity entity = response.getEntity(); > > System.out.println("----------------------------------------"); > System.out.println(response.getStatusLine()); > if (entity != null) { > System.out.println("Response content length: " + entity.getContentLength()); > } > EntityUtils.consume(entity); > > } catch(Exception ex){ > logger.error(ex); > } finally { > httpclient.getConnectionManager().shutdown(); > } > Is something wrong with my client code? > Your SSL appears to be OK, as the connection to the server could be successfully established. However, the server your application is sending requests to behaves incorrectly. It responds with status code 401 (Unauthorized) without sending back an authentication challenge in 'WWW-Authenticate' header. As a result HttpClient cannot handle 401 response automatically. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 26 07:43:35 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 919B312DE for <[email protected]>; Tue, 26 Apr 2011 07:43:35 +0000 (UTC) Received: (qmail 15095 invoked by uid 500); 26 Apr 2011 07:43:34 -0000 Delivered-To: [email protected] Received: (qmail 14838 invoked by uid 500); 26 Apr 2011 07:43:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 14825 invoked by uid 99); 26 Apr 2011 07:43:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Apr 2011 07:43:32 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO sam.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Apr 2011 07:43:25 +0000 Received: from isper.nabble.com ([161.129.204.104]) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from <[email protected]>) id 1QEcvH-0003ML-P0 for [email protected]; Tue, 26 Apr 2011 00:43:04 -0700 Message-ID: <[email protected]> Date: Tue, 26 Apr 2011 00:43:03 -0700 (PDT) From: harikris <[email protected]> To: [email protected] Subject: Re: SSL Mutual Authentication Code worked in 4.0.1 but fails in 4.1 In-Reply-To: <1299829164.24099.23.camel@ubuntu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] References: <[email protected]> <1299582236.21255.26.camel@ubuntu> <[email protected]> <1299668855.21255.44.camel@ubuntu> <[email protected]> <1299705361.1975.32.camel@ubuntu> <[email protected]> <1299752616.21255.81.camel@ubuntu> <[email protected]> <1299789520.1975.36.camel@ubuntu> <[email protected]> <1299829164.24099.23.camel@ubuntu> X-Virus-Checked: Checked by ClamAV on apache.org Is this fixed yet. I believe we are seeing similar issue with 4.1.1 as well olegk wrote: > > On Thu, 2011-03-10 at 16:05 -0800, Travis T wrote: >> > > ... > >> >> Ok, I download that branch and built it (had troubles with a memcache >> dependency so commented out the httpcache project). I manually put that >> jar >> ahead of my maven dependencies in my project classpath and the issue I >> originally reported is now gone. Looks like the fix on the 4.1.1 branch >> addresses this issue. Do you think the 4.1.1 jar will still be released >> next week? >> > > It is still possible. I'll probably start building release packages this > Sunday. > > Oleg > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > -- View this message in context: http://old.nabble.com/SSL-Mutual-Authentication-Code-worked-in-4.0.1-but-fails-in-4.1-tp31092864p31476214.html Sent from the HttpClient-User mailing list [email protected]. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 26 08:01:44 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 8754A1AA4 for <[email protected]>; Tue, 26 Apr 2011 08:01:44 +0000 (UTC) Received: (qmail 44440 invoked by uid 500); 26 Apr 2011 08:01:44 -0000 Delivered-To: [email protected] Received: (qmail 44324 invoked by uid 500); 26 Apr 2011 08:01:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 44316 invoked by uid 99); 26 Apr 2011 08:01:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Apr 2011 08:01:40 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO ok2cons2.nine.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Apr 2011 08:01:32 +0000 Received: from [161.129.204.104] (unknown [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ok2cons2.nine.ch (Postfix) with ESMTPSA id 97E8B245E40A for <[email protected]>; Tue, 26 Apr 2011 10:01:11 +0200 (CEST) Subject: Re: SSL Mutual Authentication Code worked in 4.0.1 but fails in 4.1 From: Oleg Kalnichevski <[email protected]> To: HttpClient User Discussion <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <1299582236.21255.26.camel@ubuntu> <[email protected]> <1299668855.21255.44.camel@ubuntu> <[email protected]> <1299705361.1975.32.camel@ubuntu> <[email protected]> <1299752616.21255.81.camel@ubuntu> <[email protected]> <1299789520.1975.36.camel@ubuntu> <[email protected]> <1299829164.24099.23.camel@ubuntu> <[email protected]> Content-Type: text/plain; charset="UTF-8" Date: Tue, 26 Apr 2011 10:01:06 +0200 Message-ID: <1303804866.2912.4.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit On Tue, 2011-04-26 at 00:43 -0700, harikris wrote: > Is this fixed yet. I believe we are seeing similar issue with 4.1.1 as well > Yes, this issue has been resolved in 4.1.1. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 26 08:04:40 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 033611A6C for <[email protected]>; Tue, 26 Apr 2011 08:04:40 +0000 (UTC) Received: (qmail 48377 invoked by uid 500); 26 Apr 2011 08:04:39 -0000 Delivered-To: [email protected] Received: (qmail 48242 invoked by uid 500); 26 Apr 2011 08:04:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 48234 invoked by uid 99); 26 Apr 2011 08:04:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Apr 2011 08:04:39 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO sam.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Apr 2011 08:04:34 +0000 Received: from isper.nabble.com ([161.129.204.104]) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from <[email protected]>) id 1QEdFl-0005LQ-Rn for [email protected]; Tue, 26 Apr 2011 01:04:13 -0700 Message-ID: <[email protected]> Date: Tue, 26 Apr 2011 01:04:13 -0700 (PDT) From: harikris <[email protected]> To: [email protected] Subject: Re: SSL Mutual Authentication Code worked in 4.0.1 but fails in 4.1 In-Reply-To: <1303804866.2912.4.camel@ubuntu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] References: <[email protected]> <1299582236.21255.26.camel@ubuntu> <[email protected]> <1299668855.21255.44.camel@ubuntu> <[email protected]> <1299705361.1975.32.camel@ubuntu> <[email protected]> <1299752616.21255.81.camel@ubuntu> <[email protected]> <1299789520.1975.36.camel@ubuntu> <[email protected]> <1299829164.24099.23.camel@ubuntu> <[email protected]> <1303804866.2912.4.camel@ubuntu> It worked only when we did the scheme register like this Scheme sch = new Scheme("https", 443, socketFactory); SchemeRegistryFactory.createDefault().register(sch); We were using as below that does not seem to be working Scheme sch = new Scheme("https", 443, socketFactory); httpClient.getConnectionManager().getSchemeRegistry().register(sch); olegk wrote: > > On Tue, 2011-04-26 at 00:43 -0700, harikris wrote: >> Is this fixed yet. I believe we are seeing similar issue with 4.1.1 as >> well >> > > Yes, this issue has been resolved in 4.1.1. > > Oleg > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > -- View this message in context: http://old.nabble.com/SSL-Mutual-Authentication-Code-worked-in-4.0.1-but-fails-in-4.1-tp31092864p31476364.html Sent from the HttpClient-User mailing list [email protected]. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 26 08:12:54 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 610461DA2 for <[email protected]>; Tue, 26 Apr 2011 08:12:54 +0000 (UTC) Received: (qmail 55246 invoked by uid 500); 26 Apr 2011 08:12:53 -0000 Delivered-To: [email protected] Received: (qmail 55219 invoked by uid 500); 26 Apr 2011 08:12:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 55211 invoked by uid 99); 26 Apr 2011 08:12:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Apr 2011 08:12:53 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO ok2cons2.nine.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Apr 2011 08:12:46 +0000 Received: from [161.129.204.104] (unknown [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ok2cons2.nine.ch (Postfix) with ESMTPSA id 5BCD0245E40A for <[email protected]>; Tue, 26 Apr 2011 10:12:25 +0200 (CEST) Subject: Re: SSL Mutual Authentication Code worked in 4.0.1 but fails in 4.1 From: Oleg Kalnichevski <[email protected]> To: HttpClient User Discussion <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <1299582236.21255.26.camel@ubuntu> <[email protected]> <1299668855.21255.44.camel@ubuntu> <[email protected]> <1299705361.1975.32.camel@ubuntu> <[email protected]> <1299752616.21255.81.camel@ubuntu> <[email protected]> <1299789520.1975.36.camel@ubuntu> <[email protected]> <1299829164.24099.23.camel@ubuntu> <[email protected]> <1303804866.2912.4.camel@ubuntu> <[email protected]> Content-Type: text/plain; charset="UTF-8" Date: Tue, 26 Apr 2011 10:12:20 +0200 Message-ID: <1303805540.2912.10.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit On Tue, 2011-04-26 at 01:04 -0700, harikris wrote: > It worked only when we did the scheme register like this > Scheme sch = new Scheme("https", 443, socketFactory); > SchemeRegistryFactory.createDefault().register(sch); > This code has no effect, as the instance created by SchemeRegistryFactory.createDefault() is not static. Take a look at the source code. You can simply remove these two lines. Oleg > We were using as below that does not seem to be working > > Scheme sch = new Scheme("https", 443, socketFactory); > > httpClient.getConnectionManager().getSchemeRegistry().register(sch); > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 26 12:26:50 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 8EF4410B9 for <[email protected]>; Tue, 26 Apr 2011 12:26:50 +0000 (UTC) Received: (qmail 17005 invoked by uid 500); 26 Apr 2011 12:26:50 -0000 Delivered-To: [email protected] Received: (qmail 16976 invoked by uid 500); 26 Apr 2011 12:26:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 16968 invoked by uid 99); 26 Apr 2011 12:26:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Apr 2011 12:26:50 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO sam.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Apr 2011 12:26:45 +0000 Received: from isper.nabble.com ([161.129.204.104]) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from <[email protected]>) id 1QEhLU-0007A8-IE for [email protected]; Tue, 26 Apr 2011 05:26:24 -0700 Message-ID: <[email protected]> Date: Tue, 26 Apr 2011 05:26:24 -0700 (PDT) From: Pololang <[email protected]> To: [email protected] Subject: Re: ContentEncodingHttpClient throws NoHttpResponseException In-Reply-To: <1301737004.1959.4.camel@ubuntu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] References: <[email protected]> <1301737004.1959.4.camel@ubuntu> Hi, the problem was caused by the little green men from Sun : it works with JDK 1.6.0_18 and not with 1.6.0_19+. Maybe it's related to this issue : http://blog.techstacks.com/2010/07/javas-recent-ssl-problems.html ? Pololang olegk wrote: > > On Fri, 2011-04-01 at 08:51 -0700, Pololang wrote: > > This can be basically anything: SSL problem, server side bug, little > green men from Mars hiding in your server room. There is just no way to > tell for sure given that the server simply dropped connection instead of > returning a meaningful error code. > > At any rate this does not look like a problem with HttpClient > > Oleg > > -- View this message in context: http://old.nabble.com/ContentEncodingHttpClient-throws-NoHttpResponseException-tp31296663p31477913.html Sent from the HttpClient-User mailing list [email protected]. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 26 18:50:53 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 1A4471DD7 for <[email protected]>; Tue, 26 Apr 2011 18:50:53 +0000 (UTC) Received: (qmail 31758 invoked by uid 500); 26 Apr 2011 18:50:52 -0000 Delivered-To: [email protected] Received: (qmail 31732 invoked by uid 500); 26 Apr 2011 18:50:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 31724 invoked by uid 99); 26 Apr 2011 18:50:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Apr 2011 18:50:52 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mx2.compuware.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Apr 2011 18:50:45 +0000 Received: from nasa-dtw-ex009.nasa.cpwr.corp (unknown [161.129.204.104]) by mx2.compuware.com (Postfix) with ESMTP id 9BC402C08C9 for <[email protected]>; Tue, 26 Apr 2011 14:50:21 -0400 (EDT) Received: from nasa-dtw-ex004.nasa.cpwr.corp ([161.129.204.104]) by nasa-dtw-ex009.nasa.cpwr.corp with Microsoft SMTPSVC(600)828-8265); Tue, 26 Apr 2011 14:50:04 -0400 x-mimeole: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CC0442.C0CCFEAC" Subject: RE: Locking problems of [email protected] Date: Tue, 26 Apr 2011 14:50:03 -0400 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Locking problems of [email protected] Thread-Index: Acv9/D6E3s/nqTTORWa+aUUjawXDBAAAh+RgAZEBVpA= References: <[email protected]> <1269443877.9057.18.camel@ubuntu> <[email protected]> <[email protected]> <1303153774.26417.3.camel@ubuntu> <[email protected]> From: "Langston, Jim" <[email protected]> To: "HttpClient User Discussion" <[email protected]> X-OriginalArrivalTime: 26 Apr 2011 18:50:04.0351 (UTC) FILETIME=[C140E4F0:01CC0442] X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01CC0442.C0CCFEAC Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SGkgYWxsLA0KDQogDQoNCkZvbGxvd2luZyB1cCANCg0KIA0KDQpUaGlzIHR1cm5lZCBvdXQgdG8g YmUgYSByZWQtaGVycmluZyAsIHRoZSB0aHJlYWRzIHRoYXQgd2VyZSBjb25uZWN0aW5nIHdlcmUg Z2V0dGluZw0KDQpvbiBhbmQgb2ZmIHRoZSBzb2NrZXQgc28gZmFzdCB0aGF0IHRoZSB0aHJlYWQg ZHVtcCBhbHdheXMgc2hvd2VkIHRoYXQgdGhlIGNvbm5lY3Rpb24NCg0Kd2FzIGluIHRoZSBzdGF0 ZSBvZiBiZWluZyBsb2NrZWQuIEkgaGFkIHRvIG1vdmUgb25lIHN0ZXAgZGVlcGVyIGludG8gdGhl IGNvZGUgYW5kIA0KDQpsb29rIGF0IHRoZSBsb29wIHRoYXQgd2FzIGNyZWF0aW5nIHRoZSBjb25u ZWN0aW9uIGFuZCBmaXggdGhlIHByb2JsZW0gdGhlcmUuDQoNCiANCg0KVGhhbmtzLA0KDQogDQoN CkppbQ0KDQogDQoNCi8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8NCg0KIA0KDQpKaW0g TGFuZ3N0b24NCg0KVGVjaG5pY2FsIENvbnN1bHRhbnQNCg0KamltLmxhbmdzdG9uQGNvbXB1d2Fy ZS5jb20NCg0KKDMxMykgMjI3LTA0MDcgKE9mZmljZSkNCg0KKDUxMykgNzAyLTQ3NDEgKENlbGwp DQoNCiANCg0KRnJvbTogTGFuZ3N0b24sIEppbSBbbWFpbHRvOkppbS5MYW5nc3RvbkBjb21wdXdh cmUuY29tXSANClNlbnQ6IE1vbmRheSwgQXByaWwgMTgsIDIwMTEgMzozMyBQTQ0KVG86IEh0dHBD bGllbnQgVXNlciBEaXNjdXNzaW9uDQpTdWJqZWN0OiBSRTogTG9ja2luZyBwcm9ibGVtcyBvZiBT b2NrZXRJbnB1dFN0ZWFtIGF0IG9yZy5hcGFjaGUuY29tbW9ucy5odHRwY2xpZW50Lkh0dHBQYXJz ZXIucmVhZFJhd0xpbmUNCg0KIA0KDQpUaGFua3MgT2xlZywNCg0KSSBoYXZlIGJlZW4gcmVhZGlu ZyB1cCBvbiBzb21lIG9mIHRoZSBvdGhlciByZXNwb25zZXMsIG5vdCBzdXJlIHdoeSB5b3VyDQoN CmVtYWlsIGRpZG7igJl0IGNvbWUgdGhyb3VnaCBjb3JyZWN0bHksIGJ1dCBJIGRpZCBzZWUgdGhl IHJlc3BvbnNlIGluIHRoZSBhcmNoaXZlLg0KDQpzb1RpbWVvdXQgaXMgc2V0IHRvIDMwMDAwDQoN CkNvbm5lY3Rpb25UaW1lb3V0IGlzIHNldCB0byA1MDAwDQoNCkhpdHRpbmcgdGhlIHNpdGUgZnJv bSB0aGUgYnJvd3NlciwgSSBuZXZlciBnZXQgYW55IHRpbWVvdXRzLCBpdCB3aWxsIHNpdCB3aXRo IHRoZSANCg0KZGlhbG9ndWUgYm94IGFjdGl2ZS4gQXMgc29vbiBhcyBJIGhpdCB0aGUgZGlhbG9n dWUsIHRoZSBzaXRlIHdpbGwgY29udGludWUgb24uIEl0IA0KDQpjYW4gYmUgMSBtaW4gb3IgMiBk YXlzLg0KDQpJIHdhcyBnb2luZyB0byBhdHRlbXB0IHRvIGZpeCBpdCBpbiB0aGUgYXBwLCBidXQg SSBkb27igJl0IGtub3cgaWYgSSBjYW4sIHRvbWNhdCBzaG93cw0KDQp0aGUgdGhyZWFkIGFjdGl2 ZSwgZXZlbiBpZiBJIHN0b3Ava2lsbCB0aGUgYnJvd3NlciBzZXNzaW9uLiBJIG5lZWQgdG8gcmVz dGFydCB0b21jYXQNCg0KdG8gY2xlYXIgaXQuDQoNCkppbQ0KDQovLy8vLy8vLy8vLy8vLy8vLy8v Ly8vLy8vLy8vLy8vLy8vDQoNCkppbSBMYW5nc3Rvbg0KDQpUZWNobmljYWwgQ29uc3VsdGFudA0K DQpqaW0ubGFuZ3N0b25AY29tcHV3YXJlLmNvbQ0KDQooMzEzKSAyMjctMDQwNyAoT2ZmaWNlKQ0K DQooNTEzKSA3MDItNDc0MSAoQ2VsbCkNCg0KIA0KDQoNCg0KVGhlIGNvbnRlbnRzIG9mIHRoaXMg ZS1tYWlsIGFyZSBpbnRlbmRlZCBmb3IgdGhlIG5hbWVkIGFkZHJlc3NlZSBvbmx5LiBJdCBjb250 YWlucyBpbmZvcm1hdGlvbiB0aGF0IG1heSBiZSBjb25maWRlbnRpYWwuIFVubGVzcyB5b3UgYXJl IHRoZSBuYW1lZCBhZGRyZXNzZWUgb3IgYW4gYXV0aG9yaXplZCBkZXNpZ25lZSwgeW91IG1heSBu b3QgY29weSBvciB1c2UgaXQsIG9yIGRpc2Nsb3NlIGl0IHRvIGFueW9uZSBlbHNlLiBJZiB5b3Ug cmVjZWl2ZWQgaXQgaW4gZXJyb3IgcGxlYXNlIG5vdGlmeSB1cyBpbW1lZGlhdGVseSBhbmQgdGhl biBkZXN0cm95IGl0Lg0KDQoNCkZyb206IE9sZWcgS2FsbmljaGV2c2tpIFttYWlsdG86b2xlZ2tA YXBhY2hlLm9yZ10NClNlbnQ6IE1vbmRheSwgQXByaWwgMTgsIDIwMTEgMzoxMCBQTQ0KVG86IEh0 dHBDbGllbnQgVXNlciBEaXNjdXNzaW9uDQpTdWJqZWN0OiBSRTogTG9ja2luZyBwcm9ibGVtcyBv ZiBTb2NrZXRJbnB1dFN0ZWFtIGF0IG9yZy5hcGFjaGUuY29tbW9ucy5odHRwY2xpZW50Lkh0dHBQ YXJzZXIucmVhZFJhd0xpbmUNCg0KIA0KDQo= ------_=_NextPart_001_01CC0442.C0CCFEAC-- From [email protected] Wed Apr 27 15:52:37 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id D618F2FE7 for <[email protected]>; Wed, 27 Apr 2011 15:52:37 +0000 (UTC) Received: (qmail 94554 invoked by uid 500); 27 Apr 2011 15:52:37 -0000 Delivered-To: [email protected] Received: (qmail 94517 invoked by uid 500); 27 Apr 2011 15:52:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 94509 invoked by uid 99); 27 Apr 2011 15:52:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Apr 2011 15:52:36 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ww0-f53.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Apr 2011 15:52:30 +0000 Received: by wwj40 with SMTP id 40so1492112wwj.34 for <[email protected]>; Wed, 27 Apr 2011 08:52:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=RgCpIdpSOrGGZOUREPdpvKLJlLjTot+Zgm//z2ONi1A=; b=OOe2U+3if0xUAJnMKeRIqmrAaDxB6zKjPovi4XQ7RsAWUE7PuHyACKm0M+fCUIFDUX ibcrqTrsPfwYZ0CPDBWVbxIPY1HtRzHffTRj2lyRUg6qoE41euEdq77WKcDSr23trTAC 3ZTcGpcysGFytifY/wD5MFnnL9auClh3ZGwTc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=NA45gs59IA4tQ4+gGqD8PjPppM9ZKj4wVUSqVdNEZMwnMAFOXcxc89BZRV5EmBBk5W HQlADRSpOUK3mRMceYxmSWQR9Ilr22kmeMKrJtK0t4fGGNLjl6lrrDk9h7ZB9qvQh9xz bIAPw39YJIyKyBAwdl3bGuEVZRYAXL1/eMlYg= Received: by 161.129.204.104 with SMTP id n46mr2292827wee.57.1303919529081; Wed, 27 Apr 2011 08:52:09 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with HTTP; Wed, 27 Apr 2011 08:51:48 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> From: =?UTF-8?Q?Jordi_Domingo_Borr=C3=A0s?= <[email protected]> Date: Wed, 27 Apr 2011 17:51:48 +0200 Message-ID: <[email protected]> Subject: Connection pool timeout To: [email protected] Content-Type: multipart/alternative; boundary=0016e6de001458ba2304a1e86c6a --0016e6de001458ba2304a1e86c6a Content-Type: text/plain; charset=UTF-8 Hi :) Is there a way to specify a TIMEOUT value for connections to other hosts and another TIMEOUT for waiting a free connection from the pool? I found in previous versions ConnManagerPNames.TIMEOUT and CoreConnectionPNames. CONNECTION_TIMEOUT but now theres only CoreConnectionPNames.CONNECTION_TIMEOUT. Thanks in advance. --0016e6de001458ba2304a1e86c6a-- From [email protected] Wed Apr 27 19:52:12 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 641BD2DF3 for <[email protected]>; Wed, 27 Apr 2011 19:52:12 +0000 (UTC) Received: (qmail 76118 invoked by uid 500); 27 Apr 2011 19:52:12 -0000 Delivered-To: [email protected] Received: (qmail 76062 invoked by uid 500); 27 Apr 2011 19:52:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 76054 invoked by uid 99); 27 Apr 2011 19:52:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Apr 2011 19:52:11 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO ok2cons2.nine.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Apr 2011 19:52:03 +0000 Received: from [161.129.204.104] (600)828-8265.dclient.hispeed.ch [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ok2cons2.nine.ch (Postfix) with ESMTPSA id 64A85245E40B for <[email protected]>; Wed, 27 Apr 2011 21:51:43 +0200 (CEST) Subject: Re: Connection pool timeout From: Oleg Kalnichevski <[email protected]> To: HttpClient User Discussion <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Content-Type: text/plain; charset="UTF-8" Date: Wed, 27 Apr 2011 21:51:42 +0200 Message-ID: <1303933902.6482.55.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 8bit On Wed, 2011-04-27 at 17:51 +0200, Jordi Domingo Borràs wrote: > Hi :) > > Is there a way to specify a TIMEOUT value for connections to other hosts and > another TIMEOUT for waiting a free connection from the pool? > Not any more. What are the reasons you would like to use different timeout values for these two operations? Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 28 10:33:39 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 9034E3943 for <[email protected]>; Thu, 28 Apr 2011 10:33:39 +0000 (UTC) Received: (qmail 991 invoked by uid 500); 28 Apr 2011 10:33:39 -0000 Delivered-To: [email protected] Received: (qmail 935 invoked by uid 500); 28 Apr 2011 10:33:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 927 invoked by uid 99); 28 Apr 2011 10:33:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Apr 2011 10:33:38 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ww0-f53.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Apr 2011 10:33:30 +0000 Received: by wwj40 with SMTP id 40so2141796wwj.34 for <[email protected]>; Thu, 28 Apr 2011 03:33:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=oVb13uXMF6zOp6iOuSFclZMXBqwPXw5Q/Az65PX1GUo=; b=BfywvafpMx+rKXMTWGP4VIQe8c1UOCpAbszb4SA8kszBm78ch8Ygps/zaF1Ps2Vb/U fZHkXrdknd3rdeUCf5akleTmp55FFfR1j1y2wyah6GJ90cCVifxOoBLzAZ2Ap7tqFm3v vRO0W8c5BnT2bdfPa8ociKMwfU9NjtEyU0eZ0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=aF3h4YwT539oIHarf8NWYptDr2PZLYaON/kEbGkIy3C6FE0hL7HMPONrriZ3V5p0A5 H95rfEiwNFekQ5JHlWfo/UgD4yjX1gj4qVa++Y7urodHTjxb+T10rjoVRLGIfgRY6PwG TtR4dwf/j0+gVZZnxImIgsXeNiPYepq8/rQNs= Received: by 161.129.204.104 with SMTP id y52mr7403219wes.42.1303986790068; Thu, 28 Apr 2011 03:33:10 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with HTTP; Thu, 28 Apr 2011 03:32:50 -0700 (PDT) In-Reply-To: <1303933902.6482.55.camel@ubuntu> References: <[email protected]> <[email protected]> <1303933902.6482.55.camel@ubuntu> From: =?UTF-8?Q?Jordi_Domingo_Borr=C3=A0s?= <[email protected]> Date: Thu, 28 Apr 2011 12:32:50 +0200 Message-ID: <[email protected]> Subject: Re: Connection pool timeout To: HttpClient User Discussion <[email protected]> Content-Type: multipart/alternative; boundary=20cf3026702669f51004a1f815a1 X-Virus-Checked: Checked by ClamAV on apache.org --20cf3026702669f51004a1f815a1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Oleg, I need an infinite timeout waiting for a connection from the pool ( i need the resource to load, whenever possible, doesnt matter if its now or in 5 min). I need a low value timeout when connecting to a host. Now when a connection pool timeout occurs I queue it again but i'm not happ= y with this. I think that increasing the pool size will not be good for my BW. Thanks, Jordi On Wed, Apr 27, 2011 at 21:51, Oleg Kalnichevski <[email protected]> wrote: > On Wed, 2011-04-27 at 17:51 +0200, Jordi Domingo Borr=C3=A0s wrote: > > Hi :) > > > > Is there a way to specify a TIMEOUT value for connections to other host= s > and > > another TIMEOUT for waiting a free connection from the pool? > > > > Not any more. What are the reasons you would like to use different > timeout values for these two operations? > > Oleg > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --20cf3026702669f51004a1f815a1-- From [email protected] Thu Apr 28 13:32:41 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 554593B21 for <[email protected]>; Thu, 28 Apr 2011 13:32:41 +0000 (UTC) Received: (qmail 15648 invoked by uid 500); 28 Apr 2011 13:32:40 -0000 Delivered-To: [email protected] Received: (qmail 15610 invoked by uid 500); 28 Apr 2011 13:32:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 15598 invoked by uid 99); 28 Apr 2011 13:32:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Apr 2011 13:32:40 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO ok2cons2.nine.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Apr 2011 13:32:31 +0000 Received: from [161.129.204.104] (unknown [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ok2cons2.nine.ch (Postfix) with ESMTPSA id 7E8EF245E40C for <[email protected]>; Thu, 28 Apr 2011 15:32:11 +0200 (CEST) Subject: Re: Connection pool timeout From: Oleg Kalnichevski <[email protected]> To: HttpClient User Discussion <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <1303933902.6482.55.camel@ubuntu> <[email protected]> Content-Type: text/plain; charset="UTF-8" Date: Thu, 28 Apr 2011 15:32:05 +0200 Message-ID: <1303997525.2912.46.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org On Thu, 2011-04-28 at 12:32 +0200, Jordi Domingo Borràs wrote: > Hi Oleg, > > I need an infinite timeout waiting for a connection from the pool ( i need > the resource to load, whenever possible, doesnt matter if its now or in 5 > min). > I need a low value timeout when connecting to a host. > But why? Why do you care if a connection has been served from the pool or newly created? In both cases one simply needs to ensure that I/O threads do not get blocked indefinitely while waiting for a connection to be established. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 28 14:11:14 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 71469359D for <[email protected]>; Thu, 28 Apr 2011 14:11:14 +0000 (UTC) Received: (qmail 68496 invoked by uid 500); 28 Apr 2011 14:11:14 -0000 Delivered-To: [email protected] Received: (qmail 68369 invoked by uid 500); 28 Apr 2011 14:11:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 68361 invoked by uid 99); 28 Apr 2011 14:11:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Apr 2011 14:11:14 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-wy0-f179.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Apr 2011 14:11:07 +0000 Received: by wyg36 with SMTP id 36so2087012wyg.10 for <[email protected]>; Thu, 28 Apr 2011 07:10:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=L52TbMqZtU6hmcRrkt1RjHIQi3h6PvVEaZQUj6f+OwY=; b=sNzxwxZkvJFoQTnLQQS9NA+FSvH6jyd/0ZNMKXy6za52p8M7+xfX8mscaIbapJMo/m wGlEy0YHlZRekLiw1mcnSPDiZ0kMhKXjfFw+dG8pwKk/C8cvE2VA4IgWLIj6S5/tfHTE jaF3xPAnEg3ETJOujUPzZHVrGwgBk9drIwKxQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=YDYvefxt1jkdyc8fp7IOMy6urSQwKe8AkRPpFh7tqfVKsbcilOE5afAsw7wyq0zpjT 9ZNihOQxJXjyQUfJ41RyRCCHf+lbpFZXwbg3KTwASWNACCZ5dSSnljh+hDCyX3RVIGmB OgOH6TBtpR7L3hIyb2zgFU5X5tX25P9RJFIjE= Received: by 161.129.204.104 with SMTP id n6mr3621616wej.27.1303999846118; Thu, 28 Apr 2011 07:10:46 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with HTTP; Thu, 28 Apr 2011 07:10:26 -0700 (PDT) In-Reply-To: <1303997525.2912.46.camel@ubuntu> References: <[email protected]> <[email protected]> <1303933902.6482.55.camel@ubuntu> <[email protected]> <1303997525.2912.46.camel@ubuntu> From: =?UTF-8?Q?Jordi_Domingo_Borr=C3=A0s?= <[email protected]> Date: Thu, 28 Apr 2011 16:10:26 +0200 Message-ID: <[email protected]> Subject: Re: Connection pool timeout To: HttpClient User Discussion <[email protected]> Content-Type: multipart/alternative; boundary=0016e6dd8bad9d76cc04a1fb1fd6 --0016e6dd8bad9d76cc04a1fb1fd6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Im using a ThreadSafeClientConnManager with a max total of 50. If all of them are busy, waiting resources will timeout and I dont want this. On the other side, if a timeout waiting for a connection to be established occurs, I will retry twice and then assume site is down. I dont care if a connection is served from the pool or is new. Thanks, Jordi On Thu, Apr 28, 2011 at 15:32, Oleg Kalnichevski <[email protected]> wrote: > On Thu, 2011-04-28 at 12:32 +0200, Jordi Domingo Borr=C3=A0s wrote: > > Hi Oleg, > > > > I need an infinite timeout waiting for a connection from the pool ( i > need > > the resource to load, whenever possible, doesnt matter if its now or in= 5 > > min). > > I need a low value timeout when connecting to a host. > > > > But why? Why do you care if a connection has been served from the pool > or newly created? In both cases one simply needs to ensure that I/O > threads do not get blocked indefinitely while waiting for a connection > to be established. > > Oleg > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --0016e6dd8bad9d76cc04a1fb1fd6-- From [email protected] Thu Apr 28 15:09:46 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 264D2340E for <[email protected]>; Thu, 28 Apr 2011 15:09:46 +0000 (UTC) Received: (qmail 77670 invoked by uid 500); 28 Apr 2011 15:09:45 -0000 Delivered-To: [email protected] Received: (qmail 77639 invoked by uid 500); 28 Apr 2011 15:09:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 77631 invoked by uid 99); 28 Apr 2011 15:09:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Apr 2011 15:09:45 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO ok2cons2.nine.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Apr 2011 15:09:38 +0000 Received: from [161.129.204.104] (unknown [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ok2cons2.nine.ch (Postfix) with ESMTPSA id C5E41245E40C for <[email protected]>; Thu, 28 Apr 2011 17:09:16 +0200 (CEST) Subject: Re: Connection pool timeout From: Oleg Kalnichevski <[email protected]> To: HttpClient User Discussion <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <1303933902.6482.55.camel@ubuntu> <[email protected]> <1303997525.2912.46.camel@ubuntu> <[email protected]> Content-Type: text/plain; charset="UTF-8" Date: Thu, 28 Apr 2011 17:09:12 +0200 Message-ID: <1304003352.2912.50.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 8bit On Thu, 2011-04-28 at 16:10 +0200, Jordi Domingo Borràs wrote: > Im using a ThreadSafeClientConnManager with a max total of 50. If all of > them are busy, > waiting resources will timeout and I dont want this. > > On the other side, if a timeout waiting for a connection to be established > occurs, I will > retry twice and then assume site is down. > > I dont care if a connection is served from the pool or is new. > > Thanks, > Jordi > > I am not sure I fully understand why this is useful, but I can re-introduce a separate parameter for connection manager timeout, if necessary. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 28 15:26:46 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id EF97F3C84 for <[email protected]>; Thu, 28 Apr 2011 15:26:45 +0000 (UTC) Received: (qmail 11803 invoked by uid 500); 28 Apr 2011 15:26:45 -0000 Delivered-To: [email protected] Received: (qmail 11772 invoked by uid 500); 28 Apr 2011 15:26:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 11764 invoked by uid 99); 28 Apr 2011 15:26:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Apr 2011 15:26:45 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-wy0-f179.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Apr 2011 15:26:37 +0000 Received: by wyg36 with SMTP id 36so2151455wyg.10 for <[email protected]>; Thu, 28 Apr 2011 08:26:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=qT2ZUDNUsMaixacTYGaUYl5N38w71NGoFuVMWPe+8yY=; b=at+1VvmhtdWC6Qb0lOQnesRQQScdBGPmg6wG7xdK7BngEa7DEbqVVXFlh5zeJ69rKc gVkiCaaSqVQUnOWgFmaJsaExETcuvz+0b74MyApXdpiSm6yIULNUO60rNGFLTEVGRjvO C1Z5SrKJqoOsxRV/b1lI/SFt2KnGVPbq53UwM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=IEj7q/ajBAoSO27qIkbfVyTx84UYaTn23ayZia85JIb7x0zA88v+StdvePoVU3IbcI tXJVMbVboRczcfkEw5eXmNS9zL9wL1ViXkeqnTxb3JVJEPNHyTAxXdsMncQYoIgiTGTV 1HBVnKg2qKNSybrl/CCvI6s71gpM1ItdeSiOw= Received: by 161.129.204.104 with SMTP id n6mr3702031wej.27.1304004377122; Thu, 28 Apr 2011 08:26:17 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with HTTP; Thu, 28 Apr 2011 08:25:57 -0700 (PDT) In-Reply-To: <1304003352.2912.50.camel@ubuntu> References: <[email protected]> <[email protected]> <1303933902.6482.55.camel@ubuntu> <[email protected]> <1303997525.2912.46.camel@ubuntu> <[email protected]> <1304003352.2912.50.camel@ubuntu> From: =?UTF-8?Q?Jordi_Domingo_Borr=C3=A0s?= <[email protected]> Date: Thu, 28 Apr 2011 17:25:57 +0200 Message-ID: <[email protected]> Subject: Re: Connection pool timeout To: HttpClient User Discussion <[email protected]> Content-Type: multipart/alternative; boundary=0016e6dd8badaf169204a1fc2dcc X-Virus-Checked: Checked by ClamAV on apache.org --0016e6dd8badaf169204a1fc2dcc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Oleg, It would be great to have another parameter. This is really useful for me, I'm sorry if my english is not as good as it should be in order to explain it better. I need to load a lot of url's. I need to load them whenever connections fro= m pool are available, it doesnt matter if its now or in 10 minutes. --> TIMEOUT value infinite I dont want to block a connection more than 10 seconds waiting for a response from server. TIMEOUT value 10 seconds Thanks again Oleg, Jordi On Thu, Apr 28, 2011 at 17:09, Oleg Kalnichevski <[email protected]> wrote: > On Thu, 2011-04-28 at 16:10 +0200, Jordi Domingo Borr=C3=A0s wrote: > > Im using a ThreadSafeClientConnManager with a max total of 50. If all o= f > > them are busy, > > waiting resources will timeout and I dont want this. > > > > On the other side, if a timeout waiting for a connection to be > established > > occurs, I will > > retry twice and then assume site is down. > > > > I dont care if a connection is served from the pool or is new. > > > > Thanks, > > Jordi > > > > > > I am not sure I fully understand why this is useful, but I can > re-introduce a separate parameter for connection manager timeout, if > necessary. > > Oleg > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --0016e6dd8badaf169204a1fc2dcc-- From [email protected] Fri Apr 29 11:51:22 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 5C0F82D8D for <[email protected]>; Fri, 29 Apr 2011 11:51:22 +0000 (UTC) Received: (qmail 87381 invoked by uid 500); 29 Apr 2011 11:51:22 -0000 Delivered-To: [email protected] Received: (qmail 87334 invoked by uid 500); 29 Apr 2011 11:51:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 87326 invoked by uid 99); 29 Apr 2011 11:51:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Apr 2011 11:51:21 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO ok2cons2.nine.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Apr 2011 11:51:12 +0000 Received: from [161.129.204.104] (unknown [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ok2cons2.nine.ch (Postfix) with ESMTPSA id B5340245E40D for <[email protected]>; Fri, 29 Apr 2011 13:50:51 +0200 (CEST) Subject: Async HTTP methods / zero copy data transfer From: Oleg Kalnichevski <[email protected]> To: [email protected] Content-Type: text/plain; charset="UTF-8" Date: Fri, 29 Apr 2011 13:50:46 +0200 Message-ID: <1304077846.2912.91.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Folks I have just added a number of async request producers for all standard HTTP methods as well as convenience base classes for byte or char data stream consumers and zero copy file uploads / downloads. Here are samples to get a feel of the new API http://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/trunk/httpasyncclient/src/examples/org/apache/http/examples/nio/client/AsyncClientHttpExchangeStreaming.java http://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/trunk/httpasyncclient/src/examples/org/apache/http/examples/nio/client/ZeroCopyHttpExchange.java I would greatly appreciate feedback on the new API, suggests for improvements, critique, and bug reports. The latest code snapshot of HttpAsyncClient can be found here: http://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/trunk/ Cheers Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 29 23:13:42 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id B840E20CE for <[email protected]>; Fri, 29 Apr 2011 23:13:42 +0000 (UTC) Received: (qmail 8863 invoked by uid 500); 29 Apr 2011 23:13:42 -0000 Delivered-To: [email protected] Received: (qmail 8819 invoked by uid 500); 29 Apr 2011 23:13:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 8811 invoked by uid 99); 29 Apr 2011 23:13:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Apr 2011 23:13:41 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iw0-f179.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Apr 2011 23:13:35 +0000 Received: by iwc10 with SMTP id 10so3599388iwc.10 for <[email protected]>; Fri, 29 Apr 2011 16:13:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=M6ZP4INF3+LxdQh/rOCEQLMxTvVEepkvfVRlDOVqY6A=; b=g0VUG4GRwfSFzY6uVKTKTzgfxc4RJdjoaLca4/qRw9v/2A/aHkzky6rig17Oa7leHc Z8FALysxn7Z8uDgsS1jaGkm+X4V/jgj+0EXQOfxBE0OJURCP342YsI+3T22swmGojg1g acXwmE1RdzLGSwawzUiF1AlYXvqKyJUI2oFjA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=oXaSJHz0E/VOUAqzNlIfwxa0NgoQH8PSt0KRtZ9GDm56VKonOPTRBIsIv4lzNQI+00 oHYslTMzy3ymMqABQMLva0Q1z8XgCWh3/VI4Izc8Pwq627QpFZNJ3gXE6gRRZNJ8/DK6 2cMn/5ix61O1fpURflkGQ+mWm+/0qmmME6dQo= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id m4mr4183790ibe.125.1304118794415; Fri, 29 Apr 2011 16:13:14 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Fri, 29 Apr 2011 16:13:14 -0700 (PDT) Date: Sat, 30 Apr 2011 01:13:14 +0200 Message-ID: <[email protected]> Subject: throttlling download traffic From: khiem nguyen <[email protected]> To: HttpClient User Discussion <[email protected]> Content-Type: multipart/alternative; boundary=0015176f0e3e7c6cc004a216d1e4 X-Virus-Checked: Checked by ClamAV on apache.org --0015176f0e3e7c6cc004a216d1e4 Content-Type: text/plain; charset=ISO-8859-1 Hi, i want to throttle the download-traffic/bandwidth with httpclient. Googling around doesn't takes me further. 1 of the found options is using Thread.sleep(time) while reading from inputstream. looking into the source-code, i think i'll have to extends SocketHttpClientConnection, go to SocketInputBuffer where i can use the built-in TransportMetrics to set/reset the transferered traffic & put the Thread.sleep there. but it couldnt figure out how to do this quick from defaulthttpclient & how to "wire" things together. is this this approach correct ? if yes , it would be great if someone could give me some clues about this. & what about sslsocket ? do i have also have to touch schemefactory ? is there any other options /suggestions thanx alot --0015176f0e3e7c6cc004a216d1e4-- From [email protected] Sat Apr 30 11:22:25 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id BBC033F35 for <[email protected]>; Sat, 30 Apr 2011 11:22:25 +0000 (UTC) Received: (qmail 78101 invoked by uid 500); 30 Apr 2011 11:22:25 -0000 Delivered-To: [email protected] Received: (qmail 78048 invoked by uid 500); 30 Apr 2011 11:22:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 78040 invoked by uid 99); 30 Apr 2011 11:22:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Apr 2011 11:22:23 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO ok2cons2.nine.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Apr 2011 11:22:14 +0000 Received: from [161.129.204.104] (600)828-8265.dclient.hispeed.ch [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ok2cons2.nine.ch (Postfix) with ESMTPSA id DBB90245E40E for <[email protected]>; Sat, 30 Apr 2011 13:21:54 +0200 (CEST) Subject: Re: Connection pool timeout From: Oleg Kalnichevski <[email protected]> To: HttpClient User Discussion <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <1303933902.6482.55.camel@ubuntu> <[email protected]> <1303997525.2912.46.camel@ubuntu> <[email protected]> <1304003352.2912.50.camel@ubuntu> <[email protected]> Content-Type: text/plain; charset="UTF-8" Date: Sat, 30 Apr 2011 13:21:49 +0200 Message-ID: <1304162509.16750.4.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org On Thu, 2011-04-28 at 17:25 +0200, Jordi Domingo Borràs wrote: > Hi Oleg, > > It would be great to have another parameter. This is really useful for me, > I'm sorry if my english is not as good as it should be > in order to explain it better. > > I need to load a lot of url's. I need to load them whenever connections from > pool are available, it doesnt matter if its now or in 10 minutes. --> > TIMEOUT value infinite > I dont want to block a connection more than 10 seconds waiting for a > response from server. TIMEOUT value 10 seconds > > > Thanks again Oleg, > > Jordi > Jordi You can now set a timeout for connection manager operations with ConnManagerParams#setTimeout() when using the latest snapshot off the 4.1.x branch or HttpClientParams#setConnectionManagerTimeout() when using the latest snapshot off the trunk (4.2) Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 30 11:27:09 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 848873062 for <[email protected]>; Sat, 30 Apr 2011 11:27:09 +0000 (UTC) Received: (qmail 82182 invoked by uid 500); 30 Apr 2011 11:27:09 -0000 Delivered-To: [email protected] Received: (qmail 82134 invoked by uid 500); 30 Apr 2011 11:27:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 82126 invoked by uid 99); 30 Apr 2011 11:27:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Apr 2011 11:27:08 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-vx0-f179.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Apr 2011 11:27:00 +0000 Received: by vxi40 with SMTP id 40so3312340vxi.10 for <[email protected]>; Sat, 30 Apr 2011 04:26:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=PKEom9VY8dgia76anbjHv7Orpe1F5WPyEwR4hR5pSTE=; b=TZolnyBz0qnQ/h6K2OCAKCv4AYUuHEGQP8K/YWf50BccCjeh4+qQrd5sZZJIjIJDew wyBO+hEhuvOqjf4opF+zhS2Ay6hVz7EHm+k8gShiehyxi7fbCLmyWCpaNALFLv0rMVFJ ZBPYuvWD1LLFVWlKvwcrL3qS5viVRY3flf/AU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=p7DD+aJTzFEc3SB3FZFhYXClCOm8TNCZ8czeCKMPctYZSbH6UDxVbfGJo/kgW4eeqW xDFZg8yK9WhAitsSF4RYQs7NxjDYDJK0l7kEsd4HSwcsXs7vvGQnKusqiPPWzXPH9AqV jlsP7Hf11CQqiASTX0hWI0h7m7aNuaMo2d3JY= Received: by 161.129.204.104 with SMTP id cx5mr5084864vdc.250.1304162800090; Sat, 30 Apr 2011 04:26:40 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with HTTP; Sat, 30 Apr 2011 04:26:20 -0700 (PDT) In-Reply-To: <1304162509.16750.4.camel@ubuntu> References: <[email protected]> <[email protected]> <1303933902.6482.55.camel@ubuntu> <[email protected]> <1303997525.2912.46.camel@ubuntu> <[email protected]> <1304003352.2912.50.camel@ubuntu> <[email protected]> <1304162509.16750.4.camel@ubuntu> From: =?UTF-8?Q?Jordi_Domingo_Borr=C3=A0s?= <[email protected]> Date: Sat, 30 Apr 2011 13:26:20 +0200 Message-ID: <[email protected]> Subject: Re: Connection pool timeout To: HttpClient User Discussion <[email protected]> Content-Type: multipart/alternative; boundary=20cf3071cc366dbe9e04a22110a8 X-Virus-Checked: Checked by ClamAV on apache.org --20cf3071cc366dbe9e04a22110a8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks a lot Oleg!! Thanks :) On Sat, Apr 30, 2011 at 13:21, Oleg Kalnichevski <[email protected]> wrote: > On Thu, 2011-04-28 at 17:25 +0200, Jordi Domingo Borr=C3=A0s wrote: > > Hi Oleg, > > > > It would be great to have another parameter. This is really useful for > me, > > I'm sorry if my english is not as good as it should be > > in order to explain it better. > > > > I need to load a lot of url's. I need to load them whenever connections > from > > pool are available, it doesnt matter if its now or in 10 minutes. --> > > TIMEOUT value infinite > > I dont want to block a connection more than 10 seconds waiting for a > > response from server. TIMEOUT value 10 seconds > > > > > > Thanks again Oleg, > > > > Jordi > > > > Jordi > > You can now set a timeout for connection manager operations with > > ConnManagerParams#setTimeout() when using the latest snapshot off the > 4.1.x branch or > > HttpClientParams#setConnectionManagerTimeout() when using the latest > snapshot off the trunk (4.2) > > Oleg > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --20cf3071cc366dbe9e04a22110a8-- From [email protected] Sat Apr 30 11:30:20 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 5885C31FF for <[email protected]>; Sat, 30 Apr 2011 11:30:20 +0000 (UTC) Received: (qmail 83105 invoked by uid 500); 30 Apr 2011 11:30:19 -0000 Delivered-To: [email protected] Received: (qmail 83071 invoked by uid 500); 30 Apr 2011 11:30:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 83063 invoked by uid 99); 30 Apr 2011 11:30:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Apr 2011 11:30:19 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO ok2cons2.nine.ch) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Apr 2011 11:30:12 +0000 Received: from [161.129.204.104] (600)828-8265.dclient.hispeed.ch [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ok2cons2.nine.ch (Postfix) with ESMTPSA id 13654245E40E for <[email protected]>; Sat, 30 Apr 2011 13:29:51 +0200 (CEST) Subject: Re: throttlling download traffic From: Oleg Kalnichevski <[email protected]> To: HttpClient User Discussion <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain; charset="UTF-8" Date: Sat, 30 Apr 2011 13:29:48 +0200 Message-ID: <1304162988.16750.12.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit On Sat, 2011-04-30 at 01:13 +0200, khiem nguyen wrote: > Hi, > > i want to throttle the download-traffic/bandwidth with httpclient. Googling > around doesn't takes me further. > 1 of the found options is using Thread.sleep(time) while reading from > inputstream. > looking into the source-code, i think i'll have to extends > SocketHttpClientConnection, go to SocketInputBuffer where i can use the > built-in TransportMetrics to set/reset the transferered traffic & put the > Thread.sleep there. > but it couldnt figure out how to do this quick from defaulthttpclient & how > to "wire" things together. > is this this approach correct ? if yes , it would be great if someone could > give me some clues about this. > > & what about sslsocket ? do i have also have to touch schemefactory ? > > is there any other options /suggestions > > thanx alot Probably the best (or the easiest) approach is to do the I/O throttling on the socket level. You would need to implement a custom Socket class and plug it in using a custom SchemeSocketFactory. Actually you can borrow most of the code from JMeter's Slow* classes: http://svn.apache.org/repos/asf/jakarta/jmeter/trunk/src/core/org/apache/jmeter/util/SlowSocket.java http://svn.apache.org/repos/asf/jakarta/jmeter/trunk/src/core/org/apache/jmeter/util/SlowSSLSocket.java http://svn.apache.org/repos/asf/jakarta/jmeter/trunk/src/core/org/apache/jmeter/util/SlowInputStream.java http://svn.apache.org/repos/asf/jakarta/jmeter/trunk/src/core/org/apache/jmeter/util/SlowOutputStream.java Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 30 11:55:20 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 3C0C23978 for <[email protected]>; Sat, 30 Apr 2011 11:55:20 +0000 (UTC) Received: (qmail 90919 invoked by uid 500); 30 Apr 2011 11:55:19 -0000 Delivered-To: [email protected] Received: (qmail 90886 invoked by uid 500); 30 Apr 2011 11:55:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <httpclient-users.hc.apache.org> Reply-To: "HttpClient User Discussion" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 90878 invoked by uid 99); 30 Apr 2011 11:55:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Apr 2011 11:55:19 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iy0-f179.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Apr 2011 11:55:13 +0000 Received: by iym7 with SMTP id 7so3851984iym.10 for <[email protected]>; Sat, 30 Apr 2011 04:54:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=5dknA4pQBNINZ6Xb3v83zNxfhLLdpw4z7Y+9IboBxUs=; b=R+xGO2yeLxyD3NkODGskw0et4jepdlbEGvwe5SH+RBLXZ83k2DGrWzbMsO9sJBtz4N i3VzAgu8i3RnlzgZ8epvCcLG9OTxO7hq5BPlpMXxffrLBxQ53aJ7+7nl8jgetT6uB4WM U/r5KXUHOfWHW9ODecF/BCmMuclrUJsYWPW0g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=JG8SXgOAHWn+lUeMdt03Dn4RgADqq9Qw57/E1+QPSnw8K7Lv0R8R4UGzomXyt2Ju+B oqXlknN7wNbroFDOSeuC4sCwLmdwVuA7vW2Dxq5kMlJedTwwgUk8mVgHbx2ZrL1nq6Xx BJMm2ahxy9q5z1V9hCFrSBdyRQu7olv3kLEes= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id l7mr4505828ibs.150.1304164491803; Sat, 30 Apr 2011 04:54:51 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sat, 30 Apr 2011 04:54:51 -0700 (PDT) In-Reply-To: <1304162988.16750.12.camel@ubuntu> References: <[email protected]> <1304162988.16750.12.camel@ubuntu> Date: Sat, 30 Apr 2011 13:54:51 +0200 Message-ID: <[email protected]> Subject: Re: throttlling download traffic From: khiem nguyen <[email protected]> To: HttpClient User Discussion <[email protected]> Content-Type: multipart/alternative; boundary=001636920ced433de404a221757f X-Virus-Checked: Checked by ClamAV on apache.org --001636920ced433de404a221757f Content-Type: text/plain; charset=ISO-8859-1 thanx alot for the hints. u're always soooo helpfull khiemu On Sat, Apr 30, 2011 at 1:29 PM, Oleg Kalnichevski <[email protected]> wrote: > On Sat, 2011-04-30 at 01:13 +0200, khiem nguyen wrote: > > Hi, > > > > i want to throttle the download-traffic/bandwidth with httpclient. > Googling > > around doesn't takes me further. > > 1 of the found options is using Thread.sleep(time) while reading from > > inputstream. > > looking into the source-code, i think i'll have to extends > > SocketHttpClientConnection, go to SocketInputBuffer where i can use the > > built-in TransportMetrics to set/reset the transferered traffic & put the > > Thread.sleep there. > > but it couldnt figure out how to do this quick from defaulthttpclient & > how > > to "wire" things together. > > is this this approach correct ? if yes , it would be great if someone > could > > give me some clues about this. > > > > & what about sslsocket ? do i have also have to touch schemefactory ? > > > > is there any other options /suggestions > > > > thanx alot > > > > Probably the best (or the easiest) approach is to do the I/O throttling > on the socket level. You would need to implement a custom Socket class > and plug it in using a custom SchemeSocketFactory. > > Actually you can borrow most of the code from JMeter's Slow* classes: > > > http://svn.apache.org/repos/asf/jakarta/jmeter/trunk/src/core/org/apache/jmeter/util/SlowSocket.java > > http://svn.apache.org/repos/asf/jakarta/jmeter/trunk/src/core/org/apache/jmeter/util/SlowSSLSocket.java > > http://svn.apache.org/repos/asf/jakarta/jmeter/trunk/src/core/org/apache/jmeter/util/SlowInputStream.java > > http://svn.apache.org/repos/asf/jakarta/jmeter/trunk/src/core/org/apache/jmeter/util/SlowOutputStream.java > > Oleg > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --001636920ced433de404a221757f--
From [email protected] Mon Dec 20 02:06:50 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9152 invoked from network); 20 Dec 2010 02:06:50 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 20 Dec 2010 02:06:50 -0000 Received: (qmail 84630 invoked by uid 500); 20 Dec 2010 02:06:50 -0000 Delivered-To: [email protected] Received: (qmail 84602 invoked by uid 500); 20 Dec 2010 02:06:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> Reply-To: [email protected] List-Id: <commits.xmlbeans.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 84594 invoked by uid 500); 20 Dec 2010 02:06:50 -0000 Delivered-To: [email protected] Received: (qmail 84591 invoked by uid 99); 20 Dec 2010 02:06:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Dec 2010 02:06:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Dec 2010 02:06:49 +0000 Received: from eosnew.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id 2E7CC5CB; Mon, 20 Dec 2010 02:06:29 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki <[email protected]> To: Apache Wiki <[email protected]> Date: Mon, 20 Dec 2010 02:06:28 -0000 Message-ID: <[email protected]> Subject: =?utf-8?q?=5BXmlbeans_Wiki=5D_Update_of_=22FrontPage=22_by_aymenbnr?= Dear Wiki user, You have subscribed to a wiki page or wiki category on "Xmlbeans Wiki" for = change notification. The "FrontPage" page has been changed by aymenbnr. http://wiki.apache.org/xmlbeans/FrontPage?action=3Ddiff&rev1=3D32&rev2=3D33 -------------------------------------------------- * Extending generated types with user interfaces - ExtensionInterfaces= Feature * Pre and post calls in the xbean setters - PrePostSetFeature * ExternalEntityResolver + * [[http://articleleader.info/|free article directory]]. = * NonvalidatingStronglyTypedWrapperOverJsr173Parser = =20 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
From [email protected] Mon Oct 01 07:51:32 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 23329 invoked from network); 1 Oct 2007 07:51:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Oct 2007 07:51:31 -0000 Received: (qmail 9968 invoked by uid 500); 1 Oct 2007 07:51:21 -0000 Delivered-To: [email protected] Received: (qmail 9938 invoked by uid 500); 1 Oct 2007 07:51:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <wsrp4j-user.portals.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 9929 invoked by uid 99); 1 Oct 2007 07:51:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 00:51:20 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.t-mobile.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 07:51:22 +0000 Received: from mail-int.msro.detemobil.de (161.129.204.104) by mail.t-mobile.de (161.129.204.104) id 46FD874000074E79 for [email protected]; Mon, 1 Oct 2007 09:47:48 +0200 Received: from debnlwmxsn0501.sv.ad.tmo (161.129.204.104) by mail-int.msro.detemobil.de (7.2.063) id 46FCF315000D62DD for [email protected]; Mon, 1 Oct 2007 09:47:48 +0200 Received: from DEBNLWMXSC0103.sv.ad.tmo ([161.129.204.104]) by debnlwmxsn0501.sv.ad.tmo with Microsoft SMTPSVC+1-978-307-4297); Mon, 1 Oct 2007 09:47:48 +0200 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4073 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C803FF.5C944EED" Subject: AW: Error while viewing wsrp portlets Content-Transfer-Encoding: 7bit Date: Mon, 1 Oct 2007 09:47:48 +0200 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Error while viewing wsrp portlets Importance: normal Priority: normal Thread-Index: AcgCjdYxxqkpm9Z3R3OJpyUmrjd1kABbj7LA From: "Sauter-Fischer, Siegfried" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 01 Oct 2007 07:47:48.0850 (UTC) FILETIME=[5CCC5D20:01C803FF] X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------_=_NextPart_001_01C803FF.5C944EED Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, =20 there are several errors in your log file, so I wonder which is the real = one. Think the execption in servlet destroy method doesn't really = matter. For me the very most important error is the WSRPException. Take a look = at the cause of this error. It's due an axis fault created while the = getServiceDescription method is called. =20 <snip> Caused by: java.lang.reflect.InvocationTargetException at = org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.jav= a:222) at = org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java= :129) at = org.apache.axis.encoding.DeserializationContext.endElement(Deserializatio= nContext.java:1087) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown = Source) at = org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown = Source) at = org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDisp= atcher.dispatch(Unknown Source) at = org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknow= n Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(Unknown Source) at = org.apache.axis.encoding.DeserializationContext.parse(DeserializationCont= ext.java:227) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) at = org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstand= Checker.java:62) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at = oasis.names.tc.wsrp.v1.bind.WSRP_v1_ServiceDescription_Binding_SOAPStub.g= etServiceDescription(WSRP_v1_ServiceDescription_Binding_SOAPStub.java:745= ) at = org.apache.wsrp4j.commons.consumer.driver.producer.ProducerImpl.getServic= eDescription(ProducerImpl.java:419) ... 71 more </snip> =20 In this stack trace you can see: * The error occurs while axis tries to deserialize the stream. at = org.apache.axis.encoding.DeserializationContext.parse(DeserializationCont= ext.java:227) * There is some problem to parse the end element at = org.apache.axis.encoding.DeserializationContext.endElement(Deserializatio= nContext.java:1087) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown = Source) It's very likely a xml start tag is unmatched. Seem's the xml is not = well formed. This may happen, if an error occurs during the creation of = the xml content. Try to catch the xml content to learn more. To do so, = you can try to get the service description wsdl with a browser or you = can try to catch the stream by using a tool like a TCP-Monitor. A = TCP-Monitior called tcpmon is included in the axis framework. =20 An other way to get the stream: Set = org.apache.axis.transport.http.HTTPSender log level to debug. =20 kind regards =20 Siegfried Sauter-Fischer =09 T-Mobile Deutschland GmbH Aufsichtsrat: Hamid Akhavan (Vorsitzender) Gesch=E4ftsf=FChrung: Philipp Humm (Sprecher), Thomas Berlemann, Stefan = Homeister, Holger Kranzusch, G=FCnther Ottendorfer, Dr. Raphael = K=FCbler, Dr. Steffen Roehn Handelsregister: Amtsgericht Bonn, HRB 59 19 Sitz der Gesellschaft: Bonn WEEE-Reg.-Nr.: DE60800328 Von: B Ramesh [mailto:[email protected]]=20 Gesendet: Samstag, 29. September 2007 13:42 An: [email protected] Betreff: Error while viewing wsrp portlets =09 =09 Hi! =09 I'm trying to deploy wsrp portlets in pluto. While i've been able to successfully deploy the producer, proxy-portlet = and test-portlet. I'm unable to see contents of the portlet. I'm adding the portlets to secondary page of pluto.=20 The "producer registry configuration" "deployed portlets configuration" = portlets get added successfully. However the wsrp portlet A and wsrp = portlet B give errors. Even in the "producer registry configuration" i'm able to see proxy = portlets from IBM, bea etc... but when i click on the link "view offered = portlets" it gives an error, saying connection refused.=20 i'm attaching the log of the error it gives. Please let me know if i'm = missing any setting here. =09 configuration details:=20 tomcat - pluto bundle 1.1.0. wsrp4j 0.5 snapshot rev 568430 win2k pluto 1.1.5- snapshot =09 P.S: i'm also running the tcpmon utility on all ports from 9101 to 9106 =09 --=20 www.easy-share.tk ------_=_NextPart_001_01C803FF.5C944EED Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <HTML > <HEAD> <META http-equiv=3D"Content-Type" content=3D"text/html; = charset=3Diso-8859-1"> <TITLE>Nachricht</TITLE> <META content=3D"MSHTML 6.00.2800.1597" name=3DGENERATOR></HEAD> <BODY > <DIV> <DIV><SPAN class=3D895192407-01102007><FONT face=3DArial color=3D#0000ff = size=3D2>Hello,</FONT></SPAN></DIV> <DIV><SPAN class=3D895192407-01102007><FONT face=3DArial color=3D#0000ff = size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV><SPAN class=3D895192407-01102007><FONT face=3DArial color=3D#0000ff = size=3D2>there=20 are several errors in your log file, so I wonder which is the real one. = Think=20 the execption in servlet destroy method doesn't really=20 matter.</FONT></SPAN></DIV> <DIV><SPAN class=3D895192407-01102007><FONT face=3DArial color=3D#0000ff = size=3D2>For me=20 the very most important error is the WSRPException. Take a look at the = cause of=20 this error. It's due an axis fault created while the = getServiceDescription=20 method is called.</FONT></SPAN></DIV> <DIV><SPAN class=3D895192407-01102007><FONT face=3DArial color=3D#0000ff = size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV><SPAN class=3D895192407-01102007><FONT face=3DArial color=3D#0000ff = size=3D2>&lt;snip&gt;</FONT></SPAN></DIV> </DIV><BR> <DIV> <FONT SIZE=3D"1" FACE=3D"Arial"> T-Mobile Deutschland GmbH<BR>Aufsichtsrat: Hamid Akhavan = (Vorsitzender)<BR>Gesch&#228;ftsf&#252;hrung: Philipp Humm (Sprecher), = Thomas Berlemann, Stefan Homeister, Holger Kranzusch, G&#252;nther = Ottendorfer, Dr. Raphael K&#252;bler, Dr. Steffen = Roehn<BR>Handelsregister: Amtsgericht Bonn, HRB 59 19<BR>Sitz der = Gesellschaft: Bonn<BR>WEEE-Reg.-Nr.: DE60800328<BR> <BR> </FONT> </DIV> <P><BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px"> <DIV><SPAN class=3D895192407-01102007><FONT face=3DArial = color=3D#0000ff=20 size=3D2>Caused by: = java.lang.reflect.InvocationTargetException<BR>&nbsp;at=20 = org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.jav= a:222)<BR>&nbsp;at=20 = org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java= :129)<BR>&nbsp;at=20 = org.apache.axis.encoding.DeserializationContext.endElement(Deserializatio= nContext.java:1087)<BR>&nbsp;at=20 org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown=20 Source)<BR>&nbsp;at=20 org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown = Source)<BR>&nbsp;at=20 = org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDisp= atcher.dispatch(Unknown=20 Source)<BR>&nbsp;at=20 = org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknow= n=20 Source)<BR>&nbsp;at = org.apache.xerces.parsers.XML11Configuration.parse(Unknown=20 Source)<BR>&nbsp;at = org.apache.xerces.parsers.XML11Configuration.parse(Unknown=20 Source)<BR>&nbsp;at org.apache.xerces.parsers.XMLParser.parse(Unknown=20 Source)<BR>&nbsp;at = org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown=20 Source)<BR>&nbsp;at javax.xml.parsers.SAXParser.parse(Unknown=20 Source)<BR>&nbsp;at=20 = org.apache.axis.encoding.DeserializationContext.parse(DeserializationCont= ext.java:227)<BR>&nbsp;at=20 = org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)<BR>&nbsp;at= =20 org.apache.axis.Message.getSOAPEnvelope(Message.java:435)<BR>&nbsp;at=20 = org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstand= Checker.java:62)<BR>&nbsp;at=20 = org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)<BR>&nbsp;at= =20 org.apache.axis.client.Call.invokeEngine(Call.java:2784)<BR>&nbsp;at=20 org.apache.axis.client.Call.invoke(Call.java:2767)<BR>&nbsp;at=20 org.apache.axis.client.Call.invoke(Call.java:2443)<BR>&nbsp;at=20 org.apache.axis.client.Call.invoke(Call.java:2366)<BR>&nbsp;at=20 org.apache.axis.client.Call.invoke(Call.java:1812)<BR>&nbsp;at=20 = oasis.names.tc.wsrp.v1.bind.WSRP_v1_ServiceDescription_Binding_SOAPStub.g= etServiceDescription(WSRP_v1_ServiceDescription_Binding_SOAPStub.java:745= )<BR>&nbsp;at=20 = org.apache.wsrp4j.commons.consumer.driver.producer.ProducerImpl.getServic= eDescription(ProducerImpl.java:419)<BR>&nbsp;...=20 71 more<BR></FONT></SPAN><SPAN class=3D895192407-01102007><FONT = face=3DArial=20 color=3D#0000ff = size=3D2>&lt;/snip&gt;</FONT></SPAN></DIV></BLOCKQUOTE> <DIV><SPAN class=3D895192407-01102007><FONT face=3DArial color=3D#0000ff = size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV><SPAN class=3D895192407-01102007><FONT face=3DArial color=3D#0000ff = size=3D2>In=20 this stack trace you can see:</FONT></SPAN></DIV> <UL> <LI><SPAN class=3D895192407-01102007><FONT face=3DArial = color=3D#0000ff size=3D2>The=20 error occurs while axis tries to deserialize the stream.<BR>at=20 = org.apache.axis.encoding.DeserializationContext.parse(DeserializationCont= ext.java:227)</FONT></SPAN></LI> <LI><SPAN class=3D895192407-01102007><FONT face=3DArial = color=3D#0000ff size=3D2>There=20 is some problem to parse the end element<BR>at=20 = org.apache.axis.encoding.DeserializationContext.endElement(Deserializatio= nContext.java:1087)<BR>at=20 org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown=20 Source)</FONT></SPAN></LI></UL> <DIV><SPAN class=3D895192407-01102007><FONT face=3DArial color=3D#0000ff = size=3D2>It's=20 very likely a xml start tag is unmatched. Seem's the xml is not well = formed.=20 This may happen, if an error occurs during the creation of the xml = content. Try=20 to catch the xml content to learn more. To do so, you can try to get the = service=20 description wsdl with a browser or you can try to catch the stream by = using a=20 tool like a TCP-Monitor. A TCP-Monitior called&nbsp; tcpmon is included = in the=20 axis framework.</FONT></SPAN></DIV> <DIV><SPAN class=3D895192407-01102007><FONT face=3DArial color=3D#0000ff = size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV><SPAN class=3D895192407-01102007><FONT face=3DArial color=3D#0000ff = size=3D2>An=20 other way to get the stream: Set = org.apache.axis.transport.http.HTTPSender log=20 level to debug.</FONT></SPAN></DIV> <DIV><SPAN class=3D895192407-01102007><FONT face=3DArial color=3D#0000ff = size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV><SPAN class=3D895192407-01102007><FONT face=3DArial color=3D#0000ff = size=3D2>kind=20 regards</FONT></SPAN></DIV> <DIV><SPAN class=3D895192407-01102007><FONT face=3DArial color=3D#0000ff = size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV><SPAN class=3D895192407-01102007><FONT face=3DArial color=3D#0000ff = size=3D2>Siegfried Sauter-Fischer</FONT></SPAN></DIV> <BLOCKQUOTE style=3D"MARGIN-RIGHT: 0px"> <DIV></DIV> <DIV class=3DOutlookMessageHeader lang=3Dde dir=3Dltr = align=3Dleft><FONT face=3DTahoma=20 size=3D2>-----Urspr&#252;ngliche Nachricht-----<BR><B>Von:</B> B = Ramesh=20 [mailto:[email protected]] <BR><B>Gesendet:</B> Samstag, 29. = September=20 2007 13:42<BR><B>An:</B> = [email protected]<BR><B>Betreff:</B>=20 Error while viewing wsrp portlets<BR><BR></FONT></DIV>Hi!<BR><BR>I'm = trying to=20 deploy wsrp portlets in pluto.<BR>While i've been able to successfully = deploy=20 the producer, proxy-portlet and test-portlet.<BR>I'm unable to see = contents of=20 the portlet.<BR>I'm adding the portlets to secondary page of pluto. = <BR>The=20 "producer registry configuration" "deployed portlets configuration" = portlets=20 get added successfully. However the wsrp portlet A and wsrp portlet B = give=20 errors.<BR>Even in the "producer registry configuration" i'm able to = see proxy=20 portlets from IBM, bea etc... but when i click on the link "view = offered=20 portlets" it gives an error, saying&nbsp; connection refused. <BR>i'm=20 attaching the log of the error it gives. Please let me know if i'm = missing any=20 setting here.<BR><BR><SPAN style=3D"FONT-WEIGHT: bold">configuration = details:=20 </SPAN><BR>tomcat - pluto bundle 1.1.0.<BR>wsrp4j 0.5 snapshot rev=20 568430<BR>win2k<BR>pluto 1.1.5- snapshot<BR><BR>P.S: i'm also running = the=20 tcpmon utility on all ports from 9101 to 9106<BR clear=3Dall><BR>-- = <BR><A=20 href=3D"http://www.easy-share.tk">www.easy-share.tk</A>=20 </BLOCKQUOTE></P> </BODY> </HTML> ------_=_NextPart_001_01C803FF.5C944EED-- From [email protected] Mon Oct 01 08:30:27 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 32563 invoked from network); 1 Oct 2007 08:30:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Oct 2007 08:30:27 -0000 Received: (qmail 44674 invoked by uid 500); 1 Oct 2007 08:30:13 -0000 Delivered-To: [email protected] Received: (qmail 44654 invoked by uid 500); 1 Oct 2007 08:30:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <wsrp4j-user.portals.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 44643 invoked by uid 99); 1 Oct 2007 08:30:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 01:30:13 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.t-mobile.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 08:30:15 +0000 Received: from mail-int.msro.detemobil.de (161.129.204.104) by mail.t-mobile.de (161.129.204.104) id 46FCF35D000808C2 for [email protected]; Mon, 1 Oct 2007 10:26:44 +0200 Received: from debnlwmxsn0501.sv.ad.tmo (161.129.204.104) by mail-int.msro.detemobil.de (7.2.063) id 46FCF315000D9732 for [email protected]; Mon, 1 Oct 2007 10:26:44 +0200 Received: from DEBNLWMXSC0103.sv.ad.tmo ([161.129.204.104]) by debnlwmxsn0501.sv.ad.tmo with Microsoft SMTPSVC+1-978-307-4297); Mon, 1 Oct 2007 10:26:44 +0200 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4073 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Re: Error while viewing wsrp portlets Date: Mon, 1 Oct 2007 10:26:44 +0200 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Re: Error while viewing wsrp portlets Importance: normal Priority: normal Thread-Index: AcgCjdYxxqkpm9Z3R3OJpyUmrjd1kABdLniA From: "Sauter-Fischer, Siegfried" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 01 Oct 2007 08:26:44.0562 (UTC) FILETIME=[CCFDBB20:01C80404] X-Virus-Checked: Checked by ClamAV on apache.org Hello, This is a second try. The first message didn't appear in the mail list. Now I try a text only message. Also I took a further look to your original message and I improved my analyses. There are several errors in your consumer log file, so I wonder which is the real one. Even I cannot realize an error message on producer side, I think it's a producer error. The only hints I found are on consumer side. Think the execption in servlet destroy method doesn't really matter. For me the very most important error seems to be the WSRPException. Take a look at the cause of this error. It's due an axis fault created while the getServiceDescription method is called. Caused by: java.lang.reflect.InvocationTargetException at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.ja va:222) at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.jav a:129) at org.apache.axis.encoding.DeserializationContext.endElement(Deserializati onContext.java:1087) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis patcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno wn Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(Unknown Source) at org.apache.axis.encoding.DeserializationContext.parse(DeserializationCon text.java:227) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstan dChecker.java:62) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at oasis.names.tc.wsrp.v1.bind.WSRP_v1_ServiceDescription_Binding_SOAPStub. getServiceDescription(WSRP_v1_ServiceDescription_Binding_SOAPStub.java:7 45) at org.apache.wsrp4j.commons.consumer.driver.producer.ProducerImpl.getServi ceDescription(ProducerImpl.java:419) ... 71 more =20 In this stack trace you can see: The error occurs while axis tries to deserialize the stream. at org.apache.axis.encoding.DeserializationContext.parse(DeserializationCon text.java:227)=20 There is some problem to parse the end element at org.apache.axis.encoding.DeserializationContext.endElement(Deserializati onContext.java:1087) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) It's very likely a xml start tag is unmatched. Seem's the xml is not well formed. This may happen, if an error occurs during the creation of the xml content. You told, you already use tcpmon. Take a look at the stream. What's the error in the xml content? =20 kind regards =20 Siegfried Sauter-Fischer T-Mobile Deutschland GmbH Aufsichtsrat: Hamid Akhavan (Vorsitzender) Geschaftsfuhrung: Philipp Humm (Sprecher), Thomas Berlemann, Stefan = Homeister, Holger Kranzusch, Gunther Ottendorfer, Dr. Raphael Kubler, = Dr. Steffen Roehn Handelsregister: Amtsgericht Bonn, HRB 59 19 Sitz der Gesellschaft: Bonn WEEE-Reg.-Nr.: DE60800328 From [email protected] Mon Oct 01 13:49:37 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53547 invoked from network); 1 Oct 2007 13:49:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Oct 2007 13:49:37 -0000 Received: (qmail 69044 invoked by uid 500); 1 Oct 2007 13:49:26 -0000 Delivered-To: [email protected] Received: (qmail 69026 invoked by uid 500); 1 Oct 2007 13:49:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <wsrp4j-user.portals.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 69017 invoked by uid 99); 1 Oct 2007 13:49:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 06:49:26 -0700 X-ASF-Spam-Status: No, hits=3.5 required=10.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wx-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 13:49:25 +0000 Received: by wx-out-0506.google.com with SMTP id i28so2756989wxd for <[email protected]>; Mon, 01 Oct 2007 06:49:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=EjJe26aH9Jobe3pwOFtgup/SLXqEqzK96D2MxMp7v1U=; b=uHGBENmKDx+cVNWPutYc9oPbLSvKlo64hLheZYCbmNmEGvQclgId1tFNgE9FX1ZaxpQCfNIOEeVJLRae4uew9+wwK2FB8Xdv4VRlRJPxm59P1ar8TFKR7cCcd3gUuIaBi2pZhrp4+5W44ZF49wq23fJW1S31CbiNCM0frABXSQ4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=H1utI6Q8Mr/GLxn1dhnU+RDc9HG8jknjzxX+3T9gBGWn1HcL2YGgtvmHPijbqE5Yj15j/GOAitflZJFoGdpJyvZ3/KI/3Dge5ZgY6VrRtyp+tVzKxaNxu4lnzLHPEO0sLOAsLw2tH4QffEnpP9uewHC8MOIk7jNNRj3E5iKueOA= Received: by 161.129.204.104 with SMTP id d13mr4319524agd.1191246531074; Mon, 01 Oct 2007 06:48:51 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 1 Oct 2007 06:48:50 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 1 Oct 2007 19:18:50 +0530 From: "B Ramesh" <[email protected]> To: [email protected] Subject: Re: Error while viewing wsrp portlets In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5744_29732259.1191246531019" References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_5744_29732259.1191246531019 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Siegfried, Thanks for your analysis. The following are the logs which TCPMon generated... ----------------------------------------------------- When i type in the link to the WSRP4j producer like : http://localhost:9101/wsrp4j-producer/services/WSRPBaseService The get message is as follows: GET /wsrp4j-producer/services/WSRPBaseService HTTP/1.1 Host: localhost:9101 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:161.129.204.104) Gecko/20070914 Firefox/161.129.204.104 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9 ,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Cookie: JSESSIONIDSSO=008C2DF34E0169135D441CEC95FA443C; JSESSIONID=E73FF511D7B028071FF7D7BBE7683197 To which the reply is: HTTP/1.1 200 OK Server: Apache-Coyote/1.1 Content-Type: text/html;charset=utf-8 Content-Length: 139 Date: Mon, 01 Oct 2007 13:33:36 GMT <h1>WSRPBaseService</h1><p>Hi there, this is an AXIS service!</p><i>Perhaps there will be a form for invoking the service here...</i> ------------------------------------------------- Now i click on View offered portlets link in the producer.. and the following exchange takes place... Get message: POST /wsrp4j-producer/services/WSRPServiceDescriptionService HTTP/1.0 Content-Type: text/xml; charset=utf-8 Accept: application/soap+xml, application/dime, multipart/related, text/* User-Agent: Axis/1.4 Host: localhost:9101 Cache-Control: no-cache Pragma: no-cache SOAPAction: "urn:oasis:names:tc:wsrp:v1:getServiceDescription" Content-Length: 460 <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv=" http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd=" http://www.w3.org/2001/XMLSchema" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <getServiceDescription xmlns="urn:oasis:names:tc:wsrp:v1:types"> <registrationContext> <registrationHandle>161.129.204.104_1191063869540_0 </registrationHandle> </registrationContext> </getServiceDescription> </soapenv:Body> </soapenv:Envelope> to which the reply comes as follows : HTTP/1.1 500 Internal Server Error Server: Apache-Coyote/1.1 Content-Type: text/xml;charset=utf-8 Date: Mon, 01 Oct 2007 13:34:18 GMT Connection: close <?xml version="1.0" encoding="utf-8"?> <soapenv:Envelope xmlns:soapenv=" http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd=" http://www.w3.org/2001/XMLSchema" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <soapenv:Fault> <faultcode>soapenv:Server.userException</faultcode> <faultstring>java.lang.reflect.InvocationTargetException </faultstring> <detail> <ns1:hostname xmlns:ns1="http://xml.apache.org/axis/ ">pc883</ns1:hostname> </detail> </soapenv:Fault> </soapenv:Body> </soapenv:Envelope> ---------------------------------------------------------------------- I'm trying to look into the details of getServiceDescription error too.. please let me know if you can make something of the above. Thanks and Regards, Ramesh B. On 10/1/07, Sauter-Fischer, Siegfried <[email protected]> wrote: > > Hello, > > This is a second try. The first message didn't appear in the mail list. > Now I try a text only message. > > Also I took a further look to your original message and I improved my > analyses. > > There are several errors in your consumer log file, so I wonder which is > the real one. Even I cannot realize an error message on producer side, I > think it's a producer error. The only hints I found are on consumer > side. Think the execption in servlet destroy method doesn't really > matter. > > For me the very most important error seems to be the WSRPException. Take > a look at the cause of this error. It's due an axis fault created while > the getServiceDescription method is called. > > Caused by: java.lang.reflect.InvocationTargetException > at > org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.ja > va:222) > at > org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.jav > a:129) > at > org.apache.axis.encoding.DeserializationContext.endElement(Deserializati > onContext.java:1087) > at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown > Source) > at > org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown > Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis > patcher.dispatch(Unknown Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno > wn Source) > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > at javax.xml.parsers.SAXParser.parse(Unknown Source) > at > org.apache.axis.encoding.DeserializationContext.parse(DeserializationCon > text.java:227) > at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) > at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) > at > org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstan > dChecker.java:62) > at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) > at org.apache.axis.client.Call.invokeEngine(Call.java:2784) > at org.apache.axis.client.Call.invoke(Call.java:2767) > at org.apache.axis.client.Call.invoke(Call.java:2443) > at org.apache.axis.client.Call.invoke(Call.java:2366) > at org.apache.axis.client.Call.invoke(Call.java:1812) > at > oasis.names.tc.wsrp.v1.bind.WSRP_v1_ServiceDescription_Binding_SOAPStub. > getServiceDescription(WSRP_v1_ServiceDescription_Binding_SOAPStub.java:7 > 45) > at > org.apache.wsrp4j.commons.consumer.driver.producer.ProducerImpl.getServi > ceDescription(ProducerImpl.java:419) > ... 71 more > > In this stack trace you can see: > The error occurs while axis tries to deserialize the stream. > at > org.apache.axis.encoding.DeserializationContext.parse(DeserializationCon > text.java:227) > There is some problem to parse the end element > at > org.apache.axis.encoding.DeserializationContext.endElement(Deserializati > onContext.java:1087) > at > org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) > > It's very likely a xml start tag is unmatched. Seem's the xml is not > well formed. This may happen, if an error occurs during the creation of > the xml content. > > You told, you already use tcpmon. Take a look at the stream. What's the > error in the xml content? > > kind regards > > Siegfried Sauter-Fischer > > > T-Mobile Deutschland GmbH > Aufsichtsrat: Hamid Akhavan (Vorsitzender) > Geschaftsfuhrung: Philipp Humm (Sprecher), Thomas Berlemann, Stefan > Homeister, Holger Kranzusch, Gunther Ottendorfer, Dr. Raphael Kubler, Dr. > Steffen Roehn > Handelsregister: Amtsgericht Bonn, HRB 59 19 > Sitz der Gesellschaft: Bonn > WEEE-Reg.-Nr.: DE60800328 > ------=_Part_5744_29732259.1191246531019 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Siegfried,<br>Thanks for your analysis.<br>The following are the logs which TCPMon generated...<br><span style="font-weight: bold;">-----------------------------------------------------</span><br>When i type in the link to the WSRP4j producer like :&nbsp;&nbsp; <span style="font-style: italic;"> <br><a href="http://localhost:9101/wsrp4j-producer/services/WSRPBaseService">http://localhost:9101/wsrp4j-producer/services/WSRPBaseService</a><br><br></span><span style="font-weight: bold;"> The get message is as follows:</span><br>GET /wsrp4j-producer/services/WSRPBaseService HTTP/1.1<br>Host: localhost:9101<br>User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:<a href="http://161.129.204.104">161.129.204.104</a> ) Gecko/20070914 Firefox/161.129.204.104<br>Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5<br>Accept-Language: en-us,en;q=0.5<br>Accept-Encoding: gzip,deflate<br>Accept-Charset: ISO-8859-1,utf-8;q= 0.7,*;q=0.7<br>Keep-Alive: 300<br>Connection: keep-alive<br>Cookie: JSESSIONIDSSO=008C2DF34E0169135D441CEC95FA443C; JSESSIONID=E73FF511D7B028071FF7D7BBE7683197<br><br><br><span style="font-weight: bold;">To which the reply is: </span><br><br>HTTP/1.1 200 OK<br>Server: Apache-Coyote/1.1<br>Content-Type: text/html;charset=utf-8<br>Content-Length: 139<br>Date: Mon, 01 Oct 2007 13:33:36 GMT<br><br>&lt;h1&gt;WSRPBaseService&lt;/h1&gt;&lt;p&gt;Hi there, this is an AXIS service!&lt;/p&gt;&lt;i&gt;Perhaps there will be a form for invoking the service here...&lt;/i&gt; <br><span style="font-weight: bold;">-------------------------------------------------</span><br><br>Now i click on <span style="font-style: italic; color: rgb(51, 51, 255);">View offered portlets</span> link in the producer.. and the following exchange takes place... <br><br><span style="font-weight: bold;">Get message:</span><br><br><br>POST /wsrp4j-producer/services/WSRPServiceDescriptionService HTTP/1.0<br>Content-Type: text/xml; charset=utf-8<br>Accept: application/soap+xml, application/dime, multipart/related, text/* <br>User-Agent: Axis/1.4<br>Host: localhost:9101<br>Cache-Control: no-cache<br>Pragma: no-cache<br>SOAPAction: &quot;urn:oasis:names:tc:wsrp:v1:getServiceDescription&quot;<br>Content-Length: 460<br><br>&lt;?xml version=&quot; 1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>&nbsp;&nbsp; &lt;soapenv:Envelope xmlns:soapenv=&quot;<a href="http://schemas.xmlsoap.org/soap/envelope/">http://schemas.xmlsoap.org/soap/envelope/</a>&quot; xmlns:xsd=&quot;<a href="http://www.w3.org/2001/XMLSchema"> http://www.w3.org/2001/XMLSchema</a>&quot; xmlns:xsi=&quot;<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;soapenv:Body&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;getServiceDescription xmlns=&quot;urn:oasis:names:tc:wsrp:v1:types&quot;&gt; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;registrationContext&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;registrationHandle&gt;161.129.204.104_1191063869540_0&lt;/registrationHandle&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/registrationContext&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/getServiceDescription&gt; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/soapenv:Body&gt;<br>&nbsp;&nbsp; &lt;/soapenv:Envelope&gt;<br><br><br><span style="font-weight: bold;">to which the reply comes as follows :</span><br><br>HTTP/1.1 500 Internal Server Error<br>Server: Apache-Coyote/1.1 <br>Content-Type: text/xml;charset=utf-8<br>Date: Mon, 01 Oct 2007 13:34:18 GMT<br>Connection: close<br><br>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;<br>&nbsp;&nbsp; &lt;soapenv:Envelope xmlns:soapenv=&quot;<a href="http://schemas.xmlsoap.org/soap/envelope/"> http://schemas.xmlsoap.org/soap/envelope/</a>&quot; xmlns:xsd=&quot;<a href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>&quot; xmlns:xsi=&quot;<a href="http://www.w3.org/2001/XMLSchema-instance"> http://www.w3.org/2001/XMLSchema-instance</a>&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;soapenv:Body&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;soapenv:Fault&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;faultcode&gt;soapenv:Server.userException&lt;/faultcode&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;faultstring&gt; java.lang.reflect.InvocationTargetException&lt;/faultstring&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;detail&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ns1:hostname xmlns:ns1=&quot;<a href="http://xml.apache.org/axis/">http://xml.apache.org/axis/</a>&quot;&gt;pc883&lt;/ns1:hostname&gt; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/detail&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/soapenv:Fault&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/soapenv:Body&gt;<br>&nbsp;&nbsp; &lt;/soapenv:Envelope&gt;<br><br><span style="font-weight: bold;">---------------------------------------------------------------------- </span><br><br>I&#39;m trying to look into the details of getServiceDescription error too.. please let me know if you can make something of the above.<br><br>Thanks and Regards,<br>Ramesh B.<br clear="all"><br><br><br><br> <div><span class="gmail_quote">On 10/1/07, <b class="gmail_sendername">Sauter-Fischer, Siegfried</b> &lt;<a href="mailto:[email protected]">[email protected]</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Hello,<br><br>This is a second try. The first message didn&#39;t appear in the mail list.<br>Now I try a text only message.<br><br>Also I took a further look to your original message and I improved my<br>analyses.<br><br> There are several errors in your consumer log file, so I wonder which is<br>the real one. Even I cannot realize an error message on producer side, I<br>think it&#39;s a producer error. The only hints I found are on consumer <br>side. Think the execption in servlet destroy method doesn&#39;t really<br>matter.<br><br>For me the very most important error seems to be the WSRPException. Take<br>a look at the cause of this error. It&#39;s due an axis fault created while <br>the getServiceDescription method is called.<br><br>Caused by: java.lang.reflect.InvocationTargetException<br> at<br>org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.ja<br>va:222)<br> at<br>org.apache.axis.message.SOAPFaultBuilder.endElement (SOAPFaultBuilder.jav<br>a:129)<br> at<br>org.apache.axis.encoding.DeserializationContext.endElement(Deserializati<br>onContext.java:1087)<br> at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown<br>Source)<br> at<br>org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown<br>Source)<br> at<br>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis<br>patcher.dispatch(Unknown Source)<br> at<br>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument (Unkno<br>wn Source)<br> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)<br> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)<br> at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) <br> at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)<br> at javax.xml.parsers.SAXParser.parse(Unknown Source)<br> at<br>org.apache.axis.encoding.DeserializationContext.parse(DeserializationCon<br>text.java :227)<br> at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)<br> at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)<br> at<br>org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstan <br>dChecker.java:62)<br> at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)<br> at org.apache.axis.client.Call.invokeEngine(Call.java:2784)<br> at org.apache.axis.client.Call.invoke(Call.java:2767)<br> at org.apache.axis.client.Call.invoke (Call.java:2443)<br> at org.apache.axis.client.Call.invoke(Call.java:2366)<br> at org.apache.axis.client.Call.invoke(Call.java:1812)<br> at<br>oasis.names.tc.wsrp.v1.bind.WSRP_v1_ServiceDescription_Binding_SOAPStub.<br>getServiceDescription(WSRP_v1_ServiceDescription_Binding_SOAPStub.java:7 <br>45)<br> at<br>org.apache.wsrp4j.commons.consumer.driver.producer.ProducerImpl.getServi<br>ceDescription(ProducerImpl.java:419)<br> ... 71 more<br><br>In this stack trace you can see:<br>The error occurs while axis tries to deserialize the stream. <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at<br>org.apache.axis.encoding.DeserializationContext.parse(DeserializationCon<br>text.java:227)<br>There is some problem to parse the end element<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at<br>org.apache.axis.encoding.DeserializationContext.endElement (Deserializati<br>onContext.java:1087)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;at<br>org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)<br><br>It&#39;s very likely a xml start tag is unmatched. Seem&#39;s the xml is not<br>well formed. This may happen, if an error occurs during the creation of <br>the xml content.<br><br>You told, you already use tcpmon. Take a look at the stream. What&#39;s the<br>error in the xml content?<br><br>kind regards<br><br>Siegfried Sauter-Fischer<br><br><br>T-Mobile Deutschland GmbH <br>Aufsichtsrat: Hamid Akhavan (Vorsitzender)<br>Geschaftsfuhrung: Philipp Humm (Sprecher), Thomas Berlemann, Stefan Homeister, Holger Kranzusch, Gunther Ottendorfer, Dr. Raphael Kubler, Dr. Steffen Roehn<br>Handelsregister: Amtsgericht Bonn, HRB 59 19 <br>Sitz der Gesellschaft: Bonn<br>WEEE-Reg.-Nr.: DE60800328<br></blockquote></div><br> ------=_Part_5744_29732259.1191246531019-- From [email protected] Mon Oct 01 14:31:03 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68179 invoked from network); 1 Oct 2007 14:31:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Oct 2007 14:31:02 -0000 Received: (qmail 63767 invoked by uid 500); 1 Oct 2007 14:30:52 -0000 Delivered-To: [email protected] Received: (qmail 63573 invoked by uid 500); 1 Oct 2007 14:30:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <wsrp4j-user.portals.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 63564 invoked by uid 99); 1 Oct 2007 14:30:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 07:30:52 -0700 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.t-mobile.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 14:30:53 +0000 Received: from mailto-int.msro.detemobil.de (161.129.204.104) by mail.t-mobile.de (161.129.204.104) id 46FD874000085CEF for [email protected]; Mon, 1 Oct 2007 16:27:23 +0200 Received: from debnlwmxsn0502.sv.ad.tmo (161.129.204.104) by mailto-int.msro.detemobil.de (7.2.063) id 46FCF334000EB043 for [email protected]; Mon, 1 Oct 2007 16:27:23 +0200 Received: from DEBNLWMXSC0103.sv.ad.tmo ([161.129.204.104]) by debnlwmxsn0502.sv.ad.tmo with Microsoft SMTPSVC+1-978-307-4297); Mon, 1 Oct 2007 16:26:53 +0200 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4073 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Re: Error while viewing wsrp portlets Importance: normal Priority: normal Date: Mon, 1 Oct 2007 16:26:53 +0200 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Re: Error while viewing wsrp portlets Thread-Index: AcgEMepNK6l5HPlISJeZLw3Wk695LAAAf2Uw From: "Sauter-Fischer, Siegfried" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 01 Oct 2007 14:26:53.0692 (UTC) FILETIME=[1D094BC0:01C80437] X-Virus-Checked: Checked by ClamAV on apache.org Hello, have a look on this response: <h1>WSRPBaseService</h1><p>Hi there, this is an AXIS service!</p><i>Perhaps there will be a form for invoking the service here...</i>=20 This seems to be a html-response not a wsdl response. To have a look in the service-description use http://localhost:9101/wsrp4j-producer/services/WSRPBaseService?wsdl not http://localhost:9101/wsrp4j-producer/services/WSRPBaseService. I have no really good idea about the reason of error in WSRPServiceDescriptionService call, but still some hints how to search. The error is shown by a fault reponse. This means it's detected on the producer side. The fault is of type soapenv:Server.userException. So I think the producer claims a wrong request. Maybe this is due a wrong url usage. So maybe you got an other try. If all tries will not help, I fear, You have to go the hard way. Use the debugger, to debug the producer side. Set a breakpoint in the constructor of AxisFault class. Hope this helps. Siegfried Sauter-Fischer T-Mobile Deutschland GmbH Aufsichtsrat: Hamid Akhavan (Vorsitzender) Geschaftsfuhrung: Philipp Humm (Sprecher), Thomas Berlemann, Stefan = Homeister, Holger Kranzusch, Gunther Ottendorfer, Dr. Raphael Kubler, = Dr. Steffen Roehn Handelsregister: Amtsgericht Bonn, HRB 59 19 Sitz der Gesellschaft: Bonn WEEE-Reg.-Nr.: DE60800328 From [email protected] Thu Oct 11 14:42:07 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71705 invoked from network); 11 Oct 2007 14:42:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Oct 2007 14:42:06 -0000 Received: (qmail 92669 invoked by uid 500); 11 Oct 2007 14:41:53 -0000 Delivered-To: [email protected] Received: (qmail 92649 invoked by uid 500); 11 Oct 2007 14:41:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <wsrp4j-user.portals.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 92640 invoked by uid 99); 11 Oct 2007 14:41:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Oct 2007 07:41:53 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wr-out-0506.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Oct 2007 14:41:57 +0000 Received: by wr-out-0506.google.com with SMTP id c49so406721wra for <[email protected]>; Thu, 11 Oct 2007 07:41:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=IxFFXmlMCw9ax8mKs4SwZhzO6mWzSv0a0NOC5OOpZRo=; b=uSzbaONOfNUgWnNBSc/kgHAIW9EkTQ2YbLvZO1YcrzcKWddBh9TMsyaaCwGrLbXnaQ3BVihSRWk+V9xDtppwZgDEct1Ttdfn+r0n0xVHcLX9JTk1rCo3yW/ZeKsumxeQiI9In5cgEVMjyiBWyQzKBtio4uLizI5WAwTPBK2wwHY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=oQubcexskCvZJRSb8rVOOeaeg1tvPnTXnR10uSt7fSMZVg2NKSAiHCMmgiPwAw4a3LCuFLM7fkHuKwjAJAbIK6KI0W/pP0M5LHxlp6M7eYiiGoijpVGsqf0sdGR6TTcY/WKR+fjXSli37fX1xD7NJ5s0owEmLgr2wv1Y8cRAWnM= Received: by 161.129.204.104 with SMTP id c18mr3112980agc.1192113694583; Thu, 11 Oct 2007 07:41:34 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 11 Oct 2007 07:41:34 -0700 (PDT) Message-ID: <[email protected]> Date: Thu, 11 Oct 2007 20:11:34 +0530 From: "B Ramesh" <[email protected]> To: [email protected] Subject: Re: Deploying WSRP4J on Geronimo 2.0 In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_20845_26129013.1192113694540" References: <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_20845_26129013.1192113694540 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, One of the probable reasons WSRP doesn't deploy on Geronimo perhaps is that the folder structure of Geronimo is vastly different than Tomcat. When we build WSRP giving the base path of Tomcat, the WSRP expects the war to be deployed in <Tomcat Base Path>/webapps folder. Where as in Geronimo the war gets deployed in <Geronimo base path>/repository/org/apache/wsrp4j/wsrp4j-producer/0.5-snapshot/wsrp4j- producer-0.5-SNAPSHOT.war/ This folder contains the webapp etc.. folders. Hence its not getting started i guess. I've no idea how i can accommodate this in my tomcat home. Any help will be appreciated. Also I would like to know what is the latest stable release for WSRP4J. Regards, Ramesh B. -- www.easy-share.tk On 9/14/07, B Ramesh <[email protected]> wrote: > > Hi Elliot, > Thanks for the quick response. > I've followed your advice and i've deployed pluto 1.1.5-SNAPSHOT on > Geronimo, and then tried deploying WSRP4J, this time i'm getting a new > error. > > I'm attaching the the error with this mail. > I'm also attaching the geronimo-web.xml that i'm written for deployment. > Please let me know if i'm missing anything. > > Thanks and Regards, > Ramesh B. > > > On 9/13/07, Elliot Metsger <[email protected]> wrote: > > > > Hi Ramesh, > > > > I'll try to take a look this weekend. The trunk of WSRP has been > > undergoing some changes recently, but due to some trouble (i.e. students > > banging on your portal has a tendency to expose bugs) at my real job I > > won't have time to take a look at this until then. > > > > Until then maybe the following will help... you have a couple of > > options: > > > > 1) This error looks like you don't have the Pluto jars in the incorrect > > class loader (I don't know much about Geronimo so I can't help you > > here). As you are aware the container and its dependencies need to be > > in a classloader available to all webapps. > > > > 2) You can try a more stable version of WSRP4J from > > https://svn.apache.org/repos/asf/wsrp4j-0.4-SNAPSHOT-prepluto11/ > > > > 3) If you want to stay on the WSRP4J trunk you will need Pluto > > 1.1.5-SNAPSHOT instead of Pluto 1.1.4 final. You can checkout the Pluto > > 1.1.x branch to install it. > > > > I hope to get some good work done with WSRP4J this weekend, and if I > > have time I'll install Geronimo and try to duplicate this behavior. > > > > Hope this helps, > > Elliot > > > > > > B Ramesh wrote: > > > Hi, > > > I'm new to WSRP and Geronimo. > > > I'm trying to deploy WSRP on Geronimo. > > > > > > I'm using Geronimo 2.0 for this, and checked out the latest code of > > WSRP. > > > Build it using maven. And then i've tried to deploy > > wsrp4j-producer.war. > > > Also i've already deployed pluto 1.1.4 onto geronimo. I've also added > > the > > > pluto jars to common libs. > > > However it gives the following error on deploying WSRP... > > > ------------------------------------------- > > > > > > 2:38:06,875 ERROR [Deployer] Deployment failed due to > > > java.lang.NoClassDefFoundError: > > org/apache/pluto/PortletContainerException > > > at java.lang.Class.getDeclaredMethods0(Native Method) > > > at java.lang.Class.privateGetDeclaredMethods(Unknown Source) > > > at java.lang.Class.getDeclaredMethods(Unknown Source) > > > at org.apache.xbean.finder.ClassFinder .<init>(ClassFinder.java > > :162) > > > at > > org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.createWebAppClassFinder > > (AbstractWebModuleBuilder.java:796) > > > at > > org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.configureBasicWebModuleAttributes( > > AbstractWebModuleBuilder.java:813) > > > at > > org.apache.geronimo.jetty6.deployment.JettyModuleBuilder.addGBeans( > > JettyModuleBuilder.java:337) > > > at > > org.apache.geronimo.jetty6.deployment.JettyModuleBuilder$$FastClassByCGLIB$$1a00be84.invoke(<generated>) > > > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > > > at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke( > > FastMethodInvoker.java:38) > > > at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke ( > > GBeanOperation.java:124) > > > at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke( > > GBeanInstance.java:830) > > > at org.apache.geronimo.gbean.runtime.RawInvoker.invoke( > > RawInvoker.java:57) > > > at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke( > > RawOperationInvoker.java:35) > > > at > > org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept( > > ProxyMethodInterceptor.java:96) > > > at > > org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$5a46c1ef.addGBeans > > (<generated>) > > > at > > org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.addGBeans( > > SwitchingModuleBuilder.java:165) > > > at > > org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder$$FastClassByCGLIB$$d0c31844.invoke > > (<generated>) > > > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > > > at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke( > > FastMethodInvoker.java:38) > > > at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke( > > GBeanOperation.java:124) > > > at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke ( > > GBeanInstance.java:830) > > > at org.apache.geronimo.gbean.runtime.RawInvoker.invoke( > > RawInvoker.java:57) > > > at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke( > > RawOperationInvoker.java:35) > > > at > > org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept( > > ProxyMethodInterceptor.java:96) > > > at > > org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$5a46c1ef.addGBeans(<generated>) > > > > > at > > org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration( > > EARConfigBuilder.java:628) > > > at > > org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLIB$$38e56ec6.invoke(<generated>) > > > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > > > at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke( > > FastMethodInvoker.java:38) > > > at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke ( > > GBeanOperation.java:124) > > > at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke( > > GBeanInstance.java:830) > > > at org.apache.geronimo.gbean.runtime.RawInvoker.invoke( > > RawInvoker.java:57) > > > at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke( > > RawOperationInvoker.java:35) > > > at > > org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept( > > ProxyMethodInterceptor.java:96) > > > at > > org.apache.geronimo.deployment.ConfigurationBuilder$$EnhancerByCGLIB$$5b6c9ee2.buildConfiguration > > (<generated>) > > > at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java > > :304) > > > at org.apache.geronimo.deployment.Deployer.deploy (Deployer.java > > :126) > > > at > > org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invoke > > (<generated>) > > > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > > > at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke( > > FastMethodInvoker.java:38) > > > at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke( > > GBeanOperation.java:124) > > > at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke ( > > GBeanInstance.java:865) > > > at org.apache.geronimo.kernel.basic.BasicKernel.invoke( > > BasicKernel.java:239) > > > at org.apache.geronimo.kernel.KernelGBean.invoke( > > KernelGBean.java:342) > > > at > > org.apache.geronimo.kernel.KernelGBean$$FastClassByCGLIB$$1cccefc9.invoke(<generated>) > > > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > > > at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke( > > FastMethodInvoker.java:38) > > > at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke ( > > GBeanOperation.java:124) > > > at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke( > > GBeanInstance.java:865) > > > at org.apache.geronimo.kernel.basic.BasicKernel.invoke( > > BasicKernel.java:239) > > > at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke( > > MBeanGBeanBridge.java:168) > > > at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown > > Source) > > > at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke (Unknown > > Source) > > > at javax.management.remote.rmi.RMIConnectionImpl.doOperation(Unknown > > Source) > > > at javax.management.remote.rmi.RMIConnectionImpl.access$200(Unknown > > Source) > > > at > > javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(Unknown > > > Source) > > > at java.security.AccessController.doPrivileged(Native Method) > > > at > > javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation > > (Unknown > > > Source) > > > at javax.management.remote.rmi.RMIConnectionImpl.invoke(Unknown > > Source) > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown > > Source) > > > at java.lang.reflect.Method.invoke(Unknown Source) > > > at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source) > > > at sun.rmi.transport.Transport$1.run(Unknown Source) > > > at java.security.AccessController.doPrivileged(Native Method) > > > at sun.rmi.transport.Transport.serviceCall(Unknown Source) > > > at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown > > Source) > > > at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown > > Source) > > > at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source) > > > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown > > Source) > > > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown > > Source) > > > at java.lang.Thread.run (Unknown Source) > > > > > > > > > > > > Please help me with this error as i feel i'm really stuck at this > > point. > > > > > > Thanks and Regards, > > > Ramesh B. > > > > > > > > ------=_Part_20845_26129013.1192113694540 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi,<br>One of the probable reasons WSRP doesn&#39;t deploy on Geronimo perhaps is that the folder structure of Geronimo is vastly different than Tomcat.<br>When we build WSRP giving the base path of Tomcat, the WSRP expects the war to be deployed in &lt;Tomcat Base Path&gt;/webapps folder. <br>Where as in Geronimo the war gets deployed in <br>&lt;Geronimo base path&gt;/repository/org/apache/wsrp4j/wsrp4j-producer/0.5-snapshot/wsrp4j-producer-0.5-SNAPSHOT.war/<br>This folder contains the webapp etc.. folders. <br>Hence its not getting started i guess.<br>I&#39;ve no idea how i can accommodate this in my tomcat home. Any help will be appreciated.<br><br>Also I would like to know what is the latest stable release for WSRP4J.<br> <br>Regards,<br>Ramesh B.<br clear="all"><br>-- <br><a href="http://www.easy-share.tk">www.easy-share.tk</a> <br><br><div><span class="gmail_quote">On 9/14/07, <b class="gmail_sendername">B Ramesh</b> &lt;<a href="mailto:[email protected]">[email protected]</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Hi Elliot,<br>Thanks for the quick response.<br>I&#39;ve followed your advice and i&#39;ve deployed pluto 1.1.5-SNAPSHOT on Geronimo, and then tried deploying WSRP4J, this time i&#39;m getting a new error.<br><br>I&#39;m attaching the the error with this mail. <br>I&#39;m also attaching the geronimo-web.xml that i&#39;m written for deployment.<br>Please let me know if i&#39;m missing anything.<span class="q"><br><br>Thanks and Regards,<br>Ramesh B.<br><br><br></span><div><span class="e" id="q_11504425a13da2d5_2"> <div><span class="gmail_quote">On 9/13/07, <b class="gmail_sendername"> Elliot Metsger</b> &lt;<a href="mailto:[email protected]" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">[email protected]</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Hi Ramesh,<br><br>I&#39;ll try to take a look this weekend.&nbsp;&nbsp;The trunk of WSRP has been<br>undergoing some changes recently, but due to some trouble (i.e. students<br>banging on your portal has a tendency to expose bugs) at my real job I <br>won&#39;t have time to take a look at this until then.<br><br>Until then maybe the following will help... you have a couple of options:<br><br>1) This error looks like you don&#39;t have the Pluto jars in the incorrect <br>class loader (I don&#39;t know much about Geronimo so I can&#39;t help you<br>here).&nbsp;&nbsp;As you are aware the container and its dependencies need to be<br>in a classloader available to all webapps.<br><br>2) You can try a more stable version of WSRP4J from <br><a href="https://svn.apache.org/repos/asf/wsrp4j-0.4-SNAPSHOT-prepluto11/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">https://svn.apache.org/repos/asf/wsrp4j-0.4-SNAPSHOT-prepluto11/</a><br> <br>3) If you want to stay on the WSRP4J trunk you will need Pluto<br> 1.1.5-SNAPSHOT instead of Pluto 1.1.4 final.&nbsp;&nbsp;You can checkout the Pluto<br>1.1.x branch to install it.<br><br>I hope to get some good work done with WSRP4J this weekend, and if I<br>have time I&#39;ll install Geronimo and try to duplicate this behavior. <br><br>Hope this helps,<br>Elliot<br><br><br>B Ramesh wrote:<br>&gt; Hi,<br>&gt; I&#39;m new to WSRP and Geronimo.<br>&gt; I&#39;m trying to deploy WSRP on Geronimo.<br>&gt;<br>&gt; I&#39;m using Geronimo 2.0 for this, and checked out the latest code of WSRP. <br>&gt; Build it using maven. And then i&#39;ve tried to deploy wsrp4j-producer.war.<br>&gt; Also i&#39;ve already deployed pluto 1.1.4 onto geronimo. I&#39;ve also added the<br>&gt; pluto jars to common libs.<br>&gt; However it gives the following error on deploying WSRP... <br>&gt; -------------------------------------------<br>&gt;<br>&gt; 2:38:06,875 ERROR [Deployer] Deployment failed due to<br>&gt; java.lang.NoClassDefFoundError: org/apache/pluto/PortletContainerException<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.Class.getDeclaredMethods0(Native Method)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.Class.privateGetDeclaredMethods(Unknown Source)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.Class.getDeclaredMethods(Unknown Source)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.xbean.finder.ClassFinder .&lt;init&gt;(ClassFinder.java:162)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.createWebAppClassFinder(AbstractWebModuleBuilder.java:796)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.configureBasicWebModuleAttributes (AbstractWebModuleBuilder.java:813)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.jetty6.deployment.JettyModuleBuilder.addGBeans(JettyModuleBuilder.java:337)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.jetty6.deployment.JettyModuleBuilder$$FastClassByCGLIB$$1a00be84.invoke (&lt;generated&gt;)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke (GBeanOperation.java:124)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:830)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$5a46c1ef.addGBeans(&lt;generated&gt;)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.addGBeans(SwitchingModuleBuilder.java:165) <br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder$$FastClassByCGLIB$$d0c31844.invoke(&lt;generated&gt;)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke (GBeanInstance.java:830)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)<br> &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$5a46c1ef.addGBeans(&lt;generated&gt;) <br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:628)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLIB$$38e56ec6.invoke (&lt;generated&gt;)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke (GBeanOperation.java:124)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:830)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.deployment.ConfigurationBuilder$$EnhancerByCGLIB$$5b6c9ee2.buildConfiguration(&lt;generated&gt;)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:304)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.deployment.Deployer.deploy (Deployer.java:126)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invoke(&lt;generated&gt;)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke (GBeanInstance.java:865)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:342)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.kernel.KernelGBean$$FastClassByCGLIB$$1cccefc9.invoke (&lt;generated&gt;)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke (GBeanOperation.java:124)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:865)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:168)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown Source)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke (Unknown Source)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at javax.management.remote.rmi.RMIConnectionImpl.doOperation(Unknown Source)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at javax.management.remote.rmi.RMIConnectionImpl.access$200(Unknown Source)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run (Unknown<br>&gt; Source)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.security.AccessController.doPrivileged(Native Method)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(Unknown<br>&gt; Source)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at javax.management.remote.rmi.RMIConnectionImpl.invoke(Unknown Source)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) <br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.reflect.Method.invoke(Unknown Source)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source) <br> &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at sun.rmi.transport.Transport$1.run(Unknown Source)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.security.AccessController.doPrivileged(Native Method)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at sun.rmi.transport.Transport.serviceCall(Unknown Source)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run (Unknown Source)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.Thread.run (Unknown Source)<br>&gt;<br>&gt;<br>&gt;<br>&gt; Please help me with this error as i feel i&#39;m really stuck at this point.<br>&gt;<br>&gt; Thanks and Regards,<br>&gt; Ramesh B.<br>&gt;<br></blockquote></div><br> </span></div><br clear="all"></blockquote></div><br> ------=_Part_20845_26129013.1192113694540--
From [email protected] Tue May 02 05:55:53 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68022 invoked from network); 2 May 2006 05:55:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 May 2006 05:55:52 -0000 Received: (qmail 51874 invoked by uid 500); 2 May 2006 05:55:51 -0000 Delivered-To: [email protected] Received: (qmail 51842 invoked by uid 500); 2 May 2006 05:55:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET Dev" <[email protected]> List-Id: <log4net-dev.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 51823 invoked by uid 99); 2 May 2006 05:55:50 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 May 2006 22:55:50 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO smtp.brikken.no) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 May 2006 22:55:49 -0700 Received: from mailserver.vianett.no ([161.129.204.104]) by smtp.brikken.no (161.129.204.10460308/8.12.11) with ESMTP id k425tPPO013054 for <[email protected]>; Tue, 2 May 2006 07:55:26 +0200 Received: from [161.129.204.104] [161.129.204.104] by mailserver.vianett.no with ESMTP (SMTPD32-8.12) id A3ED16B10032; Tue, 02 May 2006 07:53:49 +0200 Message-ID: <[email protected]> Date: Tue, 02 May 2006 07:55:25 +0200 From: Morten Andersen <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20060308) MIME-Version: 1.0 To: Log4NET Dev <[email protected]> Subject: Re: Problem when using generic classes References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N My guess was that Class<SubClass, SubClass2> is the most common way to display a generic class. Anyway. The problem is not the [] instead of <>, but the Version, Culture, and PublicKeyToken. typeof(MyGenericClass<MyClass, TestClass>).ToString() result: TestApplication.MyGenericClass`2[TestApplication.MyClass,TestApplication.TestClass] - Morten Nicko Cadell wrote: > Morten, > > The LogManager.GetLogger(Type) method uses the Type.FullName property to > get a string that represents the type name. > In your case the output is correct. > > TestApplication.MyGenericClass`1[[TestApplication.MyClass, > TestApplication, Version=161.129.204.104, Culture=neutral, PublicKeyToken=null]] > From [email protected] Tue May 02 11:40:20 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51741 invoked from network); 2 May 2006 11:40:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 May 2006 11:40:15 -0000 Received: (qmail 44159 invoked by uid 500); 2 May 2006 11:40:12 -0000 Delivered-To: [email protected] Received: (qmail 44131 invoked by uid 500); 2 May 2006 11:40:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET Dev" <[email protected]> List-Id: <log4net-dev.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 44115 invoked by uid 99); 2 May 2006 11:40:11 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 May 2006 04:40:11 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO hermes.neoworks.co.uk) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 May 2006 04:40:10 -0700 Received: from kronos.neoworks.co.uk (kronos.neoworks.co.uk [161.129.204.104]) by hermes.neoworks.co.uk (8.13.1/8.13.1) with ESMTP id k42BNxn4014787 for <[email protected]>; Tue, 2 May 2006 12:23:59 +0100 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Subject: RE: Problem when using generic classes Date: Tue, 2 May 2006 12:39:45 +0100 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Problem when using generic classes Thread-Index: AcZtrRZbQbFAmmz8QmqM4SbV+YSz0gALS0Hw From: "Nicko Cadell" <[email protected]> To: "Log4NET Dev" <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Morton, It does look like the ToString() method of Type is defined as returning the generic parameter types without assembly qualifiers so that would probably do what you need. i.e. you can do: log4net.LogManager.GetLogger(typeof(MyGenericClass<T,K>).ToString()); As this gives a logger name of: TestApplication.MyGenericClass`2[TestApplication.TClass,TestApplication. KClass] This does open up a wider question. Because log4net loggers are held in a hierarchy based on the dots in the name, is it right to consider the logger named "TestApplication.MyGenericClass`2[TestApplication.TClass,TestApplication " a child of the logger named "TestApplication.MyGenericClass`2[TestApplication"? How would you enable logging for this type? <logger name=3D"TestApplication.MyGenericClass"> <level value=3D"debug" /> </logger> No, this won't work as there isn't a logger with this name. <logger name=3D"TestApplication.MyGenericClass`2[TestApplication"> <level value=3D"debug" /> </logger> This will work for all MyGenericClass<T,K> where T is either a root level class called TestApplication or T is in the TestApplication global namespace. The only way to fully qualify the logger is to use the full type name: <logger name=3D"TestApplication.MyGenericClass`2[TestApplication.TClass,TestAppli= c ation.KClass]"> <level value=3D"debug" /> </logger> I think it would be better if the generic class itself appeared as a logger in the hierarchy, i.e. you could do something like: <logger name=3D"TestApplication.MyGenericClass`2"> <level value=3D"debug" /> </logger> To enable logging for MyGenericClass<T,K> regardless of the 2 generic type parameters. To do this we would need a dot after the "TestApplication.MyGenericClass`2". i.e.: TestApplication.MyGenericClass`2.[TestApplication.TClass,TestApplication .KClass] Obviously none of the builtin methods are going to produce this output for us. Cheers, Nicko > -----Original Message----- > From: Morten Andersen [mailto:[email protected]]=20 > Sent: 02 May 2006 06:55 > To: Log4NET Dev > Subject: Re: Problem when using generic classes >=20 > My guess was that Class<SubClass, SubClass2> is the most=20 > common way to display a generic class. Anyway. The problem is=20 > not the [] instead of <>, but the Version, Culture, and=20 > PublicKeyToken. >=20 > typeof(MyGenericClass<MyClass, TestClass>).ToString() >=20 > result: >=20 > TestApplication.MyGenericClass`2[TestApplication.MyClass,TestA > pplication.TestClass] >=20 >=20 > - Morten >=20 > Nicko Cadell wrote: > > Morten, > > > > The LogManager.GetLogger(Type) method uses the=20 > Type.FullName property=20 > > to get a string that represents the type name. > > In your case the output is correct.=20 > > > > TestApplication.MyGenericClass`1[[TestApplication.MyClass, > > TestApplication, Version=3D161.129.204.104, Culture=3Dneutral,=20 > > PublicKeyToken=3Dnull]] > > =20 >=20 >=20 From [email protected] Tue May 02 13:50:28 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15355 invoked from network); 2 May 2006 13:49:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 May 2006 13:49:48 -0000 Received: (qmail 85605 invoked by uid 500); 2 May 2006 13:22:48 -0000 Delivered-To: [email protected] Received: (qmail 85534 invoked by uid 500); 2 May 2006 13:22:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET Dev" <[email protected]> List-Id: <log4net-dev.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 85523 invoked by uid 99); 2 May 2006 13:22:47 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 May 2006 06:22:47 -0700 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=DNS_FROM_RFC_DSN X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO mail71.messagelabs.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 02 May 2006 06:22:46 -0700 X-VirusChecked: Checked X-Env-Sender: [email protected] X-Msg-Ref: server-7.tower-71.messagelabs.com!1146575957!29754337!1 X-StarScan-Version: 161.129.204.104; banners=systemsunion.com,-,- X-Originating-IP: [161.129.204.104] Received: (qmail 31236 invoked from network); 2 May 2006 13:19:17 -0000 Received: from unknown (HELO su-owa-uk-01.eu.su.com) (161.129.204.104) by server-7.tower-71.messagelabs.com with SMTP; 2 May 2006 13:19:17 -0000 Content-class: urn:content-classes:message Subject: Asserting permissions in log4net. Date: Tue, 2 May 2006 14:15:33 +0100 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Asserting permissions in log4net. X-MimeOLE: Produced By Microsoft Exchange V6.5 Thread-Index: AcZt6wKK8tTwIDvYQLG+lB5/Ny7CHw== From: "Mark Douglas" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I=20am=20currently=20using=20log4net=20in=20an=20application=20that=20is=20= run=20from=20MSRS (Microsoft=20Reporting=20Services). MSRS=20does=20not=20grant=20my=20application=20FullTrust,=20and=20I=20am=20= running=20as partially=20trusted.=20=20This=20is=20fine=20as=20I=20can=20Assert=20the=20= permissions required=20for=20my=20application=20to=20function=20correctly,=20but=20log= 4net=20does=20not appear=20to=20Assert=20*ANY*=20permissions=20at=20all.=20=20This=20results= =20in=20many SecurityExceptions=20being=20thrown=20when=20attempting=20to=20log. The=20log4net=20assembly=20is=20marked=20wit=20the=20AllowPartiallyTrusted= Callers attribute,=20and=20is=20strong=20named.=20=20In=20this=20case,=20it=20can=20= be=20used=20by partially=20trusted=20application=20(mine=20for=20example).=20=20However,=20= instead=20of log4net=20asserting=20the=20required=20permissions,=20it=20seems=20to=20gr= acefully handle=20the=20SecurityExceptions.=20=20This=20results=20in=20no=20logging= =20statements being=20generated. For=20example,=20my=20application=20does=20not=20have=20sufficient=20permi= ssions=20to write=20to=20the=20local=20disc.=20=20This=20results=20in=20the=20FileAppe= nder(s)=20failing. Shouldn't=20log4net=20Assert=20it's=20required=20permissions?=20=20If=20no= t,=20won't=20it only=20work=20where=20the=20calling=20application=20has=20the=20required=20= permissions? Regards, Mark This=20e-mail=20and=20any=20files=20transmitted=20with=20it=20are=20confid= ential=20and=20intended=20solely=20for=20the=20use=20of=20the=20individual= =20or=20entity=20to=20whom=20it=20is=20addressed.=20If=20you=20have=20rece= ived=20this=20e-mail=20in=20error=20you=20must=20not=20copy,=20distribute=20= or=20take=20any=20action=20in=20reliance=20on=20it.=20Please=20notify=20th= e=20sender=20by=20e-mail=20or=20telephone. We=20utilise=20an=20anti-virus=20system=20and=20therefore=20any=20files=20= sent=20via=20e-mail=20will=20have=20been=20checked=20for=20known=20viruses= .=20You=20are=20however=20advised=20to=20run=20your=20own=20virus=20check=20= before=20opening=20any=20attachments=20received=20as=20we=20will=20not=20i= n=20any=20event=20accept=20any=20liability=20whatsoever=20once=20an=20e-ma= il=20and/or=20any=20attachment=20is=20received.=20Any=20views=20expressed=20= by=20an=20individual=20within=20this=20e-mail=20do=20not=20necessarily=20r= eflect=20the=20views=20of=20Systems=20Union=20Group=20plc=20or=20any=20of=20= its=20subsidiary=20companies. From [email protected] Tue May 02 20:37:18 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 96753 invoked from network); 2 May 2006 20:37:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 May 2006 20:37:18 -0000 Received: (qmail 12460 invoked by uid 500); 2 May 2006 20:37:18 -0000 Delivered-To: [email protected] Received: (qmail 12316 invoked by uid 500); 2 May 2006 20:37:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET Dev" <[email protected]> List-Id: <log4net-dev.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 12305 invoked by uid 99); 2 May 2006 20:37:16 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 May 2006 13:37:16 -0700 X-ASF-Spam-Status: No, hits=2.3 required=10.0 tests=HTML_10_20,HTML_MESSAGE,RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nf-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 May 2006 13:37:15 -0700 Received: by nf-out-0910.google.com with SMTP id x4so2515nfb for <[email protected]>; Tue, 02 May 2006 13:36:54 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=A3ItgFTs+FgPN9FsNvaA7qd6WrasXsgFbKZelImULxw163tOEvr/D+N2uqLb9vu34twsGcM4REbMd3Vo/Cc36+VfIzzdc76WCeqive6e1hbIYEk+XreBnfQsJ76ViijspLGdTPHSn/hucBmwxnhewugyLqRkuU2La5t9/1r84Xw= Received: by 161.129.204.104 with SMTP id m19mr856120nfh; Tue, 02 May 2006 13:36:54 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 2 May 2006 13:36:54 -0700 (PDT) Message-ID: <[email protected]> Date: Tue, 2 May 2006 13:36:54 -0700 From: "Cliff Burger" <[email protected]> To: "Log4NET Dev" <[email protected]> Subject: Re: Asserting permissions in log4net. In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_32589_10586104.1146602214740" References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_32589_10586104.1146602214740 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I've had similar problems - using log4net from web depoyed ("no-touch") applications. I agree that it'd be nice to have library (and specific appenders) documented/ asserted with the permissions required. As .NET security stuff is one topic I haven't studied adequately, I gave up quickly and deployed with full-trust. I'll second that this would be a useful correction, and probably low risk ( E.g. you aren't going to break much by asserting permissions). I suspect that it would be a lot of work - and wouldn't be very useful unless it were very thorough. 2006/5/2, Mark Douglas <[email protected]>: > > Hi, > > I am currently using log4net in an application that is run from MSRS > (Microsoft Reporting Services). > > MSRS does not grant my application FullTrust, and I am running as > partially trusted. This is fine as I can Assert the permissions > required for my application to function correctly, but log4net does not > appear to Assert *ANY* [email protected]. This results in many > SecurityExceptions being thrown when attempting to log. > > The log4net assembly is marked wit the AllowPartiallyTrustedCallers > attribute, and is strong named. In this case, it can be used by > partially trusted application (mine for example). However, instead of > log4net asserting the required permissions, it seems to gracefully > handle the SecurityExceptions. This results in no logging statements > being generated. > > For example, my application does not have sufficient permissions to > write to the local disc. This results in the FileAppender(s) failing. > > Shouldn't log4net Assert it's required permissions? If not, won't it > only work where the calling application has the required permissions? > > Regards, > Mark > > This e-mail and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom it is > addressed. If you have received this e-mail in error you must not copy, > distribute or take any action in reliance on it. Please notify the sender= by > e-mail or telephone. > We utilise an anti-virus system and therefore any files sent via e-mail > will have been checked for known viruses. You are however advised to run > your own virus check before opening any attachments received as we will n= ot > in any event accept any liability whatsoever once an e-mail and/or any > attachment is received. Any views expressed by an individual within this > e-mail do not necessarily reflect the views of Systems Union Group plc or > any of its subsidiary companies. > ------=_Part_32589_10586104.1146602214740 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I've had similar problems - using log4net from web depoyed (&quot;no-touch&= quot;) applications. I agree that it'd be nice to have library (and specifi= c appenders) documented/ asserted with the permissions required. As .NET se= curity stuff is one topic I haven't studied adequately, I gave up quickly a= nd deployed with full-trust.=20 <br><br>I'll second that this would be a useful correction, and probably lo= w risk (E.g. you aren't going to break much by asserting permissions). I su= spect that it would be a lot of work - and wouldn't be very useful unless i= t were very thorough.=20 <br><br><div><span class=3D"gmail_quote">2006/5/2, Mark Douglas &lt;<a href= =3D"mailto:[email protected]">[email protected]</a>= &gt;:</span><blockquote class=3D"gmail_quote" style=3D"border-left: 1px sol= id rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Hi,<br><br>I am currently using log4net in an application that is run from = MSRS<br>(Microsoft Reporting Services).<br><br>MSRS does not grant my appli= cation FullTrust, and I am running as<br>partially trusted.&nbsp;&nbsp;This= is fine as I can Assert the permissions <br>required for my application to function correctly, but log4net does not= <br>appear to Assert *ANY* [email protected].&nbsp;&nbsp;This results in m= any<br>SecurityExceptions being thrown when attempting to log.<br><br>The l= og4net assembly is marked wit the AllowPartiallyTrustedCallers <br>attribute, and is strong named.&nbsp;&nbsp;In this case, it can be used= by<br>partially trusted application (mine for example).&nbsp;&nbsp;However= , instead of<br>log4net asserting the required permissions, it seems to gra= cefully<br>handle the SecurityExceptions.&nbsp;&nbsp;This results in no log= ging statements <br>being generated.<br><br>For example, my application does not have suffi= cient permissions to<br>write to the local disc.&nbsp;&nbsp;This results in= the FileAppender(s) failing.<br><br>Shouldn't log4net Assert it's required= permissions?&nbsp;&nbsp;If not, won't it <br>only work where the calling application has the required permissions?<b= r><br>Regards,<br>Mark<br><br>This e-mail and any files transmitted with it= are confidential and intended solely for the use of the individual or enti= ty to whom it is addressed. If you have received this e-mail in error you m= ust not copy, distribute or take any action in reliance on it. Please notif= y the sender by e-mail or telephone. <br>We utilise an anti-virus system and therefore any files sent via e-mail= will have been checked for known viruses. You are however advised to run y= our own virus check before opening any attachments received as we will not = in any event accept any liability whatsoever once an e-mail and/or any atta= chment is received. Any views expressed by an individual within this e-mail= do not necessarily reflect the views of Systems Union Group plc or any of = its subsidiary companies. <br></blockquote></div><br> ------=_Part_32589_10586104.1146602214740-- From [email protected] Wed May 03 05:37:51 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 714 invoked from network); 3 May 2006 05:37:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 May 2006 05:37:51 -0000 Received: (qmail 72523 invoked by uid 500); 3 May 2006 05:37:50 -0000 Delivered-To: [email protected] Received: (qmail 72495 invoked by uid 500); 3 May 2006 05:37:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET Dev" <[email protected]> List-Id: <log4net-dev.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 72484 invoked by uid 99); 3 May 2006 05:37:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 May 2006 22:37:49 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO sav.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 May 2006 22:37:48 -0700 Received: from jaak.homedns.org (chello084010088174.chello.pl [161.129.204.104]) by sav.net (8.13.4/8.13.4) with ESMTP id k435bQYZ007170 for <[email protected]>; Wed, 3 May 2006 07:37:26 +0200 Received: from jaakntb ([161.129.204.104]) by jaak.homedns.org (8.13.4/8.13.4) with SMTP id k435bN5N029550 for <[email protected]>; Wed, 3 May 2006 07:37:25 +0200 Message-ID: <003d01c66e73$a98f8f10$2200a8c0@jaakntb> From: "Jaroslaw Kowalski" <[email protected]> To: <[email protected]> References: <[email protected]> Subject: Re: RoutingTableRepository Date: Wed, 3 May 2006 07:37:22 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="ISO-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > A very oversimplified explaination of what's going on is that log4net > must look through the hierarchy to determine how to process the message > while NLog does a string comparison on the logger name to see if it > matches the current rule. The routing table approach would process > logger nodes one at a time by starting with the first one and working > its way down (similiar to how filters work). I would imagine most of > NLog's speed improvements (I believe Jaros&#322;aw tests have shown > that NLog is in the neighborhood of at least 3x faster against each > system's null appender/target) over log4net are a result of this > simplified comparison. It's not exactly like that. The routing table processing happens only at configuration time, [email protected]. NLog uses a routing table in the config file, but it precalculates the chain of targets(appenders) and filters that should be walked for each (logger,level) combination and stores the chain in the logger itself. This way checking whether logging will be effective is very cheap (check the length of the chain). NLog makes it even faster by precalculating the flags for all supported levels (there's a fixed number of them in NLog). This way logging statement elimination is effectively a single boolean comparison which occurs in a non-virtual function. I don't think you can do it any faster. I believe that something similar can be done with log4net, if you choose to do so. There are issues, which should be considered: * every change to the configuration at runtime requires all the Loggers to be reconfigured (by notifying them that that configuration has changed). NLog's LogManager keeps a list of all constructed loggers, so that they can be notified when the configuration changes. Fortunately NLog's configuration mechanism is atomic, so this isn't an issue with programmatic configuration. * keeping a pre-constructed chain of targets costs memory. If you have large number of loggers, you may (seemingly) leak memory, because all logger references are kept in a hashtable. This will be addressed in post-1.0 releases by merging(interning) the chains that are effectively the same thing or even converting them into weakrefs. -- Jarek http://www.nlog-project.org/ From [email protected] Wed May 10 08:13:08 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 39149 invoked from network); 10 May 2006 08:13:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 May 2006 08:13:07 -0000 Received: (qmail 94165 invoked by uid 500); 10 May 2006 08:13:06 -0000 Delivered-To: [email protected] Received: (qmail 94019 invoked by uid 500); 10 May 2006 08:13:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET Dev" <[email protected]> List-Id: <log4net-dev.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 94008 invoked by uid 99); 10 May 2006 08:13:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 May 2006 01:13:05 -0700 X-ASF-Spam-Status: No, hits=2.1 required=10.0 tests=DATE_IN_PAST_96_XX,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO adrastea.softip.sk) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 May 2006 01:13:03 -0700 Subject: INF: XmlLayoutBase descendant and forced write individual elements on new lines To: [email protected] X-Mailer: Lotus Notes Release 5.0.5 September 22, 2000 Message-ID: <[email protected]> From: [email protected] Date: Wed, 29 Dec 2004 06:46:17 +0100 X-MIMETrack: Serialize by Router on BYS8/SRV/SOFTIP(Release 5.0.12 |February 13, 2003) at 10.05.2006 10:16:48 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi all, I tried to find some way how to use XmlLayout or XmlLayoutSchemaLog4j layout and write individual elements on new lines, but I failed. In souce codes of log4net project i found: XmlLayout or XmlLayoutSchemaLog4j class are descendant of abstract XmlLayoutBase class and both overrides the base class FormatXml method to write the LoggingEvent to the XmlWriter. FormatXml method use parametrically given xmlWriter created in the Format method of abstract XmlLayoutBase class with 'xmlWriter.Formatting = Formatting.None;' preset : <hr> XmlTextWriter xmlWriter = new XmlTextWriter (m_protectCloseTextWriter); xmlWriter.Formatting = Formatting.None; xmlWriter.Namespaces = false; // Write the event to the writer FormatXml(xmlWriter, loggingEvent); <hr> I don't want to override this method in new subclass, because existing descendants (XmlLayout or XmlLayoutSchemaLog4j class) are acceptable for me if I can posibility to change xmlWriter.Formatting. Please, is there any other way which I missed ? Thanks for your interest:) With regards Imrich. Regards, Ps. Sorry my bad english. :( Pss. One of the possibilities how to solve this problem is create new property (in XmlLayoutBase) similar to: /// <summary> /// Formatting option for XmlTextWriter used in the Format method /// </summary> private Formatting m_FormattingXmlOutput = Formatting.None; /// <summary> /// Gets/Sets XmlTextWriter Formatting property value when calls Format method /// </summary> public bool FormattingXmlOutput { get { return (m_FormattingXmlOutput == Formatting.Indented); } set { m_FormattingXmlOutput = Formatting.None; if (value) m_FormattingXmlOutput = Formatting.Indented; } } and small change in XmlLayoutBase.Format method: ......... XmlTextWriter xmlWriter = new XmlTextWriter (m_protectCloseTextWriter); xmlWriter.Formatting = m_FormattingXmlOutput; // Formatting.None; xmlWriter.Namespaces = false; // Write the event to the writer FormatXml(xmlWriter, loggingEvent); ......... From [email protected] Fri May 12 18:01:38 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30983 invoked from network); 12 May 2006 18:01:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 May 2006 18:01:35 -0000 Received: (qmail 57073 invoked by uid 500); 12 May 2006 18:01:31 -0000 Delivered-To: [email protected] Received: (qmail 57034 invoked by uid 500); 12 May 2006 18:01:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET Dev" <[email protected]> List-Id: <log4net-dev.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 57022 invoked by uid 99); 12 May 2006 18:01:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 May 2006 11:01:30 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 May 2006 11:01:29 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 5CE98714291 for <[email protected]>; Fri, 12 May 2006 18:01:08 +0000 (GMT) Message-ID: <30749459.1147456868329.JavaMail.root@brutus> Date: Fri, 12 May 2006 18:01:08 +0000 (GMT+00:00) From: "Bob Peterson (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (LOG4NET-76) TextWriterAdapter is not thread safe MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N TextWriterAdapter is not thread safe ------------------------------------ Key: LOG4NET-76 URL: http://issues.apache.org/jira/browse/LOG4NET-76 Project: Log4net Type: Bug Components: Core Versions: 1.2.10 Environment: Windows XP Pro sp2 with .Net 2 Reporter: Bob Peterson Priority: Minor When logging using the XmlAppender, our company application can generate overlapping appender calls. TextWriterAppender is not thread safe. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Fri May 12 18:03:42 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31962 invoked from network); 12 May 2006 18:03:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 May 2006 18:03:34 -0000 Received: (qmail 61768 invoked by uid 500); 12 May 2006 18:03:31 -0000 Delivered-To: [email protected] Received: (qmail 61743 invoked by uid 500); 12 May 2006 18:03:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET Dev" <[email protected]> List-Id: <log4net-dev.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 61732 invoked by uid 99); 12 May 2006 18:03:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 May 2006 11:03:31 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 May 2006 11:03:30 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id A8B1B714291 for <[email protected]>; Fri, 12 May 2006 18:03:08 +0000 (GMT) Message-ID: <6150344.1147456988672.JavaMail.root@brutus> Date: Fri, 12 May 2006 18:03:08 +0000 (GMT+00:00) From: "Bob Peterson (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (LOG4NET-76) TextWriterAdapter is not thread safe In-Reply-To: <30749459.1147456868329.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/LOG4NET-76?page=all ] Bob Peterson updated LOG4NET-76: -------------------------------- Attachment: TextWriterAdapter.cs This is a possible fix for the problem, at least for the use case of the Xml formatter. A stack is introduced to cope with the implicit push and pop of writers. > TextWriterAdapter is not thread safe > ------------------------------------ > > Key: LOG4NET-76 > URL: http://issues.apache.org/jira/browse/LOG4NET-76 > Project: Log4net > Type: Bug > Components: Core > Versions: 1.2.10 > Environment: Windows XP Pro sp2 with .Net 2 > Reporter: Bob Peterson > Priority: Minor > Attachments: TextWriterAdapter.cs > > When logging using the XmlAppender, our company application can generate overlapping appender calls. TextWriterAppender is not thread safe. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Fri May 12 18:05:32 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33811 invoked from network); 12 May 2006 18:05:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 May 2006 18:05:31 -0000 Received: (qmail 64827 invoked by uid 500); 12 May 2006 18:05:31 -0000 Delivered-To: [email protected] Received: (qmail 64798 invoked by uid 500); 12 May 2006 18:05:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET Dev" <[email protected]> List-Id: <log4net-dev.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 64787 invoked by uid 99); 12 May 2006 18:05:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 May 2006 11:05:30 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 May 2006 11:05:30 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id ACA24714291 for <[email protected]>; Fri, 12 May 2006 18:05:08 +0000 (GMT) Message-ID: <12427172.1147457108688.JavaMail.root@brutus> Date: Fri, 12 May 2006 18:05:08 +0000 (GMT+00:00) From: "Bob Peterson (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (LOG4NET-76) TextWriterAdapter is not thread safe In-Reply-To: <30749459.1147456868329.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/LOG4NET-76?page=comments#action_12383232 ] Bob Peterson commented on LOG4NET-76: ------------------------------------- Sorry, I meant this bug is triggered through out use of XmlLayout, not some fictional "Xml appender." > TextWriterAdapter is not thread safe > ------------------------------------ > > Key: LOG4NET-76 > URL: http://issues.apache.org/jira/browse/LOG4NET-76 > Project: Log4net > Type: Bug > Components: Core > Versions: 1.2.10 > Environment: Windows XP Pro sp2 with .Net 2 > Reporter: Bob Peterson > Priority: Minor > Attachments: TextWriterAdapter.cs > > When logging using the XmlAppender, our company application can generate overlapping appender calls. TextWriterAppender is not thread safe. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Sat May 13 00:25:33 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59511 invoked from network); 13 May 2006 00:25:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 May 2006 00:25:33 -0000 Received: (qmail 70807 invoked by uid 500); 13 May 2006 00:25:32 -0000 Delivered-To: [email protected] Received: (qmail 70761 invoked by uid 500); 13 May 2006 00:25:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET Dev" <[email protected]> List-Id: <log4net-dev.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 70748 invoked by uid 99); 13 May 2006 00:25:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 May 2006 17:25:31 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 May 2006 17:25:30 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id B22AD714291 for <[email protected]>; Sat, 13 May 2006 00:25:08 +0000 (GMT) Message-ID: <15100842.1147479908699.JavaMail.root@brutus> Date: Sat, 13 May 2006 00:25:08 +0000 (GMT+00:00) From: "Ron Grabowski (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (LOG4NET-76) TextWriterAdapter is not thread safe In-Reply-To: <30749459.1147456868329.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/LOG4NET-76?page=comments#action_12383332 ] Ron Grabowski commented on LOG4NET-76: -------------------------------------- Can you provide an NUnit test case to confirm this? > TextWriterAdapter is not thread safe > ------------------------------------ > > Key: LOG4NET-76 > URL: http://issues.apache.org/jira/browse/LOG4NET-76 > Project: Log4net > Type: Bug > Components: Core > Versions: 1.2.10 > Environment: Windows XP Pro sp2 with .Net 2 > Reporter: Bob Peterson > Priority: Minor > Attachments: TextWriterAdapter.cs > > When logging using the XmlAppender, our company application can generate overlapping appender calls. TextWriterAppender is not thread safe. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Mon May 15 16:57:57 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84937 invoked from network); 15 May 2006 16:57:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 May 2006 16:57:45 -0000 Received: (qmail 21882 invoked by uid 500); 15 May 2006 16:57:38 -0000 Delivered-To: [email protected] Received: (qmail 21770 invoked by uid 500); 15 May 2006 16:57:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET Dev" <[email protected]> List-Id: <log4net-dev.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 21529 invoked by uid 99); 15 May 2006 16:57:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 May 2006 09:57:34 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 May 2006 09:57:33 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 3A0B871423B for <[email protected]>; Mon, 15 May 2006 16:57:07 +0000 (GMT) Message-ID: <29416887.1147712227231.JavaMail.jira@brutus> Date: Mon, 15 May 2006 16:57:07 +0000 (GMT+00:00) From: "Imrich Olha (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (LOG4NET-77) A small imrovement of log4net.Layout.Pattern - added 'Option' propery support MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N A small imrovement of log4net.Layout.Pattern - added 'Option' propery support ------------------------------------------------------------------------------ Key: LOG4NET-77 URL: http://issues.apache.org/jira/browse/LOG4NET-77 Project: Log4net Type: Improvement Components: Other Versions: 1.2.10 Reporter: Imrich Olha Priority: Minor A small imrovement of log4net.Layout.Pattern - added 'Option' propery support Example of usage: <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender" > <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%exception{TargetSite} - %exception{Message}%newline" /> </layout> </appender> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Mon May 15 16:59:44 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87108 invoked from network); 15 May 2006 16:59:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 May 2006 16:59:43 -0000 Received: (qmail 23626 invoked by uid 500); 15 May 2006 16:59:40 -0000 Delivered-To: [email protected] Received: (qmail 23510 invoked by uid 500); 15 May 2006 16:59:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET Dev" <[email protected]> List-Id: <log4net-dev.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 23406 invoked by uid 99); 15 May 2006 16:59:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 May 2006 09:59:35 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 May 2006 09:59:34 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 78185410007 for <[email protected]>; Mon, 15 May 2006 16:59:08 +0000 (GMT) Message-ID: <6212878.1147712348489.JavaMail.jira@brutus> Date: Mon, 15 May 2006 16:59:08 +0000 (GMT+00:00) From: "Imrich Olha (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (LOG4NET-77) A small imrovement of log4net.Layout.Pattern - added 'Option' propery support In-Reply-To: <29416887.1147712227231.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/LOG4NET-77?page=all ] Imrich Olha updated LOG4NET-77: ------------------------------- Attachment: ExceptionPatternConverter.cs > A small imrovement of log4net.Layout.Pattern - added 'Option' propery support > ------------------------------------------------------------------------------ > > Key: LOG4NET-77 > URL: http://issues.apache.org/jira/browse/LOG4NET-77 > Project: Log4net > Type: Improvement > Components: Other > Versions: 1.2.10 > Reporter: Imrich Olha > Priority: Minor > Attachments: ExceptionPatternConverter.cs > > A small imrovement of log4net.Layout.Pattern - added 'Option' propery support > Example of usage: > <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender" > > <layout type="log4net.Layout.PatternLayout"> > <conversionPattern value="%exception{TargetSite} - %exception{Message}%newline" /> > </layout> > </appender> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Tue May 16 07:49:37 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60305 invoked from network); 16 May 2006 07:49:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 May 2006 07:49:36 -0000 Received: (qmail 67786 invoked by uid 500); 16 May 2006 07:49:35 -0000 Delivered-To: [email protected] Received: (qmail 67679 invoked by uid 500); 16 May 2006 07:49:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET Dev" <[email protected]> List-Id: <log4net-dev.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 67532 invoked by uid 99); 16 May 2006 07:49:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 May 2006 00:49:34 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 May 2006 00:49:33 -0700 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 45655714293 for <[email protected]>; Tue, 16 May 2006 07:49:06 +0000 (GMT) Message-ID: <28152035.1147765746266.JavaMail.jira@brutus> Date: Tue, 16 May 2006 07:49:06 +0000 (GMT+00:00) From: "Imrich Olha (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (LOG4NET-77) A small improvement of log4net.Layout.Pattern.ExceptionPatternConverter - added 'Option' propery support In-Reply-To: <29416887.1147712227231.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/LOG4NET-77?page=all ] Imrich Olha updated LOG4NET-77: ------------------------------- Component: (was: Other) Summary: A small improvement of log4net.Layout.Pattern.ExceptionPatternConverter - added 'Option' propery support (was: A small imrovement of log4net.Layout.Pattern - added 'Option' propery support) Description: A small improvement of log4net.Layout.Pattern.ExceptionPatternConverter - added 'Option' propery support Example of usage: <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender" > <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%exception{TargetSite} - %exception{Message}%newline" /> </layout> </appender> was: A small imrovement of log4net.Layout.Pattern - added 'Option' propery support Example of usage: <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender" > <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%exception{TargetSite} - %exception{Message}%newline" /> </layout> </appender> > A small improvement of log4net.Layout.Pattern.ExceptionPatternConverter - added 'Option' propery support > --------------------------------------------------------------------------------------------------------- > > Key: LOG4NET-77 > URL: http://issues.apache.org/jira/browse/LOG4NET-77 > Project: Log4net > Type: Improvement > Versions: 1.2.10 > Reporter: Imrich Olha > Priority: Minor > Attachments: ExceptionPatternConverter.cs > > A small improvement of log4net.Layout.Pattern.ExceptionPatternConverter - added 'Option' propery support > Example of usage: > <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender" > > <layout type="log4net.Layout.PatternLayout"> > <conversionPattern value="%exception{TargetSite} - %exception{Message}%newline" /> > </layout> > </appender> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
From [email protected] Thu Jul 02 01:25:21 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64422 invoked from network); 2 Jul 2009 01:25:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Jul 2009 01:25:21 -0000 Received: (qmail 17305 invoked by uid 500); 2 Jul 2009 01:25:31 -0000 Delivered-To: [email protected] Received: (qmail 17273 invoked by uid 500); 2 Jul 2009 01:25:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 17263 invoked by uid 99); 2 Jul 2009 01:25:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2009 01:25:31 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-pz0-f177.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2009 01:25:20 +0000 Received: by pzk7 with SMTP id 7so883002pzk.32 for <[email protected]>; Wed, 01 Jul 2009 18:24:58 -0700 (PDT) MIME-Version: 1.0 Sender: [email protected] Received: by 161.129.204.104 with SMTP id n16mr1451459wfb.327.1246497898805; Wed, 01 Jul 2009 18:24:58 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Thu, 2 Jul 2009 10:24:58 +0900 X-Google-Sender-Auth: 14559e6724db1604 Message-ID: <[email protected]> Subject: Re: FYI, Large-scale graph [email protected]. From: "Edward J. Yoon" <[email protected]> To: [email protected] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org See : http://wiki.apache.org/hama/Hamburg On Mon, Jun 22, 2009 at 3:28 PM, Edward J. Yoon<[email protected]> wrote: > Hmm, It sounds like Pregel seems a computing framework for the graph > using dynamic programming. And, > > "In Pregel, programs are expressed as a sequence of iterations. In > each iteration, a vertex can, independently of other vertices, receive > messages sent to it in the previous iteration, send messages to other > vertices, modify its own and its outgoing edges' states, and mutate > the graph's topology" > > They seems use the network communication instead of map/red > 'intermediate file'. Check this out -- Bulk Synchronous Parallel Model > (http://en.wikipedia.org/wiki/Bulk_Synchronous_Parallel) > > On Mon, Jun 22, 2009 at 11:59 AM, Edward J. Yoon<[email protected]> wrote: >> http://googleresearch.blogspot.com/2009/06/large-scale-graph-computing-at-google.html >> >> -- >> Best Regards, Edward J. Yoon @ NHN, corp. >> [email protected] >> http://blog.udanax.org >> > > > > -- > Best Regards, Edward J. Yoon @ NHN, corp. > [email protected] > http://blog.udanax.org > -- Best Regards, Edward J. Yoon @ NHN, corp. [email protected] http://blog.udanax.org From [email protected] Thu Jul 02 02:11:03 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3438 invoked from network); 2 Jul 2009 02:11:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Jul 2009 02:11:03 -0000 Received: (qmail 51600 invoked by uid 500); 2 Jul 2009 02:11:14 -0000 Delivered-To: [email protected] Received: (qmail 51547 invoked by uid 500); 2 Jul 2009 02:11:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 51537 invoked by uid 99); 2 Jul 2009 02:11:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2009 02:11:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2009 02:11:10 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 3C6A1234C4BA for <[email protected]>; Wed, 1 Jul 2009 19:10:48 -0700 (PDT) Message-ID: <1551763023.1246500648246.JavaMail.jira@brutus> Date: Wed, 1 Jul 2009 19:10:48 -0700 (PDT) From: "Samuel Guo (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (HAMA-185) Finds the eigenvalues and eigenvectors associated with the symmetric matrix A In-Reply-To: <1614041598.1243924687417.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HAMA-185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Samuel Guo updated HAMA-185: ---------------------------- Attachment: HAMA-185.patch Attach my patch to finds the eigenvalues and the eigenvectors In this patch, I did not expose the access interfaces of the eigenvalues and the eigenvectors. I just collect all the eigenvalue and the eigenvectors in the hbase table of the original matrix, named as "eival:value" and "eicol:". > Finds the eigenvalues and eigenvectors associated with the symmetric matrix A > ----------------------------------------------------------------------------- > > Key: HAMA-185 > URL: https://issues.apache.org/jira/browse/HAMA-185 > Project: Hama > Issue Type: Sub-task > Reporter: Edward J. Yoon > Attachments: HAMA-185.patch > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jul 02 02:25:30 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11059 invoked from network); 2 Jul 2009 02:25:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Jul 2009 02:25:30 -0000 Received: (qmail 64450 invoked by uid 500); 2 Jul 2009 02:25:41 -0000 Delivered-To: [email protected] Received: (qmail 64423 invoked by uid 500); 2 Jul 2009 02:25:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 64366 invoked by uid 99); 2 Jul 2009 02:25:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2009 02:25:41 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO qw-out-1920.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2009 02:25:29 +0000 Received: by qw-out-1920.google.com with SMTP id 5so599060qwf.54 for <[email protected]>; Wed, 01 Jul 2009 19:25:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=FfF2wyaIaX0wX0R2GCbEwl7cBNvKcf50qIiFU++RZyc=; b=biOv9kmFbIm2LHf5EFoAmWb+5vG/En8CLS6sm1DtqSLg+cptPqFXwrpHpTw5+3r9Mq RjSaR86NPXNuc8FH12S8q4QHTsp62JfCPbQ1DJW9z6YerIaR+hkIDReLWd1P5qabyU2q UTmO5Di8nRKjDUqs5uSQGviu62sMh/t+biKu0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=siqKdw+PiORi/1lAXtp8BHniaY2MQVGPjHLnMsp4FhsNDuoLM7clhHomeSeruv0+YG ccmkSdK7Zw8or8RHiB2zmcQrzaBOi1BxhGvuLW2C0c24aT4Z7OfhYB2MBmyV3xCe7Uy6 UGOc8/mZ3yAFShFdBsHQN9Y5kkJ/ozUGaO/hI= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id r17mr7985383vcj.46.1246501507880; Wed, 01 Jul 2009 19:25:07 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Date: Thu, 2 Jul 2009 10:25:07 +0800 Message-ID: <[email protected]> Subject: Re: FYI, Large-scale graph [email protected]. From: Samuel Guo <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=00163631086796d67e046dafbfae X-Virus-Checked: Checked by ClamAV on apache.org --00163631086796d67e046dafbfae Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit It sounds great! A new paradigm is suitable for graph computing. On Thu, Jul 2, 2009 at 9:24 AM, Edward J. Yoon <[email protected]>wrote: > See : http://wiki.apache.org/hama/Hamburg > > On Mon, Jun 22, 2009 at 3:28 PM, Edward J. Yoon<[email protected]> > wrote: > > Hmm, It sounds like Pregel seems a computing framework for the graph > > using dynamic programming. And, > > > > "In Pregel, programs are expressed as a sequence of iterations. In > > each iteration, a vertex can, independently of other vertices, receive > > messages sent to it in the previous iteration, send messages to other > > vertices, modify its own and its outgoing edges' states, and mutate > > the graph's topology" > > > > They seems use the network communication instead of map/red > > 'intermediate file'. Check this out -- Bulk Synchronous Parallel Model > > (http://en.wikipedia.org/wiki/Bulk_Synchronous_Parallel) > > > > On Mon, Jun 22, 2009 at 11:59 AM, Edward J. Yoon<[email protected]> > wrote: > >> > http://googleresearch.blogspot.com/2009/06/large-scale-graph-computing-at-google.html > >> > >> -- > >> Best Regards, Edward J. Yoon @ NHN, corp. > >> [email protected] > >> http://blog.udanax.org > >> > > > > > > > > -- > > Best Regards, Edward J. Yoon @ NHN, corp. > > [email protected] > > http://blog.udanax.org > > > > > > -- > Best Regards, Edward J. Yoon @ NHN, corp. > [email protected] > http://blog.udanax.org > --00163631086796d67e046dafbfae-- From [email protected] Thu Jul 02 07:15:14 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 27668 invoked from network); 2 Jul 2009 07:15:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Jul 2009 07:15:14 -0000 Received: (qmail 5545 invoked by uid 500); 2 Jul 2009 07:15:25 -0000 Delivered-To: [email protected] Received: (qmail 5516 invoked by uid 500); 2 Jul 2009 07:15:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 5506 invoked by uid 99); 2 Jul 2009 07:15:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2009 07:15:24 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-pz0-f177.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2009 07:15:13 +0000 Received: by pzk7 with SMTP id 7so1048309pzk.32 for <[email protected]>; Thu, 02 Jul 2009 00:14:53 -0700 (PDT) MIME-Version: 1.0 Sender: [email protected] Received: by 161.129.204.104 with SMTP id h16mr1502659wfc.309.1246518892939; Thu, 02 Jul 2009 00:14:52 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Thu, 2 Jul 2009 16:14:52 +0900 X-Google-Sender-Auth: 0aaacbcd01857264 Message-ID: <[email protected]> Subject: Re: FYI, Large-scale graph [email protected]. From: "Edward J. Yoon" <[email protected]> To: [email protected] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Yeah, It really great. I little talked about it with Greg Malewicz. If you have a interest, let's attend the PODC. On Thu, Jul 2, 2009 at 11:25 AM, Samuel Guo<[email protected]> wrote: > It sounds great! > A new paradigm is suitable for graph computing. > > On Thu, Jul 2, 2009 at 9:24 AM, Edward J. Yoon <[email protected]>wrote: > >> See : http://wiki.apache.org/hama/Hamburg >> >> On Mon, Jun 22, 2009 at 3:28 PM, Edward J. Yoon<[email protected]> >> wrote: >> > Hmm, It sounds like Pregel seems a computing framework for the graph >> > using dynamic programming. And, >> > >> > "In Pregel, programs are expressed as a sequence of iterations. In >> > each iteration, a vertex can, independently of other vertices, receive >> > messages sent to it in the previous iteration, send messages to other >> > vertices, modify its own and its outgoing edges' states, and mutate >> > the graph's topology" >> > >> > They seems use the network communication instead of map/red >> > 'intermediate file'. Check this out -- Bulk Synchronous Parallel Model >> > (http://en.wikipedia.org/wiki/Bulk_Synchronous_Parallel) >> > >> > On Mon, Jun 22, 2009 at 11:59 AM, Edward J. Yoon<[email protected]> >> wrote: >> >> >> http://googleresearch.blogspot.com/2009/06/large-scale-graph-computing-at-google.html >> >> >> >> -- >> >> Best Regards, Edward J. Yoon @ NHN, corp. >> >> [email protected] >> >> http://blog.udanax.org >> >> >> > >> > >> > >> > -- >> > Best Regards, Edward J. Yoon @ NHN, corp. >> > [email protected] >> > http://blog.udanax.org >> > >> >> >> >> -- >> Best Regards, Edward J. Yoon @ NHN, corp. >> [email protected] >> http://blog.udanax.org >> > -- Best Regards, Edward J. Yoon @ NHN, corp. [email protected] http://blog.udanax.org From [email protected] Thu Jul 02 09:26:02 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71255 invoked from network); 2 Jul 2009 09:26:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Jul 2009 09:26:02 -0000 Received: (qmail 68056 invoked by uid 500); 2 Jul 2009 09:26:12 -0000 Delivered-To: [email protected] Received: (qmail 67954 invoked by uid 500); 2 Jul 2009 09:26:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 67873 invoked by uid 99); 2 Jul 2009 09:26:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2009 09:26:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2009 09:26:07 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 42702234C052 for <[email protected]>; Thu, 2 Jul 2009 02:25:47 -0700 (PDT) Message-ID: <1150907015.1246526747271.JavaMail.jira@brutus> Date: Thu, 2 Jul 2009 02:25:47 -0700 (PDT) From: "Samuel Guo (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (HAMA-185) Finds the eigenvalues and eigenvectors associated with the symmetric matrix A In-Reply-To: <1614041598.1243924687417.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HAMA-185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Samuel Guo updated HAMA-185: ---------------------------- Status: Patch Available (was: Open) try it. > Finds the eigenvalues and eigenvectors associated with the symmetric matrix A > ----------------------------------------------------------------------------- > > Key: HAMA-185 > URL: https://issues.apache.org/jira/browse/HAMA-185 > Project: Hama > Issue Type: Sub-task > Reporter: Edward J. Yoon > Attachments: HAMA-185.patch > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jul 02 10:42:01 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14685 invoked from network); 2 Jul 2009 10:42:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Jul 2009 10:42:01 -0000 Received: (qmail 72321 invoked by uid 500); 2 Jul 2009 10:42:11 -0000 Delivered-To: [email protected] Received: (qmail 72202 invoked by uid 500); 2 Jul 2009 10:42:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 72186 invoked by uid 99); 2 Jul 2009 10:42:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2009 10:42:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2009 10:42:08 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 30F9E234C045 for <[email protected]>; Thu, 2 Jul 2009 03:41:47 -0700 (PDT) Message-ID: <1971730989.1246531307199.JavaMail.jira@brutus> Date: Thu, 2 Jul 2009 03:41:47 -0700 (PDT) From: "Edward J. Yoon (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (HAMA-185) Finds the eigenvalues and eigenvectors associated with the symmetric matrix A In-Reply-To: <1614041598.1243924687417.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HAMA-185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12726424#action_12726424 ] Edward J. Yoon commented on HAMA-185: ------------------------------------- Great code. I'll test this patch. > Finds the eigenvalues and eigenvectors associated with the symmetric matrix A > ----------------------------------------------------------------------------- > > Key: HAMA-185 > URL: https://issues.apache.org/jira/browse/HAMA-185 > Project: Hama > Issue Type: Sub-task > Reporter: Edward J. Yoon > Attachments: HAMA-185.patch > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jul 02 11:09:06 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 23218 invoked from network); 2 Jul 2009 11:09:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Jul 2009 11:09:06 -0000 Received: (qmail 98817 invoked by uid 500); 2 Jul 2009 11:09:17 -0000 Delivered-To: [email protected] Received: (qmail 98776 invoked by uid 500); 2 Jul 2009 11:09:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 98766 invoked by uid 99); 2 Jul 2009 11:09:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2009 11:09:17 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hudson.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2009 11:09:14 +0000 Received: from hudson.zones.apache.org (localhost [161.129.204.104]) by hudson.zones.apache.org (8.13.8+Sun/8.13.8) with ESMTP id n62B8rSv000869 for <[email protected]>; Thu, 2 Jul 2009 07:08:54 -0400 (EDT) Date: Thu, 2 Jul 2009 11:08:53 +0000 (UTC) From: Apache Hudson Server <[email protected]> To: [email protected] Message-ID: <[email protected]> Subject: Build failed in Hudson: Hama-Patch #178 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org See http://hudson.zones.apache.org/hudson/job/Hama-Patch/178/changes Changes: [edwardyoon] Add matrix subtraction test case ------------------------------------------ [...truncated 13849 lines...] [exec] Copying 1 file to /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/tmp [exec] Copying 1 file to /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/tmp [exec] [exec] -------------------------------------------------------------- [exec] Installing plugin: org.apache.forrest.plugin.output.pdf [exec] -------------------------------------------------------------- [exec] [exec] [exec] check-plugin: [exec] org.apache.forrest.plugin.output.pdf is available in the build dir. Trying to update it... [exec] [exec] init-props: [exec] [exec] echo-settings: [exec] [exec] init-proxy: [exec] [exec] fetch-plugins-descriptors: [exec] [exec] fetch-plugin: [exec] Trying to find the description of org.apache.forrest.plugin.output.pdf in the different descriptor files [exec] Using the descriptor file /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/tmp/plugins-1.xml... [exec] Processing /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/tmp/plugins-1.xml to /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/tmp/pluginlist2fetchbuild.xml [exec] Loading stylesheet /zonestorage/hudson/home/nigel/tools/forrest/apache-forrest-0.8/main/var/pluginlist2fetch.xsl [exec] [exec] fetch-local-unversioned-plugin: [exec] [exec] get-local: [exec] Trying to locally get org.apache.forrest.plugin.output.pdf [exec] Looking in local /zonestorage/hudson/home/nigel/tools/forrest/apache-forrest-0.8/plugins [exec] Found ! [exec] [exec] init-build-compiler: [exec] [exec] echo-init: [exec] [exec] init: [exec] [exec] compile: [exec] [exec] jar: [exec] [exec] local-deploy: [exec] Locally deploying org.apache.forrest.plugin.output.pdf [exec] [exec] build: [exec] Plugin org.apache.forrest.plugin.output.pdf deployed ! Ready to configure [exec] [exec] fetch-remote-unversioned-plugin-version-forrest: [exec] [exec] fetch-remote-unversioned-plugin-unversion-forrest: [exec] [exec] has-been-downloaded: [exec] [exec] downloaded-message: [exec] [exec] uptodate-message: [exec] [exec] not-found-message: [exec] Fetch-plugin Ok, installing ! [exec] [exec] unpack-plugin: [exec] [exec] install-plugin: [exec] [exec] configure-plugin: [exec] [exec] configure-output-plugin: [exec] Mounting output plugin: org.apache.forrest.plugin.output.pdf [exec] Processing /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/tmp/output.xmap to /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/tmp/output.xmap.new [exec] Loading stylesheet /zonestorage/hudson/home/nigel/tools/forrest/apache-forrest-0.8/main/var/pluginMountSnippet.xsl [exec] Moving 1 file to /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/tmp [exec] [exec] configure-plugin-locationmap: [exec] Mounting plugin locationmap for org.apache.forrest.plugin.output.pdf [exec] Processing /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/tmp/locationmap.xml to /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/tmp/locationmap.xml.new [exec] Loading stylesheet /zonestorage/hudson/home/nigel/tools/forrest/apache-forrest-0.8/main/var/pluginLmMountSnippet.xsl [exec] Moving 1 file to /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/tmp [exec] [exec] init: [exec] [exec] -prepare-classpath: [exec] [exec] check-contentdir: [exec] [exec] examine-proj: [exec] [exec] validation-props: [exec] [exec] validate-xdocs: [exec] 9 file(s) have been successfully validated. [exec] ...validated xdocs [exec] [exec] validate-skinconf: [exec] 1 file(s) have been successfully validated. [exec] ...validated skinconf [exec] [exec] validate-sitemap: [exec] ...validated project sitemap [exec] [exec] validate-skins-stylesheets: [exec] [exec] validate-skins: [exec] [exec] validate-skinchoice: [exec] ...validated existence of skin 'pelt' [exec] [exec] validate-stylesheets: [exec] [exec] validate: [exec] [exec] site: [exec] [exec] Copying the various non-generated resources to site. [exec] Warnings will be issued if the optional project resources are not found. [exec] This is often the case, because they are optional and so may not be available. [exec] Copying project resources and images to site ... [exec] Warning: /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/webapp/resources not found. [exec] Copied 1 empty directory to 1 empty directory under /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/site [exec] Copying main skin images to site ... [exec] Created dir: /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/site/skin/images [exec] Copying 18 files to /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/site/skin/images [exec] Copying 14 files to /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/site/skin/images [exec] Copying project skin images to site ... [exec] Warning: /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/src/documentation/skins/common/images not found. [exec] Warning: /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/src/documentation/skins/pelt/images not found. [exec] Copying main skin css and js files to site ... [exec] Copying 11 files to /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/site/skin [exec] Copied 4 empty directories to 3 empty directories under /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/site/skin [exec] Copying 4 files to /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/site/skin [exec] Copying project skin css and js files to site ... [exec] Warning: /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/src/documentation/skins/common not found. [exec] Warning: /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/src/documentation/skins/pelt not found. [exec] [exec] Finished copying the non-generated resources. [exec] Now Cocoon will generate the rest. [exec] [exec] Static site will be generated at: [exec] /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/site [exec] [exec] Cocoon will report the status of each document: [exec] - in column 1: *=okay X=brokenLink ^=pageSkipped (see FAQ). [exec] [exec] ------------------------------------------------------------------------ [exec] cocoon 2.2.0-dev [exec] Copyright (c) 1999-2005 Apache Software Foundation. All rights reserved. [exec] Build: December 8 2005 (TargetVM=1.4, SourceVM=1.4, Debug=on, Optimize=on) [exec] ------------------------------------------------------------------------ [exec] [exec] [exec] * [1/20] [20/20] 3.952s 6.8Kb linkmap.html [exec] * [2/19] [0/0] 3.26s 348b skin/images/rc-b-l-15-1body-2menu-3menu.png [exec] * [3/19] [1/20] 0.785s 6.8Kb developers.html [exec] * [6/29] [13/13] 0.688s 12.4Kb skin/screen.css [exec] * [7/28] [0/0] 0.025s 214b skin/images/rc-t-r-5-1header-2searchbox-3searchbox.png [exec] * [8/30] [3/23] 0.436s 8.1Kb index.html [exec] * [9/29] [0/0] 0.393s 199b skin/images/rc-t-l-5-1header-2searchbox-3searchbox.png [exec] * [11/27] [0/0] 0.037s 2.9Kb skin/basic.css [exec] * [13/25] [0/0] 0.0060s 285b images/instruction_arrow.png [exec] * [15/24] [1/20] 0.47s 5.8Kb irc_channel.html [exec] * [16/23] [0/0] 1.318s 4.0Kb irc_channel.pdf [exec] * [17/22] [0/0] 0.022s 1.2Kb skin/print.css [exec] * [18/21] [0/0] 0.214s 5.8Kb developers.pdf [exec] * [19/20] [0/0] 0.025s 390b skin/images/rc-t-r-15-1body-2menu-3menu.png [exec] * [20/19] [0/0] 0.445s 0b images/favicon.ico [exec] * [21/18] [0/0] 0.024s 199b skin/images/rc-t-l-5-1header-2tab-unselected-3tab-unselected.png [exec] * [22/18] [1/19] 0.315s 6.8Kb privacy_policy.html [exec] * [23/17] [0/0] 0.508s 2.1Kb linkmap.pdf [exec] * [24/16] [0/0] 0.239s 214b skin/images/rc-t-r-5-1header-2tab-unselected-3tab-unselected.png [exec] * [25/15] [0/0] 0.286s 6.8Kb index.pdf [exec] * [27/13] [0/0] 0.028s 215b skin/images/rc-t-r-5-1header-2tab-selected-3tab-selected.png [exec] * [28/12] [0/0] 0.19s 4.4Kb privacy_policy.pdf [exec] * [29/11] [0/0] 0.022s 319b skin/images/rc-b-r-15-1body-2menu-3menu.png [exec] * [30/11] [1/19] 0.495s 7.0Kb mailing_lists.html [exec] * [31/10] [0/0] 0.282s 6.9Kb mailing_lists.pdf [exec] * [32/9] [0/0] 0.014s 17.6Kb images/block.png [exec] * [33/8] [0/0] 0.064s 17.7Kb images/apache-incubator-hama-white.png [exec] * [35/6] [0/0] 0.02s 209b skin/images/rc-t-l-5-1header-2tab-selected-3tab-selected.png [exec] * [37/4] [0/0] 0.0050s 1.8Kb images/built-with-forrest-button.png [exec] * [38/3] [0/0] 0.023s 200b skin/images/rc-b-r-5-1header-2tab-selected-3tab-selected.png [exec] * [39/3] [1/20] 0.412s 5.8Kb issue_tracking.html [exec] * [40/2] [0/0] 0.071s 3.7Kb issue_tracking.pdf [exec] * [41/1] [0/0] 0.057s 3.8Kb skin/profile.css [exec] * [42/1] [1/19] 0.247s 6.9Kb who_we_are.html [exec] * [43/0] [0/0] 0.109s 5.6Kb who_we_are.pdf [exec] Total time: 0 minutes 19 seconds, Site size: 158,082 Site pages: 35 [exec] [exec] Copying broken links file to site root. [exec] [exec] Copying 1 file to /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/site [exec] [exec] ----------------------------- [exec] Static site was successfully generated at: [exec] /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/site [exec] ------------------------------ [exec] [exec] [exec] BUILD SUCCESSFUL [exec] Total time: 28 seconds [copy] Copying 77 files to /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/build/docs/site [copy] Copied 7 empty directories to 3 empty directories under /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/build/docs/site [delete] Deleting directory /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build BUILD SUCCESSFUL Total time: 20 minutes 53 seconds ====================================================================== ====================================================================== Adding comment to Jira. ====================================================================== ====================================================================== -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12412347/HAMA-185.patch against trunk revision 783255. @author +1. The patch does not contain any @author tags. tests included +1. The patch appears to include 3 new or modified tests. javadoc +1. The javadoc tool did not generate any warning messages. javac +1. The applied patch does not generate any new javac compiler warnings. release audit +1. The applied patch does not generate any new release audit warnings. findbugs -1. The patch appears to introduce 4 new Findbugs warnings. core tests +1. The patch passed core unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hama-Patch/178/testReport/ Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hama-Patch/178/artifact/trunk/build/reports/findbugs/newPatchFindbugsWarnings.html Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hama-Patch/178/artifact/trunk/build/test/checkstyle-errors.html Console output: http://hudson.zones.apache.org/hudson/job/Hama-Patch/178/console This message is automatically generated. ====================================================================== ====================================================================== Finished build. ====================================================================== ====================================================================== Recording test results Description found: HAMA-185 From [email protected] Thu Jul 02 11:09:59 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 23349 invoked from network); 2 Jul 2009 11:09:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Jul 2009 11:09:59 -0000 Received: (qmail 99050 invoked by uid 500); 2 Jul 2009 11:10:09 -0000 Delivered-To: [email protected] Received: (qmail 99020 invoked by uid 500); 2 Jul 2009 11:10:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 99005 invoked by uid 99); 2 Jul 2009 11:10:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2009 11:10:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2009 11:10:07 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 3CD1B234C045 for <[email protected]>; Thu, 2 Jul 2009 04:09:47 -0700 (PDT) Message-ID: <1809899987.1246532987248.JavaMail.jira@brutus> Date: Thu, 2 Jul 2009 04:09:47 -0700 (PDT) From: "Hudson (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (HAMA-185) Finds the eigenvalues and eigenvectors associated with the symmetric matrix A In-Reply-To: <1614041598.1243924687417.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HAMA-185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12726431#action_12726431 ] Hudson commented on HAMA-185: ----------------------------- -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12412347/HAMA-185.patch against trunk revision 783255. @author +1. The patch does not contain any @author tags. tests included +1. The patch appears to include 3 new or modified tests. javadoc +1. The javadoc tool did not generate any warning messages. javac +1. The applied patch does not generate any new javac compiler warnings. release audit +1. The applied patch does not generate any new release audit warnings. findbugs -1. The patch appears to introduce 4 new Findbugs warnings. core tests +1. The patch passed core unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hama-Patch/178/testReport/ Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hama-Patch/178/artifact/trunk/build/reports/findbugs/newPatchFindbugsWarnings.html Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hama-Patch/178/artifact/trunk/build/test/checkstyle-errors.html Console output: http://hudson.zones.apache.org/hudson/job/Hama-Patch/178/console This message is automatically generated. > Finds the eigenvalues and eigenvectors associated with the symmetric matrix A > ----------------------------------------------------------------------------- > > Key: HAMA-185 > URL: https://issues.apache.org/jira/browse/HAMA-185 > Project: Hama > Issue Type: Sub-task > Reporter: Edward J. Yoon > Attachments: HAMA-185.patch > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Jul 06 02:39:28 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 34354 invoked from network); 6 Jul 2009 02:39:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Jul 2009 02:39:28 -0000 Received: (qmail 10805 invoked by uid 500); 6 Jul 2009 02:39:37 -0000 Delivered-To: [email protected] Received: (qmail 10676 invoked by uid 500); 6 Jul 2009 02:39:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 10600 invoked by uid 99); 6 Jul 2009 02:39:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jul 2009 02:39:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jul 2009 02:39:35 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id EBDF6234C055 for <[email protected]>; Sun, 5 Jul 2009 19:39:14 -0700 (PDT) Message-ID: <625472925.1246847954965.JavaMail.jira@brutus> Date: Sun, 5 Jul 2009 19:39:14 -0700 (PDT) From: "Edward J. Yoon (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (HAMA-185) Finds the eigenvalues and eigenvectors associated with the symmetric matrix A In-Reply-To: <1614041598.1243924687417.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HAMA-185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Edward J. Yoon updated HAMA-185: -------------------------------- Fix Version/s: 0.1.0 Affects Version/s: 0.1.0 Status: Open (was: Patch Available) canceling > Finds the eigenvalues and eigenvectors associated with the symmetric matrix A > ----------------------------------------------------------------------------- > > Key: HAMA-185 > URL: https://issues.apache.org/jira/browse/HAMA-185 > Project: Hama > Issue Type: Sub-task > Affects Versions: 0.1.0 > Reporter: Edward J. Yoon > Fix For: 0.1.0 > > Attachments: HAMA-185.patch > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Jul 06 02:43:27 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35856 invoked from network); 6 Jul 2009 02:43:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Jul 2009 02:43:26 -0000 Received: (qmail 12413 invoked by uid 500); 6 Jul 2009 02:43:37 -0000 Delivered-To: [email protected] Received: (qmail 12372 invoked by uid 500); 6 Jul 2009 02:43:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 12360 invoked by uid 99); 6 Jul 2009 02:43:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jul 2009 02:43:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jul 2009 02:43:35 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id E1015234C04C for <[email protected]>; Sun, 5 Jul 2009 19:43:14 -0700 (PDT) Message-ID: <471724386.1246848194920.JavaMail.jira@brutus> Date: Sun, 5 Jul 2009 19:43:14 -0700 (PDT) From: "Edward J. Yoon (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (HAMA-185) Finds the eigenvalues and eigenvectors associated with the symmetric matrix A In-Reply-To: <1614041598.1243924687417.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HAMA-185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Edward J. Yoon updated HAMA-185: -------------------------------- Attachment: HAMA-185_v02.patch Fixed 'double comparison' warning as below: if(changed == 1 && (Math.abs(y - e) < .0000001)) { //y == e) { > Finds the eigenvalues and eigenvectors associated with the symmetric matrix A > ----------------------------------------------------------------------------- > > Key: HAMA-185 > URL: https://issues.apache.org/jira/browse/HAMA-185 > Project: Hama > Issue Type: Sub-task > Affects Versions: 0.1.0 > Reporter: Edward J. Yoon > Fix For: 0.1.0 > > Attachments: HAMA-185.patch, HAMA-185_v02.patch > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Jul 06 02:45:27 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36250 invoked from network); 6 Jul 2009 02:45:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Jul 2009 02:45:27 -0000 Received: (qmail 12938 invoked by uid 500); 6 Jul 2009 02:45:37 -0000 Delivered-To: [email protected] Received: (qmail 12900 invoked by uid 500); 6 Jul 2009 02:45:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 12890 invoked by uid 99); 6 Jul 2009 02:45:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jul 2009 02:45:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jul 2009 02:45:35 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 1E757234C051 for <[email protected]>; Sun, 5 Jul 2009 19:45:15 -0700 (PDT) Message-ID: <1561607169.1246848315123.JavaMail.jira@brutus> Date: Sun, 5 Jul 2009 19:45:15 -0700 (PDT) From: "Edward J. Yoon (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (HAMA-185) Finds the eigenvalues and eigenvectors associated with the symmetric matrix A In-Reply-To: <1614041598.1243924687417.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HAMA-185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Edward J. Yoon updated HAMA-185: -------------------------------- Assignee: Samuel Guo Status: Patch Available (was: Open) Running patch through hudson. > Finds the eigenvalues and eigenvectors associated with the symmetric matrix A > ----------------------------------------------------------------------------- > > Key: HAMA-185 > URL: https://issues.apache.org/jira/browse/HAMA-185 > Project: Hama > Issue Type: Sub-task > Affects Versions: 0.1.0 > Reporter: Edward J. Yoon > Assignee: Samuel Guo > Fix For: 0.1.0 > > Attachments: HAMA-185.patch, HAMA-185_v02.patch > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Jul 06 02:47:26 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36684 invoked from network); 6 Jul 2009 02:47:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Jul 2009 02:47:26 -0000 Received: (qmail 16215 invoked by uid 500); 6 Jul 2009 02:47:37 -0000 Delivered-To: [email protected] Received: (qmail 16199 invoked by uid 500); 6 Jul 2009 02:47:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 16189 invoked by uid 99); 6 Jul 2009 02:47:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jul 2009 02:47:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jul 2009 02:47:35 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id E366D234C051 for <[email protected]>; Sun, 5 Jul 2009 19:47:14 -0700 (PDT) Message-ID: <807644165.1246848434930.JavaMail.jira@brutus> Date: Sun, 5 Jul 2009 19:47:14 -0700 (PDT) From: "Edward J. Yoon (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (HAMA-185) Finds the eigenvalues and eigenvectors associated with the symmetric matrix A In-Reply-To: <1614041598.1243924687417.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HAMA-185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12727383#action_12727383 ] Edward J. Yoon commented on HAMA-185: ------------------------------------- @Samuel: Could you please update the wiki -- http://wiki.apache.org/hama/EigenValuesAndEigenVectors > Finds the eigenvalues and eigenvectors associated with the symmetric matrix A > ----------------------------------------------------------------------------- > > Key: HAMA-185 > URL: https://issues.apache.org/jira/browse/HAMA-185 > Project: Hama > Issue Type: Sub-task > Affects Versions: 0.1.0 > Reporter: Edward J. Yoon > Assignee: Samuel Guo > Fix For: 0.1.0 > > Attachments: HAMA-185.patch, HAMA-185_v02.patch > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Jul 06 02:49:27 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36887 invoked from network); 6 Jul 2009 02:49:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Jul 2009 02:49:27 -0000 Received: (qmail 16631 invoked by uid 500); 6 Jul 2009 02:49:37 -0000 Delivered-To: [email protected] Received: (qmail 16587 invoked by uid 500); 6 Jul 2009 02:49:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 16577 invoked by uid 99); 6 Jul 2009 02:49:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jul 2009 02:49:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jul 2009 02:49:35 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id E04CB234C04C for <[email protected]>; Sun, 5 Jul 2009 19:49:14 -0700 (PDT) Message-ID: <416201889.1246848554917.JavaMail.jira@brutus> Date: Sun, 5 Jul 2009 19:49:14 -0700 (PDT) From: "Edward J. Yoon (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (HAMA-184) Finds the diagonal elements of matrix A In-Reply-To: <1549751477.1243924567851.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HAMA-184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Edward J. Yoon resolved HAMA-184. --------------------------------- Resolution: Won't Fix Assignee: Edward J. Yoon won't fix. > Finds the diagonal elements of matrix A > --------------------------------------- > > Key: HAMA-184 > URL: https://issues.apache.org/jira/browse/HAMA-184 > Project: Hama > Issue Type: Sub-task > Components: implementation > Affects Versions: 0.1.0 > Reporter: Edward J. Yoon > Assignee: Edward J. Yoon > Fix For: 0.1.0 > > > Finds the diagonal elements of matrix A, and store them to matrix B. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Jul 06 09:07:16 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51773 invoked from network); 6 Jul 2009 09:07:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Jul 2009 09:07:16 -0000 Received: (qmail 20357 invoked by uid 500); 6 Jul 2009 09:07:27 -0000 Delivered-To: [email protected] Received: (qmail 20316 invoked by uid 500); 6 Jul 2009 09:07:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 20306 invoked by uid 99); 6 Jul 2009 09:07:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jul 2009 09:07:26 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-pz0-f184.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jul 2009 09:07:14 +0000 Received: by pzk14 with SMTP id 14so3943373pzk.32 for <[email protected]>; Mon, 06 Jul 2009 02:06:52 -0700 (PDT) MIME-Version: 1.0 Sender: [email protected] Received: by 161.129.204.104 with SMTP id p8mr1363389wfo.321.1246871203975; Mon, 06 Jul 2009 02:06:43 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Mon, 6 Jul 2009 18:06:43 +0900 X-Google-Sender-Auth: dc269b22877e6b1c Message-ID: <[email protected]> Subject: Re: FYI, Large-scale graph [email protected]. From: "Edward J. Yoon" <[email protected]> To: [email protected] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org FYI, In this paper -- 'Bulk Synchronous Parallel Computing - A Paradigm for Transportable Software', 'BSP-L implementation of the efficient matrix multiplication algorithm' was introduced. On Thu, Jul 2, 2009 at 4:14 PM, Edward J. Yoon<[email protected]> wrote: > Yeah, It really great. I little talked about it with Greg Malewicz. > > If you have a interest, let's attend the PODC. > > On Thu, Jul 2, 2009 at 11:25 AM, Samuel Guo<[email protected]> wrote: >> It sounds great! >> A new paradigm is suitable for graph computing. >> >> On Thu, Jul 2, 2009 at 9:24 AM, Edward J. Yoon <[email protected]>wrote: >> >>> See : http://wiki.apache.org/hama/Hamburg >>> >>> On Mon, Jun 22, 2009 at 3:28 PM, Edward J. Yoon<[email protected]> >>> wrote: >>> > Hmm, It sounds like Pregel seems a computing framework for the graph >>> > using dynamic programming. And, >>> > >>> > "In Pregel, programs are expressed as a sequence of iterations. In >>> > each iteration, a vertex can, independently of other vertices, receive >>> > messages sent to it in the previous iteration, send messages to other >>> > vertices, modify its own and its outgoing edges' states, and mutate >>> > the graph's topology" >>> > >>> > They seems use the network communication instead of map/red >>> > 'intermediate file'. Check this out -- Bulk Synchronous Parallel Model >>> > (http://en.wikipedia.org/wiki/Bulk_Synchronous_Parallel) >>> > >>> > On Mon, Jun 22, 2009 at 11:59 AM, Edward J. Yoon<[email protected]> >>> wrote: >>> >> >>> http://googleresearch.blogspot.com/2009/06/large-scale-graph-computing-at-google.html >>> >> >>> >> -- >>> >> Best Regards, Edward J. Yoon @ NHN, corp. >>> >> [email protected] >>> >> http://blog.udanax.org >>> >> >>> > >>> > >>> > >>> > -- >>> > Best Regards, Edward J. Yoon @ NHN, corp. >>> > [email protected] >>> > http://blog.udanax.org >>> > >>> >>> >>> >>> -- >>> Best Regards, Edward J. Yoon @ NHN, corp. >>> [email protected] >>> http://blog.udanax.org >>> >> > > > > -- > Best Regards, Edward J. Yoon @ NHN, corp. > [email protected] > http://blog.udanax.org > -- Best Regards, Edward J. Yoon @ NHN, corp. [email protected] http://blog.udanax.org From [email protected] Wed Jul 08 01:13:26 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70662 invoked from network); 8 Jul 2009 01:13:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Jul 2009 01:13:26 -0000 Received: (qmail 35121 invoked by uid 500); 8 Jul 2009 01:13:36 -0000 Delivered-To: [email protected] Received: (qmail 35069 invoked by uid 500); 8 Jul 2009 01:13:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 35059 invoked by uid 99); 8 Jul 2009 01:13:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jul 2009 01:13:36 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jul 2009 01:13:33 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id D99E2234C1E6 for <[email protected]>; Tue, 7 Jul 2009 18:11:14 -0700 (PDT) Message-ID: <1860352411.1247015474890.JavaMail.jira@brutus> Date: Tue, 7 Jul 2009 18:11:14 -0700 (PDT) From: "Samuel Guo (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (HAMA-185) Finds the eigenvalues and eigenvectors associated with the symmetric matrix A In-Reply-To: <1614041598.1243924687417.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HAMA-185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12728455#action_12728455 ] Samuel Guo commented on HAMA-185: --------------------------------- @Edward: Hmm, I will update the wiki now. > Finds the eigenvalues and eigenvectors associated with the symmetric matrix A > ----------------------------------------------------------------------------- > > Key: HAMA-185 > URL: https://issues.apache.org/jira/browse/HAMA-185 > Project: Hama > Issue Type: Sub-task > Affects Versions: 0.1.0 > Reporter: Edward J. Yoon > Assignee: Samuel Guo > Fix For: 0.1.0 > > Attachments: HAMA-185.patch, HAMA-185_v02.patch > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Jul 09 07:10:28 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22082 invoked from network); 9 Jul 2009 07:10:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Jul 2009 07:10:27 -0000 Received: (qmail 92120 invoked by uid 500); 9 Jul 2009 07:10:37 -0000 Delivered-To: [email protected] Received: (qmail 92069 invoked by uid 500); 9 Jul 2009 07:10:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 92059 invoked by uid 99); 9 Jul 2009 07:10:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jul 2009 07:10:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jul 2009 07:10:35 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id E5DDC234C052 for <[email protected]>; Thu, 9 Jul 2009 00:10:14 -0700 (PDT) Message-ID: <1092248052.1247123414940.JavaMail.jira@brutus> Date: Thu, 9 Jul 2009 00:10:14 -0700 (PDT) From: "Edward J. Yoon (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (HAMA-185) Finds the eigenvalues and eigenvectors associated with the symmetric matrix A In-Reply-To: <1614041598.1243924687417.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HAMA-185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Edward J. Yoon updated HAMA-185: -------------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) Committed this. Thanks Samuel! > Finds the eigenvalues and eigenvectors associated with the symmetric matrix A > ----------------------------------------------------------------------------- > > Key: HAMA-185 > URL: https://issues.apache.org/jira/browse/HAMA-185 > Project: Hama > Issue Type: Sub-task > Affects Versions: 0.1.0 > Reporter: Edward J. Yoon > Assignee: Samuel Guo > Fix For: 0.1.0 > > Attachments: HAMA-185.patch, HAMA-185_v02.patch > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jul 14 02:48:27 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58238 invoked from network); 14 Jul 2009 02:48:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jul 2009 02:48:27 -0000 Received: (qmail 3534 invoked by uid 500); 14 Jul 2009 02:48:37 -0000 Delivered-To: [email protected] Received: (qmail 3494 invoked by uid 500); 14 Jul 2009 02:48:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 3480 invoked by uid 99); 14 Jul 2009 02:48:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jul 2009 02:48:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jul 2009 02:48:34 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id D9A46234C045 for <[email protected]>; Mon, 13 Jul 2009 19:48:14 -0700 (PDT) Message-ID: <1271627492.1247539694890.JavaMail.jira@brutus> Date: Mon, 13 Jul 2009 19:48:14 -0700 (PDT) From: "Edward J. Yoon (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (HAMA-176) Implementation of singular value decomposition In-Reply-To: <756827878.1240214207483.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HAMA-176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Edward J. Yoon updated HAMA-176: -------------------------------- Attachment: HAMA-176.patch Attach my test scenario code. > Implementation of singular value decomposition > ---------------------------------------------- > > Key: HAMA-176 > URL: https://issues.apache.org/jira/browse/HAMA-176 > Project: Hama > Issue Type: New Feature > Components: implementation > Affects Versions: 0.1.0 > Reporter: Edward J. Yoon > Fix For: 0.1.0 > > Attachments: HAMA-176.patch > > > 1) Computes A(T) and A(T)A > 2) Computes eigenvalue of A(T)A, singular values s1, s2 of A > 3) Computes S, S(-1) using s1, s2 > 4) Computes V(T) using eigenvector of A(T)A -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jul 14 03:03:50 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60645 invoked from network); 14 Jul 2009 03:03:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jul 2009 03:03:49 -0000 Received: (qmail 7296 invoked by uid 500); 14 Jul 2009 03:03:58 -0000 Delivered-To: [email protected] Received: (qmail 7239 invoked by uid 500); 14 Jul 2009 03:03:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 7229 invoked by uid 99); 14 Jul 2009 03:03:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jul 2009 03:03:58 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-qy0-f178.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jul 2009 03:03:46 +0000 Received: by qyk8 with SMTP id 8so2228002qyk.32 for <[email protected]>; Mon, 13 Jul 2009 20:03:24 -0700 (PDT) MIME-Version: 1.0 Sender: [email protected] Received: by 161.129.204.104 with SMTP id 6mr3481019qaz.157.1247540603964; Mon, 13 Jul 2009 20:03:23 -0700 (PDT) Date: Tue, 14 Jul 2009 12:03:23 +0900 X-Google-Sender-Auth: d49fb2324705a44f Message-ID: <[email protected]> Subject: Discuss about the performance of Jacobi algorithm and SVD with MR From: "Edward J. Yoon" <[email protected]> To: [email protected] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org We made a jacobi eigenvalue algorithm. (Thanks samuel) So, The SVD can be simply implemented using jacobi eigenvalue algorithm -- https://issues.apache.org/jira/browse/HAMA-176 Then, The SVD performance will be greatly influenced by the performance of transpose, multiplication and eigenvalue algorithm. @Samuel, Could you please check the time complexity of jacobi algorithm on MR? (Also, I'll benchmark them.) And, We may want to re-consider the algorithms based on other computing model such as, Pregel. Does anyone have some ideas? Any advices are welcome. Thanks. -- Best Regards, Edward J. Yoon @ NHN, corp. [email protected] http://blog.udanax.org From [email protected] Tue Jul 14 03:10:40 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61417 invoked from network); 14 Jul 2009 03:10:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jul 2009 03:10:40 -0000 Received: (qmail 10703 invoked by uid 500); 14 Jul 2009 03:10:49 -0000 Delivered-To: [email protected] Received: (qmail 10653 invoked by uid 500); 14 Jul 2009 03:10:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 10643 invoked by uid 99); 14 Jul 2009 03:10:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jul 2009 03:10:49 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO qw-out-1920.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jul 2009 03:10:38 +0000 Received: by qw-out-1920.google.com with SMTP id 5so904124qwf.54 for <[email protected]>; Mon, 13 Jul 2009 20:10:17 -0700 (PDT) MIME-Version: 1.0 Sender: [email protected] Received: by 161.129.204.104 with SMTP id u17mr3464449qak.353.1247541017295; Mon, 13 Jul 2009 20:10:17 -0700 (PDT) Date: Tue, 14 Jul 2009 12:10:17 +0900 X-Google-Sender-Auth: 161eaacffc4d5b30 Message-ID: <[email protected]> Subject: Considering first release From: "Edward J. Yoon" <[email protected]> To: [email protected] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org We made, - mat-mat mult - vector-mat mult - transpose - eigen/singular value decomposition I think it's the time to consider about first release, if these functions could be run greatly on Hadoop. What do you think? -- Best Regards, Edward J. Yoon @ NHN, corp. [email protected] http://blog.udanax.org From [email protected] Tue Jul 14 04:59:28 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87044 invoked from network); 14 Jul 2009 04:59:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jul 2009 04:59:28 -0000 Received: (qmail 81104 invoked by uid 500); 14 Jul 2009 04:59:38 -0000 Delivered-To: [email protected] Received: (qmail 81053 invoked by uid 500); 14 Jul 2009 04:59:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 81043 invoked by uid 99); 14 Jul 2009 04:59:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jul 2009 04:59:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jul 2009 04:59:35 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 72E66234C045 for <[email protected]>; Mon, 13 Jul 2009 21:59:15 -0700 (PDT) Message-ID: <1269883702.1247547555469.JavaMail.jira@brutus> Date: Mon, 13 Jul 2009 21:59:15 -0700 (PDT) From: "Edward J. Yoon (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (HAMA-176) Implementation of singular value decomposition In-Reply-To: <756827878.1240214207483.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HAMA-176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Edward J. Yoon updated HAMA-176: -------------------------------- Assignee: Edward J. Yoon Status: Patch Available (was: Open) Running patch through hudson. > Implementation of singular value decomposition > ---------------------------------------------- > > Key: HAMA-176 > URL: https://issues.apache.org/jira/browse/HAMA-176 > Project: Hama > Issue Type: New Feature > Components: implementation > Affects Versions: 0.1.0 > Reporter: Edward J. Yoon > Assignee: Edward J. Yoon > Fix For: 0.1.0 > > Attachments: HAMA-176.patch > > > 1) Computes A(T) and A(T)A > 2) Computes eigenvalue of A(T)A, singular values s1, s2 of A > 3) Computes S, S(-1) using s1, s2 > 4) Computes V(T) using eigenvector of A(T)A -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jul 14 06:02:17 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12632 invoked from network); 14 Jul 2009 06:02:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jul 2009 06:02:17 -0000 Received: (qmail 21367 invoked by uid 500); 14 Jul 2009 06:02:27 -0000 Delivered-To: [email protected] Received: (qmail 21324 invoked by uid 500); 14 Jul 2009 06:02:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 21314 invoked by uid 99); 14 Jul 2009 06:02:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jul 2009 06:02:27 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hudson.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jul 2009 06:02:25 +0000 Received: from hudson.zones.apache.org (localhost [161.129.204.104]) by hudson.zones.apache.org (8.13.8+Sun/8.13.8) with ESMTP id n6E624HE013414 for <[email protected]>; Tue, 14 Jul 2009 02:02:05 -0400 (EDT) Date: Tue, 14 Jul 2009 06:02:04 +0000 (UTC) From: Apache Hudson Server <[email protected]> To: [email protected] Message-ID: <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> Subject: Hudson build is back to normal: Hama-Patch #180 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org See http://hudson.zones.apache.org/hudson/job/Hama-Patch/180/changes From [email protected] Tue Jul 14 06:03:29 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13204 invoked from network); 14 Jul 2009 06:03:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jul 2009 06:03:29 -0000 Received: (qmail 21641 invoked by uid 500); 14 Jul 2009 06:03:39 -0000 Delivered-To: [email protected] Received: (qmail 21589 invoked by uid 500); 14 Jul 2009 06:03:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 21578 invoked by uid 99); 14 Jul 2009 06:03:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jul 2009 06:03:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jul 2009 06:03:36 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id DDDB9234C045 for <[email protected]>; Mon, 13 Jul 2009 23:03:14 -0700 (PDT) Message-ID: <1712060728.1247551394907.JavaMail.jira@brutus> Date: Mon, 13 Jul 2009 23:03:14 -0700 (PDT) From: "Hudson (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (HAMA-176) Implementation of singular value decomposition In-Reply-To: <756827878.1240214207483.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HAMA-176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12730708#action_12730708 ] Hudson commented on HAMA-176: ----------------------------- +1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12413373/HAMA-176.patch against trunk revision 792423. @author +1. The patch does not contain any @author tags. tests included +1. The patch appears to include 6 new or modified tests. javadoc +1. The javadoc tool did not generate any warning messages. javac +1. The applied patch does not generate any new javac compiler warnings. release audit +1. The applied patch does not generate any new release audit warnings. findbugs +1. The patch does not introduce any new Findbugs warnings. core tests +1. The patch passed core unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hama-Patch/180/testReport/ Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hama-Patch/180/artifact/trunk/build/reports/findbugs/newPatchFindbugsWarnings.html Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hama-Patch/180/artifact/trunk/build/test/checkstyle-errors.html Console output: http://hudson.zones.apache.org/hudson/job/Hama-Patch/180/console This message is automatically generated. > Implementation of singular value decomposition > ---------------------------------------------- > > Key: HAMA-176 > URL: https://issues.apache.org/jira/browse/HAMA-176 > Project: Hama > Issue Type: New Feature > Components: implementation > Affects Versions: 0.1.0 > Reporter: Edward J. Yoon > Assignee: Edward J. Yoon > Fix For: 0.1.0 > > Attachments: HAMA-176.patch > > > 1) Computes A(T) and A(T)A > 2) Computes eigenvalue of A(T)A, singular values s1, s2 of A > 3) Computes S, S(-1) using s1, s2 > 4) Computes V(T) using eigenvector of A(T)A -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jul 14 09:03:49 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69204 invoked from network); 14 Jul 2009 09:03:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jul 2009 09:03:49 -0000 Received: (qmail 74888 invoked by uid 500); 14 Jul 2009 09:03:58 -0000 Delivered-To: [email protected] Received: (qmail 74859 invoked by uid 500); 14 Jul 2009 09:03:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 74849 invoked by uid 99); 14 Jul 2009 09:03:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jul 2009 09:03:58 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-qy0-f178.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jul 2009 09:03:47 +0000 Received: by qyk8 with SMTP id 8so2318790qyk.32 for <[email protected]>; Tue, 14 Jul 2009 02:03:26 -0700 (PDT) MIME-Version: 1.0 Sender: [email protected] Received: by 161.129.204.104 with SMTP id m17mr3601585qac.214.1247562206068; Tue, 14 Jul 2009 02:03:26 -0700 (PDT) Date: Tue, 14 Jul 2009 18:03:26 +0900 X-Google-Sender-Auth: f66419e411c20471 Message-ID: <[email protected]> Subject: [Book] FYI, Parallel scientific computation From: "Edward J. Yoon" <[email protected]> To: [email protected] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org http://books.google.com/books?id=g-7e-SK9wNIC&dq=Rob+Bisseling+bsp&printsec=frontcover&source=bl&ots=u__YqpMlSJ&sig=SvkPkP23PbRv8n71cd7lFZ7J6Io&hl=en&ei=GEZcSq-nBqfm6gPmpLGMDA&sa=X&oi=book_result&ct=result&resnum=1 -- Best Regards, Edward J. Yoon @ NHN, corp. [email protected] http://blog.udanax.org From [email protected] Tue Jul 14 09:29:18 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77856 invoked from network); 14 Jul 2009 09:29:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jul 2009 09:29:18 -0000 Received: (qmail 10968 invoked by uid 500); 14 Jul 2009 09:29:28 -0000 Delivered-To: [email protected] Received: (qmail 10926 invoked by uid 500); 14 Jul 2009 09:29:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 10914 invoked by uid 99); 14 Jul 2009 09:29:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jul 2009 09:29:28 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-qy0-f178.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jul 2009 09:29:17 +0000 Received: by qyk8 with SMTP id 8so2324349qyk.32 for <[email protected]>; Tue, 14 Jul 2009 02:28:56 -0700 (PDT) MIME-Version: 1.0 Sender: [email protected] Received: by 161.129.204.104 with SMTP id p18mr3634258qag.281.1247563735793; Tue, 14 Jul 2009 02:28:55 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Tue, 14 Jul 2009 18:28:55 +0900 X-Google-Sender-Auth: 0b58deb6583fbb12 Message-ID: <[email protected]> Subject: Re: [Book] FYI, Parallel scientific computation From: "Edward J. Yoon" <[email protected]> To: [email protected] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org See also, http://www.math.uu.nl/people/bisselin/lyon02.pdf On Tue, Jul 14, 2009 at 6:03 PM, Edward J. Yoon<[email protected]> wrote: > http://books.google.com/books?id=g-7e-SK9wNIC&dq=Rob+Bisseling+bsp&printsec=frontcover&source=bl&ots=u__YqpMlSJ&sig=SvkPkP23PbRv8n71cd7lFZ7J6Io&hl=en&ei=GEZcSq-nBqfm6gPmpLGMDA&sa=X&oi=book_result&ct=result&resnum=1 > > -- > Best Regards, Edward J. Yoon @ NHN, corp. > [email protected] > http://blog.udanax.org > -- Best Regards, Edward J. Yoon @ NHN, corp. [email protected] http://blog.udanax.org From [email protected] Tue Jul 21 08:04:38 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6241 invoked from network); 21 Jul 2009 08:04:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Jul 2009 08:04:37 -0000 Received: (qmail 16485 invoked by uid 500); 21 Jul 2009 08:05:43 -0000 Delivered-To: [email protected] Received: (qmail 16431 invoked by uid 500); 21 Jul 2009 08:05:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 16313 invoked by uid 99); 21 Jul 2009 08:05:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jul 2009 08:05:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jul 2009 08:05:35 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id D4ED0234C045 for <[email protected]>; Tue, 21 Jul 2009 01:05:14 -0700 (PDT) Message-ID: <640500339.1248163514870.JavaMail.jira@brutus> Date: Tue, 21 Jul 2009 01:05:14 -0700 (PDT) From: "Edward J. Yoon (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (HAMA-189) Update the website MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Update the website ------------------ Key: HAMA-189 URL: https://issues.apache.org/jira/browse/HAMA-189 Project: Hama Issue Type: Task Components: documentation Reporter: Edward J. Yoon Assignee: Edward J. Yoon Add eigenvalue/vector page link and, samuel to committer list. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jul 21 08:06:31 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6609 invoked from network); 21 Jul 2009 08:06:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Jul 2009 08:06:31 -0000 Received: (qmail 19350 invoked by uid 500); 21 Jul 2009 08:07:37 -0000 Delivered-To: [email protected] Received: (qmail 19318 invoked by uid 500); 21 Jul 2009 08:07:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 19306 invoked by uid 99); 21 Jul 2009 08:07:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jul 2009 08:07:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jul 2009 08:07:35 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id D01FF234C045 for <[email protected]>; Tue, 21 Jul 2009 01:07:14 -0700 (PDT) Message-ID: <233918508.1248163634851.JavaMail.jira@brutus> Date: Tue, 21 Jul 2009 01:07:14 -0700 (PDT) From: "Edward J. Yoon (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (HAMA-189) Update the website In-Reply-To: <640500339.1248163514870.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HAMA-189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Edward J. Yoon updated HAMA-189: -------------------------------- Attachment: HAMA-189.patch Attach my patch. > Update the website > ------------------ > > Key: HAMA-189 > URL: https://issues.apache.org/jira/browse/HAMA-189 > Project: Hama > Issue Type: Task > Components: documentation > Reporter: Edward J. Yoon > Assignee: Edward J. Yoon > Attachments: HAMA-189.patch > > > Add eigenvalue/vector page link and, samuel to committer list. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jul 21 08:12:31 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7719 invoked from network); 21 Jul 2009 08:12:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Jul 2009 08:12:31 -0000 Received: (qmail 23243 invoked by uid 500); 21 Jul 2009 08:13:37 -0000 Delivered-To: [email protected] Received: (qmail 23195 invoked by uid 500); 21 Jul 2009 08:13:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23184 invoked by uid 99); 21 Jul 2009 08:13:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jul 2009 08:13:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jul 2009 08:13:35 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id D6E7C234C045 for <[email protected]>; Tue, 21 Jul 2009 01:13:14 -0700 (PDT) Message-ID: <+1-346-751-9131.1248163994879.JavaMail.jira@brutus> Date: Tue, 21 Jul 2009 01:13:14 -0700 (PDT) From: "Edward J. Yoon (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (HAMA-189) Update the website In-Reply-To: <640500339.1248163514870.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HAMA-189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Edward J. Yoon updated HAMA-189: -------------------------------- Status: Patch Available (was: Open) Running patch through hudson > Update the website > ------------------ > > Key: HAMA-189 > URL: https://issues.apache.org/jira/browse/HAMA-189 > Project: Hama > Issue Type: Task > Components: documentation > Reporter: Edward J. Yoon > Assignee: Edward J. Yoon > Attachments: HAMA-189.patch > > > Add eigenvalue/vector page link and, samuel to committer list. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jul 21 11:46:32 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84183 invoked from network); 21 Jul 2009 11:46:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Jul 2009 11:46:32 -0000 Received: (qmail 50392 invoked by uid 500); 21 Jul 2009 11:47:37 -0000 Delivered-To: [email protected] Received: (qmail 50373 invoked by uid 500); 21 Jul 2009 11:47:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 50363 invoked by uid 99); 21 Jul 2009 11:47:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jul 2009 11:47:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jul 2009 11:47:35 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 86650234C045 for <[email protected]>; Tue, 21 Jul 2009 04:47:15 -0700 (PDT) Message-ID: <1691694227.1248176835549.JavaMail.jira@brutus> Date: Tue, 21 Jul 2009 04:47:15 -0700 (PDT) From: "Hudson (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (HAMA-189) Update the website In-Reply-To: <640500339.1248163514870.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HAMA-189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12733599#action_12733599 ] Hudson commented on HAMA-189: ----------------------------- -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12414082/HAMA-189.patch against trunk revision 793813. @author +1. The patch does not contain any @author tags. tests included -1. The patch doesn't appear to include any new or modified tests. Please justify why no tests are needed for this patch. javadoc +1. The javadoc tool did not generate any warning messages. javac +1. The applied patch does not generate any new javac compiler warnings. release audit +1. The applied patch does not generate any new release audit warnings. findbugs +1. The patch does not introduce any new Findbugs warnings. core tests +1. The patch passed core unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hama-Patch/181/testReport/ Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hama-Patch/181/artifact/trunk/build/reports/findbugs/newPatchFindbugsWarnings.html Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hama-Patch/181/artifact/trunk/build/test/checkstyle-errors.html Console output: http://hudson.zones.apache.org/hudson/job/Hama-Patch/181/console This message is automatically generated. > Update the website > ------------------ > > Key: HAMA-189 > URL: https://issues.apache.org/jira/browse/HAMA-189 > Project: Hama > Issue Type: Task > Components: documentation > Reporter: Edward J. Yoon > Assignee: Edward J. Yoon > Attachments: HAMA-189.patch > > > Add eigenvalue/vector page link and, samuel to committer list. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Jul 21 11:46:32 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84196 invoked from network); 21 Jul 2009 11:46:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Jul 2009 11:46:32 -0000 Received: (qmail 50464 invoked by uid 500); 21 Jul 2009 11:47:37 -0000 Delivered-To: [email protected] Received: (qmail 50444 invoked by uid 500); 21 Jul 2009 11:47:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 50434 invoked by uid 99); 21 Jul 2009 11:47:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jul 2009 11:47:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hudson.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jul 2009 11:47:35 +0000 Received: from hudson.zones.apache.org (localhost [161.129.204.104]) by hudson.zones.apache.org (8.13.8+Sun/8.13.8) with ESMTP id n6LBlER4008111 for <[email protected]>; Tue, 21 Jul 2009 07:47:15 -0400 (EDT) Date: Tue, 21 Jul 2009 11:47:13 +0000 (UTC) From: Apache Hudson Server <[email protected]> To: [email protected] Message-ID: <[email protected]> Subject: Build failed in Hudson: Hama-Patch #181 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org See http://hudson.zones.apache.org/hudson/job/Hama-Patch/181/changes Changes: [edwardyoon] Applying formatter [edwardyoon] Fix broken special character. [edwardyoon] Add test scenario for SVD ------------------------------------------ [...truncated 14957 lines...] [exec] Copying 1 file to /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/tmp [exec] Copying 1 file to /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/tmp [exec] [exec] -------------------------------------------------------------- [exec] Installing plugin: org.apache.forrest.plugin.output.pdf [exec] -------------------------------------------------------------- [exec] [exec] [exec] check-plugin: [exec] org.apache.forrest.plugin.output.pdf is available in the build dir. Trying to update it... [exec] [exec] init-props: [exec] [exec] echo-settings: [exec] [exec] init-proxy: [exec] [exec] fetch-plugins-descriptors: [exec] [exec] fetch-plugin: [exec] Trying to find the description of org.apache.forrest.plugin.output.pdf in the different descriptor files [exec] Using the descriptor file /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/tmp/plugins-1.xml... [exec] Processing /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/tmp/plugins-1.xml to /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/tmp/pluginlist2fetchbuild.xml [exec] Loading stylesheet /zonestorage/hudson/home/nigel/tools/forrest/apache-forrest-0.8/main/var/pluginlist2fetch.xsl [exec] [exec] fetch-local-unversioned-plugin: [exec] [exec] get-local: [exec] Trying to locally get org.apache.forrest.plugin.output.pdf [exec] Looking in local /zonestorage/hudson/home/nigel/tools/forrest/apache-forrest-0.8/plugins [exec] Found ! [exec] [exec] init-build-compiler: [exec] [exec] echo-init: [exec] [exec] init: [exec] [exec] compile: [exec] [exec] jar: [exec] [exec] local-deploy: [exec] Locally deploying org.apache.forrest.plugin.output.pdf [exec] [exec] build: [exec] Plugin org.apache.forrest.plugin.output.pdf deployed ! Ready to configure [exec] [exec] fetch-remote-unversioned-plugin-version-forrest: [exec] [exec] fetch-remote-unversioned-plugin-unversion-forrest: [exec] [exec] has-been-downloaded: [exec] [exec] downloaded-message: [exec] [exec] uptodate-message: [exec] [exec] not-found-message: [exec] Fetch-plugin Ok, installing ! [exec] [exec] unpack-plugin: [exec] [exec] install-plugin: [exec] [exec] configure-plugin: [exec] [exec] configure-output-plugin: [exec] Mounting output plugin: org.apache.forrest.plugin.output.pdf [exec] Processing /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/tmp/output.xmap to /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/tmp/output.xmap.new [exec] Loading stylesheet /zonestorage/hudson/home/nigel/tools/forrest/apache-forrest-0.8/main/var/pluginMountSnippet.xsl [exec] Moving 1 file to /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/tmp [exec] [exec] configure-plugin-locationmap: [exec] Mounting plugin locationmap for org.apache.forrest.plugin.output.pdf [exec] Processing /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/tmp/locationmap.xml to /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/tmp/locationmap.xml.new [exec] Loading stylesheet /zonestorage/hudson/home/nigel/tools/forrest/apache-forrest-0.8/main/var/pluginLmMountSnippet.xsl [exec] Moving 1 file to /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/tmp [exec] [exec] init: [exec] [exec] -prepare-classpath: [exec] [exec] check-contentdir: [exec] [exec] examine-proj: [exec] [exec] validation-props: [exec] [exec] validate-xdocs: [exec] 9 file(s) have been successfully validated. [exec] ...validated xdocs [exec] [exec] validate-skinconf: [exec] 1 file(s) have been successfully validated. [exec] ...validated skinconf [exec] [exec] validate-sitemap: [exec] ...validated project sitemap [exec] [exec] validate-skins-stylesheets: [exec] [exec] validate-skins: [exec] [exec] validate-skinchoice: [exec] ...validated existence of skin 'pelt' [exec] [exec] validate-stylesheets: [exec] [exec] validate: [exec] [exec] site: [exec] [exec] Copying the various non-generated resources to site. [exec] Warnings will be issued if the optional project resources are not found. [exec] This is often the case, because they are optional and so may not be available. [exec] Copying project resources and images to site ... [exec] Warning: /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/webapp/resources not found. [exec] Copied 1 empty directory to 1 empty directory under /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/site [exec] Copying main skin images to site ... [exec] Created dir: /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/site/skin/images [exec] Copying 18 files to /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/site/skin/images [exec] Copying 14 files to /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/site/skin/images [exec] Copying project skin images to site ... [exec] Warning: /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/src/documentation/skins/common/images not found. [exec] Warning: /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/src/documentation/skins/pelt/images not found. [exec] Copying main skin css and js files to site ... [exec] Copying 11 files to /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/site/skin [exec] Copied 4 empty directories to 3 empty directories under /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/site/skin [exec] Copying 4 files to /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/site/skin [exec] Copying project skin css and js files to site ... [exec] Warning: /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/src/documentation/skins/common not found. [exec] Warning: /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/src/documentation/skins/pelt not found. [exec] [exec] Finished copying the non-generated resources. [exec] Now Cocoon will generate the rest. [exec] [exec] Static site will be generated at: [exec] /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/site [exec] [exec] Cocoon will report the status of each document: [exec] - in column 1: *=okay X=brokenLink ^=pageSkipped (see FAQ). [exec] [exec] ------------------------------------------------------------------------ [exec] cocoon 2.2.0-dev [exec] Copyright (c) 1999-2005 Apache Software Foundation. All rights reserved. [exec] Build: December 8 2005 (TargetVM=1.4, SourceVM=1.4, Debug=on, Optimize=on) [exec] ------------------------------------------------------------------------ [exec] [exec] [exec] * [1/20] [20/20] 15.198s 6.8Kb linkmap.html [exec] * [2/19] [0/0] 6.682s 348b skin/images/rc-b-l-15-1body-2menu-3menu.png [exec] * [3/19] [1/20] 1.057s 6.8Kb developers.html [exec] * [6/29] [13/13] 0.805s 12.4Kb skin/screen.css [exec] * [7/28] [0/0] 0.067s 214b skin/images/rc-t-r-5-1header-2searchbox-3searchbox.png [exec] * [8/29] [2/22] 0.536s 8.1Kb index.html [exec] * [9/28] [0/0] 0.026s 199b skin/images/rc-t-l-5-1header-2searchbox-3searchbox.png [exec] * [11/26] [0/0] 0.055s 2.9Kb skin/basic.css [exec] * [13/24] [0/0] 0.0080s 285b images/instruction_arrow.png [exec] * [15/23] [1/20] 0.402s 5.8Kb irc_channel.html [exec] * [16/22] [0/0] 1.617s 4.0Kb irc_channel.pdf [exec] * [17/21] [0/0] 0.028s 1.2Kb skin/print.css [exec] * [18/20] [0/0] 0.26s 5.8Kb developers.pdf [exec] * [19/19] [0/0] 0.022s 390b skin/images/rc-t-r-15-1body-2menu-3menu.png [exec] * [20/18] [0/0] 0.178s 0b images/favicon.ico [exec] * [21/17] [0/0] 0.021s 199b skin/images/rc-t-l-5-1header-2tab-unselected-3tab-unselected.png [exec] * [22/17] [1/19] 0.38s 6.8Kb privacy_policy.html [exec] * [23/16] [0/0] 0.293s 2.1Kb linkmap.pdf [exec] * [24/15] [0/0] 0.026s 214b skin/images/rc-t-r-5-1header-2tab-unselected-3tab-unselected.png [exec] * [25/14] [0/0] 0.208s 7.1Kb index.pdf [exec] * [27/12] [0/0] 0.043s 215b skin/images/rc-t-r-5-1header-2tab-selected-3tab-selected.png [exec] * [28/11] [0/0] 0.126s 4.4Kb privacy_policy.pdf [exec] * [29/10] [0/0] 0.06s 319b skin/images/rc-b-r-15-1body-2menu-3menu.png [exec] * [30/10] [1/19] 0.518s 7.0Kb mailing_lists.html [exec] * [31/9] [0/0] 0.15s 6.9Kb mailing_lists.pdf [exec] * [32/8] [0/0] 0.047s 17.7Kb images/apache-incubator-hama-white.png [exec] * [34/6] [0/0] 0.044s 209b skin/images/rc-t-l-5-1header-2tab-selected-3tab-selected.png [exec] * [36/4] [0/0] 0.023s 1.8Kb images/built-with-forrest-button.png [exec] * [37/3] [0/0] 0.021s 200b skin/images/rc-b-r-5-1header-2tab-selected-3tab-selected.png [exec] * [38/3] [1/20] 0.204s 5.8Kb issue_tracking.html [exec] * [39/2] [0/0] 0.097s 3.7Kb issue_tracking.pdf [exec] * [40/1] [0/0] 0.331s 3.8Kb skin/profile.css [exec] * [41/1] [1/19] 0.443s 7.1Kb who_we_are.html [exec] * [42/0] [0/0] 0.521s 5.8Kb who_we_are.pdf [exec] Total time: 0 minutes 38 seconds, Site size: 140,773 Site pages: 34 [exec] [exec] Copying broken links file to site root. [exec] [exec] Copying 1 file to /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/site [exec] [exec] ----------------------------- [exec] Static site was successfully generated at: [exec] /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build/site [exec] ------------------------------ [exec] [exec] [exec] BUILD SUCCESSFUL [exec] Total time: 1 minute 8 seconds [copy] Copying 76 files to /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/build/docs/site [copy] Copied 7 empty directories to 3 empty directories under /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/build/docs/site [delete] Deleting directory /zonestorage/hudson/home/hudson/hudson/jobs/Hama-Patch/workspace/trunk/src/docs/build BUILD SUCCESSFUL Total time: 24 minutes 22 seconds ====================================================================== ====================================================================== Adding comment to Jira. ====================================================================== ====================================================================== -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12414082/HAMA-189.patch against trunk revision 793813. @author +1. The patch does not contain any @author tags. tests included -1. The patch doesn't appear to include any new or modified tests. Please justify why no tests are needed for this patch. javadoc +1. The javadoc tool did not generate any warning messages. javac +1. The applied patch does not generate any new javac compiler warnings. release audit +1. The applied patch does not generate any new release audit warnings. findbugs +1. The patch does not introduce any new Findbugs warnings. core tests +1. The patch passed core unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hama-Patch/181/testReport/ Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hama-Patch/181/artifact/trunk/build/reports/findbugs/newPatchFindbugsWarnings.html Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hama-Patch/181/artifact/trunk/build/test/checkstyle-errors.html Console output: http://hudson.zones.apache.org/hudson/job/Hama-Patch/181/console This message is automatically generated. ====================================================================== ====================================================================== Finished build. ====================================================================== ====================================================================== Recording test results Description found: HAMA-189 From [email protected] Wed Jul 22 01:10:32 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7062 invoked from network); 22 Jul 2009 01:10:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Jul 2009 01:10:32 -0000 Received: (qmail 9232 invoked by uid 500); 22 Jul 2009 01:11:37 -0000 Delivered-To: [email protected] Received: (qmail 9179 invoked by uid 500); 22 Jul 2009 01:11:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <hama-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 9169 invoked by uid 99); 22 Jul 2009 01:11:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jul 2009 01:11:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jul 2009 01:11:35 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 2A1C629A0011 for <[email protected]>; Tue, 21 Jul 2009 18:11:15 -0700 (PDT) Message-ID: <1745057008.1248225075171.JavaMail.jira@brutus> Date: Tue, 21 Jul 2009 18:11:15 -0700 (PDT) From: "Edward J. Yoon (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (HAMA-189) Update the website In-Reply-To: <640500339.1248163514870.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HAMA-189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Edward J. Yoon updated HAMA-189: -------------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) I just committed this. > Update the website > ------------------ > > Key: HAMA-189 > URL: https://issues.apache.org/jira/browse/HAMA-189 > Project: Hama > Issue Type: Task > Components: documentation > Reporter: Edward J. Yoon > Assignee: Edward J. Yoon > Attachments: HAMA-189.patch > > > Add eigenvalue/vector page link and, samuel to committer list. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
From [email protected] Fri Sep 07 12:35:09 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89543 invoked from network); 7 Sep 2007 12:35:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Sep 2007 12:35:08 -0000 Received: (qmail 20355 invoked by uid 500); 7 Sep 2007 12:35:02 -0000 Delivered-To: [email protected] Received: (qmail 20342 invoked by uid 500); 7 Sep 2007 12:35:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <juddi-user.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 20331 invoked by uid 99); 7 Sep 2007 12:35:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2007 05:35:02 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO py-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2007 12:34:59 +0000 Received: by py-out-1112.google.com with SMTP id a25so952436pyi for <[email protected]>; Fri, 07 Sep 2007 05:34:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=LD2O/edQ7Dj4gMkB5U+FaM7B/gmTkOaaxlJVDdRWoVs=; b=BdonggZP2oVXv5vbcHdcxv7OSohul5a2RZcvF7MPSr8GVy7gsDCpng0eRlFu4hpyQm9o6F/7t67kMneP0+uCasLnSh++AbLQkeGAG14qhZLyqT4osK1GrYtflx74WNSFZhApIdQXIZFBHdVTAdf2dAwFWyJqaxwBqWC6YZzJp/0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=gRzHkw8m3Gdm0/CCTyr3T5wnP7mTw5nlOocXPSeylWZvHiVb/VeMxLf0PvSEDQBiGUdWh593neBL/SkyGBcO4wpn58fNL6EAfFTfk8dOibm/6GzaOQhOcUzM1uSSYtx2mDHDBmnLP/0rsm1mukU6Xw0pRkrdYxZrzmNK+N3Ym30= Received: by 161.129.204.104 with SMTP id f3mr3489201qbk.1189168477892; Fri, 07 Sep 2007 05:34:37 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Fri, 7 Sep 2007 05:34:37 -0700 (PDT) Message-ID: <[email protected]> Date: Fri, 7 Sep 2007 07:34:37 -0500 From: "Casey Huang" <[email protected]> To: [email protected] Subject: juddi registry MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_71523_21617635.1189168477857" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_71523_21617635.1189168477857 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I was trying to set up juddi configuration with JBOSS. When I ran juddihappy.jsp, I was getting the following red message. jUDDI DataSource Validation + Got a JNDI Context! - No 'java:comp/env/jdbc/juddiDB' DataSource Located(Could not dereference object) - DB connection was not aquired. (null) - SELECT COUNT(*) FROM PUBLISHER failed (null) This seems to suggest that the database needs to be configured. Does anyone know how to configure oracle on jboss to set up juddi registry? Thanks in advance. Casey ------=_Part_71523_21617635.1189168477857 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline <p class="MsoNormal" style="margin-bottom: 12pt;">Hi,<br> <br> I was trying to set up juddi configuration with JBOSS. When I ran juddihappy.jsp, I was getting the following red message.</p> <h4>jUDDI DataSource Validation</h4> <pre><span style="color: green;">+ Got a JNDI Context!</span><br><br><span style="color: red;">- No &#39;java:comp/env/jdbc/juddiDB&#39; DataSource Located(Could not dereference object)</span><br><br><span style="color: red;"> - DB connection was not aquired. (null)</span></pre><pre><br><br><span style="color: red;">- SELECT COUNT(*) FROM PUBLISHER failed (null)</span><br><br><br><br>This seems to suggest that the database needs to be configured. Does anyone know how to configure oracle on jboss to set up juddi registry? Thanks in advance. </pre><pre><br><br><br><br><br><br>Casey</pre> <p class="MsoNormal">&nbsp;</p> ------=_Part_71523_21617635.1189168477857-- From [email protected] Mon Sep 10 15:55:20 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82481 invoked from network); 10 Sep 2007 15:55:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Sep 2007 15:55:20 -0000 Received: (qmail 83960 invoked by uid 500); 10 Sep 2007 15:55:14 -0000 Delivered-To: [email protected] Received: (qmail 83813 invoked by uid 500); 10 Sep 2007 15:55:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <juddi-user.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 83802 invoked by uid 99); 10 Sep 2007 15:55:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2007 08:55:13 -0700 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO rwcrmhc12.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2007 15:55:09 +0000 Received: from pacific.stam.lan (c-66-30-95-139.hsd1.ma.comcast.net[161.129.204.104]) by comcast.net (rwcrmhc12) with ESMTP id <20070910155448m1200fi26re>; Mon, 10 Sep 2007 15:54:48 +0000 Received: from [161.129.204.104] (c-66-30-95-139.hsd1.ma.comcast.net [161.129.204.104]) by pacific.stam.lan (8.13.7/8.13.7) with ESMTP id l8AFskkl024221; Mon, 10 Sep 2007 11:54:47 -0400 Message-ID: <[email protected]> Date: Mon, 10 Sep 2007 11:54:06 -0400 From: Kurt T Stam <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20070728) MIME-Version: 1.0 To: [email protected], Casey Huang <[email protected]>, Anil Saldhana <[email protected]> Subject: Re: juddi registry References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: multipart/alternative; boundary="------------020503090103020407090401" X-Virus-Checked: Checked by ClamAV on apache.org --------------020503090103020407090401 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Casey, I think you are trying to use the jUDDI packaged up with JBossAS? If so, can add which version of JBoss? Maybe Anil can shed some light on that. Anil, do we have a place on the JBoss forum for question like these? Cheers, --Kurt Casey Huang wrote: > > Hi, > > I was trying to set up juddi configuration with JBOSS. When I ran > juddihappy.jsp, I was getting the following red message. > > > jUDDI DataSource Validation > > + Got a JNDI Context! > > - No 'java:comp/env/jdbc/juddiDB' DataSource Located(Could not dereference object) > > > - DB connection was not aquired. (null) > > - SELECT COUNT(*) FROM PUBLISHER failed (null) > > > > This seems to suggest that the database needs to be configured. Does anyone know how to configure oracle on jboss to set up juddi registry? Thanks in advance. > > > > > > > Casey > > > -- Kurt T Stam [email protected] --------------020503090103020407090401 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> Casey,<br> <br> I think you are trying to use the jUDDI packaged up with JBossAS? If so, can add which version of JBoss? Maybe Anil can shed some<br> light on that. Anil, do we have a place on the JBoss forum for question like these?<br> <br> Cheers,<br> <br> --Kurt<br> <br> Casey Huang wrote: <blockquote cite="mid:[email protected]" type="cite"> <p class="MsoNormal" style="margin-bottom: 12pt;">Hi,<br> <br> I was trying to set up juddi configuration with JBOSS. When I ran juddihappy.jsp, I was getting the following red message.</p> <h4>jUDDI DataSource Validation</h4> <pre><span style="color: green;">+ Got a JNDI Context!</span> <span style="color: red;">- No 'java:comp/env/jdbc/juddiDB' DataSource Located(Could not dereference object)</span> <span style="color: red;"> - DB connection was not aquired. (null)</span></pre> <pre> <span style="color: red;">- SELECT COUNT(*) FROM PUBLISHER failed (null)</span> This seems to suggest that the database needs to be configured. Does anyone know how to configure oracle on jboss to set up juddi registry? Thanks in advance. </pre> <pre> Casey</pre> <p class="MsoNormal">&nbsp;</p> </blockquote> <br> <pre class="moz-signature" cols="72">-- Kurt T Stam <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> </pre> </body> </html> --------------020503090103020407090401-- From [email protected] Mon Sep 10 16:02:13 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93753 invoked from network); 10 Sep 2007 16:02:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Sep 2007 16:02:12 -0000 Received: (qmail 120 invoked by uid 500); 10 Sep 2007 16:02:05 -0000 Delivered-To: [email protected] Received: (qmail 102 invoked by uid 500); 10 Sep 2007 16:02:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <juddi-user.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 99984 invoked by uid 99); 10 Sep 2007 16:02:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2007 09:02:05 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO py-out-1112.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2007 16:02:03 +0000 Received: by py-out-1112.google.com with SMTP id a25so2526865pyi for <[email protected]>; Mon, 10 Sep 2007 09:01:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=tXgwwFUGxzAaIce2M8Ott6s/+W8U/L7S+33vECmVoDc=; b=Vk0AN+RUlzgGJSijM2ERoZfBoM2S5lKLOMDXJ1Waf/m5krni37SCCFbXMRDo3iIzffbTklNDGGMmcyG617JcLSjD3GXkeyPHjiNpO2Wlp4Z+kH7BoS0wWZrTIJHvIEL5MPDDgj3yXVvR9Eiyd1DbI935r27ZgBVAjYucIwFMtT8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=ryQPzJi/emJRKmMGLCnFUDQzIkzrZTcpwD+I23CzZtBdw2mqVi1rPgKyb8z9+E6SiSXO48SqxiFuVyB9WVUPuoel0H7i4d4W55ZQhBsJiUBS25O33ebGoGaLX2Npms3K/yv3aAVuFXBpP4zjH7wGVJb1j14YEEzlYoFsRPwEfGg= Received: by 161.129.204.104 with SMTP id d12mr9767095qbf.1189440102560; Mon, 10 Sep 2007 09:01:42 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 10 Sep 2007 09:01:42 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 10 Sep 2007 11:01:42 -0500 From: "Casey Huang" <[email protected]> To: [email protected] Subject: Re: juddi registry Cc: "Anil Saldhana" <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_10006_14623026.1189440102537" References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_10006_14623026.1189440102537 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Kurt, Thanks for the reply. I am using JBoss 4.2. Casey On 9/10/07, Kurt T Stam <[email protected]> wrote: > > Casey, > > I think you are trying to use the jUDDI packaged up with JBossAS? If so, > can add which version of JBoss? Maybe Anil can shed some > light on that. Anil, do we have a place on the JBoss forum for question > like these? > > Cheers, > > --Kurt > > Casey Huang wrote: > > Hi, > > I was trying to set up juddi configuration with JBOSS. When I ran > juddihappy.jsp, I was getting the following red message. > jUDDI DataSource Validation > > + Got a JNDI Context! > - No 'java:comp/env/jdbc/juddiDB' DataSource Located(Could not dereference object) > > - DB connection was not aquired. (null) > > - SELECT COUNT(*) FROM PUBLISHER failed (null) > > > > This seems to suggest that the database needs to be configured. Does anyone know how to configure oracle on jboss to set up juddi registry? Thanks in advance. > > > > > > > Casey > > > > > -- > Kurt T Stam > [email protected] > > ------=_Part_10006_14623026.1189440102537 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Kurt,<br><br>Thanks for the reply. I am using JBoss 4.2.<br><br>Casey<br><br><div><span class="gmail_quote">On 9/10/07, <b class="gmail_sendername">Kurt T Stam</b> &lt;<a href="mailto:[email protected]">[email protected]</a> &gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div bgcolor="#ffffff" text="#000000"> Casey,<br> <br> I think you are trying to use the jUDDI packaged up with JBossAS? If so, can add which version of JBoss? Maybe Anil can shed some<br> light on that. Anil, do we have a place on the JBoss forum for question like these?<br> <br> Cheers,<br> <br> --Kurt<div><span class="q" id="q_114f021ce69d65ee_1"><br> <br> Casey Huang wrote: <blockquote type="cite"> <p style="margin-bottom: 12pt;">Hi,<br> <br> I was trying to set up juddi configuration with JBOSS. When I ran juddihappy.jsp, I was getting the following red message.</p> <h4>jUDDI DataSource Validation</h4> <pre><span style="color: green;">+ Got a JNDI Context!</span> <span style="color: red;">- No &#39;java:comp/env/jdbc/juddiDB&#39; DataSource Located(Could not dereference object)</span> <span style="color: red;"> - DB connection was not aquired. (null)</span></pre> <pre><span style="color: red;">- SELECT COUNT(*) FROM PUBLISHER failed (null)</span> This seems to suggest that the database needs to be configured. Does anyone know how to configure oracle on jboss to set up juddi registry? Thanks in advance. </pre> <pre> Casey</pre> <p>&nbsp;</p> </blockquote> <br> </span></div><pre cols="72">-- <br>Kurt T Stam<br><a href="mailto:[email protected]" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">[email protected]</a> </pre> </div> </blockquote></div><br> ------=_Part_10006_14623026.1189440102537-- From [email protected] Fri Sep 21 05:24:57 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87349 invoked from network); 21 Sep 2007 05:24:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Sep 2007 05:24:57 -0000 Received: (qmail 11055 invoked by uid 500); 21 Sep 2007 05:24:48 -0000 Delivered-To: [email protected] Received: (qmail 11035 invoked by uid 500); 21 Sep 2007 05:24:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <juddi-user.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 11024 invoked by uid 99); 21 Sep 2007 05:24:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Sep 2007 22:24:48 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO faplsgeg01.fujitsu.com.sg) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Sep 2007 05:24:47 +0000 Received: from fidmx001.fid.sea.css.fujitsu.com (fidmailer [161.129.204.104]) by faplsgeg01.fujitsu.com.sg (8.13.8/8.13.8) with ESMTP id l8L5Ne0t026331; Fri, 21 Sep 2007 13:24:10 +0800 (envelope-from [email protected]) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C7FC0F.9A93A553" Subject: Unsupported operation problem Date: Fri, 21 Sep 2007 12:20:06 +0700 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Unsupported operation problem Thread-Index: Acf8DxH/bQovFDXhTSWX6fGYhTeIQQ== From: "Reza Harditya" <[email protected]> To: <[email protected]> Cc: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C7FC0F.9A93A553 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Greetings fellow jUDDI users, =20 I keep getting this UnsupportedOperationException for every method call in jUDDI. Below is the stack trace for the problem; =20 ------------------------------------------------------------------------ ------------------------------------------------------------------- java.lang.UnsupportedOperationException: This class does not support SAAJ 1.1 at weblogic.webservice.core.soap.SOAPMessageImpl.setProperty(SOAPMessageImp l.java:642) at org.apache.juddi.registry.AbstractService.doPost(AbstractService.java:34 4) at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(St ubSecurityHelper.java:223) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityH elper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:2 83) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:1 75) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r un(WebAppServletContext.java:3245) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu bject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121 ) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServ letContext.java:2003) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletCont ext.java:1909) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java :1359) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:181) ------------------------------------------------------------------------ ------------------------------------------------------------------- =20 I read somewhere that this problem is due to a bug which relates to the SAAJ implementation and Weblogic platform. However, I wasn't able to find any information that might help solve the problem. =20 Can anyone shed some light on this matter? I'm running on Weblogic 9.2.1. =20 Kind Regards, =20 Reza Harditya PT. Fujitsu Indonesia System Solutions Group Kyoei Prince Building 10th Floor Jl. Jend. Sudirman Kav. 3-4 Jakarta 10220, Indonesia +1-443-360-4031 [email protected] <mailto:[email protected]>=20 =20 ------_=_NextPart_001_01C7FC0F.9A93A553 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"> <o:SmartTagType = namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" name=3D"PostalCode"/> <o:SmartTagType = namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" name=3D"PlaceName"/> <o:SmartTagType = namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" name=3D"PlaceType"/> <o:SmartTagType = namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" name=3D"City"/> <o:SmartTagType = namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" name=3D"place"/> <o:SmartTagType = namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" name=3D"country-region"/> <!--[if !mso]> <style> st1\:*{behavior:url(#default#ieooui) } </style> <![endif]--> <style> <!-- /* Font Definitions */ @font-face {font-family:Batang; panose-1:2 3 6 0 0 1 1 1 1 1;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} @font-face {font-family:"\@Batang"; panose-1:0 0 0 0 0 0 0 0 0 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:Tahoma; color:windowtext; font-weight:normal; font-style:normal; text-decoration:none none;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma'>Greetings fellow jUDDI = users,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma'>I keep getting this UnsupportedOperationException = for every method call in jUDDI. Below is the stack trace for the = problem;<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma'>-----------------------------------------------------= -------------------------------------------------------------------------= -------------<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma'>java.lang.UnsupportedOperationException: This class = does not support SAAJ 1.1<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp; at weblogic.webservice.core.soap.SOAPMessageImpl.setProperty(SOAPMessageImpl= .java:642)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp; at org.apache.juddi.registry.AbstractService.doPost(AbstractService.java:344= )<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp; at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)<o:p></o:p></= span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp; at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)<o:p></o:p></= span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp; at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(Stu= bSecurityHelper.java:223)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp; at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHe= lper.java:125)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp; at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:28= 3)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp; at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:17= 5)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp; at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.ru= n(WebAppServletContext.java:3245)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp; at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSub= ject.java:321)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp; at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)= <o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp; at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServl= etContext.java:2003)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp; at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletConte= xt.java:1909)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp; at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:= 1359)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp; at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)<o:p></o:p></s= pan></font></p> <p class=3DMsoNormal><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp; at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)<o:p></o:p></span>= </font></p> <p class=3DMsoNormal><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma'>-----------------------------------------------------= -------------------------------------------------------------------------= -------------<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma'>I read somewhere that this problem is due to a bug = which relates to the SAAJ implementation and Weblogic platform. However, I = wasn&#8217;t able to find any information that might help solve the = problem.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma'>Can anyone shed some light on this matter? I&#8217;m running on Weblogic 9.2.1.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma'>Kind Regards,</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'>&nbsp;<o:p></o:p></span></font></p> <p class=3DMsoNormal><strong><b><font size=3D2 face=3DTahoma><span = style=3D'font-size: 10.0pt;font-family:Tahoma'>Reza = Harditya</span></font></b></strong><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma'>PT. Fujitsu <st1:country-region = w:st=3D"on"><st1:place = w:st=3D"on">Indonesia</st1:place></st1:country-region></span></font><o:p>= </o:p></p> <p class=3DMsoNormal><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma'>System Solutions Group</span></font><o:p></o:p></p> <p class=3DMsoNormal><st1:place w:st=3D"on"><st1:PlaceName = w:st=3D"on"><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt;font-family:Tahoma'>Kyoei</span></font></st1:Pl= aceName><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt;font-family:Tahoma'> <st1:PlaceName w:st=3D"on">Prince</st1:PlaceName> <st1:PlaceType = w:st=3D"on">Building</st1:PlaceType></span></font></st1:place><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt;font-family:Tahoma'> 10th Floor</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma'>Jl. Jend. Sudirman Kav. = 3-4</span></font><o:p></o:p></p> <p class=3DMsoNormal><st1:place w:st=3D"on"><st1:City w:st=3D"on"><font = size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt;font-family:Tahoma'>Jakarta</span></font></st1:= City><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt;font-family:Tahoma'> <st1:PostalCode w:st=3D"on">10220</st1:PostalCode>, <st1:country-region = w:st=3D"on">Indonesia</st1:country-region></span></font></st1:place><o:p>= </o:p></p> <p class=3DMsoNormal><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:Tahoma'>+1-443-360-4031</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><a href=3D"mailto:[email protected]"><font size=3D2 = face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'>[email protected]= m</span></font></a><o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><o:p>&nbsp;</o:p></span></font></p> </div> </body> </html> ------_=_NextPart_001_01C7FC0F.9A93A553-- From [email protected] Fri Sep 28 16:07:41 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45850 invoked from network); 28 Sep 2007 16:07:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Sep 2007 16:07:40 -0000 Received: (qmail 48909 invoked by uid 500); 28 Sep 2007 16:05:49 -0000 Delivered-To: [email protected] Received: (qmail 48897 invoked by uid 500); 28 Sep 2007 16:05:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <juddi-user.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 48885 invoked by uid 99); 28 Sep 2007 16:05:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Sep 2007 09:05:49 -0700 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=SPF_NEUTRAL,URIBL_BLACK X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO nostromo.hostforweb.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Sep 2007 16:05:47 +0000 Received: from [161.129.204.104] (port=59212 helo=[161.129.204.104]) by nostromo.hostforweb.net with esmtpsa (SSLv3:RC4-MD5:128) (Exim 4.68) (envelope-from <[email protected]>) id 1IbILF-0002rP-Rw for [email protected]; Fri, 28 Sep 2007 11:05:28 -0500 Subject: two businessInfo responses From: Jorge =?ISO-8859-1?Q?Mart=EDn?= Cuervo <[email protected]> To: [email protected] Content-Type: text/plain; charset=UTF-8 Date: Fri, 28 Sep 2007 18:04:34 +0200 Message-Id: <[email protected]> Mime-Version: 1.0 X-Mailer: Evolution 2.8.0 (2.8.0-33.0.1.el5) Content-Transfer-Encoding: quoted-printable X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - nostromo.hostforweb.net X-AntiAbuse: Original Domain - ws.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - defactops.com X-Source: X-Source-Args: X-Source-Dir: X-Virus-Checked: Checked by ClamAV on apache.org Hi all,=20 i've written a bussines entity with: <?xml version=3D"1.0" encoding=3D"UTF-8"?> <soapenv:Envelope xmlns:soapenv=3D"http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <uddiv2:save_business xmlns:uddiv2=3D"urn:uddi-org:api_v2" generic=3D"2.0"> <uddiv2:authInfo>authToken:62C479D0-6DD4-11DC-B018-D0384D2D3236</uddiv2:aut= hInfo> <uddiv2:businessEntity businessKey=3D""> <uddiv2:name>De Facto Standards SL</uddiv2:name> <uddiv2:name>defacto</uddiv2:name> <uddiv2:description>**[jmartin]**</uddiv2:description> </uddiv2:businessEntity> </uddiv2:save_business> </soapenv:Body> </soapenv:Envelope> and later some services, bindings and tModels it has two names, and when i query the repository i've got two businessInfo. is this correct? is because the business entity have two names? <?xml version=3D"1.0" encoding=3D"utf-8"?> <soapenv:Envelope xmlns:soapenv=3D"http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <find_business maxRows=3D"100" generic=3D"2.0" xmlns=3D"urn:uddi-org:api_v2"> <name>%</name> </find_business> </soapenv:Body> </soapenv:Envelope> <?xml version=3D"1.0" encoding=3D"UTF-8"?><soapenv:Envelope xmlns:soapenv=3D"http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <businessList generic=3D"2.0" operator=3D"jUDDI.org" xmlns=3D"urn:uddi-org:api_v2"> <businessInfos> <businessInfo businessKey=3D"6360B9D0-6DD4-11DC-B018-8D0E01FC24D5"> <name>De Facto Standards SL</name> <name>defacto</name> <description>**[jmartin]**</description> <serviceInfos> <serviceInfo businessKey=3D"6360B9D0-6DD4-11DC-B018-8D0E01FC24D5" serviceKey=3D"63CDAC70-6DD4-11DC-B018-D62085271EDE"> <name>ItemsWSService</name> </serviceInfo> <serviceInfo businessKey=3D"6360B9D0-6DD4-11DC-B018-8D0E01FC24D5" serviceKey=3D"647B2A80-6DD4-11DC-B018-F6AB5EB85E65"> <name>SmartCVWSService</name> </serviceInfo> <serviceInfo businessKey=3D"6360B9D0-6DD4-11DC-B018-8D0E01FC24D5" serviceKey=3D"652DD8B0-6DD4-11DC-B018-CE031E417EF4"> <name>SmartCVOtherWSService</name> </serviceInfo> <serviceInfo businessKey=3D"6360B9D0-6DD4-11DC-B018-8D0E01FC24D5" serviceKey=3D"65EC94D0-6DD4-11DC-B018-A90F7968E939"> <name>SmartCVUserWSService</name> </serviceInfo> <serviceInfo businessKey=3D"6360B9D0-6DD4-11DC-B018-8D0E01FC24D5" serviceKey=3D"6693F860-6DD4-11DC-B018-D6975D5368A1"> <name>ProteanWSService</name> </serviceInfo> <serviceInfo businessKey=3D"6360B9D0-6DD4-11DC-B018-8D0E01FC24D5" serviceKey=3D"675E9B60-6DD4-11DC-B018-C07830F6E4DB"> <name>PositionWSService</name> </serviceInfo> <serviceInfo businessKey=3D"6360B9D0-6DD4-11DC-B018-8D0E01FC24D5" serviceKey=3D"67FBC5C0-6DD4-11DC-B018-E208E6A5A890"> <name>EmployerWSService</name> </serviceInfo> <serviceInfo businessKey=3D"6360B9D0-6DD4-11DC-B018-8D0E01FC24D5" serviceKey=3D"68A3C590-6DD4-11DC-B018-821A671B7BA4"> <name>SmartCVEmployerWSService</name> </serviceInfo> <serviceInfo businessKey=3D"6360B9D0-6DD4-11DC-B018-8D0E01FC24D5" serviceKey=3D"6940EFF0-6DD4-11DC-B018-BDF521491CF4"> <name>SmartCVEmployerOtherWSService</name> </serviceInfo> </serviceInfos> </businessInfo> <businessInfo businessKey=3D"6360B9D0-6DD4-11DC-B018-8D0E01FC24D5"> <name>De Facto Standards SL</name> <name>defacto</name> <description>**[jmartin]**</description> <serviceInfos> <serviceInfo businessKey=3D"6360B9D0-6DD4-11DC-B018-8D0E01FC24D5" serviceKey=3D"63CDAC70-6DD4-11DC-B018-D62085271EDE"> <name>ItemsWSService</name> </serviceInfo> <serviceInfo businessKey=3D"6360B9D0-6DD4-11DC-B018-8D0E01FC24D5" serviceKey=3D"647B2A80-6DD4-11DC-B018-F6AB5EB85E65"> <name>SmartCVWSService</name> </serviceInfo> <serviceInfo businessKey=3D"6360B9D0-6DD4-11DC-B018-8D0E01FC24D5" serviceKey=3D"652DD8B0-6DD4-11DC-B018-CE031E417EF4"> <name>SmartCVOtherWSService</name> </serviceInfo> <serviceInfo businessKey=3D"6360B9D0-6DD4-11DC-B018-8D0E01FC24D5" serviceKey=3D"65EC94D0-6DD4-11DC-B018-A90F7968E939"> <name>SmartCVUserWSService</name> </serviceInfo> <serviceInfo businessKey=3D"6360B9D0-6DD4-11DC-B018-8D0E01FC24D5" serviceKey=3D"6693F860-6DD4-11DC-B018-D6975D5368A1"> <name>ProteanWSService</name> </serviceInfo> <serviceInfo businessKey=3D"6360B9D0-6DD4-11DC-B018-8D0E01FC24D5" serviceKey=3D"675E9B60-6DD4-11DC-B018-C07830F6E4DB"> <name>PositionWSService</name> </serviceInfo> <serviceInfo businessKey=3D"6360B9D0-6DD4-11DC-B018-8D0E01FC24D5" serviceKey=3D"67FBC5C0-6DD4-11DC-B018-E208E6A5A890"> <name>EmployerWSService</name> </serviceInfo> <serviceInfo businessKey=3D"6360B9D0-6DD4-11DC-B018-8D0E01FC24D5" serviceKey=3D"68A3C590-6DD4-11DC-B018-821A671B7BA4"> <name>SmartCVEmployerWSService</name> </serviceInfo> <serviceInfo businessKey=3D"6360B9D0-6DD4-11DC-B018-8D0E01FC24D5" serviceKey=3D"6940EFF0-6DD4-11DC-B018-BDF521491CF4"> <name>SmartCVEmployerOtherWSService</name> </serviceInfo> </serviceInfos> </businessInfo> </businessInfos> </businessList> </soapenv:Body> </soapenv:Envelope> --=20 ____________________________________ Jorge Martin Cuervo =20 Outsourcing Emarketplace deFacto Powered by Standards =20 email <[email protected]> voice +1-443-360-4031 voice +1-443-360-4031 ____________________________________ DE FACTO STANDARDS, S.L., le informa que su direcci=C3=B3n de correo electr=C3=B3nico, as=C3=AD como el resto de los datos de car=C3=A1cter pers= onal que nos facilite, ser=C3=A1n objeto de tratamiento automatizado en nuestros ficheros, con la finalidad del env=C3=ADo de informaci=C3=B3n comercial y/o personal por v=C3=ADa electr=C3=B3nica. Vd. podr=C3=A1 en cualquier momento= ejercer el derecho de acceso, rectificaci=C3=B3n, cancelaci=C3=B3n y oposici=C3=B3n en= los t=C3=A9rminos establecidos en la Ley Org=C3=A1nica de Protecci=C3=B3n de Da= tos de Car=C3=A1cter Personal (LOPD. 15/1999), dirigiendo un escrito a C/ Guti=C3=A9rrez Herrero (Centro De Empresas 'La Curtidora'), 52 - oficina 20= 7 - 33402 AVILES (Asturias), o a nuestra direcci=C3=B3n de correo electr=C3= =B3nico ([email protected]). Tambi=C3=A9n informamos que la informaci=C3=B3n inclu= ida en este e-mail es CONFIDENCIAL, siendo para uso exclusivo del destinatario arriba mencionado. Si Usted lee este mensaje y no es el destinatario indicado, le informamos que est=C3=A1 totalmente prohibida cualquier utilizaci=C3=B3n, divulgaci=C3=B3n, distribuci=C3=B3n y/o reproducci=C3=B3n= de esta comunicaci=C3=B3n sin autorizaci=C3=B3n expresa en virtud de la legislaci= =C3=B3n vigente. Si ha recibido este mensaje por error, le rogamos nos lo notifique inmediatamente por esta misma v=C3=ADa y proceda a su eliminaci= =C3=B3n. This e-mail contains information that will be added to our computerised guest data base and will be trated in the strict confidence. If you wish to access, correct, oppose or cancel your details, as specified the Law 15/99, December 13th, please send a certified letter to this effect to DE FACTO STANDARDS, S.L.., (C/ Guti=C3=A9rrez Herrero (Centro De Empresas 'La Curtidora'), 52 - oficina 207 33402 AVILES (Asturias) SPAIN). If you read this message, and is not the destinatary, we informal you that is forbidden anything utility, distribution, divulgation or reproduction of this communication without express authorization, of the present law. If you received this message for mistake, we proud in order to the present law, immediate communication to us, and please erase this e-mail --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
From [email protected] Mon Mar 06 18:35:58 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82476 invoked from network); 6 Mar 2006 18:35:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Mar 2006 18:35:57 -0000 Received: (qmail 31937 invoked by uid 500); 6 Mar 2006 18:36:41 -0000 Delivered-To: [email protected] Received: (qmail 31769 invoked by uid 500); 6 Mar 2006 18:36:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <docs-cvs.perl.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 31722 invoked by uid 99); 6 Mar 2006 18:36:40 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Mar 2006 10:36:40 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 06 Mar 2006 10:36:39 -0800 Received: (qmail 82358 invoked by uid 65534); 6 Mar 2006 18:35:31 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r383612 - /perl/modperl/docs/trunk/src/docs/2.0/user/config/config.pod Date: Mon, 06 Mar 2006 18:35:26 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: gozer Date: Mon Mar 6 10:35:21 2006 New Revision: 383612 URL: http://svn.apache.org/viewcvs?rev=383612&view=rev Log: Small typo fix. Submitted-By: Fred Moyer <[email protected]> Modified: perl/modperl/docs/trunk/src/docs/2.0/user/config/config.pod Modified: perl/modperl/docs/trunk/src/docs/2.0/user/config/config.pod URL: http://svn.apache.org/viewcvs/perl/modperl/docs/trunk/src/docs/2.0/user/config/config.pod?rev=383612&r1=383611&r2=383612&view=diff ============================================================================== --- perl/modperl/docs/trunk/src/docs/2.0/user/config/config.pod (original) +++ perl/modperl/docs/trunk/src/docs/2.0/user/config/config.pod Mon Mar 6 10:35:21 2006 @@ -201,7 +201,7 @@ C<L<PerlModule|/C_PerlModule_>>, in a sense that it loads a module. The difference is that it's used to triggers L<an early Perl startup|docsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.acf:4db6:5e0b:f386:43a5:35d7:718d:3c8buseracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bhandlersacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bserver/mod_perl_Startup>. This can -be usefull for modules that need to be loaded early, as is the case +be useful for modules that need to be loaded early, as is the case for modules that implement L<new Apache directives|docsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.acf:4db6:5e0b:f386:43a5:35d7:718d:3c8buseracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bonfigacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bustom>, which are needed during the configuration phase. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Mar 06 19:07:34 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99716 invoked from network); 6 Mar 2006 19:07:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Mar 2006 19:07:33 -0000 Received: (qmail 98445 invoked by uid 500); 6 Mar 2006 19:08:20 -0000 Delivered-To: [email protected] Received: (qmail 98428 invoked by uid 500); 6 Mar 2006 19:08:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <docs-cvs.perl.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 98417 invoked by uid 99); 6 Mar 2006 19:08:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Mar 2006 11:08:19 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 06 Mar 2006 11:08:19 -0800 Received: (qmail 99529 invoked by uid 65534); 6 Mar 2006 19:07:11 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r383625 - /perl/modperl/docs/trunk/doap_Perl.rdf Date: Mon, 06 Mar 2006 19:07:11 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: gozer Date: Mon Mar 6 11:07:08 2006 New Revision: 383625 URL: http://svn.apache.org/viewcvs?rev=383625&view=rev Log: Add release information Modified: perl/modperl/docs/trunk/doap_Perl.rdf Modified: perl/modperl/docs/trunk/doap_Perl.rdf URL: http://svn.apache.org/viewcvs/perl/modperl/docs/trunk/doap_Perl.rdf?rev=383625&r1=383624&r2=383625&view=diff ============================================================================== --- perl/modperl/docs/trunk/doap_Perl.rdf (original) +++ perl/modperl/docs/trunk/doap_Perl.rdf Mon Mar 6 11:07:08 2006 @@ -33,6 +33,21 @@ <mailing-list rdf:resource="http://perl.apache.org/maillist/index.html"/> + <release> + <Version> + <name>mod_perl 2.0</name> + <created>2005-10-20</created> + <revision>2.0.2</revision> + </Version> + </release> + <release> + <Version> + <name>mod_perl 1.0</name> + <created>2003-10-7</created> + <revision>1.29</revision> + </Version> + </release> + </Project> </rdf:RDF> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Mar 07 19:03:57 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 55982 invoked from network); 7 Mar 2006 19:03:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Mar 2006 19:03:56 -0000 Received: (qmail 58366 invoked by uid 500); 7 Mar 2006 19:03:56 -0000 Delivered-To: [email protected] Received: (qmail 58338 invoked by uid 500); 7 Mar 2006 19:03:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <docs-cvs.perl.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 58327 invoked by uid 99); 7 Mar 2006 19:03:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Mar 2006 11:03:55 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 07 Mar 2006 11:03:55 -0800 Received: (qmail 55694 invoked by uid 65534); 7 Mar 2006 19:03:34 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r383959 - in /perl/modperl/docs/trunk/src/docs/2.0/user: coding/coding.pod handlers/filters.pod help/help.pod porting/compat.pod Date: Tue, 07 Mar 2006 19:03:33 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: stas Date: Tue Mar 7 11:03:33 2006 New Revision: 383959 URL: http://svn.apache.org/viewcvs?rev=383959&view=rev Log: remove the traces of 1.99_xx, we are [email protected] submitted by: Jonathan Vanasco <[email protected]> Modified: perl/modperl/docs/trunk/src/docs/2.0/user/coding/coding.pod perl/modperl/docs/trunk/src/docs/2.0/user/handlers/filters.pod perl/modperl/docs/trunk/src/docs/2.0/user/help/help.pod perl/modperl/docs/trunk/src/docs/2.0/user/porting/compat.pod Modified: perl/modperl/docs/trunk/src/docs/2.0/user/coding/coding.pod URL: http://svn.apache.org/viewcvs/perl/modperl/docs/trunk/src/docs/2.0/user/coding/coding.pod?rev=383959&r1=383958&r2=383959&view=diff ============================================================================== --- perl/modperl/docs/trunk/src/docs/2.0/user/coding/coding.pod (original) +++ perl/modperl/docs/trunk/src/docs/2.0/user/coding/coding.pod Tue Mar 7 11:03:33 2006 @@ -131,7 +131,7 @@ C<$ENV{MOD_PERL}> - is set to the mod_perl version the server is running under. e.g.: - mod_perl/1.99_03-dev + mod_perl/2.000002 If C<$ENV{MOD_PERL}> doesn't exist, most likely you are not running under mod_perl. Modified: perl/modperl/docs/trunk/src/docs/2.0/user/handlers/filters.pod URL: http://svn.apache.org/viewcvs/perl/modperl/docs/trunk/src/docs/2.0/user/handlers/filters.pod?rev=383959&r1=383958&r2=383959&view=diff ============================================================================== --- perl/modperl/docs/trunk/src/docs/2.0/user/handlers/filters.pod (original) +++ perl/modperl/docs/trunk/src/docs/2.0/user/handlers/filters.pod Tue Mar 7 11:03:33 2006 @@ -1510,9 +1510,9 @@ >>> connection output filter o bucket 1: HEAP [HTTP/1.1 200 OK - Date: Fri, 04 Jun 2004 09:13:26 GMT - Server: Apache/2.0.50-dev (Unix) mod_perl/1.99_15-dev - Perl/v5.8.4 mod_ssl/2.0.50-dev OpenSSL/0.9.7c DAV/2 + Date: Tue, 07 Mar 2006 10:59:08 GMT + Server: Apache/2.0.55 (Unix) mod_perl/2.000002 + Perl/v5.8.4 mod_ssl/2.0.55 OpenSSL/0.9.7c DAV/2 Connection: close Transfer-Encoding: chunked Content-Type: text/plain; charset=ISO-8859-1 Modified: perl/modperl/docs/trunk/src/docs/2.0/user/help/help.pod URL: http://svn.apache.org/viewcvs/perl/modperl/docs/trunk/src/docs/2.0/user/help/help.pod?rev=383959&r1=383958&r2=383959&view=diff ============================================================================== --- perl/modperl/docs/trunk/src/docs/2.0/user/help/help.pod (original) +++ perl/modperl/docs/trunk/src/docs/2.0/user/help/help.pod Tue Mar 7 11:03:33 2006 @@ -192,13 +192,13 @@ Do the following: - % cd modperl-1.99_xx + % cd modperl-2.0.xx % make test TEST_VERBOSE=1 \ TEST_FILES="compat/apache_util.t modperl/pnotes.t" or use an alternative way: - % cd modperl-1.99_xx + % cd modperl-2.0.xx % t/TEST -clean % t/TEST -verbose compat/apache_util.t modperl/pnotes.t @@ -218,7 +218,7 @@ I<t/logs/error_log> file and re-run tests in the verbose mode. For example: - % cd modperl-1.99_xx/ModPerl-Registry + % cd modperl-2.0.xx/ModPerl-Registry % t/TEST -clean % t/TEST -verbose closure.t Modified: perl/modperl/docs/trunk/src/docs/2.0/user/porting/compat.pod URL: http://svn.apache.org/viewcvs/perl/modperl/docs/trunk/src/docs/2.0/user/porting/compat.pod?rev=383959&r1=383958&r2=383959&view=diff ============================================================================== --- perl/modperl/docs/trunk/src/docs/2.0/user/porting/compat.pod (original) +++ perl/modperl/docs/trunk/src/docs/2.0/user/porting/compat.pod Tue Mar 7 11:03:33 2006 @@ -489,7 +489,7 @@ Instead use C<$ENV{MOD_PERL}> (available in both mod_perl generations), which is set to the mod_perl version, like so: - mod_perl/1.99_03-dev + mod_perl/2.000002 Therefore in order to check whether you are running under mod_perl, you'd say: @@ -1816,7 +1816,7 @@ Here is how to write a simple I<Makefile.PL> for modules wanting to build XS code against mod_perl 2.0: - use mod_perl 1.99; + use mod_perl 2.0; use ModPerlacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bMM (); ModPerlacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bMMacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bWriteMakefile( --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Mar 09 20:18:02 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47941 invoked from network); 9 Mar 2006 20:18:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Mar 2006 20:18:01 -0000 Received: (qmail 39435 invoked by uid 500); 9 Mar 2006 20:18:01 -0000 Delivered-To: [email protected] Received: (qmail 39413 invoked by uid 500); 9 Mar 2006 20:18:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <docs-cvs.perl.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 39390 invoked by uid 99); 9 Mar 2006 20:18:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Mar 2006 12:18:00 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 09 Mar 2006 12:17:59 -0800 Received: (qmail 47619 invoked by uid 65534); 9 Mar 2006 20:17:38 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r384597 - in /perl/modperl/docs/trunk/src/docs/2.0/api/Apache2: Access.pod CmdParms.pod RequestUtil.pod Date: Thu, 09 Mar 2006 20:17:37 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: gozer Date: Thu Mar 9 12:17:36 2006 New Revision: 384597 URL: http://svn.apache.org/viewcvs?rev=384597&view=rev Log: Document the new override_opts as well as the optionnal 4th argument to the various add_config() methods. Submitted-By: Torsten Foertsch <[email protected]> Reviewed-By: Gozer Modified: perl/modperl/docs/trunk/src/docs/2.0/api/Apache2/Access.pod perl/modperl/docs/trunk/src/docs/2.0/api/Apache2/CmdParms.pod perl/modperl/docs/trunk/src/docs/2.0/api/Apache2/RequestUtil.pod Modified: perl/modperl/docs/trunk/src/docs/2.0/api/Apache2/Access.pod URL: http://svn.apache.org/viewcvs/perl/modperl/docs/trunk/src/docs/2.0/api/Apache2/Access.pod?rev=384597&r1=384596&r2=384597&view=diff ============================================================================== --- perl/modperl/docs/trunk/src/docs/2.0/api/Apache2/Access.pod (original) +++ perl/modperl/docs/trunk/src/docs/2.0/api/Apache2/Access.pod Thu Mar 9 12:17:36 2006 @@ -20,6 +20,9 @@ # Apache AllowOverride value $allow_override = $r->allow_overrides(); + # which Options are allowed by AllowOverride (since Apache 2.2) + $allow_override_opts = $r->allow_override_opts(); + # auth name ("foo bar") $auth_name = $r->auth_name(); @@ -193,6 +196,54 @@ use Apachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bConst -compile => qw(:override); $r->allow_overrides & Apachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bConstacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bOR_AUTHCFG; # TRUE $r->allow_overrides & Apachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bConstacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bOR_LIMIT; # FALSE + + + + + + +=head2 C<allow_override_opts> + +Retrieve the bitmask of allowed C<Options> set by C<AllowOverride Options=...> +for this request + + $override_opts = $r->allow_override_opts(); + +Enabling single options was introduced in Apache 2.2. For Apache 2.0 this +function returns +C<L<Apachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bConstacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bOPT_UNSET|docsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bapiacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bpachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bConst/C_Apache2__Const__OPT_UNSET_>> | +C<L<Apachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bConstacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bOPT_ALL|docsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bapiacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bpachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bConst/C_Apache2__Const__OPT_ALL_>> | +C<L<Apachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bConstacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bOPT_INCNOEXEC|docsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bapiacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bpachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bConst/C_Apache2__Const__OPT_INCNOEXEC_>> | +C<L<Apachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bConstacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bOPT_SYM_OWNER|docsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bapiacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bpachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bConst/C_Apache2__Const__OPT_SYM_OWNER_>> | +C<L<Apachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bConstacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bOPT_MULTI|docsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bapiacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bpachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bConst/C_Apache2__Const__OPT_MULTI_>>, +which corresponds to the default value (if not set) for Apache 2.2. + +=over 4 + +=item obj: C<$r> +( C<L<Apachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bRequestRec object|docsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bapiacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bpachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bRequestRec>> ) + +The current request + +=item ret: C<$override_opts> ( integer ) + +the override options bitmask. Normally used with bitlogic operators +against C<L<Apachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bConst :options +constants|docsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bapiacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bpachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bConst/C__options_>>. + +=item since: 2.0.3 + +=back + +For example if the configuration for the current request was: + + AllowOverride Options=Indexes,ExecCGI + +The following applies: + + use Apachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bConst -compile => qw(:options); + $r->allow_override_opts & Apachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bConstacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bOPT_EXECCGI; # TRUE + $r->allow_override_opts & Apachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bConstacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bOPT_SYM_LINKS; # FALSE Modified: perl/modperl/docs/trunk/src/docs/2.0/api/Apache2/CmdParms.pod URL: http://svn.apache.org/viewcvs/perl/modperl/docs/trunk/src/docs/2.0/api/Apache2/CmdParms.pod?rev=384597&r1=384596&r2=384597&view=diff ============================================================================== --- perl/modperl/docs/trunk/src/docs/2.0/api/Apache2/CmdParms.pod (original) +++ perl/modperl/docs/trunk/src/docs/2.0/api/Apache2/CmdParms.pod Thu Mar 9 12:17:36 2006 @@ -48,6 +48,9 @@ # which allow-override bits are set $override = $parms->override; + # which Options are allowed by AllowOverride (since Apache 2.2) + $override = $parms->override_opts; + # the path this command is being invoked in $path = $parms->path; @@ -306,6 +309,37 @@ unless ($wanted == $masked) { die "..."; } + + + + + + + +=head2 C<override_opts> + +Which options are allowed to be overridden by C<.htaccess> files. This is +set by C<AllowOverride Options=...>. + + $override_opts = $parms->override_opts; + +Enabling single options was introduced with Apache 2.2. For Apache 2.0 this +function simply returns a bitmask with all options allowed. + +=over 4 + +=item obj: C<$parms> +( C<L<Apachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bCmdParms object|docsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bapiacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bpachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bCmdParms>> ) + +=item ret: C<$override_opts> ( bitmask ) + +the bitmask, which can be tested against +C<L<Apachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bConst :options +constants|docsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bapiacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bpachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bConst/C__override_>>. + +=item since: 2.0.3 + +=back Modified: perl/modperl/docs/trunk/src/docs/2.0/api/Apache2/RequestUtil.pod URL: http://svn.apache.org/viewcvs/perl/modperl/docs/trunk/src/docs/2.0/api/Apache2/RequestUtil.pod?rev=384597&r1=384596&r2=384597&view=diff ============================================================================== --- perl/modperl/docs/trunk/src/docs/2.0/api/Apache2/RequestUtil.pod (original) +++ perl/modperl/docs/trunk/src/docs/2.0/api/Apache2/RequestUtil.pod Thu Mar 9 12:17:36 2006 @@ -109,6 +109,7 @@ $r->add_config($lines); $r->add_config($lines, $override); $r->add_config($lines, $override, $path); + $r->add_config($lines, $override, $path, $override_opts); Configuration directives are processed as if given in a C<E<lt>LocationE<gt>> block. @@ -123,8 +124,8 @@ An ARRAY reference containing configuration lines per element, without the new line terminators. -=item opt arg2: C<$override> ( C<L<APRacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bonst status -constant|docsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bapiacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bPRacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bonst>> ) +=item opt arg2: C<$override> ( C<L<Apachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bConst override +constant|docsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bapiacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bpachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bConst>> ) Which allow-override bits are set @@ -137,11 +138,59 @@ This is the path of the C<E<lt>LocationE<gt>> block. Some directives need this, for example C<ProxyPassReverse>. +If an empty string is passed a C<NULL> pointer is passed [email protected]. +This is necessary to make something like this work: + + $r->add_config( [ + '<Directory />', + 'AllowOverride Options AuthConfig', + '</Directory>', + ], ~0, '' ); + +Note: C<AllowOverride> is valid only in directory context. + +B<Caution:> Some directives need a non-empty path otherwise they cause +segfaults. Thus, use the empty path with caution. + Default value is: C</> +=item opt arg4: C<$override_opts> ( C<L<Apachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bConst options +constant|docsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bapiacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bpachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bConst>> ) + +Apache limits the applicable directives in certain situations with +C<AllowOverride>. With Apache 2.2 comes the possibility to enable or +disable single options, for example + + AllowOverride AuthConfig Options=ExecCGI,Indexes + +Internally, this directive is parsed into 2 bit fields that are represented +by the C<$override> and C<$override_opts> parameters to C<add_config>. +The above example is parsed into an C<$override> with 2 bits set, one for +C<AuthConfig> the other for C<Options> and an C<$override_opts> with +2 bits set for ExecCGI and Indexes. + +When applying other directives, for example C<AuthType> or C<Options> the +appropriate bits in C<$override> must be set. For the C<Options> directive +additionally C<$override_opts> bits must be set. + +The C<$override> and C<$override_opts> parameters to C<add_config> are +valid while applying C<$lines>. + +C<$override_opts> is new in Apache 2.2. The mod_perl implementation for +Apache 2.0 lets you pass the parameter but ignores it. + +Default for C<$override_opts> is: +C<L<Apachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bConstacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bOPT_UNSET|docsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bapiacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bpachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bConst/C_Apache2__Const__OPT_UNSET_>> | +C<L<Apachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bConstacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bOPT_ALL|docsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bapiacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bpachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bConst/C_Apache2__Const__OPT_ALL_>> | +C<L<Apachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bConstacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bOPT_INCNOEXEC|docsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bapiacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bpachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bConst/C_Apache2__Const__OPT_INCNOEXEC_>> | +C<L<Apachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bConstacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bOPT_SYM_OWNER|docsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bapiacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bpachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bConst/C_Apache2__Const__OPT_SYM_OWNER_>> | +C<L<Apachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bConstacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bOPT_MULTI|docsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b.acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bapiacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bpachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bConst/C_Apache2__Const__OPT_MULTI_>> + +That means, all options are allowed. + =item ret: no return value -=item since: 2.0.00 +=item since: 2.0.00, C<$path> and C<$override_opts> since 2.0.3 =back @@ -150,10 +199,16 @@ For example: - use Apachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bServerUtil (); - $r->add_config(['require valid-user']); + use Apachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bRequestUtil (); + use Apachacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bAccess (); + $r->add_config(['require valid-user']); + # this regards the current AllowOverride setting + $r->add_config(['AuthName secret', + 'AuthType Basic', + 'Options ExecCGI'], + $r->allow_override, $path, $r->allow_override_opts); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Mar 10 15:25:23 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66508 invoked from network); 10 Mar 2006 15:25:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Mar 2006 15:25:17 -0000 Received: (qmail 11469 invoked by uid 500); 10 Mar 2006 15:25:06 -0000 Delivered-To: [email protected] Received: (qmail 11325 invoked by uid 500); 10 Mar 2006 15:25:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <docs-cvs.perl.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 11269 invoked by uid 99); 10 Mar 2006 15:25:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Mar 2006 07:25:05 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 10 Mar 2006 07:25:04 -0800 Received: (qmail 65660 invoked by uid 65534); 10 Mar 2006 15:24:09 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r384814 - /perl/modperl/docs/trunk/src/products/app-server.pod Date: Fri, 10 Mar 2006 15:24:08 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: fwiles Date: Fri Mar 10 07:24:06 2006 New Revision: 384814 URL: http://svn.apache.org/viewcvs?rev=384814&view=rev Log: Added Gantry (www.usegantry.org) to Application Servers and Toolkits page. Modified: perl/modperl/docs/trunk/src/products/app-server.pod Modified: perl/modperl/docs/trunk/src/products/app-server.pod URL: http://svn.apache.org/viewcvs/perl/modperl/docs/trunk/src/products/app-server.pod?rev=384814&r1=384813&r2=384814&view=diff ============================================================================== --- perl/modperl/docs/trunk/src/products/app-server.pod (original) +++ perl/modperl/docs/trunk/src/products/app-server.pod Fri Mar 10 07:24:06 2006 @@ -103,6 +103,23 @@ especially useful for creating HTML, including dynamic tables, form field processing, URL escaping/unescaping, session handling, and more. +=head1 Gantry + +C<Gantry> (http://www.usegantry.org) is a web application framework for +Apache/mod_perl, CGI and Fast-CGI. Gantry's object oriented design allows +for a pragmatic, modular approach to URL dispatching. Gantry supports MVC +and initiates rapid development, offering an organized coding scheme for +web applications. + +It can take advantage of its sister project C<Bigtop>, which allows +you to describe the data of your application and have it generate +or regenerate your database schema and module objects without destroying +the portions you have customized. + +Gantry also has a robust configuration abstraction layer C<Gantryacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bonf> +that allows you to change how your application retrieves its configuration +data without requiring any code changes. + =head1 Interchange C<Interchange> (http://www.icdevgroup.org/) is a flexible, high --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Mar 15 01:48:26 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 72254 invoked from network); 15 Mar 2006 01:48:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Mar 2006 01:48:26 -0000 Received: (qmail 502 invoked by uid 500); 15 Mar 2006 01:48:26 -0000 Delivered-To: [email protected] Received: (qmail 480 invoked by uid 500); 15 Mar 2006 01:48:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <docs-cvs.perl.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 469 invoked by uid 99); 15 Mar 2006 01:48:25 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Mar 2006 17:48:25 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 14 Mar 2006 17:48:24 -0800 Received: (qmail 71917 invoked by uid 65534); 15 Mar 2006 01:48:03 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r385948 - /perl/modperl/docs/trunk/src/docs/offsite/articles.pod Date: Wed, 15 Mar 2006 01:48:02 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: fwiles Date: Tue Mar 14 17:47:59 2006 New Revision: 385948 URL: http://svn.apache.org/viewcvs?rev=385948&view=rev Log: Fixed several typos in src/docs/offsite/articles.pod and added my article on using ModPerlacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bParamBuilder. Modified: perl/modperl/docs/trunk/src/docs/offsite/articles.pod Modified: perl/modperl/docs/trunk/src/docs/offsite/articles.pod URL: http://svn.apache.org/viewcvs/perl/modperl/docs/trunk/src/docs/offsite/articles.pod?rev=385948&r1=385947&r2=385948&view=diff ============================================================================== --- perl/modperl/docs/trunk/src/docs/offsite/articles.pod (original) +++ perl/modperl/docs/trunk/src/docs/offsite/articles.pod Tue Mar 14 17:47:59 2006 @@ -106,8 +106,8 @@ =item * -C<Linux & C.> (italian magazine), March-July 2002, I<Apache/mod_perl: an -appplication server open source>, by I<Enrico Sorcinelli>. Five mod_perl +C<Linux & C.> (Italian magazine), March-July 2002, I<Apache/mod_perl: an +application server open source>, by I<Enrico Sorcinelli>. Five mod_perl tutorial articles available at: http://www.perl.it/documenti/articoli/mod_perl1/tutorial/ . @@ -122,7 +122,7 @@ mod_perl [email protected] http://www.perl.com/pub/q/Article_Archive#mod_perl (better use search -and you will find other mod_perl articles which weren't catalogued +and you will find other mod_perl articles which weren't cataloged under mod_perl category) Articles by David E. Wheeler: http://www.oreillynet.com/pub/au/1059 @@ -157,8 +157,8 @@ =item * Linux Journal ( http://www.linuxjournal.com/ ) features an article -called "Web watch: Catching Spiders with Bottrap" in which the authour -introduces Bottrap, a mod_perl module used to vut off crawlers and +called "Web watch: Catching Spiders with Bottrap" in which the author +introduces Bottrap, a mod_perl module used to cut off crawlers and bots. http://www.linuxjournal.com/article.php?sid=5861 =item * @@ -213,6 +213,12 @@ "Debugging mod_perl with a symbol audit", a tutorial on how to debug mod_perl by looking at the symbol table. http://builder.com.com/5100-6371-1058784.html + +=item * + +"Using ModPerlacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bParamBuilder to make custom Apache directives" by Frank Wiles +walks you through how easy it is to create your own custom Apache directives. +http://www.revsys.com/writings/modperl/ModPerl-ParamBuilder/ =back --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Mar 15 01:58:38 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76708 invoked from network); 15 Mar 2006 01:58:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Mar 2006 01:58:38 -0000 Received: (qmail 3715 invoked by uid 500); 15 Mar 2006 01:58:37 -0000 Delivered-To: [email protected] Received: (qmail 3702 invoked by uid 500); 15 Mar 2006 01:58:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <docs-cvs.perl.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 3680 invoked by uid 99); 15 Mar 2006 01:58:37 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Mar 2006 17:58:37 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 14 Mar 2006 17:58:35 -0800 Received: (qmail 76595 invoked by uid 65534); 15 Mar 2006 01:58:15 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r385950 - /perl/modperl/docs/trunk/src/outstanding/sites.html Date: Wed, 15 Mar 2006 01:58:14 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: fwiles Date: Tue Mar 14 17:58:13 2006 New Revision: 385950 URL: http://svn.apache.org/viewcvs?rev=385950&view=rev Log: Fixed several misspellings. Modified: perl/modperl/docs/trunk/src/outstanding/sites.html Modified: perl/modperl/docs/trunk/src/outstanding/sites.html URL: http://svn.apache.org/viewcvs/perl/modperl/docs/trunk/src/outstanding/sites.html?rev=385950&r1=385949&r2=385950&view=diff ============================================================================== --- perl/modperl/docs/trunk/src/outstanding/sites.html (original) +++ perl/modperl/docs/trunk/src/outstanding/sites.html Tue Mar 14 17:58:13 2006 @@ -87,7 +87,7 @@ sybperl. Now with mod_perl, I have successfully cut the time to complete a lookup from nearly 5 seconds to under 1 second (It takes longer to display the data than to do the query). This was -accomplished by creating persistant database connections (to sybase) +accomplished by creating persistent database connections (to sybase) using mod_perl, and Apache is now able to establish those connections upon startup. No longer do I have to wait for my original scripts to connect and gather data. </p> @@ -183,11 +183,11 @@ <b>Picture database:</b> Gerald Richter and ECOS are using mod_perl (with Embperl) for a picture database. This contains pictures from -touristic information Rheinland-Pfalz. It's intented as press +touristic information Rheinland-Pfalz. It's intended as press information, to reduce the need of sending photographs around. You can view and search the picture via the <a href="http://bilder.ecos.de">internet</a> or via a direct dial-in. The -download is only available for vaild users and via direct +download is only available for valid users and via direct dial-in. Also it's possible to maintain the database via the web and insert new pictures and descriptions, change or delete them. It is running Apache 1.3, mod_perl, <a @@ -278,11 +278,11 @@ <p> Jayme Cox explains that at Broderbund Software, we have a site running -mod_perl to keep persistant database connections open between our +mod_perl to keep persistent database connections open between our Apache web farm and our Oracle database server. We have a <a href="http://www.warlords3.com">game site</a> that checks our Oracle DB for a customers email address and lets them download additional -game maps if they have registered the software. Using persistant DB +game maps if they have registered the software. Using persistent DB connections increased the perceived response time by over 200%. </p> @@ -329,7 +329,7 @@ Netscape servers and dbms for authentication. We were writing all our demographic info to flat files but that got out of hand so we moved the demo info to Informix. This was okay but it meant keeping two -seperate databases (dbms or Berkely DB with username/password and +separate databases (dbms or Berkeley DB with username/password and Informix with demographics). Not fun. So when we switched to Apache (for performance reasons) I was able to consolidate all the info and do authentication out of Informix thanks to mod_perl, @@ -337,7 +337,7 @@ <tt>acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bInformix</tt>. It makes life much simpler! We're also eventually going to be running our Eats Database (list over 1400 restaurants in Austin) and our movie database with mod_perl. I'm sure -we'll find alot more uses for it in the future. +we'll find a lot more uses for it in the future. </p> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Mar 21 05:51:03 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38898 invoked from network); 21 Mar 2006 05:51:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Mar 2006 05:51:02 -0000 Received: (qmail 17031 invoked by uid 500); 21 Mar 2006 05:51:01 -0000 Delivered-To: [email protected] Received: (qmail 17009 invoked by uid 500); 21 Mar 2006 05:51:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <docs-cvs.perl.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 16998 invoked by uid 99); 21 Mar 2006 05:51:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Mar 2006 21:51:00 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 20 Mar 2006 21:51:00 -0800 Received: (qmail 38702 invoked by uid 65534); 21 Mar 2006 05:50:38 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r387431 - /perl/modperl/docs/trunk/bin/site_build Date: Tue, 21 Mar 2006 05:50:37 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: pgollucci Date: Mon Mar 20 21:50:35 2006 New Revision: 387431 URL: http://svn.apache.org/viewcvs?rev=387431&view=rev Log: minotaur had its perl upgraded today 5.8.7 -> 5.8.8 Note, this also picks up the sprintf buffer overlflow fixes Modified: perl/modperl/docs/trunk/bin/site_build Modified: perl/modperl/docs/trunk/bin/site_build URL: http://svn.apache.org/viewcvs/perl/modperl/docs/trunk/bin/site_build?rev=387431&r1=387430&r2=387431&view=diff ============================================================================== --- perl/modperl/docs/trunk/bin/site_build (original) +++ perl/modperl/docs/trunk/bin/site_build Mon Mar 20 21:50:35 2006 @@ -28,7 +28,7 @@ my $HOME = $ENV{HOME}; $ENV{PATH} = "/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/bin:/usr/X11R6/bin:$HOME/bin"; -$ENV{PERL5LIB} = "$HOME/lib/perl5/5.8.7:$HOME/lib/perl5/5.8.7/mach:$HOME/lib/perl5/site_perl:$HOME/lib/perl5/site_perl/5.8.7:$HOME/lib/perl5/site_perl/5.8.7/mach"; +$ENV{PERL5LIB} = "$HOME/lib/perl5/5.8.8:$HOME/lib/perl5/5.8.8/mach:$HOME/lib/perl5/site_perl:$HOME/lib/perl5/site_perl/5.8.8:$HOME/lib/perl5/site_perl/5.8.8/mach"; chdir $src; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 01 04:13:58 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11710 invoked from network); 1 Apr 2006 04:13:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Apr 2006 04:13:58 -0000 Received: (qmail 48615 invoked by uid 500); 1 Apr 2006 04:13:57 -0000 Delivered-To: [email protected] Received: (qmail 48599 invoked by uid 500); 1 Apr 2006 04:13:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] List-Post: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Id: <docs-cvs.perl.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 48588 invoked by uid 99); 1 Apr 2006 04:13:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Mar 2006 20:13:57 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 31 Mar 2006 20:13:56 -0800 Received: (qmail 11667 invoked by uid 65534); 1 Apr 2006 04:13:36 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r390588 - /perl/modperl/docs/trunk/src/docs/2.0/user/intro/overview.pod Date: Sat, 01 Apr 2006 04:13:35 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: stas Date: Fri Mar 31 20:13:33 2006 New Revision: 390588 URL: http://svn.apache.org/viewcvs?rev=390588&view=rev Log: s/were/where Submitted by: "uber spaced" <[email protected]> Modified: perl/modperl/docs/trunk/src/docs/2.0/user/intro/overview.pod Modified: perl/modperl/docs/trunk/src/docs/2.0/user/intro/overview.pod URL: http://svn.apache.org/viewcvs/perl/modperl/docs/trunk/src/docs/2.0/user/intro/overview.pod?rev=390588&r1=390587&r2=390588&view=diff ============================================================================== --- perl/modperl/docs/trunk/src/docs/2.0/user/intro/overview.pod (original) +++ perl/modperl/docs/trunk/src/docs/2.0/user/intro/overview.pod Fri Mar 31 20:13:33 2006 @@ -523,7 +523,7 @@ the XS code was written for them here and there. mod_perl 2.0 generates the majority of XS code and provides thin -wrappers were needed to make the API more Perlish. As part of this +wrappers where needed to make the API more Perlish. As part of this goal, nearly the entire APR and Apache API, along with their public data structures are covered from the get-go. Certain functions and structures which are considered "private" to Apache or otherwise --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
From [email protected] Tue May 01 23:36:46 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51943 invoked by uid 500); 1 May 2001 23:36:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 51921 invoked from network); 1 May 2001 23:36:42 -0000 Message-Id: <[email protected]> X-Mailer: exmh version 2.0.3 To: [email protected] Subject: upcoming work Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 01 May 2001 19:36:26 -0400 From: "Daniel F. Savarese" <[email protected]> X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N I've found myself with more free time, so I'm going to put together a list of features that need to be implemented on the road to Perl 5.6 compatibility for the org.apache.oro.text.regex package as well as other items such as unit tests (didn't someone volunteer to develop some?), a user manual (I can provide the old OROMatcher 1.0 guide as a starting point), updated web pages with project status/progress reports, etc. Then it's ask for volunteers and divvy up the work :) I'd like to be the principal committer for the .regex package, but as more code patches come in I'd like to nominate others. It would also be nice if someone with an interest could work on some of the stuff in the other packages, such as improving the pattern cache stuff and maybe adding some higher level functionality to the .text package, such as generic pattern-based tokenizers. At the same time, the stuff is pretty stable which is why we've been stuck in a bit of a rut. People seem to find that the stuff does what they need. As an aside, does anyone want to add regex support to the grep command in the JXTA shell (www.jxta.org)? :) daniel From [email protected] Tue May 01 23:37:41 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54189 invoked by uid 500); 1 May 2001 23:37:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 54122 invoked from network); 1 May 2001 23:37:39 -0000 Message-Id: <[email protected]> X-Mailer: exmh version 2.0.3 To: [email protected] Subject: Re: Perl Substitution In-reply-to: Your message of "Mon, 30 Apr 2001 13:42:15 PDT." <p0510031ab7137de975f9@[161.129.204.104]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 01 May 2001 19:37:23 -0400 From: "Daniel F. Savarese" <[email protected]> X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N > \l lowercase next char (think vi) > \u uppercase next char (think vi) > \L lowercase till \E (think vi) > \U uppercase till \E (think vi) > \E end case modification (think vi) ... >Would there be enough interest for my changes to be added to the source? I think this came up once before. Since these are part of Perl's double-quoted string processing and not its regular expression handling, it is not currently implemented. However, I think it would be entirely appropriate to add them to Perl5Substitution as a convenience and you should definitely give it a go. I would advise against too many other additions requiring more on the fly parsing/interpreting (not that I can think of any at the moment) because it is more efficient to implement the Substitution interface and make it do whatever custom substitution processing you need using Java code. daniel From [email protected] Wed May 02 00:07:39 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 75409 invoked by uid 500); 2 May 2001 00:07:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 75232 invoked from network); 2 May 2001 00:07:34 -0000 Mime-Version: 1.0 X-Sender: [email protected] Message-Id: <p05100301b714fe8671e8@[161.129.204.104]> In-Reply-To: <[email protected]> References: <[email protected]> Date: Tue, 1 May 2001 17:07:17 -0700 To: [email protected] From: "Mark F. Murphy" <[email protected]> Subject: Re: Perl Substitution Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N At 7:37 PM -0400 5/1/01, Daniel F. Savarese wrote: >I think this came up once before. Since these are part of Perl's >double-quoted string processing and not its regular expression >handling, it is not currently implemented. However, I think it >would be entirely appropriate to add them to Perl5Substitution as >a convenience and you should definitely give it a go. I already did... and yes... it's in Perl5Substitution.java. >I would >advise against too many other additions requiring more on the >fly parsing/interpreting (not that I can think of any at the moment) >because it is more efficient to implement the Substitution interface and >make it do whatever custom substitution processing you need using Java >code. I changed the way _parseSubs and _calSubs do a lot of String passing. Since the original sub string is available... and the match string is available, I use offsets and counts into those... and use char arrays. This avoids the multiple copying in the current version. Basically extending the Vector (subs). I added some opcodes to the vector which handle offsets to sub string, lower/upper case next char, lower/upper case until /E. Also, now allow backslash for $. I can't think of anything else the substitution string would really need.... but then again... I haven't looked at the latest version of perl to see what's been added in that area. I've looked at the requirements for submitting changes. Should I post a DIFF here of what I have? mark -- --------------------------------------------------------------------------- Mark F. Murphy, Director Software Development <mailto:[email protected]> Tyrell Software Corp <http://www.tyrell.com> PowerPerl(tm), Add Power To Your Webpage! <http://www.powerperl.com> --------------------------------------------------------------------------- Families Against Internet Censorship: http://www.netfamilies.org/ From [email protected] Wed May 02 00:09:07 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76108 invoked by uid 500); 2 May 2001 00:09:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 76082 invoked from network); 2 May 2001 00:09:04 -0000 Mime-Version: 1.0 X-Sender: [email protected] Message-Id: <p05100302b7150062e21b@[161.129.204.104]> In-Reply-To: <[email protected]> References: <[email protected]> Date: Tue, 1 May 2001 17:08:46 -0700 To: [email protected] From: "Mark F. Murphy" <[email protected]> Subject: Re: upcoming work Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N At 7:36 PM -0400 5/1/01, Daniel F. Savarese wrote: >I've found myself with more free time, so I'm going to put together a >list of features that need to be implemented on the road to Perl 5.6 >compatibility for the org.apache.oro.text.regex package as well as >other items such as unit tests (didn't someone volunteer to develop >some?), a user manual (I can provide the old OROMatcher 1.0 guide as >a starting point), updated web pages with project status/progress >reports, etc. Then it's ask for volunteers and divvy up the work :) I'm up for helping out if I can. mark -- --------------------------------------------------------------------------- Mark F. Murphy, Director Software Development <mailto:[email protected]> Tyrell Software Corp <http://www.tyrell.com> PowerPerl(tm), Add Power To Your Webpage! <http://www.powerperl.com> --------------------------------------------------------------------------- Families Against Internet Censorship: http://www.netfamilies.org/ From [email protected] Wed May 02 17:39:24 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65377 invoked by uid 500); 2 May 2001 17:39:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 65313 invoked from network); 2 May 2001 17:39:00 -0000 Date: Thu, 03 May 2001 02:42:19 +0000 Message-ID: <[email protected]> From: Takashi Okamoto <[email protected]> To: [email protected] Subject: Re: upcoming work User-Agent: Wanderlust/2.5.8 (Smooth) SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.3 Emacs/20.7 (i386-debian-linux-gnu) MULE/4.1 (AOI) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N daniel said: > I've found myself with more free time, so I'm going to put together > a list of features that need to be implemented on the road to Perl > 5.6 compatibility for the org.apache.oro.text.regex package as well > as other items such as unit tests (didn't someone volunteer to > develop some?), a user manual (I can provide the old OROMatcher 1.0 > guide as a starting point), updated web pages with project > status/progress reports, etc. Then it's ask for volunteers and > divvy up the work :) I heard that JDK1.4 have a regular expression API. This information may be heard in JavaOne: [Regular Expression API Talk in JavaOne] http://servlet.java.sun.com/javaone/conf/bofs/2468/72695-sf2001.jsp I think that ORO should have compatibility with it if we could do it, though I don't know detail about JDK1.4... One more things, Jakarta-Regexp have CharacterIterator interface. It's convenience to process stream. For example: RE re = new RE("[\\w\\-]+@[\\w\\.]+"); CharacterIterator input = new StreamCharacterIterator( new FileInputStream(fileName)); int cnt=0; while(re.match(input,cnt)){ System.out.println("e-mail="+re.getParen(0)); cnt = re.getParenEnd(0); } I can't find such a [email protected]. I think that following lines in CHANGELOG may relate: -- o Perl5StreamInput and methods manipulating Perl5StreamInput have been removed. For the technical reasons behind this decision see "On the Use of Regular Expressions for Searching Text", Clark and Cormack, ACM Transactions on Programming Languages and Systems, Vol 19, No. 3, pp 413-426. -- But I don't have ACM. Why Perl5StreamInput was removed? I can help other than documentation (I'm not good at English), if I would find my interest and I can do it. Regards. -------------------------- Takashi Okamoto From [email protected] Thu May 03 00:28:48 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44163 invoked by uid 500); 3 May 2001 00:28:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 44153 invoked from network); 3 May 2001 00:28:46 -0000 User-Agent: Microsoft-Entourage/161.129.204.10408 Date: Wed, 02 May 2001 17:28:52 -0700 Subject: Re: upcoming work From: Jon Stevens <[email protected]> To: <[email protected]> Message-ID: <[email protected]> In-Reply-To: <[email protected]> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N on 5/2/01 7:42 PM, "Takashi Okamoto" <[email protected]> wrote: > I heard that JDK1.4 have a regular expression API. This information > may be heard in JavaOne: > > [Regular Expression API Talk in JavaOne] > http://servlet.java.sun.com/javaone/conf/bofs/2468/72695-sf2001.jsp Until I see it here: http://java.sun.com/aboutJava/communityprocess/search.html I wouldn't believe what you hear. -jon From [email protected] Fri May 04 08:01:39 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 50535 invoked by uid 500); 4 May 2001 08:01:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 50442 invoked from network); 4 May 2001 08:01:10 -0000 Message-Id: <[email protected]> X-Mailer: exmh version 2.0.3 To: [email protected] Subject: Re: upcoming work In-reply-to: Your message of "Tue, 01 May 2001 17:08:46 PDT." <p05100302b7150062e21b@[161.129.204.104]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 03 May 2001 20:35:41 -0400 From: "Daniel F. Savarese" <[email protected]> X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N >I'm up for helping out if I can. Excellent! daniel From [email protected] Fri May 04 08:01:49 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 50993 invoked by uid 500); 4 May 2001 08:01:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 50444 invoked from network); 4 May 2001 08:01:10 -0000 Message-Id: <[email protected]> X-Mailer: exmh version 2.0.3 To: [email protected] Subject: Re: upcoming work In-reply-to: Your message of "Wed, 02 May 2001 17:28:52 PDT." <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 03 May 2001 20:48:21 -0400 From: "Daniel F. Savarese" <[email protected]> X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N jon wrote: >Until I see it here: > >http://java.sun.com/aboutJava/communityprocess/search.html > >I wouldn't believe what you hear. hear hear :) daniel From [email protected] Fri May 04 08:01:55 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51070 invoked by uid 500); 4 May 2001 08:01:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 50445 invoked from network); 4 May 2001 08:01:10 -0000 Message-Id: <[email protected]> X-Mailer: exmh version 2.0.3 To: [email protected] Subject: Re: upcoming work In-reply-to: Your message of "Thu, 03 May 2001 02:42:19 -0000." <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 03 May 2001 20:47:27 -0400 From: "Daniel F. Savarese" <[email protected]> X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N >I heard that JDK1.4 have a regular expression API. This information >may be heard in JavaOne: ... >I think that ORO should have compatibility with it if we could do it, >though I don't know detail about JDK1.4... Let's wait and see until they've published a spec. The regular expression stuff is part of a JSR for advanced I/O, which is really odd. Ideally they'll provide a set of interfaces and maybe some factories, they way they did for the XML parser stuff, and we can easily tie in. It still smacks of the usual marginalizing of third parties that Sun has engaged in with Java. The stuff that is now jakarta-oro has been serving Java developers needs since JDK 1.0.2, and many other packages have emerged since then, so at this point I'd say there's no point in putting regular expressions into the core APIs since it just adds further bloat. >One more things, Jakarta-Regexp have CharacterIterator interface. >It's convenience to process stream. For example: ... If someone can show that HotSpot does some really efficient stuff with runtime method inlining, I'm ok with the CharacterIterator idea. But up until now, it's been too expensive, which is why the ORO stuff deals with straight up character arrays. >I can't find such a [email protected]. I think that following lines in >CHANGELOG may relate: ... >But I don't have ACM. Why Perl5StreamInput was removed? Perl regular expressions cannot be guaranteed to find a match without reading in the entire input, so I removed Perl5StreamInput when converting the OROMatcher pieces over to jakarta-oro. It's more effective to just read in the entire input, or do incremental buffering the way TCL/Expect work, rather than attempt to match while reading. However, the awk package still retains AwkStreamInput because of the nature of awk expressions. Let me review the copyright on the ACM article and if it's allowed, I'll forward you a copy. However, I'm pretty sure it's available online somewhere. I'll look for the URL. >I can help other than documentation (I'm not good at English), if I >would find my interest and I can do it. Excellent! daniel From [email protected] Fri May 04 08:02:04 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51035 invoked by uid 500); 4 May 2001 08:01:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 50443 invoked from network); 4 May 2001 08:01:10 -0000 Message-Id: <[email protected]> X-Mailer: exmh version 2.0.3 To: [email protected] Subject: Re: Perl Substitution In-reply-to: Your message of "Tue, 01 May 2001 17:07:17 PDT." <p05100301b714fe8671e8@[161.129.204.104]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 03 May 2001 20:34:32 -0400 From: "Daniel F. Savarese" <[email protected]> X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N >Should I post a DIFF here of what I have? Yes please. In unified diff format. daniel From [email protected] Wed May 09 18:24:00 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71670 invoked by uid 500); 9 May 2001 18:23:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 71536 invoked by uid 500); 9 May 2001 18:23:28 -0000 Delivered-To: [email protected] Date: 9 May 2001 18:23:11 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro/src/java/tools oroToApache.java dfs 01/05/09 11:23:10 Modified: . CHANGES CONTRIBUTORS src/java/examples addCommas.java didNotMatch.java filter.java grep.java groups.java jdfix.java matchResultExample.java matchesContainsExample.java prefixExample.java printPasswd.java semicolon.java splitExample.java substituteExample.java src/java/examples/awk matchesContainsExample.java prefixExample.java splitExample.java streamInputExample.java substituteExample.java src/java/org/apache/oro/io AwkFilenameFilter.java GlobFilenameFilter.java Perl5FilenameFilter.java RegexFilenameFilter.java src/java/org/apache/oro/text DefaultMatchAction.java GenericPatternCache.java GlobCompiler.java MalformedCachePatternException.java MatchAction.java MatchActionInfo.java MatchActionProcessor.java PatternCache.java PatternCacheFIFO.java PatternCacheFIFO2.java PatternCacheLRU.java PatternCacheRandom.java src/java/org/apache/oro/text/awk AwkCompiler.java AwkMatchResult.java AwkMatcher.java AwkPattern.java AwkStreamInput.java CatNode.java CharacterClassNode.java EpsilonNode.java LeafNode.java NegativeCharacterClassNode.java OrNode.java PlusNode.java QuestionNode.java StarNode.java SyntaxNode.java SyntaxTree.java TokenNode.java src/java/org/apache/oro/text/perl MalformedPerl5PatternException.java ParsedSubstitutionEntry.java Perl5Util.java src/java/org/apache/oro/text/regex CharStringPointer.java MalformedPatternException.java MatchResult.java OpCode.java Pattern.java PatternCompiler.java PatternMatcher.java PatternMatcherInput.java Perl5Compiler.java Perl5Debug.java Perl5MatchResult.java Perl5Matcher.java Perl5Pattern.java Perl5Repetition.java Perl5Substitution.java StringSubstitution.java Substitution.java Util.java src/java/org/apache/oro/util Cache.java CacheFIFO.java CacheFIFO2.java CacheLRU.java CacheRandom.java GenericCache.java GenericCacheEntry.java src/java/tools oroToApache.java Log: Replaced all references to my email address with the oro-dev mailing list so that development support questions can go to the right place (also protects me from spam email harvesters). Updated the CHANGES file in preparation for final 2.0.2 release. Revision Changes Path 1.5 +5 -2 jakarta-oro/CHANGES Index: CHANGES =================================================================== RCS file: /home/cvs/jakarta-oro/CHANGES,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- CHANGES 2001/02/20 03:34:35 1.4 +++ CHANGES 2001/05/09 18:18:50 1.5 @@ -1,6 +1,6 @@ -$Id: CHANGES,v 1.4 2001/02/20 03:34:35 dfs Exp $ +$Id: CHANGES,v 1.5 2001/05/09 18:18:50 dfs Exp $ -Version 2.0.2-dev-3 +Version 2.0.2 o Fixed default behavior of '.' in awk package. Previously it wouldn't match newlines, which isn't how AWK behaves. The default behavior now @@ -12,6 +12,9 @@ o Replaced the use of deprecated Perl5Util split method in printPasswd example with newer method. Also updated splitExample to use ArrayList instead of Vector. + +o Updated RegexFilenameFilter to also implement the Java 1.1 FileFilter + interface. Version 2.0.2-dev-2 1.2 +3 -3 jakarta-oro/CONTRIBUTORS Index: CONTRIBUTORS =================================================================== RCS file: /home/cvs/jakarta-oro/CONTRIBUTORS,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- CONTRIBUTORS 2001/01/29 00:19:00 1.1 +++ CONTRIBUTORS 2001/05/09 18:18:51 1.2 @@ -1,8 +1,8 @@ -$Id: CONTRIBUTORS,v 1.1 2001/01/29 00:19:00 dfs Exp $ +$Id: CONTRIBUTORS,v 1.2 2001/05/09 18:18:51 dfs Exp $ -Daniel Savarese <[email protected]> is the original author of the +Daniel Savarese <[email protected]> is the original author of the OROMatcher, PerlTools, AwkTools, and TextTools packages that became the Jakarta-ORO project. -Takashi Okamoto <[email protected]> has contributed a unicode +Takashi Okamoto <[email protected]> has contributed a unicode character class fix and an initial posix character class implementation. 1.3 +2 -2 jakarta-oro/src/java/examples/addCommas.java Index: addCommas.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/addCommas.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- addCommas.java 2000/07/23 23:25:09 1.2 +++ addCommas.java 2001/05/09 18:18:58 1.3 @@ -63,8 +63,8 @@ * It demonstrates substitutions by adding commas to a the string * representation of an integer. * - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: addCommas.java,v 1.2 2000/07/23 23:25:09 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: addCommas.java,v 1.3 2001/05/09 18:18:58 dfs Exp $ */ public final class addCommas { 1.3 +2 -2 jakarta-oro/src/java/examples/didNotMatch.java Index: didNotMatch.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/didNotMatch.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- didNotMatch.java 2000/07/23 23:25:09 1.2 +++ didNotMatch.java 2001/05/09 18:19:01 1.3 @@ -62,8 +62,8 @@ * This is a trivial example program demonstrating the preMatch() * and postMatch() methods of Perl5Util. * - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: didNotMatch.java,v 1.2 2000/07/23 23:25:09 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: didNotMatch.java,v 1.3 2001/05/09 18:19:01 dfs Exp $ */ public final class didNotMatch { 1.3 +2 -2 jakarta-oro/src/java/examples/filter.java Index: filter.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/filter.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- filter.java 2000/07/23 23:25:10 1.2 +++ filter.java 2001/05/09 18:19:02 1.3 @@ -65,8 +65,8 @@ * This is a sample program demonstrating how to use the regular expression * filename filter classes. * - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: filter.java,v 1.2 2000/07/23 23:25:10 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: filter.java,v 1.3 2001/05/09 18:19:02 dfs Exp $ */ public final class filter { 1.3 +2 -2 jakarta-oro/src/java/examples/grep.java Index: grep.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/grep.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- grep.java 2000/07/23 23:25:10 1.2 +++ grep.java 2001/05/09 18:19:03 1.3 @@ -67,8 +67,8 @@ * creating a MatchAction class or classes whose behavior varies based on * the provided flags. * - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: grep.java,v 1.2 2000/07/23 23:25:10 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: grep.java,v 1.3 2001/05/09 18:19:03 dfs Exp $ */ public final class grep { static int _file = 0; 1.3 +2 -2 jakarta-oro/src/java/examples/groups.java Index: groups.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/groups.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- groups.java 2000/07/23 23:25:10 1.2 +++ groups.java 2001/05/09 18:19:04 1.3 @@ -65,8 +65,8 @@ * This is a sample program mimicking the Unix groups command. It assumes * the /etc/group file exists. * - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: groups.java,v 1.2 2000/07/23 23:25:10 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: groups.java,v 1.3 2001/05/09 18:19:04 dfs Exp $ */ public final class groups { 1.3 +2 -2 jakarta-oro/src/java/examples/jdfix.java Index: jdfix.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/jdfix.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- jdfix.java 2000/07/23 23:25:10 1.2 +++ jdfix.java 2001/05/09 18:19:06 1.3 @@ -64,8 +64,8 @@ * This is an example program demonstrating how to use the PerlTools * match and substitute methods. * - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: jdfix.java,v 1.2 2000/07/23 23:25:10 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: jdfix.java,v 1.3 2001/05/09 18:19:06 dfs Exp $ */ public final class jdfix { 1.3 +2 -2 jakarta-oro/src/java/examples/matchResultExample.java Index: matchResultExample.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/matchResultExample.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- matchResultExample.java 2000/07/23 23:25:10 1.2 +++ matchResultExample.java 2001/05/09 18:19:07 1.3 @@ -61,8 +61,8 @@ * This is a test program demonstrating the methods of the OROMatcher * MatchResult class. * - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: matchResultExample.java,v 1.2 2000/07/23 23:25:10 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: matchResultExample.java,v 1.3 2001/05/09 18:19:07 dfs Exp $ */ public final class matchResultExample { 1.3 +2 -2 jakarta-oro/src/java/examples/matchesContainsExample.java Index: matchesContainsExample.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/matchesContainsExample.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- matchesContainsExample.java 2000/07/23 23:25:10 1.2 +++ matchesContainsExample.java 2001/05/09 18:19:08 1.3 @@ -61,8 +61,8 @@ * This is a test program demonstrating the difference between the * matches() and contains() methods. * - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: matchesContainsExample.java,v 1.2 2000/07/23 23:25:10 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: matchesContainsExample.java,v 1.3 2001/05/09 18:19:08 dfs Exp $ */ public final class matchesContainsExample { 1.3 +2 -2 jakarta-oro/src/java/examples/prefixExample.java Index: prefixExample.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/prefixExample.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- prefixExample.java 2000/07/23 23:25:10 1.2 +++ prefixExample.java 2001/05/09 18:19:10 1.3 @@ -69,8 +69,8 @@ * easily use regular expressions to create your own tokenization and * simple parsing classes using similar approaches. * - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: prefixExample.java,v 1.2 2000/07/23 23:25:10 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: prefixExample.java,v 1.3 2001/05/09 18:19:10 dfs Exp $ */ public final class prefixExample { public static final int REAL = 0; 1.4 +2 -2 jakarta-oro/src/java/examples/printPasswd.java Index: printPasswd.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/printPasswd.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- printPasswd.java 2001/02/20 02:31:28 1.3 +++ printPasswd.java 2001/05/09 18:19:13 1.4 @@ -65,8 +65,8 @@ * It demonstrates splits by reading the /etc/passwd file (assuming you're * on a Unix system) and printing out the formatted entries. * - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: printPasswd.java,v 1.3 2001/02/20 02:31:28 dfs Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: printPasswd.java,v 1.4 2001/05/09 18:19:13 dfs Exp $ */ public final class printPasswd { public static final String[] fieldNames = { 1.3 +2 -2 jakarta-oro/src/java/examples/semicolon.java Index: semicolon.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/semicolon.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- semicolon.java 2000/07/23 23:25:11 1.2 +++ semicolon.java 2001/05/09 18:19:15 1.3 @@ -65,8 +65,8 @@ * class. It reads the provided semi-colon delimited file semicolon.txt and * outputs only the second column to standard output. * - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: semicolon.java,v 1.2 2000/07/23 23:25:11 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: semicolon.java,v 1.3 2001/05/09 18:19:15 dfs Exp $ */ public final class semicolon { 1.4 +2 -2 jakarta-oro/src/java/examples/splitExample.java Index: splitExample.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/splitExample.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- splitExample.java 2000/09/15 05:14:30 1.3 +++ splitExample.java 2001/05/09 18:19:16 1.4 @@ -60,8 +60,8 @@ /** * This is a test program demonstrating the use of the Util.split() method. * - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: splitExample.java,v 1.3 2000/09/15 05:14:30 dfs Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: splitExample.java,v 1.4 2001/05/09 18:19:16 dfs Exp $ */ public final class splitExample { 1.3 +2 -2 jakarta-oro/src/java/examples/substituteExample.java Index: substituteExample.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/substituteExample.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- substituteExample.java 2000/07/23 23:25:11 1.2 +++ substituteExample.java 2001/05/09 18:19:17 1.3 @@ -61,8 +61,8 @@ * This is a test program demonstrating the use of the Util.substitute() * method. * - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: substituteExample.java,v 1.2 2000/07/23 23:25:11 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: substituteExample.java,v 1.3 2001/05/09 18:19:17 dfs Exp $ */ public final class substituteExample { 1.3 +2 -2 jakarta-oro/src/java/examples/awk/matchesContainsExample.java Index: matchesContainsExample.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/awk/matchesContainsExample.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- matchesContainsExample.java 2000/07/23 23:25:13 1.2 +++ matchesContainsExample.java 2001/05/09 18:19:35 1.3 @@ -62,8 +62,8 @@ * This is a test program demonstrating the difference between the * OROMatcher matches() and contains() methods. * - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: matchesContainsExample.java,v 1.2 2000/07/23 23:25:13 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: matchesContainsExample.java,v 1.3 2001/05/09 18:19:35 dfs Exp $ */ public final class matchesContainsExample { 1.3 +2 -2 jakarta-oro/src/java/examples/awk/prefixExample.java Index: prefixExample.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/awk/prefixExample.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- prefixExample.java 2000/07/23 23:25:13 1.2 +++ prefixExample.java 2001/05/09 18:19:37 1.3 @@ -72,8 +72,8 @@ * distribution, you'll see how to Perl's zero-width look ahead assertion * makes correctness easier to achieve. * - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: prefixExample.java,v 1.2 2000/07/23 23:25:13 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: prefixExample.java,v 1.3 2001/05/09 18:19:37 dfs Exp $ */ public final class prefixExample { public static final int REAL = 0; 1.4 +2 -2 jakarta-oro/src/java/examples/awk/splitExample.java Index: splitExample.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/awk/splitExample.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- splitExample.java 2001/02/20 02:31:28 1.3 +++ splitExample.java 2001/05/09 18:19:38 1.4 @@ -63,8 +63,8 @@ * It is the same as the version in the OROMatcher distribution except that * it uses Awk classes instead of Perl classes. * - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: splitExample.java,v 1.3 2001/02/20 02:31:28 dfs Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: splitExample.java,v 1.4 2001/05/09 18:19:38 dfs Exp $ */ public final class splitExample { 1.3 +2 -2 jakarta-oro/src/java/examples/awk/streamInputExample.java Index: streamInputExample.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/awk/streamInputExample.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- streamInputExample.java 2000/07/23 23:25:13 1.2 +++ streamInputExample.java 2001/05/09 18:19:40 1.3 @@ -63,8 +63,8 @@ * This is a test program demonstrating how to search an input stream * with the AwkTools regular expression classes. * - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: streamInputExample.java,v 1.2 2000/07/23 23:25:13 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: streamInputExample.java,v 1.3 2001/05/09 18:19:40 dfs Exp $ */ public final class streamInputExample { 1.3 +2 -2 jakarta-oro/src/java/examples/awk/substituteExample.java Index: substituteExample.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/awk/substituteExample.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- substituteExample.java 2000/07/23 23:25:13 1.2 +++ substituteExample.java 2001/05/09 18:19:42 1.3 @@ -63,8 +63,8 @@ * method. It is the same as the version in the OROMatcher distribution * except that it uses Awk classes instead of Awk classes. * - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: substituteExample.java,v 1.2 2000/07/23 23:25:13 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: substituteExample.java,v 1.3 2001/05/09 18:19:42 dfs Exp $ */ public final class substituteExample { 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/io/AwkFilenameFilter.java Index: AwkFilenameFilter.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/io/AwkFilenameFilter.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- AwkFilenameFilter.java 2000/07/23 23:25:14 1.2 +++ AwkFilenameFilter.java 2001/05/09 18:19:50 1.3 @@ -68,8 +68,8 @@ * regular expressions as implemented by the org.apache.oro.text.awk package, * which is required to use this class. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: AwkFilenameFilter.java,v 1.2 2000/07/23 23:25:14 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: AwkFilenameFilter.java,v 1.3 2001/05/09 18:19:50 dfs Exp $ * @see RegexFilenameFilter * @see Perl5FilenameFilter 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/io/GlobFilenameFilter.java Index: GlobFilenameFilter.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/io/GlobFilenameFilter.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- GlobFilenameFilter.java 2000/07/23 23:25:14 1.2 +++ GlobFilenameFilter.java 2001/05/09 18:19:53 1.3 @@ -67,8 +67,8 @@ * regular expressions as implemented by the org.apache.oro.text package, * which is required to use this class. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: GlobFilenameFilter.java,v 1.2 2000/07/23 23:25:14 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: GlobFilenameFilter.java,v 1.3 2001/05/09 18:19:53 dfs Exp $ * @see RegexFilenameFilter * @see AwkFilenameFilter 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/io/Perl5FilenameFilter.java Index: Perl5FilenameFilter.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/io/Perl5FilenameFilter.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- Perl5FilenameFilter.java 2000/07/23 23:25:14 1.2 +++ Perl5FilenameFilter.java 2001/05/09 18:19:55 1.3 @@ -68,8 +68,8 @@ * regular expressions as implemented by the org.apache.oro.text.regex package, * which is required to use this class. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: Perl5FilenameFilter.java,v 1.2 2000/07/23 23:25:14 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: Perl5FilenameFilter.java,v 1.3 2001/05/09 18:19:55 dfs Exp $ * @see RegexFilenameFilter * @see AwkFilenameFilter 1.4 +2 -2 jakarta-oro/src/java/org/apache/oro/io/RegexFilenameFilter.java Index: RegexFilenameFilter.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/io/RegexFilenameFilter.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- RegexFilenameFilter.java 2001/03/29 17:19:11 1.3 +++ RegexFilenameFilter.java 2001/05/09 18:19:56 1.4 @@ -66,8 +66,8 @@ * RegexFilenameFilter is the base class for a set of FilenameFilter * implementations that filter based on a regular expression. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: RegexFilenameFilter.java,v 1.3 2001/03/29 17:19:11 dfs Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: RegexFilenameFilter.java,v 1.4 2001/05/09 18:19:56 dfs Exp $ * @see Perl5FilenameFilter * @see AwkFilenameFilter 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/text/DefaultMatchAction.java Index: DefaultMatchAction.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/DefaultMatchAction.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- DefaultMatchAction.java 2000/07/23 23:25:15 1.2 +++ DefaultMatchAction.java 2001/05/09 18:20:03 1.3 @@ -61,8 +61,8 @@ * DefaultMatchAction is a support class for MatchActionProcessor, * providing a default match action. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: DefaultMatchAction.java,v 1.2 2000/07/23 23:25:15 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: DefaultMatchAction.java,v 1.3 2001/05/09 18:20:03 dfs Exp $ * @see MatchActionProcessor */ 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/text/GenericPatternCache.java Index: GenericPatternCache.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/GenericPatternCache.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- GenericPatternCache.java 2000/07/23 23:25:15 1.2 +++ GenericPatternCache.java 2001/05/09 18:20:05 1.3 @@ -70,8 +70,8 @@ * Rather, users should create their own implmentations of the * {@link PatternCache} interface. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: GenericPatternCache.java,v 1.2 2000/07/23 23:25:15 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: GenericPatternCache.java,v 1.3 2001/05/09 18:20:05 dfs Exp $ * @see PatternCache * @see PatternCacheLRU 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/text/GlobCompiler.java Index: GlobCompiler.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/GlobCompiler.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- GlobCompiler.java 2000/07/23 23:25:15 1.2 +++ GlobCompiler.java 2001/05/09 18:20:06 1.3 @@ -107,8 +107,8 @@ * be double backslashed to represent single backslash in a regular * expression. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: GlobCompiler.java,v 1.2 2000/07/23 23:25:15 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: GlobCompiler.java,v 1.3 2001/05/09 18:20:06 dfs Exp $ * @see org.apache.oro.text.regex.PatternCompiler * @see org.apache.oro.text.regex.Perl5Matcher 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/text/MalformedCachePatternException.java Index: MalformedCachePatternException.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/MalformedCachePatternException.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- MalformedCachePatternException.java 2000/07/23 23:25:15 1.2 +++ MalformedCachePatternException.java 2001/05/09 18:20:08 1.3 @@ -73,8 +73,8 @@ * be correct should catch MalformedCachePatternException to ensure * reliability. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: MalformedCachePatternException.java,v 1.2 2000/07/23 23:25:15 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: MalformedCachePatternException.java,v 1.3 2001/05/09 18:20:08 dfs Exp $ * @see PatternCache */ 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/text/MatchAction.java Index: MatchAction.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/MatchAction.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- MatchAction.java 2000/07/23 23:25:16 1.2 +++ MatchAction.java 2001/05/09 18:20:09 1.3 @@ -64,8 +64,8 @@ * create MatchAction instances as anonymous classes when adding pattern * action pairs to a MatchActionProcessor instance. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: MatchAction.java,v 1.2 2000/07/23 23:25:16 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: MatchAction.java,v 1.3 2001/05/09 18:20:09 dfs Exp $ * @see MatchActionProcessor * @see MatchActionInfo 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/text/MatchActionInfo.java Index: MatchActionInfo.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/MatchActionInfo.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- MatchActionInfo.java 2000/07/23 23:25:16 1.2 +++ MatchActionInfo.java 2001/05/09 18:20:10 1.3 @@ -66,8 +66,8 @@ * This class is used to provide information regarding a match found by * MatchActionProcessor to a MatchAction callback implementation. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: MatchActionInfo.java,v 1.2 2000/07/23 23:25:16 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: MatchActionInfo.java,v 1.3 2001/05/09 18:20:10 dfs Exp $ * @see MatchAction * @see MatchActionProcessor 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/text/MatchActionProcessor.java Index: MatchActionProcessor.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/MatchActionProcessor.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- MatchActionProcessor.java 2000/07/23 23:25:16 1.2 +++ MatchActionProcessor.java 2001/05/09 18:20:12 1.3 @@ -132,8 +132,8 @@ * 7;Santa Fe;New Mexico * </pre> - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: MatchActionProcessor.java,v 1.2 2000/07/23 23:25:16 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: MatchActionProcessor.java,v 1.3 2001/05/09 18:20:12 dfs Exp $ * @see MatchAction * @see MatchActionInfo 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/text/PatternCache.java Index: PatternCache.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/PatternCache.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- PatternCache.java 2000/07/23 23:25:16 1.2 +++ PatternCache.java 2001/05/09 18:20:14 1.3 @@ -69,8 +69,8 @@ * is the ease of use from only having to express regular expressions * by their String representations. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: PatternCache.java,v 1.2 2000/07/23 23:25:16 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: PatternCache.java,v 1.3 2001/05/09 18:20:14 dfs Exp $ * @see MalformedCachePatternException */ 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/text/PatternCacheFIFO.java Index: PatternCacheFIFO.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/PatternCacheFIFO.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- PatternCacheFIFO.java 2000/07/23 23:25:16 1.2 +++ PatternCacheFIFO.java 2001/05/09 18:20:15 1.3 @@ -69,8 +69,8 @@ * if a new pattern is added to the cache, it replaces the first of * the current patterns in the cache to have been added. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: PatternCacheFIFO.java,v 1.2 2000/07/23 23:25:16 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: PatternCacheFIFO.java,v 1.3 2001/05/09 18:20:15 dfs Exp $ * @see GenericPatternCache */ 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/text/PatternCacheFIFO2.java Index: PatternCacheFIFO2.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/PatternCacheFIFO2.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- PatternCacheFIFO2.java 2000/07/23 23:25:16 1.2 +++ PatternCacheFIFO2.java 2001/05/09 18:20:16 1.3 @@ -76,8 +76,8 @@ * second chance, then the original pattern selected for replacement is * replaced. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: PatternCacheFIFO2.java,v 1.2 2000/07/23 23:25:16 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: PatternCacheFIFO2.java,v 1.3 2001/05/09 18:20:16 dfs Exp $ * @see GenericPatternCache */ 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/text/PatternCacheLRU.java Index: PatternCacheLRU.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/PatternCacheLRU.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- PatternCacheLRU.java 2000/07/23 23:25:16 1.2 +++ PatternCacheLRU.java 2001/05/09 18:20:18 1.3 @@ -70,8 +70,8 @@ * the least recently used pattern currently in the cache. This is probably * the best general purpose pattern cache replacement policy. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: PatternCacheLRU.java,v 1.2 2000/07/23 23:25:16 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: PatternCacheLRU.java,v 1.3 2001/05/09 18:20:18 dfs Exp $ * @see GenericPatternCache */ 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/text/PatternCacheRandom.java Index: PatternCacheRandom.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/PatternCacheRandom.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- PatternCacheRandom.java 2000/07/23 23:25:16 1.2 +++ PatternCacheRandom.java 2001/05/09 18:20:19 1.3 @@ -69,8 +69,8 @@ * cache is full, when a new pattern is added to the cache, it replaces * a randomly selected pattern in the cache. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: PatternCacheRandom.java,v 1.2 2000/07/23 23:25:16 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: PatternCacheRandom.java,v 1.3 2001/05/09 18:20:19 dfs Exp $ * @see GenericPatternCache */ 1.4 +2 -2 jakarta-oro/src/java/org/apache/oro/text/awk/AwkCompiler.java Index: AwkCompiler.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/AwkCompiler.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- AwkCompiler.java 2001/02/20 03:34:35 1.3 +++ AwkCompiler.java 2001/05/09 18:20:38 1.4 @@ -134,8 +134,8 @@ * </dl> * </ul></ul> - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: AwkCompiler.java,v 1.3 2001/02/20 03:34:35 dfs Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: AwkCompiler.java,v 1.4 2001/05/09 18:20:38 dfs Exp $ * @see org.apache.oro.text.regex.PatternCompiler * @see org.apache.oro.text.regex.MalformedPatternException 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/text/awk/AwkMatchResult.java Index: AwkMatchResult.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/AwkMatchResult.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- AwkMatchResult.java 2000/07/23 23:25:18 1.2 +++ AwkMatchResult.java 2001/05/09 18:20:40 1.3 @@ -65,8 +65,8 @@ * parenthesized sub-group information. Therefore the number of groups * saved in an AwkMatchResult will always be 1. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: AwkMatchResult.java,v 1.2 2000/07/23 23:25:18 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: AwkMatchResult.java,v 1.3 2001/05/09 18:20:40 dfs Exp $ * @see org.apache.oro.text.regex.PatternMatcher * @see AwkMatcher 1.4 +2 -2 jakarta-oro/src/java/org/apache/oro/text/awk/AwkMatcher.java Index: AwkMatcher.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/AwkMatcher.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- AwkMatcher.java 2000/09/15 05:11:10 1.3 +++ AwkMatcher.java 2001/05/09 18:20:42 1.4 @@ -74,8 +74,8 @@ * parenthesized sub-group information. Therefore the number of groups * saved in a MatchResult produced by AwkMatcher will always be 1. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: AwkMatcher.java,v 1.3 2000/09/15 05:11:10 dfs Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: AwkMatcher.java,v 1.4 2001/05/09 18:20:42 dfs Exp $ * @see org.apache.oro.text.regex.PatternMatcher * @see AwkCompiler 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/text/awk/AwkPattern.java Index: AwkPattern.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/AwkPattern.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- AwkPattern.java 2000/07/23 23:25:18 1.2 +++ AwkPattern.java 2001/05/09 18:20:44 1.3 @@ -85,8 +85,8 @@ * time. AwkPattern instances should only be created through calls to an * AwkCompiler instance's compile() methods - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: AwkPattern.java,v 1.2 2000/07/23 23:25:18 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: AwkPattern.java,v 1.3 2001/05/09 18:20:44 dfs Exp $ * @see AwkCompiler * @see AwkMatcher 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/text/awk/AwkStreamInput.java Index: AwkStreamInput.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/AwkStreamInput.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- AwkStreamInput.java 2000/07/23 23:25:18 1.2 +++ AwkStreamInput.java 2001/05/09 18:20:46 1.3 @@ -84,8 +84,8 @@ * all the input it sees so that it can be accessed later. This will avoid * having to read a stream more than once for whatever reason. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: AwkStreamInput.java,v 1.2 2000/07/23 23:25:18 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: AwkStreamInput.java,v 1.3 2001/05/09 18:20:46 dfs Exp $ * @see AwkMatcher */ 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/text/awk/CatNode.java Index: CatNode.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/CatNode.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- CatNode.java 2000/07/23 23:25:19 1.2 +++ CatNode.java 2001/05/09 18:20:47 1.3 @@ -60,8 +60,8 @@ import java.util.*; /** - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: CatNode.java,v 1.2 2000/07/23 23:25:19 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: CatNode.java,v 1.3 2001/05/09 18:20:47 dfs Exp $ */ final class CatNode extends SyntaxNode { SyntaxNode _left, _right; 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/text/awk/CharacterClassNode.java Index: CharacterClassNode.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/CharacterClassNode.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- CharacterClassNode.java 2000/07/23 23:25:19 1.2 +++ CharacterClassNode.java 2001/05/09 18:20:49 1.3 @@ -60,8 +60,8 @@ import java.util.*; /** - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: CharacterClassNode.java,v 1.2 2000/07/23 23:25:19 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: CharacterClassNode.java,v 1.3 2001/05/09 18:20:49 dfs Exp $ */ class CharacterClassNode extends LeafNode { BitSet _characterSet; 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/text/awk/EpsilonNode.java Index: EpsilonNode.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/EpsilonNode.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- EpsilonNode.java 2000/07/23 23:25:19 1.2 +++ EpsilonNode.java 2001/05/09 18:20:52 1.3 @@ -60,8 +60,8 @@ import java.util.*; /** - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: EpsilonNode.java,v 1.2 2000/07/23 23:25:19 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: EpsilonNode.java,v 1.3 2001/05/09 18:20:52 dfs Exp $ */ final class EpsilonNode extends SyntaxNode { BitSet _positionSet = new BitSet(1); 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/text/awk/LeafNode.java Index: LeafNode.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/LeafNode.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- LeafNode.java 2000/07/23 23:25:19 1.2 +++ LeafNode.java 2001/05/09 18:20:53 1.3 @@ -60,8 +60,8 @@ import java.util.*; /** - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: LeafNode.java,v 1.2 2000/07/23 23:25:19 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: LeafNode.java,v 1.3 2001/05/09 18:20:53 dfs Exp $ */ abstract class LeafNode extends SyntaxNode { static final int _NUM_TOKENS = 256; 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/text/awk/NegativeCharacterClassNode.java Index: NegativeCharacterClassNode.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/NegativeCharacterClassNode.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- NegativeCharacterClassNode.java 2000/07/23 23:25:19 1.2 +++ NegativeCharacterClassNode.java 2001/05/09 18:20:54 1.3 @@ -60,8 +60,8 @@ import java.util.*; /** - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: NegativeCharacterClassNode.java,v 1.2 2000/07/23 23:25:19 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: NegativeCharacterClassNode.java,v 1.3 2001/05/09 18:20:54 dfs Exp $ */ final class NegativeCharacterClassNode extends CharacterClassNode { 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/text/awk/OrNode.java Index: OrNode.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/OrNode.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- OrNode.java 2000/07/23 23:25:20 1.2 +++ OrNode.java 2001/05/09 18:20:56 1.3 @@ -60,8 +60,8 @@ import java.util.*; /** - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: OrNode.java,v 1.2 2000/07/23 23:25:20 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: OrNode.java,v 1.3 2001/05/09 18:20:56 dfs Exp $ */ class OrNode extends SyntaxNode { SyntaxNode _left, _right; 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/text/awk/PlusNode.java Index: PlusNode.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/PlusNode.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- PlusNode.java 2000/07/23 23:25:20 1.2 +++ PlusNode.java 2001/05/09 18:20:57 1.3 @@ -58,8 +58,8 @@ */ /** - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: PlusNode.java,v 1.2 2000/07/23 23:25:20 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: PlusNode.java,v 1.3 2001/05/09 18:20:57 dfs Exp $ */ final class PlusNode extends StarNode { 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/text/awk/QuestionNode.java Index: QuestionNode.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/QuestionNode.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- QuestionNode.java 2000/07/23 23:25:20 1.2 +++ QuestionNode.java 2001/05/09 18:20:59 1.3 @@ -58,8 +58,8 @@ */ /** - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: QuestionNode.java,v 1.2 2000/07/23 23:25:20 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: QuestionNode.java,v 1.3 2001/05/09 18:20:59 dfs Exp $ */ final class QuestionNode extends OrNode { final static SyntaxNode _epsilon = new EpsilonNode(); 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/text/awk/StarNode.java Index: StarNode.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/StarNode.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- StarNode.java 2000/07/23 23:25:20 1.2 +++ StarNode.java 2001/05/09 18:21:00 1.3 @@ -60,8 +60,8 @@ import java.util.*; /** - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: StarNode.java,v 1.2 2000/07/23 23:25:20 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: StarNode.java,v 1.3 2001/05/09 18:21:00 dfs Exp $ */ class StarNode extends SyntaxNode { SyntaxNode _left; 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/text/awk/SyntaxNode.java Index: SyntaxNode.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/SyntaxNode.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- SyntaxNode.java 2000/07/23 23:25:20 1.2 +++ SyntaxNode.java 2001/05/09 18:21:01 1.3 @@ -61,8 +61,8 @@ import java.util.*; /** - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: SyntaxNode.java,v 1.2 2000/07/23 23:25:20 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: SyntaxNode.java,v 1.3 2001/05/09 18:21:01 dfs Exp $ */ abstract class SyntaxNode { abstract boolean _nullable(); 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/text/awk/SyntaxTree.java Index: SyntaxTree.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/SyntaxTree.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- SyntaxTree.java 2000/07/23 23:25:20 1.2 +++ SyntaxTree.java 2001/05/09 18:21:03 1.3 @@ -65,8 +65,8 @@ be accelerated by calculating first and last only once for each node and saving instead of doing dynamic calculation every time. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: SyntaxTree.java,v 1.2 2000/07/23 23:25:20 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: SyntaxTree.java,v 1.3 2001/05/09 18:21:03 dfs Exp $ */ final class SyntaxTree { int _positions; 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/text/awk/TokenNode.java Index: TokenNode.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/TokenNode.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- TokenNode.java 2000/07/23 23:25:20 1.2 +++ TokenNode.java 2001/05/09 18:21:04 1.3 @@ -58,8 +58,8 @@ */ /** - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: TokenNode.java,v 1.2 2000/07/23 23:25:20 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: TokenNode.java,v 1.3 2001/05/09 18:21:04 dfs Exp $ */ class TokenNode extends LeafNode { char _token; 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/text/perl/MalformedPerl5PatternException.java Index: MalformedPerl5PatternException.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/perl/MalformedPerl5PatternException.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- MalformedPerl5PatternException.java 2000/07/23 23:25:23 1.2 +++ MalformedPerl5PatternException.java 2001/05/09 18:21:31 1.3 @@ -74,8 +74,8 @@ * be correct should catch MalformedPerl5PatternException to ensure * reliability. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: MalformedPerl5PatternException.java,v 1.2 2000/07/23 23:25:23 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: MalformedPerl5PatternException.java,v 1.3 2001/05/09 18:21:31 dfs Exp $ * @see org.apache.oro.text.regex.MalformedPatternException */ 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/text/perl/ParsedSubstitutionEntry.java Index: ParsedSubstitutionEntry.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/perl/ParsedSubstitutionEntry.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- ParsedSubstitutionEntry.java 2000/07/23 23:25:23 1.2 +++ ParsedSubstitutionEntry.java 2001/05/09 18:21:33 1.3 @@ -60,8 +60,8 @@ import org.apache.oro.text.regex.*; /** - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: ParsedSubstitutionEntry.java,v 1.2 2000/07/23 23:25:23 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: ParsedSubstitutionEntry.java,v 1.3 2001/05/09 18:21:33 dfs Exp $ */ final class ParsedSubstitutionEntry { int _numSubstitutions; 1.7 +2 -2 jakarta-oro/src/java/org/apache/oro/text/perl/Perl5Util.java Index: Perl5Util.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/perl/Perl5Util.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- Perl5Util.java 2001/01/29 00:26:08 1.6 +++ Perl5Util.java 2001/05/09 18:21:34 1.7 @@ -147,8 +147,8 @@ * {@link #getMatch()} by a match or substitution * (or even a split, but this isn't particularly useful). - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: Perl5Util.java,v 1.6 2001/01/29 00:26:08 dfs Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: Perl5Util.java,v 1.7 2001/05/09 18:21:34 dfs Exp $ * @see MalformedPerl5PatternException * @see org.apache.oro.text.PatternCache 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/text/regex/CharStringPointer.java Index: CharStringPointer.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/CharStringPointer.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- CharStringPointer.java 2000/07/23 23:25:24 1.2 +++ CharStringPointer.java 2001/05/09 18:21:41 1.3 @@ -62,8 +62,8 @@ * in the manner pointer traversals of strings are performed in C/C++. * It is expected that the compiler will inline all the functions. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: CharStringPointer.java,v 1.2 2000/07/23 23:25:24 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: CharStringPointer.java,v 1.3 2001/05/09 18:21:41 dfs Exp $ */ final class CharStringPointer { 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/text/regex/MalformedPatternException.java Index: MalformedPatternException.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/MalformedPatternException.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- MalformedPatternException.java 2000/07/23 23:25:24 1.2 +++ MalformedPatternException.java 2001/05/09 18:21:43 1.3 @@ -69,8 +69,8 @@ * implementors of the interfaces of this package from subclassing it * for their own purposes. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: MalformedPatternException.java,v 1.2 2000/07/23 23:25:24 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: MalformedPatternException.java,v 1.3 2001/05/09 18:21:43 dfs Exp $ * @see PatternCompiler */ 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/text/regex/MatchResult.java Index: MatchResult.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/MatchResult.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- MatchResult.java 2000/07/23 23:25:24 1.2 +++ MatchResult.java 2001/05/09 18:21:44 1.3 @@ -123,8 +123,8 @@ * } * </pre></blockquote> - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: MatchResult.java,v 1.2 2000/07/23 23:25:24 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: MatchResult.java,v 1.3 2001/05/09 18:21:44 dfs Exp $ * @see PatternMatcher */ 1.7 +2 -2 jakarta-oro/src/java/org/apache/oro/text/regex/OpCode.java Index: OpCode.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/OpCode.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- OpCode.java 2001/03/30 05:39:01 1.6 +++ OpCode.java 2001/05/09 18:21:46 1.7 @@ -62,8 +62,8 @@ * constants and static methods pertaining to the manipulation of the * op-codes used in a compiled regular expression. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: OpCode.java,v 1.6 2001/03/30 05:39:01 dfs Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: OpCode.java,v 1.7 2001/05/09 18:21:46 dfs Exp $ */ final class OpCode { 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/text/regex/Pattern.java Index: Pattern.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/Pattern.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- Pattern.java 2000/07/23 23:25:24 1.2 +++ Pattern.java 2001/05/09 18:21:47 1.3 @@ -69,8 +69,8 @@ * implementations. The documentation accompanying a specific implementation * will define what other classes a Pattern can interact with. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: Pattern.java,v 1.2 2000/07/23 23:25:24 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: Pattern.java,v 1.3 2001/05/09 18:21:47 dfs Exp $ * @see PatternCompiler * @see PatternMatcher 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/text/regex/PatternCompiler.java Index: PatternCompiler.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/PatternCompiler.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- PatternCompiler.java 2000/07/23 23:25:24 1.2 +++ PatternCompiler.java 2001/05/09 18:21:52 1.3 @@ -99,8 +99,8 @@ * the compilation of a pattern. However, the PatternCompiler method * implementations should provide the default behavior of the class. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: PatternCompiler.java,v 1.2 2000/07/23 23:25:24 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: PatternCompiler.java,v 1.3 2001/05/09 18:21:52 dfs Exp $ * @see Pattern * @see PatternMatcher 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/text/regex/PatternMatcher.java Index: PatternMatcher.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/PatternMatcher.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- PatternMatcher.java 2000/07/23 23:25:25 1.2 +++ PatternMatcher.java 2001/05/09 18:21:54 1.3 @@ -75,8 +75,8 @@ * implementations of the provided interfaces. Therefore the programmer * should be careful not to mismatch classes. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: PatternMatcher.java,v 1.2 2000/07/23 23:25:25 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: PatternMatcher.java,v 1.3 2001/05/09 18:21:54 dfs Exp $ * @see Pattern * @see PatternCompiler 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/text/regex/PatternMatcherInput.java Index: PatternMatcherInput.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/PatternMatcherInput.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- PatternMatcherInput.java 2000/07/23 23:25:25 1.2 +++ PatternMatcherInput.java 2001/05/09 18:21:55 1.3 @@ -112,8 +112,8 @@ * * - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: PatternMatcherInput.java,v 1.2 2000/07/23 23:25:25 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: PatternMatcherInput.java,v 1.3 2001/05/09 18:21:55 dfs Exp $ * @see PatternMatcher */ 1.10 +2 -2 jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Compiler.java Index: Perl5Compiler.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Compiler.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- Perl5Compiler.java 2001/03/30 05:39:02 1.9 +++ Perl5Compiler.java 2001/05/09 18:21:57 1.10 @@ -66,8 +66,8 @@ * with a Perl5Matcher instance. Please see the user's guide for more * information about Perl5 regular expressions. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: Perl5Compiler.java,v 1.9 2001/03/30 05:39:02 dfs Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: Perl5Compiler.java,v 1.10 2001/05/09 18:21:57 dfs Exp $ * @see PatternCompiler * @see MalformedPatternException 1.6 +2 -2 jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Debug.java Index: Perl5Debug.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Debug.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- Perl5Debug.java 2001/03/30 05:39:02 1.5 +++ Perl5Debug.java 2001/05/09 18:21:59 1.6 @@ -67,8 +67,8 @@ * the bytecode program contained by a Perl5Pattern to be printed out for * comparison with the program generated by Perl5 with the -r option. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: Perl5Debug.java,v 1.5 2001/03/30 05:39:02 dfs Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: Perl5Debug.java,v 1.6 2001/05/09 18:21:59 dfs Exp $ * @see Perl5Pattern */ 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/text/regex/Perl5MatchResult.java Index: Perl5MatchResult.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/Perl5MatchResult.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- Perl5MatchResult.java 2000/07/23 23:25:26 1.2 +++ Perl5MatchResult.java 2001/05/09 18:22:01 1.3 @@ -60,8 +60,8 @@ /** * A class used to store and access the results of a Perl5Pattern match. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: Perl5MatchResult.java,v 1.2 2000/07/23 23:25:26 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: Perl5MatchResult.java,v 1.3 2001/05/09 18:22:01 dfs Exp $ * @see PatternMatcher * @see Perl5Matcher 1.12 +2 -2 jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Matcher.java Index: Perl5Matcher.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Matcher.java,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- Perl5Matcher.java 2001/03/30 05:39:02 1.11 +++ Perl5Matcher.java 2001/05/09 18:22:03 1.12 @@ -65,8 +65,8 @@ * (conforming to the Perl5 regular expression syntax) generated by * Perl5Compiler. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: Perl5Matcher.java,v 1.11 2001/03/30 05:39:02 dfs Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: Perl5Matcher.java,v 1.12 2001/05/09 18:22:03 dfs Exp $ * @see PatternMatcher * @see Perl5Compiler 1.4 +2 -2 jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Pattern.java Index: Perl5Pattern.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Pattern.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- Perl5Pattern.java 2000/09/02 06:28:34 1.3 +++ Perl5Pattern.java 2001/05/09 18:22:04 1.4 @@ -72,8 +72,8 @@ * the Serializable interface so that instances may be pre-compiled and * saved to disk if desired. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: Perl5Pattern.java,v 1.3 2000/09/02 06:28:34 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: Perl5Pattern.java,v 1.4 2001/05/09 18:22:04 dfs Exp $ * @see Perl5Compiler * @see Perl5Matcher 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Repetition.java Index: Perl5Repetition.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Repetition.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- Perl5Repetition.java 2000/07/23 23:25:27 1.2 +++ Perl5Repetition.java 2001/05/09 18:22:06 1.3 @@ -62,8 +62,8 @@ * defined as a top-level class rather than as an inner class to allow * compilation for JDK 1.0.2. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: Perl5Repetition.java,v 1.2 2000/07/23 23:25:27 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: Perl5Repetition.java,v 1.3 2001/05/09 18:22:06 dfs Exp $ * @see Perl5Matcher */ 1.4 +2 -2 jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Substitution.java Index: Perl5Substitution.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Substitution.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- Perl5Substitution.java 2001/02/20 02:31:28 1.3 +++ Perl5Substitution.java 2001/05/09 18:22:07 1.4 @@ -111,8 +111,8 @@ * <pre><b>Tank a$2- 85 Tank a$2- 32 Tank a$2- 22</b></pre> * Also, <b>$0</b> is always interpreted literally. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: Perl5Substitution.java,v 1.3 2001/02/20 02:31:28 dfs Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: Perl5Substitution.java,v 1.4 2001/05/09 18:22:07 dfs Exp $ * @see Substitution * @see Util 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/text/regex/StringSubstitution.java Index: StringSubstitution.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/StringSubstitution.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- StringSubstitution.java 2000/07/23 23:25:27 1.2 +++ StringSubstitution.java 2001/05/09 18:22:08 1.3 @@ -62,8 +62,8 @@ * literal string. This class is intended for use with * {@link Util#substitute Util.substitute}. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: StringSubstitution.java,v 1.2 2000/07/23 23:25:27 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: StringSubstitution.java,v 1.3 2001/05/09 18:22:08 dfs Exp $ * @see Substitution * @see Util 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/text/regex/Substitution.java Index: Substitution.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/Substitution.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- Substitution.java 2000/07/23 23:25:27 1.2 +++ Substitution.java 2001/05/09 18:22:10 1.3 @@ -67,8 +67,8 @@ * create your own implementations. A common use for customization is * to make a substitution a function of a match. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: Substitution.java,v 1.2 2000/07/23 23:25:27 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: Substitution.java,v 1.3 2001/05/09 18:22:10 dfs Exp $ * @see Util * @see Util#substitute 1.5 +2 -2 jakarta-oro/src/java/org/apache/oro/text/regex/Util.java Index: Util.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/Util.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- Util.java 2000/11/24 05:39:14 1.4 +++ Util.java 2001/05/09 18:22:11 1.5 @@ -84,8 +84,8 @@ * Vector and then accessing them. * </ol> - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: Util.java,v 1.4 2000/11/24 05:39:14 dfs Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: Util.java,v 1.5 2001/05/09 18:22:11 dfs Exp $ * @see Pattern * @see PatternMatcher 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/util/Cache.java Index: Cache.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/util/Cache.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- Cache.java 2000/07/23 23:25:31 1.2 +++ Cache.java 2001/05/09 18:22:40 1.3 @@ -60,8 +60,8 @@ /** * An interface defining the basic functions of a cache. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: Cache.java,v 1.2 2000/07/23 23:25:31 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: Cache.java,v 1.3 2001/05/09 18:22:40 dfs Exp $ */ public interface Cache { 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/util/CacheFIFO.java Index: CacheFIFO.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/util/CacheFIFO.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- CacheFIFO.java 2000/07/23 23:25:31 1.2 +++ CacheFIFO.java 2001/05/09 18:22:42 1.3 @@ -66,8 +66,8 @@ * if a new pattern is added to the cache, it replaces the first of * the current patterns in the cache to have been added. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: CacheFIFO.java,v 1.2 2000/07/23 23:25:31 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: CacheFIFO.java,v 1.3 2001/05/09 18:22:42 dfs Exp $ * @see GenericCache */ 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/util/CacheFIFO2.java Index: CacheFIFO2.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/util/CacheFIFO2.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- CacheFIFO2.java 2000/07/23 23:25:31 1.2 +++ CacheFIFO2.java 2001/05/09 18:22:44 1.3 @@ -73,8 +73,8 @@ * second chance, then the original pattern selected for replacement is * replaced. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: CacheFIFO2.java,v 1.2 2000/07/23 23:25:31 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: CacheFIFO2.java,v 1.3 2001/05/09 18:22:44 dfs Exp $ * @see GenericCache */ 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/util/CacheLRU.java Index: CacheLRU.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/util/CacheLRU.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- CacheLRU.java 2000/07/23 23:25:31 1.2 +++ CacheLRU.java 2001/05/09 18:22:46 1.3 @@ -67,8 +67,8 @@ * the least recently used value currently in the cache. This is probably * the best general purpose cache replacement policy. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: CacheLRU.java,v 1.2 2000/07/23 23:25:31 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: CacheLRU.java,v 1.3 2001/05/09 18:22:46 dfs Exp $ * @see GenericCache */ 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/util/CacheRandom.java Index: CacheRandom.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/util/CacheRandom.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- CacheRandom.java 2000/07/23 23:25:31 1.2 +++ CacheRandom.java 2001/05/09 18:22:48 1.3 @@ -66,8 +66,8 @@ * cache is full, when a new value is added to the cache, it replaces * a randomly selected value in the cache. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: CacheRandom.java,v 1.2 2000/07/23 23:25:31 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: CacheRandom.java,v 1.3 2001/05/09 18:22:48 dfs Exp $ * @see GenericCache */ 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/util/GenericCache.java Index: GenericCache.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/util/GenericCache.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- GenericCache.java 2000/07/23 23:25:31 1.2 +++ GenericCache.java 2001/05/09 18:22:51 1.3 @@ -69,8 +69,8 @@ * Rather, users should create their own implmentations of the * {@link Cache} interface. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: GenericCache.java,v 1.2 2000/07/23 23:25:31 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: GenericCache.java,v 1.3 2001/05/09 18:22:51 dfs Exp $ * @see Cache * @see CacheLRU 1.3 +2 -2 jakarta-oro/src/java/org/apache/oro/util/GenericCacheEntry.java Index: GenericCacheEntry.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/util/GenericCacheEntry.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- GenericCacheEntry.java 2000/07/23 23:25:31 1.2 +++ GenericCacheEntry.java 2001/05/09 18:22:53 1.3 @@ -62,8 +62,8 @@ * is declared with default access to limit it to use only within the * package. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: GenericCacheEntry.java,v 1.2 2000/07/23 23:25:31 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: GenericCacheEntry.java,v 1.3 2001/05/09 18:22:53 dfs Exp $ */ final class GenericCacheEntry implements java.io.Serializable { /** The cache array index of the entry. */ 1.3 +2 -2 jakarta-oro/src/java/tools/oroToApache.java Index: oroToApache.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/tools/oroToApache.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- oroToApache.java 2000/07/23 23:25:32 1.2 +++ oroToApache.java 2001/05/09 18:23:06 1.3 @@ -68,8 +68,8 @@ * org.apache.net. However, you will still have to manually fix some * code if you use the com.oroinc.io classes from NetComponents. - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: oroToApache.java,v 1.2 2000/07/23 23:25:32 jon Exp $ + @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + @version $Id: oroToApache.java,v 1.3 2001/05/09 18:23:06 dfs Exp $ */ public final class oroToApache { public static final String PACKAGE_PATTERN = "com\\.oroinc\\.(io|text|util)"; From [email protected] Wed May 09 18:59:18 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33193 invoked by uid 500); 9 May 2001 18:59:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 32951 invoked by uid 500); 9 May 2001 18:59:03 -0000 Delivered-To: [email protected] Date: 9 May 2001 18:59:00 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro/build build-oro.xml dfs 01/05/09 11:59:00 Modified: build build-oro.xml Log: Updated version number to 2.0.2. Revision Changes Path 1.10 +2 -2 jakarta-oro/build/build-oro.xml Index: build-oro.xml =================================================================== RCS file: /home/cvs/jakarta-oro/build/build-oro.xml,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- build-oro.xml 2001/01/29 00:19:00 1.9 +++ build-oro.xml 2001/05/09 18:58:54 1.10 @@ -1,5 +1,5 @@ <?xml version="1.0"?> -<!-- $Id: build-oro.xml,v 1.9 2001/01/29 00:19:00 dfs Exp $ --> +<!-- $Id: build-oro.xml,v 1.10 2001/05/09 18:58:54 dfs Exp $ --> <project name="Jakarta-ORO" default="main" basedir="."> @@ -8,7 +8,7 @@ <target name="init"> <property name="Name" value="Jakarta-ORO"/> <property name="year" value="2000"/> - <property name="version" value="2.0.2-dev-2"/> + <property name="version" value="2.0.2"/> <property name="project" value="jakarta-oro"/> <property name="build.compiler" value="classic"/> <property name="code.src" value="../src"/> From [email protected] Wed May 09 19:27:04 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83761 invoked by uid 500); 9 May 2001 19:26:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 83523 invoked from network); 9 May 2001 19:26:48 -0000 Message-Id: <[email protected]> X-Mailer: exmh version 2.0.3 To: [email protected] cc: [email protected] Subject: jakarta-oro 2.0.2 released Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 09 May 2001 15:26:29 -0400 From: "Daniel F. Savarese" <[email protected]> X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Since there have been no bug reports for 2.0.2dev2 and people seem to have been sticking with 2.0.1 which has some bugs, I've tagged the current source as release-2-0-2 and released a 2.0.2 build. This week I'll do what I promised and post a proposed development plan. I'm going to suggest a staged plan where we gradually add and test certain features. The plan will be based around getting all of the Perl stuff up to 5.6 compatibility. That version will be sufficiently different that it should be version 3.0. The steps in between will have 2.1, 2.2, etc. targets. Even though the emphasis is on the Perl regex stuff, since that's the most popular functionality, the jakarta-oro project is supposed to be a general text processing library, so I'll make suggestions about additional features, such as tokenizers, that could be added on the road to 3.0 or delayed until after then. I'll also propose a project definition statement to precisely scope the project. Anyway, it'll be up for discussion in a few days. BTW, Mark, where's that Perl5Substitution patch you were going to post? I know, who am I to talk, I haven't followed through on my stuff yet. daniel From [email protected] Wed May 09 20:42:18 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10789 invoked by uid 500); 9 May 2001 20:42:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 10759 invoked from network); 9 May 2001 20:42:04 -0000 Mime-Version: 1.0 X-Sender: [email protected] Message-Id: <p05100307b71f52f6cc95@[161.129.204.104]> In-Reply-To: <[email protected]> References: <[email protected]> Date: Wed, 9 May 2001 13:44:37 -0700 To: [email protected] From: "Mark F. Murphy" <[email protected]> Subject: Re: jakarta-oro 2.0.2 released Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N At 3:26 PM -0400 5/9/01, Daniel F. Savarese wrote: >BTW, Mark, where's that Perl5Substitution patch you were going to >post? Sorry. Been busy. I do have a question about coding styles. I read over the Java coding style and maybe have a couple differences between mine and it. I tend to comment in order to separate areas of code. Is that a problem? If I submit the diff posting, do you integrate the diff in or do you further massage it into the tree? Also, what about testing? I've done some unit testing (and the code changes are in our own production system now)... but how does this thing get extensively tested to make sure I didn't break anything? I did change a couple behaviors to be more perl like with respect to the substitution string. Like if a replacement group int is not found, it is simply no text where as the current behavior shows a '$' and the int value. In perl, such a substitution would yield no text. I also added escpaping (had to for \[ulULE]) for both '$' and '\'. So just want to make sure I'm doing the process correct. Thanks for any feedback. I'll make any adjustments you say I might need to make or I can just post the diff. mark -- --------------------------------------------------------------------------- Mark F. Murphy, Director Software Development <mailto:[email protected]> Tyrell Software Corp <http://www.tyrell.com> PowerPerl(tm), Add Power To Your Webpage! <http://www.powerperl.com> --------------------------------------------------------------------------- Families Against Internet Censorship: http://www.netfamilies.org/ From [email protected] Wed May 09 20:43:21 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11251 invoked by uid 500); 9 May 2001 20:43:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 11236 invoked from network); 9 May 2001 20:43:15 -0000 Mime-Version: 1.0 X-Sender: [email protected] Message-Id: <p05100300b71f5cbaa2e0@[161.129.204.104]> In-Reply-To: <[email protected]> References: <[email protected]> Date: Wed, 9 May 2001 13:45:49 -0700 To: [email protected] From: "Mark F. Murphy" <[email protected]> Subject: Dev Plan Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N At 3:26 PM -0400 5/9/01, Daniel F. Savarese wrote: >...so I'll make suggestions about >additional features, such as tokenizers, that could be added on the >road to 3.0 or delayed until after then. I'll also propose a project >definition statement to precisely scope the project. Anyway, it'll >be up for discussion in a few days. What about performance enhancements? Any need for that? mark -- --------------------------------------------------------------------------- Mark F. Murphy, Director Software Development <mailto:[email protected]> Tyrell Software Corp <http://www.tyrell.com> PowerPerl(tm), Add Power To Your Webpage! <http://www.powerperl.com> --------------------------------------------------------------------------- Families Against Internet Censorship: http://www.netfamilies.org/ From [email protected] Thu May 10 13:22:13 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47612 invoked by uid 500); 10 May 2001 13:22:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 47570 invoked from network); 10 May 2001 13:21:58 -0000 Message-ID: <[email protected]> From: "Takashi Okamoto" <[email protected]> To: <[email protected]>, <[email protected]> References: <[email protected]> Subject: Re: jakarta-oro 2.0.2 released Date: Thu, 10 May 2001 18:44:48 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Hi!! From: "Daniel F. Savarese" <[email protected]> > Since there have been no bug reports for 2.0.2dev2 and people seem > to have been sticking with 2.0.1 which has some bugs, I've tagged > the current source as release-2-0-2 and released a 2.0.2 build. Congratulations! Wel,l I have a few comments this release. in CHANGES -- o Applied a modified version of Takashi Okamoto's unicode/posix patch. It adds unicode support to character classes and adds partial support for posix classes (it supports things like [:digit:] and [:print:], but not [:^digit:] and [:^print:]). It will be improved/optimized later, but gives people the functionality they need today. -- [:^digit:] and [:^print:]) are worked fine. It was fixed already. http://jakarta.apache.org/site/binindex.html This page is linking ORO 2.0.1. It's obsolete. Thanks. -------------------------------------------- Takashi Okamoto From [email protected] Thu May 10 16:31:32 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63321 invoked by uid 500); 10 May 2001 16:30:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 63110 invoked from network); 10 May 2001 16:30:34 -0000 Message-Id: <[email protected]> Date: Thu, 10 May 2001 12:26:05 -0400 (EDT) From: Ed Chidester <[email protected]> Reply-To: Ed Chidester <[email protected]> Subject: Differences between oro and regexp (was RE: jakarta-oro 2.0.2 released) To: [email protected], [email protected] Cc: [email protected] MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-MD5: 0lcllo9FarPrrMjxdQCIag== X-Mailer: dtmail 1.2.1 CDE Version 1.2.1 SunOS 5.6 sun4m sparc X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N I don't know of a place where the differences between jakarta-regexp and jakarta-oro have been summarized. But, Let me tell you my observations when comparing jakarta-regexp-1.2.jar and jakarta-oro-2.0.2-dev-2.jar... Basically, the regexp package is smaller and has a reduced feature set. In fact, the regexp package jar file is less than half the size of the oro package jar. Initially, regexp handles matching (and rejecting matches) more quickly. But, after a few hundred matches, the time required by the regexp package (especially in rejecting matches) increases considerably when compared to the oro package. A major benefit I've seen to the oro package involves regular expression quantifiers "{n,m}"... The regexp package appears to take _much_ longer at processing regular expressions that use curly brace quantifiers ({n,m}). -- Ignore my statement above about regexp being faster in matches if you're using curly brace quantifiers. Things that I haven't used, so I can't say much about: Both classes provide POSIX character classes The oro package provides classes for awk regular expression syntax Hope this helps. Ed. // Edward Chidester // Software Engineer MNIS - Textwise Labs // +1-224-613-5967 401 South Salina Street // [email protected] Syracuse, NY 13202 Brian Ulicny <[email protected]> wrote: > > Can anyone summarize the differences between the ORO package and the Regexp > package, or point me to where the differences are summarized? > > Thanks, > > Brian Ulicny, PhD > Director of Research > Expound, Inc. > 28 Crosby Drive > Bedford MA 01730 > USA > [email protected] > www.expoundinc.com > +1-224-613-5967 From [email protected] Thu May 10 17:42:42 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99036 invoked by uid 500); 10 May 2001 17:42:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 98972 invoked from network); 10 May 2001 17:42:20 -0000 Mime-Version: 1.0 X-Sender: [email protected] Message-Id: <p05100300b72082808482@[161.129.204.104]> In-Reply-To: <[email protected]> References: <[email protected]> Date: Thu, 10 May 2001 10:44:57 -0700 To: [email protected] From: "Mark F. Murphy" <[email protected]> Subject: Yow... No More Java 1.1 Support? Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N I've been using Jakarta-Oro 2.0 for some time now with JDK 1.1.x with no problems and there appeared to be no dependencies on JDK 1.2 even though the Changes for v2.0 says "Guaranteed compatibility with JDK 1.1 is discontinued". It seems the first version of Jakarta-Oro to break JDK 1.1 compatibility is 2.2.... exchanging out Vector with ArrayList. Seems like such a small thing to change for breaking JDK 1.1 support. Is there a compelling reason why Jakarta-Oro cannot accomplish the task of Regex and not be JDK 1.1 compatible? mark -- --------------------------------------------------------------------------- Mark F. Murphy, Director Software Development <mailto:[email protected]> Tyrell Software Corp <http://www.tyrell.com> PowerPerl(tm), Add Power To Your Webpage! <http://www.powerperl.com> --------------------------------------------------------------------------- Families Against Internet Censorship: http://www.netfamilies.org/ From [email protected] Thu May 10 18:45:37 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81597 invoked by uid 500); 10 May 2001 18:45:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 81342 invoked from network); 10 May 2001 18:45:15 -0000 User-Agent: Microsoft-Entourage/161.129.204.10408 Date: Thu, 10 May 2001 11:45:17 -0700 Subject: Re: Yow... No More Java 1.1 Support? From: Jon Stevens <[email protected]> To: <[email protected]> Message-ID: <[email protected]> In-Reply-To: <p05100300b72082808482@[161.129.204.104]> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N on 5/10/01 10:44 AM, "Mark F. Murphy" <[email protected]> wrote: > I've been using Jakarta-Oro 2.0 for some time now with JDK 1.1.x with > no problems and there appeared to be no dependencies on JDK 1.2 even > though the Changes for v2.0 says "Guaranteed compatibility with JDK > 1.1 is discontinued". > > It seems the first version of Jakarta-Oro to break JDK 1.1 > compatibility is 2.2.... exchanging out Vector with ArrayList. > > Seems like such a small thing to change for breaking JDK 1.1 support. > > Is there a compelling reason why Jakarta-Oro cannot accomplish the > task of Regex and not be JDK 1.1 compatible? > > mark Oh come on. Upgrade your JDK. You have had warning that the support would go away. JDK 1.2 has been out for *years* now and is supported on all the major platforms except MacOS9. -jon From [email protected] Thu May 10 19:00:39 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99255 invoked by uid 500); 10 May 2001 19:00:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 99185 invoked from network); 10 May 2001 19:00:19 -0000 Message-Id: <[email protected]> X-Mailer: exmh version 2.0.3 To: [email protected] Subject: Re: jakarta-oro 2.0.2 released In-reply-to: Your message of "Wed, 09 May 2001 13:44:37 PDT." <p05100307b71f52f6cc95@[161.129.204.104]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 10 May 2001 15:00:01 -0400 From: "Daniel F. Savarese" <[email protected]> X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N >I tend to comment in order to separate areas of code. > >Is that a problem? Don't know what you mean here. Useful comments are good, unuseful comments are bad. I'm sure your commenting is fine. As it is the source is missing a ton of comments. For historical reasons associated with the original development schedule of the software, only the public interfaces were commented (otherwise the software would have been useless to the end user). >If I submit the diff posting, do you integrate the diff in or do you >further massage it into the tree? Each diff is inspected, verified, and has any modifications made to it that may be necessary before committing it. >Also, what about testing? > >I've done some unit testing (and the code changes are in our own >production system now)... but how does this thing get extensively >tested to make sure I didn't break anything? Regression tests are on the todo list. I never ported the old ORO tests when converting to jakarta-oro. Someone had volunteered to implement some new ones, but it doesn't look like they ever had the time. For the .regex and .perl packages, a good starting point is to adapt the Perl regex test battery. For consistency with other projects, we should probably use JUnit for implementing the tests. Also, addressing your next email, we ought to include some concrete performance tests so we can evaluate how performance is affected by new code. >Like if a replacement group int is not found, it is simply no text >where as the current behavior shows a '$' and the int value. > >In perl, such a substitution would yield no text. This is a subject of some debate (the whole what makes more sense in Java thing), but it's best to have done what you implemented, especially since you added escaping. >I also added escpaping (had to for \[ulULE]) for both '$' and '\'. Excellent! >I'll make any adjustments you say I might need to make or I can just >post the diff. Just post the diff :) daniel From [email protected] Thu May 10 19:03:29 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5280 invoked by uid 500); 10 May 2001 19:03:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 5094 invoked from network); 10 May 2001 19:03:21 -0000 Message-Id: <[email protected]> X-Mailer: exmh version 2.0.3 To: [email protected] Subject: Re: jakarta-oro 2.0.2 released In-reply-to: Your message of "Thu, 10 May 2001 18:44:48 +0900." <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 10 May 2001 15:03:03 -0400 From: "Daniel F. Savarese" <[email protected]> X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N >[:^digit:] and [:^print:]) are worked fine. It was fixed already. That's my fault for failing to update the CHANGES file when I applied your last patch. I'll fix it. >http://jakarta.apache.org/site/binindex.html >This page is linking ORO 2.0.1. It's obsolete. Somebody already fixed this (probably Jon :), but we can make a checklist of things to do/update in conjunction with a release. daniel From [email protected] Thu May 10 19:27:46 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59164 invoked by uid 500); 10 May 2001 19:27:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 59096 invoked from network); 10 May 2001 19:27:34 -0000 Mime-Version: 1.0 X-Sender: [email protected] Message-Id: <p05100300b7209b95d7af@[161.129.204.104]> In-Reply-To: <[email protected]> References: <[email protected]> Date: Thu, 10 May 2001 12:30:11 -0700 To: [email protected] From: "Mark F. Murphy" <[email protected]> Subject: Re: Yow... No More Java 1.1 Support? Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N At 11:45 AM -0700 5/10/01, Jon Stevens wrote: >Oh come on. Upgrade your JDK. You have had warning that the support would go >away. > >JDK 1.2 has been out for *years* now and is supported on all the major >platforms except MacOS9. Not very helpful. There are *deployment* situations where it is not possible to upgrade the JDK. For example, some software written in Java might have dependencies on a particular JDK and not be certified to work in newer JDKs. I realize that a *warning* was given... But... I'm questioning what is gained by making Jakarta-Ora *not* compatible with JDK 1.1? Switching from Vector to ArrayList hardly seems like a *reason*. I could understand the reliance on JDK 1.2 if there was a compelling reason... like performance... some class that was in 1.2 that was absolutely necessary. But we are talking a regex package here. Most C based regex packages are done with just C. I'd find it hard to believe that Oro must rely on 1.2. Haven't you ever run into a deployment situation where you were stuck with an older version of a dev system or dependent libraries? It happens. It can happen a lot. mark -- --------------------------------------------------------------------------- Mark F. Murphy, Director Software Development <mailto:[email protected]> Tyrell Software Corp <http://www.tyrell.com> PowerPerl(tm), Add Power To Your Webpage! <http://www.powerperl.com> --------------------------------------------------------------------------- Families Against Internet Censorship: http://www.netfamilies.org/ From [email protected] Thu May 10 19:41:23 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86111 invoked by uid 500); 10 May 2001 19:41:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 85903 invoked from network); 10 May 2001 19:41:07 -0000 Message-Id: <[email protected]> X-Mailer: exmh version 2.0.3 To: [email protected] Subject: Re: Yow... No More Java 1.1 Support? In-reply-to: Your message of "Thu, 10 May 2001 10:44:57 PDT." <p05100300b72082808482@[161.129.204.104]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 10 May 2001 15:40:49 -0400 From: "Daniel F. Savarese" <[email protected]> X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N >It seems the first version of Jakarta-Oro to break JDK 1.1 >compatibility is 2.2.... exchanging out Vector with ArrayList. In 2.0.1 the split method in Util was changed to accept a List, and in 2.0.2 it was changed again to accept a Collection. Also, the recently added POSIX stuff uses a HashMap. Although there are no guarantees it will remain implemented that way as you can do it as efficiently without the additional memory overhead. As with all part time projects, it's all about implement and refine. >Seems like such a small thing to change for breaking JDK 1.1 support. > >Is there a compelling reason why Jakarta-Oro cannot accomplish the >task of Regex and not be JDK 1.1 compatible? I can't say that there's a compelling reason other than the majority of users appeared to be using the Java 2 Platform and it no longer seemed necessary to restrict the package to only using 1.1 constructs. Various future enhancements will likely be either easier to implement, more efficient, or simply more compatible with the Java core by using Java 2 stuff. This is the same situation as when the move from OROMatcher 1.0.7 to OROMatcher 1.1 broke JDK 1.0.2 compatibility. It would be nice if Java had real conditional compilation support so that versions for multiple Java platforms could be supported. For example, to compile the OROMatcher stuff for J2ME required a few changes (replace Character.isWhitespace() and elimnate java.io.Serializable), but it was impossible to keep them rolled into the same source tree without doing custom preprocessing. On that note ... I've stayed away from the various attempts at Java preprocessors because they are non-standard, but given that we're using ant as the build engine if a preprocessor can be rolled in as a standard ant task, I think it's got a chance of become relatively standard. Is there already such a thing. Does anyone currently use a Java-based open source Java preprocessor that might be adapted to the role? It would be relatively simple to implement a preprocessor solely for the purpose of conditional compilation (just ifdef, else, elif, endif, with the conditions picked up from properties). In any case, to answer the question, if possible, I think we should strive to support Java 2, J2ME, and JDK 1.1 through a conditional compilation mechanism rather than a least common denominator approach. daniel From [email protected] Thu May 10 20:09:49 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58153 invoked by uid 500); 10 May 2001 20:09:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 58057 invoked from network); 10 May 2001 20:09:40 -0000 User-Agent: Microsoft-Entourage/161.129.204.10408 Date: Thu, 10 May 2001 13:09:42 -0700 Subject: Re: Yow... No More Java 1.1 Support? From: Jon Stevens <[email protected]> To: <[email protected]> Message-ID: <[email protected]> In-Reply-To: <p05100300b7209b95d7af@[161.129.204.104]> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N on 5/10/01 12:30 PM, "Mark F. Murphy" <[email protected]> wrote: > At 11:45 AM -0700 5/10/01, Jon Stevens wrote: >> Oh come on. Upgrade your JDK. You have had warning that the support would go >> away. >> >> JDK 1.2 has been out for *years* now and is supported on all the major >> platforms except MacOS9. > > Not very helpful. > > There are *deployment* situations where it is not possible to upgrade the JDK. > > For example, some software written in Java might have dependencies on > a particular JDK and not be certified to work in newer JDKs. Right...and my point is that you have had *years* to test things. > I realize that a *warning* was given... Exactly. > I'm questioning what is gained by making Jakarta-Ora *not* compatible > with JDK 1.1? We can take advantage of JDK 1.2 features. > Switching from Vector to ArrayList hardly seems like a *reason*. > > I could understand the reliance on JDK 1.2 if there was a compelling > reason... like performance... some class that was in 1.2 that was > absolutely necessary. > > But we are talking a regex package here. > > Most C based regex packages are done with just C. C != Java > Haven't you ever run into a deployment situation where you were stuck > with an older version of a dev system or dependent libraries? Not with Java. All my JDK 1.1 code instantly worked on JDK 1.2 and 1.3 without any problems other than maybe a re-compile. Java is great at forward compatibility. Let me guess...you also still use Windows 3.1. Nearly *every* project within Jakarta now has a dependency on JDK 1.2. Time for you to upgrade sir. -jon -- If you come from a Perl or PHP background, JSP is a way to take your pain to new levels. --Anonymous <http://jakarta.apache.org/velocity/ymtd/ymtd.html> From [email protected] Thu May 10 20:10:45 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60025 invoked by uid 500); 10 May 2001 20:10:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 59982 invoked from network); 10 May 2001 20:10:41 -0000 User-Agent: Microsoft-Entourage/161.129.204.10408 Date: Thu, 10 May 2001 13:10:43 -0700 Subject: Re: Yow... No More Java 1.1 Support? From: Jon Stevens <[email protected]> To: <[email protected]> Message-ID: <[email protected]> In-Reply-To: <[email protected]> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N on 5/10/01 12:40 PM, "Daniel F. Savarese" <[email protected]> wrote: > I've stayed away from the various attempts at Java preprocessors because > they are non-standard, but given that we're using ant as the build > engine if a preprocessor can be rolled in as a standard ant task, > I think it's got a chance of become relatively standard. Is there > already such a thing. Does anyone currently use a Java-based open > source Java preprocessor that might be adapted to the role? It would be > relatively simple to implement a preprocessor solely for the purpose of > conditional compilation (just ifdef, else, elif, endif, with the conditions > picked up from properties). Hell no. I would -1 that idea instantly. -jon -- If you come from a Perl or PHP background, JSP is a way to take your pain to new levels. --Anonymous <http://jakarta.apache.org/velocity/ymtd/ymtd.html> From [email protected] Thu May 10 20:13:08 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64733 invoked by uid 500); 10 May 2001 20:13:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 64691 invoked from network); 10 May 2001 20:13:04 -0000 Mime-Version: 1.0 X-Sender: [email protected] Message-Id: <p05100301b720a6ee824b@[161.129.204.104]> In-Reply-To: <[email protected]> References: <[email protected]> Date: Thu, 10 May 2001 13:15:41 -0700 To: [email protected] From: "Mark F. Murphy" <[email protected]> Subject: [PATCH] [Upper|Lower]Case For Perl5Substitution Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N --- Perl5Substitution.java.orig Thu May 10 12:48:14 2001 +++ Perl5Substitution.java Thu May 10 13:11:12 2001 @@ -57,7 +57,7 @@ * by Daniel F. Savarese. We appreciate his contributions. */ -import java.util.*; +import java.util.Vector; /** * Perl5Substitution implements a Substitution consisting of a @@ -135,70 +135,141 @@ */ public static final int INTERPOLATE_NONE = -1; + /** + * A constant declaring opcode for copy operation + */ + public static final int OPCODE_COPY = -1; + + /** + * A constant declaring opcode for lowercase char operation + */ + public static final int OPCODE_LOWERCASE_CHAR = -2; + + /** + * A constant declaring opcode for uppercase char operation + */ + public static final int OPCODE_UPPERCASE_CHAR = -3; + + /** + * A constant declaring opcode for lowercase mode operation + */ + public static final int OPCODE_LOWERCASE_MODE = -4; + + /** + * A constant declaring opcode for lowercase mode operation + */ + public static final int OPCODE_UPPERCASE_MODE = -5; + + /** + * A constant declaring opcode for lowercase mode operation + */ + public static final int OPCODE_ENDCASE_MODE = -6; + int _numInterpolations; - ArrayList _substitutions; + Vector _substitutions; transient String _lastInterpolation; - static ArrayList _parseSubs(String sub) { - boolean saveDigits, storedInterpolation; - int current; + static Vector _parseSubs(String sub) { + boolean saveDigits, escapeMode, caseMode; + int posParam; + int offset; char[] str; - ArrayList subs; - StringBuffer numBuffer, strBuffer; + Vector subs; - subs = new ArrayList(5); - numBuffer = new StringBuffer(5); - strBuffer = new StringBuffer(10); + subs = new Vector(5); str = sub.toCharArray(); - current = 0; + posParam = 0; + offset = -1; saveDigits = false; - storedInterpolation = false; + escapeMode = false; + caseMode = false; - while(current < str.length) { - if(saveDigits && Character.isDigit(str[current])) { - numBuffer.append(str[current]); - - if(strBuffer.length() > 0) { - subs.add(strBuffer.toString()); - strBuffer.setLength(0); - } - } else { - if(saveDigits) { - try { - subs.add(new Integer(numBuffer.toString())); - storedInterpolation = true; - } catch(NumberFormatException e) { - subs.add(numBuffer.toString()); - } + for (int current = 0; current < str.length; current++) { - numBuffer.setLength(0); - saveDigits = false; - } + char c = str[current]; + int next = current + 1; + + // Save digits + if (saveDigits) { + int digit = Character.digit(c, 10); + if (digit > -1) { + if (posParam <= 32767) { + posParam *= 10; + posParam += digit; + } + if (next == str.length) { + subs.addElement(new Integer(posParam)); + } + continue; + } + subs.addElement(new Integer(posParam)); + posParam = 0; + saveDigits = false; + } + + // Copy + if ((c != '$' && c != '\\') || escapeMode) { + escapeMode = false; + if (offset < 0) { + offset = current; + subs.addElement(new Integer(OPCODE_COPY)); + subs.addElement(new Integer(offset)); + } + if (next == str.length) { + subs.addElement(new Integer(next - offset)); + } + continue; + } + + // End Copy + if (offset >= 0) { + subs.addElement(new Integer(current - offset)); + offset = -1; + } + + // Only do positional and escapes if we have a next char + if (next == str.length) + continue; + char nextc = str[next]; + + // Positional params + if (c == '$') { + saveDigits = (nextc != '0' && Character.isDigit(nextc)); + } + + // Escape codes + else if (c == '\\') { + if (nextc == 'l') { + if (!caseMode){ + subs.addElement(new Integer(OPCODE_LOWERCASE_CHAR)); + current++; + } + } else if (nextc == 'u') { + if (!caseMode) { + subs.addElement(new Integer(OPCODE_UPPERCASE_CHAR)); + current++; + } + } else if (nextc == 'L') { + subs.addElement(new Integer(OPCODE_LOWERCASE_MODE)); + current++; + caseMode = true; + } else if (nextc == 'U') { + subs.addElement(new Integer(OPCODE_UPPERCASE_MODE)); + current++; + caseMode = true; + } else if (nextc == 'E') { + subs.addElement(new Integer(OPCODE_ENDCASE_MODE)); + current++; + caseMode = false; + } else { + escapeMode = true; + } + } - if(str[current] == '$' && - current + 1 < str.length && str[current + 1] != '0' && - Character.isDigit(str[current + 1])) - saveDigits = true; - else - strBuffer.append(str[current]); - } - - ++current; - } // end while - - - if(saveDigits) { - try { - subs.add(new Integer(numBuffer.toString())); - storedInterpolation = true; - } catch(NumberFormatException e) { - subs.add(numBuffer.toString()); - } - } else if(strBuffer.length() > 0) - subs.add(strBuffer.toString()); + } - return (storedInterpolation ? subs : null); + return subs; } @@ -209,16 +280,20 @@ } void _calcSub(StringBuffer buffer, MatchResult result) { - int size, value; + int size, element, value, offset, count, caseMode; Object obj; Integer integer; String group; - Iterator it; + char[] sub; - it = _substitutions.iterator(); + caseMode = 0; + char[] str = getSubstitution().toCharArray(); + char[] match = result.group(0).toCharArray(); - while(it.hasNext()) { - obj = it.next(); + size = _substitutions.size(); + + for(element=0; element < size; element++) { + obj = _substitutions.elementAt(element); if(obj instanceof String) buffer.append(obj); @@ -226,15 +301,80 @@ integer = (Integer)obj; value = integer.intValue(); + // Groups if(value > 0 && value < result.groups()) { - group = result.group(value); - if(group != null) - buffer.append(group); - } else { - buffer.append('$'); - buffer.append(value); + offset = result.begin(value); + if (offset < 0) continue; + int end = result.end(value); + if (end < 0) continue; + + int len = result.length(); + + if (offset >= len || end > len || offset >= end) continue; + + count = end - offset; + sub = match; + + } + + // Copy + else if (value == OPCODE_COPY) { + element++; + if (element >= size) continue; + offset = ((Integer) _substitutions.elementAt(element)).intValue(); + element++; + if (element >= size) continue; + count = ((Integer) _substitutions.elementAt(element)).intValue(); + sub = str; + } + + // Case char + else if (value == OPCODE_LOWERCASE_CHAR || value == OPCODE_UPPERCASE_CHAR) { + if (caseMode != OPCODE_LOWERCASE_MODE && caseMode != OPCODE_UPPERCASE_MODE) { + caseMode = value; + } + continue; + } + + // Case mode + else if (value == OPCODE_LOWERCASE_MODE || value == OPCODE_UPPERCASE_MODE) { + caseMode = value; + continue; + } + + // Case mode end + else if (value == OPCODE_ENDCASE_MODE) { + caseMode = 0; + continue; + } + + // Unknown + else { + continue; } + + // Apply modes to buf + if (caseMode == OPCODE_LOWERCASE_CHAR) { + buffer.append(Character.toLowerCase(sub[offset++])); + buffer.append(sub, offset, --count); + caseMode = 0; + } else if (caseMode == OPCODE_UPPERCASE_CHAR) { + buffer.append(Character.toUpperCase(sub[offset++])); + buffer.append(sub, offset, --count); + caseMode = 0; + } else if (caseMode == OPCODE_LOWERCASE_MODE) { + for (int end = offset + count; offset < end; ) { + buffer.append(Character.toLowerCase(sub[offset++])); + } + } else if (caseMode == OPCODE_UPPERCASE_MODE) { + for (int end = offset + count; offset < end; ) { + buffer.append(Character.toUpperCase(sub[offset++])); + } + } else { + buffer.append(sub, offset, count); + } + } } } From [email protected] Thu May 10 20:22:08 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79324 invoked by uid 500); 10 May 2001 20:22:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 79302 invoked from network); 10 May 2001 20:22:02 -0000 Mime-Version: 1.0 X-Sender: [email protected] Message-Id: <p05100303b720a7b7b16e@[161.129.204.104]> In-Reply-To: <[email protected]> References: <[email protected]> Date: Thu, 10 May 2001 13:24:41 -0700 To: [email protected] From: "Mark F. Murphy" <[email protected]> Subject: Recent Patch... Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N I just sent off the patch for the new Upper and Lower case perl substitutions. I apologize for it using Vector... but in my current development environment where I have these changes I cannot switch to JDK 1.2... I figured the features found in the patch might outweigh the need to use ArrayList over Vector. Not to mention that switching to ArrayList wouldn't be that difficult to do for anyone else who happens to have a JDK 1.2 they can work/test with. Again, I apologize. Hope these new features are useful. I also tried to gain some performance by not making many instances of Strings (as was used in the previous approach). Instead, I keep offset/count pairs in the Vector. Ideally, I really wanted to just keep my own int[] to save memory and less object creation... growing the int[] as required past initial capacity. Doing so would use scalars and not objects... and would be less overhead. However, I wasn't sure how far I really wanted to modify the class's member vars... I know they are all private... but this is my first time submitting a patch so I didn't want to go overboard. Let me know if the patch is acceptable or if there is other work I must to do get it up to par. Looking forward to feedback. mark -- --------------------------------------------------------------------------- Mark F. Murphy, Director Software Development <mailto:[email protected]> Tyrell Software Corp <http://www.tyrell.com> PowerPerl(tm), Add Power To Your Webpage! <http://www.powerperl.com> --------------------------------------------------------------------------- Families Against Internet Censorship: http://www.netfamilies.org/ From [email protected] Thu May 10 20:45:32 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29102 invoked by uid 500); 10 May 2001 20:45:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 28934 invoked from network); 10 May 2001 20:44:59 -0000 Mime-Version: 1.0 X-Sender: [email protected] Message-Id: <p05100305b720aabe67bd@[161.129.204.104]> In-Reply-To: <[email protected]> References: <[email protected]> Date: Thu, 10 May 2001 13:47:37 -0700 To: [email protected] From: "Mark F. Murphy" <[email protected]> Subject: Re: Yow... No More Java 1.1 Support? Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N At 1:09 PM -0700 5/10/01, Jon Stevens wrote: > > For example, some software written in Java might have dependencies on >> a particular JDK and not be certified to work in newer JDKs. > >Right...and my point is that you have had *years* to test things. I'm *not* talking about *my* code but code from a vendor that is not certified nor runs under JDK greater than 1.1.8... for example. > > I'm questioning what is gained by making Jakarta-Ora *not* compatible >> with JDK 1.1? > >We can take advantage of JDK 1.2 features. Understood. If there's a compelling feature that 1.2 offers that cannot be done otherwise, I understand. If there's some huge benefit to be gained because of the abstraction, I understand. Simply changing for the sake of changing, I have a more difficult time with. For example, changing from Vector to ArrayList in Perl5Substitution seemed to be changed just because (no offense to the person who made the change). > > Most C based regex packages are done with just C. > >C != Java I know that. My point is (and perhaps I wasn't clear) that I don't see a huge benefit in using Java classes which may not gain much (or nothing at all) that couldn't be done in the base Java lang... much like the original regex packages are done in. A good example would be the overuse of String in java code. A very typical mistake by junior java developers which can affect memory size, performance, etc. Just because a class exists in the JDK doesn't mean one should use it. Careful consideration must be given to the scope of the work being done... and what the goal is. For a Java regex package, my opinion would be that performance is important... and compatibility with other regex expressions is high on the list (as in the Perl module). Using the latest and greatest Java classes in JDK X might not be a requirement nor needed when analyzing the design. > > Haven't you ever run into a deployment situation where you were stuck >> with an older version of a dev system or dependent libraries? > >Not with Java. All my JDK 1.1 code instantly worked on JDK 1.2 and 1.3 >without any problems other than maybe a re-compile. Java is great at forward >compatibility. All my code works like that as well. But I'm not talking about *my* code. I'm talking about when one is dependent on other vendor classes or environments where going to a newer JDK isn't possible.... yet the need to still develop or add code to that environment is a requirement. Jakarta-Oro is a great tool... I've used it in several projects. >Let me guess...you also still use Windows 3.1. No, I don't. But let me guess... you must be a bit bent out of shape.... or at least that's the feeling I'm getting. Otherwise, I'm at a loss for the negativism in your replies. >Nearly *every* project within Jakarta now has a dependency on JDK 1.2. Time >for you to upgrade sir. I'll repeat... it's not a matter of *my* code needing upgrading. It's a matter of in a deployment situation being dependent on other vendors where the environment cannot change past JDK 1.1.x. Is jakarta-oro only meant to work/integrate with apache products and nothing else? I hope not. Perhaps I misunderstand the goals of the jakarta-oro project? mark -- --------------------------------------------------------------------------- Mark F. Murphy, Director Software Development <mailto:[email protected]> Tyrell Software Corp <http://www.tyrell.com> PowerPerl(tm), Add Power To Your Webpage! <http://www.powerperl.com> --------------------------------------------------------------------------- Families Against Internet Censorship: http://www.netfamilies.org/ From [email protected] Thu May 10 21:27:14 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97815 invoked by uid 500); 10 May 2001 21:27:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 72899 invoked from network); 10 May 2001 15:35:17 -0000 Message-ID: <5320E676149BD41183C400508B9A557F529BD9@NAVLEXBOSXCH01> From: Brian Ulicny <[email protected]> To: "'[email protected]'" <[email protected]>, "'[email protected]'" <[email protected]> Subject: RE: jakarta-oro 2.0.2 released Date: Thu, 10 May 2001 11:35:09 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Can anyone summarize the differences between the ORO package and the Regexp package, or point me to where the differences are summarized? Thanks, Brian Ulicny, PhD Director of Research Expound, Inc. 28 Crosby Drive Bedford MA 01730 USA [email protected] www.expoundinc.com +1-224-613-5967 From [email protected] Thu May 10 22:10:46 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61571 invoked by uid 500); 10 May 2001 22:10:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 61513 invoked from network); 10 May 2001 22:10:40 -0000 User-Agent: Microsoft-Entourage/161.129.204.10408 Date: Thu, 10 May 2001 15:10:42 -0700 Subject: Re: jakarta-oro 2.0.2 released From: Jon Stevens <[email protected]> To: <[email protected]> Message-ID: <[email protected]> In-Reply-To: <5320E676149BD41183C400508B9A557F529BD9@NAVLEXBOSXCH01> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N on 5/10/01 8:35 AM, "Brian Ulicny" <[email protected]> wrote: > Can anyone summarize the differences between the ORO package and the Regexp > package, or point me to where the differences are summarized? They are two different packages with two different code bases that do some stuff the same and some stuff differently and have different memory and speed models. Is that a good enough summary? -jon -- If you come from a Perl or PHP background, JSP is a way to take your pain to new levels. --Anonymous <http://jakarta.apache.org/velocity/ymtd/ymtd.html> From [email protected] Thu May 10 22:22:59 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73383 invoked by uid 500); 10 May 2001 22:22:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 73371 invoked from network); 10 May 2001 22:22:54 -0000 Message-Id: <[email protected]> X-Mailer: exmh version 2.0.3 To: [email protected] Subject: Re: Yow... No More Java 1.1 Support? In-reply-to: Your message of "Thu, 10 May 2001 13:10:43 PDT." <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 10 May 2001 18:22:39 -0400 From: "Daniel F. Savarese" <[email protected]> X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N >Hell no. I would -1 that idea instantly. I might be taking things off topic, but why? Let me step back and clarify my position first. My thesis is that Java projects need true conditional compilation support not currently provided by the standard Java platform. Forget about the preprocessor; that's just one way of implementing the support. As far as the jakarta-oro project goes, the motivating reason would be to support both Java 2 and J2ME (forget about Java 1.1, that's just something you can handle as a convenience for a particular user base) from the same code base without sacrificing the Java 2 implementation and without creating an infestation of Java platform-specific classes. Yes, people other than myself are maintaining custom patches to jakarta-oro for use on J2ME. If you don't believe conditional compilation support is necessary, please edify me. And if you do, what approach do you recommend instead of a preprocessor? Basically, when Jon Stevens instantly says no to conditional compilation, I want to know why to see whether or not I need to reevaluate my reasons. Or if he's wrong :), whether or not I should expend a small amount of effort to try to sway him otherwise. Anyway, as you've said before. Less talk. More coding. :) daniel From [email protected] Thu May 10 22:32:32 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90007 invoked by uid 500); 10 May 2001 22:32:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 89879 invoked from network); 10 May 2001 22:32:25 -0000 Message-Id: <[email protected]> X-Mailer: exmh version 2.0.3 To: [email protected] Subject: Re: Recent Patch... In-reply-to: Your message of "Thu, 10 May 2001 13:24:41 PDT." <p05100303b720a7b7b16e@[161.129.204.104]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 10 May 2001 18:32:10 -0400 From: "Daniel F. Savarese" <[email protected]> X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N >I just sent off the patch for the new Upper and Lower case perl substitutions. Excellent! >I also tried to gain some performance by not making many instances of >Strings (as was used in the previous approach). > >Instead, I keep offset/count pairs in the Vector. > >Ideally, I really wanted to just keep my own int[] to save memory and >less object creation... growing the int[] as required past initial >capacity. Doing so would use scalars and not objects... and would be >less overhead. Since you've made the switch to offset/count pairs, I think you've made the Vector vs. ArrayList point moot. I'll go over the patch and probably make the change you just suggested after applying it unless you want to take the time to do it and resubmit. Assuming you reuse a substitution, the use of Integer wrappers in _parseSubs doesn't kill you because it's a one time cost, but it really gets you in _calcSub, which up until now has been a less than ideal implementation. daniel From [email protected] Thu May 10 22:38:17 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95035 invoked by uid 500); 10 May 2001 22:38:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 95019 invoked from network); 10 May 2001 22:38:11 -0000 User-Agent: Microsoft-Entourage/161.129.204.10408 Date: Thu, 10 May 2001 15:38:14 -0700 Subject: Re: Yow... No More Java 1.1 Support? From: Jon Stevens <[email protected]> To: <[email protected]> Message-ID: <[email protected]> In-Reply-To: <[email protected]> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N on 5/10/01 3:22 PM, "Daniel F. Savarese" <[email protected]> wrote: > And if you do, what approach do you recommend instead of > a preprocessor? Problem: Need code to work with JDK 1.1 and JDK 1.2 with regards to the Collections API (sound familiar?). Point of overlap: To use the Collections API as a separate .jar file, you need to slightly modify the imports. Solution: Write your .java code using the latest API's (ie: Java2). Use Ant's <replace> tag to find/replace the imports relating to the Collection's API and then conditionally include the collections.jar file depending on what JDK you are using. I did this at one point with WebMacro and it worked without any problems and was very clean. It also allowed the author to continue to code to the latest API's while still maintaining full backwards compatibility. Here is a copy of the .jar: http://cvs.jdom.org/cgi-bin/viewcvs.cgi/jdom/lib/collections.jar?sortby=date -jon -- If you come from a Perl or PHP background, JSP is a way to take your pain to new levels. --Anonymous <http://jakarta.apache.org/velocity/ymtd/ymtd.html> From [email protected] Thu May 10 23:04:36 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30262 invoked by uid 500); 10 May 2001 23:04:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 30209 invoked from network); 10 May 2001 23:04:25 -0000 Mime-Version: 1.0 X-Sender: [email protected] Message-Id: <p05100308b720c588254e@[161.129.204.104]> In-Reply-To: <[email protected]> References: <[email protected]> Date: Thu, 10 May 2001 16:04:17 -0700 To: [email protected] From: "Mark F. Murphy" <[email protected]> Subject: Re: Recent Patch... Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N At 6:32 PM -0400 5/10/01, Daniel F. Savarese wrote: > >Ideally, I really wanted to just keep my own int[] to save memory and >>less object creation... growing the int[] as required past initial >>capacity. Doing so would use scalars and not objects... and would be >>less overhead. > >Since you've made the switch to offset/count pairs, I think you've >made the Vector vs. ArrayList point moot. I'll go over the patch >and probably make the change you just suggested after applying it >unless you want to take the time to do it and resubmit. I can go ahead and switch to an int[] instead of Vector or ArrayList (it's private, so nothing else should be affected). I'll resubmit a new patch when I'm done and have unit tested. I'd also like to cache the substitution string's char[] I currently have in local scope within _parseSubs for later use in _calcSub in order not to re-get the array. I also left in the check for instance of String in _calcSub. If we aren't worried about backwards compat if anyone has serialized instances, I'd like to remove the instance check for String. Last question. Are static inner classes considered bad form for this project? mark -- --------------------------------------------------------------------------- Mark F. Murphy, Director Software Development <mailto:[email protected]> Tyrell Software Corp <http://www.tyrell.com> PowerPerl(tm), Add Power To Your Webpage! <http://www.powerperl.com> --------------------------------------------------------------------------- Families Against Internet Censorship: http://www.netfamilies.org/ From [email protected] Thu May 10 23:55:08 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95035 invoked by uid 500); 10 May 2001 23:55:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 95010 invoked from network); 10 May 2001 23:55:03 -0000 Message-Id: <[email protected]> X-Mailer: exmh version 2.0.3 To: [email protected] Subject: Re: Recent Patch... In-reply-to: Your message of "Thu, 10 May 2001 16:04:17 PDT." <p05100308b720c588254e@[161.129.204.104]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 10 May 2001 19:54:49 -0400 From: "Daniel F. Savarese" <[email protected]> X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N >I also left in the check for instance of String in _calcSub. If we >aren't worried about backwards compat if anyone has serialized >instances, I'd like to remove the instance check for String. Kill it. instanceof was a kluge. >Are static inner classes considered bad form for this project? Historically, the code never used inner classes while it was still maintaining JDK 1.0.2 compatibility. It never introduced inner classes because the JDK 1.1 and, I believe, even the 1.2 compiler would inline methods that accessed private members. At run time, on JVMs with strict class verifiers, the class calling those methods wouldn't pass the class verifier. Right now, as long as we compile with the JDK 1.3 compiler or don't use -O with earlier compilers, I think we're ok with inner classes. daniel From [email protected] Thu May 10 23:57:13 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 96705 invoked by uid 500); 10 May 2001 23:57:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 96682 invoked from network); 10 May 2001 23:57:12 -0000 Message-Id: <[email protected]> X-Mailer: exmh version 2.0.3 To: [email protected] Subject: Re: Yow... No More Java 1.1 Support? In-reply-to: Your message of "Thu, 10 May 2001 15:38:14 PDT." <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 10 May 2001 19:56:59 -0400 From: "Daniel F. Savarese" <[email protected]> X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N I think that's great, but it doesn't work for what I was talking about. But that's because I buried the reference to it in one of the too many emails that I've written today. To support J2ME CLDC you need to replace methods that no longer exist even if the classes themselves exist. In addition, some interfaces that you implement (e.g., java.io.Serializable), are no longer available. Right now, for jakarta-oro, it's just Character.isWhitespace and java.io.Serializable. But for the general case, which includes debugging code that gets turned not just on and off but has varying levels [the if(debug) approach is flawed for reasons discussed in many an article, including some of mine], it can be a huge cascade of problems. There are ways of working around the stuff, but they all take longer to implement and add runtime overheads to your programs when what you need is a compile time mechanism. > Write your .java code using the latest API's (ie: Java2). Use Ant's > <replace> tag to find/replace the imports relating to the Collection's > API and then conditionally include the collections.jar file depending on > what JDK you are using. Ok, so you do support the use of a preprocessor :) Java programmers keep on working around the problem and a search and replace is just a preprocessing step. At any rate, for non-jakarta projects, I've used perl scripts to handle the problem, but I think it's still an open problem for the general "all i've got is java,javac and your source code that i want to compile" case. For jakarta-oro, I think we can accommodate the needs with just <replace> and judicious tracking of the limited set of things requiring changing. My attitude has always been pretty bad. I always figured somone else would solve the problem and that eventually Sun would coopt what they'd done by replacing their solution with something of their own device, the way they've done before. Anyway, thanks for offering your take on the topic. over and out :) daniel From [email protected] Fri May 11 00:03:54 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4938 invoked by uid 500); 11 May 2001 00:03:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 4927 invoked from network); 11 May 2001 00:03:53 -0000 User-Agent: Microsoft-Entourage/161.129.204.10408 Date: Thu, 10 May 2001 17:03:56 -0700 Subject: Re: Yow... No More Java 1.1 Support? From: Jon Stevens <[email protected]> To: <[email protected]> Message-ID: <[email protected]> In-Reply-To: <[email protected]> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N on 5/10/01 4:56 PM, "Daniel F. Savarese" <[email protected]> wrote: > To support J2ME CLDC you need to replace > methods that no longer exist even if the classes themselves exist. > There are ways of working around > the stuff, but they all take longer to implement and add runtime overheads > to your programs when what you need is a compile time mechanism. Class.forName() is your friend. :-) > Ok, so you do support the use of a preprocessor :) In essence, but the point I was trying to convey is that the code would still compile with the latest API's without having to run it through a preprocessor first. -jon -- If you come from a Perl or PHP background, JSP is a way to take your pain to new levels. --Anonymous <http://jakarta.apache.org/velocity/ymtd/ymtd.html> From [email protected] Fri May 11 02:19:04 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9579 invoked by uid 500); 11 May 2001 02:18:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 9565 invoked by uid 500); 11 May 2001 02:18:53 -0000 Delivered-To: [email protected] Date: 11 May 2001 02:18:51 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro CHANGES dfs 01/05/10 19:18:50 Modified: . CHANGES Log: Added note indicating addition of Takashi's updated posix character class fix. Revision Changes Path 1.6 +4 -1 jakarta-oro/CHANGES Index: CHANGES =================================================================== RCS file: /home/cvs/jakarta-oro/CHANGES,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- CHANGES 2001/05/09 18:18:50 1.5 +++ CHANGES 2001/05/11 02:18:48 1.6 @@ -1,4 +1,4 @@ -$Id: CHANGES,v 1.5 2001/05/09 18:18:50 dfs Exp $ +$Id: CHANGES,v 1.6 2001/05/11 02:18:48 dfs Exp $ Version 2.0.2 @@ -15,6 +15,9 @@ o Updated RegexFilenameFilter to also implement the Java 1.1 FileFilter interface. + +o Applied a follow up to Takashi Okamoto's unicode/posix patch that + implemented negative posix character classes (e.g., [[:^digit:]]) Version 2.0.2-dev-2 From [email protected] Fri May 11 17:37:03 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53498 invoked by uid 500); 11 May 2001 17:36:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 53401 invoked from network); 11 May 2001 17:35:57 -0000 Mime-Version: 1.0 X-Sender: [email protected] Message-Id: <p05100304b721d3cf3bb7@[161.129.204.104]> Date: Fri, 11 May 2001 10:38:35 -0700 To: [email protected] From: "Mark F. Murphy" <[email protected]> Subject: [PATCH] [Upper|Lower]Case For Perl5Substitution Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N --- Perl5Substitution.java.orig Thu May 10 12:48:14 2001 +++ Perl5Substitution.java Fri May 11 10:32:37 2001 @@ -135,70 +135,155 @@ */ public static final int INTERPOLATE_NONE = -1; - int _numInterpolations; - ArrayList _substitutions; - transient String _lastInterpolation; + /** + * A constant declaring opcode for copy operation + */ + public static final int OPCODE_COPY = -1; - static ArrayList _parseSubs(String sub) { - boolean saveDigits, storedInterpolation; - int current; - char[] str; - ArrayList subs; - StringBuffer numBuffer, strBuffer; - - subs = new ArrayList(5); - numBuffer = new StringBuffer(5); - strBuffer = new StringBuffer(10); + /** + * A constant declaring opcode for lowercase char operation + */ + public static final int OPCODE_LOWERCASE_CHAR = -2; - str = sub.toCharArray(); - current = 0; - saveDigits = false; - storedInterpolation = false; + /** + * A constant declaring opcode for uppercase char operation + */ + public static final int OPCODE_UPPERCASE_CHAR = -3; - while(current < str.length) { - if(saveDigits && Character.isDigit(str[current])) { - numBuffer.append(str[current]); - - if(strBuffer.length() > 0) { - subs.add(strBuffer.toString()); - strBuffer.setLength(0); - } - } else { - if(saveDigits) { - try { - subs.add(new Integer(numBuffer.toString())); - storedInterpolation = true; - } catch(NumberFormatException e) { - subs.add(numBuffer.toString()); - } + /** + * A constant declaring opcode for lowercase mode operation + */ + public static final int OPCODE_LOWERCASE_MODE = -4; - numBuffer.setLength(0); - saveDigits = false; - } + /** + * A constant declaring opcode for lowercase mode operation + */ + public static final int OPCODE_UPPERCASE_MODE = -5; - if(str[current] == '$' && - current + 1 < str.length && str[current + 1] != '0' && - Character.isDigit(str[current + 1])) - saveDigits = true; - else - strBuffer.append(str[current]); + /** + * A constant declaring opcode for lowercase mode operation + */ + public static final int OPCODE_ENDCASE_MODE = -6; + + private static final int OPCODE_STORAGE_SIZE = 32; + + int _numInterpolations; + int[] _subOpcodes; + int _subOpcodesCount; + char[] _substitution_chars; + transient String _lastInterpolation; + + private void addElement(int value) { + int len = _subOpcodes.length; + if (_subOpcodesCount == len) { + int[] newarray = new int[len + OPCODE_STORAGE_SIZE]; + System.arraycopy(_subOpcodes, 0, newarray, 0, len); + _subOpcodes = newarray; } + _subOpcodes[_subOpcodesCount++] = value; + } - ++current; - } // end while + private void _parseSubs(String sub) { + boolean saveDigits, escapeMode, caseMode; + int posParam; + int offset; + + char[] sub_chars = _substitution_chars = sub.toCharArray(); + int sub_length = sub_chars.length; + + _subOpcodes = new int[OPCODE_STORAGE_SIZE]; + _subOpcodesCount = 0; + + posParam = 0; + offset = -1; + saveDigits = false; + escapeMode = false; + caseMode = false; + for (int current = 0; current < sub_length; current++) { - if(saveDigits) { - try { - subs.add(new Integer(numBuffer.toString())); - storedInterpolation = true; - } catch(NumberFormatException e) { - subs.add(numBuffer.toString()); - } - } else if(strBuffer.length() > 0) - subs.add(strBuffer.toString()); + char c = sub_chars[current]; + int next = current + 1; + + // Save digits + if (saveDigits) { + int digit = Character.digit(c, 10); + if (digit > -1) { + if (posParam <= 32767) { + posParam *= 10; + posParam += digit; + } + if (next == sub_length) { + addElement(posParam); + } + continue; + } + addElement(posParam); + posParam = 0; + saveDigits = false; + } + + // Copy + if ((c != '$' && c != '\\') || escapeMode) { + escapeMode = false; + if (offset < 0) { + offset = current; + addElement(OPCODE_COPY); + addElement(offset); + } + if (next == sub_length) { + addElement(next - offset); + } + continue; + } + + // End Copy + if (offset >= 0) { + addElement(current - offset); + offset = -1; + } + + // Only do positional and escapes if we have a next char + if (next == sub_length) + continue; + char nextc = sub_chars[next]; + + // Positional params + if (c == '$') { + saveDigits = (nextc != '0' && Character.isDigit(nextc)); + } + + // Escape codes + else if (c == '\\') { + if (nextc == 'l') { + if (!caseMode){ + addElement(OPCODE_LOWERCASE_CHAR); + current++; + } + } else if (nextc == 'u') { + if (!caseMode) { + addElement(OPCODE_UPPERCASE_CHAR); + current++; + } + } else if (nextc == 'L') { + addElement(OPCODE_LOWERCASE_MODE); + current++; + caseMode = true; + } else if (nextc == 'U') { + addElement(OPCODE_UPPERCASE_MODE); + current++; + caseMode = true; + } else if (nextc == 'E') { + addElement(OPCODE_ENDCASE_MODE); + current++; + caseMode = false; + } else { + escapeMode = true; + } + } + + } - return (storedInterpolation ? subs : null); } @@ -209,33 +294,96 @@ } void _calcSub(StringBuffer buffer, MatchResult result) { - int size, value; - Object obj; - Integer integer; + int size, offset, count, caseMode; String group; - Iterator it; + char[] sub; + + int[] subOpcodes = _subOpcodes; - it = _substitutions.iterator(); + caseMode = 0; + char[] str = _substitution_chars; + char[] match = result.group(0).toCharArray(); - while(it.hasNext()) { - obj = it.next(); + size = _subOpcodesCount; - if(obj instanceof String) - buffer.append(obj); - else { - integer = (Integer)obj; - value = integer.intValue(); + for (int element = 0; element < size; element++) { + int value = subOpcodes[element]; + + // Groups if(value > 0 && value < result.groups()) { - group = result.group(value); - if(group != null) - buffer.append(group); - } else { - buffer.append('$'); - buffer.append(value); + offset = result.begin(value); + if (offset < 0) continue; + int end = result.end(value); + if (end < 0) continue; + + int len = result.length(); + + if (offset >= len || end > len || offset >= end) continue; + + count = end - offset; + sub = match; + + } + + // Copy + else if (value == OPCODE_COPY) { + element++; + if (element >= size) continue; + offset = subOpcodes[element]; + element++; + if (element >= size) continue; + count = subOpcodes[element]; + sub = str; + } + + // Case char + else if (value == OPCODE_LOWERCASE_CHAR || value == OPCODE_UPPERCASE_CHAR) { + if (caseMode != OPCODE_LOWERCASE_MODE && caseMode != OPCODE_UPPERCASE_MODE) { + caseMode = value; + } + continue; + } + + // Case mode + else if (value == OPCODE_LOWERCASE_MODE || value == OPCODE_UPPERCASE_MODE) { + caseMode = value; + continue; + } + + // Case mode end + else if (value == OPCODE_ENDCASE_MODE) { + caseMode = 0; + continue; + } + + // Unknown + else { + continue; } - } + + // Apply modes to buf + if (caseMode == OPCODE_LOWERCASE_CHAR) { + buffer.append(Character.toLowerCase(sub[offset++])); + buffer.append(sub, offset, --count); + caseMode = 0; + } else if (caseMode == OPCODE_UPPERCASE_CHAR) { + buffer.append(Character.toUpperCase(sub[offset++])); + buffer.append(sub, offset, --count); + caseMode = 0; + } else if (caseMode == OPCODE_LOWERCASE_MODE) { + for (int end = offset + count; offset < end; ) { + buffer.append(Character.toLowerCase(sub[offset++])); + } + } else if (caseMode == OPCODE_UPPERCASE_MODE) { + for (int end = offset + count; offset < end; ) { + buffer.append(Character.toUpperCase(sub[offset++])); + } + } else { + buffer.append(sub, offset, count); + } + } } @@ -324,10 +472,10 @@ _numInterpolations = numInterpolations; if(numInterpolations != INTERPOLATE_NONE && - substitution.indexOf('$') != -1) - _substitutions = _parseSubs(substitution); + (substitution.indexOf('$') != -1 || substitution.indexOf('\\') != -1)) + _parseSubs(substitution); else - _substitutions = null; + _subOpcodes = null; _lastInterpolation = null; } @@ -353,7 +501,7 @@ int substitutionCount, String originalInput, PatternMatcher matcher, Pattern pattern) { - if(_substitutions == null) { + if(_subOpcodes == null) { super.appendSubstitution(appendBuffer, match, substitutionCount, originalInput, matcher, pattern); return; From [email protected] Fri May 11 17:53:16 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65564 invoked by uid 500); 11 May 2001 17:52:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 65494 invoked from network); 11 May 2001 17:52:39 -0000 Mime-Version: 1.0 X-Sender: [email protected] Message-Id: <p05100305b721d42f5243@[161.129.204.104]> Date: Fri, 11 May 2001 10:55:18 -0700 To: [email protected] From: "Mark F. Murphy" <[email protected]> Subject: Recent Patch Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N OK... I've switch to a pure int[] and renamed the member var to reflect its actual use (opcodes for example). I also cache the char[] of the orig substitution string for later use in calcSubs. Initial storage for the opcode array is 32... which should be plenty for normal use. I just picked that out of thin air... I'm not sure what normal usage of substitution strings might be. It's a constant, so it can easily be changed (could also be a param for custom tuning). Noticed a bug from my previous version... I was checking for in setSubstitution for '\' as a condition for _parseSubs... so that's been fixed. Changed _parseSubs to no longer return a value and is now an instance method as opposed to a static so it can get at instance vars. I tested it with our current production system. Let me know if there any issues that need to be resolved. mark -- --------------------------------------------------------------------------- Mark F. Murphy, Director Software Development <mailto:[email protected]> Tyrell Software Corp <http://www.tyrell.com> PowerPerl(tm), Add Power To Your Webpage! <http://www.powerperl.com> --------------------------------------------------------------------------- Families Against Internet Censorship: http://www.netfamilies.org/ From [email protected] Fri May 11 19:54:26 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65217 invoked by uid 500); 11 May 2001 19:54:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 65101 invoked from network); 11 May 2001 19:53:47 -0000 Message-Id: <[email protected]> Date: Fri, 11 May 2001 15:49:18 -0400 (EDT) From: Ed Chidester <[email protected]> Reply-To: Ed Chidester <[email protected]> Subject: Comparing oro and regexp To: [email protected] MIME-Version: 1.0 Content-Type: MULTIPART/mixed; BOUNDARY=Span_of_Mules_085_000 X-Mailer: dtmail 1.2.1 CDE Version 1.2.1 SunOS 5.6 sun4m sparc X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N --Span_of_Mules_085_000 Content-Type: TEXT/plain; charset=us-ascii Content-MD5: bYCOmcm0UJKt+pSrhP9XrA== Daniel, I was not implying that the ORO classes are larger than they should be. I was merely comparing the physical sizes of the regexp and oro jars. Although I probably won't personally make use of separate "slice" jars, it makes a lot of sense to offer that option for developers who only need one or two subsets of the functionality oro offers (especially when more general text processing is added). Now, to supply the sample benchmark code that backs up my "performance anecdotes"... I compared the ORO Perl5Pattern/Perl5Matcher classes with the Regexp RE class (although I also compared the Perl5Util and the RE classes with similar results). I'm attaching a (slightly modified) copy of the code on which I based my previous speed assertions. The modifications, aside from adding documentation, amount to removing many of the patterns that I tested. This was meant as a highly targeted test of regular expression match times (making no comparison of substitution times) and it's possible that a more varied selection of patterns will yield different results. I ran this code using Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode) on an 800Mhz PIII w/ 256Meg RAM. I believe that I am using both the Regexp and ORO packages in an efficient manner. But, please let me know if this is not the case. Thanks, Ed. Disclaimer: The attached code was written as a quick test and does not necessarily reflect my best judgment in coding practices. Also, I used synchronized blocks in an effort to ensure that Java's dynamic class loading didn't cause erroneous timing results. If this is completely off-base, please let me know of a better approach. On Thu, 10 May 2001 "Daniel F. Savarese" <[email protected]> wrote: > > > >Basically, the regexp package is smaller and has a reduced feature set. > >In fact, the regexp package jar file is less than half the size of the oro > >package jar. > > The feeling that jakarta-oro is large is a common misconception. The size > of what used to be OROMatcher is very small. All you need for > regular expressions is the org.apache.oro.text.regex package, not all > of the other stuff. To alleviate this misconception, we're going to > provide a jakarta-oro jar that has everything and then separate jars for > strictly those slices that people want, roughly corresponding to the old > OROMatcher, PerlTools, AwkTools, and TextTools packages. > > >Initially, regexp handles matching (and rejecting matches) more quickly. But, > >after a few hundred matches, the time required by the regexp package > >(especially in rejecting matches) increases considerably when compared to > >the oro package. > > This is also another misconception, although not directly in relation to > the regexp package. The jakarta-oro package has 4 different regular > expression packages. So when you compare performance, you have to > specify which one. Also, a lot of times people talk about jakarta-oro > when they really mean the Perl5Util class, which is a convenience > wrapper around the org.apache.oro.text.regex package. Perl5Util will > always be slow (although we can improve its performance) because it > does a higher level set of parsing so that you can use Perl-specific > syntactic sugar like 's/foobar/barfoo/g' instead of the allegedly > more cumbersome approach of directly using the org.apache.oro.text.regex > classes. Furthermore, most people blatantly misuse the > org.apache.oro.text.regex package by constantly reinstantiating and > Perl5Compiler and Perl5Matcher instances and constantly recompiling > regular expressions. Hopefully this will stop after we write a new > user's guide explaining how to make proper use of the package. > A valid performance comparison can only be made by posting the code used > to make the comparison. I don't know how you reached the assessment you > made. All performance evaluation code is welcome on oro-dev because > even though the primary goal for at least the Perl related stuff is to > achieve compatibility with Perl, the secondary goal is to be as fast > as possible within the constraints of Perl's regex syntax and Java's > runtime performance. > > daniel > > --Span_of_Mules_085_000 Content-Type: TEXT/plain; name="TestREvPerl5Pattern.java"; charset=us-ascii; x-unix-mode=0744 Content-Description: TestREvPerl5Pattern.java Content-MD5: zJ9AgFpHYYvjbfS+l3oBNQ== import org.apache.regexp.RE; import org.apache.regexp.RESyntaxException; import org.apache.oro.text.regex.Pattern; import org.apache.oro.text.regex.PatternMatcher; import org.apache.oro.text.regex.Perl5Matcher; import org.apache.oro.text.regex.Perl5Compiler; import org.apache.oro.text.regex.PatternMatcherInput; import org.apache.oro.text.regex.MalformedPatternException; /** * Test the speed between Jakarta regexp and oro packages * using the classes org.apache.regexp.RE class and * org.apache.oro.text.regex.Perl5Pattern. * * @author Ed Chidester */ public class TestREvPerl5Pattern { /** * An array of Perl-syntax regular expression strings for testing. * This array should have the same number of elements as the * {@link #matchString__ first matching string} array and the * {@link #failString__ first failing string} array. * Also, the number of elements in this array should equal the number of * rows in the {@link #matchString2__ second matching string} * array and the number of rows in the * {@link #failString2__ second failing string} array. */ private static String [ ] reString__ = { "/\\bmatch/i" , "/\\d+/" , // ------------------------------- // Insert more array elements here // ------------------------------- }; /** * An array of matching strings for testing. * This array is used for the first round of timing test results in the * {@link #main main testing method}. * Each element will match against the corresponding element in * the {@link #reString__ regular expression array}. */ private static String [ ] matchString__ = { "This is a matching string" , "This 1 has a digit" , // ------------------------------- // Insert more array elements here // ------------------------------- }; /** * An array of failing strings for testing. * This array is used for the first round of timing test results in the * {@link #main main testing method}. * Each element will fail to match against the corresponding element in * the {@link #reString__ regular expression array}. */ private static String [ ] failString__ = { "This is a failing string" , "This one doesn't have digits" , // ------------------------------- // Insert more array elements here // ------------------------------- }; /** * An array of multiple matching strings for testing. * This array is used for the second round of timing tests in the * {@link #main main testing method}. * Each row holds Strings that will match the corresponding element * in the {@link #reString__ regular expression array}. */ private static String [ ] [ ] matchString2__ = { { "This string matches" , "There is also a match in this string" , "How many matches should a match string have?" , "Many smokers use a match to light their cigarettes" , "This is a matching string" , } , { "12345" , "867-5349" , "2 is not the loneliest number" , "This one's 4 you" , "This 1 has a digit" , } , // ------------------------------- // Insert more array elements here // ------------------------------- }; /** * An array of multiple failing strings for testing. * This array is used for the second round of timing tests in the * {@link #main main testing method}. * Each row holds Strings that will not match the corresponding element * in the {@link #reString__ regular expression array}. */ private static String [ ] [ ] failString2__ = { { "This string fails" , // "nonmatch" <--- RE doesn't work for '\b' "There is also a fail in this string" , "How many failures should a failing string have?" , "Many smokers use a lighter to light their cigarettes" , "This is a failure-full string" , } , { "one" , "phone number" , "two is not the loneliest number" , "This one's for you" , "This one has a digit" , } , // ------------------------------- // Insert more array elements here // ------------------------------- }; /** * <p> * Main test method comparing the Regexp and ORO packages. * There are two testing rounds. The first round retrieves matching and * match failure timing results for both the Regexp and ORO packages * (within the same loop). The second round retrieves separate match and * failure times individually for both packages. * </p> * * <p> * Takes the number of cycles to run through as its command-line argument. * If no command line argument is given, then the default of 100 cycles * is used. * </p> */ public static void main( String [ ] args ) { //------------------------------------------------------------------- // NOTE: Many blocks of code are not indented // (synchronized and for loops) // -- This is to keep subsequent lines of code from getting too long //------------------------------------------------------------------- int i; int k; int x; int numCycles = 100; int size = reString__.length; int reMatchFlags; int oroMatchFlags; int firstIndex; int lastIndex; int finalIndex; long reStartTime = 0; long reStopTime = 0; long oroStartTime = 0; long oroStopTime = 0; long reMatchStart2 = 0; long reMatchStop2 = 0; long oroMatchStart2 = 0; long oroMatchStop2 = 0; long reFailStart2 = 0; long reFailStop2 = 0; long oroFailStart2 = 0; long oroFailStop2 = 0; RE [] reObject = new RE [ size ]; Pattern [] oroObject = new Pattern [ size ]; Perl5Matcher oroMatcher; Perl5Compiler oroCompiler; if ( args.length == 1 ) { try { numCycles = Integer.parseInt( args[ 0 ] ); } catch ( NumberFormatException e ) { System.err.println( "Default of 100 used for number of cycles"); } } if ( matchString__.length < size ) { size = matchString__.length; } if ( failString__.length < size ) { size = failString__.length; } try { // Initialize the Oro objects oroMatcher = new Perl5Matcher( ); oroCompiler = new Perl5Compiler( ); synchronized ( reString__ ) { synchronized ( matchString__ ) { synchronized ( failString__ ) { // --------------------------------------------- // Initialize all the regular expression objects // (both RE and ORO package objects) // --------------------------------------------- for ( i = 0 ; i < size ; i++ ) { reMatchFlags = RE.MATCH_NORMAL; oroMatchFlags = Perl5Compiler.DEFAULT_MASK; firstIndex = reString__[ i ].indexOf( '/' ); lastIndex = reString__[ i ].lastIndexOf( '/' ); finalIndex = reString__[ i ].length( ); if ( lastIndex <= firstIndex ) { System.err.println( "Error reading regular expression \"" + reString__[ i ] + "\"" ); reObject[ i ] = new RE( reString__[ i ] ); lastIndex = reString__[ i ].length( ); } else { // // Testing printout... // System.out.println( "Creating RE( \"" // + reString__[ i ].substring( firstIndex + 1 , // lastIndex ) // + "\" )" ); reObject[ i ] = new RE( reString__[ i ].substring( firstIndex + 1 , lastIndex ) ); } // Account for any global or case insensitive matches for ( int j = lastIndex + 1 ; j < finalIndex ; j++ ) { if ( reString__[ i ].charAt( j ) == 'i' ) { // // Testing printout... // System.out.println( "Case independent\t" // + reString__[ i ] ); reMatchFlags |= RE.MATCH_CASEINDEPENDENT; oroMatchFlags |= Perl5Compiler.CASE_INSENSITIVE_MASK; } else if ( reString__[ i ].charAt( j ) == 'm' ) { // // Testing printout... // System.out.println( "Multiline match\t" // + reString__[ i ] ); reMatchFlags |= RE.MATCH_MULTILINE; oroMatchFlags |= Perl5Compiler.MULTILINE_MASK; } // @UPDATE: As of Feb. 2001 (jakarta regexp 1.2) // RE.MATCH_SINGLELINE is not allowed by // RE.setMatchFlags // else if ( reString__[ i ].charAt( j ) == 's' ) { // reMatchFlags |= RE.MATCH_SINGLELINE; // oroMatchFlags |= Perl5Compiler.SINGLELINE_MASK; // } else { System.err.println( "Regular expression option \"/" + reString__[ i ].charAt( j ) + "\" is being ignored" ); } } // End for j reObject[ i ].setMatchFlags( reMatchFlags ); oroObject[ i ] = oroCompiler.compile( reString__[ i ].substring( (firstIndex + 1) , lastIndex ) , oroMatchFlags ); } // End for i } // End synchronized failString__ } // End synchronized matchString__ } // End synchronized reString__ // --------------------------- // Begin initial testing round // --------------------------- // Make sure that Everything has caught-up // Runtime.getRuntime( ).exec( "sleep 10 " ); // Runtime.getRuntime( ).exec( "pause" ); synchronized ( matchString__ ) { synchronized ( failString__ ) { // Test the time taken by RE objects reStartTime = System.currentTimeMillis( ); for ( k = 0 ; k < numCycles ; k++ ) { for ( i = 0 ; i < size ; i++ ) { if ( ! reObject[ i ].match( matchString__[ i ] ) ) { System.err.println( "Error with RE match[ " + i + " ]" ); System.err.println( reString__[ i ] ); System.err.println( matchString__[ i ] ); } if ( reObject[ i ].match( failString__[ i ] ) ) { System.err.println( "Error with RE fail[ " + i + " ]" ); System.err.println( reString__[ i ] ); System.err.println( failString__[ i ] ); } } // End for i } // End for k reStopTime = System.currentTimeMillis( ); } // End synchronized failString__ } // End synchronized matchString__ // Make sure that Everything has caught-up // Runtime.getRuntime( ).exec( "sleep 10 " ); // Runtime.getRuntime( ).exec( "pause" ); synchronized ( matchString__ ) { synchronized ( failString__ ) { // Test the time taken by oro objects oroStartTime = System.currentTimeMillis( ); for ( k = 0 ; k < numCycles ; k++ ) { for ( i = 0 ; i < size ; i++ ) { int beginIndex = 0; boolean legitimateMatch = false; boolean illegitimateMatch = false; PatternMatcherInput pmiMatch = new PatternMatcherInput( matchString__[ i ] ); PatternMatcherInput pmiFail = new PatternMatcherInput( failString__[ i ] ); if ( ! oroMatcher.contains( pmiMatch , oroObject[ i ] ) ) { System.err.println( "Error with Perl5 match[" + i + "]" ); System.err.println( reString__[ i ] ); System.err.println( matchString__[ i ] ); } if ( oroMatcher.contains( pmiFail , oroObject[ i ] ) ) { System.err.println( "Error with Perl5 fail[" + i + "]" ); System.err.println( reString__[ i ] ); System.err.println( failString__[ i ] ); } } // End for i } // End for k oroStopTime = System.currentTimeMillis( ); } // End synchronized failString__ } // End synchronized matchString__ // -------------------------- // Begin second testing round // -------------------------- synchronized ( matchString2__ ) { reMatchStart2 = System.currentTimeMillis( ); for ( k = 0 ; k < numCycles ; k++ ) { for ( i = 0 ; i < size ; i++ ) { for ( x = 0 ; x < matchString2__[ i ].length ; x++ ) { if ( ! reObject[ i ].match( matchString2__[ i ][ x ] ) ) { System.err.println( "Error with RE match[ " + i + " ][ " + x + " ]" ); System.err.println( reString__[ i ] ); System.err.println( matchString2__[ i ][ x ] ); } } } // End for i } // End for k reMatchStop2 = System.currentTimeMillis( ); } // End of synchronized matchString2__ synchronized ( matchString2__ ) { oroMatchStart2 = System.currentTimeMillis( ); for ( k = 0 ; k < numCycles ; k++ ) { for ( i = 0 ; i < size ; i++ ) { for ( x = 0 ; x < matchString2__[ i ].length ; x++ ) { boolean legitimateMatch = false; PatternMatcherInput pmiObj = new PatternMatcherInput( matchString2__[ i ][ x ] ); if ( ! oroMatcher.contains( pmiObj , oroObject[ i ] ) ) { System.err.println( "Error with Perl5 match[ " + i + " ][ " + x + " ]" ); System.err.println( reString__[ i ] ); System.err.println( matchString2__[ i ][ x ] ); } } } // End for i } // End for k oroMatchStop2 = System.currentTimeMillis( ); } // End synchronized matchString2__ synchronized ( failString2__ ) { reFailStart2 = System.currentTimeMillis( ); for ( k = 0 ; k < numCycles ; k++ ) { for ( i = 0 ; i < size ; i++ ) { for ( x = 0 ; x < failString2__[ i ].length ; x++ ) { if ( reObject[ i ].match( failString2__[ i ][ x ] ) ) { System.err.println( "Error with RE fail[ " + i + " ][ " + x + " ]" ); System.err.println( reString__[ i ] ); System.err.println( failString2__[ i ][ x ] ); } } } // End for i } // End for k reFailStop2 = System.currentTimeMillis( ); } // End synchronized failString2__ synchronized ( failString2__ ) { oroFailStart2 = System.currentTimeMillis( ); for ( k = 0 ; k < numCycles ; k++ ) { for ( i = 0 ; i < size ; i++ ) { for ( x = 0 ; x < failString2__[ i ].length ; x++ ) { PatternMatcherInput pmiObj = new PatternMatcherInput( failString2__[ i ][ x ] ); if ( oroMatcher.contains( pmiObj , oroObject[ i ] ) ) { System.err.println( "Error with Perl5 fail[ " + i + " ][ " + x + " ]" ); System.err.println( reString__[ i ] ); System.err.println( failString2__[ i ][ x ] ); } } } // End for i } // End for k oroFailStop2 = System.currentTimeMillis( ); } // End synchronized failString2__ } catch ( Exception e ) { System.err.println( e + "Caught while running test" ); e.printStackTrace( System.err ); System.exit( 1 ); } // ----------------- // Print the results // ----------------- System.out.println( "RE Objects took " + ( reStopTime - reStartTime ) + " milliseconds" ); System.out.println( "Perl5Pattern Objects took " + ( oroStopTime - oroStartTime ) + " milliseconds" ); System.out.println( "\n\n" ); System.out.println( "reMatch Time = " + ( reMatchStop2 - reMatchStart2 ) + " milliseconds\n" + "reFail Time = " + ( reFailStop2 - reFailStart2 ) + " milliseconds" ); System.out.println( "oroMatch Time = " + ( oroMatchStop2 - oroMatchStart2 ) + " milliseconds\n" + "oroFail Time = " + ( oroFailStop2 - oroFailStart2 ) + " milliseconds" ); } // End main method } // TestREvPerl5Pattern class --Span_of_Mules_085_000-- From [email protected] Wed May 16 00:03:11 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54306 invoked by uid 500); 16 May 2001 00:03:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 54032 invoked by uid 500); 16 May 2001 00:02:39 -0000 Delivered-To: [email protected] Date: 16 May 2001 00:02:11 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro/xdocs - New directory dfs 01/05/15 17:02:11 jakarta-oro/xdocs - New directory From [email protected] Wed May 16 00:42:51 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21852 invoked by uid 500); 16 May 2001 00:42:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 21738 invoked by uid 500); 16 May 2001 00:42:10 -0000 Delivered-To: [email protected] Date: 16 May 2001 00:41:36 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro/xdocs/stylesheets - New directory dfs 01/05/15 17:41:36 jakarta-oro/xdocs/stylesheets - New directory From [email protected] Wed May 16 03:38:14 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41050 invoked by uid 500); 16 May 2001 03:38:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 41041 invoked by uid 500); 16 May 2001 03:38:13 -0000 Delivered-To: [email protected] Date: 16 May 2001 03:38:13 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro/doc index.htsrc dfs 01/05/15 20:38:13 Removed: doc index.htsrc Log: Removed old style project web page in preparation for implementing jakarta-site2 pages. From [email protected] Wed May 16 03:38:29 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41218 invoked by uid 500); 16 May 2001 03:38:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 41207 invoked by uid 500); 16 May 2001 03:38:28 -0000 Delivered-To: [email protected] Date: 16 May 2001 03:38:28 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro/docs - New directory dfs 01/05/15 20:38:28 jakarta-oro/docs - New directory From [email protected] Wed May 16 04:58:21 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93857 invoked by uid 500); 16 May 2001 04:58:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 93837 invoked by uid 500); 16 May 2001 04:58:15 -0000 Delivered-To: [email protected] Date: 16 May 2001 04:58:14 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro/build ant-1.3.jar jaxp.jar parser.jar build-oro.bat build-oro.sh build-oro.xml ant.jar xml.jar dfs 01/05/15 21:58:13 Modified: build build-oro.bat build-oro.sh build-oro.xml Added: build ant-1.3.jar jaxp.jar parser.jar Removed: build ant.jar xml.jar Log: Upgraded to ant-1.3. Revision Changes Path 1.3 +2 -2 jakarta-oro/build/build-oro.bat Index: build-oro.bat =================================================================== RCS file: /home/cvs/jakarta-oro/build/build-oro.bat,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- build-oro.bat 2000/09/15 05:10:17 1.2 +++ build-oro.bat 2001/05/16 04:58:09 1.3 @@ -1,6 +1,6 @@ @echo off -REM $Id: build-oro.bat,v 1.2 2000/09/15 05:10:17 dfs Exp $ +REM $Id: build-oro.bat,v 1.3 2001/05/16 04:58:09 dfs Exp $ REM -------------------------------------------- REM Default == jar REM "lib" target builds the library @@ -30,7 +30,7 @@ if "%JAVA_HOME%" == "" goto javahomeerror if exist %JAVA_HOME%\lib\tools.jar set CLASSPATH=%CLASSPATH%;%JAVA_HOME%\lib\tools.jar -set CP=%CLASSPATH%;ant.jar;xml.jar +set CP=%CLASSPATH%;ant-1.3.jar;parser.jar echo Classpath: %CP% echo JAVA_HOME: %JAVA_HOME% 1.3 +17 -9 jakarta-oro/build/build-oro.sh Index: build-oro.sh =================================================================== RCS file: /home/cvs/jakarta-oro/build/build-oro.sh,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- build-oro.sh 2000/09/15 05:10:18 1.2 +++ build-oro.sh 2001/05/16 04:58:09 1.3 @@ -1,7 +1,7 @@ #!/bin/sh # -# $Id: build-oro.sh,v 1.2 2000/09/15 05:10:18 dfs Exp $ +# $Id: build-oro.sh,v 1.3 2001/05/16 04:58:09 dfs Exp $ # # -------------------------------------------- @@ -14,8 +14,17 @@ # "javadocs" target builds the javadoc # "package" target builds lib + jar + javadoc + distribution # -------------------------------------------- -TARGET=${1} + +PROGRAM=$0 +PROGRAM_NAME="`basename $PROGRAM`" +PROGRAM_DIR="`dirname $PROGRAM`" +JAR_DIR=. +BUILDFILE=./build-oro.xml +TARGET=$1 + +cd "$PROGRAM_DIR" + #-------------------------------------------- # No need to edit anything past here #-------------------------------------------- @@ -27,20 +36,19 @@ fi if test -z "${TARGET}" ; then -TARGET=jar + TARGET=jar fi -if test -f ${JAVA_HOME}/lib/tools.jar ; then - CLASSPATH=${CLASSPATH}:${JAVA_HOME}/lib/tools.jar +if test -f "${JAVA_HOME}/lib/tools.jar" ; then + CLASSPATH="${CLASSPATH}:${JAVA_HOME}/lib/tools.jar" fi echo "Now building ${TARGET}..." -CP=${CLASSPATH}:ant.jar:xml.jar +CP="${CLASSPATH}:${JAR_DIR}/ant-1.3.jar:${JAR_DIR}/jaxp.jar:${JAR_DIR}/parser.jar" -echo "Classpath: ${CP}" +echo "CLASSPATH: ${CP}" echo "JAVA_HOME: ${JAVA_HOME}" -BUILDFILE=./build-oro.xml -${JAVA_HOME}/bin/java -classpath ${CP} org.apache.tools.ant.Main -buildfile ${BUILDFILE} ${TARGET} +"${JAVA_HOME}/bin/java" -classpath "$CP" org.apache.tools.ant.Main -buildfile "$BUILDFILE" "$TARGET" 1.11 +9 -13 jakarta-oro/build/build-oro.xml Index: build-oro.xml =================================================================== RCS file: /home/cvs/jakarta-oro/build/build-oro.xml,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- build-oro.xml 2001/05/09 18:58:54 1.10 +++ build-oro.xml 2001/05/16 04:58:09 1.11 @@ -1,11 +1,8 @@ <?xml version="1.0"?> -<!-- $Id: build-oro.xml,v 1.10 2001/05/09 18:58:54 dfs Exp $ --> +<!-- $Id: build-oro.xml,v 1.11 2001/05/16 04:58:09 dfs Exp $ --> <project name="Jakarta-ORO" default="main" basedir="."> -<!-- Initialize build properties. --> - -<target name="init"> <property name="Name" value="Jakarta-ORO"/> <property name="year" value="2000"/> <property name="version" value="2.0.2"/> @@ -14,18 +11,17 @@ <property name="code.src" value="../src"/> <property name="build.src" value="../src/java"/> <property name="build.dest" value="../classes"/> - <property name="javadoc.destdir" value="../doc/api"/> + <property name="javadoc.destdir" value="../docs/api"/> <property name="final.name" value="${project}-${version}"/> <property name="final.dir" value="../${final.name}/"/> <property name="debug" value="off"/> <property name="optimize" value="on"/> <property name="deprecation" value="off"/> <property name="ant.home" value="."/> -</target> <!-- prepare target. Creates build directory. --> - <target name="prepare" depends="init"> + <target name="prepare"> <mkdir dir="${build.dest}"/> <!-- <chmod perm="+x" file="bin/antRun"/> @@ -140,13 +136,13 @@ <!-- Makes an attempt to clean up a little. --> <target name="clean"> - <deltree dir="${build.dest}"/> - <deltree dir="${javadoc.destdir}"/> - <deltree dir="${final.dir}"/> + <delete dir="${build.dest}"/> + <delete dir="${javadoc.destdir}"/> + <delete dir="${final.dir}"/> <delete file="../${final.name}.jar"/> - <delete file="../${project}-${version}.tar"/> - <delete file="../${project}-${version}.tar.gz"/> - <delete file="../${project}-${version}.zip"/> + <delete file="../${final.name}.tar"/> + <delete file="../${final.name}.tar.gz"/> + <delete file="../${final.name}.zip"/> </target> </project> 1.1 jakarta-oro/build/ant-1.3.jar <<Binary file>> 1.1 jakarta-oro/build/jaxp.jar <<Binary file>> 1.1 jakarta-oro/build/parser.jar <<Binary file>> From [email protected] Wed May 16 05:00:54 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95878 invoked by uid 500); 16 May 2001 05:00:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 95865 invoked by uid 500); 16 May 2001 05:00:52 -0000 Delivered-To: [email protected] Date: 16 May 2001 05:00:51 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro/build build-oro.xml dfs 01/05/15 22:00:51 Modified: build build-oro.xml Log: Updated year and removed build.compiler property. Revision Changes Path 1.12 +2 -3 jakarta-oro/build/build-oro.xml Index: build-oro.xml =================================================================== RCS file: /home/cvs/jakarta-oro/build/build-oro.xml,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- build-oro.xml 2001/05/16 04:58:09 1.11 +++ build-oro.xml 2001/05/16 05:00:50 1.12 @@ -1,13 +1,12 @@ <?xml version="1.0"?> -<!-- $Id: build-oro.xml,v 1.11 2001/05/16 04:58:09 dfs Exp $ --> +<!-- $Id: build-oro.xml,v 1.12 2001/05/16 05:00:50 dfs Exp $ --> <project name="Jakarta-ORO" default="main" basedir="."> <property name="Name" value="Jakarta-ORO"/> - <property name="year" value="2000"/> + <property name="year" value="2001"/> <property name="version" value="2.0.2"/> <property name="project" value="jakarta-oro"/> - <property name="build.compiler" value="classic"/> <property name="code.src" value="../src"/> <property name="build.src" value="../src/java"/> <property name="build.dest" value="../classes"/> From [email protected] Wed May 16 05:20:40 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13369 invoked by uid 500); 16 May 2001 05:20:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 13355 invoked from network); 16 May 2001 05:20:39 -0000 User-Agent: Microsoft-Entourage/161.129.204.10408 Date: Tue, 15 May 2001 22:20:42 -0700 Subject: Re: cvs commit: jakarta-oro/build ant-1.3.jar jaxp.jar parser.jar build-oro.bat build-oro.sh build-oro.xml ant.jar xml.jar From: Jon Stevens <[email protected]> To: <[email protected]> Message-ID: <[email protected]> In-Reply-To: <[email protected]> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N on 5/15/01 9:58 PM, "[email protected]" <[email protected]> wrote: > Modified: build build-oro.bat build-oro.sh build-oro.xml > Added: build ant-1.3.jar jaxp.jar parser.jar > Removed: build ant.jar xml.jar I think that the current trend is to remove the .sh and .bat files. Require people to install Ant. Rename the build-oro.xml file to just build.xml. You might want to consider following this trend. -jon -- If you come from a Perl or PHP background, JSP is a way to take your pain to new levels. --Anonymous <http://jakarta.apache.org/velocity/ymtd/ymtd.html> From [email protected] Wed May 16 06:36:08 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77554 invoked by uid 500); 16 May 2001 06:36:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 77539 invoked by uid 500); 16 May 2001 06:36:02 -0000 Delivered-To: [email protected] Date: 16 May 2001 06:36:01 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro CONTRIBUTORS dfs 01/05/15 23:36:01 Modified: . CONTRIBUTORS Log: Added Jon to contributors. Revision Changes Path 1.3 +5 -1 jakarta-oro/CONTRIBUTORS Index: CONTRIBUTORS =================================================================== RCS file: /home/cvs/jakarta-oro/CONTRIBUTORS,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- CONTRIBUTORS 2001/05/09 18:18:51 1.2 +++ CONTRIBUTORS 2001/05/16 06:36:00 1.3 @@ -1,8 +1,12 @@ -$Id: CONTRIBUTORS,v 1.2 2001/05/09 18:18:51 dfs Exp $ +$Id: CONTRIBUTORS,v 1.3 2001/05/16 06:36:00 dfs Exp $ Daniel Savarese <[email protected]> is the original author of the OROMatcher, PerlTools, AwkTools, and TextTools packages that became the Jakarta-ORO project. + +Jon Stevens <[email protected]> helped prepare the first release of +jakarta-oro and is a constant help in keeping the project consistent +with the Jakarta project as a whole. Takashi Okamoto <[email protected]> has contributed a unicode character class fix and an initial posix character class implementation. From [email protected] Wed May 16 06:37:24 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79106 invoked by uid 500); 16 May 2001 06:37:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 79078 invoked by uid 500); 16 May 2001 06:37:21 -0000 Delivered-To: [email protected] Date: 16 May 2001 06:37:18 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro/xdocs/stylesheets project.xml dfs 01/05/15 23:37:18 Modified: build build-oro.sh build-oro.xml Added: xdocs index.xml xdocs/stylesheets project.xml Log: Set up jakarta-site2 documentation support. Revision Changes Path 1.4 +17 -10 jakarta-oro/build/build-oro.sh Index: build-oro.sh =================================================================== RCS file: /home/cvs/jakarta-oro/build/build-oro.sh,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- build-oro.sh 2001/05/16 04:58:09 1.3 +++ build-oro.sh 2001/05/16 06:37:13 1.4 @@ -1,7 +1,7 @@ #!/bin/sh # -# $Id: build-oro.sh,v 1.3 2001/05/16 04:58:09 dfs Exp $ +# $Id: build-oro.sh,v 1.4 2001/05/16 06:37:13 dfs Exp $ # # -------------------------------------------- @@ -21,7 +21,8 @@ PROGRAM_DIR="`dirname $PROGRAM`" JAR_DIR=. BUILDFILE=./build-oro.xml -TARGET=$1 +JAKARTA_SITE2=../../jakarta-site2 +JAKARTA_SITE2_LIB="${JAKARTA_SITE2}/lib" cd "$PROGRAM_DIR" @@ -35,20 +36,26 @@ exit fi -if test -z "${TARGET}" ; then - TARGET=jar -fi - if test -f "${JAVA_HOME}/lib/tools.jar" ; then CLASSPATH="${CLASSPATH}:${JAVA_HOME}/lib/tools.jar" fi -echo "Now building ${TARGET}..." +if test -d "$JAKARTA_SITE2" ; then + for jar in "$JAKARTA_SITE2_LIB"/*.jar; do + CLASSPATH="${CLASSPATH}:$jar" + done +fi + +for jar in "$JAR_DIR"/*.jar; do + CLASSPATH="${CLASSPATH}:$jar" +done -CP="${CLASSPATH}:${JAR_DIR}/ant-1.3.jar:${JAR_DIR}/jaxp.jar:${JAR_DIR}/parser.jar" +echo "Now building ${TARGET}..." -echo "CLASSPATH: ${CP}" +echo "CLASSPATH: ${CLASSPATH}" echo "JAVA_HOME: ${JAVA_HOME}" -"${JAVA_HOME}/bin/java" -classpath "$CP" org.apache.tools.ant.Main -buildfile "$BUILDFILE" "$TARGET" +"${JAVA_HOME}/bin/java" -classpath "$CLASSPATH" \ + -Djakarta-site2.dir="$JAKARTA_SITE2" \ + org.apache.tools.ant.Main -buildfile "$BUILDFILE" "$@" 1.13 +40 -2 jakarta-oro/build/build-oro.xml Index: build-oro.xml =================================================================== RCS file: /home/cvs/jakarta-oro/build/build-oro.xml,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- build-oro.xml 2001/05/16 05:00:50 1.12 +++ build-oro.xml 2001/05/16 06:37:14 1.13 @@ -1,7 +1,7 @@ <?xml version="1.0"?> -<!-- $Id: build-oro.xml,v 1.12 2001/05/16 05:00:50 dfs Exp $ --> +<!-- $Id: build-oro.xml,v 1.13 2001/05/16 06:37:14 dfs Exp $ --> -<project name="Jakarta-ORO" default="main" basedir="."> +<project name="Jakarta-ORO" default="jar" basedir="."> <property name="Name" value="Jakarta-ORO"/> <property name="year" value="2001"/> @@ -17,16 +17,28 @@ <property name="optimize" value="on"/> <property name="deprecation" value="off"/> <property name="ant.home" value="."/> + <property name="docs.src" value="../xdocs"/> + <property name="docs.dest" value="../docs"/> <!-- prepare target. Creates build directory. --> <target name="prepare"> <mkdir dir="${build.dest}"/> + <available classname="org.apache.velocity.anakia.AnakiaTask" + property="AnakiaTask.present"/> <!-- <chmod perm="+x" file="bin/antRun"/> --> </target> + <target name="prepare-error" depends="prepare" + unless="AnakiaTask.present"> + <echo> + AnakiaTask is not present! Please check to make sure that + velocity.jar is in your classpath. + </echo> + </target> + <!-- lib target. Compiles the library classes only --> <target name="lib" depends="prepare"> @@ -94,6 +106,32 @@ bottom="Copyright &#169; ${year} Apache Software Foundation. All Rights Reserved." /> </target> + + + <!-- docs target. Creates project web pages and documentation. --> + <target name="docs" depends="prepare-error" + if="AnakiaTask.present"> + <taskdef name="anakia" classname="org.apache.velocity.anakia.AnakiaTask"/> + <anakia basedir="${docs.src}" destdir="${docs.dest}/" + extension=".html" style="./site.vsl" + projectFile="stylesheets/project.xml" + excludes="**/stylesheets/** empty.xml" + includes="**/*.xml" + lastModifiedCheck="true" + templatePath="${jakarta-site2.dir}/xdocs/stylesheets"> + </anakia> + + <!-- Uncomment if images are added + <copy todir="${docs.dest}/images" filtering="no"> + <fileset dir="${docs.src}/images"> + <include name="**/*.gif"/> + <include name="**/*.jpeg"/> + <include name="**/*.jpg"/> + </fileset> + </copy> + --> + </target> + <!-- package target --> 1.1 jakarta-oro/xdocs/index.xml Index: index.xml =================================================================== <?xml version="1.0"?> <document> <properties> <author>Jon S. Stevens</author> <author>Daniel Savarese</author> <title>Jakarta ORO</title> </properties> <body> <section name="Jakarta ORO"> <p> The Jakarta-ORO Java classes are a set of text-processing Java classes that provide Perl5 compatible regular expressions, AWK-like regular expressions, glob expressions, and utility classes for performing substitutions, splits, filtering filenames, etc. This library is the successor to the OROMatcher, AwkTools, PerlTools, and TextTools libraries from ORO, Inc. (www.oroinc.com). They have been donated to the Jakarta Project by Daniel Savarese (www.savarese.org), the copyright holder of the ORO libraries. Daniel will continue to participate in their development under the Jakarta Project. </p> <p> The Jakarta Project is lucky to also be able to offer another regexp <a href="http://jakarta.apache.org/regexp/">solution</a> for you as well as this package. Options are a good thing and we will leave which one you choose to use up to you. :-) They are both perfectly good packages, we just consider the Jakarta ORO package to be more a more complete regular expression package. </p> <p> You can download the latest released version from the <a href="http://jakarta.apache.org/builds/jakarta-oro/release/"> distribution</a> directory. </p> <p> The Javadoc is <a href="http://jakarta.apache.org/oro/api/"> available online</a>. It is also included in the distribution download. </p> <p> An online <a href="http://jakarta.apache.org/jyve-faq/Turbine/screen/DisplayTopics/action/SetAll/project_id/2/faq_id/27">FAQ</a> is available for commonly asked questions like, &quot;What is a regular expression?&quot;, &quot;Why did you do this? There are already other Java regexp packages available!&quot;, etc. </p> <p> If you would like to get involved with this project in one way or another (Mailing lists, CVS, Contributions), please see the <a href="http://jakarta.apache.org/getinvolved/getinvolvedindex.html"> Getting Involved</a> section of the Jakarta Website. </p> </section> <section name="Contributors"> <p> <ul> <li>Daniel F. Savarese wrote the original code.</li> <li>Jon S. Stevens is responsible for helping prepare it for release.</li> </ul> </p> </section> </body> </document> 1.1 jakarta-oro/xdocs/stylesheets/project.xml Index: project.xml =================================================================== <?xml version="1.0" encoding="ISO-8859-1"?> <project name="Jakarta ORO" href="http://jakarta.apache.org/oro"> <title>Jakarta ORO</title> <!-- uncomment and put your project logo here! <logo href="/images/jakarta-logo.gif">The Jakarta Project</logo> --> <body> <menu name="About"> <item name="Overview" href="/index.html"/> <item name="Download" href="http://jakarta.apache.org/builds/jakarta-oro/release/"/> <!-- To be added <item name="Status"/> <item name="Development plan"/> --> <item name="Bug tracking" href="http://nagoya.apache.org/bugzilla/"/> <item name="CVS" href="http://jakarta.apache.org/cvsweb/index.cgi/jakarta-oro/"/> <item name="Changes" href="http://jakarta.apache.org/cvsweb/index.cgi/~checkout~/jakarta-oro/CHANGES?content-type=text/plain"/> <item name="License" href="http://jakarta.apache.org/cvsweb/index.cgi/~checkout~/jakarta-oro/LICENSE?content-type=text/plain"/> </menu> <menu name="Community"> <item name="Get Involved" href="/site/getinvolved.html"/> <item name="Mailing Lists" href="/site/mail.html"/> <item name="CVS Repositories" href="/site/cvsindex.html"/> </menu> <menu name="Documentation"> <item name="API" href="/api/index.html"/> <!-- To be added <item name="User's guide"/> <item name="FAQ"/> --> </menu> <menu name="Related Projects"> <item name="Regexp" href="http://jakarta.apache.org/regexp/index.html"/> </menu> </body> </project> From [email protected] Wed May 16 08:03:08 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48351 invoked by uid 500); 16 May 2001 08:02:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 48331 invoked from network); 16 May 2001 08:02:53 -0000 Message-Id: <[email protected]> X-Mailer: exmh version 2.0.3 To: [email protected] Subject: Re: cvs commit: jakarta-oro/build ant-1.3.jar jaxp.jar parser.jar build-oro.bat build-oro.sh build-oro.xml ant.jar xml.jar In-reply-to: Your message of "Tue, 15 May 2001 22:20:42 PDT." <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 16 May 2001 04:02:39 -0400 From: "Daniel F. Savarese" <[email protected]> X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N >I think that the current trend is to remove the .sh and .bat files. Require >people to install Ant. Rename the build-oro.xml file to just build.xml. You I just followed Velocity's lead. My personal preference is to require Jakarta developers to install Ant, but to provide Ant in the source distribution. In other words, don't keep Ant jars in CVS, but make it easy for people to build the software from the source in the tarball. However, since there's no common infrastructure for pulling down the latest stable Ant jar for inclusion in a packaged source release, it seems safer to keep a jar in CVS for the short term (with the intent of eventually removing it). Regarding scripts, as long as everything that can be done in a script can be done in Ant, there's no point in keeping the scripts around. For jakarta-oro, that's certainly the case right now, but I can see the possibilty of needing some developer-only scripts that won't go into the source distribution, most likely for driving some testing outside of the Ant/JUnit framework. However, I think it's still good to include a default build script in a source distribution, again, to make it as easy as possible for someone consuming a source tarball and not actually working on the project to do a build. I don't see any reason not to rename build-oro.xml to build.xml and was planning on doing it. But there are going to be development situations where it's going to be preferable to have more than one build file, in which case giving the files namespaces is desirable. Nonetheless, a packaged source distribution should build from the well-known build.xml. Anyway, we'll definitely iterate and arrive at something more satisfactory, converging on a Jakarta-wide convention either by following or offering guidelines. Right now I was just trying to catch up and get the jakarta-site2 stuff going to set the stage for posting a development plan proposal and a status page. daniel From [email protected] Wed May 16 08:19:24 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 67616 invoked by uid 500); 16 May 2001 08:19:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 67542 invoked from network); 16 May 2001 08:19:08 -0000 Message-Id: <[email protected]> X-Mailer: exmh version 2.0.3 To: [email protected] Subject: Re: [PATCH] [Upper|Lower]Case For Perl5Substitution In-reply-to: Your message of "Fri, 11 May 2001 10:38:35 PDT." <p05100304b721d3cf3bb7@[161.129.204.104]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 16 May 2001 04:18:56 -0400 From: "Daniel F. Savarese" <[email protected]> X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Mark, Could you resubmit your patch? I think your mailer may have wrapped some lines in the patch and messed it up: patch < patch.txt patching file `Perl5Substitution.java' Hunk #1 [email protected]. patch: **** malformed patch at line 281: OPCODE_UPPERCASE_CHAR) { I tried fixing it up, but then all of the Hunks failed. Try attaching it as text/plain without any modifiers rather than pasting it in to your email. I think the format="flowed" in your email messed it up: Content-type: text/plain; charset="us-ascii" ; format="flowed" thanks, daniel From [email protected] Wed May 16 08:40:38 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90393 invoked by uid 500); 16 May 2001 08:40:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 90357 invoked from network); 16 May 2001 08:40:21 -0000 Message-Id: <[email protected]> X-Mailer: exmh version 2.0.3 To: [email protected] Subject: Re: Comparing oro and regexp In-reply-to: Your message of "Fri, 11 May 2001 15:49:18 EDT." <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 16 May 2001 04:40:04 -0400 From: "Daniel F. Savarese" <[email protected]> X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N >Now, to supply the sample benchmark code that backs up my >"performance anecdotes"... Thanks! Could you also include the regular expressions that you tested and the input? That will help us get started on both regression and performance tests. >I believe that I am using both the Regexp and ORO packages in an efficient >manner. But, please let me know if this is not the case. I haven't absorbed the entire piece of code yet, but something that's going to skew your timings is your repeated new'ing of PatternMatcherInput instances inside of your loops. You should only create one instance of PatternMatcherInput and use setInput() to change the input. The jakarta-oro package is designed so that you can minimize memory overhead by reusing object instances. At least you didn't repeatedly instantiate Perl5Compiler and Perl5Matcher objects which is the most common mistake people make and what I had in mind when talking about "performance anecdotes." For example, I just received a code example from someone who is still using OROMatcher (I asked them to upgrade to jakarta-oro) and was reporting a possible bug. The example was a method which on every call created a Perl5Compiler instance, a Perl5Matcher instance, and a Perl5Substitution instance. Those allocations should have only been performed once and the objects reused. That said, I'm very curious to see if HotSpot's runtime inlining makes it practical to work directly with String using charAt() rather than converting to a char[] every time. We can isolate the overhead of toCharArray() by running your test with a String as input and then with the equivalent char[] as input. For all but the shortest pieces of input, it used to be better to take the hit of using toCharArray() because it was greatly outweighted by the performance gain of working with arrays. HotSpot may change that depending on how it optimizes string element access. At any rate, please continue to share your observations so we can use them to improve the software. daniel From [email protected] Wed May 16 08:54:05 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4147 invoked by uid 500); 16 May 2001 08:53:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 4091 invoked by uid 500); 16 May 2001 08:53:40 -0000 Delivered-To: [email protected] Date: 16 May 2001 08:53:36 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro/build build.bat build.sh build.xml build-oro.bat build-oro.sh build-oro.xml dfs 01/05/16 01:53:35 Added: build build.bat build.sh build.xml Removed: build build-oro.bat build-oro.sh build-oro.xml Log: Renamed build-oro.xml to build.xml. Renamed build-oro scripts to build.sh and build.bat, but they may go away in the future depending on the direction of Jakarta project conventions. Revision Changes Path 1.1 jakarta-oro/build/build.bat Index: build.bat =================================================================== @echo off REM $Id: build.bat,v 1.1 2001/05/16 08:53:33 dfs Exp $ REM -------------------------------------------- REM Default == jar REM "lib" target builds the library REM "examples" target builds the example programs REM "tools" target builds the tools REM "clean" target removes generated files REM "jar" target builds core + jar REM "javadocs" target builds the javadoc REM "package" target builds core + jar + javadoc + distribution REM -------------------------------------------- set TARGET=%1% REM -------------------------------------------- REM No need to edit anything past here REM -------------------------------------------- set BUILDFILE=build.xml if "%TARGET%" == "" goto setdist goto final :setdist set TARGET=jar goto final :final if "%JAVA_HOME%" == "" goto javahomeerror if exist %JAVA_HOME%\lib\tools.jar set CLASSPATH=%CLASSPATH%;%JAVA_HOME%\lib\tools.jar set CP=%CLASSPATH%;ant-1.3.jar;parser.jar echo Classpath: %CP% echo JAVA_HOME: %JAVA_HOME% %JAVA_HOME%\bin\java.exe -classpath "%CP%" org.apache.tools.ant.Main -buildfile %BUILDFILE% %TARGET% goto end REM -----------ERROR------------- :javahomeerror echo "ERROR: JAVA_HOME not found in your environment." echo "Please, set the JAVA_HOME variable in your environment to match the" echo "location of the Java Virtual Machine you want to use." :end 1.1 jakarta-oro/build/build.sh Index: build.sh =================================================================== #!/bin/sh # # $Id: build.sh,v 1.1 2001/05/16 08:53:34 dfs Exp $ # # -------------------------------------------- # Default == jar # "lib" target builds the library # "examples" target builds the example programs # "tools" target builds the tools # "clean" target removes generated files # "jar" target builds lib + jar # "javadocs" target builds the javadoc # "package" target builds lib + jar + javadoc + distribution # -------------------------------------------- PROGRAM=$0 PROGRAM_NAME="`basename $PROGRAM`" PROGRAM_DIR="`dirname $PROGRAM`" JAR_DIR=. BUILDFILE=./build.xml JAKARTA_SITE2=../../jakarta-site2 JAKARTA_SITE2_LIB="${JAKARTA_SITE2}/lib" cd "$PROGRAM_DIR" #-------------------------------------------- # No need to edit anything past here #-------------------------------------------- if test -z "${JAVA_HOME}" ; then echo "ERROR: JAVA_HOME not found in your environment." echo "Please, set the JAVA_HOME variable in your environment to match the" echo "location of the Java Virtual Machine you want to use." exit fi if test -f "${JAVA_HOME}/lib/tools.jar" ; then CLASSPATH="${CLASSPATH}:${JAVA_HOME}/lib/tools.jar" fi if test -d "$JAKARTA_SITE2" ; then for jar in "$JAKARTA_SITE2_LIB"/*.jar; do CLASSPATH="${CLASSPATH}:$jar" done fi for jar in "$JAR_DIR"/*.jar; do CLASSPATH="${CLASSPATH}:$jar" done echo "Now building ${TARGET}..." echo "CLASSPATH: ${CLASSPATH}" echo "JAVA_HOME: ${JAVA_HOME}" "${JAVA_HOME}/bin/java" -classpath "$CLASSPATH" \ -Djakarta-site2.dir="$JAKARTA_SITE2" \ org.apache.tools.ant.Main -buildfile "$BUILDFILE" "$@" 1.1 jakarta-oro/build/build.xml Index: build.xml =================================================================== <?xml version="1.0"?> <!-- $Id: build.xml,v 1.1 2001/05/16 08:53:34 dfs Exp $ --> <project name="Jakarta-ORO" default="jar" basedir="."> <property name="Name" value="Jakarta-ORO"/> <property name="year" value="2001"/> <property name="version" value="2.0.2"/> <property name="project" value="jakarta-oro"/> <property name="code.src" value="../src"/> <property name="build.src" value="../src/java"/> <property name="build.dest" value="../classes"/> <property name="javadoc.destdir" value="../docs/api"/> <property name="final.name" value="${project}-${version}"/> <property name="final.dir" value="../${final.name}/"/> <property name="debug" value="off"/> <property name="optimize" value="on"/> <property name="deprecation" value="off"/> <property name="ant.home" value="."/> <property name="docs.src" value="../xdocs"/> <property name="docs.dest" value="../docs"/> <!-- prepare target. Creates build directory. --> <target name="prepare"> <mkdir dir="${build.dest}"/> <available classname="org.apache.velocity.anakia.AnakiaTask" property="AnakiaTask.present"/> <!-- <chmod perm="+x" file="bin/antRun"/> --> </target> <target name="prepare-error" depends="prepare" unless="AnakiaTask.present"> <echo> AnakiaTask is not present! Please check to make sure that velocity.jar is in your classpath. </echo> </target> <!-- lib target. Compiles the library classes only --> <target name="lib" depends="prepare"> <javac srcdir="${build.src}" destdir="${build.dest}" excludes="examples/**,tools/**" debug="${debug}" deprecation="${deprecation}" optimize="${optimize}"/> </target> <!-- examples target. Compiles the example classes. --> <target name="examples" depends="prepare,lib"> <javac srcdir="${build.src}/examples" excludes="awk/**" destdir="${build.dest}" debug="${debug}" deprecation="${deprecation}" optimize="${optimize}"/> </target> <!-- awk-examples target. Compiles the example classes. --> <target name="examples-awk" depends="prepare,lib"> <javac srcdir="${build.src}/examples/awk" destdir="${build.dest}" debug="${debug}" deprecation="${deprecation}" optimize="${optimize}"/> </target> <!-- tools target. Compiles the tool classes. --> <target name="tools" depends="prepare,lib"> <javac srcdir="${build.src}/tools" destdir="${build.dest}" debug="${debug}" deprecation="${deprecation}" optimize="${optimize}"/> </target> <!-- jar target. Compiles the source directory and creates a .jar file --> <target name="jar" depends="lib"> <jar jarfile="../${final.name}.jar" basedir="${build.dest}" includes="org/**" excludes="**/package.html,**/overview.html"/> </target> <!-- javadocs target. Creates the API documentation --> <target name="javadocs" depends="prepare"> <mkdir dir="${javadoc.destdir}"/> <javadoc packagenames="org.apache.oro.io,org.apache.oro.text,org.apache.oro.text.regex,org.apache.oro.text.awk,org.apache.oro.text.perl,org.apache.oro.util" sourcepath="${build.src}" destdir="${javadoc.destdir}" overview="${build.src}/org/apache/oro/overview.html" author="true" version="true" windowtitle="${Name} ${version} API" doctitle="${Name} ${version} API" bottom="Copyright &#169; ${year} Apache Software Foundation. All Rights Reserved." /> </target> <!-- docs target. Creates project web pages and documentation. --> <target name="docs" depends="prepare-error" if="AnakiaTask.present"> <taskdef name="anakia" classname="org.apache.velocity.anakia.AnakiaTask"/> <anakia basedir="${docs.src}" destdir="${docs.dest}/" extension=".html" style="./site.vsl" projectFile="stylesheets/project.xml" excludes="**/stylesheets/** empty.xml" includes="**/*.xml" lastModifiedCheck="true" templatePath="${jakarta-site2.dir}/xdocs/stylesheets"> </anakia> <!-- Uncomment if images are added <copy todir="${docs.dest}/images" filtering="no"> <fileset dir="${docs.src}/images"> <include name="**/*.gif"/> <include name="**/*.jpeg"/> <include name="**/*.jpg"/> </fileset> </copy> --> </target> <!-- package target --> <target name="package" depends="jar,javadocs"> <mkdir dir="${final.dir}"/> <mkdir dir="${final.dir}/src"/> <copydir src="${code.src}/" dest="${final.dir}/src"/> <copydir src="../doc" dest="${final.dir}/doc" excludes="**/dist/**"/> <copydir src="../build" dest="${final.dir}/build"/> <copyfile src="../LICENSE" dest="${final.dir}/LICENSE"/> <copyfile src="../BUGS" dest="${final.dir}/BUGS"/> <copyfile src="../CHANGES" dest="${final.dir}/CHANGES"/> <copyfile src="../README" dest="${final.dir}/README"/> <copyfile src="../STYLE" dest="${final.dir}/STYLE"/> <copyfile src="../TODO" dest="${final.dir}/TODO"/> <copyfile src="../${final.name}.jar" dest="${final.dir}/${final.name}.jar"/> </target> <!-- package-zip target. Packages the distribution with ZIP --> <target name="package-zip" depends="package"> <zip zipfile="../${project}-${version}.zip" basedir="../" includes="**/${final.name}/**"/> </target> <!-- Packages the distribution with TAR-GZIP --> <target name="package-tgz" depends="package"> <tar tarfile="../${project}-${version}.tar" basedir="../" includes="**/${final.name}/**"/> <gzip zipfile="../${project}-${version}.tar.gz" src="../${project}-${version}.tar"/> </target> <!-- Packages the distribution with ZIP and TAG-GZIP --> <target name="package-all" depends="package-zip, package-tgz"> </target> <!-- Makes an attempt to clean up a little. --> <target name="clean"> <delete dir="${build.dest}"/> <delete dir="${javadoc.destdir}"/> <delete dir="${final.dir}"/> <delete file="../${final.name}.jar"/> <delete file="../${final.name}.tar"/> <delete file="../${final.name}.tar.gz"/> <delete file="../${final.name}.zip"/> </target> </project> From [email protected] Wed May 16 08:57:01 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6456 invoked by uid 500); 16 May 2001 08:56:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 6437 invoked by uid 500); 16 May 2001 08:56:55 -0000 Delivered-To: [email protected] Date: 16 May 2001 08:56:51 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro/build build.xml dfs 01/05/16 01:56:51 Modified: build build.xml Log: Added mkdir docs.dest in case source is checked out with -P since docs is currently an empty directory. Revision Changes Path 1.2 +2 -1 jakarta-oro/build/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-oro/build/build.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- build.xml 2001/05/16 08:53:34 1.1 +++ build.xml 2001/05/16 08:56:48 1.2 @@ -1,5 +1,5 @@ <?xml version="1.0"?> -<!-- $Id: build.xml,v 1.1 2001/05/16 08:53:34 dfs Exp $ --> +<!-- $Id: build.xml,v 1.2 2001/05/16 08:56:48 dfs Exp $ --> <project name="Jakarta-ORO" default="jar" basedir="."> @@ -24,6 +24,7 @@ <target name="prepare"> <mkdir dir="${build.dest}"/> + <mkdir dir="${docs.dest}"/> <available classname="org.apache.velocity.anakia.AnakiaTask" property="AnakiaTask.present"/> <!-- From [email protected] Wed May 16 13:36:44 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97802 invoked by uid 500); 16 May 2001 13:36:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 97553 invoked from network); 16 May 2001 13:35:49 -0000 Mime-Version: 1.0 X-Sender: [email protected] Message-Id: <p05100303b7283332c724@[161.129.204.104]> Date: Wed, 16 May 2001 06:38:32 -0700 To: [email protected] From: "Mark F. Murphy" <[email protected]> Subject: [PATCH] [Upper|Lower]Case For Perl5Substitution Content-Type: multipart/mixed; boundary="============_-1222102182==_============" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N --============_-1222102182==_============ Content-Type: text/plain; charset="us-ascii" ; format="flowed" --============_-1222102182==_============ Content-Id: <p05100303b7283332c724@[161.129.204.104].0.0> Content-Type: application/mac-binhex40; name="patchfile.txt" Content-Disposition: attachment; filename="patchfile.txt" ; modification-date="Fri, 11 May 2001 10:33:20 -0700" (This file must be converted with BinHex 4.0) :$A"KG'0SCQPXC5jdH(3!9%9B9(4dH(3!!!!!*Zi!!!&3ZDJY,5dJ8'9bE$96G@* cG'PdGA4TEfiZDQ&fB5j[FQPR#94SG5"0BANJ-6!J-6)k0$Jk-63J-M!`-3SV+bX J8'9bE$96G@*cG'PdGA4TEfiZDQ&fB3P'FQNJ6@&j)$%a)$%`1M-b1M-h)$)`-$% +3%!J,6%c05`h-#!V-6-e,$%e05"!3!SJ)#!J+Lm+)#!JF(9LE'PM)(0dBA4TBb" QD@jKE#"TER3J58j849*36da"9%9I6Np145!p)#da1`SJ#LdJ)'PZG#"IER9Y5@j dCA*`EfaKG'P[ER-l#LdJ)%&bFQ&j6'PcG#"IFh9LFh4TG(9dD@pZFcX+,5!JG(* KER0TC@jd)&0dFQPZCb"IE'&cG%PZG'9bF'pXBA4TEfil#LXJ)#mU+JSV)#!J+L" ")'0[ER0dB@jd)'4PBfaKFQPZCb"[F'0[C'8JCQpb)'0[F(NJEh"PFQ&dD@pZ#LX J)#!U,`SV)#"`G@*XD@-JFh4KG'PM)'CTEQ&X)'PZG#"28%024%9I3dp3@5!p)#d a1`SJ#LdJ)(0dBA4TBb""FR*KH8aTFh3JAh"KFR0P8h9LFbK6G(*TEQFJFh9L+5" l#LdJ)#!JBQp[E'9KEL"cBACP4'PRDA4c,#"cG'pbC@4*ER4PFR"[E'&dD@pZ1`S Y)#!J)'PZG#"MGA*bC@jd1`SY)#!J)'0SBA*EA5"cG()l#LdJ)#!J3A*bBAP-DA0 d)(0eBR-l#LdJ)#!J8h4bD@jR3R9QCQ9b)'jeE8*eCQCPFL`JFh4b3R9QCQ9b1`S Y#LdJ)#!JFh9LFb!p)'jPGb""FR*KH8aTFh3S05Nl#LdJ)#!JER9Y3R9QCQ9b)$d JEQ9h)&0dFQPZCd*eCQCPFLJe+6X+,5!J)#"cG(*#G@CQCA)J25"ZCAFJ8h4bD@j R3R9QCQ9b+$%`+6X++b!J,bSU#LXJ)#!U)%%JBfpZFh4KER3JC'9ME'&bD@jR)'p `BfpNC5"QEh)JE'phCA*MBA0P)'0SBA)JEh"PFQ&dD@pZ#LXJ)#!U,`SV)#"`G@* XD@-JFh4KG'PM)'CTEQ&X)'PZG#"28%024%9I6%pA49*$390&Ad0)39)J25!Y-MX +)!SY)#!J)(0dFL!p)(0eBLjdEd0SBA*"FR*KH5JT1`SY)#!J)'0eFR*PER3J25! `1`SY)#!J)(0KGQ9%D@GTG(-J25"QB@acC6X+,5!J)#"cG'pbC@4*ER4PFR"[E'& dD@pZ)$dJCQ&XFf8l#LXJ)#mU+JSV)#!J+L"")'0[ER0dB@jd)'4PBfaKFQPZCb" [F'0[C'8JCQpb)(9`F'9bBf&cC5"MD'&b)'p`CA*KG'P[EJSV)#!J+Lm++b!JF(9 LE'PM)(0dBA4TBb"QD@jKE#"TER3J6e"$6d4&Ae938%953d&649p$5%&5)$dJ,6- l#L!+,5!J)#"hD'PXC5KMGA*bC@jd)$`JFh4b,QaPEQGdD#NJH`SY)#!J)#!JD@B SFf&fC84TCfPdFb!Q*L"$D'&bB@0dCA)ZDA0%D@GTG#KcG(*EBh9bFQ9ZG&dT+5" l#Ld*ER9Y3R9QCQ9b,Q&`F'9ZC#KcG(*EBh9bFQ9ZG&dT1`SY#Ld*D@BSFh4b3R9 QCQ9b,QaPEQGdD#JT)$iJ-#NJH`SY#5!JFh9LFbjKC'3SFh4b3R9QCQ9b,R4[8h4 bD@jR+#NT1`SY#5!JFh4b3R9QCQ9b,R0PG%aPEQGdD#J`+6X+,3Pp#LdJ)#!J)#" p)'9XFf8JH`SY#@PQ+(0KGQ9%D@GTG(-T)(X+,3NJ)(4bH5"l#Ld*)#!J)(0eBR- ZB@4N+'jPGb"*ER4PCf9b+'jeE8*eCQCPFLjdEe0dFQPZCbJT+5Nl#Ld*)#!J)(0 dEh*PC%PZG'9bF'pXBA4TEfiJ25"dFR9P1`SY#5!JI5"MBA4MD#K1G@eLCA*'Eh* YBA4&H'0PF(4TEfiJC5NJH`SY#5!J)#"cG@*c,Q&NC#KZG@e#G@CQCA)ZG'p6G(* TEQFS+5Nl#Ld*)#"p#LXJ)#mU+JSV)#!J+L"")'0[ER0dB@jd)'4PBfaKFQPZCb" [F'0[C'8JCQpb)'a[Gf9bBf&cC5"YEf4P)'p`CA*KG'P[EJSV)#!J+Lm++b!JF(9 LE'PM)(0dBA4TBb"QD@jKE#"TER3J6e"$6d4&Ada29d953d&649p06d4&)$dJ,63 l#L!+,3NJ)'jeE8*eCQCPFLjcCA4-C@jRG'JS-#Nl#Ld*)#"cBACP4'PRDA4c)$d JCQ&XFf8l#Ld*I3SV)#![+LS++b!J)#SJ35"MEfjcG'&ZG#"NC@0XBA*TEQFJEh" MEf4P)'C[FL"XEhGPFQ0KFf8JE@pNC5"[F'9bBA4TEfi++b!J)#S[#LXJ)("eBQa TBb"cG'&dD@-JCQPZB@`JD@jd)%p33dp%49p98&"&8N0"8d9I68p%45!p)#de1`S J#Ld*D@BSFh4b@f0eFR*PER4G)$dp)#FN*b!Q*JSY#5!J)'0eFR*PER3J+b!a)$` JFh4b,QaPEQGdD#!Q*L"cG(*EBh9bFQ9ZG#!V)$&G)#%p)#F`*b!Q*JSY#5!J)%0 SBA*KBh4PFLjTFd4TCfPd+(0dFPYMGA*bC@jd)#XJ-9dT+3SY#5!JFf&fC84TCfP dFb!p)(4bG@8l#Ld*C@acC3SY#5!JFh4b3R9QCQ9b,Q&`F'9ZC#KcG(*EBh9bFQ9 ZG&dT1`SV)#![+LS++b!J)#SJ35"MEfjcG'&ZG#"NC@0XBA*TEQFJEh"MEf4P)'C [FL"XEhGPFQ0KFf8JE@pNC5"[F'9bBA4TEfi++b!J)#S[#LXJ)("eBQaTBb"cG'& dD@-JCQPZB@`JD@jd)%p33dp%49p&6N4$390&Ade24%8J25!Y0MX++`SV)#"`FQP fBA4P)(0dBA4TBb"QD@jKE#"TER3J6e"$6d4&Ae086e*"4d9I8dPD45!p)$-b1`S V)#!++b!JD@jd)&pZG@e*ER4PFR"[E'&dD@pZFcX++b!JD@jd@edJAh0eBNp`Bfp NCA-l#LXJ)'PZG#"IFh9L6h"MEf4PFd0[G@jd1`SV)#"MD'&b@edJAh0eBR0dDA4 eG'P[EPpMD'&bFcX++b!JG(*KER0TC@jd)&0dFQPZCb"IE'&cG%PZG'9bF'pXBA4 TEfil#LX++b!JF(*TGQ&dC5"fEfPN)'&NC%9XC@ePER3SD@jd)(CKE(9P+5"l#LX J)#!J)#"TER3JE'9Z)$dJAh0eBNp`BfpNCA-ZE'9ZCh4S1`SV)#!J)#!JD@BJ+&p cG@*2F'0[C'9c3fpeER3J26dJE'9Z+5"l#LXJ)#!J)#!J)#!JD@jd@edJEQ9hBA* bBANJ25"ZCAFJD@jd@faPEL!V)%p33dp%49p69%p538G&Ae0*@N9G1`SV)#!J)#! J)#!J)&0jFh4PE5jKFR*KH@0[F(NSAh0eBNp`BfpNCA-X)$!X)'jPGf&bFQ&j,#! `,#"XC@iT1`SV)#!J)#!J)#!J)&pcG@*2F'0[C'9c)$dJEQ9hBA*bBANl#L!J)#! J)#"p#LXJ)#!J)#"IFh9L6h"MEf4PFeYIFh9L6h"MEf4PFd0[G@jd+bYG)$dJGQ& XG@8l#LXJ)(d+)!SY)#!J)#!J+bYMGA*bC@jd1`SY)#!J)(dJ,bmJC@jN)(GSD@a P#LXJ)("bDACKG'8JGQpTC#"IF'&bFf96G@*c+&0dFQPZCb"cG@)T)(X++b!J)#" LEfpXC@&Z)(0KGQ9%D@GTG(-X)'9cBf&`C8e[C'8X)'0KFf90Ef4P1`SV)#!J)'P ZG#"`Eh03BA*KE6X++b!J)#"TER3JEfCQFf9d1`SV#LXJ)#!JBfKKFPYG)(0eBPp MD'&bFb!p)&pcG@*cG'PdGA4TEfjIBfKKFR-J25"cG@)ZG'p$D'&b3A*bBANS+6X ++b!J)#"TER3JFh9LAfaPEQGdD#!p)(0eBPpMD'&bFbjXC@jRG'Jl#LX++b!J)#" IFh9L6h"MEf4PFb!p)'jPGb"TER4E6e"$6d4&Ae086e*"4d9I8dPD49dl#LXJ)#! JAh0eBNp`BfpNCA0$Eh9ZG#!p)$!l#LXJ)#!J#LXJ)#!JF'pc8'&bB@dJ25!`1`S V)#!J)'pQCR0PG#!p)#da1`SV)#!J)(0KGQ9%D@GTG(-J25"QB@acC6X++b!J)#" PFf0KF'90Ef4P)$dJCQ&XFf8l#LXJ)#!JBf&cC8e[C'8J25"QB@acC6X+)!SV)#! J)'C[FL!SD@jd)'0eFR*PER3J25!`1b"MGA*bC@jd)$`JFh9LAfaPEQGdD$XJBh9 bFQ9ZG#XV+5"l#L!+,5!J)#"TCLKcBACP4'PRDA4c+5"l#LdJ)#!J)#"dFRNJH`S Y#A0eBR-ZB@4N+'jPGb"*ER4PCf9b+'jeE8*eCQCPFLjdEe0dFQPZCbJT+5Nl#Ld *Fh4[FQ9N5@jdCA*`EfaKG'P[EL!p)(4bG@8l#LdJ)#!J)#"p)'0KG'0S+%jeE@* PFNC[FQeKG%9iBf9`G'P[EL"P+5"l#Ld*Fh9LFbjKC'3SER9Y3R9QCQ9b,R4[8h4 bD@jR+#NT1`SY)#!J)#!JI3SY)#!J)(dJC@acC5"TCLKcG(*#G@CQCA)ZE'9ZCh4 S+#NJ2L!`+3SY)#!J)#!JFh9LFbjKC'3SFh4b3R9QCQ9b,R4[8h4bD@jR+#NT1`S V)#!J)#!J)#"MD'&b)'-J25"cG@*IBfKKFR0EBh9bFQ9ZG&dl#LXJ)#!J)#!J)'P ZG#"ZCAKd)$dJBh9bFQ9ZG#!V)$%l#LXJ)#!J)#!J)!SV)#!J)#!J)#![,b"6BAC P)'4TCfPdF`SV)#!J)#!J)#"TCL!SFf&fC84TCfPdFbNJH`SV)#!J)#!J)#!J)#! JD@jd)'4TCfPd)$dJ3fKKFQ&MG'9b,Q4TCfPd+'-X)$%`+6X++b!J)#!J)#!J)#! J)'PQ)#KND@GTG#!q)#da+5"l#LXJ)#!J)#!J)#!J)#!J)#!JD@BJ+("[Fe"KFQ& Y)$`p)$-b0cBh+5"l#LXJ)#!J)#!J)#!J)#!J)#!J)#!J)("[Fe"KFQ&Y)#Sp)$% `1`SV)#!J)#!J)#!J)#!J)#!J)#!J)#"`Eh03BA*KE5!V25"ND@GTG$X++b!J)#! J)#!J)#!J)#!J)#"p#LXJ)#!J)#!J)#!J)#!J)#!JD@BJ+'jPH(3J26dJFh9LAfa PEQGdD#NJH`SV)#!J)#!J)#!J)#!J)#!J)#!J)#"KC'4&E'9YC@jd+("[Fe"KFQ& Y+6X++b!J)#!J)#!J)#!J)#!J)#"p#LXJ)#!J)#!J)#!J)#!J)#!JBfpZG'PZG@8 l#LXJ)#!J)#!J)#!J)#"p#LXJ)#!J)#!J)#!J)#"KC'4&E'9YC@jd+("[Fe"KFQ& Y+6X++b!J)#!J)#!J)#!J)("[Fe"KFQ&Y)$dJ-$X++b!J)#!J)#!J)#!J)(0KGQ9 %D@GTG(-J25"QB@acC6X++b!J)#!J)#!JI3SV#LXJ)#!J)#!J)#m[)%0[F(N++b! J)#!J)#!JD@BJ+#KM)#%p)#FN*b!Q*L"M)#%p)#GFA#FT)(am)'9cBf&`C8e[C'8 T)(X++b!J)#!J)#!J)#!J)'9cBf&`C8e[C'8J25"QB@acC6X++b!J)#!J)#!J)#! J)'PQ)#K[CQCcCA3J2#!`+5"l#LXJ)#!J)#!J)#!J)#!J)#!JEfCQFf9d)$dJBh9 bFQ9ZG$X++b!J)#!J)#!J)#!J)#!J)#"KC'4&E'9YC@jd+%p33dp%49p$6e"C+6X ++b!J)#!J)#!J)#!J)#!J)#"KC'4&E'9YC@jd+'pQCR0PG#Nl#LXJ)#!J)#!J)#! J)#"p#LXJ)#!J)#!J)#!J)#"TCL!SEQ9iG#!p25"cG@*IE'9ZCh4S+5"l#LXJ)#! J)#!J)#!J)#!J)#!JB@4N4@aPE@9ZG#KZCAKd)#dJEfCQFf9d+6X++b!J)#!J)#! J)#!J)(d++b!J)#!J)#!J)#!J)'0[ER4TER9P1`SV)#!J)#!J)#"p#LX++b!J)#! J)#!J,bmJ4@jN)%0[F(N++b!J)#!J)#!JD@BJ+'pQCR0PG#!q25!`+5"l#LXJ)#! J)#!J)#!J)#"KC'4&E'9YC@jd+'0eFR*PER3J,5"[CQCcCA3T1`SV)#!J)#!J)#! J)#!JEfCQFf9d)$dJ,6%l#LXJ)#!J)#!J)(d++`SV)#!J)#!J)#![,b"2EQaj)'4 [)("[FfPdD@pZB@`JB@jN)'9cBf&`CA-JD@BJGf8JD'&fC5"K)'jPH(3JBfKKFJS V)#!J)#!J)#"TCL!SEQ9iG#!p25"cG@*IE'9ZCh4S+3SV)#!J)#!J)#!J)#!JBfp ZG'PZG@8l#LXJ)#!J)#!J)'0SBA)JEQ9iG'-J25"cG@*IBfKKFR0EEQ9iG&dl#LX ++b!J)#!J)#!J,bmJ8'pcDA4TEfjKE#"`BA*KEA-++b!J)#!J)#!JD@BJ+'-J26d J*b3R+5"l#LXJ)#!J)#!J)#!J)#"cBACP4'PRDA4c)$dJ+'jPH(4M)#%p)#F`*b! Q*L"$D'&bB@0dCA)ZDA0%D@GTG#KZCAKdBbNT1`SV)#!J)#!J)#"p#LX++b!J)#! J)#!J,bmJ4A0MBA"P)'0[C'9c#LXJ)#!J)#!J)'9XFf8JD@BJ+'-J26dJ*eaF*bN JH`SV)#!J)#!J)#!J)#!JD@BJ+'jPH(4M)$dp)#GX*bNJH`SV)#!J)#!J)#!J)#! J)#!J)'PQ)#JKBf&cC8e[C'8TH`SV)#!J)#!J)#!J)#!J)#!J)#!J)#"KC'4&E'9 YC@jd+%p33dp%49p-6eG&8N0"8d9I3dK"8LNl#LXJ)#!J)#!J)#!J)#!J)#!J)#! J)'0eFR*PER3V+cX++b!J)#!J)#!J)#!J)#!J)#"p#LXJ)#!J)#!J)#!J)#"p)'9 XFf8JD@BJ+'jPH(4M)$dp)#Ge*bNJH`SV)#!J)#!J)#!J)#!J)#!J)'PQ)#JKBf& cC8e[C'8T)(X++b!J)#!J)#!J)#!J)#!J)#!J)#!JB@4N4@aPE@9ZG#K28%024%9 I99"349*$390&Ad0)39)T1`SV)#!J)#!J)#!J)#!J)#!J)#!J)#"MGA*bC@jd+bX l#LXJ)#!J)#!J)#!J)#!J)#!JI3SV)#!J)#!J)#!J)#!JI5"PE(0P)'PQ)#KZCAK dBb!p25!R6#FT)(X++b!J)#!J)#!J)#!J)#!J)#"KC'4&E'9YC@jd+%p33dp%49p -6eG&8N0"8d9I68p%45Nl#LXJ)#!J)#!J)#!J)#!J)#!JBh9bFQ9ZG#XV1`SV)#! J)#!J)#!J)#!J)#!J)'0KFf90Ef4P)$dJG(*eC6X++b!J)#!J)#!J)#!J)(dJC@a cC5"TCL!SEQ9iG'-J26dJ*e8R+5"l#LXJ)#!J)#!J)#!J)#!J)#!JB@4N4@aPE@9 ZG#K28%024%9I99"349*$390&Ade24%8T1`SV)#!J)#!J)#!J)#!J)#!J)'0eFR* PER3V+cX++b!J)#!J)#!J)#!J)#!J)#"MBA0P6@pNC5!p)(4bG@8l#LXJ)#!J)#! J)#!J)#"p)'9XFf8JD@BJ+'jPH(4M)$dp)#G&*bNJH`SV)#!J)#!J)#!J)#!J)#! J)'&NC%9XC@ePER3S6e"$6d4&Ad914%0"8d9I68p%45Nl#LXJ)#!J)#!J)#!J)#! J)#!JBh9bFQ9ZG#XV1`SV)#!J)#!J)#!J)#!J)#!J)'0KFf90Ef4P)$dJCQ&XFf8 l#LXJ)#!J)#!J)#!J)#"p)'9XFf8JH`SV)#!J)#!J)#!J)#!J)#!J)'9cBf&`C8e [C'8J25"dFR9P1`SV)#!J)#!J)#!J)#!JI3SV)#!J)#!J)#"p#LX++b!J)#"p#L! +,5!J)#"bCA4eFQiJ+(0dEh*PC%PZG'9bF'pXBA4TEfiJ2b"cG@*c)$SJER9XE#N l#L!J)(d+)!SJ#N"!)#db-$NX-c-J+c)j0#`j0L"!3!SJ)#"p#L!+)#!JGQpTC#" IBf&XBe0eBLK6G(*TEQG#G@CQCA)JBR9QCQ9b,#"0BA4MD&*PFh9XG#"bCA0eE(3 T)(X+,5!J)#"TER3JFfPkC5`JGQ&XG@8l#LdJ)#!J6f*UC@0d)'pLDMX+,5!J)#" *ER4PCf9b)'PZG'9RCA)l#LXJ)#!JD@jd)(0THQ8X)'pQCR0PG#`JBfpeER3X)'0 KFf90Ef4P1`SJ)#!J)&0dFQPZCb"RFQpeF$X+,5!J)#"*G'9bBA4[FL"TG$X++b! J)#"MD'&b@edJFh9L1`SV#LXJ)#!JD@jd@edJFh9L6h"MEf4PFb!p)&pcG@*2F'0 [C'9c1`SJ#LdJ)#!JDA3J25"IFh9LFh4TG(9dD@pZFbjTG'9bBA4[FLJT1`SV)#! J)'0KFf90Ef4P)$dJ-$X++b!J)#"MD'&b@edJFh4b)$dJAh0eBR0dDA4eG'P[EPp MD'&bFcX++b!J)#"MD'&b@edJE@&dBfJJ25"bCA0eE(3ZCh*[GA!S-#NZG'p$D'& b3A*bBANS+6X+)!SY)#!J)(GSD@aP+'Pd,QKKFdjPH(3S+5NJH`SY)#!J)#!JEf* U)$dJDA3ZEQ9iG#JT1`SV)#!J)(0THQ8J25"IFh9L6h"MEf4PFd0[G@jd1`SJ#Ld J)#!J)#"TCLK[BQSJD@jcG'&ZBf9[CL"6G(*TEQFT#Ld*BR9QCQ9b,Q&`F'9ZC#K [BQST1`SY)#!J)#!JC@acC5"l#Ld*D@jdC@GPFL!p)#K*ER4PCf9b+@pLDMX+,3P fB@aeC5!p)'PZG'9RCA)ZD@jd9Q&XG@8S+6X++b!J)#"QEh)J+'PZG#"PE'9YC@j d)$dJ-$XJC@aPE@9ZG#!m)(0THQ8l)'9XC@ePER3V+bNJH`SJ#LXJ)#!J)#!J)'P ZG#"fB@aeC5!p)(0eBNp`BfpNCA0EC@aPE@9ZG&dl#LX++b!J)#!J)#!J,bmJ4h* [GA"c#L!*D@BSGQ&XG@8J2L!`)#BQ)(CKE(9P)$`JFQ9cG@ad,QGbEh9`FbJT+5" l#Ld*)#"RFQpeF#!p)(*PFh9XG#jRFQpeF#KfB@aeC5Nl#L!+,3NJ)'PQ+'GbEh9 `)#%p)'jeE'`T#Ld*)#!J)'*eCQCPFLjKF("PEQ3SCh*[GA!T1`SY#AdJC@acC5" l#Ld*)#"LG@CQCA)ZBA"`C@jN+#FN*bNl#Ld*)#"LG@CQCA)ZBA"`C@jN+(CKE(9 P+6X++b!J)#!J)#!J)#!J)'pQCR0PG#!p)(*PFh9XG#jLC@GTELKfB@aeC5Nl#LX J)#!J)#!J)#!J)#"TCL!SEfCQFf9d)$`J-#NJBfpZG'PZG@8l#LXJ)#!J)#!J)#! J)#"TER3JC@jN)$dJFQ9cG@ad,Q9ZC#KfB@aeC5Nl#LXJ)#!J)#!J)#!J)#"TCL! SC@jN)$`J-#NJBfpZG'PZG@8l#LX++b!J)#!J)#!J)#!J)'PZG#"XC@iJ25"bCA0 eE(3ZE'9ZCh4S+#Nl#LX++b!J)#!J)#!J)#!J)'PQ)#K[CQCcCA3J2MdJE'9Z)(a m)'9ZC#!q)'aPEL"mI#"[CQCcCA3J2MdJC@jN+5"MEfjdD@jeC6X++`SV)#!J)#! J)#!J)#!JBfpeER3J25"PEQ3J,5"[CQCcCA3l#LXJ)#!J)#!J)#!J)#"cG@)J25" YBA4MD$X++b!J)#!J)#!J)#!J)!SV)#!J)#!J)#"p#LX++b!J)#!J)#!J,bmJ3fp `H3SV)#!J)#!J)#"PE(0P)'PQ)#KfB@aeC5!p25"28%024%9I3dp3@5NJH`SV)#! J)#!J)#!J)#!JC@aPE@9ZG#XV1`SV)#!J)#!J)#!J)#!JD@BJ+'9XC@ePER3J2Md JFfPkC5NJBfpZG'PZG@8l#LXJ)#!J)#!J)#!J)#"[CQCcCA3J25"cG@*2F'0[C'9 c@f9XC@ePER4G1`SV)#!J)#!J)#!J)#!JC@aPE@9ZG#XV1`SV)#!J)#!J)#!J)#! JD@BJ+'9XC@ePER3J2MdJFfPkC5NJBfpZG'PZG@8l#LXJ)#!J)#!J)#!J)#"MEh9 ZG#!p)(0eBNp`BfpNCA0EC@aPE@9ZG&dl#LXJ)#!J)#!J)#!J)#"cG@)J25"cG() l#LXJ)#!J)#!J)(d++`SV)#!J)#!J)#![,b"$BA0P)'0SBA)++b!J)#!J)#!JC@a cC5"TCL!SGQ&XG@8J26dJ6e"$6d4&Ada29d953d&649p$5%&5)(am)(CKE(9P)$d p)%p33dp%49p98&"&8N0"8d9I3dK"8LNJH`SV)#!J)#!J)#!J)#!JD@BJ+'0KFf9 0Ef4P)#%p)%p33dp%49p-6eG&8N0"8d9I68p%45!Q*L"MBA0P6@pNC5!K25"28%0 24%9I99"349*$390&Ade24%8T)(X++b!J)#!J)#!J)#!J)#!J)#"MBA0P6@pNC5! p)(CKE(9P1`SV)#!J)#!J)#!J)#!JI3SV)#!J)#!J)#!J)#!JBfpZG'PZG@8l#LX J)#!J)#!J)(d++`SV)#!J)#!J)#![,b"$BA0P)'e[C'8++b!J)#!J)#!JC@acC5" TCL!SGQ&XG@8J26dJ6e"$6d4&Ada29d953d&649p06d4&)(am)(CKE(9P)$dp)%p 33dp%49p98&"&8N0"8d9I68p%45NJH`SV)#!J)#!J)#!J)#!JBf&cC8e[C'8J25" fB@aeC6X++b!J)#!J)#!J)#!J)'0[ER4TER9P1`SV)#!J)#!J)#"p#LX++b!J)#! J)#!J,bmJ3f&cC5"YEf4P)'9ZC!SV)#!J)#!J)#"PE(0P)'PQ)#KfB@aeC5!p25" 28%024%9I48j%3d&649p06d4&+5"l#LXJ)#!J)#!J)#!J)#"MBA0P6@pNC5!p)$! l#LXJ)#!J)#!J)#!J)#"MEfjdD@jeC6X++b!J)#!J)#!JI3SV#LXJ)#!J)#!J)#m [)&9ZDfj[Gfi++b!J)#!J)#!JC@acC5"l#LXJ)#!J)#!J)#!J)#"MEfjdD@jeC6X +)!Pp#LdJ)#!J)#"p#LX++b!J)#!J)#!J,bmJ3A"`E(NJE@pNCA-JG'mJBR9Q#LX J)#!J)#!J)'PQ)#KMBA0P6@pNC5!p25"28%024%9I6%pA49*$390&Ad0)39)T)(X ++b!J)#!J)#!J)#!J)'*eCQCPFLjKF("PEQ3S3fKKFQ&MG'9b,R4[6'phCA*$BA0 P+(0eBPY[CQCcCA3V+edT+6X++b!J)#!J)#!J)#!J)'*eCQCPFLjKF("PEQ3SFh9 L,#"[CQCcCA3X)#dYBfpeER3T1`SV)#!J)#!J)#!J)#!JBf&cC8e[C'8J25!`1`S V)#!J)#!J)#"p)'9XFf8JD@BJ+'0KFf90Ef4P)$dp)%p33dp%49p98&"&8N0"8d9 I3dK"8LNJH`SV)#!J)#!J)#!J)#!JBR9QCQ9b,Q&`F'9ZC#K$D'&bB@0dCA)ZG'p 9F("PFN0KFf8SFh9L@fpQCR0PG#XVA5NT1`SV)#!J)#!J)#!J)#!JBR9QCQ9b,Q& `F'9ZC#KcG@)X)'pQCR0PG#`J,5eMEh9ZG#Nl#LXJ)#!J)#!J)#!J)#"MBA0P6@p NC5!p)$!l#LXJ)#!J)#!J)(dJC@acC5"TCL!SBf&cC8e[C'8J26dJ6e"$6d4&Ada 29d953d&649p06d4&+5"l#LXJ)#!J)#!J)#!J)#"QEh)J+'PZG#"PEQ3J25"[CQC cCA3J+b"MEh9ZG$XJEfCQFf9d)$`JC@jN1b!T)(X++b!J)#!J)#!J)#!J)#!J)#" LG@CQCA)ZBA"`C@jN+%0SBA*KBh4PFLjdEda[Gf9b3f&cC5KcG@*EEfCQFf9d+bY G+5Nl#LXJ)#!J)#!J)#!J)#"p#LXJ)#!J)#!J)(dJC@acC5"TCL!SBf&cC8e[C'8 J26dJ6e"$6d4&Ae938%953d&649p06d4&+5"l#LXJ)#!J)#!J)#!J)#"QEh)J+'P ZG#"PEQ3J25"[CQCcCA3J+b"MEh9ZG$XJEfCQFf9d)$`JC@jN1b!T)(X++b!J)#! J)#!J)#!J)#!J)#"LG@CQCA)ZBA"`C@jN+%0SBA*KBh4PFLjdEe9`F'9b3f&cC5K cG@*EEfCQFf9d+bYG+5Nl#LXJ)#!J)#!J)#!J)#"p#LXJ)#!J)#!J)(dJC@acC5" l#LXJ)#!J)#!J)#!J)#"LG@CQCA)ZBA"`C@jN+(0eBL`JEfCQFf9d,#"MEh9ZG#N l#LXJ)#!J)#!J)(d++b!J)#!J)#!J#L!J)#!JI3SJ)#"p#L!+3%!J,6-b0#`a-#! V0$Fb,$%`)%"!#L!J)#!JAfjeE8PZG'9bF'pXBA4TEfjc)$dJER9Y5@jdCA*`Efa KG'P[ER-l#L!+)#!J)#"TCLKZG@e*ER4PFR"[E'&dD@pZFb!K25"*6P4&8P"26%& 849p16dj&)#BQ)!SY)#!J)#!J)(0eBR0dDA4eG'P[ELjTEQ4PH%pQ+#FN*bNJ)6d J,6%T#LdJ)#!J)#"IFh9LFh4TG(9dD@pZFb!p)&p`BA*cC90eBR-SFh9LFh4TG(9 dD@pZ+6X++b!J)#!J)#!SFh9LFh4TG(9dD@pZ,QPZC'9i6fBS*b3R+5!K25!Y-5" mI#"cG@*cG'PdGA4TEfiZD@jNCAK2CLJRA&`R+5!K25!Y-5NT#LXJ)#!J)#"IF'& bFf96G@*c+(0eBR0dDA4eG'P[ELNl#L!J)#!JC@acC3SY)#!J)#!JAh0eBR0dDA4 eG'P[ER-J25"ZG@aX1`SV)#!J)#!JAh0eBNp`BfpNCA-J25"ZG@aX1`SJ)#!J)&p XBA0d5@jdCA*`EfaKG'P[EL!p)'jeE'`l#L!J)(d+)!T!3#!Y-c8c,$FJ+c8`-5` h)%"!#L!*#3N*)'PZG#"cG@*cG'PdGA4TEfj$Eh9ZG#`J8h4bD@jR)'pbD@GTEQ& X5@j`GA3X)!SJ#3N*#5"3BA4dCA*Z6@&dBfKPFL"YBA4MD'9b,#"3BA4dCA*Z)(" KG(4PFQiT#L!J)(X+,5!J)#"TCLKIFh9LFh4TG(9dD@pZFb!p25"ZG@aX+5"l#LX J)#!JD@BSAh0eBNp`BfpNCA-J26dJER9XE#NJH`SJ)#!J)#!JFh9`CA)ZBA"`C@j N8h9LFh4TG(9dD@pZ+'&`F'9ZC%*eCQCPFL`JE@&dBfJX)(0eBR0dDA4eG'P[EN0 [G@jd,!SJ#3N*)#!J)#!J)'pbD@GTEQ&X5@j`GA3X)'eKG'0SCA)X)("KG(4PFQi T1`SJ)#!J)#!JFQ9dGA*Z1`VFFJ!!!3!!!!%1!!!!$J!!!%)!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!+!5N"P3)&!i8 !EJ!!!3!!!!%1!!!!$J!!!%*66e*8!%B!J!!F!$)!!&0I9e!!!!!+)F-!!!!!!!! Ar9(8$eGTEQ4[Gb"3Eh0TG'P[EP-N: --============_-1222102182==_============-- From [email protected] Wed May 16 19:57:05 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 55055 invoked by uid 500); 16 May 2001 19:56:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 54969 invoked by uid 500); 16 May 2001 19:56:19 -0000 Delivered-To: [email protected] Date: 16 May 2001 19:56:12 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro/xdocs/images - New directory dfs 01/05/16 12:56:11 jakarta-oro/xdocs/images - New directory From [email protected] Thu May 17 00:44:50 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12114 invoked by uid 500); 17 May 2001 00:44:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 12093 invoked by uid 500); 17 May 2001 00:44:46 -0000 Delivered-To: [email protected] Date: 17 May 2001 00:44:45 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro/xdocs/stylesheets project.xml dfs 01/05/16 17:44:45 Modified: . CONTRIBUTORS build build.xml xdocs index.xml xdocs/stylesheets project.xml Added: xdocs/images logo.gif logoSmall.gif Log: Added garish logo to documentation (modified build.xml, project.xml. added logo.gif and logoSmall.gif). Added Mark Murphy to CONTRIBUTORS. Added Id RCS tag to index.xml. Revision Changes Path 1.4 +5 -1 jakarta-oro/CONTRIBUTORS Index: CONTRIBUTORS =================================================================== RCS file: /home/cvs/jakarta-oro/CONTRIBUTORS,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- CONTRIBUTORS 2001/05/16 06:36:00 1.3 +++ CONTRIBUTORS 2001/05/17 00:44:41 1.4 @@ -1,4 +1,4 @@ -$Id: CONTRIBUTORS,v 1.3 2001/05/16 06:36:00 dfs Exp $ +$Id: CONTRIBUTORS,v 1.4 2001/05/17 00:44:41 dfs Exp $ Daniel Savarese <[email protected]> is the original author of the OROMatcher, PerlTools, AwkTools, and TextTools packages that became @@ -10,3 +10,7 @@ Takashi Okamoto <[email protected]> has contributed a unicode character class fix and an initial posix character class implementation. + +Mark Murphy <[email protected]> has contributed performance +improvements to Perl5Substitution as well as adding support for +\UuLlE and escaping of $. 1.3 +18 -5 jakarta-oro/build/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-oro/build/build.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- build.xml 2001/05/16 08:56:48 1.2 +++ build.xml 2001/05/17 00:44:42 1.3 @@ -1,5 +1,5 @@ <?xml version="1.0"?> -<!-- $Id: build.xml,v 1.2 2001/05/16 08:56:48 dfs Exp $ --> +<!-- $Id: build.xml,v 1.3 2001/05/17 00:44:42 dfs Exp $ --> <project name="Jakarta-ORO" default="jar" basedir="."> @@ -104,8 +104,23 @@ version="true" windowtitle="${Name} ${version} API" doctitle="${Name} ${version} API" - bottom="Copyright &#169; ${year} Apache Software Foundation. All Rights Reserved." - /> + header="&lt;a href=&quot;http://jakarta.apache.org/oro/&quot; target=_top&gt;&lt;img src=&quot;{@docroot}/../images/logoSmall.gif&quot; alt=&quot;Jakarta ORO&quot; width=48 height=47 align=center border=0 hspace=1 vspace=1&gt;&lt;/a&gt;" + bottom="Copyright &#169; ${year} Apache Software Foundation. All Rights Reserved."> + <group + title="Core Regular Expression Interfaces and Perl5 Implementations" + packages="org.apache.oro.text.regex"/> + <group + title="Perl5 Syntactic Sugar" + packages="org.apache.oro.text.perl"/> + <group + title="AWK Regular Expressions" + packages="org.apache.oro.text.awk"/> + <group + title="General Text Processing Classes and Glob Expressions" + packages="org.apache.oro.text"/> + </javadoc> + <replace file="${javadoc.destdir}/overview-frame.html" + token="{@docroot}" value="."/> </target> @@ -122,7 +137,6 @@ templatePath="${jakarta-site2.dir}/xdocs/stylesheets"> </anakia> - <!-- Uncomment if images are added <copy todir="${docs.dest}/images" filtering="no"> <fileset dir="${docs.src}/images"> <include name="**/*.gif"/> @@ -130,7 +144,6 @@ <include name="**/*.jpg"/> </fileset> </copy> - --> </target> 1.2 +1 -0 jakarta-oro/xdocs/index.xml Index: index.xml =================================================================== RCS file: /home/cvs/jakarta-oro/xdocs/index.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- index.xml 2001/05/16 06:37:16 1.1 +++ index.xml 2001/05/17 00:44:43 1.2 @@ -1,4 +1,5 @@ <?xml version="1.0"?> +<!-- $Id: index.xml,v 1.2 2001/05/17 00:44:43 dfs Exp $ --> <document> <properties> 1.1 jakarta-oro/xdocs/images/logo.gif <<Binary file>> 1.1 jakarta-oro/xdocs/images/logoSmall.gif <<Binary file>> 1.2 +3 -3 jakarta-oro/xdocs/stylesheets/project.xml Index: project.xml =================================================================== RCS file: /home/cvs/jakarta-oro/xdocs/stylesheets/project.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- project.xml 2001/05/16 06:37:17 1.1 +++ project.xml 2001/05/17 00:44:44 1.2 @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="ISO-8859-1"?> +<!-- $Id: project.xml,v 1.2 2001/05/17 00:44:44 dfs Exp $ --> <project name="Jakarta ORO" href="http://jakarta.apache.org/oro"> <title>Jakarta ORO</title> - <!-- uncomment and put your project logo here! - <logo href="/images/jakarta-logo.gif">The Jakarta Project</logo> - --> + + <logo href="/images/logo.gif">Jakarta-ORO</logo> <body> <menu name="About"> From [email protected] Thu May 17 03:51:53 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61133 invoked by uid 500); 17 May 2001 03:51:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 61106 invoked by uid 500); 17 May 2001 03:51:49 -0000 Delivered-To: [email protected] Date: 17 May 2001 03:51:48 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro README dfs 01/05/16 20:51:48 Modified: . README Log: Fixed error in README. The information in this and other "all-caps" files will probably be moved into xdocs as part of the documentation effort. Revision Changes Path 1.2 +3 -3 jakarta-oro/README Index: README =================================================================== RCS file: /home/cvs/jakarta-oro/README,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- README 2000/07/23 23:08:28 1.1 +++ README 2001/05/17 03:51:48 1.2 @@ -1,10 +1,10 @@ -$Id: README,v 1.1 2000/07/23 23:08:28 jon Exp $ +$Id: README,v 1.2 2001/05/17 03:51:48 dfs Exp $ Quick Overview -------------- BUGS - contains a list of known bugs -BUILD - contains quick instructions for building the library +COMPILE - contains quick instructions for building the library CHANGES - lists recent changes to the source code LICENSE - the license defining the terms of use of the software README - this file @@ -35,7 +35,7 @@ Building -------- -Build instructions are in the BUILD file. For the impatient, execute +Build instructions are in the COMPILE file. For the impatient, execute build-oro.sh in the build directory. From [email protected] Thu May 17 04:03:11 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66974 invoked by uid 500); 17 May 2001 04:03:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 66964 invoked from network); 17 May 2001 04:03:10 -0000 Message-Id: <[email protected]> X-Mailer: exmh version 2.0.3 To: [email protected] Subject: Re: [PATCH] [Upper|Lower]Case For Perl5Substitution In-reply-to: Your message of "Wed, 16 May 2001 06:38:32 PDT." <p05100303b7283332c724@[161.129.204.104]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 17 May 2001 00:02:55 -0400 From: "Daniel F. Savarese" <[email protected]> X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Thanks Mark. The patch applied cleanly this time. I'm massaging it a little bit before committing it; really just cosmetic changes. I'm a week late on posting that development proposal, but I've updated the web page stuff to use jakarta-site2 and should post the proposal soon. I'm recommending we implement an initial set of tests before we embark on feature enhancements. daniel From [email protected] Thu May 17 17:18:14 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76373 invoked by uid 500); 17 May 2001 17:17:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 76260 invoked from network); 17 May 2001 17:17:26 -0000 Mime-Version: 1.0 X-Sender: [email protected] Message-Id: <p05100302b729b8b92722@[161.129.204.104]> In-Reply-To: <[email protected]> References: <[email protected]> Date: Thu, 17 May 2001 10:20:11 -0700 To: [email protected] From: "Mark F. Murphy" <[email protected]> Subject: Re: [PATCH] [Upper|Lower]Case For Perl5Substitution Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N At 12:02 AM -0400 5/17/01, Daniel F. Savarese wrote: >I'm a week late on posting that development proposal, but I've updated >the web page stuff to use jakarta-site2 and should post the proposal >soon. I'm recommending we implement an initial set of tests before we >embark on feature enhancements. I agree. A test set would be good. mark -- --------------------------------------------------------------------------- Mark F. Murphy, Director Software Development <mailto:[email protected]> Tyrell Software Corp <http://www.tyrell.com> PowerPerl(tm), Add Power To Your Webpage! <http://www.powerperl.com> --------------------------------------------------------------------------- Families Against Internet Censorship: http://www.netfamilies.org/ From [email protected] Thu May 17 19:00:09 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70102 invoked by uid 500); 17 May 2001 18:59:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 69869 invoked by uid 500); 17 May 2001 18:59:54 -0000 Delivered-To: [email protected] Date: 17 May 2001 18:59:51 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro/src/java/org/apache/oro/text/regex Perl5Substitution.java dfs 01/05/17 11:59:50 Modified: src/java/org/apache/oro/text/regex Perl5Substitution.java Log: Applied Mark Murphy's patch that adds case modification support to substitution processing. Also updated the class documentation to reflect the new behavior. Also started process of updating javadoc version tags and adding since tags to javadocs, moving the RCS Id tag to the top of the file (well, after the license). Revision Changes Path 1.5 +244 -83 jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Substitution.java Index: Perl5Substitution.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Substitution.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- Perl5Substitution.java 2001/05/09 18:22:07 1.4 +++ Perl5Substitution.java 2001/05/17 18:59:47 1.5 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: Perl5Substitution.java,v 1.5 2001/05/17 18:59:47 dfs Exp $ + */ import java.util.*; /** @@ -68,7 +71,7 @@ * The substitution string may contain variable interpolations referring * to the saved parenthesized groups of the search pattern. * A variable interpolation is denoted by <b>$1</b>, or <b>$2</b>, - * or <b>$3</b>, etc. If you don want such expressions to be + * or <b>$3</b>, etc. If you do not want such expressions to be * interpreted literally, you should set the <b> numInterpolations </b> * parameter to <b> INTERPOLATE_NONE </b>. It is easiest to explain * what an interpolated variable does by giving an example: @@ -105,15 +108,31 @@ * <p> * A final thing to keep in mind is that if you use an interpolation variable * that corresponds to a group not contained in the match, then it is - * interpreted literally. So given the regular expression from the + * interpreted as the empty string. So given the regular expression from the * example, and a substitution expression of <b>a$2-</b>, the result * of the last sample input would be: - * <pre><b>Tank a$2- 85 Tank a$2- 32 Tank a$2- 22</b></pre> - * Also, <b>$0</b> is always interpreted literally. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: Perl5Substitution.java,v 1.4 2001/05/09 18:22:07 dfs Exp $ - + * <pre><b>Tank a- 85 Tank a- 32 Tank a- 22</b></pre> + * Also, the result of substituting <b>$0</b> or $ followed by an + * non-positive integer is undefined. In order to include a $ in a + * substitution, it should be escaped with a backslash (e.g., <b>"\\$0"</b>). + * <p> + * Perl5 double-quoted string case modification is also supported in + * the substitution. The following escape sequences are supported: + * <dl compact> + * <dt> \\U <dd> make substitution uppercase until end of substitution or \\E + * <dt> \\u <dd> make next character uppercase + * <dt> \\L <dd> make substitution uppercase until end of substitution or \\E + * <dt> \\l <dd> make next character uppercase + * <dt> \\E <dd> mark the end of the case modification + * </dl> + * The double backslashes are shown to remind you that to make a + * backslash get past Java's string handling and appear as a backslash + * to the substitution, you must escape the backslash. + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @author <a href="mailto:[email protected]">Mark Murphy</a> + * @version @version@ + * @since 1.1 * @see Substitution * @see Util * @see Util#substitute @@ -135,70 +154,162 @@ */ public static final int INTERPOLATE_NONE = -1; + /** + * The initial size and unit of growth for the + * {@link #_subOpCodes _subOpCodes} array. + */ + private static final int __OPCODE_STORAGE_SIZE = 32; + + /** + * The maximum number of groups supported by interpolation. + */ + private static final int __MAX_GROUPS = Character.MAX_VALUE; + + /** + * A constant declaring opcode for copy operation. + */ + static final int _OPCODE_COPY = -1; + + /** + * A constant declaring opcode for lowercase char operation. + */ + static final int _OPCODE_LOWERCASE_CHAR = -2; + + /** + * A constant declaring opcode for uppercase char operation. + */ + static final int _OPCODE_UPPERCASE_CHAR = -3; + + /** + * A constant declaring opcode for lowercase mode operation. + */ + static final int _OPCODE_LOWERCASE_MODE = -4; + + /** + * A constant declaring opcode for lowercase mode operation. + */ + static final int _OPCODE_UPPERCASE_MODE = -5; + + /** + * A constant declaring opcode for lowercase mode operation. + */ + static final int _OPCODE_ENDCASE_MODE = -6; + int _numInterpolations; - ArrayList _substitutions; + int[] _subOpcodes; + int _subOpcodesCount; + char[] _substitutionChars; + transient String _lastInterpolation; - static ArrayList _parseSubs(String sub) { - boolean saveDigits, storedInterpolation; - int current; - char[] str; - ArrayList subs; - StringBuffer numBuffer, strBuffer; - - subs = new ArrayList(5); - numBuffer = new StringBuffer(5); - strBuffer = new StringBuffer(10); + private void __addElement(int value) { + int len = _subOpcodes.length; + if (_subOpcodesCount == len) { + int[] newarray = new int[len + __OPCODE_STORAGE_SIZE]; + System.arraycopy(_subOpcodes, 0, newarray, 0, len); + _subOpcodes = newarray; + } + _subOpcodes[_subOpcodesCount++] = value; + } - str = sub.toCharArray(); - current = 0; + private void _parseSubs(String sub) { + boolean saveDigits, escapeMode, caseMode; + int posParam; + int offset; + + char[] subChars = _substitutionChars = sub.toCharArray(); + int subLength = subChars.length; + + _subOpcodes = new int[__OPCODE_STORAGE_SIZE]; + _subOpcodesCount = 0; + + posParam = 0; + offset = -1; saveDigits = false; - storedInterpolation = false; + escapeMode = false; + caseMode = false; - while(current < str.length) { - if(saveDigits && Character.isDigit(str[current])) { - numBuffer.append(str[current]); - - if(strBuffer.length() > 0) { - subs.add(strBuffer.toString()); - strBuffer.setLength(0); - } - } else { - if(saveDigits) { - try { - subs.add(new Integer(numBuffer.toString())); - storedInterpolation = true; - } catch(NumberFormatException e) { - subs.add(numBuffer.toString()); + for (int current = 0; current < subLength; current++) { + char c = subChars[current]; + char nextc; + int next = current + 1; + + // Save digits + if (saveDigits) { + int digit = Character.digit(c, 10); + if (digit > -1) { + if (posParam <= __MAX_GROUPS) { + posParam *= 10; + posParam += digit; } - - numBuffer.setLength(0); - saveDigits = false; + if (next == subLength) { + __addElement(posParam); + } + continue; } + __addElement(posParam); + posParam = 0; + saveDigits = false; + } - if(str[current] == '$' && - current + 1 < str.length && str[current + 1] != '0' && - Character.isDigit(str[current + 1])) - saveDigits = true; - else - strBuffer.append(str[current]); + if ((c != '$' && c != '\\') || escapeMode) { + escapeMode = false; + if (offset < 0) { + offset = current; + __addElement(_OPCODE_COPY); + __addElement(offset); + } + if (next == subLength) { + __addElement(next - offset); + } + continue; } - ++current; - } // end while + if (offset >= 0) { + __addElement(current - offset); + offset = -1; + } - if(saveDigits) { - try { - subs.add(new Integer(numBuffer.toString())); - storedInterpolation = true; - } catch(NumberFormatException e) { - subs.add(numBuffer.toString()); + // Only do positional and escapes if we have a next char + if (next == subLength) + continue; + nextc = subChars[next]; + + // Positional params + if (c == '$') { + saveDigits = (nextc != '0' && Character.isDigit(nextc)); } - } else if(strBuffer.length() > 0) - subs.add(strBuffer.toString()); - return (storedInterpolation ? subs : null); + // Escape codes + else if (c == '\\') { + if (nextc == 'l') { + if (!caseMode){ + __addElement(_OPCODE_LOWERCASE_CHAR); + current++; + } + } else if (nextc == 'u') { + if (!caseMode) { + __addElement(_OPCODE_UPPERCASE_CHAR); + current++; + } + } else if (nextc == 'L') { + __addElement(_OPCODE_LOWERCASE_MODE); + current++; + caseMode = true; + } else if (nextc == 'U') { + __addElement(_OPCODE_UPPERCASE_MODE); + current++; + caseMode = true; + } else if (nextc == 'E') { + __addElement(_OPCODE_ENDCASE_MODE); + current++; + caseMode = false; + } else { + escapeMode = true; + } + } + } } @@ -209,33 +320,83 @@ } void _calcSub(StringBuffer buffer, MatchResult result) { - int size, value; - Object obj; - Integer integer; + int size, offset, count, caseMode; String group; - Iterator it; - - it = _substitutions.iterator(); - - while(it.hasNext()) { - obj = it.next(); + char[] sub, str, match; + int[] subOpcodes = _subOpcodes; - if(obj instanceof String) - buffer.append(obj); - else { - integer = (Integer)obj; - value = integer.intValue(); + caseMode = 0; - if(value > 0 && value < result.groups()) { - group = result.group(value); + str = _substitutionChars; + match = result.group(0).toCharArray(); - if(group != null) - buffer.append(group); - } else { - buffer.append('$'); - buffer.append(value); + size = _subOpcodesCount; + + for (int element = 0; element < size; element++) { + int value = subOpcodes[element]; + + // If we have a group, set up interpolation, else + // interpret op code. + if(value > 0 && value < result.groups()) { + int end, len; + offset = result.begin(value); + + if (offset < 0) continue; + + end = result.end(value); + + if (end < 0) continue; + + len = result.length(); + + if (offset >= len || end > len || offset >= end) continue; + + count = end - offset; + sub = match; + } else if (value == _OPCODE_COPY) { + element++; + if (element >= size) continue; + offset = subOpcodes[element]; + element++; + if (element >= size) continue; + count = subOpcodes[element]; + sub = str; + } else if (value == _OPCODE_LOWERCASE_CHAR || + value == _OPCODE_UPPERCASE_CHAR) { + if (caseMode != _OPCODE_LOWERCASE_MODE && + caseMode != _OPCODE_UPPERCASE_MODE) + caseMode = value; + continue; + } else if (value == _OPCODE_LOWERCASE_MODE || + value == _OPCODE_UPPERCASE_MODE) { + caseMode = value; + continue; + } else if (value == _OPCODE_ENDCASE_MODE) { + caseMode = 0; + continue; + } else + continue; + + // Apply modes to buf + if (caseMode == _OPCODE_LOWERCASE_CHAR) { + buffer.append(Character.toLowerCase(sub[offset++])); + buffer.append(sub, offset, --count); + caseMode = 0; + } else if (caseMode == _OPCODE_UPPERCASE_CHAR) { + buffer.append(Character.toUpperCase(sub[offset++])); + buffer.append(sub, offset, --count); + caseMode = 0; + } else if (caseMode == _OPCODE_LOWERCASE_MODE) { + for (int end = offset + count; offset < end; ) { + buffer.append(Character.toLowerCase(sub[offset++])); } - } + } else if (caseMode == _OPCODE_UPPERCASE_MODE) { + for (int end = offset + count; offset < end; ) { + buffer.append(Character.toUpperCase(sub[offset++])); + } + } else + buffer.append(sub, offset, count); + } } @@ -324,10 +485,10 @@ _numInterpolations = numInterpolations; if(numInterpolations != INTERPOLATE_NONE && - substitution.indexOf('$') != -1) - _substitutions = _parseSubs(substitution); + (substitution.indexOf('$') != -1 || substitution.indexOf('\\') != -1)) + _parseSubs(substitution); else - _substitutions = null; + _subOpcodes = null; _lastInterpolation = null; } @@ -353,7 +514,7 @@ int substitutionCount, String originalInput, PatternMatcher matcher, Pattern pattern) { - if(_substitutions == null) { + if(_subOpcodes == null) { super.appendSubstitution(appendBuffer, match, substitutionCount, originalInput, matcher, pattern); return; From [email protected] Thu May 17 19:01:14 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71359 invoked by uid 500); 17 May 2001 19:01:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 71331 invoked by uid 500); 17 May 2001 19:01:05 -0000 Delivered-To: [email protected] Date: 17 May 2001 19:00:58 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro/src/java/org/apache/oro/text/regex package.html dfs 01/05/17 12:00:58 Modified: src/java/org/apache/oro/text/regex package.html Log: Added description of supported Perl5 regular expression syntax from the old OROMatcher user's guide. This will be moved into a new user's guide. Revision Changes Path 1.2 +130 -1 jakarta-oro/src/java/org/apache/oro/text/regex/package.html Index: package.html =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/package.html,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- package.html 2000/07/23 23:08:54 1.1 +++ package.html 2001/05/17 19:00:55 1.2 @@ -1,7 +1,136 @@ -<!-- $Id: package.html,v 1.1 2000/07/23 23:08:54 jon Exp $ --> +<!-- $Id: package.html,v 1.2 2001/05/17 19:00:55 dfs Exp $ --> <body> This package used to be the OROMatcher library and provides both generic regular expression interfaces and Perl5 regular expression compatible implementation classes. + +<p> +<em>Note: The following information will be moved into the user's guide.</em> +</p> + +<h1> Perl5 regular expressions </h1> +</a> +<p> +Here we summarize the syntax of Perl5.003 regular expressions, all of +which is supported by the Perl5 classes in this package. However, for +a definitive reference, you should consult the +<a href="http://www.perl.org/CPAN/doc/manual/html/pod/perlre.html"> +<code>perlre</code> man page </a> +that accompanies the Perl5 distribution and also the book +<em> Programming Perl, 2nd Edition </em> from O'Reilly & Associates. +We are working toward implementing the features added after Perl5.003 +up to and including Perl 5.6. Please remember, we only guarantee +support for Perl5.003 expressions in version 2.0. + +<p> +<ul> +<li> Alternatives separated by | +<li> Quantified atoms + <dl compact> + <dt> {n,m} <dd> Match at least n but not more than m times. + <dt> {n,} <dd> Match at least n times. + <dt> {n} <dd> Match exactly n times. + <dt> * <dd> Match 0 or more times. + <dt> + <dd> Match 1 or more times. + <dt> ? <dd> Match 0 or 1 times. + </dl> + <li> Atoms + <ul> + <li> regular expression within parentheses + <li> a . matches everything except \n + <li> a ^ is a null token matching the beginning of a string or line + (i.e., the position right after a newline or right before + the beginning of a string) + <li> a $ is a null token matching the end of a string or line + (i.e., the position right before a newline or right after + the end of a string) + <li> Character classes (e.g., [abcd]) and ranges (e.g. [a-z]) + <ul> + <li> Special backslashed characters work within a character + class (except for backreferences and boundaries). + <li> \b is backspace inside a character class + </ul> + <li> Special backslashed characters + <dl compact> + <dt> \b <dd> null token matching a word boundary (\w on one side + and \W on the other) + <dt> \B <dd> null token matching a boundary that isn't a + word boundary + <dt> \A <dd> Match only at beginning of string + <dt> \Z <dd> Match only at end of string (or before newline + at the end) + <dt> \n <dd> newline + <dt> \r <dd> carriage return + <dt> \t <dd> tab + <dt> \f <dd> formfeed + <dt> \d <dd> digit [0-9] + <dt> \D <dd> non-digit [^0-9] + <dt> \w <dd> word character [0-9a-z_A-Z] + <dt> \W <dd> a non-word character [^0-9a-z_A-Z] + <dt> \s <dd> a whitespace character [ \t\n\r\f] + <dt> \S <dd> a non-whitespace character [^ \t\n\r\f] + <dt> \xnn <dd> hexadecimal representation of character + <dt> \cD <dd> matches the corresponding control character + <dt> \nn or \nnn <dd> octal representation of character + unless a backreference. a + <dt> \1, \2, \3, etc. <dd> match whatever the first, second, + third, etc. parenthesized group matched. This is called a + backreference. If there is no corresponding group, the + number is interpreted as an octal representation of a character. + <dt> \0 <dd> matches null character + <dt> Any other backslashed character matches itself + </dl> + </ul> + <li> Expressions within parentheses are matched as subpattern groups + and saved for use by certain methods. + </ul> + +<p> +By default, a quantified subpattern is <em> greedy </em>. +In other words it matches as many times as possible without causing +the rest of the pattern not to match. To change the quantifiers +to match the minimum number of times possible, without +causing the rest of the pattern not to match, you may use +a "?" right after the quantifier. + +<dl compact> +<dt> *? <dd> Match 0 or more times +<dt> +? <dd> Match 1 or more times +<dt> ?? <dd> Match 0 or 1 time +<dt> {n}? <dd> Match exactly n times +<dt> {n,}? <dd> Match at least n times +<dt> {n,m}? <dd> Match at least n but not more than m times +</dl> + +<p> +<b> Perl5 extended regular expressions </b> are fully supported. + +<dl compact> +<dt> (?#text) <dd> An embedded comment causing text to be ignored. +<dt> (?:regexp) <dd> Groups things like "()" but doesn't cause the + group match to be saved. +<dt> (?=regexp) <dd> + A zero-width positive lookahead assertion. For + example, \w+(?=\s) matches a word followed by + whitespace, without including whitespace in the + MatchResult. + +<dt> (?!regexp) <dd> + A zero-width negative lookahead assertion. For + example foo(?!bar) matches any occurrence of + "foo" that isn't followed by "bar". Remember + that this is a zero-width assertion, which means + that a(?!b)d will match ad because a is followed + by a character that is not b (the d) and a d + follows the zero-width assertion. + + +<dt> (?imsx) <dd> One or more embedded pattern-match modifiers. + i enables case insensitivity, m enables multiline + treatment of the input, s enables single line treatment + of the input, and x enables extended whitespace comments. +</ul> + + </body> From [email protected] Thu May 17 19:14:50 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 96629 invoked by uid 500); 17 May 2001 19:14:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 96465 invoked from network); 17 May 2001 19:14:34 -0000 Date: Thu, 17 May 2001 12:07:32 -0700 (PDT) Message-Id: <[email protected]> From: [email protected] To: [email protected] Cc: [email protected] Subject: [Bug 1799] New - possible bug in ORO's Util.substitute X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1799 *** shadow/1799 Thu May 17 12:07:32 2001 --- shadow/1799.tmp.20552 Thu May 17 12:07:32 2001 *************** *** 0 **** --- 1,262 ---- + +============================================================================+ + | possible bug in ORO's Util.substitute | + +----------------------------------------------------------------------------+ + | Bug #: 1799 Product: ORO | + | Status: NEW Version: 2.0.2 | + | Resolution: Platform: PC | + | Severity: Normal OS/Version: Linux | + | Priority: Component: Main | + +----------------------------------------------------------------------------+ + | Assigned To: [email protected] | + | Reported By: [email protected] | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + No return from Util.substitute: + + I am a bit hesitant to report this as a bug (since it could be infinite + backtracking in my regex) but I notice that I never get out of a call + to Util.substitute in some cases, and Daniel F. Savarese suggested that + the problem might be in ORO. + + Try the included test program out, it has three sets of test input, two + of which do not return any time soon, another works as it is supposed to. + + __________________________________________________________________________ + + import org.apache.oro.text.regex.*; + import org.apache.oro.text.perl.*; + + public class RegexTest + { + public static void main(String[] args) + { + String input = ""; + int val = -1; + + //the first two kill us then the thrid one is ok + String[] messages = + { + "The original message was received at Mon, 14 May 2001 12:04:34 + -0400 \n from umc97 [161.129.204.104] \n ----- The following addresses had \n + permanent fatal errors ----- \n <[email protected]> \n <[email protected]> \n <[email protected]> \n <[email protected]> \n + ----- Transcript of session follows ----- \n 550 <[email protected]>... Host unknown (Name + server: b.c: host not found) \n 550 <[email protected]>... Host unknown (Name server: c.d: + host not found) \n 550 <[email protected]>... Host unknown (Name server: d.e: host not + found) \n 550 <[email protected]>... Host unknown (Name server: d.f: host not found) \n + MESSAGE/DELIVERY-STATUS download \n From: Daniel Shriver \n To: + [email protected] \n Subject: should trigger vacation response \n Date: + 5/14/01 12:04 PM \n TEXT/X-VCARD \n dshriver.vcf \n Save Address", + "From: Daniel Shriver <[email protected]> \n To: + [email protected] \n Sent: \n Subject: test message to mess up email + regex \n \n text \n [email protected] \n text \n [email protected] \n + text \n bob@[161.129.204.104] \n text \n x@y \n \n \"bob at\" [email protected] \n + \"joe is a shmuck and a big O'l one\" <[email protected]>", + "From: Daniel Shriver <[email protected]> \n To: + [email protected] \n Sent: \n Subject: test message to mess up email + regex, ok one \n \n > text \n > [email protected] \n > text \n > + [email protected] \n > text \n > bob@[161.129.204.104] \n > text \n > x@y" + }; + + System.out.println("We have ["+messages.length+"] messages to choose + from"); + + String warning = "Usage: java RegexTest #\n (where # is the number of + the message you want to parse as an integer, and is a value between 1 and + "+messages.length+")"; + + if (args.length < 1) + { + System.out.println(warning); + System.exit(1); + } + try + { + val = Integer.parseInt(args[0]); + } + catch (NumberFormatException e) + { + System.out.println("You did not enter an integer + number!\n"+warning); + } + if (val > messages.length ) + { + System.out.println("You did not enter a number in the valid range (1 + - "+messages.length+")!\n"+warning); + } + else + { + input = messages[val-1]; + //System.out.println("DEBUG MSG: The original message + is:\n"+input+"\n\n"); + } + + String regex = "([\\040\\t]* (?: \\([^\\x80-\\xff\\n\\015()]* (?: + (?:[^\\x80-\\xff]|\\([^\\x80-\\xff\\n\\015()]* + (?:[^\\x80-\\xff][^\\x80-\\xff\\n\\015()]* )*\\))[^\\x80-\\xff\\n\\015()]* + )*\\)[\\040\\t]* )*)((?: [^ + (\\040)<>\\@,;:\".\\[\\]\\000-\\037\\x80-\\xff]+(?![^ + (\\040)<>\\@,;:\".\\[\\]\\000-\\037\\x80-\\xff])|\"[^\\x80-\\xff\\n\\015\"] * + (?: [^\\x80-\\xff][^\\x80-\\xff\\n\\015\"]* )* \")[\\040\\t]* (?: + \\([^\\x80-\\xff\\n\\015()]* (?: (?:[^\\x80-\\xff]|\\([^\\x80-\\xff\\n\\015()]* + (?:[^\\x80-\\xff][^\\x80-\\xff\\n\\015()]* )*\\))[^\\x80-\\xff\\n\\015()]* + )*\\)[\\040\\t]* )*(?: \\.[\\040\\t]* (?: \\([^\\x80-\\xff\\n\\015()]* (?: + (?:[^\\x80-\\xff]|\\([^\\x80-\\xff\\n\\015()]* + (?:[^\\x80-\\xff][^\\x80-\\xff\\n\\015()]* )*\\))[^\\x80-\\xff\\n\\015()]* + )*\\)[\\040\\t]* )*(?: [^ (\\040)<>\\@,;:\".\\[\\]\\000-\\037\\x80-\\xff]+(?![^ + (\\040)<>\\@,;:\".\\[\\]\\000-\\037\\x80-\\xff])|\"[^\\x80-\\xff\\n\\015\"] * + (?: [^\\x80-\\xff][^\\x80-\\xff\\n\\015\"]* )* \")[\\040\\t]* (?: + \\([^\\x80-\\xff\\n\\015()]* (?: (?:[^\\x80-\\xff]|\\([^\\x80-\\xff\\n\\015()]* + (?:[^\\x80-\\xff][^\\x80-\\xff\\n\\015()]* )*\\))[^\\x80-\\xff\\n\\015()]* + )*\\)[\\040\\t]* )*)* \\@[\\040\\t]* (?: \\([^\\x80-\\xff\\n\\015()]* (?: + (?:[^\\x80-\\xff]|\\([^\\x80-\\xff\\n\\015()]* + (?:[^\\x80-\\xff][^\\x80-\\xff\\n\\015()]* )*\\))[^\\x80-\\xff\\n\\015()]* + )*\\)[\\040\\t]* )*(?:[^ (\\040)<>\\@,;:\".\\[\\]\\000-\\037\\x80-\\xff]+(?![^ + (\\040)<>\\@,;:\".\\[\\]\\000-\\037\\x80-\\xff])|\\[(?: + [^\\x80-\\xff\\n\\015\\[\\]]|[^\\x80-\\xff])* \\])[\\040\\t]* (?: + \\([^\\x80-\\xff\\n\\015()]* (?: (?:[^\\x80-\\xff]|\\([^\\x80-\\xff\\n\\015()]* + (?:[^\\x80-\\xff][^\\x80-\\xff\\n\\015()]* )*\\))[^\\x80-\\xff\\n\\015()]* + )*\\)[\\040\\t]* )*(?:\\.[\\040\\t]* (?: \\([^\\x80-\\xff\\n\\015()]* (?: + (?:[^\\x80-\\xff]|\\([^\\x80-\\xff\\n\\015()]* + (?:[^\\x80-\\xff][^\\x80-\\xff\\n\\015()]* )*\\))[^\\x80-\\xff\\n\\015()]* + )*\\)[\\040\\t]* )*(?:[^ (\\040)<>\\@,;:\".\\[\\]\\000-\\037\\x80-\\xff]+(?![^ + (\\040)<>\\@,;:\".\\[\\]\\000-\\037\\x80-\\xff])|\\[(?: + [^\\x80-\\xff\\n\\015\\[\\]]|[^\\x80-\\xff])* \\])[\\040\\t]* (?: + \\([^\\x80-\\xff\\n\\015()]* (?: (?:[^\\x80-\\xff]|\\([^\\x80-\\xff\\n\\015()]* + (?:[^\\x80-\\xff][^\\x80-\\xff\\n\\015()]* )*\\))[^\\x80-\\xff\\n\\015()]* + )*\\)[\\040\\t]* )*)*|(?: [^ + (\\040)<>\\@,;:\".\\[\\]\\000-\\037\\x80-\\xff]+(?![^ + (\\040)<>\\@,;:\".\\[\\]\\000-\\037\\x80-\\xff])|\"[^\\x80-\\xff\\n\\015\"] * + (?: [^\\x80-\\xff][^\\x80-\\xff\\n\\015\"]* )* + \")[^()<>\\@,;:\".\\[\\]\\x80-\\xff\\000-\\010\\012-\\037]* (?: + (?:\\([^\\x80-\\xff\\n\\015()]* (?: + (?:[^\\x80-\\xff]|\\([^\\x80-\\xff\\n\\015()]* + (?:[^\\x80-\\xff][^\\x80-\\xff\\n\\015()]* )*\\))[^\\x80-\\xff\\n\\015()]* + )*\\)|\"[^\\x80-\\xff\\n\\015\"] * (?: [^\\x80-\\xff][^\\x80-\\xff\\n\\015\"]* + )* \")[^()<>\\@,;:\".\\[\\]\\x80-\\xff\\000-\\010\\012-\\037]* )*< [\\040\\t]* + (?: \\([^\\x80-\\xff\\n\\015()]* (?: + (?:[^\\x80-\\xff]|\\([^\\x80-\\xff\\n\\015()]* + (?:[^\\x80-\\xff][^\\x80-\\xff\\n\\015()]* )*\\))[^\\x80-\\xff\\n\\015()]* + )*\\)[\\040\\t]* )*(?:\\@[\\040\\t]* (?: \\([^\\x80-\\xff\\n\\015()]* (?: + (?:[^\\x80-\\xff]|\\([^\\x80-\\xff\\n\\015()]* + (?:[^\\x80-\\xff][^\\x80-\\xff\\n\\015()]* )*\\))[^\\x80-\\xff\\n\\015()]* + )*\\)[\\040\\t]* )*(?:[^ (\\040)<>\\@,;:\".\\[\\]\\000-\\037\\x80-\\xff]+(?![^ + (\\040)<>\\@,;:\".\\[\\]\\000-\\037\\x80-\\xff])|\\[(?: + [^\\x80-\\xff\\n\\015\\[\\]]|[^\\x80-\\xff])* \\])[\\040\\t]* (?: + \\([^\\x80-\\xff\\n\\015()]* (?: (?:[^\\x80-\\xff]|\\([^\\x80-\\xff\\n\\015()]* + (?:[^\\x80-\\xff][^\\x80-\\xff\\n\\015()]* )*\\))[^\\x80-\\xff\\n\\015()]* + )*\\)[\\040\\t]* )*(?:\\.[\\040\\t]* (?: \\([^\\x80-\\xff\\n\\015()]* (?: + (?:[^\\x80-\\xff]|\\([^\\x80-\\xff\\n\\015()]* + (?:[^\\x80-\\xff][^\\x80-\\xff\\n\\015()]* )*\\))[^\\x80-\\xff\\n\\015()]* + )*\\)[\\040\\t]* )*(?:[^ (\\040)<>\\@,;:\".\\[\\]\\000-\\037\\x80-\\xff]+(?![^ + (\\040)<>\\@,;:\".\\[\\]\\000-\\037\\x80-\\xff])|\\[(?: + [^\\x80-\\xff\\n\\015\\[\\]]|[^\\x80-\\xff])* \\])[\\040\\t]* (?: + \\([^\\x80-\\xff\\n\\015()]* (?: (?:[^\\x80-\\xff]|\\([^\\x80-\\xff\\n\\015()]* + (?:[^\\x80-\\xff][^\\x80-\\xff\\n\\015()]* )*\\))[^\\x80-\\xff\\n\\015()]* + )*\\)[\\040\\t]* )*)*(?: , [\\040\\t]* (?: \\([^\\x80-\\xff\\n\\015()]* (?: + (?:[^\\x80-\\xff]|\\([^\\x80-\\xff\\n\\015()]* + (?:[^\\x80-\\xff][^\\x80-\\xff\\n\\015()]* )*\\))[^\\x80-\\xff\\n\\015()]* + )*\\)[\\040\\t]* )*\\@[\\040\\t]* (?: \\([^\\x80-\\xff\\n\\015()]* (?: + (?:[^\\x80-\\xff]|\\([^\\x80-\\xff\\n\\015()]* + (?:[^\\x80-\\xff][^\\x80-\\xff\\n\\015()]* )*\\))[^\\x80-\\xff\\n\\015()]* + )*\\)[\\040\\t]* )*(?:[^ (\\040)<>\\@,;:\".\\[\\]\\000-\\037\\x80-\\xff]+(?![^ + (\\040)<>\\@,;:\".\\[\\]\\000-\\037\\x80-\\xff])|\\[(?: + [^\\x80-\\xff\\n\\015\\[\\]]|[^\\x80-\\xff])* \\])[\\040\\t]* (?: + \\([^\\x80-\\xff\\n\\015()]* (?: (?:[^\\x80-\\xff]|\\([^\\x80-\\xff\\n\\015()]* + (?:[^\\x80-\\xff][^\\x80-\\xff\\n\\015()]* )*\\))[^\\x80-\\xff\\n\\015()]* + )*\\)[\\040\\t]* )*(?:\\.[\\040\\t]* (?: \\([^\\x80-\\xff\\n\\015()]* (?: + (?:[^\\x80-\\xff]|\\([^\\x80-\\xff\\n\\015()]* + (?:[^\\x80-\\xff][^\\x80-\\xff\\n\\015()]* )*\\))[^\\x80-\\xff\\n\\015()]* + )*\\)[\\040\\t]* )*(?:[^ (\\040)<>\\@,;:\".\\[\\]\\000-\\037\\x80-\\xff]+(?![^ + (\\040)<>\\@,;:\".\\[\\]\\000-\\037\\x80-\\xff])|\\[(?: + [^\\x80-\\xff\\n\\015\\[\\]]|[^\\x80-\\xff])* \\])[\\040\\t]* (?: + \\([^\\x80-\\xff\\n\\015()]* (?: (?:[^\\x80-\\xff]|\\([^\\x80-\\xff\\n\\015()]* + (?:[^\\x80-\\xff][^\\x80-\\xff\\n\\015()]* )*\\))[^\\x80-\\xff\\n\\015()]* + )*\\)[\\040\\t]* )*)*)* :[\\040\\t]* (?: \\([^\\x80-\\xff\\n\\015()]* (?: + (?:[^\\x80-\\xff]|\\([^\\x80-\\xff\\n\\015()]* + (?:[^\\x80-\\xff][^\\x80-\\xff\\n\\015()]* )*\\))[^\\x80-\\xff\\n\\015()]* + )*\\)[\\040\\t]* )*)?(?: [^ + (\\040)<>\\@,;:\".\\[\\]\\000-\\037\\x80-\\xff]+(?![^ + (\\040)<>\\@,;:\".\\[\\]\\000-\\037\\x80-\\xff])|\"[^\\x80-\\xff\\n\\015\"] * + (?: [^\\x80-\\xff][^\\x80-\\xff\\n\\015\"]* )* \")[\\040\\t]* (?: + \\([^\\x80-\\xff\\n\\015()]* (?: (?:[^\\x80-\\xff]|\\([^\\x80-\\xff\\n\\015()]* + (?:[^\\x80-\\xff][^\\x80-\\xff\\n\\015()]* )*\\))[^\\x80-\\xff\\n\\015()]* + )*\\)[\\040\\t]* )*(?: \\.[\\040\\t]* (?: \\([^\\x80-\\xff\\n\\015()]* (?: + (?:[^\\x80-\\xff]|\\([^\\x80-\\xff\\n\\015()]* + (?:[^\\x80-\\xff][^\\x80-\\xff\\n\\015()]* )*\\))[^\\x80-\\xff\\n\\015()]* + )*\\)[\\040\\t]* )*(?: [^ (\\040)<>\\@,;:\".\\[\\]\\000-\\037\\x80-\\xff]+(?![^ + (\\040)<>\\@,;:\".\\[\\]\\000-\\037\\x80-\\xff])|\"[^\\x80-\\xff\\n\\015\"] * + (?: [^\\x80-\\xff][^\\x80-\\xff\\n\\015\"]* )* \")[\\040\\t]* (?: + \\([^\\x80-\\xff\\n\\015()]* (?: (?:[^\\x80-\\xff]|\\([^\\x80-\\xff\\n\\015()]* + (?:[^\\x80-\\xff][^\\x80-\\xff\\n\\015()]* )*\\))[^\\x80-\\xff\\n\\015()]* + )*\\)[\\040\\t]* )*)* \\@[\\040\\t]* (?: \\([^\\x80-\\xff\\n\\015()]* (?: + (?:[^\\x80-\\xff]|\\([^\\x80-\\xff\\n\\015()]* + (?:[^\\x80-\\xff][^\\x80-\\xff\\n\\015()]* )*\\))[^\\x80-\\xff\\n\\015()]* + )*\\)[\\040\\t]* )*(?:[^ (\\040)<>\\@,;:\".\\[\\]\\000-\\037\\x80-\\xff]+(?![^ + (\\040)<>\\@,;:\".\\[\\]\\000-\\037\\x80-\\xff])|\\[(?: + [^\\x80-\\xff\\n\\015\\[\\]]|[^\\x80-\\xff])* \\])[\\040\\t]* (?: + \\([^\\x80-\\xff\\n\\015()]* (?: (?:[^\\x80-\\xff]|\\([^\\x80-\\xff\\n\\015()]* + (?:[^\\x80-\\xff][^\\x80-\\xff\\n\\015()]* )*\\))[^\\x80-\\xff\\n\\015()]* + )*\\)[\\040\\t]* )*(?:\\.[\\040\\t]* (?: \\([^\\x80-\\xff\\n\\015()]* (?: + (?:[^\\x80-\\xff]|\\([^\\x80-\\xff\\n\\015()]* + (?:[^\\x80-\\xff][^\\x80-\\xff\\n\\015()]* )*\\))[^\\x80-\\xff\\n\\015()]* + )*\\)[\\040\\t]* )*(?:[^ (\\040)<>\\@,;:\".\\[\\]\\000-\\037\\x80-\\xff]+(?![^ + (\\040)<>\\@,;:\".\\[\\]\\000-\\037\\x80-\\xff])|\\[(?: + [^\\x80-\\xff\\n\\015\\[\\]]|[^\\x80-\\xff])* \\])[\\040\\t]* (?: + \\([^\\x80-\\xff\\n\\015()]* (?: (?:[^\\x80-\\xff]|\\([^\\x80-\\xff\\n\\015()]* + (?:[^\\x80-\\xff][^\\x80-\\xff\\n\\015()]* )*\\))[^\\x80-\\xff\\n\\015()]* + )*\\)[\\040\\t]* )*)*>)"; + int regex_flags = 41; + String substitution = "$1<A + HREF='compose?op=compose&from_link=true&recipientsTO=$2'>$2</A>"; + int interpolations = -1; + + System.out.println("DEBUG MSG: just about to call PerlSubstituteTool"); + + String output = PerlSubstituteTool(regex, regex_flags, substitution, + interpolations, input); + + System.out.println("Your message is now:\n"+output); + } + + public static String PerlSubstituteTool(String reg_ex, int reg_ex_Flags, + String substitution, int interpolations, String input) + { + //fail safe -- if a regex doesn't work it might be set to + //empty string... test for that and if we don't have a regex skip + //alternately a flag could have an alpha character in it (causing + //a number format exception (before this is called) but that is + //kludgy + if(null == reg_ex || reg_ex.equals("")) + { + //do nothing -- we'll just send back the input + } + else + { + try + { + String temp = null; + Perl5Compiler compiler = new Perl5Compiler(); + Perl5Substitution sub = new Perl5Substitution(substitution); + Pattern pat = compiler.compile(reg_ex, reg_ex_Flags); + System.out.println("DEBUG MSG: just before Util.substitute"); + temp = Util.substitute( new Perl5Matcher(), + pat, + sub, + input, + interpolations ); + System.out.println("DEBUG MSG: just after Util.substitute"); + input = temp; + } + catch (MalformedPatternException mpe) + { + System.out.println("DEBUG MSG: in catch + MalformedPatternException"); + System.out.println("DEBUG MSG: Exception is "+mpe.getMessage()); + } + } + return input; + } + + } From [email protected] Thu May 17 21:23:28 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35669 invoked by uid 500); 17 May 2001 21:22:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 35123 invoked by uid 500); 17 May 2001 21:21:10 -0000 Delivered-To: [email protected] Date: 17 May 2001 21:16:23 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro/src/java/org/apache/oro/text/regex Substitution.java Perl5Substitution.java StringSubstitution.java Util.java dfs 01/05/17 14:16:23 Modified: src/java/org/apache/oro/text/regex Substitution.java Perl5Substitution.java StringSubstitution.java Util.java Log: Made a backwards-incompatible change in the Substitution interface. The input parameter is now a PatternMatcherInput instance instead of a String. A new substitute method was added to Util to allow programmers to reduce the number of string copies in the existing substitute() implementation and also to provide the oft-requested ability to know how many substitutions were performed. This required that the Substitution interface be changed. The existing Substitution implementing classes do not use the input parameter and it is very easy for anyone implementing the Substitution interface in a custom class to update their class to the new interface. A deprecation phase was skipped because it would have still required implementors of the interface to implement a method with the new signature. Revision Changes Path 1.4 +11 -6 jakarta-oro/src/java/org/apache/oro/text/regex/Substitution.java Index: Substitution.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/Substitution.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- Substitution.java 2001/05/09 18:22:10 1.3 +++ Substitution.java 2001/05/17 21:16:07 1.4 @@ -57,6 +57,10 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: Substitution.java,v 1.4 2001/05/17 21:16:07 dfs Exp $ + */ + /** * The Substitution interface provides a means for you to control how * a substitution is performed when using the @@ -66,10 +70,10 @@ * achieve custom control over the behavior of substitutions, you can * create your own implementations. A common use for customization is * to make a substitution a function of a match. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: Substitution.java,v 1.3 2001/05/09 18:22:10 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.1 * @see Util * @see Util#substitute * @see StringSubstitution @@ -110,11 +114,12 @@ * @param substitutionCount The number of substitutions that have been * performed so far by Util.substitute. * @param originalInput The original input upon which the substitutions are - * being performed. + * being performed. The Substitution must treat this parameter as read only. * @param matcher The PatternMatcher used to find the current match. * @param pattern The Pattern used to find the current match. */ public void appendSubstitution(StringBuffer appendBuffer, MatchResult match, - int substitutionCount, String originalInput, + int substitutionCount, + PatternMatcherInput originalInput, PatternMatcher matcher, Pattern pattern); } 1.6 +4 -3 jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Substitution.java Index: Perl5Substitution.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Substitution.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- Perl5Substitution.java 2001/05/17 18:59:47 1.5 +++ Perl5Substitution.java 2001/05/17 21:16:11 1.6 @@ -58,7 +58,7 @@ */ /* - * $Id: Perl5Substitution.java,v 1.5 2001/05/17 18:59:47 dfs Exp $ + * $Id: Perl5Substitution.java,v 1.6 2001/05/17 21:16:11 dfs Exp $ */ import java.util.*; @@ -506,12 +506,13 @@ * @param substitutionCount The number of substitutions that have been * performed so far by Util.substitute. * @param originalInput The original input upon which the substitutions are - * being performed. + * being performed. This is a read-only parameter and is not modified. * @param matcher The PatternMatcher used to find the current match. * @param pattern The Pattern used to find the current match. */ public void appendSubstitution(StringBuffer appendBuffer, MatchResult match, - int substitutionCount, String originalInput, + int substitutionCount, + PatternMatcherInput originalInput, PatternMatcher matcher, Pattern pattern) { if(_subOpcodes == null) { 1.4 +4 -3 jakarta-oro/src/java/org/apache/oro/text/regex/StringSubstitution.java Index: StringSubstitution.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/StringSubstitution.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- StringSubstitution.java 2001/05/09 18:22:08 1.3 +++ StringSubstitution.java 2001/05/17 21:16:13 1.4 @@ -63,7 +63,7 @@ * {@link Util#substitute Util.substitute}. @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: StringSubstitution.java,v 1.3 2001/05/09 18:22:08 dfs Exp $ + @version $Id: StringSubstitution.java,v 1.4 2001/05/17 21:16:13 dfs Exp $ * @see Substitution * @see Util @@ -133,12 +133,13 @@ * @param substitutionCount The number of substitutions that have been * performed so far by Util.substitute. * @param originalInput The original input upon which the substitutions are - * being performed. + * being performed. This is a read-only parameter and is not modified. * @param matcher The PatternMatcher used to find the current match. * @param pattern The Pattern used to find the current match. */ public void appendSubstitution(StringBuffer appendBuffer, MatchResult match, - int substitutionCount, String originalInput, + int substitutionCount, + PatternMatcherInput originalInput, PatternMatcher matcher, Pattern pattern) { if(_subLength == 0) 1.6 +49 -33 jakarta-oro/src/java/org/apache/oro/text/regex/Util.java Index: Util.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/Util.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- Util.java 2001/05/09 18:22:11 1.5 +++ Util.java 2001/05/17 21:16:14 1.6 @@ -58,6 +58,10 @@ */ import java.util.*; +/* + * $Id: Util.java,v 1.6 2001/05/17 21:16:14 dfs Exp $ + */ + /** * The Util class is a holder for useful static utility methods that can * be generically applied to Pattern and PatternMatcher instances. @@ -83,10 +87,10 @@ * are retrieved, which is more efficient than storing them all in a * Vector and then accessing them. * </ol> - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: Util.java,v 1.5 2001/05/09 18:22:11 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see Pattern * @see PatternMatcher */ @@ -155,7 +159,7 @@ * the pattern. You should use the <b>SPLIT_ALL</b> constant * to achieve this behavior instead of relying on the default * behavior associated with non-positive limit values. - * @return A <code>Vector</code> + * @since 2.0 */ public static void split(Collection results, PatternMatcher matcher, Pattern pattern, String input, int limit) @@ -211,6 +215,7 @@ * @param matcher The regular expression matcher to execute the split. * @param pattern The regular expression to use as a split delimiter. * @param input The <code>String</code> to split. + * @since 2.0 */ public static void split(Collection results, PatternMatcher matcher, Pattern pattern, String input) @@ -306,6 +311,7 @@ * @param input The <code>String</code> to split. * @return A <code>Vector</code> containing all the substrings of the input * that occur between the regular expression delimiter occurences. + * @since 1.0 */ public static Vector split( PatternMatcher matcher, Pattern pattern, String input) @@ -334,39 +340,21 @@ * @return A String comprising the input string with the substitutions, * if any, made. If no substitutions are made, the returned String * is the original input String. + * @since 1.0 */ public static String substitute(PatternMatcher matcher, Pattern pattern, Substitution sub, String input, int numSubs) { - int beginOffset, subCount; - MatchResult currentResult; - PatternMatcherInput pinput; + int substitutions; StringBuffer buffer = new StringBuffer(input.length()); - - pinput = new PatternMatcherInput(input); - beginOffset = subCount = 0; - - // Must be != 0 because SUBSTITUTE_ALL is represented by -1. - // Do NOT change to numSubs > 0. - while(numSubs != 0 && matcher.contains(pinput, pattern)) { - --numSubs; - ++subCount; - currentResult = matcher.getMatch(); - buffer.append(input.substring(beginOffset, - currentResult.beginOffset(0))); - sub.appendSubstitution(buffer, currentResult, subCount, - input, matcher, pattern); - beginOffset = currentResult.endOffset(0); - } - - // No substitutions performed. There's no point in duplicating - // the string as would happen if this check were omitted. - if(subCount == 0) - return input; - - buffer.append(input.substring(beginOffset, input.length())); - - return buffer.toString(); + PatternMatcherInput pinput = new PatternMatcherInput(input); + + // Users have indicated that they expect the result to be the + // original input string, rather than a copy, if no substitutions + // are performed, + if(substitute(buffer, matcher, pattern, sub, pinput, numSubs) != 0) + return buffer.toString(); + return input; } /** @@ -387,6 +375,7 @@ * @return A String comprising the input string with the substitutions, * if any, made. If no substitutions are made, the returned String * is the original input String. + * @since 1.0 */ public static String substitute(PatternMatcher matcher, Pattern pattern, Substitution sub, String input) @@ -394,4 +383,31 @@ return substitute(matcher, pattern, sub, input, 1); } + public static int substitute(StringBuffer result, + PatternMatcher matcher, Pattern pattern, + Substitution sub, PatternMatcherInput input, + int numSubs) + { + int beginOffset, subCount; + char[] inputBuffer; + + subCount = 0; + beginOffset = input.getBeginOffset(); + inputBuffer = input.getBuffer(); + + // Must be != 0 because SUBSTITUTE_ALL is represented by -1. + // Do NOT change to numSubs > 0. + while(numSubs != 0 && matcher.contains(input, pattern)) { + --numSubs; + ++subCount; + result.append(inputBuffer, beginOffset, + input.getMatchBeginOffset() - beginOffset); + sub.appendSubstitution(result, matcher.getMatch(), subCount, + input, matcher, pattern); + beginOffset = input.getMatchEndOffset(); + } + + result.append(inputBuffer, beginOffset, input.length() - beginOffset); + return subCount; + } } From [email protected] Thu May 17 21:25:02 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 39586 invoked by uid 500); 17 May 2001 21:24:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 39515 invoked by uid 500); 17 May 2001 21:24:54 -0000 Delivered-To: [email protected] Date: 17 May 2001 21:24:53 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro/build build.xml dfs 01/05/17 14:24:53 Modified: build build.xml Log: Added replace rule to substitute occurrences of @version@ in the javadocs with the actual version and incremented the version 2.0.3-dev-1. Revision Changes Path 1.4 +4 -2 jakarta-oro/build/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-oro/build/build.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- build.xml 2001/05/17 00:44:42 1.3 +++ build.xml 2001/05/17 21:24:51 1.4 @@ -1,11 +1,11 @@ <?xml version="1.0"?> -<!-- $Id: build.xml,v 1.3 2001/05/17 00:44:42 dfs Exp $ --> +<!-- $Id: build.xml,v 1.4 2001/05/17 21:24:51 dfs Exp $ --> <project name="Jakarta-ORO" default="jar" basedir="."> <property name="Name" value="Jakarta-ORO"/> <property name="year" value="2001"/> - <property name="version" value="2.0.2"/> + <property name="version" value="2.0.3-dev-1"/> <property name="project" value="jakarta-oro"/> <property name="code.src" value="../src"/> <property name="build.src" value="../src/java"/> @@ -121,6 +121,8 @@ </javadoc> <replace file="${javadoc.destdir}/overview-frame.html" token="{@docroot}" value="."/> + <replace dir="${javadoc.destdir}" includes="**/*.html" + token="@version@" value="${version}"/> </target> From [email protected] Thu May 17 21:39:28 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65625 invoked by uid 500); 17 May 2001 21:39:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 65502 invoked by uid 500); 17 May 2001 21:39:17 -0000 Delivered-To: [email protected] Date: 17 May 2001 21:39:15 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro/src/java/org/apache/oro/text/regex Util.java dfs 01/05/17 14:39:15 Modified: src/java/org/apache/oro/text/regex Util.java Log: Added documentation to the new substitute method. Revision Changes Path 1.7 +23 -1 jakarta-oro/src/java/org/apache/oro/text/regex/Util.java Index: Util.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/Util.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- Util.java 2001/05/17 21:16:14 1.6 +++ Util.java 2001/05/17 21:39:12 1.7 @@ -59,7 +59,7 @@ import java.util.*; /* - * $Id: Util.java,v 1.6 2001/05/17 21:16:14 dfs Exp $ + * $Id: Util.java,v 1.7 2001/05/17 21:39:12 dfs Exp $ */ /** @@ -383,6 +383,28 @@ return substitute(matcher, pattern, sub, input, 1); } + /** + * Searches a string for a pattern and replaces the first occurrences + * of the pattern with a Substitution up to the number of + * substitutions specified by the <b>numSubs</b> parameter. A + * <b>numSubs</b> value of <b>SUBSTITUTE_ALL</b> will cause all occurrences + * of the pattern to be replaced. The + * <p> + * @param result The StringBuffer in which to store the result of the + * substitutions. The buffer is only appended to. + * @param matcher The regular expression matcher to execute the pattern + * search. + * @param pattern The regular expression to search for and substitute + * occurrences of. + * @param sub The Substitution used to substitute pattern occurences. + * @param input The input on which to perform substitutions. + * @param numSubs The number of substitutions to perform. Only the + * first <b> numSubs </b> patterns encountered are + * substituted. If you want to substitute all occurences + * set this parameter to <b> SUBSTITUTE_ALL </b>. + * @return The number of substitutions made. + * @since 2.0.3 + */ public static int substitute(StringBuffer result, PatternMatcher matcher, Pattern pattern, Substitution sub, PatternMatcherInput input, From [email protected] Thu May 17 21:59:47 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6436 invoked by uid 500); 17 May 2001 21:59:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 6378 invoked by uid 500); 17 May 2001 21:59:42 -0000 Delivered-To: [email protected] Date: 17 May 2001 21:59:41 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro/src/java/org/apache/oro/text/regex CharStringPointer.java MalformedPatternException.java MatchResult.java OpCode.java Pattern.java PatternCompiler.java PatternMatcher.java PatternMatcherInput.java Perl5Compiler.java Perl5Debug.java Perl5MatchResult.java Perl5Matcher.java Perl5Pattern.java Perl5Repetition.java StringSubstitution.java Util.java dfs 01/05/17 14:59:41 Modified: src/java/org/apache/oro/text/perl MalformedPerl5PatternException.java ParsedSubstitutionEntry.java Perl5Util.java src/java/org/apache/oro/text/regex CharStringPointer.java MalformedPatternException.java MatchResult.java OpCode.java Pattern.java PatternCompiler.java PatternMatcher.java PatternMatcherInput.java Perl5Compiler.java Perl5Debug.java Perl5MatchResult.java Perl5Matcher.java Perl5Pattern.java Perl5Repetition.java StringSubstitution.java Util.java Log: Updated javadocs to include release version number rather than the RCS version and also added @since tags for each of the classes and some methods where appropriate. The RCS version now goes at the top of the file after the license. Rationale: RCS versions only have meaning to developers, not users, an therefore should stay in the source. Release version numbers have meaning to users and give meaning to the @since entries. Still have to update rest of the packages to conform to this convention. Revision Changes Path 1.4 +7 -4 jakarta-oro/src/java/org/apache/oro/text/perl/MalformedPerl5PatternException.java Index: MalformedPerl5PatternException.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/perl/MalformedPerl5PatternException.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- MalformedPerl5PatternException.java 2001/05/09 18:21:31 1.3 +++ MalformedPerl5PatternException.java 2001/05/17 21:59:26 1.4 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: MalformedPerl5PatternException.java,v 1.4 2001/05/17 21:59:26 dfs Exp $ + */ import org.apache.oro.text.MalformedCachePatternException; /** @@ -73,10 +76,10 @@ * However, pieces of code with expressions that you cannot guarantee to * be correct should catch MalformedPerl5PatternException to ensure * reliability. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: MalformedPerl5PatternException.java,v 1.3 2001/05/09 18:21:31 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see org.apache.oro.text.regex.MalformedPatternException */ public final class MalformedPerl5PatternException 1.4 +7 -3 jakarta-oro/src/java/org/apache/oro/text/perl/ParsedSubstitutionEntry.java Index: ParsedSubstitutionEntry.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/perl/ParsedSubstitutionEntry.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- ParsedSubstitutionEntry.java 2001/05/09 18:21:33 1.3 +++ ParsedSubstitutionEntry.java 2001/05/17 21:59:26 1.4 @@ -57,11 +57,15 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: ParsedSubstitutionEntry.java,v 1.4 2001/05/17 21:59:26 dfs Exp $ + */ import org.apache.oro.text.regex.*; - /** - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: ParsedSubstitutionEntry.java,v 1.3 2001/05/09 18:21:33 dfs Exp $ +/** + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 */ final class ParsedSubstitutionEntry { int _numSubstitutions; 1.8 +7 -4 jakarta-oro/src/java/org/apache/oro/text/perl/Perl5Util.java Index: Perl5Util.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/perl/Perl5Util.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- Perl5Util.java 2001/05/09 18:21:34 1.7 +++ Perl5Util.java 2001/05/17 21:59:27 1.8 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: Perl5Util.java,v 1.8 2001/05/17 21:59:27 dfs Exp $ + */ import java.util.*; import org.apache.oro.text.regex.*; import org.apache.oro.text.*; @@ -146,10 +149,10 @@ * MatchResult found (which can be accessed with * {@link #getMatch()} by a match or substitution * (or even a split, but this isn't particularly useful). - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: Perl5Util.java,v 1.7 2001/05/09 18:21:34 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see MalformedPerl5PatternException * @see org.apache.oro.text.PatternCache * @see org.apache.oro.text.PatternCacheLRU 1.4 +8 -4 jakarta-oro/src/java/org/apache/oro/text/regex/CharStringPointer.java Index: CharStringPointer.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/CharStringPointer.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- CharStringPointer.java 2001/05/09 18:21:41 1.3 +++ CharStringPointer.java 2001/05/17 21:59:29 1.4 @@ -57,14 +57,18 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: CharStringPointer.java,v 1.4 2001/05/17 21:59:29 dfs Exp $ + */ + /** * The CharStringPointer class is used to facilitate traversal of a char[] * in the manner pointer traversals of strings are performed in C/C++. * It is expected that the compiler will inline all the functions. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: CharStringPointer.java,v 1.3 2001/05/09 18:21:41 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @since 1.0 + * @version @version@ */ final class CharStringPointer { static final char _END_OF_STRING = Character.MAX_VALUE; 1.4 +7 -4 jakarta-oro/src/java/org/apache/oro/text/regex/MalformedPatternException.java Index: MalformedPatternException.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/MalformedPatternException.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- MalformedPatternException.java 2001/05/09 18:21:43 1.3 +++ MalformedPatternException.java 2001/05/17 21:59:29 1.4 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: MalformedPatternException.java,v 1.4 2001/05/17 21:59:29 dfs Exp $ + */ import java.lang.*; /** @@ -68,10 +71,10 @@ * for any purpose. This does not preclude users and third party * implementors of the interfaces of this package from subclassing it * for their own purposes. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: MalformedPatternException.java,v 1.3 2001/05/09 18:21:43 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see PatternCompiler */ public class MalformedPatternException extends Exception { 1.4 +8 -4 jakarta-oro/src/java/org/apache/oro/text/regex/MatchResult.java Index: MatchResult.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/MatchResult.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- MatchResult.java 2001/05/09 18:21:44 1.3 +++ MatchResult.java 2001/05/17 21:59:30 1.4 @@ -57,6 +57,10 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: MatchResult.java,v 1.4 2001/05/17 21:59:30 dfs Exp $ + */ + /** * The MatchResult interface allows PatternMatcher implementors to return * results storing match information in whatever format they like, while @@ -122,10 +126,10 @@ * } * } * </pre></blockquote> - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: MatchResult.java,v 1.3 2001/05/09 18:21:44 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see PatternMatcher */ 1.8 +8 -3 jakarta-oro/src/java/org/apache/oro/text/regex/OpCode.java Index: OpCode.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/OpCode.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- OpCode.java 2001/05/09 18:21:46 1.7 +++ OpCode.java 2001/05/17 21:59:30 1.8 @@ -57,13 +57,18 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: OpCode.java,v 1.8 2001/05/17 21:59:30 dfs Exp $ + */ + /** * The OpCode class should not be instantiated. It is a holder of various * constants and static methods pertaining to the manipulation of the * op-codes used in a compiled regular expression. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: OpCode.java,v 1.7 2001/05/09 18:21:46 dfs Exp $ + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 */ final class OpCode { 1.4 +8 -4 jakarta-oro/src/java/org/apache/oro/text/regex/Pattern.java Index: Pattern.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/Pattern.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- Pattern.java 2001/05/09 18:21:47 1.3 +++ Pattern.java 2001/05/17 21:59:31 1.4 @@ -57,6 +57,10 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: Pattern.java,v 1.4 2001/05/17 21:59:31 dfs Exp $ + */ + /** * The Pattern interface allows multiple representations of a regular * expression to be defined. In general, different regular expression @@ -68,10 +72,10 @@ * to be interchangeable among differing PatternCompiler and PatternMatcher * implementations. The documentation accompanying a specific implementation * will define what other classes a Pattern can interact with. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: Pattern.java,v 1.3 2001/05/09 18:21:47 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see PatternCompiler * @see PatternMatcher */ 1.4 +8 -4 jakarta-oro/src/java/org/apache/oro/text/regex/PatternCompiler.java Index: PatternCompiler.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/PatternCompiler.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- PatternCompiler.java 2001/05/09 18:21:52 1.3 +++ PatternCompiler.java 2001/05/17 21:59:31 1.4 @@ -57,6 +57,10 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: PatternCompiler.java,v 1.4 2001/05/17 21:59:31 dfs Exp $ + */ + /** * The PatternCompiler interface defines the operations a regular * expression compiler must implement. However, the types of @@ -98,10 +102,10 @@ * variations of the compile() methods that take extra options affecting * the compilation of a pattern. However, the PatternCompiler method * implementations should provide the default behavior of the class. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: PatternCompiler.java,v 1.3 2001/05/09 18:21:52 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see Pattern * @see PatternMatcher * @see MalformedPatternException 1.4 +8 -4 jakarta-oro/src/java/org/apache/oro/text/regex/PatternMatcher.java Index: PatternMatcher.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/PatternMatcher.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- PatternMatcher.java 2001/05/09 18:21:54 1.3 +++ PatternMatcher.java 2001/05/17 21:59:31 1.4 @@ -57,6 +57,10 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: PatternMatcher.java,v 1.4 2001/05/17 21:59:31 dfs Exp $ + */ + /** * The PatternMatcher interface defines the operations a regular * expression matcher must implement. However, the types of the Pattern @@ -74,10 +78,10 @@ * expression grammars may be added and users may also create their own * implementations of the provided interfaces. Therefore the programmer * should be careful not to mismatch classes. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: PatternMatcher.java,v 1.3 2001/05/09 18:21:54 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see Pattern * @see PatternCompiler * @see MatchResult 1.4 +7 -5 jakarta-oro/src/java/org/apache/oro/text/regex/PatternMatcherInput.java Index: PatternMatcherInput.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/PatternMatcherInput.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- PatternMatcherInput.java 2001/05/09 18:21:55 1.3 +++ PatternMatcherInput.java 2001/05/17 21:59:32 1.4 @@ -57,6 +57,10 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: PatternMatcherInput.java,v 1.4 2001/05/17 21:59:32 dfs Exp $ + */ + /** * The PatternMatcherInput class is used to preserve state across * calls to the <code>contains()</code> methods of PatternMatcher instances. @@ -109,12 +113,10 @@ * input.setInput(aNewInputString); * * </pre></blockquote> - * * - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: PatternMatcherInput.java,v 1.3 2001/05/09 18:21:55 dfs Exp $ - + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see PatternMatcher */ public final class PatternMatcherInput { 1.11 +7 -4 jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Compiler.java Index: Perl5Compiler.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Compiler.java,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- Perl5Compiler.java 2001/05/09 18:21:57 1.10 +++ Perl5Compiler.java 2001/05/17 21:59:33 1.11 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: Perl5Compiler.java,v 1.11 2001/05/17 21:59:33 dfs Exp $ + */ import java.util.*; /** @@ -65,10 +68,10 @@ * Perl5Pattern instances upon compilation to be used in conjunction * with a Perl5Matcher instance. Please see the user's guide for more * information about Perl5 regular expressions. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: Perl5Compiler.java,v 1.10 2001/05/09 18:21:57 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see PatternCompiler * @see MalformedPatternException * @see Perl5Pattern 1.7 +8 -4 jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Debug.java Index: Perl5Debug.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Debug.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- Perl5Debug.java 2001/05/09 18:21:59 1.6 +++ Perl5Debug.java 2001/05/17 21:59:33 1.7 @@ -57,6 +57,10 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: Perl5Debug.java,v 1.7 2001/05/17 21:59:33 dfs Exp $ + */ + /** * The Perl5Debug class is not intended for general use and should not * be instantiated, but is provided because some users may find the output @@ -66,10 +70,10 @@ * not in terms of actual data structures. The Perl5Debug class allows * the bytecode program contained by a Perl5Pattern to be printed out for * comparison with the program generated by Perl5 with the -r option. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: Perl5Debug.java,v 1.6 2001/05/09 18:21:59 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see Perl5Pattern */ public final class Perl5Debug { 1.4 +8 -4 jakarta-oro/src/java/org/apache/oro/text/regex/Perl5MatchResult.java Index: Perl5MatchResult.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/Perl5MatchResult.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- Perl5MatchResult.java 2001/05/09 18:22:01 1.3 +++ Perl5MatchResult.java 2001/05/17 21:59:33 1.4 @@ -57,12 +57,16 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: Perl5MatchResult.java,v 1.4 2001/05/17 21:59:33 dfs Exp $ + */ + /** * A class used to store and access the results of a Perl5Pattern match. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: Perl5MatchResult.java,v 1.3 2001/05/09 18:22:01 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see PatternMatcher * @see Perl5Matcher */ 1.13 +8 -4 jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Matcher.java Index: Perl5Matcher.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Matcher.java,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- Perl5Matcher.java 2001/05/09 18:22:03 1.12 +++ Perl5Matcher.java 2001/05/17 21:59:33 1.13 @@ -57,6 +57,10 @@ * by Daniel F. Savarese. We appreciate his contributions. */ + +/* + * $Id: Perl5Matcher.java,v 1.13 2001/05/17 21:59:33 dfs Exp $ + */ import java.io.IOException; import java.util.*; @@ -64,10 +68,10 @@ * The Perl5Matcher class is used to match regular expressions * (conforming to the Perl5 regular expression syntax) generated by * Perl5Compiler. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: Perl5Matcher.java,v 1.12 2001/05/09 18:22:03 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see PatternMatcher * @see Perl5Compiler */ 1.5 +7 -4 jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Pattern.java Index: Perl5Pattern.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Pattern.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- Perl5Pattern.java 2001/05/09 18:22:04 1.4 +++ Perl5Pattern.java 2001/05/17 21:59:34 1.5 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: Perl5Pattern.java,v 1.5 2001/05/17 21:59:34 dfs Exp $ + */ import java.io.*; /** @@ -71,10 +74,10 @@ * to a Perl5Compiler instance's compile() methods. The class implements * the Serializable interface so that instances may be pre-compiled and * saved to disk if desired. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: Perl5Pattern.java,v 1.4 2001/05/09 18:22:04 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see Perl5Compiler * @see Perl5Matcher */ 1.4 +8 -4 jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Repetition.java Index: Perl5Repetition.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Repetition.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- Perl5Repetition.java 2001/05/09 18:22:06 1.3 +++ Perl5Repetition.java 2001/05/17 21:59:34 1.4 @@ -57,14 +57,18 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: Perl5Repetition.java,v 1.4 2001/05/17 21:59:34 dfs Exp $ + */ + /** * Perl5Repetition is a support class for Perl5Matcher. It was originally * defined as a top-level class rather than as an inner class to allow * compilation for JDK 1.0.2. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: Perl5Repetition.java,v 1.3 2001/05/09 18:22:06 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see Perl5Matcher */ final class Perl5Repetition { 1.5 +8 -4 jakarta-oro/src/java/org/apache/oro/text/regex/StringSubstitution.java Index: StringSubstitution.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/StringSubstitution.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- StringSubstitution.java 2001/05/17 21:16:13 1.4 +++ StringSubstitution.java 2001/05/17 21:59:34 1.5 @@ -57,14 +57,18 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: StringSubstitution.java,v 1.5 2001/05/17 21:59:34 dfs Exp $ + */ + /** * StringSubstitution implements a Substitution consisting of a simple * literal string. This class is intended for use with * {@link Util#substitute Util.substitute}. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: StringSubstitution.java,v 1.4 2001/05/17 21:16:13 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.1 * @see Substitution * @see Util * @see Util#substitute 1.8 +3 -2 jakarta-oro/src/java/org/apache/oro/text/regex/Util.java Index: Util.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/Util.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- Util.java 2001/05/17 21:39:12 1.7 +++ Util.java 2001/05/17 21:59:35 1.8 @@ -56,11 +56,11 @@ * Portions of this software are based upon software originally written * by Daniel F. Savarese. We appreciate his contributions. */ -import java.util.*; /* - * $Id: Util.java,v 1.7 2001/05/17 21:39:12 dfs Exp $ + * $Id: Util.java,v 1.8 2001/05/17 21:59:35 dfs Exp $ */ +import java.util.*; /** * The Util class is a holder for useful static utility methods that can @@ -266,6 +266,7 @@ * specified <code>limit</code>. A way of thinking of this is that * only the first <code>limit - 1</code> matches of the delimiting * regular expression will be used to split the input. + * @since 1.0 */ public static Vector split(PatternMatcher matcher, Pattern pattern, String input, int limit) From [email protected] Thu May 17 22:19:58 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40428 invoked by uid 500); 17 May 2001 22:19:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 40255 invoked from network); 17 May 2001 22:19:49 -0000 Message-Id: <[email protected]> X-Mailer: exmh version 2.0.3 To: [email protected] Subject: update Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 17 May 2001 18:19:40 -0400 From: "Daniel F. Savarese" <[email protected]> X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N I committed Mark's patch and got sidetracked with a little housecleaning instead of finishing up my proposal. The cvs commit messages should explain everything, although I may have accidentally done a commit without a log message on one or two on account of hitting return a little early when using -m. No more 'cvs ci -m' for me. I'm going to look into Dan Shriver's bug report now and hopefully resolve it. He had reported it to me privately, but I asked him to go through the Jakarta channels to keep everything in the open. After resolving this bug and finishing a little housecleaning (mostly javadoc stuff), I propose we release version 2.0.3 and declare a code freeze (with only bug fixes allowed) until we discuss the development plan. I'm pushing a publisher's patience on a very late book proposal and am taking a long weekend for Memorial Day, and JavaONE is coming up, so I propose we set a goal of arriving at a consensus about development by June 11. daniel From [email protected] Thu May 17 22:29:35 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 62771 invoked by uid 500); 17 May 2001 22:29:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 62683 invoked from network); 17 May 2001 22:29:29 -0000 Date: Thu, 17 May 2001 15:25:23 -0700 (PDT) Message-Id: <[email protected]> From: [email protected] To: [email protected] Cc: [email protected] Subject: [Bug 1799] Changed - possible bug in ORO's Util.substitute X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1799 *** shadow/1799 Thu May 17 12:07:32 2001 --- shadow/1799.tmp.22427 Thu May 17 15:25:22 2001 *************** *** 2,11 **** | possible bug in ORO's Util.substitute | +----------------------------------------------------------------------------+ | Bug #: 1799 Product: ORO | ! | Status: NEW Version: 2.0.2 | | Resolution: Platform: PC | | Severity: Normal OS/Version: Linux | ! | Priority: Component: Main | +----------------------------------------------------------------------------+ | Assigned To: [email protected] | | Reported By: [email protected] | --- 2,11 ---- | possible bug in ORO's Util.substitute | +----------------------------------------------------------------------------+ | Bug #: 1799 Product: ORO | ! | Status: ASSIGNED Version: 2.0.2 | | Resolution: Platform: PC | | Severity: Normal OS/Version: Linux | ! | Priority: High Component: Main | +----------------------------------------------------------------------------+ | Assigned To: [email protected] | | Reported By: [email protected] | *************** *** 259,262 **** return input; } ! } --- 259,265 ---- return input; } ! } ! ! ------- Additional Comments From [email protected] 2001-05-17 15:25 ------- ! Received bug report and investigating. From [email protected] Thu May 17 23:41:33 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63306 invoked by uid 500); 17 May 2001 23:41:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 63295 invoked from network); 17 May 2001 23:41:31 -0000 Mime-Version: 1.0 X-Sender: [email protected] Message-Id: <p05100300b72a12828094@[161.129.204.104]> In-Reply-To: <[email protected]> References: <[email protected]> Date: Thu, 17 May 2001 16:44:19 -0700 To: [email protected] From: "Mark F. Murphy" <[email protected]> Subject: Re: update Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N At 6:19 PM -0400 5/17/01, Daniel F. Savarese wrote: >I propose we set a goal of arriving at a consensus about development >by June 11. Sounds good to me. I'm out next week for WWDC (Apple's World Wide Developers Conf). Hope to go to some good sessions about Java under X... Darwin stuff... and kernel level things. Have [email protected]. mark -- --------------------------------------------------------------------------- Mark F. Murphy, Director Software Development <mailto:[email protected]> Tyrell Software Corp <http://www.tyrell.com> PowerPerl(tm), Add Power To Your Webpage! <http://www.powerperl.com> --------------------------------------------------------------------------- Families Against Internet Censorship: http://www.netfamilies.org/ From [email protected] Fri May 18 08:31:13 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61577 invoked by uid 500); 18 May 2001 08:30:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 61537 invoked by uid 500); 18 May 2001 08:30:50 -0000 Delivered-To: [email protected] Date: 18 May 2001 08:30:47 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro/xdocs/stylesheets project.xml dfs 01/05/18 01:30:46 Modified: xdocs/stylesheets project.xml Added: xdocs demo.xml devplan-2.0.xml status.xml Log: Added placeholders for status and development plan pages. Also added a demo page for the Jakartaized version of the old OROMatcher demonstration applet. Revision Changes Path 1.1 jakarta-oro/xdocs/demo.xml Index: demo.xml =================================================================== <?xml version="1.0"?> <!-- $Id: demo.xml,v 1.1 2001/05/18 08:30:37 dfs Exp $ --> <document> <properties> <author>Daniel Savarese</author> <title>Demonstration Applet</title> </properties> <body> <section name="Demonstration Applet"> <center> <applet codebase="classes" code="MatcherDemoApplet.class" width="400" height="400"> <param name="fontSize" value="14"></param> <param name="background" value="d2b48c"></param> <hr></hr> If you can't see the demo applet, please try enabling Java in your browser. <hr></hr> </applet> </center> <p> Jakarta ORO's text processing classes support a wide range of features which are not demonstrated in this applet. Here we allow you to test for yourself the Perl5, AWK, and glob regular expression support from the org.apache.oro.text.regex, org.apache.oro.text.awk, and org.apache.oro.text packages. The Perl5 syntax demonstrated is Perl 5.003 compatible as of version 2.0.2. Remember, Perl5 compatibility means that zero-width lookahead assertions, greed control, backreferences, and other features are supported. This applet only demonstrates the basic functionality of the packages. The split and substitute methods of the Util class and other features are not demonstrated here. To get a better idea of what else you can do with Jakarta ORO, you should look through the <a href="/api/index.html">API documentation</a>. </p> </section> <section name="Instructions"> <p> Select a regular expression syntax in the topmost choice menu. Type a regular expression in the first text field. Then in the <b>Search Input</b> text area, enter text that you want to search. Click the <b>Search</b> button to search the input text. The results will appear in the <b>Search Results</b> text area. The <b>Reset</b> button will clear the regular expression, input, and result text. </p> <p> There are two choice menus that affect the regular expression search. The <b>contains()</b> item causes the <code>contains()</code> method of the PatternMatcher interface to be used to perform the search. This search is done in a while loop, finding all pattern matches occuring within the input. The <b>matches()</b> item causes the <code>matches()</code> method of the PatternMatcher interface to be used to perform the search. The <code>matches()</code> method only tests if all the input <b>EXACTLY</b> matches the regular expression. It does not check to see if there is a match somewhere inside the input. That is what the <code>contains()</code> method is for. This is sometimes a point of confusion for users who have tried other packages. In Jakarta ORO, <code>matches()</code> is used to find exact matches, and <code>contains</code> is used to find a match contained in the input. </p> <p> The <b>Case Sensitive</b> and <b>Case Insensitive</b> choice items are self-explanatory. <b>Case Sensitive</b> causes the regular expression to be compiled with case sensitivity enabled. <b>Case Insensitive</b> causes the regular expression to treat upper and lower case characters the same. </p> <p> The <b>Search Results</b> text area will display all the matches found in the input when the <b>contains()</b> choice item is selected. It will also display what the parenthesized subgroups of a regular expression matched. When the <b>matches()</b> choice item is selected, only whether or not the input exactly matched the pattern is indicated. </p> <p> Please note that if you don't enter anything for a regular expression, it will be compiled as an expression matching a zero-length string (the null string), which will match before and after every character in the input. </p> </section> </body> </document> 1.1 jakarta-oro/xdocs/devplan-2.0.xml Index: devplan-2.0.xml =================================================================== <?xml version="1.0"?> <!-- $Id: devplan-2.0.xml,v 1.1 2001/05/18 08:30:39 dfs Exp $ --> <document> <properties> <author>Daniel Savarese</author> <title>Development Plan: 2.0 to 3.0</title> </properties> <body> <section name="Development Plan: 2.0 to 3.0"> <p> <em>The development plan is not ready yet, but the idea is that we'll go through a series of iterative develop, test, bug fix, test again, release, revisit objectives, cycles and incrementally release stable versions of the software. The primary objective of the work taking us from 2.0 through 2.1, 2.2, etc. up to 3.0 is to achive Perl 5.6 regular expression compatibility in version 3.0 for the org.apache.oro.text.regex and org.apache.oro.text.perl packages. This is the driving force because the Perl expressions are the library's most popular feature. Other development will transpire, but the focus will be on the Perl regular expression support.</em> </p> <p> <ol> <li><a href="#Overview">Overview</a></li> <ol> <li><a href="#Purpose">Purpose</a></li> <li><a href="#Deliverables">Deliverables</a></li> </ol> <li><a href="#Development Work">Development Work</a></li> <ol> <li><a href="#Regression and Unit Testing"> Regression and Unit Testing</a></li> <li><a href="#Performance Testing and Optimization"> Performance Testing and Optimization</a></li> <li><a href="#Defect Correction">Defect Correction</a></li> <li><a href="#Functionality Enhancement"> Functionality Enhancement</a></li> </ol> <li><a href="#User Support">User Support</a></li> <ol> <li><a href="#Documentation">Documentation</a></li> <li><a href="#Example Code">Example Code</a></li> </ol> <li><a href="#Code Development and Maintenance"> Code Development and Maintenance</a></li> <ol> <li><a href="#Code Cleanup">Code Cleanup</a></li> <li><a href="#Committers">Committers</a></li> </ol> <li><a href="#Release Schedule"> Release Schedule</a></li> <li><a href="#Beyond 3.0">Beyond 3.0</a></li> </ol> </p> </section> <section name="Overview"> <!-- <p> The Jakarta ORO project has the goal of </p> --> <subsection name="Purpose"> <!-- <ol> <li>Achieve compatibily with Perl 5.6 regular expressions in the org.apache.oro.text.regex and org.apache.oro.text.perl packages.</li> <li>Improve the performance of the org.apache.oro.text.regex and org.apache.oro.text.perl packages.</li> <li>Prevent the number of defects from increasing.</li> <li>Make the package as easy to use as possible.</li> </ol> --> </subsection> <subsection name="Deliverables"> </subsection> </section> <section name="Development Work"> <subsection name="Regression and Unit Testing"> </subsection> <subsection name="Performance Testing and Optimization"> </subsection> <subsection name="Defect Correction"> </subsection> <subsection name="Functionality Enhancement"> </subsection> </section> <section name="User Support"> <subsection name="Documentation"> </subsection> <subsection name="Example Code"> </subsection> </section> <section name="Code Development and Maintenance"> <subsection name="Code Cleanup"> </subsection> <subsection name="Committers"> </subsection> </section> <section name="Release Schedule"> </section> <section name="Beyond 3.0"> </section> </body> </document> 1.1 jakarta-oro/xdocs/status.xml Index: status.xml =================================================================== <?xml version="1.0"?> <!-- $Id: status.xml,v 1.1 2001/05/18 08:30:40 dfs Exp $ --> <document> <properties> <author>Daniel Savarese</author> <title>Project Status</title> </properties> <body> <section name="Project Status"> <p> Version 2.0.2 currently supports Perl 5.003 regular expressions in the org.apache.oro.text.regex and org.apache.oro.text.perl packages. The main development goal is to upgrade these packages to support Perl 5.6 regular expressions. The development plan will lay out the path to achieving this objective and this status page will report the state of our progress. Our current objective is to settle on a development plan by June 11, 2001. </p> </section> </body> </document> 1.3 +10 -7 jakarta-oro/xdocs/stylesheets/project.xml Index: project.xml =================================================================== RCS file: /home/cvs/jakarta-oro/xdocs/stylesheets/project.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- project.xml 2001/05/17 00:44:44 1.2 +++ project.xml 2001/05/18 08:30:43 1.3 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="ISO-8859-1"?> -<!-- $Id: project.xml,v 1.2 2001/05/17 00:44:44 dfs Exp $ --> +<!-- $Id: project.xml,v 1.3 2001/05/18 08:30:43 dfs Exp $ --> <project name="Jakarta ORO" href="http://jakarta.apache.org/oro"> @@ -10,12 +10,9 @@ <body> <menu name="About"> <item name="Overview" href="/index.html"/> - <item name="Download" - href="http://jakarta.apache.org/builds/jakarta-oro/release/"/> - <!-- To be added - <item name="Status"/> - <item name="Development plan"/> - --> + <item name="Development plan" + href="/devplan-2.0.html"/> + <item name="Status" href="/status.html"/> <item name="Bug tracking" href="http://nagoya.apache.org/bugzilla/"/> <item name="CVS" href="http://jakarta.apache.org/cvsweb/index.cgi/jakarta-oro/"/> @@ -23,6 +20,12 @@ href="http://jakarta.apache.org/cvsweb/index.cgi/~checkout~/jakarta-oro/CHANGES?content-type=text/plain"/> <item name="License" href="http://jakarta.apache.org/cvsweb/index.cgi/~checkout~/jakarta-oro/LICENSE?content-type=text/plain"/> + </menu> + + <menu name="Software"> + <item name="Download" + href="http://jakarta.apache.org/builds/jakarta-oro/release/"/> + <item name="Demonstration" href="/demo.html"/> </menu> <menu name="Community"> From [email protected] Fri May 18 08:31:52 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 62934 invoked by uid 500); 18 May 2001 08:31:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 62755 invoked by uid 500); 18 May 2001 08:31:43 -0000 Delivered-To: [email protected] Date: 18 May 2001 08:31:40 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro/src/java/examples MatcherDemoApplet.java dfs 01/05/18 01:31:40 Added: src/java/examples MatcherDemoApplet.java Log: Ported old OROMatcher demo applet and added as an example. Revision Changes Path 1.1 jakarta-oro/src/java/examples/MatcherDemoApplet.java Index: MatcherDemoApplet.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", "Jakarta-Oro" * must not be used to endorse or promote products derived from this * software without prior written permission. For written * permission, please contact [email protected]. * * 5. Products derived from this software may not be called "Apache" * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" 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 software originally written * by Daniel F. Savarese. We appreciate his contributions. */ /* * $Id: MatcherDemoApplet.java,v 1.1 2001/05/18 08:31:38 dfs Exp $ */ import java.applet.*; import java.awt.*; import java.io.*; import java.net.*; import org.apache.oro.text.*; import org.apache.oro.text.awk.*; import org.apache.oro.text.regex.*; /** * This is a quickly hacked together demo of regular expression * matching with three different regular expression syntaxes. * It was originally written in JDK 1.0.2 days and hasn't changed * much. It should be refactored into classes for a general purpose * interactive testing interface that can be run as a standalone * AWT application or embedded in an applet. */ public final class MatcherDemoApplet extends Applet { static int CONTAINS_SEARCH = 0, MATCHES_SEARCH = 1; static int CASE_SENSITIVE = 0, CASE_INSENSITIVE = 1; static int PERL5_EXPRESSION = 0; static int AWK_EXPRESSION = 1; static int GLOB_EXPRESSION = 2; static String[] expressionType = { "Perl5 Expression:", "AWK Expression:", "Glob Expression:" }; static int[] CASE_MASK[] = { { Perl5Compiler.DEFAULT_MASK, Perl5Compiler.CASE_INSENSITIVE_MASK }, { AwkCompiler.DEFAULT_MASK, AwkCompiler.CASE_INSENSITIVE_MASK }, { GlobCompiler.DEFAULT_MASK, GlobCompiler.CASE_INSENSITIVE_MASK } }; TextField expressionField; Label resultLabel, inputLabel; TextArea resultArea, inputArea; Choice expressionChoice, searchChoice, caseChoice; Button searchButton, resetButton; PatternCompiler compiler[]; PatternMatcher matcher[]; public MatcherDemoApplet() { setFont(new Font("Helvetica", Font.PLAIN, 14)); setBackground(new Color(210, 180, 140)); expressionChoice = new Choice(); for(int i = 0; i < expressionType.length; ++i) expressionChoice.addItem(expressionType[i]); compiler = new PatternCompiler[expressionType.length]; matcher = new PatternMatcher[expressionType.length]; compiler[PERL5_EXPRESSION] = new Perl5Compiler(); matcher[PERL5_EXPRESSION] = new Perl5Matcher(); compiler[AWK_EXPRESSION] = new AwkCompiler(); matcher[AWK_EXPRESSION] = new AwkMatcher(); compiler[GLOB_EXPRESSION] = new GlobCompiler(); matcher[GLOB_EXPRESSION] = matcher[PERL5_EXPRESSION]; expressionField = new TextField(10); searchChoice = new Choice(); searchChoice.addItem("contains()"); searchChoice.addItem("matches()"); caseChoice = new Choice(); caseChoice.addItem("Case Sensitive"); caseChoice.addItem("Case Insensitive"); searchButton = new Button("Search"); resetButton = new Button("Reset"); resultArea = new TextArea(20, 80); inputArea = new TextArea(5, 80); inputLabel = new Label("Search Input", Label.CENTER); resultLabel = new Label("Search Results", Label.CENTER); resultArea.setEditable(false); } public void init(){ String param; GridBagLayout layout; GridBagConstraints constraints; if((param = getParameter("background")) != null) { try { setBackground(new Color(Integer.parseInt(param, 16))); } catch(NumberFormatException e) { // do nothing, don't set color } } if((param = getParameter("fontSize")) != null) { Font font; font = getFont(); try { setFont(new Font(font.getFamily(), font.getStyle(), Integer.parseInt(param))); } catch(NumberFormatException e) { // do nothing, don't set font size } } setLayout(layout = new GridBagLayout()); constraints = new GridBagConstraints(); constraints.fill = GridBagConstraints.HORIZONTAL; constraints.anchor = GridBagConstraints.EAST; layout.setConstraints(expressionChoice, constraints); add(expressionChoice); constraints.weightx = 1.0; constraints.anchor = GridBagConstraints.WEST; constraints.gridwidth = GridBagConstraints.REMAINDER; layout.setConstraints(expressionField, constraints); add(expressionField); constraints.gridwidth = 1; layout.setConstraints(searchChoice, constraints); add(searchChoice); layout.setConstraints(caseChoice, constraints); add(caseChoice); layout.setConstraints(searchButton, constraints); add(searchButton); constraints.gridwidth = GridBagConstraints.REMAINDER; layout.setConstraints(resetButton, constraints); add(resetButton); constraints.gridwidth = GridBagConstraints.REMAINDER; layout.setConstraints(inputLabel, constraints); add(inputLabel); constraints.gridwidth = GridBagConstraints.REMAINDER; constraints.fill = GridBagConstraints.BOTH; constraints.weighty = 0.25; layout.setConstraints(inputArea, constraints); add(inputArea); constraints.weighty = 0.0; constraints.fill = GridBagConstraints.HORIZONTAL; layout.setConstraints(resultLabel, constraints); add(resultLabel); constraints.weighty = 1.0; constraints.fill = GridBagConstraints.BOTH; constraints.gridheight = GridBagConstraints.REMAINDER; layout.setConstraints(resultArea, constraints); add(resultArea); } public void search(){ int matchNum, group, caseMask, exprChoice, search; String text; MatchResult result; Pattern pattern; PatternMatcherInput input; resultArea.setText(""); text = expressionField.getText(); exprChoice = expressionChoice.getSelectedIndex(); caseMask = CASE_MASK[exprChoice][caseChoice.getSelectedIndex()]; resultArea.appendText("Compiling regular expression.\n"); try { pattern = compiler[exprChoice].compile(text, caseMask); } catch(MalformedPatternException e){ resultArea.appendText("\nMalformed Regular Expression:\n" + e.getMessage()); return; } search = searchChoice.getSelectedIndex(); text = inputArea.getText(); matchNum = 0; resultArea.appendText("\nSearching\n\n"); if(search == MATCHES_SEARCH) { if(matcher[exprChoice].matches(text, pattern)) resultArea.appendText("The input IS an EXACT match.\n"); else resultArea.appendText("The input IS NOT an EXACT match.\n"); } else { input = new PatternMatcherInput(text); while(matcher[exprChoice].contains(input, pattern)) { int groups; result = matcher[exprChoice].getMatch(); ++matchNum; resultArea.appendText("Match " + matchNum + ": " + result.group(0)+ "\n"); groups = result.groups(); if(groups > 1){ resultArea.appendText(" Subgroups:\n"); for(group=1; group < groups; group++){ resultArea.appendText(" " + group + ": " + result.group(group) + "\n"); } } } resultArea.appendText("\nThe input contained " + matchNum + " matches."); } } public boolean action(Event event, Object arg) { if(event.target == searchButton){ search(); return true; } else if(event.target == resetButton) { resultArea.setText(""); inputArea.setText(""); expressionField.setText(""); return true; } return false; } } From [email protected] Fri May 18 09:24:19 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17942 invoked by uid 500); 18 May 2001 09:24:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 17270 invoked by uid 500); 18 May 2001 09:23:53 -0000 Delivered-To: [email protected] Date: 18 May 2001 09:23:42 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro/xdocs demo.xml dfs 01/05/18 02:23:39 Modified: xdocs demo.xml Log: Changed applet tags to work with Java Plugin in MSIE and Netscape. Revision Changes Path 1.2 +34 -10 jakarta-oro/xdocs/demo.xml Index: demo.xml =================================================================== RCS file: /home/cvs/jakarta-oro/xdocs/demo.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- demo.xml 2001/05/18 08:30:37 1.1 +++ demo.xml 2001/05/18 09:23:33 1.2 @@ -1,5 +1,5 @@ <?xml version="1.0"?> -<!-- $Id: demo.xml,v 1.1 2001/05/18 08:30:37 dfs Exp $ --> +<!-- $Id: demo.xml,v 1.2 2001/05/18 09:23:33 dfs Exp $ --> <document> <properties> @@ -11,16 +11,40 @@ <section name="Demonstration Applet"> + <p> + This demonstration requires the + <a href="http://java.sun.com/products/plugin/index.html"> + Java Plugin</a>. + </p> + <center> - <applet codebase="classes" code="MatcherDemoApplet.class" - width="400" height="400"> - <param name="fontSize" value="14"></param> - <param name="background" value="d2b48c"></param> - <hr></hr> - If you can't see the demo applet, please try enabling - Java in your browser. - <hr></hr> - </applet> + <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" + codebase="classes/" width="400" height="400"> + <param name="code" value="MatcherDemoApplet.class"></param> + <param name="codebase" value="classes/"></param> + <param name="type" value="application/x-java-applet;version=1.3"></param> + <param name="fontSize" value="14"></param> + <param name="background" value="d2b48c"></param> + + <comment> + <embed type="application/x-java-applet;version=1.3" + codebase="classes/" code="MatcherDemoApplet.class" + width="400" height="400" + pluginspage="http://java.sun.com/products/plugin/1.3/plugin-install.html"> + <param name="fontSize" value="14"></param> + <param name="background" value="d2b48c"></param> + </embed> + <noembed> + <hr></hr> + If you can't see the demo applet, please try enabling + Java in your browser or downloading the + <a href="http://java.sun.com/products/plugin/index.html"> + Java Plugin</a>. + <hr></hr> + </noembed> + </comment> + + </object> </center> <p> From [email protected] Fri May 18 09:54:30 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70981 invoked by uid 500); 18 May 2001 09:54:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 70898 invoked by uid 500); 18 May 2001 09:54:03 -0000 Delivered-To: [email protected] Date: 18 May 2001 09:54:00 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro TODO dfs 01/05/18 02:54:00 Modified: . TODO Log: Added reminder to make demo applet deployment part of the documentation generation process. Revision Changes Path 1.3 +4 -1 jakarta-oro/TODO Index: TODO =================================================================== RCS file: /home/cvs/jakarta-oro/TODO,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- TODO 2001/01/29 00:19:00 1.2 +++ TODO 2001/05/18 09:53:57 1.3 @@ -1,4 +1,4 @@ -$Id: TODO,v 1.2 2001/01/29 00:19:00 dfs Exp $ +$Id: TODO,v 1.3 2001/05/18 09:53:57 dfs Exp $ o Optimize/improve Unicode character classes. @@ -19,3 +19,6 @@ in Java. The class should probably be removed. o Reduce the memory overhead of case insensitive matching in Perl5Matcher. + +o Make build.xml build the demonstration applet and integrate with + docs/ tree. From [email protected] Fri May 18 11:44:43 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2352 invoked by uid 500); 18 May 2001 11:44:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 2324 invoked from network); 18 May 2001 11:44:30 -0000 From: [email protected] Message-Id: <[email protected]> X-Mailer: exmh version 2.0.3 To: Dan Shriver <[email protected]> cc: [email protected] Subject: Re: [Bug 1799] (Re: email regex in ORO) Reply-To: [email protected] In-reply-to: Your message of "Wed, 16 May 2001 15:01:19 EDT." <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 18 May 2001 07:43:58 -0400 Sender: [email protected] X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Hi Dan, Why do you have regex_flags set to 41? You should explicitly or the compilation masks you want. Also, why do you have a variable named interpolations when it looks like you really mean number of substitutions? It should also not be set to -1 and should be set to Util.SUBSTITUTE_ALL, unless you really did mean interpolations, in which case it should be Perl5Substitution.INTERPOLATE_NONE or Perl5Substitution.INTERPOLATE_ALL, depending on what you mean and it should be set when you create the Perl5Substitution instance. If the constants ever change, your code will cease to work. It also makes it hard to figure out what you're trying to do when you don't use the package-provided constants. In any case, your regex only doesn't match when Perl5Compiler.EXTENDED_MASK is enabled. Do you intend for it to be enabled? I assume you really do because to the extent that I can read the expression, it doesn't look like it would match email addresses without stripping the unescaped whitespace. If I sound a little frustrated, it has nothing to do with you. jdb is very annoying. I can only get it to work on Linux if I use the jdk 1.2.2 jdb using -classic. The 1.3 jdb won't [email protected]. In any case, you've uncovered one doozy of a bug, but after getting over my jdb problems I'm close to isolating it. daniel From [email protected] Fri May 18 18:49:57 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 43639 invoked by uid 500); 18 May 2001 18:49:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 43540 invoked from network); 18 May 2001 18:49:49 -0000 From: [email protected] Message-Id: <[email protected]> X-Mailer: exmh version 2.0.3 To: [email protected] Subject: Re: ORO bug Reply-To: [email protected] In-reply-to: Your message of "Fri, 18 May 2001 13:03:02 EDT." <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 18 May 2001 14:49:25 -0400 Sender: [email protected] X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Thanks for the clarifications. I localized the problem last night but still have to nail it down completely. I know what part of the regex is triggering the behavior and what part of the Perl5Matcher code keeps on trying to find a match without returning, but I haven't isolated the cause yet. I won't have time to finish working on it today, but hope to have it figured out and fixed by Monday. I get obsessive about bugs and like to stamp them out as soon as possible. daniel >Daniel, > I'm finding the same thing you were, even without the >extraneous line breaks in my regex (that showed up when I sent >it to you) the regex only works with EXTENDED_MASK (when I use 1 >(CASE_INSENSITIVE_MASK) or 9 (CASE_INSENSITIVE | MULTILINE_MASK) >the regex doesn't work), and with EXTENDED_MASK we get the no >return bug. > I also looked through the old code and interpolations is, as >you point out, wrong- it should be substitutions. > >Thanks again. > >-Dan >--1031933.990205382544.JavaMail.sharemail.berlin.sharemedia.com >Content-Type: text/x-vcard >Content-Transfer-Encoding: 7bit >Content-Disposition: attachment; filename=dshriver.vcf > >begin:vcard >n:Shriver;Daniel >tel;work:+1-224-613-5967 >org:Sharemedia;"Web Warriors" >adr;home:;;;;;sdfsdfsdf; >adr;work:;;;;;; >version:2.1 >email;internet:[email protected] >title:Software Engineer >fn:Daniel Shriver >note;quoted-printable:JavaScript is not readable like Java nor usefull and rob >ust like scripts. >end:vcard > >--1031933.990205382544.JavaMail.sharemail.berlin.sharemedia.com-- From [email protected] Sat May 19 04:42:20 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49013 invoked by uid 500); 19 May 2001 04:42:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 48999 invoked by uid 500); 19 May 2001 04:42:15 -0000 Delivered-To: [email protected] Date: 19 May 2001 04:42:14 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro/build build.xml dfs 01/05/18 21:42:14 Modified: build build.xml Log: Eliminated all of the hardcoded ../ references and replaced them with a top.dir property that indicates the location of the top-level project directory. Also elminated group titles in the javadocs because they looked uglly and made the package summary difficult to read. Revision Changes Path 1.6 +26 -40 jakarta-oro/build/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-oro/build/build.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- build.xml 2001/05/18 23:56:43 1.5 +++ build.xml 2001/05/19 04:42:13 1.6 @@ -1,5 +1,5 @@ <?xml version="1.0"?> -<!-- $Id: build.xml,v 1.5 2001/05/18 23:56:43 jon Exp $ --> +<!-- $Id: build.xml,v 1.6 2001/05/19 04:42:13 dfs Exp $ --> <project name="Jakarta-ORO" default="jar" basedir="."> @@ -7,19 +7,20 @@ <property name="year" value="2001"/> <property name="version" value="2.0.3-dev-1"/> <property name="project" value="jakarta-oro"/> - <property name="code.src" value="../src"/> - <property name="build.src" value="../src/java"/> - <property name="build.dest" value="../classes"/> + <property name="top.dir" value=".."/> + <property name="code.src" value="${top.dir}/src"/> + <property name="build.src" value="${top.dir}/src/java"/> + <property name="build.dest" value="${top.dir}/classes"/> - <property name="javadoc.destdir" value="../docs/api"/> + <property name="javadoc.destdir" value="${top.dir}/docs/api"/> <property name="final.name" value="${project}-${version}"/> - <property name="final.dir" value="../${final.name}/"/> + <property name="final.dir" value="${top.dir}/${final.name}/"/> <property name="debug" value="off"/> <property name="optimize" value="on"/> <property name="deprecation" value="off"/> <property name="ant.home" value="."/> - <property name="docs.src" value="../xdocs"/> - <property name="docs.dest" value="../docs"/> + <property name="docs.src" value="${top.dir}/xdocs"/> + <property name="docs.dest" value="${top.dir}/docs"/> <!-- prepare target. Creates build directory. --> @@ -87,7 +88,7 @@ <!-- jar target. Compiles the source directory and creates a .jar file --> <target name="jar" depends="lib"> - <jar jarfile="../${final.name}.jar" + <jar jarfile="${top.dir}/${final.name}.jar" basedir="${build.dest}" includes="org/**" excludes="**/package.html,**/overview.html"/> @@ -107,18 +108,6 @@ doctitle="${Name} ${version} API" header="&lt;a href=&quot;http://jakarta.apache.org/oro/&quot; target=_top&gt;&lt;img src=&quot;{@docroot}/../images/logoSmall.gif&quot; alt=&quot;Jakarta ORO&quot; width=48 height=47 align=center border=0 hspace=1 vspace=1&gt;&lt;/a&gt;" bottom="Copyright &#169; ${year} Apache Software Foundation. All Rights Reserved."> - <group - title="Core Regular Expression Interfaces and Perl5 Implementations" - packages="org.apache.oro.text.regex"/> - <group - title="Perl5 Syntactic Sugar" - packages="org.apache.oro.text.perl"/> - <group - title="AWK Regular Expressions" - packages="org.apache.oro.text.awk"/> - <group - title="General Text Processing Classes and Glob Expressions" - packages="org.apache.oro.text"/> </javadoc> <replace file="${javadoc.destdir}/overview-frame.html" token="{@docroot}" value="."/> @@ -152,39 +141,36 @@ <target name="package" depends="jar,javadocs,docs"> <mkdir dir="${final.dir}"/> - <mkdir dir="${final.dir}/src"/> <copy todir="${final.dir}/src"> <fileset dir="${code.src}"/> </copy> <copy todir="${final.dir}/docs"> - <fileset dir="${docs.dest}"> - <exclude name="**/dist/**"/> - </fileset> + <fileset dir="${docs.dest}"/> </copy> <copy todir="${final.dir}/build"> - <fileset dir="../build"/> + <fileset dir="${top.dir}/build"/> </copy> - <copy file="../LICENSE" tofile="${final.dir}/LICENSE"/> - <copy file="../BUGS" tofile="${final.dir}/BUGS"/> - <copy file="../CHANGES" tofile="${final.dir}/CHANGES"/> - <copy file="../README" tofile="${final.dir}/README"/> - <copy file="../STYLE" tofile="${final.dir}/STYLE"/> - <copy file="../TODO" tofile="${final.dir}/TODO"/> - <copy file="../${final.name}.jar" tofile="${final.dir}/${final.name}.jar"/> + <copy file="${top.dir}/LICENSE" tofile="${final.dir}/LICENSE"/> + <copy file="${top.dir}/BUGS" tofile="${final.dir}/BUGS"/> + <copy file="${top.dir}/CHANGES" tofile="${final.dir}/CHANGES"/> + <copy file="${top.dir}/README" tofile="${final.dir}/README"/> + <copy file="${top.dir}/STYLE" tofile="${final.dir}/STYLE"/> + <copy file="${top.dir}/TODO" tofile="${final.dir}/TODO"/> + <copy file="${top.dir}/${final.name}.jar" tofile="${final.dir}/${final.name}.jar"/> </target> <!-- package-zip target. Packages the distribution with ZIP --> <target name="package-zip" depends="package"> - <zip zipfile="../${project}-${version}.zip" basedir="../" includes="**/${final.name}/**"/> + <zip zipfile="${top.dir}/${project}-${version}.zip" basedir="${top.dir}/" includes="**/${final.name}/**"/> </target> <!-- Packages the distribution with TAR-GZIP --> <target name="package-tgz" depends="package"> - <tar tarfile="../${project}-${version}.tar" basedir="../" includes="**/${final.name}/**"/> - <gzip zipfile="../${project}-${version}.tar.gz" src="../${project}-${version}.tar"/> + <tar tarfile="${top.dir}/${project}-${version}.tar" basedir="${top.dir}/" includes="**/${final.name}/**"/> + <gzip zipfile="${top.dir}/${project}-${version}.tar.gz" src="${top.dir}/${project}-${version}.tar"/> </target> <!-- Packages the distribution with ZIP and TAG-GZIP --> @@ -199,9 +185,9 @@ <delete dir="${javadoc.destdir}"/> <delete dir="${final.dir}"/> <delete dir="${docs.dest}"/> - <delete file="../${final.name}.jar"/> - <delete file="../${final.name}.tar"/> - <delete file="../${final.name}.tar.gz"/> - <delete file="../${final.name}.zip"/> + <delete file="${top.dir}/${final.name}.jar"/> + <delete file="${top.dir}/${final.name}.tar"/> + <delete file="${top.dir}/${final.name}.tar.gz"/> + <delete file="${top.dir}/${final.name}.zip"/> </target> </project> From [email protected] Sat May 19 08:25:45 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29325 invoked by uid 500); 19 May 2001 08:25:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 29311 invoked by uid 500); 19 May 2001 08:25:38 -0000 Delivered-To: [email protected] Date: 19 May 2001 08:25:38 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro/src/java/org/apache/oro/text/regex Perl5Debug.java dfs 01/05/19 01:25:37 Modified: src/java/org/apache/oro/text/regex Perl5Debug.java Log: Fixed handling of ANYOFUN and NANYOFUN. The old code was just flat out wrong and didn't increment the offset in printProgram correctly. Revision Changes Path 1.8 +8 -2 jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Debug.java Index: Perl5Debug.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Debug.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- Perl5Debug.java 2001/05/17 21:59:33 1.7 +++ Perl5Debug.java 2001/05/19 08:25:36 1.8 @@ -58,7 +58,7 @@ */ /* - * $Id: Perl5Debug.java,v 1.7 2001/05/17 21:59:33 dfs Exp $ + * $Id: Perl5Debug.java,v 1.8 2001/05/19 08:25:36 dfs Exp $ */ /** @@ -126,7 +126,13 @@ if(operator == OpCode._ANYOF) { offset += 16; } else if(operator == OpCode._ANYOFUN || operator == OpCode._NANYOFUN) { - offset+=(prog[offset-1]-2); + while(prog[offset] != OpCode._END) { + if(prog[offset] == OpCode._RANGE) + offset+=3; + else + offset+=2; + } + ++offset; } else if(operator == OpCode._EXACTLY) { ++offset; buffer.append(" <"); From [email protected] Sat May 19 08:27:38 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30594 invoked by uid 500); 19 May 2001 08:27:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 30585 invoked by uid 500); 19 May 2001 08:27:37 -0000 Delivered-To: [email protected] Date: 19 May 2001 08:27:36 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro CHANGES dfs 01/05/19 01:27:36 Modified: . CHANGES Log: Made note of Perl5Debug ANYOFUN/NANYOFUN bytecode printing fix. Revision Changes Path 1.8 +4 -1 jakarta-oro/CHANGES Index: CHANGES =================================================================== RCS file: /home/cvs/jakarta-oro/CHANGES,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- CHANGES 2001/05/17 21:17:24 1.7 +++ CHANGES 2001/05/19 08:27:36 1.8 @@ -1,6 +1,9 @@ -$Id: CHANGES,v 1.7 2001/05/17 21:17:24 dfs Exp $ +$Id: CHANGES,v 1.8 2001/05/19 08:27:36 dfs Exp $ Version 2.x + +o Fixed a problem in Perl5Debug.printProgram where it wouldn't handle + the printing of the unicode character class bytecode correctly. o Applied Mark Murphy's patch to add case modification support to Perl5Substitution. The \u\U\l\L\E escapes from Perl5 double-quoted From [email protected] Sat May 19 20:15:05 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79047 invoked by uid 500); 19 May 2001 20:15:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 79038 invoked by uid 500); 19 May 2001 20:15:05 -0000 Delivered-To: [email protected] Date: 19 May 2001 20:15:04 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro/src/java/org/apache/oro/util GenericCache.java dfs 01/05/19 13:15:04 Modified: src/java/org/apache/oro/util GenericCache.java Log: Changed backing store from Hashtable to HashMap, hoping to squeeze a little better performance. Revision Changes Path 1.4 +6 -4 jakarta-oro/src/java/org/apache/oro/util/GenericCache.java Index: GenericCache.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/util/GenericCache.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- GenericCache.java 2001/05/09 18:22:51 1.3 +++ GenericCache.java 2001/05/19 20:15:04 1.4 @@ -70,7 +70,7 @@ * {@link Cache} interface. @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: GenericCache.java,v 1.3 2001/05/09 18:22:51 dfs Exp $ + @version $Id: GenericCache.java,v 1.4 2001/05/19 20:15:04 dfs Exp $ * @see Cache * @see CacheLRU @@ -87,7 +87,7 @@ int _numEntries; GenericCacheEntry[] _cache; - Hashtable _table; + HashMap _table; /** * The primary constructor for GenericCache. It has default @@ -100,7 +100,7 @@ */ GenericCache(int capacity) { _numEntries = 0; - _table = new Hashtable(capacity); + _table = new HashMap(capacity); _cache = new GenericCacheEntry[capacity]; while(--capacity >= 0) @@ -120,7 +120,9 @@ return null; } - public final Enumeration keys() { return _table.keys(); } + public final Iterator keys() { + return _table.keySet().iterator(); + } /** * Returns the number of elements in the cache, not to be confused with From [email protected] Sun May 20 06:05:00 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76236 invoked by uid 500); 20 May 2001 06:05:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 76210 invoked by uid 500); 20 May 2001 06:05:00 -0000 Delivered-To: [email protected] Date: 20 May 2001 06:04:59 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro TODO dfs 01/05/19 23:04:59 Modified: . TODO Log: Added reminder to reevaluate performance of input iteration via virtual method against direct character array indexing and consider reintroducing stream matching if it is acceptable using HotSpot. Revision Changes Path 1.4 +23 -1 jakarta-oro/TODO Index: TODO =================================================================== RCS file: /home/cvs/jakarta-oro/TODO,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- TODO 2001/05/18 09:53:57 1.3 +++ TODO 2001/05/20 06:04:59 1.4 @@ -1,4 +1,4 @@ -$Id: TODO,v 1.3 2001/05/18 09:53:57 dfs Exp $ +$Id: TODO,v 1.4 2001/05/20 06:04:59 dfs Exp $ o Optimize/improve Unicode character classes. @@ -22,3 +22,25 @@ o Make build.xml build the demonstration applet and integrate with docs/ tree. + +o Measure performance of HotSpot iterating through match input via + an interface's virtual function versus direct character array indexing. + If HotSpot dynamically inlines the functions and achieves comparable + performance, provided a clear warning is indicated that performance + will be reduced on earlier JDK versions, create a generic interface + for representing input. CharStringPointer should be replaced with + a generic interface, PatternMatcherInput should be made to implement + the interface, and stream matching can be reintroduced. + Reintroduced stream matching should include a callback mechanism in the + interface to report when a "contains" match has been found to allow + the input encapsulator to trim its buffer. Strong warnings must go + into the documentation referencing the ACM paper and noting that for + many streams it will be more efficient to read the entire stream into + a buffer first rather than try to match incrementally because many + regular expressions will cause the whole stream to be read in anyway. + For situations where that is not the case we want to be able to trim + the buffer (there have been people who used OROMatcher to search + gigabyte length files!). Additional methods should be added to + regulate buffer growth behavior, whether to save all of it for reuse + in a future pass, etc. + \ No newline at end of file From [email protected] Sun May 20 06:58:05 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92908 invoked by uid 500); 20 May 2001 06:58:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 92899 invoked by uid 500); 20 May 2001 06:58:04 -0000 Delivered-To: [email protected] Date: 20 May 2001 06:58:04 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro/build build.xml dfs 01/05/19 23:58:04 Modified: build build.xml Log: Changed &quot; to &apos; in javadoc header property to work around Ant Win32 argument quoting bug picked up by Sam Ruby in nightly build. Revision Changes Path 1.7 +2 -2 jakarta-oro/build/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-oro/build/build.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- build.xml 2001/05/19 04:42:13 1.6 +++ build.xml 2001/05/20 06:58:04 1.7 @@ -1,5 +1,5 @@ <?xml version="1.0"?> -<!-- $Id: build.xml,v 1.6 2001/05/19 04:42:13 dfs Exp $ --> +<!-- $Id: build.xml,v 1.7 2001/05/20 06:58:04 dfs Exp $ --> <project name="Jakarta-ORO" default="jar" basedir="."> @@ -106,7 +106,7 @@ version="true" windowtitle="${Name} ${version} API" doctitle="${Name} ${version} API" - header="&lt;a href=&quot;http://jakarta.apache.org/oro/&quot; target=_top&gt;&lt;img src=&quot;{@docroot}/../images/logoSmall.gif&quot; alt=&quot;Jakarta ORO&quot; width=48 height=47 align=center border=0 hspace=1 vspace=1&gt;&lt;/a&gt;" + header="&lt;a href=&apos;http://jakarta.apache.org/oro/&apos; target=_top&gt;&lt;img src=&apos;{@docroot}/../images/logoSmall.gif&apos; alt=&apos;Jakarta ORO&apos; width=48 height=47 align=center border=0 hspace=1 vspace=1&gt;&lt;/a&gt;" bottom="Copyright &#169; ${year} Apache Software Foundation. All Rights Reserved."> </javadoc> <replace file="${javadoc.destdir}/overview-frame.html" From [email protected] Sun May 20 10:52:34 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3451 invoked by uid 500); 20 May 2001 10:52:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 3442 invoked by uid 500); 20 May 2001 10:52:29 -0000 Delivered-To: [email protected] Date: 20 May 2001 10:52:28 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro/src/java/org/apache/oro/text/regex Perl5Compiler.java Perl5Matcher.java dfs 01/05/20 03:52:28 Modified: src/java/org/apache/oro/text/regex Perl5Compiler.java Perl5Matcher.java Log: Changed some comments and spacing in the process of investigating what turned out to be a bogus bug. Revision Changes Path 1.12 +4 -4 jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Compiler.java Index: Perl5Compiler.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Compiler.java,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- Perl5Compiler.java 2001/05/17 21:59:33 1.11 +++ Perl5Compiler.java 2001/05/20 10:52:26 1.12 @@ -58,7 +58,7 @@ */ /* - * $Id: Perl5Compiler.java,v 1.11 2001/05/17 21:59:33 dfs Exp $ + * $Id: Perl5Compiler.java,v 1.12 2001/05/20 10:52:26 dfs Exp $ */ import java.util.*; @@ -419,8 +419,7 @@ private void __programAddTail(int current, int value) { int scan, temp, offset; - - if(__program== null || current == OpCode._NULL_OFFSET) + if(__program == null || current == OpCode._NULL_OFFSET) return; scan = current; @@ -442,7 +441,7 @@ private void __programAddOperatorTail(int current, int value) { - if(__program== null || current == OpCode._NULL_OFFSET || + if(__program == null || current == OpCode._NULL_OFFSET || OpCode._opType[__program[current]] != OpCode._BRANCH) return; __programAddTail(OpCode._getNextOperator(current), value); @@ -1286,6 +1285,7 @@ __getNextChar(); __emitCode(OpCode._END); + return offset; } 1.14 +3 -3 jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Matcher.java Index: Perl5Matcher.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Matcher.java,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- Perl5Matcher.java 2001/05/17 21:59:33 1.13 +++ Perl5Matcher.java 2001/05/20 10:52:26 1.14 @@ -59,7 +59,7 @@ /* - * $Id: Perl5Matcher.java,v 1.13 2001/05/17 21:59:33 dfs Exp $ + * $Id: Perl5Matcher.java,v 1.14 2001/05/20 10:52:26 dfs Exp $ */ import java.io.IOException; import java.util.*; @@ -1245,7 +1245,7 @@ while(arg >= line || (arg == Character.MAX_VALUE && line > 0)) { // there may be a bug here with respect to - // __inputOffset >= __input.length, but it seems to be right for + // __inputOffset >= __endOffset, but it seems to be right for // now. the issue is with __inputOffset being reset later. // is this test really supposed to happen here? if(current == -1000 || __inputOffset >= __endOffset || @@ -1272,7 +1272,7 @@ while(arg >= line) { // there may be a bug here with respect to - // __inputOffset >= __input.length, but it seems to be right for + // __inputOffset >= __endOffset, but it seems to be right for // now. the issue is with __inputOffset being reset later. // is this test really supposed to happen here? if(current == -1000 || __inputOffset >= __endOffset || From [email protected] Sun May 20 10:53:55 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3698 invoked by uid 500); 20 May 2001 10:53:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 3686 invoked by uid 500); 20 May 2001 10:53:54 -0000 Delivered-To: [email protected] Date: 20 May 2001 10:53:53 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro CHANGES dfs 01/05/20 03:53:53 Modified: . CHANGES Log: Noted latest changes (see diff). Revision Changes Path 1.9 +6 -1 jakarta-oro/CHANGES Index: CHANGES =================================================================== RCS file: /home/cvs/jakarta-oro/CHANGES,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- CHANGES 2001/05/19 08:27:36 1.8 +++ CHANGES 2001/05/20 10:53:52 1.9 @@ -1,6 +1,11 @@ -$Id: CHANGES,v 1.8 2001/05/19 08:27:36 dfs Exp $ +$Id: CHANGES,v 1.9 2001/05/20 10:53:52 dfs Exp $ Version 2.x + +o Changed version information in javadocs to correspond to release + version rather than CVS version. + +o Changed the backing store for GenericCache from Hashtable to Hashmap. o Fixed a problem in Perl5Debug.printProgram where it wouldn't handle the printing of the unicode character class bytecode correctly. From [email protected] Sun May 20 10:54:16 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4017 invoked by uid 500); 20 May 2001 10:54:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 4008 invoked by uid 500); 20 May 2001 10:54:14 -0000 Delivered-To: [email protected] Date: 20 May 2001 10:54:13 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro/xdocs devplan-2.0.xml dfs 01/05/20 03:54:13 Modified: xdocs devplan-2.0.xml Log: Corrected spelling error. Revision Changes Path 1.2 +2 -2 jakarta-oro/xdocs/devplan-2.0.xml Index: devplan-2.0.xml =================================================================== RCS file: /home/cvs/jakarta-oro/xdocs/devplan-2.0.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- devplan-2.0.xml 2001/05/18 08:30:39 1.1 +++ devplan-2.0.xml 2001/05/20 10:54:12 1.2 @@ -1,5 +1,5 @@ <?xml version="1.0"?> -<!-- $Id: devplan-2.0.xml,v 1.1 2001/05/18 08:30:39 dfs Exp $ --> +<!-- $Id: devplan-2.0.xml,v 1.2 2001/05/20 10:54:12 dfs Exp $ --> <document> <properties> @@ -17,7 +17,7 @@ fix, test again, release, revisit objectives, cycles and incrementally release stable versions of the software. The primary objective of the work taking us from 2.0 through 2.1, - 2.2, etc. up to 3.0 is to achive Perl 5.6 regular expression + 2.2, etc. up to 3.0 is to achieve Perl 5.6 regular expression compatibility in version 3.0 for the org.apache.oro.text.regex and org.apache.oro.text.perl packages. This is the driving force because the Perl expressions are the library's most From [email protected] Sun May 20 10:59:40 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7234 invoked by uid 500); 20 May 2001 10:59:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 7221 invoked from network); 20 May 2001 10:59:37 -0000 Date: Sun, 20 May 2001 03:52:07 -0700 (PDT) Message-Id: <[email protected]> From: [email protected] To: [email protected] Cc: [email protected] Subject: [Bug 1799] Changed - possible bug in ORO's Util.substitute X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1799 *** shadow/1799 Thu May 17 15:25:22 2001 --- shadow/1799.tmp.10283 Sun May 20 03:52:07 2001 *************** *** 2,9 **** | possible bug in ORO's Util.substitute | +----------------------------------------------------------------------------+ | Bug #: 1799 Product: ORO | ! | Status: ASSIGNED Version: 2.0.2 | ! | Resolution: Platform: PC | | Severity: Normal OS/Version: Linux | | Priority: High Component: Main | +----------------------------------------------------------------------------+ --- 2,9 ---- | possible bug in ORO's Util.substitute | +----------------------------------------------------------------------------+ | Bug #: 1799 Product: ORO | ! | Status: RESOLVED Version: 2.0.2 | ! | Resolution: INVALID Platform: PC | | Severity: Normal OS/Version: Linux | | Priority: High Component: Main | +----------------------------------------------------------------------------+ *************** *** 262,265 **** } ------- Additional Comments From [email protected] 2001-05-17 15:25 ------- ! Received bug report and investigating. --- 262,604 ---- } ------- Additional Comments From [email protected] 2001-05-17 15:25 ------- ! Received bug report and investigating. ! ! ------- Additional Comments From [email protected] 2001-05-20 03:52 ------- ! After much investigation, this bug appears to be invalid. The regular ! expression makes use of constructs such as zero-width negative lookahead ! assertions in a way that creates an NFA that can infinitely loop. I ! javaized Jeffrey Friedl's email regular expression and ran it through ! the provided test program with no problems. An error must have been made ! with the original javaization. Will wait for the bug reporter to confirm ! that the corrected expression does what he needs. The corrected expression ! is (capturing parentheses might not be exactly where the reporter wants ! them though; the first capturing set captures the text before the email ! address an the second set captures the actual RFC 822 address): ! String regex ="( [\\040\\t]* (?: ! \\( [^\\\\x80-\\xff\\n\\015()] ! * ! (?: (?: \\ [^\\\\x80-\\xff] | ! \\( [^\\\\x80-\\xff\\n\\015()] ! * (?: \\ [^\\\\x80-\\xff] ! [^\\\\x80-\\xff\\n\\015()] * )* \\) ! ) [^\\\\x80-\\xff\\n\\015()] * ! )* \\) ! [\\040\\t]* )* ) ( ! (?: [^(\\040)<>@,;:\".\\\\[\\]\\000-\\037\\x80-\\xff]+ ! (?![^(\\040)<>@,;:\".\\\\[\\]\\000-\\037\\x80-\\xff]) ! | \" ! [^\\\\x80-\\xff\\n\\015\"] * (?: \\ ! [^\\\\x80-\\xff] [^\\\\x80-\\xff\\n\\015\"] * )* ! \" ) ! [\\040\\t]* (?: ! \\( [^\\\\x80-\\xff\\n\\015()] ! * ! (?: (?: \\ [^\\\\x80-\\xff] | ! \\( [^\\\\x80-\\xff\\n\\015()] ! * (?: \\ [^\\\\x80-\\xff] ! [^\\\\x80-\\xff\\n\\015()] * )* \\) ! ) [^\\\\x80-\\xff\\n\\015()] * ! )* \\) ! [\\040\\t]* )* (?: \\. [\\040\\t]* (?: ! \\( [^\\\\x80-\\xff\\n\\015()] ! * ! (?: (?: \\ [^\\\\x80-\\xff] | ! \\( [^\\\\x80-\\xff\\n\\015()] ! * (?: \\ [^\\\\x80-\\xff] ! [^\\\\x80-\\xff\\n\\015()] * )* \\) ! ) [^\\\\x80-\\xff\\n\\015()] * ! )* \\) ! [\\040\\t]* )* (?: ! [^(\\040)<>@,;:\".\\\\[\\]\\000-\\037\\x80-\\xff]+ ! (?![^(\\040)<>@,;:\".\\\\[\\]\\000-\\037\\x80-\\xff]) ! | \" ! [^\\\\x80-\\xff\\n\\015\"] * (?: \\ ! [^\\\\x80-\\xff] [^\\\\x80-\\xff\\n\\015\"] * )* ! \" ) ! [\\040\\t]* (?: ! \\( [^\\\\x80-\\xff\\n\\015()] ! * ! (?: (?: \\ [^\\\\x80-\\xff] | ! \\( [^\\\\x80-\\xff\\n\\015()] ! * (?: \\ [^\\\\x80-\\xff] ! [^\\\\x80-\\xff\\n\\015()] * )* \\) ! ) [^\\\\x80-\\xff\\n\\015()] * ! )* \\) ! [\\040\\t]* )* )* @ [\\040\\t]* (?: ! \\( [^\\\\x80-\\xff\\n\\015()] ! * ! (?: (?: \\ [^\\\\x80-\\xff] | ! \\( [^\\\\x80-\\xff\\n\\015()] ! * (?: \\ [^\\\\x80-\\xff] ! [^\\\\x80-\\xff\\n\\015()] * )* \\) ! ) [^\\\\x80-\\xff\\n\\015()] * ! )* \\) ! [\\040\\t]* )* (?: ! [^(\\040)<>@,;:\".\\\\[\\]\\000-\\037\\x80-\\xff]+ ! (?![^(\\040)<>@,;:\".\\\\[\\]\\000-\\037\\x80-\\xff]) | ! \\[ (?: [^\\\\x80-\\xff\\n\\015\\[\\]] | \\ ! [^\\\\x80-\\xff] )* \\] ) ! [\\040\\t]* (?: ! \\( [^\\\\x80-\\xff\\n\\015()] ! * ! (?: (?: \\ [^\\\\x80-\\xff] | ! \\( [^\\\\x80-\\xff\\n\\015()] ! * (?: \\ [^\\\\x80-\\xff] ! [^\\\\x80-\\xff\\n\\015()] * )* \\) ! ) [^\\\\x80-\\xff\\n\\015()] * ! )* \\) ! [\\040\\t]* )* (?: \\. [\\040\\t]* ! (?: \\( [^\\\\x80-\\xff\\n\\015()] ! * ! (?: (?: \\ [^\\\\x80-\\xff] | ! \\( [^\\\\x80-\\xff\\n\\015()] ! * (?: \\ [^\\\\x80-\\xff] ! [^\\\\x80-\\xff\\n\\015()] * )* \\) ! ) [^\\\\x80-\\xff\\n\\015()] * ! )* \\) ! [\\040\\t]* )* (?: ! [^(\\040)<>@,;:\".\\\\[\\]\\000-\\037\\x80-\\xff]+ ! (?![^(\\040)<>@,;:\".\\\\[\\]\\000-\\037\\x80-\\xff]) | ! \\[ (?: [^\\\\x80-\\xff\\n\\015\\[\\]] | \\ ! [^\\\\x80-\\xff] )* \\] ) ! [\\040\\t]* (?: ! \\( [^\\\\x80-\\xff\\n\\015()] ! * ! (?: (?: \\ [^\\\\x80-\\xff] | ! \\( [^\\\\x80-\\xff\\n\\015()] ! * (?: \\ [^\\\\x80-\\xff] ! [^\\\\x80-\\xff\\n\\015()] * )* \\) ! ) [^\\\\x80-\\xff\\n\\015()] * ! )* \\) ! [\\040\\t]* )* )* ! | (?: ! [^(\\040)<>@,;:\".\\\\[\\]\\000-\\037\\x80-\\xff]+ ! (?![^(\\040)<>@,;:\".\\\\[\\]\\000-\\037\\x80-\\xff]) ! | \" ! [^\\\\x80-\\xff\\n\\015\"] * (?: \\ ! [^\\\\x80-\\xff] [^\\\\x80-\\xff\\n\\015\"] * )* ! \" ! ) ! [^()<>@,;:\".\\\\[\\]\\x80-\\xff\\000-\\010\\012-\\037] * ! (?: (?: \\( ! [^\\\\x80-\\xff\\n\\015()] * ! (?: (?: \\ [^\\\\x80-\\xff] | ! \\( [^\\\\x80-\\xff\\n\\015()] ! * (?: \\ [^\\\\x80-\\xff] ! [^\\\\x80-\\xff\\n\\015()] * )* \\) ! ) [^\\\\x80-\\xff\\n\\015()] * ! )* \\) | ! \" [^\\\\x80-\\xff\\n\\015\"] ! * (?: \\ [^\\\\x80-\\xff] ! [^\\\\x80-\\xff\\n\\015\"] * )* ! \" ) ! [^()<>@,;:\".\\\\[\\]\\x80-\\xff\\000-\\010\\012-\\037] * )* ! < [\\040\\t]* (?: ! \\( [^\\\\x80-\\xff\\n\\015()] ! * ! (?: (?: \\ [^\\\\x80-\\xff] | ! \\( [^\\\\x80-\\xff\\n\\015()] ! * (?: \\ [^\\\\x80-\\xff] ! [^\\\\x80-\\xff\\n\\015()] * )* \\) ! ) [^\\\\x80-\\xff\\n\\015()] * ! )* \\) ! [\\040\\t]* )* (?: @ ! [\\040\\t]* (?: ! \\( [^\\\\x80-\\xff\\n\\015()] ! * ! (?: (?: \\ [^\\\\x80-\\xff] | ! \\( [^\\\\x80-\\xff\\n\\015()] ! * (?: \\ [^\\\\x80-\\xff] ! [^\\\\x80-\\xff\\n\\015()] * )* \\) ! ) [^\\\\x80-\\xff\\n\\015()] * ! )* \\) ! [\\040\\t]* )* (?: ! [^(\\040)<>@,;:\".\\\\[\\]\\000-\\037\\x80-\\xff]+ ! (?![^(\\040)<>@,;:\".\\\\[\\]\\000-\\037\\x80-\\xff]) | ! \\[ (?: [^\\\\x80-\\xff\\n\\015\\[\\]] | \\ ! [^\\\\x80-\\xff] )* \\] ) ! [\\040\\t]* (?: ! \\( [^\\\\x80-\\xff\\n\\015()] ! * ! (?: (?: \\ [^\\\\x80-\\xff] | ! \\( [^\\\\x80-\\xff\\n\\015()] ! * (?: \\ [^\\\\x80-\\xff] ! [^\\\\x80-\\xff\\n\\015()] * )* \\) ! ) [^\\\\x80-\\xff\\n\\015()] * ! )* \\) ! [\\040\\t]* )* (?: \\. [\\040\\t]* ! (?: \\( [^\\\\x80-\\xff\\n\\015()] ! * ! (?: (?: \\ [^\\\\x80-\\xff] | ! \\( [^\\\\x80-\\xff\\n\\015()] ! * (?: \\ [^\\\\x80-\\xff] ! [^\\\\x80-\\xff\\n\\015()] * )* \\) ! ) [^\\\\x80-\\xff\\n\\015()] * ! )* \\) ! [\\040\\t]* )* (?: ! [^(\\040)<>@,;:\".\\\\[\\]\\000-\\037\\x80-\\xff]+ ! (?![^(\\040)<>@,;:\".\\\\[\\]\\000-\\037\\x80-\\xff]) | ! \\[ (?: [^\\\\x80-\\xff\\n\\015\\[\\]] | \\ ! [^\\\\x80-\\xff] )* \\] ) ! [\\040\\t]* (?: ! \\( [^\\\\x80-\\xff\\n\\015()] ! * ! (?: (?: \\ [^\\\\x80-\\xff] | ! \\( [^\\\\x80-\\xff\\n\\015()] ! * (?: \\ [^\\\\x80-\\xff] ! [^\\\\x80-\\xff\\n\\015()] * )* \\) ! ) [^\\\\x80-\\xff\\n\\015()] * ! )* \\) ! [\\040\\t]* )* )* (?: , [\\040\\t]* (?: ! \\( [^\\\\x80-\\xff\\n\\015()] ! * ! (?: (?: \\ [^\\\\x80-\\xff] | ! \\( [^\\\\x80-\\xff\\n\\015()] ! * (?: \\ [^\\\\x80-\\xff] ! [^\\\\x80-\\xff\\n\\015()] * )* \\) ! ) [^\\\\x80-\\xff\\n\\015()] * ! )* \\) ! [\\040\\t]* )* @ [\\040\\t]* (?: ! \\( [^\\\\x80-\\xff\\n\\015()] ! * ! (?: (?: \\ [^\\\\x80-\\xff] | ! \\( [^\\\\x80-\\xff\\n\\015()] ! * (?: \\ [^\\\\x80-\\xff] ! [^\\\\x80-\\xff\\n\\015()] * )* \\) ! ) [^\\\\x80-\\xff\\n\\015()] * ! )* \\) ! [\\040\\t]* )* (?: ! [^(\\040)<>@,;:\".\\\\[\\]\\000-\\037\\x80-\\xff]+ ! (?![^(\\040)<>@,;:\".\\\\[\\]\\000-\\037\\x80-\\xff]) | ! \\[ (?: [^\\\\x80-\\xff\\n\\015\\[\\]] | \\ ! [^\\\\x80-\\xff] )* \\] ) ! [\\040\\t]* (?: ! \\( [^\\\\x80-\\xff\\n\\015()] ! * ! (?: (?: \\ [^\\\\x80-\\xff] | ! \\( [^\\\\x80-\\xff\\n\\015()] ! * (?: \\ [^\\\\x80-\\xff] ! [^\\\\x80-\\xff\\n\\015()] * )* \\) ! ) [^\\\\x80-\\xff\\n\\015()] * ! )* \\) ! [\\040\\t]* )* (?: \\. [\\040\\t]* ! (?: \\( [^\\\\x80-\\xff\\n\\015()] ! * ! (?: (?: \\ [^\\\\x80-\\xff] | ! \\( [^\\\\x80-\\xff\\n\\015()] ! * (?: \\ [^\\\\x80-\\xff] ! [^\\\\x80-\\xff\\n\\015()] * )* \\) ! ) [^\\\\x80-\\xff\\n\\015()] * ! )* \\) ! [\\040\\t]* )* (?: ! [^(\\040)<>@,;:\".\\\\[\\]\\000-\\037\\x80-\\xff]+ ! (?![^(\\040)<>@,;:\".\\\\[\\]\\000-\\037\\x80-\\xff]) | ! \\[ (?: [^\\\\x80-\\xff\\n\\015\\[\\]] | \\ ! [^\\\\x80-\\xff] )* \\] ) ! [\\040\\t]* (?: ! \\( [^\\\\x80-\\xff\\n\\015()] ! * ! (?: (?: \\ [^\\\\x80-\\xff] | ! \\( [^\\\\x80-\\xff\\n\\015()] ! * (?: \\ [^\\\\x80-\\xff] ! [^\\\\x80-\\xff\\n\\015()] * )* \\) ! ) [^\\\\x80-\\xff\\n\\015()] * ! )* \\) ! [\\040\\t]* )* )* )* : [\\040\\t]* ! (?: \\( [^\\\\x80-\\xff\\n\\015()] ! * ! (?: (?: \\ [^\\\\x80-\\xff] | ! \\( [^\\\\x80-\\xff\\n\\015()] ! * (?: \\ [^\\\\x80-\\xff] ! [^\\\\x80-\\xff\\n\\015()] * )* \\) ! ) [^\\\\x80-\\xff\\n\\015()] * ! )* \\) ! [\\040\\t]* )* )? (?: ! [^(\\040)<>@,;:\".\\\\[\\]\\000-\\037\\x80-\\xff]+ ! (?![^(\\040)<>@,;:\".\\\\[\\]\\000-\\037\\x80-\\xff]) ! | \" ! [^\\\\x80-\\xff\\n\\015\"] * (?: \\ ! [^\\\\x80-\\xff] [^\\\\x80-\\xff\\n\\015\"] * )* ! \" ) ! [\\040\\t]* (?: ! \\( [^\\\\x80-\\xff\\n\\015()] ! * ! (?: (?: \\ [^\\\\x80-\\xff] | ! \\( [^\\\\x80-\\xff\\n\\015()] ! * (?: \\ [^\\\\x80-\\xff] ! [^\\\\x80-\\xff\\n\\015()] * )* \\) ! ) [^\\\\x80-\\xff\\n\\015()] * ! )* \\) ! [\\040\\t]* )* (?: \\. [\\040\\t]* (?: ! \\( [^\\\\x80-\\xff\\n\\015()] ! * ! (?: (?: \\ [^\\\\x80-\\xff] | ! \\( [^\\\\x80-\\xff\\n\\015()] ! * (?: \\ [^\\\\x80-\\xff] ! [^\\\\x80-\\xff\\n\\015()] * )* \\) ! ) [^\\\\x80-\\xff\\n\\015()] * ! )* \\) ! [\\040\\t]* )* (?: ! [^(\\040)<>@,;:\".\\\\[\\]\\000-\\037\\x80-\\xff]+ ! (?![^(\\040)<>@,;:\".\\\\[\\]\\000-\\037\\x80-\\xff]) ! | \" ! [^\\\\x80-\\xff\\n\\015\"] * (?: \\ ! [^\\\\x80-\\xff] [^\\\\x80-\\xff\\n\\015\"] * )* ! \" ) ! [\\040\\t]* (?: ! \\( [^\\\\x80-\\xff\\n\\015()] ! * ! (?: (?: \\ [^\\\\x80-\\xff] | ! \\( [^\\\\x80-\\xff\\n\\015()] ! * (?: \\ [^\\\\x80-\\xff] ! [^\\\\x80-\\xff\\n\\015()] * )* \\) ! ) [^\\\\x80-\\xff\\n\\015()] * ! )* \\) ! [\\040\\t]* )* )* @ [\\040\\t]* (?: ! \\( [^\\\\x80-\\xff\\n\\015()] ! * ! (?: (?: \\ [^\\\\x80-\\xff] | ! \\( [^\\\\x80-\\xff\\n\\015()] ! * (?: \\ [^\\\\x80-\\xff] ! [^\\\\x80-\\xff\\n\\015()] * )* \\) ! ) [^\\\\x80-\\xff\\n\\015()] * ! )* \\) ! [\\040\\t]* )* (?: ! [^(\\040)<>@,;:\".\\\\[\\]\\000-\\037\\x80-\\xff]+ ! (?![^(\\040)<>@,;:\".\\\\[\\]\\000-\\037\\x80-\\xff]) | ! \\[ (?: [^\\\\x80-\\xff\\n\\015\\[\\]] | \\ ! [^\\\\x80-\\xff] )* \\] ) ! [\\040\\t]* (?: ! \\( [^\\\\x80-\\xff\\n\\015()] ! * ! (?: (?: \\ [^\\\\x80-\\xff] | ! \\( [^\\\\x80-\\xff\\n\\015()] ! * (?: \\ [^\\\\x80-\\xff] ! [^\\\\x80-\\xff\\n\\015()] * )* \\) ! ) [^\\\\x80-\\xff\\n\\015()] * ! )* \\) ! [\\040\\t]* )* (?: \\. [\\040\\t]* ! (?: \\( [^\\\\x80-\\xff\\n\\015()] ! * ! (?: (?: \\ [^\\\\x80-\\xff] | ! \\( [^\\\\x80-\\xff\\n\\015()] ! * (?: \\ [^\\\\x80-\\xff] ! [^\\\\x80-\\xff\\n\\015()] * )* \\) ! ) [^\\\\x80-\\xff\\n\\015()] * ! )* \\) ! [\\040\\t]* )* (?: ! [^(\\040)<>@,;:\".\\\\[\\]\\000-\\037\\x80-\\xff]+ ! (?![^(\\040)<>@,;:\".\\\\[\\]\\000-\\037\\x80-\\xff]) | ! \\[ (?: [^\\\\x80-\\xff\\n\\015\\[\\]] | \\ ! [^\\\\x80-\\xff] )* \\] ) ! [\\040\\t]* (?: ! \\( [^\\\\x80-\\xff\\n\\015()] ! * ! (?: (?: \\ [^\\\\x80-\\xff] | ! \\( [^\\\\x80-\\xff\\n\\015()] ! * (?: \\ [^\\\\x80-\\xff] ! [^\\\\x80-\\xff\\n\\015()] * )* \\) ! ) [^\\\\x80-\\xff\\n\\015()] * ! )* \\) ! [\\040\\t]* )* )* > )"; From [email protected] Sun May 20 13:49:15 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59599 invoked by uid 500); 20 May 2001 13:49:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 59589 invoked from network); 20 May 2001 13:49:14 -0000 Mime-Version: 1.0 X-Sender: [email protected] Message-Id: <p05100304b72d7b259b92@[161.129.204.104]> In-Reply-To: <[email protected]> References: <[email protected]> Date: Sun, 20 May 2001 06:48:47 -0700 To: [email protected] From: "Mark F. Murphy" <[email protected]> Subject: Re: cvs commit: jakarta-oro TODO Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N At 6:04 AM +0000 5/20/01, [email protected] wrote: > +o Measure performance of HotSpot iterating through match input via > + an interface's virtual function versus direct character array indexing. > + If HotSpot dynamically inlines the functions and achieves comparable > + performance, provided a clear warning is indicated that performance > + will be reduced on earlier JDK versions, create a generic interface > + for representing input. CharStringPointer should be replaced with > + a generic interface, PatternMatcherInput should be made to implement > + the interface, and stream matching can be reintroduced. Once again, I'm concerned about changing something in a way that degrades performance or removes working with certain JDKs. Surely we can put some thought behind the issue so that we can achieve any new desired results without removing support or performance for older JDks? I'm sure we can do it in an eloquent manner as well. mark -- --------------------------------------------------------------------------- Mark F. Murphy, Director Software Development <mailto:[email protected]> Tyrell Software Corp <http://www.tyrell.com> PowerPerl(tm), Add Power To Your Webpage! <http://www.powerperl.com> --------------------------------------------------------------------------- Families Against Internet Censorship: http://www.netfamilies.org/ From [email protected] Sun May 20 19:21:12 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77440 invoked by uid 500); 20 May 2001 19:21:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 77430 invoked from network); 20 May 2001 19:21:07 -0000 Message-Id: <[email protected]> X-Mailer: exmh version 2.0.3 To: [email protected] Subject: Re: cvs commit: jakarta-oro TODO In-reply-to: Your message of "Sun, 20 May 2001 06:48:47 PDT." <p05100304b72d7b259b92@[161.129.204.104]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 20 May 2001 15:20:45 -0400 From: "Daniel F. Savarese" <[email protected]> X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N >Surely we can put some thought behind the issue so that we can >achieve any new desired results without removing support or >performance for older JDks? I have no intent on acting on this unilaterally. I just wanted to record a reminder somewhere, although the reminder makes an incorrect mention of CharStringPointer. My personal bias is against reintroducing stream matching, based on reasons well documented in the ACM paper, but now that every other package out there has caught up with what used to be a unique/distinguishing feature of OROMatcher, we might lose users, so the issue will need to be studied (run Perl5Matcher thgouh a profiler, etc.). I wouldn't put it at the to of the priority list though, which is why I jotted down a reminder. >I'm sure we can do it in an eloquent manner as well. Well, you have a lot more confidence than I do :) daniel From [email protected] Sun May 20 20:50:38 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31628 invoked by uid 500); 20 May 2001 20:50:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 31619 invoked from network); 20 May 2001 20:50:38 -0000 Message-Id: <[email protected]> X-Mailer: exmh version 2.0.3 To: [email protected] Subject: Vote to release 2.0.3 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 20 May 2001 16:50:13 -0400 From: "Daniel F. Savarese" <[email protected]> X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Hi all, I would like to finish changing all of the version tags in the javadocs to pick up the release version rather than the CVS version and then package up and release version 2.0.3 and start the code freeze I mentioned earlier. The principal changes are Mark's case modification patch for Perl5Substitution and a bug fix in Perl5Debug that I discovered while investigating Dan Shriver's bug report. In an attempt to get more in line with http://jakarta.apache.org/site/proposal. html, I'm calling for a vote to approve the release of jakarta-oro 2.0.3. Technically, only committer votes count, but heck, any valid objection will be considered. I should allow more time to vote, but I'd like to get this release out by Wednesday, before I go away for a few days, so please post your vote by Tuesday 0000 GMT and state your reasons if you are -1. As part of the development plan, I'm proposing required prerequisites for a release centered around regression and performance testing as well as some documentation requirements beyond the guidelines at http://jakarta.apache.org/site/proposal.html. At any rate, my vote is: +1 daniel From [email protected] Sun May 20 22:46:15 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69491 invoked by uid 500); 20 May 2001 22:46:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 69482 invoked by uid 500); 20 May 2001 22:46:10 -0000 Delivered-To: [email protected] Date: 20 May 2001 22:46:09 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro TODO CHANGES dfs 01/05/20 15:46:09 Modified: . TODO CHANGES Log: Clarified TODO and updated CHANGES (see diff). Revision Changes Path 1.5 +7 -7 jakarta-oro/TODO Index: TODO =================================================================== RCS file: /home/cvs/jakarta-oro/TODO,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- TODO 2001/05/20 06:04:59 1.4 +++ TODO 2001/05/20 22:46:08 1.5 @@ -1,4 +1,4 @@ -$Id: TODO,v 1.4 2001/05/20 06:04:59 dfs Exp $ +$Id: TODO,v 1.5 2001/05/20 22:46:08 dfs Exp $ o Optimize/improve Unicode character classes. @@ -27,11 +27,11 @@ an interface's virtual function versus direct character array indexing. If HotSpot dynamically inlines the functions and achieves comparable performance, provided a clear warning is indicated that performance - will be reduced on earlier JDK versions, create a generic interface - for representing input. CharStringPointer should be replaced with - a generic interface, PatternMatcherInput should be made to implement - the interface, and stream matching can be reintroduced. - Reintroduced stream matching should include a callback mechanism in the + could be reduced on earlier JDK versions, could create a generic interface + for representing input. Input array indexing could be replaced with + the generic interface, PatternMatcherInput could be made to implement + the interface, and stream matching could be reintroduced. + Reintroduced stream matching could include a callback mechanism in the interface to report when a "contains" match has been found to allow the input encapsulator to trim its buffer. Strong warnings must go into the documentation referencing the ACM paper and noting that for @@ -40,7 +40,7 @@ regular expressions will cause the whole stream to be read in anyway. For situations where that is not the case we want to be able to trim the buffer (there have been people who used OROMatcher to search - gigabyte length files!). Additional methods should be added to + gigabyte length files!). Additional methods could be added to regulate buffer growth behavior, whether to save all of it for reuse in a future pass, etc. 1.10 +5 -1 jakarta-oro/CHANGES Index: CHANGES =================================================================== RCS file: /home/cvs/jakarta-oro/CHANGES,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- CHANGES 2001/05/20 10:53:52 1.9 +++ CHANGES 2001/05/20 22:46:08 1.10 @@ -1,4 +1,4 @@ -$Id: CHANGES,v 1.9 2001/05/20 10:53:52 dfs Exp $ +$Id: CHANGES,v 1.10 2001/05/20 22:46:08 dfs Exp $ Version 2.x @@ -9,6 +9,10 @@ o Fixed a problem in Perl5Debug.printProgram where it wouldn't handle the printing of the unicode character class bytecode correctly. + +o Added links to Jakarta ORO home page in javadocs and converted + web site documentation to jakarta-site2 xml docs stored in xdocs + directory. o Applied Mark Murphy's patch to add case modification support to Perl5Substitution. The \u\U\l\L\E escapes from Perl5 double-quoted From [email protected] Sun May 20 23:44:24 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92691 invoked by uid 500); 20 May 2001 23:44:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 59153 invoked by uid 500); 18 May 2001 23:56:46 -0000 Delivered-To: [email protected] Date: 18 May 2001 23:56:45 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro/build build.xml jon 01/05/18 16:56:45 Modified: build build.xml Log: cleanup that breaks broken Gump build removed old deprecated tags Revision Changes Path 1.5 +65 -59 jakarta-oro/build/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-oro/build/build.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- build.xml 2001/05/17 21:24:51 1.4 +++ build.xml 2001/05/18 23:56:43 1.5 @@ -1,5 +1,5 @@ <?xml version="1.0"?> -<!-- $Id: build.xml,v 1.4 2001/05/17 21:24:51 dfs Exp $ --> +<!-- $Id: build.xml,v 1.5 2001/05/18 23:56:43 jon Exp $ --> <project name="Jakarta-ORO" default="jar" basedir="."> @@ -8,8 +8,9 @@ <property name="version" value="2.0.3-dev-1"/> <property name="project" value="jakarta-oro"/> <property name="code.src" value="../src"/> - <property name="build.src" value="../src/java"/> + <property name="build.src" value="../src/java"/> <property name="build.dest" value="../classes"/> + <property name="javadoc.destdir" value="../docs/api"/> <property name="final.name" value="${project}-${version}"/> <property name="final.dir" value="../${final.name}/"/> @@ -25,11 +26,11 @@ <target name="prepare"> <mkdir dir="${build.dest}"/> <mkdir dir="${docs.dest}"/> - <available classname="org.apache.velocity.anakia.AnakiaTask" - property="AnakiaTask.present"/> - <!-- + <available classname="org.apache.velocity.anakia.AnakiaTask" + property="AnakiaTask.present"/> + <!-- <chmod perm="+x" file="bin/antRun"/> - --> + --> </target> <target name="prepare-error" depends="prepare" @@ -55,7 +56,7 @@ <target name="examples" depends="prepare,lib"> <javac srcdir="${build.src}/examples" - excludes="awk/**" + excludes="awk/**" destdir="${build.dest}" debug="${debug}" deprecation="${deprecation}" @@ -106,67 +107,72 @@ doctitle="${Name} ${version} API" header="&lt;a href=&quot;http://jakarta.apache.org/oro/&quot; target=_top&gt;&lt;img src=&quot;{@docroot}/../images/logoSmall.gif&quot; alt=&quot;Jakarta ORO&quot; width=48 height=47 align=center border=0 hspace=1 vspace=1&gt;&lt;/a&gt;" bottom="Copyright &#169; ${year} Apache Software Foundation. All Rights Reserved."> - <group - title="Core Regular Expression Interfaces and Perl5 Implementations" + <group + title="Core Regular Expression Interfaces and Perl5 Implementations" packages="org.apache.oro.text.regex"/> - <group - title="Perl5 Syntactic Sugar" + <group + title="Perl5 Syntactic Sugar" packages="org.apache.oro.text.perl"/> - <group - title="AWK Regular Expressions" + <group + title="AWK Regular Expressions" packages="org.apache.oro.text.awk"/> - <group - title="General Text Processing Classes and Glob Expressions" + <group + title="General Text Processing Classes and Glob Expressions" packages="org.apache.oro.text"/> - </javadoc> - <replace file="${javadoc.destdir}/overview-frame.html" + </javadoc> + <replace file="${javadoc.destdir}/overview-frame.html" token="{@docroot}" value="."/> - <replace dir="${javadoc.destdir}" includes="**/*.html" + <replace dir="${javadoc.destdir}" includes="**/*.html" token="@version@" value="${version}"/> </target> - - <!-- docs target. Creates project web pages and documentation. --> - <target name="docs" depends="prepare-error" - if="AnakiaTask.present"> - <taskdef name="anakia" classname="org.apache.velocity.anakia.AnakiaTask"/> - <anakia basedir="${docs.src}" destdir="${docs.dest}/" - extension=".html" style="./site.vsl" - projectFile="stylesheets/project.xml" - excludes="**/stylesheets/** empty.xml" - includes="**/*.xml" - lastModifiedCheck="true" - templatePath="${jakarta-site2.dir}/xdocs/stylesheets"> - </anakia> - - <copy todir="${docs.dest}/images" filtering="no"> - <fileset dir="${docs.src}/images"> - <include name="**/*.gif"/> - <include name="**/*.jpeg"/> - <include name="**/*.jpg"/> - </fileset> - </copy> - </target> + <!-- docs target. Creates project web pages and documentation. --> + <target name="docs" depends="prepare-error" + if="AnakiaTask.present"> + <taskdef name="anakia" classname="org.apache.velocity.anakia.AnakiaTask"/> + <anakia basedir="${docs.src}" destdir="${docs.dest}/" + extension=".html" style="./site.vsl" + projectFile="stylesheets/project.xml" + excludes="**/stylesheets/** empty.xml" + includes="**/*.xml" + lastModifiedCheck="true" + templatePath="${jakarta-site2.dir}/xdocs/stylesheets"> + </anakia> + + <copy todir="${docs.dest}/images" filtering="no"> + <fileset dir="${docs.src}/images"> + <include name="**/*.gif"/> + <include name="**/*.jpeg"/> + <include name="**/*.jpg"/> + </fileset> + </copy> + </target> - <!-- package target --> - <target name="package" depends="jar,javadocs"> + <target name="package" depends="jar,javadocs,docs"> <mkdir dir="${final.dir}"/> <mkdir dir="${final.dir}/src"/> - <copydir src="${code.src}/" dest="${final.dir}/src"/> - <copydir src="../doc" dest="${final.dir}/doc" - excludes="**/dist/**"/> - <copydir src="../build" dest="${final.dir}/build"/> - <copyfile src="../LICENSE" dest="${final.dir}/LICENSE"/> - <copyfile src="../BUGS" dest="${final.dir}/BUGS"/> - <copyfile src="../CHANGES" dest="${final.dir}/CHANGES"/> - <copyfile src="../README" dest="${final.dir}/README"/> - <copyfile src="../STYLE" dest="${final.dir}/STYLE"/> - <copyfile src="../TODO" dest="${final.dir}/TODO"/> - <copyfile src="../${final.name}.jar" dest="${final.dir}/${final.name}.jar"/> + <copy todir="${final.dir}/src"> + <fileset dir="${code.src}"/> + </copy> + <copy todir="${final.dir}/docs"> + <fileset dir="${docs.dest}"> + <exclude name="**/dist/**"/> + </fileset> + </copy> + <copy todir="${final.dir}/build"> + <fileset dir="../build"/> + </copy> + + <copy file="../LICENSE" tofile="${final.dir}/LICENSE"/> + <copy file="../BUGS" tofile="${final.dir}/BUGS"/> + <copy file="../CHANGES" tofile="${final.dir}/CHANGES"/> + <copy file="../README" tofile="${final.dir}/README"/> + <copy file="../STYLE" tofile="${final.dir}/STYLE"/> + <copy file="../TODO" tofile="${final.dir}/TODO"/> + <copy file="../${final.name}.jar" tofile="${final.dir}/${final.name}.jar"/> </target> - <!-- package-zip target. Packages the distribution with ZIP --> @@ -192,10 +198,10 @@ <delete dir="${build.dest}"/> <delete dir="${javadoc.destdir}"/> <delete dir="${final.dir}"/> - <delete file="../${final.name}.jar"/> - <delete file="../${final.name}.tar"/> - <delete file="../${final.name}.tar.gz"/> - <delete file="../${final.name}.zip"/> + <delete dir="${docs.dest}"/> + <delete file="../${final.name}.jar"/> + <delete file="../${final.name}.tar"/> + <delete file="../${final.name}.tar.gz"/> + <delete file="../${final.name}.zip"/> </target> - </project> From [email protected] Sun May 20 23:44:38 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92824 invoked by uid 500); 20 May 2001 23:44:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 59348 invoked by uid 500); 18 May 2001 23:57:08 -0000 Delivered-To: [email protected] Date: 18 May 2001 23:57:08 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro/build .cvsignore jon 01/05/18 16:57:08 Added: build .cvsignore Log: ignore the velocity.log Revision Changes Path 1.1 jakarta-oro/build/.cvsignore Index: .cvsignore =================================================================== velocity.log From [email protected] Sun May 20 23:55:29 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 808 invoked by uid 500); 20 May 2001 23:55:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 799 invoked by uid 500); 20 May 2001 23:55:27 -0000 Delivered-To: [email protected] Date: 20 May 2001 23:55:26 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro/src/java/tools oroToApache.java dfs 01/05/20 16:55:26 Modified: src/java/examples MatcherDemoApplet.java addCommas.java didNotMatch.java filter.java grep.java groups.java jdfix.java matchResultExample.java matchesContainsExample.java prefixExample.java printPasswd.java semicolon.java splitExample.java substituteExample.java src/java/examples/awk matchesContainsExample.java prefixExample.java splitExample.java streamInputExample.java substituteExample.java src/java/org/apache/oro/io AwkFilenameFilter.java GlobFilenameFilter.java Perl5FilenameFilter.java RegexFilenameFilter.java src/java/org/apache/oro/text DefaultMatchAction.java GenericPatternCache.java GlobCompiler.java MalformedCachePatternException.java MatchAction.java MatchActionInfo.java MatchActionProcessor.java PatternCache.java PatternCacheFIFO.java PatternCacheFIFO2.java PatternCacheLRU.java PatternCacheRandom.java src/java/org/apache/oro/text/awk AwkCompiler.java AwkMatchResult.java AwkMatcher.java AwkPattern.java AwkStreamInput.java CatNode.java CharacterClassNode.java EpsilonNode.java LeafNode.java NegativeCharacterClassNode.java OrNode.java PlusNode.java QuestionNode.java StarNode.java SyntaxNode.java SyntaxTree.java TokenNode.java src/java/org/apache/oro/util Cache.java CacheFIFO.java CacheFIFO2.java CacheLRU.java CacheRandom.java GenericCache.java GenericCacheEntry.java src/java/tools oroToApache.java Log: Finished changing all @version tags to reference release version and moved CVS/RCS $Id$ tags to top of file after license. Revision Changes Path 1.2 +4 -1 jakarta-oro/src/java/examples/MatcherDemoApplet.java Index: MatcherDemoApplet.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/MatcherDemoApplet.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- MatcherDemoApplet.java 2001/05/18 08:31:38 1.1 +++ MatcherDemoApplet.java 2001/05/20 23:55:15 1.2 @@ -56,7 +56,7 @@ */ /* - * $Id: MatcherDemoApplet.java,v 1.1 2001/05/18 08:31:38 dfs Exp $ + * $Id: MatcherDemoApplet.java,v 1.2 2001/05/20 23:55:15 dfs Exp $ */ import java.applet.*; import java.awt.*; @@ -74,6 +74,9 @@ * much. It should be refactored into classes for a general purpose * interactive testing interface that can be run as a standalone * AWT application or embedded in an applet. + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ */ public final class MatcherDemoApplet extends Applet { static int CONTAINS_SEARCH = 0, MATCHES_SEARCH = 1; 1.4 +5 -2 jakarta-oro/src/java/examples/addCommas.java Index: addCommas.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/addCommas.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- addCommas.java 2001/05/09 18:18:58 1.3 +++ addCommas.java 2001/05/20 23:55:15 1.4 @@ -55,6 +55,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: addCommas.java,v 1.4 2001/05/20 23:55:15 dfs Exp $ + */ import org.apache.oro.text.perl.*; /** @@ -63,8 +66,8 @@ * It demonstrates substitutions by adding commas to a the string * representation of an integer. * - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: addCommas.java,v 1.3 2001/05/09 18:18:58 dfs Exp $ + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ */ public final class addCommas { 1.4 +5 -2 jakarta-oro/src/java/examples/didNotMatch.java Index: didNotMatch.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/didNotMatch.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- didNotMatch.java 2001/05/09 18:19:01 1.3 +++ didNotMatch.java 2001/05/20 23:55:15 1.4 @@ -55,6 +55,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: didNotMatch.java,v 1.4 2001/05/20 23:55:15 dfs Exp $ + */ import org.apache.oro.text.regex.*; import org.apache.oro.text.perl.*; @@ -62,8 +65,8 @@ * This is a trivial example program demonstrating the preMatch() * and postMatch() methods of Perl5Util. * - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: didNotMatch.java,v 1.3 2001/05/09 18:19:01 dfs Exp $ + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ */ public final class didNotMatch { 1.4 +5 -2 jakarta-oro/src/java/examples/filter.java Index: filter.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/filter.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- filter.java 2001/05/09 18:19:02 1.3 +++ filter.java 2001/05/20 23:55:15 1.4 @@ -55,6 +55,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: filter.java,v 1.4 2001/05/20 23:55:15 dfs Exp $ + */ import java.io.*; import java.util.*; @@ -65,8 +68,8 @@ * This is a sample program demonstrating how to use the regular expression * filename filter classes. * - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: filter.java,v 1.3 2001/05/09 18:19:02 dfs Exp $ + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ */ public final class filter { 1.4 +5 -2 jakarta-oro/src/java/examples/grep.java Index: grep.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/grep.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- grep.java 2001/05/09 18:19:03 1.3 +++ grep.java 2001/05/20 23:55:15 1.4 @@ -55,6 +55,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: grep.java,v 1.4 2001/05/20 23:55:15 dfs Exp $ + */ import java.io.*; import java.util.*; @@ -67,8 +70,8 @@ * creating a MatchAction class or classes whose behavior varies based on * the provided flags. * - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: grep.java,v 1.3 2001/05/09 18:19:03 dfs Exp $ + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ */ public final class grep { static int _file = 0; 1.4 +5 -2 jakarta-oro/src/java/examples/groups.java Index: groups.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/groups.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- groups.java 2001/05/09 18:19:04 1.3 +++ groups.java 2001/05/20 23:55:15 1.4 @@ -55,6 +55,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: groups.java,v 1.4 2001/05/20 23:55:15 dfs Exp $ + */ import java.io.*; import java.util.*; @@ -65,8 +68,8 @@ * This is a sample program mimicking the Unix groups command. It assumes * the /etc/group file exists. * - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: groups.java,v 1.3 2001/05/09 18:19:04 dfs Exp $ + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ */ public final class groups { 1.4 +5 -2 jakarta-oro/src/java/examples/jdfix.java Index: jdfix.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/jdfix.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- jdfix.java 2001/05/09 18:19:06 1.3 +++ jdfix.java 2001/05/20 23:55:15 1.4 @@ -55,6 +55,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: jdfix.java,v 1.4 2001/05/20 23:55:15 dfs Exp $ + */ import java.io.*; import org.apache.oro.text.perl.*; @@ -64,8 +67,8 @@ * This is an example program demonstrating how to use the PerlTools * match and substitute methods. * - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: jdfix.java,v 1.3 2001/05/09 18:19:06 dfs Exp $ + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ */ public final class jdfix { 1.4 +5 -2 jakarta-oro/src/java/examples/matchResultExample.java Index: matchResultExample.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/matchResultExample.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- matchResultExample.java 2001/05/09 18:19:07 1.3 +++ matchResultExample.java 2001/05/20 23:55:15 1.4 @@ -55,14 +55,17 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: matchResultExample.java,v 1.4 2001/05/20 23:55:15 dfs Exp $ + */ import org.apache.oro.text.regex.*; /** * This is a test program demonstrating the methods of the OROMatcher * MatchResult class. * - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: matchResultExample.java,v 1.3 2001/05/09 18:19:07 dfs Exp $ + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ */ public final class matchResultExample { 1.4 +5 -2 jakarta-oro/src/java/examples/matchesContainsExample.java Index: matchesContainsExample.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/matchesContainsExample.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- matchesContainsExample.java 2001/05/09 18:19:08 1.3 +++ matchesContainsExample.java 2001/05/20 23:55:15 1.4 @@ -55,14 +55,17 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: matchesContainsExample.java,v 1.4 2001/05/20 23:55:15 dfs Exp $ + */ import org.apache.oro.text.regex.*; /** * This is a test program demonstrating the difference between the * matches() and contains() methods. * - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: matchesContainsExample.java,v 1.3 2001/05/09 18:19:08 dfs Exp $ + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ */ public final class matchesContainsExample { 1.4 +5 -2 jakarta-oro/src/java/examples/prefixExample.java Index: prefixExample.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/prefixExample.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- prefixExample.java 2001/05/09 18:19:10 1.3 +++ prefixExample.java 2001/05/20 23:55:15 1.4 @@ -55,6 +55,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: prefixExample.java,v 1.4 2001/05/20 23:55:15 dfs Exp $ + */ import org.apache.oro.text.regex.*; /** @@ -69,8 +72,8 @@ * easily use regular expressions to create your own tokenization and * simple parsing classes using similar approaches. * - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: prefixExample.java,v 1.3 2001/05/09 18:19:10 dfs Exp $ + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ */ public final class prefixExample { public static final int REAL = 0; 1.5 +5 -2 jakarta-oro/src/java/examples/printPasswd.java Index: printPasswd.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/printPasswd.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- printPasswd.java 2001/05/09 18:19:13 1.4 +++ printPasswd.java 2001/05/20 23:55:15 1.5 @@ -55,6 +55,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: printPasswd.java,v 1.5 2001/05/20 23:55:15 dfs Exp $ + */ import java.io.*; import java.util.*; @@ -65,8 +68,8 @@ * It demonstrates splits by reading the /etc/passwd file (assuming you're * on a Unix system) and printing out the formatted entries. * - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: printPasswd.java,v 1.4 2001/05/09 18:19:13 dfs Exp $ + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ */ public final class printPasswd { public static final String[] fieldNames = { 1.4 +5 -2 jakarta-oro/src/java/examples/semicolon.java Index: semicolon.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/semicolon.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- semicolon.java 2001/05/09 18:19:15 1.3 +++ semicolon.java 2001/05/20 23:55:15 1.4 @@ -55,6 +55,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: semicolon.java,v 1.4 2001/05/20 23:55:15 dfs Exp $ + */ import java.io.*; import org.apache.oro.text.*; @@ -65,8 +68,8 @@ * class. It reads the provided semi-colon delimited file semicolon.txt and * outputs only the second column to standard output. * - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: semicolon.java,v 1.3 2001/05/09 18:19:15 dfs Exp $ + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ */ public final class semicolon { 1.5 +6 -2 jakarta-oro/src/java/examples/splitExample.java Index: splitExample.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/splitExample.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- splitExample.java 2001/05/09 18:19:16 1.4 +++ splitExample.java 2001/05/20 23:55:15 1.5 @@ -54,14 +54,18 @@ * Portions of this software are based upon software originally written * by Daniel F. Savarese. We appreciate his contributions. */ + +/* + * $Id: splitExample.java,v 1.5 2001/05/20 23:55:15 dfs Exp $ + */ import java.util.*; import org.apache.oro.text.regex.*; /** * This is a test program demonstrating the use of the Util.split() method. * - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: splitExample.java,v 1.4 2001/05/09 18:19:16 dfs Exp $ + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ */ public final class splitExample { 1.4 +5 -2 jakarta-oro/src/java/examples/substituteExample.java Index: substituteExample.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/substituteExample.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- substituteExample.java 2001/05/09 18:19:17 1.3 +++ substituteExample.java 2001/05/20 23:55:15 1.4 @@ -55,14 +55,17 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: substituteExample.java,v 1.4 2001/05/20 23:55:15 dfs Exp $ + */ import org.apache.oro.text.regex.*; /** * This is a test program demonstrating the use of the Util.substitute() * method. * - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: substituteExample.java,v 1.3 2001/05/09 18:19:17 dfs Exp $ + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ */ public final class substituteExample { 1.4 +5 -2 jakarta-oro/src/java/examples/awk/matchesContainsExample.java Index: matchesContainsExample.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/awk/matchesContainsExample.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- matchesContainsExample.java 2001/05/09 18:19:35 1.3 +++ matchesContainsExample.java 2001/05/20 23:55:16 1.4 @@ -55,6 +55,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: matchesContainsExample.java,v 1.4 2001/05/20 23:55:16 dfs Exp $ + */ import org.apache.oro.text.regex.*; import org.apache.oro.text.awk.*; @@ -62,8 +65,8 @@ * This is a test program demonstrating the difference between the * OROMatcher matches() and contains() methods. * - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: matchesContainsExample.java,v 1.3 2001/05/09 18:19:35 dfs Exp $ + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ */ public final class matchesContainsExample { 1.4 +5 -2 jakarta-oro/src/java/examples/awk/prefixExample.java Index: prefixExample.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/awk/prefixExample.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- prefixExample.java 2001/05/09 18:19:37 1.3 +++ prefixExample.java 2001/05/20 23:55:16 1.4 @@ -55,6 +55,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: prefixExample.java,v 1.4 2001/05/20 23:55:16 dfs Exp $ + */ import org.apache.oro.text.regex.*; import org.apache.oro.text.awk.*; @@ -72,8 +75,8 @@ * distribution, you'll see how to Perl's zero-width look ahead assertion * makes correctness easier to achieve. * - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: prefixExample.java,v 1.3 2001/05/09 18:19:37 dfs Exp $ + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ */ public final class prefixExample { public static final int REAL = 0; 1.5 +6 -2 jakarta-oro/src/java/examples/awk/splitExample.java Index: splitExample.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/awk/splitExample.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- splitExample.java 2001/05/09 18:19:38 1.4 +++ splitExample.java 2001/05/20 23:55:16 1.5 @@ -54,6 +54,10 @@ * Portions of this software are based upon software originally written * by Daniel F. Savarese. We appreciate his contributions. */ + +/* + * $Id: splitExample.java,v 1.5 2001/05/20 23:55:16 dfs Exp $ + */ import java.util.*; import org.apache.oro.text.regex.*; import org.apache.oro.text.awk.*; @@ -63,8 +67,8 @@ * It is the same as the version in the OROMatcher distribution except that * it uses Awk classes instead of Perl classes. * - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: splitExample.java,v 1.4 2001/05/09 18:19:38 dfs Exp $ + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ */ public final class splitExample { 1.4 +5 -2 jakarta-oro/src/java/examples/awk/streamInputExample.java Index: streamInputExample.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/awk/streamInputExample.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- streamInputExample.java 2001/05/09 18:19:40 1.3 +++ streamInputExample.java 2001/05/20 23:55:16 1.4 @@ -55,6 +55,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: streamInputExample.java,v 1.4 2001/05/20 23:55:16 dfs Exp $ + */ import java.io.*; import org.apache.oro.text.regex.*; import org.apache.oro.text.awk.*; @@ -63,8 +66,8 @@ * This is a test program demonstrating how to search an input stream * with the AwkTools regular expression classes. * - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: streamInputExample.java,v 1.3 2001/05/09 18:19:40 dfs Exp $ + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ */ public final class streamInputExample { 1.4 +5 -2 jakarta-oro/src/java/examples/awk/substituteExample.java Index: substituteExample.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/examples/awk/substituteExample.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- substituteExample.java 2001/05/09 18:19:42 1.3 +++ substituteExample.java 2001/05/20 23:55:16 1.4 @@ -55,6 +55,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: substituteExample.java,v 1.4 2001/05/20 23:55:16 dfs Exp $ + */ import org.apache.oro.text.regex.*; import org.apache.oro.text.awk.*; @@ -63,8 +66,8 @@ * method. It is the same as the version in the OROMatcher distribution * except that it uses Awk classes instead of Awk classes. * - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: substituteExample.java,v 1.3 2001/05/09 18:19:42 dfs Exp $ + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ */ public final class substituteExample { 1.4 +7 -4 jakarta-oro/src/java/org/apache/oro/io/AwkFilenameFilter.java Index: AwkFilenameFilter.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/io/AwkFilenameFilter.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- AwkFilenameFilter.java 2001/05/09 18:19:50 1.3 +++ AwkFilenameFilter.java 2001/05/20 23:55:17 1.4 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: AwkFilenameFilter.java,v 1.4 2001/05/20 23:55:17 dfs Exp $ + */ import java.io.*; import org.apache.oro.text.regex.*; @@ -67,10 +70,10 @@ * AwkFilenameFilter is a RegexFilenameFilter subclass that filters on Awk * regular expressions as implemented by the org.apache.oro.text.awk package, * which is required to use this class. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: AwkFilenameFilter.java,v 1.3 2001/05/09 18:19:50 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see RegexFilenameFilter * @see Perl5FilenameFilter * @see GlobFilenameFilter 1.4 +7 -4 jakarta-oro/src/java/org/apache/oro/io/GlobFilenameFilter.java Index: GlobFilenameFilter.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/io/GlobFilenameFilter.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- GlobFilenameFilter.java 2001/05/09 18:19:53 1.3 +++ GlobFilenameFilter.java 2001/05/20 23:55:17 1.4 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: GlobFilenameFilter.java,v 1.4 2001/05/20 23:55:17 dfs Exp $ + */ import java.io.*; import org.apache.oro.text.regex.*; @@ -66,10 +69,10 @@ * GlobFilenameFilter is a RegexFilenameFilter subclass that filters on Glob * regular expressions as implemented by the org.apache.oro.text package, * which is required to use this class. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: GlobFilenameFilter.java,v 1.3 2001/05/09 18:19:53 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see RegexFilenameFilter * @see AwkFilenameFilter * @see GlobFilenameFilter 1.4 +7 -4 jakarta-oro/src/java/org/apache/oro/io/Perl5FilenameFilter.java Index: Perl5FilenameFilter.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/io/Perl5FilenameFilter.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- Perl5FilenameFilter.java 2001/05/09 18:19:55 1.3 +++ Perl5FilenameFilter.java 2001/05/20 23:55:17 1.4 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: Perl5FilenameFilter.java,v 1.4 2001/05/20 23:55:17 dfs Exp $ + */ import java.io.*; import org.apache.oro.text.regex.*; @@ -67,10 +70,10 @@ * Perl5FilenameFilter is a RegexFilenameFilter subclass that filters on Perl5 * regular expressions as implemented by the org.apache.oro.text.regex package, * which is required to use this class. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: Perl5FilenameFilter.java,v 1.3 2001/05/09 18:19:55 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see RegexFilenameFilter * @see AwkFilenameFilter * @see GlobFilenameFilter 1.5 +7 -4 jakarta-oro/src/java/org/apache/oro/io/RegexFilenameFilter.java Index: RegexFilenameFilter.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/io/RegexFilenameFilter.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- RegexFilenameFilter.java 2001/05/09 18:19:56 1.4 +++ RegexFilenameFilter.java 2001/05/20 23:55:17 1.5 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: RegexFilenameFilter.java,v 1.5 2001/05/20 23:55:17 dfs Exp $ + */ import java.io.*; import org.apache.oro.text.regex.*; @@ -65,10 +68,10 @@ /** * RegexFilenameFilter is the base class for a set of FilenameFilter * implementations that filter based on a regular expression. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: RegexFilenameFilter.java,v 1.4 2001/05/09 18:19:56 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see Perl5FilenameFilter * @see AwkFilenameFilter * @see GlobFilenameFilter 1.4 +8 -4 jakarta-oro/src/java/org/apache/oro/text/DefaultMatchAction.java Index: DefaultMatchAction.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/DefaultMatchAction.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- DefaultMatchAction.java 2001/05/09 18:20:03 1.3 +++ DefaultMatchAction.java 2001/05/20 23:55:18 1.4 @@ -56,14 +56,18 @@ * Portions of this software are based upon software originally written * by Daniel F. Savarese. We appreciate his contributions. */ + +/* + * $Id: DefaultMatchAction.java,v 1.4 2001/05/20 23:55:18 dfs Exp $ + */ /** * DefaultMatchAction is a support class for MatchActionProcessor, * providing a default match action. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: DefaultMatchAction.java,v 1.3 2001/05/09 18:20:03 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see MatchActionProcessor */ final class DefaultMatchAction implements MatchAction { 1.4 +7 -4 jakarta-oro/src/java/org/apache/oro/text/GenericPatternCache.java Index: GenericPatternCache.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/GenericPatternCache.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- GenericPatternCache.java 2001/05/09 18:20:05 1.3 +++ GenericPatternCache.java 2001/05/20 23:55:18 1.4 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: GenericPatternCache.java,v 1.4 2001/05/20 23:55:18 dfs Exp $ + */ import java.util.*; import org.apache.oro.text.regex.*; @@ -69,10 +72,10 @@ * package, users may not derive subclasses from this class. * Rather, users should create their own implmentations of the * {@link PatternCache} interface. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: GenericPatternCache.java,v 1.3 2001/05/09 18:20:05 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see PatternCache * @see PatternCacheLRU * @see PatternCacheFIFO 1.4 +7 -4 jakarta-oro/src/java/org/apache/oro/text/GlobCompiler.java Index: GlobCompiler.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/GlobCompiler.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- GlobCompiler.java 2001/05/09 18:20:06 1.3 +++ GlobCompiler.java 2001/05/20 23:55:18 1.4 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: GlobCompiler.java,v 1.4 2001/05/20 23:55:18 dfs Exp $ + */ import org.apache.oro.text.regex.*; /** @@ -106,10 +109,10 @@ * the backslash character is itself a special Java character, and it must * be double backslashed to represent single backslash in a regular * expression. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: GlobCompiler.java,v 1.3 2001/05/09 18:20:06 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see org.apache.oro.text.regex.PatternCompiler * @see org.apache.oro.text.regex.Perl5Matcher */ 1.4 +8 -4 jakarta-oro/src/java/org/apache/oro/text/MalformedCachePatternException.java Index: MalformedCachePatternException.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/MalformedCachePatternException.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- MalformedCachePatternException.java 2001/05/09 18:20:08 1.3 +++ MalformedCachePatternException.java 2001/05/20 23:55:18 1.4 @@ -57,6 +57,10 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: MalformedCachePatternException.java,v 1.4 2001/05/20 23:55:18 dfs Exp $ + */ + /** * An exception used to indicate errors in a regular expression fetched * from a PatternCache. @@ -72,10 +76,10 @@ * However, pieces of code with expressions that you cannot guarantee to * be correct should catch MalformedCachePatternException to ensure * reliability. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: MalformedCachePatternException.java,v 1.3 2001/05/09 18:20:08 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see PatternCache */ public class MalformedCachePatternException extends RuntimeException { 1.4 +8 -4 jakarta-oro/src/java/org/apache/oro/text/MatchAction.java Index: MatchAction.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/MatchAction.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- MatchAction.java 2001/05/09 18:20:09 1.3 +++ MatchAction.java 2001/05/20 23:55:18 1.4 @@ -57,16 +57,20 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: MatchAction.java,v 1.4 2001/05/20 23:55:18 dfs Exp $ + */ + /** * The MatchAction interface provides the callback interface for actions * bound to patterns in * {@link MatchActionProcessor}. More often than not, you will want to * create MatchAction instances as anonymous classes when adding pattern * action pairs to a MatchActionProcessor instance. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: MatchAction.java,v 1.3 2001/05/09 18:20:09 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see MatchActionProcessor * @see MatchActionInfo */ 1.4 +8 -5 jakarta-oro/src/java/org/apache/oro/text/MatchActionInfo.java Index: MatchActionInfo.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/MatchActionInfo.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- MatchActionInfo.java 2001/05/09 18:20:10 1.3 +++ MatchActionInfo.java 2001/05/20 23:55:18 1.4 @@ -56,7 +56,10 @@ * Portions of this software are based upon software originally written * by Daniel F. Savarese. We appreciate his contributions. */ - + +/* + * $Id: MatchActionInfo.java,v 1.4 2001/05/20 23:55:18 dfs Exp $ + */ import java.util.*; import java.io.*; @@ -65,10 +68,10 @@ /** * This class is used to provide information regarding a match found by * MatchActionProcessor to a MatchAction callback implementation. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: MatchActionInfo.java,v 1.3 2001/05/09 18:20:10 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see MatchAction * @see MatchActionProcessor */ 1.4 +8 -5 jakarta-oro/src/java/org/apache/oro/text/MatchActionProcessor.java Index: MatchActionProcessor.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/MatchActionProcessor.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- MatchActionProcessor.java 2001/05/09 18:20:12 1.3 +++ MatchActionProcessor.java 2001/05/20 23:55:18 1.4 @@ -56,7 +56,10 @@ * Portions of this software are based upon software originally written * by Daniel F. Savarese. We appreciate his contributions. */ - + +/* + * $Id: MatchActionProcessor.java,v 1.4 2001/05/20 23:55:18 dfs Exp $ + */ import java.io.*; import java.util.*; @@ -131,10 +134,10 @@ * 6;Honolulu;Hawaii * 7;Santa Fe;New Mexico * </pre> - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: MatchActionProcessor.java,v 1.3 2001/05/09 18:20:12 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see MatchAction * @see MatchActionInfo */ 1.4 +7 -4 jakarta-oro/src/java/org/apache/oro/text/PatternCache.java Index: PatternCache.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/PatternCache.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- PatternCache.java 2001/05/09 18:20:14 1.3 +++ PatternCache.java 2001/05/20 23:55:18 1.4 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: PatternCache.java,v 1.4 2001/05/20 23:55:18 dfs Exp $ + */ import org.apache.oro.text.regex.*; /** @@ -68,10 +71,10 @@ * explicitly manage these operation himself. The main benefit derived * is the ease of use from only having to express regular expressions * by their String representations. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: PatternCache.java,v 1.3 2001/05/09 18:20:14 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see MalformedCachePatternException */ 1.4 +7 -4 jakarta-oro/src/java/org/apache/oro/text/PatternCacheFIFO.java Index: PatternCacheFIFO.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/PatternCacheFIFO.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- PatternCacheFIFO.java 2001/05/09 18:20:15 1.3 +++ PatternCacheFIFO.java 2001/05/20 23:55:18 1.4 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: PatternCacheFIFO.java,v 1.4 2001/05/20 23:55:18 dfs Exp $ + */ import java.util.*; import org.apache.oro.text.regex.*; @@ -68,10 +71,10 @@ * added to the cache until the cache becomes full. Once the cache is full, * if a new pattern is added to the cache, it replaces the first of * the current patterns in the cache to have been added. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: PatternCacheFIFO.java,v 1.3 2001/05/09 18:20:15 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see GenericPatternCache */ public final class PatternCacheFIFO extends GenericPatternCache { 1.4 +7 -4 jakarta-oro/src/java/org/apache/oro/text/PatternCacheFIFO2.java Index: PatternCacheFIFO2.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/PatternCacheFIFO2.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- PatternCacheFIFO2.java 2001/05/09 18:20:16 1.3 +++ PatternCacheFIFO2.java 2001/05/20 23:55:18 1.4 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: PatternCacheFIFO2.java,v 1.4 2001/05/20 23:55:18 dfs Exp $ + */ import java.util.*; import org.apache.oro.text.regex.*; @@ -75,10 +78,10 @@ * replacement in the same manner. If all the patterns are given a * second chance, then the original pattern selected for replacement is * replaced. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: PatternCacheFIFO2.java,v 1.3 2001/05/09 18:20:16 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see GenericPatternCache */ public final class PatternCacheFIFO2 extends GenericPatternCache { 1.4 +7 -4 jakarta-oro/src/java/org/apache/oro/text/PatternCacheLRU.java Index: PatternCacheLRU.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/PatternCacheLRU.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- PatternCacheLRU.java 2001/05/09 18:20:18 1.3 +++ PatternCacheLRU.java 2001/05/20 23:55:18 1.4 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: PatternCacheLRU.java,v 1.4 2001/05/20 23:55:18 dfs Exp $ + */ import java.util.*; import org.apache.oro.text.regex.*; @@ -69,10 +72,10 @@ * cache is full, when a new pattern is added to the cache, it replaces * the least recently used pattern currently in the cache. This is probably * the best general purpose pattern cache replacement policy. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: PatternCacheLRU.java,v 1.3 2001/05/09 18:20:18 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see GenericPatternCache */ public final class PatternCacheLRU extends GenericPatternCache { 1.4 +7 -4 jakarta-oro/src/java/org/apache/oro/text/PatternCacheRandom.java Index: PatternCacheRandom.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/PatternCacheRandom.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- PatternCacheRandom.java 2001/05/09 18:20:19 1.3 +++ PatternCacheRandom.java 2001/05/20 23:55:19 1.4 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: PatternCacheRandom.java,v 1.4 2001/05/20 23:55:19 dfs Exp $ + */ import java.util.*; import org.apache.oro.text.regex.*; @@ -68,10 +71,10 @@ * patterns are added to the cache until it becomes full. Once the * cache is full, when a new pattern is added to the cache, it replaces * a randomly selected pattern in the cache. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: PatternCacheRandom.java,v 1.3 2001/05/09 18:20:19 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see GenericPatternCache */ public final class PatternCacheRandom extends GenericPatternCache { 1.5 +7 -4 jakarta-oro/src/java/org/apache/oro/text/awk/AwkCompiler.java Index: AwkCompiler.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/AwkCompiler.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- AwkCompiler.java 2001/05/09 18:20:38 1.4 +++ AwkCompiler.java 2001/05/20 23:55:21 1.5 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: AwkCompiler.java,v 1.5 2001/05/20 23:55:21 dfs Exp $ + */ import org.apache.oro.text.regex.*; /** @@ -133,10 +136,10 @@ * <dt> \0 <dd> matches null character * </dl> * </ul></ul> - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: AwkCompiler.java,v 1.4 2001/05/09 18:20:38 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see org.apache.oro.text.regex.PatternCompiler * @see org.apache.oro.text.regex.MalformedPatternException * @see AwkPattern 1.4 +7 -4 jakarta-oro/src/java/org/apache/oro/text/awk/AwkMatchResult.java Index: AwkMatchResult.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/AwkMatchResult.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- AwkMatchResult.java 2001/05/09 18:20:40 1.3 +++ AwkMatchResult.java 2001/05/20 23:55:21 1.4 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: AwkMatchResult.java,v 1.4 2001/05/20 23:55:21 dfs Exp $ + */ import org.apache.oro.text.regex.*; /** @@ -64,10 +67,10 @@ * It is important for you to remember that AwkMatcher does not save * parenthesized sub-group information. Therefore the number of groups * saved in an AwkMatchResult will always be 1. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: AwkMatchResult.java,v 1.3 2001/05/09 18:20:40 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see org.apache.oro.text.regex.PatternMatcher * @see AwkMatcher * @see AwkCompiler 1.5 +7 -4 jakarta-oro/src/java/org/apache/oro/text/awk/AwkMatcher.java Index: AwkMatcher.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/AwkMatcher.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- AwkMatcher.java 2001/05/09 18:20:42 1.4 +++ AwkMatcher.java 2001/05/20 23:55:21 1.5 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: AwkMatcher.java,v 1.5 2001/05/20 23:55:21 dfs Exp $ + */ import java.io.*; import org.apache.oro.text.regex.*; @@ -73,10 +76,10 @@ * It is important for you to remember that AwkMatcher does not save * parenthesized sub-group information. Therefore the number of groups * saved in a MatchResult produced by AwkMatcher will always be 1. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: AwkMatcher.java,v 1.4 2001/05/09 18:20:42 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see org.apache.oro.text.regex.PatternMatcher * @see AwkCompiler */ 1.4 +7 -4 jakarta-oro/src/java/org/apache/oro/text/awk/AwkPattern.java Index: AwkPattern.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/AwkPattern.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- AwkPattern.java 2001/05/09 18:20:44 1.3 +++ AwkPattern.java 2001/05/20 23:55:21 1.4 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: AwkPattern.java,v 1.4 2001/05/20 23:55:21 dfs Exp $ + */ import java.io.Serializable; import java.util.*; @@ -84,10 +87,10 @@ * so that pre-compiled patterns may be saved to disk and re-read at a later * time. AwkPattern instances should only be created through calls to an * AwkCompiler instance's compile() methods - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: AwkPattern.java,v 1.3 2001/05/09 18:20:44 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see AwkCompiler * @see AwkMatcher */ 1.4 +7 -4 jakarta-oro/src/java/org/apache/oro/text/awk/AwkStreamInput.java Index: AwkStreamInput.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/AwkStreamInput.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- AwkStreamInput.java 2001/05/09 18:20:46 1.3 +++ AwkStreamInput.java 2001/05/20 23:55:21 1.4 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: AwkStreamInput.java,v 1.4 2001/05/20 23:55:21 dfs Exp $ + */ import java.io.*; import org.apache.oro.text.regex.*; @@ -83,10 +86,10 @@ * In the future the programmer will be able to set this class to save * all the input it sees so that it can be accessed later. This will avoid * having to read a stream more than once for whatever reason. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: AwkStreamInput.java,v 1.3 2001/05/09 18:20:46 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see AwkMatcher */ public final class AwkStreamInput { 1.4 +6 -2 jakarta-oro/src/java/org/apache/oro/text/awk/CatNode.java Index: CatNode.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/CatNode.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- CatNode.java 2001/05/09 18:20:47 1.3 +++ CatNode.java 2001/05/20 23:55:21 1.4 @@ -57,11 +57,15 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: CatNode.java,v 1.4 2001/05/20 23:55:21 dfs Exp $ + */ import java.util.*; /** - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: CatNode.java,v 1.3 2001/05/09 18:20:47 dfs Exp $ + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 */ final class CatNode extends SyntaxNode { SyntaxNode _left, _right; 1.4 +6 -2 jakarta-oro/src/java/org/apache/oro/text/awk/CharacterClassNode.java Index: CharacterClassNode.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/CharacterClassNode.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- CharacterClassNode.java 2001/05/09 18:20:49 1.3 +++ CharacterClassNode.java 2001/05/20 23:55:21 1.4 @@ -57,11 +57,15 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: CharacterClassNode.java,v 1.4 2001/05/20 23:55:21 dfs Exp $ + */ import java.util.*; /** - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: CharacterClassNode.java,v 1.3 2001/05/09 18:20:49 dfs Exp $ + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 */ class CharacterClassNode extends LeafNode { BitSet _characterSet; 1.4 +6 -2 jakarta-oro/src/java/org/apache/oro/text/awk/EpsilonNode.java Index: EpsilonNode.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/EpsilonNode.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- EpsilonNode.java 2001/05/09 18:20:52 1.3 +++ EpsilonNode.java 2001/05/20 23:55:21 1.4 @@ -57,11 +57,15 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: EpsilonNode.java,v 1.4 2001/05/20 23:55:21 dfs Exp $ + */ import java.util.*; /** - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: EpsilonNode.java,v 1.3 2001/05/09 18:20:52 dfs Exp $ + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 */ final class EpsilonNode extends SyntaxNode { BitSet _positionSet = new BitSet(1); 1.4 +6 -2 jakarta-oro/src/java/org/apache/oro/text/awk/LeafNode.java Index: LeafNode.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/LeafNode.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- LeafNode.java 2001/05/09 18:20:53 1.3 +++ LeafNode.java 2001/05/20 23:55:21 1.4 @@ -57,11 +57,15 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: LeafNode.java,v 1.4 2001/05/20 23:55:21 dfs Exp $ + */ import java.util.*; /** - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: LeafNode.java,v 1.3 2001/05/09 18:20:53 dfs Exp $ + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 */ abstract class LeafNode extends SyntaxNode { static final int _NUM_TOKENS = 256; 1.4 +6 -2 jakarta-oro/src/java/org/apache/oro/text/awk/NegativeCharacterClassNode.java Index: NegativeCharacterClassNode.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/NegativeCharacterClassNode.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- NegativeCharacterClassNode.java 2001/05/09 18:20:54 1.3 +++ NegativeCharacterClassNode.java 2001/05/20 23:55:22 1.4 @@ -57,11 +57,15 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: NegativeCharacterClassNode.java,v 1.4 2001/05/20 23:55:22 dfs Exp $ + */ import java.util.*; /** - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: NegativeCharacterClassNode.java,v 1.3 2001/05/09 18:20:54 dfs Exp $ + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 */ final class NegativeCharacterClassNode extends CharacterClassNode { 1.4 +6 -2 jakarta-oro/src/java/org/apache/oro/text/awk/OrNode.java Index: OrNode.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/OrNode.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- OrNode.java 2001/05/09 18:20:56 1.3 +++ OrNode.java 2001/05/20 23:55:22 1.4 @@ -57,11 +57,15 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: OrNode.java,v 1.4 2001/05/20 23:55:22 dfs Exp $ + */ import java.util.*; /** - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: OrNode.java,v 1.3 2001/05/09 18:20:56 dfs Exp $ + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 */ class OrNode extends SyntaxNode { SyntaxNode _left, _right; 1.4 +7 -2 jakarta-oro/src/java/org/apache/oro/text/awk/PlusNode.java Index: PlusNode.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/PlusNode.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- PlusNode.java 2001/05/09 18:20:57 1.3 +++ PlusNode.java 2001/05/20 23:55:22 1.4 @@ -57,9 +57,14 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: PlusNode.java,v 1.4 2001/05/20 23:55:22 dfs Exp $ + */ + /** - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: PlusNode.java,v 1.3 2001/05/09 18:20:57 dfs Exp $ + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.o */ final class PlusNode extends StarNode { 1.4 +7 -2 jakarta-oro/src/java/org/apache/oro/text/awk/QuestionNode.java Index: QuestionNode.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/QuestionNode.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- QuestionNode.java 2001/05/09 18:20:59 1.3 +++ QuestionNode.java 2001/05/20 23:55:22 1.4 @@ -57,9 +57,14 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: QuestionNode.java,v 1.4 2001/05/20 23:55:22 dfs Exp $ + */ + /** - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: QuestionNode.java,v 1.3 2001/05/09 18:20:59 dfs Exp $ + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 */ final class QuestionNode extends OrNode { final static SyntaxNode _epsilon = new EpsilonNode(); 1.4 +6 -2 jakarta-oro/src/java/org/apache/oro/text/awk/StarNode.java Index: StarNode.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/StarNode.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- StarNode.java 2001/05/09 18:21:00 1.3 +++ StarNode.java 2001/05/20 23:55:22 1.4 @@ -57,11 +57,15 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: StarNode.java,v 1.4 2001/05/20 23:55:22 dfs Exp $ + */ import java.util.*; /** - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: StarNode.java,v 1.3 2001/05/09 18:21:00 dfs Exp $ + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 */ class StarNode extends SyntaxNode { SyntaxNode _left; 1.4 +6 -3 jakarta-oro/src/java/org/apache/oro/text/awk/SyntaxNode.java Index: SyntaxNode.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/SyntaxNode.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- SyntaxNode.java 2001/05/09 18:21:01 1.3 +++ SyntaxNode.java 2001/05/20 23:55:22 1.4 @@ -57,12 +57,15 @@ * by Daniel F. Savarese. We appreciate his contributions. */ - +/* + * $Id: SyntaxNode.java,v 1.4 2001/05/20 23:55:22 dfs Exp $ + */ import java.util.*; /** - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: SyntaxNode.java,v 1.3 2001/05/09 18:21:01 dfs Exp $ + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 */ abstract class SyntaxNode { abstract boolean _nullable(); 1.4 +12 -8 jakarta-oro/src/java/org/apache/oro/text/awk/SyntaxTree.java Index: SyntaxTree.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/SyntaxTree.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- SyntaxTree.java 2001/05/09 18:21:03 1.3 +++ SyntaxTree.java 2001/05/20 23:55:22 1.4 @@ -57,16 +57,20 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: SyntaxTree.java,v 1.4 2001/05/20 23:55:22 dfs Exp $ + * + * IMPORTANT!!!!!!!!!!!!! + * Don't forget to optimize this module. The calculation of follow can + * be accelerated by calculating first and last only once for each node and + * saving instead of doing dynamic calculation every time. + */ import java.util.*; - /** - IMPORTANT!!!!!!!!!!!!! - Don't forget to optimize this module. The calculation of follow can - be accelerated by calculating first and last only once for each node and - saving instead of doing dynamic calculation every time. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: SyntaxTree.java,v 1.3 2001/05/09 18:21:03 dfs Exp $ +/** + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 */ final class SyntaxTree { int _positions; 1.4 +8 -3 jakarta-oro/src/java/org/apache/oro/text/awk/TokenNode.java Index: TokenNode.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/awk/TokenNode.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- TokenNode.java 2001/05/09 18:21:04 1.3 +++ TokenNode.java 2001/05/20 23:55:22 1.4 @@ -57,9 +57,14 @@ * by Daniel F. Savarese. We appreciate his contributions. */ - /** - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: TokenNode.java,v 1.3 2001/05/09 18:21:04 dfs Exp $ +/* + * $Id: TokenNode.java,v 1.4 2001/05/20 23:55:22 dfs Exp $ + */ + +/** + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 */ class TokenNode extends LeafNode { char _token; 1.4 +8 -4 jakarta-oro/src/java/org/apache/oro/util/Cache.java Index: Cache.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/util/Cache.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- Cache.java 2001/05/09 18:22:40 1.3 +++ Cache.java 2001/05/20 23:55:24 1.4 @@ -57,12 +57,16 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: Cache.java,v 1.4 2001/05/20 23:55:24 dfs Exp $ + */ + /** * An interface defining the basic functions of a cache. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: Cache.java,v 1.3 2001/05/09 18:22:40 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 */ public interface Cache { 1.4 +7 -4 jakarta-oro/src/java/org/apache/oro/util/CacheFIFO.java Index: CacheFIFO.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/util/CacheFIFO.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- CacheFIFO.java 2001/05/09 18:22:42 1.3 +++ CacheFIFO.java 2001/05/20 23:55:24 1.4 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: CacheFIFO.java,v 1.4 2001/05/20 23:55:24 dfs Exp $ + */ import java.util.*; /** @@ -65,10 +68,10 @@ * added to the cache until the cache becomes full. Once the cache is full, * if a new pattern is added to the cache, it replaces the first of * the current patterns in the cache to have been added. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: CacheFIFO.java,v 1.3 2001/05/09 18:22:42 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see GenericCache */ 1.4 +7 -4 jakarta-oro/src/java/org/apache/oro/util/CacheFIFO2.java Index: CacheFIFO2.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/util/CacheFIFO2.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- CacheFIFO2.java 2001/05/09 18:22:44 1.3 +++ CacheFIFO2.java 2001/05/20 23:55:24 1.4 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: CacheFIFO2.java,v 1.4 2001/05/20 23:55:24 dfs Exp $ + */ import java.util.*; /** @@ -72,10 +75,10 @@ * replacement in the same manner. If all the values are given a * second chance, then the original pattern selected for replacement is * replaced. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: CacheFIFO2.java,v 1.3 2001/05/09 18:22:44 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see GenericCache */ public final class CacheFIFO2 extends GenericCache { 1.4 +7 -4 jakarta-oro/src/java/org/apache/oro/util/CacheLRU.java Index: CacheLRU.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/util/CacheLRU.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- CacheLRU.java 2001/05/09 18:22:46 1.3 +++ CacheLRU.java 2001/05/20 23:55:24 1.4 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: CacheLRU.java,v 1.4 2001/05/20 23:55:24 dfs Exp $ + */ import java.util.*; /** @@ -66,10 +69,10 @@ * cache is full, when a new value is added to the cache, it replaces * the least recently used value currently in the cache. This is probably * the best general purpose cache replacement policy. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: CacheLRU.java,v 1.3 2001/05/09 18:22:46 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see GenericCache */ public final class CacheLRU extends GenericCache { 1.4 +7 -4 jakarta-oro/src/java/org/apache/oro/util/CacheRandom.java Index: CacheRandom.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/util/CacheRandom.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- CacheRandom.java 2001/05/09 18:22:48 1.3 +++ CacheRandom.java 2001/05/20 23:55:25 1.4 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: CacheRandom.java,v 1.4 2001/05/20 23:55:25 dfs Exp $ + */ import java.util.*; /** @@ -65,10 +68,10 @@ * values are added to the cache until it becomes full. Once the * cache is full, when a new value is added to the cache, it replaces * a randomly selected value in the cache. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: CacheRandom.java,v 1.3 2001/05/09 18:22:48 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see GenericCache */ public final class CacheRandom extends GenericCache { 1.5 +7 -4 jakarta-oro/src/java/org/apache/oro/util/GenericCache.java Index: GenericCache.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/util/GenericCache.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- GenericCache.java 2001/05/19 20:15:04 1.4 +++ GenericCache.java 2001/05/20 23:55:25 1.5 @@ -57,6 +57,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: GenericCache.java,v 1.5 2001/05/20 23:55:25 dfs Exp $ + */ import java.util.*; /** @@ -68,10 +71,10 @@ * package, users may not derive subclasses from this class. * Rather, users should create their own implmentations of the * {@link Cache} interface. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: GenericCache.java,v 1.4 2001/05/19 20:15:04 dfs Exp $ - + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 * @see Cache * @see CacheLRU * @see CacheFIFO 1.4 +8 -3 jakarta-oro/src/java/org/apache/oro/util/GenericCacheEntry.java Index: GenericCacheEntry.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/util/GenericCacheEntry.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- GenericCacheEntry.java 2001/05/09 18:22:53 1.3 +++ GenericCacheEntry.java 2001/05/20 23:55:25 1.4 @@ -57,13 +57,18 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: GenericCacheEntry.java,v 1.4 2001/05/20 23:55:25 dfs Exp $ + */ + /** * A structure used to store values in a GenericCache. It * is declared with default access to limit it to use only within the * package. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: GenericCacheEntry.java,v 1.3 2001/05/09 18:22:53 dfs Exp $ + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 1.0 */ final class GenericCacheEntry implements java.io.Serializable { /** The cache array index of the entry. */ 1.4 +7 -3 jakarta-oro/src/java/tools/oroToApache.java Index: oroToApache.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/tools/oroToApache.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- oroToApache.java 2001/05/09 18:23:06 1.3 +++ oroToApache.java 2001/05/20 23:55:26 1.4 @@ -55,6 +55,9 @@ * by Daniel F. Savarese. We appreciate his contributions. */ +/* + * $Id: oroToApache.java,v 1.4 2001/05/20 23:55:26 dfs Exp $ + */ import java.io.*; import org.apache.oro.text.regex.*; @@ -67,9 +70,10 @@ * ORO software will not have packages like com.oroinc.net become * org.apache.net. However, you will still have to manually fix some * code if you use the com.oroinc.io classes from NetComponents. - - @author <a href="mailto:[email protected]">Daniel F. Savarese</a> - @version $Id: oroToApache.java,v 1.3 2001/05/09 18:23:06 dfs Exp $ + * + * @author <a href="mailto:[email protected]">Daniel F. Savarese</a> + * @version @version@ + * @since 2.0 */ public final class oroToApache { public static final String PACKAGE_PATTERN = "com\\.oroinc\\.(io|text|util)"; From [email protected] Sun May 20 23:56:42 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3145 invoked by uid 500); 20 May 2001 23:56:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 3135 invoked by uid 500); 20 May 2001 23:56:42 -0000 Delivered-To: [email protected] Date: 20 May 2001 23:56:41 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro/build build.xml dfs 01/05/20 16:56:41 Modified: . CHANGES build build.xml Log: Incremented version number to 2.0.3 in anticipation of release. Revision Changes Path 1.11 +2 -2 jakarta-oro/CHANGES Index: CHANGES =================================================================== RCS file: /home/cvs/jakarta-oro/CHANGES,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- CHANGES 2001/05/20 22:46:08 1.10 +++ CHANGES 2001/05/20 23:56:41 1.11 @@ -1,6 +1,6 @@ -$Id: CHANGES,v 1.10 2001/05/20 22:46:08 dfs Exp $ +$Id: CHANGES,v 1.11 2001/05/20 23:56:41 dfs Exp $ -Version 2.x +Version 2.0.3 o Changed version information in javadocs to correspond to release version rather than CVS version. 1.8 +2 -2 jakarta-oro/build/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-oro/build/build.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- build.xml 2001/05/20 06:58:04 1.7 +++ build.xml 2001/05/20 23:56:41 1.8 @@ -1,11 +1,11 @@ <?xml version="1.0"?> -<!-- $Id: build.xml,v 1.7 2001/05/20 06:58:04 dfs Exp $ --> +<!-- $Id: build.xml,v 1.8 2001/05/20 23:56:41 dfs Exp $ --> <project name="Jakarta-ORO" default="jar" basedir="."> <property name="Name" value="Jakarta-ORO"/> <property name="year" value="2001"/> - <property name="version" value="2.0.3-dev-1"/> + <property name="version" value="2.0.3"/> <property name="project" value="jakarta-oro"/> <property name="top.dir" value=".."/> <property name="code.src" value="${top.dir}/src"/> From [email protected] Mon May 21 00:15:56 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9851 invoked by uid 500); 21 May 2001 00:15:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 9842 invoked from network); 21 May 2001 00:15:55 -0000 User-Agent: Microsoft-Entourage/161.129.204.10408 Date: Sun, 20 May 2001 17:15:59 -0700 Subject: Recent @version changes... From: Jon Stevens <[email protected]> To: <[email protected]> Message-ID: <[email protected]> In-Reply-To: <[email protected]> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Dfs: One reason to use $Id: $ instead of the actual version is that in the Open Source world, someone could be downloading your source code from CVS and working with that. Then, if they report a bug, the @version of the file won't be anything meaningful, where as if you keep the $Id: $ there, the result is indeed something meaningful. -jon From [email protected] Mon May 21 00:18:53 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10845 invoked by uid 500); 21 May 2001 00:18:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 10836 invoked by uid 500); 21 May 2001 00:18:51 -0000 Delivered-To: [email protected] Date: 21 May 2001 00:18:51 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro/build build.xml dfs 01/05/20 17:18:51 Modified: build build.xml Log: Updated docs build rule to generate demonstration applet so that it can be used offline. Revision Changes Path 1.9 +15 -2 jakarta-oro/build/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-oro/build/build.xml,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- build.xml 2001/05/20 23:56:41 1.8 +++ build.xml 2001/05/21 00:18:50 1.9 @@ -1,5 +1,5 @@ <?xml version="1.0"?> -<!-- $Id: build.xml,v 1.8 2001/05/20 23:56:41 dfs Exp $ --> +<!-- $Id: build.xml,v 1.9 2001/05/21 00:18:50 dfs Exp $ --> <project name="Jakarta-ORO" default="jar" basedir="."> @@ -116,7 +116,7 @@ </target> <!-- docs target. Creates project web pages and documentation. --> - <target name="docs" depends="prepare-error" + <target name="docs" depends="prepare-error,lib,examples" if="AnakiaTask.present"> <taskdef name="anakia" classname="org.apache.velocity.anakia.AnakiaTask"/> <anakia basedir="${docs.src}" destdir="${docs.dest}/" @@ -133,6 +133,19 @@ <include name="**/*.gif"/> <include name="**/*.jpeg"/> <include name="**/*.jpg"/> + </fileset> + </copy> + + <mkdir dir="${docs.dest}/classes"/> + <copy todir="${docs.dest}/classes" filtering="no"> + <fileset dir="${build.dest}"> + <include name="MatcherDemoApplet.class"/> + </fileset> + </copy> + <mkdir dir="${docs.dest}/classes/org"/> + <copy todir="${docs.dest}/classes/org" filtering="no"> + <fileset dir="${build.dest}/org"> + <include name="**/*.class"/> </fileset> </copy> </target> From [email protected] Mon May 21 00:20:28 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11074 invoked by uid 500); 21 May 2001 00:20:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 11065 invoked by uid 500); 21 May 2001 00:20:28 -0000 Delivered-To: [email protected] Date: 21 May 2001 00:20:27 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro TODO dfs 01/05/20 17:20:27 Modified: . TODO Log: Knocked one item off and added another (see diff). Revision Changes Path 1.6 +5 -5 jakarta-oro/TODO Index: TODO =================================================================== RCS file: /home/cvs/jakarta-oro/TODO,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- TODO 2001/05/20 22:46:08 1.5 +++ TODO 2001/05/21 00:20:27 1.6 @@ -1,4 +1,4 @@ -$Id: TODO,v 1.5 2001/05/20 22:46:08 dfs Exp $ +$Id: TODO,v 1.6 2001/05/21 00:20:27 dfs Exp $ o Optimize/improve Unicode character classes. @@ -20,9 +20,6 @@ o Reduce the memory overhead of case insensitive matching in Perl5Matcher. -o Make build.xml build the demonstration applet and integrate with - docs/ tree. - o Measure performance of HotSpot iterating through match input via an interface's virtual function versus direct character array indexing. If HotSpot dynamically inlines the functions and achieves comparable @@ -43,4 +40,7 @@ gigabyte length files!). Additional methods could be added to regulate buffer growth behavior, whether to save all of it for reuse in a future pass, etc. - \ No newline at end of file + +o Make separate src and bin distributions. Current distribution is + getting big on account of 1.2 MB of API docs. src only distribution + should be half the size of bin distribution for quicker download. From [email protected] Mon May 21 00:36:30 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 16399 invoked by uid 500); 21 May 2001 00:36:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 16390 invoked from network); 21 May 2001 00:36:30 -0000 Message-Id: <[email protected]> X-Mailer: exmh version 2.0.3 To: [email protected] Subject: Re: Recent @version changes... In-reply-to: Your message of "Sun, 20 May 2001 17:15:59 PDT." <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 20 May 2001 20:36:12 -0400 From: "Daniel F. Savarese" <[email protected]> X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N >One reason to use $Id: $ instead of the actual version is that in the Open >Source world, someone could be downloading your source code from CVS and >working with that. Then, if they report a bug, the @version of the file >won't be anything meaningful, where as if you keep the $Id: $ there, the >result is indeed something meaningful. I think the API documentation should really reference the release version. If you're working with the source, the Id is in the source file. I prefer to place the Id at the very top of the file, but Jakarta conventions dictate that the license appear first, so I placed it after the license. My view is that release versions are for consumers of the product (hence the need for it in the documentation), CVS versions are for developers (hence the need for it in the source). The @version of the file won't be meaningful to anyone working with the source anyway because it gets generated via an ant substitution in the javadocs (replaces @version@ with the release version). So anyone working with the source will have to use the Id tag no matter what. I don't believe there's any conflict with what you're saying. daniel From [email protected] Tue May 22 04:28:48 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69730 invoked by uid 500); 22 May 2001 04:28:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 69709 invoked from network); 22 May 2001 04:28:43 -0000 Date: Tue, 22 May 2001 13:33:07 +0000 Message-ID: <[email protected]> From: Takashi Okamoto <[email protected]> To: [email protected] Subject: Re: Vote to release 2.0.3 In-Reply-To: <[email protected]> References: <[email protected]> User-Agent: Wanderlust/2.5.8 (Smooth) SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.3 Emacs/20.7 (i386-debian-linux-gnu) MULE/4.1 (AOI) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N > At any rate, my vote is: > +1 I want to give +1 though I don't know I can do it or not... BTW, I have a interesting bench mark data about Hotspot. Jakarta ORO 2.0.1 747 281 Jakarta Regexp 1.2 1005 721 left: processing time before optimized by Hotspot right: processing time after optimized by Hotspot JVM: Blackdown JDK1.3fcs OS : Linux 2.2.17 CPU,MEM: PentiumII 266,128M I have Japanese page that introduce it, http://www.mycgiserver.com/~tora/java/regexp.html Sorry, I can't explain this contents at this moment in English. (Maybe I need more time. I'm not [email protected]...) But it's clealy, if the implementation of CharStringPointer close Regexp's CharacterIterator, the performance which is optimized by Hotspot will be much down. We may want CharStringPointer then good performance because the recent computer is enough fast. regards. ---------------------------- ^^ Takashi Okamoto <[email protected]> = ..= Debian Project -o- Key fingerprint: 8B37 1FE6 76B2 7BA6 D59A 9BF7 E7F4 46C8 5293 6E17 From [email protected] Tue May 22 23:59:27 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8907 invoked by uid 500); 22 May 2001 23:58:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 8353 invoked by uid 500); 22 May 2001 23:58:48 -0000 Delivered-To: [email protected] Date: 22 May 2001 23:58:44 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro/xdocs status.xml dfs 01/05/22 16:58:43 Modified: xdocs status.xml Log: Updated status for v2.0.3. Revision Changes Path 1.2 +9 -9 jakarta-oro/xdocs/status.xml Index: status.xml =================================================================== RCS file: /home/cvs/jakarta-oro/xdocs/status.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- status.xml 2001/05/18 08:30:40 1.1 +++ status.xml 2001/05/22 23:58:39 1.2 @@ -1,5 +1,5 @@ <?xml version="1.0"?> -<!-- $Id: status.xml,v 1.1 2001/05/18 08:30:40 dfs Exp $ --> +<!-- $Id: status.xml,v 1.2 2001/05/22 23:58:39 dfs Exp $ --> <document> <properties> @@ -12,14 +12,14 @@ <section name="Project Status"> <p> - Version 2.0.2 currently supports Perl 5.003 regular expressions - in the org.apache.oro.text.regex and org.apache.oro.text.perl - packages. The main development goal is to upgrade these - packages to support Perl 5.6 regular expressions. The - development plan will lay out the path to achieving this - objective and this status page will report the state of our - progress. Our current objective is to settle on a development - plan by June 11, 2001. + Version 2.0.3 is the latest release. It currently supports Perl + 5.003 regular expressions in the org.apache.oro.text.regex and + org.apache.oro.text.perlpackages. The main development goal is + to upgrade these packages to support Perl 5.6 regular + expressions. The development plan will lay out the path to + achieving this objective and this status page will report the + state of our progress. Our current objective is to settle on a + development plan by June 11, 2001. </p> </section> From [email protected] Wed May 23 00:01:21 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11770 invoked by uid 500); 23 May 2001 00:00:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 11556 invoked by uid 500); 23 May 2001 00:00:44 -0000 Delivered-To: [email protected] Date: 23 May 2001 00:00:38 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro COMPILE README dfs 01/05/22 17:00:38 Modified: . COMPILE README Log: Changed reference to build-oro.sh to build.sh Revision Changes Path 1.2 +3 -3 jakarta-oro/COMPILE Index: COMPILE =================================================================== RCS file: /home/cvs/jakarta-oro/COMPILE,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- COMPILE 2000/07/23 23:08:28 1.1 +++ COMPILE 2001/05/23 00:00:32 1.2 @@ -1,4 +1,4 @@ -$Id: COMPILE,v 1.1 2000/07/23 23:08:28 jon Exp $ +$Id: COMPILE,v 1.2 2001/05/23 00:00:32 dfs Exp $ The Jakarta-ORO library follows the same build procedure as other Jakarta projects, relying on the Ant build system. You can learn more @@ -31,8 +31,8 @@ Examples: To build only the library use: - build-oro.sh lib + build.sh lib To build only the javadocs use: - build-oro.sh javadocs + build.sh javadocs 1.4 +2 -2 jakarta-oro/README Index: README =================================================================== RCS file: /home/cvs/jakarta-oro/README,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- README 2001/05/17 21:17:26 1.3 +++ README 2001/05/23 00:00:33 1.4 @@ -1,4 +1,4 @@ -$Id: README,v 1.3 2001/05/17 21:17:26 dfs Exp $ +$Id: README,v 1.4 2001/05/23 00:00:33 dfs Exp $ Quick Overview -------------- @@ -36,7 +36,7 @@ -------- Build instructions are in the COMPILE file. For the impatient, execute -build-oro.sh in the build directory. +build.sh in the build directory. Converting Old Code From [email protected] Wed May 23 01:17:04 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36340 invoked by uid 500); 23 May 2001 01:16:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 36236 invoked by uid 500); 23 May 2001 01:16:47 -0000 Delivered-To: [email protected] Date: 23 May 2001 01:16:44 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro/build build.xml dfs 01/05/22 18:16:44 Modified: build build.xml Log: Fixed package-tgz target so that build.sh and antRun will have executable permissions set in tarball. Revision Changes Path 1.10 +29 -14 jakarta-oro/build/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-oro/build/build.xml,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- build.xml 2001/05/21 00:18:50 1.9 +++ build.xml 2001/05/23 01:16:40 1.10 @@ -1,5 +1,5 @@ <?xml version="1.0"?> -<!-- $Id: build.xml,v 1.9 2001/05/21 00:18:50 dfs Exp $ --> +<!-- $Id: build.xml,v 1.10 2001/05/23 01:16:40 dfs Exp $ --> <project name="Jakarta-ORO" default="jar" basedir="."> @@ -14,7 +14,7 @@ <property name="javadoc.destdir" value="${top.dir}/docs/api"/> <property name="final.name" value="${project}-${version}"/> - <property name="final.dir" value="${top.dir}/${final.name}/"/> + <property name="final.dir" value="${top.dir}/${final.name}"/> <property name="debug" value="off"/> <property name="optimize" value="on"/> <property name="deprecation" value="off"/> @@ -27,11 +27,9 @@ <target name="prepare"> <mkdir dir="${build.dest}"/> <mkdir dir="${docs.dest}"/> - <available classname="org.apache.velocity.anakia.AnakiaTask" - property="AnakiaTask.present"/> - <!-- - <chmod perm="+x" file="bin/antRun"/> - --> + <available classname="org.apache.velocity.anakia.AnakiaTask" + property="AnakiaTask.present"/> + <chmod perm="ugo+x" file="${top.dir}/build/bin/antRun"/> </target> <target name="prepare-error" depends="prepare" @@ -136,14 +134,14 @@ </fileset> </copy> - <mkdir dir="${docs.dest}/classes"/> - <copy todir="${docs.dest}/classes" filtering="no"> + <mkdir dir="${docs.dest}/classes"/> + <copy todir="${docs.dest}/classes" filtering="no"> <fileset dir="${build.dest}"> <include name="MatcherDemoApplet.class"/> </fileset> </copy> - <mkdir dir="${docs.dest}/classes/org"/> - <copy todir="${docs.dest}/classes/org" filtering="no"> + <mkdir dir="${docs.dest}/classes/org"/> + <copy todir="${docs.dest}/classes/org" filtering="no"> <fileset dir="${build.dest}/org"> <include name="**/*.class"/> </fileset> @@ -161,7 +159,9 @@ <fileset dir="${docs.dest}"/> </copy> <copy todir="${final.dir}/build"> - <fileset dir="${top.dir}/build"/> + <fileset dir="${top.dir}/build"> + <exclude name="velocity.log"/> + </fileset> </copy> <copy file="${top.dir}/LICENSE" tofile="${final.dir}/LICENSE"/> @@ -171,18 +171,32 @@ <copy file="${top.dir}/STYLE" tofile="${final.dir}/STYLE"/> <copy file="${top.dir}/TODO" tofile="${final.dir}/TODO"/> <copy file="${top.dir}/${final.name}.jar" tofile="${final.dir}/${final.name}.jar"/> + <chmod perm="ugo+rx" file="${final.dir}/build/build.sh"/> </target> <!-- package-zip target. Packages the distribution with ZIP --> <target name="package-zip" depends="package"> - <zip zipfile="${top.dir}/${project}-${version}.zip" basedir="${top.dir}/" includes="**/${final.name}/**"/> + <zip zipfile="${top.dir}/${final.name}.zip" basedir="${top.dir}/" + includes="**/${final.name}/**" excludes="**/.cvsignore"/> </target> <!-- Packages the distribution with TAR-GZIP --> <target name="package-tgz" depends="package"> - <tar tarfile="${top.dir}/${project}-${version}.tar" basedir="${top.dir}/" includes="**/${final.name}/**"/> + <tar tarfile="${top.dir}/${final.name}.tar" + basedir="${top.dir}" excludes="**/**"> + <tarfileset dir="${final.dir}/.." mode="755"> + <include name="${final.name}/build/build.sh"/> + <include name="${final.name}/build/bin/antRun"/> + </tarfileset> + <tarfileset dir="${final.dir}/.."> + <include name="${final.name}/**"/> + <exclude name="${final.name}/build/build.sh"/> + <exclude name="${final.name}/build/bin/antRun"/> + <exclude name="**/.cvsignore"/> + </tarfileset> + </tar> <gzip zipfile="${top.dir}/${project}-${version}.tar.gz" src="${top.dir}/${project}-${version}.tar"/> </target> @@ -197,6 +211,7 @@ <delete dir="${build.dest}"/> <delete dir="${javadoc.destdir}"/> <delete dir="${final.dir}"/> + <!-- Remove this if any source documents ever reside in docs.dest. --> <delete dir="${docs.dest}"/> <delete file="${top.dir}/${final.name}.jar"/> <delete file="${top.dir}/${final.name}.tar"/> From [email protected] Wed May 23 03:10:23 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 72154 invoked by uid 500); 23 May 2001 03:10:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 72001 invoked from network); 23 May 2001 03:09:51 -0000 Message-Id: <[email protected]> X-Mailer: exmh version 2.0.3 To: [email protected] Subject: [ANNOUNCEMENT] jakarta-oro 2.0.3 released Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 22 May 2001 23:09:36 -0400 From: "Daniel F. Savarese" <[email protected]> X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N jakarta-oro 2.0.3, the last planned 2.0.x release of jakarta-oro is ready for download from: http://jakarta.apache.org/builds/jakarta-oro/release/v2.0.3/ The next planned release will be a 2.1 release, although if a high priority bug is reported in 2.0.3, we will branch off of 2.0.3 and release a 2.0.4 maintence release. The 2.1 feature set will be up for discussion after Memorial Day weekend. The following URL summarizes the changes made between the 2.0.2 and 2.0.3 releases: http://jakarta.apache.org/cvsweb/index.cgi/~checkout~/jakarta-oro/CHANGES?conte nt-type=text/plain From [email protected] Wed May 23 03:19:50 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80028 invoked by uid 500); 23 May 2001 03:19:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 79980 invoked by uid 500); 23 May 2001 03:19:28 -0000 Delivered-To: [email protected] Date: 23 May 2001 03:19:25 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-oro/build build.xml dfs 01/05/22 20:19:24 Modified: build build.xml Log: Added COMPILE and CONTRIBUTORS to distribution even though by next release these should be part of xdocs. Revision Changes Path 1.11 +4 -1 jakarta-oro/build/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-oro/build/build.xml,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- build.xml 2001/05/23 01:16:40 1.10 +++ build.xml 2001/05/23 03:19:21 1.11 @@ -1,5 +1,5 @@ <?xml version="1.0"?> -<!-- $Id: build.xml,v 1.10 2001/05/23 01:16:40 dfs Exp $ --> +<!-- $Id: build.xml,v 1.11 2001/05/23 03:19:21 dfs Exp $ --> <project name="Jakarta-ORO" default="jar" basedir="."> @@ -167,6 +167,9 @@ <copy file="${top.dir}/LICENSE" tofile="${final.dir}/LICENSE"/> <copy file="${top.dir}/BUGS" tofile="${final.dir}/BUGS"/> <copy file="${top.dir}/CHANGES" tofile="${final.dir}/CHANGES"/> + <copy file="${top.dir}/COMPILE" tofile="${final.dir}/COMPILE"/> + <copy file="${top.dir}/CONTRIBUTORS" + tofile="${final.dir}/CONTRIBUTORS"/> <copy file="${top.dir}/README" tofile="${final.dir}/README"/> <copy file="${top.dir}/STYLE" tofile="${final.dir}/STYLE"/> <copy file="${top.dir}/TODO" tofile="${final.dir}/TODO"/>
From [email protected] Tue Feb 01 09:58:09 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87293 invoked from network); 1 Feb 2011 09:58:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Feb 2011 09:58:09 -0000 Received: (qmail 44912 invoked by uid 500); 1 Feb 2011 09:58:09 -0000 Delivered-To: [email protected] Received: (qmail 44885 invoked by uid 500); 1 Feb 2011 09:58:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <opennlp-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 44874 invoked by uid 99); 1 Feb 2011 09:58:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 09:58:08 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 09:58:07 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 509FC23889DA; Tue, 1 Feb 2011 09:57:47 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1065965 - /incubator/opennlp/trunk/opennlp-docs/src/docbkx/doccat.xml Date: Tue, 01 Feb 2011 09:57:47 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: joern Date: Tue Feb 1 09:57:46 2011 New Revision: 1065965 URL: http://svn.apache.org/viewvc?rev=1065965&view=rev Log: OPENNLP-33 Added note that we are looking for a contribution. Added: incubator/opennlp/trunk/opennlp-docs/src/docbkx/doccat.xml (with props) Added: incubator/opennlp/trunk/opennlp-docs/src/docbkx/doccat.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-docs/src/docbkx/doccat.xml?rev=1065965&view=auto ============================================================================== --- incubator/opennlp/trunk/opennlp-docs/src/docbkx/doccat.xml (added) +++ incubator/opennlp/trunk/opennlp-docs/src/docbkx/doccat.xml Tue Feb 1 09:57:46 2011 @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" +"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"[ +]> +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +<chapter id="tools.doccat"> +<title>Document Categorizer</title> +<para>TODO: Write documentation about the doccat component. Any contributions +are very welcome. If you want to contribute please contact us on the mailing list +or comment on the jira issue <ulink url="https://issues.apache.org/jira/browse/OPENNLP-33">OPENNLP-33</ulink>.</para> +</chapter> \ No newline at end of file Propchange: incubator/opennlp/trunk/opennlp-docs/src/docbkx/doccat.xml ------------------------------------------------------------------------------ svn:mime-type = text/plain From [email protected] Tue Feb 01 09:58:29 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87673 invoked from network); 1 Feb 2011 09:58:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Feb 2011 09:58:29 -0000 Received: (qmail 46517 invoked by uid 500); 1 Feb 2011 09:58:29 -0000 Delivered-To: [email protected] Received: (qmail 46503 invoked by uid 500); 1 Feb 2011 09:58:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <opennlp-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 46491 invoked by uid 99); 1 Feb 2011 09:58:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 09:58:28 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 09:58:26 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id D633723889FD; Tue, 1 Feb 2011 09:58:05 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1065966 - /incubator/opennlp/trunk/opennlp-docs/src/docbkx/coref.xml Date: Tue, 01 Feb 2011 09:58:05 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: joern Date: Tue Feb 1 09:58:05 2011 New Revision: 1065966 URL: http://svn.apache.org/viewvc?rev=1065966&view=rev Log: OPENNLP-48 Added note that we are looking for a contribution. Added: incubator/opennlp/trunk/opennlp-docs/src/docbkx/coref.xml (with props) Added: incubator/opennlp/trunk/opennlp-docs/src/docbkx/coref.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-docs/src/docbkx/coref.xml?rev=1065966&view=auto ============================================================================== --- incubator/opennlp/trunk/opennlp-docs/src/docbkx/coref.xml (added) +++ incubator/opennlp/trunk/opennlp-docs/src/docbkx/coref.xml Tue Feb 1 09:58:05 2011 @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" +"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"[ +]> +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +<chapter id="tools.coref"> +<title>Coreference Resolution</title> +<para>TODO: Write documentation about the coref component. Any contributions +are very welcome. If you want to contribute please contact us on the mailing list +or comment on the jira issue <ulink url="https://issues.apache.org/jira/browse/OPENNLP-48">OPENNLP-48</ulink>.</para> +</chapter> \ No newline at end of file Propchange: incubator/opennlp/trunk/opennlp-docs/src/docbkx/coref.xml ------------------------------------------------------------------------------ svn:mime-type = text/plain From [email protected] Tue Feb 01 10:00:58 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88745 invoked from network); 1 Feb 2011 10:00:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Feb 2011 10:00:58 -0000 Received: (qmail 50587 invoked by uid 500); 1 Feb 2011 10:00:58 -0000 Delivered-To: [email protected] Received: (qmail 50569 invoked by uid 500); 1 Feb 2011 10:00:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <opennlp-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 50562 invoked by uid 99); 1 Feb 2011 10:00:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 10:00:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 10:00:56 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id EFC432388A4B; Tue, 1 Feb 2011 10:00:35 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1065969 - in /incubator/opennlp/trunk/opennlp-docs/src/docbkx: opennlp.xml uima-integration.xml Date: Tue, 01 Feb 2011 10:00:35 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: joern Date: Tue Feb 1 10:00:35 2011 New Revision: 1065969 URL: http://svn.apache.org/viewvc?rev=1065969&view=rev Log: OPENNLP-49 Moved first part of UIMA Integration documentation over from old SourceForge project. And added it to the book, also added the doccat and coref chapters with this commit. Added: incubator/opennlp/trunk/opennlp-docs/src/docbkx/uima-integration.xml (with props) Modified: incubator/opennlp/trunk/opennlp-docs/src/docbkx/opennlp.xml Modified: incubator/opennlp/trunk/opennlp-docs/src/docbkx/opennlp.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-docs/src/docbkx/opennlp.xml?rev=1065969&r1=1065968&r2=1065969&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp-docs/src/docbkx/opennlp.xml (original) +++ incubator/opennlp/trunk/opennlp-docs/src/docbkx/opennlp.xml Tue Feb 1 10:00:35 2011 @@ -79,10 +79,12 @@ under the License. <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="./sentdetect.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="./tokenizer.xml" /> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="./namefinder.xml" /> - <!--xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="./doccat.xml" /--> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="./doccat.xml" /> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="./postagger.xml" /> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="./chunker.xml" /> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="./parser.xml" /> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="./coref.xml" /> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="./corpora.xml" /> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="./machine-learning.xml" /> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="./uima-integration.xml" /> </book> Added: incubator/opennlp/trunk/opennlp-docs/src/docbkx/uima-integration.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-docs/src/docbkx/uima-integration.xml?rev=1065969&view=auto ============================================================================== --- incubator/opennlp/trunk/opennlp-docs/src/docbkx/uima-integration.xml (added) +++ incubator/opennlp/trunk/opennlp-docs/src/docbkx/uima-integration.xml Tue Feb 1 10:00:35 2011 @@ -0,0 +1,95 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" +"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"[ +]> +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +<chapter id="org.apche.opennlp.uima"> +<title>UIMA Integration</title> +<para> + The UIMA Integration wraps the OpenNLP components in UIMA Analysis Engines which can + be used to automatically annotate text and train new OpenNLP models from annotated text. +</para> + <section id="org.apche.opennlp.running-pear-sample"> + <title>Running the pear sample in CVD</title> + <para> + The Cas Visual Debugger is shipped as part of the UIMA distribution and is a tool which can run + the OpenNLP UIMA Annotators and display their analysis results. The source distribution comes with a script + which can create a sample UIMA application. Which includes the sentence detector, tokenizer, + pos tagger, chunker and name finders for English. This sample application is packaged in the + pear format and must be installed with the pear installer before it can be run by CVD. + Please consult the UIMA documentation for further information about the pear installer. + </para> + <para> + The OpenNLP UIMA pear file must be build manually. + First download the source distribution, unzip it and go to the apache-opennlp/opennlp folder. + Type "mvn install" to build everything. Now build the pear file, go to apache-opennlp/opennlp-uima + and build it as shown below. Note the models will be downloaded + from the old SourceForge repository and are not licensed under the AL 2.0. + <screen> + <![CDATA[ +$ ant -f createPear.xml +Buildfile: createPear.xml + +createPear: + [echo] ##### Creating OpenNlpTextAnalyzer pear ##### + [copy] Copying 13 files to OpenNlpTextAnalyzer/desc + [copy] Copying 1 file to OpenNlpTextAnalyzer/metadata + [copy] Copying 1 file to OpenNlpTextAnalyzer/lib + [copy] Copying 3 files to OpenNlpTextAnalyzer/lib + [mkdir] Created dir: OpenNlpTextAnalyzer/models + [get] Getting: http://opennlp.sourceforge.net/models-1.5/en-token.bin + [get] To: OpenNlpTextAnalyzer/models/en-token.bin + [get] Getting: http://opennlp.sourceforge.net/models-1.5/en-sent.bin + [get] To: OpenNlpTextAnalyzer/models/en-sent.bin + [get] Getting: http://opennlp.sourceforge.net/models-1.5/en-ner-date.bin + [get] To: OpenNlpTextAnalyzer/models/en-ner-date.bin + [get] Getting: http://opennlp.sourceforge.net/models-1.5/en-ner-location.bin + [get] To: OpenNlpTextAnalyzer/models/en-ner-location.bin + [get] Getting: http://opennlp.sourceforge.net/models-1.5/en-ner-money.bin + [get] To: OpenNlpTextAnalyzer/models/en-ner-money.bin + [get] Getting: http://opennlp.sourceforge.net/models-1.5/en-ner-organization.bin + [get] To: OpenNlpTextAnalyzer/models/en-ner-organization.bin + [get] Getting: http://opennlp.sourceforge.net/models-1.5/en-ner-percentage.bin + [get] To: OpenNlpTextAnalyzer/models/en-ner-percentage.bin + [get] Getting: http://opennlp.sourceforge.net/models-1.5/en-ner-person.bin + [get] To: OpenNlpTextAnalyzer/models/en-ner-person.bin + [get] Getting: http://opennlp.sourceforge.net/models-1.5/en-ner-time.bin + [get] To: OpenNlpTextAnalyzer/models/en-ner-time.bin + [get] Getting: http://opennlp.sourceforge.net/models-1.5/en-pos-maxent.bin + [get] To: OpenNlpTextAnalyzer/models/en-pos-maxent.bin + [get] Getting: http://opennlp.sourceforge.net/models-1.5/en-chunker.bin + [get] To: OpenNlpTextAnalyzer/models/en-chunker.bin + [zip] Building zip: OpenNlpTextAnalyzer.pear + +BUILD SUCCESSFUL +Total time: 3 minutes 20 seconds]]> + </screen> + </para> + <para> + After the pear is installed start the Cas Visual Debugger shipped with the UIMA framework. + And click on Tools -> Load AE. Then select the opennlp.uima.OpenNlpTextAnalyzer_pear.xml + file in the file dialog. Now enter some text and start the analysis engine with + "Run -> Run OpenNLPTextAnalyzer". Afterwards the results will be displayed. + You should see sentences, tokens, chunks, pos tags and maybe some names. Remember the input text + must be written in English. + </para> + </section> +</chapter> \ No newline at end of file Propchange: incubator/opennlp/trunk/opennlp-docs/src/docbkx/uima-integration.xml ------------------------------------------------------------------------------ svn:mime-type = text/plain From [email protected] Tue Feb 01 10:07:01 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 98771 invoked from network); 1 Feb 2011 10:07:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Feb 2011 10:07:01 -0000 Received: (qmail 54457 invoked by uid 500); 1 Feb 2011 10:07:01 -0000 Delivered-To: [email protected] Received: (qmail 54437 invoked by uid 500); 1 Feb 2011 10:07:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <opennlp-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 54413 invoked by uid 99); 1 Feb 2011 10:07:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 10:07:00 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 10:06:58 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id CB32A2388906; Tue, 1 Feb 2011 10:06:37 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1065974 - /incubator/opennlp/trunk/opennlp-docs/src/docbkx/corpora.xml Date: Tue, 01 Feb 2011 10:06:37 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: joern Date: Tue Feb 1 10:06:37 2011 New Revision: 1065974 URL: http://svn.apache.org/viewvc?rev=1065974&view=rev Log: OPENNLP-46 Added note that we are looking for a contribution. Modified: incubator/opennlp/trunk/opennlp-docs/src/docbkx/corpora.xml Modified: incubator/opennlp/trunk/opennlp-docs/src/docbkx/corpora.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-docs/src/docbkx/corpora.xml?rev=1065974&r1=1065973&r2=1065974&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp-docs/src/docbkx/corpora.xml (original) +++ incubator/opennlp/trunk/opennlp-docs/src/docbkx/corpora.xml Tue Feb 1 10:06:37 2011 @@ -137,6 +137,15 @@ F-Measure: 0.9230575441395671]]> </section> </section> <section id="tools.corpora.conll.2003"> + <title>CONLL 2002</title> + <para> + TODO: Document how to use the converters for CONLL 2002. Any contributions + are very welcome. If you want to contribute please contact us on the mailing list + or comment on the jira issue + <ulink url="https://issues.apache.org/jira/browse/OPENNLP-46">OPENNLP-46</ulink>. + </para> + </section> + <section id="tools.corpora.conll.2003"> <title>CONLL 2003</title> <para> The shared task of CoNLL-2003 is language independent named entity recognition From [email protected] Tue Feb 01 10:28:49 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9673 invoked from network); 1 Feb 2011 10:28:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Feb 2011 10:28:49 -0000 Received: (qmail 79618 invoked by uid 500); 1 Feb 2011 10:28:49 -0000 Delivered-To: [email protected] Received: (qmail 79596 invoked by uid 500); 1 Feb 2011 10:28:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <opennlp-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 79589 invoked by uid 99); 1 Feb 2011 10:28:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 10:28:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 10:28:46 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 12363238890A; Tue, 1 Feb 2011 10:28:24 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1065984 - /incubator/opennlp/trunk/opennlp-docs/src/docbkx/uima-integration.xml Date: Tue, 01 Feb 2011 10:28:24 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: joern Date: Tue Feb 1 10:28:23 2011 New Revision: 1065984 URL: http://svn.apache.org/viewvc?rev=1065984&view=rev Log: OPENNLP-49 Added note that we are looking for a contribution. Modified: incubator/opennlp/trunk/opennlp-docs/src/docbkx/uima-integration.xml Modified: incubator/opennlp/trunk/opennlp-docs/src/docbkx/uima-integration.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-docs/src/docbkx/uima-integration.xml?rev=1065984&r1=1065983&r2=1065984&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp-docs/src/docbkx/uima-integration.xml (original) +++ incubator/opennlp/trunk/opennlp-docs/src/docbkx/uima-integration.xml Tue Feb 1 10:28:23 2011 @@ -92,4 +92,16 @@ Total time: 3 minutes 20 seconds]]> must be written in English. </para> </section> + <section id="org.apche.opennlp.further-help"> + <title>Further Help</title> + <para> + For more information about how to use the integration please consult the javadoc of the individual + Analysis Engines and checkout the included xml descriptors. + </para> + <para> + TODO: Extend this documentation with information about the individual components. + If you want to contribute please contact us on the mailing list + or comment on the jira issue <ulink url="https://issues.apache.org/jira/browse/OPENNLP-49">OPENNLP-49</ulink>. + </para> + </section> </chapter> \ No newline at end of file From [email protected] Tue Feb 01 10:51:12 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17101 invoked from network); 1 Feb 2011 10:51:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Feb 2011 10:51:11 -0000 Received: (qmail 96107 invoked by uid 500); 1 Feb 2011 10:51:11 -0000 Delivered-To: [email protected] Received: (qmail 96085 invoked by uid 500); 1 Feb 2011 10:51:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <opennlp-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 96078 invoked by uid 99); 1 Feb 2011 10:51:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 10:51:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 10:51:09 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id CE926238890A; Tue, 1 Feb 2011 10:50:49 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1065986 - /incubator/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/util/Version.java Date: Tue, 01 Feb 2011 10:50:49 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: joern Date: Tue Feb 1 10:50:49 2011 New Revision: 1065986 URL: http://svn.apache.org/viewvc?rev=1065986&view=rev Log: OPENNLP-113 Incremented version from 1.5.0 to 1.5.1 Modified: incubator/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/util/Version.java Modified: incubator/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/util/Version.java URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/util/Version.java?rev=1065986&r1=1065985&r2=1065986&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/util/Version.java (original) +++ incubator/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/util/Version.java Tue Feb 1 10:50:49 2011 @@ -139,6 +139,6 @@ public class Version { * @return the current version */ public static Version currentVersion() { - return new Version(1, 5, 0); + return new Version(1, 5, 1); } } From [email protected] Tue Feb 01 11:17:19 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31410 invoked from network); 1 Feb 2011 11:17:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Feb 2011 11:17:19 -0000 Received: (qmail 17842 invoked by uid 500); 1 Feb 2011 11:17:19 -0000 Delivered-To: [email protected] Received: (qmail 17821 invoked by uid 500); 1 Feb 2011 11:17:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <opennlp-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 17813 invoked by uid 99); 1 Feb 2011 11:17:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 11:17:18 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 11:17:18 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 5D51E23889D5; Tue, 1 Feb 2011 11:16:58 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1065997 - /incubator/opennlp/trunk/opennlp-distr/src/main/assembly/bin.xml Date: Tue, 01 Feb 2011 11:16:58 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: joern Date: Tue Feb 1 11:16:58 2011 New Revision: 1065997 URL: http://svn.apache.org/viewvc?rev=1065997&view=rev Log: OPENNLP-114 Added opennlp uima descriptors to binary distribution. Modified: incubator/opennlp/trunk/opennlp-distr/src/main/assembly/bin.xml Modified: incubator/opennlp/trunk/opennlp-distr/src/main/assembly/bin.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-distr/src/main/assembly/bin.xml?rev=1065997&r1=1065996&r2=1065997&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp-distr/src/main/assembly/bin.xml (original) +++ incubator/opennlp/trunk/opennlp-distr/src/main/assembly/bin.xml Tue Feb 1 11:16:58 2011 @@ -108,5 +108,12 @@ <outputDirectory>docs/apidocs/opennlp-uima</outputDirectory> </fileSet> + <fileSet> + <directory>../opennlp-uima/descriptors</directory> + <fileMode>644</fileMode> + <directoryMode>755</directoryMode> + <outputDirectory>docs/opennlp-uima-descriptors</outputDirectory> + </fileSet> + </fileSets> </assembly> \ No newline at end of file From [email protected] Tue Feb 01 13:41:24 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36018 invoked from network); 1 Feb 2011 13:41:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Feb 2011 13:41:24 -0000 Received: (qmail 56398 invoked by uid 500); 1 Feb 2011 13:41:24 -0000 Delivered-To: [email protected] Received: (qmail 56378 invoked by uid 500); 1 Feb 2011 13:41:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <opennlp-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 56371 invoked by uid 99); 1 Feb 2011 13:41:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 13:41:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 13:41:23 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id CED8A23888DD; Tue, 1 Feb 2011 13:41:02 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1066042 - /incubator/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/coref/sim/Gender.java Date: Tue, 01 Feb 2011 13:41:02 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: joern Date: Tue Feb 1 13:41:02 2011 New Revision: 1066042 URL: http://svn.apache.org/viewvc?rev=1066042&view=rev Log: No Jira, fixed typo. Modified: incubator/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/coref/sim/Gender.java Modified: incubator/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/coref/sim/Gender.java URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/coref/sim/Gender.java?rev=1066042&r1=1066041&r2=1066042&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/coref/sim/Gender.java (original) +++ incubator/opennlp/trunk/opennlp-tools/src/main/java/opennlp/tools/coref/sim/Gender.java Tue Feb 1 13:41:02 2011 @@ -18,7 +18,7 @@ package opennlp.tools.coref.sim; /** - * Class which models the gender of an enity and the confidence of that association. + * Class which models the gender of an entity and the confidence of that association. */ public class Gender { From [email protected] Tue Feb 01 14:29:34 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68619 invoked from network); 1 Feb 2011 14:29:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Feb 2011 14:29:34 -0000 Received: (qmail 71117 invoked by uid 500); 1 Feb 2011 14:29:34 -0000 Delivered-To: [email protected] Received: (qmail 71095 invoked by uid 500); 1 Feb 2011 14:29:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <opennlp-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 71083 invoked by uid 99); 1 Feb 2011 14:29:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 14:29:32 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 14:29:31 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 0FF5C23889D7; Tue, 1 Feb 2011 14:29:10 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1066052 - /incubator/opennlp/trunk/opennlp-distr/src/main/assembly/src.xml Date: Tue, 01 Feb 2011 14:29:10 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: joern Date: Tue Feb 1 14:29:09 2011 New Revision: 1066052 URL: http://svn.apache.org/viewvc?rev=1066052&view=rev Log: OPENNLP-126 Changed top level folder name. Modified: incubator/opennlp/trunk/opennlp-distr/src/main/assembly/src.xml Modified: incubator/opennlp/trunk/opennlp-distr/src/main/assembly/src.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-distr/src/main/assembly/src.xml?rev=1066052&r1=1066051&r2=1066052&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp-distr/src/main/assembly/src.xml (original) +++ incubator/opennlp/trunk/opennlp-distr/src/main/assembly/src.xml Tue Feb 1 14:29:09 2011 @@ -20,6 +20,9 @@ <formats> <format>zip</format> </formats> + + <baseDirectory>/apache-opennlp-src</baseDirectory> + <fileSets> <fileSet> <directory>../</directory> From [email protected] Tue Feb 01 23:18:49 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94758 invoked from network); 1 Feb 2011 23:18:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Feb 2011 23:18:49 -0000 Received: (qmail 20604 invoked by uid 500); 1 Feb 2011 23:18:49 -0000 Delivered-To: [email protected] Received: (qmail 20587 invoked by uid 500); 1 Feb 2011 23:18:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <opennlp-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 20580 invoked by uid 99); 1 Feb 2011 23:18:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 23:18:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 23:18:47 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 9EF5023888EC; Tue, 1 Feb 2011 23:18:26 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1066266 - /incubator/opennlp/trunk/opennlp-distr/src/main/bin/opennlp.bat Date: Tue, 01 Feb 2011 23:18:26 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: jkosin Date: Tue Feb 1 23:18:26 2011 New Revision: 1066266 URL: http://svn.apache.org/viewvc?rev=1066266&view=rev Log: OPENNLP-112: revertign last change Modified: incubator/opennlp/trunk/opennlp-distr/src/main/bin/opennlp.bat Modified: incubator/opennlp/trunk/opennlp-distr/src/main/bin/opennlp.bat URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-distr/src/main/bin/opennlp.bat?rev=1066266&r1=1066265&r2=1066266&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp-distr/src/main/bin/opennlp.bat (original) +++ incubator/opennlp/trunk/opennlp-distr/src/main/bin/opennlp.bat Tue Feb 1 23:18:26 2011 @@ -26,6 +26,6 @@ IF "%JAVA_CMD%" == "" ( ) REM # Should work with Windows XP and greater. If not, specify the path to where it is installed. -IF "%OPENNLP_HOME%" == "" SET OPENNLP_HOME=%~sp0.. +IF "%OPENNLP_HOME%" == "" SET OPENNLP_HOME=. %JAVA_CMD% -Xmx4096m -jar %OPENNLP_HOME%\lib\opennlp-tools-*.jar %* From [email protected] Tue Feb 01 23:20:26 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94992 invoked from network); 1 Feb 2011 23:20:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Feb 2011 23:20:26 -0000 Received: (qmail 21622 invoked by uid 500); 1 Feb 2011 23:20:25 -0000 Delivered-To: [email protected] Received: (qmail 21604 invoked by uid 500); 1 Feb 2011 23:20:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <opennlp-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 21597 invoked by uid 99); 1 Feb 2011 23:20:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 23:20:25 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 23:20:24 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 4275923888EC; Tue, 1 Feb 2011 23:20:03 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1066267 - /incubator/opennlp/trunk/opennlp-distr/src/main/bin/opennlp.bat Date: Tue, 01 Feb 2011 23:20:03 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: jkosin Date: Tue Feb 1 23:20:02 2011 New Revision: 1066267 URL: http://svn.apache.org/viewvc?rev=1066267&view=rev Log: OPENNLP-112: added absolute path for finding the libraries for OPENNLP_HOME setting, will work with XP and greater. Modified: incubator/opennlp/trunk/opennlp-distr/src/main/bin/opennlp.bat Modified: incubator/opennlp/trunk/opennlp-distr/src/main/bin/opennlp.bat URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-distr/src/main/bin/opennlp.bat?rev=1066267&r1=1066266&r2=1066267&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp-distr/src/main/bin/opennlp.bat (original) +++ incubator/opennlp/trunk/opennlp-distr/src/main/bin/opennlp.bat Tue Feb 1 23:20:02 2011 @@ -26,6 +26,6 @@ IF "%JAVA_CMD%" == "" ( ) REM # Should work with Windows XP and greater. If not, specify the path to where it is installed. -IF "%OPENNLP_HOME%" == "" SET OPENNLP_HOME=. +IF "%OPENNLP_HOME%" == "" SET OPENNLP_HOME=%~sp0.. %JAVA_CMD% -Xmx4096m -jar %OPENNLP_HOME%\lib\opennlp-tools-*.jar %* From [email protected] Wed Feb 02 16:59:00 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 75034 invoked from network); 2 Feb 2011 16:58:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Feb 2011 16:58:59 -0000 Received: (qmail 22518 invoked by uid 500); 2 Feb 2011 16:58:59 -0000 Delivered-To: [email protected] Received: (qmail 22482 invoked by uid 500); 2 Feb 2011 16:58:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <opennlp-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 22470 invoked by uid 99); 2 Feb 2011 16:58:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 16:58:58 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 16:58:58 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 07F1023889B3; Wed, 2 Feb 2011 16:58:38 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1066528 - /incubator/opennlp/site/trunk/content/opennlp/building.mdtext Date: Wed, 02 Feb 2011 16:58:37 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: joern Date: Wed Feb 2 16:58:37 2011 New Revision: 1066528 URL: http://svn.apache.org/viewvc?rev=1066528&view=rev Log: OPENNLP-50 Wrote down the build instructions. Added: incubator/opennlp/site/trunk/content/opennlp/building.mdtext Added: incubator/opennlp/site/trunk/content/opennlp/building.mdtext URL: http://svn.apache.org/viewvc/incubator/opennlp/site/trunk/content/opennlp/building.mdtext?rev=1066528&view=auto ============================================================================== --- incubator/opennlp/site/trunk/content/opennlp/building.mdtext (added) +++ incubator/opennlp/site/trunk/content/opennlp/building.mdtext Wed Feb 2 16:58:37 2011 @@ -0,0 +1,29 @@ +Title: Building from Source + +OpenNLP can either be build from the distributed sources or from +a subversion checkout. These build instructions document how +to build from the latest trunk version. The distributed source package +include a README file which explains how to build it. + +To build at least Maven 3.0 and JDK 5 are required. +If they are not installed, install them. + +On the first checkout everything should be build. +Go to the opennlp folder and type "mvn install" to build all modules. +The build installs the maven artifacts in the local repository +and creates a binary and source distribution inside the +opennlp-distr/target folder. + +After the initial build the individual modules can be build on its own +with "mvn install". In the opennlp-docs project it is +recommended to always build with "mvn clean install" because +changed docbook xml files might not be re-processed otherwise. + +In some cases it might be convenient to skip the tests. +That can be done with the "-Dmaven.test.skip=true" option. +For example type: "mvn clean install -Dmaventest.skip=true". +No tests will no be executed. + +It might happen from time to time that the build fails, +if so please report a broken build on the opennlp-dev mailing +list. The build should always work for everyone. From [email protected] Wed Feb 02 16:59:04 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 75082 invoked from network); 2 Feb 2011 16:59:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Feb 2011 16:59:04 -0000 Received: (qmail 22577 invoked by uid 500); 2 Feb 2011 16:59:04 -0000 Delivered-To: [email protected] Received: (qmail 22551 invoked by uid 500); 2 Feb 2011 16:59:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <opennlp-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 22544 invoked by uid 99); 2 Feb 2011 16:59:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 16:59:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 16:59:03 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 0CCF823889E9; Wed, 2 Feb 2011 16:58:43 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r784654 - /websites/staging/opennlp/trunk/content/opennlp/building.html Date: Wed, 02 Feb 2011 16:58:43 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: buildbot Date: Wed Feb 2 16:58:42 2011 New Revision: 784654 Log: Staging update by buildbot Added: websites/staging/opennlp/trunk/content/opennlp/building.html Added: websites/staging/opennlp/trunk/content/opennlp/building.html ============================================================================== --- websites/staging/opennlp/trunk/content/opennlp/building.html (added) +++ websites/staging/opennlp/trunk/content/opennlp/building.html Wed Feb 2 16:58:42 2011 @@ -0,0 +1,103 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> + +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE- 2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<head> + <link href="/opennlp/css/opennlp.css" rel="stylesheet" type="text/css"> + <title>Apache OpenNLP - Building from Source</title> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <meta http-equiv="Content-Language" content="en"> + <meta name="description" content="Apache OpenNLP is a Java machine learning toolkit for natural language processing (NLP). + It supports the most common NLP tasks."> +</head> + +<body> + <div id="banner"> + <img id="opennlp-logo" title="Apache OpenNLP" width="300" height="75" src="/opennlp/images/onlplogo.jpg" alt="Apache OpenNLP"> + <a id="apache-incubator-logo" title="Apache incubator" href="http://incubator.apache.org/"> + <img src="http://incubator.apache.org/images/apache-incubator-logo.png" alt="Apache Incubator" border="0"> + </a> + </div> + + <div id="navigation"> + <h1 id="general">General</h1> +<ul> +<li><a href="index.html">Home</a></li> +<li><a href="download.html">Download</a></li> +<li><a href="http://www.apache.org/licenses/" class="externalLink">License</a></li> +<li><a href="documentation.html">Documentation</a></li> +<li><a href="news.html">News</a></li> +<li><a href="mail-lists.html">Mailing Lists</a></li> +<li><a href="https://issues.apache.org/jira/browse/OPENNLP" class="externalLink">Issue tracker</a></li> +</ul> +<h1 id="development">Development</h1> +<ul> +<li><a href="source-code.html">Source Code</a></li> +<li><a href="team.html">Project Team</a></li> +</ul> +<h1 id="asf">ASF</h1> +<ul> +<li><a href="http://www.apache.org" class="externalLink">ASF</a></li> +<li><a href="http://www.apache.org/foundation/thanks.html" class="externalLink">Thanks</a></li> +<li><a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink">Become a Sponsor</a></li> +</ul> + </div> + + <div id="content"> + <h1 class="title">Building from Source</h1> + <p>OpenNLP can either be build from the distributed sources or from +a subversion checkout. These build instructions document how +to build from the latest trunk version. The distributed source package +include a README file which explains how to build it.</p> +<p>To build at least Maven 3.0 and JDK 5 are required. +If they are not installed, install them.</p> +<p>On the first checkout everything should be build. +Go to the opennlp folder and type "mvn install" to build all modules. +The build installs the maven artifacts in the local repository +and creates a binary and source distribution inside the +opennlp-distr/target folder.</p> +<p>After the initial build the individual modules can be build on its own +with "mvn install". In the opennlp-docs project it is +recommended to always build with "mvn clean install" because +changed docbook xml files might not be re-processed otherwise.</p> +<p>In some cases it might be convenient to skip the tests. +That can be done with the "-Dmaven.test.skip=true" option. +For example type: "mvn clean install -Dmaventest.skip=true". +No tests will no be executed.</p> +<p>It might happen from time to time that the build fails, +if so please report a broken build on the opennlp-dev mailing +list. The build should always work for everyone.</p> + </div> + + <div class="clear"> + <hr> + </div> + + <div id="footer"> + <div class="copyright"> + <p> + Copyright &copy; 2010 The Apache Software Foundation, Licensed under + the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>. + <br> + Apache and the Apache feather logo are trademarks of The Apache Software Foundation. + </p> + </div> + </div> +</body> +</html> From [email protected] Wed Feb 02 17:02:38 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76691 invoked from network); 2 Feb 2011 17:02:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Feb 2011 17:02:38 -0000 Received: (qmail 26715 invoked by uid 500); 2 Feb 2011 17:02:38 -0000 Delivered-To: [email protected] Received: (qmail 26697 invoked by uid 500); 2 Feb 2011 17:02:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <opennlp-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 26690 invoked by uid 99); 2 Feb 2011 17:02:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 17:02:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 17:02:37 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 39F9323889D7; Wed, 2 Feb 2011 17:02:17 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1066531 - /incubator/opennlp/site/trunk/content/opennlp/building.mdtext Date: Wed, 02 Feb 2011 17:02:17 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: joern Date: Wed Feb 2 17:02:16 2011 New Revision: 1066531 URL: http://svn.apache.org/viewvc?rev=1066531&view=rev Log: OPENNLP-50 Now using code elements for commands Modified: incubator/opennlp/site/trunk/content/opennlp/building.mdtext Modified: incubator/opennlp/site/trunk/content/opennlp/building.mdtext URL: http://svn.apache.org/viewvc/incubator/opennlp/site/trunk/content/opennlp/building.mdtext?rev=1066531&r1=1066530&r2=1066531&view=diff ============================================================================== --- incubator/opennlp/site/trunk/content/opennlp/building.mdtext (original) +++ incubator/opennlp/site/trunk/content/opennlp/building.mdtext Wed Feb 2 17:02:16 2011 @@ -9,19 +9,21 @@ To build at least Maven 3.0 and JDK 5 ar If they are not installed, install them. On the first checkout everything should be build. -Go to the opennlp folder and type "mvn install" to build all modules. +Go to the opennlp folder and type +<pre><code>mvn install</code></pre> +to build all modules. The build installs the maven artifacts in the local repository and creates a binary and source distribution inside the opennlp-distr/target folder. After the initial build the individual modules can be build on its own -with "mvn install". In the opennlp-docs project it is -recommended to always build with "mvn clean install" because +with <pre><code>mvn install</code></pre>. In the opennlp-docs project it is +recommended to always build with <pre><code>mvn clean install</code></pre> because changed docbook xml files might not be re-processed otherwise. In some cases it might be convenient to skip the tests. That can be done with the "-Dmaven.test.skip=true" option. -For example type: "mvn clean install -Dmaventest.skip=true". +For example type: <pre><code>mvn clean install -Dmaventest.skip=true</pre></code>. No tests will no be executed. It might happen from time to time that the build fails, From [email protected] Wed Feb 02 17:02:45 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76719 invoked from network); 2 Feb 2011 17:02:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Feb 2011 17:02:45 -0000 Received: (qmail 26746 invoked by uid 500); 2 Feb 2011 17:02:45 -0000 Delivered-To: [email protected] Received: (qmail 26731 invoked by uid 500); 2 Feb 2011 17:02:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <opennlp-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 26724 invoked by uid 99); 2 Feb 2011 17:02:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 17:02:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 17:02:42 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 08AD02388A36; Wed, 2 Feb 2011 17:02:22 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r784655 - /websites/staging/opennlp/trunk/content/opennlp/building.html Date: Wed, 02 Feb 2011 17:02:21 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: buildbot Date: Wed Feb 2 17:02:21 2011 New Revision: 784655 Log: Staging update by buildbot Modified: websites/staging/opennlp/trunk/content/opennlp/building.html Modified: websites/staging/opennlp/trunk/content/opennlp/building.html ============================================================================== --- websites/staging/opennlp/trunk/content/opennlp/building.html (original) +++ websites/staging/opennlp/trunk/content/opennlp/building.html Wed Feb 2 17:02:21 2011 @@ -68,17 +68,19 @@ include a README file which explains how <p>To build at least Maven 3.0 and JDK 5 are required. If they are not installed, install them.</p> <p>On the first checkout everything should be build. -Go to the opennlp folder and type "mvn install" to build all modules. +Go to the opennlp folder and type +<pre><code>mvn install</code></pre> +to build all modules. The build installs the maven artifacts in the local repository and creates a binary and source distribution inside the opennlp-distr/target folder.</p> <p>After the initial build the individual modules can be build on its own -with "mvn install". In the opennlp-docs project it is -recommended to always build with "mvn clean install" because +with <pre><code>mvn install</code></pre>. In the opennlp-docs project it is +recommended to always build with <pre><code>mvn clean install</code></pre> because changed docbook xml files might not be re-processed otherwise.</p> <p>In some cases it might be convenient to skip the tests. That can be done with the "-Dmaven.test.skip=true" option. -For example type: "mvn clean install -Dmaventest.skip=true". +For example type: <pre><code>mvn clean install -Dmaventest.skip=true</pre></code>. No tests will no be executed.</p> <p>It might happen from time to time that the build fails, if so please report a broken build on the opennlp-dev mailing From [email protected] Wed Feb 02 17:04:33 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78376 invoked from network); 2 Feb 2011 17:04:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Feb 2011 17:04:33 -0000 Received: (qmail 29895 invoked by uid 500); 2 Feb 2011 17:04:33 -0000 Delivered-To: [email protected] Received: (qmail 29876 invoked by uid 500); 2 Feb 2011 17:04:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <opennlp-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 29869 invoked by uid 99); 2 Feb 2011 17:04:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 17:04:32 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 17:04:32 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 0BCB823889E9; Wed, 2 Feb 2011 17:04:12 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1066533 - /incubator/opennlp/site/trunk/content/opennlp/building.mdtext Date: Wed, 02 Feb 2011 17:04:12 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: joern Date: Wed Feb 2 17:04:11 2011 New Revision: 1066533 URL: http://svn.apache.org/viewvc?rev=1066533&view=rev Log: OPENNLP-50 Removed a punctation mark. Added cd opennlp to first code box. Modified: incubator/opennlp/site/trunk/content/opennlp/building.mdtext Modified: incubator/opennlp/site/trunk/content/opennlp/building.mdtext URL: http://svn.apache.org/viewvc/incubator/opennlp/site/trunk/content/opennlp/building.mdtext?rev=1066533&r1=1066532&r2=1066533&view=diff ============================================================================== --- incubator/opennlp/site/trunk/content/opennlp/building.mdtext (original) +++ incubator/opennlp/site/trunk/content/opennlp/building.mdtext Wed Feb 2 17:04:11 2011 @@ -10,7 +10,7 @@ If they are not installed, install them. On the first checkout everything should be build. Go to the opennlp folder and type -<pre><code>mvn install</code></pre> +<pre><code>cd opennlp <br> mvn install</code></pre> to build all modules. The build installs the maven artifacts in the local repository and creates a binary and source distribution inside the @@ -23,7 +23,7 @@ changed docbook xml files might not be r In some cases it might be convenient to skip the tests. That can be done with the "-Dmaven.test.skip=true" option. -For example type: <pre><code>mvn clean install -Dmaventest.skip=true</pre></code>. +For example type: <pre><code>mvn clean install -Dmaventest.skip=true</pre></code> No tests will no be executed. It might happen from time to time that the build fails, From [email protected] Wed Feb 02 17:04:41 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78487 invoked from network); 2 Feb 2011 17:04:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Feb 2011 17:04:40 -0000 Received: (qmail 30032 invoked by uid 500); 2 Feb 2011 17:04:40 -0000 Delivered-To: [email protected] Received: (qmail 30013 invoked by uid 500); 2 Feb 2011 17:04:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <opennlp-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 29995 invoked by uid 99); 2 Feb 2011 17:04:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 17:04:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 17:04:37 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 05AFA2388A68; Wed, 2 Feb 2011 17:04:17 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r784657 - /websites/staging/opennlp/trunk/content/opennlp/building.html Date: Wed, 02 Feb 2011 17:04:16 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: buildbot Date: Wed Feb 2 17:04:16 2011 New Revision: 784657 Log: Staging update by buildbot Modified: websites/staging/opennlp/trunk/content/opennlp/building.html Modified: websites/staging/opennlp/trunk/content/opennlp/building.html ============================================================================== --- websites/staging/opennlp/trunk/content/opennlp/building.html (original) +++ websites/staging/opennlp/trunk/content/opennlp/building.html Wed Feb 2 17:04:16 2011 @@ -69,7 +69,7 @@ include a README file which explains how If they are not installed, install them.</p> <p>On the first checkout everything should be build. Go to the opennlp folder and type -<pre><code>mvn install</code></pre> +<pre><code>cd opennlp <br> mvn install</code></pre> to build all modules. The build installs the maven artifacts in the local repository and creates a binary and source distribution inside the @@ -80,7 +80,7 @@ recommended to always build with <pre><c changed docbook xml files might not be re-processed otherwise.</p> <p>In some cases it might be convenient to skip the tests. That can be done with the "-Dmaven.test.skip=true" option. -For example type: <pre><code>mvn clean install -Dmaventest.skip=true</pre></code>. +For example type: <pre><code>mvn clean install -Dmaventest.skip=true</pre></code> No tests will no be executed.</p> <p>It might happen from time to time that the build fails, if so please report a broken build on the opennlp-dev mailing From [email protected] Wed Feb 02 17:07:54 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88042 invoked from network); 2 Feb 2011 17:07:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Feb 2011 17:07:54 -0000 Received: (qmail 36739 invoked by uid 500); 2 Feb 2011 17:07:54 -0000 Delivered-To: [email protected] Received: (qmail 36723 invoked by uid 500); 2 Feb 2011 17:07:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <opennlp-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 36716 invoked by uid 99); 2 Feb 2011 17:07:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 17:07:53 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 17:07:53 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 04F2D2388900; Wed, 2 Feb 2011 17:07:33 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1066534 - /incubator/opennlp/site/trunk/content/opennlp/building.mdtext Date: Wed, 02 Feb 2011 17:07:32 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: joern Date: Wed Feb 2 17:07:32 2011 New Revision: 1066534 URL: http://svn.apache.org/viewvc?rev=1066534&view=rev Log: OPENNLP-50 Made clear that opennlp folder is the one inside the trunk folder. Modified: incubator/opennlp/site/trunk/content/opennlp/building.mdtext Modified: incubator/opennlp/site/trunk/content/opennlp/building.mdtext URL: http://svn.apache.org/viewvc/incubator/opennlp/site/trunk/content/opennlp/building.mdtext?rev=1066534&r1=1066533&r2=1066534&view=diff ============================================================================== --- incubator/opennlp/site/trunk/content/opennlp/building.mdtext (original) +++ incubator/opennlp/site/trunk/content/opennlp/building.mdtext Wed Feb 2 17:07:32 2011 @@ -9,8 +9,8 @@ To build at least Maven 3.0 and JDK 5 ar If they are not installed, install them. On the first checkout everything should be build. -Go to the opennlp folder and type -<pre><code>cd opennlp <br> mvn install</code></pre> +Go to the opennlp folder inside the trunk folder (e.g. opennlp-trunk) and type +<pre><code>cd opennlp-trunk/opennlp<br>mvn install</code></pre> to build all modules. The build installs the maven artifacts in the local repository and creates a binary and source distribution inside the From [email protected] Wed Feb 02 17:07:59 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88086 invoked from network); 2 Feb 2011 17:07:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Feb 2011 17:07:59 -0000 Received: (qmail 36797 invoked by uid 500); 2 Feb 2011 17:07:59 -0000 Delivered-To: [email protected] Received: (qmail 36780 invoked by uid 500); 2 Feb 2011 17:07:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <opennlp-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 36773 invoked by uid 99); 2 Feb 2011 17:07:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 17:07:58 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 17:07:58 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id F10C223889E9; Wed, 2 Feb 2011 17:07:37 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r784659 - /websites/staging/opennlp/trunk/content/opennlp/building.html Date: Wed, 02 Feb 2011 17:07:37 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: buildbot Date: Wed Feb 2 17:07:37 2011 New Revision: 784659 Log: Staging update by buildbot Modified: websites/staging/opennlp/trunk/content/opennlp/building.html Modified: websites/staging/opennlp/trunk/content/opennlp/building.html ============================================================================== --- websites/staging/opennlp/trunk/content/opennlp/building.html (original) +++ websites/staging/opennlp/trunk/content/opennlp/building.html Wed Feb 2 17:07:37 2011 @@ -68,8 +68,8 @@ include a README file which explains how <p>To build at least Maven 3.0 and JDK 5 are required. If they are not installed, install them.</p> <p>On the first checkout everything should be build. -Go to the opennlp folder and type -<pre><code>cd opennlp <br> mvn install</code></pre> +Go to the opennlp folder inside the trunk folder (e.g. opennlp-trunk) and type +<pre><code>cd opennlp-trunk/opennlp<br>mvn install</code></pre> to build all modules. The build installs the maven artifacts in the local repository and creates a binary and source distribution inside the From [email protected] Wed Feb 02 17:10:02 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89202 invoked from network); 2 Feb 2011 17:10:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Feb 2011 17:10:02 -0000 Received: (qmail 41113 invoked by uid 500); 2 Feb 2011 17:10:00 -0000 Delivered-To: [email protected] Received: (qmail 40766 invoked by uid 500); 2 Feb 2011 17:10:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <opennlp-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 40489 invoked by uid 99); 2 Feb 2011 17:09:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 17:09:59 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 17:09:59 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 244462388900; Wed, 2 Feb 2011 17:09:39 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1066536 - /incubator/opennlp/site/trunk/content/opennlp/building.mdtext Date: Wed, 02 Feb 2011 17:09:39 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: joern Date: Wed Feb 2 17:09:38 2011 New Revision: 1066536 URL: http://svn.apache.org/viewvc?rev=1066536&view=rev Log: OPENNLP-50 Improved formatting Modified: incubator/opennlp/site/trunk/content/opennlp/building.mdtext Modified: incubator/opennlp/site/trunk/content/opennlp/building.mdtext URL: http://svn.apache.org/viewvc/incubator/opennlp/site/trunk/content/opennlp/building.mdtext?rev=1066536&r1=1066535&r2=1066536&view=diff ============================================================================== --- incubator/opennlp/site/trunk/content/opennlp/building.mdtext (original) +++ incubator/opennlp/site/trunk/content/opennlp/building.mdtext Wed Feb 2 17:09:38 2011 @@ -17,13 +17,16 @@ and creates a binary and source distribu opennlp-distr/target folder. After the initial build the individual modules can be build on its own -with <pre><code>mvn install</code></pre>. In the opennlp-docs project it is +with: <pre><code>mvn install</code></pre> + +In the opennlp-docs project it is recommended to always build with <pre><code>mvn clean install</code></pre> because changed docbook xml files might not be re-processed otherwise. In some cases it might be convenient to skip the tests. That can be done with the "-Dmaven.test.skip=true" option. For example type: <pre><code>mvn clean install -Dmaventest.skip=true</pre></code> + No tests will no be executed. It might happen from time to time that the build fails, From [email protected] Wed Feb 02 17:10:05 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89294 invoked from network); 2 Feb 2011 17:10:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Feb 2011 17:10:05 -0000 Received: (qmail 42504 invoked by uid 500); 2 Feb 2011 17:10:05 -0000 Delivered-To: [email protected] Received: (qmail 42485 invoked by uid 500); 2 Feb 2011 17:10:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <opennlp-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 42375 invoked by uid 99); 2 Feb 2011 17:10:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 17:10:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 17:10:04 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 03E8223889E9; Wed, 2 Feb 2011 17:09:44 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r784662 - /websites/staging/opennlp/trunk/content/opennlp/building.html Date: Wed, 02 Feb 2011 17:09:43 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: buildbot Date: Wed Feb 2 17:09:43 2011 New Revision: 784662 Log: Staging update by buildbot Modified: websites/staging/opennlp/trunk/content/opennlp/building.html Modified: websites/staging/opennlp/trunk/content/opennlp/building.html ============================================================================== --- websites/staging/opennlp/trunk/content/opennlp/building.html (original) +++ websites/staging/opennlp/trunk/content/opennlp/building.html Wed Feb 2 17:09:43 2011 @@ -75,13 +75,14 @@ The build installs the maven artifacts i and creates a binary and source distribution inside the opennlp-distr/target folder.</p> <p>After the initial build the individual modules can be build on its own -with <pre><code>mvn install</code></pre>. In the opennlp-docs project it is +with: <pre><code>mvn install</code></pre></p> +<p>In the opennlp-docs project it is recommended to always build with <pre><code>mvn clean install</code></pre> because changed docbook xml files might not be re-processed otherwise.</p> <p>In some cases it might be convenient to skip the tests. That can be done with the "-Dmaven.test.skip=true" option. -For example type: <pre><code>mvn clean install -Dmaventest.skip=true</pre></code> -No tests will no be executed.</p> +For example type: <pre><code>mvn clean install -Dmaventest.skip=true</pre></code></p> +<p>No tests will no be executed.</p> <p>It might happen from time to time that the build fails, if so please report a broken build on the opennlp-dev mailing list. The build should always work for everyone.</p> From [email protected] Wed Feb 02 17:11:24 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89592 invoked from network); 2 Feb 2011 17:11:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Feb 2011 17:11:24 -0000 Received: (qmail 44262 invoked by uid 500); 2 Feb 2011 17:11:24 -0000 Delivered-To: [email protected] Received: (qmail 44244 invoked by uid 500); 2 Feb 2011 17:11:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <opennlp-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 44237 invoked by uid 99); 2 Feb 2011 17:11:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 17:11:24 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 17:11:22 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 2647C23889E9; Wed, 2 Feb 2011 17:11:01 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1066537 - /incubator/opennlp/site/trunk/content/opennlp/building.mdtext Date: Wed, 02 Feb 2011 17:11:01 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: joern Date: Wed Feb 2 17:11:00 2011 New Revision: 1066537 URL: http://svn.apache.org/viewvc?rev=1066537&view=rev Log: OPENNLP-50 Fixed a typo Modified: incubator/opennlp/site/trunk/content/opennlp/building.mdtext Modified: incubator/opennlp/site/trunk/content/opennlp/building.mdtext URL: http://svn.apache.org/viewvc/incubator/opennlp/site/trunk/content/opennlp/building.mdtext?rev=1066537&r1=1066536&r2=1066537&view=diff ============================================================================== --- incubator/opennlp/site/trunk/content/opennlp/building.mdtext (original) +++ incubator/opennlp/site/trunk/content/opennlp/building.mdtext Wed Feb 2 17:11:00 2011 @@ -25,7 +25,7 @@ changed docbook xml files might not be r In some cases it might be convenient to skip the tests. That can be done with the "-Dmaven.test.skip=true" option. -For example type: <pre><code>mvn clean install -Dmaventest.skip=true</pre></code> +For example type: <pre><code>mvn clean install -Dmaven.test.skip=true</pre></code> No tests will no be executed. From [email protected] Wed Feb 02 17:11:29 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89606 invoked from network); 2 Feb 2011 17:11:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Feb 2011 17:11:29 -0000 Received: (qmail 44302 invoked by uid 500); 2 Feb 2011 17:11:29 -0000 Delivered-To: [email protected] Received: (qmail 44282 invoked by uid 500); 2 Feb 2011 17:11:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <opennlp-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 44275 invoked by uid 99); 2 Feb 2011 17:11:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 17:11:28 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 17:11:26 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id EDCB32388A36; Wed, 2 Feb 2011 17:11:05 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r784664 - /websites/staging/opennlp/trunk/content/opennlp/building.html Date: Wed, 02 Feb 2011 17:11:05 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: buildbot Date: Wed Feb 2 17:11:05 2011 New Revision: 784664 Log: Staging update by buildbot Modified: websites/staging/opennlp/trunk/content/opennlp/building.html Modified: websites/staging/opennlp/trunk/content/opennlp/building.html ============================================================================== --- websites/staging/opennlp/trunk/content/opennlp/building.html (original) +++ websites/staging/opennlp/trunk/content/opennlp/building.html Wed Feb 2 17:11:05 2011 @@ -81,7 +81,7 @@ recommended to always build with <pre><c changed docbook xml files might not be re-processed otherwise.</p> <p>In some cases it might be convenient to skip the tests. That can be done with the "-Dmaven.test.skip=true" option. -For example type: <pre><code>mvn clean install -Dmaventest.skip=true</pre></code></p> +For example type: <pre><code>mvn clean install -Dmaven.test.skip=true</pre></code></p> <p>No tests will no be executed.</p> <p>It might happen from time to time that the build fails, if so please report a broken build on the opennlp-dev mailing From [email protected] Wed Feb 02 18:05:59 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22176 invoked from network); 2 Feb 2011 18:05:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Feb 2011 18:05:59 -0000 Received: (qmail 55873 invoked by uid 500); 2 Feb 2011 18:05:59 -0000 Delivered-To: [email protected] Received: (qmail 55852 invoked by uid 500); 2 Feb 2011 18:05:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <opennlp-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 55845 invoked by uid 99); 2 Feb 2011 18:05:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 18:05:58 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 18:05:56 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id BDFCE2388906; Wed, 2 Feb 2011 18:05:35 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1066552 - /incubator/opennlp/site/trunk/templates/sidenav.mdtext Date: Wed, 02 Feb 2011 18:05:35 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: joern Date: Wed Feb 2 18:05:35 2011 New Revision: 1066552 URL: http://svn.apache.org/viewvc?rev=1066552&view=rev Log: OPENNLP-50 Added building to sidenav. Modified: incubator/opennlp/site/trunk/templates/sidenav.mdtext Modified: incubator/opennlp/site/trunk/templates/sidenav.mdtext URL: http://svn.apache.org/viewvc/incubator/opennlp/site/trunk/templates/sidenav.mdtext?rev=1066552&r1=1066551&r2=1066552&view=diff ============================================================================== --- incubator/opennlp/site/trunk/templates/sidenav.mdtext (original) +++ incubator/opennlp/site/trunk/templates/sidenav.mdtext Wed Feb 2 18:05:35 2011 @@ -8,6 +8,7 @@ - <a href="https://issues.apache.org/jira/browse/OPENNLP" class="externalLink">Issue tracker</a> # Development - [Source Code](source-code.html) + - [Building](building.html) - [Project Team](team.html) # ASF - <a href="http://www.apache.org" class="externalLink">ASF</a> From [email protected] Wed Feb 02 18:06:02 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22203 invoked from network); 2 Feb 2011 18:06:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Feb 2011 18:06:02 -0000 Received: (qmail 55909 invoked by uid 500); 2 Feb 2011 18:06:02 -0000 Delivered-To: [email protected] Received: (qmail 55889 invoked by uid 500); 2 Feb 2011 18:06:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <opennlp-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 55882 invoked by uid 99); 2 Feb 2011 18:06:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 18:06:02 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 18:06:01 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id A30F92388A36; Wed, 2 Feb 2011 18:05:41 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r784670 - in /websites/staging/opennlp/trunk/content/opennlp: building.html documentation.html download.html index.html mail-lists.html news.html source-code.html team.html Date: Wed, 02 Feb 2011 18:05:41 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: buildbot Date: Wed Feb 2 18:05:41 2011 New Revision: 784670 Log: Staging update by buildbot Modified: websites/staging/opennlp/trunk/content/opennlp/building.html websites/staging/opennlp/trunk/content/opennlp/documentation.html websites/staging/opennlp/trunk/content/opennlp/download.html websites/staging/opennlp/trunk/content/opennlp/index.html websites/staging/opennlp/trunk/content/opennlp/mail-lists.html websites/staging/opennlp/trunk/content/opennlp/news.html websites/staging/opennlp/trunk/content/opennlp/source-code.html websites/staging/opennlp/trunk/content/opennlp/team.html Modified: websites/staging/opennlp/trunk/content/opennlp/building.html ============================================================================== --- websites/staging/opennlp/trunk/content/opennlp/building.html (original) +++ websites/staging/opennlp/trunk/content/opennlp/building.html Wed Feb 2 18:05:41 2011 @@ -49,6 +49,7 @@ <h1 id="development">Development</h1> <ul> <li><a href="source-code.html">Source Code</a></li> +<li><a href="building.html">Building</a></li> <li><a href="team.html">Project Team</a></li> </ul> <h1 id="asf">ASF</h1> Modified: websites/staging/opennlp/trunk/content/opennlp/documentation.html ============================================================================== --- websites/staging/opennlp/trunk/content/opennlp/documentation.html (original) +++ websites/staging/opennlp/trunk/content/opennlp/documentation.html Wed Feb 2 18:05:41 2011 @@ -49,6 +49,7 @@ <h1 id="development">Development</h1> <ul> <li><a href="source-code.html">Source Code</a></li> +<li><a href="building.html">Building</a></li> <li><a href="team.html">Project Team</a></li> </ul> <h1 id="asf">ASF</h1> Modified: websites/staging/opennlp/trunk/content/opennlp/download.html ============================================================================== --- websites/staging/opennlp/trunk/content/opennlp/download.html (original) +++ websites/staging/opennlp/trunk/content/opennlp/download.html Wed Feb 2 18:05:41 2011 @@ -49,6 +49,7 @@ <h1 id="development">Development</h1> <ul> <li><a href="source-code.html">Source Code</a></li> +<li><a href="building.html">Building</a></li> <li><a href="team.html">Project Team</a></li> </ul> <h1 id="asf">ASF</h1> Modified: websites/staging/opennlp/trunk/content/opennlp/index.html ============================================================================== --- websites/staging/opennlp/trunk/content/opennlp/index.html (original) +++ websites/staging/opennlp/trunk/content/opennlp/index.html Wed Feb 2 18:05:41 2011 @@ -49,6 +49,7 @@ <h1 id="development">Development</h1> <ul> <li><a href="source-code.html">Source Code</a></li> +<li><a href="building.html">Building</a></li> <li><a href="team.html">Project Team</a></li> </ul> <h1 id="asf">ASF</h1> Modified: websites/staging/opennlp/trunk/content/opennlp/mail-lists.html ============================================================================== --- websites/staging/opennlp/trunk/content/opennlp/mail-lists.html (original) +++ websites/staging/opennlp/trunk/content/opennlp/mail-lists.html Wed Feb 2 18:05:41 2011 @@ -49,6 +49,7 @@ <h1 id="development">Development</h1> <ul> <li><a href="source-code.html">Source Code</a></li> +<li><a href="building.html">Building</a></li> <li><a href="team.html">Project Team</a></li> </ul> <h1 id="asf">ASF</h1> Modified: websites/staging/opennlp/trunk/content/opennlp/news.html ============================================================================== --- websites/staging/opennlp/trunk/content/opennlp/news.html (original) +++ websites/staging/opennlp/trunk/content/opennlp/news.html Wed Feb 2 18:05:41 2011 @@ -49,6 +49,7 @@ <h1 id="development">Development</h1> <ul> <li><a href="source-code.html">Source Code</a></li> +<li><a href="building.html">Building</a></li> <li><a href="team.html">Project Team</a></li> </ul> <h1 id="asf">ASF</h1> Modified: websites/staging/opennlp/trunk/content/opennlp/source-code.html ============================================================================== --- websites/staging/opennlp/trunk/content/opennlp/source-code.html (original) +++ websites/staging/opennlp/trunk/content/opennlp/source-code.html Wed Feb 2 18:05:41 2011 @@ -49,6 +49,7 @@ <h1 id="development">Development</h1> <ul> <li><a href="source-code.html">Source Code</a></li> +<li><a href="building.html">Building</a></li> <li><a href="team.html">Project Team</a></li> </ul> <h1 id="asf">ASF</h1> Modified: websites/staging/opennlp/trunk/content/opennlp/team.html ============================================================================== --- websites/staging/opennlp/trunk/content/opennlp/team.html (original) +++ websites/staging/opennlp/trunk/content/opennlp/team.html Wed Feb 2 18:05:41 2011 @@ -49,6 +49,7 @@ <h1 id="development">Development</h1> <ul> <li><a href="source-code.html">Source Code</a></li> +<li><a href="building.html">Building</a></li> <li><a href="team.html">Project Team</a></li> </ul> <h1 id="asf">ASF</h1> From [email protected] Wed Feb 02 18:07:33 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22514 invoked from network); 2 Feb 2011 18:07:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Feb 2011 18:07:33 -0000 Received: (qmail 59595 invoked by uid 500); 2 Feb 2011 18:07:33 -0000 Delivered-To: [email protected] Received: (qmail 59578 invoked by uid 500); 2 Feb 2011 18:07:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <opennlp-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 59571 invoked by uid 99); 2 Feb 2011 18:07:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 18:07:32 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 18:07:32 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 338AC2388906; Wed, 2 Feb 2011 18:07:12 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1066555 - /incubator/opennlp/site/trunk/content/opennlp/building.mdtext Date: Wed, 02 Feb 2011 18:07:12 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: joern Date: Wed Feb 2 18:07:11 2011 New Revision: 1066555 URL: http://svn.apache.org/viewvc?rev=1066555&view=rev Log: OPENNLP-50 Corrected a sentence. Modified: incubator/opennlp/site/trunk/content/opennlp/building.mdtext Modified: incubator/opennlp/site/trunk/content/opennlp/building.mdtext URL: http://svn.apache.org/viewvc/incubator/opennlp/site/trunk/content/opennlp/building.mdtext?rev=1066555&r1=1066554&r2=1066555&view=diff ============================================================================== --- incubator/opennlp/site/trunk/content/opennlp/building.mdtext (original) +++ incubator/opennlp/site/trunk/content/opennlp/building.mdtext Wed Feb 2 18:07:11 2011 @@ -27,7 +27,7 @@ In some cases it might be convenient to That can be done with the "-Dmaven.test.skip=true" option. For example type: <pre><code>mvn clean install -Dmaven.test.skip=true</pre></code> -No tests will no be executed. +No tests will be executed. It might happen from time to time that the build fails, if so please report a broken build on the opennlp-dev mailing From [email protected] Wed Feb 02 18:07:37 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22547 invoked from network); 2 Feb 2011 18:07:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Feb 2011 18:07:37 -0000 Received: (qmail 59680 invoked by uid 500); 2 Feb 2011 18:07:37 -0000 Delivered-To: [email protected] Received: (qmail 59664 invoked by uid 500); 2 Feb 2011 18:07:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <opennlp-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 59657 invoked by uid 99); 2 Feb 2011 18:07:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 18:07:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 18:07:37 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id EF42C2388A36; Wed, 2 Feb 2011 18:07:16 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r784671 - /websites/staging/opennlp/trunk/content/opennlp/building.html Date: Wed, 02 Feb 2011 18:07:16 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: buildbot Date: Wed Feb 2 18:07:16 2011 New Revision: 784671 Log: Staging update by buildbot Modified: websites/staging/opennlp/trunk/content/opennlp/building.html Modified: websites/staging/opennlp/trunk/content/opennlp/building.html ============================================================================== --- websites/staging/opennlp/trunk/content/opennlp/building.html (original) +++ websites/staging/opennlp/trunk/content/opennlp/building.html Wed Feb 2 18:07:16 2011 @@ -83,7 +83,7 @@ changed docbook xml files might not be r <p>In some cases it might be convenient to skip the tests. That can be done with the "-Dmaven.test.skip=true" option. For example type: <pre><code>mvn clean install -Dmaven.test.skip=true</pre></code></p> -<p>No tests will no be executed.</p> +<p>No tests will be executed.</p> <p>It might happen from time to time that the build fails, if so please report a broken build on the opennlp-dev mailing list. The build should always work for everyone.</p> From [email protected] Wed Feb 02 19:05:20 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7609 invoked from network); 2 Feb 2011 19:05:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Feb 2011 19:05:20 -0000 Received: (qmail 64291 invoked by uid 500); 2 Feb 2011 19:05:20 -0000 Delivered-To: [email protected] Received: (qmail 64273 invoked by uid 500); 2 Feb 2011 19:05:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <opennlp-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 64266 invoked by uid 99); 2 Feb 2011 19:05:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 19:05:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 19:05:18 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B7EF823889E3; Wed, 2 Feb 2011 19:04:56 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r784683 - in /websites/production/opennlp: ./ content/opennlp/ Date: Wed, 02 Feb 2011 19:04:56 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: joern Date: Wed Feb 2 19:04:56 2011 New Revision: 784683 Log: OPENNLP-50 Added build instructions to the website Added: websites/production/opennlp/content/opennlp/building.html - copied unchanged from r784682, websites/staging/opennlp/trunk/content/opennlp/building.html Modified: websites/production/opennlp/ (props changed) websites/production/opennlp/content/opennlp/documentation.html websites/production/opennlp/content/opennlp/download.html websites/production/opennlp/content/opennlp/index.html websites/production/opennlp/content/opennlp/mail-lists.html websites/production/opennlp/content/opennlp/news.html websites/production/opennlp/content/opennlp/source-code.html websites/production/opennlp/content/opennlp/team.html Propchange: websites/production/opennlp/ ------------------------------------------------------------------------------ --- svn:mergeinfo (original) +++ svn:mergeinfo Wed Feb 2 19:04:56 2011 @@ -1 +1 @@ -/websites/staging/opennlp/trunk:780063-784328 +/websites/staging/opennlp/trunk:780063-784682 Modified: websites/production/opennlp/content/opennlp/documentation.html ============================================================================== --- websites/production/opennlp/content/opennlp/documentation.html (original) +++ websites/production/opennlp/content/opennlp/documentation.html Wed Feb 2 19:04:56 2011 @@ -49,6 +49,7 @@ <h1 id="development">Development</h1> <ul> <li><a href="source-code.html">Source Code</a></li> +<li><a href="building.html">Building</a></li> <li><a href="team.html">Project Team</a></li> </ul> <h1 id="asf">ASF</h1> Modified: websites/production/opennlp/content/opennlp/download.html ============================================================================== --- websites/production/opennlp/content/opennlp/download.html (original) +++ websites/production/opennlp/content/opennlp/download.html Wed Feb 2 19:04:56 2011 @@ -49,6 +49,7 @@ <h1 id="development">Development</h1> <ul> <li><a href="source-code.html">Source Code</a></li> +<li><a href="building.html">Building</a></li> <li><a href="team.html">Project Team</a></li> </ul> <h1 id="asf">ASF</h1> Modified: websites/production/opennlp/content/opennlp/index.html ============================================================================== --- websites/production/opennlp/content/opennlp/index.html (original) +++ websites/production/opennlp/content/opennlp/index.html Wed Feb 2 19:04:56 2011 @@ -49,6 +49,7 @@ <h1 id="development">Development</h1> <ul> <li><a href="source-code.html">Source Code</a></li> +<li><a href="building.html">Building</a></li> <li><a href="team.html">Project Team</a></li> </ul> <h1 id="asf">ASF</h1> Modified: websites/production/opennlp/content/opennlp/mail-lists.html ============================================================================== --- websites/production/opennlp/content/opennlp/mail-lists.html (original) +++ websites/production/opennlp/content/opennlp/mail-lists.html Wed Feb 2 19:04:56 2011 @@ -49,6 +49,7 @@ <h1 id="development">Development</h1> <ul> <li><a href="source-code.html">Source Code</a></li> +<li><a href="building.html">Building</a></li> <li><a href="team.html">Project Team</a></li> </ul> <h1 id="asf">ASF</h1> Modified: websites/production/opennlp/content/opennlp/news.html ============================================================================== --- websites/production/opennlp/content/opennlp/news.html (original) +++ websites/production/opennlp/content/opennlp/news.html Wed Feb 2 19:04:56 2011 @@ -49,6 +49,7 @@ <h1 id="development">Development</h1> <ul> <li><a href="source-code.html">Source Code</a></li> +<li><a href="building.html">Building</a></li> <li><a href="team.html">Project Team</a></li> </ul> <h1 id="asf">ASF</h1> @@ -61,7 +62,12 @@ <div id="content"> <h1 class="title">News</h1> - <h3 id="24-dec-2010">24-Dec-2010</h3> + <h3 id="29-jan-2011">29-Jan-2011</h3> +<ul> +<li>We have moved JIRA issues to a new list. Special <em>THANKS</em> go to Gavin for helping.</li> +<li>We are preparing for our first full release of the package.</li> +</ul> +<h3 id="24-dec-2010">24-Dec-2010</h3> <ul> <li>Merry Christmas &amp; Happy New Year!</li> <li>We have the sources online, are working on porting the documentation, and cleanup of the code to meet Apache Incubator reqirements.</li> Modified: websites/production/opennlp/content/opennlp/source-code.html ============================================================================== --- websites/production/opennlp/content/opennlp/source-code.html (original) +++ websites/production/opennlp/content/opennlp/source-code.html Wed Feb 2 19:04:56 2011 @@ -49,6 +49,7 @@ <h1 id="development">Development</h1> <ul> <li><a href="source-code.html">Source Code</a></li> +<li><a href="building.html">Building</a></li> <li><a href="team.html">Project Team</a></li> </ul> <h1 id="asf">ASF</h1> Modified: websites/production/opennlp/content/opennlp/team.html ============================================================================== --- websites/production/opennlp/content/opennlp/team.html (original) +++ websites/production/opennlp/content/opennlp/team.html Wed Feb 2 19:04:56 2011 @@ -49,6 +49,7 @@ <h1 id="development">Development</h1> <ul> <li><a href="source-code.html">Source Code</a></li> +<li><a href="building.html">Building</a></li> <li><a href="team.html">Project Team</a></li> </ul> <h1 id="asf">ASF</h1> From [email protected] Wed Feb 09 18:42:12 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48527 invoked from network); 9 Feb 2011 18:42:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Feb 2011 18:42:12 -0000 Received: (qmail 91214 invoked by uid 500); 9 Feb 2011 18:42:11 -0000 Delivered-To: [email protected] Received: (qmail 91155 invoked by uid 500); 9 Feb 2011 18:42:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <opennlp-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 91147 invoked by uid 99); 9 Feb 2011 18:42:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Feb 2011 18:42:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Feb 2011 18:42:07 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 7CB8423888EC; Wed, 9 Feb 2011 18:41:46 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1069028 - /incubator/opennlp/trunk/opennlp/pom.xml Date: Wed, 09 Feb 2011 18:41:46 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: joern Date: Wed Feb 9 18:41:46 2011 New Revision: 1069028 URL: http://svn.apache.org/viewvc?rev=1069028&view=rev Log: OPENNLP-129 Enabled all compiler warnings Modified: incubator/opennlp/trunk/opennlp/pom.xml Modified: incubator/opennlp/trunk/opennlp/pom.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp/pom.xml?rev=1069028&r1=1069027&r2=1069028&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp/pom.xml (original) +++ incubator/opennlp/trunk/opennlp/pom.xml Wed Feb 9 18:41:46 2011 @@ -92,6 +92,7 @@ <configuration> <source>1.5</source> <target>1.5</target> + <compilerArgument>-Xlint</compilerArgument> </configuration> </plugin> From [email protected] Thu Feb 10 00:50:15 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46347 invoked from network); 10 Feb 2011 00:50:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Feb 2011 00:50:15 -0000 Received: (qmail 20763 invoked by uid 500); 10 Feb 2011 00:50:15 -0000 Delivered-To: [email protected] Received: (qmail 20744 invoked by uid 500); 10 Feb 2011 00:50:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <opennlp-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 20737 invoked by uid 99); 10 Feb 2011 00:50:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Feb 2011 00:50:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Feb 2011 00:50:13 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 462F62388903; Thu, 10 Feb 2011 00:49:52 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1069179 - /incubator/opennlp/trunk/opennlp-docs/pom.xml Date: Thu, 10 Feb 2011 00:49:52 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: joern Date: Thu Feb 10 00:49:51 2011 New Revision: 1069179 URL: http://svn.apache.org/viewvc?rev=1069179&view=rev Log: OPENNLP-130 Fixed docbook dependency to have correct version according to the used dtds Modified: incubator/opennlp/trunk/opennlp-docs/pom.xml Modified: incubator/opennlp/trunk/opennlp-docs/pom.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-docs/pom.xml?rev=1069179&r1=1069178&r2=1069179&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp-docs/pom.xml (original) +++ incubator/opennlp/trunk/opennlp-docs/pom.xml Thu Feb 10 00:49:51 2011 @@ -47,13 +47,11 @@ </execution> </executions> <dependencies> - <dependency> - <groupId>org.docbook</groupId> - <artifactId>docbook-xml</artifactId> - <version>5.0</version> - <type>pom</type> - <scope>runtime</scope> - </dependency> + <dependency> + <groupId>org.docbook</groupId> + <artifactId>docbook-xml</artifactId> + <version>4.4</version> + </dependency> </dependencies> <configuration> <xincludeSupported>true</xincludeSupported> From [email protected] Tue Feb 22 22:52:33 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21541 invoked from network); 22 Feb 2011 22:52:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Feb 2011 22:52:33 -0000 Received: (qmail 32085 invoked by uid 500); 22 Feb 2011 22:52:33 -0000 Delivered-To: [email protected] Received: (qmail 32066 invoked by uid 500); 22 Feb 2011 22:52:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <opennlp-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 32059 invoked by uid 99); 22 Feb 2011 22:52:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Feb 2011 22:52:33 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Feb 2011 22:52:31 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id DE81223889DA; Tue, 22 Feb 2011 22:52:09 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r1073534 - /incubator/opennlp/trunk/KEYS Date: Tue, 22 Feb 2011 22:52:09 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: joern Date: Tue Feb 22 22:52:09 2011 New Revision: 1073534 URL: http://svn.apache.org/viewvc?rev=1073534&view=rev Log: Added my code signing keys Modified: incubator/opennlp/trunk/KEYS Modified: incubator/opennlp/trunk/KEYS URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/KEYS?rev=1073534&r1=1073533&r2=1073534&view=diff ============================================================================== --- incubator/opennlp/trunk/KEYS (original) +++ incubator/opennlp/trunk/KEYS Tue Feb 22 22:52:09 2011 @@ -117,3 +117,102 @@ gPPQm2kx4WCL1OLc9faqJmYXwsa0O7zq3uJEZx/n M3lA67tQpl6feMswEOgsEql7Bg== =jXKL -----END PGP PUBLIC KEY BLOCK----- + +----------------------------------------------------------------------------------- +pub 1024D/91DDAC20 2008-01-25 +uid Jšrn Kottmann <[email protected]> +sig 3 91DDAC20 2011-02-22 Jšrn Kottmann <[email protected]> +sub 2048g/7B06114B 2008-01-25 +sig 91DDAC20 2008-01-25 Jšrn Kottmann <[email protected]> + +pub 4096R/5EE31F7F 2011-02-22 +uid Jšrn Kottmann <[email protected]> +sig 3 5EE31F7F 2011-02-22 Jšrn Kottmann <[email protected]> +sig 91DDAC20 2011-02-22 Jšrn Kottmann <[email protected]> +sub 4096R/87CFF9D9 2011-02-22 +sig 5EE31F7F 2011-02-22 Jšrn Kottmann <[email protected]> + +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG/MacGPG2 v2.0.16 (Darwin) + +mQGiBEeZsXMRBACW7VN2XbSW2IiAECQbECh3a54Kq7K4nct04zDBerjwxXRYBJaR +dGLkZ1iuto/fTWf9LedYctT5teRuLTw+hJNT3GmPl2RKsnQoCYnlrzXfQ8dkGvwH +d9RBx/3ax9BE2z9aQW+MbCDFPzJLEKk4XGsoRWBRy+DVFKG8CbANCJiSkwCgvPIn +v7y19Yk4XFKorfR012I6LH8D/1DeePwUEBrphORoDn7KInvZuDhjOLxGNp1puU5l +PLnhAFDRMN9VXuG4GFy7DFmyhcXv/AwI7AKA1sX5gQT3dQ5m+vTCmBbMX0bKAgud +gMXtkqSlnBJwM6M00dZOtngxYV6ocsoONKzkBYyNWGCinUhDxtTs+rR7V3LbEMz+ +73TUA/9lGAsg1lOVjqZbDiYC0AVQIM+SFVlRRloTQaVyLdwaaLrIsGtDq/bwsVv7 +S+gTgQtrwjxLwF0vL2rjgK4IDI6zZqAgdBagK9GKxmdKh3wizkWMPSaNkfQ7IXqp +Z9M1Gkgbvr4o/x1Al64ZbiXihjMw1wVatHlS/TFbvQOJDQMBzLQhSsO2cm4gS290 +dG1hbm4gPGpvZXJuQGFwYWNoZS5vcmc+iGEEExECACECGwMCHgECF4AFAk1kGDMF +CwkIBwMFFQoJCAsFFgIDAQAACgkQ2kbYYZHdrCDRxgCgmVHGB6yD0OJU1yxKtaoJ +R9mBQKgAoISW2Z3xbTufMrlXc9hAUNLRxHgHuQINBEeZsaQQCAC+cK1uFagdbUQo +65cfKeVQOMaWA46W63BpX+ZOuQ7AvuV0w+5TAzh/VCEoaS9G9lwhXmBG9eKpSLRz +cLv9rj7OOPWLYU9HRhMJ7A9inhx1uOOAbwzhmAbEYjiDTutz9c4cjF9dxM0adboI +/nDNV92FhL3i4GFS+mkVPrPYnjtOJmrQnsIFKmLkq//va/Hy7X/Unjr3HVVWWYvm +Up7R/5YcDpK+J/a04KBK1E59mVKO8D3XKa2+nyzRwu9PgT8AhGPESC/YLG/Eq+Xx +nLuO+Th0oe8t6gWhhhtkMawttzx22LeS6OXagK5wO8I8AqokhuAOtnto5sf3mODF +37rPW4QnAAMFB/9IIv7BDRimEr707yxty8YeEn6+wJgO93lWZXvoz3yTUXw0w9ug +abQNYkJoVK2eDAzazC2m9cw1F2rVrP1tD0L3bFhKqnsp8rEWPYEsDNtLwTkBXYz8 +7BSgIrFQFoVJM0gQAgWsvJy2PdubYqJzOEhVAzVq7hhvsMvcgI/3kwTbkNaRrODw +RX+66I6JSUtuxWLqMpX4MYV3LG6gp0dVA+yWZjPgWKDFfWh4SdA2dbYFpSHpZIRn +Ou5OmwxpNb429nz4iZmB4+qSqU+Y1JYrtSdwA0BgF1OSwEJe+piwbAqTv1UUNJoo +GtYLuAuqezckLTe281eGQNtOoukAt5El1OvJiEkEGBECAAkFAkeZsaQCGwwACgkQ +2kbYYZHdrCDW+ACdGhmTNDDusXBzUJIjDhVDoFvigsYAniLz783Y6+1ic8DdTfqR +CAffspdh +=HErw +-----END PGP PUBLIC KEY BLOCK----- + +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG/MacGPG2 v2.0.16 (Darwin) + +mQINBE1kFMQBEADLi0EsQnl2Ntttis+lN8FcyeEilETbRRiT3QNnse/OXKjJx5jn +3I8qTPUQE765ZxVceX1f6qbcz8pzGtq6qwdn/pp68CL9OCkU4mbGssr1mZJyg40R +vEXfpuYPBLx//nruXWvlShhqWg1OnN/VriuCG0yogYiWLiGGj7uGAcg9EMufN+hZ +GdHZZyQ99lsI1V6/fbpPdWxDNoW9C/mu9pouUMej2VoZOhquluDXrZrlO5BNcVhB +8uvvkwL5OxM7JVsoKTCQEBNrCQw8WQtKZNCHs04cS8srAIxSq72GIFfyruX+73Gv +qWeOzxxw0Gzs2R0A3Xu5XqxkqiRty2QPeGXQrym5jptV7W6rVzIXcUSaWi/SANxb +ruS1xBhNCXl/+n786N91G+iEFFDI4IAMPFauf+bMAkz22wYJeefL+fJdda4pTCw1 +OyGSytwju6YBayoQ5PdceiXb/POug/fmTut+N1QNuVzoyRyXn8WcJujUvjcQW+in +739Pq3VrnGnsNgccTtzN0ySLaaPF7xrhC5Mq+sO9CReRmbF5LAbL0tnVeCGEStXi +tsWUzHfURPVK+BnQy77AJUcnF4+tfJHFSvnVgbVh32Safdjs+CwrhqTlPWLn5E8n +naF7SUMbDihvoPtGXlqnyy2wUOx0WtFgqZMf99It5eJM821J/AQVeN4pNwARAQAB +tCFKw7ZybiBLb3R0bWFubiA8am9lcm5AYXBhY2hlLm9yZz6JAjYEEwEKACEFAk1k +FMQCGwMFCwkIBwMFFQoJCAsFFgIDAQACHgECF4AACgkQ6tKtml7jH39QWQ/zBi18 +aAtshZThYqF2Pj80hQ604MsFvlmhqG9/puJYMkKEXyMuhepan1cIJJceCw7GXB+P +M8wVwePkMo5adzcr/0wnH++hC6P75IimWo2kf0hL2l1z0zkq9LQQt0JRjY9ZqxDw +REj+6WSZl2l3JJVnTycpbzDzuLSAxHcmdIG9bkqnwrZ77GwO8J/MN+MUycUMT1fd +7iWPJpvjqnOWNE1+L3cFReUt6VgzVidJ7jHrOz49rTmqlF97+yjUy1tyRIDeLl3C +9V+oZM17ATlw5PJ04iB/q2Lg/caY9H5FsAcvjDmCNN6Eutyx0K0DC6DvZA9y5c5v +OacJhtXR2jXukMnHs2p2WW2E6XoS4KQomC/F6qZngVpH18+bzMzsQu7ASud3epBd +9iDbiJ+UgjtUj6ec+FWc56qKhdmvdtqmzdvgSsQN+JaOpyCsWJg77sBM6/Z76BFL +1RC63mhuUd67bAdUNKKiw4oZ9QMJCd6KP/Fm+e98huetZcPTf//BglyePTkl4yfV +iL5tk0T/kn2YNEG/mjev5HNROg0KoF0REl6FZ5+WwFnjmdjAw9BZRMNDwTDFSj3c +Sl0PUZ2+R2V0gf3TBdxVhYCzPzLujpYjp//UgrJk6XWYmMNUGMQJq7P+LuUye0h2 +TTz0eGDn/i1JDf89ET2v6+xg3GrVSSKHCTRzgIhGBBARCgAGBQJNZBd1AAoJENpG +2GGR3awgWjYAnjYtcttIduCQA191T4DvQYzdWuK7AJ4qAUXX4lbkzeLGEgNolVJd +jtKD77kCDQRNZBTEARAA6cF+kZaIb4IlMO1FbTXowCOkEYOWhOP+5eXCcc1q3ZB0 +HNV3kRCxKH1dbaDOhAxmuP0nMLwSDkQcFFGxfXAIfV5Miwtdtlwc7+jrCYMRzqZ4 +zRCWmEdJ5bTE3bdiYc1Wo4/8dPfB9hn6sv/MGjlWy/DB4tElFYA1JDOyCdQ0SSwh +yc15Yv+i78URjUf7q1WUGHhH7YN1lSldXvAiU4ZYioHLiLxMuhmGtXMoiE2+jRFt +E8x9RwQCvDUjBMXqZ82FM/aqVeqMqcYi8F3iELDbZrVGoGBQ2cJh9a/rSvUTBEPg +OSrPieDQqTlNK36isGBdLETDU1gPIXtHoUlbGpe9CvK6wazAjeEV+ck8mvRz20iC +i3RzkkvlN2TV+s0VNGQTztK2DQblwuv0yeEGuiq2GlakMnhsSJLWgYYcPDirJR/j +2qsFIOZOxtWqqPfB3wJyl2wmBXjSIfpb7BCulCSP1QVHos1OITbFB0QLST9twWPw ++cSF8tezJ3rbGUvvkBQQgpdDMUMceaTL84PGvUW1z5uz0HW3jo5ISihNRUN+zcQR +63q5+/Mw3Oar2dutmFxogC5iuIj+jZjRUewVaa+BC/YRNNeDEWSm63NVco+NRlS5 ++Zsd2+831HuTtwuaSavSOJuZCx5HBA5578OEfwpFQRSYDIVJ1en09D/4K3GrvdEA +EQEAAYkCHwQYAQoACQUCTWQUxAIbDAAKCRDq0q2aXuMff0Y8D/48gN/HXOurJhES +78hZsjkoIE1CUzL0MDtil5RI2XUqdRn2bIsVhsMtEK81aZjM66XLsRSuFaaAZwn0 +QecxTI8gd4U6VV0DRP0R8Yq1Dcg8vaPAZVwPXlC0SDQaGrlR4bpW1mO51nSUnxlq +la7zM1vzmboVn3nD+OjOshSPMQRnxWN/8L0pyQep7IA68UeJdRo/9DsoIJXU9vMF +14YIfE78jiXlv0MmDtQgQTv3amP4ktm6fcbXlTrr4tgiWYDbRXeerMY473pLLYtq +7UgtRSSZvQupBBB6KflojCfHrX53VItive2QcW0Grz7Rcz4/E3Rjr2Rhv5RRrpeg +2gF3gi0PP0Wl5k5sgMmF2Xx78SGv5eww1JD/ZCXQDYyzwV2+6En8BlOvUcSVkSfo +9dAel7PpcV59RZcc/oKWh7hZO2sbUUNwQGEAz1Rfz8s5HzQHB5Y90n80XjPsDYg9 +XJ88V2f4lU+/dQjasBXph0e7LvlkZrn50ji/sfwpuBT/6++Jf2dr1330VukWXyDg +4U0dMVq7wNbB10sLJIdBPOvWb8jEOsv6hA28M9WOLM8fd6petg7n4zkRAjU9Hlk2 +UPF+BhTMjtxCA7+XTVIHXkOBEWiA6b9WRyK9y3T2pLFvwQi8qhCk0DgY4tUX3Yoz +K8lv1puwHj4laJEwSV7NpnveVzKRIw== +=cn0A +-----END PGP PUBLIC KEY BLOCK----- From [email protected] Wed Feb 23 12:20:49 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77933 invoked from network); 23 Feb 2011 12:20:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Feb 2011 12:20:49 -0000 Received: (qmail 80703 invoked by uid 500); 23 Feb 2011 12:20:48 -0000 Delivered-To: [email protected] Received: (qmail 80681 invoked by uid 500); 23 Feb 2011 12:20:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <opennlp-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 80673 invoked by uid 99); 23 Feb 2011 12:20:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Feb 2011 12:20:47 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Feb 2011 12:20:46 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 622F123889BB; Wed, 23 Feb 2011 12:20:26 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1073717 - /incubator/opennlp/trunk/opennlp-uima/descriptors/ Date: Wed, 23 Feb 2011 12:20:26 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: joern Date: Wed Feb 23 12:20:25 2011 New Revision: 1073717 URL: http://svn.apache.org/viewvc?rev=1073717&view=rev Log: OPENNLP-131 Updated versions to 1.5.1 and vendor to ASF. Modified: incubator/opennlp/trunk/opennlp-uima/descriptors/Chunker.xml incubator/opennlp/trunk/opennlp-uima/descriptors/ChunkerTrainer.xml incubator/opennlp/trunk/opennlp-uima/descriptors/DateNameFinder.xml incubator/opennlp/trunk/opennlp-uima/descriptors/LocationNameFinder.xml incubator/opennlp/trunk/opennlp-uima/descriptors/MoneyNameFinder.xml incubator/opennlp/trunk/opennlp-uima/descriptors/OrganizationNameFinder.xml incubator/opennlp/trunk/opennlp-uima/descriptors/PercentageNameFinder.xml incubator/opennlp/trunk/opennlp-uima/descriptors/PersonNameFinder.xml incubator/opennlp/trunk/opennlp-uima/descriptors/PersonNameFinderTrainer.xml incubator/opennlp/trunk/opennlp-uima/descriptors/PosTagger.xml incubator/opennlp/trunk/opennlp-uima/descriptors/PosTaggerTrainer.xml incubator/opennlp/trunk/opennlp-uima/descriptors/SentenceDetector.xml incubator/opennlp/trunk/opennlp-uima/descriptors/SentenceDetectorTrainer.xml incubator/opennlp/trunk/opennlp-uima/descriptors/SimpleTokenizer.xml incubator/opennlp/trunk/opennlp-uima/descriptors/TimeNameFinder.xml incubator/opennlp/trunk/opennlp-uima/descriptors/Tokenizer.xml incubator/opennlp/trunk/opennlp-uima/descriptors/TokenizerTrainer.xml incubator/opennlp/trunk/opennlp-uima/descriptors/TypeSystem.xml Modified: incubator/opennlp/trunk/opennlp-uima/descriptors/Chunker.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-uima/descriptors/Chunker.xml?rev=1073717&r1=1073716&r2=1073717&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp-uima/descriptors/Chunker.xml (original) +++ incubator/opennlp/trunk/opennlp-uima/descriptors/Chunker.xml Wed Feb 23 12:20:25 2011 @@ -26,8 +26,8 @@ <analysisEngineMetaData> <name>Chunker</name> <description></description> - <version>1.4.4</version> - <vendor>OpenNLP</vendor> + <version>1.5.1</version> + <vendor>Apache Software Foundation</vendor> <configurationParameters> <configurationParameter> Modified: incubator/opennlp/trunk/opennlp-uima/descriptors/ChunkerTrainer.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-uima/descriptors/ChunkerTrainer.xml?rev=1073717&r1=1073716&r2=1073717&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp-uima/descriptors/ChunkerTrainer.xml (original) +++ incubator/opennlp/trunk/opennlp-uima/descriptors/ChunkerTrainer.xml Wed Feb 23 12:20:25 2011 @@ -25,8 +25,8 @@ <processingResourceMetaData> <name>POS Trainer</name> <description></description> - <version>1.4.3</version> - <vendor>OpenNLP</vendor> + <version>1.5.1</version> + <vendor>Apache Software Foundation</vendor> <configurationParameters> <configurationParameter> Modified: incubator/opennlp/trunk/opennlp-uima/descriptors/DateNameFinder.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-uima/descriptors/DateNameFinder.xml?rev=1073717&r1=1073716&r2=1073717&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp-uima/descriptors/DateNameFinder.xml (original) +++ incubator/opennlp/trunk/opennlp-uima/descriptors/DateNameFinder.xml Wed Feb 23 12:20:25 2011 @@ -26,8 +26,8 @@ <analysisEngineMetaData> <name>Date Name Finder</name> <description></description> - <version>1.4.4</version> - <vendor>OpenNLP</vendor> + <version>1.5.1</version> + <vendor>Apache Software Foundation</vendor> <configurationParameters> <configurationParameter> Modified: incubator/opennlp/trunk/opennlp-uima/descriptors/LocationNameFinder.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-uima/descriptors/LocationNameFinder.xml?rev=1073717&r1=1073716&r2=1073717&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp-uima/descriptors/LocationNameFinder.xml (original) +++ incubator/opennlp/trunk/opennlp-uima/descriptors/LocationNameFinder.xml Wed Feb 23 12:20:25 2011 @@ -26,8 +26,8 @@ <analysisEngineMetaData> <name>Location Name Finder</name> <description></description> - <version>1.4.4</version> - <vendor>OpenNLP</vendor> + <version>1.5.1</version> + <vendor>Apache Software Foundation</vendor> <configurationParameters> <configurationParameter> Modified: incubator/opennlp/trunk/opennlp-uima/descriptors/MoneyNameFinder.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-uima/descriptors/MoneyNameFinder.xml?rev=1073717&r1=1073716&r2=1073717&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp-uima/descriptors/MoneyNameFinder.xml (original) +++ incubator/opennlp/trunk/opennlp-uima/descriptors/MoneyNameFinder.xml Wed Feb 23 12:20:25 2011 @@ -26,8 +26,8 @@ <analysisEngineMetaData> <name>Money Name Finder</name> <description></description> - <version>1.4.4</version> - <vendor>OpenNLP</vendor> + <version>1.5.1</version> + <vendor>Apache Software Foundation</vendor> <configurationParameters> <configurationParameter> Modified: incubator/opennlp/trunk/opennlp-uima/descriptors/OrganizationNameFinder.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-uima/descriptors/OrganizationNameFinder.xml?rev=1073717&r1=1073716&r2=1073717&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp-uima/descriptors/OrganizationNameFinder.xml (original) +++ incubator/opennlp/trunk/opennlp-uima/descriptors/OrganizationNameFinder.xml Wed Feb 23 12:20:25 2011 @@ -26,8 +26,8 @@ <analysisEngineMetaData> <name>Organization Name Finder</name> <description></description> - <version>1.4.4</version> - <vendor>OpenNLP</vendor> + <version>1.5.1</version> + <vendor>Apache Software Foundation</vendor> <configurationParameters> <configurationParameter> Modified: incubator/opennlp/trunk/opennlp-uima/descriptors/PercentageNameFinder.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-uima/descriptors/PercentageNameFinder.xml?rev=1073717&r1=1073716&r2=1073717&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp-uima/descriptors/PercentageNameFinder.xml (original) +++ incubator/opennlp/trunk/opennlp-uima/descriptors/PercentageNameFinder.xml Wed Feb 23 12:20:25 2011 @@ -26,8 +26,8 @@ <analysisEngineMetaData> <name>Percentage Name Finder</name> <description></description> - <version>1.4.4</version> - <vendor>OpenNLP</vendor> + <version>1.5.1</version> + <vendor>Apache Software Foundation</vendor> <configurationParameters> <configurationParameter> Modified: incubator/opennlp/trunk/opennlp-uima/descriptors/PersonNameFinder.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-uima/descriptors/PersonNameFinder.xml?rev=1073717&r1=1073716&r2=1073717&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp-uima/descriptors/PersonNameFinder.xml (original) +++ incubator/opennlp/trunk/opennlp-uima/descriptors/PersonNameFinder.xml Wed Feb 23 12:20:25 2011 @@ -26,8 +26,8 @@ <analysisEngineMetaData> <name>Person Name Finder</name> <description></description> - <version>1.4.4</version> - <vendor>OpenNLP</vendor> + <version>1.5.1</version> + <vendor>Apache Software Foundation</vendor> <configurationParameters> <configurationParameter> Modified: incubator/opennlp/trunk/opennlp-uima/descriptors/PersonNameFinderTrainer.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-uima/descriptors/PersonNameFinderTrainer.xml?rev=1073717&r1=1073716&r2=1073717&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp-uima/descriptors/PersonNameFinderTrainer.xml (original) +++ incubator/opennlp/trunk/opennlp-uima/descriptors/PersonNameFinderTrainer.xml Wed Feb 23 12:20:25 2011 @@ -26,8 +26,8 @@ <processingResourceMetaData> <name>Person Name Finder Trainer</name> <description></description> - <version>1.4.4</version> - <vendor>OpenNLP</vendor> + <version>1.5.1</version> + <vendor>Apache Software Foundation</vendor> <configurationParameters> <configurationParameter> <name>opennlp.uima.ModelName</name> Modified: incubator/opennlp/trunk/opennlp-uima/descriptors/PosTagger.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-uima/descriptors/PosTagger.xml?rev=1073717&r1=1073716&r2=1073717&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp-uima/descriptors/PosTagger.xml (original) +++ incubator/opennlp/trunk/opennlp-uima/descriptors/PosTagger.xml Wed Feb 23 12:20:25 2011 @@ -26,8 +26,8 @@ <analysisEngineMetaData> <name>POS Tagger</name> <description></description> - <version>1.4.4</version> - <vendor>OpenNLP</vendor> + <version>1.5.1</version> + <vendor>Apache Software Foundation</vendor> <configurationParameters> <configurationParameter> Modified: incubator/opennlp/trunk/opennlp-uima/descriptors/PosTaggerTrainer.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-uima/descriptors/PosTaggerTrainer.xml?rev=1073717&r1=1073716&r2=1073717&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp-uima/descriptors/PosTaggerTrainer.xml (original) +++ incubator/opennlp/trunk/opennlp-uima/descriptors/PosTaggerTrainer.xml Wed Feb 23 12:20:25 2011 @@ -25,8 +25,8 @@ <processingResourceMetaData> <name>POS Trainer</name> <description></description> - <version>1.4.4</version> - <vendor>OpenNLP</vendor> + <version>1.5.1</version> + <vendor>Apache Software Foundation</vendor> <configurationParameters> <configurationParameter> Modified: incubator/opennlp/trunk/opennlp-uima/descriptors/SentenceDetector.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-uima/descriptors/SentenceDetector.xml?rev=1073717&r1=1073716&r2=1073717&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp-uima/descriptors/SentenceDetector.xml (original) +++ incubator/opennlp/trunk/opennlp-uima/descriptors/SentenceDetector.xml Wed Feb 23 12:20:25 2011 @@ -27,8 +27,8 @@ <analysisEngineMetaData> <name>Sentence Detector</name> <description></description> - <version>1.4.4</version> - <vendor>OpenNLP</vendor> + <version>1.5.1</version> + <vendor>Apache Software Foundation</vendor> <configurationParameters> <configurationParameter> <name>opennlp.uima.SentenceType</name> Modified: incubator/opennlp/trunk/opennlp-uima/descriptors/SentenceDetectorTrainer.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-uima/descriptors/SentenceDetectorTrainer.xml?rev=1073717&r1=1073716&r2=1073717&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp-uima/descriptors/SentenceDetectorTrainer.xml (original) +++ incubator/opennlp/trunk/opennlp-uima/descriptors/SentenceDetectorTrainer.xml Wed Feb 23 12:20:25 2011 @@ -26,8 +26,8 @@ <processingResourceMetaData> <name>Sentence Detector Trainer</name> <description></description> - <version>1.4.4</version> - <vendor>OpenNLP</vendor> + <version>1.5.1</version> + <vendor>Apache Software Foundation</vendor> <configurationParameters> <configurationParameter> Modified: incubator/opennlp/trunk/opennlp-uima/descriptors/SimpleTokenizer.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-uima/descriptors/SimpleTokenizer.xml?rev=1073717&r1=1073716&r2=1073717&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp-uima/descriptors/SimpleTokenizer.xml (original) +++ incubator/opennlp/trunk/opennlp-uima/descriptors/SimpleTokenizer.xml Wed Feb 23 12:20:25 2011 @@ -27,8 +27,8 @@ <analysisEngineMetaData> <name>SimpleTokenizer</name> <description></description> - <version>1.4.4</version> - <vendor>OpenNLP</vendor> + <version>1.5.1</version> + <vendor>Apache Software Foundation</vendor> <configurationParameters> <configurationParameter> <name>opennlp.uima.SentenceType</name> Modified: incubator/opennlp/trunk/opennlp-uima/descriptors/TimeNameFinder.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-uima/descriptors/TimeNameFinder.xml?rev=1073717&r1=1073716&r2=1073717&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp-uima/descriptors/TimeNameFinder.xml (original) +++ incubator/opennlp/trunk/opennlp-uima/descriptors/TimeNameFinder.xml Wed Feb 23 12:20:25 2011 @@ -26,8 +26,8 @@ <analysisEngineMetaData> <name>Time Name Finder</name> <description></description> - <version>1.4.4</version> - <vendor>OpenNLP</vendor> + <version>1.5.1</version> + <vendor>Apache Software Foundation</vendor> <configurationParameters> <configurationParameter> Modified: incubator/opennlp/trunk/opennlp-uima/descriptors/Tokenizer.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-uima/descriptors/Tokenizer.xml?rev=1073717&r1=1073716&r2=1073717&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp-uima/descriptors/Tokenizer.xml (original) +++ incubator/opennlp/trunk/opennlp-uima/descriptors/Tokenizer.xml Wed Feb 23 12:20:25 2011 @@ -26,8 +26,8 @@ <analysisEngineMetaData> <name>Tokenizer</name> <description></description> - <version>1.4.4</version> - <vendor>OpenNLP</vendor> + <version>1.5.1</version> + <vendor>Apache Software Foundation</vendor> <configurationParameters> <configurationParameter> <name>opennlp.uima.SentenceType</name> Modified: incubator/opennlp/trunk/opennlp-uima/descriptors/TokenizerTrainer.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-uima/descriptors/TokenizerTrainer.xml?rev=1073717&r1=1073716&r2=1073717&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp-uima/descriptors/TokenizerTrainer.xml (original) +++ incubator/opennlp/trunk/opennlp-uima/descriptors/TokenizerTrainer.xml Wed Feb 23 12:20:25 2011 @@ -27,8 +27,8 @@ <processingResourceMetaData> <name>TokenizerTrainer</name> <description></description> - <version>1.4.4</version> - <vendor>OpenNLP</vendor> + <version>1.5.1</version> + <vendor>Apache Software Foundation</vendor> <configurationParameters> <configurationParameter> <name>opennlp.uima.ModelName</name> Modified: incubator/opennlp/trunk/opennlp-uima/descriptors/TypeSystem.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-uima/descriptors/TypeSystem.xml?rev=1073717&r1=1073716&r2=1073717&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp-uima/descriptors/TypeSystem.xml (original) +++ incubator/opennlp/trunk/opennlp-uima/descriptors/TypeSystem.xml Wed Feb 23 12:20:25 2011 @@ -27,8 +27,8 @@ a custom type system change the mapping in the descriptors to the custom types and reference the custom type system. </description> - <version>1.4.4</version> - <vendor>OpenNLP</vendor> + <version>1.5.1</version> + <vendor>Apache Software Foundation</vendor> <types> <typeDescription> <name>opennlp.uima.Sentence</name> From [email protected] Wed Feb 23 19:47:38 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3649 invoked from network); 23 Feb 2011 19:47:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Feb 2011 19:47:38 -0000 Received: (qmail 35132 invoked by uid 500); 23 Feb 2011 19:47:38 -0000 Delivered-To: [email protected] Received: (qmail 35108 invoked by uid 500); 23 Feb 2011 19:47:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <opennlp-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 35101 invoked by uid 99); 23 Feb 2011 19:47:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Feb 2011 19:47:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Feb 2011 19:47:36 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 430E62388A38; Wed, 23 Feb 2011 19:47:15 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1073908 - /incubator/opennlp/sandbox/ Date: Wed, 23 Feb 2011 19:47:15 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: joern Date: Wed Feb 23 19:47:14 2011 New Revision: 1073908 URL: http://svn.apache.org/viewvc?rev=1073908&view=rev Log: OPENNLP-132 Added sandbox folder Added: incubator/opennlp/sandbox/ From [email protected] Wed Feb 23 20:06:46 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18825 invoked from network); 23 Feb 2011 20:06:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Feb 2011 20:06:46 -0000 Received: (qmail 78037 invoked by uid 500); 23 Feb 2011 20:06:46 -0000 Delivered-To: [email protected] Received: (qmail 78019 invoked by uid 500); 23 Feb 2011 20:06:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <opennlp-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 78012 invoked by uid 99); 23 Feb 2011 20:06:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Feb 2011 20:06:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Feb 2011 20:06:44 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id BCE822388906; Wed, 23 Feb 2011 20:06:23 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1073921 - /incubator/opennlp/trunk/opennlp-uima/pom.xml Date: Wed, 23 Feb 2011 20:06:23 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: joern Date: Wed Feb 23 20:06:23 2011 New Revision: 1073921 URL: http://svn.apache.org/viewvc?rev=1073921&view=rev Log: OPENNLP-133 Updated version of uima core dependency from 2.3.0-incubating to 2.3.1 Modified: incubator/opennlp/trunk/opennlp-uima/pom.xml Modified: incubator/opennlp/trunk/opennlp-uima/pom.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-uima/pom.xml?rev=1073921&r1=1073920&r2=1073921&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp-uima/pom.xml (original) +++ incubator/opennlp/trunk/opennlp-uima/pom.xml Wed Feb 23 20:06:23 2011 @@ -60,7 +60,7 @@ <dependency> <groupId>org.apache.uima</groupId> <artifactId>uimaj-core</artifactId> - <version>2.3.0-incubating</version> + <version>2.3.1</version> <scope>provided</scope> </dependency> </dependencies> From [email protected] Wed Feb 23 23:04:21 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85107 invoked from network); 23 Feb 2011 23:04:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Feb 2011 23:04:21 -0000 Received: (qmail 34887 invoked by uid 500); 23 Feb 2011 23:04:21 -0000 Delivered-To: [email protected] Received: (qmail 34868 invoked by uid 500); 23 Feb 2011 23:04:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <opennlp-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 34855 invoked by uid 99); 23 Feb 2011 23:04:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Feb 2011 23:04:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Feb 2011 23:04:18 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 0B2782388906; Wed, 23 Feb 2011 23:03:57 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1073980 - in /incubator/opennlp/trunk: opennlp-distr/pom.xml opennlp-docs/pom.xml opennlp-maxent/pom.xml opennlp-tools/pom.xml opennlp-uima/pom.xml opennlp/pom.xml Date: Wed, 23 Feb 2011 23:03:56 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: joern Date: Wed Feb 23 23:03:56 2011 New Revision: 1073980 URL: http://svn.apache.org/viewvc?rev=1073980&view=rev Log: [maven-release-plugin] prepare release opennlp-1.5.1-incubating-rc1 Modified: incubator/opennlp/trunk/opennlp-distr/pom.xml incubator/opennlp/trunk/opennlp-docs/pom.xml incubator/opennlp/trunk/opennlp-maxent/pom.xml incubator/opennlp/trunk/opennlp-tools/pom.xml incubator/opennlp/trunk/opennlp-uima/pom.xml incubator/opennlp/trunk/opennlp/pom.xml Modified: incubator/opennlp/trunk/opennlp-distr/pom.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-distr/pom.xml?rev=1073980&r1=1073979&r2=1073980&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp-distr/pom.xml (original) +++ incubator/opennlp/trunk/opennlp-distr/pom.xml Wed Feb 23 23:03:56 2011 @@ -19,14 +19,12 @@ under the License. --> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 - http://maven.apache.org/maven-v4_0_0.xsd"> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.apache.opennlp</groupId> <artifactId>opennlp</artifactId> - <version>1.5.1-incubating-SNAPSHOT</version> + <version>1.5.1-incubating</version> <relativePath>../opennlp/pom.xml</relativePath> </parent> @@ -41,12 +39,12 @@ <dependency> <groupId>org.apache.opennlp</groupId> <artifactId>opennlp-maxent</artifactId> - <version>3.0.1-incubating-SNAPSHOT</version> + <version>3.0.1-incubating</version> </dependency> <dependency> <groupId>org.apache.opennlp</groupId> <artifactId>opennlp-tools</artifactId> - <version>1.5.1-incubating-SNAPSHOT</version> + <version>1.5.1-incubating</version> </dependency> </dependencies> Modified: incubator/opennlp/trunk/opennlp-docs/pom.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-docs/pom.xml?rev=1073980&r1=1073979&r2=1073980&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp-docs/pom.xml (original) +++ incubator/opennlp/trunk/opennlp-docs/pom.xml Wed Feb 23 23:03:56 2011 @@ -19,12 +19,12 @@ under the License. --> -<project> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.apache.opennlp</groupId> <artifactId>opennlp</artifactId> - <version>1.5.1-incubating-SNAPSHOT</version> + <version>1.5.1-incubating</version> <relativePath>../opennlp/pom.xml</relativePath> </parent> Modified: incubator/opennlp/trunk/opennlp-maxent/pom.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-maxent/pom.xml?rev=1073980&r1=1073979&r2=1073980&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp-maxent/pom.xml (original) +++ incubator/opennlp/trunk/opennlp-maxent/pom.xml Wed Feb 23 23:03:56 2011 @@ -19,20 +19,19 @@ under the License. --> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.apache.opennlp</groupId> <artifactId>opennlp</artifactId> - <version>1.5.1-incubating-SNAPSHOT</version> + <version>1.5.1-incubating</version> <relativePath>../opennlp/pom.xml</relativePath> </parent> <artifactId>opennlp-maxent</artifactId> <packaging>jar</packaging> - <version>3.0.1-incubating-SNAPSHOT</version> + <version>3.0.1-incubating</version> <name>OpenNLP Maxent</name> <properties> Modified: incubator/opennlp/trunk/opennlp-tools/pom.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-tools/pom.xml?rev=1073980&r1=1073979&r2=1073980&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp-tools/pom.xml (original) +++ incubator/opennlp/trunk/opennlp-tools/pom.xml Wed Feb 23 23:03:56 2011 @@ -19,14 +19,13 @@ under the License. --> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.apache.opennlp</groupId> <artifactId>opennlp</artifactId> - <version>1.5.1-incubating-SNAPSHOT</version> + <version>1.5.1-incubating</version> <relativePath>../opennlp/pom.xml</relativePath> </parent> @@ -46,7 +45,7 @@ <dependency> <groupId>org.apache.opennlp</groupId> <artifactId>opennlp-maxent</artifactId> - <version>3.0.1-incubating-SNAPSHOT</version> + <version>3.0.1-incubating</version> <scope>compile</scope> </dependency> Modified: incubator/opennlp/trunk/opennlp-uima/pom.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-uima/pom.xml?rev=1073980&r1=1073979&r2=1073980&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp-uima/pom.xml (original) +++ incubator/opennlp/trunk/opennlp-uima/pom.xml Wed Feb 23 23:03:56 2011 @@ -19,14 +19,13 @@ under the License. --> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.apache.opennlp</groupId> <artifactId>opennlp</artifactId> - <version>1.5.1-incubating-SNAPSHOT</version> + <version>1.5.1-incubating</version> <relativePath>../opennlp/pom.xml</relativePath> </parent> @@ -54,7 +53,7 @@ <dependency> <groupId>org.apache.opennlp</groupId> <artifactId>opennlp-tools</artifactId> - <version>1.5.1-incubating-SNAPSHOT</version> + <version>1.5.1-incubating</version> </dependency> <dependency> Modified: incubator/opennlp/trunk/opennlp/pom.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp/pom.xml?rev=1073980&r1=1073979&r2=1073980&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp/pom.xml (original) +++ incubator/opennlp/trunk/opennlp/pom.xml Wed Feb 23 23:03:56 2011 @@ -19,8 +19,7 @@ under the License. --> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> @@ -32,7 +31,7 @@ <groupId>org.apache.opennlp</groupId> <artifactId>opennlp</artifactId> - <version>1.5.1-incubating-SNAPSHOT</version> + <version>1.5.1-incubating</version> <packaging>pom</packaging> <name>OpenNLP Reactor</name> @@ -43,12 +42,12 @@ <scm> <connection> - scm:svn:http://svn.apache.org/repos/asf/incubator/opennlp/trunk/opennlp/ + scm:svn:http://svn.apache.org/repos/asf/incubator/opennlp/tags/opennlp-1.5.1-incubating-rc1/opennlp </connection> <developerConnection> - scm:svn:https://svn.apache.org/repos/asf/incubator/opennlp/trunk/opennlp/ + scm:svn:https://svn.apache.org/repos/asf/incubator/opennlp/tags/opennlp-1.5.1-incubating-rc1/opennlp </developerConnection> - <url>http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp/</url> + <url>http://svn.apache.org/viewvc/incubator/opennlp/tags/opennlp-1.5.1-incubating-rc1/opennlp</url> </scm> <issueManagement> From [email protected] Wed Feb 23 23:04:27 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85131 invoked from network); 23 Feb 2011 23:04:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Feb 2011 23:04:26 -0000 Received: (qmail 34921 invoked by uid 500); 23 Feb 2011 23:04:26 -0000 Delivered-To: [email protected] Received: (qmail 34903 invoked by uid 500); 23 Feb 2011 23:04:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <opennlp-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 34896 invoked by uid 99); 23 Feb 2011 23:04:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Feb 2011 23:04:26 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Feb 2011 23:04:26 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 73D0F23889B2; Wed, 23 Feb 2011 23:04:06 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1073981 - /incubator/opennlp/tags/opennlp-1.5.1-incubating-rc1/ Date: Wed, 23 Feb 2011 23:04:06 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: joern Date: Wed Feb 23 23:04:06 2011 New Revision: 1073981 URL: http://svn.apache.org/viewvc?rev=1073981&view=rev Log: [maven-release-plugin] copy for tag opennlp-1.5.1-incubating-rc1 Added: incubator/opennlp/tags/opennlp-1.5.1-incubating-rc1/ - copied from r1073980, incubator/opennlp/trunk/ From [email protected] Wed Feb 23 23:04:33 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85168 invoked from network); 23 Feb 2011 23:04:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Feb 2011 23:04:33 -0000 Received: (qmail 34975 invoked by uid 500); 23 Feb 2011 23:04:33 -0000 Delivered-To: [email protected] Received: (qmail 34955 invoked by uid 500); 23 Feb 2011 23:04:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <opennlp-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 34948 invoked by uid 99); 23 Feb 2011 23:04:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Feb 2011 23:04:33 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Feb 2011 23:04:32 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id D41EA23889EA; Wed, 23 Feb 2011 23:04:12 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1073982 - in /incubator/opennlp/trunk: opennlp-distr/pom.xml opennlp-docs/pom.xml opennlp-maxent/pom.xml opennlp-tools/pom.xml opennlp-uima/pom.xml opennlp/pom.xml Date: Wed, 23 Feb 2011 23:04:12 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: joern Date: Wed Feb 23 23:04:12 2011 New Revision: 1073982 URL: http://svn.apache.org/viewvc?rev=1073982&view=rev Log: [maven-release-plugin] prepare for next development iteration Modified: incubator/opennlp/trunk/opennlp-distr/pom.xml incubator/opennlp/trunk/opennlp-docs/pom.xml incubator/opennlp/trunk/opennlp-maxent/pom.xml incubator/opennlp/trunk/opennlp-tools/pom.xml incubator/opennlp/trunk/opennlp-uima/pom.xml incubator/opennlp/trunk/opennlp/pom.xml Modified: incubator/opennlp/trunk/opennlp-distr/pom.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-distr/pom.xml?rev=1073982&r1=1073981&r2=1073982&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp-distr/pom.xml (original) +++ incubator/opennlp/trunk/opennlp-distr/pom.xml Wed Feb 23 23:04:12 2011 @@ -19,12 +19,12 @@ under the License. --> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.apache.opennlp</groupId> <artifactId>opennlp</artifactId> - <version>1.5.1-incubating</version> + <version>1.5.2-incubating-SNAPSHOT</version> <relativePath>../opennlp/pom.xml</relativePath> </parent> @@ -39,12 +39,12 @@ <dependency> <groupId>org.apache.opennlp</groupId> <artifactId>opennlp-maxent</artifactId> - <version>3.0.1-incubating</version> + <version>3.0.2-incubating-SNAPSHOT</version> </dependency> <dependency> <groupId>org.apache.opennlp</groupId> <artifactId>opennlp-tools</artifactId> - <version>1.5.1-incubating</version> + <version>1.5.2-incubating-SNAPSHOT</version> </dependency> </dependencies> Modified: incubator/opennlp/trunk/opennlp-docs/pom.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-docs/pom.xml?rev=1073982&r1=1073981&r2=1073982&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp-docs/pom.xml (original) +++ incubator/opennlp/trunk/opennlp-docs/pom.xml Wed Feb 23 23:04:12 2011 @@ -24,7 +24,7 @@ <parent> <groupId>org.apache.opennlp</groupId> <artifactId>opennlp</artifactId> - <version>1.5.1-incubating</version> + <version>1.5.2-incubating-SNAPSHOT</version> <relativePath>../opennlp/pom.xml</relativePath> </parent> Modified: incubator/opennlp/trunk/opennlp-maxent/pom.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-maxent/pom.xml?rev=1073982&r1=1073981&r2=1073982&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp-maxent/pom.xml (original) +++ incubator/opennlp/trunk/opennlp-maxent/pom.xml Wed Feb 23 23:04:12 2011 @@ -25,13 +25,13 @@ <parent> <groupId>org.apache.opennlp</groupId> <artifactId>opennlp</artifactId> - <version>1.5.1-incubating</version> + <version>1.5.2-incubating-SNAPSHOT</version> <relativePath>../opennlp/pom.xml</relativePath> </parent> <artifactId>opennlp-maxent</artifactId> <packaging>jar</packaging> - <version>3.0.1-incubating</version> + <version>3.0.2-incubating-SNAPSHOT</version> <name>OpenNLP Maxent</name> <properties> Modified: incubator/opennlp/trunk/opennlp-tools/pom.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-tools/pom.xml?rev=1073982&r1=1073981&r2=1073982&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp-tools/pom.xml (original) +++ incubator/opennlp/trunk/opennlp-tools/pom.xml Wed Feb 23 23:04:12 2011 @@ -25,7 +25,7 @@ <parent> <groupId>org.apache.opennlp</groupId> <artifactId>opennlp</artifactId> - <version>1.5.1-incubating</version> + <version>1.5.2-incubating-SNAPSHOT</version> <relativePath>../opennlp/pom.xml</relativePath> </parent> @@ -45,7 +45,7 @@ <dependency> <groupId>org.apache.opennlp</groupId> <artifactId>opennlp-maxent</artifactId> - <version>3.0.1-incubating</version> + <version>3.0.2-incubating-SNAPSHOT</version> <scope>compile</scope> </dependency> Modified: incubator/opennlp/trunk/opennlp-uima/pom.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-uima/pom.xml?rev=1073982&r1=1073981&r2=1073982&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp-uima/pom.xml (original) +++ incubator/opennlp/trunk/opennlp-uima/pom.xml Wed Feb 23 23:04:12 2011 @@ -25,7 +25,7 @@ <parent> <groupId>org.apache.opennlp</groupId> <artifactId>opennlp</artifactId> - <version>1.5.1-incubating</version> + <version>1.5.2-incubating-SNAPSHOT</version> <relativePath>../opennlp/pom.xml</relativePath> </parent> @@ -53,7 +53,7 @@ <dependency> <groupId>org.apache.opennlp</groupId> <artifactId>opennlp-tools</artifactId> - <version>1.5.1-incubating</version> + <version>1.5.2-incubating-SNAPSHOT</version> </dependency> <dependency> Modified: incubator/opennlp/trunk/opennlp/pom.xml URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp/pom.xml?rev=1073982&r1=1073981&r2=1073982&view=diff ============================================================================== --- incubator/opennlp/trunk/opennlp/pom.xml (original) +++ incubator/opennlp/trunk/opennlp/pom.xml Wed Feb 23 23:04:12 2011 @@ -31,7 +31,7 @@ <groupId>org.apache.opennlp</groupId> <artifactId>opennlp</artifactId> - <version>1.5.1-incubating</version> + <version>1.5.2-incubating-SNAPSHOT</version> <packaging>pom</packaging> <name>OpenNLP Reactor</name> @@ -42,12 +42,12 @@ <scm> <connection> - scm:svn:http://svn.apache.org/repos/asf/incubator/opennlp/tags/opennlp-1.5.1-incubating-rc1/opennlp + scm:svn:http://svn.apache.org/repos/asf/incubator/opennlp/trunk/opennlp/ </connection> <developerConnection> - scm:svn:https://svn.apache.org/repos/asf/incubator/opennlp/tags/opennlp-1.5.1-incubating-rc1/opennlp + scm:svn:https://svn.apache.org/repos/asf/incubator/opennlp/trunk/opennlp/ </developerConnection> - <url>http://svn.apache.org/viewvc/incubator/opennlp/tags/opennlp-1.5.1-incubating-rc1/opennlp</url> + <url>http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp/</url> </scm> <issueManagement> From [email protected] Wed Feb 23 23:08:57 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94187 invoked from network); 23 Feb 2011 23:08:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Feb 2011 23:08:57 -0000 Received: (qmail 37709 invoked by uid 500); 23 Feb 2011 23:08:57 -0000 Delivered-To: [email protected] Received: (qmail 37688 invoked by uid 500); 23 Feb 2011 23:08:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <opennlp-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 37679 invoked by uid 99); 23 Feb 2011 23:08:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Feb 2011 23:08:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Feb 2011 23:08:56 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 8A4FC2388906; Wed, 23 Feb 2011 23:08:36 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn propchange: r1073980 - svn:log Date: Wed, 23 Feb 2011 23:08:36 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: joern Revision: 1073980 Modified property: svn:log Modified: svn:log at Wed Feb 23 23:08:36 2011 ------------------------------------------------------------------------------ --- svn:log (original) +++ svn:log Wed Feb 23 23:08:36 2011 @@ -1 +1 @@ -[maven-release-plugin] prepare release opennlp-1.5.1-incubating-rc1 +OPENNLP-134 [maven-release-plugin] prepare release opennlp-1.5.1-incubating-rc1 From [email protected] Wed Feb 23 23:09:18 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94315 invoked from network); 23 Feb 2011 23:09:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Feb 2011 23:09:18 -0000 Received: (qmail 41293 invoked by uid 500); 23 Feb 2011 23:09:18 -0000 Delivered-To: [email protected] Received: (qmail 41277 invoked by uid 500); 23 Feb 2011 23:09:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <opennlp-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 41270 invoked by uid 99); 23 Feb 2011 23:09:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Feb 2011 23:09:18 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Feb 2011 23:09:16 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 6503D23889B2; Wed, 23 Feb 2011 23:08:55 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn propchange: r1073981 - svn:log Date: Wed, 23 Feb 2011 23:08:55 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: joern Revision: 1073981 Modified property: svn:log Modified: svn:log at Wed Feb 23 23:08:55 2011 ------------------------------------------------------------------------------ --- svn:log (original) +++ svn:log Wed Feb 23 23:08:55 2011 @@ -1 +1 @@ -[maven-release-plugin] copy for tag opennlp-1.5.1-incubating-rc1 +OPENNLP-134 [maven-release-plugin] copy for tag opennlp-1.5.1-incubating-rc1 From [email protected] Wed Feb 23 23:09:33 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94361 invoked from network); 23 Feb 2011 23:09:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Feb 2011 23:09:33 -0000 Received: (qmail 41377 invoked by uid 500); 23 Feb 2011 23:09:33 -0000 Delivered-To: [email protected] Received: (qmail 41358 invoked by uid 500); 23 Feb 2011 23:09:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <opennlp-commits.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 41351 invoked by uid 99); 23 Feb 2011 23:09:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Feb 2011 23:09:33 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Feb 2011 23:09:31 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id EA6D523889EA; Wed, 23 Feb 2011 23:09:10 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn propchange: r1073982 - svn:log Date: Wed, 23 Feb 2011 23:09:10 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: joern Revision: 1073982 Modified property: svn:log Modified: svn:log at Wed Feb 23 23:09:10 2011 ------------------------------------------------------------------------------ --- svn:log (original) +++ svn:log Wed Feb 23 23:09:10 2011 @@ -1 +1 @@ -[maven-release-plugin] prepare for next development iteration +OPENNLP-134 [maven-release-plugin] prepare for next development iteration
From [email protected] Fri Jul 01 15:39:16 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37830 invoked from network); 1 Jul 2005 15:39:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Jul 2005 15:39:15 -0000 Received: (qmail 49596 invoked by uid 500); 1 Jul 2005 15:39:13 -0000 Delivered-To: [email protected] Received: (qmail 49583 invoked by uid 500); 1 Jul 2005 15:39:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xalan-j-users.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 49570 invoked by uid 99); 1 Jul 2005 15:39:12 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jul 2005 08:39:12 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO quark.jackhenry.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jul 2005 08:39:14 -0700 Received: from mmomail.jhacorp.com ([161.129.204.104]) by quark.jackhenry.com with Microsoft SMTPSVC(6.0.3790.211); Fri, 1 Jul 2005 10:38:39 -0500 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.181 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: SQL Extension - No suitable driver found Date: Fri, 1 Jul 2005 10:38:38 -0500 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: SQL Extension - No suitable driver found thread-index: AcV911C1MQcJPxPjSdCTA93YDxKNogAe3Kjg From: "Dan Feather" <[email protected]> To: "John Gentilin" <[email protected]> CC: <[email protected]> X-OriginalArrivalTime: 01 Jul 2005 15:38:39.0604 (UTC) FILETIME=[F400D340:01C57E52] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks for the info, John. I'll give that a shot. -Dan Feather -----Original Message----- From: John Gentilin [mailto:[email protected]]=20 Sent: Thursday, June 30, 2005 7:52 PM To: Dan Feather Cc: [email protected] Subject: Re: SQL Extension - No suitable driver found Dan, I have seen this problem before with the Oracle driver and I am not sure what it is. We have looked into it, and it is definitely a class loader problem=20 that acts differently in different environment. However, what I do know is; if you implement=20 the external connection pool, it is never a problem. The default connection pool was=20 added mainly to provide code symmetry. I usually view it as a security risk, and a=20 deployment headache by adding in connection information in the stylesheet, but it works well if you just want to give it a test drive. The external connection pool allows you to=20 establish the JDBC connection outside of the transformation process and reference the DB connection by name inside the transformation process. This is similar to the JNDI named connections=20 and after this weekend, the SQL extensions will support the JNDI connection type. This is=20 probably not what you wanted to hear, but implementing the external connection pool probably only=20 adds 6-10 lines to you current Java file. There should be example code in the sample directory. Regards John G Dan Feather wrote: >I am running into an issue, and it doesn't make sense to me. > >I have a simple java program that runs my XSLT that uses the SQL >Extension. It runs fine on my PC. No problem, works like a champ... good >stuff. > >I put this same code on an iSeries (AS/400), I put xalan.jar, >xml-apis.jar, jt400.jar, etc. in my classpath and execute the code and >it doesn't work. I get the "No suitable driver found" error I am sure >you all have seen before. My driver is >com.ibm.as400.access.AS400JDBCDriver and it is in jt400.jar... which is >in my classpath. > >I have seen people mention the Xalan classloader and I am wondering what >that is all about. Is there something special in Xalan for loading >classes that is different from other things one usually runs across? > >Also, what can I do to get better exception information from my >stylesheet when things like this happen. Right now I am just using the >xsl:message and xsl:copy elements like those that are found in the SQL >Extension examples. I would like to get a full stack trace. Do I need to >write a custom ErrorHandler to do this? Thanks for your help. > >-Dan Feather > =20 > NOTICE: This electronic mail message and any files transmitted with it = are intended exclusively for the individual or entity to which it is = addressed. The message, together with any attachment, may contain = confidential and/or privileged information. Any unauthorized review, = use, printing, saving, copying, disclosure or distribution is strictly = prohibited. If you have received this message in error, please = immediately advise the sender by reply email and delete all copies. From [email protected] Tue Jul 05 11:42:33 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29510 invoked from network); 5 Jul 2005 11:42:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Jul 2005 11:42:33 -0000 Received: (qmail 68182 invoked by uid 500); 5 Jul 2005 11:41:42 -0000 Delivered-To: [email protected] Received: (qmail 68068 invoked by uid 500); 5 Jul 2005 11:41:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xalan-j-users.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 68024 invoked by uid 99); 5 Jul 2005 11:41:40 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2005 04:41:40 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO out002a.iad.hostedmail.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2005 04:41:39 -0700 Received: from in003.clients.iad.hostedmail.net ([161.129.204.104]) by out002a.iad.hostedmail.net with Microsoft SMTPSVC337-454-8489); Tue, 5 Jul 2005 07:44:43 -0400 Received: from ms ([161.129.204.104]) by in003.clients.iad.hostedmail.net with Microsoft SMTPSVC337-454-8489); Tue, 5 Jul 2005 07:41:32 -0400 Message-ID: <017d01c58156$af0c0be0$a601a8c0@ms> From: "Mohd Shadab" <[email protected]> To: <[email protected]> References: <[email protected]> Subject: streams as input/output Date: Tue, 5 Jul 2005 17:12:52 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-OriginalArrivalTime: 05 Jul 2005 11:41:33.0102 (UTC) FILETIME=[7DFFE4E0:01C58156] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, While transforming an xml the transformer can take in one stream source and output to a stream target.For multiple source it is expected to read using the document(file path) function.Similarly to write out to more than one output xsl:result-document is used which also writes to a file. In both cases we need to use a file to read out of or write to.How can we use input or output streams to do the same instead of a file for these additional source and targets? Regards, Shadab From [email protected] Tue Jul 05 13:34:53 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13480 invoked from network); 5 Jul 2005 13:34:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Jul 2005 13:34:53 -0000 Received: (qmail 61710 invoked by uid 500); 5 Jul 2005 13:34:49 -0000 Delivered-To: [email protected] Received: (qmail 61696 invoked by uid 500); 5 Jul 2005 13:34:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xalan-j-users.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 61683 invoked by uid 99); 5 Jul 2005 13:34:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2005 06:34:49 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO mail.prostep.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2005 06:34:49 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C58166.5233CAA9" Subject: Bugs using 'key' and 'tokeinze' with XSLTC Date: Tue, 5 Jul 2005 15:34:51 +0200 Message-ID: <[email protected]> X-MS-Has-Attach: yes X-MS-TNEF-Correlator: Thread-Topic: Bugs using 'key' and 'tokeinze' with XSLTC Thread-Index: AcWAp+ZAyW86uzB9TGyAbd505oNsIA== From: "Theis, Karsten" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------_=_NextPart_001_01C58166.5233CAA9 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I tried to speed up my mappings by using XSLTC, but I found the two following bugs: --- 1. Bug: --- If I use a key like with a node set as parameter like this: <xsl:variable name=3D"elements2" select=3D"key('ElementIndex', $elements1/@id)"/> the result is invalid.=20 Results of "test_key.xsl" with "test_key.xml" as input: --------- With XSLTC: --------- Elements1: id_10019_2382 id_10019_2383 Elements2: id_10019_2382 ------ Without XSLTC (correct): --------- Elements1: id_10019_2382 id_10019_2383 Elements2: id_10019_2382 id_10019_2382 ---------------------------------------------- --- 2. Bug --- Result of xalan:tokenize in invalid str:tokenize is valid Results of "test_tokenize.xsl" (any input): ------ xalan:tokenize: -------- 1 2 1234 ------ str:tokenize: (correct) -------- 1 2 1 2 I'm using xalan 2.6.0, java 1.4.2 with all xalan and xerces jars in the bootclasspath Thanks for any ideas! Ciao, Karsten test_tokenize.xsl: <?xml version=3D"1.0" encoding=3D"UTF-8"?> <xsl:transform xmlns:xsl=3D"http://www.w3.org/1999/XSL/Transform" version=3D"1.0" xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" xmlns:xalan=3D"http://xml.apache.org/xalan" xmlns:str=3D"http://exslt.org/strings" exclude-result-prefixes=3D"str xalan"> <!-- root template --> <xsl:template match=3D"/"> <xsl:element name=3D"test"> <xsl:variable name=3D"s">1 2 3 4</xsl:variable> <xsl:variable name=3D"t1" select=3D"str:tokenize($s, ' ')"/> <xsl:message> <xsl:value-of select=3D"$t1[1]"/> </xsl:message> <xsl:message> <xsl:value-of select=3D"$t1[2]"/> </xsl:message> <xsl:variable name=3D"t2" select=3D"xalan:tokenize($s, ' = ')"/> <xsl:message> <xsl:value-of select=3D"$t2[1]"/> </xsl:message> <xsl:message> <xsl:value-of select=3D"$t2[2]"/> </xsl:message> </xsl:element> </xsl:template> </xsl:transform> test_key.xsl: <?xml version=3D"1.0" encoding=3D"UTF-8"?> <xsl:transform xmlns:xsl=3D"http://www.w3.org/1999/XSL/Transform" version=3D"1.0" xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" xmlns:xalan=3D"http://xml.apache.org/xalan" xmlns:str=3D"http://exslt.org/strings" exclude-result-prefixes=3D"str xalan"> <xsl:key name=3D"ElementIndex" match=3D"*" use=3D"@id"/> <!-- root template --> <xsl:template match=3D"/"> <xsl:element name=3D"test"> <xsl:variable name=3D"s">id_10019_2382 id_10019_2383</xsl:variable> <xsl:variable name=3D"nodes" select=3D"str:tokenize($s, ' = ')"/> <xsl:variable name=3D"elements1" = select=3D"key('ElementIndex', $nodes)"/> <xsl:message>Elements1:</xsl:message> <xsl:message> <xsl:value-of select=3D"$elements1[1]/@id"/> </xsl:message> <xsl:message> <xsl:value-of select=3D"$elements1[2]/@id"/> </xsl:message> <xsl:variable name=3D"elements2" = select=3D"key('ElementIndex', $elements1/@id)"/> <xsl:message>Elements2:</xsl:message> <xsl:message> <xsl:value-of select=3D"$elements2[1]/@id"/> </xsl:message> <xsl:message> <xsl:value-of select=3D"$elements2[2]/@id"/> </xsl:message> </xsl:element> </xsl:template> </xsl:transform> test_key.xml: <?xml version=3D"1.0" encoding=3D"UTF-8"?> <test xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance"> <Item id=3D"id_10019_2382"> <Name>Hugo</Name> </Item> <Item id=3D"id_10019_2383"> <Name>Emil</Name> </Item> </test> ------_=_NextPart_001_01C58166.5233CAA9 Content-Type: application/octet-stream; name="test_tokenize.xsl" Content-Transfer-Encoding: base64 Content-Description: test_tokenize.xsl Content-Disposition: attachment; filename="test_tokenize.xsl" PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjx4c2w6dHJhbnNmb3JtIHht bG5zOnhzbD0iaHR0cDovL3d3dy53My5vcmcvMTk5OS9YU0wvVHJhbnNmb3JtIiB2ZXJzaW9uPSIx LjAiIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2Ui IHhtbG5zOnhzZD0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiIHhtbG5zOnhhbGFu PSJodHRwOi8veG1sLmFwYWNoZS5vcmcveGFsYW4iIHhtbG5zOnN0cj0iaHR0cDovL2V4c2x0Lm9y Zy9zdHJpbmdzIiAgZXhjbHVkZS1yZXN1bHQtcHJlZml4ZXM9InN0ciB4YWxhbiI+DQoNCiAgICA8 IS0tIHJvb3QgdGVtcGxhdGUgLS0+DQogICAgPHhzbDp0ZW1wbGF0ZSBtYXRjaD0iLyI+DQogICAg ICAgIDx4c2w6ZWxlbWVudCBuYW1lPSJ0ZXN0Ij4NCiAgICAgICAgICAgIDx4c2w6dmFyaWFibGUg bmFtZT0icyI+MSAyIDMgNDwveHNsOnZhcmlhYmxlPg0KICAgICAgICAgICAgPHhzbDp2YXJpYWJs ZSBuYW1lPSJ0MSIgc2VsZWN0PSJzdHI6dG9rZW5pemUoJHMsICcgJykiLz4NCiAgICAgICAgICAg IDx4c2w6bWVzc2FnZT4NCiAgICAgICAgICAgICAgICA8eHNsOnZhbHVlLW9mIHNlbGVjdD0iJHQx WzFdIi8+DQogICAgICAgICAgICA8L3hzbDptZXNzYWdlPg0KICAgICAgICAgICAgPHhzbDptZXNz YWdlPg0KICAgICAgICAgICAgICAgIDx4c2w6dmFsdWUtb2Ygc2VsZWN0PSIkdDFbMl0iLz4NCiAg ICAgICAgICAgIDwveHNsOm1lc3NhZ2U+DQogICAgICAgICAgICA8eHNsOnZhcmlhYmxlIG5hbWU9 InQyIiBzZWxlY3Q9InhhbGFuOnRva2VuaXplKCRzLCAnICcpIi8+DQogICAgICAgICAgICA8eHNs Om1lc3NhZ2U+DQogICAgICAgICAgICAgICAgPHhzbDp2YWx1ZS1vZiBzZWxlY3Q9IiR0MlsxXSIv Pg0KICAgICAgICAgICAgPC94c2w6bWVzc2FnZT4NCiAgICAgICAgICAgIDx4c2w6bWVzc2FnZT4N CiAgICAgICAgICAgICAgICA8eHNsOnZhbHVlLW9mIHNlbGVjdD0iJHQyWzJdIi8+DQogICAgICAg ICAgICA8L3hzbDptZXNzYWdlPg0KICAgICAgICA8L3hzbDplbGVtZW50Pg0KICAgIDwveHNsOnRl bXBsYXRlPg0KPC94c2w6dHJhbnNmb3JtPg0K ------_=_NextPart_001_01C58166.5233CAA9 Content-Type: application/octet-stream; name="test_key.xsl" Content-Transfer-Encoding: base64 Content-Description: test_key.xsl Content-Disposition: attachment; filename="test_key.xsl" PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjx4c2w6dHJhbnNmb3JtIHht bG5zOnhzbD0iaHR0cDovL3d3dy53My5vcmcvMTk5OS9YU0wvVHJhbnNmb3JtIiB2ZXJzaW9uPSIx LjAiIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2Ui IHhtbG5zOnhzZD0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiIHhtbG5zOnhhbGFu PSJodHRwOi8veG1sLmFwYWNoZS5vcmcveGFsYW4iIHhtbG5zOnN0cj0iaHR0cDovL2V4c2x0Lm9y Zy9zdHJpbmdzIiAgZXhjbHVkZS1yZXN1bHQtcHJlZml4ZXM9InN0ciB4YWxhbiI+DQoNCiAgICA8 eHNsOmtleSBuYW1lPSJFbGVtZW50SW5kZXgiIG1hdGNoPSIqIiB1c2U9IkBpZCIvPg0KICAgIDwh LS0gcm9vdCB0ZW1wbGF0ZSAtLT4NCiAgICA8eHNsOnRlbXBsYXRlIG1hdGNoPSIvIj4NCiAgICAg ICAgPHhzbDplbGVtZW50IG5hbWU9InRlc3QiPg0KICAgICAgICAgICAgPHhzbDp2YXJpYWJsZSBu YW1lPSJzIj5pZF8xMDAxOV8yMzgyIGlkXzEwMDE5XzIzODM8L3hzbDp2YXJpYWJsZT4NCiAgICAg ICAgICAgIDx4c2w6dmFyaWFibGUgbmFtZT0ibm9kZXMiIHNlbGVjdD0ic3RyOnRva2VuaXplKCRz LCAnICcpIi8+DQogICAgICAgICAgICA8eHNsOnZhcmlhYmxlIG5hbWU9ImVsZW1lbnRzMSIgc2Vs ZWN0PSJrZXkoJ0VsZW1lbnRJbmRleCcsICRub2RlcykiLz4NCiAgICAgICAgICAgIDx4c2w6bWVz c2FnZT5FbGVtZW50czE6PC94c2w6bWVzc2FnZT4NCiAgICAgICAgICAgIDx4c2w6bWVzc2FnZT4N CiAgICAgICAgICAgICAgICA8eHNsOnZhbHVlLW9mIHNlbGVjdD0iJGVsZW1lbnRzMVsxXS9AaWQi Lz4NCiAgICAgICAgICAgIDwveHNsOm1lc3NhZ2U+DQogICAgICAgICAgICA8eHNsOm1lc3NhZ2U+ DQogICAgICAgICAgICAgICAgPHhzbDp2YWx1ZS1vZiBzZWxlY3Q9IiRlbGVtZW50czFbMl0vQGlk Ii8+DQogICAgICAgICAgICA8L3hzbDptZXNzYWdlPg0KICAgICAgICAgICAgPHhzbDp2YXJpYWJs ZSBuYW1lPSJlbGVtZW50czIiIHNlbGVjdD0ia2V5KCdFbGVtZW50SW5kZXgnLCAkZWxlbWVudHMx L0BpZCkiLz4NCiAgICAgICAgICAgIDx4c2w6bWVzc2FnZT5FbGVtZW50czI6PC94c2w6bWVzc2Fn ZT4NCiAgICAgICAgICAgIDx4c2w6bWVzc2FnZT4NCiAgICAgICAgICAgICAgICA8eHNsOnZhbHVl LW9mIHNlbGVjdD0iJGVsZW1lbnRzMlsxXS9AaWQiLz4NCiAgICAgICAgICAgIDwveHNsOm1lc3Nh Z2U+DQogICAgICAgICAgICA8eHNsOm1lc3NhZ2U+DQogICAgICAgICAgICAgICAgPHhzbDp2YWx1 ZS1vZiBzZWxlY3Q9IiRlbGVtZW50czJbMl0vQGlkIi8+DQogICAgICAgICAgICA8L3hzbDptZXNz YWdlPg0KICAgICAgICA8L3hzbDplbGVtZW50Pg0KICAgIDwveHNsOnRlbXBsYXRlPg0KPC94c2w6 dHJhbnNmb3JtPg0K ------_=_NextPart_001_01C58166.5233CAA9 Content-Type: text/xml; name="test_key.xml" Content-Transfer-Encoding: base64 Content-Description: test_key.xml Content-Disposition: attachment; filename="test_key.xml" PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjx0ZXN0IHhtbG5zOnhzaT0i aHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiPg0KICAgIDxJdGVtIGlk PSJpZF8xMDAxOV8yMzgyIj4NCiAgICAgICAgPE5hbWU+SHVnbzwvTmFtZT4NCiAgICA8L0l0ZW0+ DQogICAgPEl0ZW0gaWQ9ImlkXzEwMDE5XzIzODMiPg0KICAgICAgICA8TmFtZT5FbWlsPC9OYW1l Pg0KICAgIDwvSXRlbT4NCjwvdGVzdD4NCg== ------_=_NextPart_001_01C58166.5233CAA9-- From [email protected] Tue Jul 05 14:30:50 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45688 invoked from network); 5 Jul 2005 14:30:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Jul 2005 14:30:49 -0000 Received: (qmail 81359 invoked by uid 500); 5 Jul 2005 14:30:46 -0000 Delivered-To: [email protected] Received: (qmail 81343 invoked by uid 500); 5 Jul 2005 14:30:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xalan-j-users.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 81330 invoked by uid 99); 5 Jul 2005 14:30:45 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2005 07:30:45 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO e5.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2005 07:30:46 -0700 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [161.129.204.104]) by e5.ny.us.ibm.com (8.12.11/8.12.11) with ESMTP id j65EUfUW024921 for <[email protected]>; Tue, 5 Jul 2005 10:30:42 -0400 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [161.129.204.104]) by d01relay04.pok.ibm.com (8.12.10/NCO/VERS6.7) with ESMTP id j65EUeL3204510 for <[email protected]>; Tue, 5 Jul 2005 10:30:40 -0400 Received: from d01av04.pok.ibm.com (loopback [161.129.204.104]) by d01av04.pok.ibm.com (8.12.11/8.13.3) with ESMTP id j65EUdkj001326 for <[email protected]>; Tue, 5 Jul 2005 10:30:39 -0400 Received: from d25ml03.torolab.ibm.com (d25ml03.torolab.ibm.com [161.129.204.104]) by d01av04.pok.ibm.com (8.12.11/8.12.11) with ESMTP id j65EUdcE001316; Tue, 5 Jul 2005 10:30:39 -0400 In-Reply-To: <[email protected]> To: "Theis, Karsten" <[email protected]> Cc: [email protected] MIME-Version: 1.0 Subject: Re: Bugs using 'key' and 'tokeinze' with XSLTC X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003 From: Henry Zongaro <[email protected]> Message-ID: <[email protected]> Date: Tue, 5 Jul 2005 10:31:07 -0400 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 6.53HF247 | January 6, 2005) at 07/05/2005 10:30:39, Serialize complete at 07/05/2005 10:30:39 Content-Type: text/plain; charset="US-ASCII" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, Karsten. > --- 1. Bug: --- > If I use a key like with a node set as parameter like this: > <xsl:variable name="elements2" select="key('ElementIndex', > $elements1/@id)"/> > the result is invalid. This appears to be the same as the bug reported in Jira issue XALANJ-1938.[1] The fix for that problem is available in the CVS or you can wait for the upcoming Xalan-J 2.7.0 release. > --- 2. Bug --- > Result of xalan:tokenize in invalid > str:tokenize is valid Please open a Jira issue for this problem,[2] and somebody will investigate. Thanks, Henry [1] http://issues.apache.org/jira/browse/XALANJ-1938 [2] http://issues.apache.org/jira/ ------------------------------------------------------------------ Henry Zongaro Xalan development IBM SWS Toronto Lab T/L 969-6044; Phone 337-454-8489 mailto:[email protected] From [email protected] Wed Jul 06 12:21:17 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 27847 invoked from network); 6 Jul 2005 12:21:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Jul 2005 12:21:17 -0000 Received: (qmail 94968 invoked by uid 500); 6 Jul 2005 12:21:13 -0000 Delivered-To: [email protected] Received: (qmail 94939 invoked by uid 500); 6 Jul 2005 12:21:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xalan-j-users.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 94917 invoked by uid 99); 6 Jul 2005 12:21:12 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jul 2005 05:21:12 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO mail.prostep.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jul 2005 05:21:11 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: AW: Bugs using 'key' and 'tokeinze' with XSLTC Date: Wed, 6 Jul 2005 14:21:06 +0200 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Bugs using 'key' and 'tokeinze' with XSLTC Thread-Index: AcWBbiSkGlQmB5o/Sb6tY4GsNwMX8wAtZTjQ From: "Theis, Karsten" <[email protected]> To: "Henry Zongaro" <[email protected]> Cc: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks Henry!=20 Your patch worked, but I found an other bug, which is not even fixed in = the actual xalan head: (I did a download from CVS and compiled it.) Bug 3: Passing a nodeset by <xsl:with-param ...> like this <xsl:call-template name=3D"test2"> <xsl:with-param name=3D"nodes" = select=3D"str:tokenize($s, ' ')"/> </xsl:call-template> doesn't work correctly. Output of the following xslt with XSLTC (last element is missing) Elements1: id_10019_2382 id_10019_2383 Elements2: id_10019_2382 Output of the following xslt without XSLTC (correct) Elements1: id_10019_2382 id_10019_2383 Elements2: id_10019_2382 id_10019_2383 <?xml version=3D"1.0" encoding=3D"UTF-8"?> <xsl:transform xmlns:xsl=3D"http://www.w3.org/1999/XSL/Transform" = version=3D"1.0" xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" = xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" = xmlns:str=3D"http://exslt.org/strings" exclude-result-prefixes=3D"str"> <xsl:key name=3D"ElementIndex" match=3D"*" use=3D"@id"/> <!-- root template --> <xsl:template match=3D"/"> <xsl:element name=3D"test"> <xsl:variable name=3D"s">id_10019_2382 = id_10019_2383</xsl:variable> <xsl:call-template name=3D"test1"> <xsl:with-param name=3D"s" select=3D"$s"/> </xsl:call-template> <xsl:call-template name=3D"test2"> <xsl:with-param name=3D"nodes" = select=3D"str:tokenize($s, ' ')"/> </xsl:call-template> </xsl:element> </xsl:template> <xsl:template name=3D"test1"> <xsl:param name=3D"s"/> <xsl:variable name=3D"nodes" select=3D"str:tokenize($s, ' ')"/> <xsl:variable name=3D"elements" select=3D"key('ElementIndex', = $nodes)"/> <xsl:message>Elements1:</xsl:message> <xsl:message> <xsl:value-of select=3D"$elements[1]/@id"/> </xsl:message> <xsl:message> <xsl:value-of select=3D"$elements[2]/@id"/> </xsl:message> </xsl:template> <xsl:template name=3D"test2"> <xsl:param name=3D"nodes"/> <xsl:variable name=3D"elements" select=3D"key('ElementIndex', = $nodes)"/> <xsl:message>Elements2:</xsl:message> <xsl:message> <xsl:value-of select=3D"$elements[1]/@id"/> </xsl:message> <xsl:message> <xsl:value-of select=3D"$elements[2]/@id"/> </xsl:message> </xsl:template> </xsl:transform> Input XML: <?xml version=3D"1.0" encoding=3D"UTF-8"?> <test xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance"> <Item id=3D"id_10019_2382"> <Name>Hugo</Name> </Item> <Item id=3D"id_10019_2383"> <Name>Emil</Name> </Item> </test> Is it possible to fix this in XALAN 2.7.0? Thanks,=20 Karsten > -----Urspr=FCngliche Nachricht----- > Von: Henry Zongaro [mailto:[email protected]]=20 > Gesendet: Dienstag, 5. Juli 2005 16:31 > An: Theis, Karsten > Cc: [email protected] > Betreff: Re: Bugs using 'key' and 'tokeinze' with XSLTC >=20 > Hi, Karsten. >=20 > > --- 1. Bug: --- > > If I use a key like with a node set as parameter like this: > > <xsl:variable name=3D"elements2" select=3D"key('ElementIndex',=20 > > $elements1/@id)"/> the result is invalid. >=20 > This appears to be the same as the bug reported in Jira=20 > issue XALANJ-1938.[1] The fix for that problem is available=20 > in the CVS or you can wait for the upcoming Xalan-J 2.7.0 release. >=20 > > --- 2. Bug --- > > Result of xalan:tokenize in invalid > > str:tokenize is valid >=20 > Please open a Jira issue for this problem,[2] and=20 > somebody will investigate. >=20 > Thanks, >=20 > Henry > [1] http://issues.apache.org/jira/browse/XALANJ-1938 > [2] http://issues.apache.org/jira/ > ------------------------------------------------------------------ > Henry Zongaro Xalan development > IBM SWS Toronto Lab T/L 969-6044; Phone 337-454-8489 > mailto:[email protected] >=20 >=20 From [email protected] Wed Jul 06 12:47:52 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40783 invoked from network); 6 Jul 2005 12:47:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Jul 2005 12:47:52 -0000 Received: (qmail 51109 invoked by uid 500); 6 Jul 2005 12:47:49 -0000 Delivered-To: [email protected] Received: (qmail 51096 invoked by uid 500); 6 Jul 2005 12:47:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xalan-j-users.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 51081 invoked by uid 99); 6 Jul 2005 12:47:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jul 2005 05:47:49 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO e1.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jul 2005 05:47:49 -0700 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [161.129.204.104]) by e1.ny.us.ibm.com (8.12.11/8.12.11) with ESMTP id j66Clj7q008193 for <[email protected]>; Wed, 6 Jul 2005 08:47:45 -0400 Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [161.129.204.104]) by d01relay02.pok.ibm.com (8.12.10/NCO/VERS6.7) with ESMTP id j66CljLq185682 for <[email protected]>; Wed, 6 Jul 2005 08:47:45 -0400 Received: from d01av01.pok.ibm.com (loopback [161.129.204.104]) by d01av01.pok.ibm.com (8.12.11/8.13.3) with ESMTP id j66CliBK029171 for <[email protected]>; Wed, 6 Jul 2005 08:47:44 -0400 Received: from d25ml03.torolab.ibm.com (d25ml03.torolab.ibm.com [161.129.204.104]) by d01av01.pok.ibm.com (8.12.11/8.12.11) with ESMTP id j66Clix5029165; Wed, 6 Jul 2005 08:47:44 -0400 In-Reply-To: <[email protected]> To: "Theis, Karsten" <[email protected]> Cc: [email protected] MIME-Version: 1.0 Subject: Re: AW: Bugs using 'key' and 'tokeinze' with XSLTC X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003 From: Henry Zongaro <[email protected]> Message-ID: <[email protected]> Date: Wed, 6 Jul 2005 08:48:13 -0400 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 6.53HF247 | January 6, 2005) at 07/06/2005 08:47:45, Serialize complete at 07/06/2005 08:47:45 Content-Type: text/plain; charset="US-ASCII" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, Karsten. "Theis, Karsten" <[email protected]> wrote on 2005-07-06 08:21:06 AM: > Your patch worked, but I found an other bug, which is not even fixed > in the actual xalan head: > (I did a download from CVS and compiled it.) > > Bug 3: > Passing a nodeset by <xsl:with-param ...> like this > <xsl:call-template name="test2"> > <xsl:with-param name="nodes" select="str:tokenize($s, ' ')"/> > </xsl:call-template> > doesn't work correctly. Thanks for taking the time to report the problem. May I ask you to open a bug report in Jira [1] for this as well. Thanks, Henry [1] http://issues.apache.org/jira/ ------------------------------------------------------------------ Henry Zongaro Xalan development IBM SWS Toronto Lab T/L 969-6044; Phone 337-454-8489 mailto:[email protected] From [email protected] Thu Jul 07 04:35:44 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 39493 invoked from network); 7 Jul 2005 04:35:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Jul 2005 04:35:44 -0000 Received: (qmail 86005 invoked by uid 500); 7 Jul 2005 04:35:41 -0000 Delivered-To: [email protected] Received: (qmail 85990 invoked by uid 500); 7 Jul 2005 04:35:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xalan-j-users.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 85977 invoked by uid 99); 7 Jul 2005 04:35:40 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jul 2005 21:35:40 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO zproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jul 2005 21:35:26 -0700 Received: by zproxy.gmail.com with SMTP id j25so48378nzf for <[email protected]>; Wed, 06 Jul 2005 21:35:22 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=lKrPQLR0AfUyBqtjcXAMvCVaNQMx4/idQ+rGHIWTErq8gkk+GLOdzWKjTABfJHsRzV0QeQmeqFpREw9DO4MLCOzCeHAZQJxE9WJBeq7uYxcXAvWvT8jH8xri4bSPoQX0YVvow27Ux6MRiR5/AChPSjpzGsvnL0jfZCEe/XQ86As= Received: by 161.129.204.104 with SMTP id z5mr169780nze; Wed, 06 Jul 2005 21:35:22 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Wed, 6 Jul 2005 21:35:22 -0700 (PDT) Message-ID: <[email protected]> Date: Thu, 7 Jul 2005 10:05:22 +0530 From: Mukul Gandhi <[email protected]> Reply-To: Mukul Gandhi <[email protected]> To: [email protected] Subject: WSAD 5.0 to work on source distribution Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear Friends, I am starting to contribute something to Xalan-J. I am eagerly awaiting for version 2.7. Is it advisable to use WSAD 5.0 as an IDE to work on the source distribution? Regards, Mukul From [email protected] Fri Jul 08 14:09:23 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76182 invoked from network); 8 Jul 2005 14:09:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Jul 2005 14:09:23 -0000 Received: (qmail 47745 invoked by uid 500); 8 Jul 2005 14:09:19 -0000 Delivered-To: [email protected] Received: (qmail 47728 invoked by uid 500); 8 Jul 2005 14:09:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xalan-j-users.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 47715 invoked by uid 99); 8 Jul 2005 14:09:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jul 2005 07:09:18 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO outhub3.tibco.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jul 2005 07:09:16 -0700 Received: from na-h-inhub1.tibco.com (na-h-inhub1 [161.129.204.104]) by outhub3.tibco.com (8.12.10/8.12.9) with ESMTP id j68E9FCt016730 for <[email protected]>; Fri, 8 Jul 2005 07:09:15 -0700 (PDT) Received: from NA-PA-VBE01.na.tibco.com (na-pa-be02.tibco.com [161.129.204.104]) by na-h-inhub1.tibco.com (8.12.10/8.12.10) with ESMTP id j68E9CRF014646 for <[email protected]>; Fri, 8 Jul 2005 07:09:15 -0700 (PDT) X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C583C6.9F7FA31A" Subject: Problem with Transformer setParameter Date: Fri, 8 Jul 2005 07:09:14 -0700 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Problem with Transformer setParameter Thread-Index: AcWDxp8EA5HXyuCAS7W6KCWBgIJcyA== From: "Paul Raby" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------_=_NextPart_001_01C583C6.9F7FA31A Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable I'm having problems with the setParameter method on the transformer object. =20 I'm passing in an element (object) and I'm gettting back an error when running the transform: =20 ERROR: 'Invalid conversion from 'com.sun.org.apache.xerces.internal.dom.DeferredDocumentImpl' to 'node-set'.' =20 I'm using: com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl from Sun's JWSDP. =20 If I use: org.apache.xalan.processor.TransformerFactoryImpl from Sun's JDK 1.4.2 it works fine. =20 I need a portable solution across different versions of the JDK. Is this a known issue, or does anyone know a workaround? =20 Regards, =20 Paul Raby ------_=_NextPart_001_01C583C6.9F7FA31A Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:Arial; color:windowtext;} @page Section1 {size:595.3pt 841.9pt; margin:72.0pt 90.0pt 72.0pt 90.0pt;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1029" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3DEN-GB link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>I&#8217;m having problems with the setParameter = method on the transformer object.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>I&#8217;m passing in an element (object) and = I&#8217;m gettting back an error when running the = transform:<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>ERROR:&nbsp; 'Invalid conversion from 'com.sun.org.apache.xerces.internal.dom.DeferredDocumentImpl' to = 'node-set'.'<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>I&#8217;m using: = com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl from Sun&#8217;s JWSDP.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>If I use: = org.apache.xalan.processor.TransformerFactoryImpl from Sun&#8217;s JDK 1.4.2 it works fine.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>I need a portable solution across different versions = of the JDK.&nbsp; Is this a known issue, or does anyone know a = workaround?<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Regards,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Paul Raby<o:p></o:p></span></font></p> </div> </body> </html> ------_=_NextPart_001_01C583C6.9F7FA31A-- From [email protected] Mon Jul 11 13:28:07 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76452 invoked from network); 11 Jul 2005 13:28:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Jul 2005 13:28:07 -0000 Received: (qmail 1391 invoked by uid 500); 11 Jul 2005 13:28:04 -0000 Delivered-To: [email protected] Received: (qmail 1373 invoked by uid 500); 11 Jul 2005 13:28:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xalan-j-users.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 1360 invoked by uid 99); 11 Jul 2005 13:28:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jul 2005 06:28:04 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO hamlet.vega.co.uk) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jul 2005 06:28:01 -0700 Received: from [161.129.204.104] (reverse.completel.net [161.129.204.104] (may be forged)) (authenticated bits=0) by hamlet.vega.co.uk (8.12.9/8.12.9) with ESMTP id j6BDRsfc003284 for <[email protected]>; Mon, 11 Jul 2005 14:27:55 +0100 Message-ID: <[email protected]> Date: Mon, 11 Jul 2005 15:28:35 +0200 From: Marc Jambert <[email protected]> User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: XalanJ Users List <[email protected]> Subject: XPathAPI, JAXP and DTM features Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-VEGA-MailScanner-Information: Please contact Group IS for more information X-VEGA-MailScanner: Found to be clean X-MailScanner-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi all, I am using the default Xalan XPath API bundled with Java 5. Does anybody know if there is a way to disable DTM optimization with the "http://apache.org/xalan/features/optimize" feature through JAXP ? Marc From [email protected] Mon Jul 11 14:19:33 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95206 invoked from network); 11 Jul 2005 14:19:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Jul 2005 14:19:32 -0000 Received: (qmail 93310 invoked by uid 500); 11 Jul 2005 14:19:24 -0000 Delivered-To: [email protected] Received: (qmail 93291 invoked by uid 500); 11 Jul 2005 14:19:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xalan-j-users.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 93277 invoked by uid 99); 11 Jul 2005 14:19:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jul 2005 07:19:23 -0700 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_HELO_FAIL X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO e6.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jul 2005 07:19:20 -0700 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [161.129.204.104]) by e6.ny.us.ibm.com (8.12.11/8.12.11) with ESMTP id j6BEJKYf030295 for <[email protected]>; Mon, 11 Jul 2005 10:19:20 -0400 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [161.129.204.104]) by d01relay02.pok.ibm.com (8.12.10/NCO/VERS6.7) with ESMTP id j6BEJJwY188252 for <[email protected]>; Mon, 11 Jul 2005 10:19:19 -0400 Received: from d01av03.pok.ibm.com (loopback [161.129.204.104]) by d01av03.pok.ibm.com (8.12.11/8.13.3) with ESMTP id j6BEJJmG029170 for <[email protected]>; Mon, 11 Jul 2005 10:19:19 -0400 Received: from d25ml03.torolab.ibm.com (d25ml03.torolab.ibm.com [161.129.204.104]) by d01av03.pok.ibm.com (8.12.11/8.12.11) with ESMTP id j6BEJJsC029136; Mon, 11 Jul 2005 10:19:19 -0400 In-Reply-To: <[email protected]> To: Marc Jambert <[email protected]> Cc: XalanJ Users List <[email protected]> MIME-Version: 1.0 Subject: Re: XPathAPI, JAXP and DTM features X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003 From: Henry Zongaro <[email protected]> Message-ID: <[email protected]> Date: Mon, 11 Jul 2005 10:19:29 -0400 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 6.5.4|March 27, 2005) at 07/11/2005 10:19:19, Serialize complete at 07/11/2005 10:19:19 Content-Type: text/plain; charset="US-ASCII" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello, Marc. Marc Jambert <[email protected]> wrote on 2005-07-11 09:28:35 AM: > I am using the default Xalan XPath API bundled with Java 5. > Does anybody know if there is a way to disable DTM optimization > with the "http://apache.org/xalan/features/optimize" feature > through JAXP ? When you say "through JAXP," I assume you mean through the the JAXP XPath API, rather than the JAXP Transformation API. That feature has no effect on any of the XPath APIs supported by Xalan-J. Are you encountering a problem that you believe is being caused by that feature? Thanks, Henry ------------------------------------------------------------------ Henry Zongaro Xalan development IBM SWS Toronto Lab T/L 969-6044; Phone 337-454-8489 mailto:[email protected] From [email protected] Tue Jul 12 01:46:18 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65177 invoked from network); 12 Jul 2005 01:46:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Jul 2005 01:46:18 -0000 Received: (qmail 22266 invoked by uid 500); 12 Jul 2005 01:46:14 -0000 Delivered-To: [email protected] Received: (qmail 22044 invoked by uid 500); 12 Jul 2005 01:46:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xalan-j-users.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 21997 invoked by uid 99); 12 Jul 2005 01:46:12 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jul 2005 18:46:12 -0700 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_HELO_FAIL X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO e2.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jul 2005 18:46:09 -0700 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [161.129.204.104]) by e2.ny.us.ibm.com (8.12.11/8.12.11) with ESMTP id j6C1k9hL000562 for <[email protected]>; Mon, 11 Jul 2005 21:46:09 -0400 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [161.129.204.104]) by d01relay02.pok.ibm.com (8.12.10/NCO/VERS6.7) with ESMTP id j6C1k9wY236956 for <[email protected]>; Mon, 11 Jul 2005 21:46:09 -0400 Received: from d01av04.pok.ibm.com (loopback [161.129.204.104]) by d01av04.pok.ibm.com (8.12.11/8.13.3) with ESMTP id j6C1k9T0014956 for <[email protected]>; Mon, 11 Jul 2005 21:46:09 -0400 Received: from d25ml02.torolab.ibm.com (d25ml02.torolab.ibm.com [161.129.204.104]) by d01av04.pok.ibm.com (8.12.11/8.12.11) with ESMTP id j6C1k8ZF014940 for <[email protected]>; Mon, 11 Jul 2005 21:46:09 -0400 Subject: Xalan-J bug triage agenda for Tuesday July 12, 2005 (2 pm EDT) To: [email protected] X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003 Message-ID: <[email protected]> From: Brian Minchau <[email protected]> Date: Mon, 11 Jul 2005 21:41:07 -0400 X-MIMETrack: Serialize by Router on D25ML02/25/M/IBM(Release 6.53HF247 | January 6, 2005) at 07/11/2005 21:46:09 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N NOTE: For those of you worried about Apache protocol, no decisions are made at this meeting. No voting on issues is done either. Any committer is free to assign a bug to themself, to fix a bug etc. All that this meeting does is to facilitate communication between active Xalan-J committers on technical issues. As always, all active Xalan-J committers are welcome on this call, just e-mail me for the teleconference information. - Brian Minchau SUBJECT: Xalan-J JIRA defect review WHEN: Tuesday July 12, 2005 from 2:00 to 3:30 pm EDT INVITEES: Active Apache Xalan committers CHAIR: Brian Minchau WHERE: Teleconference Phone for Toronto Area: (***) ***-**** Phone for Others: (***) ***-**** Conference ID for all: ***** LAST MEETING WAS ON: Tuesday June 7, 2005 Agenda Outline: 1. Old Business 2. Brief Summary of defect arrival and resolution 3. New Issues Opened Since Last Meeting, plus assigned issue status 4. Round table discussion 5. Older open blocker or critical issues 6. Older open non-blocker non-critical issues AGENDA ====================================================================== 1. Old Business a) In the last meeting this issues were covered: 2140 back through 2112 b) In previous meetings issues covered: 2113 back through 2032 ====================================================================== 2. Brief Summary of defect arrival and resolution Since the last meeting 20 issues resolved in June (compared to 21 in May, 22 in April, and 27 in March): 2167, 2164, 2162, 2161, 2159, 2158, 2156, 2146, 2140, 2124 2097, 2076, 2002, 1978, 1870, 1863, 1840, 1640, 1403, 1171 Since the last meeting, 24 new issues (compared to 29 in May, 19 in April, 20 in March) : 2163 back through 2141. We now have a total of 416 issues not resolved or closed (compared to 421 on June 6, 409 on May 3, 411 on April 5, 2005). ====================================================================== 3. New Issues Opened Since Last Meeting, plus assigned issue status 3.a) New issues needing assignment: ???? - since the agenda came out 2169 - 2168 - 2165 - 2163 - 2160 - 2157 - 2155 - 2154 - 2153 - 2152 - 2151 - 2150 - 2149 - 2148 - 2147 - 2145 - 2144 - 2143 - 2142 - 2137 - 3.b) Open assigned issues with no patch (just a reminder): Brian M. : 2087, 2050, 1974, 1855, 1698, 1536 Christine L. : 2055, 1447 Henry Z. : 2057, 2001, 1973, 1851, 1845 Joanne T. : 2120, 2107, 2100, 2094 John G. : 2114, 2113, 1574 Morris K. : 1263, 1139, 1086, 1065, 739 Ramesh M. : 2106, 2063, 2062 Santiago P-G : 2040, 2032, 1912, 1485, 1151 Sarah M. : 2144, 2129, 2065 Yash T. : 2150, 2149, 2148, 2083, 2072, 2056, 2043, 2042, 2041, 2039, 1923 3.c) Open issues with a patch, needing a reviewer: 2157 2147 2099 2078 2061 - Cleanup some dead code 3.d) Open issues with a patch, needing a review by the reviewer (just a reminder): Brian M. : 2023 Christine L. : 1867 Henry Z. : 2137, 2130 3.e) Open issues with a patch and review approval, needing a commit to CVS Brian M. : 2133, 2103 ====================================================================== 4. Round table discussion a) Target date for Xalan-J 2.7 release is August 4, 2005, code freeze July 28, 2005. b) bugs that we might want to get fixed in 2.7 release. - 2083 (fp1) Data corrupted in Parallel XSL execution - 2043 (fp1) Concurrency problem with template parameters - 2042 (fp1) Concurrency probmem with recursive template - 2041 (fp1) Concurrency problem with HTML Serialization - 2024 (fp1) Axis name: preceding-siblingacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b does not seem to work - 2150 (fp2) Namespace Undeclaration in XML input document is not handled correctly. - 2149 (fp2) Namespace Undeclaration in XML input document is not handled correctly. - 2124 (fp2) committed, done, but needs a reviewer - 2100 (fp2) Unrecognized Namespace beginning with '//' - 2088 - Passing initial mode from command line (accepted as a request, not assigned) - 2087 - Get rid of dependency on sun.io.CharToByteConverter (John G. to review) need to apply this patch for 2.7.0 as it fixes numerous issues with various encodings. - 2032 (fp2) XSLTC: Multiple namespace prefixes produce unexpected prefixes in output c) features for 2.7 release - JAXP 1.3 (Morris K. has committed the work, Ilene S. has agreed to review) - XML 1.1 ( Yash had one bug that he was going to fix, was it fixed?) - Serializer xsl:output property to set end of line sequence, done through 2093. - JNDI contribution through John G. ? d) Other? ====================================================================== 5. Older open blocker or critical issues 1845 - Transformation leads to random SAXParseException (data not bounded properly) when stressed 1742 - Order of global variable and param affect the output 1725 - Xalan 2.5.2 XSLTC: <xsl:copy-of> loses both ATTRIBUTES & NAMESPACES 1549 - XSLT Error (javax.xml.transform.TransformerConfigurationException): Could not load the translet class 1402 - Incorrect usage of context ClassLoader for static field initialization (The suggested fix was put in XALANJ-1411, the code was applied, issue resolve - suggest closing this issue) 1324 - XSLTC compiltation error : Branch target offset too large for short ====================================================================== 6. Older open non-blocker, non-critical issues (assuming we make it this far in the agenda) 2083 - Data corrupted in Parallel XSL execution (Got a testcase since last JIRA meeting, not yet assigned) 2071 - DOM2SAX reports Null-Namespace via 'null' value, should be empty String "" (Santiago or Ramesh did not accept assignment, still unassigned) 2067 - Multiple executions of transformation having DOM Document as parameter is not working (looks like a legitimate bug, no volunteer to assign to) 2031 - Grouping filter with preceding/following axis produces wrong nodeset 2029 - XML file must contain LF, CRLF or CR are unsupported 2028 - Doc about redirect should be clear about AVTs 2022 - XMLErrorResources and XPATHErrorResources mix messages with Java code 2020 - XMLErrorResources - some messages not translated 2016 - Text outside elements that can't be represented in specified encoding is not escaped 2014 - ExsltDatetime functions do not support fractional seconds values 2010 - getMessageAndLocation() api of TransformerException return stack trace along with the error message 2002 - backward compatibility with exsl 2001 - normalize-space gives StackOverflowError 2000 - xsl:include with relative href cause MalformedURL on unicode path 1996 - Error needed for xsl:apply-imports evaluated while evaluating top-level variable 1995 - CachedXPathAPI doesn't cache under some cases .... From [email protected] Tue Jul 12 08:44:18 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90437 invoked from network); 12 Jul 2005 08:44:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Jul 2005 08:44:18 -0000 Received: (qmail 91666 invoked by uid 500); 12 Jul 2005 08:44:15 -0000 Delivered-To: [email protected] Received: (qmail 91645 invoked by uid 500); 12 Jul 2005 08:44:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xalan-j-users.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 91632 invoked by uid 99); 12 Jul 2005 08:44:14 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2005 01:44:13 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO hamlet.vega.co.uk) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2005 01:44:12 -0700 Received: from [161.129.204.104] (reverse.completel.net [161.129.204.104] (may be forged)) (authenticated bits=0) by hamlet.vega.co.uk (8.12.9/8.12.9) with ESMTP id j6C8i4fc002948 for <[email protected]>; Tue, 12 Jul 2005 09:44:05 +0100 Message-ID: <[email protected]> Date: Tue, 12 Jul 2005 10:44:45 +0200 From: Marc Jambert <[email protected]> User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: XalanJ Users List <[email protected]> Subject: [Fwd: Re: XPathAPI, JAXP and DTM features] Content-Type: multipart/mixed; boundary="------------010407000002080102020100" X-VEGA-MailScanner-Information: Please contact Group IS for more information X-VEGA-MailScanner: Found to be clean X-MailScanner-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. --------------010407000002080102020100 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit --------------010407000002080102020100 Content-Type: message/rfc822; name="Re: XPathAPI, JAXP and DTM features" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Re: XPathAPI, JAXP and DTM features" Message-ID: <[email protected]> Date: Mon, 11 Jul 2005 16:32:38 +0200 From: Marc Jambert <[email protected]> User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Henry Zongaro <[email protected]> Subject: Re: XPathAPI, JAXP and DTM features References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Henry Zongaro wrote: >Hello, Marc. > >Marc Jambert <[email protected]> wrote on 2005-07-11 >09:28:35 AM: > > >>I am using the default Xalan XPath API bundled with Java 5. >>Does anybody know if there is a way to disable DTM optimization >>with the "http://apache.org/xalan/features/optimize" feature >>through JAXP ? >> >> > > When you say "through JAXP," I assume you mean through the the JAXP >XPath API, rather than the JAXP Transformation API. That feature has no >effect on any of the XPath APIs supported by Xalan-J. > > Well, yes, what I am using is the JAXP XPath API. > Are you encountering a problem that you believe is being caused by >that feature? > > It is very specific to a special implementation of DOM that I am writing for dealing with huge documents (each DOM node is created on demand and not necessarily kept in memory). I think that the DTM mechanism assumes that a DOM node will be always the same Java object, which is not the case for me. I have already XPath working over my custom DOM with Jaxen and Saxon but it would be nice if it could work as well with JAXP default implementation. That is why would like to disable DTM mechanism. Do you think there is a solution ? >Thanks, > >Henry >------------------------------------------------------------------ >Henry Zongaro Xalan development >IBM SWS Toronto Lab T/L 969-6044; Phone 337-454-8489 >mailto:[email protected] > > > > > > --------------010407000002080102020100-- From [email protected] Tue Jul 12 14:43:01 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11833 invoked from network); 12 Jul 2005 14:43:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Jul 2005 14:43:01 -0000 Received: (qmail 7534 invoked by uid 500); 12 Jul 2005 14:42:55 -0000 Delivered-To: [email protected] Received: (qmail 7416 invoked by uid 500); 12 Jul 2005 14:42:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xalan-j-users.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 7289 invoked by uid 99); 12 Jul 2005 14:42:54 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2005 07:42:54 -0700 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_HELO_FAIL X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO e3.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2005 07:42:51 -0700 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [161.129.204.104]) by e3.ny.us.ibm.com (8.12.11/8.12.11) with ESMTP id j6CEgpj5010982 for <[email protected]>; Tue, 12 Jul 2005 10:42:51 -0400 Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [161.129.204.104]) by d01relay04.pok.ibm.com (8.12.10/NCO/VERS6.7) with ESMTP id j6CEgmXR244754 for <[email protected]>; Tue, 12 Jul 2005 10:42:51 -0400 Received: from d01av01.pok.ibm.com (loopback [161.129.204.104]) by d01av01.pok.ibm.com (8.12.11/8.13.3) with ESMTP id j6CEgl3k018351 for <[email protected]>; Tue, 12 Jul 2005 10:42:48 -0400 Received: from d25ml03.torolab.ibm.com (d25ml03.torolab.ibm.com [161.129.204.104]) by d01av01.pok.ibm.com (8.12.11/8.12.11) with ESMTP id j6CEgkna018320; Tue, 12 Jul 2005 10:42:46 -0400 In-Reply-To: <[email protected]> To: Marc Jambert <[email protected]> Cc: XalanJ Users List <[email protected]> MIME-Version: 1.0 Subject: Re: [Fwd: Re: XPathAPI, JAXP and DTM features] X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003 From: Henry Zongaro <[email protected]> Message-ID: <[email protected]> Date: Tue, 12 Jul 2005 10:42:49 -0400 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 6.5.4|March 27, 2005) at 07/12/2005 10:42:47, Serialize complete at 07/12/2005 10:42:47 Content-Type: text/plain; charset="US-ASCII" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, Marc. Marc Jambert <[email protected]> wrote on 2005-07-12 04:44:45 AM: > Henry Zongaro wrote: > It is very specific to a special implementation of DOM that I am writing > for dealing with huge documents (each DOM node is created on demand and > not necessarily kept in memory). I think that the DTM mechanism assumes > that a DOM node will be always the same Java object, which is not the > case for me. > I have already XPath working over my custom DOM with Jaxen and Saxon but > it would be nice if it could work as well with JAXP default implementation. > > That is why would like to disable DTM mechanism. Do you think there is a > solution ? If you're asking for a way to use the XPath API of Xalan-J without using DTM, it's not possible without rewriting large parts of the processor; the implementation of XPath and XSLT in Xalan-J is built upon DTM. Joseph Kesselman did some work on a revised DTM implementation over DOM which, if I recall correctly, does not rely on a DOM node to be always the same Java object, but I don't believe that work was ever completed. If you're interested, you can take a look at the code in the xslt20 branch of the xml-xalan project, in the org.apache.xml.dtm.dom2dtm2 package. Thanks, Henry ------------------------------------------------------------------ Henry Zongaro Xalan development IBM SWS Toronto Lab T/L 969-6044; Phone 337-454-8489 mailto:[email protected] From [email protected] Tue Jul 12 14:50:12 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13617 invoked from network); 12 Jul 2005 14:50:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Jul 2005 14:50:12 -0000 Received: (qmail 15254 invoked by uid 500); 12 Jul 2005 14:50:08 -0000 Delivered-To: [email protected] Received: (qmail 15240 invoked by uid 500); 12 Jul 2005 14:50:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xalan-j-users.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 15227 invoked by uid 99); 12 Jul 2005 14:50:08 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2005 07:50:08 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO hamlet.vega.co.uk) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2005 07:50:05 -0700 Received: from [161.129.204.104] (reverse.completel.net [161.129.204.104] (may be forged)) (authenticated bits=0) by hamlet.vega.co.uk (8.12.9/8.12.9) with ESMTP id j6CEnpfc031703; Tue, 12 Jul 2005 15:49:52 +0100 Message-ID: <[email protected]> Date: Tue, 12 Jul 2005 16:50:32 +0200 From: Marc Jambert <[email protected]> User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Henry Zongaro <[email protected]> CC: XalanJ Users List <[email protected]> Subject: Re: [Fwd: Re: XPathAPI, JAXP and DTM features] References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-VEGA-MailScanner-Information: Please contact Group IS for more information X-VEGA-MailScanner: Found to be clean X-MailScanner-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N OK thanks very much for your answers. I thought that DTM was *just* an optimization. I had not understood that it was rather an in-depth implementation choice. By the way what's the meaning of "http://apache.org/xalan/features/optimize" then ? Thanks again Marc Henry Zongaro wrote: >Hi, Marc. > >Marc Jambert <[email protected]> wrote on 2005-07-12 >04:44:45 AM: > > >>Henry Zongaro wrote: >>It is very specific to a special implementation of DOM that I am writing >> >> > > > >>for dealing with huge documents (each DOM node is created on demand and >>not necessarily kept in memory). I think that the DTM mechanism assumes >>that a DOM node will be always the same Java object, which is not the >>case for me. >>I have already XPath working over my custom DOM with Jaxen and Saxon but >> >> > > > >>it would be nice if it could work as well with JAXP default >> >> >implementation. > > >>That is why would like to disable DTM mechanism. Do you think there is a >> >> > > > >>solution ? >> >> > > If you're asking for a way to use the XPath API of Xalan-J without >using DTM, it's not possible without rewriting large parts of the >processor; the implementation of XPath and XSLT in Xalan-J is built upon >DTM. > > Joseph Kesselman did some work on a revised DTM implementation over >DOM which, if I recall correctly, does not rely on a DOM node to be always >the same Java object, but I don't believe that work was ever completed. If >you're interested, you can take a look at the code in the xslt20 branch of >the xml-xalan project, in the org.apache.xml.dtm.dom2dtm2 package. > >Thanks, > >Henry >------------------------------------------------------------------ >Henry Zongaro Xalan development >IBM SWS Toronto Lab T/L 969-6044; Phone 337-454-8489 >mailto:[email protected] > > > > > From [email protected] Tue Jul 12 15:27:20 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 27591 invoked from network); 12 Jul 2005 15:27:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Jul 2005 15:27:20 -0000 Received: (qmail 83802 invoked by uid 500); 12 Jul 2005 15:27:18 -0000 Delivered-To: [email protected] Received: (qmail 83788 invoked by uid 500); 12 Jul 2005 15:27:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xalan-j-users.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 83775 invoked by uid 99); 12 Jul 2005 15:27:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2005 08:27:17 -0700 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_HELO_FAIL X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO e1.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2005 08:27:16 -0700 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [161.129.204.104]) by e1.ny.us.ibm.com (8.12.11/8.12.11) with ESMTP id j6CFRFn2013732 for <[email protected]>; Tue, 12 Jul 2005 11:27:15 -0400 Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [161.129.204.104]) by d01relay02.pok.ibm.com (8.12.10/NCO/VERS6.7) with ESMTP id j6CFRFek234072 for <[email protected]>; Tue, 12 Jul 2005 11:27:15 -0400 Received: from d01av01.pok.ibm.com (loopback [161.129.204.104]) by d01av01.pok.ibm.com (8.12.11/8.13.3) with ESMTP id j6CFRFnF019726 for <[email protected]>; Tue, 12 Jul 2005 11:27:15 -0400 Received: from d25ml03.torolab.ibm.com (d25ml03.torolab.ibm.com [161.129.204.104]) by d01av01.pok.ibm.com (8.12.11/8.12.11) with ESMTP id j6CFRFsS019720; Tue, 12 Jul 2005 11:27:15 -0400 In-Reply-To: <[email protected]> To: Marc Jambert <[email protected]> Cc: XalanJ Users List <[email protected]> MIME-Version: 1.0 Subject: Re: [Fwd: Re: XPathAPI, JAXP and DTM features] X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003 From: Henry Zongaro <[email protected]> Message-ID: <[email protected]> Date: Tue, 12 Jul 2005 11:27:16 -0400 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 6.5.4|March 27, 2005) at 07/12/2005 11:27:15, Serialize complete at 07/12/2005 11:27:15 Content-Type: text/plain; charset="US-ASCII" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, Marc. Marc Jambert <[email protected]> wrote on 2005-07-12 10:50:32 AM: > By the way what's the meaning of > "http://apache.org/xalan/features/optimize" then ? It requests that the processor perform some optimization of the instructions in an XSLT stylesheet - for example, looking for subexpressions that are common to more than one expression and evaluated with respect to the same context, and so can be evaluated just once. Thanks, Henry ------------------------------------------------------------------ Henry Zongaro Xalan development IBM SWS Toronto Lab T/L 969-6044; Phone 337-454-8489 mailto:[email protected] From [email protected] Wed Jul 13 11:22:00 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93906 invoked from network); 13 Jul 2005 11:21:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Jul 2005 11:21:59 -0000 Received: (qmail 2079 invoked by uid 500); 13 Jul 2005 11:21:56 -0000 Delivered-To: [email protected] Received: (qmail 2051 invoked by uid 500); 13 Jul 2005 11:21:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xalan-j-users.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 2018 invoked by uid 99); 13 Jul 2005 11:21:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2005 04:21:55 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO zproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2005 04:21:52 -0700 Received: by zproxy.gmail.com with SMTP id 12so86468nzp for <[email protected]>; Wed, 13 Jul 2005 04:21:52 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=SMRVKYIG3IkoyekeRmNCr5FnoNbPQH03PXiYkj0DkZ3KH9iPjqxtnkGGaRgbtB6RJlAetgBroYgWKwbo7wLAKl0doAReUUBGZmnM2FQNc7laFiNAb4Oz/m6hO67TTCDwEP25i5cG+cSSTAfBylfy+3mm9Vi/jV1Bv3k096Y+CSg= Received: by 161.129.204.104 with SMTP id u7mr802279nzd; Wed, 13 Jul 2005 04:21:52 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Wed, 13 Jul 2005 04:21:52 -0700 (PDT) Message-ID: <[email protected]> Date: Wed, 13 Jul 2005 16:51:52 +0530 From: Mukul Gandhi <[email protected]> Reply-To: Mukul Gandhi <[email protected]> To: [email protected] Subject: WSAD - Getting to know Xalan-J version In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Sorry if this question is off-topic. I am developing a JAXP(using TrAX API) application in WSAD 5.1.2. I have actually written a Servlet which does XSLT transformation using TrAX API. I am successfully getting the transformation result on the browser. I believe IBM JRE and Xalan-J is being used behind the scenes. I am interested to know which version of Xalan-J is being used. How can I find this information? Regards, Mukul From [email protected] Wed Jul 13 13:09:54 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40972 invoked from network); 13 Jul 2005 13:09:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Jul 2005 13:09:54 -0000 Received: (qmail 84873 invoked by uid 500); 13 Jul 2005 13:09:50 -0000 Delivered-To: [email protected] Received: (qmail 84846 invoked by uid 500); 13 Jul 2005 13:09:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xalan-j-users.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 84832 invoked by uid 99); 13 Jul 2005 13:09:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2005 06:09:49 -0700 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_HELO_FAIL X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO e2.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2005 06:09:46 -0700 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [161.129.204.104]) by e2.ny.us.ibm.com (8.12.11/8.12.11) with ESMTP id j6DD9e05027396 for <[email protected]>; Wed, 13 Jul 2005 09:09:40 -0400 Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [161.129.204.104]) by d01relay02.pok.ibm.com (8.12.10/NCO/VERS6.7) with ESMTP id j6DD9dg6262522 for <[email protected]>; Wed, 13 Jul 2005 09:09:40 -0400 Received: from d01av01.pok.ibm.com (loopback [161.129.204.104]) by d01av01.pok.ibm.com (8.12.11/8.13.3) with ESMTP id j6DD9ca9028958 for <[email protected]>; Wed, 13 Jul 2005 09:09:38 -0400 Received: from d25ml03.torolab.ibm.com (d25ml03.torolab.ibm.com [161.129.204.104]) by d01av01.pok.ibm.com (8.12.11/8.12.11) with ESMTP id j6DD9cmI028955 for <[email protected]>; Wed, 13 Jul 2005 09:09:38 -0400 In-Reply-To: <[email protected]> To: Mukul Gandhi <[email protected]> Cc: [email protected] MIME-Version: 1.0 Subject: Re: WSAD - Getting to know Xalan-J version X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003 From: Henry Zongaro <[email protected]> Message-ID: <[email protected]> Date: Wed, 13 Jul 2005 09:09:38 -0400 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 6.5.4|March 27, 2005) at 07/13/2005 09:09:38, Serialize complete at 07/13/2005 09:09:38 Content-Type: text/plain; charset="US-ASCII" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, Mukul. Mukul Gandhi <[email protected]> wrote on 2005-07-13 07:21:52 AM: > Sorry if this question is off-topic. I am developing a JAXP(using TrAX > API) application in WSAD 5.1.2. I have actually written a Servlet > which does XSLT transformation using TrAX API. I am successfully > getting the transformation result on the browser. > > I believe IBM JRE and Xalan-J is being used behind the scenes. I am > interested to know which version of Xalan-J is being used. How can I > find this information? You can try invoking the org.apache.xalan.Version class. If it's a copy of Xalan-J that's included with the IBM JRE, the name will be XSLT4J. The version number of XSLT4J has a rough correspondence with that of Xalan-J, but the two are not entirely identical. Thanks, Henry ------------------------------------------------------------------ Henry Zongaro Xalan development IBM SWS Toronto Lab T/L 969-6044; Phone 337-454-8489 mailto:[email protected] From [email protected] Wed Jul 13 14:48:01 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83134 invoked from network); 13 Jul 2005 14:48:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Jul 2005 14:48:01 -0000 Received: (qmail 54058 invoked by uid 500); 13 Jul 2005 14:47:58 -0000 Delivered-To: [email protected] Received: (qmail 54048 invoked by uid 500); 13 Jul 2005 14:47:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xalan-j-users.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 54035 invoked by uid 99); 13 Jul 2005 14:47:58 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2005 07:47:58 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO smtpmail2.sensis.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2005 07:47:55 -0700 Received: from dimstar2.ats.sensis.com ([161.129.204.104]) by smtpmail2.sensis.com with esmtp (Exim 4.34) id 1DsiWd-0004fi-6o for [email protected]; Wed, 13 Jul 2005 10:47:51 -0400 Received: from europa.ats.sensis.com ([161.129.204.104]) by dimstar2.ats.sensis.com with esmtp (Exim 3.35 #1 (Debian)) id 1DsiWS-000233-00 for <[email protected]>; Wed, 13 Jul 2005 10:47:40 -0400 Received: by europa.ats.sensis.com with Internet Mail Service (5.5.2657.72) id <16ZMFC4Y>; Wed, 13 Jul 2005 10:47:39 -0400 Message-ID: <[email protected]> From: "Brown, Charles" <[email protected]> To: [email protected] Subject: Redirect:write mangles file names on windows Date: Wed, 13 Jul 2005 10:47:38 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain X-Sensis-MailScanner-Information: Scanned at Sensis Corporation by MailScanner X-Sensis-MailScanner: Found to be clean X-Sensis-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (score=-5.899, required 5, autolearn=not spam, ALL_TRUSTED -3.30, BAYES_00 -2.60) X-Sensis-MailScanner-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N If I'm off topic, please let me know. I'm trying to get redirect:write to put a file in a relative subdirectory, so I have the following <redirect:write file="sub/dir/{@name}.txt"> On linux, :write converts the relative file name into an absolute file name, but it works fine, and the file ends up where I want it. /home/cbrown/workspace/sub/dir/myFile.txt On windows, :write tries to convert the relative file name into an absolute file name, but gets it mangled into; :C:\Documents and Settings\CBROWN\workspace\sub\dir\sub\dir\myFile.txt Which has two problems. First, the initial colon (:) makes the filename illegal, causing a FileNotFoundException to be thrown. Second, the "sub\dir\" gets repeated, resulting in a bad path. Any thoughts on avoiding this? Thanks. --CB From [email protected] Wed Jul 13 18:26:57 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84493 invoked from network); 13 Jul 2005 18:26:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Jul 2005 18:26:57 -0000 Received: (qmail 91614 invoked by uid 500); 13 Jul 2005 18:26:55 -0000 Delivered-To: [email protected] Received: (qmail 91598 invoked by uid 500); 13 Jul 2005 18:26:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xalan-j-users.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 91585 invoked by uid 99); 13 Jul 2005 18:26:54 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2005 11:26:54 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO hoemail2.lucent.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2005 11:26:51 -0700 Received: from nj7460exch002h.wins.lucent.com (h135-17-42-35.lucent.com [161.129.204.104]) by hoemail2.lucent.com (8.12.11/8.12.11) with ESMTP id j6DIQaxZ020822; Wed, 13 Jul 2005 13:26:40 -0500 (CDT) Received: by nj7460exch002h.ho.lucent.com with Internet Mail Service (5.5.2657.72) id <L37XN910>; Wed, 13 Jul 2005 14:26:35 -0400 Message-ID: <[email protected]> From: "Lagomasino, Adolfo (Adolfo)" <[email protected]> To: "'Brown, Charles'" <[email protected]>, [email protected] Subject: RE: Redirect:write mangles file names on windows Date: Wed, 13 Jul 2005 14:26:34 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You may want to use the Transformer.setParameter("dir", outputdir); where the outputdir is the String specifying where you want your output to be written. And then in the your stylesheet do something like <redirect:write select=concat($dir, "sub/dir/{@name}.txt")> Adolfo -----Original Message----- From: Brown, Charles [mailto:[email protected]] Sent: Wednesday, July 13, 2005 10:48 AM To: [email protected] Subject: Redirect:write mangles file names on windows If I'm off topic, please let me know. I'm trying to get redirect:write to put a file in a relative subdirectory, so I have the following <redirect:write file="sub/dir/{@name}.txt"> On linux, :write converts the relative file name into an absolute file name, but it works fine, and the file ends up where I want it. /home/cbrown/workspace/sub/dir/myFile.txt On windows, :write tries to convert the relative file name into an absolute file name, but gets it mangled into; :C:\Documents and Settings\CBROWN\workspace\sub\dir\sub\dir\myFile.txt Which has two problems. First, the initial colon (:) makes the filename illegal, causing a FileNotFoundException to be thrown. Second, the "sub\dir\" gets repeated, resulting in a bad path. Any thoughts on avoiding this? Thanks. --CB From [email protected] Wed Jul 13 19:14:38 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3270 invoked from network); 13 Jul 2005 19:14:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Jul 2005 19:14:38 -0000 Received: (qmail 66391 invoked by uid 500); 13 Jul 2005 19:14:35 -0000 Delivered-To: [email protected] Received: (qmail 66371 invoked by uid 500); 13 Jul 2005 19:14:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xalan-j-users.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 66358 invoked by uid 99); 13 Jul 2005 19:14:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2005 12:14:34 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO zproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2005 12:14:31 -0700 Received: by zproxy.gmail.com with SMTP id 34so142835nzf for <[email protected]>; Wed, 13 Jul 2005 12:14:32 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=nRRS8rzUR2zn8vSMdcK7Af3kxuXxx8vseAV4Yubru1eZmlewAVb1/tjCXSUCSDww4Ajl0+G4wiPZ0vUw7/dLZgJarSJ3C5WtGUjxpciSF4p5ws/IlnW6jkastqtJwCAtTlwutS0e3unjYwdG8gwoGni3u2y1pUfS3UPR2xOBkX8= Received: by 161.129.204.104 with SMTP id 6mr1226756nzx; Wed, 13 Jul 2005 12:14:32 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Wed, 13 Jul 2005 12:14:32 -0700 (PDT) Message-ID: <[email protected]> Date: Thu, 14 Jul 2005 00:44:32 +0530 From: Mukul Gandhi <[email protected]> Reply-To: Mukul Gandhi <[email protected]> To: Henry Zongaro <[email protected]> Subject: Re: WSAD - Getting to know Xalan-J version Cc: [email protected] In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thank you for reply. I'll check it.. In my WSAD installation, there is xalan.jar at location E:\Program Files\IBM\WebSphere Studio\runtimes\base_v5\lib. So Xalan is bundled with WSAD. It seem to be hooked to JAXP internally. But how? Is there some IBM JRE configuration file somewhere? I also have another xalan.jar(for Xalan-j 2.6.0) in CLASSPATH which is the latest distributable from Apache's site http://xml.apache.org. I am thinking how can I use both Xalans to work simultaneously on my PC. Any ideas please? Regards, Mukul On 7/13/05, Henry Zongaro <[email protected]> wrote: > Hi, Mukul. >=20 > Mukul Gandhi <[email protected]> wrote on 2005-07-13 07:21:52 AM: > > Sorry if this question is off-topic. I am developing a JAXP(using TrAX > > API) application in WSAD 5.1.2. I have actually written a Servlet > > which does XSLT transformation using TrAX API. I am successfully > > getting the transformation result on the browser. > > > > I believe IBM JRE and Xalan-J is being used behind the scenes. I am > > interested to know which version of Xalan-J is being used. How can I > > find this information? >=20 > You can try invoking the org.apache.xalan.Version class. If it's a > copy of Xalan-J that's included with the IBM JRE, the name will be XSLT4J= . > The version number of XSLT4J has a rough correspondence with that of > Xalan-J, but the two are not entirely identical. >=20 > Thanks, >=20 > Henry > ------------------------------------------------------------------ > Henry Zongaro Xalan development > IBM SWS Toronto Lab T/L 969-6044; Phone 337-454-8489 > mailto:[email protected] >=20 > From [email protected] Wed Jul 13 19:25:45 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12844 invoked from network); 13 Jul 2005 19:25:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Jul 2005 19:25:45 -0000 Received: (qmail 79293 invoked by uid 500); 13 Jul 2005 19:25:43 -0000 Delivered-To: [email protected] Received: (qmail 79283 invoked by uid 500); 13 Jul 2005 19:25:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xalan-j-users.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 79270 invoked by uid 99); 13 Jul 2005 19:25:43 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2005 12:25:43 -0700 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_HELO_FAIL X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO e6.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2005 12:25:39 -0700 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [161.129.204.104]) by e6.ny.us.ibm.com (8.12.11/8.12.11) with ESMTP id j6DJPcjr026646 for <[email protected]>; Wed, 13 Jul 2005 15:25:38 -0400 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [161.129.204.104]) by d01relay04.pok.ibm.com (8.12.10/NCO/VERS6.7) with ESMTP id j6DJPcev206954 for <[email protected]>; Wed, 13 Jul 2005 15:25:38 -0400 Received: from d01av03.pok.ibm.com (loopback [161.129.204.104]) by d01av03.pok.ibm.com (8.12.11/8.13.3) with ESMTP id j6DJPbED016447 for <[email protected]>; Wed, 13 Jul 2005 15:25:37 -0400 Received: from d25ml03.torolab.ibm.com (d25ml03.torolab.ibm.com [161.129.204.104]) by d01av03.pok.ibm.com (8.12.11/8.12.11) with ESMTP id j6DJPbbK016282 for <[email protected]>; Wed, 13 Jul 2005 15:25:37 -0400 In-Reply-To: <[email protected]> Subject: Re: WSAD - Getting to know Xalan-J version To: Mukul Gandhi <[email protected]> Cc: Henry Zongaro <[email protected]>, [email protected] X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003 Message-ID: <[email protected]> From: Yash Talwar <[email protected]> Date: Wed, 13 Jul 2005 15:25:31 -0400 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 6.5.4|March 27, 2005) at 07/13/2005 15:25:37 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Mukul, In WSAD 5.1.2, when you start WebSphere Test Environment for base_v5 (WTE 5), another jvm is started for WTE. WebSphere 5 starts in this jvm and load the jar files that are located in lib directory. Then, you publish the servlet application on WTE and invoke the servlet. When servlet is invoked, JVM finds the xalan specific classes with libraries that are loaded for WTE. You can pick up your own copy of xalan.jar in the classpath. However, this information is in scope of usage of WebSphere and not xalan. For this information, please have a look at WAS Info center for version 5. I bellieve there are properties such as PARENT_FIRST / PARENT_LAST in WebSphere that you can set in order to pick up your own copy of xalan.jar before WTE libraries are picked. Even WSAD help section should have this information. I hope this helps! Thanks! Yash Talwar XSLT Development / Xalan IBM Toronto Lab EMail: [email protected] Phone #: 337-454-8489 Mukul Gandhi <gandhi.mukul@gma il.com> To Henry Zongaro/Toronto/IBM@IBMCA 07/13/2005 03:14 cc PM [email protected] Subject Re: WSAD - Getting to know Xalan-J Please respond to version Mukul Gandhi Thank you for reply. I'll check it.. In my WSAD installation, there is xalan.jar at location E:\Program Files\IBM\WebSphere Studio\runtimes\base_v5\lib. So Xalan is bundled with WSAD. It seem to be hooked to JAXP internally. But how? Is there some IBM JRE configuration file somewhere? I also have another xalan.jar(for Xalan-j 2.6.0) in CLASSPATH which is the latest distributable from Apache's site http://xml.apache.org. I am thinking how can I use both Xalans to work simultaneously on my PC. Any ideas please? Regards, Mukul On 7/13/05, Henry Zongaro <[email protected]> wrote: > Hi, Mukul. > > Mukul Gandhi <[email protected]> wrote on 2005-07-13 07:21:52 AM: > > Sorry if this question is off-topic. I am developing a JAXP(using TrAX > > API) application in WSAD 5.1.2. I have actually written a Servlet > > which does XSLT transformation using TrAX API. I am successfully > > getting the transformation result on the browser. > > > > I believe IBM JRE and Xalan-J is being used behind the scenes. I am > > interested to know which version of Xalan-J is being used. How can I > > find this information? > > You can try invoking the org.apache.xalan.Version class. If it's a > copy of Xalan-J that's included with the IBM JRE, the name will be XSLT4J. > The version number of XSLT4J has a rough correspondence with that of > Xalan-J, but the two are not entirely identical. > > Thanks, > > Henry > ------------------------------------------------------------------ > Henry Zongaro Xalan development > IBM SWS Toronto Lab T/L 969-6044; Phone 337-454-8489 > mailto:[email protected] > > From [email protected] Thu Jul 14 03:37:26 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69707 invoked from network); 14 Jul 2005 03:37:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jul 2005 03:37:26 -0000 Received: (qmail 85725 invoked by uid 500); 14 Jul 2005 03:37:24 -0000 Delivered-To: [email protected] Received: (qmail 85710 invoked by uid 500); 14 Jul 2005 03:37:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xalan-j-users.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 85697 invoked by uid 99); 14 Jul 2005 03:37:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2005 20:37:23 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO zproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2005 20:37:20 -0700 Received: by zproxy.gmail.com with SMTP id s18so175685nze for <[email protected]>; Wed, 13 Jul 2005 20:37:20 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sUGmr/6dPX+kX14B7gl0lb3RWW+PBttq4ce926e32+cAGSawEVYLB3wsXmjJ6drN2+WviJem3JfwKNOjI/hehJSTB7lmOj/26Yxc2adk+mvImzm+fafl3S7zdSDbgbRl1zzy4nQ+BmdDbBmbTUOdbcDMXwr4d9aHS5+o7xbwaUI= Received: by 161.129.204.104 with SMTP id 13mr11527nzs; Wed, 13 Jul 2005 20:37:20 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Wed, 13 Jul 2005 20:37:20 -0700 (PDT) Message-ID: <[email protected]> Date: Thu, 14 Jul 2005 09:07:20 +0530 From: Mukul Gandhi <[email protected]> Reply-To: Mukul Gandhi <[email protected]> To: Yash Talwar <[email protected]> Subject: Re: WSAD - Getting to know Xalan-J version Cc: Henry Zongaro <[email protected]>, [email protected] In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks for the ideas.. I'll check with my installation. Regards, Mukul On 7/14/05, Yash Talwar <[email protected]> wrote: > Hi Mukul, > In WSAD 5.1.2, when you start WebSphere Test Environment for base_v5 (WTE > 5), another jvm is started for WTE. WebSphere 5 starts in this jvm and lo= ad > the jar files that are located in lib directory. > Then, you publish the servlet application on WTE and invoke the servlet. > When servlet is invoked, JVM finds the xalan specific classes with > libraries that are loaded for WTE. >=20 > You can pick up your own copy of xalan.jar in the classpath. However, th= is > information is in scope of usage of WebSphere and not xalan. For this > information, please have a look at WAS Info center for version 5. I > bellieve there are properties such as PARENT_FIRST / PARENT_LAST in > WebSphere that you can set in order to pick up your own copy of xalan.jar > before WTE libraries are picked. Even WSAD help section should have this > information. >=20 > I hope this helps! > Thanks! >=20 > Yash Talwar > XSLT Development / Xalan > IBM Toronto Lab > EMail: [email protected] > Phone #: 337-454-8489 >=20 >=20 >=20 > Mukul Gandhi > <gandhi.mukul@gma > il.com> To > Henry Zongaro/Toronto/IBM@IBMCA > 07/13/2005 03:14 cc > PM [email protected] > Subject > Re: WSAD - Getting to know Xalan-J > Please respond to version > Mukul Gandhi >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 > Thank you for reply. I'll check it.. In my WSAD installation, there is > xalan.jar at location E:\Program Files\IBM\WebSphere > Studio\runtimes\base_v5\lib. So Xalan is bundled with WSAD. It seem to > be hooked to JAXP internally. But how? Is there some IBM JRE > configuration file somewhere? I also have another xalan.jar(for > Xalan-j 2.6.0) in CLASSPATH which is the latest distributable from > Apache's site http://xml.apache.org. >=20 > I am thinking how can I use both Xalans to work simultaneously on my > PC. Any ideas please? >=20 > Regards, > Mukul >=20 > On 7/13/05, Henry Zongaro <[email protected]> wrote: > > Hi, Mukul. > > > > Mukul Gandhi <[email protected]> wrote on 2005-07-13 07:21:52 AM: > > > Sorry if this question is off-topic. I am developing a JAXP(using TrA= X > > > API) application in WSAD 5.1.2. I have actually written a Servlet > > > which does XSLT transformation using TrAX API. I am successfully > > > getting the transformation result on the browser. > > > > > > I believe IBM JRE and Xalan-J is being used behind the scenes. I am > > > interested to know which version of Xalan-J is being used. How can I > > > find this information? > > > > You can try invoking the org.apache.xalan.Version class. If it's a > > copy of Xalan-J that's included with the IBM JRE, the name will be > XSLT4J. > > The version number of XSLT4J has a rough correspondence with that of > > Xalan-J, but the two are not entirely identical. > > > > Thanks, > > > > Henry > > ------------------------------------------------------------------ > > Henry Zongaro Xalan development > > IBM SWS Toronto Lab T/L 969-6044; Phone 337-454-8489 > > mailto:[email protected] > > > > >=20 >=20 > From [email protected] Tue Jul 19 20:20:31 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6226 invoked from network); 19 Jul 2005 20:20:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Jul 2005 20:20:31 -0000 Received: (qmail 80278 invoked by uid 500); 19 Jul 2005 20:20:29 -0000 Delivered-To: [email protected] Received: (qmail 80251 invoked by uid 500); 19 Jul 2005 20:20:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xalan-j-users.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 80238 invoked by uid 99); 19 Jul 2005 20:20:28 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jul 2005 13:20:28 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO mx02.lexis-nexis.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jul 2005 13:20:23 -0700 Received: from mailgate2.lexis-nexis.com (mailgate2.lexis-nexis.com [161.129.204.104]) by mx02.lexis-nexis.com (8.12.11/8.12.11) with ESMTP id j6JKCcvt014889; Tue, 19 Jul 2005 16:12:38 -0400 Received: from lnxdayexch07.lexis-nexis.com (lnxdayexch07.lexis-nexis.com [161.129.204.104]) by mailgate2.lexis-nexis.com (8.12.11/8.12.9) with ESMTP id j6JKJB5e000422; Tue, 19 Jul 2005 16:19:11 -0400 Received: by lnxdayexch07.lexis-nexis.com with Internet Mail Service (5.5.2657.72) id <KP9A9X5M>; Tue, 19 Jul 2005 16:20:22 -0400 Message-ID: <[email protected]> From: "Cole, Kristopher A. (LNG-DAY)" <[email protected]> To: "'[email protected]'" <[email protected]>, [email protected] Subject: Forcing namespaces to root element of output XML Date: Tue, 19 Jul 2005 16:20:19 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain X-Scanned-By: MIMEDefang 2.51 on 161.129.204.104 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello, I have a system that runs XSL transformations on various flavors of input XML. I have well over 1000 XSLs. I'd like to update to Java 1.5, Xalan 2.5.2 and Xerces 2.6.2, but I've run into a problem with my namespaces. Under my old config (Java 1.4.1, Xalan 2.4.1 and Xerces 2.2.1) all namespaces in the output XML were located in the root element, and other processes were expecting them there. With the new config namespaces are all in their local elements. I've noticed that I can force this if I create my root element without the <xsl:element> function, but is there another way to force this? Preferably without having to edit all of my XSLs. Thank you! Kristopher Cole From [email protected] Wed Jul 20 08:57:09 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88719 invoked from network); 20 Jul 2005 08:57:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Jul 2005 08:57:09 -0000 Received: (qmail 19447 invoked by uid 500); 20 Jul 2005 08:57:06 -0000 Delivered-To: [email protected] Received: (qmail 19430 invoked by uid 500); 20 Jul 2005 08:57:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xalan-j-users.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 19413 invoked by uid 99); 20 Jul 2005 08:57:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jul 2005 01:57:06 -0700 X-ASF-Spam-Status: No, hits=1.7 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,MSGID_FROM_MTA_HEADER,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO hotmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jul 2005 01:57:01 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 20 Jul 2005 01:57:04 -0700 Message-ID: <[email protected]> Received: from 161.129.204.104 by BAY102-DAV10.phx.gbl with DAV; Wed, 20 Jul 2005 08:57:04 +0000 X-Originating-IP: [161.129.204.104] X-Originating-Email: [[email protected]] X-Sender: [email protected] Message-ID: <[email protected]> Date: Wed, 20 Jul 2005 09:58:32 +0100 From: Chris Bowditch <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: xsl:comment not working in 2.6.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 20 Jul 2005 08:57:04.0268 (UTC) FILETIME=[FFE994C0:01C58D08] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I am just posting a note to the users list so there is a record in the archive. I searched the archive and found this question asked but never answered effectively. The problem: xsl:comment does not generate a comment in the output in the following circumstances: 1) Performing a SAX based transformation to HTML 2) A destination systemId and publicId have been specified. The cause of this problem is a bug which has been fixed in CVS: http://issues.apache.org/jira/browse/XALANJ-1966 I can verify that the patch attached to the bug fixes the issue. This brings me onto my next question. I noticed that there hasnt been a build of Xalan-J since Feb 2004. Surely a 2.6.1 is due by now? It would fix this issue and several others that have been marked as resolved in JIRA. Is there a plan to do a release any time soon? Thanks, Chris From [email protected] Wed Jul 20 13:16:10 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30132 invoked from network); 20 Jul 2005 13:16:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Jul 2005 13:16:10 -0000 Received: (qmail 59995 invoked by uid 500); 20 Jul 2005 13:16:04 -0000 Delivered-To: [email protected] Received: (qmail 59858 invoked by uid 500); 20 Jul 2005 13:16:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xalan-j-users.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 59804 invoked by uid 99); 20 Jul 2005 13:16:03 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jul 2005 06:16:03 -0700 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_HELO_FAIL,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e2.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jul 2005 06:15:57 -0700 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [161.129.204.104]) by e2.ny.us.ibm.com (8.12.11/8.12.11) with ESMTP id j6KDFxev015926 for <[email protected]>; Wed, 20 Jul 2005 09:15:59 -0400 Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [161.129.204.104]) by d01relay02.pok.ibm.com (8.12.10/NCO/VERS6.7) with ESMTP id j6KDFxri048854 for <[email protected]>; Wed, 20 Jul 2005 09:15:59 -0400 Received: from d01av02.pok.ibm.com (loopback [161.129.204.104]) by d01av02.pok.ibm.com (8.12.11/8.13.3) with ESMTP id j6KDFxLt017884 for <[email protected]>; Wed, 20 Jul 2005 09:15:59 -0400 Received: from [161.129.204.104] (d01ml605.pok.ibm.com [161.129.204.104]) by d01av02.pok.ibm.com (8.12.11/8.12.11) with ESMTP id j6KDFsPg017604; Wed, 20 Jul 2005 09:15:57 -0400 In-Reply-To: <[email protected]> Subject: Re: Forcing namespaces to root element of output XML To: "Cole, Kristopher A. (LNG-DAY)" <[email protected]> Cc: "'[email protected]'" <[email protected]>, [email protected] X-Mailer: Lotus Notes Release 6.0 September 26, 2002 Message-ID: <[email protected]> From: Joseph Kesselman <[email protected]> Date: Wed, 20 Jul 2005 09:15:08 -0400 X-MIMETrack: Serialize by Router on D01ML605/01/M/IBM(Build V70_M6_06302005 Beta 4|June 30, 2005) at 07/20/2005 09:15:57 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Xalan's serializer will normally not re-assert namespace declarations which are already in scope -- so the simplest fix may be to manually generate those declarations on your root element, which should then suppress the lower-level ones. Unfortunately XSLT 1.0 doesn't have anything like an <xsl:namespace> directive. The standard workarounds are to generate unnecessary attributes in the desired namespaces to force their declaration (not acceptable for many users), or to build a node in a Result Tree Fragment which uses the namespace, then xsl:copy the namespace node off that RTF to put it where you want it (obscure and a bit ugly, but pretty much a standardized solution). XSLT 2.0 has promised to make this easier. ______________________________________ Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more. "The world changed profoundly and unpredictably the day Tim Berners Lee got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filk From [email protected] Thu Jul 21 14:41:20 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 23185 invoked from network); 21 Jul 2005 14:41:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Jul 2005 14:41:19 -0000 Received: (qmail 59625 invoked by uid 500); 21 Jul 2005 14:41:12 -0000 Delivered-To: [email protected] Received: (qmail 59531 invoked by uid 500); 21 Jul 2005 14:41:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xalan-j-users.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 59464 invoked by uid 99); 21 Jul 2005 14:41:11 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jul 2005 07:41:11 -0700 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_HELO_FAIL X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO e5.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jul 2005 07:41:05 -0700 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [161.129.204.104]) by e5.ny.us.ibm.com (8.12.11/8.12.11) with ESMTP id j6LEf9nX020337 for <[email protected]>; Thu, 21 Jul 2005 10:41:09 -0400 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [161.129.204.104]) by d01relay02.pok.ibm.com (8.12.10/NCO/VERS6.7) with ESMTP id j6LEf8WU262048 for <[email protected]>; Thu, 21 Jul 2005 10:41:08 -0400 Received: from d01av03.pok.ibm.com (loopback [161.129.204.104]) by d01av03.pok.ibm.com (8.12.11/8.13.3) with ESMTP id j6LEf3aL010098 for <[email protected]>; Thu, 21 Jul 2005 10:41:03 -0400 Received: from d25ml03.torolab.ibm.com (d25ml03.torolab.ibm.com [161.129.204.104]) by d01av03.pok.ibm.com (8.12.11/8.12.11) with ESMTP id j6LEf360009877; Thu, 21 Jul 2005 10:41:03 -0400 In-Reply-To: <[email protected]> To: Chris Bowditch <[email protected]> Cc: [email protected] MIME-Version: 1.0 Subject: Re: xsl:comment not working in 2.6.0 X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003 From: Henry Zongaro <[email protected]> Message-ID: <[email protected]> Date: Thu, 21 Jul 2005 10:40:57 -0400 X-MIMETrack: Serialize by Router on D25ML03/25/M/IBM(Release 6.5.4|March 27, 2005) at 07/21/2005 10:41:03, Serialize complete at 07/21/2005 10:41:03 Content-Type: text/plain; charset="US-ASCII" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, Chris. Chris Bowditch <[email protected]> wrote on 2005-07-20 04:58:32 AM: > The cause of this problem is a bug which has been fixed in CVS: > > http://issues.apache.org/jira/browse/XALANJ-1966 > > I can verify that the patch attached to the bug fixes the issue. This > brings me onto my next question. I noticed that there hasnt been a build > of Xalan-J since Feb 2004. Surely a 2.6.1 is due by now? It would fix > this issue and several others that have been marked as resolved in JIRA. > Is there a plan to do a release any time soon? Yes, the long-overdue Xalan-J 2.7.0 release is planned for early August. See [1,2]. Sorry for the inconvenience of a long wait. Thank you for your patience. Thanks, Henry [1] http://mail-archives.apache.org/mod_mbox/xml-xalan-j-users/[email protected]%3e [2] http://mail-archives.apache.org/mod_mbox/xml-xalan-j-users/[email protected]%3e ------------------------------------------------------------------ Henry Zongaro Xalan development IBM SWS Toronto Lab T/L 969-6044; Phone 337-454-8489 mailto:[email protected] From [email protected] Mon Jul 25 18:16:58 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 19198 invoked from network); 25 Jul 2005 18:16:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Jul 2005 18:16:58 -0000 Received: (qmail 38999 invoked by uid 500); 25 Jul 2005 18:16:55 -0000 Delivered-To: [email protected] Received: (qmail 38984 invoked by uid 500); 25 Jul 2005 18:16:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xalan-j-users.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 38971 invoked by uid 99); 25 Jul 2005 18:16:54 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jul 2005 11:16:54 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=TO_ADDRESS_EQ_REAL X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO dogfood.dsystems.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jul 2005 11:16:45 -0700 Received: from [161.129.204.104] ([161.129.204.104]) by dogfood.dsystems.net (Post.Office MTA v3.5.2 release 221 ID# 0-71134U1000L100S0V35) with ESMTP id net for <[email protected]>; Mon, 25 Jul 2005 14:16:48 -0400 Message-ID: <[email protected]> Date: Mon, 25 Jul 2005 14:22:09 -0400 From: Douglas Lochart <[email protected]> MIME-Version: 1.0 To: "[email protected]" <[email protected]> Subject: xml doc structure with xslt support Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N All, Please allow me this indulgence in a slightly off topic post. We need to find a document structure (schema/dtd) (an existing standard or one commonly used) to define a document. Our app produces from 4-30 pages of material that will need to be rendered in html, PDF and possibly others. I was wondering if there was a schema/dtd that had a good document structure, hopefully having an xsl template to generate tables from the dtd/schema and also had supporting tools (XSLT or others) that could render a document specified by this schema in multiple forms (html, PDF, etc). I would prefer open source solutions but all options are open. We could write our own but why re-invent the wheel. I am hoping that users of this list probably have encountered what I am asking for. Any help is greatly appreciated! Thanks in Advance, Doug Lochart Cape Computing Corp.
From [email protected] Wed Dec 23 13:32:59 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95870 invoked from network); 23 Dec 2009 13:32:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Dec 2009 13:32:59 -0000 Received: (qmail 20521 invoked by uid 500); 23 Dec 2009 13:32:59 -0000 Delivered-To: [email protected] Received: (qmail 20478 invoked by uid 500); 23 Dec 2009 13:32:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Cactus Users List" <cactus-user.jakarta.apache.org> Reply-To: "Cactus Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 20468 invoked by uid 99); 23 Dec 2009 13:32:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Dec 2009 13:32:57 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-pw0-f54.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Dec 2009 13:32:47 +0000 Received: by pwi14 with SMTP id 14so4976120pwi.13 for <[email protected]>; Wed, 23 Dec 2009 05:32:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=rp32JIYQQ8juMJcQcALiNqEuk4Qre5QlIOIt8zZB7iY=; b=UQJlDPCfOg5e3vm4EUQg+NOkgl7uDuD8u2JUWiGLJIM0j/CUAsa9EkUkCaDhkv+fFO Rwb/pOZnJNYkmKsWIVKRlXZATkNjE7GUBD2uNOBWleF7kcuE+b0+j0E9X44ZvZZZmJ/Z aSWA7a19axYQnUdfWfnbFHqT5gwAsrEQ0OMXo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=En0UAMseuXIVW4jexzsKSqLlnC+VzXKyIRo74SMdizBGo0kn+C8AQZuQRcHoFyw38j efv3SOcviSVzfMfH908AwYrCRqsP3uVvQo37EsUJj8UOGrRQGYf3YXT/H9nadNlANgsD iCc2MpAfXSfpmyPjW2b5kr3CK+HUW2y4sRySY= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id 16mr1462767wak.20.1261575146159; Wed, 23 Dec 2009 05:32:26 -0800 (PST) From: ricardo zanini fernandes <[email protected]> Date: Wed, 23 Dec 2009 11:32:06 -0200 Message-ID: <[email protected]> Subject: FilterRedirector does not initialize sessions. - IS THIS A BUG ?? [fixed?] To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi guys! About this thread: http://[email protected]/msg05948.html I know it's very old (and sorry for bringing this in xmas eve), but the implementations on FilterRedirector are already done? I've got a similar problem discussed in the thread above. Although I implement the "setAutomaticSession(true)" in the beginXXX methods I can't retrieve or check if the session is still valid. TestCase: ------------------ public void beginUserPwdExpired(WebRequest theRequest){ theRequest.setAutomaticSession(true); } public void testUserPwdExpired() throws IOException, ServletException{ request.setRemoteUser(USER_PWD_EXPIRED); aisFilter.doFilter(request, response, filterChain); } public void endUserPwdExpired(WebResponse theResponse){ assertEquals(302, theResponse.getStatusCode()); } ------------- Filter: ---------------- protected boolean isSessionExpired(HttpServletRequest request){ if(log.isDebugEnabled()) log.debug("(...."); boolean sessionExpired = (request.getRequestedSessionId() == null) || !request.isRequestedSessionIdValid(); if(sessionExpired) log.warn("(...)"); return sessionExpired; } ---------------- The session ID return is always a NULL object. Maybe I'm missing something here. I've searched at JIRA and the Cactus documentation and found nothing about it. Thanks in advance! -- Ricardo Zanini Fernandes --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
From [email protected] Tue Sep 13 06:33:43 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84385 invoked from network); 13 Sep 2005 06:33:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Sep 2005 06:33:43 -0000 Received: (qmail 38245 invoked by uid 500); 13 Sep 2005 06:33:42 -0000 Delivered-To: [email protected] Received: (qmail 38233 invoked by uid 500); 13 Sep 2005 06:33:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general-cvs.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 38220 invoked by uid 500); 13 Sep 2005 06:33:42 -0000 Delivered-To: [email protected] Received: (qmail 38217 invoked by uid 99); 13 Sep 2005 06:33:42 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 12 Sep 2005 23:33:41 -0700 Received: (qmail 84378 invoked by uid 1389); 13 Sep 2005 06:33:41 -0000 Date: 13 Sep 2005 06:33:41 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: xml-site/targets/commons/skin/images README.txt add.jpg built-with-forrest-button.png corner-imports.svg.xslt dc.svg.xslt error.png external-link.gif fix.jpg forrest-credit-logo.png hack.jpg header_white_line.gif info.png instruction_arrow.png poddoc.png poddoc.svg.xslt rc-b-l-15-1body-2menu-3menu.png rc-b-r-15-1body-2menu-3menu.png rc-b-r-5-1header-2tab-selected-3tab-selected.png rc-t-l-5-1header-2searchbox-3searchbox.png rc-t-l-5-1header-2tab-selected-3tab-selected.png rc-t-l-5-1header-2tab-unselected-3tab-unselected.png rc-t-r-15-1body-2menu-3menu.png rc-t-r-5-1header-2searchbox-3searchbox.png rc-t-r-5-1header-2tab-selected-3tab-selected.png rc-t-r-5-1header-2tab-unselected-3tab-unselected.png rc.svg.xslt remove.jpg rss.png success.png txtdoc.png txtdoc.svg.xslt update.jpg warning.png chapter.gif chapter_open.gif current.gif label.gif page.gif pdfdoc.gif printer.gif xmldoc.gif doc.gif favicon.ico menu-left.gif menu-right.gif search-left.gif search-right.gif singlepage.gif tab-left.gif tab-right.gif tabSel-left.gif tabSel-right.gif X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N crossley 2005/09/12 23:33:41 Modified: targets/commons changes.html changes.pdf changes.rss faq.html faq.pdf history.html history.pdf howto-forrest.html howto-forrest.pdf index.html index.pdf licenses.html licenses.pdf todo.html todo.pdf targets/commons/components index.html index.pdf targets/commons/components/external index.html index.pdf targets/commons/components/resolver CatalogManager.properties index.html index.pdf resolver-article.html resolver-release-notes.html tips.html tips.pdf targets/commons/components/which index.html index.pdf targets/commons/skin breadcrumbs-optimized.js breadcrumbs.js targets/commons/skin/images chapter.gif chapter_open.gif current.gif label.gif page.gif pdfdoc.gif printer.gif xmldoc.gif Added: targets/commons linkmap.html linkmap.pdf targets/commons/components/resolver LICENSE.resolver.txt targets/commons/images instruction_arrow.png targets/commons/skin CommonMessages_de.xml CommonMessages_en_US.xml CommonMessages_es.xml CommonMessages_fr.xml basic.css fontsize.js forrest.css.xslt getBlank.js getMenu.js menu.js note.txt print.css profile.css profile.css.xslt screen.css skinconf.xsl targets/commons/skin/images README.txt add.jpg built-with-forrest-button.png corner-imports.svg.xslt dc.svg.xslt error.png external-link.gif fix.jpg forrest-credit-logo.png hack.jpg header_white_line.gif info.png instruction_arrow.png poddoc.png poddoc.svg.xslt rc-b-l-15-1body-2menu-3menu.png rc-b-r-15-1body-2menu-3menu.png rc-b-r-5-1header-2tab-selected-3tab-selected.png rc-t-l-5-1header-2searchbox-3searchbox.png rc-t-l-5-1header-2tab-selected-3tab-selected.png rc-t-l-5-1header-2tab-unselected-3tab-unselected.png rc-t-r-15-1body-2menu-3menu.png rc-t-r-5-1header-2searchbox-3searchbox.png rc-t-r-5-1header-2tab-selected-3tab-selected.png rc-t-r-5-1header-2tab-unselected-3tab-unselected.png rc.svg.xslt remove.jpg rss.png success.png txtdoc.png txtdoc.svg.xslt update.jpg warning.png Removed: targets/commons/components LICENSE.resolver.txt targets/commons/skin page.css targets/commons/skin/images doc.gif favicon.ico menu-left.gif menu-right.gif search-left.gif search-right.gif singlepage.gif tab-left.gif tab-right.gif tabSel-left.gif tabSel-right.gif Log: Update whole website. Revision Changes Path 1.6 +311 -351 xml-site/targets/commons/changes.html http://cvs.apache.org/viewcvs/xml-site/targets/commons/changes.html.diff?r1=1.5&r2=1.6 1.5 +501 -148 xml-site/targets/commons/changes.pdf <<Binary file>> 1.4 +19 -20 xml-site/targets/commons/changes.rss http://cvs.apache.org/viewcvs/xml-site/targets/commons/changes.rss.diff?r1=1.3&r2=1.4 1.4 +220 -291 xml-site/targets/commons/faq.html http://cvs.apache.org/viewcvs/xml-site/targets/commons/faq.html.diff?r1=1.3&r2=1.4 1.2 +94 -75 xml-site/targets/commons/faq.pdf <<Binary file>> 1.5 +209 -277 xml-site/targets/commons/history.html http://cvs.apache.org/viewcvs/xml-site/targets/commons/history.html.diff?r1=1.4&r2=1.5 1.3 +115 -85 xml-site/targets/commons/history.pdf <<Binary file>> 1.5 +234 -357 xml-site/targets/commons/howto-forrest.html http://cvs.apache.org/viewcvs/xml-site/targets/commons/howto-forrest.html.diff?r1=1.4&r2=1.5 1.5 +158 -157 xml-site/targets/commons/howto-forrest.pdf <<Binary file>> 1.9 +256 -324 xml-site/targets/commons/index.html http://cvs.apache.org/viewcvs/xml-site/targets/commons/index.html.diff?r1=1.8&r2=1.9 1.8 +424 -304 xml-site/targets/commons/index.pdf <<Binary file>> 1.7 +206 -277 xml-site/targets/commons/licenses.html http://cvs.apache.org/viewcvs/xml-site/targets/commons/licenses.html.diff?r1=1.6&r2=1.7 1.4 +101 -54 xml-site/targets/commons/licenses.pdf <<Binary file>> 1.5 +209 -280 xml-site/targets/commons/todo.html http://cvs.apache.org/viewcvs/xml-site/targets/commons/todo.html.diff?r1=1.4&r2=1.5 1.4 +158 -129 xml-site/targets/commons/todo.pdf <<Binary file>> 1.1 xml-site/targets/commons/linkmap.html http://cvs.apache.org/viewcvs/xml-site/targets/commons/linkmap.html?rev=1.1 1.1 xml-site/targets/commons/linkmap.pdf <<Binary file>> 1.5 +176 -230 xml-site/targets/commons/components/index.html http://cvs.apache.org/viewcvs/xml-site/targets/commons/components/index.html.diff?r1=1.4&r2=1.5 1.4 +86 -51 xml-site/targets/commons/components/index.pdf <<Binary file>> 1.5 +179 -230 xml-site/targets/commons/components/external/index.html http://cvs.apache.org/viewcvs/xml-site/targets/commons/components/external/index.html.diff?r1=1.4&r2=1.5 1.3 +72 -37 xml-site/targets/commons/components/external/index.pdf <<Binary file>> 1.2 +14 -0 xml-site/targets/commons/components/resolver/CatalogManager.properties http://cvs.apache.org/viewcvs/xml-site/targets/commons/components/resolver/CatalogManager.properties.diff?r1=1.1&r2=1.2 1.5 +202 -231 xml-site/targets/commons/components/resolver/index.html http://cvs.apache.org/viewcvs/xml-site/targets/commons/components/resolver/index.html.diff?r1=1.4&r2=1.5 1.3 +152 -50 xml-site/targets/commons/components/resolver/index.pdf <<Binary file>> 1.3 +398 -290 xml-site/targets/commons/components/resolver/resolver-article.html http://cvs.apache.org/viewcvs/xml-site/targets/commons/components/resolver/resolver-article.html.diff?r1=1.2&r2=1.3 1.7 +43 -23 xml-site/targets/commons/components/resolver/resolver-release-notes.html http://cvs.apache.org/viewcvs/xml-site/targets/commons/components/resolver/resolver-release-notes.html.diff?r1=1.6&r2=1.7 1.5 +208 -238 xml-site/targets/commons/components/resolver/tips.html http://cvs.apache.org/viewcvs/xml-site/targets/commons/components/resolver/tips.html.diff?r1=1.4&r2=1.5 1.4 +219 -93 xml-site/targets/commons/components/resolver/tips.pdf <<Binary file>> 1.1 xml-site/targets/commons/components/resolver/LICENSE.resolver.txt http://cvs.apache.org/viewcvs/xml-site/targets/commons/components/resolver/LICENSE.resolver.txt?rev=1.1 1.5 +178 -229 xml-site/targets/commons/components/which/index.html http://cvs.apache.org/viewcvs/xml-site/targets/commons/components/which/index.html.diff?r1=1.4&r2=1.5 1.3 +74 -39 xml-site/targets/commons/components/which/index.pdf <<Binary file>> 1.1 xml-site/targets/commons/images/instruction_arrow.png <<Binary file>> 1.2 +26 -3 xml-site/targets/commons/skin/breadcrumbs-optimized.js http://cvs.apache.org/viewcvs/xml-site/targets/commons/skin/breadcrumbs-optimized.js.diff?r1=1.1&r2=1.2 1.3 +30 -60 xml-site/targets/commons/skin/breadcrumbs.js http://cvs.apache.org/viewcvs/xml-site/targets/commons/skin/breadcrumbs.js.diff?r1=1.2&r2=1.3 1.1 xml-site/targets/commons/skin/CommonMessages_de.xml http://cvs.apache.org/viewcvs/xml-site/targets/commons/skin/CommonMessages_de.xml?rev=1.1 1.1 xml-site/targets/commons/skin/CommonMessages_en_US.xml http://cvs.apache.org/viewcvs/xml-site/targets/commons/skin/CommonMessages_en_US.xml?rev=1.1 1.1 xml-site/targets/commons/skin/CommonMessages_es.xml http://cvs.apache.org/viewcvs/xml-site/targets/commons/skin/CommonMessages_es.xml?rev=1.1 1.1 xml-site/targets/commons/skin/CommonMessages_fr.xml http://cvs.apache.org/viewcvs/xml-site/targets/commons/skin/CommonMessages_fr.xml?rev=1.1 1.1 xml-site/targets/commons/skin/basic.css http://cvs.apache.org/viewcvs/xml-site/targets/commons/skin/basic.css?rev=1.1 1.1 xml-site/targets/commons/skin/fontsize.js http://cvs.apache.org/viewcvs/xml-site/targets/commons/skin/fontsize.js?rev=1.1 1.1 xml-site/targets/commons/skin/forrest.css.xslt http://cvs.apache.org/viewcvs/xml-site/targets/commons/skin/forrest.css.xslt?rev=1.1 1.1 xml-site/targets/commons/skin/getBlank.js http://cvs.apache.org/viewcvs/xml-site/targets/commons/skin/getBlank.js?rev=1.1 1.1 xml-site/targets/commons/skin/getMenu.js http://cvs.apache.org/viewcvs/xml-site/targets/commons/skin/getMenu.js?rev=1.1 1.1 xml-site/targets/commons/skin/menu.js http://cvs.apache.org/viewcvs/xml-site/targets/commons/skin/menu.js?rev=1.1 1.1 xml-site/targets/commons/skin/note.txt http://cvs.apache.org/viewcvs/xml-site/targets/commons/skin/note.txt?rev=1.1 1.1 xml-site/targets/commons/skin/print.css http://cvs.apache.org/viewcvs/xml-site/targets/commons/skin/print.css?rev=1.1 1.1 xml-site/targets/commons/skin/profile.css http://cvs.apache.org/viewcvs/xml-site/targets/commons/skin/profile.css?rev=1.1 1.1 xml-site/targets/commons/skin/profile.css.xslt http://cvs.apache.org/viewcvs/xml-site/targets/commons/skin/profile.css.xslt?rev=1.1 1.1 xml-site/targets/commons/skin/screen.css http://cvs.apache.org/viewcvs/xml-site/targets/commons/skin/screen.css?rev=1.1 1.1 xml-site/targets/commons/skin/skinconf.xsl http://cvs.apache.org/viewcvs/xml-site/targets/commons/skin/skinconf.xsl?rev=1.1 1.4 +1 -1 xml-site/targets/commons/skin/images/chapter.gif <<Binary file>> 1.4 +2 -1 xml-site/targets/commons/skin/images/chapter_open.gif <<Binary file>> 1.4 +1 -1 xml-site/targets/commons/skin/images/current.gif <<Binary file>> 1.4 +1 -1 xml-site/targets/commons/skin/images/label.gif <<Binary file>> 1.4 +2 -1 xml-site/targets/commons/skin/images/page.gif <<Binary file>> 1.4 +4 -4 xml-site/targets/commons/skin/images/pdfdoc.gif <<Binary file>> 1.4 +5 -4 xml-site/targets/commons/skin/images/printer.gif <<Binary file>> 1.4 +2 -7 xml-site/targets/commons/skin/images/xmldoc.gif <<Binary file>> 1.1 xml-site/targets/commons/skin/images/README.txt http://cvs.apache.org/viewcvs/xml-site/targets/commons/skin/images/README.txt?rev=1.1 1.1 xml-site/targets/commons/skin/images/add.jpg <<Binary file>> 1.1 xml-site/targets/commons/skin/images/built-with-forrest-button.png <<Binary file>> 1.1 xml-site/targets/commons/skin/images/corner-imports.svg.xslt http://cvs.apache.org/viewcvs/xml-site/targets/commons/skin/images/corner-imports.svg.xslt?rev=1.1 1.1 xml-site/targets/commons/skin/images/dc.svg.xslt http://cvs.apache.org/viewcvs/xml-site/targets/commons/skin/images/dc.svg.xslt?rev=1.1 1.1 xml-site/targets/commons/skin/images/error.png <<Binary file>> 1.1 xml-site/targets/commons/skin/images/external-link.gif <<Binary file>> 1.1 xml-site/targets/commons/skin/images/fix.jpg <<Binary file>> 1.1 xml-site/targets/commons/skin/images/forrest-credit-logo.png <<Binary file>> 1.1 xml-site/targets/commons/skin/images/hack.jpg <<Binary file>> 1.1 xml-site/targets/commons/skin/images/header_white_line.gif <<Binary file>> 1.1 xml-site/targets/commons/skin/images/info.png <<Binary file>> 1.1 xml-site/targets/commons/skin/images/instruction_arrow.png <<Binary file>> 1.1 xml-site/targets/commons/skin/images/poddoc.png <<Binary file>> 1.1 xml-site/targets/commons/skin/images/poddoc.svg.xslt http://cvs.apache.org/viewcvs/xml-site/targets/commons/skin/images/poddoc.svg.xslt?rev=1.1 1.1 xml-site/targets/commons/skin/images/rc-b-l-15-1body-2menu-3menu.png <<Binary file>> 1.1 xml-site/targets/commons/skin/images/rc-b-r-15-1body-2menu-3menu.png <<Binary file>> 1.1 xml-site/targets/commons/skin/images/rc-b-r-5-1header-2tab-selected-3tab-selected.png <<Binary file>> 1.1 xml-site/targets/commons/skin/images/rc-t-l-5-1header-2searchbox-3searchbox.png <<Binary file>> 1.1 xml-site/targets/commons/skin/images/rc-t-l-5-1header-2tab-selected-3tab-selected.png <<Binary file>> 1.1 xml-site/targets/commons/skin/images/rc-t-l-5-1header-2tab-unselected-3tab-unselected.png <<Binary file>> 1.1 xml-site/targets/commons/skin/images/rc-t-r-15-1body-2menu-3menu.png <<Binary file>> 1.1 xml-site/targets/commons/skin/images/rc-t-r-5-1header-2searchbox-3searchbox.png <<Binary file>> 1.1 xml-site/targets/commons/skin/images/rc-t-r-5-1header-2tab-selected-3tab-selected.png <<Binary file>> 1.1 xml-site/targets/commons/skin/images/rc-t-r-5-1header-2tab-unselected-3tab-unselected.png <<Binary file>> 1.1 xml-site/targets/commons/skin/images/rc.svg.xslt http://cvs.apache.org/viewcvs/xml-site/targets/commons/skin/images/rc.svg.xslt?rev=1.1 1.1 xml-site/targets/commons/skin/images/remove.jpg <<Binary file>> 1.1 xml-site/targets/commons/skin/images/rss.png <<Binary file>> 1.1 xml-site/targets/commons/skin/images/success.png <<Binary file>> 1.1 xml-site/targets/commons/skin/images/txtdoc.png <<Binary file>> 1.1 xml-site/targets/commons/skin/images/txtdoc.svg.xslt http://cvs.apache.org/viewcvs/xml-site/targets/commons/skin/images/txtdoc.svg.xslt?rev=1.1 1.1 xml-site/targets/commons/skin/images/update.jpg <<Binary file>> 1.1 xml-site/targets/commons/skin/images/warning.png <<Binary file>> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
From [email protected] Sat Aug 01 11:56:02 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52239 invoked from network); 1 Aug 2009 11:56:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Aug 2009 11:56:02 -0000 Received: (qmail 56927 invoked by uid 500); 1 Aug 2009 11:56:05 -0000 Delivered-To: [email protected] Received: (qmail 56860 invoked by uid 500); 1 Aug 2009 11:56:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 56850 invoked by uid 99); 1 Aug 2009 11:56:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Aug 2009 11:56:04 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mx3.pshift.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Aug 2009 11:55:53 +0000 Received: from JAVAGUY1 (unverified [161.129.204.104]) by mx3.pshift.com (Vircom SMTPRS 4.6.741.12) with ESMTP id <[email protected]> for <[email protected]>; Sat, 1 Aug 2009 07:55:26 -0400 X-Modus-BlackList: 161.129.204.104=OK;[email protected]=OK X-Modus-RBL: 161.129.204.104=BlackListed X-Modus-Trusted: 161.129.204.104=NO X-Modus-Audit: FALSE;0;0;0 From: "Gary Larsen" <[email protected]> To: <[email protected]> Subject: Logging of java.net.SocketException (2.1.9) Date: Sat, 1 Aug 2009 07:59:00 -0400 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_01DF_01CA127D.EE568520" X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcoSn3UE6VYhy8E1REOfQwCB9aE39A== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Virus-Checked: Checked by ClamAV on apache.org ------=_NextPart_000_01DF_01CA127D.EE568520 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, If a user clicks a link in the cocoon app and then clicks another link before for first is displayed, an error shows up in the log: ERROR [http-8080-Processor20] sitemap.handled-errors 2009-08-01 07:50:11,484 - Failed to process pipeline at [DynamicError] - file:/C:/work/netvisn-server/webapps/netvisn/site/stylesheets/helper-templat es.xsl:58:-1 . Caused by: java.net.SocketException: Software caused connection abort: socket write error For the user every thing is fine and the second link is displayed. Is there a way to prevent this exception from being logged? TIA, gary ------=_NextPart_000_01DF_01CA127D.EE568520 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"> <o:SmartTagType = namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" name=3D"City"/> <o:SmartTagType = namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" name=3D"place"/> <!--[if !mso]> <style> st1\:*{behavior:url(#default#ieooui) } </style> <![endif]--> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} p.MsoToc1, li.MsoToc1, div.MsoToc1 {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} p.Style2, li.Style2, div.Style2 {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:Arial;} span.EmailStyle19 {mso-style-type:personal-compose; font-family:Arial; color:windowtext;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Hi,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>If a user clicks a link in the cocoon app and then = clicks another link before for first is displayed, an error shows up in the = log:<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D1 = face=3DArial><span style=3D'font-size:8.5pt;font-family:Arial'>ERROR = [http-8080-Processor20] sitemap.handled-errors 2009-08-01 07:50:11,484 - Failed to process = pipeline<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D1 = face=3DArial><span style=3D'font-size:8.5pt;font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at = [DynamicError] - file:/C:/work/netvisn-server/webapps/netvisn/site/stylesheets/helper-temp= lates.xsl:58:-1<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D1 = face=3DArial><span style=3D'font-size:8.5pt;font-family:Arial'>&#8230;<o:p></o:p></span></fo= nt></p> <p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D1 = face=3DArial><span style=3D'font-size:8.5pt;font-family:Arial'>Caused by: = java.net.SocketException: Software caused connection abort: socket write = error<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>For the user every thing is fine and the second link = is displayed.&nbsp; Is there a way to prevent this exception from being = logged?<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>TIA,<o:p></o:p></span></font></p> <p class=3DMsoNormal><st1:City w:st=3D"on"><st1:place w:st=3D"on"><font = size=3D2 face=3DArial><span = style=3D'font-size:10.0pt;font-family:Arial'>gary</span></font></st1:plac= e></st1:City><o:p></o:p></p> </div> </body> </html> ------=_NextPart_000_01DF_01CA127D.EE568520-- From [email protected] Sat Aug 01 22:11:50 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49906 invoked from network); 1 Aug 2009 22:11:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Aug 2009 22:11:50 -0000 Received: (qmail 47794 invoked by uid 500); 1 Aug 2009 22:11:53 -0000 Delivered-To: [email protected] Received: (qmail 47692 invoked by uid 500); 1 Aug 2009 22:11:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 47684 invoked by uid 99); 1 Aug 2009 22:11:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Aug 2009 22:11:52 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail0.tt.com.au) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Aug 2009 22:11:43 +0000 Received: from mail0.tt.com.au (localhost [161.129.204.104]) by postfix.imss70 (Postfix) with ESMTP id 160C91657DA for <[email protected]>; Sun, 2 Aug 2009 08:08:29 +1000 (EST) Received: from convergence.tt.com.au (convergence.tt.com.au [161.129.204.104]) by mail0.tt.com.au (Postfix) with ESMTP id 0B0321657D7 for <[email protected]>; Sun, 2 Aug 2009 08:08:29 +1000 (EST) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from [161.129.204.104] by convergence.tt.com.au (Sun Java(tm) System Messaging Server 7.0-0.04 64bit (built Jun 20 2008)) with ESMTP id <[email protected]> for [email protected]; Sun, 02 Aug 2009 08:08:49 +1000 (EST) Message-id: <[email protected]> Date: Sun, 02 Aug 2009 08:11:19 +1000 From: Kamal <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20090605) To: [email protected] Subject: jx:element support X-TM-AS-Product-Ver: IMSS-161.129.204.10428-161.129.204.1046-16800.002 X-TM-AS-Result: No--5.720-5.0-31-1 X-imss-scan-details: No--5.720-5.0-31-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi, A while back[1], jx:element support was provided in trunk. I was wondering when this functionality would be officially released, that is, when will we see a 1.2 release of the template block? I have a use of this functionality and I would assume that others out there would find this useful. Thanks. [1] http://archive.netbsd.se/?ml=cocoon-cvs&a=2008-06&t=7785068 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Aug 02 04:36:00 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 39431 invoked from network); 2 Aug 2009 04:36:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Aug 2009 04:36:00 -0000 Received: (qmail 3771 invoked by uid 500); 2 Aug 2009 04:36:03 -0000 Delivered-To: [email protected] Received: (qmail 3680 invoked by uid 500); 2 Aug 2009 04:36:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 3672 invoked by uid 99); 2 Aug 2009 04:36:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Aug 2009 04:36:03 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail0.tt.com.au) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Aug 2009 04:35:53 +0000 Received: from mail0.tt.com.au (localhost [161.129.204.104]) by postfix.imss70 (Postfix) with ESMTP id D50AC1657DA for <[email protected]>; Sun, 2 Aug 2009 14:32:37 +1000 (EST) Received: from convergence.tt.com.au (convergence.tt.com.au [161.129.204.104]) by mail0.tt.com.au (Postfix) with ESMTP id CE16E1657D4 for <[email protected]>; Sun, 2 Aug 2009 14:32:37 +1000 (EST) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from [161.129.204.104] by convergence.tt.com.au (Sun Java(tm) System Messaging Server 7.0-0.04 64bit (built Jun 20 2008)) with ESMTP id <[email protected]> for [email protected]; Sun, 02 Aug 2009 14:32:58 +1000 (EST) Message-id: <[email protected]> Date: Sun, 02 Aug 2009 14:35:24 +1000 From: Kamal <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20090605) To: Cocoon Users List <[email protected]> Subject: Using Generics (ie java 1.5) in Cocoon X-TM-AS-Product-Ver: IMSS-161.129.204.10428-161.129.204.1046-16800.003 X-TM-AS-Result: No-0.405-5.0-31-1 X-imss-scan-details: No-0.405-5.0-31-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi, I want to use Java 1.5 functionality in Cocoon 2.2. Is it possible? When I try to use generics, I get the following error: [INFO] Compilation failure C:\dev\workspace\cocoon\src\main\java\cpl\Form.java:[8,16] generics are not supported in -source 1.3 (try -source 1.5 to enable generics) private List<Widget> mWidgets; Thanks. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Aug 02 05:01:31 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41880 invoked from network); 2 Aug 2009 05:01:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Aug 2009 05:01:31 -0000 Received: (qmail 14455 invoked by uid 500); 2 Aug 2009 05:01:33 -0000 Delivered-To: [email protected] Received: (qmail 14368 invoked by uid 500); 2 Aug 2009 05:01:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 14360 invoked by uid 99); 2 Aug 2009 05:01:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Aug 2009 05:01:33 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail0.tt.com.au) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Aug 2009 05:01:24 +0000 Received: from mail0.tt.com.au (localhost [161.129.204.104]) by postfix.imss70 (Postfix) with ESMTP id E10CE1657DA for <[email protected]>; Sun, 2 Aug 2009 14:58:09 +1000 (EST) Received: from convergence.tt.com.au (convergence.tt.com.au [161.129.204.104]) by mail0.tt.com.au (Postfix) with ESMTP id DAACE1657D9 for <[email protected]>; Sun, 2 Aug 2009 14:58:09 +1000 (EST) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from [161.129.204.104] by convergence.tt.com.au (Sun Java(tm) System Messaging Server 7.0-0.04 64bit (built Jun 20 2008)) with ESMTP id <[email protected]> for [email protected]; Sun, 02 Aug 2009 14:58:30 +1000 (EST) Message-id: <[email protected]> Date: Sun, 02 Aug 2009 15:00:56 +1000 From: Kamal <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20090605) To: [email protected] Subject: Re: Using Generics (ie java 1.5) in Cocoon References: <[email protected]> In-reply-to: <[email protected]> X-TM-AS-Product-Ver: IMSS-161.129.204.10428-161.129.204.1046-16800.003 X-TM-AS-Result: No--0.352-5.0-31-1 X-imss-scan-details: No--0.352-5.0-31-1 X-Virus-Checked: Checked by ClamAV on apache.org Nevermind, worked it out. Added this to the plugin section of the POM file: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.5</source> <target>1.5</target> </configuration> </plugin> > Hi, > I want to use Java 1.5 functionality in Cocoon 2.2. Is it possible? > When I try to use generics, I get the following error: > > [INFO] Compilation > failure > > C:\dev\workspace\cocoon\src\main\java\cpl\Form.java:[8,16] generics > are not supported in -source 1.3 (try -source 1.5 to enable > generics) private List<Widget> > mWidgets; > > > Thanks. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Aug 02 07:56:22 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85858 invoked from network); 2 Aug 2009 07:56:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Aug 2009 07:56:22 -0000 Received: (qmail 64878 invoked by uid 500); 2 Aug 2009 07:56:25 -0000 Delivered-To: [email protected] Received: (qmail 64807 invoked by uid 500); 2 Aug 2009 07:56:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 64799 invoked by uid 99); 2 Aug 2009 07:56:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Aug 2009 07:56:24 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail0.tt.com.au) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Aug 2009 07:56:15 +0000 Received: from mail0.tt.com.au (localhost [161.129.204.104]) by postfix.imss70 (Postfix) with ESMTP id A5DD11657DA for <[email protected]>; Sun, 2 Aug 2009 17:53:00 +1000 (EST) Received: from convergence.tt.com.au (convergence.tt.com.au [161.129.204.104]) by mail0.tt.com.au (Postfix) with ESMTP id 9AC101657D9 for <[email protected]>; Sun, 2 Aug 2009 17:53:00 +1000 (EST) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from [161.129.204.104] by convergence.tt.com.au (Sun Java(tm) System Messaging Server 7.0-0.04 64bit (built Jun 20 2008)) with ESMTP id <[email protected]> for [email protected]; Sun, 02 Aug 2009 17:53:21 +1000 (EST) Message-id: <[email protected]> Date: Sun, 02 Aug 2009 17:55:45 +1000 From: Kamal <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20090605) To: Cocoon Users List <[email protected]> Subject: JXTemplate that generates a JXTemplate X-TM-AS-Product-Ver: IMSS-161.129.204.10428-161.129.204.1046-16800.003 X-TM-AS-Result: No--2.700-5.0-31-1 X-imss-scan-details: No--2.700-5.0-31-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi, I have a JxTemplate that is generating another JXTemplate (the first JXTemplate generates a CForms template, the second template is for the form). However, when I try to access the cocoon object in the second JXTemplate I get a bad XPath statement when the second JXTemplate called this expression: action="#{$cocoon/continuation/id}.continue". I have worked around this by using an XSLT, but is it possible to do what I suggest? Is this a bug? Thanks. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Aug 02 11:54:26 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35047 invoked from network); 2 Aug 2009 11:54:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Aug 2009 11:54:26 -0000 Received: (qmail 59766 invoked by uid 500); 2 Aug 2009 11:54:28 -0000 Delivered-To: [email protected] Received: (qmail 59677 invoked by uid 500); 2 Aug 2009 11:54:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 59669 invoked by uid 99); 2 Aug 2009 11:54:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Aug 2009 11:54:28 +0000 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO oulu.fi) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Aug 2009 11:54:17 +0000 Received: from cc.oulu.fi (sun3.oulu.fi [161.129.204.104]) by oulu.fi (8.13.7/8.13.7) with ESMTP id n72BrsRn011652 for <[email protected]>; Sun, 2 Aug 2009 14:53:54 +0300 (EEST) Received: from [161.129.204.104] (dsl-176-86.oulu.fi [161.129.204.104]) by cc.oulu.fi (8.13.7/8.13.7) with ESMTP id n72BrsGe016039 for <[email protected]>; Sun, 2 Aug 2009 14:53:54 +0300 (EEST) Message-ID: <[email protected]> Date: Sun, 02 Aug 2009 14:53:53 +0300 From: Andre Juffer <[email protected]> Reply-To: [email protected] Organization: The University of Oulu User-Agent: Mozilla-Thunderbird 161.129.204.104 (X11/20090707) MIME-Version: 1.0 To: [email protected] Subject: Re: Using Generics (ie java 1.5) in Cocoon References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Kamal, there should be no problem at all running cocoon 2.2 with java 1.5 or 1.6. I am running it with 1.6 and all my code is written with generics. Kamal wrote: > Hi, > I want to use Java 1.5 functionality in Cocoon 2.2. Is it possible? > When I try to use generics, I get the following error: > > [INFO] Compilation > failure > > C:\dev\workspace\cocoon\src\main\java\cpl\Form.java:[8,16] generics are > not supported in -source 1.3 (try -source 1.5 to enable > generics) private List<Widget> > mWidgets; > > > Thanks. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > -- Andre H. Juffer | Phone: 7404181820 Biocenter Oulu and | Fax: 7404181820 Department of Biochemistry | Email: [email protected] University of Oulu, Finland | WWW: www.biochem.oulu.fi/Biocomputing/ StruBioCat | WWW: www.strubiocat.oulu.fi NordProt | WWW: www.nordprot.org Triacle Biocomputing | WWW: www.triacle-bc.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 03 06:39:09 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13305 invoked from network); 3 Aug 2009 06:39:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Aug 2009 06:39:08 -0000 Received: (qmail 75125 invoked by uid 500); 3 Aug 2009 06:39:12 -0000 Delivered-To: [email protected] Received: (qmail 75046 invoked by uid 500); 3 Aug 2009 06:39:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 75038 invoked by uid 99); 3 Aug 2009 06:39:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 06:39:11 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO T1.UIB.ES) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 06:39:03 +0000 Received: from CONVERSION-DAEMON.uib.es by uib.es (PMDF V6.4 #31584) id <[email protected]> for [email protected]; Mon, 03 Aug 2009 08:38:20 +0200 Received: from [161.129.204.104] by uib.es (PMDF V6.4 #31584) with ESMTPS id <[email protected]> for [email protected]; Mon, 03 Aug 2009 08:38:05 +0200 Date: Mon, 03 Aug 2009 08:38:04 +0200 From: =?ISO-8859-1?Q?Carlos_Mart=EDnez?= <[email protected]> Subject: Null value in map:select type="parameter" To: [email protected] Message-id: <[email protected]> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 8BIT User-Agent: Thunderbird 161.129.204.104 (Windows/20090605) X-Virus-Checked: Checked by ClamAV on apache.org Hi, I'm trying to use a map:selector with a parameter. I have 2 cases; when the parameter is null or empty and when it has a value. My code looks like this: <map:select type="parameter"> <map:parameter name="parameter-selector" value="${myParameter}"/> <map:when test=""> .... </map:when> <map:otherwise> .... </map:otherwise> </map:select> Is it possible to distinguish whether the value is empty or not? Thanks in advance. -- ======================================================================== Carlos Martínez Peña Centre de Tecnologies de la Informació Universitat de les Illes Balears Cra. Valldemossa km 7.5 E-07122 Palma Baleares Spain tel.: 7404181820 e-mail: [email protected] ======================================================================== --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 03 08:25:11 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 34311 invoked from network); 3 Aug 2009 08:25:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Aug 2009 08:25:11 -0000 Received: (qmail 57987 invoked by uid 500); 3 Aug 2009 08:25:15 -0000 Delivered-To: [email protected] Received: (qmail 57898 invoked by uid 500); 3 Aug 2009 08:25:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 57890 invoked by uid 99); 3 Aug 2009 08:25:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2009 08:25:13 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO web23204.mail.ird.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 03 Aug 2009 08:25:00 +0000 Received: (qmail 6562 invoked by uid 60001); 3 Aug 2009 08:24:40 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s1024; t=1249287880; bh=XVMVC0qa0Re4/XzjNkYVpv3xkQuyr3reXtDZN/VsUoE=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=VjxAX8NI4olx0Mvc3nIIB7wz4aglOOyXsiHBJqloAREq9aHYgZNJ/bdpwHNPgfBdqbLK/AxP07ODkR1fRuiGlUCxF5RsvURGNl/43EB/7Alxv8GSgc9uRQCRcRGCjzGF8h+SSA4EIOrU/GAKOnl9fJ14kl1ygLqv0jzaVrraOkQ= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.de; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=2knHlCjmxZuVHz5HijZcANpz9yzAtzKbtr6ptg1gH/n+FehmssOhl6DpnR20qX7ecl4TA3FbcZwPWWPqzRQP4RKmw2k3H7sJsjob4tfug7wCYV5nsAa63SN2YY+sM5wuJSZ5om//GLhP4nUzStd64V2oXqEqnJG4ZoTwc0IWUwg=; Message-ID: <{{EMAIL+PHONE}}> X-YMail-OSG: uS9wCGEVM1kUEVhp1evjuw6.Udz1qRFBzooJZ7fsDYejqsoTrOkESoYfS1gtmcSjime8y.1Z3cY_rOGNrpzV2aw.Rjzec0XxhZIs2Am8lIMOtlnm5x9P99hmfPajaMQqmKXBlVvSfDI1J_9fBZPk8K40Rm81zuwV61ljXoMgxrihPyQ6jU_bdpFJ0ozAEKpN6Odd8pNsliO8Bk23uCLX3kLhukCZ_O8pk.gHz8vB0zpwMt2e8GUe0.l7PraMWNPyvfojM9QYNTcSYY_thQ-- Received: from [161.129.204.104] by web23204.mail.ird.yahoo.com via HTTP; Mon, 03 Aug 2009 08:24:39 GMT X-Mailer: YahooMailRC/1358.22 YahooMailWebService/0.7.289.15 Date: Mon, 3 Aug 2009 08:24:39 +0000 (GMT) From: =?iso-8859-1?Q?Matthias_M=FCller?= <[email protected]> Subject: [C2.2] Repeater Action without submit To: "users cocoon.apache.org" <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi,=0A=0Ai have problems uploading multiple files using the repeater action= widget ("add-row" command).=0AInitially i have one upload widget ("file1")= , if i choose a file for it and afterwards i add another upload widget ("fi= le2") by pressing the repeater action widget, it uploads the "file1". If i = then choose a second file ("file2") and press my form submit button, i late= r (while processing the uploaded parts) receive the error that the request = object files.0.file isn't an uploaded part (since it isn't in the current u= pload context anymore).=0AIt only works when i add the exact number of uplo= ad widgets BEFORE choosing the files for them.=0A=0AI think this is because= the repeater action widget is rendered as a submit button. Is there are wa= y to use the repeater in another way?=0A=0Athanks,=0Amatthias=0A=0A=0A = --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Aug 04 06:33:50 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9823 invoked from network); 4 Aug 2009 06:33:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Aug 2009 06:33:50 -0000 Received: (qmail 30760 invoked by uid 500); 4 Aug 2009 06:33:54 -0000 Delivered-To: [email protected] Received: (qmail 30689 invoked by uid 500); 4 Aug 2009 06:33:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 30681 invoked by uid 99); 4 Aug 2009 06:33:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Aug 2009 06:33:54 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-fx0-f226.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Aug 2009 06:33:44 +0000 Received: by fxm26 with SMTP id 26so1173263fxm.18 for <[email protected]>; Mon, 03 Aug 2009 23:33:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=9wDbrH+1wOEOxfDrDyyv2AhwofV2tkBYuwQNolUZwTU=; b=R+v/HGUZgtrb6oH/MZjcits9K/17NDveO9Xw+vF7A4nP1hlZDwvE+vHKSADANz8O6d C+ZmJxdx952bB2TiS3w++FPwFMHXQkVYN/WEFf9v90RKj/wsGI1n+3vcMiY9p7aQaTXx R8bFQKlBaN0Yo2/A0RpbR7NvelrBmWmQSea2M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=pVy/zV4AgJZjQQvZfHfFRXWtmRb6+zLWrEvN7dGhmZn261rfz+csm1OjcB3f1rSEvv B7SO+Djrx58gr0wYg74YNGc+aA1XiejxKCVWksTnsD361+GTsKV3MseCN4x/qSxQswED Jro/p9fEmDp7WmALduRlIJ4gxSlaCZSbv0EFA= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id b2mr2690175fas.67.1249367602923; Mon, 03 Aug 2009 23:33:22 -0700 (PDT) Date: Tue, 4 Aug 2009 08:33:22 +0200 Message-ID: <[email protected]> Subject: Passing DOM document to xquery. From: Tomasz Piechowicz <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=001636c5a4352a88b504704b10df X-Virus-Checked: Checked by ClamAV on apache.org --001636c5a4352a88b504704b10df Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi. I would like to pass xml DOM document created in CForm to xquery. Is it possible to access document nodes from xquery ? My CForm generates simple xml document : <project> <id>1</id> <title>t</title> <description>d</description> <pdfLink>p</pdfLink> </project> In flowscript I passed the document object to sitemap : function editproject() { var form = new Form("cocoon://resource/internal/forms/project_model.xml"); var bindUri = cocoon.parameters.bindingURI; form.createBinding(bindUri); var docUri = cocoon.parameters.documentURI; var document = loadDocument(docUri); form.load(document); form.showForm("editproject-display-pipeline"); form.save(document); cocoon.sendPage("update31", {"doc" : document}); } In sitemap I passed document to XqueryGenerator : <map:pipeline> <map:match pattern="update31"> <map:generate src="xupdate.xq" type="xquery"> <map:parameter name="doc" value="{flow-attribute:doc}"/> </map:generate> <map:serialize type="html"/> </map:match> </map:pipeline> And then I tried to access document structure in xquery : xquery version "1.0"; declare namespace request="http://exist-db.org/xquery/request"; declare variable $doc external; update insert <project> <id>{$doc/id}</id> <title>{$doc/title}</title> <description>{$doc/description}</description> <pdfLink>{$doc/pdfLink}</pdfLink> </project> into doc("/db/tomek/projects/projects.xml")/projects Unfortunately I recived XMLDBException that I can`t use xs:string(1 t d p) as node collection. Any ideas would be appreciated. Regards, Tomek Piechowicz --001636c5a4352a88b504704b10df Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <span class=3D"Apple-style-span" style=3D"font-family: Verdana; "><div styl= e=3D"margin-top: 0px; margin-bottom: 0px; ">Hi.</div><div style=3D"margin-t= op: 0px; margin-bottom: 0px; ">I would like to pass xml DOM document create= d in CForm to xquery. Is it possible to access document nodes from xquery ?= </div> <div style=3D"margin-top: 0px; margin-bottom: 0px; "><br></div><div style= =3D"margin-top: 0px; margin-bottom: 0px; ">My CForm generates simple xml do= cument :=A0</div><div style=3D"margin-top: 0px; margin-bottom: 0px; ">&lt;p= roject&gt;</div> <div style=3D"margin-top: 0px; margin-bottom: 0px; ">=A0=A0 =A0&lt;id&gt;1&= lt;/id&gt;<br></div><div style=3D"margin-top: 0px; margin-bottom: 0px; ">= =A0=A0 =A0&lt;title&gt;t&lt;/title&gt;<br></div><div style=3D"margin-top: 0= px; margin-bottom: 0px; "> =A0=A0 =A0&lt;description&gt;d&lt;/description&gt;<br></div><div style=3D"m= argin-top: 0px; margin-bottom: 0px; ">=A0=A0 =A0&lt;pdfLink&gt;p&lt;/pdfLin= k&gt;<br></div><div style=3D"margin-top: 0px; margin-bottom: 0px; ">&lt;/pr= oject&gt;</div> <div style=3D"margin-top: 0px; margin-bottom: 0px; "><br></div><div style= =3D"margin-top: 0px; margin-bottom: 0px; ">In flowscript I passed the docum= ent object to sitemap :</div><div style=3D"margin-top: 0px; margin-bottom: = 0px; "> <br></div><div style=3D"margin-top: 0px; margin-bottom: 0px; "><div style= =3D"margin-top: 0px; margin-bottom: 0px; ">function editproject()</div><div= style=3D"margin-top: 0px; margin-bottom: 0px; ">{</div><div style=3D"margi= n-top: 0px; margin-bottom: 0px; "> =A0=A0 =A0var form =3D new Form(&quot;cocoon://resource/internal/forms/proj= ect_model.xml&quot;);</div><div style=3D"margin-top: 0px; margin-bottom: 0p= x; "></div><div style=3D"margin-top: 0px; margin-bottom: 0px; ">=A0=A0 =A0v= ar bindUri =3D cocoon.parameters.bindingURI;</div> <div style=3D"margin-top: 0px; margin-bottom: 0px; ">=A0=A0 =A0form.createB= inding(bindUri);</div><div style=3D"margin-top: 0px; margin-bottom: 0px; ">= </div><div style=3D"margin-top: 0px; margin-bottom: 0px; ">=A0=A0 =A0var do= cUri =3D cocoon.parameters.documentURI;</div> <div style=3D"margin-top: 0px; margin-bottom: 0px; ">=A0=A0 =A0var document= =3D loadDocument(docUri);</div><div style=3D"margin-top: 0px; margin-botto= m: 0px; "></div><div style=3D"margin-top: 0px; margin-bottom: 0px; ">=A0=A0= =A0form.load(document);</div> <div style=3D"margin-top: 0px; margin-bottom: 0px; ">=A0=A0 =A0form.showFor= m(&quot;editproject-display-pipeline&quot;);</div><div style=3D"margin-top:= 0px; margin-bottom: 0px; "></div><div style=3D"margin-top: 0px; margin-bot= tom: 0px; "> =A0=A0 =A0form.save(document);</div><div style=3D"margin-top: 0px; margin-b= ottom: 0px; ">=A0=A0 =A0cocoon.sendPage(&quot;update31&quot;, {&quot;doc&qu= ot; : document});</div><div style=3D"margin-top: 0px; margin-bottom: 0px; "= >}</div><div style=3D"margin-top: 0px; margin-bottom: 0px; "> <br></div><div style=3D"margin-top: 0px; margin-bottom: 0px; ">In sitemap I= passed document to XqueryGenerator :=A0</div><div style=3D"margin-top: 0px= ; margin-bottom: 0px; "><br></div><div style=3D"margin-top: 0px; margin-bot= tom: 0px; "> <div style=3D"margin-top: 0px; margin-bottom: 0px; ">&lt;map:pipeline&gt;</= div><div style=3D"margin-top: 0px; margin-bottom: 0px; ">=A0=A0 =A0&lt;map:= match pattern=3D&quot;update31&quot;&gt;</div><div style=3D"margin-top: 0px= ; margin-bottom: 0px; "> =A0=A0 =A0=A0=A0 =A0&lt;map:generate src=3D&quot;xupdate.xq&quot; type=3D&q= uot;xquery&quot;&gt;</div><div style=3D"margin-top: 0px; margin-bottom: 0px= ; "></div><div style=3D"margin-top: 0px; margin-bottom: 0px; ">=A0=A0 =A0= =A0=A0 =A0=A0=A0 =A0&lt;map:parameter name=3D&quot;doc&quot; value=3D&quot;= {flow-attribute:doc}&quot;/&gt;=A0</div> <div style=3D"margin-top: 0px; margin-bottom: 0px; "></div><div style=3D"ma= rgin-top: 0px; margin-bottom: 0px; ">=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0&lt;/map= :generate&gt;</div><div style=3D"margin-top: 0px; margin-bottom: 0px; ">=A0= =A0 =A0=A0=A0 =A0&lt;map:serialize type=3D&quot;html&quot;/&gt;</div> <div style=3D"margin-top: 0px; margin-bottom: 0px; ">=A0=A0 =A0&lt;/map:mat= ch&gt;</div><div style=3D"margin-top: 0px; margin-bottom: 0px; ">&lt;/map:p= ipeline&gt;</div><div style=3D"margin-top: 0px; margin-bottom: 0px; "><br><= /div><div style=3D"margin-top: 0px; margin-bottom: 0px; "> And then I tried to access document structure in xquery :</div><div style= =3D"margin-top: 0px; margin-bottom: 0px; "><br></div><div style=3D"margin-t= op: 0px; margin-bottom: 0px; "><div style=3D"margin-top: 0px; margin-bottom= : 0px; "> xquery version &quot;1.0&quot;;</div><div style=3D"margin-top: 0px; margin-= bottom: 0px; "><br></div><div style=3D"margin-top: 0px; margin-bottom: 0px;= ">declare namespace request=3D&quot;<a href=3D"http://exist-db.org/xquery/= request">http://exist-db.org/xquery/request</a>&quot;;</div> <div style=3D"margin-top: 0px; margin-bottom: 0px; ">declare variable $doc = external;=A0</div><div style=3D"margin-top: 0px; margin-bottom: 0px; "><br>= </div><div style=3D"margin-top: 0px; margin-bottom: 0px; ">update insert=A0= </div> <div style=3D"margin-top: 0px; margin-bottom: 0px; ">&lt;project&gt;=A0</di= v><div style=3D"margin-top: 0px; margin-bottom: 0px; ">&lt;id&gt;{$doc/id}&= lt;/id&gt;=A0</div><div style=3D"margin-top: 0px; margin-bottom: 0px; ">&lt= ;title&gt;{$doc/title}&lt;/title&gt;=A0</div> <div style=3D"margin-top: 0px; margin-bottom: 0px; ">&lt;description&gt;{$d= oc/description}&lt;/description&gt;=A0</div><div style=3D"margin-top: 0px; = margin-bottom: 0px; ">&lt;pdfLink&gt;{$doc/pdfLink}&lt;/pdfLink&gt;=A0</div= ><div style=3D"margin-top: 0px; margin-bottom: 0px; "> &lt;/project&gt;</div><div style=3D"margin-top: 0px; margin-bottom: 0px; ">= <br></div><div style=3D"margin-top: 0px; margin-bottom: 0px; ">into doc(&qu= ot;/db/tomek/projects/projects.xml&quot;)/projects</div><div style=3D"margi= n-top: 0px; margin-bottom: 0px; "> <br></div><div style=3D"margin-top: 0px; margin-bottom: 0px; ">Unfortunatel= y I recived XMLDBException that I can`t use xs:string(1 t d p) as node coll= ection.</div><div style=3D"margin-top: 0px; margin-bottom: 0px; "><br></div= > <div style=3D"margin-top: 0px; margin-bottom: 0px; ">Any ideas would be app= reciated.</div><div style=3D"margin-top: 0px; margin-bottom: 0px; "><br></d= iv><div style=3D"margin-top: 0px; margin-bottom: 0px; ">Regards,</div><div = style=3D"margin-top: 0px; margin-bottom: 0px; "> Tomek Piechowicz</div></div></div></div></span> --001636c5a4352a88b504704b10df-- From [email protected] Tue Aug 04 14:06:20 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74656 invoked from network); 4 Aug 2009 14:06:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Aug 2009 14:06:20 -0000 Received: (qmail 446 invoked by uid 500); 4 Aug 2009 14:06:24 -0000 Delivered-To: [email protected] Received: (qmail 380 invoked by uid 500); 4 Aug 2009 14:06:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 372 invoked by uid 99); 4 Aug 2009 14:06:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Aug 2009 14:06:24 +0000 X-ASF-Spam-Status: No, hits=1.6 required=10.0 tests=RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ciao.gmane.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Aug 2009 14:06:13 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MYKeE-00048c-5G for [email protected]; Tue, 04 Aug 2009 14:05:50 +0000 Received: from 161.129.204.104 ([161.129.204.104]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <[email protected]>; Tue, 04 Aug 2009 14:05:50 +0000 Received: from andreas by 161.129.204.104 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <[email protected]>; Tue, 04 Aug 2009 14:05:50 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: [email protected] From: Andreas Hartmann <[email protected]> Subject: [2.2] Include additional file in block webapp Date: Tue, 04 Aug 2009 16:05:40 +0200 Lines: 31 Message-ID: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: [email protected] X-Gmane-NNTP-Posting-Host: 161.129.204.104 User-Agent: Thunderbird 161.129.204.104 (Macintosh/20090605) Sender: news <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi everyone, I'd like to include an additional file in my block webapp. I tried the following configuration: <plugin> <groupId>org.apache.cocoon</groupId> <artifactId>cocoon-maven-plugin</artifactId> <executions> … </executions> <configuration> <warSourceDirectory>${basedir}/src/main/webapp</warSourceDirectory> </configuration> </plugin> But the file isn't copied from src/main/webapp/WEB-INF/ to target/rcl/webapp/WEB-INF/ Thanks for any hints! -- Andreas -- Andreas Hartmann, CTO BeCompany GmbH http://www.becompany.ch Tel.: 7404181820 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Aug 06 08:50:00 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49495 invoked from network); 6 Aug 2009 08:50:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Aug 2009 08:50:00 -0000 Received: (qmail 58674 invoked by uid 500); 6 Aug 2009 08:50:06 -0000 Delivered-To: [email protected] Received: (qmail 58611 invoked by uid 500); 6 Aug 2009 08:50:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 58603 invoked by uid 99); 6 Aug 2009 08:50:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Aug 2009 08:50:06 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Aug 2009 08:49:57 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1MYyfI-00065t-GX for [email protected]; Thu, 06 Aug 2009 01:49:36 -0700 Message-ID: <[email protected]> Date: Thu, 6 Aug 2009 01:49:36 -0700 (PDT) From: GSz <[email protected]> To: [email protected] Subject: Cocoon 2.0.5dev & JAVA 1.5u19 & Tomcat 5.5.26 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org Hello I have Linux and JDK 1.5u19 installed and I set properly $JAVA_HOME variable (/usr/lib/java-1.5.0/jdk1.5.0_19) I have Apache Tomcat 5.5.26 properly running on port 8080 and $CATALINA_HOME (/usr/local/tomcat) I want Cocoon 2.0.5dev running with Tomcat... Can anybody help with this ? I can't find source of Cocoon 2.0.5dev anywhere (I have to use old Cocoon 2.0.x and JAVA 1.5) I found revision 2.0.4 (http://archive.apache.org/dist/cocoon/SOURCES/cocoon-2.0.4-src.tar.gz) but it failed to build as you can see below: [root@localhost cocoon-2.0.4]# ./build.sh -Dinclude.webapp.libs=yes -Dinstall.war=/usr/local/tomcat/webapps install Apache Cocoon Build System -------------------------- Buildfile: build.xml init: -------------------------------------------------------------- Apache Cocoon 2.0.4 [1999-2002] -------------------------------------------------------------- Building with Ant version 1.4.1 compiled on October 11 2001 using build file /home/GSz/Desktop/cocoon-2.0.4/build.xml -------------------------------------------------------------- WARNING: This build is targeted for use with JVM 1.2 Using this build on a virtual machine other than the one it is targeted for may result in runtime errors. -------------------------------------------------------------- Compiling 5 source files to /home/GSz/Desktop/cocoon-2.0.4/tools/anttasks javac: target release 1.2 conflicts with default source release 1.5 BUILD FAILED Thanks a lot for any help !! -- View this message in context: http://www.nabble.com/Cocoon-2.0.5dev---JAVA-1.5u19---Tomcat-5.5.26-tp24841038p24841038.html Sent from the Cocoon - Users mailing list [email protected]. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Aug 06 09:36:13 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71539 invoked from network); 6 Aug 2009 09:36:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Aug 2009 09:36:13 -0000 Received: (qmail 24083 invoked by uid 500); 6 Aug 2009 09:36:19 -0000 Delivered-To: [email protected] Received: (qmail 24008 invoked by uid 500); 6 Aug 2009 09:36:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 24000 invoked by uid 99); 6 Aug 2009 09:36:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Aug 2009 09:36:19 +0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=PLING_QUERY,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO regensburg.uninett.no) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Aug 2009 09:36:11 +0000 Received: from star.uninett.no (star.uninett.no [IPvacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b:664d]) by regensburg.uninett.no (Postfix) with ESMTPSA id BF24270143 for <[email protected]>; Thu, 6 Aug 2009 10:40:01 +0200 (CEST) Message-ID: <[email protected]> Date: Thu, 06 Aug 2009 10:39:40 +0200 From: =?ISO-8859-1?Q?S=F8ren_Krum?= <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20090608) MIME-Version: 1.0 To: [email protected] Subject: FOP configuration ?!? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hello! i am trying out pdf serialisation, but the fop process is not interested in finding the metrics file. I wrote a configuration like this: <configuration> <fonts> <font metrics-file="file:ocrb.xml" embed-file="file:ocrb.ttf" kerning="yes"> <font-triplet name="OCRB" style="normal" weight="normal"/> <font-triplet name="OCRB" style="normal" weight="bold"/> </font> ... From the documentation : ---------8<------------ I normally store this with the metrics file in the fop-fonts directory (called config.xml (ensure there's not a font called config ;)) although I fully qualify all the filenames just incase I move it ;) ---------8<------------ i would suggest that if the config file is placed in the same directory as the metrics file, fop processen should be able to find the metrics, but what i get is this: ERROR TP-Processor1 cocoon.fop - Failed to read font metrics file file:ocrb.xml: ocrb.xml (No such file or directory) But then, if i remove "file:" from the metrics file, the process complains over a protocoll missing. So the documentaion is probably not so actual :-( Any hints where the process start searching? Or is it supposed to work as described? After i thought to have the metric files and even the fonts as part of one block, i would really like if the fop process would start searching in the directory of the config file ;-) Best Regards -- Med vennlig hilsen Søren D. Krum Systemutvikler/system developer UNINETT FAS 7404181820 There are 10 different kind of people in the world, those who understand binary and those who don't --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Aug 06 11:57:02 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 23438 invoked from network); 6 Aug 2009 11:57:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Aug 2009 11:57:02 -0000 Received: (qmail 3368 invoked by uid 500); 6 Aug 2009 11:57:08 -0000 Delivered-To: [email protected] Received: (qmail 3304 invoked by uid 500); 6 Aug 2009 11:57:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 3296 invoked by uid 99); 6 Aug 2009 11:57:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Aug 2009 11:57:08 +0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=PLING_QUERY,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO apl.fiz-chemie.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Aug 2009 11:56:59 +0000 Message-ID: <[email protected]> Date: Thu, 06 Aug 2009 13:56:22 +0200 From: Eike Jordan <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20090608) MIME-Version: 1.0 To: [email protected] Subject: Re: FOP configuration ?!? References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at fiz-chemie.de X-Virus-Checked: Checked by ClamAV on apache.org Søren Krum wrote: > Hello! > > i am trying out pdf serialisation, but the fop process is not interested > in finding the metrics file. > > I wrote a configuration like this: > > <configuration> > <fonts> > <font metrics-file="file:ocrb.xml" embed-file="file:ocrb.ttf" > kerning="yes"> > <font-triplet name="OCRB" style="normal" weight="normal"/> > <font-triplet name="OCRB" style="normal" weight="bold"/> </font> > ... The FOPFactory.setBaseDir currently does not use the Cocoon source resolver, that is in order to resolve relative URLs you have to use standard protocols. In our configuration we use the context:// protocol. Something like <font metrics-file="context://your/webapp/block/context/fonts/ocrb.xml" embed-file="context://your/webapp/block/context/fonts/ocrb.ttf" kerning="yes"> <font-triplet name="OCRB" style="normal" weight="normal"/> <font-triplet name="OCRB" style="normal" weight="bold"/> </font> should work. You possibly might have to remove the <base>.</base> setting in your fop.xconf as is was required in our environment. HTH ~eike > > > From the documentation : > ---------8<------------ > I normally store this with the metrics file in the fop-fonts directory > (called config.xml (ensure there's not a font called config ;)) although > I fully qualify all the filenames just incase I move it ;) > ---------8<------------ > i would suggest that if the config file is placed in the same directory > as the metrics file, fop processen should be able to find the metrics, > but what i get is this: > > ERROR TP-Processor1 cocoon.fop - Failed to read font metrics file > file:ocrb.xml: ocrb.xml (No such file or directory) > > But then, if i remove "file:" from the metrics file, the process > complains over a protocoll missing. So the documentaion is probably not > so actual :-( > > Any hints where the process start searching? Or is it supposed to work > as described? After i thought to have the metric files and even the > fonts as part of one block, i would really like if the fop process would > start searching in the directory of the config file ;-) > > Best Regards > -- Eike Jordan <[email protected]> | FIZ CHEMIE BERLIN | Franklin Str. 11 ------ ,__o | 10587 Berlin ------ _-\_<, | ------ (+)/'(+) | Tel. : 0107-94-84977 214 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Aug 06 20:05:18 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73935 invoked from network); 6 Aug 2009 20:05:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Aug 2009 20:05:18 -0000 Received: (qmail 39233 invoked by uid 500); 6 Aug 2009 20:05:24 -0000 Delivered-To: [email protected] Received: (qmail 39146 invoked by uid 500); 6 Aug 2009 20:05:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 39132 invoked by uid 99); 6 Aug 2009 20:05:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Aug 2009 20:05:24 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO web112501.mail.gq1.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 06 Aug 2009 20:05:12 +0000 Received: (qmail 14519 invoked by uid 60001); 6 Aug 2009 20:04:49 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1249589089; bh=YXrhoQEqRd8qB2cn5IeqKVUfouR306kDTnqpI7PYTBw=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=DRQmi1oc02/De5QlTasbQvYRi28Mu6fPnkxsHdaQf/030anDfxybuCJS2c9oeODk/5kOiMsh+I77+79+aM64929s27aM9rHBYdlb0OTrw/WxB4UESZjSEym3GMAempxUsbaso77Y1+lkVHltmmeFE6+OMp2mXYF8uKS9KL0ce80= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=YYIYio3oDDv0nUqCB+Unu8HhRna2AO/bNv+NHJECwnKSbZm5OriYqUqt6Yl1tNRQTv6EL4nsR0OJu/2Nmk/Mj4SwVDAY7gR1D3g5peOOic9Utk5jZ20Rc36m16rwgJpuq2SwENQKal4BwClMFt9HwlifE+g41PZRrMEANnjNKKo=; Message-ID: <[email protected]> X-YMail-OSG: qccxgbkVM1l9pB2dX1OaBMig9eNDyWCPzgYvp3PzJfKqRXWRiLSOG25TLgrmOxjvRGyFdN605NcWJiKxqXcFuD2E69XekhjNUZd8msUvOzWLj9l..JIwrKcBLJdE9VmZc1o1KqA_BEnWYlrvEQHqCTxBpLDxr2fookEGEFV7JMgsdE6CqGDY7eMfGQ3tjtf.q0xv8FJlle3jr.E1VCxrKv9lSy2h0xtl9bIocrMfcd9Z9wiFdewYMBBWjIcFKkafne9Ss3QyEnzKLPRF9ANejKjga5hRh.MXwRx8StXGOfNvP8.HKpI- Received: from [161.129.204.104] by web112501.mail.gq1.yahoo.com via HTTP; Thu, 06 Aug 2009 13:04:49 PDT X-Mailer: YahooMailClassic/6.1.2 YahooMailWebService/0.7.289.15 Date: Thu, 6 Aug 2009 13:04:49 -0700 (PDT) From: sh kh <[email protected]> Subject: Trouble with Dynamic Chart To: [email protected] MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-646834204-1249589089=:13318" X-Virus-Checked: Checked by ClamAV on apache.org --0-646834204-1249589089=:13318 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable I'm following the Cocoon 2.2 tutorial.=A0 I created a dynamic chart with=0A= a java class implementing JFreeChart.=A0 I want to view the rendered=0Achar= t in cocoon. I'm using flowscript and map:read, but no luck.=A0 I get=0Aa m= essage saying the image contains errors when viewing src in Firefox=0A( I t= ested that the chart does show up fine if I write it to an=0Aexternal file.= ..I could link to this file but would prefer not to write the chart to the = disk).=A0=20 =0A I followed the approach from a previous post in the mailing list (http://ar= ticle.gmane.org/gmane.text.xml.cocoon.user/57199) =0A=0A Here is the relevant method to return InputStream in MyClass public MyClass { public static InputStream getInputStream() { (Code to create chart omitted...) ByteArrayOutputStream out =3D new ByteArrayOutputStream();=20 =0A=0A=0AJFreeChart chart =3D ChartFactory.createPieChart("Pie Chart", data= set, true, true, false); ChartUtilities.writeChartAsPNG(out, chart, 500, 300);=20 InputStream is =3D new ByteArrayInputStream(out.toByteArray()); =0A=0A=0Areturn is; } } Flowscript function demo() {=A0=A0=20 =A0=A0=A0 var inputstream =3D MyClass.getInputStream(); =A0=A0=A0 =A0=A0=A0 cocoon.sendPage("screens/spring-bean", =A0=A0=A0=A0=A0=A0=A0 {"inputstream": inputstream}); =0A=0A=0A=A0=A0=A0 =A0=A0=A0 } Sitemap: =A0 <map:pipeline> =A0=A0=A0 <map:match pattern=3D"spring-bean"> =A0=A0=A0=A0=A0=A0=A0 <map:call function=3D"demo"/> =A0=A0=A0 </map:match> =A0=A0 </map:pipeline> =0A=0A=0A=A0=A0 <map:pipeline id=3D"demo-internal" internal-only=3D"true"> =A0=A0=A0=A0=A0 <!-- This pipeline is invoked by the above flowscript. --> =A0=A0=A0=A0=A0 <map:match pattern=3D"screens/spring-bean"> =0A<!-- doesn't make a difference if I remove type=3D"image" from map:read = --> =0A=0A=A0=A0=A0 =A0 <map:read type=3D"image" src=3D"module:flow-attr:inputs= tream" mime-type=3D"image/png" />=20 =A0=A0=A0 </map:match> =A0=A0=A0 </map:pipeline> Any hints will be appreciated.=A0 Thanks. Shailender =0A=0A=0A --0-646834204-1249589089=:13318 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable <table cellspacing=3D"0" cellpadding=3D"0" border=3D"0" ><tr><td valign=3D"= top" style=3D"font: inherit;">I'm following the Cocoon 2.2 tutorial.&nbsp; = I created a dynamic chart with=0Aa java class implementing JFreeChart.&nbsp= ; I want to view the rendered=0Achart in cocoon. I'm using flowscript and m= ap:read, but no luck.&nbsp; I get=0Aa message saying the image contains err= ors when viewing src in Firefox=0A( I tested that the chart does show up fi= ne if I write it to an=0Aexternal file...I could link to this file but woul= d prefer not to write the chart to the disk).&nbsp; <br>=0A<br>I followed t= he approach from a previous post in the mailing list (<a href=3D"http://art= icle.gmane.org/gmane.text.xml.cocoon.user/57199" target=3D"_blank">http://a= rticle.gmane.org/<wbr>gmane.text.xml.cocoon.user/<wbr>57199</a>)<br>=0A=0A<= br>Here is the relevant method to return InputStream in MyClass<br><br>publ= ic MyClass {<br><br>public static InputStream getInputStream() {<br><br>(Co= de to create chart omitted...)<br><br>ByteArrayOutputStream out =3D new Byt= eArrayOutputStream(); <br>=0A=0A=0AJFreeChart chart =3D ChartFactory.create= PieChart("<wbr>Pie Chart", dataset, true, true, false);<br>ChartUtilities.<= wbr>writeChartAsPNG(out, chart, 500, 300); <br>InputStream is =3D new ByteA= rrayInputStream(out.<wbr>toByteArray());<br>=0A=0A=0Areturn is;<br>}<br>}<b= r><br>Flowscript<br><br>function demo() {&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp= ; var inputstream =3D MyClass.getInputStream();<br>&nbsp;&nbsp;&nbsp; &nbsp= ;&nbsp;&nbsp; cocoon.sendPage("screens/<wbr>spring-bean",<br>&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp; {"inputstream": inputstream});<br>=0A=0A=0A&nb= sp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br><br>Sitemap:<br><br>&nbsp; &lt;map:= pipeline&gt;<br>&nbsp;&nbsp;&nbsp; &lt;map:match pattern=3D"spring-bean"&gt= ;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;map:call function=3D"de= mo"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/map:match&gt;<br>&nbsp;&nbsp; &lt;/map:= pipeline&gt;<br>=0A=0A=0A&nbsp;&nbsp; &lt;map:pipeline id=3D"demo-internal"= internal-only=3D"true"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- This = pipeline is invoked by the above flowscript. --&gt;<br>&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp; &lt;map:match pattern=3D"screens/spring-bean"&gt;<br>=0A&lt;!-- = doesn't make a difference if I remove type=3D"image" from map:read --&gt;<b= r>=0A=0A&nbsp;&nbsp;&nbsp; &nbsp; &lt;map:read type=3D"image" src=3D"module= :flow-attr:<wbr>inputstream" mime-type=3D"image/png" /&gt; <br>&nbsp;&nbsp;= &nbsp; &lt;/map:match&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/map:pipeline&gt;<br><b= r><br>Any hints will be appreciated.&nbsp; Thanks.<br><br>Shailender<br></t= d></tr></table><br>=0A=0A --0-646834204-1249589089=:13318-- From [email protected] Fri Aug 07 08:32:30 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83783 invoked from network); 7 Aug 2009 08:32:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Aug 2009 08:32:30 -0000 Received: (qmail 77560 invoked by uid 500); 7 Aug 2009 08:32:36 -0000 Delivered-To: [email protected] Received: (qmail 77483 invoked by uid 500); 7 Aug 2009 08:32:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 77475 invoked by uid 99); 7 Aug 2009 08:32:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Aug 2009 08:32:35 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ew0-f211.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Aug 2009 08:32:24 +0000 Received: by ewy7 with SMTP id 7so1012636ewy.18 for <[email protected]>; Fri, 07 Aug 2009 01:32:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=5FlOxOQ24J+NFHgJDDk34s+Btsp3DBUkoqXKhGoy4d8=; b=h9DwE4Pf8gAMT3s7AMU08hTGC+S2ymPoOZ2UQT7sa2dlJHCWvZUAIldRnbGGsbCtNo Y/od+VlqGIW4pFIEVZss0J2fNcQy9HCRGaC18b1E9bpEqELsPzE+s6cRe2+/6sm/GBQu 6CvA+XSmMq45dMOqI6izc1qfKk5REFQN1YglA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=s2Em7F2uamZTx/WHZq73q+KiQ0MB9JpFgxK8boWNTYPyNNbamP3X+r46uvcrLaWcpK DUen5qErVCBR2Kk/Knl3FwvDxLjHl9MTlYJny7Shbwd/RN/wVqmjxxL5HkV9zqKqiN9h AreeCDHRHUt8FIyKySyIAAactG5oZ1zppGQCc= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id v8mr898459ebo.60.1249633922612; Fri, 07 Aug 2009 01:32:02 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Fri, 7 Aug 2009 09:32:02 +0100 Message-ID: <[email protected]> Subject: Re: Trouble with Dynamic Chart From: warrell harries <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0015174c11860e819f0470891260 X-Virus-Checked: Checked by ClamAV on apache.org --0015174c11860e819f0470891260 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Have you looked at FINS? http://www.lucamorandini.it/fins/faq.html 2009/8/6 sh kh <[email protected]> > I'm following the Cocoon 2.2 tutorial. I created a dynamic chart with a > java class implementing JFreeChart. I want to view the rendered chart in > cocoon. I'm using flowscript and map:read, but no luck. I get a message > saying the image contains errors when viewing src in Firefox ( I tested that > the chart does show up fine if I write it to an external file...I could link > to this file but would prefer not to write the chart to the disk). > > I followed the approach from a previous post in the mailing list ( > http://article.gmane.org/gmane.text.xml.cocoon.user/57199) > > Here is the relevant method to return InputStream in MyClass > > public MyClass { > > public static InputStream getInputStream() { > > (Code to create chart omitted...) > > ByteArrayOutputStream out = new ByteArrayOutputStream(); > JFreeChart chart = ChartFactory.createPieChart("Pie Chart", dataset, true, > true, false); > ChartUtilities.writeChartAsPNG(out, chart, 500, 300); > InputStream is = new ByteArrayInputStream(out.toByteArray()); > return is; > } > } > > Flowscript > > function demo() { > var inputstream = MyClass.getInputStream(); > cocoon.sendPage("screens/spring-bean", > {"inputstream": inputstream}); > } > > Sitemap: > > <map:pipeline> > <map:match pattern="spring-bean"> > <map:call function="demo"/> > </map:match> > </map:pipeline> > <map:pipeline id="demo-internal" internal-only="true"> > <!-- This pipeline is invoked by the above flowscript. --> > <map:match pattern="screens/spring-bean"> > <!-- doesn't make a difference if I remove type="image" from map:read --> > <map:read type="image" src="module:flow-attr:inputstream" > mime-type="image/png" /> > </map:match> > </map:pipeline> > > > Any hints will be appreciated. Thanks. > > Shailender > > --0015174c11860e819f0470891260 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Have you looked at FINS? <a href=3D"http://www.lucamorandini.it/fins/faq.ht= ml">http://www.lucamorandini.it/fins/faq.html</a><br><br><br><div class=3D"= gmail_quote">2009/8/6 sh kh <span dir=3D"ltr">&lt;<a href=3D"mailto:techlog= [email protected]">[email protected]</a>&gt;</span><br> <blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, = 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><table border=3D"= 0" cellpadding=3D"0" cellspacing=3D"0"><tbody><tr><td style=3D"font-family:= inherit; font-style: inherit; font-variant: inherit; font-weight: inherit;= font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-= stretch: inherit;" valign=3D"top"> I&#39;m following the Cocoon 2.2 tutorial.=A0 I created a dynamic chart wit= h a java class implementing JFreeChart.=A0 I want to view the rendered chart in cocoon. I&#39;m using flowscript and map:read, but no luck.=A0 I g= et a message saying the image contains errors when viewing src in Firefox ( I tested that the chart does show up fine if I write it to an external file...I could link to this file but would prefer not to write the= chart to the disk).=A0 <br> <br>I followed the approach from a previous post in the mailing list (<a hr= ef=3D"http://article.gmane.org/gmane.text.xml.cocoon.user/57199" target=3D"= _blank">http://article.gmane.org/gmane.text.xml.cocoon.user/57199</a>)<br> <br>Here is the relevant method to return InputStream in MyClass<br><br>pub= lic MyClass {<br><br>public static InputStream getInputStream() {<br><br>(C= ode to create chart omitted...)<br><br>ByteArrayOutputStream out =3D new By= teArrayOutputStream(); <br> JFreeChart chart =3D ChartFactory.createPieChart(&quot;Pie Chart&quot;, dat= aset, true, true, false);<br>ChartUtilities.writeChartAsPNG(out, chart, 500= , 300); <br>InputStream is =3D new ByteArrayInputStream(out.toByteArray());= <br> return is;<br>}<br>}<br><br>Flowscript<br><br>function demo() {=A0=A0 <br>= =A0=A0=A0 var inputstream =3D MyClass.getInputStream();<br>=A0=A0=A0 =A0=A0= =A0 cocoon.sendPage(&quot;screens/spring-bean&quot;,<br>=A0=A0=A0=A0=A0=A0= =A0 {&quot;inputstream&quot;: inputstream});<br> =A0=A0=A0 =A0=A0=A0 }<br><br>Sitemap:<br><br>=A0 &lt;map:pipeline&gt;<br>= =A0=A0=A0 &lt;map:match pattern=3D&quot;spring-bean&quot;&gt;<br>=A0=A0=A0= =A0=A0=A0=A0 &lt;map:call function=3D&quot;demo&quot;/&gt;<br>=A0=A0=A0 &lt= ;/map:match&gt;<br>=A0=A0 &lt;/map:pipeline&gt;<br> =A0=A0 &lt;map:pipeline id=3D&quot;demo-internal&quot; internal-only=3D&quo= t;true&quot;&gt;<br>=A0=A0=A0=A0=A0 &lt;!-- This pipeline is invoked by the= above flowscript. --&gt;<br>=A0=A0=A0=A0=A0 &lt;map:match pattern=3D&quot;= screens/spring-bean&quot;&gt;<br> &lt;!-- doesn&#39;t make a difference if I remove type=3D&quot;image&quot; = from map:read --&gt;<br> =A0=A0=A0 =A0 &lt;map:read type=3D&quot;image&quot; src=3D&quot;module:flow= -attr:inputstream&quot; mime-type=3D&quot;image/png&quot; /&gt; <br>=A0=A0= =A0 &lt;/map:match&gt;<br>=A0=A0=A0 &lt;/map:pipeline&gt;<br><br><br>Any hi= nts will be appreciated.=A0 Thanks.<br> <br>Shailender<br></td></tr></tbody></table><br> </blockquote></div><br> --0015174c11860e819f0470891260-- From [email protected] Fri Aug 07 10:42:22 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41976 invoked from network); 7 Aug 2009 10:42:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Aug 2009 10:42:21 -0000 Received: (qmail 34021 invoked by uid 500); 7 Aug 2009 10:42:28 -0000 Delivered-To: [email protected] Received: (qmail 33928 invoked by uid 500); 7 Aug 2009 10:42:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 33920 invoked by uid 99); 7 Aug 2009 10:42:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Aug 2009 10:42:27 +0000 X-ASF-Spam-Status: No, hits=3.4 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mx4.ciber-europe.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Aug 2009 10:42:15 +0000 Received: from eusex01.sweden.ecsoft ([161.129.204.104]) by mx4.ciber-europe.com with Microsoft SMTPSVC7404181820); Fri, 7 Aug 2009 12:41:53 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CA174B.AD553C73" Subject: adding expires headers with cocoon Date: Fri, 7 Aug 2009 12:45:13 +0200 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: adding expires headers with cocoon Thread-Index: AcoXTCT06/4SnMgoSPumyTrquhBzzQ== From: "Robby Pelssers" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 07 Aug 2009 10:41:53.0285 (UTC) FILETIME=[AD69AB50:01CA174B] X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01CA174B.AD553C73 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi guys, =20 I'm building a new cocoon app (cocoon2.2) and performance really comes into play so after reading http://developer.yahoo.com/performance/rules.html I'm trying to get an A-grade for all rules ;-)=20 =20 Now I'm focusing on "Add an expires or cache-control header" so I started googling around. I was reading this thread http://[email protected]/msg16951.html about adding support for settings expires headers. But reading the official cocoon documentation I did not found anything back. Does cocoon have built-in support to do so and are there examples/documentation of how to accomplish this? =20 And by the way... anyone who has experience with configuring ETags?? =20 Thx in advance, =20 Robby Pelssers ------_=_NextPart_001_01CA174B.AD553C73 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} h3 {mso-style-priority:9; mso-style-link:"Heading 3 Char"; mso-margin-top-alt:auto; margin-right:0cm; mso-margin-bottom-alt:auto; margin-left:0cm; font-size:13.5pt; font-family:"Times New Roman","serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Calibri","sans-serif"; color:windowtext;} span.Heading3Char {mso-style-name:"Heading 3 Char"; mso-style-priority:9; mso-style-link:"Heading 3"; font-family:"Times New Roman","serif"; font-weight:bold;} .MsoChpDefault {mso-style-type:export-only;} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal>Hi guys,<o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>I&#8217;m building a new cocoon app (cocoon2.2) and performance really comes into play so after reading <a href=3D"http://developer.yahoo.com/performance/rules.html">http://develop= er.yahoo.com/performance/rules.html</a>&nbsp; I&#8217;m trying to get an A-grade for all rules ;-) <o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>Now I&#8217;m focusing on &#8220;Add an expires or cache-control header&#8221; so I started googling around. &nbsp;I was = reading this thread <a href=3D"http://[email protected]/msg16951.ht= ml">http://[email protected]/msg16951.html</= a> about adding support for settings expires headers.&nbsp; But reading the official cocoon documentation I did not found anything back.&nbsp; Does = cocoon have built-in support to do so and are there examples/documentation of = how to accomplish this?<o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>And by the way&#8230; anyone who has experience = with configuring ETags??<o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>Thx in advance,<o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>Robby Pelssers<o:p></o:p></p> </div> </body> </html> ------_=_NextPart_001_01CA174B.AD553C73-- From [email protected] Fri Aug 07 12:53:57 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 75363 invoked from network); 7 Aug 2009 12:53:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Aug 2009 12:53:56 -0000 Received: (qmail 80964 invoked by uid 500); 7 Aug 2009 12:54:03 -0000 Delivered-To: [email protected] Received: (qmail 80885 invoked by uid 500); 7 Aug 2009 12:54:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 80877 invoked by uid 99); 7 Aug 2009 12:54:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Aug 2009 12:54:03 +0000 X-ASF-Spam-Status: No, hits=4.9 required=10.0 tests=HS_INDEX_PARAM,HTML_MESSAGE,SPF_NEUTRAL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mx4.ciber-europe.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Aug 2009 12:53:54 +0000 Received: from eusex01.sweden.ecsoft ([161.129.204.104]) by mx4.ciber-europe.com with Microsoft SMTPSVC7404181820); Fri, 7 Aug 2009 14:53:31 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CA175E.10E6A8F9" Subject: ERROR: multiple namespaces declared on same html element (when using formstransformer ??) Date: Fri, 7 Aug 2009 14:56:51 +0200 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: ERROR: multiple namespaces declared on same html element (when using formstransformer ??) Thread-Index: AcoXXoiAU9WjI3hAQu6LQrGMBoNxYg== X-Priority: 1 Priority: Urgent Importance: high From: "Robby Pelssers" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 07 Aug 2009 12:53:31.0287 (UTC) FILETIME=[10FD2270:01CA175E] X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01CA175E.10E6A8F9 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi all, =20 When running my cocoon Block on jetty (mvn jetty:run) everything runs just fine. When deploying to tomcat I get this strange problem that the "jx" namespace get's declared multiple times on the <html> root. I must say I upgraded to Saxon 161.129.204.104 and I declared 2 dependencies in my module: =20 <dependency> <groupId>net.sf.saxon</groupId> <artifactId>saxon</artifactId> <version>161.129.204.104</version> </dependency> <dependency> <groupId>net.sf.saxon</groupId> <artifactId>saxon-dom</artifactId> <version>161.129.204.104</version> </dependency> =20 =20 Did anybody encounter the same issue and what can be done to resolve this? =20 Ps. It only seems to happens on pages where I use the formstransformer which I setup as a service in another Cocoon block =20 Snippet sitemap block 1: =20 =20 <map:match pattern=3D"index.jx"> <map:generate src=3D"page/index.jx" type=3D"jx" = label=3D"indexjx"/> <map:transform type=3D"servletService" = label=3D"formstransformer"> <map:parameter name=3D"service" value=3D"servlet:shared:/formstransformer-service"/> </map:transform> =20 <map:serialize type=3D"html" /> </map:match> =20 Snippet sitemap block 2: =20 <map:match pattern=3D"formstransformer-service"> <map:generate src=3D"service-consumer:"/> <map:transform src=3D"resource/internal/xslt/forms-samples-styling.xsl"> <map:parameter name=3D"forms-resources" value=3D"{servlet:forms:/resource/external/forms}"/> <map:parameter name=3D"dojo-resources" value=3D"{servlet:ajax:/resource/external/dojo}"/> </map:transform> <map:serialize type=3D"xml"/> </map:match> =20 =20 Exception : =20 XML-parsefout: dubbel attribuut Locatie: http://localhost:8090/productinformation/producttransformer/index.html?c ocoon-view=3Dindexjx <http://localhost:8090/productinformation/producttransformer/index.html? cocoon-view=3Dindexjx>=20 =20 Regelnummer 91, kolom 62: =20 <html xmlns:jx=3D"http://apache.org/cocoon/templates/jx/1.0" xmlns:jx=3D"http://apache.org/cocoon/templates/jx/1.0" xmlns:jx=3D"http://apache.org/cocoon/templates/jx/1.0" xmlns:jx=3D"http://apache.org/cocoon/templates/jx/1.0" xmlns:jx=3D"http://apache.org/cocoon/templates/jx/1.0" xmlns:jx=3D"http://apache.org/cocoon/templates/jx/1.0" xmlns:jx=3D"http://apache.org/cocoon/templates/jx/1.0" xmlns:ft=3D"http://apache.org/cocoon/forms/1.0#template" xmlns:fi=3D"http://apache.org/cocoon/forms/1.0#instance" xmlns:bu=3D"http://apache.org/cocoon/browser-update/1.0" xmlns:jx=3D"http://apache.org/cocoon/templates/jx/1.0" xmlns:ft=3D"http://apache.org/cocoon/forms/1.0#template" xmlns:fi=3D"http://apache.org/cocoon/forms/1.0#instance"> -------------------------------------------------------------^ ------_=_NextPart_001_01CA175E.10E6A8F9 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Calibri","sans-serif"; color:windowtext;} .MsoChpDefault {mso-style-type:export-only;} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><span lang=3DNL>Hi all,<o:p></o:p></span></p> <p class=3DMsoNormal><span lang=3DNL><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal>When running my cocoon Block on jetty (mvn = jetty:run)&nbsp; everything runs just fine.&nbsp; &nbsp;&nbsp;When deploying to tomcat I = get this strange problem that the &#8220;jx&#8221; namespace get&#8217;s = declared multiple times on the &lt;html&gt; root.&nbsp; I must say I upgraded to = Saxon 161.129.204.104 and I declared 2 dependencies in my module:<o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt; font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;dependency&gt;<o:p></o:p></span></p> <p class=3DMsoNormal style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt; font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;groupId&gt;net.<u>sf</u>.<u>saxon</u>&lt;/groupId&gt;<o:p></o:p></spa= n></p> <p class=3DMsoNormal style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt; font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&lt;artifactId&gt;<u>saxon</u>&lt;/artifactId&gt;<o:p></o:p><= /span></p> <p class=3DMsoNormal style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt; font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;version&gt;161.129.204.104&lt;/version&gt;<o:p></o:p></span></p> <p class=3DMsoNormal style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt; font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;/dependency&gt;<o:p></o:p></span></p> <p class=3DMsoNormal style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt; font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;dependency&gt;<o:p></o:p></span></p> <p class=3DMsoNormal style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt; font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;groupId&gt;net.<u>sf</u>.<u>saxon</u>&lt;/groupId&gt;<o:p></o:p></spa= n></p> <p class=3DMsoNormal style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt; font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;artifactId&gt;<u>saxon</u>-<u>dom</u>&lt;/artifactId&gt;<o:p></o:p></= span></p> <p class=3DMsoNormal style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt; font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;version&gt;161.129.204.104&lt;/version&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Courier = New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/dependency&gt;&nbsp; <o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Courier New"'>Did anybody encounter the same issue and what can be done to resolve = this?<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Courier New"'>Ps.&nbsp; It only seems to happens on pages where I use the formstransformer which = I setup as a service in another Cocoon block<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p>&nbsp;</o:p></span></p> <div = style=3D'mso-element:para-border-div;border:none;border-bottom:solid = windowtext 1.0pt; padding:0cm 0cm 1.0pt 0cm'> <p class=3DMsoNormal style=3D'border:none;padding:0cm'><b><span = style=3D'font-size: 10.0pt;font-family:"Courier New"'>Snippet sitemap block = 1:<o:p></o:p></span></b></p> </div> <p class=3DMsoNormal><b><span = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p>&nbsp;</o:p></span></b></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt; font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;map:match = pattern=3D<i>&quot;index.jx&quot;</i>&gt;<o:p></o:p></span></p> <p class=3DMsoNormal style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt; font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;map:generate src=3D<i>&quot;page/index.jx&quot;</i> type=3D<i>&quot;jx&quot;</i> = label=3D<i>&quot;indexjx&quot;</i>/&gt;<o:p></o:p></span></p> <p class=3DMsoNormal style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt; font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;map:transform type=3D<i>&quot;servletService&quot;</i> = label=3D<i>&quot;formstransformer&quot;</i>&gt;<o:p></o:p></span></p> <p class=3DMsoNormal style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt; font-family:"Courier = New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;map:parameter name=3D<i>&quot;service&quot;</i> = value=3D<i>&quot;servlet:shared:/formstransformer-service&quot;</i>/&gt;<= o:p></o:p></span></p> <p class=3DMsoNormal style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt; font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;/map:transform&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></p> <p class=3DMsoNormal style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt; font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;map:serialize type=3D<i>&quot;html&quot;</i> /&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Courier = New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/map:match&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p>&nbsp;</o:p></span></p> <div = style=3D'mso-element:para-border-div;border:none;border-bottom:solid = windowtext 1.0pt; padding:0cm 0cm 1.0pt 0cm'> <p class=3DMsoNormal style=3D'border:none;padding:0cm'><b><span = style=3D'font-size: 10.0pt;font-family:"Courier New"'>Snippet sitemap block = 2:<o:p></o:p></span></b></p> </div> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt; font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;map:match = pattern=3D<i>&quot;formstransformer-service&quot;</i>&gt;<o:p></o:p></spa= n></p> <p class=3DMsoNormal style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt; font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;map:generate src=3D<i>&quot;service-consumer:&quot;</i>/&gt;<o:p></o:p></span></p> <p class=3DMsoNormal style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt; font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;map:transform src=3D<i>&quot;resource/internal/xslt/forms-samples-styling.xsl&quot;</i>= &gt;<o:p></o:p></span></p> <p class=3DMsoNormal style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt; font-family:"Courier = New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;map:parameter name=3D<i>&quot;forms-resources&quot;</i> = value=3D<i>&quot;{servlet:forms:/resource/external/forms}&quot;</i>/&gt;<= o:p></o:p></span></p> <p class=3DMsoNormal style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt; font-family:"Courier = New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;map:parameter name=3D<i>&quot;dojo-resources&quot;</i> = value=3D<i>&quot;{servlet:ajax:/resource/external/dojo}&quot;</i>/&gt;<o:= p></o:p></span></p> <p class=3DMsoNormal style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt; font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;/map:transform&gt;<o:p></o:p></span></p> <p class=3DMsoNormal style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt; font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;map:serialize type=3D<i>&quot;xml&quot;</i>/&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Courier = New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/map:match&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <div = style=3D'mso-element:para-border-div;border:none;border-bottom:solid = windowtext 1.0pt; padding:0cm 0cm 1.0pt 0cm'> <p class=3DMsoNormal style=3D'border:none;padding:0cm'><b>Exception = :<o:p></o:p></b></p> </div> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>XML-parsefout: dubbel attribuut<o:p></o:p></p> <p class=3DMsoNormal><span lang=3DNL>Locatie: </span><a href=3D"http://localhost:8090/productinformation/producttransformer/index= .html?cocoon-view=3Dindexjx"><span lang=3DNL>http://localhost:8090/productinformation/producttransformer/ind= ex.html?cocoon-view=3Dindexjx</span></a><span lang=3DNL><o:p></o:p></span></p> <p class=3DMsoNormal><span lang=3DNL><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal>Regelnummer 91, kolom 62:&nbsp; <o:p></o:p></p> <p class=3DMsoNormal>&lt;html xmlns:jx=3D&quot;http://apache.org/cocoon/templates/jx/1.0&quot; xmlns:jx=3D&quot;http://apache.org/cocoon/templates/jx/1.0&quot; xmlns:jx=3D&quot;http://apache.org/cocoon/templates/jx/1.0&quot; xmlns:jx=3D&quot;http://apache.org/cocoon/templates/jx/1.0&quot; xmlns:jx=3D&quot;http://apache.org/cocoon/templates/jx/1.0&quot; xmlns:jx=3D&quot;http://apache.org/cocoon/templates/jx/1.0&quot; xmlns:jx=3D&quot;http://apache.org/cocoon/templates/jx/1.0&quot; xmlns:ft=3D&quot;http://apache.org/cocoon/forms/1.0#template&quot; xmlns:fi=3D&quot;http://apache.org/cocoon/forms/1.0#instance&quot; xmlns:bu=3D&quot;http://apache.org/cocoon/browser-update/1.0&quot; xmlns:jx=3D&quot;http://apache.org/cocoon/templates/jx/1.0&quot; xmlns:ft=3D&quot;http://apache.org/cocoon/forms/1.0#template&quot; xmlns:fi=3D&quot;http://apache.org/cocoon/forms/1.0#instance&quot;&gt;<o:= p></o:p></p> <p = class=3DMsoNormal>-------------------------------------------------------= ------^<o:p></o:p></p> </div> </body> </html> ------_=_NextPart_001_01CA175E.10E6A8F9-- From [email protected] Fri Aug 07 15:11:35 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 34998 invoked from network); 7 Aug 2009 15:11:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Aug 2009 15:11:35 -0000 Received: (qmail 45632 invoked by uid 500); 7 Aug 2009 15:11:41 -0000 Delivered-To: [email protected] Received: (qmail 45556 invoked by uid 500); 7 Aug 2009 15:11:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 45548 invoked by uid 99); 7 Aug 2009 15:11:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Aug 2009 15:11:41 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO web112518.mail.gq1.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 07 Aug 2009 15:11:30 +0000 Received: (qmail 68774 invoked by uid 60001); 7 Aug 2009 15:11:10 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1249657870; bh=XtHXIFk+qGlimfc1R/3WxqXtbznA/eOegFSP7TX70jw=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=N81HAafk1FrrP1I21GcM+DhjRixvYJYbK6pG9V0alN0NU99CYQTU0FJBcbOO9IA0Ru8I2KJ5ND5Gqmeaj7bLk1AHyP/+93zP3F/G2nbwVtCavOHHvAdNs1+1quh2G5ICrJnSQSjlefwldCSosNvMmH54l5UDPYhikcDO0ZS1naM= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=Cw39a+zkyBUbgsp3CJf+V/7IwlwUrDg208GHoyNSaY2PT+iPOGQ7f+Q9bbTansRe7DoliskdsVJrhY+dHBnaFA6ZN/gnUW1GxcOe5z+los6ylV8W9L3see0C2qGauT5vuqElxDyt5VF2MqpPxrYllALXTMLukA8WB85ZaEOkONE=; Message-ID: <[email protected]> X-YMail-OSG: MIvBC9sVM1kLuCSQTM9NsY2WBGbBRgp8xO5K_ZRmXbfdY1TySTtxcivq3kV0hX3FZ8Rcr.CUIbJyNa25Lw0PeJgj2OUKXGWH89Q1G6C5sl1ZUGceYOxfKKNM0y0nA4IE9UfWmPz6wH_vOju7wvmRxu2UZRzyc0RJLpQRIT6ch0JarG0J.StcDhzWiQ9OYR6hK94eq3WFlZaeOMx09vgr4WxHba00PkF9BDJKeTadZ1faErKKsAyRKmKOWx5mtUWsT43WXdny6IJ2UKkE_TptS._l5XOItmrDWX8cUTbgdJRZs4iUiXPBsQ-- Received: from [161.129.204.104] by web112518.mail.gq1.yahoo.com via HTTP; Fri, 07 Aug 2009 08:11:09 PDT X-Mailer: YahooMailClassic/6.1.2 YahooMailWebService/0.7.289.15 Date: Fri, 7 Aug 2009 08:11:09 -0700 (PDT) From: sh kh <[email protected]> Subject: Re: Trouble with Dynamic Chart To: [email protected] In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-894783782-1249657869=:67888" X-Virus-Checked: Checked by ClamAV on apache.org --0-894783782-1249657869=:67888 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Thanks.=A0 I did look at FINS and may eventually go that way (it needs both= data and configuration in XML format, whereas this approach can work direc= tly with JFreeChart configuration options and retrieving data directly from= database, which is what I'm doing).=20 However, I'm still puzzled why InputStream will not be rendered properly.= =A0 I also tried getting chart output as byte array instead of inputstream,= and feeding that into map:read...that doesn't work either.=A0 Perhaps I'm = missing some configuration option in reader..... Shailender --- On Fri, 8/7/09, warrell harries <[email protected]> wrote: From: warrell harries <[email protected]> Subject: Re: Trouble with Dynamic Chart To: [email protected] Date: Friday, August 7, 2009, 4:32 AM Have you looked at FINS? http://www.lucamorandini.it/fins/faq.html 2009/8/6 sh kh <[email protected]> =0A=0AI'm following the Cocoon 2.2 tutorial.=A0 I created a dynamic chart w= ith=0Aa java class implementing JFreeChart.=A0 I want to view the rendered= =0Achart in cocoon. I'm using flowscript and map:read, but no luck.=A0 I ge= t=0Aa message saying the image contains errors when viewing src in Firefox= =0A( I tested that the chart does show up fine if I write it to an=0Aextern= al file...I could link to this file but would prefer not to write the chart= to the disk).=A0=20 =0A I followed the approach from a previous post in the mailing list (http://ar= ticle.gmane.org/gmane.text.xml.cocoon.user/57199) =0A=0A=0A Here is the relevant method to return InputStream in MyClass public MyClass { public static InputStream getInputStream() { (Code to create chart omitted...) ByteArrayOutputStream out =3D new ByteArrayOutputStream();=20 =0A=0A=0A=0AJFreeChart chart =3D ChartFactory.createPieChart("Pie Chart", d= ataset, true, true, false); ChartUtilities.writeChartAsPNG(out, chart, 500, 300);=20 InputStream is =3D new ByteArrayInputStream(out.toByteArray()); =0A=0A=0A=0Areturn is; } } Flowscript function demo() {=A0=A0=20 =A0=A0=A0 var inputstream =3D MyClass.getInputStream(); =A0=A0=A0 =A0=A0=A0 cocoon.sendPage("screens/spring-bean", =A0=A0=A0=A0=A0=A0=A0 {"inputstream": inputstream}); =0A=0A=0A=0A=A0=A0=A0 =A0=A0=A0 } Sitemap: =A0 <map:pipeline> =A0=A0=A0 <map:match pattern=3D"spring-bean"> =A0=A0=A0=A0=A0=A0=A0 <map:call function=3D"demo"/> =A0=A0=A0 </map:match> =A0=A0 </map:pipeline> =0A=0A=0A=0A=A0=A0 <map:pipeline id=3D"demo-internal" internal-only=3D"true= "> =A0=A0=A0=A0=A0 <!-- This pipeline is invoked by the above flowscript. --> =A0=A0=A0=A0=A0 <map:match pattern=3D"screens/spring-bean"> =0A=0A<!-- doesn't make a difference if I remove type=3D"image" from map:re= ad --> =0A=0A=A0=A0=A0 =A0 <map:read type=3D"image" src=3D"module:flow-attr:inputs= tream" mime-type=3D"image/png" />=20 =A0=A0=A0 </map:match> =A0=A0=A0 </map:pipeline> Any hints will be appreciated.=A0 Thanks. =0A Shailender =0A=0A =20 =0A=0A=0A=0A --0-894783782-1249657869=:67888 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable <table cellspacing=3D"0" cellpadding=3D"0" border=3D"0" ><tr><td valign=3D"= top" style=3D"font: inherit;">Thanks.&nbsp; I did look at FINS and may even= tually go that way (it needs both data and configuration in XML format, whe= reas this approach can work directly with JFreeChart configuration options = and retrieving data directly from database, which is what I'm doing). <br><= br>However, I'm still puzzled why InputStream will not be rendered properly= .&nbsp; I also tried getting chart output as byte array instead of inputstr= eam, and feeding that into map:read...that doesn't work either.&nbsp; Perha= ps I'm missing some configuration option in reader.....<br><br>Shailender<b= r><br>--- On <b>Fri, 8/7/09, warrell harries <i>&lt;warrell.harries@googlem= ail.com&gt;</i></b> wrote:<br><blockquote style=3D"border-left: 2px solid r= gb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: warrell ha= rries &lt;[email protected]&gt;<br>Subject: Re: Trouble with Dynamic Chart<br>To: [email protected]<br>Date: Friday, August 7, 20= 09, 4:32 AM<br><br><div id=3D"yiv387272448">Have you looked at FINS? <a rel= =3D"nofollow" target=3D"_blank" href=3D"http://www.lucamorandini.it/fins/fa= q.html">http://www.lucamorandini.it/fins/faq.html</a><br><br><br><div class= =3D"gmail_quote">2009/8/6 sh kh <span dir=3D"ltr">&lt;<a rel=3D"nofollow" y= mailto=3D"mailto:[email protected]" target=3D"_blank" href=3D"/mc/compo= [email protected]">[email protected]</a>&gt;</span><br>=0A<= blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 2= 04, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><table border=3D"0= " cellpadding=3D"0" cellspacing=3D"0"><tbody><tr><td style=3D"font-family: = inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; = font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-s= tretch: inherit;" valign=3D"top">=0AI'm following the Cocoon 2.2 tutorial.&= nbsp; I created a dynamic chart with=0Aa java class implementing JFreeChart= .&nbsp; I want to view the rendered=0Achart in cocoon. I'm using flowscript= and map:read, but no luck.&nbsp; I get=0Aa message saying the image contai= ns errors when viewing src in Firefox=0A( I tested that the chart does show= up fine if I write it to an=0Aexternal file...I could link to this file bu= t would prefer not to write the chart to the disk).&nbsp; <br>=0A<br>I foll= owed the approach from a previous post in the mailing list (<a rel=3D"nofol= low" target=3D"_blank" href=3D"http://article.gmane.org/gmane.text.xml.coco= on.user/57199">http://article.gmane.org/gmane.text.xml.cocoon.user/57199</a= >)<br>=0A=0A=0A<br>Here is the relevant method to return InputStream in MyC= lass<br><br>public MyClass {<br><br>public static InputStream getInputStrea= m() {<br><br>(Code to create chart omitted...)<br><br>ByteArrayOutputStream= out =3D new ByteArrayOutputStream(); <br>=0A=0A=0A=0AJFreeChart chart =3D = ChartFactory.createPieChart("Pie Chart", dataset, true, true, false);<br>Ch= artUtilities.writeChartAsPNG(out, chart, 500, 300); <br>InputStream is =3D = new ByteArrayInputStream(out.toByteArray());<br>=0A=0A=0A=0Areturn is;<br>}= <br>}<br><br>Flowscript<br><br>function demo() {&nbsp;&nbsp; <br>&nbsp;&nbs= p;&nbsp; var inputstream =3D MyClass.getInputStream();<br>&nbsp;&nbsp;&nbsp= ; &nbsp;&nbsp;&nbsp; cocoon.sendPage("screens/spring-bean",<br>&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {"inputstream": inputstream});<br>=0A=0A=0A= =0A&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br><br>Sitemap:<br><br>&nbsp; &l= t;map:pipeline&gt;<br>&nbsp;&nbsp;&nbsp; &lt;map:match pattern=3D"spring-be= an"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;map:call function= =3D"demo"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/map:match&gt;<br>&nbsp;&nbsp; &lt= ;/map:pipeline&gt;<br>=0A=0A=0A=0A&nbsp;&nbsp; &lt;map:pipeline id=3D"demo-= internal" internal-only=3D"true"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;= !-- This pipeline is invoked by the above flowscript. --&gt;<br>&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp; &lt;map:match pattern=3D"screens/spring-bean"&gt;<br>= =0A=0A&lt;!-- doesn't make a difference if I remove type=3D"image" from map= :read --&gt;<br>=0A=0A&nbsp;&nbsp;&nbsp; &nbsp; &lt;map:read type=3D"image"= src=3D"module:flow-attr:inputstream" mime-type=3D"image/png" /&gt; <br>&nb= sp;&nbsp;&nbsp; &lt;/map:match&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/map:pipeline&= gt;<br><br><br>Any hints will be appreciated.&nbsp; Thanks.<br>=0A<br>Shail= ender<br></td></tr></tbody></table><br>=0A=0A </blockquote></div><br>= =0A</div></blockquote></td></tr></table><br>=0A=0A --0-894783782-1249657869=:67888-- From [email protected] Sat Aug 08 23:45:02 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12212 invoked from network); 8 Aug 2009 23:45:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Aug 2009 23:45:01 -0000 Received: (qmail 17675 invoked by uid 500); 8 Aug 2009 23:45:08 -0000 Delivered-To: [email protected] Received: (qmail 17595 invoked by uid 500); 8 Aug 2009 23:45:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 17587 invoked by uid 99); 8 Aug 2009 23:45:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Aug 2009 23:45:07 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO web112501.mail.gq1.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 08 Aug 2009 23:44:57 +0000 Received: (qmail 16742 invoked by uid 60001); 8 Aug 2009 23:44:36 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1249775076; bh=61Mw2PCjKaqw6FUr669spAceTcVrzXBN6WdWbO2AzU4=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=VXqTUMqn4QFzy7+SyMtPd4cAaqbnAuSR3GCUEYp29ANjfr29BukSREjnUPLOftmmtC/n+13YQ9KYoJjCRD82nbr7Ep1d6M3OXBqfw0sDncZ4nLAixq0JzwnX1nwx19FEnjjitOhv9lGVbmwZK6lO7ehHIzR0Aaoj6aaY7UW7e7k= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=6Ehc3Mo+uhTzv9WZucFXBi+PFmR00fOrsT1P4S0DaljPvaAEePGkgMtRpGP8GmECC0m6E0dGWemlaqvD7NsIEWtw5cDhnm3326O4cpyrZPPfF1AzuQydq8KVqfLEXuWTCcmoqGzBDaRm9AOev0dfVtNhG0K6nFQuo76GbXzkYJg=; Message-ID: <[email protected]> X-YMail-OSG: LulU.SUVM1mMR88cEL1zp9ee1wTxLWu5Tpp.hzmO26t0.hbwVFfEravLkrKqSLHuxwuq3INiNYuXxAdQlljnTFNC9xVZz89L6ANL1DzHvDIVUBPlFERTxgwn8CIhdChyUa7Fs1OUh4dC9v7o3t4oIXT52EzvgwRsA1W.al59rgU6BthDRF8Dm4Npb91tbQeEwI2THaRCPn7RHmD2TQQMTW43Yk_rzAU6BN8_nPn6pdYuShLb_0s.rrHskVOw5sz7TKfY5ZlHbd9x.GlKf0H.D0TkRfA0nlekC4ygCp7gVJiIMpOIlw-- Received: from [161.129.204.104] by web112501.mail.gq1.yahoo.com via HTTP; Sat, 08 Aug 2009 16:44:35 PDT X-Mailer: YahooMailClassic/6.1.2 YahooMailWebService/0.7.289.15 Date: Sat, 8 Aug 2009 16:44:35 -0700 (PDT) From: sh kh <[email protected]> Subject: Re: Trouble with Dynamic Chart To: [email protected] MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-469394763-1249775075=:16440" X-Virus-Checked: Checked by ClamAV on apache.org --0-469394763-1249775075=:16440 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Seems like InputStream is getting converted to string. Response header from browser: X-Cocoon-Version: 2.2.0 Accept-Ranges: bytes Content-Type: image/png Content-Length: 36 Server: Jetty(6.1.7) 200 OK The Content-Length: 36 is same as output of System.out.println(is.toString(= ).length()) - where "is" is InputStream. I also get a warning at console when starting jetty. [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resour= ces, i.e. build is platform dependent! Not sure if this warning is relevant. Has anyone encountered similar issue or has a suggestion? --- On Fri, 8/7/09, sh kh <[email protected]> wrote: From: sh kh <[email protected]> Subject: Re: Trouble with Dynamic Chart To: [email protected] Date: Friday, August 7, 2009, 11:11 AM Thanks.=A0 I did look at FINS and may eventually go that way (it needs both= data and configuration in XML format, whereas this approach can work direc= tly with JFreeChart configuration options and retrieving data directly from= database, which is what I'm doing).=20 However, I'm still puzzled why InputStream will not be rendered properly.= =A0 I also tried getting chart output as byte array instead of inputstream,= and feeding that into map:read...that doesn't work=0A either.=A0 Perhaps I= 'm missing some configuration option in reader..... Shailender --- On Fri, 8/7/09, warrell harries <[email protected]> wrote: From: warrell=0A harries <[email protected]> Subject: Re: Trouble with=0A Dynamic Chart To: [email protected] Date: Friday, August 7, 2009, 4:32 AM Have you looked at FINS? http://www.lucamorandini.it/fins/faq.html 2009/8/6 sh kh <[email protected]> =0A=0AI'm following the Cocoon 2.2 tutorial.=A0 I created a dynamic chart w= ith=0Aa java class implementing JFreeChart.=A0 I want to view the rendered= =0Achart in cocoon. I'm using flowscript and map:read, but no luck.=A0 I ge= t=0Aa message saying the image contains errors when viewing src in Firefox= =0A( I tested that the chart does show up fine if I write it to an=0Aextern= al file...I could link to this file but would prefer not to write the chart= to the disk).=A0=20 =0A I followed the approach from a previous post in the mailing list (http://ar= ticle.gmane.org/gmane.text.xml.cocoon.user/57199) =0A=0A=0A Here is the relevant method to return InputStream in MyClass public MyClass { public static InputStream getInputStream() { (Code to create chart omitted...) ByteArrayOutputStream out =3D new ByteArrayOutputStream();=20 =0A=0A=0A=0AJFreeChart chart =3D ChartFactory.createPieChart("Pie Chart", d= ataset, true, true, false); ChartUtilities.writeChartAsPNG(out, chart, 500, 300);=20 InputStream is =3D new ByteArrayInputStream(out.toByteArray()); =0A=0A=0A=0Areturn is; } } Flowscript function demo() {=A0=A0=20 =A0=A0=A0 var inputstream =3D MyClass.getInputStream(); =A0=A0=A0 =A0=A0=A0 cocoon.sendPage("screens/spring-bean", =A0=A0=A0=A0=A0=A0=A0 {"inputstream": inputstream}); =0A=0A=0A=0A=A0=A0=A0 =A0=A0=A0 } Sitemap: =A0 <map:pipeline> =A0=A0=A0 <map:match pattern=3D"spring-bean"> =A0=A0=A0=A0=A0=A0=A0 <map:call function=3D"demo"/> =A0=A0=A0 </map:match> =A0=A0 </map:pipeline> =0A=0A=0A=0A=A0=A0 <map:pipeline id=3D"demo-internal" internal-only=3D"true= "> =A0=A0=A0=A0=A0 <!-- This pipeline is invoked by the above flowscript. --> =A0=A0=A0=A0=A0 <map:match pattern=3D"screens/spring-bean"> =0A=0A<!-- doesn't make a difference if I remove type=3D"image" from map:re= ad --> =0A=0A=A0=A0=A0 =A0 <map:read type=3D"image" src=3D"module:flow-attr:inputs= tream" mime-type=3D"image/png" />=20 =A0=A0=A0 </map:match> =A0=A0=A0 </map:pipeline> Any hints will be appreciated.=A0 Thanks. =0A Shailender =0A=0A =20 =0A =0A=0A =0A=0A=0A --0-469394763-1249775075=:16440 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable <table cellspacing=3D"0" cellpadding=3D"0" border=3D"0" ><tr><td valign=3D"= top" style=3D"font: inherit;"><div id=3D"yiv1015597855"><div id=3D"yiv55106= 2451">Seems like InputStream is getting converted to string.<br><br>Respons= e header from browser:<br><pre>X-Cocoon-Version: 2.2.0<br>Accept-Ranges: by= tes<br>Content-Type: image/png<br>Content-Length: 36<br>Server: Jetty(6.1.7= )<br><br>200 OK<br><br>The Content-Length: 36 is same as output of System.o= ut.println(is.toString().length()) - where "is" is InputStream.<br></pre>I = also get a warning at console when starting jetty.<br>[WARNING] Using platf= orm encoding (Cp1252 actually) to copy filtered resources,<br>i.e. build is= platform dependent!<br><br>Not sure if this warning is relevant.<br><br>Ha= s anyone encountered similar issue or has a suggestion?<br><br>--- On <b>Fr= i, 8/7/09, sh kh <i>&lt;[email protected]&gt;</i></b> wrote:<br><blockq= uote style=3D"border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: sh kh &lt;[email protected]&gt;<br>Subje= ct: Re: Trouble with Dynamic Chart<br>To: [email protected]<br>Date: = Friday, August 7, 2009, 11:11 AM<br><br><div id=3D"yiv2026680663"><table bo= rder=3D"0" cellpadding=3D"0" cellspacing=3D"0"><tbody><tr><td style=3D"font= -family: inherit; font-style: inherit; font-variant: inherit; font-weight: = inherit; font-size: inherit; line-height: inherit; font-size-adjust: inheri= t; font-stretch: inherit;" valign=3D"top">Thanks.&nbsp; I did look at FINS = and may eventually go that way (it needs both data and configuration in XML= format, whereas this approach can work directly with JFreeChart configurat= ion options and retrieving data directly from database, which is what I'm d= oing). <br><br>However, I'm still puzzled why InputStream will not be rende= red properly.&nbsp; I also tried getting chart output as byte array instead= of inputstream, and feeding that into map:read...that doesn't work=0A eith= er.&nbsp; Perhaps I'm missing some configuration option in reader.....<br><= br>Shailender<br><br>--- On <b>Fri, 8/7/09, warrell harries <i>&lt;warrell.= [email protected]&gt;</i></b> wrote:<br><blockquote style=3D"border-le= ft: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>F= rom: warrell=0A harries &lt;[email protected]&gt;<br>Subject: = Re: Trouble with=0A Dynamic Chart<br>To: [email protected]<br>Date: F= riday, August 7, 2009, 4:32 AM<br><br><div id=3D"yiv387272448">Have you loo= ked at FINS? <a rel=3D"nofollow" target=3D"_blank" href=3D"http://www.lucam= orandini.it/fins/faq.html">http://www.lucamorandini.it/fins/faq.html</a><br= ><br><br><div class=3D"gmail_quote">2009/8/6 sh kh <span dir=3D"ltr">&lt;<a= rel=3D"nofollow">[email protected]</a>&gt;</span><br>=0A<blockquote cl= ass=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 204, 204); mar= gin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><table border=3D"0" cellpadding= =3D"0" cellspacing=3D"0"><tbody><tr><td style=3D"font-family: inherit; font= -style: inherit; font-variant: inherit; font-weight: inherit; font-size: in= herit; line-height: inherit; font-size-adjust: inherit; font-stretch: inher= it;" valign=3D"top">=0AI'm following the Cocoon 2.2 tutorial.&nbsp; I creat= ed a dynamic chart with=0Aa java class implementing JFreeChart.&nbsp; I wan= t to view the rendered=0Achart in cocoon. I'm using flowscript and map:read= , but no luck.&nbsp; I get=0Aa message saying the image contains errors whe= n viewing src in Firefox=0A( I tested that the chart does show up fine if I= write it to an=0Aexternal file...I could link to this file but would prefe= r not to write the chart to the disk).&nbsp; <br>=0A<br>I followed the appr= oach from a previous post in the mailing list (<a rel=3D"nofollow" target= =3D"_blank" href=3D"http://article.gmane.org/gmane.text.xml.cocoon.user/571= 99">http://article.gmane.org/gmane.text.xml.cocoon.user/57199</a>)<br>=0A= =0A=0A<br>Here is the relevant method to return InputStream in MyClass<br><= br>public MyClass {<br><br>public static InputStream getInputStream() {<br>= <br>(Code to create chart omitted...)<br><br>ByteArrayOutputStream out =3D = new ByteArrayOutputStream(); <br>=0A=0A=0A=0AJFreeChart chart =3D ChartFact= ory.createPieChart("Pie Chart", dataset, true, true, false);<br>ChartUtilit= ies.writeChartAsPNG(out, chart, 500, 300); <br>InputStream is =3D new ByteA= rrayInputStream(out.toByteArray());<br>=0A=0A=0A=0Areturn is;<br>}<br>}<br>= <br>Flowscript<br><br>function demo() {&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; = var inputstream =3D MyClass.getInputStream();<br>&nbsp;&nbsp;&nbsp; &nbsp;&= nbsp;&nbsp; cocoon.sendPage("screens/spring-bean",<br>&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp; {"inputstream": inputstream});<br>=0A=0A=0A=0A&nbsp;&= nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br><br>Sitemap:<br><br>&nbsp; &lt;map:pipe= line&gt;<br>&nbsp;&nbsp;&nbsp; &lt;map:match pattern=3D"spring-bean"&gt;<br= >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;map:call function=3D"demo"/= &gt;<br>&nbsp;&nbsp;&nbsp; &lt;/map:match&gt;<br>&nbsp;&nbsp; &lt;/map:pipe= line&gt;<br>=0A=0A=0A=0A&nbsp;&nbsp; &lt;map:pipeline id=3D"demo-internal" = internal-only=3D"true"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- This p= ipeline is invoked by the above flowscript. --&gt;<br>&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp; &lt;map:match pattern=3D"screens/spring-bean"&gt;<br>=0A=0A&lt;!-= - doesn't make a difference if I remove type=3D"image" from map:read --&gt;= <br>=0A=0A&nbsp;&nbsp;&nbsp; &nbsp; &lt;map:read type=3D"image" src=3D"modu= le:flow-attr:inputstream" mime-type=3D"image/png" /&gt; <br>&nbsp;&nbsp;&nb= sp; &lt;/map:match&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/map:pipeline&gt;<br><br><= br>Any hints will be appreciated.&nbsp; Thanks.<br>=0A<br>Shailender<br></t= d></tr></tbody></table><br>=0A=0A </blockquote></div><br>=0A</div></bl= ockquote></td></tr></tbody></table><br>=0A=0A </div></blockquote></div= ></div></td></tr></table><br>=0A=0A --0-469394763-1249775075=:16440-- From [email protected] Tue Aug 11 11:10:16 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85518 invoked from network); 11 Aug 2009 11:10:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Aug 2009 11:10:16 -0000 Received: (qmail 53515 invoked by uid 500); 11 Aug 2009 11:10:22 -0000 Delivered-To: [email protected] Received: (qmail 53434 invoked by uid 500); 11 Aug 2009 11:10:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 53425 invoked by uid 99); 11 Aug 2009 11:10:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Aug 2009 11:10:22 +0000 X-ASF-Spam-Status: No, hits=2.8 required=10.0 tests=HTML_FONT_FACE_BAD,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.webflex.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Aug 2009 11:10:08 +0000 Received: from strega.tech.everett.it ([161.129.204.104]) by roadland.blue.webflex.net (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) with ESMTPSA id <[email protected]> for [email protected]; Tue, 11 Aug 2009 13:09:48 +0200 (CEST) Date: Tue, 11 Aug 2009 13:09:46 +0200 From: =?ISO-8859-1?Q?Francesco_Chicchiricc=F2?= <[email protected]> Subject: Cocoon as a JSR-168 portlet To: [email protected] Message-id: <[email protected]> MIME-version: 1.0 X-Mailer: Apple Mail (2.936) Content-type: multipart/alternative; boundary="Boundary_(ID_v+7nrBsSbWXU3jpqNEkTCQ)" X-Virus-Checked: Checked by ClamAV on apache.org --Boundary_(ID_v+7nrBsSbWXU3jpqNEkTCQ) Content-type: text/plain; charset=UTF-8; format=flowed; delsp=yes Content-transfer-encoding: quoted-printable Hi gents, I have been recently playing with Cocoon 2.1 in a JSR-168 portlet =20 environment; here it follows my experience. I started from the wiki page at [1]: rather good, even though quite =20 bound to pluto 1.0. I could easily adapt the procedure to Open Portlet =20= Container [2] and Sun Portal Server; unfortunately, when it comes to =20 CForms, the only pointer is [3], very out of date nowadays. The main issue in CForms is related to the fact that also [2] points =20 out: Portlet's ActionRequest can not have any response body. After =20 some struggling, I found the solution by modifying Form.js' =20 sendFormAndWait() to be able to cope with the former issue. Another smaller issue is related to resources URI (for CSS and JS) =20 that must be adapted and rewritten by the LinkRewriter in order to be =20= effective. A couple of improvements that I also needed are: a mean to access to portlet preferences (I've developed a simple =20 Action for this purpose) a mean to access to cookies (as already proposed in [4]) If this can be of any interest, please let me know and I will be happy =20= to share my code. Cheers. [1] http://wiki.apache.org/cocoon/CocoonAppAsJSR168Portlet [2] https://portlet-container.dev.java.net/ [3] http://blog.reverycodes.com/archives/000018.html [4] http://issues.apache.org/jira/browse/COCOON-2072 --=20 Francesco Chicchiricc=C3=B2 Delivery Manager everett Italia =E2=96=B8 TRUSTED TO KNOW Head Office Via Torino, 2 - 20123 Milano - Italia Tel: 7404181820 Fax: 7404181820 Technology Centre Via Federico Fellini, 2 G2/1 - 65010 Spoltore (PE) - Italia Tel: 7404181820 / 7404181820 Fax: 7404181820 / 7404181820 Mob: 7404181820 e-mail: [email protected] Web: http://www.everett.it --Boundary_(ID_v+7nrBsSbWXU3jpqNEkTCQ) Content-type: text/html; charset=UTF-8 Content-transfer-encoding: quoted-printable <html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = -webkit-line-break: after-white-space; "><div>Hi gents,</div><div>I have = been recently playing with Cocoon 2.1 in a JSR-168 portlet environment; = here it follows my experience.</div><div><br></div><div>I started from = the wiki page at [1]: rather good, even though quite bound to pluto 1.0. = I could easily adapt the procedure to Open Portlet Container [2] and Sun = Portal Server; unfortunately, when it comes to CForms, the only pointer = is [3], very out of date = nowadays.</div><div><br></div><div>The&nbsp;main&nbsp;issue&nbsp;in = CForms&nbsp;is&nbsp;related&nbsp;to&nbsp;the&nbsp;fact&nbsp;that&nbsp;also= &nbsp;[2]&nbsp;points&nbsp;out:&nbsp;Portlet's ActionRequest can not = have any response = body.&nbsp;After&nbsp;some&nbsp;struggling,&nbsp;I&nbsp;found&nbsp;the&nbs= p;solution&nbsp;by&nbsp;modifying&nbsp;Form.js'&nbsp;sendFormAndWait()&nbs= p;to&nbsp;be&nbsp;able&nbsp;to&nbsp;cope&nbsp;with&nbsp;the&nbsp;former&nb= sp;issue.</div><div>Another smaller issue is related to resources URI = (for CSS and JS) that must be adapted and rewritten by the LinkRewriter = in order to be effective.</div><div><br></div><div>A couple of = improvements that I also needed are:</div><div><ul = class=3D"MailOutline"><li>a mean to access to portlet preferences (I've = developed a simple Action for this purpose)</li><li>a mean to access to = cookies (as already proposed in = [4])</li></ul></div><div><br></div><div>If this can be of any interest, = please let me know and I will be happy to share my = code.</div><div>Cheers.</div><div><br></div>[1]&nbsp;<a = href=3D"http://wiki.apache.org/cocoon/CocoonAppAsJSR168Portlet">http://wik= i.apache.org/cocoon/CocoonAppAsJSR168Portlet</a><div>[2]&nbsp;<a = href=3D"https://portlet-container.dev.java.net/">https://portlet-container= .dev.java.net/</a><br><div>[3]&nbsp;<a = href=3D"http://blog.reverycodes.com/archives/000018.html">http://blog.reve= rycodes.com/archives/000018.html</a><br><div>[4]&nbsp;<a = href=3D"http://issues.apache.org/jira/browse/COCOON-2072">http://issues.ap= ache.org/jira/browse/COCOON-2072</a><br><div> <span = class=3D"Apple-style-span" style=3D"font-size: 13px; "><div = style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = -webkit-line-break: after-white-space; "><span class=3D"Apple-style-span" = style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: = 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: = normal; font-weight: normal; letter-spacing: normal; line-height: = normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: = normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: = 0px; -webkit-border-vertical-spacing: 0px; = -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = auto; -webkit-text-stroke-width: 0px; "><div style=3D"word-wrap: = break-word; -webkit-nbsp-mode: space; -webkit-line-break: = after-white-space; "><span class=3D"Apple-style-span" = style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: = 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: = normal; font-weight: normal; letter-spacing: normal; line-height: = normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: = normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: = 0px; -webkit-border-vertical-spacing: 0px; = -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = auto; -webkit-text-stroke-width: 0px; "><div style=3D"word-wrap: = break-word; -webkit-nbsp-mode: space; -webkit-line-break: = after-white-space; "><span class=3D"Apple-style-span" = style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: = 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: = normal; font-weight: normal; letter-spacing: normal; line-height: = normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: = normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: = 0px; -webkit-border-vertical-spacing: 0px; = -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = auto; -webkit-text-stroke-width: 0px; "><div style=3D"word-wrap: = break-word; -webkit-nbsp-mode: space; -webkit-line-break: = after-white-space; "><span class=3D"Apple-style-span" = style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: = 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: = normal; font-weight: normal; letter-spacing: normal; line-height: = normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: = normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: = 0px; -webkit-border-vertical-spacing: 0px; = -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = auto; -webkit-text-stroke-width: 0px; "><div style=3D"word-wrap: = break-word; -webkit-nbsp-mode: space; -webkit-line-break: = after-white-space; "><span class=3D"Apple-style-span" = style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: = 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: = normal; font-weight: normal; letter-spacing: normal; line-height: = normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: = normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: = 0px; -webkit-border-vertical-spacing: 0px; = -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = auto; -webkit-text-stroke-width: 0px; "><div style=3D"word-wrap: = break-word; -webkit-nbsp-mode: space; -webkit-line-break: = after-white-space; "><span class=3D"Apple-style-span" = style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: = 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: = normal; font-weight: normal; letter-spacing: normal; line-height: = normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: = normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: = 0px; -webkit-border-vertical-spacing: 0px; = -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = auto; -webkit-text-stroke-width: 0px; "><div style=3D"word-wrap: = break-word; -webkit-nbsp-mode: space; -webkit-line-break: = after-white-space; "><span class=3D"Apple-style-span" = style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: = 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: = normal; font-weight: normal; letter-spacing: normal; line-height: = normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: = normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: = 0px; -webkit-border-vertical-spacing: 0px; = -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = auto; -webkit-text-stroke-width: 0px; "><div style=3D"word-wrap: = break-word; -webkit-nbsp-mode: space; -webkit-line-break: = after-white-space; "><span class=3D"Apple-style-span" = style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: = 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: = normal; font-weight: normal; letter-spacing: normal; line-height: = normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: = normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: = 0px; -webkit-border-vertical-spacing: 0px; = -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = auto; -webkit-text-stroke-width: 0px; "><div style=3D"word-wrap: = break-word; -webkit-nbsp-mode: space; -webkit-line-break: = after-white-space; "><span class=3D"Apple-style-span" = style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: = 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: = normal; font-weight: normal; letter-spacing: normal; line-height: = normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: = normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: = 0px; -webkit-border-vertical-spacing: 0px; = -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = auto; -webkit-text-stroke-width: 0px; "><div style=3D"word-wrap: = break-word; -webkit-nbsp-mode: space; -webkit-line-break: = after-white-space; "><span class=3D"Apple-style-span" = style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: = 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: = normal; font-weight: normal; letter-spacing: normal; line-height: = normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: = normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: = 0px; -webkit-border-vertical-spacing: 0px; = -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = auto; -webkit-text-stroke-width: 0px; "><div style=3D"word-wrap: = break-word; -webkit-nbsp-mode: space; -webkit-line-break: = after-white-space; "><span class=3D"Apple-style-span" = style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: = 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: = normal; font-weight: normal; letter-spacing: normal; line-height: = normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: = normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: = 0px; -webkit-border-vertical-spacing: 0px; = -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = auto; -webkit-text-stroke-width: 0px; "><div style=3D"word-wrap: = break-word; -webkit-nbsp-mode: space; -webkit-line-break: = after-white-space; "><span class=3D"Apple-style-span" = style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: = 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: = normal; font-weight: normal; letter-spacing: normal; line-height: = normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: = normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: = 0px; -webkit-border-vertical-spacing: 0px; = -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = auto; -webkit-text-stroke-width: 0px; "><div style=3D"word-wrap: = break-word; -webkit-nbsp-mode: space; -webkit-line-break: = after-white-space; "><span class=3D"Apple-style-span" = style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: = 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: = normal; font-weight: normal; letter-spacing: normal; line-height: = normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: = normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: = 0px; -webkit-border-vertical-spacing: 0px; = -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = auto; -webkit-text-stroke-width: 0px; "><div style=3D"word-wrap: = break-word; -webkit-nbsp-mode: space; -webkit-line-break: = after-white-space; "><span class=3D"Apple-style-span" = style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: = 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: = normal; font-weight: normal; letter-spacing: normal; line-height: = normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: = normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: = 0px; -webkit-border-vertical-spacing: 0px; = -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = auto; -webkit-text-stroke-width: 0px; "><div style=3D"word-wrap: = break-word; -webkit-nbsp-mode: space; -webkit-line-break: = after-white-space; "><span class=3D"Apple-style-span" = style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: = 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: = normal; font-weight: normal; letter-spacing: normal; line-height: = normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: = normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: = 0px; -webkit-border-vertical-spacing: 0px; = -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = auto; -webkit-text-stroke-width: 0px; "><div style=3D"word-wrap: = break-word; -webkit-nbsp-mode: space; -webkit-line-break: = after-white-space; "><span class=3D"Apple-style-span" = style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: = 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: = normal; font-weight: normal; letter-spacing: normal; line-height: = normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: = normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: = 0px; -webkit-border-vertical-spacing: 0px; = -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = auto; -webkit-text-stroke-width: 0px; "><div style=3D"word-wrap: = break-word; -webkit-nbsp-mode: space; -webkit-line-break: = after-white-space; "><span class=3D"Apple-style-span" = style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: = 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: = normal; font-weight: normal; letter-spacing: normal; line-height: = normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: = normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: = 0px; -webkit-border-vertical-spacing: 0px; = -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = auto; -webkit-text-stroke-width: 0px; "><div style=3D"word-wrap: = break-word; -webkit-nbsp-mode: space; -webkit-line-break: = after-white-space; "><div><span class=3D"Apple-style-span" = style=3D"font-family: Verdana; "><span><p class=3D"p3" = style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 7px; = margin-left: 0px; font: normal normal normal 10px/normal 'Lucida Sans = Unicode'; "><span class=3D"Apple-style-span" style=3D"font-family: = 'Lucida Grande'; font-size: 13px; "></span></p><div><span = class=3D"Apple-style-span" style=3D"font-family: Verdana; "><font = class=3D"Apple-style-span" face=3D"'Lucida = Grande'">--&nbsp;<br></font><p style=3D"font: normal normal normal = 10px/normal Verdana; color: black; margin-top: 0px; ">Francesco = Chicchiricc=C3=B2<br>Delivery Manager</p><p><span style=3D"font: normal = normal normal 17px/normal Verdana; color: rgb(128, 128, 128); = ">evere<span style=3D"color: rgb(203, 142, 49); ">t</span>t = Italia&nbsp;<span style=3D"color: rgb(203, 142, 49); = ">=E2=96=B8</span></span>&nbsp;<br><span style=3D"font: normal normal = normal 13px/normal Verdana; color: rgb(203, 142, 49); = ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TRUSTED = TO&nbsp;<strong>KNOW</strong></span></p><div style=3D"font: normal = normal normal 10px/normal Verdana; color: black; float: left; width: = 220px; "><div style=3D"color: rgb(128, 128, 128); height: 20px; ">Head = Office</div><div>Via Torino, 2 - 20123 Milano - Italia</div><div = style=3D"float: left; width: 50px; ">Tel:</div><div>+39 02 = 72546847</div><div style=3D"float: left; width: 50px; = ">Fax:</div><div>7404181820</div></div><div style=3D"font: normal = normal normal 10px/normal Verdana; color: black; "><div style=3D"color: = rgb(128, 128, 128); height: 20px; ">Technology Centre</div><div>Via = Federico Fellini, 2 G2/1 - 65010 Spoltore (PE) - Italia</div><div = style=3D"float: left; width: 50px; ">Tel:</div><div>7404181820 / = 7404181820</div><div style=3D"float: left; width: 50px; = ">Fax:</div><div>7404181820 / 7404181820</div></div><br><div = style=3D"font: normal normal normal 10px/normal Verdana; color: black; = "><div style=3D"float: left; width: 50px; ">Mob:</div><div>+39 329 = 0573276</div><div style=3D"float: left; width: 50px; = ">e-mail:</div><div><a href=3D"mailto:[email protected]" = style=3D"color: rgb(36, 79, 171); = ">[email protected]</a></div><div style=3D"float: left; = width: 50px; ">Web:</div><div><a href=3D"http://www.everett.it/" = style=3D"color: rgb(36, 79, 171); = ">http://www.everett.it</a></div></div></span></div></span><p></p></span><= font class=3D"Apple-style-span" color=3D"#244FAB" = face=3D"LucidaSansUnicode" size=3D"2"></font><p></p><p = style=3D"margin-bottom: 0.21cm; "><font color=3D"#244fab"><font = face=3D"LucidaSansUnicode, sans-serif"><font = size=3D"2"></font></font></font></p></div></div></span></div></span></div>= </span></div></span></div></span></div></span></div></span></div></span></= div></span></div></span></div></span></div></span></div></span></div></spa= n></div></span></div></span></div></span></div></span> = </div><br></div></div></div></body></html>= --Boundary_(ID_v+7nrBsSbWXU3jpqNEkTCQ)-- From [email protected] Tue Aug 11 15:18:13 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25198 invoked from network); 11 Aug 2009 15:18:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Aug 2009 15:18:13 -0000 Received: (qmail 9546 invoked by uid 500); 11 Aug 2009 15:18:19 -0000 Delivered-To: [email protected] Received: (qmail 9473 invoked by uid 500); 11 Aug 2009 15:18:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 9465 invoked by uid 99); 11 Aug 2009 15:18:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Aug 2009 15:18:19 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-yx0-f191.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Aug 2009 15:18:11 +0000 Received: by yxe29 with SMTP id 29so4631458yxe.18 for <[email protected]>; Tue, 11 Aug 2009 08:17:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=y6vZNO7qv/+w0/CjefrhMpPbkqNW1vn8bAe6rQgECcE=; b=AnaHv74GSYx0gLiNaz1P7RHKHaSW1SL/+hlv9RoIT5iakS2hsqMI+5LPgLaGk1AH7C iMnFipQk07Zs89P8UlXtH9bcsguQQZ1mC+15uvdS4diYcnB+EP2v5erbdk8dw/FroWv6 VelweTHW4go2FVarmvpggaMTdDRGkqCnRk57M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=lwmjc0emtuFLxncGt+4enwJwqgY3Wh6gprGnHLoC2+HUT37E29BfxAPoQciUSrbYB3 zI9pMSh1quZek/DseJ6q8yj8yM2vN2BTgto6TE/ePXTb6OsGbRk+xUZFSroR36Ft1qv/ vMKl5IohP0rpYw7wbNGVqSUwsz9OZy/Qam9dY= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id v18mr826667anf.64.1250003869593; Tue, 11 Aug 2009 08:17:49 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Tue, 11 Aug 2009 11:17:49 -0400 Message-ID: <[email protected]> Subject: Re: how to use the servlet service framework From: David Hummel <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org 2008/4/28 Gilles C=E9b=E9lieu <[email protected]>: > > I'm using cocoon 2.2 and I want to use the servlet service framework to w= rap > POST calls to external webapps from within my cocoon webapp (as suggested= in > [1]). Can someone provide an example of GET/POST to a raw servlet (not a SitemapServlet) from within the sitemap using the servlet: protocol? Thanks... --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Aug 14 12:46:41 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40437 invoked from network); 14 Aug 2009 12:46:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Aug 2009 12:46:41 -0000 Received: (qmail 97609 invoked by uid 500); 14 Aug 2009 12:46:47 -0000 Delivered-To: [email protected] Received: (qmail 97535 invoked by uid 500); 14 Aug 2009 12:46:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 97527 invoked by uid 99); 14 Aug 2009 12:46:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Aug 2009 12:46:46 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO engine29-1277-2.icritical.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 14 Aug 2009 12:46:35 +0000 Received: (qmail 13304 invoked from network); 14 Aug 2009 12:46:13 -0000 Received: from localhost (161.129.204.104) by engine29-1277-2.icritical.com with SMTP; 14 Aug 2009 12:46:13 -0000 Received: from engine29-1277-2.icritical.com ([161.129.204.104]) by localhost (engine29-1277-2.icritical.com [161.129.204.104]) (amavisd-new, port 10024) with SMTP id 05399-09 for <[email protected]>; Fri, 14 Aug 2009 13:46:06 +0100 (BST) Received: (qmail 13067 invoked by uid 599); 14 Aug 2009 12:46:05 -0000 Received: from unknown (HELO exchangegw1.rl.ac.uk) (161.129.204.104) by engine29-1277-2.icritical.com (qpsmtpd/0.28) with ESMTP; Fri, 14 Aug 2009 13:46:05 +0100 Received: from exchange35.fed.cclrc.ac.uk ([161.129.204.104]) by exchangegw1.rl.ac.uk with Microsoft SMTPSVC7404181820); Fri, 14 Aug 2009 13:38:09 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Cocoon 2.2 Actions Date: Fri, 14 Aug 2009 13:36:58 +0100 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Cocoon 2.2 Actions Thread-Index: Acoc2+mqeThCegEjS/eyI8i2h8AiUg== From: "Duncan, Alastair (STFC,RAL,ESC)" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 14 Aug 2009 12:38:09.0472 (UTC) FILETIME=[146F9400:01CA1CDC] X-Virus-Scanned: by [email protected] X-Virus-Checked: Checked by ClamAV on apache.org Hi, On reading the documentation Cocoon Core 2.2 Creating an Action found here: http://cocoon.apache.org/2.2/core-modules/core/2.2/676_1_1.html It shows in the boiler plate code an import for ObjectModelHelper but this class does not seem to be included in 2.2.0 core or sitemap. Does anyone know which jar this is in and where to get it from? Thanks Alastair -- Scanned by iCritical. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Aug 14 14:01:57 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77993 invoked from network); 14 Aug 2009 14:01:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Aug 2009 14:01:57 -0000 Received: (qmail 26726 invoked by uid 500); 14 Aug 2009 14:02:03 -0000 Delivered-To: [email protected] Received: (qmail 26621 invoked by uid 500); 14 Aug 2009 14:02:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 26613 invoked by uid 99); 14 Aug 2009 14:02:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Aug 2009 14:02:02 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mx3.pshift.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Aug 2009 14:01:53 +0000 Received: from JAVAGUY1 (unverified [161.129.204.104]) by mx3.pshift.com (Vircom SMTPRS 4.6.741.12) with ESMTP id <[email protected]> for <[email protected]>; Fri, 14 Aug 2009 10:01:15 -0400 X-Modus-BlackList: 161.129.204.104=OK;[email protected]=OK X-Modus-RBL: 161.129.204.104=OK X-Modus-Trusted: 161.129.204.104=NO X-Modus-Audit: FALSE;0;0;0 From: "Gary Larsen" <[email protected]> To: <[email protected]> Subject: Form level validation 2.1.9 Date: Fri, 14 Aug 2009 10:04:55 -0400 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0027_01CA1CC6.AE027760" X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Thread-Index: Acoc6DONe0XnMcNqSXSIm94sqqepzQ== X-Virus-Checked: Checked by ClamAV on apache.org ------=_NextPart_000_0027_01CA1CC6.AE027760 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, I am trying to implement validation on a form to make sure a repeater has at least one row. I can do this by adding a field with that check, but the field has to be active and visible. Is there a way to hide a field and still have validation? Thanks for any advice! gary ------=_NextPart_000_0027_01CA1CC6.AE027760 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"> <o:SmartTagType = namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" name=3D"City"/> <o:SmartTagType = namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" name=3D"place"/> <!--[if !mso]> <style> st1\:*{behavior:url(#default#ieooui) } </style> <![endif]--> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} h6 {margin-top:12.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:0in; font-size:11.0pt; font-family:"Times New Roman";} p.MsoBodyText, li.MsoBodyText, div.MsoBodyText {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:0in; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} p.StyleHeading6Arial10pt, li.StyleHeading6Arial10pt, = div.StyleHeading6Arial10pt {margin-top:12.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:3.4in; text-indent:-.65in; mso-list:l0 level6 lfo3; font-size:10.0pt; font-family:Arial; font-weight:bold;} p.MyHeader, li.MyHeader, div.MyHeader {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:1.75in; margin-bottom:.0001pt; text-indent:-.25in; mso-list:l0 level1 lfo3; font-size:10.0pt; font-family:Arial; font-weight:bold;} span.EmailStyle20 {mso-style-type:personal-compose; font-family:Arial; color:windowtext;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} /* List Definitions */ @list l0 {mso-list-id:346686341; mso-list-template-ids:1580500898;} @list l0:level1 {mso-level-style-link:"My Header"; mso-level-tab-stop:1.75in; mso-level-number-position:left; margin-left:1.75in; text-indent:-.25in;} @list l0:level2 {mso-level-text:"%1\.%2\."; mso-level-tab-stop:2.25in; mso-level-number-position:left; margin-left:2.05in; text-indent:-.3in;} @list l0:level3 {mso-level-text:"%1\.%2\.%3\."; mso-level-tab-stop:2.5in; mso-level-number-position:left; margin-left:2.35in; text-indent:-.35in;} @list l0:level4 {mso-level-text:"%1\.%2\.%3\.%4\."; mso-level-tab-stop:3.0in; mso-level-number-position:left; margin-left:2.7in; text-indent:-.45in;} @list l0:level5 {mso-level-text:"%1\.%2\.%3\.%4\.%5\."; mso-level-tab-stop:3.5in; mso-level-number-position:left; margin-left:3.05in; text-indent:-.55in;} @list l0:level6 {mso-level-style-link:"Style Heading 6 + Arial 10 pt"; mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\."; mso-level-tab-stop:3.75in; mso-level-number-position:left; margin-left:3.4in; text-indent:-.65in;} @list l0:level7 {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\."; mso-level-tab-stop:4.25in; mso-level-number-position:left; margin-left:3.75in; text-indent:-.75in;} @list l0:level8 {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8\."; mso-level-tab-stop:4.5in; mso-level-number-position:left; margin-left:4.1in; text-indent:-.85in;} @list l0:level9 {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8\.%9\."; mso-level-tab-stop:5.0in; mso-level-number-position:left; text-indent:-1.0in;} ol {margin-bottom:0in;} ul {margin-bottom:0in;} --> </style> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Hi,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>I am trying to implement validation on a form to make = sure a repeater has at least one row.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>I can do this by adding a field with that check, but = the field has to be active and visible. Is there a way to hide a field and = still have validation?<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Thanks for any advice!<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><st1:City w:st=3D"on"><st1:place w:st=3D"on"><font = size=3D2 face=3DArial><span = style=3D'font-size:10.0pt;font-family:Arial'>gary</span></font></st1:plac= e></st1:City><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p= > </div> </body> </html> ------=_NextPart_000_0027_01CA1CC6.AE027760-- From [email protected] Sun Aug 16 22:22:48 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73528 invoked from network); 16 Aug 2009 22:22:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Aug 2009 22:22:48 -0000 Received: (qmail 21912 invoked by uid 500); 16 Aug 2009 22:22:53 -0000 Delivered-To: [email protected] Received: (qmail 21838 invoked by uid 500); 16 Aug 2009 22:22:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 21830 invoked by uid 99); 16 Aug 2009 22:22:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Aug 2009 22:22:53 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail0.tt.com.au) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Aug 2009 22:22:43 +0000 Received: from mail0.tt.com.au (localhost [161.129.204.104]) by postfix.imss70 (Postfix) with ESMTP id D4DE5164FA5 for <[email protected]>; Mon, 17 Aug 2009 08:19:32 +1000 (EST) Received: from convergence.tt.com.au (convergence.tt.com.au [161.129.204.104]) by mail0.tt.com.au (Postfix) with ESMTP id B3BDB164FA3 for <[email protected]>; Mon, 17 Aug 2009 08:19:32 +1000 (EST) MIME-version: 1.0 Content-type: multipart/alternative; boundary="Boundary_(ID_4V6M7LcKd57nhVNsfHk80w)" Received: from [161.129.204.104] by convergence.tt.com.au (Sun Java(tm) System Messaging Server 7.0-0.04 64bit (built Jun 20 2008)) with ESMTP id <[email protected]> for [email protected]; Mon, 17 Aug 2009 08:19:31 +1000 (EST) Message-id: <[email protected]> Date: Mon, 17 Aug 2009 08:24:54 +1000 From: Kamal Bhatt <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20090605) To: [email protected] Subject: Re: Form level validation 2.1.9 References: <[email protected]> In-reply-to: <[email protected]> X-TM-AS-Product-Ver: IMSS-161.129.204.10446-161.129.204.1046-16830.002 X-TM-AS-Result: No--16.676-5.0-31-1 X-imss-scan-details: No--16.676-5.0-31-1 X-Virus-Checked: Checked by ClamAV on apache.org --Boundary_(ID_4V6M7LcKd57nhVNsfHk80w) Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT You can set a minimum (//fd:repeater/@min-size) and maximum (//fd:repeater/@max-size)on a repeater, does this satisfy your requirements? If not, you could always hide the field using CSS. > > Hi, > > > > I am trying to implement validation on a form to make sure a repeater > has at least one row. > > > > I can do this by adding a field with that check, but the field has to > be active and visible. Is there a way to hide a field and still have > validation? > > > > Thanks for any advice! > > > > gary > -- Kamal Bhatt --Boundary_(ID_4V6M7LcKd57nhVNsfHk80w) Content-type: text/html; charset=ISO-8859-1 Content-transfer-encoding: 7BIT <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> You can set a minimum (//fd:repeater/@min-size) and maximum&nbsp; (//fd:repeater/@max-size)on a repeater, does this satisfy your requirements?<br> <br> If not, you could always hide the field using CSS.<br> <blockquote cite="mid:[email protected]" type="cite"> <meta http-equiv="Content-Type" content="text/html; "> <meta name="Generator" content="Microsoft Word 11 (filtered medium)"> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"><!--[if !mso]> <style> st1\:*{behavior:url(#default#ieooui) } </style> <![endif]--> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} h6 {margin-top:12.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:0in; font-size:11.0pt; font-family:"Times New Roman";} p.MsoBodyText, li.MsoBodyText, div.MsoBodyText {margin-top:0in; margin-right:0in; margin-bottom:6.0pt; margin-left:0in; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} p.StyleHeading6Arial10pt, li.StyleHeading6Arial10pt, div.StyleHeading6Arial10pt {margin-top:12.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:3.4in; text-indent:-.65in; mso-list:l0 level6 lfo3; font-size:10.0pt; font-family:Arial; font-weight:bold;} p.MyHeader, li.MyHeader, div.MyHeader {margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:1.75in; margin-bottom:.0001pt; text-indent:-.25in; mso-list:l0 level1 lfo3; font-size:10.0pt; font-family:Arial; font-weight:bold;} span.EmailStyle20 {mso-style-type:personal-compose; font-family:Arial; color:windowtext;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} /* List Definitions */ @list l0 {mso-list-id:346686341; mso-list-template-ids:1580500898;} @list l0:level1 {mso-level-style-link:"My Header"; mso-level-tab-stop:1.75in; mso-level-number-position:left; margin-left:1.75in; text-indent:-.25in;} @list l0:level2 {mso-level-text:"%1\.%2\."; mso-level-tab-stop:2.25in; mso-level-number-position:left; margin-left:2.05in; text-indent:-.3in;} @list l0:level3 {mso-level-text:"%1\.%2\.%3\."; mso-level-tab-stop:2.5in; mso-level-number-position:left; margin-left:2.35in; text-indent:-.35in;} @list l0:level4 {mso-level-text:"%1\.%2\.%3\.%4\."; mso-level-tab-stop:3.0in; mso-level-number-position:left; margin-left:2.7in; text-indent:-.45in;} @list l0:level5 {mso-level-text:"%1\.%2\.%3\.%4\.%5\."; mso-level-tab-stop:3.5in; mso-level-number-position:left; margin-left:3.05in; text-indent:-.55in;} @list l0:level6 {mso-level-style-link:"Style Heading 6 + Arial 10 pt"; mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\."; mso-level-tab-stop:3.75in; mso-level-number-position:left; margin-left:3.4in; text-indent:-.65in;} @list l0:level7 {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\."; mso-level-tab-stop:4.25in; mso-level-number-position:left; margin-left:3.75in; text-indent:-.75in;} @list l0:level8 {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8\."; mso-level-tab-stop:4.5in; mso-level-number-position:left; margin-left:4.1in; text-indent:-.85in;} @list l0:level9 {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8\.%9\."; mso-level-tab-stop:5.0in; mso-level-number-position:left; text-indent:-1.0in;} ol {margin-bottom:0in;} ul {margin-bottom:0in;} --> </style></o:SmartTagType></o:SmartTagType> <div class="Section1"> <p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Hi,<o:p></o:p></span></font></p> <p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"><o:p>&nbsp;</o:p></span></font></p> <p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">I am trying to implement validation on a form to make sure a repeater has at least one row.<o:p></o:p></span></font></p> <p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"><o:p>&nbsp;</o:p></span></font></p> <p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">I can do this by adding a field with that check, but the field has to be active and visible. Is there a way to hide a field and still have validation?<o:p></o:p></span></font></p> <p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"><o:p>&nbsp;</o:p></span></font></p> <p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Thanks for any advice!<o:p></o:p></span></font></p> <p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"><o:p>&nbsp;</o:p></span></font></p> <p class="MsoNormal"><st1:City w:st="on"><st1:place w:st="on"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">gary</span></font></st1:place></st1:City><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"><o:p></o:p></span></font></p> </div> </blockquote> <br> <br> <pre class="moz-signature" cols="72">-- Kamal Bhatt </pre> </body> </html> --Boundary_(ID_4V6M7LcKd57nhVNsfHk80w)-- From [email protected] Mon Aug 17 09:01:33 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38264 invoked from network); 17 Aug 2009 09:01:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Aug 2009 09:01:33 -0000 Received: (qmail 23929 invoked by uid 500); 17 Aug 2009 09:01:39 -0000 Delivered-To: [email protected] Received: (qmail 23838 invoked by uid 500); 17 Aug 2009 09:01:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 23830 invoked by uid 99); 17 Aug 2009 09:01:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Aug 2009 09:01:39 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO engine19-1277-1.icritical.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 17 Aug 2009 09:01:28 +0000 Received: (qmail 21323 invoked from network); 17 Aug 2009 09:01:06 -0000 Received: from localhost (161.129.204.104) by engine19-1277-1.icritical.com with SMTP; 17 Aug 2009 09:01:06 -0000 Received: from engine19-1277-1.icritical.com ([161.129.204.104]) by localhost (engine19-1277-1.icritical.com [161.129.204.104]) (amavisd-new, port 10024) with SMTP id 19773-09 for <[email protected]>; Mon, 17 Aug 2009 10:01:05 +0100 (BST) Received: (qmail 21305 invoked by uid 599); 17 Aug 2009 09:01:04 -0000 Received: from unknown (HELO exchangegw1.rl.ac.uk) (161.129.204.104) by engine19-1277-1.icritical.com (qpsmtpd/0.28) with ESMTP; Mon, 17 Aug 2009 10:01:04 +0100 Received: from exchange35.fed.cclrc.ac.uk ([161.129.204.104]) by exchangegw1.rl.ac.uk with Microsoft SMTPSVC7404181820); Mon, 17 Aug 2009 10:01:05 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Cocoon 2.2 Actions Date: Mon, 17 Aug 2009 10:01:04 +0100 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Cocoon 2.2 Actions Thread-Index: Acoc2+mqeThCegEjS/eyI8i2h8AiUgCPNfGg References: <[email protected]> From: "Duncan, Alastair (STFC,RAL,ESC)" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 17 Aug 2009 09:01:05.0055 (UTC) FILETIME=[408482F0:01CA1F19] X-Virus-Scanned: by [email protected] X-Virus-Checked: Checked by ClamAV on apache.org To answer my own question its in pipeline-api.=20 One thing that does need to be changed in the boiler plate code is the import statement: import org.apache.excalibur.source.SourceResolver; This now needs to be import org.apache.cocoon.environment.SourceResolver; and then it will compile. Alastair > -----Original Message----- > From: Duncan, Alastair (STFC,RAL,ESC) [mailto:[email protected]] > Sent: 14 August 2009 13:37 > To: [email protected] > Subject: Cocoon 2.2 Actions >=20 > Hi, >=20 > On reading the documentation Cocoon Core 2.2 Creating an Action found > here: >=20 > http://cocoon.apache.org/2.2/core-modules/core/2.2/676_1_1.html >=20 > It shows in the boiler plate code an import for ObjectModelHelper but > this class does not seem to be included in 2.2.0 core or sitemap. Does > anyone know which jar this is in and where to get it from? >=20 > Thanks >=20 > Alastair > -- > Scanned by iCritical. >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] -- Scanned by iCritical. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 17 14:59:58 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56369 invoked from network); 17 Aug 2009 14:59:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Aug 2009 14:59:58 -0000 Received: (qmail 92427 invoked by uid 500); 17 Aug 2009 15:00:04 -0000 Delivered-To: [email protected] Received: (qmail 92367 invoked by uid 500); 17 Aug 2009 15:00:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 92359 invoked by uid 99); 17 Aug 2009 15:00:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Aug 2009 15:00:04 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-yx0-f191.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Aug 2009 14:59:55 +0000 Received: by yxe29 with SMTP id 29so3604971yxe.18 for <[email protected]>; Mon, 17 Aug 2009 07:59:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=bVmmr+qSmOnz7Tp/GPJROSrjIkiGY6psCq6fYGneOl8=; b=McGqCGOfXPwZl03HGeNjz52o0wgno364U6vlvrt89saVeQfUyl/5FsFbzAeKau7I+1 QQngnotmaH8vBuwUoIghr9DSfStIO3yP7TeJa2Ty99RsNZmOPHyVn1g1tp0S9qgvE1TI RKEg9Kq57c3P+oWz+hkLQBkbmTiv36d8zKRz4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=UG/0Nig1eJx0fCOpSDzkT6h/KglE3H4o2tAy2o4lrJopUta8pXhOMRIixUGjH5BTHw Yd2hKRQTqpxXeSVx9Mj2b9pzSzhzXoEbo+oyECmR6HFfYEA7sH96d2uo3erO3fNrdJ2r VlyaWW7Rnvky3nEVzaTQZELiB89R5SpnsAtuo= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id h5mr3522077anl.10.1250521174226; Mon, 17 Aug 2009 07:59:34 -0700 (PDT) Date: Mon, 17 Aug 2009 10:59:34 -0400 Message-ID: <[email protected]> Subject: [2.2] calling an HttpServlet via GET or POST using the file generator and servlet: protocol From: David Hummel <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello, I was wondering if it's possible to GET/POST (both is important) to a regular HttpServlet (not a SitemapServlet) and then in the sitemap process the XML generated by that servlet. For instance, I declare the following bean: <bean name="servlet" class="test.MyServlet"> <servlet:context mount-path="/myblock/servlet" context-path="blockcontext:/myblock/"/> </bean> Then in the sitemap: <map:match pattern="myservlet"> <map:generate src="servlet:/servlet"/> <map:serialize type="xml"/> </map:match> But this doesn't work. Is this possible? If yes, can someone provide a complete example or point me to some relevant docs? Thanks in advance, -David --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Aug 18 08:27:23 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 75282 invoked from network); 18 Aug 2009 08:27:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Aug 2009 08:27:23 -0000 Received: (qmail 42510 invoked by uid 500); 18 Aug 2009 08:27:41 -0000 Delivered-To: [email protected] Received: (qmail 42428 invoked by uid 500); 18 Aug 2009 08:27:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 42420 invoked by uid 99); 18 Aug 2009 08:27:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Aug 2009 08:27:41 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f215.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Aug 2009 08:27:30 +0000 Received: by bwz11 with SMTP id 11so3146200bwz.15 for <[email protected]>; Tue, 18 Aug 2009 01:27:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=yB5Chtt3kE82aSc+woL/1DIVvo4Zvum9SpCQ98xDdzE=; b=F0MQo7Ro786dlySFDFyhu40CFQ0nbDDG5BAkb1lBvgPZG++AtgmRRWn74VaBSHHT3W yEdCXg4H9PFMQFnuep65XD+uNlt4UCSL9jexBscnGEwIEyfvNYBIS7UqJVHpW7l8L6F5 7zslAab4dAkMCVzAlofikF99tTMEmgmkXfvGY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=LyjoczjiZdnCt0feaJG7K+rM7EO3tEpUqTSoXnVnUIVrz5WDe/awEMn9QjAdosjvFJ k9j/wWXZNyPSTM8MAYa+jBCo4dc9oMH0cslwGgNNitxFzBKxpZ2HWVDfMsFKwA1fbTp1 EU4LSJtnkCKDgaBqgy0ib1OTz+ihU8vaP0s7Q= Received: by 161.129.204.104 with SMTP id n18mr2648058bkw.128.1250584030234; Tue, 18 Aug 2009 01:27:10 -0700 (PDT) Received: from ?161.129.204.104? (public58269.xdsl.centertel.pl [161.129.204.104]) by mx.google.com with ESMTPS id 12sm6119254fks.51.2161.129.204.104.27.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 18 Aug 2009 01:27:09 -0700 (PDT) Message-ID: <[email protected]> Date: Tue, 18 Aug 2009 10:27:05 +0200 From: Tomek Piechowicz <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20090605) MIME-Version: 1.0 To: [email protected] Subject: Error uploading files. Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi. I`m trying to upload file via upload widget in CForms (Cocoon 2.2). When I try to upload text files everything goes fine, but when I try to upload zip, pdf or jpeg files then server throws exception : Caused by: org.apache.cocoon.ResourceNotFoundException: Error during resolving of the input stream Does anyone know what this error means ? Regards, Tomek Piechowicz --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Aug 19 08:25:45 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29458 invoked from network); 19 Aug 2009 08:25:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Aug 2009 08:25:45 -0000 Received: (qmail 43843 invoked by uid 500); 19 Aug 2009 08:26:03 -0000 Delivered-To: [email protected] Received: (qmail 43753 invoked by uid 500); 19 Aug 2009 08:26:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 43744 invoked by uid 99); 19 Aug 2009 08:26:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Aug 2009 08:26:01 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Aug 2009 08:25:51 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1MdgU6-0004p3-Fm for [email protected]; Wed, 19 Aug 2009 01:25:30 -0700 Message-ID: <[email protected]> Date: Wed, 19 Aug 2009 01:25:30 -0700 (PDT) From: anandhthiyagarajan <[email protected]> To: [email protected] Subject: PDF export using cocoon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org Hi everyone Is there any possibility to generate the PDF documents using cocoon without generating xml files. I m working in Ruby on Rails. Any help would be appreciated. Thanks Anandh -- View this message in context: http://www.nabble.com/PDF-export-using-cocoon-tp25039896p25039896.html Sent from the Cocoon - Users mailing list [email protected]. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Aug 19 08:39:48 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33021 invoked from network); 19 Aug 2009 08:39:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Aug 2009 08:39:48 -0000 Received: (qmail 71541 invoked by uid 500); 19 Aug 2009 08:40:06 -0000 Delivered-To: [email protected] Received: (qmail 71473 invoked by uid 500); 19 Aug 2009 08:40:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 71463 invoked by uid 99); 19 Aug 2009 08:40:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Aug 2009 08:40:06 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO smtp2.jouve.fr) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Aug 2009 08:39:57 +0000 Message-ID: <[email protected]> Date: Wed, 19 Aug 2009 10:41:53 +0200 From: =?ISO-8859-1?Q?H=E9l=E9na_Tanguy?= <[email protected]> Reply-To: [email protected] User-Agent: Thunderbird 161.129.204.104 (Windows/20090605) MIME-Version: 1.0 To: [email protected] Subject: Log information about cocoon connection pool Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hello, I have an application Cocoon Forms/Hibernate, that uses cocoon database connection pool, and in this application, I would like to log information about the connection pool : current number of connections used, maximum number of connections allowed, maximum number of idle connections, etc. The problem is that I can't access to these information. To retrieve connections, I used a DataSourceComponent and call the getConnection method, but I don't have access to the pool object to retrieve information. Do you know how to retrieve these information ? Thanks Héléna --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Aug 20 15:22:03 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 23853 invoked from network); 20 Aug 2009 15:21:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Aug 2009 15:21:53 -0000 Received: (qmail 44484 invoked by uid 500); 20 Aug 2009 15:22:11 -0000 Delivered-To: [email protected] Received: (qmail 44431 invoked by uid 500); 20 Aug 2009 15:22:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 44422 invoked by uid 99); 20 Aug 2009 15:22:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Aug 2009 15:22:11 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ew0-f218.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Aug 2009 15:22:00 +0000 Received: by ewy18 with SMTP id 18so5893050ewy.14 for <[email protected]>; Thu, 20 Aug 2009 08:21:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=vHrJfkephmoLpS/L/aEM5ZSOb2u0yzeul9XuiyNwJDM=; b=VneIUyzqfRRFGYLLvJmzHW1HOjWmg3VX9C/hK4LnBcFM8Rs4b6xwglJFnfhBA6Z7Ro tMvR2AL5vxIVHS8KSgig7Skmx9YNMWUz8Ueao32stJit21KJCJNTmkvX7ECmsijQs+kY hObnNT+vwA9cftEPwc1JsncWfpyusaAPYYByE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=e1iA032JtvjITZPAqxcFpeQOwnSowiUffUY0/HmqdjnltcHaIwClQSLRG4fRPE3bUT QmlBEiAeF58FMUUGwhXEf72eJwcNZgKq74C3cjeIwLz0MQTDOcfrueRD4PLw6mzhshN5 DgPVg2wnTzghMvv6BcYiftvUJ6JV4crKmMOBw= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id n4mr147482ebc.98.1250781699760; Thu, 20 Aug 2009 08:21:39 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Thu, 20 Aug 2009 16:21:39 +0100 Message-ID: <[email protected]> Subject: Re: PDF export using cocoon From: warrell harries <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0015174c0ffae7e15d0471944e51 X-Virus-Checked: Checked by ClamAV on apache.org --0015174c0ffae7e15d0471944e51 Content-Type: text/plain; charset=ISO-8859-1 It's an XML framework... so, in short, no :) 2009/8/19 anandhthiyagarajan <[email protected]> > > Hi everyone > > Is there any possibility to generate the PDF documents using cocoon > without generating xml files. I m working in Ruby on Rails. Any help would > be appreciated. > > Thanks > > Anandh > -- > View this message in context: > http://www.nabble.com/PDF-export-using-cocoon-tp25039896p25039896.html > Sent from the Cocoon - Users mailing list [email protected]. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --0015174c0ffae7e15d0471944e51 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable It&#39;s an XML framework... so, in short, no :)<br><br><br><div class=3D"g= mail_quote">2009/8/19 anandhthiyagarajan <span dir=3D"ltr">&lt;<a href=3D"m= ailto:[email protected]">[email protected]</a>&gt;</s= pan><br> <blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, = 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br> Hi everyone<br> <br> =A0 =A0 =A0 Is there any possibility to generate the PDF documents using c= ocoon<br> without generating xml files. I m working in Ruby on Rails. Any help would<= br> be appreciated.<br> <br> Thanks<br> <br> Anandh<br> <font color=3D"#888888">--<br> View this message in context: <a href=3D"http://www.nabble.com/PDF-export-u= sing-cocoon-tp25039896p25039896.html" target=3D"_blank">http://www.nabble.c= om/PDF-export-using-cocoon-tp25039896p25039896.html</a><br> Sent from the Cocoon - Users mailing list [email protected].<br> <br> <br> ---------------------------------------------------------------------<br> To unsubscribe, e-mail: <a href=3D"mailto:[email protected]= rg">[email protected]</a><br> For additional commands, e-mail: <a href=3D"mailto:[email protected]= .org">[email protected]</a><br> <br> </font></blockquote></div><br> --0015174c0ffae7e15d0471944e51-- From [email protected] Fri Aug 21 05:18:15 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42788 invoked from network); 21 Aug 2009 05:18:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Aug 2009 05:18:14 -0000 Received: (qmail 85363 invoked by uid 500); 21 Aug 2009 05:18:32 -0000 Delivered-To: [email protected] Received: (qmail 85244 invoked by uid 500); 21 Aug 2009 05:18:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 85231 invoked by uid 99); 21 Aug 2009 05:18:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Aug 2009 05:18:31 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Aug 2009 05:18:22 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1MeMVm-0001gI-BL for [email protected]; Thu, 20 Aug 2009 22:18:02 -0700 Message-ID: <[email protected]> Date: Thu, 20 Aug 2009 22:18:02 -0700 (PDT) From: anandhthiyagarajan <[email protected]> To: [email protected] Subject: Re: PDF export using cocoon In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Thanks warrell warrell harries-3 wrote: > > It's an XML framework... so, in short, no :) > > > 2009/8/19 anandhthiyagarajan <[email protected]> > >> >> Hi everyone >> >> Is there any possibility to generate the PDF documents using cocoon >> without generating xml files. I m working in Ruby on Rails. Any help >> would >> be appreciated. >> >> Thanks >> >> Anandh >> -- >> View this message in context: >> http://www.nabble.com/PDF-export-using-cocoon-tp25039896p25039896.html >> Sent from the Cocoon - Users mailing list [email protected]. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > -- View this message in context: http://www.nabble.com/PDF-export-using-cocoon-tp25039896p25074223.html Sent from the Cocoon - Users mailing list [email protected]. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Aug 21 08:16:18 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12840 invoked from network); 21 Aug 2009 08:16:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Aug 2009 08:16:16 -0000 Received: (qmail 95673 invoked by uid 500); 21 Aug 2009 07:14:37 -0000 Delivered-To: [email protected] Received: (qmail 95600 invoked by uid 500); 21 Aug 2009 07:14:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 95592 invoked by uid 99); 21 Aug 2009 07:14:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Aug 2009 07:14:37 +0000 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO exprod7og121.obsmtp.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 21 Aug 2009 07:14:26 +0000 Received: from source ([161.129.204.104]) by exprod7ob121.postini.com ([161.129.204.104]) with SMTP ID [email protected]; Fri, 21 Aug 2009 00:14:05 PDT Received: by ewy3 with SMTP id 3so493579ewy.42 for <[email protected]>; Fri, 21 Aug 2009 00:14:00 -0700 (PDT) Received: by 161.129.204.104 with SMTP id a9mr782799ebb.78.1250838840388; Fri, 21 Aug 2009 00:14:00 -0700 (PDT) Received: from ?161.129.204.104? (mail.hippo.nl [161.129.204.104]) by mx.google.com with ESMTPS id 5sm1326700eyh.46.2161.129.204.104.13.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 21 Aug 2009 00:13:59 -0700 (PDT) Message-ID: <[email protected]> Date: Fri, 21 Aug 2009 09:13:58 +0200 From: Jeroen Reijn <[email protected]> Reply-To: [email protected] Organization: Hippo User-Agent: Thunderbird 161.129.204.104 (X11/20090608) MIME-Version: 1.0 To: [email protected] Subject: Re: PDF export using cocoon References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Well that depends I guess, since you don't actually have to see the XML, because you can let Cocoon serialize the output as a pdf, you could call a URL from ruby I guess and cocoon will generate the pdf based on the URL? Regards, Jeroen warrell harries wrote: > It's an XML framework... so, in short, no :) > > > 2009/8/19 anandhthiyagarajan <[email protected] > <mailto:[email protected]>> > > > Hi everyone > > Is there any possibility to generate the PDF documents using > cocoon > without generating xml files. I m working in Ruby on Rails. Any help > would > be appreciated. > > Thanks > > Anandh > -- > View this message in context: > http://www.nabble.com/PDF-export-using-cocoon-tp25039896p25039896.html > Sent from the Cocoon - Users mailing list [email protected]. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > <mailto:[email protected]> > For additional commands, e-mail: [email protected] > <mailto:[email protected]> > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Aug 21 08:27:48 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 19463 invoked from network); 21 Aug 2009 08:27:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Aug 2009 08:27:48 -0000 Received: (qmail 98014 invoked by uid 500); 21 Aug 2009 08:28:09 -0000 Delivered-To: [email protected] Received: (qmail 97960 invoked by uid 500); 21 Aug 2009 08:28:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 97952 invoked by uid 99); 21 Aug 2009 08:28:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Aug 2009 08:28:09 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ew0-f218.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Aug 2009 08:27:58 +0000 Received: by ewy18 with SMTP id 18so522091ewy.14 for <[email protected]>; Fri, 21 Aug 2009 01:27:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=gLxzFRrpIEMb1tsNh91v9dyZRFrC3KDEihbmNX9Cfok=; b=lsMx+LS7uRj+SQdjHwRZTUTGTQZ8XWRNSuV+68lf9XQozwwLVMVF8gge3pWbvOUVfI eiWDtJAQUjhr151/ZN0AzaUd4ePzyOzlD7p/bXjXtOeKPF6C8xymXtILq6jPDKGRpLWk +pwdMLiw4Ctl7xEx3SXyhRBRGpHEZ2fYFKoWM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=eVnMSNx/wuRZ+NGLbc9PEZSpJDOXBiYjltKeB7GIKBLb7ea7CGWmgWyULrXTRM/AiR h7zf6tnFOx6ovWZqvMCayx+lC6MLQO4FT/pRV8p9FV5LpXG4y3FxiTCOJ77CmihL3Sak XKAMev/lbnkuQcj3wS9l4QGVwJ6D2JAsv+kwI= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id i10mr1197759ebd.15.1250843257676; Fri, 21 Aug 2009 01:27:37 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Date: Fri, 21 Aug 2009 09:27:37 +0100 Message-ID: <[email protected]> Subject: Re: PDF export using cocoon From: warrell harries <[email protected]> To: [email protected], [email protected] Content-Type: multipart/alternative; boundary=0015174c121a0b23010471a2a4b3 X-Virus-Checked: Checked by ClamAV on apache.org --0015174c121a0b23010471a2a4b3 Content-Type: text/plain; charset=ISO-8859-1 Of course, that is the beauty of Cocoon. However, the content that will form the PDF document has to pass through the the Cocoon pipelines as XML. If the Cocoon pipeline that is invoked via the Cocoon url were to treat the Ruby app as a source for that content then that Content could be transformed within Cocoon to XML and serailized as a PDF.... but somewhere along the line the developer would have to use XML. 2009/8/21 Jeroen Reijn <[email protected]> > Well that depends I guess, since you don't actually have to see the XML, > because you can let Cocoon serialize the output as a pdf, you could call a > URL from ruby I guess and cocoon will generate the pdf based on the URL? > > Regards, > > Jeroen > > warrell harries wrote: > >> It's an XML framework... so, in short, no :) >> >> >> 2009/8/19 anandhthiyagarajan <[email protected] <mailto: >> [email protected]>> >> >> >> Hi everyone >> >> Is there any possibility to generate the PDF documents using >> cocoon >> without generating xml files. I m working in Ruby on Rails. Any help >> would >> be appreciated. >> >> Thanks >> >> Anandh >> -- >> View this message in context: >> http://www.nabble.com/PDF-export-using-cocoon-tp25039896p25039896.html >> Sent from the Cocoon - Users mailing list [email protected]. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> <mailto:[email protected]> >> For additional commands, e-mail: [email protected] >> <mailto:[email protected]> >> >> >> > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --0015174c121a0b23010471a2a4b3 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Of course, that is the beauty of Cocoon. However, the content that will for= m the PDF document has to pass through the the Cocoon pipelines as XML. If = the Cocoon pipeline that is invoked via the Cocoon url were to treat the Ru= by app as a source for that content then that Content could be transformed = within Cocoon to XML and serailized as a PDF.... but somewhere along the li= ne the developer would have to use XML.<br> <br><div class=3D"gmail_quote">2009/8/21 Jeroen Reijn <span dir=3D"ltr">&lt= ;<a href=3D"mailto:[email protected]">[email protected]</a>&gt;</span= ><br><blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(= 204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Well that depends I guess, since you don&#39;t actually have to see the XML= , because you can let Cocoon serialize the output as a pdf, you could call = a URL from ruby I guess and cocoon will generate the pdf based on the URL?<= br> <br> Regards,<br> <br> Jeroen<br> <br> warrell harries wrote:<br> <blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, = 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class=3D"im"= > It&#39;s an XML framework... so, in short, no :)<br> <br> <br></div> 2009/8/19 anandhthiyagarajan &lt;<a href=3D"mailto:anandhthiyagarajan@gmail= .com" target=3D"_blank">[email protected]</a> &lt;mailto:<a href= =3D"mailto:[email protected]" target=3D"_blank">anandhthiyagaraj= [email protected]</a>&gt;&gt;<div class=3D"im"> <br> <br> <br> =A0 =A0Hi everyone<br> <br> =A0 =A0 =A0 =A0 =A0Is there any possibility to generate the PDF documents = using<br> =A0 =A0cocoon<br> =A0 =A0without generating xml files. I m working in Ruby on Rails. Any hel= p<br> =A0 =A0would<br> =A0 =A0be appreciated.<br> <br> =A0 =A0Thanks<br> <br> =A0 =A0Anandh<br> =A0 =A0--<br> =A0 =A0View this message in context:<br> =A0 =A0<a href=3D"http://www.nabble.com/PDF-export-using-cocoon-tp25039896= p25039896.html" target=3D"_blank">http://www.nabble.com/PDF-export-using-co= coon-tp25039896p25039896.html</a><br> =A0 =A0Sent from the Cocoon - Users mailing list [email protected].<br= > <br> <br> =A0 =A0-------------------------------------------------------------------= --<br> =A0 =A0To unsubscribe, e-mail: <a href=3D"mailto:[email protected].= apache.org" target=3D"_blank">[email protected]</a><br></= div> =A0 =A0&lt;mailto:<a href=3D"mailto:[email protected]" t= arget=3D"_blank">[email protected]</a>&gt;<div class=3D"i= m"><br> =A0 =A0For additional commands, e-mail: <a href=3D"mailto:users-help@cocoo= n.apache.org" target=3D"_blank">[email protected]</a><br></div> =A0 =A0&lt;mailto:<a href=3D"mailto:[email protected]" target= =3D"_blank">[email protected]</a>&gt;<br> <br> <br> </blockquote><div><div></div><div class=3D"h5"> <br> ---------------------------------------------------------------------<br> To unsubscribe, e-mail: <a href=3D"mailto:[email protected]= rg" target=3D"_blank">[email protected]</a><br> For additional commands, e-mail: <a href=3D"mailto:[email protected]= .org" target=3D"_blank">[email protected]</a><br> <br> </div></div></blockquote></div><br> --0015174c121a0b23010471a2a4b3-- From [email protected] Fri Aug 21 08:36:57 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26163 invoked from network); 21 Aug 2009 08:36:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Aug 2009 08:36:57 -0000 Received: (qmail 9310 invoked by uid 500); 21 Aug 2009 08:37:18 -0000 Delivered-To: [email protected] Received: (qmail 9239 invoked by uid 500); 21 Aug 2009 08:37:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 9227 invoked by uid 99); 21 Aug 2009 08:37:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Aug 2009 08:37:18 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO cdiintltwn.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Aug 2009 08:37:08 +0000 Received: from [161.129.204.104] 7404181820.HINET-IP.hinet.net [161.129.204.104]) (authenticated bits=0) by cdiintltwn.com (8.13.1/8.13.1) with ESMTP id n7L8alQi023247 for <[email protected]>; Fri, 21 Aug 2009 16:36:49 +0800 Message-ID: <[email protected]> Date: Fri, 21 Aug 2009 16:37:07 +0800 From: johnson <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20090605) MIME-Version: 1.0 To: [email protected] Subject: Re: PDF export using cocoon References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/9724/Fri Aug 21 11:27:53 2009 on cdiintltwn.com X-Virus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org Hi! A simple method is treating your content as a CDATA(if it's a TEXT), enclose it in a XML file, then you can do it. other format is the same. Best Regards Johnson anandhthiyagarajan : > Hi everyone > > Is there any possibility to generate the PDF documents using cocoon > without generating xml files. I m working in Ruby on Rails. Any help would > be appreciated. > > Thanks > > Anandh > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Aug 21 15:27:51 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36514 invoked from network); 21 Aug 2009 15:27:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Aug 2009 15:27:51 -0000 Received: (qmail 3476 invoked by uid 500); 21 Aug 2009 15:28:12 -0000 Delivered-To: [email protected] Received: (qmail 3384 invoked by uid 500); 21 Aug 2009 15:28:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 3368 invoked by uid 99); 21 Aug 2009 15:28:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Aug 2009 15:28:11 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=MIME_BASE64_BLANKS,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail27.messagelabs.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 21 Aug 2009 15:28:02 +0000 X-VirusChecked: Checked X-Env-Sender: [email protected] X-Msg-Ref: server-6.tower-27.messagelabs.com!1250868459!23593076!1 X-StarScan-Version: 6.1.3; banners=odyssey-group.com,-,- X-Originating-IP: [161.129.204.104] Received: (qmail 12082 invoked from network); 21 Aug 2009 15:27:39 -0000 Received: from unknown (HELO mail3.oams.com) (161.129.204.104) by server-6.tower-27.messagelabs.com with SMTP; 21 Aug 2009 15:27:39 -0000 Received: from mail4.oams.com ([161.129.204.104]) by mail3.oams.com with Microsoft SMTPSVC7404181820); Fri, 21 Aug 2009 17:27:39 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 Subject: Cocoon 2.1.11- XSP compiled in Java 1.3 when running Cocoon with a 1.6 JVM and using the Eclipse compiler Date: Fri, 21 Aug 2009 17:27:37 +0200 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Cocoon 2.1.11- XSP compiled in Java 1.3 when running Cocoon with a 1.6 JVM and using the Eclipse compiler Thread-Index: AcnqjnrqT+ur5QYHQ6W4AKwwaz0/fQDKQGCgAI24Q6AMly1RcA== From: "Laurent Medioni" <[email protected]> To: <[email protected]>, <[email protected]> X-OriginalArrivalTime: 21 Aug 2009 15:27:39.0075 (UTC) FILETIME=[EAE21930:01CA2273] X-Virus-Checked: Checked by ClamAV on apache.org SGVsbG8sClN0aWxsIHdpdGggb3VyIENvY29vbiAyLjEuMTEgb24gYSAxLjYgSlZNIHNlcmllcy4u LgpKdXN0IG5vdGljZWQgdGhhdCBvcmcuYXBhY2hlLmNvY29vbi5jb21wb25lbnRzLmxhbmd1YWdl LnByb2dyYW1taW5nLmphdmEuRWNsaXBzZUphdmFDb21waWxlciBkb2VzIG5vdCBrbm93IGFueXRo aW5nIGFib3V0IDEuNiAobm90aGluZyB3cm9uZyB3aXRoIHRoaXMgYXMgaXQgdXNlcyBKRFQgMy4x KSBidXQgaW4gdGhpcyBjYXNlIGRlZmF1bHRzIHRvLi4uIDEuMywgd2hpY2ggaXMgcXVpdGUgYSBi aWcgc3RlcCBiYWNrIGZyb20gMS40IDspLgpJdCBpcyBwb3NzaWJsZSB0byBmb3JjZSB0aGUgY29t cGxpYW5jZSBsZXZlbCB0byAxLjUgdGhyb3VnaCB0aGUgeGNvbmYgcGFyYW1ldGVyIGNvbXBpbGVy LWNvbXBsaWFuY2UtbGV2ZWwgYnV0IG5vIGNvbmZpZ3VyYXRpb24gaXMgcG9zc2libGUgZm9yIHRo ZSBnZW5lcmF0ZWQgY2xhc3MgZmlsZSBjb21wYXRpYmlsaXR5LCB3aGljaCBkb2VzIG5vdCBvYmV5 IHRvIHRoZSBzYW1lIHBhcmFtZXRlci4uLgoKSSB0cmllZCB0byByZXBsYWNlIEpEVCAzLjEgYnkg dGhlIGxhdGVzdCAzLjUgYW5kIGxvY2FsbHkgcGF0Y2hlZCBFY2xpcHNlSmF2YUNvbXBpbGVyIHRv IG1hbmFnZSBhIDEuNiB2YWx1ZS4uLiBGb3IgdGhlIG1vbWVudCBpdCB3b3JrcyB3ZWxsLi4uCgpD aGVlcnMsCkxhdXJlbnQKCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fXwoKlSBUaGlzIGVtYWlsIGFuZCBhbnkgZmlsZXMgdHJhbnNtaXR0 ZWQgd2l0aCBpdCBhcmUgQ09ORklERU5USUFMIGFuZCBpbnRlbmRlZAogIHNvbGVseSBmb3IgdGhl IHVzZSBvZiB0aGUgaW5kaXZpZHVhbCBvciBlbnRpdHkgdG8gd2hpY2ggdGhleSBhcmUgYWRkcmVz c2VkLgqVIEFueSB1bmF1dGhvcml6ZWQgY29weWluZywgZGlzY2xvc3VyZSwgb3IgZGlzdHJpYnV0 aW9uIG9mIHRoZSBtYXRlcmlhbCB3aXRoaW4KICB0aGlzIGVtYWlsIGlzIHN0cmljdGx5IGZvcmJp ZGRlbi4KlSBBbnkgdmlld3Mgb3Igb3BpbmlvbnMgcHJlc2VudGVkIHdpdGhpbiB0aGlzIGUtbWFp bCBhcmUgc29sZWx5IHRob3NlIG9mIHRoZQogIGF1dGhvciBhbmQgZG8gbm90IG5lY2Vzc2FyaWx5 IHJlcHJlc2VudCB0aG9zZSBvZiBPZHlzc2V5IEZpbmFuY2lhbApUZWNobm9sb2dpZXMgU0EgdW5s ZXNzIG90aGVyd2lzZSBzcGVjaWZpY2FsbHkgc3RhdGVkLgqVIEFuIGVsZWN0cm9uaWMgbWVzc2Fn ZSBpcyBub3QgYmluZGluZyBvbiBpdHMgc2VuZGVyLiBBbnkgbWVzc2FnZSByZWZlcnJpbmcgdG8K ICBhIGJpbmRpbmcgZW5nYWdlbWVudCBtdXN0IGJlIGNvbmZpcm1lZCBpbiB3cml0aW5nIGFuZCBk dWx5IHNpZ25lZC4KlSBJZiB5b3UgaGF2ZSByZWNlaXZlZCB0aGlzIGVtYWlsIGluIGVycm9yLCBw bGVhc2Ugbm90aWZ5IHRoZSBzZW5kZXIgaW1tZWRpYXRlbHkKICBhbmQgZGVsZXRlIHRoZSBvcmln aW5hbC4K From [email protected] Sat Aug 22 10:19:52 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76551 invoked from network); 22 Aug 2009 10:19:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Aug 2009 10:19:51 -0000 Received: (qmail 46681 invoked by uid 500); 22 Aug 2009 10:20:12 -0000 Delivered-To: [email protected] Received: (qmail 46597 invoked by uid 500); 22 Aug 2009 10:20:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 46589 invoked by uid 99); 22 Aug 2009 10:20:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Aug 2009 10:20:12 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f222.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Aug 2009 10:20:01 +0000 Received: by bwz22 with SMTP id 22so842657bwz.18 for <[email protected]>; Sat, 22 Aug 2009 03:19:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=4FeheBgDyPnniNOAcxx1PKVeHW2BOvdb3TXIee+M1ug=; b=wSYY7uhTKMUbNLIGCyM1vuUK7ISGMm8dTVZSqJkApCywq2+JFbgN+QlwKD8huxcNF2 Xu6YTKO52RxplVo6arZ8ZP3m1mN7bP/PzDWQkB2NnYc+S1RsaAh5soGIudhSCWIdefrK AHcWYzS+lYx6pj2bq4zyWE3DneVECERfLSwp8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=G1NGt9RER43LLptzZOCzaCrpxeX9uLTmunUEiYQdv279WY65IIzQmTEDxNSHKuXQzB Whszfvq2a4f5GSfd20d36LGy+s3SXIVmke3Ioyd/Bo7B1rySh2O6n9aW7joh4IvIAQ6Q tj/UIDuO+b8fLSunJLR1sm3Y7eYxRB9YnYhb8= Received: by 161.129.204.104 with SMTP id o19mr1591132fgo.45.1250936381268; Sat, 22 Aug 2009 03:19:41 -0700 (PDT) Received: from ?161.129.204.104? (public53296.xdsl.centertel.pl [161.129.204.104]) by mx.google.com with ESMTPS id l12sm495264fgb.1.2161.129.204.104.19.40 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 22 Aug 2009 03:19:40 -0700 (PDT) Message-ID: <[email protected]> Date: Sat, 22 Aug 2009 12:19:33 +0200 From: Tomek Piechowicz <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20090605) MIME-Version: 1.0 To: [email protected] Subject: Many sitemaps instead of one. Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Is it possible to have many smaller sitemaps instead one big file sitemap.xmap ? I`m using c2.2. Regards, Tomek Piechowicz --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Aug 22 10:59:36 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82190 invoked from network); 22 Aug 2009 10:59:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Aug 2009 10:59:35 -0000 Received: (qmail 58911 invoked by uid 500); 22 Aug 2009 10:59:55 -0000 Delivered-To: [email protected] Received: (qmail 58843 invoked by uid 500); 22 Aug 2009 10:59:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 58835 invoked by uid 99); 22 Aug 2009 10:59:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Aug 2009 10:59:55 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO smtp1-g21.free.fr) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Aug 2009 10:59:46 +0000 Received: from smtp1-g21.free.fr (localhost [161.129.204.104]) by smtp1-g21.free.fr (Postfix) with ESMTP id 303C0940112 for <[email protected]>; Sat, 22 Aug 2009 12:59:20 +0200 (CEST) Received: from [161.129.204.104] (hel59-2-82-225-73-80.fbx.proxad.net [161.129.204.104]) by smtp1-g21.free.fr (Postfix) with ESMTP id 49A0F940091 for <[email protected]>; Sat, 22 Aug 2009 12:59:18 +0200 (CEST) Message-ID: <[email protected]> Date: Sat, 22 Aug 2009 12:57:36 +0200 From: =?ISO-8859-2?Q?Andr=E9_Davignon?= <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20090605) MIME-Version: 1.0 To: [email protected] Subject: Re: Many sitemaps instead of one. References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, You can use <map:mount...> to mount sub-sitemaps. André > Is it possible to have many smaller sitemaps instead one big file > sitemap.xmap ? > > I`m using c2.2. > > Regards, > Tomek Piechowicz > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Aug 22 11:17:39 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83708 invoked from network); 22 Aug 2009 11:17:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Aug 2009 11:17:39 -0000 Received: (qmail 68881 invoked by uid 500); 22 Aug 2009 11:17:59 -0000 Delivered-To: [email protected] Received: (qmail 68792 invoked by uid 500); 22 Aug 2009 11:17:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 68782 invoked by uid 99); 22 Aug 2009 11:17:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Aug 2009 11:17:59 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-fx0-f226.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Aug 2009 11:17:48 +0000 Received: by fxm26 with SMTP id 26so863753fxm.18 for <[email protected]>; Sat, 22 Aug 2009 04:17:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=boqb+YEJNTYU+3/gjSzhMLbU4osMSwoaDCdXVAH5aOg=; b=Tx+qS1ay0lHubYLzxFDA8up6PoRvnq4XeZassZHjTgZPnTqv+J/N5Umv7lr4yGUXOE fULRPQJoY4QqXE4L/bw4rSdkqeFG7HaNDouyq/2Jma7hB/Ji8MntZpxggicRzl6EKUGU x2/F/eB/EtElVaqZqaTIXZdvy89rmJ7HfRUl0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=o3XZXvDZJ4CuEqb9qvTuUQCrSoO99w5xc1CmshJS2sKnKh74SOrBFitbsn4gJMTnrN zYOLcvhhzW74Bp9vZf9+bJPS9Q11Pe2jYIwTJ54fo5M8m3BpUFGX9sr0Hn7AxwviWiYI Yp8FB3gPv/wQDV48YcvBHuTifnX4QYhnx94lo= Received: by 161.129.204.104 with SMTP id a12mr1197294fav.49.1250939848124; Sat, 22 Aug 2009 04:17:28 -0700 (PDT) Received: from ?161.129.204.104? (public53296.xdsl.centertel.pl [161.129.204.104]) by mx.google.com with ESMTPS id 26sm3907808fks.1.2161.129.204.104.17.27 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 22 Aug 2009 04:17:27 -0700 (PDT) Message-ID: <[email protected]> Date: Sat, 22 Aug 2009 13:17:20 +0200 From: Tomek Piechowicz <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20090605) MIME-Version: 1.0 To: [email protected] Subject: Re: Many sitemaps instead of one. References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org André Davignon pisze: > Hi, > > You can use <map:mount...> to mount sub-sitemaps. > > André > >> Is it possible to have many smaller sitemaps instead one big file >> sitemap.xmap ? >> >> I`m using c2.2. >> >> Regards, >> Tomek Piechowicz >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > <map:pipeline> <map:match pattern="**"> <map:mount check-reload="true" reload-method="synchron" src="sitemap_projects.xmap" uri-prefix="" /> </map:match> </map:pipeline> I`ve put above code at the end of my sitemap.xmap, and It works well :). Thank your for your help. Regards, Tomek Piechowicz --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Aug 25 21:05:51 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5634 invoked from network); 25 Aug 2009 21:05:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Aug 2009 21:05:51 -0000 Received: (qmail 97487 invoked by uid 500); 25 Aug 2009 21:06:15 -0000 Delivered-To: [email protected] Received: (qmail 97417 invoked by uid 500); 25 Aug 2009 21:06:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 97409 invoked by uid 99); 25 Aug 2009 21:06:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Aug 2009 21:06:14 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO poczta.vectranet.pl) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Aug 2009 21:06:05 +0000 Received: from [161.129.204.104] (088156095209.wroclaw.vectranet.pl [161.129.204.104]) (Authenticated sender: [email protected]) by poczta.vectranet.pl (Postfix) with ESMTP id D7544857EAFC for <[email protected]>; Tue, 25 Aug 2009 23:05:42 +0200 (CEST) Message-Id: <[email protected]> From: Barbara Slupik <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: Error uploading files. Date: Tue, 25 Aug 2009 22:49:59 +0200 References: <[email protected]> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org Hello Do you have enctype="multipart/form-data" in your ft:form-template element? It should look similar to this: <ft:form-template action="#{$cocoon/continuation/id}.continue" method="POST" enctype="multipart/form-data"> See http://cocoon.apache.org/2.2/blocks/forms/1.0/483_1_1.html Barbara On 18 Aug, 2009, at 10:27 am, Tomek Piechowicz wrote: > Hi. > I`m trying to upload file via upload widget in CForms (Cocoon 2.2). > When I try to upload text files everything goes fine, but when I try > to upload zip, pdf or jpeg files then server throws exception : > > Caused by: org.apache.cocoon.ResourceNotFoundException: Error during > resolving of the input stream > > Does anyone know what this error means ? > > Regards, > Tomek Piechowicz > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Aug 25 21:22:05 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12683 invoked from network); 25 Aug 2009 21:22:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Aug 2009 21:22:05 -0000 Received: (qmail 22949 invoked by uid 500); 25 Aug 2009 21:22:29 -0000 Delivered-To: [email protected] Received: (qmail 22862 invoked by uid 500); 25 Aug 2009 21:22:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 22854 invoked by uid 99); 25 Aug 2009 21:22:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Aug 2009 21:22:29 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-fx0-f226.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Aug 2009 21:22:19 +0000 Received: by fxm26 with SMTP id 26so2601054fxm.18 for <[email protected]>; Tue, 25 Aug 2009 14:21:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=WanX5VDHhj3dm3gXRGYeCDZM/mzBJyqXmj55RY/JIgA=; b=R3fkNC/DCd6uUYHaCtb/wdxaGChdDJmmW+OSPrRZ9OnZtXPDfY5glQblPtopsS2qr1 MKsfgeZfsJbI6/vchyOiNRR5xyi3D44ETPWzNPu+fUIrtVhwMUbhRym84OOtu3P5mx3R m9LQ9wYNAFRV4NZNWq4OlA1mA4Z6dDiOC0QLw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=HQVR2aA61ithpF9iE2mwujb0PBDGEi9PqgQNA9ideeSOq5t0K4fnZts3d8BL3WIImh 7fwImAsGUc2MwhxZ2SlVtmgBPz67KoT3GMKZgXfmKliW8IbiE+rYoH8zcbKxCUgUOgqv 3QVilX9cD3No4TYWVE3AfiaZQ4QfuLo59fRBA= Received: by 161.129.204.104 with SMTP id w23mr2955099mud.38.1251235318417; Tue, 25 Aug 2009 14:21:58 -0700 (PDT) Received: from ?161.129.204.104? (chello089079238212.chello.pl [161.129.204.104]) by mx.google.com with ESMTPS id 7sm957518mup.54.2161.129.204.104.21.57 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 25 Aug 2009 14:21:57 -0700 (PDT) Message-ID: <[email protected]> Date: Tue, 25 Aug 2009 23:21:53 +0200 From: Tomek Piechowicz <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20090812) MIME-Version: 1.0 To: [email protected] Subject: Re: Error uploading files. References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Barbara Slupik pisze: > Hello > > Do you have enctype="multipart/form-data" in your ft:form-template > element? It should look similar to this: > > <ft:form-template action="#{$cocoon/continuation/id}.continue" > method="POST" enctype="multipart/form-data"> > > See http://cocoon.apache.org/2.2/blocks/forms/1.0/483_1_1.html > > Barbara > > On 18 Aug, 2009, at 10:27 am, Tomek Piechowicz wrote: > >> Hi. >> I`m trying to upload file via upload widget in CForms (Cocoon 2.2). >> When I try to upload text files everything goes fine, but when I try >> to upload zip, pdf or jpeg files then server throws exception : >> >> Caused by: org.apache.cocoon.ResourceNotFoundException: Error during >> resolving of the input stream >> >> Does anyone know what this error means ? >> >> Regards, >> Tomek Piechowicz >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > Thank you very much for your reply. My problem was that I didn`t know that there is limit on upload file size (default 100kb ?). So after I set property : org.apache.cocoon.uploads.maxsize = 10000000 everything started to work properly. Regards, Tomasz Piechowicz --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Aug 27 07:34:17 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7115 invoked from network); 27 Aug 2009 07:34:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Aug 2009 07:34:16 -0000 Received: (qmail 16054 invoked by uid 500); 27 Aug 2009 07:34:16 -0000 Delivered-To: [email protected] Received: (qmail 15981 invoked by uid 500); 27 Aug 2009 07:34:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 10767 invoked by uid 99); 27 Aug 2009 07:26:36 -0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Message-ID: <[email protected]> Content-Type: multipart/alternative; boundary="_373bff03-3af7-4246-94d1-6b0032c2f369_" X-Originating-IP: [161.129.204.104] From: Ali Mahdoui <[email protected]> To: <[email protected]> Subject: Passing POST Parameters to a block call, cocoon 2.2, please urgent! Date: Thu, 27 Aug 2009 09:26:02 +0200 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 27 Aug 2009 07:26:02.0779 (UTC) FILETIME=[A1D3BEB0:01CA26E7] X-Virus-Checked: Checked by ClamAV on apache.org --_373bff03-3af7-4246-94d1-6b0032c2f369_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Hi=2C i want to forewoard my form data to a "servlet:..." pipeline request. =20 My Form: =20 <form action=3D"pattern1" method=3D"post"> <input type=3D"text" name=3D"data"> </form> =20 The source pipeline calls a block like this =20 <map:match pattern=3D"pattern1"> <map:generate src=3D"servlet:block-id:/pattern2"/> </map:match> =20 =20 In my second Block i have a match which uses the posted data to make a serv= ice call on a third server =20 <map:match pattern=3D"pattern2"> <map:generate src=3D"third service call"/> <map:serialize type=3D"xml"/> </map:match>=20 =20 =20 My propblem is that all the posted parameters from my form are lost in the = second block and the third service call does not succeed. What i am doing wrong? I there any tutorial or sample how to do that correctly? =20 I have tried to change the code in cocoon-servlet-service-impl for the clas= s ServletServiceRequest=2C i can now get the parameters and the request met= hod but it is still not working correctly. =20 thank you for your help. =20 =20 _________________________________________________________________ http://redirect.gimas.net/?n=3DM0908axIE_MSN2 Surfen =96 optimiert f=FCr MSN.= --_373bff03-3af7-4246-94d1-6b0032c2f369_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable <html> <head> <style> .hmmessage P { margin:0px=3B padding:0px } body.hmmessage { font-size: 10pt=3B font-family:Verdana } </style> </head> <body class=3D'hmmessage'> Hi=2C<BR> i want to forewoard my form data to&nbsp=3Ba "servlet:..." pipeline request= .<BR> &nbsp=3B<BR> My Form:<BR> &nbsp=3B<BR> &lt=3Bform action=3D"pattern1" method=3D"post"&gt=3B<BR> &nbsp=3B&nbsp=3B&nbsp=3B &lt=3Binput type=3D"text" name=3D"data"&gt=3B<BR> &lt=3B/form&gt=3B<BR> &nbsp=3B<BR> The source pipeline calls a block like this<BR> &nbsp=3B<BR> &lt=3Bmap:match pattern=3D"pattern1"&gt=3B<BR> &nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B &lt=3Bmap:generate src=3D"servlet:block-id= :/pattern2"/&gt=3B<BR> &lt=3B/map:match&gt=3B<BR> &nbsp=3B<BR> &nbsp=3B<BR> In my second Block i have a&nbsp=3Bmatch which uses the posted data to make= a service call on a third server<BR> &nbsp=3B<BR> &lt=3Bmap:match pattern=3D"pattern2"&gt=3B<BR> &nbsp=3B&nbsp=3B&nbsp=3B &lt=3Bmap:generate src=3D"third service call"/&gt= =3B<BR> &nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&lt=3Bmap:serialize type=3D"xml"/&gt=3B<BR> &lt=3B/map:match&gt=3B&nbsp=3B<BR> &nbsp=3B<BR> &nbsp=3B<BR> My propblem is that all the posted parameters from my form are lost in the = second block<BR> and the third service call does not succeed.<BR> What i am doing wrong?<BR> I there any tutorial or sample how to do that correctly?<BR> &nbsp=3B<BR> I have tried to change the code in cocoon-servlet-service-impl for the clas= s ServletServiceRequest=2C i can now get the parameters and the request met= hod but it is still not working correctly.<BR> &nbsp=3B<BR> thank you for your help.<BR> &nbsp=3B<BR> &nbsp=3B<BR><br /><hr />Surfen =96 <a href=3D'http://redirect.gimas.net/?n= =3DM0908aIE_MSN1' target=3D'_new'>optimiert f=FCr MSN.</a></body> </html>= --_373bff03-3af7-4246-94d1-6b0032c2f369_-- From [email protected] Thu Aug 27 07:55:20 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11432 invoked from network); 27 Aug 2009 07:55:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Aug 2009 07:55:19 -0000 Received: (qmail 33824 invoked by uid 500); 27 Aug 2009 07:55:19 -0000 Delivered-To: [email protected] Received: (qmail 33748 invoked by uid 500); 27 Aug 2009 07:55:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 33740 invoked by uid 99); 27 Aug 2009 07:55:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Aug 2009 07:55:18 +0000 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=SPF_HELO_NEUTRAL,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) Received: from [161.129.204.104] (HELO Acrys.COM) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Aug 2009 07:55:08 +0000 Received: from [161.129.204.104] (nb-pruy.acrys.com [161.129.204.104]) by Acrys.COM (8.14.3/8.14.3/2.13) with ESMTP id n7R7sjK2018130 for <[email protected]>; Thu, 27 Aug 2009 09:54:46 +0200 (CEST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter [email protected] Message-ID: <[email protected]> Date: Thu, 27 Aug 2009 09:54:45 +0200 From: Rainer Pruy <[email protected]> Organization: Acrys Consult GmbH & Co. KG User-Agent: Thunderbird 161.129.204.104 (X11/20090605) MIME-Version: 1.0 To: [email protected] Subject: Re: Passing POST Parameters to a block call, cocoon 2.2, please urgent! References: <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 0.95.2 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gaia.acrys.com X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-4.1 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 Hi Ali, the "problem" is, you are trying to use cocoon inappropriately. Currently there is no way passing parameters via servlet protocol. (Actually, you could use URL-encoded parameters. That will work. But, not all forms data can be propagated that way.) The only approach that will work with passing forms data in is directing the (external) call directly into the targeted block. (You may use inheritance to get access to shared resources from "master" sitemap). This was quite a short sketch of a non-trivial topic. Nevertheless, this deficiency of the servlet protocol is the reason why I still stick with 2.1. I can not afford the time for restructuring my applications to cope with new inter sitemap semantics. Rainer Ali Mahdoui schrieb: > Hi, > i want to forewoard my form data to a "servlet:..." pipeline request. > > My Form: > > <form action="pattern1" method="post"> > <input type="text" name="data"> > </form> > > The source pipeline calls a block like this > > <map:match pattern="pattern1"> > <map:generate src="servlet:block-id:/pattern2"/> > </map:match> > > > In my second Block i have a match which uses the posted data to make a > service call on a third server > > <map:match pattern="pattern2"> > <map:generate src="third service call"/> > <map:serialize type="xml"/> > </map:match> > > > My propblem is that all the posted parameters from my form are lost in > the second block > and the third service call does not succeed. > What i am doing wrong? > I there any tutorial or sample how to do that correctly? > > I have tried to change the code in cocoon-servlet-service-impl for the > class ServletServiceRequest, i can now get the parameters and the > request method but it is still not working correctly. > > thank you for your help. > > > > ------------------------------------------------------------------------ > Surfen – optimiert für MSN. <http://redirect.gimas.net/?n=M0908aIE_MSN1> -- Rainer Pruy Geschäftsführer Acrys Consult GmbH & Co. KG Theodor-Heuss-Str. 53-63, D-61118 Bad Vilbel Tel: 7404181820 Fax: 7404181820 Web: http://www.acrys.com - Email: [email protected] Handelsregister: Frankfurt am Main, HRA 31151 Komplementärin: Acrys Verwaltungs GmbH Theodor-Heuss-Str. 53-63, D-61118 Bad Vilbel Handelsregister: Frankfurt am Main, HRB 57625 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Aug 27 08:08:31 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14628 invoked from network); 27 Aug 2009 08:08:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Aug 2009 08:08:31 -0000 Received: (qmail 55069 invoked by uid 500); 27 Aug 2009 08:08:30 -0000 Delivered-To: [email protected] Received: (qmail 55019 invoked by uid 500); 27 Aug 2009 08:08:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 55011 invoked by uid 99); 27 Aug 2009 08:08:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Aug 2009 08:08:30 +0000 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=SPF_HELO_NEUTRAL,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) Received: from [161.129.204.104] (HELO Acrys.COM) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Aug 2009 08:08:21 +0000 Received: from [161.129.204.104] (nb-pruy.acrys.com [161.129.204.104]) by Acrys.COM (8.14.3/8.14.3/2.13) with ESMTP id n7R87uiV020944 for <[email protected]>; Thu, 27 Aug 2009 10:07:57 +0200 (CEST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter [email protected] Message-ID: <[email protected]> Date: Thu, 27 Aug 2009 10:07:56 +0200 From: Rainer Pruy <[email protected]> Organization: Acrys Consult GmbH & Co. KG User-Agent: Thunderbird 161.129.204.104 (X11/20090605) MIME-Version: 1.0 To: [email protected] Subject: Re: Passing POST Parameters to a block call, cocoon 2.2, please urgent! References: <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 0.95.2 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gaia.acrys.com X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.5 Hi, I forgot to add: Please note, that - among some other places in cocoon - servlet protocol starts a new request, (nearly) independent from the original one. This request (currently) does not inherit any parameters. To achieve such behavior, it would be necessary to add some syntax for control of propagating parameters from the "calling" sitemap. As there are a lot of use cases where there is no benefit from passing a bunch of parameters along without need, it is quite reasonable not to pass any parameters be default. I could however think of a means of control to be added to the servlet protocol URI for activating passing of parameters. But if we are there, the next though is of passing only some params, adding some more, overwriting, modifying value based on existing values,.......... thus, I doubt there is an easy [email protected]. And thgere is still the fundamental question of whether such "feature" really is necessary or even beneficial for building "well-formed" applications. Rainer Ali Mahdoui schrieb: > Hi, > i want to forewoard my form data to a "servlet:..." pipeline request. > > My Form: > > <form action="pattern1" method="post"> > <input type="text" name="data"> > </form> > > The source pipeline calls a block like this > > <map:match pattern="pattern1"> > <map:generate src="servlet:block-id:/pattern2"/> > </map:match> > > > In my second Block i have a match which uses the posted data to make a > service call on a third server > > <map:match pattern="pattern2"> > <map:generate src="third service call"/> > <map:serialize type="xml"/> > </map:match> > > > My propblem is that all the posted parameters from my form are lost in > the second block > and the third service call does not succeed. > What i am doing wrong? > I there any tutorial or sample how to do that correctly? > > I have tried to change the code in cocoon-servlet-service-impl for the > class ServletServiceRequest, i can now get the parameters and the > request method but it is still not working correctly. > > thank you for your help. > > > > ------------------------------------------------------------------------ > Surfen – optimiert für MSN. <http://redirect.gimas.net/?n=M0908aIE_MSN1> -- Rainer Pruy Geschäftsführer Acrys Consult GmbH & Co. KG Theodor-Heuss-Str. 53-63, D-61118 Bad Vilbel Tel: 7404181820 Fax: 7404181820 Web: http://www.acrys.com - Email: [email protected] Handelsregister: Frankfurt am Main, HRA 31151 Komplementärin: Acrys Verwaltungs GmbH Theodor-Heuss-Str. 53-63, D-61118 Bad Vilbel Handelsregister: Frankfurt am Main, HRB 57625 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Aug 27 08:34:52 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20385 invoked from network); 27 Aug 2009 08:34:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Aug 2009 08:34:52 -0000 Received: (qmail 76621 invoked by uid 500); 27 Aug 2009 08:34:51 -0000 Delivered-To: [email protected] Received: (qmail 76535 invoked by uid 500); 27 Aug 2009 08:34:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 76527 invoked by uid 99); 27 Aug 2009 08:34:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Aug 2009 08:34:51 +0000 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wabe.csir.co.za) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Aug 2009 08:34:39 +0000 X-CSIR-MailScanner-Watermark: 1251966761.93407@lmwO+uglTAAaDaFIMxO9bQ Received: from pta-emo.csir.co.za (pta-emo.csir.co.za [161.129.204.104]) by wabe.csir.co.za (8.14.2/8.14.2) with ESMTP id n7R8WfVE009903 for <[email protected]>; Thu, 27 Aug 2009 10:32:41 +0200 Received: from PTA-EMO-MTA by pta-emo.csir.co.za with Novell_GroupWise; Thu, 27 Aug 2009 10:32:23 +0200 Message-Id: <[email protected]> X-Mailer: Novell GroupWise Internet Agent 7.0.3 Date: Thu, 27 Aug 2009 10:32:21 +0200 From: "Derek Hohls" <[email protected]> To: <[email protected]> Subject: Queries not working with "AS" protocol? Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0rc1 (wabe.csir.co.za [161.129.204.104]); Thu, 27 Aug 2009 10:32:41 +0200 (SAST) X-CSIR-MailScanner-Information: Please contact the ISP for more information X-CSIR-MailScanner-ID: n7R8WfVE009903 X-CSIR-MailScanner: Found to be clean X-CSIR-MailScanner-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No I am in the process of moving my applications over from Windows to Linux as= my development platform. I am now running Cocoon 2.1.11 and Mysql 5.0.67 (was 2.1.8 and 4.0.23) There is one issue I have encountered so far. When running a query of the form: SELECT foo AS bar from mytable The SQLTransformer gives back: <sq2:row> <sq2:foo>text</sq2:foo> </sq2:row> instead of: <sq2:row> <sq2:bar>text</sq2:bar> </sq2:row> (I have tested the same query using the MySQL Query Browser and it works as= expected.) Does anyone know why this is and how I can fix it? Thanks Derek --=20 This message is subject to the CSIR's copyright terms and conditions, e-mai= l legal notice, and implemented Open Document Format (ODF) standard.=20 The full disclaimer details can be found at http://www.csir.co.za/disclaime= r.html. This message has been scanned for viruses and dangerous content by MailScan= ner,=20 and is believed to be clean. MailScanner thanks Transtec Computers for the= ir support. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Aug 27 09:57:56 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 50248 invoked from network); 27 Aug 2009 09:57:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Aug 2009 09:57:56 -0000 Received: (qmail 65337 invoked by uid 500); 27 Aug 2009 09:57:55 -0000 Delivered-To: [email protected] Received: (qmail 65273 invoked by uid 500); 27 Aug 2009 09:57:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 65265 invoked by uid 99); 27 Aug 2009 09:57:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Aug 2009 09:57:55 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO miraculix.workflow.at) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Aug 2009 09:57:47 +0000 Subject: Gabriel Gruber/Workflow is out of office. Auto-Submitted: auto-generated From: Gabriel Gruber <[email protected]> To: [email protected] Message-ID: <[email protected]> Date: Thu, 27 Aug 2009 10:01:29 +0200 X-MIMETrack: Serialize by Router on Miraculix/Workflow(Release 8.0.2|August 07, 2008) at 7404181820:01:53 MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org I will be out of the office starting 27.08.2009 and will not return un= til 31.08.2009. Ich bin bis zum 28.08.2009 auf Urlaub und ab 31.08.2009 wieder f=FCr Si= e erreichbar. Bei technischen Fragen zum System Webdesk wenden Sie sich b= itte vertrauensvoll an Hrn. Gutzelnig oder Hrn. Stastny. Bei Fragen zu laufe= nden Projekten wenden Sie sich bitte an Hrn. Gutzelnig! In dringenden F=E4ll= en versuchen Sie es auf meinem Handy: 7404181820! mit freundlichen Gr=FCssen Gabriel Gruber= --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Aug 27 12:32:18 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9155 invoked from network); 27 Aug 2009 12:32:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Aug 2009 12:32:18 -0000 Received: (qmail 52286 invoked by uid 500); 27 Aug 2009 12:32:17 -0000 Delivered-To: [email protected] Received: (qmail 52204 invoked by uid 500); 27 Aug 2009 12:32:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 52196 invoked by uid 99); 27 Aug 2009 12:32:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Aug 2009 12:32:17 +0000 X-ASF-Spam-Status: No, hits=1.1 required=10.0 tests=FORGED_HOTMAIL_RCVD2,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Aug 2009 12:32:07 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1Mge8o-0004D4-6Y for [email protected]; Thu, 27 Aug 2009 05:31:46 -0700 Message-ID: <[email protected]> Date: Thu, 27 Aug 2009 05:31:46 -0700 (PDT) From: Maria Grigorieva <[email protected]> To: [email protected] Subject: view *.doc file in browser window MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org hello! I need to view text document in browser. Not to download the file. Now I have just reader: <map:match pattern="**/*/article.doc"> <map:read mime-type="application/text" src="publish/{2}/article.doc"/> </map:match> -- View this message in context: http://www.nabble.com/view-*.doc-file-in-browser-window-tp25167553p25167553.html Sent from the Cocoon - Users mailing list [email protected]. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Aug 27 21:19:30 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49779 invoked from network); 27 Aug 2009 21:19:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Aug 2009 21:19:30 -0000 Received: (qmail 21199 invoked by uid 500); 27 Aug 2009 21:19:29 -0000 Delivered-To: [email protected] Received: (qmail 21121 invoked by uid 500); 27 Aug 2009 21:19:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 21113 invoked by uid 99); 27 Aug 2009 21:19:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Aug 2009 21:19:28 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO agssa.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Aug 2009 21:19:20 +0000 Received-SPF: pass (agssa.net: domain of [email protected] designates 161.129.204.104 as permitted sender) receiver=agssa.net; client-ip=161.129.204.104; helo=[161.129.204.104]; [email protected]; x-software=spfmilter 0.97 http://www.acme.com/software/spfmilter/ with libspf2-1.0.0; Received: from [161.129.204.104] (localhost.localdomain [161.129.204.104]) by agssa.net (8.14.3/8.14.2) with ESMTP id n7RLIqqf008464 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for <[email protected]>; Thu, 27 Aug 2009 15:18:57 -0600 Message-ID: <[email protected]> Date: Thu, 27 Aug 2009 15:18:51 -0600 From: Antonio Gallardo <[email protected]> Organization: AG Software, S. A. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:161.129.204.104) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Thunderbird/3.0b3 MIME-Version: 1.0 To: [email protected] Subject: Re: view *.doc file in browser window References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.1.1 (agssa.net [161.129.204.104]); Thu, 27 Aug 2009 15:18:57 -0600 (CST) X-Virus-Scanned: ClamAV 0.94.2/9751/Thu Aug 27 11:08:53 2009 on ags01.agssa.net X-Virus-Status: Clean X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ags01.agssa.net X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, SPF_PASS autolearn=ham version=3.2.5 Hi Maria, I think it is not a cocoon task. I mean, cocon can only send the file. How the browser handle the file depends on browser configuration for a given mime type. Hint: Try to find a better mime type for a word document to allow the browser to handle it the file as you expect. Best Regards, Antonio Gallardo. El 27/08/09 06:31, Maria Grigorieva escribió: > hello! > I need to view text document in browser. Not to download the file. > > Now I have just reader: > > <map:match pattern="**/*/article.doc"> > <map:read mime-type="application/text" src="publish/{2}/article.doc"/> > </map:match> > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Aug 27 21:37:43 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60054 invoked from network); 27 Aug 2009 21:37:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Aug 2009 21:37:43 -0000 Received: (qmail 37762 invoked by uid 500); 27 Aug 2009 21:37:42 -0000 Delivered-To: [email protected] Received: (qmail 37682 invoked by uid 500); 27 Aug 2009 21:37:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 37674 invoked by uid 99); 27 Aug 2009 21:37:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Aug 2009 21:37:41 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO agssa.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Aug 2009 21:37:32 +0000 Received-SPF: pass (agssa.net: domain of [email protected] designates 161.129.204.104 as permitted sender) receiver=agssa.net; client-ip=161.129.204.104; helo=[161.129.204.104]; [email protected]; x-software=spfmilter 0.97 http://www.acme.com/software/spfmilter/ with libspf2-1.0.0; Received: from [161.129.204.104] (localhost.localdomain [161.129.204.104]) by agssa.net (8.14.3/8.14.2) with ESMTP id n7RLb23o008703 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for <[email protected]>; Thu, 27 Aug 2009 15:37:04 -0600 Message-ID: <[email protected]> Date: Thu, 27 Aug 2009 15:37:02 -0600 From: Antonio Gallardo <[email protected]> Organization: AG Software, S. A. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:161.129.204.104) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Thunderbird/3.0b3 MIME-Version: 1.0 To: [email protected] Subject: Re: Cocoon 2.1.11- XSP compiled in Java 1.3 when running Cocoon with a 1.6 JVM and using the Eclipse compiler References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: multipart/alternative; boundary="------------020307040505060609020302" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.1.1 (agssa.net [161.129.204.104]); Thu, 27 Aug 2009 15:37:05 -0600 (CST) X-Virus-Scanned: ClamAV 0.94.2/9751/Thu Aug 27 11:08:53 2009 on ags01.agssa.net X-Virus-Status: Clean X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ags01.agssa.net X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, HTML_MESSAGE,SPF_PASS autolearn=ham version=3.2.5 --------------020307040505060609020302 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi Laurent, Please look into the cocoon.xconf for the configuration of eclipse compiler and set the value to "1.5" instead of "auto". Here is the code: <!--+ 55 : | Specifies the java code source version used to compile the XSP code. 56 : | 57 : | Posible values: 58 : | 1.3 = Java version 1.3 59 : | 1.4 = Java version 1.4 60 : | 1.5 = Java version 1.5 61 : | auto = The version of the JVM where cocoon is running. (Default value). 62 : | 63 : | NOTE: The parameter is optional to keep backward compatibility. 64 : anathaniel 555089 <http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/src/blocks/xsp/conf/xsp-program-language.xconf?view=diff&pathrev=555089&r1=555088&r2=555089> | The parameter works with Sun Javac compiler and the Eclipse compiler. 65 : antonio 124779 <http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/src/blocks/xsp/conf/xsp-program-language.xconf?view=diff&pathrev=555089&r1=124778&r2=124779> | The pizza compiler does not support java 1.5. 66 : +--> 67 : <!-- <parameter name="compiler-compliance-level" value="auto"/> --> Best Regards, Antonio Gallardo El 21/08/09 09:27, Laurent Medioni escribió: > Hello, > Still with our Cocoon 2.1.11 on a 1.6 JVM series... > Just noticed that org.apache.cocoon.components.language.programming.java.EclipseJavaCompiler does not know anything about 1.6 (nothing wrong with this as it uses JDT 3.1) but in this case defaults to... 1.3, which is quite a big step back from 1.4 ;). > It is possible to force the compliance level to 1.5 through the xconf parameter compiler-compliance-level but no configuration is possible for the generated class file compatibility, which does not obey to the same parameter... > > I tried to replace JDT 3.1 by the latest 3.5 and locally patched EclipseJavaCompiler to manage a 1.6 value... For the moment it works well... > > Cheers, > Laurent > > ____________________________________________________________ > > � This email and any files transmitted with it are CONFIDENTIAL and intended > solely for the use of the individual or entity to which they are addressed. > � Any unauthorized copying, disclosure, or distribution of the material within > this email is strictly forbidden. > � Any views or opinions presented within this e-mail are solely those of the > author and do not necessarily represent those of Odyssey Financial > Technologies SA unless otherwise specifically stated. > � An electronic message is not binding on its sender. Any message referring to > a binding engagement must be confirmed in writing and duly signed. > � If you have received this email in error, please notify the sender immediately > and delete the original. > --------------020307040505060609020302 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> </head> <body text="#000000" bgcolor="#ffffff"> Hi Laurent,<br> <br> Please look into the cocoon.xconf for the configuration of eclipse compiler and set the value to "1.5" instead of "auto". Here is the code:<br> <br> <table cellpadding="0" cellspacing="0"> <tbody> <tr class="vc_row_even" id="l54"> <td class="vc_blame_text">&lt;!--+ </td> </tr> <tr class="vc_row_even" id="l55"> <td class="vc_blame_line">55 :</td> <td class="vc_blame_author"> </td> <td class="vc_blame_rev"> </td> <td class="vc_blame_text"> | Specifies the java code source version used to compile the XSP code. </td> </tr> <tr class="vc_row_even" id="l56"> <td class="vc_blame_line">56 :</td> <td class="vc_blame_author"> </td> <td class="vc_blame_rev"> </td> <td class="vc_blame_text"> | </td> </tr> <tr class="vc_row_even" id="l57"> <td class="vc_blame_line">57 :</td> <td class="vc_blame_author"> </td> <td class="vc_blame_rev"> </td> <td class="vc_blame_text"> | Posible values: </td> </tr> <tr class="vc_row_even" id="l58"> <td class="vc_blame_line">58 :</td> <td class="vc_blame_author"> </td> <td class="vc_blame_rev"> </td> <td class="vc_blame_text"> | 1.3 = Java version 1.3 </td> </tr> <tr class="vc_row_even" id="l59"> <td class="vc_blame_line">59 :</td> <td class="vc_blame_author"> </td> <td class="vc_blame_rev"> </td> <td class="vc_blame_text"> | 1.4 = Java version 1.4 </td> </tr> <tr class="vc_row_even" id="l60"> <td class="vc_blame_line">60 :</td> <td class="vc_blame_author"> </td> <td class="vc_blame_rev"> </td> <td class="vc_blame_text"> | 1.5 = Java version 1.5 </td> </tr> <tr class="vc_row_even" id="l61"> <td class="vc_blame_line">61 :</td> <td class="vc_blame_author"> </td> <td class="vc_blame_rev"> </td> <td class="vc_blame_text"> | auto = The version of the JVM where cocoon is running. (Default value). </td> </tr> <tr class="vc_row_even" id="l62"> <td class="vc_blame_line">62 :</td> <td class="vc_blame_author"> </td> <td class="vc_blame_rev"> </td> <td class="vc_blame_text"> | </td> </tr> <tr class="vc_row_even" id="l63"> <td class="vc_blame_line">63 :</td> <td class="vc_blame_author"> </td> <td class="vc_blame_rev"> </td> <td class="vc_blame_text"> | NOTE: The parameter is optional to keep backward compatibility. </td> </tr> <tr class="vc_row_odd" id="l64"> <td class="vc_blame_line">64 :</td> <td class="vc_blame_author">anathaniel</td> <td class="vc_blame_rev"><a href="http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/src/blocks/xsp/conf/xsp-program-language.xconf?view=diff&amp;pathrev=555089&amp;r1=555088&amp;r2=555089">555089</a></td> <td class="vc_blame_text"> | The parameter works with Sun Javac compiler and the Eclipse compiler. </td> </tr> <tr class="vc_row_even" id="l65"> <td class="vc_blame_line">65 :</td> <td class="vc_blame_author">antonio</td> <td class="vc_blame_rev"><a href="http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/src/blocks/xsp/conf/xsp-program-language.xconf?view=diff&amp;pathrev=555089&amp;r1=124778&amp;r2=124779">124779</a></td> <td class="vc_blame_text"> | The pizza compiler does not support java 1.5. </td> </tr> <tr class="vc_row_even" id="l66"> <td class="vc_blame_line">66 :</td> <td class="vc_blame_author"> </td> <td class="vc_blame_rev"> </td> <td class="vc_blame_text"> +--&gt; </td> </tr> <tr class="vc_row_even" id="l67"> <td class="vc_blame_line">67 :</td> <td class="vc_blame_author"> </td> <td class="vc_blame_rev"> </td> <td class="vc_blame_text"> &lt;!-- &lt;parameter name="compiler-compliance-level" value="auto"/&gt; --&gt; </td> </tr> </tbody> </table> <br> Best Regards,<br> <br> Antonio Gallardo<br> <br> El 21/08/09 09:27, Laurent Medioni escribió: <blockquote cite="mid:[email protected]" type="cite"> <pre wrap="">Hello, Still with our Cocoon 2.1.11 on a 1.6 JVM series... Just noticed that org.apache.cocoon.components.language.programming.java.EclipseJavaCompiler does not know anything about 1.6 (nothing wrong with this as it uses JDT 3.1) but in this case defaults to... 1.3, which is quite a big step back from 1.4 ;). It is possible to force the compliance level to 1.5 through the xconf parameter compiler-compliance-level but no configuration is possible for the generated class file compatibility, which does not obey to the same parameter... I tried to replace JDT 3.1 by the latest 3.5 and locally patched EclipseJavaCompiler to manage a 1.6 value... For the moment it works well... Cheers, Laurent ____________________________________________________________ � This email and any files transmitted with it are CONFIDENTIAL and intended solely for the use of the individual or entity to which they are addressed. � Any unauthorized copying, disclosure, or distribution of the material within this email is strictly forbidden. � Any views or opinions presented within this e-mail are solely those of the author and do not necessarily represent those of Odyssey Financial Technologies SA unless otherwise specifically stated. � An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. � If you have received this email in error, please notify the sender immediately and delete the original. </pre> </blockquote> <br> </body> </html> --------------020307040505060609020302-- From [email protected] Fri Aug 28 07:27:42 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68411 invoked from network); 28 Aug 2009 07:27:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Aug 2009 07:27:42 -0000 Received: (qmail 84456 invoked by uid 500); 28 Aug 2009 07:27:41 -0000 Delivered-To: [email protected] Received: (qmail 84378 invoked by uid 500); 28 Aug 2009 07:27:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 84370 invoked by uid 99); 28 Aug 2009 07:27:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Aug 2009 07:27:41 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=MIME_BASE64_BLANKS,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail27.messagelabs.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 28 Aug 2009 07:27:32 +0000 X-VirusChecked: Checked X-Env-Sender: [email protected] X-Msg-Ref: server-2.tower-27.messagelabs.com!1251444428!22864166!1 X-StarScan-Version: 6.1.3; banners=odyssey-group.com,-,- X-Originating-IP: [161.129.204.104] Received: (qmail 14718 invoked from network); 28 Aug 2009 07:27:08 -0000 Received: from unknown (HELO mail3.oams.com) (161.129.204.104) by server-2.tower-27.messagelabs.com with SMTP; 28 Aug 2009 07:27:08 -0000 Received: from mail4.oams.com ([161.129.204.104]) by mail3.oams.com with Microsoft SMTPSVC7404181820); Fri, 28 Aug 2009 09:27:08 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 Subject: RE: Cocoon 2.1.11- XSP compiled in Java 1.3 when running Cocoon with a 1.6 JVM and using the Eclipse compiler Date: Fri, 28 Aug 2009 09:27:07 +0200 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Cocoon 2.1.11- XSP compiled in Java 1.3 when running Cocoon with a 1.6 JVM and using the Eclipse compiler Thread-Index: AconXp2vKYbRt+DjTGqW96h0J0UBdgAURLqg From: "Laurent Medioni" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 28 Aug 2009 07:27:08.0423 (UTC) FILETIME=[F35DF970:01CA27B0] X-Virus-Checked: Checked by ClamAV on apache.org SGksClllcyBJIHVzZWQgaXQsIGJ1dCBpdCBvbmx5IGFmZmVjdHMgdGhlIGNvbXBsaWFuY2UgbGV2 ZWwsIG5vdCB0aGUgZ2VuZXJhdGVkIGNsYXNzIGZpbGUgY29tcGF0aWJpbGl0eSwgd2hpY2ggaXMg ZGlyZWN0bHkgdGFrZW4gZnJvbSB0aGUgdmVyc2lvbiBvZiB0aGUgcnVubmluZyBKVk0uLi4gQW5k IHRoZSBkZWZhdWx0IG9mIHRoZSBzd2l0Y2gvY2FzZSBpcyAxLjMuLi4KU28gSSBoYWQgdG8gcmVw bGFjZSB0aGUgMiBzd2l0Y2gvY2FzZXMgaW4gRWNsaXBzZUphdmFDb21waWxlciAoMSBmb3IgdGhl IHNvdXJjZSBjb2RlIHZlcnNpb24gYW5kIDEgZm9yIHRoZSB0YXJnZXQgdmVyc2lvbikgd2l0aCBu ZXcgb25lcyBkZWZhdWx0aW5nIHRvIDEuNSBpZiB0aGUgdmVyc2lvbiBpcyBncmVhdGVyIHRoYW4g MS41LgpTbyB1c2luZyBKRFQgMy4xIGFuZCBydW5uaW5nIGEgMS42IEpWTSBwcm9kdWNlcyAxLjUg Y29kZSAod2hpY2ggaXMgdGhlIGxpbWl0IG9mIEpEVCAzLjEpLgoKTXkgc2Vjb25kIHRyeSBoYXMg YmVlbiB0byB1c2UgSkRUIDMuNSBhbmQgbW9kaWZ5aW5nIGFnYWluIEVjbGlwc2VKYXZhQ29tcGls ZXIgdG8gcHJvcGVybHkgbWFuYWdlIDEuNi4gQW5kIGV2ZXJ5dGhpbmcgc2VlbXMgdG8gd29yayBm aW5lLgoKTGF1cmVudAoKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpG cm9tOiBBbnRvbmlvIEdhbGxhcmRvIFttYWlsdG86YWdhbGxhcmRvQGFnc3NhLm5ldF0gClNlbnQ6 IGpldWRpLCAyNy4gYW/Du3QgMjAwOSAyMzozNwpUbzogdXNlcnNAY29jb29uLmFwYWNoZS5vcmcK U3ViamVjdDogUmU6IENvY29vbiAyLjEuMTEtIFhTUCBjb21waWxlZCBpbiBKYXZhIDEuMyB3aGVu IHJ1bm5pbmcgQ29jb29uIHdpdGggYSAxLjYgSlZNIGFuZCB1c2luZyB0aGUgRWNsaXBzZSBjb21w aWxlcgoKSGkgTGF1cmVudCwKClBsZWFzZSBsb29rIGludG8gdGhlIGNvY29vbi54Y29uZiBmb3Ig dGhlIGNvbmZpZ3VyYXRpb24gb2YgZWNsaXBzZSBjb21waWxlciBhbmQgc2V0IHRoZSB2YWx1ZSB0 byAiMS41IiBpbnN0ZWFkIG9mICJhdXRvIi4gSGVyZSBpcyB0aGUgY29kZToKPCEtLSsgCjU1IDoK wqAKwqAKfCBTcGVjaWZpZXMgdGhlIGphdmEgY29kZSBzb3VyY2UgdmVyc2lvbiB1c2VkIHRvIGNv bXBpbGUgdGhlIFhTUCBjb2RlLiAKNTYgOgrCoArCoAp8IAo1NyA6CsKgCsKgCnwgUG9zaWJsZSB2 YWx1ZXM6IAo1OCA6CsKgCsKgCnwgMS4zID0gSmF2YSB2ZXJzaW9uIDEuMyAKNTkgOgrCoArCoAp8 IDEuNCA9IEphdmEgdmVyc2lvbiAxLjQgCjYwIDoKwqAKwqAKfCAxLjUgPSBKYXZhIHZlcnNpb24g MS41IAo2MSA6CsKgCsKgCnwgYXV0byA9IFRoZSB2ZXJzaW9uIG9mIHRoZSBKVk0gd2hlcmUgY29j b29uIGlzIHJ1bm5pbmcuIChEZWZhdWx0IHZhbHVlKS4gCjYyIDoKwqAKwqAKfCAKNjMgOgrCoArC oAp8IE5PVEU6IFRoZSBwYXJhbWV0ZXIgaXMgb3B0aW9uYWwgdG8ga2VlcCBiYWNrd2FyZCBjb21w YXRpYmlsaXR5LiAKNjQgOgphbmF0aGFuaWVsCjU1NTA4OQp8IFRoZSBwYXJhbWV0ZXIgd29ya3Mg d2l0aCBTdW4gSmF2YWMgY29tcGlsZXIgYW5kIHRoZSBFY2xpcHNlIGNvbXBpbGVyLiAKNjUgOgph bnRvbmlvCjEyNDc3OQp8IFRoZSBwaXp6YSBjb21waWxlciBkb2VzIG5vdCBzdXBwb3J0IGphdmEg MS41LiAKNjYgOgrCoArCoAorLS0+IAo2NyA6CsKgCsKgCjwhLS0gPHBhcmFtZXRlciBuYW1lPSJj b21waWxlci1jb21wbGlhbmNlLWxldmVsIiB2YWx1ZT0iYXV0byIvPiAtLT4gCgpCZXN0IFJlZ2Fy ZHMsCgpBbnRvbmlvIEdhbGxhcmRvCgoKCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fXwoKlSBUaGlzIGVtYWlsIGFuZCBhbnkgZmlsZXMg dHJhbnNtaXR0ZWQgd2l0aCBpdCBhcmUgQ09ORklERU5USUFMIGFuZCBpbnRlbmRlZAogIHNvbGVs eSBmb3IgdGhlIHVzZSBvZiB0aGUgaW5kaXZpZHVhbCBvciBlbnRpdHkgdG8gd2hpY2ggdGhleSBh cmUgYWRkcmVzc2VkLgqVIEFueSB1bmF1dGhvcml6ZWQgY29weWluZywgZGlzY2xvc3VyZSwgb3Ig ZGlzdHJpYnV0aW9uIG9mIHRoZSBtYXRlcmlhbCB3aXRoaW4KICB0aGlzIGVtYWlsIGlzIHN0cmlj dGx5IGZvcmJpZGRlbi4KlSBBbnkgdmlld3Mgb3Igb3BpbmlvbnMgcHJlc2VudGVkIHdpdGhpbiB0 aGlzIGUtbWFpbCBhcmUgc29sZWx5IHRob3NlIG9mIHRoZQogIGF1dGhvciBhbmQgZG8gbm90IG5l Y2Vzc2FyaWx5IHJlcHJlc2VudCB0aG9zZSBvZiBPZHlzc2V5IEZpbmFuY2lhbApUZWNobm9sb2dp ZXMgU0EgdW5sZXNzIG90aGVyd2lzZSBzcGVjaWZpY2FsbHkgc3RhdGVkLgqVIEFuIGVsZWN0cm9u aWMgbWVzc2FnZSBpcyBub3QgYmluZGluZyBvbiBpdHMgc2VuZGVyLiBBbnkgbWVzc2FnZSByZWZl cnJpbmcgdG8KICBhIGJpbmRpbmcgZW5nYWdlbWVudCBtdXN0IGJlIGNvbmZpcm1lZCBpbiB3cml0 aW5nIGFuZCBkdWx5IHNpZ25lZC4KlSBJZiB5b3UgaGF2ZSByZWNlaXZlZCB0aGlzIGVtYWlsIGlu IGVycm9yLCBwbGVhc2Ugbm90aWZ5IHRoZSBzZW5kZXIgaW1tZWRpYXRlbHkKICBhbmQgZGVsZXRl IHRoZSBvcmlnaW5hbC4K From [email protected] Fri Aug 28 17:40:49 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57393 invoked from network); 28 Aug 2009 17:40:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Aug 2009 17:40:49 -0000 Received: (qmail 67664 invoked by uid 500); 28 Aug 2009 15:51:28 -0000 Delivered-To: [email protected] Received: (qmail 67592 invoked by uid 500); 28 Aug 2009 15:51:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 67584 invoked by uid 99); 28 Aug 2009 15:51:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Aug 2009 15:51:28 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO agssa.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Aug 2009 15:51:19 +0000 Received-SPF: pass (agssa.net: domain of [email protected] designates 161.129.204.104 as permitted sender) receiver=agssa.net; client-ip=161.129.204.104; helo=[161.129.204.104]; [email protected]; x-software=spfmilter 0.97 http://www.acme.com/software/spfmilter/ with libspf2-1.0.0; Received: from [161.129.204.104] (localhost.localdomain [161.129.204.104]) by agssa.net (8.14.3/8.14.2) with ESMTP id n7SFoqtN025503 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for <[email protected]>; Fri, 28 Aug 2009 09:50:54 -0600 Message-ID: <[email protected]> Date: Fri, 28 Aug 2009 09:50:51 -0600 From: Antonio Gallardo <[email protected]> Organization: AG Software, S. A. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:161.129.204.104) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Thunderbird/3.0b3 MIME-Version: 1.0 To: [email protected] Subject: Re: Cocoon 2.1.11- XSP compiled in Java 1.3 when running Cocoon with a 1.6 JVM and using the Eclipse compiler References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.1.1 (agssa.net [161.129.204.104]); Fri, 28 Aug 2009 09:50:55 -0600 (CST) X-Virus-Scanned: ClamAV 0.94.2/9757/Fri Aug 28 07:16:44 2009 on ags01.agssa.net X-Virus-Status: Clean X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ags01.agssa.net X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, SPF_PASS autolearn=ham version=3.2.5 Hi Laurent, Hmm. I am wondering about your message, because IIRC, the compliance level almost define the target java version for compiled class. I mean if I select compliance level 1.5, the generated class cannot be compiled for java 1.3 because 1.3 JVM cannot handle some of the new features introduced in java 1.5. I can be wrong be I can recall it is not possible to set that way in eclipse. I mean a higher compliance level (ie: 1.5) and a lower compilation level (ie: 1.3). It simply does not work. Best Regards, Antonio Gallardo. El 28/08/09 01:27, Laurent Medioni escribió: > Hi, > Yes I used it, but it only affects the compliance level, not the generated class file compatibility, which is directly taken from the version of the running JVM... And the default of the switch/case is 1.3... > So I had to replace the 2 switch/cases in EclipseJavaCompiler (1 for the source code version and 1 for the target version) with new ones defaulting to 1.5 if the version is greater than 1.5. > So using JDT 3.1 and running a 1.6 JVM produces 1.5 code (which is the limit of JDT 3.1). > > My second try has been to use JDT 3.5 and modifying again EclipseJavaCompiler to properly manage 1.6. And everything seems to work fine. > > Laurent > > ________________________________________ > From: Antonio Gallardo [mailto:[email protected]] > Sent: jeudi, 27. août 2009 23:37 > To: [email protected] > Subject: Re: Cocoon 2.1.11- XSP compiled in Java 1.3 when running Cocoon with a 1.6 JVM and using the Eclipse compiler > > Hi Laurent, > > Please look into the cocoon.xconf for the configuration of eclipse compiler and set the value to "1.5" instead of "auto". Here is the code: > <!--+ > 55 : > > > | Specifies the java code source version used to compile the XSP code. > 56 : > > > | > 57 : > > > | Posible values: > 58 : > > > | 1.3 = Java version 1.3 > 59 : > > > | 1.4 = Java version 1.4 > 60 : > > > | 1.5 = Java version 1.5 > 61 : > > > | auto = The version of the JVM where cocoon is running. (Default value). > 62 : > > > | > 63 : > > > | NOTE: The parameter is optional to keep backward compatibility. > 64 : > anathaniel > 555089 > | The parameter works with Sun Javac compiler and the Eclipse compiler. > 65 : > antonio > 124779 > | The pizza compiler does not support java 1.5. > 66 : > > > +--> > 67 : > > > <!--<parameter name="compiler-compliance-level" value="auto"/> --> > > Best Regards, > > Antonio Gallardo > > > > ____________________________________________________________ > > � This email and any files transmitted with it are CONFIDENTIAL and intended > solely for the use of the individual or entity to which they are addressed. > � Any unauthorized copying, disclosure, or distribution of the material within > this email is strictly forbidden. > � Any views or opinions presented within this e-mail are solely those of the > author and do not necessarily represent those of Odyssey Financial > Technologies SA unless otherwise specifically stated. > � An electronic message is not binding on its sender. Any message referring to > a binding engagement must be confirmed in writing and duly signed. > � If you have received this email in error, please notify the sender immediately > and delete the original. > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Aug 29 18:31:14 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6757 invoked from network); 29 Aug 2009 18:31:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Aug 2009 18:31:13 -0000 Received: (qmail 30614 invoked by uid 500); 29 Aug 2009 18:31:13 -0000 Delivered-To: [email protected] Received: (qmail 30534 invoked by uid 500); 29 Aug 2009 18:31:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 30525 invoked by uid 99); 29 Aug 2009 18:31:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Aug 2009 18:31:12 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-fx0-f226.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Aug 2009 18:31:00 +0000 Received: by fxm26 with SMTP id 26so2186826fxm.18 for <[email protected]>; Sat, 29 Aug 2009 11:30:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=eO1pTbm3DvKlAPaQQBUz5UKr1r7ID9VoBDJ8IMuNumg=; b=awuMjG5gacAUwkJ0ubpJ/BNPRka8MO/TtnLMcUgihhaIxMjl6a9mR4Mo+zlJMCyPYE ncOk7i/iuzpIdK3UKwp2O9M9L2sBmUn4ZyTu0vGfi/QCkaqkX0MpCTf5JkI/MIFRsBm2 isXI4hPT9T7kCuoC+4GmhaFn7qbm6f+LzS2pQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=LQFahWOiGoaT3Fgr/Z2EuCqnsCV3HBF28tr4wrnJ0oMc5M/E7gfE0gn1jDKili8adH 4X7Gr7N67D7U5s2mkbthU2wjFGFQB0fqHgQyJxtR4EiUzsvidDJ5NGumb2sdq5LPiOxZ EfCTGdenyeiPJpjLPncxoWVkkJwjGY1ti3Nl8= Received: by 161.129.204.104 with SMTP id o34mr1097803mul.118.1251570640555; Sat, 29 Aug 2009 11:30:40 -0700 (PDT) Received: from ?161.129.204.104? (chello089079238212.chello.pl [161.129.204.104]) by mx.google.com with ESMTPS id y6sm12468885mug.10.2161.129.204.104.30.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 29 Aug 2009 11:30:39 -0700 (PDT) Message-ID: <[email protected]> Date: Sat, 29 Aug 2009 20:30:38 +0200 From: Tomek Piechowicz <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20090812) MIME-Version: 1.0 To: [email protected] Subject: CForms: date selection widget Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi. Is there any date selection widget in CForms (C2.2) that would let user to choose date instead of manually putting text into html input ? I went through CForms documentation but I didn`t find anything about date widget. :( Regards, Tomasz Piechowicz --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Aug 29 22:19:20 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37934 invoked from network); 29 Aug 2009 22:19:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Aug 2009 22:19:20 -0000 Received: (qmail 21455 invoked by uid 500); 29 Aug 2009 22:19:19 -0000 Delivered-To: [email protected] Received: (qmail 21377 invoked by uid 500); 29 Aug 2009 22:19:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 21369 invoked by uid 99); 29 Aug 2009 22:19:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Aug 2009 22:19:19 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO sester.sidebysite.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Aug 2009 22:19:08 +0000 Received: from xdsl-78-34-64-121.netcologne.de ([161.129.204.104] helo=[161.129.204.104]) by sester.sidebysite.de with esmtpsa (TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.63) (envelope-from <[email protected]>) id 1MhWG1-0006Qg-RV for [email protected]; Sun, 30 Aug 2009 00:18:52 +0200 Message-Id: <[email protected]> From: Benjamin Boksa <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: CForms: date selection widget Date: Sun, 30 Aug 2009 00:18:43 +0200 References: <[email protected]> X-Mailer: Apple Mail (2.936) X-Spam-Score: -4.8 (----) X-Spam-Report: Spam detection software, running on the system "ds80-237-158-89.dedicated.hosteurope.de", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Tomek, see http://cocoon.apache.org/2.2/blocks/forms/1.0/487_1_1.html - that should help. Best Regards [...] Content analysis details: (-4.8 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] -0.4 AWL AWL: From: address is in the auto white-list X-Virus-Checked: Checked by ClamAV on apache.org Hi Tomek, see http://cocoon.apache.org/2.2/blocks/forms/1.0/487_1_1.html - that should help. Best Regards Benjamin Am 29.08.2009 um 20:30 schrieb Tomek Piechowicz: > Hi. > Is there any date selection widget in CForms (C2.2) that would let > user to choose date instead of manually putting text into html input ? > > I went through CForms documentation but I didn`t find anything about > date widget. :( > > Regards, > Tomasz Piechowicz > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 31 06:00:11 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40741 invoked from network); 31 Aug 2009 06:00:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Aug 2009 06:00:11 -0000 Received: (qmail 29608 invoked by uid 500); 31 Aug 2009 06:00:10 -0000 Delivered-To: [email protected] Received: (qmail 29528 invoked by uid 500); 31 Aug 2009 06:00:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 29520 invoked by uid 99); 31 Aug 2009 06:00:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Aug 2009 06:00:10 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO brigitte.telenet-ops.be) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Aug 2009 06:00:00 +0000 Received: from [161.129.204.104] ([161.129.204.104]) by brigitte.telenet-ops.be with bizsmtp id atze1c0011Xtn7A0GtzeGe; Mon, 31 Aug 2009 07:59:38 +0200 Subject: classpath elements ... From: Jos Snellings <[email protected]> To: [email protected] Content-Type: text/plain Organization: Upperware GmbH Date: Mon, 31 Aug 2009 07:59:38 +0200 Message-Id: <1251698378.4357.4.camel@joske-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, The documentation is a little unclear here: are CLASSPATH_SPRING_CONFIGURATION_LOCATION ("classpath*:META-INF/cocoon/spring") GLOBAL_PROPERTIES_LOCATION ("/WEB-INF/cocoon/properties") GLOBAL_SPRING_CONFIGURATION_LOCATION ("/WEB-INF/cocoon/spring") configurable? This could be necessary if one is packaging cocoon for a different environment. There is a problem as to where cocoon is picking up its spring definitions. I am currently missing a document explaining how to package cocoon for Tomcat, for ... With a little help I could write it. Thanks for a couple of hints. Jos --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 31 10:55:16 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30618 invoked from network); 31 Aug 2009 10:55:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Aug 2009 10:55:15 -0000 Received: (qmail 35457 invoked by uid 500); 31 Aug 2009 10:55:14 -0000 Delivered-To: [email protected] Received: (qmail 35382 invoked by uid 500); 31 Aug 2009 10:55:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 35374 invoked by uid 99); 31 Aug 2009 10:55:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Aug 2009 10:55:14 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=MIME_BASE64_BLANKS,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail27.messagelabs.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 31 Aug 2009 10:55:05 +0000 X-VirusChecked: Checked X-Env-Sender: [email protected] X-Msg-Ref: server-2.tower-27.messagelabs.com!1251716082!23074849!1 X-StarScan-Version: 6.1.3; banners=odyssey-group.com,-,- X-Originating-IP: [161.129.204.104] Received: (qmail 18888 invoked from network); 31 Aug 2009 10:54:42 -0000 Received: from unknown (HELO mail3.oams.com) (161.129.204.104) by server-2.tower-27.messagelabs.com with SMTP; 31 Aug 2009 10:54:42 -0000 Received: from mail4.oams.com ([161.129.204.104]) by mail3.oams.com with Microsoft SMTPSVC7404181820); Mon, 31 Aug 2009 12:54:42 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 Subject: RE: Cocoon 2.1.11- XSP compiled in Java 1.3 when running Cocoon with a 1.6 JVM and using the Eclipse compiler Date: Mon, 31 Aug 2009 12:54:41 +0200 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Cocoon 2.1.11- XSP compiled in Java 1.3 when running Cocoon with a 1.6 JVM and using the Eclipse compiler Thread-Index: Acon92oIEgj27a8FRXKwEHjsosP93QCKm6Tw From: "Laurent Medioni" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 31 Aug 2009 10:54:42.0847 (UTC) FILETIME=[720582F0:01CA2A29] X-Virus-Checked: Checked by ClamAV on apache.org SGkgQW50b25pbywKSSBhbSBqdXN0IHRyeWluZyB0byB1bmRlcnN0YW5kIHdoYXQgaXMgZG9uZSBp biBFY2xpcHNlSmF2YUNvbXBpbGVyIDspCgpPcmlnaW5hbCBjb2RlOiBpZiB3ZSBoYXZlIHRoZSBj b21waWxlci1jb21wbGlhbmNlLWxldmVsIHBhcmFtZXRlciBzZXQgdG8gMS41LCB0aGVuIHRoZSBK RFQgb3B0aW9ucyBvcmcuZWNsaXBzZS5qZHQuY29yZS5jb21waWxlci5jb21wbGlhbmNlIGFuZCBv cmcuZWNsaXBzZS5qZHQuY29yZS5jb21waWxlci5zb3VyY2UgYXJlIHNldCB0byAxLjUuIFRoZW4g U3lzdGVtVXRpbHMuSkFWQV9WRVJTSU9OX0lOVCBpcyB1c2VkIHRvIHNldCB0aGUgSkRUIG9wdGlv biBvcmcuZWNsaXBzZS5qZHQuY29yZS5jb21waWxlci5jb2RlZ2VuLnRhcmdldFBsYXRmb3JtLgoK U28gaWYgSSB1c2UgYSAxLjYgSlZNIGFuZCBpZiBJIHNldCBjb21waWxlci1jb21wbGlhbmNlLWxl dmVsIHRvIDEuNSAobWF4aW11bSBoYW5kbGVkIGJ5IEpEVCAzLjEpIHRoZW4gSSBlbmQgdXAgd2l0 aCB0aGUgZm9sbG93aW5nIGNvbWJpbmF0aW9uIG91dCBvZiBFY2xpcHNlSmF2YUNvbXBpbGVyOgot IGNvbXBsaWFuY2UgPSAxLjUKLSBzb3VyY2UgPSAxLjUKLSB0YXJnZXRQbGF0Zm9ybSA9IDEuMwoK SXQgaXMgdHJ1ZSB0aGF0IHRoaXMgY29tYmluYXRpb24gaXMgZGlzY291cmFnZWQgaW4gdGhlIEVj bGlwc2UgUHJlZmVyZW5jZXMgcGFuZWwuIEl0IHJlcXVpcmVzIHRoYXQgU291cmNlIGNvbXBhdGli aWxpdHkgPD0gQ2xhc3NmaWxlIGNvbXBhdGliaWxpdHkgKHRhcmdldFBsYXRmb3JtKSA8PSBDb21w bGlhbmNlIGxldmVsLgoKQnV0IHdpdGggbXkgIndyb25nIiBjb25maWd1cmF0aW9uIEkgZ2V0IG5v IGVycm9ycyBmcm9tIEpEVCBhbmQgWFNQcyBhcmUgY29tcGlsZWQgYW5kIGFyZSBydW5uaW5nIGNv cnJlY3RseSAod2hpY2ggaXMgInVuZGVyc3RhbmRhYmxlIiBiZWNhdXNlIG15IHRhcmdldCBwbGF0 Zm9ybSBpcyBhIDEuNiwgc28gdGhlIG1pbmltdW0gbGV2ZWwgb2YgMS4zIGlzIHJlc3BlY3RlZCku CgpBbnl3YXkgSSB0aGluayB0aGF0IEVjbGlwc2VKYXZhQ29tcGlsZXIgc2hvdWxkIGJlIG1vZGlm aWVkIHRvIHByb3Blcmx5IGhhbmRsZSAxLjYgd2l0aG91dCByZXZlcnRpbmcgdG8gMS4zIGJ5IGRl ZmF1bHQgKGV2ZW4gaWYgdGhlIDIgYWRkaXRpb25hbCBqZHQgcHJvcGVydGllcyBsb29rIG1vcmUg Y29zbWV0aWMgdGhhbiBjcml0aWNhbCBmb3IgdGhlIGdlbmVyYXRlZCBjb2RlKS4KCkxhdXJlbnQK Ci0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tCkZyb206IEFudG9uaW8gR2FsbGFyZG8gW21haWx0 bzphZ2FsbGFyZG9AYWdzc2EubmV0XSAKU2VudDogdmVuZHJlZGksIDI4LiBhb8O7dCAyMDA5IDE3 OjUxClRvOiB1c2Vyc0Bjb2Nvb24uYXBhY2hlLm9yZwpTdWJqZWN0OiBSZTogQ29jb29uIDIuMS4x MS0gWFNQIGNvbXBpbGVkIGluIEphdmEgMS4zIHdoZW4gcnVubmluZyBDb2Nvb24gd2l0aCBhIDEu NiBKVk0gYW5kIHVzaW5nIHRoZSBFY2xpcHNlIGNvbXBpbGVyCgpIaSBMYXVyZW50LAoKSG1tLiBJ IGFtIHdvbmRlcmluZyBhYm91dCB5b3VyIG1lc3NhZ2UsIGJlY2F1c2UgSUlSQywgdGhlIGNvbXBs aWFuY2UgCmxldmVsIGFsbW9zdCBkZWZpbmUgdGhlIHRhcmdldCBqYXZhIHZlcnNpb24gZm9yIGNv bXBpbGVkIGNsYXNzLiBJIG1lYW4gCmlmIEkgc2VsZWN0IGNvbXBsaWFuY2UgbGV2ZWwgMS41LCB0 aGUgZ2VuZXJhdGVkIGNsYXNzIGNhbm5vdCBiZSBjb21waWxlZCAKZm9yIGphdmEgMS4zIGJlY2F1 c2UgMS4zIEpWTSBjYW5ub3QgaGFuZGxlIHNvbWUgb2YgdGhlIG5ldyBmZWF0dXJlcyAKaW50cm9k dWNlZCBpbiBqYXZhIDEuNS4gSSBjYW4gYmUgd3JvbmcgYmUgSSBjYW4gcmVjYWxsIGl0IGlzIG5v dCAKcG9zc2libGUgdG8gc2V0IHRoYXQgd2F5IGluIGVjbGlwc2UuIEkgbWVhbiBhIGhpZ2hlciBj b21wbGlhbmNlIGxldmVsIAooaWU6IDEuNSkgYW5kIGEgbG93ZXIgY29tcGlsYXRpb24gbGV2ZWwg KGllOiAxLjMpLiBJdCBzaW1wbHkgZG9lcyBub3Qgd29yay4KCkJlc3QgUmVnYXJkcywKCkFudG9u aW8gR2FsbGFyZG8uCgoKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fCgqVIFRoaXMgZW1haWwgYW5kIGFueSBmaWxlcyB0cmFuc21pdHRl ZCB3aXRoIGl0IGFyZSBDT05GSURFTlRJQUwgYW5kIGludGVuZGVkCiAgc29sZWx5IGZvciB0aGUg dXNlIG9mIHRoZSBpbmRpdmlkdWFsIG9yIGVudGl0eSB0byB3aGljaCB0aGV5IGFyZSBhZGRyZXNz ZWQuCpUgQW55IHVuYXV0aG9yaXplZCBjb3B5aW5nLCBkaXNjbG9zdXJlLCBvciBkaXN0cmlidXRp b24gb2YgdGhlIG1hdGVyaWFsIHdpdGhpbgogIHRoaXMgZW1haWwgaXMgc3RyaWN0bHkgZm9yYmlk ZGVuLgqVIEFueSB2aWV3cyBvciBvcGluaW9ucyBwcmVzZW50ZWQgd2l0aGluIHRoaXMgZS1tYWls IGFyZSBzb2xlbHkgdGhvc2Ugb2YgdGhlCiAgYXV0aG9yIGFuZCBkbyBub3QgbmVjZXNzYXJpbHkg cmVwcmVzZW50IHRob3NlIG9mIE9keXNzZXkgRmluYW5jaWFsClRlY2hub2xvZ2llcyBTQSB1bmxl c3Mgb3RoZXJ3aXNlIHNwZWNpZmljYWxseSBzdGF0ZWQuCpUgQW4gZWxlY3Ryb25pYyBtZXNzYWdl IGlzIG5vdCBiaW5kaW5nIG9uIGl0cyBzZW5kZXIuIEFueSBtZXNzYWdlIHJlZmVycmluZyB0bwog IGEgYmluZGluZyBlbmdhZ2VtZW50IG11c3QgYmUgY29uZmlybWVkIGluIHdyaXRpbmcgYW5kIGR1 bHkgc2lnbmVkLgqVIElmIHlvdSBoYXZlIHJlY2VpdmVkIHRoaXMgZW1haWwgaW4gZXJyb3IsIHBs ZWFzZSBub3RpZnkgdGhlIHNlbmRlciBpbW1lZGlhdGVseQogIGFuZCBkZWxldGUgdGhlIG9yaWdp bmFsLgo= From [email protected] Mon Aug 31 19:14:19 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76841 invoked from network); 31 Aug 2009 19:14:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Aug 2009 19:14:19 -0000 Received: (qmail 40967 invoked by uid 500); 31 Aug 2009 19:14:17 -0000 Delivered-To: [email protected] Received: (qmail 40911 invoked by uid 500); 31 Aug 2009 19:14:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 40903 invoked by uid 99); 31 Aug 2009 19:14:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Aug 2009 19:14:16 +0000 X-ASF-Spam-Status: No, hits=1.1 required=10.0 tests=FORGED_HOTMAIL_RCVD2,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Aug 2009 19:14:07 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1MiCK3-0002ko-66 for [email protected]; Mon, 31 Aug 2009 12:13:47 -0700 Message-ID: <[email protected]> Date: Mon, 31 Aug 2009 12:13:47 -0700 (PDT) From: Maria Grigorieva <[email protected]> To: [email protected] Subject: using dynamic tree-model source in tree widget (CForms) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org Hello! I need to use dynamic src attribute in tree-model element of tree widget in CForms!!! In user-docs I've read about traversable sources [todo: link to some page with info about sources]. How does it works? Please, help ) -- View this message in context: http://www.nabble.com/using-dynamic-tree-model-source-in-tree-widget-%28CForms%29-tp25228867p25228867.html Sent from the Cocoon - Users mailing list [email protected]. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 31 20:24:08 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95844 invoked from network); 31 Aug 2009 20:24:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Aug 2009 20:24:08 -0000 Received: (qmail 22846 invoked by uid 500); 31 Aug 2009 20:24:07 -0000 Delivered-To: [email protected] Received: (qmail 22716 invoked by uid 500); 31 Aug 2009 20:24:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 22708 invoked by uid 99); 31 Aug 2009 20:24:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Aug 2009 20:24:07 +0000 X-ASF-Spam-Status: No, hits=1.1 required=10.0 tests=FORGED_HOTMAIL_RCVD2,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Aug 2009 20:23:58 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1MiDPd-0006sc-JU for [email protected]; Mon, 31 Aug 2009 13:23:37 -0700 Message-ID: <[email protected]> Date: Mon, 31 Aug 2009 13:23:37 -0700 (PDT) From: Maria Grigorieva <[email protected]> To: [email protected] Subject: Re: using dynamic tree-model source in tree widget (CForms) In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org I need smth like this: <fd:tree id="directories" root-visible="true" selection="single"> <fd:tree-model type="source" src="...dynamic URL..."> Maria Grigorieva wrote: > > Hello! > > I need to use dynamic src attribute in tree-model element of tree widget > in CForms!!! > > In user-docs I've read about traversable sources [todo: link to some page > with info about sources]. > > How does it works? Please, help ) > -- View this message in context: http://www.nabble.com/using-dynamic-tree-model-source-in-tree-widget-%28CForms%29-tp25228867p25229752.html Sent from the Cocoon - Users mailing list [email protected]. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 31 20:45:05 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 464 invoked from network); 31 Aug 2009 20:45:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Aug 2009 20:45:05 -0000 Received: (qmail 61782 invoked by uid 500); 31 Aug 2009 20:45:04 -0000 Delivered-To: [email protected] Received: (qmail 61718 invoked by uid 500); 31 Aug 2009 20:45:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <users.cocoon.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 61710 invoked by uid 99); 31 Aug 2009 20:45:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Aug 2009 20:45:04 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO agssa.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Aug 2009 20:44:56 +0000 Received-SPF: pass (agssa.net: domain of [email protected] designates 161.129.204.104 as permitted sender) receiver=agssa.net; client-ip=161.129.204.104; helo=[161.129.204.104]; [email protected]; x-software=spfmilter 0.97 http://www.acme.com/software/spfmilter/ with libspf2-1.0.0; Received: from [161.129.204.104] (localhost.localdomain [161.129.204.104]) by agssa.net (8.14.3/8.14.2) with ESMTP id n7VKiVLv013123 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for <[email protected]>; Mon, 31 Aug 2009 14:44:33 -0600 Message-ID: <[email protected]> Date: Mon, 31 Aug 2009 14:44:31 -0600 From: Antonio Gallardo <[email protected]> Organization: AG Software, S. A. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:161.129.204.104) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Thunderbird/3.0b3 MIME-Version: 1.0 To: [email protected] Subject: Re: Cocoon 2.1.11- XSP compiled in Java 1.3 when running Cocoon with a 1.6 JVM and using the Eclipse compiler References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.1.1 (agssa.net [161.129.204.104]); Mon, 31 Aug 2009 14:44:33 -0600 (CST) X-Virus-Scanned: ClamAV 0.94.2/9760/Sun Aug 30 20:58:26 2009 on ags01.agssa.net X-Virus-Status: Clean X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ags01.agssa.net X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, SPF_PASS autolearn=ham version=3.2.5 El 31/08/09 04:54, Laurent Medioni escribió: > Anyway I think that EclipseJavaCompiler should be modified to properly handle 1.6 without reverting to 1.3 by default (even if the 2 additional jdt properties look more cosmetic than critical for the generated code). > +1 Would you provide a patch. I think it should not be too dificult. BTW, The java 1.3 was set to default value, due historical reasons. Perhaps it is time to switch that too. :) Best Regards, Antonio Gallardo. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
From [email protected] Fri Feb 12 20:54:43 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22027 invoked from network); 12 Feb 2010 20:54:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Feb 2010 20:54:42 -0000 Received: (qmail 50461 invoked by uid 500); 12 Feb 2010 20:54:42 -0000 Delivered-To: [email protected] Received: (qmail 50444 invoked by uid 500); 12 Feb 2010 20:54:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.shindig.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 50434 invoked by uid 99); 12 Feb 2010 20:54:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Feb 2010 20:54:42 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-fx0-f219.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Feb 2010 20:54:35 +0000 Received: by fxm19 with SMTP id 19so123306fxm.23 for <[email protected]>; Fri, 12 Feb 2010 12:54:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=n/dzV8l57ylVpRxI8DiG6BQWSbwW3vgC60SKfGXBooo=; b=sHKJYmYBvEMTxFylCUbcG6RGJPrgefKpO1BtPA79LscD8IOLcrzQl1LyuK/TQ1K3/K UvN8byQvWLXA2Poh3MhI92H/L7YbRDLRfy2mQPVaeznuhn5V3svQBLINQBA+mzww5OQQ rWQqqa63QvU3wYmFnt8DDFuJxv01mbiW0kvyQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=nQtikUil4TfRk+Bsyj0h8IzqhDP1Wi1K/Be09YHlDIujJQ36LVfedjlY8a3kZDy4/x qrrM1pDua8mZzEqbv7k8n5Wx41iwNiGRFz3UYRPhnHSThvb1Rd9atOd5qZV2PQN0ULHH LUJlo9xz9cADhS/PZ1g6xQyBtcwZdQs9gmNGA= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id t9mr220341hbh.176.1266008054574; Fri, 12 Feb 2010 12:54:14 -0800 (PST) Date: Fri, 12 Feb 2010 15:54:14 -0500 Message-ID: <[email protected]> Subject: Settting up your own server From: erich oliphant <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=001485f45096602e99047f6d786f --001485f45096602e99047f6d786f Content-Type: text/plain; charset=ISO-8859-1 Hi, I am new to shindig, have been through the examples etc. I am trying to understand how to use shindig in my own site. I've added content to the shindig core just to play with the features,etc. But now I, for instance, would like to make my own enhanced gadget server using Shindig. I figured that I could say create a new webapp, add dependencies for the maven jars (which by the way i don't see in any maven repos), use the shindig web.xml,etc as a guide for getting the OpenSocial stuff working properly, then from there build out the rest of my app. Is this the normal approach? I saw a very high level outline on the wiki but that wasn't especially helpful. -- Erich Oliphant "There are, in fact, two things, science and opinion, the former begets knowledge, the latter ignorance" -- Hippocrates of Cos --001485f45096602e99047f6d786f--
From [email protected] Mon Jan 22 10:15:59 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91866 invoked from network); 22 Jan 2007 10:15:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Jan 2007 10:15:59 -0000 Received: (qmail 62874 invoked by uid 500); 22 Jan 2007 10:16:05 -0000 Delivered-To: [email protected] Received: (qmail 62853 invoked by uid 500); 22 Jan 2007 10:16:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general-cvs.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 62842 invoked by uid 500); 22 Jan 2007 10:16:05 -0000 Delivered-To: [email protected] Received: (qmail 62839 invoked by uid 99); 22 Jan 2007 10:16:05 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Jan 2007 02:16:05 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Jan 2007 02:15:58 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id D726F1A981A; Mon, 22 Jan 2007 02:14:51 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r498572 - /xml/site/targets/security/changes.html Date: Mon, 22 Jan 2007 10:14:51 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: raul Date: Mon Jan 22 02:14:51 2007 New Revision: 498572 URL: http://svn.apache.org/viewvc?view=rev&rev=498572 Log: Updating web pages for 1.4 release Removed: xml/site/targets/security/changes.html --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jan 23 09:36:29 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85177 invoked from network); 23 Jan 2007 09:36:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Jan 2007 09:36:28 -0000 Received: (qmail 2882 invoked by uid 500); 23 Jan 2007 09:36:35 -0000 Delivered-To: [email protected] Received: (qmail 2872 invoked by uid 500); 23 Jan 2007 09:36:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general-cvs.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 2861 invoked by uid 500); 23 Jan 2007 09:36:34 -0000 Delivered-To: [email protected] Received: (qmail 2858 invoked by uid 99); 23 Jan 2007 09:36:34 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jan 2007 01:36:34 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jan 2007 01:36:26 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id BCD6E1A981A; Tue, 23 Jan 2007 01:35:19 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r498962 - in /xml/site/targets/security: ./ Java/ c/ Date: Tue, 23 Jan 2007 09:35:14 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: raul Date: Tue Jan 23 01:35:08 2007 New Revision: 498962 URL: http://svn.apache.org/viewvc?view=rev&rev=498962 Log: Updating web pages for 1.4 release Added: xml/site/targets/security/changes.html Removed: xml/site/targets/security/Java/api.html xml/site/targets/security/Java/examples.html xml/site/targets/security/Java/faq.html xml/site/targets/security/Java/index.html xml/site/targets/security/Java/installation.html xml/site/targets/security/Java/interop.html xml/site/targets/security/Java/resolver.html xml/site/targets/security/changes.rss xml/site/targets/security/contrib.html xml/site/targets/security/download.html xml/site/targets/security/faq.html xml/site/targets/security/history.html xml/site/targets/security/index.html xml/site/targets/security/license.html xml/site/targets/security/linkmap.html xml/site/targets/security/mail-lists.html xml/site/targets/security/todo.html xml/site/targets/security/who.html Modified: xml/site/targets/security/ (props changed) xml/site/targets/security/c/index.html xml/site/targets/security/c/installation.html Propchange: xml/site/targets/security/ ------------------------------------------------------------------------------ --- svn:ignore (added) +++ svn:ignore Tue Jan 23 01:35:08 2007 @@ -0,0 +1 @@ +.project Modified: xml/site/targets/security/c/index.html URL: http://svn.apache.org/viewvc/xml/site/targets/security/c/index.html?view=diff&rev=498962&r1=498961&r2=498962 ============================================================================== --- xml/site/targets/security/c/index.html (original) +++ xml/site/targets/security/c/index.html Tue Jan 23 01:35:08 2007 @@ -156,29 +156,24 @@ <div id="content"> <div id="skinconf-txtlink"></div> <h1>C++ Library Documentation</h1> - -<a name="N1000D"></a><a name="Version+1.3+Released"></a> -<h2 class="h3">Version 1.3 Released</h2> -<div class="section"> -<p> + <!-- + <section> + <title>Version 1.3.1 Released</title> + <p> The Apache XML Security team are proud to announce the release - of version 1.3 of the xml-security-c library. This release now - provides full support for loading and processing of XKMS messages. - </p> -<p> - A number of optimisations have now been built into the canonicalisation - routines, creating significant speed improvements when processing - large documents. + of version 1.3.1 of the xml-security-c library. This release + provides some bug fixes and an updated Automake based build on + Linux/Solaris/BSD. + </p> + <p> + This version also provides initial support for Xerces 3.0. If + you are building for the 3.0 library under Windows, you will need + to change the Xerces library (in link includes) to xerces_3?.lib. </p> -<p> - This version also includes a number of other changes and bugfixes, - including updates to support Xerces 2.7 with Xalan 1.9. - See <a href="../changes.html">changes.html</a> for more - information. - </p> -</div> + </section> + --> -<a name="N10021"></a><a name="Overview+of+the+C%2B%2B+Library"></a> +<a name="N1000F"></a><a name="Overview+of+the+C%2B%2B+Library"></a> <h2 class="h3">Overview of the C++ Library</h2> <div class="section"> <p> @@ -201,10 +196,28 @@ </p> </div> -<a name="N10031"></a><a name="Old+News"></a> +<a name="N1001F"></a><a name="Old+News"></a> <h2 class="h3">Old News</h2> <div class="section"> -<a name="N10037"></a><a name="Version+1.2+Released"></a> +<a name="N10025"></a><a name="Version+1.3+Released"></a> +<h3 class="h4">Version 1.3 Released</h3> +<p> + The Apache XML Security team are proud to announce the release + of version 1.3 of the xml-security-c library. This release now + provides full support for loading and processing of XKMS messages. + </p> +<p> + A number of optimisations have now been built into the canonicalisation + routines, creating significant speed improvements when processing + large documents. + </p> +<p> + This version also includes a number of other changes and bugfixes, + including updates to support Xerces 2.7 with Xalan 1.9. + See <a href="../changes.html">changes.html</a> for more + information. + </p> +<a name="N10039"></a><a name="Version+1.2+Released"></a> <h3 class="h4">Version 1.2 Released</h3> <p> The Apache XML Security team are proud to announce the release @@ -227,7 +240,7 @@ See <a href="../changes.html">changes.html</a> for more information. </p> -<a name="N10053"></a><a name="News+-+March+2004"></a> +<a name="N10055"></a><a name="News+-+March+2004"></a> <h3 class="h4">News - March 2004</h3> <p> Version 1.1 of the C++ library has been released. Supporting @@ -243,7 +256,7 @@ <li>Bug fixes to Signature implementation</li> </ul> -<a name="N10069"></a><a name="May+2003"></a> +<a name="N1006B"></a><a name="May+2003"></a> <h3 class="h4">May 2003</h3> <p> Beta 0.2 has been released. It covers : @@ -264,7 +277,7 @@ Beta 0.2 is has been tested with Xerces-C v2.2 and the newly released Xalan-C v1.5. </p> -<a name="N10085"></a><a name="February+2003"></a> +<a name="N10087"></a><a name="February+2003"></a> <h3 class="h4">February 2003</h3> <p> The C++ library has now been fully transferred into the Apache XML @@ -285,7 +298,7 @@ <li>XML Encryption (to be added post 1.00 release)</li> </ul> -<a name="N1009E"></a><a name="News+-+August+2003"></a> +<a name="N100A0"></a><a name="News+-+August+2003"></a> <h3 class="h4">News - August 2003</h3> <p> Version 1.00 of the library has now been released. It features : Modified: xml/site/targets/security/c/installation.html URL: http://svn.apache.org/viewvc/xml/site/targets/security/c/installation.html?view=diff&rev=498962&r1=498961&r2=498962 ============================================================================== --- xml/site/targets/security/c/installation.html (original) +++ xml/site/targets/security/c/installation.html Tue Jan 23 01:35:08 2007 @@ -195,7 +195,7 @@ </pre> <p> A HTTP interface to browse the sources online is available via - <a class="external" href="http://cvs.apache.org/viewcvs/xml-security/">http://cvs.apache.org/viewcvs.cgi/xml-security/</a> + <a class="external" href="http://svn.apache.org/viewvc/xml/security/trunk/">http://cvs.apache.org/viewcvs.cgi/xml-security/</a> </p> </div> @@ -252,16 +252,23 @@ can also tell your compiler where to find these things via the <em>CXXFLAGS</em> and <em>LDFLAGS</em> environment variables. </p> +<div class="frame note"> +<div class="label">Note</div> +<div class="content"> + As of version 1.3.1 the Xerces and OpenSSL directories can be + defined on the configure command line - see below. + </div> +</div> <p> If configure cannot find anything for Xalan, it will assume that you are not interested in XPath or XSLT support and will compile XSEC without linking to Xalan. Any attempt to use these features will raise an exception in the library. </p> -<a name="N10077"></a><a name="Configure"></a> +<a name="N1007A"></a><a name="Configure"></a> <h3 class="h4">Configure</h3> <p> - Now go to the $XSECCROOT/src directory and run the command + Now go to the $XSECCROOT directory and run the command <em>./configure</em>. This will create the necessary makefiles and header files necessary to build the package. </p> @@ -273,6 +280,14 @@ <li> <em>--without-xalan</em> disable linkage to Xalan.</li> + +<li> +<em>--with-xerces=&lt;dir&gt;</em> define Xerces directory + rather than use XERCESCROOT</li> + +<li> +<em>--with-openssl=&lt;dir&gt;</em> define OpenSSL directory + rather than use OPENSSLROOT</li> <li> <em>--enable-debug</em> cause the library to be built with symbols</li> @@ -287,12 +302,12 @@ perform these without going through an XPath transform). </div> </div> -<a name="N1009D"></a><a name="Compile"></a> +<a name="N100AA"></a><a name="Compile"></a> <h3 class="h4">Compile</h3> <p> Assuming the output of the above command looks reasonable simply type <em>make</em> (or <em>gmake</em> - you must use the GNU - make utility) in the <em>src</em> directory. This + make utility) in the base directory. This will make the shared library. In addition, <em>make tools</em> will make the tools (or examples) in the src/tools directory. </p> @@ -320,7 +335,7 @@ Finally - you can use <em>make clean</em> and <em>make distclean</em> to remove all binaries and libraries (former) and build scripts (latter) </p> -<a name="N100D7"></a><a name="Install"></a> +<a name="N100E1"></a><a name="Install"></a> <h3 class="h4">Install</h3> <p> @@ -331,7 +346,7 @@ </p> </div> -<a name="N100EB"></a><a name="Building+for+Windows"></a> +<a name="N100F5"></a><a name="Building+for+Windows"></a> <h2 class="h3">Building for Windows</h2> <div class="section"> <p> @@ -349,7 +364,7 @@ but should work. </div> </div> -<a name="N100F7"></a><a name="Setup+Directories"></a> +<a name="N10101"></a><a name="Setup+Directories"></a> <h3 class="h4">Setup Directories</h3> <p> The workspace and project files provided do not make any assumptions @@ -372,7 +387,7 @@ </p> <div style="text-align: center;"> <img class="figure" alt="Link Directories" src="images/vc6b.gif"></div> -<a name="N1010F"></a><a name="Configure-N1010F"></a> +<a name="N10119"></a><a name="Configure-N10119"></a> <h3 class="h4">Configure</h3> <p> If you are using Xalan and OpenSSL, no configuration is required when @@ -406,18 +421,28 @@ project. These are the same as the normal debug or release builds, but the Xalan library is not linked in. </p> -<a name="N10137"></a><a name="Build+Library+and+Tools"></a> +<a name="N10141"></a><a name="Build+Library+and+Tools"></a> <h3 class="h4">Build Library and Tools</h3> <p> - The main workspace is found in : + The main workspace (for VC 6.0) is found in : </p> <p> <em>.../Projects/VC6.0/xsec/xsec.dsw</em> </p> <p> You can load this to build the tools or the library using the relevant - project. (The library is xsec_lib.) + project. (The library is xsec_lib.) Project files for VC++ 7.0 and + 8.0 also exist in the appropriate Project directories. </p> +<div class="frame note"> +<div class="label">Note</div> +<div class="content"> + Note that as of version 1.3.1, Xerces 3.0 is supported. However + this uses an updated library file name, so this must be modified + in <em>all</em> the projects in the workspace. This can be set + in the Linker option for all versions of Visual C++. + </div> +</div> <p> Samples can be built using the workspace found in : </p> Added: xml/site/targets/security/changes.html URL: http://svn.apache.org/viewvc/xml/site/targets/security/changes.html?view=auto&rev=498962 ============================================================================== --- xml/site/targets/security/changes.html (added) +++ xml/site/targets/security/changes.html Tue Jan 23 01:35:08 2007 @@ -0,0 +1,848 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> +<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<meta content="Apache Forrest" name="Generator"> +<meta name="Forrest-version" content="0.6"> +<meta name="Forrest-skin-name" content="pelt"> +<title>History of Changes</title> +<link type="text/css" href="skin/basic.css" rel="stylesheet"> +<link media="screen" type="text/css" href="skin/screen.css" rel="stylesheet"> +<link media="print" type="text/css" href="skin/print.css" rel="stylesheet"> +<link type="text/css" href="skin/profile.css" rel="stylesheet"> +<script src="skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="skin/fontsize.js" language="javascript" type="text/javascript"></script> +</head> +<body onload="init()"> +<script type="text/javascript">ndeSetTextSize();</script> +<div id="top"> +<!--+ + |breadtrail + +--> +<div class="breadtrail"> +<a href="http://www.apache.org/">apache</a> &gt; <a href="http://xml.apache.org/">xml.apache</a><script src="skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script> +</div> +<!--+ + |header + +--> +<div class="header"> +<!--+ + |start group logo + +--> +<div class="grouplogo"> +<a href="http:///xml.apache.org"><img class="logoImage" alt="Apache XML" src="images/group-logo.gif"></a> +</div> +<!--+ + |end group logo + +--> +<!--+ + |start Project Logo + +--> +<div class="projectlogo"> +<a href="http://xml.apache.org/security"><img class="logoImage" alt="Apache XML Security" src="images/project-logo.gif"></a> +</div> +<!--+ + |end Project Logo + +--> +<!--+ + |start Search + +--> +<div class="searchbox"> +<form action="http://www.google.com/search" method="get" class="roundtopsmall"> +<input value="xml.apache.org/security" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with google:');" value="Search the site with google:" size="25" name="q" id="query" type="text">&nbsp; + <input name="Search" value="Search" type="submit"> +</form> +</div> +<!--+ + |end search + +--> +<!--+ + |start Tabs + +--> +<ul id="tabs"> +<li class="current"> +<a class="base-selected" href="index.html">Home</a> +</li> +<li> +<a class="base-not-selected" href="Java/index.html">Java</a> +</li> +<li> +<a class="base-not-selected" href="c/index.html">C++</a> +</li> +</ul> +<!--+ + |end Tabs + +--> +</div> +</div> +<div id="main"> +<div id="publishedStrip"> +<!--+ + |start Subtabs + +--> +<div id="level2tabs"></div> +<!--+ + |end Endtabs + +--> +<script type="text/javascript" language="JavaScript"><!-- + document.write("Published: " + document.lastModified); + // --></script> +</div> +<!--+ + |breadtrail + +--> +<div class="breadtrail"> + + &nbsp; + </div> +<!--+ + |start Menu, mainarea + +--> +<!--+ + |start Menu + +--> +<div id="menu"> +<div onclick="SwitchMenu('menu_selected_1.1', 'skin/')" id="menu_selected_1.1Title" class="menutitle" style="background-image: url('skin/images/chapter_open.gif');">About</div> +<div id="menu_selected_1.1" class="selectedmenuitemgroup" style="display: block;"> +<div class="menuitem"> +<a title="" href="index.html">Index</a> +</div> +<div class="menuitem"> +<a title="" href="download.html">Download</a> +</div> +<div class="menuitem"> +<a title="" href="faq.html">FAQs</a> +</div> +<div class="menuitem"> +<a title="" href="who.html">Who we are</a> +</div> +<div class="menuitem"> +<a title="" href="todo.html">Todo</a> +</div> +<div class="menupage"> +<div class="menupagetitle">Changes</div> +</div> +<div class="menuitem"> +<a title="" href="history.html">History</a> +</div> +<div class="menuitem"> +<a title="" href="license.html">License</a> +</div> +</div> +<div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" class="menutitle">Getting Involved</div> +<div id="menu_1.2" class="menuitemgroup"> +<div class="menuitem"> +<a title="" href="contrib.html">Contributing</a> +</div> +<div class="menuitem"> +<a title="" href="http://svn.apache.org/viewvc/xml/security/trunk/">SVN</a> +</div> +<div class="menuitem"> +<a title="" href="mail-lists.html">Mail lists</a> +</div> +</div> +<div onclick="SwitchMenu('menu_1.3', 'skin/')" id="menu_1.3Title" class="menutitle">References</div> +<div id="menu_1.3" class="menuitemgroup"> +<div class="menuitem"> +<a title="" href="http://www.w3c.org/Signature/">W3C XML DSig</a> +</div> +<div class="menuitem"> +<a title="" href="http://www.w3c.org/Encryption/">W3C XML Enc</a> +</div> +<div class="menuitem"> +<a title="" href="http://www.w3c.org/2001/XKMS/">W3C XML XKMS</a> +</div> +</div> +<div id="credit"></div> +<div id="roundbottom"> +<img style="display: none" class="corner" height="15" width="15" alt="" src="skin/images/rc-b-l-15-1body-2menu-3menu.png"></div> +<!--+ + |alternative credits + +--> +</div> +<!--+ + |end Menu + +--> +<!--+ + |start content + +--> +<div id="content"> +<div id="skinconf-txtlink"></div> +<h1>History of Changes</h1> +<p> +<a href="changes.rss"><img alt="RSS" src="images/rss.png"></a> +</p> + <!-- Add new releases here; action attributes: type:(add | fix | update); --> + <!-- context:(docs | java_something | c_something ) --> + + <!-- 1.3.1 does not seem to be released + <release version="C++ 1.3.1" date="October 2006"> + <action dev="BL" type="update" context="c_rel"> + Refactor NIX build to use automake and libtool + </action> + <action dev="BL" type="add" context="c_rel"> + Initial support for API changes in Xerces 3.0 + </action> + <action dev="BL" type="fix" context="c_rel"> + Fix bug in autoconf that would prevent proper detection + of Xerces ability to set Id attributes + </action> + <action dev="BL" type="fix" context="c_rel"> + Fix bug 40085 - incorrect OIDs on non SHA1 based RSA sigs + </action> + <action dev="BL" type="fix" context="c_rel"> + Remove redundant code in SignedInfo that was preventing + the loading of signatures with algorithms not hard coded + </action> + <action dev="BL" type="fix" context="c_rel"> + Fix bug in Envelope transform + </action> + <action dev="BL" type="fix" context="c_rel"> + Fix bug in DSIGXPathFilterExpr with non-initalised vars. + Reported by Ralf "Sabo" Saborowski. + </action> + </release> + --> + + +<a name="N10014"></a><a name="version_Java 1.4"></a> +<h2 class="h3">Version Java 1.4 (January 2007)</h2> +<div class="section"> +<ul> +<li> +<img class="icon" alt="add" src="images/add.jpg"> + JSR 105 implementation. + (SM)</li> +<li> +<img class="icon" alt="add" src="images/add.jpg"> + Add XMLCipher.encryptData method that takes serialized data as parameter + (SM) Fixes <a class="external" href="http://issues.apache.org/bugzilla/show_bug.cgi?id=38668">38668</a>.</li> +<li> +<img class="icon" alt="update" src="images/update.jpg"> + Major optimizations for signatures that use node-set transformations(xpath,xpath2,etc), 20-40% speed-up. + (RB)</li> +<li> +<img class="icon" alt="update" src="images/update.jpg"> + Major optimizations for signatures that use xpath2 transformation. + (RB)</li> +<li> +<img class="icon" alt="update" src="images/update.jpg"> + Major optimizations in inclusive c14n when using xml:* attributtes. + (RB)</li> +<li> +<img class="icon" alt="update" src="images/update.jpg"> + Memory footprint reduction: Less object creation. Reuse of "expensive" objects between + operations in the same thread. + (RB)</li> +<li> +<img class="icon" alt="update" src="images/update.jpg"> + Minor Optimizations. Reuse the same Signature object if the key are identical. + (RB)</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + NPE in ResolverDirectHTTP.engineCanResolve. + (SM) Thanks to Frank Cornelis. Fixes <a class="external" href="http://issues.apache.org/bugzilla/show_bug.cgi?id=40783">40783</a>.</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + AxisSigner.java doesn't work out of the box + (RB) Thanks to Jean-Luc Cooke. Fixes <a class="external" href="http://issues.apache.org/bugzilla/show_bug.cgi?id=40360">40360</a>.</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Impossible to add X509 subelements for signing + (RB) Thanks to Jean-Luc Cooke. Fixes <a class="external" href="http://issues.apache.org/bugzilla/show_bug.cgi?id=40404">40404</a>.</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Base64 does not work in EBCDIC machines. + (RB) Thanks to ACastro. Fixes <a class="external" href="http://issues.apache.org/bugzilla/show_bug.cgi?id=40215">40215</a>.</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Subtree canonicalization produce incorrect results in certain cases. + (RB) Thanks to Bob Shanahan . Fixes <a class="external" href="http://issues.apache.org/bugzilla/show_bug.cgi?id=40032">40032</a>.</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Internal. Cannot sign-verify twice in the same thread with different XMLSignature instances. + (RB) Thanks to Ruchith Fernando. Fixes <a class="external" href="http://issues.apache.org/bugzilla/show_bug.cgi?id=40896">40896</a>.</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Internal. KeyResolverSpi derived classes require default constructor. + (RB) Thanks to Frank Cornelis. Fixes <a class="external" href="http://issues.apache.org/bugzilla/show_bug.cgi?id=40796">40796</a>.</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Different behaviour with NodeSet and RootNode with InclusiveNamespaces + (SM) Thanks to Pete Hendry. Fixes <a class="external" href="http://issues.apache.org/bugzilla/show_bug.cgi?id=37708">37708</a>.</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Signing throws an exception if custom resource resolver is registered + (SM) Thanks to Vishal Mahajan. Fixes <a class="external" href="http://issues.apache.org/bugzilla/show_bug.cgi?id=37456">37456</a>.</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Canonicalizer gets exception in many namespaces. + (RB) Thanks to katoy. Fixes <a class="external" href="http://issues.apache.org/bugzilla/show_bug.cgi?id=38655">38655</a>.</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Transform TRANSFORM_XPATH2FILTER subtract filter does not work correctly. + (RB) Thanks to Stefano Del Sal. Fixes <a class="external" href="http://issues.apache.org/bugzilla/show_bug.cgi?id=38444">38444</a>.</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + X509CertificateResolver does not work in multithread environment + (RB) Thanks to Peter Bacik. Fixes <a class="external" href="http://issues.apache.org/bugzilla/show_bug.cgi?id=38605">38605</a>.</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + XMLCipher-loadEncryptedKey() doesn't set the correct CarriedKeyName element. + (RB) Thanks to Yvan Hess. Fixes <a class="external" href="http://issues.apache.org/bugzilla/show_bug.cgi?id=39200">39200</a>.</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Findbugs reporting fixed. + (SM) Thanks to Sean Mullan. Fixes <a class="external" href="http://issues.apache.org/bugzilla/show_bug.cgi?id=39685">39685</a>.</li> +</ul> +</div> + + +<a name="N100BF"></a><a name="version_C++ 1.3"></a> +<h2 class="h3">Version C++ 1.3 (September 2006)</h2> +<div class="section"> +<ul> +<li> +<img class="icon" alt="add" src="images/add.jpg"> + Implemented algorithm handlers for the digital signature + classes, to provide algorithm extensibility + (BL)</li> +<li> +<img class="icon" alt="add" src="images/add.jpg"> + Initial import of beta NSS crypto support + (MT)</li> +<li> +<img class="icon" alt="add" src="images/add.jpg"> + Complete implementation of XKMS message set + (BL)</li> +<li> +<img class="icon" alt="add" src="images/add.jpg"> + Methods to allow loading of encrypted data without doing decrypt + and to process a decrypt/encrypt operation without replacing the + original nodes + (BL)</li> +<li> +<img class="icon" alt="add" src="images/add.jpg"> + Provide MS VC++ 2005 project files + (BL)</li> +<li> +<img class="icon" alt="update" src="images/update.jpg"> + Update signature classes to pass in requested algorithms as URIs + rather than enums. Enum based methods are now deprecated. + (BL)</li> +<li> +<img class="icon" alt="update" src="images/update.jpg"> + Provide ability for calling application to define whether + references are interlocking. + (BL)</li> +<li> +<img class="icon" alt="update" src="images/update.jpg"> + Implement checks for broken OpenSSL support under Solaris 10 + (BL)</li> +<li> +<img class="icon" alt="update" src="images/update.jpg"> + Add --with-xalan, --with-openssl, --with-xerces and --enable-warnerror + flags in configure + (BL)</li> +<li> +<img class="icon" alt="update" src="images/update.jpg"> + Configure now detects if Xalan is installed rather than having + XALANCROOT being a pointer to the compile directory + (BL)</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Performance improvements in canonicalisation + (BL)</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Fix memory leaks in OpenSSL wrapping code + (BL)</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Provide some stability if the Apache keystore is corrupted under + Windows. + (BL)</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Fix bug when encrypting small input docs + (BL)</li> +</ul> +</div> + +<a name="N1010B"></a><a name="version_Java 1.3"></a> +<h2 class="h3">Version Java 1.3 (October 2005)</h2> +<div class="section"> +<ul> +<li> +<img class="icon" alt="add" src="images/add.jpg"> + Add new msg id named decoding.divisible.four and fix bug in Base64 Transform to throw Base64DecodingExc with this msg id instead of "It should be dived by four". + (SM)</li> +<li> +<img class="icon" alt="remove" src="images/remove.jpg"> + Removed http://www.nue.et-inf.uni-siegen.de/~geuer-pollmann/#xpathFilter transformation. + (RB)</li> +<li> +<img class="icon" alt="remove" src="images/remove.jpg"> + Remove of PRNG, HexDump, X509CertificateValidator classes. + (RB)</li> +<li> +<img class="icon" alt="update" src="images/update.jpg"> + Out of the box j2se 1.5 ready(no adding xalan in the classpath or endorsed if no + xpath transformation is needed) + (RB)</li> +<li> +<img class="icon" alt="update" src="images/update.jpg"> + Performance improvement in C14n, due to changes in internal structure, + and a non recursive algorithm. + (RB)</li> +<li> +<img class="icon" alt="update" src="images/update.jpg"> + Reduce memory consumption in c14n. + (RB)</li> +<li> +<img class="icon" alt="update" src="images/update.jpg"> + General small optimizations(b64 speed-ups, list instead of vector, etc...). + (RB)</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Canonicalizing an empty node-set throws an ArrayIndexOutOfBoundsException. Also added new unit test for generating signatures. + (SM) Fixes <a class="external" href="http://issues.apache.org/bugzilla/show_bug.cgi?id=36044">36044</a>.</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Fixed NullPointerException bugs in engineCanonicalize. + (SM)</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Fix bug when parsing reference lists during decryption; properly handle relative URIs and lists of more than one element. + (SM) Thanks to Clive Brettingham-Moore.</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Make XMLCipher.encryptData(Document, Element, boolean) public so it can be used by applications. + (SM)</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Error in CarriedKeyNameDefinition EncryptedKeyImpl. + (SM) Thanks to Julien Taupin. Fixes <a class="external" href="http://issues.apache.org/bugzilla/show_bug.cgi?id=35917">35917</a>.</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Change logging message in XMLCipher.decryptKey from info to debug level (too noisy for info level). + (SM)</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Fix file descriptor leak in XMLSignatureInput. + (SM) Thanks to Rune Friis-Jensen. Fixes <a class="external" href="http://issues.apache.org/bugzilla/show_bug.cgi?id=35580">35580</a>.</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Fix NullPointerException in TransformXPathFilter2.engineTransform if XMLSignatureInput is a node-set (instead of an element subtree). + (SM)</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Fix condition in ElementProxy.guaranteeThatElementInCorrectSpace(). + (SM) Thanks to [email protected].</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Fix NullPointerException in log message emitted by ResolverDirectHTTP.engineCanResolve. + (SM)</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Fix NullPointerException bug in ResolverXPointer.engineResolve; check if BaseURI is null before setting source URI. + (SM)</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Fix NPE when an unknown transform algorithm is used. + (RB) Thanks to Lee Coomber. Fixes <a class="external" href="http://issues.apache.org/bugzilla/show_bug.cgi?id=34743">34743</a>.</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Removed system.err.println to a real log. + (RB) Thanks to Raymond Wong. Fixes <a class="external" href="http://issues.apache.org/bugzilla/show_bug.cgi?id=33936">33936</a>.</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Fix a bug in Xpath and Base64 transform is used together. + (RB) Thanks to Luda. Fixes <a class="external" href="http://issues.apache.org/bugzilla/show_bug.cgi?id=35919">35919</a>.</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Canonicalization of a DocumentFragment node always throws a c14n exception + (VM) Fixes <a class="external" href="http://issues.apache.org/bugzilla/show_bug.cgi?id=36638">36638</a>.</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + KeyValue.getPublicKey does not work + (VM) Fixes <a class="external" href="http://issues.apache.org/bugzilla/show_bug.cgi?id=36639">36639</a>.</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Signature verification ignores the inclusive namespaces parameter of a excl c14n ds:CanonicalizationMethod + (VM) Fixes <a class="external" href="http://issues.apache.org/bugzilla/show_bug.cgi?id=36640">36640</a>.</li> +</ul> +</div> + + +<a name="N101AD"></a><a name="version_C++ 1.2.1"></a> +<h2 class="h3">Version C++ 1.2.1 (July 2005)</h2> +<div class="section"> +<ul> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Add xklient "No Xalan" builds in VC 6.0 project files + (BL)</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Fix version suffixes on DLL files in VC 6.0 "No Xalan" build. + (BL)</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Add "No Xalan" support into VC 7.0 project files. + (BL)</li> +</ul> +</div> + +<a name="N101C2"></a><a name="version_C++ 1.2.0"></a> +<h2 class="h3">Version C++ 1.2.0 (June 2005)</h2> +<div class="section"> +<ul> +<li> +<img class="icon" alt="add" src="images/add.jpg"> + Implemented XKMS Message generation and processing + (BL)</li> +<li> +<img class="icon" alt="add" src="images/add.jpg"> + Implemented command line XKMS tool for generating and dumping XKMS messages + (BL)</li> +<li> +<img class="icon" alt="add" src="images/add.jpg"> + Add support for SHA224/256/384/512 (requires OpenSSL 0.9.8 Beta) + (BL)</li> +<li> +<img class="icon" alt="add" src="images/add.jpg"> + Patch for Mac OS X compile - provided by Scott Cantor - See Bugzilla #34920 + (BL) Fixes <a class="external" href="http://issues.apache.org/bugzilla/show_bug.cgi?id=34920">34920</a>.</li> +<li> +<img class="icon" alt="add" src="images/add.jpg"> + Added complete KeyInfo handling for XENCEncryptedType + (MT)</li> +<li> +<img class="icon" alt="update" src="images/update.jpg"> + Remove dynamic_casts and RTTI requirement + (BL)</li> +<li> +<img class="icon" alt="update" src="images/update.jpg"> + Updates to compile against Xalan 1.9 + (BL)</li> +<li> +<img class="icon" alt="update" src="images/update.jpg"> + Backport to compile with Xerces 2.1 + (BL)</li> +<li> +<img class="icon" alt="update" src="images/update.jpg"> + Provided support for nominating namespace based Id attributes + (BL)</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Remove MFC dependency and clean up memory debugging + (BL)</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Support for DESTDIR as provided by Ville Skytta in Bugzilla 28520 + (BL) Fixes <a class="external" href="http://issues.apache.org/bugzilla/show_bug.cgi?id=28520">28520</a>.</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Update to Apache licence 2.0. + (MT)</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Fix bug with NULL pointer when validating or signing empty reference lists - fix as suggested by Jesse Pelton on 23 March 2005 on security-dev + (BL)</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Change to allow apps to calculate and obtain signed info hash - from Eckehard Hermann - see email of 2 March 2005 on security-dev + (BL)</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Patch for long RSA keys provided by Michael Braunoeder to security-dev on 16 Nov 2005 + (BL)</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Memory leak in OpenSSLCryptoBase64 reported by Jesse Pelton fixed. + (BL)</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Move to internal Base64 decoder in a number of methods to handle non-wrapping data + (BL)</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Resize buffer in OpenSSLCryptoKeyRSA for larger RSA keys - as submitted by Vadim Ismailov 3 December 2005 + (BL)</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Remove redundant m_keyType class variable from OpenSSLCryptoKeyRSA as reported by Jesse Pelton on security-dev + (BL)</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Don't throw an exception when an RSA decrypt fails during sig validation - this is a failed validate, not an error + (BL)</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Shutdown OpenSSL properly - as suggested by Jesse Pelton in e-mail to security-dev on 9 March 2005 + (BL)</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Changed scope of WinCapiCryptoKeyacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bimportKey() from private to public. It returns key now, instead of void. + (BL)</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Fix problem in Windows CAPI where XSEC doesn't work if user doesn't have admin rights. + (BL)</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Bug fix in Windows CAPI code for some W2K machines - reported by Andrzej Matejko 4/5/2004 + (BL)</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Fix build on non WINCAPI systems, as reported by Milan Tomic on 22/4/2004 + (MT)</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + New constructor added to WinCapiX509 + (MT)</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Fixed Bug in encode() XSCryptCryptoBase64. + (BL)</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Fix bug in XPathFilter transform when checking if an attribute is in the input node set. + (BL)</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Fix bug in in UTF transcoder for counting of transcoded characters (count characters not bytes) reported by Milan Tomic + (BL)</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Move function definitions in the Windows BinInput stream class to static to avoid conflicts with Xerces. As suggested by Jesse Pelton on 2 Feb 2005 in security-dev + (BL)</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Fix to stop re-use of derived key encrypting key when decrypting multiple elements in a document + (BL)</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Fix to ignore encryption exceptions during a private key decrypt + (BL)</li> +</ul> +</div> + + + + +<a name="N10270"></a><a name="version_Java 1.2.1"></a> +<h2 class="h3">Version Java 1.2.1 (February 2005)</h2> +<div class="section"> +<ul> +<li> +<img class="icon" alt="remove" src="images/remove.jpg"> + Clean unused jar (xmlParserAPI.jar,etc) and check and stored new versions. + (RB)</li> +<li> +<img class="icon" alt="remove" src="images/remove.jpg"> + Clean unused build*.xml files. + (RB)</li> +<li> +<img class="icon" alt="update" src="images/update.jpg"> + Generated the dist jar with version (i.e. xmlsec-1.2.1.jar instead of plain xmlsec.jar) + (RB)</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Fix a memory leak when using xpath or using ResourceResolver and not hitting getElementByIdUsingDOM() + (RB) Thanks to Sylvain Dusart. Fixes <a class="external" href="http://issues.apache.org/bugzilla/show_bug.cgi?id=32836">32836</a>.</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Fix erroneous creation/verification when using XPath2Filter and inclusive c14n.(RB)</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Library now throws an exception when asked to sign/verify an inexistent fragment.(RB) Thanks to Raymond Wong. Fixes <a class="external" href="http://issues.apache.org/bugzilla/show_bug.cgi?id=23554">23554</a>.</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Restore reset behaviour as default when reusing Canonicalizers(but an append one can still be used).(RB)</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Fix a bug when using base64transformation and external resources.(RB) Thanks to Sean Mullan. Fixes <a class="external" href="http://issues.apache.org/bugzilla/show_bug.cgi?id=33393">33393</a>.</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Fix a bug when passing XMLsignatureInput(InputStream) streams that don't acknowledge reset() as expected. + (RB)</li> +<li> +<img class="icon" alt="fix" src="images/fix.jpg"> + Added i14n Base64 error message. + (RB) Thanks to Sean Mullan. Fixes <a class="external" href="http://issues.apache.org/bugzilla/show_bug.cgi?id=32996">32996</a>.</li> +</ul> +</div> + + +<a name="N102B8"></a><a name="version_Java 1.2"></a> +<h2 class="h3">Version Java 1.2 (December 2004)</h2> +<div class="section"> +<ul> +<li> +<img class="icon" alt="update" src="images/update.jpg"> + Rework the canonicalization for speed-up common cases + (RB)</li> +<li> +<img class="icon" alt="update" src="images/update.jpg"> + General memory footprint improvements + (RB)</li> +<li> +<img class="icon" alt="update" src="images/update.jpg"> + General speed optimizations + (RB)</li> +<li> +<img class="icon" alt="update" src="images/update.jpg"> + Update the JCE algorith mechanism + (VM)</li> +</ul> +</div> + +<a name="N102D2"></a><a name="version_C++ 1.10"></a> +<h2 class="h3">Version C++ 1.10 (March 2004)</h2> +<div class="section"> +<ul> +<li> +<img class="icon" alt="add" src="images/add.jpg"> + <ul> + +<li>Bug fixes for signature code</li> + +<li>Beta implementation of XML Encryption</li> + +<li>Initial implementation of pluggable algorithm handlers</li> + +</ul> + (BL)</li> +</ul> +</div> + +<a name="N102E9"></a><a name="version_C++ 1.00"></a> +<h2 class="h3">Version C++ 1.00 (July 2003)</h2> +<div class="section"> +<ul> +<li> +<img class="icon" alt="add" src="images/add.jpg"> + <ul> + +<li>First stable release</li> + +<li>Support for FreeBSD, NetBSD and Cygwin builds</li> + +<li>All KeyInfo elements now available</li> + +<li>Various bug fixes</li> + +</ul> + (BL)</li> +</ul> +</div> + +<a name="N10303"></a><a name="version_C++ 0.20"></a> +<h2 class="h3">Version C++ 0.20 (May 2003)</h2> +<div class="section"> +<ul> +<li> +<img class="icon" alt="add" src="images/add.jpg"> + <ul> + +<li>Windows Crypto API interface</li> + +<li>Basic functions to extract information from signature objects</li> + +<li>Various bug fixes</li> + +</ul> + (BL)</li> +</ul> +</div> + +<a name="N1031A"></a><a name="version_Java 1.0.5"></a> +<h2 class="h3">Version Java 1.0.5 (unreleased)</h2> +<div class="section"> +<ul> +<li> +<img class="icon" alt="update" src="images/update.jpg"> + <p>Ported the docs to Forrest</p> + (KW)</li> +</ul> +</div> + +<a name="N10328"></a><a name="version_C++ 0.10"></a> +<h2 class="h3">Version C++ 0.10 (unreleased)</h2> +<div class="section"> +<ul> +<li> +<img class="icon" alt="add" src="images/add.jpg"> + <p> + First release of a Beta for the C++ library. + </p> + (BL)</li> +</ul> +</div> + +<a name="N10336"></a><a name="version_Java 1.0.4"></a> +<h2 class="h3">Version Java 1.0.4 (15 July 2002)</h2> +<div class="section"> +<ul> +<li> +<img class="icon" alt="update" src="images/update.jpg"> + <p>Java - People who did not install Xalan properly under JDK 1.4.0 now + get a more specific error message.</p> + (CGP)</li> +<li> +<img class="icon" alt="update" src="images/update.jpg"> + <p>Java - We use the most recent version of the BouncyCastle JCE now.</p> + (CGP)</li> +</ul> +</div> + +<a name="N1034C"></a><a name="version_Java 1.0.3"></a> +<h2 class="h3">Version Java 1.0.3 (unknown)</h2> +<div class="section"> +<ul> +<li> +<img class="icon" alt="add" src="images/add.jpg"> + <p>Java - Added support <a class="external" href="http://www.w3c.org/TR/2002/REC-xml-exc-c14n-20020718/"> Exclusive XML + Canonicalization Version 1.0, W3C Recommendation 18 July 2002 + </a>. (There is no interop to test vector <a class="external" href="http://www.w3c.org/Signature/2002/02/01-exc-c14n-interop.html">Y4</a> because of a problem in Xalan) </p> + +<p>Canonicalization is written completely new: it's about 5-80 times + faster than the implementation in version 1.0.2. It's highly + recommended to upgrade to the new version. </p> + (CGP)</li> +<li> +<img class="icon" alt="update" src="images/update.jpg"> + <p>Java - Added support for <a class="external" href="http://www.w3c.org/TR/2002/CR-xmldsig-filter2-20020718/"> + XML-Signature XPath Filter 2.0, W3C Candidate Recommendation 18 + July 2002 + </a> + +</p> + (CGP)</li> +</ul> +</div> + +</div> +<!--+ + |end content + +--> +<div class="clearboth">&nbsp;</div> +</div> +<div id="footer"> +<!--+ + |start bottomstrip + +--> +<div class="lastmodified"> +<script type="text/javascript"><!-- +document.write("Last Published: " + document.lastModified); +// --></script> +</div> +<div class="copyright"> + Copyright &copy; 2002-2006 The Apache Software Foundation.</div> +<!--+ + |end bottomstrip + +--> +</div> +</body> +</html> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jan 23 09:43:01 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88281 invoked from network); 23 Jan 2007 09:43:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Jan 2007 09:43:00 -0000 Received: (qmail 8826 invoked by uid 500); 23 Jan 2007 09:43:06 -0000 Delivered-To: [email protected] Received: (qmail 8768 invoked by uid 500); 23 Jan 2007 09:43:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general-cvs.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 8709 invoked by uid 500); 23 Jan 2007 09:43:05 -0000 Delivered-To: [email protected] Received: (qmail 8693 invoked by uid 99); 23 Jan 2007 09:43:05 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jan 2007 01:43:05 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jan 2007 01:42:57 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id 9140F1A981D; Tue, 23 Jan 2007 01:41:50 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r498966 [2/2] - in /xml/site/targets/security: changes.rss contrib.html download.html faq.html history.html index.html license.html linkmap.html mail-lists.html todo.html who.html Date: Tue, 23 Jan 2007 09:41:47 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Added: xml/site/targets/security/linkmap.html URL: http://svn.apache.org/viewvc/xml/site/targets/security/linkmap.html?view=auto&rev=498966 ============================================================================== --- xml/site/targets/security/linkmap.html (added) +++ xml/site/targets/security/linkmap.html Tue Jan 23 01:41:46 2007 @@ -0,0 +1,657 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> +<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<meta content="Apache Forrest" name="Generator"> +<meta name="Forrest-version" content="0.6"> +<meta name="Forrest-skin-name" content="pelt"> +<title>Site Linkmap</title> +<link type="text/css" href="skin/basic.css" rel="stylesheet"> +<link media="screen" type="text/css" href="skin/screen.css" rel="stylesheet"> +<link media="print" type="text/css" href="skin/print.css" rel="stylesheet"> +<link type="text/css" href="skin/profile.css" rel="stylesheet"> +<script src="skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="skin/fontsize.js" language="javascript" type="text/javascript"></script> +</head> +<body onload="init()"> +<script type="text/javascript">ndeSetTextSize();</script> +<div id="top"> +<!--+ + |breadtrail + +--> +<div class="breadtrail"> +<a href="http://www.apache.org/">apache</a> &gt; <a href="http://xml.apache.org/">xml.apache</a><script src="skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script> +</div> +<!--+ + |header + +--> +<div class="header"> +<!--+ + |start group logo + +--> +<div class="grouplogo"> +<a href="http:///xml.apache.org"><img class="logoImage" alt="Apache XML" src="images/group-logo.gif"></a> +</div> +<!--+ + |end group logo + +--> +<!--+ + |start Project Logo + +--> +<div class="projectlogo"> +<a href="http://xml.apache.org/security"><img class="logoImage" alt="Apache XML Security" src="images/project-logo.gif"></a> +</div> +<!--+ + |end Project Logo + +--> +<!--+ + |start Search + +--> +<div class="searchbox"> +<form action="http://www.google.com/search" method="get" class="roundtopsmall"> +<input value="xml.apache.org/security" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with google:');" value="Search the site with google:" size="25" name="q" id="query" type="text">&nbsp; + <input name="Search" value="Search" type="submit"> +</form> +</div> +<!--+ + |end search + +--> +<!--+ + |start Tabs + +--> +<ul id="tabs"> +<li> +<a class="base-not-selected" href="index.html">Home</a> +</li> +<li> +<a class="base-not-selected" href="Java/index.html">Java</a> +</li> +<li> +<a class="base-not-selected" href="c/index.html">C++</a> +</li> +</ul> +<!--+ + |end Tabs + +--> +</div> +</div> +<div id="main"> +<div id="publishedStrip"> +<!--+ + |start Subtabs + +--> +<div id="level2tabs"></div> +<!--+ + |end Endtabs + +--> +<script type="text/javascript" language="JavaScript"><!-- + document.write("Published: " + document.lastModified); + // --></script> +</div> +<!--+ + |breadtrail + +--> +<div class="breadtrail"> + + &nbsp; + </div> +<!--+ + |start Menu, mainarea + +--> +<!--+ + |start Menu + +--> +<div id="menu"> +<div onclick="SwitchMenu('menu_1.1', 'skin/')" id="menu_1.1Title" class="menutitle">About</div> +<div id="menu_1.1" class="menuitemgroup"> +<div class="menuitem"> +<a title="" href="index.html">Index</a> +</div> +<div class="menuitem"> +<a title="" href="download.html">Download</a> +</div> +<div class="menuitem"> +<a title="" href="faq.html">FAQs</a> +</div> +<div class="menuitem"> +<a title="" href="who.html">Who we are</a> +</div> +<div class="menuitem"> +<a title="" href="todo.html">Todo</a> +</div> +<div class="menuitem"> +<a title="" href="changes.html">Changes</a> +</div> +<div class="menuitem"> +<a title="" href="history.html">History</a> +</div> +<div class="menuitem"> +<a title="" href="license.html">License</a> +</div> +</div> +<div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" class="menutitle">Getting Involved</div> +<div id="menu_1.2" class="menuitemgroup"> +<div class="menuitem"> +<a title="" href="contrib.html">Contributing</a> +</div> +<div class="menuitem"> +<a title="" href="http://svn.apache.org/viewvc/xml/security/trunk/">SVN</a> +</div> +<div class="menuitem"> +<a title="" href="mail-lists.html">Mail lists</a> +</div> +</div> +<div onclick="SwitchMenu('menu_1.3', 'skin/')" id="menu_1.3Title" class="menutitle">Java</div> +<div id="menu_1.3" class="menuitemgroup"> +<div class="menuitem"> +<a title="" href="Java/index.html">Index</a> +</div> +<div class="menuitem"> +<a title="" href="Java/installation.html">Installation</a> +</div> +<div class="menuitem"> +<a title="" href="Java/examples.html">Examples</a> +</div> +<div class="menuitem"> +<a title="" href="Java/faq.html">FAQs</a> +</div> +<div class="menuitem"> +<a title="" href="Java/api.html">API Docs</a> +</div> +<div class="menuitem"> +<a title="" href="Java/interop.html">Interoperability</a> +</div> +<div class="menuitem"> +<a title="" href="http://lsd.student.utwente.nl/gump/xml-security/xml-security.html">Gump results</a> +</div> +<div class="menuitem"> +<a title="" href="Java/resolver.html">Resolvermania</a> +</div> +</div> +<div onclick="SwitchMenu('menu_1.4', 'skin/')" id="menu_1.4Title" class="menutitle">C++</div> +<div id="menu_1.4" class="menuitemgroup"> +<div class="menuitem"> +<a title="" href="c/index.html">Index</a> +</div> +<div class="menuitem"> +<a title="" href="c/installation.html">Installation</a> +</div> +<div class="menuitem"> +<a title="" href="c/faq.html">FAQs</a> +</div> +<div class="menuitem"> +<a title="" href="c/apiDocs/index.html">API Docs</a> +</div> +<div class="menuitem"> +<a title="" href="http://nagoya.apache.org/~blautenb/xml-security-c/apiDocs/">Nightly API build</a> +</div> +<div class="menuitem"> +<a title="" href="c/tools.html">Tools</a> +</div> +<div class="menuitem"> +<a title="" href="c/releases.html">Release Information</a> +</div> +<div class="menuitem"> +<a title="" href="c/credits.html">Credits</a> +</div> +<div class="menuitem"> +<a title="" href="c/interop.html">Interoperability</a> +</div> +</div> +<div onclick="SwitchMenu('menu_1.5', 'skin/')" id="menu_1.5Title" class="menutitle">Programming</div> +<div id="menu_1.5" class="menuitemgroup"> +<div class="menuitem"> +<a title="" href="c/programming.html">Signatures</a> +</div> +<div class="menuitem"> +<a title="" href="c/prog_enc.html">Encryption</a> +</div> +</div> +<div onclick="SwitchMenu('menu_1.6', 'skin/')" id="menu_1.6Title" class="menutitle">References</div> +<div id="menu_1.6" class="menuitemgroup"> +<div class="menuitem"> +<a title="" href="http://www.w3c.org/Signature/">W3C XML DSig</a> +</div> +<div class="menuitem"> +<a title="" href="http://www.w3c.org/Encryption/">W3C XML Enc</a> +</div> +<div class="menuitem"> +<a title="" href="http://www.w3c.org/2001/XKMS/">W3C XML XKMS</a> +</div> +</div> +<div id="credit"></div> +<div id="roundbottom"> +<img style="display: none" class="corner" height="15" width="15" alt="" src="skin/images/rc-b-l-15-1body-2menu-3menu.png"></div> +<!--+ + |alternative credits + +--> +</div> +<!--+ + |end Menu + +--> +<!--+ + |start content + +--> +<div id="content"> +<div id="skinconf-txtlink"></div> +<h1>Site Linkmap</h1> +<a name="N10007"></a><a name="Table+of+Contents"></a> +<h2 class="h3">Table of Contents</h2> +<div class="section"> +<li> +<a href="">XML Security</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>site</em> +</li> +<ul> + + +<li> +<a href="">About</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>about</em> +</li> +<ul> + +<li> +<a href="index.html">Index</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>index</em> +</li> + + + +<li> +<a href="download.html">Download</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>download</em> +</li> + +<li> +<a href="faq.html">FAQs</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>faq</em> +</li> + +<li> +<a href="who.html">Who we are</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>who</em> +</li> + +<li> +<a href="todo.html">Todo</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>todo</em> +</li> + +<li> +<a href="changes.html">Changes</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>changes</em> +</li> + +<li> +<a href="history.html">History</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>history</em> +</li> + +<li> +<a href="license.html">License</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>license</em> +</li> + +</ul> + + +<li> +<a href="">Getting Involved</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>getting-involved</em> +</li> +<ul> + +<li> +<a href="contrib.html">Contributing</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>contrib</em> +</li> + +<li> +<a class="external" href="http://svn.apache.org/viewvc/xml/security/trunk/">SVN</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>SVN</em> +</li> + +<li> +<a href="mail-lists.html">Mail lists</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>mail-lists</em> +</li> + +</ul> + + +<li> +<a href="Java/">Java</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>java</em> +</li> +<ul> + + +<li> +<a href="Java/index.html">Index</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>index</em> +</li> + +<li> +<a href="Java/installation.html">Installation</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>installation</em> +</li> + +<li> +<a href="Java/examples.html">Examples</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>examples</em> +</li> + +<li> +<a href="Java/faq.html">FAQs</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>faq_j</em> +</li> + +<li> +<a href="Java/api.html">API Docs</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>api</em> +</li> + +<li> +<a href="Java/interop.html">Interoperability</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>interop</em> +</li> + +<li> +<a class="external" href="http://lsd.student.utwente.nl/gump/xml-security/xml-security.html">Gump results</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>gump</em> +</li> + +<li> +<a href="Java/resolver.html">Resolvermania</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>resolvers</em> +</li> + +</ul> + + +<li> +<a href="c/">C++</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>c</em> +</li> +<ul> + +<li> +<a href="c/index.html">Index</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>index</em> +</li> + +<li> +<a href="c/installation.html">Installation</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>install</em> +</li> + +<li> +<a href="c/faq.html">FAQs</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>cfaq</em> +</li> + +<li> +<a href="c/apiDocs/index.html">API Docs</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>external</em> +</li> + +<li> +<a class="external" href="http://nagoya.apache.org/~blautenb/xml-security-c/apiDocs/">Nightly API build</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>external</em> +</li> + +<li> +<a href="c/tools.html">Tools</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>tools</em> +</li> + +<li> +<a href="c/releases.html">Release Information</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>releases</em> +</li> + +<li> +<a href="c/credits.html">Credits</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>credits</em> +</li> + +<li> +<a href="c/interop.html">Interoperability</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>interop</em> +</li> + +</ul> + + +<li> +<a href="c/">Programming</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>cprog</em> +</li> +<ul> + +<li> +<a href="c/programming.html">Signatures</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>signature</em> +</li> + +<li> +<a href="c/prog_enc.html">Encryption</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>enc</em> +</li> + +</ul> + + +<li> +<a href="">References</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>references</em> +</li> +<ul> + +<li> +<a class="external" href="http://www.w3c.org/Signature/">W3C XML DSig</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>xmldsig</em> +</li> + +<li> +<a class="external" href="http://www.w3c.org/Encryption/">W3C XML Enc</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>xmlenc</em> +</li> + +<li> +<a class="external" href="http://www.w3c.org/2001/XKMS/">W3C XML XKMS</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>xmlxkms</em> +</li> + +</ul> + + +<ul> + + + + + +<li> +<a class="external" href="http://www.nue.et-inf.uni-siegen.de/~geuer-pollmann/xml_security.html">The XML Security page</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>christ-page</em> +</li> + + + +<ul> + +<li> +<a class="external" href="http://www.w3c.org/Signature">W3C XML-Signature Syntax and Processing</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>xmldsig</em> +</li> + +<li> +<a class="external" href="http://www.w3c.org/TR/2002/REC-xmldsig-core-20020212/">XML-Signature Syntax and Processing, W3C Recommendation 12 February 2002</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>xmldsig_java_supported</em> +</li> + +<li> +<a class="external" href="http://www.w3c.org/TR/2002/REC-xmldsig-core-20020212/">XML-Signature Syntax and Processing, W3C Recommendation 12 February 2002</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>xmldsig_C_supported</em> +</li> + +<li> +<a class="external" href="http://www.w3c.org/TR/2002/REC-xmlenc-core-20021210/">XML Encryption Syntax and Processing, W3C Recommendation 10 December 2002</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>xmlenc_java_supported</em> +</li> + +<li> +<a class="external" href="http://www.w3c.org/TR/2002/REC-xmlenc-core-20021210/">XML Encryption Syntax and Processing, W3C Recommendation 10 December 2002</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>xmlenc_C_supported</em> +</li> + +<li> +<a class="external" href="http://www.w3c.org/Encryption">W3C XML Encryption Syntax and Processing</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>xmlenc</em> +</li> + +<li> +<a class="external" href="http://www.w3c.org/TR/2002/REC-xml-exc-c14n-20020718/">C14N-supported</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>c14n</em> +</li> + +<li> +<a class="external" href="http://www.w3c.org/Signature/2002/02/01-exc-c14n-interop.html">C14N tests</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>c14n-interop</em> +</li> + +<li> +<a class="external" href="http://www.w3c.org/TR/2002/CR-xmldsig-filter2-20020718/">XMLDSig XPath Filter 2.0</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>xpath-filterv2</em> +</li> + +<li> +<a class="external" href="http://www.w3c.org/TR/xpath">XML Path Language (XPath) Version 1.0</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>xpath</em> +</li> + +<li> +<a class="external" href="http://www.w3c.org/DOM">DOM</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>dom</em> +</li> + +<li> +<a class="external" href="http://www.w3c.org/DOM-Level-2/">DOM level 2</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>dom2</em> +</li> + +</ul> + + + +<li> +<a class="external" href="http://www.megginson.com/SAX/sax.html">SAX</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>sax</em> +</li> + +<li> +<a class="external" href="http://www.megginson.com/SAX/Java/index.html">SAX 2</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>sax2</em> +</li> + + + +<ul> + +<li> +<a class="external" href="http://xml.apache.org/xerces2-j/index.html">Apache Xerces2</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>xml4j-used</em> +</li> + +<li> +<a class="external" href="http://xml.apache.org/dist/LICENSE.txt">The Apache Software License, Version 1.1</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>ApacheLicense</em> +</li> + + + +</ul> + +<li> +<a class="external" href="http://jakarta.apache.org/ant/index.html">Ant</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>ant</em> +</li> + +<li> +<a class="external" href="http://nagoya.apache.org/bugzilla">Bugzilla (the Apache bug database)</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>bugzilla</em> +</li> + +<li> +<a class="external" href="http://nagoya.apache.org/bugzilla/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&bugidtype=include&bug_id=&changedin=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&product=XalanJ2&short_desc=&short_desc_type=substring&long_desc=&long_desc_type=substring&bug_file_loc=&bug_file_loc_type=substring&keywords=&keywords_type=anywords&field0-0-0=noop&type0-0-0=noop&value0-0-0=&cmdtype=doit&order=%27Importance%27">XalanJ2 open bugs</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>buglist</em> +</li> + + + +<ul> + +<ul> + + + + +</ul> + +<ul> + +<ul> + + +</ul> + +</ul> + +</ul> + + + +<li> +<a class="external" href="http://www.cacr.math.uwaterloo.ca/hac/">Handbook of Applied Cryptography</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>hac</em> +</li> + +<li> +<a class="external" href="http://www.bouncycastle.org/">Boucy Castle</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>bouncy</em> +</li> + + + +<li> +<a class="external" href="http://java.sun.com/j2se/1.4/index.html">Java (TM) 2 Platform Standard Edition v1.4.0</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>java</em> +</li> + +<li> +<a class="external" href="http://forum.java.sun.com/">SUN java forum</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>javaforum</em> +</li> + +<li> +<a class="external" href="http://java.sun.com/xml/docs/api/index.html">Java API for XML Parsing 1.0</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>jaxp</em> +</li> + + + +<li> +<a class="external" href="http://www.zvon.org/">ZVON</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>zvon</em> +</li> + +<li> +<a class="external" href="http://www.ucc.ie/xml/">XMLFAQ</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>xmlfaq</em> +</li> + +<li> +<a class="external" href="http://oss.software.ibm.com/developerworks/projects/bsf">Bean Scripting Framework (BSF)</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>bsf</em> +</li> + + + +<li> +<a class="external" href="http://nagoya.apache.org/eyebrowse/SummarizeList?listId=72">EyeBrowseList</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>nagoya</em> +</li> + +<li> +<a class="external" href="http://news.gmane.org/thread.php?group=gmane.text.xml.security.devel">Gmane</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>gmane</em> +</li> + +<li> +<a href="mailto:security-dev-help.at.xml.apache.org">mailinglisthelp</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>mailhelp</em> +</li> + +<li> +<a href="mailto:security-dev-subscribe.at.xml.apache.org">mailinglistsubscribe</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>mailsub</em> +</li> + +<li> +<a href="mailto:security-dev-unsubscribe.at.xml.apache.org">mailinglistunsubscribe</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>mailunsub</em> +</li> + + + +<li> +<a href="mailto:geuerp.at.apache.org">Christian Geuer-Pollmann</a>&nbsp;&nbsp;&nbsp;_________________________&nbsp;&nbsp;<em>geuerp</em> +</li> + + + +<ul> + + + + + + +</ul> + +</ul> + + +</ul> +</div> +</div> +<!--+ + |end content + +--> +<div class="clearboth">&nbsp;</div> +</div> +<div id="footer"> +<!--+ + |start bottomstrip + +--> +<div class="lastmodified"> +<script type="text/javascript"><!-- +document.write("Last Published: " + document.lastModified); +// --></script> +</div> +<div class="copyright"> + Copyright &copy; 2002-2006 The Apache Software Foundation.</div> +<!--+ + |end bottomstrip + +--> +</div> +</body> +</html> Added: xml/site/targets/security/mail-lists.html URL: http://svn.apache.org/viewvc/xml/site/targets/security/mail-lists.html?view=auto&rev=498966 ============================================================================== --- xml/site/targets/security/mail-lists.html (added) +++ xml/site/targets/security/mail-lists.html Tue Jan 23 01:41:46 2007 @@ -0,0 +1,244 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> +<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<meta content="Apache Forrest" name="Generator"> +<meta name="Forrest-version" content="0.6"> +<meta name="Forrest-skin-name" content="pelt"> +<title>XML security mailing list</title> +<link type="text/css" href="skin/basic.css" rel="stylesheet"> +<link media="screen" type="text/css" href="skin/screen.css" rel="stylesheet"> +<link media="print" type="text/css" href="skin/print.css" rel="stylesheet"> +<link type="text/css" href="skin/profile.css" rel="stylesheet"> +<script src="skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="skin/fontsize.js" language="javascript" type="text/javascript"></script> +</head> +<body onload="init()"> +<script type="text/javascript">ndeSetTextSize();</script> +<div id="top"> +<!--+ + |breadtrail + +--> +<div class="breadtrail"> +<a href="http://www.apache.org/">apache</a> &gt; <a href="http://xml.apache.org/">xml.apache</a><script src="skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script> +</div> +<!--+ + |header + +--> +<div class="header"> +<!--+ + |start group logo + +--> +<div class="grouplogo"> +<a href="http:///xml.apache.org"><img class="logoImage" alt="Apache XML" src="images/group-logo.gif"></a> +</div> +<!--+ + |end group logo + +--> +<!--+ + |start Project Logo + +--> +<div class="projectlogo"> +<a href="http://xml.apache.org/security"><img class="logoImage" alt="Apache XML Security" src="images/project-logo.gif"></a> +</div> +<!--+ + |end Project Logo + +--> +<!--+ + |start Search + +--> +<div class="searchbox"> +<form action="http://www.google.com/search" method="get" class="roundtopsmall"> +<input value="xml.apache.org/security" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with google:');" value="Search the site with google:" size="25" name="q" id="query" type="text">&nbsp; + <input name="Search" value="Search" type="submit"> +</form> +</div> +<!--+ + |end search + +--> +<!--+ + |start Tabs + +--> +<ul id="tabs"> +<li class="current"> +<a class="base-selected" href="index.html">Home</a> +</li> +<li> +<a class="base-not-selected" href="Java/index.html">Java</a> +</li> +<li> +<a class="base-not-selected" href="c/index.html">C++</a> +</li> +</ul> +<!--+ + |end Tabs + +--> +</div> +</div> +<div id="main"> +<div id="publishedStrip"> +<!--+ + |start Subtabs + +--> +<div id="level2tabs"></div> +<!--+ + |end Endtabs + +--> +<script type="text/javascript" language="JavaScript"><!-- + document.write("Published: " + document.lastModified); + // --></script> +</div> +<!--+ + |breadtrail + +--> +<div class="breadtrail"> + + &nbsp; + </div> +<!--+ + |start Menu, mainarea + +--> +<!--+ + |start Menu + +--> +<div id="menu"> +<div onclick="SwitchMenu('menu_1.1', 'skin/')" id="menu_1.1Title" class="menutitle">About</div> +<div id="menu_1.1" class="menuitemgroup"> +<div class="menuitem"> +<a title="" href="index.html">Index</a> +</div> +<div class="menuitem"> +<a title="" href="download.html">Download</a> +</div> +<div class="menuitem"> +<a title="" href="faq.html">FAQs</a> +</div> +<div class="menuitem"> +<a title="" href="who.html">Who we are</a> +</div> +<div class="menuitem"> +<a title="" href="todo.html">Todo</a> +</div> +<div class="menuitem"> +<a title="" href="changes.html">Changes</a> +</div> +<div class="menuitem"> +<a title="" href="history.html">History</a> +</div> +<div class="menuitem"> +<a title="" href="license.html">License</a> +</div> +</div> +<div onclick="SwitchMenu('menu_selected_1.2', 'skin/')" id="menu_selected_1.2Title" class="menutitle" style="background-image: url('skin/images/chapter_open.gif');">Getting Involved</div> +<div id="menu_selected_1.2" class="selectedmenuitemgroup" style="display: block;"> +<div class="menuitem"> +<a title="" href="contrib.html">Contributing</a> +</div> +<div class="menuitem"> +<a title="" href="http://svn.apache.org/viewvc/xml/security/trunk/">SVN</a> +</div> +<div class="menupage"> +<div class="menupagetitle">Mail lists</div> +</div> +</div> +<div onclick="SwitchMenu('menu_1.3', 'skin/')" id="menu_1.3Title" class="menutitle">References</div> +<div id="menu_1.3" class="menuitemgroup"> +<div class="menuitem"> +<a title="" href="http://www.w3c.org/Signature/">W3C XML DSig</a> +</div> +<div class="menuitem"> +<a title="" href="http://www.w3c.org/Encryption/">W3C XML Enc</a> +</div> +<div class="menuitem"> +<a title="" href="http://www.w3c.org/2001/XKMS/">W3C XML XKMS</a> +</div> +</div> +<div id="credit"></div> +<div id="roundbottom"> +<img style="display: none" class="corner" height="15" width="15" alt="" src="skin/images/rc-b-l-15-1body-2menu-3menu.png"></div> +<!--+ + |alternative credits + +--> +</div> +<!--+ + |end Menu + +--> +<!--+ + |start content + +--> +<div id="content"> +<div id="skinconf-txtlink"></div> +<h1>XML security mailing list</h1> + +<a name="N1000D"></a><a name="XML+security+mailing+list"></a> +<h2 class="h3">XML security mailing list</h2> +<div class="section"> +<p> + There exists a mailing list which you can subscribe to ask questions: + </p> +<p> + The <a class="external" href="http://xml.apache.org/mail.html">ezmlm mailing list controller</a> + accepts commands by sending emails to it, generally + like the following: + </p> +<ul> + +<li> + +<a href="mailto:security-dev-subscribe.at.xml.apache.org">security-dev-subscribe</a> to subscribe + your current email address to the list. + </li> + +<li> + +<a href="mailto:security-dev-unsubscribe.at.xml.apache.org">security-dev-unsubscribe</a> to + <em>un</em>subscribe your *current* email address from the list. + </li> + +<li> + +<a href="mailto:security-dev-help.at.xml.apache.org">security-dev-help</a> to get Help on + mailing list commands. + </li> + +</ul> +</div> + +<a name="N10039"></a><a name="Mail+Archives"></a> +<h2 class="h3">Mail Archives</h2> +<div class="section"> +<p> + An archive of this list is kept under + <a class="external" href="http://news.gmane.org/thread.php?group=gmane.text.xml.security.devel"> + http://news.gmane.org/thread.php?group=gmane.text.xml.security.devel + </a> + +</p> +<p> + Another archive is held by <a class="external" href="http://nagoya.apache.org/eyebrowse/SummarizeList?listId=72">The EyeBrowse Mail Archive + </a>. + </p> +</div> + +</div> +<!--+ + |end content + +--> +<div class="clearboth">&nbsp;</div> +</div> +<div id="footer"> +<!--+ + |start bottomstrip + +--> +<div class="lastmodified"> +<script type="text/javascript"><!-- +document.write("Last Published: " + document.lastModified); +// --></script> +</div> +<div class="copyright"> + Copyright &copy; 2002-2006 The Apache Software Foundation.</div> +<!--+ + |end bottomstrip + +--> +</div> +</body> +</html> Added: xml/site/targets/security/todo.html URL: http://svn.apache.org/viewvc/xml/site/targets/security/todo.html?view=auto&rev=498966 ============================================================================== --- xml/site/targets/security/todo.html (added) +++ xml/site/targets/security/todo.html Tue Jan 23 01:41:46 2007 @@ -0,0 +1,243 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> +<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<meta content="Apache Forrest" name="Generator"> +<meta name="Forrest-version" content="0.6"> +<meta name="Forrest-skin-name" content="pelt"> +<title>Todo List</title> +<link type="text/css" href="skin/basic.css" rel="stylesheet"> +<link media="screen" type="text/css" href="skin/screen.css" rel="stylesheet"> +<link media="print" type="text/css" href="skin/print.css" rel="stylesheet"> +<link type="text/css" href="skin/profile.css" rel="stylesheet"> +<script src="skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="skin/fontsize.js" language="javascript" type="text/javascript"></script> +</head> +<body onload="init()"> +<script type="text/javascript">ndeSetTextSize();</script> +<div id="top"> +<!--+ + |breadtrail + +--> +<div class="breadtrail"> +<a href="http://www.apache.org/">apache</a> &gt; <a href="http://xml.apache.org/">xml.apache</a><script src="skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script> +</div> +<!--+ + |header + +--> +<div class="header"> +<!--+ + |start group logo + +--> +<div class="grouplogo"> +<a href="http:///xml.apache.org"><img class="logoImage" alt="Apache XML" src="images/group-logo.gif"></a> +</div> +<!--+ + |end group logo + +--> +<!--+ + |start Project Logo + +--> +<div class="projectlogo"> +<a href="http://xml.apache.org/security"><img class="logoImage" alt="Apache XML Security" src="images/project-logo.gif"></a> +</div> +<!--+ + |end Project Logo + +--> +<!--+ + |start Search + +--> +<div class="searchbox"> +<form action="http://www.google.com/search" method="get" class="roundtopsmall"> +<input value="xml.apache.org/security" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with google:');" value="Search the site with google:" size="25" name="q" id="query" type="text">&nbsp; + <input name="Search" value="Search" type="submit"> +</form> +</div> +<!--+ + |end search + +--> +<!--+ + |start Tabs + +--> +<ul id="tabs"> +<li class="current"> +<a class="base-selected" href="index.html">Home</a> +</li> +<li> +<a class="base-not-selected" href="Java/index.html">Java</a> +</li> +<li> +<a class="base-not-selected" href="c/index.html">C++</a> +</li> +</ul> +<!--+ + |end Tabs + +--> +</div> +</div> +<div id="main"> +<div id="publishedStrip"> +<!--+ + |start Subtabs + +--> +<div id="level2tabs"></div> +<!--+ + |end Endtabs + +--> +<script type="text/javascript" language="JavaScript"><!-- + document.write("Published: " + document.lastModified); + // --></script> +</div> +<!--+ + |breadtrail + +--> +<div class="breadtrail"> + + &nbsp; + </div> +<!--+ + |start Menu, mainarea + +--> +<!--+ + |start Menu + +--> +<div id="menu"> +<div onclick="SwitchMenu('menu_selected_1.1', 'skin/')" id="menu_selected_1.1Title" class="menutitle" style="background-image: url('skin/images/chapter_open.gif');">About</div> +<div id="menu_selected_1.1" class="selectedmenuitemgroup" style="display: block;"> +<div class="menuitem"> +<a title="" href="index.html">Index</a> +</div> +<div class="menuitem"> +<a title="" href="download.html">Download</a> +</div> +<div class="menuitem"> +<a title="" href="faq.html">FAQs</a> +</div> +<div class="menuitem"> +<a title="" href="who.html">Who we are</a> +</div> +<div class="menupage"> +<div class="menupagetitle">Todo</div> +</div> +<div class="menuitem"> +<a title="" href="changes.html">Changes</a> +</div> +<div class="menuitem"> +<a title="" href="history.html">History</a> +</div> +<div class="menuitem"> +<a title="" href="license.html">License</a> +</div> +</div> +<div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" class="menutitle">Getting Involved</div> +<div id="menu_1.2" class="menuitemgroup"> +<div class="menuitem"> +<a title="" href="contrib.html">Contributing</a> +</div> +<div class="menuitem"> +<a title="" href="http://svn.apache.org/viewvc/xml/security/trunk/">SVN</a> +</div> +<div class="menuitem"> +<a title="" href="mail-lists.html">Mail lists</a> +</div> +</div> +<div onclick="SwitchMenu('menu_1.3', 'skin/')" id="menu_1.3Title" class="menutitle">References</div> +<div id="menu_1.3" class="menuitemgroup"> +<div class="menuitem"> +<a title="" href="http://www.w3c.org/Signature/">W3C XML DSig</a> +</div> +<div class="menuitem"> +<a title="" href="http://www.w3c.org/Encryption/">W3C XML Enc</a> +</div> +<div class="menuitem"> +<a title="" href="http://www.w3c.org/2001/XKMS/">W3C XML XKMS</a> +</div> +</div> +<div id="credit"></div> +<div id="roundbottom"> +<img style="display: none" class="corner" height="15" width="15" alt="" src="skin/images/rc-b-l-15-1body-2menu-3menu.png"></div> +<!--+ + |alternative credits + +--> +</div> +<!--+ + |end Menu + +--> +<!--+ + |start content + +--> +<div id="content"> +<div id="skinconf-txtlink"></div> +<h1>Todo List</h1> + +<a name="N10008"></a><a name="high"></a> +<h2 class="h3">high</h2> +<div class="section"> +<ul> +<li> +<strong>[C++ code]</strong> + Implement XKMS client + &rarr; BL</li> +<li> +<strong>[C++ code]</strong> + Implement NSS Crypto interface + &rarr; MT</li> +<li> +<strong>[Java-code]</strong> + Integrate JSR 105 + &rarr; SM</li> +</ul> +</div> + +<a name="N1001A"></a><a name="medium"></a> +<h2 class="h3">medium</h2> +<div class="section"> +<ul> +<li> +<strong>[Java-code]</strong> + Construct more examples. + &rarr; open</li> +<li> +<strong>[C++ code]</strong> + Build a PGP/GPG signature capability. + &rarr; BL</li> +</ul> +</div> + +<a name="N10028"></a><a name="low"></a> +<h2 class="h3">low</h2> +<div class="section"> +<ul> +<li> +<strong>[docs]</strong> + Polish the ported docs. Add more content. Todo and changes are in <span class="codefrag">status.xml</span> + &rarr; KW</li> +<li> +<strong>[Java-code and C++ code]</strong> + Implement an XKMS client. + &rarr; open</li> +</ul> +</div> + +</div> +<!--+ + |end content + +--> +<div class="clearboth">&nbsp;</div> +</div> +<div id="footer"> +<!--+ + |start bottomstrip + +--> +<div class="lastmodified"> +<script type="text/javascript"><!-- +document.write("Last Published: " + document.lastModified); +// --></script> +</div> +<div class="copyright"> + Copyright &copy; 2002-2006 The Apache Software Foundation.</div> +<!--+ + |end bottomstrip + +--> +</div> +</body> +</html> Added: xml/site/targets/security/who.html URL: http://svn.apache.org/viewvc/xml/site/targets/security/who.html?view=auto&rev=498966 ============================================================================== --- xml/site/targets/security/who.html (added) +++ xml/site/targets/security/who.html Tue Jan 23 01:41:46 2007 @@ -0,0 +1,245 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> +<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<meta content="Apache Forrest" name="Generator"> +<meta name="Forrest-version" content="0.6"> +<meta name="Forrest-skin-name" content="pelt"> +<title>Who we are</title> +<link type="text/css" href="skin/basic.css" rel="stylesheet"> +<link media="screen" type="text/css" href="skin/screen.css" rel="stylesheet"> +<link media="print" type="text/css" href="skin/print.css" rel="stylesheet"> +<link type="text/css" href="skin/profile.css" rel="stylesheet"> +<script src="skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="skin/fontsize.js" language="javascript" type="text/javascript"></script> +</head> +<body onload="init()"> +<script type="text/javascript">ndeSetTextSize();</script> +<div id="top"> +<!--+ + |breadtrail + +--> +<div class="breadtrail"> +<a href="http://www.apache.org/">apache</a> &gt; <a href="http://xml.apache.org/">xml.apache</a><script src="skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script> +</div> +<!--+ + |header + +--> +<div class="header"> +<!--+ + |start group logo + +--> +<div class="grouplogo"> +<a href="http:///xml.apache.org"><img class="logoImage" alt="Apache XML" src="images/group-logo.gif"></a> +</div> +<!--+ + |end group logo + +--> +<!--+ + |start Project Logo + +--> +<div class="projectlogo"> +<a href="http://xml.apache.org/security"><img class="logoImage" alt="Apache XML Security" src="images/project-logo.gif"></a> +</div> +<!--+ + |end Project Logo + +--> +<!--+ + |start Search + +--> +<div class="searchbox"> +<form action="http://www.google.com/search" method="get" class="roundtopsmall"> +<input value="xml.apache.org/security" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with google:');" value="Search the site with google:" size="25" name="q" id="query" type="text">&nbsp; + <input name="Search" value="Search" type="submit"> +</form> +</div> +<!--+ + |end search + +--> +<!--+ + |start Tabs + +--> +<ul id="tabs"> +<li class="current"> +<a class="base-selected" href="index.html">Home</a> +</li> +<li> +<a class="base-not-selected" href="Java/index.html">Java</a> +</li> +<li> +<a class="base-not-selected" href="c/index.html">C++</a> +</li> +</ul> +<!--+ + |end Tabs + +--> +</div> +</div> +<div id="main"> +<div id="publishedStrip"> +<!--+ + |start Subtabs + +--> +<div id="level2tabs"></div> +<!--+ + |end Endtabs + +--> +<script type="text/javascript" language="JavaScript"><!-- + document.write("Published: " + document.lastModified); + // --></script> +</div> +<!--+ + |breadtrail + +--> +<div class="breadtrail"> + + &nbsp; + </div> +<!--+ + |start Menu, mainarea + +--> +<!--+ + |start Menu + +--> +<div id="menu"> +<div onclick="SwitchMenu('menu_selected_1.1', 'skin/')" id="menu_selected_1.1Title" class="menutitle" style="background-image: url('skin/images/chapter_open.gif');">About</div> +<div id="menu_selected_1.1" class="selectedmenuitemgroup" style="display: block;"> +<div class="menuitem"> +<a title="" href="index.html">Index</a> +</div> +<div class="menuitem"> +<a title="" href="download.html">Download</a> +</div> +<div class="menuitem"> +<a title="" href="faq.html">FAQs</a> +</div> +<div class="menupage"> +<div class="menupagetitle">Who we are</div> +</div> +<div class="menuitem"> +<a title="" href="todo.html">Todo</a> +</div> +<div class="menuitem"> +<a title="" href="changes.html">Changes</a> +</div> +<div class="menuitem"> +<a title="" href="history.html">History</a> +</div> +<div class="menuitem"> +<a title="" href="license.html">License</a> +</div> +</div> +<div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" class="menutitle">Getting Involved</div> +<div id="menu_1.2" class="menuitemgroup"> +<div class="menuitem"> +<a title="" href="contrib.html">Contributing</a> +</div> +<div class="menuitem"> +<a title="" href="http://svn.apache.org/viewvc/xml/security/trunk/">SVN</a> +</div> +<div class="menuitem"> +<a title="" href="mail-lists.html">Mail lists</a> +</div> +</div> +<div onclick="SwitchMenu('menu_1.3', 'skin/')" id="menu_1.3Title" class="menutitle">References</div> +<div id="menu_1.3" class="menuitemgroup"> +<div class="menuitem"> +<a title="" href="http://www.w3c.org/Signature/">W3C XML DSig</a> +</div> +<div class="menuitem"> +<a title="" href="http://www.w3c.org/Encryption/">W3C XML Enc</a> +</div> +<div class="menuitem"> +<a title="" href="http://www.w3c.org/2001/XKMS/">W3C XML XKMS</a> +</div> +</div> +<div id="credit"></div> +<div id="roundbottom"> +<img style="display: none" class="corner" height="15" width="15" alt="" src="skin/images/rc-b-l-15-1body-2menu-3menu.png"></div> +<!--+ + |alternative credits + +--> +</div> +<!--+ + |end Menu + +--> +<!--+ + |start content + +--> +<div id="content"> +<div id="skinconf-txtlink"></div> +<h1>Who we are</h1> + +<a name="N1000D"></a><a name="The+Apache+XML-Security+Community"></a> +<h2 class="h3">The Apache XML-Security Community</h2> +<div class="section"> +<p> The XML-Security Project operates on a meritocracy: the more you do, the + more responsibility you will obtain. This page lists all of the people who have + gone the extra mile and are Committers. If you would like to get involved, the + first step is to join the mailing lists. </p> +<p> We ask that you please do not send us emails privately asking for + support. We are non-paid volunteers who help out with the project and we do not + necessarily have the time or energy to help people on an individual basis. + Instead, we have set up mailing lists which often contain hundreds of + individuals who will help answer detailed requests for help. The benefit of + using mailing lists over private communication is that it is a shared resource + where others can also learn from common mistakes and as a community we all grow + together.</p> +</div> + +<a name="N1001A"></a><a name="Committers"></a> +<h2 class="h3">Committers</h2> +<div class="section"> +<p> + The following people are currently active in the XML Security project : + </p> +<ul> + +<li> [BL] Berin Lautenbach (berinATozemail.com.au) </li> + +<li> [AXL] Axl Mattheus (amattheuATapache.org) </li> + +<li> [EK] Erwin van der Koogh (erwinATkoogh.com) </li> + +<li> [RB] Raul Benito Garcia (raul-infoATr-bg.com) </li> + +<li> [VM] Vishal Mahajan (vmahajanATamberpoint.com) </li> + +<li> [MT] Milan Tomic (milan.setcce.org) </li> + +<li> [SM] Sean Mullan (sean.mullanATsun.com) </li> + +</ul> +<p> + The following people were developers on the project in the past, + but are no longer actively involved in the project : + </p> +<ul> + +<li> [CGP] Christian Geuer-Pollmann (geuer-pollmannATnue.et-inf.uni-siegen.de) </li> + +</ul> +</div> + +</div> +<!--+ + |end content + +--> +<div class="clearboth">&nbsp;</div> +</div> +<div id="footer"> +<!--+ + |start bottomstrip + +--> +<div class="lastmodified"> +<script type="text/javascript"><!-- +document.write("Last Published: " + document.lastModified); +// --></script> +</div> +<div class="copyright"> + Copyright &copy; 2002-2006 The Apache Software Foundation.</div> +<!--+ + |end bottomstrip + +--> +</div> +</body> +</html> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jan 23 09:43:02 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88304 invoked from network); 23 Jan 2007 09:43:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Jan 2007 09:43:00 -0000 Received: (qmail 8969 invoked by uid 500); 23 Jan 2007 09:43:06 -0000 Delivered-To: [email protected] Received: (qmail 8943 invoked by uid 500); 23 Jan 2007 09:43:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general-cvs.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 8932 invoked by uid 500); 23 Jan 2007 09:43:06 -0000 Delivered-To: [email protected] Received: (qmail 8928 invoked by uid 99); 23 Jan 2007 09:43:06 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jan 2007 01:43:06 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ADVANCE_FEE_1,ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jan 2007 01:42:57 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id 619001A981A; Tue, 23 Jan 2007 01:41:50 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r498966 [1/2] - in /xml/site/targets/security: changes.rss contrib.html download.html faq.html history.html index.html license.html linkmap.html mail-lists.html todo.html who.html Date: Tue, 23 Jan 2007 09:41:47 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: raul Date: Tue Jan 23 01:41:46 2007 New Revision: 498966 URL: http://svn.apache.org/viewvc?view=rev&rev=498966 Log: Updating web pages for 1.4 release Added: xml/site/targets/security/changes.rss xml/site/targets/security/contrib.html xml/site/targets/security/download.html xml/site/targets/security/faq.html xml/site/targets/security/history.html xml/site/targets/security/index.html xml/site/targets/security/license.html xml/site/targets/security/linkmap.html xml/site/targets/security/mail-lists.html xml/site/targets/security/todo.html xml/site/targets/security/who.html Added: xml/site/targets/security/changes.rss URL: http://svn.apache.org/viewvc/xml/site/targets/security/changes.rss?view=auto&rev=498966 ============================================================================== --- xml/site/targets/security/changes.rss (added) +++ xml/site/targets/security/changes.rss Tue Jan 23 01:41:46 2007 @@ -0,0 +1,185 @@ +<?xml version="1.0" encoding="ISO-8859-1"?><!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd"> +<rss version="0.91"><channel><title> Changes</title><link>changes.html</link><description> Changes</description><language>en-us</language><item><title>java_general add</title><link>changes.html</link><description>java_general add + by + SM + : + +&#9;&#9;JSR 105 implementation. + </description></item><item><title>java_general update</title><link>changes.html</link><description>java_general update + by + RB + : + + Major optimizations for signatures that use node-set transformations(xpath,xpath2,etc), 20-40% speed-up. + </description></item><item><title>java_general update</title><link>changes.html</link><description>java_general update + by + RB + : + + Major optimizations for signatures that use xpath2 transformation. + </description></item><item><title>java_general update</title><link>changes.html</link><description>java_general update + by + RB + : + + Major optimizations in inclusive c14n when using xml:* attributtes. + </description></item><item><title>java_general update</title><link>changes.html</link><description>java_general update + by + RB + : + + Memory footprint reduction: Less object creation. Reuse of "expensive" objects between + operations in the same thread. + </description></item><item><title>java_general update</title><link>changes.html</link><description>java_general update + by + RB + : + + Minor Optimizations. Reuse the same Signature object if the key are identical. + </description></item><item><title>java_general fix + (bug 40783) + </title><link>changes.html</link><description>java_general fix + by + SM + (fixes bug 40783) + + : + + &#9;NPE in ResolverDirectHTTP.engineCanResolve. + &#9; Thanks to Frank Cornelis.</description></item><item><title>java_general fix + (bug 40360) + </title><link>changes.html</link><description>java_general fix + by + RB + (fixes bug 40360) + + : + + &#9;AxisSigner.java doesn't work out of the box &#9; + &#9; Thanks to Jean-Luc Cooke.</description></item><item><title>java_general fix + (bug 40404) + </title><link>changes.html</link><description>java_general fix + by + RB + (fixes bug 40404) + + : + + &#9;Impossible to add X509 subelements for signing &#9; + &#9; Thanks to Jean-Luc Cooke.</description></item><item><title>java_general fix + (bug 40215) + </title><link>changes.html</link><description>java_general fix + by + RB + (fixes bug 40215) + + : + + &#9;Base64 does not work in EBCDIC machines. &#9; + &#9; Thanks to ACastro.</description></item><item><title>java_general fix + (bug 40032) + </title><link>changes.html</link><description>java_general fix + by + RB + (fixes bug 40032) + + : + + &#9;Subtree canonicalization produce incorrect results in certain cases. &#9; + &#9; Thanks to Bob Shanahan .</description></item><item><title>java_general fix + (bug 40896) + </title><link>changes.html</link><description>java_general fix + by + RB + (fixes bug 40896) + + : + + &#9;Internal. Cannot sign-verify twice in the same thread with different XMLSignature instances. + &#9; Thanks to Ruchith Fernando.</description></item><item><title>java_general fix + (bug 40796) + </title><link>changes.html</link><description>java_general fix + by + RB + (fixes bug 40796) + + : + + &#9;Internal. KeyResolverSpi derived classes require default constructor. + &#9; Thanks to Frank Cornelis.</description></item><item><title>java_general fix + (bug 37708) + </title><link>changes.html</link><description>java_general fix + by + SM + (fixes bug 37708) + + : + + &#9;Different behaviour with NodeSet and RootNode with InclusiveNamespaces &#9; + &#9; Thanks to Pete Hendry.</description></item><item><title>java_general fix + (bug 37456) + </title><link>changes.html</link><description>java_general fix + by + SM + (fixes bug 37456) + + : + + &#9;Signing throws an exception if custom resource resolver is registered &#9; + &#9; Thanks to Vishal Mahajan.</description></item><item><title>java_general fix + (bug 38655) + </title><link>changes.html</link><description>java_general fix + by + RB + (fixes bug 38655) + + : + + &#9;Canonicalizer gets exception in many namespaces. &#9; + &#9; Thanks to katoy.</description></item><item><title>java_general fix + (bug 38444) + </title><link>changes.html</link><description>java_general fix + by + RB + (fixes bug 38444) + + : + + &#9;Transform TRANSFORM_XPATH2FILTER subtract filter does not work correctly.&#9; + &#9; Thanks to Stefano Del Sal.</description></item><item><title>java_general fix + (bug 38605) + </title><link>changes.html</link><description>java_general fix + by + RB + (fixes bug 38605) + + : + + &#9;X509CertificateResolver does not work in multithread environment &#9; + &#9; Thanks to Peter Bacik.</description></item><item><title>java_general fix + (bug 39200) + </title><link>changes.html</link><description>java_general fix + by + RB + (fixes bug 39200) + + : + + &#9;XMLCipher-loadEncryptedKey() doesn't set the correct CarriedKeyName element. &#9; + &#9; Thanks to Yvan Hess.</description></item><item><title>java_general fix + (bug 39685) + </title><link>changes.html</link><description>java_general fix + by + SM + (fixes bug 39685) + + : + + &#9;Findbugs reporting fixed. &#9; + &#9; Thanks to Sean Mullan.</description></item><item><title>java_general add</title><link>changes.html</link><description>java_general add + by + SM + : + + &#9;Add XMLCipher.encryptData method that takes serialized data as parameter &#9; + &#9; Thanks to .</description></item></channel></rss> \ No newline at end of file Added: xml/site/targets/security/contrib.html URL: http://svn.apache.org/viewvc/xml/site/targets/security/contrib.html?view=auto&rev=498966 ============================================================================== --- xml/site/targets/security/contrib.html (added) +++ xml/site/targets/security/contrib.html Tue Jan 23 01:41:46 2007 @@ -0,0 +1,473 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> +<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<meta content="Apache Forrest" name="Generator"> +<meta name="Forrest-version" content="0.6"> +<meta name="Forrest-skin-name" content="pelt"> +<title>Contributing to XML-Security</title> +<link type="text/css" href="skin/basic.css" rel="stylesheet"> +<link media="screen" type="text/css" href="skin/screen.css" rel="stylesheet"> +<link media="print" type="text/css" href="skin/print.css" rel="stylesheet"> +<link type="text/css" href="skin/profile.css" rel="stylesheet"> +<script src="skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="skin/fontsize.js" language="javascript" type="text/javascript"></script> +</head> +<body onload="init()"> +<script type="text/javascript">ndeSetTextSize();</script> +<div id="top"> +<!--+ + |breadtrail + +--> +<div class="breadtrail"> +<a href="http://www.apache.org/">apache</a> &gt; <a href="http://xml.apache.org/">xml.apache</a><script src="skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script> +</div> +<!--+ + |header + +--> +<div class="header"> +<!--+ + |start group logo + +--> +<div class="grouplogo"> +<a href="http:///xml.apache.org"><img class="logoImage" alt="Apache XML" src="images/group-logo.gif"></a> +</div> +<!--+ + |end group logo + +--> +<!--+ + |start Project Logo + +--> +<div class="projectlogo"> +<a href="http://xml.apache.org/security"><img class="logoImage" alt="Apache XML Security" src="images/project-logo.gif"></a> +</div> +<!--+ + |end Project Logo + +--> +<!--+ + |start Search + +--> +<div class="searchbox"> +<form action="http://www.google.com/search" method="get" class="roundtopsmall"> +<input value="xml.apache.org/security" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with google:');" value="Search the site with google:" size="25" name="q" id="query" type="text">&nbsp; + <input name="Search" value="Search" type="submit"> +</form> +</div> +<!--+ + |end search + +--> +<!--+ + |start Tabs + +--> +<ul id="tabs"> +<li class="current"> +<a class="base-selected" href="index.html">Home</a> +</li> +<li> +<a class="base-not-selected" href="Java/index.html">Java</a> +</li> +<li> +<a class="base-not-selected" href="c/index.html">C++</a> +</li> +</ul> +<!--+ + |end Tabs + +--> +</div> +</div> +<div id="main"> +<div id="publishedStrip"> +<!--+ + |start Subtabs + +--> +<div id="level2tabs"></div> +<!--+ + |end Endtabs + +--> +<script type="text/javascript" language="JavaScript"><!-- + document.write("Published: " + document.lastModified); + // --></script> +</div> +<!--+ + |breadtrail + +--> +<div class="breadtrail"> + + &nbsp; + </div> +<!--+ + |start Menu, mainarea + +--> +<!--+ + |start Menu + +--> +<div id="menu"> +<div onclick="SwitchMenu('menu_1.1', 'skin/')" id="menu_1.1Title" class="menutitle">About</div> +<div id="menu_1.1" class="menuitemgroup"> +<div class="menuitem"> +<a title="" href="index.html">Index</a> +</div> +<div class="menuitem"> +<a title="" href="download.html">Download</a> +</div> +<div class="menuitem"> +<a title="" href="faq.html">FAQs</a> +</div> +<div class="menuitem"> +<a title="" href="who.html">Who we are</a> +</div> +<div class="menuitem"> +<a title="" href="todo.html">Todo</a> +</div> +<div class="menuitem"> +<a title="" href="changes.html">Changes</a> +</div> +<div class="menuitem"> +<a title="" href="history.html">History</a> +</div> +<div class="menuitem"> +<a title="" href="license.html">License</a> +</div> +</div> +<div onclick="SwitchMenu('menu_selected_1.2', 'skin/')" id="menu_selected_1.2Title" class="menutitle" style="background-image: url('skin/images/chapter_open.gif');">Getting Involved</div> +<div id="menu_selected_1.2" class="selectedmenuitemgroup" style="display: block;"> +<div class="menupage"> +<div class="menupagetitle">Contributing</div> +</div> +<div class="menuitem"> +<a title="" href="http://svn.apache.org/viewvc/xml/security/trunk/">SVN</a> +</div> +<div class="menuitem"> +<a title="" href="mail-lists.html">Mail lists</a> +</div> +</div> +<div onclick="SwitchMenu('menu_1.3', 'skin/')" id="menu_1.3Title" class="menutitle">References</div> +<div id="menu_1.3" class="menuitemgroup"> +<div class="menuitem"> +<a title="" href="http://www.w3c.org/Signature/">W3C XML DSig</a> +</div> +<div class="menuitem"> +<a title="" href="http://www.w3c.org/Encryption/">W3C XML Enc</a> +</div> +<div class="menuitem"> +<a title="" href="http://www.w3c.org/2001/XKMS/">W3C XML XKMS</a> +</div> +</div> +<div id="credit"></div> +<div id="roundbottom"> +<img style="display: none" class="corner" height="15" width="15" alt="" src="skin/images/rc-b-l-15-1body-2menu-3menu.png"></div> +<!--+ + |alternative credits + +--> +</div> +<!--+ + |end Menu + +--> +<!--+ + |start content + +--> +<div id="content"> +<div id="skinconf-txtlink"></div> +<h1>Contributing to XML-Security</h1> + +<a name="N1000D"></a><a name="Introduction"></a> +<h2 class="h3">Introduction</h2> +<div class="section"> +<p> + The XML Security Project is an + <a class="external" href="http://www.opensource.org/">Open Source</a> + volunteer project released + under a very open license. This means there are many ways to contribute to the + project - either with direct participation (coding, documenting, answering + questions, proposing ideas, reporting bugs, suggesting bug-fixes, etc..) or by + resource donations (money, time, publicity, hardware, software, conference + presentations, speeches, etc...). + </p> +<p> + To begin with, we suggest you to subscribe to the + <a href="mail-lists.html">XML-Security mailing list</a> (follow the link for + information on how to subscribe and to access the mail list archives). + Listen-in for a while, to hear how others make contributions. + </p> +<p> + You can get your local working copy of the + <a class="external" href="http://svn.apache.org/repos/asf/xml/security/trunk/">latest and + greatest code</a> (which you find in the xml/security module in the Subversion code + repository). Review the todo list, choose a task (or perhaps you have noticed + something that needs patching). Make the changes, do the testing, generate a + patch, and post to the dev mailing list. (Do not worry - the process is easy + and explained below.) + </p> +</div> + +<a name="N10029"></a><a name="Help+Wanted+Here"></a> +<h2 class="h3">Help Wanted Here</h2> +<div class="section"> +<p> + The rest of this document is mainly about contributing new or + improved code and/or documentation, but we would also be glad to have extra + help in any of the following areas: + </p> +<ul> + +<li> + Answering questions on the mailing list - there + is often a problem of having too many questioners and not enough experts to + respond to all the questions. + </li> + +<li> + Testing the package (especially its less-frequently-used features) on + various configurations and reporting back. + </li> + +<li> + Debugging - producing reproduceable test cases and/or finding + causes of bugs. Some known bugs are informally listed on To Do, and some are + recorded in Bugzilla (see <a href="#procedure">explanation + below</a>). + </li> + +<li> + Specifying/analysing/designing new features - and beyond. (If you + wish to get involved with this, please join the mailing list, install + and try out xml-security and read some of the + <a href="mail-lists.html">mail archives</a>. You should have a strong + "fluency" in XML technologies especially XMLDSig and XML Encryption, + Java or C++ and a basic understanding of the architecture of this + package. + </li> + +</ul> +</div> +<a name="cvshowto"></a> + <a name="N1004D"></a><a name="Subversion+%28SVN%29+Usage+Overview"></a> +<h2 class="h3">Subversion (SVN) Usage Overview</h2> +<div class="section"> +<p> + An overview of how to use Subversion to participate in the XML Security development. + Do not be afraid - you cannot accidently destroy the actual code repository, + because you are working with a local copy as an anonymous user. Therefore, you + do not have the system permissions to change anything. You can only update your + local repository and compare your revisions with the real repository. + </p> +<p> + (Further general Subversion usage information is at + <a class="external" href="http://subversion.tigris.org/">subversion.tigris.org</a> and your local + user documentation.) + </p> +<p> + Have a look at the <a href="Java/installation.html">Java</a> or + <a href="c/installation.html">C++</a> installation pages to see + how to get a local copy of the source. + </p> +</div> +<a name="ssh"></a> + <a name="N1006C"></a><a name="Subversion+Committer+with+HTTPS+access"></a> +<h2 class="h3">Subversion Committer with HTTPS access</h2> +<div class="section"> +<p> + After a developer has consistently provided contributions (code, + documentation and discussion), then the rest of the dev community may vote to + grant this developer commit access to SVN. + </p> +<p> + You will need secure access to the repository to be able to commit + patches. Here are some resources that help to get your machine configured to + use the repository via HTTPS. + </p> +<ul> + +<li> +<a class="external" href="http://apache.org/dev/version-control.html#https-svn">Apache Committer Subversion Access</a> +</li> + +<li> +<a class="external" href="http://svnbook.red-bean.com/">Subversion book</a> +</li> + +</ul> +</div> +<a name="procedure"></a> + <a name="N10089"></a><a name="Procedure+for+Raising+Development+Issues"></a> +<h2 class="h3">Procedure for Raising Development Issues</h2> +<div class="section"> +<p> + There are two methods for discussing development and submitting + patches. So that everyone can be productive, it is important to know which + method is appropriate for a certain situation and how to go about it without + confusion. This section explains when to use the <span class="codefrag">developer</span> + <a href="mail-lists.html">mailing list</a> the bug database. + </p> +<p> + Research your topic thoroughly before beginning to discuss a new + development issue. Search and browse through the email archives - your issue + may have been discussed before. Prepare your post clearly and + concisely. + </p> +<p> + Most issues will be discovered, resolved, and then patched quickly + via the <span class="codefrag">developer</span> mailing list. Larger issues, and ones that are + not yet fully understood or are hard to solve, are destined for + Bugzilla. + </p> +<p> + Experienced developers use Bugzilla directly, as they are very sure + when they have found a bug and when not. However, less experienced users should + first discuss it on the user or developer mailing list (as appropriate). + Impatient people always enter everything into Bugzilla without caring if it is + a bug of our package or their own installation/configuration mistake - please do + not do this. + </p> +<p> + As a rule-of-thumb, discuss an issue on the <span class="codefrag">developers</span> + mailing list first to work out any details. After it is confirmed to be + worthwhile, and you are clear about it, then submit the bug description or + patch via Bug Tracking. + </p> +<p> + Perhaps you do not get any answer on your first reply, so just post + it again until you get one. (But please not every hour - allow a few days for + the list to deal with it.) Do not be impatient - remember that the whole world + is busy, not just you. Bear in mind that other countries will have holidays at + different times to your country and that they are in different time zones. You + might also consider rewriting your initial posting - perhaps it was not clear + enough and the readers eyes glazed over. + </p> +</div> +<a name="tips"></a> + <a name="N100B2"></a><a name="Contribution+Notes+and+Tips"></a> +<h2 class="h3">Contribution Notes and Tips</h2> +<div class="section"> +<p> + This is a collection of tips for contributing to the project in a + manner that is productive for all parties. + </p> +<ul> + +<li> + Every contribution is worthwhile. Even if the ensuing discussion + proves it to be off-beam, then it may jog ideas for other people. + </li> + +<li> + Use sensible and concise email subject headings. Search engines, + and humans trying to browse a voluminous list, will respond favourably to a + descriptive title. + </li> + +<li> + Start new threads with new Subject for new topics, rather than + reusing the previous Subject line. + </li> + +<li> + Keep each topic focused. If some new topic arises then start a new + discussion. This leaves the original topic to continue uncluttered. + </li> + +<li> + Whenever you decide to start a new topic, then start with a fresh + new email message window. Do not use the "Reply to" button, because + threaded mail-readers get confused (they utilise the <span class="codefrag">In-reply-to</span> + header). If so, then your new topic will get lost in the previous thread and go + unanswered. + </li> + +<li> + Prepend your email subject line with a marker when that is + appropriate, e.g. <span class="codefrag">[Patch]</span>, <span class="codefrag">[Proposal]</span>, + <span class="codefrag">[RT]</span> (Random Thought which quickly blossom into research topics + :-), <span class="codefrag">[STATUS]</span> (development status of a certain + facility). + </li> + +<li> + When making changes to XML documentation, or any XML document for + that matter, use a <a class="external" href="http://www.oasis-open.org/cover/">validating + parser</a> (one that is tried and true is + <a class="external" href="http://openjade.sourceforge.net/">OpenSP/onsgmls</a>). This + procedure will detect errors without having to go through the whole <span class="codefrag">build + docs</span> process to find them. Do not expect Forrest or the build system to + detect the validation errors for you - they can do it, but that is not their + purpose. (Anyway, nsgmls validation error messages are more + informative.) + </li> + +<li> + Remember that most people are participating in development on a + volunteer basis and in their "spare time". These enthusiasts will attempt to + respond to issues. It may take a little while to get your answers. </li> + +<li> + Research your topic thoroughly before beginning to discuss a new + development issue. Search and browse through the email archives - your issue + may have been discussed before. Do not just perceive a problem and then rush + out with a question - instead, delve. + </li> + +<li> + Try to at least offer a partial solution and not just a problem + statement. + </li> + +<li> + Take the time to clearly explain your issue and write a concise + email message. Less confusion facilitates fast and complete + resolution. + </li> + +<li> + Do not bother to send an email reply that simply says "thanks". When + the issue is resolved, that is the finish - end of thread. Reduce clutter. + </li> + +<li> + You would usually do any development work against the HEAD branch of + CVS. + </li> + +<li> + When sending a patch, you usually do not need to worry about which + CVS branch it should be applied to. The maintainers of the repository will + decide. + </li> + +<li> + If an issue starts to get bogged down in list discussion, then it + may be appropriate to go into private off-list discussion with a few interested + other people. Spare the list from the gory details. Report a summary back to + the list to finalise the thread. + </li> + +<li> + Become familiar with the mailing lists. As you browse and search, + you will see the way other people do things. Follow the leading + examples. + </li> + +</ul> +</div> + +</div> +<!--+ + |end content + +--> +<div class="clearboth">&nbsp;</div> +</div> +<div id="footer"> +<!--+ + |start bottomstrip + +--> +<div class="lastmodified"> +<script type="text/javascript"><!-- +document.write("Last Published: " + document.lastModified); +// --></script> +</div> +<div class="copyright"> + Copyright &copy; 2002-2006 The Apache Software Foundation.</div> +<!--+ + |end bottomstrip + +--> +</div> +</body> +</html> Added: xml/site/targets/security/download.html URL: http://svn.apache.org/viewvc/xml/site/targets/security/download.html?view=auto&rev=498966 ============================================================================== --- xml/site/targets/security/download.html (added) +++ xml/site/targets/security/download.html Tue Jan 23 01:41:46 2007 @@ -0,0 +1,248 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> +<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<meta content="Apache Forrest" name="Generator"> +<meta name="Forrest-version" content="0.6"> +<meta name="Forrest-skin-name" content="pelt"> +<title>Downloading the Libraries</title> +<link type="text/css" href="skin/basic.css" rel="stylesheet"> +<link media="screen" type="text/css" href="skin/screen.css" rel="stylesheet"> +<link media="print" type="text/css" href="skin/print.css" rel="stylesheet"> +<link type="text/css" href="skin/profile.css" rel="stylesheet"> +<script src="skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="skin/fontsize.js" language="javascript" type="text/javascript"></script> +</head> +<body onload="init()"> +<script type="text/javascript">ndeSetTextSize();</script> +<div id="top"> +<!--+ + |breadtrail + +--> +<div class="breadtrail"> +<a href="http://www.apache.org/">apache</a> &gt; <a href="http://xml.apache.org/">xml.apache</a><script src="skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script> +</div> +<!--+ + |header + +--> +<div class="header"> +<!--+ + |start group logo + +--> +<div class="grouplogo"> +<a href="http:///xml.apache.org"><img class="logoImage" alt="Apache XML" src="images/group-logo.gif"></a> +</div> +<!--+ + |end group logo + +--> +<!--+ + |start Project Logo + +--> +<div class="projectlogo"> +<a href="http://xml.apache.org/security"><img class="logoImage" alt="Apache XML Security" src="images/project-logo.gif"></a> +</div> +<!--+ + |end Project Logo + +--> +<!--+ + |start Search + +--> +<div class="searchbox"> +<form action="http://www.google.com/search" method="get" class="roundtopsmall"> +<input value="xml.apache.org/security" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with google:');" value="Search the site with google:" size="25" name="q" id="query" type="text">&nbsp; + <input name="Search" value="Search" type="submit"> +</form> +</div> +<!--+ + |end search + +--> +<!--+ + |start Tabs + +--> +<ul id="tabs"> +<li class="current"> +<a class="base-selected" href="index.html">Home</a> +</li> +<li> +<a class="base-not-selected" href="Java/index.html">Java</a> +</li> +<li> +<a class="base-not-selected" href="c/index.html">C++</a> +</li> +</ul> +<!--+ + |end Tabs + +--> +</div> +</div> +<div id="main"> +<div id="publishedStrip"> +<!--+ + |start Subtabs + +--> +<div id="level2tabs"></div> +<!--+ + |end Endtabs + +--> +<script type="text/javascript" language="JavaScript"><!-- + document.write("Published: " + document.lastModified); + // --></script> +</div> +<!--+ + |breadtrail + +--> +<div class="breadtrail"> + + &nbsp; + </div> +<!--+ + |start Menu, mainarea + +--> +<!--+ + |start Menu + +--> +<div id="menu"> +<div onclick="SwitchMenu('menu_selected_1.1', 'skin/')" id="menu_selected_1.1Title" class="menutitle" style="background-image: url('skin/images/chapter_open.gif');">About</div> +<div id="menu_selected_1.1" class="selectedmenuitemgroup" style="display: block;"> +<div class="menuitem"> +<a title="" href="index.html">Index</a> +</div> +<div class="menupage"> +<div class="menupagetitle">Download</div> +</div> +<div class="menuitem"> +<a title="" href="faq.html">FAQs</a> +</div> +<div class="menuitem"> +<a title="" href="who.html">Who we are</a> +</div> +<div class="menuitem"> +<a title="" href="todo.html">Todo</a> +</div> +<div class="menuitem"> +<a title="" href="changes.html">Changes</a> +</div> +<div class="menuitem"> +<a title="" href="history.html">History</a> +</div> +<div class="menuitem"> +<a title="" href="license.html">License</a> +</div> +</div> +<div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" class="menutitle">Getting Involved</div> +<div id="menu_1.2" class="menuitemgroup"> +<div class="menuitem"> +<a title="" href="contrib.html">Contributing</a> +</div> +<div class="menuitem"> +<a title="" href="http://svn.apache.org/viewvc/xml/security/trunk/">SVN</a> +</div> +<div class="menuitem"> +<a title="" href="mail-lists.html">Mail lists</a> +</div> +</div> +<div onclick="SwitchMenu('menu_1.3', 'skin/')" id="menu_1.3Title" class="menutitle">References</div> +<div id="menu_1.3" class="menuitemgroup"> +<div class="menuitem"> +<a title="" href="http://www.w3c.org/Signature/">W3C XML DSig</a> +</div> +<div class="menuitem"> +<a title="" href="http://www.w3c.org/Encryption/">W3C XML Enc</a> +</div> +<div class="menuitem"> +<a title="" href="http://www.w3c.org/2001/XKMS/">W3C XML XKMS</a> +</div> +</div> +<div id="credit"></div> +<div id="roundbottom"> +<img style="display: none" class="corner" height="15" width="15" alt="" src="skin/images/rc-b-l-15-1body-2menu-3menu.png"></div> +<!--+ + |alternative credits + +--> +</div> +<!--+ + |end Menu + +--> +<!--+ + |start content + +--> +<div id="content"> +<div id="skinconf-txtlink"></div> +<h1>Downloading the Libraries</h1> + +<a name="N1000D"></a><a name="Obtaining+the+Libraries"></a> +<h2 class="h3">Obtaining the Libraries</h2> +<div class="section"> +<p> + Source and binary distributions for both the Java and C++ libraries + are available from from the + <a target="_top" href="http://xml.apache.org/security/dist/"> + XML project site</a> only. Current + distributions are <em>not</em> available from the mirrors. + </p> +</div> + +<a name="N1001E"></a><a name="Validating+Distribution+Signatures"></a> +<h2 class="h3">Validating Distribution Signatures</h2> +<div class="section"> +<p> + All distributions are provided with signature <em>.sig</em> files. + These contain PGP signatures for the related distribution. + You should validate these using the keys found in the + <a class="external" href="http://www.apache.org/dist/xml/security/KEYS"> + key file</a> downloaded from the Apache site. + </p> +<p></p> +<p> + Verification can be performed using : + </p> +<pre class="code"> +% pgpk -a KEYS +% pgpv xml-security-bin-1_2_1.zip.sig + <em>or</em> +% pgp -ka KEYS +% pgp xml-security-bin-1_2_1.zip.sig + <em>or</em> +% gpg --import KEYS +% gpg --verify xml-security-bin-1_2_1.zip.sig + </pre> +</div> + +<a name="N10040"></a><a name="SVN+Download"></a> +<h2 class="h3">SVN Download</h2> +<div class="section"> +<p> + For the adventurous, this project's SVN repository can be checked + out through anonymous SVN with the following instruction + set. + </p> +<pre class="code">svn co https://svn.apache.org/repos/asf/xml/security/trunk xml-security</pre> +<p> + This will check out the code into a subdirectory named + "xml-security". The checkout will contain both the Java and + the C++ source. + </p> +</div> + +</div> +<!--+ + |end content + +--> +<div class="clearboth">&nbsp;</div> +</div> +<div id="footer"> +<!--+ + |start bottomstrip + +--> +<div class="lastmodified"> +<script type="text/javascript"><!-- +document.write("Last Published: " + document.lastModified); +// --></script> +</div> +<div class="copyright"> + Copyright &copy; 2002-2006 The Apache Software Foundation.</div> +<!--+ + |end bottomstrip + +--> +</div> +</body> +</html> Added: xml/site/targets/security/faq.html URL: http://svn.apache.org/viewvc/xml/site/targets/security/faq.html?view=auto&rev=498966 ============================================================================== --- xml/site/targets/security/faq.html (added) +++ xml/site/targets/security/faq.html Tue Jan 23 01:41:46 2007 @@ -0,0 +1,355 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> +<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<meta content="Apache Forrest" name="Generator"> +<meta name="Forrest-version" content="0.6"> +<meta name="Forrest-skin-name" content="pelt"> +<title>Frequently Asked Questions</title> +<link type="text/css" href="skin/basic.css" rel="stylesheet"> +<link media="screen" type="text/css" href="skin/screen.css" rel="stylesheet"> +<link media="print" type="text/css" href="skin/print.css" rel="stylesheet"> +<link type="text/css" href="skin/profile.css" rel="stylesheet"> +<script src="skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="skin/fontsize.js" language="javascript" type="text/javascript"></script> +</head> +<body onload="init()"> +<script type="text/javascript">ndeSetTextSize();</script> +<div id="top"> +<!--+ + |breadtrail + +--> +<div class="breadtrail"> +<a href="http://www.apache.org/">apache</a> &gt; <a href="http://xml.apache.org/">xml.apache</a><script src="skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script> +</div> +<!--+ + |header + +--> +<div class="header"> +<!--+ + |start group logo + +--> +<div class="grouplogo"> +<a href="http:///xml.apache.org"><img class="logoImage" alt="Apache XML" src="images/group-logo.gif"></a> +</div> +<!--+ + |end group logo + +--> +<!--+ + |start Project Logo + +--> +<div class="projectlogo"> +<a href="http://xml.apache.org/security"><img class="logoImage" alt="Apache XML Security" src="images/project-logo.gif"></a> +</div> +<!--+ + |end Project Logo + +--> +<!--+ + |start Search + +--> +<div class="searchbox"> +<form action="http://www.google.com/search" method="get" class="roundtopsmall"> +<input value="xml.apache.org/security" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with google:');" value="Search the site with google:" size="25" name="q" id="query" type="text">&nbsp; + <input name="Search" value="Search" type="submit"> +</form> +</div> +<!--+ + |end search + +--> +<!--+ + |start Tabs + +--> +<ul id="tabs"> +<li class="current"> +<a class="base-selected" href="index.html">Home</a> +</li> +<li> +<a class="base-not-selected" href="Java/index.html">Java</a> +</li> +<li> +<a class="base-not-selected" href="c/index.html">C++</a> +</li> +</ul> +<!--+ + |end Tabs + +--> +</div> +</div> +<div id="main"> +<div id="publishedStrip"> +<!--+ + |start Subtabs + +--> +<div id="level2tabs"></div> +<!--+ + |end Endtabs + +--> +<script type="text/javascript" language="JavaScript"><!-- + document.write("Published: " + document.lastModified); + // --></script> +</div> +<!--+ + |breadtrail + +--> +<div class="breadtrail"> + + &nbsp; + </div> +<!--+ + |start Menu, mainarea + +--> +<!--+ + |start Menu + +--> +<div id="menu"> +<div onclick="SwitchMenu('menu_selected_1.1', 'skin/')" id="menu_selected_1.1Title" class="menutitle" style="background-image: url('skin/images/chapter_open.gif');">About</div> +<div id="menu_selected_1.1" class="selectedmenuitemgroup" style="display: block;"> +<div class="menuitem"> +<a title="" href="index.html">Index</a> +</div> +<div class="menuitem"> +<a title="" href="download.html">Download</a> +</div> +<div class="menupage"> +<div class="menupagetitle">FAQs</div> +</div> +<div class="menuitem"> +<a title="" href="who.html">Who we are</a> +</div> +<div class="menuitem"> +<a title="" href="todo.html">Todo</a> +</div> +<div class="menuitem"> +<a title="" href="changes.html">Changes</a> +</div> +<div class="menuitem"> +<a title="" href="history.html">History</a> +</div> +<div class="menuitem"> +<a title="" href="license.html">License</a> +</div> +</div> +<div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" class="menutitle">Getting Involved</div> +<div id="menu_1.2" class="menuitemgroup"> +<div class="menuitem"> +<a title="" href="contrib.html">Contributing</a> +</div> +<div class="menuitem"> +<a title="" href="http://svn.apache.org/viewvc/xml/security/trunk/">SVN</a> +</div> +<div class="menuitem"> +<a title="" href="mail-lists.html">Mail lists</a> +</div> +</div> +<div onclick="SwitchMenu('menu_1.3', 'skin/')" id="menu_1.3Title" class="menutitle">References</div> +<div id="menu_1.3" class="menuitemgroup"> +<div class="menuitem"> +<a title="" href="http://www.w3c.org/Signature/">W3C XML DSig</a> +</div> +<div class="menuitem"> +<a title="" href="http://www.w3c.org/Encryption/">W3C XML Enc</a> +</div> +<div class="menuitem"> +<a title="" href="http://www.w3c.org/2001/XKMS/">W3C XML XKMS</a> +</div> +</div> +<div id="credit"></div> +<div id="roundbottom"> +<img style="display: none" class="corner" height="15" width="15" alt="" src="skin/images/rc-b-l-15-1body-2menu-3menu.png"></div> +<!--+ + |alternative credits + +--> +</div> +<!--+ + |end Menu + +--> +<!--+ + |start content + +--> +<div id="content"> +<div id="skinconf-txtlink"></div> +<h1>Frequently Asked Questions</h1> +<a name="N10008"></a><a name="Questions"></a> +<h2 class="h3">Questions</h2> +<div class="section"> +<a name="N1000C"></a><a name="mailinglist"></a> +<h3 class="h4">1. Mailinglist</h3> +<a name="N10010"></a><a name="archive"></a> +<h4 class="faq">1.1. + Where's the archive for the list? + </h4> +<div align="right"> +<a href="#archive-menu">^</a> +</div> +<div style="margin-left: 15px"> +<p> + Currently, <a class="external" href="http://news.gmane.org/thread.php?group=gmane.text.xml.security.devel">Gmane</a> holds the messages + of the last two weeks. This service also makes the mailinglist + reachable with a news reader. + </p> +<p> + You can use the ezmlm mailing list controller to recieve previous + messages by email. Send an empty email to <a href="mailto:security-dev-help.at.xml.apache.org">[email protected]</a> for detailed information on how + to use this service + </p> +</div> +<a name="N10023"></a><a name="general"></a> +<h3 class="h4">2. Required background</h3> +<a name="N10027"></a><a name="XML-general"></a> +<h4 class="faq">2.1. + Where can I learn about XML? + </h4> +<div align="right"> +<a href="#XML-general-menu">^</a> +</div> +<div style="margin-left: 15px"> +<p> + There are plenty of resources on the web, just use any search + engine. You might start at <a class="external" href="http://www.ucc.ie/xml/">XMLFAQ</a> or <a class="external" href="http://www.zvon.org/">ZVON</a>. + </p> +</div> +<a name="N10037"></a><a name="XMLDSig"></a> +<h4 class="faq">2.2. + Where can I learn about XML Digital Signatures? + </h4> +<div align="right"> +<a href="#XMLDSig-menu">^</a> +</div> +<div style="margin-left: 15px"> +<p> + The best place to start is <a class="external" href="http://www.w3c.org/Signature"> W3C XML-Signature Syntax and Processing </a>. Links on XML + security in general can be found on <a class="external" href="http://www.nue.et-inf.uni-siegen.de/~geuer-pollmann/xml_security.html">The XML Security Page </a>. + </p> +</div> +<a name="N10047"></a><a name="XMLEnc"></a> +<h4 class="faq">2.3. + Where can I learn about XML Encryption? + </h4> +<div align="right"> +<a href="#XMLEnc-menu">^</a> +</div> +<div style="margin-left: 15px"> +<p> + The best place to start is <a class="external" href="http://www.w3c.org/Encryption">W3C XML Encryption Syntax and Processing</a>. Links on XML + security in general can be found on <a class="external" href="http://www.nue.et-inf.uni-siegen.de/~geuer-pollmann/xml_security.html">The XML Security Page</a>. + </p> +</div> +<a name="N10057"></a><a name="Crypto"></a> +<h4 class="faq">2.4. + Where can I learn about Cryptography in general? + </h4> +<div align="right"> +<a href="#Crypto-menu">^</a> +</div> +<div style="margin-left: 15px"> +<p> + A lot of resources exist on the web, including the 'green bible' for + cryptography: <a class="external" href="http://www.cacr.math.uwaterloo.ca/hac/">Handbook of Applied Cryptography</a>. The Handbook of Applied Cryptography is completely online and + it should satisfy most of your cryptographic hunger. Disadvantage of + it is that it goes rather deep, so it isn't a executive overview or a + "Learn XYZ in 21 days"-book + </p> +</div> +<a name="N10063"></a><a name="xmldsig"></a> +<h3 class="h4">3. XMLDSig questions</h3> +<a name="N10067"></a><a name="env-transf"></a> +<h4 class="faq">3.1. + What is the enveloped transform? + </h4> +<div align="right"> +<a href="#env-transf-menu">^</a> +</div> +<div style="margin-left: 15px"> +<p> + The enveloped transform is a special transform that enables the use of + so-called enveloped signatures. + </p> +<p> + Enveloped signatures are signatures over an entire XML document, for + which the <span class="codefrag">&lt;Signature&gt;</span> element is included in the + document itself. An example could be: + </p> +<pre class="code"> +&lt;?xml version="1.0" encoding="UTF-8"?&gt; + &lt;Root&gt; + &lt;SomeContent&gt; + ... + &lt;/SomeContent&gt;<em> + &lt;ds:Signature&gt; + &lt;ds:SignedInfo&gt; + &lt;ds:Reference URI=""&gt; + &lt;ds:Transforms&gt; + &lt;ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/&gt; + &lt;/ds:Transforms&gt; + &lt;/ds:Reference&gt; + &lt;/ds:SignedInfo&gt; + .... + &lt;/ds:Signature&gt;</em> + &lt;/Root&gt; + </pre> +<p> + The <span class="codefrag">Reference</span> indicates that <span class="codefrag">Root</span> and it's + descendants (except for comments) are signed, but the + <span class="codefrag">Transform</span> element says to throw out the + <span class="codefrag">Signature</span> element (that is the parent of this + <span class="codefrag">Reference</span>) from the stream that is to be signed. Note + that if there are other + <span class="codefrag">Signature</span> elements in <span class="codefrag">Root</span>, they will remain + untouched. + </p> +</div> +<a name="N10094"></a><a name="c14N"></a> +<h4 class="faq">3.2. + What's the difference between C14N and ExclC14N? + </h4> +<div align="right"> +<a href="#c14N-menu">^</a> +</div> +<div style="margin-left: 15px"> +<p> + C14N was introduced to solve some problems that arise when signing + XML. Because XML allows to change the representation of an XML document + without changing the actual content, signatures may break when + different parsers are used to generate and verify the signature. A simple + example of such an allowed change is changing the order of attributes + within an element. (That is solved by C14N by sorting the attributes by + alphabet) + </p> +<p> + Because a C14N'ed XML fragment inherits all the namespace declarations + from it's ancestors, it is not possible to embed a signed XML fragment + into a document that has other namespace declarations. + </p> +<p> + This is solved by ExclC14N. ExclC14N takes extra information as input + in which you can specify which of the ancestor's namespaces should be + included. + </p> +<p> + For more information on this topic, have a look at the C14N and + ExclC14N sections of the <a class="external" href="http://www.w3c.org/Signature">W3C XMLDSig WG</a>. + </p> +</div> +</div> +</div> +<!--+ + |end content + +--> +<div class="clearboth">&nbsp;</div> +</div> +<div id="footer"> +<!--+ + |start bottomstrip + +--> +<div class="lastmodified"> +<script type="text/javascript"><!-- +document.write("Last Published: " + document.lastModified); +// --></script> +</div> +<div class="copyright"> + Copyright &copy; 2002-2006 The Apache Software Foundation.</div> +<!--+ + |end bottomstrip + +--> +</div> +</body> +</html> Added: xml/site/targets/security/history.html URL: http://svn.apache.org/viewvc/xml/site/targets/security/history.html?view=auto&rev=498966 ============================================================================== --- xml/site/targets/security/history.html (added) +++ xml/site/targets/security/history.html Tue Jan 23 01:41:46 2007 @@ -0,0 +1,239 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> +<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<meta content="Apache Forrest" name="Generator"> +<meta name="Forrest-version" content="0.6"> +<meta name="Forrest-skin-name" content="pelt"> +<title>XML Security History</title> +<link type="text/css" href="skin/basic.css" rel="stylesheet"> +<link media="screen" type="text/css" href="skin/screen.css" rel="stylesheet"> +<link media="print" type="text/css" href="skin/print.css" rel="stylesheet"> +<link type="text/css" href="skin/profile.css" rel="stylesheet"> +<script src="skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="skin/fontsize.js" language="javascript" type="text/javascript"></script> +</head> +<body onload="init()"> +<script type="text/javascript">ndeSetTextSize();</script> +<div id="top"> +<!--+ + |breadtrail + +--> +<div class="breadtrail"> +<a href="http://www.apache.org/">apache</a> &gt; <a href="http://xml.apache.org/">xml.apache</a><script src="skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script> +</div> +<!--+ + |header + +--> +<div class="header"> +<!--+ + |start group logo + +--> +<div class="grouplogo"> +<a href="http:///xml.apache.org"><img class="logoImage" alt="Apache XML" src="images/group-logo.gif"></a> +</div> +<!--+ + |end group logo + +--> +<!--+ + |start Project Logo + +--> +<div class="projectlogo"> +<a href="http://xml.apache.org/security"><img class="logoImage" alt="Apache XML Security" src="images/project-logo.gif"></a> +</div> +<!--+ + |end Project Logo + +--> +<!--+ + |start Search + +--> +<div class="searchbox"> +<form action="http://www.google.com/search" method="get" class="roundtopsmall"> +<input value="xml.apache.org/security" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with google:');" value="Search the site with google:" size="25" name="q" id="query" type="text">&nbsp; + <input name="Search" value="Search" type="submit"> +</form> +</div> +<!--+ + |end search + +--> +<!--+ + |start Tabs + +--> +<ul id="tabs"> +<li class="current"> +<a class="base-selected" href="index.html">Home</a> +</li> +<li> +<a class="base-not-selected" href="Java/index.html">Java</a> +</li> +<li> +<a class="base-not-selected" href="c/index.html">C++</a> +</li> +</ul> +<!--+ + |end Tabs + +--> +</div> +</div> +<div id="main"> +<div id="publishedStrip"> +<!--+ + |start Subtabs + +--> +<div id="level2tabs"></div> +<!--+ + |end Endtabs + +--> +<script type="text/javascript" language="JavaScript"><!-- + document.write("Published: " + document.lastModified); + // --></script> +</div> +<!--+ + |breadtrail + +--> +<div class="breadtrail"> + + &nbsp; + </div> +<!--+ + |start Menu, mainarea + +--> +<!--+ + |start Menu + +--> +<div id="menu"> +<div onclick="SwitchMenu('menu_selected_1.1', 'skin/')" id="menu_selected_1.1Title" class="menutitle" style="background-image: url('skin/images/chapter_open.gif');">About</div> +<div id="menu_selected_1.1" class="selectedmenuitemgroup" style="display: block;"> +<div class="menuitem"> +<a title="" href="index.html">Index</a> +</div> +<div class="menuitem"> +<a title="" href="download.html">Download</a> +</div> +<div class="menuitem"> +<a title="" href="faq.html">FAQs</a> +</div> +<div class="menuitem"> +<a title="" href="who.html">Who we are</a> +</div> +<div class="menuitem"> +<a title="" href="todo.html">Todo</a> +</div> +<div class="menuitem"> +<a title="" href="changes.html">Changes</a> +</div> +<div class="menupage"> +<div class="menupagetitle">History</div> +</div> +<div class="menuitem"> +<a title="" href="license.html">License</a> +</div> +</div> +<div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" class="menutitle">Getting Involved</div> +<div id="menu_1.2" class="menuitemgroup"> +<div class="menuitem"> +<a title="" href="contrib.html">Contributing</a> +</div> +<div class="menuitem"> +<a title="" href="http://svn.apache.org/viewvc/xml/security/trunk/">SVN</a> +</div> +<div class="menuitem"> +<a title="" href="mail-lists.html">Mail lists</a> +</div> +</div> +<div onclick="SwitchMenu('menu_1.3', 'skin/')" id="menu_1.3Title" class="menutitle">References</div> +<div id="menu_1.3" class="menuitemgroup"> +<div class="menuitem"> +<a title="" href="http://www.w3c.org/Signature/">W3C XML DSig</a> +</div> +<div class="menuitem"> +<a title="" href="http://www.w3c.org/Encryption/">W3C XML Enc</a> +</div> +<div class="menuitem"> +<a title="" href="http://www.w3c.org/2001/XKMS/">W3C XML XKMS</a> +</div> +</div> +<div id="credit"></div> +<div id="roundbottom"> +<img style="display: none" class="corner" height="15" width="15" alt="" src="skin/images/rc-b-l-15-1body-2menu-3menu.png"></div> +<!--+ + |alternative credits + +--> +</div> +<!--+ + |end Menu + +--> +<!--+ + |start content + +--> +<div id="content"> +<div id="skinconf-txtlink"></div> +<h1>XML Security History</h1> + +<a name="N1000D"></a><a name="The+%3CWebSig%3E+project"></a> +<h2 class="h3">The &lt;WebSig&gt; project</h2> +<div class="section"> +<p> + In mid-1999, the <a class="external" href="http://www.nue.et-inf.uni-siegen.de/">Institute for Data + Communications Systems</a> at the <a class="external" href="http://www.uni-siegen.de/">University of Siegen</a> in + Germany looked for partners to participate in a European project for + implementing the upcoming <a class="external" href="http://www.w3c.org/Signature">XML Signature + standard</a>. We found our partners in the companies <a class="external" href="http://www.expnet.gr/">Expertnet S.A.</a> and <a class="external" href="http://www.proodos.gr/">PROODOS S.A.</a>, both from Athens, + who were willing to use our XML Signature library in a first commercial + project. + </p> +<p> + The project started in January 2000 and ended up in September 2001. 50% + of the costs have been funded by the European Commission in the <a class="external" href="http://www.ispo.cec.be/isis/99websig.htm">ISIS + programme</a>. Goal was to develop a JAVA library for creating and + validating XML Signatures and to make the binaries of this software + freely available. + </p> +<p>In September 2001, the Institute for Data Communications Systems decided to + make the sources freely available, too, to promote the use of digital + signatures and to give XML Signature a spin. The decision was made to + give the complete library (including an implementation of "Canonical + XML" and "XML Signature") under the hood of the Apache Software + Foundation to ensure availablility of the source and to enable other + people to use it under the Apache License. + </p> +</div> + +<a name="N10035"></a><a name="XML+Encryption+in+Java"></a> +<h2 class="h3">XML Encryption in Java</h2> +<div class="section"> +<p>A beta implementation of XML Encryption was first included in + version 1.1 of the Java library.</p> +</div> + +<a name="N1003F"></a><a name="The+C%2B%2B+Library"></a> +<h2 class="h3">The C++ Library</h2> +<div class="section"> +<p>The C++ library is a much more recent addition to the XML-Security + project. It started out on <a class="external" href="http://www.sourceforge.net"> + Sourceforge</a> and was migrated into XML Security in early 2003. + </p> +</div> + +</div> +<!--+ + |end content + +--> +<div class="clearboth">&nbsp;</div> +</div> +<div id="footer"> +<!--+ + |start bottomstrip + +--> +<div class="lastmodified"> +<script type="text/javascript"><!-- +document.write("Last Published: " + document.lastModified); +// --></script> +</div> +<div class="copyright"> + Copyright &copy; 2002-2006 The Apache Software Foundation.</div> +<!--+ + |end bottomstrip + +--> +</div> +</body> +</html> Added: xml/site/targets/security/index.html URL: http://svn.apache.org/viewvc/xml/site/targets/security/index.html?view=auto&rev=498966 ============================================================================== --- xml/site/targets/security/index.html (added) +++ xml/site/targets/security/index.html Tue Jan 23 01:41:46 2007 @@ -0,0 +1,379 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> +<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<meta content="Apache Forrest" name="Generator"> +<meta name="Forrest-version" content="0.6"> +<meta name="Forrest-skin-name" content="pelt"> +<title>Welcome to XML Security</title> +<link type="text/css" href="skin/basic.css" rel="stylesheet"> +<link media="screen" type="text/css" href="skin/screen.css" rel="stylesheet"> +<link media="print" type="text/css" href="skin/print.css" rel="stylesheet"> +<link type="text/css" href="skin/profile.css" rel="stylesheet"> +<script src="skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="skin/fontsize.js" language="javascript" type="text/javascript"></script> +</head> +<body onload="init()"> +<script type="text/javascript">ndeSetTextSize();</script> +<div id="top"> +<!--+ + |breadtrail + +--> +<div class="breadtrail"> +<a href="http://www.apache.org/">apache</a> &gt; <a href="http://xml.apache.org/">xml.apache</a><script src="skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script> +</div> +<!--+ + |header + +--> +<div class="header"> +<!--+ + |start group logo + +--> +<div class="grouplogo"> +<a href="http:///xml.apache.org"><img class="logoImage" alt="Apache XML" src="images/group-logo.gif"></a> +</div> +<!--+ + |end group logo + +--> +<!--+ + |start Project Logo + +--> +<div class="projectlogo"> +<a href="http://xml.apache.org/security"><img class="logoImage" alt="Apache XML Security" src="images/project-logo.gif"></a> +</div> +<!--+ + |end Project Logo + +--> +<!--+ + |start Search + +--> +<div class="searchbox"> +<form action="http://www.google.com/search" method="get" class="roundtopsmall"> +<input value="xml.apache.org/security" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with google:');" value="Search the site with google:" size="25" name="q" id="query" type="text">&nbsp; + <input name="Search" value="Search" type="submit"> +</form> +</div> +<!--+ + |end search + +--> +<!--+ + |start Tabs + +--> +<ul id="tabs"> +<li class="current"> +<a class="base-selected" href="index.html">Home</a> +</li> +<li> +<a class="base-not-selected" href="Java/index.html">Java</a> +</li> +<li> +<a class="base-not-selected" href="c/index.html">C++</a> +</li> +</ul> +<!--+ + |end Tabs + +--> +</div> +</div> +<div id="main"> +<div id="publishedStrip"> +<!--+ + |start Subtabs + +--> +<div id="level2tabs"></div> +<!--+ + |end Endtabs + +--> +<script type="text/javascript" language="JavaScript"><!-- + document.write("Published: " + document.lastModified); + // --></script> +</div> +<!--+ + |breadtrail + +--> +<div class="breadtrail"> + + &nbsp; + </div> +<!--+ + |start Menu, mainarea + +--> +<!--+ + |start Menu + +--> +<div id="menu"> +<div onclick="SwitchMenu('menu_selected_1.1', 'skin/')" id="menu_selected_1.1Title" class="menutitle" style="background-image: url('skin/images/chapter_open.gif');">About</div> +<div id="menu_selected_1.1" class="selectedmenuitemgroup" style="display: block;"> +<div class="menupage"> +<div class="menupagetitle">Index</div> +</div> +<div class="menuitem"> +<a title="" href="download.html">Download</a> +</div> +<div class="menuitem"> +<a title="" href="faq.html">FAQs</a> +</div> +<div class="menuitem"> +<a title="" href="who.html">Who we are</a> +</div> +<div class="menuitem"> +<a title="" href="todo.html">Todo</a> +</div> +<div class="menuitem"> +<a title="" href="changes.html">Changes</a> +</div> +<div class="menuitem"> +<a title="" href="history.html">History</a> +</div> +<div class="menuitem"> +<a title="" href="license.html">License</a> +</div> +</div> +<div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" class="menutitle">Getting Involved</div> +<div id="menu_1.2" class="menuitemgroup"> +<div class="menuitem"> +<a title="" href="contrib.html">Contributing</a> +</div> +<div class="menuitem"> +<a title="" href="http://svn.apache.org/viewvc/xml/security/trunk/">SVN</a> +</div> +<div class="menuitem"> +<a title="" href="mail-lists.html">Mail lists</a> +</div> +</div> +<div onclick="SwitchMenu('menu_1.3', 'skin/')" id="menu_1.3Title" class="menutitle">References</div> +<div id="menu_1.3" class="menuitemgroup"> +<div class="menuitem"> +<a title="" href="http://www.w3c.org/Signature/">W3C XML DSig</a> +</div> +<div class="menuitem"> +<a title="" href="http://www.w3c.org/Encryption/">W3C XML Enc</a> +</div> +<div class="menuitem"> +<a title="" href="http://www.w3c.org/2001/XKMS/">W3C XML XKMS</a> +</div> +</div> +<div id="credit"></div> +<div id="roundbottom"> +<img style="display: none" class="corner" height="15" width="15" alt="" src="skin/images/rc-b-l-15-1body-2menu-3menu.png"></div> +<!--+ + |alternative credits + +--> +</div> +<!--+ + |end Menu + +--> +<!--+ + |start content + +--> +<div id="content"> +<div id="skinconf-txtlink"></div> +<h1>Welcome to XML Security</h1> + +<a name="N1000D"></a><a name="News"></a> +<h2 class="h3">News</h2> +<div class="section"> +<a name="N10013"></a><a name="January+2007"></a> +<h3 class="h4">January 2007</h3> +<p> + Version 1.4 of the Java library has been released. + The main changes for this version are: + </p> +<ul> + +<li>Implementation of the standard API JSR105</li> + +<li>Rewritten c14n that increase performance for signature + with node-set transformations.</li> + +<li>Memory footprint reduction and several bugfixes</li> + +</ul> +<p> Refer to the + <a href="changes.html">changelog</a> for more information. + </p> +<a name="N10032"></a><a name="September+2006"></a> +<h3 class="h4">September 2006</h3> +<p> + Version 1.3 of the C++ library has been released. This release + features performance improvements and a complete message set + for XKMS. + <a href="changes.html">changelog</a> for more information. + </p> +<a name="N10040"></a><a name="October+2005"></a> +<h3 class="h4">October 2005</h3> +<p> + Version 1.3 of the Java library has been released. + This version provides : + </p> +<ul> + +<li>Better speed &amp; memory utilization.</li> + +<li>Bug fixes.</li> + +</ul> +<p>See the + <a href="changes.html">changelog</a> for more information. + </p> +<a name="N1005A"></a><a name="July+2005"></a> +<h3 class="h4">July 2005</h3> +<p> + Version 1.2.1 of the C++ library has been released. This minor + release fixes versioning problems in the Windows project files. See the + <a href="changes.html">changelog</a> for more information. + </p> +<a name="N10068"></a><a name="June+2005"></a> +<h3 class="h4">June 2005</h3> +<p> + Version 1.2 of the C++ library has been released. + This version includes a number of bug fixes, together with + a beta release of code to process and generate XKMS messages. + See the + <a href="changes.html">changelog</a> for more information. + </p> +<a name="N10076"></a><a name="February+2005"></a> +<h3 class="h4">February 2005</h3> +<p> + Version 1.2.1 of the Java library has been released. + This is a bugfix version, for more detail information see the + <a href="changes.html">changelog</a>. + </p> +<a name="N10084"></a><a name="December+2004"></a> +<h3 class="h4">December 2004</h3> +<p> + Version 1.2 of the Java library has been released. + This version provides : + </p> +<ul> + +<li>Better speed &amp; memory utilization.</li> + +<li>Easier JCE integration.</li> + +</ul> +<a name="N10097"></a><a name="April+2004"></a> +<h3 class="h4">April 2004</h3> +<p> + Version 1.1 of the Java library has been released. + This version provides : + </p> +<ul> + +<li>Beta implementation of XML Encryption</li> + +<li>Bug fixes to Signature implementation</li> + +</ul> +<a name="N100AA"></a><a name="March+2004"></a> +<h3 class="h4">March 2004</h3> +<p> + Version 1.1 of the C++ library has been released. Supporting + Xerces 2.5, 2.4 and 2.3 together with Xalan 1.6 and 1.7, this + version provides : + </p> +<ul> + +<li>Beta implementation of XML Encryption</li> + +<li>Improved support for Windows Crypto API</li> + +<li>Bug fixes to Signature implementation</li> + +</ul> +<a name="N100C0"></a><a name="August+2003"></a> +<h3 class="h4">August 2003</h3> +<p> + Version 1.00 of the C++ library is now released. This is the first + stable release of the library. Functionality is still fairly basic, + but all mandatory parts of the the DSIG standard are implemented. + </p> +<p> + This version supports Xerces 2.2 and 2.3 and Xalan 1.6. + </p> +<a name="N100CD"></a><a name="May+2003"></a> +<h3 class="h4">May 2003</h3> +<p> + The Beta 0.20 of the C++ library has now been released. Features: + </p> +<ul> + +<li>Ability to use the Windows Crypto API as a crypto provider</li> + +<li>Several minor bug fixes in transforms and UNIX build process</li> + +</ul> +<a name="N100E0"></a><a name="February+2003"></a> +<h3 class="h4">February 2003</h3> +<p> + The site has now been re-built using the new xml.apache.org standard, + using Forrest. + </p> +</div> + +<a name="N100EB"></a><a name="The+Project"></a> +<h2 class="h3">The Project</h2> +<div class="section"> +<p> + The XML Security project is aimed at providing implementation of + security standards for XML. Currently the focus is on the W3C + standards : + </p> +<ul> + +<li> +<a class="external" href="http://www.w3.org/Signature/"> + XML-Signature Syntax and Processing; and</a> + +</li> + +<li> +<a class="external" href="http://www.w3.org/Encryption/2001/"> + XML Encryption Syntax and Processing.</a> +</li> + +</ul> +<p> + Once these are implemented, + <a class="external" href="http://www.w3.org/2001/XKMS">XML Key Management</a> + is likely to be the next focus for the project. + </p> +<p> + Two libraries are currently available. + </p> +<ol> + +<li>A Java library, which includes a mature Digital Signature + implementation. Encryption is currently under development.</li> + +<li>A C++ library is also now available. Functionality is currently + more basic than that provided by the Java library.</li> + +</ol> +</div> + +</div> +<!--+ + |end content + +--> +<div class="clearboth">&nbsp;</div> +</div> +<div id="footer"> +<!--+ + |start bottomstrip + +--> +<div class="lastmodified"> +<script type="text/javascript"><!-- +document.write("Last Published: " + document.lastModified); +// --></script> +</div> +<div class="copyright"> + Copyright &copy; 2002-2006 The Apache Software Foundation.</div> +<div id="logos"> +<a href="http://validator.w3.org/check/referer"><img style="height: 31px; width: 88px;" title="Valid HTML 4.01!" alt="Valid HTML 4.01!" src="skin/images/valid-html401.png" class="logoImage"></a><a href="http://jigsaw.w3.org/css-validator/"><img style="height: 31px; width: 88px;" title="Valid CSS!" alt="Valid CSS!" src="skin/images/vcss.png" class="logoImage"></a><a href="http://xml.apache.org/forrest/"><img border="0" title="Built with Apache Forrest" alt="Built with Apache Forrest - logo" src="images/built-with-forrest-button.png" style="width: 88px;height: 31px;"></a> +</div> +<!--+ + |end bottomstrip + +--> +</div> +</body> +</html> Added: xml/site/targets/security/license.html URL: http://svn.apache.org/viewvc/xml/site/targets/security/license.html?view=auto&rev=498966 ============================================================================== --- xml/site/targets/security/license.html (added) +++ xml/site/targets/security/license.html Tue Jan 23 01:41:46 2007 @@ -0,0 +1,398 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> +<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<meta content="Apache Forrest" name="Generator"> +<meta name="Forrest-version" content="0.6"> +<meta name="Forrest-skin-name" content="pelt"> +<title>The Apache Software License, Version 2.0</title> +<link type="text/css" href="skin/basic.css" rel="stylesheet"> +<link media="screen" type="text/css" href="skin/screen.css" rel="stylesheet"> +<link media="print" type="text/css" href="skin/print.css" rel="stylesheet"> +<link type="text/css" href="skin/profile.css" rel="stylesheet"> +<script src="skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="skin/fontsize.js" language="javascript" type="text/javascript"></script> +</head> +<body onload="init()"> +<script type="text/javascript">ndeSetTextSize();</script> +<div id="top"> +<!--+ + |breadtrail + +--> +<div class="breadtrail"> +<a href="http://www.apache.org/">apache</a> &gt; <a href="http://xml.apache.org/">xml.apache</a><script src="skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script> +</div> +<!--+ + |header + +--> +<div class="header"> +<!--+ + |start group logo + +--> +<div class="grouplogo"> +<a href="http:///xml.apache.org"><img class="logoImage" alt="Apache XML" src="images/group-logo.gif"></a> +</div> +<!--+ + |end group logo + +--> +<!--+ + |start Project Logo + +--> +<div class="projectlogo"> +<a href="http://xml.apache.org/security"><img class="logoImage" alt="Apache XML Security" src="images/project-logo.gif"></a> +</div> +<!--+ + |end Project Logo + +--> +<!--+ + |start Search + +--> +<div class="searchbox"> +<form action="http://www.google.com/search" method="get" class="roundtopsmall"> +<input value="xml.apache.org/security" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with google:');" value="Search the site with google:" size="25" name="q" id="query" type="text">&nbsp; + <input name="Search" value="Search" type="submit"> +</form> +</div> +<!--+ + |end search + +--> +<!--+ + |start Tabs + +--> +<ul id="tabs"> +<li class="current"> +<a class="base-selected" href="index.html">Home</a> +</li> +<li> +<a class="base-not-selected" href="Java/index.html">Java</a> +</li> +<li> +<a class="base-not-selected" href="c/index.html">C++</a> +</li> +</ul> +<!--+ + |end Tabs + +--> +</div> +</div> +<div id="main"> +<div id="publishedStrip"> +<!--+ + |start Subtabs + +--> +<div id="level2tabs"></div> +<!--+ + |end Endtabs + +--> +<script type="text/javascript" language="JavaScript"><!-- + document.write("Published: " + document.lastModified); + // --></script> +</div> +<!--+ + |breadtrail + +--> +<div class="breadtrail"> + + &nbsp; + </div> +<!--+ + |start Menu, mainarea + +--> +<!--+ + |start Menu + +--> +<div id="menu"> +<div onclick="SwitchMenu('menu_selected_1.1', 'skin/')" id="menu_selected_1.1Title" class="menutitle" style="background-image: url('skin/images/chapter_open.gif');">About</div> +<div id="menu_selected_1.1" class="selectedmenuitemgroup" style="display: block;"> +<div class="menuitem"> +<a title="" href="index.html">Index</a> +</div> +<div class="menuitem"> +<a title="" href="download.html">Download</a> +</div> +<div class="menuitem"> +<a title="" href="faq.html">FAQs</a> +</div> +<div class="menuitem"> +<a title="" href="who.html">Who we are</a> +</div> +<div class="menuitem"> +<a title="" href="todo.html">Todo</a> +</div> +<div class="menuitem"> +<a title="" href="changes.html">Changes</a> +</div> +<div class="menuitem"> +<a title="" href="history.html">History</a> +</div> +<div class="menupage"> +<div class="menupagetitle">License</div> +</div> +</div> +<div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" class="menutitle">Getting Involved</div> +<div id="menu_1.2" class="menuitemgroup"> +<div class="menuitem"> +<a title="" href="contrib.html">Contributing</a> +</div> +<div class="menuitem"> +<a title="" href="http://svn.apache.org/viewvc/xml/security/trunk/">SVN</a> +</div> +<div class="menuitem"> +<a title="" href="mail-lists.html">Mail lists</a> +</div> +</div> +<div onclick="SwitchMenu('menu_1.3', 'skin/')" id="menu_1.3Title" class="menutitle">References</div> +<div id="menu_1.3" class="menuitemgroup"> +<div class="menuitem"> +<a title="" href="http://www.w3c.org/Signature/">W3C XML DSig</a> +</div> +<div class="menuitem"> +<a title="" href="http://www.w3c.org/Encryption/">W3C XML Enc</a> +</div> +<div class="menuitem"> +<a title="" href="http://www.w3c.org/2001/XKMS/">W3C XML XKMS</a> +</div> +</div> +<div id="credit"></div> +<div id="roundbottom"> +<img style="display: none" class="corner" height="15" width="15" alt="" src="skin/images/rc-b-l-15-1body-2menu-3menu.png"></div> +<!--+ + |alternative credits + +--> +</div> +<!--+ + |end Menu + +--> +<!--+ + |start content + +--> +<div id="content"> +<div id="skinconf-txtlink"></div> +<h1>The Apache Software License, Version 2.0</h1> + +<pre class="code"> + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +</pre> + +</div> +<!--+ + |end content + +--> +<div class="clearboth">&nbsp;</div> +</div> +<div id="footer"> +<!--+ + |start bottomstrip + +--> +<div class="lastmodified"> +<script type="text/javascript"><!-- +document.write("Last Published: " + document.lastModified); +// --></script> +</div> +<div class="copyright"> + Copyright &copy; 2002-2006 The Apache Software Foundation.</div> +<!--+ + |end bottomstrip + +--> +</div> +</body> +</html> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Jan 23 09:43:28 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88432 invoked from network); 23 Jan 2007 09:43:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Jan 2007 09:43:28 -0000 Received: (qmail 9296 invoked by uid 500); 23 Jan 2007 09:43:34 -0000 Delivered-To: [email protected] Received: (qmail 9280 invoked by uid 500); 23 Jan 2007 09:43:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <general-cvs.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 9263 invoked by uid 500); 23 Jan 2007 09:43:34 -0000 Delivered-To: [email protected] Received: (qmail 9260 invoked by uid 99); 23 Jan 2007 09:43:34 -0000 Received: from herse.apache.org (HELO herse.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jan 2007 01:43:34 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jan 2007 01:43:24 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id 474891A981A; Tue, 23 Jan 2007 01:42:17 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r498968 - in /xml/site/targets/security/Java: api.html examples.html faq.html index.html installation.html interop.html resolver.html Date: Tue, 23 Jan 2007 09:42:16 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.1.0 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: raul Date: Tue Jan 23 01:42:12 2007 New Revision: 498968 URL: http://svn.apache.org/viewvc?view=rev&rev=498968 Log: Updating web pages for 1.4 release Added: xml/site/targets/security/Java/api.html xml/site/targets/security/Java/examples.html xml/site/targets/security/Java/faq.html xml/site/targets/security/Java/index.html xml/site/targets/security/Java/installation.html xml/site/targets/security/Java/interop.html xml/site/targets/security/Java/resolver.html Added: xml/site/targets/security/Java/api.html URL: http://svn.apache.org/viewvc/xml/site/targets/security/Java/api.html?view=auto&rev=498968 ============================================================================== --- xml/site/targets/security/Java/api.html (added) +++ xml/site/targets/security/Java/api.html Tue Jan 23 01:42:12 2007 @@ -0,0 +1,195 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> +<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<meta content="Apache Forrest" name="Generator"> +<meta name="Forrest-version" content="0.6"> +<meta name="Forrest-skin-name" content="pelt"> +<title>Java API Documentation</title> +<link type="text/css" href="../skin/basic.css" rel="stylesheet"> +<link media="screen" type="text/css" href="../skin/screen.css" rel="stylesheet"> +<link media="print" type="text/css" href="../skin/print.css" rel="stylesheet"> +<link type="text/css" href="../skin/profile.css" rel="stylesheet"> +<script src="../skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="../skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="../skin/fontsize.js" language="javascript" type="text/javascript"></script> +</head> +<body onload="init()"> +<script type="text/javascript">ndeSetTextSize();</script> +<div id="top"> +<!--+ + |breadtrail + +--> +<div class="breadtrail"> +<a href="http://www.apache.org/">apache</a> &gt; <a href="http://xml.apache.org/">xml.apache</a><script src="../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script> +</div> +<!--+ + |header + +--> +<div class="header"> +<!--+ + |start group logo + +--> +<div class="grouplogo"> +<a href="http:///xml.apache.org"><img class="logoImage" alt="Apache XML" src="../images/group-logo.gif"></a> +</div> +<!--+ + |end group logo + +--> +<!--+ + |start Project Logo + +--> +<div class="projectlogo"> +<a href="http://xml.apache.org/security"><img class="logoImage" alt="Apache XML Security" src="../images/project-logo.gif"></a> +</div> +<!--+ + |end Project Logo + +--> +<!--+ + |start Search + +--> +<div class="searchbox"> +<form action="http://www.google.com/search" method="get" class="roundtopsmall"> +<input value="xml.apache.org/security" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with google:');" value="Search the site with google:" size="25" name="q" id="query" type="text">&nbsp; + <input name="Search" value="Search" type="submit"> +</form> +</div> +<!--+ + |end search + +--> +<!--+ + |start Tabs + +--> +<ul id="tabs"> +<li> +<a class="base-not-selected" href="../index.html">Home</a> +</li> +<li class="current"> +<a class="base-selected" href="../Java/index.html">Java</a> +</li> +<li> +<a class="base-not-selected" href="../c/index.html">C++</a> +</li> +</ul> +<!--+ + |end Tabs + +--> +</div> +</div> +<div id="main"> +<div id="publishedStrip"> +<!--+ + |start Subtabs + +--> +<div id="level2tabs"></div> +<!--+ + |end Endtabs + +--> +<script type="text/javascript" language="JavaScript"><!-- + document.write("Published: " + document.lastModified); + // --></script> +</div> +<!--+ + |breadtrail + +--> +<div class="breadtrail"> + + &nbsp; + </div> +<!--+ + |start Menu, mainarea + +--> +<!--+ + |start Menu + +--> +<div id="menu"> +<div onclick="SwitchMenu('menu_selected_1.1', '../skin/')" id="menu_selected_1.1Title" class="menutitle" style="background-image: url('../skin/images/chapter_open.gif');">Java</div> +<div id="menu_selected_1.1" class="selectedmenuitemgroup" style="display: block;"> +<div class="menuitem"> +<a title="" href="../Java/index.html">Index</a> +</div> +<div class="menuitem"> +<a title="" href="../Java/installation.html">Installation</a> +</div> +<div class="menuitem"> +<a title="" href="../Java/examples.html">Examples</a> +</div> +<div class="menuitem"> +<a title="" href="../Java/faq.html">FAQs</a> +</div> +<div class="menupage"> +<div class="menupagetitle">API Docs</div> +</div> +<div class="menuitem"> +<a title="" href="../Java/interop.html">Interoperability</a> +</div> +<div class="menuitem"> +<a title="" href="http://lsd.student.utwente.nl/gump/xml-security/xml-security.html">Gump results</a> +</div> +<div class="menuitem"> +<a title="" href="../Java/resolver.html">Resolvermania</a> +</div> +</div> +<div id="credit"></div> +<div id="roundbottom"> +<img style="display: none" class="corner" height="15" width="15" alt="" src="../skin/images/rc-b-l-15-1body-2menu-3menu.png"></div> +<!--+ + |alternative credits + +--> +</div> +<!--+ + |end Menu + +--> +<!--+ + |start content + +--> +<div id="content"> +<div id="skinconf-txtlink"></div> +<h1>Java API Documentation</h1> + +<a name="N1000D"></a><a name="Javadoc+Generated+Documentation"></a> +<h2 class="h3">Javadoc Generated Documentation</h2> +<div class="section"> +<p>Apache-XML-Security-J comes packaged with API documentation.</p> +<p>This documentation is generated automatically from the Javadoc-style + comments inside the source files. Click on one of the links below to + go to the appropriate API documentation.</p> +</div> + +<a name="N1001A"></a><a name="xml-security+API+Documentation"></a> +<h2 class="h3">xml-security API Documentation</h2> +<div class="section"> +<ul> + +<li> +<a target="_top" href="../Java/api/index.html">Full API documentation</a> +</li> + +<li> +<a target="_top" href="../Java/api/overview-tree.html">Hierarchy for all the packages</a> +</li> + +</ul> +</div> + +</div> +<!--+ + |end content + +--> +<div class="clearboth">&nbsp;</div> +</div> +<div id="footer"> +<!--+ + |start bottomstrip + +--> +<div class="lastmodified"> +<script type="text/javascript"><!-- +document.write("Last Published: " + document.lastModified); +// --></script> +</div> +<div class="copyright"> + Copyright &copy; 2002-2006 The Apache Software Foundation.</div> +<!--+ + |end bottomstrip + +--> +</div> +</body> +</html> Added: xml/site/targets/security/Java/examples.html URL: http://svn.apache.org/viewvc/xml/site/targets/security/Java/examples.html?view=auto&rev=498968 ============================================================================== --- xml/site/targets/security/Java/examples.html (added) +++ xml/site/targets/security/Java/examples.html Tue Jan 23 01:42:12 2007 @@ -0,0 +1,205 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> +<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<meta content="Apache Forrest" name="Generator"> +<meta name="Forrest-version" content="0.6"> +<meta name="Forrest-skin-name" content="pelt"> +<title>Java Examples</title> +<link type="text/css" href="../skin/basic.css" rel="stylesheet"> +<link media="screen" type="text/css" href="../skin/screen.css" rel="stylesheet"> +<link media="print" type="text/css" href="../skin/print.css" rel="stylesheet"> +<link type="text/css" href="../skin/profile.css" rel="stylesheet"> +<script src="../skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="../skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="../skin/fontsize.js" language="javascript" type="text/javascript"></script> +</head> +<body onload="init()"> +<script type="text/javascript">ndeSetTextSize();</script> +<div id="top"> +<!--+ + |breadtrail + +--> +<div class="breadtrail"> +<a href="http://www.apache.org/">apache</a> &gt; <a href="http://xml.apache.org/">xml.apache</a><script src="../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script> +</div> +<!--+ + |header + +--> +<div class="header"> +<!--+ + |start group logo + +--> +<div class="grouplogo"> +<a href="http:///xml.apache.org"><img class="logoImage" alt="Apache XML" src="../images/group-logo.gif"></a> +</div> +<!--+ + |end group logo + +--> +<!--+ + |start Project Logo + +--> +<div class="projectlogo"> +<a href="http://xml.apache.org/security"><img class="logoImage" alt="Apache XML Security" src="../images/project-logo.gif"></a> +</div> +<!--+ + |end Project Logo + +--> +<!--+ + |start Search + +--> +<div class="searchbox"> +<form action="http://www.google.com/search" method="get" class="roundtopsmall"> +<input value="xml.apache.org/security" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with google:');" value="Search the site with google:" size="25" name="q" id="query" type="text">&nbsp; + <input name="Search" value="Search" type="submit"> +</form> +</div> +<!--+ + |end search + +--> +<!--+ + |start Tabs + +--> +<ul id="tabs"> +<li> +<a class="base-not-selected" href="../index.html">Home</a> +</li> +<li class="current"> +<a class="base-selected" href="../Java/index.html">Java</a> +</li> +<li> +<a class="base-not-selected" href="../c/index.html">C++</a> +</li> +</ul> +<!--+ + |end Tabs + +--> +</div> +</div> +<div id="main"> +<div id="publishedStrip"> +<!--+ + |start Subtabs + +--> +<div id="level2tabs"></div> +<!--+ + |end Endtabs + +--> +<script type="text/javascript" language="JavaScript"><!-- + document.write("Published: " + document.lastModified); + // --></script> +</div> +<!--+ + |breadtrail + +--> +<div class="breadtrail"> + + &nbsp; + </div> +<!--+ + |start Menu, mainarea + +--> +<!--+ + |start Menu + +--> +<div id="menu"> +<div onclick="SwitchMenu('menu_selected_1.1', '../skin/')" id="menu_selected_1.1Title" class="menutitle" style="background-image: url('../skin/images/chapter_open.gif');">Java</div> +<div id="menu_selected_1.1" class="selectedmenuitemgroup" style="display: block;"> +<div class="menuitem"> +<a title="" href="../Java/index.html">Index</a> +</div> +<div class="menuitem"> +<a title="" href="../Java/installation.html">Installation</a> +</div> +<div class="menupage"> +<div class="menupagetitle">Examples</div> +</div> +<div class="menuitem"> +<a title="" href="../Java/faq.html">FAQs</a> +</div> +<div class="menuitem"> +<a title="" href="../Java/api.html">API Docs</a> +</div> +<div class="menuitem"> +<a title="" href="../Java/interop.html">Interoperability</a> +</div> +<div class="menuitem"> +<a title="" href="http://lsd.student.utwente.nl/gump/xml-security/xml-security.html">Gump results</a> +</div> +<div class="menuitem"> +<a title="" href="../Java/resolver.html">Resolvermania</a> +</div> +</div> +<div id="credit"></div> +<div id="roundbottom"> +<img style="display: none" class="corner" height="15" width="15" alt="" src="../skin/images/rc-b-l-15-1body-2menu-3menu.png"></div> +<!--+ + |alternative credits + +--> +</div> +<!--+ + |end Menu + +--> +<!--+ + |start content + +--> +<div id="content"> +<div id="skinconf-txtlink"></div> +<h1>Java Examples</h1> + +<a name="N1000D"></a><a name="XML+Signatures"></a> +<h2 class="h3">XML Signatures</h2> +<div class="section"> +<p> + Part of this software can be used to create and verify arbitrary forms + of XML Signatures. The documentation available here is not very huge; + my first approach is to supply usage examples which are available in + the <span class="codefrag">src_samples/</span> directory to give interested users a + first starting point to jump-start with XML Signature. + </p> +<div class="frame note"> +<div class="label">Note</div> +<div class="content"> + The samples divide into two groups: Samples that <em>create</em> and + samples that <em>verify</em> Signatures. Eventually, you should adjust + the verifying program to another filename if you get + <span class="codefrag">FileNotFoundException</span>s. + </div> +</div> +</div> + +<a name="N10026"></a><a name="XML+Encryption"></a> +<h2 class="h3">XML Encryption</h2> +<div class="section"> +<p> + As with signatures, samples are provided to show how to encrypt + and decrypt XML content. See + <span class="codefrag">src_samples/org/apache/xml/security/samples/encryption</span>. + </p> +<p> + The samples can be compiled and run using <span class="codefrag">ant encrypt</span> + and <span class="codefrag">ant decrypt</span>. + </p> +</div> + +</div> +<!--+ + |end content + +--> +<div class="clearboth">&nbsp;</div> +</div> +<div id="footer"> +<!--+ + |start bottomstrip + +--> +<div class="lastmodified"> +<script type="text/javascript"><!-- +document.write("Last Published: " + document.lastModified); +// --></script> +</div> +<div class="copyright"> + Copyright &copy; 2002-2006 The Apache Software Foundation.</div> +<!--+ + |end bottomstrip + +--> +</div> +</body> +</html> Added: xml/site/targets/security/Java/faq.html URL: http://svn.apache.org/viewvc/xml/site/targets/security/Java/faq.html?view=auto&rev=498968 ============================================================================== --- xml/site/targets/security/Java/faq.html (added) +++ xml/site/targets/security/Java/faq.html Tue Jan 23 01:42:12 2007 @@ -0,0 +1,457 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> +<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<meta content="Apache Forrest" name="Generator"> +<meta name="Forrest-version" content="0.6"> +<meta name="Forrest-skin-name" content="pelt"> +<title>Frequently Asked Questions - Java</title> +<link type="text/css" href="../skin/basic.css" rel="stylesheet"> +<link media="screen" type="text/css" href="../skin/screen.css" rel="stylesheet"> +<link media="print" type="text/css" href="../skin/print.css" rel="stylesheet"> +<link type="text/css" href="../skin/profile.css" rel="stylesheet"> +<script src="../skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="../skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="../skin/fontsize.js" language="javascript" type="text/javascript"></script> +</head> +<body onload="init()"> +<script type="text/javascript">ndeSetTextSize();</script> +<div id="top"> +<!--+ + |breadtrail + +--> +<div class="breadtrail"> +<a href="http://www.apache.org/">apache</a> &gt; <a href="http://xml.apache.org/">xml.apache</a><script src="../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script> +</div> +<!--+ + |header + +--> +<div class="header"> +<!--+ + |start group logo + +--> +<div class="grouplogo"> +<a href="http:///xml.apache.org"><img class="logoImage" alt="Apache XML" src="../images/group-logo.gif"></a> +</div> +<!--+ + |end group logo + +--> +<!--+ + |start Project Logo + +--> +<div class="projectlogo"> +<a href="http://xml.apache.org/security"><img class="logoImage" alt="Apache XML Security" src="../images/project-logo.gif"></a> +</div> +<!--+ + |end Project Logo + +--> +<!--+ + |start Search + +--> +<div class="searchbox"> +<form action="http://www.google.com/search" method="get" class="roundtopsmall"> +<input value="xml.apache.org/security" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with google:');" value="Search the site with google:" size="25" name="q" id="query" type="text">&nbsp; + <input name="Search" value="Search" type="submit"> +</form> +</div> +<!--+ + |end search + +--> +<!--+ + |start Tabs + +--> +<ul id="tabs"> +<li> +<a class="base-not-selected" href="../index.html">Home</a> +</li> +<li class="current"> +<a class="base-selected" href="../Java/index.html">Java</a> +</li> +<li> +<a class="base-not-selected" href="../c/index.html">C++</a> +</li> +</ul> +<!--+ + |end Tabs + +--> +</div> +</div> +<div id="main"> +<div id="publishedStrip"> +<!--+ + |start Subtabs + +--> +<div id="level2tabs"></div> +<!--+ + |end Endtabs + +--> +<script type="text/javascript" language="JavaScript"><!-- + document.write("Published: " + document.lastModified); + // --></script> +</div> +<!--+ + |breadtrail + +--> +<div class="breadtrail"> + + &nbsp; + </div> +<!--+ + |start Menu, mainarea + +--> +<!--+ + |start Menu + +--> +<div id="menu"> +<div onclick="SwitchMenu('menu_selected_1.1', '../skin/')" id="menu_selected_1.1Title" class="menutitle" style="background-image: url('../skin/images/chapter_open.gif');">Java</div> +<div id="menu_selected_1.1" class="selectedmenuitemgroup" style="display: block;"> +<div class="menuitem"> +<a title="" href="../Java/index.html">Index</a> +</div> +<div class="menuitem"> +<a title="" href="../Java/installation.html">Installation</a> +</div> +<div class="menuitem"> +<a title="" href="../Java/examples.html">Examples</a> +</div> +<div class="menupage"> +<div class="menupagetitle">FAQs</div> +</div> +<div class="menuitem"> +<a title="" href="../Java/api.html">API Docs</a> +</div> +<div class="menuitem"> +<a title="" href="../Java/interop.html">Interoperability</a> +</div> +<div class="menuitem"> +<a title="" href="http://lsd.student.utwente.nl/gump/xml-security/xml-security.html">Gump results</a> +</div> +<div class="menuitem"> +<a title="" href="../Java/resolver.html">Resolvermania</a> +</div> +</div> +<div id="credit"></div> +<div id="roundbottom"> +<img style="display: none" class="corner" height="15" width="15" alt="" src="../skin/images/rc-b-l-15-1body-2menu-3menu.png"></div> +<!--+ + |alternative credits + +--> +</div> +<!--+ + |end Menu + +--> +<!--+ + |start content + +--> +<div id="content"> +<div id="skinconf-txtlink"></div> +<h1>Frequently Asked Questions - Java</h1> +<a name="N10008"></a><a name="Questions"></a> +<h2 class="h3">Questions</h2> +<div class="section"> +<a name="N1000C"></a><a name="general_j"></a> +<h3 class="h4">1. Questions about Java</h3> +<a name="N10010"></a><a name="security_j"></a> +<h4 class="faq">1.1. + I have a Java-(security/cryptography) problem. Can you help me? + </h4> +<div align="right"> +<a href="#security_j-menu">^</a> +</div> +<div style="margin-left: 15px"> +<p> + Go to the <a class="external" href="http://forum.java.sun.com/">java forum</a> of Sun. You can + find forums where you can ask questions like "How do I generate + a keypair", etc. + </p> +</div> +<a name="N1001C"></a><a name="xml_j"></a> +<h4 class="faq">1.2. + I have a Java-XML problem. + </h4> +<div align="right"> +<a href="#xml_j-menu">^</a> +</div> +<div style="margin-left: 15px"> +<p> + Go to the <a class="external" href="http://forum.java.sun.com/">java forum</a> of Sun, section + Java Technology &amp; XML and have a look at <a class="external" href="http://xml.apache.org/xerces2-j/index.html"> Apache Xerces</a>. + </p> +</div> +<a name="N1002C"></a><a name="specific_"></a> +<h3 class="h4">2. Questions about this package</h3> +<a name="N10030"></a><a name="crimson"></a> +<h4 class="faq">2.1. + I'm using Crimson, but it throws Exceptions. Why? + </h4> +<div align="right"> +<a href="#crimson-menu">^</a> +</div> +<div style="margin-left: 15px"> +<p> + Crimson is not supported at the moment. The main reason is that + Crimson did not support the + <span class="codefrag">org.w3c.dom.traversal.TreeWalker</span> interface in the + past. Additionally, it does not support the + <span class="codefrag">org.apache.xerces.dom.DocumentImpl.putIdentifier(String ID, + Element e)</span> functionality where Xerces allows us to enable ID + attributes during document generation. + </p> +<p> + Use <a class="external" href="http://xml.apache.org/xerces2-j/index.html">Apache Xerces</a> + instead of Crimson. + </p> +</div> +<a name="N10045"></a><a name="bouncy"></a> +<h4 class="faq">2.2. + What's up with the Bouncy Castle CSP? / Where is my CSP? + </h4> +<div align="right"> +<a href="#bouncy-menu">^</a> +</div> +<div style="margin-left: 15px"> +<p> + There is <em>no</em> JCE bundled together with this + distribution. This is because the Apache Project web site is hosted + in the US where some export restrictions apply to the cryptographic + primitives. + </p> +<p> + The nice guys from the <a class="external" href="http://www.bouncycastle.org/">Legion of Bouncy + Castle</a> where so helpful to supply their JCE in a simple JAR + package so that we can simply fetch it during the compilation process + and put it into the <span class="codefrag">libs/</span> directory. When you use the + ant makefile <span class="codefrag">build.xml</span> and simply say <span class="codefrag">ant + compile</span> or <span class="codefrag">ant get-jce</span>, <span class="codefrag">ant</span> tries + to fetch this JAR from the australian server. After that step, the + compilation works completely. + </p> +<p> + The ant make tools initiates an automated download of the + BouncyCastle JCE. The file is downloaded into the <span class="codefrag">libs/</span> + directory and a "bc-" is prepended to the filename. This is + done because we want the provider name (bc means BouncyCastle) being + visible in the JAR's filename. + </p> +<div class="frame note"> +<div class="label">Note</div> +<div class="content"> + The fact that we <em>use</em> Bouncy in this project does not mean + that you <em>must</em> use it, it's only the default. If you take a + look at the configuration + <span class="codefrag">src/org/apache/xml/security/resource/config.xml</span>, you'll + notice the sections which do integrate these alternative JCEs. + </div> +</div> +<p> + More information can be found in the <a href="../Java/installation.html">Installation</a> section. + </p> +</div> +<a name="N1007F"></a><a name="logging"></a> +<h4 class="faq">2.3. + How do I enable/turn off logging? + </h4> +<div align="right"> +<a href="#logging-menu">^</a> +</div> +<div style="margin-left: 15px"> +<p> + The logging is configured in the <span class="codefrag">config.xml</span> file which + either in the <span class="codefrag">xmlsec.jar</span> file or in the class path. This + is a little bit complicated as config.xml is used both for library + wide configurations like algorithms as well as for the user setting + about log4j. This will be changed someday ;-)) + </p> +<p>OK, so it goes: In the + <a class="external" href="http://cvs.apache.org/viewcvs.cgi/xml-security/src/org/apache/xml/security/resource/config.xml?rev=HEAD&content-type=text/vnd.viewcvs-markup"> + <span class="codefrag">xml-security/src/org/apache/xml/security/resource/config.xml</span> + </a> file, there is an element called + <span class="codefrag">&lt;log4j:configuration&gt;</span>. This element contains the + XML style configuration information as defined in the + <a class="external" href="http://jakarta.apache.org/log4j/docs/api/org/apache/log4j/xml/DOMConfigurator.html"> + log4j DOMConfigurator class + </a>. You can find examples + <a class="external" href="http://cvs.apache.org/viewcvs.cgi/jakarta-log4j/tests/input/xml/">here</a> + +</p> +</div> +<a name="N100A2"></a><a name="baseURI"></a> +<h4 class="faq">2.4. + What is the meaning of BaseURI? + </h4> +<div align="right"> +<a href="#baseURI-menu">^</a> +</div> +<div style="margin-left: 15px"> +<p> + When you work with URIs like + "<span class="codefrag">http://www.example.com/index.html</span>", it is + quite sure what you mean as this is an absolute URL, i.e. it is clear + which protocol ise used to fetch which file from which server. When + you use such a URL inside a signature, the software can automatically + figure out what you sign. But when you sign something in your local + file system or if you use a relative path like + "<span class="codefrag">../1.txt</span>", it's not possible to understand + this reference without some context. <em>This</em> context is the + <span class="codefrag">BaseURI</span>. For instance, if you sign + <span class="codefrag">URI="../1.txt"</span> and the + <span class="codefrag">BaseURI="file:///home/user/work/signature.xml"</span>, + it is clear that the file + <span class="codefrag">BaseURI="file:///home/user/1.txt"</span> is to be + signed. But when you create the signature, the file + <span class="codefrag">BaseURI="file:///home/user/work/signature.xml"</span> + does not yet exist; therefore, you have to supply the URL where you + intend to store the signature later (relative to the signed objects). + </p> +<p> + The String BaseURI is the systemID on which the Object will be stored + in the future. This is needed to resolve relative links in the + <span class="codefrag">Reference</span> elements which point to the filesystem or + something similar. + </p> +<p> + Example: Imagine that you want to create a signature to store it on a + web server as + <span class="codefrag">http://www.acme.com/signatures/sig1.xml</span>. So + <span class="codefrag">BaseURI="http://www.acme.com/sig1.xml"</span>. This + means that if you create a <span class="codefrag">Reference</span> with + <span class="codefrag">URI="./index.html"</span>, the library can easily use + it's HTTPResourceResolver to fetch + <span class="codefrag">http://www.acme.com/index.html</span> without that you have to + say <span class="codefrag">URI="http://www.acme.com/index.html"</span>. + </p> +</div> +<a name="N100E0"></a><a name="examples"></a> +<h4 class="faq">2.5. + How do I use the package to generate and verify a signature? + </h4> +<div align="right"> +<a href="#examples-menu">^</a> +</div> +<div style="margin-left: 15px"> +<p> + Checkout the samples in + <span class="codefrag">src_samples/org/apache/xml/security/samples/signature/</span>. + </p> +<div class="frame note"> +<div class="label">Note</div> +<div class="content"> + The samples divide into two groups: Samples that <em>create</em> and + samples that <em>verify</em> Signatures. Eventually, you should + adjust the verifying program to another filename if you get + <span class="codefrag">FileNotFoundException</span>s. + </div> +</div> +</div> +<a name="N100F7"></a><a name="jdk140"></a> +<h4 class="faq">2.6. + I'm using SUN JDK v1.4.0 or v1.4.1 and it get some exceptions. Any clues? + </h4> +<div align="right"> +<a href="#jdk140-menu">^</a> +</div> +<div style="margin-left: 15px"> +<p> + After SUN released the <a class="external" href="http://java.sun.com/j2se/1.4/index.html"> Java (TM) 2 Platform + Standard Edition v1.4.0 </a>, the xml-security package stopped + working. This is a + <a class="external" href="http://developer.java.sun.com/developer/bugParade/bugs/4615582.html"> + known + </a> + problem: SUN packaged a beta of Xalan into the JDK1.4.0, but the + xml-security package requires a stable version of Xalan (v2.2.0 or + later). To fix the problem, you have to put the xalan.jar into a + special directory in your JDK: + <span class="codefrag">j2sdk1.4.0/jre/lib/endorsed/xalan.jar</span>. If you installed + an out-of-the-box JDK1.4 (e.g. on Windows 2000), the + "endorsed" directory does not exist: you'll have to create + it by hand. + </p> +<div class="frame warning"> +<div class="label">Warning</div> +<div class="content">Putting this JAR to another location like lib/ext WILL NOT WORK. </div> +</div> +<p> + For more on that, you can also check the <a class="external" href="http://xml.apache.org/~edwingo/jaxp-faq.html#override"> + Unofficial JAXP FAQ </a>. + </p> +</div> +<a name="N10114"></a><a name="nullptrexception"></a> +<h4 class="faq">2.7. + I get a NullPointerException, and I don't know what's wrong. + </h4> +<div align="right"> +<a href="#nullptrexception-menu">^</a> +</div> +<div style="margin-left: 15px"> +<p> + Often, this problem is caused by using DOM1 calls like + <span class="codefrag">createElement(), setAttribute(), createAttribute()</span>. These are + non-namespace-aware and will cause XPath and C14N errors. + Always use the DOM2 <span class="codefrag">create(Attribute|Element)NS(...)</span> + methods instead, even if you're creating an element without a namespace + (in that case, you can use null as a namespace). + </p> +<p> + The Xalan-J Team told us that DOM1 calls are deprecated and are not to + be used in code. xml-security has been reviewed and is DOM1 clean now. + The Xalan folks told us that if you create Elements or attributes + using DOM1 calls which are not namespace aware, they do not care about + any problem you have because of incorrect hehaviour of Xalan. + </p> +</div> +<a name="N10125"></a><a name="elementorder"></a> +<h4 class="faq">2.8. + I sign a document and when I try to verify using the same key, it fails + </h4> +<div align="right"> +<a href="#elementorder-menu">^</a> +</div> +<div style="margin-left: 15px"> +<p> + After you have created the XMLSignature object, before you sign the + document, you <em>must</em> embed the signature element in the owning + document (using a call to <span class="codefrag">XMLSignature.getElement()</span> to + retrieve the newly created Element node from the signature) before + calling the <span class="codefrag">XMLSignature.sign()</span> method, + </p> +<p> + During canonicalisation of the SignedInfo element, the library looks + at the parent and ancestor nodes of the Signature element to find + any namespaces that the SignedInfo node has inherited. Any that are + found are embedded in the canonical form of the SignedInfo. (This + is not true when Exclusive Canonicalisation is used, but it is still + good practice to insert the element node prior to the sign() + method being called). + </p> +<p> + If you have not embedded the signature node in the document, it will + not have any parent or ancestor nodes, so it will not inherit their + namespaces. If you then embed it in the document and call <span class="codefrag"> + verify()</span>, the namespaces will be found and the canonical + form of SignedInfo will be different to that generated during + <span class="codefrag">sign()</span>. + </p> +</div> +</div> +</div> +<!--+ + |end content + +--> +<div class="clearboth">&nbsp;</div> +</div> +<div id="footer"> +<!--+ + |start bottomstrip + +--> +<div class="lastmodified"> +<script type="text/javascript"><!-- +document.write("Last Published: " + document.lastModified); +// --></script> +</div> +<div class="copyright"> + Copyright &copy; 2002-2006 The Apache Software Foundation.</div> +<!--+ + |end bottomstrip + +--> +</div> +</body> +</html> Added: xml/site/targets/security/Java/index.html URL: http://svn.apache.org/viewvc/xml/site/targets/security/Java/index.html?view=auto&rev=498968 ============================================================================== --- xml/site/targets/security/Java/index.html (added) +++ xml/site/targets/security/Java/index.html Tue Jan 23 01:42:12 2007 @@ -0,0 +1,262 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> +<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<meta content="Apache Forrest" name="Generator"> +<meta name="Forrest-version" content="0.6"> +<meta name="Forrest-skin-name" content="pelt"> +<title>The Java section</title> +<link type="text/css" href="../skin/basic.css" rel="stylesheet"> +<link media="screen" type="text/css" href="../skin/screen.css" rel="stylesheet"> +<link media="print" type="text/css" href="../skin/print.css" rel="stylesheet"> +<link type="text/css" href="../skin/profile.css" rel="stylesheet"> +<script src="../skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="../skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="../skin/fontsize.js" language="javascript" type="text/javascript"></script> +</head> +<body onload="init()"> +<script type="text/javascript">ndeSetTextSize();</script> +<div id="top"> +<!--+ + |breadtrail + +--> +<div class="breadtrail"> +<a href="http://www.apache.org/">apache</a> &gt; <a href="http://xml.apache.org/">xml.apache</a><script src="../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script> +</div> +<!--+ + |header + +--> +<div class="header"> +<!--+ + |start group logo + +--> +<div class="grouplogo"> +<a href="http:///xml.apache.org"><img class="logoImage" alt="Apache XML" src="../images/group-logo.gif"></a> +</div> +<!--+ + |end group logo + +--> +<!--+ + |start Project Logo + +--> +<div class="projectlogo"> +<a href="http://xml.apache.org/security"><img class="logoImage" alt="Apache XML Security" src="../images/project-logo.gif"></a> +</div> +<!--+ + |end Project Logo + +--> +<!--+ + |start Search + +--> +<div class="searchbox"> +<form action="http://www.google.com/search" method="get" class="roundtopsmall"> +<input value="xml.apache.org/security" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with google:');" value="Search the site with google:" size="25" name="q" id="query" type="text">&nbsp; + <input name="Search" value="Search" type="submit"> +</form> +</div> +<!--+ + |end search + +--> +<!--+ + |start Tabs + +--> +<ul id="tabs"> +<li> +<a class="base-not-selected" href="../index.html">Home</a> +</li> +<li class="current"> +<a class="base-selected" href="../Java/index.html">Java</a> +</li> +<li> +<a class="base-not-selected" href="../c/index.html">C++</a> +</li> +</ul> +<!--+ + |end Tabs + +--> +</div> +</div> +<div id="main"> +<div id="publishedStrip"> +<!--+ + |start Subtabs + +--> +<div id="level2tabs"></div> +<!--+ + |end Endtabs + +--> +<script type="text/javascript" language="JavaScript"><!-- + document.write("Published: " + document.lastModified); + // --></script> +</div> +<!--+ + |breadtrail + +--> +<div class="breadtrail"> + + &nbsp; + </div> +<!--+ + |start Menu, mainarea + +--> +<!--+ + |start Menu + +--> +<div id="menu"> +<div onclick="SwitchMenu('menu_selected_1.1', '../skin/')" id="menu_selected_1.1Title" class="menutitle" style="background-image: url('../skin/images/chapter_open.gif');">Java</div> +<div id="menu_selected_1.1" class="selectedmenuitemgroup" style="display: block;"> +<div class="menupage"> +<div class="menupagetitle">Index</div> +</div> +<div class="menuitem"> +<a title="" href="../Java/installation.html">Installation</a> +</div> +<div class="menuitem"> +<a title="" href="../Java/examples.html">Examples</a> +</div> +<div class="menuitem"> +<a title="" href="../Java/faq.html">FAQs</a> +</div> +<div class="menuitem"> +<a title="" href="../Java/api.html">API Docs</a> +</div> +<div class="menuitem"> +<a title="" href="../Java/interop.html">Interoperability</a> +</div> +<div class="menuitem"> +<a title="" href="http://lsd.student.utwente.nl/gump/xml-security/xml-security.html">Gump results</a> +</div> +<div class="menuitem"> +<a title="" href="../Java/resolver.html">Resolvermania</a> +</div> +</div> +<div id="credit"></div> +<div id="roundbottom"> +<img style="display: none" class="corner" height="15" width="15" alt="" src="../skin/images/rc-b-l-15-1body-2menu-3menu.png"></div> +<!--+ + |alternative credits + +--> +</div> +<!--+ + |end Menu + +--> +<!--+ + |start content + +--> +<div id="content"> +<div id="skinconf-txtlink"></div> +<h1>The Java section</h1> + +<a name="N1000D"></a><a name="Version+1.4+Released"></a> +<h2 class="h3">Version 1.4 Released</h2> +<div class="section"> +<p> + Version 1.4 of the Java library has been released. + The main changes for this version are: + </p> +<ul> + +<li>Implementation of the standard API JSR105</li> + +<li>Rewritten c14n that increases performance for signature + with node-set transformations.</li> + +<li>Memory footprint reduction and several bugfixes</li> + +</ul> +<p> Refer to the + <a href="../changes.html">changelog</a> for more information. + </p> +</div> + +<a name="N1002A"></a><a name="Overview+of+the+Java+Library"></a> +<h2 class="h3">Overview of the Java Library</h2> +<div class="section"> +<p> + The Apache-XML-Security-J 1.4 supports + <a class="external" href="http://www.w3c.org/TR/2002/REC-xmldsig-core-20020212/">XML-Signature Syntax and Processing, W3C Recommendation 12 February 2002 + </a> and + <a class="external" href="http://www.w3c.org/TR/2002/REC-xmlenc-core-20021210/">XML Encryption Syntax and Processing, W3C Recommendation 10 December 2002 + </a> + +</p> +<p> + As of version 1.4, the Java library supports the standard Java API + <a class="external" href="http://jcp.org/jsr/detail/105.jsp"> + JSR-105: XML Digital Signature APIs + </a> for creating and validating XML Signatures. A standard Java + API for XML Encryption + <a class="external" href="http://jcp.org/jsr/detail/106.jsp"> + JSR-106: XML Digital Encryption APIs + </a> is in progress and is not final, so this + API is not yet supported. You can continue to use the existing + non-standard APIs in the Java Library (there are no plans + to discontinue or deprecate them), but you should consider moving + to the standard APIs. + </p> +</div> + +<a name="N10047"></a><a name="Old+News"></a> +<h2 class="h3">Old News</h2> +<div class="section"> +<p> + Version 1.3 released on 28 October 2005. Improves performance and + memory usage over 1.2, and includes several bugfixes. + </p> +<p> + Version 1.2.1 released on 28 February 2005. It is a bugfix version + over 1.2 and it is recomended to upgrade to this version. + </p> +<p> + Version 1.2 released on 11 December 2004. Improves the performance and + memory usage over 1.1 release together with an easier integration of + JCE providers. + </p> +<p> + Version 1.1 released on 7 April 2004. Includes a beta implementation + of XML Encryption together with minor bug fixes for the XML Signature + code. + </p> +</div> + +<a name="N1005A"></a><a name="JDK+1.4+issues"></a> +<h2 class="h3">JDK 1.4 issues</h2> +<div class="section"> +<p> + If you use JDK 1.4 and want to use this software, be sure that Xalan is + properly installed. Check the <a target="_top" href="../Java/installation.html">installation guide</a>!!! + </p> +<p> + I have so many complaints from people who argue that the software + throws exceptions during running the examples or during unit + testing. This package NEEDS a Xalan version after 2.2D13 (and SUN + shipped his JDK 1.4.0 final with a Xalan beta!). I started integrating + the installation guide into the exception messages cause it seems that + people don't have a look at the installation guide. + </p> +</div> + +</div> +<!--+ + |end content + +--> +<div class="clearboth">&nbsp;</div> +</div> +<div id="footer"> +<!--+ + |start bottomstrip + +--> +<div class="lastmodified"> +<script type="text/javascript"><!-- +document.write("Last Published: " + document.lastModified); +// --></script> +</div> +<div class="copyright"> + Copyright &copy; 2002-2006 The Apache Software Foundation.</div> +<div id="logos"> +<a href="http://validator.w3.org/check/referer"><img style="height: 31px; width: 88px;" title="Valid HTML 4.01!" alt="Valid HTML 4.01!" src="../skin/images/valid-html401.png" class="logoImage"></a><a href="http://jigsaw.w3.org/css-validator/"><img style="height: 31px; width: 88px;" title="Valid CSS!" alt="Valid CSS!" src="../skin/images/vcss.png" class="logoImage"></a><a href="http://xml.apache.org/forrest/"><img border="0" title="Built with Apache Forrest" alt="Built with Apache Forrest - logo" src="../images/built-with-forrest-button.png" style="width: 88px;height: 31px;"></a> +</div> +<!--+ + |end bottomstrip + +--> +</div> +</body> +</html> Added: xml/site/targets/security/Java/installation.html URL: http://svn.apache.org/viewvc/xml/site/targets/security/Java/installation.html?view=auto&rev=498968 ============================================================================== --- xml/site/targets/security/Java/installation.html (added) +++ xml/site/targets/security/Java/installation.html Tue Jan 23 01:42:12 2007 @@ -0,0 +1,445 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> +<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<meta content="Apache Forrest" name="Generator"> +<meta name="Forrest-version" content="0.6"> +<meta name="Forrest-skin-name" content="pelt"> +<title>Installation - Java</title> +<link type="text/css" href="../skin/basic.css" rel="stylesheet"> +<link media="screen" type="text/css" href="../skin/screen.css" rel="stylesheet"> +<link media="print" type="text/css" href="../skin/print.css" rel="stylesheet"> +<link type="text/css" href="../skin/profile.css" rel="stylesheet"> +<script src="../skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="../skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="../skin/fontsize.js" language="javascript" type="text/javascript"></script> +</head> +<body onload="init()"> +<script type="text/javascript">ndeSetTextSize();</script> +<div id="top"> +<!--+ + |breadtrail + +--> +<div class="breadtrail"> +<a href="http://www.apache.org/">apache</a> &gt; <a href="http://xml.apache.org/">xml.apache</a><script src="../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script> +</div> +<!--+ + |header + +--> +<div class="header"> +<!--+ + |start group logo + +--> +<div class="grouplogo"> +<a href="http:///xml.apache.org"><img class="logoImage" alt="Apache XML" src="../images/group-logo.gif"></a> +</div> +<!--+ + |end group logo + +--> +<!--+ + |start Project Logo + +--> +<div class="projectlogo"> +<a href="http://xml.apache.org/security"><img class="logoImage" alt="Apache XML Security" src="../images/project-logo.gif"></a> +</div> +<!--+ + |end Project Logo + +--> +<!--+ + |start Search + +--> +<div class="searchbox"> +<form action="http://www.google.com/search" method="get" class="roundtopsmall"> +<input value="xml.apache.org/security" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with google:');" value="Search the site with google:" size="25" name="q" id="query" type="text">&nbsp; + <input name="Search" value="Search" type="submit"> +</form> +</div> +<!--+ + |end search + +--> +<!--+ + |start Tabs + +--> +<ul id="tabs"> +<li> +<a class="base-not-selected" href="../index.html">Home</a> +</li> +<li class="current"> +<a class="base-selected" href="../Java/index.html">Java</a> +</li> +<li> +<a class="base-not-selected" href="../c/index.html">C++</a> +</li> +</ul> +<!--+ + |end Tabs + +--> +</div> +</div> +<div id="main"> +<div id="publishedStrip"> +<!--+ + |start Subtabs + +--> +<div id="level2tabs"></div> +<!--+ + |end Endtabs + +--> +<script type="text/javascript" language="JavaScript"><!-- + document.write("Published: " + document.lastModified); + // --></script> +</div> +<!--+ + |breadtrail + +--> +<div class="breadtrail"> + + &nbsp; + </div> +<!--+ + |start Menu, mainarea + +--> +<!--+ + |start Menu + +--> +<div id="menu"> +<div onclick="SwitchMenu('menu_selected_1.1', '../skin/')" id="menu_selected_1.1Title" class="menutitle" style="background-image: url('../skin/images/chapter_open.gif');">Java</div> +<div id="menu_selected_1.1" class="selectedmenuitemgroup" style="display: block;"> +<div class="menuitem"> +<a title="" href="../Java/index.html">Index</a> +</div> +<div class="menupage"> +<div class="menupagetitle">Installation</div> +</div> +<div class="menuitem"> +<a title="" href="../Java/examples.html">Examples</a> +</div> +<div class="menuitem"> +<a title="" href="../Java/faq.html">FAQs</a> +</div> +<div class="menuitem"> +<a title="" href="../Java/api.html">API Docs</a> +</div> +<div class="menuitem"> +<a title="" href="../Java/interop.html">Interoperability</a> +</div> +<div class="menuitem"> +<a title="" href="http://lsd.student.utwente.nl/gump/xml-security/xml-security.html">Gump results</a> +</div> +<div class="menuitem"> +<a title="" href="../Java/resolver.html">Resolvermania</a> +</div> +</div> +<div id="credit"></div> +<div id="roundbottom"> +<img style="display: none" class="corner" height="15" width="15" alt="" src="../skin/images/rc-b-l-15-1body-2menu-3menu.png"></div> +<!--+ + |alternative credits + +--> +</div> +<!--+ + |end Menu + +--> +<!--+ + |start content + +--> +<div id="content"> +<div id="skinconf-txtlink"></div> +<h1>Installation - Java</h1> + +<a name="N1000D"></a><a name="Using+JDK+1.4.0"></a> +<h2 class="h3">Using JDK 1.4.0</h2> +<div class="section"> +<p> + After SUN released the + <a class="external" href="http://java.sun.com/j2se/1.4/index.html"> + Java (TM) 2 Platform Standard Edition v1.4.0 + </a>, the xml-security package stopped working. This is a + <a class="external" href="http://developer.java.sun.com/developer/bugParade/bugs/4615582.html"> + known + </a> + problem: SUN packaged a beta of Xalan into the JDK 1.4.0, but the + xml-security package requires a stable version of Xalan (v2.2.0 or + later). To fix the problem, you have to put the xalan.jar into a + special directory in your JDK: + <span class="codefrag">j2sdk1.4.0/jre/lib/endorsed/xalan.jar</span> . If you installed + an out-of-the-box JDK1.4 (e.g. on Windows 2000), the "endorsed" + directory does not exist: you'll have to create it by hand. + </p> +<div class="frame warning"> +<div class="label">Warning</div> +<div class="content"> + Putting this JAR to another location like <span class="codefrag">lib/ext</span> WILL + NOT WORK. + </div> +</div> +<p> + For more on that, you can also check the + <a class="external" href="http://xml.apache.org/~edwingo/jaxp-faq.html#override"> + Unofficial JAXP FAQ + </a>. + </p> +</div> + + +<a name="N1002F"></a><a name="Prerequisites"></a> +<h2 class="h3">Prerequisites</h2> +<div class="section"> +<p> + Make sure you get the Jakarta Ant Tool from + <a class="external" href="http://jakarta.apache.org/ant/index.html">http://jakarta.apache.org/ant/</a> + +</p> +</div> + + +<a name="N1003D"></a><a name="Getting+the+source"></a> +<h2 class="h3">Getting the source</h2> +<div class="section"> +<p> + You can download the sources via WWW from the download page + at + <a target="_top" href="../download.html"> + http://xml.apache.org/security/download.html + </a> + +</p> +<p> + This project's Subversion repository can be checked out anonymously + via HTTP as follows. You will need a Subversion client. + </p> +<pre class="code">svn checkout https://svn.apache.org/repos/asf/xml/security/trunk xml-security + </pre> +<p>This will check out the code into a subdirectory named "xml-security". + The checkout will contain both the Java and the C++ source. + </p> +<p> + A HTTP interface to browse the sources online is available via + <a class="external" href="http://svn.apache.org/viewvc/xml/security/trunk/">http://svn.apache.org/viewvc/xml/security/trunk/</a> + +</p> +</div> + + +<a name="N1005C"></a><a name="Compiling+the+source"></a> +<h2 class="h3">Compiling the source</h2> +<div class="section"> +<p> + At the command prompt type <span class="codefrag">ant test</span>. If you want to + use jikes instead of your default java compiler locate the <span class="codefrag">build.xml</span> + file and replace the line + </p> +<pre class="code">&lt;property name="build.compiler" value="classic"/&gt;</pre> +<p> + with + </p> +<pre class="code">&lt;property name="build.compiler" value="jikes"/&gt;</pre> +</div> + +<!-- Uncommented in the original docs + <section> + <title>Unpacking the files</title> + <p> + &packagename; is packaged as a ZIP file for all + platforms and operating systems. You can run the Java + <ref>jar</ref> command to unpack the distribution. + </p> + <ul> + <li>jar xf &packagename;-bin.&packageversion;.zip</li> + <li>jar xf &packagename;-src.&packageversion;.zip</li> + <li>This command creates a "&packagedirectory;" sub-directory in the + current directory containing all the files.</li> + </ul> + </section> + + <section> + <title>Files in the binary package release</title> + <table> + <tr><td>LICENSE</td><td>License for &packagename;</td></tr> + <tr><td>Readme.html</td><td>Web page redirect to docs/html/index.html</td></tr> + <tr><td>xerces.jar</td><td>Jar file containing all the parser class files</td></tr> + <tr><td>xercesSamples.jar</td><td>Jar file containing all sample class files</td></tr> + <tr><td>data/</td><td>Directory containing sample XML data files</td></tr> + <tr><td>doc/html/</td><td>Directory containing documentation</td></tr> + <tr><td>doc/html/api/</td><td>Directory containing Javadoc API</td></tr> + </table> + <note>To use &packagename; you do not need the source files.</note> + </section> +--> + +<a name="N10079"></a><a name="Testing+the+distibution"></a> +<h2 class="h3">Testing the distibution</h2> +<div class="section"> +<p> + The first way to ensure that everything is in place is to run the unit + tests. This is simply done by typing <span class="codefrag">ant test</span>. This starts + the included JUnit test cases. Actually, we do not have complete test + coverage, but as a first start, it works. + </p> +</div> + + +<a name="N10086"></a><a name="Playing+around+with+the+examples+"></a> +<h2 class="h3">Playing around with the examples </h2> +<div class="section"> +<p> + To see how the distribution works, simply run <span class="codefrag">ant + mega-sample</span> to let ant execute several examples from the + <span class="codefrag">src_samples/</span> directory. + </p> +</div> + +<a name="N10096"></a><a name="Files+in+the+source+package+release"></a> +<h2 class="h3">Files in the source package release</h2> +<div class="section"> +<table class="ForrestTable" cellspacing="1" cellpadding="4"> + +<tr> + +<td colspan="1" rowspan="1">build.xml</td> + <td colspan="1" rowspan="1">Top level <a class="external" href="http://jakarta.apache.org/ant/index.html">Ant</a> Makefile -- read README + file before building</td> + +</tr> + +<tr> + +<td colspan="1" rowspan="1">LICENSE.txt</td> + <td colspan="1" rowspan="1">License for the software</td> + +</tr> + +<tr> + +<td colspan="1" rowspan="1">README</td> + <td colspan="1" rowspan="1">Build instructions</td> + +</tr> + +<tr> + +<td colspan="1" rowspan="1">Readme.html</td> + <td colspan="1" rowspan="1">Web page redirect required for building documentation</td> + +</tr> + +<tr> + +<td colspan="1" rowspan="1">STATUS</td> + <td colspan="1" rowspan="1">Current source code status information</td> + +</tr> + +<tr> + +<td colspan="1" rowspan="1">data/</td> + <td colspan="1" rowspan="1">Directory containing sample data files and test vectors for the unit tests</td> + +</tr> + +<tr> + +<td colspan="1" rowspan="1">doc/xml/</td> + <td colspan="1" rowspan="1">Directory containing documentation, in XML form</td> + +</tr> + +<tr> + +<td colspan="1" rowspan="1">src/</td> + <td colspan="1" rowspan="1">Directory containing source code for the core library</td> + +</tr> + +<tr> + +<td colspan="1" rowspan="1">src_samples/</td> + <td colspan="1" rowspan="1">Directory containing source code for samples</td> + +</tr> + +<tr> + +<td colspan="1" rowspan="1">src_unitTests/</td> + <td colspan="1" rowspan="1">Directory containing source code for unit tests</td> + +</tr> + +</table> +</div> + + +<a name="N10126"></a><a name="Where+is+my+JCE%3F"></a> +<h2 class="h3">Where is my JCE?</h2> +<div class="section"> +<p> + There is <em>no</em> JCE bundled together with this + distribution. Living in Germany, I had no problem to include the JCE in + this software package but then I realized that the Apache Project is + hosted in the US where some export restrictions apply to the + cryptographic primitives. + </p> +<p> + Well, how do we solve this problem? The nice guys from the <a class="external" href="http://www.bouncycastle.org/">Bouncy Castle</a> where so + helpful to supply the JAR that you need to create HMAC integrity checks + on their web site. When you use the ant makefile <span class="codefrag">build.xml</span> + and simply say <span class="codefrag">ant compile</span> or <span class="codefrag">ant get-jce</span>, + <span class="codefrag">ant</span> tries to fetch this JAR from the australian + server. After that step, the compilation works completely. + </p> +<p></p> +<p> + The ant make tools initiates an automated download of the BouncyCastle + JCE. The file is downloaded into the libs/ directory and a "bc-" is + prepended to the filename. This is done because we want the provider + name (bc means BouncyCastle) being visible in the JAR's filename. + </p> +<p></p> +<p> + If you are a little paranoid like all security people and don't want + ant to make automated downloads or your firewall doesn't permit it + (preventing programs "phoning home"), look in the + <span class="codefrag">./build.xml</span> file for the properties called + </p> +<p></p> +<pre class="code"> + &lt;property name="jce.download.file" value="jce-jdk13-124.jar /&gt; + &lt;property name="jce.download" + value="http://www.bouncycastle.org/download/${jce.download.file}" /&gt; + &lt;property name="lib.jce" value="${libs}/bc-${jce.download.file}" /&gt; + </pre> +<p> + Here you can see that the file + <a class="external" href="http://www.bouncycastle.org/download/jce-jdk13-124.jar">jce-jdk13-124.jar</a> + is downloaded and stored in the location <span class="codefrag">./libs/bc-jce-jdk13-124.jar</span> + +</p> +<p> + If you do this by hand (pointing you favourite web browser and download + it yourself), simply put a "<span class="codefrag">bc-</span>" in front of the filename + and put it to <span class="codefrag">./libs/</span>, then ant won't try to make a + download. + </p> +</div> + +</div> +<!--+ + |end content + +--> +<div class="clearboth">&nbsp;</div> +</div> +<div id="footer"> +<!--+ + |start bottomstrip + +--> +<div class="lastmodified"> +<script type="text/javascript"><!-- +document.write("Last Published: " + document.lastModified); +// --></script> +</div> +<div class="copyright"> + Copyright &copy; 2002-2006 The Apache Software Foundation.</div> +<!--+ + |end bottomstrip + +--> +</div> +</body> +</html> Added: xml/site/targets/security/Java/interop.html URL: http://svn.apache.org/viewvc/xml/site/targets/security/Java/interop.html?view=auto&rev=498968 ============================================================================== --- xml/site/targets/security/Java/interop.html (added) +++ xml/site/targets/security/Java/interop.html Tue Jan 23 01:42:12 2007 @@ -0,0 +1,251 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> +<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<meta content="Apache Forrest" name="Generator"> +<meta name="Forrest-version" content="0.6"> +<meta name="Forrest-skin-name" content="pelt"> +<title>Java Interoperability</title> +<link type="text/css" href="../skin/basic.css" rel="stylesheet"> +<link media="screen" type="text/css" href="../skin/screen.css" rel="stylesheet"> +<link media="print" type="text/css" href="../skin/print.css" rel="stylesheet"> +<link type="text/css" href="../skin/profile.css" rel="stylesheet"> +<script src="../skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="../skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="../skin/fontsize.js" language="javascript" type="text/javascript"></script> +</head> +<body onload="init()"> +<script type="text/javascript">ndeSetTextSize();</script> +<div id="top"> +<!--+ + |breadtrail + +--> +<div class="breadtrail"> +<a href="http://www.apache.org/">apache</a> &gt; <a href="http://xml.apache.org/">xml.apache</a><script src="../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script> +</div> +<!--+ + |header + +--> +<div class="header"> +<!--+ + |start group logo + +--> +<div class="grouplogo"> +<a href="http:///xml.apache.org"><img class="logoImage" alt="Apache XML" src="../images/group-logo.gif"></a> +</div> +<!--+ + |end group logo + +--> +<!--+ + |start Project Logo + +--> +<div class="projectlogo"> +<a href="http://xml.apache.org/security"><img class="logoImage" alt="Apache XML Security" src="../images/project-logo.gif"></a> +</div> +<!--+ + |end Project Logo + +--> +<!--+ + |start Search + +--> +<div class="searchbox"> +<form action="http://www.google.com/search" method="get" class="roundtopsmall"> +<input value="xml.apache.org/security" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with google:');" value="Search the site with google:" size="25" name="q" id="query" type="text">&nbsp; + <input name="Search" value="Search" type="submit"> +</form> +</div> +<!--+ + |end search + +--> +<!--+ + |start Tabs + +--> +<ul id="tabs"> +<li> +<a class="base-not-selected" href="../index.html">Home</a> +</li> +<li class="current"> +<a class="base-selected" href="../Java/index.html">Java</a> +</li> +<li> +<a class="base-not-selected" href="../c/index.html">C++</a> +</li> +</ul> +<!--+ + |end Tabs + +--> +</div> +</div> +<div id="main"> +<div id="publishedStrip"> +<!--+ + |start Subtabs + +--> +<div id="level2tabs"></div> +<!--+ + |end Endtabs + +--> +<script type="text/javascript" language="JavaScript"><!-- + document.write("Published: " + document.lastModified); + // --></script> +</div> +<!--+ + |breadtrail + +--> +<div class="breadtrail"> + + &nbsp; + </div> +<!--+ + |start Menu, mainarea + +--> +<!--+ + |start Menu + +--> +<div id="menu"> +<div onclick="SwitchMenu('menu_selected_1.1', '../skin/')" id="menu_selected_1.1Title" class="menutitle" style="background-image: url('../skin/images/chapter_open.gif');">Java</div> +<div id="menu_selected_1.1" class="selectedmenuitemgroup" style="display: block;"> +<div class="menuitem"> +<a title="" href="../Java/index.html">Index</a> +</div> +<div class="menuitem"> +<a title="" href="../Java/installation.html">Installation</a> +</div> +<div class="menuitem"> +<a title="" href="../Java/examples.html">Examples</a> +</div> +<div class="menuitem"> +<a title="" href="../Java/faq.html">FAQs</a> +</div> +<div class="menuitem"> +<a title="" href="../Java/api.html">API Docs</a> +</div> +<div class="menupage"> +<div class="menupagetitle">Interoperability</div> +</div> +<div class="menuitem"> +<a title="" href="http://lsd.student.utwente.nl/gump/xml-security/xml-security.html">Gump results</a> +</div> +<div class="menuitem"> +<a title="" href="../Java/resolver.html">Resolvermania</a> +</div> +</div> +<div id="credit"></div> +<div id="roundbottom"> +<img style="display: none" class="corner" height="15" width="15" alt="" src="../skin/images/rc-b-l-15-1body-2menu-3menu.png"></div> +<!--+ + |alternative credits + +--> +</div> +<!--+ + |end Menu + +--> +<!--+ + |start content + +--> +<div id="content"> +<div id="skinconf-txtlink"></div> +<h1>Java Interoperability</h1> + +<a name="N1000D"></a><a name="Problems"></a> +<h2 class="h3">Problems</h2> +<div class="section"> +<p>In Version v1.0.4, there is one test case which fails (interop test + for exclusive c14n). This is related to very esoteric node sets (The Y4 + test vector from + <a class="external" href="http://www.w3.org/Signature/2002/02/01-exc-c14n-interop.html"> + the interop matrix + </a>). + </p> +</div> + +<a name="N1001B"></a><a name="Interoperability+issues"></a> +<h2 class="h3">Interoperability issues</h2> +<div class="section"> +<p> + As it can be seen on the + <a class="external" href="http://www.w3c.org/Signature">working group homepage</a>, + there are some interoperability reports, namely for + <a class="external" href="http://www.w3.org/Signature/2000/10/10-c14n-interop.html"> + Canonical XML + </a>, + <a class="external" href="http://www.w3.org/Signature/2002/02/01-exc-c14n-interop.html"> + Exclusive Canonical XML + </a> + and + <a class="external" href="http://www.w3.org/TR/xmldsig-core/2001/04/05-xmldsig-interop.html"> + XML Signature + </a>. + </p> +<p> + Interoperability depends heavily on test vectors, this means that + implementation A has to check whether the signatures from + implementation B can be verified. For this purpose, we have a + collection of different test vectors in our <span class="codefrag">data/</span> + directory. The directory includes test vectors from + </p> +<ul> + +<li> +<a class="external" href="http://www.baltimore.com/keytools/xml/index.html"> + Baltimore KeyTools XML</a> + +</li> + +<li> +<a class="external" href="http://jcewww.iaik.at/products/ixsil/index.php">IAIK IXSIL</a> +</li> + +<li> +<a class="external" href="http://www.rsasecurity.com/products/bsafe/certj.html"> + RSA Security Cert-J</a> + +</li> + +<li>The vectors from the + <a class="external" href="http://www.alphaworks.ibm.com/tech/xmlsecuritysuite"> + IBM alphaWorks XML Security suite + </a> could not been included in this distribution because of + licensing issues. For some reasons which I do not understand, they + copyrighted their test signatures which they have bundled with + xss4j. If you want to include interop testing against IBM in your + unit tests, simply do the following: + Download <span class="codefrag">xss4j-20030127.zip</span> from the + <a class="external" href="http://www.alphaworks.ibm.com/aw.nsf/download/xmlsecuritysuite"> + alphaWorks download page + </a>. + Copy all files from the <span class="codefrag">xss4j-20030127.zip#/xss4j/data</span> + directory into the + <span class="codefrag">xml-security/data/com/ibm/xss4j-20030127/</span> + directory. If the + <a target="_top" href="api/org/apache/xml/security/test/InteropTest.html"> + Interop + </a> class finds these files, the + <span class="codefrag">org.apache.xml.security.test.interop.IBMTest</span> class is + also executed during unit interop tests. + </li> + +</ul> +</div> + +</div> +<!--+ + |end content + +--> +<div class="clearboth">&nbsp;</div> +</div> +<div id="footer"> +<!--+ + |start bottomstrip + +--> +<div class="lastmodified"> +<script type="text/javascript"><!-- +document.write("Last Published: " + document.lastModified); +// --></script> +</div> +<div class="copyright"> + Copyright &copy; 2002-2006 The Apache Software Foundation.</div> +<!--+ + |end bottomstrip + +--> +</div> +</body> +</html> Added: xml/site/targets/security/Java/resolver.html URL: http://svn.apache.org/viewvc/xml/site/targets/security/Java/resolver.html?view=auto&rev=498968 ============================================================================== --- xml/site/targets/security/Java/resolver.html (added) +++ xml/site/targets/security/Java/resolver.html Tue Jan 23 01:42:12 2007 @@ -0,0 +1,324 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> +<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<meta content="Apache Forrest" name="Generator"> +<meta name="Forrest-version" content="0.6"> +<meta name="Forrest-skin-name" content="pelt"> +<title>Resolver-Mania</title> +<link type="text/css" href="../skin/basic.css" rel="stylesheet"> +<link media="screen" type="text/css" href="../skin/screen.css" rel="stylesheet"> +<link media="print" type="text/css" href="../skin/print.css" rel="stylesheet"> +<link type="text/css" href="../skin/profile.css" rel="stylesheet"> +<script src="../skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="../skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="../skin/fontsize.js" language="javascript" type="text/javascript"></script> +</head> +<body onload="init()"> +<script type="text/javascript">ndeSetTextSize();</script> +<div id="top"> +<!--+ + |breadtrail + +--> +<div class="breadtrail"> +<a href="http://www.apache.org/">apache</a> &gt; <a href="http://xml.apache.org/">xml.apache</a><script src="../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script> +</div> +<!--+ + |header + +--> +<div class="header"> +<!--+ + |start group logo + +--> +<div class="grouplogo"> +<a href="http:///xml.apache.org"><img class="logoImage" alt="Apache XML" src="../images/group-logo.gif"></a> +</div> +<!--+ + |end group logo + +--> +<!--+ + |start Project Logo + +--> +<div class="projectlogo"> +<a href="http://xml.apache.org/security"><img class="logoImage" alt="Apache XML Security" src="../images/project-logo.gif"></a> +</div> +<!--+ + |end Project Logo + +--> +<!--+ + |start Search + +--> +<div class="searchbox"> +<form action="http://www.google.com/search" method="get" class="roundtopsmall"> +<input value="xml.apache.org/security" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with google:');" value="Search the site with google:" size="25" name="q" id="query" type="text">&nbsp; + <input name="Search" value="Search" type="submit"> +</form> +</div> +<!--+ + |end search + +--> +<!--+ + |start Tabs + +--> +<ul id="tabs"> +<li> +<a class="base-not-selected" href="../index.html">Home</a> +</li> +<li class="current"> +<a class="base-selected" href="../Java/index.html">Java</a> +</li> +<li> +<a class="base-not-selected" href="../c/index.html">C++</a> +</li> +</ul> +<!--+ + |end Tabs + +--> +</div> +</div> +<div id="main"> +<div id="publishedStrip"> +<!--+ + |start Subtabs + +--> +<div id="level2tabs"></div> +<!--+ + |end Endtabs + +--> +<script type="text/javascript" language="JavaScript"><!-- + document.write("Published: " + document.lastModified); + // --></script> +</div> +<!--+ + |breadtrail + +--> +<div class="breadtrail"> + + &nbsp; + </div> +<!--+ + |start Menu, mainarea + +--> +<!--+ + |start Menu + +--> +<div id="menu"> +<div onclick="SwitchMenu('menu_selected_1.1', '../skin/')" id="menu_selected_1.1Title" class="menutitle" style="background-image: url('../skin/images/chapter_open.gif');">Java</div> +<div id="menu_selected_1.1" class="selectedmenuitemgroup" style="display: block;"> +<div class="menuitem"> +<a title="" href="../Java/index.html">Index</a> +</div> +<div class="menuitem"> +<a title="" href="../Java/installation.html">Installation</a> +</div> +<div class="menuitem"> +<a title="" href="../Java/examples.html">Examples</a> +</div> +<div class="menuitem"> +<a title="" href="../Java/faq.html">FAQs</a> +</div> +<div class="menuitem"> +<a title="" href="../Java/api.html">API Docs</a> +</div> +<div class="menuitem"> +<a title="" href="../Java/interop.html">Interoperability</a> +</div> +<div class="menuitem"> +<a title="" href="http://lsd.student.utwente.nl/gump/xml-security/xml-security.html">Gump results</a> +</div> +<div class="menupage"> +<div class="menupagetitle">Resolvermania</div> +</div> +</div> +<div id="credit"></div> +<div id="roundbottom"> +<img style="display: none" class="corner" height="15" width="15" alt="" src="../skin/images/rc-b-l-15-1body-2menu-3menu.png"></div> +<!--+ + |alternative credits + +--> +</div> +<!--+ + |end Menu + +--> +<!--+ + |start content + +--> +<div id="content"> +<div id="skinconf-txtlink"></div> +<h1>Resolver-Mania</h1> + +<a name="N1000D"></a><a name="Why+do+we+need+all+these+resolvers%3F"></a> +<h2 class="h3">Why do we need all these resolvers?</h2> +<div class="section"> +<p> + For security and comfort reasons. In the XML Security package, there + exist many kinds of Resolvers for different purposes. Resolvers in this + package do the same job as an EntityResolver in the SAX package: + retrieve information from the apropriate location and give it to the + parser/software who needs it. The reason for offering these different + Resolvers is that it should be under complete control of the + application which connections to the network are made. In the security + area, it wouldn't be a good idea to imediately fetch some documents + from the web or make other connections only because you want to verify + a Signature. This resolver framework gives the application developer + the ability to have total control about the interface from the library + to the rest of the world. + </p> +</div> + +<a name="N10017"></a><a name="Types+of+resolvers"></a> +<h2 class="h3">Types of resolvers</h2> +<div class="section"> +<a name="N1001D"></a><a name="ResourceResolvers"></a> +<h3 class="h4">ResourceResolvers</h3> +<p> + A + <a target="_top" href="api/org/apache/xml/security/utils/resolver/ResourceResolver.html"> + ResourceResolver + </a> is used by a + <a target="_top" href="api/org/apache/xml/security/signature/Reference.html"> + Reference + </a> to retrieve the signed resource from it's location. Different + resolvers exist to get signed portions from the XML document in which + the signature resides, to make HTTP connections or to fetch files + from the local file system. <br> + The concept of a + <a target="_top" href="api/org/apache/xml/security/utils/resolver/ResourceResolver.html"> + ResourceResolver + </a> is very similar to an org.xml.sax.EntityResolver, but in + contrast to that Interface, the ResourceResolver is able to + de-reference contents <em>inside</em> an XML document. + </p> +<a name="N10038"></a><a name="StorageResolver"></a> +<h3 class="h4">StorageResolver</h3> +<p>A + <a target="_top" href="api/org/apache/xml/security/keys/storage/StorageResolver.html"> + StorageResolver + </a> is used by + <a target="_top" href="api/org/apache/xml/security/keys/KeyInfo.html"> + KeyInfo + </a> and it's child objects / Elements to retrieve Certificates + from storage locations. This approach is used to allow a user to + customize the library for use in a specific corporate + environment. It's possible to write + <a target="_top" href="api/org/apache/xml/security/keys/storage/StorageResolver.html"> + StorageResolver + </a>s who make requests to LDAP servers or to use specificic PKI + interfaces. <br> + Bundled with the software come three sample + <a target="_top" href="api/org/apache/xml/security/keys/storage/StorageResolver.html"> + StorageResolver + </a>s which can be used for common tasks: + </p> +<ul> + +<li> + The + <a target="_top" href="api/org/apache/xml/security/keys/storage/implementations/KeyStoreResolver.html"> + KeyStoreResolver + </a> is able to retrieve Certificates from a JAVA KeyStore + object. This + <a target="_top" href="api/org/apache/xml/security/keys/storage/implementations/KeyStoreResolver.html"> + KeyStoreResolver + </a> is constructed from an open JAVA KeyStore. + </li> + +<li> + The + <a target="_top" href="api/org/apache/xml/security/keys/storage/implementations/SingleCertificateResolver.html"> + SingleCertificateResolver + </a> resolves only to a single Certificate. The + <a target="_top" href="api/org/apache/xml/security/keys/storage/implementations/SingleCertificateResolver.html"> + SingleCertificateResolver + </a> is constructed using this single Certificate. + </li> + +<li> + The + <a target="_top" href="api/org/apache/xml/security/keys/storage/implementations/CertsInFilesystemDirectoryResolver.html"> + CertsInFilesystemDirectoryResolver + </a> is useful for resolving to raw X.509 certificates which + reside as separate files in a directory in the filesystem. Such a + resolver is needed for verifying the test signatures from Merlin + Huges which are bundled in a directory. + </li> + +</ul> +<p> + +<a target="_top" href="api/org/apache/xml/security/keys/storage/StorageResolver.html"> + StorageResolver + </a>s are supplied to the KeyInfo's <span class="codefrag">addStorageResolver()</span> method. + </p> +<p> + Generally, a + <a target="_top" href="api/org/apache/xml/security/keys/storage/StorageResolver.html"> + StorageResolver + </a> has only a method to return an Iterator which iterates + through the available Certificates. + </p> +<a name="N10085"></a><a name="KeyResolver"></a> +<h3 class="h4">KeyResolver</h3> +<p> + A + <a target="_top" href="api/org/apache/xml/security/keys/keyresolver/KeyResolver.html"> + KeyResolver + </a> is used by + <a target="_top" href="api/org/apache/xml/security/keys/KeyInfo.html"> + KeyInfo + </a> to process it's child Elements. There exist two general + classes of a + <a target="_top" href="api/org/apache/xml/security/keys/keyresolver/KeyResolver.html"> + KeyResolver + </a>: + </p> +<ul> + +<li> + If a ds:RSAKeyValue or ds:DSAKeyValue or ds:X509Certificate is used + inside the ds:KeyInfo, the resolvers can return a public key or + Certificate directly without further action, because the key itself + is contained inside the ds:Signature. + </li> + +<li> + If there is only key material identification information like a + ds:KeyName or the serial number of the Certificate, the KeyResolver + must use the StorageResolvers to query the available keys and + certificates to find the correct one. + </li> + +</ul> +<p> + Of course, there are cross-dependencies: e.g. a KeyResolver named + <a target="_top" href="api/org/apache/xml/security/keys/keyresolver/implementations/RetrievalMethodResolver.html"> + RetrievalMethodResolver + </a> uses the + <a target="_top" href="api/org/apache/xml/security/utils/resolver/ResourceResolver.html"> + ResourceResolver + </a> framework to retrieve a public key or certificate from an + arbitrary location. + </p> +</div> + +</div> +<!--+ + |end content + +--> +<div class="clearboth">&nbsp;</div> +</div> +<div id="footer"> +<!--+ + |start bottomstrip + +--> +<div class="lastmodified"> +<script type="text/javascript"><!-- +document.write("Last Published: " + document.lastModified); +// --></script> +</div> +<div class="copyright"> + Copyright &copy; 2002-2006 The Apache Software Foundation.</div> +<!--+ + |end bottomstrip + +--> +</div> +</body> +</html> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
From [email protected] Mon Aug 04 04:37:04 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92269 invoked from network); 4 Aug 2008 04:37:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Aug 2008 04:37:04 -0000 Received: (qmail 69714 invoked by uid 500); 4 Aug 2008 04:37:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-user.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 69703 invoked by uid 99); 4 Aug 2008 04:37:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Aug 2008 21:37:03 -0700 X-ASF-Spam-Status: No, hits=-2.0 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO sca-es-mail-2.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2008 04:36:06 +0000 Received: from fe-sfbay-10.sun.com ([161.129.204.104]) by sca-es-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id m744aC4Y001116 for <[email protected]>; Sun, 3 Aug 2008 21:36:22 -0700 (PDT) Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <[email protected]> (original mail from [email protected]) for [email protected]; Sun, 03 Aug 2008 21:36:12 -0700 (PDT) Received: from [161.129.204.104] ([161.129.204.104]) by fe-sfbay-10.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTPSA id <[email protected]> for [email protected]; Sun, 03 Aug 2008 21:36:12 -0700 (PDT) Date: Sun, 03 Aug 2008 21:37:49 -0700 From: Michelle Caisse <[email protected]> Subject: [Fwd: [VOTE] Release Apache JDO 2.1.1] Sender: [email protected] To: [email protected] Reply-to: [email protected] Message-id: <[email protected]> MIME-version: 1.0 Content-type: multipart/alternative; boundary="Boundary_(ID_S3wNjngjeHN1d8niaRAcLQ)" User-Agent: Thunderbird 161.129.204.104 (Windows/20080708) X-Virus-Checked: Checked by ClamAV on apache.org --Boundary_(ID_S3wNjngjeHN1d8niaRAcLQ) Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT FYI, this release fixes manifest file problem. -- Michelle -------- Original Message -------- Subject: [VOTE] Release Apache JDO 2.1.1 Date: Sat, 02 Aug 2008 09:41:56 -0700 From: Michelle Caisse <[email protected]> Reply-To: [email protected] To: [email protected], [email protected] : This vote is to release the Apache JDO 2.1.1 TCK and API (both legacy and current versions) with the projects that they depend on: enhancer, model, and util. [+1] Release JDO 2.1.1 api, tck, enhancer, model, and util [0] Don't care [-1] Don't release JDO 2.1.1 api, tck, enhancer, model, and util because: The TCK can be tested from the staging area, http://people.apache.org/~mcaisse/jdo2.1.1/dist. Please follow the directions at http://wiki.apache.org/jdo/ReleaseTesting2dot1dot1 for downloading and testing. JDO 2.1.1 provides fixes for the following issues: * http://issues.apache.org/jira/browse/JDO-584 * http://issues.apache.org/jira/browse/JDO-585 * http://issues.apache.org/jira/browse/JDO-586 * http://issues.apache.org/jira/browse/JDO-593 * http://issues.apache.org/jira/browse/JDO-600 * http://issues.apache.org/jira/browse/JDO-601 Please test and vote. Voting will close at noon PDT Tuesday, August 5. -- Michelle --Boundary_(ID_S3wNjngjeHN1d8niaRAcLQ)-- From [email protected] Thu Aug 21 14:10:55 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56637 invoked from network); 21 Aug 2008 14:10:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Aug 2008 14:10:55 -0000 Received: (qmail 97557 invoked by uid 500); 21 Aug 2008 14:10:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-user.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 97536 invoked by uid 99); 21 Aug 2008 14:10:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Aug 2008 07:10:53 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO smtprelay09.ispgateway.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Aug 2008 14:09:54 +0000 Received: from [161.129.204.104] (helo=kali.berlin.artnology.com) by smtprelay09.ispgateway.de with esmtpa (Exim 4.68) (envelope-from <[email protected]>) id 1KWArl-0000KD-Hf; Thu, 21 Aug 2008 16:10:22 +0200 Message-ID: <[email protected]> Date: Thu, 21 Aug 2008 16:11:54 +0200 From: Joerg von Frantzius <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20080720) MIME-Version: 1.0 To: [email protected] CC: Apache JDO project <[email protected]> Subject: Re: Updating datastore with transient instance References: <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 0.95.7 Content-Type: multipart/mixed; boundary="------------000309000901070100050201" X-Df-Sender: 383542 X-Virus-Checked: Checked by ClamAV on apache.org --------------000309000901070100050201 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hi, the use-case sounds very reasonable to me, e.g. when the implementation of a web-service sends out a serialized persistent object, receives back the object with changes, and now needs to apply the changes to the database. Since makePersistent() is handling attaching so far, this could be the place to transition such an object from transient to persistent-dirty (with all fields marked dirty). Maybe an exception should be thrown when there already is a persistent-dirty object with the same id managed by the same PM. Since that would mean change of behaviour (somebody might rely on inserting new objects when calling makePersistent() on transient instances that have an id value), there probably should be an additional setMergeOnMakePersistent(boolean) or something like that, defaulting to the old behaviour. This would only work for application-identity. For datastore-identity, some new method(s) would be required to determine the objects' ids, as Pavel suggested. Regards, Jörg Pavel wrote: > Hi, > > This email is a continuation of discussion started at > http://www.jpox.org/servlet/forum/viewthread?thread=4893&lastpage=yes . > > Quick summary is that there is a number of [I believe fairly strong] cases > where application deals with transient objects which somehow correspond to > already persisted objects. > > These instances have updated state in there, but persisting that state takes > extra code and datastore hits, just to preload persistent counterpart and > copy properties. > > My question is whether it is possible and makes sense for JDO to support > "attachment" of transient objects, so that > a) all the steps required for such "attachment" become duty of JDO > implementation, not client code and > b) reads before update are optimized (e.g. one read for collection) or > [email protected]. > > Code-wise I imagine methods like > > // Application identity > <T> T attachTransient(T instanceWithAppIdentity); > <T> Collection<T> attachTransientAll(Collection<T> > instancesWithAppIdentity); > > // Datastore identity - client code provides id explicitly to let JDO > identify persistent counterpart > <T> T attachTransient(T instanceWithDSIdentity, Object id); > <T> Map<Object, T> attachTransientAll(Map<Object, T> > instancesWithDSIdentity); // Map is {id => instance} > > What do you think? > > Thanks, > Pavel > > -- ____________________________________________________________________ artnology GmbH - Milastraße 4 - 10437 Berlin - Germany Geschäftsführer: Ekkehard Blome (CEO), Felix Kuschnick (CCO) Registergericht: Amtsgericht Berlin Charlottenburg HRB 76376 UST-Id. DE 217652550 --------------000309000901070100050201-- From [email protected] Mon Aug 25 16:13:24 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86195 invoked from network); 25 Aug 2008 16:13:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Aug 2008 16:13:24 -0000 Received: (qmail 92248 invoked by uid 500); 25 Aug 2008 16:13:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-user.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 19313 invoked by uid 99); 25 Aug 2008 09:02:10 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=Z5ydivDyyCQa6FaQ0JC/K1UXTRicc17HEAz27SxSyPQ=; b=qw+KVNnoijslfSDnDk0+P5FdUdhgojUjnHacbJ4z46dGU/QsoonkhTbKfHfSIeY31w ZklfIxo4Y/BP0/yRBBuMwK6Q2rCMcf8xjK7fh5Quh7DfPGP5CykHFfPkL1pBdnag7RxD 3nib+S88EJfzTFPO5S00dp3W4RIcdIm6HY4/0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=dVFvAQ1NDH1LpOmCFXPghoP43Dm2TEEJXfsNuT3pIl88rEhNfqYuWk8qbTxZXZFaQQ DHwEDXRAypfHI6vy332bQOGkipdyFArpYLuZMC5eSDdP/bY7K9qDGZiAapP66IXyrvel kUX06O8lkNTbVq+7ycedprzWGXqn/F+YD0FEM= Message-ID: <[email protected]> Date: Mon, 25 Aug 2008 14:31:24 +0530 From: pandu <[email protected]> To: [email protected] Subject: Issue in performance MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi All, I am using kodo(JDO) for generation of query in our project.How can I simulate the java code to generate the exists clause in my sql query? Please throw some light on this. Regards Pandu From [email protected] Mon Aug 25 16:44:22 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99827 invoked from network); 25 Aug 2008 16:44:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Aug 2008 16:44:22 -0000 Received: (qmail 30026 invoked by uid 500); 25 Aug 2008 16:44:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jdo-user.db.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 30015 invoked by uid 99); 25 Aug 2008 16:44:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Aug 2008 09:44:20 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO ptb-relay02.plus.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Aug 2008 16:43:20 +0000 Received: from [161.129.204.104] (helo=[161.129.204.104]) by ptb-relay02.plus.net with esmtp (Exim) id 1KXf7O-0002oQ-IE; Mon, 25 Aug 2008 17:40:38 +0100 From: Andy Jefferson <[email protected]> To: [email protected] Subject: Re: Issue in performance Date: Mon, 25 Aug 2008 17:40:37 +0100 User-Agent: KMail/1.9.6 Cc: pandu <[email protected]> References: <[email protected]> In-Reply-To: <[email protected]> Organization: DataNucleus MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <[email protected]> X-Plusnet-Relay: 7765b870249263fe8180e2636dd7eeb3 X-Virus-Checked: Checked by ClamAV on apache.org Hi, > I am using kodo(JDO) for generation of query in our project.How can I > simulate the java code to generate the exists clause in my sql query? > Please throw some light on this. I would have thought that the Oracle forum and support process would the best place to get detailed information about their implementation if you have performance issues with it. Aren't they giving support on Kodo now? Getting an EXISTS clause generated from JDOQL would usually involve the use of the contains() or isEmpty() methods. If you deem that Oracle aren't serious about supporting their JDO implementation then DataNucleus is really what you should be trying, since we do treat JDO as a first class persistence specification ... Regards -- Andy (DataNucleus - http://www.datanucleus.org)
From [email protected] Sun Aug 05 14:04:01 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88606 invoked by uid 500); 5 Aug 2001 14:04:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 88595 invoked from network); 5 Aug 2001 14:04:00 -0000 Message-ID: <[email protected]> Date: Sun, 05 Aug 2001 16:03:00 +0200 From: Peter Nimmervoll <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9) Gecko/20010505 X-Accept-Language: en, de-at MIME-Version: 1.0 To: [email protected] Subject: ECS2? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Hi, What is ECS2? I didn´t find information on ecs homepage or in ecs2-cvs. Peter --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Aug 05 21:32:46 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3411 invoked by uid 500); 5 Aug 2001 21:32:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 3400 invoked from network); 5 Aug 2001 21:32:45 -0000 Message-Id: <[email protected]> Date: Sun, 5 Aug 2001 22:33:05 +0100 Content-Type: text/plain; format=flowed; charset=iso-8859-1 X-Mailer: Apple Mail (2.388) From: robert burrell donkin <[email protected]> To: [email protected] Mime-Version: 1.0 (Apple Message framework v388) In-Reply-To: <[email protected]> Subject: Re: ECS2? Content-Transfer-Encoding: quoted-printable X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N On Sunday, August 5, 2001, at 03:03 PM, Peter Nimmervoll wrote: > Hi, hi peter > What is ECS2? > I didn=B4t find information on ecs homepage or in ecs2-cvs. ecs2 is a refactored version of ecs. when it's done it should be faster=20= and smarter than the original ecs. the best place to find information=20 about it is to start with the mailing list archives (you'll find=20 instructions about how to find them on the main jakarta site). you = should=20 find many questions answered already by those who devised and designed = it. of course, if you find that you have more questions after you've read=20= what's there, then feel free to post them to this list, - robert --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 06 14:56:56 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71113 invoked by uid 500); 6 Aug 2001 14:56:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 71101 invoked from network); 6 Aug 2001 14:56:55 -0000 Message-ID: <[email protected]> Date: Mon, 06 Aug 2001 09:52:07 -0500 From: Stephan Nagy <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2+) Gecko/20010710 X-Accept-Language: en-us MIME-Version: 1.0 To: [email protected] Subject: Re: ECS2? References: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N robert burrell donkin wrote: > On Sunday, August 5, 2001, at 03:03 PM, Peter Nimmervoll wrote: > >> Hi, > > > hi peter > >> What is ECS2? >> I didn´t find information on ecs homepage or in ecs2-cvs. > > > ecs2 is a refactored version of ecs. when it's done it should be > faster and smarter than the original ecs. the best place to find > information about it is to start with the mailing list archives > (you'll find instructions about how to find them on the main jakarta > site). you should find many questions answered already by those who > devised and designed it. > of course, if you find that you have more questions after you've > read what's there, then feel free to post them to this list, I find myself saying this alot these days, if only i had more *free* time. I would really like to wrap up ecs2 and get a release out there but between release cycles here, house hunting, and family concerns I haven't really had much time to wrap it up. Robert are you still working on the texen stuff for ecs2 to generate the html and rtf classes? -stephan --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 06 18:41:40 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79199 invoked by uid 500); 6 Aug 2001 18:41:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 79187 invoked from network); 6 Aug 2001 18:41:39 -0000 Message-Id: <[email protected]> Date: Mon, 6 Aug 2001 19:40:23 +0100 Content-Type: text/plain; format=flowed; charset=us-ascii X-Mailer: Apple Mail (2.388) From: robert burrell donkin <[email protected]> To: [email protected] Mime-Version: 1.0 (Apple Message framework v388) In-Reply-To: <[email protected]> Subject: Re: ECS2? Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N On Monday, August 6, 2001, at 03:52 PM, Stephan Nagy wrote: <snip> > I find myself saying this alot these days, if only i had more *free* > time. I would really like to wrap up ecs2 and get a release out there > but between release cycles here, house hunting, and family concerns I > haven't really had much time to wrap it up. Robert are you still working > on the texen stuff for ecs2 to generate the html and rtf classes? depends on what you mean :) i've been happy for a while that i could - with a few changes and sufficient supervision - generation ecs2 elements. so i haven't really been working on it. the problem with generation is that it really needs to be done as late as possible since one-way generation (DTD->source) is much easier than round-tripping. once you start making hand-coded changes, you need to be confident that you don't need to regenerate. most times i've used generation before i've had a pretty good understanding of the code. i really can't say that about ecs2. what i need to move forward on generation is to focus on just one ecs package - let's say rtf - and get templates that seem to work ok for that. then they can be rolled out and refined as we go. what would be really useful for me is just one or two typical example classes from rtf hand-coded. i can then use these as a base-line and attempt to generate to them (ie. have a template that produces identical output for those classes). once i've got to that stage i'd need you to go through and take a look at the complete rtf package and make sure that the generation's working ok. we can then try to generate everything and maybe create some junit tests for the major packages so we can make sure that the stuff works. then we'd need to start tweaking by hand - and we'd be committed to the generated code. another issue is one of the main features of ecs are all those really handy methods which can't really be generated. from what i can see, the work on html seems to have stalled (i'm happy to be corrected, though). so even once we've got a set of templates that you, we'll still need to go through and transfer methods across. if you could find the time just to code one or two typical rtf elements (i shouldn't need more than that), then i'll start to work on creating templates for the generation. - robert --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 06 18:51:59 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85693 invoked by uid 500); 6 Aug 2001 18:51:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 85682 invoked from network); 6 Aug 2001 18:51:59 -0000 Message-ID: <[email protected]> Date: Mon, 06 Aug 2001 13:47:10 -0500 From: Stephan Nagy <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2+) Gecko/20010710 X-Accept-Language: en-us MIME-Version: 1.0 To: [email protected] Subject: Re: ECS2? References: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N <snip> robert burrell donkin wrote: > most times i've used generation before i've had a pretty good > understanding of the code. i really can't say that about ecs2. what i > need to move forward on generation is to focus on just one ecs package > - let's say rtf - and get templates that seem to work ok for that. > then they can be rolled out and refined as we go. what would be really > useful for me is just one or two typical example classes from rtf > hand-coded. i can then use these as a base-line and attempt to > generate to them (ie. have a template that produces identical output > for those classes). once i've got to that stage i'd need you to go > through and take a look at the complete rtf package and make sure that > the generation's working ok. we can then try to generate everything > and maybe create some junit tests for the major packages so we can > make sure that the stuff works. then we'd need to start tweaking by > hand - and we'd be committed to the generated code. Agreed. > > > another issue is one of the main features of ecs are all those really > handy methods which can't really be generated. from what i can see, > the work on html seems to have stalled (i'm happy to be corrected, > though). so even once we've got a set of templates that you, we'll > still need to go through and transfer methods across. Yeah, If we can cut down on 70% of the generation of the initial html element code the biggest barrier will be crossed, It's alot easier/fun to code useful methods/constructors then it is a bunch of accessors. Nope, I'd pretty much agree html is pretty much stalled. > if you could find the time just to code one or two typical rtf > elements (i shouldn't need more than that), then i'll start to work on > creating templates for the generation. Ok, I can do that their isn't much to rtf. -stephan --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Aug 06 20:28:10 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10366 invoked by uid 500); 6 Aug 2001 20:28:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 10355 invoked from network); 6 Aug 2001 20:28:10 -0000 Message-Id: <[email protected]> Date: Mon, 6 Aug 2001 21:28:07 +0100 Content-Type: text/plain; format=flowed; charset=us-ascii X-Mailer: Apple Mail (2.388) From: robert burrell donkin <[email protected]> To: [email protected] Mime-Version: 1.0 (Apple Message framework v388) In-Reply-To: <[email protected]> Subject: Re: ECS2? Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N On Monday, August 6, 2001, at 07:47 PM, Stephan Nagy wrote: > <snip> > > robert burrell donkin wrote: > >> most times i've used generation before i've had a pretty good >> understanding of the code. i really can't say that about ecs2. what i >> need to move forward on generation is to focus on just one ecs package - >> let's say rtf - and get templates that seem to work ok for that. then >> they can be rolled out and refined as we go. what would be really useful >> for me is just one or two typical example classes from rtf hand-coded. i >> can then use these as a base-line and attempt to generate to them (ie. >> have a template that produces identical output for those classes). once >> i've got to that stage i'd need you to go through and take a look at the >> complete rtf package and make sure that the generation's working ok. we >> can then try to generate everything and maybe create some junit tests >> for the major packages so we can make sure that the stuff works. then we' >> d need to start tweaking by hand - and we'd be committed to the >> generated code. > > Agreed. > >> >> >> another issue is one of the main features of ecs are all those really >> handy methods which can't really be generated. from what i can see, the >> work on html seems to have stalled (i'm happy to be corrected, though). >> so even once we've got a set of templates that you, we'll still need to >> go through and transfer methods across. > > Yeah, If we can cut down on 70% of the generation of the initial html > element code the biggest barrier will be crossed, It's alot easier/fun > to code useful methods/constructors then it is a bunch of accessors. Nope, > I'd pretty much agree html is pretty much stalled. >> if you could find the time just to code one or two typical rtf elements >> (i shouldn't need more than that), then i'll start to work on creating >> templates for the generation. > > Ok, I can do that their isn't much to rtf. cool :) - robert --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Aug 07 15:41:40 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52072 invoked by uid 500); 7 Aug 2001 15:41:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 52059 invoked by uid 500); 7 Aug 2001 15:41:39 -0000 Delivered-To: [email protected] Date: 7 Aug 2001 15:39:57 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-ecs/src/java/org/apache/ecs ElementAttributes.java X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N snagy 01/08/07 08:39:56 Modified: src/java/org/apache/ecs ElementAttributes.java Log: Submitted by: [email protected] Reviewed by: [email protected] Change the way keyword/value pair is delimited with quotes. Revision Changes Path 1.12 +98 -11 jakarta-ecs/src/java/org/apache/ecs/ElementAttributes.java Index: ElementAttributes.java =================================================================== RCS file: /home/cvs/jakarta-ecs/src/java/org/apache/ecs/ElementAttributes.java,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- ElementAttributes.java 2001/04/13 14:35:20 1.11 +++ ElementAttributes.java 2001/08/07 15:39:56 1.12 @@ -62,7 +62,7 @@ /** This class provides a common set of attributes set* methods for all classes. It is abstract to prevent direct instantiation. - @version $Id: ElementAttributes.java,v 1.11 2001/04/13 14:35:20 snagy Exp $ + @version $Id: ElementAttributes.java,v 1.12 2001/08/07 15:39:56 snagy Exp $ @author <a href="mailto:[email protected]">Stephan Nagy</a> @author <a href="mailto:[email protected]">Jon S. Stevens</a> */ @@ -353,17 +353,104 @@ } out.append(' '); out.append(alterCase(attr)); - if(!value.equalsIgnoreCase(NO_ATTRIBUTE_VALUE) && getAttributeQuote()) - { - out.append(getAttributeEqualitySign()); - out.append(getAttributeQuoteChar()); - out.append(value); - out.append(getAttributeQuoteChar()); - } - else if( !getAttributeQuote() ) + int iStartPos = out.length(); + out.append(alterCase(attr)); + if ( !value.equalsIgnoreCase(NO_ATTRIBUTE_VALUE) ) { - out.append(getAttributeEqualitySign()); - out.append(value); + // we have a value + // we might still enclose in quotes + boolean quoteThisAttribute = attribute_quote; + int singleQuoteFound = 0; + int doubleQuoteFound = 0; + if ( value.length() == 0 ) + { // quote a null string + quoteThisAttribute = true; + } + for ( int ii = 0; ii < value.length(); ii++ ) + { + char c = value.charAt( ii ); + if ( 'a' <= c && c <= 'z' ) + { + continue; + } + if ( 'A' <= c && c <= 'Z' ) + { + continue; + } + if ( '0' <= c && c <= '9' ) + { + continue; + } + if ( c == ':' || + c == '-' || + c == '_' || + c == '.' ) + { + continue; + } + if ( c == '\'' ) + { + singleQuoteFound++; + } + if ( c == '"' ) + { + doubleQuoteFound++; + } + quoteThisAttribute = true; + } + out.append( getAttributeEqualitySign() ); + if ( !quoteThisAttribute ) + { // no need to append quotes + out.append( value ); + } + else + { // use single quotes if possible + if ( singleQuoteFound == 0 ) + { // no single quotes, safe to use them to quote + out.append( '\'' ); + out.append( value ); + out.append( '\'' ); + } + else + if ( doubleQuoteFound == 0 ) + { // no double quotes, safe to use them to quote + out.append( '"' ); + out.append( value ); + out.append( '"' ); + } + else if ( singleQuoteFound <= doubleQuoteFound ) + { // use single quotes, convert embedded single quotes + out.append( '\'' ); + int startPos = out.length(); + out.append( value ); + for ( int ii = startPos; ii < out.length(); ii++ ) + { // note out.length() may change during processing + if ( out.charAt( ii ) == '\'' ) + { + out.setCharAt( ii, '&'); + out.insert( ii+1, "#39;" ); + ii++; + } + } + out.append( '\'' ); + } + else + { // use double quotes, convert embedded double quotes + out.append( '"' ); + int startPos = out.length(); + out.append( value ); + for ( int ii = startPos; ii < out.length(); ii++ ) + { // note out.length() may change during processing + if ( out.charAt( ii ) == '"' ) + { + out.setCharAt( ii, '&'); + out.insert( ii+1, "#34;" ); + ii++; + } + } + out.append( '"' ); + } + } } } if(getBeginEndModifierDefined()) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Aug 22 20:26:53 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76838 invoked by uid 500); 22 Aug 2001 20:26:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 76827 invoked by uid 500); 22 Aug 2001 20:26:52 -0000 Delivered-To: [email protected] Delivered-To: [email protected] Date: 22 Aug 2001 20:21:19 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-ecs2/src/org/apache/ecs/xhtml - New directory X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N rdonkin 01/08/22 13:21:19 jakarta-ecs2/src/org/apache/ecs/xhtml - New directory --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Aug 22 20:27:05 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76986 invoked by uid 500); 22 Aug 2001 20:27:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 76975 invoked from network); 22 Aug 2001 20:27:04 -0000 Message-Id: <[email protected]> Date: Wed, 22 Aug 2001 21:27:16 +0100 Content-Type: text/plain; format=flowed; charset=us-ascii X-Mailer: Apple Mail (2.388) From: robert burrell donkin <[email protected]> To: [email protected] Mime-Version: 1.0 (Apple Message framework v388) In-Reply-To: <[email protected]> Subject: ecs 2 iteration 1 Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N i'm going to commit a first attempt (iteration 1) at generating a reasonable ecs2 package (org.apache.ecs.xhtml) from an xml-schema document. i'd appreciate it if people could take a look and feed back improvements needed for the template. BTW there's no point in submitting patches since i'll be regenerating and replacing the whole package with the next iteration - you'll need to describe what's wrong in an email. - robert --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Aug 22 21:34:35 2001 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 75833 invoked by uid 500); 22 Aug 2001 21:34:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> list-post: <mailto:[email protected]> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 75822 invoked from network); 22 Aug 2001 21:34:34 -0000 Message-Id: <[email protected]> Date: Wed, 22 Aug 2001 22:34:36 +0100 Content-Type: text/plain; format=flowed; charset=us-ascii X-Mailer: Apple Mail (2.388) From: robert burrell donkin <[email protected]> To: [email protected] Mime-Version: 1.0 (Apple Message framework v388) In-Reply-To: <[email protected]> Subject: commit message too large Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N the commit message for the iteration 1 commit was too big and was thrown out by the apache mail system. so i thought i'd let you know by hand that the generated ecs2 xhtml package has been committed :) - robert --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
From [email protected] Sun Oct 04 06:43:37 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35481 invoked from network); 4 Oct 2009 06:43:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Oct 2009 06:43:36 -0000 Received: (qmail 43058 invoked by uid 500); 4 Oct 2009 06:43:36 -0000 Delivered-To: [email protected] Received: (qmail 42993 invoked by uid 500); 4 Oct 2009 06:43:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xindice-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 42985 invoked by uid 99); 4 Oct 2009 06:43:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Oct 2009 06:43:36 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Oct 2009 06:43:33 +0000 Received: from [161.129.204.104] (localhost [161.129.204.104]) by vmgump.apache.org (Postfix) with ESMTP id 4D5FEAB4092 for <[email protected]>; Sat, 3 Oct 2009 23:43:08 -0700 (PDT) Date: Sat, 03 Oct 2009 23:43:08 PDT From: Sam Ruby <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project xml-xindice (in module xml-xindice) failed Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project xml-xindice has an issue affecting its community integration. This issue affects 1 projects. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - xml-xindice : native XML database Full details are available at: http://vmgump.apache.org/gump/public/xml-xindice/xml-xindice/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [xindice-03102009.jar] identifier set to project name -INFO- Made directory [/srv/gump/public/workspace/xml-xindice/build/classes] -INFO- Failed with reason build failed -DEBUG- Extracted fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/xml-xindice/xml-xindice/gump_work/build_xml-xindice_xml-xindice.html Work Name: build_xml-xindice_xml-xindice (Type: Build) Work ended in a state of : Failed Elapsed: 7 secs Command Line: /usr/lib/jvm/java-6-sun/bin/java -Djava.awt.headless=true -Xbootclasspath/p:/srv/gump/packages/java_xml_pack-summer-02_01/jaxp-1.2_01/xercesImpl.jar:/srv/gump/packages/java_xml_pack-summer-02_01/jaxp-1.2_01/dom.jar:/srv/gump/packages/java_xml_pack-summer-02_01/jaxp-1.2_01/xalan.jar:/srv/gump/packages/java_xml_pack-summer-02_01/jaxp-1.2_01/jaxp-api.jar:/srv/gump/packages/java_xml_pack-summer-02_01/jaxp-1.2_01/sax.jar:/srv/gump/public/workspace/xml-xalan/build/serializer.jar:/srv/gump/public/workspace/xml-xalan/build/xalan-unbundled.jar org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Dproject.version=03102009 [Working Directory: /srv/gump/public/workspace/xml-xindice] CLASSPATH: /usr/lib/jvm/java-6-sun/lib/tools.jar:/srv/gump/public/workspace/xml-xindice/build/classes:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/ant/dist/lib/ant-trax.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/packages/junit3.8.1/junit.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/xml-xindice/lib/xmldb-common-20030701.jar:/srv/gump/public/workspace/xml-xindice/lib/xmldb-xupdate-20040205.jar:/srv/gump/public/workspace/xml-xindice/lib/xmldb-api-sdk-20030701.jar:/srv/gump/public/workspace/xml-xindice/lib/xmldb-api-20030701.jar:/srv/gump/p ackages/junitperf-1.8/lib/junitperf.jar:/srv/gump/public/workspace/ws-xmlrpc/common/target/xmlrpc-common-3.1.3-SNAPSHOT.jar:/srv/gump/public/workspace/ws-xmlrpc/server/target/xmlrpc-server-3.1.3-SNAPSHOT.jar:/srv/gump/public/workspace/ws-xmlrpc/client/target/xmlrpc-client-3.1.3-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/fileupload/target/commons-fileupload-03102009.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-03102009.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api-03102009.jar:/srv/gump/public/workspace/lucene-java/build/lucene-core-03102009.jar:/srv/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/srv/gump/public/workspace/junit/dist/junit-03102009.jar:/srv/gump/public/workspace/junit-addons/dist/junit-addons-03102009.jar:/srv/gump/public/workspace/xmlunit/build/java/lib/xmlunit-sumo-03102009.jar --------------------------------------------- clover.on: compile-src: [mkdir] Created dir: /srv/gump/public/workspace/xml-xindice/build/classes-dom [javac] Compiling 4 source files to /srv/gump/public/workspace/xml-xindice/build/classes-dom [javac] Compiling 299 source files to /srv/gump/public/workspace/xml-xindice/build/classes [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/core/indexer/LuceneIndexer.java:32: warning: [deprecation] org.apache.lucene.search.Hits in org.apache.lucene.search has been deprecated [javac] import org.apache.lucene.search.Hits; [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/client/xmldb/DatabaseImpl.java:93: warning: [deprecation] getName() in org.xmldb.api.base.Database has been deprecated [javac] public String getName() throws XMLDBException { [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/client/xmldb/embed/DatabaseImpl.java:428: warning: [deprecation] getName() in org.xmldb.api.base.Database has been deprecated [javac] public String getName() throws XMLDBException { [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/client/xmldb/xmlrpc/DatabaseImpl.java:307: warning: [deprecation] getName() in org.xmldb.api.base.Database has been deprecated [javac] public String getName() throws XMLDBException { [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/core/indexer/LuceneIndexer.java:249: indexExists(org.apache.lucene.store.Directory) in org.apache.lucene.index.IndexReader cannot be applied to (java.io.File) [javac] return IndexReader.indexExists(idxFile); [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/core/indexer/LuceneIndexer.java:299: indexExists(org.apache.lucene.store.Directory) in org.apache.lucene.index.IndexReader cannot be applied to (java.io.File) [javac] if (IndexReader.indexExists(idxFile)) { [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/core/indexer/LuceneIndexer.java:330: cannot find symbol [javac] symbol : constructor IndexWriter(java.io.File,org.apache.lucene.analysis.Analyzer,boolean,org.apache.lucene.index.IndexWriter.MaxFieldLength) [javac] location: class org.apache.lucene.index.IndexWriter [javac] iw = new IndexWriter(getFile(), getAnalyzer(), create, IndexWriter.MaxFieldLength.UNLIMITED); [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/core/indexer/LuceneIndexer.java:533: cannot find symbol [javac] symbol : method open(java.io.File) [javac] location: class org.apache.lucene.index.IndexReader [javac] ir = IndexReader.open(getFile()); [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/core/query/ftsearch/NodeReader.java:235: warning: [deprecation] doCommit() in org.apache.lucene.index.IndexReader has been deprecated [javac] protected void doCommit() { [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/core/query/ftsearch/NodeReader.java:85: warning: [deprecation] next(org.apache.lucene.analysis.Token) in org.apache.lucene.analysis.TokenStream has been deprecated [javac] while ((token = stream.next(reusableToken)) != null) { [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/core/query/ftsearch/NodeReader.java:235: warning: [deprecation] doCommit() in org.apache.lucene.index.IndexReader has been deprecated [javac] protected void doCommit() { [javac] ^ [javac] 4 errors [javac] 7 warnings BUILD FAILED /srv/gump/public/workspace/xml-xindice/build.xml:119: Compile failed; see the compiler error output for details. Total time: 6 seconds --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/xml-xindice/xml-xindice/rss.xml - Atom: http://vmgump.apache.org/gump/public/xml-xindice/xml-xindice/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.3. Gump Run 10001603102009, vmgump:vmgump-public:10001603102009 Gump E-mail Identifier (unique within run) #4. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] From [email protected] Sun Oct 04 22:02:26 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86912 invoked from network); 4 Oct 2009 22:02:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Oct 2009 22:02:26 -0000 Received: (qmail 4797 invoked by uid 500); 4 Oct 2009 22:02:26 -0000 Delivered-To: [email protected] Received: (qmail 4741 invoked by uid 500); 4 Oct 2009 22:02:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xindice-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 4733 invoked by uid 99); 4 Oct 2009 22:02:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Oct 2009 22:02:26 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Oct 2009 22:02:22 +0000 Received: from [161.129.204.104] (localhost [161.129.204.104]) by vmgump.apache.org (Postfix) with ESMTP id 632D7AB4098 for <[email protected]>; Sun, 4 Oct 2009 15:00:41 -0700 (PDT) Date: Sun, 04 Oct 2009 15:00:36 PDT From: Sam Ruby <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project xml-xindice (in module xml-xindice) failed Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project xml-xindice has an issue affecting its community integration. This issue affects 1 projects. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - xml-xindice : native XML database Full details are available at: http://vmgump.apache.org/gump/public/xml-xindice/xml-xindice/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [xindice-04102009.jar] identifier set to project name -INFO- Made directory [/srv/gump/public/workspace/xml-xindice/build/classes] -INFO- Failed with reason build failed -DEBUG- Extracted fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/xml-xindice/xml-xindice/gump_work/build_xml-xindice_xml-xindice.html Work Name: build_xml-xindice_xml-xindice (Type: Build) Work ended in a state of : Failed Elapsed: 26 secs Command Line: /usr/lib/jvm/java-6-sun/bin/java -Djava.awt.headless=true -Xbootclasspath/p:/srv/gump/packages/java_xml_pack-summer-02_01/jaxp-1.2_01/xercesImpl.jar:/srv/gump/packages/java_xml_pack-summer-02_01/jaxp-1.2_01/dom.jar:/srv/gump/packages/java_xml_pack-summer-02_01/jaxp-1.2_01/xalan.jar:/srv/gump/packages/java_xml_pack-summer-02_01/jaxp-1.2_01/jaxp-api.jar:/srv/gump/packages/java_xml_pack-summer-02_01/jaxp-1.2_01/sax.jar:/srv/gump/public/workspace/xml-xalan/build/serializer.jar:/srv/gump/public/workspace/xml-xalan/build/xalan-unbundled.jar org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Dproject.version=04102009 [Working Directory: /srv/gump/public/workspace/xml-xindice] CLASSPATH: /usr/lib/jvm/java-6-sun/lib/tools.jar:/srv/gump/public/workspace/xml-xindice/build/classes:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/ant/dist/lib/ant-trax.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/packages/junit3.8.1/junit.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/xml-xindice/lib/xmldb-common-20030701.jar:/srv/gump/public/workspace/xml-xindice/lib/xmldb-xupdate-20040205.jar:/srv/gump/public/workspace/xml-xindice/lib/xmldb-api-sdk-20030701.jar:/srv/gump/public/workspace/xml-xindice/lib/xmldb-api-20030701.jar:/srv/gump/p ackages/junitperf-1.8/lib/junitperf.jar:/srv/gump/public/workspace/ws-xmlrpc/common/target/xmlrpc-common-3.1.3-SNAPSHOT.jar:/srv/gump/public/workspace/ws-xmlrpc/server/target/xmlrpc-server-3.1.3-SNAPSHOT.jar:/srv/gump/public/workspace/ws-xmlrpc/client/target/xmlrpc-client-3.1.3-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/fileupload/target/commons-fileupload-04102009.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-04102009.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api-04102009.jar:/srv/gump/public/workspace/lucene-java/build/lucene-core-04102009.jar:/srv/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/srv/gump/public/workspace/junit/dist/junit-04102009.jar:/srv/gump/public/workspace/junit-addons/dist/junit-addons-04102009.jar:/srv/gump/public/workspace/xmlunit/build/java/lib/xmlunit-sumo-04102009.jar --------------------------------------------- clover.on: compile-src: [mkdir] Created dir: /srv/gump/public/workspace/xml-xindice/build/classes-dom [javac] Compiling 4 source files to /srv/gump/public/workspace/xml-xindice/build/classes-dom [javac] Compiling 299 source files to /srv/gump/public/workspace/xml-xindice/build/classes [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/core/indexer/LuceneIndexer.java:32: warning: [deprecation] org.apache.lucene.search.Hits in org.apache.lucene.search has been deprecated [javac] import org.apache.lucene.search.Hits; [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/client/xmldb/DatabaseImpl.java:93: warning: [deprecation] getName() in org.xmldb.api.base.Database has been deprecated [javac] public String getName() throws XMLDBException { [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/client/xmldb/embed/DatabaseImpl.java:428: warning: [deprecation] getName() in org.xmldb.api.base.Database has been deprecated [javac] public String getName() throws XMLDBException { [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/client/xmldb/xmlrpc/DatabaseImpl.java:307: warning: [deprecation] getName() in org.xmldb.api.base.Database has been deprecated [javac] public String getName() throws XMLDBException { [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/core/indexer/LuceneIndexer.java:249: indexExists(org.apache.lucene.store.Directory) in org.apache.lucene.index.IndexReader cannot be applied to (java.io.File) [javac] return IndexReader.indexExists(idxFile); [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/core/indexer/LuceneIndexer.java:299: indexExists(org.apache.lucene.store.Directory) in org.apache.lucene.index.IndexReader cannot be applied to (java.io.File) [javac] if (IndexReader.indexExists(idxFile)) { [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/core/indexer/LuceneIndexer.java:330: cannot find symbol [javac] symbol : constructor IndexWriter(java.io.File,org.apache.lucene.analysis.Analyzer,boolean,org.apache.lucene.index.IndexWriter.MaxFieldLength) [javac] location: class org.apache.lucene.index.IndexWriter [javac] iw = new IndexWriter(getFile(), getAnalyzer(), create, IndexWriter.MaxFieldLength.UNLIMITED); [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/core/indexer/LuceneIndexer.java:533: cannot find symbol [javac] symbol : method open(java.io.File) [javac] location: class org.apache.lucene.index.IndexReader [javac] ir = IndexReader.open(getFile()); [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/core/query/ftsearch/NodeReader.java:235: warning: [deprecation] doCommit() in org.apache.lucene.index.IndexReader has been deprecated [javac] protected void doCommit() { [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/core/query/ftsearch/NodeReader.java:85: warning: [deprecation] next(org.apache.lucene.analysis.Token) in org.apache.lucene.analysis.TokenStream has been deprecated [javac] while ((token = stream.next(reusableToken)) != null) { [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/core/query/ftsearch/NodeReader.java:235: warning: [deprecation] doCommit() in org.apache.lucene.index.IndexReader has been deprecated [javac] protected void doCommit() { [javac] ^ [javac] 4 errors [javac] 7 warnings BUILD FAILED /srv/gump/public/workspace/xml-xindice/build.xml:119: Compile failed; see the compiler error output for details. Total time: 25 seconds --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/xml-xindice/xml-xindice/rss.xml - Atom: http://vmgump.apache.org/gump/public/xml-xindice/xml-xindice/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.3. Gump Run 05000804102009, vmgump:vmgump-public:05000804102009 Gump E-mail Identifier (unique within run) #1. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] From [email protected] Mon Oct 05 02:10:24 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33609 invoked from network); 5 Oct 2009 02:10:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Oct 2009 02:10:24 -0000 Received: (qmail 14765 invoked by uid 500); 5 Oct 2009 02:10:23 -0000 Delivered-To: [email protected] Received: (qmail 14707 invoked by uid 500); 5 Oct 2009 02:10:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xindice-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 14699 invoked by uid 500); 5 Oct 2009 02:10:23 -0000 Delivered-To: [email protected] Received: (qmail 14696 invoked by uid 99); 5 Oct 2009 02:10:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2009 02:10:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2009 02:10:20 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id F2A0723888E9; Mon, 5 Oct 2009 02:09:28 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r821662 - in /xml/xindice/trunk: java/src/org/apache/xindice/core/indexer/ java/src/org/apache/xindice/core/query/ftsearch/ lib/ Date: Mon, 05 Oct 2009 02:09:28 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: natalia Date: Mon Oct 5 02:09:28 2009 New Revision: 821662 URL: http://svn.apache.org/viewvc?rev=821662&view=rev Log: Update Lucene to version 2.9.0 Added: xml/xindice/trunk/lib/lucene-core-2.9.0.jar (with props) Removed: xml/xindice/trunk/lib/lucene-core-2.4.0.jar Modified: xml/xindice/trunk/java/src/org/apache/xindice/core/indexer/LuceneIndexer.java xml/xindice/trunk/java/src/org/apache/xindice/core/query/ftsearch/NodeReader.java xml/xindice/trunk/java/src/org/apache/xindice/core/query/ftsearch/NodeTermDocs.java Modified: xml/xindice/trunk/java/src/org/apache/xindice/core/indexer/LuceneIndexer.java URL: http://svn.apache.org/viewvc/xml/xindice/trunk/java/src/org/apache/xindice/core/indexer/LuceneIndexer.java?rev=821662&r1=821661&r2=821662&view=diff ============================================================================== --- xml/xindice/trunk/java/src/org/apache/xindice/core/indexer/LuceneIndexer.java (original) +++ xml/xindice/trunk/java/src/org/apache/xindice/core/indexer/LuceneIndexer.java Mon Oct 5 02:09:28 2009 @@ -29,10 +29,8 @@ import org.apache.lucene.index.Term; import org.apache.lucene.queryParser.ParseException; import org.apache.lucene.queryParser.QueryParser; -import org.apache.lucene.search.Hits; -import org.apache.lucene.search.IndexSearcher; -import org.apache.lucene.search.Query; -import org.apache.lucene.search.TopDocs; +import org.apache.lucene.search.*; +import org.apache.lucene.store.SimpleFSDirectory; import org.apache.xindice.core.Collection; import org.apache.xindice.core.DBException; import org.apache.xindice.core.DBObject; @@ -93,9 +91,9 @@ // Default analyzer to use public static final String DEFANALYZER = "org.apache.lucene.analysis.SimpleAnalyzer"; - private File idxFile; - private IndexWriter iw; - private Analyzer an; + private SimpleFSDirectory idxFile; + private IndexWriter iw; + private Analyzer an; /** * Most recently opened searcher. The same Searcher instance is going to @@ -121,11 +119,11 @@ private String defaultField = ""; - private void setFile(File f) { + private void setFile(SimpleFSDirectory f) { idxFile = f; } - private File getFile() { + private SimpleFSDirectory getFile() { if (null == idxFile) { throw new IllegalStateException("Not bound to a file"); } @@ -235,7 +233,7 @@ } } - setFile(new File(collection.getCollectionRoot(), name)); + setFile(new SimpleFSDirectory(new File(collection.getCollectionRoot(), name), null)); } catch (Exception e) { throw new XindiceException(e); } @@ -245,8 +243,12 @@ return config; } - public boolean exists() { - return IndexReader.indexExists(idxFile); + public boolean exists() throws DBException { + try { + return IndexReader.indexExists(idxFile); + } catch (IOException e) { + throw new IndexerException(FaultCodes.GEN_GENERAL_ERROR, "Error accessing index", e); + } } /** @@ -298,7 +300,7 @@ try { if (IndexReader.indexExists(idxFile)) { close(); - return deepDelete(getFile()); + return deepDelete(getFile().getFile()); } else { return false; } @@ -530,7 +532,7 @@ public Searcher() throws DBException { try { - ir = IndexReader.open(getFile()); + ir = IndexReader.open(getFile(), true); is = new IndexSearcher(ir); } catch (IOException e) { throw new DBException(FaultCodes.IDX_CORRUPTED, @@ -592,13 +594,13 @@ /** * Internal search method. * @param query Search query - * @return Hits for the search + * @return TopDocs for the search * @throws DBException Index could not be accessed * @deprecated Deprecated following Lucene changes */ - public Hits search(Query query) throws DBException { + public TopDocs search(Query query) throws DBException { try { - return is.search(query); + return is.search(query, ir.numDocs()); } catch (IOException e) { throw new DBException(FaultCodes.IDX_CORRUPTED, "Failed to access index " + name + ", collection " + collection.getCanonicalName(), e); Modified: xml/xindice/trunk/java/src/org/apache/xindice/core/query/ftsearch/NodeReader.java URL: http://svn.apache.org/viewvc/xml/xindice/trunk/java/src/org/apache/xindice/core/query/ftsearch/NodeReader.java?rev=821662&r1=821661&r2=821662&view=diff ============================================================================== --- xml/xindice/trunk/java/src/org/apache/xindice/core/query/ftsearch/NodeReader.java (original) +++ xml/xindice/trunk/java/src/org/apache/xindice/core/query/ftsearch/NodeReader.java Mon Oct 5 02:09:28 2009 @@ -30,7 +30,7 @@ import org.apache.lucene.document.FieldSelector; import org.apache.lucene.analysis.Analyzer; import org.apache.lucene.analysis.TokenStream; -import org.apache.lucene.analysis.Token; +import org.apache.lucene.analysis.tokenattributes.TermAttribute; import org.apache.lucene.search.DefaultSimilarity; import org.apache.xindice.xml.dom.NodeImpl; import org.w3c.dom.NodeList; @@ -79,12 +79,14 @@ } TokenStream stream = analyzer.tokenStream("", new StringReader(text)); + TermAttribute termAttr = (TermAttribute) stream.addAttribute(TermAttribute.class); try { - Token reusableToken = new Token(); - Token token; - while ((token = stream.next(reusableToken)) != null) { - nodes[i].add(token.term()); + stream.reset(); + while (stream.incrementToken()) { + nodes[i].add(termAttr.term()); } + stream.end(); + stream.close(); } catch (IOException e) { // won't happen } @@ -259,7 +261,7 @@ /** * Get text content of a DOM node. This is the same as DOM Level 3 method * getTextContent(). - * @param node + * @param node DOM node * @return The text content of this node and its descendants. */ private String getTextContent(Node node) { Modified: xml/xindice/trunk/java/src/org/apache/xindice/core/query/ftsearch/NodeTermDocs.java URL: http://svn.apache.org/viewvc/xml/xindice/trunk/java/src/org/apache/xindice/core/query/ftsearch/NodeTermDocs.java?rev=821662&r1=821661&r2=821662&view=diff ============================================================================== --- xml/xindice/trunk/java/src/org/apache/xindice/core/query/ftsearch/NodeTermDocs.java (original) +++ xml/xindice/trunk/java/src/org/apache/xindice/core/query/ftsearch/NodeTermDocs.java Mon Oct 5 02:09:28 2009 @@ -55,6 +55,8 @@ freqs[idx]++; } } + + num = 0; } public void seek(TermEnum termEnum) { Added: xml/xindice/trunk/lib/lucene-core-2.9.0.jar URL: http://svn.apache.org/viewvc/xml/xindice/trunk/lib/lucene-core-2.9.0.jar?rev=821662&view=auto ============================================================================== Binary file - no diff available. Propchange: xml/xindice/trunk/lib/lucene-core-2.9.0.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream From [email protected] Thu Oct 15 16:57:17 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70585 invoked from network); 15 Oct 2009 16:57:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Oct 2009 16:57:17 -0000 Received: (qmail 96210 invoked by uid 500); 15 Oct 2009 16:57:17 -0000 Delivered-To: [email protected] Received: (qmail 96157 invoked by uid 500); 15 Oct 2009 16:57:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xindice-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 96138 invoked by uid 99); 15 Oct 2009 16:57:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 16:57:16 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 16:57:14 +0000 Received: from [161.129.204.104] (localhost [161.129.204.104]) by vmgump.apache.org (Postfix) with ESMTP id 553F3AB4043 for <[email protected]>; Thu, 15 Oct 2009 09:34:36 -0700 (PDT) Date: Thu, 15 Oct 2009 09:34:36 PDT From: Sam Ruby <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project xml-xindice (in module xml-xindice) failed Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project xml-xindice has an issue affecting its community integration. This issue affects 1 projects. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - xml-xindice : native XML database Full details are available at: http://vmgump.apache.org/gump/public/xml-xindice/xml-xindice/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [xindice-15102009.jar] identifier set to project name -INFO- Made directory [/srv/gump/public/workspace/xml-xindice/build/classes] -INFO- Failed with reason build failed -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/xml-xindice/xml-xindice/gump_work/build_xml-xindice_xml-xindice.html Work Name: build_xml-xindice_xml-xindice (Type: Build) Work ended in a state of : Failed Elapsed: 42 secs Command Line: /usr/lib/jvm/java-6-sun/bin/java -Djava.awt.headless=true -Xbootclasspath/p:/srv/gump/packages/java_xml_pack-summer-02_01/jaxp-1.2_01/xercesImpl.jar:/srv/gump/packages/java_xml_pack-summer-02_01/jaxp-1.2_01/dom.jar:/srv/gump/packages/java_xml_pack-summer-02_01/jaxp-1.2_01/xalan.jar:/srv/gump/packages/java_xml_pack-summer-02_01/jaxp-1.2_01/jaxp-api.jar:/srv/gump/packages/java_xml_pack-summer-02_01/jaxp-1.2_01/sax.jar:/srv/gump/public/workspace/xml-xalan/build/serializer.jar:/srv/gump/public/workspace/xml-xalan/build/xalan-unbundled.jar org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Dproject.version=15102009 [Working Directory: /srv/gump/public/workspace/xml-xindice] CLASSPATH: /usr/lib/jvm/java-6-sun/lib/tools.jar:/srv/gump/public/workspace/xml-xindice/build/classes:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/ant/dist/lib/ant-trax.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/packages/junit3.8.1/junit.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/xml-xindice/lib/xmldb-common-20030701.jar:/srv/gump/public/workspace/xml-xindice/lib/xmldb-xupdate-20040205.jar:/srv/gump/public/workspace/xml-xindice/lib/xmldb-api-sdk-20030701.jar:/srv/gump/public/workspace/xml-xindice/lib/xmldb-api-20030701.jar:/srv/gump/p ackages/junitperf-1.8/lib/junitperf.jar:/srv/gump/public/workspace/ws-xmlrpc/common/target/xmlrpc-common-3.1.3-SNAPSHOT.jar:/srv/gump/public/workspace/ws-xmlrpc/server/target/xmlrpc-server-3.1.3-SNAPSHOT.jar:/srv/gump/public/workspace/ws-xmlrpc/client/target/xmlrpc-client-3.1.3-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/fileupload/target/commons-fileupload-15102009.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-15102009.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api-15102009.jar:/srv/gump/public/workspace/lucene-java/build/lucene-core-15102009.jar:/srv/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/srv/gump/public/workspace/junit/dist/junit-15102009.jar:/srv/gump/public/workspace/junit-addons/dist/junit-addons-15102009.jar:/srv/gump/public/workspace/xmlunit/build/java/lib/xmlunit-sumo-15102009.jar --------------------------------------------- Buildfile: /srv/gump/public/workspace/xml-xindice/build.xml init: [echo] Building with Java 1.6.0_06 clover: clover.init: clover.on: compile-src: [mkdir] Created dir: /srv/gump/public/workspace/xml-xindice/build/classes-dom [javac] Compiling 4 source files to /srv/gump/public/workspace/xml-xindice/build/classes-dom [javac] Compiling 299 source files to /srv/gump/public/workspace/xml-xindice/build/classes [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/client/xmldb/DatabaseImpl.java:93: warning: [deprecation] getName() in org.xmldb.api.base.Database has been deprecated [javac] public String getName() throws XMLDBException { [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/client/xmldb/embed/DatabaseImpl.java:428: warning: [deprecation] getName() in org.xmldb.api.base.Database has been deprecated [javac] public String getName() throws XMLDBException { [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/client/xmldb/xmlrpc/DatabaseImpl.java:307: warning: [deprecation] getName() in org.xmldb.api.base.Database has been deprecated [javac] public String getName() throws XMLDBException { [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/core/query/ftsearch/NodeReader.java:55: org.apache.xindice.core.query.ftsearch.NodeReader is not abstract and does not override abstract method doCommit(java.util.Map) in org.apache.lucene.index.IndexReader [javac] public class NodeReader extends IndexReader { [javac] ^ [javac] 1 error [javac] 3 warnings BUILD FAILED /srv/gump/public/workspace/xml-xindice/build.xml:119: Compile failed; see the compiler error output for details. Total time: 35 seconds --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/xml-xindice/xml-xindice/rss.xml - Atom: http://vmgump.apache.org/gump/public/xml-xindice/xml-xindice/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.3. Gump Run 05000015102009, vmgump:vmgump-public:05000015102009 Gump E-mail Identifier (unique within run) #61. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] From [email protected] Sat Oct 17 15:27:24 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6208 invoked from network); 17 Oct 2009 15:27:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Oct 2009 15:27:24 -0000 Received: (qmail 68431 invoked by uid 500); 17 Oct 2009 15:27:23 -0000 Delivered-To: [email protected] Received: (qmail 68383 invoked by uid 500); 17 Oct 2009 15:27:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xindice-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 68375 invoked by uid 99); 17 Oct 2009 15:27:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Oct 2009 15:27:23 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Oct 2009 15:27:20 +0000 Received: from [161.129.204.104] (localhost [161.129.204.104]) by vmgump.apache.org (Postfix) with ESMTP id AE376AB4054 for <[email protected]>; Sat, 17 Oct 2009 08:04:42 -0700 (PDT) Date: Sat, 17 Oct 2009 08:04:42 PDT From: Sam Ruby <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project xml-xindice (in module xml-xindice) failed Message-Id: <[email protected]> To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project xml-xindice has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 4 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - xml-xindice : native XML database Full details are available at: http://vmgump.apache.org/gump/public/xml-xindice/xml-xindice/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [xindice-17102009.jar] identifier set to project name -INFO- Made directory [/srv/gump/public/workspace/xml-xindice/build/classes] -INFO- Failed with reason build failed -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/xml-xindice/xml-xindice/gump_work/build_xml-xindice_xml-xindice.html Work Name: build_xml-xindice_xml-xindice (Type: Build) Work ended in a state of : Failed Elapsed: 57 secs Command Line: /usr/lib/jvm/java-6-sun/bin/java -Djava.awt.headless=true -Xbootclasspath/p:/srv/gump/packages/java_xml_pack-summer-02_01/jaxp-1.2_01/xercesImpl.jar:/srv/gump/packages/java_xml_pack-summer-02_01/jaxp-1.2_01/dom.jar:/srv/gump/packages/java_xml_pack-summer-02_01/jaxp-1.2_01/xalan.jar:/srv/gump/packages/java_xml_pack-summer-02_01/jaxp-1.2_01/jaxp-api.jar:/srv/gump/packages/java_xml_pack-summer-02_01/jaxp-1.2_01/sax.jar:/srv/gump/public/workspace/xml-xalan/build/serializer.jar:/srv/gump/public/workspace/xml-xalan/build/xalan-unbundled.jar org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Dproject.version=17102009 [Working Directory: /srv/gump/public/workspace/xml-xindice] CLASSPATH: /usr/lib/jvm/java-6-sun/lib/tools.jar:/srv/gump/public/workspace/xml-xindice/build/classes:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/ant/dist/lib/ant-trax.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/packages/junit3.8.1/junit.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/xml-xindice/lib/xmldb-common-20030701.jar:/srv/gump/public/workspace/xml-xindice/lib/xmldb-xupdate-20040205.jar:/srv/gump/public/workspace/xml-xindice/lib/xmldb-api-sdk-20030701.jar:/srv/gump/public/workspace/xml-xindice/lib/xmldb-api-20030701.jar:/srv/gump/p ackages/junitperf-1.8/lib/junitperf.jar:/srv/gump/public/workspace/ws-xmlrpc/common/target/xmlrpc-common-3.1.3-SNAPSHOT.jar:/srv/gump/public/workspace/ws-xmlrpc/server/target/xmlrpc-server-3.1.3-SNAPSHOT.jar:/srv/gump/public/workspace/ws-xmlrpc/client/target/xmlrpc-client-3.1.3-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/fileupload/target/commons-fileupload-17102009.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-17102009.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api-17102009.jar:/srv/gump/public/workspace/lucene-java/build/lucene-core-17102009.jar:/srv/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/srv/gump/public/workspace/junit/dist/junit-17102009.jar:/srv/gump/public/workspace/junit-addons/dist/junit-addons-17102009.jar:/srv/gump/public/workspace/xmlunit/build/java/lib/xmlunit-sumo-17102009.jar --------------------------------------------- Buildfile: /srv/gump/public/workspace/xml-xindice/build.xml init: [echo] Building with Java 1.6.0_06 clover: clover.init: clover.on: compile-src: [mkdir] Created dir: /srv/gump/public/workspace/xml-xindice/build/classes-dom [javac] Compiling 4 source files to /srv/gump/public/workspace/xml-xindice/build/classes-dom [javac] Compiling 299 source files to /srv/gump/public/workspace/xml-xindice/build/classes [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/client/xmldb/DatabaseImpl.java:93: warning: [deprecation] getName() in org.xmldb.api.base.Database has been deprecated [javac] public String getName() throws XMLDBException { [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/client/xmldb/embed/DatabaseImpl.java:428: warning: [deprecation] getName() in org.xmldb.api.base.Database has been deprecated [javac] public String getName() throws XMLDBException { [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/client/xmldb/xmlrpc/DatabaseImpl.java:307: warning: [deprecation] getName() in org.xmldb.api.base.Database has been deprecated [javac] public String getName() throws XMLDBException { [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/core/query/ftsearch/NodeReader.java:55: org.apache.xindice.core.query.ftsearch.NodeReader is not abstract and does not override abstract method doCommit(java.util.Map) in org.apache.lucene.index.IndexReader [javac] public class NodeReader extends IndexReader { [javac] ^ [javac] 1 error [javac] 3 warnings BUILD FAILED /srv/gump/public/workspace/xml-xindice/build.xml:119: Compile failed; see the compiler error output for details. Total time: 11 seconds --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/xml-xindice/xml-xindice/rss.xml - Atom: http://vmgump.apache.org/gump/public/xml-xindice/xml-xindice/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.3. Gump Run 10000017102009, vmgump:vmgump-public:10000017102009 Gump E-mail Identifier (unique within run) #61. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] From [email protected] Mon Oct 19 14:44:57 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80701 invoked from network); 19 Oct 2009 14:44:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Oct 2009 14:44:57 -0000 Received: (qmail 72519 invoked by uid 500); 19 Oct 2009 14:44:57 -0000 Delivered-To: [email protected] Received: (qmail 72479 invoked by uid 500); 19 Oct 2009 14:44:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xindice-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 72471 invoked by uid 99); 19 Oct 2009 14:44:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Oct 2009 14:44:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Oct 2009 14:44:54 +0000 Received: from [161.129.204.104] (localhost [161.129.204.104]) by vmgump.apache.org (Postfix) with ESMTP id 55F0FAB4936 for <[email protected]>; Mon, 19 Oct 2009 07:21:48 -0700 (PDT) Date: Mon, 19 Oct 2009 07:21:48 PDT From: Sam Ruby <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project xml-xindice (in module xml-xindice) failed Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project xml-xindice has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 7 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - xml-xindice : native XML database Full details are available at: http://vmgump.apache.org/gump/public/xml-xindice/xml-xindice/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [xindice-19102009.jar] identifier set to project name -INFO- Made directory [/srv/gump/public/workspace/xml-xindice/build/classes] -INFO- Failed with reason build failed -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/xml-xindice/xml-xindice/gump_work/build_xml-xindice_xml-xindice.html Work Name: build_xml-xindice_xml-xindice (Type: Build) Work ended in a state of : Failed Elapsed: 41 secs Command Line: /usr/lib/jvm/java-6-sun/bin/java -Djava.awt.headless=true -Xbootclasspath/p:/srv/gump/packages/java_xml_pack-summer-02_01/jaxp-1.2_01/xercesImpl.jar:/srv/gump/packages/java_xml_pack-summer-02_01/jaxp-1.2_01/dom.jar:/srv/gump/packages/java_xml_pack-summer-02_01/jaxp-1.2_01/xalan.jar:/srv/gump/packages/java_xml_pack-summer-02_01/jaxp-1.2_01/jaxp-api.jar:/srv/gump/packages/java_xml_pack-summer-02_01/jaxp-1.2_01/sax.jar:/srv/gump/public/workspace/xml-xalan/build/serializer.jar:/srv/gump/public/workspace/xml-xalan/build/xalan-unbundled.jar org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Dproject.version=19102009 [Working Directory: /srv/gump/public/workspace/xml-xindice] CLASSPATH: /usr/lib/jvm/java-6-sun/lib/tools.jar:/srv/gump/public/workspace/xml-xindice/build/classes:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/ant/dist/lib/ant-trax.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/packages/junit3.8.1/junit.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/xml-xindice/lib/xmldb-common-20030701.jar:/srv/gump/public/workspace/xml-xindice/lib/xmldb-xupdate-20040205.jar:/srv/gump/public/workspace/xml-xindice/lib/xmldb-api-sdk-20030701.jar:/srv/gump/public/workspace/xml-xindice/lib/xmldb-api-20030701.jar:/srv/gump/p ackages/junitperf-1.8/lib/junitperf.jar:/srv/gump/public/workspace/ws-xmlrpc/common/target/xmlrpc-common-3.1.3-SNAPSHOT.jar:/srv/gump/public/workspace/ws-xmlrpc/server/target/xmlrpc-server-3.1.3-SNAPSHOT.jar:/srv/gump/public/workspace/ws-xmlrpc/client/target/xmlrpc-client-3.1.3-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/fileupload/target/commons-fileupload-19102009.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-19102009.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api-19102009.jar:/srv/gump/public/workspace/lucene-java/build/lucene-core-19102009.jar:/srv/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/srv/gump/public/workspace/junit/dist/junit-19102009.jar:/srv/gump/public/workspace/junit-addons/dist/junit-addons-19102009.jar:/srv/gump/public/workspace/xmlunit/build/java/lib/xmlunit-sumo-19102009.jar --------------------------------------------- Buildfile: /srv/gump/public/workspace/xml-xindice/build.xml init: [echo] Building with Java 1.6.0_06 clover: clover.init: clover.on: compile-src: [mkdir] Created dir: /srv/gump/public/workspace/xml-xindice/build/classes-dom [javac] Compiling 4 source files to /srv/gump/public/workspace/xml-xindice/build/classes-dom [javac] Compiling 299 source files to /srv/gump/public/workspace/xml-xindice/build/classes [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/client/xmldb/DatabaseImpl.java:93: warning: [deprecation] getName() in org.xmldb.api.base.Database has been deprecated [javac] public String getName() throws XMLDBException { [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/client/xmldb/embed/DatabaseImpl.java:428: warning: [deprecation] getName() in org.xmldb.api.base.Database has been deprecated [javac] public String getName() throws XMLDBException { [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/client/xmldb/xmlrpc/DatabaseImpl.java:307: warning: [deprecation] getName() in org.xmldb.api.base.Database has been deprecated [javac] public String getName() throws XMLDBException { [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/core/query/ftsearch/NodeReader.java:55: org.apache.xindice.core.query.ftsearch.NodeReader is not abstract and does not override abstract method doCommit(java.util.Map) in org.apache.lucene.index.IndexReader [javac] public class NodeReader extends IndexReader { [javac] ^ [javac] 1 error [javac] 3 warnings BUILD FAILED /srv/gump/public/workspace/xml-xindice/build.xml:119: Compile failed; see the compiler error output for details. Total time: 39 seconds --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/xml-xindice/xml-xindice/rss.xml - Atom: http://vmgump.apache.org/gump/public/xml-xindice/xml-xindice/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.3. Gump Run 09000019102009, vmgump:vmgump-public:09000019102009 Gump E-mail Identifier (unique within run) #51. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] From [email protected] Thu Oct 22 00:23:49 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89464 invoked from network); 22 Oct 2009 00:23:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Oct 2009 00:23:49 -0000 Received: (qmail 96703 invoked by uid 500); 22 Oct 2009 00:23:49 -0000 Delivered-To: [email protected] Received: (qmail 96651 invoked by uid 500); 22 Oct 2009 00:23:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xindice-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 96643 invoked by uid 99); 22 Oct 2009 00:23:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Oct 2009 00:23:48 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f225.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Oct 2009 00:23:40 +0000 Received: by bwz25 with SMTP id 25so365345bwz.38 for <[email protected]>; Wed, 21 Oct 2009 17:23:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=npJH8UNWGQseC4wN6WDpRB1ANfU8yXjR48x7QcsvtLk=; b=vpNYPaga4TFs5+VL4FeZA+4/lOCAq323U0sbRkcVOeNnHpgSRJWlTw9efzFZ9/TR8C n1VKeVONe7NtTuZWgdECbl7RBPQnNNni9/+oLtQ6x/ODSlzd2BoXYoxMEVNzR6Rl2iB7 7hQyUmpR2A3jDghAHqQqxPfcSuVjrfVvthnVw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=QNFdXL0htALCeuk8nmVQmZqx0Vw/ppeV5ZACXBwMxPoMI1EggRx8awVUnIUDT0bLlp Z2bHMx2GAkXh1dfznoINpKfV8jS6Vq5fviV2XxpA7m/bKe2tGeyVDLs7w1cr5Kgri7I7 OPysXCidUVnhoIQaVS8RtAvLXy5XrI/7EMAO0= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id e28mr3824964mun.120.1256171000394; Wed, 21 Oct 2009 17:23:20 -0700 (PDT) Date: Thu, 22 Oct 2009 01:23:20 +0100 Message-ID: <[email protected]> Subject: possible memory leak issue in 1.2 dev (as of SVN:821662) From: =?ISO-8859-1?Q?Ferenc_P=E1pai?= <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0016e65b5dc041759c04767b1aef X-Virus-Checked: Checked by ClamAV on apache.org --0016e65b5dc041759c04767b1aef Content-Type: text/plain; charset=ISO-8859-1 Hi I think I discovered a memory leak while an XPath query is executed using Xindice 1.2 dev svn revision number 821662. I only had to run a query that generated a sufficiently large number of results. After some debugging I discovered that in class XPathQueryResolver.ResultSet the XPathResolverContext member variable is cached now as opposed to as it was in its previous version. This is probably for performance reasons. This class XPathResolverContext has internally a DTMManager implementation. As ResultSet.prepareNextNode method is called many times (while one query is executed), the DTMManager instance will grow and grow in size until JVM runs out of memory. Calling XPathResolverContext .reset() in ResultSet.prepareNextNode would solve this problem but it would be against the intent of optimizing the code. I am not familiar yet with Xalan's DTM API to provide a proper solution. So i am just speculating here: Internally DTMManager caches DTM objects generated while it executed the query on a given context. These DTMs consume the memory. I think these are cached to be reused by the two-way iterators provided by DTMManager. However in Xindice, the Collection API provides the NodeSet as forward only iterator, thus no DTM caching is need for Xindice. ? regards, Ferenc --0016e65b5dc041759c04767b1aef Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <h1 class=3D"ha"><span id=3D":3f" class=3D"hP"><br></span></h1><br>Hi<br><b= r>I think I discovered a memory leak while an XPath query is executed using= Xindice 1.2 dev svn revision number 821662.<br><br>I only had to run a que= ry that generated a sufficiently large number of results.<br> <br>After some debugging I discovered that in class XPathQueryResolver.Res= ultSet <br>the XPathResolverContext member variable is cached now as oppose= d to as it was in its previous version.<br>This is probably for performance= reasons.<br> <br>This class XPathResolverContext has internally a DTMManager implementat= ion.<br>As ResultSet.prepareNextNode method is called many times (while one= query is executed),=A0 the DTMManager instance will grow and grow in size = until JVM runs out of memory.<br> <br>Calling XPathResolverContext .reset() in ResultSet.prepareNextNode woul= d solve this problem but it would be against the intent of optimizing the c= ode.<br><br><br>I am not familiar yet with Xalan&#39;s DTM API to provide a= proper solution. So i am just speculating here:<br> Internally DTMManager caches DTM objects generated while it executed the qu= ery on a given context. These DTMs consume the memory.<br>I think these are= cached to be reused by the two-way iterators provided by DTMManager. <br> However in Xindice, the Collection API provides the NodeSet as forward only= iterator, thus no DTM caching is need for Xindice. ?<br><br><br>regards,<b= r>Ferenc<br><br><br><br><br><br><br><br><br> --0016e65b5dc041759c04767b1aef-- From [email protected] Fri Oct 23 12:51:47 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29452 invoked from network); 23 Oct 2009 12:51:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Oct 2009 12:51:47 -0000 Received: (qmail 68341 invoked by uid 500); 23 Oct 2009 12:51:47 -0000 Delivered-To: [email protected] Received: (qmail 68301 invoked by uid 500); 23 Oct 2009 12:51:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xindice-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 68293 invoked by uid 99); 23 Oct 2009 12:51:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Oct 2009 12:51:47 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-yx0-f195.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Oct 2009 12:51:39 +0000 Received: by yxe33 with SMTP id 33so12519275yxe.0 for <[email protected]>; Fri, 23 Oct 2009 05:51:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=kcNoe9U0Aw5R2wEh+eG8a/64zE7reN/uSH3ULzOMor0=; b=XMzyBOVIp2jZ77yDn3vRQ0a86VIZKOERIYUzQvvj+CiG3wNeL/O8R2W1VXhnueN93e huPCtBtBp73Y8YlxpDj1aOKQbAODL1r0ogtNzPf7pw1P1DTA1aO5eIB/A2t1ivAyD7vU iSQkyR7rSVkGYi5+7eeTbyMyg3FXAlZd9+ZLo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=hoXJ/NzwN4sTyS/CP3ZjoLxJXF1I8/3dMF/fXZi3B77+Yva4q+MJ3nu46VatWWCUAy UQ1wYR/8omTkiTSw5O7l9Y0j8z8VY+2OtLPFnHzCvJUsu055Y/EDySRHWAOS54RWXmwm PFcEBuWjUIWEaoXt/EVqpgkCL4f/6EQV/Kc+w= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id i4mr18092251ybc.255.1256302278177; Fri, 23 Oct 2009 05:51:18 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> From: Natalia Shilenkova <[email protected]> Date: Fri, 23 Oct 2009 08:50:58 -0400 Message-ID: <[email protected]> Subject: Re: possible memory leak issue in 1.2 dev (as of SVN:821662) To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Ferenc, Thank you for reporting the problem. Could you please let me know what OS and JVM version you use to run Xindice (please include all the information "java -version" reports)? I'll investigate the problem. Regards, Natalia 2009/10/21 Ferenc P=E1pai <[email protected]>: > > > Hi > > I think I discovered a memory leak while an XPath query is executed using > Xindice 1.2 dev svn revision number 821662. > > I only had to run a query that generated a sufficiently large number of > results. > > After some debugging I discovered that in class XPathQueryResolver.Result= Set > the XPathResolverContext member variable is cached now as opposed to as i= t > was in its previous version. > This is probably for performance reasons. > > This class XPathResolverContext has internally a DTMManager implementatio= n. > As ResultSet.prepareNextNode method is called many times (while one query= is > executed),=A0 the DTMManager instance will grow and grow in size until JV= M > runs out of memory. > > Calling XPathResolverContext .reset() in ResultSet.prepareNextNode would > solve this problem but it would be against the intent of optimizing the > code. > > > I am not familiar yet with Xalan's DTM API to provide a proper solution. = So > i am just speculating here: > Internally DTMManager caches DTM objects generated while it executed the > query on a given context. These DTMs consume the memory. > I think these are cached to be reused by the two-way iterators provided b= y > DTMManager. > However in Xindice, the Collection API provides the NodeSet as forward on= ly > iterator, thus no DTM caching is need for Xindice. ? > > > regards, > Ferenc > > > > > > > > > From [email protected] Fri Oct 23 21:05:11 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97248 invoked from network); 23 Oct 2009 21:05:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Oct 2009 21:05:11 -0000 Received: (qmail 83666 invoked by uid 500); 23 Oct 2009 21:05:11 -0000 Delivered-To: [email protected] Received: (qmail 83638 invoked by uid 500); 23 Oct 2009 21:05:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xindice-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 83630 invoked by uid 99); 23 Oct 2009 21:05:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Oct 2009 21:05:11 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO fg-out-1718.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Oct 2009 21:05:02 +0000 Received: by fg-out-1718.google.com with SMTP id d23so3632074fga.10 for <[email protected]>; Fri, 23 Oct 2009 14:04:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=agYcqOuSG7C8Lh8daPtqCmnNkZR7sS32Rm5Jm6LBcDs=; b=aBg6q3SUMTH0bXQs9UHZdXWxiCzlTkzL0Ep73p0rPfsjdeXRT7wv6X9GIaXU/g6clp lBE/hBzn30dWBR8yXRu72eQxx7S6b9f329CALvHbbUvehUAwAjMv/85TTaciUkA7tGd/ gMOc5yQRO6EvxAQ0vRBAJdhRIDf3pIOFx70WY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=c3QcHGesXzLHL94G9GWbqSqYi+N6rZe2kGuucR3SBTuo+9Gg+GzDjwuVU9R5EN6o32 BJVWEIi6Lm0pl4OKCIKZxmt4lbI4adwXdEADoBe1nQ7PVOK6hQ7owFFymW78qspkgo+e tr653kHZ2rlyjqyhexTq8LaM/gFDJ8j+OFrZI= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id s26mr1276735fgf.23.1256331882472; Fri, 23 Oct 2009 14:04:42 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Fri, 23 Oct 2009 22:04:42 +0100 Message-ID: <[email protected]> Subject: Re: possible memory leak issue in 1.2 dev (as of SVN:821662) From: =?ISO-8859-1?Q?Ferenc_P=E1pai?= <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=00c09ffb561c9325180476a08ff8 X-Virus-Checked: Checked by ClamAV on apache.org --00c09ffb561c9325180476a08ff8 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Natalia, I had the issue on 2 Vistas and 1 XP, all running Java 1.6.0_16 Output on on Vista: C:\Users\feri>java -version java version "1.6.0_16" Java(TM) SE Runtime Environment (build 1.6.0_16-b01) Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, sharing) let me know how can I help more Ferenc On Fri, Oct 23, 2009 at 13:50, Natalia Shilenkova <[email protected]>wr= ote: > Ferenc, > > Thank you for reporting the problem. Could you please let me know what > OS and JVM version you use to run Xindice (please include all the > information "java -version" reports)? > > I'll investigate the problem. > > Regards, > Natalia > > 2009/10/21 Ferenc P=E1pai <[email protected]>: > > > > > > Hi > > > > I think I discovered a memory leak while an XPath query is executed usi= ng > > Xindice 1.2 dev svn revision number 821662. > > > > I only had to run a query that generated a sufficiently large number of > > results. > > > > After some debugging I discovered that in class > XPathQueryResolver.ResultSet > > the XPathResolverContext member variable is cached now as opposed to as > it > > was in its previous version. > > This is probably for performance reasons. > > > > This class XPathResolverContext has internally a DTMManager > implementation. > > As ResultSet.prepareNextNode method is called many times (while one que= ry > is > > executed), the DTMManager instance will grow and grow in size until JV= M > > runs out of memory. > > > > Calling XPathResolverContext .reset() in ResultSet.prepareNextNode woul= d > > solve this problem but it would be against the intent of optimizing the > > code. > > > > > > I am not familiar yet with Xalan's DTM API to provide a proper solution= . > So > > i am just speculating here: > > Internally DTMManager caches DTM objects generated while it executed th= e > > query on a given context. These DTMs consume the memory. > > I think these are cached to be reused by the two-way iterators provided > by > > DTMManager. > > However in Xindice, the Collection API provides the NodeSet as forward > only > > iterator, thus no DTM caching is need for Xindice. ? > > > > > > regards, > > Ferenc > > > > > > > > > > > > > > > > > > > --00c09ffb561c9325180476a08ff8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Natalia,<br><br>I had the issue on 2 Vistas and 1 XP, all running Java 1= .6.0_16<br><br>Output on on Vista:<br><br>C:\Users\feri&gt;java -version<br= >java version &quot;1.6.0_16&quot;<br>Java(TM) SE Runtime Environment (buil= d 1.6.0_16-b01)<br> Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, sharing)<br><br><di= v class=3D"gmail_quote"><br>let me know how can I help more<br>Ferenc<br><b= r><br>On Fri, Oct 23, 2009 at 13:50, Natalia Shilenkova <span dir=3D"ltr">&= lt;<a href=3D"mailto:[email protected]">[email protected]</a>&gt;</= span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, = 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Ferenc,<br> <br> Thank you for reporting the problem. Could you please let me know what<br> OS and JVM version you use to run Xindice (please include all the<br> information &quot;java -version&quot; reports)?<br> <br> I&#39;ll investigate the problem.<br> <br> Regards,<br> Natalia<br> <br> 2009/10/21 Ferenc P=E1pai &lt;<a href=3D"mailto:[email protected]">fpapai@gm= ail.com</a>&gt;:<br> <div><div></div><div class=3D"h5">&gt;<br> &gt;<br> &gt; Hi<br> &gt;<br> &gt; I think I discovered a memory leak while an XPath query is executed us= ing<br> &gt; Xindice 1.2 dev svn revision number 821662.<br> &gt;<br> &gt; I only had to run a query that generated a sufficiently large number o= f<br> &gt; results.<br> &gt;<br> &gt; After some debugging I discovered that in class XPathQueryResolver.Res= ultSet<br> &gt; the XPathResolverContext member variable is cached now as opposed to a= s it<br> &gt; was in its previous version.<br> &gt; This is probably for performance reasons.<br> &gt;<br> &gt; This class XPathResolverContext has internally a DTMManager implementa= tion.<br> &gt; As ResultSet.prepareNextNode method is called many times (while one qu= ery is<br> &gt; executed),=A0 the DTMManager instance will grow and grow in size until= JVM<br> &gt; runs out of memory.<br> &gt;<br> &gt; Calling XPathResolverContext .reset() in ResultSet.prepareNextNode wou= ld<br> &gt; solve this problem but it would be against the intent of optimizing th= e<br> &gt; code.<br> &gt;<br> &gt;<br> &gt; I am not familiar yet with Xalan&#39;s DTM API to provide a proper sol= ution. So<br> &gt; i am just speculating here:<br> &gt; Internally DTMManager caches DTM objects generated while it executed t= he<br> &gt; query on a given context. These DTMs consume the memory.<br> &gt; I think these are cached to be reused by the two-way iterators provide= d by<br> &gt; DTMManager.<br> &gt; However in Xindice, the Collection API provides the NodeSet as forward= only<br> &gt; iterator, thus no DTM caching is need for Xindice. ?<br> &gt;<br> &gt;<br> &gt; regards,<br> &gt; Ferenc<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> </div></div></blockquote></div><br> --00c09ffb561c9325180476a08ff8-- From [email protected] Wed Oct 28 14:51:16 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42014 invoked from network); 28 Oct 2009 14:51:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Oct 2009 14:51:16 -0000 Received: (qmail 58967 invoked by uid 500); 28 Oct 2009 14:51:16 -0000 Delivered-To: [email protected] Received: (qmail 58924 invoked by uid 500); 28 Oct 2009 14:51:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xindice-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 58916 invoked by uid 99); 28 Oct 2009 14:51:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Oct 2009 14:51:16 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Oct 2009 14:51:12 +0000 Received: from [161.129.204.104] (localhost [161.129.204.104]) by vmgump.apache.org (Postfix) with ESMTP id 67163AB489F for <[email protected]>; Wed, 28 Oct 2009 07:50:50 -0700 (PDT) Date: Wed, 28 Oct 2009 07:50:50 PDT From: Sam Ruby <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project xml-xindice (in module xml-xindice) failed Message-Id: <[email protected]> To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project xml-xindice has an issue affecting its community integration. This issue affects 1 projects. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - xml-xindice : native XML database Full details are available at: http://vmgump.apache.org/gump/public/xml-xindice/xml-xindice/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [xindice-28102009.jar] identifier set to project name -INFO- Made directory [/srv/gump/public/workspace/xml-xindice/build/classes] -INFO- Failed with reason build failed -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/xml-xindice/xml-xindice/gump_work/build_xml-xindice_xml-xindice.html Work Name: build_xml-xindice_xml-xindice (Type: Build) Work ended in a state of : Failed Elapsed: 22 secs Command Line: /usr/lib/jvm/java-6-sun/bin/java -Djava.awt.headless=true -Xbootclasspath/p:/srv/gump/packages/java_xml_pack-summer-02_01/jaxp-1.2_01/xercesImpl.jar:/srv/gump/packages/java_xml_pack-summer-02_01/jaxp-1.2_01/dom.jar:/srv/gump/packages/java_xml_pack-summer-02_01/jaxp-1.2_01/xalan.jar:/srv/gump/packages/java_xml_pack-summer-02_01/jaxp-1.2_01/jaxp-api.jar:/srv/gump/packages/java_xml_pack-summer-02_01/jaxp-1.2_01/sax.jar:/srv/gump/public/workspace/xml-xalan/build/serializer.jar:/srv/gump/public/workspace/xml-xalan/build/xalan-unbundled.jar org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Dproject.version=28102009 [Working Directory: /srv/gump/public/workspace/xml-xindice] CLASSPATH: /usr/lib/jvm/java-6-sun/lib/tools.jar:/srv/gump/public/workspace/xml-xindice/build/classes:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/ant/dist/lib/ant-trax.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/packages/junit3.8.1/junit.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/xml-xindice/lib/xmldb-common-20030701.jar:/srv/gump/public/workspace/xml-xindice/lib/xmldb-xupdate-20040205.jar:/srv/gump/public/workspace/xml-xindice/lib/xmldb-api-sdk-20030701.jar:/srv/gump/public/workspace/xml-xindice/lib/xmldb-api-20030701.jar:/srv/gump/p ackages/junitperf-1.8/lib/junitperf.jar:/srv/gump/public/workspace/ws-xmlrpc/common/target/xmlrpc-common-3.1.3-SNAPSHOT.jar:/srv/gump/public/workspace/ws-xmlrpc/server/target/xmlrpc-server-3.1.3-SNAPSHOT.jar:/srv/gump/public/workspace/ws-xmlrpc/client/target/xmlrpc-client-3.1.3-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/fileupload/target/commons-fileupload-28102009.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-28102009.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api-28102009.jar:/srv/gump/public/workspace/lucene-java/build/lucene-core-28102009.jar:/srv/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/srv/gump/public/workspace/junit/dist/junit-28102009.jar:/srv/gump/public/workspace/junit-addons/dist/junit-addons-28102009.jar:/srv/gump/public/workspace/xmlunit/build/java/lib/xmlunit-sumo-28102009.jar --------------------------------------------- clover: clover.init: clover.on: compile-src: [mkdir] Created dir: /srv/gump/public/workspace/xml-xindice/build/classes-dom [javac] Compiling 4 source files to /srv/gump/public/workspace/xml-xindice/build/classes-dom [javac] Compiling 299 source files to /srv/gump/public/workspace/xml-xindice/build/classes [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/client/xmldb/DatabaseImpl.java:93: warning: [deprecation] getName() in org.xmldb.api.base.Database has been deprecated [javac] public String getName() throws XMLDBException { [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/client/xmldb/embed/DatabaseImpl.java:428: warning: [deprecation] getName() in org.xmldb.api.base.Database has been deprecated [javac] public String getName() throws XMLDBException { [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/client/xmldb/xmlrpc/DatabaseImpl.java:307: warning: [deprecation] getName() in org.xmldb.api.base.Database has been deprecated [javac] public String getName() throws XMLDBException { [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/core/indexer/LuceneIndexer.java:465: cannot find symbol [javac] symbol : constructor QueryParser(java.lang.String,org.apache.lucene.analysis.Analyzer) [javac] location: class org.apache.lucene.queryParser.QueryParser [javac] return queryMatches(new QueryParser(defaultField, getAnalyzer()).parse(textQuery)); [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/core/query/TextQueryResolver.java:77: cannot find symbol [javac] symbol : constructor QueryParser(java.lang.String,org.apache.lucene.analysis.Analyzer) [javac] location: class org.apache.lucene.queryParser.QueryParser [javac] compiledQuery = new QueryParser("", an).parse(query); [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/core/query/ftsearch/NodeReader.java:55: org.apache.xindice.core.query.ftsearch.NodeReader is not abstract and does not override abstract method doCommit(java.util.Map) in org.apache.lucene.index.IndexReader [javac] public class NodeReader extends IndexReader { [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/core/query/ftsearch/Searcher.java:69: cannot find symbol [javac] symbol : constructor QueryParser(java.lang.String,org.apache.lucene.analysis.Analyzer) [javac] location: class org.apache.lucene.queryParser.QueryParser [javac] Query compQuery = new QueryParser("", analyzer).parse(query); [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/core/query/ftsearch/SpecialQueryParser.java:46: cannot find symbol [javac] symbol : constructor QueryParser(java.lang.String,org.apache.lucene.analysis.Analyzer) [javac] location: class org.apache.lucene.queryParser.QueryParser [javac] super(f, a); [javac] ^ [javac] 5 errors [javac] 3 warnings BUILD FAILED /srv/gump/public/workspace/xml-xindice/build.xml:119: Compile failed; see the compiler error output for details. Total time: 20 seconds --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/xml-xindice/xml-xindice/rss.xml - Atom: http://vmgump.apache.org/gump/public/xml-xindice/xml-xindice/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.3. Gump Run 05000028102009, vmgump:vmgump-public:05000028102009 Gump E-mail Identifier (unique within run) #58. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] From [email protected] Fri Oct 30 02:01:36 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7127 invoked from network); 30 Oct 2009 02:01:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Oct 2009 02:01:36 -0000 Received: (qmail 1417 invoked by uid 500); 30 Oct 2009 02:01:36 -0000 Delivered-To: [email protected] Received: (qmail 1374 invoked by uid 500); 30 Oct 2009 02:01:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xindice-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 1366 invoked by uid 500); 30 Oct 2009 02:01:35 -0000 Delivered-To: [email protected] Received: (qmail 1363 invoked by uid 99); 30 Oct 2009 02:01:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Oct 2009 02:01:35 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Oct 2009 02:01:33 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B7070238890A; Fri, 30 Oct 2009 02:01:12 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r831182 - /xml/xindice/trunk/java/src/org/apache/xindice/core/query/XPathQueryResolver.java Date: Fri, 30 Oct 2009 02:01:12 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: natalia Date: Fri Oct 30 02:01:12 2009 New Revision: 831182 URL: http://svn.apache.org/viewvc?rev=831182&view=rev Log: Fix for OutOfMemoryError in XPath queries Modified: xml/xindice/trunk/java/src/org/apache/xindice/core/query/XPathQueryResolver.java Modified: xml/xindice/trunk/java/src/org/apache/xindice/core/query/XPathQueryResolver.java URL: http://svn.apache.org/viewvc/xml/xindice/trunk/java/src/org/apache/xindice/core/query/XPathQueryResolver.java?rev=831182&r1=831181&r2=831182&view=diff ============================================================================== --- xml/xindice/trunk/java/src/org/apache/xindice/core/query/XPathQueryResolver.java (original) +++ xml/xindice/trunk/java/src/org/apache/xindice/core/query/XPathQueryResolver.java Fri Oct 30 02:01:12 2009 @@ -1384,6 +1384,8 @@ if (xpc == null) { xpc = new XPathResolverContext(parameters); + } else { + xpc.reset(); } PrefixResolver pfx; From [email protected] Fri Oct 30 02:30:42 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10629 invoked from network); 30 Oct 2009 02:30:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Oct 2009 02:30:42 -0000 Received: (qmail 9391 invoked by uid 500); 30 Oct 2009 02:30:42 -0000 Delivered-To: [email protected] Received: (qmail 9314 invoked by uid 500); 30 Oct 2009 02:30:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xindice-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 9306 invoked by uid 99); 30 Oct 2009 02:30:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Oct 2009 02:30:41 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-gx0-f217.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Oct 2009 02:30:32 +0000 Received: by gxk9 with SMTP id 9so2403615gxk.18 for <[email protected]>; Thu, 29 Oct 2009 19:30:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:mime-version :content-type:subject:date:in-reply-to:to:references:message-id :x-mailer; bh=W2XxzCcMEmzZda9ddNrQi3/l9uRFVrz4NO+jT4PZ+S0=; b=ktVVSYkQiAO6FFAKrqtrfn9f8Vj4wK8uR9ulhFQYATcDeyg9h2siYq7XjfJ3sMzLIS 3jCrFl3CtBob+N0cNXPt1Kjodo4Yt2ZdASBCAfpmr+FTsFsKJRwR5qoeObnT4ooPlXmM t8m9GbCBsecQsdfd4Rhii7hJmWvFq8zU/VT90= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:mime-version:content-type:subject:date:in-reply-to:to :references:message-id:x-mailer; b=tpT1c+cnZjOrLWxY24qLWcZbIRuFvAS++iB7U0DW/a/0+cv3rROTI0geVzZVqaO95w 5eSdjnlQIuNoW4E3uHvyb4uA+4r6zemiPmje+TN8lEC85VBvWwpSZ9KlWi757Kk5EbfG lyoQPoYBwRTFg+AMI8YmBT+tNwQSR9Qxhqp6Q= Received: by 161.129.204.104 with SMTP id y13mr1729359ybe.299.1256869811042; Thu, 29 Oct 2009 19:30:11 -0700 (PDT) Received: from ?161.129.204.104? (ip72-205-34-46.dc.dc.cox.net [161.129.204.104]) by mx.google.com with ESMTPS id 4sm952177ywg.58.2161.129.204.104.30.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 29 Oct 2009 19:30:09 -0700 (PDT) From: Natalia Shilenkova <[email protected]> Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: multipart/alternative; boundary=Apple-Mail-27--610269470 Subject: Re: possible memory leak issue in 1.2 dev (as of SVN:821662) Date: Thu, 29 Oct 2009 22:30:04 -0400 In-Reply-To: <[email protected]> To: [email protected] References: <[email protected]> <[email protected]> <[email protected]> Message-Id: <[email protected]> X-Mailer: Apple Mail (2.1076) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-27--610269470 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1; format=flowed; delsp=yes Ferenc, The latest trunk shouldn't have memory problems with XPath queries. =20 Unfortunately, it is slower now, too, as there were not many options =20 for fixing the problem short of reimplementing DTMManager, so the =20 patch is the solution you proposed. Again, thank you for reporting the bug and providing fix for it. Natalia On Oct 23, 2009, at 5:04 PM, Ferenc P=E1pai wrote: > Hi Natalia, > > I had the issue on 2 Vistas and 1 XP, all running Java 1.6.0_16 > > Output on on Vista: > > C:\Users\feri>java -version > java version "1.6.0_16" > Java(TM) SE Runtime Environment (build 1.6.0_16-b01) > Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, sharing) > > > let me know how can I help more > Ferenc > > > On Fri, Oct 23, 2009 at 13:50, Natalia Shilenkova = <[email protected]=20 > > wrote: > Ferenc, > > Thank you for reporting the problem. Could you please let me know what > OS and JVM version you use to run Xindice (please include all the > information "java -version" reports)? > > I'll investigate the problem. > > Regards, > Natalia > > 2009/10/21 Ferenc P=E1pai <[email protected]>: > > > > > > Hi > > > > I think I discovered a memory leak while an XPath query is =20 > executed using > > Xindice 1.2 dev svn revision number 821662. > > > > I only had to run a query that generated a sufficiently large =20 > number of > > results. > > > > After some debugging I discovered that in class =20 > XPathQueryResolver.ResultSet > > the XPathResolverContext member variable is cached now as opposed =20= > to as it > > was in its previous version. > > This is probably for performance reasons. > > > > This class XPathResolverContext has internally a DTMManager =20 > implementation. > > As ResultSet.prepareNextNode method is called many times (while =20 > one query is > > executed), the DTMManager instance will grow and grow in size =20 > until JVM > > runs out of memory. > > > > Calling XPathResolverContext .reset() in ResultSet.prepareNextNode =20= > would > > solve this problem but it would be against the intent of =20 > optimizing the > > code. > > > > > > I am not familiar yet with Xalan's DTM API to provide a proper =20 > solution. So > > i am just speculating here: > > Internally DTMManager caches DTM objects generated while it =20 > executed the > > query on a given context. These DTMs consume the memory. > > I think these are cached to be reused by the two-way iterators =20 > provided by > > DTMManager. > > However in Xindice, the Collection API provides the NodeSet as =20 > forward only > > iterator, thus no DTM caching is need for Xindice. ? > > > > > > regards, > > Ferenc > > > > > > > > > > > > > > > > > > > --Apple-Mail-27--610269470 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 <html><head></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; = ">Ferenc,<div><br></div><div>The latest trunk shouldn't have memory = problems with XPath queries. Unfortunately, it is slower now, too, as = there were not many options for fixing the problem short of = reimplementing DTMManager, so the patch is the solution you = proposed.</div><div><br></div><div>Again, thank you for reporting the = bug and providing fix for = it.</div><div><br></div><div>Natalia</div><div><br><div><div>On Oct 23, = 2009, at 5:04 PM, Ferenc P=E1pai wrote:</div><br = class=3D"Apple-interchange-newline"><blockquote type=3D"cite">Hi = Natalia,<br><br>I had the issue on 2 Vistas and 1 XP, all running Java = 1.6.0_16<br><br>Output on on Vista:<br><br>C:\Users\feri&gt;java = -version<br>java version "1.6.0_16"<br>Java(TM) SE Runtime Environment = (build 1.6.0_16-b01)<br> Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, = sharing)<br><br><div class=3D"gmail_quote"><br>let me know how can I = help more<br>Ferenc<br><br><br>On Fri, Oct 23, 2009 at 13:50, Natalia = Shilenkova <span dir=3D"ltr">&lt;<a = href=3D"mailto:[email protected]">[email protected]</a>&gt;</span>= wrote:<br> <blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid = rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: = 1ex;">Ferenc,<br> <br> Thank you for reporting the problem. Could you please let me know = what<br> OS and JVM version you use to run Xindice (please include all the<br> information "java -version" reports)?<br> <br> I'll investigate the problem.<br> <br> Regards,<br> Natalia<br> <br> 2009/10/21 Ferenc P=E1pai &lt;<a = href=3D"mailto:[email protected]">[email protected]</a>&gt;:<br> <div><div></div><div class=3D"h5">&gt;<br> &gt;<br> &gt; Hi<br> &gt;<br> &gt; I think I discovered a memory leak while an XPath query is executed = using<br> &gt; Xindice 1.2 dev svn revision number 821662.<br> &gt;<br> &gt; I only had to run a query that generated a sufficiently large = number of<br> &gt; results.<br> &gt;<br> &gt; After some debugging I discovered that in class = XPathQueryResolver.ResultSet<br> &gt; the XPathResolverContext member variable is cached now as opposed = to as it<br> &gt; was in its previous version.<br> &gt; This is probably for performance reasons.<br> &gt;<br> &gt; This class XPathResolverContext has internally a DTMManager = implementation.<br> &gt; As ResultSet.prepareNextNode method is called many times (while one = query is<br> &gt; executed),&nbsp; the DTMManager instance will grow and grow in size = until JVM<br> &gt; runs out of memory.<br> &gt;<br> &gt; Calling XPathResolverContext .reset() in ResultSet.prepareNextNode = would<br> &gt; solve this problem but it would be against the intent of optimizing = the<br> &gt; code.<br> &gt;<br> &gt;<br> &gt; I am not familiar yet with Xalan's DTM API to provide a proper = solution. So<br> &gt; i am just speculating here:<br> &gt; Internally DTMManager caches DTM objects generated while it = executed the<br> &gt; query on a given context. These DTMs consume the memory.<br> &gt; I think these are cached to be reused by the two-way iterators = provided by<br> &gt; DTMManager.<br> &gt; However in Xindice, the Collection API provides the NodeSet as = forward only<br> &gt; iterator, thus no DTM caching is need for Xindice. ?<br> &gt;<br> &gt;<br> &gt; regards,<br> &gt; Ferenc<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> </div></div></blockquote></div><br> </blockquote></div><br></div></body></html>= --Apple-Mail-27--610269470-- From [email protected] Fri Oct 30 11:20:34 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14386 invoked from network); 30 Oct 2009 11:20:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Oct 2009 11:20:34 -0000 Received: (qmail 15740 invoked by uid 500); 30 Oct 2009 11:20:34 -0000 Delivered-To: [email protected] Received: (qmail 15682 invoked by uid 500); 30 Oct 2009 11:20:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xindice-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 15672 invoked by uid 99); 30 Oct 2009 11:20:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Oct 2009 11:20:34 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO fg-out-1718.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Oct 2009 11:20:26 +0000 Received: by fg-out-1718.google.com with SMTP id d23so1289087fga.10 for <[email protected]>; Fri, 30 Oct 2009 04:20:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=bVjwa5baf965DUGGLETLRPWndh5Igxy0wIWt0OEX5gA=; b=JUg6PzV33QpZyBvQy61G4qxcGNmJh5wOkT+ek5ZpqeHNK63eM475fh3eBWGRtWy0Vl kmP36vasge4VZc/KyzNx0uun2kJX2FdiJn/IFpwZwMG9z94KG9RncCisgiZcz15RaL1T GdeamXSbV/v6lcC9ZRmbh1l0aAFc04lSaeLLo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=PUlBhbA9+8yafLV/br2dlCCCT1cSPQ3kB4F8pDwv2iN0jJh/X0lMHB5gAsUKnQ/uIJ fnPh/AYL6gNi+Y8aTcWsRpqWjn90xRFbApMGtak9XRUYXY9mhvo1A5ItJEamgtuFHDuw CBpZPP/C8qzbxCBoJAeA1AMB30KNvsRrp0QC8= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id q3mr988313fgk.30.1256901602776; Fri, 30 Oct 2009 04:20:02 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Fri, 30 Oct 2009 11:20:02 +0000 Message-ID: <[email protected]> Subject: Re: possible memory leak issue in 1.2 dev (as of SVN:821662) From: =?ISO-8859-1?Q?Ferenc_P=E1pai?= <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=001485f875768d16220477253562 X-Virus-Checked: Checked by ClamAV on apache.org --001485f875768d16220477253562 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable hello Natalia, thanks for your time. I think the current version is still faster than as in Xindice 1.1 where th= e whole context object was recreated in each iteration. One possible improvement might be to reset the context at every "n" iteration only. However this might work only if we could get a hint of the size of the context somehow. Iterating over large documents would produce more DTM objects than small documents. I'll try to research this when I'll have time. regards, Ferenc On Fri, Oct 30, 2009 at 02:30, Natalia Shilenkova <[email protected]>wr= ote: > Ferenc, > > The latest trunk shouldn't have memory problems with XPath queries. > Unfortunately, it is slower now, too, as there were not many options for > fixing the problem short of reimplementing DTMManager, so the patch is th= e > solution you proposed. > > Again, thank you for reporting the bug and providing fix for it. > > Natalia > > On Oct 23, 2009, at 5:04 PM, Ferenc P=E1pai wrote: > > Hi Natalia, > > I had the issue on 2 Vistas and 1 XP, all running Java 1.6.0_16 > > Output on on Vista: > > C:\Users\feri>java -version > java version "1.6.0_16" > Java(TM) SE Runtime Environment (build 1.6.0_16-b01) > Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, sharing) > > > let me know how can I help more > Ferenc > > > On Fri, Oct 23, 2009 at 13:50, Natalia Shilenkova <[email protected]>= wrote: > >> Ferenc, >> >> Thank you for reporting the problem. Could you please let me know what >> OS and JVM version you use to run Xindice (please include all the >> information "java -version" reports)? >> >> I'll investigate the problem. >> >> Regards, >> Natalia >> >> 2009/10/21 Ferenc P=E1pai <[email protected]>: >> > >> > >> > Hi >> > >> > I think I discovered a memory leak while an XPath query is executed >> using >> > Xindice 1.2 dev svn revision number 821662. >> > >> > I only had to run a query that generated a sufficiently large number o= f >> > results. >> > >> > After some debugging I discovered that in class >> XPathQueryResolver.ResultSet >> > the XPathResolverContext member variable is cached now as opposed to a= s >> it >> > was in its previous version. >> > This is probably for performance reasons. >> > >> > This class XPathResolverContext has internally a DTMManager >> implementation. >> > As ResultSet.prepareNextNode method is called many times (while one >> query is >> > executed), the DTMManager instance will grow and grow in size until J= VM >> > runs out of memory. >> > >> > Calling XPathResolverContext .reset() in ResultSet.prepareNextNode wou= ld >> > solve this problem but it would be against the intent of optimizing th= e >> > code. >> > >> > >> > I am not familiar yet with Xalan's DTM API to provide a proper solutio= n. >> So >> > i am just speculating here: >> > Internally DTMManager caches DTM objects generated while it executed t= he >> > query on a given context. These DTMs consume the memory. >> > I think these are cached to be reused by the two-way iterators provide= d >> by >> > DTMManager. >> > However in Xindice, the Collection API provides the NodeSet as forward >> only >> > iterator, thus no DTM caching is need for Xindice. ? >> > >> > >> > regards, >> > Ferenc >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > > > --001485f875768d16220477253562 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable hello Natalia,<br><br>thanks for your time.<br>I think the current version = is still faster than as in Xindice 1.1 where the whole context object was r= ecreated in each iteration.<br><br>One possible improvement might be to res= et the context at every &quot;n&quot; iteration only.<br> However this might work only if we could get a hint of the size of the cont= ext somehow. <br>Iterating over large documents would produce more DTM obje= cts than small documents.<br><br>I&#39;ll try to research this when I&#39;l= l have time.<br> <br>regards,<br>Ferenc<br><br><br><div class=3D"gmail_quote">On Fri, Oct 30= , 2009 at 02:30, Natalia Shilenkova <span dir=3D"ltr">&lt;<a href=3D"mailto= :[email protected]">[email protected]</a>&gt;</span> wrote:<br><blo= ckquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 204,= 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div style=3D"word-wrap: break-word;">Ferenc,<div><br></div><div>The latest= trunk shouldn&#39;t have memory problems with XPath queries. Unfortunately= , it is slower now, too, as there were not many options for fixing the prob= lem short of reimplementing DTMManager, so the patch is the solution you pr= oposed.</div> <div><br></div><div>Again, thank you for reporting the bug and providing fi= x for it.</div><div><br></div><font color=3D"#888888"><div>Natalia</div></f= ont><div><div></div><div class=3D"h5"><div><br><div><div>On Oct 23, 2009, a= t 5:04 PM, Ferenc P=E1pai wrote:</div> <br><blockquote type=3D"cite">Hi Natalia,<br><br>I had the issue on 2 Vista= s and 1 XP, all running Java 1.6.0_16<br><br>Output on on Vista:<br><br>C:\= Users\feri&gt;java -version<br>java version &quot;1.6.0_16&quot;<br>Java(TM= ) SE Runtime Environment (build 1.6.0_16-b01)<br> Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, sharing)<br><br><di= v class=3D"gmail_quote"><br>let me know how can I help more<br>Ferenc<br><b= r><br>On Fri, Oct 23, 2009 at 13:50, Natalia Shilenkova <span dir=3D"ltr">&= lt;<a href=3D"mailto:[email protected]" target=3D"_blank">nshilenkova@g= mail.com</a>&gt;</span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, = 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Ferenc,<br> <br> Thank you for reporting the problem. Could you please let me know what<br> OS and JVM version you use to run Xindice (please include all the<br> information &quot;java -version&quot; reports)?<br> <br> I&#39;ll investigate the problem.<br> <br> Regards,<br> Natalia<br> <br> 2009/10/21 Ferenc P=E1pai &lt;<a href=3D"mailto:[email protected]" target=3D= "_blank">[email protected]</a>&gt;:<br> <div><div></div><div>&gt;<br> &gt;<br> &gt; Hi<br> &gt;<br> &gt; I think I discovered a memory leak while an XPath query is executed us= ing<br> &gt; Xindice 1.2 dev svn revision number 821662.<br> &gt;<br> &gt; I only had to run a query that generated a sufficiently large number o= f<br> &gt; results.<br> &gt;<br> &gt; After some debugging I discovered that in class XPathQueryResolver.Res= ultSet<br> &gt; the XPathResolverContext member variable is cached now as opposed to a= s it<br> &gt; was in its previous version.<br> &gt; This is probably for performance reasons.<br> &gt;<br> &gt; This class XPathResolverContext has internally a DTMManager implementa= tion.<br> &gt; As ResultSet.prepareNextNode method is called many times (while one qu= ery is<br> &gt; executed),=A0 the DTMManager instance will grow and grow in size until= JVM<br> &gt; runs out of memory.<br> &gt;<br> &gt; Calling XPathResolverContext .reset() in ResultSet.prepareNextNode wou= ld<br> &gt; solve this problem but it would be against the intent of optimizing th= e<br> &gt; code.<br> &gt;<br> &gt;<br> &gt; I am not familiar yet with Xalan&#39;s DTM API to provide a proper sol= ution. So<br> &gt; i am just speculating here:<br> &gt; Internally DTMManager caches DTM objects generated while it executed t= he<br> &gt; query on a given context. These DTMs consume the memory.<br> &gt; I think these are cached to be reused by the two-way iterators provide= d by<br> &gt; DTMManager.<br> &gt; However in Xindice, the Collection API provides the NodeSet as forward= only<br> &gt; iterator, thus no DTM caching is need for Xindice. ?<br> &gt;<br> &gt;<br> &gt; regards,<br> &gt; Ferenc<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> </div></div></blockquote></div><br> </blockquote></div><br></div></div></div></div></blockquote></div><br> --001485f875768d16220477253562-- From [email protected] Sat Oct 31 14:44:36 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17312 invoked from network); 31 Oct 2009 14:44:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 31 Oct 2009 14:44:36 -0000 Received: (qmail 71051 invoked by uid 500); 31 Oct 2009 14:44:36 -0000 Delivered-To: [email protected] Received: (qmail 70977 invoked by uid 500); 31 Oct 2009 14:44:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xindice-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 70969 invoked by uid 99); 31 Oct 2009 14:44:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 Oct 2009 14:44:35 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 Oct 2009 14:44:32 +0000 Received: from [161.129.204.104] (localhost [161.129.204.104]) by vmgump.apache.org (Postfix) with ESMTP id 84706AB4387 for <[email protected]>; Sat, 31 Oct 2009 07:44:10 -0700 (PDT) Date: Sat, 31 Oct 2009 07:44:10 PDT From: Sam Ruby <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project xml-xindice (in module xml-xindice) failed Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project xml-xindice has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 3 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - xml-xindice : native XML database Full details are available at: http://vmgump.apache.org/gump/public/xml-xindice/xml-xindice/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [xindice-31102009.jar] identifier set to project name -INFO- Made directory [/srv/gump/public/workspace/xml-xindice/build/classes] -INFO- Failed with reason build failed -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/xml-xindice/xml-xindice/gump_work/build_xml-xindice_xml-xindice.html Work Name: build_xml-xindice_xml-xindice (Type: Build) Work ended in a state of : Failed Elapsed: 54 secs Command Line: /usr/lib/jvm/java-6-sun/bin/java -Djava.awt.headless=true -Xbootclasspath/p:/srv/gump/packages/java_xml_pack-summer-02_01/jaxp-1.2_01/xercesImpl.jar:/srv/gump/packages/java_xml_pack-summer-02_01/jaxp-1.2_01/dom.jar:/srv/gump/packages/java_xml_pack-summer-02_01/jaxp-1.2_01/xalan.jar:/srv/gump/packages/java_xml_pack-summer-02_01/jaxp-1.2_01/jaxp-api.jar:/srv/gump/packages/java_xml_pack-summer-02_01/jaxp-1.2_01/sax.jar:/srv/gump/public/workspace/xml-xalan/build/serializer.jar:/srv/gump/public/workspace/xml-xalan/build/xalan-unbundled.jar org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Dproject.version=31102009 [Working Directory: /srv/gump/public/workspace/xml-xindice] CLASSPATH: /usr/lib/jvm/java-6-sun/lib/tools.jar:/srv/gump/public/workspace/xml-xindice/build/classes:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/ant/dist/lib/ant-trax.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/packages/junit3.8.1/junit.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/xml-xindice/lib/xmldb-common-20030701.jar:/srv/gump/public/workspace/xml-xindice/lib/xmldb-xupdate-20040205.jar:/srv/gump/public/workspace/xml-xindice/lib/xmldb-api-sdk-20030701.jar:/srv/gump/public/workspace/xml-xindice/lib/xmldb-api-20030701.jar:/srv/gump/p ackages/junitperf-1.8/lib/junitperf.jar:/srv/gump/public/workspace/ws-xmlrpc/common/target/xmlrpc-common-3.1.3-SNAPSHOT.jar:/srv/gump/public/workspace/ws-xmlrpc/server/target/xmlrpc-server-3.1.3-SNAPSHOT.jar:/srv/gump/public/workspace/ws-xmlrpc/client/target/xmlrpc-client-3.1.3-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/fileupload/target/commons-fileupload-31102009.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-31102009.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api-31102009.jar:/srv/gump/public/workspace/lucene-java/build/lucene-core-31102009.jar:/srv/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/srv/gump/public/workspace/junit/dist/junit-31102009.jar:/srv/gump/public/workspace/junit-addons/dist/junit-addons-31102009.jar:/srv/gump/public/workspace/xmlunit/build/java/lib/xmlunit-sumo-31102009.jar --------------------------------------------- clover: clover.init: clover.on: compile-src: [mkdir] Created dir: /srv/gump/public/workspace/xml-xindice/build/classes-dom [javac] Compiling 4 source files to /srv/gump/public/workspace/xml-xindice/build/classes-dom [javac] Compiling 299 source files to /srv/gump/public/workspace/xml-xindice/build/classes [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/client/xmldb/DatabaseImpl.java:93: warning: [deprecation] getName() in org.xmldb.api.base.Database has been deprecated [javac] public String getName() throws XMLDBException { [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/client/xmldb/embed/DatabaseImpl.java:428: warning: [deprecation] getName() in org.xmldb.api.base.Database has been deprecated [javac] public String getName() throws XMLDBException { [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/client/xmldb/xmlrpc/DatabaseImpl.java:307: warning: [deprecation] getName() in org.xmldb.api.base.Database has been deprecated [javac] public String getName() throws XMLDBException { [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/core/indexer/LuceneIndexer.java:465: cannot find symbol [javac] symbol : constructor QueryParser(java.lang.String,org.apache.lucene.analysis.Analyzer) [javac] location: class org.apache.lucene.queryParser.QueryParser [javac] return queryMatches(new QueryParser(defaultField, getAnalyzer()).parse(textQuery)); [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/core/query/TextQueryResolver.java:77: cannot find symbol [javac] symbol : constructor QueryParser(java.lang.String,org.apache.lucene.analysis.Analyzer) [javac] location: class org.apache.lucene.queryParser.QueryParser [javac] compiledQuery = new QueryParser("", an).parse(query); [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/core/query/ftsearch/NodeReader.java:55: org.apache.xindice.core.query.ftsearch.NodeReader is not abstract and does not override abstract method doCommit(java.util.Map) in org.apache.lucene.index.IndexReader [javac] public class NodeReader extends IndexReader { [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/core/query/ftsearch/Searcher.java:69: cannot find symbol [javac] symbol : constructor QueryParser(java.lang.String,org.apache.lucene.analysis.Analyzer) [javac] location: class org.apache.lucene.queryParser.QueryParser [javac] Query compQuery = new QueryParser("", analyzer).parse(query); [javac] ^ [javac] /srv/gump/public/workspace/xml-xindice/java/src/org/apache/xindice/core/query/ftsearch/SpecialQueryParser.java:46: cannot find symbol [javac] symbol : constructor QueryParser(java.lang.String,org.apache.lucene.analysis.Analyzer) [javac] location: class org.apache.lucene.queryParser.QueryParser [javac] super(f, a); [javac] ^ [javac] 5 errors [javac] 3 warnings BUILD FAILED /srv/gump/public/workspace/xml-xindice/build.xml:119: Compile failed; see the compiler error output for details. Total time: 52 seconds --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/xml-xindice/xml-xindice/rss.xml - Atom: http://vmgump.apache.org/gump/public/xml-xindice/xml-xindice/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.3. Gump Run 06000031102009, vmgump:vmgump-public:06000031102009 Gump E-mail Identifier (unique within run) #57. -- Apache Gump http://gump.apache.org/ [Instance: vmgump]
From [email protected] Sat Apr 01 09:11:15 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7629 invoked from network); 1 Apr 2006 09:11:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Apr 2006 09:11:13 -0000 Received: (qmail 18371 invoked by uid 500); 1 Apr 2006 09:11:11 -0000 Delivered-To: [email protected] Received: (qmail 18311 invoked by uid 500); 1 Apr 2006 09:11:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 17998 invoked by uid 99); 1 Apr 2006 09:11:08 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Apr 2006 01:11:08 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail.intermeta.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Apr 2006 01:11:07 -0800 Received: from forge.intermeta.de (forge.intermeta.de [161.129.204.104]) (authenticated bits=0) by mail.intermeta.de (161.129.204.10460308/8.12.11) with ESMTP id k319AfnB017311 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Sat, 1 Apr 2006 11:10:41 +0200 Subject: Re: xdoc DTD - Do we already have a PUBLIC identifier? From: Henning Schmiedehausen <[email protected]> Reply-To: [email protected] To: Lukas Theussl <[email protected]> Cc: Maven Developers List <[email protected]>, [email protected] In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Content-Type: text/plain Organization: INTERMETA - Gesellschaft fuer Mehrwertdienste mbH Date: Sat, 01 Apr 2006 11:10:41 +0200 Message-Id: <[email protected]> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.fc4) Content-Transfer-Encoding: 7bit X-INTERMETA-Spam-Score: -5.899 () ALL_TRUSTED,BAYES_00 X-Scanned-By: MIMEDefang 2.54 on 161.129.204.104 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Fri, 2006-03-31 at 19:12 +0000, Lukas Theussl wrote: > No, there is none. The DTD is currently only available in SVN, it was > added in the 1.10 version of the maven-1 xdoc plugin which is not > released yet. As such, it is still work in progress, so I don't know if > it's a good idea to publish it at this point. However, as far as I'm > concerned, the xdoc-1.10 plugin could be released very soon, we will > consider your demand as soon as it's done (please remind us if we > forget, I know you are good at that! ;) ) ;-) I've created MPXDOC-192, please make sure to resolve it before releasing 1.10 Best regards Henning > > -Lukas > > > Henning Schmiedehausen wrote: > > Hi, > > > > I finally was able to make heads and tails of the xdoc DTD as included > > in the maven 1 xdoc plugin (thanks a lot for this, Lukas & Arnaud!) . To > > make XMLMind to automatically identify these files, we do need a DTD > > public identifier. Do you already have one? Googling for this didn't > > really help me here. > > > > If you don't have decided for an identifier, I'd like to propose: > > > > <!DOCTYPE document PUBLIC "-//Apache Software Foundation//DTD XDOC 1.0//EN" > > "http://www.apache.org/dtds/xdoc_1_0.dtd"> > > > > as DTD identifier for the XDOC format. As I understand, we then must > > make this DTD visible at the designated location, which needs > > coordination with the infra people. However, putting it under > > www.apache.org means, that the mirror system will pick up these DTDs. > > > > Any opinions? If you agree, you can take a look at > > http://wiki.apache.org/jakarta-velocity/EditXdocs > > > > to get my XMLMind hackery for actually editing xdocs (not just painfully > > writing them... :-) ). > > > > Best regards > > Henning > > -- Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH [email protected] +1-913-501-1940 http://www.intermeta.de/ RedHat Certified Engineer -- Jakarta Turbine Development Linux, Java, perl, Solaris -- Consulting, Training, Engineering Social behaviour: Bavarians can be extremely egalitarian and folksy. -- http://en.wikipedia.org/wiki/Bavaria Most Franconians do not like to be called Bavarians. -- http://en.wikipedia.org/wiki/Franconia --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 01 09:13:55 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8476 invoked from network); 1 Apr 2006 09:13:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Apr 2006 09:13:54 -0000 Received: (qmail 20277 invoked by uid 500); 1 Apr 2006 09:13:52 -0000 Delivered-To: [email protected] Received: (qmail 20247 invoked by uid 500); 1 Apr 2006 09:13:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 20215 invoked by uid 99); 1 Apr 2006 09:13:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Apr 2006 01:13:52 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail.intermeta.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Apr 2006 01:13:49 -0800 Received: from forge.intermeta.de (forge.intermeta.de [161.129.204.104]) (authenticated bits=0) by mail.intermeta.de (161.129.204.10460308/8.12.11) with ESMTP id k319DOoi017770 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Sat, 1 Apr 2006 11:13:24 +0200 Subject: Re: xdoc DTD - Do we already have a PUBLIC identifier? From: Henning Schmiedehausen <[email protected]> Reply-To: [email protected] To: Arnaud HERITIER <[email protected]> Cc: Maven Developers List <[email protected]>, [email protected] In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Content-Type: text/plain Organization: INTERMETA - Gesellschaft fuer Mehrwertdienste mbH Date: Sat, 01 Apr 2006 11:13:24 +0200 Message-Id: <[email protected]> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.fc4) Content-Transfer-Encoding: 7bit X-INTERMETA-Spam-Score: -5.899 () ALL_TRUSTED,BAYES_00 X-Scanned-By: MIMEDefang 2.54 on 161.129.204.104 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, getting XDOC out of the maven/velocity realm and making an "official" format would IMHO help its visibility tremendously. That's why I proposed to adopt it as -//Apache Software Foundation//DTD XDOC 1.0//EN" and removed all the maven and velocity references from it. Having it online is good, having [email protected]/dtds with an official location and version number (1.0) is IMHO much better. It would also avoid "sneaking stuff in". ;-) (navbar...) Best regards Henning On Fri, 2006-03-31 at 22:25 +0200, Arnaud HERITIER wrote: > Hi, in fact it's not yet documented but the dtd is already online : > http://maven.apache.org/maven-1.x/plugins/xdoc/maven-xdoc.dtd > > cheers > > arnaud > > On 3/31/06, Lukas Theussl <[email protected]> wrote: > > No, there is none. The DTD is currently only available in SVN, > it was > added in the 1.10 version of the maven-1 xdoc plugin which is > not > released yet. As such, it is still work in progress, so I > don't know if > it's a good idea to publish it at this point. However, as far > as I'm > concerned, the xdoc-1.10 plugin could be released very soon, > we will > consider your demand as soon as it's done (please remind us if > we > forget, I know you are good at that! ;) ) > > -Lukas > > > Henning Schmiedehausen wrote: > > Hi, > > > > I finally was able to make heads and tails of the xdoc DTD > as included > > in the maven 1 xdoc plugin (thanks a lot for this, Lukas & > Arnaud!) . To > > make XMLMind to automatically identify these files, we do > need a DTD > > public identifier. Do you already have one? Googling for > this didn't > > really help me here. > > > > If you don't have decided for an identifier, I'd like to > propose: > > > > <!DOCTYPE document PUBLIC "-//Apache Software > Foundation//DTD XDOC 1.0//EN" > > > "http://www.apache.org/dtds/xdoc_1_0.dtd"> > > > > as DTD identifier for the XDOC format. As I understand, we > then must > > make this DTD visible at the designated location, which > needs > > coordination with the infra people. However, putting it > under > > www.apache.org means, that the mirror system will pick up > these DTDs. > > > > Any opinions? If you agree, you can take a look at > > http://wiki.apache.org/jakarta-velocity/EditXdocs > > > > to get my XMLMind hackery for actually editing xdocs (not > just painfully > > writing them... :-) ). > > > > Best regards > > Henning > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH [email protected] +1-913-501-1940 http://www.intermeta.de/ RedHat Certified Engineer -- Jakarta Turbine Development Linux, Java, perl, Solaris -- Consulting, Training, Engineering Social behaviour: Bavarians can be extremely egalitarian and folksy. -- http://en.wikipedia.org/wiki/Bavaria Most Franconians do not like to be called Bavarians. -- http://en.wikipedia.org/wiki/Franconia --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 01 09:20:00 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9577 invoked from network); 1 Apr 2006 09:20:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Apr 2006 09:20:00 -0000 Received: (qmail 22669 invoked by uid 500); 1 Apr 2006 09:19:59 -0000 Delivered-To: [email protected] Received: (qmail 22645 invoked by uid 500); 1 Apr 2006 09:19:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 22634 invoked by uid 99); 1 Apr 2006 09:19:59 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Apr 2006 01:19:59 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail.intermeta.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Apr 2006 01:19:56 -0800 Received: from forge.intermeta.de (forge.intermeta.de [161.129.204.104]) (authenticated bits=0) by mail.intermeta.de (161.129.204.10460308/8.12.11) with ESMTP id k319JWG6018340 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Sat, 1 Apr 2006 11:19:32 +0200 Subject: Re: xdoc DTD - Do we already have a PUBLIC identifier? From: Henning Schmiedehausen <[email protected]> Reply-To: [email protected] To: Mike Kienenberger <[email protected]> Cc: Velocity Developers List <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Content-Type: text/plain Organization: INTERMETA - Gesellschaft fuer Mehrwertdienste mbH Date: Sat, 01 Apr 2006 11:19:32 +0200 Message-Id: <[email protected]> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.fc4) Content-Transfer-Encoding: 7bit X-INTERMETA-Spam-Score: -5.899 () ALL_TRUSTED,BAYES_00 X-Scanned-By: MIMEDefang 2.54 on 161.129.204.104 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, as you have noticed, I've made some last minute changes before putting it on the wiki page (bad thing, I know... :-) ). I've cleaned that up (and also added the Maven Documentation DTD identifier as you did. This is a nice addition, but I do want to get the xdoc out of the "this is an obscure maven thing" realm, so I will push for an ASF wide DTD. If we have to live with xdoc, then we might as well try to get it right. ;-) Best regards Henning On Fri, 2006-03-31 at 10:26 -0500, Mike Kienenberger wrote: > On 3/31/06, Mike Kienenberger <[email protected]> wrote: > > I still get an error when doing a "File -> New -> XDocs": > > > > Cannot open file > > ".....\XMLMind\XMLEditor\addon\xdoc\template\empty_doc.xml": > > http://www.apache.org/dtd/xdoc.dtd > > Ok. I read some more, and the problem is that the empty_doc.xml file > DOCTYPE doesn't match the xdoc_catalog.xml file. One is "XDOC > 1.0//EN" and the other is "XDOC//EN". Making them both 1.0 works. -- Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH [email protected] +1-913-501-1940 http://www.intermeta.de/ RedHat Certified Engineer -- Jakarta Turbine Development Linux, Java, perl, Solaris -- Consulting, Training, Engineering Social behaviour: Bavarians can be extremely egalitarian and folksy. -- http://en.wikipedia.org/wiki/Bavaria Most Franconians do not like to be called Bavarians. -- http://en.wikipedia.org/wiki/Franconia --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 01 10:20:41 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26608 invoked from network); 1 Apr 2006 10:20:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Apr 2006 10:20:41 -0000 Received: (qmail 62759 invoked by uid 500); 1 Apr 2006 10:20:41 -0000 Delivered-To: [email protected] Received: (qmail 62580 invoked by uid 500); 1 Apr 2006 10:20:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 62565 invoked by uid 99); 1 Apr 2006 10:20:40 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Apr 2006 02:20:39 -0800 Date: Sat, 01 Apr 2006 02:08:45 PST From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-test (in module jakarta-velocity) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 58 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-test : Template engine Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/gump_work/build_jakarta-velocity_jakarta-velocity-test.html Work Name: build_jakarta-velocity_jakarta-velocity-test (Type: Build) Work ended in a state of : Failed Elapsed: 8 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only test [Working Directory: /usr/local/gump/public/workspace/jakarta-velocity/build] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/test-classes:/usr/local/gump/public/workspace/jakarta-velocity/test/cpload/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/texen-classpath/test.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/multiloader/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-01042006.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-dep-01042006.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-servletapi/dist/lib/servlet.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/packages/werken-xpath/werken-xpath-0.9.4.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-01042006.jar:/usr/local/gump/public/workspace/jakarta-bcel/target/bcel-01042006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-01042006.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-01042006.jar:/usr/local/gump/public/workspace/excalibur/containerkit/logkit/target/excalibur-logkit-01042006.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-01042006.jar:/usr/local/gump/packages/antlr-2.7.6/antlr.jar --------------------------------------------- http-download: [get] Getting: http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/servletapi-2.3.jar [get] Not modified - so not downloaded werken-xpath-download: http-download: [get] Getting: http://www.ibiblio.org/maven/werken-xpath/jars/werken-xpath-0.9.4.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/werken-xpath-0.9.4.jar [get] Not modified - so not downloaded basic-prepare: check-jdbc: check-jdbc-true: check-jdbc-false: prepare-jdbc: check-jdk14: check-jdk14-true: check-jdk14-false: prepare-jdk14: prepare: compile-src: compile-test: [javac] Compiling 58 source files to /x1/gump/public/workspace/jakarta-velocity/bin/test-classes [javac] Note: /x1/gump/public/workspace/jakarta-velocity/bin/test-src/org/apache/velocity/test/VelocityServletTestCase.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. test: [mkdir] Created dir: /x1/gump/public/workspace/jakarta-velocity/bin/test-reports [junit] Running org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.039 sec BUILD FAILED /x1/gump/public/workspace/jakarta-velocity/build/build.xml:758: Test org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase failed Total time: 7 seconds --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 26000001042006, vmgump.apache.org:vmgump-public:26000001042006 Gump E-mail Identifier (unique within run) #43. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 01 13:14:43 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81132 invoked from network); 1 Apr 2006 13:14:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Apr 2006 13:14:43 -0000 Received: (qmail 49923 invoked by uid 500); 1 Apr 2006 13:14:43 -0000 Delivered-To: [email protected] Received: (qmail 49723 invoked by uid 500); 1 Apr 2006 13:14:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 69299 invoked by uid 99); 31 Mar 2006 20:25:29 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=USqAMBGHvEmrLf1pEhYxxYdPMAjqy+v/5r3R1GGeWzOs11Xm432L0A+10uSOHl5Pp4OTHYcSyXjH1PZN4GXytL5UCH7oq1cHJWo5YssLZimSIq4TE+8dOrKdbGVDutF7m+Qn4ygmXVuTTVBhRoXnkXz689li2RiR6VhuN4EGaAU= Message-ID: <[email protected]> Date: Fri, 31 Mar 2006 22:25:07 +0200 From: "Arnaud HERITIER" <[email protected]> To: "Maven Developers List" <[email protected]> Subject: Re: xdoc DTD - Do we already have a PUBLIC identifier? Cc: [email protected], [email protected] In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_21364_12471711.1143836707006" References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_21364_12471711.1143836707006 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, in fact it's not yet documented but the dtd is already online : http://maven.apache.org/maven-1.x/plugins/xdoc/maven-xdoc.dtd cheers arnaud On 3/31/06, Lukas Theussl <[email protected]> wrote: > > > No, there is none. The DTD is currently only available in SVN, it was > added in the 1.10 version of the maven-1 xdoc plugin which is not > released yet. As such, it is still work in progress, so I don't know if > it's a good idea to publish it at this point. However, as far as I'm > concerned, the xdoc-1.10 plugin could be released very soon, we will > consider your demand as soon as it's done (please remind us if we > forget, I know you are good at that! ;) ) > > -Lukas > > > Henning Schmiedehausen wrote: > > Hi, > > > > I finally was able to make heads and tails of the xdoc DTD as included > > in the maven 1 xdoc plugin (thanks a lot for this, Lukas & Arnaud!) . T= o > > make XMLMind to automatically identify these files, we do need a DTD > > public identifier. Do you already have one? Googling for this didn't > > really help me here. > > > > If you don't have decided for an identifier, I'd like to propose: > > > > <!DOCTYPE document PUBLIC "-//Apache Software Foundation//DTD XDOC 1.0 > //EN" > > "http://www.apache.org/dtds/xdoc_1_0.dtd"> > > > > as DTD identifier for the XDOC format. As I understand, we then must > > make this DTD visible at the designated location, which needs > > coordination with the infra people. However, putting it under > > www.apache.org means, that the mirror system will pick up these DTDs. > > > > Any opinions? If you agree, you can take a look at > > http://wiki.apache.org/jakarta-velocity/EditXdocs > > > > to get my XMLMind hackery for actually editing xdocs (not just painfull= y > > writing them... :-) ). > > > > Best regards > > Henning > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > ------=_Part_21364_12471711.1143836707006-- From [email protected] Sat Apr 01 13:14:57 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81326 invoked from network); 1 Apr 2006 13:14:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Apr 2006 13:14:56 -0000 Received: (qmail 50212 invoked by uid 500); 1 Apr 2006 13:14:49 -0000 Delivered-To: [email protected] Received: (qmail 50194 invoked by uid 500); 1 Apr 2006 13:14:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 69564 invoked by uid 99); 31 Mar 2006 19:10:45 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Message-ID: <[email protected]> Date: Fri, 31 Mar 2006 19:12:07 +0000 From: Lukas Theussl <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.7.12-1.3.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Maven Developers List <[email protected]> CC: [email protected], [email protected] Subject: Re: xdoc DTD - Do we already have a PUBLIC identifier? References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N No, there is none. The DTD is currently only available in SVN, it was added in the 1.10 version of the maven-1 xdoc plugin which is not released yet. As such, it is still work in progress, so I don't know if it's a good idea to publish it at this point. However, as far as I'm concerned, the xdoc-1.10 plugin could be released very soon, we will consider your demand as soon as it's done (please remind us if we forget, I know you are good at that! ;) ) -Lukas Henning Schmiedehausen wrote: > Hi, > > I finally was able to make heads and tails of the xdoc DTD as included > in the maven 1 xdoc plugin (thanks a lot for this, Lukas & Arnaud!) . To > make XMLMind to automatically identify these files, we do need a DTD > public identifier. Do you already have one? Googling for this didn't > really help me here. > > If you don't have decided for an identifier, I'd like to propose: > > <!DOCTYPE document PUBLIC "-//Apache Software Foundation//DTD XDOC 1.0//EN" > "http://www.apache.org/dtds/xdoc_1_0.dtd"> > > as DTD identifier for the XDOC format. As I understand, we then must > make this DTD visible at the designated location, which needs > coordination with the infra people. However, putting it under > www.apache.org means, that the mirror system will pick up these DTDs. > > Any opinions? If you agree, you can take a look at > http://wiki.apache.org/jakarta-velocity/EditXdocs > > to get my XMLMind hackery for actually editing xdocs (not just painfully > writing them... :-) ). > > Best regards > Henning > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 01 17:41:04 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71470 invoked from network); 1 Apr 2006 17:41:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Apr 2006 17:41:04 -0000 Received: (qmail 45208 invoked by uid 500); 1 Apr 2006 17:41:04 -0000 Delivered-To: [email protected] Received: (qmail 45008 invoked by uid 500); 1 Apr 2006 17:41:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 44997 invoked by uid 99); 1 Apr 2006 17:41:02 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Apr 2006 09:41:02 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Apr 2006 09:41:02 -0800 Received: by nproxy.gmail.com with SMTP id n28so807009nfc for <[email protected]>; Sat, 01 Apr 2006 09:40:40 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GX94HtXqtFZPq3VCWILwjiV9xVGbYEPbpBALBN4R7QI7MOfB84q8XDI8qHBgkfvF4stQn+Rcez4B4HavXGyl5PxmNPLu2CemR9Rh860orEds3LLoLSTWZK30BSpXWRHD63OSgy61k8467+Ppv2Rw52/NeGK++Q6zWbuS1Ee7qiw= Received: by 161.129.204.104 with SMTP id t10mr113012nfj; Sat, 01 Apr 2006 09:40:39 -0800 (PST) Received: by 161.129.204.104 with HTTP; Sat, 1 Apr 2006 09:40:39 -0800 (PST) Message-ID: <[email protected]> Date: Sat, 1 Apr 2006 09:40:39 -0800 From: "Nathan Bubna" <[email protected]> To: "Velocity Developers List" <[email protected]> Subject: Re: DVSL - ever released? In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Sounds good to me. On 3/31/06, Henri Yandell <[email protected]> wrote: > Anyone mind if I retroactively create a tag in SVN to point to the > revision the 0.45 jar was built from? > > I'll try to figure out the other releases too. > > Hen > > On 2/23/06, Henri Yandell <[email protected]> wrote: > > A colleague noticed that while there's a 0.45 jar of velocity-dvsl in > > the Maven repository; there are no tags in SVN and there's been no > > release on the site. I took a quick look and he's right; it's not a > > cvs2svn issue as there were no tags in CVS either. > > > > Is the 0.45 jar an unofficial rogue one? > > > > Hen > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 01 18:04:32 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76630 invoked from network); 1 Apr 2006 18:04:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Apr 2006 18:04:31 -0000 Received: (qmail 54954 invoked by uid 500); 1 Apr 2006 18:04:29 -0000 Delivered-To: [email protected] Received: (qmail 54923 invoked by uid 500); 1 Apr 2006 18:04:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 54902 invoked by uid 99); 1 Apr 2006 18:04:29 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Apr 2006 10:04:29 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO trshare.triumf.ca) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Apr 2006 10:04:28 -0800 Received: from [161.129.204.104] (S0106000d93c48a8c.vc.shawcable.net [161.129.204.104]) (authenticated bits=0) by trshare.triumf.ca (161.129.204.10460308/8.12.10) with ESMTP id k31I46JR025750 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 1 Apr 2006 10:04:07 -0800 Message-ID: <[email protected]> Date: Sat, 01 Apr 2006 18:05:58 +0000 From: Lukas Theussl <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.7.12-1.3.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Maven Developers List <[email protected]> CC: [email protected] Subject: Re: xdoc DTD - Do we already have a PUBLIC identifier? References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Actually, the navbar is in there already... I tried to discuss the question of what an xdoc is once on the maven dev list [1] but didn't get too much feedback. I then adopted the definition of an xdoc as something that is transformed into a valid xhtml1-transitional by the xdoc plugin. This of course links it intimately to maven and the xdoc plugin (which is also reflected in the current versioning scheme - the dtd in svn is called maven-xdoc-1.10.dtd and I assumed that we would publish a new version with every xdoc plugin). I never thought of '... getting XDOC out of the maven/velocity realm and making an "official" format'. As for now, the only difference between an xdoc and an xhtml1-transitional is the addition of the elements <section>, <subsection>, <escapeXml>, <source> and <navbar>. Any comments welcome. -Lukas [1] http://www.nabble.com/What-is-an-xdoc--t370461.html#a1023611 Henning Schmiedehausen wrote: > Hi, > > getting XDOC out of the maven/velocity realm and making an "official" > format would IMHO help its visibility tremendously. That's why I > proposed to adopt it as > > -//Apache Software Foundation//DTD XDOC 1.0//EN" > > and removed all the maven and velocity references from it. Having it > online is good, having [email protected]/dtds with an official > location and version number (1.0) is IMHO much better. > > It would also avoid "sneaking stuff in". ;-) (navbar...) > > Best regards > Henning > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 01 18:06:44 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77123 invoked from network); 1 Apr 2006 18:06:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Apr 2006 18:06:43 -0000 Received: (qmail 55777 invoked by uid 500); 1 Apr 2006 18:06:43 -0000 Delivered-To: [email protected] Received: (qmail 55755 invoked by uid 500); 1 Apr 2006 18:06:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 55738 invoked by uid 99); 1 Apr 2006 18:06:43 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Apr 2006 10:06:43 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO zproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Apr 2006 10:06:42 -0800 Received: by zproxy.gmail.com with SMTP id x3so1238277nzd for <[email protected]>; Sat, 01 Apr 2006 10:06:21 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=EG0rOPAsdWhXO8S5mnKW/w0FJjvgFW5DUYxel9iCdOx7Ygv7xoPmvp5AsyuQpR/WlEIzdpA5zrMzl7Fbcw11ASKnlfwv6b7j+GQYWQBvQvHZPF5QOAS1ubWdp/MPy+gfxD1LiHCwQG3d1gdQbXS65LcR8Lw/Z2XLELA3CMs8vTQ= Received: by 161.129.204.104 with SMTP id p13mr228615pyi; Sat, 01 Apr 2006 10:06:20 -0800 (PST) Received: by 161.129.204.104 with HTTP; Sat, 1 Apr 2006 10:06:20 -0800 (PST) Message-ID: <[email protected]> Date: Sat, 1 Apr 2006 10:06:20 -0800 From: "Will Glass-Husain" <[email protected]> Sender: [email protected] To: "Velocity Developers List" <[email protected]> Subject: Re: DVSL - ever released? In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks, Henri. WILL On 4/1/06, Nathan Bubna <[email protected]> wrote: > Sounds good to me. > > On 3/31/06, Henri Yandell <[email protected]> wrote: > > Anyone mind if I retroactively create a tag in SVN to point to the > > revision the 0.45 jar was built from? > > > > I'll try to figure out the other releases too. > > > > Hen > > > > On 2/23/06, Henri Yandell <[email protected]> wrote: > > > A colleague noticed that while there's a 0.45 jar of velocity-dvsl in > > > the Maven repository; there are no tags in SVN and there's been no > > > release on the site. I took a quick look and he's right; it's not a > > > cvs2svn issue as there were no tags in CVS either. > > > > > > Is the 0.45 jar an unofficial rogue one? > > > > > > Hen > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Forio Business Simulations Will Glass-Husain [email protected] www.forio.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 01 19:20:09 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99591 invoked from network); 1 Apr 2006 19:20:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Apr 2006 19:20:08 -0000 Received: (qmail 8297 invoked by uid 500); 1 Apr 2006 19:20:08 -0000 Delivered-To: [email protected] Received: (qmail 8093 invoked by uid 500); 1 Apr 2006 19:20:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 8082 invoked by uid 500); 1 Apr 2006 19:20:07 -0000 Received: (qmail 8079 invoked by uid 99); 1 Apr 2006 19:20:07 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Apr 2006 11:20:07 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 01 Apr 2006 11:20:07 -0800 Received: (qmail 99533 invoked by uid 65534); 1 Apr 2006 19:19:47 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r390735 - /jakarta/velocity/engine/trunk/xdocs/build.xml Date: Sat, 01 Apr 2006 19:19:46 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: henning Date: Sat Apr 1 11:19:46 2006 New Revision: 390735 URL: http://svn.apache.org/viewcvs?rev=390735&view=rev Log: Remove all tags and attributes that are illegal according to the xdoc DTD from the maven-xdoc-plugin Modified: jakarta/velocity/engine/trunk/xdocs/build.xml Modified: jakarta/velocity/engine/trunk/xdocs/build.xml URL: http://svn.apache.org/viewcvs/jakarta/velocity/engine/trunk/xdocs/build.xml?rev=390735&r1=390734&r2=390735&view=diff ============================================================================== --- jakarta/velocity/engine/trunk/xdocs/build.xml (original) +++ jakarta/velocity/engine/trunk/xdocs/build.xml Sat Apr 1 11:19:46 2006 @@ -9,7 +9,7 @@ <body> -<section name="Installation" href="Installation"> +<section name="Installation"> <p> Velocity runs on a variety of platforms that have installed the Java 2 @@ -47,7 +47,7 @@ </section> -<section name="Building" href="Building"> +<section name="Building"> <p> To make building Velocity easy and consistant, we require a Jakarta project @@ -67,7 +67,7 @@ </p> <p> -Change to the <filename>build</filename> directory (<code>cd +Change to the <b>build</b> directory (<code>cd build</code>). Then, to build the jar file, simply type: </p> @@ -76,13 +76,13 @@ ]]></source> <p> -Executing this script will create a <filename>bin</filename> directory -within the Velocity distribution directory. The <filename>bin</filename> +Executing this script will create a <b>bin</b> directory +within the Velocity distribution directory. The <b>bin</b> directory will contain the compiled class files (inside a -<filename>classes</filename> directory) as well as a -<filename>velocity-XX.jar</filename> file, where XX is the current +<b>classes</b> directory) as well as a +<b>velocity-XX.jar</b> file, where XX is the current version number. Be sure to update your classpath to include Velocity's -<filename>.jar</filename> file. +<b>.jar</b> file. </p> <p> @@ -206,7 +206,7 @@ </section> -<section name="Testing Your Installation" href="TestingYourInstallation"> +<section name="Testing Your Installation"> <p> The Velocity developers use an automated test facility, and it is @@ -216,7 +216,7 @@ <p> To run the test suite, simply use the build target -<filename>test</filename> when you build : +<b>test</b> when you build : </p> <source><![CDATA[ ant test --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 01 19:58:37 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14978 invoked from network); 1 Apr 2006 19:58:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Apr 2006 19:58:37 -0000 Received: (qmail 33134 invoked by uid 500); 1 Apr 2006 19:58:37 -0000 Delivered-To: [email protected] Received: (qmail 33106 invoked by uid 500); 1 Apr 2006 19:58:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 33095 invoked by uid 500); 1 Apr 2006 19:58:36 -0000 Received: (qmail 33092 invoked by uid 99); 1 Apr 2006 19:58:36 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Apr 2006 11:58:36 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Apr 2006 11:58:36 -0800 Received: from ajax.apache.org (localhost.localdomain [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 25B226ACB2 for <[email protected]>; Sat, 1 Apr 2006 20:58:15 +0100 (BST) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <[email protected]> To: [email protected] Date: Sat, 01 Apr 2006 19:58:15 -0000 Message-ID: <[email protected]> Subject: [Jakarta-velocity Wiki] Update of "EditXdocs" by HenningSchmiedehausen X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear Wiki user, You have subscribed to a wiki page or wiki category on "Jakarta-velocity Wiki" for change notification. The following page has been changed by HenningSchmiedehausen: http://wiki.apache.org/jakarta-velocity/EditXdocs ------------------------------------------------------------------------------ xdocs configuration. * Install XMLMind from [http://www.xmlmind.com/xmleditor/ XMLMind Editor page]. It is written in Java and runs on all major OS brands. + * Download the attached [attachment:xmlmind-xdoc.zip XMLMind XDOC add-on]. Unpack it into the XMLMind Editor user add-on directory. The preferences directory is - * Download the attached XMLMind_XDOC configuration (It's in tar.gz format). Unpack it into the XMLMind Editor user preferences directory below. (The user preferences directory location documentation is [http://www.xmlmind.com/xmleditor/_distrib/doc/configure/dtd_example.html here].) - * $HOME/.xxe/addon/ on Unix, * %!SystemDrive%\Documents and Settings\%USERNAME%\Application Data\XMLmind\XMLeditor\addon\ on Windows 2000/XP, * %!SystemDrive%\winnt\Profiles\%USERNAME%\Application Data\XMLmind\XMLeditor\addon\ on Windows NT. - - * '''Note: There is currently a bug in xdoc\template\empty_doc.xml as the DOCTYPE is missing the "1.0" part. Manually correct the file.''' * Restart the Editor. Select ''File -> New''. It should offer you "XDOC / Empty Doc". If yes, congratulations. It works. @@ -23, +20 @@ "http://www.apache.org/dtds/xdoc_1_0.dtd"> }}} - You can load maven xdocs by adding this entry to xdoc\xdoc_catalog.xml: + The xdoc add-on also recognizes the maven xdocs identifier {{{ + <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation Maven//EN"> - <public publicId="-//APACHE//DTD Documentation Maven//EN" - uri="dtd/xdoc_1_0.dtd"/> }}} - and by changing the <detect> entry in xdoc/xdoc.xxe to + Enjoy. This is how it should look like: [attachment:Editing_XDOC_with_XMLMind.png | Editing a XDOC File with XMLMind] + ---- - {{{ - <detect> - <or> - <dtdPublicId>-//Apache Software Foundation//DTD XDOC 1.0//EN</dtdPublicId> - <dtdPublicId>-//APACHE//DTD Documentation Maven//EN</dtdPublicId> - </or> - </detect> - }}} - Enjoy. + === Wanted List === + * It should be possible to set this add-on for automatic installation using the add-on Manager in XMLMind. + * It shouldn't be too hard to create a DTD from the XSD for the navigation.xml page and also add a CSS file for this. + + ---- [[AttachList]] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 01 20:01:04 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 16139 invoked from network); 1 Apr 2006 20:01:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Apr 2006 20:01:03 -0000 Received: (qmail 34295 invoked by uid 500); 1 Apr 2006 20:01:03 -0000 Delivered-To: [email protected] Received: (qmail 34273 invoked by uid 500); 1 Apr 2006 20:01:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 34261 invoked by uid 99); 1 Apr 2006 20:01:03 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Apr 2006 12:01:03 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO mail.hometree.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Apr 2006 12:01:01 -0800 Received: from tangens.hometree.net (mail.hometree.net [161.129.204.104]) by mail.hometree.net (161.129.204.10460308/8.12.11) with ESMTP id k31K0dn3021368 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <[email protected]>; Sat, 1 Apr 2006 22:00:39 +0200 Received: (from news@localhost) by tangens.hometree.net (161.129.204.10460308/8.12.11/Submit) id k31K0dNb021366 for [email protected]; Sat, 1 Apr 2006 22:00:39 +0200 To: [email protected] Path: not-for-mail From: "Henning P. Schmiedehausen" <[email protected]> Newsgroups: hometree.jakarta.velocity.dev Subject: Re: xdoc DTD - Do we already have a PUBLIC identifier? Date: Sat, 1 Apr 2006 20:00:39 +0000 (UTC) Organization: INTERMETA - Gesellschaft fuer Mehrwertdienste mbH Lines: 35 Message-ID: <[email protected]> References: <[email protected]> <[email protected]> Reply-To: [email protected] NNTP-Posting-Host: forge.intermeta.de X-Trace: tangens.hometree.net 1143921639 21347 161.129.204.104 (1 Apr 2006 20:00:39 GMT) X-Complaints-To: [email protected] NNTP-Posting-Date: Sat, 1 Apr 2006 20:00:39 +0000 (UTC) X-Copyright: (C) 1996-2005 Henning Schmiedehausen User-Agent: nn/6.6.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N "Mike Kienenberger" <[email protected]> writes: >On 3/31/06, Mike Kienenberger <[email protected]> wrote: >> I still get an error when doing a "File -> New -> XDocs": >> >> Cannot open file >> ".....\XMLMind\XMLEditor\addon\xdoc\template\empty_doc.xml": >> http://www.apache.org/dtd/xdoc.dtd >Ok. I read some more, and the problem is that the empty_doc.xml file >DOCTYPE doesn't match the xdoc_catalog.xml file. One is "XDOC >1.0//EN" and the other is "XDOC//EN". Making them both 1.0 works. I've incorporated your patches and also read up on the white-space preservation stuff so that the <source> </source> sections no longer get mangled. I've added your maven documentation identifier to the xdoc.xxe and fixed up the bugs. I've put this onto the wiki page (and found out how to put links onto attachments). Please try out. :-) Best regards Henning -- Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH [email protected] +1-913-501-1940 http://www.intermeta.de/ RedHat Certified Engineer -- Jakarta Turbine Development -- hero for hire Linux, Java, perl, Solaris -- Consulting, Training, Development Social behaviour: Bavarians can be extremely egalitarian and folksy. -- http://en.wikipedia.org/wiki/Bavaria Most Franconians do not like to be called Bavarians. -- http://en.wikipedia.org/wiki/Franconia --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 01 20:05:40 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17367 invoked from network); 1 Apr 2006 20:05:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Apr 2006 20:05:39 -0000 Received: (qmail 36990 invoked by uid 500); 1 Apr 2006 20:05:39 -0000 Delivered-To: [email protected] Received: (qmail 36965 invoked by uid 500); 1 Apr 2006 20:05:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 36954 invoked by uid 99); 1 Apr 2006 20:05:39 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Apr 2006 12:05:39 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO mail.hometree.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Apr 2006 12:05:38 -0800 Received: from tangens.hometree.net (mail.hometree.net [161.129.204.104]) by mail.hometree.net (161.129.204.10460308/8.12.11) with ESMTP id k31K5GGu021523 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <[email protected]>; Sat, 1 Apr 2006 22:05:16 +0200 Received: (from news@localhost) by tangens.hometree.net (161.129.204.10460308/8.12.11/Submit) id k31K5GKK021521 for [email protected]; Sat, 1 Apr 2006 22:05:16 +0200 To: [email protected] Path: not-for-mail From: "Henning P. Schmiedehausen" <[email protected]> Newsgroups: hometree.jakarta.velocity.dev Subject: Re: xdoc DTD - Do we already have a PUBLIC identifier? Date: Sat, 1 Apr 2006 20:05:16 +0000 (UTC) Organization: INTERMETA - Gesellschaft fuer Mehrwertdienste mbH Lines: 81 Message-ID: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Reply-To: [email protected] NNTP-Posting-Host: forge.intermeta.de X-Trace: tangens.hometree.net 1143921916 21347 161.129.204.104 (1 Apr 2006 20:05:16 GMT) X-Complaints-To: [email protected] NNTP-Posting-Date: Sat, 1 Apr 2006 20:05:16 +0000 (UTC) X-Copyright: (C) 1996-2005 Henning Schmiedehausen User-Agent: nn/6.6.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Lukas Theussl <[email protected]> writes: yes, and the xdoc plugin come from the Anakia format which uses Velocity to do the same transformation. Actually, the xdoc is better but Anakia is older. And all over the place at the ASF (e.g. the Jakarta site is built with it). Basically, xdoc is sort of "Apache Infrastructure" with the maven-xdoc plugin being its first-class citizen. >Actually, the navbar is in there already... Yes, but it wasn't in the anakia format, last time I looked. ;-) (http://svn.apache.org/viewcvs.cgi/jakarta/velocity/engine/trunk/xdocs/stylesheets/site.vsl?rev=369042&view=markup if you enjoy reading up on Velocity macros. ;-) ) AFAIK, there is no such thing as an Anakia/XDOC documentation. Basically, it is XHTML + document + section + subsection + source. Best regards Henning >I tried to discuss the question of what an xdoc is once on the maven dev >list [1] but didn't get too much feedback. I then adopted the definition >of an xdoc as something that is transformed into a valid >xhtml1-transitional by the xdoc plugin. This of course links it >intimately to maven and the xdoc plugin (which is also reflected in the >current versioning scheme - the dtd in svn is called maven-xdoc-1.10.dtd >and I assumed that we would publish a new version with every xdoc >plugin). I never thought of '... getting XDOC out of the maven/velocity >realm and making an "official" format'. >As for now, the only difference between an xdoc and an >xhtml1-transitional is the addition of the elements <section>, ><subsection>, <escapeXml>, <source> and <navbar>. >Any comments welcome. >-Lukas >[1] http://www.nabble.com/What-is-an-xdoc--t370461.html#a1023611 >Henning Schmiedehausen wrote: >> Hi, >> >> getting XDOC out of the maven/velocity realm and making an "official" >> format would IMHO help its visibility tremendously. That's why I >> proposed to adopt it as >> >> -//Apache Software Foundation//DTD XDOC 1.0//EN" >> >> and removed all the maven and velocity references from it. Having it >> online is good, having [email protected]/dtds with an official >> location and version number (1.0) is IMHO much better. >> >> It would also avoid "sneaking stuff in". ;-) (navbar...) >> >> Best regards >> Henning >> >--------------------------------------------------------------------- >To unsubscribe, e-mail: [email protected] >For additional commands, e-mail: [email protected] -- Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH [email protected] +1-913-501-1940 http://www.intermeta.de/ RedHat Certified Engineer -- Jakarta Turbine Development -- hero for hire Linux, Java, perl, Solaris -- Consulting, Training, Development Social behaviour: Bavarians can be extremely egalitarian and folksy. -- http://en.wikipedia.org/wiki/Bavaria Most Franconians do not like to be called Bavarians. -- http://en.wikipedia.org/wiki/Franconia --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 01 20:08:45 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17858 invoked from network); 1 Apr 2006 20:08:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Apr 2006 20:08:45 -0000 Received: (qmail 37835 invoked by uid 500); 1 Apr 2006 20:08:44 -0000 Delivered-To: [email protected] Received: (qmail 37815 invoked by uid 500); 1 Apr 2006 20:08:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 37804 invoked by uid 99); 1 Apr 2006 20:08:44 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Apr 2006 12:08:44 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO mail.hometree.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Apr 2006 12:08:42 -0800 Received: from tangens.hometree.net (mail.hometree.net [161.129.204.104]) by mail.hometree.net (161.129.204.10460308/8.12.11) with ESMTP id k31K8LFi021744 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <[email protected]>; Sat, 1 Apr 2006 22:08:21 +0200 Received: (from news@localhost) by tangens.hometree.net (161.129.204.10460308/8.12.11/Submit) id k31K8LiY021742 for [email protected]; Sat, 1 Apr 2006 22:08:21 +0200 To: [email protected] Path: not-for-mail From: "Henning P. Schmiedehausen" <[email protected]> Newsgroups: hometree.jakarta.velocity.dev Subject: Re: quick comments on XMLMind Date: Sat, 1 Apr 2006 20:08:21 +0000 (UTC) Organization: INTERMETA - Gesellschaft fuer Mehrwertdienste mbH Lines: 43 Message-ID: <[email protected]> References: <[email protected]> Reply-To: [email protected] NNTP-Posting-Host: forge.intermeta.de X-Trace: tangens.hometree.net 1143922101 21347 161.129.204.104 (1 Apr 2006 20:08:21 GMT) X-Complaints-To: [email protected] NNTP-Posting-Date: Sat, 1 Apr 2006 20:08:21 +0000 (UTC) X-Copyright: (C) 1996-2005 Henning Schmiedehausen User-Agent: nn/6.6.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N "Will Glass-Husain" <[email protected]> writes: >One quick note. It confused me that the attachment was labeled >"XMLMind_XDOC" not "XMLMind_XDOC.tar.gz". Had to re-read the >directions, realize it needed to be renamed. Actually, a zip file >might be more intuitive, but perhaps that's just me. Yeah, I was in a bit of a hurry to get this stuff up. I was getting ready to fetch my new car from the dealer... ;-) I've cleaned this up a bit more today. It should be easier to use now. >Also, since the files are provided, why did I have to hand-edit them? Because they were buggy. This should be better now. >I'll have to play with it, see if this helps editing docs. My quick >take is that it's harder to read than well-formatted text, primarily >because <A> and <B> type tags break up the flow. But it does look >easier to validate. I like the fact that I can now see (roughly) what the resulting page will look like. This is IMHO a big win over the "xml forest in an editor window". Major drawback is that XMLMind nukes some of the formatting. The docs will be harder to edit by hand. But then again, XMLMind is free and runs on all platforms. Best regards Henning -- Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH [email protected] +1-913-501-1940 http://www.intermeta.de/ RedHat Certified Engineer -- Jakarta Turbine Development -- hero for hire Linux, Java, perl, Solaris -- Consulting, Training, Development Social behaviour: Bavarians can be extremely egalitarian and folksy. -- http://en.wikipedia.org/wiki/Bavaria Most Franconians do not like to be called Bavarians. -- http://en.wikipedia.org/wiki/Franconia --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 01 20:10:20 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18192 invoked from network); 1 Apr 2006 20:10:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Apr 2006 20:10:19 -0000 Received: (qmail 39062 invoked by uid 500); 1 Apr 2006 20:10:18 -0000 Delivered-To: [email protected] Received: (qmail 39040 invoked by uid 500); 1 Apr 2006 20:10:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 39029 invoked by uid 99); 1 Apr 2006 20:10:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Apr 2006 12:10:18 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO mail.hometree.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Apr 2006 12:10:17 -0800 Received: from tangens.hometree.net (mail.hometree.net [161.129.204.104]) by mail.hometree.net (161.129.204.10460308/8.12.11) with ESMTP id k31K9tcs021755 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <[email protected]>; Sat, 1 Apr 2006 22:09:55 +0200 Received: (from news@localhost) by tangens.hometree.net (161.129.204.10460308/8.12.11/Submit) id k31K9t9g021753 for [email protected]; Sat, 1 Apr 2006 22:09:55 +0200 To: [email protected] Path: not-for-mail From: "Henning P. Schmiedehausen" <[email protected]> Newsgroups: hometree.jakarta.velocity.dev Subject: Re: quick comments on XMLMind Date: Sat, 1 Apr 2006 20:09:55 +0000 (UTC) Organization: INTERMETA - Gesellschaft fuer Mehrwertdienste mbH Lines: 25 Message-ID: <[email protected]> References: <[email protected]> <[email protected]> Reply-To: [email protected] NNTP-Posting-Host: forge.intermeta.de X-Trace: tangens.hometree.net 1143922195 21347 161.129.204.104 (1 Apr 2006 20:09:55 GMT) X-Complaints-To: [email protected] NNTP-Posting-Date: Sat, 1 Apr 2006 20:09:55 +0000 (UTC) X-Copyright: (C) 1996-2005 Henning Schmiedehausen User-Agent: nn/6.6.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N "Mike Kienenberger" <[email protected]> writes: >Hey Will, I noticed the same things, but I didn't feel it was my >place to change the attachment, particularly since I wasn't sure if >the changes I was making were the right ones. I also would prefer a >zip file. I've put up a zip file. I thought so that you Windows types will find that easier to use ;-) ;-) Best regards Henning -- Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH [email protected] +1-913-501-1940 http://www.intermeta.de/ RedHat Certified Engineer -- Jakarta Turbine Development -- hero for hire Linux, Java, perl, Solaris -- Consulting, Training, Development Social behaviour: Bavarians can be extremely egalitarian and folksy. -- http://en.wikipedia.org/wiki/Bavaria Most Franconians do not like to be called Bavarians. -- http://en.wikipedia.org/wiki/Franconia --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 01 22:55:42 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65082 invoked from network); 1 Apr 2006 22:55:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Apr 2006 22:55:42 -0000 Received: (qmail 24186 invoked by uid 500); 1 Apr 2006 22:55:41 -0000 Delivered-To: [email protected] Received: (qmail 24161 invoked by uid 500); 1 Apr 2006 22:55:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 24149 invoked by uid 99); 1 Apr 2006 22:55:41 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Apr 2006 14:55:41 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO zproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Apr 2006 14:55:39 -0800 Received: by zproxy.gmail.com with SMTP id x3so1290441nzd for <[email protected]>; Sat, 01 Apr 2006 14:55:19 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=aLHhzeSdLtBheAEYhlS1I8onQ4qjXgF56Ib1mJwAjACxKvkg2GLo9tkVzWNe+fi37WXpH+97zoPNdPGlLIoTRFzi1B3lFHFI4SFQMmcXqn48ol/OGVjy7fwnTCU7oNZGK7P53f0qU6dhq7mFs9HIwtVAMnXgCoTpyIizkSyo390= Received: by 161.129.204.104 with SMTP id e7mr2194818pyn; Sat, 01 Apr 2006 14:55:19 -0800 (PST) Received: by 161.129.204.104 with HTTP; Sat, 1 Apr 2006 14:55:19 -0800 (PST) Message-ID: <[email protected]> Date: Sat, 1 Apr 2006 14:55:19 -0800 From: "Will Glass-Husain" <[email protected]> Sender: [email protected] To: "Velocity Developers List" <[email protected]>, [email protected] Subject: Re: quick comments on XMLMind In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Ah-ha! This line is the key: <!DOCTYPE document PUBLIC "-//Apache Software Foundation//DTD XDOC 1.0//EN" "http://www.apache.org/dtds/xdoc_1_0.dtd"> Originally I opened an xdoc and it displayed in an un-intelligable tree. But when I added this line, it opened in nice readable format.=20 Much better. Thanks, WILL On 4/1/06, Henning P. Schmiedehausen <[email protected]> wrote: > "Mike Kienenberger" <[email protected]> writes: > > >Hey Will, I noticed the same things, but I didn't feel it was my > >place to change the attachment, particularly since I wasn't sure if > >the changes I was making were the right ones. I also would prefer a > >zip file. > > I've put up a zip file. I thought so that you Windows types will find > that easier to use ;-) ;-) > > Best regards > Henning > > > -- > Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH > [email protected] +1-913-501-1940 http://www.intermeta.de/ > > RedHat Certified Engineer -- Jakarta Turbine Development -- hero for hir= e > Linux, Java, perl, Solaris -- Consulting, Training, Development > > Social behaviour: Bavarians can be extremely egalitarian and folksy. > -- http://en.wikipedia.org/wiki/Bavar= ia > Most Franconians do not like to be called Bavarians. > -- http://en.wikipedia.org/wiki/Franc= onia > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Forio Business Simulations Will Glass-Husain [email protected] www.forio.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 02 10:21:27 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44366 invoked from network); 2 Apr 2006 10:21:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Apr 2006 10:21:26 -0000 Received: (qmail 93586 invoked by uid 500); 2 Apr 2006 10:21:26 -0000 Delivered-To: [email protected] Received: (qmail 93563 invoked by uid 500); 2 Apr 2006 10:21:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 93552 invoked by uid 99); 2 Apr 2006 10:21:25 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Apr 2006 03:21:25 -0700 Date: Sun, 02 Apr 2006 03:09:27 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-test (in module jakarta-velocity) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 61 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-test : Template engine Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/gump_work/build_jakarta-velocity_jakarta-velocity-test.html Work Name: build_jakarta-velocity_jakarta-velocity-test (Type: Build) Work ended in a state of : Failed Elapsed: 8 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only test [Working Directory: /usr/local/gump/public/workspace/jakarta-velocity/build] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/test-classes:/usr/local/gump/public/workspace/jakarta-velocity/test/cpload/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/texen-classpath/test.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/multiloader/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-02042006.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-dep-02042006.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-servletapi/dist/lib/servlet.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/packages/werken-xpath/werken-xpath-0.9.4.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-02042006.jar:/usr/local/gump/public/workspace/jakarta-bcel/target/bcel-02042006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-02042006.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-02042006.jar:/usr/local/gump/public/workspace/excalibur/containerkit/logkit/target/excalibur-logkit-02042006.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-02042006.jar:/usr/local/gump/packages/antlr-2.7.6/antlr.jar --------------------------------------------- http-download: [get] Getting: http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/servletapi-2.3.jar [get] Not modified - so not downloaded werken-xpath-download: http-download: [get] Getting: http://www.ibiblio.org/maven/werken-xpath/jars/werken-xpath-0.9.4.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/werken-xpath-0.9.4.jar [get] Not modified - so not downloaded basic-prepare: check-jdbc: check-jdbc-true: check-jdbc-false: prepare-jdbc: check-jdk14: check-jdk14-true: check-jdk14-false: prepare-jdk14: prepare: compile-src: compile-test: [javac] Compiling 58 source files to /x1/gump/public/workspace/jakarta-velocity/bin/test-classes [javac] Note: /x1/gump/public/workspace/jakarta-velocity/bin/test-src/org/apache/velocity/test/VelocityServletTestCase.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. test: [mkdir] Created dir: /x1/gump/public/workspace/jakarta-velocity/bin/test-reports [junit] Running org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.036 sec BUILD FAILED /x1/gump/public/workspace/jakarta-velocity/build/build.xml:758: Test org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase failed Total time: 7 seconds --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 25000002042006, vmgump.apache.org:vmgump-public:25000002042006 Gump E-mail Identifier (unique within run) #43. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 02 11:58:28 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74058 invoked from network); 2 Apr 2006 11:58:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Apr 2006 11:58:28 -0000 Received: (qmail 25287 invoked by uid 500); 2 Apr 2006 11:58:27 -0000 Delivered-To: [email protected] Received: (qmail 25079 invoked by uid 500); 2 Apr 2006 11:58:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 25060 invoked by uid 99); 2 Apr 2006 11:58:26 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Apr 2006 04:58:26 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail.intermeta.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Apr 2006 04:58:25 -0700 Received: from forge.intermeta.de (forge.intermeta.de [161.129.204.104]) (authenticated bits=0) by mail.intermeta.de (161.129.204.10460308/8.12.11) with ESMTP id k32Bw0m2007957 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Sun, 2 Apr 2006 13:58:01 +0200 Subject: Getting a central location for ASF DTDs From: Henning Schmiedehausen <[email protected]> Reply-To: [email protected] To: Apache Infrastructure <[email protected]> Cc: Velocity Developers List <[email protected]> Content-Type: text/plain Organization: INTERMETA - Gesellschaft fuer Mehrwertdienste mbH Date: Sun, 02 Apr 2006 13:58:00 +0200 Message-Id: <[email protected]> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.fc4) Content-Transfer-Encoding: 7bit X-INTERMETA-Spam-Score: -5.899 () ALL_TRUSTED,BAYES_00 X-Scanned-By: MIMEDefang 2.54 on 161.129.204.104 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, as part of the 'next' release of Jakarta Velocity, we want to rework the docs that are currently in xdoc format. Xdoc is used in some places inside the ASF, not the last being the base format used by the Jakarta web site (through Anakia and Velocity) source and the documentation of many other Apache projects. Arnaud Heritier and Lukas Theussl have created a DTD for the maven-xdoc plugin which can transform the XDOC format into XHTML. However, what we are missing is a central location for this DTD. As this is not "just part of maven country" and "not just part of Jakarta Velocity", I'd like to put this DTD into a central location and proposed 'http://www.apache.org/dtds/' as its storage location. As this would be picked up by the mirrors, this is IMHO a good place. So the question is: What steps need to be taken to set up such a location (which would be in the tradition of struts.apache.org/dtds or avalon.apache.org/dtds ... ;-) ) and give the committers related to the XDOC stuff (which are probably the maven-xdoc folks and the Jakarta Velocity people) write access. Or are there objections from the infrastructure team about such a centralized DTD location? Best regards Henning -- Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH [email protected] +1-913-501-1940 http://www.intermeta.de/ RedHat Certified Engineer -- Jakarta Turbine Development Linux, Java, perl, Solaris -- Consulting, Training, Engineering Social behaviour: Bavarians can be extremely egalitarian and folksy. -- http://en.wikipedia.org/wiki/Bavaria Most Franconians do not like to be called Bavarians. -- http://en.wikipedia.org/wiki/Franconia --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 02 13:09:43 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94130 invoked from network); 2 Apr 2006 13:09:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Apr 2006 13:09:43 -0000 Received: (qmail 54438 invoked by uid 500); 2 Apr 2006 13:09:42 -0000 Delivered-To: [email protected] Received: (qmail 54414 invoked by uid 500); 2 Apr 2006 13:09:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 54403 invoked by uid 500); 2 Apr 2006 13:09:42 -0000 Received: (qmail 54400 invoked by uid 99); 2 Apr 2006 13:09:42 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Apr 2006 06:09:42 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Apr 2006 06:09:41 -0700 Received: from ajax.apache.org (localhost.localdomain [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 015BC6ACB2 for <[email protected]>; Sun, 2 Apr 2006 14:09:21 +0100 (BST) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <[email protected]> To: [email protected] Date: Sun, 02 Apr 2006 13:09:20 -0000 Message-ID: <[email protected]> Subject: [Jakarta-velocity Wiki] Update of "EditXdocs" by HenningSchmiedehausen X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear Wiki user, You have subscribed to a wiki page or wiki category on "Jakarta-velocity Wiki" for change notification. The following page has been changed by HenningSchmiedehausen: http://wiki.apache.org/jakarta-velocity/EditXdocs ------------------------------------------------------------------------------ * It should be possible to set this add-on for automatic installation using the add-on Manager in XMLMind. * It shouldn't be too hard to create a DTD from the XSD for the navigation.xml page and also add a CSS file for this. + * However, the "Standard" Edition of the XMLMind editor restricts the XSD usage to just a few schemas. So it would be necessary to convert the navigation.xsd from the maven-xdoc plugin into a DTD first. ---- [[AttachList]] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 02 20:15:22 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 27649 invoked from network); 2 Apr 2006 20:15:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Apr 2006 20:15:22 -0000 Received: (qmail 26503 invoked by uid 500); 2 Apr 2006 20:15:06 -0000 Delivered-To: [email protected] Received: (qmail 25854 invoked by uid 500); 2 Apr 2006 20:15:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 25832 invoked by uid 99); 2 Apr 2006 20:15:02 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Apr 2006 13:15:02 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO fed1rmmtao05.cox.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Apr 2006 13:15:01 -0700 Received: from [161.129.204.104] (really [161.129.204.104]) by fed1rmmtao05.cox.net (InterMail vM.161.129.204.104 201-2131-123-102-20050715) with ESMTP id <20060402201440.SWMI17838.fed1rmmtao05.cox.net@[161.129.204.104]>; Sun, 2 Apr 2006 16:14:40 -0400 In-Reply-To: <[email protected]> References: <[email protected]> Mime-Version: 1.0 (Apple Message framework v746.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <[email protected]> Cc: Apache Infrastructure <[email protected]>, Velocity Developers List <[email protected]> Content-Transfer-Encoding: 7bit From: "Roy T. Fielding" <[email protected]> Subject: Re: Getting a central location for ASF DTDs Date: Sun, 2 Apr 2006 13:14:39 -0700 To: [email protected] X-Mailer: Apple Mail (2.746.3) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Apr 2, 2006, at 4:58 AM, Henning Schmiedehausen wrote: > Hi, > > as part of the 'next' release of Jakarta Velocity, we want to > rework the > docs that are currently in xdoc format. Xdoc is used in some places > inside the ASF, not the last being the base format used by the Jakarta > web site (through Anakia and Velocity) source and the documentation of > many other Apache projects. > > Arnaud Heritier and Lukas Theussl have created a DTD for the maven- > xdoc > plugin which can transform the XDOC format into XHTML. However, > what we > are missing is a central location for this DTD. As this is not "just > part of maven country" and "not just part of Jakarta Velocity", I'd > like > to put this DTD into a central location and proposed > 'http://www.apache.org/dtds/' as its storage location. As this > would be > picked up by the mirrors, this is IMHO a good place. > > So the question is: What steps need to be taken to set up such a > location (which would be in the tradition of struts.apache.org/dtds or > avalon.apache.org/dtds ... ;-) ) and give the committers related to > the > XDOC stuff (which are probably the maven-xdoc folks and the Jakarta > Velocity people) write access. Or are there objections from the > infrastructure team about such a centralized DTD location? I object. XML software is friggin broken, including the stuff we produce. DTDs are never needed in XML and if you include a full URI in the declaration then the idiotic parsers will retrieve it at runtime for no good reason. The location needs to be a file relative to the documentation just to keep our server from dying. What they should produce is a RELAX-NG grammar and simply make that file available in the distribution for validation. Referencing the DTD inside the XDOC/XHTML files is harmful to extensibility. ....Roy --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 02 21:27:55 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47432 invoked from network); 2 Apr 2006 21:27:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Apr 2006 21:27:55 -0000 Received: (qmail 60575 invoked by uid 500); 2 Apr 2006 21:27:54 -0000 Delivered-To: [email protected] Received: (qmail 60551 invoked by uid 500); 2 Apr 2006 21:27:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 60540 invoked by uid 99); 2 Apr 2006 21:27:54 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Apr 2006 14:27:54 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail.intermeta.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Apr 2006 14:27:53 -0700 Received: from forge.intermeta.de (forge.intermeta.de [161.129.204.104]) (authenticated bits=0) by mail.intermeta.de (161.129.204.10460308/8.12.11) with ESMTP id k32LR2Ev006462 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Sun, 2 Apr 2006 23:27:02 +0200 Subject: Re: Getting a central location for ASF DTDs From: Henning Schmiedehausen <[email protected]> Reply-To: [email protected] To: "Roy T. Fielding" <[email protected]> Cc: Apache Infrastructure <[email protected]>, Velocity Developers List <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Content-Type: text/plain Organization: INTERMETA - Gesellschaft fuer Mehrwertdienste mbH Date: Sun, 02 Apr 2006 23:27:02 +0200 Message-Id: <[email protected]> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.fc4) Content-Transfer-Encoding: 7bit X-INTERMETA-Spam-Score: -5.899 () ALL_TRUSTED,BAYES_00 X-Scanned-By: MIMEDefang 2.54 on 161.129.204.104 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, there are some interesting points. The main problem IMHO with system identifiers that relatively point to a local file is, that you have to juggle the pathes all the time. You are always fixing up the DTD location path if you move a file up or down in the file hierarchy. You don't have that problem with an external URI. Not referencing it breaks the XML editors which use the DTD to validate the docs. Relax NG and XML Schema are nice things but where are the tools? If you object strongly, I'd really like to see a possible alternative. We finally have some sort of tool set which is able to edit xdoc files without resorting to a text editor and typing <section> manually. If an application decides to load a known DTD at runtime, then IMHO the application is broken. Not the specification. We have a number of DTD locations all over the ASF (I can cite three or four off the top of my head). Personally I'd prefer to coordinate with the infra team for a centralized location instead of using a project location. The ASF infrastructure survives struts.apache.org/dtds, so I see no reason why it shouldn't survive a centralized location for the XDOC DTD. Is the DTD traffic really killing the servers? Or is that more of a political issue? Best regards Henning On Sun, 2006-04-02 at 13:14 -0700, Roy T. Fielding wrote: > On Apr 2, 2006, at 4:58 AM, Henning Schmiedehausen wrote: > > > Hi, > > > > as part of the 'next' release of Jakarta Velocity, we want to > > rework the > > docs that are currently in xdoc format. Xdoc is used in some places > > inside the ASF, not the last being the base format used by the Jakarta > > web site (through Anakia and Velocity) source and the documentation of > > many other Apache projects. > > > > Arnaud Heritier and Lukas Theussl have created a DTD for the maven- > > xdoc > > plugin which can transform the XDOC format into XHTML. However, > > what we > > are missing is a central location for this DTD. As this is not "just > > part of maven country" and "not just part of Jakarta Velocity", I'd > > like > > to put this DTD into a central location and proposed > > 'http://www.apache.org/dtds/' as its storage location. As this > > would be > > picked up by the mirrors, this is IMHO a good place. > > > > So the question is: What steps need to be taken to set up such a > > location (which would be in the tradition of struts.apache.org/dtds or > > avalon.apache.org/dtds ... ;-) ) and give the committers related to > > the > > XDOC stuff (which are probably the maven-xdoc folks and the Jakarta > > Velocity people) write access. Or are there objections from the > > infrastructure team about such a centralized DTD location? > > I object. XML software is friggin broken, including the stuff we > produce. DTDs are never needed in XML and if you include a full URI > in the declaration then the idiotic parsers will retrieve it at runtime > for no good reason. The location needs to be a file relative to the > documentation just to keep our server from dying. > > What they should produce is a RELAX-NG grammar and simply make that > file available in the distribution for validation. Referencing the > DTD inside the XDOC/XHTML files is harmful to extensibility. > > ....Roy > -- Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH [email protected] +1-913-501-1940 http://www.intermeta.de/ RedHat Certified Engineer -- Jakarta Turbine Development Linux, Java, perl, Solaris -- Consulting, Training, Engineering Social behaviour: Bavarians can be extremely egalitarian and folksy. -- http://en.wikipedia.org/wiki/Bavaria Most Franconians do not like to be called Bavarians. -- http://en.wikipedia.org/wiki/Franconia --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 03 05:05:27 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81201 invoked from network); 3 Apr 2006 05:05:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Apr 2006 05:05:27 -0000 Received: (qmail 93340 invoked by uid 500); 3 Apr 2006 05:05:26 -0000 Delivered-To: [email protected] Received: (qmail 93314 invoked by uid 500); 3 Apr 2006 05:05:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 93303 invoked by uid 99); 3 Apr 2006 05:05:25 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Apr 2006 22:05:25 -0700 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=MISSING_HEADERS,RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Apr 2006 22:05:25 -0700 Received: by nproxy.gmail.com with SMTP id l35so1051726nfa for <[email protected]>; Sun, 02 Apr 2006 22:05:04 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=ADxyF/S2Hs0DTrOvK2BNqfQmrIGENeK5P5Tg2f/H03FutsvmNxa56acy9DdTbo/tYiwuxQmsteud2JxSYg1KRoOAgwLyC5905MCiy8JNjPtLxtU2K3dZA+j92Cx1XK/+NdpWYR/Ss5BiZXK3xV+4F7qUsZxfcpY9ZunDdeM6dOM= Received: by 161.129.204.104 with SMTP id h4mr2079875nfl; Sun, 02 Apr 2006 22:05:04 -0700 (PDT) Received: from ?161.129.204.104? ( [161.129.204.104]) by mx.gmail.com with ESMTP id v20sm1571206nfc.2161.129.204.104.05.03; Sun, 02 Apr 2006 22:05:04 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 03 Apr 2006 07:05:09 +0200 From: Jochen Wiedmann <[email protected]> User-Agent: Thunderbird 1.5 (X11/20060313) MIME-Version: 1.0 CC: Apache Infrastructure <[email protected]>, Velocity Developers List <[email protected]> Subject: Re: Getting a central location for ASF DTDs References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Roy T. Fielding wrote: > I object. XML software is friggin broken, including the stuff we > produce. DTDs are never needed in XML and if you include a full URI > in the declaration then the idiotic parsers will retrieve it at runtime > for no good reason. The location needs to be a file relative to the > documentation just to keep our server from dying. Roy, traffic to apache.org can be avoided quite simple: Use an URI like http://namespaces.apache.org/jakarta/velocity/... Note, that namespaces.apache.org isn't resolvable via DNS. As you fear, this will lead to problems on the users side. But I do believe, that it's finally time for people to learn using entity resolvers. > What they should produce is a RELAX-NG grammar and simply make that > file available in the distribution for validation. Referencing the > DTD inside the XDOC/XHTML files is harmful to extensibility. Forcing people not to use a DTD doesn't sound like a practical option (it possibly is for you). Additionally, the problem is quite the same with XML Schema. Henning Schmiedehausen wrote: > Not referencing it breaks the XML editors which use the DTD to validate > the docs. Relax NG and XML Schema are nice things but where are the > tools? Are you kidding? Ever used XML Spy or a beast like that? Ever used JAXB? In contrary, DTD's are (fortunately) dying out. > If an application decides to load a known DTD at runtime, then IMHO the > application is broken. Not the specification. It's not as easy as you think, in particular, because XML parsing frequently occurs in external components, which you can hardly control. The most practical solution are entity resolvers, indeed. Jochen --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 03 05:56:27 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 1624 invoked from network); 3 Apr 2006 05:56:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Apr 2006 05:56:26 -0000 Received: (qmail 22038 invoked by uid 500); 3 Apr 2006 05:56:26 -0000 Delivered-To: [email protected] Received: (qmail 22015 invoked by uid 500); 3 Apr 2006 05:56:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 22004 invoked by uid 99); 3 Apr 2006 05:56:26 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Apr 2006 22:56:26 -0700 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=MIME_BASE64_TEXT X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO mail.generali-net.at) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Apr 2006 22:56:25 -0700 Subject: Rene Gritsch ist =?ISO-8859-1?B?YXXfZXIgSGF1cyAvIGlzIG91dCBvZiB0aGUgb2ZmaWNl?= From: Rene Gritsch <[email protected]> To: [email protected] Message-ID: <[email protected]> Date: Mon, 3 Apr 2006 07:55:59 +0200 X-MIMETrack: Serialize by Router on AT_X02/INOExt/AT(Release 6.5|September 26, 2003) at 03.04.2006 07:57:05 MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: base64 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DQoNCg0KDQpJY2ggYmluIGFiIDAzLjA0LjIwMDYgYXXfZXIgSGF1cyB1bmQgYWIgMTYuMDQuMjAw NiB3aWVkZXIgaW0gQvxyby4NCkknbSBvdXQgb2YgdGhlIG9mZmljZSBmcm9tIDAzLjA0LjIwMDYg YW5kIHdpbGwgYmUgYmFjayBvbiAxNi4wNC4yMDA2Lg0KDQpHZXJuZSB3ZXJkZSBpY2ggSWhyZSBO YWNocmljaHQgbmFjaCBtZWluZXIgUvxja2tlaHIgYmVhbnR3b3J0ZW4uDQoNCkluIGRyaW5nZW5k ZW4gRuRsbGVuIHdlbmRlbiBTaWUgc2ljaCBiaXR0ZSBhbjoNCg0KTWFydGluIEJhdW1hbm4NCkRX OiAzMDc5DQoNCk1pdCBmcmV1bmRsaWNoZW4gR3L832VuDQpSZW7pIEdyaXRzY2gNCl9fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fDQoNCkFmdGVyIG15IHJldHVybiBJIHdpbGwg YmUgZ2xhZCB0byBhbnN3ZXIgdG8geW91ciBtZXNzYWdlLg0KDQpJbiBhIGNhc2Ugb2YgdXJnZW5j eSBkbyBub3QgaGVzaXRhdGUgdG8gY29udGFjdDoNCg0KPGFtb24gYWxmcmVkPg0KPEJFPg0KPDIx MjA+IG9kZXIgPGFtb24uYWxmcmVkQGdlbmVyYWxpLmF0bD4NCg0KQmVzdCByZWdhcmRzDQpSZW5l IEdyaXRzY2g= From [email protected] Mon Apr 03 06:44:24 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 19114 invoked from network); 3 Apr 2006 06:44:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Apr 2006 06:44:24 -0000 Received: (qmail 50728 invoked by uid 500); 3 Apr 2006 06:44:23 -0000 Delivered-To: [email protected] Received: (qmail 50711 invoked by uid 500); 3 Apr 2006 06:44:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 13226 invoked by uid 99); 2 Apr 2006 23:12:34 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=V8WgB1fMcKY5ICOIDSq+0BxgsS5Z2Ymd8F2pFrjWV1BsFp/xI86Lnb+hWlGF48KY5qI8dmy9DLXOAuSF3XgrrD3Vqu2bdOnzFl8FWVEk5vU//pOyI4+fksnPtBZrBaq0CIndYvdAAq3d9gLKTZo8yrL5pymX79b6XR08G9O7Zn8= Message-ID: <[email protected]> Date: Sun, 2 Apr 2006 19:12:13 -0400 From: "Joshua Slive" <[email protected]> Sender: [email protected] To: [email protected] Subject: Re: Getting a central location for ASF DTDs Cc: "Roy T. Fielding" <[email protected]>, "Apache Infrastructure" <[email protected]>, "Velocity Developers List" <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 4/2/06, Henning Schmiedehausen <[email protected]> wrote: > Is the DTD traffic really killing the servers? Or is that more of a > political issue? It is about 6% of all hits to our main webserver in March. That is not "killing the servers", but it is substantial and annoying, given its pointlessness. See: http://people.apache.org/~henkp/analog/www/2006/03/ Joshua. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 03 06:44:34 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 19182 invoked from network); 3 Apr 2006 06:44:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Apr 2006 06:44:34 -0000 Received: (qmail 51159 invoked by uid 500); 3 Apr 2006 06:44:33 -0000 Delivered-To: [email protected] Received: (qmail 50960 invoked by uid 500); 3 Apr 2006 06:44:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 31068 invoked by uid 99); 3 Apr 2006 02:51:15 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) X-Authentication-Warning: fo2.kc.aoindustries.com: indexgeo set sender to [email protected] using -f Date: Mon, 3 Apr 2006 12:50:13 +1000 From: David Crossley <[email protected]> To: [email protected] Cc: Apache Infrastructure <[email protected]>, Velocity Developers List <[email protected]> Subject: Re: Getting a central location for ASF DTDs Message-ID: <[email protected]> References: <[email protected]> <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <[email protected]> User-Agent: Mutt/161.129.204.104i X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Roy T. Fielding wrote: > Henning Schmiedehausen wrote: > > >Hi, > > > >as part of the 'next' release of Jakarta Velocity, we want to > >rework the > >docs that are currently in xdoc format. Xdoc is used in some places > >inside the ASF, not the last being the base format used by the Jakarta > >web site (through Anakia and Velocity) source and the documentation of > >many other Apache projects. > > > >Arnaud Heritier and Lukas Theussl have created a DTD for the maven- > >xdoc > >plugin which can transform the XDOC format into XHTML. However, > >what we > >are missing is a central location for this DTD. As this is not "just > >part of maven country" and "not just part of Jakarta Velocity", I'd > >like > >to put this DTD into a central location and proposed > >'http://www.apache.org/dtds/' as its storage location. As this > >would be > >picked up by the mirrors, this is IMHO a good place. > > > >So the question is: What steps need to be taken to set up such a > >location (which would be in the tradition of struts.apache.org/dtds or > >avalon.apache.org/dtds ... ;-) ) and give the committers related to > >the > >XDOC stuff (which are probably the maven-xdoc folks and the Jakarta > >Velocity people) write access. Or are there objections from the > >infrastructure team about such a centralized DTD location? > > I object. XML software is friggin broken, including the stuff we > produce. DTDs are never needed in XML and if you include a full URI > in the declaration then the idiotic parsers will retrieve it at runtime > for no good reason. The location needs to be a file relative to the > documentation just to keep our server from dying. Projects should be using the Catalog Entity Resolver so that their applications never need to hit the network for the DTDs and uses local copies instead. This is what we do at Cocoon and Forrest. http://xml.apache.org/commons/components/resolver/ -David > What they should produce is a RELAX-NG grammar and simply make that > file available in the distribution for validation. Referencing the > DTD inside the XDOC/XHTML files is harmful to extensibility. > > ....Roy --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 03 09:22:56 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10221 invoked from network); 3 Apr 2006 09:22:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Apr 2006 09:22:13 -0000 Received: (qmail 96078 invoked by uid 500); 3 Apr 2006 09:21:56 -0000 Delivered-To: [email protected] Received: (qmail 95887 invoked by uid 500); 3 Apr 2006 09:21:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 95875 invoked by uid 99); 3 Apr 2006 09:21:54 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Apr 2006 02:21:54 -0700 Date: Mon, 03 Apr 2006 02:09:52 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-test (in module jakarta-velocity) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 64 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-test : Template engine Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/gump_work/build_jakarta-velocity_jakarta-velocity-test.html Work Name: build_jakarta-velocity_jakarta-velocity-test (Type: Build) Work ended in a state of : Failed Elapsed: 8 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only test [Working Directory: /usr/local/gump/public/workspace/jakarta-velocity/build] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/test-classes:/usr/local/gump/public/workspace/jakarta-velocity/test/cpload/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/texen-classpath/test.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/multiloader/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-03042006.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-dep-03042006.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-servletapi/dist/lib/servlet.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/packages/werken-xpath/werken-xpath-0.9.4.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-03042006.jar:/usr/local/gump/public/workspace/jakarta-bcel/target/bcel-03042006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-03042006.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-03042006.jar:/usr/local/gump/public/workspace/excalibur/containerkit/logkit/target/excalibur-logkit-03042006.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-03042006.jar:/usr/local/gump/packages/antlr-2.7.6/antlr.jar --------------------------------------------- http-download: [get] Getting: http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/servletapi-2.3.jar [get] Not modified - so not downloaded werken-xpath-download: http-download: [get] Getting: http://www.ibiblio.org/maven/werken-xpath/jars/werken-xpath-0.9.4.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/werken-xpath-0.9.4.jar [get] Not modified - so not downloaded basic-prepare: check-jdbc: check-jdbc-true: check-jdbc-false: prepare-jdbc: check-jdk14: check-jdk14-true: check-jdk14-false: prepare-jdk14: prepare: compile-src: compile-test: [javac] Compiling 58 source files to /x1/gump/public/workspace/jakarta-velocity/bin/test-classes [javac] Note: /x1/gump/public/workspace/jakarta-velocity/bin/test-src/org/apache/velocity/test/VelocityServletTestCase.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. test: [mkdir] Created dir: /x1/gump/public/workspace/jakarta-velocity/bin/test-reports [junit] Running org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.046 sec BUILD FAILED /x1/gump/public/workspace/jakarta-velocity/build/build.xml:758: Test org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase failed Total time: 7 seconds --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 25000003042006, vmgump.apache.org:vmgump-public:25000003042006 Gump E-mail Identifier (unique within run) #43. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 03 12:03:33 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6985 invoked from network); 3 Apr 2006 12:03:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Apr 2006 12:03:30 -0000 Received: (qmail 19012 invoked by uid 500); 3 Apr 2006 12:03:27 -0000 Delivered-To: [email protected] Received: (qmail 18804 invoked by uid 500); 3 Apr 2006 12:03:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 18793 invoked by uid 99); 3 Apr 2006 12:03:26 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Apr 2006 05:03:26 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail.intermeta.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Apr 2006 05:03:25 -0700 Received: from [161.129.204.104] ([161.129.204.104]) (authenticated bits=0) by mail.intermeta.de (161.129.204.10460308/8.12.11) with ESMTP id k33C2bpd011550 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 3 Apr 2006 14:02:38 +0200 Message-ID: <[email protected]> Date: Mon, 03 Apr 2006 14:02:36 +0200 From: Henning Schmiedehausen <[email protected]> Reply-To: [email protected] Organization: INTERMETA - Gesellschaft fuer Mehrwertdienste mbH User-Agent: Thunderbird 1.5 (Macintosh/20051201) MIME-Version: 1.0 To: Jochen Wiedmann <[email protected]> CC: Apache Infrastructure <[email protected]>, Velocity Developers List <[email protected]> Subject: Re: Getting a central location for ASF DTDs References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-INTERMETA-Spam-Score: -3.882 () AWL,BAYES_00 X-Scanned-By: MIMEDefang 2.54 on 161.129.204.104 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N XMLSpy is expensive and only runs on Windows. We are trying to make xdoc documentation more accessible, not less. Best regards Henning Jochen Wiedmann schrieb: > Roy T. Fielding wrote: > >> I object. XML software is friggin broken, including the stuff we >> produce. DTDs are never needed in XML and if you include a full URI >> in the declaration then the idiotic parsers will retrieve it at runtime >> for no good reason. The location needs to be a file relative to the >> documentation just to keep our server from dying. > > Roy, traffic to apache.org can be avoided quite simple: Use an URI like > > http://namespaces.apache.org/jakarta/velocity/... > > Note, that namespaces.apache.org isn't resolvable via DNS. > > As you fear, this will lead to problems on the users side. But I do believe, > that it's finally time for people to learn using entity resolvers. > > >> What they should produce is a RELAX-NG grammar and simply make that >> file available in the distribution for validation. Referencing the >> DTD inside the XDOC/XHTML files is harmful to extensibility. > > Forcing people not to use a DTD doesn't sound like a practical option (it > possibly is for you). Additionally, the problem is quite the same with XML > Schema. > > > Henning Schmiedehausen wrote: > >> Not referencing it breaks the XML editors which use the DTD to validate >> the docs. Relax NG and XML Schema are nice things but where are the >> tools? > > Are you kidding? Ever used XML Spy or a beast like that? Ever used JAXB? In > contrary, DTD's are (fortunately) dying out. > >> If an application decides to load a known DTD at runtime, then IMHO the >> application is broken. Not the specification. > > It's not as easy as you think, in particular, because XML parsing frequently > occurs in external components, which you can hardly control. The most > practical solution are entity resolvers, indeed. > > > Jochen > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 03 14:05:52 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84450 invoked from network); 3 Apr 2006 14:05:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Apr 2006 14:05:50 -0000 Received: (qmail 43056 invoked by uid 500); 3 Apr 2006 14:05:47 -0000 Delivered-To: [email protected] Received: (qmail 43032 invoked by uid 500); 3 Apr 2006 14:05:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 43012 invoked by uid 99); 3 Apr 2006 14:05:45 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Apr 2006 07:05:45 -0700 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Apr 2006 07:05:45 -0700 Received: by nproxy.gmail.com with SMTP id n28so1016136nfc for <[email protected]>; Mon, 03 Apr 2006 07:05:23 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TPmB2fSKK/O2YrwLropCyyVNEc3P7OmI0th7H1l0JkkoPsd6aAtjeQYjnrE7Uj2oyxlJqRnzbWQQPh/A8WKVmU/beQYXNCZsDHkjmrAl2E+cUTeuDCS1txDFHTNMtRnzDHVqpYEei9heZATSOhyDyqlF64/D0MXV0CpHgqFXTO4= Received: by 161.129.204.104 with SMTP id f13mr1417068nfi; Mon, 03 Apr 2006 07:05:23 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 3 Apr 2006 07:05:22 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 3 Apr 2006 16:05:22 +0200 From: "Jochen Wiedmann" <[email protected]> To: [email protected] Subject: Re: Getting a central location for ASF DTDs Cc: "Apache Infrastructure" <[email protected]>, "Velocity Developers List" <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 4/3/06, Henning Schmiedehausen <[email protected]> wrote: > XMLSpy is expensive and only runs on Windows. We are trying to make xdoc > documentation more accessible, not less. And what is the problem in writing xdoc with emacs? Validates fine against an XML schema. (nXML mode) Jochen -- Whenever you find yourself on the side of the majority, it is time to pause and reflect. (Mark Twain) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 03 14:45:03 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11982 invoked from network); 3 Apr 2006 14:44:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Apr 2006 14:44:23 -0000 Received: (qmail 16419 invoked by uid 500); 3 Apr 2006 14:44:05 -0000 Delivered-To: [email protected] Received: (qmail 16396 invoked by uid 500); 3 Apr 2006 14:44:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 16385 invoked by uid 99); 3 Apr 2006 14:44:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Apr 2006 07:44:05 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail.intermeta.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Apr 2006 07:44:04 -0700 Received: from [161.129.204.104] ([161.129.204.104]) (authenticated bits=0) by mail.intermeta.de (161.129.204.10460308/8.12.11) with ESMTP id k33EhE58030483 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 3 Apr 2006 16:43:14 +0200 Message-ID: <[email protected]> Date: Mon, 03 Apr 2006 16:43:13 +0200 From: Henning Schmiedehausen <[email protected]> Reply-To: [email protected] Organization: INTERMETA - Gesellschaft fuer Mehrwertdienste mbH User-Agent: Thunderbird 1.5 (Macintosh/20051201) MIME-Version: 1.0 To: Jochen Wiedmann <[email protected]> CC: Apache Infrastructure <[email protected]>, Velocity Developers List <[email protected]> Subject: Re: Getting a central location for ASF DTDs References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-INTERMETA-Spam-Score: -3.699 () AWL,BAYES_00 X-Scanned-By: MIMEDefang 2.54 on 161.129.204.104 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N IMHO the reason for the abysmal state of documentation in most projects using xdoc is not that the format is hard. But that people think that "writing xdoc in emacs" is a good thing. It is not. Not even for technical people (But then again I might simply not know what I'm talking about, I'm not only an emacs user for 15+ years). Just look at any arbitrary number of maven xdoc driven web sites out there and the quality and amount of docs in these sites. If you want to write useful documentation, IMHO you want to write it like text in a word processor. Something that you can do with some of the more sophisticated XML editors. That is why docbook became so popular. And getting a free (as in free beer) XML editor that is able to use arbitrary XML schemas and is cross platform and can do WYSIWYG editing is not really an easy thing. Trust me, I tried in the last few weeks. The only thing that comes close seems to be XMLMind and there you are stuck with DTDs unless you hand out serious money for uncrippled XML schema support. I think that the point is moot here. There are tools out there and there is a way to validate. As the infra people object to a generic solution, I will discuss this further with Maven xdoc and Velocity to find a solution on the outside. Sucks, but then again I don't want to make a religious war out of that issue. However, the "all tools are broken, you should use <xxx> instead" advice I've gotten multiple times now is neither helpful nor realistic. I don't want to write XML software. I want to use existing software to write XML formatted docs. Which in the end seems to be the real mistake to begin with. :-/ Best regards Henning Jochen Wiedmann schrieb: > On 4/3/06, Henning Schmiedehausen <[email protected]> wrote: > >> XMLSpy is expensive and only runs on Windows. We are trying to make xdoc >> documentation more accessible, not less. > > And what is the problem in writing xdoc with emacs? Validates fine > against an XML schema. (nXML mode) > > Jochen > > -- > Whenever you find yourself on the side of the > majority, it is time to pause and reflect. > (Mark Twain) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 03 15:23:31 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37542 invoked from network); 3 Apr 2006 15:23:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Apr 2006 15:23:23 -0000 Received: (qmail 81426 invoked by uid 500); 3 Apr 2006 15:23:19 -0000 Delivered-To: [email protected] Received: (qmail 81406 invoked by uid 500); 3 Apr 2006 15:23:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 81395 invoked by uid 99); 3 Apr 2006 15:23:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Apr 2006 08:23:19 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO mail.foek.hu) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Apr 2006 08:23:18 -0700 Received: from localhost (localhost.localdomain [161.129.204.104]) by mail.foek.hu (Postfix) with ESMTP id 55FCE8AA27; Mon, 3 Apr 2006 17:22:54 +0200 (CEST) Received: from mail.foek.hu ([161.129.204.104]) by localhost (zold.foek.hu [161.129.204.104]) (amavisd-new, port 10024) with ESMTP id 31783-12; Mon, 3 Apr 2006 17:22:54 +0200 (CEST) Received: by mail.foek.hu (Postfix, from userid 99) id 3C55A8AA2F; Mon, 3 Apr 2006 17:22:54 +0200 (CEST) Received: from dsl5402B90D.pool.t-online.hu (dsl5402B90D.pool.t-online.hu [161.129.204.104]) by mail.foek.hu (Postfix) with ESMTP id 977658AA27; Mon, 3 Apr 2006 17:22:43 +0200 (CEST) Date: Mon, 3 Apr 2006 17:22:40 +0200 From: Daniel Dekany <[email protected]> X-Mailer: The Bat! (v3.65.03) Professional Reply-To: Daniel Dekany <[email protected]> X-Priority: 3 (Normal) Message-ID: <[email protected]> To: "Velocity Developers List" <[email protected]>, <[email protected]> Subject: Re: Getting a central location for ASF DTDs In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on zold.foek.hu X-Spam-Level: * X-Virus-Scanned: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=1.7 required=8.0 tests=HELO_DYNAMIC_DHCP, RCVD_IN_NJABL_DUL autolearn=no version=3.0.4 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Monday, April 3, 2006, 4:43:13 PM, Henning Schmiedehausen wrote: > IMHO the reason for the abysmal state of documentation in most projects > using xdoc is not that the format is hard. But that people think that > "writing xdoc in emacs" is a good thing. It is not. Not even for > technical people (But then again I might simply not know what I'm > talking about, I'm not only an emacs user for 15+ years). Just look at > any arbitrary number of maven xdoc driven web sites out there and the > quality and amount of docs in these sites. > > If you want to write useful documentation, IMHO you want to write it > like text in a word processor. Absolutely. > Something that you can do with some of the more sophisticated XML > editors. That is why docbook became so popular. This is why I don't understand why there is no free "visual" docbook editor with reasonable set of features. Like, on-the-fly spell checking and chapter outline... There are free versions of much much more heavy stuff. OK, frankly, I do understand it... "hackers" (guys with genuine programmers spirit), either think that emacs/vi is something good in this task (or they think they look more clever and more important if they use ancient obscure tools), or they don't care writing documentation too much. I searched a lot a free DocBook editor (or even a commercial), and so far my blind-tip is XMLMind XML Editor (XXE) too. I found nothing else where I have seen hope. Now, these XMLMind guys have a wish list (http://www.xmlmind.com/xmleditor/wish_list.html), where you can write e-mails to submit new wishes, or to suggest that a certain already existing wish is important. I already told them earlier my opinion, that they could become *The* Documentation Editor of OS projects, just be adding a few improvements, like on-the-fly spell checking and outline view (ToC view). This would give them big visibility advantage, that then brings them a lot of money. So, anybody feels like me about XXE, don't be lazy to write to them about your suggestions... [snip] -- Best regards, Daniel Dekany --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 03 15:45:21 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53216 invoked from network); 3 Apr 2006 15:45:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Apr 2006 15:45:17 -0000 Received: (qmail 8561 invoked by uid 500); 3 Apr 2006 15:45:11 -0000 Delivered-To: [email protected] Received: (qmail 8351 invoked by uid 500); 3 Apr 2006 15:45:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 8336 invoked by uid 99); 3 Apr 2006 15:45:10 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Apr 2006 08:45:10 -0700 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Apr 2006 08:45:09 -0700 Received: by nproxy.gmail.com with SMTP id n28so1034246nfc for <[email protected]>; Mon, 03 Apr 2006 08:44:48 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fn22AX6Bo7v0wJX7V75Bb/haRfhiIf7GZucOAgyivyd/jXKUjCyhB1bl+YIC/TRmg8yJlB0OcnaG5186knF1hmk7/XzqEVUAiBlyCVe/bGV9C2wP90vbXx6/JD1csH+frTyyr4hbdVbE7q6cUkbifbhUMbk+LLbL7DoVLJ0b5rI= Received: by 161.129.204.104 with SMTP id k3mr1473366nfg; Mon, 03 Apr 2006 08:44:48 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 3 Apr 2006 08:44:48 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 3 Apr 2006 10:44:48 -0500 From: "Mike Kienenberger" <[email protected]> To: "Velocity Developers List" <[email protected]>, [email protected] Subject: Re: Getting a central location for ASF DTDs In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 4/3/06, Henning Schmiedehausen <[email protected]> wrote: > I think that the point is moot here. There are tools out there and there > is a way to validate. As the infra people object to a generic > solution, I will discuss this further with Maven xdoc and Velocity to > find a solution on the outside. Sucks, but then again I don't want to > make a religious war out of that issue. Henning, Why do we really need an internet dtd? XMLMind works fine by including the dtd inside the xdcos addon. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 03 16:08:11 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 67812 invoked from network); 3 Apr 2006 16:07:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Apr 2006 16:07:45 -0000 Received: (qmail 50508 invoked by uid 500); 3 Apr 2006 16:07:44 -0000 Delivered-To: [email protected] Received: (qmail 50484 invoked by uid 500); 3 Apr 2006 16:07:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 50473 invoked by uid 99); 3 Apr 2006 16:07:44 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Apr 2006 09:07:44 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Apr 2006 09:07:43 -0700 Received: by nproxy.gmail.com with SMTP id n28so1038505nfc for <[email protected]>; Mon, 03 Apr 2006 09:07:21 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=XmUZ8MqpOZJIDKR1EbXsAcsiyjWLJ/SV9VJkqbLIEzB9tOEdEdd7AVQkRS2R0RLIwvdFBoiSdJeDYYQOX3W43ghHGYbBaDnezRZQvMmuiwc7Cqgl2DEPCR+8ZlsNYmBoaQoOjez9pDuEcZEj8DIdMNPxYMQ1umm17zEq9j+tKRw= Received: by 161.129.204.104 with SMTP id p10mr415712nfi; Mon, 03 Apr 2006 09:07:21 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 3 Apr 2006 09:07:21 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 3 Apr 2006 11:07:21 -0500 From: "Mike Kienenberger" <[email protected]> To: "Velocity Developers List" <[email protected]>, [email protected] Subject: Re: Getting a central location for ASF DTDs In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 4/3/06, Henning P. Schmiedehausen <[email protected]> wrote: > >Why do we really need an internet dtd? XMLMind works fine by > >including the dtd inside the xdcos addon. > > Does it? I tried to use just "SYSTEM" identifiers and ended up with > either having the dtd file in every subdirectory of all sub-projects > or having to juggle around with "SYSTEM "../../../dtds/xdoc.dtd" > pathes that change whenever a file is moved. Both is not exactly user > friendly. Note that the problem is not the editor but the xdoc plugin. > > AFAIK, for a DTD we must either have a public/system identifier pair > or just a system reference. You can't just get a public reference > alone. Maybe it's not "up to spec", but PUBLIC is working fine for me. I'm using a PUBLIC identifier with the dtds in the xdocs addon dtd directory and it "just works" Try comparing your current setup to what's in the following attachment and see if you can figure out what the difference is. I've only been using it with the also-non-existent maven identifier, but I don't see why that would matter. http://wiki.apache.org/myfaces-data/attachments/EditXdocs/attachments/XMLMi= nd_XDOC_Myfaces.zip --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 03 16:26:32 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79027 invoked from network); 3 Apr 2006 16:26:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Apr 2006 16:26:20 -0000 Received: (qmail 37735 invoked by uid 500); 3 Apr 2006 15:59:22 -0000 Delivered-To: [email protected] Received: (qmail 37686 invoked by uid 500); 3 Apr 2006 15:59:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 37623 invoked by uid 99); 3 Apr 2006 15:59:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Apr 2006 08:59:19 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO mail.hometree.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Apr 2006 08:59:17 -0700 Received: from tangens.hometree.net (mail.hometree.net [161.129.204.104]) by mail.hometree.net (161.129.204.10460308/8.12.11) with ESMTP id k33FwsMp009052 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <[email protected]>; Mon, 3 Apr 2006 17:58:54 +0200 Received: (from news@localhost) by tangens.hometree.net (161.129.204.10460308/8.12.11/Submit) id k33FwsoI009050 for [email protected]; Mon, 3 Apr 2006 17:58:54 +0200 To: [email protected] Path: not-for-mail From: "Henning P. Schmiedehausen" <[email protected]> Newsgroups: hometree.jakarta.velocity.dev Subject: Re: Getting a central location for ASF DTDs Date: Mon, 3 Apr 2006 15:58:54 +0000 (UTC) Organization: INTERMETA - Gesellschaft fuer Mehrwertdienste mbH Lines: 58 Message-ID: <[email protected]> References: <[email protected]> <[email protected]> Reply-To: [email protected] NNTP-Posting-Host: forge.intermeta.de X-Trace: tangens.hometree.net 1144079934 8766 161.129.204.104 (3 Apr 2006 15:58:54 GMT) X-Complaints-To: [email protected] NNTP-Posting-Date: Mon, 3 Apr 2006 15:58:54 +0000 (UTC) X-Copyright: (C) 1996-2005 Henning Schmiedehausen User-Agent: nn/6.6.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N "Mike Kienenberger" <[email protected]> writes: >Henning, >Why do we really need an internet dtd? XMLMind works fine by >including the dtd inside the xdcos addon. Does it? I tried to use just "SYSTEM" identifiers and ended up with either having the dtd file in every subdirectory of all sub-projects or having to juggle around with "SYSTEM "../../../dtds/xdoc.dtd" pathes that change whenever a file is moved. Both is not exactly user friendly. Note that the problem is not the editor but the xdoc plugin. AFAIK, for a DTD we must either have a public/system identifier pair or just a system reference. You can't just get a public reference alone. And while it would be trivial to convert the DTD into an XML schema and then use all the good "use an entity resolver that is not broken" advice, it would also rob us of XMLMind, because the free version only supports a very small subset of XML schemas. For arbitrary support, you need the professional version and I simply can't see people spending > 200 bucks just to contribute to open source software. IMHO, there are three possible solutions (there might be more, but the whole thing really starts to tire me) - screw it. Don't reference a DTD and let people who want to use XMLMind figure out all by themselves that they have to associate the xml files with the XDOC dtd and style sheets (see Wills' first and second posting in this thread, about this being non-intuitive without a DTD. - use an XSD. Which leaves us with XDOC exactly where we started (no tool support) but now all the XML lawyers can have a ball, because we abandoned the "evil DTD". - Work around the infrastructure people. Add a PUBLIC identifier and hack the xdoc plugin to "somehow" support this identifier without accessing the net. Then add a public location somewhere under jakarta.apache.org/velocity and be done. All three suck but the first two screw our users. I'll go with the third. Best regards Henning -- Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH [email protected] +1-913-501-1940 http://www.intermeta.de/ RedHat Certified Engineer -- Jakarta Turbine Development -- hero for hire Linux, Java, perl, Solaris -- Consulting, Training, Development Social behaviour: Bavarians can be extremely egalitarian and folksy. -- http://en.wikipedia.org/wiki/Bavaria Most Franconians do not like to be called Bavarians. -- http://en.wikipedia.org/wiki/Franconia --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 03 21:31:35 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63269 invoked from network); 3 Apr 2006 21:31:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Apr 2006 21:31:35 -0000 Received: (qmail 45894 invoked by uid 500); 3 Apr 2006 21:31:34 -0000 Delivered-To: [email protected] Received: (qmail 45858 invoked by uid 500); 3 Apr 2006 21:31:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 45847 invoked by uid 99); 3 Apr 2006 21:31:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Apr 2006 14:31:33 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO fed1rmmtao02.cox.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Apr 2006 14:31:33 -0700 Received: from lfalco ([161.129.204.104]) by fed1rmmtao02.cox.net (InterMail vM.161.129.204.104 201-2131-123-102-20050715) with SMTP id <20060403213111.TXDN17006.fed1rmmtao02.cox.net@lfalco> for <[email protected]>; Mon, 3 Apr 2006 17:31:11 -0400 Message-ID: <001801c65765$f7c4a190$0a01a8c0@lfalco> Reply-To: "Llewellyn Falco" <[email protected]> From: "Llewellyn Falco" <[email protected]> To: <[email protected]> Subject: help, odd parsing Date: Mon, 3 Apr 2006 14:31:28 -0700 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ran into this problem, distilled down to a test. anyone got an idea? notice that it just seems to remove the .TEST_CASE ? thanks llewellyn package com.spun.util.velocity.tests; import junit.framework.TestCase; import org.apache.velocity.context.Context; import com.spun.util.velocity.ContextAware; import com.spun.util.velocity.VelocityParser; public class VelocityTableNameTest extends TestCase implements ContextAware { /**********************77*************************************************/ public void testWTF() throws Exception { String template = "$main.getObjectName()Metadata.TABLE_NAME, "; assertEquals("CompanyMetadata.TABLE_NAME, ", VelocityParser.parseString(template, this)); } /***********************************************************************/ public String getObjectName() { return "Company"; } /***********************************************************************/ public void setupContext(Context context) { context.put("main", this); } /***********************************************************************/ /***********************************************************************/ } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 03 21:36:12 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64544 invoked from network); 3 Apr 2006 21:36:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Apr 2006 21:36:11 -0000 Received: (qmail 50121 invoked by uid 500); 3 Apr 2006 21:36:10 -0000 Delivered-To: [email protected] Received: (qmail 50095 invoked by uid 500); 3 Apr 2006 21:36:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 50083 invoked by uid 99); 3 Apr 2006 21:36:10 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Apr 2006 14:36:10 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO zproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Apr 2006 14:36:06 -0700 Received: by zproxy.gmail.com with SMTP id x3so1953538nzd for <[email protected]>; Mon, 03 Apr 2006 14:35:45 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=WMfFw19EBLxxGUHzHYotgoLNpcPSZcOCpLdgrHKc8zkis6k0bvLmIVldQea8OWRv2F9PRYhwWNeI7iDpqM6+M1JX6dNqcCN8qT213b1mNAgS8QiWqCXyt8bwxvMxT1va691xG82dtnszSLoL/UDy+XU5sm5fzhb3Iu/WzQv81O4= Received: by 161.129.204.104 with SMTP id c6mr768375pym; Mon, 03 Apr 2006 14:35:45 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 3 Apr 2006 14:35:45 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 3 Apr 2006 14:35:45 -0700 From: "Will Glass-Husain" <[email protected]> Sender: [email protected] To: "Velocity Developers List" <[email protected]>, "Llewellyn Falco" <[email protected]> Subject: Re: help, odd parsing In-Reply-To: <001801c65765$f7c4a190$0a01a8c0@lfalco> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <001801c65765$f7c4a190$0a01a8c0@lfalco> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N What does it return? WILL On 4/3/06, Llewellyn Falco <[email protected]> wrote: > ran into this problem, distilled down to a test. anyone got an idea? not= ice > that it just seems to remove the .TEST_CASE ? > > thanks > llewellyn > > package com.spun.util.velocity.tests; > > import junit.framework.TestCase; > import org.apache.velocity.context.Context; > import com.spun.util.velocity.ContextAware; > import com.spun.util.velocity.VelocityParser; > > public class VelocityTableNameTest extends TestCase implements ContextAw= are > { > /**********************77**********************************************= ***/ > public void testWTF() throws Exception > { > String template =3D "$main.getObjectName()Metadata.TABLE_NAME, "; > assertEquals("CompanyMetadata.TABLE_NAME, ", > VelocityParser.parseString(template, this)); > } > /**********************************************************************= */ > public String getObjectName() > { > return "Company"; > } > /**********************************************************************= */ > public void setupContext(Context context) > { > context.put("main", this); > } > /**********************************************************************= */ > /**********************************************************************= */ > } > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Forio Business Simulations Will Glass-Husain [email protected] www.forio.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 04 09:20:53 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92359 invoked from network); 4 Apr 2006 09:20:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Apr 2006 09:20:52 -0000 Received: (qmail 83454 invoked by uid 500); 4 Apr 2006 09:20:51 -0000 Delivered-To: [email protected] Received: (qmail 83435 invoked by uid 500); 4 Apr 2006 09:20:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 83418 invoked by uid 99); 4 Apr 2006 09:20:51 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Apr 2006 02:20:50 -0700 Date: Tue, 04 Apr 2006 02:08:44 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-test (in module jakarta-velocity) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 67 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-test : Template engine Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/gump_work/build_jakarta-velocity_jakarta-velocity-test.html Work Name: build_jakarta-velocity_jakarta-velocity-test (Type: Build) Work ended in a state of : Failed Elapsed: 11 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only test [Working Directory: /usr/local/gump/public/workspace/jakarta-velocity/build] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/test-classes:/usr/local/gump/public/workspace/jakarta-velocity/test/cpload/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/texen-classpath/test.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/multiloader/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-04042006.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-dep-04042006.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-servletapi/dist/lib/servlet.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/packages/werken-xpath/werken-xpath-0.9.4.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-04042006.jar:/usr/local/gump/public/workspace/jakarta-bcel/target/bcel-04042006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-04042006.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-04042006.jar:/usr/local/gump/public/workspace/excalibur/containerkit/logkit/target/excalibur-logkit-04042006.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-04042006.jar:/usr/local/gump/packages/antlr-2.7.6/antlr.jar --------------------------------------------- http-download: [get] Getting: http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/servletapi-2.3.jar [get] Not modified - so not downloaded werken-xpath-download: http-download: [get] Getting: http://www.ibiblio.org/maven/werken-xpath/jars/werken-xpath-0.9.4.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/werken-xpath-0.9.4.jar [get] Not modified - so not downloaded basic-prepare: check-jdbc: check-jdbc-true: check-jdbc-false: prepare-jdbc: check-jdk14: check-jdk14-true: check-jdk14-false: prepare-jdk14: prepare: compile-src: compile-test: [javac] Compiling 58 source files to /x1/gump/public/workspace/jakarta-velocity/bin/test-classes [javac] Note: /x1/gump/public/workspace/jakarta-velocity/bin/test-src/org/apache/velocity/test/VelocityServletTestCase.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. test: [mkdir] Created dir: /x1/gump/public/workspace/jakarta-velocity/bin/test-reports [junit] Running org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.046 sec BUILD FAILED /x1/gump/public/workspace/jakarta-velocity/build/build.xml:758: Test org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase failed Total time: 9 seconds --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 25000004042006, vmgump.apache.org:vmgump-public:25000004042006 Gump E-mail Identifier (unique within run) #43. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 04 19:35:42 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45167 invoked from network); 4 Apr 2006 19:35:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 4 Apr 2006 19:35:41 -0000 Received: (qmail 35197 invoked by uid 500); 4 Apr 2006 19:35:41 -0000 Delivered-To: [email protected] Received: (qmail 35069 invoked by uid 500); 4 Apr 2006 19:35:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 35058 invoked by uid 500); 4 Apr 2006 19:35:40 -0000 Received: (qmail 35055 invoked by uid 99); 4 Apr 2006 19:35:40 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Apr 2006 12:35:40 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 04 Apr 2006 12:35:39 -0700 Received: (qmail 45057 invoked by uid 65534); 4 Apr 2006 19:35:19 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r391391 - /jakarta/velocity/tools/trunk/src/java/org/apache/velocity/tools/generic/DateTool.java Date: Tue, 04 Apr 2006 19:35:18 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: nbubna Date: Tue Apr 4 12:35:17 2006 New Revision: 391391 URL: http://svn.apache.org/viewcvs?rev=391391&view=rev Log: be a little more explicit in the example uses Modified: jakarta/velocity/tools/trunk/src/java/org/apache/velocity/tools/generic/DateTool.java Modified: jakarta/velocity/tools/trunk/src/java/org/apache/velocity/tools/generic/DateTool.java URL: http://svn.apache.org/viewcvs/jakarta/velocity/tools/trunk/src/java/org/apache/velocity/tools/generic/DateTool.java?rev=391391&r1=391390&r2=391391&view=diff ============================================================================== --- jakarta/velocity/tools/trunk/src/java/org/apache/velocity/tools/generic/DateTool.java (original) +++ jakarta/velocity/tools/trunk/src/java/org/apache/velocity/tools/generic/DateTool.java Tue Apr 4 12:35:17 2006 @@ -1,5 +1,5 @@ /* - * Copyright 2003-2004 The Apache Software Foundation. + * Copyright 2003-2006 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ * the tool can be used to retrieve {@link DateFormat} instances * or make conversions to and from various date types. * <p><pre> - * Example uses: + * Example of formatting the "current" date: * $date -> Oct 19, 2003 9:54:50 PM * $date.long -> October 19, 2003 9:54:50 PM PDT * $date.medium_time -> 9:54:50 PM @@ -45,6 +45,7 @@ * $date.get('default','short') -> Oct 19, 2003 9:54 PM * $date.get('yyyy-M-d H:m:s') -> 2003-10-19 21:54:50 * + * Example of formatting an arbitrary date: * $myDate -> Tue Oct 07 03:14:50 PDT 2003 * $date.format('medium',$myDate) -> Oct 7, 2003 3:14:50 AM * --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Apr 05 10:22:46 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37927 invoked from network); 5 Apr 2006 10:22:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Apr 2006 10:22:45 -0000 Received: (qmail 98924 invoked by uid 500); 5 Apr 2006 10:22:44 -0000 Delivered-To: [email protected] Received: (qmail 98718 invoked by uid 500); 5 Apr 2006 10:22:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 98432 invoked by uid 99); 5 Apr 2006 10:22:41 -0000 Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Apr 2006 03:22:41 -0700 Date: Wed, 05 Apr 2006 03:10:31 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-test (in module jakarta-velocity) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 70 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-test : Template engine Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/gump_work/build_jakarta-velocity_jakarta-velocity-test.html Work Name: build_jakarta-velocity_jakarta-velocity-test (Type: Build) Work ended in a state of : Failed Elapsed: 8 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only test [Working Directory: /usr/local/gump/public/workspace/jakarta-velocity/build] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/test-classes:/usr/local/gump/public/workspace/jakarta-velocity/test/cpload/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/texen-classpath/test.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/multiloader/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-05042006.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-dep-05042006.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-servletapi/dist/lib/servlet.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/packages/werken-xpath/werken-xpath-0.9.4.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-05042006.jar:/usr/local/gump/public/workspace/jakarta-bcel/target/bcel-05042006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-05042006.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-05042006.jar:/usr/local/gump/public/workspace/excalibur/containerkit/logkit/target/excalibur-logkit-05042006.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-05042006.jar:/usr/local/gump/packages/antlr-2.7.6/antlr.jar --------------------------------------------- http-download: [get] Getting: http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/servletapi-2.3.jar [get] Not modified - so not downloaded werken-xpath-download: http-download: [get] Getting: http://www.ibiblio.org/maven/werken-xpath/jars/werken-xpath-0.9.4.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/werken-xpath-0.9.4.jar [get] Not modified - so not downloaded basic-prepare: check-jdbc: check-jdbc-true: check-jdbc-false: prepare-jdbc: check-jdk14: check-jdk14-true: check-jdk14-false: prepare-jdk14: prepare: compile-src: compile-test: [javac] Compiling 58 source files to /x1/gump/public/workspace/jakarta-velocity/bin/test-classes [javac] Note: /x1/gump/public/workspace/jakarta-velocity/bin/test-src/org/apache/velocity/test/VelocityServletTestCase.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. test: [mkdir] Created dir: /x1/gump/public/workspace/jakarta-velocity/bin/test-reports [junit] Running org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.046 sec BUILD FAILED /x1/gump/public/workspace/jakarta-velocity/build/build.xml:758: Test org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase failed Total time: 8 seconds --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 27000005042006, vmgump.apache.org:vmgump-public:27000005042006 Gump E-mail Identifier (unique within run) #43. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 06 00:52:04 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 24429 invoked from network); 6 Apr 2006 00:52:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Apr 2006 00:51:59 -0000 Received: (qmail 36967 invoked by uid 500); 6 Apr 2006 00:51:37 -0000 Delivered-To: [email protected] Received: (qmail 36947 invoked by uid 500); 6 Apr 2006 00:51:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 36936 invoked by uid 99); 6 Apr 2006 00:51:36 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Apr 2006 17:51:36 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) Received: from [161.129.204.104] (HELO www2.kc.aoindustries.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Apr 2006 17:51:36 -0700 Received: from fo2.kc.aoindustries.com (www2.kc.aoindustries.com [161.129.204.104]) by www2.kc.aoindustries.com (8.13.1/8.13.1) with ESMTP id k360omWc028550 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 5 Apr 2006 19:50:48 -0500 Received: from localhost (localhost [[UNIX: localhost]]) by fo2.kc.aoindustries.com (8.13.1/8.13.1/Submit) id k360oiWm028453; Wed, 5 Apr 2006 19:50:44 -0500 X-Authentication-Warning: fo2.kc.aoindustries.com: indexgeo set sender to [email protected] using -f Date: Thu, 6 Apr 2006 10:50:28 +1000 From: David Crossley <[email protected]> To: Henning Schmiedehausen <[email protected]> Cc: Apache Infrastructure <[email protected]>, Velocity Developers List <[email protected]> Subject: Re: Getting a central location for ASF DTDs Message-ID: <[email protected]> References: <[email protected]> <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <[email protected]> User-Agent: Mutt/161.129.204.104i X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Henning Schmiedehausen wrote: > [email protected] wrote: > > > > - The xml.apache.org community should work to drive better awareness > > of Entity Resolvers (cf David's link > > http://xml.apache.org/commons/components/resolver/). We could > > certainly reduce many of the DTD etc hits by getting all applicable > > ASF projects to ship with a resover and local caches of the schemata > > they need. > > Yes. I wasn't aware of the resolver either and I've put some time aside > to take a look at the xdoc plugin for maven which doesn't seem to use > that. See this: http://xml.apache.org/commons/components/resolver/tips.html#resources We developed a way at Cocoon to hook the entity resolver into the Java/XML framework. Then we moved that to Excalibur so that it would be more widely available. Perhaps that will help your situation. That page also shows Xerces recent use of the entity resolver. Another thing that we do at Forrest is to provide tips for various XML editors to encourage users to use the entity resolver. http://forrest.apache.org/docs/catalog.html At one time at Forrest we used to use System Identifiers with no URL, just the local document filename, and relied on the entity resolver. Then we were somehow convinced to provide URLs and put them on the website, but still rely on the entity resolver to get local copies. I have often wanted to revisit that decision, and in the light of the current discussion will probably do so soon. -David --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 06 09:24:34 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60324 invoked from network); 6 Apr 2006 09:24:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Apr 2006 09:24:32 -0000 Received: (qmail 6295 invoked by uid 500); 6 Apr 2006 09:24:31 -0000 Delivered-To: [email protected] Received: (qmail 6275 invoked by uid 500); 6 Apr 2006 09:24:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 6264 invoked by uid 99); 6 Apr 2006 09:24:30 -0000 Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Apr 2006 02:24:30 -0700 Date: Thu, 06 Apr 2006 02:12:16 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-test (in module jakarta-velocity) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 73 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-test : Template engine Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/gump_work/build_jakarta-velocity_jakarta-velocity-test.html Work Name: build_jakarta-velocity_jakarta-velocity-test (Type: Build) Work ended in a state of : Failed Elapsed: 14 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only test [Working Directory: /usr/local/gump/public/workspace/jakarta-velocity/build] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/test-classes:/usr/local/gump/public/workspace/jakarta-velocity/test/cpload/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/texen-classpath/test.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/multiloader/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-06042006.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-dep-06042006.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-servletapi/dist/lib/servlet.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/packages/werken-xpath/werken-xpath-0.9.4.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-06042006.jar:/usr/local/gump/public/workspace/jakarta-bcel/target/bcel-06042006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-06042006.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-06042006.jar:/usr/local/gump/public/workspace/excalibur/containerkit/logkit/target/excalibur-logkit-06042006.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-06042006.jar:/usr/local/gump/packages/antlr-2.7.6/antlr.jar --------------------------------------------- http-download: [get] Getting: http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/servletapi-2.3.jar [get] Not modified - so not downloaded werken-xpath-download: http-download: [get] Getting: http://www.ibiblio.org/maven/werken-xpath/jars/werken-xpath-0.9.4.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/werken-xpath-0.9.4.jar [get] Not modified - so not downloaded basic-prepare: check-jdbc: check-jdbc-true: check-jdbc-false: prepare-jdbc: check-jdk14: check-jdk14-true: check-jdk14-false: prepare-jdk14: prepare: compile-src: compile-test: [javac] Compiling 58 source files to /x1/gump/public/workspace/jakarta-velocity/bin/test-classes [javac] Note: /x1/gump/public/workspace/jakarta-velocity/bin/test-src/org/apache/velocity/test/VelocityServletTestCase.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. test: [mkdir] Created dir: /x1/gump/public/workspace/jakarta-velocity/bin/test-reports [junit] Running org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.05 sec BUILD FAILED /x1/gump/public/workspace/jakarta-velocity/build/build.xml:758: Test org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase failed Total time: 14 seconds --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 27000006042006, vmgump.apache.org:vmgump-public:27000006042006 Gump E-mail Identifier (unique within run) #47. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 07 09:20:23 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66587 invoked from network); 7 Apr 2006 09:20:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Apr 2006 09:20:23 -0000 Received: (qmail 59341 invoked by uid 500); 7 Apr 2006 09:20:23 -0000 Delivered-To: [email protected] Received: (qmail 59141 invoked by uid 500); 7 Apr 2006 09:20:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 59130 invoked by uid 99); 7 Apr 2006 09:20:21 -0000 Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Apr 2006 02:20:21 -0700 Date: Fri, 07 Apr 2006 02:08:03 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-test (in module jakarta-velocity) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 76 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-test : Template engine Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/gump_work/build_jakarta-velocity_jakarta-velocity-test.html Work Name: build_jakarta-velocity_jakarta-velocity-test (Type: Build) Work ended in a state of : Failed Elapsed: 7 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only test [Working Directory: /usr/local/gump/public/workspace/jakarta-velocity/build] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/test-classes:/usr/local/gump/public/workspace/jakarta-velocity/test/cpload/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/texen-classpath/test.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/multiloader/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-07042006.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-dep-07042006.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-servletapi/dist/lib/servlet.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/packages/werken-xpath/werken-xpath-0.9.4.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-07042006.jar:/usr/local/gump/public/workspace/jakarta-bcel/target/bcel-07042006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-07042006.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-07042006.jar:/usr/local/gump/public/workspace/excalibur/containerkit/logkit/target/excalibur-logkit-07042006.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-07042006.jar:/usr/local/gump/packages/antlr-2.7.6/antlr.jar --------------------------------------------- http-download: [get] Getting: http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/servletapi-2.3.jar [get] Not modified - so not downloaded werken-xpath-download: http-download: [get] Getting: http://www.ibiblio.org/maven/werken-xpath/jars/werken-xpath-0.9.4.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/werken-xpath-0.9.4.jar [get] Not modified - so not downloaded basic-prepare: check-jdbc: check-jdbc-true: check-jdbc-false: prepare-jdbc: check-jdk14: check-jdk14-true: check-jdk14-false: prepare-jdk14: prepare: compile-src: compile-test: [javac] Compiling 58 source files to /x1/gump/public/workspace/jakarta-velocity/bin/test-classes [javac] Note: /x1/gump/public/workspace/jakarta-velocity/bin/test-src/org/apache/velocity/test/VelocityServletTestCase.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. test: [mkdir] Created dir: /x1/gump/public/workspace/jakarta-velocity/bin/test-reports [junit] Running org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.039 sec BUILD FAILED /x1/gump/public/workspace/jakarta-velocity/build/build.xml:758: Test org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase failed Total time: 7 seconds --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 27000007042006, vmgump.apache.org:vmgump-public:27000007042006 Gump E-mail Identifier (unique within run) #54. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 07 21:30:01 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5403 invoked from network); 7 Apr 2006 21:30:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Apr 2006 21:30:00 -0000 Received: (qmail 88888 invoked by uid 500); 7 Apr 2006 21:30:00 -0000 Delivered-To: [email protected] Received: (qmail 88861 invoked by uid 500); 7 Apr 2006 21:29:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 88849 invoked by uid 99); 7 Apr 2006 21:29:59 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Apr 2006 14:29:59 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO pproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Apr 2006 14:29:58 -0700 Received: by pproxy.gmail.com with SMTP id t32so617562pyc for <[email protected]>; Fri, 07 Apr 2006 14:29:38 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZeSfeef3kYLyzTF/VmkLTI1l6lAiHeoI2EtexGv5NKnADEahf/NuujRLOcqhtwgVjzS88cdJmkDuxqq+xyh7Ua3s3pqvZcemWzjoRKyGX7u+VhVM9HhnewzcfDfAFvSQhHjvBfyojQ3UhUTydjUyd9p+Sptbq/m0LO02SPc9/9c= Received: by 161.129.204.104 with SMTP id d9mr648580pyl; Fri, 07 Apr 2006 14:29:37 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Fri, 7 Apr 2006 14:29:37 -0700 (PDT) Message-ID: <[email protected]> Date: Fri, 7 Apr 2006 14:29:37 -0700 From: "Henri Yandell" <[email protected]> To: "Velocity Developers List" <[email protected]> Subject: Re: DVSL - ever released? In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Done. I used the timestamp of the files inside the jars to look up the most likely revision in SVN. 0.45 - r72419 0.43 - r72400 0.40 - r72359 0.31 - r72329 http://svn.apache.org/viewcvs.cgi/jakarta/velocity/dvsl/tags/ Hen On 3/31/06, Henri Yandell <[email protected]> wrote: > Anyone mind if I retroactively create a tag in SVN to point to the > revision the 0.45 jar was built from? > > I'll try to figure out the other releases too. > > Hen > > On 2/23/06, Henri Yandell <[email protected]> wrote: > > A colleague noticed that while there's a 0.45 jar of velocity-dvsl in > > the Maven repository; there are no tags in SVN and there's been no > > release on the site. I took a quick look and he's right; it's not a > > cvs2svn issue as there were no tags in CVS either. > > > > Is the 0.45 jar an unofficial rogue one? > > > > Hen > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 07 22:45:30 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36906 invoked from network); 7 Apr 2006 22:45:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Apr 2006 22:45:29 -0000 Received: (qmail 63470 invoked by uid 500); 7 Apr 2006 22:45:29 -0000 Delivered-To: [email protected] Received: (qmail 63455 invoked by uid 500); 7 Apr 2006 22:45:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 63434 invoked by uid 99); 7 Apr 2006 22:45:29 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Apr 2006 15:45:29 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Apr 2006 15:45:28 -0700 Received: by nproxy.gmail.com with SMTP id n28so377785nfc for <[email protected]>; Fri, 07 Apr 2006 15:45:07 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YUgFeRChzdGboCTo9K2mppRW958HHmIZ3aZ5GwVUL/82b9FxExgSw7l2NEGWVOny30RWn0mu/YAmFtMBbEDJyZjWMPC9kjuBgEugDDAvwh8XkUdWfSpszCoa6GdqrvE8Cq7eBlQD/FKnlzoWzbu7zbKAPQwqbLX300OAQORmNLs= Received: by 161.129.204.104 with SMTP id t8mr406738nfh; Fri, 07 Apr 2006 15:45:07 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Fri, 7 Apr 2006 15:45:06 -0700 (PDT) Message-ID: <[email protected]> Date: Fri, 7 Apr 2006 15:45:06 -0700 From: "Nathan Bubna" <[email protected]> To: "Velocity Developers List" <[email protected]> Subject: Re: DVSL - ever released? In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks, Henri! On 4/7/06, Henri Yandell <[email protected]> wrote: > Done. I used the timestamp of the files inside the jars to look up the > most likely revision in SVN. > > 0.45 - r72419 > 0.43 - r72400 > 0.40 - r72359 > 0.31 - r72329 > > http://svn.apache.org/viewcvs.cgi/jakarta/velocity/dvsl/tags/ > > Hen > > On 3/31/06, Henri Yandell <[email protected]> wrote: > > Anyone mind if I retroactively create a tag in SVN to point to the > > revision the 0.45 jar was built from? > > > > I'll try to figure out the other releases too. > > > > Hen > > > > On 2/23/06, Henri Yandell <[email protected]> wrote: > > > A colleague noticed that while there's a 0.45 jar of velocity-dvsl in > > > the Maven repository; there are no tags in SVN and there's been no > > > release on the site. I took a quick look and he's right; it's not a > > > cvs2svn issue as there were no tags in CVS either. > > > > > > Is the 0.45 jar an unofficial rogue one? > > > > > > Hen > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 07 23:20:06 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53740 invoked from network); 7 Apr 2006 23:20:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Apr 2006 23:20:06 -0000 Received: (qmail 6810 invoked by uid 500); 7 Apr 2006 23:20:05 -0000 Delivered-To: [email protected] Received: (qmail 6790 invoked by uid 500); 7 Apr 2006 23:20:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 6779 invoked by uid 99); 7 Apr 2006 23:20:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Apr 2006 16:20:05 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO server1.livestoryboard.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Apr 2006 16:20:04 -0700 Received: from [161.129.204.104] (livestoryboard.com [161.129.204.104] (may be forged)) (authenticated) by server1.livestoryboard.com (8.11.6/8.11.6) with ESMTP id k37NMng27188 for <[email protected]>; Fri, 7 Apr 2006 18:22:49 -0500 Message-ID: <[email protected]> Date: Fri, 07 Apr 2006 19:19:46 -0400 From: Robert Koberg <[email protected]> User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Velocity Developers List <[email protected]> Subject: Re: DVSL - ever released? References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Sorry, this is extremely lame. Why continue with something that sucks? Nathan Bubna wrote: > Thanks, Henri! > > On 4/7/06, Henri Yandell <[email protected]> wrote: >> Done. I used the timestamp of the files inside the jars to look up the >> most likely revision in SVN. >> >> 0.45 - r72419 >> 0.43 - r72400 >> 0.40 - r72359 >> 0.31 - r72329 >> >> http://svn.apache.org/viewcvs.cgi/jakarta/velocity/dvsl/tags/ >> >> Hen >> >> On 3/31/06, Henri Yandell <[email protected]> wrote: >>> Anyone mind if I retroactively create a tag in SVN to point to the >>> revision the 0.45 jar was built from? >>> >>> I'll try to figure out the other releases too. >>> >>> Hen >>> >>> On 2/23/06, Henri Yandell <[email protected]> wrote: >>>> A colleague noticed that while there's a 0.45 jar of velocity-dvsl in >>>> the Maven repository; there are no tags in SVN and there's been no >>>> release on the site. I took a quick look and he's right; it's not a >>>> cvs2svn issue as there were no tags in CVS either. >>>> >>>> Is the 0.45 jar an unofficial rogue one? >>>> >>>> Hen >>>> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 08 09:20:40 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76724 invoked from network); 8 Apr 2006 09:20:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Apr 2006 09:20:40 -0000 Received: (qmail 80280 invoked by uid 500); 8 Apr 2006 09:20:39 -0000 Delivered-To: [email protected] Received: (qmail 80262 invoked by uid 500); 8 Apr 2006 09:20:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 80251 invoked by uid 99); 8 Apr 2006 09:20:39 -0000 Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Apr 2006 02:20:39 -0700 Date: Sat, 08 Apr 2006 02:08:17 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-test (in module jakarta-velocity) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 79 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-test : Template engine Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/gump_work/build_jakarta-velocity_jakarta-velocity-test.html Work Name: build_jakarta-velocity_jakarta-velocity-test (Type: Build) Work ended in a state of : Failed Elapsed: 7 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only test [Working Directory: /usr/local/gump/public/workspace/jakarta-velocity/build] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/test-classes:/usr/local/gump/public/workspace/jakarta-velocity/test/cpload/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/texen-classpath/test.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/multiloader/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-08042006.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-dep-08042006.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-servletapi/dist/lib/servlet.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/packages/werken-xpath/werken-xpath-0.9.4.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-08042006.jar:/usr/local/gump/public/workspace/jakarta-bcel/target/bcel-08042006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-08042006.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-08042006.jar:/usr/local/gump/public/workspace/excalibur/containerkit/logkit/target/excalibur-logkit-08042006.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-08042006.jar:/usr/local/gump/packages/antlr-2.7.6/antlr.jar --------------------------------------------- http-download: [get] Getting: http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/servletapi-2.3.jar [get] Not modified - so not downloaded werken-xpath-download: http-download: [get] Getting: http://www.ibiblio.org/maven/werken-xpath/jars/werken-xpath-0.9.4.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/werken-xpath-0.9.4.jar [get] Not modified - so not downloaded basic-prepare: check-jdbc: check-jdbc-true: check-jdbc-false: prepare-jdbc: check-jdk14: check-jdk14-true: check-jdk14-false: prepare-jdk14: prepare: compile-src: compile-test: [javac] Compiling 58 source files to /x1/gump/public/workspace/jakarta-velocity/bin/test-classes [javac] Note: /x1/gump/public/workspace/jakarta-velocity/bin/test-src/org/apache/velocity/test/VelocityServletTestCase.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. test: [mkdir] Created dir: /x1/gump/public/workspace/jakarta-velocity/bin/test-reports [junit] Running org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.04 sec BUILD FAILED /x1/gump/public/workspace/jakarta-velocity/build/build.xml:758: Test org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase failed Total time: 7 seconds --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 28000008042006, vmgump.apache.org:vmgump-public:28000008042006 Gump E-mail Identifier (unique within run) #50. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 09 10:22:12 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5628 invoked from network); 9 Apr 2006 10:22:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Apr 2006 10:22:11 -0000 Received: (qmail 12484 invoked by uid 500); 9 Apr 2006 10:22:10 -0000 Delivered-To: [email protected] Received: (qmail 12456 invoked by uid 500); 9 Apr 2006 10:22:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 12445 invoked by uid 99); 9 Apr 2006 10:22:09 -0000 Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Apr 2006 03:22:09 -0700 Date: Sun, 09 Apr 2006 03:09:43 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-test (in module jakarta-velocity) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 82 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-test : Template engine Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/gump_work/build_jakarta-velocity_jakarta-velocity-test.html Work Name: build_jakarta-velocity_jakarta-velocity-test (Type: Build) Work ended in a state of : Failed Elapsed: 8 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only test [Working Directory: /usr/local/gump/public/workspace/jakarta-velocity/build] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/test-classes:/usr/local/gump/public/workspace/jakarta-velocity/test/cpload/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/texen-classpath/test.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/multiloader/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-09042006.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-dep-09042006.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-servletapi/dist/lib/servlet.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/packages/werken-xpath/werken-xpath-0.9.4.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-09042006.jar:/usr/local/gump/public/workspace/jakarta-bcel/target/bcel-09042006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-09042006.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-09042006.jar:/usr/local/gump/public/workspace/excalibur/containerkit/logkit/target/excalibur-logkit-09042006.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-09042006.jar:/usr/local/gump/packages/antlr-2.7.6/antlr.jar --------------------------------------------- http-download: [get] Getting: http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/servletapi-2.3.jar [get] Not modified - so not downloaded werken-xpath-download: http-download: [get] Getting: http://www.ibiblio.org/maven/werken-xpath/jars/werken-xpath-0.9.4.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/werken-xpath-0.9.4.jar [get] Not modified - so not downloaded basic-prepare: check-jdbc: check-jdbc-true: check-jdbc-false: prepare-jdbc: check-jdk14: check-jdk14-true: check-jdk14-false: prepare-jdk14: prepare: compile-src: compile-test: [javac] Compiling 58 source files to /x1/gump/public/workspace/jakarta-velocity/bin/test-classes [javac] Note: /x1/gump/public/workspace/jakarta-velocity/bin/test-src/org/apache/velocity/test/VelocityServletTestCase.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. test: [mkdir] Created dir: /x1/gump/public/workspace/jakarta-velocity/bin/test-reports [junit] Running org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.046 sec BUILD FAILED /x1/gump/public/workspace/jakarta-velocity/build/build.xml:758: Test org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase failed Total time: 7 seconds --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 30000009042006, vmgump.apache.org:vmgump-public:30000009042006 Gump E-mail Identifier (unique within run) #47. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 10 07:21:55 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94500 invoked from network); 10 Apr 2006 07:21:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Apr 2006 07:21:55 -0000 Received: (qmail 62305 invoked by uid 500); 10 Apr 2006 07:21:54 -0000 Delivered-To: [email protected] Received: (qmail 62286 invoked by uid 500); 10 Apr 2006 07:21:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 81482 invoked by uid 500); 7 Apr 2006 21:26:53 -0000 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r392412 - /jakarta/velocity/dvsl/tags/velocity-dvsl-0.45/ Date: Fri, 07 Apr 2006 21:26:32 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: bayard Date: Fri Apr 7 14:26:30 2006 New Revision: 392412 URL: http://svn.apache.org/viewcvs?rev=392412&view=rev Log: Retroactively creating a tag for the unsanctioned 0.45 dvsl release Added: jakarta/velocity/dvsl/tags/velocity-dvsl-0.45/ - copied from r72419, jakarta/velocity-dvsl/trunk/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 10 07:22:09 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94634 invoked from network); 10 Apr 2006 07:22:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Apr 2006 07:22:08 -0000 Received: (qmail 62741 invoked by uid 500); 10 Apr 2006 07:22:08 -0000 Delivered-To: [email protected] Received: (qmail 62543 invoked by uid 500); 10 Apr 2006 07:22:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 85555 invoked by uid 500); 7 Apr 2006 21:27:30 -0000 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r392414 - /jakarta/velocity/dvsl/tags/velocity-dvsl-0.43/ Date: Fri, 07 Apr 2006 21:27:09 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: bayard Date: Fri Apr 7 14:27:08 2006 New Revision: 392414 URL: http://svn.apache.org/viewcvs?rev=392414&view=rev Log: Retroactively creating a tag for the unsanctioned 0.43 dvsl release Added: jakarta/velocity/dvsl/tags/velocity-dvsl-0.43/ - copied from r72400, jakarta/velocity-dvsl/trunk/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 10 07:22:25 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94762 invoked from network); 10 Apr 2006 07:22:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Apr 2006 07:22:23 -0000 Received: (qmail 63192 invoked by uid 500); 10 Apr 2006 07:22:20 -0000 Delivered-To: [email protected] Received: (qmail 63129 invoked by uid 500); 10 Apr 2006 07:22:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 87241 invoked by uid 500); 7 Apr 2006 21:27:53 -0000 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r392415 - /jakarta/velocity/dvsl/tags/velocity-dvsl-0.40/ Date: Fri, 07 Apr 2006 21:27:32 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: bayard Date: Fri Apr 7 14:27:32 2006 New Revision: 392415 URL: http://svn.apache.org/viewcvs?rev=392415&view=rev Log: Retroactively creating a tag for the unsanctioned 0.40 dvsl release Added: jakarta/velocity/dvsl/tags/velocity-dvsl-0.40/ - copied from r72359, jakarta/velocity-dvsl/trunk/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 10 07:22:40 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94987 invoked from network); 10 Apr 2006 07:22:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Apr 2006 07:22:36 -0000 Received: (qmail 64415 invoked by uid 500); 10 Apr 2006 07:22:31 -0000 Delivered-To: [email protected] Received: (qmail 64397 invoked by uid 500); 10 Apr 2006 07:22:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 87492 invoked by uid 500); 7 Apr 2006 21:28:40 -0000 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r392416 - /jakarta/velocity/dvsl/tags/velocity-dvsl-0.31/ Date: Fri, 07 Apr 2006 21:28:19 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: bayard Date: Fri Apr 7 14:28:17 2006 New Revision: 392416 URL: http://svn.apache.org/viewcvs?rev=392416&view=rev Log: Retroactively creating a tag for the unsanctioned 0.31 dvsl release Added: jakarta/velocity/dvsl/tags/velocity-dvsl-0.31/ - copied from r72329, jakarta/velocity-dvsl/trunk/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 10 09:21:49 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53710 invoked from network); 10 Apr 2006 09:21:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Apr 2006 09:21:48 -0000 Received: (qmail 476 invoked by uid 500); 10 Apr 2006 09:21:48 -0000 Delivered-To: [email protected] Received: (qmail 449 invoked by uid 500); 10 Apr 2006 09:21:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 437 invoked by uid 99); 10 Apr 2006 09:21:47 -0000 Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Apr 2006 02:21:47 -0700 Date: Mon, 10 Apr 2006 02:09:17 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-test (in module jakarta-velocity) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 85 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-test : Template engine Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/gump_work/build_jakarta-velocity_jakarta-velocity-test.html Work Name: build_jakarta-velocity_jakarta-velocity-test (Type: Build) Work ended in a state of : Failed Elapsed: 8 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only test [Working Directory: /usr/local/gump/public/workspace/jakarta-velocity/build] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/test-classes:/usr/local/gump/public/workspace/jakarta-velocity/test/cpload/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/texen-classpath/test.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/multiloader/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-10042006.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-dep-10042006.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-servletapi/dist/lib/servlet.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/packages/werken-xpath/werken-xpath-0.9.4.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-10042006.jar:/usr/local/gump/public/workspace/jakarta-bcel/target/bcel-10042006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-10042006.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-10042006.jar:/usr/local/gump/public/workspace/excalibur/containerkit/logkit/target/excalibur-logkit-10042006.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-10042006.jar:/usr/local/gump/packages/antlr-2.7.6/antlr.jar --------------------------------------------- http-download: [get] Getting: http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/servletapi-2.3.jar [get] Not modified - so not downloaded werken-xpath-download: http-download: [get] Getting: http://www.ibiblio.org/maven/werken-xpath/jars/werken-xpath-0.9.4.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/werken-xpath-0.9.4.jar [get] Not modified - so not downloaded basic-prepare: check-jdbc: check-jdbc-true: check-jdbc-false: prepare-jdbc: check-jdk14: check-jdk14-true: check-jdk14-false: prepare-jdk14: prepare: compile-src: compile-test: [javac] Compiling 58 source files to /x1/gump/public/workspace/jakarta-velocity/bin/test-classes [javac] Note: /x1/gump/public/workspace/jakarta-velocity/bin/test-src/org/apache/velocity/test/VelocityServletTestCase.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. test: [mkdir] Created dir: /x1/gump/public/workspace/jakarta-velocity/bin/test-reports [junit] Running org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.04 sec BUILD FAILED /x1/gump/public/workspace/jakarta-velocity/build/build.xml:758: Test org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase failed Total time: 7 seconds --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 28000010042006, vmgump.apache.org:vmgump-public:28000010042006 Gump E-mail Identifier (unique within run) #61. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 11 07:43:49 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31273 invoked from network); 11 Apr 2006 07:43:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Apr 2006 07:43:47 -0000 Received: (qmail 86857 invoked by uid 500); 11 Apr 2006 07:43:42 -0000 Delivered-To: [email protected] Received: (qmail 86822 invoked by uid 500); 11 Apr 2006 07:43:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 86811 invoked by uid 99); 11 Apr 2006 07:43:41 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Apr 2006 00:43:41 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Apr 2006 00:43:40 -0700 Received: from ajax (localhost.localdomain [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id E1E89D4A00 for <[email protected]>; Tue, 11 Apr 2006 08:43:19 +0100 (BST) Message-ID: <1124481348.1144741399922.JavaMail.jira@ajax> Date: Tue, 11 Apr 2006 08:43:19 +0100 (BST) From: =?utf-8?Q?St=C3=A5le_Undheim_=28JIRA=29?= <[email protected]> To: [email protected] Subject: [jira] Created: (VELOCITY-437) Intercept output of objects MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Intercept output of objects --------------------------- Key: VELOCITY-437 URL: http://issues.apache.org/jira/browse/VELOCITY-437 Project: Velocity Type: New Feature Versions: 1.4 =20 Reporter: St=C3=A5le Undheim Priority: Minor Currently, all reference objects in a Velocity template file are put out us= ing the objects toString method, with no means to control this mechanism. I= propose to change this by having interceptors that can pick up variables b= efore they are run .toString on, and write them using their own means inste= ad. If I figure out how to attach files to this after posting, I will add a pat= ch with all the code necessary to implement this. --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 11 07:54:42 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36765 invoked from network); 11 Apr 2006 07:54:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Apr 2006 07:54:08 -0000 Received: (qmail 99863 invoked by uid 500); 11 Apr 2006 07:54:00 -0000 Delivered-To: [email protected] Received: (qmail 99740 invoked by uid 500); 11 Apr 2006 07:53:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 99729 invoked by uid 99); 11 Apr 2006 07:53:59 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Apr 2006 00:53:59 -0700 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO pproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Apr 2006 00:53:58 -0700 Received: by pproxy.gmail.com with SMTP id t32so1276543pyc for <[email protected]>; Tue, 11 Apr 2006 00:53:38 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=gsmV+k9Ewkg9G1Q9DWJleudCHLEZRTXytDgRvfKq9XI7Q92hmgjB8GmBG3ULvhVOF0Y78aXZHexo5nl3zTT8Gbnm6m9d8LNPWWttCNjuoTqCauHSwb+MlLR9sO1OmHHISBLQ7Q03girrGm751DJDv7P+PePEY/nSjVry01bNRxU= Received: by 161.129.204.104 with SMTP id f13mr1801483pyl; Tue, 11 Apr 2006 00:53:38 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 11 Apr 2006 00:53:38 -0700 (PDT) Message-ID: <[email protected]> Date: Tue, 11 Apr 2006 00:53:38 -0700 From: "Henri Yandell" <[email protected]> To: "Velocity Developers List" <[email protected]> Subject: Re: DVSL - ever released? In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Not continuing it Robert, just fixing so that those who are using DVSL can easily get the source code to the jar they're tied to. Other than that, my only interest is in how to stop jars being unofficially released via ibiblio. Hen On 4/7/06, Robert Koberg <[email protected]> wrote: > > Sorry, this is extremely lame. Why continue with something that sucks? > > Nathan Bubna wrote: > > Thanks, Henri! > > > > On 4/7/06, Henri Yandell <[email protected]> wrote: > >> Done. I used the timestamp of the files inside the jars to look up the > >> most likely revision in SVN. > >> > >> 0.45 - r72419 > >> 0.43 - r72400 > >> 0.40 - r72359 > >> 0.31 - r72329 > >> > >> http://svn.apache.org/viewcvs.cgi/jakarta/velocity/dvsl/tags/ > >> > >> Hen > >> > >> On 3/31/06, Henri Yandell <[email protected]> wrote: > >>> Anyone mind if I retroactively create a tag in SVN to point to the > >>> revision the 0.45 jar was built from? > >>> > >>> I'll try to figure out the other releases too. > >>> > >>> Hen > >>> > >>> On 2/23/06, Henri Yandell <[email protected]> wrote: > >>>> A colleague noticed that while there's a 0.45 jar of velocity-dvsl i= n > >>>> the Maven repository; there are no tags in SVN and there's been no > >>>> release on the site. I took a quick look and he's right; it's not a > >>>> cvs2svn issue as there were no tags in CVS either. > >>>> > >>>> Is the 0.45 jar an unofficial rogue one? > >>>> > >>>> Hen > >>>> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [email protected] > >> For additional commands, e-mail: [email protected] > >> > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 11 08:06:48 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42691 invoked from network); 11 Apr 2006 08:06:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Apr 2006 08:06:47 -0000 Received: (qmail 16702 invoked by uid 500); 11 Apr 2006 08:06:46 -0000 Delivered-To: [email protected] Received: (qmail 16680 invoked by uid 500); 11 Apr 2006 08:06:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 16669 invoked by uid 99); 11 Apr 2006 08:06:46 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Apr 2006 01:06:46 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Apr 2006 01:06:46 -0700 Received: from ajax (localhost.localdomain [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 154ACD4A00 for <[email protected]>; Tue, 11 Apr 2006 09:06:25 +0100 (BST) Message-ID: <73129740.1144742785084.JavaMail.jira@ajax> Date: Tue, 11 Apr 2006 09:06:25 +0100 (BST) From: =?utf-8?Q?St=C3=A5le_Undheim_=28JIRA=29?= <[email protected]> To: [email protected] Subject: [jira] Updated: (VELOCITY-437) Intercept output of objects In-Reply-To: <1124481348.1144741399922.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/VELOCITY-437?page=3Dall ] St=C3=A5le Undheim updated VELOCITY-437: ----------------------------------- Attachment: valuewriter.patch This patch when applied to Velocity 1.4 release will add support for a Valu= eWriter. Changes made: RuntimeConstants.java: New property added: "valuewriter.classes" RuntimeServices.java: New method: getValueWriters(); RuntimeInstances.java: New instance variable: valueWriters New method: initializeValueWritters * This method is run with the other intializers and will load the ValueWrit= ers from the "valeuewriter.classes" configuration parameter. It creates ins= tances, checks that they implement ValueWriter, run initialize on them and = add them to the valueWriters list. ASTReference: I couldn't figure out where I could change this in the jjt file, so I chang= ed ASTReference directly instead. The render method was changed so that bef= ore it checked for null, it ran through all ValueWriters, and checked if an= y of them could write the object. If a ValueWriter could write the object, = escPrefixes will be added to the stream as normal, and the ValueWriter will= have an opportunity to write the object out to the writer.=20 New interface: ValueWriter This is the interface you implement if you want to handle certain objects i= n a specific way rather than just have toString run on them. > Intercept output of objects > --------------------------- > > Key: VELOCITY-437 > URL: http://issues.apache.org/jira/browse/VELOCITY-437 > Project: Velocity > Type: New Feature > Versions: 1.4 > Reporter: St=C3=A5le Undheim > Priority: Minor > Attachments: valuewriter.patch > > Currently, all reference objects in a Velocity template file are put out = using the objects toString method, with no means to control this mechanism.= I propose to change this by having interceptors that can pick up variables= before they are run .toString on, and write them using their own means ins= tead. > If I figure out how to attach files to this after posting, I will add a p= atch with all the code necessary to implement this. --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 11 09:23:42 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83646 invoked from network); 11 Apr 2006 09:23:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Apr 2006 09:23:41 -0000 Received: (qmail 9407 invoked by uid 500); 11 Apr 2006 09:23:40 -0000 Delivered-To: [email protected] Received: (qmail 9379 invoked by uid 500); 11 Apr 2006 09:23:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 9368 invoked by uid 99); 11 Apr 2006 09:23:39 -0000 Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Apr 2006 02:23:39 -0700 Date: Tue, 11 Apr 2006 02:11:05 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-test (in module jakarta-velocity) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 88 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-test : Template engine Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/gump_work/build_jakarta-velocity_jakarta-velocity-test.html Work Name: build_jakarta-velocity_jakarta-velocity-test (Type: Build) Work ended in a state of : Failed Elapsed: 8 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only test [Working Directory: /usr/local/gump/public/workspace/jakarta-velocity/build] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/test-classes:/usr/local/gump/public/workspace/jakarta-velocity/test/cpload/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/texen-classpath/test.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/multiloader/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-11042006.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-dep-11042006.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-servletapi/dist/lib/servlet.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/packages/werken-xpath/werken-xpath-0.9.4.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-11042006.jar:/usr/local/gump/public/workspace/jakarta-bcel/target/bcel-11042006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-11042006.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-11042006.jar:/usr/local/gump/public/workspace/excalibur/containerkit/logkit/target/excalibur-logkit-11042006.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-11042006.jar:/usr/local/gump/packages/antlr-2.7.6/antlr.jar --------------------------------------------- http-download: [get] Getting: http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/servletapi-2.3.jar [get] Not modified - so not downloaded werken-xpath-download: http-download: [get] Getting: http://www.ibiblio.org/maven/werken-xpath/jars/werken-xpath-0.9.4.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/werken-xpath-0.9.4.jar [get] Not modified - so not downloaded basic-prepare: check-jdbc: check-jdbc-true: check-jdbc-false: prepare-jdbc: check-jdk14: check-jdk14-true: check-jdk14-false: prepare-jdk14: prepare: compile-src: compile-test: [javac] Compiling 58 source files to /x1/gump/public/workspace/jakarta-velocity/bin/test-classes [javac] Note: /x1/gump/public/workspace/jakarta-velocity/bin/test-src/org/apache/velocity/test/VelocityServletTestCase.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. test: [mkdir] Created dir: /x1/gump/public/workspace/jakarta-velocity/bin/test-reports [junit] Running org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.036 sec BUILD FAILED /x1/gump/public/workspace/jakarta-velocity/build/build.xml:758: Test org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase failed Total time: 7 seconds --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 28000011042006, vmgump.apache.org:vmgump-public:28000011042006 Gump E-mail Identifier (unique within run) #64. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 11 14:08:17 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74443 invoked from network); 11 Apr 2006 14:08:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Apr 2006 14:08:00 -0000 Received: (qmail 73844 invoked by uid 500); 11 Apr 2006 14:07:52 -0000 Delivered-To: [email protected] Received: (qmail 73639 invoked by uid 500); 11 Apr 2006 14:07:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 73628 invoked by uid 99); 11 Apr 2006 14:07:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Apr 2006 07:07:51 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Apr 2006 07:07:50 -0700 Received: from ajax (localhost.localdomain [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 90E22D49FF for <[email protected]>; Tue, 11 Apr 2006 15:07:29 +0100 (BST) Message-ID: <459290259.1144764449580.JavaMail.jira@ajax> Date: Tue, 11 Apr 2006 15:07:29 +0100 (BST) From: "Will Glass-Husain (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (VELOCITY-437) Intercept output of objects In-Reply-To: <1124481348.1144741399922.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/VELOCITY-437?page=3Dcomments#act= ion_12374039 ]=20 Will Glass-Husain commented on VELOCITY-437: -------------------------------------------- Kind of a neat idea. Modifying ASTReference directly is the way to go -- w= e ignore all Node files generated by jjtree. Can you give a use case or two explaining why this feature is useful? Are = you using this in your own apps? How? > Intercept output of objects > --------------------------- > > Key: VELOCITY-437 > URL: http://issues.apache.org/jira/browse/VELOCITY-437 > Project: Velocity > Type: New Feature > Versions: 1.4 > Reporter: St=C3=A5le Undheim > Priority: Minor > Attachments: valuewriter.patch > > Currently, all reference objects in a Velocity template file are put out = using the objects toString method, with no means to control this mechanism.= I propose to change this by having interceptors that can pick up variables= before they are run .toString on, and write them using their own means ins= tead. > If I figure out how to attach files to this after posting, I will add a p= atch with all the code necessary to implement this. --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 11 15:18:22 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25259 invoked from network); 11 Apr 2006 15:17:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Apr 2006 15:17:45 -0000 Received: (qmail 8177 invoked by uid 500); 11 Apr 2006 15:17:43 -0000 Delivered-To: [email protected] Received: (qmail 8128 invoked by uid 500); 11 Apr 2006 15:17:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 8108 invoked by uid 99); 11 Apr 2006 15:17:42 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Apr 2006 08:17:42 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Apr 2006 08:17:41 -0700 Received: from ajax (localhost.localdomain [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 62B246ACAB for <[email protected]>; Tue, 11 Apr 2006 16:17:20 +0100 (BST) Message-ID: <2050170962.1144768640389.JavaMail.jira@ajax> Date: Tue, 11 Apr 2006 16:17:20 +0100 (BST) From: "Nathan Bubna (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (VELOCITY-437) Intercept output of objects In-Reply-To: <1124481348.1144741399922.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/VELOCITY-437?page=3Dcomments#act= ion_12374053 ]=20 Nathan Bubna commented on VELOCITY-437: --------------------------------------- I love the idea. In fact, i've thought of this "reference rendering interc= eptor" type thing before and have occasionally toyed around with ideas for = implementing it. If we're anywhere near being able to release 1.5 (i haven= 't checked the roadmap lately), then i think this should wait. But if we'v= e got a few months or something, then i'm definitely interested in working = with you on this. Here's a couple nitpicky comments to start, followed by = a few more practical ones: - your patch is messy, with lots of unneeded formatting changes. makes it = hard to read. - i don't like the ValueWriter.writeObject() naming. ;) i'd prefer either= something more explanatory like ReferenceInterceptor with methods initiali= ze(RuntimeServices), isSupported(Object), and render(Object, Writer, Contex= t). - i don't want to hurt performance. with a high number of reference interc= eptors in use, the rendering of each and every reference (whether it is bei= ng intercepted or not) will be slowed by the search for an appropriate inte= rceptor. so... - if possible, we should try to cache the last interceptor used for eac= h reference. when merging with a new context, we just double check to make= sure the Class of the reference hasn't changed. usually they don't, but t= hey are allowed to do so. - it would probably be quicker to keep a map of reference classes to th= eir supporting interceptor. if we don't find a match for the class in the = map, then we iterate through all the interceptors until we find one and the= n store that in the map. - actually, it might even be better to do the above mapping during Runt= imeInstance initialization. we might just need to change the "boolean isSu= pported(Object)" method to a "List<Class> supports()" method. Then we can = directly ask each ReferenceInterceptor what it supports. anyway, i think this is a great idea that can make very common tasks like s= tandardizing date and number formatting across all your templates very easy= . (there's two quick examples, Will :). i'm glad to see someone taking th= e time to work up some code for it! hmm. what about something shorter and more symbolic like "ReferenceLens" i= nstead of "ReferenceInterceptor"? > Intercept output of objects > --------------------------- > > Key: VELOCITY-437 > URL: http://issues.apache.org/jira/browse/VELOCITY-437 > Project: Velocity > Type: New Feature > Versions: 1.4 > Reporter: St=C3=A5le Undheim > Priority: Minor > Attachments: valuewriter.patch > > Currently, all reference objects in a Velocity template file are put out = using the objects toString method, with no means to control this mechanism.= I propose to change this by having interceptors that can pick up variables= before they are run .toString on, and write them using their own means ins= tead. > If I figure out how to attach files to this after posting, I will add a p= atch with all the code necessary to implement this. --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 13 10:23:31 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57359 invoked from network); 13 Apr 2006 10:23:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Apr 2006 10:23:29 -0000 Received: (qmail 16373 invoked by uid 500); 13 Apr 2006 10:23:23 -0000 Delivered-To: [email protected] Received: (qmail 16346 invoked by uid 500); 13 Apr 2006 10:23:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 16335 invoked by uid 99); 13 Apr 2006 10:23:22 -0000 Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Apr 2006 03:23:22 -0700 Date: Thu, 13 Apr 2006 03:10:41 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-test (in module jakarta-velocity) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 92 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-test : Template engine Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/gump_work/build_jakarta-velocity_jakarta-velocity-test.html Work Name: build_jakarta-velocity_jakarta-velocity-test (Type: Build) Work ended in a state of : Failed Elapsed: 7 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only test [Working Directory: /usr/local/gump/public/workspace/jakarta-velocity/build] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/test-classes:/usr/local/gump/public/workspace/jakarta-velocity/test/cpload/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/texen-classpath/test.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/multiloader/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-13042006.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-dep-13042006.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-servletapi/dist/lib/servlet.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/packages/werken-xpath/werken-xpath-0.9.4.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-13042006.jar:/usr/local/gump/public/workspace/jakarta-bcel/target/bcel-13042006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-13042006.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-13042006.jar:/usr/local/gump/public/workspace/excalibur/containerkit/logkit/target/excalibur-logkit-13042006.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-13042006.jar:/usr/local/gump/packages/antlr-2.7.6/antlr.jar --------------------------------------------- http-download: [get] Getting: http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/servletapi-2.3.jar [get] Not modified - so not downloaded werken-xpath-download: http-download: [get] Getting: http://www.ibiblio.org/maven/werken-xpath/jars/werken-xpath-0.9.4.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/werken-xpath-0.9.4.jar [get] Not modified - so not downloaded basic-prepare: check-jdbc: check-jdbc-true: check-jdbc-false: prepare-jdbc: check-jdk14: check-jdk14-true: check-jdk14-false: prepare-jdk14: prepare: compile-src: compile-test: [javac] Compiling 58 source files to /x1/gump/public/workspace/jakarta-velocity/bin/test-classes [javac] Note: /x1/gump/public/workspace/jakarta-velocity/bin/test-src/org/apache/velocity/test/VelocityServletTestCase.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. test: [mkdir] Created dir: /x1/gump/public/workspace/jakarta-velocity/bin/test-reports [junit] Running org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.047 sec BUILD FAILED /x1/gump/public/workspace/jakarta-velocity/build/build.xml:758: Test org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase failed Total time: 7 seconds --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 28000013042006, vmgump.apache.org:vmgump-public:28000013042006 Gump E-mail Identifier (unique within run) #51. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 13 22:18:39 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 1880 invoked from network); 13 Apr 2006 22:18:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Apr 2006 22:18:35 -0000 Received: (qmail 88504 invoked by uid 500); 13 Apr 2006 22:18:33 -0000 Delivered-To: [email protected] Received: (qmail 88038 invoked by uid 500); 13 Apr 2006 22:18:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 88004 invoked by uid 99); 13 Apr 2006 22:18:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Apr 2006 15:18:31 -0700 X-ASF-Spam-Status: No, hits=0.9 required=10.0 tests=HTML_10_20,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO zproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Apr 2006 15:18:31 -0700 Received: by zproxy.gmail.com with SMTP id o37so1705099nzf for <[email protected]>; Thu, 13 Apr 2006 15:18:10 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=KH0AgYlal/OXFNuPcGzkN2wQALtA3dnonvsTwSgqOUMdH8rNJXgel74oz4bl9t5goyn4IDL+srWuo3z2NKcNRI/wbb+lCSbWG07qALB+Rrf/mr4fktGD+1SvPo3SytVxh1lcxBl8QbrFXxz60TU0llXamlJJeMEFW2d0Gpi3L08= Received: by 161.129.204.104 with SMTP id y17mr725328qba; Thu, 13 Apr 2006 15:18:10 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Thu, 13 Apr 2006 15:18:10 -0700 (PDT) Message-ID: <[email protected]> Date: Fri, 14 Apr 2006 00:18:10 +0200 From: "Arnaud HERITIER" <[email protected]> To: [email protected], "Maven Developers List" <[email protected]> Subject: 1.5 release ? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_10106_22899274.1144966690444" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_10106_22899274.1144966690444 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi guys, Do you have an idea when you'll be able to release the version 1.5 of velocity ? We particularly need it in maven to avoid log4j errors coming from VELOCITY-193 We would like to have it before to release maven 1.1. cheers, Arnaud ------=_Part_10106_22899274.1144966690444-- From [email protected] Fri Apr 14 09:24:43 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4919 invoked from network); 14 Apr 2006 09:24:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Apr 2006 09:24:42 -0000 Received: (qmail 57711 invoked by uid 500); 14 Apr 2006 09:24:42 -0000 Delivered-To: [email protected] Received: (qmail 57689 invoked by uid 500); 14 Apr 2006 09:24:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 57678 invoked by uid 99); 14 Apr 2006 09:24:41 -0000 Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Apr 2006 02:24:41 -0700 Date: Fri, 14 Apr 2006 02:11:55 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-test (in module jakarta-velocity) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 95 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-test : Template engine Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/gump_work/build_jakarta-velocity_jakarta-velocity-test.html Work Name: build_jakarta-velocity_jakarta-velocity-test (Type: Build) Work ended in a state of : Failed Elapsed: 7 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only test [Working Directory: /usr/local/gump/public/workspace/jakarta-velocity/build] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/test-classes:/usr/local/gump/public/workspace/jakarta-velocity/test/cpload/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/texen-classpath/test.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/multiloader/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-14042006.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-dep-14042006.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-servletapi/dist/lib/servlet.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/packages/werken-xpath/werken-xpath-0.9.4.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-14042006.jar:/usr/local/gump/public/workspace/jakarta-bcel/target/bcel-14042006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-14042006.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-14042006.jar:/usr/local/gump/public/workspace/excalibur/containerkit/logkit/target/excalibur-logkit-14042006.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-14042006.jar:/usr/local/gump/packages/antlr-2.7.6/antlr.jar --------------------------------------------- http-download: [get] Getting: http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/servletapi-2.3.jar [get] Not modified - so not downloaded werken-xpath-download: http-download: [get] Getting: http://www.ibiblio.org/maven/werken-xpath/jars/werken-xpath-0.9.4.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/werken-xpath-0.9.4.jar [get] Not modified - so not downloaded basic-prepare: check-jdbc: check-jdbc-true: check-jdbc-false: prepare-jdbc: check-jdk14: check-jdk14-true: check-jdk14-false: prepare-jdk14: prepare: compile-src: compile-test: [javac] Compiling 58 source files to /x1/gump/public/workspace/jakarta-velocity/bin/test-classes [javac] Note: /x1/gump/public/workspace/jakarta-velocity/bin/test-src/org/apache/velocity/test/VelocityServletTestCase.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. test: [mkdir] Created dir: /x1/gump/public/workspace/jakarta-velocity/bin/test-reports [junit] Running org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.045 sec BUILD FAILED /x1/gump/public/workspace/jakarta-velocity/build/build.xml:758: Test org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase failed Total time: 7 seconds --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 28000014042006, vmgump.apache.org:vmgump-public:28000014042006 Gump E-mail Identifier (unique within run) #59. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 15 01:36:11 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48234 invoked from network); 15 Apr 2006 01:36:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Apr 2006 01:36:10 -0000 Received: (qmail 97320 invoked by uid 500); 15 Apr 2006 01:36:10 -0000 Delivered-To: [email protected] Received: (qmail 97091 invoked by uid 500); 15 Apr 2006 01:36:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 97063 invoked by uid 99); 15 Apr 2006 01:36:07 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Apr 2006 18:36:07 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) Received: from [161.129.204.104] (HELO localhost.localdomain) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Apr 2006 18:36:07 -0700 Received: by localhost.localdomain (Postfix, from userid 500) id 0F32016108D; Fri, 14 Apr 2006 18:35:38 -0700 (PDT) Date: Fri, 14 Apr 2006 18:35:37 -0700 From: Daniel Rall <[email protected]> To: Velocity Developers List <[email protected]> Cc: Maven Developers List <[email protected]> Subject: Re: 1.5 release ? Message-ID: <[email protected]> References: <[email protected]> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8jNwmpfkpox/fiJK" Content-Disposition: inline In-Reply-To: <[email protected]> User-Agent: Mutt/161.129.204.104i Mail-Followups-To: Daniel Rall <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --8jNwmpfkpox/fiJK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, 14 Apr 2006, Arnaud HERITIER wrote: > Hi guys, >=20 > Do you have an idea when you'll be able to release the version 1.5 of > velocity ? > We particularly need it in maven to avoid log4j errors coming from > VELOCITY-193 > We would like to have it before to release maven 1.1. If 1.5 isn't immediately forthcoming, how about a 1.4.x release to satisfy the Maven folks? --=20 Daniel Rall --8jNwmpfkpox/fiJK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v161.129.204.104 (GNU/Linux) iD8DBQFEQE3pZ9mySWdPBeARAgcsAKCAXWc1eS2iJBMBF1UFJX4MMdtALgCdEgKf Qxu+eppkPo082brFssH4D3I= =3ZqB -----END PGP SIGNATURE----- --8jNwmpfkpox/fiJK-- From [email protected] Sat Apr 15 09:27:00 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57294 invoked from network); 15 Apr 2006 09:27:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Apr 2006 09:27:00 -0000 Received: (qmail 77024 invoked by uid 500); 15 Apr 2006 09:26:59 -0000 Delivered-To: [email protected] Received: (qmail 77005 invoked by uid 500); 15 Apr 2006 09:26:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 76992 invoked by uid 99); 15 Apr 2006 09:26:59 -0000 Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Apr 2006 02:26:59 -0700 Date: Sat, 15 Apr 2006 02:14:09 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-test (in module jakarta-velocity) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 98 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-test : Template engine Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/gump_work/build_jakarta-velocity_jakarta-velocity-test.html Work Name: build_jakarta-velocity_jakarta-velocity-test (Type: Build) Work ended in a state of : Failed Elapsed: 7 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only test [Working Directory: /usr/local/gump/public/workspace/jakarta-velocity/build] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/test-classes:/usr/local/gump/public/workspace/jakarta-velocity/test/cpload/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/texen-classpath/test.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/multiloader/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-15042006.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-dep-15042006.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-servletapi/dist/lib/servlet.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/packages/werken-xpath/werken-xpath-0.9.4.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-15042006.jar:/usr/local/gump/public/workspace/jakarta-bcel/target/bcel-15042006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-15042006.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-15042006.jar:/usr/local/gump/public/workspace/excalibur/containerkit/logkit/target/excalibur-logkit-15042006.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-15042006.jar:/usr/local/gump/packages/antlr-2.7.6/antlr.jar --------------------------------------------- http-download: [get] Getting: http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/servletapi-2.3.jar [get] Not modified - so not downloaded werken-xpath-download: http-download: [get] Getting: http://www.ibiblio.org/maven/werken-xpath/jars/werken-xpath-0.9.4.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/werken-xpath-0.9.4.jar [get] Not modified - so not downloaded basic-prepare: check-jdbc: check-jdbc-true: check-jdbc-false: prepare-jdbc: check-jdk14: check-jdk14-true: check-jdk14-false: prepare-jdk14: prepare: compile-src: compile-test: [javac] Compiling 58 source files to /x1/gump/public/workspace/jakarta-velocity/bin/test-classes [javac] Note: /x1/gump/public/workspace/jakarta-velocity/bin/test-src/org/apache/velocity/test/VelocityServletTestCase.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. test: [mkdir] Created dir: /x1/gump/public/workspace/jakarta-velocity/bin/test-reports [junit] Running org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.042 sec BUILD FAILED /x1/gump/public/workspace/jakarta-velocity/build/build.xml:758: Test org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase failed Total time: 7 seconds --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 29000015042006, vmgump.apache.org:vmgump-public:29000015042006 Gump E-mail Identifier (unique within run) #50. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 15 14:44:00 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60371 invoked from network); 15 Apr 2006 14:43:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Apr 2006 14:43:59 -0000 Received: (qmail 48449 invoked by uid 500); 15 Apr 2006 14:43:57 -0000 Delivered-To: [email protected] Received: (qmail 48112 invoked by uid 500); 15 Apr 2006 14:43:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 48089 invoked by uid 99); 15 Apr 2006 14:43:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Apr 2006 07:43:55 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Apr 2006 07:43:55 -0700 Received: from brutus (localhost.localdomain [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 38E0C7142A2 for <[email protected]>; Sat, 15 Apr 2006 14:43:01 +0000 (GMT) Message-ID: <47090384.1145112181229.JavaMail.jira@brutus> Date: Sat, 15 Apr 2006 14:43:01 +0000 (GMT+00:00) From: "Christopher Schultz (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (VELTOOLS-58) ValidatorTool does not respect 'bundle' property for message elements when generating client-side validation code. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ValidatorTool does not respect 'bundle' property for message elements when generating client-side validation code. ------------------------------------------------------------------------------------------------------------------ Key: VELTOOLS-58 URL: http://issues.apache.org/jira/browse/VELTOOLS-58 Project: VelocityTools Type: Bug Components: VelocityStruts Versions: 1.2, 1.3 Environment: JDK 1.4.2_09 / Tomcat 4.1.31 / Struts 1.2.7 / Commons-Validator 1.1.4 Reporter: Christopher Schultz I recently decided to split my application properties files into multiple bundles instead of one huge bundle in an effort to maintain some order. This required me to change my validation configuration to include the "bundle" property on my message elements: <field property="questionTypeId" depends="required,integer"> <arg position="0" bundle="Clinician" key="prompt.responseOption.questionTypeId"/> </field> The ValidatorTool.getDynamicJavascript does not respect this setting and so I get messages like "The field ???en_US.responseOption.questionTypeId??? is required.". ValidatorTool.getDynamicJavascript first gets the global message bundle and re-uses it for all of the error messages emitted by the javascript generator: String message = Resources.getMessage(messages, locale, va, field); In order to respect the <msg>'s bundle, the code should instead be this: String message = Resources.getMessage(app, request, messages, locale, va, field); It turns out that this doesn't fix the problem, although I'm sure that this change should be made. Perhaps someone with a better understanding of Struts/Validator/VelocityTools could shed some light on this situation. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 15 23:33:20 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25982 invoked from network); 15 Apr 2006 23:33:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Apr 2006 23:33:20 -0000 Received: (qmail 19481 invoked by uid 500); 15 Apr 2006 23:33:19 -0000 Delivered-To: [email protected] Received: (qmail 19278 invoked by uid 500); 15 Apr 2006 23:33:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 19266 invoked by uid 99); 15 Apr 2006 23:33:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Apr 2006 16:33:18 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nz-out-0102.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Apr 2006 16:33:17 -0700 Received: by nz-out-0102.google.com with SMTP id o37so329844nzf for <[email protected]>; Sat, 15 Apr 2006 16:32:57 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=Y4w1eqcf+8mXsR50s7/y3SDchEnxpO3o/8sGTdqP5DrDYFcOsWVfcNJ694mJJ2MJLb1hixvQNU0db0W8+lofBiC+/i9r+T64RTZRLqvoIFuC7ncmChMnDDdFYfQXJiDILKo9i1TgfSGb3OqlTrrB91a2goyU4CZ92Hr4wVzpdkU= Received: by 161.129.204.104 with SMTP id p17mr40603qbm; Sat, 15 Apr 2006 16:32:53 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sat, 15 Apr 2006 16:32:53 -0700 (PDT) Message-ID: <[email protected]> Date: Sun, 16 Apr 2006 01:32:53 +0200 From: "Arnaud HERITIER" <[email protected]> To: [email protected], "Lukas Theussl" <[email protected]> Subject: Re: 1.5 release ? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_9558_33073549.1145143973624" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_9558_33073549.1145143973624 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Daniel, Yes if it's possible. I think that it is sufficient. Actually we are using velocity 1.4 and we are satisfied about it. Arnaud PS : I didn't subscribe to your list. If you reply, can you add my email in copy please? > On Fri, 14 Apr 2006, Arnaud HERITIER wrote: > > > Hi guys, > > > > Do you have an idea when you'll be able to release the version 1.5 of > > velocity ? > > We particularly need it in maven to avoid log4j errors coming from > > VELOCITY-193 > > We would like to have it before to release maven 1.1. > > If 1.5 isn't immediately forthcoming, how about a 1.4.x release to > satisfy the Maven folks? > -- > > Daniel Rall ------=_Part_9558_33073549.1145143973624-- From [email protected] Sun Apr 16 09:22:43 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77964 invoked from network); 16 Apr 2006 09:22:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Apr 2006 09:22:42 -0000 Received: (qmail 6265 invoked by uid 500); 16 Apr 2006 09:22:42 -0000 Delivered-To: [email protected] Received: (qmail 6240 invoked by uid 500); 16 Apr 2006 09:22:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 6229 invoked by uid 99); 16 Apr 2006 09:22:41 -0000 Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Apr 2006 02:22:41 -0700 Date: Sun, 16 Apr 2006 02:09:48 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-test (in module jakarta-velocity) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 101 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-test : Template engine Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/gump_work/build_jakarta-velocity_jakarta-velocity-test.html Work Name: build_jakarta-velocity_jakarta-velocity-test (Type: Build) Work ended in a state of : Failed Elapsed: 7 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only test [Working Directory: /usr/local/gump/public/workspace/jakarta-velocity/build] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/test-classes:/usr/local/gump/public/workspace/jakarta-velocity/test/cpload/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/texen-classpath/test.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/multiloader/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-16042006.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-dep-16042006.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-servletapi/dist/lib/servlet.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/packages/werken-xpath/werken-xpath-0.9.4.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-16042006.jar:/usr/local/gump/public/workspace/jakarta-bcel/target/bcel-16042006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-16042006.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-16042006.jar:/usr/local/gump/public/workspace/excalibur/containerkit/logkit/target/excalibur-logkit-16042006.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-16042006.jar:/usr/local/gump/packages/antlr-2.7.6/antlr.jar --------------------------------------------- http-download: [get] Getting: http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/servletapi-2.3.jar [get] Not modified - so not downloaded werken-xpath-download: http-download: [get] Getting: http://www.ibiblio.org/maven/werken-xpath/jars/werken-xpath-0.9.4.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/werken-xpath-0.9.4.jar [get] Not modified - so not downloaded basic-prepare: check-jdbc: check-jdbc-true: check-jdbc-false: prepare-jdbc: check-jdk14: check-jdk14-true: check-jdk14-false: prepare-jdk14: prepare: compile-src: compile-test: [javac] Compiling 58 source files to /x1/gump/public/workspace/jakarta-velocity/bin/test-classes [javac] Note: /x1/gump/public/workspace/jakarta-velocity/bin/test-src/org/apache/velocity/test/VelocityServletTestCase.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. test: [mkdir] Created dir: /x1/gump/public/workspace/jakarta-velocity/bin/test-reports [junit] Running org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.046 sec BUILD FAILED /x1/gump/public/workspace/jakarta-velocity/build/build.xml:758: Test org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase failed Total time: 7 seconds --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 29000016042006, vmgump.apache.org:vmgump-public:29000016042006 Gump E-mail Identifier (unique within run) #50. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 16 16:48:35 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11884 invoked from network); 16 Apr 2006 16:48:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Apr 2006 16:48:35 -0000 Received: (qmail 22720 invoked by uid 500); 16 Apr 2006 16:48:34 -0000 Delivered-To: [email protected] Received: (qmail 22700 invoked by uid 500); 16 Apr 2006 16:48:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 22689 invoked by uid 500); 16 Apr 2006 16:48:34 -0000 Received: (qmail 22676 invoked by uid 99); 16 Apr 2006 16:48:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Apr 2006 09:48:34 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Apr 2006 09:48:31 -0700 Received: from ajax.apache.org (localhost.localdomain [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id C25746ACAA for <[email protected]>; Sun, 16 Apr 2006 17:48:10 +0100 (BST) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <[email protected]> To: [email protected] Date: Sun, 16 Apr 2006 16:48:10 -0000 Message-ID: <[email protected]> Subject: [Jakarta-velocity Wiki] Update of "PoweredByVelocity" by TheOmega X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear Wiki user, You have subscribed to a wiki page or wiki category on "Jakarta-velocity Wiki" for change notification. The following page has been changed by TheOmega: http://wiki.apache.org/jakarta-velocity/PoweredByVelocity The comment on the change is: Threw out not working Links ------------------------------------------------------------------------------ ||<tablewidth="100%">'''URL'''||'''Description'''||<25%>'''Created By'''|| ||[http://www.openedit.org/showcase/]|| 10 nice looking Velocity powered web sites that are all built and maintained with the free OpenEdit content management system.Each page is dynamic, fast loading and search engine friendly.|| [http://www.openedit.org]|| - ||[http://www.jhsystems.net www.jhsystems.net]|| Notice: Velocity mailing list search provided! J&H Systems is specialized in search engine, Web database development using java open source technologies. Our website and Web database products are all powered by Velocity ||[http://www.jhsystems.net]|| ||[http://www.interfacexpress.com www.interfacexpress.com]||InterfacExpress is a web based system that allows realtors to search listings online. Technologies used include Jetty web server and Velocity template engine.||[http://www.realtyserver.com RealtyServer]|| ||[http://www.everyboat.com www.everyboat.com]||Every Boat uses Velocity templates to generate static caches of classified ads resulting in fast ad retrieval with no database connections required.||[http://www.everyboat.com Every Boat Classifieds]|| - ||[http://tambora.zenplex.org tambora.zenplex.org]||Home of an OSS project.||[http://www.zenplex.org Zenplex]|| ||[http://www.flashcan.com www.flashcan.com]||An interactive card making game using Velocity, Turbine and Macromedia's Flash5.||[http://www.zincroe.com ZincRoe]|| ||[http://www.tigris.org www.tigris.org]||Open source development tool suite.||[http://www.collab.net CollabNet]|| - ||[http://www.devicetop.com www.devicetop.com]||Devicetop.com is an industry-sponsored online community for developers of Java-based applications for smart Internet devices.||[http://www.espial.com Espial]|| ||[http://www.adeptra.com www.adeptra.com]||Adeptra is a venture-backed private company that provides 2-way alerting solutions for personal electronic devices.||[http://www.adeptra.com Adeptra Inc.]|| - ||[http://www.discuss.gr www.discuss.gr]||Online discussion forum site built using Turbine and Velocity.|| || ||[http://www.webhelp.com/ www.webhelp.com]||Webhelp is a company that provides distributed call center integration software and services for web and wireless technologies. WebHelp incorporated Velocity with their ETranscript component, so that events generated in a conference are rendered as MIME email and XML using Velocity templates.||[http://www.webhelp.com WebHelp]|| ||[http://www.goodwoodinteriors.com www.goodwoodinteriors.com]||Wood furniture factory site. The static content of this site is generated using Velocity templates, providing the benefit of simple deployment without the overhead of an online servlet container and database with the advantage of Velocity's ease of use for generating data driven content.||[http://www.jawasoft.com P.T.Jawasoft]|| ||[http://www.freebok.net/ www.freebok.net]||Freebok.net is a free guestbook service that uses Velocity templates for the site. More importantly the guestbook users have the option to create their own Velocity templates to render the layout of their guestbook.||[http://www.freebok.net/ Freebok.net]|| @@ -84, +80 @@ ||[http://www.studioz.tv/ www.studioz.tv]||StudioZ is an events space in San Francisco where artists of all types can promote their own events. We use Anakia with a custom style.vsl to generate the entire static website XML->HTML in a matter of seconds.||[http://www.whichever.com/ www.whichever.com]|| ||[http://www.cbc.ca/olympics/ www.cbc.ca/olympics/]||The Canadian Broadcasting Corporation's 2002 Winter Olympic website was developed using Velocity.||[http://www.cbc.ca/ Canadian Broadcasting Corporation]|| ||[http://www.impress.com/ www.IMPRESS.com]||Anakia-generated corporate site for Impress Software AG, producer of integration products and services.||[http://www.impress.com/ Impress Software AG]|| - ||[http://www.davinci-learn.com/ www.davinci-learn.com]||DaVinci provides innovative web-based solutions for testing, course material delivery, and learning content management.||[http://www.base2.cc/ Base2 Corporation]|| ||[http://www.bkfev.de/ www.bkfev.de]||Site of a German Birman Cats owners association. Static site generated with Velocity.||[http://www.bkfev.de/ Birmakatzenfreunden]|| - ||[http://www.emocorp.com/ http://www.emocorp.com/]||Site of EMO Corp - Electronic Money Orders allow businesses and individuals to pay a pal or send electronic checks instantly via email anywhere Worldwide.||[http://www.emocorp.com/ EMOCorp]|| ||[http://www.caribbean.nl/ http://www.caribbean.nl/]||Site of a Dutch travel organization specialized in the caribbean - Dynamic site based on the CrossmarX Application Engine. Most pages are generated with velocity.||[http://www.caribbean.nl/ caribbean.nl]|| ||[http://www.sardegne.com/ http://www.sardegne.com/]||Site of a Sardinia tour operator specialized in Sardinian Local Turistic Experience - Dynamic site based on Tomcat Application Engine. All pages are generated with velocity.||[http://www.sardegne.com/ Sardegne.com]|| ||[http://www.cidental.com/ http://www.cidental.com/]||Careington Dental Discount Plans. Online application based on Struts, Velocity and Castor JDO.||[http://www.cidental.com/ cidental.com]|| --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 17 09:23:39 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46892 invoked from network); 17 Apr 2006 09:23:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Apr 2006 09:23:38 -0000 Received: (qmail 75544 invoked by uid 500); 17 Apr 2006 09:23:38 -0000 Delivered-To: [email protected] Received: (qmail 75526 invoked by uid 500); 17 Apr 2006 09:23:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 75514 invoked by uid 99); 17 Apr 2006 09:23:37 -0000 Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Apr 2006 02:23:36 -0700 Date: Mon, 17 Apr 2006 02:10:38 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-test (in module jakarta-velocity) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 104 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-test : Template engine Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/gump_work/build_jakarta-velocity_jakarta-velocity-test.html Work Name: build_jakarta-velocity_jakarta-velocity-test (Type: Build) Work ended in a state of : Failed Elapsed: 9 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only test [Working Directory: /usr/local/gump/public/workspace/jakarta-velocity/build] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/test-classes:/usr/local/gump/public/workspace/jakarta-velocity/test/cpload/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/texen-classpath/test.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/multiloader/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-17042006.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-dep-17042006.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-servletapi/dist/lib/servlet.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/packages/werken-xpath/werken-xpath-0.9.4.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-17042006.jar:/usr/local/gump/public/workspace/jakarta-bcel/target/bcel-17042006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-17042006.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-17042006.jar:/usr/local/gump/public/workspace/excalibur/containerkit/logkit/target/excalibur-logkit-17042006.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-17042006.jar:/usr/local/gump/packages/antlr-2.7.6/antlr.jar --------------------------------------------- http-download: [get] Getting: http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/servletapi-2.3.jar [get] Not modified - so not downloaded werken-xpath-download: http-download: [get] Getting: http://www.ibiblio.org/maven/werken-xpath/jars/werken-xpath-0.9.4.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/werken-xpath-0.9.4.jar [get] Not modified - so not downloaded basic-prepare: check-jdbc: check-jdbc-true: check-jdbc-false: prepare-jdbc: check-jdk14: check-jdk14-true: check-jdk14-false: prepare-jdk14: prepare: compile-src: compile-test: [javac] Compiling 58 source files to /x1/gump/public/workspace/jakarta-velocity/bin/test-classes [javac] Note: /x1/gump/public/workspace/jakarta-velocity/bin/test-src/org/apache/velocity/test/VelocityServletTestCase.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. test: [mkdir] Created dir: /x1/gump/public/workspace/jakarta-velocity/bin/test-reports [junit] Running org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.041 sec BUILD FAILED /x1/gump/public/workspace/jakarta-velocity/build/build.xml:758: Test org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase failed Total time: 8 seconds --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 29000017042006, vmgump.apache.org:vmgump-public:29000017042006 Gump E-mail Identifier (unique within run) #50. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 17 10:47:03 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 75589 invoked from network); 17 Apr 2006 10:47:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Apr 2006 10:47:03 -0000 Received: (qmail 37106 invoked by uid 500); 17 Apr 2006 10:47:02 -0000 Delivered-To: [email protected] Received: (qmail 37092 invoked by uid 500); 17 Apr 2006 10:47:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 37081 invoked by uid 99); 17 Apr 2006 10:47:02 -0000 Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Apr 2006 03:47:01 -0700 Date: Mon, 17 Apr 2006 03:34:03 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-tools (in module jakarta-velocity-tools) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-tools has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 443 runs. The current state of this project is 'Failed', with reason 'Configuration Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-tools : Velocity-Tools project Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason configuration failed -ERROR- Bad Dependency. Project: struts-action unknown to *this* workspace -ERROR- Bad Dependency. Project: struts-taglib unknown to *this* workspace -ERROR- Bad Dependency. Project: struts-tiles unknown to *this* workspace -INFO- Failed to extract fallback artifacts from Gump Repository To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 29000017042006, vmgump.apache.org:vmgump-public:29000017042006 Gump E-mail Identifier (unique within run) #84. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 17 14:44:18 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95228 invoked from network); 17 Apr 2006 14:44:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Apr 2006 14:44:18 -0000 Received: (qmail 25504 invoked by uid 500); 17 Apr 2006 14:44:18 -0000 Delivered-To: [email protected] Received: (qmail 24919 invoked by uid 500); 17 Apr 2006 14:44:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 24897 invoked by uid 99); 17 Apr 2006 14:44:15 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Apr 2006 07:44:15 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Apr 2006 07:44:14 -0700 Received: from brutus (localhost.localdomain [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id BAE22410005 for <[email protected]>; Mon, 17 Apr 2006 14:43:17 +0000 (GMT) Message-ID: <19946481.1145284997756.JavaMail.jira@brutus> Date: Mon, 17 Apr 2006 14:43:17 +0000 (GMT+00:00) From: "Will Glass-Husain (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (VELOCITY-436) Remove "Exception" type throwing. In-Reply-To: <1232421665.1142862119062.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/VELOCITY-436?page=comments#action_12374760 ] Will Glass-Husain commented on VELOCITY-436: -------------------------------------------- Thanks for the note. Are there methods in particular that you were thinking of? A few examples would be helpful. > Remove "Exception" type throwing. > --------------------------------- > > Key: VELOCITY-436 > URL: http://issues.apache.org/jira/browse/VELOCITY-436 > Project: Velocity > Type: Improvement > Components: Source > Environment: NA > Reporter: Waldemar Baraldi > Priority: Trivial > > I have to use Checkstyle coding standards at my job. Some methos of Velocity throw exceptions using the raw "Exception" type. So Checkstyle points an error everywhere I use Velocity and, unfortunately, that's a fact I cannot override in my source code. So it would be nice if those "throws Exception" are replaced by some Velocity proper exception. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 17 14:46:19 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 96751 invoked from network); 17 Apr 2006 14:46:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Apr 2006 14:46:18 -0000 Received: (qmail 27699 invoked by uid 500); 17 Apr 2006 14:46:16 -0000 Delivered-To: [email protected] Received: (qmail 27680 invoked by uid 500); 17 Apr 2006 14:46:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 27669 invoked by uid 99); 17 Apr 2006 14:46:15 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Apr 2006 07:46:15 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Apr 2006 07:46:15 -0700 Received: from brutus (localhost.localdomain [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 1DE907142C7 for <[email protected]>; Mon, 17 Apr 2006 14:45:18 +0000 (GMT) Message-ID: <18832793.1145285118113.JavaMail.jira@brutus> Date: Mon, 17 Apr 2006 14:45:18 +0000 (GMT+00:00) From: "Will Glass-Husain (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (VELOCITY-437) Intercept output of objects In-Reply-To: <1124481348.1144741399922.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/VELOCITY-437?page=3Dall ] Will Glass-Husain updated VELOCITY-437: --------------------------------------- Fix Version: 1.6 Ok, targeting this for v1.6. Nathan's suggestions are good ones. > Intercept output of objects > --------------------------- > > Key: VELOCITY-437 > URL: http://issues.apache.org/jira/browse/VELOCITY-437 > Project: Velocity > Type: New Feature > Versions: 1.4 > Reporter: St=C3=A5le Undheim > Priority: Minor > Fix For: 1.6 > Attachments: valuewriter.patch > > Currently, all reference objects in a Velocity template file are put out = using the objects toString method, with no means to control this mechanism.= I propose to change this by having interceptors that can pick up variables= before they are run .toString on, and write them using their own means ins= tead. > If I figure out how to attach files to this after posting, I will add a p= atch with all the code necessary to implement this. --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 17 14:51:36 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3056 invoked from network); 17 Apr 2006 14:51:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Apr 2006 14:51:36 -0000 Received: (qmail 41281 invoked by uid 500); 17 Apr 2006 14:51:35 -0000 Delivered-To: [email protected] Received: (qmail 41258 invoked by uid 500); 17 Apr 2006 14:51:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 41247 invoked by uid 99); 17 Apr 2006 14:51:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Apr 2006 07:51:34 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO pproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Apr 2006 07:51:32 -0700 Received: by pproxy.gmail.com with SMTP id t32so620802pyc for <[email protected]>; Mon, 17 Apr 2006 07:51:11 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=eshOZ4d4jJl74Ge3tJc/VuGfPVP7REUgIPe0f3BZirFLsEWv/NcohXQIS1rv+8eR8PUx0hbz7+VElywwHvTrHjx2+PY3dJfbfo9rKH5xMDr2y5wOVZyhLs0KNBlPyJW14Hx29KQRDDrHI1OU5Yzhvfsznlis/1e6ZFxnSrKgldo= Received: by 161.129.204.104 with SMTP id m18mr1696288pyj; Mon, 17 Apr 2006 07:51:11 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 17 Apr 2006 07:51:11 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 17 Apr 2006 07:51:11 -0700 From: "Will Glass-Husain" <[email protected]> Sender: [email protected] To: "Velocity Developers List" <[email protected]> Subject: Re: 1.5 release ? Cc: [email protected] In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Arnaud, Thanks for the note. We have just a little to do before a release, but we've all been tied up this Spring, it seems. Been thinking about this over the last few days. Let me try to finish VELOCITY-403 (a documentation task) in the next two weeks, then I'll propose a vote to release 1.5-beta. I know there are a couple of frameworks out there waiting for such a release. There's some obscure bugs remaining, but the quantity of bug fixes and new features is much greater than the bugs that are left. (most of these have been present for multiple versions). WILL On 4/15/06, Arnaud HERITIER <[email protected]> wrote: > Daniel, > > Yes if it's possible. > I think that it is sufficient. > Actually we are using velocity 1.4 and we are satisfied about it. > > Arnaud > > PS : I didn't subscribe to your list. If you reply, can you add my > email in copy please? > > > On Fri, 14 Apr 2006, Arnaud HERITIER wrote: > > > > > Hi guys, > > > > > > Do you have an idea when you'll be able to release the version 1.5 = of > > > velocity ? > > > We particularly need it in maven to avoid log4j errors coming from > > > VELOCITY-193 > > > We would like to have it before to release maven 1.1. > > > > If 1.5 isn't immediately forthcoming, how about a 1.4.x release to > > satisfy the Maven folks? > > -- > > > > Daniel Rall > > -- Forio Business Simulations Will Glass-Husain [email protected] www.forio.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 17 19:43:20 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54315 invoked from network); 17 Apr 2006 19:43:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Apr 2006 19:43:20 -0000 Received: (qmail 21817 invoked by uid 500); 17 Apr 2006 19:43:19 -0000 Delivered-To: [email protected] Received: (qmail 21790 invoked by uid 500); 17 Apr 2006 19:43:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 21779 invoked by uid 99); 17 Apr 2006 19:43:19 -0000 Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Apr 2006 12:43:19 -0700 Date: Mon, 17 Apr 2006 12:30:19 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-tools (in module jakarta-velocity-tools) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-tools has an issue affecting its community integration. This issue affects 1 projects. The current state of this project is 'Failed', with reason 'Configuration Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-tools : Velocity-Tools project Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason configuration failed -ERROR- Bad Dependency. Project: struts-action unknown to *this* workspace -ERROR- Bad Dependency. Project: struts-taglib unknown to *this* workspace -ERROR- Bad Dependency. Project: struts-tiles unknown to *this* workspace -INFO- Failed to extract fallback artifacts from Gump Repository To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 17000817042006, vmgump.apache.org:vmgump-public:17000817042006 Gump E-mail Identifier (unique within run) #6. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 18 05:37:17 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81321 invoked from network); 18 Apr 2006 05:37:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Apr 2006 05:37:17 -0000 Received: (qmail 66134 invoked by uid 500); 18 Apr 2006 05:37:16 -0000 Delivered-To: [email protected] Received: (qmail 66114 invoked by uid 500); 18 Apr 2006 05:37:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 66103 invoked by uid 99); 18 Apr 2006 05:37:16 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Apr 2006 22:37:16 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Apr 2006 22:37:15 -0700 Received: from brutus (localhost.localdomain [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 827917142C2 for <[email protected]>; Tue, 18 Apr 2006 05:36:17 +0000 (GMT) Message-ID: <10247984.1145338577456.JavaMail.jira@brutus> Date: Tue, 18 Apr 2006 05:36:17 +0000 (GMT+00:00) From: "Stephen Haberman (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (VELOCITY-438) toString is called twice on references MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N toString is called twice on references -------------------------------------- Key: VELOCITY-438 URL: http://issues.apache.org/jira/browse/VELOCITY-438 Project: Velocity Type: Bug Versions: 1.5 Reporter: Stephen Haberman Attachments: call_tostring_only_once.txt ASTReference.java has some null check logic that does, summarized: if (value == null || value.toString() == null) { ... } else { ... output value.toString(); } Note value.toString() being called twice. For strings and other primitives, this may not be a big deal, but I'm happily using Click, which puts full-fledged components into the velocity context that you render with "$componentName". Very slick. But now calling toString() multiple times isn't all that cool, both from perf and logic standpoints. I've got a patch if I can figure out how to upload it. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 18 05:37:18 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81343 invoked from network); 18 Apr 2006 05:37:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Apr 2006 05:37:18 -0000 Received: (qmail 66531 invoked by uid 500); 18 Apr 2006 05:37:18 -0000 Delivered-To: [email protected] Received: (qmail 66331 invoked by uid 500); 18 Apr 2006 05:37:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 66320 invoked by uid 99); 18 Apr 2006 05:37:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Apr 2006 22:37:17 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Apr 2006 22:37:16 -0700 Received: from brutus (localhost.localdomain [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 5DE107142C5 for <[email protected]>; Tue, 18 Apr 2006 05:36:18 +0000 (GMT) Message-ID: <28022505.1145338578381.JavaMail.jira@brutus> Date: Tue, 18 Apr 2006 05:36:18 +0000 (GMT+00:00) From: "Stephen Haberman (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (VELOCITY-438) toString is called twice on references In-Reply-To: <10247984.1145338577456.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/VELOCITY-438?page=all ] Stephen Haberman updated VELOCITY-438: -------------------------------------- Attachment: call_tostring_only_once.txt Patch ASTReference to not call value.toString() multiple times. > toString is called twice on references > -------------------------------------- > > Key: VELOCITY-438 > URL: http://issues.apache.org/jira/browse/VELOCITY-438 > Project: Velocity > Type: Bug > Versions: 1.5 > Reporter: Stephen Haberman > Attachments: call_tostring_only_once.txt > > ASTReference.java has some null check logic that does, summarized: > if (value == null || value.toString() == null) { > ... > } else { > ... output value.toString(); > } > Note value.toString() being called twice. > For strings and other primitives, this may not be a big deal, but I'm happily using Click, which puts full-fledged components into the velocity context that you render with "$componentName". Very slick. But now calling toString() multiple times isn't all that cool, both from perf and logic standpoints. > I've got a patch if I can figure out how to upload it. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 18 07:42:18 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46822 invoked from network); 18 Apr 2006 07:42:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Apr 2006 07:42:18 -0000 Received: (qmail 84986 invoked by uid 500); 18 Apr 2006 07:42:18 -0000 Delivered-To: [email protected] Received: (qmail 84787 invoked by uid 500); 18 Apr 2006 07:42:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 84776 invoked by uid 99); 18 Apr 2006 07:42:16 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Apr 2006 00:42:16 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Apr 2006 00:42:16 -0700 Received: from brutus (localhost.localdomain [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id EC6C47142CA for <[email protected]>; Tue, 18 Apr 2006 07:41:17 +0000 (GMT) Message-ID: <18197657.1145346077911.JavaMail.jira@brutus> Date: Tue, 18 Apr 2006 07:41:17 +0000 (GMT+00:00) From: =?utf-8?Q?St=C3=A5le_Undheim_=28JIRA=29?= <[email protected]> To: [email protected] Subject: [jira] Commented: (VELOCITY-437) Intercept output of objects In-Reply-To: <1124481348.1144741399922.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/VELOCITY-437?page=3Dcomments#act= ion_12374871 ]=20 St=C3=A5le Undheim commented on VELOCITY-437: ---------------------------------------- The naming bit: Nothing final about it. But I feel its better to have actual code to discus= s rather than just theory. And sorry about the messy patch, I just did a di= ff and output it to a file without actually reading it. And its the first t= ime I have made a patch. I am also not certain about the output of escape and more strings that happ= ens in render, so someone a bit more knowledgable needs to look into that. = I also could not figure out the jjt code for where to alter to affext the A= STReference, but I am sure others will be able to. For usage, we intended to use it in a project where we have a tree of objec= ts, each object has its own associated template. Currently we will have to = use toString on every level, and no context information can be inherited. W= ith this we could better control how objects where written to the Writer, r= euse the same writer instead of creating alot of strings, and inherit the C= ontext. And another argument is that is always nice to be able to plug in t= o core mechanics of a framework to make it more flexible in use, as long as= this is not hackish. Some other suggestions some work colleagues suggested was to have some core= -interceptors for for example String and NULL, so this system is used for e= verything (and it is now possible to override null and String).=20 Another core feature would be to add a Renderable interface with just the m= ethod render(Writer, Context), and an interceptor that just called the rend= er method. This way you could use this without having to alter the default = configuration. I am not sure if I like the List<Class> supports() though, as it won't be p= ossible to pick up on interfaces and subclasses correctly then. It could be= changed to isClassSupported(Class) rather than isObjectSupported(Object), = so you would dissalow reading of instance properties to determine if an Obj= ect can be rendered.=20 > Intercept output of objects > --------------------------- > > Key: VELOCITY-437 > URL: http://issues.apache.org/jira/browse/VELOCITY-437 > Project: Velocity > Type: New Feature > Versions: 1.4 > Reporter: St=C3=A5le Undheim > Priority: Minor > Fix For: 1.6 > Attachments: valuewriter.patch > > Currently, all reference objects in a Velocity template file are put out = using the objects toString method, with no means to control this mechanism.= I propose to change this by having interceptors that can pick up variables= before they are run .toString on, and write them using their own means ins= tead. > If I figure out how to attach files to this after posting, I will add a p= atch with all the code necessary to implement this. --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 18 08:46:25 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80176 invoked from network); 18 Apr 2006 08:46:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Apr 2006 08:46:22 -0000 Received: (qmail 68883 invoked by uid 500); 18 Apr 2006 08:46:18 -0000 Delivered-To: [email protected] Received: (qmail 68861 invoked by uid 500); 18 Apr 2006 08:46:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 68850 invoked by uid 99); 18 Apr 2006 08:46:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Apr 2006 01:46:17 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Apr 2006 01:46:16 -0700 Received: from brutus (localhost.localdomain [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 34FF37142CA for <[email protected]>; Tue, 18 Apr 2006 08:45:18 +0000 (GMT) Message-ID: <15474784.1145349918046.JavaMail.jira@brutus> Date: Tue, 18 Apr 2006 08:45:18 +0000 (GMT+00:00) From: =?utf-8?Q?St=C3=A5le_Undheim_=28JIRA=29?= <[email protected]> To: [email protected] Subject: [jira] Commented: (VELOCITY-437) Intercept output of objects In-Reply-To: <1124481348.1144741399922.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/VELOCITY-437?page=3Dcomments#act= ion_12374880 ]=20 St=C3=A5le Undheim commented on VELOCITY-437: ---------------------------------------- > Modifying ASTReference directly is the way to go -- we ignore all Node fi= les generated by jjtree. I thought you where beeing [email protected]. So why does the comments say= you should modify the jjt files and not the class files themselves? > Intercept output of objects > --------------------------- > > Key: VELOCITY-437 > URL: http://issues.apache.org/jira/browse/VELOCITY-437 > Project: Velocity > Type: New Feature > Versions: 1.4 > Reporter: St=C3=A5le Undheim > Priority: Minor > Fix For: 1.6 > Attachments: valuewriter.patch > > Currently, all reference objects in a Velocity template file are put out = using the objects toString method, with no means to control this mechanism.= I propose to change this by having interceptors that can pick up variables= before they are run .toString on, and write them using their own means ins= tead. > If I figure out how to attach files to this after posting, I will add a p= atch with all the code necessary to implement this. --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 18 09:25:09 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97723 invoked from network); 18 Apr 2006 09:25:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Apr 2006 09:25:09 -0000 Received: (qmail 21216 invoked by uid 500); 18 Apr 2006 09:25:08 -0000 Delivered-To: [email protected] Received: (qmail 21204 invoked by uid 500); 18 Apr 2006 09:25:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 21192 invoked by uid 99); 18 Apr 2006 09:25:07 -0000 Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Apr 2006 02:25:07 -0700 Date: Tue, 18 Apr 2006 02:12:06 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-test (in module jakarta-velocity) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 107 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-test : Template engine Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/gump_work/build_jakarta-velocity_jakarta-velocity-test.html Work Name: build_jakarta-velocity_jakarta-velocity-test (Type: Build) Work ended in a state of : Failed Elapsed: 8 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only test [Working Directory: /usr/local/gump/public/workspace/jakarta-velocity/build] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/test-classes:/usr/local/gump/public/workspace/jakarta-velocity/test/cpload/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/texen-classpath/test.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/multiloader/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-18042006.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-dep-18042006.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-servletapi/dist/lib/servlet.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/packages/werken-xpath/werken-xpath-0.9.4.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-18042006.jar:/usr/local/gump/public/workspace/jakarta-bcel/target/bcel-18042006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-18042006.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-18042006.jar:/usr/local/gump/public/workspace/excalibur/containerkit/logkit/target/excalibur-logkit-18042006.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-18042006.jar:/usr/local/gump/packages/antlr-2.7.6/antlr.jar --------------------------------------------- http-download: [get] Getting: http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/servletapi-2.3.jar [get] Not modified - so not downloaded werken-xpath-download: http-download: [get] Getting: http://www.ibiblio.org/maven/werken-xpath/jars/werken-xpath-0.9.4.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/werken-xpath-0.9.4.jar [get] Not modified - so not downloaded basic-prepare: check-jdbc: check-jdbc-true: check-jdbc-false: prepare-jdbc: check-jdk14: check-jdk14-true: check-jdk14-false: prepare-jdk14: prepare: compile-src: compile-test: [javac] Compiling 58 source files to /x1/gump/public/workspace/jakarta-velocity/bin/test-classes [javac] Note: /x1/gump/public/workspace/jakarta-velocity/bin/test-src/org/apache/velocity/test/VelocityServletTestCase.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. test: [mkdir] Created dir: /x1/gump/public/workspace/jakarta-velocity/bin/test-reports [junit] Running org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.035 sec BUILD FAILED /x1/gump/public/workspace/jakarta-velocity/build/build.xml:758: Test org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase failed Total time: 8 seconds --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 27000018042006, vmgump.apache.org:vmgump-public:27000018042006 Gump E-mail Identifier (unique within run) #51. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 18 10:14:08 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 24946 invoked from network); 18 Apr 2006 10:14:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Apr 2006 10:14:07 -0000 Received: (qmail 99250 invoked by uid 500); 18 Apr 2006 10:14:07 -0000 Delivered-To: [email protected] Received: (qmail 99225 invoked by uid 500); 18 Apr 2006 10:14:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 99214 invoked by uid 500); 18 Apr 2006 10:14:06 -0000 Received: (qmail 99211 invoked by uid 99); 18 Apr 2006 10:14:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Apr 2006 03:14:06 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Apr 2006 03:14:05 -0700 Received: from ajax.apache.org (localhost.localdomain [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id BAA966ACA9 for <[email protected]>; Tue, 18 Apr 2006 11:13:44 +0100 (BST) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <[email protected]> To: [email protected] Date: Tue, 18 Apr 2006 10:13:44 -0000 Message-ID: <[email protected]> Subject: [Jakarta-velocity Wiki] Update of "SilentParseInclude" by ChristopherTownson X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear Wiki user, You have subscribed to a wiki page or wiki category on "Jakarta-velocity Wiki" for change notification. The following page has been changed by ChristopherTownson: http://wiki.apache.org/jakarta-velocity/SilentParseInclude ------------------------------------------------------------------------------ return Velocity.resourceExists(template); } - return this.engine.resourceExists(template); + return this.engine.templateExists(template); } } @@ -53, +53 @@ {{{ <tool> <key>ftest</key> - <scope>application</scope> + <scope>request</scope> <class>org.apache.velocity.tools.generic.TemplateExistsTool</class> </tool> }}} --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 18 10:48:26 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45377 invoked from network); 18 Apr 2006 10:48:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Apr 2006 10:48:05 -0000 Received: (qmail 49808 invoked by uid 500); 18 Apr 2006 10:47:21 -0000 Delivered-To: [email protected] Received: (qmail 49608 invoked by uid 500); 18 Apr 2006 10:47:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 49597 invoked by uid 99); 18 Apr 2006 10:47:19 -0000 Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Apr 2006 03:47:19 -0700 Date: Tue, 18 Apr 2006 03:34:17 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-tools (in module jakarta-velocity-tools) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-tools has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 3 runs. The current state of this project is 'Failed', with reason 'Configuration Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-tools : Velocity-Tools project Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason configuration failed -ERROR- Bad Dependency. Project: struts-action unknown to *this* workspace -ERROR- Bad Dependency. Project: struts-taglib unknown to *this* workspace -ERROR- Bad Dependency. Project: struts-tiles unknown to *this* workspace -INFO- Failed to extract fallback artifacts from Gump Repository To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 27000018042006, vmgump.apache.org:vmgump-public:27000018042006 Gump E-mail Identifier (unique within run) #84. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 18 12:53:35 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13207 invoked from network); 18 Apr 2006 12:53:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Apr 2006 12:53:33 -0000 Received: (qmail 39098 invoked by uid 500); 18 Apr 2006 12:53:22 -0000 Delivered-To: [email protected] Received: (qmail 39078 invoked by uid 500); 18 Apr 2006 12:53:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 39067 invoked by uid 99); 18 Apr 2006 12:53:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Apr 2006 05:53:22 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Apr 2006 05:53:21 -0700 Received: by wproxy.gmail.com with SMTP id 67so850902wri for <[email protected]>; Tue, 18 Apr 2006 05:53:01 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=cGNzr1mq/X3nwGbm5NgX3ocjmm8UHa70lp7dy+rp7GHhH+rGzOBGoauvUKuCoza/3go/r1Q3nDbtg/gKM1lQemuPWZnTC4L38JbGM6Faow3Zi76yksWbRT6aeyA/ONZ1+9RGF7NJTqmD0fdeI/JcWd6KhbCj69OF3VD94p3FQBo= Received: by 161.129.204.104 with SMTP id l20mr174272qbr; Tue, 18 Apr 2006 05:53:00 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 18 Apr 2006 05:53:00 -0700 (PDT) Message-ID: <[email protected]> Date: Tue, 18 Apr 2006 22:53:00 +1000 From: "Malcolm Edgar" <[email protected]> To: "Velocity Developers List" <[email protected]> Subject: VELOCITY-438 patch MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi All, Stephen Haberman submitted the patch: http://issues.apache.org/jira/browse/VELOCITY-438 Which optimises rendering of objects, i.e. toString() is only called once when rendering an object. This is very useful for Click which can create very large strings when rendering HTML Table and Form controls. I would really like to see this patch included in the 1.5-dev stream. regards Malcolm Edgar --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 18 13:39:16 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37817 invoked from network); 18 Apr 2006 13:39:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Apr 2006 13:39:08 -0000 Received: (qmail 34312 invoked by uid 500); 18 Apr 2006 13:38:50 -0000 Delivered-To: [email protected] Received: (qmail 34259 invoked by uid 500); 18 Apr 2006 13:38:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 34224 invoked by uid 99); 18 Apr 2006 13:38:50 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Apr 2006 06:38:50 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Apr 2006 06:38:48 -0700 Received: from brutus (localhost.localdomain [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id D20C87142D5 for <[email protected]>; Tue, 18 Apr 2006 13:37:49 +0000 (GMT) Message-ID: <9878575.1145367469856.JavaMail.jira@brutus> Date: Tue, 18 Apr 2006 13:37:49 +0000 (GMT+00:00) From: "Will Glass-Husain (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (VELOCITY-438) toString is called twice on references In-Reply-To: <10247984.1145338577456.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/VELOCITY-438?page=all ] Will Glass-Husain updated VELOCITY-438: --------------------------------------- Fix Version: 1.5 Thanks for the catch! I'll go ahead and commit this. Appreciate the unit test. Just as a quick side note, when submitting patches please remember to follow the Velocity coding convention for braces. I'll fix this when I commit. > toString is called twice on references > -------------------------------------- > > Key: VELOCITY-438 > URL: http://issues.apache.org/jira/browse/VELOCITY-438 > Project: Velocity > Type: Bug > Versions: 1.5 > Reporter: Stephen Haberman > Fix For: 1.5 > Attachments: call_tostring_only_once.txt > > ASTReference.java has some null check logic that does, summarized: > if (value == null || value.toString() == null) { > ... > } else { > ... output value.toString(); > } > Note value.toString() being called twice. > For strings and other primitives, this may not be a big deal, but I'm happily using Click, which puts full-fledged components into the velocity context that you render with "$componentName". Very slick. But now calling toString() multiple times isn't all that cool, both from perf and logic standpoints. > I've got a patch if I can figure out how to upload it. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 18 15:38:21 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21935 invoked from network); 18 Apr 2006 15:38:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Apr 2006 15:38:21 -0000 Received: (qmail 79204 invoked by uid 500); 18 Apr 2006 15:38:20 -0000 Delivered-To: [email protected] Received: (qmail 79189 invoked by uid 500); 18 Apr 2006 15:38:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 79178 invoked by uid 99); 18 Apr 2006 15:38:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Apr 2006 08:38:19 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Apr 2006 08:38:19 -0700 Received: from brutus (localhost.localdomain [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 7BA887142CE for <[email protected]>; Tue, 18 Apr 2006 15:37:20 +0000 (GMT) Message-ID: <22131498.1145374640400.JavaMail.jira@brutus> Date: Tue, 18 Apr 2006 15:37:20 +0000 (GMT+00:00) From: "Will Glass-Husain (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (VELOCITY-437) Intercept output of objects In-Reply-To: <1124481348.1144741399922.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/VELOCITY-437?page=3Dcomments#act= ion_12374956 ]=20 Will Glass-Husain commented on VELOCITY-437: -------------------------------------------- No - not intentionally sarcastic at all! Where are the confusing comments?= We should probably fix them. The original Node files were generated by JJTRee, but then they've been cus= tomized and moved into a different package. JJTree continues to create the= se Nodes but the newly created ones are redundant and need to be deleted. Did you read: src\java\org\apache\velocity\runtime\parser\BUILD_README.txt There's also an ant task that handles this automatically. (ant parser). WILL > Intercept output of objects > --------------------------- > > Key: VELOCITY-437 > URL: http://issues.apache.org/jira/browse/VELOCITY-437 > Project: Velocity > Type: New Feature > Versions: 1.4 > Reporter: St=C3=A5le Undheim > Priority: Minor > Fix For: 1.6 > Attachments: valuewriter.patch > > Currently, all reference objects in a Velocity template file are put out = using the objects toString method, with no means to control this mechanism.= I propose to change this by having interceptors that can pick up variables= before they are run .toString on, and write them using their own means ins= tead. > If I figure out how to attach files to this after posting, I will add a p= atch with all the code necessary to implement this. --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 18 15:42:34 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 24246 invoked from network); 18 Apr 2006 15:42:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Apr 2006 15:42:23 -0000 Received: (qmail 89780 invoked by uid 500); 18 Apr 2006 15:42:18 -0000 Delivered-To: [email protected] Received: (qmail 89764 invoked by uid 500); 18 Apr 2006 15:42:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 89753 invoked by uid 99); 18 Apr 2006 15:42:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Apr 2006 08:42:18 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Apr 2006 08:42:17 -0700 Received: from brutus (localhost.localdomain [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id DFD6B7142D1 for <[email protected]>; Tue, 18 Apr 2006 15:41:18 +0000 (GMT) Message-ID: <25440523.1145374878855.JavaMail.jira@brutus> Date: Tue, 18 Apr 2006 15:41:18 +0000 (GMT+00:00) From: "Nathan Bubna (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (VELOCITY-437) Intercept output of objects In-Reply-To: <1124481348.1144741399922.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/VELOCITY-437?page=3Dcomments#act= ion_12374957 ]=20 Nathan Bubna commented on VELOCITY-437: --------------------------------------- Yeah, it definitely helped to have code to see how you were doing things, w= hether the patch is ugly or not. I too agree it would be cool to have some "core interceptors" for things li= ke NULL and String. I think there will be many more uses for this that oth= ers will think of. The Renderable interface idea is a good one too. It would be lower priori= ty for me, but it sounds like it might be useful for your particular use ca= se. More functionality with less configuration is good. :) Regarding the List<Class> supports() method. Yeah, i think you're right; w= e would still need an isSupported() method to pick up on subclasses at runt= ime. I didn't fully think that through. We should still save those in a M= ap as we match them in order to speed interceptor lookup for later referenc= es. I instinctually like the idea of limiting matching to isSupported(Class) ra= ther than the particular instance, but i can't articulate why that seems be= tter or why allowing isSupported(Object) would be bad. we'll have to think= about that. > Intercept output of objects > --------------------------- > > Key: VELOCITY-437 > URL: http://issues.apache.org/jira/browse/VELOCITY-437 > Project: Velocity > Type: New Feature > Versions: 1.4 > Reporter: St=C3=A5le Undheim > Priority: Minor > Fix For: 1.6 > Attachments: valuewriter.patch > > Currently, all reference objects in a Velocity template file are put out = using the objects toString method, with no means to control this mechanism.= I propose to change this by having interceptors that can pick up variables= before they are run .toString on, and write them using their own means ins= tead. > If I figure out how to attach files to this after posting, I will add a p= atch with all the code necessary to implement this. --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 18 21:01:01 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5369 invoked from network); 18 Apr 2006 21:01:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Apr 2006 21:01:00 -0000 Received: (qmail 53915 invoked by uid 500); 18 Apr 2006 21:00:58 -0000 Delivered-To: [email protected] Received: (qmail 53871 invoked by uid 500); 18 Apr 2006 21:00:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 53840 invoked by uid 99); 18 Apr 2006 21:00:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Apr 2006 14:00:57 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Apr 2006 14:00:56 -0700 Received: by wproxy.gmail.com with SMTP id i14so26752wra for <[email protected]>; Tue, 18 Apr 2006 14:00:35 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=sVAaOaOI+GeCCoT5PMUrlFx7KS0WZG1YThvRtztIEZl/PgW/vEU8OEl0N6mFKZzCefwQiE95OpEFX7ve/WddOcbHC3oo7bYqnmmXv4gn7pojBAHxb6KbMHpc+cbwp9To8+tkTYj+ZwUHX3gDnDW8Urp+U6kH5+IeecKPloEfSfw= Received: by 161.129.204.104 with SMTP id m15mr719722qbn; Tue, 18 Apr 2006 14:00:28 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 18 Apr 2006 14:00:28 -0700 (PDT) Message-ID: <[email protected]> Date: Tue, 18 Apr 2006 23:00:28 +0200 From: "Arnaud HERITIER" <[email protected]> To: "Will Glass-Husain" <[email protected]> Subject: Re: 1.5 release ? Cc: "Velocity Developers List" <[email protected]>, "Maven Developers List" <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_25382_17424159.1145394028469" References: <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_25382_17424159.1145394028469 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Will, And what about a bug fix release for velocity 1.4 as Daniel suggested? I'm not sure that we'll be ready before your 1.5 final release (If possible I prefer to not use a beta), but if it were the case we were happy to be able to fix our problem. Cheers Arnaud On 4/17/06, Will Glass-Husain <[email protected]> wrote: > > Hi Arnaud, > > Thanks for the note. We have just a little to do before a release, > but we've all been tied up this Spring, it seems. > > Been thinking about this over the last few days. Let me try to finish > VELOCITY-403 (a documentation task) in the next two weeks, then I'll > propose a vote to release 1.5-beta. I know there are a couple of > frameworks out there waiting for such a release. > > There's some obscure bugs remaining, but the quantity of bug fixes and > new features is much greater than the bugs that are left. (most of > these have been present for multiple versions). > > WILL > > On 4/15/06, Arnaud HERITIER <[email protected]> wrote: > > Daniel, > > > > Yes if it's possible. > > I think that it is sufficient. > > Actually we are using velocity 1.4 and we are satisfied about it. > > > > Arnaud > > > > PS : I didn't subscribe to your list. If you reply, can you add my > > email in copy please? > > > > > On Fri, 14 Apr 2006, Arnaud HERITIER wrote: > > > > > > > Hi guys, > > > > > > > > Do you have an idea when you'll be able to release the version 1.= 5of > > > > velocity ? > > > > We particularly need it in maven to avoid log4j errors coming fro= m > > > > VELOCITY-193 > > > > We would like to have it before to release maven 1.1. > > > > > > If 1.5 isn't immediately forthcoming, how about a 1.4.x release to > > > satisfy the Maven folks? > > > -- > > > > > > Daniel Rall > > > > > > > -- > Forio Business Simulations > > Will Glass-Husain > [email protected] > www.forio.com > ------=_Part_25382_17424159.1145394028469-- From [email protected] Wed Apr 19 09:23:33 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 43219 invoked from network); 19 Apr 2006 09:23:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Apr 2006 09:23:32 -0000 Received: (qmail 95762 invoked by uid 500); 19 Apr 2006 09:23:31 -0000 Delivered-To: [email protected] Received: (qmail 95741 invoked by uid 500); 19 Apr 2006 09:23:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 95730 invoked by uid 99); 19 Apr 2006 09:23:31 -0000 Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Apr 2006 02:23:31 -0700 Date: Wed, 19 Apr 2006 02:10:25 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-test (in module jakarta-velocity) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 110 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-test : Template engine Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/gump_work/build_jakarta-velocity_jakarta-velocity-test.html Work Name: build_jakarta-velocity_jakarta-velocity-test (Type: Build) Work ended in a state of : Failed Elapsed: 7 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only test [Working Directory: /usr/local/gump/public/workspace/jakarta-velocity/build] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/test-classes:/usr/local/gump/public/workspace/jakarta-velocity/test/cpload/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/texen-classpath/test.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/multiloader/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-19042006.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-dep-19042006.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-servletapi/dist/lib/servlet.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/packages/werken-xpath/werken-xpath-0.9.4.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-19042006.jar:/usr/local/gump/public/workspace/jakarta-bcel/target/bcel-19042006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-19042006.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-19042006.jar:/usr/local/gump/public/workspace/excalibur/containerkit/logkit/target/excalibur-logkit-19042006.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-19042006.jar:/usr/local/gump/packages/antlr-2.7.6/antlr.jar --------------------------------------------- http-download: [get] Getting: http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/servletapi-2.3.jar [get] Not modified - so not downloaded werken-xpath-download: http-download: [get] Getting: http://www.ibiblio.org/maven/werken-xpath/jars/werken-xpath-0.9.4.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/werken-xpath-0.9.4.jar [get] Not modified - so not downloaded basic-prepare: check-jdbc: check-jdbc-true: check-jdbc-false: prepare-jdbc: check-jdk14: check-jdk14-true: check-jdk14-false: prepare-jdk14: prepare: compile-src: compile-test: [javac] Compiling 58 source files to /x1/gump/public/workspace/jakarta-velocity/bin/test-classes [javac] Note: /x1/gump/public/workspace/jakarta-velocity/bin/test-src/org/apache/velocity/test/VelocityServletTestCase.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. test: [mkdir] Created dir: /x1/gump/public/workspace/jakarta-velocity/bin/test-reports [junit] Running org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.036 sec BUILD FAILED /x1/gump/public/workspace/jakarta-velocity/build/build.xml:758: Test org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase failed Total time: 6 seconds --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 27000019042006, vmgump.apache.org:vmgump-public:27000019042006 Gump E-mail Identifier (unique within run) #51. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Apr 19 10:45:59 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 96573 invoked from network); 19 Apr 2006 10:45:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Apr 2006 10:45:40 -0000 Received: (qmail 34175 invoked by uid 500); 19 Apr 2006 10:45:29 -0000 Delivered-To: [email protected] Received: (qmail 34163 invoked by uid 500); 19 Apr 2006 10:45:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 34125 invoked by uid 99); 19 Apr 2006 10:45:29 -0000 Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Apr 2006 03:45:29 -0700 Date: Wed, 19 Apr 2006 03:32:23 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-tools (in module jakarta-velocity-tools) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-tools has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 6 runs. The current state of this project is 'Failed', with reason 'Configuration Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-tools : Velocity-Tools project Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason configuration failed -ERROR- Bad Dependency. Project: struts-action unknown to *this* workspace -ERROR- Bad Dependency. Project: struts-taglib unknown to *this* workspace -ERROR- Bad Dependency. Project: struts-tiles unknown to *this* workspace -INFO- Failed to extract fallback artifacts from Gump Repository To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 27000019042006, vmgump.apache.org:vmgump-public:27000019042006 Gump E-mail Identifier (unique within run) #84. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 20 09:18:59 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52481 invoked from network); 20 Apr 2006 09:18:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Apr 2006 09:18:58 -0000 Received: (qmail 52582 invoked by uid 500); 20 Apr 2006 09:18:57 -0000 Delivered-To: [email protected] Received: (qmail 52562 invoked by uid 500); 20 Apr 2006 09:18:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 52551 invoked by uid 99); 20 Apr 2006 09:18:56 -0000 Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Apr 2006 02:18:56 -0700 Date: Thu, 20 Apr 2006 02:05:47 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-test (in module jakarta-velocity) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 113 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-test : Template engine Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/gump_work/build_jakarta-velocity_jakarta-velocity-test.html Work Name: build_jakarta-velocity_jakarta-velocity-test (Type: Build) Work ended in a state of : Failed Elapsed: 9 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only test [Working Directory: /usr/local/gump/public/workspace/jakarta-velocity/build] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/test-classes:/usr/local/gump/public/workspace/jakarta-velocity/test/cpload/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/texen-classpath/test.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/multiloader/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-20042006.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-dep-20042006.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-servletapi/dist/lib/servlet.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/packages/werken-xpath/werken-xpath-0.9.4.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-20042006.jar:/usr/local/gump/public/workspace/jakarta-bcel/target/bcel-20042006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-20042006.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-20042006.jar:/usr/local/gump/public/workspace/excalibur/containerkit/logkit/target/excalibur-logkit-20042006.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-20042006.jar:/usr/local/gump/packages/antlr-2.7.6/antlr.jar --------------------------------------------- [get] Getting: http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/servletapi-2.3.jar [get] Not modified - so not downloaded werken-xpath-download: http-download: [get] Getting: http://www.ibiblio.org/maven/werken-xpath/jars/werken-xpath-0.9.4.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/werken-xpath-0.9.4.jar [get] Not modified - so not downloaded basic-prepare: check-jdbc: check-jdbc-true: check-jdbc-false: prepare-jdbc: check-jdk14: check-jdk14-true: check-jdk14-false: prepare-jdk14: prepare: compile-src: compile-test: [javac] Compiling 58 source files to /x1/gump/public/workspace/jakarta-velocity/bin/test-classes [javac] GetCompiler: compilerType is javac1.5 [javac] Note: /x1/gump/public/workspace/jakarta-velocity/bin/test-src/org/apache/velocity/test/VelocityServletTestCase.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. test: [mkdir] Created dir: /x1/gump/public/workspace/jakarta-velocity/bin/test-reports [junit] Running org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.038 sec BUILD FAILED /x1/gump/public/workspace/jakarta-velocity/build/build.xml:758: Test org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase failed Total time: 8 seconds --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 25000020042006, vmgump.apache.org:vmgump-public:25000020042006 Gump E-mail Identifier (unique within run) #51. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 20 10:41:45 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4209 invoked from network); 20 Apr 2006 10:41:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Apr 2006 10:41:45 -0000 Received: (qmail 68699 invoked by uid 500); 20 Apr 2006 10:41:34 -0000 Delivered-To: [email protected] Received: (qmail 68562 invoked by uid 500); 20 Apr 2006 10:41:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 68501 invoked by uid 99); 20 Apr 2006 10:41:33 -0000 Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Apr 2006 03:41:33 -0700 Date: Thu, 20 Apr 2006 03:28:23 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-tools (in module jakarta-velocity-tools) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-tools has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 9 runs. The current state of this project is 'Failed', with reason 'Configuration Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-tools : Velocity-Tools project Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason configuration failed -ERROR- Bad Dependency. Project: struts-action unknown to *this* workspace -ERROR- Bad Dependency. Project: struts-taglib unknown to *this* workspace -ERROR- Bad Dependency. Project: struts-tiles unknown to *this* workspace -INFO- Failed to extract fallback artifacts from Gump Repository To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 25000020042006, vmgump.apache.org:vmgump-public:25000020042006 Gump E-mail Identifier (unique within run) #84. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 21 09:18:01 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61243 invoked from network); 21 Apr 2006 09:18:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Apr 2006 09:18:01 -0000 Received: (qmail 11979 invoked by uid 500); 21 Apr 2006 09:18:00 -0000 Delivered-To: [email protected] Received: (qmail 11937 invoked by uid 500); 21 Apr 2006 09:18:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 11926 invoked by uid 99); 21 Apr 2006 09:17:59 -0000 Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Apr 2006 02:17:59 -0700 Date: Fri, 21 Apr 2006 02:04:46 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-test (in module jakarta-velocity) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 116 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-test : Template engine Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/gump_work/build_jakarta-velocity_jakarta-velocity-test.html Work Name: build_jakarta-velocity_jakarta-velocity-test (Type: Build) Work ended in a state of : Failed Elapsed: 8 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only test [Working Directory: /usr/local/gump/public/workspace/jakarta-velocity/build] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/test-classes:/usr/local/gump/public/workspace/jakarta-velocity/test/cpload/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/texen-classpath/test.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/multiloader/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-21042006.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-dep-21042006.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-servletapi/dist/lib/servlet.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/packages/werken-xpath/werken-xpath-0.9.4.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-21042006.jar:/usr/local/gump/public/workspace/jakarta-bcel/target/bcel-21042006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-21042006.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-21042006.jar:/usr/local/gump/public/workspace/excalibur/containerkit/logkit/target/excalibur-logkit-21042006.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-21042006.jar:/usr/local/gump/packages/antlr-2.7.6/antlr.jar --------------------------------------------- http-download: [get] Getting: http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/servletapi-2.3.jar [get] Not modified - so not downloaded werken-xpath-download: http-download: [get] Getting: http://www.ibiblio.org/maven/werken-xpath/jars/werken-xpath-0.9.4.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/werken-xpath-0.9.4.jar [get] Not modified - so not downloaded basic-prepare: check-jdbc: check-jdbc-true: check-jdbc-false: prepare-jdbc: check-jdk14: check-jdk14-true: check-jdk14-false: prepare-jdk14: prepare: compile-src: compile-test: [javac] Compiling 58 source files to /x1/gump/public/workspace/jakarta-velocity/bin/test-classes [javac] Note: /x1/gump/public/workspace/jakarta-velocity/bin/test-src/org/apache/velocity/test/VelocityServletTestCase.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. test: [mkdir] Created dir: /x1/gump/public/workspace/jakarta-velocity/bin/test-reports [junit] Running org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.036 sec BUILD FAILED /x1/gump/public/workspace/jakarta-velocity/build/build.xml:758: Test org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase failed Total time: 7 seconds --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 27000021042006, vmgump.apache.org:vmgump-public:27000021042006 Gump E-mail Identifier (unique within run) #51. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 21 10:38:44 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8464 invoked from network); 21 Apr 2006 10:38:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Apr 2006 10:38:43 -0000 Received: (qmail 43396 invoked by uid 500); 21 Apr 2006 10:38:42 -0000 Delivered-To: [email protected] Received: (qmail 43381 invoked by uid 500); 21 Apr 2006 10:38:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 43370 invoked by uid 99); 21 Apr 2006 10:38:41 -0000 Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Apr 2006 03:38:41 -0700 Date: Fri, 21 Apr 2006 03:25:28 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-tools (in module jakarta-velocity-tools) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-tools has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 12 runs. The current state of this project is 'Failed', with reason 'Configuration Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-tools : Velocity-Tools project Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason configuration failed -ERROR- Bad Dependency. Project: struts-action unknown to *this* workspace -ERROR- Bad Dependency. Project: struts-taglib unknown to *this* workspace -ERROR- Bad Dependency. Project: struts-tiles unknown to *this* workspace -INFO- Failed to extract fallback artifacts from Gump Repository To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 27000021042006, vmgump.apache.org:vmgump-public:27000021042006 Gump E-mail Identifier (unique within run) #84. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 21 14:15:53 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 24794 invoked from network); 21 Apr 2006 14:15:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Apr 2006 14:15:50 -0000 Received: (qmail 33422 invoked by uid 500); 21 Apr 2006 14:15:41 -0000 Delivered-To: [email protected] Received: (qmail 33402 invoked by uid 500); 21 Apr 2006 14:15:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 33390 invoked by uid 99); 21 Apr 2006 14:15:40 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Apr 2006 07:15:40 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO evs.care-t.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Apr 2006 07:15:40 -0700 Received: from tulio.care-t.com ([161.129.204.104]) by evs.care-t.net with Microsoft SMTPSVC(5.0.2195.6713); Fri, 21 Apr 2006 16:10:48 +0200 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C6654D.97A6BF14" Subject: Help with macros X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Date: Fri, 21 Apr 2006 16:12:15 +0200 Message-ID: <04CA78F46133FF4B8787A9553E740CC201041962@tulio> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Help with macros Thread-Index: AcZlOYGr8SnD/XuiTiCWLa9/3TBZ4QAFAl2g From: =?iso-8859-1?Q?Marta_Gasc=F3_Julio?= <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 21 Apr 2006 14:10:48.0906 (UTC) FILETIME=[63DEA2A0:01C6654D] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C6654D.97A6BF14 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable =20 Acording to=20 =20 http://jakarta.apache.org/velocity/docs/user-guide.html = <BLOCKacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bBLOCKacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bhttp://jakarta.apache.org/velocity/docs/user-guide.htm= l>=20 =20 It is said about velocimacros:=20 Currently, Velocimacros must be defined before they are first used in a = template. This means that your #macro() declarations should come before = using the Velocimacros.=20 This is important to remember if you try to #parse() a template = containing inline #macro() directives. Because the #parse() happens at = runtime, and the parser decides if a VM-looking element in the template = is a VM at parsetime, #parse()-ing a set of VM declarations won't work = as expected. To get around this, simply use the velocimacro.library = facility to have Velocity load your [email protected].=20 I'm trying to use a macro defined in one template in other template. I'm = doing something similar to the example I explained below.=20 =20 TemplateA:=20 =20 #macro ( test ) This is the test macro #end =20 This is the template A =20 =20 TemplateB:=20 =20 #parse("TemplateA") The result of calling the macro is: #test() =20 Then, in my solution C#, I'm adding code in order to modify the Velocity = properties indicating the loading of my VMs: =20 Velocity.SetProperty("velocimacro.library", "TemplateA.vm");=20 Velocity.SetProperty("velocimacro.permissions.allow.inline", "false");=20 Velocity.SetProperty("velocimacro.library.autoreload", "true");=20 =20 But the result when merge the Template B is:=20 =20 This is the template A The result of calling the macro is: #test() =20 =20 While I'm expecting a result like: This is the template A The result of calling the macro is: This is the test macro =20 =20 Can you help me with this question? What is happening? Why NVelocity = doesn't understand the call to the macro?=20 =20 I haven't found more information about velocimacros than the user guide = and it's not enough. =20 Thanks in advance. =20 ------_=_NextPart_001_01C6654D.97A6BF14-- From [email protected] Fri Apr 21 14:33:22 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37051 invoked from network); 21 Apr 2006 14:33:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Apr 2006 14:33:21 -0000 Received: (qmail 67183 invoked by uid 500); 21 Apr 2006 14:33:15 -0000 Delivered-To: [email protected] Received: (qmail 67133 invoked by uid 500); 21 Apr 2006 14:33:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 67074 invoked by uid 99); 21 Apr 2006 14:33:15 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Apr 2006 07:33:15 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO pproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Apr 2006 07:33:14 -0700 Received: by pproxy.gmail.com with SMTP id t32so455393pyc for <[email protected]>; Fri, 21 Apr 2006 07:32:53 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references; b=r97pTBSoDn0cmqfRvLtse2KXor1F7cwUOrTnrSmNWkKuOGmFZ8MaDcvNvEeM7Ru0uo0VenNhMnYkouv6SEJPXK8gG2mxitPWGGPA3XKBZ4KDcTEOazM6seQVxGie2eERFIU2bcnCG/f0bf5HzreY4lG5dAD/Cw7V6zytva1eMrM= Received: by 161.129.204.104 with SMTP id y1mr2754169pyi; Fri, 21 Apr 2006 07:32:53 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Fri, 21 Apr 2006 07:32:53 -0700 (PDT) Message-ID: <[email protected]> Date: Fri, 21 Apr 2006 07:32:53 -0700 From: "Will Glass-Husain" <[email protected]> Sender: [email protected] To: "Velocity Developers List" <[email protected]> Subject: Re: Help with macros In-Reply-To: <04CA78F46133FF4B8787A9553E740CC201041962@tulio> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_28940_617802.1145629973682" References: <04CA78F46133FF4B8787A9553E740CC201041962@tulio> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_28940_617802.1145629973682 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Marta, You might try the NVelocity mailing list -- it's a separate product based o= n Velocity but not actively used by most readers of this list. Good luck! WILL On 4/21/06, Marta Gasc=F3 Julio <[email protected]> wrote: > > > Acording to > > http://jakarta.apache.org/velocity/docs/user-guide.html<BLOCKacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bBLOCKED:= : > http://jakarta.apache.org/velocity/docs/user-guide.html> > > It is said about velocimacros: > Currently, Velocimacros must be defined before they are first used in a > template. This means that your #macro() declarations should come before > using the Velocimacros. > > This is important to remember if you try to #parse() a template containin= g > inline #macro() directives. Because the #parse() happens at runtime, and = the > parser decides if a VM-looking element in the template is a VM at parseti= me, > #parse()-ing a set of VM declarations won't work as expected. To get arou= nd > this, simply use the velocimacro.library facility to have Velocity load > your [email protected]. > > I'm trying to use a macro defined in one template in other template. I'm > doing something similar to the example I explained below. > > TemplateA: > > #macro ( test ) > This is the test macro > #end > > This is the template A > > > TemplateB: > > #parse("TemplateA") > The result of calling the macro is: > #test() > > > > Then, in my solution C#, I'm adding code in order to modify the Velocity > properties indicating the loading of my VMs: > > Velocity.SetProperty("velocimacro.library", "TemplateA.vm"); > > Velocity.SetProperty("velocimacro.permissions.allow.inline", "false"); > > Velocity.SetProperty("velocimacro.library.autoreload", "true"); > > > But the result when merge the Template B is: > > This is the template A > The result of calling the macro is: > #test() > > > While I'm expecting a result like: > This is the template A > The result of calling the macro is: > This is the test macro > > > Can you help me with this question? What is happening? Why NVelocity > doesn't understand the call to the macro? > > I haven't found more information about velocimacros than the user guide > and it's not enough. > > Thanks in advance. > > > > > > > -- Forio Business Simulations Will Glass-Husain [email protected] www.forio.com ------=_Part_28940_617802.1145629973682-- From [email protected] Sat Apr 22 09:16:48 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3182 invoked from network); 22 Apr 2006 09:16:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Apr 2006 09:16:48 -0000 Received: (qmail 74336 invoked by uid 500); 22 Apr 2006 09:16:47 -0000 Delivered-To: [email protected] Received: (qmail 74318 invoked by uid 500); 22 Apr 2006 09:16:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 74307 invoked by uid 99); 22 Apr 2006 09:16:46 -0000 Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Apr 2006 02:16:46 -0700 Date: Sat, 22 Apr 2006 02:03:29 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-test (in module jakarta-velocity) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 119 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-test : Template engine Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/gump_work/build_jakarta-velocity_jakarta-velocity-test.html Work Name: build_jakarta-velocity_jakarta-velocity-test (Type: Build) Work ended in a state of : Failed Elapsed: 9 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only test [Working Directory: /usr/local/gump/public/workspace/jakarta-velocity/build] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/test-classes:/usr/local/gump/public/workspace/jakarta-velocity/test/cpload/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/texen-classpath/test.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/multiloader/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-22042006.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-dep-22042006.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-servletapi/dist/lib/servlet.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/packages/werken-xpath/werken-xpath-0.9.4.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-22042006.jar:/usr/local/gump/public/workspace/jakarta-bcel/target/bcel-22042006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-22042006.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-22042006.jar:/usr/local/gump/public/workspace/excalibur/containerkit/logkit/target/excalibur-logkit-22042006.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-22042006.jar:/usr/local/gump/packages/antlr-2.7.6/antlr.jar --------------------------------------------- http-download: [get] Getting: http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/servletapi-2.3.jar [get] Not modified - so not downloaded werken-xpath-download: http-download: [get] Getting: http://www.ibiblio.org/maven/werken-xpath/jars/werken-xpath-0.9.4.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/werken-xpath-0.9.4.jar [get] Not modified - so not downloaded basic-prepare: check-jdbc: check-jdbc-true: check-jdbc-false: prepare-jdbc: check-jdk14: check-jdk14-true: check-jdk14-false: prepare-jdk14: prepare: compile-src: compile-test: [javac] Compiling 58 source files to /x1/gump/public/workspace/jakarta-velocity/bin/test-classes [javac] Note: /x1/gump/public/workspace/jakarta-velocity/bin/test-src/org/apache/velocity/test/VelocityServletTestCase.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. test: [mkdir] Created dir: /x1/gump/public/workspace/jakarta-velocity/bin/test-reports [junit] Running org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.064 sec BUILD FAILED /x1/gump/public/workspace/jakarta-velocity/build/build.xml:758: Test org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase failed Total time: 7 seconds --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 28000022042006, vmgump.apache.org:vmgump-public:28000022042006 Gump E-mail Identifier (unique within run) #51. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 22 10:39:28 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30031 invoked from network); 22 Apr 2006 10:39:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Apr 2006 10:39:12 -0000 Received: (qmail 15723 invoked by uid 500); 22 Apr 2006 10:39:12 -0000 Delivered-To: [email protected] Received: (qmail 15699 invoked by uid 500); 22 Apr 2006 10:39:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 15688 invoked by uid 99); 22 Apr 2006 10:39:11 -0000 Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Apr 2006 03:39:11 -0700 Date: Sat, 22 Apr 2006 03:25:53 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-tools (in module jakarta-velocity-tools) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-tools has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 15 runs. The current state of this project is 'Failed', with reason 'Configuration Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-tools : Velocity-Tools project Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason configuration failed -ERROR- Bad Dependency. Project: struts-action unknown to *this* workspace -ERROR- Bad Dependency. Project: struts-taglib unknown to *this* workspace -ERROR- Bad Dependency. Project: struts-tiles unknown to *this* workspace -INFO- Failed to extract fallback artifacts from Gump Repository To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 28000022042006, vmgump.apache.org:vmgump-public:28000022042006 Gump E-mail Identifier (unique within run) #83. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 22 22:51:24 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25979 invoked from network); 22 Apr 2006 22:51:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Apr 2006 22:51:24 -0000 Received: (qmail 6993 invoked by uid 500); 22 Apr 2006 22:51:23 -0000 Delivered-To: [email protected] Received: (qmail 6969 invoked by uid 500); 22 Apr 2006 22:51:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 6950 invoked by uid 99); 22 Apr 2006 22:51:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Apr 2006 15:51:23 -0700 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Apr 2006 15:51:22 -0700 Received: by nproxy.gmail.com with SMTP id n28so347354nfc for <[email protected]>; Sat, 22 Apr 2006 15:51:01 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TtHUzu6OT5qk6cV48XwoVQ2+x2orVbZ/tgmKjMq50XNQ9yHLf0zgOTn3er5IZA+Gg7TBTyf4sJxrb7xJNxVFgmhU67yvsJW2lNKqZCnXR7OZZkfuuzuSPc7r/vXowMRQAuAU/b/OqXN3ZdiHizrhsv7X82CXfv6umK+lQ3MPxXs= Received: by 161.129.204.104 with SMTP id j3mr1886715nfk; Sat, 22 Apr 2006 15:51:01 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sat, 22 Apr 2006 15:51:01 -0700 (PDT) Message-ID: <[email protected]> Date: Sat, 22 Apr 2006 15:51:01 -0700 From: "Nathan Bubna" <[email protected]> To: "Velocity Developer's List" <[email protected]> Subject: Fwd: Integrating string escaping into the VTL proper In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <000001c66652$6e19e4e0$fe7aa8c0@PRUSSEITXP> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Jochen, Please feel free to send emails like this to [email protected] list. It is the ideal place for such discussions! In fact, i hope you do not mind, but i am going to CC the dev list in my reply, as i would like my response to be archived for others with such questions to find. Please forgive me if that is not ok with you. I agree (and i'm know Will would too) that easy and/or automatic escaping of xml and html is a great feature. In fact, we've been adding and talking about such features a fair bit of late: - the latest VelocityTools 1.2 release includes the EscapeTool for escaping html, xml, sql, java, and javascript (among other misc functions). This is basically the corollary of the JSTL <c:out> tag that JSP developers use for escaping html. The syntax is quite simple $esc.xml($foo). - the upcoming Velocity 1.5 release includes some snazzy new EventHandlers from Will that can provide totally automatic escaping of--again--html, xml, sql, java, and javascript. These are not something that can be fully controlled from a template, but it does provide the option of expression matching reference names to allow the developer to give the template author some control over what is or is not escaped. - there is also talk of including a more fundamental "reference interceptor" ability in a future version of Velocity to allow contextual and more object-type based (rather than reference name based) control over the rendering of references. This overlaps the ReferenceInsertionEventHandlers described above in ways, but i think it will ultimately prove to be a more powerful, flexible, and simpler way to do what you describe. For instance, with the ability to interrogate the context during rendering of a reference value, it would be possible for the developer to give the template author the #set( $default_escaping =3D 'html' ) ability that you described. To my knowledge, this cannot be done with EventHandlers. Of course, there is much left to be discussed before this feature is implemented and released. Thanks for the suggestions and opportunity to spread a little knowledge about upcoming (and potentially upcoming) features! :) -nathan On 4/22/06, Jochen Eddelb=FCttel <[email protected]> wrote: > Hi Nathan and Will, > > with HTML and XML being such important target formats for Velocity > applications, the need for escaping seems to be pervasive. Even with the > advent of a generic escaping tool the templates still suffer tremendously= in > their legibility. > > Could you consider a direct incoporation of escaping into VTL? > > I was thinking something like > > [email protected](...) > > or > > [email protected] > > or > > $!{{{EMAIL+EMAIL}} > > Even knowing the target format there is no way to tell whether a template > author would need escaping. It may not be a frequent situation but the st= uff > being added from the Java Beans into the template may need to be HTML tag= s. > So putting in &lt; and &gt; would ruin the show. But the template author > could be handed a way to set the default escaping himself, with something > like > > #set( $default_escaping =3D "html" ) > > The default escaping would only be applied to the top level of nested > refereces, i.e. the strings that actually end up being written out instea= d > of being used as parameters. > > Not knowing much about the theory of MVC design while doing it, I've > successfully powered a web frontend for an invoice verification and appro= val > process with Velocity. I came across Velocity before having even the > slightest idea of JSP. I don't know how JSP gurus tackle their woes with > escaping (probably some tag libs), but I'm confident that Velocity could > really outshine JSP in this area, if escaping could be included directly = in > VTL. > > So thanks for all your effort and keep up the good work! > > Regards, > > Dr. Jochen Eddelb=FCttel > Sr. Document and Workflow Management Consultant > Hamburg, Germany > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 23 09:17:56 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 179 invoked from network); 23 Apr 2006 09:17:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Apr 2006 09:17:55 -0000 Received: (qmail 98497 invoked by uid 500); 23 Apr 2006 09:17:55 -0000 Delivered-To: [email protected] Received: (qmail 98472 invoked by uid 500); 23 Apr 2006 09:17:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 98460 invoked by uid 99); 23 Apr 2006 09:17:54 -0000 Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Apr 2006 02:17:54 -0700 Date: Sun, 23 Apr 2006 02:04:32 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-test (in module jakarta-velocity) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 122 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-test : Template engine Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/gump_work/build_jakarta-velocity_jakarta-velocity-test.html Work Name: build_jakarta-velocity_jakarta-velocity-test (Type: Build) Work ended in a state of : Failed Elapsed: 8 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only test [Working Directory: /usr/local/gump/public/workspace/jakarta-velocity/build] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/test-classes:/usr/local/gump/public/workspace/jakarta-velocity/test/cpload/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/texen-classpath/test.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/multiloader/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-23042006.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-dep-23042006.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-servletapi/dist/lib/servlet.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/packages/werken-xpath/werken-xpath-0.9.4.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-23042006.jar:/usr/local/gump/public/workspace/jakarta-bcel/target/bcel-23042006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-23042006.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-23042006.jar:/usr/local/gump/public/workspace/excalibur/containerkit/logkit/target/excalibur-logkit-23042006.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-23042006.jar:/usr/local/gump/packages/antlr-2.7.6/antlr.jar --------------------------------------------- http-download: [get] Getting: http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/servletapi-2.3.jar [get] Not modified - so not downloaded werken-xpath-download: http-download: [get] Getting: http://www.ibiblio.org/maven/werken-xpath/jars/werken-xpath-0.9.4.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/werken-xpath-0.9.4.jar [get] Not modified - so not downloaded basic-prepare: check-jdbc: check-jdbc-true: check-jdbc-false: prepare-jdbc: check-jdk14: check-jdk14-true: check-jdk14-false: prepare-jdk14: prepare: compile-src: compile-test: [javac] Compiling 58 source files to /x1/gump/public/workspace/jakarta-velocity/bin/test-classes [javac] Note: /x1/gump/public/workspace/jakarta-velocity/bin/test-src/org/apache/velocity/test/VelocityServletTestCase.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. test: [mkdir] Created dir: /x1/gump/public/workspace/jakarta-velocity/bin/test-reports [junit] Running org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.037 sec BUILD FAILED /x1/gump/public/workspace/jakarta-velocity/build/build.xml:758: Test org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase failed Total time: 7 seconds --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 26000023042006, vmgump.apache.org:vmgump-public:26000023042006 Gump E-mail Identifier (unique within run) #51. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 23 10:39:25 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29444 invoked from network); 23 Apr 2006 10:39:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Apr 2006 10:39:25 -0000 Received: (qmail 38351 invoked by uid 500); 23 Apr 2006 10:39:24 -0000 Delivered-To: [email protected] Received: (qmail 38337 invoked by uid 500); 23 Apr 2006 10:39:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 38326 invoked by uid 99); 23 Apr 2006 10:39:23 -0000 Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Apr 2006 03:39:23 -0700 Date: Sun, 23 Apr 2006 03:26:01 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-tools (in module jakarta-velocity-tools) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-tools has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 18 runs. The current state of this project is 'Failed', with reason 'Configuration Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-tools : Velocity-Tools project Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason configuration failed -ERROR- Bad Dependency. Project: struts-action unknown to *this* workspace -ERROR- Bad Dependency. Project: struts-taglib unknown to *this* workspace -ERROR- Bad Dependency. Project: struts-tiles unknown to *this* workspace -INFO- Failed to extract fallback artifacts from Gump Repository To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 26000023042006, vmgump.apache.org:vmgump-public:26000023042006 Gump E-mail Identifier (unique within run) #83. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 24 09:22:37 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 96280 invoked from network); 24 Apr 2006 09:22:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Apr 2006 09:22:36 -0000 Received: (qmail 96220 invoked by uid 500); 24 Apr 2006 09:22:36 -0000 Delivered-To: [email protected] Received: (qmail 96019 invoked by uid 500); 24 Apr 2006 09:22:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 96008 invoked by uid 99); 24 Apr 2006 09:22:35 -0000 Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Apr 2006 02:22:35 -0700 Date: Mon, 24 Apr 2006 02:09:08 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-test (in module jakarta-velocity) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 125 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-test : Template engine Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/gump_work/build_jakarta-velocity_jakarta-velocity-test.html Work Name: build_jakarta-velocity_jakarta-velocity-test (Type: Build) Work ended in a state of : Failed Elapsed: 8 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only test [Working Directory: /usr/local/gump/public/workspace/jakarta-velocity/build] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/test-classes:/usr/local/gump/public/workspace/jakarta-velocity/test/cpload/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/texen-classpath/test.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/multiloader/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-24042006.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-dep-24042006.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-servletapi/dist/lib/servlet.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/packages/werken-xpath/werken-xpath-0.9.4.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-24042006.jar:/usr/local/gump/public/workspace/jakarta-bcel/target/bcel-24042006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-24042006.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-24042006.jar:/usr/local/gump/public/workspace/excalibur/containerkit/logkit/target/excalibur-logkit-24042006.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-24042006.jar:/usr/local/gump/packages/antlr-2.7.6/antlr.jar --------------------------------------------- http-download: [get] Getting: http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/servletapi-2.3.jar [get] Not modified - so not downloaded werken-xpath-download: http-download: [get] Getting: http://www.ibiblio.org/maven/werken-xpath/jars/werken-xpath-0.9.4.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/werken-xpath-0.9.4.jar [get] Not modified - so not downloaded basic-prepare: check-jdbc: check-jdbc-true: check-jdbc-false: prepare-jdbc: check-jdk14: check-jdk14-true: check-jdk14-false: prepare-jdk14: prepare: compile-src: compile-test: [javac] Compiling 58 source files to /x1/gump/public/workspace/jakarta-velocity/bin/test-classes [javac] Note: /x1/gump/public/workspace/jakarta-velocity/bin/test-src/org/apache/velocity/test/VelocityServletTestCase.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. test: [mkdir] Created dir: /x1/gump/public/workspace/jakarta-velocity/bin/test-reports [junit] Running org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.038 sec BUILD FAILED /x1/gump/public/workspace/jakarta-velocity/build/build.xml:758: Test org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase failed Total time: 7 seconds --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 30000024042006, vmgump.apache.org:vmgump-public:30000024042006 Gump E-mail Identifier (unique within run) #51. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 24 10:43:55 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42857 invoked from network); 24 Apr 2006 10:43:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Apr 2006 10:43:39 -0000 Received: (qmail 13698 invoked by uid 500); 24 Apr 2006 10:43:29 -0000 Delivered-To: [email protected] Received: (qmail 13670 invoked by uid 500); 24 Apr 2006 10:43:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 13659 invoked by uid 99); 24 Apr 2006 10:43:28 -0000 Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Apr 2006 03:43:28 -0700 Date: Mon, 24 Apr 2006 03:30:01 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-tools (in module jakarta-velocity-tools) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-tools has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 21 runs. The current state of this project is 'Failed', with reason 'Configuration Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-tools : Velocity-Tools project Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason configuration failed -ERROR- Bad Dependency. Project: struts-action unknown to *this* workspace -ERROR- Bad Dependency. Project: struts-taglib unknown to *this* workspace -ERROR- Bad Dependency. Project: struts-tiles unknown to *this* workspace -INFO- Failed to extract fallback artifacts from Gump Repository To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 30000024042006, vmgump.apache.org:vmgump-public:30000024042006 Gump E-mail Identifier (unique within run) #80. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 24 14:55:43 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86173 invoked from network); 24 Apr 2006 14:50:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Apr 2006 14:50:33 -0000 Received: (qmail 92838 invoked by uid 500); 24 Apr 2006 14:50:31 -0000 Delivered-To: [email protected] Received: (qmail 92637 invoked by uid 500); 24 Apr 2006 14:50:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 92626 invoked by uid 99); 24 Apr 2006 14:50:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Apr 2006 07:50:30 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ciao.gmane.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Apr 2006 07:50:29 -0700 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1FY2O1-0004r7-Sx for [email protected]; Mon, 24 Apr 2006 16:50:02 +0200 Received: from dhcp-1-138-220-39-31.worldbank.org ([161.129.204.104]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <[email protected]>; Mon, 24 Apr 2006 16:50:01 +0200 Received: from asrinivasan by dhcp-1-138-220-39-31.worldbank.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <[email protected]>; Mon, 24 Apr 2006 16:50:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: [email protected] From: Arvind Srinivasan <[email protected]> Subject: Re: Create a DataSourceResourceLoader that can be wired to the datasource with IoC Date: Mon, 24 Apr 2006 14:47:06 +0000 (UTC) Lines: 60 Message-ID: <[email protected]> References: <[email protected]> <08ba01c42c86$eaedf680$827ba8c0@Apollo> <[email protected]> <02b101c42e42$b37ba2c0$827ba8c0@Apollo> <[email protected]> <000901c43094$d2994690$6400a8c0@Apollo> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: [email protected] X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 161.129.204.104 (Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)) Sender: news <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Will Glass-Husain <wglass <at> forio.com> writes: > > Matt, > > Thanks for the note - appreciate the pragmatic comment. > > Are there any other changes or new capabilities you'd find useful in a data > resource loader? > > Best, > WILL > After all the research based on Matt's and Will's work - i still had problems getting DatasourceResourceLoader to work with spring. The thing that seemed to happen was - The dataSource object seemed to be 'set' alright, but then subsequently new instance of 'DataSourceResourceLoader' gets initialized despite have a singleton attribute set to true... So finally took a different approach to get it work...Documenting here, so that anyone that may stumble across might find it helpful. <!-- spring configuraiton--> <bean id="velocityEngine" singleton="true" class="org.springframework.ui.velocity.VelocityEngineFactoryBean" > <property name="velocityProperties"> <props> <prop key="resource.loader">ds</prop> <prop key="ds.resource.loader.class">org.apache.velocity.runtime.resource.loader.Data SourceResourceLoader</prop> <prop key="ds.resource.loader.resource.table">tb_velocity_template</prop> <prop key="ds.resource.loader.resource.keycolumn">id_template</prop> <prop key="ds.resource.loader.resource.templatecolumn">template_definition</prop> <prop key="ds.resource.loader.resource.timestampcolumn">template_timestamp</prop> <prop key="ds.resource.loader.resource.datasource">java:comp/env/jdbc/sampdb</prop> </props> </property> <!--Datasource configration in Tomcat 5.5--> /conf/Catalina/<<host>>/<<appcontext>>.xml <Context path="/xxx" docBase="xxx" debug="1" reloadable="true"> <Resource name="jdbc/sampdb" auth="Container" type="javax.sql.DataSource" driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost:3306/blogs" username="admin" password="xxx" maxActive="20" maxIdle="10" maxWait="-1" /> </Context> -- Arvind --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Apr 24 15:33:43 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12516 invoked from network); 24 Apr 2006 15:33:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Apr 2006 15:33:41 -0000 Received: (qmail 13752 invoked by uid 500); 24 Apr 2006 15:33:39 -0000 Delivered-To: [email protected] Received: (qmail 13737 invoked by uid 500); 24 Apr 2006 15:33:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 13726 invoked by uid 99); 24 Apr 2006 15:33:38 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Apr 2006 08:33:38 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO pproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Apr 2006 08:33:36 -0700 Received: by pproxy.gmail.com with SMTP id t32so1037640pyc for <[email protected]>; Mon, 24 Apr 2006 08:33:15 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ot2cVRx1lWr5v/vVbvjG8Rsu9XyBWvjK+8NPYkV3h/85d7w0f8iqLkglOahVFz0sJh47IRV9EgJVAskjBVH4i7nMy+w40r1VocAxjGi3O+GyMg6859n4LH0RORj9XuEzxSIDaLfDaoYO7B80xHyWyRr+7EK2zsA9DSwKIEtTsW0= Received: by 161.129.204.104 with SMTP id c9mr1013052pyk; Mon, 24 Apr 2006 08:33:13 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 24 Apr 2006 08:33:13 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 24 Apr 2006 08:33:13 -0700 From: "Will Glass-Husain" <[email protected]> Sender: [email protected] To: "Velocity Developers List" <[email protected]> Subject: Re: Create a DataSourceResourceLoader that can be wired to the datasource with IoC In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <[email protected]> <08ba01c42c86$eaedf680$827ba8c0@Apollo> <[email protected]> <02b101c42e42$b37ba2c0$827ba8c0@Apollo> <[email protected]> <000901c43094$d2994690$6400a8c0@Apollo> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks for sharing that. Let us know if you have other useful tips... WILL On 4/24/06, Arvind Srinivasan <[email protected]> wrote: > > Will Glass-Husain <wglass <at> forio.com> writes: > > > > > Matt, > > > > Thanks for the note - appreciate the pragmatic comment. > > > > Are there any other changes or new capabilities you'd find useful in a = data > > resource loader? > > > > Best, > > WILL > > > > After all the research based on Matt's and Will's work - i still had prob= lems > getting DatasourceResourceLoader to work with spring. > > The thing that seemed to happen was - The dataSource object seemed to be = 'set' > alright, but then subsequently new instance of 'DataSourceResourceLoader'= gets > initialized despite have a singleton attribute set to true... > > So finally took a different approach to get it work...Documenting here, s= o > that anyone that may stumble across might find it helpful. > > <!-- spring configuraiton--> > <bean id=3D"velocityEngine" singleton=3D"true" > class=3D"org.springframework.ui.velocity.VelocityEngineFactoryBean" > > <property name=3D"velocityProperties"> > <props> > <prop key=3D"resource.loader">ds</prop> > <prop > key=3D"ds.resource.loader.class">org.apache.velocity.runtime.resource.loa= der.Data > SourceResourceLoader</prop> > <prop > key=3D"ds.resource.loader.resource.table">tb_velocity_template</prop> > <prop > key=3D"ds.resource.loader.resource.keycolumn">id_template</prop> > <prop > key=3D"ds.resource.loader.resource.templatecolumn">template_definition</p= rop> > <prop > key=3D"ds.resource.loader.resource.timestampcolumn">template_timestamp</p= rop> > <prop > key=3D"ds.resource.loader.resource.datasource">java:comp/env/jdbc/sampdb<= /prop> > </props> > </property> > > <!--Datasource configration in Tomcat 5.5--> > /conf/Catalina/<<host>>/<<appcontext>>.xml > > <Context path=3D"/xxx" docBase=3D"xxx" debug=3D"1" reloadable=3D"true"> > <Resource name=3D"jdbc/sampdb" auth=3D"Container" > type=3D"javax.sql.DataSource" > driverClassName=3D"com.mysql.jdbc.Driver" > url=3D"jdbc:mysql://localhost:3306/blogs" username=3D"admin" > password=3D"xxx" maxActive=3D"20" maxIdle=3D"10" maxWait=3D"-1" /> > </Context> > > -- > Arvind > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Forio Business Simulations Will Glass-Husain [email protected] www.forio.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 25 06:38:42 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65134 invoked from network); 25 Apr 2006 06:38:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Apr 2006 06:38:41 -0000 Received: (qmail 35896 invoked by uid 500); 25 Apr 2006 06:38:41 -0000 Delivered-To: [email protected] Received: (qmail 35876 invoked by uid 500); 25 Apr 2006 06:38:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 35865 invoked by uid 99); 25 Apr 2006 06:38:40 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Apr 2006 23:38:40 -0700 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=HTML_IMAGE_ONLY_20,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO fmmailgate04.web.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Apr 2006 23:38:39 -0700 Received: by fmmailgate04.web.de (8.12.10/8.12.10/webde Linux 0.7) with SMTP id k3P6aeaP007661 for <[email protected]>; Tue, 25 Apr 2006 08:38:16 +0200 Received: from [161.129.204.104] by freemailng2301.web.de with HTTP; Tue, 25 Apr 2006 08:38:16 +0200 Date: Tue, 25 Apr 2006 08:38:16 +0200 Message-Id: <[email protected]> MIME-Version: 1.0 From: julia schmitz <[email protected]> To: [email protected] Subject: Velocity Template ResourceNotFoundException Organization: http://freemail.web.de/ Content-Type: multipart/alternative; boundary="=-------------11459470965460416597" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --=-------------11459470965460416597 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Hello When i run my Servlet with velocity i get this Error: Error: org.apache.velocity.exception.ResourceNotFoundException I tried many ways discuss here, but nothing works. I use Eclipse 3.1.2 , Tomcat 5.0.28 (Windows Executable) and Velocity velocity-dep-1.4.jar. The app_root is in the workspace of Eclipse, i edit the wep.xml and the velocity.properties, but it does not work. web.xml <init-param> <param-name>properties</param-name> <param-value>>WEB-INF/velocity.properties</param-value> </init-param> file.resource.loader.path = / file.resource.loader.cache = true file.resource.loader.modificationCheckInterval = 1 runtime.log.error.stacktrace = true runtime.log = /WEB-INF/velocity.log I will be happy if someone have an idea where the problem is. Thank you very much Julia Schmitz SMS schreiben mit WEB.DE FreeMail - einfach, schnell und kostenguenstig. Jetzt gleich testen! *http://f.web.de/?mc=021192* [http://f.web.de/?mc=021192] --=-------------11459470965460416597-- From [email protected] Tue Apr 25 08:11:55 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13399 invoked from network); 25 Apr 2006 08:11:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Apr 2006 08:11:55 -0000 Received: (qmail 24797 invoked by uid 500); 25 Apr 2006 08:11:54 -0000 Delivered-To: [email protected] Received: (qmail 24593 invoked by uid 500); 25 Apr 2006 08:11:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 24582 invoked by uid 500); 25 Apr 2006 08:11:53 -0000 Received: (qmail 24579 invoked by uid 99); 25 Apr 2006 08:11:53 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Apr 2006 01:11:53 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Apr 2006 01:11:52 -0700 Received: from ajax.apache.org (localhost.localdomain [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id DBC166ACAA for <[email protected]>; Tue, 25 Apr 2006 09:11:31 +0100 (BST) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <[email protected]> To: [email protected] Date: Tue, 25 Apr 2006 08:11:31 -0000 Message-ID: <[email protected]> Subject: [Jakarta-velocity Wiki] Update of "UserPreferences" by naparan X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear Wiki user, You have subscribed to a wiki page or wiki category on "Jakarta-velocity Wiki" for change notification. The following page has been changed by naparan: http://wiki.apache.org/jakarta-velocity/UserPreferences ------------------------------------------------------------------------------ ##language:en [[UserPreferences]] - If you are coming to this page for the first time, you'll see the form into which you can enter your username and some other settings (password is stored, in plaintext, but currently not used). It is best to choose a WikiName (like Firstname``Lastname) as username to get your changes and signatures link back to your Wiki``Homepage. Entering your email will enable you to get notifications on page changes. + hi! + question is velocity struts + + example -------- - If you click on '''Create Profile''', a user profile will be created for you. With the response, a HTTP cookie will be sent that contains your user ID, which enables the system to recognize you. + $naparan = #head_common("test" "$S_ID") + $cho= #head_common("test1" "$S_ID") + #if($S_ID=="naparan") + ${naparan } + #elseif($S_ID=="cho") + ${cho} + #end + <script language="javascript">. + . + . + . + . + . + </script> + #head_common is that css ,html head part declare - /!\ ''This "ID", shown in the response page, can be used to send the same cookie to other machines you might use. So jot it down! Or cut and paste the URL shown above, after you created your profile.'' + result + $naparan = <meta http-equiv=Content-type content="text/html; charset=EUC-KR"> + <HTML> + <HEAD><TITLE>test</TITLE> + <link href="/css/memory.css" rel="stylesheet" type="text/css"> + <link href="/css/common.css" rel="stylesheet" type="text/css"> + <script language="JavaScript" src="/js/Check.js"></script> + <script language="JavaScript" src="/js/common.js"></script> + </HEAD> + $cho= <meta http-equiv=Content-type content="text/html; charset=EUC-KR"> + <HTML> + <HEAD><TITLE>test1</TITLE> + <link href="/css/memory.css" rel="stylesheet" type="text/css"> + <link href="/css/common.css" rel="stylesheet" type="text/css"> + <script language="JavaScript" src="/js/Check.js"></script> + <script language="JavaScript" src="/js/common.js"></script> + </HEAD> + <script language="javascript"> - '''Logout''' clears the cookie. As described above, '''Login''' enables you to gain access to your user profile if you somehow lost the cookie or are on another machine. '''Save''' just updates your profile. + + Is velocity accept only html? + + I hope fast answer please!!!!! + + have a nice day!!! + ---- + CategoryHomepage + --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 25 09:22:46 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48025 invoked from network); 25 Apr 2006 09:22:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Apr 2006 09:22:46 -0000 Received: (qmail 9983 invoked by uid 500); 25 Apr 2006 09:22:45 -0000 Delivered-To: [email protected] Received: (qmail 9961 invoked by uid 500); 25 Apr 2006 09:22:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 9950 invoked by uid 99); 25 Apr 2006 09:22:44 -0000 Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Apr 2006 02:22:44 -0700 Date: Tue, 25 Apr 2006 02:09:14 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-test (in module jakarta-velocity) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 128 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-test : Template engine Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/gump_work/build_jakarta-velocity_jakarta-velocity-test.html Work Name: build_jakarta-velocity_jakarta-velocity-test (Type: Build) Work ended in a state of : Failed Elapsed: 7 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only test [Working Directory: /usr/local/gump/public/workspace/jakarta-velocity/build] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/test-classes:/usr/local/gump/public/workspace/jakarta-velocity/test/cpload/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/texen-classpath/test.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/multiloader/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-25042006.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-dep-25042006.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-servletapi/dist/lib/servlet.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/packages/werken-xpath/werken-xpath-0.9.4.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-25042006.jar:/usr/local/gump/public/workspace/jakarta-bcel/target/bcel-25042006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-25042006.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-25042006.jar:/usr/local/gump/public/workspace/excalibur/containerkit/logkit/target/excalibur-logkit-25042006.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-25042006.jar:/usr/local/gump/packages/antlr-2.7.6/antlr.jar --------------------------------------------- http-download: [get] Getting: http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/servletapi-2.3.jar [get] Not modified - so not downloaded werken-xpath-download: http-download: [get] Getting: http://www.ibiblio.org/maven/werken-xpath/jars/werken-xpath-0.9.4.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/werken-xpath-0.9.4.jar [get] Not modified - so not downloaded basic-prepare: check-jdbc: check-jdbc-true: check-jdbc-false: prepare-jdbc: check-jdk14: check-jdk14-true: check-jdk14-false: prepare-jdk14: prepare: compile-src: compile-test: [javac] Compiling 58 source files to /x1/gump/public/workspace/jakarta-velocity/bin/test-classes [javac] Note: /x1/gump/public/workspace/jakarta-velocity/bin/test-src/org/apache/velocity/test/VelocityServletTestCase.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. test: [mkdir] Created dir: /x1/gump/public/workspace/jakarta-velocity/bin/test-reports [junit] Running org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.038 sec BUILD FAILED /x1/gump/public/workspace/jakarta-velocity/build/build.xml:758: Test org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase failed Total time: 7 seconds --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 26000025042006, vmgump.apache.org:vmgump-public:26000025042006 Gump E-mail Identifier (unique within run) #63. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 25 10:41:50 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93973 invoked from network); 25 Apr 2006 10:41:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Apr 2006 10:41:50 -0000 Received: (qmail 34993 invoked by uid 500); 25 Apr 2006 10:41:49 -0000 Delivered-To: [email protected] Received: (qmail 34962 invoked by uid 500); 25 Apr 2006 10:41:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 34951 invoked by uid 99); 25 Apr 2006 10:41:48 -0000 Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Apr 2006 03:41:48 -0700 Date: Tue, 25 Apr 2006 03:28:18 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-tools (in module jakarta-velocity-tools) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-tools has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 24 runs. The current state of this project is 'Failed', with reason 'Configuration Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-tools : Velocity-Tools project Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason configuration failed -ERROR- Bad Dependency. Project: struts-action unknown to *this* workspace -ERROR- Bad Dependency. Project: struts-taglib unknown to *this* workspace -ERROR- Bad Dependency. Project: struts-tiles unknown to *this* workspace -INFO- Failed to extract fallback artifacts from Gump Repository To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 26000025042006, vmgump.apache.org:vmgump-public:26000025042006 Gump E-mail Identifier (unique within run) #95. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 25 11:18:15 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10466 invoked from network); 25 Apr 2006 11:17:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Apr 2006 11:17:18 -0000 Received: (qmail 92593 invoked by uid 500); 25 Apr 2006 11:16:31 -0000 Delivered-To: [email protected] Received: (qmail 92573 invoked by uid 500); 25 Apr 2006 11:16:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 92519 invoked by uid 500); 25 Apr 2006 11:16:31 -0000 Received: (qmail 92491 invoked by uid 99); 25 Apr 2006 11:16:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Apr 2006 04:16:30 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Apr 2006 04:16:29 -0700 Received: from ajax.apache.org (localhost.localdomain [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id B504DD4A00 for <[email protected]>; Tue, 25 Apr 2006 12:16:08 +0100 (BST) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki <[email protected]> To: [email protected] Date: Tue, 25 Apr 2006 11:16:08 -0000 Message-ID: <[email protected]> Subject: [Jakarta-velocity Wiki] Update of "UserPreferences" by AlexeyPanchenko X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear Wiki user, You have subscribed to a wiki page or wiki category on "Jakarta-velocity Wiki" for change notification. The following page has been changed by AlexeyPanchenko: http://wiki.apache.org/jakarta-velocity/UserPreferences ------------------------------------------------------------------------------ ##language:en [[UserPreferences]] + If you are coming to this page for the first time, you'll see the form into which you can enter your username and some other settings (password is stored, in plaintext, but currently not used). It is best to choose a WikiName (like Firstname``Lastname) as username to get your changes and signatures link back to your Wiki``Homepage. Entering your email will enable you to get notifications on page changes. - hi! - question is velocity struts - - example -------- + If you click on '''Create Profile''', a user profile will be created for you. With the response, a HTTP cookie will be sent that contains your user ID, which enables the system to recognize you. - $naparan = #head_common("test" "$S_ID") - $cho= #head_common("test1" "$S_ID") - #if($S_ID=="naparan") - ${naparan } - #elseif($S_ID=="cho") - ${cho} - #end - <script language="javascript">. - . - . - . - . - . - </script> - #head_common is that css ,html head part declare + /!\ ''This "ID", shown in the response page, can be used to send the same cookie to other machines you might use. So jot it down! Or cut and paste the URL shown above, after you created your profile.'' - result - $naparan = <meta http-equiv=Content-type content="text/html; charset=EUC-KR"> - <HTML> - <HEAD><TITLE>test</TITLE> - <link href="/css/memory.css" rel="stylesheet" type="text/css"> - <link href="/css/common.css" rel="stylesheet" type="text/css"> - <script language="JavaScript" src="/js/Check.js"></script> - <script language="JavaScript" src="/js/common.js"></script> - </HEAD> - $cho= <meta http-equiv=Content-type content="text/html; charset=EUC-KR"> - <HTML> - <HEAD><TITLE>test1</TITLE> - <link href="/css/memory.css" rel="stylesheet" type="text/css"> - <link href="/css/common.css" rel="stylesheet" type="text/css"> - <script language="JavaScript" src="/js/Check.js"></script> - <script language="JavaScript" src="/js/common.js"></script> - </HEAD> - <script language="javascript"> + '''Logout''' clears the cookie. As described above, '''Login''' enables you to gain access to your user profile if you somehow lost the cookie or are on another machine. '''Save''' just updates your profile. - - Is velocity accept only html? - - I hope fast answer please!!!!! - - have a nice day!!! - ---- - CategoryHomepage - --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Apr 25 17:35:13 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44647 invoked from network); 25 Apr 2006 17:35:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Apr 2006 17:35:13 -0000 Received: (qmail 52992 invoked by uid 500); 25 Apr 2006 17:35:12 -0000 Delivered-To: [email protected] Received: (qmail 52979 invoked by uid 500); 25 Apr 2006 17:35:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 52968 invoked by uid 99); 25 Apr 2006 17:35:11 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Apr 2006 10:35:11 -0700 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO server1.setgame.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Apr 2006 10:35:10 -0700 Received: from www.setgame.com (localhost [161.129.204.104]) by server1.setgame.com (8.12.11/8.12.11) with ESMTP id k3PHYnND002394 for <[email protected]>; Tue, 25 Apr 2006 10:34:49 -0700 Received: from 161.129.204.104 (SquirrelMail authenticated user isidore); by www.setgame.com with HTTP; Tue, 25 Apr 2006 10:34:49 -0700 (PDT) Message-ID: <{{EMAIL+SOCIAL_SECURITY_NUMBER}}> In-Reply-To: <[email protected]> References: <[email protected]> Date: Tue, 25 Apr 2006 10:34:49 -0700 (PDT) Subject: Re: Velocity Template ResourceNotFoundException From: [email protected] To: "Velocity Developers List" <[email protected]> User-Agent: SquirrelMail/1.4.3a-11.EL3 X-Mailer: SquirrelMail/1.4.3a-11.EL3 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Since no one else is repling, i will tell you how i do it. It is most diffently wrong by any standard, but it does work quite well for us, and has over many different situation including develpment in eclipse. deployed in a war. deployed in a unpacked war. unit tests via ant & cruise control. it's a bit complex, so i'll layout the basics. I will send the files i use if you want them, but i'm pretty sure the list server strips attachments off, so i'll do it by request. first, we create a convience function to setup the parameters. then when you want to parse a template. call it and pass a context aware as a call back. lets look at the setup. you will still need some sort of configuration, for us, it's lumped with all are other configurations for the purpose of a single file. but for here i'm going to hard code. there is a natural refactoring here that creates to functions. the very generic. public static Writer parse(String template, Properties props, ContextAware process[], Writer out) the semi generic public static String parse(String template, Properties props, ContextAware[] process) and of course the project specific. which is what you would write. again, since we are either reading from jar / file, here's mine. /***********************************************************************/ public static String parseJarFile(String template, ContextAware process) { Properties props = getProperties(); return VelocityParser.parse(template, props, new ContextAware[]{process, Default.INSTANCE}); } /***********************************************************************/ private static Properties getProperties() { Properties props = new Properties(); if (Config.FORCE_ACTUAL_FILE_INSTEAD_OF_JAR) { props.put("resource.loader", "file"); props.put("file.resource.loader.path", getPath()); props.put("file.resource.cache", "" + true); } else { props.put("resource.loader", "class"); props.put("class.resource.loader.description", "Velocity ServletContext Resource Loader"); props.put("class.resource.loader.class", "com.spun.util.velocity.ServletContextLoader"); props.put("class.resource.cache", "" + true); ServletContextLoader.registerServletContext(BasicCompanyServlet.getContext()); props.put("class.resource.loader.path", "/WEB-INF/resources/templates/" + ", " +"/"); } props.put("runtime.introspector.uberspect", "com.spun.util.velocity.TestableUberspect"); props.put("velocimacro.context.localscope", "" + true); props.put("velocimacro.permissions.allow.inline.local.scope", "" + true); return props; } /***********************************************************************/ private static String getPath() { if (path == null) { path = Config.ALTERNATIVE_TEMPLATE_DIRECTORY + ", " + Config.TEMPLATE_DIRECTORY + ", " + convertDirectory(Config.getAlternativeHtmlDirectory()) + ", " + convertDirectory(Config.getHtmlDirectory()); My_System.variable("path", path); } return path; } /***********************************************************************/ as i understand your situation, you would just want the file reader part of this. the last part is to write a class that can be parsed. i'll make and example here. class Family implement ContextAware { Person mom, dad, brother, sister; String getFamilyTreeAsHtml() { VelocityParser.parse("template.htm", this); } public void setupContext(Context context) { context.put("mom",mom); context.put("dad",dad); context.put("sister",sister); context.put("brother",brother); } } anyways, this works well for us, has the distinct advantage, of being able to break/log/troubleshoot the different settings you are passing in. if you want more just ask. llewellyn --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Apr 26 09:37:28 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85131 invoked from network); 26 Apr 2006 09:37:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Apr 2006 09:37:25 -0000 Received: (qmail 10923 invoked by uid 500); 26 Apr 2006 09:37:21 -0000 Delivered-To: [email protected] Received: (qmail 10885 invoked by uid 500); 26 Apr 2006 09:37:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 10874 invoked by uid 99); 26 Apr 2006 09:37:20 -0000 Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Apr 2006 02:37:20 -0700 Date: Wed, 26 Apr 2006 02:23:46 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-test (in module jakarta-velocity) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 130 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-test : Template engine Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/gump_work/build_jakarta-velocity_jakarta-velocity-test.html Work Name: build_jakarta-velocity_jakarta-velocity-test (Type: Build) Work ended in a state of : Failed Elapsed: 7 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only test [Working Directory: /usr/local/gump/public/workspace/jakarta-velocity/build] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/test-classes:/usr/local/gump/public/workspace/jakarta-velocity/test/cpload/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/texen-classpath/test.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/multiloader/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-26042006.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-dep-26042006.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-servletapi/dist/lib/servlet.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/packages/werken-xpath/werken-xpath-0.9.4.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-26042006.jar:/usr/local/gump/public/workspace/jakarta-bcel/target/bcel-26042006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-26042006.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-26042006.jar:/usr/local/gump/public/workspace/excalibur/containerkit/logkit/target/excalibur-logkit-26042006.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-26042006.jar:/usr/local/gump/packages/antlr-2.7.6/antlr.jar --------------------------------------------- http-download: [get] Getting: http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/servletapi-2.3.jar [get] Not modified - so not downloaded werken-xpath-download: http-download: [get] Getting: http://www.ibiblio.org/maven/werken-xpath/jars/werken-xpath-0.9.4.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/werken-xpath-0.9.4.jar [get] Not modified - so not downloaded basic-prepare: check-jdbc: check-jdbc-true: check-jdbc-false: prepare-jdbc: check-jdk14: check-jdk14-true: check-jdk14-false: prepare-jdk14: prepare: compile-src: compile-test: [javac] Compiling 58 source files to /x1/gump/public/workspace/jakarta-velocity/bin/test-classes [javac] Note: /x1/gump/public/workspace/jakarta-velocity/bin/test-src/org/apache/velocity/test/VelocityServletTestCase.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. test: [mkdir] Created dir: /x1/gump/public/workspace/jakarta-velocity/bin/test-reports [junit] Running org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.038 sec BUILD FAILED /x1/gump/public/workspace/jakarta-velocity/build/build.xml:758: Test org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase failed Total time: 7 seconds --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 25000026042006, vmgump.apache.org:vmgump-public:25000026042006 Gump E-mail Identifier (unique within run) #65. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Apr 26 10:55:51 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28116 invoked from network); 26 Apr 2006 10:55:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Apr 2006 10:55:51 -0000 Received: (qmail 28110 invoked by uid 500); 26 Apr 2006 10:55:51 -0000 Delivered-To: [email protected] Received: (qmail 27907 invoked by uid 500); 26 Apr 2006 10:55:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 27896 invoked by uid 99); 26 Apr 2006 10:55:50 -0000 Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Apr 2006 03:55:50 -0700 Date: Wed, 26 Apr 2006 03:42:16 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-tools (in module jakarta-velocity-tools) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-tools has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 26 runs. The current state of this project is 'Failed', with reason 'Configuration Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-tools : Velocity-Tools project Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason configuration failed -ERROR- Bad Dependency. Project: struts-action unknown to *this* workspace -ERROR- Bad Dependency. Project: struts-taglib unknown to *this* workspace -ERROR- Bad Dependency. Project: struts-tiles unknown to *this* workspace -INFO- Failed to extract fallback artifacts from Gump Repository To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 25000026042006, vmgump.apache.org:vmgump-public:25000026042006 Gump E-mail Identifier (unique within run) #96. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 27 09:46:03 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 600 invoked from network); 27 Apr 2006 09:45:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Apr 2006 09:45:56 -0000 Received: (qmail 77376 invoked by uid 500); 27 Apr 2006 09:45:43 -0000 Delivered-To: [email protected] Received: (qmail 77201 invoked by uid 500); 27 Apr 2006 09:45:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 77188 invoked by uid 99); 27 Apr 2006 09:45:42 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Apr 2006 02:45:42 -0700 Date: Thu, 27 Apr 2006 02:32:04 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-test (in module jakarta-velocity) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 133 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-test : Template engine Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/gump_work/build_jakarta-velocity_jakarta-velocity-test.html Work Name: build_jakarta-velocity_jakarta-velocity-test (Type: Build) Work ended in a state of : Failed Elapsed: 8 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only test [Working Directory: /usr/local/gump/public/workspace/jakarta-velocity/build] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/test-classes:/usr/local/gump/public/workspace/jakarta-velocity/test/cpload/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/texen-classpath/test.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/multiloader/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-27042006.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-dep-27042006.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-servletapi/dist/lib/servlet.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/packages/werken-xpath/werken-xpath-0.9.4.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-27042006.jar:/usr/local/gump/public/workspace/jakarta-bcel/target/bcel-27042006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-27042006.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-27042006.jar:/usr/local/gump/public/workspace/excalibur/containerkit/logkit/target/excalibur-logkit-27042006.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-27042006.jar:/usr/local/gump/packages/antlr-2.7.6/antlr.jar --------------------------------------------- http-download: [get] Getting: http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/servletapi-2.3.jar [get] Not modified - so not downloaded werken-xpath-download: http-download: [get] Getting: http://www.ibiblio.org/maven/werken-xpath/jars/werken-xpath-0.9.4.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/werken-xpath-0.9.4.jar [get] Not modified - so not downloaded basic-prepare: check-jdbc: check-jdbc-true: check-jdbc-false: prepare-jdbc: check-jdk14: check-jdk14-true: check-jdk14-false: prepare-jdk14: prepare: compile-src: compile-test: [javac] Compiling 58 source files to /x1/gump/public/workspace/jakarta-velocity/bin/test-classes [javac] Note: /x1/gump/public/workspace/jakarta-velocity/bin/test-src/org/apache/velocity/test/VelocityServletTestCase.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. test: [mkdir] Created dir: /x1/gump/public/workspace/jakarta-velocity/bin/test-reports [junit] Running org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.046 sec BUILD FAILED /x1/gump/public/workspace/jakarta-velocity/build/build.xml:758: Test org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase failed Total time: 7 seconds --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 27000027042006, vmgump.apache.org:vmgump-public:27000027042006 Gump E-mail Identifier (unique within run) #57. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 27 11:04:49 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40341 invoked from network); 27 Apr 2006 11:04:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Apr 2006 11:04:49 -0000 Received: (qmail 3712 invoked by uid 500); 27 Apr 2006 11:04:45 -0000 Delivered-To: [email protected] Received: (qmail 3687 invoked by uid 500); 27 Apr 2006 11:04:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 3676 invoked by uid 99); 27 Apr 2006 11:04:44 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Apr 2006 04:04:44 -0700 Date: Thu, 27 Apr 2006 03:51:05 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-tools (in module jakarta-velocity-tools) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-tools has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 29 runs. The current state of this project is 'Failed', with reason 'Configuration Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-tools : Velocity-Tools project Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason configuration failed -ERROR- Bad Dependency. Project: struts-action unknown to *this* workspace -ERROR- Bad Dependency. Project: struts-taglib unknown to *this* workspace -ERROR- Bad Dependency. Project: struts-tiles unknown to *this* workspace -INFO- Failed to extract fallback artifacts from Gump Repository To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 27000027042006, vmgump.apache.org:vmgump-public:27000027042006 Gump E-mail Identifier (unique within run) #86. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 27 23:43:04 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84761 invoked from network); 27 Apr 2006 23:43:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Apr 2006 23:43:03 -0000 Received: (qmail 11322 invoked by uid 500); 27 Apr 2006 23:43:03 -0000 Delivered-To: [email protected] Received: (qmail 11195 invoked by uid 500); 27 Apr 2006 23:43:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 11184 invoked by uid 99); 27 Apr 2006 23:43:02 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Apr 2006 16:43:02 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ciao.gmane.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Apr 2006 16:43:01 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FZG7p-0004oH-50 for [email protected]; Fri, 28 Apr 2006 01:42:21 +0200 Received: from ip68-227-208-175.dc.dc.cox.net ([161.129.204.104]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <[email protected]>; Fri, 28 Apr 2006 01:42:21 +0200 Received: from asrinivasan by ip68-227-208-175.dc.dc.cox.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <[email protected]>; Fri, 28 Apr 2006 01:42:21 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: [email protected] From: Arvind Srinivasan <[email protected]> Subject: macros embedded in content Date: Thu, 27 Apr 2006 23:42:01 +0000 (UTC) Lines: 54 Message-ID: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: [email protected] X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 161.129.204.104 (Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:161.129.204.104) Gecko/20060308 Firefox/161.129.204.104) Sender: news <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Sorry, if this has question of mine has been posted already - i am really not sure about the terminology used to search.... We are researching on usage of velocity at our place....we have setup velocity with templates being loaded from databases, setup for using the macros etc. If the 'rendered' content has VTL code in it, I am curious, as to how/whether we can support 'another pass' of velocity, ..as in, user-generated content using system defined velocity macros. example.... ##define a macro to 'bold' the output text in bold.vm #macro (bolder $text) <b>$text</b> #end final template..... Template (foo.vm) ------------------- #parse ('bold.vm') <html> #bolder ('welcome john doe') #foreach ($color in $colorlist) $color (<!--pardon any syntax error - and assume the pseudo code works) #end </html> The user maintains $colorlist (externally in a database as) red, blue, #bolder ('green'), black, #bolder('yellow') - and the expectation is that the list when printed, would contain the text green and yellow in bold..(as per the #bolder macro behavior) When the velocity engine is done with its work, #bolder (sometext) does not get evaluated and it gets printed out as-is This requirement is like the usage of macros in confluence (atlassian) etc - just curious whether there are users who have used velocity for this purpose. If there are - any best practises/things to watch out for ? Are there other ways of handling such requirements ? p.s : I have posted the same in google java groups and hope does not come across as cross posting. http://groups.google.com/group/comp.lang.java.programmer/browse_frm/thread/4e934e5f2636c90e --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Apr 27 23:53:28 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87057 invoked from network); 27 Apr 2006 23:53:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Apr 2006 23:53:28 -0000 Received: (qmail 19287 invoked by uid 500); 27 Apr 2006 23:53:21 -0000 Delivered-To: [email protected] Received: (qmail 19259 invoked by uid 500); 27 Apr 2006 23:53:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 19233 invoked by uid 99); 27 Apr 2006 23:53:21 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Apr 2006 16:53:21 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO forio.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Apr 2006 16:53:20 -0700 Received: (qmail 6046 invoked from network); 27 Apr 2006 23:52:59 -0000 Received: from adsl-69-107-65-175.dsl.pltn13.pacbell.net (HELO ?161.129.204.104?) (161.129.204.104) by broadcast.forio.com with AES256-SHA encrypted SMTP; 27 Apr 2006 23:52:59 -0000 Message-ID: <[email protected]> Date: Thu, 27 Apr 2006 16:52:30 -0700 From: Will Glass-Husain <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20060308) MIME-Version: 1.0 To: Velocity Developers List <[email protected]> Subject: Re: macros embedded in content References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You cannot parse a file containing macros and have them work reliably in the main page. See http://wiki.apache.org/jakarta-velocity/MacroIssues You can however collect all your macros together and put them in VM_global_library.vm. All such macros will be loaded at initialization time. See http://jakarta.apache.org/velocity/docs/developer-guide.html#Velocity%20Configuration%20Keys%20and%20Values WILL P.S. As an aside, send followup or further questions to the users list please, [email protected]. Thanks! || Arvind Srinivasan wrote: > Sorry, if this has question of mine has been posted already - i am really not > sure about the terminology used to search.... > > We are researching on usage of velocity at our place....we have setup > velocity with templates being loaded from databases, setup for using > the macros etc. > > If the 'rendered' content has VTL code in it, I am curious, as to > how/whether we can support 'another pass' of velocity, ..as in, > user-generated content using system defined velocity macros. > > example.... > > ##define a macro to 'bold' the output text in bold.vm > #macro (bolder $text) > <b>$text</b> > #end > > final template..... > > Template (foo.vm) > ------------------- > > #parse ('bold.vm') > > <html> > > #bolder ('welcome john doe') > > #foreach ($color in $colorlist) > $color (<!--pardon any syntax error - and assume the pseudo code works) > #end > > </html> > > The user maintains $colorlist (externally in a database as) red, blue, #bolder > ('green'), black, #bolder('yellow') - and the expectation is that the list when > printed, would contain the text green and yellow in bold..(as per the #bolder > macro behavior) > > When the velocity engine is done with its work, #bolder (sometext) does > not get evaluated and it gets printed out as-is > > This requirement is like the usage of macros in confluence (atlassian) > etc - just curious whether there are users who have used velocity for > this purpose. If there are - any best practises/things to watch out for > ? > > Are there other ways of handling such requirements ? > > p.s : I have posted the same in google java groups and hope does not come > across as cross posting. > > http://groups.google.com/group/comp.lang.java.programmer/browse_frm/thread/4e934e5f2636c90e > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > -- Forio Business Simulations Will Glass-Husain phone +1-913-501-1940 mobile +1-913-501-1940 [email protected] www.forio.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 28 09:36:30 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35785 invoked from network); 28 Apr 2006 09:36:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Apr 2006 09:36:29 -0000 Received: (qmail 96401 invoked by uid 500); 28 Apr 2006 09:36:28 -0000 Delivered-To: [email protected] Received: (qmail 96380 invoked by uid 500); 28 Apr 2006 09:36:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 96369 invoked by uid 99); 28 Apr 2006 09:36:26 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Apr 2006 02:36:26 -0700 Date: Fri, 28 Apr 2006 02:22:44 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-test (in module jakarta-velocity) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 136 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-test : Template engine Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/gump_work/build_jakarta-velocity_jakarta-velocity-test.html Work Name: build_jakarta-velocity_jakarta-velocity-test (Type: Build) Work ended in a state of : Failed Elapsed: 7 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only test [Working Directory: /usr/local/gump/public/workspace/jakarta-velocity/build] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/test-classes:/usr/local/gump/public/workspace/jakarta-velocity/test/cpload/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/texen-classpath/test.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/multiloader/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-28042006.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-dep-28042006.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-servletapi/dist/lib/servlet.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/packages/werken-xpath/werken-xpath-0.9.4.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-28042006.jar:/usr/local/gump/public/workspace/jakarta-bcel/target/bcel-28042006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-28042006.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-28042006.jar:/usr/local/gump/public/workspace/excalibur/containerkit/logkit/target/excalibur-logkit-28042006.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-28042006.jar:/usr/local/gump/packages/antlr-2.7.6/antlr.jar --------------------------------------------- http-download: [get] Getting: http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/servletapi-2.3.jar [get] Not modified - so not downloaded werken-xpath-download: http-download: [get] Getting: http://www.ibiblio.org/maven/werken-xpath/jars/werken-xpath-0.9.4.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/werken-xpath-0.9.4.jar [get] Not modified - so not downloaded basic-prepare: check-jdbc: check-jdbc-true: check-jdbc-false: prepare-jdbc: check-jdk14: check-jdk14-true: check-jdk14-false: prepare-jdk14: prepare: compile-src: compile-test: [javac] Compiling 58 source files to /x1/gump/public/workspace/jakarta-velocity/bin/test-classes [javac] Note: /x1/gump/public/workspace/jakarta-velocity/bin/test-src/org/apache/velocity/test/VelocityServletTestCase.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. test: [mkdir] Created dir: /x1/gump/public/workspace/jakarta-velocity/bin/test-reports [junit] Running org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.038 sec BUILD FAILED /x1/gump/public/workspace/jakarta-velocity/build/build.xml:758: Test org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase failed Total time: 6 seconds --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 27000028042006, vmgump.apache.org:vmgump-public:27000028042006 Gump E-mail Identifier (unique within run) #54. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Apr 28 10:56:34 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74271 invoked from network); 28 Apr 2006 10:56:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Apr 2006 10:56:28 -0000 Received: (qmail 2798 invoked by uid 500); 28 Apr 2006 10:56:19 -0000 Delivered-To: [email protected] Received: (qmail 2596 invoked by uid 500); 28 Apr 2006 10:56:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 2585 invoked by uid 99); 28 Apr 2006 10:56:17 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Apr 2006 03:56:17 -0700 Date: Fri, 28 Apr 2006 03:42:35 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-tools (in module jakarta-velocity-tools) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-tools has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 32 runs. The current state of this project is 'Failed', with reason 'Configuration Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-tools : Velocity-Tools project Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason configuration failed -ERROR- Bad Dependency. Project: struts-action unknown to *this* workspace -ERROR- Bad Dependency. Project: struts-taglib unknown to *this* workspace -ERROR- Bad Dependency. Project: struts-tiles unknown to *this* workspace -INFO- Failed to extract fallback artifacts from Gump Repository To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 27000028042006, vmgump.apache.org:vmgump-public:27000028042006 Gump E-mail Identifier (unique within run) #84. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 29 09:36:25 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20477 invoked from network); 29 Apr 2006 09:36:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Apr 2006 09:36:25 -0000 Received: (qmail 40938 invoked by uid 500); 29 Apr 2006 09:36:24 -0000 Delivered-To: [email protected] Received: (qmail 40916 invoked by uid 500); 29 Apr 2006 09:36:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 40905 invoked by uid 99); 29 Apr 2006 09:36:23 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Apr 2006 02:36:23 -0700 Date: Sat, 29 Apr 2006 02:22:36 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-test (in module jakarta-velocity) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 138 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-test : Template engine Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/gump_work/build_jakarta-velocity_jakarta-velocity-test.html Work Name: build_jakarta-velocity_jakarta-velocity-test (Type: Build) Work ended in a state of : Failed Elapsed: 7 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only test [Working Directory: /usr/local/gump/public/workspace/jakarta-velocity/build] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/test-classes:/usr/local/gump/public/workspace/jakarta-velocity/test/cpload/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/texen-classpath/test.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/multiloader/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-29042006.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-dep-29042006.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-servletapi/dist/lib/servlet.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/packages/werken-xpath/werken-xpath-0.9.4.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-29042006.jar:/usr/local/gump/public/workspace/jakarta-bcel/target/bcel-29042006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-29042006.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-29042006.jar:/usr/local/gump/public/workspace/excalibur/containerkit/logkit/target/excalibur-logkit-29042006.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-29042006.jar:/usr/local/gump/packages/antlr-2.7.6/antlr.jar --------------------------------------------- http-download: [get] Getting: http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/servletapi-2.3.jar [get] Not modified - so not downloaded werken-xpath-download: http-download: [get] Getting: http://www.ibiblio.org/maven/werken-xpath/jars/werken-xpath-0.9.4.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/werken-xpath-0.9.4.jar [get] Not modified - so not downloaded basic-prepare: check-jdbc: check-jdbc-true: check-jdbc-false: prepare-jdbc: check-jdk14: check-jdk14-true: check-jdk14-false: prepare-jdk14: prepare: compile-src: compile-test: [javac] Compiling 58 source files to /x1/gump/public/workspace/jakarta-velocity/bin/test-classes [javac] Note: /x1/gump/public/workspace/jakarta-velocity/bin/test-src/org/apache/velocity/test/VelocityServletTestCase.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. test: [mkdir] Created dir: /x1/gump/public/workspace/jakarta-velocity/bin/test-reports [junit] Running org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.04 sec BUILD FAILED /x1/gump/public/workspace/jakarta-velocity/build/build.xml:758: Test org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase failed Total time: 6 seconds --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 25000029042006, vmgump.apache.org:vmgump-public:25000029042006 Gump E-mail Identifier (unique within run) #53. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Apr 29 10:56:29 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37634 invoked from network); 29 Apr 2006 10:56:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Apr 2006 10:56:29 -0000 Received: (qmail 77399 invoked by uid 500); 29 Apr 2006 10:56:28 -0000 Delivered-To: [email protected] Received: (qmail 77196 invoked by uid 500); 29 Apr 2006 10:56:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 77179 invoked by uid 99); 29 Apr 2006 10:56:27 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Apr 2006 03:56:27 -0700 Date: Sat, 29 Apr 2006 03:42:40 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-tools (in module jakarta-velocity-tools) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-tools has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 34 runs. The current state of this project is 'Failed', with reason 'Configuration Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-tools : Velocity-Tools project Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason configuration failed -ERROR- Bad Dependency. Project: struts-action unknown to *this* workspace -ERROR- Bad Dependency. Project: struts-taglib unknown to *this* workspace -ERROR- Bad Dependency. Project: struts-tiles unknown to *this* workspace -INFO- Failed to extract fallback artifacts from Gump Repository To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 25000029042006, vmgump.apache.org:vmgump-public:25000029042006 Gump E-mail Identifier (unique within run) #83. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 30 09:34:50 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7719 invoked from network); 30 Apr 2006 09:34:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Apr 2006 09:34:49 -0000 Received: (qmail 92713 invoked by uid 500); 30 Apr 2006 09:34:49 -0000 Delivered-To: [email protected] Received: (qmail 92504 invoked by uid 500); 30 Apr 2006 09:34:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 92492 invoked by uid 99); 30 Apr 2006 09:34:47 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Apr 2006 02:34:47 -0700 Date: Sun, 30 Apr 2006 02:20:56 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-test (in module jakarta-velocity) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 141 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-test : Template engine Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/gump_work/build_jakarta-velocity_jakarta-velocity-test.html Work Name: build_jakarta-velocity_jakarta-velocity-test (Type: Build) Work ended in a state of : Failed Elapsed: 8 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only test [Working Directory: /usr/local/gump/public/workspace/jakarta-velocity/build] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/test-classes:/usr/local/gump/public/workspace/jakarta-velocity/test/cpload/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/texen-classpath/test.jar:/usr/local/gump/public/workspace/jakarta-velocity/test/multiloader/test1.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-30042006.jar:/usr/local/gump/public/workspace/jakarta-velocity/bin/velocity-dep-30042006.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-servletapi/dist/lib/servlet.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/packages/werken-xpath/werken-xpath-0.9.4.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-30042006.jar:/usr/local/gump/public/workspace/jakarta-bcel/target/bcel-30042006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-30042006.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-30042006.jar:/usr/local/gump/public/workspace/excalibur/containerkit/logkit/target/excalibur-logkit-30042006.jar:/usr/local/gump/public/workspace/jakarta-oro/jakarta-oro-30042006.jar:/usr/local/gump/packages/antlr-2.7.6/antlr.jar --------------------------------------------- http-download: [get] Getting: http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/servletapi-2.3.jar [get] Not modified - so not downloaded werken-xpath-download: http-download: [get] Getting: http://www.ibiblio.org/maven/werken-xpath/jars/werken-xpath-0.9.4.jar [get] To: /x1/gump/public/workspace/jakarta-velocity/bin/lib/werken-xpath-0.9.4.jar [get] Not modified - so not downloaded basic-prepare: check-jdbc: check-jdbc-true: check-jdbc-false: prepare-jdbc: check-jdk14: check-jdk14-true: check-jdk14-false: prepare-jdk14: prepare: compile-src: compile-test: [javac] Compiling 58 source files to /x1/gump/public/workspace/jakarta-velocity/bin/test-classes [javac] Note: /x1/gump/public/workspace/jakarta-velocity/bin/test-src/org/apache/velocity/test/VelocityServletTestCase.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. test: [mkdir] Created dir: /x1/gump/public/workspace/jakarta-velocity/bin/test-reports [junit] Running org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.042 sec BUILD FAILED /x1/gump/public/workspace/jakarta-velocity/build/build.xml:758: Test org.apache.velocity.test.AbsoluteFileResourceLoaderTestCase failed Total time: 8 seconds --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity/jakarta-velocity-test/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 28000030042006, vmgump.apache.org:vmgump-public:28000030042006 Gump E-mail Identifier (unique within run) #54. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 30 10:54:45 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 23273 invoked from network); 30 Apr 2006 10:54:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Apr 2006 10:54:45 -0000 Received: (qmail 35089 invoked by uid 500); 30 Apr 2006 10:54:44 -0000 Delivered-To: [email protected] Received: (qmail 34889 invoked by uid 500); 30 Apr 2006 10:54:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 34878 invoked by uid 99); 30 Apr 2006 10:54:43 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Apr 2006 03:54:43 -0700 Date: Sun, 30 Apr 2006 03:40:52 PDT From: Velocity Gump <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-velocity-tools (in module jakarta-velocity-tools) failed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-velocity-tools has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 37 runs. The current state of this project is 'Failed', with reason 'Configuration Failed'. For reference only, the following projects are affected by this: - jakarta-velocity-tools : Velocity-Tools project Full details are available at: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Failed with reason configuration failed -ERROR- Bad Dependency. Project: struts-action unknown to *this* workspace -ERROR- Bad Dependency. Project: struts-taglib unknown to *this* workspace -ERROR- Bad Dependency. Project: struts-tiles unknown to *this* workspace -INFO- Failed to extract fallback artifacts from Gump Repository To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-velocity-tools/jakarta-velocity-tools/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.2. Gump Run 28000030042006, vmgump.apache.org:vmgump-public:28000030042006 Gump E-mail Identifier (unique within run) #82. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 30 15:22:24 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3118 invoked from network); 30 Apr 2006 15:22:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Apr 2006 15:22:24 -0000 Received: (qmail 63360 invoked by uid 500); 30 Apr 2006 15:22:23 -0000 Delivered-To: [email protected] Received: (qmail 63342 invoked by uid 500); 30 Apr 2006 15:22:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 63331 invoked by uid 99); 30 Apr 2006 15:22:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Apr 2006 08:22:22 -0700 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_MESSAGE,HTML_TAG_EXIST_TBODY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO fmmailgate05.web.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Apr 2006 08:22:19 -0700 Received: by fmmailgate05.web.de (8.12.10/8.12.10/webde Linux 0.7) with SMTP id k3UFLjTP011409 for <[email protected]>; Sun, 30 Apr 2006 17:21:56 +0200 Received: from [161.129.204.104] by freemailng2305.web.de with HTTP; Sun, 30 Apr 2006 17:21:55 +0200 Date: Sun, 30 Apr 2006 17:21:55 +0200 Message-Id: <[email protected]> MIME-Version: 1.0 From: julia schmitz <[email protected]> To: [email protected] Subject: FW: can not find velocity template vm Organization: http://freemail.web.de/ Content-Type: multipart/alternative; boundary="=-------------11464105161816665995" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --=-------------11464105161816665995 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Hello to all Velocity - User, Can someone help me: Where is the mistake why i get the this Error: Error: org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'displaylist.vm' I give you some more information about my application. I have installed Eclipse 3.1.2, Tomcat 5.0.28 and Sysdeo (Tomcat Plugin) 3.1.0. In the %CATALINA_HOME%confweb.xml File i activated the Invoker Servlet. My Classpath is : ANT_HOME C:javaant CATALINA_HOME C:ProgrammeApache Software FoundationTomcat JAVA_HOME C:javaj2sdk Then i added a new Tomcat Project into D:My DocumentsEclipseworkspacePM --> application_root (app_root) D:My DocumentsEclipseworkspaceIPMWEB-INFlib: here i put the velocity-dep-1.4.jar file In the WEB-INF i created 2 files: web.xml and velocity.properties: web.xml: <web-app xmlns="http://java.sun.com/xml/ns/j2ee [http://java.sun.com/xml/ns/j2ee]" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance [http://www.w3.org/2001/XMLSchema-instance]" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee [http://java.sun.com/xml/ns/j2ee] http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd [http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd]" version="2.4"> <display-name>Test</display-name> <description> Test </description> <servlet> <servlet-name>Test</servlet-name> <servlet-class>/Test</servlet-class> <init-param> <param-name>properties</param-name> <param-value>>/WEB-INF/velocity.properties</param-value> </init-param> <servlet-mapping> <servlet-name>Test</servlet-name> <url-pattern>/Test</url-pattern> </servlet-mapping> </servlet> </web-app> velocity.properties: file.resource.loader.path = / file.resource.loader.cache = true file.resource.loader.modificationCheckInterval = 1 runtime.log.error.stacktrace = true runtime.log = /WEB-INF/velocity.log This is my test Class: package test; import java.io.PrintWriter; import java.util.Vector; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.velocity.*; import org.apache.velocity.context.Context; import org.apache.velocity.*; import org.apache.velocity.app.*; import org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader; import org.apache.velocity.servlet.*; import org.apache.velocity.context.*; import javax.servlet.*; import javax.servlet.http.*; import java.util.*; import java.io.*; import org.apache.velocity.servlet.VelocityServlet; import java.io.*; public class Test extends VelocityServlet { public Template handleRequest(HttpServletRequest request, HttpServletResponse response, Context context)throws Exception { PrintWriter out = response.getWriter(); Vector v = new Vector(); v.add("one"); v.add("two"); v.add("three"); context.put("list", v);; Template template = null; try { template = Velocity.getTemplate("displaylist.vm"); } catch (Exception e) { out.println("<html>"); out.println("<head>"); out.println("<title>Error</title>"); out.println("</head>"); out.println("<body>"); out.println("<h1>This is the Error:</h1>"); out.println("Error: " + e); out.println("</body>"); out.println("</html>"); } return template; } } I put the displaylist.vm in the app_root. I hope you can understand what i did and can you see where is the mistake? Thank you very very much because i tried eveything and the template is not found. Bye Bye Julia SMS schreiben mit WEB.DE FreeMail - einfach, schnell und kostenguenstig. Jetzt gleich testen! *http://f.web.de/?mc=021192* [http://f.web.de/?mc=021192] --=-------------11464105161816665995-- From [email protected] Sun Apr 30 15:58:14 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12161 invoked from network); 30 Apr 2006 15:58:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Apr 2006 15:58:14 -0000 Received: (qmail 80364 invoked by uid 500); 30 Apr 2006 15:58:14 -0000 Delivered-To: [email protected] Received: (qmail 80163 invoked by uid 500); 30 Apr 2006 15:58:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 80152 invoked by uid 99); 30 Apr 2006 15:58:13 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Apr 2006 08:58:13 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Apr 2006 08:58:10 -0700 Received: by nproxy.gmail.com with SMTP id n28so1457688nfc for <[email protected]>; Sun, 30 Apr 2006 08:57:50 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=uOSb7l6OWRwwcx5FhFcJpfOrXLDClHQGm18sgU4gmxuWk955Eqq87AQKRGhgnLRpFS9tfqq8BOlrIftWJu+gxMp3EjdoXks8yvnQ/zcqQfJmDL2AKAlIsswnkuSRB62nUuL5w4SFCDunmSxgJD3364S2uakCGDOWKeXtFEt1uAc= Received: by 161.129.204.104 with SMTP id d17mr1257440nfj; Sun, 30 Apr 2006 08:57:50 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sun, 30 Apr 2006 08:57:50 -0700 (PDT) Message-ID: <[email protected]> Date: Sun, 30 Apr 2006 08:57:50 -0700 From: "Nathan Bubna" <[email protected]> To: "Velocity Developers List" <[email protected]> Subject: Re: FW: can not find velocity template vm In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Please send Velocity usage questions to the velocity-user list and do not cross post your messages to both lists. Those of us subscribed to both lists only need one copy, thanks. On 4/30/06, julia schmitz <[email protected]> wrote: > > > > > > > Hello to all Velocity - User, > > Can someone help me: Where is the mistake why i get the this Error: > > Error: org.apache.velocity.exception.ResourceNotFoundException: Unable to= find resource 'displaylist.vm' > > I give you some more information about my application. > > I have installed Eclipse 3.1.2, Tomcat 5.0.28 and Sysdeo (Tomcat Plugin) = 3.1.0. In the %CATALINA_HOME%confweb.xml File i activated the Invoker Servl= et. > > My Classpath is : > > ANT_HOME C:javaant > > CATALINA_HOME C:ProgrammeApache Software FoundationTomcat > > JAVA_HOME C:javaj2sdk > > > > Then i added a new Tomcat Project into > > D:My DocumentsEclipseworkspacePM --> application_root (app_root) > > D:My DocumentsEclipseworkspaceIPMWEB-INFlib: here i put the velocity-dep-= 1.4.jar file > > In the WEB-INF i created 2 files: web.xml and velocity.properties: > > web.xml: > > <web-app xmlns=3D"http://java.sun.com/xml/ns/j2ee [http://java.sun.com/xm= l/ns/j2ee]" > xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance [http://www.w3.or= g/2001/XMLSchema-instance]" > xsi:schemaLocation=3D"http://java.sun.com/xml/ns/j2ee [http://java.sun.c= om/xml/ns/j2ee] http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd [http://jav= a.sun.com/xml/ns/j2ee/web-app_2_4.xsd]" > version=3D"2.4"> > > <display-name>Test</display-name> > <description> Test </description> > <servlet> > <servlet-name>Test</servlet-name> > <servlet-class>/Test</servlet-class> > <init-param> > <param-name>properties</param-name> > <param-value>>/WEB-INF/velocity.properties</param-value> > </init-param> > <servlet-mapping> > <servlet-name>Test</servlet-name> > <url-pattern>/Test</url-pattern> > </servlet-mapping> > </servlet> > </web-app> > > velocity.properties: > > file.resource.loader.path =3D / > file.resource.loader.cache =3D true > file.resource.loader.modificationCheckInterval =3D 1 > runtime.log.error.stacktrace =3D true > runtime.log =3D /WEB-INF/velocity.log > > This is my test Class: > > package test; > > import java.io.PrintWriter; > import java.util.Vector; > import javax.servlet.http.HttpServletRequest; > import javax.servlet.http.HttpServletResponse; > import org.apache.velocity.*; > import org.apache.velocity.context.Context; > import org.apache.velocity.*; > import org.apache.velocity.app.*; > import org.apache.velocity.runtime.resource.loader.ClasspathResourceLoade= r; > import org.apache.velocity.servlet.*; > import org.apache.velocity.context.*; > import javax.servlet.*; > import javax.servlet.http.*; > import java.util.*; > import java.io.*; > import org.apache.velocity.servlet.VelocityServlet; > import java.io.*; > > public class Test extends VelocityServlet { > > public Template handleRequest(HttpServletRequest request, > HttpServletResponse response, Context context)throws Exception { > > PrintWriter out =3D response.getWriter(); > Vector v =3D new Vector(); > v.add("one"); > v.add("two"); > v.add("three"); > context.put("list", v);; > Template template =3D null; > try { > template =3D Velocity.getTemplate("displaylist.vm"); > > } catch (Exception e) { > > out.println("<html>"); > out.println("<head>"); > out.println("<title>Error</title>"); > out.println("</head>"); > out.println("<body>"); > out.println("<h1>This is the Error:</h1>"); > out.println("Error: " + e); > out.println("</body>"); > out.println("</html>"); > } > return template; > } > } > > > > I put the displaylist.vm in the app_root. > > I hope you can understand what i did and can you see where is the mistake= ? > > Thank you very very much because i tried eveything and the template is no= t found. > > Bye Bye > > Julia > > > > > SMS schreiben mit WEB.DE FreeMail - einfach, schnell und > kostenguenstig. Jetzt gleich testen! *http://f.web.de/?mc=3D021192* [http= ://f.web.de/?mc=3D021192] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 30 16:27:25 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 19526 invoked from network); 30 Apr 2006 16:27:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Apr 2006 16:27:25 -0000 Received: (qmail 93178 invoked by uid 500); 30 Apr 2006 16:27:24 -0000 Delivered-To: [email protected] Received: (qmail 93162 invoked by uid 500); 30 Apr 2006 16:27:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 93151 invoked by uid 99); 30 Apr 2006 16:27:24 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Apr 2006 09:27:24 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO fed1rmmtao01.cox.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Apr 2006 09:27:18 -0700 Received: from lfalco ([161.129.204.104]) by fed1rmmtao01.cox.net (InterMail vM.161.129.204.104 201-2131-130-101-20060113) with SMTP id <20060430162656.IZCY25692.fed1rmmtao01.cox.net@lfalco> for <[email protected]>; Sun, 30 Apr 2006 12:26:56 -0400 Message-ID: <001501c66c72$ef159b40$0a01a8c0@lfalco> Reply-To: "Llewellyn Falco" <[email protected]> From: "Llewellyn Falco" <[email protected]> To: "Velocity Developers List" <[email protected]> References: <[email protected]> Subject: Re: can not find velocity template vm Date: Sun, 30 Apr 2006 09:27:11 -0700 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-15"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ok, so the if you just want to debug, allow these suggestions. 1) not sure if it was a copy/paste, but if it is there is a double >> > <param-value>>/WEB-INF/velocity.properties</param-value> 2) check that your properties are being loaded. System.out.println("runtime.log = " + new VelocityEngine().getProperty("runtime.log")); 3) check that you root path is what you think it is. System.out.println("default path = " + new File("/").getAbsolutePath()); other points, not really related.... 4) you mentioned you are using eclipse, pay attention to the warnings. it will show stuff like the double ;; and the imports, which are easy to clean with an organize imports (ctrl + shift + o) 5) likewise checkout veloeclipse for your templates Help -> Software Updates -> Find and Install... -> Search for new features to install -> Add Update Site... -> Name : Veloeclipse URL: http://propsorter.sourceforge.net/veloeclipse --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 30 16:53:17 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25566 invoked from network); 30 Apr 2006 16:53:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Apr 2006 16:53:17 -0000 Received: (qmail 9777 invoked by uid 500); 30 Apr 2006 16:53:17 -0000 Delivered-To: [email protected] Received: (qmail 9758 invoked by uid 500); 30 Apr 2006 16:53:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 9747 invoked by uid 99); 30 Apr 2006 16:53:16 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Apr 2006 09:53:16 -0700 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_MESSAGE,HTML_TAG_EXIST_TBODY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO fmmailgate04.web.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Apr 2006 09:53:13 -0700 Received: by fmmailgate04.web.de (8.12.10/8.12.10/webde Linux 0.7) with SMTP id k3UGqha9026442 for <[email protected]>; Sun, 30 Apr 2006 18:52:52 +0200 Received: from [161.129.204.104] by freemailng2305.web.de with HTTP; Sun, 30 Apr 2006 18:52:52 +0200 Date: Sun, 30 Apr 2006 18:52:52 +0200 Message-Id: <[email protected]> MIME-Version: 1.0 From: julia schmitz <[email protected]> To: Velocity Developers List <[email protected]> Subject: Re: can not find velocity template vm Organization: http://freemail.web.de/ Content-Type: multipart/alternative; boundary="=-------------11464159723079986849" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --=-------------11464159723079986849 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Thanks, here is the result: 1) yes it was a double > 2) runtime.log = null 3)default path = C:\ 4) eclipse warning when i start: 30.04.2006 17:51:03 org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-80 30.04.2006 17:51:03 org.apache.catalina.startup.Catalina load INFO: Initialization processed in 1472 ms 30.04.2006 17:51:04 org.apache.catalina.core.StandardService start INFO: Starting service Catalina 30.04.2006 17:51:04 org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.0.28 30.04.2006 17:51:04 org.apache.catalina.core.StandardHost start INFO: XML validation disabled 30.04.2006 17:51:04 org.apache.catalina.core.StandardHost getDeployer INFO: Create Host deployer for direct deployment ( non-jmx ) 30.04.2006 17:51:04 org.apache.catalina.core.StandardHostDeployer install INFO: Processing Context configuration file URL file:C:\Programme\Apache Software Foundation\Tomcat\conf\Catalina\localhost\balancer.xml 30.04.2006 17:51:05 org.apache.catalina.core.StandardHostDeployer install INFO: Processing Context configuration file URL file:C:\Programme\Apache Software Foundation\Tomcat\conf\Catalina\localhost\admin.xml 30.04.2006 17:51:05 org.apache.struts.util.PropertyMessageResources <init> INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true 30.04.2006 17:51:05 org.apache.struts.util.PropertyMessageResources <init> INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true 30.04.2006 17:51:06 org.apache.struts.util.PropertyMessageResources <init> INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true 30.04.2006 17:51:07 org.apache.catalina.core.StandardHostDeployer install INFO: Processing Context configuration file URL file:C:\Programme\Apache Software Foundation\Tomcat\conf\Catalina\localhost\manager.xml 30.04.2006 17:51:07 org.apache.catalina.core.StandardHostDeployer install INFO: Processing Context configuration file URL file:C:\Programme\Apache Software Foundation\Tomcat\conf\Catalina\localhost\Velocity.xml 30.04.2006 17:51:07 org.apache.catalina.core.StandardHostDeployer install INFO: Processing Context configuration file URL file:C:\Programme\Apache Software Foundation\Tomcat\conf\Catalina\localhost\webdav.xml 30.04.2006 17:51:07 org.apache.catalina.core.StandardHostDeployer install INFO: Processing Context configuration file URL file:C:\Programme\Apache Software Foundation\Tomcat\conf\Catalina\localhost\servlets-examples.xml 30.04.2006 17:51:07 org.apache.catalina.core.StandardHostDeployer install INFO: Processing Context configuration file URL file:C:\Programme\Apache Software Foundation\Tomcat\conf\Catalina\localhost\jsp-examples.xml 30.04.2006 17:51:07 org.apache.catalina.core.StandardHostDeployer install INFO: Processing Context configuration file URL file:C:\Programme\Apache Software Foundation\Tomcat\conf\Catalina\localhost\tomcat-docs.xml 30.04.2006 17:51:08 org.apache.catalina.core.StandardHostDeployer install INFO: Processing Context configuration file URL file:C:\Programme\Apache Software Foundation\Tomcat\conf\Catalina\localhost\ROOT.xml 30.04.2006 17:51:08 org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-80 30.04.2006 17:51:08 org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /161.129.204.104:8009 30.04.2006 17:51:08 org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/40 config=C:\Programme\Apache Software Foundation\Tomcat\conf\jk2.properties 30.04.2006 17:51:08 org.apache.catalina.startup.Catalina start INFO: Server startup in 4446 ms *Von:* "Velocity Developers List" <[email protected]> *Gesendet:* 30.04.06 18:27:34 *An:* "Velocity Developers List" <[email protected]> *Betreff:* Re: can not find velocity template vm ok, so the if you just want to debug, allow these suggestions. 1) not sure if it was a copy/paste, but if it is there is a double >> > <param-value>>/WEB-INF/velocity.properties</param-value> 2) check that your properties are being loaded. System.out.println("runtime.log = " + new VelocityEngine().getProperty("runtime.log")); 3) check that you root path is what you think it is. System.out.println("default path = " + new File("/").getAbsolutePath()); other points, not really related.... 4) you mentioned you are using eclipse, pay attention to the warnings. it will show stuff like the double ;; and the imports, which are easy to clean with an organize imports (ctrl + shift + o) 5) likewise checkout veloeclipse for your templates Help -> Software Updates -> Find and Install... -> Search for new features to install -> Add Update Site... -> Name : Veloeclipse URL: http://propsorter.sourceforge.net/veloeclipse --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] SMS schreiben mit WEB.DE FreeMail - einfach, schnell und kostenguenstig. Jetzt gleich testen! *http://f.web.de/?mc=021192* [http://f.web.de/?mc=021192] --=-------------11464159723079986849-- From [email protected] Sun Apr 30 19:43:20 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78335 invoked from network); 30 Apr 2006 19:43:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Apr 2006 19:43:20 -0000 Received: (qmail 8297 invoked by uid 500); 30 Apr 2006 19:43:19 -0000 Delivered-To: [email protected] Received: (qmail 8270 invoked by uid 500); 30 Apr 2006 19:43:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 8259 invoked by uid 99); 30 Apr 2006 19:43:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Apr 2006 12:43:18 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO fed1rmmtao06.cox.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Apr 2006 12:43:17 -0700 Received: from lfalco ([161.129.204.104]) by fed1rmmtao06.cox.net (InterMail vM.161.129.204.104 201-2131-130-101-20060113) with SMTP id <20060430194256.SBYC21197.fed1rmmtao06.cox.net@lfalco> for <[email protected]>; Sun, 30 Apr 2006 15:42:56 -0400 Message-ID: <001c01c66c8e$509e5f30$0a01a8c0@lfalco> Reply-To: "Llewellyn Falco" <[email protected]> From: "Llewellyn Falco" <[email protected]> To: "Velocity Developers List" <[email protected]> References: <[email protected]> Subject: Re: can not find velocity template vm Date: Sun, 30 Apr 2006 12:43:11 -0700 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-15"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N um, so it would seem your properties file is not being read, otherwise runtime.log would be there. Default path of c:\ might be occurring because of the \ instead of a . but who knows. either way, you are not getting the profile you think you are, and you are not getting path's you think you are, and you are doing it in a way that i do not, so i'll have to pass you off to someone else who does this sort of thing. anyone? llewellyn. ----- Original Message ----- From: "julia schmitz" <[email protected]> To: "Velocity Developers List" <[email protected]> Sent: Sunday, April 30, 2006 9:52 AM Subject: Re: can not find velocity template vm > > > > Thanks, here is the result: > > 1) yes it was a double > > > 2) runtime.log = null > > 3)default path = C:\ > > 4) eclipse warning when i start: > > 30.04.2006 17:51:03 org.apache.coyote.http11.Http11Protocol init > > INFO: Initializing Coyote HTTP/1.1 on http-80 > > 30.04.2006 17:51:03 org.apache.catalina.startup.Catalina load > > INFO: Initialization processed in 1472 ms > > 30.04.2006 17:51:04 org.apache.catalina.core.StandardService start > > INFO: Starting service Catalina > > 30.04.2006 17:51:04 org.apache.catalina.core.StandardEngine start > > INFO: Starting Servlet Engine: Apache Tomcat/5.0.28 > > 30.04.2006 17:51:04 org.apache.catalina.core.StandardHost start > > INFO: XML validation disabled > > 30.04.2006 17:51:04 org.apache.catalina.core.StandardHost getDeployer > > INFO: Create Host deployer for direct deployment ( non-jmx ) > > 30.04.2006 17:51:04 org.apache.catalina.core.StandardHostDeployer install > > INFO: Processing Context configuration file URL file:C:\Programme\Apache > Software Foundation\Tomcat\conf\Catalina\localhost\balancer.xml > > 30.04.2006 17:51:05 org.apache.catalina.core.StandardHostDeployer install > > INFO: Processing Context configuration file URL file:C:\Programme\Apache > Software Foundation\Tomcat\conf\Catalina\localhost\admin.xml > > 30.04.2006 17:51:05 org.apache.struts.util.PropertyMessageResources <init> > > INFO: Initializing, config='org.apache.struts.util.LocalStrings', > returnNull=true > > 30.04.2006 17:51:05 org.apache.struts.util.PropertyMessageResources <init> > > INFO: Initializing, config='org.apache.struts.action.ActionResources', > returnNull=true > > 30.04.2006 17:51:06 org.apache.struts.util.PropertyMessageResources <init> > > INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', > returnNull=true > > 30.04.2006 17:51:07 org.apache.catalina.core.StandardHostDeployer install > > INFO: Processing Context configuration file URL file:C:\Programme\Apache > Software Foundation\Tomcat\conf\Catalina\localhost\manager.xml > > 30.04.2006 17:51:07 org.apache.catalina.core.StandardHostDeployer install > > INFO: Processing Context configuration file URL file:C:\Programme\Apache > Software Foundation\Tomcat\conf\Catalina\localhost\Velocity.xml > > 30.04.2006 17:51:07 org.apache.catalina.core.StandardHostDeployer install > > INFO: Processing Context configuration file URL file:C:\Programme\Apache > Software Foundation\Tomcat\conf\Catalina\localhost\webdav.xml > > 30.04.2006 17:51:07 org.apache.catalina.core.StandardHostDeployer install > > INFO: Processing Context configuration file URL file:C:\Programme\Apache > Software Foundation\Tomcat\conf\Catalina\localhost\servlets-examples.xml > > 30.04.2006 17:51:07 org.apache.catalina.core.StandardHostDeployer install > > INFO: Processing Context configuration file URL file:C:\Programme\Apache > Software Foundation\Tomcat\conf\Catalina\localhost\jsp-examples.xml > > 30.04.2006 17:51:07 org.apache.catalina.core.StandardHostDeployer install > > INFO: Processing Context configuration file URL file:C:\Programme\Apache > Software Foundation\Tomcat\conf\Catalina\localhost\tomcat-docs.xml > > 30.04.2006 17:51:08 org.apache.catalina.core.StandardHostDeployer install > > INFO: Processing Context configuration file URL file:C:\Programme\Apache > Software Foundation\Tomcat\conf\Catalina\localhost\ROOT.xml > > 30.04.2006 17:51:08 org.apache.coyote.http11.Http11Protocol start > > INFO: Starting Coyote HTTP/1.1 on http-80 > > 30.04.2006 17:51:08 org.apache.jk.common.ChannelSocket init > > INFO: JK2: ajp13 listening on /161.129.204.104:8009 > > 30.04.2006 17:51:08 org.apache.jk.server.JkMain start > > INFO: Jk running ID=0 time=0/40 config=C:\Programme\Apache Software > Foundation\Tomcat\conf\jk2.properties > > 30.04.2006 17:51:08 org.apache.catalina.startup.Catalina start > > INFO: Server startup in 4446 ms > > > > *Von:* "Velocity Developers List" <[email protected]> > *Gesendet:* 30.04.06 18:27:34 > *An:* "Velocity Developers List" <[email protected]> > *Betreff:* Re: can not find velocity template vm > > > ok, so the if you just want to debug, allow these suggestions. > > 1) not sure if it was a copy/paste, but if it is there is a double >> >> <param-value>>/WEB-INF/velocity.properties</param-value> > > 2) check that your properties are being loaded. > System.out.println("runtime.log = " + new > VelocityEngine().getProperty("runtime.log")); > > > 3) check that you root path is what you think it is. > System.out.println("default path = " + new > File("/").getAbsolutePath()); > > other points, not really related.... > > 4) you mentioned you are using eclipse, pay attention to the warnings. it > will show stuff like the double ;; and the imports, which are easy to > clean > with an organize imports (ctrl + shift + o) > > 5) likewise checkout veloeclipse for your templates > Help -> Software Updates -> Find and Install... -> Search for new features > to install -> Add Update Site... -> > > Name : Veloeclipse > > URL: http://propsorter.sourceforge.net/veloeclipse > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > > > > SMS schreiben mit WEB.DE FreeMail - einfach, schnell und > kostenguenstig. Jetzt gleich testen! *http://f.web.de/?mc=021192* > [http://f.web.de/?mc=021192] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Apr 30 20:25:46 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92545 invoked from network); 30 Apr 2006 20:25:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Apr 2006 20:25:45 -0000 Received: (qmail 39528 invoked by uid 500); 30 Apr 2006 20:25:44 -0000 Delivered-To: [email protected] Received: (qmail 39508 invoked by uid 500); 30 Apr 2006 20:25:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Velocity Developers List" <velocity-dev.jakarta.apache.org> Reply-To: "Velocity Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 39497 invoked by uid 99); 30 Apr 2006 20:25:44 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Apr 2006 13:25:44 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Apr 2006 13:25:43 -0700 Received: by nproxy.gmail.com with SMTP id n28so1476434nfc for <[email protected]>; Sun, 30 Apr 2006 13:25:21 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fzn59yTUsTuoBMYfh3wPhsa9MFW8j1ulErdybW7X3Fb3qaXuB31EM4m88MnNbTc9rw5xRwVSotKMab4YDQa0ptgE+H3QrSkWXmdqsI2izBcTRRli5UjUW3DqNsKiHS2ZafCzQTvktRYxeNtuEdt8rI2EwegtdL/HznPWm/bfFtg= Received: by 161.129.204.104 with SMTP id g8mr7070804nfk; Sun, 30 Apr 2006 13:25:21 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sun, 30 Apr 2006 13:25:21 -0700 (PDT) Message-ID: <[email protected]> Date: Sun, 30 Apr 2006 13:25:21 -0700 From: "Nathan Bubna" <[email protected]> To: "Velocity Developers List" <[email protected]>, "Llewellyn Falco" <[email protected]> Subject: Re: can not find velocity template vm In-Reply-To: <001c01c66c8e$509e5f30$0a01a8c0@lfalco> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <[email protected]> <001c01c66c8e$509e5f30$0a01a8c0@lfalco> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I've been trying to help Julia on the user list, as this is a user question. It looks like the velocity.properties are not being read because the web.xml is not being loaded. Somehow Tomcat is being told to load the servlet class under the /Test path, without using the web.xml that she created. As evidence, note that the servlet-class in web.xml is "/Test", but the actual class is "test.Test". So i'm thinking it has to do with the way Eclipse is being used to load the servlet into Tomcat, but i don't use Eclipse so i can't help anymore than that. On 4/30/06, Llewellyn Falco <[email protected]> wrote: > um, so it would seem your properties file is not being read, otherwise > runtime.log would be there. > Default path of c:\ might be occurring because of the \ instead of a . bu= t > who knows. > > either way, you are not getting the profile you think you are, > and you are not getting path's you think you are, and you are doing it in= a > way that i do not, so i'll have to pass you off to someone else who does > this sort of thing. > > anyone? > > llewellyn. > ----- Original Message ----- > From: "julia schmitz" <[email protected]> > To: "Velocity Developers List" <[email protected]> > Sent: Sunday, April 30, 2006 9:52 AM > Subject: Re: can not find velocity template vm > > > > > > > > > > Thanks, here is the result: > > > > 1) yes it was a double > > > > > 2) runtime.log =3D null > > > > 3)default path =3D C:\ > > > > 4) eclipse warning when i start: > > > > 30.04.2006 17:51:03 org.apache.coyote.http11.Http11Protocol init > > > > INFO: Initializing Coyote HTTP/1.1 on http-80 > > > > 30.04.2006 17:51:03 org.apache.catalina.startup.Catalina load > > > > INFO: Initialization processed in 1472 ms > > > > 30.04.2006 17:51:04 org.apache.catalina.core.StandardService start > > > > INFO: Starting service Catalina > > > > 30.04.2006 17:51:04 org.apache.catalina.core.StandardEngine start > > > > INFO: Starting Servlet Engine: Apache Tomcat/5.0.28 > > > > 30.04.2006 17:51:04 org.apache.catalina.core.StandardHost start > > > > INFO: XML validation disabled > > > > 30.04.2006 17:51:04 org.apache.catalina.core.StandardHost getDeployer > > > > INFO: Create Host deployer for direct deployment ( non-jmx ) > > > > 30.04.2006 17:51:04 org.apache.catalina.core.StandardHostDeployer insta= ll > > > > INFO: Processing Context configuration file URL file:C:\Programme\Apach= e > > Software Foundation\Tomcat\conf\Catalina\localhost\balancer.xml > > > > 30.04.2006 17:51:05 org.apache.catalina.core.StandardHostDeployer insta= ll > > > > INFO: Processing Context configuration file URL file:C:\Programme\Apach= e > > Software Foundation\Tomcat\conf\Catalina\localhost\admin.xml > > > > 30.04.2006 17:51:05 org.apache.struts.util.PropertyMessageResources <in= it> > > > > INFO: Initializing, config=3D'org.apache.struts.util.LocalStrings', > > returnNull=3Dtrue > > > > 30.04.2006 17:51:05 org.apache.struts.util.PropertyMessageResources <in= it> > > > > INFO: Initializing, config=3D'org.apache.struts.action.ActionResources'= , > > returnNull=3Dtrue > > > > 30.04.2006 17:51:06 org.apache.struts.util.PropertyMessageResources <in= it> > > > > INFO: Initializing, config=3D'org.apache.webapp.admin.ApplicationResour= ces', > > returnNull=3Dtrue > > > > 30.04.2006 17:51:07 org.apache.catalina.core.StandardHostDeployer insta= ll > > > > INFO: Processing Context configuration file URL file:C:\Programme\Apach= e > > Software Foundation\Tomcat\conf\Catalina\localhost\manager.xml > > > > 30.04.2006 17:51:07 org.apache.catalina.core.StandardHostDeployer insta= ll > > > > INFO: Processing Context configuration file URL file:C:\Programme\Apach= e > > Software Foundation\Tomcat\conf\Catalina\localhost\Velocity.xml > > > > 30.04.2006 17:51:07 org.apache.catalina.core.StandardHostDeployer insta= ll > > > > INFO: Processing Context configuration file URL file:C:\Programme\Apach= e > > Software Foundation\Tomcat\conf\Catalina\localhost\webdav.xml > > > > 30.04.2006 17:51:07 org.apache.catalina.core.StandardHostDeployer insta= ll > > > > INFO: Processing Context configuration file URL file:C:\Programme\Apach= e > > Software Foundation\Tomcat\conf\Catalina\localhost\servlets-examples.xm= l > > > > 30.04.2006 17:51:07 org.apache.catalina.core.StandardHostDeployer insta= ll > > > > INFO: Processing Context configuration file URL file:C:\Programme\Apach= e > > Software Foundation\Tomcat\conf\Catalina\localhost\jsp-examples.xml > > > > 30.04.2006 17:51:07 org.apache.catalina.core.StandardHostDeployer insta= ll > > > > INFO: Processing Context configuration file URL file:C:\Programme\Apach= e > > Software Foundation\Tomcat\conf\Catalina\localhost\tomcat-docs.xml > > > > 30.04.2006 17:51:08 org.apache.catalina.core.StandardHostDeployer insta= ll > > > > INFO: Processing Context configuration file URL file:C:\Programme\Apach= e > > Software Foundation\Tomcat\conf\Catalina\localhost\ROOT.xml > > > > 30.04.2006 17:51:08 org.apache.coyote.http11.Http11Protocol start > > > > INFO: Starting Coyote HTTP/1.1 on http-80 > > > > 30.04.2006 17:51:08 org.apache.jk.common.ChannelSocket init > > > > INFO: JK2: ajp13 listening on /161.129.204.104:8009 > > > > 30.04.2006 17:51:08 org.apache.jk.server.JkMain start > > > > INFO: Jk running ID=3D0 time=3D0/40 config=3DC:\Programme\Apache Softwa= re > > Foundation\Tomcat\conf\jk2.properties > > > > 30.04.2006 17:51:08 org.apache.catalina.startup.Catalina start > > > > INFO: Server startup in 4446 ms > > > > > > > > *Von:* "Velocity Developers List" <[email protected]> > > *Gesendet:* 30.04.06 18:27:34 > > *An:* "Velocity Developers List" <[email protected]> > > *Betreff:* Re: can not find velocity template vm > > > > > > ok, so the if you just want to debug, allow these suggestions. > > > > 1) not sure if it was a copy/paste, but if it is there is a double >> > >> <param-value>>/WEB-INF/velocity.properties</param-value> > > > > 2) check that your properties are being loaded. > > System.out.println("runtime.log =3D " + new > > VelocityEngine().getProperty("runtime.log")); > > > > > > 3) check that you root path is what you think it is. > > System.out.println("default path =3D " + new > > File("/").getAbsolutePath()); > > > > other points, not really related.... > > > > 4) you mentioned you are using eclipse, pay attention to the warnings. = it > > will show stuff like the double ;; and the imports, which are easy to > > clean > > with an organize imports (ctrl + shift + o) > > > > 5) likewise checkout veloeclipse for your templates > > Help -> Software Updates -> Find and Install... -> Search for new featu= res > > to install -> Add Update Site... -> > > > > Name : Veloeclipse > > > > URL: http://propsorter.sourceforge.net/veloeclipse > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > > > > > > > > SMS schreiben mit WEB.DE FreeMail - einfach, schnell und > > kostenguenstig. Jetzt gleich testen! *http://f.web.de/?mc=3D021192* > > [http://f.web.de/?mc=3D021192] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
From [email protected] Fri Apr 02 18:58:54 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38068 invoked from network); 2 Apr 2010 18:58:54 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 2 Apr 2010 18:58:54 -0000 Received: (qmail 75954 invoked by uid 500); 2 Apr 2010 18:58:54 -0000 Delivered-To: [email protected] Received: (qmail 75893 invoked by uid 500); 2 Apr 2010 18:58:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 75490 invoked by uid 99); 2 Apr 2010 18:58:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Apr 2010 18:58:52 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Apr 2010 18:58:50 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 79347234C1EF for <[email protected]>; Fri, 2 Apr 2010 18:58:29 +0000 (UTC) Message-ID: <[email protected]> Date: Fri, 2 Apr 2010 18:58:29 +0000 (UTC) From: "Kent Brown (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (STONEHENGE-121) Proposal for M3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Proposal for M3 --------------- Key: STONEHENGE-121 URL: https://issues.apache.org/jira/browse/STONEHENGE-121 Project: Stonehenge Issue Type: Improvement Components: Documentation Environment: All Reporter: Kent Brown I am creating this to start discussion about M3 plans. I will attach a document of my proposal which has been contributed to and reviewed by several people, but is by no means locked down. Please review and comment. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Apr 02 19:01:03 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 39293 invoked from network); 2 Apr 2010 19:01:02 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 2 Apr 2010 19:01:02 -0000 Received: (qmail 84758 invoked by uid 500); 2 Apr 2010 19:00:51 -0000 Delivered-To: [email protected] Received: (qmail 84535 invoked by uid 500); 2 Apr 2010 19:00:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 84457 invoked by uid 99); 2 Apr 2010 19:00:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Apr 2010 19:00:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Apr 2010 19:00:48 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 3DB6E234C1EF for <[email protected]>; Fri, 2 Apr 2010 19:00:27 +0000 (UTC) Message-ID: <[email protected]> Date: Fri, 2 Apr 2010 19:00:27 +0000 (UTC) From: "Kent Brown (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (STONEHENGE-121) Proposal for M3 In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STONEHENGE-121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kent Brown updated STONEHENGE-121: ---------------------------------- Attachment: Stonehenge M3 Proposal.docx Attached documented proposal. > Proposal for M3 > --------------- > > Key: STONEHENGE-121 > URL: https://issues.apache.org/jira/browse/STONEHENGE-121 > Project: Stonehenge > Issue Type: Improvement > Components: Documentation > Environment: All > Reporter: Kent Brown > Attachments: Stonehenge M3 Proposal.docx > > > I am creating this to start discussion about M3 plans. I will attach a document of my proposal which has been contributed to and reviewed by several people, but is by no means locked down. Please review and comment. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Apr 02 19:02:51 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 39875 invoked from network); 2 Apr 2010 19:02:51 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 2 Apr 2010 19:02:51 -0000 Received: (qmail 90509 invoked by uid 500); 2 Apr 2010 19:02:51 -0000 Delivered-To: [email protected] Received: (qmail 90465 invoked by uid 500); 2 Apr 2010 19:02:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 90457 invoked by uid 99); 2 Apr 2010 19:02:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Apr 2010 19:02:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Apr 2010 19:02:48 +0000 Received: from brutus.apache.org (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 2A4AB234C1EF for <[email protected]>; Fri, 2 Apr 2010 19:02:27 +0000 (UTC) Message-ID: <[email protected]> Date: Fri, 2 Apr 2010 19:02:27 +0000 (UTC) From: "Kent Brown (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (STONEHENGE-121) Proposal for M3 In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STONEHENGE-121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kent Brown updated STONEHENGE-121: ---------------------------------- Attachment: Stonehenge+M3+Proposal.doc Uploaded in older .doc format for compatibility. > Proposal for M3 > --------------- > > Key: STONEHENGE-121 > URL: https://issues.apache.org/jira/browse/STONEHENGE-121 > Project: Stonehenge > Issue Type: Improvement > Components: Documentation > Environment: All > Reporter: Kent Brown > Attachments: Stonehenge M3 Proposal.docx, Stonehenge+M3+Proposal.doc > > > I am creating this to start discussion about M3 plans. I will attach a document of my proposal which has been contributed to and reviewed by several people, but is by no means locked down. Please review and comment. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Apr 02 19:14:34 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42129 invoked from network); 2 Apr 2010 19:14:34 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 2 Apr 2010 19:14:34 -0000 Received: (qmail 5651 invoked by uid 500); 2 Apr 2010 19:14:34 -0000 Delivered-To: [email protected] Received: (qmail 5632 invoked by uid 500); 2 Apr 2010 19:14:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 5624 invoked by uid 99); 2 Apr 2010 19:14:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Apr 2010 19:14:34 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=10.0 tests=RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO smtp.microsoft.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Apr 2010 19:14:25 +0000 Received: from TK5EX14HUBC102.redmond.corp.microsoft.com (161.129.204.104) by TK5-EXGWY-E802.partners.extranet.microsoft.com (161.129.204.104) with Microsoft SMTP Server (TLS) id 161.129.204.104; Fri, 2 Apr 2010 12:14:01 -0700 Received: from tk5ex14mbxc106.redmond.corp.microsoft.com ([161.129.204.104]) by TK5EX14HUBC102.redmond.corp.microsoft.com ([161.129.204.104]) with mapi; Fri, 2 Apr 2010 12:14:01 -0700 From: Kent Brown <[email protected]> To: "[email protected]" <[email protected]> Subject: Proposal for M3 Thread-Topic: Proposal for M3 Thread-Index: AcrSmKXi28ROy95GQDO1a+ivwp4eZQ== Date: Fri, 2 Apr 2010 19:13:59 +0000 Message-ID: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org SSBqdXN0IGNyZWF0ZWQgYSBKSVJBIHRpY2tldCBmb3IgdGhlIE0zIHByb3Bvc2FsLiAgVGhpcyBy ZXByZXNlbnRzIGEgbmV3IGRpcmVjdGlvbiBmb3IgU3RvbmVoZW5nZSB0aGF0IHdhcyBhIHJlc3Vs dCBvZiBmZWVkYmFjayBmcm9tIG1lbnRvcnMsIHZlbmRvcnMgd2Ugd291bGQgbGlrZSB0byBzZWUg Z2V0IGludm9sdmVkIGluIFN0b25laGVuZ2UsIGNvcnBvcmF0ZSBjb25zdW1lcnMgb2Ygd2ViIHNl cnZpY2Ugc3RhY2tzLCBhbmQgZGV2ZWxvcGVycy4gIFRoZSBkb2N1bWVudCBhdHRhY2hlZCB0byB0 aGUgdGlja2V0IFsxXSBjb3ZlcnMgdGhlIG1vdGl2YXRpb24gZm9yIHRoZSBwcm9wb3NlZCBjaGFu Z2Ugb2YgZGlyZWN0aW9uLCBzbyBJIHdvbid0IHJlaGFzaCBoZXJlLiAgDQoNCldlIGFyZSB3b3Jr aW5nIG9uIGEgcHJvcG9zZWQgdGVjaG5pY2FsIHNwZWMgYW5kIHByb3RvdHlwZSB0aGF0IHdpbGwg YmUgcmVhZHkgdG8gY29udHJpYnV0ZSB0byBTdG9uZWhlbmdlIGluIHRoZSBuZXh0IHdlZWsgb3Ig c28uICBJbiB0aGUgbWVhbnRpbWUgdGhlcmUgYXJlIHNvbWUgc2NyZWVuc2hvdHMgaW4gdGhlIGRv Y3VtZW50LCBidXQgdGhleSBzaG91bGQgYmUgdGFrZW4gd2l0aCBhIGdyYWluIG9mIHNhbHQgdW50 aWwgdGhlIHByb3RvdHlwZSBpcyByZWFkeS4NCg0KUGxlYXNlIHJldmlldyBhbmQgY29tbWVudCBv biB0aGUgc3RyYXRlZ3kgYW5kIGRpcmVjdGlvbiBhcyB3ZWxsIGFzIG9uIGFueSBkZXRhaWxzLg0K DQpLZW50IEJyb3duIHxTZW5pb3IgUHJvZHVjdCBNYW5hZ2VyIC0gTWljcm9zb2Z0DQoNClsxXSBo dHRwczovL2lzc3Vlcy5hcGFjaGUub3JnL2ppcmEvc2VjdXJlL2F0dGFjaG1lbnQvMTI0NDA2NDAv U3RvbmVoZW5nZSUyQk0zJTJCUHJvcG9zYWwuZG9jDQoNCg== From [email protected] Mon Apr 12 13:34:48 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28332 invoked from network); 12 Apr 2010 13:34:48 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 12 Apr 2010 13:34:48 -0000 Received: (qmail 78971 invoked by uid 500); 12 Apr 2010 13:34:48 -0000 Delivered-To: [email protected] Received: (qmail 78899 invoked by uid 500); 12 Apr 2010 13:34:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 78890 invoked by uid 99); 12 Apr 2010 13:34:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Apr 2010 13:34:47 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO col0-omc3-s4.col0.hotmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Apr 2010 13:34:39 +0000 Received: from COL118-W24 ([161.129.204.104]) by col0-omc3-s4.col0.hotmail.com with Microsoft SMTPSVC253.743.8974); Mon, 12 Apr 2010 06:34:18 -0700 Message-ID: <[email protected]> Content-Type: multipart/alternative; boundary="_25a610c0-b012-4839-abbf-0ce1f5170f6a_" X-Originating-IP: [161.129.204.104] From: Scott Golightly <[email protected]> To: Stonehenge Development <[email protected]> Subject: Problems with the Stonehenge documentation Date: Mon, 12 Apr 2010 07:34:18 -0600 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 12 Apr 2010 13:34:18.0489 (UTC) FILETIME=[DA148690:01CADA44] --_25a610c0-b012-4839-abbf-0ce1f5170f6a_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Over the weekend I have had problems getting to the installation documentat= ion[1]. It appears that the cwiki site for Stonehenge is not responding. I = was wondering if anyone else was seeing the problem and if so who should be= notified? =20 Scott Golightly =20 [1] http://cwiki.apache.org/confluence/display/STONEHENGE/Index = --_25a610c0-b012-4839-abbf-0ce1f5170f6a_-- From [email protected] Mon Apr 12 15:53:18 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84012 invoked from network); 12 Apr 2010 15:53:18 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 12 Apr 2010 15:53:18 -0000 Received: (qmail 47228 invoked by uid 500); 12 Apr 2010 15:53:10 -0000 Delivered-To: [email protected] Received: (qmail 46766 invoked by uid 500); 12 Apr 2010 15:53:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 46517 invoked by uid 99); 12 Apr 2010 15:53:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Apr 2010 15:53:10 +0000 X-ASF-Spam-Status: No, hits=-1.3 required=10.0 tests=AWL,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO relay.ihostexchange.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Apr 2010 15:53:03 +0000 Received: from VMBX101.ihostexchange.net ([161.129.204.104]) by HUB102.ihostexchange.net ([161.129.204.104]) with mapi; Mon, 12 Apr 2010 11:52:28 -0400 From: Nick Hauenstein <[email protected]> To: "[email protected]" <[email protected]> Date: Mon, 12 Apr 2010 11:53:46 -0400 Subject: RE: Problems with the Stonehenge documentation Thread-Topic: Problems with the Stonehenge documentation Thread-Index: AcraRPm0M+LZYhmJRz6TSI3K3IlALQAEywhg Message-ID: <[email protected]> References: <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 It looks like it's a problem higher up [1]. It looks like someone may be se= tting that server back up from scratch [2]. - Nick Hauenstein [1] http://cwiki.apache.org/confluence [2] http://cwiki.apache.org/ -----Original Message----- From: Scott Golightly [mailto:[email protected]]=20 Sent: Monday, April 12, 2010 6:34 AM To: Stonehenge Development Subject: Problems with the Stonehenge documentation Over the weekend I have had problems getting to the installation documentat= ion[1]. It appears that the cwiki site for Stonehenge is not responding. I = was wondering if anyone else was seeing the problem and if so who should be= notified? =20 Scott Golightly =20 [1] http://cwiki.apache.org/confluence/display/STONEHENGE/Index =20 From [email protected] Mon Apr 12 20:34:15 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 262 invoked from network); 12 Apr 2010 20:34:15 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 12 Apr 2010 20:34:15 -0000 Received: (qmail 64971 invoked by uid 500); 12 Apr 2010 20:34:15 -0000 Delivered-To: [email protected] Received: (qmail 64882 invoked by uid 500); 12 Apr 2010 20:34:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 64874 invoked by uid 99); 12 Apr 2010 20:34:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Apr 2010 20:34:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Apr 2010 20:34:11 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3CKXn9H001087 for <[email protected]>; Mon, 12 Apr 2010 16:33:50 -0400 (EDT) Message-ID: <20996939.6121271104429849.JavaMail.jira@thor> Date: Mon, 12 Apr 2010 16:33:49 -0400 (EDT) From: "Ben Dewey (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (STONEHENGE-99) Add Support of Username Token over TLS in BSL->OPS In-Reply-To: <1575081020.1251107879350.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STONEHENGE-99?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ben Dewey closed STONEHENGE-99. ------------------------------- Resolution: Fixed Based on Pablo's comment this issues has been tested and is fixed. > Add Support of Username Token over TLS in BSL->OPS > -------------------------------------------------- > > Key: STONEHENGE-99 > URL: https://issues.apache.org/jira/browse/STONEHENGE-99 > Project: Stonehenge > Issue Type: New Feature > Affects Versions: M2 > Environment: glassfish/metro > Reporter: Ming Jin > Fix For: M2 > > Attachments: Metro_OrderProcessor_UsernameTLS.patch > > > As Kent suggested, we want to support more ws-security scenarios in BSL talking to OPS, one of which is Username Token over TLS. > This issue is about to implement Username Token over TLS in the Metro version. > 1. the Certificate OPS.Com is used to establish the SSL channel > 2. the original userid and password is used to validate the user -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Mon Apr 12 20:38:12 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 886 invoked from network); 12 Apr 2010 20:38:12 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 12 Apr 2010 20:38:12 -0000 Received: (qmail 69315 invoked by uid 500); 12 Apr 2010 20:38:11 -0000 Delivered-To: [email protected] Received: (qmail 69289 invoked by uid 500); 12 Apr 2010 20:38:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 69281 invoked by uid 99); 12 Apr 2010 20:38:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Apr 2010 20:38:11 +0000 X-ASF-Spam-Status: No, hits=-1270.3 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Apr 2010 20:38:11 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3CKboF7001121 for <[email protected]>; Mon, 12 Apr 2010 16:37:50 -0400 (EDT) Message-ID: <33201056.6211271104670331.JavaMail.jira@thor> Date: Mon, 12 Apr 2010 16:37:50 -0400 (EDT) From: "Ben Dewey (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (STONEHENGE-120) Configuration mapping missing for WSAS in Business Service Console Configuration In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/STONEHENGE-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12856156#action_12856156 ] Ben Dewey commented on STONEHENGE-120: -------------------------------------- Nick, This was committed with, http://svn.apache.org/viewvc?view=revision&revision=916532. Can you verify and close if its working. > Configuration mapping missing for WSAS in Business Service Console Configuration > -------------------------------------------------------------------------------- > > Key: STONEHENGE-120 > URL: https://issues.apache.org/jira/browse/STONEHENGE-120 > Project: Stonehenge > Issue Type: Bug > Affects Versions: M2 > Reporter: Nicholas A Hauenstein > Assignee: Nicholas A Hauenstein > Fix For: M2 > > Attachments: STONEHENGE-120.patch > > Original Estimate: 0.03h > Remaining Estimate: 0.03h > > There is no mapping present in the web.config of the business service console for the WSAS implementation. This will result in an ambiguous match exception whenever the service tries to create a proxy to access the service without specifying a binding configuration. > The only reason that this is necessary is because of how the configuration service responses are handled (the BS maps the OPS service identifier to a binding using app settings in the config file). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Mon Apr 12 20:40:10 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 1200 invoked from network); 12 Apr 2010 20:40:10 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 12 Apr 2010 20:40:10 -0000 Received: (qmail 72969 invoked by uid 500); 12 Apr 2010 20:40:10 -0000 Delivered-To: [email protected] Received: (qmail 72925 invoked by uid 500); 12 Apr 2010 20:40:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 72917 invoked by uid 99); 12 Apr 2010 20:40:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Apr 2010 20:40:10 +0000 X-ASF-Spam-Status: No, hits=-1270.3 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Apr 2010 20:40:09 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3CKdntN001136 for <[email protected]>; Mon, 12 Apr 2010 16:39:49 -0400 (EDT) Message-ID: <29055619.6261271104789480.JavaMail.jira@thor> Date: Mon, 12 Apr 2010 16:39:49 -0400 (EDT) From: "Ben Dewey (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (STONEHENGE-105) Remove SAML token encryption from the .Net impl in order to interoperate with WSO2 Identity Server In-Reply-To: <1076132299.1256365139393.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/STONEHENGE-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12856157#action_12856157 ] Ben Dewey commented on STONEHENGE-105: -------------------------------------- Guys, Can we close this issue? > Remove SAML token encryption from the .Net impl in order to interoperate with WSO2 Identity Server > -------------------------------------------------------------------------------------------------- > > Key: STONEHENGE-105 > URL: https://issues.apache.org/jira/browse/STONEHENGE-105 > Project: Stonehenge > Issue Type: Bug > Environment: .Net > Reporter: Chintana Wilamuna > Fix For: M2 > > Attachments: passive-sts-web-config.patch, remove-encryption.patch, trader-client-web-config.patch > > > The current implementation of the passive STS, encrypts the SAML token being issued. This creates problems when it comes to configuring WSO2 Identity Server as the passive STS as it cannot encrypt the SAML token. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed Apr 14 13:59:14 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 62310 invoked from network); 14 Apr 2010 13:59:14 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 14 Apr 2010 13:59:14 -0000 Received: (qmail 15423 invoked by uid 500); 14 Apr 2010 13:59:14 -0000 Delivered-To: [email protected] Received: (qmail 15343 invoked by uid 500); 14 Apr 2010 13:59:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 15112 invoked by uid 99); 14 Apr 2010 13:59:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Apr 2010 13:59:13 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=MIME_BASE64_BLANKS,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO VA3EHSOBE005.bigfish.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Apr 2010 13:59:06 +0000 Received: from mail26-va3-R.bigfish.com (161.129.204.104) by VA3EHSOBE005.bigfish.com (161.129.204.104) with Microsoft SMTP Server id 8.1.340.0; Wed, 14 Apr 2010 13:58:44 +0000 Received: from mail26-va3 (localhost.localdomain [161.129.204.104]) by mail26-va3-R.bigfish.com (Postfix) with ESMTP id 6718511788BF for <[email protected]>; Wed, 14 Apr 2010 13:58:44 +0000 (UTC) X-SpamScore: -18 X-BigFish: VPS-18(z37d4lz542N1432P9371Pzz1202hz4fhzz2dh467h2a8h61h) X-Spam-TCS-SCL: 0:0 X-FB-SS: 5, Received: from mail26-va3 (localhost.localdomain [161.129.204.104]) by mail26-va3 (MessageSwitch) id 1271253522768336_21945; Wed, 14 Apr 2010 13:58:42 +0000 (UTC) Received: from VA3EHSMHS024.bigfish.com (unknown [161.129.204.104]) by mail26-va3.bigfish.com (Postfix) with ESMTP id ACB8F110055 for <[email protected]>; Wed, 14 Apr 2010 13:58:42 +0000 (UTC) Received: from VA3DIAHUB002.RED001.local (161.129.204.104) by VA3EHSMHS024.bigfish.com (161.129.204.104) with Microsoft SMTP Server (TLS) id 14.0.482.44; Wed, 14 Apr 2010 13:58:41 +0000 Received: from VA3DIAXVS031.RED001.local ([161.129.204.104]) by VA3DIAHUB002.RED001.local ([161.129.204.104]) with mapi; Wed, 14 Apr 2010 06:58:40 -0700 From: Pablo Cibraro <[email protected]> To: "[email protected]" <[email protected]> Date: Wed, 14 Apr 2010 06:58:36 -0700 Subject: RE: [jira] Commented: (STONEHENGE-105) Remove SAML token encryption from the .Net impl in order to interoperate with WSO2 Identity Server Thread-Topic: [jira] Commented: (STONEHENGE-105) Remove SAML token encryption from the .Net impl in order to interoperate with WSO2 Identity Server Thread-Index: AcragF6/olNqwwbpTUu5xwl/I9ZtrABWhzLQ Message-ID: <[email protected]> References: <1076132299.1256365139393.JavaMail.jira@brutus> <29055619.6261271104789480.JavaMail.jira@thor> In-Reply-To: <29055619.6261271104789480.JavaMail.jira@thor> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Reverse-DNS: smtp801.microsoftonline.com X-Virus-Checked: Checked by ClamAV on apache.org SSBjbG9zZWQgdGhpcyBvbiB0aGUgLk5FVCBzaWRlLiBDaGludGFuYSBuZWVkcyB0byB2ZXJpZnkg YW5kIGNsb3NlIHRoZSBidWcuDQoNCi0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBC ZW4gRGV3ZXkgKEpJUkEpIFttYWlsdG86amlyYUBhcGFjaGUub3JnXSANClNlbnQ6IE1vbmRheSwg QXByaWwgMTIsIDIwMTAgNTo0MCBQTQ0KVG86IHN0b25laGVuZ2UtZGV2QGluY3ViYXRvci5hcGFj aGUub3JnDQpTdWJqZWN0OiBbamlyYV0gQ29tbWVudGVkOiAoU1RPTkVIRU5HRS0xMDUpIFJlbW92 ZSBTQU1MIHRva2VuIGVuY3J5cHRpb24gZnJvbSB0aGUgLk5ldCBpbXBsIGluIG9yZGVyIHRvIGlu dGVyb3BlcmF0ZSB3aXRoIFdTTzIgSWRlbnRpdHkgU2VydmVyDQoNCg0KICAgIFsgaHR0cHM6Ly9p c3N1ZXMuYXBhY2hlLm9yZy9qaXJhL2Jyb3dzZS9TVE9ORUhFTkdFLTEwNT9wYWdlPWNvbS5hdGxh c3NpYW4uamlyYS5wbHVnaW4uc3lzdGVtLmlzc3VldGFicGFuZWxzOmNvbW1lbnQtdGFicGFuZWwm Zm9jdXNlZENvbW1lbnRJZD0xMjg1NjE1NyNhY3Rpb25fMTI4NTYxNTcgXSANCg0KQmVuIERld2V5 IGNvbW1lbnRlZCBvbiBTVE9ORUhFTkdFLTEwNToNCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tDQoNCkd1eXMsIA0KDQpDYW4gd2UgY2xvc2UgdGhpcyBpc3N1ZT8NCg0KPiBS ZW1vdmUgU0FNTCB0b2tlbiBlbmNyeXB0aW9uIGZyb20gdGhlIC5OZXQgaW1wbCBpbiBvcmRlciB0 byBpbnRlcm9wZXJhdGUgd2l0aCBXU08yIElkZW50aXR5IFNlcnZlcg0KPiAtLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQ0KPg0KPiAgICAgICAgICAgICAgICAgS2V5OiBT VE9ORUhFTkdFLTEwNQ0KPiAgICAgICAgICAgICAgICAgVVJMOiBodHRwczovL2lzc3Vlcy5hcGFj aGUub3JnL2ppcmEvYnJvd3NlL1NUT05FSEVOR0UtMTA1DQo+ICAgICAgICAgICAgIFByb2plY3Q6 IFN0b25laGVuZ2UNCj4gICAgICAgICAgSXNzdWUgVHlwZTogQnVnDQo+ICAgICAgICAgRW52aXJv bm1lbnQ6IC5OZXQNCj4gICAgICAgICAgICBSZXBvcnRlcjogQ2hpbnRhbmEgV2lsYW11bmENCj4g ICAgICAgICAgICAgRml4IEZvcjogTTINCj4NCj4gICAgICAgICBBdHRhY2htZW50czogcGFzc2l2 ZS1zdHMtd2ViLWNvbmZpZy5wYXRjaCwgcmVtb3ZlLWVuY3J5cHRpb24ucGF0Y2gsIHRyYWRlci1j bGllbnQtd2ViLWNvbmZpZy5wYXRjaA0KPg0KPg0KPiBUaGUgY3VycmVudCBpbXBsZW1lbnRhdGlv biBvZiB0aGUgcGFzc2l2ZSBTVFMsIGVuY3J5cHRzIHRoZSBTQU1MIHRva2VuIGJlaW5nIGlzc3Vl ZC4gVGhpcyBjcmVhdGVzIHByb2JsZW1zIHdoZW4gaXQgY29tZXMgdG8gY29uZmlndXJpbmcgV1NP MiBJZGVudGl0eSBTZXJ2ZXIgYXMgdGhlIHBhc3NpdmUgU1RTIGFzIGl0IGNhbm5vdCBlbmNyeXB0 IHRoZSBTQU1MIHRva2VuLg0KDQotLSANClRoaXMgbWVzc2FnZSBpcyBhdXRvbWF0aWNhbGx5IGdl bmVyYXRlZCBieSBKSVJBLg0KLQ0KSWYgeW91IHRoaW5rIGl0IHdhcyBzZW50IGluY29ycmVjdGx5 IGNvbnRhY3Qgb25lIG9mIHRoZSBhZG1pbmlzdHJhdG9yczogaHR0cHM6Ly9pc3N1ZXMuYXBhY2hl Lm9yZy9qaXJhL3NlY3VyZS9BZG1pbmlzdHJhdG9ycy5qc3BhDQotDQpGb3IgbW9yZSBpbmZvcm1h dGlvbiBvbiBKSVJBLCBzZWU6IGh0dHA6Ly93d3cuYXRsYXNzaWFuLmNvbS9zb2Z0d2FyZS9qaXJh DQoNCiAgICAgICAgDQoNCg== From [email protected] Wed Apr 14 15:48:16 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44697 invoked from network); 14 Apr 2010 15:48:16 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 14 Apr 2010 15:48:16 -0000 Received: (qmail 65858 invoked by uid 500); 14 Apr 2010 15:48:16 -0000 Delivered-To: [email protected] Received: (qmail 65792 invoked by uid 500); 14 Apr 2010 15:48:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 65781 invoked by uid 99); 14 Apr 2010 15:48:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Apr 2010 15:48:15 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Apr 2010 15:48:13 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3EFlp9W006845 for <[email protected]>; Wed, 14 Apr 2010 11:47:51 -0400 (EDT) Message-ID: <30049079.116931271260071280.JavaMail.jira@thor> Date: Wed, 14 Apr 2010 11:47:51 -0400 (EDT) From: "Scott Golightly (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (STONEHENGE-121) Proposal for M3 In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STONEHENGE-121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12856938#action_12856938 ] Scott Golightly commented on STONEHENGE-121: -------------------------------------------- In general I like the idea of the proposal and think it will make the interoperability testing easier to use in helping me and others test and debug interoperability issues. I did have one point that I would like more clarification on in the proposal. My question really is about who can create tests and who can call the hosted endpoints. I am envisioning a scenario that does not seem to be addressed in the proposal. The scenario I would like to see is that a user can run the tests or see the results of previous tests between hosted endpoints that have been set up by the Stonehenge contributors (steps 8-10 of the walkthrough). They could then call any of the endpoints with their code and if the call fails examine the messages to see what is different. When I look at the HostedClientResult class it has 2 properties (requestMessageLog and responseMessageLog) that would appear to allow me to retrieve the entire contents of the messages sent across the wire. If this is the case I can see where it would be very valuable to have the messages captured from a successful test in the documentation for that test so I could compare that to my failed case. Along with that I wasn't sure what was meant by the statement "Results are stored." in step 10 of the walkthrough. If there are multiple results stored (including any that I run) then searching through a large set of results might actually deter me and other users from trying this. I would propose that there be 1 result stored long term as the "correct" results from the test. This could even be added to the documentation for that scenario. Users could then call any of the end points and retrieve the messages from the results but these would not be stored by apache.org. > Proposal for M3 > --------------- > > Key: STONEHENGE-121 > URL: https://issues.apache.org/jira/browse/STONEHENGE-121 > Project: Stonehenge > Issue Type: Improvement > Components: Documentation > Environment: All > Reporter: Kent Brown > Attachments: Stonehenge M3 Proposal.docx, Stonehenge+M3+Proposal.doc > > > I am creating this to start discussion about M3 plans. I will attach a document of my proposal which has been contributed to and reviewed by several people, but is by no means locked down. Please review and comment. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Mon Apr 19 21:12:52 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28168 invoked from network); 19 Apr 2010 21:12:52 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 19 Apr 2010 21:12:52 -0000 Received: (qmail 65223 invoked by uid 500); 19 Apr 2010 21:12:52 -0000 Delivered-To: [email protected] Received: (qmail 65153 invoked by uid 500); 19 Apr 2010 21:12:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 65145 invoked by uid 99); 19 Apr 2010 21:12:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Apr 2010 21:12:51 +0000 X-ASF-Spam-Status: No, hits=-3.3 required=10.0 tests=AWL,HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail76.messagelabs.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Apr 2010 21:12:43 +0000 X-VirusChecked: Checked X-Env-Sender: [email protected] X-Msg-Ref: server-8.tower-76.messagelabs.com!1271711485!114780246!1 X-StarScan-Version: 6.2.4; banners=-,-,- X-Originating-IP: [161.129.204.104] Received: (qmail 22091 invoked from network); 19 Apr 2010 21:11:25 -0000 Received: from mailserver.citigatehudson.com (HELO 26NY-ES4.26ny.local) (161.129.204.104) by server-8.tower-76.messagelabs.com with AES128-SHA encrypted SMTP; 19 Apr 2010 21:11:25 -0000 Received: from 26NY-ES3.26ny.local ([acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bd50b:ddec:2dc0:4ee5]) by 26NY-ES4.26ny.local ([acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bc4e7:6f5c:7beb:8eae%11]) with mapi; Mon, 19 Apr 2010 17:12:21 -0400 From: Ben Dewey <[email protected]> To: "[email protected]" <[email protected]> Date: Mon, 19 Apr 2010 17:12:19 -0400 Subject: M2 Release Thread-Topic: M2 Release Thread-Index: AcrgBPwwPzk6A7+uTzWwR2OI1o14aw== Message-ID: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_0797E98FF7451041939CF35232C75B06560A1F3C3626NYES326nylo_" MIME-Version: 1.0 --_000_0797E98FF7451041939CF35232C75B06560A1F3C3626NYES326nylo_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Everyone, After months of effort, we are hoping to move forward with our M2 Release. = I've spoken with a few people off of the list and it seems that due to lic= ensing issues with OpenSSO we are not going to be able to release it anytim= e in the near future. I, along with many others would like to release and start working M3. In o= rder to do this we felt it best to create a branch, then remove metro trade= r client from the trunk, and release. Nick Hauenstein is on board and has graciously offered to update the docume= ntation to reflect this. I will perform the branching now and start prepar= ing the code for a release. Please let me know if anyone has any comments. Thanks, Ben Dewey --_000_0797E98FF7451041939CF35232C75B06560A1F3C3626NYES326nylo_-- From [email protected] Mon Apr 19 21:38:55 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53335 invoked from network); 19 Apr 2010 21:38:54 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 19 Apr 2010 21:38:54 -0000 Received: (qmail 26028 invoked by uid 500); 19 Apr 2010 21:38:54 -0000 Delivered-To: [email protected] Received: (qmail 26005 invoked by uid 500); 19 Apr 2010 21:38:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 25997 invoked by uid 99); 19 Apr 2010 21:38:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Apr 2010 21:38:54 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail166.messagelabs.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Apr 2010 21:38:47 +0000 X-VirusChecked: Checked X-Env-Sender: [email protected] X-Msg-Ref: server-13.tower-166.messagelabs.com!1271713103!25696260!1 X-StarScan-Version: 6.2.4; banners=-,-,- X-Originating-IP: [161.129.204.104] Received: (qmail 11803 invoked from network); 19 Apr 2010 21:38:24 -0000 Received: from mailserver.citigatehudson.com (HELO 26NY-ES4.26ny.local) (161.129.204.104) by server-13.tower-166.messagelabs.com with AES128-SHA encrypted SMTP; 19 Apr 2010 21:38:24 -0000 Received: from 26NY-ES3.26ny.local ([acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bd50b:ddec:2dc0:4ee5]) by 26NY-ES4.26ny.local ([acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bc4e7:6f5c:7beb:8eae%11]) with mapi; Mon, 19 Apr 2010 17:38:23 -0400 From: Ben Dewey <[email protected]> To: "[email protected]" <[email protected]> Date: Mon, 19 Apr 2010 17:38:22 -0400 Subject: RE: Status of Ruby Implementation Thread-Topic: Status of Ruby Implementation Thread-Index: Aco43/MDc7fdj3scRgCy1Al9knbfYinKGyzg Message-ID: <[email protected]> References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Chintana, What are your thoughts on removing the ruby implementation from the M2 rele= ase? It's extremely out-dated and virtually untested. It can remain in the branch until we have the resources to test it. -Ben Dewey -----Original Message----- From: Chintana Wilamuna [mailto:[email protected]]=20 Sent: Saturday, September 19, 2009 12:16 AM To: [email protected] Subject: Re: Status of Ruby Implementation Nick, It has to be tested with the latest version of Ruby on Rails. Also, it does not take advantage of the new configuration service. Need to fix that as well. Bye, -Chintana --=20 http://engwar.com/ From [email protected] Tue Apr 20 05:11:33 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49853 invoked from network); 20 Apr 2010 05:11:32 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 20 Apr 2010 05:11:32 -0000 Received: (qmail 39143 invoked by uid 500); 20 Apr 2010 05:11:32 -0000 Delivered-To: [email protected] Received: (qmail 39073 invoked by uid 500); 20 Apr 2010 05:11:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 39065 invoked by uid 99); 20 Apr 2010 05:11:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Apr 2010 05:11:29 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iw0-f177.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Apr 2010 05:11:24 +0000 Received: by iwn7 with SMTP id 7so2912206iwn.12 for <[email protected]>; Mon, 19 Apr 2010 22:11:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:content-type :content-transfer-encoding; bh=C5VZZNnfakiiuHiRLZ5TNc0pmjxeShlFnJJMR8a8sz8=; b=GgjjO9IEzTaJwF/Mk+Eu6Y284GzJDZ8Arrc1crErRvvNyW6z4JJMZo/6/GGEnLcEeW ng+WJRLUS0bm0heQ8fLM3azKoBybSpKdul3FQU7oUcDALT81X5gsF42kVk++WtiAz4h7 0GlsKSHYp8GYmbh1B9XeYR2HaEmwbFWvy2PeI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=uy/oLs9Sc59Kv9BScwFyDe/3/5jLsfb9TIanMUjYKVgqkQGxJqaZf+/IVomp1aKQz4 ZCqxP8JX6ajjTcrYHCGG7SnvfuzALdd911YSlKExrmofWlK/NRliD3utIpmc0RyXuJnd x7xwwuiEwF6z6p3V0Op5TmEcc4QmT3xMX9a2o= MIME-Version: 1.0 Received: by 161.129.204.104 with HTTP; Mon, 19 Apr 2010 22:06:52 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Date: Tue, 20 Apr 2010 10:36:52 +0530 Received: by 161.129.204.104 with SMTP id c16mr2212024ibx.81.1271740012570; Mon, 19 Apr 2010 22:06:52 -0700 (PDT) Message-ID: <[email protected]> Subject: Re: Status of Ruby Implementation From: Chintana Wilamuna <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Tue, Apr 20, 2010 at 3:08 AM, Ben Dewey <[email protected]> wrote: > What are your thoughts on removing the ruby implementation from the M2 re= lease? =A0It's extremely out-dated and virtually untested. > > It can remain in the branch until we have the resources to test it. +1 Bye, -Chintana --=20 blog: http://engwar.com/ photos: http://flickr.com/photos/chintana linkedin: http://www.linkedin.com/in/engwar From [email protected] Thu Apr 22 15:16:21 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13733 invoked from network); 22 Apr 2010 15:16:21 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 22 Apr 2010 15:16:21 -0000 Received: (qmail 26623 invoked by uid 500); 22 Apr 2010 15:16:21 -0000 Delivered-To: [email protected] Received: (qmail 26553 invoked by uid 500); 22 Apr 2010 15:16:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 26545 invoked by uid 99); 22 Apr 2010 15:16:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Apr 2010 15:16:20 +0000 X-ASF-Spam-Status: No, hits=-1331.3 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Apr 2010 15:16:19 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3MFFxQU016395 for <[email protected]>; Thu, 22 Apr 2010 15:15:59 GMT Message-ID: <27837494.139371271949359305.JavaMail.jira@thor> Date: Thu, 22 Apr 2010 11:15:59 -0400 (EDT) From: "Pablo Mariano Cibraro (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (STONEHENGE-121) Proposal for M3 In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/STONEHENGE-121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pablo Mariano Cibraro updated STONEHENGE-121: --------------------------------------------- Attachment: stonehenge.zip Prototype that shows some of the discussed functionality > Proposal for M3 > --------------- > > Key: STONEHENGE-121 > URL: https://issues.apache.org/jira/browse/STONEHENGE-121 > Project: Stonehenge > Issue Type: Improvement > Components: Documentation > Environment: All > Reporter: Kent Brown > Attachments: Stonehenge M3 Proposal.docx, Stonehenge+M3+Proposal.doc, stonehenge.zip > > > I am creating this to start discussion about M3 plans. I will attach a document of my proposal which has been contributed to and reviewed by several people, but is by no means locked down. Please review and comment. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Apr 23 12:51:12 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59490 invoked from network); 23 Apr 2010 12:51:12 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 23 Apr 2010 12:51:12 -0000 Received: (qmail 9917 invoked by uid 500); 23 Apr 2010 12:51:12 -0000 Delivered-To: [email protected] Received: (qmail 9845 invoked by uid 500); 23 Apr 2010 12:51:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 9706 invoked by uid 99); 23 Apr 2010 12:51:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Apr 2010 12:51:11 +0000 X-ASF-Spam-Status: No, hits=-1337.6 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Apr 2010 12:51:10 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3NCoojQ009933 for <[email protected]>; Fri, 23 Apr 2010 12:50:50 GMT Message-ID: <649037.160431272027050005.JavaMail.jira@thor> Date: Fri, 23 Apr 2010 08:50:50 -0400 (EDT) From: "Chintana Wilamuna (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (STONEHENGE-105) Remove SAML token encryption from the .Net impl in order to interoperate with WSO2 Identity Server In-Reply-To: <1076132299.1256365139393.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/STONEHENGE-105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chintana Wilamuna resolved STONEHENGE-105. ------------------------------------------ Resolution: Fixed Verified. > Remove SAML token encryption from the .Net impl in order to interoperate with WSO2 Identity Server > -------------------------------------------------------------------------------------------------- > > Key: STONEHENGE-105 > URL: https://issues.apache.org/jira/browse/STONEHENGE-105 > Project: Stonehenge > Issue Type: Bug > Environment: .Net > Reporter: Chintana Wilamuna > Fix For: M2 > > Attachments: passive-sts-web-config.patch, remove-encryption.patch, trader-client-web-config.patch > > > The current implementation of the passive STS, encrypts the SAML token being issued. This creates problems when it comes to configuring WSO2 Identity Server as the passive STS as it cannot encrypt the SAML token. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Apr 23 13:00:14 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61189 invoked from network); 23 Apr 2010 13:00:14 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 23 Apr 2010 13:00:14 -0000 Received: (qmail 23935 invoked by uid 500); 23 Apr 2010 13:00:14 -0000 Delivered-To: [email protected] Received: (qmail 23867 invoked by uid 500); 23 Apr 2010 13:00:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 23859 invoked by uid 99); 23 Apr 2010 13:00:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Apr 2010 13:00:13 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-pw0-f47.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Apr 2010 13:00:08 +0000 Received: by pwj5 with SMTP id 5so6107847pwj.6 for <[email protected]>; Fri, 23 Apr 2010 05:59:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:content-type; bh=wc/qDpKLHh4v54bfnPMPqmUKpX/mRWWb7p2VSsiOH1c=; b=qTDJMgMzqdT4bJcMxM8aPgDQpO7rGf6maBQ71NFNsolbC6wNzUjLZFzZzjYPBeiYhe NuWtxsCIzn5NH8jq6VYuSbrMZwIm3BNJnPNfORNHBl9hwZxigceDAb+rAAu8wUP/w3MT BPlsApT64nUfQNoHAVInEPkSmwZUnvL1AGlxA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=PgkWL6bRH1KRZaxB48MLEX+NZyS5qo8J1ZszaLwQS1JlDzr5bBASbtrguskmGCof12 7yiqf1hfDj/GcZu9PhZNr+EvRw9mBKWat7vxp4oyMGJd1fSZOccNSmAXJYL4yOvVGjo/ bUBNZWDYFaFn2MIT5LLM5u7NZL3yKbIcpifVY= MIME-Version: 1.0 Received: by 161.129.204.104 with HTTP; Fri, 23 Apr 2010 05:59:46 -0700 (PDT) In-Reply-To: <[email protected]> References: <1076132299.1256365139393.JavaMail.jira@brutus> <29055619.6261271104789480.JavaMail.jira@thor> <[email protected]> Date: Fri, 23 Apr 2010 18:29:46 +0530 Received: by 161.129.204.104 with SMTP id p38mr836086wfa.167.1272027587014; Fri, 23 Apr 2010 05:59:47 -0700 (PDT) Message-ID: <[email protected]> Subject: Re: [jira] Commented: (STONEHENGE-105) Remove SAML token encryption from the .Net impl in order to interoperate with WSO2 Identity Server From: Chintana Wilamuna <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On Wed, Apr 14, 2010 at 7:28 PM, Pablo Cibraro <[email protected]> wrote: > I closed this on the .NET side. Chintana needs to verify and close the bug. Verified and resolved the issue. Bye, -Chintana -- blog: http://engwar.com/ photos: http://flickr.com/photos/chintana linkedin: http://www.linkedin.com/in/engwar From [email protected] Fri Apr 23 17:19:40 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10267 invoked from network); 23 Apr 2010 17:19:40 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 23 Apr 2010 17:19:40 -0000 Received: (qmail 62488 invoked by uid 500); 23 Apr 2010 16:53:00 -0000 Delivered-To: [email protected] Received: (qmail 62468 invoked by uid 500); 23 Apr 2010 16:53:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 62460 invoked by uid 99); 23 Apr 2010 16:53:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Apr 2010 16:53:00 +0000 X-ASF-Spam-Status: No, hits=-4.3 required=10.0 tests=AWL,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail75.messagelabs.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Apr 2010 16:52:53 +0000 X-VirusChecked: Checked X-Env-Sender: [email protected] X-Msg-Ref: server-6.tower-75.messagelabs.com!1272041550!33350554!1 X-StarScan-Version: 6.2.4; banners=-,-,- X-Originating-IP: [161.129.204.104] Received: (qmail 11100 invoked from network); 23 Apr 2010 16:52:31 -0000 Received: from mailserver.citigatehudson.com (HELO 26NY-ES4.26ny.local) (161.129.204.104) by server-6.tower-75.messagelabs.com with AES128-SHA encrypted SMTP; 23 Apr 2010 16:52:31 -0000 Received: from 26NY-ES4.26ny.local ([161.129.204.104]) by 26NY-ES4.26ny.local ([acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bc4e7:6f5c:7beb:8eae%11]) with mapi; Fri, 23 Apr 2010 12:52:29 -0400 From: Ben Dewey <[email protected]> To: "[email protected]" <[email protected]> Date: Fri, 23 Apr 2010 12:51:33 -0400 Subject: RE: [jira] Commented: (STONEHENGE-121) Proposal for M3 Thread-Topic: [jira] Commented: (STONEHENGE-121) Proposal for M3 Thread-Index: Acri/M3qI7PYTzDSSxSi6Dcl59UHkQACG007 Message-ID: <[email protected]> References: <[email protected]>,<25961417.162711272037851376.JavaMail.jira@thor> In-Reply-To: <25961417.162711272037851376.JavaMail.jira@thor> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Pablo, I'm not seeing any tests here. Should I be? "No tests match the specified criteria." -Ben Dewey ________________________________________ From: Pablo Mariano Cibraro (JIRA) [[email protected]] Sent: Friday, April 23, 2010 11:50 AM To: [email protected] Subject: [jira] Commented: (STONEHENGE-121) Proposal for M3 [ https://issues.apache.org/jira/browse/STONEHENGE-121?page=3Dcom.atlas= sian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D= 12860289#action_12860289 ] Pablo Mariano Cibraro commented on STONEHENGE-121: -------------------------------------------------- A working version of the prototype is available at this address. http://204= .152.240.69/Stonehenge > Proposal for M3 > --------------- > > Key: STONEHENGE-121 > URL: https://issues.apache.org/jira/browse/STONEHENGE-121 > Project: Stonehenge > Issue Type: Improvement > Components: Documentation > Environment: All > Reporter: Kent Brown > Attachments: Stonehenge M3 Proposal.docx, Stonehenge+M3+Proposal.= doc, stonehenge-m3.docx, stonehenge.zip > > > I am creating this to start discussion about M3 plans. I will attach a d= ocument of my proposal which has been contributed to and reviewed by severa= l people, but is by no means locked down. Please review and comment. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.= From [email protected] Fri Apr 23 17:37:52 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26538 invoked from network); 23 Apr 2010 17:37:52 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 23 Apr 2010 17:37:52 -0000 Received: (qmail 58667 invoked by uid 500); 23 Apr 2010 15:51:12 -0000 Delivered-To: [email protected] Received: (qmail 58638 invoked by uid 500); 23 Apr 2010 15:51:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 58630 invoked by uid 99); 23 Apr 2010 15:51:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Apr 2010 15:51:12 +0000 X-ASF-Spam-Status: No, hits=-1338.3 required=10.0 tests=ALL_TRUSTED,AWL,NORMAL_HTTP_TO_IP X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Apr 2010 15:51:11 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3NFopXm011483 for <[email protected]>; Fri, 23 Apr 2010 15:50:51 GMT Message-ID: <25961417.162711272037851376.JavaMail.jira@thor> Date: Fri, 23 Apr 2010 11:50:51 -0400 (EDT) From: "Pablo Mariano Cibraro (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (STONEHENGE-121) Proposal for M3 In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/STONEHENGE-121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860289#action_12860289 ] Pablo Mariano Cibraro commented on STONEHENGE-121: -------------------------------------------------- A working version of the prototype is available at this address. http://161.129.204.104/Stonehenge > Proposal for M3 > --------------- > > Key: STONEHENGE-121 > URL: https://issues.apache.org/jira/browse/STONEHENGE-121 > Project: Stonehenge > Issue Type: Improvement > Components: Documentation > Environment: All > Reporter: Kent Brown > Attachments: Stonehenge M3 Proposal.docx, Stonehenge+M3+Proposal.doc, stonehenge-m3.docx, stonehenge.zip > > > I am creating this to start discussion about M3 plans. I will attach a document of my proposal which has been contributed to and reviewed by several people, but is by no means locked down. Please review and comment. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Apr 23 17:37:55 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26763 invoked from network); 23 Apr 2010 17:37:55 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 23 Apr 2010 17:37:55 -0000 Received: (qmail 60010 invoked by uid 500); 23 Apr 2010 15:51:15 -0000 Delivered-To: [email protected] Received: (qmail 59975 invoked by uid 500); 23 Apr 2010 15:51:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 59935 invoked by uid 99); 23 Apr 2010 15:51:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Apr 2010 15:51:15 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Apr 2010 15:51:13 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3NFoqFC011495 for <[email protected]>; Fri, 23 Apr 2010 15:50:52 GMT Message-ID: <12564005.162751272037852115.JavaMail.jira@thor> Date: Fri, 23 Apr 2010 11:50:52 -0400 (EDT) From: "Pablo Mariano Cibraro (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (STONEHENGE-121) Proposal for M3 In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STONEHENGE-121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pablo Mariano Cibraro updated STONEHENGE-121: --------------------------------------------- Attachment: stonehenge-m3.docx Updated version of the technical specification and database model > Proposal for M3 > --------------- > > Key: STONEHENGE-121 > URL: https://issues.apache.org/jira/browse/STONEHENGE-121 > Project: Stonehenge > Issue Type: Improvement > Components: Documentation > Environment: All > Reporter: Kent Brown > Attachments: Stonehenge M3 Proposal.docx, Stonehenge+M3+Proposal.doc, stonehenge-m3.docx, stonehenge.zip > > > I am creating this to start discussion about M3 plans. I will attach a document of my proposal which has been contributed to and reviewed by several people, but is by no means locked down. Please review and comment. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Apr 26 18:46:35 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42663 invoked from network); 26 Apr 2010 18:46:35 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Apr 2010 18:46:35 -0000 Received: (qmail 24433 invoked by uid 500); 26 Apr 2010 18:46:35 -0000 Delivered-To: [email protected] Received: (qmail 24391 invoked by uid 500); 26 Apr 2010 18:46:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 24372 invoked by uid 99); 26 Apr 2010 18:46:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 18:46:34 +0000 X-ASF-Spam-Status: No, hits=-1.1 required=10.0 tests=AWL,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO relay.ihostexchange.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 18:46:28 +0000 Received: from VMBX101.ihostexchange.net ([161.129.204.104]) by HUB102.ihostexchange.net ([161.129.204.104]) with mapi; Mon, 26 Apr 2010 14:46:02 -0400 From: Nick Hauenstein <[email protected]> To: "[email protected]" <[email protected]> Date: Mon, 26 Apr 2010 14:46:01 -0400 Subject: AddressAlreadyInUseException when starting TradeOrderProcessor service Thread-Topic: AddressAlreadyInUseException when starting TradeOrderProcessor service Thread-Index: AQHK5XC4icFPT1oM/Eegain5UzwnHA== Message-ID: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Hello, I'm installing all of the M2 StockTrader implementations on a Windows 7 vir= tual pc, and I can't seem to get the OrderProcessor Service to start. It th= inks that some other application has already reserved https://localhost:800= 5/tradeorderprocessor/ [1]. This isn't the case, and netstat shows that not= hing is listening on port 8005. All of the other services start-up just fine. Firewall exceptions are in pl= ace for TCP ports 7000, 8000, 8005, 9000, 9001 (both inbound/outbound), and= I have already run AuthorizeWcfServices.bat. Any thoughts/suggestions? - Nick [1] Error message below: System.ServiceModel.AddressAlreadyInUseException: HTTP could not register U= RL https://+:8005/trade orderprocessor/. Another application has already registered this URL with H= TTP.SYS. ---> System.Ne t.HttpListenerException: Failed to listen on prefix 'https://+:8005/tradeor= derprocessor/' because it conflicts with an existing registration on the machine. at System.Net.HttpListener.AddAll() at System.Net.HttpListener.Start() at System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen() --- End of inner exception stack trace --- at System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen() at System.ServiceModel.Channels.TransportManager.Open(TransportChannelLi= stener channelListener) at System.ServiceModel.Channels.TransportManagerContainer.Open(SelectTra= nsportManagersCallback selectTransportManagerCallback) at System.ServiceModel.Channels.TransportChannelListener.OnOpen(TimeSpan= timeout) at System.ServiceModel.Channels.HttpChannelListener.OnOpen(TimeSpan time= out) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeou= t) at System.ServiceModel.Security.SecurityListenerSettingsLifetimeManager.= Open(TimeSpan timeout) at System.ServiceModel.Channels.SecurityChannelListener`1.OnOpen(TimeSpa= n timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeou= t) at System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(TimeSpan time= out) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeou= t) at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeou= t) at System.ServiceModel.Channels.CommunicationObject.Open() at Trade.OrderProcessorConsoleHost.OrderProcessor_ConsoleHost.MyHost.sta= rtUp() in C:\StockTrade rDemo\order_processor\OrderProcessorConsoleServiceHost\Program.cs:line 81 at Trade.OrderProcessorConsoleHost.OrderProcessor_ConsoleHost.Main(Strin= g[] args) in C:\StockTr aderDemo\order_processor\OrderProcessorConsoleServiceHost\Program.cs:line 1= 06 Press Enter to quit.= From [email protected] Mon Apr 26 20:03:31 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91066 invoked from network); 26 Apr 2010 20:03:31 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Apr 2010 20:03:31 -0000 Received: (qmail 41256 invoked by uid 500); 26 Apr 2010 20:03:31 -0000 Delivered-To: [email protected] Received: (qmail 41203 invoked by uid 500); 26 Apr 2010 20:03:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 41195 invoked by uid 99); 26 Apr 2010 20:03:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 20:03:30 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail165.messagelabs.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 20:03:22 +0000 X-VirusChecked: Checked X-Env-Sender: [email protected] X-Msg-Ref: server-7.tower-165.messagelabs.com!1272312178!30567378!1 X-StarScan-Version: 6.2.4; banners=-,-,- X-Originating-IP: [161.129.204.104] Received: (qmail 15112 invoked from network); 26 Apr 2010 20:02:59 -0000 Received: from mailserver.citigatehudson.com (HELO 26NY-ES4.26ny.local) (161.129.204.104) by server-7.tower-165.messagelabs.com with AES128-SHA encrypted SMTP; 26 Apr 2010 20:02:59 -0000 Received: from 26NY-ES4.26ny.local ([161.129.204.104]) by 26NY-ES4.26ny.local ([acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bc4e7:6f5c:7beb:8eae%11]) with mapi; Mon, 26 Apr 2010 16:02:56 -0400 From: Ben Dewey <[email protected]> To: "[email protected]" <[email protected]> Date: Mon, 26 Apr 2010 16:02:54 -0400 Subject: RE: AddressAlreadyInUseException when starting TradeOrderProcessor service Thread-Topic: AddressAlreadyInUseException when starting TradeOrderProcessor service Thread-Index: AQHK5XC4icFPT1oM/Eegain5UzwnHJI1K9Jw Message-ID: <[email protected]> References: <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Nick, I've seen this before, and IIRC a restart fixed it for me. Have you tried = that by any chance? -Ben Dewey From [email protected] Mon Apr 26 20:15:37 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 98795 invoked from network); 26 Apr 2010 20:15:37 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Apr 2010 20:15:37 -0000 Received: (qmail 54791 invoked by uid 500); 26 Apr 2010 20:15:37 -0000 Delivered-To: [email protected] Received: (qmail 54735 invoked by uid 500); 26 Apr 2010 20:15:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 54727 invoked by uid 99); 26 Apr 2010 20:15:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 20:15:37 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO relay.ihostexchange.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 20:15:31 +0000 Received: from VMBX101.ihostexchange.net ([161.129.204.104]) by HUB102.ihostexchange.net ([161.129.204.104]) with mapi; Mon, 26 Apr 2010 16:15:05 -0400 From: Nick Hauenstein <[email protected]> To: "[email protected]" <[email protected]> Date: Mon, 26 Apr 2010 16:13:58 -0400 Subject: RE: AddressAlreadyInUseException when starting TradeOrderProcessor service Thread-Topic: AddressAlreadyInUseException when starting TradeOrderProcessor service Thread-Index: AQHK5XC4icFPT1oM/Eegain5UzwnHJI1K9JwgAADTgk= Message-ID: <[email protected]> References: <[email protected]>,<[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org No such luck this time. That was one of the first things I tried. Tried it = again just now, same result. - Nick ________________________________________ From: Ben Dewey [[email protected]] Sent: Monday, April 26, 2010 1:02 PM To: [email protected] Subject: RE: AddressAlreadyInUseException when starting TradeOrderProcessor= service Nick, I've seen this before, and IIRC a restart fixed it for me. Have you tried = that by any chance? -Ben Dewey= From [email protected] Mon Apr 26 20:31:46 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11358 invoked from network); 26 Apr 2010 20:31:46 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Apr 2010 20:31:46 -0000 Received: (qmail 84516 invoked by uid 500); 26 Apr 2010 20:31:46 -0000 Delivered-To: [email protected] Received: (qmail 84472 invoked by uid 500); 26 Apr 2010 20:31:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 84463 invoked by uid 99); 26 Apr 2010 20:31:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 20:31:46 +0000 X-ASF-Spam-Status: No, hits=-4.2 required=10.0 tests=AWL,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail122.messagelabs.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 20:31:39 +0000 X-VirusChecked: Checked X-Env-Sender: [email protected] X-Msg-Ref: server-7.tower-122.messagelabs.com!1272313834!61580628!1 X-StarScan-Version: 6.2.4; banners=-,-,- X-Originating-IP: [161.129.204.104] Received: (qmail 30467 invoked from network); 26 Apr 2010 20:30:35 -0000 Received: from mailserver.citigatehudson.com (HELO 26NY-ES4.26ny.local) (161.129.204.104) by server-7.tower-122.messagelabs.com with AES128-SHA encrypted SMTP; 26 Apr 2010 20:30:35 -0000 Received: from 26NY-ES4.26ny.local ([161.129.204.104]) by 26NY-ES4.26ny.local ([acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bc4e7:6f5c:7beb:8eae%11]) with mapi; Mon, 26 Apr 2010 16:30:33 -0400 From: Ben Dewey <[email protected]> To: "[email protected]" <[email protected]> Date: Mon, 26 Apr 2010 16:30:32 -0400 Subject: RE: AddressAlreadyInUseException when starting TradeOrderProcessor service Thread-Topic: AddressAlreadyInUseException when starting TradeOrderProcessor service Thread-Index: AQHK5XC4icFPT1oM/Eegain5UzwnHJI1K9JwgAADTgmAAAQp4A== Message-ID: <[email protected]> References: <[email protected]>,<[email protected]> <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Figured you already tried that. Can you try the old fashion way? 1. Run AuthorizeWcfServices.bat and delete all reservations 2. Run OrderProcessorConsoleHost.exe as Administrator manually -Ben Dewey -----Original Message----- From: Nick Hauenstein [mailto:[email protected]]=20 Sent: Monday, April 26, 2010 4:14 PM To: [email protected] Subject: RE: AddressAlreadyInUseException when starting TradeOrderProcessor= service No such luck this time. That was one of the first things I tried. Tried it = again just now, same result. - Nick ________________________________________ From: Ben Dewey [[email protected]] Sent: Monday, April 26, 2010 1:02 PM To: [email protected] Subject: RE: AddressAlreadyInUseException when starting TradeOrderProcessor= service Nick, I've seen this before, and IIRC a restart fixed it for me. Have you tried = that by any chance? -Ben Dewey From [email protected] Mon Apr 26 20:45:55 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 19006 invoked from network); 26 Apr 2010 20:45:55 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Apr 2010 20:45:55 -0000 Received: (qmail 4916 invoked by uid 500); 26 Apr 2010 20:45:55 -0000 Delivered-To: [email protected] Received: (qmail 4855 invoked by uid 500); 26 Apr 2010 20:45:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 4847 invoked by uid 99); 26 Apr 2010 20:45:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 20:45:54 +0000 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=AWL,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO relay.ihostexchange.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 20:45:49 +0000 Received: from VMBX101.ihostexchange.net ([161.129.204.104]) by hub106.ihostexchange.net ([161.129.204.104]) with mapi; Mon, 26 Apr 2010 16:45:24 -0400 From: Nick Hauenstein <[email protected]> To: "[email protected]" <[email protected]> Date: Mon, 26 Apr 2010 16:44:14 -0400 Subject: RE: AddressAlreadyInUseException when starting TradeOrderProcessor service Thread-Topic: AddressAlreadyInUseException when starting TradeOrderProcessor service Thread-Index: AQHK5XC4icFPT1oM/Eegain5UzwnHJI1K9JwgAADTgmAAAQp4IAABEw3 Message-ID: <[email protected]> References: <[email protected]>,<[email protected]> <[email protected]>,<[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 It works with the reservation removed, and without explicitly running as ad= ministrator. How should this be documented? - Nick ________________________________________ From: Ben Dewey [[email protected]] Sent: Monday, April 26, 2010 1:30 PM To: [email protected] Subject: RE: AddressAlreadyInUseException when starting TradeOrderProcessor= service Figured you already tried that. Can you try the old fashion way? 1. Run AuthorizeWcfServices.bat and delete all reservations 2. Run OrderProcessorConsoleHost.exe as Administrator manually -Ben Dewey -----Original Message----- From: Nick Hauenstein [mailto:[email protected]] Sent: Monday, April 26, 2010 4:14 PM To: [email protected] Subject: RE: AddressAlreadyInUseException when starting TradeOrderProcessor= service No such luck this time. That was one of the first things I tried. Tried it = again just now, same result. - Nick ________________________________________ From: Ben Dewey [[email protected]] Sent: Monday, April 26, 2010 1:02 PM To: [email protected] Subject: RE: AddressAlreadyInUseException when starting TradeOrderProcessor= service Nick, I've seen this before, and IIRC a restart fixed it for me. Have you tried = that by any chance? -Ben Dewey= From [email protected] Mon Apr 26 20:51:04 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22286 invoked from network); 26 Apr 2010 20:51:03 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Apr 2010 20:51:03 -0000 Received: (qmail 14834 invoked by uid 500); 26 Apr 2010 20:51:03 -0000 Delivered-To: [email protected] Received: (qmail 14807 invoked by uid 500); 26 Apr 2010 20:51:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 14799 invoked by uid 99); 26 Apr 2010 20:51:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 20:51:03 +0000 X-ASF-Spam-Status: No, hits=-4.2 required=10.0 tests=AWL,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail126.messagelabs.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 20:50:57 +0000 X-VirusChecked: Checked X-Env-Sender: [email protected] X-Msg-Ref: server-12.tower-126.messagelabs.com!1272315027!67792557!1 X-StarScan-Version: 6.2.4; banners=-,-,- X-Originating-IP: [161.129.204.104] Received: (qmail 16180 invoked from network); 26 Apr 2010 20:50:28 -0000 Received: from mailserver.citigatehudson.com (HELO 26NY-ES4.26ny.local) (161.129.204.104) by server-12.tower-126.messagelabs.com with AES128-SHA encrypted SMTP; 26 Apr 2010 20:50:28 -0000 Received: from 26NY-ES4.26ny.local ([161.129.204.104]) by 26NY-ES4.26ny.local ([acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bc4e7:6f5c:7beb:8eae%11]) with mapi; Mon, 26 Apr 2010 16:50:26 -0400 From: Ben Dewey <[email protected]> To: "[email protected]" <[email protected]> Date: Mon, 26 Apr 2010 16:50:24 -0400 Subject: RE: AddressAlreadyInUseException when starting TradeOrderProcessor service Thread-Topic: AddressAlreadyInUseException when starting TradeOrderProcessor service Thread-Index: AQHK5XC4icFPT1oM/Eegain5UzwnHJI1K9JwgAADTgmAAAQp4IAABEw3gAABdyA= Message-ID: <[email protected]> References: <[email protected]>,<[email protected]> <[email protected]>,<[email protected]> <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Do we think this is distinct to Windows 7? -Ben Dewey -----Original Message----- From: Nick Hauenstein [mailto:[email protected]]=20 Sent: Monday, April 26, 2010 4:44 PM To: [email protected] Subject: RE: AddressAlreadyInUseException when starting TradeOrderProcessor= service It works with the reservation removed, and without explicitly running as ad= ministrator. How should this be documented? - Nick ________________________________________ From: Ben Dewey [[email protected]] Sent: Monday, April 26, 2010 1:30 PM To: [email protected] Subject: RE: AddressAlreadyInUseException when starting TradeOrderProcessor= service Figured you already tried that. Can you try the old fashion way? 1. Run AuthorizeWcfServices.bat and delete all reservations 2. Run OrderProcessorConsoleHost.exe as Administrator manually -Ben Dewey -----Original Message----- From: Nick Hauenstein [mailto:[email protected]] Sent: Monday, April 26, 2010 4:14 PM To: [email protected] Subject: RE: AddressAlreadyInUseException when starting TradeOrderProcessor= service No such luck this time. That was one of the first things I tried. Tried it = again just now, same result. - Nick ________________________________________ From: Ben Dewey [[email protected]] Sent: Monday, April 26, 2010 1:02 PM To: [email protected] Subject: RE: AddressAlreadyInUseException when starting TradeOrderProcessor= service Nick, I've seen this before, and IIRC a restart fixed it for me. Have you tried = that by any chance? -Ben Dewey From [email protected] Mon Apr 26 21:16:52 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 39071 invoked from network); 26 Apr 2010 21:16:52 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Apr 2010 21:16:52 -0000 Received: (qmail 42084 invoked by uid 500); 26 Apr 2010 21:16:52 -0000 Delivered-To: [email protected] Received: (qmail 42063 invoked by uid 500); 26 Apr 2010 21:16:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 42055 invoked by uid 99); 26 Apr 2010 21:16:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 21:16:52 +0000 X-ASF-Spam-Status: No, hits=-0.9 required=10.0 tests=AWL,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO relay.ihostexchange.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 21:16:45 +0000 Received: from VMBX101.ihostexchange.net ([161.129.204.104]) by hub106.ihostexchange.net ([161.129.204.104]) with mapi; Mon, 26 Apr 2010 17:16:20 -0400 From: Nick Hauenstein <[email protected]> To: "[email protected]" <[email protected]> Date: Mon, 26 Apr 2010 17:16:20 -0400 Subject: Metro Build Errors Thread-Topic: Metro Build Errors Thread-Index: AQHK5YW3vnnQHcBulUGKUl16G6X8SQ== Message-ID: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 I was just running through the Metro install process (sans OpenSSO), but wh= en I got to the point of building the code that is currently in the trunk (= by executing: ant STS deploy), I hit quite a few errors during compilation = [1]. Is the code that is checked in expected to build right now, or is ther= e still some work pending? Thanks in advance! - Nick [1] Build output: Buildfile: C:\stonehenge\stocktrader\metro\build.xml STS: [echo] copy sts web file [copy] Copying 1 file to C:\stonehenge\stocktrader\metro\trader_client= \web\WEB-INF deploy: clean: [delete] Deleting directory C:\stonehenge\stocktrader\metro\business_ser= vice\build setup: [mkdir] Created dir: C:\stonehenge\stocktrader\metro\business_service\b= uild [mkdir] Created dir: C:\stonehenge\stocktrader\metro\business_service\b= uild\classes [mkdir] Created dir: C:\stonehenge\stocktrader\metro\business_service\b= uild\war generate-order-processor-client: [wsimport] Consider using <depends>/<produces> so that wsimport won't do u= nnecessary compilation [wsimport] parsing WSDL... [wsimport] [wsimport] [wsimport] [WARNING] SOAP port "WSHttpBinding_OrderProcessorService": uses= a non-standard SOAP 1.2 binding. [wsimport] line 402 of file:/C:/stonehenge/stocktrader/metro/etc/order_p= rocessor/OrderProcessor.wsdl [wsimport] [wsimport] [WARNING] SOAP port "CustomBinding_OrderProcessorService": uses= a non-standard SOAP 1.2 binding. [wsimport] line 409 of file:/C:/stonehenge/stocktrader/metro/etc/order_p= rocessor/OrderProcessor.wsdl [wsimport] [wsimport] [WARNING] SOAP port "SecureConversationBinding_OrderProcessorSe= rvice": uses a non-standard SOAP 1.2 binding. [wsimport] line 416 of file:/C:/stonehenge/stocktrader/metro/etc/order_p= rocessor/OrderProcessor.wsdl [wsimport] [wsimport] generating code... [wsimport] [wsimport] [wsimport] compiling code... [wsimport] generate-cs-client: [wsimport] Consider using <depends>/<produces> so that wsimport won't do u= nnecessary compilation [wsimport] parsing WSDL... [wsimport] [wsimport] [wsimport] generating code... [wsimport] [wsimport] [wsimport] compiling code... [wsimport] build: [wsimport] Consider using <depends>/<produces> so that wsimport won't do u= nnecessary compilation [wsimport] parsing WSDL... [wsimport] [wsimport] [wsimport] [WARNING] SOAP port "BasicHttpBinding_ITradeServices": uses a n= on-standard SOAP 1.2 binding. [wsimport] line 507 of file:/C:/stonehenge/stocktrader/metro/etc/busines= s_service/TradeServiceWsas.wsdl [wsimport] [wsimport] [WARNING] SOAP port "CustomBinding_ITradeServices": uses a non-= standard SOAP 1.2 binding. [wsimport] line 510 of file:/C:/stonehenge/stocktrader/metro/etc/busines= s_service/TradeServiceWsas.wsdl [wsimport] [wsimport] generating code... [wsimport] [wsimport] [wsimport] compiling code... [wsimport] [copy] Copying 2 files to C:\stonehenge\stocktrader\metro\business_ser= vice\build\classes [copy] Copying 1 file to C:\stonehenge\stocktrader\metro\business_serv= ice\build\classes [copy] Copying 1 file to C:\stonehenge\stocktrader\metro\business_serv= ice\build\classes [javac] C:\stonehenge\stocktrader\metro\business_service\build.xml:104:= warning: 'includeantruntime' was not set, defaulting to build.sysclasspath= =3Dlast; set to false for repeatable builds [javac] Compiling 23 source files to C:\stonehenge\stocktrader\metro\bu= siness_service\build\classes [javac] C:\stonehenge\stocktrader\metro\business_service\build.xml:108:= warning: 'includeantruntime' was not set, defaulting to build.sysclasspath= =3Dlast; set to false for repeatable builds [javac] Compiling 6 source files to C:\stonehenge\stocktrader\metro\bus= iness_service\build\classes [javac] C:\stonehenge\stocktrader\metro\business_service\build.xml:112:= warning: 'includeantruntime' was not set, defaulting to build.sysclasspath= =3Dlast; set to false for repeatable builds [javac] Compiling 6 source files to C:\stonehenge\stocktrader\metro\bus= iness_service\build\classes war: [war] Building war: C:\stonehenge\stocktrader\metro\business_service\= build\war\business_service.war deploy-keystore: deploy: [copy] Copying 1 file to C:\Sun\SDK\domains\domain2\autodeploy clean: [delete] Deleting directory C:\stonehenge\stocktrader\metro\order_proces= sor\build setup: [mkdir] Created dir: C:\stonehenge\stocktrader\metro\order_processor\bu= ild [mkdir] Created dir: C:\stonehenge\stocktrader\metro\order_processor\bu= ild\classes [mkdir] Created dir: C:\stonehenge\stocktrader\metro\order_processor\bu= ild\war import-ws: [wsimport] Consider using <depends>/<produces> so that wsimport won't do u= nnecessary compilation [wsimport] parsing WSDL... [wsimport] [wsimport] [wsimport] [WARNING] SOAP port "WSHttpBinding_OrderProcessorService": uses= a non-standard SOAP 1.2 binding. [wsimport] line 402 of file:/C:/stonehenge/stocktrader/metro/etc/order_p= rocessor/OrderProcessor.wsdl [wsimport] [wsimport] [WARNING] SOAP port "CustomBinding_OrderProcessorService": uses= a non-standard SOAP 1.2 binding. [wsimport] line 409 of file:/C:/stonehenge/stocktrader/metro/etc/order_p= rocessor/OrderProcessor.wsdl [wsimport] [wsimport] [WARNING] SOAP port "SecureConversationBinding_OrderProcessorSe= rvice": uses a non-standard SOAP 1.2 binding. [wsimport] line 416 of file:/C:/stonehenge/stocktrader/metro/etc/order_p= rocessor/OrderProcessor.wsdl [wsimport] [wsimport] generating code... [wsimport] [wsimport] [wsimport] compiling code... [wsimport] build: [copy] Copying 2 files to C:\stonehenge\stocktrader\metro\order_proces= sor\build\classes [javac] C:\stonehenge\stocktrader\metro\order_processor\build.xml:84: w= arning: 'includeantruntime' was not set, defaulting to build.sysclasspath= =3Dlast; set to false for repeatable builds [javac] Compiling 23 source files to C:\stonehenge\stocktrader\metro\or= der_processor\build\classes [javac] C:\stonehenge\stocktrader\metro\order_processor\build.xml:91: w= arning: 'includeantruntime' was not set, defaulting to build.sysclasspath= =3Dlast; set to false for repeatable builds [javac] Compiling 5 source files to C:\stonehenge\stocktrader\metro\ord= er_processor\build\classes war: [war] Building war: C:\stonehenge\stocktrader\metro\order_processor\b= uild\war\order_processor.war deploy-keystore: deploy: [copy] Copying 1 file to C:\Sun\SDK\domains\domain2\autodeploy clean: [delete] Deleting directory C:\stonehenge\stocktrader\metro\trader_clien= t\build setup: [mkdir] Created dir: C:\stonehenge\stocktrader\metro\trader_client\buil= d [mkdir] Created dir: C:\stonehenge\stocktrader\metro\trader_client\buil= d\classes [mkdir] Created dir: C:\stonehenge\stocktrader\metro\trader_client\buil= d\war generate-bs-client: [wsimport] Consider using <depends>/<produces> so that wsimport won't do u= nnecessary compilation [wsimport] parsing WSDL... [wsimport] [wsimport] [wsimport] [WARNING] SOAP port "BasicHttpBinding_ITradeServices": uses a n= on-standard SOAP 1.2 binding. [wsimport] line 507 of file:/C:/stonehenge/stocktrader/metro/etc/busines= s_service/TradeServiceWsas.wsdl [wsimport] [wsimport] [WARNING] SOAP port "CustomBinding_ITradeServices": uses a non-= standard SOAP 1.2 binding. [wsimport] line 510 of file:/C:/stonehenge/stocktrader/metro/etc/busines= s_service/TradeServiceWsas.wsdl [wsimport] [wsimport] generating code... [wsimport] [wsimport] [wsimport] compiling code... [wsimport] generate-cs-client: [wsimport] Consider using <depends>/<produces> so that wsimport won't do u= nnecessary compilation [wsimport] parsing WSDL... [wsimport] [wsimport] [wsimport] generating code... [wsimport] [wsimport] [wsimport] compiling code... [wsimport] build: [copy] Copying 2 files to C:\stonehenge\stocktrader\metro\trader_clien= t\build\classes [copy] Copying 1 file to C:\stonehenge\stocktrader\metro\trader_client= \build\classes [copy] Copying 1 file to C:\stonehenge\stocktrader\metro\trader_client= \build\classes [javac] C:\stonehenge\stocktrader\metro\trader_client\build.xml:110: wa= rning: 'includeantruntime' was not set, defaulting to build.sysclasspath=3D= last; set to false for repeatable builds [javac] Compiling 6 source files to C:\stonehenge\stocktrader\metro\tra= der_client\build\classes [javac] C:\stonehenge\stocktrader\metro\trader_client\build.xml:113: wa= rning: 'includeantruntime' was not set, defaulting to build.sysclasspath=3D= last; set to false for repeatable builds [javac] Compiling 20 source files to C:\stonehenge\stocktrader\metro\tr= ader_client\build\classes [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\st= onehenge\stocktrader\service\CookieManager.java:24: package com.sun.identit= y.wsfederation.client does not exist [javac] import com.sun.identity.wsfederation.client.WSFederationClient; [javac] ^ [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\st= onehenge\stocktrader\filter\STSFilter.java:20: package com.iplanet.sso does= not exist [javac] import com.iplanet.sso.SSOException; [javac] ^ [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\st= onehenge\stocktrader\filter\STSFilter.java:21: package com.iplanet.sso does= not exist [javac] import com.iplanet.sso.SSOToken; [javac] ^ [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\st= onehenge\stocktrader\filter\STSFilter.java:22: package com.iplanet.sso does= not exist [javac] import com.iplanet.sso.SSOTokenManager; [javac] ^ [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\st= onehenge\stocktrader\filter\STSFilter.java:58: cannot find symbol [javac] symbol : class SSOException [javac] location: class org.apache.stonehenge.stocktrader.filter.STSFil= ter [javac] FilterChain filterChain) throws SSOEx= ception, IOException, ServletException { [javac] ^ [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\st= onehenge\stocktrader\service\SamlAssertionRequest.java:20: package com.ipla= net.sso does not exist [javac] import com.iplanet.sso.SSOException; [javac] ^ [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\st= onehenge\stocktrader\service\SamlAssertionRequest.java:21: package com.ipla= net.sso does not exist [javac] import com.iplanet.sso.SSOToken; [javac] ^ [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\st= onehenge\stocktrader\service\SamlAssertionRequest.java:22: package com.ipla= net.sso does not exist [javac] import com.iplanet.sso.SSOTokenManager; [javac] ^ [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\st= onehenge\stocktrader\service\CookieManager.java:68: cannot find symbol [javac] symbol : variable WSFederationClient [javac] location: class org.apache.stonehenge.stocktrader.service.Cooki= eManager [javac] String samlAssertion =3D WSFederationClient.getUser= SAMLAssertion(java.net.URLEncoder.encode(assertionId), url, null, null); [javac] ^ [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\st= onehenge\stocktrader\service\CookieManager.java:72: package com.sun.identit= y.wsfederation.common does not exist [javac] catch(com.sun.identity.wsfederation.common.WSFederati= onException ex) [javac] ^ [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\st= onehenge\stocktrader\filter\STSFilter.java:52: cannot find symbol [javac] symbol : class SSOException [javac] location: class org.apache.stonehenge.stocktrader.filter.STSFil= ter [javac] } catch (SSOException e) { [javac] ^ [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\st= onehenge\stocktrader\filter\STSFilter.java:61: cannot find symbol [javac] symbol : class SSOTokenManager [javac] location: class org.apache.stonehenge.stocktrader.filter.STSFil= ter [javac] SSOTokenManager manager =3D SSOTokenManager.getInst= ance(); [javac] ^ [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\st= onehenge\stocktrader\filter\STSFilter.java:61: cannot find symbol [javac] symbol : variable SSOTokenManager [javac] location: class org.apache.stonehenge.stocktrader.filter.STSFil= ter [javac] SSOTokenManager manager =3D SSOTokenManager.getInst= ance(); [javac] ^ [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\st= onehenge\stocktrader\filter\STSFilter.java:62: cannot find symbol [javac] symbol : class SSOToken [javac] location: class org.apache.stonehenge.stocktrader.filter.STSFil= ter [javac] SSOToken ssoToken =3D manager.createSSOToken(httpSe= rvletRequest); [javac] ^ [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\st= onehenge\stocktrader\service\SamlAssertionRequest.java:38: cannot find symb= ol [javac] symbol : class SSOTokenManager [javac] location: class org.apache.stonehenge.stocktrader.service.SamlA= ssertionRequest [javac] SSOTokenManager manager =3D SSOTokenManager.getInst= ance(); [javac] ^ [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\st= onehenge\stocktrader\service\SamlAssertionRequest.java:38: cannot find symb= ol [javac] symbol : variable SSOTokenManager [javac] location: class org.apache.stonehenge.stocktrader.service.SamlA= ssertionRequest [javac] SSOTokenManager manager =3D SSOTokenManager.getInst= ance(); [javac] ^ [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\st= onehenge\stocktrader\service\SamlAssertionRequest.java:39: cannot find symb= ol [javac] symbol : class SSOToken [javac] location: class org.apache.stonehenge.stocktrader.service.SamlA= ssertionRequest [javac] SSOToken token =3D manager.createSSOToken(httpServl= etRequest); [javac] ^ [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\st= onehenge\stocktrader\service\SamlAssertionRequest.java:53: cannot find symb= ol [javac] symbol : class SSOException [javac] location: class org.apache.stonehenge.stocktrader.service.SamlA= ssertionRequest [javac] } catch (SSOException e) { [javac] ^ [javac] Note: C:\stonehenge\stocktrader\metro\trader_client\src\org\apa= che\stonehenge\stocktrader\service\CookieManager.java uses or overrides a d= eprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: C:\stonehenge\stocktrader\metro\trader_client\src\org\apa= che\stonehenge\stocktrader\bean\ConfigServiceBean.java uses unchecked or un= safe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 18 errors BUILD FAILED C:\stonehenge\stocktrader\metro\build.xml:37: The following error occurred = while executing this line: C:\stonehenge\stocktrader\metro\trader_client\build.xml:113: Compile failed= ; see the compiler error output for details. Total time: 1 minute 7 seconds From [email protected] Mon Apr 26 21:22:48 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 43565 invoked from network); 26 Apr 2010 21:22:48 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Apr 2010 21:22:48 -0000 Received: (qmail 52588 invoked by uid 500); 26 Apr 2010 21:22:48 -0000 Delivered-To: [email protected] Received: (qmail 52565 invoked by uid 500); 26 Apr 2010 21:22:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 52557 invoked by uid 99); 26 Apr 2010 21:22:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 21:22:48 +0000 X-ASF-Spam-Status: No, hits=-4.1 required=10.0 tests=AWL,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail76.messagelabs.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 21:22:40 +0000 X-VirusChecked: Checked X-Env-Sender: [email protected] X-Msg-Ref: server-4.tower-76.messagelabs.com!1272316920!97964939!1 X-StarScan-Version: 6.2.4; banners=-,-,- X-Originating-IP: [161.129.204.104] Received: (qmail 20525 invoked from network); 26 Apr 2010 21:22:01 -0000 Received: from mailserver.citigatehudson.com (HELO 26NY-ES4.26ny.local) (161.129.204.104) by server-4.tower-76.messagelabs.com with AES128-SHA encrypted SMTP; 26 Apr 2010 21:22:01 -0000 Received: from 26NY-ES4.26ny.local ([161.129.204.104]) by 26NY-ES4.26ny.local ([acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bc4e7:6f5c:7beb:8eae%11]) with mapi; Mon, 26 Apr 2010 17:22:17 -0400 From: Ben Dewey <[email protected]> To: "[email protected]" <[email protected]> Date: Mon, 26 Apr 2010 17:22:16 -0400 Subject: RE: Metro Build Errors Thread-Topic: Metro Build Errors Thread-Index: AQHK5YW3vnnQHcBulUGKUl16G6X8SZI1Qd6A Message-ID: <[email protected]> References: <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Get Latest and try now, using 'ant deploy' (no STS) -Ben Dewey -----Original Message----- From: Nick Hauenstein [mailto:[email protected]] Sent: Monday, April 26, 2010 5:16 PM To: [email protected] Subject: Metro Build Errors I was just running through the Metro install process (sans OpenSSO), but wh= en I got to the point of building the code that is currently in the trunk (= by executing: ant STS deploy), I hit quite a few errors during compilation = [1]. Is the code that is checked in expected to build right now, or is ther= e still some work pending? Thanks in advance! - Nick [1] Build output: Buildfile: C:\stonehenge\stocktrader\metro\build.xml STS: [echo] copy sts web file [copy] Copying 1 file to C:\stonehenge\stocktrader\metro\trader_client= \web\WEB-INF deploy: clean: [delete] Deleting directory C:\stonehenge\stocktrader\metro\business_ser= vice\build setup: [mkdir] Created dir: C:\stonehenge\stocktrader\metro\business_service\b= uild [mkdir] Created dir: C:\stonehenge\stocktrader\metro\business_service\b= uild\classes [mkdir] Created dir: C:\stonehenge\stocktrader\metro\business_service\b= uild\war generate-order-processor-client: [wsimport] Consider using <depends>/<produces> so that wsimport won't do u= nnecessary compilation [wsimport] parsing WSDL... [wsimport] [wsimport] [wsimport] [WARNING] SOAP port "WSHttpBinding_OrderProcessorService": uses= a non-standard SOAP 1.2 binding. [wsimport] line 402 of file:/C:/stonehenge/stocktrader/metro/etc/order_p= rocessor/OrderProcessor.wsdl [wsimport] [wsimport] [WARNING] SOAP port "CustomBinding_OrderProcessorService": uses= a non-standard SOAP 1.2 binding. [wsimport] line 409 of file:/C:/stonehenge/stocktrader/metro/etc/order_p= rocessor/OrderProcessor.wsdl [wsimport] [wsimport] [WARNING] SOAP port "SecureConversationBinding_OrderProcessorSe= rvice": uses a non-standard SOAP 1.2 binding. [wsimport] line 416 of file:/C:/stonehenge/stocktrader/metro/etc/order_p= rocessor/OrderProcessor.wsdl [wsimport] [wsimport] generating code... [wsimport] [wsimport] [wsimport] compiling code... [wsimport] generate-cs-client: [wsimport] Consider using <depends>/<produces> so that wsimport won't do u= nnecessary compilation [wsimport] parsing WSDL... [wsimport] [wsimport] [wsimport] generating code... [wsimport] [wsimport] [wsimport] compiling code... [wsimport] build: [wsimport] Consider using <depends>/<produces> so that wsimport won't do u= nnecessary compilation [wsimport] parsing WSDL... [wsimport] [wsimport] [wsimport] [WARNING] SOAP port "BasicHttpBinding_ITradeServices": uses a n= on-standard SOAP 1.2 binding. [wsimport] line 507 of file:/C:/stonehenge/stocktrader/metro/etc/busines= s_service/TradeServiceWsas.wsdl [wsimport] [wsimport] [WARNING] SOAP port "CustomBinding_ITradeServices": uses a non-= standard SOAP 1.2 binding. [wsimport] line 510 of file:/C:/stonehenge/stocktrader/metro/etc/busines= s_service/TradeServiceWsas.wsdl [wsimport] [wsimport] generating code... [wsimport] [wsimport] [wsimport] compiling code... [wsimport] [copy] Copying 2 files to C:\stonehenge\stocktrader\metro\business_ser= vice\build\classes [copy] Copying 1 file to C:\stonehenge\stocktrader\metro\business_serv= ice\build\classes [copy] Copying 1 file to C:\stonehenge\stocktrader\metro\business_serv= ice\build\classes [javac] C:\stonehenge\stocktrader\metro\business_service\build.xml:104:= warning: 'includeantruntime' was not set, defaulting to build.sysclasspath= =3Dlast; set to false for repeatable builds [javac] Compiling 23 source files to C:\stonehenge\stocktrader\metro\bu= siness_service\build\classes [javac] C:\stonehenge\stocktrader\metro\business_service\build.xml:108:= warning: 'includeantruntime' was not set, defaulting to build.sysclasspath= =3Dlast; set to false for repeatable builds [javac] Compiling 6 source files to C:\stonehenge\stocktrader\metro\bus= iness_service\build\classes [javac] C:\stonehenge\stocktrader\metro\business_service\build.xml:112:= warning: 'includeantruntime' was not set, defaulting to build.sysclasspath= =3Dlast; set to false for repeatable builds [javac] Compiling 6 source files to C:\stonehenge\stocktrader\metro\bus= iness_service\build\classes war: [war] Building war: C:\stonehenge\stocktrader\metro\business_service\= build\war\business_service.war deploy-keystore: deploy: [copy] Copying 1 file to C:\Sun\SDK\domains\domain2\autodeploy clean: [delete] Deleting directory C:\stonehenge\stocktrader\metro\order_proces= sor\build setup: [mkdir] Created dir: C:\stonehenge\stocktrader\metro\order_processor\bu= ild [mkdir] Created dir: C:\stonehenge\stocktrader\metro\order_processor\bu= ild\classes [mkdir] Created dir: C:\stonehenge\stocktrader\metro\order_processor\bu= ild\war import-ws: [wsimport] Consider using <depends>/<produces> so that wsimport won't do u= nnecessary compilation [wsimport] parsing WSDL... [wsimport] [wsimport] [wsimport] [WARNING] SOAP port "WSHttpBinding_OrderProcessorService": uses= a non-standard SOAP 1.2 binding. [wsimport] line 402 of file:/C:/stonehenge/stocktrader/metro/etc/order_p= rocessor/OrderProcessor.wsdl [wsimport] [wsimport] [WARNING] SOAP port "CustomBinding_OrderProcessorService": uses= a non-standard SOAP 1.2 binding. [wsimport] line 409 of file:/C:/stonehenge/stocktrader/metro/etc/order_p= rocessor/OrderProcessor.wsdl [wsimport] [wsimport] [WARNING] SOAP port "SecureConversationBinding_OrderProcessorSe= rvice": uses a non-standard SOAP 1.2 binding. [wsimport] line 416 of file:/C:/stonehenge/stocktrader/metro/etc/order_p= rocessor/OrderProcessor.wsdl [wsimport] [wsimport] generating code... [wsimport] [wsimport] [wsimport] compiling code... [wsimport] build: [copy] Copying 2 files to C:\stonehenge\stocktrader\metro\order_proces= sor\build\classes [javac] C:\stonehenge\stocktrader\metro\order_processor\build.xml:84: w= arning: 'includeantruntime' was not set, defaulting to build.sysclasspath= =3Dlast; set to false for repeatable builds [javac] Compiling 23 source files to C:\stonehenge\stocktrader\metro\or= der_processor\build\classes [javac] C:\stonehenge\stocktrader\metro\order_processor\build.xml:91: w= arning: 'includeantruntime' was not set, defaulting to build.sysclasspath= =3Dlast; set to false for repeatable builds [javac] Compiling 5 source files to C:\stonehenge\stocktrader\metro\ord= er_processor\build\classes war: [war] Building war: C:\stonehenge\stocktrader\metro\order_processor\b= uild\war\order_processor.war deploy-keystore: deploy: [copy] Copying 1 file to C:\Sun\SDK\domains\domain2\autodeploy clean: [delete] Deleting directory C:\stonehenge\stocktrader\metro\trader_clien= t\build setup: [mkdir] Created dir: C:\stonehenge\stocktrader\metro\trader_client\buil= d [mkdir] Created dir: C:\stonehenge\stocktrader\metro\trader_client\buil= d\classes [mkdir] Created dir: C:\stonehenge\stocktrader\metro\trader_client\buil= d\war generate-bs-client: [wsimport] Consider using <depends>/<produces> so that wsimport won't do u= nnecessary compilation [wsimport] parsing WSDL... [wsimport] [wsimport] [wsimport] [WARNING] SOAP port "BasicHttpBinding_ITradeServices": uses a n= on-standard SOAP 1.2 binding. [wsimport] line 507 of file:/C:/stonehenge/stocktrader/metro/etc/busines= s_service/TradeServiceWsas.wsdl [wsimport] [wsimport] [WARNING] SOAP port "CustomBinding_ITradeServices": uses a non-= standard SOAP 1.2 binding. [wsimport] line 510 of file:/C:/stonehenge/stocktrader/metro/etc/busines= s_service/TradeServiceWsas.wsdl [wsimport] [wsimport] generating code... [wsimport] [wsimport] [wsimport] compiling code... [wsimport] generate-cs-client: [wsimport] Consider using <depends>/<produces> so that wsimport won't do u= nnecessary compilation [wsimport] parsing WSDL... [wsimport] [wsimport] [wsimport] generating code... [wsimport] [wsimport] [wsimport] compiling code... [wsimport] build: [copy] Copying 2 files to C:\stonehenge\stocktrader\metro\trader_clien= t\build\classes [copy] Copying 1 file to C:\stonehenge\stocktrader\metro\trader_client= \build\classes [copy] Copying 1 file to C:\stonehenge\stocktrader\metro\trader_client= \build\classes [javac] C:\stonehenge\stocktrader\metro\trader_client\build.xml:110: wa= rning: 'includeantruntime' was not set, defaulting to build.sysclasspath=3D= last; set to false for repeatable builds [javac] Compiling 6 source files to C:\stonehenge\stocktrader\metro\tra= der_client\build\classes [javac] C:\stonehenge\stocktrader\metro\trader_client\build.xml:113: wa= rning: 'includeantruntime' was not set, defaulting to build.sysclasspath=3D= last; set to false for repeatable builds [javac] Compiling 20 source files to C:\stonehenge\stocktrader\metro\tr= ader_client\build\classes [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\st= onehenge\stocktrader\service\CookieManager.java:24: package com.sun.identit= y.wsfederation.client does not exist [javac] import com.sun.identity.wsfederation.client.WSFederationClient; [javac] ^ [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\st= onehenge\stocktrader\filter\STSFilter.java:20: package com.iplanet.sso does= not exist [javac] import com.iplanet.sso.SSOException; [javac] ^ [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\st= onehenge\stocktrader\filter\STSFilter.java:21: package com.iplanet.sso does= not exist [javac] import com.iplanet.sso.SSOToken; [javac] ^ [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\st= onehenge\stocktrader\filter\STSFilter.java:22: package com.iplanet.sso does= not exist [javac] import com.iplanet.sso.SSOTokenManager; [javac] ^ [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\st= onehenge\stocktrader\filter\STSFilter.java:58: cannot find symbol [javac] symbol : class SSOException [javac] location: class org.apache.stonehenge.stocktrader.filter.STSFil= ter [javac] FilterChain filterChain) throws SSOEx= ception, IOException, ServletException { [javac] ^ [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\st= onehenge\stocktrader\service\SamlAssertionRequest.java:20: package com.ipla= net.sso does not exist [javac] import com.iplanet.sso.SSOException; [javac] ^ [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\st= onehenge\stocktrader\service\SamlAssertionRequest.java:21: package com.ipla= net.sso does not exist [javac] import com.iplanet.sso.SSOToken; [javac] ^ [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\st= onehenge\stocktrader\service\SamlAssertionRequest.java:22: package com.ipla= net.sso does not exist [javac] import com.iplanet.sso.SSOTokenManager; [javac] ^ [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\st= onehenge\stocktrader\service\CookieManager.java:68: cannot find symbol [javac] symbol : variable WSFederationClient [javac] location: class org.apache.stonehenge.stocktrader.service.Cooki= eManager [javac] String samlAssertion =3D WSFederationClient.getUser= SAMLAssertion(java.net.URLEncoder.encode(assertionId), url, null, null); [javac] ^ [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\st= onehenge\stocktrader\service\CookieManager.java:72: package com.sun.identit= y.wsfederation.common does not exist [javac] catch(com.sun.identity.wsfederation.common.WSFederati= onException ex) [javac] ^ [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\st= onehenge\stocktrader\filter\STSFilter.java:52: cannot find symbol [javac] symbol : class SSOException [javac] location: class org.apache.stonehenge.stocktrader.filter.STSFil= ter [javac] } catch (SSOException e) { [javac] ^ [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\st= onehenge\stocktrader\filter\STSFilter.java:61: cannot find symbol [javac] symbol : class SSOTokenManager [javac] location: class org.apache.stonehenge.stocktrader.filter.STSFil= ter [javac] SSOTokenManager manager =3D SSOTokenManager.getInst= ance(); [javac] ^ [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\st= onehenge\stocktrader\filter\STSFilter.java:61: cannot find symbol [javac] symbol : variable SSOTokenManager [javac] location: class org.apache.stonehenge.stocktrader.filter.STSFil= ter [javac] SSOTokenManager manager =3D SSOTokenManager.getInst= ance(); [javac] ^ [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\st= onehenge\stocktrader\filter\STSFilter.java:62: cannot find symbol [javac] symbol : class SSOToken [javac] location: class org.apache.stonehenge.stocktrader.filter.STSFil= ter [javac] SSOToken ssoToken =3D manager.createSSOToken(httpSe= rvletRequest); [javac] ^ [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\st= onehenge\stocktrader\service\SamlAssertionRequest.java:38: cannot find symb= ol [javac] symbol : class SSOTokenManager [javac] location: class org.apache.stonehenge.stocktrader.service.SamlA= ssertionRequest [javac] SSOTokenManager manager =3D SSOTokenManager.getInst= ance(); [javac] ^ [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\st= onehenge\stocktrader\service\SamlAssertionRequest.java:38: cannot find symb= ol [javac] symbol : variable SSOTokenManager [javac] location: class org.apache.stonehenge.stocktrader.service.SamlA= ssertionRequest [javac] SSOTokenManager manager =3D SSOTokenManager.getInst= ance(); [javac] ^ [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\st= onehenge\stocktrader\service\SamlAssertionRequest.java:39: cannot find symb= ol [javac] symbol : class SSOToken [javac] location: class org.apache.stonehenge.stocktrader.service.SamlA= ssertionRequest [javac] SSOToken token =3D manager.createSSOToken(httpServl= etRequest); [javac] ^ [javac] C:\stonehenge\stocktrader\metro\trader_client\src\org\apache\st= onehenge\stocktrader\service\SamlAssertionRequest.java:53: cannot find symb= ol [javac] symbol : class SSOException [javac] location: class org.apache.stonehenge.stocktrader.service.SamlA= ssertionRequest [javac] } catch (SSOException e) { [javac] ^ [javac] Note: C:\stonehenge\stocktrader\metro\trader_client\src\org\apa= che\stonehenge\stocktrader\service\CookieManager.java uses or overrides a d= eprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: C:\stonehenge\stocktrader\metro\trader_client\src\org\apa= che\stonehenge\stocktrader\bean\ConfigServiceBean.java uses unchecked or un= safe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 18 errors BUILD FAILED C:\stonehenge\stocktrader\metro\build.xml:37: The following error occurred = while executing this line: C:\stonehenge\stocktrader\metro\trader_client\build.xml:113: Compile failed= ; see the compiler error output for details. Total time: 1 minute 7 seconds From [email protected] Mon Apr 26 21:51:53 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59489 invoked from network); 26 Apr 2010 21:51:53 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Apr 2010 21:51:53 -0000 Received: (qmail 78827 invoked by uid 500); 26 Apr 2010 21:51:53 -0000 Delivered-To: [email protected] Received: (qmail 78809 invoked by uid 500); 26 Apr 2010 21:51:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 78801 invoked by uid 99); 26 Apr 2010 21:51:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 21:51:53 +0000 X-ASF-Spam-Status: No, hits=-1350.6 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 21:51:52 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3QLpWo2014250 for <[email protected]>; Mon, 26 Apr 2010 21:51:32 GMT Message-ID: <21373200.19421272318692271.JavaMail.jira@thor> Date: Mon, 26 Apr 2010 17:51:32 -0400 (EDT) From: "Nicholas A Hauenstein (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (STONEHENGE-122) Metro implementation of StockTrader attempts to deploy resources to domain2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Metro implementation of StockTrader attempts to deploy resources to domain2 --------------------------------------------------------------------------- Key: STONEHENGE-122 URL: https://issues.apache.org/jira/browse/STONEHENGE-122 Project: Stonehenge Issue Type: Bug Affects Versions: M2 Reporter: Nicholas A Hauenstein Assignee: Nicholas A Hauenstein Priority: Minor Fix For: M2 Attachments: domain1patch.patch Building the Metro implementation of the StockTrader application results in all of the services being deployed to Glassfish domain2. Since we're not using OpenSSO anymore, this should default to domain1. Patch will be attached momentarily. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Apr 26 21:51:56 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59530 invoked from network); 26 Apr 2010 21:51:56 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Apr 2010 21:51:56 -0000 Received: (qmail 78963 invoked by uid 500); 26 Apr 2010 21:51:56 -0000 Delivered-To: [email protected] Received: (qmail 78921 invoked by uid 500); 26 Apr 2010 21:51:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 78913 invoked by uid 99); 26 Apr 2010 21:51:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 21:51:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 21:51:53 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3QLpWog014256 for <[email protected]>; Mon, 26 Apr 2010 21:51:32 GMT Message-ID: <28538952.19441272318692584.JavaMail.jira@thor> Date: Mon, 26 Apr 2010 17:51:32 -0400 (EDT) From: "Nicholas A Hauenstein (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (STONEHENGE-122) Metro implementation of StockTrader attempts to deploy resources to domain2 In-Reply-To: <21373200.19421272318692271.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STONEHENGE-122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nicholas A Hauenstein updated STONEHENGE-122: --------------------------------------------- Attachment: domain1patch.patch > Metro implementation of StockTrader attempts to deploy resources to domain2 > --------------------------------------------------------------------------- > > Key: STONEHENGE-122 > URL: https://issues.apache.org/jira/browse/STONEHENGE-122 > Project: Stonehenge > Issue Type: Bug > Affects Versions: M2 > Reporter: Nicholas A Hauenstein > Assignee: Nicholas A Hauenstein > Priority: Minor > Fix For: M2 > > Attachments: domain1patch.patch > > Original Estimate: 0.08h > Remaining Estimate: 0.08h > > Building the Metro implementation of the StockTrader application results in all of the services being deployed to Glassfish domain2. Since we're not using OpenSSO anymore, this should default to domain1. > Patch will be attached momentarily. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Apr 26 22:21:56 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74755 invoked from network); 26 Apr 2010 22:21:56 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Apr 2010 22:21:56 -0000 Received: (qmail 166 invoked by uid 500); 26 Apr 2010 22:21:55 -0000 Delivered-To: [email protected] Received: (qmail 99994 invoked by uid 500); 26 Apr 2010 22:21:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 99975 invoked by uid 99); 26 Apr 2010 22:21:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 22:21:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 22:21:53 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3QMLVBx000307 for <[email protected]>; Mon, 26 Apr 2010 22:21:32 GMT Message-ID: <25692008.20001272320491624.JavaMail.jira@thor> Date: Mon, 26 Apr 2010 18:21:31 -0400 (EDT) From: "Ben Dewey (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (STONEHENGE-122) Metro implementation of StockTrader attempts to deploy resources to domain2 In-Reply-To: <21373200.19421272318692271.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STONEHENGE-122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12861142#action_12861142 ] Ben Dewey commented on STONEHENGE-122: -------------------------------------- Thanks for the patch Nick. Please verify and resolve. > Metro implementation of StockTrader attempts to deploy resources to domain2 > --------------------------------------------------------------------------- > > Key: STONEHENGE-122 > URL: https://issues.apache.org/jira/browse/STONEHENGE-122 > Project: Stonehenge > Issue Type: Bug > Affects Versions: M2 > Reporter: Nicholas A Hauenstein > Assignee: Nicholas A Hauenstein > Priority: Minor > Fix For: M2 > > Attachments: domain1patch.patch > > Original Estimate: 0.08h > Remaining Estimate: 0.08h > > Building the Metro implementation of the StockTrader application results in all of the services being deployed to Glassfish domain2. Since we're not using OpenSSO anymore, this should default to domain1. > Patch will be attached momentarily. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Apr 26 22:29:57 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79556 invoked from network); 26 Apr 2010 22:29:56 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Apr 2010 22:29:56 -0000 Received: (qmail 5248 invoked by uid 500); 26 Apr 2010 22:29:56 -0000 Delivered-To: [email protected] Received: (qmail 5224 invoked by uid 500); 26 Apr 2010 22:29:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 5216 invoked by uid 99); 26 Apr 2010 22:29:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 22:29:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 22:29:54 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3QMTW5Y003449 for <[email protected]>; Mon, 26 Apr 2010 22:29:33 GMT Message-ID: <31481896.20451272320972605.JavaMail.jira@thor> Date: Mon, 26 Apr 2010 18:29:32 -0400 (EDT) From: "Nicholas A Hauenstein (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (STONEHENGE-123) Messed up comment in etc/web.xml of order processor service causes deploy to fail MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Messed up comment in etc/web.xml of order processor service causes deploy to fail --------------------------------------------------------------------------------- Key: STONEHENGE-123 URL: https://issues.apache.org/jira/browse/STONEHENGE-123 Project: Stonehenge Issue Type: Bug Affects Versions: M2 Reporter: Nicholas A Hauenstein Assignee: Nicholas A Hauenstein Priority: Minor Fix For: M2 The file stocktrader\metro\order_processor\etc\web.xml has a comment within a comment that Glassfish chokes on while trying to deploy. Timestamp Apr 26, 2010 15:19:14.127 Log Level SEVERE Logger javax.enterprise.system.tools.deployment Name-Value Pairs _ThreadID=18;_ThreadName=Timer-7;Error loading deployment descriptors for module [order_processor] Line 34 Column 5 -- Deployment descriptor file WEB-INF/web.xml in archive [order_processor]. The string "--" is not permitted within comments. ;_RequestID=b19c9694-51f4-474a-b94e-72367e3019dc; Record Number 39 Message ID "DPL8011 Complete Message autodeployment failure while deploying the application : Error loading deployment descriptors for module [order_processor] Line 34 Column 5 -- Deployment descriptor file WEB-INF/web.xml in archive [order_processor]. The string "--" is not permitted within comments. " -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Apr 26 22:31:56 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80762 invoked from network); 26 Apr 2010 22:31:56 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Apr 2010 22:31:56 -0000 Received: (qmail 8642 invoked by uid 500); 26 Apr 2010 22:31:56 -0000 Delivered-To: [email protected] Received: (qmail 8572 invoked by uid 500); 26 Apr 2010 22:31:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 8564 invoked by uid 99); 26 Apr 2010 22:31:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 22:31:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 22:31:54 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3QMVW4B003467 for <[email protected]>; Mon, 26 Apr 2010 22:31:32 GMT Message-ID: <13599669.20511272321092349.JavaMail.jira@thor> Date: Mon, 26 Apr 2010 18:31:32 -0400 (EDT) From: "Nicholas A Hauenstein (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (STONEHENGE-123) Messed up comment in etc/web.xml of order processor service causes deploy to fail In-Reply-To: <31481896.20451272320972605.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STONEHENGE-123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nicholas A Hauenstein updated STONEHENGE-123: --------------------------------------------- Attachment: opspatch.patch Someone might want to review this patch for legality sake. The original file had a scary looking warning about not removing a placeholder-looking copyright notice. It needs to be moved/removed. This patch makes things work, but I'm not sure what needs to be at the top of this document, legally speaking. > Messed up comment in etc/web.xml of order processor service causes deploy to fail > --------------------------------------------------------------------------------- > > Key: STONEHENGE-123 > URL: https://issues.apache.org/jira/browse/STONEHENGE-123 > Project: Stonehenge > Issue Type: Bug > Affects Versions: M2 > Reporter: Nicholas A Hauenstein > Assignee: Nicholas A Hauenstein > Priority: Minor > Fix For: M2 > > Attachments: opspatch.patch > > Original Estimate: 0.03h > Remaining Estimate: 0.03h > > The file stocktrader\metro\order_processor\etc\web.xml has a comment within a comment that Glassfish chokes on while trying to deploy. > Timestamp Apr 26, 2010 15:19:14.127 > Log Level SEVERE > Logger javax.enterprise.system.tools.deployment > Name-Value Pairs _ThreadID=18;_ThreadName=Timer-7;Error loading deployment descriptors for module [order_processor] Line 34 Column 5 -- Deployment descriptor file WEB-INF/web.xml in archive [order_processor]. The string "--" is not permitted within comments. ;_RequestID=b19c9694-51f4-474a-b94e-72367e3019dc; > Record Number 39 > Message ID "DPL8011 > Complete Message autodeployment failure while deploying the application : Error loading deployment descriptors for module [order_processor] Line 34 Column 5 -- Deployment descriptor file WEB-INF/web.xml in archive [order_processor]. The string "--" is not permitted within comments. " -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Apr 26 22:49:48 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90953 invoked from network); 26 Apr 2010 22:49:48 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Apr 2010 22:49:48 -0000 Received: (qmail 21605 invoked by uid 500); 26 Apr 2010 22:49:48 -0000 Delivered-To: [email protected] Received: (qmail 21585 invoked by uid 500); 26 Apr 2010 22:49:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 21577 invoked by uid 99); 26 Apr 2010 22:49:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 22:49:48 +0000 X-ASF-Spam-Status: No, hits=-0.8 required=10.0 tests=AWL,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO relay.ihostexchange.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 22:49:43 +0000 Received: from VMBX101.ihostexchange.net ([161.129.204.104]) by HUB104.ihostexchange.net ([161.129.204.104]) with mapi; Mon, 26 Apr 2010 18:49:18 -0400 From: Nick Hauenstein <[email protected]> To: "[email protected]" <[email protected]> Date: Mon, 26 Apr 2010 18:49:17 -0400 Subject: Errors encountered during Metro / .NET interop on latest trunk Thread-Topic: Errors encountered during Metro / .NET interop on latest trunk Thread-Index: AQHK5ZKzwEYx5LxV30if/ZFzyTWUuA== Message-ID: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Hello again, I just tested through all of the possible scenarios between .NET and Metro,= and hit errors on three of them. The first scenario that had a problem was= .NET Client to .NET BS to .NET OPS TSEC [1], the second was .NET Client to= .NET BS, to Metro OPS SEC [2], and the final error was encountered anytime= Metro BS was used with the .NET Client [3]. I have verified that all of the endpoints have deployed successfully and ar= e accessible at the expected locations. Has anyone else run across this? - Nick ---------------------------------------------------------------------------= --- [1] DOTNETCLIENT_DOTNETBS_DOTNETOPSTSEC ---------------------------------------------------------------------------= --- Server Error in '/trade' Application.=20 An error occurred while making the HTTP request to https://localhost:8005/t= radeorderprocessor. This could be due to the fact that the server certifica= te is not configured properly with HTTP.SYS in the HTTPS case. This could a= lso be caused by a mismatch of the security binding between the client and = the server.=20 Description: An unhandled exception occurred during the execution of the cu= rrent web request. Please review the stack trace for more information about= the error and where it originated in the code.=20 Exception Details: System.ServiceModel.FaultException`1[[System.ServiceMode= l.ExceptionDetail, System.ServiceModel, Version=3D161.129.204.104, Culture=3Dneutra= l, PublicKeyToken=3Db77a5c561934e089]]: An error occurred while making the = HTTP request to https://localhost:8005/tradeorderprocessor. This could be d= ue to the fact that the server certificate is not configured properly with = HTTP.SYS in the HTTPS case. This could also be caused by a mismatch of the = security binding between the client and the server. Source Error:=20 =20 Line 443: { Line 444: this.Channel =3D null; Line 445: throw; Line 446: } Line 447: } =20 Source File: c:\StockTraderDemo\trader_client\BusinessServiceClient\Busines= sServiceClient.cs Line: 445=20 Stack Trace:=20 =20 [FaultException`1: An error occurred while making the HTTP request to https= ://localhost:8005/tradeorderprocessor. This could be due to the fact that t= he server certificate is not configured properly with HTTP.SYS in the HTTPS= case. This could also be caused by a mismatch of the security binding betw= een the client and the server.] System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage r= eqMsg, IMessage retMsg) +7599295 System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msg= Data, Int32 type) +275 Trade.BusinessServiceContract.ITradeServices.sellEnhanced(String userID,= Int32 holdingID, Double quantity) +0 Trade.BusinessServiceClient.BusinessServiceClient.sellEnhanced(String us= erID, Int32 holdingID, Double quantity) in c:\StockTraderDemo\trader_client= \BusinessServiceClient\BusinessServiceClient.cs:445 Trade.BusinessServiceClient.BSLClient.sell(String userID, Int32 holdingI= D, Double quantity) in c:\StockTraderDemo\trader_client\BusinessServiceClie= nt\BSLClient.cs:457 Trade.Web.Order.Page_Load(Object sender, EventArgs e) in c:\StockTraderD= emo\trader_client\Trade\Order.aspx.cs:86 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, = Object t, EventArgs e) +14 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, E= ventArgs e) +35 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +50 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPo= int, Boolean includeStagesAfterAsyncPoint) +627 =20 Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.N= ET Version:2.0.50727.4927=20 ---------------------------------------------------------------------------= --- [2] DOTNETCLIENT_DOTNETBS_METROOPSSEC ---------------------------------------------------------------------------= --- Server Error in '/trade' Application.=20 The size necessary to buffer the XML content exceeded the buffer quota.=20 Description: An unhandled exception occurred during the execution of the cu= rrent web request. Please review the stack trace for more information about= the error and where it originated in the code.=20 Exception Details: System.ServiceModel.FaultException`1[[System.ServiceMode= l.ExceptionDetail, System.ServiceModel, Version=3D161.129.204.104, Culture=3Dneutra= l, PublicKeyToken=3Db77a5c561934e089]]: The size necessary to buffer the XM= L content exceeded the buffer quota. Source Error:=20 =20 Line 443: { Line 444: this.Channel =3D null; Line 445: throw; Line 446: } Line 447: } =20 Source File: c:\StockTraderDemo\trader_client\BusinessServiceClient\Busines= sServiceClient.cs Line: 445=20 Stack Trace:=20 =20 [FaultException`1: The size necessary to buffer the XML content exceeded th= e buffer quota.] System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage r= eqMsg, IMessage retMsg) +7599295 System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msg= Data, Int32 type) +275 Trade.BusinessServiceContract.ITradeServices.sellEnhanced(String userID,= Int32 holdingID, Double quantity) +0 Trade.BusinessServiceClient.BusinessServiceClient.sellEnhanced(String us= erID, Int32 holdingID, Double quantity) in c:\StockTraderDemo\trader_client= \BusinessServiceClient\BusinessServiceClient.cs:445 Trade.BusinessServiceClient.BSLClient.sell(String userID, Int32 holdingI= D, Double quantity) in c:\StockTraderDemo\trader_client\BusinessServiceClie= nt\BSLClient.cs:457 Trade.Web.Order.Page_Load(Object sender, EventArgs e) in c:\StockTraderD= emo\trader_client\Trade\Order.aspx.cs:86 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, = Object t, EventArgs e) +14 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, E= ventArgs e) +35 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +50 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPo= int, Boolean includeStagesAfterAsyncPoint) +627 =20 Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.N= ET Version:2.0.50727.4927=20 ---------------------------------------------------------------------------= --- [3] DOTNETCLIENT_METROBS_* ---------------------------------------------------------------------------= --- Server Error in '/trade' Application.=20 One or more mandatory SOAP header blocks not understood=20 Description: An unhandled exception occurred during the execution of the cu= rrent web request. Please review the stack trace for more information about= the error and where it originated in the code.=20 Exception Details: System.ServiceModel.FaultException: One or more mandator= y SOAP header blocks not understood Source Error:=20 =20 Line 301: { Line 302: this.Channel =3D null; Line 303: throw; Line 304: } Line 305: } =20 Source File: c:\StockTraderDemo\trader_client\BusinessServiceClient\Busines= sServiceClient.cs Line: 303=20 Stack Trace:=20 =20 [FaultException: One or more mandatory SOAP header blocks not understood] [MessageSecurityException: An unsecured or incorrectly secured fault was re= ceived from the other party. See the inner FaultException for the fault cod= e and detail.] System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage r= eqMsg, IMessage retMsg) +7599295 System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msg= Data, Int32 type) +275 Trade.BusinessServiceContract.ITradeServices.getHoldings(String userID) = +0 Trade.BusinessServiceClient.BusinessServiceClient.getHoldings(String use= rID) in c:\StockTraderDemo\trader_client\BusinessServiceClient\BusinessServ= iceClient.cs:303 Trade.BusinessServiceClient.BSLClient.getHoldings(String userID) in c:\S= tockTraderDemo\trader_client\BusinessServiceClient\BSLClient.cs:259 Trade.Web.Portfolio.Page_Load(Object sender, EventArgs e) in c:\StockTra= derDemo\trader_client\Trade\Portfolio.aspx.cs:40 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, = Object t, EventArgs e) +14 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, E= ventArgs e) +35 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +50 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPo= int, Boolean includeStagesAfterAsyncPoint) +627 =20 Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.N= ET Version:2.0.50727.4927 = From [email protected] Tue Apr 27 00:27:59 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45144 invoked from network); 27 Apr 2010 00:27:59 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 27 Apr 2010 00:27:59 -0000 Received: (qmail 97147 invoked by uid 500); 27 Apr 2010 00:27:58 -0000 Delivered-To: [email protected] Received: (qmail 97125 invoked by uid 500); 27 Apr 2010 00:27:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 97117 invoked by uid 99); 27 Apr 2010 00:27:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 00:27:58 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 00:27:56 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3R0RYHo000331 for <[email protected]>; Tue, 27 Apr 2010 00:27:34 GMT Message-ID: <718691.22011272328054486.JavaMail.jira@thor> Date: Mon, 26 Apr 2010 20:27:34 -0400 (EDT) From: "Ben Dewey (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (STONEHENGE-123) Messed up comment in etc/web.xml of order processor service causes deploy to fail In-Reply-To: <31481896.20451272320972605.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STONEHENGE-123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12861184#action_12861184 ] Ben Dewey commented on STONEHENGE-123: -------------------------------------- Nicholas, Based on my email exchange with Jiandong (http://[email protected]/msg02359.html) these comments are okay to remove. I've committed you patch please verify and resolve. > Messed up comment in etc/web.xml of order processor service causes deploy to fail > --------------------------------------------------------------------------------- > > Key: STONEHENGE-123 > URL: https://issues.apache.org/jira/browse/STONEHENGE-123 > Project: Stonehenge > Issue Type: Bug > Affects Versions: M2 > Reporter: Nicholas A Hauenstein > Assignee: Nicholas A Hauenstein > Priority: Minor > Fix For: M2 > > Attachments: opspatch.patch > > Original Estimate: 0.03h > Remaining Estimate: 0.03h > > The file stocktrader\metro\order_processor\etc\web.xml has a comment within a comment that Glassfish chokes on while trying to deploy. > Timestamp Apr 26, 2010 15:19:14.127 > Log Level SEVERE > Logger javax.enterprise.system.tools.deployment > Name-Value Pairs _ThreadID=18;_ThreadName=Timer-7;Error loading deployment descriptors for module [order_processor] Line 34 Column 5 -- Deployment descriptor file WEB-INF/web.xml in archive [order_processor]. The string "--" is not permitted within comments. ;_RequestID=b19c9694-51f4-474a-b94e-72367e3019dc; > Record Number 39 > Message ID "DPL8011 > Complete Message autodeployment failure while deploying the application : Error loading deployment descriptors for module [order_processor] Line 34 Column 5 -- Deployment descriptor file WEB-INF/web.xml in archive [order_processor]. The string "--" is not permitted within comments. " -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Apr 27 00:30:01 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46057 invoked from network); 27 Apr 2010 00:30:01 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 27 Apr 2010 00:30:01 -0000 Received: (qmail 98831 invoked by uid 500); 27 Apr 2010 00:30:01 -0000 Delivered-To: [email protected] Received: (qmail 98812 invoked by uid 500); 27 Apr 2010 00:30:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 98804 invoked by uid 99); 27 Apr 2010 00:30:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 00:30:01 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 00:29:54 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3R0TWFl000373 for <[email protected]>; Tue, 27 Apr 2010 00:29:33 GMT Message-ID: <32063717.22101272328172967.JavaMail.jira@thor> Date: Mon, 26 Apr 2010 20:29:32 -0400 (EDT) From: "Ben Dewey (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Issue Comment Edited: (STONEHENGE-123) Messed up comment in etc/web.xml of order processor service causes deploy to fail In-Reply-To: <31481896.20451272320972605.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STONEHENGE-123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12861184#action_12861184 ] Ben Dewey edited comment on STONEHENGE-123 at 4/26/10 8:29 PM: --------------------------------------------------------------- Nicholas, Based on my email exchange with Jiandong (http://[email protected]/msg02359.html) these comments are okay to remove. I've committed your patch please verify and resolve. was (Author: bdewey01): Nicholas, Based on my email exchange with Jiandong (http://[email protected]/msg02359.html) these comments are okay to remove. I've committed you patch please verify and resolve. > Messed up comment in etc/web.xml of order processor service causes deploy to fail > --------------------------------------------------------------------------------- > > Key: STONEHENGE-123 > URL: https://issues.apache.org/jira/browse/STONEHENGE-123 > Project: Stonehenge > Issue Type: Bug > Affects Versions: M2 > Reporter: Nicholas A Hauenstein > Assignee: Nicholas A Hauenstein > Priority: Minor > Fix For: M2 > > Attachments: opspatch.patch > > Original Estimate: 0.03h > Remaining Estimate: 0.03h > > The file stocktrader\metro\order_processor\etc\web.xml has a comment within a comment that Glassfish chokes on while trying to deploy. > Timestamp Apr 26, 2010 15:19:14.127 > Log Level SEVERE > Logger javax.enterprise.system.tools.deployment > Name-Value Pairs _ThreadID=18;_ThreadName=Timer-7;Error loading deployment descriptors for module [order_processor] Line 34 Column 5 -- Deployment descriptor file WEB-INF/web.xml in archive [order_processor]. The string "--" is not permitted within comments. ;_RequestID=b19c9694-51f4-474a-b94e-72367e3019dc; > Record Number 39 > Message ID "DPL8011 > Complete Message autodeployment failure while deploying the application : Error loading deployment descriptors for module [order_processor] Line 34 Column 5 -- Deployment descriptor file WEB-INF/web.xml in archive [order_processor]. The string "--" is not permitted within comments. " -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Tue Apr 27 05:16:15 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70012 invoked from network); 27 Apr 2010 05:16:15 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 27 Apr 2010 05:16:15 -0000 Received: (qmail 34876 invoked by uid 500); 27 Apr 2010 05:16:15 -0000 Delivered-To: [email protected] Received: (qmail 34806 invoked by uid 500); 27 Apr 2010 05:16:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 34798 invoked by uid 99); 27 Apr 2010 05:16:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 05:16:14 +0000 X-ASF-Spam-Status: No, hits=-1.2 required=10.0 tests=AWL,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-pz0-f194.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 05:16:10 +0000 Received: by pzk32 with SMTP id 32so8459514pzk.21 for <[email protected]>; Mon, 26 Apr 2010 22:15:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=EXea5NOBuwtC+YdjGEHLm9fDqngjbITt6GoYKXOkdu0=; b=g6sr1oB1qXucwBOy6o/MqcKNmuzjPcgqqvmygVJlHE6oRZWOtjwm2mUBZrdo9pM3+J k7wPWnClhYl6QJF87KWjERn2G/+119t33AMBe6ykukcrvzmPwuVcC2qIXVEPNbkTx6lP Elz6sObr4PCvLvjF81Jfec+JuCS6uRS/11tnU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=oUx82SRyxvon4FRoqaSL6MV7HHwJRbvZG7dvFA2DkDb+zOcaAUV8wT14u+QKBR32o9 O9M6ExSjlPcInMVgsl45RLIzMe60/s27RmZqFepR9vSKO2tYm8+hA7ipWFvYMhxOtzCY 5fP2SuUaH4VTVPErDaTRXrtGKnCTKzpPUYHL0= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id x39mr2598604wfi.236.1272345349870; Mon, 26 Apr 2010 22:15:49 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 26 Apr 2010 22:15:49 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Tue, 27 Apr 2010 10:45:49 +0530 Message-ID: <[email protected]> Subject: Re: AddressAlreadyInUseException when starting TradeOrderProcessor service From: Chintana Wilamuna <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Tue, Apr 27, 2010 at 12:16 AM, Nick Hauenstein <[email protected]> wr= ote: > I'm installing all of the M2 StockTrader implementations on a Windows 7 v= irtual pc, and I can't seem to get the OrderProcessor Service to start. It = thinks that some other application has already reserved https://localhost:8= 005/tradeorderprocessor/ [1]. This isn't the case, and netstat shows that n= othing is listening on port 8005. > > All of the other services start-up just fine. Firewall exceptions are in = place for TCP ports 7000, 8000, 8005, 9000, 9001 (both inbound/outbound), a= nd I have already run AuthorizeWcfServices.bat. > > Any thoughts/suggestions? Nick, You can use TCPView (http://technet.microsoft.com/en-us/sysinternals/bb897437.aspx) to find out the process that listens on port 8005. That might be useful to fix this problem. Bye, -Chintana --=20 blog: http://engwar.com/ photos: http://flickr.com/photos/chintana linkedin: http://www.linkedin.com/in/engwar From [email protected] Tue Apr 27 17:16:12 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2874 invoked from network); 27 Apr 2010 17:16:12 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 27 Apr 2010 17:16:12 -0000 Received: (qmail 66560 invoked by uid 500); 27 Apr 2010 17:16:12 -0000 Delivered-To: [email protected] Received: (qmail 66501 invoked by uid 500); 27 Apr 2010 17:16:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 66493 invoked by uid 99); 27 Apr 2010 17:16:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 17:16:11 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO relay.ihostexchange.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 17:16:02 +0000 Received: from HUB103.ihostexchange.net (161.129.204.104) by hub107.ihostexchange.net (161.129.204.104) with Microsoft SMTP Server (TLS) id 161.129.204.104; Tue, 27 Apr 2010 13:15:37 -0400 Received: from VMBX101.ihostexchange.net ([161.129.204.104]) by HUB103.ihostexchange.net ([161.129.204.104]) with mapi; Tue, 27 Apr 2010 13:15:37 -0400 From: Nick Hauenstein <[email protected]> To: "[email protected]" <[email protected]> Date: Tue, 27 Apr 2010 13:15:30 -0400 Subject: WSO2 WSAS StockTrader Question Thread-Topic: WSO2 WSAS StockTrader Question Thread-Index: AQHK5i0/T+UTBWdKdUqG6zVCTbJBqw== Message-ID: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org The current documentation in the wiki calls for version 3.0 of WSAS for ins= talling the StockTrader services against. Is that still the required versio= n, or are the newer builds (e.g., 3.1.X) that are available now backwards c= ompatible? Thanks in advance! - Nick [1] https://cwiki.apache.org/confluence/display/STONEHENGE/Stonehenge+PHP+a= nd+WSAS+Stocktrader+Installation+Guide= From [email protected] Tue Apr 27 22:36:25 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33687 invoked from network); 27 Apr 2010 22:36:25 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 27 Apr 2010 22:36:25 -0000 Received: (qmail 89124 invoked by uid 500); 27 Apr 2010 22:36:25 -0000 Delivered-To: [email protected] Received: (qmail 89076 invoked by uid 500); 27 Apr 2010 22:36:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 89068 invoked by uid 99); 27 Apr 2010 22:36:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 22:36:24 +0000 X-ASF-Spam-Status: No, hits=-0.8 required=10.0 tests=AWL,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO relay.ihostexchange.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 22:36:17 +0000 Received: from VMBX101.ihostexchange.net ([161.129.204.104]) by HUB102.ihostexchange.net ([161.129.204.104]) with mapi; Tue, 27 Apr 2010 18:35:53 -0400 From: Nick Hauenstein <[email protected]> To: "[email protected]" <[email protected]> Date: Tue, 27 Apr 2010 18:35:38 -0400 Subject: 500 Error when attempting to access WSDL for WSAS implementation of TradeService Thread-Topic: 500 Error when attempting to access WSDL for WSAS implementation of TradeService Thread-Index: AQHK5ln9SMF8QiRNTUC6loWorFPcaQ== Message-ID: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 I just built/deployed the WSAS services and I am able to access the WSDL fo= r the OPS endpoints to make sure that they are deployed properly, but I am = getting a 500 error when trying to access the WSDL for the TradeServiceWsas= endpoint [1]. Has anyone noticed this problem before? - Nick [1] Error message below: HTTP Status 500 -=20 ---------------------------------------------------------------------------= ----- type Exception report message=20 description The server encountered an internal error () that prevented it f= rom fulfilling this request. exception=20 org.apache.axis2.dataretrieval.DataRetrievalException: com.ctc.wstx.exc.Wst= xParsingException: Undeclared namespace prefix "sp" at [row,col {unknown-source}]: [10,1197] org.apache.axis2.dataretrieval.AxisDataLocatorImpl.getData(AxisDataLocator= Impl.java:85) org.apache.axis2.description.AxisService.getData(AxisService.java:2725) org.apache.axis2.description.AxisService.getWSDL(AxisService.java:1465) org.apache.axis2.description.AxisService.printWSDL(AxisService.java:1337) org.wso2.carbon.core.transports.util.Wsdl11Processor$1.printWSDL(Wsdl11Pro= cessor.java:43) org.wso2.carbon.core.transports.util.AbstractWsdlProcessor.printWSDL(Abstr= actWsdlProcessor.java:51) org.wso2.carbon.core.transports.util.Wsdl11Processor.process(Wsdl11Process= or.java:57) org.wso2.carbon.core.transports.CarbonServlet.doGet(CarbonServlet.java:129= ) javax.servlet.http.HttpServlet.service(HttpServlet.java:689) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleReques= t(ServletRegistration.java:90) org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyS= ervlet.java:111) org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServle= t.java:67) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:116) javax.servlet.http.HttpServlet.service(HttpServlet.java:802)=
From [email protected] Thu Nov 06 05:58:25 2003 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 96587 invoked from network); 6 Nov 2003 05:58:25 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 6 Nov 2003 05:58:25 -0000 Received: (qmail 64511 invoked by uid 500); 6 Nov 2003 05:58:04 -0000 Delivered-To: [email protected] Received: (qmail 64490 invoked by uid 500); 6 Nov 2003 05:58:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Turbine JCS Developers List" <turbine-jcs-dev.jakarta.apache.org> Reply-To: "Turbine JCS Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 64477 invoked by uid 500); 6 Nov 2003 05:58:04 -0000 Received: (qmail 64474 invoked from network); 6 Nov 2003 05:58:03 -0000 Received: from unknown (HELO minotaur.apache.org) (161.129.204.104) by daedalus.apache.org with SMTP; 6 Nov 2003 05:58:03 -0000 Received: (qmail 96579 invoked by uid 1422); 6 Nov 2003 05:58:24 -0000 Date: 6 Nov 2003 05:58:24 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-turbine-jcs maven.xml X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N asmuts 2003/11/05 21:58:24 Modified: . maven.xml Log: Added rmic to maven.xml so the remote cache can be used. This may only be a temporary solution. It was the only way I could figure out how to do it. Revision Changes Path 1.3 +49 -1 jakarta-turbine-jcs/maven.xml Index: maven.xml =================================================================== RCS file: /home/cvs/jakarta-turbine-jcs/maven.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- maven.xml 5 Oct 2002 14:17:55 -0000 1.2 +++ maven.xml 6 Nov 2003 05:58:24 -0000 1.3 @@ -11,4 +11,52 @@ </preGoal> -</project> + <postgoal name="rmic" xmlns:j="jelly:core" xmlns:u="jelly:util"> + + +<property + name="mavenDependencyClasspath" + refid="maven.dependency.classpath" + /> + + <j:choose> + <j:when test="${systemScope['os.name'].startsWith('Windows')}"> + <u:tokenize var="classpath" +delim=";">${mavenDependencyClasspath}</u:tokenize> + </j:when> + <j:otherwise> + <u:tokenize var="classpath" +delim=":">${mavenDependencyClasspath}</u:tokenize> + </j:otherwise> + </j:choose> + + <echo> + maven.dependency.classpath: + <j:forEach var="entry" items="${classpath}">${entry} + </j:forEach> + </echo> + + + + + <rmic base="${maven.build.dest}" classname="org.apache.jcs.auxiliary.remote.RemoteCacheListener"> + <classpath> + <path refid="maven.dependency.classpath"/> + </classpath> + </rmic> + + <rmic base="${maven.build.dest}" classname="org.apache.jcs.auxiliary.remote.server.RemoteCacheServerListener"> + <classpath> + <path refid="maven.dependency.classpath"/> + </classpath> + </rmic> + + <rmic base="${maven.build.dest}" classname="org.apache.jcs.auxiliary.remote.server.RemoteCacheServer"> + <classpath> + <path refid="maven.dependency.classpath"/> + </classpath> + </rmic> + + </postgoal> + + </project> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Nov 06 06:00:22 2003 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97232 invoked from network); 6 Nov 2003 06:00:22 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 6 Nov 2003 06:00:22 -0000 Received: (qmail 65447 invoked by uid 500); 6 Nov 2003 06:00:01 -0000 Delivered-To: [email protected] Received: (qmail 65353 invoked by uid 500); 6 Nov 2003 06:00:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Turbine JCS Developers List" <turbine-jcs-dev.jakarta.apache.org> Reply-To: "Turbine JCS Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 65340 invoked by uid 500); 6 Nov 2003 06:00:01 -0000 Received: (qmail 65326 invoked from network); 6 Nov 2003 06:00:01 -0000 Received: from unknown (HELO minotaur.apache.org) (161.129.204.104) by daedalus.apache.org with SMTP; 6 Nov 2003 06:00:01 -0000 Received: (qmail 97226 invoked by uid 1422); 6 Nov 2003 06:00:21 -0000 Date: 6 Nov 2003 06:00:21 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-turbine-jcs maven.xml X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N asmuts 2003/11/05 22:00:21 Modified: . maven.xml Log: cleaned up Revision Changes Path 1.4 +18 -22 jakarta-turbine-jcs/maven.xml Index: maven.xml =================================================================== RCS file: /home/cvs/jakarta-turbine-jcs/maven.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- maven.xml 6 Nov 2003 05:58:24 -0000 1.3 +++ maven.xml 6 Nov 2003 06:00:21 -0000 1.4 @@ -11,52 +11,48 @@ </preGoal> - <postgoal name="rmic" xmlns:j="jelly:core" xmlns:u="jelly:util"> + <postgoal name="rmic" xmlns:j="jelly:core" xmlns:u="jelly:util"> -<property + <property name="mavenDependencyClasspath" refid="maven.dependency.classpath" /> <j:choose> <j:when test="${systemScope['os.name'].startsWith('Windows')}"> - <u:tokenize var="classpath" -delim=";">${mavenDependencyClasspath}</u:tokenize> + <u:tokenize var="classpath" delim=";">${mavenDependencyClasspath}</u:tokenize> </j:when> <j:otherwise> - <u:tokenize var="classpath" -delim=":">${mavenDependencyClasspath}</u:tokenize> + <u:tokenize var="classpath" delim=":">${mavenDependencyClasspath}</u:tokenize> </j:otherwise> </j:choose> <echo> - maven.dependency.classpath: - <j:forEach var="entry" items="${classpath}">${entry} - </j:forEach> + maven.dependency.classpath: + <j:forEach var="entry" items="${classpath}">${entry} + </j:forEach> </echo> - - <rmic base="${maven.build.dest}" classname="org.apache.jcs.auxiliary.remote.RemoteCacheListener"> - <classpath> - <path refid="maven.dependency.classpath"/> - </classpath> + <classpath> + <path refid="maven.dependency.classpath"/> + </classpath> </rmic> <rmic base="${maven.build.dest}" classname="org.apache.jcs.auxiliary.remote.server.RemoteCacheServerListener"> - <classpath> - <path refid="maven.dependency.classpath"/> - </classpath> + <classpath> + <path refid="maven.dependency.classpath"/> + </classpath> </rmic> <rmic base="${maven.build.dest}" classname="org.apache.jcs.auxiliary.remote.server.RemoteCacheServer"> - <classpath> - <path refid="maven.dependency.classpath"/> - </classpath> + <classpath> + <path refid="maven.dependency.classpath"/> + </classpath> </rmic> - </postgoal> + </postgoal> - </project> +</project> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Nov 06 17:43:35 2003 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17022 invoked from network); 6 Nov 2003 17:43:35 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 6 Nov 2003 17:43:35 -0000 Received: (qmail 15650 invoked by uid 500); 6 Nov 2003 17:41:34 -0000 Delivered-To: [email protected] Received: (qmail 15634 invoked by uid 500); 6 Nov 2003 17:41:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Turbine JCS Developers List" <turbine-jcs-dev.jakarta.apache.org> Reply-To: "Turbine JCS Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 15614 invoked by uid 500); 6 Nov 2003 17:41:33 -0000 Received: (qmail 15610 invoked from network); 6 Nov 2003 17:41:33 -0000 Received: from unknown (HELO minotaur.apache.org) (161.129.204.104) by daedalus.apache.org with SMTP; 6 Nov 2003 17:41:33 -0000 Received: (qmail 16301 invoked by uid 1422); 6 Nov 2003 17:41:40 -0000 Date: 6 Nov 2003 17:41:40 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-turbine-jcs/src/scripts startRemoteCache.bat setCURDIR.bat remoteCacheStats.bat prep.bat cpappend.bat X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N asmuts 2003/11/06 09:41:40 Modified: src/scripts startRemoteCache.bat setCURDIR.bat remoteCacheStats.bat prep.bat cpappend.bat Log: These are mainly example scripts for teh remote cache. I'll get them into a more general form later. Just making sure they are closer to being workable. Revision Changes Path 1.2 +2 -2 jakarta-turbine-jcs/src/scripts/startRemoteCache.bat Index: startRemoteCache.bat =================================================================== RCS file: /home/cvs/jakarta-turbine-jcs/src/scripts/startRemoteCache.bat,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- startRemoteCache.bat 7 Apr 2002 16:55:28 -0000 1.1 +++ startRemoteCache.bat 6 Nov 2003 17:41:39 -0000 1.2 @@ -1,9 +1,9 @@ -@echo off +@rem echo off call prep.bat :run rem set DBUGPARM=-classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,address=5000,suspend=n -%JAVA_HOME%\bin\java %DBUGPARM% -ms10m -mx200m -classpath %CLASSPATH% "-Djava.security.policy=%CURDIR%/conf/cache.policy" org.apache.jcs.auxiliary.remote.server.group.RemoteGroupCacheServerFactory /remote.cache%1.ccf +%JAVA_HOME%\bin\java %DBUGPARM% -ms10m -mx200m -classpath %CLASSPATH% "-Djava.security.policy=%CURDIR%\src\conf\cache.policy" org.apache.jcs.auxiliary.remote.server.RemoteCacheServerFactory /remote.cache%1.ccf 1.2 +4 -1 jakarta-turbine-jcs/src/scripts/setCURDIR.bat Index: setCURDIR.bat =================================================================== RCS file: /home/cvs/jakarta-turbine-jcs/src/scripts/setCURDIR.bat,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- setCURDIR.bat 7 Apr 2002 16:55:28 -0000 1.1 +++ setCURDIR.bat 6 Nov 2003 17:41:40 -0000 1.2 @@ -4,5 +4,8 @@ rem for %%a in (call del) do %%a }{.bat rem cd bin -set CURDIR=@project_home@bin +cd ..\.. +set CURDIR=%CD% echo %CURDIR% +cd src +cd scripts \ No newline at end of file 1.2 +2 -26 jakarta-turbine-jcs/src/scripts/remoteCacheStats.bat Index: remoteCacheStats.bat =================================================================== RCS file: /home/cvs/jakarta-turbine-jcs/src/scripts/remoteCacheStats.bat,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- remoteCacheStats.bat 7 Apr 2002 16:55:28 -0000 1.1 +++ remoteCacheStats.bat 6 Nov 2003 17:41:40 -0000 1.2 @@ -1,34 +1,10 @@ @echo off -:setcurdir -call setCURDIR -goto javahome - -:javahome -if "%JAVA_HOME%" == "" goto noJavaHome -goto setcpbase - -:noJavaHome -echo Warning: JAVA_HOME environment variable is not set. -set JAVA_HOME=C:\jdk1.2.2 - -:setcpbase -set CLASSPATH=. -set CLASSPATH=%CLASSPATH%;%CURDIR%\props\ -set CLASSPATH=%CLASSPATH%;%CURDIR%\lib\build\jcs.jar -goto jars - -:jars -set _LIBJARS= -for %%i in (%CURDIR%\lib\*.jar) do call %CURDIR%\bin\cpappend.bat %%i -if not "%_LIBJARS%" == "" goto addLibJars - -:addLibJars -set CLASSPATH=%CLASSPATH%;%_LIBJARS% +call prep.bat :run rem set DBUGPARM=-classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,address=5000,suspend=n -%JAVA_HOME%\bin\java %DBUGPARM% -ms1m -mx20m -classpath %CLASSPATH% "-Djava.security.policy=C:/dev/cache/props/cache.policy" org.apache.jcs.auxiliary.remote.server.group.RemoteGroupCacheServerFactory -stats 1102 /remote.cache.properties +%JAVA_HOME%\bin\java %DBUGPARM% -ms1m -mx20m -classpath %CLASSPATH% "-Djava.security.policy=%CURDIR%\src\conf\cache.policy" org.apache.jcs.auxiliary.remote.server.RemoteCacheServerFactory -stats 1102 /remote.cache.ccf 1.2 +8 -5 jakarta-turbine-jcs/src/scripts/prep.bat Index: prep.bat =================================================================== RCS file: /home/cvs/jakarta-turbine-jcs/src/scripts/prep.bat,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- prep.bat 7 Apr 2002 16:55:28 -0000 1.1 +++ prep.bat 6 Nov 2003 17:41:40 -0000 1.2 @@ -1,7 +1,9 @@ -@echo off +@rem echo off :setcurdir call setCURDIR +echo %CURDIR% + goto javahome :javahome @@ -14,14 +16,15 @@ :setcpbase set CLASSPATH=. -set CLASSPATH=%CLASSPATH%;%CURDIR%\conf\ -set CLASSPATH=%CLASSPATH%;%CURDIR%\classes\ -set CLASSPATH=%CLASSPATH%;%CURDIR%\stratum.jar +set CLASSPATH=%CLASSPATH%;%CURDIR%\src\conf\ +set CLASSPATH=%CLASSPATH%;%CURDIR%\target\classes\ +set CLASSPATH=%CLASSPATH%;%CURDIR%\target\test-classes\ +rem set CLASSPATH=%CLASSPATH%;%CURDIR%\target\jcs-1.0-dev.jar goto jars :jars set _LIBJARS= -for %%i in (@lib.repo@*.jar) do call %CURDIR%\scripts\cpappend.bat %%i +for %%i in (%CURDIR%\jars\*.jar) do call %CURDIR%\src\scripts\cpappend.bat %%i if not "%_LIBJARS%" == "" goto addLibJars :addLibJars 1.2 +1 -0 jakarta-turbine-jcs/src/scripts/cpappend.bat Index: cpappend.bat =================================================================== RCS file: /home/cvs/jakarta-turbine-jcs/src/scripts/cpappend.bat,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- cpappend.bat 7 Apr 2002 16:55:28 -0000 1.1 +++ cpappend.bat 6 Nov 2003 17:41:40 -0000 1.2 @@ -1 +1,2 @@ +echo %_LIBJARS% set _LIBJARS=%_LIBJARS%;%1 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Nov 06 17:43:41 2003 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17074 invoked from network); 6 Nov 2003 17:43:41 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 6 Nov 2003 17:43:41 -0000 Received: (qmail 17157 invoked by uid 500); 6 Nov 2003 17:42:08 -0000 Delivered-To: [email protected] Received: (qmail 17138 invoked by uid 500); 6 Nov 2003 17:42:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Turbine JCS Developers List" <turbine-jcs-dev.jakarta.apache.org> Reply-To: "Turbine JCS Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 17116 invoked by uid 500); 6 Nov 2003 17:42:07 -0000 Received: (qmail 17112 invoked from network); 6 Nov 2003 17:42:07 -0000 Received: from unknown (HELO minotaur.apache.org) (161.129.204.104) by daedalus.apache.org with SMTP; 6 Nov 2003 17:42:07 -0000 Received: (qmail 16406 invoked by uid 1422); 6 Nov 2003 17:42:14 -0000 Date: 6 Nov 2003 17:42:14 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-turbine-jcs/src/conf remote.cache2.ccf remote.cache.ccf X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N asmuts 2003/11/06 09:42:14 Modified: src/conf remote.cache2.ccf remote.cache.ccf Log: Adding more for remote cache configuration Revision Changes Path 1.2 +24 -1 jakarta-turbine-jcs/src/conf/remote.cache2.ccf Index: remote.cache2.ccf =================================================================== RCS file: /home/cvs/jakarta-turbine-jcs/src/conf/remote.cache2.ccf,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- remote.cache2.ccf 7 Apr 2002 16:55:21 -0000 1.1 +++ remote.cache2.ccf 6 Nov 2003 17:42:14 -0000 1.2 @@ -15,14 +15,37 @@ ############################################################## ################## DEFAULT CACHE REGION ##################### # sets the default aux value for any non configured caches +# sets the default aux value for any non configured caches jcs.default=DC,RCluster1 jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes jcs.default.cacheattributes.MaxObjects=1000 +jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache +jcs.default.cacheattributes.UseMemoryShrinker=true +jcs.default.cacheattributes.MaxMemoryIdleTimeSeconds=3600 +jcs.default.cacheattributes.ShrinkerIntervalSeconds=60 +jcs.default.cacheattributes.ShrinkerIntervalSeconds=60 +jcs.default.elementattributes=org.apache.jcs.engine.ElementAttributes +jcs.default.elementattributes.IsEternal=false +jcs.default.elementattributes.MaxLifeSeconds=7 +jcs.default.elementattributes.IdleTime=1800 +jcs.default.elementattributes.IsSpool=true +jcs.default.elementattributes.IsRemote=true +jcs.default.elementattributes.IsLateral=true +# SYSTEM CACHE # should be defined for the storage of group attribute list jcs.system.groupIdCache=DC,RCluster1 jcs.system.groupIdCache.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes -jcs.system.groupIdCache.cacheattributes.MaxObjects=1000 +jcs.system.groupIdCache.cacheattributes.MaxObjects=10000 +jcs.system.groupIdCache.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache +jcs.system.groupIdCache.elementattributes=org.apache.jcs.engine.ElementAttributes +jcs.system.groupIdCache.elementattributes.IsEternal=true +jcs.system.groupIdCache.elementattributes.MaxLifeSeconds=3600 +jcs.system.groupIdCache.elementattributes.IdleTime=1800 +jcs.system.groupIdCache.elementattributes.IsSpool=true +jcs.system.groupIdCache.elementattributes.IsRemote=true +jcs.system.groupIdCache.elementattributes.IsLateral=true + ############################################################## 1.2 +23 -2 jakarta-turbine-jcs/src/conf/remote.cache.ccf Index: remote.cache.ccf =================================================================== RCS file: /home/cvs/jakarta-turbine-jcs/src/conf/remote.cache.ccf,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- remote.cache.ccf 7 Apr 2002 16:55:20 -0000 1.1 +++ remote.cache.ccf 6 Nov 2003 17:42:14 -0000 1.2 @@ -15,14 +15,35 @@ ############################################################## ################## DEFAULT CACHE REGION ##################### # sets the default aux value for any non configured caches -jcs.default=DC,RCluster1,RCluster2 +jcs.default=DC,RCluster1 jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes jcs.default.cacheattributes.MaxObjects=1000 +jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache +jcs.default.cacheattributes.UseMemoryShrinker=true +jcs.default.cacheattributes.MaxMemoryIdleTimeSeconds=3600 +jcs.default.cacheattributes.ShrinkerIntervalSeconds=60 +jcs.default.cacheattributes.ShrinkerIntervalSeconds=60 +jcs.default.elementattributes=org.apache.jcs.engine.ElementAttributes +jcs.default.elementattributes.IsEternal=false +jcs.default.elementattributes.MaxLifeSeconds=7 +jcs.default.elementattributes.IdleTime=1800 +jcs.default.elementattributes.IsSpool=true +jcs.default.elementattributes.IsRemote=true +jcs.default.elementattributes.IsLateral=true +# SYSTEM CACHE # should be defined for the storage of group attribute list jcs.system.groupIdCache=DC,RCluster1 jcs.system.groupIdCache.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes -jcs.system.groupIdCache.cacheattributes.MaxObjects=1000 +jcs.system.groupIdCache.cacheattributes.MaxObjects=10000 +jcs.system.groupIdCache.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache +jcs.system.groupIdCache.elementattributes=org.apache.jcs.engine.ElementAttributes +jcs.system.groupIdCache.elementattributes.IsEternal=true +jcs.system.groupIdCache.elementattributes.MaxLifeSeconds=3600 +jcs.system.groupIdCache.elementattributes.IdleTime=1800 +jcs.system.groupIdCache.elementattributes.IsSpool=true +jcs.system.groupIdCache.elementattributes.IsRemote=true +jcs.system.groupIdCache.elementattributes.IsLateral=true ############################################################## --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Nov 06 17:55:10 2003 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 24587 invoked from network); 6 Nov 2003 17:55:09 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 6 Nov 2003 17:55:09 -0000 Received: (qmail 53294 invoked by uid 500); 6 Nov 2003 17:53:36 -0000 Delivered-To: [email protected] Received: (qmail 53278 invoked by uid 500); 6 Nov 2003 17:53:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Turbine JCS Developers List" <turbine-jcs-dev.jakarta.apache.org> Reply-To: "Turbine JCS Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 53249 invoked by uid 500); 6 Nov 2003 17:53:35 -0000 Received: (qmail 53237 invoked from network); 6 Nov 2003 17:53:35 -0000 Received: from unknown (HELO minotaur.apache.org) (161.129.204.104) by daedalus.apache.org with SMTP; 6 Nov 2003 17:53:35 -0000 Received: (qmail 23612 invoked by uid 1422); 6 Nov 2003 17:53:42 -0000 Date: 6 Nov 2003 17:53:42 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-turbine-jcs maven.xml X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N asmuts 2003/11/06 09:53:42 Modified: . maven.xml Log: couldn't run rmic as postgoal for jar since the base did not exist. I had to make it separate for now. Call "maven rmic" to run rmic. These will not be in the jar right now unless you run jar again. Revision Changes Path 1.5 +2 -2 jakarta-turbine-jcs/maven.xml Index: maven.xml =================================================================== RCS file: /home/cvs/jakarta-turbine-jcs/maven.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- maven.xml 6 Nov 2003 06:00:21 -0000 1.4 +++ maven.xml 6 Nov 2003 17:53:42 -0000 1.5 @@ -12,7 +12,7 @@ </preGoal> - <postgoal name="rmic" xmlns:j="jelly:core" xmlns:u="jelly:util"> + <goal name="rmic" xmlns:j="jelly:core" xmlns:u="jelly:util"> <property name="mavenDependencyClasspath" @@ -53,6 +53,6 @@ </classpath> </rmic> - </postgoal> + </goal> </project> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Nov 06 17:58:52 2003 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 27035 invoked from network); 6 Nov 2003 17:58:52 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 6 Nov 2003 17:58:52 -0000 Received: (qmail 63664 invoked by uid 500); 6 Nov 2003 17:58:44 -0000 Delivered-To: [email protected] Received: (qmail 63652 invoked by uid 500); 6 Nov 2003 17:58:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Turbine JCS Developers List" <turbine-jcs-dev.jakarta.apache.org> Reply-To: "Turbine JCS Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 63639 invoked by uid 500); 6 Nov 2003 17:58:44 -0000 Received: (qmail 63635 invoked from network); 6 Nov 2003 17:58:44 -0000 Received: from unknown (HELO minotaur.apache.org) (161.129.204.104) by daedalus.apache.org with SMTP; 6 Nov 2003 17:58:44 -0000 Received: (qmail 27025 invoked by uid 1422); 6 Nov 2003 17:58:51 -0000 Date: 6 Nov 2003 17:58:51 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-turbine-jcs/src/java/org/apache/jcs/auxiliary AuxiliaryCache.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N asmuts 2003/11/06 09:58:51 Modified: src/java/org/apache/jcs/auxiliary/remote RemoteUtils.java RemoteCacheNoWaitFacade.java RemoteCacheNoWait.java RemoteCacheManager.java RemoteCache.java src/java/org/apache/jcs/auxiliary/remote/server RemoteCacheServerFactory.java RemoteCacheServer.java src/java/org/apache/jcs/auxiliary/lateral LateralCacheNoWaitFacade.java src/java/org/apache/jcs/auxiliary/remote/behavior IRemoteCacheService.java src/java/org/apache/jcs/engine/behavior ICacheServiceAdmin.java src/java/org/apache/jcs/engine/control CompositeCache.java src/java/org/apache/jcs/auxiliary AuxiliaryCache.java Log: Adding stats back to remote cache. It's necessary in order to probe a server. May need to add it to all managers. Added an IOException to the auxilary interface for getting group keys. May need some further cleaning. Revision Changes Path 1.3 +2 -0 jakarta-turbine-jcs/src/java/org/apache/jcs/auxiliary/remote/RemoteUtils.java Index: RemoteUtils.java =================================================================== RCS file: /home/cvs/jakarta-turbine-jcs/src/java/org/apache/jcs/auxiliary/remote/RemoteUtils.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- RemoteUtils.java 22 Aug 2003 11:57:15 -0000 1.2 +++ RemoteUtils.java 6 Nov 2003 17:58:51 -0000 1.3 @@ -117,6 +117,8 @@ } catch ( Exception ex ) { + + log.debug( "Error loading remote properties = " + ex.getMessage() ); // ignore; } finally 1.6 +1 -0 jakarta-turbine-jcs/src/java/org/apache/jcs/auxiliary/remote/RemoteCacheNoWaitFacade.java Index: RemoteCacheNoWaitFacade.java =================================================================== RCS file: /home/cvs/jakarta-turbine-jcs/src/java/org/apache/jcs/auxiliary/remote/RemoteCacheNoWaitFacade.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- RemoteCacheNoWaitFacade.java 22 Aug 2003 11:57:15 -0000 1.5 +++ RemoteCacheNoWaitFacade.java 6 Nov 2003 17:58:51 -0000 1.6 @@ -187,6 +187,7 @@ * Gets the set of keys of objects currently in the group */ public Set getGroupKeys(String group) + throws IOException { HashSet allKeys = new HashSet(); for ( int i = 0; i < noWaits.length; i++ ) 1.8 +1 -0 jakarta-turbine-jcs/src/java/org/apache/jcs/auxiliary/remote/RemoteCacheNoWait.java Index: RemoteCacheNoWait.java =================================================================== RCS file: /home/cvs/jakarta-turbine-jcs/src/java/org/apache/jcs/auxiliary/remote/RemoteCacheNoWait.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- RemoteCacheNoWait.java 22 Aug 2003 11:57:15 -0000 1.7 +++ RemoteCacheNoWait.java 6 Nov 2003 17:58:51 -0000 1.8 @@ -147,6 +147,7 @@ } public Set getGroupKeys(String groupName) + throws IOException { return cache.getGroupKeys(groupName); } 1.7 +22 -0 jakarta-turbine-jcs/src/java/org/apache/jcs/auxiliary/remote/RemoteCacheManager.java Index: RemoteCacheManager.java =================================================================== RCS file: /home/cvs/jakarta-turbine-jcs/src/java/org/apache/jcs/auxiliary/remote/RemoteCacheManager.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- RemoteCacheManager.java 22 Aug 2003 11:57:15 -0000 1.6 +++ RemoteCacheManager.java 6 Nov 2003 17:58:51 -0000 1.7 @@ -325,6 +325,28 @@ } } + /** + * Gets the stats attribute of the RemoteCacheManager object + * + * @return The stats value + */ + public String getStats() + { + StringBuffer stats = new StringBuffer(); + Iterator allCaches = caches.values().iterator(); + while ( allCaches.hasNext() ) + { + ICache c = ( ICache ) allCaches.next(); + if ( c != null ) + { + //need to add getStats to ICache + //stats.append( "<br>&nbsp;&nbsp;&nbsp;" + c.getStats() ); + stats.append( c.getCacheName() ); + } + } + return stats.toString(); + } + /** Description of the Method */ public void release() { 1.9 +10 -1 jakarta-turbine-jcs/src/java/org/apache/jcs/auxiliary/remote/RemoteCache.java Index: RemoteCache.java =================================================================== RCS file: /home/cvs/jakarta-turbine-jcs/src/java/org/apache/jcs/auxiliary/remote/RemoteCache.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- RemoteCache.java 22 Aug 2003 11:57:15 -0000 1.8 +++ RemoteCache.java 6 Nov 2003 17:58:51 -0000 1.9 @@ -214,7 +214,7 @@ } } - public Set getGroupKeys(String groupName) + public Set getGroupKeys(String groupName) throws java.rmi.RemoteException { return remote.getGroupKeys(cacheName, groupName); } @@ -334,6 +334,15 @@ return remote instanceof IZombie ? CacheConstants.STATUS_ERROR : CacheConstants.STATUS_ALIVE; } + /** + * Gets the stats attribute of the RemoteCache object + * + * @return The stats value + */ + public String getStats() + { + return "cacheName = " + cacheName; + } /** * Returns the current cache size. 1.5 +46 -1 jakarta-turbine-jcs/src/java/org/apache/jcs/auxiliary/remote/server/RemoteCacheServerFactory.java Index: RemoteCacheServerFactory.java =================================================================== RCS file: /home/cvs/jakarta-turbine-jcs/src/java/org/apache/jcs/auxiliary/remote/server/RemoteCacheServerFactory.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- RemoteCacheServerFactory.java 22 Aug 2003 11:57:17 -0000 1.4 +++ RemoteCacheServerFactory.java 6 Nov 2003 17:58:51 -0000 1.5 @@ -66,6 +66,7 @@ import org.apache.jcs.auxiliary.remote.RemoteUtils; import org.apache.jcs.auxiliary.remote.behavior.IRemoteCacheConstants; +import org.apache.jcs.auxiliary.remote.behavior.IRemoteCacheServiceAdmin; import org.apache.jcs.engine.behavior.ICacheServiceAdmin; @@ -232,7 +233,7 @@ public static void main( String[] args ) throws Exception { - Properties prop = args.length > 0 ? RemoteUtils.loadProps( args[0] ) : new Properties(); + Properties prop = args.length > 0 ? RemoteUtils.loadProps( args[args.length -1] ) : new Properties(); // shutdown if ( args.length > 0 && args[0].toLowerCase().indexOf( "-shutdown" ) != -1 ) @@ -261,6 +262,50 @@ log.debug( "done." ); System.exit( 0 ); } + + // STATS + if ( args.length > 0 && args[0].toLowerCase().indexOf( "-stats" ) != -1 ) + { + + log.debug( "getting cache stats" ); + + try + { + + int port = Registry.REGISTRY_PORT; + + if ( args.length > 1 ) + { + port = Integer.parseInt( args[1] ); + } + + String serviceName = prop.getProperty( REMOTE_CACHE_SERVICE_NAME, REMOTE_CACHE_SERVICE_VAL ).trim(); + String registry = "//:" + port + "/" + serviceName; + log.debug( "looking up server " + registry ); + Object obj = Naming.lookup( registry ); + log.debug( "server found" ); + + log.debug( "obj = " + obj ); + IRemoteCacheServiceAdmin admin = ( IRemoteCacheServiceAdmin ) obj; + + try + { + log.debug( admin.getStats() ); + } + catch ( Exception es ) + { + log.error( es ); + } + + } + catch ( Exception ex ) + { + log.error( ex ); + } + log.debug( "done." ); + System.exit( 0 ); + } + // startup. int port; 1.13 +12 -1 jakarta-turbine-jcs/src/java/org/apache/jcs/auxiliary/remote/server/RemoteCacheServer.java Index: RemoteCacheServer.java =================================================================== RCS file: /home/cvs/jakarta-turbine-jcs/src/java/org/apache/jcs/auxiliary/remote/server/RemoteCacheServer.java,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- RemoteCacheServer.java 22 Aug 2003 11:57:17 -0000 1.12 +++ RemoteCacheServer.java 6 Nov 2003 17:58:51 -0000 1.13 @@ -179,7 +179,7 @@ if ( prop == null ) { - hub.configure( "/remote.cache.properties" ); + hub.configure( "/remote.cache.ccf" ); } else { @@ -909,6 +909,17 @@ return ( byte ) ( id & 0xff ); } + /** + * Gets the stats attribute of the RemoteCacheServer object + * + * @return The stats value + */ + public String getStats() + throws IOException + { + //return cacheManager.getStats(); + return "temp"; + } /** Description of the Method */ private static void p1( String s ) 1.6 +7 -1 jakarta-turbine-jcs/src/java/org/apache/jcs/auxiliary/lateral/LateralCacheNoWaitFacade.java Index: LateralCacheNoWaitFacade.java =================================================================== RCS file: /home/cvs/jakarta-turbine-jcs/src/java/org/apache/jcs/auxiliary/lateral/LateralCacheNoWaitFacade.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- LateralCacheNoWaitFacade.java 22 Aug 2003 11:57:15 -0000 1.5 +++ LateralCacheNoWaitFacade.java 6 Nov 2003 17:58:51 -0000 1.6 @@ -155,7 +155,13 @@ AuxiliaryCache aux = noWaits[i]; if ( aux != null ) { - allKeys.addAll(aux.getGroupKeys(group)); + try { + allKeys.addAll(aux.getGroupKeys(group)); + } + catch ( IOException e ) + { + // ignore + } } } return allKeys; 1.7 +2 -1 jakarta-turbine-jcs/src/java/org/apache/jcs/auxiliary/remote/behavior/IRemoteCacheService.java Index: IRemoteCacheService.java =================================================================== RCS file: /home/cvs/jakarta-turbine-jcs/src/java/org/apache/jcs/auxiliary/remote/behavior/IRemoteCacheService.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- IRemoteCacheService.java 22 Aug 2003 11:57:19 -0000 1.6 +++ IRemoteCacheService.java 6 Nov 2003 17:58:51 -0000 1.7 @@ -88,5 +88,6 @@ public void removeAll( String cacheName, byte requesterId ) throws IOException; - public Set getGroupKeys(String cacheName, String groupName); + public Set getGroupKeys(String cacheName, String groupName) + throws java.rmi.RemoteException; } 1.4 +8 -0 jakarta-turbine-jcs/src/java/org/apache/jcs/engine/behavior/ICacheServiceAdmin.java Index: ICacheServiceAdmin.java =================================================================== RCS file: /home/cvs/jakarta-turbine-jcs/src/java/org/apache/jcs/engine/behavior/ICacheServiceAdmin.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- ICacheServiceAdmin.java 22 Aug 2003 11:57:17 -0000 1.3 +++ ICacheServiceAdmin.java 6 Nov 2003 17:58:51 -0000 1.4 @@ -65,6 +65,14 @@ public interface ICacheServiceAdmin { + /** + * Gets the stats attribute of the ICacheServiceAdmin object + * + * @return The stats value + */ + public String getStats() + throws IOException; + /** Description of the Method */ public void shutdown() throws IOException; 1.9 +8 -2 jakarta-turbine-jcs/src/java/org/apache/jcs/engine/control/CompositeCache.java Index: CompositeCache.java =================================================================== RCS file: /home/cvs/jakarta-turbine-jcs/src/java/org/apache/jcs/engine/control/CompositeCache.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- CompositeCache.java 22 Aug 2003 11:57:18 -0000 1.8 +++ CompositeCache.java 6 Nov 2003 17:58:51 -0000 1.9 @@ -676,7 +676,13 @@ AuxiliaryCache aux = auxCaches[i]; if ( aux != null ) { - allKeys.addAll(aux.getGroupKeys(group)); + try { + allKeys.addAll(aux.getGroupKeys(group)); + } + catch ( IOException e ) + { + //ignore + } } } return allKeys; 1.6 +2 -2 jakarta-turbine-jcs/src/java/org/apache/jcs/auxiliary/AuxiliaryCache.java Index: AuxiliaryCache.java =================================================================== RCS file: /home/cvs/jakarta-turbine-jcs/src/java/org/apache/jcs/auxiliary/AuxiliaryCache.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- AuxiliaryCache.java 22 Aug 2003 11:57:16 -0000 1.5 +++ AuxiliaryCache.java 6 Nov 2003 17:58:51 -0000 1.6 @@ -101,5 +101,5 @@ /** * Gets the set of keys of objects currently in the group */ - public Set getGroupKeys(String group); + public Set getGroupKeys(String group) throws IOException;; } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Nov 07 02:02:19 2003 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38125 invoked from network); 7 Nov 2003 02:02:19 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 7 Nov 2003 02:02:19 -0000 Received: (qmail 84765 invoked by uid 500); 7 Nov 2003 02:02:03 -0000 Delivered-To: [email protected] Received: (qmail 84670 invoked by uid 500); 7 Nov 2003 02:02:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Turbine JCS Developers List" <turbine-jcs-dev.jakarta.apache.org> Reply-To: "Turbine JCS Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 84655 invoked by uid 500); 7 Nov 2003 02:02:02 -0000 Received: (qmail 84651 invoked from network); 7 Nov 2003 02:02:02 -0000 Received: from unknown (HELO minotaur.apache.org) (161.129.204.104) by daedalus.apache.org with SMTP; 7 Nov 2003 02:02:02 -0000 Received: (qmail 38117 invoked by uid 1422); 7 Nov 2003 02:02:18 -0000 Date: 7 Nov 2003 02:02:18 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-turbine-jcs/src/conf remote.cache.ccf cache.policy X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N asmuts 2003/11/06 18:02:18 Modified: src/conf remote.cache.ccf cache.policy Log: simplified remote for testing. can run the tester.bat and the startremotecache.bat and more tester.bat's to see it work. Revision Changes Path 1.3 +3 -3 jakarta-turbine-jcs/src/conf/remote.cache.ccf Index: remote.cache.ccf =================================================================== RCS file: /home/cvs/jakarta-turbine-jcs/src/conf/remote.cache.ccf,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- remote.cache.ccf 6 Nov 2003 17:42:14 -0000 1.2 +++ remote.cache.ccf 7 Nov 2003 02:02:18 -0000 1.3 @@ -15,7 +15,7 @@ ############################################################## ################## DEFAULT CACHE REGION ##################### # sets the default aux value for any non configured caches -jcs.default=DC,RCluster1 +jcs.default=DC jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes jcs.default.cacheattributes.MaxObjects=1000 jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache @@ -33,7 +33,7 @@ # SYSTEM CACHE # should be defined for the storage of group attribute list -jcs.system.groupIdCache=DC,RCluster1 +jcs.system.groupIdCache=DC jcs.system.groupIdCache.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes jcs.system.groupIdCache.cacheattributes.MaxObjects=10000 jcs.system.groupIdCache.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache @@ -60,7 +60,7 @@ jcs.auxiliary.RCluster1.attributes=org.apache.jcs.auxiliary.remote.RemoteCacheAttributes jcs.auxiliary.RCluster1.attributes.RemoteTypeName=CLUSTER jcs.auxiliary.RCluster1.attributes.RemoveUponRemotePut=false -jcs.auxiliary.RCluster1.attributes.ClusterServers=localhost:1103 +#jcs.auxiliary.RCluster1.attributes.ClusterServers=localhost:1103 jcs.auxiliary.RCluster1.attributes.GetOnly=false #jcs.auxiliary.RCluster1.attributes.LocalClusterConsistency=true 1.2 +13 -4 jakarta-turbine-jcs/src/conf/cache.policy Index: cache.policy =================================================================== RCS file: /home/cvs/jakarta-turbine-jcs/src/conf/cache.policy,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- cache.policy 7 Apr 2002 16:55:20 -0000 1.1 +++ cache.policy 7 Nov 2003 02:02:18 -0000 1.2 @@ -1,15 +1,24 @@ -grant codeBase "file:/@project_home_f@bin/classes/*" { +grant { permission java.security.AllPermission; }; -grant codeBase "file:/@project_home_f@bin/*" { + +grant codeBase "file:g:/dev/jakarta-turbine-jcs/target/classes/*" { + permission java.security.AllPermission; +}; + +grant codeBase "file:g:/dev/jakarta-turbine-jcs/src/conf/*" { + permission java.security.AllPermission; +}; + +grant codeBase "file:g:/dev/jakarta-turbine-jcs/src/conf/scripts/*" { permission java.security.AllPermission; }; -grant codeBase "file:/@lib.repo.f@*" { +grant codeBase "file:g:/dev/jakarta-turbine-jcs/*" { permission java.security.AllPermission; }; -grant codeBase "file:/*" { +grant codeBase "file:/G:/*" { permission java.security.AllPermission; }; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Nov 17 08:25:27 2003 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6361 invoked from network); 17 Nov 2003 08:25:27 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 17 Nov 2003 08:25:27 -0000 Received: (qmail 37445 invoked by uid 500); 17 Nov 2003 08:25:01 -0000 Delivered-To: [email protected] Received: (qmail 37343 invoked by uid 500); 17 Nov 2003 08:25:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Turbine JCS Developers List" <turbine-jcs-dev.jakarta.apache.org> Reply-To: "Turbine JCS Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 37287 invoked from network); 17 Nov 2003 08:24:58 -0000 Received: from unknown (HELO mail.gmx.net) (161.129.204.104) by daedalus.apache.org with SMTP; 17 Nov 2003 08:24:58 -0000 Received: (qmail 23957 invoked by uid 65534); 17 Nov 2003 08:25:04 -0000 Received: from pD955268E.dip.t-dialin.net (EHLO 161.129.204.104) (161.129.204.104) by mail.gmx.net (mp027) with SMTP; 17 Nov 2003 09:25:04 +0100 X-Authenticated: #680025 From: Christian Kreutzfeldt <[email protected]> Organization: iCS To: "Turbine JCS Users List" <[email protected]>, "Turbine JCS Developers List" <[email protected]> Subject: Re: AW: [indexeddiskcache] key file not written Date: Mon, 17 Nov 2003 09:23:08 +0100 User-Agent: KMail/1.5.2 References: <392980375E2FD511AB910002A528686303278CD0@JMB-RXM-02> In-Reply-To: <392980375E2FD511AB910002A528686303278CD0@JMB-RXM-02> MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_sVIu/wxfNjbDMEI" Message-Id: <[email protected]> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --Boundary-00=_sVIu/wxfNjbDMEI Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Thursday 13 November 2003 17:51, Vossberg, Michal wrote: Hi! > I vaguely recall that the problem was in > org.apache.jcs.auxiliary.disk:dispose(). > The alive flag is set to false before calling the actual dispose which lead > to an early return. In the mailing list archive somebody had submitted a > patch for this a while ago for review, I guess it got lost. Yes, that's right. I patched the disk cache in that way. It was quite easy since the only thing that has to be done, is setting alive from false to true in the proper function. > Also I remember a timing problem with the event queue. In case of many > elements left in the queue the cache might shut down to soon and the last > elements might not have been written before the destroy. The patch included > a simple delay as a hotfix. I added a method isEmpty which checks if the event cache event queue is empty. This should be invoked right before dispose is called. I have included my changes and hope that someone will check them. Concerning the alive flag which is used throughout the whole tool, I would like to know why so many methods do have the right to change it. From my point of view, only one method per cache type should be able to toggle it. I think that the concrete dispose methods should be the ones to set it to false. Therefore I removed alive = false from various methods. ICacheEventQueue: I added a method isEmpty to the interface. This idea behind it is, to check if the cache event queue is empty. This has to be called in AbstractDiskCache#dispose() to ensure that all elements are processed before the shutdown of the system. CompositeCache#dispose(): The setting of alive from true to false has to be removed. CacheEventQueue: Implemented isEmpty from the ICacheEventQueue interface. The method returns the boolean value of head == tail. AbstractDiskCache#dispose: The method ICacheEventQueue#isEmpty is constantly called until the return value is true. Then doDispose() has to be called. The alive flag which has been set to false at the beginning of the method, has to be removed. With regards, Christian --Boundary-00=_sVIu/wxfNjbDMEI Content-Type: text/x-java; charset="iso-8859-1"; name="AbstractDiskCache.java" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="AbstractDiskCache.java" package org.apache.jcs.auxiliary.disk; /* ==================================================================== * The Apache Software License, Version 1.1 * * Copyright (c) 2001 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 JCS" must not be used to endorse or promote products * derived from this software without prior written permission. For * written permission, please contact [email protected]. * * 5. Products derived from this software may not be called "Apache", * "Apache JCS", 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/>. */ import java.io.IOException; import java.io.Serializable; import java.util.Hashtable; import java.util.Set; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.jcs.auxiliary.AuxiliaryCache; import org.apache.jcs.engine.CacheConstants; import org.apache.jcs.engine.CacheEventQueue; import org.apache.jcs.engine.CacheInfo; import org.apache.jcs.engine.behavior.ICacheElement; import org.apache.jcs.engine.behavior.ICacheEventQueue; import org.apache.jcs.engine.behavior.ICacheListener; import org.apache.jcs.utils.locking.ReadWriteLock; import org.apache.jcs.utils.locking.ReadWriteLockManager; /** * Abstract class providing a base implementation of a disk cache, which can * be easily extended to implement a disk cache for a specific perstistence * mechanism. * * When implementing the abstract methods note that while this base class * handles most things, it does not acquire or release any locks. * Implementations should do so as neccesary. This is mainly done to minimize * the time speant in critical sections. * * Error handling in this class needs to be addressed. Currently if an * exception is thrown by the persistence mechanism, this class destroys the * event queue. Should it also destory purgatory? Should it dispose itself? * * @author <a href="mailto:[email protected]">Aaron Smuts</a> * @author <a href="mailto:[email protected]">James Taylor</a> * @version $Id: AbstractDiskCache.java,v 1.17 2003/08/22 11:57:18 mpoeschl Exp $ */ public abstract class AbstractDiskCache implements AuxiliaryCache, Serializable { private static final Log log = LogFactory.getLog( AbstractDiskCache.class ); /** * Map where elements are stored between being added to this cache and * actually spooled to disk. This allows puts to the disk cache to return * quickly, and the more expensive operation of serializing the elements * to persistent storage queued for later. If the elements are pulled into * the memory cache while the are still in purgatory, writing to disk can * be cancelled. */ protected Hashtable purgatory = new Hashtable(); /** * The CacheEventQueue where changes will be queued for asynchronous * updating of the persistent storage. */ protected ICacheEventQueue cacheEventQueue; /** * Each instance of a Disk cache should use this lock to synchronize reads * and writes to the underlying storage mechansism. */ protected ReadWriteLock lock = new ReadWriteLock(); /** Manages locking for purgatory item manipulation. */ protected ReadWriteLockManager locker = new ReadWriteLockManager(); /** * Indicates whether the cache is 'alive', defined as having been * initialized, but not yet disposed. */ protected boolean alive = false; /** * Every cache will have a name, subclasses must set this when they are * initialized. */ protected String cacheName; /** * DEBUG: Keeps a count of the number of purgatory hits for debug messages */ protected int purgHits = 0; // ----------------------------------------------------------- constructors public AbstractDiskCache( String cacheName ) { this.cacheName = cacheName; this.cacheEventQueue = new CacheEventQueue( new MyCacheListener(), CacheInfo.listenerId, cacheName ); } // ------------------------------------------------------- interface ICache /** * Adds the provided element to the cache. Element will be added to * purgatory, and then queued for later writing to the serialized storage * mechanism. * * @see org.apache.jcs.engine.behavior.ICache#update */ public final void update( ICacheElement cacheElement ) throws IOException { if ( log.isDebugEnabled() ) { log.debug( "Putting element in purgatory, cacheName: " + cacheName + ", key: " + cacheElement.getKey() ); } try { // Wrap the CacheElement in a PurgatoryElement PurgatoryElement pe = new PurgatoryElement( cacheElement ); // Indicates the the element is eligable to be spooled to disk, // this will remain true unless the item is pulled back into // memory. pe.setSpoolable( true ); // Add the element to purgatory purgatory.put( pe.getKey(), pe ); // Queue element for serialization cacheEventQueue.addPutEvent( pe ); } catch ( IOException ex ) { log.error( ex ); cacheEventQueue.destroy(); } } /** * @see AuxiliaryCache#get */ public final ICacheElement get( Serializable key ) { // If not alive, always return null. if ( !alive ) { return null; } PurgatoryElement pe = ( PurgatoryElement ) purgatory.get( key ); // If the element was found in purgatory if ( pe != null ) { purgHits++; if ( log.isDebugEnabled() ) { if ( purgHits % 100 == 0 ) { log.debug( "Purgatory hits = " + purgHits ); } } // The element will go back to the memory cache, so set spoolable // to false, which will prevent the queue listener from serializing // the element. pe.setSpoolable( false ); log.debug( "Found element in purgatory, cacheName: " + cacheName + ", key: " + key ); purgatory.remove( key ); return pe.cacheElement; } // If we reach this point, element was not found in purgatory, so get // it from the cache. try { return doGet( key ); } catch ( Exception e ) { log.error( e ); cacheEventQueue.destroy(); } return null; } public abstract Set getGroupKeys(String groupName); /** * @see org.apache.jcs.engine.behavior.ICache#remove */ public final boolean remove( Serializable key ) { String keyAsString = key.toString(); writeLock( keyAsString ); try { // Remove element from purgatory if it is there purgatory.remove( key ); // Remove from persistent store immediately doRemove( key ); } finally { releaseLock( keyAsString ); } return false; } /** * @see org.apache.jcs.engine.behavior.ICache#removeAll */ public final void removeAll() { // Replace purgatory with a new empty hashtable purgatory = new Hashtable(); // Remove all from persistent store immediately doRemoveAll(); } /** * Adds a dispose request to the disk cache. */ public final void dispose() { // Invoke any implementation specific disposal code if( log.isDebugEnabled()) log.debug("Calling dispose. EventQueue isEmpty = " + cacheEventQueue.isEmpty()); while( !cacheEventQueue.isEmpty() ) { if( log.isDebugEnabled() ) log.debug( "Waiting for the event queue to be processed"); } doDispose(); // alive = false; // FIXME: May lose the end of the queue, need to be more graceful cacheEventQueue.destroy(); } /** * @see ICache#getCacheName */ public String getCacheName() { return cacheName; } /** * @see ICache#getStatus */ public int getStatus() { return ( alive ? CacheConstants.STATUS_ALIVE : CacheConstants.STATUS_DISPOSED ); } /** * Size cannot be determined without knowledge of the cache implementation, * so subclasses will need to implement this method. * * @see ICache#getSize */ public abstract int getSize(); /** * @see org.apache.jcs.engine.behavior.ICacheType#getCacheType * * @return Always returns DISK_CACHE since subclasses should all be of * that type. */ public int getCacheType() { return DISK_CACHE; } /** * Internally used write lock for purgatory item modification. * * @param id What name to lock on. */ private void writeLock( String id ) { try { locker.writeLock( id ); } catch ( InterruptedException e ) { // See note in readLock() log.error( "Was interrupted while acquiring read lock", e ); } catch ( Throwable e ) { log.error( e ); } } /** * Internally used write lock for purgatory item modification. * * @param id What name to lock on. */ private void releaseLock( String id ) { try { locker.done( id ); } catch ( IllegalStateException e ) { log.warn( "Problem releasing lock", e ); } } /** * Cache that implements the CacheListener interface, and calls appropriate * methods in its parent class. */ private class MyCacheListener implements ICacheListener { private byte listenerId = 0; /** * @see ICacheListener#getListenerId */ public byte getListenerId() throws IOException { return this.listenerId; } /** * @see ICacheListener#setListenerId */ public void setListenerId( byte id ) throws IOException { this.listenerId = id; } /** * @see ICacheListener#handlePut * * NOTE: This checks if the element is a puratory element and behaves * differently depending. However since we have control over how * elements are added to the cache event queue, that may not be needed * ( they are always PurgatoryElements ). */ public void handlePut( ICacheElement element ) throws IOException { if ( alive ) { // If the element is a PurgatoryElement we must check to see // if it is still spoolable, and remove it from purgatory. if ( element instanceof PurgatoryElement ) { PurgatoryElement pe = ( PurgatoryElement ) element; String keyAsString = element.getKey().toString(); writeLock( keyAsString ); try { // If the element has already been removed from // purgatory do nothing if ( ! purgatory.contains( pe ) ) { return; } element = pe.getCacheElement(); // If the element is still eligable, spool it. if ( pe.isSpoolable() ) { doUpdate( element ); } // After the update has completed, it is safe to remove // the element from purgatory. purgatory.remove( element.getKey() ); } finally { releaseLock( keyAsString ); } } else { doUpdate( element ); } } } /** * @see ICacheListener#handleRemove */ public void handleRemove( String cacheName, Serializable key ) throws IOException { if ( alive ) { if ( doRemove( key ) ) { log.debug( "Element removed, key: " + key ); } } } /** * @see ICacheListener#handleRemoveAll */ public void handleRemoveAll( String cacheName ) throws IOException { if ( alive ) { doRemoveAll(); } } /** * @see ICacheListener#handleDispose */ public void handleDispose( String cacheName ) throws IOException { if ( alive ) { doDispose(); } } } // ---------------------- subclasses should implement the following methods /** * Get a value from the persistent store. * * @param key Key to locate value for. * @return An object matching key, or null. */ protected abstract ICacheElement doGet( Serializable key ); /** * Add a cache element to the persistent store. */ protected abstract void doUpdate( ICacheElement element ); /** * Remove an object from the persistent store if found. * * @param key Key of object to remove. */ protected abstract boolean doRemove( Serializable key ); /** * Remove all objects from the persistent store. */ protected abstract void doRemoveAll(); /** * Dispose of the persistent store. Note that disposal of purgatory and * setting alive to false does NOT need to be done by this method. */ protected abstract void doDispose(); } --Boundary-00=_sVIu/wxfNjbDMEI Content-Type: text/x-java; charset="iso-8859-1"; name="ICacheEventQueue.java" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="ICacheEventQueue.java" package org.apache.jcs.engine.behavior; /* ==================================================================== * The Apache Software License, Version 1.1 * * Copyright (c) 2001 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 JCS" must not be used to endorse or promote products * derived from this software without prior written permission. For * written permission, please contact [email protected]. * * 5. Products derived from this software may not be called "Apache", * "Apache JCS", 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/>. */ import java.io.IOException; import java.io.Serializable; /** * Interface for a cache event queue. An event queue is used to propagate * ordered cache events to one and only one target listener. * * @author asmuts * @created January 15, 2002 */ public interface ICacheEventQueue { /** * Adds a feature to the PutEvent attribute of the ICacheEventQueue object * * @param ce The feature to be added to the PutEvent attribute */ public void addPutEvent( ICacheElement ce ) throws IOException; /** * Adds a feature to the RemoveEvent attribute of the ICacheEventQueue * object * * @param key The feature to be added to the RemoveEvent attribute */ public void addRemoveEvent( Serializable key ) throws IOException; /** * Adds a feature to the RemoveAllEvent attribute of the ICacheEventQueue * object */ public void addRemoveAllEvent() throws IOException; /** * Adds a feature to the DisposeEvent attribute of the ICacheEventQueue * object */ public void addDisposeEvent() throws IOException; /** * Gets the listenerId attribute of the ICacheEventQueue object * * @return The listenerId value */ public byte getListenerId(); /** Description of the Method */ public void destroy(); /** * Gets the alive attribute of the ICacheEventQueue object * * @return The alive value */ public boolean isAlive(); /** * Checks if the event queue is empty - should be called before dispose */ public boolean isEmpty(); } --Boundary-00=_sVIu/wxfNjbDMEI Content-Type: text/x-java; charset="iso-8859-1"; name="CompositeCache.java" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="CompositeCache.java" package org.apache.jcs.engine.control; /* ==================================================================== * The Apache Software License, Version 1.1 * * Copyright (c) 2001 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 JCS" must not be used to endorse or promote products * derived from this software without prior written permission. For * written permission, please contact [email protected]. * * 5. Products derived from this software may not be called "Apache", * "Apache JCS", 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/>. */ import java.io.IOException; import java.io.Serializable; import java.util.ArrayList; import java.util.HashSet; import java.util.Iterator; import java.util.Map; import java.util.Set; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.jcs.access.exception.CacheException; import org.apache.jcs.access.exception.ObjectNotFoundException; import org.apache.jcs.auxiliary.AuxiliaryCache; import org.apache.jcs.engine.CacheConstants; import org.apache.jcs.engine.CacheElement; import org.apache.jcs.engine.behavior.ICache; import org.apache.jcs.engine.behavior.ICacheElement; import org.apache.jcs.engine.behavior.ICacheType; import org.apache.jcs.engine.behavior.ICompositeCacheAttributes; import org.apache.jcs.engine.behavior.IElementAttributes; import org.apache.jcs.engine.control.event.ElementEvent; import org.apache.jcs.engine.control.event.ElementEventQueue; import org.apache.jcs.engine.control.event.behavior.IElementEvent; import org.apache.jcs.engine.control.event.behavior.IElementEventConstants; import org.apache.jcs.engine.control.event.behavior.IElementEventHandler; import org.apache.jcs.engine.control.event.behavior.IElementEventQueue; import org.apache.jcs.engine.control.group.GroupId; import org.apache.jcs.engine.memory.MemoryCache; import org.apache.jcs.engine.memory.lru.LRUMemoryCache; /** * This is the primary hub for a single cache/region. It control the flow of * items through the cache. The auxiliary and memory caches are plugged in * here. * *@author <a href="mailto:[email protected]">Aaron Smuts</a> *@author <a href="mailto:[email protected]">James Taylor</a> *@version $Id: CompositeCache.java,v 1.7 2002/08/07 15:28:12 jtaylor Exp $ */ public class CompositeCache implements ICache, Serializable { private final static Log log = LogFactory.getLog( CompositeCache.class ); // Auxiliary caches. private AuxiliaryCache[] auxCaches; private boolean alive = true; // this is int he cacheAttr, shouldn't be used, remove final String cacheName; /** * Region Elemental Attributes, default */ public IElementAttributes attr; /** * Cache Attributes, for hub and memory auxiliary */ public ICompositeCacheAttributes cacheAttr; /** * Cache Attributes, for hub and memory auxiliary */ public IElementEventQueue elementEventQ; // Statistics /** Memory cache hit count */ private int hitCountRam; /** Auxiliary cache hit count (number of times found in ANY auxiliary) */ private int hitCountAux; /** Auxiliary hit counts broken down by auxiliary */ private int[] auxHitCountByIndex; /** Count of misses where element was not found */ private int missCountNotFound = 0; /** Count of misses where element was expired */ private int missCountExpired = 0; /** * The cache hub can only have one memory cache. This could be made more * flexible in the future, but they are tied closely together. More than * one doesn't make much sense. */ MemoryCache memCache; /** * Constructor for the Cache object * *@param cacheName The name of the region *@param auxCaches The auxiliary caches to be used by this region *@param cattr The cache attribute *@param attr The default element attributes */ public CompositeCache( String cacheName, ICompositeCacheAttributes cattr, IElementAttributes attr ) { this.cacheName = cacheName; this.attr = attr; this.cacheAttr = cattr; elementEventQ = new ElementEventQueue( cacheName ); createMemoryCache( cattr ); if ( log.isDebugEnabled() ) { log.debug( "Constructed cache with name " + cacheName + " and cache attributes: " + cattr ); } else if ( log.isInfoEnabled() ) { log.info( "Constructed cache with name: " + cacheName ); } } public void setAuxCaches( AuxiliaryCache[] auxCaches ) { this.auxCaches = auxCaches; if ( auxCaches != null ) { this.auxHitCountByIndex = new int[auxCaches.length]; } } /** * Standard update method * *@param ce *@exception IOException */ public synchronized void update( ICacheElement ce ) throws IOException { update( ce, false ); } /** * Standard update method * *@param ce *@exception IOException */ public synchronized void localUpdate( ICacheElement ce ) throws IOException { update( ce, true ); } /** * Description of the Method * *@param ce *@param updateRemoteCache *@exception IOException */ protected synchronized void update( ICacheElement ce, boolean localOnly ) throws IOException { if ( ce.getKey() instanceof String && ce.getKey().toString().endsWith( CacheConstants.NAME_COMPONENT_DELIMITER ) ) { throw new IllegalArgumentException( "key must not end with " + CacheConstants.NAME_COMPONENT_DELIMITER + " for a put operation" ); } else if ( ce.getKey() instanceof GroupId ) { throw new IllegalArgumentException( "key cannot be a GroupId " + " for a put operation" ); } log.debug( "Updating memory cache" ); memCache.update( ce ); // Updates to all auxiliary caches -- remote and laterals, can add as many of each // as necessary. // could put the update criteria in each but it would a bit cumbersome // the disk cache would have to check the cache size, the lateral // would have to check the region cattr configuration // UPDATE AUXILLIARY CACHES // There are 3 types of auxiliary caches: remote, lateral, and disk // more can be added if future auxiliary caches don't fit the model // You could run a database cache as either a remote or a local disk. // The types would describe the purpose. if ( log.isDebugEnabled() ) { if ( auxCaches.length > 0 ) { log.debug( "Updating auxilliary caches" ); } else { log.debug( "No auxilliary cache to update" ); } } for ( int i = 0; i < auxCaches.length; i++ ) { ICache aux = auxCaches[i]; if ( log.isDebugEnabled() ) { log.debug( "Auxilliary cache type: " + aux.getCacheType() ); } // SEND TO REMOTE STORE if ( aux != null && aux.getCacheType() == ICache.REMOTE_CACHE ) { if ( log.isDebugEnabled() ) { log.debug( "ce.getElementAttributes().getIsRemote() = " + ce.getElementAttributes().getIsRemote() ); } if ( ce.getElementAttributes().getIsRemote() && ! localOnly ) { try { // need to make sure the group cache understands that the // key is a group attribute on update aux.update( ce ); if ( log.isDebugEnabled() ) { log.debug( "Updated remote store for " + ce.getKey() + ce ); } } catch ( IOException ex ) { log.error( "Failure in updateExclude", ex ); } } // SEND LATERALLY } else if ( aux != null && aux.getCacheType() == ICache.LATERAL_CACHE ) { // lateral can't do the checking since it is dependent on the cache region // restrictions if ( log.isDebugEnabled() ) { log.debug( "lateralcache in aux list: cattr " + cacheAttr.getUseLateral() ); } if ( cacheAttr.getUseLateral() && ce.getElementAttributes().getIsLateral() && ! localOnly ) { // later if we want a multicast, possibly delete abnormal broadcaster // DISTRIBUTE LATERALLY // Currently always multicast even if the value is unchanged, // just to cause the cache item to move to the front. aux.update( ce ); if ( log.isDebugEnabled() ) { log.debug( "updated lateral cache for " + ce.getKey() ); } } } else if ( aux != null && aux.getCacheType() == ICache.DISK_CACHE ) { // do nothing, the memory manager will call spool where necesary // TODO: add option to put all element on disk } } return; } /** * Writes the specified element to any disk auxilliaries Might want to * rename this "overflow" incase the hub wants to do something else. * *@param ce The CacheElement */ public void spoolToDisk( ICacheElement ce ) { boolean diskAvailable = false; // SPOOL TO DISK. for ( int i = 0; i < auxCaches.length; i++ ) { ICache aux = auxCaches[i]; if ( aux != null && aux.getCacheType() == ICache.DISK_CACHE ) { diskAvailable = true; // write the last item to disk.2 try { // handle event, might move to a new method ArrayList eventHandlers = ce.getElementAttributes().getElementEventHandlers(); if ( eventHandlers != null ) { if ( log.isDebugEnabled() ) { log.debug( "Handlers are registered. Event -- ELEMENT_EVENT_SPOOLED_DISK_AVAILABLE" ); } IElementEvent event = new ElementEvent( ce, IElementEventConstants.ELEMENT_EVENT_SPOOLED_DISK_AVAILABLE ); Iterator hIt = eventHandlers.iterator(); while ( hIt.hasNext() ) { IElementEventHandler hand = ( IElementEventHandler ) hIt.next(); //hand.handleElementEvent( event ); addElementEvent( hand, event ); } } aux.update( ce ); } catch ( IOException ex ) { // impossible case. ex.printStackTrace(); throw new IllegalStateException( ex.getMessage() ); } catch ( Exception oee ) { } if ( log.isDebugEnabled() ) { log.debug( "spoolToDisk done for: " + ce.getKey() + " on disk cache[" + i + "]" ); } } } if ( !diskAvailable ) { try { // handle event, might move to a new method ArrayList eventHandlers = ce.getElementAttributes().getElementEventHandlers(); if ( eventHandlers != null ) { if ( log.isDebugEnabled() ) { log.debug( "Handlers are registered. Event -- ELEMENT_EVENT_SPOOLED_DISK_NOT_AVAILABLE" ); } IElementEvent event = new ElementEvent( ce, IElementEventConstants.ELEMENT_EVENT_SPOOLED_DISK_NOT_AVAILABLE ); Iterator hIt = eventHandlers.iterator(); while ( hIt.hasNext() ) { IElementEventHandler hand = ( IElementEventHandler ) hIt.next(); //hand.handleElementEvent( event ); addElementEvent( hand, event ); } } } catch ( Exception e ) { log.error( "Trouble handling the event", e ); } } } /** * @see ICache#get */ public ICacheElement get( Serializable key ) { return get( key, false ); } /** * @see ICompositeCache#localGet */ public ICacheElement localGet( Serializable key ) { return get( key, true ); } /** * Description of the Method * *@param key *@param localOnly *@return */ protected ICacheElement get( Serializable key, boolean localOnly ) { ICacheElement element = null; boolean found = false; if ( log.isDebugEnabled() ) { log.debug( "get: key = " + key + ", localOnly = " + localOnly ); } try { // First look in memory cache element = memCache.get( key ); if ( element != null ) { // Found in memory cache if ( isExpired( element ) ) { if ( log.isDebugEnabled() ) { log.debug( cacheName + " - Memory cache hit, but element expired" ); } missCountExpired++; remove( element ); element = null; } else { if ( log.isDebugEnabled() ) { log.debug( cacheName + " - Memory cache hit" ); } // Update counters hitCountRam++; } found = true; } else { // Item not found in memory. If local invocation look in aux // caches, even if not local look in disk auxiliaries for ( int i = 0; i < auxCaches.length; i++ ) { AuxiliaryCache aux = auxCaches[i]; if ( aux != null ) { long cacheType = aux.getCacheType(); if ( ! localOnly || cacheType == aux.DISK_CACHE ) { if ( log.isDebugEnabled() ) { log.debug( "Attempting to get from aux: " + aux.getCacheName() + " which is of type: " + cacheType ); } try { element = aux.get( key ); } catch ( IOException ex ) { log.error( "Error getting from aux", ex ); } } if ( log.isDebugEnabled() ) { log.debug( "Got CacheElement: " + element ); } if ( element != null ) { // Item found in one of the auxiliary caches. if ( isExpired( element ) ) { if ( log.isDebugEnabled() ) { log.debug( cacheName + " - Aux cache[" + i + "] hit, but element expired" ); } missCountExpired++; remove( element ); element = null; } else { if ( log.isDebugEnabled() ) { log.debug( cacheName + " - Aux cache[" + i + "] hit" ); } // Update counters hitCountAux++; auxHitCountByIndex[ i ]++; // Spool the item back into memory memCache.update( element ); } found = true; break; } } } } } catch ( Exception e ) { log.error( e ); } if ( ! found ) { missCountNotFound++; if ( log.isDebugEnabled() ) { log.debug( cacheName + " - Miss" ); } } return element; } private boolean isExpired( ICacheElement element ) { try { IElementAttributes attributes = element.getElementAttributes(); if ( !attributes.getIsEternal() ) { long now = System.currentTimeMillis(); // Remove if maxLifeSeconds exceeded long maxLifeSeconds = attributes.getMaxLifeSeconds(); long createTime = attributes.getCreateTime(); if ( maxLifeSeconds != -1 && ( now - createTime ) > ( maxLifeSeconds * 1000 ) ) { if ( log.isDebugEnabled() ) { log.debug( "Exceeded maxLife: " + element.getKey() ); } return true; } else { long idleTime = attributes.getIdleTime(); long lastAccessTime = attributes.getLastAccessTime(); // Remove if maxIdleTime exceeded // FIXME: Does this really belong here? if ( ( idleTime != -1 ) && ( now - lastAccessTime ) > ( idleTime * 1000 ) ) { if ( log.isDebugEnabled() ) { log.info( "Exceeded maxIdle: " + element.getKey() ); } return true; } } } } catch ( Exception e ) { log.error( "Error determining expiration period, expiring", e ); return true; } return false; } /** * Gets the set of keys of objects currently in the group */ public Set getGroupKeys(String group) { HashSet allKeys = new HashSet(); allKeys.addAll(memCache.getGroupKeys(group)); for ( int i = 0; i < auxCaches.length; i++ ) { AuxiliaryCache aux = auxCaches[i]; if ( aux != null ) { try { allKeys.addAll(aux.getGroupKeys(group)); } catch ( IOException e ) { //ignore } } } return allKeys; } /** * @see ICache#remove */ public boolean remove( Serializable key ) { return remove( key, false ); } /** * @see ICompositeCache#localRemove */ public boolean localRemove( Serializable key ) { return remove( key, true ); } /** * fromRemote: If a remove call was made on a cache with both, then the * remote should have been called. If it wasn't then the remote is down. * we'll assume it is down for all. If it did come from the remote then the * caceh is remotely configured and lateral removal is unncessary. If it * came laterally then lateral removal is unnecessary. Does this assumes * that there is only one lateral and remote for the cache? Not really, the * intial removal should take care of the problem if the source cache was * similiarly configured. Otherwise the remote cache, if it had no * laterals, would remove all the elements from remotely configured caches, * but if those caches had some other wierd laterals that were not remotely * configured, only laterally propagated then they would go out of synch. * The same could happen for multiple remotes. If this looks necessary we * will need to build in an identifier to specify the source of a removal. * *@param key *@param localOnly *@return */ protected synchronized boolean remove( Serializable key, boolean localOnly ) { boolean removed = false; try { removed = memCache.remove( key ); } catch ( IOException e ) { log.error( e ); } // Removes from all auxiliary caches. for ( int i = 0; i < auxCaches.length; i++ ) { ICache aux = auxCaches[i]; if ( aux == null ) { continue; } int cacheType = aux.getCacheType(); // for now let laterals call remote remove but not vice versa if ( localOnly && ( cacheType == REMOTE_CACHE || cacheType == LATERAL_CACHE ) ) { continue; } try { if ( log.isDebugEnabled() ) { log.debug( "Removing " + key + " from cacheType" + cacheType ); } boolean b = aux.remove( key ); // Don't take the remote removal into account. if ( !removed && cacheType != REMOTE_CACHE ) { removed = b; } } catch ( IOException ex ) { log.error( "Failure removing from aux", ex ); } } return removed; } /** * @see ICache#removeAll */ public void removeAll() throws IOException { removeAll( false ); } /** * @see ICompositeCache#removeAll */ public void localRemoveAll() throws IOException { removeAll( true ); } /** * Removes all cached items. */ protected synchronized void removeAll( boolean localOnly ) throws IOException { try { memCache.removeAll(); } catch ( IOException ex ) { log.error( ex ); } // Removes from all auxiliary disk caches. for ( int i = 0; i < auxCaches.length; i++ ) { ICache aux = auxCaches[i]; int cacheType = aux.getCacheType(); if ( aux != null && ( cacheType == ICache.DISK_CACHE || ! localOnly ) ) { try { aux.removeAll(); } catch ( IOException ex ) { log.error( "Failure removing all from aux", ex ); } } } return; } /** * Flushes all cache items from memory to auxilliary caches and close the * auxilliary caches. */ public void dispose() { dispose( false ); } /** * invoked only by CacheManager. * *@param fromRemote */ protected synchronized void dispose( boolean fromRemote ) { // If already disposed, return immediately if ( ! alive ) { return; } // alive = false; // Dispose of each auxilliary cache, Remote auxilliaries will be // skipped if 'fromRemote' is true. for ( int i = 0; i < auxCaches.length; i++ ) { try { ICache aux = auxCaches[i]; // Skip this auxilliary if: // - The auxilliary is null // - The auxilliary is not alive // - The auxilliary is remote and the invocation was remote if ( aux == null || aux.getStatus() != CacheConstants.STATUS_ALIVE || fromRemote && aux.getCacheType() == REMOTE_CACHE ) { continue; } // If the auxilliary is not a lateral, or the cache attributes // have 'getUseLateral' set, all the elements currently in // memory are written to the lateral before disposing if ( aux.getCacheType() != ICacheType.LATERAL_CACHE || this.cacheAttr.getUseLateral() ) { Iterator itr = memCache.getIterator(); while ( itr.hasNext() ) { Map.Entry entry = ( Map.Entry ) itr.next(); ICacheElement ce = (ICacheElement) entry.getValue(); try { if ( aux.getCacheType() == ICacheType.LATERAL_CACHE && !ce.getElementAttributes().getIsLateral() ) { continue; } aux.update( ce ); } catch ( Exception e ) { log.error( e ); } } } // Dispose of the auxiliary aux.dispose(); } catch ( IOException ex ) { log.error( "Failure disposing of aux", ex ); } } log.warn( "Called close for " + cacheName ); } /** * Though this put is extremely fast, this could bog the cache and should * be avoided. The dispose method should call a version of this. Good for * testing. */ public void save() { if ( !alive ) { return; } synchronized ( this ) { if ( !alive ) { return; } alive = false; for ( int i = 0; i < auxCaches.length; i++ ) { try { ICache aux = auxCaches[i]; if ( aux.getStatus() == CacheConstants.STATUS_ALIVE ) { Iterator itr = memCache.getIterator(); while ( itr.hasNext() ) { Map.Entry entry = ( Map.Entry ) itr.next(); ICacheElement ce = (ICacheElement) entry.getValue(); aux.update(ce); } } } catch ( IOException ex ) { log.error( "Failure saving aux caches", ex ); } } } if ( log.isDebugEnabled() ) { log.debug( "Called save for " + cacheName ); } } /** * Gets the size attribute of the Cache object * *@return The size value */ public int getSize() { return memCache.getSize(); } /** * Gets the cacheType attribute of the Cache object * *@return The cacheType value */ public int getCacheType() { return CACHE_HUB; } /** * Gets the status attribute of the Cache object * *@return The status value */ public int getStatus() { return alive ? CacheConstants.STATUS_ALIVE : CacheConstants.STATUS_DISPOSED; } /** * Gets the cacheName attribute of the Cache object * *@return The cacheName value */ public String getCacheName() { return cacheName; } /** * Gets the default element attribute of the Cache object * * Should this return a copy? * *@return The attributes value */ public IElementAttributes getElementAttributes() { return attr; } /** * Sets the default element attribute of the Cache object * *@return The attributes value */ public void setElementAttributes( IElementAttributes attr) { this.attr = attr; } /** * Gets the ICompositeCacheAttributes attribute of the Cache object * *@return The ICompositeCacheAttributes value */ public ICompositeCacheAttributes getCacheAttributes() { return this.cacheAttr; } /** * Sets the ICompositeCacheAttributes attribute of the Cache object * *@param cattr The new ICompositeCacheAttributes value */ public void setCacheAttributes( ICompositeCacheAttributes cattr ) { this.cacheAttr = cattr; // need a better way to do this, what if it is in error this.memCache.initialize( this ); } /** * Gets the elementAttributes attribute of the Cache object * *@param key *@return The elementAttributes value *@exception CacheException *@exception IOException */ public IElementAttributes getElementAttributes( Serializable key ) throws CacheException, IOException { CacheElement ce = ( CacheElement ) get( key ); if ( ce == null ) { throw new ObjectNotFoundException( "key " + key + " is not found" ); } return ce.getElementAttributes(); } /** * Adds an ElementEvent to be handled * *@param hand The IElementEventHandler *@param event The IElementEventHandler IElementEvent event *@exception IOException Description of the Exception */ public void addElementEvent( IElementEventHandler hand, IElementEvent event ) throws IOException { if ( log.isDebugEnabled() ) { log.debug( "Adding to Q" ); } elementEventQ.addElementEvent( hand, event ); } /** * Create the MemoryCache based on the config parameters. TODO: consider * making this an auxiliary, despite its close tie to the CacheHub. TODO: * might want to create a memory cache config file separate from that of * the hub -- ICompositeCacheAttributes * *@param cattr */ private void createMemoryCache( ICompositeCacheAttributes cattr ) { if ( memCache == null ) { try { Class c = Class.forName( cattr.getMemoryCacheName() ); memCache = ( MemoryCache ) c.newInstance(); memCache.initialize( this ); } catch ( Exception e ) { log.warn( "Failed to init mem cache, using: LRUMemoryCache", e ); this.memCache = new LRUMemoryCache(); this.memCache.initialize( this ); } } else { log.warn( "Refusing to create memory cache -- already exists." ); } } // ---------------------------------------------------- For Instrumentation /** Access to the memory cache for instrumentation. */ public MemoryCache getMemoryCache() { return memCache; } /** Number of times a requested item was found in the memory cache */ public int getHitCountRam() { return hitCountRam; } /** Number of times a requested item was found in and auxiliary cache */ public int getHitCountAux() { return hitCountAux; } /** Number of times a requested element was not found */ public int getMissCountNotFound() { return missCountNotFound; } /** Number of times a requested element was found but was expired */ public int getMissCountExpired() { return missCountExpired; } } --Boundary-00=_sVIu/wxfNjbDMEI Content-Type: text/x-java; charset="iso-8859-1"; name="CacheEventQueue.java" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="CacheEventQueue.java" package org.apache.jcs.engine; /* ==================================================================== * The Apache Software License, Version 1.1 * * Copyright (c) 2001 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 JCS" must not be used to endorse or promote products * derived from this software without prior written permission. For * written permission, please contact [email protected]. * * 5. Products derived from this software may not be called "Apache", * "Apache JCS", 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/>. */ import java.io.IOException; import java.io.Serializable; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.jcs.engine.behavior.ICacheElement; import org.apache.jcs.engine.behavior.ICacheEventQueue; import org.apache.jcs.engine.behavior.ICacheListener; /** * An event queue is used to propagate ordered cache events to one and only one * target listener. */ public class CacheEventQueue implements ICacheEventQueue { private final static Log log = LogFactory.getLog( CacheEventQueue.class ); private static int processorInstanceCount = 0; // private LinkedQueue queue = new LinkedQueue(); private ICacheListener listener; private byte listenerId; private String cacheName; private int failureCount; private int maxFailure; // in milliseconds private int waitBeforeRetry; private boolean destroyed; private Thread t; // Internal queue implementation private Object queueLock = new Object(); // Dummy node private Node head = new Node(); private Node tail = head; /** * Constructs with the specified listener and the cache name. * * @param listener * @param listenerId * @param cacheName */ public CacheEventQueue( ICacheListener listener, byte listenerId, String cacheName ) { this( listener, listenerId, cacheName, 10, 500 ); } /** * Constructor for the CacheEventQueue object * * @param listener * @param listenerId * @param cacheName * @param maxFailure * @param waitBeforeRetry */ public CacheEventQueue( ICacheListener listener, byte listenerId, String cacheName, int maxFailure, int waitBeforeRetry ) { if ( listener == null ) { throw new IllegalArgumentException( "listener must not be null" ); } this.listener = listener; this.listenerId = listenerId; this.cacheName = cacheName; this.maxFailure = maxFailure <= 0 ? 10 : maxFailure; this.waitBeforeRetry = waitBeforeRetry <= 0 ? 500 : waitBeforeRetry; t = new QProcessor(); t.start(); if ( log.isDebugEnabled() ) { log.debug( "Constructed: " + this ); } } /** * Event Q is emtpy. */ public synchronized void destroy() { if ( !destroyed ) { destroyed = true; // sychronize on queue so the thread will not wait forever, // and then interrupt the QueueProcessor synchronized ( queueLock ) { t.interrupt(); } t = null; log.info( "Cache event queue destroyed: " + this ); } } /** * @return */ public String toString() { return "listenerId=" + listenerId + ", cacheName=" + cacheName; } public boolean isEmpty() { return head == tail; } /** * @return The {3} value */ public boolean isAlive() { return ( !destroyed ); } /** * @return The {3} value */ public byte getListenerId() { return listenerId; } /** * @param ce The feature to be added to the PutEvent attribute * @exception IOException */ public synchronized void addPutEvent( ICacheElement ce ) throws IOException { if ( !destroyed ) { put( new PutEvent( ce ) ); } } /** * @param key The feature to be added to the RemoveEvent attribute * @exception IOException */ public void addRemoveEvent( Serializable key ) throws IOException { if ( !destroyed ) { put( new RemoveEvent( key ) ); } } /** * @exception IOException */ public synchronized void addRemoveAllEvent() throws IOException { if ( !destroyed ) { put( new RemoveAllEvent() ); } } /** * @exception IOException */ public synchronized void addDisposeEvent() throws IOException { if ( !destroyed ) { put( new DisposeEvent() ); } } /** * Adds an event to the queue. * * @param event */ private void put( AbstractCacheEvent event ) { Node newNode = new Node(); newNode.event = event; synchronized ( queueLock ) { tail.next = newNode; tail = newNode; queueLock.notify(); } } private AbstractCacheEvent take() throws InterruptedException { synchronized ( queueLock ) { // wait until there is something to read while ( head == tail ) { queueLock.wait(); } // we have the lock, and the list is not empty Node node = head.next; // This is an awful bug. This will always return null. // This make the event Q and event destroyer. //AbstractCacheEvent value = head.event; // corrected AbstractCacheEvent value = node.event; if ( log.isDebugEnabled() ) { log.debug( "head.event = " + head.event ); log.debug( "node.event = " + node.event ); } // Node becomes the new head (head is always empty) node.event = null; head = node; return value; } } ///////////////////////////// Inner classes ///////////////////////////// private static class Node { Node next = null; AbstractCacheEvent event = null; } /** * @author asmuts * @created January 15, 2002 */ private class QProcessor extends Thread { /** * Constructor for the QProcessor object */ QProcessor() { super( "CacheEventQueue.QProcessor-" + ( ++processorInstanceCount ) ); setDaemon( true ); } /** * Main processing method for the QProcessor object */ public void run() { AbstractCacheEvent r = null; while ( !destroyed ) { try { r = take(); if ( log.isDebugEnabled() ) { log.debug( "r from take() = " + r ); } } catch ( InterruptedException e ) { // We were interrupted, just continue -- the while loop // will exit if we have been properly destroyed. } if ( !destroyed && r != null ) { r.run(); } } // declare failure as listener is permanently unreachable. // queue = null; listener = null; // The listener failure logging more the problem of the user // of the q. log.info( "QProcessor exiting for " + CacheEventQueue.this ); } } /** * Retries before declaring failure. * * @author asmuts * @created January 15, 2002 */ private abstract class AbstractCacheEvent implements Runnable { /** * Main processing method for the AbstractCacheEvent object */ public void run() { IOException ex = null; while ( !destroyed && failureCount <= maxFailure ) { try { ex = null; doRun(); failureCount = 0; return; // happy and done. } catch ( IOException e ) { failureCount++; ex = e; } // Let's get idle for a while before retry. if ( !destroyed && failureCount <= maxFailure ) { try { log.warn( "...retrying propagation " + CacheEventQueue.this + "..." + failureCount ); Thread.currentThread().sleep( waitBeforeRetry ); } catch ( InterruptedException ie ) { // ignore; } } } // Too bad. The remote host is unreachable, so we give up. if ( ex != null ) { log.warn( "Giving up propagation " + CacheEventQueue.this, ex ); destroy(); } return; } /** * Description of the Method * * @exception IOException */ protected abstract void doRun() throws IOException; } /** * @author asmuts * @created January 15, 2002 */ private class PutEvent extends AbstractCacheEvent { private ICacheElement ice; /** * Constructor for the PutEvent object * * @param ice * @exception IOException */ PutEvent( ICacheElement ice ) throws IOException { this.ice = ice; /* * this.key = key; * this.obj = CacheUtils.dup(obj); * this.attr = attr; * this.groupName = groupName; */ } /** * Description of the Method * * @exception IOException */ protected void doRun() throws IOException { /* * CacheElement ce = new CacheElement(cacheName, key, obj); * ce.setElementAttributes( attr ); * ce.setGroupName( groupName ); */ listener.handlePut( ice ); } } /** * Description of the Class * * @author asmuts * @created January 15, 2002 */ private class RemoveEvent extends AbstractCacheEvent { private Serializable key; /** * Constructor for the RemoveEvent object * * @param key * @exception IOException */ RemoveEvent( Serializable key ) throws IOException { this.key = key; } /** * Description of the Method * * @exception IOException */ protected void doRun() throws IOException { listener.handleRemove( cacheName, key ); } } /** * Description of the Class * * @author asmuts * @created January 15, 2002 */ private class RemoveAllEvent extends AbstractCacheEvent { /** * Description of the Method * * @exception IOException */ protected void doRun() throws IOException { listener.handleRemoveAll( cacheName ); } } /** * Description of the Class * * @author asmuts * @created January 15, 2002 */ private class DisposeEvent extends AbstractCacheEvent { /** * Description of the Method * * @exception IOException */ protected void doRun() throws IOException { listener.handleDispose( cacheName ); } } } --Boundary-00=_sVIu/wxfNjbDMEI Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --Boundary-00=_sVIu/wxfNjbDMEI-- From [email protected] Mon Nov 17 21:49:30 2003 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81380 invoked from network); 17 Nov 2003 21:49:29 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 17 Nov 2003 21:49:29 -0000 Received: (qmail 99040 invoked by uid 500); 17 Nov 2003 21:49:18 -0000 Delivered-To: [email protected] Received: (qmail 98977 invoked by uid 500); 17 Nov 2003 21:49:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Turbine JCS Developers List" <turbine-jcs-dev.jakarta.apache.org> Reply-To: "Turbine JCS Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 98964 invoked by uid 500); 17 Nov 2003 21:49:17 -0000 Received: (qmail 98961 invoked from network); 17 Nov 2003 21:49:17 -0000 Received: from unknown (HELO minotaur.apache.org) (161.129.204.104) by daedalus.apache.org with SMTP; 17 Nov 2003 21:49:17 -0000 Received: (qmail 81361 invoked by uid 1422); 17 Nov 2003 21:49:28 -0000 Date: 17 Nov 2003 21:49:28 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: jakarta-turbine-jcs/src/java/org/apache/jcs/engine/control CompositeCache.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N asmuts 2003/11/17 13:49:28 Modified: src/java/org/apache/jcs/engine/control CompositeCache.java Log: Made element event queue static so all regions can share it. May want to create it as used per region instead. For now this will solve the extra thread problem. Each region was creating a queue before which ran as a separate thread. Revision Changes Path 1.10 +8 -8 jakarta-turbine-jcs/src/java/org/apache/jcs/engine/control/CompositeCache.java Index: CompositeCache.java =================================================================== RCS file: /home/cvs/jakarta-turbine-jcs/src/java/org/apache/jcs/engine/control/CompositeCache.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- CompositeCache.java 6 Nov 2003 17:58:51 -0000 1.9 +++ CompositeCache.java 17 Nov 2003 21:49:28 -0000 1.10 @@ -100,6 +100,13 @@ { private final static Log log = LogFactory.getLog( CompositeCache.class ); + /** + * EventQueue for handling element events. + * 1 should be enough for all the regions. Else should create as needed + * per region. + */ + public static IElementEventQueue elementEventQ = new ElementEventQueue( "AllRegionQueue" ); + // Auxiliary caches. private AuxiliaryCache[] auxCaches; @@ -118,11 +125,6 @@ */ public ICompositeCacheAttributes cacheAttr; - /** - * Cache Attributes, for hub and memory auxiliary - */ - public IElementEventQueue elementEventQ; - // Statistics /** Memory cache hit count */ @@ -163,8 +165,6 @@ this.attr = attr; this.cacheAttr = cattr; - - elementEventQ = new ElementEventQueue( cacheName ); createMemoryCache( cattr ); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Dec 01 04:34:33 2003 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 50338 invoked from network); 1 Dec 2003 04:34:32 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 1 Dec 2003 04:34:32 -0000 Received: (qmail 95582 invoked by uid 500); 1 Dec 2003 04:34:13 -0000 Delivered-To: [email protected] Received: (qmail 95537 invoked by uid 500); 1 Dec 2003 04:34:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Subscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Turbine JCS Developers List" <turbine-jcs-dev.jakarta.apache.org> Reply-To: "Turbine JCS Developers List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 95523 invoked from network); 1 Dec 2003 04:34:12 -0000 Received: from unknown (HELO mail.iinet.net.au) (161.129.204.104) by daedalus.apache.org with SMTP; 1 Dec 2003 04:34:12 -0000 Received: (qmail 17601 invoked from network); 1 Dec 2003 04:34:21 -0000 Received: from unknown (HELO backstagetech.com.au) (161.129.204.104) by mail.iinet.net.au with SMTP; 1 Dec 2003 04:34:21 -0000 Message-ID: <[email protected]> Date: Mon, 01 Dec 2003 15:34:07 +1100 From: Scott Eade <[email protected]> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Turbine Developers List <[email protected]>, [email protected] Subject: [Fwd: Re: [POLL] Future Of Turbine-JCS] Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I draw your attention to this thread on jakarta-general (where you should post any responses). If you have an opinion then now might be a good time to express it. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au -------- Original Message -------- Subject: Re: [POLL] Future Of Turbine-JCS Date: Sun, 30 Nov 2003 19:35:47 -0800 From: Andrew C. Oliver <[email protected]> Reply-To: Jakarta General List <[email protected]> To: Jakarta General List <[email protected]> On 11/30/03 6:57 PM, "Sam Ruby" <[email protected]> wrote: > Geir Magnusson Jr wrote: > >> What do the turbine people want? > > If we presume the existance of 'turbine people', then that would be a > good indication that the right thing to do would be to leave JCS within > turbine, and encourage turbine to be promoted to a top level project, > taking JCS with it. > If there are not Turbine people then Turbine should be archived and noted as deprecated. -andy >> On Nov 30, 2003, at 6:08 PM, robert burrell donkin wrote: >> >>> On 30 Nov 2003, at 20:41, robert burrell donkin wrote: >>> >>> sorry, missed one and probably >>> >>> [ ] leave JCS within turbine >>> [ ] JCS to apache commons >>> [ ] JCS to jakarta commons >>> [ ] JCS to jakarta top level >>> [ ] JCS to incubator >>> [ ] something else (please specify)... >>> >>> ps >>> >>> before i get flamed (once again), i'd better add that i think that >>> it'd be useful to try to get some consensus about where the right >>> place for JCS is and that's why i started this thread. whatever action >>> to be taken (if any) will have to be decided on the pmc list. >>> >>> - robert >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > -- Andrew C. Oliver http://www.superlinksoftware.com/poi.jsp Custom enhancements and Commercial Implementation for Jakarta POI http://jakarta.apache.org/poi For Java and Excel, Got POI? The views expressed in this email are those of the author and are almost definitely not shared by the Apache Software Foundation, its board or its general membership. In fact they probably most definitively disagree with everything espoused in the above email. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
From [email protected] Fri Jun 3 18:59:55 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 9DB456D09 for <[email protected]>; Fri, 3 Jun 2011 18:59:55 +0000 (UTC) Received: (qmail 7947 invoked by uid 500); 3 Jun 2011 18:59:55 -0000 Delivered-To: [email protected] Received: (qmail 7907 invoked by uid 500); 3 Jun 2011 18:59:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.tiles.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 7895 invoked by uid 99); 3 Jun 2011 18:59:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jun 2011 18:59:54 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-pw0-f45.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jun 2011 18:59:48 +0000 Received: by pwi6 with SMTP id 6so1300918pwi.32 for <[email protected]>; Fri, 03 Jun 2011 11:59:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=dkLvPFtmkDkSK74RKMw/Sb9/PDQSA4q+h0KZYFrZS70=; b=Nmm5YKbklaZN+T+gfsk55bAPnwgSR3+g8m3CWV2GnJhLIvHpvKvhGz9t8B3JXiTCxm ZahBGk6Qzt7X00N8OpCDoQfWonyhBiO1Xd5eVCp+AgZcRM2G2TuhPdiSfdNXcaZV3K+J Q0k9dE5NfmRxwJ1qBbzEXaLKm1HxhYvuGIlzY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=XW8qkr8ZvwR3mx0J2FSNE5T0c+laGQD/BX9Z+LtQ/Swbgdo/YQrBpPhP3wx6+mXCkD UPp+xZQk7Z8XUnI/g2Lhj4ilAhb75mlih3CpyxgLFiT2O3txVaIx8CSCc3TL/spYQkQR suaNq/KQKisS/MW7ZCs/xXfMhNOot1mGgUswI= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id w39mr372768wfh.96.1307127567800; Fri, 03 Jun 2011 11:59:27 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Fri, 3 Jun 2011 11:59:27 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Sat, 4 Jun 2011 00:29:27 +0530 Message-ID: <[email protected]> Subject: Re: tiles 2.0 + spring in weblogic 10.3 From: purushotham kantevari <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=001636ed6a185ad9c304a4d35ad3 --001636ed6a185ad9c304a4d35ad3 Content-Type: text/plain; charset=ISO-8859-1 Dear All, In Jasper reporting infrastructure I see the apache templates are defines with file names starts with # .For example #login.jsp. The above file is being included as template in another JSP file. What exactly the files with files whose name starts with # are ment for?. Are they pre-compiled template executable . I am not very sure of it. Can some one helps me in understanding the same. And the also jsp file having template is not pre-compiling while deploying the application in WebLogic 10.3 Thanks, Puru Kante On Fri, May 20, 2011 at 8:46 AM, purushotham kantevari <[email protected]>wrote: > Dear All, > I am working on jasperserver reporting application which is being developed > based on Spring 2.5 + Tiles 2.1 . > > When I tried deploying the application in weblogic 10.3 , some how jsp > compiler of weblogic is unable to parse the page. > > ==================================================================================== > java.lang.ClassCastException:weblogic.jsp.internal.BinaryRoot can not be > cast to weblogic.jsp.internal.SourceFile. > > Can someone help me > > Thanks, > Puru > --001636ed6a185ad9c304a4d35ad3-- From [email protected] Sat Jun 11 06:57:55 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 8E3836D3D for <[email protected]>; Sat, 11 Jun 2011 06:57:55 +0000 (UTC) Received: (qmail 33148 invoked by uid 500); 11 Jun 2011 06:57:55 -0000 Delivered-To: [email protected] Received: (qmail 33037 invoked by uid 500); 11 Jun 2011 06:57:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.tiles.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 33024 invoked by uid 99); 11 Jun 2011 06:57:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Jun 2011 06:57:42 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-pz0-f45.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Jun 2011 06:57:34 +0000 Received: by pzk30 with SMTP id 30so1747115pzk.32 for <[email protected]>; Fri, 10 Jun 2011 23:57:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=WtzxYk1WyRjW0GbTrcKx9UDeDto7rDF3YOB1/iTuFlk=; b=LK09eKAGKgOamorHIhNfPL/pydZcZ5kxUrHrCEDvLI6ycGWHv0XVjYGpYxQ9yLu6Kk iwYo+ZbunZHYphBx5Jl1gE2JaUEbm0UkT1z0RnTN0Ez3pu5VpkFJ4l0PGB55oGXlCAEa J2B9OzKRqXbXvHuj+AqZaOwht61bNKl2cn9/s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=ayl6JUjasg/etvsdpWaEw0zjzN7W3K/0Xc8x24FjZkKN6Smnl4htEgC6Ju8Ulo6NUu stMPZ8Qf4xB73beQlJ0MMYHWZBmMmzsnBm+LhvlN2yeM3gB9TOweufDBU8ivI22tSXzL e0HthN5s+h0HIr/EQSpvvf1XCp30W0bVZpYpI= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id p6mr386317wfh.96.1307775432233; Fri, 10 Jun 2011 23:57:12 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Fri, 10 Jun 2011 23:57:12 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Sat, 11 Jun 2011 12:27:12 +0530 Message-ID: <[email protected]> Subject: Re: tiles 2.0 + spring in weblogic 10.3 From: purushotham kantevari <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=000e0cd149fe15937104a56a322d X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd149fe15937104a56a322d Content-Type: text/plain; charset=ISO-8859-1 Dear All, In Jasperreports server UI framework developed using tiles framework. After going through source code in jsp files other jsp files included as template using Apache tiles 2.2.4 , and all included template jsp files starts with #. Not sure what exactly the temaplate files starts with # ment for. (for example #login.jsp) While deploying the application in WebLogic 10.3 jsp files are not getting pre-compiled. *java.lang.ClassCastException: weblogic.jsp.internal.BinaryRoot cannot be cast to weblogic.jsp.internal.SourceFile *at weblogic.jsp.internal.CPL.addSourceFile(CPL.java:611) at weblogic.jsp.internal.CPL.addSourceFiles(CPL.java:597) at weblogic.servlet.jsp.JavelinxJSPStub.compilePage(JavelinxJSPStub.java:140) at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:246) at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:191) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:235) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175) at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:499) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:429) at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:163) at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:184) at org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:103) at org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:96) at org.apache.tiles.renderer.impl.TemplateAttributeRenderer.write(TemplateAttributeRenderer.java:44) at org.apache.tiles.renderer.impl.AbstractBaseAttributeRenderer.render(AbstractBaseAttributeRenderer.java:103) at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:669) at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:689) at org.apache.tiles.impl.BasicTilesContainer.renderContext(BasicTilesContainer.java:176) at org.apache.tiles.jsp.taglib.InsertTemplateTag.renderContext(InsertTemplateTag.java:91) at org.apache.tiles.jsp.taglib.InsertTemplateTag.render(InsertTemplateTag.java:81) *at org.apache.tiles.jsp.taglib.RenderTag.doEndTag(RenderTag.java:220) at jsp_servlet._web_45_inf._jsp._modules._login.__login._jspService(__login.java:893) * at weblogic.servlet.jsp.JspBase.service(JspBase.java:34) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:127) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:56) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:500) at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:248) at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:236) at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:257) at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1183) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:902) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at com.jaspersoft.jasperserver.war.common.UploadMultipartFilter.doFilter(UploadMultipartFilter.java:83) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378) at com.jaspersoft.jasperserver.war.security.JSSwitchUserProcessingFilter.doFilterHttp(JSSwitchUserProcessingFilter.java:154) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109) at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at com.jaspersoft.jasperserver.api.metadata.user.service.impl.MetadataAuthenticationProcessingFilter.doFilter(MetadataAuthenticationProcessingFilter.java:139) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at com.jaspersoft.jasperserver.war.util.RequestParameterAuthenticationFilter.doFilter(RequestParameterAuthenticationFilter.java:97) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at com.jaspersoft.jasperserver.war.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:184) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:277) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at com.jaspersoft.jasperserver.war.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:184) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at com.jaspersoft.jasperserver.api.logging.filter.BasicLoggingFilter.doFilter(BasicLoggingFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175) at org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at com.jaspersoft.jasperserver.war.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:67) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) Can someone help me on this. I badly in need of your help. Thanks in advance, Puru On Sat, Jun 4, 2011 at 12:29 AM, purushotham kantevari <[email protected]>wrote: > Dear All, > > In Jasper reporting infrastructure I see the apache templates are defines > with file names starts with # .For example #login.jsp. > > The above file is being included as template in another JSP file. > > What exactly the files with files whose name starts with # are ment for?. > Are they pre-compiled template executable . I am not very sure of it. > > Can some one helps me in understanding the same. And the also jsp file > having template is not pre-compiling while deploying the application in > WebLogic 10.3 > > Thanks, > Puru Kante > > > > On Fri, May 20, 2011 at 8:46 AM, purushotham kantevari < > [email protected]> wrote: > >> Dear All, >> I am working on jasperserver reporting application which is being >> developed based on Spring 2.5 + Tiles 2.1 . >> >> When I tried deploying the application in weblogic 10.3 , some how jsp >> compiler of weblogic is unable to parse the page. >> >> ==================================================================================== >> java.lang.ClassCastException:weblogic.jsp.internal.BinaryRoot can not be >> cast to weblogic.jsp.internal.SourceFile. >> >> Can someone help me >> >> Thanks, >> Puru >> > > --000e0cd149fe15937104a56a322d-- From [email protected] Sat Jun 11 11:45:02 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 62D9C61F0 for <[email protected]>; Sat, 11 Jun 2011 11:45:02 +0000 (UTC) Received: (qmail 78439 invoked by uid 500); 11 Jun 2011 11:45:02 -0000 Delivered-To: [email protected] Received: (qmail 78397 invoked by uid 500); 11 Jun 2011 11:45:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.tiles.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 78388 invoked by uid 99); 11 Jun 2011 11:45:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Jun 2011 11:45:01 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-qy0-f173.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Jun 2011 11:44:55 +0000 Received: by qyk36 with SMTP id 36so284909qyk.11 for <[email protected]>; Sat, 11 Jun 2011 04:44:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=1zzr16717xXY4+9SKQVLFKGr5t79R83MDQ6C0W77hxw=; b=fJS8RkE7ncy2VFwdQjpKV8/HGCMO9HS7n/tgSiMgUR5PpIC00OuQEoBEj35qvIo8fc c1OpjoHowhyapeU1aOLU5FgCgdokuhDQl9kxNSh1VB8B6zq4TUmlcieLZBCMwNlUlccj n7I1n4bKOGx56gsHT+tYzTkotxRqmZdrmQvyA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=M930KRseKWxQZOIs3CDYQ0FGxShJVMFF7JNexS8N6uU4hD1O5vWOFPr6o6V7R8/4e8 DlLDX3N1ywzP1ZHWRzT959vC7egTM18A/0afFgWOFjGauU9b7JYow4KHsolUp4wCuZrJ GT2wMoEi5i9vhHzhjmC36jSEPK36KkqKDVFdw= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id t16mr2392365qcs.146.1307792673899; Sat, 11 Jun 2011 04:44:33 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sat, 11 Jun 2011 04:44:33 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Date: Sat, 11 Jun 2011 13:44:33 +0200 Message-ID: <[email protected]> Subject: Re: tiles 2.0 + spring in weblogic 10.3 From: Antonio Petrelli <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=001517592580c4836b04a56e358f --001517592580c4836b04a56e358f Content-Type: text/plain; charset=ISO-8859-1 As I told you before, this is not a Tiles problem. Antonio 2011/6/11 purushotham kantevari <[email protected]> > Dear All, > > In Jasperreports server UI framework developed using tiles framework. > > After going through source code in jsp files other jsp files included as > template using Apache tiles 2.2.4 , and all included template jsp files > starts with #. > > Not sure what exactly the temaplate files starts with # ment for. (for > example #login.jsp) > > While deploying the application in WebLogic 10.3 jsp files are not getting > pre-compiled. > > *java.lang.ClassCastException: weblogic.jsp.internal.BinaryRoot cannot be > cast to weblogic.jsp.internal.SourceFile > *at weblogic.jsp.internal.CPL.addSourceFile(CPL.java:611) > at weblogic.jsp.internal.CPL.addSourceFiles(CPL.java:597) > at > weblogic.servlet.jsp.JavelinxJSPStub.compilePage(JavelinxJSPStub.java:140) > at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:246) > at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:191) > at > weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:235) > at > weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175) > at > > weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:499) > at > > weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:429) > at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:163) > at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:184) > at > > org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:103) > at > > org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:96) > at > > org.apache.tiles.renderer.impl.TemplateAttributeRenderer.write(TemplateAttributeRenderer.java:44) > at > > org.apache.tiles.renderer.impl.AbstractBaseAttributeRenderer.render(AbstractBaseAttributeRenderer.java:103) > at > > org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:669) > at > > org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:689) > at > > org.apache.tiles.impl.BasicTilesContainer.renderContext(BasicTilesContainer.java:176) > at > > org.apache.tiles.jsp.taglib.InsertTemplateTag.renderContext(InsertTemplateTag.java:91) > at > > org.apache.tiles.jsp.taglib.InsertTemplateTag.render(InsertTemplateTag.java:81) > *at org.apache.tiles.jsp.taglib.RenderTag.doEndTag(RenderTag.java:220) > at > > jsp_servlet._web_45_inf._jsp._modules._login.__login._jspService(__login.java:893) > * > at weblogic.servlet.jsp.JspBase.service(JspBase.java:34) > at > > weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) > at > > weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) > at > weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292) > at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) > at > weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) > at > > com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:127) > at > > com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:56) > at > weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) > at > > weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:500) > at > > weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:248) > at > > org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:236) > at > > org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:257) > at > > org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1183) > at > > org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:902) > at > > org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807) > at > > org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571) > at > > org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) > at > > weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) > at > > weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) > at > weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292) > at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) > at > weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) > at > > com.jaspersoft.jasperserver.war.common.UploadMultipartFilter.doFilter(UploadMultipartFilter.java:83) > at > weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) > at > > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378) > at > > com.jaspersoft.jasperserver.war.security.JSSwitchUserProcessingFilter.doFilterHttp(JSSwitchUserProcessingFilter.java:154) > at > > org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) > at > > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) > at > > org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109) > at > > org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) > at > > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) > at > > org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101) > at > > org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) > at > > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) > at > > org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105) > at > > org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) > at > > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) > at > > com.jaspersoft.jasperserver.api.metadata.user.service.impl.MetadataAuthenticationProcessingFilter.doFilter(MetadataAuthenticationProcessingFilter.java:139) > at > > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) > at > > com.jaspersoft.jasperserver.war.util.RequestParameterAuthenticationFilter.doFilter(RequestParameterAuthenticationFilter.java:97) > at > > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) > at > > org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174) > at > > org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) > at > > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) > at > > com.jaspersoft.jasperserver.war.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:184) > at > > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) > at > > org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:277) > at > > org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) > at > > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) > at > > com.jaspersoft.jasperserver.war.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:184) > at > > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) > at > > com.jaspersoft.jasperserver.api.logging.filter.BasicLoggingFilter.doFilter(BasicLoggingFilter.java:53) > at > > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) > at > > org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235) > at > > org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) > at > > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) > at > > org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175) > at > > org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99) > at > weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) > at > > com.jaspersoft.jasperserver.war.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:67) > at > > org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236) > at > > org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) > at > weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) > at > > weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) > at > weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) > at > > weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592) > at > > weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) > at > weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) > at > > weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202) > at > > weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108) > at > > weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432) > at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) > at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) > > Can someone help me on this. I badly in need of your help. > > Thanks in advance, > > Puru > > > On Sat, Jun 4, 2011 at 12:29 AM, purushotham kantevari > <[email protected]>wrote: > > > Dear All, > > > > In Jasper reporting infrastructure I see the apache templates are defines > > with file names starts with # .For example #login.jsp. > > > > The above file is being included as template in another JSP file. > > > > What exactly the files with files whose name starts with # are ment for?. > > Are they pre-compiled template executable . I am not very sure of it. > > > > Can some one helps me in understanding the same. And the also jsp file > > having template is not pre-compiling while deploying the application in > > WebLogic 10.3 > > > > Thanks, > > Puru Kante > > > > > > > > On Fri, May 20, 2011 at 8:46 AM, purushotham kantevari < > > [email protected]> wrote: > > > >> Dear All, > >> I am working on jasperserver reporting application which is being > >> developed based on Spring 2.5 + Tiles 2.1 . > >> > >> When I tried deploying the application in weblogic 10.3 , some how jsp > >> compiler of weblogic is unable to parse the page. > >> > >> > ==================================================================================== > >> java.lang.ClassCastException:weblogic.jsp.internal.BinaryRoot can not be > >> cast to weblogic.jsp.internal.SourceFile. > >> > >> Can someone help me > >> > >> Thanks, > >> Puru > >> > > > > > --001517592580c4836b04a56e358f-- From [email protected] Tue Jun 14 16:32:48 2011 Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from mail.apache.org (hermes.apache.org [161.129.204.104]) by minotaur.apache.org (Postfix) with SMTP id 5B5F662D5 for <[email protected]>; Tue, 14 Jun 2011 16:32:48 +0000 (UTC) Received: (qmail 69385 invoked by uid 500); 14 Jun 2011 16:32:48 -0000 Delivered-To: [email protected] Received: (qmail 69323 invoked by uid 500); 14 Jun 2011 16:32:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.tiles.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 69313 invoked by uid 99); 14 Jun 2011 16:32:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 16:32:48 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-fx0-f45.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 16:32:40 +0000 Received: by fxm2 with SMTP id 2so4875530fxm.32 for <[email protected]>; Tue, 14 Jun 2011 09:32:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=Uf6dWzFK4SxHAs0pWbz6p4kwC5t9MhWx5Vt1vNxGmWI=; b=xLDVhlG/L3C+bknQi63T0b4z5YZh5BsPJkNfK8CrXSgBFJiMcr2SqkRvyVrmYyrIx4 +/PHfoBwlSeRK1vKgivDMyjd+enHiWF6Nu2JxvRzN1raS5I+SMEY3XGdWnL8w+aH0RiH WC6aawBLlXYtwxPEm4NLXx9wg/uBQis/VBZSA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=wjmlp60qOnyMIi9G8EUBba7UcddK6QtoEvNHMMCunwVILMYbBWbYaJ1fzqnGZr93vH /IK+khKWDK8X5G1nVJQz4huZFj07S5AwcM4ii0H3xQoZiuJjF0WJ9ndclYZ7gQYpVB1N gceSTwOY6psg0o5K5jkm0AwnJqGDpQiiFwn80= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id o8mr247799faa.21.1308069140351; Tue, 14 Jun 2011 09:32:20 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 14 Jun 2011 09:32:20 -0700 (PDT) Date: Tue, 14 Jun 2011 11:32:20 -0500 Message-ID: <[email protected]> Subject: Tiles Future From: Greg Reddin <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hello Apache Tiles Users, It's no secret that the development of Apache Tiles has slowed down dramatically over the last months. The Tiles PMC has unofficially decided that it's time to move Tiles to the Apache Attic [1]. If you are actively using Tiles in your projects I would strongly suggest you investigate the material about the attic to see what that means for you. In short, it means that there will be no future releases of the Tiles project, no support from the mailing lists, and I don't know that current releases are guaranteed to remain available. However, as with all Apache-licensed projects you are free to pull the source code and do almost anything you want with it (outside of calling your forked project "Tiles"). If you are unhappy with this development there is still time to change course. If you want to see development of Apache Tiles continue, please subscribe to the dev@ list immediately and introduce yourself and mention what you would like to do to help. There are currently no active committers on the project, but I would count it a joy to mentor some new committers and help bring you up to speed on the project and the Apache Way. The attic resolution will not be brought to the Apache Board of Directors before the mid-July meeting. If we do not have any further progress by then I suspect the project will move to the attic at that time. Thank you for making Apache Tiles what it is today. Greg Reddin
From [email protected] Tue Feb 01 07:47:14 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40326 invoked from network); 1 Feb 2011 07:47:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Feb 2011 07:47:14 -0000 Received: (qmail 13546 invoked by uid 500); 1 Feb 2011 07:47:14 -0000 Delivered-To: [email protected] Received: (qmail 13134 invoked by uid 500); 1 Feb 2011 07:47:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 13119 invoked by uid 99); 1 Feb 2011 07:47:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 07:47:09 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-gy0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 07:47:03 +0000 Received: by gyg13 with SMTP id 13so2857247gyg.2 for <[email protected]>; Mon, 31 Jan 2011 23:46:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=3UdXZRI/65PAyCLxUf0aosBwIrb3MlS+4O2yamisv2Y=; b=uLOV0go7GvAMrsAI77v4YPhZcuZYBx3Q0o/G+nYmhiZeNzPQecq/Dl0zMRWqL20gOI Z/Iin6VCquVPxngpNaRFLSHZ8WKr8PAeJaOOtK+3zzqUkZgPap6HTNtL3HFwq+H49d5d Yh1HmI/mAoKdUi3+b1ZdrH6jotgx0k0e02D7A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=aMTVJoms047gYKwmPsyyaF6L59GzlWauHsGWxRDcyQHlKuLtirdJRRRgi/yXhQz+zy /GfU53LxM825c1Henpt0zGhEoIo7U1+sAP7c6UgiY9yIIu5hoQp2bvZENtqajvys7zV/ WjnsVUdErBXoPQmd5yNH9KpS411u8gFsqW1hM= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id r12mr14920211yhg.32.1296546402254; Mon, 31 Jan 2011 23:46:42 -0800 (PST) Received: by 161.129.204.104 with HTTP; Mon, 31 Jan 2011 23:46:42 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> Date: Tue, 1 Feb 2011 13:16:42 +0530 Message-ID: <[email protected]> Subject: Re: "Failed to initialize", "Unable to establish loopback connection" error From: Ashish <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Do you have firewall enabled on w$? On Mon, Jan 31, 2011 at 2:17 PM, jb <[email protected]> wrote: > Hi, > > I encounter an error using MINA 2, and I can't find any solution, the err= or > message is > "org.apache.mina.core.RuntimeIoException: Failed to initialize" > Caused by > "java.io.IOException: Unable to establish loopback connection" > > I searched a lot on google, and did a lot of experiment, but can't find a= ny > solution, so I'm wondering if someone could give me idea of new things to > look for (even if you don't have answer, ideas are welcome), or someone > already encountered this error and solved it. > > The application is quite complex, but to sum up, it's a server/client > architecture, there is usually on one JVM (OSGi framework): > - 2 servers > - 1 client > And a second JVM usually connects to the first as a client (to get its > status) > > In a real case there are other hosts with clients that connect to the fir= st, > but here it doesn't matter. > > The problem happens when I close the server and reopen it, sometimes (it'= s > random, it usually happens 1 time for 3 tries) one of the server fails to > start, displaying this error: > org.apache.mina.core.RuntimeIoException: Failed to initialize. > =A0org.apache.mina.core.polling.AbstractPollingIoAcceptor.<init>(Abstract= PollingIoAcceptor.java:207) > =A0org.apache.mina.core.polling.AbstractPollingIoAcceptor.<init>(Abstract= PollingIoAcceptor.java:104) > =A0org.apache.mina.transport.socket.nio.NioSocketAcceptor.<init>(NioSocke= tAcceptor.java:66) > =A0com.xx.backbone.communication.AbstractServer.createServer(AbstractServ= er.java:163) > =A0com.xx.backbone.communication.BackboneManagerAPI.bind(BackboneManagerA= PI.java:76) > =A0com.xx.backbone.agent.BackboneAgent.<init>(BackboneAgent.java:57) > =A0com.xx.backbone.osgi.agent.AgentActivator.start(AgentActivator.java:58= ) > =A0org.apache.felix.framework.util.SecureAction.startActivator(SecureActi= on.java:629) > =A0org.apache.felix.framework.Felix.activateBundle(Felix.java:1827) > =A0org.apache.felix.framework.Felix.startBundle(Felix.java:1744) > =A0org.apache.felix.framework.BundleImpl.start(BundleImpl.java:922) > =A0org.apache.felix.framework.BundleImpl.start(BundleImpl.java:909) > =A0org.apache.felix.fileinstall.internal.DirectoryWatcher.start(Directory= Watcher.java:1133) > =A0org.apache.felix.fileinstall.internal.DirectoryWatcher.start(Directory= Watcher.java:1119) > =A0org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles= (DirectoryWatcher.java:1112) > =A0org.apache.felix.fileinstall.internal.DirectoryWatcher.process(Directo= ryWatcher.java:430) > =A0org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWa= tcher.java:238) > Caused by : java.io.IOException: Unable to establish loopback connection > =A0sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:106) > =A0java.security.AccessController.doPrivileged(Native Method) > =A0sun.nio.ch.PipeImpl.<init>(PipeImpl.java:122) > =A0sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:27) > =A0java.nio.channels.Pipe.open(Pipe.java:133) > =A0sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:104) > =A0sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvide= r.java:26) > =A0java.nio.channels.Selector.open(Selector.java:209) > =A0org.apache.mina.transport.socket.nio.NioSocketAcceptor.init(NioSocketA= cceptor.java:110) > =A0org.apache.mina.core.polling.AbstractPollingIoAcceptor.<init>(Abstract= PollingIoAcceptor.java:199) > =A0org.apache.mina.core.polling.AbstractPollingIoAcceptor.<init>(Abstract= PollingIoAcceptor.java:104) > =A0org.apache.mina.transport.socket.nio.NioSocketAcceptor.<init>(NioSocke= tAcceptor.java:66) > =A0com.xx.backbone.communication.AbstractServer.createServer(AbstractServ= er.java:163) > =A0com.xx.backbone.communication.BackboneManagerAPI.bind(BackboneManagerA= PI.java:76) > =A0com.xx.backbone.agent.BackboneAgent.<init>(BackboneAgent.java:57) > =A0com.xx.backbone.osgi.agent.AgentActivator.start(AgentActivator.java:58= ) > =A0org.apache.felix.framework.util.SecureAction.startActivator(SecureActi= on.java:629) > =A0org.apache.felix.framework.Felix.activateBundle(Felix.java:1827) > =A0org.apache.felix.framework.Felix.startBundle(Felix.java:1744) > =A0org.apache.felix.framework.BundleImpl.start(BundleImpl.java:922) > =A0org.apache.felix.framework.BundleImpl.start(BundleImpl.java:909) > =A0org.apache.felix.fileinstall.internal.DirectoryWatcher.start(Directory= Watcher.java:1133) > =A0org.apache.felix.fileinstall.internal.DirectoryWatcher.start(Directory= Watcher.java:1119) > =A0org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles= (DirectoryWatcher.java:1112) > =A0org.apache.felix.fileinstall.internal.DirectoryWatcher.process(Directo= ryWatcher.java:430) > =A0org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWa= tcher.java:238) > > Searching Google tells me there could be error when initializing > NioSocketAcceptor/NioSocketConnector, but I think I did the things correc= t, > the NioSocketConnector is instantiated only once (in a thread safe contex= t) > and disposed only at the end of the application. > The NioSocketAcceptor is instantiated twice, because the handler and bind > ports are different (<-- maybe I'm wrong here, but I can't see an other w= ay > to do it). The 2 NioSocketAcceptor are thread safe too (they can't be > instantiated at the same time) > > I'm using a TextLineCodecFactory and a sslFilter. > > The initialization code is (simplified): > acceptor =3D new NioSocketAcceptor(); // <--- Error happears here ! > acceptor.getFilterChain().addFirst("sslFilter", > SslConfiguration.getSslFilter(false)); > acceptor.getFilterChain().addLast("codec", new > ProtocolCodecFilter(ProtocolCodec.getTextCodec())); > acceptor.setReuseAddress(true); > acceptor.getSessionConfig().setTcpNoDelay(true); > acceptor.setHandler(abstractServerHandler); > acceptor.bind(new InetSocketAddress(port)); > > Futhermore the problem happears only on windows (sun jvm 1.6, last versio= n), > I tested on other OS (linux, aix (ibm jvm), hpux, solaris) they are all > perfect, it's a windows specific problem. > > I hope I gave you enough details. All ideas/remarks are welcome, because = I'm > lost and don't know what to do. > > Thanks, > Regards, > jb > --=20 thanks ashish Blog: http://www.ashishpaliwal.com/blog My Photo Galleries: http://www.pbase.com/ashishpaliwal From [email protected] Tue Feb 01 13:57:01 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44253 invoked from network); 1 Feb 2011 13:57:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Feb 2011 13:57:01 -0000 Received: (qmail 88923 invoked by uid 500); 1 Feb 2011 13:57:01 -0000 Delivered-To: [email protected] Received: (qmail 88622 invoked by uid 500); 1 Feb 2011 13:56:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 88614 invoked by uid 99); 1 Feb 2011 13:56:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 13:56:58 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-qy0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 13:56:53 +0000 Received: by qyk32 with SMTP id 32so4401616qyk.2 for <[email protected]>; Tue, 01 Feb 2011 05:56:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=c4+bZOe3GBbC3tG3Bf1O9PMLfQixDMNrZlRFd1a8eJU=; b=qqvoy7bmkNVTtecIKlSUJP4tUDxMPN/WPxNqlBZb6qrP6eWUhj5zcqUOjQHVb4GXfs p8GzWAhQcALfymIrxOMSMXbH6eEBz7OLVNm8DQvzN6S6Gu4yCp0QxlO/4E5wqRTfYd/6 0lK6v02NEtvkfJOxohXbtGEhaiEDyaX/wWTUw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=lHfCkSCIRZj7XVx1l7bmR3wCwclT2uHgRux9xM4ZeuJptd57ASR6EGliyEj0d8pKFp 26Ssq1UX73gM0cHXA2RAAI4d8qmeO+wZ1lVgd7x3/2eJmqe1ovStIVbkHal0b12YAE6W OlmxBmzjTNYajO9fsMF19/T3i/fNAkwi3Tti4= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id m22mr7767872qaz.25.1296568592087; Tue, 01 Feb 2011 05:56:32 -0800 (PST) Received: by 161.129.204.104 with HTTP; Tue, 1 Feb 2011 05:56:31 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Tue, 1 Feb 2011 14:56:31 +0100 Message-ID: <[email protected]> Subject: Re: "Failed to initialize", "Unable to establish loopback connection" error From: jb <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=0003255763f65bb9a2049b38e6c7 --0003255763f65bb9a2049b38e6c7 Content-Type: text/plain; charset=ISO-8859-1 No, firewall is disabled Btw I'm testing on Windows Server 2003 2011/2/1 Ashish <[email protected]> > Do you have firewall enabled on w$? > > On Mon, Jan 31, 2011 at 2:17 PM, jb <[email protected]> wrote: > > Hi, > > > > I encounter an error using MINA 2, and I can't find any solution, the > error > > message is > > "org.apache.mina.core.RuntimeIoException: Failed to initialize" > > Caused by > > "java.io.IOException: Unable to establish loopback connection" > > > > I searched a lot on google, and did a lot of experiment, but can't find > any > > solution, so I'm wondering if someone could give me idea of new things to > > look for (even if you don't have answer, ideas are welcome), or someone > > already encountered this error and solved it. > > > > The application is quite complex, but to sum up, it's a server/client > > architecture, there is usually on one JVM (OSGi framework): > > - 2 servers > > - 1 client > > And a second JVM usually connects to the first as a client (to get its > > status) > > > > In a real case there are other hosts with clients that connect to the > first, > > but here it doesn't matter. > > > > The problem happens when I close the server and reopen it, sometimes > (it's > > random, it usually happens 1 time for 3 tries) one of the server fails to > > start, displaying this error: > > org.apache.mina.core.RuntimeIoException: Failed to initialize. > > > org.apache.mina.core.polling.AbstractPollingIoAcceptor.<init>(AbstractPollingIoAcceptor.java:207) > > > org.apache.mina.core.polling.AbstractPollingIoAcceptor.<init>(AbstractPollingIoAcceptor.java:104) > > > org.apache.mina.transport.socket.nio.NioSocketAcceptor.<init>(NioSocketAcceptor.java:66) > > > com.xx.backbone.communication.AbstractServer.createServer(AbstractServer.java:163) > > > com.xx.backbone.communication.BackboneManagerAPI.bind(BackboneManagerAPI.java:76) > > com.xx.backbone.agent.BackboneAgent.<init>(BackboneAgent.java:57) > > com.xx.backbone.osgi.agent.AgentActivator.start(AgentActivator.java:58) > > > org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629) > > org.apache.felix.framework.Felix.activateBundle(Felix.java:1827) > > org.apache.felix.framework.Felix.startBundle(Felix.java:1744) > > org.apache.felix.framework.BundleImpl.start(BundleImpl.java:922) > > org.apache.felix.framework.BundleImpl.start(BundleImpl.java:909) > > > org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:1133) > > > org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:1119) > > > org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1112) > > > org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:430) > > > org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:238) > > Caused by : java.io.IOException: Unable to establish loopback connection > > sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:106) > > java.security.AccessController.doPrivileged(Native Method) > > sun.nio.ch.PipeImpl.<init>(PipeImpl.java:122) > > sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:27) > > java.nio.channels.Pipe.open(Pipe.java:133) > > sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:104) > > > sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:26) > > java.nio.channels.Selector.open(Selector.java:209) > > > org.apache.mina.transport.socket.nio.NioSocketAcceptor.init(NioSocketAcceptor.java:110) > > > org.apache.mina.core.polling.AbstractPollingIoAcceptor.<init>(AbstractPollingIoAcceptor.java:199) > > > org.apache.mina.core.polling.AbstractPollingIoAcceptor.<init>(AbstractPollingIoAcceptor.java:104) > > > org.apache.mina.transport.socket.nio.NioSocketAcceptor.<init>(NioSocketAcceptor.java:66) > > > com.xx.backbone.communication.AbstractServer.createServer(AbstractServer.java:163) > > > com.xx.backbone.communication.BackboneManagerAPI.bind(BackboneManagerAPI.java:76) > > com.xx.backbone.agent.BackboneAgent.<init>(BackboneAgent.java:57) > > com.xx.backbone.osgi.agent.AgentActivator.start(AgentActivator.java:58) > > > org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629) > > org.apache.felix.framework.Felix.activateBundle(Felix.java:1827) > > org.apache.felix.framework.Felix.startBundle(Felix.java:1744) > > org.apache.felix.framework.BundleImpl.start(BundleImpl.java:922) > > org.apache.felix.framework.BundleImpl.start(BundleImpl.java:909) > > > org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:1133) > > > org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:1119) > > > org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1112) > > > org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:430) > > > org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:238) > > > > Searching Google tells me there could be error when initializing > > NioSocketAcceptor/NioSocketConnector, but I think I did the things > correct, > > the NioSocketConnector is instantiated only once (in a thread safe > context) > > and disposed only at the end of the application. > > The NioSocketAcceptor is instantiated twice, because the handler and bind > > ports are different (<-- maybe I'm wrong here, but I can't see an other > way > > to do it). The 2 NioSocketAcceptor are thread safe too (they can't be > > instantiated at the same time) > > > > I'm using a TextLineCodecFactory and a sslFilter. > > > > The initialization code is (simplified): > > acceptor = new NioSocketAcceptor(); // <--- Error happears here ! > > acceptor.getFilterChain().addFirst("sslFilter", > > SslConfiguration.getSslFilter(false)); > > acceptor.getFilterChain().addLast("codec", new > > ProtocolCodecFilter(ProtocolCodec.getTextCodec())); > > acceptor.setReuseAddress(true); > > acceptor.getSessionConfig().setTcpNoDelay(true); > > acceptor.setHandler(abstractServerHandler); > > acceptor.bind(new InetSocketAddress(port)); > > > > Futhermore the problem happears only on windows (sun jvm 1.6, last > version), > > I tested on other OS (linux, aix (ibm jvm), hpux, solaris) they are all > > perfect, it's a windows specific problem. > > > > I hope I gave you enough details. All ideas/remarks are welcome, because > I'm > > lost and don't know what to do. > > > > Thanks, > > Regards, > > jb > > > > > > -- > thanks > ashish > > Blog: http://www.ashishpaliwal.com/blog > My Photo Galleries: http://www.pbase.com/ashishpaliwal > --0003255763f65bb9a2049b38e6c7-- From [email protected] Tue Feb 01 14:31:55 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70605 invoked from network); 1 Feb 2011 14:31:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Feb 2011 14:31:55 -0000 Received: (qmail 82262 invoked by uid 500); 1 Feb 2011 14:31:55 -0000 Delivered-To: [email protected] Received: (qmail 81947 invoked by uid 500); 1 Feb 2011 14:31:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 81852 invoked by uid 99); 1 Feb 2011 14:31:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 14:31:51 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-fx0-f43.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 14:31:43 +0000 Received: by fxm18 with SMTP id 18so7628130fxm.2 for <[email protected]>; Tue, 01 Feb 2011 06:31:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:reply-to:user-agent :mime-version:to:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=urcUA8IjDbKnsfxHHqvaORR145Z9OqQdZfTu3ORpbTs=; b=X8BxQ5Yj9kJegSADmZvMiju2yqnS9bVgYBmWNM9rE/2vNrihJykKycnDdVg8S0qqOw XIKV3Z5Ru/OIc67EA3PH5i0nE8Jb1c0l44Du13rRU9o2eavM1qDsDJvZVo4ySrcPdQUw LhOAlE3yyRY6wJJdiCYIQrJZgzNwPw9xKCNV0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=Hw27fuVFslb+ftgPA8B1eJPQ46W3EFeugn3UiQ9aKYBYoZV3A7Q2+thdXO06vUu5wV fUWfx4pG7nYGEi/bdU6ZzvuJ+I8SJ1k5NE2B+/1bHQ9iAkb3tsH7e3Vrt5gE58Yq/756 EloE19m8t1wH2WRJy3ser22w5dIhyExY8wU8w= Received: by 161.129.204.104 with SMTP id i3mr3874811fan.77.1296570682638; Tue, 01 Feb 2011 06:31:22 -0800 (PST) Received: from emmanuel-lecharnys-MacBook-Pro.local (lon92-10-78-226-4-211.fbx.proxad.net [161.129.204.104]) by mx.google.com with ESMTPS id 11sm3079899faw.44.2161.129.204.104.31.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 01 Feb 2011 06:31:21 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 01 Feb 2011 15:31:19 +0100 From: Emmanuel Lecharny <[email protected]> Reply-To: [email protected] User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: "Failed to initialize", "Unable to establish loopback connection" error References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org On 2/1/11 2:56 PM, jb wrote: > No, firewall is disabled Are you *sure* ? I mean, *sure, *sure* ? :) From : http://publib.boulder.ibm.com/infocenter/javasdk/v6r0/index.jsp?topic=/com.ibm.java.doc.user.win32.60/user/limitations.html "Personal firewalls Personal firewalls can cause problems for the Windows NIO code, causing particular operations to fail. For example, the method call Selector.open() can throw a "java.io.IOException: Unable to establish loopback connection" with a cause of "java.net.ConnectException: Connection refused: connect". The exception is caused by the operating system connecting on a port that is being blocked by the firewall. The JVM tries the connect operation again, asking the operating system to select a different port number. If it still cannot connect after several attempts, a ConnectException is thrown. If you see this exception, you can set the system property java.nio.debug=pipe to see which port numbers are being blocked." > Btw I'm testing on Windows Server 2003 What would be interesting is to check if you get the same error with the IBM JVM and with JRockit. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com From [email protected] Thu Feb 03 09:55:25 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46915 invoked from network); 3 Feb 2011 09:55:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Feb 2011 09:55:25 -0000 Received: (qmail 92436 invoked by uid 500); 3 Feb 2011 09:55:25 -0000 Delivered-To: [email protected] Received: (qmail 92136 invoked by uid 500); 3 Feb 2011 09:55:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 92128 invoked by uid 99); 3 Feb 2011 09:55:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 09:55:21 +0000 X-ASF-Spam-Status: No, hits=3.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-yx0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 09:55:13 +0000 Received: by yxd30 with SMTP id 30so474017yxd.2 for <[email protected]>; Thu, 03 Feb 2011 01:54:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:date:x-google-sender-auth :message-id:subject:from:to:content-type; bh=njC6vO3eCMyo869MlDBWGFDfDlEO+Q2+X+dbPGIe26c=; b=h/MYx6m/k1xs9pJz/aeUwHapK2eOYkvKTgHqd79Dz9+ZqbrTqUffl8xu8/wKMgbaA5 pVtywI7fURLfBb+N/QMrJ8fIsESTu77ZX7WbJddbzL9JobgoRA2C64Uva8dIQybtsjU5 ZtMk6uGY/dTytMwR7C1VoK+2wA4QHa2ktrW8E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=hczbAtcCRIfB07I48J/+Hv+JB11os63dP7y8RH7PzIguv9WrSep1ke/A85fyn2m8iR W0hihUn8+BSpKS7S6mDyH1CmE4cODOzqwbievKEY42m2YhLc8A7QF9K3xy+mPIM/HlMb EE3ICRbVtVwIT4I09Ql8J47XYyy9RgEeDQXHI= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id t15mr5919420ybj.0.1296726892294; Thu, 03 Feb 2011 01:54:52 -0800 (PST) Sender: [email protected] Received: by 161.129.204.104 with HTTP; Thu, 3 Feb 2011 01:54:52 -0800 (PST) Date: Thu, 3 Feb 2011 10:54:52 +0100 X-Google-Sender-Auth: JyQhC3QgWHs-iD4ITGduqZPzHEk Message-ID: <[email protected]> Subject: Why mina get so much memory ? From: antares <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=00151750de14c932d7049b5dc1fe X-Virus-Checked: Checked by ClamAV on apache.org --00151750de14c932d7049b5dc1fe Content-Type: text/plain; charset=ISO-8859-1 Hi, I am using mina 2.0.0 fo ra simple policy server. It starts a server acceptor but it takes a lot of memory before: total used free shared buffers cached Mem: 924 287 636 0 0 0 -/+ buffers/cache: 287 636 Swap: 0 0 0 after: root@ve:/var/www/java/PolicyServer# free -m total used free shared buffers cached Mem: 924 633 290 0 0 0 -/+ buffers/cache: 633 290 Swap: 0 0 0 about 420mb so i cant start the other server because i get this error : Error occurred during initialization of VM Could not reserve enough space for object heap Could not create the Java virtual machine. please help thanks --00151750de14c932d7049b5dc1fe-- From [email protected] Thu Feb 03 11:03:35 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80397 invoked from network); 3 Feb 2011 11:03:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Feb 2011 11:03:35 -0000 Received: (qmail 24727 invoked by uid 500); 3 Feb 2011 11:03:35 -0000 Delivered-To: [email protected] Received: (qmail 24466 invoked by uid 500); 3 Feb 2011 11:03:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 24452 invoked by uid 99); 3 Feb 2011 11:03:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 11:03:31 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-wy0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 11:03:25 +0000 Received: by wyb38 with SMTP id 38so1053913wyb.2 for <[email protected]>; Thu, 03 Feb 2011 03:03:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:reply-to:user-agent :mime-version:to:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=ciQ7xBVXilYBhoO+tvqLHKMIpjc6uEP8UffTStXp6tc=; b=ourGCWw0sLjLR4KnyGyxiSGKEeU2WSpMufw/bW63dXOGjQ4Y7HYmyw8/pumnymfaza T3FjMCd1WF8q0Fo8T8mLfU0ks7VuUQADag819rEIZzS1YdONz+jnbdGWEgIbDUbnaF+z 12bB74W/O+ExPDqQN6T/b9lUG09rAPUBwo/kw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=NAzBFSQ44hC5J0jBkCxzah3yMUXsr580FtcAnHhRQJIInlRhY62ZUyPcDlrBRwdXCL OeoJ2oNw0tdJv3yDBI7NgN3WqL5uZZlYs5BqKnpjtWLqcvckz9JyOYzCpMu/iEiDlJlE VNOh4wzACMXcXm3O8lc1+MMY/YO1ar+C+pmMU= Received: by 161.129.204.104 with SMTP id w13mr4991461wbi.107.1296730984039; Thu, 03 Feb 2011 03:03:04 -0800 (PST) Received: from emmanuel-lecharnys-MacBook-Pro.local (lon92-10-78-226-4-211.fbx.proxad.net [161.129.204.104]) by mx.google.com with ESMTPS id 7sm365080wet.24.2161.129.204.104.03.02 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 03 Feb 2011 03:03:02 -0800 (PST) Message-ID: <[email protected]> Date: Thu, 03 Feb 2011 12:03:01 +0100 From: Emmanuel Lecharny <[email protected]> Reply-To: [email protected] User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: Why mina get so much memory ? References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 2/3/11 10:54 AM, antares wrote: > Hi, > I am using mina 2.0.0 fo ra simple policy server. > It starts a server acceptor but it takes a lot of memory > before: > > total used free shared buffers cached > Mem: 924 287 636 0 0 0 > -/+ buffers/cache: 287 636 > Swap: 0 0 0 > > after: > root@ve:/var/www/java/PolicyServer# free -m > total used free shared buffers cached > Mem: 924 633 290 0 0 0 > -/+ buffers/cache: 633 290 > Swap: 0 0 0 > > about 420mb so i cant start the other server because i get this error : > > Error occurred during initialization of VM > Could not reserve enough space for object heap > Could not create the Java virtual machine. > > please help Sure ! Can you just provide some valuable piece of information about what is your problem ? That your server eats a lot of memory is just a fact, not a problem... -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com From [email protected] Thu Feb 03 11:10:56 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92061 invoked from network); 3 Feb 2011 11:10:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Feb 2011 11:10:56 -0000 Received: (qmail 36520 invoked by uid 500); 3 Feb 2011 11:10:55 -0000 Delivered-To: [email protected] Received: (qmail 36368 invoked by uid 500); 3 Feb 2011 11:10:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 36360 invoked by uid 99); 3 Feb 2011 11:10:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 11:10:52 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-yx0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 11:10:51 +0000 Received: by yxd30 with SMTP id 30so500168yxd.2 for <[email protected]>; Thu, 03 Feb 2011 03:10:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=hAbhTIcGF4J90BJpGTbQCiB079pnGPrlZy6/MavHXLI=; b=Iw/PNJkWNyJ/dAmDXWVYE/NGWdklTILezjzkYr44D1bKKhUuA1mBbieV7SEjOfbsmP fs6lK2+QletyMXrJoYrD0y3Z8APIR94M2/KkbSLH+3fu7rwcQI+24dWPcDzVm3zFLDPM +nhkmv9nNWe1iQ5FsKAntGn0fWfqvN8/Y8NrA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=tEXc5t20egd8fLY1aWQb1F/PJ4T7YdVaPSR4j0i6I7tMCCVbbSXBkNmEQ+L6dxniR+ rsXLiBHKHjfPZ6I9IwpP3mhgjlOJMQZiOq7EYpGYTwzH2hZbvzXncaW9lkUl7477SjZm wi2oel++JurIg6YkWpsnnOW0mOsrmjN18CSAk= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id g13mr13169404ybl.51.1296731429131; Thu, 03 Feb 2011 03:10:29 -0800 (PST) Sender: [email protected] Received: by 161.129.204.104 with HTTP; Thu, 3 Feb 2011 03:10:29 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Thu, 3 Feb 2011 12:10:29 +0100 X-Google-Sender-Auth: 6AE_tQpx8Op91mwnmYpBD7oGQns Message-ID: <[email protected]> Subject: Re: Why mina get so much memory ? From: antares <[email protected]> To: [email protected], [email protected] Content-Type: multipart/mixed; boundary=0015174becc033d6c6049b5ed0e1 --0015174becc033d6c6049b5ed0e1 Content-Type: multipart/alternative; boundary=0015174becc033d6b9049b5ed0df --0015174becc033d6b9049b5ed0df Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable You are right :) I mean as attach there is the code i am using. I didn't know how the server is configured, i know only jre is java 1.6 64b and OS Ubuntu 10.1 My question is should be i am using mina in a wrong way that starting a simple policyServer eat so much memory ? Thanks for your patients Francesco 2011/2/3 Emmanuel Lecharny <[email protected]> > On 2/3/11 10:54 AM, antares wrote: > >> Hi, >> I am using mina 2.0.0 fo ra simple policy server. >> It starts a server acceptor but it takes a lot of memory >> before: >> >> total used free shared buffers cache= d >> Mem: 924 287 636 0 0 = 0 >> -/+ buffers/cache: 287 636 >> Swap: 0 0 0 >> >> after: >> root@ve:/var/www/java/PolicyServer# free -m >> total used free shared buffers cache= d >> Mem: 924 633 290 0 0 = 0 >> -/+ buffers/cache: 633 290 >> Swap: 0 0 0 >> >> about 420mb so i cant start the other server because i get this error : >> >> Error occurred during initialization of VM >> Could not reserve enough space for object heap >> Could not create the Java virtual machine. >> >> please help >> > > Sure ! Can you just provide some valuable piece of information about what > is your problem ? That your server eats a lot of memory is just a fact, n= ot > a problem... > > -- > Regards, > Cordialement, > Emmanuel L=E9charny > www.iktek.com > > --=20 *Game Entertainment Software Developer* --------------------------------------------------- http://www.flexpoker.it http://www.flashpoker.it http://www.virtuasport.it http://www.virtuagames.it http://www.superflashgames.it ---------------------------------------------------- --0015174becc033d6b9049b5ed0df Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable You are right :)<br>I mean as attach there is the code i am using.<br>I did= n&#39;t know how the server is configured, i know only jre is java 1.6 64b = and OS Ubuntu 10.1<br><br>My question is should be i am using mina in a wro= ng way that starting a simple policyServer eat so much memory ?<br> <br>Thanks for your patients<br>Francesco<br><br><div class=3D"gmail_quote"= >2011/2/3 Emmanuel Lecharny <span dir=3D"ltr">&lt;<a href=3D"mailto:elechar= [email protected]">[email protected]</a>&gt;</span><br><blockquote class=3D"gm= ail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(2= 04, 204, 204); padding-left: 1ex;"> <div><div></div><div class=3D"h5">On 2/3/11 10:54 AM, antares wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde= r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> Hi,<br> I am using mina 2.0.0 fo ra simple policy server.<br> It starts a server acceptor but it takes a lot of memory<br> before:<br> <br> =A0 =A0 =A0 =A0 =A0 =A0 =A0total =A0 =A0 =A0 used =A0 =A0 =A0 free =A0 =A0= shared =A0 =A0buffers =A0 =A0 cached<br> Mem: =A0 =A0 =A0 =A0 =A0 924 =A0 =A0 =A0 =A0287 =A0 =A0 =A0 =A0636 =A0 =A0 = =A0 =A0 =A00 =A0 =A0 =A0 =A0 =A00 =A0 =A0 =A0 =A0 =A00<br> -/+ buffers/cache: =A0 =A0 =A0 =A0287 =A0 =A0 =A0 =A0636<br> Swap: =A0 =A0 =A0 =A0 =A0 =A00 =A0 =A0 =A0 =A0 =A00 =A0 =A0 =A0 =A0 =A00<br= > <br> after:<br> root@ve:/var/www/java/PolicyServer# free -m<br> =A0 =A0 =A0 =A0 =A0 =A0 =A0total =A0 =A0 =A0 used =A0 =A0 =A0 free =A0 =A0= shared =A0 =A0buffers =A0 =A0 cached<br> Mem: =A0 =A0 =A0 =A0 =A0 924 =A0 =A0 =A0 =A0633 =A0 =A0 =A0 =A0290 =A0 =A0 = =A0 =A0 =A00 =A0 =A0 =A0 =A0 =A00 =A0 =A0 =A0 =A0 =A00<br> -/+ buffers/cache: =A0 =A0 =A0 =A0633 =A0 =A0 =A0 =A0290<br> Swap: =A0 =A0 =A0 =A0 =A0 =A00 =A0 =A0 =A0 =A0 =A00 =A0 =A0 =A0 =A0 =A00<br= > <br> about 420mb so i cant start the other server because i get this error :<br> <br> Error occurred during initialization of VM<br> Could not reserve enough space for object heap<br> Could not create the Java virtual machine.<br> <br> please help<br> </blockquote> <br></div></div> Sure ! Can you just provide some valuable piece of information about what i= s your problem ? That your server eats a lot of memory is just a fact, not = a problem...<br><font color=3D"#888888"> <br> -- <br> Regards,<br> Cordialement,<br> Emmanuel L=E9charny<br> <a href=3D"http://www.iktek.com" target=3D"_blank">www.iktek.com</a><br> <br> </font></blockquote></div><br><br clear=3D"all"><br>-- <br><i><span style= =3D"color: rgb(204, 0, 0);">Game Entertainment Software Developer</span></i= ><br>---------------------------------------------------<br><a href=3D"http= ://www.flexpoker.it/" target=3D"_blank">http://www.flexpoker.it</a><br> <a href=3D"http://www.flashpoker.it/" target=3D"_blank">http://www.flashpok= er.it</a><br><a href=3D"http://www.virtuasport.it/" target=3D"_blank">http:= //www.virtuasport.it</a><br><a href=3D"http://www.virtuagames.it/" target= =3D"_blank">http://www.virtuagames.it</a><br> <a href=3D"http://www.superflashgames.it/" target=3D"_blank">http://www.sup= erflashgames.it</a><br>----------------------------------------------------= <br> --0015174becc033d6b9049b5ed0df-- --0015174becc033d6c6049b5ed0e1-- From [email protected] Thu Feb 03 11:15:10 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93833 invoked from network); 3 Feb 2011 11:15:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Feb 2011 11:15:10 -0000 Received: (qmail 44235 invoked by uid 500); 3 Feb 2011 11:15:10 -0000 Delivered-To: [email protected] Received: (qmail 44009 invoked by uid 500); 3 Feb 2011 11:15:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 44000 invoked by uid 99); 3 Feb 2011 11:15:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 11:15:06 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO uksmtp.nds.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 11:15:01 +0000 Received: from UKMA1.UK.NDS.COM ([161.129.204.104]) by ukhc2.UK.NDS.COM ([161.129.204.104]) with mapi; Thu, 3 Feb 2011 11:14:40 +0000 From: "Kakarla, Manoj" <[email protected]> To: "[email protected]" <[email protected]> Date: Thu, 3 Feb 2011 11:14:40 +0000 Subject: Usage of SerialConnector Thread-Topic: Usage of SerialConnector Thread-Index: AcvDk4zOyb0ss98AQhCG5kzgyugDPQ== Message-ID: <[email protected]> Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, en-GB Content-Type: multipart/alternative; boundary="_000_7370F6F5ED3B874F988F5CE657D801EA0F9B32A21CUKMA1UKNDSCOM_" MIME-Version: 1.0 --_000_7370F6F5ED3B874F988F5CE657D801EA0F9B32A21CUKMA1UKNDSCOM_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello All, I am trying to use apache mina serialConnector, but couldn't as the class a= nd the package org.apache.mina.transport.serial are not found in the mina-c= ore.2.0.2.jar. How can I resolve this dependency? Please help. Thanks, Manoj Kakarla ________________________________ ***************************************************************************= *********** This message is confidential and intended only for the addressee. If you ha= ve received this message in error, please immediately notify the postmaster= @nds.com and delete it from your system as well as any copies. The content = of e-mails as well as traffic data may be monitored by NDS for employment a= nd security purposes. To protect the environment please do not print this e= -mail unless necessary. NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4= EX, United Kingdom. A company registered in England and Wales. Registered n= o. 3080780. VAT no. GB 603 8808 40-00 ***************************************************************************= *********** --_000_7370F6F5ED3B874F988F5CE657D801EA0F9B32A21CUKMA1UKNDSCOM_-- From [email protected] Thu Feb 03 11:23:58 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95241 invoked from network); 3 Feb 2011 11:23:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Feb 2011 11:23:58 -0000 Received: (qmail 56523 invoked by uid 500); 3 Feb 2011 11:23:58 -0000 Delivered-To: [email protected] Received: (qmail 56120 invoked by uid 500); 3 Feb 2011 11:23:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 56096 invoked by uid 99); 3 Feb 2011 11:23:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 11:23:53 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 03 Feb 2011 11:23:52 +0000 Received: (qmail 95168 invoked by uid 99); 3 Feb 2011 11:23:32 -0000 Received: from localhost.apache.org (HELO emmanuel-lecharnys-MacBook-Pro.local) (161.129.204.104) (smtp-auth username elecharny, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 11:23:32 +0000 Message-ID: <[email protected]> Date: Thu, 03 Feb 2011 12:23:28 +0100 From: =?UTF-8?B?RW1tYW51ZWwgTMOpY2hhcm55?= <[email protected]> Reply-To: [email protected] Organization: The Apache Software Foundation User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: Why mina get so much memory ? References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 2/3/11 12:10 PM, antares wrote: > You are right :) > I mean as attach there is the code i am using. Sadly, either you forgot to attach your code, or it didn't made it through the Apache firewall... > I didn't know how the server is configured, i know only jre is java 1.6 64b > and OS Ubuntu 10.1 > > My question is should be i am using mina in a wrong way that starting a > simple policyServer eat so much memory ? It's *very* liekly that *your* application is eating the memory. I engage you to use some profiling tool to see where is the memory consumed. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com From [email protected] Thu Feb 03 11:27:10 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95685 invoked from network); 3 Feb 2011 11:27:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Feb 2011 11:27:09 -0000 Received: (qmail 59221 invoked by uid 500); 3 Feb 2011 11:27:09 -0000 Delivered-To: [email protected] Received: (qmail 59006 invoked by uid 500); 3 Feb 2011 11:27:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 58997 invoked by uid 99); 3 Feb 2011 11:27:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 11:27:07 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f43.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 11:26:59 +0000 Received: by bwz14 with SMTP id 14so1726396bwz.2 for <[email protected]>; Thu, 03 Feb 2011 03:26:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:reply-to:user-agent :mime-version:to:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=y34uEaRHTEMZgwIQpn12n0ldkrZtnlu9agDFhzXUJTI=; b=Woy1KOlUnIwgQPVsAUzQEWVCmZf41aGSjQ+O5wHQB0c/6VBNu3ftDoWf3CVjDPavn1 uIpjK8w3u+BoszlqK0iNM+eb6h/dQifz8nLBUdGG/yPGoMpQ9EYLcXI8lKfyYFjs5xmg Zjmy5uA4U9qvgZY+VY7qmOwPdMnjiJZycexsk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=ud8T4vmZyEP0k7MRUyqEffF0/ttn8Yw8SEoD40oW3QFoioMeHc9Eu9Ts2/tXpcZcb+ IfbPFkOPonsNR1FAZX38U43avKSD2gsBJi50uiTglADns7W7POlAyEClFTFvs8Wd49iZ ismCzqBYtIDzYG3rpC+6o4SQJLFZlg/jGIAH0= Received: by 161.129.204.104 with SMTP id l13mr9494283bko.160.1296732398735; Thu, 03 Feb 2011 03:26:38 -0800 (PST) Received: from emmanuel-lecharnys-MacBook-Pro.local (lon92-10-78-226-4-211.fbx.proxad.net [161.129.204.104]) by mx.google.com with ESMTPS id b6sm357417bkb.22.2161.129.204.104.26.37 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 03 Feb 2011 03:26:37 -0800 (PST) Message-ID: <[email protected]> Date: Thu, 03 Feb 2011 12:26:35 +0100 From: Emmanuel Lecharny <[email protected]> Reply-To: [email protected] User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: Usage of SerialConnector References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org On 2/3/11 12:14 PM, Kakarla, Manoj wrote: > Hello All, > > I am trying to use apache mina serialConnector, but couldn't as the class and the package org.apache.mina.transport.serial are not found in the mina-core.2.0.2.jar. > How can I resolve this dependency? Please help. http://mina.apache.org/serial-tutorial.html -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com From [email protected] Thu Feb 03 11:28:20 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95829 invoked from network); 3 Feb 2011 11:28:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Feb 2011 11:28:20 -0000 Received: (qmail 59952 invoked by uid 500); 3 Feb 2011 11:28:20 -0000 Delivered-To: [email protected] Received: (qmail 59789 invoked by uid 500); 3 Feb 2011 11:28:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 59777 invoked by uid 99); 3 Feb 2011 11:28:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 11:28:18 +0000 X-ASF-Spam-Status: No, hits=3.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-yi0-f43.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 11:28:12 +0000 Received: by yie16 with SMTP id 16so503173yie.2 for <[email protected]>; Thu, 03 Feb 2011 03:27:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=RGnRt08aQHqYvuuhQkVgNMdSiVG6AZClO4a4aKaayCg=; b=byXyLt4/MJKA+KmHiVP5/sOZjIi2jQF5YkvjcZW8QAURLdbAbXvvrFVZ3iZoiVJsEH t5DvL3YN0QKa/DwnDA0B+7RTddcQC9JvsrwdFVdHM4w8Ze6wv8AWEXHmkd9OTY6EIAnA jilGzn4v3u824WjnQreaQYgvkz25cNtC+vLCs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=fiFZZCOqMzVyS/XreyxuJPhD6jjQrTmMYz0vW1iAmNWqN60gPVe3omXopeMWAu4pd9 pcLrF+0vBCdQV2FIMGXJzzUFEKLb57EMy+5qNJG3nuUrYMVGwtH7dhUY5asPuvSYKz7r LgaplC7lnYjH6mZIMBZntMxLgz3lyKFbXtD1I= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id t15mr6026229ybj.0.1296732471210; Thu, 03 Feb 2011 03:27:51 -0800 (PST) Sender: [email protected] Received: by 161.129.204.104 with HTTP; Thu, 3 Feb 2011 03:27:51 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Thu, 3 Feb 2011 12:27:51 +0100 X-Google-Sender-Auth: 1R3QxoN83jwLVl7qelPGCLLGihI Message-ID: <[email protected]> Subject: Re: Why mina get so much memory ? From: antares <[email protected]> To: [email protected], [email protected] Content-Type: multipart/mixed; boundary=00151750de1450b24e049b5f0e46 X-Virus-Checked: Checked by ClamAV on apache.org --00151750de1450b24e049b5f0e46 Content-Type: multipart/alternative; boundary=00151750de1450b20c049b5f0e44 --00151750de1450b20c049b5f0e44 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable now is attached 2011/2/3 Emmanuel L=E9charny <[email protected]> > On 2/3/11 12:10 PM, antares wrote: > >> You are right :) >> I mean as attach there is the code i am using. >> > > Sadly, either you forgot to attach your code, or it didn't made it throug= h > the Apache firewall... > > > I didn't know how the server is configured, i know only jre is java 1.6 >> 64b >> and OS Ubuntu 10.1 >> >> My question is should be i am using mina in a wrong way that starting a >> simple policyServer eat so much memory ? >> > It's *very* liekly that *your* application is eating the memory. > > I engage you to use some profiling tool to see where is the memory > consumed. > > > > -- > Regards, > Cordialement, > Emmanuel L=E9charny > www.iktek.com > > --=20 *Game Entertainment Software Developer* --------------------------------------------------- http://www.flexpoker.it http://www.flashpoker.it http://www.virtuasport.it http://www.virtuagames.it http://www.superflashgames.it ---------------------------------------------------- --00151750de1450b20c049b5f0e44 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable now is attached<br><br><div class=3D"gmail_quote">2011/2/3 Emmanuel L=E9cha= rny <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]">elecharny= @apache.org</a>&gt;</span><br><blockquote class=3D"gmail_quote" style=3D"ma= rgin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding= -left: 1ex;"> <div class=3D"im">On 2/3/11 12:10 PM, antares wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde= r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> You are right :)<br> I mean as attach there is the code i am using.<br> </blockquote> <br></div> Sadly, either you forgot to attach your code, or it didn&#39;t made it thro= ugh the Apache firewall...<div class=3D"im"><br> <br> <blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde= r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> I didn&#39;t know how the server is configured, i know only jre is java 1.6= 64b<br> and OS Ubuntu 10.1<br> <br> My question is should be i am using mina in a wrong way that starting a<br> simple policyServer eat so much memory ?<br> </blockquote></div> It&#39;s *very* liekly that *your* application is eating the memory.<br> <br> I engage you to use some profiling tool to see where is the memory consumed= .<div><div></div><div class=3D"h5"><br> <br> <br> -- <br> Regards,<br> Cordialement,<br> Emmanuel L=E9charny<br> <a href=3D"http://www.iktek.com" target=3D"_blank">www.iktek.com</a><br> <br> </div></div></blockquote></div><br><br clear=3D"all"><br>-- <br><i><span st= yle=3D"color: rgb(204, 0, 0);">Game Entertainment Software Developer</span>= </i><br>---------------------------------------------------<br><a href=3D"h= ttp://www.flexpoker.it/" target=3D"_blank">http://www.flexpoker.it</a><br> <a href=3D"http://www.flashpoker.it/" target=3D"_blank">http://www.flashpok= er.it</a><br><a href=3D"http://www.virtuasport.it/" target=3D"_blank">http:= //www.virtuasport.it</a><br><a href=3D"http://www.virtuagames.it/" target= =3D"_blank">http://www.virtuagames.it</a><br> <a href=3D"http://www.superflashgames.it/" target=3D"_blank">http://www.sup= erflashgames.it</a><br>----------------------------------------------------= <br> --00151750de1450b20c049b5f0e44-- --00151750de1450b24e049b5f0e46 Content-Type: application/rar; name="FlashCrossdomainService.rar" Content-Disposition: attachment; filename="FlashCrossdomainService.rar" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gjpl02sv0 UmFyIRoHAM+QcwAADQAAAAAAAACLK3QgkEEAlgQAAK8QAAAC9d+CMQxWBT0dMxwAIAAAAEZsYXNo Q3Jvc3Nkb21haW5TZXJ2aWNlLmphdmEA8EtQBwwBTQzND82BG7OgX8OQ+GhObGnu9LXs0V624LoF uzbFKNAtm8MaWONbU8T1LHJruif96KlYm2vhnyfwUTcjm3pOCjw4T4nPHCTn5rxOH74PH3iMOccJ weB6ZBN/0LqGEI4OuSt/f90i7jyPwFD5C6xMkGVn2m+NPymztxxyAcMOyqyfUyIwJiGzjdJLBvSG g4MuHDMZLh/2I/FvfruF14sQ0mLSLN4eEWXRpc8qEl2IzCaG54QKfgHW8/Lq43nshX/HsPzERx7R aHZRl8Q54YXXyRQ0n891ieMGZp/W2ffA/OnoT10+nllIaIZvJNSNnhGm8M+vyjL4RL71s5spcklw jXfJEvJsvk4uvkiYazS0xS/I7/Y3KXNvsALwueFgESE+yzCipVmXz7Puk1VXtff2RtcXFnA4guA0 YMeGE2eJ9VdaNhHz8hUZaWgD4XP4uHQWu4ZMuB51sG3hQwhym+4rsD+hOP4zVIaTRzMZ9KCSOafp 0hB9TvutCURTB6V9AXv5ufoDkD8PR6fTbRt4TcIeBSk1Qjo3UHPf/b92jq1f1UOmfuayYqx2YB/P KOVNr11961NTRe5q+hsbPFNlMVWUhPrDpJXM1yHnMol88/2WRGKgyvhlbjBK5ydNfikgK+ZlgLCr Va22y1uR4DbvT6FRJknW654BhrtGhtSYrKOG4Npg5aHgSwcy5uFF/Ohtn1tZqPx42X8pWckBlt4j FfuAtOnIzCcfA3rFAVbqAUch+IHi2M2EwbWLBmS6ay4mM7iD7A73VdixbQr7y9SCL5ZgC28z1S/2 FZYHGmROOfpPgWgBFCdfjQ9qi3mwdPTK+jfmPsKEtTxDEFdnzBcTsNPewS5cQH+9jbYQSqV/20EC K3iBi/9Ds5r9YDVJFYaT4aKbJ/6IM4NhTejjt2Zxdb7rgDWAuiy9WIrGrB4CsJ1GvQawP2ClkMz0 y6VsIcpTpIQ1v/9diftDcEfVJxKnGodR2aJ0lT3FredLjPJX9TKDZ/mFcySnquM9/iihzmyDINzb 4mf/2A30e7fbvZCtuO9+/Lrz8MWr/0x/eNJazZkqplc2D5DbKtV4GCtgYqZhHQKU9/DPPN+N3rMT CbllRF5OxSilHR7hotW7PExlWtWlXs8cMnyAwrcOu17BsbTuNhawDuHT6cCjLw5ZTsaaD1ch2nXr 83mBSmi3/h+DpkxlKwqqhfmu7JmZ/2F4J9Tj71V1XjyRZmBGUOfCjyEKnzmpeKsArwLasmdX5Y0g W1NDiFFT1lX7XTZYcYVXl1A0rdz192b+cgc6TXisU+nOM8XGlBhZhH/sGad3+fjOYIolYF0ITMcG tf/G2tedIey2xGbGpJtT3OBpQUlU/WCZVnmItMmUdbYvJ67l0dbu8ogAv6oLq5T3yf7fJFiMkXrb pvcdMT4WVWsoL6ANqnVXSQzM2o17B5HvYaU0OvI//+C/r8cVLhyiIgXO9u/XCqzn17aoxTci6RnB x5XhxWd3I0hzJmRuPC4knu3aWqfNTHUr9bHQN1f53U2YJbZYCLL9b3bnvDiq8OJ9wcTP24pUFJw5 JI+9v+LEPXsAQAcA --00151750de1450b24e049b5f0e46-- From [email protected] Thu Feb 03 11:28:57 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95930 invoked from network); 3 Feb 2011 11:28:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Feb 2011 11:28:57 -0000 Received: (qmail 60503 invoked by uid 500); 3 Feb 2011 11:28:57 -0000 Delivered-To: [email protected] Received: (qmail 60361 invoked by uid 500); 3 Feb 2011 11:28:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 60309 invoked by uid 99); 3 Feb 2011 11:28:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 11:28:55 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO uksmtp.nds.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 11:28:50 +0000 Received: from UKMA1.UK.NDS.COM ([161.129.204.104]) by ukhc2.UK.NDS.COM ([161.129.204.104]) with mapi; Thu, 3 Feb 2011 11:28:29 +0000 From: "Kakarla, Manoj" <[email protected]> To: "[email protected]" <[email protected]>, "[email protected]" <[email protected]> Date: Thu, 3 Feb 2011 11:28:29 +0000 Subject: RE: Usage of SerialConnector Thread-Topic: Usage of SerialConnector Thread-Index: AcvDlUyW0Y8u+h/kR22WR9JyGxh5RwAABPCA Message-ID: <[email protected]> References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, en-GB Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 SSBoYXZlIHJlYWQgdGhlIHR1dG9yaWFsLCBidXQgdGhlIHByb2JsZW0gaXMgdG8gdXNlIHRoZSBj bGFzcywgaXQgbmVlZCB0byBiZSBpbiB0aGUgSmFyIHdoaWNoIGlzIG5vdC4NCg0KDQoNClRoYW5r cywNCk1hbm9qIEtha2FybGENCg0KDQotLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KRnJvbTog RW1tYW51ZWwgTGVjaGFybnkgW21haWx0bzplbGVjaGFybnlAZ21haWwuY29tXQ0KU2VudDogMDMg RmVicnVhcnkgMjAxMSAxMToyNyBBTQ0KVG86IHVzZXJzQG1pbmEuYXBhY2hlLm9yZw0KU3ViamVj dDogUmU6IFVzYWdlIG9mIFNlcmlhbENvbm5lY3Rvcg0KDQpPbiAyLzMvMTEgMTI6MTQgUE0sIEth a2FybGEsIE1hbm9qIHdyb3RlOg0KPiBIZWxsbyBBbGwsDQo+DQo+IEkgYW0gdHJ5aW5nIHRvIHVz ZSBhcGFjaGUgbWluYSBzZXJpYWxDb25uZWN0b3IsIGJ1dCBjb3VsZG4ndCBhcyB0aGUgY2xhc3Mg YW5kIHRoZSBwYWNrYWdlIG9yZy5hcGFjaGUubWluYS50cmFuc3BvcnQuc2VyaWFsIGFyZSBub3Qg Zm91bmQgaW4gdGhlIG1pbmEtY29yZS4yLjAuMi5qYXIuDQo+IEhvdyBjYW4gSSByZXNvbHZlIHRo aXMgZGVwZW5kZW5jeT8gUGxlYXNlIGhlbHAuDQoNCmh0dHA6Ly9taW5hLmFwYWNoZS5vcmcvc2Vy aWFsLXR1dG9yaWFsLmh0bWwNCg0KLS0NClJlZ2FyZHMsDQpDb3JkaWFsZW1lbnQsDQpFbW1hbnVl bCBMw6ljaGFybnkNCnd3dy5pa3Rlay5jb20NCg0KDQoNCioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqDQpUaGlzIG1lc3NhZ2UgaXMgY29uZmlkZW50aWFsIGFuZCBpbnRlbmRlZCBvbmx5IGZv ciB0aGUgYWRkcmVzc2VlLiBJZiB5b3UgaGF2ZSByZWNlaXZlZCB0aGlzIG1lc3NhZ2UgaW4gZXJy b3IsIHBsZWFzZSBpbW1lZGlhdGVseSBub3RpZnkgdGhlIHBvc3RtYXN0ZXJAbmRzLmNvbSBhbmQg ZGVsZXRlIGl0IGZyb20geW91ciBzeXN0ZW0gYXMgd2VsbCBhcyBhbnkgY29waWVzLiBUaGUgY29u dGVudCBvZiBlLW1haWxzIGFzIHdlbGwgYXMgdHJhZmZpYyBkYXRhIG1heSBiZSBtb25pdG9yZWQg YnkgTkRTIGZvciBlbXBsb3ltZW50IGFuZCBzZWN1cml0eSBwdXJwb3Nlcy4gVG8gcHJvdGVjdCB0 aGUgZW52aXJvbm1lbnQgcGxlYXNlIGRvIG5vdCBwcmludCB0aGlzIGUtbWFpbCB1bmxlc3MgbmVj ZXNzYXJ5Lg0KDQpORFMgTGltaXRlZC4gUmVnaXN0ZXJlZCBPZmZpY2U6IE9uZSBMb25kb24gUm9h ZCwgU3RhaW5lcywgTWlkZGxlc2V4LCBUVzE4IDRFWCwgVW5pdGVkIEtpbmdkb20uIEEgY29tcGFu eSByZWdpc3RlcmVkIGluIEVuZ2xhbmQgYW5kIFdhbGVzLiBSZWdpc3RlcmVkIG5vLiAzMDgwNzgw LiBWQVQgbm8uIEdCIDYwMyA4ODA4IDQwLTAwDQoqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq Kg0K From [email protected] Thu Feb 03 11:48:14 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99937 invoked from network); 3 Feb 2011 11:48:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Feb 2011 11:48:14 -0000 Received: (qmail 97105 invoked by uid 500); 3 Feb 2011 11:48:14 -0000 Delivered-To: [email protected] Received: (qmail 95331 invoked by uid 500); 3 Feb 2011 11:48:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 94284 invoked by uid 99); 3 Feb 2011 11:48:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 11:48:10 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO fw2.prolan.hu) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 11:48:02 +0000 Received: from fw2.prolan.hu (localhost.localdomain [161.129.204.104]) by localhost (Postfix) with ESMTP id 4AF1326C898 for <[email protected]>; Thu, 3 Feb 2011 12:47:42 +0100 (CET) Received: from saturn2.intranet.prolan.hu (webmail.prolan.hu [161.129.204.104]) by fw2.prolan.hu (Postfix) with ESMTP id 41D3B26C208 for <[email protected]>; Thu, 3 Feb 2011 12:47:42 +0100 (CET) Received: from kuti-zsolt.intranet.prolan.hu (161.129.204.104) by saturn2.intranet.prolan.hu (161.129.204.104) with Microsoft SMTP Server id 161.129.204.104; Thu, 3 Feb 2011 12:39:00 +0100 Date: Thu, 3 Feb 2011 12:39:00 +0100 From: Zsolt =?UTF-8?B?S8O6dGk=?= <[email protected]> To: <[email protected]> Subject: Re: Usage of SerialConnector Message-ID: <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Organization: Prolan ZRT. X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; i386-portbld-freebsd8.1) MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: None (saturn2.intranet.prolan.hu: [email protected] does not designate permitted sender hosts) X-ESET-AS: SCORE=50 X-EsetResult: clean, is OK X-EsetId: 1FF26921224730044BB2 X-Virus-Checked: Checked by ClamAV on apache.org Thu, 3 Feb 2011 11:28:29 +0000 -n "Kakarla, Manoj" <[email protected]> =C3=ADrta: > I have read the tutorial, but the problem is to use the class, it > need to be in the Jar which is not. Have you seen the "Prerequisite" section? Useful Information Before accessing serial port from a Java program you need a native library (.DLL or .so depending of your OS). MINA use the one from RXTX.org : ftp://ftp.qbang.org/pub/rxtx/rxtx-2.1-7-bins-r2.zipjust put the good .dll or .so in the jre/lib/i386/ path of your JDK/JRE or use the -Djava.library.path=3D argument for specify where you placed the native libraries From [email protected] Thu Feb 03 11:54:41 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 1082 invoked from network); 3 Feb 2011 11:54:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Feb 2011 11:54:41 -0000 Received: (qmail 98696 invoked by uid 500); 3 Feb 2011 11:54:40 -0000 Delivered-To: [email protected] Received: (qmail 98505 invoked by uid 500); 3 Feb 2011 11:54:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 98497 invoked by uid 99); 3 Feb 2011 11:54:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 11:54:37 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO uksmtp.nds.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 11:54:33 +0000 Received: from UKMA1.UK.NDS.COM ([161.129.204.104]) by ukhc1.UK.NDS.COM ([161.129.204.104]) with mapi; Thu, 3 Feb 2011 11:54:11 +0000 From: "Kakarla, Manoj" <[email protected]> To: "[email protected]" <[email protected]> Date: Thu, 3 Feb 2011 11:54:15 +0000 Subject: RE: Usage of SerialConnector Thread-Topic: Usage of SerialConnector Thread-Index: AcvDmEUp4trE5kZ4S8KRmbGXOXCv+AAAJ2gg Message-ID: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, en-GB Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 WWVzIEkgaGF2ZSBkb25lIHRoYXQsIGJ1dCB3aGF0IGFib3V0IHRoZSBTZXJpYWxDb25uZWN0b3Ig YW5kIHRoZSBTZXJpYWxBZGRyZXNzIENsYXNzZXMsIHdoZXJlIGNhbiBJIGZpbmQgdGhlbSwgdGhl eSBhcmUgbm90IGluIHRoZSBjb3JlLTIuMC4yLmphciBkaXN0cmlidXRpb24sIHdpdGhvdXQgdGhl bSBob3cgY2FuIEkgY29ubmVjdD8NCg0KDQoNClRoYW5rcywNCk1hbm9qIEtha2FybGENCg0KDQot LS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KRnJvbTogWnNvbHQgS8O6dGkgW21haWx0bzprdXRp Lnpzb2x0QHByb2xhbi5odV0NClNlbnQ6IDAzIEZlYnJ1YXJ5IDIwMTEgMTE6MzkgQU0NClRvOiB1 c2Vyc0BtaW5hLmFwYWNoZS5vcmcNClN1YmplY3Q6IFJlOiBVc2FnZSBvZiBTZXJpYWxDb25uZWN0 b3INCg0KVGh1LCAzIEZlYiAyMDExIDExOjI4OjI5ICswMDAwIC1uDQoiS2FrYXJsYSwgTWFub2oi IDxNS2FrYXJsYUBuZHMuY29tPiDDrXJ0YToNCg0KPiBJIGhhdmUgcmVhZCB0aGUgdHV0b3JpYWws IGJ1dCB0aGUgcHJvYmxlbSBpcyB0byB1c2UgdGhlIGNsYXNzLCBpdA0KPiBuZWVkIHRvIGJlIGlu IHRoZSBKYXIgd2hpY2ggaXMgbm90Lg0KSGF2ZSB5b3Ugc2VlbiB0aGUgIlByZXJlcXVpc2l0ZSIg c2VjdGlvbj8NCg0KVXNlZnVsIEluZm9ybWF0aW9uDQpCZWZvcmUgYWNjZXNzaW5nIHNlcmlhbCBw b3J0IGZyb20gYSBKYXZhIHByb2dyYW0geW91IG5lZWQgYSBuYXRpdmUNCmxpYnJhcnkgKC5ETEwg b3IgLnNvIGRlcGVuZGluZyBvZiB5b3VyIE9TKS4gTUlOQSB1c2UgdGhlIG9uZSBmcm9tDQpSWFRY Lm9yZyA6IGZ0cDovL2Z0cC5xYmFuZy5vcmcvcHViL3J4dHgvcnh0eC0yLjEtNy1iaW5zLXIyLnpp cGp1c3QgcHV0DQp0aGUgZ29vZCAuZGxsIG9yIC5zbyBpbiB0aGUganJlL2xpYi9pMzg2LyBwYXRo IG9mIHlvdXIgSkRLL0pSRSBvciB1c2UNCnRoZSAtRGphdmEubGlicmFyeS5wYXRoPSBhcmd1bWVu dCBmb3Igc3BlY2lmeSB3aGVyZSB5b3UgcGxhY2VkIHRoZQ0KbmF0aXZlIGxpYnJhcmllcw0KDQoN CioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqDQpUaGlzIG1lc3NhZ2UgaXMgY29uZmlkZW50 aWFsIGFuZCBpbnRlbmRlZCBvbmx5IGZvciB0aGUgYWRkcmVzc2VlLiBJZiB5b3UgaGF2ZSByZWNl aXZlZCB0aGlzIG1lc3NhZ2UgaW4gZXJyb3IsIHBsZWFzZSBpbW1lZGlhdGVseSBub3RpZnkgdGhl IHBvc3RtYXN0ZXJAbmRzLmNvbSBhbmQgZGVsZXRlIGl0IGZyb20geW91ciBzeXN0ZW0gYXMgd2Vs bCBhcyBhbnkgY29waWVzLiBUaGUgY29udGVudCBvZiBlLW1haWxzIGFzIHdlbGwgYXMgdHJhZmZp YyBkYXRhIG1heSBiZSBtb25pdG9yZWQgYnkgTkRTIGZvciBlbXBsb3ltZW50IGFuZCBzZWN1cml0 eSBwdXJwb3Nlcy4gVG8gcHJvdGVjdCB0aGUgZW52aXJvbm1lbnQgcGxlYXNlIGRvIG5vdCBwcmlu dCB0aGlzIGUtbWFpbCB1bmxlc3MgbmVjZXNzYXJ5Lg0KDQpORFMgTGltaXRlZC4gUmVnaXN0ZXJl ZCBPZmZpY2U6IE9uZSBMb25kb24gUm9hZCwgU3RhaW5lcywgTWlkZGxlc2V4LCBUVzE4IDRFWCwg VW5pdGVkIEtpbmdkb20uIEEgY29tcGFueSByZWdpc3RlcmVkIGluIEVuZ2xhbmQgYW5kIFdhbGVz LiBSZWdpc3RlcmVkIG5vLiAzMDgwNzgwLiBWQVQgbm8uIEdCIDYwMyA4ODA4IDQwLTAwDQoqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKg0K From [email protected] Thu Feb 03 12:24:11 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15404 invoked from network); 3 Feb 2011 12:24:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Feb 2011 12:24:11 -0000 Received: (qmail 16016 invoked by uid 500); 3 Feb 2011 12:24:11 -0000 Delivered-To: [email protected] Received: (qmail 15856 invoked by uid 500); 3 Feb 2011 12:24:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 15843 invoked by uid 99); 3 Feb 2011 12:24:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 12:24:07 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO fw2.prolan.hu) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 12:24:00 +0000 Received: from fw2.prolan.hu (localhost.localdomain [161.129.204.104]) by localhost (Postfix) with ESMTP id A552326C224 for <[email protected]>; Thu, 3 Feb 2011 13:23:38 +0100 (CET) Received: from saturn2.intranet.prolan.hu (webmail.prolan.hu [161.129.204.104]) by fw2.prolan.hu (Postfix) with ESMTP id 949A226C89D for <[email protected]>; Thu, 3 Feb 2011 13:22:44 +0100 (CET) Received: from kuti-zsolt.intranet.prolan.hu (161.129.204.104) by saturn2.intranet.prolan.hu (161.129.204.104) with Microsoft SMTP Server id 161.129.204.104; Thu, 3 Feb 2011 13:16:42 +0100 Date: Thu, 3 Feb 2011 13:16:42 +0100 From: Zsolt =?UTF-8?B?S8O6dGk=?= <[email protected]> To: <[email protected]> Subject: Re: Usage of SerialConnector Message-ID: <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Organization: Prolan ZRT. X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; i386-portbld-freebsd8.1) MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: None (saturn2.intranet.prolan.hu: [email protected] does not designate permitted sender hosts) X-ESET-AS: SCORE=1 X-EsetResult: clean, is OK X-EsetId: 1FF26921224730044BB2 Thu, 3 Feb 2011 11:54:15 +0000 -n "Kakarla, Manoj" <[email protected]> =C3=ADrta: > Yes I have done that, but what about the SerialConnector and the > SerialAddress Classes, where can I find them, they are not in the > core-2.0.2.jar distribution, without them how can I connect? apache-mina-2.0.2-bin.tar.gz does not seem to contain the necessary jar of mina-transport-serial-2.0.2.jar. It is present in 2.0.0-RC1 though. Sorry for being of no help. From [email protected] Thu Feb 03 12:38:42 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26170 invoked from network); 3 Feb 2011 12:38:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Feb 2011 12:38:42 -0000 Received: (qmail 42632 invoked by uid 500); 3 Feb 2011 12:38:42 -0000 Delivered-To: [email protected] Received: (qmail 42402 invoked by uid 500); 3 Feb 2011 12:38:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 42389 invoked by uid 99); 3 Feb 2011 12:38:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 12:38:39 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO uksmtp.nds.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 12:38:32 +0000 Received: from UKMA1.UK.NDS.COM ([161.129.204.104]) by ukhc1.UK.NDS.COM ([161.129.204.104]) with mapi; Thu, 3 Feb 2011 12:38:11 +0000 From: "Kakarla, Manoj" <[email protected]> To: "[email protected]" <[email protected]> Date: Thu, 3 Feb 2011 12:38:11 +0000 Subject: RE: Usage of SerialConnector Thread-Topic: Usage of SerialConnector Thread-Index: AcvDnUYyGGJZUuqkQuuw1Ogz0u1KkAAAdsVQ Message-ID: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, en-GB Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org SSBjaGVja2VkIGFsbCB0aGUgcmVsZWFzZXMgZnJvbSAxLjE3IHRvIDIuMC4yLiBOb25lIG9mIHRo ZSBkaXN0cmlidXRpb25zIGdvdCB0aGUgc2VyaWFsIHBhY2thZ2UuIFdlaXJkIQ0KDQoNCg0KVGhh bmtzLA0KTWFub2ogS2FrYXJsYQ0KDQoNCi0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpGcm9t OiBac29sdCBLw7p0aSBbbWFpbHRvOmt1dGkuenNvbHRAcHJvbGFuLmh1XQ0KU2VudDogMDMgRmVi cnVhcnkgMjAxMSAxMjoxNyBQTQ0KVG86IHVzZXJzQG1pbmEuYXBhY2hlLm9yZw0KU3ViamVjdDog UmU6IFVzYWdlIG9mIFNlcmlhbENvbm5lY3Rvcg0KDQpUaHUsIDMgRmViIDIwMTEgMTE6NTQ6MTUg KzAwMDAgLW4NCiJLYWthcmxhLCBNYW5vaiIgPE1LYWthcmxhQG5kcy5jb20+IMOtcnRhOg0KDQo+ IFllcyBJIGhhdmUgZG9uZSB0aGF0LCBidXQgd2hhdCBhYm91dCB0aGUgU2VyaWFsQ29ubmVjdG9y IGFuZCB0aGUNCj4gU2VyaWFsQWRkcmVzcyBDbGFzc2VzLCB3aGVyZSBjYW4gSSBmaW5kIHRoZW0s IHRoZXkgYXJlIG5vdCBpbiB0aGUNCj4gY29yZS0yLjAuMi5qYXIgZGlzdHJpYnV0aW9uLCB3aXRo b3V0IHRoZW0gaG93IGNhbiBJIGNvbm5lY3Q/DQoNCmFwYWNoZS1taW5hLTIuMC4yLWJpbi50YXIu Z3ogZG9lcyBub3Qgc2VlbSB0byBjb250YWluIHRoZSBuZWNlc3NhcnkgamFyDQpvZiBtaW5hLXRy YW5zcG9ydC1zZXJpYWwtMi4wLjIuamFyLg0KSXQgaXMgcHJlc2VudCBpbiAyLjAuMC1SQzEgdGhv dWdoLg0KDQpTb3JyeSBmb3IgYmVpbmcgb2Ygbm8gaGVscC4NCg0KDQoqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKg0KVGhpcyBtZXNzYWdlIGlzIGNvbmZpZGVudGlhbCBhbmQgaW50ZW5kZWQg b25seSBmb3IgdGhlIGFkZHJlc3NlZS4gSWYgeW91IGhhdmUgcmVjZWl2ZWQgdGhpcyBtZXNzYWdl IGluIGVycm9yLCBwbGVhc2UgaW1tZWRpYXRlbHkgbm90aWZ5IHRoZSBwb3N0bWFzdGVyQG5kcy5j b20gYW5kIGRlbGV0ZSBpdCBmcm9tIHlvdXIgc3lzdGVtIGFzIHdlbGwgYXMgYW55IGNvcGllcy4g VGhlIGNvbnRlbnQgb2YgZS1tYWlscyBhcyB3ZWxsIGFzIHRyYWZmaWMgZGF0YSBtYXkgYmUgbW9u aXRvcmVkIGJ5IE5EUyBmb3IgZW1wbG95bWVudCBhbmQgc2VjdXJpdHkgcHVycG9zZXMuIFRvIHBy b3RlY3QgdGhlIGVudmlyb25tZW50IHBsZWFzZSBkbyBub3QgcHJpbnQgdGhpcyBlLW1haWwgdW5s ZXNzIG5lY2Vzc2FyeS4NCg0KTkRTIExpbWl0ZWQuIFJlZ2lzdGVyZWQgT2ZmaWNlOiBPbmUgTG9u ZG9uIFJvYWQsIFN0YWluZXMsIE1pZGRsZXNleCwgVFcxOCA0RVgsIFVuaXRlZCBLaW5nZG9tLiBB IGNvbXBhbnkgcmVnaXN0ZXJlZCBpbiBFbmdsYW5kIGFuZCBXYWxlcy4gUmVnaXN0ZXJlZCBuby4g MzA4MDc4MC4gVkFUIG5vLiBHQiA2MDMgODgwOCA0MC0wMA0KKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioNCg== From [email protected] Thu Feb 03 12:53:09 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29701 invoked from network); 3 Feb 2011 12:53:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Feb 2011 12:53:08 -0000 Received: (qmail 58336 invoked by uid 500); 3 Feb 2011 12:53:08 -0000 Delivered-To: [email protected] Received: (qmail 58010 invoked by uid 500); 3 Feb 2011 12:53:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 58002 invoked by uid 99); 3 Feb 2011 12:53:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 12:53:06 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ww0-f51.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 12:53:00 +0000 Received: by wwe15 with SMTP id 15so1067325wwe.32 for <[email protected]>; Thu, 03 Feb 2011 04:52:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:reply-to:user-agent :mime-version:to:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=25484PLXEL9BRXtoBGSAG1dfD7usZdVDsauxWCspqaE=; b=hnDFJX9b5A+Y5++w/iC4Zcfs/qrHjUCS8zJ8pEvjAe6i7DvHSE3D15sofrFhnfUMYk 4BGxSPUttAyDnOKc64hFhCx1r5kmZKdEsUAYYaE6KyoYZTGur5Hf0nMTzhmdwajTy3kG P1Vf8DL0X48kL+DADX0yvwR2tiAIdCWO4CWuA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=tYL//oxi0BfaL6eIRquuPPh/7BmK6hlFJ++gxNTKA15jEWVd6sw2xs+dL2IEUgnYv1 YcEl/gIky0Ed1HkLREZ7PHPiOmKa8ozvQo748AB62xo+TK6Gelva26Lw4BWAtuiE2cJZ HACA3hcxFJKeQ0VgD9R0QR53OFE0vOgSjni3o= Received: by 161.129.204.104 with SMTP id 8mr3394099weo.30.1296737558993; Thu, 03 Feb 2011 04:52:38 -0800 (PST) Received: from emmanuel-lecharnys-MacBook-Pro.local (lon92-10-78-226-4-211.fbx.proxad.net [161.129.204.104]) by mx.google.com with ESMTPS id b54sm413290wer.45.2161.129.204.104.50.57 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 03 Feb 2011 04:50:58 -0800 (PST) Message-ID: <[email protected]> Date: Thu, 03 Feb 2011 13:50:56 +0100 From: Emmanuel Lecharny <[email protected]> Reply-To: [email protected] User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: Usage of SerialConnector References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 2/3/11 1:38 PM, Kakarla, Manoj wrote: > I checked all the releases from 1.17 to 2.0.2. None of the distributions got the serial package. Weird! No, it's not weird, it's on purpose. The RXTX lib is LGPL, and we don't want your users to download a package containing a class tainted with LGPL code. The jars are available here : http://repo1.maven.org/maven2/org/apache/mina/mina-transport-serial/2.0.2/ I'll update the wiki to add a reference to this link. As you can see, the page is not really up to date... -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com From [email protected] Thu Feb 03 12:53:35 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29856 invoked from network); 3 Feb 2011 12:53:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Feb 2011 12:53:35 -0000 Received: (qmail 58521 invoked by uid 500); 3 Feb 2011 12:53:34 -0000 Delivered-To: [email protected] Received: (qmail 58478 invoked by uid 500); 3 Feb 2011 12:53:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 58466 invoked by uid 99); 3 Feb 2011 12:53:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 12:53:32 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ww0-f51.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 12:53:23 +0000 Received: by wwe15 with SMTP id 15so1067688wwe.32 for <[email protected]>; Thu, 03 Feb 2011 04:53:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:reply-to:user-agent :mime-version:to:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=25484PLXEL9BRXtoBGSAG1dfD7usZdVDsauxWCspqaE=; b=HiIgA4TpnR/O7HeZC7d1+/vXgGac15Uo417g9TqLjC9yihVe46HiSobkIvkAVTsARx KbEF4r1QnGYSsUeL/JfUY1TwGm2FuvlTB3wKH4UUchKy/jWQN0IPVaq5uQ/JQ9HYelmW SiEIQQ2mwMB6qQgRQpl9FXbANJTcEljQBeJ1E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=YdiRwyRoKL/Eyuz3sxW6yMVdJX7Tv6c2XOi0DdQ4sUGTbEO1pdGyr1/9Vj3N1+0cyr f7+xxkRnoqk97FJI6VXfNev4zG7eBoo9mMQPrFdL6yawM1DMzN91RAz5/AmvAf9uFIpP JoFVFIgG9Z1ZWFY771Mxw2NHM4oTXOwBmQdZw= Received: by 161.129.204.104 with SMTP id z6mr9762900wej.27.1296737582739; Thu, 03 Feb 2011 04:53:02 -0800 (PST) Received: from emmanuel-lecharnys-MacBook-Pro.local (lon92-10-78-226-4-211.fbx.proxad.net [161.129.204.104]) by mx.google.com with ESMTPS id i80sm416300wej.28.2161.129.204.104.53.01 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 03 Feb 2011 04:53:01 -0800 (PST) Message-ID: <[email protected]> Date: Thu, 03 Feb 2011 13:53:00 +0100 From: Emmanuel Lecharny <[email protected]> Reply-To: [email protected] User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: Usage of SerialConnector References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org On 2/3/11 1:38 PM, Kakarla, Manoj wrote: > I checked all the releases from 1.17 to 2.0.2. None of the distributions got the serial package. Weird! No, it's not weird, it's on purpose. The RXTX lib is LGPL, and we don't want your users to download a package containing a class tainted with LGPL code. The jars are available here : http://repo1.maven.org/maven2/org/apache/mina/mina-transport-serial/2.0.2/ I'll update the wiki to add a reference to this link. As you can see, the page is not really up to date... -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com From [email protected] Thu Feb 03 13:04:00 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 32570 invoked from network); 3 Feb 2011 13:04:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Feb 2011 13:04:00 -0000 Received: (qmail 69146 invoked by uid 500); 3 Feb 2011 13:04:00 -0000 Delivered-To: [email protected] Received: (qmail 68769 invoked by uid 500); 3 Feb 2011 13:03:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 68757 invoked by uid 99); 3 Feb 2011 13:03:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 13:03:56 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO fw2.prolan.hu) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 13:03:47 +0000 Received: from fw2.prolan.hu (localhost.localdomain [161.129.204.104]) by localhost (Postfix) with ESMTP id 1849C26C840; Thu, 3 Feb 2011 14:03:27 +0100 (CET) Received: from saturn2.intranet.prolan.hu (webmail.prolan.hu [161.129.204.104]) by fw2.prolan.hu (Postfix) with ESMTP id 0CFD226C205; Thu, 3 Feb 2011 14:03:27 +0100 (CET) Received: from kuti-zsolt.intranet.prolan.hu (161.129.204.104) by saturn2.intranet.prolan.hu (161.129.204.104) with Microsoft SMTP Server id 161.129.204.104; Thu, 3 Feb 2011 13:57:52 +0100 Date: Thu, 3 Feb 2011 13:57:51 +0100 From: Zsolt =?UTF-8?B?S8O6dGk=?= <[email protected]> To: <[email protected]> Cc: <[email protected]> Subject: Re: Usage of SerialConnector Message-ID: <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Organization: Prolan ZRT. X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; i386-portbld-freebsd8.1) MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: None (saturn2.intranet.prolan.hu: [email protected] does not designate permitted sender hosts) X-ESET-AS: SCORE=50 X-EsetResult: clean, is OK X-EsetId: 1FF26921224730044BB2 X-Virus-Checked: Checked by ClamAV on apache.org Thu, 3 Feb 2011 13:53:00 +0100 -n Emmanuel Lecharny <[email protected]> =C3=ADrta: > The jars are available here :=20 > http://repo1.maven.org/maven2/org/apache/mina/mina-transport-serial/2.0.2/ >=20 > I'll update the wiki to add a reference to this link. As you can see,=20 > the page is not really up to date... I was on the way to write for this info, this is the bit that was missing. A big thank on my part! Zsolt From [email protected] Thu Feb 03 13:13:39 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42284 invoked from network); 3 Feb 2011 13:13:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Feb 2011 13:13:39 -0000 Received: (qmail 76256 invoked by uid 500); 3 Feb 2011 13:13:38 -0000 Delivered-To: [email protected] Received: (qmail 76118 invoked by uid 500); 3 Feb 2011 13:13:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 76109 invoked by uid 99); 3 Feb 2011 13:13:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 13:13:35 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 03 Feb 2011 13:13:34 +0000 Received: (qmail 42266 invoked by uid 99); 3 Feb 2011 13:13:14 -0000 Received: from localhost.apache.org (HELO emmanuel-lecharnys-MacBook-Pro.local) (161.129.204.104) (smtp-auth username elecharny, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 13:13:14 +0000 Message-ID: <[email protected]> Date: Thu, 03 Feb 2011 14:13:11 +0100 From: =?UTF-8?B?RW1tYW51ZWwgTMOpY2hhcm55?= <[email protected]> Reply-To: [email protected] Organization: The Apache Software Foundation User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: Usage of SerialConnector References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 2/3/11 1:57 PM, Zsolt Kúti wrote: > Thu, 3 Feb 2011 13:53:00 +0100 -n > Emmanuel Lecharny<[email protected]> írta: > > >> The jars are available here : >> http://repo1.maven.org/maven2/org/apache/mina/mina-transport-serial/2.0.2/ >> >> I'll update the wiki to add a reference to this link. As you can see, >> the page is not really up to date... > I was on the way to write for this info, this is the bit that was > missing. > > A big thank on my part! The wiki has been updated, it will show up in a few hours (time for the mirrors to be updated). -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com From [email protected] Mon Feb 07 15:01:00 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30937 invoked from network); 7 Feb 2011 15:01:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Feb 2011 15:01:00 -0000 Received: (qmail 93389 invoked by uid 500); 7 Feb 2011 15:01:00 -0000 Delivered-To: [email protected] Received: (qmail 93156 invoked by uid 500); 7 Feb 2011 15:00:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 93141 invoked by uid 99); 7 Feb 2011 15:00:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Feb 2011 15:00:55 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO smtp.smtpout.orange.fr) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Feb 2011 15:00:46 +0000 Received: from wwinf1d02 ([161.129.204.104]) by mwinf5d30 with ME id 530R1g00c0dhaDW0330Rld; Mon, 07 Feb 2011 16:00:26 +0100 Date: Mon, 7 Feb 2011 16:00:25 +0100 (CET) From: Francis ANDRE <[email protected]> Reply-To: Francis ANDRE <[email protected]> To: [email protected] Message-ID: <26465184.44637.1297090825954.JavaMail.www@wwinf1d02> Subject: Newbie: SingleSessionIoHandlerAdapter deprecated; replaced by??? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_44636_1838313.1297090825937" X-Originating-IP: [161.129.204.104] X-Wum-Nature: EMAIL-NATURE X-WUM-FROM: |~| X-WUM-TO: |~| X-WUM-REPLYTO: |~| X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_44636_1838313.1297090825937 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi I want to use Mina with a single handler per session as provided by the class SingleSessionIoHandlerAdapter but this later is deprecated. Can someone drop me the main lines of code for replacing this class by a non deprecated ones. Thanks ------=_Part_44636_1838313.1297090825937-- From [email protected] Mon Feb 07 17:51:39 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11072 invoked from network); 7 Feb 2011 17:51:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Feb 2011 17:51:39 -0000 Received: (qmail 45360 invoked by uid 500); 7 Feb 2011 17:51:39 -0000 Delivered-To: [email protected] Received: (qmail 45124 invoked by uid 500); 7 Feb 2011 17:51:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 45110 invoked by uid 99); 7 Feb 2011 17:51:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Feb 2011 17:51:35 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-wy0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Feb 2011 17:51:29 +0000 Received: by wyb38 with SMTP id 38so5140085wyb.2 for <[email protected]>; Mon, 07 Feb 2011 09:51:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:reply-to:user-agent :mime-version:to:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=CA00XXDNjABKG/XwRmZnPY6+VGbqc31eqe9LtqBjnXo=; b=wE0ScHFCe4XQcsnCROJxf70LuO58rhjQwU8PA7DfOU4mTowirDT5CRKeQxFVeBbcVH Dc5+GWMZIDVmgktmMTDjT+byqyy41kyZqBpX2Y81QCQWpH9QlP0NLW6lHqJwY5kFi7dr 3d8Aje+HgeSY+9OYQ4hpk5ENE/0heGOagR8Mc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=cPl/papDWbowogw374/reXVCRj87DZtecl9OHpZzKabLVZk3PqZlXZ3iK7dPra91fD Dl9w96PSWQszAYVk30KhgthF1g/BTb1C9yYnDO90/ZCylPMwfjpCf8L23pLSKfsi1YQx 9npZFauzapWWJhCC1IK7xbKw176GGqrojJ9zI= Received: by 161.129.204.104 with SMTP id z17mr4888535wbw.54.1297101067259; Mon, 07 Feb 2011 09:51:07 -0800 (PST) Received: from emmanuel-lecharnys-MacBook-Pro.local (ran75-1-78-192-106-184.fbxo.proxad.net [161.129.204.104]) by mx.google.com with ESMTPS id y29sm3553489wbd.22.2161.129.204.104.51.01 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 07 Feb 2011 09:51:01 -0800 (PST) Message-ID: <[email protected]> Date: Mon, 07 Feb 2011 18:51:00 +0100 From: Emmanuel Lecharny <[email protected]> Reply-To: [email protected] User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: Newbie: SingleSessionIoHandlerAdapter deprecated; replaced by??? References: <26465184.44637.1297090825954.JavaMail.www@wwinf1d02> In-Reply-To: <26465184.44637.1297090825954.JavaMail.www@wwinf1d02> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 2/7/11 4:00 PM, Francis ANDRE wrote: > Hi > > I want to use Mina with a single handler per session as provided by the class SingleSessionIoHandlerAdapter but this later is deprecated. Can someone drop me the main lines of code for replacing this class by a non deprecated ones. Hmmm... Can you give us a bit more information, like the MINA version you are using and the version you'd like to use ? Thanks ! -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com From [email protected] Tue Feb 08 09:23:10 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 62763 invoked from network); 8 Feb 2011 09:23:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Feb 2011 09:23:09 -0000 Received: (qmail 69133 invoked by uid 500); 8 Feb 2011 09:23:09 -0000 Delivered-To: [email protected] Received: (qmail 68904 invoked by uid 500); 8 Feb 2011 09:23:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 68896 invoked by uid 99); 8 Feb 2011 09:23:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Feb 2011 09:23:06 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ey0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Feb 2011 09:22:59 +0000 Received: by eyg5 with SMTP id 5so3080220eyg.2 for <[email protected]>; Tue, 08 Feb 2011 01:22:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=ADXMvMt5hEN4kzcrc9gmCcQ7u58zElWQwI17nr/Kkqo=; b=JAA4byCk793F2+FbcANQ0MrNlk69rNp9hWtaH+L7603HvCFBGV1k84076w6XhVqLy0 QlMnlXoZoSUHuO2seB8Pyj+CA1chI1l16Y37jHu6NUm06WJ46F/FjM6dAHNRlQdNwwlu gV5lvsrfbf0p3ZXAVq4+YCwug4txc1lhSEYwY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=MzhYMx1F1vR6qPiPy8ZZ38xqt9ZUc10BWSg6S4VCRUCdkIwEIbXk6mPlzPdyCHoBNa hVPxnUgf/8sC2uaKLeDdAfcUUJMHKoQ9EMpPogibdhFpupiO3bkxWMJ9/JRgRnoVL3zL CRNUUywVyOfrBiG/qKPjMN14A2X0oSY7km1qE= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id o16mr819256eeb.23.1297156957324; Tue, 08 Feb 2011 01:22:37 -0800 (PST) Received: by 161.129.204.104 with HTTP; Tue, 8 Feb 2011 01:22:37 -0800 (PST) Date: Tue, 8 Feb 2011 10:22:37 +0100 Message-ID: <[email protected]> Subject: Weird connection pattern From: Francesco Vivoli <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=90e6ba5bbab7a8c49b049bc1e30e --90e6ba5bbab7a8c49b049bc1e30e Content-Type: text/plain; charset=ISO-8859-1 Hi there I'm still in the process of assessing an application which make a fairly heavy use of mina. It is packaged as a webapp deployed under tomcat. Using netstat I have noticed a strange (to me) connection pattern like the one attached below. I understand that this is very application specific and that it's hard to draw conclusions just looking at this trace, but this application itself doesn't open internal connections this way: it is basically a bunch of acceptors and connectors, so nothing that would explain a netstat output like this. Moreover, I have used a sniffer to inspect traffic but I haven't captured any of it. Strange. Does anybody have ever noticed something like this? The server running this application has shown to sometimes to run out of resources (not being able from the system nonpaged pool and thus not being able to create any more connections) and I'm trying to get to the cause. I have been monitoring the trend of these connections and they seem to enlarge and shrink but definitely they show a steady growth. Still, I don't know who's opening them. I hope you guys can help:) Btw, production is still running 2.0.0-M6. Thanks a lot, regards Francesco ----- netsat output TCP 161.129.204.104:1064 161.129.204.104:1065 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1065 161.129.204.104:1064 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1066 161.129.204.104:1067 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1067 161.129.204.104:1066 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1068 161.129.204.104:1069 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1069 161.129.204.104:1068 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1070 161.129.204.104:1071 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1071 161.129.204.104:1070 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1073 161.129.204.104:1074 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1074 161.129.204.104:1073 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1075 161.129.204.104:1076 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1076 161.129.204.104:1075 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1077 161.129.204.104:1078 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1078 161.129.204.104:1077 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1079 161.129.204.104:1080 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1080 161.129.204.104:1079 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1081 161.129.204.104:1082 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1082 161.129.204.104:1081 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1083 161.129.204.104:1084 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1084 161.129.204.104:1083 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1085 161.129.204.104:1086 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1086 161.129.204.104:1085 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1087 161.129.204.104:1088 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1088 161.129.204.104:1087 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1090 161.129.204.104:1091 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1091 161.129.204.104:1090 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1092 161.129.204.104:1093 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1093 161.129.204.104:1092 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1094 161.129.204.104:1095 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1095 161.129.204.104:1094 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1096 161.129.204.104:1097 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1097 161.129.204.104:1096 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1098 161.129.204.104:1099 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1099 161.129.204.104:1098 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1101 161.129.204.104:1102 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1102 161.129.204.104:1101 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1103 161.129.204.104:1104 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1104 161.129.204.104:1103 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1105 161.129.204.104:1106 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1106 161.129.204.104:1105 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1107 161.129.204.104:1108 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1108 161.129.204.104:1107 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1109 161.129.204.104:1110 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1110 161.129.204.104:1109 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1112 161.129.204.104:1113 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1113 161.129.204.104:1112 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1114 161.129.204.104:1115 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1115 161.129.204.104:1114 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1116 161.129.204.104:1117 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1117 161.129.204.104:1116 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1118 161.129.204.104:1119 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1119 161.129.204.104:1118 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1120 161.129.204.104:1121 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1121 161.129.204.104:1120 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1123 161.129.204.104:1124 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1124 161.129.204.104:1123 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1125 161.129.204.104:1126 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1126 161.129.204.104:1125 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1127 161.129.204.104:1128 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1128 161.129.204.104:1127 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1129 161.129.204.104:1130 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1130 161.129.204.104:1129 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1131 161.129.204.104:1132 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1132 161.129.204.104:1131 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1134 161.129.204.104:1135 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1135 161.129.204.104:1134 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1136 161.129.204.104:1137 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1137 161.129.204.104:1136 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1138 161.129.204.104:1139 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1139 161.129.204.104:1138 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1140 161.129.204.104:1141 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1141 161.129.204.104:1140 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1142 161.129.204.104:1143 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1143 161.129.204.104:1142 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1144 161.129.204.104:1145 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1145 161.129.204.104:1144 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1146 161.129.204.104:1147 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1147 161.129.204.104:1146 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1148 161.129.204.104:1149 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1149 161.129.204.104:1148 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1150 161.129.204.104:1151 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1151 161.129.204.104:1150 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1153 161.129.204.104:1154 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1154 161.129.204.104:1153 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1155 161.129.204.104:1156 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1156 161.129.204.104:1155 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1157 161.129.204.104:1158 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1158 161.129.204.104:1157 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1159 161.129.204.104:1160 ESTABLISHED 2792 [tomcat6.exe] TCP 161.129.204.104:1160 161.129.204.104:1159 ESTABLISHED 2792 [tomcat6.exe] --90e6ba5bbab7a8c49b049bc1e30e-- From [email protected] Tue Feb 08 09:29:47 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65066 invoked from network); 8 Feb 2011 09:29:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Feb 2011 09:29:47 -0000 Received: (qmail 78273 invoked by uid 500); 8 Feb 2011 09:29:47 -0000 Delivered-To: [email protected] Received: (qmail 78098 invoked by uid 500); 8 Feb 2011 09:29:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 78090 invoked by uid 99); 8 Feb 2011 09:29:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Feb 2011 09:29:44 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-fx0-f43.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Feb 2011 09:29:38 +0000 Received: by fxm18 with SMTP id 18so6499697fxm.2 for <[email protected]>; Tue, 08 Feb 2011 01:29:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:reply-to:user-agent :mime-version:to:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=sCpclelLLKQgSf2tN5KSnTLh3MfcPeJwW5JLa8J0Ppw=; b=Od6GDsFZfYHFhofDFa3czn1rmepc4Ui8sjM8D/5JCITGH9ZJuWeGjUZRNOtPdMRErr 53VRM1g4c4jvVjZeUZao4y5axjJDE5DDSybWuxBFWQdTCeOnv9Zk+Zvzwpm8aVoYGROW MXXf7GIpn8cHYrR3sly2ZRJIHVPlB4H5k2dwE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=pVQ24Cfnsuvz9WKOBECU0zLFgrZymeRKXMb2xv/8hoG63FIQeWVCzGyFBsI2d6bdRp ks17X9Ok2i3uEPXjpPOzwEFyHgmheLLqGMguPi4evNeG+/md+MCOesrF+rVUzyx5xPAX 5+rguui/h2/BEdMoNpryzkAxq7wwEOeKLl/lk= Received: by 161.129.204.104 with SMTP id f14mr14802936fal.0.1297157356767; Tue, 08 Feb 2011 01:29:16 -0800 (PST) Received: from emmanuel-lecharnys-MacBook-Pro.local (ran75-1-78-192-106-184.fbxo.proxad.net [161.129.204.104]) by mx.google.com with ESMTPS id r24sm1605043fax.27.2161.129.204.104.29.14 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 08 Feb 2011 01:29:15 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 08 Feb 2011 10:29:14 +0100 From: Emmanuel Lecharny <[email protected]> Reply-To: [email protected] User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: Weird connection pattern References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 2/8/11 10:22 AM, Francesco Vivoli wrote: > Hi there > > I'm still in the process of assessing an application which make a fairly > heavy use of mina. It is packaged as a webapp deployed under tomcat. > > Using netstat I have noticed a strange (to me) connection pattern like the > one attached below. I understand that this is very application specific and > that it's hard to draw conclusions just looking at this trace, but this > application itself doesn't open internal connections this way: it is > basically a bunch of acceptors and connectors, so nothing that would explain > a netstat output like this. Moreover, I have used a sniffer to inspect > traffic but I haven't captured any of it. Strange. > > Does anybody have ever noticed something like this? The server running this > application has shown to sometimes to run out of resources (not being able from > the system nonpaged pool and thus not being able to create any more > connections) and I'm trying to get to the cause. I have been monitoring the > trend of these connections and they seem to enlarge and shrink but > definitely they show a steady growth. Still, I don't know who's opening > them. I hope you guys can help:) > > Btw, production is still running 2.0.0-M6. First thing I would do would be to switch to MINA 2.0.2. 2.0.0-M6 is just totally outdated. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com From [email protected] Tue Feb 08 10:33:31 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93415 invoked from network); 8 Feb 2011 10:33:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Feb 2011 10:33:31 -0000 Received: (qmail 70960 invoked by uid 500); 8 Feb 2011 10:33:31 -0000 Delivered-To: [email protected] Received: (qmail 70788 invoked by uid 500); 8 Feb 2011 10:33:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 70775 invoked by uid 99); 8 Feb 2011 10:33:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Feb 2011 10:33:28 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ew0-f43.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Feb 2011 10:33:23 +0000 Received: by ewy22 with SMTP id 22so3135442ewy.2 for <[email protected]>; Tue, 08 Feb 2011 02:33:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=xaj9xM3ozNJI/xE1a6u326USvQplR0Xdi1HCcqJcfp8=; b=K16PDH6mxH/ZDYHsDi7jHOkCw4lYhtXYGNmnyK4sTnsSO3UBEMqJG+DaicVS07LPte Mi2yo//q4ht2huYheqjazI12zMNm87fo/dSDweVlvmUKkCUeAg96oZKldDerHMRlblxA PoMrLGvTl/sMutOMTz/Jkl10dxEMUenIM39oc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=kInmQOhcH5W5lYz5rLiFbvyCT71VsTFD3r+iLTTg17GurJMu+bL4gNesPL/eJaLCvE Idz8sXZMOYreBupxsbasqQ3Sve/uc7/YKQ9ysb+1jmfywin1UpKG4zvQ/ctQWKUc9wDt ER75pmHNTz63gqAcSoLg80fC7ja+q5TigsLMs= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id s42mr6678096eeb.44.1297161181653; Tue, 08 Feb 2011 02:33:01 -0800 (PST) Received: by 161.129.204.104 with HTTP; Tue, 8 Feb 2011 02:33:01 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Tue, 8 Feb 2011 11:33:01 +0100 Message-ID: <[email protected]> Subject: Re: Weird connection pattern From: Francesco Vivoli <[email protected]> To: [email protected], [email protected] Content-Type: multipart/alternative; boundary=90e6ba6154e072eb7b049bc2dff5 --90e6ba6154e072eb7b049bc2dff5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable we have migrated to 2.0.2 in our dev environment, I still have to run tests in pre-production though. I'll follow up once I have done so and checked whether this behavior persists. regards F On Tue, Feb 8, 2011 at 10:29 AM, Emmanuel Lecharny <[email protected]>wro= te: > On 2/8/11 10:22 AM, Francesco Vivoli wrote: > >> Hi there >> >> I'm still in the process of assessing an application which make a fairly >> heavy use of mina. It is packaged as a webapp deployed under tomcat. >> >> Using netstat I have noticed a strange (to me) connection pattern like t= he >> one attached below. I understand that this is very application specific >> and >> that it's hard to draw conclusions just looking at this trace, but this >> application itself doesn't open internal connections this way: it is >> basically a bunch of acceptors and connectors, so nothing that would >> explain >> a netstat output like this. Moreover, I have used a sniffer to inspect >> traffic but I haven't captured any of it. Strange. >> >> Does anybody have ever noticed something like this? The server running >> this >> application has shown to sometimes to run out of resources (not being ab= le >> from >> the system nonpaged pool and thus not being able to create any more >> connections) and I'm trying to get to the cause. I have been monitoring >> the >> trend of these connections and they seem to enlarge and shrink but >> definitely they show a steady growth. Still, I don't know who's opening >> them. I hope you guys can help:) >> >> Btw, production is still running 2.0.0-M6. >> > > First thing I would do would be to switch to MINA 2.0.2. 2.0.0-M6 is just > totally outdated. > > > -- > Regards, > Cordialement, > Emmanuel L=E9charny > www.iktek.com > > --90e6ba6154e072eb7b049bc2dff5-- From [email protected] Tue Feb 08 11:11:19 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13132 invoked from network); 8 Feb 2011 11:11:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Feb 2011 11:11:19 -0000 Received: (qmail 22073 invoked by uid 500); 8 Feb 2011 11:11:19 -0000 Delivered-To: [email protected] Received: (qmail 21852 invoked by uid 500); 8 Feb 2011 11:11:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 21844 invoked by uid 99); 8 Feb 2011 11:11:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Feb 2011 11:11:15 +0000 X-ASF-Spam-Status: No, hits=3.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-yx0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Feb 2011 11:11:07 +0000 Received: by yxd30 with SMTP id 30so2633986yxd.2 for <[email protected]>; Tue, 08 Feb 2011 03:10:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:date:x-google-sender-auth :message-id:subject:from:to:content-type; bh=Qv9CDh/DQ3vqn/ca8LJOL8rO+AE0q4jGkVP4oLmu830=; b=d46CALE1x4gkRmFjMwpsjTxU+/cmD9oL37Jdz7lsZVrmC1uDN4odvvntsexNP9jZgV VsT7PHYvmmTeYXwX4X6Uj035xzhwInn2WMQ58KCSjd/Ck2heehlC5EG5wvyoEKmf71FM eGUNHyvt44EgR24ogocRIUpBGn4UrSWdzmSok= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=R0t/naj56HIQ3N21R1eigt7iYRCryyc1e4extHhg3rIMJweW+UAtbLTbGD/jJfaZAD kt1QGrVNc89MxaObxTCvXAxXMsCDUFGZtgs77hdS5Py7l++pwRWsZt8wENDonnJT74R3 kiQADSgKin3s59JVQIgrFRZAol2abx/AGuTz8= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id g13mr16994600ybl.51.1297163446801; Tue, 08 Feb 2011 03:10:46 -0800 (PST) Sender: [email protected] Received: by 161.129.204.104 with HTTP; Tue, 8 Feb 2011 03:10:46 -0800 (PST) Date: Tue, 8 Feb 2011 12:10:46 +0100 X-Google-Sender-Auth: BCNU0bHxZsSkyn0jgz8bgb5dG6w Message-ID: <[email protected]> Subject: Mina get a lot of memory From: antares <[email protected]> To: [email protected] Content-Type: multipart/mixed; boundary=0015174becc0765701049bc36699 X-Virus-Checked: Checked by ClamAV on apache.org --0015174becc0765701049bc36699 Content-Type: multipart/alternative; boundary=0015174becc07656f1049bc36697 --0015174becc07656f1049bc36697 Content-Type: text/plain; charset=ISO-8859-1 Hi, i need help. Hi, I am using mina 2.0.0 fo ra simple policy server. (see attachment) It starts a server acceptor but it takes a lot of memory before: * total used free shared buffers cached Mem: 924 287 636 0 0 0 -/+ buffers/cache: 287 636 Swap: 0 0 0* after: root@ve:/var/www/java/ PolicyServer# free -m * total used free shared buffers cached Mem: 924 633 290 0 0 0 -/+ buffers/cache: 633 290 Swap: 0 0 0* about *420mb *so i cant start the other server because i get this error : Error occurred during initialization of VM Could not reserve enough space for object heap Could not create the Java virtual machine. There is a way i can reduce the memory needed by mina ? Thanks for you time Francesco --0015174becc07656f1049bc36697 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: base64 SGksPGJyPmkgbmVlZCBoZWxwLjxicj48YnI+SGksPGJyPkkgYW0gdXNpbmcgbWluYSAyLjAuMCBm byByYSBzaW1wbGUgcG9saWN5IHNlcnZlci4gKHNlZSBhdHRhY2htZW50KTxicj48YnI+SXQgc3Rh cnRzIGEgc2VydmVyIGFjY2VwdG9yIGJ1dCBpdCB0YWtlcyBhIGxvdCBvZiBtZW1vcnk8YnI+PGJy PmJlZm9yZTo8YnI+PGJyPjxiPqCgoKCgoKCgoKCgoCB0b3RhbKCgoKCgoCB1c2VkoKCgoKCgIGZy ZWWgoKCgIHNoYXJlZKCgoCBidWZmZXJzoKCgoCBjYWNoZWQ8YnI+Ck1lbTqgoKCgoKCgoKCgIDky NKCgoKCgoKAgMjg3oKCgoKCgoCA2MzagoKCgoKCgoKAgMKCgoKCgoKCgoCAwoKCgoKCgoKCgIDA8 YnI+Ci0vKyBidWZmZXJzL2NhY2hlOqCgoKCgoKAgMjg3oKCgoKCgoCA2MzY8YnI+U3dhcDqgoKCg oKCgoKCgoCAwoKCgoKCgoKCgIDCgoKCgoKCgoKAgMDwvYj48YnI+PGJyPmFmdGVyOjxicj5yb290 QHZlOi92YXIvd3d3L2phdmEvPGRpdiBpZD0iOjI4YyI+UG9saWN5U2VydmVyIyBmcmVlIC1tPGJy Pjxicj48Yj6goKCgoKCgoKCgoKAgdG90YWygoKCgoKAgdXNlZKCgoKCgoCBmcmVloKCgoCBzaGFy ZWSgoKAgYnVmZmVyc6CgoKAgY2FjaGVkPGJyPgoKTWVtOqCgoKCgoKCgoKAgOTI0oKCgoKCgoCA2 MzOgoKCgoKCgIDI5MKCgoKCgoKCgoCAwoKCgoKCgoKCgIDCgoKCgoKCgoKAgMDxicj4tLysgYnVm ZmVycy9jYWNoZTqgoKCgoKCgIDYzM6CgoKCgoKAgMjkwPGJyPlN3YXA6oKCgoKCgoKCgoKAgMKCg oKCgoKCgoCAwoKCgoKCgoKCgIDA8L2I+PGJyPjxicj5hYm91dCA8Yj40MjBtYiA8L2I+c28gaSBj YW50IHN0YXJ0IHRoZSBvdGhlciBzZXJ2ZXIgYmVjYXVzZSBpIGdldCB0aGlzIGVycm9yIDo8YnI+ Cgo8YnI+RXJyb3Igb2NjdXJyZWQgZHVyaW5nIGluaXRpYWxpemF0aW9uIG9mIFZNPGJyPkNvdWxk IG5vdCByZXNlcnZlIGVub3VnaCBzcGFjZSBmb3Igb2JqZWN0IGhlYXA8YnI+Q291bGQgbm90IGNy ZWF0ZSB0aGUgSmF2YSB2aXJ0dWFsIG1hY2hpbmUuPGJyPjxicj5UaGVyZSBpcyBhIHdheSBpIGNh biByZWR1Y2UgdGhlIG1lbW9yeSBuZWVkZWQgYnkgbWluYSA/PGJyPlRoYW5rcyBmb3IgeW91IHRp bWU8YnI+Cjxicj5GcmFuY2VzY288L2Rpdj48YnI+Cg== --0015174becc07656f1049bc36697-- --0015174becc0765701049bc36699-- From [email protected] Tue Feb 08 11:25:16 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17276 invoked from network); 8 Feb 2011 11:25:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Feb 2011 11:25:16 -0000 Received: (qmail 43038 invoked by uid 500); 8 Feb 2011 11:25:16 -0000 Delivered-To: [email protected] Received: (qmail 42681 invoked by uid 500); 8 Feb 2011 11:25:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 42665 invoked by uid 99); 8 Feb 2011 11:25:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Feb 2011 11:25:12 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f43.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Feb 2011 11:25:05 +0000 Received: by bwz14 with SMTP id 14so6772063bwz.2 for <[email protected]>; Tue, 08 Feb 2011 03:24:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:reply-to:user-agent :mime-version:to:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=I55e9+q+4IyzJpf3t5dg42N1fn6DzAPykA8YCO2V9X0=; b=NAOsCCzxwxuA0HANJ5n526k4x2agVQgSwCC08z4m8RG7rIJwle1F5UnuKTxf4A97lv 69/i1d71nniRgH0OfRvU6hZ2HoPichP8BaJ5EpN4XBxeFzuW57pdwJKogEKALoc9Dog2 zOoL5qYrCHCb0+3yz7OPp6HYQjI9ZSrfK6YJ8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=u7hji2tqO0CavyORggAsCCgkvASUqRaRYzlk3J4ReirrKsdE1j0BrRxUYL9nAZvJ6q oZ4kRscF5k35/WiJQe67JbmXTE3BlvD36iBcLjnP0Wx4KRrUyx/1OTvnoeJZstL/Bley jK1/+xG6qB5Ibjrj9WFHLKO5MIPjnG6ze7+Vw= Received: by 161.129.204.104 with SMTP id u17mr16892113bki.39.1297164283310; Tue, 08 Feb 2011 03:24:43 -0800 (PST) Received: from emmanuel-lecharnys-MacBook-Pro.local (ran75-1-78-192-106-184.fbxo.proxad.net [161.129.204.104]) by mx.google.com with ESMTPS id 12sm2660514bki.7.2161.129.204.104.24.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 08 Feb 2011 03:24:42 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 08 Feb 2011 12:24:40 +0100 From: Emmanuel Lecharny <[email protected]> Reply-To: [email protected] User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: Mina get a lot of memory References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 2/8/11 12:10 PM, antares wrote: > Hi, > i need help. > > Hi, > I am using mina 2.0.0 fo ra simple policy server. (see attachment) > > It starts a server acceptor but it takes a lot of memory > > before: > > * total used free shared buffers cached > Mem: 924 287 636 0 0 0 > -/+ buffers/cache: 287 636 > Swap: 0 0 0* > > after: > root@ve:/var/www/java/ > PolicyServer# free -m > > * total used free shared buffers cached > Mem: 924 633 290 0 0 0 > -/+ buffers/cache: 633 290 > Swap: 0 0 0* > > about *420mb *so i cant start the other server because i get this error : > > Error occurred during initialization of VM > Could not reserve enough space for object heap > Could not create the Java virtual machine. > > There is a way i can reduce the memory needed by mina ? Mina per se does not 'need' a lot of memory. Your application just sucks up the memory. Fix your application, your problem should be resolved. There are quite good memory profiler ot there, they could be handy... -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com From [email protected] Tue Feb 08 13:04:17 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64534 invoked from network); 8 Feb 2011 13:04:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Feb 2011 13:04:16 -0000 Received: (qmail 77027 invoked by uid 500); 8 Feb 2011 13:04:16 -0000 Delivered-To: [email protected] Received: (qmail 76796 invoked by uid 500); 8 Feb 2011 13:04:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 76734 invoked by uid 99); 8 Feb 2011 13:04:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Feb 2011 13:04:12 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO smtp.smtpout.orange.fr) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Feb 2011 13:04:05 +0000 Received: from wwinf1d21 ([161.129.204.104]) by mwinf5d40 with ME id 5R3j1g00C0yQKdm03R3jGF; Tue, 08 Feb 2011 14:03:44 +0100 Date: Tue, 8 Feb 2011 14:03:43 +0100 (CET) From: Francis ANDRE <[email protected]> Reply-To: Francis ANDRE <[email protected]> To: [email protected], [email protected] Message-ID: <31222930.83109.1297170223702.JavaMail.www@wwinf1d21> In-Reply-To: <[email protected]> References: <26465184.44637.1297090825954.JavaMail.www@wwinf1d02> <[email protected]> Subject: Re: Newbie: SingleSessionIoHandlerAdapter deprecated; replaced by??? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_83108_24446462.1297170223682" X-Originating-IP: [161.129.204.104] X-Wum-Nature: EMAIL-NATURE X-WUM-FROM: |~| X-WUM-TO: |~||~| X-WUM-REPLYTO: |~| ------=_Part_83108_24446462.1297170223682 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Emmanuel I would like to use the latest version of Mina i.e Mina 2.0 if possible and= I do not use any previous version. My application should not get more than= 500 clients so the one connection/one session/one blocking thread model is= fine from my perspective since it allow to use field members as contextual= data. Regards Francis > Message du 07/02/11 18:58 > De : "Emmanuel Lecharny"=20 > A : [email protected] > Copie =C3=A0 :=20 > Objet : Re: Newbie: SingleSessionIoHandlerAdapter deprecated; replaced by= ??? >=20 > On 2/7/11 4:00 PM, Francis ANDRE wrote: > > Hi > > > > I want to use Mina with a single handler per session as provided by the= class SingleSessionIoHandlerAdapter but this later is deprecated. Can some= one drop me the main lines of code for replacing this class by a non deprec= ated ones. > Hmmm... Can you give us a bit more information, like the MINA version=20 > you are using and the version you'd like to use ? >=20 > Thanks ! >=20 > --=20 > Regards, > Cordialement, > Emmanuel L=C3=A9charny > www.iktek.com >=20 > ------=_Part_83108_24446462.1297170223682-- From [email protected] Tue Feb 08 17:01:19 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 96290 invoked from network); 8 Feb 2011 17:01:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Feb 2011 17:01:19 -0000 Received: (qmail 56225 invoked by uid 500); 8 Feb 2011 17:01:17 -0000 Delivered-To: [email protected] Received: (qmail 55383 invoked by uid 500); 8 Feb 2011 17:01:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 55335 invoked by uid 99); 8 Feb 2011 17:01:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Feb 2011 17:01:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 08 Feb 2011 17:01:09 +0000 Received: (qmail 95640 invoked by uid 99); 8 Feb 2011 17:00:45 -0000 Received: from localhost.apache.org (HELO emmanuel-lecharnys-MacBook-Pro.local) (161.129.204.104) (smtp-auth username elecharny, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Feb 2011 17:00:45 +0000 Message-ID: <[email protected]> Date: Tue, 08 Feb 2011 18:00:43 +0100 From: =?UTF-8?B?RW1tYW51ZWwgTMOpY2hhcm55?= <[email protected]> Reply-To: [email protected] Organization: The Apache Software Foundation User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: Newbie: SingleSessionIoHandlerAdapter deprecated; replaced by??? References: <26465184.44637.1297090825954.JavaMail.www@wwinf1d02> <[email protected]> <31222930.83109.1297170223702.JavaMail.www@wwinf1d21> In-Reply-To: <31222930.83109.1297170223702.JavaMail.www@wwinf1d21> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 2/8/11 2:03 PM, Francis ANDRE wrote: > Hi Emmanuel > > I would like to use the latest version of Mina i.e Mina 2.0 if possible and I do not use any previous version. My application should not get more than 500 clients so the one connection/one session/one blocking thread model is fine from my perspective since it allow to use field members as contextual data. If you want to attach a session to a single thread, then there is no real advantage in using NIO. In any case, you can still have a few threads processing the requests from many clients without having any trouble with the contextual data : they are associated with the session, not with the thread processing them. All in all, you should not taking care of the threads your session is running on with MINA. Attach you data to the user's session, this is the way to go. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com From [email protected] Wed Feb 09 05:29:04 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22875 invoked from network); 9 Feb 2011 05:29:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Feb 2011 05:29:04 -0000 Received: (qmail 5068 invoked by uid 500); 9 Feb 2011 05:29:04 -0000 Delivered-To: [email protected] Received: (qmail 4972 invoked by uid 500); 9 Feb 2011 05:29:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 4959 invoked by uid 99); 9 Feb 2011 05:28:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Feb 2011 05:28:59 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FREEMAIL_FROM,MSGID_MULTIPLE_AT,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO smtp.smtpout.orange.fr) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Feb 2011 05:28:50 +0000 Received: from Falbala ([161.129.204.104]) by mwinf5d07 with ME id 5hUV1g0014ctjCS03hUV1J; Wed, 09 Feb 2011 06:28:29 +0100 From: "Francis ANDRE" <[email protected]> To: <[email protected]>, <[email protected]> References: <26465184.44637.1297090825954.JavaMail.www@wwinf1d02> <[email protected]> <31222930.83109.1297170223702.JavaMail.www@wwinf1d21> <[email protected]> In-Reply-To: <[email protected]> Subject: RE: Newbie: SingleSessionIoHandlerAdapter deprecated; replaced by??? Date: Wed, 9 Feb 2011 06:28:32 +0100 Message-ID: <[email protected]@orange.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcvHsc6hMIzkM/0MR6yDAOby8iFNZAAZ72Ng Content-Language: fr x-cr-hashedpuzzle: BAUp BkAV Cywo EEd1 FqZ7 IOC1 I3AI MK8W NaJc ROqr Uslj VV9I VYtw WVFC Xeei XhUC;2;ZQBsAGUAYwBoAGEAcgBuAHkAQABhAHAAYQBjAGgAZQAuAG8AcgBnADsAdQBzAGUAcgBzAEAAbQBpAG4AYQAuAGEAcABhAGMAaABlAC4AbwByAGcA;Sosha1_v1;7;{03706212-1568-468C-930E-D369F97AD4F5};ZgByAGEAbgBjAGkAcwAuAGEAbgBkAHIAZQAuAGsAYQBtAHAAYgBlAGwAbABAAG8AcgBhAG4AZwBlAC4AZgByAA==;Wed, 09 Feb 2011 05:28:20 GMT;UgBFADoAIABOAGUAdwBiAGkAZQA6ACAAUwBpAG4AZwBsAGUAUwBlAHMAcwBpAG8AbgBJAG8ASABhAG4AZABsAGUAcgBBAGQAYQBwAHQAZQByACAAZABlAHAAcgBlAGMAYQB0AGUAZAA7ACAAcgBlAHAAbABhAGMAZQBkACAAYgB5AD8APwA/AA== x-cr-puzzleid: {03706212-1568-468C-930E-D369F97AD4F5} X-Virus-Checked: Checked by ClamAV on apache.org > If you want to attach a session to a single thread, then there is no > real advantage in using NIO. In any case, you can still have a few > threads processing the requests from many clients without having any > trouble with the contextual data : they are associated with the = session, > not with the thread processing them. >=20 [FA] I understand your point but I would like to gain experience in = using Mina. Could you tell roughly how to do the equivalent = SingleSessionIoHandlerAdapter and apply it with Mina 2.0? Thanks From [email protected] Wed Feb 09 09:25:30 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44637 invoked from network); 9 Feb 2011 09:25:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Feb 2011 09:25:29 -0000 Received: (qmail 24692 invoked by uid 500); 9 Feb 2011 09:25:29 -0000 Delivered-To: [email protected] Received: (qmail 24323 invoked by uid 500); 9 Feb 2011 09:25:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 90454 invoked by uid 99); 9 Feb 2011 07:23:15 -0000 X-ASF-Spam-Status: No, hits=2.9 required=5.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CBC82A.2DF5FDCE" Subject: SessionHandler - sessionClosed Date: Wed, 9 Feb 2011 02:23:20 -0500 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: SessionHandler - sessionClosed Thread-Index: AcvIKjqNClPYz7CWRwKTXDyx5OOn4Q== From: "Guy Itzhaki" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01CBC82A.2DF5FDCE Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable All, Is there a guarantee that once exceptionCaught(...) or sessionIdle(...) methods are invoked the sessionClosed() method will be invoked too? =20 Thanks Guy ------_=_NextPart_001_01CBC82A.2DF5FDCE-- From [email protected] Thu Feb 10 11:58:31 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99430 invoked from network); 10 Feb 2011 11:58:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Feb 2011 11:58:31 -0000 Received: (qmail 7838 invoked by uid 500); 10 Feb 2011 11:58:30 -0000 Delivered-To: [email protected] Received: (qmail 7645 invoked by uid 500); 10 Feb 2011 11:58:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 7628 invoked by uid 99); 10 Feb 2011 11:58:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Feb 2011 11:58:26 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ey0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Feb 2011 11:58:20 +0000 Received: by eyg5 with SMTP id 5so701474eyg.2 for <[email protected]>; Thu, 10 Feb 2011 03:57:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=zI8jFlCZSGVMRUXfD90N8EIcQV94OprS3GW2+fzay8k=; b=SMSiOMW/VuzqhR6LgCGQzxm52UZfio3634mgDEOsk7RyBttG8NFCj/9D3IfhNN6qud fZpXDls8cXoEOtIy5vJUcoqlbWPZ3Jju/lgop/E/2aSrxiiXYujZg9nvmSni+NhaVb8Q mJ2OqrhnzPubgZToIqR1BZc45rcTMXz21GBg4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=XvOjT6+l90EgOpKtQYQ+2MnYzd8tBO1Egbsg8staEQQZ2XBDN2X6+BPjS5EQ3/RFKL tdWBUcwlknbpHkv+2KsbP8oXlVsLcecul1wi4M0/bjJxCZLMymPRFZCgkEdPnzvwcUup mvJZP8RHlp7LlMztB2zbcUfPIowdiP6S2123o= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id x10mr10174817eea.9.1297339078388; Thu, 10 Feb 2011 03:57:58 -0800 (PST) Received: by 161.129.204.104 with HTTP; Thu, 10 Feb 2011 03:57:58 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Date: Thu, 10 Feb 2011 12:57:58 +0100 Message-ID: <[email protected]> Subject: Re: Weird connection pattern From: Francesco Vivoli <[email protected]> To: [email protected], [email protected] Content-Type: multipart/alternative; boundary=90e6ba539efaebae8b049bec4a61 --90e6ba539efaebae8b049bec4a61 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Ok, I have run some other tests with mina-core-2.0.2 and this connection pattern is still there... It surely has to deal with Windows since, on Linu= x and Mac OS X there's no sign of it. I am still trying to capture traffic going through any of these connection but it can't see any of it. Frankly I'm a bit concerned as we had a system failure weeks ago where Windows reported it was out of nonpaged pool, and it stopped being able to create new connections. On average netstat shows around 250-300 established connections of which some 80 are these "unknown" ones. It also has 30-40 TIME_WAIT ones. Since the app we're working on basically is just a webapp using mina and a DB, and being able to pinpoint db connections easily, do you have some idea= s about what could be causing this and if we should worry about it (right now we do, maybe it's a well known Windows/NIO behavior that I haven't been abl= e to locate). Thanks again, regards Francesco On Tue, Feb 8, 2011 at 11:33 AM, Francesco Vivoli <[email protected]>wrote= : > we have migrated to 2.0.2 in our dev environment, I still have to run tes= ts > in pre-production though. I'll follow up once I have done so and checked > whether this behavior persists. > > regards > F > > > On Tue, Feb 8, 2011 at 10:29 AM, Emmanuel Lecharny <[email protected]>w= rote: > >> On 2/8/11 10:22 AM, Francesco Vivoli wrote: >> >>> Hi there >>> >>> I'm still in the process of assessing an application which make a fairl= y >>> heavy use of mina. It is packaged as a webapp deployed under tomcat. >>> >>> Using netstat I have noticed a strange (to me) connection pattern like >>> the >>> one attached below. I understand that this is very application specific >>> and >>> that it's hard to draw conclusions just looking at this trace, but this >>> application itself doesn't open internal connections this way: it is >>> basically a bunch of acceptors and connectors, so nothing that would >>> explain >>> a netstat output like this. Moreover, I have used a sniffer to inspect >>> traffic but I haven't captured any of it. Strange. >>> >>> Does anybody have ever noticed something like this? The server running >>> this >>> application has shown to sometimes to run out of resources (not being >>> able from >>> the system nonpaged pool and thus not being able to create any more >>> connections) and I'm trying to get to the cause. I have been monitoring >>> the >>> trend of these connections and they seem to enlarge and shrink but >>> definitely they show a steady growth. Still, I don't know who's opening >>> them. I hope you guys can help:) >>> >>> Btw, production is still running 2.0.0-M6. >>> >> >> First thing I would do would be to switch to MINA 2.0.2. 2.0.0-M6 is jus= t >> totally outdated. >> >> >> -- >> Regards, >> Cordialement, >> Emmanuel L=E9charny >> www.iktek.com >> >> > --90e6ba539efaebae8b049bec4a61-- From [email protected] Thu Feb 10 13:33:33 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64643 invoked from network); 10 Feb 2011 13:33:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Feb 2011 13:33:32 -0000 Received: (qmail 15995 invoked by uid 500); 10 Feb 2011 13:33:32 -0000 Delivered-To: [email protected] Received: (qmail 15672 invoked by uid 500); 10 Feb 2011 13:33:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 15664 invoked by uid 99); 10 Feb 2011 13:33:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Feb 2011 13:33:28 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ew0-f43.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Feb 2011 13:33:23 +0000 Received: by ewy22 with SMTP id 22so741067ewy.2 for <[email protected]>; Thu, 10 Feb 2011 05:33:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=bmH+iT8WqmRXu3NuqiQZOMY74k0g7Y0hStQjgWtseH4=; b=CLtlIuT5nXB1BwWCgNLzHV9ZKd1cvPT3pfZAN1e7T8sawO0r7jHOTtody770baUZWD 55nv+kT2X2Nqq//nWlS2ExH/gRJ+lv/P/zX1j9g/iRvnw8K/DD2i8mJzJxsXht9z/Uuh LjApxr5BBR9gRXnZIQRPKfcG0lesWIyuC4Dpg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=dbEMwfV0slPh/WzIl6hHbYVAd15QUD6Tf84w/lJdVyf9IKW1II6kCHxd5sqJDVp3WR XZs0IggoSpempUuHg8qaaBz8YQUKOo7Emg2YARxKbG4jrFZrG8FpvRfZ80RVfBBoQJR/ JGPiIKp8MEfBbfX+BPoZWWi5io8wtWsbuZcWM= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id m48mr7785133eeh.30.1297344781589; Thu, 10 Feb 2011 05:33:01 -0800 (PST) Received: by 161.129.204.104 with HTTP; Thu, 10 Feb 2011 05:33:00 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Thu, 10 Feb 2011 14:33:00 +0100 Message-ID: <[email protected]> Subject: Re: Weird connection pattern From: Francesco Vivoli <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=90e6ba5bb989dbb358049bed9e69 --90e6ba5bb989dbb358049bed9e69 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I'm reposting this, I had left out the mina-users ml address On Thu, Feb 10, 2011 at 2:06 PM, Francesco Vivoli <[email protected]>wrote= : > > > On Thu, Feb 10, 2011 at 1:29 PM, Emmanuel L=E9charny <[email protected]= g>wrote: > >> On 2/10/11 12:57 PM, Francesco Vivoli wrote: >> >>> Ok, I have run some other tests with mina-core-2.0.2 and this connectio= n >>> pattern is still there... It surely has to deal with Windows since, on >>> Linux >>> and Mac OS X there's no sign of it. >>> >>> I am still trying to capture traffic going through any of these >>> connection >>> but it can't see any of it. >>> >> >> Are you using Wireshark ? >> >> > Yes, why? > > >> Frankly I'm a bit concerned as we had a system failure weeks ago where >>> Windows reported it was out of nonpaged pool, and it stopped being able >>> to >>> create new connections. On average netstat shows around 250-300 >>> established >>> connections of which some 80 are these "unknown" ones. It also has 30-4= 0 >>> TIME_WAIT ones. >>> >> >> 300 established connections is just nothing. On a loaded server, you may >> get hundreds of thousands established connections. Although I would neve= r >> run such a load on a windows machine, hat's for sure ... >> >> > I know it's not much, that's why it bothers me having run out of pool spa= ce > to allocate new connections... > > > >> Since the app we're working on basically is just a webapp using mina an= d >>> a >>> DB, and being able to pinpoint db connections easily, do you have some >>> ideas >>> about what could be causing this and if we should worry about it (right >>> now >>> we do, maybe it's a well known Windows/NIO behavior that I haven't been >>> able >>> to locate). >>> >> Question is : can you reproduce this behaviour on a test machine with fe= w >> connected sessions? It would be easier to determinate what can cause tho= se >> localhost connections to be opened. >> >> > This is going to be my next step:) > > >> Also I'm not sue that Process Explorer can help in finding which process >> exactly is creating those connections (Process Explorer is a bit like ls= of >> on linux). >> >> > netstat shows that they are all owned by the tomcat process. > > Thanks, regards > Francesco > > >> >> -- >> Regards, >> Cordialement, >> Emmanuel L=E9charny >> www.iktek.com >> >> > --90e6ba5bb989dbb358049bed9e69-- From [email protected] Thu Feb 10 14:06:07 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85878 invoked from network); 10 Feb 2011 14:06:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Feb 2011 14:06:07 -0000 Received: (qmail 71398 invoked by uid 500); 10 Feb 2011 14:06:07 -0000 Delivered-To: [email protected] Received: (qmail 70981 invoked by uid 500); 10 Feb 2011 14:06:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 70968 invoked by uid 99); 10 Feb 2011 14:06:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Feb 2011 14:06:04 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iw0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Feb 2011 14:05:57 +0000 Received: by iwn2 with SMTP id 2so1445186iwn.2 for <[email protected]>; Thu, 10 Feb 2011 06:05:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=OwYaTTFPJ58AMgXwte15xxtcFWO6OXoAXhdngxW5hQg=; b=d1Qv8wGk9sR509KlKkjVd7bW0fO3v0LKPe+0rL7nFexRmIG87NSaF2VXP9qiXFSCvR /bNmeKXjZgNoonhurEiqVt4vTHMtRbjkJTXM2TWN58pkupqSVsZgGkCHnLgdOkYVLw8A oeQ7haY2uyDNnt+yIqJPIf4ZTpSRzXE1pdtMs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=LltJbdapww9kIx/FGbikQqeuQMiIayOJ8L+V4hnD8FLarqin/MEW6gzYxoiZZjXwBo gVbVFJqSi8bPsHADwGuaEf3GwF1lbGzxBJw1sLIlu7UvnSOi+yeNYumtWODi4GDZm0sN ygxL7veoq8P6IaA+IowfbG7Cqz0TbhgrZtkTg= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id bo3mr4701801icb.28.1297346736446; Thu, 10 Feb 2011 06:05:36 -0800 (PST) Received: by 161.129.204.104 with HTTP; Thu, 10 Feb 2011 06:05:36 -0800 (PST) Date: Thu, 10 Feb 2011 21:05:36 +0700 Message-ID: <[email protected]> Subject: Best Practice for ChatServer Deployment From: adi milis <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=90e6ba6e85fc605d25049bee1330 --90e6ba6e85fc605d25049bee1330 Content-Type: text/plain; charset=ISO-8859-1 Hi, We are using MINA in my production server. Basically, it's just a simple chat server, with custom protocol. Mina version is 2.0.0M6, and we dont have problem with this version so switching to 2.0.2 isn't a priority at the moment. The Server OS is Linux CentOS and the clients are Brew Device (Qualcomm), running in internal network of the carrier (CDMA based). As the users grow, we are suffering with some performance issues. where some of the clients are unable to login. FYI, each client will be assigned to unique session. here's our investigation steps 1. We can see the 'request packet' captured in the application log, 2. The application completes the message construction for the response to client 3. aplication perform the final session.write(response) 4. Somehow the response packets are failed to be delivered (In the client side, it's just stop in WAITING_STATE as no packets are delivered). step #2 is related with database, we find the average time required is very acceptable (less than 100ms) the maximum concurent user ever recorded was 600 something when the problem starts to occure java memory configuration -Xmx1024m ulimit -a from console core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited file size (blocks, -f) unlimited pending signals (-i) 1024 max locked memory (kbytes, -l) 32 max memory size (kbytes, -m) unlimited open files (-n) 131072 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 stack size (kbytes, -s) 10240 cpu time (seconds, -t) unlimited max user processes (-u) 71679 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited basically I'm just change the maximum open file setting for the application. My Questions are : 1. Is there any other possible tuning required in the OS configuration 2. How to deploy scalable mina application. Let say that I want to deploy my application in N servers. 3. Is it possible that any setting required from the carrier (DNS, Timeout, Dormant time) may have affect the chat application ? Regards, Adi --90e6ba6e85fc605d25049bee1330-- From [email protected] Thu Feb 10 14:20:01 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88706 invoked from network); 10 Feb 2011 14:20:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Feb 2011 14:20:00 -0000 Received: (qmail 86419 invoked by uid 500); 10 Feb 2011 14:20:00 -0000 Delivered-To: [email protected] Received: (qmail 85992 invoked by uid 500); 10 Feb 2011 14:19:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 85984 invoked by uid 99); 10 Feb 2011 14:19:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Feb 2011 14:19:55 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f43.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Feb 2011 14:19:47 +0000 Received: by bwz14 with SMTP id 14so2297285bwz.2 for <[email protected]>; Thu, 10 Feb 2011 06:19:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:reply-to:user-agent :mime-version:to:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=zVWzvd3LXOmU/pK7si2BrIxhROf/2UvvvqoqonHVhsY=; b=r8gFm/SLGuDOyvhtvAzM8+rGr1A75A6oRWwrMKyIEqHIxhl1su58GzjvoF5N55wiFP xJDWc6dxACv0NjwmKgBnGto7oAtBob1heoDqRug1DrTLZzstg0nrWflUUF+Zs0blyFEK qTjp7wWlPOenUZKYrBDsL3anPNieUi8yOGUoQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=iqkSf1xbvJJxeciRW01sjzEmkD0MdV1zla6ThSGpheHGedGaA1GIf2ORkqEfZq8LSx lry2CuZZGzqYWWQc7ZhYv/3oEMZKX+vr8RxcIwwHs/9tSa9dVB4TwXCCCA4pRTW1tfjh O3ELYIYlOQRBl9BxBEoqJBvaczIWqBwgpV3BE= Received: by 161.129.204.104 with SMTP id k17mr5217133bkh.83.1297347566691; Thu, 10 Feb 2011 06:19:26 -0800 (PST) Received: from emmanuel-lecharnys-MacBook-Pro.local (lon92-10-78-226-4-211.fbx.proxad.net [161.129.204.104]) by mx.google.com with ESMTPS id 12sm35501bki.19.2161.129.204.104.19.24 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 10 Feb 2011 06:19:25 -0800 (PST) Message-ID: <[email protected]> Date: Thu, 10 Feb 2011 15:19:23 +0100 From: Emmanuel Lecharny <[email protected]> Reply-To: [email protected] User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: Best Practice for ChatServer Deployment References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org On 2/10/11 3:05 PM, adi milis wrote: > Hi, > > We are using MINA in my production server. Basically, it's just a simple > chat server, with custom protocol. > > Mina version is 2.0.0M6, and we dont have problem with this version so > switching to 2.0.2 isn't a priority at the moment. Well, not switching would be a major mistake. 2.0.0-M6 is frankly buggy, and you may face an issue every now and then... > The Server OS is Linux CentOS and the clients are Brew Device (Qualcomm), > running in internal network of the carrier (CDMA based). > > As the users grow, we are suffering with some performance issues. where some > of the clients are unable to login. > FYI, each client will be assigned to unique session. Well, this is just the way MINA is designed... One connection -> one session. > here's our investigation steps > 1. We can see the 'request packet' captured in the application log, > 2. The application completes the message construction for the response to > client > 3. aplication perform the final session.write(response) > 4. Somehow the response packets are failed to be delivered (In the client > side, it's just stop in WAITING_STATE as no packets are delivered). Probably because your client has disconnected. There is no way for the TCP stack to know that a client brutally shutdown its computer. You have to deal with idle connections on the server side. > step #2 is related with database, we find the average time required is very > acceptable (less than 100ms) 100ms ?? Whaooohhh. This is incredibly high ! I would expect a DB to be able to process a request in less than 10ms... Let's do some maths here : - average response time : 100ms - number of IoProcessor is N - number of concurrent users is 600 so you need N = 600 * 0.1 --> 60 IoProcessor to handle the load. This is just HUGE. In other words, with a 100ms average processing time, you can't deliver more than 10 req/s on a single IoProcessor, unless you added an Executor filter in the chain. > the maximum concurent user ever recorded was 600 something when the problem > starts to occure Concurrent users != concurrent requests. How many request per second are you trying to process when the problem occurs ? Also how many IoProcessor do you use, how many core do you have on your server, what is the internal network bandwith ? > java memory configuration -Xmx1024m > ulimit -a from console > core file size (blocks, -c) 0 > data seg size (kbytes, -d) unlimited > file size (blocks, -f) unlimited > pending signals (-i) 1024 > max locked memory (kbytes, -l) 32 > max memory size (kbytes, -m) unlimited > open files (-n) 131072 > pipe size (512 bytes, -p) 8 > POSIX message queues (bytes, -q) 819200 > stack size (kbytes, -s) 10240 > cpu time (seconds, -t) unlimited > max user processes (-u) 71679 > virtual memory (kbytes, -v) unlimited > file locks (-x) unlimited > > basically I'm just change the maximum open file setting for the application. > > My Questions are : > 1. Is there any other possible tuning required in the OS configuration The first step is to discover where is your bottleneck. Is it the DB ? MINA ? Your application ? > 2. How to deploy scalable mina application. Let say that I want to deploy my > application in N servers. That should be easy assuming that your users are always redirected to the same MINA server, or if your connection is stateless. > 3. Is it possible that any setting required from the carrier (DNS, Timeout, > Dormant time) may have affect the chat application ? Difficult to say. You have to analyze the traffic to see what's going on. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com From [email protected] Thu Feb 10 15:07:33 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13750 invoked from network); 10 Feb 2011 15:07:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Feb 2011 15:07:29 -0000 Received: (qmail 74400 invoked by uid 500); 10 Feb 2011 15:07:17 -0000 Delivered-To: [email protected] Received: (qmail 71917 invoked by uid 500); 10 Feb 2011 15:07:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 71895 invoked by uid 99); 10 Feb 2011 15:07:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Feb 2011 15:07:10 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iw0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Feb 2011 15:07:04 +0000 Received: by iwn2 with SMTP id 2so1508589iwn.2 for <[email protected]>; Thu, 10 Feb 2011 07:06:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=eC0VmplcgjMCXz3QmkB/uQn8nUwahLABdsh9Hq1F6Zc=; b=jEaErMOwq+OALuZCA/uoqxLCOdsGF74AyxX2xqzIroestyJKoga1Z/DK2MWzlkq8ZM bwP21zLL37cifqVcGeBx633I3/deAQKxHajawW8+3vYGU2Ts1jVhUTHy+B993teBz6Po b3OH6qKio9FZQCqULdrq8xfm6tCSPZsr3z2zM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=kAdkacMBRpCSfdalnNpFtYBePRQQ3X+ZDInsvyYsG7nhvIrPHtatRsOhurEf8A0Xwy 2xtBAf40ekr3Zu9g7dvscfu5dXcnudvwer1P4Z0vmCuiBacFzubBpl8qvfMuwdHVS4RW pddvCJHpXOe9/lFdlo0pnevSpDWyLT5liRI4g= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id hu9mr23858239icb.363.1297350402925; Thu, 10 Feb 2011 07:06:42 -0800 (PST) Received: by 161.129.204.104 with HTTP; Thu, 10 Feb 2011 07:06:42 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Thu, 10 Feb 2011 22:06:42 +0700 Message-ID: <[email protected]> Subject: Re: Best Practice for ChatServer Deployment From: adi milis <[email protected]> To: [email protected], [email protected] Content-Type: multipart/alternative; boundary=20cf30549fcbea67b4049beeedd1 --20cf30549fcbea67b4049beeedd1 Content-Type: text/plain; charset=ISO-8859-1 Thank you for your prompt response. On Thu, Feb 10, 2011 at 9:19 PM, Emmanuel Lecharny <[email protected]>wrote: > Well, not switching would be a major mistake. 2.0.0-M6 is frankly buggy, > and you may face an issue every now and then... > Ok. > >> Probably because your client has disconnected. There is no way for the > TCP stack to know that a client brutally shutdown its computer. You have to > deal with idle connections on the server side. > > It's not actually computer, it's rather a handset device. But I got your point. in sessionIdle() we have the client removed after 60 seconds of inactivity. the protocol have ping / heartbeat to make sure the connection is still active. > step #2 is related with database, we find the average time required is >> very >> acceptable (less than 100ms) >> > > 100ms ?? Whaooohhh. This is incredibly high ! I would expect a DB to be > able to process a request in less than 10ms... > Actually a lot lesser than 100ms, maybe close to 10ms. I'm just being humble :) But I admit there's plenty of room for improvement in DB area. > Let's do some maths here : > - average response time : 100ms > - number of IoProcessor is N > - number of concurrent users is 600 > > so you need N = 600 * 0.1 --> 60 IoProcessor to handle the load. This is > just HUGE. > In other words, with a 100ms average processing time, you can't deliver more > than 10 req/s on a single IoProcessor, unless you added an Executor filter > in the chain. > > the maximum concurent user ever recorded was 600 something when the >> problem >> starts to occure >> > Concurrent users != concurrent requests. How many request per second are > you trying to process when the problem occurs ? > Most of the user only perform heartbeat every 30 sec. at best it's only 20 request per sec, worst 600 doing ping at the same time (unlikely tough) ? Adding sending message and other request .. it's likely average 30 request / sec. Am I doing my calculation right ? > Also how many IoProcessor do you use, how many core do you have on your > server, what is the internal network bandwith ? > > I'm using this code to create my socketAcceptor. chatAcceptor = new NioSocketAcceptor(Runtime.getRuntime().availableProcessors() + 1) The server is quad core with gigabit ethernet (only one interface connected to network carrier, the other interface serve for LAN) >> The first step is to discover where is your bottleneck. Is it the DB ? > MINA ? Your application ? > > I think my application is the bottleneck. For your explanation above, related with the executor chain. What i should do in order to improve the number of request for each IoProcessor ? I admit my understanding for MINA and Executor is still basic. I'll spend more time to read that section after this. Thanks again for your quick response. --20cf30549fcbea67b4049beeedd1-- From [email protected] Thu Feb 10 16:44:40 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53354 invoked from network); 10 Feb 2011 16:44:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Feb 2011 16:44:40 -0000 Received: (qmail 33253 invoked by uid 500); 10 Feb 2011 16:44:40 -0000 Delivered-To: [email protected] Received: (qmail 32926 invoked by uid 500); 10 Feb 2011 16:44:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 32918 invoked by uid 99); 10 Feb 2011 16:44:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Feb 2011 16:44:37 +0000 X-ASF-Spam-Status: No, hits=-1998.8 required=5.0 tests=ALL_TRUSTED,MISSING_HEADERS,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 10 Feb 2011 16:44:34 +0000 Received: (qmail 53263 invoked by uid 99); 10 Feb 2011 16:44:13 -0000 Received: from localhost.apache.org (HELO emmanuel-lecharnys-MacBook-Pro.local) (161.129.204.104) (smtp-auth username elecharny, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Feb 2011 16:44:12 +0000 Message-ID: <[email protected]> Date: Thu, 10 Feb 2011 17:44:10 +0100 From: =?UTF-8?B?RW1tYW51ZWwgTMOpY2hhcm55?= <[email protected]> Reply-To: [email protected] Organization: The Apache Software Foundation User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 CC: [email protected] Subject: Re: Best Practice for ChatServer Deployment References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org On 2/10/11 4:06 PM, adi milis wrote: > >>> Probably because your client has disconnected. There is no way for the >> TCP stack to know that a client brutally shutdown its computer. You have to >> deal with idle connections on the server side. >> >> It's not actually computer, it's rather a handset device. But I got your > point. > in sessionIdle() we have the client removed after 60 seconds of inactivity. > the protocol have ping / heartbeat to make sure the connection is still > active. Fine. > step #2 is related with database, we find the average time required is >>> very >>> acceptable (less than 100ms) >>> >> 100ms ?? Whaooohhh. This is incredibly high ! I would expect a DB to be >> able to process a request in less than 10ms... >> > Actually a lot lesser than 100ms, maybe close to 10ms. I'm just being humble > :) Ok, much better... > >> Concurrent users != concurrent requests. How many request per second are >> you trying to process when the problem occurs ? >> > Most of the user only perform heartbeat every 30 sec. > at best it's only 20 request per sec, worst 600 doing ping at the same time > (unlikely tough) ? > Adding sending message and other request .. it's likely average 30 request / > sec. > > Am I doing my calculation right ? If you have 600 handset being pinged at the same time, then you'll have 600 req/s :) What is important here is to determinate the time it takes to process one single request multiplied by the number of threads you have to process those requests. Let's say you use 10 threads, and that a requests costs 50 ms to be processed, then on your server you'll be maxed at around (1s/0.05ms)*10threads = 200 req/s. For pings, the time needed to process the request is most certainly sub-ms, so there is no trouble. FYI, I'm able to process up to 4500 LDAP requests per second on my laptop, the LDAP server being written in Java on top of MINA. There is a wide margin if your application does something simpler than a LDAP server :) > >> Also how many IoProcessor do you use, how many core do you have on your >> server, what is the internal network bandwith ? >> >> > I'm using this code to create my socketAcceptor. > chatAcceptor = new > NioSocketAcceptor(Runtime.getRuntime().availableProcessors() + 1) > > The server is quad core with gigabit ethernet (only one interface connected > to network carrier, the other interface serve for LAN) Just fine. You should have something like 9 IoProcessors, so you are golden. > >>> The first step is to discover where is your bottleneck. Is it the DB ? >> MINA ? Your application ? >> >> I think my application is the bottleneck. For your explanation above, > related with the executor chain. What i should do in order to improve the > number of request for each IoProcessor ? I admit my understanding for MINA > and Executor is still basic. I'll spend more time to read that section after > this. The MINA executor is nothing but a pool of threads. When an incoming requests arrives into the Executor filter, it select a free thread in the pool and ask it to process the request. If you pool is bounded, then you will be only able to process as many requests as your pool have threads. Be aware that adding an executor have deep potential impact on your code, depending on may factors (are the sessions shared, etc) Now, there is one thing you should do, it's to profile your application to see where exactly you have a bottleneck. If it's the DB, then using some cache could help.-- Regards, Cordialement, Emmanuel Lécharny www.iktek.com From [email protected] Thu Feb 10 17:34:50 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81623 invoked from network); 10 Feb 2011 17:34:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Feb 2011 17:34:50 -0000 Received: (qmail 12455 invoked by uid 500); 10 Feb 2011 17:34:50 -0000 Delivered-To: [email protected] Received: (qmail 12253 invoked by uid 500); 10 Feb 2011 17:34:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 12245 invoked by uid 99); 10 Feb 2011 17:34:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Feb 2011 17:34:47 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,MSGID_MULTIPLE_AT,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO smtp.smtpout.orange.fr) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Feb 2011 17:34:40 +0000 Received: from Falbala ([161.129.204.104]) by mwinf5d23 with ME id 6HaG1g00A4ctjCS03HaGL2; Thu, 10 Feb 2011 18:34:17 +0100 From: "Francis ANDRE" <[email protected]> To: <[email protected]> Subject: Mina 2.0: Help on ReadFuture Date: Thu, 10 Feb 2011 18:34:15 +0100 Message-ID: <[email protected]@orange.fr> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_003E_01CBC951.1F2407A0" X-Mailer: Microsoft Office Outlook 12.0 thread-index: AcvJSLvk17aBXeJjRnyoBXZO/eicBw== Content-Language: fr ------=_NextPart_000_003E_01CBC951.1F2407A0 Content-Type: multipart/alternative; boundary="----=_NextPart_001_003F_01CBC951.1F2407A0" ------=_NextPart_001_003F_01CBC951.1F2407A0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi I am trying to use ReadFuture on the server side to receive a second input message after a first one has been received with the following IoHandler. (This is a reduced problem from a more complex design and architecture). When connecting to this server with a standard telnet client and typing 2 "return", only the 2 characters 0x0D0A of the first "return" are received and the future.await() blocks. What did I miss in this code?? Here the log: Listening on port 23 R: 0.0, W: 0.0 R: 0.0, W: 0.0 [16:58:08] INFO [org.apache.mina.example.echoserver.EchoProtocolHandler] - OPENED [16:58:10] INFO [org.apache.mina.example.echoserver.EchoProtocolHandler] - Received : HeapBuffer[pos=0 lim=2 cap=2048: 0D 0A] R: 0.0, W: 0.0 R: 0.0, W: 0.0 R: 0.0, W: 0.0 R: 0.0, W: 0.0 R: 0.0, W: 0.0 R: 0.0, W: 0.0 Here a snippet of the IoHandler @Override public void messageReceived(IoSession session, Object message) throws Exception { LOGGER.info("Received : " + message); session.getConfig().setUseReadOperation(true); ReadFuture future = session.read(); future.await(); Object object = future.getMessage(); LOGGER.info("Future :" + object); session.write(((IoBuffer) object).duplicate()); session.getConfig().setUseReadOperation(false); // Write the received data back to remote peer session.write(((IoBuffer) message).duplicate()); } The IoAcceptor is controlled in the Main class as public static void main(String[] args) throws Exception { SocketAcceptor acceptor = new NioSocketAcceptor(); acceptor.setReuseAddress(true); DefaultIoFilterChainBuilder chain = acceptor.getFilterChain(); ExecutorFilter executorFilter = new ExecutorFilter(); chain.addLast("executor", executorFilter); // Bind acceptor.setHandler(new EchoProtocolHandler()); acceptor.bind(new InetSocketAddress(PORT)); ------=_NextPart_001_003F_01CBC951.1F2407A0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta = http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 12 = (filtered medium)"><style><!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Courier New"; color:windowtext;} .MsoChpDefault {mso-style-type:export-only;} @page WordSection1 {size:612.0pt 792.0pt; margin:70.85pt 70.85pt 70.85pt 70.85pt;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--></head><body lang=3DEN-GB link=3Dblue = vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span = style=3D'font-family:"Courier New"'>Hi<o:p></o:p></span></p><p = class=3DMsoNormal><span style=3D'font-family:"Courier = New"'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span = style=3D'font-family:"Courier New"'>I am trying to use ReadFuture on the = server side to receive a second input message after a first one has been = received with the following IoHandler. (This is a reduced problem from a = more complex design and architecture). When connecting to this server = with a standard telnet client and typing 2 &quot;return&quot;, only the = 2 characters 0x</span><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:black'>0D0A</span><span style=3D'font-family:"Courier New"'> = of the first &quot;return&quot; are received and the future.await() = blocks. What did I miss in this code??<o:p></o:p></span></p><p = class=3DMsoNormal><span style=3D'font-family:"Courier = New"'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span = style=3D'font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p><p = class=3DMsoNormal><span style=3D'font-family:"Courier New"'>Here the = log:<o:p></o:p></span></p><p class=3DMsoNormal = style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:black'>Listening on port 23</span><span = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p></o:p></span></p><p class=3DMsoNormal = style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt;font-family:"Courier New";color:black'>R: 0.0, = W: 0.0</span><span style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p></o:p></span></p><p class=3DMsoNormal = style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt;font-family:"Courier New";color:black'>R: 0.0, = W: 0.0</span><span style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p></o:p></span></p><p class=3DMsoNormal = style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:black'>[16:58:08] INFO = [org.apache.mina.example.echoserver.EchoProtocolHandler] - = OPENED</span><span style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p></o:p></span></p><p class=3DMsoNormal = style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:black'>[16:58:10] INFO = [org.apache.mina.example.echoserver.EchoProtocolHandler] - Received : = HeapBuffer[pos=3D0 lim=3D2 cap=3D2048: 0D 0A]</span><span = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p></o:p></span></p><p class=3DMsoNormal = style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt;font-family:"Courier New";color:black'>R: 0.0, = W: 0.0</span><span style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p></o:p></span></p><p class=3DMsoNormal = style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt;font-family:"Courier New";color:black'>R: 0.0, = W: 0.0</span><span style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p></o:p></span></p><p class=3DMsoNormal = style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt;font-family:"Courier New";color:black'>R: 0.0, = W: 0.0</span><span style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p></o:p></span></p><p class=3DMsoNormal = style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt;font-family:"Courier New";color:black'>R: 0.0, = W: 0.0</span><span style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p></o:p></span></p><p class=3DMsoNormal = style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt;font-family:"Courier New";color:black'>R: 0.0, = W: 0.0</span><span style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p></o:p></span></p><p class=3DMsoNormal = style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt;font-family:"Courier New";color:black'>R: 0.0, = W: 0.0</span><span style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p><p = class=3DMsoNormal><span style=3D'font-family:"Courier = New"'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span = style=3D'font-family:"Courier New"'>Here a snippet of the = IoHandler<o:p></o:p></span></p><p class=3DMsoNormal = style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:#646464'>@Override</span><span = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p></o:p></span></p><p class=3DMsoNormal = style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><b><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:#7F0055'>public</span></b><span = style=3D'font-size:10.0pt;font-family:"Courier New";color:black'> = </span><b><span style=3D'font-size:10.0pt;font-family:"Courier = New";color:#7F0055'>void</span></b><span = style=3D'font-size:10.0pt;font-family:"Courier New";color:black'> = messageReceived(IoSession session, Object message) </span><b><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:#7F0055'>throws</span></b><span = style=3D'font-size:10.0pt;font-family:"Courier New";color:black'> = Exception {</span><span style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p></o:p></span></p><p class=3DMsoNormal = style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp; </span><i><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:#0000C0'>LOGGER</span></i><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:black'>.info(</span><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:#2A00FF'>&quot;Received : &quot;</span><span = style=3D'font-size:10.0pt;font-family:"Courier New";color:black'> + = message);</span><span style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p></o:p></span></p><p class=3DMsoNormal = style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp; session.getConfig().setUseReadOperation(</span><b><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:#7F0055'>true</span></b><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:black'>);</span><span = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p></o:p></span></p><p class=3DMsoNormal = style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp; ReadFuture future =3D session.read();</span><span = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p></o:p></span></p><p class=3DMsoNormal = style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp; future.await();</span><span = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p></o:p></span></p><p class=3DMsoNormal = style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp; Object object =3D future.getMessage();</span><span = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p></o:p></span></p><p class=3DMsoNormal = style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp; </span><i><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:#0000C0'>LOGGER</span></i><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:black'>.info(</span><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:#2A00FF'>&quot;Future :&quot;</span><span = style=3D'font-size:10.0pt;font-family:"Courier New";color:black'> + = object);</span><span style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p></o:p></span></p><p class=3DMsoNormal = style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp; session.write(((IoBuffer) object).duplicate());</span><span = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p></o:p></span></p><p class=3DMsoNormal = style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp; session.getConfig().setUseReadOperation(</span><b><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:#7F0055'>false</span></b><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:black'>);</span><span = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p></o:p></span></p><p class=3DMsoNormal = style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp; </span><span style=3D'font-size:10.0pt;font-family:"Courier = New";color:#3F7F5F'>// Write the received data back to remote = peer</span><span style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p></o:p></span></p><p class=3DMsoNormal = style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp; session.write(((IoBuffer) message).duplicate());</span><span = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p></o:p></span></p><p class=3DMsoNormal = style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span><span = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p><p = class=3DMsoNormal><span style=3D'font-family:"Courier = New"'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span = style=3D'font-family:"Courier New"'>The IoAcceptor is controlled in the = Main class as<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p><p = class=3DMsoNormal style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><b><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:#7F0055'>public</span></b><span = style=3D'font-size:10.0pt;font-family:"Courier New";color:black'> = </span><b><span style=3D'font-size:10.0pt;font-family:"Courier = New";color:#7F0055'>static</span></b><span = style=3D'font-size:10.0pt;font-family:"Courier New";color:black'> = </span><b><span style=3D'font-size:10.0pt;font-family:"Courier = New";color:#7F0055'>void</span></b><span = style=3D'font-size:10.0pt;font-family:"Courier New";color:black'> = main(String[] args) </span><b><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:#7F0055'>throws</span></b><span = style=3D'font-size:10.0pt;font-family:"Courier New";color:black'> = Exception {</span><span style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p></o:p></span></p><p class=3DMsoNormal = style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp; SocketAcceptor acceptor =3D </span><b><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:#7F0055'>new</span></b><span = style=3D'font-size:10.0pt;font-family:"Courier New";color:black'> = NioSocketAcceptor();</span><span = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p></o:p></span></p><p class=3DMsoNormal = style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp; acceptor.setReuseAddress(</span><b><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:#7F0055'>true</span></b><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:black'>);</span><span = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p></o:p></span></p><p class=3DMsoNormal = style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp; DefaultIoFilterChainBuilder chain =3D = acceptor.getFilterChain();</span><span = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p></o:p></span></p><p class=3DMsoNormal = style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp; ExecutorFilter executorFilter =3D </span><b><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:#7F0055'>new</span></b><span = style=3D'font-size:10.0pt;font-family:"Courier New";color:black'> = ExecutorFilter();</span><span = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p></o:p></span></p><p class=3DMsoNormal = style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp; chain.addLast(</span><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:#2A00FF'>&quot;executor&quot;</span><span = style=3D'font-size:10.0pt;font-family:"Courier New";color:black'>, = executorFilter);</span><span = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p></o:p></span></p><p class=3DMsoNormal = style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp; </span><span style=3D'font-size:10.0pt;font-family:"Courier = New";color:#3F7F5F'>// Bind</span><span = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p></o:p></span></p><p class=3DMsoNormal = style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp; acceptor.setHandler(</span><b><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:#7F0055'>new</span></b><span = style=3D'font-size:10.0pt;font-family:"Courier New";color:black'> = EchoProtocolHandler());</span><span = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p></o:p></span></p><p class=3DMsoNormal = style=3D'text-autospace:none'><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp; acceptor.bind(</span><b><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:#7F0055'>new</span></b><span = style=3D'font-size:10.0pt;font-family:"Courier New";color:black'> = InetSocketAddress(</span><i><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:#0000C0'>PORT</span></i><span = style=3D'font-size:10.0pt;font-family:"Courier = New";color:black'>));</span><span = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-family:"Courier = New"'><o:p>&nbsp;</o:p></span></p></div></body></html> ------=_NextPart_001_003F_01CBC951.1F2407A0-- ------=_NextPart_000_003E_01CBC951.1F2407A0-- From [email protected] Sun Feb 13 09:13:28 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45255 invoked from network); 13 Feb 2011 09:13:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Feb 2011 09:13:28 -0000 Received: (qmail 82775 invoked by uid 500); 13 Feb 2011 09:13:28 -0000 Delivered-To: [email protected] Received: (qmail 82465 invoked by uid 500); 13 Feb 2011 09:13:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 76024 invoked by uid 99); 13 Feb 2011 08:47:05 -0000 X-ASF-Spam-Status: No, hits=2.9 required=5.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) X-MimeOLE: Produced By Microsoft Exchange V6.5 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CBCB5A.8B19BDAA" x-cr-hashedpuzzle: AtMI A49w BNpp B/Pe D0bN Expo E7rp FBge G9se HmRf JRWt Jozw KAso KNlX KdpX Kr1V;1;dQBzAGUAcgBzAEAAbQBpAG4AYQAuAGEAcABhAGMAaABlAC4AbwByAGcA;Sosha1_v1;7;{B7576744-86D6-47AC-B044-493391268529};ZwB1AHkAaQBAAG4AZQB4AHQAbgBpAG4AZQAuAGMAbwBtAA==;Sun, 13 Feb 2011 08:46:45 GMT;dwBoAGUAcgBlACAAdABvACAAcABsAGEAYwBlACAAdABoAGUAIABFAHgAZQBjAHUAdABvAHIARgBpAGwAdABlAHIAPwA= Content-class: urn:content-classes:message Subject: where to place the ExecutorFilter? x-cr-puzzleid: {B7576744-86D6-47AC-B044-493391268529} Date: Sun, 13 Feb 2011 03:46:45 -0500 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: where to place the ExecutorFilter? Thread-Index: AcvLWotGxVwgu+3VTsSvcejSPiV9zg== From: "Guy Itzhaki" <[email protected]> To: <[email protected]> ------_=_NextPart_001_01CBCB5A.8B19BDAA Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi all, I'm using Mina 2.0.2 for my server which, in the nutshell, is a very simple server that acts as a file server, clients connect to the server in order to send and fetch files. I expect up to 200 clients to connect to the server concurrently and the files might be big (up to few hundred Megs a file). =20 acceptor.getFilterChain().addLast() My protocol codec I read a lot about placing=20 =20 =20 I wonder where is best to place the ExecutorFilter? Is it before the ProtocolCodecFilter or after? I assume the answer is "depends" so here is in general what my server does: My server has a very simple business ------_=_NextPart_001_01CBCB5A.8B19BDAA-- From [email protected] Sun Feb 13 09:30:45 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46941 invoked from network); 13 Feb 2011 09:30:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Feb 2011 09:30:45 -0000 Received: (qmail 94469 invoked by uid 500); 13 Feb 2011 09:30:45 -0000 Delivered-To: [email protected] Received: (qmail 94264 invoked by uid 500); 13 Feb 2011 09:30:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 94256 invoked by uid 99); 13 Feb 2011 09:30:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Feb 2011 09:30:42 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FREEMAIL_FROM,MSGID_MULTIPLE_AT,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO smtp.smtpout.orange.fr) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Feb 2011 09:30:33 +0000 Received: from Falbala ([161.129.204.104]) by mwinf5d29 with ME id 7MWC1g0094ctjCS03MWDiK; Sun, 13 Feb 2011 10:30:13 +0100 From: "Francis ANDRE" <[email protected]> To: <[email protected]> References: <[email protected]> In-Reply-To: <[email protected]> Subject: RE: where to place the ExecutorFilter? Date: Sun, 13 Feb 2011 10:30:12 +0100 Message-ID: <[email protected]@orange.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcvLWotGxVwgu+3VTsSvcejSPiV9zgABeBeg Content-Language: fr X-Virus-Checked: Checked by ClamAV on apache.org Hi Guy May be you will get the needed information with this page: http://mina.apache.org/configuring-thread-model.html=20 > -----Message d'origine----- > De=A0: Guy Itzhaki [mailto:[email protected]] > Envoy=E9=A0: dimanche 13 f=E9vrier 2011 09:47 > =C0=A0: [email protected] > Objet=A0: where to place the ExecutorFilter? >=20 > Hi all, >=20 > I'm using Mina 2.0.2 for my server which, in the nutshell, is a very > simple server that acts as a file server, clients connect to the = server > in order to send and fetch files. >=20 > I expect up to 200 clients to connect to the server concurrently and = the > files might be big (up to few hundred Megs a file). >=20 >=20 >=20 > acceptor.getFilterChain().addLast() >=20 > My protocol codec >=20 > I read a lot about placing >=20 >=20 >=20 >=20 >=20 > I wonder where is best to place the ExecutorFilter? Is it before the > ProtocolCodecFilter or after? I assume the answer is "depends" so here > is in general what my server does: >=20 > My server has a very simple business From [email protected] Sun Feb 13 10:10:59 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60671 invoked from network); 13 Feb 2011 10:10:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Feb 2011 10:10:59 -0000 Received: (qmail 10453 invoked by uid 500); 13 Feb 2011 10:10:58 -0000 Delivered-To: [email protected] Received: (qmail 10302 invoked by uid 500); 13 Feb 2011 10:10:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 10294 invoked by uid 99); 13 Feb 2011 10:10:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Feb 2011 10:10:55 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-fx0-f43.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Feb 2011 10:10:49 +0000 Received: by fxm18 with SMTP id 18so4589691fxm.2 for <[email protected]>; Sun, 13 Feb 2011 02:10:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:reply-to:user-agent :mime-version:to:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=0Rdmt69Z7LYY1uNQX8+m70kMkRJ0GEonm9p+u+9AE64=; b=oE0j72J4cWC/vwTqCrC1PnR8ZSwyZbWCyfhhgPJqMH+uZQUD3oVwE4TgNdG6GEO0IM LtKpUXmQgnLUBXhwztWDKy3zed3IE7cOQf4qf2nr6PgaXwfjf5dk4zaBsnc1Ofh0b2Y6 x9GNyNcGiWCVB/i/7ybpSydbgvRDoJlbCXDvY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=bKtWqvCC26mOkOJd1uZJ3ykLTG9amty77FAbMgzAzFbIjYWzvoq5a9A/IqeGFmaQdx ucslRe/4A633knBeC8TKZS8JjOPpipxi5XvA2CKTEZj+tcJVbGJqdMQJg4Dmrockiplg UVdzMOq41XSnCo2debX/3bhbiy6QYsy4sEgf8= Received: by 161.129.204.104 with SMTP id l10mr1932730fak.17.1297591827723; Sun, 13 Feb 2011 02:10:27 -0800 (PST) Received: from emmanuel-lecharnys-MacBook-Pro.local ([161.129.204.104]) by mx.google.com with ESMTPS id o12sm512818fav.30.2161.129.204.104.10.23 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 13 Feb 2011 02:10:26 -0800 (PST) Message-ID: <[email protected]> Date: Sun, 13 Feb 2011 11:10:22 +0100 From: Emmanuel Lecharny <[email protected]> Reply-To: [email protected] User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: where to place the ExecutorFilter? References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 2/13/11 9:46 AM, Guy Itzhaki wrote: > Hi all, > > I'm using Mina 2.0.2 for my server which, in the nutshell, is a very > simple server that acts as a file server, clients connect to the server > in order to send and fetch files. > > I expect up to 200 clients to connect to the server concurrently and the > files might be big (up to few hundred Megs a file). > > > > acceptor.getFilterChain().addLast() > > My protocol codec > > I read a lot about placing > > > > > > I wonder where is best to place the ExecutorFilter? Is it before the > ProtocolCodecFilter or after? I assume the answer is "depends" so here > is in general what my server does: Depends on the type of executor you use and the cost of decoding your data. As the executor is just a thread pool, if you don't get the same thread every time some data comes in, assuming that a message might be split in many PDU, then you might get into trouble decoding the message. Generally speaking, decoding is not that costly it requires to be spread on many threads, compared to the execution of your application logic. I would say that the executor should be put at the end of the chain, just before your handler. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com From [email protected] Sun Feb 13 10:48:52 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66545 invoked from network); 13 Feb 2011 10:48:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Feb 2011 10:48:52 -0000 Received: (qmail 48592 invoked by uid 500); 13 Feb 2011 10:48:52 -0000 Delivered-To: [email protected] Received: (qmail 48305 invoked by uid 500); 13 Feb 2011 10:48:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 39291 invoked by uid 99); 13 Feb 2011 10:41:43 -0000 X-ASF-Spam-Status: No, hits=2.9 required=5.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CBCB6A.9096DBAE" Subject: where to place the ExecutorFilter? Date: Sun, 13 Feb 2011 05:41:32 -0500 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: where to place the ExecutorFilter? Thread-Index: AcvLapQN+E5IWEF6SIOuDR3gPx65aw== From: "Guy Itzhaki" <[email protected]> To: <[email protected]> ------_=_NextPart_001_01CBCB6A.9096DBAE Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable (Sorry for my pre mature email an hour ago - my mistake) =20 Hi all, I'm using Mina 2.0.2 for my server which, in the nutshell, is a very simple server that acts as a message server, clients connect to the server in order to send and receive messages. I expect up to 200 clients to connect to the server concurrently and the messages might be big (up to few hundred Megs a message). =20 The ProtocolCodecFilter does an expensive process much more than the handler, it is the ProtocolCodecFilter duty to read & persist incoming messages, same goes for sending messages - the codec is responsible to read the message from the disk and send it. =20 I wonder where is best to place the ExecutorFilter? Is it before the ProtocolCodecFilter or after? It seems to me that given what I explained before I should use two executorFilters one to be placed before the codec to digest incoming messages and the other after (for the sake of the outgoing messages).=20 =20 chain.addLast("sslFilter", sslFilter) chain.addLast("logger", new LoggingFilter()) chain.addLast("readPool", new ExecutorFilter(coreSize, maxSize,keepAliveTime, TimeUnit.MILLISECONDS, IoEventType.MESSAGE_RECEIVED)) chain.addLast("codec", protocolCodecFilter) chain.addLast("writePool", new ExecutorFilter(coreSize, maxSize,keepAliveTime, TimeUnit.MILLISECONDS, IoEventType.WRITE)) =20 Can you please approve that using the above chaining is best for my needs? =20 Emmanuel, I read once your reservation about placing the executor first, you said: "...as the executor is the fist one in the filters chain, you may not be able to deal with fragmented messages" Can you explain what did you mean fragmented messages?=20 And in other post you said " Executor can leads to some issue if you are under heavy load " can you elaborate on that? Taking into consideration these comments of yours what is the best approach in case of heavy load? =20 Thanks in advance, Guy ------_=_NextPart_001_01CBCB6A.9096DBAE-- From [email protected] Sun Feb 13 11:32:31 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80254 invoked from network); 13 Feb 2011 11:32:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Feb 2011 11:32:31 -0000 Received: (qmail 64764 invoked by uid 500); 13 Feb 2011 11:32:31 -0000 Delivered-To: [email protected] Received: (qmail 64478 invoked by uid 500); 13 Feb 2011 11:32:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 64469 invoked by uid 99); 13 Feb 2011 11:32:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Feb 2011 11:32:27 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-fx0-f43.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Feb 2011 11:32:19 +0000 Received: by fxm18 with SMTP id 18so4627167fxm.2 for <[email protected]>; Sun, 13 Feb 2011 03:31:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:reply-to:user-agent :mime-version:to:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=tIqBekdOMcMk9hhvSHKnPVx/5xcz0odiLKLRoFr3u3w=; b=vYAA2dJcu1dpqOdGUGPSW8sTqzWRUp6+xz7pgHOB1kpU6k6n1vkJvsA6MiQmKN/8Ci VUYdUt65HBpoI2Zf6OqNH0N5rm437kj1W8+65ZwjclVVxvzjMb7W8tDSpU0MrCU1NO2q /XSfVtGZNNYlE2SVCvHpasJRqMSKiKrXwCBqI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=IWo35iMIPMAOzYQyrWI4VZS68HTM0WbYsuFiuDe9H7E9cqxRJIlH88luKQTj5Wxess y5vZy0A4QgNlwv6vIjcdlM6VmKNUur15Djd4KfezBlQsohdn6YX8cZP/bjaMUi/vlp0u fOSsN7nPjFiZBvJUlwHmzlEHz1aJPs1ugeM7o= Received: by 161.129.204.104 with SMTP id r1mr3006099fan.83.1297596718589; Sun, 13 Feb 2011 03:31:58 -0800 (PST) Received: from emmanuel-lecharnys-MacBook-Pro.local (ran75-1-78-192-106-184.fbxo.proxad.net [161.129.204.104]) by mx.google.com with ESMTPS id j12sm540835fax.9.2161.129.204.104.31.56 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 13 Feb 2011 03:31:57 -0800 (PST) Message-ID: <[email protected]> Date: Sun, 13 Feb 2011 12:31:55 +0100 From: Emmanuel Lecharny <[email protected]> Reply-To: [email protected] User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: where to place the ExecutorFilter? References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org On 2/13/11 11:41 AM, Guy Itzhaki wrote: > (Sorry for my pre mature email an hour ago - my mistake) > > The ProtocolCodecFilter does an expensive process much more than the > handler, it is the ProtocolCodecFilter duty to read& persist incoming > messages, same goes for sending messages - the codec is responsible to > read the message from the disk and send it. ok, two things here : - I guess the decoding itself is not costly, so no need of using an executor for decoding. - You can add an executor to process the write operation only, but it should be placed *after* the codec filter, as the filters are executed in the reverse order when writing information. > > > I wonder where is best to place the ExecutorFilter? Is it before the > ProtocolCodecFilter or after? It seems to me that given what I explained > before I should use two executorFilters one to be placed before the > codec to digest incoming messages and the other after (for the sake of > the outgoing messages). You can't have 2 executors in the chain. That's by design. Probably bad, but you have to deal with it... > > > chain.addLast("sslFilter", sslFilter) > > chain.addLast("logger", new LoggingFilter()) > > chain.addLast("readPool", new ExecutorFilter(coreSize, > maxSize,keepAliveTime, TimeUnit.MILLISECONDS, > IoEventType.MESSAGE_RECEIVED)) > > chain.addLast("codec", protocolCodecFilter) > > chain.addLast("writePool", new ExecutorFilter(coreSize, > maxSize,keepAliveTime, TimeUnit.MILLISECONDS, IoEventType.WRITE)) > > > > Can you please approve that using the above chaining is best for my > needs? If you remove the first executor, that should be fine. > > > Emmanuel, I read once your reservation about placing the executor first, > you said: "...as the executor is the fist one in the filters chain, you > may not be able to deal with fragmented messages" > > Can you explain what did you mean fragmented messages? You have no guaranty whatsoever tht the data coming from a client will be received in one block. You can even expect to get the messageReceived() event be called for every single byte in the message (not likely to happen, but it's just to depict the worst possible situation). Generally speaking, if you have big messages (ie, more than a few Kb), you may get it split in more than one PDU. You have to deal with this, using a cumulativeProtocolDecoder, or writing your own logic to gather the bytes. > And in other post you said " Executor can leads to some issue if you are > under heavy load " can you elaborate on that? Taking into consideration > these comments of yours what is the best approach in case of heavy load? As soon as you spread the loads on many threads, at some point, you may creates thousands of threads if one of your clients send thousands of messages (let's say it's a DDOS). You probably have some ways to deal with such issues on a FW level, but it's important to keep in mind that such problems can arise. However, it's more or less a warning, as every application open to the outside world can have the exact same issues. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com From [email protected] Sun Feb 13 14:46:53 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41428 invoked from network); 13 Feb 2011 14:46:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Feb 2011 14:46:53 -0000 Received: (qmail 38376 invoked by uid 500); 13 Feb 2011 14:46:52 -0000 Delivered-To: [email protected] Received: (qmail 38110 invoked by uid 500); 13 Feb 2011 14:46:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 29193 invoked by uid 99); 13 Feb 2011 14:23:33 -0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Subject: RE: where to place the ExecutorFilter? Date: Sun, 13 Feb 2011 09:23:18 -0500 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: where to place the ExecutorFilter? Thread-Index: AcvLcb7QXb45sVRiSXyo9kadu9cG4wADMlUQ References: <[email protected]> <[email protected]> From: "Guy Itzhaki" <[email protected]> To: <[email protected]>, <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org RW1tYW51ZWwsIHRoYW5rcyBmb3IgdGhlIHJlc3BvbnNlLg0KDQoxLiBUaGUgc2VydmVyIHByb2Nl c3NlcyBpbmNvbWluZyBtZXNzYWdlcyB1c2luZyB0aGUgcHJvdG9jb2xDb2RlY0ZpbHRlci4gQ3Vy cmVudGx5IGl0IGlzIHRoZSBwcm90b2NvbENvZGVjRmlsdGVyIHJlc3BvbnNpYmlsaXR5IHRvIHJl YWQgdGhlIEVOVElSRSBtZXNzYWdlIGFuZCBzYXZlIGl0IGluIHRoZSBoYXJkIGRpc2sgZm9yIGZ1 dHVyZSBwcm9jZXNzaW5nIGJ5IHRoZSBIYW5kbGVyLiBSZWFkaW5nIGZldyBodW5kcmVkIE1CcyBp cyBhbiBleHBlbnNpdmUgcHJvY2VzcyBhbmQgbWlnaHQgdGFrZSBhIHdoaWxlLCBzbyBkcm9wcGlu ZyB0aGUgZmlyc3QgRXhlY3V0b3JGaWx0ZXIgbWVhbnMgdGhhdCB0aGUgTklPUHJvY2Vzc29yIHRo cmVhZCB3aWxsIGhhbmRsZSB0aGlzIChsb25nKSB0YXNrLiBJZiBJJ20gbm90IG1pc3Rha2VuIHRo aXMgaXMgYSBiYWQgY2hvaWNlIGJlY2F1c2UgSSBoYXZlIG9ubHkgZmV3IFByb2Nlc3NvcnMgc28g SSdsbCBlYXNpbHkgY2F1c2UgbXkgc2VydmVyIHRvIG5vdCBleGNlcHRpbmdccHJvY2Vzc2luZyBv dGhlciByZXF1ZXN0cy4gQW0gSSByaWdodD8gSWYgSSdtLCBtYXliZSBhIGJldHRlciBkZXNpZ24g Zm9yIG15IHNlcnZlciB3b3VsZCBiZSB0byBtb3ZlIHRoZSAoZXhwZW5zaXZlKSBmaWxlIHJlYWRp bmcgdG8gdGhlIGhhbmRsZXIuLi4NCjIuIEluIG9yZGVyIHRvIGJlIGVmZmljaWVudCBhbmQgY29u c3VtZSBhcyBsZXNzIG1lbW9yeSBhcyBpdCBjYW4sIHRoZSBzZXJ2ZXIgc2VuZHMgdGhlIGJpZyBm aWxlcyB1c2luZyBGaWxlV2l0aEhlYWRlcldyaXRlRmlsdGVyICh3aGljaCBleHRlbmRzIEFic3Ry YWN0U3RyZWFtV3JpdGVGaWx0ZXIpIEkndmUgbm90ZWQgdGhhdCBldmVuIGlmIEkgaGF2ZSBhbiBF eGVjdXRvckZpbHRlciBpbiB0aGUgY2hhaW4gTWluYSBkb2VzIG5vdCB1c2UgaXRzIHRocmVhZHMs IGluc3RlYWQgaXQgdXNlcyBOSU9Qcm9jZXNzb3IgdGhyZWFkcy4gKEFnYWluLCkgdGhpcyBpcyBh biBpc3N1ZSBhcyBJIHdvdWxkIGV4cGVjdCBteSBzZXJ2ZXIgdG8gcHJvY2VzcyBzaW11bHRhbmVv dXNseSBsYXJnZSBudW1iZXIgb2YgZmlsZXMgYW5kIG5vdCBvbmx5IGZldy4gSG93IGNhbiBJIGZv cmNlIE1pbmEgdG8gdXNlIG90aGVyIHRocmVhZHMgdGhhbiB0aGUgTklPUHJvY2Vzc29yIHRocmVh ZHMgZm9yIHRoYXQ/DQoNClRoYW5rcywNCkd1eQ0KDQotLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0t LQ0KRnJvbTogRW1tYW51ZWwgTGVjaGFybnkgW21haWx0bzplbGVjaGFybnlAZ21haWwuY29tXSAN ClNlbnQ6IFN1bmRheSwgRmVicnVhcnkgMTMsIDIwMTEgMTozMiBQTQ0KVG86IHVzZXJzQG1pbmEu YXBhY2hlLm9yZw0KU3ViamVjdDogUmU6IHdoZXJlIHRvIHBsYWNlIHRoZSBFeGVjdXRvckZpbHRl cj8NCg0KT24gMi8xMy8xMSAxMTo0MSBBTSwgR3V5IEl0emhha2kgd3JvdGU6DQo+IChTb3JyeSBm b3IgbXkgcHJlIG1hdHVyZSBlbWFpbCBhbiBob3VyIGFnbyAtIG15IG1pc3Rha2UpDQo+DQo+IFRo ZSBQcm90b2NvbENvZGVjRmlsdGVyIGRvZXMgYW4gZXhwZW5zaXZlIHByb2Nlc3MgbXVjaCBtb3Jl IHRoYW4gdGhlDQo+IGhhbmRsZXIsIGl0IGlzIHRoZSBQcm90b2NvbENvZGVjRmlsdGVyIGR1dHkg dG8gcmVhZCYgIHBlcnNpc3QgaW5jb21pbmcNCj4gbWVzc2FnZXMsIHNhbWUgZ29lcyBmb3Igc2Vu ZGluZyBtZXNzYWdlcyAtIHRoZSAgY29kZWMgaXMgcmVzcG9uc2libGUgdG8NCj4gcmVhZCB0aGUg bWVzc2FnZSBmcm9tIHRoZSBkaXNrIGFuZCBzZW5kIGl0Lg0Kb2ssIHR3byB0aGluZ3MgaGVyZSA6 DQotIEkgZ3Vlc3MgdGhlIGRlY29kaW5nIGl0c2VsZiBpcyBub3QgY29zdGx5LCBzbyBubyBuZWVk IG9mIHVzaW5nIGFuIA0KZXhlY3V0b3IgZm9yIGRlY29kaW5nLg0KLSBZb3UgY2FuIGFkZCBhbiBl eGVjdXRvciB0byBwcm9jZXNzIHRoZSB3cml0ZSBvcGVyYXRpb24gb25seSwgYnV0IGl0IA0Kc2hv dWxkIGJlIHBsYWNlZCAqYWZ0ZXIqIHRoZSBjb2RlYyBmaWx0ZXIsIGFzIHRoZSBmaWx0ZXJzIGFy ZSBleGVjdXRlZCANCmluIHRoZSByZXZlcnNlIG9yZGVyIHdoZW4gd3JpdGluZyBpbmZvcm1hdGlv bi4NCj4NCj4NCj4gSSB3b25kZXIgd2hlcmUgaXMgYmVzdCB0byBwbGFjZSB0aGUgRXhlY3V0b3JG aWx0ZXI/IElzIGl0IGJlZm9yZSB0aGUNCj4gUHJvdG9jb2xDb2RlY0ZpbHRlciBvciBhZnRlcj8g SXQgc2VlbXMgdG8gbWUgdGhhdCBnaXZlbiB3aGF0IEkgZXhwbGFpbmVkDQo+IGJlZm9yZSBJIHNo b3VsZCB1c2UgdHdvIGV4ZWN1dG9yRmlsdGVycyBvbmUgdG8gYmUgcGxhY2VkIGJlZm9yZSB0aGUN Cj4gY29kZWMgdG8gZGlnZXN0IGluY29taW5nIG1lc3NhZ2VzIGFuZCB0aGUgb3RoZXIgYWZ0ZXIg KGZvciB0aGUgc2FrZSBvZg0KPiB0aGUgb3V0Z29pbmcgbWVzc2FnZXMpLg0KWW91IGNhbid0IGhh dmUgMiBleGVjdXRvcnMgaW4gdGhlIGNoYWluLiBUaGF0J3MgYnkgZGVzaWduLiBQcm9iYWJseSBi YWQsIA0KYnV0IHlvdSBoYXZlIHRvIGRlYWwgd2l0aCBpdC4uLg0KDQo+DQo+DQo+IGNoYWluLmFk ZExhc3QoInNzbEZpbHRlciIsIHNzbEZpbHRlcikNCj4NCj4gY2hhaW4uYWRkTGFzdCgibG9nZ2Vy IiwgbmV3IExvZ2dpbmdGaWx0ZXIoKSkNCj4NCj4gY2hhaW4uYWRkTGFzdCgicmVhZFBvb2wiLCBu ZXcgRXhlY3V0b3JGaWx0ZXIoY29yZVNpemUsDQo+IG1heFNpemUsa2VlcEFsaXZlVGltZSwgVGlt ZVVuaXQuTUlMTElTRUNPTkRTLA0KPiBJb0V2ZW50VHlwZS5NRVNTQUdFX1JFQ0VJVkVEKSkNCj4N Cj4gY2hhaW4uYWRkTGFzdCgiY29kZWMiLCBwcm90b2NvbENvZGVjRmlsdGVyKQ0KPg0KPiBjaGFp bi5hZGRMYXN0KCJ3cml0ZVBvb2wiLCBuZXcgRXhlY3V0b3JGaWx0ZXIoY29yZVNpemUsDQo+IG1h eFNpemUsa2VlcEFsaXZlVGltZSwgVGltZVVuaXQuTUlMTElTRUNPTkRTLCBJb0V2ZW50VHlwZS5X UklURSkpDQo+DQo+DQo+DQo+IENhbiB5b3UgcGxlYXNlIGFwcHJvdmUgdGhhdCB1c2luZyB0aGUg YWJvdmUgY2hhaW5pbmcgaXMgYmVzdCBmb3IgbXkNCj4gbmVlZHM/DQpJZiB5b3UgcmVtb3ZlIHRo ZSBmaXJzdCBleGVjdXRvciwgdGhhdCBzaG91bGQgYmUgZmluZS4NCj4NCj4NCj4gRW1tYW51ZWws IEkgcmVhZCBvbmNlIHlvdXIgcmVzZXJ2YXRpb24gYWJvdXQgcGxhY2luZyB0aGUgZXhlY3V0b3Ig Zmlyc3QsDQo+IHlvdSBzYWlkOiAiLi4uYXMgdGhlIGV4ZWN1dG9yIGlzIHRoZSBmaXN0IG9uZSBp biB0aGUgZmlsdGVycyBjaGFpbiwgeW91DQo+IG1heSBub3QgYmUgYWJsZSB0byBkZWFsIHdpdGgg ZnJhZ21lbnRlZCBtZXNzYWdlcyINCj4NCj4gQ2FuIHlvdSBleHBsYWluIHdoYXQgZGlkIHlvdSBt ZWFuIGZyYWdtZW50ZWQgbWVzc2FnZXM/DQpZb3UgaGF2ZSBubyBndWFyYW50eSB3aGF0c29ldmVy IHRodCB0aGUgZGF0YSBjb21pbmcgZnJvbSBhIGNsaWVudCB3aWxsIA0KYmUgcmVjZWl2ZWQgaW4g b25lIGJsb2NrLiBZb3UgY2FuIGV2ZW4gZXhwZWN0IHRvIGdldCB0aGUgDQptZXNzYWdlUmVjZWl2 ZWQoKSBldmVudCBiZSBjYWxsZWQgZm9yIGV2ZXJ5IHNpbmdsZSBieXRlIGluIHRoZSBtZXNzYWdl IA0KKG5vdCBsaWtlbHkgdG8gaGFwcGVuLCBidXQgaXQncyBqdXN0IHRvIGRlcGljdCB0aGUgd29y c3QgcG9zc2libGUgDQpzaXR1YXRpb24pLiBHZW5lcmFsbHkgc3BlYWtpbmcsIGlmIHlvdSBoYXZl IGJpZyBtZXNzYWdlcyAoaWUsIG1vcmUgdGhhbiANCmEgZmV3IEtiKSwgeW91IG1heSBnZXQgaXQg c3BsaXQgaW4gbW9yZSB0aGFuIG9uZSBQRFUuIFlvdSBoYXZlIHRvIGRlYWwgDQp3aXRoIHRoaXMs IHVzaW5nIGEgY3VtdWxhdGl2ZVByb3RvY29sRGVjb2Rlciwgb3Igd3JpdGluZyB5b3VyIG93biBs b2dpYyANCnRvIGdhdGhlciB0aGUgYnl0ZXMuDQo+IEFuZCBpbiBvdGhlciBwb3N0IHlvdSBzYWlk ICIgRXhlY3V0b3IgY2FuIGxlYWRzIHRvIHNvbWUgaXNzdWUgaWYgeW91IGFyZQ0KPiB1bmRlciBo ZWF2eSBsb2FkICIgY2FuIHlvdSBlbGFib3JhdGUgb24gdGhhdD8gVGFraW5nIGludG8gY29uc2lk ZXJhdGlvbg0KPiB0aGVzZSBjb21tZW50cyBvZiB5b3VycyB3aGF0IGlzIHRoZSBiZXN0IGFwcHJv YWNoIGluIGNhc2Ugb2YgaGVhdnkgbG9hZD8NCkFzIHNvb24gYXMgeW91IHNwcmVhZCB0aGUgbG9h ZHMgb24gbWFueSB0aHJlYWRzLCBhdCBzb21lIHBvaW50LCB5b3UgbWF5IA0KY3JlYXRlcyB0aG91 c2FuZHMgb2YgdGhyZWFkcyBpZiBvbmUgb2YgeW91ciBjbGllbnRzIHNlbmQgdGhvdXNhbmRzIG9m IA0KbWVzc2FnZXMgKGxldCdzIHNheSBpdCdzIGEgRERPUykuIFlvdSBwcm9iYWJseSBoYXZlIHNv bWUgd2F5cyB0byBkZWFsIA0Kd2l0aCBzdWNoIGlzc3VlcyBvbiBhIEZXIGxldmVsLCBidXQgaXQn cyBpbXBvcnRhbnQgdG8ga2VlcCBpbiBtaW5kIHRoYXQgDQpzdWNoIHByb2JsZW1zIGNhbiBhcmlz ZS4NCg0KSG93ZXZlciwgaXQncyBtb3JlIG9yIGxlc3MgYSB3YXJuaW5nLCBhcyBldmVyeSBhcHBs aWNhdGlvbiBvcGVuIHRvIHRoZSANCm91dHNpZGUgd29ybGQgY2FuIGhhdmUgdGhlIGV4YWN0IHNh bWUgaXNzdWVzLg0KDQotLSANClJlZ2FyZHMsDQpDb3JkaWFsZW1lbnQsDQpFbW1hbnVlbCBMw6lj aGFybnkNCnd3dy5pa3Rlay5jb20NCg0KDQoNCkNsaWNrIGhlcmUgdG8gcmVwb3J0IHRoaXMgbWVz c2FnZSBhcyBTUEFNOiBodHRwOi8vdnNwLmF0ZXJhbmV0d29ya3MuY29tL1JlcG9ydFNwYW0ucGhw P3NpZD0yMGY5OTNiYWEwYmM0ZWZmMDJiMGY3ZWFlN2FiYzMyOV84ODdiYTE5ZDg1M2NmYzIzMjZl MGU3N2YyOGE1MDljNQ0KLS0gUG93ZXJlZCBieSBBVEVSQSBOZXR3b3JrcyAtLQ0KDQoNCg== From [email protected] Mon Feb 14 00:36:55 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61390 invoked from network); 14 Feb 2011 00:36:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Feb 2011 00:36:55 -0000 Received: (qmail 74581 invoked by uid 500); 14 Feb 2011 00:36:55 -0000 Delivered-To: [email protected] Received: (qmail 74527 invoked by uid 500); 14 Feb 2011 00:36:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 74514 invoked by uid 99); 14 Feb 2011 00:36:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Feb 2011 00:36:53 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 14 Feb 2011 00:36:51 +0000 Received: (qmail 61338 invoked by uid 99); 14 Feb 2011 00:36:29 -0000 Received: from localhost.apache.org (HELO emmanuel-lecharnys-MacBook-Pro.local) (161.129.204.104) (smtp-auth username elecharny, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Feb 2011 00:36:29 +0000 Message-ID: <[email protected]> Date: Mon, 14 Feb 2011 01:36:20 +0100 From: =?UTF-8?B?RW1tYW51ZWwgTMOpY2hhcm55?= <[email protected]> Reply-To: [email protected] Organization: The Apache Software Foundation User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: where to place the ExecutorFilter? References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org On 2/13/11 3:23 PM, Guy Itzhaki wrote: > Emmanuel, thanks for the response. > > 1. The server processes incoming messages using the protocolCodecFilter. Currently it is the protocolCodecFilter responsibility to read the ENTIRE message and save it in the hard disk for future processing by the Handler. Reading few hundred MBs is an expensive process and might take a while, so dropping the first ExecutorFilter means that the NIOProcessor thread will handle this (long) task. If I'm not mistaken this is a bad choice because I have only few Processors so I'll easily cause my server to not excepting\processing other requests. Am I right? If I'm, maybe a better design for my server would be to move the (expensive) file reading to the handler... I think that it's probably better to move the processing of the huge incoming messages into the handler, yes. Now, considering that writing data on disk is 1000 times more expensive that processing them in memory (pulling this number out of my hat, but let's use this number for the sake of the demonstration), then your bottleneck will be the disk, not the threads : no matter how many threads you will use, you will still be bounded by how fast is your disk... > 2. In order to be efficient and consume as less memory as it can, the server sends the big files using FileWithHeaderWriteFilter This class is not a MINA class, AFAICT > (which extends AbstractStreamWriteFilter) I've noted that even if I have an ExecutorFilter in the chain Mina does not use its threads, instead it uses NIOProcessor threads. Ultimately, when the message has transited through the chain, it's queued into an IoProcessor, so adding an executor expecting that more threads will be used to send the data to the client is simply useless. Keep in mind that once the socket is opened, it's associated with a selector, and what is important is the thread having access to this selector. Sharing this selector through many threads would not help... > (Again,) this is an issue as I would expect my server to process simultaneously large number of files and not only few. How can I force Mina to use other threads than the NIOProcessor threads for that? Increase the number of IoProcessors. Again, at some point, writing data into sockets is fast, compared to the time it takes to send them on the physical network, so I'm not sure that having tens of IoProcessor helps a lot. An IoProcessor just read the queue, and inject the data into the socket, if it's ready for write. It does that repetitively, as soon as he select() method signal that at least one socket is ready. This is definitively not the bottleneck. If you need to increase the throughput, then you have to think about having more than one server... -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com From [email protected] Mon Feb 14 08:46:43 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49714 invoked from network); 14 Feb 2011 08:46:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Feb 2011 08:46:43 -0000 Received: (qmail 36717 invoked by uid 500); 14 Feb 2011 08:46:43 -0000 Delivered-To: [email protected] Received: (qmail 36308 invoked by uid 500); 14 Feb 2011 08:46:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 99730 invoked by uid 99); 14 Feb 2011 07:59:53 -0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Subject: RE: where to place the ExecutorFilter? Date: Mon, 14 Feb 2011 02:59:40 -0500 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: where to place the ExecutorFilter? Thread-Index: AcvL31IJyo32/OLXR2eMF1JKG2LoIAAPJoSA References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> From: "Guy Itzhaki" <[email protected]> To: <[email protected]>, <[email protected]> DQoNCi0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBFbW1hbnVlbCBMw6ljaGFybnkg W21haWx0bzplbGVjaGFybnlAYXBhY2hlLm9yZ10gDQpTZW50OiBNb25kYXksIEZlYnJ1YXJ5IDE0 LCAyMDExIDI6MzYgQU0NClRvOiB1c2Vyc0BtaW5hLmFwYWNoZS5vcmcNClN1YmplY3Q6IFJlOiB3 aGVyZSB0byBwbGFjZSB0aGUgRXhlY3V0b3JGaWx0ZXI/DQoNCk9uIDIvMTMvMTEgMzoyMyBQTSwg R3V5IEl0emhha2kgd3JvdGU6DQo+IEVtbWFudWVsLCB0aGFua3MgZm9yIHRoZSByZXNwb25zZS4N Cj4NCj4gMS4gVGhlIHNlcnZlciBwcm9jZXNzZXMgaW5jb21pbmcgbWVzc2FnZXMgdXNpbmcgdGhl IHByb3RvY29sQ29kZWNGaWx0ZXIuIEN1cnJlbnRseSBpdCBpcyB0aGUgcHJvdG9jb2xDb2RlY0Zp bHRlciByZXNwb25zaWJpbGl0eSB0byByZWFkIHRoZSBFTlRJUkUgbWVzc2FnZSBhbmQgc2F2ZSBp dCBpbiB0aGUgaGFyZCBkaXNrIGZvciBmdXR1cmUgcHJvY2Vzc2luZyBieSB0aGUgSGFuZGxlci4g UmVhZGluZyBmZXcgaHVuZHJlZCBNQnMgaXMgYW4gZXhwZW5zaXZlIHByb2Nlc3MgYW5kIG1pZ2h0 IHRha2UgYSB3aGlsZSwgc28gZHJvcHBpbmcgdGhlIGZpcnN0IEV4ZWN1dG9yRmlsdGVyIG1lYW5z IHRoYXQgdGhlIE5JT1Byb2Nlc3NvciB0aHJlYWQgd2lsbCBoYW5kbGUgdGhpcyAobG9uZykgdGFz ay4gSWYgSSdtIG5vdCBtaXN0YWtlbiB0aGlzIGlzIGEgYmFkIGNob2ljZSBiZWNhdXNlIEkgaGF2 ZSBvbmx5IGZldyBQcm9jZXNzb3JzIHNvIEknbGwgZWFzaWx5IGNhdXNlIG15IHNlcnZlciB0byBu b3QgZXhjZXB0aW5nXHByb2Nlc3Npbmcgb3RoZXIgcmVxdWVzdHMuIEFtIEkgcmlnaHQ/IElmIEkn bSwgbWF5YmUgYSBiZXR0ZXIgZGVzaWduIGZvciBteSBzZXJ2ZXIgd291bGQgYmUgdG8gbW92ZSB0 aGUgKGV4cGVuc2l2ZSkgZmlsZSByZWFkaW5nIHRvIHRoZSBoYW5kbGVyLi4uDQpJIHRoaW5rIHRo YXQgaXQncyBwcm9iYWJseSBiZXR0ZXIgdG8gbW92ZSB0aGUgcHJvY2Vzc2luZyBvZiB0aGUgaHVn ZSANCmluY29taW5nIG1lc3NhZ2VzIGludG8gdGhlIGhhbmRsZXIsIHllcy4gTm93LCBjb25zaWRl cmluZyB0aGF0IHdyaXRpbmcgDQpkYXRhIG9uIGRpc2sgaXMgMTAwMCB0aW1lcyBtb3JlIGV4cGVu c2l2ZSB0aGF0IHByb2Nlc3NpbmcgdGhlbSBpbiBtZW1vcnkgDQoocHVsbGluZyB0aGlzIG51bWJl ciBvdXQgb2YgbXkgaGF0LCBidXQgbGV0J3MgdXNlIHRoaXMgbnVtYmVyIGZvciB0aGUgDQpzYWtl IG9mIHRoZSBkZW1vbnN0cmF0aW9uKSwgdGhlbiB5b3VyIGJvdHRsZW5lY2sgd2lsbCBiZSB0aGUg ZGlzaywgbm90IA0KdGhlIHRocmVhZHMgOiBubyBtYXR0ZXIgaG93IG1hbnkgdGhyZWFkcyB5b3Ug d2lsbCB1c2UsIHlvdSB3aWxsIHN0aWxsIGJlIA0KYm91bmRlZCBieSBob3cgZmFzdCBpcyB5b3Vy IGRpc2suLi4NCkknbGwgbW92ZSB0aGUgcmVhZGluZyBvZiB0aGUgZmlsZSB0byB0aGUgaGFuZGxl ciBhcyB5b3Ugc3VnZ2VzdGVkLiBOb3RlIHRoYXQgbXkgbWVzc2FnZSBjb21wb3NlZCBvZiB0d286 IGEgbWV0YSBkYXRhIGhlYWRlciBhbmQgdGhlIGZpbGUgaXRzZWxmLiBJJ2xsIHJlYWQgdGhlIG1l dGEgZGF0YSBpbiB0aGUgUHJvdG9jb2xDb2RlYyBhbmQgbGVhdmUgdGhlIGZpbGUgcmVhZGluZyBm b3IgdGhlIGhhbmRsZXIuIE15IHF1ZXN0aW9uIHRoZW4gaXMgaG93IGNhbiBJIHJlYWQgdGhlIHJl c3Qgb2YgdGhlIG1lc3NhZ2UgZnJvbSB0aGUgaGFuZGxlcj8gVGhlIG1lc3NhZ2VSZWNlaXZlZCBt ZXRob2QgaGFzIDIgcGFyYW1zIG9uZSBpcyB0aGUgc2Vzc2lvbiwgSSBkaWRuJ3QgZmluZCBhbnkg ZXhhbXBsZSBvZiByZWFkaW5nIGRpcmVjdGx5IGZyb20gdGhlIHNlc3Npb24/DQoNCj4gMi4gSW4g b3JkZXIgdG8gYmUgZWZmaWNpZW50IGFuZCBjb25zdW1lIGFzIGxlc3MgbWVtb3J5IGFzIGl0IGNh biwgdGhlIHNlcnZlciBzZW5kcyB0aGUgYmlnIGZpbGVzIHVzaW5nIEZpbGVXaXRoSGVhZGVyV3Jp dGVGaWx0ZXINClRoaXMgY2xhc3MgaXMgbm90IGEgTUlOQSBjbGFzcywgQUZBSUNUDQo+ICAgKHdo aWNoIGV4dGVuZHMgQWJzdHJhY3RTdHJlYW1Xcml0ZUZpbHRlcikgSSd2ZSBub3RlZCB0aGF0IGV2 ZW4gaWYgSSBoYXZlIGFuIEV4ZWN1dG9yRmlsdGVyIGluIHRoZSBjaGFpbiBNaW5hIGRvZXMgbm90 IHVzZSBpdHMgdGhyZWFkcywgaW5zdGVhZCBpdCB1c2VzIE5JT1Byb2Nlc3NvciB0aHJlYWRzLg0K VWx0aW1hdGVseSwgd2hlbiB0aGUgbWVzc2FnZSBoYXMgdHJhbnNpdGVkIHRocm91Z2ggdGhlIGNo YWluLCBpdCdzIA0KcXVldWVkIGludG8gYW4gSW9Qcm9jZXNzb3IsIHNvIGFkZGluZyBhbiBleGVj dXRvciBleHBlY3RpbmcgdGhhdCBtb3JlIA0KdGhyZWFkcyB3aWxsIGJlIHVzZWQgdG8gc2VuZCB0 aGUgZGF0YSB0byB0aGUgY2xpZW50IGlzIHNpbXBseSB1c2VsZXNzLiANCktlZXAgaW4gbWluZCB0 aGF0IG9uY2UgdGhlIHNvY2tldCBpcyBvcGVuZWQsIGl0J3MgYXNzb2NpYXRlZCB3aXRoIGEgDQpz ZWxlY3RvciwgYW5kIHdoYXQgaXMgaW1wb3J0YW50IGlzIHRoZSB0aHJlYWQgaGF2aW5nIGFjY2Vz cyB0byB0aGlzIA0Kc2VsZWN0b3IuIFNoYXJpbmcgdGhpcyBzZWxlY3RvciB0aHJvdWdoIG1hbnkg dGhyZWFkcyB3b3VsZCBub3QgaGVscC4uLg0KDQo+IChBZ2FpbiwpIHRoaXMgaXMgYW4gaXNzdWUg YXMgSSB3b3VsZCBleHBlY3QgbXkgc2VydmVyIHRvIHByb2Nlc3Mgc2ltdWx0YW5lb3VzbHkgbGFy Z2UgbnVtYmVyIG9mIGZpbGVzIGFuZCBub3Qgb25seSBmZXcuIEhvdyBjYW4gSSBmb3JjZSBNaW5h IHRvIHVzZSBvdGhlciB0aHJlYWRzIHRoYW4gdGhlIE5JT1Byb2Nlc3NvciB0aHJlYWRzIGZvciB0 aGF0Pw0KSW5jcmVhc2UgdGhlIG51bWJlciBvZiBJb1Byb2Nlc3NvcnMuIEFnYWluLCBhdCBzb21l IHBvaW50LCB3cml0aW5nIGRhdGEgDQppbnRvIHNvY2tldHMgaXMgZmFzdCwgY29tcGFyZWQgdG8g dGhlIHRpbWUgaXQgdGFrZXMgdG8gc2VuZCB0aGVtIG9uIHRoZSANCnBoeXNpY2FsIG5ldHdvcmss IHNvIEknbSBub3Qgc3VyZSB0aGF0IGhhdmluZyB0ZW5zIG9mIElvUHJvY2Vzc29yIGhlbHBzIA0K YSBsb3QuIEFuIElvUHJvY2Vzc29yIGp1c3QgcmVhZCB0aGUgcXVldWUsIGFuZCBpbmplY3QgdGhl IGRhdGEgaW50byB0aGUgDQpzb2NrZXQsIGlmIGl0J3MgcmVhZHkgZm9yIHdyaXRlLiBJdCBkb2Vz IHRoYXQgcmVwZXRpdGl2ZWx5LCBhcyBzb29uIGFzIA0KaGUgc2VsZWN0KCkgbWV0aG9kIHNpZ25h bCB0aGF0IGF0IGxlYXN0IG9uZSBzb2NrZXQgaXMgcmVhZHkuIFRoaXMgaXMgDQpkZWZpbml0aXZl bHkgbm90IHRoZSBib3R0bGVuZWNrLg0KDQpJZiB5b3UgbmVlZCB0byBpbmNyZWFzZSB0aGUgdGhy b3VnaHB1dCwgdGhlbiB5b3UgaGF2ZSB0byB0aGluayBhYm91dCANCmhhdmluZyBtb3JlIHRoYW4g b25lIHNlcnZlci4uLg0KDQotLSANClJlZ2FyZHMsDQpDb3JkaWFsZW1lbnQsDQpFbW1hbnVlbCBM w6ljaGFybnkNCnd3dy5pa3Rlay5jb20NCg0KDQoNCkNsaWNrIGhlcmUgdG8gcmVwb3J0IHRoaXMg bWVzc2FnZSBhcyBTUEFNOiBodHRwOi8vdnNwLmF0ZXJhbmV0d29ya3MuY29tL1JlcG9ydFNwYW0u cGhwP3NpZD1hOTU1YWY1YTgwNDgyMGFkOTBjODdkYzc5NWFjYjgwZl85ZTQ1ODMxYjE4ZTc1ZDIz MTE4ZTE4ZGRiMGI0NjQ2ZA0KLS0gUG93ZXJlZCBieSBBVEVSQSBOZXR3b3JrcyAtLQ0KDQoNCg== From [email protected] Mon Feb 14 09:50:07 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73724 invoked from network); 14 Feb 2011 09:50:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Feb 2011 09:50:07 -0000 Received: (qmail 82537 invoked by uid 500); 14 Feb 2011 09:50:07 -0000 Delivered-To: [email protected] Received: (qmail 82308 invoked by uid 500); 14 Feb 2011 09:50:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 73745 invoked by uid 99); 14 Feb 2011 09:41:22 -0000 X-ASF-Spam-Status: No, hits=2.9 required=5.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CBCC2B.4C00461C" Subject: jmx with mina 2.0.2 Date: Mon, 14 Feb 2011 04:41:09 -0500 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: jmx with mina 2.0.2 Thread-Index: AcvMK09HQ7oug39tTsi3qXGmZ+dBag== From: "Guy Itzhaki" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01CBCC2B.4C00461C Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I'm trying to use jmx in my Mina based server, I ran the example andI get the following error Exception in thread "main" java.lang.NoClassDefFoundError: ognl/TypeConverter =20 Help will be appreciated. Guy ------_=_NextPart_001_01CBCC2B.4C00461C-- From [email protected] Mon Feb 14 09:53:23 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74649 invoked from network); 14 Feb 2011 09:53:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Feb 2011 09:53:22 -0000 Received: (qmail 85105 invoked by uid 500); 14 Feb 2011 09:53:22 -0000 Delivered-To: [email protected] Received: (qmail 84798 invoked by uid 500); 14 Feb 2011 09:53:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 84788 invoked by uid 99); 14 Feb 2011 09:53:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Feb 2011 09:53:19 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-yx0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Feb 2011 09:53:14 +0000 Received: by yxd30 with SMTP id 30so2374935yxd.2 for <[email protected]>; Mon, 14 Feb 2011 01:52:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=HvNxZTDYLEQQCgwO//ZM7PVTJv8IPAoeKx6Qvt2HMr8=; b=IB6DjFMKfm5+SLkKlh8s/ExarRhfAjl13xd32dhM9hwCxgK/SSmqu3lCfovBtq0fd2 15AJeryOvgGVV1tes5UEJ7oqqoHjiWX3C0d9N0jhR50sBnL20MxDcp1oDjpOCKmslm+F L//MkZVhv6kbquGQ3kFzUtvqhlGjm6OM29Npc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=KMRiyX0V2a6mekgdDmecmf8rkwbd4qkvnnl3T/TU1p2y6uoPHCAYiBWej7zjEkeVCx 1+9qo2d/BeKFTRHY2VEd+IiTEG+frYhYTaOtdpnHBSL30jEr+x7orrqPVNCgJ5PGQBIO zhWFZFbWpF+ejfQHxK1R3FM/qqwTguEIllBS0= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id p38mr793159yhg.84.1297677173720; Mon, 14 Feb 2011 01:52:53 -0800 (PST) Received: by 161.129.204.104 with HTTP; Mon, 14 Feb 2011 01:52:53 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> Date: Mon, 14 Feb 2011 15:22:53 +0530 Message-ID: <[email protected]> Subject: Re: jmx with mina 2.0.2 From: Ashish <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 include ognl-2.7.3.jar (its available with MINA download) On Mon, Feb 14, 2011 at 3:11 PM, Guy Itzhaki <[email protected]> wrote: > I'm trying to use jmx in my Mina based server, I ran the example andI > get the following error Exception in thread "main" > java.lang.NoClassDefFoundError: ognl/TypeConverter > > > > Help will be appreciated. > > Guy > > -- thanks ashish Blog: http://www.ashishpaliwal.com/blog My Photo Galleries: http://www.pbase.com/ashishpaliwal From [email protected] Mon Feb 14 12:27:15 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41166 invoked from network); 14 Feb 2011 12:27:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Feb 2011 12:27:15 -0000 Received: (qmail 42618 invoked by uid 500); 14 Feb 2011 12:27:15 -0000 Delivered-To: [email protected] Received: (qmail 42338 invoked by uid 500); 14 Feb 2011 12:27:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 90776 invoked by uid 99); 14 Feb 2011 11:29:35 -0000 X-ASF-Spam-Status: No, hits=2.9 required=5.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CBCC3A.6A61D21A" Subject: RE: jmx with mina 2.0.2 Date: Mon, 14 Feb 2011 06:29:21 -0500 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: jmx with mina 2.0.2 Thread-Index: AcvMK09HQ7oug39tTsi3qXGmZ+dBagADw4Ig From: "Guy Itzhaki" <[email protected]> To: "Guy Itzhaki" <[email protected]>, <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01CBCC3A.6A61D21A Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Working, thanks =20 From: Guy Itzhaki=20 Sent: Monday, February 14, 2011 11:41 AM To: [email protected] Subject: jmx with mina 2.0.2 =20 I'm trying to use jmx in my Mina based server, I ran the example andI get the following error Exception in thread "main" java.lang.NoClassDefFoundError: ognl/TypeConverter =20 Help will be appreciated. Guy ------_=_NextPart_001_01CBCC3A.6A61D21A-- From [email protected] Mon Feb 14 23:39:34 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78329 invoked from network); 14 Feb 2011 23:39:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Feb 2011 23:39:34 -0000 Received: (qmail 51255 invoked by uid 500); 14 Feb 2011 23:39:34 -0000 Delivered-To: [email protected] Received: (qmail 51175 invoked by uid 500); 14 Feb 2011 23:39:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 51167 invoked by uid 99); 14 Feb 2011 23:39:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Feb 2011 23:39:33 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-wy0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Feb 2011 23:39:26 +0000 Received: by wyb38 with SMTP id 38so5599021wyb.2 for <[email protected]>; Mon, 14 Feb 2011 15:39:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:date:message-id:mime-version :content-type:content-transfer-encoding:x-mailer:thread-index :content-language; bh=nuABz16WLip0cCYjrPK5nnhwwlmLpqDFMaZ1pGGI8kI=; b=R42q3AfGmEuiWhqwa4e2H0Gnsf8jBCZKdELTPzxzy1wuQ10mXwtGtbsrVzhp5tvq2Y zCqcIBprQ8hUctfHhFi0JJitWoL1h0/KvULMUPJntuPyBlN95O3aI99Q4aUmMCjnTgYE u4p1iEvvYetIuX2W3hiMSjoEqqd36FAq+SrvQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:mime-version:content-type :content-transfer-encoding:x-mailer:thread-index:content-language; b=VlcrLtb2coJTG/APOiULJtwT+RSPGdtwbEm+kxLoJk7lYiQBY5O3n2eYSPwQTphAO8 lEht1e1N6P2/knH/JfiKp1cEWyL7iA1maXBnlSQWxcKeCKclInC8MKKT/t36KIj2S6Vy rVcP0omWsWZ8xcjzi3xOCAnpWN5WKTDjwfVxM= Received: by 161.129.204.104 with SMTP id j60mr159658wel.47.1297726745302; Mon, 14 Feb 2011 15:39:05 -0800 (PST) Received: from UTOPIA3 (client-86-27-29-71.glfd.adsl.virginmedia.com [161.129.204.104]) by mx.google.com with ESMTPS id u2sm1089649weh.12.2161.129.204.104.39.04 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 14 Feb 2011 15:39:04 -0800 (PST) From: "Tim Mottershead" <[email protected]> To: <[email protected]> Subject: Why use only one codec filter? Date: Mon, 14 Feb 2011 23:38:44 -0000 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcvMoFGCu2klz87xSoOciL8pIzdjbw== Content-Language: en-gb Hi, The 'MINA In Real Life' ApacheCon EU 2009 conference slides say that only one codec filter should be used. Is this for performance reasons or is it technically impossible to use more than one? The reason I ask is that I am looking at the feasibility of implementing a MINA TDS (http://en.wikipedia.org/wiki/Tabular_Data_Stream) server. TDS uses PDUs with an 8 byte header including type, status, length. The maximum size of the PDU is negotiated between client & server at the start of their dialog. The payload of the PDU usually contains one or more tokens (e.g. a SQL command). A token can be of various types, can be fixed, variable or zero length and can span multiple PDUs. So this is a two level (or nested) protocol and I my first thought would be to implement 2 codecs - one to handle the lower level PDU and the other to handle the payload(token). What would be wrong with taking this approach, in the light of the advice extended in 'MINA In Real Life'? Would there be a better way of approaching this? Any and all comments appreciated. I'm a MINA newbie! Thanks. Tim From [email protected] Tue Feb 15 01:36:05 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37451 invoked from network); 15 Feb 2011 01:36:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Feb 2011 01:36:05 -0000 Received: (qmail 98466 invoked by uid 500); 15 Feb 2011 01:36:04 -0000 Delivered-To: [email protected] Received: (qmail 98413 invoked by uid 500); 15 Feb 2011 01:36:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 98405 invoked by uid 99); 15 Feb 2011 01:36:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Feb 2011 01:36:04 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iw0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Feb 2011 01:35:54 +0000 Received: by iwn2 with SMTP id 2so6148345iwn.2 for <[email protected]>; Mon, 14 Feb 2011 17:35:33 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id hw8mr6086095icb.111.1297733731923; Mon, 14 Feb 2011 17:35:31 -0800 (PST) Received: by 161.129.204.104 with HTTP; Mon, 14 Feb 2011 17:35:31 -0800 (PST) X-Originating-IP: [161.129.204.104] Date: Mon, 14 Feb 2011 17:35:31 -0800 Message-ID: <[email protected]> Subject: Synchronous behavior while adding and removing connections From: John Fallows <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=20cf30549dab1ab6b9049c482ec2 X-Virus-Checked: Checked by ClamAV on apache.org --20cf30549dab1ab6b9049c482ec2 Content-Type: text/plain; charset=ISO-8859-1 Folks, We have discovered some blocking behavior in the Mina AbstractPollingIoProcessor that is triggered while adding and removing connections. This class manages an internal worker that must be started when the first connection is added, and stopped when the last connection is removed. The code achieves this by using a synchronized block in startupProcessor() as follows: public final void remove(T session) { scheduleRemove(session); startupProcessor(); } private void scheduleRemove(T session) { removingSessions.add(session); } private void startupProcessor() { synchronized (lock) { if (processor == null) { processor = new Processor(); executor.execute(new NamePreservingRunnable(processor, threadName)); } } // Just stop the select() and start it again, so that the processor // can be activated immediately. wakeup(); } Each call to session.close() triggers the "filterClose" event on the filter chain, ending in a call to removeSession (shown above) where the synchronized lock is obtained to verify that the processor is running in order to close the connection. When a large number of connections are closed at the same time, they will contend for the synchronized lock. Similar behavior occurs when new connections are established via addSession (not shown here). Both removeSession and addSession synchronize on the same lock, so they also contend with each other as connections come and go. If you agree that this is an issue and add it to your issue tracker, then we would be happy to upload a patch with a suggested solution using atomic data structures instead for your consideration. Note that we have found similar behavior in AbstractPollingIoAcceptor and AbstractPollingIoConnector will gladly include suggested patches for those as well. Kind Regards, John Fallows -- >|< Kaazing Corporation >|< John Fallows | CTO | 763.369.2439 444 Castro St, Suite 1100 | Mountain View, CA 94041, USA --20cf30549dab1ab6b9049c482ec2-- From [email protected] Tue Feb 15 02:18:03 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57000 invoked from network); 15 Feb 2011 02:18:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Feb 2011 02:18:03 -0000 Received: (qmail 25713 invoked by uid 500); 15 Feb 2011 02:18:03 -0000 Delivered-To: [email protected] Received: (qmail 25678 invoked by uid 500); 15 Feb 2011 02:18:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 25670 invoked by uid 99); 15 Feb 2011 02:18:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Feb 2011 02:18:02 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-wy0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Feb 2011 02:17:55 +0000 Received: by wyb38 with SMTP id 38so5705904wyb.2 for <[email protected]>; Mon, 14 Feb 2011 18:17:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:reply-to:user-agent :mime-version:to:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=7rFe8DDfbuZbYRnywEsiDsLWaOVm0Z22WTX97f0ts9c=; b=g88QFt/NCxan00biHakWXVeQTEZgfZUW4SIevxIHDA4h5hZ9kCR7ojxJ9r1D4d8/jv /WNwX5q7QEX+gNbDON9q1DvSmKzWwYjih0QoMa0PxR9bNENUNdZdbEvv42LbjppxP+EL GxxE+5XOp7eBCoCprXXLuX6IDYmyotUc7+tKo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=ppwIUa7fM38JNg5f4EfEVL/h2ddLXM9PQ9d51wM1CfJlPyh6NkQ3XEKpzj3FVUU7Ya lxwaBxLnirc5exc0Q5PAm7lIDNlImf/9AWQ5zvWOeIBwOuWsk0j868xgU1jqwlE0d6Rb +ibCtLt1Nk5oLkbe9V1EcO4++98M1dJcJj6dk= Received: by 161.129.204.104 with SMTP id t15mr3173362wbt.27.1297736254527; Mon, 14 Feb 2011 18:17:34 -0800 (PST) Received: from emmanuel-lecharnys-MacBook-Pro.local (ran75-1-78-192-106-184.fbxo.proxad.net [161.129.204.104]) by mx.google.com with ESMTPS id w25sm2399360wbd.17.2161.129.204.104.17.32 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 14 Feb 2011 18:17:33 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 15 Feb 2011 03:17:31 +0100 From: Emmanuel Lecharny <[email protected]> Reply-To: [email protected] User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: Why use only one codec filter? References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org On 2/15/11 12:38 AM, Tim Mottershead wrote: > Hi, > > The 'MINA In Real Life' ApacheCon EU 2009 conference slides say that only > one codec filter should be used. Is this for performance reasons or is it > technically impossible to use more than one? My bad. In fact, you can have more than one codec filter. I guess that I was just trying to tell "keep it simple, stupid" ! > The reason I ask is that I am looking at the feasibility of implementing a > MINA TDS (http://en.wikipedia.org/wiki/Tabular_Data_Stream) server. TDS > uses PDUs with an 8 byte header including type, status, length. The maximum > size of the PDU is negotiated between client& server at the start of their > dialog. The payload of the PDU usually contains one or more tokens (e.g. a > SQL command). A token can be of various types, can be fixed, variable or > zero length and can span multiple PDUs. > > So this is a two level (or nested) protocol and I my first thought would be > to implement 2 codecs - one to handle the lower level PDU and the other to > handle the payload(token). What would be wrong with taking this approach, > in the light of the advice extended in 'MINA In Real Life'? Would there be > a better way of approaching this? The way we implemented the LDAP decoding is similar : it's a two level codec, the first layer is a TLV decoder (Type/Length/Value), the second layer decode the messages itself. The decoder was handling both layers, but in order to do that, the message is constructed on the fly, and stored into the session, so that if the PDU is transmitted in pieces, we can restore the message. I must admit that it could have been done differently (ie, with two codecs) but as the TLV have a recursive structure (ie the Value part can itself be a TLV), that would have meant we have to aggregate all the bytes before passing the data to the next codec. This is one of the reason one single decoder is also better : you don't have to load a long list of bytes in memory until all the necessary bytes have been received. This is a choice, both solution are valid. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com From [email protected] Tue Feb 15 02:30:46 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60073 invoked from network); 15 Feb 2011 02:30:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Feb 2011 02:30:46 -0000 Received: (qmail 31871 invoked by uid 500); 15 Feb 2011 02:30:46 -0000 Delivered-To: [email protected] Received: (qmail 31824 invoked by uid 500); 15 Feb 2011 02:30:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31816 invoked by uid 99); 15 Feb 2011 02:30:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Feb 2011 02:30:45 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-wy0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Feb 2011 02:30:39 +0000 Received: by wyb38 with SMTP id 38so5713203wyb.2 for <[email protected]>; Mon, 14 Feb 2011 18:30:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:reply-to:user-agent :mime-version:to:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=k3GVW7pS2cSD74ARKAdtOl4AXjx9Ms56tOHOyp/YzeU=; b=opvJEksIlDfoy18vr7Um1GGCxHWyyQ86+zPGlUW4Uy6P2LgWJ22JuYUFqtnrfg1oDW CzVmUwhhDFSCeE88H3pNHtE8Q3cu2worYrVpZRjZAM+FzsRh61BLy/FemLfV/Bk4ycuY huCAeZnsNPZy23bebv1yWNLiBSc7jY+ioWd4Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=tZgfqRflNsN4L0ZEbjSiz7tCCYLk6/LlaHJ/pm6nXXVsrvbcr7W7E9GA9IKZscevDF SYlIgsi2OFXlqPPj/8kPlQhwGpcQnXwEQJ0JjeiaGQMhaKBc4YTvDXRir9JDu338ar9T iiwjJ0X7OgPU/dKvEsU15UeyKVrrj9SDAJFfU= Received: by 161.129.204.104 with SMTP id j60mr262417wel.47.1297737017775; Mon, 14 Feb 2011 18:30:17 -0800 (PST) Received: from emmanuel-lecharnys-MacBook-Pro.local (ran75-1-78-192-106-184.fbxo.proxad.net [161.129.204.104]) by mx.google.com with ESMTPS id f52sm1128766wes.35.2161.129.204.104.30.16 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 14 Feb 2011 18:30:16 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 15 Feb 2011 03:30:15 +0100 From: Emmanuel Lecharny <[email protected]> Reply-To: [email protected] User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: Synchronous behavior while adding and removing connections References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 2/15/11 2:35 AM, John Fallows wrote: > Folks, Hi, first, if you think that you have found a bug, the best, really, is to create a JIRA. We can discuss the ins and outs of the problem in the JIRA, at least, nothing will get lost. The mailing list is on the opposite a perfect way to lose some informations :) Don't be afraid : if there is no bug, we simply close the JIRA, nothing more. > We have discovered some blocking behavior in the Mina > AbstractPollingIoProcessor that is triggered while adding and removing > connections. Adding a connection first triggers the Acceptor which create the socket and adds it to an IoProcessor. This is just a mmater of registering a Selection Key to the IoProcessor selector. As soon as the selectionKey is added, it generates an event which interrupts the worker select() call, then the newly added session is processed. Closing the connection does exactly the same thing : trigger an event and wake up the worker. > This class manages an internal worker that must be started when the first > connection is added, and stopped when the last connection is removed. The worker is started *before* the first connection reaches it, AFAICT. And when the last connection has been closed, the worker is not killed, unless you specifically requires its disposal. It just waits for new incoming connections. > The code achieves this by using a synchronized block in startupProcessor() > as follows: > > public final void remove(T session) { > scheduleRemove(session); > startupProcessor(); > } > > private void scheduleRemove(T session) { > removingSessions.add(session); > } > > private void startupProcessor() { > synchronized (lock) { > if (processor == null) { > processor = new Processor(); > executor.execute(new NamePreservingRunnable(processor, > threadName)); > } > } > > // Just stop the select() and start it again, so that the processor > // can be activated immediately. > wakeup(); > } > > > Each call to session.close() triggers the "filterClose" event on the filter > chain, ending in a call to removeSession (shown above) where the > synchronized lock is obtained to verify that the processor is running in > order to close the connection. When a large number of connections are > closed at the same time, they will contend for the synchronized lock. The lock is just used the time it takes to check for a value nullity. It's *extremely* fast. I would not say that there is some potential contention issue here. You'll probably need tens of thousands connection closing at the same time to see the consequences of such a lock. > Similar behavior occurs when new connections are established via addSession > (not shown here). Both removeSession and addSession synchronize on the same > lock, so they also contend with each other as connections come and go. I have to check the code to see if the IoProcessors can't be start *before* the Acceptor accepts incoming connections. That would eliminate the cost of creating new IoProcessors in a contended section of the code. > If you agree that this is an issue and add it to your issue tracker, then we > would be happy to upload a patch with a suggested solution using atomic data > structures instead for your consideration. Please, feel free to do so ! This is a community work, we don't expect to be best coders on earth ! > Note that we have found similar behavior in AbstractPollingIoAcceptor > and AbstractPollingIoConnector will gladly include suggested patches for > those as well. Which makes sense, as they are symetrical. Thanks for your investigation, I'm waiting for the JIRA. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com From [email protected] Tue Feb 15 03:19:40 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78070 invoked from network); 15 Feb 2011 03:19:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Feb 2011 03:19:40 -0000 Received: (qmail 58202 invoked by uid 500); 15 Feb 2011 03:19:40 -0000 Delivered-To: [email protected] Received: (qmail 57985 invoked by uid 500); 15 Feb 2011 03:19:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 57977 invoked by uid 99); 15 Feb 2011 03:19:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Feb 2011 03:19:36 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iy0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Feb 2011 03:19:26 +0000 Received: by iyh42 with SMTP id 42so6226502iyh.2 for <[email protected]>; Mon, 14 Feb 2011 19:19:05 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id ib6mr5937908icb.516.1297739945339; Mon, 14 Feb 2011 19:19:05 -0800 (PST) Received: by 161.129.204.104 with HTTP; Mon, 14 Feb 2011 19:19:05 -0800 (PST) X-Originating-IP: [161.129.204.104] In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Mon, 14 Feb 2011 19:19:05 -0800 Message-ID: <[email protected]> Subject: Re: Synchronous behavior while adding and removing connections From: John Fallows <[email protected]> To: [email protected], [email protected] Content-Type: multipart/alternative; boundary=20cf3054961573ebb8049c49a03d X-Virus-Checked: Checked by ClamAV on apache.org --20cf3054961573ebb8049c49a03d Content-Type: text/plain; charset=ISO-8859-1 Hi Emmanuel, On Mon, Feb 14, 2011 at 6:30 PM, Emmanuel Lecharny <[email protected]>wrote: > On 2/15/11 2:35 AM, John Fallows wrote: > >> Folks, >> > > Hi, > > first, if you think that you have found a bug, the best, really, is to > create a JIRA. We can discuss the ins and outs of the problem in the JIRA, > at least, nothing will get lost. The mailing list is on the opposite a > perfect way to lose some informations :) > > Don't be afraid : if there is no bug, we simply close the JIRA, nothing > more. No problem - in the past I've seen folks want it confirmed on the list before filing JIRA. > > > We have discovered some blocking behavior in the Mina >> AbstractPollingIoProcessor that is triggered while adding and removing >> connections. >> > Adding a connection first triggers the Acceptor which create the socket and > adds it to an IoProcessor. This is just a mmater of registering a Selection > Key to the IoProcessor selector. As soon as the selectionKey is added, it > generates an event which interrupts the worker select() call, then the newly > added session is processed. > > Closing the connection does exactly the same thing : trigger an event and > wake up the worker. > > This class manages an internal worker that must be started when the first >> connection is added, and stopped when the last connection is removed. >> > The worker is started *before* the first connection reaches it, AFAICT. And > when the last connection has been closed, the worker is not killed, unless > you specifically requires its disposal. It just waits for new incoming > connections. > > The code achieves this by using a synchronized block in startupProcessor() >> as follows: >> >> public final void remove(T session) { >> scheduleRemove(session); >> startupProcessor(); >> } >> >> private void scheduleRemove(T session) { >> removingSessions.add(session); >> } >> >> private void startupProcessor() { >> synchronized (lock) { >> if (processor == null) { >> processor = new Processor(); >> executor.execute(new NamePreservingRunnable(processor, >> threadName)); >> } >> } >> >> // Just stop the select() and start it again, so that the >> processor >> // can be activated immediately. >> wakeup(); >> } >> >> >> Each call to session.close() triggers the "filterClose" event on the >> filter >> chain, ending in a call to removeSession (shown above) where the >> synchronized lock is obtained to verify that the processor is running in >> order to close the connection. When a large number of connections are >> closed at the same time, they will contend for the synchronized lock. >> > The lock is just used the time it takes to check for a value nullity. It's > *extremely* fast. I would not say that there is some potential contention > issue here. You'll probably need tens of thousands connection closing at the > same time to see the consequences of such a lock. Agreed. We did see significant impact when such collisions do occur. > > > Similar behavior occurs when new connections are established via >> addSession >> (not shown here). Both removeSession and addSession synchronize on the >> same >> lock, so they also contend with each other as connections come and go. >> > > I have to check the code to see if the IoProcessors can't be start *before* > the Acceptor accepts incoming connections. That would eliminate the cost of > creating new IoProcessors in a contended section of the code. Yes, and a similar solution would also be needed for Connectors. > > If you agree that this is an issue and add it to your issue tracker, then >> we >> would be happy to upload a patch with a suggested solution using atomic >> data >> structures instead for your consideration. >> > Please, feel free to do so ! This is a community work, we don't expect to > be best coders on earth ! > > Note that we have found similar behavior in AbstractPollingIoAcceptor >> and AbstractPollingIoConnector will gladly include suggested patches for >> those as well. >> > Which makes sense, as they are symetrical. > > Thanks for your investigation, I'm waiting for the JIRA. > Sure thing - https://issues.apache.org/jira/browse/DIRMINA-819. A patch is attached to DIRMINA-819 describing the proposed changes to preserve the existing semantics using atomics and eliminate the lock. Hope this is helpful, -john. -- >|< Kaazing Corporation >|< John Fallows | CTO | 763.369.2439 444 Castro St, Suite 1100 | Mountain View, CA 94041, USA --20cf3054961573ebb8049c49a03d-- From [email protected] Tue Feb 15 18:30:06 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20313 invoked from network); 15 Feb 2011 18:30:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Feb 2011 18:30:05 -0000 Received: (qmail 13348 invoked by uid 500); 15 Feb 2011 18:30:05 -0000 Delivered-To: [email protected] Received: (qmail 13216 invoked by uid 500); 15 Feb 2011 18:30:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 13208 invoked by uid 99); 15 Feb 2011 18:30:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Feb 2011 18:30:02 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO rcsinet10.oracle.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Feb 2011 18:29:51 +0000 Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [161.129.204.104]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p1FITRDT015585 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <[email protected]>; Tue, 15 Feb 2011 18:29:29 GMT Received: from acsmt354.oracle.com (acsmt354.oracle.com [161.129.204.104]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id p1FITQeC008581 for <[email protected]>; Tue, 15 Feb 2011 18:29:27 GMT Received: from abhmt014.oracle.com by acsmt355.oracle.com with ESMTP id 1056744321297794564; Tue, 15 Feb 2011 10:29:24 -0800 Received: from [161.129.204.104] (/161.129.204.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 15 Feb 2011 10:29:23 -0800 Message-ID: <[email protected]> Date: Tue, 15 Feb 2011 10:29:22 -0800 From: Jason Weinstein <[email protected]> Organization: Oracle Corporation User-Agent: Thunderbird 161.129.204.104 (Windows/20100228) MIME-Version: 1.0 To: [email protected] Subject: Re: Synchronous behavior while adding and removing connections References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: multipart/alternative; boundary="------------030403020708010002070305" X-Source-IP: acsmt354.oracle.com [161.129.204.104] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090207.4D5AC607.00F4:SCFMA4539814,ss=1,fgs=0 X-Virus-Checked: Checked by ClamAV on apache.org --------------030403020708010002070305 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit John, I just looked at the jira and it looks like your patch was applied in the next branch. If you have time, I'd be interested in a more detailed explanation of the issue and in how your solution solved the problem. Mostly I'm interested if your solution could be applied in other contexts where similar problems exist. Basically if there is some sort of pattern in there, perhaps something to learn. Thanks, Jason On 2/14/2011 7:19 PM, John Fallows wrote: > Hi Emmanuel, > > On Mon, Feb 14, 2011 at 6:30 PM, Emmanuel Lecharny <[email protected]>wrote: > > >> On 2/15/11 2:35 AM, John Fallows wrote: >> >> >>> Folks, >>> >>> >> Hi, >> >> first, if you think that you have found a bug, the best, really, is to >> create a JIRA. We can discuss the ins and outs of the problem in the JIRA, >> at least, nothing will get lost. The mailing list is on the opposite a >> perfect way to lose some informations :) >> >> Don't be afraid : if there is no bug, we simply close the JIRA, nothing >> more. >> > > > No problem - in the past I've seen folks want it confirmed on the list > before filing JIRA. > > > >> We have discovered some blocking behavior in the Mina >> >>> AbstractPollingIoProcessor that is triggered while adding and removing >>> connections. >>> >>> >> Adding a connection first triggers the Acceptor which create the socket and >> adds it to an IoProcessor. This is just a mmater of registering a Selection >> Key to the IoProcessor selector. As soon as the selectionKey is added, it >> generates an event which interrupts the worker select() call, then the newly >> added session is processed. >> >> Closing the connection does exactly the same thing : trigger an event and >> wake up the worker. >> >> This class manages an internal worker that must be started when the first >> >>> connection is added, and stopped when the last connection is removed. >>> >>> >> The worker is started *before* the first connection reaches it, AFAICT. And >> when the last connection has been closed, the worker is not killed, unless >> you specifically requires its disposal. It just waits for new incoming >> connections. >> >> The code achieves this by using a synchronized block in startupProcessor() >> >>> as follows: >>> >>> public final void remove(T session) { >>> scheduleRemove(session); >>> startupProcessor(); >>> } >>> >>> private void scheduleRemove(T session) { >>> removingSessions.add(session); >>> } >>> >>> private void startupProcessor() { >>> synchronized (lock) { >>> if (processor == null) { >>> processor = new Processor(); >>> executor.execute(new NamePreservingRunnable(processor, >>> threadName)); >>> } >>> } >>> >>> // Just stop the select() and start it again, so that the >>> processor >>> // can be activated immediately. >>> wakeup(); >>> } >>> >>> >>> Each call to session.close() triggers the "filterClose" event on the >>> filter >>> chain, ending in a call to removeSession (shown above) where the >>> synchronized lock is obtained to verify that the processor is running in >>> order to close the connection. When a large number of connections are >>> closed at the same time, they will contend for the synchronized lock. >>> >>> >> The lock is just used the time it takes to check for a value nullity. It's >> *extremely* fast. I would not say that there is some potential contention >> issue here. You'll probably need tens of thousands connection closing at the >> same time to see the consequences of such a lock. >> > > > Agreed. We did see significant impact when such collisions do occur. > > > >> Similar behavior occurs when new connections are established via >> >>> addSession >>> (not shown here). Both removeSession and addSession synchronize on the >>> same >>> lock, so they also contend with each other as connections come and go. >>> >>> >> I have to check the code to see if the IoProcessors can't be start *before* >> the Acceptor accepts incoming connections. That would eliminate the cost of >> creating new IoProcessors in a contended section of the code. >> > > > Yes, and a similar solution would also be needed for Connectors. > > > >> If you agree that this is an issue and add it to your issue tracker, then >> >>> we >>> would be happy to upload a patch with a suggested solution using atomic >>> data >>> structures instead for your consideration. >>> >>> >> Please, feel free to do so ! This is a community work, we don't expect to >> be best coders on earth ! >> >> Note that we have found similar behavior in AbstractPollingIoAcceptor >> >>> and AbstractPollingIoConnector will gladly include suggested patches for >>> those as well. >>> >>> >> Which makes sense, as they are symetrical. >> >> Thanks for your investigation, I'm waiting for the JIRA. >> >> > > Sure thing - https://issues.apache.org/jira/browse/DIRMINA-819. > > A patch is attached to DIRMINA-819 describing the proposed changes to > preserve the existing semantics using atomics and eliminate the lock. > > Hope this is helpful, > -john. > > --------------030403020708010002070305-- From [email protected] Tue Feb 15 18:40:14 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 27512 invoked from network); 15 Feb 2011 18:40:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Feb 2011 18:40:13 -0000 Received: (qmail 35742 invoked by uid 500); 15 Feb 2011 18:40:13 -0000 Delivered-To: [email protected] Received: (qmail 35565 invoked by uid 500); 15 Feb 2011 18:40:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 35557 invoked by uid 99); 15 Feb 2011 18:40:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Feb 2011 18:40:11 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-yi0-f43.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Feb 2011 18:40:03 +0000 Received: by yie16 with SMTP id 16so263602yie.2 for <[email protected]>; Tue, 15 Feb 2011 10:39:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:reply-to:user-agent :mime-version:to:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=8Vt/5N/cNHw5XJ8jzkimjJNnGpuJVAUcYxG7/mKJ5b4=; b=kDbn85tjTEUXWnrLdHADiHYfTNIhB6ugVKwYm1X4DCNA07raJ6OK/t/625ccjHDv4f K85+jUO4GCwMRig233+y8zmJX0jgCfRgutNhWUzjqiJ0GXorSRnCqyKRS9pEakbXokjc srQmvI4QfTldrxqOXCpf0NM99ePe4TEj/ojtM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=s4rCUXZYijQb6vYJ+BOC1Fpj0mM4H/tf+ARja+f2/D7d6QE4aL0s7UhG0BGyM+4g6v xyAG/fjOGRN78HehMfTgVnQ2saaHzXiG18STB0Hp/W49iI9K8ZKxYEy8O6Say+SDOpvA SMgGkVxwJ16xoFFso4Sh43ArEO6rC/gCebQNM= Received: by 161.129.204.104 with SMTP id i3mr2376786fan.77.1297795167892; Tue, 15 Feb 2011 10:39:27 -0800 (PST) Received: from emmanuel-lecharnys-MacBook-Pro.local (lon92-10-78-226-4-211.fbx.proxad.net [161.129.204.104]) by mx.google.com with ESMTPS id n15sm1826191fam.12.2161.129.204.104.39.26 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 15 Feb 2011 10:39:26 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 15 Feb 2011 19:39:25 +0100 From: Emmanuel Lecharny <[email protected]> Reply-To: [email protected] User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: Synchronous behavior while adding and removing connections References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org On 2/15/11 7:29 PM, Jason Weinstein wrote: > John, > > I just looked at the jira and it looks like your patch was applied in > the next branch. I confirm. The patch has been applied in http://svn.apache.org/repos/asf/mina/branches/2.0.3 -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com From [email protected] Tue Feb 15 19:49:59 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63169 invoked from network); 15 Feb 2011 19:49:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Feb 2011 19:49:58 -0000 Received: (qmail 45777 invoked by uid 500); 15 Feb 2011 19:49:58 -0000 Delivered-To: [email protected] Received: (qmail 45628 invoked by uid 500); 15 Feb 2011 19:49:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 45620 invoked by uid 99); 15 Feb 2011 19:49:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Feb 2011 19:49:56 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iy0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Feb 2011 19:49:50 +0000 Received: by iyh42 with SMTP id 42so452759iyh.2 for <[email protected]>; Tue, 15 Feb 2011 11:49:29 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id hw8mr7481466icb.111.1297799369574; Tue, 15 Feb 2011 11:49:29 -0800 (PST) Received: by 161.129.204.104 with HTTP; Tue, 15 Feb 2011 11:49:29 -0800 (PST) X-Originating-IP: [161.129.204.104] In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Tue, 15 Feb 2011 11:49:29 -0800 Message-ID: <[email protected]> Subject: Re: Synchronous behavior while adding and removing connections From: John Fallows <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=20cf30549dab69cc2f049c577670 --20cf30549dab69cc2f049c577670 Content-Type: text/plain; charset=ISO-8859-1 Jason, As you know, with non-blocking I/O a small number of threads are servicing a potentially large number of connections (as opposed to blocking I/O with 1 thread per connection). Therefore synchronization can potentially have a dramatic effect when attempting to scale up if there is the possibility of lock contention across more than one thread where one of those contending threads is an I/O thread. All connections serviced by the same I/O thread are affected by such a scenario. We saw active connections serviced by the same I/O thread pause throughput while processing the request to close other sessions serviced by the same I/O thread. Eliminating the lock prevented the blocking behavior. With a small number of connections or low throughput, the pause may not be noticeable, but at high load it became much more obvious. The patch uses atomics to maintain the semantics of starting up the I/O thread when the first connection is accepted, and shutting down the I/O thread when the last connection is closed, but without acquiring the synchronization lock for each connection in between. It deals with the race where two or more connections might be attempting to startup or shutdown the I/O thread at the same time, and picks a winner atomically. Kind Regards, John Fallows On Tue, Feb 15, 2011 at 10:29 AM, Jason Weinstein < [email protected]> wrote: > John, > > I just looked at the jira and it looks like your patch was applied in the > next branch. > > If you have time, I'd be interested in a more detailed explanation of the > issue > and in how your solution solved the problem. Mostly I'm interested if your > solution > could be applied in other contexts where similar problems exist. Basically > if there is > some sort of pattern in there, perhaps something to learn. > > Thanks, > > Jason > > > On 2/14/2011 7:19 PM, John Fallows wrote: > >> Hi Emmanuel, >> >> On Mon, Feb 14, 2011 at 6:30 PM, Emmanuel Lecharny <[email protected] >> >wrote: >> >> >> >>> On 2/15/11 2:35 AM, John Fallows wrote: >>> >>> >>> >>>> Folks, >>>> >>>> >>>> >>> Hi, >>> >>> first, if you think that you have found a bug, the best, really, is to >>> create a JIRA. We can discuss the ins and outs of the problem in the >>> JIRA, >>> at least, nothing will get lost. The mailing list is on the opposite a >>> perfect way to lose some informations :) >>> >>> Don't be afraid : if there is no bug, we simply close the JIRA, nothing >>> more. >>> >>> >> >> >> No problem - in the past I've seen folks want it confirmed on the list >> before filing JIRA. >> >> >> >> >>> We have discovered some blocking behavior in the Mina >>> >>> >>>> AbstractPollingIoProcessor that is triggered while adding and removing >>>> connections. >>>> >>>> >>>> >>> Adding a connection first triggers the Acceptor which create the socket >>> and >>> adds it to an IoProcessor. This is just a mmater of registering a >>> Selection >>> Key to the IoProcessor selector. As soon as the selectionKey is added, it >>> generates an event which interrupts the worker select() call, then the >>> newly >>> added session is processed. >>> >>> Closing the connection does exactly the same thing : trigger an event and >>> wake up the worker. >>> >>> This class manages an internal worker that must be started when the >>> first >>> >>> >>>> connection is added, and stopped when the last connection is removed. >>>> >>>> >>>> >>> The worker is started *before* the first connection reaches it, AFAICT. >>> And >>> when the last connection has been closed, the worker is not killed, >>> unless >>> you specifically requires its disposal. It just waits for new incoming >>> connections. >>> >>> The code achieves this by using a synchronized block in >>> startupProcessor() >>> >>> >>>> as follows: >>>> >>>> public final void remove(T session) { >>>> scheduleRemove(session); >>>> startupProcessor(); >>>> } >>>> >>>> private void scheduleRemove(T session) { >>>> removingSessions.add(session); >>>> } >>>> >>>> private void startupProcessor() { >>>> synchronized (lock) { >>>> if (processor == null) { >>>> processor = new Processor(); >>>> executor.execute(new NamePreservingRunnable(processor, >>>> threadName)); >>>> } >>>> } >>>> >>>> // Just stop the select() and start it again, so that the >>>> processor >>>> // can be activated immediately. >>>> wakeup(); >>>> } >>>> >>>> >>>> Each call to session.close() triggers the "filterClose" event on the >>>> filter >>>> chain, ending in a call to removeSession (shown above) where the >>>> synchronized lock is obtained to verify that the processor is running in >>>> order to close the connection. When a large number of connections are >>>> closed at the same time, they will contend for the synchronized lock. >>>> >>>> >>>> >>> The lock is just used the time it takes to check for a value nullity. >>> It's >>> *extremely* fast. I would not say that there is some potential contention >>> issue here. You'll probably need tens of thousands connection closing at >>> the >>> same time to see the consequences of such a lock. >>> >>> >> >> >> Agreed. We did see significant impact when such collisions do occur. >> >> >> >> >>> Similar behavior occurs when new connections are established via >>> >>> >>>> addSession >>>> (not shown here). Both removeSession and addSession synchronize on the >>>> same >>>> lock, so they also contend with each other as connections come and go. >>>> >>>> >>>> >>> I have to check the code to see if the IoProcessors can't be start >>> *before* >>> the Acceptor accepts incoming connections. That would eliminate the cost >>> of >>> creating new IoProcessors in a contended section of the code. >>> >>> >> >> >> Yes, and a similar solution would also be needed for Connectors. >> >> >> >> >>> If you agree that this is an issue and add it to your issue tracker, >>> then >>> >>> >>>> we >>>> would be happy to upload a patch with a suggested solution using atomic >>>> data >>>> structures instead for your consideration. >>>> >>>> >>>> >>> Please, feel free to do so ! This is a community work, we don't expect to >>> be best coders on earth ! >>> >>> Note that we have found similar behavior in AbstractPollingIoAcceptor >>> >>> >>>> and AbstractPollingIoConnector will gladly include suggested patches for >>>> those as well. >>>> >>>> >>>> >>> Which makes sense, as they are symetrical. >>> >>> Thanks for your investigation, I'm waiting for the JIRA. >>> >>> >>> >> >> Sure thing - https://issues.apache.org/jira/browse/DIRMINA-819. >> >> A patch is attached to DIRMINA-819 describing the proposed changes to >> preserve the existing semantics using atomics and eliminate the lock. >> >> Hope this is helpful, >> -john. >> >> >> > -- >|< Kaazing Corporation >|< John Fallows | CTO | 763.369.2439 444 Castro St, Suite 1100 | Mountain View, CA 94041, USA --20cf30549dab69cc2f049c577670-- From [email protected] Tue Feb 15 20:02:01 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65883 invoked from network); 15 Feb 2011 20:02:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Feb 2011 20:02:01 -0000 Received: (qmail 68414 invoked by uid 500); 15 Feb 2011 20:02:01 -0000 Delivered-To: [email protected] Received: (qmail 68250 invoked by uid 500); 15 Feb 2011 20:01:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 68241 invoked by uid 99); 15 Feb 2011 20:01:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Feb 2011 20:01:58 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-bw0-f43.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Feb 2011 20:01:52 +0000 Received: by bwz14 with SMTP id 14so867974bwz.2 for <[email protected]>; Tue, 15 Feb 2011 12:01:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:reply-to:user-agent :mime-version:to:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=ZG9yf58HiejkNDP2VfAuQKH41kC511UEQgQRt0KSUWc=; b=ZYDNMK9pxVZezIYjkggi9ZsQyOOaKzZsaVcS5SexEJbmQvOZj2IrKEbQF4VR27uf+j 1Y6iSeNunBJLndz/uxsjL4ds76YvP0qcA7tVWWpys91jKYTbzQNKf8auTXjZSogW10jj mJIfXOIji5uquKfUWuZfi9/tu06FpfVts47ag= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=xU91MmIc3I1IBrCQyV5GbgG6NtVIFfLzw/RjVJmPbAb5VJCx/uXoAdvExTowbLgmqx KikdiQRciCw+eHkift9FKmDuwMmZpsh5ZnjgA9+8wj1y1kkNj/YmDTQkReg/KisAQT6e 4Zy+0WOYTTkAp+blA3peIpj011AsBv1vB3Bjc= Received: by 161.129.204.104 with SMTP id m11mr2207497bkl.115.1297800090062; Tue, 15 Feb 2011 12:01:30 -0800 (PST) Received: from emmanuel-lecharnys-MacBook-Pro.local (lon92-10-78-226-4-211.fbx.proxad.net [161.129.204.104]) by mx.google.com with ESMTPS id j11sm2880130bka.0.2161.129.204.104.01.27 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 15 Feb 2011 12:01:28 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 15 Feb 2011 21:01:26 +0100 From: Emmanuel Lecharny <[email protected]> Reply-To: [email protected] User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: Synchronous behavior while adding and removing connections References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 2/15/11 8:49 PM, John Fallows wrote: > Jason, John, more in line... > As you know, with non-blocking I/O a small number of threads are servicing a > potentially large number of connections (as opposed to blocking I/O with 1 > thread per connection). Therefore synchronization can potentially have a > dramatic effect when attempting to scale up if there is the possibility of > lock contention across more than one thread where one of those contending > threads is an I/O thread. All connections serviced by the same I/O thread > are affected by such a scenario. > > We saw active connections serviced by the same I/O thread pause throughput > while processing the request to close other sessions serviced by the same > I/O thread. Eliminating the lock prevented the blocking behavior. With a > small number of connections or low throughput, the pause may not be > noticeable, but at high load it became much more obvious. Can you provide a bit more info about the load you are experiencing ? That would be interesting for all the mailing list subscribers to know about real life examples... Many thanks ! -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com From [email protected] Tue Feb 15 21:53:52 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 27520 invoked from network); 15 Feb 2011 21:53:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Feb 2011 21:53:52 -0000 Received: (qmail 35132 invoked by uid 500); 15 Feb 2011 21:53:52 -0000 Delivered-To: [email protected] Received: (qmail 34985 invoked by uid 500); 15 Feb 2011 21:53:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 34977 invoked by uid 99); 15 Feb 2011 21:53:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Feb 2011 21:53:51 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iw0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Feb 2011 21:53:43 +0000 Received: by iwn2 with SMTP id 2so687256iwn.2 for <[email protected]>; Tue, 15 Feb 2011 13:53:21 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id ib6mr7318285icb.516.1297806799485; Tue, 15 Feb 2011 13:53:19 -0800 (PST) Received: by 161.129.204.104 with HTTP; Tue, 15 Feb 2011 13:53:19 -0800 (PST) X-Originating-IP: [161.129.204.104] In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Tue, 15 Feb 2011 13:53:19 -0800 Message-ID: <[email protected]> Subject: Re: Synchronous behavior while adding and removing connections From: John Fallows <[email protected]> To: [email protected], [email protected] Content-Type: multipart/alternative; boundary=20cf30549615453b6b049c5931df X-Virus-Checked: Checked by ClamAV on apache.org --20cf30549615453b6b049c5931df Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable See below... On Tue, Feb 15, 2011 at 12:01 PM, Emmanuel Lecharny <[email protected]>wr= ote: > On 2/15/11 8:49 PM, John Fallows wrote: > >> Jason, >> > John, more in line... > > As you know, with non-blocking I/O a small number of threads are servici= ng >> a >> potentially large number of connections (as opposed to blocking I/O with= 1 >> thread per connection). Therefore synchronization can potentially have = a >> dramatic effect when attempting to scale up if there is the possibility = of >> lock contention across more than one thread where one of those contendin= g >> threads is an I/O thread. All connections serviced by the same I/O thre= ad >> are affected by such a scenario. >> >> We saw active connections serviced by the same I/O thread pause throughp= ut >> while processing the request to close other sessions serviced by the sam= e >> I/O thread. Eliminating the lock prevented the blocking behavior. With= a >> small number of connections or low throughput, the pause may not be >> noticeable, but at high load it became much more obvious. >> > Can you provide a bit more info about the load you are experiencing ? Tha= t > would be interesting for all the mailing list subscribers to know about r= eal > life examples... > > In this particular example, we were running 20k connections and validating the effects of closing and then re-opening a further 10k connections. Kind Regards, John Fallows > Many thanks ! > > > -- > Regards, > Cordialement, > Emmanuel L=E9charny > www.iktek.com > > --=20 >|< Kaazing Corporation >|< John Fallows | CTO | 763.369.2439 444 Castro St, Suite 1100 | Mountain View, CA 94041, USA --20cf30549615453b6b049c5931df-- From [email protected] Wed Feb 16 13:51:14 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48304 invoked from network); 16 Feb 2011 13:51:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Feb 2011 13:51:14 -0000 Received: (qmail 35571 invoked by uid 500); 16 Feb 2011 13:51:14 -0000 Delivered-To: [email protected] Received: (qmail 35321 invoked by uid 500); 16 Feb 2011 13:51:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 35312 invoked by uid 99); 16 Feb 2011 13:51:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Feb 2011 13:51:09 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ey0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Feb 2011 13:51:02 +0000 Received: by eyg5 with SMTP id 5so798940eyg.2 for <[email protected]>; Wed, 16 Feb 2011 05:50:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=o8CqU953oppFeSa6zRzcUDgqb8mzhlGzefgSQVsnEE4=; b=fgYcwPSAyqWAjMrH5jKTWMbojoL8dlD8X+xgz4ibLkXuIAY7l09GXGbngZ+nzBOlth jJrtbiZqNbuTa6j+kzYbEKESn3EFEWPmLAccXzLraA5NhbHHqxDaml9imvOd13OEhUj9 151cQKBLCGqmEhJKe/E86qsgzVrdIySP2RMMs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=b3poroAJnaJuNHdPc6pzIitooVwkOXZAPVPUFygc51IK7urDrOATPw0UU6xjIP+xqJ IfENsGY5YJOipF/ZiqnjBi7BPhPu8ElL0E7i614DG79fQLQszWbNKCwdrVyucff8tFk4 6C4przgN8CDjDN2leoWKmYXhLu/mSNNlW8c2o= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id u47mr642582eeb.44.1297864241425; Wed, 16 Feb 2011 05:50:41 -0800 (PST) Received: by 161.129.204.104 with HTTP; Wed, 16 Feb 2011 05:50:41 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Wed, 16 Feb 2011 14:50:41 +0100 Message-ID: <[email protected]> Subject: Re: Synchronous behavior while adding and removing connections From: Francesco Vivoli <[email protected]> To: [email protected], [email protected] Cc: Emmanuel Lecharny <[email protected]> Content-Type: multipart/alternative; boundary=90e6ba53b4a813ae44049c66915f X-Virus-Checked: Checked by ClamAV on apache.org --90e6ba53b4a813ae44049c66915f Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Emmanuel sorry to interrupt, is there an estimate of when 2.0.3 is going to be released? thanks Francesco On Tue, Feb 15, 2011 at 7:39 PM, Emmanuel Lecharny <[email protected]>wro= te: > On 2/15/11 7:29 PM, Jason Weinstein wrote: > >> John, >> >> I just looked at the jira and it looks like your patch was applied in th= e >> next branch. >> > > I confirm. The patch has been applied in > http://svn.apache.org/repos/asf/mina/branches/2.0.3 > > > > -- > Regards, > Cordialement, > Emmanuel L=E9charny > www.iktek.com > > --90e6ba53b4a813ae44049c66915f-- From [email protected] Wed Feb 16 14:14:49 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 67931 invoked from network); 16 Feb 2011 14:14:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Feb 2011 14:14:49 -0000 Received: (qmail 72227 invoked by uid 500); 16 Feb 2011 14:14:49 -0000 Delivered-To: [email protected] Received: (qmail 72058 invoked by uid 500); 16 Feb 2011 14:14:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 72049 invoked by uid 99); 16 Feb 2011 14:14:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Feb 2011 14:14:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 16 Feb 2011 14:14:44 +0000 Received: (qmail 67831 invoked by uid 99); 16 Feb 2011 14:14:23 -0000 Received: from localhost.apache.org (HELO emmanuel-lecharnys-MacBook-Pro.local) (161.129.204.104) (smtp-auth username elecharny, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Feb 2011 14:14:23 +0000 Message-ID: <[email protected]> Date: Wed, 16 Feb 2011 15:14:21 +0100 From: =?UTF-8?B?RW1tYW51ZWwgTMOpY2hhcm55?= <[email protected]> Reply-To: [email protected] Organization: The Apache Software Foundation User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: Synchronous behavior while adding and removing connections References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 2/16/11 2:50 PM, Francesco Vivoli wrote: > Hi Emmanuel > > sorry to interrupt, is there an estimate of when 2.0.3 is going to be > released? I'd like to hear about Jose Ignacio Gil Jaldo <https://issues.apache.org/jira/secure/ViewProfile.jspa?name=naranja82>, to see if the patch applied on 2.0.3 (DIRMINA-678) works well. Otherwise, once we decide to release, it's a matter of 72 hours to get something out. 2.0.3 is a bug fix release, so we don't have any roadmap, we can more or less release whenever we like (ie, even twice a week if needed). -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com From [email protected] Thu Feb 17 08:50:01 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 50852 invoked from network); 17 Feb 2011 08:50:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Feb 2011 08:50:01 -0000 Received: (qmail 42325 invoked by uid 500); 17 Feb 2011 08:50:00 -0000 Delivered-To: [email protected] Received: (qmail 41979 invoked by uid 500); 17 Feb 2011 08:49:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 41968 invoked by uid 99); 17 Feb 2011 08:49:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Feb 2011 08:49:56 +0000 X-ASF-Spam-Status: No, hits=4.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_FONT_FACE_BAD,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO col0-omc3-s3.col0.hotmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Feb 2011 08:49:46 +0000 Received: from COL110-W61 ([161.129.204.104]) by col0-omc3-s3.col0.hotmail.com with Microsoft SMTPSVC763.369.2439); Thu, 17 Feb 2011 00:49:25 -0800 Message-ID: <[email protected]> Content-Type: multipart/alternative; boundary="_a9462702-1004-4309-8702-f484f0098b74_" X-Originating-IP: [161.129.204.104] From: yuhg <[email protected]> To: <[email protected]> Subject: invoke NioSocketSession.getRemoteAddress() then returns null Date: Thu, 17 Feb 2011 08:49:25 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 17 Feb 2011 08:49:25.0453 (UTC) FILETIME=[944E77D0:01CBCE7F] X-Virus-Checked: Checked by ClamAV on apache.org --_a9462702-1004-4309-8702-f484f0098b74_ Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit Hi, I'm using java 1.6.0+, mina 2.0+, centos 5.5. (I met this problem few months ago, so i don't remember exactly running environment.) This is a client program using mina, connectting to several server, and I write a class implements IoFilter for reconnection when detecting the connection is closed, rewrite the sessionClosed method, start a thread to reconnect to server. The code is like this: public void sessionClosed(NextFilter nextFilter, final IoSession session) throws Exception { new Thread() { public void run() { SocketAddress serverAddress = session.getRemoteAddress(); ... //do reconnect }; }.start(); } The problem is sometime the serverAddress is null, and after check out the NioSocketSession's source code, i'm confused. Because the "ch" is final, there is no way to set "ch" to null, don't understand the meaning of first three lines in method getRemoteAddress. class NioSocketSession extends NioSession { private final SocketChannel ch; public NioSocketSession(IoService service, IoProcessor<NioSession> processor, SocketChannel ch) { this.service = service; this.processor = processor; this.ch = ch; this.handler = service.getHandler(); this.config.setAll(service.getSessionConfig()); } public InetSocketAddress getRemoteAddress() { if (ch == null) { return null; } Socket socket = ch.socket(); if (socket == null) { return null; } return (InetSocketAddress) socket.getRemoteSocketAddress(); } } So, in which situation, invoke NioSocketSession.getRemoteAddress() will returns null and how to get the server address after the connection is close? --_a9462702-1004-4309-8702-f484f0098b74_-- From [email protected] Fri Feb 18 09:52:25 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7642 invoked from network); 18 Feb 2011 09:52:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Feb 2011 09:52:25 -0000 Received: (qmail 52206 invoked by uid 500); 18 Feb 2011 09:52:24 -0000 Delivered-To: [email protected] Received: (qmail 52005 invoked by uid 500); 18 Feb 2011 09:52:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 51997 invoked by uid 99); 18 Feb 2011 09:52:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 09:52:21 +0000 X-ASF-Spam-Status: No, hits=4.0 required=5.0 tests=FREEMAIL_FROM,FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-qy0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 09:52:14 +0000 Received: by qyk32 with SMTP id 32so236182qyk.2 for <[email protected]>; Fri, 18 Feb 2011 01:51:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:from:date:message-id:subject:to :content-type; bh=kgniWCSJpH1d15KhTHzuswvGrjqyHImasFXZ59u5/4M=; b=J21vkaYlw7WaLhoRNcZlYpoZO9wXiY6UAdKejmsZIiE0dR4j4V0a8btNn7EJjfSFSS b4qaCGjOUBKIVIZhZPQ+N/eymEMrByFtIhCdLkDFUmXcNOHdw8+Fwq78vWXBmOSi+8Mp MJ5t787xg9n5mJPKImK+eKCNTq46GqaAG/hi8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=e/m8wAGLVcCagnR9GMKpcCnSc2dKtxPYXWF+0vdent0sIt6N5OX1nOWfO9VjfaScC5 BWICbDlsKah+2HIa+ksL5e04JCREaIwEvDCoL88zoAw5ekxyXQ7yCqOff/r1FlRSTFxa 30sTcBYQOPUw3pQ3xZBx4XYq+xZNP5iMKM5dY= Received: by 161.129.204.104 with SMTP id lh2mr374924qcb.0.1298022713198; Fri, 18 Feb 2011 01:51:53 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with HTTP; Fri, 18 Feb 2011 01:51:33 -0800 (PST) From: Sasha Dolgy <[email protected]> Date: Fri, 18 Feb 2011 10:51:33 +0100 Message-ID: <[email protected]> Subject: [vysper] questions To: [email protected] Content-Type: multipart/alternative; boundary=0016362843d6bb08fc049c8b76de X-Virus-Checked: Checked by ClamAV on apache.org --0016362843d6bb08fc049c8b76de Content-Type: text/plain; charset=ISO-8859-1 Hi everyone, Been doing some research into XMPP compliant servers and happily stumbled upon Vysper and MINA which I've had great success with in the past. So, a few questions: 1. is it possible to deploy multiple instances of vysper to multiple servers and they are aware of each other? so that i can introduce a solution that has no points of failure... 2. i want to leverage apache cassandra as a backend repository for data. to do this, i would create a storage provider that handles the cassandra interaction? thanks in advance -sasha -- Sasha Dolgy [email protected] --0016362843d6bb08fc049c8b76de-- From [email protected] Fri Feb 18 10:01:23 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10529 invoked from network); 18 Feb 2011 10:01:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Feb 2011 10:01:22 -0000 Received: (qmail 66318 invoked by uid 500); 18 Feb 2011 10:01:22 -0000 Delivered-To: [email protected] Received: (qmail 66054 invoked by uid 500); 18 Feb 2011 10:01:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 66045 invoked by uid 99); 18 Feb 2011 10:01:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 10:01:19 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) Received: from [161.129.204.104] (HELO mail-vx0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 10:01:12 +0000 Received: by vxa40 with SMTP id 40so1900995vxa.2 for <[email protected]>; Fri, 18 Feb 2011 02:00:52 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id yf2mr819624vdb.22.1298023251699; Fri, 18 Feb 2011 02:00:51 -0800 (PST) Received: by 161.129.204.104 with HTTP; Fri, 18 Feb 2011 02:00:51 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> Date: Fri, 18 Feb 2011 11:00:51 +0100 Message-ID: <[email protected]> Subject: Re: [vysper] questions From: Niklas Gustavsson <[email protected]> To: [email protected] Cc: Sasha Dolgy <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Fri, Feb 18, 2011 at 10:51 AM, Sasha Dolgy <[email protected]> wrote: > Been doing some research into XMPP compliant servers and happily stumbled > upon Vysper and MINA which I've had great success with in the past. That's good to hear :-) > 1. =A0is it possible to deploy multiple instances of vysper to multiple > servers and they are aware of each other? =A0so that i can introduce a > solution that has no points of failure... No, we do not currently support clustering of Vysper. However, this is an area that I'm personally is interested in looking into so I would be happy to collaborate on this if you like. > 2. =A0i want to leverage apache cassandra as a backend repository for dat= a. > to do this, i would create a storage provider that handles the cassandra > interaction? Yes. /niklas From [email protected] Fri Feb 18 10:16:02 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21535 invoked from network); 18 Feb 2011 10:16:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Feb 2011 10:16:02 -0000 Received: (qmail 79780 invoked by uid 500); 18 Feb 2011 10:16:01 -0000 Delivered-To: [email protected] Received: (qmail 79573 invoked by uid 500); 18 Feb 2011 10:15:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 79562 invoked by uid 99); 18 Feb 2011 10:15:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 10:15:58 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-qw0-f43.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 10:15:51 +0000 Received: by qwk3 with SMTP id 3so3433848qwk.2 for <[email protected]>; Fri, 18 Feb 2011 02:15:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=/cgtr6fIML1jj3SOo/2iwty1xHbl1AE5z5XhsDka9YE=; b=Mdj8XNZghn83OsJviJn4CMyu2aGHABtth4ci6wEUpTrQRDyHbUi1TZ4ao1L4OpQZoi 68P2yhnpKsZRl3p5aJZ88usqNNByDUPL06hH2fAKWsmpoPX5cAeibiLFGc1AgTZU0TVu M99bEgeIZG5IoyUUH0BSoVuA3gsLWpMaQ3wIg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=JkLjpnjIlBbVRqrh6ZzCv2M+wOmn5rvF+uTtacdQRljqdcWYrCsofqE3eUPBur5qPm ZDrmNfAbWZZWKQLP03bRUBfGXjkflzlZVE/wN4IdDPbCjynV0bXM5Bd3+xGJYsitAz9p lySVM4TI9X1kYpuTBqZjriyZENVPY91gHRDHk= Received: by 161.129.204.104 with SMTP id lh2mr388761qcb.0.1298023979154; Fri, 18 Feb 2011 02:12:59 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with HTTP; Fri, 18 Feb 2011 02:12:39 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> From: Sasha Dolgy <[email protected]> Date: Fri, 18 Feb 2011 11:12:39 +0100 Message-ID: <[email protected]> Subject: Re: [vysper] questions To: [email protected] Content-Type: multipart/alternative; boundary=0016362843d63013d4049c8bc21b X-Virus-Checked: Checked by ClamAV on apache.org --0016362843d63013d4049c8bc21b Content-Type: text/plain; charset=ISO-8859-1 Hi Niklas, The more I think about it, and the more I read, the vysper instances may not need to be aware of each other ... this can be accomplished by all vysper instances using a common storage provider. Similar to how we cluster http servers ontop of a shared storage pool. It shifts the complexity down a level and makes mass deployment of new instances much easier and doesn't overly complicate the current implementation. If I make headway creating a storage provider interfacing with cassandra i'll drop a note here. -sd On Fri, Feb 18, 2011 at 11:00 AM, Niklas Gustavsson <[email protected]>wrote: > > > 1. is it possible to deploy multiple instances of vysper to multiple > > servers and they are aware of each other? so that i can introduce a > > solution that has no points of failure... > > No, we do not currently support clustering of Vysper. However, this is > an area that I'm personally is interested in looking into so I would > be happy to collaborate on this if you like. > > > 2. i want to leverage apache cassandra as a backend repository for data. > > to do this, i would create a storage provider that handles the cassandra > > interaction? > > Yes. > > /niklas > --0016362843d63013d4049c8bc21b-- From [email protected] Fri Feb 18 10:51:39 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28803 invoked from network); 18 Feb 2011 10:51:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Feb 2011 10:51:39 -0000 Received: (qmail 11513 invoked by uid 500); 18 Feb 2011 10:51:38 -0000 Delivered-To: [email protected] Received: (qmail 11401 invoked by uid 500); 18 Feb 2011 10:51:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 11387 invoked by uid 99); 18 Feb 2011 10:51:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 10:51:36 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-yx0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 10:51:31 +0000 Received: by yxd30 with SMTP id 30so1749949yxd.2 for <[email protected]>; Fri, 18 Feb 2011 02:51:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=jE7SvUp1b4XOQUcJ5a7giklLj1rTPkE8bZ5AR1SGaXM=; b=jMDxBvUuqoad/PoDm/zgNHqSZhlH5dwCGjf+cPwhTRteCPzYvfRKPn0Gw9ZXyWuQjU RgF1sr/XDCXfsuk4AOJLa7X3obKfxjE4/mT/jpkOi1F8T87iJ8s56Yy3b1VIY8Q65i7l mxuFiwhE49WjMMfnXgvMWKbGtrorCqgkGaTrI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=GteoMhXppg9jUFcSnl4eH/NSJcobNm8a9qleOr4FQ35cUu0g9UdaZ6xuzm3yiFL0Dn 8XN6Q2yYFvqPeOZhJktu7kdNUDnUnBoniXJJp572UwznRTDS6E4nHi7QO8/dWLpF1jKM hLb1VN5n2ytvhuZU5uGKbq3eCeMc2lLJF8ASY= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id t48mr1109189yhd.18.1298026270392; Fri, 18 Feb 2011 02:51:10 -0800 (PST) Received: by 161.129.204.104 with HTTP; Fri, 18 Feb 2011 02:51:10 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Fri, 18 Feb 2011 16:21:10 +0530 Message-ID: <[email protected]> Subject: Re: [vysper] questions From: Ashish <[email protected]> To: [email protected] Cc: Niklas Gustavsson <[email protected]>, Sasha Dolgy <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Fri, Feb 18, 2011 at 3:30 PM, Niklas Gustavsson <[email protected]> w= rote: > On Fri, Feb 18, 2011 at 10:51 AM, Sasha Dolgy <[email protected]> wrote: >> Been doing some research into XMPP compliant servers and happily stumble= d >> upon Vysper and MINA which I've had great success with in the past. > > That's good to hear :-) > >> 1. =A0is it possible to deploy multiple instances of vysper to multiple >> servers and they are aware of each other? =A0so that i can introduce a >> solution that has no points of failure... > > No, we do not currently support clustering of Vysper. However, this is > an area that I'm personally is interested in looking into so I would > be happy to collaborate on this if you like. Would like to hear more on what all we need to cluster :) I might be able to help out here a bit, as I am working on something simila= r. > >> 2. =A0i want to leverage apache cassandra as a backend repository for da= ta. >> to do this, i would create a storage provider that handles the cassandra >> interaction? cheers ashish From [email protected] Fri Feb 18 11:06:43 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41053 invoked from network); 18 Feb 2011 11:06:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Feb 2011 11:06:42 -0000 Received: (qmail 26989 invoked by uid 500); 18 Feb 2011 11:06:42 -0000 Delivered-To: [email protected] Received: (qmail 26786 invoked by uid 500); 18 Feb 2011 11:06:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 26772 invoked by uid 99); 18 Feb 2011 11:06:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 11:06:38 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iy0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 11:06:33 +0000 Received: by iyh42 with SMTP id 42so3735545iyh.2 for <[email protected]>; Fri, 18 Feb 2011 03:06:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=+6tn0WEeVfS1wQPDga1rw0WH8HuxF78rCmgrHqgpMxs=; b=O4gs2gb1m3CdedpwOo2MWegzT7JmSc6wsPoP12T/AF/7LmfRBhjuTwqlLomzRd4Ozd cO5p5uY/aFHskA5kQX7ceIiA/q4eUT4rpSEs6w/m85DuzjIqCXpU6UDU0KOqU43+sJg+ +ZdnaCWY4JPVV9fHKTlmvT00pBqZ5D9o8CFzE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=FdMRJsjjSZv5V7WL5ZY74dCscMB9Rt9grtOZZioQjIjg2+eAmnuGL2eXAwCA2onXMC 6ISLVfpR6gvmNzDNIkq9nvxZ8JYVao+ohckMY6GyBCO14quILzUUit6Op/ffFK7lEigL tbqYP/5l4fhe/0Eeu+T3nCOXVFDDUEpXGCSrQ= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id c1mr655286icz.483.1298027172914; Fri, 18 Feb 2011 03:06:12 -0800 (PST) Received: by 161.129.204.104 with HTTP; Fri, 18 Feb 2011 03:06:12 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Date: Fri, 18 Feb 2011 12:06:12 +0100 Message-ID: <[email protected]> Subject: Re: [vysper] questions From: Bernd Fondermann <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Fri, Feb 18, 2011 at 11:12, Sasha Dolgy <[email protected]> wrote: > Hi Niklas, > > The more I think about it, and the more I read, the vysper instances may = not > need to be aware of each other ... this can be accomplished by all vysper > instances using a common storage provider. =A0Similar to how we cluster h= ttp > servers ontop of a shared storage pool. To achieve this we would need to push even more state to storage providers than we do now. Hint: org.apache.vysper.xmpp.state.resourcebinding.ResourceRegistry must be shared on all instances. > It shifts the complexity down a level and makes mass deployment of new > instances much easier and doesn't overly complicate the current > implementation. > > If I make headway creating a storage provider interfacing with cassandra > i'll drop a note here. By all means, please do that! I think cassandra is the perfect backend for Vysper. If you'd contribute code, that would be awesome (I don't remember having used this word for some time.). Bernd From [email protected] Fri Feb 18 12:16:30 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68027 invoked from network); 18 Feb 2011 12:16:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Feb 2011 12:16:30 -0000 Received: (qmail 2145 invoked by uid 500); 18 Feb 2011 12:16:30 -0000 Delivered-To: [email protected] Received: (qmail 1821 invoked by uid 500); 18 Feb 2011 12:16:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 1812 invoked by uid 99); 18 Feb 2011 12:16:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 12:16:27 +0000 X-ASF-Spam-Status: No, hits=4.0 required=5.0 tests=FREEMAIL_FROM,FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-qy0-f178.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 12:16:18 +0000 Received: by qyk2 with SMTP id 2so167092qyk.2 for <[email protected]>; Fri, 18 Feb 2011 04:15:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=KBrdd/C+prKNGbFK0zCNBVeuL9jmSU3zVfTjifd0rWE=; b=RbvuACJCTAbDkrZPxzE86Nq7r3MwD/sjbSyoNvRq0UYdUG3oXZn32LeMoIxLAMgB0N DfNSvRF+OdM4NPDal0ciJAt4A39uxAVM6ioKR0XXAWzZ6cKyGiMzuNv6UvtAgdn4dvoe HlhFogfdfrfTJv4kXcrQgkLGW6zXhLWZmcb2E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=Hir0oWxheOZpWHFNcne+A26Xw27Hi6XnSEx+OUL2bEgtDrBICz1uPV7C2MEzj02cTU RFt1pGgY5t5pBXMGmAJTJwVPVWtTcYtGco9AGcK3htkRMYqR0/nG57v1w+AVYPvCbDKE FWn7eZBiyIHksule9WmmW7QaoSkSFnd35d6T4= Received: by 161.129.204.104 with SMTP id j7mr461236qcl.186.1298031357155; Fri, 18 Feb 2011 04:15:57 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with HTTP; Fri, 18 Feb 2011 04:15:37 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> From: Sasha Dolgy <[email protected]> Date: Fri, 18 Feb 2011 13:15:37 +0100 Message-ID: <[email protected]> Subject: Re: [vysper] questions To: [email protected] Content-Type: multipart/alternative; boundary=00163642707ef35b82049c8d793f X-Virus-Checked: Checked by ClamAV on apache.org --00163642707ef35b82049c8d793f Content-Type: text/plain; charset=ISO-8859-1 Hi Bernd, I had a [email protected] ... so the way Vysper currently works today is that all sessions are stored in memory? If vysper instance crashes, the resource id : session relationships aren't persisted anywhere? It's been years since I properly programmed .. Have only gotten involved in Cassandra in the past four weeks and have made some significant mistakes and successes along the way. For me, I am curious to deploy a compliant XMPP solution that potentially will leverage the user information i persist in cassandra. i started work on writing a module in my application for user interactions (online / offline messages) only to stop suddenly late last night and ask myself why i'm re-inventing a wheel .... -sd On Fri, Feb 18, 2011 at 12:06 PM, Bernd Fondermann < [email protected]> wrote: > On Fri, Feb 18, 2011 at 11:12, Sasha Dolgy <[email protected]> wrote: > > Hi Niklas, > > > > The more I think about it, and the more I read, the vysper instances may > not > > need to be aware of each other ... this can be accomplished by all vysper > > instances using a common storage provider. Similar to how we cluster > http > > servers ontop of a shared storage pool. > > To achieve this we would need to push even more state to storage > providers than we do now. > Hint: org.apache.vysper.xmpp.state.resourcebinding.ResourceRegistry > must be shared on all instances. > > > It shifts the complexity down a level and makes mass deployment of new > > instances much easier and doesn't overly complicate the current > > implementation. > > > > If I make headway creating a storage provider interfacing with cassandra > > i'll drop a note here. > > By all means, please do that! I think cassandra is the perfect backend > for Vysper. > If you'd contribute code, that would be awesome (I don't remember > having used this word for some time.). > > Bernd > -- Sasha Dolgy [email protected] --00163642707ef35b82049c8d793f-- From [email protected] Fri Feb 18 12:29:36 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76510 invoked from network); 18 Feb 2011 12:29:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Feb 2011 12:29:36 -0000 Received: (qmail 11168 invoked by uid 500); 18 Feb 2011 12:29:36 -0000 Delivered-To: [email protected] Received: (qmail 10971 invoked by uid 500); 18 Feb 2011 12:29:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 10962 invoked by uid 99); 18 Feb 2011 12:29:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 12:29:33 +0000 X-ASF-Spam-Status: No, hits=1.8 required=5.0 tests=FREEMAIL_FROM,FREEMAIL_REPLY,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iw0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 12:29:28 +0000 Received: by iwn2 with SMTP id 2so3932732iwn.2 for <[email protected]>; Fri, 18 Feb 2011 04:29:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=UtVB6C/R2POiCUemp5EllRG0jkCCO3TiD532TwroCgc=; b=pmJQOT7mWolEvoNFQtQ0nJ9octsxMassu3mkf6r1T9uuuk4KyTcPQCqKQQZulmBCf4 6uysc+G+jTFmyeErgPw42LJOL5iD47+r+7S1v9BGtVWg7c2Ggvwr0vRZXJ3Xa8JTcG0D 6KHqbwmwQtU8KUwj+vLIBi/PskC5ZgWq8EGPE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=dxrpxhgl8DKVivWtm7fObEv4xE8VQPsHIz6qmBus9LC53G25ElZHow3tlKWNNjjCRm zGCZVKqG7gJuLNW28VY7ZKpfgN+dKz59dXDbnCbOZllQ8rCcTFo52m48Sc08+3u6LfZi DGm9FZBiyjyMblIL7qQ9eWA76mZpNNgLqn3yk= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id jm9mr789875icb.282.1298032148000; Fri, 18 Feb 2011 04:29:08 -0800 (PST) Received: by 161.129.204.104 with HTTP; Fri, 18 Feb 2011 04:29:07 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Fri, 18 Feb 2011 13:29:07 +0100 Message-ID: <[email protected]> Subject: Re: [vysper] questions From: Bernd Fondermann <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Fri, Feb 18, 2011 at 13:15, Sasha Dolgy <[email protected]> wrote: > Hi Bernd, > > I had a look at > org.apache.vysper.xmpp.state.resourcebinding.ResourceRegistry ... so the = way > Vysper currently works today is that all sessions are stored in memory? = =A0If > vysper instance crashes, the resource id : session relationships aren't > persisted anywhere? No they aren't. But since XMPP uses long-living TCP/IP connections, recovery from a server crash is equivalent to a client/server-reconnect anyway. This does not impose practical problems. (Leaving a reverse proxy setup asi= de.) However, a cluster of XMPP servers for the exact same domain(!) would need to share the ResourceRegistry datastructure. (You could also have a federation of XMPP servers, but that'd mean different users might have different account names like [email protected], [email protected].) > It's been years since I properly programmed .. Have only gotten involved = in > Cassandra in the past four weeks and have made some significant mistakes = and > successes along the way. =A0For me, I am curious to deploy a compliant XM= PP > solution that potentially will leverage the user information i persist in > cassandra. =A0i started work on writing a module in my application for us= er > interactions (online / offline messages) only to stop suddenly late last > night and ask myself why i'm re-inventing a wheel .... Vysper can easily be embedded into other Java apps. Bernd > > -sd > On Fri, Feb 18, 2011 at 12:06 PM, Bernd Fondermann < > [email protected]> wrote: > >> On Fri, Feb 18, 2011 at 11:12, Sasha Dolgy <[email protected]> wrote: >> > Hi Niklas, >> > >> > The more I think about it, and the more I read, the vysper instances m= ay >> not >> > need to be aware of each other ... this can be accomplished by all vys= per >> > instances using a common storage provider. =A0Similar to how we cluste= r >> http >> > servers ontop of a shared storage pool. >> >> To achieve this we would need to push even more state to storage >> providers than we do now. >> Hint: org.apache.vysper.xmpp.state.resourcebinding.ResourceRegistry >> must be shared on all instances. >> >> > It shifts the complexity down a level and makes mass deployment of new >> > instances much easier and doesn't overly complicate the current >> > implementation. >> > >> > If I make headway creating a storage provider interfacing with cassand= ra >> > i'll drop a note here. >> >> By all means, please do that! I think cassandra is the perfect backend >> for Vysper. >> If you'd contribute code, that would be awesome (I don't remember >> having used this word for some time.). >> >> =A0Bernd >> > > > > -- > Sasha Dolgy > [email protected] > From [email protected] Fri Feb 18 13:23:45 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99168 invoked from network); 18 Feb 2011 13:23:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Feb 2011 13:23:45 -0000 Received: (qmail 72336 invoked by uid 500); 18 Feb 2011 13:23:45 -0000 Delivered-To: [email protected] Received: (qmail 72120 invoked by uid 500); 18 Feb 2011 13:23:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 72112 invoked by uid 99); 18 Feb 2011 13:23:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 13:23:42 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-qw0-f43.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 13:23:36 +0000 Received: by qwk3 with SMTP id 3so3557598qwk.2 for <[email protected]>; Fri, 18 Feb 2011 05:23:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=hkTwA/KWXZL9Wpxepu+XgJJyfEPXflQhQ6bvY3e6MsU=; b=xy3w5gjzZWibBfYmmHoy5G6pmTZorQJpXFWXTkxiWHwVH/sl4Zb8xgvIK8xpMWD7Es 0zZzy3a8j9Kh7AsekRrFXL5jFMbYr1uBH0ah4jr1e8MBdLm4wAUBE3DdvU9l1AUI6dXT DNjmrQufIqEnsx518VWqGf2Q+B/I2GHicENhk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=IInb9uI+1YM8oKjQUP8iaMPq9FSZOlY/EnKg3UzQ7wxf+gL2Sqa573HDV7sr0meK02 UYtl0C180Df5knQLad+omZrexzyNCODL/a0eyRad7RhPBJKrjPdlTlXRUKmvyCdEBFnW 70atDvR/ygwJCzVUD0IjL24ywpGJ8mEgGYbJM= Received: by 161.129.204.104 with SMTP id e4mr567413qab.326.1298035395357; Fri, 18 Feb 2011 05:23:15 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with HTTP; Fri, 18 Feb 2011 05:22:55 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> From: Sasha Dolgy <[email protected]> Date: Fri, 18 Feb 2011 14:22:55 +0100 Message-ID: <[email protected]> Subject: Re: [vysper] questions To: [email protected] Content-Type: multipart/alternative; boundary=0015175cba5ea56dd7049c8e6a73 X-Virus-Checked: Checked by ClamAV on apache.org --0015175cba5ea56dd7049c8e6a73 Content-Type: text/plain; charset=ISO-8859-1 One more clarification. The JCR work in Vysper (org.apache.vysper.storage.jcr) is to use JCR as a storage provider for user management, roster management, etc. ? On Fri, Feb 18, 2011 at 1:29 PM, Bernd Fondermann < [email protected]> wrote: > On Fri, Feb 18, 2011 at 13:15, Sasha Dolgy <[email protected]> wrote: > > Hi Bernd, > > > > I had a look at > > org.apache.vysper.xmpp.state.resourcebinding.ResourceRegistry ... so the > way > > Vysper currently works today is that all sessions are stored in memory? > If > > vysper instance crashes, the resource id : session relationships aren't > > persisted anywhere? > > No they aren't. But since XMPP uses long-living TCP/IP connections, > recovery from a server crash is equivalent to a > client/server-reconnect anyway. > This does not impose practical problems. (Leaving a reverse proxy setup > aside.) > However, a cluster of XMPP servers for the exact same domain(!) would > need to share the ResourceRegistry datastructure. > (You could also have a federation of XMPP servers, but that'd mean > different users might have different account names like > [email protected], [email protected].) > --0015175cba5ea56dd7049c8e6a73-- From [email protected] Fri Feb 18 13:34:42 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 1562 invoked from network); 18 Feb 2011 13:34:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Feb 2011 13:34:42 -0000 Received: (qmail 81328 invoked by uid 500); 18 Feb 2011 13:34:41 -0000 Delivered-To: [email protected] Received: (qmail 80997 invoked by uid 500); 18 Feb 2011 13:34:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 80987 invoked by uid 99); 18 Feb 2011 13:34:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 13:34:38 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iy0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 13:34:31 +0000 Received: by iyh42 with SMTP id 42so3871259iyh.2 for <[email protected]>; Fri, 18 Feb 2011 05:34:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=WmEROdyQvnX1hy9ma06UUW4fWI0QF4kDVGjejnU44uY=; b=onCF0CGwk3a+RTgzFR1IKqPgvIxxHA9u0f17gM+z4wj+YpuDq/r8hl6AcMINOvZF0q 6nv5MRhILLE2ssT2+ENdJyIeye9gy+CGQZBI9zh+/5VbSlFZ/acLnwoRm59PLfcw6brG z6h70J/PobSApdddO/ZvacerqwfTDvoiGN0iU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=pe52T+xhh4lBghsPUKjwa3wRguK/6jicEZnvciy6t64Hx1qSLzAR3rLLgdZ1iXVUAh 3S4Ei2S09v6jD2630d3hfL9gkv4ElZu/piXkiFBNpu9BUvh+BAGWXKmCK7ym9r26PtgE Xg17d2hSU8mGo6gyi5uUylG6ANM3DqD7wOo6E= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id t2mr888642icq.148.1298036050652; Fri, 18 Feb 2011 05:34:10 -0800 (PST) Received: by 161.129.204.104 with HTTP; Fri, 18 Feb 2011 05:34:10 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Fri, 18 Feb 2011 14:34:10 +0100 Message-ID: <[email protected]> Subject: Re: [vysper] questions From: Bernd Fondermann <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Fri, Feb 18, 2011 at 14:22, Sasha Dolgy <[email protected]> wrote: > One more clarification. =A0The JCR work in Vysper > (org.apache.vysper.storage.jcr) is to use JCR as a storage provider for u= ser > management, roster management, etc. =A0? yep. but I'm not very happy with them. Bernd > > On Fri, Feb 18, 2011 at 1:29 PM, Bernd Fondermann < > [email protected]> wrote: > >> On Fri, Feb 18, 2011 at 13:15, Sasha Dolgy <[email protected]> wrote: >> > Hi Bernd, >> > >> > I had a look at >> > org.apache.vysper.xmpp.state.resourcebinding.ResourceRegistry ... so t= he >> way >> > Vysper currently works today is that all sessions are stored in memory= ? >> =A0If >> > vysper instance crashes, the resource id : session relationships aren'= t >> > persisted anywhere? >> >> No they aren't. But since XMPP uses long-living TCP/IP connections, >> recovery from a server crash is equivalent to a >> client/server-reconnect anyway. >> This does not impose practical problems. (Leaving a reverse proxy setup >> aside.) >> However, a cluster of XMPP servers for the exact same domain(!) would >> need to share the ResourceRegistry datastructure. >> (You could also have a federation of XMPP servers, but that'd mean >> different users might have different account names like >> [email protected], [email protected].) >> > From [email protected] Fri Feb 18 14:47:46 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26064 invoked from network); 18 Feb 2011 14:47:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Feb 2011 14:47:46 -0000 Received: (qmail 85553 invoked by uid 500); 18 Feb 2011 14:47:46 -0000 Delivered-To: [email protected] Received: (qmail 85106 invoked by uid 500); 18 Feb 2011 14:47:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 85093 invoked by uid 99); 18 Feb 2011 14:47:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 14:47:41 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) Received: from [161.129.204.104] (HELO mail-vx0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 14:47:36 +0000 Received: by vxa40 with SMTP id 40so2083275vxa.2 for <[email protected]>; Fri, 18 Feb 2011 06:47:14 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id yr9mr1390260vdb.142.1298040434625; Fri, 18 Feb 2011 06:47:14 -0800 (PST) Received: by 161.129.204.104 with HTTP; Fri, 18 Feb 2011 06:47:14 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Date: Fri, 18 Feb 2011 15:47:14 +0100 Message-ID: <[email protected]> Subject: Re: [vysper] questions From: Niklas Gustavsson <[email protected]> To: Ashish <[email protected]> Cc: [email protected], Sasha Dolgy <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 On Fri, Feb 18, 2011 at 11:51 AM, Ashish <[email protected]> wrote: > Would like to hear more on what all we need to cluster :) > I might be able to help out here a bit, as I am working on something similar. I haven't really thought too much about this, so take this as me thinking our loud. XMPP uses DNS SRV to provide for fallback between multiple running servers. But, as Bernd points out we would need to share the resource registry among servers and also provide a way for servers to relay messages in-between each other ([email protected] on server1.vysper.org sends a message to [email protected] who happens to be on server2.vysper.org). I was kind of planning to suggest clustering support as a Google Summer of Code project. Does that make sense? /niklas From [email protected] Fri Feb 18 14:48:50 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26442 invoked from network); 18 Feb 2011 14:48:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Feb 2011 14:48:49 -0000 Received: (qmail 86936 invoked by uid 500); 18 Feb 2011 14:48:49 -0000 Delivered-To: [email protected] Received: (qmail 86846 invoked by uid 500); 18 Feb 2011 14:48:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 86838 invoked by uid 99); 18 Feb 2011 14:48:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 14:48:46 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) Received: from [161.129.204.104] (HELO mail-vw0-f43.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 14:48:40 +0000 Received: by vws17 with SMTP id 17so2072143vws.2 for <[email protected]>; Fri, 18 Feb 2011 06:48:19 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id yt4mr1396595vdb.102.1298040499538; Fri, 18 Feb 2011 06:48:19 -0800 (PST) Received: by 161.129.204.104 with HTTP; Fri, 18 Feb 2011 06:48:19 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Date: Fri, 18 Feb 2011 15:48:19 +0100 Message-ID: <[email protected]> Subject: Re: [vysper] questions From: Niklas Gustavsson <[email protected]> To: [email protected] Cc: Sasha Dolgy <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Fri, Feb 18, 2011 at 11:12 AM, Sasha Dolgy <[email protected]> wrote: > The more I think about it, and the more I read, the vysper instances may = not > need to be aware of each other ... this can be accomplished by all vysper > instances using a common storage provider. =A0Similar to how we cluster h= ttp > servers ontop of a shared storage pool. I don't think this is sufficient since we do not currently support relaying messages between users connected to the same domain but different servers. /niklas From [email protected] Fri Feb 18 15:17:50 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 43410 invoked from network); 18 Feb 2011 15:17:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Feb 2011 15:17:50 -0000 Received: (qmail 30146 invoked by uid 500); 18 Feb 2011 15:17:49 -0000 Delivered-To: [email protected] Received: (qmail 29981 invoked by uid 500); 18 Feb 2011 15:17:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 24110 invoked by uid 99); 18 Feb 2011 15:11:13 -0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=rlIKpQuYXfXcseuM7JxhX4lvr9CnDlsCQ+7MdnK8go0=; b=P7wK6IcJV9c1aFymeVm7XgAwEYM3DIRSGawxmAljkWqTwdhoNfTRb3mdtIrkLAmSKj UfTRwLYnfsKhN1WkZ9y+XoN+h68uXR/WXrCeMIdGri+w1uoJn6/MuY4JhX3nxz/ONiY2 Ra1cKQx4BI806QqjSTFiac9q+aijmwhbaJ+JI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=cR7Vs9+m0hjmyjjEsc5VLczuJyRsTjoOZk9wvs+MFULcN8CqjWg1p/MsgNDDGlzHTs GNMM+x6hvqUhryt6SwusJgindSS5rwSXdoCwO/kjsjO4izYaPxHmoAxIZU4MEz0m+P6D TFOwYPsea9BoCnJtifVNYFf2vzTx4P0zTo54Y= MIME-Version: 1.0 Date: Fri, 18 Feb 2011 17:10:45 +0200 Message-ID: <[email protected]> Subject: SFTP protocol version of the Apache SSHD From: Alexander Cherednichenko <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=bcaec53f95c51a311d049c8febdd --bcaec53f95c51a311d049c8febdd Content-Type: text/plain; charset=UTF-8 Hi guys! Trying to use Apache SSHD in our project - we need an SFTP server embedded to our software. Looks like support of the SFTP is pretty basic in the current (0.5.0) version of the Apache SSHD. For instance, modern putty seems not to be connecting to SSHD server via SFTP protocol (protocol version supported by MINA project is only 3, and WinSCP requires 5). Maybe there's already a more recent implementation of the org.apache.sshd.server.sftp.SftpSubsystem equivalent supportin more recent version of the protocol? Thank you guys! That's the spring config I am using, thanks in advance! <beans:bean id="sftpServerKeyPairProvider" class="org.apache.sshd.server.keyprovider.SimpleGeneratorHostKeyProvider"> <beans:constructor-arg value="classpath:hostkey.ser"/> </beans:bean> <beans:bean id="sftpCommandFactory" class="org.apache.sshd.server.command.ScpCommandFactory"/> <beans:bean id="sftpServer" class="org.apache.sshd.SshServer" factory-method="setUpDefaultServer"> <beans:property name="port" value="4444"/> <beans:property name="keyPairProvider" ref="sftpServerKeyPairProvider"/> <beans:property name="commandFactory" ref="sftpCommandFactory"/> <beans:property name="passwordAuthenticator"> <beans:bean class="com.newsoft.app.sshd.MyPasswordAuthenticationHandler"/> </beans:property> <beans:property name="subsystemFactories"> <beans:list> <beans:bean class="org.apache.sshd.server.sftp.SftpSubsystem$Factory"/> </beans:list> </beans:property> </beans:bean> -- Alexander Cherednichenko, Software Engineer [ the only way out is the way up ] --bcaec53f95c51a311d049c8febdd-- From [email protected] Fri Feb 18 15:36:45 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48956 invoked from network); 18 Feb 2011 15:36:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Feb 2011 15:36:45 -0000 Received: (qmail 64691 invoked by uid 500); 18 Feb 2011 15:36:44 -0000 Delivered-To: [email protected] Received: (qmail 64400 invoked by uid 500); 18 Feb 2011 15:36:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 64391 invoked by uid 99); 18 Feb 2011 15:36:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 15:36:41 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-px0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 15:36:34 +0000 Received: by pxi7 with SMTP id 7so11767pxi.2 for <[email protected]>; Fri, 18 Feb 2011 07:36:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=9Hhgv4j7SjPMCRUPDf7TsmYBD4KO3XQQ6hiWjgPiPB0=; b=O41FQNnM0USQyuaDsUyDBWlQuxzroaLxeOZCSU5yE/+h2Ww5UDaeLiam1uEXJQqCbP Cl2wg6IoC2Tz/Eje5MMqNTbsnd0YD4dbKDZg+GaID7ThPIVrygCXQIA2FGkosKEwk2kX YI+VOi5MMJLHcVaPGn1Bybb41Nb8gZDe+D6h8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=dYlJviO+1FdB5TtI8O4+sn03YE2O0r/W8ec3jn0XMNPXCDme+bJk6FFyY9ensmrZFE rdF87ETuQOilCp3Wy9KttQ5CAq1XSmlEuFq8Flkxfj6jfxNgo8N3sSYgCieWlEsEAvAS MufP01pBqk8qreTUgsvxZchxAxUEAzbAQhxyQ= Received: by 161.129.204.104 with SMTP id a17mr646838wff.171.1298043373116; Fri, 18 Feb 2011 07:36:13 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with HTTP; Fri, 18 Feb 2011 07:35:53 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> From: Sasha Dolgy <[email protected]> Date: Fri, 18 Feb 2011 16:35:53 +0100 Message-ID: <[email protected]> Subject: Re: [vysper] questions To: [email protected] Content-Type: multipart/alternative; boundary=000e0cd2df94285c9d049c9046f1 X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd2df94285c9d049c9046f1 Content-Type: text/plain; charset=ISO-8859-1 Hi, I have a working prototype using cassandra as a storage provider for [ org.apache.vysper.xmpp.authorization.AccountManagement/UserAuthorization ] verifyAccountExists(Entity jid) addUser(String username, String password) I started taking a look at the ResourceRegistry as you suggested. Wouldn't a good first step be to abstract this and make it an interface and move the existing code into something that then implements it? This way people could write different resource registry implementations so that we could see just how badly having it back onto Cassandra would be ; ) My code isn't pretty. Having said that, what or where is the best way to share it? Admittedly, it has been years since i've contributed something anywhere. Also, what I find a little odd, the password for an entity is in clear text....? Is this covered in the XMPP protocols anywhere? -sd On Fri, Feb 18, 2011 at 12:06 PM, Bernd Fondermann < [email protected]> wrote: > > It shifts the complexity down a level and makes mass deployment of new > > instances much easier and doesn't overly complicate the current > > implementation. > > > > If I make headway creating a storage provider interfacing with cassandra > > i'll drop a note here. > > > By all means, please do that! I think cassandra is the perfect backend > for Vysper. > If you'd contribute code, that would be awesome (I don't remember > having used this word for some time.). > > Bernd > --000e0cd2df94285c9d049c9046f1-- From [email protected] Fri Feb 18 15:40:27 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49670 invoked from network); 18 Feb 2011 15:40:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Feb 2011 15:40:27 -0000 Received: (qmail 71203 invoked by uid 500); 18 Feb 2011 15:40:27 -0000 Delivered-To: [email protected] Received: (qmail 71026 invoked by uid 500); 18 Feb 2011 15:40:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 71018 invoked by uid 99); 18 Feb 2011 15:40:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 15:40:23 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ww0-f51.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 15:40:18 +0000 Received: by wwe15 with SMTP id 15so3783897wwe.32 for <[email protected]>; Fri, 18 Feb 2011 07:39:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=pphAOzO3BZlQ7pswvPxIR+TNgKvEXVEIUEI/q99q5rA=; b=SaKq9xRi53nUzrczPnn//1+BY532fSoUZFr9FqrsucFgLvPpc3uRqffoLmilQleE14 SrMgdqwUI7B5Rw+LKp0nhevLFXX5fnUiauUr84RGPZUI9RP5qTr+gDFCwt8gLty1WisN vUuRqVqhkYcAA1W5gbngTke/CdlfKgoeSGXdI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=OXuULWu1sGC+BMBAqzbstlT4M/SabT4S4zSZdGIB16DBWOzaPYeKG2Ve2gzOabHcmB AITY7NKEGkdySJw0wjloiATfAY41o4d3d0aY1pamBZ4/CHiUkTeoAJdnGEqTdh2jJdiF ktDCNMhBhSSMfA4q/n6H8Rr1OAypaxcy9E+WI= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id b17mr760983wbv.152.1298043596152; Fri, 18 Feb 2011 07:39:56 -0800 (PST) Received: by 161.129.204.104 with HTTP; Fri, 18 Feb 2011 07:39:56 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> Date: Fri, 18 Feb 2011 16:39:56 +0100 Message-ID: <[email protected]> Subject: Re: SFTP protocol version of the Apache SSHD From: Guillaume Nodet <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Alexander. I 'm not aware of any more recent implementation of Sftp at this point, but maybe others have worked on that. Anyway, I think it would definitely makes sense to support v5 or v6 of the protocol, but I don't have much time to work on that unfortunately. I'd be more than happy to help you however if you want to write a patch to do that. On Fri, Feb 18, 2011 at 16:10, Alexander Cherednichenko <[email protected]> wrote: > Hi guys! > > Trying to use Apache SSHD in our project - we need an SFTP server embedde= d > to our software. > > Looks like support of the SFTP is pretty basic in the current (0.5.0) > version of the Apache SSHD. For instance, modern putty seems not to be > connecting to SSHD server via SFTP protocol (protocol version supported b= y > MINA project is only 3, and WinSCP requires 5). > > Maybe there's already a more recent implementation of > the org.apache.sshd.server.sftp.SftpSubsystem equivalent supportin more > recent version of the protocol? > > Thank you guys! > That's the spring config I am using, thanks in advance! > > =A0 =A0<beans:bean id=3D"sftpServerKeyPairProvider" > class=3D"org.apache.sshd.server.keyprovider.SimpleGeneratorHostKeyProvide= r"> > =A0 =A0 =A0 =A0<beans:constructor-arg value=3D"classpath:hostkey.ser"/> > =A0 =A0</beans:bean> > > =A0 =A0<beans:bean id=3D"sftpCommandFactory" > class=3D"org.apache.sshd.server.command.ScpCommandFactory"/> > > =A0 =A0<beans:bean id=3D"sftpServer" class=3D"org.apache.sshd.SshServer" > factory-method=3D"setUpDefaultServer"> > =A0 =A0 =A0 =A0<beans:property name=3D"port" value=3D"4444"/> > =A0 =A0 =A0 =A0<beans:property name=3D"keyPairProvider" > ref=3D"sftpServerKeyPairProvider"/> > =A0 =A0 =A0 =A0<beans:property name=3D"commandFactory" ref=3D"sftpCommand= Factory"/> > =A0 =A0 =A0 =A0<beans:property name=3D"passwordAuthenticator"> > =A0 =A0 =A0 =A0 =A0 =A0<beans:bean > class=3D"com.newsoft.app.sshd.MyPasswordAuthenticationHandler"/> > =A0 =A0 =A0 =A0</beans:property> > =A0 =A0 =A0 =A0<beans:property name=3D"subsystemFactories"> > =A0 =A0 =A0 =A0 =A0 =A0<beans:list> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<beans:bean > class=3D"org.apache.sshd.server.sftp.SftpSubsystem$Factory"/> > =A0 =A0 =A0 =A0 =A0 =A0</beans:list> > =A0 =A0 =A0 =A0</beans:property> > =A0 =A0</beans:bean> > > -- > Alexander Cherednichenko, > Software Engineer > > [ the only way out is the way up ] > --=20 Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com From [email protected] Fri Feb 18 15:40:56 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49709 invoked from network); 18 Feb 2011 15:40:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Feb 2011 15:40:56 -0000 Received: (qmail 71545 invoked by uid 500); 18 Feb 2011 15:40:56 -0000 Delivered-To: [email protected] Received: (qmail 71507 invoked by uid 500); 18 Feb 2011 15:40:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 71498 invoked by uid 99); 18 Feb 2011 15:40:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 15:40:53 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-px0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 15:40:47 +0000 Received: by pxi7 with SMTP id 7so12536pxi.2 for <[email protected]>; Fri, 18 Feb 2011 07:40:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=yMjsrAsN7lM+2exdVraer70K2kurmNNPZhK0Ut6aXBE=; b=ssZKPoVRNQbbYU3iBOcpTUyyXGYPYuSTlEIgdBAVt3Mv+2cSnYGWVtS2PPurJ8hQUW m61u45/Lsh+tFQwVqo2MCmtNqLEm6jMwxrDv3VRO3O/zS2uMy1BjclEqnysBdSYtFRMm ujwa/+9yxw7m+n07/vbLuzLisQkJs+MWjy1K8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=vXcLuL98ExY/NQ0Z2eM4rqCdXrIzHaP6FMh0f+aprU+UdH1LBXALXiULw4O49vGdqu MlUG0tsCoTrO/FOzypHA1gyOqa8OiXDTzOCy29iVk/zhmRWxjd7eEGZa+dYXo/FcDeyQ TyDm79+XgFg0ZYDc5xDFsOfNHVvBV/U8T/fLc= Received: by 161.129.204.104 with SMTP id b4mr613580wff.399.1298043626074; Fri, 18 Feb 2011 07:40:26 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with HTTP; Fri, 18 Feb 2011 07:40:06 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> From: Sasha Dolgy <[email protected]> Date: Fri, 18 Feb 2011 16:40:06 +0100 Message-ID: <[email protected]> Subject: Re: [vysper] questions To: [email protected] Content-Type: multipart/alternative; boundary=000e0cd23ace3c33dc049c90553f X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd23ace3c33dc049c90553f Content-Type: text/plain; charset=ISO-8859-1 Hi Niklas, Although vysper doesn't currently support it, do the XMPP standards support it? -sd On Fri, Feb 18, 2011 at 3:48 PM, Niklas Gustavsson <[email protected]>wrote: > I don't think this is sufficient since we do not currently support > relaying messages between users connected to the same domain but > different servers. > > /niklas > --000e0cd23ace3c33dc049c90553f-- From [email protected] Fri Feb 18 15:43:56 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 50693 invoked from network); 18 Feb 2011 15:43:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Feb 2011 15:43:55 -0000 Received: (qmail 73990 invoked by uid 500); 18 Feb 2011 15:43:55 -0000 Delivered-To: [email protected] Received: (qmail 73765 invoked by uid 500); 18 Feb 2011 15:43:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 73753 invoked by uid 99); 18 Feb 2011 15:43:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 15:43:53 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iy0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 15:43:48 +0000 Received: by iyh42 with SMTP id 42so4001399iyh.2 for <[email protected]>; Fri, 18 Feb 2011 07:43:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=N35D9vSuljY69QbO9mi0+tSHQbqI60MSSEkgEobMAqI=; b=vN4X1AHVJa1QfaYsvIDnXo2dBerxFVaM60wfhqZZ/mpYbQIrAeRvo27beApn2oL04m xfDcd4SAGaSNDFwQXD0nk/q2+WHhf+OSqGrkl7dHAMovN3TTdnF5vn9Pe3VLLkAqawqd +YoEOirXRMEuuikerkz5NEY7cVoP2TjRmXKzw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=V9V6cxkaG4Q9CA0pqfu8JwGb5KDJiZnZRcPQidNaUAsUOwSwr2ucBMmDZMLQzjXvPB Hsrg/hVnIWzm/M0YATjw5vJc0sRjQxbjXxjYzdkxC4AuQe8YfabDDUFRJTab49p0iFfn xS4X+GXaChLEfvVamoJSZfnG/IYvbdNpUVOLM= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id kx8mr1010223icb.416.1298043807674; Fri, 18 Feb 2011 07:43:27 -0800 (PST) Received: by 161.129.204.104 with HTTP; Fri, 18 Feb 2011 07:43:27 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Fri, 18 Feb 2011 16:43:27 +0100 Message-ID: <[email protected]> Subject: Re: [vysper] questions From: Bernd Fondermann <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Fri, Feb 18, 2011 at 16:35, Sasha Dolgy <[email protected]> wrote: > Hi, > > =A0I have a working prototype using cassandra as a storage provider for > [ org.apache.vysper.xmpp.authorization.AccountManagement/UserAuthorizatio= n > ] > > verifyAccountExists(Entity jid) > addUser(String username, String password) > > I started taking a look at the ResourceRegistry as you suggested. =A0Woul= dn't > a good first step be to abstract this and make it an interface and move t= he > existing code into something that then implements it? +1 >=A0This way people could > write different resource registry implementations so that we could see ju= st > how badly having it back onto Cassandra would be ; ) right :-) > My code isn't pretty. =A0Having said that, what or where is the best way = to > share it? =A0Admittedly, it has been years since i've contributed somethi= ng > anywhere. Please open a JIRA ticket ( https://issues.apache.org/jira/browse/VYSPER , registration required) create a diff (IDEs, Unix, SVN tools etc support that) and attach it to the JIRA issue. Note: Don't forget to check the ASF grant tick box. Thanks for contributing! > Also, what I find a little odd, the password for an entity is in clear > text....? =A0Is this covered in the XMPP protocols anywhere? Ah. Next JIRA, please. We shouldn't do that, and no storage backend is required to store plain text. XMPP is agnostic about how passwords are stored. Thanks, Bernd > > -sd > > > On Fri, Feb 18, 2011 at 12:06 PM, Bernd Fondermann < > [email protected]> wrote: > > >> =A0> It shifts the complexity down a level and makes mass deployment of = new >> > instances much easier and doesn't overly complicate the current >> > implementation. >> > >> > If I make headway creating a storage provider interfacing with cassand= ra >> > i'll drop a note here. >> >> >> By all means, please do that! I think cassandra is the perfect backend >> for Vysper. >> If you'd contribute code, that would be awesome (I don't remember >> having used this word for some time.). >> >> =A0Bernd >> > From [email protected] Fri Feb 18 15:48:43 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52002 invoked from network); 18 Feb 2011 15:48:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Feb 2011 15:48:42 -0000 Received: (qmail 83221 invoked by uid 500); 18 Feb 2011 15:48:42 -0000 Delivered-To: [email protected] Received: (qmail 83073 invoked by uid 500); 18 Feb 2011 15:48:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 83065 invoked by uid 99); 18 Feb 2011 15:48:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 15:48:40 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-iy0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 15:48:35 +0000 Received: by iyh42 with SMTP id 42so4006213iyh.2 for <[email protected]>; Fri, 18 Feb 2011 07:48:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=Wl0eZkROEc6A/0VrljtcqvcsmvslYiPrZp5Xpt10m34=; b=b8XBV0gg4Gvpk/4zWQ1albFkNBojklprL6703mCkmtsg77jg/IFKO60/LoVlkyDVwW rEVaBeZsS3Sb7OhjKUY+EdnNuXZzHAeNnuLsNvWTnMBhkWkT+tcRXb/GKF7Bp+q2ub3T ULz7vWPKieSEQitAFurmP8TGDf3QtcIfcWhRI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=gECSWFZO5GZrGSSDtYLGiVXuYyluZeocKkYFrKj5SNS/bY4xsEPKyASIPbD6me7KLS Syp5ddHqvb+fvNQ02vkYNGkZpXi6s8aGWh0UT8hC+LdmUzvspizozYrB9D2Vph267Mli J+yfpoufozgUhwPnPJDyaWyqnJr3iynAokbAQ= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id ij1mr1026053icb.349.1298044092590; Fri, 18 Feb 2011 07:48:12 -0800 (PST) Received: by 161.129.204.104 with HTTP; Fri, 18 Feb 2011 07:48:12 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Fri, 18 Feb 2011 16:48:12 +0100 Message-ID: <[email protected]> Subject: Re: [vysper] questions From: Bernd Fondermann <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 On Fri, Feb 18, 2011 at 16:40, Sasha Dolgy <[email protected]> wrote: > Hi Niklas, > > Although vysper doesn't currently support it, do the XMPP standards support > it? > -sd I assume you're referring to the clustering... No, XMPP does not provide an extension yet. There is one[1], but it is "deferred" and not recommended for implementation. The XSF ( xmpp.org ) is a very open-minded community. If you'd want to go that far you could start a new spec effort there. Bernd [1] http://xmpp.org/extensions/xep-0051.html > > > On Fri, Feb 18, 2011 at 3:48 PM, Niklas Gustavsson <[email protected]>wrote: > >> I don't think this is sufficient since we do not currently support >> relaying messages between users connected to the same domain but >> different servers. >> >> /niklas >> > From [email protected] Fri Feb 18 15:50:44 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52645 invoked from network); 18 Feb 2011 15:50:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Feb 2011 15:50:44 -0000 Received: (qmail 86965 invoked by uid 500); 18 Feb 2011 15:50:44 -0000 Delivered-To: [email protected] Received: (qmail 86856 invoked by uid 500); 18 Feb 2011 15:50:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 86848 invoked by uid 99); 18 Feb 2011 15:50:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 15:50:41 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) Received: from [161.129.204.104] (HELO mail-vw0-f43.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 15:50:34 +0000 Received: by vws17 with SMTP id 17so2123813vws.2 for <[email protected]>; Fri, 18 Feb 2011 07:50:13 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id yt4mr1527194vdb.102.1298044213014; Fri, 18 Feb 2011 07:50:13 -0800 (PST) Received: by 161.129.204.104 with HTTP; Fri, 18 Feb 2011 07:50:12 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Fri, 18 Feb 2011 16:50:12 +0100 Message-ID: <[email protected]> Subject: Re: [vysper] questions From: Niklas Gustavsson <[email protected]> To: [email protected] Cc: Sasha Dolgy <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 On Fri, Feb 18, 2011 at 4:40 PM, Sasha Dolgy <[email protected]> wrote: > Although vysper doesn't currently support it, do the XMPP standards support > it? The XMPP RFCs specifies the hostname lookup, using DNS SRV records. But beyond that, I don't think there is any active spec for how to cluster-enable XMPP servers. /niklas From [email protected] Fri Feb 18 16:00:31 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58511 invoked from network); 18 Feb 2011 16:00:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Feb 2011 16:00:29 -0000 Received: (qmail 8115 invoked by uid 500); 18 Feb 2011 16:00:29 -0000 Delivered-To: [email protected] Received: (qmail 7754 invoked by uid 500); 18 Feb 2011 16:00:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 7710 invoked by uid 99); 18 Feb 2011 16:00:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 16:00:24 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-pv0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 16:00:19 +0000 Received: by pva4 with SMTP id 4so46672pva.2 for <[email protected]>; Fri, 18 Feb 2011 07:59:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=eOcoM123WHoTM8gtZPFGJKW+z33b5jTUwtepvxofP7g=; b=BMWabuHm1h9CT+hT2c1WyVh34JtjkkhkfYPE5zx4p6fnoLAXVeh5fsoF15Y1SFxxPZ SHn2we+iIJeLnu7+pyPVgBMjlblCO3Mem/HHwJsctncOcpgfNVL+/6kPbv2hsts0Ldrq /jPapZCCSeq42nlVGmtHDfTnd7fVGwe3tZSZQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=bw08RPyumzht2uvhgfzULCrABGlAR8lAPNupamKyZ4sGLqRnTFeGlKqn/hAemTfSPc 4sqA7d590BOVfzLEQ7aJkMFmt/Fz5GBNb3BjjHuH6xpgwpsc5zme2ugfkHxse0fIplQ+ CtmGLBzt4lNyd8jXy0qu4GZNU6DXcRL/5sN08= Received: by 161.129.204.104 with SMTP id m5mr660437wfe.342.1298044799127; Fri, 18 Feb 2011 07:59:59 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with HTTP; Fri, 18 Feb 2011 07:59:39 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> From: Sasha Dolgy <[email protected]> Date: Fri, 18 Feb 2011 16:59:39 +0100 Message-ID: <[email protected]> Subject: Re: [vysper] questions To: [email protected] Content-Type: multipart/alternative; boundary=000e0cd2414c2790b0049c909b64 --000e0cd2414c2790b0049c909b64 Content-Type: text/plain; charset=ISO-8859-1 On Fri, Feb 18, 2011 at 4:43 PM, Bernd Fondermann < [email protected]> wrote: > > > I started taking a look at the ResourceRegistry as you suggested. > Wouldn't > > a good first step be to abstract this and make it an interface and move > the > > existing code into something that then implements it? > > +1 > > > This way people could > > write different resource registry implementations so that we could see > just > > how badly having it back onto Cassandra would be ; ) > > right :-) > https://issues.apache.org/jira/browse/VYSPER-266 > > > > Also, what I find a little odd, the password for an entity is in clear > > text....? Is this covered in the XMPP protocols anywhere? > > Ah. Next JIRA, please. We shouldn't do that, and no storage backend is > required to store plain text. > XMPP is agnostic about how passwords are stored. > https://issues.apache.org/jira/browse/VYSPER-267 --000e0cd2414c2790b0049c909b64-- From [email protected] Fri Feb 18 18:49:54 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45970 invoked from network); 18 Feb 2011 18:49:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Feb 2011 18:49:54 -0000 Received: (qmail 82739 invoked by uid 500); 18 Feb 2011 18:49:54 -0000 Delivered-To: [email protected] Received: (qmail 82397 invoked by uid 500); 18 Feb 2011 18:49:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 82389 invoked by uid 99); 18 Feb 2011 18:49:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 18:49:50 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-qw0-f43.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 18:49:42 +0000 Received: by qwk3 with SMTP id 3so3822905qwk.2 for <[email protected]>; Fri, 18 Feb 2011 10:49:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=y0W3Vbr7VZcO+YbFyqJsS/WieHNSJs8ID/Jjbxh4Hnc=; b=JW5rKF5LwuoI/N2gXZq1o5bfWg8bxq5JvCN62adZ3WgCCRO842rAt6vURi1zHfqG/w UxWYg48xp/X4tTFy17Nf1+fkxXi/TKlj3FIejTm0XhyZvh7vw7hapUL31mL0F7+Xrjo9 OuYiFni9XGcpShfO1hif7zowr9Eq5vTgGMjBs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=n6ajtj2t5GFRj6mshR10RRMZBk7B5v+T3Y+etC0PB8yGHSA4VNM1lr2bDBtqleD08H ih4i33xH/0Kyxo+BLIJKSnFAgVfVPd8lmaFes9sqXTFVxwq29FSgrkOf4Gn3ikjWReZ9 b7Z52pGiqYNmt/5i8cHLeWxLiQPcK/9gVfNUY= Received: by 161.129.204.104 with SMTP id lh2mr847095qcb.0.1298054961113; Fri, 18 Feb 2011 10:49:21 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with HTTP; Fri, 18 Feb 2011 10:49:01 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> From: Sasha Dolgy <[email protected]> Date: Fri, 18 Feb 2011 19:49:01 +0100 Message-ID: <[email protected]> Subject: Re: [vysper] questions To: [email protected] Content-Type: multipart/alternative; boundary=0016362843d6db2c0f049c92f8ca X-Virus-Checked: Checked by ClamAV on apache.org --0016362843d6db2c0f049c92f8ca Content-Type: text/plain; charset=ISO-8859-1 > https://issues.apache.org/jira/browse/VYSPER-266 > uploaded a patch for this. https://issues.apache.org/jira/secure/attachment/12471431/ResourceRegistry-to-Interface.patch No doubt the patch could be cleaned up. Hoping a few others may see some value in this. I for one would like the ability to create an alternate method for the ResourceRegistry like I can with Storage providers which is why i've done this without affecting the default approach. Thanks for the mini-tutorial Bernd about getting up to speed and helping out. Appreciate it. -sd --0016362843d6db2c0f049c92f8ca-- From [email protected] Mon Feb 21 20:45:18 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40952 invoked from network); 21 Feb 2011 20:45:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Feb 2011 20:45:18 -0000 Received: (qmail 39961 invoked by uid 500); 21 Feb 2011 20:45:18 -0000 Delivered-To: [email protected] Received: (qmail 39948 invoked by uid 500); 21 Feb 2011 20:45:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 33505 invoked by uid 99); 21 Feb 2011 20:38:31 -0000 X-ASF-Spam-Status: No, hits=-1.6 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Message-ID: <[email protected]> Date: Mon, 21 Feb 2011 15:37:26 -0500 From: boB Gage <[email protected]> Organization: MERGE Healthcare User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:161.129.204.104) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Bundle packaging not found? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 21 Feb 2011 20:37:41.0875 (UTC) FILETIME=[2FCCDC30:01CBD207] X-Virus-Checked: Checked by ClamAV on apache.org I'm trying to upgrade from a 2.0.0-M7 local build to the 2.0.2 release build and am having problems with maven. My pom.xml entries look like: <dependency> <groupId>org.apache.mina</groupId> <artifactId>mina-core</artifactId> <version>${mina-version}</version> </dependency> <dependency> <groupId>org.apache.mina</groupId> <artifactId>mina-integration-beans</artifactId> <version>${mina-version}</version> </dependency> <dependency> <groupId>org.apache.mina</groupId> <artifactId>mina-integration-jmx</artifactId> <version>${mina-version}</version> </dependency> <dependency> <groupId>org.apache.mina</groupId> <artifactId>mina-transport-serial</artifactId> <version>${mina-version}</version> </dependency> Changing ${mina-version} from 2.0.0-RC1 to 2.0.2 results in a series of errors at build time. Three artifacts are declared "missing." 1) org.apache.mina:mina-core:bundle:2.0.2 2) org.apache.mina:mina-integration-beans:bundle:2.0.2 3) org.apache.mina:mina-integration-ognl:bundle:2.0.2 For each of these, a pom file is downloaded which designates <packaging> as "bundle." Following that a jar file is successfully downloaded, and then a *.bundle file is attempted and fails. Not finding these "bundle" files, the build dies. I am using the public artifact [email protected]. I have examined the files manually, there is no *.bundle file, and the packaging token in the pom file is indeed set to "bundle." When I download the sources from svn, I see the much more familiar packaging token of "pom." Thanks in advance! boB Gage -- boB Gage Software Developer Merge Healthcare Blacksburg, Virginia Phone: Skype: bob_gage [email protected] Privacy Statement: This message is a PRIVATE communication. This message and all attachments are a private communication and may be confidential or protected by privilege. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the information contained in or attached to this message is strictly prohibited. Please notify the sender of the delivery error by replying to this message, and then delete it from your system. Thank you. From [email protected] Thu Feb 24 06:57:11 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70922 invoked from network); 24 Feb 2011 06:57:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Feb 2011 06:57:11 -0000 Received: (qmail 23304 invoked by uid 500); 24 Feb 2011 06:57:11 -0000 Delivered-To: [email protected] Received: (qmail 22861 invoked by uid 500); 24 Feb 2011 06:57:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 22853 invoked by uid 99); 24 Feb 2011 06:57:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Feb 2011 06:57:07 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO m13-195.163.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Feb 2011 06:56:59 +0000 Received: from dugusword ( [161.129.204.104] ) by ajax-webmail-wmsvr195 (Coremail) ; Thu, 24 Feb 2011 14:56:34 +0800 (CST) Date: Thu, 24 Feb 2011 14:56:34 +0800 (CST) From: =?GBK?B?0fK4/g==?= <[email protected]> To: [email protected] Message-ID: <[email protected]> Subject: Cannot receive message from client after server running a few days, use mina 1.1.7 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_214408_17397239.1298530594171" X-Originating-IP: [161.129.204.104] X-Priority: 3 X-Mailer: Coremail Webmail Server Version SP_ntes V3.5 build 110119(12730.3605.3605) Copyright (c) 2002-2011 www.mailtech.cn 163com X-CM-CTRLDATA: Dmfxs2Zvb3Rlcl9odG09NTc2Ojgx X-CM-TRANSID:w8GowKB7_KgjAWZNzGMZAA--.3951W X-CM-SenderInfo: 5gxj32hzruvqqrwthudrp/1tbiOwnvl0vkMOUhXwAAsO X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== ------=_Part_214408_17397239.1298530594171 Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: 7bit Hello, I wrote a server use mina 1.1.7, client use flex socket sending message to the server. At first the server can receive the message well but after a few days the server can not receive message anymore from any client at this time, when client connects to the server, sessionCreated() is invoked, i can see it in logs but messageReceived() is never called. Event I close the client, sessionClosed() is not called. Has someone any idea about this problem? thank you ------=_Part_214408_17397239.1298530594171-- From [email protected] Thu Feb 24 10:00:15 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40647 invoked from network); 24 Feb 2011 10:00:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Feb 2011 10:00:15 -0000 Received: (qmail 49242 invoked by uid 500); 24 Feb 2011 10:00:15 -0000 Delivered-To: [email protected] Received: (qmail 48979 invoked by uid 500); 24 Feb 2011 10:00:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 48971 invoked by uid 99); 24 Feb 2011 10:00:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Feb 2011 10:00:10 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-gy0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Feb 2011 10:00:04 +0000 Received: by gyd12 with SMTP id 12so235510gyd.2 for <[email protected]>; Thu, 24 Feb 2011 01:59:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:reply-to:user-agent :mime-version:to:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=KI5Laj/AQ8WDbLlsrwknZEwH+X5GHvWWwfQKOnwp0F8=; b=kZzD5hkp++G7zTfvTyqgCg5x3UoPPBJIO3dKafm+jalGChAupTGI2a00PI3IdAA79E dXxR+49fZ/jy+g74IvhYUWlQTeIsWtUJ968w93c1li3UnEjpBaFVE6JaEUoTlxmXRecO pRjWT8g9DBRbGXaB/KL78zszdJ46TpTQQZIAc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=wlpVc0qUf+Uh99zAF6O+t5qZDF79mg923lr8Xd9s/UdScHEhBcoUW7K7KLbC0RKqMt e72blVcybzJthO9GskKqSiQMv/VsWvkoSw8opbLnZJIyQSvJMwanj7W1BKB5aTVC20e5 Ox53umur2E2VEUMU0dgZfLlSlXOaADjZOWH3w= Received: by 161.129.204.104 with SMTP id k42mr1308765yhg.65.1298541582822; Thu, 24 Feb 2011 01:59:42 -0800 (PST) Received: from emmanuel-lecharnys-MacBook-Pro.local (ran75-1-78-192-106-184.fbxo.proxad.net [161.129.204.104]) by mx.google.com with ESMTPS id 8sm5511146yhl.44.2161.129.204.104.59.41 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 24 Feb 2011 01:59:41 -0800 (PST) Message-ID: <[email protected]> Date: Thu, 24 Feb 2011 10:59:39 +0100 From: Emmanuel Lecharny <[email protected]> Reply-To: [email protected] User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:161.129.204.104) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: [email protected] Subject: Re: Cannot receive message from client after server running a few days, use mina 1.1.7 References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 2/24/11 7:56 AM, 羊羹 wrote: > Hello, I wrote a server use mina 1.1.7, client use flex socket sending message to the server. > At first the server can receive the message well > but after a few days the server can not receive message anymore from any client > > > at this time, when client connects to the server, sessionCreated() is invoked, i can see it in logs > but messageReceived() is never called. Event I close the client, sessionClosed() is not called. > > > Has someone any idea about this problem? thank you why don't you use mina 2.0.2 ? -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com From [email protected] Thu Feb 24 10:06:53 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 50507 invoked from network); 24 Feb 2011 10:06:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Feb 2011 10:06:53 -0000 Received: (qmail 56413 invoked by uid 500); 24 Feb 2011 10:06:53 -0000 Delivered-To: [email protected] Received: (qmail 56227 invoked by uid 500); 24 Feb 2011 10:06:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 56219 invoked by uid 99); 24 Feb 2011 10:06:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Feb 2011 10:06:49 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO m13-156.163.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Feb 2011 10:06:43 +0000 Received: from dugusword ( [161.129.204.104] ) by ajax-webmail-wmsvr156 (Coremail) ; Thu, 24 Feb 2011 18:05:49 +0800 (CST) Date: Thu, 24 Feb 2011 18:05:49 +0800 (CST) From: =?GBK?B?0fK4/g==?= <[email protected]> To: [email protected], [email protected] Message-ID: <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Subject: Re:Re: Cannot receive message from client after server running a few days, use mina 1.1.7 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_254076_2021232947.1298541949319" X-Originating-IP: [161.129.204.104] X-Priority: 3 X-Mailer: Coremail Webmail Server Version SP_ntes V3.5 build 110119(12730.3605.3605) Copyright (c) 2002-2011 www.mailtech.cn 163com X-CM-CTRLDATA: pfOBtGZvb3Rlcl9odG09MTQwNTo4MQ== X-CM-TRANSID:nMGowKBbxup+LWZN_cMZAA--.483W X-CM-SenderInfo: 5gxj32hzruvqqrwthudrp/1tbiEBnvl0iNZ9sZFAADsG X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== ------=_Part_254076_2021232947.1298541949319 Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: base64 Rm9yIHNvbWUgcmVhc29uIEkgY2Fubm90IGNoYW5nZSB0byB2Mi4wCnRoYW5rcyBmb3IgeW91ciBy ZXBseQoKQXQgMjAxMS0wMi0yNCAxNzo1OTozOaOsIkVtbWFudWVsIExlY2hhcm55IiA8ZWxlY2hh cm55QGdtYWlsLmNvbT4gd3JvdGU6Cgo+T24gMi8yNC8xMSA3OjU2IEFNLCDR8rj+IHdyb3RlOgo+ PiBIZWxsbywgSSB3cm90ZSBhIHNlcnZlciB1c2UgbWluYSAxLjEuNywgY2xpZW50IHVzZSBmbGV4 IHNvY2tldCBzZW5kaW5nIG1lc3NhZ2UgdG8gdGhlIHNlcnZlci4KPj4gQXQgZmlyc3QgdGhlIHNl cnZlciBjYW4gcmVjZWl2ZSB0aGUgbWVzc2FnZSB3ZWxsCj4+IGJ1dCBhZnRlciBhIGZldyBkYXlz IHRoZSBzZXJ2ZXIgY2FuIG5vdCByZWNlaXZlIG1lc3NhZ2UgYW55bW9yZSBmcm9tIGFueSBjbGll bnQKPj4KPj4KPj4gYXQgdGhpcyB0aW1lLCAgd2hlbiBjbGllbnQgY29ubmVjdHMgdG8gdGhlIHNl cnZlciwgc2Vzc2lvbkNyZWF0ZWQoKSBpcyBpbnZva2VkLCBpIGNhbiBzZWUgaXQgaW4gbG9ncwo+ PiBidXQgbWVzc2FnZVJlY2VpdmVkKCkgaXMgbmV2ZXIgY2FsbGVkLiBFdmVudCBJIGNsb3NlIHRo ZSBjbGllbnQsIHNlc3Npb25DbG9zZWQoKSBpcyBub3QgY2FsbGVkLgo+Pgo+Pgo+PiBIYXMgc29t ZW9uZSBhbnkgaWRlYSBhYm91dCB0aGlzIHByb2JsZW0/IHRoYW5rIHlvdQo+d2h5IGRvbid0IHlv dSB1c2UgbWluYSAyLjAuMiA/Cj4KPgo+LS0gCj5SZWdhcmRzLAo+Q29yZGlhbGVtZW50LAo+RW1t YW51ZWwgTKimY2hhcm55Cj53d3cuaWt0ZWsuY29tCj4K ------=_Part_254076_2021232947.1298541949319-- From [email protected] Thu Feb 24 11:35:03 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80533 invoked from network); 24 Feb 2011 11:35:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Feb 2011 11:35:03 -0000 Received: (qmail 54759 invoked by uid 500); 24 Feb 2011 11:35:02 -0000 Delivered-To: [email protected] Received: (qmail 54342 invoked by uid 500); 24 Feb 2011 11:34:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 54326 invoked by uid 99); 24 Feb 2011 11:34:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Feb 2011 11:34:58 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 161.129.204.104 is neither permitted nor denied by domain of [email protected]) Received: from [161.129.204.104] (HELO mail-vw0-f43.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Feb 2011 11:34:52 +0000 Received: by vws18 with SMTP id 18so394343vws.2 for <multiple recipients>; Thu, 24 Feb 2011 03:34:30 -0800 (PST) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id yr8mr1216234vdb.222.1298547255107; Thu, 24 Feb 2011 03:34:15 -0800 (PST) Received: by 161.129.204.104 with HTTP; Thu, 24 Feb 2011 03:34:13 -0800 (PST) Date: Thu, 24 Feb 2011 12:34:13 +0100 Message-ID: <[email protected]> Subject: [ANNOUNCE] Apache Vysper 0.7 released From: Niklas Gustavsson <[email protected]> To: [email protected], [email protected] Content-Type: text/plain; charset=ISO-8859-1 The Apache MINA project is pleased to announce the release of Vysper 0.7, an open source, modular XMPP (Jabber) server written in Java. This release adds some major features to Apache Vysper, including support for server to server connections, Ad-hoc commands, a partial implementation of service administration and experimental websockets support. The release also contains many minor improvements and bug fixes. The latest release is now available for download here: http://mina.apache.org/vysper/downloads.html The full change log is available here: https://issues.apache.org/jira/browse/VYSPER/fixforversion/12315280 As always, feel free to get involved or report bugs to us! /niklas From [email protected] Mon Feb 28 05:13:16 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85288 invoked from network); 28 Feb 2011 05:13:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Feb 2011 05:13:16 -0000 Received: (qmail 2509 invoked by uid 500); 28 Feb 2011 05:13:16 -0000 Delivered-To: [email protected] Received: (qmail 2216 invoked by uid 500); 28 Feb 2011 05:13:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 2208 invoked by uid 99); 28 Feb 2011 05:13:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Feb 2011 05:13:12 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO m13-44.163.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Feb 2011 05:13:03 +0000 Received: from cloudzen ( [161.129.204.104] ) by ajax-webmail-wmsvr44 (Coremail) ; Mon, 28 Feb 2011 13:12:40 +0800 (CST) Date: Mon, 28 Feb 2011 13:12:40 +0800 (CST) From: skyman <[email protected]> To: [email protected] Message-ID: <[email protected]> Subject: How can Mina access the data of Tomcat's servlet instance? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_141566_1326690722.1298869960596" X-Originating-IP: [161.129.204.104] X-Priority: 3 X-Mailer: Coremail Webmail Server Version SP_ntes V3.5 build 110119(12730.3605.3605) Copyright (c) 2002-2011 www.mailtech.cn 163com X-CM-CTRLDATA: cw1mqmZvb3Rlcl9odG09MjE5Ojgx X-CM-TRANSID:LMGowKCrk7fILmtNHEAfAA--.11285W X-CM-SenderInfo: pfor3vx2hqqiywtou0bp/1tbiDg3z9UpxQdq7TwACsT X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_141566_1326690722.1298869960596 Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: 7bit Hi everyone, I want to embed Mina into Tomcat(Mina is used for the chat module), but I don't know how does Mina acess the servlet's data(for example, user's name). Can anyone tell me? Thanks in advance! ------=_Part_141566_1326690722.1298869960596-- From [email protected] Mon Feb 28 07:28:26 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45848 invoked from network); 28 Feb 2011 07:28:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Feb 2011 07:28:26 -0000 Received: (qmail 80650 invoked by uid 500); 28 Feb 2011 07:28:26 -0000 Delivered-To: [email protected] Received: (qmail 80208 invoked by uid 500); 28 Feb 2011 07:28:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <users.mina.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 80200 invoked by uid 99); 28 Feb 2011 07:28:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Feb 2011 07:28:22 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-gx0-f171.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Feb 2011 07:28:16 +0000 Received: by gxk7 with SMTP id 7so1932157gxk.2 for <[email protected]>; Sun, 27 Feb 2011 23:27:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=smbjll9IuoPIcOXAH8WkBQcjF9GWEkZYUT3toNw/KNE=; b=BqJwJaz5DXkYP3g/GDFConzKtTdtU9GHQLiLTJ71rNBxgIqcVZ5p86O4D4/d8Rol40 QIXpD5rymBjSDTKvYXntNYIjkVxdRSkxupM/8Q+O6LVkhunGik6unLBAilWXG8hOffZD ysJpc+JgOo5jmp/R5GrvCbeWpXISj106IL9v4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Lwl40QcBqvhS3phYgtnLd5EvMC+TMKQ3l++6djuDW+Dbot3cMhyTbSnWNAZnxlW8ba ZtiJb3tPjwi5HOqrK8+tCSItS7ke/h+1rNs9tsYT2MAvYbFq5oJPkjO5dsLOA/dCue3L ph5v3ItssFRu/etpuVvITPFOs59EDVGPARuCM= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id s25mr9046339yhm.34.1298878075463; Sun, 27 Feb 2011 23:27:55 -0800 (PST) Received: by 161.129.204.104 with HTTP; Sun, 27 Feb 2011 23:27:55 -0800 (PST) In-Reply-To: <[email protected]> References: <[email protected]> Date: Mon, 28 Feb 2011 12:57:55 +0530 Message-ID: <[email protected]> Subject: Re: How can Mina access the data of Tomcat's servlet instance? From: Ashish <[email protected]> To: [email protected] Cc: skyman <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 2011/2/28 skyman <[email protected]>: > Hi everyone, > I want to embed Mina into Tomcat(Mina is used for the chat module), but I don't know how does Mina acess the servlet's data(for example, user's name). Can anyone tell me? > Thanks in advance! It cannot, you have to code it You need to build this logic in your Filter or IoHandler. thanks ashish
From [email protected] Thu Jun 02 20:41:13 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 62425 invoked from network); 2 Jun 2005 20:41:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Jun 2005 20:41:13 -0000 Received: (qmail 97581 invoked by uid 500); 2 Jun 2005 20:41:12 -0000 Delivered-To: [email protected] Received: (qmail 97545 invoked by uid 500); 2 Jun 2005 20:41:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 97532 invoked by uid 99); 2 Jun 2005 20:41:11 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from smtp-relay2.sct.com (HELO smtp-relay2.sct.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 02 Jun 2005 13:41:07 -0700 Received: from smtp-relay2.sct.com (localhost [161.129.204.104]) by smtp-relay2.sct.com (8.12.10/8.12.10) with ESMTP id j52KI5VY012839 for <[email protected]>; Thu, 2 Jun 2005 16:18:06 -0400 Received: from m030006.sct.com ([161.129.204.104]) by smtp-relay2.sct.com (8.12.10/8.12.10) with ESMTP id j52KI5EA012834 for <[email protected]>; Thu, 2 Jun 2005 16:18:05 -0400 Received: from sctmnot9.sct.com (sctmnot9.sct.com [161.129.204.104]) by m030006.sct.com (8.12.10/8.12.10) with ESMTP id j52KI2QH017795 for <[email protected]>; Thu, 2 Jun 2005 16:18:02 -0400 Received: from slcnot1.sct.com ([161.129.204.104]) by sctmnot9.sct.com (Lotus Domino Release 6.0.5) with ESMTP id 2005060216180231-246 ; Thu, 2 Jun 2005 16:18:02 -0400 Received: from vgwin2k10 ([161.129.204.104]) by slcnot1.sct.com (Lotus Domino Release 6.0.4) with ESMTP id 2005060214180128-3765 ; Thu, 2 Jun 2005 14:18:01 -0600 From: "Vishal Goenka" <[email protected]> To: <[email protected]> Subject: Re: (WSRP4J-57) Upgrade to Axis 1.2 Date: Thu, 2 Jun 2005 14:18:00 -0600 Organization: SunGard SCT MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 x-mimeole: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcVnsCwc1Kgx2EpHR+iYdXh9S/rrnA== X-MIMETrack: Itemize by SMTP Server on slcnot1/SCT(Release 6.0.4|June 01, 2004) at 06/02/2005 14:18:01, Serialize by Router on slcnot1/SCT(Release 6.0.4|June 01, 2004) at 06/02/2005 14:18:03, Serialize complete at 06/02/2005 14:18:03, Itemize by SMTP Server on sctmnot9/SCT(Release 6.0.5|March 27, 2005) at 06/02/2005 16:18:02, Serialize by Router on sctmnot9/SCT(Release 6.0.5|March 27, 2005) at 06/02/2005 16:18:02, Serialize complete at 06/02/2005 16:18:02 Message-ID: <[email protected]> Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Unless this has been fixed or someone is working on it, I can offer to contribute the upgrade to Axis 1.2 RC3 that I have done as part of developing a WSRP producer for Sakai (www.sakaiproject.org) using the WSRP4J toolkit. In addition to the Axis 1.2 RC3 upgrade, I also did a JDK 1.5 upgrade and ran into the use of "enum" in the package names in earlier version of Axis, for which Axis 1.2 has an alternate package name, which I also fixed in the WSRP4J codebase. Since I'm not a committer on the WSRP4J project, I will be happy to zip my code if any committer wants to take that and use it to resolve this issue. - Vishal -- Vishal Goenka SunGard SCT Advisory Technical Architect, Luminis Solutions www.sungardsct.com From [email protected] Fri Jun 03 02:59:44 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95900 invoked from network); 3 Jun 2005 02:59:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Jun 2005 02:59:44 -0000 Received: (qmail 97483 invoked by uid 500); 3 Jun 2005 02:59:38 -0000 Delivered-To: [email protected] Received: (qmail 97220 invoked by uid 500); 3 Jun 2005 02:59:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 97086 invoked by uid 99); 3 Jun 2005 02:59:37 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from ipex1.johnshopkins.edu (HELO ipex1.johnshopkins.edu) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 02 Jun 2005 19:59:32 -0700 Received: from jhuml3.jhu.edu (161.129.204.104) by ipex1.johnshopkins.edu with ESMTP; 02 Jun 2005 22:59:25 -0400 X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAA== Received: from [161.129.204.104] (esm.qis.net [161.129.204.104]) by jhuml3.jhu.edu (PMDF V6.2-X20 #30840) with ESMTPA id <[email protected]> for [email protected]; Thu, 02 Jun 2005 22:59:24 -0400 (EDT) Date: Thu, 02 Jun 2005 23:03:54 -0400 From: Elliot Metsger <[email protected]> Subject: Re: (WSRP4J-57) Upgrade to Axis 1.2 In-reply-to: <[email protected]> To: [email protected] Message-id: <[email protected]> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-FOAF: http://uppertank.net/foaf/foaf.rdf References: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Vishal, I'm not a committer but I'd be interested in previewing the changes! Thanks, Elliot Vishal Goenka wrote: > Unless this has been fixed or someone is working on it, I can offer to > contribute the upgrade to Axis 1.2 RC3 that I have done as part of > developing a WSRP producer for Sakai (www.sakaiproject.org) using the WSRP4J > toolkit. > > In addition to the Axis 1.2 RC3 upgrade, I also did a JDK 1.5 upgrade and > ran into the use of "enum" in the package names in earlier version of Axis, > for which Axis 1.2 has an alternate package name, which I also fixed in the > WSRP4J codebase. > > Since I'm not a committer on the WSRP4J project, I will be happy to zip my > code if any committer wants to take that and use it to resolve this issue. > > - Vishal > > -- > Vishal Goenka > SunGard SCT > Advisory Technical Architect, Luminis Solutions > www.sungardsct.com From [email protected] Fri Jun 03 07:07:36 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56875 invoked from network); 3 Jun 2005 07:07:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Jun 2005 07:07:35 -0000 Received: (qmail 51391 invoked by uid 500); 3 Jun 2005 07:07:35 -0000 Delivered-To: [email protected] Received: (qmail 51342 invoked by uid 500); 3 Jun 2005 07:07:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 51313 invoked by uid 99); 3 Jun 2005 07:07:34 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 03 Jun 2005 00:07:30 -0700 Received: (qmail 56809 invoked from network); 3 Jun 2005 07:07:12 -0000 Received: from localhost.hyperreal.org (HELO ?161.129.204.104?) (161.129.204.104) by localhost.hyperreal.org with SMTP; 3 Jun 2005 07:07:12 -0000 Message-ID: <[email protected]> Date: Fri, 03 Jun 2005 09:08:44 +0200 From: Carsten Ziegeler <[email protected]> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: (WSRP4J-57) Upgrade to Axis 1.2 References: <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 161.129.204.104 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Rating: localhost.hyperreal.org 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Vishal Goenka wrote: > Unless this has been fixed or someone is working on it, I can offer to > contribute the upgrade to Axis 1.2 RC3 that I have done as part of > developing a WSRP producer for Sakai (www.sakaiproject.org) using the WSRP4J > toolkit. > I guess that RC3 is nearly the same as 1.2 final - so replacing RC3 with the final should be very easy, right? > In addition to the Axis 1.2 RC3 upgrade, I also did a JDK 1.5 upgrade and > ran into the use of "enum" in the package names in earlier version of Axis, > for which Axis 1.2 has an alternate package name, which I also fixed in the > WSRP4J codebase. Good! > > Since I'm not a committer on the WSRP4J project, I will be happy to zip my > code if any committer wants to take that and use it to resolve this issue. > Great! Just attach the patch to the issue and I will try to apply it :) Thanks! Carsten -- Carsten Ziegeler - Open Source Group, S&N AG http://www.s-und-n.de http://www.osoco.org/weblogs/rael/ From [email protected] Fri Jun 03 21:33:28 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57873 invoked from network); 3 Jun 2005 21:33:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Jun 2005 21:33:28 -0000 Received: (qmail 87323 invoked by uid 500); 3 Jun 2005 21:33:28 -0000 Delivered-To: [email protected] Received: (qmail 87274 invoked by uid 500); 3 Jun 2005 21:33:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 87259 invoked by uid 99); 3 Jun 2005 21:33:26 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from smtp-relay2.sct.com (HELO smtp-relay2.sct.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 03 Jun 2005 14:33:24 -0700 Received: from smtp-relay2.sct.com (localhost [161.129.204.104]) by smtp-relay2.sct.com (8.12.10/8.12.10) with ESMTP id j53LXGVY016408 for <[email protected]>; Fri, 3 Jun 2005 17:33:16 -0400 Received: from m030006.sct.com ([161.129.204.104]) by smtp-relay2.sct.com (8.12.10/8.12.10) with ESMTP id j53LXGEA016403 for <[email protected]>; Fri, 3 Jun 2005 17:33:16 -0400 Received: from sctmnot9.sct.com (sctmnot9.sct.com [161.129.204.104]) by m030006.sct.com (8.12.10/8.12.10) with ESMTP id j53LXDQH003092 for <[email protected]>; Fri, 3 Jun 2005 17:33:13 -0400 Received: from slcnot1.sct.com ([161.129.204.104]) by sctmnot9.sct.com (Lotus Domino Release 6.0.5) with ESMTP id 2005060317331210-650 ; Fri, 3 Jun 2005 17:33:12 -0400 Received: from vgwin2k10 ([161.129.204.104]) by slcnot1.sct.com (Lotus Domino Release 6.0.4) with ESMTP id 2005060315331091-3862 ; Fri, 3 Jun 2005 15:33:10 -0600 From: "Vishal Goenka" <[email protected]> To: <[email protected]> Subject: RE: (WSRP4J-57) Upgrade to Axis 1.2 Date: Fri, 3 Jun 2005 15:33:10 -0600 Organization: SunGard SCT MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-reply-to: <[email protected]> Thread-index: AcVoCuuBObcc3mYtToqHpL1y9+x+YgAeKjsw X-MIMETrack: Itemize by SMTP Server on slcnot1/SCT(Release 6.0.4|June 01, 2004) at 06/03/2005 15:33:11, Serialize by Router on slcnot1/SCT(Release 6.0.4|June 01, 2004) at 06/03/2005 15:33:12, Serialize complete at 06/03/2005 15:33:12, Itemize by SMTP Server on sctmnot9/SCT(Release 6.0.5|March 27, 2005) at 06/03/2005 17:33:12, Serialize by Router on sctmnot9/SCT(Release 6.0.5|March 27, 2005) at 06/03/2005 17:33:14, Serialize complete at 06/03/2005 17:33:14 Message-ID: <[email protected]> Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Carsten, I think the 1.2 RC3 should be fairly close to 1.2 final. I have attached a zip file containing the patch to the issue. Let me know if you have any questions. Thanks. - Vishal -- Vishal Goenka SunGard SCT Advisory Technical Architect, Luminis Solutions www.sungardsct.com > -----Original Message----- > From: Carsten Ziegeler [mailto:[email protected]] > Sent: Friday, June 03, 2005 1:09 AM > To: [email protected] > Subject: Re: (WSRP4J-57) Upgrade to Axis 1.2 > > Vishal Goenka wrote: > > Unless this has been fixed or someone is working on it, I > can offer to > > contribute the upgrade to Axis 1.2 RC3 that I have done as part of > > developing a WSRP producer for Sakai (www.sakaiproject.org) > using the > > WSRP4J toolkit. > > > I guess that RC3 is nearly the same as 1.2 final - so > replacing RC3 with the final should be very easy, right? > > > In addition to the Axis 1.2 RC3 upgrade, I also did a JDK > 1.5 upgrade > > and ran into the use of "enum" in the package names in > earlier version > > of Axis, for which Axis 1.2 has an alternate package name, which I > > also fixed in the WSRP4J codebase. > Good! > > > > > Since I'm not a committer on the WSRP4J project, I will be happy to > > zip my code if any committer wants to take that and use it > to resolve this issue. > > > Great! Just attach the patch to the issue and I will try to > apply it :) > > > Thanks! > > Carsten > > -- > Carsten Ziegeler - Open Source Group, S&N AG > http://www.s-und-n.de http://www.osoco.org/weblogs/rael/ From [email protected] Fri Jun 03 21:54:07 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64383 invoked from network); 3 Jun 2005 21:54:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Jun 2005 21:54:07 -0000 Received: (qmail 22939 invoked by uid 500); 3 Jun 2005 21:54:05 -0000 Delivered-To: [email protected] Received: (qmail 22805 invoked by uid 500); 3 Jun 2005 21:54:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 22764 invoked by uid 99); 3 Jun 2005 21:54:04 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 03 Jun 2005 14:54:03 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id D2BAC189 for <[email protected]>; Fri, 3 Jun 2005 23:35:56 +0200 (CEST) Message-ID: <[email protected]> Date: Fri, 3 Jun 2005 23:35:56 +0200 (CEST) From: "Vishal Goenka (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (WSRP4J-57) Upgrade to Axis 1.2 In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/WSRP4J-57?page=all ] Vishal Goenka updated WSRP4J-57: -------------------------------- Attachment: axis-upgrade.zip The attached zip contains files needed to resolve this. Read the README.txt in the zip for files that need to be added/deleted/modified/replaced. Please direct any questions to [email protected] > Upgrade to Axis 1.2 > ------------------- > > Key: WSRP4J-57 > URL: http://issues.apache.org/jira/browse/WSRP4J-57 > Project: WSRP4J > Type: Improvement > Components: Web Services Stack > Versions: current (nightly) > Reporter: Julie MacNaught > Fix For: current (nightly) > Attachments: axis-upgrade.zip > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Mon Jun 06 08:50:36 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63649 invoked from network); 6 Jun 2005 08:50:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Jun 2005 08:50:36 -0000 Received: (qmail 48481 invoked by uid 500); 6 Jun 2005 08:50:35 -0000 Delivered-To: [email protected] Received: (qmail 48441 invoked by uid 500); 6 Jun 2005 08:50:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 48428 invoked by uid 500); 6 Jun 2005 08:50:34 -0000 Delivered-To: [email protected] Received: (qmail 48425 invoked by uid 99); 6 Jun 2005 08:50:34 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 06 Jun 2005 01:50:29 -0700 Received: (qmail 63437 invoked by uid 1260); 6 Jun 2005 08:50:20 -0000 Date: 6 Jun 2005 08:50:20 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/src/org/apache/wsrp4j/util ParameterChecker.java MessageElementHelper.java X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N cziegeler 2005/06/06 01:50:20 Modified: src/oasis/names/tc/wsrp/v1/types Contact.java PropertyList.java TelephoneNum.java EmployerInfo.java UpdateResponse.java RegistrationData.java AccessDeniedFault.java PortletDescription.java InvalidRegistrationFault.java PortletStateChangeRequiredFault.java MarkupParams.java InvalidUserCategoryFault.java ResourceValue.java MarkupResponse.java MarkupContext.java ResourceList.java ReturnAny.java RegistrationContext.java Postal.java UserContext.java InteractionParams.java CookieProtocol.java StringArray.java UserProfile.java Templates.java PortletContext.java Online.java DestroyFailed.java PortletDescriptionResponse.java UnsupportedModeFault.java Property.java ResetProperty.java ClientData.java Extension.java RuntimeContext.java LocalizedString.java BlockingInteractionResponse.java ModelTypes.java UploadContext.java InvalidSessionFault.java InvalidCookieFault.java MarkupType.java ItemDescription.java RegistrationState.java ModelDescription.java InvalidHandleFault.java Resource.java MissingParametersFault.java InconsistentParametersFault.java NamedString.java Telecom.java SessionContext.java Fault.java PortletPropertyDescriptionResponse.java StateChange.java NamedStringArray.java UnsupportedMimeTypeFault.java UnsupportedLocaleFault.java OperationFailedFault.java DestroyPortletsResponse.java ServiceDescription.java UnsupportedWindowStateFault.java PropertyDescription.java CacheControl.java PersonName.java src/oasis/names/tc/wsrp/v1/bind WSRP_v1_ServiceDescription_Binding_SOAPStub.java WSRP_v1_Markup_Binding_SOAPStub.java WSRP_v1_ServiceDescription_Binding_SOAPImpl.java WSRP_v1_PortletManagement_Binding_SOAPStub.java WSRP_v1_Registration_Binding_SOAPStub.java WSRP_v1_PortletManagement_Binding_SOAPImpl.java WSRP_v1_Registration_Binding_SOAPImpl.java WSRP_v1_Markup_Binding_SOAPImpl.java src/org/apache/wsrp4j/producer/driver WSRPEngine.java src/org/apache/wsrp4j/producer/provider PortletInvoker.java src/oasis/names/tc/wsrp/v1/wsdl WSRPService.java WSRPServiceTestCase.java WSRPServiceLocator.java producer/war/WEB-INF server-config.wsdd src/oasis/names/tc/wsrp/v1/intf WSRP_v1_Markup_PortType.java WSRP_v1_Registration_PortType.java WSRP_v1_PortletManagement_PortType.java WSRP_v1_ServiceDescription_PortType.java src/org/apache/wsrp4j/consumer/driver PortletDriverImpl.java ProducerImpl.java src/org/apache/wsrp4j/producer/provider/pluto/driver DynamicInformationProviderImpl.java PortletInvokerImpl.java src/org/apache/wsrp4j/util ParameterChecker.java MessageElementHelper.java Added: src/oasis/names/tc/wsrp/v1/types GetPortletDescription.java GetPortletProperties.java ReleaseSessions.java GetMarkup.java ClonePortlet.java GetPortletPropertyDescription.java DestroyPortlets.java GetServiceDescription.java InitCookie.java SetPortletProperties.java PerformBlockingInteraction.java ModifyRegistration.java lib axis-jaxrpc-1.2.jar wsdl4j-1.5.1.jar wsdl4j-1.5.1.LICENSE axis-1.2.LICENSE axis-1.2.jar axis-saaj-1.2.jar src/oasis/names/tc/wsrp/v1/wsdl deploy.wsdd undeploy.wsdd Removed: src/oasis/names/tc/wsrp/v1/types _initCookie.java _setPortletProperties.java _modifyRegistration.java _releaseSessions.java _destroyPortlets.java _getPortletDescription.java _performBlockingInteraction.java _getPortletPropertyDescription.java _getPortletProperties.java _getServiceDescription.java _clonePortlet.java _getMarkup.java lib jaxrpc.jar wsdl4j.jar saaj.jar axis.jar wsdl4j.LICENSE axis.LICENSE Log: Upgrade to Axis 1.2 (Issue WSRP4J-57) Patch provided by Vishal Goenka ([email protected]) Revision Changes Path 1.5 +15 -19 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/Contact.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/Contact.java.diff?r1=1.4&r2=1.5 1.5 +17 -23 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/PropertyList.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/PropertyList.java.diff?r1=1.4&r2=1.5 1.5 +19 -19 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/TelephoneNum.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/TelephoneNum.java.diff?r1=1.4&r2=1.5 1.5 +15 -19 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/EmployerInfo.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/EmployerInfo.java.diff?r1=1.4&r2=1.5 1.5 +18 -17 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/UpdateResponse.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/UpdateResponse.java.diff?r1=1.4&r2=1.5 1.5 +35 -29 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/RegistrationData.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/RegistrationData.java.diff?r1=1.4&r2=1.5 1.5 +2 -17 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/AccessDeniedFault.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/AccessDeniedFault.java.diff?r1=1.4&r2=1.5 1.5 +51 -27 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/PortletDescription.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/PortletDescription.java.diff?r1=1.4&r2=1.5 1.5 +2 -17 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/InvalidRegistrationFault.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/InvalidRegistrationFault.java.diff?r1=1.4&r2=1.5 1.5 +2 -17 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/PortletStateChangeRequiredFault.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/PortletStateChangeRequiredFault.java.diff?r1=1.4&r2=1.5 1.5 +41 -29 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/MarkupParams.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/MarkupParams.java.diff?r1=1.4&r2=1.5 1.5 +2 -17 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/InvalidUserCategoryFault.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/InvalidUserCategoryFault.java.diff?r1=1.4&r2=1.5 1.5 +14 -20 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/ResourceValue.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/ResourceValue.java.diff?r1=1.4&r2=1.5 1.5 +13 -19 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/MarkupResponse.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/MarkupResponse.java.diff?r1=1.4&r2=1.5 1.5 +25 -19 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/MarkupContext.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/MarkupContext.java.diff?r1=1.4&r2=1.5 1.5 +13 -21 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/ResourceList.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/ResourceList.java.diff?r1=1.4&r2=1.5 1.5 +9 -19 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/ReturnAny.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/ReturnAny.java.diff?r1=1.4&r2=1.5 1.5 +13 -19 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/RegistrationContext.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/RegistrationContext.java.diff?r1=1.4&r2=1.5 1.5 +23 -19 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/Postal.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/Postal.java.diff?r1=1.4&r2=1.5 1.5 +17 -21 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/UserContext.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/UserContext.java.diff?r1=1.4&r2=1.5 1.5 +21 -23 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/InteractionParams.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/InteractionParams.java.diff?r1=1.4&r2=1.5 1.5 +2 -17 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/CookieProtocol.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/CookieProtocol.java.diff?r1=1.4&r2=1.5 1.5 +9 -19 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/StringArray.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/StringArray.java.diff?r1=1.4&r2=1.5 1.5 +21 -19 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/UserProfile.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/UserProfile.java.diff?r1=1.4&r2=1.5 1.5 +27 -19 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/Templates.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/Templates.java.diff?r1=1.4&r2=1.5 1.5 +13 -19 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/PortletContext.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/PortletContext.java.diff?r1=1.4&r2=1.5 1.5 +13 -19 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/Online.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/Online.java.diff?r1=1.4&r2=1.5 1.5 +9 -17 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/DestroyFailed.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/DestroyFailed.java.diff?r1=1.4&r2=1.5 1.5 +13 -19 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/PortletDescriptionResponse.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/PortletDescriptionResponse.java.diff?r1=1.4&r2=1.5 1.5 +2 -17 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/UnsupportedModeFault.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/UnsupportedModeFault.java.diff?r1=1.4&r2=1.5 1.5 +14 -18 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/Property.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/Property.java.diff?r1=1.4&r2=1.5 1.5 +7 -17 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/ResetProperty.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/ResetProperty.java.diff?r1=1.4&r2=1.5 1.5 +11 -19 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/ClientData.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/ClientData.java.diff?r1=1.4&r2=1.5 1.5 +7 -17 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/Extension.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/Extension.java.diff?r1=1.4&r2=1.5 1.5 +19 -19 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/RuntimeContext.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/RuntimeContext.java.diff?r1=1.4&r2=1.5 1.5 +12 -18 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/LocalizedString.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/LocalizedString.java.diff?r1=1.4&r2=1.5 1.5 +13 -19 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/BlockingInteractionResponse.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/BlockingInteractionResponse.java.diff?r1=1.4&r2=1.5 1.5 +7 -17 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/ModelTypes.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/ModelTypes.java.diff?r1=1.4&r2=1.5 1.5 +17 -21 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/UploadContext.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/UploadContext.java.diff?r1=1.4&r2=1.5 1.5 +2 -17 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/InvalidSessionFault.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/InvalidSessionFault.java.diff?r1=1.4&r2=1.5 1.5 +2 -17 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/InvalidCookieFault.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/InvalidCookieFault.java.diff?r1=1.4&r2=1.5 1.5 +23 -25 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/MarkupType.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/MarkupType.java.diff?r1=1.4&r2=1.5 1.5 +13 -19 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/ItemDescription.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/ItemDescription.java.diff?r1=1.4&r2=1.5 1.5 +11 -19 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/RegistrationState.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/RegistrationState.java.diff?r1=1.4&r2=1.5 1.5 +15 -21 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/ModelDescription.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/ModelDescription.java.diff?r1=1.4&r2=1.5 1.5 +2 -17 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/InvalidHandleFault.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/InvalidHandleFault.java.diff?r1=1.4&r2=1.5 1.5 +15 -21 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/Resource.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/Resource.java.diff?r1=1.4&r2=1.5 1.5 +2 -17 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/MissingParametersFault.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/MissingParametersFault.java.diff?r1=1.4&r2=1.5 1.5 +2 -17 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/InconsistentParametersFault.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/InconsistentParametersFault.java.diff?r1=1.4&r2=1.5 1.5 +9 -17 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/NamedString.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/NamedString.java.diff?r1=1.4&r2=1.5 1.5 +17 -19 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/Telecom.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/Telecom.java.diff?r1=1.4&r2=1.5 1.5 +13 -19 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/SessionContext.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/SessionContext.java.diff?r1=1.4&r2=1.5 1.5 +2 -17 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/Fault.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/Fault.java.diff?r1=1.4&r2=1.5 1.5 +13 -19 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/PortletPropertyDescriptionResponse.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/PortletPropertyDescriptionResponse.java.diff?r1=1.4&r2=1.5 1.5 +2 -17 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/StateChange.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/StateChange.java.diff?r1=1.4&r2=1.5 1.5 +9 -19 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/NamedStringArray.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/NamedStringArray.java.diff?r1=1.4&r2=1.5 1.5 +2 -17 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/UnsupportedMimeTypeFault.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/UnsupportedMimeTypeFault.java.diff?r1=1.4&r2=1.5 1.5 +2 -17 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/UnsupportedLocaleFault.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/UnsupportedLocaleFault.java.diff?r1=1.4&r2=1.5 1.5 +2 -17 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/OperationFailedFault.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/OperationFailedFault.java.diff?r1=1.4&r2=1.5 1.5 +13 -21 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/DestroyPortletsResponse.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/DestroyPortletsResponse.java.diff?r1=1.4&r2=1.5 1.5 +41 -31 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/ServiceDescription.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/ServiceDescription.java.diff?r1=1.4&r2=1.5 1.5 +2 -17 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/UnsupportedWindowStateFault.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/UnsupportedWindowStateFault.java.diff?r1=1.4&r2=1.5 1.5 +17 -19 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/PropertyDescription.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/PropertyDescription.java.diff?r1=1.4&r2=1.5 1.5 +15 -19 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/CacheControl.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/CacheControl.java.diff?r1=1.4&r2=1.5 1.5 +21 -19 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/PersonName.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/PersonName.java.diff?r1=1.4&r2=1.5 1.1 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/GetPortletDescription.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/GetPortletDescription.java?rev=1.1 1.1 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/GetPortletProperties.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/GetPortletProperties.java?rev=1.1 1.1 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/ReleaseSessions.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/ReleaseSessions.java?rev=1.1 1.1 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/GetMarkup.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/GetMarkup.java?rev=1.1 1.1 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/ClonePortlet.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/ClonePortlet.java?rev=1.1 1.1 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/GetPortletPropertyDescription.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/GetPortletPropertyDescription.java?rev=1.1 1.1 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/DestroyPortlets.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/DestroyPortlets.java?rev=1.1 1.1 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/GetServiceDescription.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/GetServiceDescription.java?rev=1.1 1.1 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/InitCookie.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/InitCookie.java?rev=1.1 1.1 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/SetPortletProperties.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/SetPortletProperties.java?rev=1.1 1.1 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/PerformBlockingInteraction.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/PerformBlockingInteraction.java?rev=1.1 1.1 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/ModifyRegistration.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/types/ModifyRegistration.java?rev=1.1 1.5 +209 -199 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/bind/WSRP_v1_ServiceDescription_Binding_SOAPStub.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/bind/WSRP_v1_ServiceDescription_Binding_SOAPStub.java.diff?r1=1.4&r2=1.5 1.5 +394 -264 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/bind/WSRP_v1_Markup_Binding_SOAPStub.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/bind/WSRP_v1_Markup_Binding_SOAPStub.java.diff?r1=1.4&r2=1.5 1.4 +4 -25 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/bind/WSRP_v1_ServiceDescription_Binding_SOAPImpl.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/bind/WSRP_v1_ServiceDescription_Binding_SOAPImpl.java.diff?r1=1.3&r2=1.4 1.5 +385 -224 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/bind/WSRP_v1_PortletManagement_Binding_SOAPStub.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/bind/WSRP_v1_PortletManagement_Binding_SOAPStub.java.diff?r1=1.4&r2=1.5 1.5 +248 -207 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/bind/WSRP_v1_Registration_Binding_SOAPStub.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/bind/WSRP_v1_Registration_Binding_SOAPStub.java.diff?r1=1.4&r2=1.5 1.4 +24 -92 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/bind/WSRP_v1_PortletManagement_Binding_SOAPImpl.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/bind/WSRP_v1_PortletManagement_Binding_SOAPImpl.java.diff?r1=1.3&r2=1.4 1.4 +8 -38 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/bind/WSRP_v1_Registration_Binding_SOAPImpl.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/bind/WSRP_v1_Registration_Binding_SOAPImpl.java.diff?r1=1.3&r2=1.4 1.4 +10 -69 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/bind/WSRP_v1_Markup_Binding_SOAPImpl.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/bind/WSRP_v1_Markup_Binding_SOAPImpl.java.diff?r1=1.3&r2=1.4 1.9 +27 -27 ws-wsrp4j/src/org/apache/wsrp4j/producer/driver/WSRPEngine.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/org/apache/wsrp4j/producer/driver/WSRPEngine.java.diff?r1=1.8&r2=1.9 1.1 ws-wsrp4j/lib/axis-jaxrpc-1.2.jar <<Binary file>> 1.1 ws-wsrp4j/lib/wsdl4j-1.5.1.jar <<Binary file>> 1.1 ws-wsrp4j/lib/wsdl4j-1.5.1.LICENSE http://cvs.apache.org/viewcvs/ws-wsrp4j/lib/wsdl4j-1.5.1.LICENSE?rev=1.1 1.1 ws-wsrp4j/lib/axis-1.2.LICENSE http://cvs.apache.org/viewcvs/ws-wsrp4j/lib/axis-1.2.LICENSE?rev=1.1 1.1 ws-wsrp4j/lib/axis-1.2.jar <<Binary file>> 1.1 ws-wsrp4j/lib/axis-saaj-1.2.jar <<Binary file>> 1.5 +5 -5 ws-wsrp4j/src/org/apache/wsrp4j/producer/provider/PortletInvoker.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/org/apache/wsrp4j/producer/provider/PortletInvoker.java.diff?r1=1.4&r2=1.5 1.5 +2 -17 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/wsdl/WSRPService.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/wsdl/WSRPService.java.diff?r1=1.4&r2=1.5 1.5 +54 -69 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/wsdl/WSRPServiceTestCase.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/wsdl/WSRPServiceTestCase.java.diff?r1=1.4&r2=1.5 1.5 +23 -26 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/wsdl/WSRPServiceLocator.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/wsdl/WSRPServiceLocator.java.diff?r1=1.4&r2=1.5 1.1 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/wsdl/deploy.wsdd http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/wsdl/deploy.wsdd?rev=1.1 1.1 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/wsdl/undeploy.wsdd http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/wsdl/undeploy.wsdd?rev=1.1 1.4 +95 -87 ws-wsrp4j/producer/war/WEB-INF/server-config.wsdd http://cvs.apache.org/viewcvs/ws-wsrp4j/producer/war/WEB-INF/server-config.wsdd.diff?r1=1.3&r2=1.4 1.5 +6 -21 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/intf/WSRP_v1_Markup_PortType.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/intf/WSRP_v1_Markup_PortType.java.diff?r1=1.4&r2=1.5 1.5 +3 -18 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/intf/WSRP_v1_Registration_PortType.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/intf/WSRP_v1_Registration_PortType.java.diff?r1=1.4&r2=1.5 1.5 +8 -23 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/intf/WSRP_v1_PortletManagement_PortType.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/intf/WSRP_v1_PortletManagement_PortType.java.diff?r1=1.4&r2=1.5 1.5 +3 -18 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/intf/WSRP_v1_ServiceDescription_PortType.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/intf/WSRP_v1_ServiceDescription_PortType.java.diff?r1=1.4&r2=1.5 1.7 +20 -20 ws-wsrp4j/src/org/apache/wsrp4j/consumer/driver/PortletDriverImpl.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/org/apache/wsrp4j/consumer/driver/PortletDriverImpl.java.diff?r1=1.6&r2=1.7 1.4 +4 -4 ws-wsrp4j/src/org/apache/wsrp4j/consumer/driver/ProducerImpl.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/org/apache/wsrp4j/consumer/driver/ProducerImpl.java.diff?r1=1.3&r2=1.4 1.7 +6 -6 ws-wsrp4j/src/org/apache/wsrp4j/producer/provider/pluto/driver/DynamicInformationProviderImpl.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/org/apache/wsrp4j/producer/provider/pluto/driver/DynamicInformationProviderImpl.java.diff?r1=1.6&r2=1.7 1.9 +6 -6 ws-wsrp4j/src/org/apache/wsrp4j/producer/provider/pluto/driver/PortletInvokerImpl.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/org/apache/wsrp4j/producer/provider/pluto/driver/PortletInvokerImpl.java.diff?r1=1.8&r2=1.9 1.6 +46 -46 ws-wsrp4j/src/org/apache/wsrp4j/util/ParameterChecker.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/org/apache/wsrp4j/util/ParameterChecker.java.diff?r1=1.5&r2=1.6 1.3 +4 -5 ws-wsrp4j/src/org/apache/wsrp4j/util/MessageElementHelper.java http://cvs.apache.org/viewcvs/ws-wsrp4j/src/org/apache/wsrp4j/util/MessageElementHelper.java.diff?r1=1.2&r2=1.3 From [email protected] Mon Jun 06 08:50:45 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63765 invoked from network); 6 Jun 2005 08:50:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Jun 2005 08:50:44 -0000 Received: (qmail 48852 invoked by uid 500); 6 Jun 2005 08:50:44 -0000 Delivered-To: [email protected] Received: (qmail 48825 invoked by uid 500); 6 Jun 2005 08:50:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 48792 invoked by uid 99); 6 Jun 2005 08:50:44 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 06 Jun 2005 01:50:40 -0700 Received: (qmail 63602 invoked from network); 6 Jun 2005 08:50:27 -0000 Received: from localhost.hyperreal.org (HELO ?161.129.204.104?) (161.129.204.104) by localhost.hyperreal.org with SMTP; 6 Jun 2005 08:50:27 -0000 Message-ID: <[email protected]> Date: Mon, 06 Jun 2005 10:52:06 +0200 From: Carsten Ziegeler <[email protected]> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: (WSRP4J-57) Upgrade to Axis 1.2 References: <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 161.129.204.104 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Rating: localhost.hyperreal.org 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Vishal Goenka wrote: > Carsten, > > I think the 1.2 RC3 should be fairly close to 1.2 final. I have attached a > zip file containing the patch to the issue. > > Let me know if you have any questions. > Hi Vishal, thanks for your patch! I just applied it and then upgraded to 1.2 final which worked without any problems. Can you please verify that everything is working as expected for you and then close the bug? Many thanks Carsten -- Carsten Ziegeler - Open Source Group, S&N AG http://www.s-und-n.de http://www.osoco.org/weblogs/rael/ From [email protected] Mon Jun 06 08:59:05 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69365 invoked from network); 6 Jun 2005 08:59:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Jun 2005 08:59:04 -0000 Received: (qmail 64531 invoked by uid 500); 6 Jun 2005 08:59:04 -0000 Delivered-To: [email protected] Received: (qmail 64387 invoked by uid 500); 6 Jun 2005 08:59:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 64369 invoked by uid 99); 6 Jun 2005 08:59:03 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 06 Jun 2005 01:59:01 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id C879A186 for <[email protected]>; Mon, 6 Jun 2005 10:58:39 +0200 (CEST) Message-ID: <{{EMAIL+PHONE}}> Date: Mon, 6 Jun 2005 10:58:39 +0200 (CEST) From: "Carsten Ziegeler (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (WSRP4J-57) Upgrade to Axis 1.2 In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/WSRP4J-57?page=all ] Carsten Ziegeler resolved WSRP4J-57: ------------------------------------ Resolution: Fixed Assign To: (was: Carsten Ziegeler) > Upgrade to Axis 1.2 > ------------------- > > Key: WSRP4J-57 > URL: http://issues.apache.org/jira/browse/WSRP4J-57 > Project: WSRP4J > Type: Improvement > Components: Web Services Stack > Versions: current (nightly) > Reporter: Julie MacNaught > Fix For: current (nightly) > Attachments: axis-upgrade.zip > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Mon Jun 06 10:44:25 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30340 invoked from network); 6 Jun 2005 10:44:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Jun 2005 10:44:24 -0000 Received: (qmail 90474 invoked by uid 500); 6 Jun 2005 10:44:21 -0000 Delivered-To: [email protected] Received: (qmail 90387 invoked by uid 500); 6 Jun 2005 10:44:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 90350 invoked by uid 99); 6 Jun 2005 10:44:20 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 06 Jun 2005 03:44:16 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id CE009CB for <[email protected]>; Mon, 6 Jun 2005 10:36:41 +0200 (CEST) Message-ID: <{{EMAIL+PHONE}}> Date: Mon, 6 Jun 2005 10:36:41 +0200 (CEST) From: "Carsten Ziegeler (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (WSRP4J-57) Upgrade to Axis 1.2 In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/WSRP4J-57?page=all ] Carsten Ziegeler reassigned WSRP4J-57: -------------------------------------- Assign To: Carsten Ziegeler > Upgrade to Axis 1.2 > ------------------- > > Key: WSRP4J-57 > URL: http://issues.apache.org/jira/browse/WSRP4J-57 > Project: WSRP4J > Type: Improvement > Components: Web Services Stack > Versions: current (nightly) > Reporter: Julie MacNaught > Assignee: Carsten Ziegeler > Fix For: current (nightly) > Attachments: axis-upgrade.zip > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Tue Jun 07 13:11:19 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41709 invoked from network); 7 Jun 2005 13:11:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Jun 2005 13:11:19 -0000 Received: (qmail 58306 invoked by uid 500); 7 Jun 2005 13:11:18 -0000 Delivered-To: [email protected] Received: (qmail 58265 invoked by uid 500); 7 Jun 2005 13:11:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 58236 invoked by uid 99); 7 Jun 2005 13:11:17 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=SPF_HELO_FAIL X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from igw2.watson.ibm.com (HELO igw2.watson.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 07 Jun 2005 06:11:15 -0700 Received: from sp1n294en1.watson.ibm.com (sp1n294en1.watson.ibm.com [161.129.204.104]) by igw2.watson.ibm.com (8.13.1/8.13.1/8.13.1-2005-04-25 igw) with ESMTP id j57DCLT4025197 for <[email protected]>; Tue, 7 Jun 2005 09:12:21 -0400 Received: from sp1n294en1.watson.ibm.com (localhost [161.129.204.104]) by sp1n294en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_2) with ESMTP id j57DB2k122666 for <[email protected]>; Tue, 7 Jun 2005 09:11:02 -0400 Received: from [161.129.204.104] ([161.129.204.104]) by sp1n294en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_1) with ESMTP id j57DB1d89280 for <[email protected]>; Tue, 7 Jun 2005 09:11:01 -0400 Message-ID: <[email protected]> Date: Tue, 07 Jun 2005 09:11:00 -0400 From: Julie MacNaught <[email protected]> Reply-To: [email protected] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: WSRPServiceTestCase.java X-Enigmail-Version: 161.129.204.104 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I'm pleased that we have updated to Axis 1.2. I've run into a compiler error on WSRPServiceTestCase.java because I don't have junit.jar in my classpath. We should either include junit.jar in the lib directory, or delete this file from CVS. Does anybody use it? or is it just an artifact of Axis code generation? What do others think? -- Julie MacNaught IBM Research [email protected] [email protected] DADB E3B5 8CB7 6B9B F4A0 8BF7 E830 1848 16A8 D3AB From [email protected] Tue Jun 07 14:10:58 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86027 invoked from network); 7 Jun 2005 14:10:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Jun 2005 14:10:58 -0000 Received: (qmail 40940 invoked by uid 500); 7 Jun 2005 14:10:58 -0000 Delivered-To: [email protected] Received: (qmail 40919 invoked by uid 500); 7 Jun 2005 14:10:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 40879 invoked by uid 99); 7 Jun 2005 14:10:57 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from ipex2.johnshopkins.edu (HELO ipex2.johnshopkins.edu) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 07 Jun 2005 07:10:56 -0700 Received: from jhuml3.jhu.edu (161.129.204.104) by ipex2.johnshopkins.edu with ESMTP; 07 Jun 2005 10:10:22 -0400 X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAA== X-IronPort-AV: i="3.93,179,1115006400"; d="scan'208"; a="59364172:sNHT29487464" Received: from [161.129.204.104] (esm.qis.net [161.129.204.104]) by jhuml3.jhu.edu (PMDF V6.2-X20 #30840) with ESMTPA id <[email protected]> for [email protected]; Tue, 07 Jun 2005 10:10:22 -0400 (EDT) Date: Tue, 07 Jun 2005 10:15:16 -0400 From: Elliot Metsger <[email protected]> Subject: Re: WSRPServiceTestCase.java In-reply-to: <[email protected]> To: [email protected] Message-id: <[email protected]> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-FOAF: http://uppertank.net/foaf/foaf.rdf References: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Julie MacNaught wrote: > I'm pleased that we have updated to Axis 1.2. > I've run into a compiler error on WSRPServiceTestCase.java because I > don't have junit.jar in my classpath. We should either include > junit.jar in the lib directory, or delete this file from CVS. Let's include it. > Does anybody use it? I don't. But has a lot of potential uses of course. I'm thinking about test cases for supporting WSRP 2 extentions etc. Axis is nice in that developers submit test cases for their bugs; the test cases get included in the distribution to make sure the bug isn't re-introduced later down the line. > or is it just an artifact of Axis code generation? Not sure but I do know that Axis uses it. > What do others think? +1 to including junit.jar. Elliot From [email protected] Tue Jun 07 14:47:42 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4895 invoked from network); 7 Jun 2005 14:47:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Jun 2005 14:47:42 -0000 Received: (qmail 56725 invoked by uid 500); 7 Jun 2005 14:47:42 -0000 Delivered-To: [email protected] Received: (qmail 56692 invoked by uid 500); 7 Jun 2005 14:47:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 56670 invoked by uid 99); 7 Jun 2005 14:47:41 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 07 Jun 2005 07:47:38 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 915E01BA for <[email protected]>; Tue, 7 Jun 2005 16:15:57 +0200 (CEST) Message-ID: <{{EMAIL+PHONE}}> Date: Tue, 7 Jun 2005 16:15:57 +0200 (CEST) From: "Julie MacNaught (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (WSRP4J-63) Update WSRP4J's project file in Gump to fix Axis dependency Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Update WSRP4J's project file in Gump to fix Axis dependency ----------------------------------------------------------- Key: WSRP4J-63 URL: http://issues.apache.org/jira/browse/WSRP4J-63 Project: WSRP4J Type: Task Components: Dependencies Versions: unspecified Reporter: Julie MacNaught Priority: Minor -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Tue Jun 07 15:43:28 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 46794 invoked from network); 7 Jun 2005 15:43:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Jun 2005 15:43:28 -0000 Received: (qmail 29063 invoked by uid 500); 7 Jun 2005 15:43:27 -0000 Delivered-To: [email protected] Received: (qmail 29039 invoked by uid 500); 7 Jun 2005 15:43:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 29011 invoked by uid 99); 7 Jun 2005 15:43:27 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 07 Jun 2005 08:43:24 -0700 Received: (qmail 45329 invoked from network); 7 Jun 2005 15:43:10 -0000 Received: from localhost.hyperreal.org (HELO ?161.129.204.104?) (161.129.204.104) by localhost.hyperreal.org with SMTP; 7 Jun 2005 15:43:10 -0000 Message-ID: <[email protected]> Date: Tue, 07 Jun 2005 17:44:48 +0200 From: Carsten Ziegeler <[email protected]> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: WSRPServiceTestCase.java References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 161.129.204.104 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Rating: localhost.hyperreal.org 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Elliot Metsger wrote: > > +1 to including junit.jar. > +1 A "little bit" off topic, but what about the migration to Maven? Wasn't there someone working on it? Carsten -- Carsten Ziegeler - Open Source Group, S&N AG http://www.s-und-n.de http://www.osoco.org/weblogs/rael/ From [email protected] Tue Jun 07 23:22:31 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58570 invoked from network); 7 Jun 2005 23:22:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Jun 2005 23:22:30 -0000 Received: (qmail 25717 invoked by uid 500); 7 Jun 2005 23:22:30 -0000 Delivered-To: [email protected] Received: (qmail 25696 invoked by uid 500); 7 Jun 2005 23:22:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 25671 invoked by uid 99); 7 Jun 2005 23:22:29 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=UPPERCASE_25_50 X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from smtp2.mundo-r.com (HELO smtp.mundo-r.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 07 Jun 2005 16:22:27 -0700 Received: from [161.129.204.104] ([161.129.204.104]) by localdomains.mundo-r.ggc (Sun Java System Messaging Server 6.1 HotFix 0.01 (built Jun 24 2004)) with ESMTP id <[email protected]> for [email protected]; Wed, 08 Jun 2005 01:22:24 +0200 (CEST) Date: Wed, 08 Jun 2005 01:22:23 +0200 From: =?UTF-8?B?RGllZ28gTG91esOhbg==?= <[email protected]> Subject: Re: WSRPServiceTestCase.java In-reply-to: <[email protected]> To: [email protected] Message-id: <[email protected]> MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 7bit X-Accept-Language: fr, en OpenPGP: id=F9497A51; url=http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0xF9497A51 X-Enigmail-Version: 161.129.204.104 References: <[email protected]> <[email protected]> <[email protected]> User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050331) X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +1 Regarding the Maven migration, I'm going to use Maven for project build in the repository reorganization I'm starting by the end of this month (subject to the awarding of the SummerOfCode program). Regards. Diego. Carsten Ziegeler wrote: > Elliot Metsger wrote: > > >>+1 to including junit.jar. >> > > +1 > > A "little bit" off topic, but what about the migration to Maven? Wasn't > there someone working on it? > > Carsten > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFCpiwvgyzZYflJelERAtqCAKCFwG31sUG/DGbpgfrvbqXlK0M1nACfQ0BC 3Gy8sQoCdkPLb/yDKS6OiyU= =h4CI -----END PGP SIGNATURE----- From [email protected] Wed Jun 08 02:08:38 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85591 invoked from network); 8 Jun 2005 02:08:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Jun 2005 02:08:38 -0000 Received: (qmail 45941 invoked by uid 500); 8 Jun 2005 02:08:38 -0000 Delivered-To: [email protected] Received: (qmail 45923 invoked by uid 500); 8 Jun 2005 02:08:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 45906 invoked by uid 99); 8 Jun 2005 02:08:37 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from ipex4.johnshopkins.edu (HELO ipex4.johnshopkins.edu) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 07 Jun 2005 19:08:35 -0700 Received: from jhuml3.jhu.edu (161.129.204.104) by ipex4.johnshopkins.edu with ESMTP; 07 Jun 2005 22:08:33 -0400 X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAA== X-IronPort-AV: i="3.93,180,1115006400"; d="scan'208"; a="59919274:sNHT22740192" Received: from [161.129.204.104] (esm.qis.net [161.129.204.104]) by jhuml3.jhu.edu (PMDF V6.2-X20 #30840) with ESMTPA id <[email protected]> for [email protected]; Tue, 07 Jun 2005 22:08:32 -0400 (EDT) Date: Tue, 07 Jun 2005 22:13:21 -0400 From: Elliot Metsger <[email protected]> Subject: with regard to pluggable providers To: [email protected] Message-id: <[email protected]> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-FOAF: http://uppertank.net/foaf/foaf.rdf X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I'm interested in helping with enabling a pluggable provider. (WSRP4J-61). I'm trying to get <user-attribute> to be recognized by pluto and then have them end up in the WSRP service description (for starters). Therefore i'm using wsrp against a pluto-1.0.1-rc3 snapshot. I've hacked the build to make it work but I'd be willing to look at a cleaner solution, if i can get the <user-attribute> stuff to work. elliot From [email protected] Wed Jun 08 18:05:15 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 52353 invoked from network); 8 Jun 2005 18:05:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Jun 2005 18:05:14 -0000 Received: (qmail 37747 invoked by uid 500); 8 Jun 2005 18:05:14 -0000 Delivered-To: [email protected] Received: (qmail 37719 invoked by uid 500); 8 Jun 2005 18:05:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 37701 invoked by uid 99); 8 Jun 2005 18:05:13 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 08 Jun 2005 11:05:10 -0700 Received: (qmail 52247 invoked from network); 8 Jun 2005 18:04:54 -0000 Received: from localhost.hyperreal.org (HELO ?161.129.204.104?) (161.129.204.104) by localhost.hyperreal.org with SMTP; 8 Jun 2005 18:04:54 -0000 Message-ID: <[email protected]> Date: Wed, 08 Jun 2005 20:06:31 +0200 From: Carsten Ziegeler <[email protected]> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: WSRPServiceTestCase.java References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 161.129.204.104 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Rating: localhost.hyperreal.org 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Diego Louzán wrote: > +1 > > Regarding the Maven migration, I'm going to use Maven for project build in the > repository reorganization I'm starting by the end of this month (subject to the > awarding of the SummerOfCode program). > Ah, great! Looking forward :) Carsten -- Carsten Ziegeler - Open Source Group, S&N AG http://www.s-und-n.de http://www.osoco.org/weblogs/rael/ From [email protected] Thu Jun 09 01:09:44 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25608 invoked from network); 9 Jun 2005 01:09:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Jun 2005 01:09:44 -0000 Received: (qmail 27778 invoked by uid 500); 9 Jun 2005 01:09:42 -0000 Delivered-To: [email protected] Received: (qmail 27738 invoked by uid 500); 9 Jun 2005 01:09:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 27717 invoked by uid 99); 9 Jun 2005 01:09:41 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from smtp-relay2.sct.com (HELO smtp-relay2.sct.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 08 Jun 2005 18:09:38 -0700 Received: from smtp-relay2.sct.com (localhost [161.129.204.104]) by smtp-relay2.sct.com (8.12.10/8.12.10) with ESMTP id j5919KVY013565 for <[email protected]>; Wed, 8 Jun 2005 21:09:20 -0400 Received: from m030006.sct.com ([161.129.204.104]) by smtp-relay2.sct.com (8.12.10/8.12.10) with ESMTP id j5919KEA013560 for <[email protected]>; Wed, 8 Jun 2005 21:09:20 -0400 Received: from sctmnot9.sct.com (sctmnot9.sct.com [161.129.204.104]) by m030006.sct.com (8.12.10/8.12.10) with ESMTP id j5919KQH002347 for <[email protected]>; Wed, 8 Jun 2005 21:09:20 -0400 Received: from slcnot1.sct.com ([161.129.204.104]) by sctmnot9.sct.com (Lotus Domino Release 6.0.5) with ESMTP id 2005060821091856-1952 ; Wed, 8 Jun 2005 21:09:18 -0400 Received: from vgwin2k10 ([161.129.204.104]) by slcnot1.sct.com (Lotus Domino Release 6.0.4) with ESMTP id 2005060819091446-4174 ; Wed, 8 Jun 2005 19:09:14 -0600 From: "Vishal Goenka" <[email protected]> To: <[email protected]> Subject: RE: (WSRP4J-57) Upgrade to Axis 1.2 Date: Wed, 8 Jun 2005 19:09:08 -0600 Organization: SunGard SCT MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <[email protected]> X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-index: AcVqdNOsb+U/WYMCTsie3iOeGnlclgCGtfuA X-MIMETrack: Itemize by SMTP Server on slcnot1/SCT(Release 6.0.4|June 01, 2004) at 06/08/2005 19:09:16, Serialize by Router on slcnot1/SCT(Release 6.0.4|June 01, 2004) at 06/08/2005 19:09:18, Serialize complete at 06/08/2005 19:09:18, Itemize by SMTP Server on sctmnot9/SCT(Release 6.0.5|March 27, 2005) at 06/08/2005 21:09:18, Serialize by Router on sctmnot9/SCT(Release 6.0.5|March 27, 2005) at 06/08/2005 21:09:20, Serialize complete at 06/08/2005 21:09:20 Message-ID: <[email protected]> Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Carsten, I won't be able to get to this until early next week. As soon as I have a chance to test this, I will shoot you an email. Thanks. - Vishal -- Vishal Goenka SunGard SCT Advisory Technical Architect, Luminis Solutions www.sungardsct.com > -----Original Message----- > From: Carsten Ziegeler [mailto:[email protected]] > Sent: Monday, June 06, 2005 2:52 AM > To: [email protected] > Subject: Re: (WSRP4J-57) Upgrade to Axis 1.2 > > Vishal Goenka wrote: > > Carsten, > > > > I think the 1.2 RC3 should be fairly close to 1.2 final. I have > > attached a zip file containing the patch to the issue. > > > > Let me know if you have any questions. > > > Hi Vishal, > > thanks for your patch! I just applied it and then upgraded to > 1.2 final which worked without any problems. > Can you please verify that everything is working as expected > for you and then close the bug? > > Many thanks > Carsten > > -- > Carsten Ziegeler - Open Source Group, S&N AG > http://www.s-und-n.de http://www.osoco.org/weblogs/rael/ From [email protected] Thu Jun 09 10:40:39 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59941 invoked from network); 9 Jun 2005 10:40:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Jun 2005 10:40:39 -0000 Received: (qmail 74113 invoked by uid 500); 9 Jun 2005 10:40:38 -0000 Delivered-To: [email protected] Received: (qmail 74095 invoked by uid 500); 9 Jun 2005 10:40:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 74077 invoked by uid 99); 9 Jun 2005 10:40:37 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from mail.udc.es (HELO mail.udc.es) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 09 Jun 2005 03:40:37 -0700 Received: from localhost (localhost [161.129.204.104]) by mail.udc.es ("Servidor de correo del SIAIN") with ESMTP id 60BB830886 for <[email protected]>; Thu, 9 Jun 2005 12:31:18 +0200 (CEST) Received: from mail.udc.es ([161.129.204.104]) by localhost (mail.udc.es [161.129.204.104]) (amavisd-new, port 10024) with LMTP id 17249-02-10 for <[email protected]>; Thu, 9 Jun 2005 12:31:18 +0200 (CEST) Received: from [161.129.204.104] (www.tic.udc.es [161.129.204.104]) by mail.udc.es ("Servidor de correo del SIAIN") with ESMTP id 2C2473087A for <[email protected]>; Thu, 9 Jun 2005 12:31:18 +0200 (CEST) Message-ID: <[email protected]> Date: Thu, 09 Jun 2005 12:40:24 +0200 From: =?UTF-8?B?RGllZ28gTG91esOhbg==?= <[email protected]> User-Agent: Mozilla Thunderbird 1.0.2-1.3.3 (X11/20050513) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: with regard to pluggable providers References: <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 161.129.204.104 OpenPGP: id=F9497A51; url=http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xF9497A51 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 We'll start redesigning the producer and consumer by the end of this month, and part of it will be adding pluggable providers. I'll make some public proposals on the list, so stay tuned. BTW, we have just migrated to Axis 1.2, thanks both Vishal and Carsten :-) Regards. Diego. Elliot Metsger wrote: > I'm interested in helping with enabling a pluggable provider. (WSRP4J-61). > > I'm trying to get <user-attribute> to be recognized by pluto and then > have them end up in the WSRP service description (for starters). > > Therefore i'm using wsrp against a pluto-1.0.1-rc3 snapshot. I've > hacked the build to make it work but I'd be willing to look at a cleaner > solution, if i can get the <user-attribute> stuff to work. > > elliot -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFCqByYgyzZYflJelERAm/6AJ0f1vWe5vIPjvnvL8YKmYQsz7rLYACeJx2W uvlXtYyqQJEjCK+qkZvTEQM= =++27 -----END PGP SIGNATURE----- From [email protected] Thu Jun 09 16:11:43 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84469 invoked from network); 9 Jun 2005 16:11:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Jun 2005 16:11:43 -0000 Received: (qmail 47818 invoked by uid 500); 9 Jun 2005 16:11:42 -0000 Delivered-To: [email protected] Received: (qmail 47783 invoked by uid 500); 9 Jun 2005 16:11:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 47730 invoked by uid 99); 9 Jun 2005 16:11:42 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_HELO_PASS,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from mail.udc.es (HELO mail.udc.es) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 09 Jun 2005 09:11:39 -0700 Received: from localhost (localhost [161.129.204.104]) by mail.udc.es ("Servidor de correo del SIAIN") with ESMTP id 20A5930965 for <[email protected]>; Thu, 9 Jun 2005 18:02:21 +0200 (CEST) Received: from mail.udc.es ([161.129.204.104]) by localhost (mail.udc.es [161.129.204.104]) (amavisd-new, port 10024) with LMTP id 28834-01-8 for <[email protected]>; Thu, 9 Jun 2005 18:02:20 +0200 (CEST) Received: from [161.129.204.104] (www.tic.udc.es [161.129.204.104]) by mail.udc.es ("Servidor de correo del SIAIN") with ESMTP id BB77F3095A for <[email protected]>; Thu, 9 Jun 2005 18:02:20 +0200 (CEST) Message-ID: <[email protected]> Date: Thu, 09 Jun 2005 18:11:26 +0200 From: =?UTF-8?B?RGllZ28gTG91esOhbg==?= <[email protected]> User-Agent: Mozilla Thunderbird 1.0.2-1.3.3 (X11/20050513) X-Accept-Language: en-us, en MIME-Version: 1.0 To: wsrp4j-dev <[email protected]> Subject: About migrating to Subversion X-Enigmail-Version: 161.129.204.104 OpenPGP: id=F9497A51; url=http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xF9497A51 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 As you probably know, most of the Apache projects are migrating from cvs to svn. Since I'm doing a complete repository reorganization, I think it would be good to migrate to svn in the short term. What do you guys (and girls) think? Maybe Carsten could guide us as he's a Pluto member and they have already migrated. Waiting some feedback. Regards. Diego. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFCqGougyzZYflJelERAmfzAJ4kSzpNjrTD4LD9gmuNkZRvHhPZQgCfX7V1 ubeDfgUQpyKDo6xLJLREoqM= =wVdL -----END PGP SIGNATURE----- From [email protected] Thu Jun 09 16:19:38 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90482 invoked from network); 9 Jun 2005 16:19:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Jun 2005 16:19:38 -0000 Received: (qmail 71952 invoked by uid 500); 9 Jun 2005 16:19:36 -0000 Delivered-To: [email protected] Received: (qmail 71889 invoked by uid 500); 9 Jun 2005 16:19:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 71864 invoked by uid 99); 9 Jun 2005 16:19:35 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 09 Jun 2005 09:19:33 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 3400217 for <[email protected]>; Thu, 9 Jun 2005 18:19:17 +0200 (CEST) Message-ID: <{{EMAIL+PHONE}}> Date: Thu, 9 Jun 2005 18:19:17 +0200 (CEST) From: =?UTF-8?Q?Diego_Louz=C3=A1n_=28JIRA=29?= <[email protected]> To: [email protected] Subject: [jira] Assigned: (WSRP4J-62) Refactor Proxy Portlet to remove dependency on Pluto In-Reply-To: <{{EMAIL+PHONE}}> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/WSRP4J-62?page=3Dall ] Diego Louz=C3=A1n reassigned WSRP4J-62: ---------------------------------- Assign To: Diego Louz=C3=A1n > Refactor Proxy Portlet to remove dependency on Pluto > ---------------------------------------------------- > > Key: WSRP4J-62 > URL: http://issues.apache.org/jira/browse/WSRP4J-62 > Project: WSRP4J > Type: Improvement > Components: Proxy Portlet > Versions: current (nightly) > Reporter: Julie MacNaught > Assignee: Diego Louz=C3=A1n > Fix For: current (nightly) > --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Thu Jun 09 16:19:38 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90499 invoked from network); 9 Jun 2005 16:19:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Jun 2005 16:19:38 -0000 Received: (qmail 72129 invoked by uid 500); 9 Jun 2005 16:19:37 -0000 Delivered-To: [email protected] Received: (qmail 71921 invoked by uid 500); 9 Jun 2005 16:19:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 71892 invoked by uid 99); 9 Jun 2005 16:19:36 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 09 Jun 2005 09:19:33 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 51C21D3 for <[email protected]>; Thu, 9 Jun 2005 18:19:18 +0200 (CEST) Message-ID: <{{EMAIL+PHONE}}> Date: Thu, 9 Jun 2005 18:19:18 +0200 (CEST) From: =?UTF-8?Q?Diego_Louz=C3=A1n_=28JIRA=29?= <[email protected]> To: [email protected] Subject: [jira] Assigned: (WSRP4J-61) Enable Pluggable Provider Implementations In-Reply-To: <{{EMAIL+PHONE}}> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/WSRP4J-61?page=3Dall ] Diego Louz=C3=A1n reassigned WSRP4J-61: ---------------------------------- Assign To: Diego Louz=C3=A1n > Enable Pluggable Provider Implementations > ----------------------------------------- > > Key: WSRP4J-61 > URL: http://issues.apache.org/jira/browse/WSRP4J-61 > Project: WSRP4J > Type: Improvement > Components: Producer > Versions: current (nightly) > Reporter: Julie MacNaught > Assignee: Diego Louz=C3=A1n > Fix For: current (nightly) > > Currently, WSRP4J comes with a provider implementation for Pluto and inte= rfaces for implementing additional providers. Improvements necessary to mak= e this easier as well as documentation can be tracked here. Any new provide= r implementations should be tracked separately. =20 --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Thu Jun 09 16:19:43 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90593 invoked from network); 9 Jun 2005 16:19:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Jun 2005 16:19:43 -0000 Received: (qmail 72353 invoked by uid 500); 9 Jun 2005 16:19:42 -0000 Delivered-To: [email protected] Received: (qmail 72328 invoked by uid 500); 9 Jun 2005 16:19:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 72315 invoked by uid 99); 9 Jun 2005 16:19:41 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 09 Jun 2005 09:19:40 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 885F3D8 for <[email protected]>; Thu, 9 Jun 2005 18:19:20 +0200 (CEST) Message-ID: <{{EMAIL+PHONE}}> Date: Thu, 9 Jun 2005 18:19:20 +0200 (CEST) From: =?UTF-8?Q?Diego_Louz=C3=A1n_=28JIRA=29?= <[email protected]> To: [email protected] Subject: [jira] Assigned: (WSRP4J-56) Refactor into Producer, Consumer, and Common modules In-Reply-To: <{{EMAIL+PHONE}}> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/WSRP4J-56?page=3Dall ] Diego Louz=C3=A1n reassigned WSRP4J-56: ---------------------------------- Assign To: Diego Louz=C3=A1n > Refactor into Producer, Consumer, and Common modules > ---------------------------------------------------- > > Key: WSRP4J-56 > URL: http://issues.apache.org/jira/browse/WSRP4J-56 > Project: WSRP4J > Type: Improvement > Components: Consumer, Producer > Versions: current (nightly) > Reporter: Julie MacNaught > Assignee: Diego Louz=C3=A1n > Fix For: current (nightly) > > Refactor into Producer, Consumer, and Common modules. This is partially = done already, but needs to be completed. Consider separate build targets a= nd separate src/bin directory structures for each component. --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Thu Jun 09 16:19:54 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90742 invoked from network); 9 Jun 2005 16:19:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Jun 2005 16:19:53 -0000 Received: (qmail 72826 invoked by uid 500); 9 Jun 2005 16:19:52 -0000 Delivered-To: [email protected] Received: (qmail 72750 invoked by uid 500); 9 Jun 2005 16:19:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 72713 invoked by uid 99); 9 Jun 2005 16:19:51 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 09 Jun 2005 09:19:50 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 52F34E5 for <[email protected]>; Thu, 9 Jun 2005 18:19:21 +0200 (CEST) Message-ID: <{{EMAIL+PHONE}}> Date: Thu, 9 Jun 2005 18:19:21 +0200 (CEST) From: =?UTF-8?Q?Diego_Louz=C3=A1n_=28JIRA=29?= <[email protected]> To: [email protected] Subject: [jira] Assigned: (WSRP4J-30) ProxyPortlet tied exclusively to Pluto In-Reply-To: <335440748.1089204654562.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/WSRP4J-30?page=3Dall ] Diego Louz=C3=A1n reassigned WSRP4J-30: ---------------------------------- Assign To: Diego Louz=C3=A1n > ProxyPortlet tied exclusively to Pluto > -------------------------------------- > > Key: WSRP4J-30 > URL: http://issues.apache.org/jira/browse/WSRP4J-30 > Project: WSRP4J > Type: Bug > Components: Proxy Portlet > Versions: current (nightly) > Environment: Ant 1.6.1, Java 1.4.2, GridSphere portal container > Reporter: Jason Novotny > Assignee: Diego Louz=C3=A1n > Fix For: current (nightly) > > ProxyPortlet contains imports and classes available only to jakarta pluto= project. I would appreciate either: > A) Rewrite the necessary code to ONLY reference those objects defined by = JSR 168 portlet specification > OR > B) Specify portal vendor specific bahavior in another interface that my p= ortal can provide an implementation of.... > Thanks, Jason --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Thu Jun 09 16:19:56 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90842 invoked from network); 9 Jun 2005 16:19:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Jun 2005 16:19:56 -0000 Received: (qmail 73074 invoked by uid 500); 9 Jun 2005 16:19:55 -0000 Delivered-To: [email protected] Received: (qmail 73061 invoked by uid 500); 9 Jun 2005 16:19:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 73031 invoked by uid 99); 9 Jun 2005 16:19:55 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 09 Jun 2005 09:19:51 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id F374FE8 for <[email protected]>; Thu, 9 Jun 2005 18:19:21 +0200 (CEST) Message-ID: <{{EMAIL+PHONE}}> Date: Thu, 9 Jun 2005 18:19:21 +0200 (CEST) From: =?UTF-8?Q?Diego_Louz=C3=A1n_=28JIRA=29?= <[email protected]> To: [email protected] Subject: [jira] Resolved: (WSRP4J-13) MessageElementHelper will not compile with Axis 1.2 In-Reply-To: <1760123316.1085670480718.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/WSRP4J-13?page=3Dall ] =20 Diego Louz=C3=A1n resolved WSRP4J-13: -------------------------------- Fix Version: current (nightly) Resolution: Fixed Resolved by WSRP4J-57. > MessageElementHelper will not compile with Axis 1.2 > --------------------------------------------------- > > Key: WSRP4J-13 > URL: http://issues.apache.org/jira/browse/WSRP4J-13 > Project: WSRP4J > Type: Bug > Components: Producer > Versions: current (nightly) > Reporter: Julie MacNaught > Assignee: Julie MacNaught > Priority: Minor > Fix For: current (nightly) > > Found by Gump. MessageElementHelper needs to implement a new abstract met= hod called setWriteXMLType . --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Thu Jun 09 17:31:10 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37943 invoked from network); 9 Jun 2005 17:31:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Jun 2005 17:31:10 -0000 Received: (qmail 65993 invoked by uid 500); 9 Jun 2005 17:31:08 -0000 Delivered-To: [email protected] Received: (qmail 65907 invoked by uid 500); 9 Jun 2005 17:31:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 65887 invoked by uid 99); 9 Jun 2005 17:31:06 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 09 Jun 2005 10:31:03 -0700 Received: (qmail 37807 invoked from network); 9 Jun 2005 17:30:36 -0000 Received: from localhost.hyperreal.org (HELO ?161.129.204.104?) (161.129.204.104) by localhost.hyperreal.org with SMTP; 9 Jun 2005 17:30:36 -0000 Message-ID: <[email protected]> Date: Thu, 09 Jun 2005 19:32:13 +0200 From: Carsten Ziegeler <[email protected]> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: About migrating to Subversion References: <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 161.129.204.104 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Rating: localhost.hyperreal.org 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Diego Louzán wrote: > As you probably know, most of the Apache projects are migrating from cvs to > svn. Since I'm doing a complete repository reorganization, I think it would be > good to migrate to svn in the short term. What do you guys (and girls) think? > > Maybe Carsten could guide us as he's a Pluto member and they have already migrated. > I agree that we should could move to svn with the reorganization. We should move during the year anyway. Now, the migration itself for Pluto (and other projects) was totally painless - it just worked. Using svn is nearly the same compared to cvs. Carsten -- Carsten Ziegeler - Open Source Group, S&N AG http://www.s-und-n.de http://www.osoco.org/weblogs/rael/ From [email protected] Thu Jun 09 17:40:32 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41172 invoked from network); 9 Jun 2005 17:40:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Jun 2005 17:40:31 -0000 Received: (qmail 92486 invoked by uid 500); 9 Jun 2005 17:40:31 -0000 Delivered-To: [email protected] Received: (qmail 92472 invoked by uid 500); 9 Jun 2005 17:40:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 92459 invoked by uid 99); 9 Jun 2005 17:40:30 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from ipex2.johnshopkins.edu (HELO ipex2.johnshopkins.edu) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 09 Jun 2005 10:40:27 -0700 Received: from jhuml3.jhu.edu (161.129.204.104) by ipex2.johnshopkins.edu with ESMTP; 09 Jun 2005 13:40:12 -0400 X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAA== X-IronPort-AV: i="3.93,186,1115006400"; d="scan'208"; a="59868572:sNHT20965652" Received: from [161.129.204.104] (72-255-39-225.client.stsn.net [161.129.204.104]) by jhuml3.jhu.edu (PMDF V6.2-X20 #30840) with ESMTPSA id <[email protected]> for [email protected]; Thu, 09 Jun 2005 13:40:12 -0400 (EDT) Date: Thu, 09 Jun 2005 13:39:52 -0400 From: Elliot Metsger <[email protected]> Subject: Re: About migrating to Subversion In-reply-to: <[email protected]> To: [email protected] Message-id: <[email protected]> MIME-version: 1.0 Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 8BIT X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 0.9 (Macintosh/20041103) References: <[email protected]> <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Sounds good to me too. SVN is really nice :) Carsten Ziegeler wrote: > Diego Louzán wrote: > >>As you probably know, most of the Apache projects are migrating from cvs to >>svn. Since I'm doing a complete repository reorganization, I think it would be >>good to migrate to svn in the short term. What do you guys (and girls) think? >> >>Maybe Carsten could guide us as he's a Pluto member and they have already migrated. >> > > I agree that we should could move to svn with the reorganization. We > should move during the year anyway. Now, the migration itself for Pluto > (and other projects) was totally painless - it just worked. Using svn is > nearly the same compared to cvs. > > Carsten > From [email protected] Fri Jun 10 13:53:06 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22594 invoked from network); 10 Jun 2005 13:53:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Jun 2005 13:53:06 -0000 Received: (qmail 61077 invoked by uid 500); 10 Jun 2005 13:53:05 -0000 Delivered-To: [email protected] Received: (qmail 61058 invoked by uid 500); 10 Jun 2005 13:53:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 61045 invoked by uid 500); 10 Jun 2005 13:53:05 -0000 Delivered-To: [email protected] Received: (qmail 61040 invoked by uid 99); 10 Jun 2005 13:53:05 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 10 Jun 2005 06:53:04 -0700 Received: (qmail 49156 invoked by uid 1260); 10 Jun 2005 11:05:46 -0000 Date: 10 Jun 2005 11:05:46 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/build build.xml X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N cziegeler 2005/06/10 04:05:46 Modified: build build.xml Log: Correct scripts (jar names have changed due to axis upgrade) Revision Changes Path 1.15 +6 -6 ws-wsrp4j/build/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/ws-wsrp4j/build/build.xml,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- build.xml 19 Dec 2004 18:26:18 -0000 1.14 +++ build.xml 10 Jun 2005 11:05:46 -0000 1.15 @@ -292,10 +292,10 @@ </fileset> <fileset dir="${build.lib}"> <include name="log4j-1.2.8.jar"/> - <include name="axis.jar"/> - <include name="jaxrpc.jar"/> + <include name="axis-1.2.jar"/> + <include name="axis-jaxrpc-1.2.jar"/> <include name="tt-bytecode.jar"/> - <include name="saaj.jar"/> + <include name="axis-saaj-1.2.jar"/> <include name="commons-discovery.jar"/> <include name="castor-161.129.204.104-xml.jar"/> </fileset> @@ -658,16 +658,16 @@ <include name="${final.shared.name}.jar"/> </fileset> <fileset dir="${build.lib}"> - <include name="axis.jar"/> + <include name="axis-1.2.jar"/> </fileset> <fileset dir="${build.lib}"> - <include name="jaxrpc.jar"/> + <include name="axis-jaxrpc-1.2.jar"/> </fileset> <fileset dir="${build.lib}"> <include name="commons-discovery.jar"/> </fileset> <fileset dir="${build.lib}"> - <include name="saaj.jar"/> + <include name="axis-saaj-1.2.jar"/> </fileset> <fileset dir="${build.lib}"> <include name="log4j-1.2.8.jar"/> From [email protected] Fri Jun 10 13:54:13 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 23386 invoked from network); 10 Jun 2005 13:54:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Jun 2005 13:54:13 -0000 Received: (qmail 65061 invoked by uid 500); 10 Jun 2005 13:54:12 -0000 Delivered-To: [email protected] Received: (qmail 65046 invoked by uid 500); 10 Jun 2005 13:54:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 65003 invoked by uid 500); 10 Jun 2005 13:54:12 -0000 Delivered-To: [email protected] Received: (qmail 64996 invoked by uid 99); 10 Jun 2005 13:54:12 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 10 Jun 2005 06:54:11 -0700 Received: (qmail 48982 invoked by uid 1260); 10 Jun 2005 11:04:01 -0000 Date: 10 Jun 2005 11:04:01 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/SwingConsumer setcpath.bat run.sh X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N cziegeler 2005/06/10 04:04:01 Modified: SwingConsumer setcpath.bat run.sh Log: Correct scripts (jar names have changed due to axis upgrade) Revision Changes Path 1.4 +3 -3 ws-wsrp4j/SwingConsumer/setcpath.bat Index: setcpath.bat =================================================================== RCS file: /home/cvs/ws-wsrp4j/SwingConsumer/setcpath.bat,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- setcpath.bat 16 Jun 2004 13:01:18 -0000 1.3 +++ setcpath.bat 10 Jun 2005 11:04:01 -0000 1.4 @@ -7,10 +7,10 @@ set CLASSPATH=%CLASSPATH%;.\lib\wsrp4j-swing-consumer-0.3.jar set CLASSPATH=%CLASSPATH%;.\lib\wsrp4j-shared-0.3.jar set CLASSPATH=%CLASSPATH%;.\lib\log4j-1.2.8.jar -set CLASSPATH=%CLASSPATH%;.\lib\axis.jar -set CLASSPATH=%CLASSPATH%;.\lib\jaxrpc.jar +set CLASSPATH=%CLASSPATH%;.\lib\axis-1.2.jar +set CLASSPATH=%CLASSPATH%;.\lib\axis-jaxrpc-1.2.jar set CLASSPATH=%CLASSPATH%;.\lib\tt-bytecode.jar -set CLASSPATH=%CLASSPATH%;.\lib\saaj.jar +set CLASSPATH=%CLASSPATH%;.\lib\axis-saaj-1.2.jar set CLASSPATH=%CLASSPATH%;.\lib\commons-discovery.jar set CLASSPATH=%CLASSPATH%;.\lib\castor-161.129.204.104-xml.jar set CLASSPATH=%CLASSPATH%;.\lib\commons-logging.jar 1.4 +1 -1 ws-wsrp4j/SwingConsumer/run.sh Index: run.sh =================================================================== RCS file: /home/cvs/ws-wsrp4j/SwingConsumer/run.sh,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- run.sh 21 Oct 2004 19:40:32 -0000 1.3 +++ run.sh 10 Jun 2005 11:04:01 -0000 1.4 @@ -1,3 +1,3 @@ #!/bin/sh echo usage: run.sh [ProxyHost] [ProxyPort] -java -DproxyHost=$1 -DproxyPort=$2 -cp ./classes:./lib/wsrp4j-consumer-0.3.jar:./lib/wsrp4j-shared-0.3.jar:./lib/wsrp4j-swing-consumer-0.3.jar:./lib/jaxrpc.jar:./lib/axis.jar:./lib/commons-logging.jar:./lib/commons-discovery.jar:./lib/j2ee.jar:./lib/saaj.jar:./lib/xml-apis-2.5.0.jar:./lib/xercesImpl-2.5.0.jar:./lib/xalan.jar:./lib/castor-161.129.204.104-xml.jar:./lib/log4j-1.2.8.jar:./lib/tt-bytecode.jar org.apache.wsrp4j.consumer.app.driver.SwingConsumer +java -DproxyHost=$1 -DproxyPort=$2 -cp ./classes:./lib/wsrp4j-consumer-0.3.jar:./lib/wsrp4j-shared-0.3.jar:./lib/wsrp4j-swing-consumer-0.3.jar:./lib/axis-jaxrpc-1.2.jar:./lib/axis-1.2.jar:./lib/commons-logging.jar:./lib/commons-discovery.jar:./lib/j2ee.jar:./lib/axis-saaj-1.2.jar:./lib/xml-apis-2.5.0.jar:./lib/xercesImpl-2.5.0.jar:./lib/xalan.jar:./lib/castor-161.129.204.104-xml.jar:./lib/log4j-1.2.8.jar:./lib/tt-bytecode.jar org.apache.wsrp4j.consumer.app.driver.SwingConsumer From [email protected] Fri Jun 10 15:38:29 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88868 invoked from network); 10 Jun 2005 15:38:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Jun 2005 15:38:29 -0000 Received: (qmail 92378 invoked by uid 500); 10 Jun 2005 15:38:25 -0000 Delivered-To: [email protected] Received: (qmail 92282 invoked by uid 500); 10 Jun 2005 15:38:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 92220 invoked by uid 99); 10 Jun 2005 15:38:23 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=SPF_HELO_FAIL X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from igw2.watson.ibm.com (HELO igw2.watson.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 10 Jun 2005 08:38:22 -0700 Received: from sp1n293en1.watson.ibm.com (sp1n293en1.watson.ibm.com [161.129.204.104]) by igw2.watson.ibm.com (8.13.1/8.13.1/8.13.1-2005-04-25 igw) with ESMTP id j5AFcxR3011466 for <[email protected]>; Fri, 10 Jun 2005 11:39:05 -0400 Received: from sp1n293en1.watson.ibm.com (localhost [161.129.204.104]) by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_2) with ESMTP id j5AFbcs674458 for <[email protected]>; Fri, 10 Jun 2005 11:37:38 -0400 Received: from [161.129.204.104] (sig-9-65-238-40.mts.ibm.com [161.129.204.104]) by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_1) with ESMTP id j5AFbbH83062 for <[email protected]>; Fri, 10 Jun 2005 11:37:37 -0400 Message-ID: <[email protected]> Date: Fri, 10 Jun 2005 11:37:35 -0400 From: Julie MacNaught <[email protected]> Reply-To: [email protected] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: About migrating to Subversion References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 161.129.204.104 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I think we should move to SVN first because it allows directory add/remove commands. I think it's harder to create/remove directories with CVS. WDOT? BTW, I'll setup up a couple of vote threads for SVN migration and Mavenizing. -julie Elliot Metsger wrote: > Sounds good to me too. SVN is really nice :) > > > Carsten Ziegeler wrote: > >> Diego Louzán wrote: >> >>> As you probably know, most of the Apache projects are migrating from >>> cvs to >>> svn. Since I'm doing a complete repository reorganization, I think it >>> would be >>> good to migrate to svn in the short term. What do you guys (and >>> girls) think? >>> >>> Maybe Carsten could guide us as he's a Pluto member and they have >>> already migrated. >>> >> >> I agree that we should could move to svn with the reorganization. We >> should move during the year anyway. Now, the migration itself for Pluto >> (and other projects) was totally painless - it just worked. Using svn is >> nearly the same compared to cvs. >> >> Carsten >> > > -- Julie MacNaught IBM Research [email protected] [email protected] DADB E3B5 8CB7 6B9B F4A0 8BF7 E830 1848 16A8 D3AB From [email protected] Fri Jun 10 15:41:15 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90755 invoked from network); 10 Jun 2005 15:41:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Jun 2005 15:41:15 -0000 Received: (qmail 1225 invoked by uid 500); 10 Jun 2005 15:41:14 -0000 Delivered-To: [email protected] Received: (qmail 1205 invoked by uid 500); 10 Jun 2005 15:41:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 1184 invoked by uid 99); 10 Jun 2005 15:41:14 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=SPF_HELO_FAIL X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from igw2.watson.ibm.com (HELO igw2.watson.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 10 Jun 2005 08:41:12 -0700 Received: from sp1n293en1.watson.ibm.com (sp1n293en1.watson.ibm.com [161.129.204.104]) by igw2.watson.ibm.com (8.13.1/8.13.1/8.13.1-2005-04-25 igw) with ESMTP id j5AFgCm3012059 for <[email protected]>; Fri, 10 Jun 2005 11:42:14 -0400 Received: from sp1n293en1.watson.ibm.com (localhost [161.129.204.104]) by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_2) with ESMTP id j5AFeps467454 for <[email protected]>; Fri, 10 Jun 2005 11:40:51 -0400 Received: from [161.129.204.104] (sig-9-65-238-40.mts.ibm.com [161.129.204.104]) by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_1) with ESMTP id j5AFeoH681716 for <[email protected]>; Fri, 10 Jun 2005 11:40:50 -0400 Message-ID: <[email protected]> Date: Fri, 10 Jun 2005 11:40:48 -0400 From: Julie MacNaught <[email protected]> Reply-To: [email protected] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: [VOTE] Move from CVS to Subversion X-Enigmail-Version: 161.129.204.104 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is inevitable, so don't fight it. It's a mandate from the Infrastructure team. It's really just a question of when. So this vote is for sooner rather than later. +1 for me. -- Julie MacNaught IBM Research [email protected] [email protected] DADB E3B5 8CB7 6B9B F4A0 8BF7 E830 1848 16A8 D3AB From [email protected] Fri Jun 10 15:44:09 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92891 invoked from network); 10 Jun 2005 15:44:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Jun 2005 15:44:09 -0000 Received: (qmail 10445 invoked by uid 500); 10 Jun 2005 15:44:08 -0000 Delivered-To: [email protected] Received: (qmail 10397 invoked by uid 500); 10 Jun 2005 15:44:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 10380 invoked by uid 99); 10 Jun 2005 15:44:08 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=SPF_HELO_FAIL X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from igw2.watson.ibm.com (HELO igw2.watson.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 10 Jun 2005 08:44:06 -0700 Received: from sp1n293en1.watson.ibm.com (sp1n293en1.watson.ibm.com [161.129.204.104]) by igw2.watson.ibm.com (8.13.1/8.13.1/8.13.1-2005-04-25 igw) with ESMTP id j5AFjCVE012697 for <[email protected]>; Fri, 10 Jun 2005 11:45:12 -0400 Received: from sp1n293en1.watson.ibm.com (localhost [161.129.204.104]) by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_2) with ESMTP id j5AFhqs605328 for <[email protected]>; Fri, 10 Jun 2005 11:43:52 -0400 Received: from [161.129.204.104] (sig-9-65-238-40.mts.ibm.com [161.129.204.104]) by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_1) with ESMTP id j5AFhoH683876 for <[email protected]>; Fri, 10 Jun 2005 11:43:50 -0400 Message-ID: <[email protected]> Date: Fri, 10 Jun 2005 11:43:48 -0400 From: Julie MacNaught <[email protected]> Reply-To: [email protected] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: [VOTE] Mavenizing X-Enigmail-Version: 161.129.204.104 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N For those that don't know, Maven is a project management tool that includes ant-like functions and forrest-like functions. Many other projects in the Portals space are already using it. It would allow us to more easily separate the code into modules like Producer, Consumer and Common. Diego has already volunteered to do the work. +1 for me. -- Julie MacNaught IBM Research [email protected] [email protected] DADB E3B5 8CB7 6B9B F4A0 8BF7 E830 1848 16A8 D3AB From [email protected] Fri Jun 10 15:47:45 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95484 invoked from network); 10 Jun 2005 15:47:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Jun 2005 15:47:45 -0000 Received: (qmail 28457 invoked by uid 500); 10 Jun 2005 15:47:44 -0000 Delivered-To: [email protected] Received: (qmail 28420 invoked by uid 500); 10 Jun 2005 15:47:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 28402 invoked by uid 99); 10 Jun 2005 15:47:43 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from pantheon-po07.its.yale.edu (HELO pantheon-po07.its.yale.edu) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 10 Jun 2005 08:47:42 -0700 Received: from [161.129.204.104] (vpn167.its.yale.edu [161.129.204.104]) by pantheon-po07.its.yale.edu (8.12.11/8.12.11) with ESMTP id j5AFl6vT008095 for <[email protected]>; Fri, 10 Jun 2005 11:47:08 -0400 Message-ID: <[email protected]> Date: Fri, 10 Jun 2005 11:47:03 -0400 From: Andrew Petro <[email protected]> User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: [VOTE] Mavenizing References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-YaleITSMailFilter: Version 1.2b (attachment(s) not renamed) X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N An advisory +1 from a lurker. > Maven > > Diego has already volunteered to do the work. > > +1 for me. > From [email protected] Fri Jun 10 15:48:29 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95879 invoked from network); 10 Jun 2005 15:48:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Jun 2005 15:48:29 -0000 Received: (qmail 30458 invoked by uid 500); 10 Jun 2005 15:48:29 -0000 Delivered-To: [email protected] Received: (qmail 30427 invoked by uid 500); 10 Jun 2005 15:48:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 30345 invoked by uid 99); 10 Jun 2005 15:48:27 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from pantheon-po07.its.yale.edu (HELO pantheon-po07.its.yale.edu) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 10 Jun 2005 08:48:25 -0700 Received: from [161.129.204.104] (vpn167.its.yale.edu [161.129.204.104]) by pantheon-po07.its.yale.edu (8.12.11/8.12.11) with ESMTP id j5AFmBvC008386 for <[email protected]>; Fri, 10 Jun 2005 11:48:12 -0400 Message-ID: <[email protected]> Date: Fri, 10 Jun 2005 11:48:10 -0400 From: Andrew Petro <[email protected]> User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: [VOTE] Move from CVS to Subversion References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-YaleITSMailFilter: Version 1.2b (attachment(s) not renamed) X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > This is inevitable, so don't fight it. Welcome it. An advisory +1 from a lurker. > > +1 for me. From [email protected] Fri Jun 10 16:25:24 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 19478 invoked from network); 10 Jun 2005 16:25:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Jun 2005 16:25:24 -0000 Received: (qmail 46539 invoked by uid 500); 10 Jun 2005 16:25:24 -0000 Delivered-To: [email protected] Received: (qmail 46363 invoked by uid 500); 10 Jun 2005 16:25:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 46333 invoked by uid 99); 10 Jun 2005 16:25:22 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_HELO_PASS,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from mail.udc.es (HELO mail.udc.es) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 10 Jun 2005 09:25:21 -0700 Received: from localhost (localhost [161.129.204.104]) by mail.udc.es ("Servidor de correo del SIAIN") with ESMTP id A7D293093F for <[email protected]>; Fri, 10 Jun 2005 18:15:27 +0200 (CEST) Received: from mail.udc.es ([161.129.204.104]) by localhost (mail.udc.es [161.129.204.104]) (amavisd-new, port 10024) with LMTP id 07143-01 for <[email protected]>; Fri, 10 Jun 2005 18:15:27 +0200 (CEST) Received: from [161.129.204.104] (www.tic.udc.es [161.129.204.104]) by mail.udc.es ("Servidor de correo del SIAIN") with ESMTP id C89B03093A for <[email protected]>; Fri, 10 Jun 2005 18:15:26 +0200 (CEST) Message-ID: <[email protected]> Date: Fri, 10 Jun 2005 18:24:34 +0200 From: =?UTF-8?B?RGllZ28gTG91esOhbg==?= <[email protected]> User-Agent: Mozilla Thunderbird 1.0.2-1.3.3 (X11/20050513) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: [VOTE] Move from CVS to Subversion References: <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 161.129.204.104 OpenPGP: id=F9497A51; url=http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xF9497A51 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +1 Julie MacNaught wrote: > This is inevitable, so don't fight it. It's a mandate from the > Infrastructure team. It's really just a question of when. So this vote > is for sooner rather than later. > > +1 for me. > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFCqb7BgyzZYflJelERAmvhAKCUZY4NoBXu1GujqbbJF2WBSXR0pwCfRMLO LuO42iKX3l6l/c6zieaeggk= =vNrz -----END PGP SIGNATURE----- From [email protected] Fri Jun 10 16:25:49 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 19828 invoked from network); 10 Jun 2005 16:25:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Jun 2005 16:25:49 -0000 Received: (qmail 47653 invoked by uid 500); 10 Jun 2005 16:25:48 -0000 Delivered-To: [email protected] Received: (qmail 47640 invoked by uid 500); 10 Jun 2005 16:25:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 47614 invoked by uid 99); 10 Jun 2005 16:25:48 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from mail.udc.es (HELO mail.udc.es) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 10 Jun 2005 09:25:46 -0700 Received: from localhost (localhost [161.129.204.104]) by mail.udc.es ("Servidor de correo del SIAIN") with ESMTP id BBC4E308AE for <[email protected]>; Fri, 10 Jun 2005 18:16:21 +0200 (CEST) Received: from mail.udc.es ([161.129.204.104]) by localhost (mail.udc.es [161.129.204.104]) (amavisd-new, port 10024) with LMTP id 06970-01-4 for <[email protected]>; Fri, 10 Jun 2005 18:16:21 +0200 (CEST) Received: from [161.129.204.104] (www.tic.udc.es [161.129.204.104]) by mail.udc.es ("Servidor de correo del SIAIN") with ESMTP id 5866B308A6 for <[email protected]>; Fri, 10 Jun 2005 18:16:21 +0200 (CEST) Message-ID: <[email protected]> Date: Fri, 10 Jun 2005 18:25:28 +0200 From: =?UTF-8?B?RGllZ28gTG91esOhbg==?= <[email protected]> User-Agent: Mozilla Thunderbird 1.0.2-1.3.3 (X11/20050513) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: [VOTE] Mavenizing References: <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 161.129.204.104 OpenPGP: id=F9497A51; url=http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xF9497A51 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +1 (currently working on it) Julie MacNaught wrote: > For those that don't know, Maven is a project management tool that > includes ant-like functions and forrest-like functions. Many other > projects in the Portals space are already using it. It would allow us > to more easily separate the code into modules like Producer, Consumer > and Common. > > Diego has already volunteered to do the work. > > +1 for me. > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFCqb74gyzZYflJelERAtPRAKCGzHAwQy9Jmhq3gVbrR8/ZbyvqAQCggpK3 r9poSULadQkvaHdriYAM/ms= =agVS -----END PGP SIGNATURE----- From [email protected] Fri Jun 10 16:30:23 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21934 invoked from network); 10 Jun 2005 16:30:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Jun 2005 16:30:22 -0000 Received: (qmail 59515 invoked by uid 500); 10 Jun 2005 16:30:21 -0000 Delivered-To: [email protected] Received: (qmail 59503 invoked by uid 500); 10 Jun 2005 16:30:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 59490 invoked by uid 500); 10 Jun 2005 16:30:21 -0000 Delivered-To: [email protected] Received: (qmail 59487 invoked by uid 99); 10 Jun 2005 16:30:21 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 10 Jun 2005 09:30:19 -0700 Received: (qmail 48166 invoked by uid 1260); 10 Jun 2005 10:58:43 -0000 Date: 10 Jun 2005 10:58:43 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/tools tunnel.bat tunnel.sh setcpath.bat X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N cziegeler 2005/06/10 03:58:43 Modified: tools tunnel.bat tunnel.sh setcpath.bat Log: Correct scripts (jar names have changed due to axis upgrade) Revision Changes Path 1.2 +1 -2 ws-wsrp4j/tools/tunnel.bat Index: tunnel.bat =================================================================== RCS file: /home/cvs/ws-wsrp4j/tools/tunnel.bat,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- tunnel.bat 3 Sep 2003 20:29:33 -0000 1.1 +++ tunnel.bat 10 Jun 2005 10:58:43 -0000 1.2 @@ -1,2 +1 @@ -call setcpath.bat -java org.apache.axis.utils.tcpmon 8081 localhost 8080 \ No newline at end of file +java -cp ../lib/axis-1.2.jar org.apache.axis.utils.tcpmon 8081 localhost 8080 \ No newline at end of file 1.2 +1 -1 ws-wsrp4j/tools/tunnel.sh Index: tunnel.sh =================================================================== RCS file: /home/cvs/ws-wsrp4j/tools/tunnel.sh,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- tunnel.sh 3 Sep 2003 20:29:33 -0000 1.1 +++ tunnel.sh 10 Jun 2005 10:58:43 -0000 1.2 @@ -1,3 +1,3 @@ #!/bin/sh -java -cp ../lib/axis.jar org.apache.axis.utils.tcpmon 8081 localhost 8080 +java -cp ../lib/axis-1.2.jar org.apache.axis.utils.tcpmon 8081 localhost 8080 1.5 +3 -3 ws-wsrp4j/tools/setcpath.bat Index: setcpath.bat =================================================================== RCS file: /home/cvs/ws-wsrp4j/tools/setcpath.bat,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- setcpath.bat 1 Nov 2003 17:27:10 -0000 1.4 +++ setcpath.bat 10 Jun 2005 10:58:43 -0000 1.5 @@ -1,10 +1,10 @@ @echo off set CLASSPATH=. -set CLASSPATH=%CLASSPATH%;..\lib\axis.jar -set CLASSPATH=%CLASSPATH%;..\lib\jaxrpc.jar +set CLASSPATH=%CLASSPATH%;..\lib\axis-1.2.jar +set CLASSPATH=%CLASSPATH%;..\lib\axis-jaxrpc-1.2.jar set CLASSPATH=%CLASSPATH%;..\lib\commons-discovery.jar set CLASSPATH=%CLASSPATH%;..\lib\consumer\commons-logging.jar set CLASSPATH=%CLASSPATH%;..\lib\consumer\xml-apis-2.5.0.jar set CLASSPATH=%CLASSPATH%;..\lib\consumer\xercesImpl-2.5.0.jar -set CLASSPATH=%CLASSPATH%;..\lib\saaj.jar \ No newline at end of file +set CLASSPATH=%CLASSPATH%;..\lib\axis-saaj-1.2.jar \ No newline at end of file From [email protected] Fri Jun 10 17:47:16 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60037 invoked from network); 10 Jun 2005 17:47:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Jun 2005 17:47:16 -0000 Received: (qmail 84755 invoked by uid 500); 10 Jun 2005 17:47:15 -0000 Delivered-To: [email protected] Received: (qmail 84694 invoked by uid 500); 10 Jun 2005 17:47:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 84653 invoked by uid 99); 10 Jun 2005 17:47:12 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=SPF_HELO_FAIL X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from igw2.watson.ibm.com (HELO igw2.watson.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 10 Jun 2005 10:47:11 -0700 Received: from sp1n293en1.watson.ibm.com (sp1n293en1.watson.ibm.com [161.129.204.104]) by igw2.watson.ibm.com (8.13.1/8.13.1/8.13.1-2005-04-25 igw) with ESMTP id j5AHmIQs003543 for <[email protected]>; Fri, 10 Jun 2005 13:48:18 -0400 Received: from sp1n293en1.watson.ibm.com (localhost [161.129.204.104]) by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_2) with ESMTP id j5AHkws710126 for <[email protected]>; Fri, 10 Jun 2005 13:46:58 -0400 Received: from [161.129.204.104] (sig-9-65-238-40.mts.ibm.com [161.129.204.104]) by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_1) with ESMTP id j5AHkuH177244 for <[email protected]>; Fri, 10 Jun 2005 13:46:56 -0400 Message-ID: <[email protected]> Date: Fri, 10 Jun 2005 13:46:53 -0400 From: Julie MacNaught <[email protected]> Reply-To: [email protected] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Google Summer of Code Proposal X-Enigmail-Version: 161.129.204.104 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Diego ([email protected]) and I have collaborated to create a project idea and proposal for him to work on a number of WSRP4J issues over the summer. Here is a link to the Summer Of Code page on Google in case you've not heard of it: http://code.google.com/summerofcode.html Here is a link to the ASF's list of projects: http://wiki.apache.org/general/SummerOfCode2005 Here is a link to Diego's project propsal: http://wiki.apache.org/general/DiegoLouzan/SummerOfCode2005Proposal Feedback welcome. This is so exciting! -- Julie MacNaught IBM Research [email protected] [email protected] DADB E3B5 8CB7 6B9B F4A0 8BF7 E830 1848 16A8 D3AB From [email protected] Fri Jun 10 20:12:35 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53901 invoked from network); 10 Jun 2005 20:12:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Jun 2005 20:12:35 -0000 Received: (qmail 56630 invoked by uid 500); 10 Jun 2005 20:12:34 -0000 Delivered-To: [email protected] Received: (qmail 56613 invoked by uid 500); 10 Jun 2005 20:12:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 56598 invoked by uid 99); 10 Jun 2005 20:12:33 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from ztown1-5-30.adsl.one.net (HELO mx.scriptall.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 10 Jun 2005 13:12:29 -0700 Received: (qmail 10024 invoked by uid 512); 10 Jun 2005 16:15:11 -0400 Received: from [email protected] by edison by uid 509 with qmail-scanner-1.22-st-qms (clamdscan: 0.75. spamassassin: 2.63. Clear:RC:1(161.129.204.104):. Processed in 0.078253 secs); 10 Jun 2005 20:15:11 -0000 X-Antivirus-MYDOMAIN-Mail-From: [email protected] via edison X-Antivirus-MYDOMAIN: 1.22-st-qms (Clear:RC:1(161.129.204.104):. Processed in 0.078253 secs Process 10020) Received: from (572)828-9222.cust.telepacific.net (HELO [161.129.204.104]) ([email protected]@161.129.204.104) by mx.scriptall.com with SMTP; Fri, 10 Jun 2005 16:15:11 -0400 Message-ID: <[email protected]> Date: Fri, 10 Jun 2005 13:12:16 -0700 From: David Sean Taylor <[email protected]> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: [VOTE] Mavenizing References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Julie MacNaught wrote: > For those that don't know, Maven is a project management tool that > includes ant-like functions and forrest-like functions. Many other > projects in the Portals space are already using it. It would allow us > to more easily separate the code into modules like Producer, Consumer > and Common. > > Diego has already volunteered to do the work. > > +1 for me. > +1 We recently moved the Jetspeed repos over to SVN The infrastructure team were very helpful and it went without problem -- David Sean Taylor Bluesunrise Software [email protected] [office] +01 707 773-4646 [mobile] +01 707 529 9194 From [email protected] Sat Jun 11 09:19:56 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12788 invoked from network); 11 Jun 2005 09:19:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Jun 2005 09:19:55 -0000 Received: (qmail 95108 invoked by uid 500); 11 Jun 2005 09:19:54 -0000 Delivered-To: [email protected] Received: (qmail 95068 invoked by uid 500); 11 Jun 2005 09:19:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 95051 invoked by uid 99); 11 Jun 2005 09:19:53 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 11 Jun 2005 02:19:50 -0700 Received: (qmail 12769 invoked from network); 11 Jun 2005 09:19:45 -0000 Received: from unknown (HELO ?161.129.204.104?) (161.129.204.104) by 161.129.204.104 with SMTP; 11 Jun 2005 09:19:45 -0000 Message-ID: <[email protected]> Date: Sat, 11 Jun 2005 11:21:26 +0200 From: Carsten Ziegeler <[email protected]> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: About migrating to Subversion References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 161.129.204.104 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: 161.129.204.104 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Julie MacNaught wrote: > I think we should move to SVN first because it allows directory add/remove commands. I think it's harder to create/remove directories with CVS. > > WDOT? > Yes, you're right. Carsten -- Carsten Ziegeler - Open Source Group, S&N AG http://www.s-und-n.de http://www.osoco.org/weblogs/rael/ From [email protected] Sat Jun 11 09:20:22 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12912 invoked from network); 11 Jun 2005 09:20:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Jun 2005 09:20:21 -0000 Received: (qmail 95811 invoked by uid 500); 11 Jun 2005 09:20:21 -0000 Delivered-To: [email protected] Received: (qmail 95776 invoked by uid 500); 11 Jun 2005 09:20:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 95763 invoked by uid 99); 11 Jun 2005 09:20:20 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 11 Jun 2005 02:20:18 -0700 Received: (qmail 12882 invoked from network); 11 Jun 2005 09:20:12 -0000 Received: from unknown (HELO ?161.129.204.104?) (161.129.204.104) by 161.129.204.104 with SMTP; 11 Jun 2005 09:20:12 -0000 Message-ID: <[email protected]> Date: Sat, 11 Jun 2005 11:21:53 +0200 From: Carsten Ziegeler <[email protected]> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: [VOTE] Move from CVS to Subversion References: <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 161.129.204.104 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Rating: 161.129.204.104 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Julie MacNaught wrote: > This is inevitable, so don't fight it. It's a mandate from the Infrastructure team. It's really just a question of when. So this vote is for sooner rather than later. > > +1 for me. > > +1 Carsten -- Carsten Ziegeler - Open Source Group, S&N AG http://www.s-und-n.de http://www.osoco.org/weblogs/rael/ From [email protected] Sat Jun 11 09:27:40 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14168 invoked from network); 11 Jun 2005 09:27:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Jun 2005 09:27:40 -0000 Received: (qmail 8114 invoked by uid 500); 11 Jun 2005 09:27:39 -0000 Delivered-To: [email protected] Received: (qmail 8100 invoked by uid 500); 11 Jun 2005 09:27:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 8085 invoked by uid 99); 11 Jun 2005 09:27:39 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 11 Jun 2005 02:27:37 -0700 Received: (qmail 13016 invoked from network); 11 Jun 2005 09:20:46 -0000 Received: from unknown (HELO ?161.129.204.104?) (161.129.204.104) by 161.129.204.104 with SMTP; 11 Jun 2005 09:20:46 -0000 Message-ID: <[email protected]> Date: Sat, 11 Jun 2005 11:22:27 +0200 From: Carsten Ziegeler <[email protected]> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: [VOTE] Mavenizing References: <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 161.129.204.104 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Rating: 161.129.204.104 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Julie MacNaught wrote: > For those that don't know, Maven is a project management tool that includes ant-like functions and forrest-like functions. Many other projects in the Portals space are already using it. It would allow us to more easily separate the code into modules like Producer, Consumer and Common. > > Diego has already volunteered to do the work. > > +1 for me. > +1 Carsten -- Carsten Ziegeler - Open Source Group, S&N AG http://www.s-und-n.de http://www.osoco.org/weblogs/rael/ From [email protected] Sat Jun 11 10:42:54 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31036 invoked from network); 11 Jun 2005 10:42:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Jun 2005 10:42:53 -0000 Received: (qmail 20765 invoked by uid 500); 11 Jun 2005 10:42:53 -0000 Delivered-To: [email protected] Received: (qmail 20734 invoked by uid 500); 11 Jun 2005 10:42:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 20717 invoked by uid 99); 11 Jun 2005 10:42:52 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from smtp2.mundo-r.com (HELO smtp.mundo-r.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 11 Jun 2005 03:42:50 -0700 Received: from [161.129.204.104] ([161.129.204.104]) by localdomains.mundo-r.ggc (Sun Java System Messaging Server 6.1 HotFix 0.01 (built Jun 24 2004)) with ESMTP id <[email protected]> for [email protected]; Sat, 11 Jun 2005 12:42:31 +0200 (CEST) Date: Sat, 11 Jun 2005 12:42:28 +0200 From: =?UTF-8?B?RGllZ28gTG91esOhbg==?= <[email protected]> Subject: Re: About migrating to Subversion In-reply-to: <[email protected]> To: [email protected] Message-id: <[email protected]> MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 8BIT X-Accept-Language: fr, en OpenPGP: id=F9497A51; url=http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0xF9497A51 X-Enigmail-Version: 161.129.204.104 References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050331) X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Yes, it would be easier to move to svn first. Then I'll add the sandbox to the repository and when it's mature enough, it would become main branch (removing the current directories, easier to do with svn). Regards. Diego. Julie MacNaught wrote: > I think we should move to SVN first because it allows directory > add/remove commands. I think it's harder to create/remove directories > with CVS. > > WDOT? > > BTW, I'll setup up a couple of vote threads for SVN migration and > Mavenizing. > > -julie > > Elliot Metsger wrote: > >> Sounds good to me too. SVN is really nice :) >> >> >> Carsten Ziegeler wrote: >> >>> Diego Louzán wrote: >>> >>>> As you probably know, most of the Apache projects are migrating from >>>> cvs to >>>> svn. Since I'm doing a complete repository reorganization, I think >>>> it would be >>>> good to migrate to svn in the short term. What do you guys (and >>>> girls) think? >>>> >>>> Maybe Carsten could guide us as he's a Pluto member and they have >>>> already migrated. >>>> >>> >>> I agree that we should could move to svn with the reorganization. We >>> should move during the year anyway. Now, the migration itself for Pluto >>> (and other projects) was totally painless - it just worked. Using svn is >>> nearly the same compared to cvs. >>> >>> Carsten >>> >> >> > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFCqsAUgyzZYflJelERAj7dAJ4yymBH0SqpQqUmZcVJ4dAZEnzAgwCfeoc1 h2iRQsTq/PbpCHcgDOwtd5M= =EJg/ -----END PGP SIGNATURE----- From [email protected] Mon Jun 13 12:59:39 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 71357 invoked from network); 13 Jun 2005 12:59:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Jun 2005 12:59:39 -0000 Received: (qmail 22201 invoked by uid 500); 13 Jun 2005 12:59:38 -0000 Delivered-To: [email protected] Received: (qmail 22140 invoked by uid 500); 13 Jun 2005 12:59:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 22068 invoked by uid 99); 13 Jun 2005 12:59:36 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=SPF_HELO_FAIL X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from igw2.watson.ibm.com (HELO igw2.watson.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 13 Jun 2005 05:59:35 -0700 Received: from sp1n294en1.watson.ibm.com (sp1n294en1.watson.ibm.com [161.129.204.104]) by igw2.watson.ibm.com (8.13.1/8.13.1/8.13.1-2005-04-25 igw) with ESMTP id j5DD0di4029127 for <[email protected]>; Mon, 13 Jun 2005 09:00:39 -0400 Received: from sp1n294en1.watson.ibm.com (localhost [161.129.204.104]) by sp1n294en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_2) with ESMTP id j5DCxHp674600 for <[email protected]>; Mon, 13 Jun 2005 08:59:17 -0400 Received: from [161.129.204.104] (sig-9-65-241-115.mts.ibm.com [161.129.204.104]) by sp1n294en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_1) with ESMTP id j5DCxG329026 for <[email protected]>; Mon, 13 Jun 2005 08:59:16 -0400 Message-ID: <[email protected]> Date: Mon, 13 Jun 2005 08:59:17 -0400 From: Julie MacNaught <[email protected]> Reply-To: [email protected] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Incubator vs WebServices vs Portals, CVS2SVN X-Enigmail-Version: 161.129.204.104 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N We are currently under incubation, but when we started the project it was thought that we would move to the WebServices TLP. Technically dims is our mentor, and he is the WS guru. When the Portals TLP was formed, it was expected that WSRP4J would graduate from the incubator into Portals. When we request to convert from CVS to SVN, I think we want to change the name of the project and have the new one created under portals. CVS: ws-wsrp4j SVN: portals/wsrp4j Comments? -- Julie MacNaught IBM Research [email protected] [email protected] DADB E3B5 8CB7 6B9B F4A0 8BF7 E830 1848 16A8 D3AB From [email protected] Mon Jun 13 17:01:45 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82041 invoked from network); 13 Jun 2005 17:01:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Jun 2005 17:01:44 -0000 Received: (qmail 17189 invoked by uid 500); 13 Jun 2005 17:01:44 -0000 Delivered-To: [email protected] Received: (qmail 17136 invoked by uid 500); 13 Jun 2005 17:01:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 17122 invoked by uid 99); 13 Jun 2005 17:01:43 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_HELO_PASS,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from mail.udc.es (HELO mail.udc.es) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 13 Jun 2005 10:01:42 -0700 Received: from localhost (localhost [161.129.204.104]) by mail.udc.es ("Servidor de correo del SIAIN") with ESMTP id B026130896 for <[email protected]>; Mon, 13 Jun 2005 17:50:25 +0200 (CEST) Received: from mail.udc.es ([161.129.204.104]) by localhost (mail.udc.es [161.129.204.104]) (amavisd-new, port 10024) with LMTP id 07514-02-4 for <[email protected]>; Mon, 13 Jun 2005 17:50:25 +0200 (CEST) Received: from [161.129.204.104] (www.tic.udc.es [161.129.204.104]) by mail.udc.es ("Servidor de correo del SIAIN") with ESMTP id 7E79830886 for <[email protected]>; Mon, 13 Jun 2005 17:50:25 +0200 (CEST) Message-ID: <[email protected]> Date: Mon, 13 Jun 2005 17:59:34 +0200 From: =?UTF-8?B?RGllZ28gTG91esOhbg==?= <[email protected]> User-Agent: Mozilla Thunderbird 1.0.2-1.3.3 (X11/20050513) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: Incubator vs WebServices vs Portals, CVS2SVN References: <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 161.129.204.104 OpenPGP: id=F9497A51; url=http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xF9497A51 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +1 Totally agree. Julie MacNaught wrote: > We are currently under incubation, but when we started the project it > was thought that we would move to the WebServices TLP. Technically dims > is our mentor, and he is the WS guru. When the Portals TLP was formed, > it was expected that WSRP4J would graduate from the incubator into Portals. > When we request to convert from CVS to SVN, I think we want to change > the name of the project and have the new one created under portals. > > CVS: ws-wsrp4j > SVN: portals/wsrp4j > > Comments? > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFCra1mgyzZYflJelERAmc/AJwNlk4BYR1BTwgjeI5bWVzVl5W7qwCdGRZ+ YCN0LeVpS6fp8XgBu+ZkCe0= =+Itl -----END PGP SIGNATURE----- From [email protected] Mon Jun 13 18:57:13 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64361 invoked from network); 13 Jun 2005 18:57:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Jun 2005 18:57:13 -0000 Received: (qmail 29779 invoked by uid 500); 13 Jun 2005 18:57:12 -0000 Delivered-To: [email protected] Received: (qmail 29723 invoked by uid 500); 13 Jun 2005 18:57:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 29705 invoked by uid 99); 13 Jun 2005 18:57:11 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from rproxy.gmail.com (HELO rproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 13 Jun 2005 11:57:10 -0700 Received: by rproxy.gmail.com with SMTP id 34so187394rns for <[email protected]>; Mon, 13 Jun 2005 11:56:55 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=KNnF0mq8fJxaZeXy5oJqpm+Q5CGa04Wi3C9KfJXG7DS5TaHU779LYw8EA9p55tWtcS/s2R09ZTNKbywCkEJsmhdCOyRUz5nrfrTrUoCgjzTaLEQUnexP1IKG/P3BI8DsbgV2gCTx2/cr6U65iCBytzhxI1GyMo4H1TxPBIYNaOE= Received: by 161.129.204.104 with SMTP id 41mr137809rnh; Mon, 13 Jun 2005 11:30:15 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 13 Jun 2005 11:30:15 -0700 (PDT) Message-ID: <[email protected]> Date: Mon, 13 Jun 2005 14:30:15 -0400 From: Davanum Srinivas <[email protected]> Reply-To: [email protected] To: [email protected] Subject: Re: Incubator vs WebServices vs Portals, CVS2SVN In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <[email protected]> <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N +1 to move to SVN: portals/wsrp4j On 6/13/05, Diego Louz=E1n <[email protected]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > +1 >=20 > Totally agree. >=20 > Julie MacNaught wrote: > > We are currently under incubation, but when we started the project it > > was thought that we would move to the WebServices TLP. Technically dim= s > > is our mentor, and he is the WS guru. When the Portals TLP was formed, > > it was expected that WSRP4J would graduate from the incubator into Port= als. > > When we request to convert from CVS to SVN, I think we want to change > > the name of the project and have the new one created under portals. > > > > CVS: ws-wsrp4j > > SVN: portals/wsrp4j > > > > Comments? > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.6 (GNU/Linux) >=20 > iD8DBQFCra1mgyzZYflJelERAmc/AJwNlk4BYR1BTwgjeI5bWVzVl5W7qwCdGRZ+ > YCN0LeVpS6fp8XgBu+ZkCe0=3D > =3D+Itl > -----END PGP SIGNATURE----- >=20 --=20 Davanum Srinivas -http://blogs.cocoondev.org/dims/ From [email protected] Mon Jun 13 20:52:00 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25760 invoked from network); 13 Jun 2005 20:52:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Jun 2005 20:52:00 -0000 Received: (qmail 7000 invoked by uid 500); 13 Jun 2005 20:51:59 -0000 Delivered-To: [email protected] Received: (qmail 6944 invoked by uid 500); 13 Jun 2005 20:51:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 6931 invoked by uid 99); 13 Jun 2005 20:51:58 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from smtp-relay2.sct.com (HELO smtp-relay2.sct.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 13 Jun 2005 13:51:54 -0700 Received: from smtp-relay2.sct.com (localhost [161.129.204.104]) by smtp-relay2.sct.com (8.12.10/8.12.10) with ESMTP id j5DKVjVY016440 for <[email protected]>; Mon, 13 Jun 2005 16:31:45 -0400 Received: from m030006.sct.com ([161.129.204.104]) by smtp-relay2.sct.com (8.12.10/8.12.10) with ESMTP id j5DKVjEA016435 for <[email protected]>; Mon, 13 Jun 2005 16:31:45 -0400 Received: from sctmnot9.sct.com (sctmnot9.sct.com [161.129.204.104]) by m030006.sct.com (8.12.10/8.12.10) with ESMTP id j5DKVgQH007890 for <[email protected]>; Mon, 13 Jun 2005 16:31:42 -0400 Received: from slcnot1.sct.com ([161.129.204.104]) by sctmnot9.sct.com (Lotus Domino Release 6.0.5) with ESMTP id 2005061316314038-553 ; Mon, 13 Jun 2005 16:31:40 -0400 Received: from vgwin2k10 ([161.129.204.104]) by slcnot1.sct.com (Lotus Domino Release 6.0.4) with ESMTP id 2005061314313748-4418 ; Mon, 13 Jun 2005 14:31:37 -0600 From: "Vishal Goenka" <[email protected]> To: <[email protected]> Subject: RE: Google Summer of Code Proposal Date: Mon, 13 Jun 2005 14:31:32 -0600 Organization: SunGard SCT MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <[email protected]> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcVt5HCo8OAT5xsFSRaDcaykkBCSNQCcTaeQ X-MIMETrack: Itemize by SMTP Server on slcnot1/SCT(Release 6.0.4|June 01, 2004) at 06/13/2005 14:31:37, Serialize by Router on slcnot1/SCT(Release 6.0.4|June 01, 2004) at 06/13/2005 14:31:40, Serialize complete at 06/13/2005 14:31:40, Itemize by SMTP Server on sctmnot9/SCT(Release 6.0.5|March 27, 2005) at 06/13/2005 16:31:40, Serialize by Router on sctmnot9/SCT(Release 6.0.5|March 27, 2005) at 06/13/2005 16:31:42, Serialize complete at 06/13/2005 16:31:42 Message-ID: <[email protected]> Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I'm excited that some of the issues that impacted my work on writing the WSRP producer for Sakai (www.sakaiproject.org) will soon be addressed. In my integration of WSRP4J codebase, I have done some work that may be valuable to Diego. Specifically, I can share thoughts and feedback on the following topics: 1. Modularization into "common", "producer" and "consumer" 2. Mavenization 3. Cleaner separation of the producer provider interface My selfish interest (from the Sakai project's standpoint) is to reduce the number of times I have to "sync" my changes with that on the WSRP4J CVS/SVN head and to keep the code diversion to a minimum. Therefore, the above list also represents my priority in the order listed. - Vishal -- Vishal Goenka SunGard SCT Advisory Technical Architect, Luminis Solutions www.sungardsct.com > -----Original Message----- > From: Julie MacNaught [mailto:[email protected]] > Sent: Friday, June 10, 2005 11:47 AM > To: [email protected] > Subject: Google Summer of Code Proposal > > Diego ([email protected]) and I have collaborated to create > a project idea and proposal for him to work on a number of > WSRP4J issues over the summer. > > Here is a link to the Summer Of Code page on Google in case > you've not heard of it: http://code.google.com/summerofcode.html > > Here is a link to the ASF's list of projects: > http://wiki.apache.org/general/SummerOfCode2005 > > Here is a link to Diego's project propsal: > http://wiki.apache.org/general/DiegoLouzan/SummerOfCode2005Proposal > > Feedback welcome. > > This is so exciting! > > > -- > Julie MacNaught > IBM Research > [email protected] > [email protected] > DADB E3B5 8CB7 6B9B F4A0 8BF7 E830 1848 16A8 D3AB > From [email protected] Tue Jun 14 16:52:20 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89244 invoked from network); 14 Jun 2005 16:52:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 16:52:19 -0000 Received: (qmail 71190 invoked by uid 500); 14 Jun 2005 16:52:19 -0000 Delivered-To: [email protected] Received: (qmail 71154 invoked by uid 500); 14 Jun 2005 16:52:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 71141 invoked by uid 500); 14 Jun 2005 16:52:18 -0000 Delivered-To: [email protected] Received: (qmail 71138 invoked by uid 99); 14 Jun 2005 16:52:18 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 09:52:15 -0700 Received: (qmail 89194 invoked by uid 2039); 14 Jun 2005 16:52:07 -0000 Date: 14 Jun 2005 16:52:07 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox - New directory X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 09:52:07 ws-wsrp4j/sandbox - New directory From [email protected] Tue Jun 14 17:01:22 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93039 invoked from network); 14 Jun 2005 17:01:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:01:22 -0000 Received: (qmail 8091 invoked by uid 500); 14 Jun 2005 17:01:21 -0000 Delivered-To: [email protected] Received: (qmail 8042 invoked by uid 500); 14 Jun 2005 17:01:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 8027 invoked by uid 500); 14 Jun 2005 17:01:21 -0000 Delivered-To: [email protected] Received: (qmail 8008 invoked by uid 99); 14 Jun 2005 17:01:21 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:01:20 -0700 Received: (qmail 89658 invoked by uid 2039); 14 Jun 2005 16:54:18 -0000 Date: 14 Jun 2005 16:54:18 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j - New directory X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 09:54:18 ws-wsrp4j/sandbox/wsrp4j - New directory From [email protected] Tue Jun 14 17:07:57 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95451 invoked from network); 14 Jun 2005 17:07:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:07:57 -0000 Received: (qmail 22693 invoked by uid 500); 14 Jun 2005 17:07:56 -0000 Delivered-To: [email protected] Received: (qmail 22678 invoked by uid 500); 14 Jun 2005 17:07:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 22664 invoked by uid 500); 14 Jun 2005 17:07:56 -0000 Delivered-To: [email protected] Received: (qmail 22661 invoked by uid 99); 14 Jun 2005 17:07:56 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:07:51 -0700 Received: (qmail 95376 invoked by uid 2039); 14 Jun 2005 17:07:32 -0000 Date: 14 Jun 2005 17:07:32 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j LICENSE.txt X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:07:32 Added: sandbox/wsrp4j LICENSE.txt Log: Initial version. Revision Changes Path 1.1 ws-wsrp4j/sandbox/wsrp4j/LICENSE.txt Index: LICENSE.txt =================================================================== Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. From [email protected] Tue Jun 14 17:09:12 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95815 invoked from network); 14 Jun 2005 17:09:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:09:12 -0000 Received: (qmail 28118 invoked by uid 500); 14 Jun 2005 17:09:12 -0000 Delivered-To: [email protected] Received: (qmail 28042 invoked by uid 500); 14 Jun 2005 17:09:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 28019 invoked by uid 500); 14 Jun 2005 17:09:11 -0000 Delivered-To: [email protected] Received: (qmail 27999 invoked by uid 99); 14 Jun 2005 17:09:11 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:09:03 -0700 Received: (qmail 95667 invoked by uid 2039); 14 Jun 2005 17:08:44 -0000 Date: 14 Jun 2005 17:08:44 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j README.txt license-header.txt locator.ent locator.path maven.xml project.properties project.xml X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:08:44 Added: sandbox/wsrp4j README.txt license-header.txt locator.ent locator.path maven.xml project.properties project.xml Log: Initial version. Revision Changes Path 1.1 ws-wsrp4j/sandbox/wsrp4j/README.txt Index: README.txt =================================================================== Preliminary mavenized version of the repository. Currently only implements the directory structure with some minor documentation. Based on Jetspeed2 mavenized build. Goal description: $ maven $ maven build Build jars and wars $ maven doc Build site documentation $ maven all Build jars, wars and site $ maven clean Remove all generated artifacts 1.1 ws-wsrp4j/sandbox/wsrp4j/license-header.txt Index: license-header.txt =================================================================== /* * Copyright 2003-2005 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ 1.1 ws-wsrp4j/sandbox/wsrp4j/locator.ent Index: locator.ent =================================================================== <!-- derive root relative locator-path --> <!ENTITY % locator-path SYSTEM "file:locator.path"> <!-- Artifact versions --> <!ENTITY % artifact-versions-ent '<!ENTITY &#37; artifact-versions SYSTEM "file:%locator-path;etc/artifact-versions.ent"> &#37;artifact-versions;'> %artifact-versions-ent; 1.1 ws-wsrp4j/sandbox/wsrp4j/locator.path Index: locator.path =================================================================== ./ 1.1 ws-wsrp4j/sandbox/wsrp4j/maven.xml Index: maven.xml =================================================================== <?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2003-2005 The Apache Software Foundation. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <project default="build" xmlns:maven="jelly:maven"> <goal name="all"> <attainGoal name="multiproject:install"/> <attainGoal name="multiproject:site"/> </goal> <goal name="build"> <attainGoal name="multiproject:install"/> </goal> <goal name="doc"> <attainGoal name="multiproject:site"/> </goal> <goal name="clean"> <attainGoal name="clean:clean"/> <attainGoal name="multiproject:clean"/> </goal> </project> 1.1 ws-wsrp4j/sandbox/wsrp4j/project.properties Index: project.properties =================================================================== # Copyright 2003-2005 The Apache Software Foundation. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ------------------------------------------------------------------------------ # PROJECT PROPERTIES # ------------------------------------------------------------------------------ compile.debug = on compile.optimize = off compile.deprecation = on maven.repo.remote = http://www.ibiblio.org/maven/, http://dist.codehaus.org/, http://cvs.apache.org/repository # ------------------------------------------------------------------------------ # CHECKSTYLE PROPERTIES # ------------------------------------------------------------------------------ maven.checkstyle.header.file = ${basedir}/license-header.txt maven.checkstyle.format = turbine # ------------------------------------------------------------------------------ # LICENSE PROPERTIES #------------------------------------------------------------------------------- maven.license.licenseFile = ${basedir}/LICENSE.txt # ------------------------------------------------------------------------------ # MULTIPROJECT PROPERTIES #------------------------------------------------------------------------------- maven.multiproject.aggregateDir = subsystems/ # ------------------------------------------------------------------------------ # XDOC PROPERTIES # ------------------------------------------------------------------------------ maven.docs.src = ${basedir}/site/src/xdocs maven.xdoc.date = left maven.xdoc.date.format = dd MMMM yyyy HH:mm Z maven.xdoc.version = ${pom.currentVersion} 1.1 ws-wsrp4j/sandbox/wsrp4j/project.xml Index: project.xml =================================================================== <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE project [ <!ENTITY % locator-entities SYSTEM "file:locator.ent"> %locator-entities; ]> <!-- Copyright 2003-2005 The Apache Software Foundation. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <project> <pomVersion>3</pomVersion> <groupId>wsrp4j</groupId> <name>WSRP4J</name> <currentVersion>&wsrp4j-version;</currentVersion> <shortDescription> WSRP4J is a Java implementation of the OASIS WSRP specification </shortDescription> <description> WSRP4J is the Java language reference implementation of the OASIS WSRP specification, which is a web services protocol for aggregating content and interactive web applications from remote sources. WSRP allows content and application providers to provide their services to organizations running portals in a very easily consumable form. </description> <url>http://ws.apache.org/wsrp4j</url> <logo>/images/project-logo.png</logo> <issueTrackingUrl> http://issues.apache.org/jira/secure/BrowseProject.jspa?id=10464 </issueTrackingUrl> <inceptionYear>2003</inceptionYear> <siteAddress>ws.apache.org</siteAddress> <siteDirectory>/www/ws.apache.org/wsrp4</siteDirectory> <mailingLists> <mailingList> <name>WSRP4J Developer List</name> <subscribe>[email protected]</subscribe> <unsubscribe>[email protected]</unsubscribe> <archive>http://mail-archives.apache.org/mod_mbox/ws-wsrp4j-dev/</archive> </mailingList> <mailingList> <name>WSRP4J User List</name> <subscribe>[email protected]</subscribe> <unsubscribe>[email protected]</unsubscribe> <archive>http://mail-archives.apache.org/mod_mbox/ws-wsrp4j-user/</archive> </mailingList> </mailingLists> <developers> <developer> <name>Sam Ruby</name> <id>rubys</id> <email>rubys.at.apache.org</email> <roles> <role>Mentor</role> </roles> </developer> <developer> <name>Davanum Srinivas</name> <id>dims</id> <email>[email protected]</email> <roles> <role>Mentor</role> <role>Committer</role> </roles> </developer> <developer> <name>Richard Jacob</name> <id>jacob</id> <email>[email protected]</email> <roles> <role>Committer</role> </roles> </developer> <developer> <name>David Sean Taylor</name> <id>taylor</id> <email>[email protected]</email> <roles> <role>Committer</role> </roles> </developer> <developer> <name>Julie MacNaught</name> <id>jmacna</id> <email>[email protected]</email> <organization>IBM Research</organization> <organizationUrl>http://www.research.ibm.com/</organizationUrl> <roles> <role>Committer</role> </roles> <timezone>-4</timezone> </developer> <developer> <name>Stefan Behl</name> <id>behl</id> <email>[email protected]</email> <roles> <role>Committer</role> </roles> </developer> <developer> <name>Carsten Ziegeler</name> <id>cziegeler</id> <email>[email protected]</email> <roles> <role>Committer</role> </roles> </developer> <developer> <name>Peter Fischer</name> <id>pfisher</id> <email>[email protected]</email> <roles> <role>Committer</role> </roles> </developer> <developer> <name>Santiago Gala</name> <id>sgala</id> <email>[email protected]</email> <roles> <role>Committer</role> </roles> </developer> <developer> <name>Andrew C. Oliver</name> <id>acoliver</id> <email>[email protected]</email> <roles> <role>Committer</role> </roles> </developer> <developer> <name>Scott Goldstein</name> <id>sgoldstain</id> <email>[email protected]</email> <roles> <role>Committer</role> </roles> </developer> <developer> <name>Diego Louzán</name> <id>dlouzan</id> <email>[email protected]</email> <url>http://wiki.apache.org/general/DiegoLouzan</url> <organization>University of A Coruña</organization> <organizationUrl>http://www.fi.udc.es/</organizationUrl> <roles> <role>Committer</role> </roles> <timezone>+2</timezone> </developer> </developers> <contributors> <contributor> <name>Vishal Goenka</name> <email>[email protected]</email> </contributor> </contributors> <licenses> <license> <name>Apache License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> </license> </licenses> <reports> <report>maven-jdepend-plugin</report> <report>maven-checkstyle-plugin</report> <report>maven-changelog-plugin</report> <report>maven-file-activity-plugin</report> <report>maven-developer-activity-plugin</report> <report>maven-javadoc-plugin</report> <report>maven-jxr-plugin</report> <report>maven-junit-report-plugin</report> <report>maven-license-plugin</report> <report>maven-tasklist-plugin</report> <report>maven-pmd-plugin</report> <report>maven-simian-plugin</report> <report>maven-faq-plugin</report> <report>maven-jira-plugin</report> <report>maven-multiproject-plugin</report> <report>maven-multichanges-plugin</report> </reports> <repository> <connection>scm:cvs:pserver:[email protected]:/home/cvspublic:ws-wsrp4j</connection> <developerConnection>scm:cvs:ext:[email protected]:/home/cvs:ws-wsrp4j</developerConnection> <url>http://cvs.apache.org/viewcvs.cgi/ws-wsrp4j/</url> </repository> <organization> <name>Apache Software Foundation</name> <url>http://ws.apache.org/</url> <logo>http://portals.apache.org/images/apache-portals.gif</logo> </organization> <packageName>org.apache.wsrp4j</packageName> </project> From [email protected] Tue Jun 14 17:09:43 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 96175 invoked from network); 14 Jun 2005 17:09:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:09:42 -0000 Received: (qmail 29854 invoked by uid 500); 14 Jun 2005 17:09:42 -0000 Delivered-To: [email protected] Received: (qmail 29788 invoked by uid 500); 14 Jun 2005 17:09:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 29731 invoked by uid 500); 14 Jun 2005 17:09:39 -0000 Delivered-To: [email protected] Received: (qmail 29726 invoked by uid 99); 14 Jun 2005 17:09:39 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:09:38 -0700 Received: (qmail 96051 invoked by uid 2039); 14 Jun 2005 17:09:31 -0000 Date: 14 Jun 2005 17:09:31 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/site - New directory X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:09:31 ws-wsrp4j/sandbox/wsrp4j/site - New directory From [email protected] Tue Jun 14 17:09:53 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 96484 invoked from network); 14 Jun 2005 17:09:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:09:53 -0000 Received: (qmail 30448 invoked by uid 500); 14 Jun 2005 17:09:53 -0000 Delivered-To: [email protected] Received: (qmail 30417 invoked by uid 500); 14 Jun 2005 17:09:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 30379 invoked by uid 500); 14 Jun 2005 17:09:52 -0000 Delivered-To: [email protected] Received: (qmail 30374 invoked by uid 99); 14 Jun 2005 17:09:52 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:09:51 -0700 Received: (qmail 96157 invoked by uid 2039); 14 Jun 2005 17:09:39 -0000 Date: 14 Jun 2005 17:09:39 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/site/src - New directory X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:09:39 ws-wsrp4j/sandbox/wsrp4j/site/src - New directory From [email protected] Tue Jun 14 17:10:28 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 96769 invoked from network); 14 Jun 2005 17:10:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:10:28 -0000 Received: (qmail 31336 invoked by uid 500); 14 Jun 2005 17:10:24 -0000 Delivered-To: [email protected] Received: (qmail 31274 invoked by uid 500); 14 Jun 2005 17:10:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 31224 invoked by uid 500); 14 Jun 2005 17:10:20 -0000 Delivered-To: [email protected] Received: (qmail 31100 invoked by uid 99); 14 Jun 2005 17:10:17 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:10:16 -0700 Received: (qmail 96616 invoked by uid 2039); 14 Jun 2005 17:10:03 -0000 Date: 14 Jun 2005 17:10:03 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/site/src/xdocs - New directory X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:10:03 ws-wsrp4j/sandbox/wsrp4j/site/src/xdocs - New directory From [email protected] Tue Jun 14 17:10:37 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 96878 invoked from network); 14 Jun 2005 17:10:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:10:37 -0000 Received: (qmail 31801 invoked by uid 500); 14 Jun 2005 17:10:34 -0000 Delivered-To: [email protected] Received: (qmail 31712 invoked by uid 500); 14 Jun 2005 17:10:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 31639 invoked by uid 500); 14 Jun 2005 17:10:31 -0000 Delivered-To: [email protected] Received: (qmail 31604 invoked by uid 99); 14 Jun 2005 17:10:31 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:10:30 -0700 Received: (qmail 96659 invoked by uid 2039); 14 Jun 2005 17:10:10 -0000 Date: 14 Jun 2005 17:10:10 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/site/src/xdocs/images - New directory X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:10:10 ws-wsrp4j/sandbox/wsrp4j/site/src/xdocs/images - New directory From [email protected] Tue Jun 14 17:11:47 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97277 invoked from network); 14 Jun 2005 17:11:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:11:47 -0000 Received: (qmail 36202 invoked by uid 500); 14 Jun 2005 17:11:46 -0000 Delivered-To: [email protected] Received: (qmail 36120 invoked by uid 500); 14 Jun 2005 17:11:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 36096 invoked by uid 500); 14 Jun 2005 17:11:45 -0000 Delivered-To: [email protected] Received: (qmail 36093 invoked by uid 99); 14 Jun 2005 17:11:45 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:11:45 -0700 Received: (qmail 97000 invoked by uid 2039); 14 Jun 2005 17:11:01 -0000 Date: 14 Jun 2005 17:11:01 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/site/src/xdocs/images org-logo.jpg X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:11:01 Added: sandbox/wsrp4j/site/src/xdocs/images org-logo.jpg Log: Revision Changes Path 1.1 ws-wsrp4j/sandbox/wsrp4j/site/src/xdocs/images/org-logo.jpg <<Binary file>> From [email protected] Tue Jun 14 17:11:55 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97386 invoked from network); 14 Jun 2005 17:11:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:11:55 -0000 Received: (qmail 36548 invoked by uid 500); 14 Jun 2005 17:11:53 -0000 Delivered-To: [email protected] Received: (qmail 36534 invoked by uid 500); 14 Jun 2005 17:11:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 36521 invoked by uid 500); 14 Jun 2005 17:11:53 -0000 Delivered-To: [email protected] Received: (qmail 36516 invoked by uid 99); 14 Jun 2005 17:11:53 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:11:53 -0700 Received: (qmail 97262 invoked by uid 2039); 14 Jun 2005 17:11:45 -0000 Date: 14 Jun 2005 17:11:45 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/etc - New directory X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:11:45 ws-wsrp4j/sandbox/wsrp4j/etc - New directory From [email protected] Tue Jun 14 17:12:38 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97741 invoked from network); 14 Jun 2005 17:12:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:12:37 -0000 Received: (qmail 37863 invoked by uid 500); 14 Jun 2005 17:12:37 -0000 Delivered-To: [email protected] Received: (qmail 37832 invoked by uid 500); 14 Jun 2005 17:12:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 37819 invoked by uid 500); 14 Jun 2005 17:12:37 -0000 Delivered-To: [email protected] Received: (qmail 37805 invoked by uid 99); 14 Jun 2005 17:12:36 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:12:35 -0700 Received: (qmail 97641 invoked by uid 2039); 14 Jun 2005 17:12:20 -0000 Date: 14 Jun 2005 17:12:20 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/etc artifact-versions.ent X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:12:20 Added: sandbox/wsrp4j/etc artifact-versions.ent Log: Revision Changes Path 1.1 ws-wsrp4j/sandbox/wsrp4j/etc/artifact-versions.ent Index: artifact-versions.ent =================================================================== <!ENTITY wsrp4j-version "0.3-SNAPSHOT"> From [email protected] Tue Jun 14 17:16:16 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99498 invoked from network); 14 Jun 2005 17:16:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:16:16 -0000 Received: (qmail 49760 invoked by uid 500); 14 Jun 2005 17:16:15 -0000 Delivered-To: [email protected] Received: (qmail 49745 invoked by uid 500); 14 Jun 2005 17:16:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 49731 invoked by uid 500); 14 Jun 2005 17:16:15 -0000 Delivered-To: [email protected] Received: (qmail 49728 invoked by uid 99); 14 Jun 2005 17:16:15 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:16:13 -0700 Received: (qmail 99310 invoked by uid 2039); 14 Jun 2005 17:15:53 -0000 Date: 14 Jun 2005 17:15:53 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/commons - New directory X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:15:53 ws-wsrp4j/sandbox/wsrp4j/commons - New directory From [email protected] Tue Jun 14 17:23:00 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2138 invoked from network); 14 Jun 2005 17:23:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:23:00 -0000 Received: (qmail 71162 invoked by uid 500); 14 Jun 2005 17:23:00 -0000 Delivered-To: [email protected] Received: (qmail 71131 invoked by uid 500); 14 Jun 2005 17:22:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 71117 invoked by uid 500); 14 Jun 2005 17:22:59 -0000 Delivered-To: [email protected] Received: (qmail 71096 invoked by uid 99); 14 Jun 2005 17:22:59 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:22:58 -0700 Received: (qmail 1846 invoked by uid 2039); 14 Jun 2005 17:22:43 -0000 Date: 14 Jun 2005 17:22:43 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/commons/src - New directory X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:22:43 ws-wsrp4j/sandbox/wsrp4j/commons/src - New directory From [email protected] Tue Jun 14 17:23:15 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2284 invoked from network); 14 Jun 2005 17:23:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:23:15 -0000 Received: (qmail 71601 invoked by uid 500); 14 Jun 2005 17:23:14 -0000 Delivered-To: [email protected] Received: (qmail 71572 invoked by uid 500); 14 Jun 2005 17:23:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 71555 invoked by uid 500); 14 Jun 2005 17:23:14 -0000 Delivered-To: [email protected] Received: (qmail 71537 invoked by uid 99); 14 Jun 2005 17:23:14 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:23:13 -0700 Received: (qmail 2223 invoked by uid 2039); 14 Jun 2005 17:23:03 -0000 Date: 14 Jun 2005 17:23:03 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/commons/src/xdocs - New directory X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:23:03 ws-wsrp4j/sandbox/wsrp4j/commons/src/xdocs - New directory From [email protected] Tue Jun 14 17:26:04 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2948 invoked from network); 14 Jun 2005 17:26:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:26:04 -0000 Received: (qmail 78442 invoked by uid 500); 14 Jun 2005 17:26:03 -0000 Delivered-To: [email protected] Received: (qmail 78409 invoked by uid 500); 14 Jun 2005 17:26:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 78378 invoked by uid 500); 14 Jun 2005 17:26:03 -0000 Delivered-To: [email protected] Received: (qmail 78374 invoked by uid 99); 14 Jun 2005 17:26:02 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:26:01 -0700 Received: (qmail 2872 invoked by uid 2039); 14 Jun 2005 17:25:45 -0000 Date: 14 Jun 2005 17:25:44 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/consumer/src - New directory X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:25:44 ws-wsrp4j/sandbox/wsrp4j/consumer/src - New directory From [email protected] Tue Jun 14 17:26:09 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3059 invoked from network); 14 Jun 2005 17:26:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:26:09 -0000 Received: (qmail 78695 invoked by uid 500); 14 Jun 2005 17:26:08 -0000 Delivered-To: [email protected] Received: (qmail 78664 invoked by uid 500); 14 Jun 2005 17:26:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 78651 invoked by uid 500); 14 Jun 2005 17:26:08 -0000 Delivered-To: [email protected] Received: (qmail 78648 invoked by uid 99); 14 Jun 2005 17:26:07 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:26:07 -0700 Received: (qmail 2811 invoked by uid 2039); 14 Jun 2005 17:25:34 -0000 Date: 14 Jun 2005 17:25:34 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/consumer - New directory X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:25:34 ws-wsrp4j/sandbox/wsrp4j/consumer - New directory From [email protected] Tue Jun 14 17:26:37 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3227 invoked from network); 14 Jun 2005 17:26:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:26:36 -0000 Received: (qmail 79850 invoked by uid 500); 14 Jun 2005 17:26:26 -0000 Delivered-To: [email protected] Received: (qmail 79799 invoked by uid 500); 14 Jun 2005 17:26:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 79754 invoked by uid 500); 14 Jun 2005 17:26:25 -0000 Delivered-To: [email protected] Received: (qmail 79738 invoked by uid 99); 14 Jun 2005 17:26:24 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:26:23 -0700 Received: (qmail 2926 invoked by uid 2039); 14 Jun 2005 17:25:55 -0000 Date: 14 Jun 2005 17:25:55 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/consumer/src/java - New directory X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:25:55 ws-wsrp4j/sandbox/wsrp4j/consumer/src/java - New directory From [email protected] Tue Jun 14 17:26:54 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3444 invoked from network); 14 Jun 2005 17:26:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:26:53 -0000 Received: (qmail 81938 invoked by uid 500); 14 Jun 2005 17:26:53 -0000 Delivered-To: [email protected] Received: (qmail 81902 invoked by uid 500); 14 Jun 2005 17:26:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 81887 invoked by uid 500); 14 Jun 2005 17:26:52 -0000 Delivered-To: [email protected] Received: (qmail 81884 invoked by uid 99); 14 Jun 2005 17:26:52 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:26:51 -0700 Received: (qmail 3033 invoked by uid 2039); 14 Jun 2005 17:26:06 -0000 Date: 14 Jun 2005 17:26:06 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/consumer/src/webapp - New directory X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:26:06 ws-wsrp4j/sandbox/wsrp4j/consumer/src/webapp - New directory From [email protected] Tue Jun 14 17:27:00 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3551 invoked from network); 14 Jun 2005 17:26:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:26:59 -0000 Received: (qmail 82240 invoked by uid 500); 14 Jun 2005 17:26:59 -0000 Delivered-To: [email protected] Received: (qmail 82205 invoked by uid 500); 14 Jun 2005 17:26:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 82192 invoked by uid 500); 14 Jun 2005 17:26:58 -0000 Delivered-To: [email protected] Received: (qmail 82189 invoked by uid 99); 14 Jun 2005 17:26:58 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:26:58 -0700 Received: (qmail 3168 invoked by uid 2039); 14 Jun 2005 17:26:25 -0000 Date: 14 Jun 2005 17:26:25 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/consumer/src/xdocs - New directory X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:26:25 ws-wsrp4j/sandbox/wsrp4j/consumer/src/xdocs - New directory From [email protected] Tue Jun 14 17:27:31 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3776 invoked from network); 14 Jun 2005 17:27:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:27:30 -0000 Received: (qmail 83354 invoked by uid 500); 14 Jun 2005 17:27:30 -0000 Delivered-To: [email protected] Received: (qmail 83336 invoked by uid 500); 14 Jun 2005 17:27:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 83319 invoked by uid 500); 14 Jun 2005 17:27:29 -0000 Delivered-To: [email protected] Received: (qmail 83287 invoked by uid 99); 14 Jun 2005 17:27:29 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:27:28 -0700 Received: (qmail 3651 invoked by uid 2039); 14 Jun 2005 17:27:06 -0000 Date: 14 Jun 2005 17:27:06 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/consumer locator.ent locator.path X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:27:06 Added: sandbox/wsrp4j/consumer locator.ent locator.path Log: Revision Changes Path 1.1 ws-wsrp4j/sandbox/wsrp4j/consumer/locator.ent Index: locator.ent =================================================================== <!-- derive locator.ent from parent --> <!ENTITY % locator-ent SYSTEM "file:../locator.ent"> %locator-ent; 1.1 ws-wsrp4j/sandbox/wsrp4j/consumer/locator.path Index: locator.path =================================================================== ../ From [email protected] Tue Jun 14 17:28:47 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4486 invoked from network); 14 Jun 2005 17:28:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:28:47 -0000 Received: (qmail 85980 invoked by uid 500); 14 Jun 2005 17:28:46 -0000 Delivered-To: [email protected] Received: (qmail 85950 invoked by uid 500); 14 Jun 2005 17:28:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 85937 invoked by uid 500); 14 Jun 2005 17:28:46 -0000 Delivered-To: [email protected] Received: (qmail 85934 invoked by uid 99); 14 Jun 2005 17:28:46 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:28:42 -0700 Received: (qmail 4368 invoked by uid 2039); 14 Jun 2005 17:28:26 -0000 Date: 14 Jun 2005 17:28:26 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/consumer project.properties project.xml X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:28:26 Added: sandbox/wsrp4j/consumer project.properties project.xml Log: Revision Changes Path 1.1 ws-wsrp4j/sandbox/wsrp4j/consumer/project.properties Index: project.properties =================================================================== # Copyright 2003-2005 The Apache Software Foundation. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ------------------------------------------------------------------------------ # PROJECT PROPERTIES # ------------------------------------------------------------------------------ maven.war.src=${basedir}/src/webapp # ------------------------------------------------------------------------------ # CHECKSTYLE PROPERTIES # ------------------------------------------------------------------------------ maven.checkstyle.header.file = ${basedir}/../license-header.txt # ------------------------------------------------------------------------------ # LICENSE PROPERTIES #------------------------------------------------------------------------------- maven.license.licenseFile = ${basedir}/../LICENSE.txt # ------------------------------------------------------------------------------ # XDOC PROPERTIES #------------------------------------------------------------------------------- maven.docs.src = ${basedir}/src/xdocs # ------------------------------------------------------------------------------ # MULTIPROJECT PROPERTIES #------------------------------------------------------------------------------- maven.multiproject.type = war 1.1 ws-wsrp4j/sandbox/wsrp4j/consumer/project.xml Index: project.xml =================================================================== <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE project [ <!ENTITY % locator-entities SYSTEM "file:locator.ent"> %locator-entities; ]> <!-- Copyright 2003-2005 The Apache Software Foundation. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <project> <extend>../project.xml</extend> <id>wsrp4j-consumer</id> <name>WSRP4J Consumer</name> <shortDescription> WSRP4J Consumer allows portal servers to consumer WSRP remote portlets through a JSR-168 interface </shortDescription> <description> WSRP4J Consumer allows portal servers to consumer WSRP remote portlets through a JSR-168 interface </description> <packageName>org.apache.wsrp4j.consumer</packageName> <dependencies> <dependency> <groupId>wsrp4j</groupId> <artifactId>wsrp4j-commons</artifactId> <version>&wsrp4j-version;</version> </dependency> </dependencies> </project> From [email protected] Tue Jun 14 17:29:41 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4682 invoked from network); 14 Jun 2005 17:29:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:29:41 -0000 Received: (qmail 87426 invoked by uid 500); 14 Jun 2005 17:29:40 -0000 Delivered-To: [email protected] Received: (qmail 87393 invoked by uid 500); 14 Jun 2005 17:29:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 87380 invoked by uid 500); 14 Jun 2005 17:29:40 -0000 Delivered-To: [email protected] Received: (qmail 87375 invoked by uid 99); 14 Jun 2005 17:29:39 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:29:38 -0700 Received: (qmail 4633 invoked by uid 2039); 14 Jun 2005 17:29:25 -0000 Date: 14 Jun 2005 17:29:25 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/producer/src - New directory X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:29:25 ws-wsrp4j/sandbox/wsrp4j/producer/src - New directory From [email protected] Tue Jun 14 17:29:48 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4851 invoked from network); 14 Jun 2005 17:29:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:29:48 -0000 Received: (qmail 87883 invoked by uid 500); 14 Jun 2005 17:29:47 -0000 Delivered-To: [email protected] Received: (qmail 87870 invoked by uid 500); 14 Jun 2005 17:29:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 87857 invoked by uid 500); 14 Jun 2005 17:29:47 -0000 Delivered-To: [email protected] Received: (qmail 87854 invoked by uid 99); 14 Jun 2005 17:29:47 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:29:46 -0700 Received: (qmail 2107 invoked by uid 2039); 14 Jun 2005 17:22:54 -0000 Date: 14 Jun 2005 17:22:54 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/commons/src/java - New directory X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:22:54 ws-wsrp4j/sandbox/wsrp4j/commons/src/java - New directory From [email protected] Tue Jun 14 17:29:50 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4932 invoked from network); 14 Jun 2005 17:29:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:29:50 -0000 Received: (qmail 88080 invoked by uid 500); 14 Jun 2005 17:29:49 -0000 Delivered-To: [email protected] Received: (qmail 88035 invoked by uid 500); 14 Jun 2005 17:29:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 88019 invoked by uid 500); 14 Jun 2005 17:29:49 -0000 Delivered-To: [email protected] Received: (qmail 88013 invoked by uid 99); 14 Jun 2005 17:29:49 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:29:47 -0700 Received: (qmail 4645 invoked by uid 2039); 14 Jun 2005 17:29:35 -0000 Date: 14 Jun 2005 17:29:35 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/producer/src/java - New directory X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:29:35 ws-wsrp4j/sandbox/wsrp4j/producer/src/java - New directory From [email protected] Tue Jun 14 17:30:09 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5062 invoked from network); 14 Jun 2005 17:30:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:30:09 -0000 Received: (qmail 88677 invoked by uid 500); 14 Jun 2005 17:30:09 -0000 Delivered-To: [email protected] Received: (qmail 88646 invoked by uid 500); 14 Jun 2005 17:30:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 88621 invoked by uid 500); 14 Jun 2005 17:30:08 -0000 Delivered-To: [email protected] Received: (qmail 88617 invoked by uid 99); 14 Jun 2005 17:30:08 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:30:06 -0700 Received: (qmail 5017 invoked by uid 2039); 14 Jun 2005 17:29:56 -0000 Date: 14 Jun 2005 17:29:56 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/producer/src/webapp/WEB-INF - New directory X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:29:56 ws-wsrp4j/sandbox/wsrp4j/producer/src/webapp/WEB-INF - New directory From [email protected] Tue Jun 14 17:30:10 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5117 invoked from network); 14 Jun 2005 17:30:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:30:10 -0000 Received: (qmail 88843 invoked by uid 500); 14 Jun 2005 17:30:09 -0000 Delivered-To: [email protected] Received: (qmail 88659 invoked by uid 500); 14 Jun 2005 17:30:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 88624 invoked by uid 500); 14 Jun 2005 17:30:08 -0000 Delivered-To: [email protected] Received: (qmail 88618 invoked by uid 99); 14 Jun 2005 17:30:08 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:30:07 -0700 Received: (qmail 4837 invoked by uid 2039); 14 Jun 2005 17:29:47 -0000 Date: 14 Jun 2005 17:29:47 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/producer/src/webapp - New directory X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:29:47 ws-wsrp4j/sandbox/wsrp4j/producer/src/webapp - New directory From [email protected] Tue Jun 14 17:30:28 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5350 invoked from network); 14 Jun 2005 17:30:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:30:28 -0000 Received: (qmail 89470 invoked by uid 500); 14 Jun 2005 17:30:27 -0000 Delivered-To: [email protected] Received: (qmail 89436 invoked by uid 500); 14 Jun 2005 17:30:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 89422 invoked by uid 500); 14 Jun 2005 17:30:27 -0000 Delivered-To: [email protected] Received: (qmail 89419 invoked by uid 99); 14 Jun 2005 17:30:27 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:30:24 -0700 Received: (qmail 5051 invoked by uid 2039); 14 Jun 2005 17:30:06 -0000 Date: 14 Jun 2005 17:30:06 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/producer/src/xdocs - New directory X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:30:06 ws-wsrp4j/sandbox/wsrp4j/producer/src/xdocs - New directory From [email protected] Tue Jun 14 17:31:02 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5586 invoked from network); 14 Jun 2005 17:31:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:31:02 -0000 Received: (qmail 90660 invoked by uid 500); 14 Jun 2005 17:30:58 -0000 Delivered-To: [email protected] Received: (qmail 90619 invoked by uid 500); 14 Jun 2005 17:30:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 90586 invoked by uid 500); 14 Jun 2005 17:30:57 -0000 Delivered-To: [email protected] Received: (qmail 90571 invoked by uid 99); 14 Jun 2005 17:30:57 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:30:54 -0700 Received: (qmail 5484 invoked by uid 2039); 14 Jun 2005 17:30:40 -0000 Date: 14 Jun 2005 17:30:40 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/producer locator.ent locator.path project.properties project.xml X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:30:40 Added: sandbox/wsrp4j/producer locator.ent locator.path project.properties project.xml Log: Revision Changes Path 1.1 ws-wsrp4j/sandbox/wsrp4j/producer/locator.ent Index: locator.ent =================================================================== <!-- derive locator.ent from parent --> <!ENTITY % locator-ent SYSTEM "file:../locator.ent"> %locator-ent; 1.1 ws-wsrp4j/sandbox/wsrp4j/producer/locator.path Index: locator.path =================================================================== ../ 1.1 ws-wsrp4j/sandbox/wsrp4j/producer/project.properties Index: project.properties =================================================================== # Copyright 2003-2005 The Apache Software Foundation. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ------------------------------------------------------------------------------ # PROJECT PROPERTIES # ------------------------------------------------------------------------------ maven.war.src=${basedir}/src/webapp # ------------------------------------------------------------------------------ # CHECKSTYLE PROPERTIES # ------------------------------------------------------------------------------ maven.checkstyle.header.file = ${basedir}/../license-header.txt # ------------------------------------------------------------------------------ # LICENSE PROPERTIES #------------------------------------------------------------------------------- maven.license.licenseFile = ${basedir}/../LICENSE.txt # ------------------------------------------------------------------------------ # XDOC PROPERTIES #------------------------------------------------------------------------------- maven.docs.src = ${basedir}/src/xdocs # ------------------------------------------------------------------------------ # MULTIPROJECT PROPERTIES #------------------------------------------------------------------------------- maven.multiproject.type = war 1.1 ws-wsrp4j/sandbox/wsrp4j/producer/project.xml Index: project.xml =================================================================== <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE project [ <!ENTITY % locator-entities SYSTEM "file:locator.ent"> %locator-entities; ]> <!-- Copyright 2003-2005 The Apache Software Foundation. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <project> <extend>../project.xml</extend> <id>wsrp4j-producer</id> <name>WSRP4J Producer</name> <shortDescription> WSRP4J Producer allows JSR-168 portlets to be exposed as WSRP-compliant portlets </shortDescription> <description> WSRP4J Producer allows JSR-168 portlets to be exposed as WSRP-compliant portlets </description> <packageName>org.apache.wsrp4j.producer</packageName> <dependencies> <dependency> <groupId>wsrp4j</groupId> <artifactId>wsrp4j-commons</artifactId> <version>&wsrp4j-version;</version> </dependency> </dependencies> </project> From [email protected] Tue Jun 14 17:31:54 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5865 invoked from network); 14 Jun 2005 17:31:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:31:54 -0000 Received: (qmail 92471 invoked by uid 500); 14 Jun 2005 17:31:53 -0000 Delivered-To: [email protected] Received: (qmail 92437 invoked by uid 500); 14 Jun 2005 17:31:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 92423 invoked by uid 500); 14 Jun 2005 17:31:53 -0000 Delivered-To: [email protected] Received: (qmail 92420 invoked by uid 99); 14 Jun 2005 17:31:52 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:31:51 -0700 Received: (qmail 5820 invoked by uid 2039); 14 Jun 2005 17:31:25 -0000 Date: 14 Jun 2005 17:31:25 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/testportlet - New directory X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:31:25 ws-wsrp4j/sandbox/wsrp4j/testportlet - New directory From [email protected] Tue Jun 14 17:32:04 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6017 invoked from network); 14 Jun 2005 17:32:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:32:04 -0000 Received: (qmail 92970 invoked by uid 500); 14 Jun 2005 17:32:03 -0000 Delivered-To: [email protected] Received: (qmail 92835 invoked by uid 500); 14 Jun 2005 17:32:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 92822 invoked by uid 500); 14 Jun 2005 17:32:03 -0000 Delivered-To: [email protected] Received: (qmail 92817 invoked by uid 99); 14 Jun 2005 17:32:02 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:32:01 -0700 Received: (qmail 5848 invoked by uid 2039); 14 Jun 2005 17:31:46 -0000 Date: 14 Jun 2005 17:31:46 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/testportlet/src/java - New directory X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:31:46 ws-wsrp4j/sandbox/wsrp4j/testportlet/src/java - New directory From [email protected] Tue Jun 14 17:32:17 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6126 invoked from network); 14 Jun 2005 17:32:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:32:16 -0000 Received: (qmail 93338 invoked by uid 500); 14 Jun 2005 17:32:16 -0000 Delivered-To: [email protected] Received: (qmail 93306 invoked by uid 500); 14 Jun 2005 17:32:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 93290 invoked by uid 500); 14 Jun 2005 17:32:15 -0000 Delivered-To: [email protected] Received: (qmail 93266 invoked by uid 99); 14 Jun 2005 17:32:15 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:32:15 -0700 Received: (qmail 5977 invoked by uid 2039); 14 Jun 2005 17:31:59 -0000 Date: 14 Jun 2005 17:31:59 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/testportlet/src/java/org - New directory X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:31:59 ws-wsrp4j/sandbox/wsrp4j/testportlet/src/java/org - New directory From [email protected] Tue Jun 14 17:32:35 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6330 invoked from network); 14 Jun 2005 17:32:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:32:34 -0000 Received: (qmail 94097 invoked by uid 500); 14 Jun 2005 17:32:24 -0000 Delivered-To: [email protected] Received: (qmail 94051 invoked by uid 500); 14 Jun 2005 17:32:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 94036 invoked by uid 500); 14 Jun 2005 17:32:23 -0000 Delivered-To: [email protected] Received: (qmail 94023 invoked by uid 99); 14 Jun 2005 17:32:23 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:32:23 -0700 Received: (qmail 6091 invoked by uid 2039); 14 Jun 2005 17:32:07 -0000 Date: 14 Jun 2005 17:32:07 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/testportlet/src/java/org/apache - New directory X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:32:07 ws-wsrp4j/sandbox/wsrp4j/testportlet/src/java/org/apache - New directory From [email protected] Tue Jun 14 17:32:56 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6460 invoked from network); 14 Jun 2005 17:32:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:32:56 -0000 Received: (qmail 96410 invoked by uid 500); 14 Jun 2005 17:32:55 -0000 Delivered-To: [email protected] Received: (qmail 96377 invoked by uid 500); 14 Jun 2005 17:32:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 96364 invoked by uid 500); 14 Jun 2005 17:32:54 -0000 Delivered-To: [email protected] Received: (qmail 96361 invoked by uid 99); 14 Jun 2005 17:32:54 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:32:53 -0700 Received: (qmail 6237 invoked by uid 2039); 14 Jun 2005 17:32:23 -0000 Date: 14 Jun 2005 17:32:23 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/testportlet/src/java/org/apache/wsrp4j/testportlet - New directory X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:32:23 ws-wsrp4j/sandbox/wsrp4j/testportlet/src/java/org/apache/wsrp4j/testportlet - New directory From [email protected] Tue Jun 14 17:33:19 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6632 invoked from network); 14 Jun 2005 17:33:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:33:19 -0000 Received: (qmail 97262 invoked by uid 500); 14 Jun 2005 17:33:19 -0000 Delivered-To: [email protected] Received: (qmail 97138 invoked by uid 500); 14 Jun 2005 17:33:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 97125 invoked by uid 500); 14 Jun 2005 17:33:18 -0000 Delivered-To: [email protected] Received: (qmail 97073 invoked by uid 99); 14 Jun 2005 17:33:17 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:33:16 -0700 Received: (qmail 3147 invoked by uid 2039); 14 Jun 2005 17:26:15 -0000 Date: 14 Jun 2005 17:26:15 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/consumer/src/webapp/WEB-INF - New directory X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:26:15 ws-wsrp4j/sandbox/wsrp4j/consumer/src/webapp/WEB-INF - New directory From [email protected] Tue Jun 14 17:33:35 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6837 invoked from network); 14 Jun 2005 17:33:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:33:34 -0000 Received: (qmail 97858 invoked by uid 500); 14 Jun 2005 17:33:34 -0000 Delivered-To: [email protected] Received: (qmail 97813 invoked by uid 500); 14 Jun 2005 17:33:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 97800 invoked by uid 500); 14 Jun 2005 17:33:33 -0000 Delivered-To: [email protected] Received: (qmail 97797 invoked by uid 99); 14 Jun 2005 17:33:33 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:33:33 -0700 Received: (qmail 6741 invoked by uid 2039); 14 Jun 2005 17:33:22 -0000 Date: 14 Jun 2005 17:33:22 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/testportlet/src/webapp - New directory X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:33:22 ws-wsrp4j/sandbox/wsrp4j/testportlet/src/webapp - New directory From [email protected] Tue Jun 14 17:33:46 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6945 invoked from network); 14 Jun 2005 17:33:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:33:45 -0000 Received: (qmail 98289 invoked by uid 500); 14 Jun 2005 17:33:45 -0000 Delivered-To: [email protected] Received: (qmail 98252 invoked by uid 500); 14 Jun 2005 17:33:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 98232 invoked by uid 500); 14 Jun 2005 17:33:45 -0000 Delivered-To: [email protected] Received: (qmail 98216 invoked by uid 99); 14 Jun 2005 17:33:44 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:33:44 -0700 Received: (qmail 6796 invoked by uid 2039); 14 Jun 2005 17:33:32 -0000 Date: 14 Jun 2005 17:33:32 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/testportlet/src/webapp/WEB-INF - New directory X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:33:32 ws-wsrp4j/sandbox/wsrp4j/testportlet/src/webapp/WEB-INF - New directory From [email protected] Tue Jun 14 17:35:53 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7659 invoked from network); 14 Jun 2005 17:35:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:35:52 -0000 Received: (qmail 3946 invoked by uid 500); 14 Jun 2005 17:35:52 -0000 Delivered-To: [email protected] Received: (qmail 3932 invoked by uid 500); 14 Jun 2005 17:35:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 3913 invoked by uid 500); 14 Jun 2005 17:35:51 -0000 Delivered-To: [email protected] Received: (qmail 3907 invoked by uid 99); 14 Jun 2005 17:35:51 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:35:50 -0700 Received: (qmail 7611 invoked by uid 2039); 14 Jun 2005 17:35:40 -0000 Date: 14 Jun 2005 17:35:40 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/testportlet/src/xdocs - New directory X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:35:40 ws-wsrp4j/sandbox/wsrp4j/testportlet/src/xdocs - New directory From [email protected] Tue Jun 14 17:36:07 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7849 invoked from network); 14 Jun 2005 17:36:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:36:07 -0000 Received: (qmail 4437 invoked by uid 500); 14 Jun 2005 17:36:05 -0000 Delivered-To: [email protected] Received: (qmail 4394 invoked by uid 500); 14 Jun 2005 17:36:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 4379 invoked by uid 500); 14 Jun 2005 17:36:03 -0000 Delivered-To: [email protected] Received: (qmail 4376 invoked by uid 99); 14 Jun 2005 17:36:03 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:36:02 -0700 Received: (qmail 7688 invoked by uid 2039); 14 Jun 2005 17:35:53 -0000 Date: 14 Jun 2005 17:35:53 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/testportlet/src/webapp/jsp - New directory X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:35:53 ws-wsrp4j/sandbox/wsrp4j/testportlet/src/webapp/jsp - New directory From [email protected] Tue Jun 14 17:36:51 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8119 invoked from network); 14 Jun 2005 17:36:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:36:50 -0000 Received: (qmail 5652 invoked by uid 500); 14 Jun 2005 17:36:50 -0000 Delivered-To: [email protected] Received: (qmail 5591 invoked by uid 500); 14 Jun 2005 17:36:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 5578 invoked by uid 500); 14 Jun 2005 17:36:49 -0000 Delivered-To: [email protected] Received: (qmail 5575 invoked by uid 99); 14 Jun 2005 17:36:49 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:36:48 -0700 Received: (qmail 4612 invoked by uid 2039); 14 Jun 2005 17:29:17 -0000 Date: 14 Jun 2005 17:29:17 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/producer - New directory X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:29:17 ws-wsrp4j/sandbox/wsrp4j/producer - New directory From [email protected] Tue Jun 14 17:36:55 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8199 invoked from network); 14 Jun 2005 17:36:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:36:55 -0000 Received: (qmail 5938 invoked by uid 500); 14 Jun 2005 17:36:55 -0000 Delivered-To: [email protected] Received: (qmail 5903 invoked by uid 500); 14 Jun 2005 17:36:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 5890 invoked by uid 500); 14 Jun 2005 17:36:54 -0000 Delivered-To: [email protected] Received: (qmail 5887 invoked by uid 99); 14 Jun 2005 17:36:54 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:36:49 -0700 Received: (qmail 8071 invoked by uid 2039); 14 Jun 2005 17:36:39 -0000 Date: 14 Jun 2005 17:36:39 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/testportlet locator.ent locator.path project.properties project.xml X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:36:39 Added: sandbox/wsrp4j/testportlet locator.ent locator.path project.properties project.xml Log: Revision Changes Path 1.1 ws-wsrp4j/sandbox/wsrp4j/testportlet/locator.ent Index: locator.ent =================================================================== <!-- derive locator.ent from parent --> <!ENTITY % locator-ent SYSTEM "file:../locator.ent"> %locator-ent; 1.1 ws-wsrp4j/sandbox/wsrp4j/testportlet/locator.path Index: locator.path =================================================================== ../ 1.1 ws-wsrp4j/sandbox/wsrp4j/testportlet/project.properties Index: project.properties =================================================================== # Copyright 2003-2005 The Apache Software Foundation. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ------------------------------------------------------------------------------ # PROJECT PROPERTIES # ------------------------------------------------------------------------------ maven.war.src=${basedir}/src/webapp # ------------------------------------------------------------------------------ # CHECKSTYLE PROPERTIES # ------------------------------------------------------------------------------ maven.checkstyle.header.file = ${basedir}/../license-header.txt # ------------------------------------------------------------------------------ # LICENSE PROPERTIES #------------------------------------------------------------------------------- maven.license.licenseFile = ${basedir}/../LICENSE.txt # ------------------------------------------------------------------------------ # XDOC PROPERTIES #------------------------------------------------------------------------------- maven.docs.src = ${basedir}/src/xdocs # ------------------------------------------------------------------------------ # MULTIPROJECT PROPERTIES #------------------------------------------------------------------------------- maven.multiproject.type = war 1.1 ws-wsrp4j/sandbox/wsrp4j/testportlet/project.xml Index: project.xml =================================================================== <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE project [ <!ENTITY % locator-entities SYSTEM "file:locator.ent"> %locator-entities; ]> <!-- Copyright 2003-2005 The Apache Software Foundation. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <project> <extend>../project.xml</extend> <id>wsrp4j-testportlet</id> <name>WSRP4J Test Portlet</name> <shortDescription> WSRP Test Portlet is an example JSR-168 portlet for testing purposes </shortDescription> <description> WSRP Test Portlet is an example JSR-168 portlet for testing purposes </description> <packageName>org.apache.wsrp4j.testportlet</packageName> <build> <nagEmailAddress>[email protected]</nagEmailAddress> <sourceDirectory>src/java</sourceDirectory> <defaultGoal></defaultGoal> </build> <dependencies> <dependency> <groupId>portlet-api</groupId> <artifactId>portlet-api</artifactId> <version>1.0</version> <properties> <war.bundle.jar>false</war.bundle.jar> </properties> </dependency> </dependencies> </project> From [email protected] Tue Jun 14 17:37:37 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8465 invoked from network); 14 Jun 2005 17:37:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:37:36 -0000 Received: (qmail 7438 invoked by uid 500); 14 Jun 2005 17:37:36 -0000 Delivered-To: [email protected] Received: (qmail 7414 invoked by uid 500); 14 Jun 2005 17:37:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 7397 invoked by uid 500); 14 Jun 2005 17:37:35 -0000 Delivered-To: [email protected] Received: (qmail 7385 invoked by uid 99); 14 Jun 2005 17:37:35 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:37:29 -0700 Received: (qmail 8424 invoked by uid 2039); 14 Jun 2005 17:37:18 -0000 Date: 14 Jun 2005 17:37:18 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/testportlet/src/webapp/jsp test1.jsp test2.jsp test3.jsp test4.jsp X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:37:18 Added: sandbox/wsrp4j/testportlet/src/webapp/jsp test1.jsp test2.jsp test3.jsp test4.jsp Log: Revision Changes Path 1.1 ws-wsrp4j/sandbox/wsrp4j/testportlet/src/webapp/jsp/test1.jsp Index: test1.jsp =================================================================== <%@ page session="true" %> <%@ taglib uri='/WEB-INF/tld/portlet.tld' prefix='portlet'%> <%@ page import="javax.portlet.*"%> <%@ page import="java.util.*"%> <portlet:defineObjects/> <h2>URL Types Test</h2> Time: <%=Calendar.getInstance().getTime().toString()%> <BR/>Current Mode: <%=renderRequest.getPortletMode()%> <BR/>Current Window State: <%=renderRequest.getWindowState()%> <P/> <FONT SIZE="-1"><BR/> <B>Render: </B> <% PortletURL url = renderResponse.createRenderURL(); %> Click here on <A HREF="<%=url.toString()%>">Render</A> URL. <BR/><BR/> <B>Action: </B> <% url = renderResponse.createActionURL(); url.setParameter("ACTION","1"); %> Click here on <A HREF="<%=url.toString()%>">Action</A> URL. <BR/> <I>Group Scope : <% PortletSession psession = renderRequest.getPortletSession(); Object group = psession.getAttribute("counter1",PortletSession.APPLICATION_SCOPE); if(group != null) { out.print((String)group); } else { out.print("0"); } %> </I><BR/> <I>Portlet Scope : <% Object portlet = psession.getAttribute("counter2",PortletSession.PORTLET_SCOPE); if(portlet != null) { out.print((String)portlet); } else { out.print("0"); } %> </I><BR/><BR/> <B>Resource: </B> <BR/> <IMG SRC="<%=renderResponse.encodeURL(renderRequest.getContextPath() + "/images/project-logo.jpg")%>" align="TOP"/> <BR/><BR/> <B>Namespace: </B> <%=renderResponse.getNamespace()%>someFunctionHere()<BR/> <HR/> <B>Navigation</B><BR/> Page 1<BR/> <% url = renderResponse.createRenderURL(); url.setParameter("jspName","test2.jsp"); %> <A HREF="<%=url.toString()%>">Next &gt;&gt;</A> </FONT> 1.1 ws-wsrp4j/sandbox/wsrp4j/testportlet/src/webapp/jsp/test2.jsp Index: test2.jsp =================================================================== <%@ page session="true" %> <%@ taglib uri='/WEB-INF/tld/portlet.tld' prefix='portlet'%> <%@ page import="javax.portlet.*"%> <%@ page import="java.util.*"%> <portlet:defineObjects/> <h2>Modes Test</h2> Time: <%=Calendar.getInstance().getTime().toString()%> <BR/>Current Mode: <%=renderRequest.getPortletMode()%> <BR/>Current Window State: <%=renderRequest.getWindowState()%> <P/> <FONT SIZE="-1"><BR/> <B>View Mode: </B> <% PortletURL url = renderResponse.createRenderURL(); url.setPortletMode(PortletMode.VIEW); %> <A HREF="<%=url.toString()%>">Click</A> to change into VIEW mode. <BR/><BR/> <B>Help Mode: </B> <% url = renderResponse.createRenderURL(); url.setPortletMode(PortletMode.HELP); %> <A HREF="<%=url.toString()%>">Click</A> to change into HELP mode. <BR/><BR/> <B>Edit Mode: </B> <% url = renderResponse.createRenderURL(); url.setPortletMode(PortletMode.EDIT); %> <A HREF="<%=url.toString()%>">Click</A> to change into EDIT mode. <BR/><BR/> <HR/> <B>Navigation</B><BR/> Page 2<BR/> <% url = renderResponse.createRenderURL(); url.setParameter("jspName","test1.jsp"); %> <A HREF="<%=url.toString()%>">&lt;&lt; Prev </A> &nbsp; <% url = renderResponse.createRenderURL(); url.setParameter("jspName","test3.jsp"); %> <A HREF="<%=url.toString()%>">Next &gt;&gt;</A> </FONT> 1.1 ws-wsrp4j/sandbox/wsrp4j/testportlet/src/webapp/jsp/test3.jsp Index: test3.jsp =================================================================== <%@ page session="true" %> <%@ taglib uri='/WEB-INF/tld/portlet.tld' prefix='portlet'%> <%@ page import="javax.portlet.*"%> <%@ page import="java.util.*"%> <portlet:defineObjects/> <h2>Window States Test</h2> Time: <%=Calendar.getInstance().getTime().toString()%> <BR/>Current Mode: <%=renderRequest.getPortletMode()%> <BR/>Current Window State: <%=renderRequest.getWindowState()%> <P/> <FONT SIZE="-1"><BR/> <B>Normal State: </B> <% PortletURL url = renderResponse.createRenderURL(); url.setWindowState(WindowState.NORMAL); %> <A HREF="<%=url.toString()%>">Click</A> to change into NORMAL state. <BR/><BR/> <B>Maximized State: </B> <% url = renderResponse.createRenderURL(); url.setWindowState(WindowState.MAXIMIZED); %> <A HREF="<%=url.toString()%>">Click</A> to change into MAXIMIZED state. <BR/><BR/> <B>Minimized Mode: </B> <% url = renderResponse.createRenderURL(); url.setWindowState(WindowState.MINIMIZED); %> <A HREF="<%=url.toString()%>">Click</A> to change into MINIMIZED state. <BR/><BR/> <HR/> <B>Navigation</B><BR/> Page 3<BR/> <% url = renderResponse.createRenderURL(); url.setParameter("jspName","test2.jsp"); %> <A HREF="<%=url.toString()%>">&lt;&lt; Prev </A> &nbsp; <% url = renderResponse.createRenderURL(); url.setParameter("jspName","test4.jsp"); %> <A HREF="<%=url.toString()%>">Next &gt;&gt;</A> </FONT> 1.1 ws-wsrp4j/sandbox/wsrp4j/testportlet/src/webapp/jsp/test4.jsp Index: test4.jsp =================================================================== <%@ page session="true" %> <%@ taglib uri='/WEB-INF/tld/portlet.tld' prefix='portlet'%> <%@ page import="javax.portlet.*"%> <%@ page import="java.util.*"%> <portlet:defineObjects/> <h2>Form Support Test</h2> Time: <%=Calendar.getInstance().getTime().toString()%> <BR/>Current Mode: <%=renderRequest.getPortletMode()%> <BR/>Current Window State: <%=renderRequest.getWindowState()%> <P/> <FONT SIZE="-1"><BR/> <B>Hello <% PortletPreferences preferences = renderRequest.getPreferences(); String prop = preferences.getValue("name",""); out.print(prop); %> </B> <P/> <FONT SIZE="-1"><BR/> Please enter your name.<BR/> <BR/> <FORM ACTION="<%=renderResponse.createActionURL()%>" method="post"> <TABLE> <TR> <TD>Your Name :</TD> <TD> <INPUT type="text" name="name" size="25"/> </TD> </TR> </TABLE> <INPUT type="submit" value="Submit"/> <INPUT type="reset" value="Reset"/> </FORM><BR/> <HR/> <B>Navigation</B><BR/> Page 4<BR/> <% PortletURL url = renderResponse.createRenderURL(); url.setParameter("jspName","test3.jsp"); %> <A HREF="<%=url.toString()%>">&lt;&lt; Prev </A> &nbsp; From [email protected] Tue Jun 14 17:38:24 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8912 invoked from network); 14 Jun 2005 17:38:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:38:24 -0000 Received: (qmail 9083 invoked by uid 500); 14 Jun 2005 17:38:23 -0000 Delivered-To: [email protected] Received: (qmail 9057 invoked by uid 500); 14 Jun 2005 17:38:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 9041 invoked by uid 500); 14 Jun 2005 17:38:23 -0000 Delivered-To: [email protected] Received: (qmail 9035 invoked by uid 99); 14 Jun 2005 17:38:23 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:38:22 -0700 Received: (qmail 5832 invoked by uid 2039); 14 Jun 2005 17:31:33 -0000 Date: 14 Jun 2005 17:31:33 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/testportlet/src - New directory X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:31:33 ws-wsrp4j/sandbox/wsrp4j/testportlet/src - New directory From [email protected] Tue Jun 14 17:39:23 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9331 invoked from network); 14 Jun 2005 17:39:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:39:23 -0000 Received: (qmail 10885 invoked by uid 500); 14 Jun 2005 17:39:22 -0000 Delivered-To: [email protected] Received: (qmail 10865 invoked by uid 500); 14 Jun 2005 17:39:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 10852 invoked by uid 500); 14 Jun 2005 17:39:22 -0000 Delivered-To: [email protected] Received: (qmail 10819 invoked by uid 99); 14 Jun 2005 17:39:21 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:39:19 -0700 Received: (qmail 9197 invoked by uid 2039); 14 Jun 2005 17:39:03 -0000 Date: 14 Jun 2005 17:39:03 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/testportlet/src/webapp/WEB-INF portlet.xml X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:39:03 Added: sandbox/wsrp4j/testportlet/src/webapp/WEB-INF portlet.xml Log: Revision Changes Path 1.1 ws-wsrp4j/sandbox/wsrp4j/testportlet/src/webapp/WEB-INF/portlet.xml Index: portlet.xml =================================================================== <?xml version="1.0" encoding="UTF-8"?> <portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"> <portlet> <description>WSRP Test Portlet</description> <portlet-name>WSRPTestPortlet</portlet-name> <display-name>WSRP Test Portlet</display-name> <portlet-class>org.apache.wsrp4j.testportlet.TestPortlet</portlet-class> <expiration-cache>-1</expiration-cache> <supports> <mime-type>text/html</mime-type> <portlet-mode>VIEW</portlet-mode> <portlet-mode>EDIT</portlet-mode> <portlet-mode>HELP</portlet-mode> </supports> <supported-locale>en</supported-locale> <portlet-info> <title>WSRP Test Portlet</title> <short-title>WSRP Test</short-title> <keywords>WSRP, WSRP4J, Test, Testen</keywords> </portlet-info> </portlet> </portlet-app> From [email protected] Tue Jun 14 17:43:12 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11236 invoked from network); 14 Jun 2005 17:43:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:43:11 -0000 Received: (qmail 22783 invoked by uid 500); 14 Jun 2005 17:43:08 -0000 Delivered-To: [email protected] Received: (qmail 22737 invoked by uid 500); 14 Jun 2005 17:43:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 22703 invoked by uid 500); 14 Jun 2005 17:43:07 -0000 Delivered-To: [email protected] Received: (qmail 22687 invoked by uid 99); 14 Jun 2005 17:43:06 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:43:06 -0700 Received: (qmail 11015 invoked by uid 2039); 14 Jun 2005 17:42:53 -0000 Date: 14 Jun 2005 17:42:53 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/testportlet/src/webapp/images pic1.gif project-logo.jpg X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:42:53 Added: sandbox/wsrp4j/testportlet/src/webapp/images pic1.gif project-logo.jpg Log: Revision Changes Path 1.1 ws-wsrp4j/sandbox/wsrp4j/testportlet/src/webapp/images/pic1.gif <<Binary file>> 1.1 ws-wsrp4j/sandbox/wsrp4j/testportlet/src/webapp/images/project-logo.jpg <<Binary file>> From [email protected] Tue Jun 14 17:44:12 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11568 invoked from network); 14 Jun 2005 17:44:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:44:12 -0000 Received: (qmail 26897 invoked by uid 500); 14 Jun 2005 17:44:11 -0000 Delivered-To: [email protected] Received: (qmail 26853 invoked by uid 500); 14 Jun 2005 17:44:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 26840 invoked by uid 500); 14 Jun 2005 17:44:11 -0000 Delivered-To: [email protected] Received: (qmail 26834 invoked by uid 99); 14 Jun 2005 17:44:11 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:44:09 -0700 Received: (qmail 7782 invoked by uid 2039); 14 Jun 2005 17:36:02 -0000 Date: 14 Jun 2005 17:36:02 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/testportlet/src/webapp/images - New directory X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:36:02 ws-wsrp4j/sandbox/wsrp4j/testportlet/src/webapp/images - New directory From [email protected] Tue Jun 14 17:51:50 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15315 invoked from network); 14 Jun 2005 17:51:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:51:50 -0000 Received: (qmail 45433 invoked by uid 500); 14 Jun 2005 17:51:50 -0000 Delivered-To: [email protected] Received: (qmail 45402 invoked by uid 500); 14 Jun 2005 17:51:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 45389 invoked by uid 500); 14 Jun 2005 17:51:49 -0000 Delivered-To: [email protected] Received: (qmail 45362 invoked by uid 99); 14 Jun 2005 17:51:49 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:51:45 -0700 Received: (qmail 2716 invoked by uid 2039); 14 Jun 2005 17:24:54 -0000 Date: 14 Jun 2005 17:24:54 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/commons locator.ent locator.path project.properties project.xml X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:24:54 Added: sandbox/wsrp4j/commons locator.ent locator.path project.properties project.xml Log: Revision Changes Path 1.1 ws-wsrp4j/sandbox/wsrp4j/commons/locator.ent Index: locator.ent =================================================================== <!-- derive locator.ent from parent --> <!ENTITY % locator-ent SYSTEM "file:../locator.ent"> %locator-ent; 1.1 ws-wsrp4j/sandbox/wsrp4j/commons/locator.path Index: locator.path =================================================================== ../ 1.1 ws-wsrp4j/sandbox/wsrp4j/commons/project.properties Index: project.properties =================================================================== # Copyright 2003-2005 The Apache Software Foundation. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ------------------------------------------------------------------------------ # PROJECT PROPERTIES # ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------ # CHECKSTYLE PROPERTIES # ------------------------------------------------------------------------------ maven.checkstyle.header.file = ${basedir}/../license-header.txt # ------------------------------------------------------------------------------ # LICENSE PROPERTIES #------------------------------------------------------------------------------- maven.license.licenseFile = ${basedir}/../LICENSE.txt # ------------------------------------------------------------------------------ # XDOC PROPERTIES #------------------------------------------------------------------------------- maven.docs.src = ${basedir}/src/xdocs # ------------------------------------------------------------------------------ # MULTIPROJECT PROPERTIES #------------------------------------------------------------------------------- maven.multiproject.type = jar 1.1 ws-wsrp4j/sandbox/wsrp4j/commons/project.xml Index: project.xml =================================================================== <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE project [ <!ENTITY % locator-entities SYSTEM "file:locator.ent"> %locator-entities; ]> <!-- Copyright 2003-2005 The Apache Software Foundation. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <project> <extend>../project.xml</extend> <id>wsrp4j-commons</id> <name>WSRP4J Commons</name> <shortDescription> WSRP Commons is a placeholder for code shared by the producer and the consumer </shortDescription> <description> WSRP Commons is a placeholder for code shared by the producer and the consumer </description> <packageName>org.apache.wsrp4j.commons</packageName> </project> From [email protected] Tue Jun 14 17:59:32 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18143 invoked from network); 14 Jun 2005 17:59:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:59:31 -0000 Received: (qmail 69508 invoked by uid 500); 14 Jun 2005 17:59:31 -0000 Delivered-To: [email protected] Received: (qmail 69484 invoked by uid 500); 14 Jun 2005 17:59:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 69459 invoked by uid 500); 14 Jun 2005 17:59:30 -0000 Delivered-To: [email protected] Received: (qmail 69456 invoked by uid 99); 14 Jun 2005 17:59:30 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:59:29 -0700 Received: (qmail 6119 invoked by uid 2039); 14 Jun 2005 17:32:14 -0000 Date: 14 Jun 2005 17:32:14 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/testportlet/src/java/org/apache/wsrp4j - New directory X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:32:14 ws-wsrp4j/sandbox/wsrp4j/testportlet/src/java/org/apache/wsrp4j - New directory From [email protected] Tue Jun 14 17:59:52 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18362 invoked from network); 14 Jun 2005 17:59:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 17:59:52 -0000 Received: (qmail 70682 invoked by uid 500); 14 Jun 2005 17:59:51 -0000 Delivered-To: [email protected] Received: (qmail 70665 invoked by uid 500); 14 Jun 2005 17:59:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 70643 invoked by uid 500); 14 Jun 2005 17:59:51 -0000 Delivered-To: [email protected] Received: (qmail 70632 invoked by uid 99); 14 Jun 2005 17:59:50 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 10:59:47 -0700 Received: (qmail 6547 invoked by uid 2039); 14 Jun 2005 17:32:59 -0000 Date: 14 Jun 2005 17:32:59 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/sandbox/wsrp4j/testportlet/src/java/org/apache/wsrp4j/testportlet TestPortlet.java X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dlouzan 2005/06/14 10:32:59 Added: sandbox/wsrp4j/testportlet/src/java/org/apache/wsrp4j/testportlet TestPortlet.java Log: Revision Changes Path 1.1 ws-wsrp4j/sandbox/wsrp4j/testportlet/src/java/org/apache/wsrp4j/testportlet/TestPortlet.java Index: TestPortlet.java =================================================================== /* * Copyright 2000-2001,2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.wsrp4j.testportlet; import javax.portlet.*; import java.io.IOException; public class TestPortlet extends GenericPortlet { public void processAction (ActionRequest request, ActionResponse actionResponse) throws PortletException, java.io.IOException { String action = request.getParameter("ACTION"); if(action != null && action.equals("1")) handleCounter(request); String nameValue = request.getParameter("name"); if(nameValue != null) updatePreferences(request, "name", nameValue); } private void updatePreferences(ActionRequest request, String key, String value) { PortletPreferences prefs = request.getPreferences(); try { prefs.setValue(key, value); prefs.store(); } catch(Exception e) { getPortletConfig().getPortletContext().log("[Error] TestPortlet: Unable to modify preference '"+key+"'.",e); } } private void handleCounter(ActionRequest request) { String counter1 = (String) request.getPortletSession().getAttribute("counter1", PortletSession.APPLICATION_SCOPE); if (counter1 != null) { counter1 = Integer.toString(Integer.parseInt(counter1)+1); } else { counter1 = "1"; } request.getPortletSession().setAttribute( "counter1", counter1, PortletSession.APPLICATION_SCOPE); String counter2 = (String) request.getPortletSession().getAttribute("counter2", PortletSession.PORTLET_SCOPE); if (counter2 != null) { counter2 = Integer.toString(Integer.parseInt(counter2)+1); } else { counter2 = "1"; } request.getPortletSession().setAttribute( "counter2", counter2, PortletSession.PORTLET_SCOPE); } public void doDispatch (RenderRequest request, RenderResponse response) throws PortletException, IOException { WindowState state = request.getWindowState(); if ( ! state.equals(WindowState.MINIMIZED)) { String jspName = request.getParameter("jspName"); if (jspName==null) { PortletSession session = request.getPortletSession(false); if (session!=null) { jspName = (String)session.getAttribute("jspName", PortletSession.PORTLET_SCOPE); } if (jspName==null) jspName = "test1.jsp"; } else { PortletSession session = request.getPortletSession(false); if (session!=null) { session.setAttribute("jspName", jspName, PortletSession.PORTLET_SCOPE); } } PortletContext context = getPortletContext(); PortletRequestDispatcher rd = context.getRequestDispatcher("/jsp/"+jspName); rd.include(request,response); } } } From [email protected] Tue Jun 14 18:06:18 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21371 invoked from network); 14 Jun 2005 18:06:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Jun 2005 18:06:18 -0000 Received: (qmail 86332 invoked by uid 500); 14 Jun 2005 18:06:18 -0000 Delivered-To: [email protected] Received: (qmail 86315 invoked by uid 500); 14 Jun 2005 18:06:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 86292 invoked by uid 99); 14 Jun 2005 18:06:17 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_HELO_PASS,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from mail.udc.es (HELO mail.udc.es) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 14 Jun 2005 11:06:17 -0700 Received: from localhost (localhost [161.129.204.104]) by mail.udc.es ("Servidor de correo del SIAIN") with ESMTP id 2DB32308EB for <[email protected]>; Tue, 14 Jun 2005 19:56:29 +0200 (CEST) Received: from mail.udc.es ([161.129.204.104]) by localhost (mail.udc.es [161.129.204.104]) (amavisd-new, port 10024) with LMTP id 05224-01-3 for <[email protected]>; Tue, 14 Jun 2005 19:56:29 +0200 (CEST) Received: from [161.129.204.104] (www.tic.udc.es [161.129.204.104]) by mail.udc.es ("Servidor de correo del SIAIN") with ESMTP id A18E1308EC for <[email protected]>; Tue, 14 Jun 2005 19:56:26 +0200 (CEST) Message-ID: <[email protected]> Date: Tue, 14 Jun 2005 20:05:36 +0200 From: =?UTF-8?B?RGllZ28gTG91esOhbg==?= <[email protected]> User-Agent: Mozilla Thunderbird 1.0.2-1.3.3 (X11/20050513) X-Accept-Language: en-us, en MIME-Version: 1.0 To: wsrp4j-dev <[email protected]> Subject: Sandbox for mavenized WSRP4J X-Enigmail-Version: 161.129.204.104 OpenPGP: id=F9497A51; url=http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xF9497A51 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I've just created a preliminary version of a mavenized WSRP4J build. You can find it in sandbox/wsrp4j directory, currently only implements the basic directory structure and site build, I'll start adding sources in the next days. It's based on Jetspeed2 build. Feedback welcome, specially from you Vishal, as you have already mavenized your own version of wsrp4j ^_^. Regards. Diego. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFCrxxwgyzZYflJelERApBtAJsGdFA7+bSZMEEuPvNi8hf8nmdsYACeMHQD dTmXoYiuBEPp+luuFBzl7RA= =Af5H -----END PGP SIGNATURE----- From [email protected] Wed Jun 15 20:45:57 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11124 invoked from network); 15 Jun 2005 20:45:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Jun 2005 20:45:56 -0000 Received: (qmail 37040 invoked by uid 500); 15 Jun 2005 20:45:56 -0000 Delivered-To: [email protected] Received: (qmail 36994 invoked by uid 500); 15 Jun 2005 20:45:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 36978 invoked by uid 99); 15 Jun 2005 20:45:55 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from smtp-relay0.sct.com (HELO smtp-relay.sct.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 15 Jun 2005 13:45:52 -0700 Received: from m030006.sct.com (161.129.204.104) by smtp-relay.sct.com with ESMTP; 15 Jun 2005 16:45:33 -0400 X-IronPort-AV: i="3.93,201,1115006400"; d="scan'208"; a="67268:sNHT15950711" Received: from sctmnot9.sct.com (sctmnot9.sct.com [161.129.204.104]) by m030006.sct.com (8.12.10/8.12.10) with ESMTP id j5FKjLnY008598 for <[email protected]>; Wed, 15 Jun 2005 16:45:21 -0400 Received: from slcnot1.sct.com ([161.129.204.104]) by sctmnot9.sct.com (Lotus Domino Release 6.0.5) with ESMTP id 2005061516452112-1367 ; Wed, 15 Jun 2005 16:45:21 -0400 Received: from vgwin2k10 ([161.129.204.104]) by slcnot1.sct.com (Lotus Domino Release 6.0.4) with ESMTP id 2005061514451916-4578 ; Wed, 15 Jun 2005 14:45:19 -0600 From: "Vishal Goenka" <[email protected]> To: <[email protected]> Subject: RE: Sandbox for mavenized WSRP4J Date: Wed, 15 Jun 2005 14:45:11 -0600 Organization: SunGard SCT MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcVxC8L/dWISDxTOSc+lwBPKo4OXIgA3b1Zg In-Reply-To: <[email protected]> X-MIMETrack: Itemize by SMTP Server on slcnot1/SCT(Release 6.0.4|June 01, 2004) at 06/15/2005 14:45:19, Serialize by Router on slcnot1/SCT(Release 6.0.4|June 01, 2004) at 06/15/2005 14:45:21, Serialize complete at 06/15/2005 14:45:21, Itemize by SMTP Server on sctmnot9/SCT(Release 6.0.5|March 27, 2005) at 06/15/2005 16:45:21, Serialize by Router on sctmnot9/SCT(Release 6.0.5|March 27, 2005) at 06/15/2005 16:45:22, Serialize complete at 06/15/2005 16:45:22 Message-ID: <[email protected]> Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Diego, Looked at the your maven files (maven.xml and project.xml). I'm = impressed with the project information that is in that file. At this point it = doesn't have much dependency information, which I suppose you will add once you = add the source files. It would be easiest for me to simply share my files so = you can see what I did. Let me know if you would prefer that.=20 Since my wsrp4j version contains only producer and common (not the = consumer code), I was able to reduce the dependencies to the bare minimum. Also, = I noted that the Ant build.xml did some token replacements during = deployment, in particular the @HOME@ and @HTTPPORT@ tokens. I had to include that to = my maven.xml as well.=20 Let me know if you need more information on these. =20 -- Vishal Goenka SunGard SCT Advisory Technical Architect, Luminis Solutions www.sungardsct.com =20 > -----Original Message----- > From: Diego Louz=E1n [mailto:[email protected]]=20 > Sent: Tuesday, June 14, 2005 12:06 PM > To: wsrp4j-dev > Subject: Sandbox for mavenized WSRP4J >=20 > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > I've just created a preliminary version of a mavenized WSRP4J=20 > build. You can find it in sandbox/wsrp4j directory, currently=20 > only implements the basic directory structure and site build,=20 > I'll start adding sources in the next days. > It's based on Jetspeed2 build. Feedback welcome, specially=20 > from you Vishal, as you have already mavenized your own=20 > version of wsrp4j ^_^. >=20 > Regards. > Diego. > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.6 (GNU/Linux) >=20 > iD8DBQFCrxxwgyzZYflJelERApBtAJsGdFA7+bSZMEEuPvNi8hf8nmdsYACeMHQD > dTmXoYiuBEPp+luuFBzl7RA=3D > =3DAf5H > -----END PGP SIGNATURE----- From [email protected] Thu Jun 16 16:28:59 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89988 invoked from network); 16 Jun 2005 16:28:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Jun 2005 16:28:59 -0000 Received: (qmail 36891 invoked by uid 500); 16 Jun 2005 16:28:58 -0000 Delivered-To: [email protected] Received: (qmail 36849 invoked by uid 500); 16 Jun 2005 16:28:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 36835 invoked by uid 500); 16 Jun 2005 16:28:57 -0000 Delivered-To: [email protected] Received: (qmail 36815 invoked by uid 99); 16 Jun 2005 16:28:57 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 16 Jun 2005 09:28:52 -0700 Received: (qmail 89783 invoked by uid 1732); 16 Jun 2005 16:28:31 -0000 Date: 16 Jun 2005 16:28:31 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j STATUS X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N jmacna 2005/06/16 09:28:31 Modified: . STATUS Log: Update status for June 2005 Revision Changes Path 1.4 +158 -0 ws-wsrp4j/STATUS Index: STATUS =================================================================== RCS file: /home/cvs/ws-wsrp4j/STATUS,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- STATUS 19 Jul 2004 14:01:30 -0000 1.3 +++ STATUS 16 Jun 2005 16:28:31 -0000 1.4 @@ -1,3 +1,161 @@ + +!!! Incubation status reports +!!2005-06-15 +{{{ +Status Report for the Incubator + +* is the STATUS file up to date? (also post link) + + The cwiki file on the incubator site is up to date as well as the STATUS file in the project directory. + http://incubator.apache.org/projects/wsrp4j.html + +* any legal, cross-project or personal issues that still need to be addressed? + + No. + +* what has been done for incubation since the last report? + + 1. Annointed a new committer: dlouzan + 2. Updated to Axiz 1.2 . + 3. Various bug fixes. + 4. Voted to mavenize. + 5. Voted to convert to Subversion. + +* plans and expectations for the next period? + + 1. Continue development work on outstanding WSRP 1.0 items + (see TODO wiki: http://wiki.apache.org/wiki/apachewiki.cgi?WsrpToDoList) + 2. Continue to build the community by encouraging developers + to contribute code. + 3. Will probably ask for a vote to graduate from the Incubator into Portals. + 4. Mavenize + 5. Convert to Subversion + 6. Refactor Provider interfaces to develop new uPortal provider + +* any recommendations for how incubation could run more smoothly for you? + + None. + +* etc (your own thoughts on what is important would be helpful!) +}}} +!!2004-07-19 +{{{ +Status Report for the Incubator + +* is the STATUS file up to date? (also post link) + + The cwiki file on the incubator site is up to date as well as the STATUS file in the project directory. + http://incubator.apache.org/projects/wsrp4j.html + +* any legal, cross-project or personal issues + that still need to be addressed? + + No. + +* what has been done for incubation since the last report? + + 1. Annointed a new committer: sgoldstein + 2. Various bug fixes. + 3. Restructured the website and added the Portals logo. + 4. Migrated to the new moinmoin wiki. + +* plans and expectations for the next period? + + 1. Continue development work on outstanding WSRP 1.0 items + (see TODO wiki: http://wiki.apache.org/wiki/apachewiki.cgi?WsrpToDoList) + 2. Continue to build the community by encouraging developers + to contribute code. We are building a user population, but few + outside developers have made code contributions. + 3. Will probably ask for a vote to graduate from the Incubator into Portals. + +* any recommendations for how incubation could run more smoothly for you? + + None. + +* etc (your own thoughts on what is important would be helpful!) +}}} + +!!2004-06-14 +{{{ +Status Report for the Incubator + +* is the STATUS file up to date? (also post link) + + The cwiki file on the incubator site is up to date. + http://incubator.apache.org/projects/wsrp4j.html + +* any legal, cross-project or personal issues + that still need to be addressed? + + It is expected that the WSRP4J project will graduate to the portals TLP. + +* what has been done for incubation since the last report? + + 1. Moved from Bugzilla to JIRA + 2. Various bug fixes. + +* plans and expectations for the next period? + + 1. Continue development work on outstanding WSRP 1.0 items + (see TODO wiki: http://nagoya.apache.org/wiki/apachewiki.cgi?WsrpToDoList) + 2. Continue to build the community by encouraging developers + to contribute code. We are building a user population, but few + outside developers have made code contributions. + +* any recommendations for how incubation could run more smoothly for you? + + None. + +* etc (your own thoughts on what is important would be helpful!) +}}} + +!!2004-01-19 +{{{ +Status report for the Incubator + +* is the STATUS file up to date? (also post link) + + The cwiki file on the incubator site is more or less up to date. + http://incubator.apache.org/projects/wsrp4j.html + +* any legal, cross-project or personal issues + that still need to be addressed? + + There is a effort under way to create a portals super project + that would have the WSRP4J project as a sub project. This is a + desireable thing for the WSRP4J project since it would give us + focus as a portal-related technology. + +* what has been done for incubation since the last report? + + This is the first report. However, since we started we have: + 1. Imported all the code into CVS. + 2. Granted committer rights to initial committers. + 3. Established mailing lists. + 4. Created Bugzilla components, although no bugs have been + reported yet using Bugzilla. + 5. Created a website using Forrest. + 6. Create a TODO wiki to encourage collaboration on features + and enhancements. + 7. Joined the Gump nightly build process. + 8. Voted to join portals.apache.org + 9. Voted to substitute JIRA for Bugzilla + +* plans and expectations for the next period? + + 1. Continue development work on outstanding WSRP 1.0 items + (see TODO wiki: http://nagoya.apache.org/wiki/apachewiki.cgi?WsrpToDoList) + 2. Continue to build the community by encouraging developers + to contribute code. We are building a user population, but few + outside developers have made code contributions. + +* any recommendations for how incubation could run more smoothly for you? + + I'm confused on the difference between a STATUS file and the cwiki + page on the Incubator website. Do I need both? + +* etc (your own thoughts on what is important would be helpful!) +}}} Incubator Exit Criteria (put an X next to item when it is complete): From [email protected] Thu Jun 16 16:54:06 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2196 invoked from network); 16 Jun 2005 16:54:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Jun 2005 16:54:05 -0000 Received: (qmail 473 invoked by uid 500); 16 Jun 2005 16:54:05 -0000 Delivered-To: [email protected] Received: (qmail 459 invoked by uid 500); 16 Jun 2005 16:54:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 445 invoked by uid 500); 16 Jun 2005 16:54:04 -0000 Delivered-To: [email protected] Received: (qmail 442 invoked by uid 99); 16 Jun 2005 16:54:04 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 16 Jun 2005 09:53:59 -0700 Received: (qmail 1987 invoked by uid 1732); 16 Jun 2005 16:53:27 -0000 Date: 16 Jun 2005 16:53:27 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j wsrp4j.cwiki X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N jmacna 2005/06/16 09:53:27 Added: . wsrp4j.cwiki Log: Initial version Revision Changes Path 1.1 ws-wsrp4j/wsrp4j.cwiki Index: wsrp4j.cwiki =================================================================== !!! WSRP4J Project Incubation Status This page tracks the project status, incubator-wise. For more general project status, look on the project [website|http://ws.apache.org/wsrp4j/]. !!! Description The WSRP4J Project is an implementation of WSRP 1.0 Producer. WSRP is an OASIS specification that describes a protocol which allows portlets to be accessed remotely using Web Services. !!! News * We developed Google Summer of Code proposal for a chunk of new features we have a student ready to implement them. * We voted to move to Subversion and Maven. * We have received contributions from outside developers, which we hope grows into more diverse participation. * I ([email protected]) have met with constituents from higher education that are using WSRP4J and see a strong role for WSRP in their software plans, and I have encouraged them to contribute to the project publicly. We have seen increased participation from these teams already. !!! Project info || item || type || reference | Website | www | [http://ws.apache.org/wsrp4j/|http://ws.apache.org/wsrp4j/] | . | wiki | [wsrp4j wiki|http://wiki.apache.org/portals/WSRP4J] | Mailing list | dev | [[email protected]|mailto:[email protected]] | . | cvs | [[email protected]|mailto:[email protected]] | Bug tracking | JIRA | [http://issues.apache.org/jira|http://issues.apache.org/jira] | Source code | CVS | ws-wsrp4j | Mentors | [[email protected]|mailto:[email protected]] | Sam Ruby | . | [[email protected]|mailto:[email protected]] | Davanum Srinivas | Committers | [[email protected]|mailto:[email protected]] | Richard Jacob | . | [[email protected]|mailto:[email protected]] | David Sean Taylor | . | [[email protected]|mailto:[email protected]] | Julie MacNaught | . | [[email protected]|mailto:[email protected]] | Stefan Behl | . | [[email protected]|mailto:[email protected]] | Carsten Ziegeler | . | [[email protected]|mailto:[email protected]] | Peter Fischer | . | [[email protected]|mailto:[email protected]] | Santiago Gala | . | [[email protected]|mailto:[email protected]] | Andrew C. Oliver | . | [[email protected]|mailto:[email protected]] | Davanum Srinivas | . | [[email protected]|mailto:[email protected]] | Scott Goldstein | . | [[email protected]|mailto:[email protected]] | Diego Louzan Martinez | Extra | . | . !!! Incubation work items !! Project Setup This is the first phase on incubation, needed to start the [email protected]. '' Item assignment is shown by the Apache id.'' '' Completed tasks are shown by the completion date (YYYY-MM-dd). '' ! Identify the project to be incubated || date || item | 2003-07-25 | Make sure that the requested project name does not already exist and check www.nameprotect.com to be sure that the name is not already trademarked for an existing software product. | N/A | If request from an existing Apache project to adopt an external package, then ask the Apache project for the cvs module and mail address names. | 2003-01-21 | If request from outside Apache to enter an existing Apache project, then post a message to that project for them to decide on acceptance. | N/A | If request from anywhere to become a stand-alone PMC, then assess the fit with the ASF, and create the lists and modules under the incubator address/module names if accepted. ! Interim responsibility || date || item | 2003-07-25 | Identify all the Mentors for the incubation, by asking all that can be Mentors. | 2003-09-03 | Subscribe all Mentors on the pmc and general lists. | 2003-09-03 | Give all Mentors access to all incubator CVS modules. (to be done by PMC chair) | 2003-09-03 | Tell Mentors to track progress in the file 'incubator/projects/{project.name}.cwiki' ! Copyright || date || item | 2003-09-02 | Check and make sure that the papers that transfer rights to the ASF been received. It is only necessary to transfer rights for the package, the core code, and any new code produced by the project. | 2004-03-09 | Check and make sure that the files that have been donated have been updated to reflect the new ASF copyright. ! Verify distribution rights || date || item | 2003-08-.. | Check and make sure that for all code included with the distribution that is not under the Apache license, e have the right to combine with Apache-licensed code and redistribute. | 2003-08-.. | Check and make sure that all source code distributed by the project is covered by one or more of the following approved licenses: Apache, BSD, Artistic, MIT/X, MIT/W3C, MPL 1.1, or something with essentially the same terms. ! Establish a list of active committers || date || item | 2003-09-03 | Check that all active committers have submitted a contributors agreement. | 2004-01-07 | Add all active committers in the STATUS file. | 2003-09-03 | Ask root for the creation of committers' accounts on cvs.apache.org. ! Infrastructure || date || item | 2003-09-03 | Ask infrastructure to create source repository modules and add thecommitters to the avail file. | 2003-09-03 | Ask infrastructure to set up and archive Mailing lists. | 2003-09-03 | Decide about and then ask infrastructure to setup an issuetracking system (Bugzilla, Scarab, Jira). | 2003-09-03 | Migrate the project to our infrastructure. ! Project specific ''Add project specific tasks here.'' !! Incubation These action items have to be checked for during the whole incubation process. '' These items are not to be signed as done during incubation, as they may change during incubation. '' '' They are to be looked into and described in the status reports and completed in the request for incubation signoff. '' ! Collaborative Development * Have all of the active long-term volunteers been identified and acknowledged as committers on the project? Yes * Are there three or more independent committers? (The legal definition of independent is long and boring, but basically it means that there is no binding relationship between the individuals, such as a shared employer, that is capable of overriding their free will as individuals, directly or indirectly.) Yes. * Are project decisions being made in public by the committers? Yes * Are the decision-making guidelines published and agreed to by all of the committers? ! Licensing awareness * Are all licensing, trademark, credit issues being taken care of and acknowleged by all committers? Yes ! Project Specific ''Add project specific tasks here.'' !! Exit ''Things to check for before voting the project out.'' ! Organizational acceptance of responsibility for the project * If graduating to an existing PMC, has the PMC voted to accept it? * If graduating to a new PMC, has the board voted to accept it? ! Incubator sign-off * Has the Incubator decided that the project has accomplished all of the above tasks? From [email protected] Thu Jun 16 16:58:56 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4151 invoked from network); 16 Jun 2005 16:58:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Jun 2005 16:58:55 -0000 Received: (qmail 11136 invoked by uid 500); 16 Jun 2005 16:58:49 -0000 Delivered-To: [email protected] Received: (qmail 11029 invoked by uid 500); 16 Jun 2005 16:58:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 10806 invoked by uid 99); 16 Jun 2005 16:58:48 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from igw2.watson.ibm.com (HELO igw2.watson.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 16 Jun 2005 09:58:47 -0700 Received: from sp1n293en1.watson.ibm.com (sp1n293en1.watson.ibm.com [161.129.204.104]) by igw2.watson.ibm.com (8.13.1/8.13.1/8.13.1-2005-04-25 igw) with ESMTP id j5GGxqp7005077 for <[email protected]>; Thu, 16 Jun 2005 12:59:52 -0400 Received: from sp1n293en1.watson.ibm.com (localhost [161.129.204.104]) by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_2) with ESMTP id j5GGwT246842 for <[email protected]>; Thu, 16 Jun 2005 12:58:30 -0400 Received: from [161.129.204.104] (sig-9-49-151-170.mts.ibm.com [161.129.204.104]) by sp1n293en1.watson.ibm.com (8.11.7-20030924/8.11.7/01-14-2004_1) with ESMTP id j5GGwSl38134 for <[email protected]>; Thu, 16 Jun 2005 12:58:29 -0400 Message-ID: <[email protected]> Date: Thu, 16 Jun 2005 12:58:27 -0400 From: Julie MacNaught <[email protected]> Reply-To: [email protected] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Does SwingConsumer still work, anyone? X-Enigmail-Version: 161.129.204.104 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Has anyone gotten the SwingConsumer to work recently, i.e. since the Axis 1.2 upgrade? I will start to debug it now, but it should just run after install.... I'm not getting any messages through the tunnel. -- Julie MacNaught IBM Research [email protected] [email protected] DADB E3B5 8CB7 6B9B F4A0 8BF7 E830 1848 16A8 D3AB From [email protected] Thu Jun 16 17:34:07 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20956 invoked from network); 16 Jun 2005 17:34:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Jun 2005 17:34:07 -0000 Received: (qmail 93827 invoked by uid 500); 16 Jun 2005 17:34:06 -0000 Delivered-To: [email protected] Received: (qmail 93809 invoked by uid 500); 16 Jun 2005 17:34:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 93751 invoked by uid 99); 16 Jun 2005 17:34:06 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from merc95.na.sas.com (HELO merc95.na.sas.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 16 Jun 2005 10:34:02 -0700 Received: from MERC27.na.sas.com ([161.129.204.104]) by merc95.na.sas.com with InterScan Messaging Security Suite; Thu, 16 Jun 2005 13:33:47 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: RE: Does SwingConsumer still work, anyone? Date: Thu, 16 Jun 2005 13:33:45 -0400 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Does SwingConsumer still work, anyone? Thread-Index: AcVylK9Wk7ehihEfQ12abkglNp2PVAABL9Bw From: "Kevin A. Smith" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I was able to get it working, but had to edit the run.bat file to get = the correct values for the proxy host and port. Without those edits, the = SwingConsumer would not run. --Kevin -------------------- "Never be afraid to try something new. Remember that a lone amateur = built the Ark. A large group of professionals built the Titanic." = --Dave Barry -----Original Message----- From: Julie MacNaught [mailto:[email protected]]=20 Sent: Thursday, June 16, 2005 12:58 PM To: [email protected] Subject: Does SwingConsumer still work, anyone? Has anyone gotten the SwingConsumer to work recently, i.e. since the = Axis 1.2 upgrade? I will start to debug it now, but it should just run after install.... = I'm not getting any messages through the tunnel. -- Julie MacNaught IBM Research [email protected] [email protected] DADB E3B5 8CB7 6B9B F4A0 8BF7 E830 1848 16A8 D3AB From [email protected] Fri Jun 17 10:12:56 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 43190 invoked from network); 17 Jun 2005 10:12:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Jun 2005 10:12:56 -0000 Received: (qmail 9338 invoked by uid 500); 17 Jun 2005 10:12:55 -0000 Delivered-To: [email protected] Received: (qmail 9281 invoked by uid 500); 17 Jun 2005 10:12:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 9265 invoked by uid 99); 17 Jun 2005 10:12:54 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from mail.udc.es (HELO mail.udc.es) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Jun 2005 03:12:54 -0700 Received: from localhost (localhost [161.129.204.104]) by mail.udc.es ("Servidor de correo del SIAIN") with ESMTP id 5E10A30A29 for <[email protected]>; Fri, 17 Jun 2005 09:54:45 +0200 (CEST) Received: from mail.udc.es ([161.129.204.104]) by localhost (mail.udc.es [161.129.204.104]) (amavisd-new, port 10024) with LMTP id 01245-02-2 for <[email protected]>; Fri, 17 Jun 2005 09:54:45 +0200 (CEST) Received: from [161.129.204.104] (www.tic.udc.es [161.129.204.104]) by mail.udc.es ("Servidor de correo del SIAIN") with ESMTP id 1C51E30A0A for <[email protected]>; Fri, 17 Jun 2005 09:54:45 +0200 (CEST) Message-ID: <[email protected]> Date: Fri, 17 Jun 2005 10:03:57 +0200 From: =?UTF-8?B?RGllZ28gTG91esOhbg==?= <[email protected]> User-Agent: Mozilla Thunderbird 1.0.2-1.3.3 (X11/20050513) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: Sandbox for mavenized WSRP4J References: <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 161.129.204.104 OpenPGP: id=F9497A51; url=http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xF9497A51 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Yes, getting your source code would be a good idea. Please attach it to a JIRA issue or send it to me directly. BTW, I'm still thinking how to integrate swing consumer in all of this. Should I create its own subproject (like "swingconsumer") or should it live inside "consumer" subproject? WDYT? Regards. Diego. Vishal Goenka wrote: > Diego, > > Looked at the your maven files (maven.xml and project.xml). I'm impressed > with the project information that is in that file. At this point it doesn't > have much dependency information, which I suppose you will add once you add > the source files. It would be easiest for me to simply share my files so you > can see what I did. Let me know if you would prefer that. > > Since my wsrp4j version contains only producer and common (not the consumer > code), I was able to reduce the dependencies to the bare minimum. Also, I > noted that the Ant build.xml did some token replacements during deployment, > in particular the @HOME@ and @HTTPPORT@ tokens. I had to include that to my > maven.xml as well. > > Let me know if you need more information on these. > > -- > Vishal Goenka > SunGard SCT > Advisory Technical Architect, Luminis Solutions > www.sungardsct.com > > > >>-----Original Message----- >>From: Diego Louzán [mailto:[email protected]] >>Sent: Tuesday, June 14, 2005 12:06 PM >>To: wsrp4j-dev >>Subject: Sandbox for mavenized WSRP4J >> > I've just created a preliminary version of a mavenized WSRP4J > build. You can find it in sandbox/wsrp4j directory, currently > only implements the basic directory structure and site build, > I'll start adding sources in the next days. > It's based on Jetspeed2 build. Feedback welcome, specially > from you Vishal, as you have already mavenized your own > version of wsrp4j ^_^. > > Regards. > Diego. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFCsoPtgyzZYflJelERAig7AKChX7geKZEKfC28zc2fGFkVq3lSHwCeNLxX gVp8lM35wWg7zY8W+tiRkb0= =BYbE -----END PGP SIGNATURE----- From [email protected] Fri Jun 17 14:37:58 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77367 invoked from network); 17 Jun 2005 14:37:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Jun 2005 14:37:58 -0000 Received: (qmail 46950 invoked by uid 500); 17 Jun 2005 14:37:58 -0000 Delivered-To: [email protected] Received: (qmail 46913 invoked by uid 500); 17 Jun 2005 14:37:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 46891 invoked by uid 99); 17 Jun 2005 14:37:56 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from ipex1.johnshopkins.edu (HELO ipex1.johnshopkins.edu) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Jun 2005 07:37:55 -0700 Received: from jhuml3.jhu.edu (161.129.204.104) by ipex1.johnshopkins.edu with ESMTP; 17 Jun 2005 08:34:33 -0400 X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAA== X-IronPort-AV: i="3.93,207,1115006400"; d="scan'208"; a="70801027:sNHT21321666" Received: from [161.129.204.104] (esm.qis.net [161.129.204.104]) by jhuml3.jhu.edu (PMDF V6.2-X20 #30840) with ESMTPA id <[email protected]> for [email protected]; Fri, 17 Jun 2005 08:34:33 -0400 (EDT) Date: Fri, 17 Jun 2005 08:39:45 -0400 From: Elliot Metsger <[email protected]> Subject: Re: Sandbox for mavenized WSRP4J In-reply-to: <[email protected]> To: [email protected] Message-id: <[email protected]> MIME-version: 1.0 Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 8BIT X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-FOAF: http://uppertank.net/foaf/foaf.rdf References: <[email protected]> <[email protected]> X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N My preference would be to see the swingconsumer sit by itself, but since it probably will use most of the same classes I can see the argument for keeping them together. Elliot Diego Louzán wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Yes, getting your source code would be a good idea. Please attach it to a JIRA > issue or send it to me directly. > > BTW, I'm still thinking how to integrate swing consumer in all of this. Should > I create its own subproject (like "swingconsumer") or should it live inside > "consumer" subproject? WDYT? > > Regards. > Diego. > > Vishal Goenka wrote: > >>Diego, >> >>Looked at the your maven files (maven.xml and project.xml). I'm impressed >>with the project information that is in that file. At this point it doesn't >>have much dependency information, which I suppose you will add once you add >>the source files. It would be easiest for me to simply share my files so you >>can see what I did. Let me know if you would prefer that. >> >>Since my wsrp4j version contains only producer and common (not the consumer >>code), I was able to reduce the dependencies to the bare minimum. Also, I >>noted that the Ant build.xml did some token replacements during deployment, >>in particular the @HOME@ and @HTTPPORT@ tokens. I had to include that to my >>maven.xml as well. >> >>Let me know if you need more information on these. >> >>-- >>Vishal Goenka >>SunGard SCT >>Advisory Technical Architect, Luminis Solutions >>www.sungardsct.com >> >> >> >> >>>-----Original Message----- >>>From: Diego Louzán [mailto:[email protected]] >>>Sent: Tuesday, June 14, 2005 12:06 PM >>>To: wsrp4j-dev >>>Subject: Sandbox for mavenized WSRP4J >>> >> >>I've just created a preliminary version of a mavenized WSRP4J >>build. You can find it in sandbox/wsrp4j directory, currently >>only implements the basic directory structure and site build, >>I'll start adding sources in the next days. >>It's based on Jetspeed2 build. Feedback welcome, specially >>from you Vishal, as you have already mavenized your own >>version of wsrp4j ^_^. >> >>Regards. >>Diego. > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.6 (GNU/Linux) > > iD8DBQFCsoPtgyzZYflJelERAig7AKChX7geKZEKfC28zc2fGFkVq3lSHwCeNLxX > gVp8lM35wWg7zY8W+tiRkb0= > =BYbE > -----END PGP SIGNATURE----- > From [email protected] Mon Jun 20 08:44:33 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81691 invoked from network); 20 Jun 2005 08:44:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Jun 2005 08:44:33 -0000 Received: (qmail 77881 invoked by uid 500); 20 Jun 2005 08:44:31 -0000 Delivered-To: [email protected] Received: (qmail 77793 invoked by uid 500); 20 Jun 2005 08:44:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 77759 invoked by uid 99); 20 Jun 2005 08:44:29 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.dl.ac.uk (HELO mserv7.dl.ac.uk) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Jun 2005 01:44:28 -0700 X-DL-MFrom: <[email protected]> X-DL-Connect: <exchange10.dl.ac.uk [161.129.204.104]> Received: from exchange10.dl.ac.uk (exchange10.dl.ac.uk [161.129.204.104]) by mserv7.dl.ac.uk (8.12.10/8.12.8/[ref [email protected]]) with ESMTP id j5K8DnU5003781; Mon, 20 Jun 2005 09:24:02 +0100 Importance: normal Priority: normal Received: from exchange02.dl.ac.uk ([161.129.204.104]) by exchange10.dl.ac.uk with Microsoft SMTPSVC(6.0.3790.0); Mon, 20 Jun 2005 09:19:29 +0100 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.181 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Subject: How to change the default persistence setting Date: Mon, 20 Jun 2005 09:19:29 +0100 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How to change the default persistence setting thread-index: AcV1cPUqqrE2/vk2TTe9zOBoDNTejQ== From: "Wang, XD \(Xiao\)" <[email protected]> To: <[email protected]>, <[email protected]> X-OriginalArrivalTime: 20 Jun 2005 08:19:29.0577 (UTC) FILETIME=[C79E8990:01C57570] X-CCLRC-SPAM-report: 0 : X-Scanned-By: MIMEDefang 2.37 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mserv7.dl.ac.uk id j5K8DnU5003781 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N As a default setting, running SwingConsumer will find out pages, portlets, producers, and users from wsrp4j-home/driver/SwingConsumer/persistence directory. If I want to put that setting in other directory, how can I do it? Thanks Xiaodong From [email protected] Tue Jun 21 17:24:23 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35714 invoked from network); 21 Jun 2005 17:24:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Jun 2005 17:24:22 -0000 Received: (qmail 30772 invoked by uid 500); 21 Jun 2005 17:24:21 -0000 Delivered-To: [email protected] Received: (qmail 30705 invoked by uid 500); 21 Jun 2005 17:24:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 30628 invoked by uid 500); 21 Jun 2005 17:24:20 -0000 Delivered-To: [email protected] Received: (qmail 30597 invoked by uid 99); 21 Jun 2005 17:24:20 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 21 Jun 2005 10:24:20 -0700 Received: (qmail 35702 invoked by uid 1732); 21 Jun 2005 17:24:19 -0000 Date: 21 Jun 2005 17:24:19 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/src/org/apache/wsrp4j/exception messages.properties X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N jmacna 2005/06/21 10:24:19 Modified: src/org/apache/wsrp4j/exception messages.properties Log: Added exception description for 1116, which is the unknown exception Revision Changes Path 1.4 +1 -1 ws-wsrp4j/src/org/apache/wsrp4j/exception/messages.properties Index: messages.properties =================================================================== RCS file: /home/cvs/ws-wsrp4j/src/org/apache/wsrp4j/exception/messages.properties,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- messages.properties 27 May 2005 11:37:34 -0000 1.3 +++ messages.properties 21 Jun 2005 17:24:19 -0000 1.4 @@ -50,7 +50,7 @@ 1111=The portlet does not support generating markup for the requested mimeType. 1112=The portlet does not support generating markup for the requested mode. 1113=The portlet does not support generating markup for the requested window state. - +1116=Unknown Exception. ############################################################################### # producer messages 2000-2999 From [email protected] Tue Jun 21 17:29:20 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38367 invoked from network); 21 Jun 2005 17:29:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Jun 2005 17:29:20 -0000 Received: (qmail 38395 invoked by uid 500); 21 Jun 2005 17:29:19 -0000 Delivered-To: [email protected] Received: (qmail 38331 invoked by uid 500); 21 Jun 2005 17:29:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 38315 invoked by uid 99); 21 Jun 2005 17:29:18 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jun 2005 10:29:18 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 34C9512 for <[email protected]>; Tue, 21 Jun 2005 19:29:17 +0200 (CEST) Message-ID: <{{EMAIL+PHONE}}> Date: Tue, 21 Jun 2005 19:29:17 +0200 (CEST) From: "Julie MacNaught (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (WSRP4J-64) WSDL jar not copied for SwingConsumer Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N WSDL jar not copied for SwingConsumer ------------------------------------- Key: WSRP4J-64 URL: http://issues.apache.org/jira/browse/WSRP4J-64 Project: WSRP4J Type: Bug Components: Build, Consumer, Swing Versions: current (nightly) Reporter: Julie MacNaught Assigned to: Julie MacNaught Priority: Minor Fix For: current (nightly) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Tue Jun 21 17:29:21 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38442 invoked from network); 21 Jun 2005 17:29:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Jun 2005 17:29:21 -0000 Received: (qmail 38534 invoked by uid 500); 21 Jun 2005 17:29:20 -0000 Delivered-To: [email protected] Received: (qmail 38358 invoked by uid 500); 21 Jun 2005 17:29:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 38337 invoked by uid 99); 21 Jun 2005 17:29:19 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jun 2005 10:29:19 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 04C7615 for <[email protected]>; Tue, 21 Jun 2005 19:29:18 +0200 (CEST) Message-ID: <{{EMAIL+PHONE}}> Date: Tue, 21 Jun 2005 19:29:18 +0200 (CEST) From: "Julie MacNaught (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (WSRP4J-65) Missing exception description for 1116 Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Missing exception description for 1116 -------------------------------------- Key: WSRP4J-65 URL: http://issues.apache.org/jira/browse/WSRP4J-65 Project: WSRP4J Type: Bug Components: Consumer, Producer Versions: current (nightly) Reporter: Julie MacNaught Assigned to: Julie MacNaught Priority: Minor Fix For: current (nightly) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Tue Jun 21 17:29:27 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38626 invoked from network); 21 Jun 2005 17:29:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Jun 2005 17:29:27 -0000 Received: (qmail 38852 invoked by uid 500); 21 Jun 2005 17:29:23 -0000 Delivered-To: [email protected] Received: (qmail 38723 invoked by uid 500); 21 Jun 2005 17:29:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 38689 invoked by uid 99); 21 Jun 2005 17:29:22 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jun 2005 10:29:22 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 3626B12 for <[email protected]>; Tue, 21 Jun 2005 19:29:21 +0200 (CEST) Message-ID: <{{EMAIL+PHONE}}> Date: Tue, 21 Jun 2005 19:29:21 +0200 (CEST) From: "Julie MacNaught (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (WSRP4J-65) Missing exception description for 1116 In-Reply-To: <{{EMAIL+PHONE}}> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/WSRP4J-65?page=all ] Julie MacNaught resolved WSRP4J-65: ----------------------------------- Resolution: Fixed > Missing exception description for 1116 > -------------------------------------- > > Key: WSRP4J-65 > URL: http://issues.apache.org/jira/browse/WSRP4J-65 > Project: WSRP4J > Type: Bug > Components: Consumer, Producer > Versions: current (nightly) > Reporter: Julie MacNaught > Assignee: Julie MacNaught > Priority: Minor > Fix For: current (nightly) > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Tue Jun 21 17:36:40 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41974 invoked from network); 21 Jun 2005 17:36:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Jun 2005 17:36:40 -0000 Received: (qmail 60607 invoked by uid 500); 21 Jun 2005 17:36:36 -0000 Delivered-To: [email protected] Received: (qmail 60473 invoked by uid 500); 21 Jun 2005 17:36:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 60453 invoked by uid 500); 21 Jun 2005 17:36:30 -0000 Delivered-To: [email protected] Received: (qmail 60434 invoked by uid 99); 21 Jun 2005 17:36:29 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 21 Jun 2005 10:36:29 -0700 Received: (qmail 41853 invoked by uid 1732); 21 Jun 2005 17:36:29 -0000 Date: 21 Jun 2005 17:36:29 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/build build.xml X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N jmacna 2005/06/21 10:36:29 Modified: SwingConsumer setcpath.bat build build.xml Log: Fixes WSRP4J-64 wsdl jar not copied Revision Changes Path 1.5 +1 -0 ws-wsrp4j/SwingConsumer/setcpath.bat Index: setcpath.bat =================================================================== RCS file: /home/cvs/ws-wsrp4j/SwingConsumer/setcpath.bat,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- setcpath.bat 10 Jun 2005 11:04:01 -0000 1.4 +++ setcpath.bat 21 Jun 2005 17:36:29 -0000 1.5 @@ -16,6 +16,7 @@ set CLASSPATH=%CLASSPATH%;.\lib\commons-logging.jar set CLASSPATH=%CLASSPATH%;.\lib\xml-apis-2.5.0.jar set CLASSPATH=%CLASSPATH%;.\lib\xercesImpl-2.5.0.jar +set CLASSPATH=%CLASSPATH%;.\lib\wsdl4j-1.5.1.jar echo on set CLASSPATH 1.16 +1 -0 ws-wsrp4j/build/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/ws-wsrp4j/build/build.xml,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- build.xml 10 Jun 2005 11:05:46 -0000 1.15 +++ build.xml 21 Jun 2005 17:36:29 -0000 1.16 @@ -298,6 +298,7 @@ <include name="axis-saaj-1.2.jar"/> <include name="commons-discovery.jar"/> <include name="castor-161.129.204.104-xml.jar"/> + <include name="wsdl4j-1.5.1.jar"/> </fileset> <fileset dir="${build.consumer.lib}"> <include name="commons-logging.jar"/> From [email protected] Tue Jun 21 17:40:27 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48397 invoked from network); 21 Jun 2005 17:40:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Jun 2005 17:40:27 -0000 Received: (qmail 75407 invoked by uid 500); 21 Jun 2005 17:40:22 -0000 Delivered-To: [email protected] Received: (qmail 75358 invoked by uid 500); 21 Jun 2005 17:40:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 75340 invoked by uid 99); 21 Jun 2005 17:40:18 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jun 2005 10:40:18 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id CD4B914 for <[email protected]>; Tue, 21 Jun 2005 19:40:17 +0200 (CEST) Message-ID: <{{EMAIL+PHONE}}> Date: Tue, 21 Jun 2005 19:40:17 +0200 (CEST) From: "Julie MacNaught (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (WSRP4J-64) WSDL jar not copied for SwingConsumer In-Reply-To: <{{EMAIL+PHONE}}> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/WSRP4J-64?page=all ] Julie MacNaught resolved WSRP4J-64: ----------------------------------- Resolution: Fixed > WSDL jar not copied for SwingConsumer > ------------------------------------- > > Key: WSRP4J-64 > URL: http://issues.apache.org/jira/browse/WSRP4J-64 > Project: WSRP4J > Type: Bug > Components: Build, Consumer, Swing > Versions: current (nightly) > Reporter: Julie MacNaught > Assignee: Julie MacNaught > Priority: Minor > Fix For: current (nightly) > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Thu Jun 23 22:54:03 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 109 invoked from network); 23 Jun 2005 22:54:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Jun 2005 22:54:03 -0000 Received: (qmail 37096 invoked by uid 500); 23 Jun 2005 22:54:02 -0000 Delivered-To: [email protected] Received: (qmail 37072 invoked by uid 500); 23 Jun 2005 22:54:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 37059 invoked by uid 99); 23 Jun 2005 22:54:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2005 15:54:01 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO smtp-relay.sct.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2005 15:54:02 -0700 Received: from unknown (HELO m030006.sct.com) (161.129.204.104) by smtp-relay.sct.com with ESMTP; 23 Jun 2005 18:53:57 -0400 X-IronPort-AV: i="3.93,225,1115006400"; d="scan'208"; a="348693:sNHT16473597" Received: from sctmnot9.sct.com (sctmnot9.sct.com [161.129.204.104]) by m030006.sct.com (8.12.10/8.12.10) with ESMTP id j5NMrlnY005695 for <[email protected]>; Thu, 23 Jun 2005 18:53:47 -0400 Received: from slcnot1.sct.com ([161.129.204.104]) by sctmnot9.sct.com (Lotus Domino Release 6.0.5) with ESMTP id 2005062318534624-338 ; Thu, 23 Jun 2005 18:53:46 -0400 Received: from vgwin2k10 ([161.129.204.104]) by slcnot1.sct.com (Lotus Domino Release 6.0.4) with ESMTP id 2005062316534565-703 ; Thu, 23 Jun 2005 16:53:45 -0600 From: "Vishal Goenka" <[email protected]> To: <[email protected]> Subject: RE: Sandbox for mavenized WSRP4J Date: Thu, 23 Jun 2005 16:53:44 -0600 Organization: SunGard SCT MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <[email protected]> Thread-Index: AcVzJSFTz50SZGE/QfG0Pl+roKu+ggFHtq+w X-MIMETrack: Itemize by SMTP Server on slcnot1/SCT(Release 6.0.4|June 01, 2004) at 06/23/2005 16:53:45, Serialize by Router on slcnot1/SCT(Release 6.0.4|June 01, 2004) at 06/23/2005 16:53:47, Serialize complete at 06/23/2005 16:53:47, Itemize by SMTP Server on sctmnot9/SCT(Release 6.0.5|March 27, 2005) at 06/23/2005 18:53:46, Serialize by Router on sctmnot9/SCT(Release 6.0.5|March 27, 2005) at 06/23/2005 18:53:47, Serialize complete at 06/23/2005 18:53:47 Message-ID: <[email protected]> Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Diego, I have attached my maven.xml and project.xml files to JIRA issue = WSRP4J-56. Please note that these files are only to illustrate specific comments: 1. maven.xml should illustrate the token replacement that was required = for the producer 2. project.xml should illustrate the library dependencies for the = producer.=20 Please note that these files haven't been updated to reflect the Axis = 1.2 (final release) and they have other dependencies specific to Sakai that = you won't care about. My thought would be to create a separate project for the swing consumer, primarily because several of those who integrate WSRP4J in their product = may perhaps use the SwingConsumer for their own testing, but not include it. Separation will help use just the consumer libraries. - Vishal -- Vishal Goenka SunGard SCT Lead Architect, Luminis Solutions www.sungardsct.com =20 > -----Original Message----- > From: Diego Louz=E1n [mailto:[email protected]]=20 > Sent: Friday, June 17, 2005 2:04 AM > To: [email protected] > Subject: Re: Sandbox for mavenized WSRP4J >=20 > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > Yes, getting your source code would be a good idea. Please=20 > attach it to a JIRA issue or send it to me directly. >=20 > BTW, I'm still thinking how to integrate swing consumer in=20 > all of this. Should I create its own subproject (like=20 > "swingconsumer") or should it live inside "consumer" subproject? WDYT? >=20 > Regards. > Diego. >=20 > Vishal Goenka wrote: > > Diego, > >=20 > > Looked at the your maven files (maven.xml and project.xml). I'm=20 > > impressed with the project information that is in that=20 > file. At this=20 > > point it doesn't have much dependency information, which I=20 > suppose you=20 > > will add once you add the source files. It would be easiest=20 > for me to=20 > > simply share my files so you can see what I did. Let me=20 > know if you would prefer that. > >=20 > > Since my wsrp4j version contains only producer and common (not the=20 > > consumer code), I was able to reduce the dependencies to the bare=20 > > minimum. Also, I noted that the Ant build.xml did some token=20 > > replacements during deployment, in particular the @HOME@ and=20 > > @HTTPPORT@ tokens. I had to include that to my maven.xml as well. > >=20 > > Let me know if you need more information on these. =20 > >=20 > > -- > > Vishal Goenka > > SunGard SCT > > Advisory Technical Architect, Luminis Solutions www.sungardsct.com > > =20 > >=20 > >=20 > >>-----Original Message----- > >>From: Diego Louz=E1n [mailto:[email protected]] > >>Sent: Tuesday, June 14, 2005 12:06 PM > >>To: wsrp4j-dev > >>Subject: Sandbox for mavenized WSRP4J > >> > > I've just created a preliminary version of a mavenized=20 > WSRP4J build.=20 > > You can find it in sandbox/wsrp4j directory, currently only=20 > implements=20 > > the basic directory structure and site build, I'll start adding=20 > > sources in the next days. > > It's based on Jetspeed2 build. Feedback welcome, specially from you=20 > > Vishal, as you have already mavenized your own version of=20 > wsrp4j ^_^. > >=20 > > Regards. > > Diego. > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.6 (GNU/Linux) >=20 > iD8DBQFCsoPtgyzZYflJelERAig7AKChX7geKZEKfC28zc2fGFkVq3lSHwCeNLxX > gVp8lM35wWg7zY8W+tiRkb0=3D > =3DBYbE > -----END PGP SIGNATURE----- From [email protected] Thu Jun 23 22:55:15 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 374 invoked from network); 23 Jun 2005 22:55:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Jun 2005 22:55:15 -0000 Received: (qmail 37982 invoked by uid 500); 23 Jun 2005 22:55:14 -0000 Delivered-To: [email protected] Received: (qmail 37858 invoked by uid 500); 23 Jun 2005 22:55:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 37845 invoked by uid 99); 23 Jun 2005 22:55:13 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2005 15:55:13 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id BCB8C12 for <[email protected]>; Fri, 24 Jun 2005 00:55:12 +0200 (CEST) Message-ID: <{{EMAIL+PHONE}}> Date: Fri, 24 Jun 2005 00:55:12 +0200 (CEST) From: "Vishal Goenka (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (WSRP4J-56) Refactor into Producer, Consumer, and Common modules In-Reply-To: <{{EMAIL+PHONE}}> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/WSRP4J-56?page=3Dall ] Vishal Goenka updated WSRP4J-56: -------------------------------- Attachment: maven.xml This maven.xml is only to illustrate some additional token replacements tha= t need to be made when building with Maven.=20 > Refactor into Producer, Consumer, and Common modules > ---------------------------------------------------- > > Key: WSRP4J-56 > URL: http://issues.apache.org/jira/browse/WSRP4J-56 > Project: WSRP4J > Type: Improvement > Components: Consumer, Producer > Versions: current (nightly) > Reporter: Julie MacNaught > Assignee: Diego Louz=C3=A1n > Fix For: current (nightly) > Attachments: maven.xml, project.xml > > Refactor into Producer, Consumer, and Common modules. This is partially = done already, but needs to be completed. Consider separate build targets a= nd separate src/bin directory structures for each component. --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Thu Jun 23 22:55:16 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 553 invoked from network); 23 Jun 2005 22:55:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Jun 2005 22:55:16 -0000 Received: (qmail 38136 invoked by uid 500); 23 Jun 2005 22:55:16 -0000 Delivered-To: [email protected] Received: (qmail 38023 invoked by uid 500); 23 Jun 2005 22:55:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 37992 invoked by uid 99); 23 Jun 2005 22:55:14 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2005 15:55:14 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id C3A1515 for <[email protected]>; Fri, 24 Jun 2005 00:55:13 +0200 (CEST) Message-ID: <{{EMAIL+PHONE}}> Date: Fri, 24 Jun 2005 00:55:13 +0200 (CEST) From: "Vishal Goenka (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (WSRP4J-56) Refactor into Producer, Consumer, and Common modules In-Reply-To: <{{EMAIL+PHONE}}> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/WSRP4J-56?page=3Dall ] Vishal Goenka updated WSRP4J-56: -------------------------------- Attachment: project.xml This project.xml file is only meant to illustrate the library dependencies = for the WSRP4J producer code.=20 > Refactor into Producer, Consumer, and Common modules > ---------------------------------------------------- > > Key: WSRP4J-56 > URL: http://issues.apache.org/jira/browse/WSRP4J-56 > Project: WSRP4J > Type: Improvement > Components: Consumer, Producer > Versions: current (nightly) > Reporter: Julie MacNaught > Assignee: Diego Louz=C3=A1n > Fix For: current (nightly) > Attachments: maven.xml, project.xml > > Refactor into Producer, Consumer, and Common modules. This is partially = done already, but needs to be completed. Consider separate build targets a= nd separate src/bin directory structures for each component. --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Fri Jun 24 23:22:11 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89034 invoked from network); 24 Jun 2005 23:22:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Jun 2005 23:22:11 -0000 Received: (qmail 43382 invoked by uid 500); 24 Jun 2005 23:22:04 -0000 Delivered-To: [email protected] Received: (qmail 42890 invoked by uid 500); 24 Jun 2005 23:22:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 42734 invoked by uid 99); 24 Jun 2005 23:22:00 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jun 2005 16:22:00 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id C2B37D2 for <[email protected]>; Sat, 25 Jun 2005 01:21:59 +0200 (CEST) Message-ID: <[email protected]> Date: Sat, 25 Jun 2005 01:21:59 +0200 (CEST) From: "Vishal Goenka (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (WSRP4J-66) Class org.apache.wsrp4j.producer.provider.pluto.driver.StoredResponse does not implement getOutputStream (returns null) Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Class org.apache.wsrp4j.producer.provider.pluto.driver.StoredResponse does not implement getOutputStream (returns null) ----------------------------------------------------------------------------------------------------------------------- Key: WSRP4J-66 URL: http://issues.apache.org/jira/browse/WSRP4J-66 Project: WSRP4J Type: Bug Components: Pluto Driver Versions: current (nightly) Environment: All Reporter: Vishal Goenka Priority: Minor Class org.apache.wsrp4j.producer.provider.pluto.driver.StoredResponse extends HttpResponse and while it does implement getWriter, it does not implement the getOutputStream() method. Since this class is wrapped as the HttpResponse object when the portlet is invoked, any code that uses the getOutputStream() method gets a NullPointerException. I have a fix that is based on a class from the Pluto source itself. I will be happy to contribute the fix, if there is interest. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Mon Jun 27 11:24:26 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3153 invoked from network); 27 Jun 2005 11:24:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Jun 2005 11:24:26 -0000 Received: (qmail 79671 invoked by uid 500); 27 Jun 2005 11:24:25 -0000 Delivered-To: [email protected] Received: (qmail 79638 invoked by uid 500); 27 Jun 2005 11:24:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 79625 invoked by uid 99); 27 Jun 2005 11:24:24 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jun 2005 04:24:24 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=UPPERCASE_25_50 X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO mail.udc.es) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jun 2005 04:24:24 -0700 Received: from localhost (localhost [161.129.204.104]) by mail.udc.es ("Servidor de correo del SIAIN") with ESMTP id 4AB6830B15 for <[email protected]>; Mon, 27 Jun 2005 13:14:56 +0200 (CEST) Received: from mail.udc.es ([161.129.204.104]) by localhost (mail.udc.es [161.129.204.104]) (amavisd-new, port 10024) with LMTP id 26187-02-8 for <[email protected]>; Mon, 27 Jun 2005 13:14:56 +0200 (CEST) Received: from [161.129.204.104] (www.tic.udc.es [161.129.204.104]) by mail.udc.es ("Servidor de correo del SIAIN") with ESMTP id 075D330ACC for <[email protected]>; Mon, 27 Jun 2005 13:14:56 +0200 (CEST) Message-ID: <[email protected]> Date: Mon, 27 Jun 2005 13:24:19 +0200 From: =?UTF-8?B?RGllZ28gTG91esOhbg==?= <[email protected]> User-Agent: Mozilla Thunderbird 1.0.2-1.3.3 (X11/20050513) X-Accept-Language: en-us, en MIME-Version: 1.0 To: wsrp4j-dev <[email protected]> Subject: [OT] I've been very lucky :-) X-Enigmail-Version: 161.129.204.104 OpenPGP: id=F9497A51; url=http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xF9497A51 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, this mail is just to tell all of you that my proposal has been selected to receive a grant in Google's Summer of Code program ^_^ I hope this benefits all the Apache community and particularly the WSRP4J community. You can find my proposal at: http://wiki.apache.org/general/DiegoLouzan/SummerOfCode2005Proposal Thanks all for your support. Diego. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFCv+HjgyzZYflJelERArOGAKCH2hANYR4xN1QfXnT+vspbGdICSgCeJcsv W6Bf3AzF6TH8IljSorkBQbM= =3tb7 -----END PGP SIGNATURE----- From [email protected] Mon Jun 27 20:22:40 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80366 invoked from network); 27 Jun 2005 20:22:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Jun 2005 20:22:40 -0000 Received: (qmail 45831 invoked by uid 500); 27 Jun 2005 20:22:39 -0000 Delivered-To: [email protected] Received: (qmail 45796 invoked by uid 500); 27 Jun 2005 20:22:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 45783 invoked by uid 99); 27 Jun 2005 20:22:39 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 27 Jun 2005 13:22:39 -0700 Received: (qmail 80357 invoked from network); 27 Jun 2005 20:22:34 -0000 Received: from unknown (HELO ?161.129.204.104?) (161.129.204.104) by 161.129.204.104 with SMTP; 27 Jun 2005 20:22:34 -0000 Message-ID: <[email protected]> Date: Mon, 27 Jun 2005 22:24:23 +0200 From: Carsten Ziegeler <[email protected]> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: Re: Incubator vs WebServices vs Portals, CVS2SVN References: <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 161.129.204.104 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Rating: 161.129.204.104 1.6.2 0/1000/N X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Julie MacNaught wrote: > We are currently under incubation, but when we started the project it was thought that we would move to the WebServices TLP. Technically dims is our mentor, and he is the WS guru. When the Portals TLP was formed, it was expected that WSRP4J would graduate from the incubator into Portals. > > When we request to convert from CVS to SVN, I think we want to change the name of the project and have the new one created under portals. > > CVS: ws-wsrp4j > SVN: portals/wsrp4j > > Comments? > +1 Carsten -- Carsten Ziegeler - Open Source Group, S&N AG http://www.s-und-n.de http://www.osoco.org/weblogs/rael/ From [email protected] Tue Jun 28 20:20:37 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21566 invoked from network); 28 Jun 2005 20:20:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Jun 2005 20:20:37 -0000 Received: (qmail 63284 invoked by uid 500); 28 Jun 2005 20:20:36 -0000 Delivered-To: [email protected] Received: (qmail 63148 invoked by uid 500); 28 Jun 2005 20:20:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 63135 invoked by uid 500); 28 Jun 2005 20:20:35 -0000 Delivered-To: [email protected] Received: (qmail 63132 invoked by uid 99); 28 Jun 2005 20:20:35 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 28 Jun 2005 13:20:35 -0700 Received: (qmail 21525 invoked by uid 1732); 28 Jun 2005 20:20:33 -0000 Date: 28 Jun 2005 20:20:33 -0000 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: cvs commit: ws-wsrp4j/src/oasis/names/tc/wsrp/v1/bind WSRP_v1_Registration_Binding_SOAPImpl.java WSRP_v1_PortletManagement_Binding_SOAPImpl.java WSRP_v1_ServiceDescription_Binding_SOAPImpl.java WSRP_v1_Markup_Binding_SOAPImpl.java X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N jmacna 2005/06/28 13:20:33 Modified: src/oasis/names/tc/wsrp/v1/bind WSRP_v1_Registration_Binding_SOAPImpl.java WSRP_v1_PortletManagement_Binding_SOAPImpl.java WSRP_v1_ServiceDescription_Binding_SOAPImpl.java WSRP_v1_Markup_Binding_SOAPImpl.java Log: Added missing calls to WSRPEngine Revision Changes Path 1.5 +21 -3 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/bind/WSRP_v1_Registration_Binding_SOAPImpl.java Index: WSRP_v1_Registration_Binding_SOAPImpl.java =================================================================== RCS file: /home/cvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/bind/WSRP_v1_Registration_Binding_SOAPImpl.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- WSRP_v1_Registration_Binding_SOAPImpl.java 6 Jun 2005 08:50:14 -0000 1.4 +++ WSRP_v1_Registration_Binding_SOAPImpl.java 28 Jun 2005 20:20:32 -0000 1.5 @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2001,2004 The Apache Software Foundation. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /** * WSRP_v1_Registration_Binding_SOAPImpl.java * @@ -7,17 +23,19 @@ package oasis.names.tc.wsrp.v1.bind; +import org.apache.wsrp4j.producer.driver.WSRPEngine; + public class WSRP_v1_Registration_Binding_SOAPImpl implements oasis.names.tc.wsrp.v1.intf.WSRP_v1_Registration_PortType{ public oasis.names.tc.wsrp.v1.types.RegistrationContext register(oasis.names.tc.wsrp.v1.types.RegistrationData register) throws java.rmi.RemoteException, oasis.names.tc.wsrp.v1.types.OperationFailedFault, oasis.names.tc.wsrp.v1.types.MissingParametersFault { - return null; + return WSRPEngine.getInstance().register(register); } public oasis.names.tc.wsrp.v1.types.ReturnAny deregister(oasis.names.tc.wsrp.v1.types.RegistrationContext deregister) throws java.rmi.RemoteException, oasis.names.tc.wsrp.v1.types.InvalidRegistrationFault, oasis.names.tc.wsrp.v1.types.OperationFailedFault { - return null; + return WSRPEngine.getInstance().deregister(deregister); } public oasis.names.tc.wsrp.v1.types.RegistrationState modifyRegistration(oasis.names.tc.wsrp.v1.types.ModifyRegistration modifyRegistration) throws java.rmi.RemoteException, oasis.names.tc.wsrp.v1.types.InvalidRegistrationFault, oasis.names.tc.wsrp.v1.types.OperationFailedFault, oasis.names.tc.wsrp.v1.types.MissingParametersFault { - return null; + return WSRPEngine.getInstance().modifyRegistration(modifyRegistration); } } 1.5 +24 -6 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/bind/WSRP_v1_PortletManagement_Binding_SOAPImpl.java Index: WSRP_v1_PortletManagement_Binding_SOAPImpl.java =================================================================== RCS file: /home/cvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/bind/WSRP_v1_PortletManagement_Binding_SOAPImpl.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- WSRP_v1_PortletManagement_Binding_SOAPImpl.java 6 Jun 2005 08:50:14 -0000 1.4 +++ WSRP_v1_PortletManagement_Binding_SOAPImpl.java 28 Jun 2005 20:20:32 -0000 1.5 @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2001,2004 The Apache Software Foundation. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /** * WSRP_v1_PortletManagement_Binding_SOAPImpl.java * @@ -7,29 +23,31 @@ package oasis.names.tc.wsrp.v1.bind; +import org.apache.wsrp4j.producer.driver.WSRPEngine; + public class WSRP_v1_PortletManagement_Binding_SOAPImpl implements oasis.names.tc.wsrp.v1.intf.WSRP_v1_PortletManagement_PortType{ public oasis.names.tc.wsrp.v1.types.PortletDescriptionResponse getPortletDescription(oasis.names.tc.wsrp.v1.types.GetPortletDescription getPortletDescription) throws java.rmi.RemoteException, oasis.names.tc.wsrp.v1.types.InvalidUserCategoryFault, oasis.names.tc.wsrp.v1.types.InconsistentParametersFault, oasis.names.tc.wsrp.v1.types.InvalidRegistrationFault, oasis.names.tc.wsrp.v1.types.OperationFailedFault, oasis.names.tc.wsrp.v1.types.MissingParametersFault, oasis.names.tc.wsrp.v1.types.AccessDeniedFault, oasis.names.tc.wsrp.v1.types.InvalidHandleFault { - return null; + return WSRPEngine.getInstance().getPortletDescription(getPortletDescription); } public oasis.names.tc.wsrp.v1.types.PortletContext clonePortlet(oasis.names.tc.wsrp.v1.types.ClonePortlet clonePortlet) throws java.rmi.RemoteException, oasis.names.tc.wsrp.v1.types.InvalidUserCategoryFault, oasis.names.tc.wsrp.v1.types.InconsistentParametersFault, oasis.names.tc.wsrp.v1.types.InvalidRegistrationFault, oasis.names.tc.wsrp.v1.types.OperationFailedFault, oasis.names.tc.wsrp.v1.types.MissingParametersFault, oasis.names.tc.wsrp.v1.types.AccessDeniedFault, oasis.names.tc.wsrp.v1.types.InvalidHandleFault { - return null; + return WSRPEngine.getInstance().clonePortlet(clonePortlet); } public oasis.names.tc.wsrp.v1.types.DestroyPortletsResponse destroyPortlets(oasis.names.tc.wsrp.v1.types.DestroyPortlets destroyPortlets) throws java.rmi.RemoteException, oasis.names.tc.wsrp.v1.types.InconsistentParametersFault, oasis.names.tc.wsrp.v1.types.InvalidRegistrationFault, oasis.names.tc.wsrp.v1.types.OperationFailedFault, oasis.names.tc.wsrp.v1.types.MissingParametersFault { - return null; + return WSRPEngine.getInstance().destroyPortlets(destroyPortlets); } public oasis.names.tc.wsrp.v1.types.PortletContext setPortletProperties(oasis.names.tc.wsrp.v1.types.SetPortletProperties setPortletProperties) throws java.rmi.RemoteException, oasis.names.tc.wsrp.v1.types.InvalidUserCategoryFault, oasis.names.tc.wsrp.v1.types.InconsistentParametersFault, oasis.names.tc.wsrp.v1.types.InvalidRegistrationFault, oasis.names.tc.wsrp.v1.types.OperationFailedFault, oasis.names.tc.wsrp.v1.types.MissingParametersFault, oasis.names.tc.wsrp.v1.types.AccessDeniedFault, oasis.names.tc.wsrp.v1.types.InvalidHandleFault { - return null; + return WSRPEngine.getInstance().setPortletProperties(setPortletProperties); } public oasis.names.tc.wsrp.v1.types.PropertyList getPortletProperties(oasis.names.tc.wsrp.v1.types.GetPortletProperties getPortletProperties) throws java.rmi.RemoteException, oasis.names.tc.wsrp.v1.types.InvalidUserCategoryFault, oasis.names.tc.wsrp.v1.types.InconsistentParametersFault, oasis.names.tc.wsrp.v1.types.InvalidRegistrationFault, oasis.names.tc.wsrp.v1.types.OperationFailedFault, oasis.names.tc.wsrp.v1.types.MissingParametersFault, oasis.names.tc.wsrp.v1.types.AccessDeniedFault, oasis.names.tc.wsrp.v1.types.InvalidHandleFault { - return null; + return WSRPEngine.getInstance().getPortletProperties(getPortletProperties); } public oasis.names.tc.wsrp.v1.types.PortletPropertyDescriptionResponse getPortletPropertyDescription(oasis.names.tc.wsrp.v1.types.GetPortletPropertyDescription getPortletPropertyDescription) throws java.rmi.RemoteException, oasis.names.tc.wsrp.v1.types.InvalidUserCategoryFault, oasis.names.tc.wsrp.v1.types.InconsistentParametersFault, oasis.names.tc.wsrp.v1.types.InvalidRegistrationFault, oasis.names.tc.wsrp.v1.types.OperationFailedFault, oasis.names.tc.wsrp.v1.types.MissingParametersFault, oasis.names.tc.wsrp.v1.types.AccessDeniedFault, oasis.names.tc.wsrp.v1.types.InvalidHandleFault { - return null; + return WSRPEngine.getInstance().getPortletPropertyDescription(getPortletPropertyDescription); } } 1.5 +19 -1 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/bind/WSRP_v1_ServiceDescription_Binding_SOAPImpl.java Index: WSRP_v1_ServiceDescription_Binding_SOAPImpl.java =================================================================== RCS file: /home/cvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/bind/WSRP_v1_ServiceDescription_Binding_SOAPImpl.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- WSRP_v1_ServiceDescription_Binding_SOAPImpl.java 6 Jun 2005 08:49:35 -0000 1.4 +++ WSRP_v1_ServiceDescription_Binding_SOAPImpl.java 28 Jun 2005 20:20:32 -0000 1.5 @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2001,2004 The Apache Software Foundation. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /** * WSRP_v1_ServiceDescription_Binding_SOAPImpl.java * @@ -7,9 +23,11 @@ package oasis.names.tc.wsrp.v1.bind; +import org.apache.wsrp4j.producer.driver.WSRPEngine; + public class WSRP_v1_ServiceDescription_Binding_SOAPImpl implements oasis.names.tc.wsrp.v1.intf.WSRP_v1_ServiceDescription_PortType{ public oasis.names.tc.wsrp.v1.types.ServiceDescription getServiceDescription(oasis.names.tc.wsrp.v1.types.GetServiceDescription getServiceDescription) throws java.rmi.RemoteException, oasis.names.tc.wsrp.v1.types.InvalidRegistrationFault, oasis.names.tc.wsrp.v1.types.OperationFailedFault { - return null; + return WSRPEngine.getInstance().getServiceDescription(getServiceDescription); } } 1.5 +22 -4 ws-wsrp4j/src/oasis/names/tc/wsrp/v1/bind/WSRP_v1_Markup_Binding_SOAPImpl.java Index: WSRP_v1_Markup_Binding_SOAPImpl.java =================================================================== RCS file: /home/cvs/ws-wsrp4j/src/oasis/names/tc/wsrp/v1/bind/WSRP_v1_Markup_Binding_SOAPImpl.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- WSRP_v1_Markup_Binding_SOAPImpl.java 6 Jun 2005 08:50:14 -0000 1.4 +++ WSRP_v1_Markup_Binding_SOAPImpl.java 28 Jun 2005 20:20:32 -0000 1.5 @@ -1,3 +1,19 @@ +/* + * Copyright 2000-2001,2004 The Apache Software Foundation. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /** * WSRP_v1_Markup_Binding_SOAPImpl.java * @@ -7,21 +23,23 @@ package oasis.names.tc.wsrp.v1.bind; +import org.apache.wsrp4j.producer.driver.WSRPEngine; + public class WSRP_v1_Markup_Binding_SOAPImpl implements oasis.names.tc.wsrp.v1.intf.WSRP_v1_Markup_PortType{ public oasis.names.tc.wsrp.v1.types.MarkupResponse getMarkup(oasis.names.tc.wsrp.v1.types.GetMarkup getMarkup) throws java.rmi.RemoteException, oasis.names.tc.wsrp.v1.types.InconsistentParametersFault, oasis.names.tc.wsrp.v1.types.InvalidRegistrationFault, oasis.names.tc.wsrp.v1.types.MissingParametersFault, oasis.names.tc.wsrp.v1.types.OperationFailedFault, oasis.names.tc.wsrp.v1.types.UnsupportedMimeTypeFault, oasis.names.tc.wsrp.v1.types.UnsupportedModeFault, oasis.names.tc.wsrp.v1.types.UnsupportedLocaleFault, oasis.names.tc.wsrp.v1.types.InvalidUserCategoryFault, oasis.names.tc.wsrp.v1.types.InvalidSessionFault, oasis.names.tc.wsrp.v1.types.InvalidCookieFault, oasis.names.tc.wsrp.v1.types.AccessDeniedFault, oasis.names.tc.wsrp.v1.types.InvalidHandleFault, oasis.names.tc.wsrp.v1.types.UnsupportedWindowStateFault { - return null; + return WSRPEngine.getInstance().getMarkup(getMarkup); } public oasis.names.tc.wsrp.v1.types.BlockingInteractionResponse performBlockingInteraction(oasis.names.tc.wsrp.v1.types.PerformBlockingInteraction performBlockingInteraction) throws java.rmi.RemoteException, oasis.names.tc.wsrp.v1.types.InconsistentParametersFault, oasis.names.tc.wsrp.v1.types.InvalidRegistrationFault, oasis.names.tc.wsrp.v1.types.MissingParametersFault, oasis.names.tc.wsrp.v1.types.OperationFailedFault, oasis.names.tc.wsrp.v1.types.UnsupportedMimeTypeFault, oasis.names.tc.wsrp.v1.types.UnsupportedModeFault, oasis.names.tc.wsrp.v1.types.UnsupportedLocaleFault, oasis.names.tc.wsrp.v1.types.InvalidUserCategoryFault, oasis.names.tc.wsrp.v1.types.InvalidSessionFault, oasis.names.tc.wsrp.v1.types.InvalidCookieFault, oasis.names.tc.wsrp.v1.types.PortletStateChangeRequiredFault, oasis.names.tc.wsrp.v1.types.AccessDeniedFault, oasis.names.tc.wsrp.v1.types.InvalidHandleFault, oasis.names.tc.wsrp.v1.types.UnsupportedWindowStateFault { - return null; + return WSRPEngine.getInstance().performBlockingInteraction(performBlockingInteraction); } public oasis.names.tc.wsrp.v1.types.ReturnAny releaseSessions(oasis.names.tc.wsrp.v1.types.ReleaseSessions releaseSessions) throws java.rmi.RemoteException, oasis.names.tc.wsrp.v1.types.InvalidRegistrationFault, oasis.names.tc.wsrp.v1.types.OperationFailedFault, oasis.names.tc.wsrp.v1.types.MissingParametersFault, oasis.names.tc.wsrp.v1.types.AccessDeniedFault { - return null; + return WSRPEngine.getInstance().releaseSessions(releaseSessions); } public oasis.names.tc.wsrp.v1.types.ReturnAny initCookie(oasis.names.tc.wsrp.v1.types.InitCookie initCookie) throws java.rmi.RemoteException, oasis.names.tc.wsrp.v1.types.InvalidRegistrationFault, oasis.names.tc.wsrp.v1.types.OperationFailedFault, oasis.names.tc.wsrp.v1.types.AccessDeniedFault { - return null; + return WSRPEngine.getInstance().initCookie(initCookie); } } From [email protected] Wed Jun 29 02:43:08 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36995 invoked from network); 29 Jun 2005 02:43:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Jun 2005 02:43:08 -0000 Received: (qmail 56833 invoked by uid 500); 29 Jun 2005 02:43:07 -0000 Delivered-To: [email protected] Received: (qmail 56815 invoked by uid 500); 29 Jun 2005 02:43:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 56799 invoked by uid 99); 29 Jun 2005 02:43:06 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jun 2005 19:43:06 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id D264413 for <[email protected]>; Wed, 29 Jun 2005 04:43:03 +0200 (CEST) Message-ID: <[email protected]> Date: Wed, 29 Jun 2005 04:43:03 +0200 (CEST) From: "Jennylarry (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (WSRP4J-50) Build scripts don't handle spaces in paths In-Reply-To: <305744923.1103034479645.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/WSRP4J-50?page=comments#action_12314663 ] Jennylarry commented on WSRP4J-50: ---------------------------------- how to solve the problem ???is it already solved??? please give me an answer > Build scripts don't handle spaces in paths > ------------------------------------------ > > Key: WSRP4J-50 > URL: http://issues.apache.org/jira/browse/WSRP4J-50 > Project: WSRP4J > Type: Bug > Components: Install > Environment: NT > Reporter: Bernie Durfee > > The build scripts, .bat files, do not handle paths with spaces. The string '%~dp0' substitutes the absolute path, which if it contains spaces will confuse the script. Double quotes should be added to ensure that the path is treated as a complete string. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed Jun 29 03:16:06 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 43249 invoked from network); 29 Jun 2005 03:16:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Jun 2005 03:16:06 -0000 Received: (qmail 71881 invoked by uid 500); 29 Jun 2005 03:16:05 -0000 Delivered-To: [email protected] Received: (qmail 71627 invoked by uid 500); 29 Jun 2005 03:16:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 71575 invoked by uid 99); 29 Jun 2005 03:16:03 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jun 2005 20:16:03 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 0E23015 for <[email protected]>; Wed, 29 Jun 2005 05:16:00 +0200 (CEST) Message-ID: <[email protected]> Date: Wed, 29 Jun 2005 05:16:00 +0200 (CEST) From: "Jennylarry (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (WSRP4J-68) Run the install-provider-pluto script bat, there is a problem with the path Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Run the install-provider-pluto script bat, there is a problem with the path --------------------------------------------------------------------------- Key: WSRP4J-68 URL: http://issues.apache.org/jira/browse/WSRP4J-68 Project: WSRP4J Type: Bug Reporter: Jennylarry Run the install-provider-pluto script bat, there is a problem as follow : ///////////////////////////// CASTOR-Exception: org.exolab.castor.mapping.MappingException: Nested error: java .io.FileNotFoundException: C:Tomcat 4.1\webapps\wsrpwsrptest\WEB-INF\data\xml\po rtletdefinitionmapping.xml /////////////////////////////// as a matter of fact , wsrptest is installed in the" WSRP4J directory" not the "tomcat " dirctory , in my opinion it should be installed in the "tomcat " directory according to the "Cast exception", Is there something wrong with the build.xml or build script ??? i would be appreciated if someone could anwer the question. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira From [email protected] Wed Jun 29 03:16:08 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 43434 invoked from network); 29 Jun 2005 03:16:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Jun 2005 03:16:08 -0000 Received: (qmail 71976 invoked by uid 500); 29 Jun 2005 03:16:05 -0000 Delivered-To: [email protected] Received: (qmail 71600 invoked by uid 500); 29 Jun 2005 03:16:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <wsrp4j-dev.ws.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 71565 invoked by uid 99); 29 Jun 2005 03:16:02 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jun 2005 20:16:02 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id BD5B413 for <[email protected]>; Wed, 29 Jun 2005 05:15:59 +0200 (CEST) Message-ID: <[email protected]> Date: Wed, 29 Jun 2005 05:15:59 +0200 (CEST) From: "Jennylarry (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (WSRP4J-67) install-provider-pluto script bat, the wrsptest is installed in the" WSRP4J "directory not in "tomcat " ??why ??? Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N install-provider-pluto script bat, the wrsptest is installed in the" WSRP4J "directory not in "tomcat " ??why ??? --------------------------------------------------------------------------------------------------------------------- Key: WSRP4J-67 URL: http://issues.apache.org/jira/browse/WSRP4J-67 Project: WSRP4J Type: Bug Components: Build Environment: XP tomcat5.0.30 Reporter: Jennylarry Priority: Critical Run the install-provider-pluto script bat, there is a problem as follow : ///////////////////////////// CASTOR-Exception: org.exolab.castor.mapping.MappingException: Nested error: java .io.FileNotFoundException: C:Tomcat 4.1\webapps\wsrpwsrptest\WEB-INF\data\xml\po rtletdefinitionmapping.xml /////////////////////////////// as a matter of face , wsrptest be installed in the" WSRP4J diretory" not the "tomcat " dirctory ??? how can it happen?? is there something wrong with the build.xml or build script ??? i would be appreciated if someone could anwer the question. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
From [email protected] Mon Dec 27 01:22:09 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18206 invoked from network); 27 Dec 2010 01:22:09 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 27 Dec 2010 01:22:09 -0000 Received: (qmail 22567 invoked by uid 500); 27 Dec 2010 01:22:09 -0000 Delivered-To: [email protected] Received: (qmail 22520 invoked by uid 500); 27 Dec 2010 01:22:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xbean-dev.geronimo.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 22512 invoked by uid 99); 27 Dec 2010 01:22:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Dec 2010 01:22:08 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Dec 2010 01:22:06 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oBR1LjVi026079 for <[email protected]>; Mon, 27 Dec 2010 01:21:45 GMT Message-ID: <12496324.24351293412905292.JavaMail.jira@thor> Date: Sun, 26 Dec 2010 20:21:45 -0500 (EST) From: "David Jencks (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (XBEAN-161) BundleAssignableClassFinder should look for resources without adding a leading '/' MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org BundleAssignableClassFinder should look for resources without adding a leading '/' ---------------------------------------------------------------------------------- Key: XBEAN-161 URL: https://issues.apache.org/jira/browse/XBEAN-161 Project: XBean Issue Type: Bug Components: finder Affects Versions: 3.8 Reporter: David Jencks Assignee: David Jencks Fix For: 3.8 The javadoc for Class.getResource makes it clear that ClassLoader.getResource expects paths to not start with '/'. Equinox doesn't seem to mind, but felix won't search at least the framework bundle for a resource path starting with '/'. For instance, java.util.HashMap or /java/util/HashMap.class won't be found. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Dec 27 01:29:06 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18504 invoked from network); 27 Dec 2010 01:29:06 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 27 Dec 2010 01:29:06 -0000 Received: (qmail 22945 invoked by uid 500); 27 Dec 2010 01:29:06 -0000 Delivered-To: [email protected] Received: (qmail 22907 invoked by uid 500); 27 Dec 2010 01:29:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <xbean-dev.geronimo.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 22899 invoked by uid 99); 27 Dec 2010 01:29:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Dec 2010 01:29:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Dec 2010 01:29:06 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oBR1SjIN026129 for <[email protected]>; Mon, 27 Dec 2010 01:28:46 GMT Message-ID: <31626739.24361293413325617.JavaMail.jira@thor> Date: Sun, 26 Dec 2010 20:28:45 -0500 (EST) From: "David Jencks (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (XBEAN-161) BundleAssignableClassFinder should look for resources without adding a leading '/' In-Reply-To: <12496324.24351293412905292.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/XBEAN-161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Jencks closed XBEAN-161. ------------------------------ Resolution: Fixed rev 1052987 > BundleAssignableClassFinder should look for resources without adding a leading '/' > ---------------------------------------------------------------------------------- > > Key: XBEAN-161 > URL: https://issues.apache.org/jira/browse/XBEAN-161 > Project: XBean > Issue Type: Bug > Components: finder > Affects Versions: 3.8 > Reporter: David Jencks > Assignee: David Jencks > Fix For: 3.8 > > > The javadoc for Class.getResource makes it clear that ClassLoader.getResource expects paths to not start with '/'. Equinox doesn't seem to mind, but felix won't search at least the framework bundle for a resource path starting with '/'. For instance, java.util.HashMap or /java/util/HashMap.class won't be found. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
From [email protected] Thu Apr 02 14:43:36 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77026 invoked from network); 2 Apr 2009 14:43:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Apr 2009 14:43:36 -0000 Received: (qmail 29991 invoked by uid 500); 2 Apr 2009 14:43:36 -0000 Delivered-To: [email protected] Received: (qmail 29963 invoked by uid 500); 2 Apr 2009 14:43:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <imperius-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 29948 invoked by uid 99); 2 Apr 2009 14:43:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Apr 2009 14:43:36 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Apr 2009 14:43:34 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 1240C234C055 for <[email protected]>; Thu, 2 Apr 2009 07:43:13 -0700 (PDT) Message-ID: <1753683520.1238683393073.JavaMail.jira@brutus> Date: Thu, 2 Apr 2009 07:43:13 -0700 (PDT) From: "David Wood (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Reopened: (IMPERIUS-26) Argument parsing for reference to toString() is wrong In-Reply-To: <1926610009.1236797330584.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/IMPERIUS-26?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Wood reopened IMPERIUS-26: -------------------------------- This was initially only fixed in the Condition statement. I fix is also needed in the decision statement. > Argument parsing for reference to toString() is wrong > ----------------------------------------------------- > > Key: IMPERIUS-26 > URL: https://issues.apache.org/jira/browse/IMPERIUS-26 > Project: Imperius > Issue Type: Bug > Reporter: David Wood > Assignee: Bill Stoddard > Attachments: cimspl.tree.g > > > With the following policy: > Import Class java.util.Properties:list1; > Strategy Execute_All_Applicable; > Policy > { > Condition > { > list1.get("Foo").toString() == "something" > } > Decision > { > list1.toString() > } > }:1; > I get > Number of Formal and passed parameters don't match for method toString > This code used throw an exception (not sure why it's not now). This is produced based on a problem we are seeing with some other classes which DOES throw the exception. In looking into this a bit, it looks as if the "Foo" argument to the previous method is being passed to toString(). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Apr 02 14:51:37 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79939 invoked from network); 2 Apr 2009 14:51:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Apr 2009 14:51:36 -0000 Received: (qmail 58164 invoked by uid 500); 2 Apr 2009 14:51:36 -0000 Delivered-To: [email protected] Received: (qmail 58143 invoked by uid 500); 2 Apr 2009 14:51:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <imperius-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 58112 invoked by uid 99); 2 Apr 2009 14:51:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Apr 2009 14:51:36 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Apr 2009 14:51:34 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 8721B234C495 for <[email protected]>; Thu, 2 Apr 2009 07:51:13 -0700 (PDT) Message-ID: <786864111.1238683873552.JavaMail.jira@brutus> Date: Thu, 2 Apr 2009 07:51:13 -0700 (PDT) From: "David Wood (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (IMPERIUS-26) Argument parsing for reference to toString() is wrong In-Reply-To: <1926610009.1236797330584.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/IMPERIUS-26?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12695029#action_12695029 ] David Wood commented on IMPERIUS-26: ------------------------------------ The same line needs to be added to the basicActionBlock rule... identTupleList.add(tp); ! paramList = new ArrayList(); I'll attach new the cimspl.tree.g > Argument parsing for reference to toString() is wrong > ----------------------------------------------------- > > Key: IMPERIUS-26 > URL: https://issues.apache.org/jira/browse/IMPERIUS-26 > Project: Imperius > Issue Type: Bug > Reporter: David Wood > Assignee: Bill Stoddard > Attachments: cimspl.tree.g > > > With the following policy: > Import Class java.util.Properties:list1; > Strategy Execute_All_Applicable; > Policy > { > Condition > { > list1.get("Foo").toString() == "something" > } > Decision > { > list1.toString() > } > }:1; > I get > Number of Formal and passed parameters don't match for method toString > This code used throw an exception (not sure why it's not now). This is produced based on a problem we are seeing with some other classes which DOES throw the exception. In looking into this a bit, it looks as if the "Foo" argument to the previous method is being passed to toString(). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Apr 02 14:53:34 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80717 invoked from network); 2 Apr 2009 14:53:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Apr 2009 14:53:34 -0000 Received: (qmail 67512 invoked by uid 500); 2 Apr 2009 14:53:34 -0000 Delivered-To: [email protected] Received: (qmail 67485 invoked by uid 500); 2 Apr 2009 14:53:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <imperius-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 67475 invoked by uid 99); 2 Apr 2009 14:53:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Apr 2009 14:53:34 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Apr 2009 14:53:33 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 72E8A234C053 for <[email protected]>; Thu, 2 Apr 2009 07:53:13 -0700 (PDT) Message-ID: <1334368986.1238683993469.JavaMail.jira@brutus> Date: Thu, 2 Apr 2009 07:53:13 -0700 (PDT) From: "David Wood (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Updated: (IMPERIUS-26) Argument parsing for reference to toString() is wrong In-Reply-To: <1926610009.1236797330584.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/IMPERIUS-26?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Wood updated IMPERIUS-26: ------------------------------- Attachment: cimspl.tree.g this includes the fix for the parameter list in BOTH the condition and decision blocks (the first one only fixed the condition). > Argument parsing for reference to toString() is wrong > ----------------------------------------------------- > > Key: IMPERIUS-26 > URL: https://issues.apache.org/jira/browse/IMPERIUS-26 > Project: Imperius > Issue Type: Bug > Reporter: David Wood > Assignee: Bill Stoddard > Attachments: cimspl.tree.g, cimspl.tree.g > > > With the following policy: > Import Class java.util.Properties:list1; > Strategy Execute_All_Applicable; > Policy > { > Condition > { > list1.get("Foo").toString() == "something" > } > Decision > { > list1.toString() > } > }:1; > I get > Number of Formal and passed parameters don't match for method toString > This code used throw an exception (not sure why it's not now). This is produced based on a problem we are seeing with some other classes which DOES throw the exception. In looking into this a bit, it looks as if the "Foo" argument to the previous method is being passed to toString(). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Apr 02 18:07:11 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87590 invoked from network); 2 Apr 2009 18:07:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Apr 2009 18:07:11 -0000 Received: (qmail 44512 invoked by uid 500); 2 Apr 2009 18:07:11 -0000 Delivered-To: [email protected] Received: (qmail 44495 invoked by uid 500); 2 Apr 2009 18:07:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <imperius-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 44485 invoked by uid 99); 2 Apr 2009 18:07:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Apr 2009 18:07:11 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO sca-es-mail-2.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Apr 2009 18:07:02 +0000 Received: from fe-sfbay-10.sun.com ([161.129.204.104]) by sca-es-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n32I6cU4007087 for <[email protected]>; Thu, 2 Apr 2009 11:06:38 -0700 (PDT) MIME-version: 1.0 Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com (Sun Java(tm) System Messaging Server 7.0-5.01 64bit (built Feb 19 2009)) id <[email protected]> for [email protected]; Thu, 02 Apr 2009 11:06:38 -0700 (PDT) Received: from vmlin.SFBay.Sun.COM ([unknown] [161.129.204.104]) by fe-sfbay-10.sun.com (Sun Java(tm) System Messaging Server 7.0-5.01 64bit (built Feb 19 2009)) with ESMTPSA id <[email protected]> for [email protected]; Thu, 02 Apr 2009 11:06:28 -0700 (PDT) Date: Thu, 02 Apr 2009 11:06:27 -0700 From: Craig L Russell <[email protected]> Subject: April board report Sender: [email protected] To: [email protected] Message-id: <[email protected]> X-Mailer: Apple Mail (2.930.3) Content-type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary=Apple-Mail-133-542866154 X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-133-542866154 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit April is our month to report to the board via the Incubator PMC. Any volunteers to write the report? Please first check it in to the svn repository (under "board") so everyone can review it and then copy it into the Incubator wiki http://wiki.apache.org/incubator/April2009 by Wednesday 8-April to be forwarded to the board. Thanks, Craig Craig L Russell Architect, Sun Java Enterprise System http://db.apache.org/jdo 743-391-2500 mailto:[email protected] P.S. A good JDO? O, Gasp! --Apple-Mail-133-542866154 Content-Disposition: attachment; filename=smime.p7s Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGUDCCAwkw ggJyoAMCAQICEDXZ+Ig/3d9DjJZ8u++ZnC0wDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UEBhMCWkEx JTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQ ZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA4MTIwOTE4MTYwMloXDTA5MTIwOTE4MTYw MlowbDEQMA4GA1UEBBMHUnVzc2VsbDEUMBIGA1UEKhMLQ3JhaWcgTGFpcmQxHDAaBgNVBAMTE0Ny YWlnIExhaXJkIFJ1c3NlbGwxJDAiBgkqhkiG9w0BCQEWFUNyYWlnLlJ1c3NlbGxAU3VuLkNPTTCC ASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOe3oksetTgSiqqWllhIYBT0dWhR4CitzXDf +ETyrtEF2HWRRpfwixLpV1Az8wwFzNKfjvQn3tQh0A/VDDeepDEM9TKLP+D6qShLR/KTf5kCMyT4 mILJYIDo/JMmTIH5jceojvlTDFd0gd+XXNAGGz1Wu2XxfvFDE/lpFnQkKYE+VjjENONy4JlkJnOI rSfMlb+zHPAUmMTtmhxYIDLgov4Jv2Z5pUKZMpNcYr+7jJeUxkxKwWm4im56h7CGP0Yhkq2Je506 mqKCFImxofBjkHZISVS5m7WaGs4lViDtwLQEPtyUt7RcaoYWTvEQtvoy1TE2oZDUaAYFxVu0cHUW bU0CAwEAAaMyMDAwIAYDVR0RBBkwF4EVQ3JhaWcuUnVzc2VsbEBTdW4uQ09NMAwGA1UdEwEB/wQC MAAwDQYJKoZIhvcNAQEFBQADgYEAQaqAADs5GLyk9iO1xfmNFySpOXXofJPEbfbt77BK/WLhLOwS 69WIxSmGMpGGUlLd6FJ1xfLzsvP9/N5tmZQlpGcBoEwrn830JcbNyEG0ANcmdeAy2yBjNjWoIDhV QmQw8OgJDk0xi0Tv/UYm9uPxOhDJOA67a3v6FHvSAbLqBScwggM/MIICqKADAgECAgENMA0GCSqG SIb3DQEBBQUAMIHRMQswCQYDVQQGEwJaQTEVMBMGA1UECBMMV2VzdGVybiBDYXBlMRIwEAYDVQQH EwlDYXBlIFRvd24xGjAYBgNVBAoTEVRoYXd0ZSBDb25zdWx0aW5nMSgwJgYDVQQLEx9DZXJ0aWZp Y2F0aW9uIFNlcnZpY2VzIERpdmlzaW9uMSQwIgYDVQQDExtUaGF3dGUgUGVyc29uYWwgRnJlZW1h aWwgQ0ExKzApBgkqhkiG9w0BCQEWHHBlcnNvbmFsLWZyZWVtYWlsQHRoYXd0ZS5jb20wHhcNMDMw NzE3MDAwMDAwWhcNMTMwNzE2MjM1OTU5WjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3Rl IENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWls IElzc3VpbmcgQ0EwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMSmPFVzVftOucqZWh5owHUE cJ3f6f+jHuy9zfVb8hp2vX8MOmHyv1HOAdTlUAow1wJjWiyJFXCO3cnwK4Vaqj9xVsuvPAsH5/Ef kTYkKhPPK9Xzgnc9A74r/rsYPge/QIACZNenprufZdHFKlSFD0gEf6e20TxhBEAeZBlyYLf7AgMB AAGjgZQwgZEwEgYDVR0TAQH/BAgwBgEB/wIBADBDBgNVHR8EPDA6MDigNqA0hjJodHRwOi8vY3Js LnRoYXd0ZS5jb20vVGhhd3RlUGVyc29uYWxGcmVlbWFpbENBLmNybDALBgNVHQ8EBAMCAQYwKQYD VR0RBCIwIKQeMBwxGjAYBgNVBAMTEVByaXZhdGVMYWJlbDItMTM4MA0GCSqGSIb3DQEBBQUAA4GB AEiM0VCD6gsuzA2jZqxnD3+vrL7CF6FDlpSdf0whuPg2H6otnzYvwPQcUCCTcDz9reFhYsPZOhl+ hLGZGwDFGguCdJ4lUJRix9sncVcljd2pnDmOjCBPZV+V2vf3h9bGCE6u9uo05RAaWzVNd+NWIXiC 3CEZNd4ksdMdRv9dX2VPMYIDEDCCAwwCAQEwdjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhh d3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIElzc3VpbmcgQ0ECEDXZ+Ig/3d9DjJZ8u++ZnC0wCQYFKw4DAhoFAKCCAW8wGAYJKoZIhvcN AQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDkwNDAyMTgwNjI3WjAjBgkqhkiG9w0B CQQxFgQULyJtFpyQiqtpo/lnoKpq0jjeqzEwgYUGCSsGAQQBgjcQBDF4MHYwYjELMAkGA1UEBhMC WkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0 ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAhA12fiIP93fQ4yWfLvvmZwtMIGHBgsqhkiG 9w0BCRACCzF4oHYwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQ dHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAhA1 2fiIP93fQ4yWfLvvmZwtMA0GCSqGSIb3DQEBAQUABIIBAFPr2WWVearbTIL4yo8tBmopdX6rC8zy kapBkaPYzUWDDQJntKsG2UmjaWZnjuvSulcNVm+qOFFmNoLBc7TNkP/Vl9zA/qS7Uhza8dMufN2l mKHv83sG1rMPpaG+bB2TiGjAyJFD8L9xsQwVtkqr8M5Lrb3L6eW+18o7VeCOfuAz1rFGwRwv/FU0 K/haVcXSqO0cHAE3iiaTchf0HOH1eUyDRCXsKDWyx1WNyQLu0PpIJXHuURyVaXu1SVUwbuitYWdt E68ZQWaTaC0sCSGFNJqLpsFivXUu9lYI5QhcvYmQfG7PVRQXV8bsUkMGD6sJHNjAjvHW969lEjzW NHtMncsAAAAAAAA= --Apple-Mail-133-542866154-- From [email protected] Thu Apr 02 18:19:34 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 1638 invoked from network); 2 Apr 2009 18:19:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Apr 2009 18:19:34 -0000 Received: (qmail 65087 invoked by uid 500); 2 Apr 2009 18:19:34 -0000 Delivered-To: [email protected] Received: (qmail 65054 invoked by uid 500); 2 Apr 2009 18:19:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <imperius-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 65040 invoked by uid 99); 2 Apr 2009 18:19:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Apr 2009 18:19:34 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Apr 2009 18:19:33 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id F3D86234C055 for <[email protected]>; Thu, 2 Apr 2009 11:19:12 -0700 (PDT) Message-ID: <1845493520.1238696352997.JavaMail.jira@brutus> Date: Thu, 2 Apr 2009 11:19:12 -0700 (PDT) From: "Neeraj Joshi (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (IMPERIUS-26) Argument parsing for reference to toString() is wrong In-Reply-To: <1926610009.1236797330584.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/IMPERIUS-26?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12695079#action_12695079 ] Neeraj Joshi commented on IMPERIUS-26: -------------------------------------- Checked in fixes sent by David W > Argument parsing for reference to toString() is wrong > ----------------------------------------------------- > > Key: IMPERIUS-26 > URL: https://issues.apache.org/jira/browse/IMPERIUS-26 > Project: Imperius > Issue Type: Bug > Reporter: David Wood > Assignee: Bill Stoddard > Attachments: cimspl.tree.g, cimspl.tree.g > > > With the following policy: > Import Class java.util.Properties:list1; > Strategy Execute_All_Applicable; > Policy > { > Condition > { > list1.get("Foo").toString() == "something" > } > Decision > { > list1.toString() > } > }:1; > I get > Number of Formal and passed parameters don't match for method toString > This code used throw an exception (not sure why it's not now). This is produced based on a problem we are seeing with some other classes which DOES throw the exception. In looking into this a bit, it looks as if the "Foo" argument to the previous method is being passed to toString(). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Apr 02 18:25:22 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5901 invoked from network); 2 Apr 2009 18:25:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Apr 2009 18:25:21 -0000 Received: (qmail 76540 invoked by uid 500); 2 Apr 2009 18:25:21 -0000 Delivered-To: [email protected] Received: (qmail 76511 invoked by uid 500); 2 Apr 2009 18:25:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <imperius-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 76501 invoked by uid 99); 2 Apr 2009 18:25:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Apr 2009 18:25:21 +0000 X-ASF-Spam-Status: No, hits=-1.8 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e36.co.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Apr 2009 18:25:11 +0000 Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com [161.129.204.104]) by e36.co.us.ibm.com (8.13.1/8.13.1) with ESMTP id n32INOMs004056 for <[email protected]>; Thu, 2 Apr 2009 12:23:24 -0600 Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [161.129.204.104]) by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n32IOjLM093306 for <[email protected]>; Thu, 2 Apr 2009 12:24:47 -0600 Received: from d03av01.boulder.ibm.com (loopback [161.129.204.104]) by d03av01.boulder.ibm.com (161.129.204.10460308/8.13.3) with ESMTP id n32IOiju017139 for <[email protected]>; Thu, 2 Apr 2009 12:24:44 -0600 Received: from d03nm118.boulder.ibm.com (d03nm118.boulder.ibm.com [161.129.204.104]) by d03av01.boulder.ibm.com (161.129.204.10460308/8.12.11) with ESMTP id n32IOi5w017129 for <[email protected]>; Thu, 2 Apr 2009 12:24:44 -0600 In-Reply-To: <[email protected]> References: <[email protected]> To: [email protected] MIME-Version: 1.0 Subject: Re: April board report X-KeepSent: 299ED510:99C0C4E9-8725758C:006516DF; type=4; name=$KeepSent X-Mailer: Lotus Notes Release 8.0.2 HF623 January 16, 2009 Message-ID: <[email protected]> From: Neeraj Joshi <[email protected]> Date: Thu, 2 Apr 2009 14:24:42 -0400 X-MIMETrack: Serialize by Router on D03NM118/03/M/IBM(Release 8.5|December 05, 2008) at 04/02/2009 12:24:44, Serialize complete at 04/02/2009 12:24:44 Content-Type: multipart/alternative; boundary="=_alternative 006520F88525758C_=" X-Virus-Checked: Checked by ClamAV on apache.org --=_alternative 006520F88525758C_= Content-Type: text/plain; charset="US-ASCII" Hey Craig, I will take a shot at it by end of this week. Thanks Neeraj ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "The light at the end of the tunnel...may be you" Neeraj Joshi WebSphere XD - Compute Grid AIM, IBM Apache Imperius - http://incubator.apache.org/imperius ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From: Craig L Russell <[email protected]> To: [email protected] Date: 04/02/2009 02:10 PM Subject: April board report April is our month to report to the board via the Incubator PMC. Any volunteers to write the report? Please first check it in to the svn repository (under "board") so everyone can review it and then copy it into the Incubator wiki http://wiki.apache.org/incubator/April2009 by Wednesday 8-April to be forwarded to the board. Thanks, Craig Craig L Russell Architect, Sun Java Enterprise System http://db.apache.org/jdo 743-391-2500 mailto:[email protected] P.S. A good JDO? O, Gasp! --=_alternative 006520F88525758C_=-- From [email protected] Thu Apr 02 20:11:23 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37478 invoked from network); 2 Apr 2009 20:11:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Apr 2009 20:11:18 -0000 Received: (qmail 20576 invoked by uid 500); 2 Apr 2009 20:10:57 -0000 Delivered-To: [email protected] Received: (qmail 19428 invoked by uid 500); 2 Apr 2009 20:10:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <imperius-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 18143 invoked by uid 99); 2 Apr 2009 20:09:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Apr 2009 20:09:36 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Apr 2009 20:09:34 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 207C3234C48D for <[email protected]>; Thu, 2 Apr 2009 13:09:13 -0700 (PDT) Message-ID: <1343512561.1238702953131.JavaMail.jira@brutus> Date: Thu, 2 Apr 2009 13:09:13 -0700 (PDT) From: "David Wood (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (IMPERIUS-23) Infinite loop, and then parse error. In-Reply-To: <1198400512.1236116336294.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/IMPERIUS-23?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12695108#action_12695108 ] David Wood commented on IMPERIUS-23: ------------------------------------ The latter exception seems to be happening because the symbol table is a map of only the method name to a MethodSymbol per the following taken from from JavaDataCollectorImpl._populateClassMethods(). // construct a method symbol Symbol s = new MethodSymbol(methodName, internalReturnType, isReturnArray, returnReferenceTypeName, argTypeList, null); // Insert into map symbolMap.put(methodName, s); Any thoughts on how to address this? On the parsing side, the code in AnchorMethodInvokeAction only looks at a single symbol returned from the map (which by this time is an SPLSymbolTable and not a simple Map as in the above). public static void validateActualParameters(SPLSymbolTable symTab, String classNameOrVariableName, String methodName, List pList) throws SPLException { MethodSymbol methodSym = (MethodSymbol) symTab .getSymbol(classNameOrVariableName + "." + methodName); List argTypeList = methodSym.getArgumentList(); > Infinite loop, and then parse error. > ------------------------------------ > > Key: IMPERIUS-23 > URL: https://issues.apache.org/jira/browse/IMPERIUS-23 > Project: Imperius > Issue Type: Bug > Environment: Windows, Java 1.5. > Reporter: David Wood > Assignee: Bill Stoddard > > The following simple policy when parsed causes a hang, which I believe is an infinite loop (see below): > Import Class java.util.Properties:prop; > Strategy Execute_All_Applicable; > Policy > { > Condition > { > 1 == 1 && prop.getProperty("foo","bar").equals("foo") > } > Decision > { > prop.getProperty("foo") > } > }:1; > I found a loop in PrimaryExpression.validate() that may not always execute an Iterator.next() as follows: > while(identTupleIt.hasNext()) > { > if(returnType.getType() == TypeConstants.referenceType) > { > String referenceTypeName = returnType.getReferenceTypeName(); > IdentPrimaryTuple ipt = (IdentPrimaryTuple)identTupleIt.next(); > if(i++ == 0) // first element in the list has the same symbol table > { // as the primary expression > ipt.setSymbolTable(_symTab); > } > returnType = ipt.validate(referenceTypeName); > } else { > identTupleIt.next(); // <--- Added by dawood > } > > > } > However, this then causes the following exception.... > Mar 3, 2009 4:35:43 PM org.apache.imperius.spl.parser.expressions.impl.LogicalAnd <init> > SEVERE: main validation error: org.apache.imperius.spl.parser.expressions.impl.LogicalAnd has wrong data type passed in. > Mar 3, 2009 4:35:43 PM org.apache.imperius.spl.parser.compiler.SPLTreeParser expr > SEVERE: main TreeParseracf:4db6:5e0b:f386:43a5:35d7:718d:3c8bxception creating Expression at line 7 : validation error: org.apache.imperius.spl.parser.expressions.impl.LogicalAnd has wrong data type passed in. > validation error: org.apache.imperius.spl.parser.expressions.impl.LogicalAnd has wrong data type passed in. > Number of Formal and passed parameters don't match for method getProperty > Mar 3, 2009 4:35:43 PM org.apache.imperius.spl.datastore.impl.PolicyParserImpl parseFile > SEVERE: Error encountered while parsing tree > Exception in thread "main" org.apache.imperius.spl.parser.exceptions.SPLException: Error encountered while parsing tree > at org.apache.imperius.spl.datastore.impl.PolicyParserImpl.parseFile(PolicyParserImpl.java:166) > at org.apache.imperius.spl.datastore.impl.PolicyParserImpl.createInternalPolicyObject(PolicyParserImpl.java:96) > at com.ibm.watson.pml.spl.policy.SPLJavaParser.parse(SPLJavaParser.java:47) > at com.ibm.watson.pml.PolicyParser.main(PolicyParser.java:66) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Apr 02 23:19:34 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9924 invoked from network); 2 Apr 2009 23:19:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Apr 2009 23:19:34 -0000 Received: (qmail 6355 invoked by uid 500); 2 Apr 2009 23:19:34 -0000 Delivered-To: [email protected] Received: (qmail 6336 invoked by uid 500); 2 Apr 2009 23:19:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <imperius-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 6326 invoked by uid 99); 2 Apr 2009 23:19:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Apr 2009 23:19:34 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO brutus.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Apr 2009 23:19:33 +0000 Received: from brutus (localhost [161.129.204.104]) by brutus.apache.org (Postfix) with ESMTP id 284ED234C053 for <[email protected]>; Thu, 2 Apr 2009 16:19:13 -0700 (PDT) Message-ID: <1647651596.1238714353163.JavaMail.jira@brutus> Date: Thu, 2 Apr 2009 16:19:13 -0700 (PDT) From: "David Wood (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (IMPERIUS-27) Floating point parsing problem. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Floating point parsing problem. ------------------------------- Key: IMPERIUS-27 URL: https://issues.apache.org/jira/browse/IMPERIUS-27 Project: Imperius Issue Type: Bug Environment: WIndows Reporter: David Wood Assignee: Bill Stoddard Priority: Minor A floating point number that begins with a decimal (e.g., .6) is not parsed. Import Class java.util.Properties:list1; Strategy Execute_All_Applicable; Policy { Condition { 1 == 1 } Decision { list1.put("foo", .6) } }:1; and gives the following exception: dummy:11:26: unexpected token: . dummy:11:26: unexpected token: . dummy:11:26: expecting RPAREN, found '.' dummy:11:27: expecting IDENT, found '6' dummy:11:27: expecting RCURLY, found '6' dummy:11:27: expecting RCURLY, found '6' dummy:11:27: expecting SEMI, found '6' Apr 2, 2009 7:15:05 PM org.apache.imperius.spl.datastore.impl.PolicyParserImpl parseFile SEVERE: Error encountered while parsing PolicyString Exception in thread "main" org.apache.imperius.spl.parser.exceptions.SPLException: Error encountered while parsing PolicyString at org.apache.imperius.spl.datastore.impl.PolicyParserImpl.parseFile(PolicyParserImpl.java:166) at org.apache.imperius.spl.datastore.impl.PolicyParserImpl.createInternalPolicyObject(PolicyParserImpl.java:96) at com.ibm.watson.pml.spl.policy.SPLJavaParser.parse(SPLJavaParser.java:57) at com.ibm.watson.pml.PolicyParser.main(PolicyParser.java:67) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Apr 06 12:40:21 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83281 invoked from network); 6 Apr 2009 12:40:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Apr 2009 12:40:21 -0000 Received: (qmail 34218 invoked by uid 500); 6 Apr 2009 12:40:21 -0000 Delivered-To: [email protected] Received: (qmail 34186 invoked by uid 500); 6 Apr 2009 12:40:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <imperius-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 34176 invoked by uid 99); 6 Apr 2009 12:40:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Apr 2009 12:40:21 +0000 X-ASF-Spam-Status: No, hits=-1.8 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e36.co.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Apr 2009 12:40:12 +0000 Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [161.129.204.104]) by e36.co.us.ibm.com (8.13.1/8.13.1) with ESMTP id n36CcOse026042 for <[email protected]>; Mon, 6 Apr 2009 06:38:24 -0600 Received: from d03av05.boulder.ibm.com (d03av05.boulder.ibm.com [161.129.204.104]) by d03relay04.boulder.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n36CcXa3184318 for <[email protected]>; Mon, 6 Apr 2009 06:38:33 -0600 Received: from d03av05.boulder.ibm.com (loopback [161.129.204.104]) by d03av05.boulder.ibm.com (8.13.1/8.13.3) with ESMTP id n36CcXDr014157 for <[email protected]>; Mon, 6 Apr 2009 06:38:33 -0600 Received: from d03nm118.boulder.ibm.com (d03nm118.boulder.ibm.com [161.129.204.104]) by d03av05.boulder.ibm.com (8.13.1/8.12.11) with ESMTP id n36CcX0C014146 for <[email protected]>; Mon, 6 Apr 2009 06:38:33 -0600 To: [email protected] MIME-Version: 1.0 Subject: Please review April incubator report <eom> X-KeepSent: B92B83B6:21BD2419-87257590:0045629A; type=4; name=$KeepSent X-Mailer: Lotus Notes Release 8.0.2 HF623 January 16, 2009 Message-ID: <[email protected]> From: Neeraj Joshi <[email protected]> Date: Mon, 6 Apr 2009 08:38:31 -0400 X-MIMETrack: Serialize by Router on D03NM118/03/M/IBM(Release 8.5|December 05, 2008) at 04/06/2009 06:38:32, Serialize complete at 04/06/2009 06:38:32 Content-Type: multipart/alternative; boundary="=_alternative 0045707785257590_=" X-Virus-Checked: Checked by ClamAV on apache.org --=_alternative 0045707785257590_= Content-Type: text/plain; charset="US-ASCII" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "The light at the end of the tunnel...may be you" Neeraj Joshi WebSphere XD - Compute Grid AIM, IBM Apache Imperius - http://incubator.apache.org/imperius ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ----- Forwarded by Neeraj Joshi/Durham/IBM on 04/06/2009 08:37 AM ----- From: [email protected] To: [email protected] Date: 04/06/2009 08:37 AM Subject: svn commit: r762310 - /incubator/imperius/board/2009-04.txt Author: jneeraj Date: Mon Apr 6 12:36:48 2009 New Revision: 762310 URL: http://svn.apache.org/viewvc?rev=762310&view=rev Log: April incubator status report Added: incubator/imperius/board/2009-04.txt (with props) Added: incubator/imperius/board/2009-04.txt URL: http://svn.apache.org/viewvc/incubator/imperius/board/2009-04.txt?rev=762310&view=auto ============================================================================== --- incubator/imperius/board/2009-04.txt (added) +++ incubator/imperius/board/2009-04.txt Mon Apr 6 12:36:48 2009 @@ -0,0 +1,12 @@ +2009-April Imperius Incubator status report + +Imperius has been incubating since November 2007. + +Imperius is a rule-based infrastructure management tool. + +Web site: + +Code: Development continues on the code base. + +Community: A few bug fixes were provided by a contributor which were committed. +Voting currently underway for 2 new committers to the community. Propchange: incubator/imperius/board/2009-04.txt ------------------------------------------------------------------------------ svn:eol-style = native --=_alternative 0045707785257590_=-- From [email protected] Mon Apr 06 12:44:39 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84840 invoked from network); 6 Apr 2009 12:44:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Apr 2009 12:44:39 -0000 Received: (qmail 38315 invoked by uid 500); 6 Apr 2009 12:44:38 -0000 Delivered-To: [email protected] Received: (qmail 38283 invoked by uid 500); 6 Apr 2009 12:44:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <imperius-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 38273 invoked by uid 99); 6 Apr 2009 12:44:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Apr 2009 12:44:38 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e39.co.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Apr 2009 12:44:29 +0000 Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com [161.129.204.104]) by e39.co.us.ibm.com (8.13.1/8.13.1) with ESMTP id n36Cf3Pw025676 for <[email protected]>; Mon, 6 Apr 2009 06:41:03 -0600 Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [161.129.204.104]) by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n36Ci9NB208208 for <[email protected]>; Mon, 6 Apr 2009 06:44:09 -0600 Received: from d03av01.boulder.ibm.com (loopback [161.129.204.104]) by d03av01.boulder.ibm.com (161.129.204.10460308/8.13.3) with ESMTP id n36Ci8Fw028959 for <[email protected]>; Mon, 6 Apr 2009 06:44:08 -0600 Received: from d03nm118.boulder.ibm.com (d03nm118.boulder.ibm.com [161.129.204.104]) by d03av01.boulder.ibm.com (161.129.204.10460308/8.12.11) with ESMTP id n36Ci8pg028953 for <[email protected]>; Mon, 6 Apr 2009 06:44:08 -0600 To: [email protected] MIME-Version: 1.0 Subject: Please welcome David Wood as committer X-KeepSent: 53ECBF0D:92FD7682-87257590:0045CA13; type=4; name=$KeepSent X-Mailer: Lotus Notes Release 8.0.2 HF623 January 16, 2009 Message-ID: <[email protected]> From: Neeraj Joshi <[email protected]> Date: Mon, 6 Apr 2009 08:44:07 -0400 X-MIMETrack: Serialize by Router on D03NM118/03/M/IBM(Release 8.5|December 05, 2008) at 04/06/2009 06:44:08, Serialize complete at 04/06/2009 06:44:08 Content-Type: multipart/alternative; boundary="=_alternative 0045F3D285257590_=" X-Virus-Checked: Checked by ClamAV on apache.org --=_alternative 0045F3D285257590_= Content-Type: text/plain; charset="US-ASCII" The Imperius project has voted to accept David Wood as a committer on the project. Welcome aboard David! Thanks Neeraj ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "The light at the end of the tunnel...may be you" Neeraj Joshi WebSphere XD - Compute Grid AIM, IBM Apache Imperius - http://incubator.apache.org/imperius ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --=_alternative 0045F3D285257590_=-- From [email protected] Mon Apr 06 12:45:48 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85435 invoked from network); 6 Apr 2009 12:45:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Apr 2009 12:45:47 -0000 Received: (qmail 39435 invoked by uid 500); 6 Apr 2009 12:45:47 -0000 Delivered-To: [email protected] Received: (qmail 39403 invoked by uid 500); 6 Apr 2009 12:45:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <imperius-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 39393 invoked by uid 99); 6 Apr 2009 12:45:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Apr 2009 12:45:47 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO e37.co.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Apr 2009 12:45:38 +0000 Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [161.129.204.104]) by e37.co.us.ibm.com (8.13.1/8.13.1) with ESMTP id n36CimMO005652 for <[email protected]>; Mon, 6 Apr 2009 06:44:48 -0600 Received: from d03av03.boulder.ibm.com (d03av03.boulder.ibm.com [161.129.204.104]) by d03relay04.boulder.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n36Cj9Or166826 for <[email protected]>; Mon, 6 Apr 2009 06:45:13 -0600 Received: from d03av03.boulder.ibm.com (loopback [161.129.204.104]) by d03av03.boulder.ibm.com (161.129.204.10460308/8.13.3) with ESMTP id n36Cj7Ll013868 for <[email protected]>; Mon, 6 Apr 2009 06:45:07 -0600 Received: from d03nm118.boulder.ibm.com (d03nm118.boulder.ibm.com [161.129.204.104]) by d03av03.boulder.ibm.com (161.129.204.10460308/8.12.11) with ESMTP id n36Cj1n0013585 for <[email protected]>; Mon, 6 Apr 2009 06:45:03 -0600 To: [email protected] MIME-Version: 1.0 Subject: Welcome Xiping Wang as committer X-KeepSent: 9BA14C20:0D94C15F-87257590:0045F807; type=4; name=$KeepSent X-Mailer: Lotus Notes Release 8.0.2 HF623 January 16, 2009 Message-ID: <[email protected]> From: Neeraj Joshi <[email protected]> Date: Mon, 6 Apr 2009 08:44:59 -0400 X-MIMETrack: Serialize by Router on D03NM118/03/M/IBM(Release 8.5|December 05, 2008) at 04/06/2009 06:45:03, Serialize complete at 04/06/2009 06:45:03 Content-Type: multipart/alternative; boundary="=_alternative 0046084485257590_=" X-Virus-Checked: Checked by ClamAV on apache.org --=_alternative 0046084485257590_= Content-Type: text/plain; charset="US-ASCII" The Imperius project has voted to accept Xiping Wang as a committer on the project. Welcome aboard Xiping! Thanks Neeraj ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "The light at the end of the tunnel...may be you" Neeraj Joshi WebSphere XD - Compute Grid AIM, IBM Apache Imperius - http://incubator.apache.org/imperius ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --=_alternative 0046084485257590_=--
From [email protected] Thu Sep 09 01:55:27 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29498 invoked from network); 9 Sep 2010 01:55:26 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 9 Sep 2010 01:55:26 -0000 Received: (qmail 45215 invoked by uid 500); 9 Sep 2010 01:55:26 -0000 Delivered-To: [email protected] Received: (qmail 45140 invoked by uid 500); 9 Sep 2010 01:55:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <shiro-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 45132 invoked by uid 99); 9 Sep 2010 01:55:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Sep 2010 01:55:26 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-ww0-f43.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Sep 2010 01:55:19 +0000 Received: by wwi14 with SMTP id 14so953878wwi.0 for <[email protected]>; Wed, 08 Sep 2010 18:54:57 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id p7mr920542wek.58.1283997260763; Wed, 08 Sep 2010 18:54:20 -0700 (PDT) Sender: [email protected] Received: by 161.129.204.104 with HTTP; Wed, 8 Sep 2010 18:54:20 -0700 (PDT) Date: Wed, 8 Sep 2010 18:54:20 -0700 X-Google-Sender-Auth: d_VdCCpmnxh1XvuFneYeVcjlR_w Message-ID: <[email protected]> Subject: Shiro and OSGi From: Les Hazlewood <[email protected]> To: [email protected] Content-Type: text/plain; charset=UTF-8 Hi team, I'm writing an OSGi-based application, and I need the Shiro jars to also be OSGi bundles. Does anyone have any objections with me adding the OSGi metadata to the Manifest files? This would require changes only to poms - not source code. It is 100% backwards compatible. This is what I would consider an interim step in making Shiro fully OSGi friendly. I think a more 'proper'/full OSGi approach would be better suited for a Shiro 2.0 distribution since it would likely require re-organizing some packages. This would be close to the _very_ old JSecurity 0.1 days, where there was an API jar and implementation jars. It is sort of similar to how the existing 'support' modules work today, but there would be segmentation in the core module itself. But of course, this type of work is further down the line - like I said, a good candidate for 2.x work. For now, I'd like to just get the metadata in the existing .jars. Any objections? Cheers, Les From [email protected] Thu Sep 09 02:18:05 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36428 invoked from network); 9 Sep 2010 02:18:04 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 9 Sep 2010 02:18:04 -0000 Received: (qmail 55244 invoked by uid 500); 9 Sep 2010 02:18:04 -0000 Delivered-To: [email protected] Received: (qmail 55170 invoked by uid 500); 9 Sep 2010 02:18:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <shiro-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 55162 invoked by uid 99); 9 Sep 2010 02:18:04 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Sep 2010 02:18:04 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO rcsinet10.oracle.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Sep 2010 02:17:39 +0000 Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [161.129.204.104]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o892HHb9022451 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <[email protected]>; Thu, 9 Sep 2010 02:17:18 GMT Received: from acsmt353.oracle.com (acsmt353.oracle.com [161.129.204.104]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o892HGgm016434 for <[email protected]>; Thu, 9 Sep 2010 02:17:16 GMT Received: from abhmt012.oracle.com by acsmt353.oracle.com with ESMTP id 590170761283998603; Wed, 08 Sep 2010 19:16:43 -0700 Received: from [161.129.204.104] (/161.129.204.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 08 Sep 2010 19:16:39 -0700 Message-Id: <[email protected]> From: Craig L Russell <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Subject: Re: Shiro and OSGi Mime-Version: 1.0 (Apple Message framework v936) Date: Wed, 8 Sep 2010 19:16:36 -0700 References: <[email protected]> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org Hi Les, Take a look at the plugins that make jars into OSGi jars just by a bit of metadata. I've no objection if you add stuff like: <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>1.4.0</version> <extensions>true</extensions> <configuration> <instructions> <Export-Package>com.mysql.clusterj.tie.*</Export-Package> <Import- Package > com .mysql .clusterj ,com .mysql .clusterj .core .store ,com .mysql .clusterj .core .query ,com .mysql .clusterj.core.util,com.mysql.ndbjtie.mysql,com.mysql.ndbjtie.ndbapi</ Import-Package> </instructions> </configuration> </plugin> It's no bother to anyone not using OSGi and a huge help to people using it. Plus, it increases the use of "Apache uses Apache". Craig On Sep 8, 2010, at 6:54 PM, Les Hazlewood wrote: > Hi team, > > I'm writing an OSGi-based application, and I need the Shiro jars to > also be OSGi bundles. Does anyone have any objections with me adding > the OSGi metadata to the Manifest files? This would require changes > only to poms - not source code. It is 100% backwards compatible. > > This is what I would consider an interim step in making Shiro fully > OSGi friendly. I think a more 'proper'/full OSGi approach would be > better suited for a Shiro 2.0 distribution since it would likely > require re-organizing some packages. This would be close to the > _very_ old JSecurity 0.1 days, where there was an API jar and > implementation jars. It is sort of similar to how the existing > 'support' modules work today, but there would be segmentation in the > core module itself. But of course, this type of work is further down > the line - like I said, a good candidate for 2.x work. > > For now, I'd like to just get the metadata in the existing .jars. Any > objections? > > Cheers, > > Les Craig L Russell Architect, Oracle http://db.apache.org/jdo +1-577-663-7479 mailto:[email protected] P.S. A good JDO? O, Gasp! From [email protected] Thu Sep 09 02:41:15 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38759 invoked from network); 9 Sep 2010 02:41:15 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 9 Sep 2010 02:41:15 -0000 Received: (qmail 61734 invoked by uid 500); 9 Sep 2010 02:41:15 -0000 Delivered-To: [email protected] Received: (qmail 61684 invoked by uid 500); 9 Sep 2010 02:41:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <shiro-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 61674 invoked by uid 99); 9 Sep 2010 02:41:13 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Sep 2010 02:41:13 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-wy0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Sep 2010 02:40:52 +0000 Received: by wye20 with SMTP id 20so833437wye.6 for <[email protected]>; Wed, 08 Sep 2010 19:40:31 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id h16mr732026wec.6.1284000031528; Wed, 08 Sep 2010 19:40:31 -0700 (PDT) Sender: [email protected] Received: by 161.129.204.104 with HTTP; Wed, 8 Sep 2010 19:40:31 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Wed, 8 Sep 2010 19:40:31 -0700 X-Google-Sender-Auth: pk82Z0peXLTRmKRN4yBJdbBYNuk Message-ID: <[email protected]> Subject: Re: Shiro and OSGi From: Les Hazlewood <[email protected]> To: [email protected] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi Craig, Yep, this is precisely the stuff I want to add - I've been using the maven-bundle-plugin and like it a lot. I'll update the poms shortly and we can review. A quick question though - I noticed in the example you gave that version numbers are not specified on the export or import package entries. AIUI, this is a OSGi best practice to avoid version discrepancies since not specifying an Import-Package version is technically the same as saying version=3D[0.0.0, infinity). Is there a specific reason why the project you pasted from does not do this? (I'm always trying to ensure my bundles are as 'proper' as they can be, since OSGi versioning can be a nasty, nasty business - if I'm missing something, I'm open to suggestions!) Thanks, Les. On Wed, Sep 8, 2010 at 7:16 PM, Craig L Russell <[email protected]> wrote: > Hi Les, > > Take a look at the plugins that make jars into OSGi jars just by a bit of > metadata. > > I've no objection if you add stuff like: > > =C2=A0 =C2=A0 =C2=A0<plugin> > =C2=A0 =C2=A0 =C2=A0 =C2=A0<groupId>org.apache.felix</groupId> > =C2=A0 =C2=A0 =C2=A0 =C2=A0<artifactId>maven-bundle-plugin</artifactId> > =C2=A0 =C2=A0 =C2=A0 =C2=A0<version>1.4.0</version> > =C2=A0 =C2=A0 =C2=A0 =C2=A0<extensions>true</extensions> > =C2=A0 =C2=A0 =C2=A0 =C2=A0<configuration> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<instructions> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<Export-Package>com.mysql.cluste= rj.tie.*</Export-Package> > > =C2=A0<Import-Package>com.mysql.clusterj,com.mysql.clusterj.core.store,co= m.mysql.clusterj.core.query,com.mysql.clusterj.core.util,com.mysql.ndbjtie.= mysql,com.mysql.ndbjtie.ndbapi</Import-Package> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0</instructions> > =C2=A0 =C2=A0 =C2=A0 =C2=A0</configuration> > =C2=A0 =C2=A0 =C2=A0</plugin> > > It's no bother to anyone not using OSGi and a huge help to people using i= t. > > Plus, it increases the use of "Apache uses Apache". > > Craig > > On Sep 8, 2010, at 6:54 PM, Les Hazlewood wrote: > >> Hi team, >> >> I'm writing an OSGi-based application, and I need the Shiro jars to >> also be OSGi bundles. =C2=A0Does anyone have any objections with me addi= ng >> the OSGi metadata to the Manifest files? =C2=A0This would require change= s >> only to poms - not source code. =C2=A0It is 100% backwards compatible. >> >> This is what I would consider an interim step in making Shiro fully >> OSGi friendly. =C2=A0I think a more 'proper'/full OSGi approach would be >> better suited for a Shiro 2.0 distribution since it would likely >> require re-organizing some packages. =C2=A0This would be close to the >> _very_ old JSecurity 0.1 days, where there was an API jar and >> implementation jars. =C2=A0It is sort of similar to how the existing >> 'support' modules work today, but there would be segmentation in the >> core module itself. =C2=A0But of course, this type of work is further do= wn >> the line - like I said, a good candidate for 2.x work. >> >> For now, I'd like to just get the metadata in the existing .jars. =C2=A0= Any >> objections? >> >> Cheers, >> >> Les From [email protected] Thu Sep 09 05:22:55 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77706 invoked from network); 9 Sep 2010 05:22:55 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 9 Sep 2010 05:22:55 -0000 Received: (qmail 51038 invoked by uid 500); 9 Sep 2010 05:22:55 -0000 Delivered-To: [email protected] Received: (qmail 50965 invoked by uid 500); 9 Sep 2010 05:22:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <shiro-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 50957 invoked by uid 99); 9 Sep 2010 05:22:52 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Sep 2010 05:22:52 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO rcsinet10.oracle.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Sep 2010 05:22:29 +0000 Received: from acsinet15.oracle.com (acsinet15.oracle.com [161.129.204.104]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o895M5Cg022066 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <[email protected]>; Thu, 9 Sep 2010 05:22:07 GMT Received: from acsmt353.oracle.com (acsmt353.oracle.com [161.129.204.104]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o892UT46027268 for <[email protected]>; Thu, 9 Sep 2010 05:22:03 GMT Received: from abhmt014.oracle.com by acsmt354.oracle.com with ESMTP id 578384791284009672; Wed, 08 Sep 2010 22:21:12 -0700 Received: from [161.129.204.104] (/161.129.204.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 08 Sep 2010 22:21:11 -0700 Message-Id: <[email protected]> From: Craig L Russell <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Subject: Re: Shiro and OSGi Mime-Version: 1.0 (Apple Message framework v936) Date: Wed, 8 Sep 2010 22:21:09 -0700 References: <[email protected]> <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org Hi Les, On Sep 8, 2010, at 7:40 PM, Les Hazlewood wrote: > Hi Craig, > > Yep, this is precisely the stuff I want to add - I've been using the > maven-bundle-plugin and like it a lot. I'll update the poms shortly > and we can review. > > A quick question though - I noticed in the example you gave that > version numbers are not specified on the export or import package > entries. AIUI, this is a OSGi best practice to avoid version > discrepancies since not specifying an Import-Package version is > technically the same as saying version=[0.0.0, infinity). Is there a > specific reason why the project you pasted from does not do this? (I'm > always trying to ensure my bundles are as 'proper' as they can be, > since OSGi versioning can be a nasty, nasty business - if I'm missing > something, I'm open to suggestions!) I'm afraid I'm not an expert on OSGi, so hopefully someone else can chime in with an opinion. Craig > > Thanks, > > Les. > > On Wed, Sep 8, 2010 at 7:16 PM, Craig L Russell > <[email protected]> wrote: >> Hi Les, >> >> Take a look at the plugins that make jars into OSGi jars just by a >> bit of >> metadata. >> >> I've no objection if you add stuff like: >> >> <plugin> >> <groupId>org.apache.felix</groupId> >> <artifactId>maven-bundle-plugin</artifactId> >> <version>1.4.0</version> >> <extensions>true</extensions> >> <configuration> >> <instructions> >> <Export-Package>com.mysql.clusterj.tie.*</Export-Package> >> >> <Import- >> Package >> > >> com >> .mysql >> .clusterj >> ,com >> .mysql >> .clusterj >> .core >> .store >> ,com >> .mysql >> .clusterj >> .core >> .query >> ,com >> .mysql >> .clusterj >> .core.util,com.mysql.ndbjtie.mysql,com.mysql.ndbjtie.ndbapi</Import- >> Package> >> </instructions> >> </configuration> >> </plugin> >> >> It's no bother to anyone not using OSGi and a huge help to people >> using it. >> >> Plus, it increases the use of "Apache uses Apache". >> >> Craig >> >> On Sep 8, 2010, at 6:54 PM, Les Hazlewood wrote: >> >>> Hi team, >>> >>> I'm writing an OSGi-based application, and I need the Shiro jars to >>> also be OSGi bundles. Does anyone have any objections with me >>> adding >>> the OSGi metadata to the Manifest files? This would require changes >>> only to poms - not source code. It is 100% backwards compatible. >>> >>> This is what I would consider an interim step in making Shiro fully >>> OSGi friendly. I think a more 'proper'/full OSGi approach would be >>> better suited for a Shiro 2.0 distribution since it would likely >>> require re-organizing some packages. This would be close to the >>> _very_ old JSecurity 0.1 days, where there was an API jar and >>> implementation jars. It is sort of similar to how the existing >>> 'support' modules work today, but there would be segmentation in the >>> core module itself. But of course, this type of work is further >>> down >>> the line - like I said, a good candidate for 2.x work. >>> >>> For now, I'd like to just get the metadata in the existing .jars. >>> Any >>> objections? >>> >>> Cheers, >>> >>> Les Craig L Russell Architect, Oracle http://db.apache.org/jdo +1-577-663-7479 mailto:[email protected] P.S. A good JDO? O, Gasp! From [email protected] Thu Sep 09 06:54:16 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11068 invoked from network); 9 Sep 2010 06:54:16 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 9 Sep 2010 06:54:16 -0000 Received: (qmail 34923 invoked by uid 500); 9 Sep 2010 06:54:16 -0000 Delivered-To: [email protected] Received: (qmail 34842 invoked by uid 500); 9 Sep 2010 06:54:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <shiro-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 34828 invoked by uid 99); 9 Sep 2010 06:54:12 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Sep 2010 06:54:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Sep 2010 06:53:55 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o896rXDc015923 for <[email protected]>; Thu, 9 Sep 2010 06:53:34 GMT Message-ID: <23006942.91861284015213755.JavaMail.jira@thor> Date: Thu, 9 Sep 2010 02:53:33 -0400 (EDT) From: "Les Hazlewood (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (SHIRO-189) Make existing Shiro .jars OSGi bundles MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Make existing Shiro .jars OSGi bundles -------------------------------------- Key: SHIRO-189 URL: https://issues.apache.org/jira/browse/SHIRO-189 Project: Shiro Issue Type: New Feature Reporter: Les Hazlewood Fix For: 1.1.0 In order to deploy Shiro in OSGi environments, the appropriate OSGi Manifest entries need to be added to the existing .jars. This change would be 100% backwards compatible as there is no code changes - only MANIFEST.MF additions. A more comprehensive OSGi update where more .jars could be created is not within the scope of this issue. If that is to be done, a new issue will be created and probably slated for Shiro 2.x, considering that it would probably incur backwards-incompatible package arrangements. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Sep 09 07:19:42 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 19912 invoked from network); 9 Sep 2010 07:19:42 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 9 Sep 2010 07:19:42 -0000 Received: (qmail 66057 invoked by uid 500); 9 Sep 2010 07:19:42 -0000 Delivered-To: [email protected] Received: (qmail 65981 invoked by uid 500); 9 Sep 2010 07:19:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <shiro-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 65973 invoked by uid 99); 9 Sep 2010 07:19:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Sep 2010 07:19:39 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-ew0-f47.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Sep 2010 07:19:34 +0000 Received: by ewy7 with SMTP id 7so647441ewy.6 for <[email protected]>; Thu, 09 Sep 2010 00:19:13 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id h9mr959983wem.39.1284016751102; Thu, 09 Sep 2010 00:19:11 -0700 (PDT) Sender: [email protected] Received: by 161.129.204.104 with HTTP; Thu, 9 Sep 2010 00:19:11 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Thu, 9 Sep 2010 00:19:11 -0700 X-Google-Sender-Auth: zLzkR6xhU58GLCT9lNhgyInMs00 Message-ID: <[email protected]> Subject: Re: Shiro and OSGi From: Les Hazlewood <[email protected]> To: [email protected] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I've committed all changes to the trunk (pom.xml changes only) - all library .jars (core, 3rd party support) have been made into OSGi bundles. I didn't spend any time adding OSGi metadata to the samples modules since no one would use those as a dependency. Please update and take a peek if you're interested. One issue: I did not add any OSGi metadata to the shiro-all aggregate .jar. Should we do this? My assumption is that most people who are deploying OSGi applications, given OSGi's inclination towards modularity, wouldn't deploy the shiro-all .jar. Does anyone have opinions on this one? Les On Wed, Sep 8, 2010 at 10:21 PM, Craig L Russell <[email protected]> wrote: > Hi Les, > > On Sep 8, 2010, at 7:40 PM, Les Hazlewood wrote: > >> Hi Craig, >> >> Yep, this is precisely the stuff I want to add - I've been using the >> maven-bundle-plugin and like it a lot. =C2=A0I'll update the poms shortl= y >> and we can review. >> >> A quick question though - I noticed in the example you gave that >> version numbers are not specified on the export or import package >> entries. =C2=A0AIUI, this is a OSGi best practice to avoid version >> discrepancies since not specifying an Import-Package version is >> technically the same as saying version=3D[0.0.0, infinity). =C2=A0Is the= re a >> specific reason why the project you pasted from does not do this? (I'm >> always trying to ensure my bundles are as 'proper' as they can be, >> since OSGi versioning can be a nasty, nasty business - if I'm missing >> something, I'm open to suggestions!) > > I'm afraid I'm not an expert on OSGi, so hopefully someone else can chime= in > with an opinion. > > Craig >> >> Thanks, >> >> Les. >> >> On Wed, Sep 8, 2010 at 7:16 PM, Craig L Russell >> <[email protected]> wrote: >>> >>> Hi Les, >>> >>> Take a look at the plugins that make jars into OSGi jars just by a bit = of >>> metadata. >>> >>> I've no objection if you add stuff like: >>> >>> =C2=A0 =C2=A0 <plugin> >>> =C2=A0 =C2=A0 =C2=A0 <groupId>org.apache.felix</groupId> >>> =C2=A0 =C2=A0 =C2=A0 <artifactId>maven-bundle-plugin</artifactId> >>> =C2=A0 =C2=A0 =C2=A0 <version>1.4.0</version> >>> =C2=A0 =C2=A0 =C2=A0 <extensions>true</extensions> >>> =C2=A0 =C2=A0 =C2=A0 <configuration> >>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 <instructions> >>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <Export-Package>com.mysql.clusterj.t= ie.*</Export-Package> >>> >>> >>> =C2=A0<Import-Package>com.mysql.clusterj,com.mysql.clusterj.core.store,= com.mysql.clusterj.core.query,com.mysql.clusterj.core.util,com.mysql.ndbjti= e.mysql,com.mysql.ndbjtie.ndbapi</Import-Package> >>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 </instructions> >>> =C2=A0 =C2=A0 =C2=A0 </configuration> >>> =C2=A0 =C2=A0 </plugin> >>> >>> It's no bother to anyone not using OSGi and a huge help to people using >>> it. >>> >>> Plus, it increases the use of "Apache uses Apache". >>> >>> Craig >>> >>> On Sep 8, 2010, at 6:54 PM, Les Hazlewood wrote: >>> >>>> Hi team, >>>> >>>> I'm writing an OSGi-based application, and I need the Shiro jars to >>>> also be OSGi bundles. =C2=A0Does anyone have any objections with me ad= ding >>>> the OSGi metadata to the Manifest files? =C2=A0This would require chan= ges >>>> only to poms - not source code. =C2=A0It is 100% backwards compatible. >>>> >>>> This is what I would consider an interim step in making Shiro fully >>>> OSGi friendly. =C2=A0I think a more 'proper'/full OSGi approach would = be >>>> better suited for a Shiro 2.0 distribution since it would likely >>>> require re-organizing some packages. =C2=A0This would be close to the >>>> _very_ old JSecurity 0.1 days, where there was an API jar and >>>> implementation jars. =C2=A0It is sort of similar to how the existing >>>> 'support' modules work today, but there would be segmentation in the >>>> core module itself. =C2=A0But of course, this type of work is further = down >>>> the line - like I said, a good candidate for 2.x work. >>>> >>>> For now, I'd like to just get the metadata in the existing .jars. =C2= =A0Any >>>> objections? >>>> >>>> Cheers, >>>> >>>> Les > > Craig L Russell > Architect, Oracle > http://db.apache.org/jdo > +1-577-663-7479 mailto:[email protected] > P.S. A good JDO? O, Gasp! > > From [email protected] Thu Sep 09 18:36:13 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30294 invoked from network); 9 Sep 2010 18:36:13 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 9 Sep 2010 18:36:13 -0000 Received: (qmail 49747 invoked by uid 500); 9 Sep 2010 18:36:13 -0000 Delivered-To: [email protected] Received: (qmail 49700 invoked by uid 500); 9 Sep 2010 18:36:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <shiro-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 49692 invoked by uid 99); 9 Sep 2010 18:36:12 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Sep 2010 18:36:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Sep 2010 18:35:55 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o89IZXdT023325 for <[email protected]>; Thu, 9 Sep 2010 18:35:33 GMT Message-ID: <32738463.100191284057333705.JavaMail.jira@thor> Date: Thu, 9 Sep 2010 14:35:33 -0400 (EDT) From: "Janne Jalkanen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (SHIRO-190) PortFilter not accepting custom port MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org PortFilter not accepting custom port ------------------------------------ Key: SHIRO-190 URL: https://issues.apache.org/jira/browse/SHIRO-190 Project: Shiro Issue Type: Bug Components: Web Affects Versions: 1.0.0, 1.0.1, 1.1.0, Incubation Environment: JDK 1.6, OSX 10.5 Reporter: Janne Jalkanen The following shiro.ini code no worky. Tomcat running on port 8080, with SSL running on 8443. {code} [main] ssl.port = 8443 [urls] /admin/** = ssl {code} Access to http://host:8080/admin/foo redirects to https://host:8080/admin/foo, not https://host:8443/admin/foo. (It looks to me like PortFilter.onAccessDenied() appends the request.getServerPort() instead of the port. If I now read this correctly [might not, this is my first foray into Shiro source], it appears that you can only have SSL on 443 or 80, or else it must be on the same port as the request itself (?)) As far as I can tell, this occurs in all versions up until the current trunk. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Sep 10 00:07:01 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41356 invoked from network); 10 Sep 2010 00:07:01 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 10 Sep 2010 00:07:01 -0000 Received: (qmail 80409 invoked by uid 500); 10 Sep 2010 00:07:01 -0000 Delivered-To: [email protected] Received: (qmail 80378 invoked by uid 500); 10 Sep 2010 00:07:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <shiro-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 80370 invoked by uid 99); 10 Sep 2010 00:07:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Sep 2010 00:07:00 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Sep 2010 00:06:58 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8A06b9j027077 for <[email protected]>; Fri, 10 Sep 2010 00:06:37 GMT Message-ID: <27982527.105621284077197000.JavaMail.jira@thor> Date: Thu, 9 Sep 2010 20:06:36 -0400 (EDT) From: "Les Hazlewood (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (SHIRO-190) PortFilter not accepting custom port In-Reply-To: <32738463.100191284057333705.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SHIRO-190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Les Hazlewood resolved SHIRO-190. --------------------------------- Fix Version/s: 1.1.0 Resolution: Fixed Committed fix for this and also added an accompanying test case > PortFilter not accepting custom port > ------------------------------------ > > Key: SHIRO-190 > URL: https://issues.apache.org/jira/browse/SHIRO-190 > Project: Shiro > Issue Type: Bug > Components: Web > Affects Versions: 1.0.0, 1.0.1, 1.1.0, Incubation > Environment: JDK 1.6, OSX 10.5 > Reporter: Janne Jalkanen > Fix For: 1.1.0 > > > The following shiro.ini code no worky. Tomcat running on port 8080, with SSL running on 8443. > {code} > [main] > ssl.port = 8443 > [urls] > /admin/** = ssl > {code} > Access to http://host:8080/admin/foo redirects to https://host:8080/admin/foo, not https://host:8443/admin/foo. > (It looks to me like PortFilter.onAccessDenied() appends the request.getServerPort() instead of the port. If I now read this correctly [might not, this is my first foray into Shiro source], it appears that you can only have SSL on 443 or 80, or else it must be on the same port as the request itself (?)) > As far as I can tell, this occurs in all versions up until the current trunk. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Sep 10 00:10:54 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41665 invoked from network); 10 Sep 2010 00:10:54 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 10 Sep 2010 00:10:54 -0000 Received: (qmail 82352 invoked by uid 500); 10 Sep 2010 00:10:54 -0000 Delivered-To: [email protected] Received: (qmail 82275 invoked by uid 500); 10 Sep 2010 00:10:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <shiro-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 82265 invoked by uid 99); 10 Sep 2010 00:10:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Sep 2010 00:10:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Sep 2010 00:10:53 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8A0AXrQ027104 for <[email protected]>; Fri, 10 Sep 2010 00:10:33 GMT Message-ID: <10317198.105651284077433361.JavaMail.jira@thor> Date: Thu, 9 Sep 2010 20:10:33 -0400 (EDT) From: "Les Hazlewood (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (SHIRO-191) Change all StringBuffer usages to StringBuilder MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Change all StringBuffer usages to StringBuilder ----------------------------------------------- Key: SHIRO-191 URL: https://issues.apache.org/jira/browse/SHIRO-191 Project: Shiro Issue Type: Improvement Affects Versions: 0.9-RC1, 0.9, 1.0.0, 1.0.1 Reporter: Les Hazlewood Priority: Minor Fix For: 1.1.0 for a minor performance improvement -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Fri Sep 10 09:16:57 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 96803 invoked from network); 10 Sep 2010 09:16:57 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 10 Sep 2010 09:16:57 -0000 Received: (qmail 86851 invoked by uid 500); 10 Sep 2010 09:16:57 -0000 Delivered-To: [email protected] Received: (qmail 86767 invoked by uid 500); 10 Sep 2010 09:16:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <shiro-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 86757 invoked by uid 99); 10 Sep 2010 09:16:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Sep 2010 09:16:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Sep 2010 09:16:54 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8A9GY0j004064 for <[email protected]>; Fri, 10 Sep 2010 09:16:34 GMT Message-ID: <5654809.115231284110194220.JavaMail.jira@thor> Date: Fri, 10 Sep 2010 05:16:34 -0400 (EDT) From: "Janne Jalkanen (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (SHIRO-190) PortFilter not accepting custom port In-Reply-To: <32738463.100191284057333705.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SHIRO-190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12907944#action_12907944 ] Janne Jalkanen commented on SHIRO-190: -------------------------------------- Fix verified, works now. Thanks! > PortFilter not accepting custom port > ------------------------------------ > > Key: SHIRO-190 > URL: https://issues.apache.org/jira/browse/SHIRO-190 > Project: Shiro > Issue Type: Bug > Components: Web > Affects Versions: 1.0.0, 1.0.1, 1.1.0, Incubation > Environment: JDK 1.6, OSX 10.5 > Reporter: Janne Jalkanen > Fix For: 1.1.0 > > > The following shiro.ini code no worky. Tomcat running on port 8080, with SSL running on 8443. > {code} > [main] > ssl.port = 8443 > [urls] > /admin/** = ssl > {code} > Access to http://host:8080/admin/foo redirects to https://host:8080/admin/foo, not https://host:8443/admin/foo. > (It looks to me like PortFilter.onAccessDenied() appends the request.getServerPort() instead of the port. If I now read this correctly [might not, this is my first foray into Shiro source], it appears that you can only have SSL on 443 or 80, or else it must be on the same port as the request itself (?)) > As far as I can tell, this occurs in all versions up until the current trunk. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sat Sep 11 21:51:58 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87656 invoked from network); 11 Sep 2010 21:51:58 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 11 Sep 2010 21:51:58 -0000 Received: (qmail 119 invoked by uid 500); 11 Sep 2010 21:51:58 -0000 Delivered-To: [email protected] Received: (qmail 99974 invoked by uid 500); 11 Sep 2010 21:51:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <shiro-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 99963 invoked by uid 99); 11 Sep 2010 21:51:57 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Sep 2010 21:51:57 +0000 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-iw0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Sep 2010 21:51:33 +0000 Received: by iwn2 with SMTP id 2so3645167iwn.6 for <[email protected]>; Sat, 11 Sep 2010 14:51:11 -0700 (PDT) Received: by 161.129.204.104 with SMTP id j9mr3356433iba.23.1284241871777; Sat, 11 Sep 2010 14:51:11 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with HTTP; Sat, 11 Sep 2010 14:50:41 -0700 (PDT) X-Originating-IP: [161.129.204.104] From: Alex Salazar <[email protected]> Date: Sat, 11 Sep 2010 14:50:41 -0700 Message-ID: <[email protected]> Subject: Website Work To: shiro-dev <[email protected]> Content-Type: multipart/alternative; boundary=00221532cb6092af0f049002dce2 X-Virus-Checked: Checked by ClamAV on apache.org --00221532cb6092af0f049002dce2 Content-Type: text/plain; charset=ISO-8859-1 Hi folks, In an effort to make the Shiro homepage more approachable to first time visitors I'd like to change some of the content and move the technical architecture diagram this weekend. My goal is to emulate what Hadoop and Cassandra have done and maybe also have a section highlighting some of the other projects that use Shiro so that new users can feel comfort in using a framework thats also used by Grails, Wicket, Tapestry, etc. If anyone has any thoughts, recommendations, or objections please send to the list to discuss. Thanks, Alex --00221532cb6092af0f049002dce2-- From [email protected] Sat Sep 11 23:12:10 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6349 invoked from network); 11 Sep 2010 23:12:10 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 11 Sep 2010 23:12:10 -0000 Received: (qmail 18026 invoked by uid 500); 11 Sep 2010 23:12:10 -0000 Delivered-To: [email protected] Received: (qmail 17961 invoked by uid 500); 11 Sep 2010 23:12:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <shiro-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 17953 invoked by uid 99); 11 Sep 2010 23:12:09 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Sep 2010 23:12:09 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ww0-f43.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Sep 2010 23:11:47 +0000 Received: by wwi14 with SMTP id 14so5486824wwi.0 for <[email protected]>; Sat, 11 Sep 2010 16:11:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=qFsyETvpu+toYaVtDECiV/aibI4X5yPLkdLns4vZh68=; b=uiQX3Ye/F8CMy+BEtyOLhjruqbn4UKd3i0ikWuXOIdXUVMsQowPn//6baT3Iu9eS0E WAsIHPxLEeuOAHtxfSUF5gc8XO4jBE6y+q7eQtTP3dLA8rHF1VVRoh1OQexovg68N6LN vTdyHYCft3vTXqaYzTEsgdxo6Cy8yzarSC6Rs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=BAynfxzU74mM4nr184XbJ+l1+QVHmWVehsBilABaUB8GzQ+yDuMP9az3Tjbf0W6QLI 7gBBolSHcxL5DCxKxg6vl7eJJZYrGI6CfOY5sI0NPmB3Khm3HkIs1xWVBxxxJC3ZdY5F rD74Tq/EZknvWkfpaSDdX1CI6WMPEdJ93moiw= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id p7mr2640847wek.58.1284246687683; Sat, 11 Sep 2010 16:11:27 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Sat, 11 Sep 2010 16:11:27 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Sat, 11 Sep 2010 16:11:27 -0700 Message-ID: <[email protected]> Subject: Re: Website Work From: Kalle Korhonen <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Much appreciated Alex! You could also start removing any references to Incubator since we should be a TLP in just a few days, but probably better to keep the incubator logo there until its official. Kalle On Sat, Sep 11, 2010 at 2:50 PM, Alex Salazar <[email protected]> wrote: > Hi folks, > > In an effort to make the Shiro homepage more approachable to first time > visitors I'd like to change some of the content and move the technical > architecture diagram this weekend. =A0My goal is to emulate what Hadoop a= nd > Cassandra have done and maybe also have a section highlighting some of th= e > other projects that use Shiro so that new users can feel comfort in using= a > framework thats also used by Grails, Wicket, Tapestry, etc. > > If anyone has any thoughts, recommendations, or objections please send to > the list to discuss. > > Thanks, > > Alex > From [email protected] Sat Sep 11 23:28:31 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9102 invoked from network); 11 Sep 2010 23:28:31 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 11 Sep 2010 23:28:31 -0000 Received: (qmail 21137 invoked by uid 500); 11 Sep 2010 23:28:31 -0000 Delivered-To: [email protected] Received: (qmail 21063 invoked by uid 500); 11 Sep 2010 23:28:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <shiro-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 21055 invoked by uid 99); 11 Sep 2010 23:28:31 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Sep 2010 23:28:31 +0000 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-iw0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Sep 2010 23:28:07 +0000 Received: by iwn2 with SMTP id 2so3703745iwn.6 for <[email protected]>; Sat, 11 Sep 2010 16:27:46 -0700 (PDT) Received: by 161.129.204.104 with SMTP id r3mr3437859ibr.53.1284247666304; Sat, 11 Sep 2010 16:27:46 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with HTTP; Sat, 11 Sep 2010 16:27:16 -0700 (PDT) X-Originating-IP: [161.129.204.104] In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> From: Alex Salazar <[email protected]> Date: Sat, 11 Sep 2010 16:27:16 -0700 Message-ID: <[email protected]> Subject: Re: Website Work To: [email protected] Content-Type: multipart/alternative; boundary=0022152d6729f42db1049004351f X-Virus-Checked: Checked by ClamAV on apache.org --0022152d6729f42db1049004351f Content-Type: text/plain; charset=ISO-8859-1 Sounds good. What I'll do in the meantime is put it in the "News" that we've voted to graduate and are now waiting for the Apache board to approve. Alex Salazar +1-577-663-7479 [email protected] On Sat, Sep 11, 2010 at 4:11 PM, Kalle Korhonen <[email protected]>wrote: > Much appreciated Alex! You could also start removing any references to > Incubator since we should be a TLP in just a few days, but probably > better to keep the incubator logo there until its official. > > Kalle > > > On Sat, Sep 11, 2010 at 2:50 PM, Alex Salazar <[email protected]> > wrote: > > Hi folks, > > > > In an effort to make the Shiro homepage more approachable to first time > > visitors I'd like to change some of the content and move the technical > > architecture diagram this weekend. My goal is to emulate what Hadoop and > > Cassandra have done and maybe also have a section highlighting some of > the > > other projects that use Shiro so that new users can feel comfort in using > a > > framework thats also used by Grails, Wicket, Tapestry, etc. > > > > If anyone has any thoughts, recommendations, or objections please send to > > the list to discuss. > > > > Thanks, > > > > Alex > > > --0022152d6729f42db1049004351f-- From [email protected] Sat Sep 11 23:46:34 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12743 invoked from network); 11 Sep 2010 23:46:33 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 11 Sep 2010 23:46:33 -0000 Received: (qmail 30089 invoked by uid 500); 11 Sep 2010 23:46:33 -0000 Delivered-To: [email protected] Received: (qmail 30042 invoked by uid 500); 11 Sep 2010 23:46:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <shiro-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 30034 invoked by uid 99); 11 Sep 2010 23:46:33 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Sep 2010 23:46:33 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-iw0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Sep 2010 23:46:11 +0000 Received: by iwn2 with SMTP id 2so3714254iwn.6 for <[email protected]>; Sat, 11 Sep 2010 16:45:50 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id h9mr3395348ibd.91.1284248750382; Sat, 11 Sep 2010 16:45:50 -0700 (PDT) Sender: [email protected] Received: by 161.129.204.104 with HTTP; Sat, 11 Sep 2010 16:45:50 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Sat, 11 Sep 2010 16:45:50 -0700 X-Google-Sender-Auth: U7VCUnG3I1H0p0OJDKoOl4sdvSs Message-ID: <[email protected]> Subject: Re: Website Work From: Les Hazlewood <[email protected]> To: [email protected] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Yeah - I heard that the board meeting might not happen until September 22nd, so I agree it'd probably be better to keep the logo. Les On Sat, Sep 11, 2010 at 4:11 PM, Kalle Korhonen <[email protected]> wrote: > Much appreciated Alex! You could also start removing any references to > Incubator since we should be a TLP in just a few days, but probably > better to keep the incubator logo there until its official. > > Kalle > > > On Sat, Sep 11, 2010 at 2:50 PM, Alex Salazar <[email protected]> wrot= e: >> Hi folks, >> >> In an effort to make the Shiro homepage more approachable to first time >> visitors I'd like to change some of the content and move the technical >> architecture diagram this weekend. =C2=A0My goal is to emulate what Hado= op and >> Cassandra have done and maybe also have a section highlighting some of t= he >> other projects that use Shiro so that new users can feel comfort in usin= g a >> framework thats also used by Grails, Wicket, Tapestry, etc. >> >> If anyone has any thoughts, recommendations, or objections please send t= o >> the list to discuss. >> >> Thanks, >> >> Alex >> > From [email protected] Sun Sep 12 01:12:54 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40521 invoked from network); 12 Sep 2010 01:12:54 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 12 Sep 2010 01:12:54 -0000 Received: (qmail 55887 invoked by uid 500); 12 Sep 2010 01:12:54 -0000 Delivered-To: [email protected] Received: (qmail 55830 invoked by uid 500); 12 Sep 2010 01:12:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <shiro-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 55822 invoked by uid 99); 12 Sep 2010 01:12:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Sep 2010 01:12:53 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Sep 2010 01:12:53 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8C1CWs3001978 for <[email protected]>; Sun, 12 Sep 2010 01:12:33 GMT Message-ID: <19256479.136811284253952791.JavaMail.jira@thor> Date: Sat, 11 Sep 2010 21:12:32 -0400 (EDT) From: "Alex Salazar (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (SHIRO-192) Create Getting Started Guide MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Create Getting Started Guide ---------------------------- Key: SHIRO-192 URL: https://issues.apache.org/jira/browse/SHIRO-192 Project: Shiro Issue Type: Task Components: Documentation Reporter: Alex Salazar Priority: Minor The quickstart/10 min tutorial is great to help people understand how a dev would use Shiro but there should be some guide to help people deploy it to their own application. Perhaps more configuration focus. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sun Sep 12 01:17:58 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41407 invoked from network); 12 Sep 2010 01:17:58 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 12 Sep 2010 01:17:58 -0000 Received: (qmail 56833 invoked by uid 500); 12 Sep 2010 01:17:58 -0000 Delivered-To: [email protected] Received: (qmail 56793 invoked by uid 500); 12 Sep 2010 01:17:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <shiro-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 56785 invoked by uid 99); 12 Sep 2010 01:17:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Sep 2010 01:17:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Sep 2010 01:17:55 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8C1HYCP002017 for <[email protected]>; Sun, 12 Sep 2010 01:17:34 GMT Message-ID: <14683090.136871284254253989.JavaMail.jira@thor> Date: Sat, 11 Sep 2010 21:17:33 -0400 (EDT) From: "Alex Salazar (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (SHIRO-193) Rework features page on Shiro Site MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Rework features page on Shiro Site ---------------------------------- Key: SHIRO-193 URL: https://issues.apache.org/jira/browse/SHIRO-193 Project: Shiro Issue Type: Task Reporter: Alex Salazar Priority: Minor The current Features page is dense and unapproachable to new users. The page should be retooled both in terms of layout and content. Layout should space out the content better to make it more readable The content should be grouped with headers and major features should be follow-up up by the benefit to users. The goal here is make it clear to a less sophisticated user, why all these Shiro features matter. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Sun Sep 12 01:19:56 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41558 invoked from network); 12 Sep 2010 01:19:56 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 12 Sep 2010 01:19:56 -0000 Received: (qmail 57504 invoked by uid 500); 12 Sep 2010 01:19:56 -0000 Delivered-To: [email protected] Received: (qmail 57428 invoked by uid 500); 12 Sep 2010 01:19:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <shiro-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 57420 invoked by uid 99); 12 Sep 2010 01:19:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Sep 2010 01:19:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Sep 2010 01:19:54 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8C1JWd9002029 for <[email protected]>; Sun, 12 Sep 2010 01:19:32 GMT Message-ID: <17137342.136891284254372528.JavaMail.jira@thor> Date: Sat, 11 Sep 2010 21:19:32 -0400 (EDT) From: "Alex Salazar (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (SHIRO-194) Create "who's using Shiro" wiki page MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Create "who's using Shiro" wiki page ------------------------------------ Key: SHIRO-194 URL: https://issues.apache.org/jira/browse/SHIRO-194 Project: Shiro Issue Type: Task Reporter: Alex Salazar Hadoop has this and it's pretty impressive. If we can get users to contribute, it should let credibility to the project. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Mon Sep 13 19:23:11 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30604 invoked from network); 13 Sep 2010 19:23:11 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 13 Sep 2010 19:23:11 -0000 Received: (qmail 71751 invoked by uid 500); 13 Sep 2010 19:23:11 -0000 Delivered-To: [email protected] Received: (qmail 71681 invoked by uid 500); 13 Sep 2010 19:23:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <shiro-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 71673 invoked by uid 99); 13 Sep 2010 19:23:10 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Sep 2010 19:23:10 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-yw0-f47.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Sep 2010 19:22:47 +0000 Received: by ywa8 with SMTP id 8so2283005ywa.6 for <[email protected]>; Mon, 13 Sep 2010 12:22:25 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id j20mr3499135agb.185.1284405744454; Mon, 13 Sep 2010 12:22:24 -0700 (PDT) Sender: [email protected] Received: by 161.129.204.104 with HTTP; Mon, 13 Sep 2010 12:22:24 -0700 (PDT) Date: Mon, 13 Sep 2010 12:22:24 -0700 X-Google-Sender-Auth: K6oofJD3pZnxolcljVlZESFLeCM Message-ID: <[email protected]> Subject: Web site updated From: Les Hazlewood <[email protected]> To: [email protected] Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Hi team, In preparation for our upcoming Apache top-level project graduation and our 1.1 release, I finally got around to updating the website. After fighting many hours with confluence to play nicely with the new site template, the site has been updated with the Apache Shiro logo contest winner [1] and and associated theme. I've tested it in the latest versions of the major 4 browsers, IE 8, Opera 10.62, Firefox 3.6 and Chrome 6, so things should work nicely for the majority of our visitors. Two notes of thanks: to the Cassandra team for writing the 'download' box on the upper-right corner of the home page that we graciously borrowed, and to the Apache Directory team for one of their CSS files that I used to support Confluence styling (code boxes, note/warn/tip panels, etc). Everything else can solely be blamed on me. Please check it out: http://incubator.apache.org/shiro Cheers, Les [1] https://issues.apache.org/jira/browse/SHIRO-171 From [email protected] Mon Sep 13 19:42:37 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37748 invoked from network); 13 Sep 2010 19:42:37 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 13 Sep 2010 19:42:37 -0000 Received: (qmail 95318 invoked by uid 500); 13 Sep 2010 19:42:37 -0000 Delivered-To: [email protected] Received: (qmail 95256 invoked by uid 500); 13 Sep 2010 19:42:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <shiro-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 95248 invoked by uid 99); 13 Sep 2010 19:42:36 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Sep 2010 19:42:36 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-yx0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Sep 2010 19:42:13 +0000 Received: by yxg6 with SMTP id 6so1769405yxg.6 for <[email protected]>; Mon, 13 Sep 2010 12:41:53 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id 5mr407339ybg.443.1284406912811; Mon, 13 Sep 2010 12:41:52 -0700 (PDT) Sender: [email protected] Received: by 161.129.204.104 with HTTP; Mon, 13 Sep 2010 12:41:52 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Mon, 13 Sep 2010 12:41:52 -0700 X-Google-Sender-Auth: xVPopI0CmGIXtGkXLL4NX_768NE Message-ID: <[email protected]> Subject: Re: Web site updated From: Les Hazlewood <[email protected]> To: [email protected] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Make that 3 notes of thanks - the 3rd to Alex Salazar for creating the new home page layout. This was a big deal because the old home page was densely packed with information and hit you in the face with a somewhat overbearing architectural diagram, all of which made for unfriendly 'first time' user experience. Alex's clean-up makes the site much more approachable now. He gave me a wireframe and I tried to implement it as best as I could. Thanks Alex! Les On Mon, Sep 13, 2010 at 12:22 PM, Les Hazlewood <[email protected]> wro= te: > Hi team, > > In preparation for our upcoming Apache top-level project graduation > and our 1.1 release, I finally got around to updating the website. > > After fighting many hours with confluence to play nicely with the new > site template, the site has been updated with the Apache Shiro logo > contest winner [1] and and =C2=A0associated theme. =C2=A0I've tested it i= n the > latest versions of the major 4 browsers, IE 8, Opera 10.62, Firefox > 3.6 and Chrome 6, so things should work nicely for the majority of our > visitors. > > Two notes of thanks: =C2=A0to the Cassandra team for writing the 'downloa= d' > box on the upper-right corner of the home page that we graciously > borrowed, and to the Apache Directory team for one of their CSS files > that I used to support Confluence styling (code boxes, note/warn/tip > panels, etc). =C2=A0Everything else can solely be blamed on me. > > Please check it out: > > http://incubator.apache.org/shiro > > Cheers, > > Les > > [1] https://issues.apache.org/jira/browse/SHIRO-171 > From [email protected] Mon Sep 13 19:50:20 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 39232 invoked from network); 13 Sep 2010 19:50:20 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 13 Sep 2010 19:50:20 -0000 Received: (qmail 941 invoked by uid 500); 13 Sep 2010 19:50:20 -0000 Delivered-To: [email protected] Received: (qmail 888 invoked by uid 500); 13 Sep 2010 19:50:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <shiro-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 880 invoked by uid 99); 13 Sep 2010 19:50:19 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Sep 2010 19:50:19 +0000 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of [email protected] does not designate 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-px0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Sep 2010 19:49:56 +0000 Received: by pxi11 with SMTP id 11so2386056pxi.6 for <[email protected]>; Mon, 13 Sep 2010 12:49:35 -0700 (PDT) Received: by 161.129.204.104 with SMTP id w18mr70580wfj.161.1284407373591; Mon, 13 Sep 2010 12:49:33 -0700 (PDT) Received: from acabrera-md.linkedin.biz (dagmar.corp.linkedin.com [161.129.204.104]) by mx.google.com with ESMTPS id q23sm9126234wfc.6.2161.129.204.104.49.31 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 13 Sep 2010 12:49:32 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1081) Subject: Re: Web site updated From: "Alan D. Cabrera" <[email protected]> In-Reply-To: <[email protected]> Date: Mon, 13 Sep 2010 12:49:31 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <[email protected]> References: <[email protected]> To: [email protected] X-Mailer: Apple Mail (2.1081) X-Virus-Checked: Checked by ClamAV on apache.org Sweet!=20 Can we have download links to maven.org to obtain artifacts from this = ASF site? I'm not so sure. Is there another ASF site that does that as = well? Regards, Alan On Sep 13, 2010, at 12:22 PM, Les Hazlewood wrote: > Hi team, >=20 > In preparation for our upcoming Apache top-level project graduation > and our 1.1 release, I finally got around to updating the website. >=20 > After fighting many hours with confluence to play nicely with the new > site template, the site has been updated with the Apache Shiro logo > contest winner [1] and and associated theme. I've tested it in the > latest versions of the major 4 browsers, IE 8, Opera 10.62, Firefox > 3.6 and Chrome 6, so things should work nicely for the majority of our > visitors. >=20 > Two notes of thanks: to the Cassandra team for writing the 'download' > box on the upper-right corner of the home page that we graciously > borrowed, and to the Apache Directory team for one of their CSS files > that I used to support Confluence styling (code boxes, note/warn/tip > panels, etc). Everything else can solely be blamed on me. >=20 > Please check it out: >=20 > http://incubator.apache.org/shiro >=20 > Cheers, >=20 > Les >=20 > [1] https://issues.apache.org/jira/browse/SHIRO-171 From [email protected] Mon Sep 13 21:01:33 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 62874 invoked from network); 13 Sep 2010 21:01:33 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 13 Sep 2010 21:01:33 -0000 Received: (qmail 3521 invoked by uid 500); 13 Sep 2010 21:01:33 -0000 Delivered-To: [email protected] Received: (qmail 3499 invoked by uid 500); 13 Sep 2010 21:01:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <shiro-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 3491 invoked by uid 99); 13 Sep 2010 21:01:32 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Sep 2010 21:01:32 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-gy0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Sep 2010 21:01:27 +0000 Received: by gya6 with SMTP id 6so2394116gya.6 for <[email protected]>; Mon, 13 Sep 2010 14:01:06 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id b15mr648579ybm.272.1284411665819; Mon, 13 Sep 2010 14:01:05 -0700 (PDT) Sender: [email protected] Received: by 161.129.204.104 with HTTP; Mon, 13 Sep 2010 14:01:05 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Mon, 13 Sep 2010 14:01:05 -0700 X-Google-Sender-Auth: uxO082vpCi1HpiR9KAv2j0dlaWE Message-ID: <[email protected]> Subject: Re: Web site updated From: Les Hazlewood <[email protected]> To: [email protected] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org That was just there for convenience to reflect the same maven location along side them in that table. They're not considered release artifacts (only the source code distribution is considered an official release artifact), so I didn't see any conflict with our mandate that ASF releases must come from ASF infrastructure. I'm quite happy to change it though, but to where should we point the links? Currently the only place that I know where they exist is in the ASF's own Nexus repo, and IIRC, the infra team does not wish that to be used as a distribution point. Regards, Les On Mon, Sep 13, 2010 at 12:49 PM, Alan D. Cabrera <[email protected]> wr= ote: > Sweet! > > Can we have download links to maven.org to obtain artifacts from this ASF= site? =C2=A0I'm not so sure. =C2=A0Is there another ASF site that does tha= t as well? > > > Regards, > Alan > > On Sep 13, 2010, at 12:22 PM, Les Hazlewood wrote: > >> Hi team, >> >> In preparation for our upcoming Apache top-level project graduation >> and our 1.1 release, I finally got around to updating the website. >> >> After fighting many hours with confluence to play nicely with the new >> site template, the site has been updated with the Apache Shiro logo >> contest winner [1] and and =C2=A0associated theme. =C2=A0I've tested it = in the >> latest versions of the major 4 browsers, IE 8, Opera 10.62, Firefox >> 3.6 and Chrome 6, so things should work nicely for the majority of our >> visitors. >> >> Two notes of thanks: =C2=A0to the Cassandra team for writing the 'downlo= ad' >> box on the upper-right corner of the home page that we graciously >> borrowed, and to the Apache Directory team for one of their CSS files >> that I used to support Confluence styling (code boxes, note/warn/tip >> panels, etc). =C2=A0Everything else can solely be blamed on me. >> >> Please check it out: >> >> http://incubator.apache.org/shiro >> >> Cheers, >> >> Les >> >> [1] https://issues.apache.org/jira/browse/SHIRO-171 > > From [email protected] Tue Sep 14 01:03:46 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40635 invoked from network); 14 Sep 2010 01:03:46 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 14 Sep 2010 01:03:46 -0000 Received: (qmail 66268 invoked by uid 500); 14 Sep 2010 01:03:46 -0000 Delivered-To: [email protected] Received: (qmail 66202 invoked by uid 500); 14 Sep 2010 01:03:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <shiro-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 66194 invoked by uid 99); 14 Sep 2010 01:03:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Sep 2010 01:03:46 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO rcsinet10.oracle.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Sep 2010 01:03:40 +0000 Received: from acsinet15.oracle.com (acsinet15.oracle.com [161.129.204.104]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o8E13GQR017426 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <[email protected]>; Tue, 14 Sep 2010 01:03:18 GMT Received: from acsmt355.oracle.com (acsmt355.oracle.com [161.129.204.104]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o8DFnvMH005084 for <[email protected]>; Tue, 14 Sep 2010 01:03:15 GMT Received: from abhmt013.oracle.com by acsmt354.oracle.com with ESMTP id 591590131284426096; Mon, 13 Sep 2010 18:01:36 -0700 Received: from [161.129.204.104] (/161.129.204.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 13 Sep 2010 18:01:36 -0700 Message-Id: <[email protected]> From: Craig L Russell <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Subject: Re: Web site updated Mime-Version: 1.0 (Apple Message framework v936) Date: Mon, 13 Sep 2010 18:01:33 -0700 References: <[email protected]> <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.936) Hi Alan, >> Can we have download links to maven.org to obtain artifacts from >> this ASF site? I'm not sure I understand the question. You don't need links to download maven artifacts; you just need to have a maven repo that is willing to serve the artifacts that are specified by the pom dependency. Since maven central publishes these artifacts, (correct me if I misunderstand) I don't see the need to have a separate download location specified. Craig On Sep 13, 2010, at 2:01 PM, Les Hazlewood wrote: > That was just there for convenience to reflect the same maven location > along side them in that table. They're not considered release > artifacts (only the source code distribution is considered an official > release artifact), so I didn't see any conflict with our mandate that > ASF releases must come from ASF infrastructure. > > I'm quite happy to change it though, but to where should we point the > links? Currently the only place that I know where they exist is in > the ASF's own Nexus repo, and IIRC, the infra team does not wish that > to be used as a distribution point. > > Regards, > > Les > > On Mon, Sep 13, 2010 at 12:49 PM, Alan D. Cabrera <[email protected] > > wrote: >> Sweet! >> >> Can we have download links to maven.org to obtain artifacts from >> this ASF site? I'm not so sure. Is there another ASF site that >> does that as well? >> >> >> Regards, >> Alan >> >> On Sep 13, 2010, at 12:22 PM, Les Hazlewood wrote: >> >>> Hi team, >>> >>> In preparation for our upcoming Apache top-level project graduation >>> and our 1.1 release, I finally got around to updating the website. >>> >>> After fighting many hours with confluence to play nicely with the >>> new >>> site template, the site has been updated with the Apache Shiro logo >>> contest winner [1] and and associated theme. I've tested it in the >>> latest versions of the major 4 browsers, IE 8, Opera 10.62, Firefox >>> 3.6 and Chrome 6, so things should work nicely for the majority of >>> our >>> visitors. >>> >>> Two notes of thanks: to the Cassandra team for writing the >>> 'download' >>> box on the upper-right corner of the home page that we graciously >>> borrowed, and to the Apache Directory team for one of their CSS >>> files >>> that I used to support Confluence styling (code boxes, note/warn/tip >>> panels, etc). Everything else can solely be blamed on me. >>> >>> Please check it out: >>> >>> http://incubator.apache.org/shiro >>> >>> Cheers, >>> >>> Les >>> >>> [1] https://issues.apache.org/jira/browse/SHIRO-171 >> >> Craig L Russell Architect, Oracle http://db.apache.org/jdo +1-577-663-7479 mailto:[email protected] P.S. A good JDO? O, Gasp! From [email protected] Tue Sep 14 01:19:21 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48354 invoked from network); 14 Sep 2010 01:19:21 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 14 Sep 2010 01:19:21 -0000 Received: (qmail 78578 invoked by uid 500); 14 Sep 2010 01:19:21 -0000 Delivered-To: [email protected] Received: (qmail 78534 invoked by uid 500); 14 Sep 2010 01:19:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <shiro-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 78526 invoked by uid 99); 14 Sep 2010 01:19:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Sep 2010 01:19:20 +0000 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of [email protected] does not designate 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-pw0-f47.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Sep 2010 01:19:15 +0000 Received: by pwj1 with SMTP id 1so1886658pwj.6 for <[email protected]>; Mon, 13 Sep 2010 18:18:54 -0700 (PDT) Received: by 161.129.204.104 with SMTP id h17mr568439wfd.306.1284427134104; Mon, 13 Sep 2010 18:18:54 -0700 (PDT) Received: from acabrera-md.linkedin.biz (dagmar.corp.linkedin.com [161.129.204.104]) by mx.google.com with ESMTPS id q11sm9438239wfc.5.2161.129.204.104.18.52 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 13 Sep 2010 18:18:53 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1081) Subject: Re: Web site updated From: "Alan D. Cabrera" <[email protected]> In-Reply-To: <[email protected]> Date: Mon, 13 Sep 2010 18:18:51 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> To: [email protected] X-Mailer: Apple Mail (2.1081) On Sep 13, 2010, at 6:01 PM, Craig L Russell wrote: > Hi Alan, >=20 >>> Can we have download links to maven.org to obtain artifacts from = this ASF site? >=20 > I'm not sure I understand the question. You don't need links to = download maven artifacts; you just need to have a maven repo that is = willing to serve the artifacts that are specified by the pom dependency. = Since maven central publishes these artifacts, (correct me if I = misunderstand) I don't see the need to have a separate download location = specified. Sorry, I was under the impression that we always had to use the ASF = mirror system setup by infra. I guess not. Regards, Alan >=20 > Craig >=20 > On Sep 13, 2010, at 2:01 PM, Les Hazlewood wrote: >=20 >> That was just there for convenience to reflect the same maven = location >> along side them in that table. They're not considered release >> artifacts (only the source code distribution is considered an = official >> release artifact), so I didn't see any conflict with our mandate that >> ASF releases must come from ASF infrastructure. >>=20 >> I'm quite happy to change it though, but to where should we point the >> links? Currently the only place that I know where they exist is in >> the ASF's own Nexus repo, and IIRC, the infra team does not wish that >> to be used as a distribution point. >>=20 >> Regards, >>=20 >> Les >>=20 >> On Mon, Sep 13, 2010 at 12:49 PM, Alan D. Cabrera = <[email protected]> wrote: >>> Sweet! >>>=20 >>> Can we have download links to maven.org to obtain artifacts from = this ASF site? I'm not so sure. Is there another ASF site that does = that as well? >>>=20 >>>=20 >>> Regards, >>> Alan >>>=20 >>> On Sep 13, 2010, at 12:22 PM, Les Hazlewood wrote: >>>=20 >>>> Hi team, >>>>=20 >>>> In preparation for our upcoming Apache top-level project graduation >>>> and our 1.1 release, I finally got around to updating the website. >>>>=20 >>>> After fighting many hours with confluence to play nicely with the = new >>>> site template, the site has been updated with the Apache Shiro logo >>>> contest winner [1] and and associated theme. I've tested it in = the >>>> latest versions of the major 4 browsers, IE 8, Opera 10.62, Firefox >>>> 3.6 and Chrome 6, so things should work nicely for the majority of = our >>>> visitors. >>>>=20 >>>> Two notes of thanks: to the Cassandra team for writing the = 'download' >>>> box on the upper-right corner of the home page that we graciously >>>> borrowed, and to the Apache Directory team for one of their CSS = files >>>> that I used to support Confluence styling (code boxes, = note/warn/tip >>>> panels, etc). Everything else can solely be blamed on me. >>>>=20 >>>> Please check it out: >>>>=20 >>>> http://incubator.apache.org/shiro >>>>=20 >>>> Cheers, >>>>=20 >>>> Les >>>>=20 >>>> [1] https://issues.apache.org/jira/browse/SHIRO-171 >>>=20 >>>=20 >=20 > Craig L Russell > Architect, Oracle > http://db.apache.org/jdo > +1-577-663-7479 mailto:[email protected] > P.S. A good JDO? O, Gasp! >=20 From [email protected] Tue Sep 14 01:51:52 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56095 invoked from network); 14 Sep 2010 01:51:52 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 14 Sep 2010 01:51:52 -0000 Received: (qmail 940 invoked by uid 500); 14 Sep 2010 01:51:52 -0000 Delivered-To: [email protected] Received: (qmail 861 invoked by uid 500); 14 Sep 2010 01:51:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <shiro-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 853 invoked by uid 99); 14 Sep 2010 01:51:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Sep 2010 01:51:51 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-iw0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Sep 2010 01:51:46 +0000 Received: by iwn2 with SMTP id 2so5696887iwn.6 for <[email protected]>; Mon, 13 Sep 2010 18:51:25 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id dg9mr7143857ibb.54.1284429085606; Mon, 13 Sep 2010 18:51:25 -0700 (PDT) Sender: [email protected] Received: by 161.129.204.104 with HTTP; Mon, 13 Sep 2010 18:51:25 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Mon, 13 Sep 2010 18:51:25 -0700 X-Google-Sender-Auth: 7cu8-cs7OLrIx1-FtkJfCS0nL6g Message-ID: <[email protected]> Subject: Re: Web site updated From: Les Hazlewood <[email protected]> To: [email protected] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable My understanding is that you must use the infra system for ASF releases. The links to .jar files along side the maven snippets do not represent ASF releases - they're only there as a convenience. I do have a question though. When looking at Cassandra's download stuff this weekend, I noticed that you are directed to mirror page: http://www.apache.org/dyn/closer.cgi?path=3D/cassandra/0.6.5/apache-cassand= ra-0.6.5-bin.tar.gz Currently Shiro's release comes from http://www.apache.org/dist/incubator/shiro/shiro-root-1.0.0-incubating-sour= ce-release.zip That is, we're not using the closer.cgi script. What is preferred? Why does the ASF have two distribution mechanisms? Thanks, Les On Mon, Sep 13, 2010 at 6:18 PM, Alan D. Cabrera <[email protected]> wro= te: > > On Sep 13, 2010, at 6:01 PM, Craig L Russell wrote: > >> Hi Alan, >> >>>> Can we have download links to maven.org to obtain artifacts from this = ASF site? >> >> I'm not sure I understand the question. You don't need links to download= maven artifacts; you just need to have a maven repo that is willing to ser= ve the artifacts that are specified by the pom dependency. Since maven cent= ral publishes these artifacts, (correct me if I misunderstand) I don't see = the need to have a separate download location specified. > > Sorry, I was under the impression that we always had to use the ASF mirro= r system setup by infra. =C2=A0I guess not. > > > Regards, > Alan > >> >> Craig >> >> On Sep 13, 2010, at 2:01 PM, Les Hazlewood wrote: >> >>> That was just there for convenience to reflect the same maven location >>> along side them in that table. =C2=A0They're not considered release >>> artifacts (only the source code distribution is considered an official >>> release artifact), so I didn't see any conflict with our mandate that >>> ASF releases must come from ASF infrastructure. >>> >>> I'm quite happy to change it though, but to where should we point the >>> links? =C2=A0Currently the only place that I know where they exist is i= n >>> the ASF's own Nexus repo, and IIRC, the infra team does not wish that >>> to be used as a distribution point. >>> >>> Regards, >>> >>> Les >>> >>> On Mon, Sep 13, 2010 at 12:49 PM, Alan D. Cabrera <[email protected]= > wrote: >>>> Sweet! >>>> >>>> Can we have download links to maven.org to obtain artifacts from this = ASF site? =C2=A0I'm not so sure. =C2=A0Is there another ASF site that does = that as well? >>>> >>>> >>>> Regards, >>>> Alan >>>> >>>> On Sep 13, 2010, at 12:22 PM, Les Hazlewood wrote: >>>> >>>>> Hi team, >>>>> >>>>> In preparation for our upcoming Apache top-level project graduation >>>>> and our 1.1 release, I finally got around to updating the website. >>>>> >>>>> After fighting many hours with confluence to play nicely with the new >>>>> site template, the site has been updated with the Apache Shiro logo >>>>> contest winner [1] and and =C2=A0associated theme. =C2=A0I've tested = it in the >>>>> latest versions of the major 4 browsers, IE 8, Opera 10.62, Firefox >>>>> 3.6 and Chrome 6, so things should work nicely for the majority of ou= r >>>>> visitors. >>>>> >>>>> Two notes of thanks: =C2=A0to the Cassandra team for writing the 'dow= nload' >>>>> box on the upper-right corner of the home page that we graciously >>>>> borrowed, and to the Apache Directory team for one of their CSS files >>>>> that I used to support Confluence styling (code boxes, note/warn/tip >>>>> panels, etc). =C2=A0Everything else can solely be blamed on me. >>>>> >>>>> Please check it out: >>>>> >>>>> http://incubator.apache.org/shiro >>>>> >>>>> Cheers, >>>>> >>>>> Les >>>>> >>>>> [1] https://issues.apache.org/jira/browse/SHIRO-171 >>>> >>>> >> >> Craig L Russell >> Architect, Oracle >> http://db.apache.org/jdo >> +1-577-663-7479 mailto:[email protected] >> P.S. A good JDO? O, Gasp! >> > > From [email protected] Tue Sep 14 02:47:19 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76454 invoked from network); 14 Sep 2010 02:47:19 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 14 Sep 2010 02:47:19 -0000 Received: (qmail 39467 invoked by uid 500); 14 Sep 2010 02:47:19 -0000 Delivered-To: [email protected] Received: (qmail 39394 invoked by uid 500); 14 Sep 2010 02:47:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <shiro-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 39386 invoked by uid 99); 14 Sep 2010 02:47:18 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Sep 2010 02:47:18 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO rcsinet10.oracle.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Sep 2010 02:46:55 +0000 Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [161.129.204.104]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o8E2kXh8011216 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <[email protected]>; Tue, 14 Sep 2010 02:46:34 GMT Received: from acsmt354.oracle.com (acsmt354.oracle.com [161.129.204.104]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o8E2eCiC004063 for <[email protected]>; Tue, 14 Sep 2010 02:46:33 GMT Received: from abhmt016.oracle.com by acsmt355.oracle.com with ESMTP id 601793321284432387; Mon, 13 Sep 2010 19:46:27 -0700 Received: from [161.129.204.104] (/161.129.204.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 13 Sep 2010 19:46:26 -0700 Message-Id: <[email protected]> From: Craig L Russell <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Subject: Re: Web site updated Mime-Version: 1.0 (Apple Message framework v936) Date: Mon, 13 Sep 2010 19:46:22 -0700 References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org Hi Les, On Sep 13, 2010, at 6:51 PM, Les Hazlewood wrote: > My understanding is that you must use the infra system for ASF > releases. The links to .jar files along side the maven snippets do > not represent ASF releases - they're only there as a convenience. > > I do have a question though. When looking at Cassandra's download > stuff this weekend, I noticed that you are directed to mirror page: > > http://www.apache.org/dyn/closer.cgi?path=/cassandra/0.6.5/apache-cassandra-0.6.5-bin.tar.gz This is the preferred approach. Publishing releases directly from Apache's site is marginally ok for incubating releases but TLP releases really should allow mirrors. > > Currently Shiro's release comes from > http://www.apache.org/dist/incubator/shiro/shiro-root-1.0.0-incubating-source-release.zip > > That is, we're not using the closer.cgi script. What is preferred? closer.cgi > Why does the ASF have two distribution mechanisms? You are kidding, right? There are at least two ways to do everything at ASF... Craig > > Thanks, > > Les > > On Mon, Sep 13, 2010 at 6:18 PM, Alan D. Cabrera > <[email protected]> wrote: >> >> On Sep 13, 2010, at 6:01 PM, Craig L Russell wrote: >> >>> Hi Alan, >>> >>>>> Can we have download links to maven.org to obtain artifacts from >>>>> this ASF site? >>> >>> I'm not sure I understand the question. You don't need links to >>> download maven artifacts; you just need to have a maven repo that >>> is willing to serve the artifacts that are specified by the pom >>> dependency. Since maven central publishes these artifacts, >>> (correct me if I misunderstand) I don't see the need to have a >>> separate download location specified. >> >> Sorry, I was under the impression that we always had to use the ASF >> mirror system setup by infra. I guess not. >> >> >> Regards, >> Alan >> >>> >>> Craig >>> >>> On Sep 13, 2010, at 2:01 PM, Les Hazlewood wrote: >>> >>>> That was just there for convenience to reflect the same maven >>>> location >>>> along side them in that table. They're not considered release >>>> artifacts (only the source code distribution is considered an >>>> official >>>> release artifact), so I didn't see any conflict with our mandate >>>> that >>>> ASF releases must come from ASF infrastructure. >>>> >>>> I'm quite happy to change it though, but to where should we point >>>> the >>>> links? Currently the only place that I know where they exist is in >>>> the ASF's own Nexus repo, and IIRC, the infra team does not wish >>>> that >>>> to be used as a distribution point. >>>> >>>> Regards, >>>> >>>> Les >>>> >>>> On Mon, Sep 13, 2010 at 12:49 PM, Alan D. Cabrera <[email protected] >>>> > wrote: >>>>> Sweet! >>>>> >>>>> Can we have download links to maven.org to obtain artifacts from >>>>> this ASF site? I'm not so sure. Is there another ASF site that >>>>> does that as well? >>>>> >>>>> >>>>> Regards, >>>>> Alan >>>>> >>>>> On Sep 13, 2010, at 12:22 PM, Les Hazlewood wrote: >>>>> >>>>>> Hi team, >>>>>> >>>>>> In preparation for our upcoming Apache top-level project >>>>>> graduation >>>>>> and our 1.1 release, I finally got around to updating the >>>>>> website. >>>>>> >>>>>> After fighting many hours with confluence to play nicely with >>>>>> the new >>>>>> site template, the site has been updated with the Apache Shiro >>>>>> logo >>>>>> contest winner [1] and and associated theme. I've tested it >>>>>> in the >>>>>> latest versions of the major 4 browsers, IE 8, Opera 10.62, >>>>>> Firefox >>>>>> 3.6 and Chrome 6, so things should work nicely for the majority >>>>>> of our >>>>>> visitors. >>>>>> >>>>>> Two notes of thanks: to the Cassandra team for writing the >>>>>> 'download' >>>>>> box on the upper-right corner of the home page that we graciously >>>>>> borrowed, and to the Apache Directory team for one of their CSS >>>>>> files >>>>>> that I used to support Confluence styling (code boxes, note/ >>>>>> warn/tip >>>>>> panels, etc). Everything else can solely be blamed on me. >>>>>> >>>>>> Please check it out: >>>>>> >>>>>> http://incubator.apache.org/shiro >>>>>> >>>>>> Cheers, >>>>>> >>>>>> Les >>>>>> >>>>>> [1] https://issues.apache.org/jira/browse/SHIRO-171 >>>>> >>>>> >>> >>> Craig L Russell >>> Architect, Oracle >>> http://db.apache.org/jdo >>> +1-577-663-7479 mailto:[email protected] >>> P.S. A good JDO? O, Gasp! >>> >> >> Craig L Russell Architect, Oracle http://db.apache.org/jdo +1-577-663-7479 mailto:[email protected] P.S. A good JDO? O, Gasp! From [email protected] Tue Sep 14 10:27:04 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48996 invoked from network); 14 Sep 2010 10:27:04 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 14 Sep 2010 10:27:04 -0000 Received: (qmail 91972 invoked by uid 500); 14 Sep 2010 10:27:04 -0000 Delivered-To: [email protected] Received: (qmail 91962 invoked by uid 500); 14 Sep 2010 10:27:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <shiro-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 91952 invoked by uid 99); 14 Sep 2010 10:27:00 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Sep 2010 10:26:59 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-qy0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Sep 2010 10:26:39 +0000 Received: by qyk31 with SMTP id 31so2836060qyk.6 for <[email protected]>; Tue, 14 Sep 2010 03:26:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=zjrxIESuMqEpi0g8c8j7iartCPMlkMyK9KC2K4E04gI=; b=RHroEE92i49sXZhJWQXT9v82StH49EToEvnIPHlV3XXhy7Fpqu5JYx1uqeNloVai7y 1OGlbH1MNbWyeWHPHLffHoX9P5XX7a73kCp4y/R+rKmiODab9CSyIFdk0sIUDf77oYOX 3NolsM7ezFEg4urvPV+TlmwtvMns38ycu4U/U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=eoAw1dSjRfRhlGyFnewkJ5jLAJVqjFENTMMbmIMLXjpRFezA8TfGkrMtkmXJTH8Huo oOJqLbLKa7hCujeeObohHlkUHnZM/u5VdiNn7rz9vVr1jEtLVSO8/uyANgYXXquliywj ilGpCSl6hKWauBcQhXg+xUXcUXaCxPOnHAY4c= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id ly13mr4271011qcb.80.1284459978142; Tue, 14 Sep 2010 03:26:18 -0700 (PDT) Sender: [email protected] Received: by 161.129.204.104 with HTTP; Tue, 14 Sep 2010 03:26:18 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Tue, 14 Sep 2010 13:26:18 +0300 X-Google-Sender-Auth: LBTSr3H-s5dn7LuyhFfjd2dyZeI Message-ID: <[email protected]> Subject: Re: Shiro and OSGi From: Alex Karasulu <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=00163628405eb9b525049035a4eb X-Virus-Checked: Checked by ClamAV on apache.org --00163628405eb9b525049035a4eb Content-Type: text/plain; charset=ISO-8859-1 On Thu, Sep 9, 2010 at 5:16 AM, Craig L Russell <[email protected]>wrote: > Hi Les, > > Take a look at the plugins that make jars into OSGi jars just by a bit of > metadata. > > I've no objection if you add stuff like: > > <plugin> > <groupId>org.apache.felix</groupId> > <artifactId>maven-bundle-plugin</artifactId> > <version>1.4.0</version> > <extensions>true</extensions> > <configuration> > <instructions> > <Export-Package>com.mysql.clusterj.tie.*</Export-Package> > > <Import-Package>com.mysql.clusterj,com.mysql.clusterj.core.store,com.mysql.clusterj.core.query,com.mysql.clusterj.core.util,com.mysql.ndbjtie.mysql,com.mysql.ndbjtie.ndbapi</Import-Package> > </instructions> > </configuration> > </plugin> > > It's no bother to anyone not using OSGi and a huge help to people using it. > > Plus, it increases the use of "Apache uses Apache". > > +1 thanks for this guys. -- Alex Karasulu My Blog acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b http://www.jroller.com/akarasulu/ Apache Directory Server acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b http://directory.apache.org Apache MINA acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b http://mina.apache.org To set up a meeting with me: http://tungle.me/AlexKarasulu --00163628405eb9b525049035a4eb-- From [email protected] Tue Sep 14 20:37:02 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84788 invoked from network); 14 Sep 2010 20:37:02 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 14 Sep 2010 20:37:02 -0000 Received: (qmail 86759 invoked by uid 500); 14 Sep 2010 20:37:02 -0000 Delivered-To: [email protected] Received: (qmail 86663 invoked by uid 500); 14 Sep 2010 20:37:01 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <shiro-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 86654 invoked by uid 99); 14 Sep 2010 20:37:01 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Sep 2010 20:37:01 +0000 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of [email protected] does not designate 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-pv0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Sep 2010 20:36:38 +0000 Received: by pvg6 with SMTP id 6so2681918pvg.6 for <[email protected]>; Tue, 14 Sep 2010 13:36:15 -0700 (PDT) Received: by 161.129.204.104 with SMTP id w41mr447534wfh.190.1284496575020; Tue, 14 Sep 2010 13:36:15 -0700 (PDT) Received: from acabrera-md.linkedin.biz (dagmar.corp.linkedin.com [161.129.204.104]) by mx.google.com with ESMTPS id s42sm667695wfc.21.2161.129.204.104.36.13 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 14 Sep 2010 13:36:13 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1081) Subject: Re: Shiro and OSGi From: "Alan D. Cabrera" <[email protected]> In-Reply-To: <[email protected]> Date: Tue, 14 Sep 2010 13:36:12 -0700 Content-Transfer-Encoding: 7bit Message-Id: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> To: [email protected] X-Mailer: Apple Mail (2.1081) X-Virus-Checked: Checked by ClamAV on apache.org On Sep 8, 2010, at 7:40 PM, Les Hazlewood wrote: > Hi Craig, > > Yep, this is precisely the stuff I want to add - I've been using the > maven-bundle-plugin and like it a lot. I'll update the poms shortly > and we can review. > > A quick question though - I noticed in the example you gave that > version numbers are not specified on the export or import package > entries. AIUI, this is a OSGi best practice to avoid version > discrepancies since not specifying an Import-Package version is > technically the same as saying version=[0.0.0, infinity). Is there a > specific reason why the project you pasted from does not do this? (I'm > always trying to ensure my bundles are as 'proper' as they can be, > since OSGi versioning can be a nasty, nasty business - if I'm missing > something, I'm open to suggestions!) You may want to read: http://www.osgi.org/wiki/uploads/Links/SemanticVersioning.pdf Regards From [email protected] Tue Sep 14 20:39:13 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85222 invoked from network); 14 Sep 2010 20:39:13 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 14 Sep 2010 20:39:13 -0000 Received: (qmail 92040 invoked by uid 500); 14 Sep 2010 20:39:13 -0000 Delivered-To: [email protected] Received: (qmail 91952 invoked by uid 500); 14 Sep 2010 20:39:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <shiro-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 91944 invoked by uid 99); 14 Sep 2010 20:39:12 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Sep 2010 20:39:12 +0000 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of [email protected] does not designate 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-px0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Sep 2010 20:38:48 +0000 Received: by pxi11 with SMTP id 11so2690569pxi.6 for <[email protected]>; Tue, 14 Sep 2010 13:38:27 -0700 (PDT) Received: by 161.129.204.104 with SMTP id l3mr474908wfj.203.1284496707104; Tue, 14 Sep 2010 13:38:27 -0700 (PDT) Received: from acabrera-md.linkedin.biz (dagmar.corp.linkedin.com [161.129.204.104]) by mx.google.com with ESMTPS id n34sm678539wfa.2.2161.129.204.104.38.25 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 14 Sep 2010 13:38:26 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1081) Subject: Re: Shiro and OSGi From: "Alan D. Cabrera" <[email protected]> In-Reply-To: <[email protected]> Date: Tue, 14 Sep 2010 13:38:25 -0700 Content-Transfer-Encoding: 7bit Message-Id: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> To: [email protected] X-Mailer: Apple Mail (2.1081) X-Virus-Checked: Checked by ClamAV on apache.org On Sep 9, 2010, at 12:19 AM, Les Hazlewood wrote: > I've committed all changes to the trunk (pom.xml changes only) - all > library .jars (core, 3rd party support) have been made into OSGi > bundles. I didn't spend any time adding OSGi metadata to the samples > modules since no one would use those as a dependency. Please update > and take a peek if you're interested. > > One issue: I did not add any OSGi metadata to the shiro-all aggregate > .jar. Should we do this? My assumption is that most people who are > deploying OSGi applications, given OSGi's inclination towards > modularity, wouldn't deploy the shiro-all .jar. > > Does anyone have opinions on this one? That makes sense to me. Regards, Alan From [email protected] Mon Sep 20 21:58:48 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21526 invoked from network); 20 Sep 2010 21:58:48 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 20 Sep 2010 21:58:48 -0000 Received: (qmail 42602 invoked by uid 500); 20 Sep 2010 21:58:48 -0000 Delivered-To: [email protected] Received: (qmail 42557 invoked by uid 500); 20 Sep 2010 21:58:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <shiro-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 42549 invoked by uid 99); 20 Sep 2010 21:58:47 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Sep 2010 21:58:47 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-wy0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Sep 2010 21:58:26 +0000 Received: by wyb34 with SMTP id 34so3217759wyb.6 for <[email protected]>; Mon, 20 Sep 2010 14:58:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=Rgdts/ottac4xLrM5d9Dt0vuR/XYc1Ud6kY3c+bkNBQ=; b=IFrv3LEQuoBHuHPnewLFburBc1rNH/eEYZ+exdz9Chbx8knx8dXYwYZWB7Ay3TluaY yBsCfqlf6HsrZasBGhtkmr3jPKbjyGmKza0vPOCUiDFeOdUcjAYtd0RyYjTNfDDLPvFs E3HGB7LfRBT1dgGsl3sk2tGvEWKUMA+I/s38I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=RUuQuxEnf67R3fkqZgWe56SBffDsafER3viIBE+Bb0YEIX/k6V2XyJ/Llwryw902tZ FSQ0fRaX3cBWcKZLCt94TQVtzJTIR9fhiBtkuJdPnt/i8B6enMWm5GELgDJpGK5xxvkd sMPHIgfz/91+/xiIeIX7C9UkqMBYyN7YZQjww= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id g16mr8378092wef.78.1285019885170; Mon, 20 Sep 2010 14:58:05 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Mon, 20 Sep 2010 14:58:05 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Mon, 20 Sep 2010 14:58:05 -0700 Message-ID: <[email protected]> Subject: Re: Graduation From: Kalle Korhonen <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org >From the September board report: "The PMC voted to graduate Shiro as a TLP". There's a list of post-graduation steps at: http://incubator.apache.org/guides/graduation.html#life-after-graduation. I'm pretty tied up this this week but but some of my time will free up for this and other stuff starting from next week. Moving svn is the first step - the guide doesn't mention anything about permissions - shall I try? Kalle On Mon, Jun 28, 2010 at 11:53 AM, Les Hazlewood <[email protected]> wrote: > Hi Craig, > > Sure, I'd be very happy to start working on the checklist. > > Thanks! > > Les > > On Mon, Jun 28, 2010 at 11:45 AM, Craig L Russell > <[email protected]>wrote: > >> Hi, >> >> I think this project is ready to graduate from incubation to become a TLP >> in Apache. It has been a long process and I think everyone learned a lot >> from the experience. >> >> Les, as the nominated chair of the PMC, can you take the lead to make this >> happen? There is a good graduation checklist at >> http://incubator.apache.org/guides/graduation.html and there's still time >> to make it happen for the July board meeting. >> >> Craig >> >> Craig L Russell >> Architect, Oracle >> http://db.apache.org/jdo >> +1-577-663-7479 mailto:[email protected] >> P.S. A good JDO? O, Gasp! >> >> > From [email protected] Mon Sep 20 22:39:25 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37084 invoked from network); 20 Sep 2010 22:39:25 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 20 Sep 2010 22:39:25 -0000 Received: (qmail 95416 invoked by uid 500); 20 Sep 2010 22:39:25 -0000 Delivered-To: [email protected] Received: (qmail 95378 invoked by uid 500); 20 Sep 2010 22:39:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <shiro-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 95370 invoked by uid 99); 20 Sep 2010 22:39:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Sep 2010 22:39:25 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-vw0-f47.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Sep 2010 22:39:20 +0000 Received: by vws9 with SMTP id 9so3787953vws.6 for <[email protected]>; Mon, 20 Sep 2010 15:38:59 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id z5mr714867vch.105.1285022339058; Mon, 20 Sep 2010 15:38:59 -0700 (PDT) Sender: [email protected] Received: by 161.129.204.104 with HTTP; Mon, 20 Sep 2010 15:38:59 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Date: Mon, 20 Sep 2010 15:38:59 -0700 X-Google-Sender-Auth: kMFlvYPEg0iLkuwbf4OU8uQlquA Message-ID: <[email protected]> Subject: Re: Graduation From: Les Hazlewood <[email protected]> To: [email protected] Content-Type: text/plain; charset=UTF-8 The Incubator PMC has voted, but the ASF Board hasn't accepted the graduation resolution yet. The board postponed the original September 15th meeting and delayed it until the 22nd (this Wednesday). I've contacted the board twice to ask for the conference call details so I can represent the Shiro team should any questions arise, but I haven't yet received a response. I'll try again now. At least based on the current information we have to date, I think we'll have to wait until after Wednesday to start performing the post-graduation steps. Les On Mon, Sep 20, 2010 at 2:58 PM, Kalle Korhonen <[email protected]> wrote: > From the September board report: "The PMC voted to graduate Shiro as a > TLP". There's a list of post-graduation steps at: > http://incubator.apache.org/guides/graduation.html#life-after-graduation. > I'm pretty tied up this this week but but some of my time will free up > for this and other stuff starting from next week. Moving svn is the > first step - the guide doesn't mention anything about permissions - > shall I try? > > Kalle > > > On Mon, Jun 28, 2010 at 11:53 AM, Les Hazlewood <[email protected]> wrote: >> Hi Craig, >> >> Sure, I'd be very happy to start working on the checklist. >> >> Thanks! >> >> Les >> >> On Mon, Jun 28, 2010 at 11:45 AM, Craig L Russell >> <[email protected]>wrote: >> >>> Hi, >>> >>> I think this project is ready to graduate from incubation to become a TLP >>> in Apache. It has been a long process and I think everyone learned a lot >>> from the experience. >>> >>> Les, as the nominated chair of the PMC, can you take the lead to make this >>> happen? There is a good graduation checklist at >>> http://incubator.apache.org/guides/graduation.html and there's still time >>> to make it happen for the July board meeting. >>> >>> Craig >>> >>> Craig L Russell >>> Architect, Oracle >>> http://db.apache.org/jdo >>> +1-577-663-7479 mailto:[email protected] >>> P.S. A good JDO? O, Gasp! >>> >>> >> > From [email protected] Mon Sep 20 22:42:16 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38368 invoked from network); 20 Sep 2010 22:42:15 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 20 Sep 2010 22:42:15 -0000 Received: (qmail 431 invoked by uid 500); 20 Sep 2010 22:42:15 -0000 Delivered-To: [email protected] Received: (qmail 234 invoked by uid 500); 20 Sep 2010 22:42:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <shiro-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 226 invoked by uid 99); 20 Sep 2010 22:42:15 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Sep 2010 22:42:15 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO rcsinet10.oracle.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Sep 2010 22:41:52 +0000 Received: from acsinet15.oracle.com (acsinet15.oracle.com [161.129.204.104]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o8KMfU7P012672 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <[email protected]>; Mon, 20 Sep 2010 22:41:31 GMT Received: from acsmt354.oracle.com (acsmt354.oracle.com [161.129.204.104]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o8KHQMcY031380 for <[email protected]>; Mon, 20 Sep 2010 22:41:29 GMT Received: from abhmt009.oracle.com by acsmt353.oracle.com with ESMTP id 614573041285022461; Mon, 20 Sep 2010 15:41:01 -0700 Received: from [161.129.204.104] (/161.129.204.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 20 Sep 2010 15:41:00 -0700 Message-Id: <[email protected]> From: Craig L Russell <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Subject: Re: Graduation Mime-Version: 1.0 (Apple Message framework v936) Date: Mon, 20 Sep 2010 15:40:59 -0700 References: <[email protected]> <[email protected]> <[email protected]> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org Hi Kalle, The board did not take up the resolution in the special 11-September meeting but is scheduled to do so at the 22-September meeting. There are a number of items that infra has to do once the board approves Shiro (like adding the shiro ldap group) so let's wait just a bit... Craig On Sep 20, 2010, at 2:58 PM, Kalle Korhonen wrote: > From the September board report: "The PMC voted to graduate Shiro as a > TLP". There's a list of post-graduation steps at: > http://incubator.apache.org/guides/graduation.html#life-after-graduation > . > I'm pretty tied up this this week but but some of my time will free up > for this and other stuff starting from next week. Moving svn is the > first step - the guide doesn't mention anything about permissions - > shall I try? > > Kalle > > > On Mon, Jun 28, 2010 at 11:53 AM, Les Hazlewood <[email protected]> > wrote: >> Hi Craig, >> >> Sure, I'd be very happy to start working on the checklist. >> >> Thanks! >> >> Les >> >> On Mon, Jun 28, 2010 at 11:45 AM, Craig L Russell >> <[email protected]>wrote: >> >>> Hi, >>> >>> I think this project is ready to graduate from incubation to >>> become a TLP >>> in Apache. It has been a long process and I think everyone learned >>> a lot >>> from the experience. >>> >>> Les, as the nominated chair of the PMC, can you take the lead to >>> make this >>> happen? There is a good graduation checklist at >>> http://incubator.apache.org/guides/graduation.html and there's >>> still time >>> to make it happen for the July board meeting. >>> >>> Craig >>> >>> Craig L Russell >>> Architect, Oracle >>> http://db.apache.org/jdo >>> +1-577-663-7479 mailto:[email protected] >>> P.S. A good JDO? O, Gasp! >>> >>> >> Craig L Russell Architect, Oracle http://db.apache.org/jdo +1-577-663-7479 mailto:[email protected] P.S. A good JDO? O, Gasp! From [email protected] Wed Sep 22 23:19:55 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 785 invoked from network); 22 Sep 2010 23:19:55 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 22 Sep 2010 23:19:55 -0000 Received: (qmail 98326 invoked by uid 500); 22 Sep 2010 23:19:55 -0000 Delivered-To: [email protected] Received: (qmail 98266 invoked by uid 500); 22 Sep 2010 23:19:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <shiro-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 98256 invoked by uid 99); 22 Sep 2010 23:19:54 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Sep 2010 23:19:54 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO rcsinet10.oracle.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Sep 2010 23:19:30 +0000 Received: from acsinet15.oracle.com (acsinet15.oracle.com [161.129.204.104]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o8MNJ6v8032011 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <[email protected]>; Wed, 22 Sep 2010 23:19:08 GMT Received: from acsmt354.oracle.com (acsmt354.oracle.com [161.129.204.104]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o8MIHoko009922 for <[email protected]>; Wed, 22 Sep 2010 23:19:06 GMT Received: from abhmt012.oracle.com by acsmt355.oracle.com with ESMTP id 622843151285197503; Wed, 22 Sep 2010 16:18:23 -0700 Received: from [161.129.204.104] (/161.129.204.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 22 Sep 2010 16:18:22 -0700 Message-Id: <[email protected]> From: Craig L Russell <[email protected]> To: [email protected] Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Subject: Fwd: ASF Board Meeting Summary - 22 September 2010 Mime-Version: 1.0 (Apple Message framework v936) Date: Wed, 22 Sep 2010 16:18:21 -0700 References: <[email protected]> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org Congratulations! Let the wild rumpus start! Craig Begin forwarded message: > ...The following resolutions were passed unanimously: > > ... > C. Establish Apache Shiro Project > Craig L Russell Architect, Oracle http://db.apache.org/jdo +1-577-663-7479 mailto:[email protected] P.S. A good JDO? O, Gasp! From [email protected] Thu Sep 23 07:04:07 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 24576 invoked from network); 23 Sep 2010 07:04:07 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 23 Sep 2010 07:04:07 -0000 Received: (qmail 70119 invoked by uid 500); 23 Sep 2010 07:04:07 -0000 Delivered-To: [email protected] Received: (qmail 70037 invoked by uid 500); 23 Sep 2010 07:04:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <shiro-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 70021 invoked by uid 99); 23 Sep 2010 07:04:04 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Sep 2010 07:04:04 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO smtp2a.orange.fr) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Sep 2010 07:03:42 +0000 Received: from me-wanadoo.net (localhost [161.129.204.104]) by mwinf2a23.orange.fr (SMTP Server) with ESMTP id B78B280006B1 for <[email protected]>; Thu, 23 Sep 2010 09:03:21 +0200 (CEST) Received: from me-wanadoo.net (localhost [161.129.204.104]) by mwinf2a23.orange.fr (SMTP Server) with ESMTP id AA1B08000794 for <[email protected]>; Thu, 23 Sep 2010 09:03:21 +0200 (CEST) Received: from mail.netheos.net (LLagny-156-35-14-216.w80-14.abo.wanadoo.fr [161.129.204.104]) by mwinf2a23.orange.fr (SMTP Server) with ESMTP id 86EEB80006B1 for <[email protected]>; Thu, 23 Sep 2010 09:03:21 +0200 (CEST) X-ME-UUID: [email protected] Received: from localhost (localhost [161.129.204.104]) by mail.netheos.net (Postfix) with ESMTP id C0BC9120002 for <[email protected]>; Thu, 23 Sep 2010 09:07:15 +0200 (CEST) Received: from mail.netheos.net ([161.129.204.104]) by localhost (mail.netheos.net [161.129.204.104]) (amavisd-new, port 10024) with ESMTP id A4mzTfAw9Y+8 for <[email protected]>; Thu, 23 Sep 2010 09:07:15 +0200 (CEST) Received: from dosadi.localnet (dosadi.netheos.net [161.129.204.104]) by mail.netheos.net (Postfix) with ESMTPSA id 2818D120001 for <[email protected]>; Thu, 23 Sep 2010 09:07:15 +0200 (CEST) From: Paul Merlin <[email protected]> To: [email protected] Subject: Re: Fwd: ASF Board Meeting Summary - 22 September 2010 Date: Thu, 23 Sep 2010 08:58:53 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.33-tuxonice-r2; KDE/4.4.5; i686; ; ) References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Congrats ! Quoting Craig L Russell <[email protected]>: > Congratulations! > > Let the wild rumpus start! > > Craig > > Begin forwarded message: > > ...The following resolutions were passed unanimously: > > > > ... > > > > C. Establish Apache Shiro Project > > Craig L Russell > Architect, Oracle > http://db.apache.org/jdo > +1-577-663-7479 mailto:[email protected] > P.S. A good JDO? O, Gasp! From [email protected] Thu Sep 23 20:54:17 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31346 invoked from network); 23 Sep 2010 20:54:17 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 23 Sep 2010 20:54:17 -0000 Received: (qmail 40808 invoked by uid 500); 23 Sep 2010 20:54:17 -0000 Delivered-To: [email protected] Received: (qmail 40733 invoked by uid 500); 23 Sep 2010 20:54:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <shiro-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 40725 invoked by uid 99); 23 Sep 2010 20:54:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Sep 2010 20:54:16 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-iw0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Sep 2010 20:54:11 +0000 Received: by iwn2 with SMTP id 2so1751578iwn.6 for <[email protected]>; Thu, 23 Sep 2010 13:53:45 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id b7mr2340167ibx.164.1285275224609; Thu, 23 Sep 2010 13:53:44 -0700 (PDT) Sender: [email protected] Received: by 161.129.204.104 with HTTP; Thu, 23 Sep 2010 13:53:44 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Date: Thu, 23 Sep 2010 13:53:44 -0700 X-Google-Sender-Auth: MoqJb3UbwFNy78usMzhOBKlJLdw Message-ID: <[email protected]> Subject: Re: Fwd: ASF Board Meeting Summary - 22 September 2010 From: Les Hazlewood <[email protected]> To: [email protected] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Thanks everyone! We'll get started on the transition process as soon as we can. Hopefully Shiro 1.1 will be released shortly thereafter. Cheers, Les On Wed, Sep 22, 2010 at 11:58 PM, Paul Merlin <[email protected]> wrote: > > Congrats ! > > Quoting Craig L Russell <[email protected]>: >> Congratulations! >> >> Let the wild rumpus start! >> >> Craig >> >> Begin forwarded message: >> > ...The following resolutions were passed unanimously: >> > >> > ... >> > >> > =C2=A0C. Establish Apache Shiro Project >> >> Craig L Russell >> Architect, Oracle >> http://db.apache.org/jdo >> +1-577-663-7479 mailto:[email protected] >> P.S. A good JDO? O, Gasp! > > > From [email protected] Sun Sep 26 00:55:17 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12396 invoked from network); 26 Sep 2010 00:55:17 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Sep 2010 00:55:17 -0000 Received: (qmail 33020 invoked by uid 500); 26 Sep 2010 00:55:17 -0000 Delivered-To: [email protected] Received: (qmail 32945 invoked by uid 500); 26 Sep 2010 00:55:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <shiro-dev.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 32936 invoked by uid 99); 26 Sep 2010 00:55:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Sep 2010 00:55:16 +0000 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of [email protected] does not designate 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-px0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Sep 2010 00:55:07 +0000 Received: by pxi11 with SMTP id 11so1127162pxi.6 for <[email protected]>; Sat, 25 Sep 2010 17:54:45 -0700 (PDT) Received: by 161.129.204.104 with SMTP id k13mr4533185wfe.318.1285462485517; Sat, 25 Sep 2010 17:54:45 -0700 (PDT) Received: from [161.129.204.104] (c-71-198-141-73.hsd1.ca.comcast.net [161.129.204.104]) by mx.google.com with ESMTPS id e12sm4826067wfh.1.2161.129.204.104.54.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 25 Sep 2010 17:54:44 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1081) Subject: Re: ASF Board Meeting Summary - 22 September 2010 From: "Alan D. Cabrera" <[email protected]> In-Reply-To: <[email protected]> Date: Sat, 25 Sep 2010 17:54:44 -0700 Content-Transfer-Encoding: 7bit Message-Id: <[email protected]> References: <[email protected]> <[email protected]> To: [email protected] X-Mailer: Apple Mail (2.1081) X-Virus-Checked: Checked by ClamAV on apache.org Congrats! On Sep 22, 2010, at 4:18 PM, Craig L Russell wrote: > Congratulations! > > Let the wild rumpus start! > > Craig > > Begin forwarded message: > >> ...The following resolutions were passed unanimously: >> >> ... >> C. Establish Apache Shiro Project >> > > Craig L Russell > Architect, Oracle > http://db.apache.org/jdo > +1-577-663-7479 mailto:[email protected] > P.S. A good JDO? O, Gasp! >
From [email protected] Sat Sep 01 12:08:16 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6636 invoked from network); 1 Sep 2007 12:08:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Sep 2007 12:08:13 -0000 Received: (qmail 85846 invoked by uid 500); 1 Sep 2007 12:08:07 -0000 Delivered-To: [email protected] Received: (qmail 85727 invoked by uid 500); 1 Sep 2007 12:08:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jcp-open.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 85718 invoked by uid 99); 1 Sep 2007 12:08:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Sep 2007 05:08:06 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO [161.129.204.104]) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Sep 2007 12:09:06 +0000 Received: from [161.129.204.104] (cpe-071-077-006-045.nc.res.rr.com 161.129.204.104) by mail.buni.org/Meldware Mail 1.0M8 (161.129.204.104) with SMTP id 1188648545080174.58973520071572; Sat, 1 Sep 2007 07:09:05 -0500 (CDT) Message-ID: <[email protected]> Date: Sat, 01 Sep 2007 08:07:42 -0400 From: Andy <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20070604) MIME-Version: 1.0 To: [email protected] Subject: Re: Sacha (JBoss) on SUNW/JCP References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Wade Chandler wrote: > They have now open-sourced it. Can't keep a lid on > No they haven't > doing that. People can fork or what ever if they want > No they can't > to now. The license issues will surely be resolved, > Ye of too much faith. > but certainly the marketing types are going to have a > field day trying to figure out what it means first. > > I don't think constant nastiness is going to make > anything better. I liked the way Geir approached the > issue. You don't negotiate by trying to upset the > person you are negotiating. You come at it diplomatic. > If that doesn't work then you go another route, and > even if that is suit one doesn't have to be uncivil. I > don't see how bashing Sun over changing their freaking > trading symbol to a trademark they own is going to be > any different than owning the trademark. If Linus > created Linux, Inc. would you be upset? What if > someone used WATR as their trademark, would it mean > they want all the water? > > Indefinitely...forever? > Wade > > --- Andy <[email protected]> wrote: > > >> Sacha didn't mince words... >> >> >> > http://sacha.labourey.com/2007/08/29/from-sunw-to-java-sun-comes-to-the-rescue-of-under-50-year-old-housewives-not-quite/ > >> >> It is IMO more coherent than the weird PPT preso.. >> >> -Andy >> >> From [email protected] Mon Sep 03 10:46:11 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74184 invoked from network); 3 Sep 2007 10:46:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 3 Sep 2007 10:46:01 -0000 Received: (qmail 24809 invoked by uid 500); 3 Sep 2007 10:45:55 -0000 Delivered-To: [email protected] Received: (qmail 24623 invoked by uid 500); 3 Sep 2007 10:45:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jcp-open.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 24576 invoked by uid 99); 3 Sep 2007 10:45:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Sep 2007 03:45:54 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=FRT_STRONG2,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO colossus.hpl.hp.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Sep 2007 10:45:48 +0000 Received: from localhost (localhost.localdomain [161.129.204.104]) by colossus.hpl.hp.com (Postfix) with ESMTP id AD5916BA02 for <[email protected]>; Mon, 3 Sep 2007 11:45:25 +0100 (BST) X-Virus-Scanned: [email protected] Received: from colossus.hpl.hp.com ([161.129.204.104]) by localhost (colossus.hpl.hp.com [161.129.204.104]) (amavisd-new, port 10024) with LMTP id 3K1tY+3jtDFJ for <[email protected]>; Mon, 3 Sep 2007 11:45:23 +0100 (BST) Received: from ha-node-br2.hpl.hp.com (ha-node-br2.hpl.hp.com [161.129.204.104]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by colossus.hpl.hp.com (Postfix) with ESMTP id 772256B9F9 for <[email protected]>; Mon, 3 Sep 2007 11:45:23 +0100 (BST) Received: from [161.129.204.104] (chamonix.hpl.hp.com [161.129.204.104]) by ha-node-br2.hpl.hp.com (8.14.1/8.13.4) with ESMTP id l83Aj6fp007281 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <[email protected]>; Mon, 3 Sep 2007 11:45:07 +0100 (BST) Message-ID: <[email protected]> Date: Mon, 03 Sep 2007 11:41:00 +0100 From: Steve Loughran <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20070728) MIME-Version: 1.0 To: [email protected] Subject: Re: Sacha (JBoss) on SUNW/JCP References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HPL-MailScanner-Information: Please contact the ISP for more information X-HPL-MailScanner: Found to be clean X-HPL-MailScanner-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org Wade Chandler wrote: > Sounds like a lot of fuss about nothing really. If you > want fair, bashing constantly, isn't very fair. You > tend to always do so. Sun has made "a lot" of > contributions with Java...how many years has it been > free to download and use? Sun give Java on windows away for the same reason MS give IE and .NET runtime away: they had no choice. If people would pay for java or for the .NET CLR, then you can be sure they would charge. By giving it and entry level tooling away for free, they got the developers on board and gave a broad audience of end users. embedded JVM has always had $$ associated with it, at least on things like VXworks...the OS vendor had to port it, and wanted their money back. IBM, DEC/Compaq, HP, Apple, et al also had to pay to become a java licensee through competitive pressure, and ended up giving it away for similar reasons. Though I believe that you can get paid JVM support from IBM and HPQ; maybe not apple. > They have now open-sourced it. Can't keep a lid on > doing that. People can fork or what ever if they want > to now. The license issues will surely be resolved, > but certainly the marketing types are going to have a > field day trying to figure out what it means first. Marketing are still strugging to work out how to make money out of Java in a world of commodity x86 hardware and commodity linux OS. By applying FOU restrictions to all non-SUNW (esp. non-GPL) releases, and removing the linking loophole from embedded installations, sun are trying to set things up so that if you want to embed Java in your phone/TV/printer/media player you need to talk to marketing and pay a few dollars per unit, or serve up all your source. its the mysql model, though I note that mysql is now switching to an 'enterprise edition' model, because the dual license pricing didnt work well enough for their IPO plans. Too many people were using mysql server side who didnt care about the GPL, so they had to go for the 'unstable=free, stable=premium' split that RHEL/Fedora have. I hope, I really hope, that we dont see something like that happening in Java. > I don't think constant nastiness is going to make > anything better. I liked the way Geir approached the > issue. You don't negotiate by trying to upset the > person you are negotiating. You come at it diplomatic. > If that doesn't work then you go another route, and > even if that is suit one doesn't have to be uncivil. I > don't see how bashing Sun over changing their freaking > trading symbol to a trademark they own is going to be > any different than owning the trademark. If Linus > created Linux, Inc. would you be upset? What if > someone used WATR as their trademark, would it mean > they want all the water? > I bemoan the name change as SUNW always reminded of those first sun workstations at university, the 68020 boxes running NeWS with the optical mice and crude text editors, boxes that were a vision of the future. What is that future? Monthly windows patch fiestas taking down distributed networks like Skype. Somewhere it all went wrong. Now, back to installing 64 bit ubuntu on my new desktop, the os where neither adobe flash or sun java work as firefox plugins. -steve -- Steve Loughran http://www.1060.org/blogxter/publish/5 Author: Ant in Action http://antbook.org/ From [email protected] Wed Sep 05 20:28:49 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95325 invoked from network); 5 Sep 2007 20:28:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Sep 2007 20:28:46 -0000 Received: (qmail 3294 invoked by uid 500); 5 Sep 2007 20:28:40 -0000 Delivered-To: [email protected] Received: (qmail 3210 invoked by uid 500); 5 Sep 2007 20:28:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jcp-open.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 3201 invoked by uid 99); 5 Sep 2007 20:28:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Sep 2007 13:28:40 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO rwcrmhc14.comcast.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Sep 2007 20:28:34 +0000 Received: from rmailcenter18.comcast.net ([161.129.204.104]) by comcast.net (rwcrmhc14) with SMTP id <20070905202813m1400kf2o0e>; Wed, 5 Sep 2007 20:28:13 +0000 Received: from [161.129.204.104] by rmailcenter18.comcast.net; Wed, 05 Sep 2007 20:28:12 +0000 From: [email protected] (Gary VanMatre) To: [email protected] Subject: Re: Representation advice for JSR 314 Date: Wed, 05 Sep 2007 20:28:12 +0000 Message-Id: <[email protected]> X-Mailer: AT&T Message Center Version 1 (Oct 4 2006) X-Authenticated-Sender: Z3Zhbm1hdHJlQGNvbWNhc3QubmV0 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="NextPart_Webmail_9m3u9jl4l_12845_1189024092_0" X-Virus-Checked: Checked by ClamAV on apache.org --NextPart_Webmail_9m3u9jl4l_12845_1189024092_0 Content-Type: text/plain Content-Transfer-Encoding: 8bit Hi *, I sent this message out nearly two months ago looking for advice representing JSR 314 and did not hear any feedback on my question. "Please review and let us know if this is something that ASF chooses to represent". We were recently denied a request to create a read-only mailing list [1]. I'm respectfully aware of peoples "personal time" but I will ask again even though I have already spent "my time" participating as an ASF rep. [1] https://issues.apache.org/jira/browse/INFRA-1335 Gary VanMatre >From: "Geir Magnusson Jr." <[email protected]> > > there's no difference. Just another name > > > On Jul 9, 2007, at 11:49 AM, Andrew C. Oliver wrote: > > > Can someone explain or provide reference to the difference between > > the TCK and CTS? > > > > Gary VanMatre wrote: > >> Hey Guys, > >> > >> Martin Marinschek and I have been accepted as Apache EG > >> representatives for JSR 314 [1]. I've been trying to follow the > >> on going dialog to determine how that affects this JSR. I'd like > >> to participate but respect that there is greater motives at work > >> here. Please review and let us know if this is something that ASF > >> chooses it represent. > >> > >> > >> [1] http://www.jcp.org/en/jsr/detail?id=314 > >> > >> > >> > >>> 2.16 Please describe how the RI and TCK will de delivered, i.e. > >>> as part of a profile or platform edition, or stand-alone, or > >>> both. Include version information for the profile or >platform in > >>> your answer. > >> > >> > >>> Sun will deliver a Reference Implementation (RI) and Technology > >>> Compatibility Kit (TCK). The RI will be made available > >>> standalone and as part of the Java EE 6 platform. The TCK will be > >>> made available standalone and as part of the Java EE 6 CTS. > >>> > >> > >> Gary VanMatre > >> > > > > > > -- > > Buni Meldware Communication Suite > > http://buni.org > > Multi-platform and extensible Email, Calendaring (including > > freebusy), Rich Webmail, Web-calendaring, ease of installation/ > > administration. > > > --NextPart_Webmail_9m3u9jl4l_12845_1189024092_0 Content-Type: text/html Content-Transfer-Encoding: 8bit <html><body> <DIV> <DIV> <P class=MsoNormal style="MARGIN: 0in 0in 0pt">Hi *,<SPAN style="FONT-FAMILY: 'Arial Unicode MS'"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P> <P class=MsoNormal style="MARGIN: 0in 0in 0pt">&nbsp;<o:p></o:p></P> <P class=MsoNormal style="MARGIN: 0in 0in 0pt">I sent this message out nearly two months ago looking for advice representing JSR 314 and did not hear any feedback on my question.</P> <P class=MsoNormal style="MARGIN: 0in 0in 0pt">&nbsp;</P> <P class=MsoNormal style="MARGIN: 0in 0in 0pt">"Please review and let us know if this is something that ASF chooses&nbsp;to represent". <o:p></o:p></P> <P class=MsoNormal style="MARGIN: 0in 0in 0pt">&nbsp;<o:p></o:p></P> <P class=MsoNormal style="MARGIN: 0in 0in 0pt">We were recently denied a request to create a read-only mailing list [1].&nbsp;</P> <P class=MsoNormal style="MARGIN: 0in 0in 0pt">&nbsp;</P> <P class=MsoNormal style="MARGIN: 0in 0in 0pt">I'm respectfully aware of peoples "personal time" but I will ask again even though I have already spent "my time" participating as an ASF rep.<o:p></o:p></P> <P class=MsoNormal style="MARGIN: 0in 0in 0pt">&nbsp;<o:p></o:p></P> <DIV><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">[1] <A href="https://issues.apache.org/jira/browse/INFRA-1335"><FONT color=#800080>https://issues.apache.org/jira/browse/INFRA-1335</FONT></A></SPAN></DIV> <DIV><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"><BR style="mso-special-character: line-break">&nbsp;</DIV></SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"></SPAN> <DIV><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">Gary VanMatre</DIV></SPAN> <DIV>&nbsp;</DIV> <DIV>&nbsp;</DIV> <DIV>&gt;From: "Geir Magnusson Jr." &lt;[email protected]&gt; <BR>&gt;<BR>&gt; there's no difference. Just another name <BR>&gt; <BR>&gt; <BR>&gt; On Jul 9, 2007, at 11:49 AM, Andrew C. Oliver wrote: <BR>&gt; <BR>&gt; &gt; Can someone explain or provide reference to the difference between <BR>&gt; &gt; the TCK and CTS? <BR>&gt; &gt; <BR>&gt; &gt; Gary VanMatre wrote: <BR>&gt; &gt;&gt; Hey Guys, <BR>&gt; &gt;&gt; <BR>&gt; &gt;&gt; Martin Marinschek and I have been accepted as Apache EG <BR>&gt; &gt;&gt; representatives for JSR 314 [1]. I've been trying to follow the <BR>&gt; &gt;&gt; on going dialog to determine how that affects this JSR. I'd like <BR>&gt; &gt;&gt; to participate but respect that there is greater motives at work <BR>&gt; &gt;&gt; here. Please review and let us know if this is something that ASF <BR>&gt; &gt;&gt; chooses it represent. <BR>&gt; &gt;&gt; <BR>&gt; &gt;&gt; <BR>&gt; &gt;&gt; [1] http://www.jcp.org/en/jsr/detail?id=314 <BR>&gt; &gt;&gt; <BR>&gt; &gt;&g t; <BR >&gt; &gt;&gt; <BR>&gt; &gt;&gt;&gt; 2.16 Please describe how the RI and TCK will de delivered, i.e. <BR>&gt; &gt;&gt;&gt; as part of a profile or platform edition, or stand-alone, or <BR>&gt; &gt;&gt;&gt; both. Include version information for the profile or &gt;platform in <BR>&gt; &gt;&gt;&gt; your answer. <BR>&gt; &gt;&gt; <BR>&gt; &gt;&gt; <BR>&gt; &gt;&gt;&gt; Sun will deliver a Reference Implementation (RI) and Technology <BR>&gt; &gt;&gt;&gt; Compatibility Kit (TCK). The RI will be made available <BR>&gt; &gt;&gt;&gt; standalone and as part of the Java EE 6 platform. The TCK will be <BR>&gt; &gt;&gt;&gt; made available standalone and as part of the Java EE 6 CTS. <BR>&gt; &gt;&gt;&gt; <BR>&gt; &gt;&gt; <BR>&gt; &gt;&gt; Gary VanMatre <BR>&gt; &gt;&gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; -- <BR>&gt; &gt; Buni Meldware Communication Suite <BR>&gt; &gt; http://buni.org <BR>&gt; &gt; Multi-platform and extensible Email, Calendaring (including <BR>&gt; &gt; freebusy), Rich Webmail, Web-calendaring, ease of installation/ <BR>&gt; &gt; administration. <BR>&gt; &gt; <BR>&gt; </DIV></DIV></DIV></body></html> --NextPart_Webmail_9m3u9jl4l_12845_1189024092_0-- From [email protected] Wed Sep 05 21:52:24 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22767 invoked from network); 5 Sep 2007 21:52:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Sep 2007 21:52:20 -0000 Received: (qmail 71711 invoked by uid 500); 5 Sep 2007 21:52:14 -0000 Delivered-To: [email protected] Received: (qmail 71620 invoked by uid 500); 5 Sep 2007 21:52:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jcp-open.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 71611 invoked by uid 99); 5 Sep 2007 21:52:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Sep 2007 14:52:14 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO smtpauth14.prod.mesa1.secureserver.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 05 Sep 2007 21:52:09 +0000 Received: (qmail 16052 invoked from network); 5 Sep 2007 21:51:46 -0000 Received: from unknown (161.129.204.104) by smtpauth14.prod.mesa1.secureserver.net (161.129.204.104) with ESMTP; 05 Sep 2007 21:51:46 -0000 Message-ID: <[email protected]> Date: Wed, 05 Sep 2007 16:51:44 -0500 From: "William A. Rowe, Jr." <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20070719) MIME-Version: 1.0 To: [email protected] Subject: Re: Representation advice for JSR 314 References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Gary VanMatre wrote: > > We were recently denied a request to create a read-only mailing list [1]. Anything of a confidential nature should be discussed on the appropriate [email protected] list. This might include negotation with a spec lead or EG with respect to details of a specification. This must include zero code or implementation discussion. You individually as an EG rep are welcome to participate/interface with the JSR lead's private discussion interfaces, for the time being. We've not set a policy yet on disallowing participating about closed-spec development. Closed implementation development is not permitted at the ASF. I hope this answers your questions. Unfortunately we still have this nasty [email protected]/jsr/ which Geir's committed to fill in, w.r.t. how to treat NDA materials, what might be subject to NDA v.s. what must be open for dev@ list discussion, and justifying the continued existence of an NDA contract between the ASF and its committers. Bill From [email protected] Thu Sep 06 02:35:02 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 24977 invoked from network); 6 Sep 2007 02:34:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Sep 2007 02:34:55 -0000 Received: (qmail 35622 invoked by uid 500); 6 Sep 2007 02:34:49 -0000 Delivered-To: [email protected] Received: (qmail 35508 invoked by uid 500); 6 Sep 2007 02:34:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jcp-open.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 35499 invoked by uid 99); 6 Sep 2007 02:34:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Sep 2007 19:34:48 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO [161.129.204.104]) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2007 02:36:04 +0000 Received: from [161.129.204.104] ([161.129.204.104]) by [161.129.204.104] (8.13.6/8.13.6) with ESMTP id l862YFqN015817 for <[email protected]>; Wed, 5 Sep 2007 22:34:16 -0400 Subject: Re: Representation advice for JSR 314 From: "Andrew C. Olvier" <[email protected]> Reply-To: [email protected] To: [email protected] In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Content-Type: text/plain Date: Wed, 05 Sep 2007 22:34:28 -0400 Message-Id: <1189046068.6324.56.camel@acoliver-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.91.1, clamav-milter version 0.91.1 on localhost X-Virus-Status: Clean X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on sc1000 X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED,AWL autolearn=disabled version=3.1.7 On Wed, 2007-09-05 at 16:51 -0500, William A. Rowe, Jr. wrote: > Closed implementation development is not permitted at the ASF. > This is not true. All TCK licensing projects that license a TCK under NDAs and other restrictive covenant are engaged in closed implementation development (artifacts are created that cannot be shared, the TCKs are not bugless, etc). All Apache members working on committees in the JCP under apache's name are participating among other things in helping with closed implementation development (the TCK in part) often in a closed non-community development manner. I think clear naming of lists where closed development is occurring rather than the present circular duplicity of declaring apache isn't doing something apache is doing and therefore it is not doing that thing and quiveling over ways we can imagine what apache is doing isn't closed/etc. So Apache helps develop closed source, non-open specifications and software. Let's just label that stuff. > I hope this answers your questions. > > Unfortunately we still have this nasty [email protected]/jsr/ which > Geir's committed to fill in, w.r.t. how to treat NDA materials, what might > be subject to NDA v.s. what must be open for dev@ list discussion, and > justifying the continued existence of an NDA contract between the ASF and > its committers. Let's hear some of his proposals and such. How can Apache be extricated from closed specification and closed source development and yet remain engaged in the JCP? -Andy > > Bill From [email protected] Thu Sep 06 02:51:05 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 27693 invoked from network); 6 Sep 2007 02:51:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Sep 2007 02:51:02 -0000 Received: (qmail 44871 invoked by uid 500); 6 Sep 2007 02:50:56 -0000 Delivered-To: [email protected] Received: (qmail 44772 invoked by uid 500); 6 Sep 2007 02:50:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jcp-open.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 44763 invoked by uid 99); 6 Sep 2007 02:50:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Sep 2007 19:50:56 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO smtpauth13.prod.mesa1.secureserver.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 06 Sep 2007 02:50:51 +0000 Received: (qmail 5614 invoked from network); 6 Sep 2007 02:50:30 -0000 Received: from unknown (161.129.204.104) by smtpauth13.prod.mesa1.secureserver.net (161.129.204.104) with ESMTP; 06 Sep 2007 02:50:29 -0000 Message-ID: <[email protected]> Date: Wed, 05 Sep 2007 21:50:29 -0500 From: "William A. Rowe, Jr." <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20070719) MIME-Version: 1.0 To: [email protected] Subject: Re: Representation advice for JSR 314 References: <[email protected]> <[email protected]> <1189046068.6324.56.camel@acoliver-laptop> In-Reply-To: <1189046068.6324.56.camel@acoliver-laptop> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Andrew C. Olvier wrote: > On Wed, 2007-09-05 at 16:51 -0500, William A. Rowe, Jr. wrote: > >> Closed implementation development is not permitted at the ASF. >> > > This is not true. All TCK licensing projects that license a TCK under > NDAs and other restrictive covenant are engaged in closed implementation > development (artifacts are created that cannot be shared, the TCKs are > not bugless, etc). All Apache members working on committees in the JCP > under apache's name are participating among other things in helping with > closed implementation development (the TCK in part) often in a closed > non-community development manner. I think clear naming of lists where > closed development is occurring rather than the present circular > duplicity of declaring apache isn't doing something apache is doing and > therefore it is not doing that thing and quiveling over ways we can > imagine what apache is doing isn't closed/etc. So Apache helps develop > closed source, non-open specifications and software. Let's just label > that stuff. You misread me (so did Gary - don't feel bad). Each of us can do all the development we like anywhere we like. The **ASF** code development happens on open lists. So sure, the ASF EG reps will point out flaws in third party software to its authors, with the help of committers, heck we fix third party libraries all the time that the ASF code depends upon. Sometimes on our public list, sometimes on their public list, sometimes privately. Who cares? That is not **ASF** code. The ASF code lives under the umbrella of http://svn.apache.org/repos/asf/ and is public from the time we write it. That was what I ment; don't discuss the development of /repos/asf/ source code on private lists, but do whatever you like about code that doesn't live there. If it isn't there, it isn't the ASF's. From [email protected] Thu Sep 06 03:52:04 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37152 invoked from network); 6 Sep 2007 03:52:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Sep 2007 03:52:01 -0000 Received: (qmail 24613 invoked by uid 500); 6 Sep 2007 03:51:55 -0000 Delivered-To: [email protected] Received: (qmail 24397 invoked by uid 500); 6 Sep 2007 03:51:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jcp-open.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 24388 invoked by uid 99); 6 Sep 2007 03:51:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Sep 2007 20:51:54 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO [161.129.204.104]) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2007 03:53:10 +0000 Received: from [161.129.204.104] ([161.129.204.104]) by [161.129.204.104] (8.13.6/8.13.6) with ESMTP id l863pLkj002019 for <[email protected]>; Wed, 5 Sep 2007 23:51:21 -0400 Subject: Re: Representation advice for JSR 314 From: "Andrew C. Olvier" <[email protected]> Reply-To: [email protected] To: [email protected] In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <1189046068.6324.56.camel@acoliver-laptop> <[email protected]> Content-Type: text/plain Date: Wed, 05 Sep 2007 23:51:34 -0400 Message-Id: <1189050694.6324.87.camel@acoliver-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.91.1, clamav-milter version 0.91.1 on localhost X-Virus-Status: Clean X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on sc1000 X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED,AWL autolearn=disabled version=3.1.7 On Wed, 2007-09-05 at 21:50 -0500, William A. Rowe, Jr. wrote: > > You misread me (so did Gary - don't feel bad). > > Each of us can do all the development we like anywhere we like. > including on behalf of the ASF? > The **ASF** code development happens on open lists. > Except for the code developed by official representatives of the ASF that is initially hosted on external servers and then used on ASF hardware :-) > So sure, the ASF EG reps will point out flaws in third party software > to its authors, with the help of committers, heck we fix third party > libraries all the time that the ASF code depends upon. Sometimes on > our public list, sometimes on their public list, sometimes privately. > So you're saying that Apache's official represnetatives and NDA signatories can discuss bugs in the TCK openly as well as the ways to fix those bugs and how they affect the project and its passing of the TCK etc all on open lists? Can they say post the defective lines of code and the proposed fix? Is the TCK installed on Apache servers, are the bugs fixed there? What is special about his rather than say JIRA is the NDA, license, official representation, and the difference in relationship of a project and the TCK (which is the executable part of the specification and more authoritative than the PDF). So you deny that Apache is engaged in closed and closed source development? > Who cares? That is not **ASF** code. The ASF code lives under the > umbrella of http://svn.apache.org/repos/asf/ and is public from the > time we write it. Except for the code the ASF designs/develops through its official representatives that is hosted off the ASF servers but developed BY the ASF (and not as individuals). > That was what I ment; don't discuss the development of /repos/asf/ > source code on private lists, but do whatever you like about code > that doesn't live there. If it isn't there, it isn't the ASF's. As a representative of the ASF? Let's say that half of the developers of HTTPD decided to move the test kit (I assume you guys have tests) to another server/organization, close source it, license it back to Apache under terms to be negotiated later and that some of the committers would be allowed to participate in developing the HTTPD test kit, and others wouldn't. you'd be cool with those developers being official representatives of Apache to the other organization right? You'd be cool with that right? You wouldn't call that closed source development or anti-community right? If you would then let's label these things correctly. -Andy From [email protected] Thu Sep 06 04:40:24 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 43461 invoked from network); 6 Sep 2007 04:40:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Sep 2007 04:40:19 -0000 Received: (qmail 50357 invoked by uid 500); 6 Sep 2007 04:40:13 -0000 Delivered-To: [email protected] Received: (qmail 50123 invoked by uid 500); 6 Sep 2007 04:40:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jcp-open.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 50114 invoked by uid 99); 6 Sep 2007 04:40:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Sep 2007 21:40:12 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail.sunstarsys.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2007 04:40:08 +0000 Received: from gemini.sunstarsys.com (mumonkan.sunstarsys.com [161.129.204.104]) by mail.sunstarsys.com (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id l864dQP0000792 for <[email protected]>; Thu, 6 Sep 2007 00:39:30 -0400 Received: from gemini.sunstarsys.com ([email protected] [161.129.204.104]) by gemini.sunstarsys.com (8.14.1/8.14.1/Debian-4) with ESMTP id l864dKRU028680 for <[email protected]>; Thu, 6 Sep 2007 00:39:20 -0400 Received: (from joe@localhost) by gemini.sunstarsys.com (8.14.1/8.14.1/Submit) id l864dKPk028679; Thu, 6 Sep 2007 00:39:20 -0400 From: Joe Schaefer <[email protected]> To: [email protected] Subject: Re: Representation advice for JSR 314 References: <[email protected]> Date: Thu, 06 Sep 2007 00:39:20 -0400 In-Reply-To: <[email protected]> (Gary VanMatre's message of "Wed, 05 Sep 2007 20:28:12 +0000") Message-ID: <[email protected]> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked by ClamAV on apache.org [email protected] (Gary VanMatre) writes: > Hi *, > > I sent this message out nearly two months ago looking for advice > representing JSR 314 and did not hear any feedback on my > question. > > "Please review and let us know if this is something that ASF chooses to represent". > > We were recently denied a request to create a read-only mailing list [1]. I don't think anybody has a problem with you guys participating on the EG for JSR 314 as Apache representatives. The only relevant question is whether or not the spec will be developed primarily using public resources. If you see that that's not happening, and the bulk of the work is being carried out in private, then I would expect you as ASF reps to try and correct the situation, or resign from the EG. So IMO a private read-only mailing list hosted by the ASF, which mirrors the discussion on the EG's private list, should not be necessary to carry out the truly meaningful work related to the development of the spec. -- Joe Schaefer From [email protected] Thu Sep 06 05:31:28 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60937 invoked from network); 6 Sep 2007 05:31:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Sep 2007 05:31:20 -0000 Received: (qmail 1353 invoked by uid 500); 6 Sep 2007 05:31:14 -0000 Delivered-To: [email protected] Received: (qmail 1254 invoked by uid 500); 6 Sep 2007 05:31:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jcp-open.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 1245 invoked by uid 99); 6 Sep 2007 05:31:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Sep 2007 22:31:14 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO smtpauth03.prod.mesa1.secureserver.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 06 Sep 2007 05:31:10 +0000 Received: (qmail 19252 invoked from network); 6 Sep 2007 05:30:48 -0000 Received: from unknown (161.129.204.104) by smtpauth03.prod.mesa1.secureserver.net (161.129.204.104) with ESMTP; 06 Sep 2007 05:30:48 -0000 Message-ID: <[email protected]> Date: Thu, 06 Sep 2007 00:30:47 -0500 From: "William A. Rowe, Jr." <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20070719) MIME-Version: 1.0 To: [email protected] Subject: Re: Representation advice for JSR 314 References: <[email protected]> <[email protected]> <1189046068.6324.56.camel@acoliver-laptop> <[email protected]> <1189050694.6324.87.camel@acoliver-laptop> In-Reply-To: <1189050694.6324.87.camel@acoliver-laptop> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Andrew C. Olvier wrote: > > As a representative of the ASF? Let's say that half of the developers > of HTTPD decided to move the test kit (I assume you guys have tests) to > another server/organization, close source it, license it back to Apache > under terms to be negotiated later and that some of the committers would > be allowed to participate in developing the HTTPD test kit, and others > wouldn't. you'd be cool with those developers being official > representatives of Apache to the other organization right? You'd be > cool with that right? You wouldn't call that closed source development > or anti-community right? If you would then let's label these things > correctly. Long live the revolution! Down with the tyrants of opacity! Of course the httpd project does use the donations of closed technologies when some vendor wants to offer useful data of some source code scanning mechanism they created, or similar. We don't care how someone correctly identifies (and potentially patches) a bug, although nearly every such service has proven to be a 99.8% waste of time (with a few small nuggets of gold in them there turds). In your example, we'd (httpd would) simply reject the offer and keep using the open copy of the framework. Ciao, Bill From [email protected] Thu Sep 06 05:35:59 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63852 invoked from network); 6 Sep 2007 05:35:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Sep 2007 05:35:55 -0000 Received: (qmail 10943 invoked by uid 500); 6 Sep 2007 05:35:49 -0000 Delivered-To: [email protected] Received: (qmail 10828 invoked by uid 500); 6 Sep 2007 05:35:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jcp-open.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 10819 invoked by uid 99); 6 Sep 2007 05:35:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Sep 2007 22:35:49 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO smtpout08.prod.mesa1.secureserver.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 06 Sep 2007 05:37:05 +0000 Received: (qmail 1307 invoked from network); 6 Sep 2007 05:35:23 -0000 Received: from unknown (161.129.204.104) by smtpout08-04.prod.mesa1.secureserver.net (161.129.204.104) with ESMTP; 06 Sep 2007 05:35:22 -0000 Message-ID: <[email protected]> Date: Thu, 06 Sep 2007 00:35:22 -0500 From: "William A. Rowe, Jr." <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20070719) MIME-Version: 1.0 To: [email protected] Subject: Re: Representation advice for JSR 314 References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Joe Schaefer wrote: > > So IMO a private read-only mailing list hosted by the ASF, which > mirrors the discussion on the EG's private list, should > not be necessary to carry out the truly meaningful work > related to the development of the spec. And possibly bumps into the edge of the NDA requirements between the Spec lead and EG participants. We need that clarification from Geir already. As for Joe's other comments, the board has yet to lay down any explicit position on the openness or the lack thereof of the spec design discussion. I expect it might happen someday in the future, but there are more pressing issues to resolve first. Let's stick to FIFO. If you want to do this in spite of Joe's concern, please have Geir review the requirements, as he's our VP of JCP affairs. But this is contingent on his availability to review the request. Bill From [email protected] Thu Sep 06 06:16:05 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78002 invoked from network); 6 Sep 2007 06:16:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Sep 2007 06:16:02 -0000 Received: (qmail 61757 invoked by uid 500); 6 Sep 2007 06:15:50 -0000 Delivered-To: [email protected] Received: (qmail 61645 invoked by uid 500); 6 Sep 2007 06:15:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jcp-open.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 61632 invoked by uid 99); 6 Sep 2007 06:15:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Sep 2007 23:15:50 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail.sunstarsys.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2007 06:15:46 +0000 Received: from gemini.sunstarsys.com (mumonkan.sunstarsys.com [161.129.204.104]) by mail.sunstarsys.com (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id l866FE9s001501 for <[email protected]>; Thu, 6 Sep 2007 02:15:16 -0400 Received: from gemini.sunstarsys.com ([email protected] [161.129.204.104]) by gemini.sunstarsys.com (8.14.1/8.14.1/Debian-4) with ESMTP id l866F8oo028915 for <[email protected]>; Thu, 6 Sep 2007 02:15:09 -0400 Received: (from joe@localhost) by gemini.sunstarsys.com (8.14.1/8.14.1/Submit) id l866F8g2028914; Thu, 6 Sep 2007 02:15:08 -0400 From: Joe Schaefer <[email protected]> To: [email protected] Subject: Re: Representation advice for JSR 314 References: <[email protected]> <[email protected]> <[email protected]> Date: Thu, 06 Sep 2007 02:15:08 -0400 In-Reply-To: <[email protected]> (William A. Rowe, Jr.'s message of "Thu, 06 Sep 2007 00:35:22 -0500") Message-ID: <[email protected]> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked by ClamAV on apache.org "William A. Rowe, Jr." <[email protected]> writes: > Let's stick to FIFO. If you want to do this in spite of Joe's concern, > please have Geir review the requirements, as he's our VP of JCP affairs. > But this is contingent on his availability to review the request. My concern is that creating such a list is a good way to expose the ASF to liability (confidential archives?) with almost nothing gained for our trouble. If the board still sees merit in doing such a thing, I think it will have to direct infrastructure to create it against infra's best judgement. -- Joe Schaefer From [email protected] Thu Sep 06 11:14:13 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66851 invoked from network); 6 Sep 2007 11:14:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Sep 2007 11:14:11 -0000 Received: (qmail 80766 invoked by uid 500); 6 Sep 2007 11:14:05 -0000 Delivered-To: [email protected] Received: (qmail 80586 invoked by uid 500); 6 Sep 2007 11:14:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jcp-open.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 80568 invoked by uid 99); 6 Sep 2007 11:14:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2007 04:14:05 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO [161.129.204.104]) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2007 11:15:21 +0000 Received: from [161.129.204.104] ([161.129.204.104]) by [161.129.204.104] (8.13.6/8.13.6) with ESMTP id l86BDZst021356 for <[email protected]>; Thu, 6 Sep 2007 07:13:35 -0400 Subject: Re: Representation advice for JSR 314 From: "Andrew C. Olvier" <[email protected]> Reply-To: [email protected] To: [email protected] In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <1189046068.6324.56.camel@acoliver-laptop> <[email protected]> <1189050694.6324.87.camel@acoliver-laptop> <[email protected]> Content-Type: text/plain Date: Thu, 06 Sep 2007 07:13:45 -0400 Message-Id: <1189077225.6324.104.camel@acoliver-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.91.1, clamav-milter version 0.91.1 on localhost X-Virus-Status: Clean X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on sc1000 X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED,AWL autolearn=disabled version=3.1.7 On Thu, 2007-09-06 at 00:30 -0500, William A. Rowe, Jr. wrote: > > Long live the revolution! Down with the tyrants of opacity! > long live honesty. > Of course the httpd project does use the donations of closed technologies > when some vendor wants to offer useful data of some source code scanning > mechanism they created, or similar. We don't care how someone correctly > identifies (and potentially patches) a bug, although nearly every such > service has proven to be a 99.8% waste of time (with a few small nuggets > of gold in them there turds). > You've disregarded around the "as an official representative of apache" part. > In your example, we'd (httpd would) simply reject the offer and keep using > the open copy of the framework. > And yet Apache projects have been the basis a number of JCP things, the projects were JCPized, portions of the test kits were moved to closed source with NDAs and licensed back to apache, and apache sends OFFICIAL REPRESENTATIVES to work ON BEHALF OF APACHE to do the closed source development for which the projects then COMPLY using the closed source test compatibility kits CO-DEVELOPED BY APACHE with sun using a closed process. And you think that smells like open source and community huh and have a problem with labeling said activities and the projects involved as closed source? ...Of course in Europe they eat cheese that smells like feet. Not sure who the guy was who said "the juice from the teat of the big smelly animal that poops where it eats has curled and become hard and now smells like feet, let's eat it with the soured grape juice that makes us dizzy!" but his ideas sure were popular. -Andy > Ciao, > > Bill From [email protected] Thu Sep 06 18:39:11 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93006 invoked from network); 6 Sep 2007 18:39:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Sep 2007 18:39:05 -0000 Received: (qmail 61579 invoked by uid 500); 6 Sep 2007 18:38:59 -0000 Delivered-To: [email protected] Received: (qmail 61378 invoked by uid 500); 6 Sep 2007 18:38:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jcp-open.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 61369 invoked by uid 99); 6 Sep 2007 18:38:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2007 11:38:58 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO spaceymail-a4.g.dreamhost.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2007 18:38:54 +0000 Received: from [161.129.204.104] (ip72-211-200-45.oc.oc.cox.net [161.129.204.104]) by spaceymail-a4.g.dreamhost.com (Postfix) with ESMTP id B5D051616C6 for <[email protected]>; Thu, 6 Sep 2007 11:38:18 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <1189077225.6324.104.camel@acoliver-laptop> References: <[email protected]> <[email protected]> <1189046068.6324.56.camel@acoliver-laptop> <[email protected]> <1189050694.6324.87.camel@acoliver-laptop> <[email protected]> <1189077225.6324.104.camel@acoliver-laptop> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit From: "Roy T. Fielding" <[email protected]> Subject: Re: Representation advice for JSR 314 Date: Thu, 6 Sep 2007 11:38:24 -0700 To: [email protected] X-Mailer: Apple Mail (2.752.2) X-Virus-Checked: Checked by ClamAV on apache.org On Sep 6, 2007, at 4:13 AM, Andrew C. Olvier wrote: > On Thu, 2007-09-06 at 00:30 -0500, William A. Rowe, Jr. wrote: > >> Long live the revolution! Down with the tyrants of opacity! > > long live honesty. > >> Of course the httpd project does use the donations of closed >> technologies >> when some vendor wants to offer useful data of some source code >> scanning >> mechanism they created, or similar. We don't care how someone >> correctly >> identifies (and potentially patches) a bug, although nearly every >> such >> service has proven to be a 99.8% waste of time (with a few small >> nuggets >> of gold in them there turds). >> > > You've disregarded around the "as an official representative of > apache" > part. > >> In your example, we'd (httpd would) simply reject the offer and >> keep using >> the open copy of the framework. >> > > And yet Apache projects have been the basis a number of JCP things, > the > projects were JCPized, portions of the test kits were moved to closed > source with NDAs and licensed back to apache, and apache sends > OFFICIAL > REPRESENTATIVES to work ON BEHALF OF APACHE to do the closed source > development for which the projects then COMPLY using the closed source > test compatibility kits CO-DEVELOPED BY APACHE with sun using a closed > process. And you think that smells like open source and community huh > and have a problem with labeling said activities and the projects > involved as closed source? Oh, stick a cork in it Andy. As has been pointed out before, you haven't a clue about what an NDA is, let alone how licensing works, and in this regard you are completely wrong on all counts. What we do is participate in the development of standard interfaces that we can implement (supposedly) as open source. Apache doesn't have employees that work on behalf of the ASF -- it has representatives that can speak for us when asked. Our reps are *not* the people doing any work on the interface, but rather people who are supposed to be ensuring that we can implement the standard interface as open source when it is done. The people who are actually doing spec work are invited by the Spec Lead to participate as individuals. If you want the board to make that a formal requirement, then go bug the board. I rejected the request for a mailing list because the ASF does not participate on closed EG lists, and certainly won't act as a read-only forum for someone else's private discussions. When those discussions are made public, as in some of the milestone drafts that most EGs make public now, then the ASF can participate on our normal dev lists. Pissing and moaning about the existence of closed EG lists should be directed at the JCP. Spec leads weren't even allowed to have open EG lists until Apache pushed through those rule changes. If you don't think we should be in the JCP any more (like me), then send that message to the board. Just stop whining about it and misdirecting other people to suit your own twisted fancy. ....Roy From [email protected] Thu Sep 06 22:05:41 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 98535 invoked from network); 6 Sep 2007 22:05:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Sep 2007 22:05:34 -0000 Received: (qmail 78530 invoked by uid 500); 6 Sep 2007 22:05:28 -0000 Delivered-To: [email protected] Received: (qmail 78441 invoked by uid 500); 6 Sep 2007 22:05:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jcp-open.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 78431 invoked by uid 99); 6 Sep 2007 22:05:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2007 15:05:28 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO smtpauth02.prod.mesa1.secureserver.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 06 Sep 2007 22:06:45 +0000 Received: (qmail 18136 invoked from network); 6 Sep 2007 22:05:01 -0000 Received: from unknown (161.129.204.104) by smtpauth02.prod.mesa1.secureserver.net (161.129.204.104) with ESMTP; 06 Sep 2007 22:05:01 -0000 Message-ID: <[email protected]> Date: Thu, 06 Sep 2007 17:05:00 -0500 From: "William A. Rowe, Jr." <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20070719) MIME-Version: 1.0 To: [email protected] Subject: Re: Representation advice for JSR 314 References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Joe Schaefer wrote: > "William A. Rowe, Jr." <[email protected]> writes: > >> Let's stick to FIFO. If you want to do this in spite of Joe's concern, >> please have Geir review the requirements, as he's our VP of JCP affairs. >> But this is contingent on his availability to review the request. > > My concern is that creating such a list is a good way to expose > the ASF to liability (confidential archives?) with almost nothing > gained for our trouble. If the board still sees merit in doing > such a thing, I think it will have to direct infrastructure to > create it against infra's best judgement. And my point is that the board would kick it back to the VP to assimilate all of the necessary arguements pro and con (including Roy's, and yours, and maybe even Andy's) and present them concisely to the board. It has wasted far too many cycles this year on this distraction, it needs action- able items (e.g. ask infra to create list Q for legitimate reasons A, B, C over legitimate objections X, Y, Z). Geir might be shot down, but at least the issues would be codified in policy either way. The board would also probably push back such a request until the who-what-why-how of NDA summary is available at http://a.o/jcp/. Your concern is well noted. Bill From [email protected] Fri Sep 07 00:07:33 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56009 invoked from network); 7 Sep 2007 00:07:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Sep 2007 00:07:26 -0000 Received: (qmail 40533 invoked by uid 500); 7 Sep 2007 00:07:20 -0000 Delivered-To: [email protected] Received: (qmail 40395 invoked by uid 500); 7 Sep 2007 00:07:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jcp-open.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 40386 invoked by uid 99); 7 Sep 2007 00:07:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2007 17:07:19 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO [161.129.204.104]) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2007 00:07:16 +0000 Received: from [161.129.204.104] ([161.129.204.104]) by [161.129.204.104] (8.13.6/8.13.6) with ESMTP id l8706hVd019711 for <[email protected]>; Thu, 6 Sep 2007 20:06:43 -0400 Subject: Re: Representation advice for JSR 314 From: "Andrew C. Olvier" <[email protected]> Reply-To: [email protected] To: [email protected] In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <1189046068.6324.56.camel@acoliver-laptop> <[email protected]> <1189050694.6324.87.camel@acoliver-laptop> <[email protected]> <1189077225.6324.104.camel@acoliver-laptop> <[email protected]> Content-Type: text/plain Date: Thu, 06 Sep 2007 20:06:50 -0400 Message-Id: <1189123610.6145.4.camel@acoliver-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.91.1, clamav-milter version 0.91.1 on localhost X-Virus-Status: Clean X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on sc1000 X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED,AWL autolearn=disabled version=3.1.7 On Thu, 2007-09-06 at 11:38 -0700, Roy T. Fielding wrote: ...snip... I am not sure exactly what I said that required your level of vitriol. > If you don't think we should be in the JCP any more (like me), I do not. > then send that message to the board. Just stop whining about it > and misdirecting other people to suit your own twisted fancy. > I do not believe that I am doing so. Nor do I think sending private messages to the present board which if I'm not mistaken consist of people who advocate the JCP...but please don't look at the two black eyes...Nor do I feel a need to "just shut up" because it annoys you. Feel free to correct any factual errors, but I've no intention of replying to the more vitriolic messages. -andy > ....Roy From [email protected] Fri Sep 07 04:07:19 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10231 invoked from network); 7 Sep 2007 04:07:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Sep 2007 04:07:13 -0000 Received: (qmail 88231 invoked by uid 500); 7 Sep 2007 04:07:07 -0000 Delivered-To: [email protected] Received: (qmail 88124 invoked by uid 500); 7 Sep 2007 04:07:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jcp-open.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 88115 invoked by uid 99); 7 Sep 2007 04:07:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2007 21:07:07 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO web33806.mail.mud.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 07 Sep 2007 04:07:03 +0000 Received: (qmail 39584 invoked by uid 60001); 7 Sep 2007 04:06:41 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=xIS1HXITD27ihE23/lKTeqglieB7UHy9FpSMwXKYzBpxCm2RTg1NOiigwxlxAf3En/p/YHv6fAVVzYgW3nj9FkvkZIRjjnTGAxNFzii8zwEVBzK9KbasWxzqh0zZn/L/CI8yuwgYYu5pgbwtBRlgEW+7vkMioUEqm/h0MIiAOoI=; X-YMail-OSG: uQ8umrAVM1ko50l5jAfDWkiD50NVVx660PedbFOYsgqjbrVZXP6mRpIb3QtpKRFnRfGhYaNEVA-- Received: from [161.129.204.104] by web33806.mail.mud.yahoo.com via HTTP; Thu, 06 Sep 2007 21:06:41 PDT Date: Thu, 6 Sep 2007 21:06:41 -0700 (PDT) From: Wade Chandler <[email protected]> Reply-To: [email protected] Subject: Re: Representation advice for JSR 314 To: [email protected], [email protected] In-Reply-To: <1189123610.6145.4.camel@acoliver-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Your passive aggressiveness kills me. You blast folks constantly and spread much negativity then turn around and can't take someone calling you out on it. Common passive aggressive trait: say a bunch of things then act like you didn't say anything anyone should take negatively or get upset over and attempt to make it their fault. Good stuff. Wade --- "Andrew C. Olvier" <[email protected]> wrote: > On Thu, 2007-09-06 at 11:38 -0700, Roy T. Fielding > wrote: > > ...snip... > > I am not sure exactly what I said that required your > level of vitriol. > > > If you don't think we should be in the JCP any > more (like me), > > I do not. > > > then send that message to the board. Just stop > whining about it > > and misdirecting other people to suit your own > twisted fancy. > > > > I do not believe that I am doing so. Nor do I think > sending private > messages to the present board which if I'm not > mistaken consist of > people who advocate the JCP...but please don't look > at the two black > eyes...Nor do I feel a need to "just shut up" > because it annoys you. > Feel free to correct any factual errors, but I've no > intention of > replying to the more vitriolic messages. > > -andy > > > > ....Roy > > From [email protected] Fri Sep 07 04:20:36 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13834 invoked from network); 7 Sep 2007 04:20:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 7 Sep 2007 04:20:30 -0000 Received: (qmail 99600 invoked by uid 500); 7 Sep 2007 04:20:24 -0000 Delivered-To: [email protected] Received: (qmail 99499 invoked by uid 500); 7 Sep 2007 04:20:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jcp-open.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 99490 invoked by uid 99); 7 Sep 2007 04:20:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2007 21:20:24 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO smtpauth01.prod.mesa1.secureserver.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 07 Sep 2007 04:20:20 +0000 Received: (qmail 14556 invoked from network); 7 Sep 2007 04:19:58 -0000 Received: from unknown (161.129.204.104) by smtpauth01.prod.mesa1.secureserver.net (161.129.204.104) with ESMTP; 07 Sep 2007 04:19:58 -0000 Message-ID: <[email protected]> Date: Thu, 06 Sep 2007 23:19:57 -0500 From: "William A. Rowe, Jr." <[email protected]> User-Agent: Thunderbird 161.129.204.104 (X11/20070719) MIME-Version: 1.0 To: [email protected] Subject: Re: Representation advice for JSR 314 References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Wade Chandler wrote: > Your passive aggressiveness kills me. You blast folks > constantly and spread much negativity then turn around > and can't take someone calling you out on it. Common > Good stuff. Or just plain weird. Best usually <ignored/> until some useful question is raised and disposed of. Thanks to Roy for clarifications. From [email protected] Tue Sep 18 20:41:59 2007 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11716 invoked from network); 18 Sep 2007 20:41:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 18 Sep 2007 20:41:57 -0000 Received: (qmail 91241 invoked by uid 500); 18 Sep 2007 20:41:49 -0000 Delivered-To: [email protected] Received: (qmail 91095 invoked by uid 500); 18 Sep 2007 20:41:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk Reply-To: [email protected] list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <jcp-open.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 91081 invoked by uid 99); 18 Sep 2007 20:41:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2007 13:41:48 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO nf-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2007 20:41:48 +0000 Received: by nf-out-0910.google.com with SMTP id k4so2046455nfd for <[email protected]>; Tue, 18 Sep 2007 13:41:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=zrBl73sy+I6vFe9oYgLUfNADy8kJhS+RVGamfjkCrko=; b=XNGN1UX/DPnrHmudmehIBw11KRwz+cfoOh6bs9XKwYKjMCZ2BZlUAAvbrd2uR7SglxoQF0ddl0QtIWxi3AKgRfGO8Iblbi78TEJuIex7VB0i4MwrVEimQa1IaWkdLp6XIWrnBvEsimEj1VAI18MKK8HXG77jinIwEvdZ2wB371I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YPVcUYtIugokuDP6DJcCV6t8mVyrcoSrk0hptNn3mRtIBIEoNFVTyQiQqrP/uPrAbkD6dc66TbKU/UlDVS7efGGWyMteaELekqvUVsJ5t05UhPF4EeRXz4ONkogVojuQVSA7+NGUf8tDFLXCNHslonrZB49nqEtbIcvQ+VXCvug= Received: by 161.129.204.104 with SMTP id q17mr4941059fgb.1190148086810; Tue, 18 Sep 2007 13:41:26 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Tue, 18 Sep 2007 13:41:26 -0700 (PDT) Message-ID: <[email protected]> Date: Tue, 18 Sep 2007 21:41:26 +0100 From: "Robert Burrell Donkin" <[email protected]> To: [email protected] Subject: Re: Looks like Sun responded to the Open Letter In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org On 8/27/07, Dalibor Topic <[email protected]> wrote: > Geir Magnusson Jr. <geir@...> writes: > > > > > how much commercial branding opportunity is there around the vast > > majority of specs? (hint : 0) > > In that case, those specs should be developed in a collaborative fashion, open > source RI, TCK, CC-licensed spec, etc. +1 if the specification brand is worthless then it seems unlikely that the commercial rights to create an implementation of that spec will be worth very much. in this case, it makes commercial sense for the specification leader to reduce their costs by acting as a gate keeper for contributions from the rest of the community. > Why does the EC let specs without commercial branding opportunity have > proprietary terms for TCKs, RIs and specifications? Why let something > commercially irrelevant operate under NDAs? dunno :-) - robert
From [email protected] Thu Oct 01 19:46:06 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35130 invoked from network); 1 Oct 2009 19:46:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Oct 2009 19:46:06 -0000 Received: (qmail 8025 invoked by uid 500); 1 Oct 2009 19:46:06 -0000 Delivered-To: [email protected] Received: (qmail 7957 invoked by uid 500); 1 Oct 2009 19:46:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 7947 invoked by uid 99); 1 Oct 2009 19:46:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 19:46:05 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ew0-f215.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 19:45:56 +0000 Received: by ewy11 with SMTP id 11so525954ewy.35 for <[email protected]>; Thu, 01 Oct 2009 12:44:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=ZP9gmPS/ePSLYJJKDC3IofvkQEy9NqITaAg+bcYS6pg=; b=fXn/My+T300VVlcXFl41aTN702y5ebCmZlYwgeuGpm5dIHD+kLvfxbePJYNFMSaBWQ pFiCVg5XaEUZtDLVtUCfbt7H8hRdB6XEaJuO3D2XHrzH+BagjjL8qYS7C4pavYXjfXSI Nvob6U0dKYwPAx+1vl6Y1+xH51s/mYTmMpIMM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=r/HMnSbOyAj7pjD76viPEgyGA6AK2VRFjjCF/zQ1dLbU7jqbttXMOo93id2SEWR0BM 7tVPKT98ct38OT5VBJ5sDQtzyRYfKCqbF458/qFHe0yO/DPsm/lL5XQjcpv4pcRiRLGu MIqIoTLB7pFwXy6ISUlWvu2o5XrUwuAeXdU5g= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id l60mr407147wec.27.1254426275917; Thu, 01 Oct 2009 12:44:35 -0700 (PDT) Date: Thu, 1 Oct 2009 21:44:35 +0200 Message-ID: <[email protected]> Subject: Forcing local class resolution (and avoiding the class server) From: Patrick Wright <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi In order to work around some occasional but troublesome issues where our codebase servers become unavailable or unresponsive, we want to experiment with having our service clients defer to local JARs for loading service interfaces. Our current deploy configuration has all clients deploying with the necessary classes anyway, so we feel we can save ourselves the trouble of downloading JARs which won't change between deploys in any case. So--am now trying to figure out how this works. I haven't found an authoritative guide, but what I have so far: - every client should have jsk-platform and jsk-resources JARs in their classpath - every client should have the (otherwise downloaded) service interface classes in their classpath >From some old mail threads, it seemed that that should be enough, but the service -dl.jars were still being pulled. I've tried adding a PREFERRED.LIST to the first downloadable JAR in the codebase string, using a very broad (package-wide) preferred name expression, but the PreferredClassLoader is still picking them up via a download in the clients. Alternately, it seems that if I could force the codebase for my service to be null, the PreferredClassLoader would look for the classes locally, but I am not sure how to do that--the NonActivatableServiceStarter, for example, doesn't allow a null export codebase. I'm sure I am just one step away from getting the configuration right, and would appreciate some tips. Thanks! Patrick From [email protected] Fri Oct 02 04:28:26 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88127 invoked from network); 2 Oct 2009 04:28:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Oct 2009 04:28:25 -0000 Received: (qmail 68678 invoked by uid 500); 2 Oct 2009 04:28:25 -0000 Delivered-To: [email protected] Received: (qmail 68581 invoked by uid 500); 2 Oct 2009 04:28:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 68569 invoked by uid 99); 2 Oct 2009 04:28:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2009 04:28:24 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO mail-qy0-f191.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2009 04:28:13 +0000 Received: by qyk29 with SMTP id 29so696665qyk.32 for <[email protected]>; Thu, 01 Oct 2009 21:27:52 -0700 (PDT) Received: by 161.129.204.104 with SMTP id h5mr495427qai.190.1254457671957; Thu, 01 Oct 2009 21:27:51 -0700 (PDT) Received: from majortom.home (pool-(865)775-7517.bstnma.fios.verizon.net [161.129.204.104]) by mx.google.com with ESMTPS id 26sm71551qwa.20.2161.129.204.104.27.50 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 01 Oct 2009 21:27:51 -0700 (PDT) Message-Id: <[email protected]> From: Peter Jones <[email protected]> To: [email protected] In-Reply-To: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: Forcing local class resolution (and avoiding the class server) Date: Fri, 2 Oct 2009 00:27:49 -0400 References: <[email protected]> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org On Oct 1, 2009, at 3:44 PM, Patrick Wright wrote: > Hi > > In order to work around some occasional but troublesome issues where > our codebase servers become unavailable or unresponsive, we want to > experiment with having our service clients defer to local JARs for > loading service interfaces. Just to be clear, you mean service proxy implementation classes too, the entire contents of the services' -dl.jar files? (Service interfaces used by the client will typically be loaded locally anyway.) > Our current deploy configuration has all > clients deploying with the necessary classes anyway, so we feel we can > save ourselves the trouble of downloading JARs which won't change > between deploys in any case. > > So--am now trying to figure out how this works. I haven't found an > authoritative guide, but what I have so far: > - every client should have jsk-platform and jsk-resources JARs in > their classpath > - every client should have the (otherwise downloaded) service > interface classes in their classpath Again, you mean the service proxy implementation classes too, the - dl.jar files? > From some old mail threads, it seemed that that should be enough, but > the service -dl.jars were still being pulled. I've tried adding a > PREFERRED.LIST to the first downloadable JAR in the codebase string, > using a very broad (package-wide) preferred name expression, but the > PreferredClassLoader is still picking them up via a download in the > clients. > > Alternately, it seems that if I could force the codebase for my > service to be null, the PreferredClassLoader would look for the > classes locally, but I am not sure how to do that--the > NonActivatableServiceStarter, for example, doesn't allow a null export > codebase. How about an empty string? > I'm sure I am just one step away from getting the configuration right, > and would appreciate some tips. There are various ways to disable RMI class loading on the client, if that's what you want. One way would be to not set a security manager, if the only reason you had been setting one was because RMI class loader providers require it (i.e. you're not loading untrusted code any other way). Another would be to set an RMIClassLoader provider that ignores codebase annotation values (perhaps just forwarding to the default provider, accessible via RMIClassLoader.getDefaultProviderInstance, but with null codebase values). -- Peter From [email protected] Fri Oct 02 10:07:54 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70171 invoked from network); 2 Oct 2009 10:07:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Oct 2009 10:07:54 -0000 Received: (qmail 96894 invoked by uid 500); 2 Oct 2009 10:07:54 -0000 Delivered-To: [email protected] Received: (qmail 96845 invoked by uid 500); 2 Oct 2009 10:07:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 96835 invoked by uid 99); 2 Oct 2009 10:07:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2009 10:07:53 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO fg-out-1718.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2009 10:07:44 +0000 Received: by fg-out-1718.google.com with SMTP id 22so2059535fge.0 for <[email protected]>; Fri, 02 Oct 2009 03:07:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=2ryVmSiWqqM4//2vUMcMaeJnb9b/aT2AsKWDVsXlpOg=; b=DDL/++65Uy+TowtPVnOU7Oh1pHz0f8brNZedyiSwWNxM3Ul4bb4kWZDJ5IMzVUKP2c dEo07IZtFNOU7wfPqEoPpObSgL9xs+qXZBrmN3NrqDtU8Ss7SbAoG42gswUBewSPnV7X mJMOBHRm16tQhMDt38y+JrwX/c8XgesCwdb3A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=gHartZaS+wls9IHuPjuLPt+6vE10UHWqzCm6acdmDQWz0Nv4cSctaYl0T9fdULy50x iyHXISGtJNUQ1htrg0bSDTw1tmgXJIaaN2jgN1Giyl1CnqJK7Yx4Grm+Ff234sDjKi0+ Psqx4/ULrSrm+Pov0JVFTVN5M3+N3PBxlDSJ4= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id w22mr2147456fgh.1.1254478043811; Fri, 02 Oct 2009 03:07:23 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Date: Fri, 2 Oct 2009 12:07:23 +0200 Message-ID: <[email protected]> Subject: Re: Forcing local class resolution (and avoiding the class server) From: Patrick Wright <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi Peter Thanks so much for your reply--the tip about disabling the Security Manager turned out to work. By not setting a Security Manager, my client is not loading all service interface and proxy implementation classes locally, very cool. Some quick notes to anyone who comes across this later: - no changes required in the server (leaving remote codebase as-is) - in client, jsk-platform, jsk-lib and jsk-resources all in classpath - in client, reggie-dl as well as other support classes for remoting in classpath - in client, complete downloadable APIs in classpath, including remote interfaces and any service proxy implementation classes as well, e.g. complete content of -dl.jar files that would otherwise be delivered in download - in client, don't set a security manager The nice thing about this solution is that by just choosing to enable or disable the security manager we can enable remote code downloading or disable it. To track what is happening in the client, turn up JDK logging - can put logging settings in a file, e.g. /tmp/logging.properties - add command line flag -Djava.util.logging.file=/tmp/logging.properties - enable logging at level FINEST for the loader classes net.jini.loader.pref.PreferredClassLoader.level = FINEST net.jini.loader.pref.PreferredClassLoader.preferred.level = FINEST net.jini.loader.pref.PreferredClassLoader.exception.level = FINEST net.jini.loader.pref.PreferredClassProvider.level = FINEST net.jini.loader.level = FINEST net.jini.url.level = FINEST This produces a high volume of output, including on loading standard JDK classes, so enable logging selectively. I want to add, in case anyone thinks this loses one of the benefits of Jini, namely dynamic code downloading, that in our case, we are trying to work around infrastructure issues--stability and accessibility of codebase servers--in an environment where we control the server and client deploys completely. We don't have the time to invest in improving availability for the codebase servers (which would be another solution), so in our case this is a good alternative. Thanks again, Peter. Saved me a lot of stress. Cheers! Patrick From [email protected] Fri Oct 02 12:50:47 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12410 invoked from network); 2 Oct 2009 12:50:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Oct 2009 12:50:47 -0000 Received: (qmail 71995 invoked by uid 500); 2 Oct 2009 12:50:47 -0000 Delivered-To: [email protected] Received: (qmail 71939 invoked by uid 500); 2 Oct 2009 12:50:47 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 71928 invoked by uid 99); 2 Oct 2009 12:50:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2009 12:50:47 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-qy0-f191.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2009 12:50:36 +0000 Received: by qyk29 with SMTP id 29so870308qyk.32 for <[email protected]>; Fri, 02 Oct 2009 05:50:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:content-type :mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=grS+gL2lej+KdO0n46/hI6tIrkrY+KnOmk+BjdSCkL4=; b=d3xhbkhXWcsV3ZyvHjU+0uOWPAlL5cZQXXA144zF8X00/rhpYdtBaXSF1KjAx7zxqM OsiHRj3/QNI3w3e5H3ihWLVdpsF3jk9kZKFqKCKpsYaMhpyt/3YUTMAFIjteSzVoLOBQ aehFeaMzW1lDnxfacGaeFW5oAfMgW5IIjxgWk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=Ch/M+Ny1rSA83ld0xSzSJ17O1A+zDFJIhmJ+LSppwgwq+17nG2+xKvdrW/Nqu8TkIf Pclx6yd7VWKcIN0wgqFfsf8m/BgPCYPL8ETZOWqLnda4Xd5CVsrlWQt9CDZdNxguSa3N cSHrZvIoR8mjKX4qdcEZPzmmxlm/DRPKCUyCo= Received: by 161.129.204.104 with SMTP id v10mr887360qaq.13.1254487815467; Fri, 02 Oct 2009 05:50:15 -0700 (PDT) Received: from ?161.129.204.104? (user-0cdfsbc.cable.mindspring.com [161.129.204.104]) by mx.google.com with ESMTPS id 20sm575339qyk.9.2161.129.204.104.50.14 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 02 Oct 2009 05:50:14 -0700 (PDT) Sender: Geoffrey Arnold <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Mime-Version: 1.0 (Apple Message framework v1076) Subject: Re: Forcing local class resolution (and avoiding the class server) From: Geoffrey Arnold <[email protected]> In-Reply-To: <[email protected]> Date: Fri, 2 Oct 2009 08:50:13 -0400 Content-Transfer-Encoding: 7bit Message-Id: <[email protected]> References: <[email protected]> <[email protected]> To: [email protected] X-Mailer: Apple Mail (2.1076) X-Virus-Checked: Checked by ClamAV on apache.org On Oct 2, 2009, at 12:27 AM, Peter Jones wrote: > Just to be clear, you mean service proxy implementation classes too, > the entire contents of the services' -dl.jar files? (Service > interfaces used by the client will typically be loaded locally > anyway.) It looks like in the case of the JSK, the service-dl.jars are just a subset of the service.jars. What's the reasoning behind including the service-dl.jars in the client codebase if Patrick's already including the service.jars there? Thanks, Geoff. From [email protected] Fri Oct 02 14:52:34 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59962 invoked from network); 2 Oct 2009 14:52:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Oct 2009 14:52:34 -0000 Received: (qmail 67465 invoked by uid 500); 2 Oct 2009 14:52:34 -0000 Delivered-To: [email protected] Received: (qmail 67444 invoked by uid 500); 2 Oct 2009 14:52:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 67434 invoked by uid 99); 2 Oct 2009 14:52:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2009 14:52:34 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-pz0-f174.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2009 14:52:23 +0000 Received: by pzk4 with SMTP id 4so1095164pzk.32 for <[email protected]>; Fri, 02 Oct 2009 07:52:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:content-type :mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=dJMbm3O+wHeY2Qg8Zzt+WZKtWAcMWZuoPe9m0Er8ydE=; b=T87GxP8nNCgOyYSMP8mGIWIkCJHKzN7XWdQkO2gtnb7QygnXgXBpWFDBLwk1lPy93h 5heVWB7qaxwwMOtem+AXyRdC9fgGs2S+8BerSbdJRLdc7tL4GPc0hVt2Bpr118ugtNXA 8e/3Bm3bhaEHVYt+lMMcCxvaB7jACxYJzDLBY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=Ybzh944nSf4HSjYU6xjEWQ74EDxpjSLiMMavAa/8hvbPvKEA9Zre2bxxvpFsXtwstz SAm0mSjjxTTW7/hsRsheS9Xo+EaT8K4Y94bXIGJftNX+Z0BwaZ9Foy+BEsT2iHo6jeFQ hGw2rcC21O6wPMYUiYyJk7Mp4fnzEsxbcnAaE= Received: by 161.129.204.104 with SMTP id 4mr3865622war.137.1254495122397; Fri, 02 Oct 2009 07:52:02 -0700 (PDT) Received: from ?161.129.204.104? ([161.129.204.104]) by mx.google.com with ESMTPS id 21sm749874pxi.3.2161.129.204.104.52.00 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 02 Oct 2009 07:52:01 -0700 (PDT) Sender: Geoffrey Arnold <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Mime-Version: 1.0 (Apple Message framework v1076) Subject: Re: Forcing local class resolution (and avoiding the class server) From: Geoffrey Arnold <[email protected]> In-Reply-To: <[email protected]> Date: Fri, 2 Oct 2009 10:51:58 -0400 Content-Transfer-Encoding: 7bit Message-Id: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> To: [email protected] X-Mailer: Apple Mail (2.1076) X-Virus-Checked: Checked by ClamAV on apache.org Reading back over Peter's email, I believe that he was simply reiterating that a client requires more than just the service's interface when remote code downloading is disabled, thus you must include the entire contents of the service-dl.jar in the client's classpath. While adding the entire server.jar would work, it's overkill for Patrick's issue. On Oct 2, 2009, at 8:50 AM, Geoffrey Arnold wrote: > > On Oct 2, 2009, at 12:27 AM, Peter Jones wrote: > >> Just to be clear, you mean service proxy implementation classes >> too, the entire contents of the services' -dl.jar files? (Service >> interfaces used by the client will typically be loaded locally >> anyway.) > > It looks like in the case of the JSK, the service-dl.jars are just a > subset of the service.jars. What's the reasoning behind including > the service-dl.jars in the client codebase if Patrick's already > including the service.jars there? > > Thanks, > Geoff. From [email protected] Fri Oct 02 14:59:35 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61722 invoked from network); 2 Oct 2009 14:59:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Oct 2009 14:59:34 -0000 Received: (qmail 75132 invoked by uid 500); 2 Oct 2009 14:59:34 -0000 Delivered-To: [email protected] Received: (qmail 75079 invoked by uid 500); 2 Oct 2009 14:59:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 75069 invoked by uid 99); 2 Oct 2009 14:59:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2009 14:59:34 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO fg-out-1718.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2009 14:59:23 +0000 Received: by fg-out-1718.google.com with SMTP id 22so2152555fge.0 for <[email protected]>; Fri, 02 Oct 2009 07:59:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=JOVJzXyRJw1mpoY0KTWEwKMsg2lFzRgsXtFVka2i38M=; b=VRFYH2nOCZQ5bHGoPlpe/cvHUPzT2MqwMzYOYFkxW1AcNN+r1olzaFU5bI2JYTtf7k Z+gwD8uG04dHwSmlMU4C4y4nFIeJjJVSHp4Cn8YbsdB9VEFNcP0cSxdn3L5iKXItA6hu K87cp5md987Z7bAmlz1Odz7ldEWrg6+RPPZ9g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=ueHvPP0S+GiJn1apEZBBVkV1WuZYxAKfz1NxOq1jc+hRrgBJiG41tFcjekRVsnHpNt HLVresNR6EblyzUggXYZJx9VDN7mo4QqJ/BjTYfVtsdFZv8ABifnpk4clijbUaG0pdvs FkrDTZ+sLP98MF8eprtF6uCSCwQ5Nld5PBoFk= Received: by 161.129.204.104 with SMTP id i14mr2392818fgh.52.1254495543624; Fri, 02 Oct 2009 07:59:03 -0700 (PDT) Received: from ?161.129.204.104? (c-69-255-104-205.hsd1.va.comcast.net [161.129.204.104]) by mx.google.com with ESMTPS id e20sm73132fga.5.2161.129.204.104.58.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 02 Oct 2009 07:59:02 -0700 (PDT) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Mime-Version: 1.0 (Apple Message framework v1076) Subject: Re: Forcing local class resolution (and avoiding the class server) From: Dennis Reedy <[email protected]> In-Reply-To: <[email protected]> Date: Fri, 2 Oct 2009 10:58:53 -0400 Content-Transfer-Encoding: 7bit Message-Id: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> To: [email protected] X-Mailer: Apple Mail (2.1076) X-Virus-Checked: Checked by ClamAV on apache.org Just for clarity's sake here... We only need dynamic classloading if we dont have all classes in the classpath of all the participating JVMs here. If the setup described here results in everything being in the classpath, and the ClassLoaders that create the services do not return anything in their respective overloaded getURLs() implementation (codebase is null), then have we not achieved the same thing? That being no codebase annotation for classes? On Oct 2, 2009, at 1051AM, Geoffrey Arnold wrote: > Reading back over Peter's email, I believe that he was simply > reiterating that a client requires more than just the service's > interface when remote code downloading is disabled, thus you must > include the entire contents of the service-dl.jar in the client's > classpath. While adding the entire server.jar would work, it's > overkill for Patrick's issue. > > On Oct 2, 2009, at 8:50 AM, Geoffrey Arnold wrote: > >> >> On Oct 2, 2009, at 12:27 AM, Peter Jones wrote: >> >>> Just to be clear, you mean service proxy implementation classes >>> too, the entire contents of the services' -dl.jar files? (Service >>> interfaces used by the client will typically be loaded locally >>> anyway.) >> >> It looks like in the case of the JSK, the service-dl.jars are just >> a subset of the service.jars. What's the reasoning behind >> including the service-dl.jars in the client codebase if Patrick's >> already including the service.jars there? >> >> Thanks, >> Geoff. > From [email protected] Sat Oct 10 10:55:55 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 32398 invoked from network); 10 Oct 2009 10:55:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Oct 2009 10:55:54 -0000 Received: (qmail 26979 invoked by uid 500); 10 Oct 2009 10:55:54 -0000 Delivered-To: [email protected] Received: (qmail 26925 invoked by uid 500); 10 Oct 2009 10:55:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 26915 invoked by uid 99); 10 Oct 2009 10:55:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Oct 2009 10:55:54 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ew0-f210.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Oct 2009 10:55:44 +0000 Received: by ewy6 with SMTP id 6so438147ewy.12 for <[email protected]>; Sat, 10 Oct 2009 03:54:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=sGjhUqDaZsfgwgH8oKHmoKsYiup46h2gA7c35r4m/KE=; b=aiuAJRLYnqXxH0tGOacdN2TjbvbwW9ivnnYMEIa4zL1802U7d48TTA9w0nTbJ1S1Oh 2KDJodBrAY1YeU8ca9yMIKHehNVpEuYjNBHJd8y8/u8UbD+niTA2sUxT9BLrtv9HtTND WmZHEJe1gwg0HjSlmC2wkHsw3vmr7g3TZge3s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=LKvge4A/dT3uW4ZE5JFZwwpcfPvYoj1l26g5dnlQ9+sZYXs4x9NT/aOO8g67qiGjYl EAPh70uvF+fh/MdnbtEunahHrQl36XTxrf2nMVawXUFA7tzSonmtL3SHJfUg1kvZgZcc 4u3T54jkoXAsXZfg2icWQ9D33sS/XKt1LsJG4= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id g59mr1273754wef.128.1255172064749; Sat, 10 Oct 2009 03:54:24 -0700 (PDT) Date: Sat, 10 Oct 2009 12:54:24 +0200 Message-ID: <[email protected]> Subject: Where do I find the old JavaSpaces example apps? From: Patrick Wright <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi I've come across references to at least two sample programs which were (apparently) shipped with JavaSpaces TK 1.0--a ray tracer example and a "book buyer" example. I don't see any sign of these in the Jini 2.1 download--and haven't been able to recover the original artifacts from the old JavaSpaces release--anyone know where these samples ended up? Thanks Patrick From [email protected] Sat Oct 10 13:40:10 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64400 invoked from network); 10 Oct 2009 13:40:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Oct 2009 13:40:10 -0000 Received: (qmail 19329 invoked by uid 500); 10 Oct 2009 13:40:09 -0000 Delivered-To: [email protected] Received: (qmail 19259 invoked by uid 500); 10 Oct 2009 13:40:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 19249 invoked by uid 99); 10 Oct 2009 13:40:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Oct 2009 13:40:09 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ew0-f210.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Oct 2009 13:39:58 +0000 Received: by ewy6 with SMTP id 6so499213ewy.12 for <[email protected]>; Sat, 10 Oct 2009 06:38:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=PJJfKsv8QGufwNJFllHy/B0lQc1ZAPPAeUQJPri2RK4=; b=KB2eiGKCpb/iMEpyFwqWLPBbRhNTu4eM/FrX1G2eUQCFdnsyySwf/Dp/26K/2VFeV6 0/iWb7yUBcoe6MiCGaDIuPdlYvW9Xh0TN22u+JvIm1/FjjDX72Hfvb87kFF9X0I3CTwI /OmPifEhXB2MBXn+uSlU9nuR804qYl7EyA/bE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; b=sf/jbqY2LlHOV/z9XGUEQjsPupjbijodMgwvvN/8RknSuFbN9v8iKnUolES9GEzy0s H3Que+UDOpOYw6PEUqwDsgwIx2QLK4Gx/yN/sskT6VYCfNhZcJpCkwhzOwuyi6kOgOdY BZTB2g9RvvXwMecKVZY1pvGgT8diEh7+IL+k4= Received: by 161.129.204.104 with SMTP id y18mr1638592ebn.55.1255181918288; Sat, 10 Oct 2009 06:38:38 -0700 (PDT) Received: from ?161.129.204.104? (78-21-34-69.access.telenet.be [161.129.204.104]) by mx.google.com with ESMTPS id 23sm4081626eya.26.2161.129.204.104.38.36 (version=SSLv3 cipher=RC4-MD5); Sat, 10 Oct 2009 06:38:36 -0700 (PDT) Subject: Re: Where do I find the old JavaSpaces example apps? From: Jonathan Costers <[email protected]> To: [email protected] In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain Date: Sat, 10 Oct 2009 15:38:41 +0200 Message-Id: <1255181921.31151.3.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I remember these too.. No clue where they went though. Op zaterdag 10-10-2009 om 12:54 uur [tijdzone +0200], schreef Patrick Wright: > Hi > > I've come across references to at least two sample programs which were > (apparently) shipped with JavaSpaces TK 1.0--a ray tracer example and > a "book buyer" example. I don't see any sign of these in the Jini 2.1 > download--and haven't been able to recover the original artifacts from > the old JavaSpaces release--anyone know where these samples ended up? > > > Thanks > Patrick From [email protected] Sat Oct 10 13:46:24 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65170 invoked from network); 10 Oct 2009 13:46:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Oct 2009 13:46:24 -0000 Received: (qmail 25049 invoked by uid 500); 10 Oct 2009 13:46:24 -0000 Delivered-To: [email protected] Received: (qmail 24992 invoked by uid 500); 10 Oct 2009 13:46:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 24982 invoked by uid 99); 10 Oct 2009 13:46:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Oct 2009 13:46:23 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ew0-f210.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Oct 2009 13:46:14 +0000 Received: by ewy6 with SMTP id 6so501631ewy.12 for <[email protected]>; Sat, 10 Oct 2009 06:44:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=TV8IXjcqLmx41tm0jdY9OXGAqRF4ZJNHmxwzhOfReY8=; b=UWlFpsEpw4w2mHDGWnK7y8U5nB713BFp8YNuvgMKYjbtliMJTqaLtCT/BnNdkIvlm2 vhoC/XCQ9g2G/8UqURpWsRubGLyl0oGzkMNrhDLut8rjSILNlwSYbHsTZokDeIAGW7WK UKWMrEbHRGvN+1bmHZPnx5YkEHGVjyRSUDYaY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=QxiN17XRN9yVxebk0dCu7AmZBK9DCbGMJ4+hf14vuN/cQ+nmWrRWWc+mxKMMgaebNf RhRjMs96CcE43abc1YxKEbUR2THqraxY8tommHZncDYlY4phQ+IsY81hxJJo7ikgbHxu R8h7hBSWkBMssDTnQGDXGXTol8Dt6v8a6/GB0= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id g59mr1316020wef.128.1255182294568; Sat, 10 Oct 2009 06:44:54 -0700 (PDT) In-Reply-To: <1255181921.31151.3.camel@localhost> References: <[email protected]> <1255181921.31151.3.camel@localhost> Date: Sat, 10 Oct 2009 15:44:54 +0200 Message-ID: <[email protected]> Subject: Re: Where do I find the old JavaSpaces example apps? From: Patrick Wright <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org I haven't found them yet, but after some more digging, not sure they'd be of much use. The older JS examples seem to rely on Jini 1.0-era lookup mechanisms and classes which no longer exist, AFAICT. Am currently cleaning up a local copy of the code from the JS Principles book to work with Jini 2.1. Might be a useful TO-DO for a later River release to have some simple working JavaSpaces examples, tho. Patrick From [email protected] Sat Oct 10 13:55:41 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66158 invoked from network); 10 Oct 2009 13:55:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Oct 2009 13:55:41 -0000 Received: (qmail 28586 invoked by uid 500); 10 Oct 2009 13:55:41 -0000 Delivered-To: [email protected] Received: (qmail 28520 invoked by uid 500); 10 Oct 2009 13:55:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 28506 invoked by uid 99); 10 Oct 2009 13:55:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Oct 2009 13:55:40 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ew0-f210.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Oct 2009 13:55:29 +0000 Received: by ewy6 with SMTP id 6so505248ewy.12 for <[email protected]>; Sat, 10 Oct 2009 06:54:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=Pf4/iVY38/j12f+y0ScwB/Iqr1gHuOcJqiifuFkW4cE=; b=JBjjoTn1XdBCamwoWFn3dq2yRLSZ603yQTaZYWtJetUOZJxGf2xz5hj3C88hWciquB P09qjX5YQRdBoPpSrVJ2hoM3LEPguBEj5mX3Wr2qs7c1q1FCbdxhMhnhIRAVkkC32Rfy 02ATZBSchCFFoAhTPn16bZQTNHCfO3Mr4rNh8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; b=uGpSrQMVwG758EAMlFYa+7SYkW5E6g7RNqpk9GOSaGeINMGwRWd+vDt4yngrs0ZXbF IeBzwNUSDo4tyGbZkiPU91s/ppWTGG5a8NjcwffzLnVkQKbqffqkCeiMe60Tn+IsC5td 7Ax4tjJCDmxoV6uE+7v6m8Ey86y43fdGqHLHs= Received: by 161.129.204.104 with SMTP id h16mr4619781ebo.55.1255182849152; Sat, 10 Oct 2009 06:54:09 -0700 (PDT) Received: from ?161.129.204.104? (78-21-34-69.access.telenet.be [161.129.204.104]) by mx.google.com with ESMTPS id 10sm522397eyd.46.2161.129.204.104.54.06 (version=SSLv3 cipher=RC4-MD5); Sat, 10 Oct 2009 06:54:08 -0700 (PDT) Subject: Re: Where do I find the old JavaSpaces example apps? From: Jonathan Costers <[email protected]> To: [email protected] In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain Date: Sat, 10 Oct 2009 15:54:11 +0200 Message-Id: <1255182851.31151.5.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Found a ZIP file containing the orginal examples you mention: http://www.kiv.zcu.cz/~ledvina/vyuka/DS/ds2005-cv/uloha_10/starterkit-examples.zip Would be nice to get these into River, if at all possible. Best JOnathan Op zaterdag 10-10-2009 om 12:54 uur [tijdzone +0200], schreef Patrick Wright: > Hi > > I've come across references to at least two sample programs which were > (apparently) shipped with JavaSpaces TK 1.0--a ray tracer example and > a "book buyer" example. I don't see any sign of these in the Jini 2.1 > download--and haven't been able to recover the original artifacts from > the old JavaSpaces release--anyone know where these samples ended up? > > > Thanks > Patrick From [email protected] Sun Oct 11 11:32:59 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91055 invoked from network); 11 Oct 2009 11:32:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Oct 2009 11:32:59 -0000 Received: (qmail 66783 invoked by uid 500); 11 Oct 2009 11:32:59 -0000 Delivered-To: [email protected] Received: (qmail 66733 invoked by uid 500); 11 Oct 2009 11:32:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 66723 invoked by uid 99); 11 Oct 2009 11:32:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Oct 2009 11:32:59 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ew0-f210.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Oct 2009 11:32:50 +0000 Received: by ewy6 with SMTP id 6so94350ewy.12 for <[email protected]>; Sun, 11 Oct 2009 04:31:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=JXIyNmYc2Gmq/q2zHX6XZCMw3HzdhfWpWfrcV2gq2Ac=; b=cfKrjZ3cPngo5tlLyon6jQfPhiNlqo1wOq+/vF7ETFRBrKQbeAf0lFB2kW8jyA3vUb 4p+sFq6C0NpbwCdVlfy1bRr2rWMAbyYHMO9uZm9VPL7oohnJallox2ikhLM5Nn8iBKOc 5pWXV2p+QmRj+0CLozDCMFdWDCD4w4sIs14qM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=KtMl+nuwZTzBi/yp4YdQD0AK4k/RAx9GJr1hChfeJaoa26jepnkThcGgDWyVUm8bWV cPbwQy59C2m/EP4yBJLgC+sMxKnXogVBE0b+CzgYMe2Zrc9bP8uvmbGgmSDdnL6iyqEa ye4PUiHhd3rlReni+Uk+8WSFvnk88Hxmf8Di0= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id z53mr1618046wee.46.1255260689672; Sun, 11 Oct 2009 04:31:29 -0700 (PDT) Date: Sun, 11 Oct 2009 13:31:29 +0200 Message-ID: <[email protected]> Subject: Problem (null field) retrieving entry from JavaSpace From: Patrick Wright <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi I have the usual suspects (servers) running: httpd, reggie, outrigger, mahalo. I've verified this works using some older samples for JavaSpaces (e.g. distributed Mandelbrot), and in the code I'm working with, I can, e.g. write a Name in to my JavaSpace and read it back. I have my own entry which extends Name and which I'm pushing into the space. I'm seeing no errors in the various Jini/JS logs, but as I read the entry back in a separate "listener" (client) instance of the program, the "name" field is set correctly, but a second field is null. This second field--call it "task"--is serializable; I'm actually rewriting someone's first attempt at the code, which used basic Java serialization (ObjectOutputStream, ObjectInputStream) to move that individual value across the wire. I would suspect a codebase/serialization issue, except that as I read the JavaDocs for JavaSpace.read(), I would expect an "UnusableEntryException - if any serialized field of the entry being read cannot be deserialized for any reason". In any case, I made sure that: - the publisher and the client are running with the RMISecurityManager with an anything-goes policy - the various JARs used by the publisher and client are available in the httpd codebase path So--if an entry is being read with a null field where it was written with a non-null field, where should I look? Thanks Patrick From [email protected] Sun Oct 11 12:11:25 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95858 invoked from network); 11 Oct 2009 12:11:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Oct 2009 12:11:25 -0000 Received: (qmail 82328 invoked by uid 500); 11 Oct 2009 12:11:25 -0000 Delivered-To: [email protected] Received: (qmail 82289 invoked by uid 500); 11 Oct 2009 12:11:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 82279 invoked by uid 99); 11 Oct 2009 12:11:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Oct 2009 12:11:24 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ew0-f210.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Oct 2009 12:11:14 +0000 Received: by ewy6 with SMTP id 6so107003ewy.12 for <[email protected]>; Sun, 11 Oct 2009 05:09:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=4Ozk+RGjpskjOQ99GXGIARwb89/K+fypxKGnj6ghjEo=; b=AAxgTcMd0btPhXUEB6FWk2H8duyQMMzIYYoQLEAGn1DjYt30WBXWPE8n4TbBYxK/+Z falf2ZmKvWfKPRDV4DewFtDwCdOQRuVJmzE9xoeUHMkjplJumQZebPaXfdxaI7hNvcx7 Zc3ocbxGMqVx1T8BHFB5FLi76/pHHrPnuR9xI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=qKvhyDHBZmQSadbvIhx/e12mJJMzyUqKCyjgCXjGO1NKeBZ25xMQQB0kaI9YM/mT0k Ae99xYdH0JYjp+z03ITwcTXq4uOj1fTI+ay6NHiubxhL5onvuNao5i4VxWjWkv06v4XK iw2ssteh8Oy3QjjDCn8XzNme4k9MMEji++hdI= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id z53mr1627789wee.46.1255262994520; Sun, 11 Oct 2009 05:09:54 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> Date: Sun, 11 Oct 2009 14:09:54 +0200 Message-ID: <[email protected]> Subject: Re: Problem (null field) retrieving entry from JavaSpace From: Patrick Wright <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Got it. I left something out :). What I didn't say was that I'm writing the publisher and client in Scala, and the custom Entry as well. I appears that in Scala (and this is based on my limited understanding of the topic), you can declare something that looks like a public field in the language, but which is not actually generated as a public field in the bytecode. It appears there is no way to do the latter, currently; see Bill Venner's comments on http://www.artima.com/forums/flat.jsp?forum=282&thread=243784. By declaring the custom entry in Java, and using that class from Scala, writing to and reading from the Space works fine. Coolness: I'm experimenting with Ian Clarke's Swarm project (http://code.google.com/p/swarm-dpl/). What I just got working is writing and reading a Scala continuation via a JavaSpace instance. What this means is that, from within a method, you can "exit" that method at a certain point (line in the code), have all state local to that method "frozen", then pass that method as a continuation up to the space, read it out, continue to execute it from the next line, then repeat ad nauseum. So using Ian's sample (see ExplicitMoveTo.scala in the sources), what I just got working with a JavaSpace is: process a: enter method process a: prompts "what is your name?", read reply, store to local var process a: freeze continuation, push to space as custom entry process b: poll for entries process b: read custom entry process b: resume continuation process b: prompts "what is your age?", read reply, store to local var process b: freeze continuation, push to space as custom entry process a: read custom entry process a: resume continuation process a: prints out name, age, calculation So we now have "downloadable methods" to complement "downloadable code". (kudos go to the Scala team and to Ian!) Regards Patrick From [email protected] Tue Oct 13 18:36:59 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94354 invoked from network); 13 Oct 2009 18:36:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Oct 2009 18:36:59 -0000 Received: (qmail 63832 invoked by uid 500); 13 Oct 2009 18:36:59 -0000 Delivered-To: [email protected] Received: (qmail 63727 invoked by uid 500); 13 Oct 2009 18:36:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 63717 invoked by uid 99); 13 Oct 2009 18:36:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Oct 2009 18:36:58 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO col0-omc3-s12.col0.hotmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Oct 2009 18:36:47 +0000 Received: from COL108-W1 ([161.129.204.104]) by col0-omc3-s12.col0.hotmail.com with Microsoft SMTPSVC(865)775-7517); Tue, 13 Oct 2009 11:36:26 -0700 Message-ID: <[email protected]> Content-Type: multipart/alternative; boundary="_6a9e2d95-7f19-4d6c-8a4c-cacce206dcf6_" X-Originating-IP: [161.129.204.104] From: Andrew Meng <[email protected]> To: <[email protected]> Subject: Multicase problem. Date: Tue, 13 Oct 2009 18:36:26 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 13 Oct 2009 18:36:26.0294 (UTC) FILETIME=[12534D60:01CA4C34] X-Virus-Checked: Checked by ClamAV on apache.org --_6a9e2d95-7f19-4d6c-8a4c-cacce206dcf6_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello=2C I am trying to test the Tiling ComputeFarm implementation. The multicast w= orker works fine on a local machine and does not work on a remote machine. = Disabling Selinux/Firewall and enabling multicast on both master and worke= r machines does not [email protected]. It seems that worker could not find the r= egistrar using multicast machinism. Can anyone shed any light on how to debug multicast issue? Thanks a lot=2C Andrew =0A= _________________________________________________________________=0A= New! Faster Messenger access on the new MSN homepage=0A= http://go.microsoft.com/?linkid=3D9677406= --_6a9e2d95-7f19-4d6c-8a4c-cacce206dcf6_-- From [email protected] Wed Oct 14 17:32:01 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44117 invoked from network); 14 Oct 2009 17:32:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Oct 2009 17:32:01 -0000 Received: (qmail 10681 invoked by uid 500); 14 Oct 2009 17:32:01 -0000 Delivered-To: [email protected] Received: (qmail 10630 invoked by uid 500); 14 Oct 2009 17:32:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 10619 invoked by uid 99); 14 Oct 2009 17:32:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2009 17:32:00 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ew0-f210.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2009 17:31:58 +0000 Received: by ewy6 with SMTP id 6so3596ewy.12 for <[email protected]>; Wed, 14 Oct 2009 10:31:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=xMwvqyQcqW6aOt3rzeH2ZFtnFnqfSZlJoCgxV01AWY0=; b=H/Z2QWL5fQY1ivOLxZ7mOzuNk06J4caECdBJjBgl7h+5o5ktN3pOE96notLHANV7XI 5t5Dq1JJNNgyO9233D/EbhGbgS6Hhtt+DtMAxW10CG/Tgkl92EUbBuX3yaMOy59Qi3gy SeYSQuyNtBDpN2K7vpyunOEvtJURGeUXMNEpg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; b=LceWlaAm8kMSQXnE2J8r9Noion/g5ldwP89ZKwIVYW/e9sPxJPdu/GlPhNmQFYjL1s 1yiUW0tKSXKRgY7Zj2MHE18KcGJjjbAswNLVBN6Dylo6t9aDu1kqruY7cRoUxBjohdGv ChCvQD819s9r/T0Lf19ZikUhLLdEufyfDuxvw= Received: by 161.129.204.104 with SMTP id z63mr2735002wee.129.1255541496549; Wed, 14 Oct 2009 10:31:36 -0700 (PDT) Received: from ?161.129.204.104? (78-21-34-69.access.telenet.be [161.129.204.104]) by mx.google.com with ESMTPS id 10sm132916eyz.6.2161.129.204.104.31.34 (version=SSLv3 cipher=RC4-MD5); Wed, 14 Oct 2009 10:31:34 -0700 (PDT) Subject: Re: Multicase problem. From: Jonathan Costers <[email protected]> To: [email protected] In-Reply-To: <[email protected]> References: <[email protected]> Content-Type: text/plain Date: Wed, 14 Oct 2009 19:31:37 +0200 Message-Id: <1255541497.15577.10.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit Hi Andrew You could try using the following JDK logging settings: # For debugging discovery com.sun.jini.discovery.level = INFO com.sun.jini.discovery.DiscoveryV1.level = INFO com.sun.jini.discovery.DiscoveryV2.level = INFO com.sun.jini.discovery.x500.level = INFO # For debugging the helper utilities net.jini.discovery.LookupDiscovery.level = INFO net.jini.discovery.LookupLocatorDiscovery.level = INFO net.jini.lookup.JoinManager.level = INFO net.jini.lookup.ServiceDiscoveryManager.level = INFO net.jini.lease.LeaseRenewalManager.level = INFO Of course, set the logging level to something higher than INFO ... Add these lines in your logging.properties file and tell the JVM to use it by passing something like "-Djava.util.logging.config.file=config/logging.properties" to yr JVM. Hope this helps. Op dinsdag (865)775-7517 om 18:36 uur [tijdzone +0000], schreef Andrew Meng: > Hello, > > I am trying to test the Tiling ComputeFarm implementation. The multicast worker works fine on a local machine and does not work on a remote machine. Disabling Selinux/Firewall and enabling multicast on both master and worker machines does not [email protected]. It seems that worker could not find the registrar using multicast machinism. > > Can anyone shed any light on how to debug multicast issue? > > Thanks a lot, > Andrew > > _________________________________________________________________ > New! Faster Messenger access on the new MSN homepage > http://go.microsoft.com/?linkid=9677406 From [email protected] Wed Oct 14 17:52:56 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49449 invoked from network); 14 Oct 2009 17:52:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Oct 2009 17:52:56 -0000 Received: (qmail 58561 invoked by uid 500); 14 Oct 2009 17:52:54 -0000 Delivered-To: [email protected] Received: (qmail 58539 invoked by uid 500); 14 Oct 2009 17:52:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 58512 invoked by uid 99); 14 Oct 2009 17:52:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2009 17:52:54 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE,MIME_HEADER_CTYPE_ONLY,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO col0-omc3-s14.col0.hotmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2009 17:52:51 +0000 Received: from COL108-W47 ([161.129.204.104]) by col0-omc3-s14.col0.hotmail.com with Microsoft SMTPSVC(865)775-7517); Wed, 14 Oct 2009 10:51:20 -0700 Message-ID: <[email protected]> Content-Type: multipart/alternative; boundary="_d2a18dce-d94e-4c62-9b6b-2953070b39ad_" X-Originating-IP: [161.129.204.104] From: Andrew Meng <[email protected]> To: <[email protected]> CC: <[email protected]> Subject: RE: Multicase problem. Date: Wed, 14 Oct 2009 17:51:20 +0000 Importance: Normal In-Reply-To: <1255541497.15577.10.camel@localhost> References: <[email protected]> X-OriginalArrivalTime: 14 Oct 2009 17:51:20.0118 (UTC) FILETIME=[EFBB5D60:01CA4CF6] --_d2a18dce-d94e-4c62-9b6b-2953070b39ad_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Jonahthan=2C Thanks for the tip! I just figured out that firewall provented accessing p= ort 4160 and 8081 on the master machine. After getting registrar object ba= ck=2C however it has lookup problem now. see the attached exceptions. The j= ini services(includeing JavaSpace) are on host "s04"=2C but worker machine= (s03) tries to lookup javaspace object at localhost instead of from s04. = Here is my /etc/hosts file: 161.129.204.104 s04.meng.com s04 161.129.204.104 localhost=20 161.129.204.104 s03 what did I miss? Thanks a lot=2C Andrew INE: main: name =3D "com.sun.jini.reggie.RegistrarProxy"=2C codebase =3D "h= ttp://s04.meng.com:8081/reggie-dl.jar http://s04.meng.com:8081/jsk-dl.jar"= =2C defaultLoader =3D sun.misc.Launcher$AppClassLoader@7d772e Oct 14=2C 2009 12:38:57 PM sun.rmi.server.LoaderHandler loadClass FINER: main: (thread context class loader: sun.misc.Launcher$AppClassLoader= @7d772e) Oct 14=2C 2009 12:38:57 PM sun.rmi.server.LoaderHandler loadClass FINER: main: class "com.sun.jini.reggie.RegistrarProxy" found via codebase= =2C defined by sun.rmi.server.LoaderHandler$Loader@119cca4["http://s04.meng= .com:8081/reggie-dl.jar http://s04.meng.com:8081/jsk-dl.jar"] Oct 14=2C 2009 12:38:57 PM sun.rmi.server.LoaderHandler loadProxyClass FINE: main: interfaces =3D [com.sun.jini.reggie.Registrar=2C net.jini.core.= constraint.RemoteMethodControl=2C net.jini.security.proxytrust.TrustEquival= ence]=2C codebase =3D "http://s04.meng.com:8081/reggie-dl.jar http://s04.me= ng.com:8081/jsk-dl.jar"=2C defaultLoader =3D sun.rmi.server.LoaderHandler$L= oader@119cca4["http://s04.meng.com:8081/reggie-dl.jar http://s04.meng.com:8= 081/jsk-dl.jar"] Oct 14=2C 2009 12:38:57 PM sun.rmi.server.LoaderHandler loadProxyClass FINER: main: (thread context class loader: sun.misc.Launcher$AppClassLoader= @7d772e) Oct 14=2C 2009 12:38:57 PM sun.rmi.server.LoaderHandler loadProxyInterfaces FINER: main: non-public interface "com.sun.jini.reggie.Registrar" defined b= y sun.rmi.server.LoaderHandler$Loader@119cca4["http://s04.meng.com:8081/reg= gie-dl.jar http://s04.meng.com:8081/jsk-dl.jar"] Oct 14=2C 2009 12:38:57 PM sun.rmi.server.LoaderHandler loadProxyClass FINER: main: proxy interfaces found via defaultLoader=2C defined by [sun.rm= i.server.LoaderHandler$Loader@119cca4["http://s04.meng.com:8081/reggie-dl.j= ar http://s04.meng.com:8081/jsk-dl.jar"]=2C sun.misc.Launcher$AppClassLoade= r@7d772e=2C sun.misc.Launcher$AppClassLoader@7d772e] Oct 14=2C 2009 12:38:57 PM sun.rmi.server.LoaderHandler loadProxyClass FINER: main: proxy class defined by sun.rmi.server.LoaderHandler$Loader@119= cca4["http://s04.meng.com:8081/reggie-dl.jar http://s04.meng.com:8081/jsk-d= l.jar"] Oct 14=2C 2009 12:38:57 PM sun.rmi.server.LoaderHandler loadClass FINE: main: name =3D "java.lang.reflect.Proxy"=2C codebase =3D ""=2C defaul= tLoader =3D sun.rmi.server.LoaderHandler$Loader@119cca4["http://s04.meng.co= m:8081/reggie-dl.jar http://s04.meng.com:8081/jsk-dl.jar"] Oct 14=2C 2009 12:38:57 PM sun.rmi.server.LoaderHandler loadClass FINER: main: class "java.lang.reflect.Proxy" found via defaultLoader=2C def= ined by null Oct 14=2C 2009 12:38:57 PM sun.rmi.server.LoaderHandler loadClass FINE: main: name =3D "net.jini.jeri.BasicInvocationHandler"=2C codebase =3D= ""=2C defaultLoader =3D sun.rmi.server.LoaderHandler$Loader@119cca4["http:= //s04.meng.com:8081/reggie-dl.jar http://s04.meng.com:8081/jsk-dl.jar"] Oct 14=2C 2009 12:38:57 PM sun.rmi.server.LoaderHandler loadClass FINER: main: class "net.jini.jeri.BasicInvocationHandler" found via default= Loader=2C defined by sun.misc.Launcher$AppClassLoader@7d772e Oct 14=2C 2009 12:38:57 PM sun.rmi.server.LoaderHandler loadClass FINE: main: name =3D "net.jini.jeri.BasicObjectEndpoint"=2C codebase =3D ""= =2C defaultLoader =3D sun.misc.Launcher$AppClassLoader@7d772e Oct 14=2C 2009 12:38:57 PM sun.rmi.server.LoaderHandler loadClass FINER: main: class "net.jini.jeri.BasicObjectEndpoint" found via defaultLoa= der=2C defined by sun.misc.Launcher$AppClassLoader@7d772e Oct 14=2C 2009 12:38:57 PM sun.rmi.server.LoaderHandler loadClass FINE: main: name =3D "net.jini.jeri.tcp.TcpEndpoint"=2C codebase =3D ""=2C = defaultLoader =3D sun.misc.Launcher$AppClassLoader@7d772e Oct 14=2C 2009 12:38:57 PM sun.rmi.server.LoaderHandler loadClass FINER: main: class "net.jini.jeri.tcp.TcpEndpoint" found via defaultLoader= =2C defined by sun.misc.Launcher$AppClassLoader@7d772e Oct 14=2C 2009 12:38:57 PM sun.rmi.server.LoaderHandler loadClass FINE: main: name =3D "net.jini.id.UuidFactory$Impl"=2C codebase =3D ""=2C d= efaultLoader =3D sun.misc.Launcher$AppClassLoader@7d772e Oct 14=2C 2009 12:38:57 PM sun.rmi.server.LoaderHandler loadClass FINER: main: class "net.jini.id.UuidFactory$Impl" found via defaultLoader= =2C defined by sun.misc.Launcher$AppClassLoader@7d772e Oct 14=2C 2009 12:38:57 PM sun.rmi.server.LoaderHandler loadClass FINE: main: name =3D "net.jini.id.Uuid"=2C codebase =3D ""=2C defaultLoader= =3D sun.misc.Launcher$AppClassLoader@7d772e Oct 14=2C 2009 12:38:57 PM sun.rmi.server.LoaderHandler loadClass FINER: main: class "net.jini.id.Uuid" found via defaultLoader=2C defined by= sun.misc.Launcher$AppClassLoader@7d772e Oct 14=2C 2009 12:38:57 PM net.jini.jeri.BasicInvocationHandler invoke FINE: outbound call com.sun.jini.reggie.Registrar.lookup to BasicObjectEndp= oint[d3002af8-560b-4ec7-9fab-5b9701ee8359=2CTcpEndpoint[161.129.204.104:43540]] args [com.sun.jini.reggie.Template@422ede] InvocationConstraints[reqs: {}=2C prefs: {}] Oct 14=2C 2009 12:38:57 PM net.jini.jeri.tcp.TcpEndpoint$ConnectionEndpoint= Impl newSocket FINE: created socket Socket[unconnected] Oct 14=2C 2009 12:38:57 PM net.jini.jeri.tcp.TcpEndpoint$ConnectionEndpoint= Impl connectToHost HANDLED: exception connecting to /161.129.204.104:43540 java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:519) at net.jini.jeri.tcp.TcpEndpoint$ConnectionEndpointImpl.connectToSocket= Address(TcpEndpoint.java:678) at net.jini.jeri.tcp.TcpEndpoint$ConnectionEndpointImpl.connectToHost(T= cpEndpoint.java:608) at net.jini.jeri.tcp.TcpEndpoint$ConnectionEndpointImpl.connect(TcpEndp= oint.java:543) at net.jini.jeri.connection.ConnectionManager.connect(ConnectionManager= .java:228) at net.jini.jeri.connection.ConnectionManager$ReqIterator.next(Connecti= onManager.java:629) at net.jini.jeri.BasicObjectEndpoint$1.next(BasicObjectEndpoint.java:37= 1) at net.jini.jeri.BasicInvocationHandler.invokeRemoteMethodOnce(BasicInv= ocationHandler.java:708) at net.jini.jeri.BasicInvocationHandler.invokeRemoteMethod(BasicInvocat= ionHandler.java:659) at net.jini.jeri.BasicInvocationHandler.invoke(BasicInvocationHandler.j= ava:528) at com.sun.jini.reggie.$Proxy0.lookup(Unknown Source) at com.sun.jini.reggie.RegistrarProxy.lookup(RegistrarProxy.java:112) at org.tiling.computefarm.impl.javaspaces.util.ServiceFinder.findServic= e(ServiceFinder.java:16) at org.tiling.computefarm.impl.javaspaces.worker.UnicastWorker.run(Unic= astWorker.java:42) at org.tiling.computefarm.impl.javaspaces.worker.UnicastWorker.main(Uni= castWorker.java:104) Oct 14=2C 2009 12:38:57 PM net.jini.jeri.tcp.TcpEndpoint$ConnectionEndpoint= Impl connectToHost FAILED: exception connecting to 161.129.204.104:43540 > Subject: Re: Multicase problem. > From: [email protected] > To: [email protected] > Date: Wed=2C 14 Oct 2009 19:31:37 +0200 >=20 > Hi Andrew >=20 > You could try using the following JDK logging settings: >=20 > # For debugging discovery > com.sun.jini.discovery.level =3D INFO > com.sun.jini.discovery.DiscoveryV1.level =3D INFO > com.sun.jini.discovery.DiscoveryV2.level =3D INFO > com.sun.jini.discovery.x500.level =3D INFO >=20 > # For debugging the helper utilities > net.jini.discovery.LookupDiscovery.level =3D INFO > net.jini.discovery.LookupLocatorDiscovery.level =3D INFO > net.jini.lookup.JoinManager.level =3D INFO > net.jini.lookup.ServiceDiscoveryManager.level =3D INFO > net.jini.lease.LeaseRenewalManager.level =3D INFO >=20 > Of course=2C set the logging level to something higher than INFO ... >=20 > Add these lines in your logging.properties file and tell the JVM to use > it by passing something like > "-Djava.util.logging.config.file=3Dconfig/logging.properties" to yr JVM. >=20 > Hope this helps. >=20 > Op dinsdag (865)775-7517 om 18:36 uur [tijdzone +0000]=2C schreef Andrew > Meng: > > Hello=2C > >=20 > > I am trying to test the Tiling ComputeFarm implementation. The multica= st worker works fine on a local machine and does not work on a remote machi= ne. Disabling Selinux/Firewall and enabling multicast on both master and w= orker machines does not [email protected]. It seems that worker could not find t= he registrar using multicast machinism. > >=20 > > Can anyone shed any light on how to debug multicast issue? > >=20 > > Thanks a lot=2C > > Andrew > > =20 > > _________________________________________________________________ > > New! Faster Messenger access on the new MSN homepage > > http://go.microsoft.com/?linkid=3D9677406 >=20 =0A= _________________________________________________________________=0A= New! Faster Messenger access on the new MSN homepage=0A= http://go.microsoft.com/?linkid=3D9677406= --_d2a18dce-d94e-4c62-9b6b-2953070b39ad_-- From [email protected] Wed Oct 14 18:21:58 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59449 invoked from network); 14 Oct 2009 18:21:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Oct 2009 18:21:58 -0000 Received: (qmail 32585 invoked by uid 500); 14 Oct 2009 18:21:58 -0000 Delivered-To: [email protected] Received: (qmail 32558 invoked by uid 500); 14 Oct 2009 18:21:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 32548 invoked by uid 99); 14 Oct 2009 18:21:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2009 18:21:58 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ew0-f210.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2009 18:21:50 +0000 Received: by ewy6 with SMTP id 6so56331ewy.12 for <[email protected]>; Wed, 14 Oct 2009 11:21:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=gawf3oLQNVZghO3gHybH2tSrCCoaZHW8BGrL4w3jzxY=; b=lwoh4Y7i5oHm5TIXQexfLNqdrMYeWIodMULr/hw0u4p3LxIwdRw/ItW5FlMdzciL3j qFQbFyyk25GlglrETrw3SyejnLTqu6FMmHH0Xksf3JCGZm2f8yx7APTv497AU+3szd7j sx+iBN8D8keAp1hLvQZwytFxtrOj0exndw7Vo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=tufMEE4qSTjL02VzH8HKiUm4GPwExyVbyJl/vFoSMYhlpM92epJGRLmyGewHJxaTps RU8ncjy9wWox1xY5WSTTHEfvR6Q9+35xziDM2U2BJ0eLLXCvwIpZ2Ezm1+ViXIjzWF0+ DzRY/KGX38HA3ZAsX4OyXhb0d0Xtq9fRTzzpw= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id w54mr2934249wee.54.1255544490269; Wed, 14 Oct 2009 11:21:30 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <1255541497.15577.10.camel@localhost> <[email protected]> Date: Wed, 14 Oct 2009 20:21:30 +0200 Message-ID: <[email protected]> Subject: Re: Multicase problem. From: Patrick Wright <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org This reminds me of a situation where some of our BasicObjectEndpoints were ending up with the loopback address. When a remote server would try to contact on that endpoint, it of course wouldn't find us. HTH Patrick From [email protected] Wed Oct 14 19:09:57 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84488 invoked from network); 14 Oct 2009 19:09:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Oct 2009 19:09:57 -0000 Received: (qmail 73467 invoked by uid 500); 14 Oct 2009 19:09:57 -0000 Delivered-To: [email protected] Received: (qmail 73431 invoked by uid 500); 14 Oct 2009 19:09:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 73419 invoked by uid 99); 14 Oct 2009 19:09:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2009 19:09:56 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO eastrmmtao106.cox.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2009 19:09:54 +0000 Received: from eastrmimpo03.cox.net ([161.129.204.104]) by eastrmmtao106.cox.net (InterMail vM.161.129.204.104 201-2244-105-20090324) with ESMTP id <[email protected]> for <[email protected]>; Wed, 14 Oct 2009 15:09:31 -0400 Received: from [161.129.204.104] ([161.129.204.104]) by eastrmimpo03.cox.net with bizsmtp id sj9S1c0033mk5mm02j9WJM; Wed, 14 Oct 2009 15:09:30 -0400 X-VR-Score: -110.00 X-Authority-Analysis: v=1.0 c=1 a=ElrfGO5qpUl3DCUsx5IA:9 a=D81PuCq0pjWCOujGsHHDfyJm9gkA:4 a=Hucm1GPueM3XFPlE:21 a=kA6u-q0buNAB-uMw:21 X-CM-Score: 0.00 Message-ID: <[email protected]> Date: Wed, 14 Oct 2009 14:09:22 -0500 From: Gregg Wonderly <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20090812) MIME-Version: 1.0 To: [email protected] Subject: Re: Multicase problem. References: <[email protected]> <1255541497.15577.10.camel@localhost> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit This points at a common linux misconfiguration where the /etc/hosts file ends up having bad values in it that map the hostname to 161.129.204.104 and vice-versa. The end result is that the LUS binds to localhost instead of the interface address for a network interface, and then tells you this is where it is bound, which of course you can not connect to. If you will do a "netstat -an |grep LISTEN" on the server that the LUS is running on, you should see that there is no external LISTEN on 4160, only a localhost binding. You are finding the service via multicast, but then getting back an address that you can't connect to it with I am guessing. Gregg Wonderly Patrick Wright wrote: > This reminds me of a situation where some of our BasicObjectEndpoints > were ending up with the loopback address. When a remote server would > try to contact on that endpoint, it of course wouldn't find us. > > HTH > Patrick > From [email protected] Wed Oct 14 20:06:56 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11068 invoked from network); 14 Oct 2009 20:06:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Oct 2009 20:06:55 -0000 Received: (qmail 62451 invoked by uid 500); 14 Oct 2009 20:06:55 -0000 Delivered-To: [email protected] Received: (qmail 62420 invoked by uid 500); 14 Oct 2009 20:06:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 62363 invoked by uid 99); 14 Oct 2009 20:06:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2009 20:06:55 +0000 X-ASF-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE,MIME_HEADER_CTYPE_ONLY X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO col0-omc3-s8.col0.hotmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2009 20:06:52 +0000 Received: from COL108-W59 ([161.129.204.104]) by col0-omc3-s8.col0.hotmail.com with Microsoft SMTPSVC(865)775-7517); Wed, 14 Oct 2009 13:06:31 -0700 Message-ID: <[email protected]> Content-Type: multipart/alternative; boundary="_9b42440b-0bca-4b97-9a28-ba4ff89a075b_" X-Originating-IP: [161.129.204.104] From: Andrew Meng <[email protected]> To: <[email protected]> Subject: RE: Multicase problem. Date: Wed, 14 Oct 2009 20:06:31 +0000 Importance: Normal In-Reply-To: <[email protected]> References: <[email protected]> <1255541497.15577.10.camel@localhost> <[email protected]> <[email protected]> X-OriginalArrivalTime: 14 Oct 2009 20:06:31.0429 (UTC) FILETIME=[D2733350:01CA4D09] --_9b42440b-0bca-4b97-9a28-ba4ff89a075b_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Greg=2C Here is what I got on server(s04) where LUS is running: [root@s04 ~]# netstat -an | grep LISTEN tcp 0 0 161.129.204.104:3306 161.129.204.104:* = LISTEN =20 tcp 0 0 161.129.204.104:47754 161.129.204.104:* = LISTEN =20 tcp 0 0 161.129.204.104:111 161.129.204.104:* = LISTEN =20 tcp 0 0 161.129.204.104:22 161.129.204.104:* = LISTEN =20 tcp 0 0 161.129.204.104:631 161.129.204.104:* = LISTEN =20 tcp 0 0 161.129.204.104:25 161.129.204.104:* = LISTEN =20 tcp 0 0 acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b:4160 acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b:* = LISTEN =20 my /etc/hosts on the worker machine(s03)look like this: 161.129.204.104 s04.meng.com s04 161.129.204.104 localhost.localdomain localhost=20 161.129.204.104 s03 s03 =20 My question is=2C if s03 can successfully get registrar back from s04=2C w= hy does the registrar.lookup() bind to localhost instead of s04?=20 Thanks=2C Andrew > Date: Wed=2C 14 Oct 2009 14:09:22 -0500 > From: [email protected] > To: [email protected] > Subject: Re: Multicase problem. >=20 > This points at a common linux misconfiguration where the /etc/hosts file = ends up=20 > having bad values in it that map the hostname to 161.129.204.104 and vice-versa= . >=20 > The end result is that the LUS binds to localhost instead of the interfac= e=20 > address for a network interface=2C and then tells you this is where it is= bound=2C=20 > which of course you can not connect to. >=20 > If you will do a "netstat -an |grep LISTEN" on the server that the LUS is= =20 > running on=2C you should see that there is no external LISTEN on 4160=2C = only a=20 > localhost binding. >=20 > You are finding the service via multicast=2C but then getting back an add= ress that=20 > you can't connect to it with I am guessing. >=20 > Gregg Wonderly >=20 > Patrick Wright wrote: > > This reminds me of a situation where some of our BasicObjectEndpoints > > were ending up with the loopback address. When a remote server would > > try to contact on that endpoint=2C it of course wouldn't find us. > >=20 > > HTH > > Patrick > >=20 >=20 =0A= _________________________________________________________________=0A= New! Get to Messenger faster: Sign-in here now!=0A= http://go.microsoft.com/?linkid=3D9677407= --_9b42440b-0bca-4b97-9a28-ba4ff89a075b_-- From [email protected] Wed Oct 14 20:49:28 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29653 invoked from network); 14 Oct 2009 20:49:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Oct 2009 20:49:28 -0000 Received: (qmail 28062 invoked by uid 500); 14 Oct 2009 20:49:28 -0000 Delivered-To: [email protected] Received: (qmail 28024 invoked by uid 500); 14 Oct 2009 20:49:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 28014 invoked by uid 99); 14 Oct 2009 20:49:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2009 20:49:28 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ew0-f210.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2009 20:49:25 +0000 Received: by ewy6 with SMTP id 6so203337ewy.12 for <[email protected]>; Wed, 14 Oct 2009 13:49:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=ZbNRjyCHpiUH9xrlepGdU61wUWxh+ER99h+9R11cDIw=; b=XNv4V825cB/sUrrsG8DcPVCR+hLOX/mCiD6n1/tycP1XiikB/bu76qsT3Ym+gg5oab rEQXTSM7LSIwrw4toMf+RqnV0iMjBQ10OyPgb53rkTxaTKJZKdGq7alhq56sD3ziwGCz OFMVyVjEVfILkpXoNfo+dHEbHKNrypq5hmqj0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; b=mm/T/iS178WTkczmq/oY4fJhDD1N/aJcjKvq386MHKfNrIKyEZR7Vy/NI7wj51hmI0 /DRX2hmwx1HeGgSzCWl+4lhvW+RTjRjAkWQwvfGbvg5Xw8sYHctLcfEpNKerTuY0LDgT YOSLlSdrHELbGju13D2k9OhRf2cyfwjVIyHGE= Received: by 161.129.204.104 with SMTP id x8mr7973697ebn.67.1255553344036; Wed, 14 Oct 2009 13:49:04 -0700 (PDT) Received: from ?161.129.204.104? (78-21-34-69.access.telenet.be [161.129.204.104]) by mx.google.com with ESMTPS id 23sm904052eya.20.2161.129.204.104.49.02 (version=SSLv3 cipher=RC4-MD5); Wed, 14 Oct 2009 13:49:03 -0700 (PDT) Subject: Re: Where do I find the old JavaSpaces example apps? From: Jonathan Costers <[email protected]> To: [email protected] In-Reply-To: <[email protected]> References: <[email protected]> <1255181921.31151.3.camel@localhost> <[email protected]> Content-Type: text/plain Date: Wed, 14 Oct 2009 22:49:07 +0200 Message-Id: <1255553347.15577.13.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit I have the old Ray Trace example running on the latest River build. Would it make sense / be possible to add this example to River? I'll try to pull together a patch shortly if anybody is interested. - Jonathan Op zaterdag 10-10-2009 om 15:44 uur [tijdzone +0200], schreef Patrick Wright: > I haven't found them yet, but after some more digging, not sure they'd > be of much use. The older JS examples seem to rely on Jini 1.0-era > lookup mechanisms and classes which no longer exist, AFAICT. Am > currently cleaning up a local copy of the code from the JS Principles > book to work with Jini 2.1. > > Might be a useful TO-DO for a later River release to have some simple > working JavaSpaces examples, tho. > > > Patrick From [email protected] Thu Oct 15 10:33:21 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 62251 invoked from network); 15 Oct 2009 10:33:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Oct 2009 10:33:21 -0000 Received: (qmail 54364 invoked by uid 500); 15 Oct 2009 10:33:20 -0000 Delivered-To: [email protected] Received: (qmail 54316 invoked by uid 500); 15 Oct 2009 10:33:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 54306 invoked by uid 99); 15 Oct 2009 10:33:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 10:33:20 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ew0-f209.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 10:33:12 +0000 Received: by ewy5 with SMTP id 5so329299ewy.12 for <[email protected]>; Thu, 15 Oct 2009 03:32:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=zyfNM04n3HGSoJEuy2xdm15585mMBAYaRyuULPFso/M=; b=h7pVzvr3mPb8Eu5vot9Wh+LrNf8BLYvnjI2y7JslA8W4wPfbn0HUBIYstQZvnxFcxS f8uFwsBBYTkkkUBY83//5h1thLlK+EuqzBJW/8LKaHRwWypeeraY2RBCFqF89Rtb87h5 6S29wTcPUd/S0bpmzEa+yU35guzpdxVnRsIFc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=ZYYxKaZoCEaXlMspMUWfYTXdnXfIWpI8mwYTO6ahKWyexrCNikzeWipSJm4UFEH31q 83Ne3/923+fTZXI+8Ef9hygfMIOPNhQVd/tkFrzXjyZZRp/IZfrF5/2iWwyicuS4Ta+h S0Vr4B8NUUkWcGgWjaax/4297nz8gP+sd/C0Q= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id x11mr3204400wee.16.1255602771615; Thu, 15 Oct 2009 03:32:51 -0700 (PDT) In-Reply-To: <1255553347.15577.13.camel@localhost> References: <[email protected]> <1255181921.31151.3.camel@localhost> <[email protected]> <1255553347.15577.13.camel@localhost> Date: Thu, 15 Oct 2009 12:32:51 +0200 Message-ID: <[email protected]> Subject: Re: Where do I find the old JavaSpaces example apps? From: Patrick Wright <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Not to cause trouble, but the copies of the starter-kit examples that I've found are under the Sun Community Source License. I haven't found any which are ASL. This is too bad, as they are fairly straightforward and it would be good to have example code shipped with River. Was this code ever licensed under the ASL? If not, can we get someone at Sun to look into this? Or is it not an issue? Patrick From [email protected] Thu Oct 15 10:48:46 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65461 invoked from network); 15 Oct 2009 10:48:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Oct 2009 10:48:45 -0000 Received: (qmail 68329 invoked by uid 500); 15 Oct 2009 10:48:45 -0000 Delivered-To: [email protected] Received: (qmail 68264 invoked by uid 500); 15 Oct 2009 10:48:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 68254 invoked by uid 99); 15 Oct 2009 10:48:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 10:48:45 +0000 X-ASF-Spam-Status: No, hits=-6.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO sca-es-mail-1.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 10:48:43 +0000 Received: from fe-sfbay-10.sun.com ([161.129.204.104]) by sca-es-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n9FAmMwp005994 for <[email protected]>; Thu, 15 Oct 2009 03:48:22 -0700 (PDT) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; delsp=yes; format=flowed Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) id <[email protected]> for [email protected]; Thu, 15 Oct 2009 03:48:22 -0700 (PDT) Received: from [161.129.204.104] ([unknown] [161.129.204.104]) by fe-sfbay-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) with ESMTPSA id <[email protected]> for [email protected]; Thu, 15 Oct 2009 03:48:22 -0700 (PDT) Date: Thu, 15 Oct 2009 06:48:21 -0400 From: Jim Waldo <[email protected]> Subject: Re: Where do I find the old JavaSpaces example apps? In-reply-to: <[email protected]> Sender: [email protected] To: [email protected] Message-id: <[email protected]> X-Mailer: Apple Mail (2.1076) References: <[email protected]> <1255181921.31151.3.camel@localhost> <[email protected]> <1255553347.15577.13.camel@localhost> <[email protected]> Uh, crap.... I'll see if I can find anyone who can make a decision about this. It will probably take a couple of days (at least), given that most of Sun is worried about other things at this time. I'm pretty sure that this won't be a problem, so I would suggest proceeding on that assumption and I'll get back to the list as soon as I can find something out... Jim Waldo On Oct 15, 2009, at 6:32 AM, Patrick Wright wrote: > Not to cause trouble, but the copies of the starter-kit examples that > I've found are under the Sun Community Source License. I haven't found > any which are ASL. This is too bad, as they are fairly straightforward > and it would be good to have example code shipped with River. Was this > code ever licensed under the ASL? If not, can we get someone at Sun to > look into this? > > Or is it not an issue? > > Patrick From [email protected] Thu Oct 15 11:32:05 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73198 invoked from network); 15 Oct 2009 11:32:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Oct 2009 11:32:05 -0000 Received: (qmail 4736 invoked by uid 500); 15 Oct 2009 11:32:05 -0000 Delivered-To: [email protected] Received: (qmail 4653 invoked by uid 500); 15 Oct 2009 11:32:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 4643 invoked by uid 99); 15 Oct 2009 11:32:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 11:32:04 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-fx0-f209.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 11:32:00 +0000 Received: by fxm5 with SMTP id 5so937731fxm.27 for <[email protected]>; Thu, 15 Oct 2009 04:31:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=YuG25JpCryILGER80jdNGgvvW13x2VBvkjBCxsAFCT0=; b=iW1fPKlx/4O84iajpytEtnDXVhVwRr5WDxjNJLhOMAaeE54qHQxSEJ0mOGf5O717p8 JHzv5wy3GF76Ms/ZVVLx0OsfSorWEF9+y0DtIAVKrxDByojiaN4HmWQRV97gl/bZBa9e fG4rJtvtWEUdDnDOwlNGfxt2o93eVO93+Q8Pg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=kUL1zFRckHGJIwTvC7CZaQ8oJJDVGtqLTxqcn/hfDL8O0IZxOILzoNK5am5IxyFVN2 RIiljcos+bHOW4hJSQXp3HuKQGTsOFgjEJcAzSSq4aYR2yo9IndJE/W8eeDzm5kcrDVr 0KciZ1lXVGIz8RJ5AB8NA5VwdLYvUGFL+Py54= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id r6mr8090508bkr.29.1255606298621; Thu, 15 Oct 2009 04:31:38 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <1255181921.31151.3.camel@localhost> <[email protected]> <1255553347.15577.13.camel@localhost> <[email protected]> <[email protected]> Date: Thu, 15 Oct 2009 13:31:38 +0200 Message-ID: <[email protected]> Subject: Re: Where do I find the old JavaSpaces example apps? From: Jonathan Costers <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=00032555929a68382b0475f79f81 --00032555929a68382b0475f79f81 Content-Type: text/plain; charset=UTF-8 OK, I'll create a patch over the weekend. Thanks Jonathan 2009/10/15 Jim Waldo <[email protected]> > Uh, crap.... > > I'll see if I can find anyone who can make a decision about this. It will > probably take a couple of days (at least), given that most of Sun is worried > about other things at this time. I'm pretty sure that this won't be a > problem, so I would suggest proceeding on that assumption and I'll get back > to the list as soon as I can find something out... > > Jim Waldo > > > On Oct 15, 2009, at 6:32 AM, Patrick Wright wrote: > > Not to cause trouble, but the copies of the starter-kit examples that >> I've found are under the Sun Community Source License. I haven't found >> any which are ASL. This is too bad, as they are fairly straightforward >> and it would be good to have example code shipped with River. Was this >> code ever licensed under the ASL? If not, can we get someone at Sun to >> look into this? >> >> Or is it not an issue? >> >> Patrick >> > > --00032555929a68382b0475f79f81-- From [email protected] Thu Oct 15 14:30:40 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26302 invoked from network); 15 Oct 2009 14:30:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Oct 2009 14:30:40 -0000 Received: (qmail 17385 invoked by uid 500); 15 Oct 2009 14:30:40 -0000 Delivered-To: [email protected] Received: (qmail 17347 invoked by uid 500); 15 Oct 2009 14:30:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 17337 invoked by uid 99); 15 Oct 2009 14:30:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 14:30:40 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-fx0-f209.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 14:30:36 +0000 Received: by fxm5 with SMTP id 5so1143900fxm.27 for <[email protected]>; Thu, 15 Oct 2009 07:30:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=BxXrPAI8z+Zypdze0BbInwPZstYHcTgq03wj2ArAjJk=; b=jvxpXUykCs6sqEVl4FVbKCOrpudcC4Emqny6F8uq1rYnfMvkMvYG5aDwaxQrdvrvaT IrozPlhAiIdyiZxHZ0uo0zgfggwmDw18AqCaRZVBgbzlWVC1mmCUhruk/8kFzU+uX7de YeOYfL3f3vUXeB81QYcOO9LyeHSu4xqnyRlKQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=GEPqzeeL0vb4InTht6Ifnf7JADl6Hp+3x/OgR8LnxL/UPuDZ7PWnGyRHBdxXxbY8Gl g5+MT24grTHtTEbGvCx+6lxq1C+Xunhd1LqbU2gniP98X65laWRZT7IWdAs69mgssfgd 98gXbuE6GOBVodvl3P89xViPs4ZWNuFjSvAPM= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id m2mr99936bkd.53.1255617013746; Thu, 15 Oct 2009 07:30:13 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <1255181921.31151.3.camel@localhost> <[email protected]> <1255553347.15577.13.camel@localhost> <[email protected]> <[email protected]> <[email protected]> Date: Thu, 15 Oct 2009 16:30:13 +0200 Message-ID: <[email protected]> Subject: Re: Where do I find the old JavaSpaces example apps? From: Jonathan Costers <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=00032555ae561420290475fa1edf --00032555ae561420290475fa1edf Content-Type: text/plain; charset=UTF-8 BTW - there is more than just the Ray Trace example (although that one is really interesting). For instance, there is a "classdepandjar" Ant task in the starterkit examples ZIP I downloaded. It was developed a long time ago. I'm very interested in that to include and use it in the River build. There was also something called BuildTool which I remember was a very useful tool back in the days .. Can't find any reference to that anymore tho. Not sure whether it would still be relevant ... I believe all these things used to be hosted on the jini.org projects area, so I assume all of it would have been released under the SCSL too? What about the things published on java.net? - Jonathan 2009/10/15 Jonathan Costers <[email protected]> > OK, I'll create a patch over the weekend. > Thanks > Jonathan > > 2009/10/15 Jim Waldo <[email protected]> > > Uh, crap.... >> >> I'll see if I can find anyone who can make a decision about this. It will >> probably take a couple of days (at least), given that most of Sun is worried >> about other things at this time. I'm pretty sure that this won't be a >> problem, so I would suggest proceeding on that assumption and I'll get back >> to the list as soon as I can find something out... >> >> Jim Waldo >> >> >> On Oct 15, 2009, at 6:32 AM, Patrick Wright wrote: >> >> Not to cause trouble, but the copies of the starter-kit examples that >>> I've found are under the Sun Community Source License. I haven't found >>> any which are ASL. This is too bad, as they are fairly straightforward >>> and it would be good to have example code shipped with River. Was this >>> code ever licensed under the ASL? If not, can we get someone at Sun to >>> look into this? >>> >>> Or is it not an issue? >>> >>> Patrick >>> >> >> > --00032555ae561420290475fa1edf-- From [email protected] Thu Oct 15 14:44:09 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29704 invoked from network); 15 Oct 2009 14:44:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Oct 2009 14:44:08 -0000 Received: (qmail 48601 invoked by uid 500); 15 Oct 2009 14:44:08 -0000 Delivered-To: [email protected] Received: (qmail 48563 invoked by uid 500); 15 Oct 2009 14:44:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 48553 invoked by uid 99); 15 Oct 2009 14:44:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 14:44:08 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ew0-f209.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 14:43:58 +0000 Received: by ewy5 with SMTP id 5so547726ewy.12 for <[email protected]>; Thu, 15 Oct 2009 07:43:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=rJqFwnnrGV56Y6ptluoFgqsSDjpYBhTSs0bsazkP+fM=; b=tMQEQhwK0pVvpLLl10SEN/E0E8RdS+CulEe4ApfKJEcmSziPxawWeC5P1geDeecVrC 5FEpT+tB6jX71AMUO1UjPsW2Igy/vye4nTty8dXZX4ENckxNK4v/zH0817qD5q+kt9qL m+jNR92btewuz18FYX8EwUYhlny/bRGjQnXlY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=ID+EnX6nFA6rWjotvDNtAf18ujdnP441q3O8c/zWFLKX+blahn8XJEBUgv8d8X71E5 6pQ1Q8gPSlsgY5DDBMeuB4vaVIHD1gniNEaR+wG+UkWfVmhhIZ+Ds3U8baq7jLQvujC4 uYcKU/vnRlCA0THI2ik5xD1sWQlkuowhk4Hoc= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id y47mr36554wee.202.1255617818157; Thu, 15 Oct 2009 07:43:38 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <1255181921.31151.3.camel@localhost> <[email protected]> <1255553347.15577.13.camel@localhost> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Thu, 15 Oct 2009 16:43:38 +0200 Message-ID: <[email protected]> Subject: Re: Where do I find the old JavaSpaces example apps? From: Patrick Wright <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org > For instance, there is a "classdepandjar" Ant task in the starterkit > examples ZIP I downloaded. It was developed a long time ago. > I'm very interested in that to include and use it in the River build. Wasn't that tool discussed on the River mailing list some months ago? > I believe all these things used to be hosted on the jini.org projects area, > so I assume all of it would have been released under the SCSL too? What > about the things published on java.net? I believe on java.net a project must always declare what license they publish under. AFAIK, the bulk of the Jini projects were ASL, but not all. Should be on the project home page in each case. From [email protected] Thu Oct 15 15:12:09 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 35928 invoked from network); 15 Oct 2009 15:12:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Oct 2009 15:12:09 -0000 Received: (qmail 78801 invoked by uid 500); 15 Oct 2009 15:12:09 -0000 Delivered-To: [email protected] Received: (qmail 78740 invoked by uid 500); 15 Oct 2009 15:12:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 78729 invoked by uid 99); 15 Oct 2009 15:12:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 15:12:09 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO sca-es-mail-2.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 15:11:59 +0000 Received: from fe-sfbay-10.sun.com ([161.129.204.104]) by sca-es-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n9FFBb2n021454 for <[email protected]>; Thu, 15 Oct 2009 08:11:37 -0700 (PDT) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; delsp=yes; format=flowed Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) id <[email protected]> for [email protected]; Thu, 15 Oct 2009 08:11:37 -0700 (PDT) Received: from [161.129.204.104] ([unknown] [161.129.204.104]) by fe-sfbay-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) with ESMTPSA id <[email protected]> for [email protected]; Thu, 15 Oct 2009 08:11:37 -0700 (PDT) Date: Thu, 15 Oct 2009 11:11:36 -0400 From: Jim Waldo <[email protected]> Subject: Re: Where do I find the old JavaSpaces example apps? In-reply-to: <[email protected]> Sender: [email protected] To: [email protected] Message-id: <[email protected]> X-Mailer: Apple Mail (2.1076) References: <[email protected]> <1255181921.31151.3.camel@localhost> <[email protected]> <1255553347.15577.13.camel@localhost> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Ok, I think I know how to proceed... I'd like to request that people send me a list of all the things they can find that didn't get put into the Rive codebase but should-- examples, utilities, and the like. If you can send the code, that would be very helpful. If not, I'll try to track it down. I'll then put it through the Sun Open Source process. Given the circumstances (it will all be addenda to code that has gone through the process before) it won't take long-- probably only a couple of days. However, I'd like to get this started in the next week or so, to insure that it doesn't get caught in any transition black hole... Jim Waldo On Oct 15, 2009, at 6:32 AM, Patrick Wright wrote: > Not to cause trouble, but the copies of the starter-kit examples that > I've found are under the Sun Community Source License. I haven't found > any which are ASL. This is too bad, as they are fairly straightforward > and it would be good to have example code shipped with River. Was this > code ever licensed under the ASL? If not, can we get someone at Sun to > look into this? > > Or is it not an issue? > > Patrick From [email protected] Thu Oct 15 15:13:27 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36457 invoked from network); 15 Oct 2009 15:13:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Oct 2009 15:13:27 -0000 Received: (qmail 79880 invoked by uid 500); 15 Oct 2009 15:13:27 -0000 Delivered-To: [email protected] Received: (qmail 79832 invoked by uid 500); 15 Oct 2009 15:13:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 79818 invoked by uid 99); 15 Oct 2009 15:13:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 15:13:27 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-pw0-f41.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 15:13:24 +0000 Received: by pwj1 with SMTP id 1so165282pwj.20 for <[email protected]>; Thu, 15 Oct 2009 08:13:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=7YhIo+gPEXxOkeNDtEYYigpuCXqVGXyTB1NXJq2deXs=; b=Ij9nPR6v50ORgBeVJyXLyVFZ34ofN1XCQqd+NSw99sq7bC9NSV3rhOq2/u81avW7rp SutD3idSvT75R+blJD/MFG6VR03TxdlUEJbd84uuWcyQK/XSigm62SdgxSjQToFTp6WD CZZjihC7QcR1e/6z8945GeAR9m/kdeO0YOIbM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=DQUqfociRigWruEg0bL2jiRxyxyoTbSddsAcbZgWjh57Mid2lDKeNQTJOnk3ufzBHx cHt42g1439Ux4084adn5ut+Zf84+7Oyb1IsafuK+U3/c1lmhlDBzAaXkXBns6OkKTXt6 o4egQr7d9bHAWxi2YEV7Vh/Zn3CDqyp8VPuuc= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id k11mr8103rvf.105.1255619583518; Thu, 15 Oct 2009 08:13:03 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <1255181921.31151.3.camel@localhost> <[email protected]> <1255553347.15577.13.camel@localhost> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Thu, 15 Oct 2009 08:13:03 -0700 Message-ID: <[email protected]> Subject: Re: Where do I find the old JavaSpaces example apps? From: Jeff Ramsdale <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 classdepandjar is still useful and is used by Rio. It's also Apache 2.0 Licensed: https://classdepandjar.dev.java.net/ It'd be nice, though, if it used the new Classdep without the dependency on the Sun JDK tools.jar. But needs a River release for that. :-) -jeff On Thu, Oct 15, 2009 at 7:43 AM, Patrick Wright <[email protected]> wrote: >> For instance, there is a "classdepandjar" Ant task in the starterkit >> examples ZIP I downloaded. It was developed a long time ago. >> I'm very interested in that to include and use it in the River build. > > Wasn't that tool discussed on the River mailing list some months ago? > >> I believe all these things used to be hosted on the jini.org projects area, >> so I assume all of it would have been released under the SCSL too? What >> about the things published on java.net? > > I believe on java.net a project must always declare what license they > publish under. AFAIK, the bulk of the Jini projects were ASL, but not > all. Should be on the project home page in each case. > From [email protected] Thu Oct 15 15:35:25 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 43244 invoked from network); 15 Oct 2009 15:35:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Oct 2009 15:35:24 -0000 Received: (qmail 14955 invoked by uid 500); 15 Oct 2009 15:35:24 -0000 Delivered-To: [email protected] Received: (qmail 14901 invoked by uid 500); 15 Oct 2009 15:35:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 14891 invoked by uid 99); 15 Oct 2009 15:35:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 15:35:24 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO gv-out-0910.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 15:35:15 +0000 Received: by gv-out-0910.google.com with SMTP id c6so137099gvd.17 for <[email protected]>; Thu, 15 Oct 2009 08:34:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=ALbpoO2xl3JqZItFTfDJdZlKKSuAyY5m37/hpNZ8xBI=; b=ceTw8RK6safgGKzVS7ay1o+RktAvE8QeFjxLUEzKhcM0UMJTViHyMrdRS8oRlLugus P4Dj6rk/1qxE+sp1qnArBqQlduy3OHMj4Fb7bWNaDynHuPBXyQ5ndKroqIo97Zi7Fsns qfgaN5DYySIz51E+15fia5wQe6v2urTECWPhw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=bhqsRLPNcDuDZwkEkt6rL0pHHwNT7HppWXDDD2ZTryQ9JVM3UM7ENEbgPHn4/0PPhh mXHXb/ay2e5jbCFnOEZ+REpONf57mTHVklPe/N3xy9Unqae9fMVe+H48UUu4P8p687Cw MeX0YX07ioL6G88FjXbwG/AEyeU0Ngl79jsvY= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id w3mr55983wee.156.1255620894460; Thu, 15 Oct 2009 08:34:54 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <1255181921.31151.3.camel@localhost> <[email protected]> <1255553347.15577.13.camel@localhost> <[email protected]> <[email protected]> Date: Thu, 15 Oct 2009 17:34:54 +0200 Message-ID: <[email protected]> Subject: Re: Where do I find the old JavaSpaces example apps? From: Patrick Wright <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi Jim Thanks for taking the trouble to work through this. One easy starting point: The Bodega project on Java.net (https://bodega.dev.java.net/) includes the starter-kit examples in the download and source control. It's not clear from the start page who the project owner is/was, though BT (Brian?) Murphy's configuration samples are explicitly called out and included. It would be nice I think to have at least the Starter Kit in River, if not Brian's configuration samples as well. If someone knows who the owner of the Bodega project is/was, and what the origins of the bits in the project were, that would be helpful. Patrick From [email protected] Thu Oct 15 16:00:58 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51054 invoked from network); 15 Oct 2009 16:00:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Oct 2009 16:00:58 -0000 Received: (qmail 73800 invoked by uid 500); 15 Oct 2009 16:00:58 -0000 Delivered-To: [email protected] Received: (qmail 73746 invoked by uid 500); 15 Oct 2009 16:00:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 73736 invoked by uid 99); 15 Oct 2009 16:00:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 16:00:57 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ey-out-1920.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2009 16:00:46 +0000 Received: by ey-out-1920.google.com with SMTP id 5so233817eyb.8 for <[email protected]>; Thu, 15 Oct 2009 09:00:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=OU+jdOgcgWai4Ur/UVnULveHBwcJYKVpaVE/azYM20c=; b=qBjpbm1lUDusp2ojOPXYVOq1Kz9g4gNS6d1Qk7p2XL/IFZnHIMFf70PppkbSSnpLmi 40q/6Rc8sGkul2rSvov58PmU6/VkeLctgNjj/zJmSuZIignT5CvPEcYpVVTIgzTYhlYT DARA7q3H2y7F6W9HTN6GEiSYtYY6HzkbDzAuA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; b=i9oyvYqVBe519OLN+1qt1bMO1e5u5rJllb0rdPOMVWIyR9vVrXnU4yJvXok1Rqjcrc Z6fn9Ei2zfKu9Vf+eOhwaPeHK+7piI/mgh2D3o1G1EpbTZC973rEOa1zA9BdstTIG4u/ wD9/4Gl7zeZIO5nqX1NMiLbd+MbAYr0+XxL1I= Received: by 161.129.204.104 with SMTP id i8mr273034ebn.68.1255622426455; Thu, 15 Oct 2009 09:00:26 -0700 (PDT) Received: from ?161.129.204.104? (78-21-34-69.access.telenet.be [161.129.204.104]) by mx.google.com with ESMTPS id 7sm2731527eyb.0.2161.129.204.104.00.25 (version=SSLv3 cipher=RC4-MD5); Thu, 15 Oct 2009 09:00:26 -0700 (PDT) Subject: Re: Where do I find the old JavaSpaces example apps? From: Jonathan Costers <[email protected]> To: [email protected] In-Reply-To: <[email protected]> References: <[email protected]> <1255181921.31151.3.camel@localhost> <[email protected]> <1255553347.15577.13.camel@localhost> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Content-Type: text/plain Date: Thu, 15 Oct 2009 18:00:25 +0200 Message-Id: <1255622425.15577.17.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Op donderdag 15-10-2009 om 16:43 uur [tijdzone +0200], schreef Patrick Wright: > > For instance, there is a "classdepandjar" Ant task in the starterkit > > examples ZIP I downloaded. It was developed a long time ago. > > I'm very interested in that to include and use it in the River build. > > Wasn't that tool discussed on the River mailing list some months Could be indeed .. I have not been following every message posted. Thanks for pointing that out ... > > > I believe all these things used to be hosted on the jini.org projects area, > > so I assume all of it would have been released under the SCSL too? What > > about the things published on java.net? > > I believe on java.net a project must always declare what license they > publish under. AFAIK, the bulk of the Jini projects were ASL, but not > all. Should be on the project home page in each case. OK, thank you. From [email protected] Fri Oct 16 04:18:58 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65154 invoked from network); 16 Oct 2009 04:18:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Oct 2009 04:18:58 -0000 Received: (qmail 16003 invoked by uid 500); 16 Oct 2009 04:18:58 -0000 Delivered-To: [email protected] Received: (qmail 15866 invoked by uid 500); 16 Oct 2009 04:18:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 15856 invoked by uid 99); 16 Oct 2009 04:18:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 04:18:57 +0000 X-ASF-Spam-Status: No, hits=3.1 required=10.0 tests=HTML_MESSAGE,MIME_HEADER_CTYPE_ONLY,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO col0-omc3-s15.col0.hotmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 04:18:46 +0000 Received: from COL108-W30 ([161.129.204.104]) by col0-omc3-s15.col0.hotmail.com with Microsoft SMTPSVC(865)775-7517); Thu, 15 Oct 2009 21:18:24 -0700 Message-ID: <[email protected]> Content-Type: multipart/alternative; boundary="_3bfff31f-7b13-4049-bdec-92b09f6c07aa_" X-Originating-IP: [161.129.204.104] From: Andrew Meng <[email protected]> To: <[email protected]> Subject: RE: Multicase problem. Date: Fri, 16 Oct 2009 04:18:25 +0000 Importance: Normal In-Reply-To: <[email protected]> References: <[email protected]> <1255541497.15577.10.camel@localhost> X-OriginalArrivalTime: 16 Oct 2009 04:18:24.0577 (UTC) FILETIME=[B411F310:01CA4E17] X-Virus-Checked: Checked by ClamAV on apache.org --_3bfff31f-7b13-4049-bdec-92b09f6c07aa_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello=2C Can any Jini developer who monitors this queue helps me out? My code(attached below) is very simple=2C why does it try to lookup Javaspa= ce service at local host? If there is indeed some network misconfiguration= =2C can any one give me any advice about how to troubleshoot it? connection refused or timed out to BasicObjectEndpoint[bfad5326-91ff-4cde-b= c78-d03238dfdfbe=2CTcpEndpoint[161.129.204.104:38220]]=3B nested exception is:=20 java.net.ConnectException: Connection refused public class SpaceAccessor { public static JavaSpace getSpace(String name) { try { if (System.getSecurityManager() =3D=3D null) { System.setSecurityManager(new RMISecurityManager())=3B } =20 if (System.getProperty("com.sun.jini.use.registry")=20 =3D=3D null)=20 { //Create a template to lookup the JavaSpaces service. Class [] types =3D new Class[]{JavaSpace.class}=3B ServiceTemplate tmpl =3D new ServiceTemplate(null=2Ctypes= =2Cnull )=3B // Locate the JavaSpaces service and create a JavaSpace pro= xy attached to it. LookupLocator locator =3D new LookupLocator("jini://s04")= =3B ServiceRegistrar sr =3D locator.getRegistrar()=3B JavaSpace space =3D (JavaSpace)sr.lookup(tmpl)=3B //got e= xception here. return space=3B } } catch (Exception e) { System.err.println(e.getMessage())=3B } return null=3B } =20 Thanks a lot in advance! Andrew From: [email protected] To: [email protected] Subject: RE: Multicase problem. Date: Wed=2C 14 Oct 2009 20:06:31 +0000 Greg=2C Here is what I got on server(s04) where LUS is running: [root@s04 ~]# netstat -an | grep LISTEN tcp 0 0 161.129.204.104:3306 161.129.204.104:* = LISTEN =20 tcp 0 0 161.129.204.104:47754 161.129.204.104:* = LISTEN =20 tcp 0 0 161.129.204.104:111 161.129.204.104:* = LISTEN =20 tcp 0 0 161.129.204.104:22 161.129.204.104:* = LISTEN =20 tcp 0 0 161.129.204.104:631 161.129.204.104:* = LISTEN =20 tcp 0 0 161.129.204.104:25 161.129.204.104:* = LISTEN =20 tcp 0 0 acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b:4160 acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b:* = LISTEN =20 my /etc/hosts on the worker machine(s03)look like this: 161.129.204.104 s04.meng.com s04 161.129.204.104 localhost.localdomain localhost=20 161.129.204.104 s03 s03 =20 My question is=2C if s03 can successfully get registrar back from s04=2C w= hy does the registrar.lookup() bind to localhost instead of s04?=20 Thanks=2C Andrew > Date: Wed=2C 14 Oct 2009 14:09:22 -0500 > From: [email protected] > To: [email protected] > Subject: Re: Multicase problem. >=20 > This points at a common linux misconfiguration where the /etc/hosts file = ends up=20 > having bad values in it that map the hostname to 161.129.204.104 and vice-versa= . >=20 > The end result is that the LUS binds to localhost instead of the interfac= e=20 > address for a network interface=2C and then tells you this is where it is= bound=2C=20 > which of course you can not connect to. >=20 > If you will do a "netstat -an |grep LISTEN" on the server that the LUS is= =20 > running on=2C you should see that there is no external LISTEN on 4160=2C = only a=20 > localhost binding. >=20 > You are finding the service via multicast=2C but then getting back an add= ress that=20 > you can't connect to it with I am guessing. >=20 > Gregg Wonderly >=20 > Patrick Wright wrote: > > This reminds me of a situation where some of our BasicObjectEndpoints > > were ending up with the loopback address. When a remote server would > > try to contact on that endpoint=2C it of course wouldn't find us. > >=20 > > HTH > > Patrick > >=20 >=20 =20 Click less=2C mail more: Hotmail on the new MSN homepage! =0A= _________________________________________________________________=0A= New! Faster Messenger access on the new MSN homepage=0A= http://go.microsoft.com/?linkid=3D9677406= --_3bfff31f-7b13-4049-bdec-92b09f6c07aa_-- From [email protected] Fri Oct 16 08:54:00 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 29234 invoked from network); 16 Oct 2009 08:53:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Oct 2009 08:53:59 -0000 Received: (qmail 51361 invoked by uid 500); 16 Oct 2009 08:53:59 -0000 Delivered-To: [email protected] Received: (qmail 51310 invoked by uid 500); 16 Oct 2009 08:53:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 51300 invoked by uid 99); 16 Oct 2009 08:53:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 08:53:59 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ey-out-1920.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 08:53:51 +0000 Received: by ey-out-1920.google.com with SMTP id 13so127698eye.8 for <[email protected]>; Fri, 16 Oct 2009 01:53:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=ZYzJMftiypjMbAVALjbFGRA3K7YFeRmUQh2GG0+HgmY=; b=s9H23BeYhp+8szkcKZSs+kOSyX9JQxBkrZhMPrxYXq0L/K28ZcQG4LPJqzqR71zTVZ SjvwYrQ9y58YpJtCn3rUi0BwSu4umveXqoCNUfL1/iU+1P7RlHesYXMdIvqtOYSWirxj kED78WaNoQ6qe8dOhTRcQmQP2lldAUAXRldBA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=O+I84TCBOuzpzf/ZHkiDBAZAepGza0rq2egZXnu1uZk1UHWGnSoHJo/yH4lA7utrH8 EB+rbDsXjVm9qiv8RXYvNQj4hjju3s5m4zhg2eGQnMCV0VvXxNuHIOzk1HlPZ1M4Q43b b/jhBNL5r/TBmlIJFJruyuKHRUATzgi4keuYM= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id w11mr491095wee.10.1255683211296; Fri, 16 Oct 2009 01:53:31 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <1255541497.15577.10.camel@localhost> <[email protected]> <[email protected]> Date: Fri, 16 Oct 2009 10:53:31 +0200 Message-ID: <[email protected]> Subject: Re: Multicase problem. From: Patrick Wright <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi Andrew How are you starting your reggie? What's the config? If I understand it correctly, Reggie needs a couple of configuration settings that end up requiring an IP address--serverExporter is one. What I think you want to avoid in your situation, given your hosts configuration, is something like the default serverExporter = new BasicJeriExporter(TcpServerEndpoint.getInstance(0), invocationLayerFactory, false, true); If you use TcpServerEndpoint without a host parameter, it will delegate to InetAddress.getLocalHost(), which you don't want. Basically, the way I read it, you can lookup the registrar because you are doing a unicast lookup--you are specifying the host where the LUS is running. However, the registrar exports an endpoint which is part of what you receive in the call to getRegistrar(). It's how the registrar proxy (on the client side) instance knows how to call home. If it's exported with an endpoint bound to 161.129.204.104, you're stuck. I believe in our case we always specify the host IP parameter for our endpoints explicitly via the two-arg constructor to TcpServerEndpoint--host, port. HTH Patrick From [email protected] Fri Oct 16 11:49:28 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70545 invoked from network); 16 Oct 2009 11:49:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Oct 2009 11:49:28 -0000 Received: (qmail 61500 invoked by uid 500); 16 Oct 2009 11:49:28 -0000 Delivered-To: [email protected] Received: (qmail 61459 invoked by uid 500); 16 Oct 2009 11:49:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 61449 invoked by uid 99); 16 Oct 2009 11:49:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 11:49:28 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO sca-es-mail-1.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 11:49:16 +0000 Received: from fe-sfbay-10.sun.com ([161.129.204.104]) by sca-es-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n9GBmr7W015181 for <[email protected]>; Fri, 16 Oct 2009 04:48:53 -0700 (PDT) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; delsp=yes; format=flowed Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) id <[email protected]> for [email protected]; Fri, 16 Oct 2009 04:48:53 -0700 (PDT) Received: from marvin.east.sun.com ([unknown] [161.129.204.104]) by fe-sfbay-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) with ESMTPSA id <[email protected]> for [email protected]; Fri, 16 Oct 2009 04:48:53 -0700 (PDT) Date: Fri, 16 Oct 2009 07:48:52 -0400 From: Jim Waldo <[email protected]> Subject: Re: Where do I find the old JavaSpaces example apps? In-reply-to: <[email protected]> Sender: [email protected] To: [email protected] Message-id: <[email protected]> X-Mailer: Apple Mail (2.1076) References: <[email protected]> <1255181921.31151.3.camel@localhost> <[email protected]> <1255553347.15577.13.camel@localhost> <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi Patrick-- I just took a look at these-- and they are all under the Apache license right now (if you look at the bottom of the page, this is explicitly called out). So I don't think that anything needs to be done (other than a copy and a checkin) to include them into River. If you find anything that is under the old license, I'll assemble the code and get it put out under Apache... Jim On Oct 15, 2009, at 11:34 AM, Patrick Wright wrote: > Hi Jim > > Thanks for taking the trouble to work through this. > > One easy starting point: The Bodega project on Java.net > (https://bodega.dev.java.net/) includes the starter-kit examples in > the download and source control. It's not clear from the start page > who the project owner is/was, though BT (Brian?) Murphy's > configuration samples are explicitly called out and included. It would > be nice I think to have at least the Starter Kit in River, if not > Brian's configuration samples as well. > > If someone knows who the owner of the Bodega project is/was, and what > the origins of the bits in the project were, that would be helpful. > > > Patrick From [email protected] Fri Oct 16 12:06:39 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73208 invoked from network); 16 Oct 2009 12:06:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Oct 2009 12:06:39 -0000 Received: (qmail 77091 invoked by uid 500); 16 Oct 2009 12:06:37 -0000 Delivered-To: [email protected] Received: (qmail 77043 invoked by uid 500); 16 Oct 2009 12:06:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 76968 invoked by uid 99); 16 Oct 2009 12:06:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 12:06:37 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ey-out-1920.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 12:06:35 +0000 Received: by ey-out-1920.google.com with SMTP id 13so165857eye.8 for <[email protected]>; Fri, 16 Oct 2009 05:06:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=U+vbRmnB7fgPsGyU/tfQSHNPt/iLqJK7MAOQqbOLWr4=; b=SxI1nc4eskWcv4FvbcjmR/A0HhKfqQ8BEo0ysXzMImWxWvKxDKxLQbgkZG3IcFDrQu uy7tGgAo7oPuAFrecZE6m623uEaSS+kDGkZREZZU+mJSjBUB7jUgMV7kRYSFGHzi3KRo pZlEd5BQ0EJzKIvkybXY7yLjIZ+5degbtrzxM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=m+/xLYCasl4N0qpDT1hffLzZV04Hmojwi0I/2Fa5nF50hlG1i1XeMBsK7umh2N7jM7 jJyPR2av4ST41k2e/NdUqOJdsyVTey/ccT3EkTIPfTNbp6wN1GqrFo1jTt8bYSGAlr3/ U0UXqZR0S33mZdRbGLWZJwY/qI0B4a51ikKyE= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id d45mr571171wef.42.1255694773947; Fri, 16 Oct 2009 05:06:13 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <1255181921.31151.3.camel@localhost> <[email protected]> <1255553347.15577.13.camel@localhost> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Fri, 16 Oct 2009 14:06:13 +0200 Message-ID: <[email protected]> Subject: Re: Where do I find the old JavaSpaces example apps? From: Patrick Wright <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Hi Jim What I see, In the Bodega project, the sample projects (e.g. Ray Trace) are in the src/archive tree. All of those files (checked with grep) appear to carry the SCSL. The example _configuration_ files under src/example are under the Apache License. This may have been a mistake of the project owner, not sure...I can't imagine that Sun intended to keep these pretty simple example files under the SCSL when everything else was ASL. Not trying to stir the mixture, just making sure there is an orderly process to avoid problems in the future... Thanks Patrick From [email protected] Fri Oct 16 13:34:59 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2394 invoked from network); 16 Oct 2009 13:34:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Oct 2009 13:34:59 -0000 Received: (qmail 66226 invoked by uid 500); 16 Oct 2009 13:34:59 -0000 Delivered-To: [email protected] Received: (qmail 66170 invoked by uid 500); 16 Oct 2009 13:34:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 66159 invoked by uid 99); 16 Oct 2009 13:34:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 13:34:58 +0000 X-ASF-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE,MIME_HEADER_CTYPE_ONLY X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO col0-omc3-s8.col0.hotmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 13:34:54 +0000 Received: from COL108-W38 ([161.129.204.104]) by col0-omc3-s8.col0.hotmail.com with Microsoft SMTPSVC(865)775-7517); Fri, 16 Oct 2009 06:34:33 -0700 Message-ID: <[email protected]> Content-Type: multipart/alternative; boundary="_9a1e691b-3440-429a-a698-a7afacc99fa7_" X-Originating-IP: [161.129.204.104] From: Andrew Meng <[email protected]> To: <[email protected]> Subject: RE: Multicase problem. Date: Fri, 16 Oct 2009 13:34:33 +0000 Importance: Normal In-Reply-To: <[email protected]> References: <[email protected]> <1255541497.15577.10.camel@localhost> <[email protected]> X-OriginalArrivalTime: 16 Oct 2009 13:34:33.0405 (UTC) FILETIME=[657106D0:01CA4E65] --_9a1e691b-3440-429a-a698-a7afacc99fa7_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Patrick=2C On the server machine=2C I just run LaunchAll in jini/installverify directo= ry after install Jini 2.0. Is that not enough?=20 On the remote worker machine=2C where are the configuration files? Many Jin= i tutorials mention to "get the Brain Murphy's 2.0 configuration". Is that = what I need to put on the worker machine or something else? But I could no= t find it anywhere. Can you please send me a standard config file ? Thanks a lot=2C Andrew > Date: Fri=2C 16 Oct 2009 10:53:31 +0200 > Subject: Re: Multicase problem. > From: [email protected] > To: [email protected] >=20 > Hi Andrew >=20 > How are you starting your reggie? What's the config? >=20 > If I understand it correctly=2C Reggie needs a couple of configuration > settings that end up requiring an IP address--serverExporter is one. > What I think you want to avoid in your situation=2C given your hosts > configuration=2C is something like the default >=20 > serverExporter =3D new BasicJeriExporter(TcpServerEndpoint.getInstanc= e(0)=2C > invocationLayerFactory=2C > false=2C > true)=3B >=20 > If you use TcpServerEndpoint without a host parameter=2C it will > delegate to InetAddress.getLocalHost()=2C which you don't want. > Basically=2C the way I read it=2C you can lookup the registrar because yo= u > are doing a unicast lookup--you are specifying the host where the LUS > is running. However=2C the registrar exports an endpoint which is part > of what you receive in the call to getRegistrar(). It's how the > registrar proxy (on the client side) instance knows how to call home. > If it's exported with an endpoint bound to 161.129.204.104=2C you're stuck. >=20 > I believe in our case we always specify the host IP parameter for our > endpoints explicitly via the two-arg constructor to > TcpServerEndpoint--host=2C port. >=20 > HTH > Patrick =20 _________________________________________________________________ Click less=2C chat more: Messenger on MSN.ca http://go.microsoft.com/?linkid=3D9677404= --_9a1e691b-3440-429a-a698-a7afacc99fa7_-- From [email protected] Fri Oct 16 13:37:14 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2860 invoked from network); 16 Oct 2009 13:37:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Oct 2009 13:37:07 -0000 Received: (qmail 69818 invoked by uid 500); 16 Oct 2009 13:37:07 -0000 Delivered-To: [email protected] Received: (qmail 69773 invoked by uid 500); 16 Oct 2009 13:37:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 69763 invoked by uid 99); 16 Oct 2009 13:37:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 13:37:07 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO sca-es-mail-1.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 13:36:57 +0000 Received: from fe-sfbay-10.sun.com ([161.129.204.104]) by sca-es-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n9GDaZuU019539 for <[email protected]>; Fri, 16 Oct 2009 06:36:35 -0700 (PDT) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; delsp=yes; format=flowed Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) id <[email protected]> for [email protected]; Fri, 16 Oct 2009 06:36:35 -0700 (PDT) Received: from marvin.east.sun.com ([unknown] [161.129.204.104]) by fe-sfbay-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul 2 2009)) with ESMTPSA id <[email protected]> for [email protected]; Fri, 16 Oct 2009 06:36:25 -0700 (PDT) Date: Fri, 16 Oct 2009 09:36:24 -0400 From: Jim Waldo <[email protected]> Subject: Re: Where do I find the old JavaSpaces example apps? In-reply-to: <[email protected]> Sender: [email protected] To: [email protected] Message-id: <[email protected]> X-Mailer: Apple Mail (2.1076) References: <[email protected]> <1255181921.31151.3.camel@localhost> <[email protected]> <1255553347.15577.13.camel@localhost> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org I agree on the need for double/triple checking. I'll get to work on this... Jim On Oct 16, 2009, at 8:06 AM, Patrick Wright wrote: > Hi Jim > > What I see, In the Bodega project, the sample projects (e.g. Ray > Trace) are in the src/archive tree. All of those files (checked with > grep) appear to carry the SCSL. The example _configuration_ files > under src/example are under the Apache License. > > This may have been a mistake of the project owner, not sure...I can't > imagine that Sun intended to keep these pretty simple example files > under the SCSL when everything else was ASL. > > Not trying to stir the mixture, just making sure there is an orderly > process to avoid problems in the future... > > > Thanks > Patrick From [email protected] Fri Oct 16 14:02:34 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 9119 invoked from network); 16 Oct 2009 14:02:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Oct 2009 14:02:34 -0000 Received: (qmail 3235 invoked by uid 500); 16 Oct 2009 14:02:34 -0000 Delivered-To: [email protected] Received: (qmail 3182 invoked by uid 500); 16 Oct 2009 14:02:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 3172 invoked by uid 99); 16 Oct 2009 14:02:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 14:02:33 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-ew0-f209.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 14:02:25 +0000 Received: by ewy5 with SMTP id 5so1508517ewy.12 for <[email protected]>; Fri, 16 Oct 2009 07:02:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=cik7nilTugD9zR/725BcJtsc9kQUIKCVqnmnowGtSs0=; b=NUjM/w73i36uckNDPAiBn7rGbVbu5ftKfA+Oqr6ZpSxU4vFIdS488P1W7s/nNPXDnw kqSunZUp0jid9I00brVM5Xbso3wUwOWkiChNbZtl0gAX8CmtAhMZVy5UnwqbPN5xDYl1 llvD14bxbl9K1dGF4Pw+dbzWG53wXdH1JIo6E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=jtbnMmvR4eCY+bzIXDTAt7wNu3PGCJ7aBfIpoLBonPhlg19CcZDHGiKmb9pa3EZCz7 7gZxrGcyiCn0M4mSgvmaMclmA79DwTyfFBGWCgqTlnortvTc7sKaUQWA//uMmbgPBwIQ 3zOSwTHsFKYZ4QxZaA7BM1ls5CHySrSPhSCcg= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id y47mr616699wee.202.1255701725646; Fri, 16 Oct 2009 07:02:05 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <1255541497.15577.10.camel@localhost> <[email protected]> <[email protected]> <[email protected]> Date: Fri, 16 Oct 2009 16:02:05 +0200 Message-ID: <[email protected]> Subject: Re: Multicase problem. From: Patrick Wright <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi Andrew Here's a stab in the dark. I suspect that the launch-all is using the config file at installverify/support/reggie.config. Back that file up, then edit it and add serverExporter = new BasicJeriExporter(TcpServerEndpoint.getInstance("REGGIE HOST ADDRESS", 0), invocationLayerFactory, false, true); where REGGIE HOST ADDRESS is the IP address of the server where you are running the LUS. Note the 0 parameter means "assign a port randomly". After saving that change, restart your services and see what happens. If you turn logging up (level FINE) for net.jini.jeri you should see something like 157 Oct 16, 2009 3:58:54 PM net.jini.jeri.BasicJeriExporter export 158 FINE: export of com.sun.jini.reggie.TransientRegistrarImpl@398825b3 via BasicJeriExporter[TcpServerEndpoint[0],1a57e3ff-63bc-45d1-b64a-785be02b4596] returns proxy Proxy[ 158 Registrar,BasicInvocationHandler[BasicObjectEndpoint[1a57e3ff-63bc-45d1-b64a-785be02b4596,TcpEndpoint[161.129.204.104:37977]]]] where the TcpEndpoint has the correct server IP. Hope this works :) Patrick From [email protected] Fri Oct 16 15:10:37 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 34308 invoked from network); 16 Oct 2009 15:10:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Oct 2009 15:10:36 -0000 Received: (qmail 94477 invoked by uid 500); 16 Oct 2009 15:10:35 -0000 Delivered-To: [email protected] Received: (qmail 94435 invoked by uid 500); 16 Oct 2009 15:10:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 94340 invoked by uid 99); 16 Oct 2009 15:10:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 15:10:35 +0000 X-ASF-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE,MIME_HEADER_CTYPE_ONLY X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO col0-omc3-s4.col0.hotmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 15:10:32 +0000 Received: from COL108-W6 ([161.129.204.104]) by col0-omc3-s4.col0.hotmail.com with Microsoft SMTPSVC(865)775-7517); Fri, 16 Oct 2009 08:10:12 -0700 Message-ID: <[email protected]> Content-Type: multipart/alternative; boundary="_9e8bee6d-6d73-4277-84c0-8ca89d740531_" X-Originating-IP: [161.129.204.104] From: Andrew Meng <[email protected]> To: <[email protected]> Subject: RE: Multicase problem. Date: Fri, 16 Oct 2009 15:10:12 +0000 Importance: Normal In-Reply-To: <[email protected]> References: <[email protected]> <1255541497.15577.10.camel@localhost> <[email protected]> X-OriginalArrivalTime: 16 Oct 2009 15:10:12.0055 (UTC) FILETIME=[C1F18670:01CA4E72] --_9e8bee6d-6d73-4277-84c0-8ca89d740531_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Patrick=2C With your great help=2C I finally figure it out that it has bad entry in /e= tc/hosts files on the server. It was like "161.129.204.104 localhost s04" and i= t is working now after remove "s04" from the end. Thanks a lot! Andrew > Date: Fri=2C 16 Oct 2009 16:02:05 +0200 > Subject: Re: Multicase problem. > From: [email protected]=20 > To: [email protected] >=20 > Hi Andrew >=20 > Here's a stab in the dark. I suspect that the launch-all is using the > config file at installverify/support/reggie.config. >=20 > Back that file up=2C then edit it and add > serverExporter =3D new > BasicJeriExporter(TcpServerEndpoint.getInstance("REGGIE HOST ADDRESS"=2C > 0)=2C > invocationLayerFactory=2C > false=2C > true)=3B >=20 > where REGGIE HOST ADDRESS is the IP address of the server where you > are running the LUS. Note the 0 parameter means "assign a port > randomly". >=20 > After saving that change=2C restart your services and see what happens. > If you turn logging up (level FINE) for net.jini.jeri you should see > something like > 157 Oct 16=2C 2009 3:58:54 PM net.jini.jeri.BasicJeriExporter export > 158 FINE: export of > com.sun.jini.reggie.TransientRegistrarImpl@398825b3 via > BasicJeriExporter[TcpServerEndpoint[0]=2C1a57e3ff-63bc-45d1-b64a-785be02b= 4596] > returns proxy Proxy[ 158 > Registrar=2CBasicInvocationHandler[BasicObjectEndpoint[1a57e3ff-63bc-45d1= -b64a-785be02b4596=2CTcpEndpoint[161.129.204.104:37977]]]] >=20 > where the TcpEndpoint has the correct server IP. >=20 > Hope this works :) > Patrick =20 _________________________________________________________________ New! Get to Messenger faster: Sign-in here now! http://go.microsoft.com/?linkid=3D9677407= --_9e8bee6d-6d73-4277-84c0-8ca89d740531_-- From [email protected] Fri Oct 16 15:16:47 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38810 invoked from network); 16 Oct 2009 15:16:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Oct 2009 15:16:46 -0000 Received: (qmail 11017 invoked by uid 500); 16 Oct 2009 15:16:46 -0000 Delivered-To: [email protected] Received: (qmail 10998 invoked by uid 500); 16 Oct 2009 15:16:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 10988 invoked by uid 99); 16 Oct 2009 15:16:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 15:16:46 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ey-out-1920.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 15:16:38 +0000 Received: by ey-out-1920.google.com with SMTP id 13so210432eye.8 for <[email protected]>; Fri, 16 Oct 2009 08:16:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=hGLa8NXapc61+LHDe9L5SzTQyNDQPx9qBhZNTfppc78=; b=XEFmjh++hh+NQ6+nC3+a+js557rq7/wWoFkC+AKyD92C4TFaP1qDDLjsT4UuI03ClD TDmLR1clrVvyJB698iXt88nsm7hKWB2HLCjGZ88kh1wSHEJDozFydKPnOHt2dy+MYrAi WQ/tH8B0lsxrfxKk6Cf0HJThxHCkgVTGpqmTk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=gDTT7I/yPRthlPPj8SQAMpgjUzzjI838omri6y5FqOc4o91pm/ns/0Hebuk0wSdd8F ukgQSfVfiSE9Yt7BqGDKygTxitSkGsoCP44kCV3jSPms/KDAEFLMU7+Qx29y1ymJx0A5 fhxpGjvyhfvGlZoBwiuzphXpo2kIYH8nl2pcw= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id e10mr621424wef.150.1255706178314; Fri, 16 Oct 2009 08:16:18 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <1255541497.15577.10.camel@localhost> <[email protected]> <[email protected]> <[email protected]> Date: Fri, 16 Oct 2009 17:16:18 +0200 Message-ID: <[email protected]> Subject: Re: Multicase problem. From: Patrick Wright <[email protected]> To: [email protected] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi Andrew Yeah, that's usually the cause. We've found that it's safer to explicitly provide the IP address for each endpoint that will be sent across the wire and not worry about the hosts file. That's esp. true in the case of development, as developers may do funny things with their hosts file, and on some production boxes that no one wants to "fix" for fear of breakage. Glad to heard you worked it out. Patrick On Fri, Oct 16, 2009 at 5:10 PM, Andrew Meng <[email protected]> wrote: > > Patrick, > > With your great help, I finally figure it out that it has bad entry in /e= tc/hosts files =A0on the server. It was like "161.129.204.104 =A0localhost s04" a= nd it is working now after remove "s04" from the end. > > Thanks a lot! > Andrew > >> Date: Fri, 16 Oct 2009 16:02:05 +0200 >> Subject: Re: Multicase problem. >> From: [email protected] >> To: [email protected] >> >> Hi Andrew >> >> Here's a stab in the dark. I suspect that the launch-all is using the >> config file at installverify/support/reggie.config. >> >> Back that file up, then edit it and add >> =A0 =A0serverExporter =3D new >> BasicJeriExporter(TcpServerEndpoint.getInstance("REGGIE HOST ADDRESS", >> 0), >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0invocationLayerFactory, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0false, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0true); >> >> where REGGIE HOST ADDRESS is the IP address of the server where you >> are running the LUS. Note the 0 parameter means "assign a port >> randomly". >> >> After saving that change, restart your services and see what happens. >> If you turn logging up (level FINE) for net.jini.jeri you should see >> something like >> =A0 =A0 157 Oct 16, 2009 3:58:54 PM net.jini.jeri.BasicJeriExporter expo= rt >> =A0 =A0 158 FINE: export of >> com.sun.jini.reggie.TransientRegistrarImpl@398825b3 via >> BasicJeriExporter[TcpServerEndpoint[0],1a57e3ff-63bc-45d1-b64a-785be02b4= 596] >> returns proxy Proxy[ =A0 =A0158 >> Registrar,BasicInvocationHandler[BasicObjectEndpoint[1a57e3ff-63bc-45d1-= b64a-785be02b4596,TcpEndpoint[161.129.204.104:37977]]]] >> >> where the TcpEndpoint has the correct server IP. >> >> Hope this works :) >> Patrick > > _________________________________________________________________ > New! Get to Messenger faster: Sign-in here now! > http://go.microsoft.com/?linkid=3D9677407 From [email protected] Mon Oct 19 21:38:36 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64039 invoked from network); 19 Oct 2009 21:38:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Oct 2009 21:38:36 -0000 Received: (qmail 37609 invoked by uid 500); 19 Oct 2009 21:38:36 -0000 Delivered-To: [email protected] Received: (qmail 37569 invoked by uid 500); 19 Oct 2009 21:38:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 37559 invoked by uid 99); 19 Oct 2009 21:38:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Oct 2009 21:38:36 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO eastrmmtao101.cox.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Oct 2009 21:38:24 +0000 Received: from eastrmimpo03.cox.net ([161.129.204.104]) by eastrmmtao101.cox.net (InterMail vM.161.129.204.104 201-2244-105-20090324) with ESMTP id <[email protected]> for <[email protected]>; Mon, 19 Oct 2009 17:38:04 -0400 Received: from [161.129.204.104] ([161.129.204.104]) by eastrmimpo03.cox.net with bizsmtp id ule21c00T3mk5mm02le34Y; Mon, 19 Oct 2009 17:38:03 -0400 X-VR-Score: -140.00 X-Authority-Analysis: v=1.0 c=1 a=COfzQ7OkAAAA:8 a=69EAbJreAAAA:8 a=mV9VRH-2AAAA:8 a=9g7JWEjxAAAA:8 a=kviXuzpPAAAA:8 a=yMhMjlubAAAA:8 a=wQxO9ajenp5oW45Rss8A:9 a=Z1w7qXwTnBIPNBdvQqAA:7 a=WmAzmOpQoZH0ODitklXus7iaF54A:4 a=EfJqPEOeqlMA:10 a=4vB-4DCPJfMA:10 a=KNkfoCaU-hqxrVAm:21 a=Q0ZesiNGTYn6qMU_:21 X-CM-Score: 0.00 Message-ID: <[email protected]> Date: Mon, 19 Oct 2009 16:38:00 -0500 From: Gregg Wonderly <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20090812) MIME-Version: 1.0 To: [email protected] Subject: Re: Multicase problem. References: <[email protected]> <1255541497.15577.10.camel@localhost> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Sorry I could not respond sooner. Andrew, I believe that the problem is at the server. I believe that when it asks for the IP address associated with it's name, it gets 161.129.204.104. Can you check the /etc/hosts on the server to see what it has in it? Gregg Wonderly Andrew Meng wrote: > Hello, > > Can any Jini developer who monitors this queue helps me out? > > My code(attached below) is very simple, why does it try to lookup Javaspace service at local host? If there is indeed some network misconfiguration, can any one give me any advice about how to troubleshoot it? > > connection refused or timed out to BasicObjectEndpoint[bfad5326-91ff-4cde-bc78-d03238dfdfbe,TcpEndpoint[161.129.204.104:38220]]; nested exception is: > java.net.ConnectException: Connection refused > > > public class SpaceAccessor { > public static JavaSpace getSpace(String name) { > try { > if (System.getSecurityManager() == null) { > System.setSecurityManager(new RMISecurityManager()); > } > if (System.getProperty("com.sun.jini.use.registry") > == null) > { > //Create a template to lookup the JavaSpaces service. > Class [] types = new Class[]{JavaSpace.class}; > ServiceTemplate tmpl = new ServiceTemplate(null,types,null ); > > // Locate the JavaSpaces service and create a JavaSpace proxy attached to it. > LookupLocator locator = new LookupLocator("jini://s04"); > ServiceRegistrar sr = locator.getRegistrar(); > JavaSpace space = (JavaSpace)sr.lookup(tmpl); //got exception here. > > return space; > > } > } catch (Exception e) { > System.err.println(e.getMessage()); > } > return null; > } > > Thanks a lot in advance! > Andrew > > From: [email protected] > To: [email protected] > Subject: RE: Multicase problem. > Date: Wed, 14 Oct 2009 20:06:31 +0000 > > > > > > > > > Greg, > > Here is what I got on server(s04) where LUS is running: > > [root@s04 ~]# netstat -an | grep LISTEN > tcp 0 0 161.129.204.104:3306 161.129.204.104:* LISTEN > tcp 0 0 161.129.204.104:47754 161.129.204.104:* LISTEN > tcp 0 0 161.129.204.104:111 161.129.204.104:* LISTEN > tcp 0 0 161.129.204.104:22 161.129.204.104:* LISTEN > tcp 0 0 161.129.204.104:631 161.129.204.104:* LISTEN > tcp 0 0 161.129.204.104:25 161.129.204.104:* LISTEN > tcp 0 0 acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b:4160 acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b:* LISTEN > > my /etc/hosts on the worker machine(s03)look like this: > > 161.129.204.104 s04.meng.com s04 > 161.129.204.104 localhost.localdomain localhost > 161.129.204.104 s03 s03 > > My question is, if s03 can successfully get registrar back from s04, why does the registrar.lookup() bind to localhost instead of s04? > > Thanks, > Andrew > >> Date: Wed, 14 Oct 2009 14:09:22 -0500 >> From: [email protected] >> To: [email protected] >> Subject: Re: Multicase problem. >> >> This points at a common linux misconfiguration where the /etc/hosts file ends up >> having bad values in it that map the hostname to 161.129.204.104 and vice-versa. >> >> The end result is that the LUS binds to localhost instead of the interface >> address for a network interface, and then tells you this is where it is bound, >> which of course you can not connect to. >> >> If you will do a "netstat -an |grep LISTEN" on the server that the LUS is >> running on, you should see that there is no external LISTEN on 4160, only a >> localhost binding. >> >> You are finding the service via multicast, but then getting back an address that >> you can't connect to it with I am guessing. >> >> Gregg Wonderly >> >> Patrick Wright wrote: >>> This reminds me of a situation where some of our BasicObjectEndpoints >>> were ending up with the loopback address. When a remote server would >>> try to contact on that endpoint, it of course wouldn't find us. >>> >>> HTH >>> Patrick >>> > > Click less, mail more: Hotmail on the new MSN homepage! > _________________________________________________________________ > New! Faster Messenger access on the new MSN homepage > http://go.microsoft.com/?linkid=9677406 From [email protected] Fri Oct 23 16:10:41 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3629 invoked from network); 23 Oct 2009 16:10:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Oct 2009 16:10:41 -0000 Received: (qmail 41326 invoked by uid 500); 23 Oct 2009 16:10:40 -0000 Delivered-To: [email protected] Received: (qmail 41092 invoked by uid 500); 23 Oct 2009 16:10:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 40928 invoked by uid 99); 23 Oct 2009 16:10:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Oct 2009 16:10:40 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO col0-omc3-s5.col0.hotmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Oct 2009 16:10:30 +0000 Received: from COL108-W4 ([161.129.204.104]) by col0-omc3-s5.col0.hotmail.com with Microsoft SMTPSVC(865)775-7517); Fri, 23 Oct 2009 09:10:08 -0700 Message-ID: <[email protected]> Content-Type: multipart/alternative; boundary="_4e7970d5-f54e-4ed6-8576-eafd5eab7bf3_" X-Originating-IP: [161.129.204.104] From: Andrew Meng <[email protected]> To: <[email protected]> Subject: Javaspace question. Date: Fri, 23 Oct 2009 16:10:08 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 23 Oct 2009 16:10:08.0233 (UTC) FILETIME=[4A52FD90:01CA53FB] X-Virus-Checked: Checked by ClamAV on apache.org --_4e7970d5-f54e-4ed6-8576-eafd5eab7bf3_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello=2C =20 For those who are using Javaspace=2C if you do not know the number of tasks= having been written to space=2C how do you manage to terminate the loop(i.= e=2C collecting result) when the Javaspace are empty? Javaspace.take() does= not return null if there is no more entry in space. =20 Thanks a lot in advance! Andrew =20 _________________________________________________________________ Lots of fantastic Windows 7 offers=2C in one convenient place. Get the perf= ect deal for you now. http://go.microsoft.com/?linkid=3D9691633= --_4e7970d5-f54e-4ed6-8576-eafd5eab7bf3_-- From [email protected] Fri Oct 23 16:28:56 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10696 invoked from network); 23 Oct 2009 16:28:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Oct 2009 16:28:56 -0000 Received: (qmail 75537 invoked by uid 500); 23 Oct 2009 16:28:55 -0000 Delivered-To: [email protected] Received: (qmail 75516 invoked by uid 500); 23 Oct 2009 16:28:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 75506 invoked by uid 99); 23 Oct 2009 16:28:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Oct 2009 16:28:55 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO lcy1-web1.cdo2.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Oct 2009 16:28:53 +0000 Received: from office.cdo2.net ([161.129.204.104] helo=griddev.office.cdo2.net) by lcy1-web1.cdo2.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from <[email protected]>) id 1N1N0B-0007NC-Hf; Fri, 23 Oct 2009 16:28:31 +0000 From: Dominic Cleal <[email protected]> Organization: CDO2 To: [email protected] Subject: Re: Javaspace question. Date: Fri, 23 Oct 2009 17:28:24 +0100 User-Agent: KMail/1.9.10 References: <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <[email protected]> Hi Andrew, On Friday 23 October 2009 17:10:08 Andrew Meng wrote: > For those who are using Javaspace, if you do not know the number of tasks > having been written to space, how do you manage to terminate the loop(i.e, > collecting result) when the Javaspace are empty? Javaspace.take() does not > return null if there is no more entry in space. Take a look at the takeIfExists method, which will return a null if no matching entry exists. You can simply loop while a holding variable isn't null, calling takeIfExists on each loop. Cheers, -- Dominic Cleal CDO2 88 Union Street London SE1 0NW Tel: (865)775-7517 Fax: (865)775-7517 www.cdo2.com www.cdovar.net From [email protected] Fri Oct 23 16:48:53 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15978 invoked from network); 23 Oct 2009 16:48:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Oct 2009 16:48:53 -0000 Received: (qmail 12264 invoked by uid 500); 23 Oct 2009 16:48:53 -0000 Delivered-To: [email protected] Received: (qmail 12233 invoked by uid 500); 23 Oct 2009 16:48:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 12223 invoked by uid 99); 23 Oct 2009 16:48:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Oct 2009 16:48:52 +0000 X-ASF-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,HTML_MESSAGE,MIME_HEADER_CTYPE_ONLY X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO col0-omc3-s5.col0.hotmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Oct 2009 16:48:50 +0000 Received: from COL108-W27 ([161.129.204.104]) by col0-omc3-s5.col0.hotmail.com with Microsoft SMTPSVC(865)775-7517); Fri, 23 Oct 2009 09:48:29 -0700 Message-ID: <[email protected]> Content-Type: multipart/alternative; boundary="_cdc8f473-d249-49ed-b903-38666bf28f42_" X-Originating-IP: [161.129.204.104] From: Andrew Meng <[email protected]> To: <[email protected]> Subject: RE: Javaspace question. Date: Fri, 23 Oct 2009 16:48:29 +0000 Importance: Normal In-Reply-To: <[email protected]> References: <[email protected]> X-OriginalArrivalTime: 23 Oct 2009 16:48:29.0230 (UTC) FILETIME=[A5D344E0:01CA5400] --_cdc8f473-d249-49ed-b903-38666bf28f42_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Dominic=2C =20 I did look at the takeifexist() method before but I am worrying about the s= ynchronization between task-generating thread and result-collecting thread.= For example=2C at some point=2C collecting thread could terminate prematur= ely if space is empty while waiting for worker to write a new result back t= o it. =20 Thanks a lot=2C Andrew =20 > From: [email protected] > To: [email protected] > Subject: Re: Javaspace question. > Date: Fri=2C 23 Oct 2009 17:28:24 +0100 >=20 > Hi Andrew=2C >=20 > On Friday 23 October 2009 17:10:08 Andrew Meng wrote: > > For those who are using Javaspace=2C if you do not know the number of t= asks > > having been written to space=2C how do you manage to terminate the loop= (i.e=2C > > collecting result) when the Javaspace are empty? Javaspace.take() does = not > > return null if there is no more entry in space. >=20 > Take a look at the takeIfExists method=2C which will return a null if no= =20 > matching entry exists. You can simply loop while a holding variable isn't= =20 > null=2C calling takeIfExists on each loop. >=20 > Cheers=2C >=20 > --=20 > Dominic Cleal > CDO2 > 88 Union Street > London > SE1 0NW > Tel: (865)775-7517 > Fax: (865)775-7517 > www.cdo2.com www.cdovar.net =20 _________________________________________________________________ Lots of fantastic Windows 7 offers=2C in one convenient place. Get the perf= ect deal for you now. http://go.microsoft.com/?linkid=3D9691633= --_cdc8f473-d249-49ed-b903-38666bf28f42_-- From [email protected] Fri Oct 23 16:52:20 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 16648 invoked from network); 23 Oct 2009 16:52:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Oct 2009 16:52:20 -0000 Received: (qmail 17128 invoked by uid 500); 23 Oct 2009 16:52:19 -0000 Delivered-To: [email protected] Received: (qmail 17097 invoked by uid 500); 23 Oct 2009 16:52:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 17055 invoked by uid 99); 23 Oct 2009 16:52:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Oct 2009 16:52:19 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO hercules.gspaces.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Oct 2009 16:52:15 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Javaspace question. Date: Fri, 23 Oct 2009 18:51:52 +0200 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Javaspace question. Thread-Index: AcpT/gG2COBt1up7QVmvfJ8a2hamfAAArKiQ References: <[email protected]> <[email protected]> From: "Guy Korland" <[email protected]> To: <[email protected]> Cc: "Guy Korland" <[email protected]> The problem with takeIfExists is that it blocks if there're Entries taken and locked under transaction. This one of the reason we added in GigaSpaces the count() method. You can read more about it in: http://www.gigaspaces.com/docs/JavaDoc7.0/org/openspaces/core/GigaSpace. html#count(java.lang.Object) Guy -----Original Message----- From: Dominic Cleal [mailto:[email protected]]=20 Sent: Friday, October 23, 2009 6:28 PM To: [email protected] Subject: Re: Javaspace question. Hi Andrew, On Friday 23 October 2009 17:10:08 Andrew Meng wrote: > For those who are using Javaspace, if you do not know the number of tasks > having been written to space, how do you manage to terminate the loop(i.e, > collecting result) when the Javaspace are empty? Javaspace.take() does not > return null if there is no more entry in space. Take a look at the takeIfExists method, which will return a null if no=20 matching entry exists. You can simply loop while a holding variable isn't=20 null, calling takeIfExists on each loop. Cheers, --=20 Dominic Cleal CDO2 88 Union Street London SE1 0NW Tel: (865)775-7517 Fax: (865)775-7517 www.cdo2.com www.cdovar.net From [email protected] Fri Oct 23 21:26:33 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2883 invoked from network); 23 Oct 2009 21:26:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Oct 2009 21:26:33 -0000 Received: (qmail 19837 invoked by uid 500); 23 Oct 2009 21:26:33 -0000 Delivered-To: [email protected] Received: (qmail 19800 invoked by uid 500); 23 Oct 2009 21:26:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 19790 invoked by uid 99); 23 Oct 2009 21:26:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Oct 2009 21:26:32 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO eastrmmtao107.cox.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Oct 2009 21:26:21 +0000 Received: from eastrmimpo02.cox.net ([161.129.204.104]) by eastrmmtao107.cox.net (InterMail vM.161.129.204.104 201-2244-105-20090324) with ESMTP id <[email protected]>; Fri, 23 Oct 2009 17:26:00 -0400 Received: from [161.129.204.104] ([161.129.204.104]) by eastrmimpo02.cox.net with bizsmtp id wMRz1c00C3mk5mm02MRzez; Fri, 23 Oct 2009 17:26:00 -0400 X-VR-Score: -130.00 X-Authority-Analysis: v=1.0 c=1 a=th5Hd3tNAAAA:8 a=QGjGJPlXlvUbtJUdMyYA:9 a=5lkQrt9-uyA4O02SuPoJF1e1SogA:4 X-CM-Score: 0.00 Message-ID: <[email protected]> Date: Fri, 23 Oct 2009 16:25:55 -0500 From: Gregg Wonderly <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20090812) MIME-Version: 1.0 To: [email protected] CC: Guy Korland <[email protected]> Subject: Re: Javaspace question. References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Guy Korland wrote: > The problem with takeIfExists is that it blocks if there're Entries > taken and locked under transaction. > > This one of the reason we added in GigaSpaces the count() method. > You can read more about it in: > http://www.gigaspaces.com/docs/JavaDoc7.0/org/openspaces/core/GigaSpace. > html#count(java.lang.Object) In an active distributed system, at any point in time, one clients view of the "system" is almost never consistent with the actual system. Counting is almost never a good way to do things because it doesn't dynamically scale with system changes, it almost always represents a size that is not going to be the same next time you check. You can call count() and see how many items are there but if two workers do that with one item left, and both call take(), one will block. If you want to start a worker on a JavaSpace, and then stop that worker later, than you need to write entries into the space with a marker that lets the worker see the end of the work list. In general, a simple way to do this is to just use a marker interface for the type of thing you take, and have implementations of that interface that are both work items, and the "end of list" item. That way, the workers can see when they are done. public interface MyWorkItem {} public class WorkItem implements MyWorkItem, SomeOtherInterfaceTooPerhaps { ... } public class MarkerItem implements MyWorkItem, EndOfListMarker { ... } Then you can ask if the entry is an instance of EndOfListMarker, and take appropriate actions. The more predominate issue, is that if there are multiple workers, than you need to use transactional take, and abort the transaction when you get the "end marker" so that other workers will also see it. You can use short leases on the object to automatically expire it. There are several ways to do this, and I am sure others will throw in their experiences. Gregg Wonderly From [email protected] Sat Oct 24 14:39:49 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78139 invoked from network); 24 Oct 2009 14:39:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Oct 2009 14:39:49 -0000 Received: (qmail 51547 invoked by uid 500); 24 Oct 2009 14:39:48 -0000 Delivered-To: [email protected] Received: (qmail 51476 invoked by uid 500); 24 Oct 2009 14:39:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 51465 invoked by uid 99); 24 Oct 2009 14:39:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Oct 2009 14:39:48 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO col0-omc3-s7.col0.hotmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Oct 2009 14:39:38 +0000 Received: from COL108-W29 ([161.129.204.104]) by col0-omc3-s7.col0.hotmail.com with Microsoft SMTPSVC(865)775-7517); Sat, 24 Oct 2009 07:39:16 -0700 Message-ID: <[email protected]> Content-Type: multipart/alternative; boundary="_b62f352d-7888-4087-858d-eed59f421688_" X-Originating-IP: [161.129.204.104] From: Andrew Meng <[email protected]> To: <[email protected]> Subject: File Serializaton in JavaSpace. Date: Sat, 24 Oct 2009 14:39:17 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 24 Oct 2009 14:39:16.0725 (UTC) FILETIME=[C362A250:01CA54B7] X-Virus-Checked: Checked by ClamAV on apache.org --_b62f352d-7888-4087-858d-eed59f421688_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello=2C =20 I am working a JavaSpace applicaton in which one of the task needs to open = and read a text files in its execute() method. It seems that there are two = options here: =20 1)Reading the text file to a StringReader(which is a member variable in the= task object) =20 2)Puting the text file into the codebase root directory for the normal clas= s or jar files but I could not figure out how to do it for a normal text fi= le. =20 Can anyone share what you would do in this case? =20 Thanks a lot in advance! Andrew =20 =20 =20 _________________________________________________________________ CDN College or University student? Get Windows 7 for only $39.99 before Jan= 3! Buy it now! http://go.microsoft.com/?linkid=3D9691636= --_b62f352d-7888-4087-858d-eed59f421688_-- From [email protected] Sat Oct 24 20:31:13 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45692 invoked from network); 24 Oct 2009 20:31:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 24 Oct 2009 20:31:13 -0000 Received: (qmail 24494 invoked by uid 500); 24 Oct 2009 20:31:13 -0000 Delivered-To: [email protected] Received: (qmail 24447 invoked by uid 500); 24 Oct 2009 20:31:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 24437 invoked by uid 99); 24 Oct 2009 20:31:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Oct 2009 20:31:13 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO eastrmmtao106.cox.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Oct 2009 20:31:03 +0000 Received: from eastrmimpo03.cox.net ([161.129.204.104]) by eastrmmtao106.cox.net (InterMail vM.161.129.204.104 201-2244-105-20090324) with ESMTP id <[email protected]> for <[email protected]>; Sat, 24 Oct 2009 16:30:41 -0400 Received: from [161.129.204.104] ([161.129.204.104]) by eastrmimpo03.cox.net with bizsmtp id wkWh1c0033mk5mm02kWh4t; Sat, 24 Oct 2009 16:30:41 -0400 X-VR-Score: -70.00 X-Authority-Analysis: v=1.0 c=1 a=o69IegVzrAYA:10 a=_2aZyHOJjPCfQbPMgIUA:9 a=J2hknZ9gDP3KBbobFr0A:7 a=3wbYhur08JwSnk7GZJ2OJv32kRAA:4 X-CM-Score: 0.00 Message-ID: <[email protected]> Date: Sat, 24 Oct 2009 15:30:34 -0500 From: Gregg Wonderly <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20090812) MIME-Version: 1.0 To: [email protected] Subject: Re: File Serializaton in JavaSpace. References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Andrew Meng wrote: > Hello, > > I am working a JavaSpace applicaton in which one of the task needs to open > and read a text files in its execute() method. It seems that there are two options here: > > 1)Reading the text file to a StringReader(which is a member variable in the task object) > > 2)Puting the text file into the codebase root directory for the normal class or > jar files but I could not figure out how to do it for a normal text file. > > Can anyone share what you would do in this case? If the file is part of the work item that execute() will process, then put a URL (String value that you can construct a URL object with in execute()). Then you can change where you put it and how it is accessed over time by using a different URL, changing the protocol (jar:, http:, ftp:, or your own custom protocol handler that you inject into the JVM runtime with -Djava.protocol.handler.pkgs etc). Definitely try not to send the data in the Entry so that you don't end up slinging data all over the network until you need it. Gregg Wonderly From [email protected] Sun Oct 25 04:41:20 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30262 invoked from network); 25 Oct 2009 04:41:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Oct 2009 04:41:20 -0000 Received: (qmail 87175 invoked by uid 500); 25 Oct 2009 04:41:20 -0000 Delivered-To: [email protected] Received: (qmail 87063 invoked by uid 500); 25 Oct 2009 04:41:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 87051 invoked by uid 99); 25 Oct 2009 04:41:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Oct 2009 04:41:20 +0000 X-ASF-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE,MIME_HEADER_CTYPE_ONLY X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO col0-omc3-s12.col0.hotmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Oct 2009 04:41:17 +0000 Received: from COL108-W39 ([161.129.204.104]) by col0-omc3-s12.col0.hotmail.com with Microsoft SMTPSVC(865)775-7517); Sat, 24 Oct 2009 21:40:57 -0700 Message-ID: <[email protected]> Content-Type: multipart/alternative; boundary="_6b280fec-3651-4f4a-88e5-91b1d61047cc_" X-Originating-IP: [161.129.204.104] From: Andrew Meng <[email protected]> To: <[email protected]> Subject: RE: File Serializaton in JavaSpace. Date: Sun, 25 Oct 2009 04:40:56 +0000 Importance: Normal In-Reply-To: <[email protected]> References: <[email protected]> X-OriginalArrivalTime: 25 Oct 2009 04:40:57.0187 (UTC) FILETIME=[58019B30:01CA552D] --_6b280fec-3651-4f4a-88e5-91b1d61047cc_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Greg=2C Thanks for the help and I guess it will definitely work. Without any code to build stringreader on server side or construct a URL o= bject on the remote site=2C is there any way to just put the file into cod= e base directory on the server(just like those task object class file) so a= worker can download it automatically to local machine before opening it w= henever necessary? Thanks a lot=2C Andrew > Date: Sat=2C 24 Oct 2009 15:30:34 -0500 > From: [email protected] > To: [email protected] > Subject: Re: File Serializaton in JavaSpace. >=20 > Andrew Meng wrote: > > Hello=2C > >=20 > > I am working a JavaSpace applicaton in which one of the task needs to o= pen > > and read a text files in its execute() method. It seems that there are= two=20 > options here: > >=20 > > 1)Reading the text file to a StringReader(which is a member variable in= the task object) > > > > 2)Puting the text file into the codebase root directory for the normal = class or=20 > > jar files but I could not figure out how to do it for a normal text = file. > > > > Can anyone share what you would do in this case? >=20 > If the file is part of the work item that execute() will process=2C then = put a URL=20 > (String value that you can construct a URL object with in execute()). = Then=20 > you can change where you put it and how it is accessed over time by using= a=20 > different URL=2C changing the protocol (jar:=2C http:=2C ftp:=2C or your = own custom=20 > protocol handler that you inject into the JVM runtime with=20 > -Djava.protocol.handler.pkgs etc). >=20 > Definitely try not to send the data in the Entry so that you don't end up= =20 > slinging data all over the network until you need it. >=20 > Gregg Wonderly =20 _________________________________________________________________ CDN College or University student? Get Windows 7 for only $39.99 before Jan= 3! Buy it now! http://go.microsoft.com/?linkid=3D9691636= --_6b280fec-3651-4f4a-88e5-91b1d61047cc_-- From [email protected] Mon Oct 26 14:13:58 2009 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48912 invoked from network); 26 Oct 2009 14:13:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Oct 2009 14:13:58 -0000 Received: (qmail 69354 invoked by uid 500); 26 Oct 2009 14:13:58 -0000 Delivered-To: [email protected] Received: (qmail 69294 invoked by uid 500); 26 Oct 2009 14:13:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <river-user.incubator.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 69281 invoked by uid 99); 26 Oct 2009 14:13:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Oct 2009 14:13:57 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO eastrmmtao101.cox.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Oct 2009 14:13:47 +0000 Received: from eastrmimpo03.cox.net ([161.129.204.104]) by eastrmmtao101.cox.net (InterMail vM.161.129.204.104 201-2244-105-20090324) with ESMTP id <[email protected]> for <[email protected]>; Mon, 26 Oct 2009 10:13:27 -0400 Received: from [161.129.204.104] ([161.129.204.104]) by eastrmimpo03.cox.net with bizsmtp id xSDR1c0053mk5mm02SDRvK; Mon, 26 Oct 2009 10:13:25 -0400 X-VR-Score: -100.00 X-Authority-Analysis: v=1.0 c=1 a=o69IegVzrAYA:10 a=Qo38uvohrqqtRLDd9OwA:9 a=Tgl9B23dP2lkIpK9azYbnepPD1gA:4 X-CM-Score: 0.00 Message-ID: <[email protected]> Date: Mon, 26 Oct 2009 09:13:20 -0500 From: Gregg Wonderly <[email protected]> User-Agent: Thunderbird 161.129.204.104 (Windows/20090812) MIME-Version: 1.0 To: [email protected] Subject: Re: File Serializaton in JavaSpace. References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Andrew Meng wrote: > Greg, > > Thanks for the help and I guess it will definitely work. > > Without any code to build stringreader on server side or > construct a URL object on the remote site, is there any > way to just put the file into code base directory on the > server(just like those task object class file) so a worker > can download it automatically to local machine before > opening it whenever necessary? Yes, I guess you are not familiar with using resources? If you put the file in the codebase directory on the server, and you include a codebase element that provides access to the file, you can use on of the versions of the context ClassLoader's ClassLoader.getResource() et.al. to find that file by name, and get back the URL to access it from. That still provides access "as a URL", and later you could move the file to another "server" or "place" and use a different URL to access it. Gregg Wonderly
From [email protected] Thu Sep 01 16:26:36 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66488 invoked from network); 1 Sep 2005 16:26:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Sep 2005 16:26:36 -0000 Received: (qmail 43821 invoked by uid 500); 1 Sep 2005 16:26:35 -0000 Delivered-To: [email protected] Received: (qmail 43640 invoked by uid 500); 1 Sep 2005 16:26:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 43479 invoked by uid 99); 1 Sep 2005 16:26:33 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2005 09:26:32 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 73421124 for <[email protected]>; Thu, 1 Sep 2005 18:26:31 +0200 (CEST) Message-ID: <{{EMAIL+PHONE}}> Date: Thu, 1 Sep 2005 18:26:31 +0200 (CEST) From: "arnaud (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (XALANJ-2193) nodeset disappeared after xsl:apply-templates Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N nodeset disappeared after xsl:apply-templates --------------------------------------------- Key: XALANJ-2193 URL: http://issues.apache.org/jira/browse/XALANJ-2193 Project: XalanJ2 Type: Bug Components: XSLTC Versions: 2.6, 2.7 Environment: windows XP, j2sdk1.4.2_06, xsltc Reporter: arnaud Priority: Blocker Hello, I have a problem with a stylesheet in xsltc mode. The test of presence of nodes of a variable fails so beforehand one made a xsl:apply-templates on this variable. Here a testcase to reproduce the problem. ------------------- <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <xsl:apply-templates select="flux/source/table"> <xsl:with-param name="noeud" select="flux/table[nom='tableaux']/id" /> </xsl:apply-templates> </xsl:template> <xsl:template match="table"> <xsl:param name="noeud" /> <xsl:apply-templates select="$noeud" /> <xsl:choose> <xsl:when test="$noeud">OK</xsl:when> <xsl:otherwise>KO</xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="*" /> </xsl:stylesheet> --------------------- <?xml version="1.0" encoding="ISO-8859-1"?> <flux> <source> <table/> </source> <table> <nom>tableaux</nom> <id>test</id> </table> </flux> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Sep 01 18:40:32 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 15038 invoked from network); 1 Sep 2005 18:40:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 1 Sep 2005 18:40:31 -0000 Received: (qmail 65144 invoked by uid 500); 1 Sep 2005 18:40:30 -0000 Delivered-To: [email protected] Received: (qmail 65114 invoked by uid 500); 1 Sep 2005 18:40:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 65101 invoked by uid 99); 1 Sep 2005 18:40:29 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2005 11:40:29 -0700 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,SPF_HELO_FAIL X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO e2.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2005 11:40:43 -0700 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [161.129.204.104]) by e2.ny.us.ibm.com (8.12.11/8.12.11) with ESMTP id j81IeNGb006464 for <[email protected]>; Thu, 1 Sep 2005 14:40:23 -0400 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [161.129.204.104]) by d01relay02.pok.ibm.com (8.12.10/NCO/VERS6.7) with ESMTP id j81IeIMR099310 for <[email protected]>; Thu, 1 Sep 2005 14:40:23 -0400 Received: from d01av04.pok.ibm.com (loopback [161.129.204.104]) by d01av04.pok.ibm.com (8.12.11/8.13.3) with ESMTP id j81IeIri020688 for <[email protected]>; Thu, 1 Sep 2005 14:40:18 -0400 Received: from d25ml04.torolab.ibm.com (d25ml04.torolab.ibm.com [161.129.204.104]) by d01av04.pok.ibm.com (8.12.11/8.12.11) with ESMTP id j81IeILe020679; Thu, 1 Sep 2005 14:40:18 -0400 To: [email protected] Cc: [email protected] MIME-Version: 1.0 Subject: [VOTE] XalanC++ 1.10 release X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003 Message-ID: <[email protected]> From: Dmitry Hayes <[email protected]> Date: Thu, 1 Sep 2005 14:39:58 -0400 X-MIMETrack: Serialize by Router on D25ML04/25/M/IBM(Release 6.5.4|March 27, 2005) at 09/01/2005 14:39:57, Serialize complete at 09/01/2005 14:39:57 Content-Type: multipart/alternative; boundary="=_alternative 006687988525706F_=" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --=_alternative 006687988525706F_= Content-Type: text/plain; charset="US-ASCII" Dear Apache XalanC++ committers ! Since the latest XalanC 1.9 release we have implemented some important features and fixed many defects. I'd suggest to schedule the release of XalanC, Version 1.10 on Oct.7/2005. To facilitate the building and testing of the release I propose a code freeze date of Sept. 19/2005 The main new features in the release will be: Support for XML 1.1 and Namespaces in XML 1.1. Added support for IBM XLC 7.0 compiler on Linux. Improved and stabilized C pluggable memory management functionality. Various improvements in Xalan XML serializers for better performance and stability. Upgrade from XercesC 2.6 to XercesC 2.7 Various performance and functionality bug fixes. I suggest that we release the same platform/compiler set of binaries for XalanC 1.10 as the recent XercesC 2.7 release: 32 bit packages: Windows 2000 compiled with MSVC 6.0 SP3 Redhat Linux AS4 compiled with gcc 3.4 AIX 5.1 compiled with xlC_r 6.0.0 Solaris 2.8 compiled with Forte C++ Version 6 Update 2 HP-UX 11i compiled with aCC A.03.52 with pthreads 64 bit packages: SuSE Linux 8.0 compiled with gcc 3.2 (AMD) AIX 5.1 compiled with xlC_r 6.0.0 Solaris 2.8 compiled with Forte C++ Version 6 Update 2 HP-UX 11i compiled with aCC A.03.52 with pthreads Dear committers, if the date and the content of the release seems to be sufficient, please vote for the release! Here is my +1 Dmitry Hayes XSLT Development IBM Toronto Lab Phone: 840.246.3243 E-mail: [email protected] --=_alternative 006687988525706F_= Content-Type: text/html; charset="US-ASCII" <br><font size=2 face="sans-serif">Dear Apache XalanC++ committers !</font> <br> <br><font size=2 face="sans-serif">Since the latest XalanC 1.9 release we have implemented some important features and fixed many defects. </font> <br><font size=2 face="sans-serif">I'd suggest to schedule the release of XalanC, &nbsp;Version 1.10 on Oct.7/2005. &nbsp; To facilitate the building and</font> <br><font size=2 face="sans-serif">testing of the release I propose a code freeze date of Sept. 19/2005</font> <br> <br><font size=2 face="sans-serif">The main new features in the release will be:</font> <br> <ul> <li><font size=2 face="Arial">Support for XML 1.1 and Namespaces in XML 1.1.</font> <li><font size=2 face="Arial">Added support for IBM XLC 7.0 compiler on Linux.</font> <li><font size=2 face="Arial">Improved and stabilized C pluggable memory management functionality.</font> <li><font size=2 face="Arial">Various improvements in Xalan XML serializers for better performance and stability.</font> <li><font size=2 face="Arial">Upgrade from XercesC 2.6 &nbsp;to XercesC 2.7</font> <li><font size=2 face="Arial">Various performance and functionality bug fixes.</font></ul> <br><font size=2 face="Arial">I suggest that we release the same platform/compiler set of binaries for XalanC 1.10 as the recent XercesC 2.7 release:</font> <br> <br><font size=2 face="Arial">32 bit packages:</font> <ul> <li><font size=2 face="Arial">Windows 2000 compiled with MSVC 6.0 SP3 </font><a href="http://www.apache.org/dist/xml/xerces-c/binaries/xerces-c_2_7_0-windows_2000-msvc_60.zip"></a><a href="http://www.apache.org/dist/xml/xerces-c/binaries/xerces-c_2_7_0-windows_2000-msvc_60.zip.asc"></a><a href="http://www.apache.org/dist/xml/xerces-c/binaries/xerces-c_2_7_0-windows_2000-msvc_60.zip.md5"></a> <li><font size=2 face="Arial">Redhat Linux AS4 compiled with gcc 3.4</font><a href="http://www.apache.org/dist/xml/xerces-c/binaries/xerces-c_2_7_0-redhat_AS4-gcc_343.tar.gz"></a><a href="http://www.apache.org/dist/xml/xerces-c/binaries/xerces-c_2_7_0-redhat_AS4-gcc_343.tar.gz.asc"></a><a href="http://www.apache.org/dist/xml/xerces-c/binaries/xerces-c_2_7_0-redhat_AS4-gcc_343.tar.gz.md5"></a> <li><font size=2 face="Arial">AIX 5.1 compiled with xlC_r 6.0.0 </font><a href="http://www.apache.org/dist/xml/xerces-c/binaries/xerces-c_2_7_0-aix_510-xlc_60_050623.tar.gz"></a><a href="http://www.apache.org/dist/xml/xerces-c/binaries/xerces-c_2_7_0-aix_510-xlc_60_050623.tar.gz.asc"></a><a href="http://www.apache.org/dist/xml/xerces-c/binaries/xerces-c_2_7_0-aix_510-xlc_60_050623.tar.gz.md5"></a> <li><font size=2 face="Arial">Solaris 2.8 compiled with Forte C++ Version 6 Update 2 </font><a href="http://www.apache.org/dist/xml/xerces-c/binaries/xerces-c_2_7_0-solaris_28-cc_62.tar.gz"></a><a href="http://www.apache.org/dist/xml/xerces-c/binaries/xerces-c_2_7_0-solaris_28-cc_62.tar.gz.asc"></a><a href="http://www.apache.org/dist/xml/xerces-c/binaries/xerces-c_2_7_0-solaris_28-cc_62.tar.gz.md5"></a> <li><font size=2 face="Arial">HP-UX 11i compiled with aCC A.03.52 with pthreads </font><a href="http://www.apache.org/dist/xml/xerces-c/binaries/xerces-c_2_7_0-hpux_11i-acc_a03.tar.gz"></a><a href="http://www.apache.org/dist/xml/xerces-c/binaries/xerces-c_2_7_0-hpux_11i-acc_a03.tar.gz.asc"></a><a href="http://www.apache.org/dist/xml/xerces-c/binaries/xerces-c_2_7_0-hpux_11i-acc_a03.tar.gz.md5"></a></ul> <br><font size=2 face="Arial">64 bit packages:</font> <ul> <li><font size=2 face="Arial">SuSE Linux 8.0 compiled with gcc 3.2 (AMD) </font><a href="http://www.apache.org/dist/xml/xerces-c/binaries/xerces-c_2_7_0-suse_80_AMD_64-gcc_32.tar.gz"></a><a href="http://www.apache.org/dist/xml/xerces-c/binaries/xerces-c_2_7_0-suse_80_AMD_64-gcc_32.tar.gz.asc"></a><a href="http://www.apache.org/dist/xml/xerces-c/binaries/xerces-c_2_7_0-suse_80_AMD_64-gcc_32.tar.gz.md5"></a> <li><font size=2 face="Arial">AIX 5.1 compiled with xlC_r 6.0.0 </font><a href="http://www.apache.org/dist/xml/xerces-c/binaries/xerces-c_2_7_0-aix_510_64-xlc_60_050623.tar.gz"></a><a href="http://www.apache.org/dist/xml/xerces-c/binaries/xerces-c_2_7_0-aix_510_64-xlc_60_050623.tar.gz.asc"></a><a href="http://www.apache.org/dist/xml/xerces-c/binaries/xerces-c_2_7_0-aix_510_64-xlc_60_050623.tar.gz.md5"></a> <li><font size=2 face="Arial">Solaris 2.8 compiled with Forte C++ Version 6 Update 2</font><a href="http://www.apache.org/dist/xml/xerces-c/binaries/xerces-c_2_7_0-solaris_28_64-cc_62.tar.gz"></a><a href="http://www.apache.org/dist/xml/xerces-c/binaries/xerces-c_2_7_0-solaris_28_64-cc_62.tar.gz.asc"></a><a href="http://www.apache.org/dist/xml/xerces-c/binaries/xerces-c_2_7_0-solaris_28_64-cc_62.tar.gz.md5"></a> <li><font size=2 face="Arial">HP-UX 11i compiled with aCC A.03.52 with pthreads </font><a href="http://www.apache.org/dist/xml/xerces-c/binaries/xerces-c_2_7_0-hpux_11i_64-acc_a03.tar.gz"></a><a href="http://www.apache.org/dist/xml/xerces-c/binaries/xerces-c_2_7_0-hpux_11i_64-acc_a03.tar.gz.asc"></a><a href="http://www.apache.org/dist/xml/xerces-c/binaries/xerces-c_2_7_0-hpux_11i_64-acc_a03.tar.gz.md5"></a></ul> <br> <br> <br><font size=2 face="Arial">Dear committers, if the date and the content of the release seems to be sufficient, please vote for the release!</font> <br> <br><font size=2 face="Arial">Here is my +1 </font> <br> <br><font size=2 face="sans-serif">Dmitry Hayes<br> XSLT &nbsp;Development<br> IBM Toronto Lab<br> Phone: &nbsp;840.246.3243<br> E-mail: &nbsp;[email protected]</font> --=_alternative 006687988525706F_=-- From [email protected] Fri Sep 02 05:37:55 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36088 invoked from network); 2 Sep 2005 05:37:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Sep 2005 05:37:55 -0000 Received: (qmail 91597 invoked by uid 500); 2 Sep 2005 05:37:51 -0000 Delivered-To: [email protected] Received: (qmail 91565 invoked by uid 500); 2 Sep 2005 05:37:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 91546 invoked by uid 99); 2 Sep 2005 05:37:50 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2005 22:37:50 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME,SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO debian-amavis.bitmailer.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 01 Sep 2005 22:38:03 -0700 Received: from proxy.bitmailer.com (debian-mx.bitmailer.com [161.129.204.104]) by debian-amavis.bitmailer.com (Postfix) with ESMTP id 081B3EC087 for <[email protected]>; Fri, 2 Sep 2005 07:37:44 +0200 (CEST) Received: from www2.bitmailer.com (www2.bitmailer.com [161.129.204.104]) by proxy.bitmailer.com (Postfix) with ESMTP id BEA71EB14C for <[email protected]>; Fri, 2 Sep 2005 07:37:44 +0200 (CEST) Received: from bitmail.bitmailer.com (localhost.localdomain [161.129.204.104]) by www2.bitmailer.com (Postfix) with ESMTP id 868D75BF60 for <[email protected]>; Fri, 2 Sep 2005 07:37:44 +0200 (CEST) Received: from 161.129.204.104 (SquirrelMail authenticated user bayesinf.com:jimarin); by bitmail.bitmailer.com with HTTP; Fri, 2 Sep 2005 07:37:44 +0200 (CEST) Message-ID: <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> Date: Fri, 2 Sep 2005 07:37:44 +0200 (CEST) Subject: Re: [VOTE] XalanC++ 1.10 release From: [email protected] To: [email protected] User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 (Normal) Importance: Normal Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, would it be possible to add support (as Xerces has) for Windows 2000 compiled with Mingw platform ? Hope this comment is not offlisted. Regards, jima > Dear Apache XalanC++ committers ! > > Since the latest XalanC 1.9 release we have implemented some important > features and fixed many defects. > I'd suggest to schedule the release of XalanC, Version 1.10 on > Oct.7/2005. To facilitate the building and > testing of the release I propose a code freeze date of Sept. 19/2005 > > The main new features in the release will be: > > Support for XML 1.1 and Namespaces in XML 1.1. > Added support for IBM XLC 7.0 compiler on Linux. > Improved and stabilized C pluggable memory management functionality. > Various improvements in Xalan XML serializers for better performance an= d > stability. > Upgrade from XercesC 2.6 to XercesC 2.7 > Various performance and functionality bug fixes. > > I suggest that we release the same platform/compiler set of binaries fo= r > XalanC 1.10 as the recent XercesC 2.7 release: > > 32 bit packages: > Windows 2000 compiled with MSVC 6.0 SP3 > Redhat Linux AS4 compiled with gcc 3.4 > AIX 5.1 compiled with xlC_r 6.0.0 > Solaris 2.8 compiled with Forte C++ Version 6 Update 2 > HP-UX 11i compiled with aCC A.03.52 with pthreads > > 64 bit packages: > SuSE Linux 8.0 compiled with gcc 3.2 (AMD) > AIX 5.1 compiled with xlC_r 6.0.0 > Solaris 2.8 compiled with Forte C++ Version 6 Update 2 > HP-UX 11i compiled with aCC A.03.52 with pthreads > > > > Dear committers, if the date and the content of the release seems to be > sufficient, please vote for the release! > > Here is my +1 > > Dmitry Hayes > XSLT Development > IBM Toronto Lab > Phone: 840.246.3243 > E-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Sep 02 19:15:16 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45940 invoked from network); 2 Sep 2005 19:15:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Sep 2005 19:15:16 -0000 Received: (qmail 62726 invoked by uid 500); 2 Sep 2005 19:15:15 -0000 Delivered-To: [email protected] Received: (qmail 62661 invoked by uid 500); 2 Sep 2005 19:15:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 62642 invoked by uid 99); 2 Sep 2005 19:15:14 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Sep 2005 12:15:13 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id DBD9E125 for <[email protected]>; Fri, 2 Sep 2005 21:15:12 +0200 (CEST) Message-ID: <[email protected]> Date: Fri, 2 Sep 2005 21:15:12 +0200 (CEST) From: "David Bertoni (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (XALANC-511) Crash during XalanTransformeracf:4db6:5e0b:f386:43a5:35d7:718d:3c8binitialize on AIX In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/XALANC-511?page=all ] David Bertoni reassigned XALANC-511: ------------------------------------ Assign To: David Bertoni > Crash during XalanTransformeracf:4db6:5e0b:f386:43a5:35d7:718d:3c8binitialize on AIX > ------------------------------------------------ > > Key: XALANC-511 > URL: http://issues.apache.org/jira/browse/XALANC-511 > Project: XalanC > Type: Bug > Components: XalanC > Versions: 1.9 > Environment: AIX 5.2 > Reporter: Prasad Mysore > Assignee: David Bertoni > Attachments: patch.txt > > I am using ICU 3.2, Xerces 2.6 and Xalan 1.9. Aix 5.2. > Compilers xlC_r for C++ and xlc_r for c. The call > that caused the crash is > XalanTransformeracf:4db6:5e0b:f386:43a5:35d7:718d:3c8binitialize(). > Release build of all components work fine. Debug build > works fine for xerces and icu. Xalan debug build > fails with errors in XalanVector.hpp. > > > > I am facing two problems while using xalan 1.9. Our > > application previously used xalan1.4. We now moved > > to > > using xalan 1.9. I have downloaded sources for xalan > > and built it myself (xlc_r, xlC_r version 6). In > > our > > initialization code, we make a call to the method > > XalanTransformer.initialize(). > > > > Problem 1. After the changes, this call crashes on > > AIX > > 5.2. Works finw on hp, linux, solaris and windows. > > The stack trace shows something thats weird like > > below. Anybody have any idea > > <----------------------------> > > dbx) where > > .() at 0x0 > > __negpow2() at 0xd6b0ef40 > > __negpow2() at 0xd6b03ac4 > > unnamed block $b3811, line 621 in "arxml.cpp" > > InitXMLParser(0x2ff22828), line 621 in "arxml.cpp" > > Initialization(0x1, 0x2ff22918), line 877 in > > "startup.cpp" > > main(argc = 1, argv = 0x2ff22918), line 9882 in > > "arrpcsvc.c" > > (dbx) q > > <----------------------------> > > > > Problem2: I am trying to build xalan in debug mode > > to > > be able to debug through a crash I am seeing on AIX. > > > > Release build works fine. But debug build throws > > this > > compile error. Is there a known problem with > > XalanVector.hpp. > > > > xlC_r -g -qthreaded -DAIX -D_THREAD_SAFE > > -I/stlport -DXALAN_INMEM_MSG_LOADER -DXALAN_USE_ICU > > -c > > -I/home/essfs1/rmysore/xml-xalan/c/src > > -I/home/essfs1/rmysore/xml-xalan/c/include > > -I../../nls/include > > -I/home/essfs1/rmysore/xerces-c-src_2_6_0/src/ > > > -I/home/essfs1/rmysore/xerces-c-src_2_6_0/include/xercesc > > -I/home/essfs1/rmysore/xerces-c-src_2_6_0/include/ > > -I/home/essfs1/rmysore/icu/include -o > > ../../obj/XalanDOMStringCache.o > > > /home/essfs1/rmysore/xml-xalan/c/src/xalanc/PlatformSupport/XalanDOMStringCache.cpp > > > "/home/essfs1/rmysore/xml-xalan/c/src/xalanc/Include/XalanVector.hpp", > > line 405.5: 1540-0704 (S) The definitions of "void > > xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanVector<xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanDOMString > > *,struct > > xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bMemoryManagedConstructionTraits<xala..." > > and "void > > xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanVector<xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanDOMString > > *,struct > > xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bMemoryManagedConstructionTraits<xala..." > > have the same linkage signature > > > "insert__Q2_10xalanc_1_911XalanVectorXTPQ2_10xalanc_1_914XalanDOMStringTQ2_10xalanc_1_ \ > 931MemoryManagedConstruction...". > > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Sep 05 12:34:41 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17577 invoked from network); 5 Sep 2005 12:34:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Sep 2005 12:34:41 -0000 Received: (qmail 49681 invoked by uid 500); 5 Sep 2005 12:34:39 -0000 Delivered-To: [email protected] Received: (qmail 49563 invoked by uid 500); 5 Sep 2005 12:34:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 49330 invoked by uid 99); 5 Sep 2005 12:34:36 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Sep 2005 05:34:34 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id BEE3433F for <[email protected]>; Mon, 5 Sep 2005 14:34:33 +0200 (CEST) Message-ID: <[email protected]> Date: Mon, 5 Sep 2005 14:34:33 +0200 (CEST) From: "helion (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (XALANJ-1904) Pb Transformation symbols ISO-8859-1 in XSLTC Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/XALANJ-1904?page=3Dcomments#acti= on_12322660 ]=20 helion commented on XALANJ-1904: -------------------------------- I confirm to you that this bug is fixed in Xalan-Java version 2.7.0 > Pb Transformation symbols ISO-8859-1 in XSLTC > --------------------------------------------- > > Key: XALANJ-1904 > URL: http://issues.apache.org/jira/browse/XALANJ-1904 > Project: XalanJ2 > Type: Bug > Components: XSLTC > Versions: 2.6 > Environment: Operating System: Windows NT/2K > Platform: PC > Reporter: helion > Assignee: Xalan Developers Mailing List > Attachments: Test.java > > Xalan 2.6 transforms some symbols (like =C3=83=C2=A9 or =C3=83=C2=A8) gen= erated in script tag when i=20 > use XSLTC. > In a test's project in java, i transform a file text.xml with text.xsl an= d=20 > generate test.html. > The files test.xml and test.xsl are described here:=20 > -------------------------------------------------------------------------= ------- > ------ > File test.xml : > <?xml version=3D"1.0" encoding=3D"ISO-8859-1"?> > <page></page> > -------------------------------------------------------------------------= ------- > ------ > File test.xsl : > <?xml version=3D"1.0" encoding=3D"ISO-8859-1"?> > <xsl:stylesheet version=3D"1.1" xmlns:xsl=3D"http://www.w3.org/1999/XSL/T= ransform"> > =20 > <xsl:output method=3D"html" version=3D"1.0" indent=3D"yes" encoding=3D"= ISO-8859-1"=20 > media-type=3D"text/html"/> > <xsl:strip-space elements=3D"*"/> > <xsl:template match=3D"/"> > <html> > <head> > <script language=3D"Javascript1.3"> > // on g=C3=83=C2=A9n=C3=83=C2=A8re une ligne de commentaire javascrip= t > </script> > </head> > <body> > on g=C3=83=C2=A9n=C3=83=C2=A8re du texte > </body> > </html> > </xsl:template> > <xsl:template match=3D"text()"/> > </xsl:stylesheet> > -------------------------------------------------------------------------= ------- > ------ > when i use Xalan in XSLT (interpreted), the file text.html is correct. Th= e=20 > accents =C3=83=C2=A9 a =C3=83=C2=A8 aren't modified in script tag > <html> > <head> > <META http-equiv=3D"Content-Type" content=3D"text/html; charset=3DISO-885= 9-1"> > <script language=3D"Javascript1.3"> > // on g=C3=83=C2=A9n=C3=83=C2=A8re une ligne de commentaire javascrip= t > </script> > </head> > <body> > on g&eacute;n&egrave;re du texte > </body> > </html> > -------------------------------------------------------------------------= ------- > ------ > But when i use Xalan in XSLTC (compiled), the file text.html isn't correc= t. The=20 > accents =C3=83=C2=A9 a =C3=83=C2=A8 are modified in entity codes. > <html> > <head> > <META http-equiv=3D"Content-Type" content=3D"text/html; charset=3DISO-885= 9-1"> > <script language=3D"Javascript1.3"> > // on g&#233;n&#232;re une ligne de commentaire javascript > </script> > </head> > <body> > on g&eacute;n&egrave;re du texte > </body> > </html> > -------------------------------------------------------------------------= ------- > ------ > How can i do to generate correct code in script tag ? --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Sep 05 18:06:11 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6264 invoked from network); 5 Sep 2005 18:06:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Sep 2005 18:06:10 -0000 Received: (qmail 57433 invoked by uid 500); 5 Sep 2005 18:06:10 -0000 Delivered-To: [email protected] Received: (qmail 57150 invoked by uid 500); 5 Sep 2005 18:06:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 57131 invoked by uid 99); 5 Sep 2005 18:06:08 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Sep 2005 11:06:08 -0700 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO ns2.printsoft.cz) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Sep 2005 11:06:20 -0700 Received: (qmail 24190 invoked by uid 7797); 5 Sep 2005 18:06:03 -0000 Received: from unknown (HELO linux-2.printsoft.cz) (161.129.204.104) by ns2.printsoft.cz with SMTP; 5 Sep 2005 18:06:03 -0000 Content-Type: text/plain; charset="us-ascii" From: =?iso-8859-2?q?V=EDt=ECzslav=20Ko=B9ina?= <[email protected]> Reply-To: [email protected] Organization: PrintSoft =?utf-8?q?=C4=8Cesk=C3=A1=20republika?= s.r.o. To: [email protected] Subject: Problem with compile Xalan 1.9 with ICU on linux Date: Mon, 5 Sep 2005 20:06:03 +0200 User-Agent: KMail/1.4.3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Can anybody help me. Thank Vitek Kosina mkdir -p ../../../nls/icu make[2]: Leaving directory `/usr/src/redhat/BUILD/xml-xalan/c/src/xalanc/= Utils' make -C Utils locale make[2]: Entering directory `/usr/src/redhat/BUILD/xml-xalan/c/src/xalanc= /Utils' make -C MsgCreator make[3]: Entering directory `/usr/src/redhat/BUILD/xml-xalan/c/src/xalanc= /Utils/MsgCreator' g++ -O2 -DNDEBUG -I/opt/pas/lib/include -fno-elide-constructors -Wall = -fPIC -DLINUX -D_REENTRANT -DXALAN_ICU_MSG_LOADER -c -I/usr/src/redhat/BU= ILD/xml-xalan/c/src -I/usr/src/redhat/BUILD/xml-xalan/c/include -I../../.= =2E/../nls/include -I/opt/pas/src/ -I/opt/pas/include/xercesc -I/opt/pas/= include/ -o ../../../../obj/MsgFileOutputStream.o /usr/src/redhat/BUILD/= xml-xalan/c/src/xalanc/Utils/MsgCreator/MsgFileOutputStream.cpp g++ -O2 -DNDEBUG -I/opt/pas/lib/include -fno-elide-constructors -Wall = -fPIC -DLINUX -D_REENTRANT -DXALAN_ICU_MSG_LOADER -c -I/usr/src/redhat/BU= ILD/xml-xalan/c/src -I/usr/src/redhat/BUILD/xml-xalan/c/include -I../../.= =2E/../nls/include -I/opt/pas/src/ -I/opt/pas/include/xercesc -I/opt/pas/= include/ -o ../../../../obj/ICUResHandler.o /usr/src/redhat/BUILD/xml-xa= lan/c/src/xalanc/Utils/MsgCreator/ICUResHandler.cpp g++ -O2 -DNDEBUG -I/opt/pas/lib/include -fno-elide-constructors -Wall = -fPIC -DLINUX -D_REENTRANT -DXALAN_ICU_MSG_LOADER -c -I/usr/src/redhat/BU= ILD/xml-xalan/c/src -I/usr/src/redhat/BUILD/xml-xalan/c/include -I../../.= =2E/../nls/include -I/opt/pas/src/ -I/opt/pas/include/xercesc -I/opt/pas/= include/ -o ../../../../obj/InMemHandler.o /usr/src/redhat/BUILD/xml-xal= an/c/src/xalanc/Utils/MsgCreator/InMemHandler.cpp g++ -O2 -DNDEBUG -I/opt/pas/lib/include -fno-elide-constructors -Wall = -fPIC -DLINUX -D_REENTRANT -DXALAN_ICU_MSG_LOADER -c -I/usr/src/redhat/BU= ILD/xml-xalan/c/src -I/usr/src/redhat/BUILD/xml-xalan/c/include -I../../.= =2E/../nls/include -I/opt/pas/src/ -I/opt/pas/include/xercesc -I/opt/pas/= include/ -o ../../../../obj/MsgCreator.o /usr/src/redhat/BUILD/xml-xalan= /c/src/xalanc/Utils/MsgCreator/MsgCreator.cpp In file included from /opt/pas/include/xercesc/framework/psvi/XSModel.hpp= :29, from /opt/pas/include/xercesc/framework/XMLGrammarPool.h= pp:27, from /opt/pas/include/xercesc/validators/common/GrammarR= esolver.hpp:24, from /opt/pas/include/xercesc/internal/XMLScanner.hpp:36= , from /opt/pas/include/xercesc/internal/VecAttributesImpl= =2Ehpp:28, from /opt/pas/include/xercesc/parsers/SAX2XMLReaderImpl.= hpp:27, from /opt/pas/include/xercesc/sax2/XMLReaderFactory.hpp:= 24, from /usr/src/redhat/BUILD/xml-xalan/c/src/xalanc/Utils/= MsgCreator/MsgCreator.cpp:23: /opt/pas/include/xercesc/validators/schema/SchemaElementDecl.hpp: In memb= er function `virtual bool xercesc_2_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bSchemaElementDeclacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bisGlobalDecl() const': /opt/pas/include/xercesc/validators/schema/SchemaElementDecl.hpp:508: war= ning: comparison between signed and unsigned integer expressions g++ -O2 -DNDEBUG -I/opt/pas/lib/include -fno-elide-constructors -Wall = -fPIC -DLINUX -D_REENTRANT -DXALAN_ICU_MSG_LOADER -c -I/usr/src/redhat/BU= ILD/xml-xalan/c/src -I/usr/src/redhat/BUILD/xml-xalan/c/include -I../../.= =2E/../nls/include -I/opt/pas/src/ -I/opt/pas/include/xercesc -I/opt/pas/= include/ -o ../../../../obj/NLSHandler.o /usr/src/redhat/BUILD/xml-xalan= /c/src/xalanc/Utils/MsgCreator/NLSHandler.cpp g++ -O2 -DNDEBUG -I/opt/pas/lib/include -fno-elide-constructors -Wall = -fPIC -DLINUX -D_REENTRANT -DXALAN_ICU_MSG_LOADER -c -I/usr/src/redhat/BU= ILD/xml-xalan/c/src -I/usr/src/redhat/BUILD/xml-xalan/c/include -I../../.= =2E/../nls/include -I/opt/pas/src/ -I/opt/pas/include/xercesc -I/opt/pas/= include/ -o ../../../../obj/SAX2Handler.o /usr/src/redhat/BUILD/xml-xala= n/c/src/xalanc/Utils/MsgCreator/SAX2Handler.cpp g++ -DLINUX -fPIC -DXALAN_ICU_MSG_LOADER -Wl,-rpath,/opt/pas/lib/lib \ -L/opt/pas/lib -lxerces-c ../../../../obj/MsgFileOutputStream.o ../../.= =2E/../obj/ICUResHandler.o ../../../../obj/InMemHandler.o ../../../../obj= /MsgCreator.o ../../../../obj/NLSHandler.o ../../../../obj/SAX2Handler.o = -o ../../../../bin/MsgCreator make[3]: Leaving directory `/usr/src/redhat/BUILD/xml-xalan/c/src/xalanc/= Utils/MsgCreator' =2E./../../bin/MsgCreator /usr/src/redhat/BUILD/xml-xalan/c/src/xalanc/NL= S/en_US/XalanMsg_en_US.xlf -TYPE ICU -LOCALE en_US Could not load a transcoding service make[2]: *** [../../../nls/icu/en_US.txt] Error 255 make[2]: Leaving directory `/usr/src/redhat/BUILD/xml-xalan/c/src/xalanc/= Utils' make[1]: *** [locale] Error 2 make[1]: Leaving directory `/usr/src/redhat/BUILD/xml-xalan/c/src/xalanc' make: *** [all] Error 2 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQFDHIkLN4NXdumRQpERAg2NAKCnnkr161vzsKd/Nh6QSOtIjGwRlACg5W8h alkYrILbIjZQKdGl1jtb79M=3D =3DSf17 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Sep 06 10:03:37 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64603 invoked from network); 6 Sep 2005 10:03:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Sep 2005 10:03:36 -0000 Received: (qmail 94304 invoked by uid 500); 6 Sep 2005 10:03:35 -0000 Delivered-To: [email protected] Received: (qmail 94270 invoked by uid 500); 6 Sep 2005 10:03:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 94256 invoked by uid 99); 6 Sep 2005 10:03:33 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Sep 2005 03:03:32 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 7A847353 for <[email protected]>; Tue, 6 Sep 2005 12:03:31 +0200 (CEST) Message-ID: <[email protected]> Date: Tue, 6 Sep 2005 12:03:31 +0200 (CEST) From: "arnaud (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (XALANJ-2193) nodeset disappeared after xsl:apply-templates In-Reply-To: <{{EMAIL+PHONE}}> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/XALANJ-2193?page=comments#action_12322722 ] arnaud commented on XALANJ-2193: -------------------------------- what is currieux, it is when I use the function document() in the stylesheet, the problem disappear. <xsl:param name="test" select="document('')" /> > nodeset disappeared after xsl:apply-templates > --------------------------------------------- > > Key: XALANJ-2193 > URL: http://issues.apache.org/jira/browse/XALANJ-2193 > Project: XalanJ2 > Type: Bug > Components: XSLTC > Versions: 2.6, 2.7 > Environment: windows XP, j2sdk1.4.2_06, xsltc > Reporter: arnaud > Priority: Blocker > > Hello, > I have a problem with a stylesheet in xsltc mode. > The test of presence of nodes of a variable fails so beforehand one made a xsl:apply-templates on this variable. > Here a testcase to reproduce the problem. > ------------------- > <?xml version="1.0" encoding="ISO-8859-1"?> > <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> > <xsl:template match="/"> > <xsl:apply-templates select="flux/source/table"> > <xsl:with-param name="noeud" select="flux/table[nom='tableaux']/id" /> > </xsl:apply-templates> > </xsl:template> > <xsl:template match="table"> > <xsl:param name="noeud" /> > <xsl:apply-templates select="$noeud" /> > <xsl:choose> > <xsl:when test="$noeud">OK</xsl:when> > <xsl:otherwise>KO</xsl:otherwise> > </xsl:choose> > </xsl:template> > <xsl:template match="*" /> > </xsl:stylesheet> > --------------------- > <?xml version="1.0" encoding="ISO-8859-1"?> > <flux> > <source> > <table/> > </source> > <table> > <nom>tableaux</nom> > <id>test</id> > </table> > </flux> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Sep 06 15:37:59 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92986 invoked from network); 6 Sep 2005 15:37:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Sep 2005 15:37:59 -0000 Received: (qmail 11952 invoked by uid 500); 6 Sep 2005 15:37:57 -0000 Delivered-To: [email protected] Received: (qmail 11903 invoked by uid 500); 6 Sep 2005 15:37:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 11889 invoked by uid 99); 6 Sep 2005 15:37:56 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Sep 2005 08:37:56 -0700 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_30_40,HTML_MESSAGE,SPF_HELO_FAIL X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO e6.ny.us.ibm.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Sep 2005 08:38:08 -0700 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [161.129.204.104]) by e6.ny.us.ibm.com (8.12.11/8.12.11) with ESMTP id j86FbqFO011237 for <[email protected]>; Tue, 6 Sep 2005 11:37:52 -0400 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [161.129.204.104]) by d01relay02.pok.ibm.com (8.12.10/NCO/VERS6.7) with ESMTP id j86FbqOt095040 for <[email protected]>; Tue, 6 Sep 2005 11:37:52 -0400 Received: from d01av03.pok.ibm.com (loopback [161.129.204.104]) by d01av03.pok.ibm.com (8.12.11/8.13.3) with ESMTP id j86FbqTs008680 for <[email protected]>; Tue, 6 Sep 2005 11:37:52 -0400 Received: from d25ml04.torolab.ibm.com (d25ml04.torolab.ibm.com [161.129.204.104]) by d01av03.pok.ibm.com (8.12.11/8.12.11) with ESMTP id j86FbqKC008663 for <[email protected]>; Tue, 6 Sep 2005 11:37:52 -0400 In-Reply-To: <[email protected]> To: [email protected] MIME-Version: 1.0 Subject: Re: [VOTE] XalanC++ 1.10 release X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003 Message-ID: <[email protected]> From: Dmitry Hayes <[email protected]> Date: Tue, 6 Sep 2005 11:37:11 -0400 X-MIMETrack: Serialize by Router on D25ML04/25/M/IBM(Release 6.5.4|March 27, 2005) at 09/06/2005 11:37:13, Serialize complete at 09/06/2005 11:37:13 Content-Type: multipart/alternative; boundary="=_alternative 0055CE3285257074_=" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --=_alternative 0055CE3285257074_= Content-Type: text/plain; charset="US-ASCII" Hi ! It definitely possible to support Mingw as we support Cygwin builds. Probably the feature may be scheduled to the next, after XalanC1.10 release. For implementing this we need some level of demand for the feature and a volunteer ready to help us with it . Thanks! Dmitry Hayes [email protected] 09/02/2005 01:37 AM Please respond to xalan-dev To [email protected] cc Subject Re: [VOTE] XalanC++ 1.10 release Hi, would it be possible to add support (as Xerces has) for Windows 2000 compiled with Mingw platform ? Hope this comment is not offlisted. Regards, jima > Dear Apache XalanC++ committers ! > > Since the latest XalanC 1.9 release we have implemented some important > features and fixed many defects. > I'd suggest to schedule the release of XalanC, Version 1.10 on > Oct.7/2005. To facilitate the building and > testing of the release I propose a code freeze date of Sept. 19/2005 > > The main new features in the release will be: > > Support for XML 1.1 and Namespaces in XML 1.1. > Added support for IBM XLC 7.0 compiler on Linux. > Improved and stabilized C pluggable memory management functionality. > Various improvements in Xalan XML serializers for better performance and > stability. > Upgrade from XercesC 2.6 to XercesC 2.7 > Various performance and functionality bug fixes. > > I suggest that we release the same platform/compiler set of binaries for > XalanC 1.10 as the recent XercesC 2.7 release: > > 32 bit packages: > Windows 2000 compiled with MSVC 6.0 SP3 > Redhat Linux AS4 compiled with gcc 3.4 > AIX 5.1 compiled with xlC_r 6.0.0 > Solaris 2.8 compiled with Forte C++ Version 6 Update 2 > HP-UX 11i compiled with aCC A.03.52 with pthreads > > 64 bit packages: > SuSE Linux 8.0 compiled with gcc 3.2 (AMD) > AIX 5.1 compiled with xlC_r 6.0.0 > Solaris 2.8 compiled with Forte C++ Version 6 Update 2 > HP-UX 11i compiled with aCC A.03.52 with pthreads > > > > Dear committers, if the date and the content of the release seems to be > sufficient, please vote for the release! > > Here is my +1 > > Dmitry Hayes > XSLT Development > IBM Toronto Lab > Phone: 840.246.3243 > E-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --=_alternative 0055CE3285257074_= Content-Type: text/html; charset="US-ASCII" <br><font size=2 face="sans-serif">Hi ! </font> <br><font size=2 face="sans-serif">It definitely possible to support Mingw as we support Cygwin builds. </font> <br><font size=2 face="sans-serif">Probably the feature may be scheduled to the next, after XalanC1.10 release.</font> <br><font size=2 face="sans-serif">For implementing this we need &nbsp;some level of demand for the feature and a volunteer ready to help us with it .</font> <br><font size=2 face="sans-serif">Thanks!</font> <br><font size=2 face="sans-serif">Dmitry Hayes<br> </font> <br> <br> <br> <table width=100%> <tr valign=top> <td width=40%><font size=1 face="sans-serif"><b>[email protected]</b> </font> <p><font size=1 face="sans-serif">09/02/2005 01:37 AM</font> <table border> <tr valign=top> <td bgcolor=white> <div align=center><font size=1 face="sans-serif">Please respond to<br> xalan-dev</font></div></table> <br> <td width=59%> <table width=100%> <tr> <td> <div align=right><font size=1 face="sans-serif">To</font></div> <td valign=top><font size=1 face="sans-serif">[email protected]</font> <tr> <td> <div align=right><font size=1 face="sans-serif">cc</font></div> <td valign=top> <tr> <td> <div align=right><font size=1 face="sans-serif">Subject</font></div> <td valign=top><font size=1 face="sans-serif">Re: [VOTE] XalanC++ 1.10 release</font></table> <br> <table> <tr valign=top> <td> <td></table> <br></table> <br> <br> <br><font size=2><tt>Hi,<br> <br> would it be possible to add support (as Xerces has) for<br> <br> Windows 2000 compiled with Mingw platform<br> <br> ?<br> <br> Hope this comment is not offlisted.<br> <br> Regards,<br> <br> jima<br> <br> <br> &gt; Dear Apache XalanC++ committers !<br> &gt;<br> &gt; Since the latest XalanC 1.9 release we have implemented some important<br> &gt; features and fixed many defects.<br> &gt; I'd suggest to schedule the release of XalanC, &nbsp;Version 1.10 on<br> &gt; Oct.7/2005. &nbsp; To facilitate the building and<br> &gt; testing of the release I propose a code freeze date of Sept. 19/2005<br> &gt;<br> &gt; The main new features in the release will be:<br> &gt;<br> &gt; Support for XML 1.1 and Namespaces in XML 1.1.<br> &gt; Added support for IBM XLC 7.0 compiler on Linux.<br> &gt; Improved and stabilized C pluggable memory management functionality.<br> &gt; Various improvements in Xalan XML serializers for better performance and<br> &gt; stability.<br> &gt; Upgrade from XercesC 2.6 &nbsp;to XercesC 2.7<br> &gt; Various performance and functionality bug fixes.<br> &gt;<br> &gt; I suggest that we release the same platform/compiler set of binaries for<br> &gt; XalanC 1.10 as the recent XercesC 2.7 release:<br> &gt;<br> &gt; 32 bit packages:<br> &gt; Windows 2000 compiled with MSVC 6.0 SP3<br> &gt; Redhat Linux AS4 compiled with gcc 3.4<br> &gt; AIX 5.1 compiled with xlC_r 6.0.0<br> &gt; Solaris 2.8 compiled with Forte C++ Version 6 Update 2<br> &gt; HP-UX 11i compiled with aCC A.03.52 with pthreads<br> &gt;<br> &gt; 64 bit packages:<br> &gt; SuSE Linux 8.0 compiled with gcc 3.2 (AMD)<br> &gt; AIX 5.1 compiled with xlC_r 6.0.0<br> &gt; Solaris 2.8 compiled with Forte C++ Version 6 Update 2<br> &gt; HP-UX 11i compiled with aCC A.03.52 with pthreads<br> &gt;<br> &gt;<br> &gt;<br> &gt; Dear committers, if the date and the content of the release seems to be<br> &gt; sufficient, please vote for the release!<br> &gt;<br> &gt; Here is my +1<br> &gt;<br> &gt; Dmitry Hayes<br> &gt; XSLT &nbsp;Development<br> &gt; IBM Toronto Lab<br> &gt; Phone: &nbsp;840.246.3243<br> &gt; E-mail: &nbsp;[email protected]<br> <br> <br> <br> <br> <br> ---------------------------------------------------------------------<br> To unsubscribe, e-mail: [email protected]<br> For additional commands, e-mail: [email protected]<br> <br> </tt></font> <br> --=_alternative 0055CE3285257074_=-- From [email protected] Tue Sep 06 18:43:48 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 72577 invoked from network); 6 Sep 2005 18:43:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Sep 2005 18:43:48 -0000 Received: (qmail 28501 invoked by uid 500); 6 Sep 2005 18:43:46 -0000 Delivered-To: [email protected] Received: (qmail 28464 invoked by uid 500); 6 Sep 2005 18:43:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 28450 invoked by uid 99); 6 Sep 2005 18:43:45 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Sep 2005 11:43:45 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,NO_REAL_NAME,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (asf.osuosl.org: transitioning domain of [email protected] does not designate 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO lotus.lotus.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Sep 2005 11:43:58 -0700 Received: from internet1.lotus.com (internet1 [161.129.204.104]) by lotus.lotus.com (8.13.2/8.13.2) with ESMTP id j86IWg6d027199 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK) for <[email protected]>; Tue, 6 Sep 2005 14:32:43 -0400 (EDT) Received: from wtfmail01.lotus.com (wtfmail01.lotus.com [161.129.204.104]) by internet1.lotus.com (8.13.2/8.13.2) with ESMTP id j86Ihes7028319 for <[email protected]>; Tue, 6 Sep 2005 14:43:40 -0400 (EDT) In-Reply-To: <[email protected]> To: [email protected] Subject: Re: [VOTE] XalanC++ 1.10 release MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5 September 26, 2003 From: [email protected] Message-ID: <[email protected]> Date: Tue, 6 Sep 2005 11:41:05 -0700 X-MIMETrack: Serialize by Router on WTFMAIL01/WTF/M/Lotus(Build V70_08142005|August 14, 2005) at 09/06/2005 14:41:16, Serialize complete at 09/06/2005 14:41:16 Content-Type: text/plain; charset="US-ASCII" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > Since the latest XalanC 1.9 release we have implemented some important > features and fixed many defects. I'd suggest to schedule the release of > XalanC, Version 1.10 on Oct.7/2005. To facilitate the building and > testing of the release I propose a code freeze date of Sept. 19/2005 +1 > 32 bit packages: > Windows 2000 compiled with MSVC 6.0 SP3 I would suggest we upgrade to SP5 for this release. Also, we need to plan moving to Visual Studio .NET 2003 for the next release, since Visual C++ 6.0 is out-of-service. Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Sep 06 21:24:36 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37623 invoked from network); 6 Sep 2005 21:24:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Sep 2005 21:24:35 -0000 Received: (qmail 59466 invoked by uid 500); 6 Sep 2005 21:24:33 -0000 Delivered-To: [email protected] Received: (qmail 59348 invoked by uid 500); 6 Sep 2005 21:24:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 59290 invoked by uid 99); 6 Sep 2005 21:24:32 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Sep 2005 14:24:31 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 2CDCE35D for <[email protected]>; Tue, 6 Sep 2005 23:24:30 +0200 (CEST) Message-ID: <[email protected]> Date: Tue, 6 Sep 2005 23:24:30 +0200 (CEST) From: "Marko Strukelj (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (XALANJ-2195) Memory leak in XMLReaderManager Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Memory leak in XMLReaderManager ------------------------------- Key: XALANJ-2195 URL: http://issues.apache.org/jira/browse/XALANJ-2195 Project: XalanJ2 Type: Bug Components: Xalan Versions: 2.7 Reporter: Marko Strukelj In class org.apache.xml.utils.XMLReaderManager getXMLReader() method creates a new XMLReader (i.e. SAXParser) and stores it into ThreadLocal. releaseXMLReader() does not remove (set to null) ThreadLocal thus creating a permanent leak. Unfortunately the size of the cached Reader is typically dependent upon the size of the XML document you process (depends on implementation but this is the case with xerces SAXParser). In heavy load server environments with thread pools of tens and hundreds of threads the server sustains a significant memory leak (hundreds of megabytes - depending on the XML document sizes and number of threads in a thread pools). A fix is trivial: Put the following line at the end of releaseXMLReader method: m_readers.set(null); I wonder, why is reader stored in ThreadLocal in the first place? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Sep 08 20:25:34 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54153 invoked from network); 8 Sep 2005 20:25:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 8 Sep 2005 20:25:34 -0000 Received: (qmail 87713 invoked by uid 500); 8 Sep 2005 20:25:34 -0000 Delivered-To: [email protected] Received: (qmail 87421 invoked by uid 500); 8 Sep 2005 20:25:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 87397 invoked by uid 99); 8 Sep 2005 20:25:32 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Sep 2005 13:25:31 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 53DD4181 for <[email protected]>; Thu, 8 Sep 2005 22:25:30 +0200 (CEST) Message-ID: <[email protected]> Date: Thu, 8 Sep 2005 22:25:30 +0200 (CEST) From: "Eric Everman (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (XALANJ-2196) Unneeded BCEL classes in Xalan.jar (2 jar version) Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Unneeded BCEL classes in Xalan.jar (2 jar version) -------------------------------------------------- Key: XALANJ-2196 URL: http://issues.apache.org/jira/browse/XALANJ-2196 Project: XalanJ2 Type: Bug Components: Xalan Versions: 2.7 Environment: All Reporter: Eric Everman The binary '2 jar' distribution of Xalan includes the BCEL classes in the xalan.jar. These classes are not required for Xalan, only for XMLTC. I marked this bug as 'major' because it prevents xalan 2.7 from being used under Oracle's OC4J J2EE web container, which relies on an older version of BCEL and will crash if the newer version is on the classpath. Note that I was able to get the 2.7 version of xalan to work under OC4J by using a non-public portion of the ant build script to build the xalan.jar without BCEL. This thread on the user's discussion list has slightly more information then this post: http://marc.theaimsgroup.com/?l=xalan-j-users&m=112597125332553 Sarah McNamara claims to have a patch available. Thanks Much, Eric Everman -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Sep 09 18:04:37 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 55943 invoked from network); 9 Sep 2005 18:04:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Sep 2005 18:04:37 -0000 Received: (qmail 34593 invoked by uid 500); 9 Sep 2005 18:04:35 -0000 Delivered-To: [email protected] Received: (qmail 34563 invoked by uid 500); 9 Sep 2005 18:04:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 34543 invoked by uid 99); 9 Sep 2005 18:04:34 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Sep 2005 11:04:33 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id BC58A332 for <[email protected]>; Fri, 9 Sep 2005 20:04:32 +0200 (CEST) Message-ID: <[email protected]> Date: Fri, 9 Sep 2005 20:04:32 +0200 (CEST) From: "Ilene Seelemann (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (XALANJ-2189) xalan:evaluate behavior seems to have changed in 2.7 and this change has broken existing applications In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/XALANJ-2189?page=all ] Ilene Seelemann reassigned XALANJ-2189: --------------------------------------- Assign To: Ilene Seelemann > xalan:evaluate behavior seems to have changed in 2.7 and this change has broken existing applications > ----------------------------------------------------------------------------------------------------- > > Key: XALANJ-2189 > URL: http://issues.apache.org/jira/browse/XALANJ-2189 > Project: XalanJ2 > Type: Bug > Components: Xalan-extensions > Versions: 2.7 > Environment: Windows XP, JDK 1.4.2_08 > Reporter: Rick Bullotta > Assignee: Ilene Seelemann > Priority: Critical > Attachments: Dataset.xml, SubtotalOutput.xml, SubtotalTransform.xsl > > See attached source XML and transform as well as what the correct result should be (when used with Xalan 2.6.x). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Sep 09 19:23:35 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83004 invoked from network); 9 Sep 2005 19:23:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Sep 2005 19:23:35 -0000 Received: (qmail 27949 invoked by uid 500); 9 Sep 2005 19:23:34 -0000 Delivered-To: [email protected] Received: (qmail 27665 invoked by uid 500); 9 Sep 2005 19:23:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 27650 invoked by uid 99); 9 Sep 2005 19:23:32 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Sep 2005 12:23:32 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id C5300332 for <[email protected]>; Fri, 9 Sep 2005 21:23:31 +0200 (CEST) Message-ID: <[email protected]> Date: Fri, 9 Sep 2005 21:23:31 +0200 (CEST) From: "Ilene Seelemann (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (XALANJ-2189) xalan:evaluate behavior seems to have changed in 2.7 and this change has broken existing applications In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/XALANJ-2189?page=comments#action_12323073 ] Ilene Seelemann commented on XALANJ-2189: ----------------------------------------- I need to investigate this further, but it looks like the regression is due to changes made in the org.apache.xpath.operations.Variable#execute method. > xalan:evaluate behavior seems to have changed in 2.7 and this change has broken existing applications > ----------------------------------------------------------------------------------------------------- > > Key: XALANJ-2189 > URL: http://issues.apache.org/jira/browse/XALANJ-2189 > Project: XalanJ2 > Type: Bug > Components: Xalan-extensions > Versions: 2.7 > Environment: Windows XP, JDK 1.4.2_08 > Reporter: Rick Bullotta > Assignee: Ilene Seelemann > Priority: Critical > Attachments: Dataset.xml, SubtotalOutput.xml, SubtotalTransform.xsl > > See attached source XML and transform as well as what the correct result should be (when used with Xalan 2.6.x). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Sep 09 20:56:36 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 16302 invoked from network); 9 Sep 2005 20:56:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Sep 2005 20:56:36 -0000 Received: (qmail 27160 invoked by uid 500); 9 Sep 2005 20:56:34 -0000 Delivered-To: [email protected] Received: (qmail 27101 invoked by uid 500); 9 Sep 2005 20:56:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 27084 invoked by uid 99); 9 Sep 2005 20:56:32 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Sep 2005 13:56:31 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 78696331 for <[email protected]>; Fri, 9 Sep 2005 22:56:30 +0200 (CEST) Message-ID: <[email protected]> Date: Fri, 9 Sep 2005 22:56:30 +0200 (CEST) From: "Joanne Tong (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (XALANJ-2197) newline in xsl:comment Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N newline in xsl:comment ---------------------- Key: XALANJ-2197 URL: http://issues.apache.org/jira/browse/XALANJ-2197 Project: XalanJ2 Type: Bug Components: Serialization Versions: 2.7 Environment: Windows Reporter: Joanne Tong Assigned to: Brian Minchau For the following stylesheet: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match="/"> <LRE><xsl:text>hello &#xA; bye </xsl:text></LRE><xsl:comment><xsl:text>hello &#xA; bye </xsl:text></xsl:comment> </xsl:template> </xsl:stylesheet> The first newline and the second newline in the output are different. They should be the same for any operating environment. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Sep 10 19:18:40 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51290 invoked from network); 10 Sep 2005 19:18:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 10 Sep 2005 19:18:39 -0000 Received: (qmail 64838 invoked by uid 500); 10 Sep 2005 19:18:35 -0000 Delivered-To: [email protected] Received: (qmail 64474 invoked by uid 500); 10 Sep 2005 19:18:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 64456 invoked by uid 99); 10 Sep 2005 19:18:32 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Sep 2005 12:18:31 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 55ACB32C for <[email protected]>; Sat, 10 Sep 2005 21:18:30 +0200 (CEST) Message-ID: <[email protected]> Date: Sat, 10 Sep 2005 21:18:30 +0200 (CEST) From: "David Bertoni (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (XALANC-558) Latest source code does not build with the Intel compiler on Windows Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Latest source code does not build with the Intel compiler on Windows -------------------------------------------------------------------- Key: XALANC-558 URL: http://issues.apache.org/jira/browse/XALANC-558 Project: XalanC Type: Bug Components: XalanC Versions: CurrentCVS Environment: Windows with the Intel compiler Reporter: David Bertoni Assigned to: David Bertoni Priority: Blocker It looks like building with the Intel compiler on Windows with Visual Studio .Net has been broken since 1.9. This patch fixes the problem. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Sep 11 00:25:35 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99548 invoked from network); 11 Sep 2005 00:25:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Sep 2005 00:25:34 -0000 Received: (qmail 13268 invoked by uid 500); 11 Sep 2005 00:25:34 -0000 Delivered-To: [email protected] Received: (qmail 13168 invoked by uid 500); 11 Sep 2005 00:25:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 13154 invoked by uid 99); 11 Sep 2005 00:25:33 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Sep 2005 17:25:31 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 591E7129 for <[email protected]>; Sun, 11 Sep 2005 02:25:30 +0200 (CEST) Message-ID: <[email protected]> Date: Sun, 11 Sep 2005 02:25:30 +0200 (CEST) From: "Dmitry Hayes (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (XALANC-550) The content of README file is obsolete In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/XALANC-550?page=all ] Dmitry Hayes closed XALANC-550: ------------------------------- Resolution: Fixed > The content of README file is obsolete > -------------------------------------- > > Key: XALANC-550 > URL: http://issues.apache.org/jira/browse/XALANC-550 > Project: XalanC > Type: Bug > Components: XalanC > Versions: CurrentCVS > Reporter: Dmitry Hayes > Assignee: Dmitry Hayes > Priority: Minor > Fix For: CurrentCVS > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sun Sep 11 18:33:48 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93924 invoked from network); 11 Sep 2005 18:33:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 11 Sep 2005 18:33:48 -0000 Received: (qmail 86656 invoked by uid 500); 11 Sep 2005 18:33:47 -0000 Delivered-To: [email protected] Received: (qmail 86625 invoked by uid 500); 11 Sep 2005 18:33:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 86610 invoked by uid 99); 11 Sep 2005 18:33:46 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Sep 2005 11:33:45 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 4871427F for <[email protected]>; Sun, 11 Sep 2005 20:33:44 +0200 (CEST) Message-ID: <[email protected]> Date: Sun, 11 Sep 2005 20:33:44 +0200 (CEST) From: "David Bertoni (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (XALANC-559) ElemAttribute has some broken logic Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ElemAttribute has some broken logic ----------------------------------- Key: XALANC-559 URL: http://issues.apache.org/jira/browse/XALANC-559 Project: XalanC Type: Bug Components: XalanC Versions: CurrentCVS Reporter: David Bertoni Assigned to: David Bertoni Fix For: CurrentCVS ElemAttributacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bstartElement() has some broken logic that results in the processor doing more work than necessary in some common cases. I am preparing a patch. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Sep 12 03:44:37 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10874 invoked from network); 12 Sep 2005 03:44:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Sep 2005 03:44:37 -0000 Received: (qmail 90177 invoked by uid 500); 12 Sep 2005 03:44:36 -0000 Delivered-To: [email protected] Received: (qmail 90133 invoked by uid 500); 12 Sep 2005 03:44:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 90119 invoked by uid 99); 12 Sep 2005 03:44:35 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Sep 2005 20:44:33 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id D25C329A for <[email protected]>; Mon, 12 Sep 2005 05:44:32 +0200 (CEST) Message-ID: <[email protected]> Date: Mon, 12 Sep 2005 05:44:32 +0200 (CEST) From: "Sarah McNamara (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (XALANJ-2196) Unneeded BCEL classes in Xalan.jar (2 jar version) In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/XALANJ-2196?page=all ] Sarah McNamara reassigned XALANJ-2196: -------------------------------------- Assign To: Sarah McNamara > Unneeded BCEL classes in Xalan.jar (2 jar version) > -------------------------------------------------- > > Key: XALANJ-2196 > URL: http://issues.apache.org/jira/browse/XALANJ-2196 > Project: XalanJ2 > Type: Bug > Components: Xalan > Versions: 2.7 > Environment: All > Reporter: Eric Everman > Assignee: Sarah McNamara > > The binary '2 jar' distribution of Xalan includes the BCEL classes in the xalan.jar. These classes are not required for Xalan, only for XMLTC. I marked this bug as 'major' because it prevents xalan 2.7 from being used under Oracle's OC4J J2EE web container, which relies on an older version of BCEL and will crash if the newer version is on the classpath. > Note that I was able to get the 2.7 version of xalan to work under OC4J by using a non-public portion of the ant build script to build the xalan.jar without BCEL. > This thread on the user's discussion list has slightly more information then this post: > http://marc.theaimsgroup.com/?l=xalan-j-users&m=112597125332553 > Sarah McNamara claims to have a patch available. > Thanks Much, > Eric Everman -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Sep 12 20:59:41 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22030 invoked from network); 12 Sep 2005 20:59:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Sep 2005 20:59:39 -0000 Received: (qmail 34296 invoked by uid 500); 12 Sep 2005 20:59:34 -0000 Delivered-To: [email protected] Received: (qmail 34206 invoked by uid 500); 12 Sep 2005 20:59:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 34193 invoked by uid 99); 12 Sep 2005 20:59:33 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Sep 2005 13:59:31 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id A769C27E for <[email protected]>; Mon, 12 Sep 2005 22:59:30 +0200 (CEST) Message-ID: <[email protected]> Date: Mon, 12 Sep 2005 22:59:30 +0200 (CEST) From: "Dmitry Hayes (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Assigned: (XALANC-560) Non-ASCII platfroms (like ZOS) can't cast from UTF16 to UTF8 the ASCII-based strings In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/XALANC-560?page=all ] Dmitry Hayes reassigned XALANC-560: ----------------------------------- Assign To: Dmitry Hayes > Non-ASCII platfroms (like ZOS) can't cast from UTF16 to UTF8 the ASCII-based strings > ------------------------------------------------------------------------------------ > > Key: XALANC-560 > URL: http://issues.apache.org/jira/browse/XALANC-560 > Project: XalanC > Type: Bug > Components: XalanC > Versions: CurrentCVS > Environment: zSeries , iSeries > Reporter: Dmitry Hayes > Assignee: Dmitry Hayes > Priority: Critical > Fix For: CurrentCVS > > EBCDIC based platform can't convert the string : > const char XalanXMLSerializerBasacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bUTacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bs_defaultVersionString[] = > { > char(XalanUnicoacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bcharDigit_1), > char(XalanUnicoacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bcharFullStop), > char(XalanUnicoacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bcharDigit_0), > char(0) > }; to the EBCDIC string "1.0" -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Sep 12 20:59:41 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22035 invoked from network); 12 Sep 2005 20:59:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Sep 2005 20:59:40 -0000 Received: (qmail 34539 invoked by uid 500); 12 Sep 2005 20:59:35 -0000 Delivered-To: [email protected] Received: (qmail 34244 invoked by uid 500); 12 Sep 2005 20:59:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 34208 invoked by uid 99); 12 Sep 2005 20:59:33 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Sep 2005 13:59:31 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 3669F27B for <[email protected]>; Mon, 12 Sep 2005 22:59:30 +0200 (CEST) Message-ID: <[email protected]> Date: Mon, 12 Sep 2005 22:59:30 +0200 (CEST) From: "Dmitry Hayes (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (XALANC-560) Non-ASCII platfroms (like ZOS) can't cast from UTF16 to UTF8 the ASCII-based strings Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Non-ASCII platfroms (like ZOS) can't cast from UTF16 to UTF8 the ASCII-based strings ------------------------------------------------------------------------------------- Key: XALANC-560 URL: http://issues.apache.org/jira/browse/XALANC-560 Project: XalanC Type: Bug Components: XalanC Versions: CurrentCVS Environment: zSeries , iSeries Reporter: Dmitry Hayes Priority: Critical Fix For: CurrentCVS EBCDIC based platform can't convert the string : const char XalanXMLSerializerBasacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bUTacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bs_defaultVersionString[] = { char(XalanUnicoacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bcharDigit_1), char(XalanUnicoacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bcharFullStop), char(XalanUnicoacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bcharDigit_0), char(0) }; to the EBCDIC string "1.0" -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Sep 12 22:46:43 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60372 invoked from network); 12 Sep 2005 22:46:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Sep 2005 22:46:42 -0000 Received: (qmail 36142 invoked by uid 500); 12 Sep 2005 22:46:36 -0000 Delivered-To: [email protected] Received: (qmail 35703 invoked by uid 500); 12 Sep 2005 22:46:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 35689 invoked by uid 99); 12 Sep 2005 22:46:32 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Sep 2005 15:46:31 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id C1E5B284 for <[email protected]>; Tue, 13 Sep 2005 00:46:30 +0200 (CEST) Message-ID: <[email protected]> Date: Tue, 13 Sep 2005 00:46:30 +0200 (CEST) From: "Brian Minchau (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (XALANJ-2198) The serializer's Encodings.properties file is out of date Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N The serializer's Encodings.properties file is out of date --------------------------------------------------------- Key: XALANJ-2198 URL: http://issues.apache.org/jira/browse/XALANJ-2198 Project: XalanJ2 Type: Improvement Versions: 2.7 Reporter: Brian Minchau The serializer's Encodings.properties file is out of date. Each line in this properties file is of this form: javaName mimeName1,mimeName2,...,mimeNameN 0xabdc The various mime names are names that can appear for the value of the encoding in the stylesheet, and all are aliases of the encoding. The javaName is the name used internally by our XSLT implementation when opening the writer, in our case the implementation is in Java so we need a name that the JRE understands when doing this: new OutputStreamWriter(OutputStream, javaName); The last thing on the line is the hex value of the code point of the largest code point in the encoding. The largest code point value is no longer used and should be dropped. There are many many encodings missing when you look compare to http://www.iana.org/assignments/character-sets. For example consider this encoding on that web page: Name: IBM275 [RFC1345,KXS2] MIBenum: 2032 Source: IBM NLS RM Vol2 SE09-8002-01, March 1990 Alias: EBCDIC-BR Alias: cp275 Alias: csIBM275 The "Name:" value is the primary name of the encoding. It is unclear to me if the "Name:" field has meaning for us. Is it ever the javaName or a mime name? Which one of the aliases the javaName? In most cases we do consider one of the aliases to be the javaName. Which one? Are all aliases, other than perhaps the javaName, mime names that can appear in stylesheets? What about the "MIBenum:" field. I've found that on my JRE, for a large number of encodings, that it to can be used as a javaName to create the OutputStreamWriter. In this case the string "2032" could be used. Does that make it a mime name? If anyone can shed light on how to extract information from http://www.iana.org/assignments/character-sets or other sources, in order to get this properties file correct, and current, it would be appreciated. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Sep 14 09:10:00 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 80940 invoked from network); 14 Sep 2005 09:10:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Sep 2005 09:10:00 -0000 Received: (qmail 497 invoked by uid 500); 14 Sep 2005 09:09:58 -0000 Delivered-To: [email protected] Received: (qmail 333 invoked by uid 500); 14 Sep 2005 09:09:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 320 invoked by uid 99); 14 Sep 2005 09:09:57 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Sep 2005 02:09:55 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 8E2CE139 for <[email protected]>; Wed, 14 Sep 2005 11:09:54 +0200 (CEST) Message-ID: <[email protected]> Date: Wed, 14 Sep 2005 11:09:54 +0200 (CEST) From: "Jens Elkner (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (XALANJ-2199) Xalan 2.7.0 Error parsing XPath expression Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Xalan 2.7.0 Error parsing XPath expression ------------------------------------------ Key: XALANJ-2199 URL: http://issues.apache.org/jira/browse/XALANJ-2199 Project: XalanJ2 Type: Bug Components: XSLTC Versions: 2.7 Environment: #---- BEGIN writeEnvironmentReport($Revision: 1.29 $): Useful stuff found: ---- version.DOM.draftlevel=2.0fd java.class.path=/usr/apps/xalan/serializer.jar:/usr/apps/xalan/xalan.jar:/usr/apps/xalan/xercesImpl.jar:/usr/apps/xalan/xml-apis.jar:/usr/apps/docbook/xsl/1.69.1/extensions/xalan25.jar version.JAXP=1.1 or higher java.ext.dirs=/usr/apps/jdk1.5.0_04/jre/lib/ext version.xerces2=Xerces-J 2.7.1 version.xerces1=not-present version.xalan2_2=Xalan Java 2.7.0 version.xalan1=not-present version.ant=not-present java.version=1.5.0_04 version.DOM=2.0 version.crimson=not-present sun.boot.class.path=/usr/apps/jdk1.5.0_04/jre/lib/rt.jar:/usr/apps/jdk1.5.0_04/jre/lib/i18n.jar:/usr/apps/jdk1.5.0_04/jre/lib/sunrsasign.jar:/usr/apps/jdk1.5.0_04/jre/lib/jsse.jar:/usr/apps/jdk1.5.0_04/jre/lib/jce.jar:/usr/apps/jdk1.5.0_04/jre/lib/charsets.jar:/usr/apps/jdk1.5.0_04/jre/classes #---- BEGIN Listing XML-related jars in: foundclasses.java.class.path ---- serializer.jar-apparent.version=serializer.jar present-unknown-version serializer.jar-path=/usr/apps/xalan/serializer.jar xalan.jar-path=/usr/apps/xalan/xalan.jar xercesImpl.jar-apparent.version=xercesImpl.jar from Xerces-J-bin.2.7.1 xercesImpl.jar-path=/usr/apps/xalan/xercesImpl.jar xml-apis.jar-apparent.version=xml-apis.jar from head branch of xml-commons, tag: xml-commons-external_1_3_02 xml-apis.jar-path=/usr/apps/xalan/xml-apis.jar #----- END Listing XML-related jars in: foundclasses.java.class.path ----- version.SAX=2.0 version.xalan2x=Xalan Java 2.7.0 #----- END writeEnvironmentReport: Useful properties found: ----- # YAHOO! Your environment seems to be OK. Reporter: Jens Elkner Priority: Blocker I'm trying to compile docbook XSL 1.69.1, however, xsltc fails with: Compiler errors: Syntax error in '* or $generate.index != 0'. file:/usr/apps/docbook/xsl/1.69.1/xhtml/autotoc.xsl: line 294: Error parsing XPath expression '* or $generate.index != 0'. file:/usr/apps/docbook/xsl/1.69.1/xhtml/autotoc.xsl: line 294: Required attribute 'test' is missing. Syntax error in '* or $generate.index != 0'. file:/usr/apps/docbook/xsl/1.69.1/xhtml/autotoc.xsl: line 401: Error parsing XPath expression '* or $generate.index != 0'. file:/usr/apps/docbook/xsl/1.69.1/xhtml/autotoc.xsl: line 401: Required attribute 'test' is missing. But the test attributes are there (e.g. autotoc.xsl): 294: <xsl:if test="* or $generate.index != 0"> ... But transformation with the "normal" processor, which uses this template as well works. Refs: http://mesh.dl.sourceforge.net/sourceforge/docbook/docbook-xsl-1.69.1.tar.gz http://archive.apache.org/dist/xml/xalan-j/xalan-j_2_7_0-bin.tar.gz Used commandline: java -cp /usr/apps/xalan/serializer.jar:/usr/apps/xalan/xalan.jar:/usr/apps/xalan/xercesImpl.jar:/usr/apps/xalan/xml-apis.jar:/usr/apps/docbook/xsl/1.69.1/extensions/xalan25.jar org.apache.xalan.xsltc.cmdline.Compile -x /usr/apps/docbook/xsl/1.69.1/xhtml/chunk.xsl -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Sep 14 09:48:59 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94558 invoked from network); 14 Sep 2005 09:48:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 14 Sep 2005 09:48:58 -0000 Received: (qmail 46591 invoked by uid 500); 14 Sep 2005 09:48:57 -0000 Delivered-To: [email protected] Received: (qmail 46560 invoked by uid 500); 14 Sep 2005 09:48:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 46547 invoked by uid 99); 14 Sep 2005 09:48:57 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Sep 2005 02:48:55 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id B021A137 for <[email protected]>; Wed, 14 Sep 2005 11:48:54 +0200 (CEST) Message-ID: <[email protected]> Date: Wed, 14 Sep 2005 11:48:54 +0200 (CEST) From: "Jens Elkner (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (XALANJ-2200) cmdline switch -xinclude Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N cmdline switch -xinclude ------------------------ Key: XALANJ-2200 URL: http://issues.apache.org/jira/browse/XALANJ-2200 Project: XalanJ2 Type: Wish Components: Xalan-CmdLine Versions: 2.7 Environment: 2.7.0 Reporter: Jens Elkner Priority: Trivial Would be nice, if xalan would have a convinience cmd line switch -xinclude (e.g. like xsltproc) to allow XInclude processing without big trouble. Implementation could be, something like that at startup: if (switch.equals("xinclude")) { System.setProperty("org.apache.xerces.xni.parser.XMLParserConfiguration", "org.apache.xerces.parsers.XIncludeParserConfiguration"); } -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Sep 15 14:46:05 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45261 invoked from network); 15 Sep 2005 14:46:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Sep 2005 14:46:04 -0000 Received: (qmail 11163 invoked by uid 500); 15 Sep 2005 14:46:03 -0000 Delivered-To: [email protected] Received: (qmail 11116 invoked by uid 500); 15 Sep 2005 14:46:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 11103 invoked by uid 99); 15 Sep 2005 14:46:02 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Sep 2005 07:46:00 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 99CC513F for <[email protected]>; Thu, 15 Sep 2005 16:45:59 +0200 (CEST) Message-ID: <[email protected]> Date: Thu, 15 Sep 2005 16:45:59 +0200 (CEST) From: "Sarah McNamara (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (XALANJ-2184) cp850, cp860 serialization fails In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/XALANJ-2184?page=comments#action_12329430 ] Sarah McNamara commented on XALANJ-2184: ---------------------------------------- I have reviewed the patch and I approve. > cp850, cp860 serialization fails > -------------------------------- > > Key: XALANJ-2184 > URL: http://issues.apache.org/jira/browse/XALANJ-2184 > Project: XalanJ2 > Type: Bug > Components: Serialization > Versions: 2.7 > Environment: Windows and Linux, jdk1.5 > Reporter: Pedro Alves > Assignee: Brian Minchau > Priority: Critical > Attachments: cp-850-encoding.tgz, patch.txt, testcase-kaapa-20050804.zip > > Xalan fails serialization for some encodings. Tested with cp850 and cp860. Testcases are included -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Sep 15 16:04:59 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77785 invoked from network); 15 Sep 2005 16:04:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Sep 2005 16:04:59 -0000 Received: (qmail 24277 invoked by uid 500); 15 Sep 2005 16:04:58 -0000 Delivered-To: [email protected] Received: (qmail 24228 invoked by uid 500); 15 Sep 2005 16:04:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 24214 invoked by uid 99); 15 Sep 2005 16:04:56 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Sep 2005 09:04:55 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 6D53913F for <[email protected]>; Thu, 15 Sep 2005 18:04:54 +0200 (CEST) Message-ID: <[email protected]> Date: Thu, 15 Sep 2005 18:04:54 +0200 (CEST) From: "Ashley Zinyk (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (XALANC-561) Change version numbers and documentation for the 1.10 release Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Change version numbers and documentation for the 1.10 release ------------------------------------------------------------- Key: XALANC-561 URL: http://issues.apache.org/jira/browse/XALANC-561 Project: XalanC Type: Task Components: XalanC Versions: 1.10 Environment: All Reporter: Ashley Zinyk Assigned to: Ashley Zinyk Fix For: 1.10 Unix makefiles and Windows project & resource files need to be alteredd to work with Xerces2.7 Version.hpp and Version.include should be updated to 1.10 Documentation changes: - Fixes for Version number changes - Add a link to the Xalan Charter -"Home" link in the navigation frame should point to xalan.apache.org instead of xml.apache.org - Update the list of defects fixed since 1.9 release - Update the "what's new" section" with 1.10's new features -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Sep 15 17:57:59 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26002 invoked from network); 15 Sep 2005 17:57:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Sep 2005 17:57:59 -0000 Received: (qmail 4785 invoked by uid 500); 15 Sep 2005 17:57:58 -0000 Delivered-To: [email protected] Received: (qmail 4758 invoked by uid 500); 15 Sep 2005 17:57:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 4745 invoked by uid 99); 15 Sep 2005 17:57:57 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Sep 2005 10:57:56 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id B197613F for <[email protected]>; Thu, 15 Sep 2005 19:57:54 +0200 (CEST) Message-ID: <[email protected]> Date: Thu, 15 Sep 2005 19:57:54 +0200 (CEST) From: "Brian Minchau (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (XALANJ-2184) cp850, cp860 serialization fails In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/XALANJ-2184?page=all ] Brian Minchau resolved XALANJ-2184: ----------------------------------- Fix Version: Latest Development Code Resolution: Fixed Patch was applied to CVS HEAD branch. Resolving as fixed in "Latest Development Code" > cp850, cp860 serialization fails > -------------------------------- > > Key: XALANJ-2184 > URL: http://issues.apache.org/jira/browse/XALANJ-2184 > Project: XalanJ2 > Type: Bug > Components: Serialization > Versions: 2.7 > Environment: Windows and Linux, jdk1.5 > Reporter: Pedro Alves > Assignee: Brian Minchau > Priority: Critical > Fix For: Latest Development Code > Attachments: cp-850-encoding.tgz, patch.txt, testcase-kaapa-20050804.zip > > Xalan fails serialization for some encodings. Tested with cp850 and cp860. Testcases are included -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Sep 15 20:51:40 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 19720 invoked from network); 15 Sep 2005 20:51:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Sep 2005 20:51:39 -0000 Received: (qmail 94316 invoked by uid 500); 15 Sep 2005 20:51:39 -0000 Delivered-To: [email protected] Received: (qmail 94029 invoked by uid 500); 15 Sep 2005 20:51:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 94016 invoked by uid 99); 15 Sep 2005 20:51:38 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Sep 2005 13:51:38 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO server1.livestoryboard.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Sep 2005 13:51:47 -0700 Received: from [161.129.204.104] (livestoryboard.com [161.129.204.104] (may be forged)) (authenticated) by server1.livestoryboard.com (8.11.6/8.11.6) with ESMTP id j8FKqsg05620 for <[email protected]>; Thu, 15 Sep 2005 15:52:55 -0500 Message-ID: <[email protected]> Date: Thu, 15 Sep 2005 16:51:34 -0400 From: Robert Koberg <[email protected]> User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: [email protected] Subject: using DTM (or ?) to pass a source to a transform Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I am working on some specialized Ant types and tasks for Xalan-j to do some XSL transformations in a build. If I can, I want to create an Ant type that will keep an optimized DOM (DTM) around for use in multiple targets/tasks. I will create a custom task to handle the transformation using the optimized DOM as some kind of source. - I see the DTM is built from a Source object. Can I store a DTM for multiple transformations (that will occur one after the other - not concurrently)? The rest of the questions are dependant on the above question :) - If I can reuse the DTM, is there some way I can pass it in to a JAXP transformation (i.e. a DTMSource or some such thing)? - Or will I need to extend TransformerImpl and override the transform method? - I see I can use DOM2DTM to getDocument() off of DTMDefaultBase. How would I construct it? new DOM2DTM( ?new DTMManagerDefault()?, myDOMSource, ?anyInt?, myExtendedTransformerImpl, new XMLStringFactory(), true ); thanks for any advice, -Rob --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Sep 16 17:31:59 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85080 invoked from network); 16 Sep 2005 17:31:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Sep 2005 17:31:59 -0000 Received: (qmail 35638 invoked by uid 500); 16 Sep 2005 17:31:58 -0000 Delivered-To: [email protected] Received: (qmail 35425 invoked by uid 500); 16 Sep 2005 17:31:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 35412 invoked by uid 99); 16 Sep 2005 17:31:56 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Sep 2005 10:31:56 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 65CF5137 for <[email protected]>; Fri, 16 Sep 2005 19:31:54 +0200 (CEST) Message-ID: <[email protected]> Date: Fri, 16 Sep 2005 19:31:54 +0200 (CEST) From: "Ashley Zinyk (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (XALANC-560) Non-ASCII platfroms (like ZOS) can't cast from UTF16 to UTF8 the ASCII-based strings In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/XALANC-560?page=comments#action_12329566 ] Ashley Zinyk commented on XALANC-560: ------------------------------------- The patch looks fine to me. > Non-ASCII platfroms (like ZOS) can't cast from UTF16 to UTF8 the ASCII-based strings > ------------------------------------------------------------------------------------ > > Key: XALANC-560 > URL: http://issues.apache.org/jira/browse/XALANC-560 > Project: XalanC > Type: Bug > Components: XalanC > Versions: CurrentCVS > Environment: zSeries , iSeries > Reporter: Dmitry Hayes > Assignee: Dmitry Hayes > Priority: Critical > Fix For: CurrentCVS > Attachments: patch.txt > > EBCDIC based platform can't convert the string : > const char XalanXMLSerializerBasacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bUTacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bs_defaultVersionString[] = > { > char(XalanUnicoacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bcharDigit_1), > char(XalanUnicoacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bcharFullStop), > char(XalanUnicoacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bcharDigit_0), > char(0) > }; to the EBCDIC string "1.0" -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Sep 16 23:47:59 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 27787 invoked from network); 16 Sep 2005 23:47:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 16 Sep 2005 23:47:59 -0000 Received: (qmail 5912 invoked by uid 500); 16 Sep 2005 23:47:57 -0000 Delivered-To: [email protected] Received: (qmail 5875 invoked by uid 500); 16 Sep 2005 23:47:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 5857 invoked by uid 99); 16 Sep 2005 23:47:56 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Sep 2005 16:47:56 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 615C1140 for <[email protected]>; Sat, 17 Sep 2005 01:47:54 +0200 (CEST) Message-ID: <[email protected]> Date: Sat, 17 Sep 2005 01:47:54 +0200 (CEST) From: "David Bertoni (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (XALANC-562) Makefile.incl.in uses an unnecessary link option for AIX Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Makefile.incl.in uses an unnecessary link option for AIX -------------------------------------------------------- Key: XALANC-562 URL: http://issues.apache.org/jira/browse/XALANC-562 Project: XalanC Type: Bug Components: XalanC Versions: CurrentCVS Reporter: David Bertoni Assigned to: David Bertoni Priority: Minor Attachments: patch.txt We are still using the -brtl option on AIX, which is not necessary, and can have a negative impact on performance. I am attaching a patch to fix this. Committers, can you please review. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Sep 17 13:58:59 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13217 invoked from network); 17 Sep 2005 13:58:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Sep 2005 13:58:59 -0000 Received: (qmail 9196 invoked by uid 500); 17 Sep 2005 13:58:58 -0000 Delivered-To: [email protected] Received: (qmail 9150 invoked by uid 500); 17 Sep 2005 13:58:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 9137 invoked by uid 99); 17 Sep 2005 13:58:57 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Sep 2005 06:58:56 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 2E9A019F for <[email protected]>; Sat, 17 Sep 2005 15:58:54 +0200 (CEST) Message-ID: <[email protected]> Date: Sat, 17 Sep 2005 15:58:54 +0200 (CEST) From: "alex gugel (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (XALANJ-2201) Can't compile stylesheet under jdk1.4 (jdk1.5 works): IncompatibleClassChangeError Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Can't compile stylesheet under jdk1.4 (jdk1.5 works): IncompatibleClassChangeError ---------------------------------------------------------------------------------- Key: XALANJ-2201 URL: http://issues.apache.org/jira/browse/XALANJ-2201 Project: XalanJ2 Type: Bug Components: XSLTC Versions: 2.7 Environment: Mac Os X, JDK.1.4.2_09 Reporter: alex gugel xalan-j_2_7_0$ java -version java version "1.4.2_09" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-232) Java HotSpot(TM) Client VM (build 1.4.2-54, mixed mode) xsltc: [java] java.lang.IncompatibleClassChangeError [java] at org.apache.xalan.xsltc.compiler.Step.toString(Step.java:502) [java] at java.lang.String.valueOf(String.java:2131) [java] at java.lang.StringBuffer.append(StringBuffer.java:370) [java] at org.apache.xalan.xsltc.compiler.EqualityExpr.toString(EqualityExpr.java:74) [java] at java.lang.String.valueOf(String.java:2131) [java] at java.lang.StringBuffer.append(StringBuffer.java:370) [java] at org.apache.xalan.xsltc.compiler.Predicate.toString(Predicate.java:267) [java] at org.apache.xalan.xsltc.compiler.Predicate.compileFilter(Predicate.java:359) [java] at org.apache.xalan.xsltc.compiler.Predicate.translateFilter(Predicate.java:552) [java] at org.apache.xalan.xsltc.compiler.Step.translatePredicates(Step.java:472) [java] at org.apache.xalan.xsltc.compiler.Step.translate(Step.java:230) [java] at org.apache.xalan.xsltc.compiler.ParentLocationPath.translate(ParentLocationPath.java:186) [java] at org.apache.xalan.xsltc.compiler.AbsoluteLocationPath.translate(AbsoluteLocationPath.java:101) [java] at org.apache.xalan.xsltc.compiler.ForEach.translate(ForEach.java:129) [java] at org.apache.xalan.xsltc.compiler.SyntaxTreeNode.translateContents(SyntaxTreeNode.java:504) [java] at org.apache.xalan.xsltc.compiler.ForEach.translate(ForEach.java:148) [java] at org.apache.xalan.xsltc.compiler.SyntaxTreeNode.translateContents(SyntaxTreeNode.java:504) [java] at org.apache.xalan.xsltc.compiler.LiteralElement.translate(LiteralElement.java:410) [java] at org.apache.xalan.xsltc.compiler.SyntaxTreeNode.translateContents(SyntaxTreeNode.java:504) [java] at org.apache.xalan.xsltc.compiler.LiteralElement.translate(LiteralElement.java:410) [java] at org.apache.xalan.xsltc.compiler.SyntaxTreeNode.translateContents(SyntaxTreeNode.java:504) [java] at org.apache.xalan.xsltc.compiler.LiteralElement.translate(LiteralElement.java:410) [java] at org.apache.xalan.xsltc.compiler.SyntaxTreeNode.translateContents(SyntaxTreeNode.java:504) [java] at org.apache.xalan.xsltc.compiler.LiteralElement.translate(LiteralElement.java:410) [java] at org.apache.xalan.xsltc.compiler.SyntaxTreeNode.translateContents(SyntaxTreeNode.java:504) [java] at org.apache.xalan.xsltc.compiler.LiteralElement.translate(LiteralElement.java:410) [java] at org.apache.xalan.xsltc.compiler.SyntaxTreeNode.translateContents(SyntaxTreeNode.java:504) [java] at org.apache.xalan.xsltc.compiler.ForEach.translate(ForEach.java:148) [java] at org.apache.xalan.xsltc.compiler.SyntaxTreeNode.translateContents(SyntaxTreeNode.java:504) [java] at org.apache.xalan.xsltc.compiler.LiteralElement.translate(LiteralElement.java:410) [java] at org.apache.xalan.xsltc.compiler.SyntaxTreeNode.translateContents(SyntaxTreeNode.java:504) [java] at org.apache.xalan.xsltc.compiler.LiteralElement.translate(LiteralElement.java:410) [java] at org.apache.xalan.xsltc.compiler.SyntaxTreeNode.translateContents(SyntaxTreeNode.java:504) [java] at org.apache.xalan.xsltc.compiler.Template.translate(Template.java:335) [java] at org.apache.xalan.xsltc.compiler.TopLevelElement.compile(TopLevelElement.java:56) [java] at org.apache.xalan.xsltc.compiler.Mode.compileNamedTemplate(Mode.java:549) [java] at org.apache.xalan.xsltc.compiler.Mode.compileTemplates(Mode.java:566) [java] at org.apache.xalan.xsltc.compiler.Mode.compileApplyTemplates(Mode.java:818) [java] at org.apache.xalan.xsltc.compiler.Stylesheet.compileModes(Stylesheet.java:610) [java] at org.apache.xalan.xsltc.compiler.Stylesheet.translate(Stylesheet.java:725) [java] at org.apache.xalan.xsltc.compiler.XSLTC.compile(XSLTC.java:354) [java] at org.apache.xalan.xsltc.compiler.XSLTC.compile(XSLTC.java:253) [java] at org.apache.xalan.xsltc.compiler.XSLTC.compile(XSLTC.java:389) [java] at org.apache.xalan.xsltc.cmdline.Compile.main(Compile.java:129) This fails under jdk 1.4 but it works under jdk 1.5. public class DevIndexCreator { public static void main(String[] args) throws TransformerException, FileNotFoundException { UniFile dir = new UniFile("/Users/alexgugel/_index"); System.setProperty("javax.xml.transform.TransformerFactory", "org.apache.xalan.xsltc.trax.SmartTransformerFactoryImpl"); StreamSource source = new StreamSource(dir.append("data.xml").asFile()); UniFile style = MacOsXUtil.getProgramHome().append("etc-dir/resources/music-exporter-index.xsl"); TransformerFactory transformerFactory = TransformerFactory.newInstance(); transformerFactory.setAttribute("debug", Boolean.TRUE); Templates templates = transformerFactory.newTemplates(new StreamSource(new FileInputStream(style.asFile()))); StreamResult result = new StreamResult(dir.append("xsltc-result.html").asFile()); Transformer transformer = templates.newTransformer(); transformer.transform(source, result); } } -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Sat Sep 17 17:21:05 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57143 invoked from network); 17 Sep 2005 17:21:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 17 Sep 2005 17:21:05 -0000 Received: (qmail 31131 invoked by uid 500); 17 Sep 2005 17:21:01 -0000 Delivered-To: [email protected] Received: (qmail 31005 invoked by uid 500); 17 Sep 2005 17:21:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 30951 invoked by uid 99); 17 Sep 2005 17:21:00 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Sep 2005 10:20:56 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 57EEA19F for <[email protected]>; Sat, 17 Sep 2005 19:20:54 +0200 (CEST) Message-ID: <[email protected]> Date: Sat, 17 Sep 2005 19:20:54 +0200 (CEST) From: "alex gugel (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (XALANJ-2201) Can't compile stylesheet under jdk1.4 (jdk1.5 works): IncompatibleClassChangeError In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/XALANJ-2201?page=comments#action_12329614 ] alex gugel commented on XALANJ-2201: ------------------------------------ It works also under 1.4.2 on Mac Os X. All you have to do is to set the -Djava.endorsed.dirs variable and put xalan.jar and serializer.jar in the endorsed directory. > Can't compile stylesheet under jdk1.4 (jdk1.5 works): IncompatibleClassChangeError > ---------------------------------------------------------------------------------- > > Key: XALANJ-2201 > URL: http://issues.apache.org/jira/browse/XALANJ-2201 > Project: XalanJ2 > Type: Bug > Components: XSLTC > Versions: 2.7 > Environment: Mac Os X, JDK.1.4.2_09 > Reporter: alex gugel > Attachments: music-exporter-index.xsl > > xalan-j_2_7_0$ java -version > java version "1.4.2_09" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-232) > Java HotSpot(TM) Client VM (build 1.4.2-54, mixed mode) > xsltc: > [java] java.lang.IncompatibleClassChangeError > [java] at org.apache.xalan.xsltc.compiler.Step.toString(Step.java:502) > [java] at java.lang.String.valueOf(String.java:2131) > [java] at java.lang.StringBuffer.append(StringBuffer.java:370) > [java] at org.apache.xalan.xsltc.compiler.EqualityExpr.toString(EqualityExpr.java:74) > [java] at java.lang.String.valueOf(String.java:2131) > [java] at java.lang.StringBuffer.append(StringBuffer.java:370) > [java] at org.apache.xalan.xsltc.compiler.Predicate.toString(Predicate.java:267) > [java] at org.apache.xalan.xsltc.compiler.Predicate.compileFilter(Predicate.java:359) > [java] at org.apache.xalan.xsltc.compiler.Predicate.translateFilter(Predicate.java:552) > [java] at org.apache.xalan.xsltc.compiler.Step.translatePredicates(Step.java:472) > [java] at org.apache.xalan.xsltc.compiler.Step.translate(Step.java:230) > [java] at org.apache.xalan.xsltc.compiler.ParentLocationPath.translate(ParentLocationPath.java:186) > [java] at org.apache.xalan.xsltc.compiler.AbsoluteLocationPath.translate(AbsoluteLocationPath.java:101) > [java] at org.apache.xalan.xsltc.compiler.ForEach.translate(ForEach.java:129) > [java] at org.apache.xalan.xsltc.compiler.SyntaxTreeNode.translateContents(SyntaxTreeNode.java:504) > [java] at org.apache.xalan.xsltc.compiler.ForEach.translate(ForEach.java:148) > [java] at org.apache.xalan.xsltc.compiler.SyntaxTreeNode.translateContents(SyntaxTreeNode.java:504) > [java] at org.apache.xalan.xsltc.compiler.LiteralElement.translate(LiteralElement.java:410) > [java] at org.apache.xalan.xsltc.compiler.SyntaxTreeNode.translateContents(SyntaxTreeNode.java:504) > [java] at org.apache.xalan.xsltc.compiler.LiteralElement.translate(LiteralElement.java:410) > [java] at org.apache.xalan.xsltc.compiler.SyntaxTreeNode.translateContents(SyntaxTreeNode.java:504) > [java] at org.apache.xalan.xsltc.compiler.LiteralElement.translate(LiteralElement.java:410) > [java] at org.apache.xalan.xsltc.compiler.SyntaxTreeNode.translateContents(SyntaxTreeNode.java:504) > [java] at org.apache.xalan.xsltc.compiler.LiteralElement.translate(LiteralElement.java:410) > [java] at org.apache.xalan.xsltc.compiler.SyntaxTreeNode.translateContents(SyntaxTreeNode.java:504) > [java] at org.apache.xalan.xsltc.compiler.LiteralElement.translate(LiteralElement.java:410) > [java] at org.apache.xalan.xsltc.compiler.SyntaxTreeNode.translateContents(SyntaxTreeNode.java:504) > [java] at org.apache.xalan.xsltc.compiler.ForEach.translate(ForEach.java:148) > [java] at org.apache.xalan.xsltc.compiler.SyntaxTreeNode.translateContents(SyntaxTreeNode.java:504) > [java] at org.apache.xalan.xsltc.compiler.LiteralElement.translate(LiteralElement.java:410) > [java] at org.apache.xalan.xsltc.compiler.SyntaxTreeNode.translateContents(SyntaxTreeNode.java:504) > [java] at org.apache.xalan.xsltc.compiler.LiteralElement.translate(LiteralElement.java:410) > [java] at org.apache.xalan.xsltc.compiler.SyntaxTreeNode.translateContents(SyntaxTreeNode.java:504) > [java] at org.apache.xalan.xsltc.compiler.Template.translate(Template.java:335) > [java] at org.apache.xalan.xsltc.compiler.TopLevelElement.compile(TopLevelElement.java:56) > [java] at org.apache.xalan.xsltc.compiler.Mode.compileNamedTemplate(Mode.java:549) > [java] at org.apache.xalan.xsltc.compiler.Mode.compileTemplates(Mode.java:566) > [java] at org.apache.xalan.xsltc.compiler.Mode.compileApplyTemplates(Mode.java:818) > [java] at org.apache.xalan.xsltc.compiler.Stylesheet.compileModes(Stylesheet.java:610) > [java] at org.apache.xalan.xsltc.compiler.Stylesheet.translate(Stylesheet.java:725) > [java] at org.apache.xalan.xsltc.compiler.XSLTC.compile(XSLTC.java:354) > [java] at org.apache.xalan.xsltc.compiler.XSLTC.compile(XSLTC.java:253) > [java] at org.apache.xalan.xsltc.compiler.XSLTC.compile(XSLTC.java:389) > [java] at org.apache.xalan.xsltc.cmdline.Compile.main(Compile.java:129) > This fails under jdk 1.4 but it works under jdk 1.5. > public class DevIndexCreator { > public static void main(String[] args) throws TransformerException, FileNotFoundException { > UniFile dir = new UniFile("/Users/alexgugel/_index"); > System.setProperty("javax.xml.transform.TransformerFactory", "org.apache.xalan.xsltc.trax.SmartTransformerFactoryImpl"); > StreamSource source = new StreamSource(dir.append("data.xml").asFile()); > UniFile style = MacOsXUtil.getProgramHome().append("etc-dir/resources/music-exporter-index.xsl"); > TransformerFactory transformerFactory = TransformerFactory.newInstance(); > transformerFactory.setAttribute("debug", Boolean.TRUE); > > Templates templates = transformerFactory.newTemplates(new StreamSource(new FileInputStream(style.asFile()))); > StreamResult result = new StreamResult(dir.append("xsltc-result.html").asFile()); > Transformer transformer = templates.newTransformer(); > transformer.transform(source, result); > } > } -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Sep 19 08:49:59 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64448 invoked from network); 19 Sep 2005 08:49:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Sep 2005 08:49:58 -0000 Received: (qmail 23369 invoked by uid 500); 19 Sep 2005 08:49:57 -0000 Delivered-To: [email protected] Received: (qmail 23331 invoked by uid 500); 19 Sep 2005 08:49:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 23317 invoked by uid 99); 19 Sep 2005 08:49:56 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Sep 2005 01:49:56 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 796CD125 for <[email protected]>; Mon, 19 Sep 2005 10:49:54 +0200 (CEST) Message-ID: <[email protected]> Date: Mon, 19 Sep 2005 10:49:54 +0200 (CEST) From: "Bryan Mawhinney (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (XALANJ-2202) Unresolved params cause NullPointerException in RelationalExpr during compile Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Unresolved params cause NullPointerException in RelationalExpr during compile ----------------------------------------------------------------------------- Key: XALANJ-2202 URL: http://issues.apache.org/jira/browse/XALANJ-2202 Project: XalanJ2 Type: Bug Components: XSLTC Versions: 2.7 Reporter: Bryan Mawhinney Priority: Minor If a relational expression includes a reference to an as yet unresolved param (e.g., a global param from an included stylesheet), then a NPE is thrown in RelationalExpr.typeCheck when the code tries to dereference ref.getVariable(), which is null for a param. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Sep 19 14:12:33 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94540 invoked from network); 19 Sep 2005 14:12:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Sep 2005 14:12:33 -0000 Received: (qmail 51745 invoked by uid 500); 19 Sep 2005 14:12:32 -0000 Delivered-To: [email protected] Received: (qmail 51712 invoked by uid 500); 19 Sep 2005 14:12:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 51699 invoked by uid 99); 19 Sep 2005 14:12:31 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Sep 2005 07:12:30 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id F3985124 for <[email protected]>; Mon, 19 Sep 2005 16:12:27 +0200 (CEST) Message-ID: <[email protected]> Date: Mon, 19 Sep 2005 16:12:27 +0200 (CEST) From: "Dmitry Hayes (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (XALANC-560) Non-ASCII platfroms (like ZOS) can't cast from UTF16 to UTF8 the ASCII-based strings In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/XALANC-560?page=all ] Dmitry Hayes closed XALANC-560: ------------------------------- Resolution: Fixed > Non-ASCII platfroms (like ZOS) can't cast from UTF16 to UTF8 the ASCII-based strings > ------------------------------------------------------------------------------------ > > Key: XALANC-560 > URL: http://issues.apache.org/jira/browse/XALANC-560 > Project: XalanC > Type: Bug > Components: XalanC > Versions: CurrentCVS > Environment: zSeries , iSeries > Reporter: Dmitry Hayes > Assignee: Dmitry Hayes > Priority: Critical > Fix For: CurrentCVS > Attachments: patch.txt > > EBCDIC based platform can't convert the string : > const char XalanXMLSerializerBasacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bUTacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bs_defaultVersionString[] = > { > char(XalanUnicoacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bcharDigit_1), > char(XalanUnicoacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bcharFullStop), > char(XalanUnicoacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bcharDigit_0), > char(0) > }; to the EBCDIC string "1.0" -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Sep 19 14:20:33 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97073 invoked from network); 19 Sep 2005 14:20:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Sep 2005 14:20:33 -0000 Received: (qmail 64131 invoked by uid 500); 19 Sep 2005 14:20:32 -0000 Delivered-To: [email protected] Received: (qmail 64086 invoked by uid 500); 19 Sep 2005 14:20:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 64072 invoked by uid 99); 19 Sep 2005 14:20:31 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Sep 2005 07:20:30 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 78941125 for <[email protected]>; Mon, 19 Sep 2005 16:20:28 +0200 (CEST) Message-ID: <[email protected]> Date: Mon, 19 Sep 2005 16:20:28 +0200 (CEST) From: "Dmitry Hayes (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (XALANC-555) XalanEXSLTDateTime.cpp has too many platform-specifc ifdefs In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/XALANC-555?page=comments#action_12329850 ] Dmitry Hayes commented on XALANC-555: ------------------------------------- The patch looks fine. Let's commit it . Thanks! > XalanEXSLTDateTime.cpp has too many platform-specifc ifdefs > ----------------------------------------------------------- > > Key: XALANC-555 > URL: http://issues.apache.org/jira/browse/XALANC-555 > Project: XalanC > Type: Bug > Components: XalanC > Versions: CurrentCVS > Reporter: David Bertoni > Assignee: David Bertoni > Priority: Minor > Attachments: patch.txt > > The code in XalanEXSLTDateTime.cpp for dealing with certain time functions now has too many platform-specific ifdefs. I've created a new macro so the code can be configured through the compiler-specific configuration files. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Sep 19 14:24:39 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99231 invoked from network); 19 Sep 2005 14:24:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Sep 2005 14:24:39 -0000 Received: (qmail 71604 invoked by uid 500); 19 Sep 2005 14:24:37 -0000 Delivered-To: [email protected] Received: (qmail 71555 invoked by uid 500); 19 Sep 2005 14:24:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 71357 invoked by uid 99); 19 Sep 2005 14:24:36 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Sep 2005 07:24:35 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 28242125 for <[email protected]>; Mon, 19 Sep 2005 16:24:33 +0200 (CEST) Message-ID: <[email protected]> Date: Mon, 19 Sep 2005 16:24:33 +0200 (CEST) From: "Dmitry Hayes (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (XALANC-473) Include a commandline scripts for a one-shot build-test-zip-n-ship In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/XALANC-473?page=all ] Dmitry Hayes closed XALANC-473: ------------------------------- Resolution: Won't Fix There is no active discussion in this issue , I'm closing it . > Include a commandline scripts for a one-shot build-test-zip-n-ship > ------------------------------------------------------------------ > > Key: XALANC-473 > URL: http://issues.apache.org/jira/browse/XALANC-473 > Project: XalanC > Type: Wish > Components: XalanC > Versions: 1.9 > Environment: Any/All > Reporter: Mayank Banerjee > Priority: Minor > > Would it be possible to have a build script,like in Xerces (xerces-c-src_2_6_0\scripts\),to automate the building,testing and shipping tasks on all platforms? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Sep 19 14:46:37 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 8189 invoked from network); 19 Sep 2005 14:46:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Sep 2005 14:46:37 -0000 Received: (qmail 3894 invoked by uid 500); 19 Sep 2005 14:46:34 -0000 Delivered-To: [email protected] Received: (qmail 3858 invoked by uid 500); 19 Sep 2005 14:46:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 3838 invoked by uid 99); 19 Sep 2005 14:46:34 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Sep 2005 07:46:33 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 1DE7312B for <[email protected]>; Mon, 19 Sep 2005 16:46:30 +0200 (CEST) Message-ID: <[email protected]> Date: Mon, 19 Sep 2005 16:46:30 +0200 (CEST) From: "Dmitry Hayes (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (XALANC-511) Crash during XalanTransformeracf:4db6:5e0b:f386:43a5:35d7:718d:3c8binitialize on AIX In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/XALANC-511?page=comments#action_12329860 ] Dmitry Hayes commented on XALANC-511: ------------------------------------- We can take a little bit safer approach and check first with "numeric_limits<doable>acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bhas_quiet_NaN" , and if not , fallback to the old approach ? Thanks! > Crash during XalanTransformeracf:4db6:5e0b:f386:43a5:35d7:718d:3c8binitialize on AIX > ------------------------------------------------ > > Key: XALANC-511 > URL: http://issues.apache.org/jira/browse/XALANC-511 > Project: XalanC > Type: Bug > Components: XalanC > Versions: 1.9 > Environment: AIX 5.2 > Reporter: Prasad Mysore > Assignee: David Bertoni > Attachments: patch.txt > > I am using ICU 3.2, Xerces 2.6 and Xalan 1.9. Aix 5.2. > Compilers xlC_r for C++ and xlc_r for c. The call > that caused the crash is > XalanTransformeracf:4db6:5e0b:f386:43a5:35d7:718d:3c8binitialize(). > Release build of all components work fine. Debug build > works fine for xerces and icu. Xalan debug build > fails with errors in XalanVector.hpp. > > > > I am facing two problems while using xalan 1.9. Our > > application previously used xalan1.4. We now moved > > to > > using xalan 1.9. I have downloaded sources for xalan > > and built it myself (xlc_r, xlC_r version 6). In > > our > > initialization code, we make a call to the method > > XalanTransformer.initialize(). > > > > Problem 1. After the changes, this call crashes on > > AIX > > 5.2. Works finw on hp, linux, solaris and windows. > > The stack trace shows something thats weird like > > below. Anybody have any idea > > <----------------------------> > > dbx) where > > .() at 0x0 > > __negpow2() at 0xd6b0ef40 > > __negpow2() at 0xd6b03ac4 > > unnamed block $b3811, line 621 in "arxml.cpp" > > InitXMLParser(0x2ff22828), line 621 in "arxml.cpp" > > Initialization(0x1, 0x2ff22918), line 877 in > > "startup.cpp" > > main(argc = 1, argv = 0x2ff22918), line 9882 in > > "arrpcsvc.c" > > (dbx) q > > <----------------------------> > > > > Problem2: I am trying to build xalan in debug mode > > to > > be able to debug through a crash I am seeing on AIX. > > > > Release build works fine. But debug build throws > > this > > compile error. Is there a known problem with > > XalanVector.hpp. > > > > xlC_r -g -qthreaded -DAIX -D_THREAD_SAFE > > -I/stlport -DXALAN_INMEM_MSG_LOADER -DXALAN_USE_ICU > > -c > > -I/home/essfs1/rmysore/xml-xalan/c/src > > -I/home/essfs1/rmysore/xml-xalan/c/include > > -I../../nls/include > > -I/home/essfs1/rmysore/xerces-c-src_2_6_0/src/ > > > -I/home/essfs1/rmysore/xerces-c-src_2_6_0/include/xercesc > > -I/home/essfs1/rmysore/xerces-c-src_2_6_0/include/ > > -I/home/essfs1/rmysore/icu/include -o > > ../../obj/XalanDOMStringCache.o > > > /home/essfs1/rmysore/xml-xalan/c/src/xalanc/PlatformSupport/XalanDOMStringCache.cpp > > > "/home/essfs1/rmysore/xml-xalan/c/src/xalanc/Include/XalanVector.hpp", > > line 405.5: 1540-0704 (S) The definitions of "void > > xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanVector<xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanDOMString > > *,struct > > xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bMemoryManagedConstructionTraits<xala..." > > and "void > > xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanVector<xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanDOMString > > *,struct > > xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bMemoryManagedConstructionTraits<xala..." > > have the same linkage signature > > > "insert__Q2_10xalanc_1_911XalanVectorXTPQ2_10xalanc_1_914XalanDOMStringTQ2_10xalanc_1_ \ > 931MemoryManagedConstruction...". > > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Sep 19 15:50:35 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37340 invoked from network); 19 Sep 2005 15:50:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Sep 2005 15:50:35 -0000 Received: (qmail 41601 invoked by uid 500); 19 Sep 2005 15:50:33 -0000 Delivered-To: [email protected] Received: (qmail 41490 invoked by uid 500); 19 Sep 2005 15:50:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 41477 invoked by uid 99); 19 Sep 2005 15:50:32 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Sep 2005 08:50:32 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id E1DCB125 for <[email protected]>; Mon, 19 Sep 2005 17:50:28 +0200 (CEST) Message-ID: <[email protected]> Date: Mon, 19 Sep 2005 17:50:28 +0200 (CEST) From: "Michal Borowiecki (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (XALANJ-1912) match="and" causes error - doesn't comply with XPath spec section 3.7 Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/XALANJ-1912?page=3Dcomments#acti= on_12329872 ]=20 Michal Borowiecki commented on XALANJ-1912: ------------------------------------------- I confirm that it is fixed in 2.7.0 > match=3D"and" causes error - doesn't comply with XPath spec section 3.7 > --------------------------------------------------------------------- > > Key: XALANJ-1912 > URL: http://issues.apache.org/jira/browse/XALANJ-1912 > Project: XalanJ2 > Type: Bug > Components: XSLTC > Versions: 2.6 > Environment: Operating System: Other > Platform: PC > Reporter: Michal Borowiecki > Assignee: Santiago Pericas-Geertsen > Priority: Critical > Fix For: 2.7 > Attachments: XalanJ1912Patch.txt, xpath.lex.patch > > Trying to compile a stylesheet with 'template match=3D"and"' or with 'tem= plate > match=3D"or"' causes an error. The compiler reports a syntax error. Proba= bly it > interprets the expression "and" as an OperatorName. > However, the XPath spec in section 3.7 (http://www.w3.org/TR/xpath#exprle= x) > states clearly that a token must not be recognized as an OperatorName unl= ess > there is a preceding token (other than @, acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b, (, [, , or an Operator). > In the expression "and" there is only one token (namely "and"). There is = no > preceding token, so the token "and" must NOT be recognized as an Operator= Name! > Instead it should be recognized as a NameTest, matching an XML element na= med "and".=20 > The same applies to "or". > Regards, > Micha=C3=85=C2=82 Borowiecki --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Sep 19 18:00:36 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31982 invoked from network); 19 Sep 2005 18:00:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Sep 2005 18:00:35 -0000 Received: (qmail 33401 invoked by uid 500); 19 Sep 2005 18:00:34 -0000 Delivered-To: [email protected] Received: (qmail 33360 invoked by uid 500); 19 Sep 2005 18:00:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 33346 invoked by uid 99); 19 Sep 2005 18:00:33 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Sep 2005 11:00:32 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 49C56127 for <[email protected]>; Mon, 19 Sep 2005 20:00:29 +0200 (CEST) Message-ID: <[email protected]> Date: Mon, 19 Sep 2005 20:00:29 +0200 (CEST) From: "David Bertoni (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (XALANC-511) Crash during XalanTransformeracf:4db6:5e0b:f386:43a5:35d7:718d:3c8binitialize on AIX In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/XALANC-511?page=comments#action_12329888 ] David Bertoni commented on XALANC-511: -------------------------------------- Any platform that supports IEEE 754, which we require, will have quiet NaN, so the check is not necessary. I will look for a spot to add a general compile-time assert just in case. > Crash during XalanTransformeracf:4db6:5e0b:f386:43a5:35d7:718d:3c8binitialize on AIX > ------------------------------------------------ > > Key: XALANC-511 > URL: http://issues.apache.org/jira/browse/XALANC-511 > Project: XalanC > Type: Bug > Components: XalanC > Versions: 1.9 > Environment: AIX 5.2 > Reporter: Prasad Mysore > Assignee: David Bertoni > Attachments: patch.txt > > I am using ICU 3.2, Xerces 2.6 and Xalan 1.9. Aix 5.2. > Compilers xlC_r for C++ and xlc_r for c. The call > that caused the crash is > XalanTransformeracf:4db6:5e0b:f386:43a5:35d7:718d:3c8binitialize(). > Release build of all components work fine. Debug build > works fine for xerces and icu. Xalan debug build > fails with errors in XalanVector.hpp. > > > > I am facing two problems while using xalan 1.9. Our > > application previously used xalan1.4. We now moved > > to > > using xalan 1.9. I have downloaded sources for xalan > > and built it myself (xlc_r, xlC_r version 6). In > > our > > initialization code, we make a call to the method > > XalanTransformer.initialize(). > > > > Problem 1. After the changes, this call crashes on > > AIX > > 5.2. Works finw on hp, linux, solaris and windows. > > The stack trace shows something thats weird like > > below. Anybody have any idea > > <----------------------------> > > dbx) where > > .() at 0x0 > > __negpow2() at 0xd6b0ef40 > > __negpow2() at 0xd6b03ac4 > > unnamed block $b3811, line 621 in "arxml.cpp" > > InitXMLParser(0x2ff22828), line 621 in "arxml.cpp" > > Initialization(0x1, 0x2ff22918), line 877 in > > "startup.cpp" > > main(argc = 1, argv = 0x2ff22918), line 9882 in > > "arrpcsvc.c" > > (dbx) q > > <----------------------------> > > > > Problem2: I am trying to build xalan in debug mode > > to > > be able to debug through a crash I am seeing on AIX. > > > > Release build works fine. But debug build throws > > this > > compile error. Is there a known problem with > > XalanVector.hpp. > > > > xlC_r -g -qthreaded -DAIX -D_THREAD_SAFE > > -I/stlport -DXALAN_INMEM_MSG_LOADER -DXALAN_USE_ICU > > -c > > -I/home/essfs1/rmysore/xml-xalan/c/src > > -I/home/essfs1/rmysore/xml-xalan/c/include > > -I../../nls/include > > -I/home/essfs1/rmysore/xerces-c-src_2_6_0/src/ > > > -I/home/essfs1/rmysore/xerces-c-src_2_6_0/include/xercesc > > -I/home/essfs1/rmysore/xerces-c-src_2_6_0/include/ > > -I/home/essfs1/rmysore/icu/include -o > > ../../obj/XalanDOMStringCache.o > > > /home/essfs1/rmysore/xml-xalan/c/src/xalanc/PlatformSupport/XalanDOMStringCache.cpp > > > "/home/essfs1/rmysore/xml-xalan/c/src/xalanc/Include/XalanVector.hpp", > > line 405.5: 1540-0704 (S) The definitions of "void > > xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanVector<xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanDOMString > > *,struct > > xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bMemoryManagedConstructionTraits<xala..." > > and "void > > xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanVector<xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanDOMString > > *,struct > > xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bMemoryManagedConstructionTraits<xala..." > > have the same linkage signature > > > "insert__Q2_10xalanc_1_911XalanVectorXTPQ2_10xalanc_1_914XalanDOMStringTQ2_10xalanc_1_ \ > 931MemoryManagedConstruction...". > > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Sep 19 18:27:34 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 43667 invoked from network); 19 Sep 2005 18:27:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 19 Sep 2005 18:27:33 -0000 Received: (qmail 74151 invoked by uid 500); 19 Sep 2005 18:27:32 -0000 Delivered-To: [email protected] Received: (qmail 74083 invoked by uid 500); 19 Sep 2005 18:27:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 74069 invoked by uid 99); 19 Sep 2005 18:27:32 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Sep 2005 11:27:31 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 8B393125 for <[email protected]>; Mon, 19 Sep 2005 20:27:28 +0200 (CEST) Message-ID: <[email protected]> Date: Mon, 19 Sep 2005 20:27:28 +0200 (CEST) From: "David Bertoni (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (XALANC-555) XalanEXSLTDateTime.cpp has too many platform-specifc ifdefs In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/XALANC-555?page=all ] David Bertoni resolved XALANC-555: ---------------------------------- Fix Version: CurrentCVS Resolution: Fixed > XalanEXSLTDateTime.cpp has too many platform-specifc ifdefs > ----------------------------------------------------------- > > Key: XALANC-555 > URL: http://issues.apache.org/jira/browse/XALANC-555 > Project: XalanC > Type: Bug > Components: XalanC > Versions: CurrentCVS > Reporter: David Bertoni > Assignee: David Bertoni > Priority: Minor > Fix For: CurrentCVS > Attachments: patch.txt > > The code in XalanEXSLTDateTime.cpp for dealing with certain time functions now has too many platform-specific ifdefs. I've created a new macro so the code can be configured through the compiler-specific configuration files. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Sep 20 14:54:42 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79881 invoked from network); 20 Sep 2005 14:54:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Sep 2005 14:54:41 -0000 Received: (qmail 22973 invoked by uid 500); 20 Sep 2005 14:54:39 -0000 Delivered-To: [email protected] Received: (qmail 22919 invoked by uid 500); 20 Sep 2005 14:54:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 22840 invoked by uid 99); 20 Sep 2005 14:54:38 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Sep 2005 07:54:38 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id E3FA5122 for <[email protected]>; Tue, 20 Sep 2005 16:54:28 +0200 (CEST) Message-ID: <[email protected]> Date: Tue, 20 Sep 2005 16:54:28 +0200 (CEST) From: "Sarah McNamara (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (XALANJ-1912) match="and" causes error - doesn't comply with XPath spec section 3.7 Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/XALANJ-1912?page=3Dall ] =20 Sarah McNamara closed XALANJ-1912: ---------------------------------- Closed per Michal's comments that the fix is verified as good. > match=3D"and" causes error - doesn't comply with XPath spec section 3.7 > --------------------------------------------------------------------- > > Key: XALANJ-1912 > URL: http://issues.apache.org/jira/browse/XALANJ-1912 > Project: XalanJ2 > Type: Bug > Components: XSLTC > Versions: 2.6 > Environment: Operating System: Other > Platform: PC > Reporter: Michal Borowiecki > Assignee: Santiago Pericas-Geertsen > Priority: Critical > Fix For: 2.7 > Attachments: XalanJ1912Patch.txt, xpath.lex.patch > > Trying to compile a stylesheet with 'template match=3D"and"' or with 'tem= plate > match=3D"or"' causes an error. The compiler reports a syntax error. Proba= bly it > interprets the expression "and" as an OperatorName. > However, the XPath spec in section 3.7 (http://www.w3.org/TR/xpath#exprle= x) > states clearly that a token must not be recognized as an OperatorName unl= ess > there is a preceding token (other than @, acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b, (, [, , or an Operator). > In the expression "and" there is only one token (namely "and"). There is = no > preceding token, so the token "and" must NOT be recognized as an Operator= Name! > Instead it should be recognized as a NameTest, matching an XML element na= med "and".=20 > The same applies to "or". > Regards, > Micha=C3=85=C2=82 Borowiecki --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Sep 20 15:11:40 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87984 invoked from network); 20 Sep 2005 15:11:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Sep 2005 15:11:40 -0000 Received: (qmail 67096 invoked by uid 500); 20 Sep 2005 15:11:39 -0000 Delivered-To: [email protected] Received: (qmail 67063 invoked by uid 500); 20 Sep 2005 15:11:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 67050 invoked by uid 99); 20 Sep 2005 15:11:38 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Sep 2005 08:11:37 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id B6F63C9 for <[email protected]>; Tue, 20 Sep 2005 17:11:27 +0200 (CEST) Message-ID: <{{EMAIL+PHONE}}> Date: Tue, 20 Sep 2005 17:11:27 +0200 (CEST) From: "Eduardo Vilches (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (XALANJ-2203) ClassCastException when calling XPathExpressionImpl.evaluate with item argument of type NodeList Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ClassCastException when calling XPathExpressionImpl.evaluate with item argument of type NodeList ------------------------------------------------------------------------------------------------ Key: XALANJ-2203 URL: http://issues.apache.org/jira/browse/XALANJ-2203 Project: XalanJ2 Type: Bug Components: XPath Versions: 2.7 Environment: Java 5 Reporter: Eduardo Vilches Priority: Minor When calling XPathExpressionImpl.evaluate(Object item, QName returnType), if item is of type NodeList, a ClassCastException is thrown. I've looked at the source code. The problem seems to happen in XPathExpressionImpl.eval(Object contextItem). There is a section of code that reads: Node contextNode = (Node)contextItem; // We always need to have a ContextNode with Xalan XPath implementation // To allow simple expression evaluation like 1+1 we are setting The type cast is what causes the exception. Is there a fix or a work-around for this? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Sep 21 20:51:58 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90715 invoked from network); 21 Sep 2005 20:51:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Sep 2005 20:51:58 -0000 Received: (qmail 47691 invoked by uid 500); 21 Sep 2005 20:51:57 -0000 Delivered-To: [email protected] Received: (qmail 47502 invoked by uid 500); 21 Sep 2005 20:51:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 47481 invoked by uid 99); 21 Sep 2005 20:51:55 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Sep 2005 13:51:55 -0700 Received: by ajax.apache.org (Postfix, from userid 99) id 6FD99122; Wed, 21 Sep 2005 22:51:34 +0200 (CEST) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 2698] - Code cleanup in TreeWalker2Result.startNode() X-Bugzilla-Reason: AssignedTo Message-Id: <[email protected]> Date: Wed, 21 Sep 2005 22:51:34 +0200 (CEST) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=2698>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=2698 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- OS/Version|All |Linux Platform|All |DEC -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Sep 22 17:25:53 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81413 invoked from network); 22 Sep 2005 17:25:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Sep 2005 17:25:52 -0000 Received: (qmail 10426 invoked by uid 500); 22 Sep 2005 17:25:51 -0000 Delivered-To: [email protected] Received: (qmail 10389 invoked by uid 500); 22 Sep 2005 17:25:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 10376 invoked by uid 99); 22 Sep 2005 17:25:50 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Sep 2005 10:25:49 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id D0819C9 for <[email protected]>; Thu, 22 Sep 2005 19:25:27 +0200 (CEST) Message-ID: <[email protected]> Date: Thu, 22 Sep 2005 19:25:27 +0200 (CEST) From: "Rakshit Simha (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (XALANC-563) Xalan 1.8.0 needs source change to build with STLPort and MSVC++ Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Xalan 1.8.0 needs source change to build with STLPort and MSVC++ ---------------------------------------------------------------- Key: XALANC-563 URL: http://issues.apache.org/jira/browse/XALANC-563 Project: XalanC Type: Improvement Components: XalanC Versions: 1.9 Environment: OS: Win2K (Version 5.0 Build 2195: Service Pack 4) Compiler: Microsoft Visual C++ (32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86) with SP5 Xerces: 2.6.0 XalanC: 1.9.0 STLPort: 4.5.3 Reporter: Rakshit Simha Priority: Blocker Building the AllInOne project with STLPort includes and libs (set using Tools->Options->Directories in VC++ GUI), many instances of this error appear: ---begin-error--- L:\bldenv-nt-v19\INCLUDE\STLPORT\stl/_algobase.h(210) : error C2784: 'struct _STLacf:4db6:5e0b:f386:43a5:35d7:718d:3c8binput_iterator_tag __cdecl _STLacf:4db6:5e0b:f386:43a5:35d7:718d:3c8biterator_category(const class _STLacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bistream_iterator<_Tp,_CharT,_Traits,_Dist> &)' : could not deduce template argument for 'const class _STLacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bistream_iterator<_Tp,_CharT,_Traits,_Dist> &' from 'struct xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanDequeIterator<struct xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanDequeConstIteratorTraits<class xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bNameSpace>,class xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanDeque<class xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bNameSpace,struct xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bConstructWithMemoryManagerTraits<class xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bNameSpace> > >' L:\bldenv-nt-v19\INCLUDE\STLPORT\stl/_algobase.h(216) : see reference to function template instantiation 'class _STLacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bk_insert_iterator<class xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanDeque<class xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bNameSpace,struct xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bConstructWithMemoryManagerTraits<class xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bNameSpace> > > __cdecl _STLacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b__copy_aux(struct xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanDequeIterator<struct xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanDequeConstIteratorTraits<class xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bNameSpace>,class xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanDeque<class xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bNameSpace,struct xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bConstructWithMemoryManagerTraits<class xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bNameSpace> >>,struct xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanDequeIterator<struct xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanDequeConstIteratorTraits<class xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bNameSpace>,class xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanDeque<class xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bNameSpace,struct xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bConstructWithMemoryManagerTraits<class xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bNameSpace> >>,class _STLacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bk_insert_iterator<class xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanDeque<class xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bNameSpace,struct xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bConstructWithMemoryManagerTraits<class xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bNameSpace> > >,const struct _STLacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b__false_type &)' being compiled ---end-error--- The workaround has been to apply this change to xml-xalan\c\src\xalanc\Include\XalanDeque.hpp: ---begin-diff--- 33c33 < --- > #include <stl/_bvector.h> 59c59 < struct XalanDequeIterator --- > struct XalanDequeIterator : stacf:4db6:5e0b:f386:43a5:35d7:718d:3c8b_Bit_iterator_base ---end-diff--- So far, the application built using this seems to be working fine. Please confirm this modification and integrate into XalanC source (maybe predicated upon the presence of XALANC_STLPORT_STL?). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Sep 22 22:58:52 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94392 invoked from network); 22 Sep 2005 22:58:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 22 Sep 2005 22:58:52 -0000 Received: (qmail 37921 invoked by uid 500); 22 Sep 2005 22:58:51 -0000 Delivered-To: [email protected] Received: (qmail 37878 invoked by uid 500); 22 Sep 2005 22:58:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 37865 invoked by uid 99); 22 Sep 2005 22:58:50 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Sep 2005 15:58:49 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 09146DF for <[email protected]>; Fri, 23 Sep 2005 00:58:28 +0200 (CEST) Message-ID: <[email protected]> Date: Fri, 23 Sep 2005 00:58:28 +0200 (CEST) From: =?UTF-8?Q?Filippo_Munaf=C3=B2_=28JIRA=29?= <[email protected]> To: [email protected] Subject: [jira] Created: (XALANJ-2204) Function Count on variable modifies number of nodes in variable. Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Function Count on variable modifies number of nodes in variable. ---------------------------------------------------------------- Key: XALANJ-2204 URL: http://issues.apache.org/jira/browse/XALANJ-2204 Project: XalanJ2 Type: Bug Components: transformation =20 Versions: 2.7 =20 Reporter: Filippo Munaf=C3=B2 Priority: Blocker Transforming this XML: <A> =09<B>1</B> =09<B>2</B> </A> with the following XSL: =09<xsl:variable name=3D"XML" select=3D"/A"/> =09 =09<xsl:template match=3D"/"> =09=09First:=09 =09=09<xsl:value-of select=3D"count($XML[B=3D1])"/> =09=09Second:=09 =09=09<xsl:value-of select=3D"count($XML[B=3D1])"/> =09=09Third: =09=09<xsl:value-of select=3D"count($XML[B=3D1])"/> =09</xsl:template> the output is: =09=09First:=09 =09=091 =09=09Second:=09 =09=092 =09=09Third: =09=093 instead of: =09=09First:=09 =09=091 =09=09Second:=09 =09=091 =09=09Third: =09=091 Using XALAN 2.6 everithing works as it should be. Using: xalan.jar org.apache.xalan.xslt.Process -in %1 -xsl %2 -out %3=20 instead of: transformer.transform(xml, xsl) the result is the right one! Filippo --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Sep 26 06:52:13 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31502 invoked from network); 26 Sep 2005 06:52:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Sep 2005 06:52:13 -0000 Received: (qmail 48344 invoked by uid 500); 26 Sep 2005 06:52:13 -0000 Delivered-To: [email protected] Received: (qmail 48056 invoked by uid 500); 26 Sep 2005 06:52:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 48042 invoked by uid 99); 26 Sep 2005 06:52:10 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Sep 2005 23:52:09 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id B8943122 for <[email protected]>; Mon, 26 Sep 2005 08:51:48 +0200 (CEST) Message-ID: <{{EMAIL+PHONE}}> Date: Mon, 26 Sep 2005 08:51:48 +0200 (CEST) From: "Brian Minchau (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (XALANJ-2205) If a URIResolver is provided, don't call SystemIDResolver.getAbsoluteURI Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N If a URIResolver is provided, don't call SystemIDResolver.getAbsoluteURI ------------------------------------------------------------------------ Key: XALANJ-2205 URL: http://issues.apache.org/jira/browse/XALANJ-2205 Project: XalanJ2 Type: Bug Reporter: Brian Minchau If the user provides a URIResolver that returns the Source given the absolute URI of the stylesheet module doing the include/import and the relative URI from the href attribute, and if that Source has its system ID set, then there is no reason for the XSLT processor to get involved with the contents of the URIs. The user has provided the full management of stylesheet URIs, to resolve all included/imported Source stylesheet modules and their absolute URIs. The URIs are supposed to be legitimate URIs, but wheter or not they actually are should be in the user's control. For example the URIs might be of the form "file:///..." with directories or filenames that have characters in them that are not allowed in legitimate URIs. On the other hand, if the user hasn't provided a URIResolver, or that resolver doesn't return a Source, or that Source doesn't have its system ID set, then the fallback of using SystemIDResolver to get the base URI of the included document is OK. If the URIs are not legitimate, the services provided by this class may throw MalformedURIException. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Sep 26 17:27:17 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 3583 invoked from network); 26 Sep 2005 17:27:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Sep 2005 17:27:17 -0000 Received: (qmail 2538 invoked by uid 500); 26 Sep 2005 17:27:15 -0000 Delivered-To: [email protected] Received: (qmail 2376 invoked by uid 500); 26 Sep 2005 17:27:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 2359 invoked by uid 99); 26 Sep 2005 17:27:13 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Sep 2005 10:27:12 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id A9B66129 for <[email protected]>; Mon, 26 Sep 2005 19:26:51 +0200 (CEST) Message-ID: <[email protected]> Date: Mon, 26 Sep 2005 19:26:51 +0200 (CEST) From: "Vadim Gritsenko (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (XALANJ-2206) [PATCH] Propagate template inlining trax attribute Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [PATCH] Propagate template inlining trax attribute -------------------------------------------------- Key: XALANJ-2206 URL: http://issues.apache.org/jira/browse/XALANJ-2206 Project: XalanJ2 Type: Bug Components: XSLTC Versions: 2.7 Environment: trax, command line is not affected Reporter: Vadim Gritsenko Template inlining attribute set on xsltc TransformerFactoryImpl has no effect, default value from Stylesheet is always used. Attached patch resolves this issue. This is required in order to use large stylesheets (such as where applyTemplates method with template inlining is over 64Kb). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Sep 26 20:00:38 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77438 invoked from network); 26 Sep 2005 20:00:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Sep 2005 20:00:38 -0000 Received: (qmail 56533 invoked by uid 500); 26 Sep 2005 20:00:37 -0000 Delivered-To: [email protected] Received: (qmail 56395 invoked by uid 500); 26 Sep 2005 20:00:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 56382 invoked by uid 99); 26 Sep 2005 20:00:36 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Sep 2005 13:00:34 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id E0F63123 for <[email protected]>; Mon, 26 Sep 2005 22:00:13 +0200 (CEST) Message-ID: <[email protected]> Date: Mon, 26 Sep 2005 22:00:13 +0200 (CEST) From: "Brian Vargas (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (XALANJ-2163) Incorrect error message in booleanF method. In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/XALANJ-2163?page=comments#action_12330503 ] Brian Vargas commented on XALANJ-2163: -------------------------------------- I can confirm that this has been fixed on the 2.7.0 release. > Incorrect error message in booleanF method. > ------------------------------------------- > > Key: XALANJ-2163 > URL: http://issues.apache.org/jira/browse/XALANJ-2163 > Project: XalanJ2 > Type: Bug > Components: XSLTC > Versions: Latest Development Code > Environment: All. > Reporter: Brian Vargas > Assignee: Brian Minchau > Priority: Trivial > Fix For: 2.7 > Attachments: BasisLibrary.2163.patch.txt > > The implementation of the XSLTC XPath boolean() function in the BasisLibrary.booleanF() method contains an incorrect error message that appears when the method receives an inappropriate argument. The else clause passes "number()" to the runtimeError() method, when it should pass the string "boolean()". > It looks to me like somebody got a bit too overzealous in their copy-paste coding. ;-) > In any event, it makes for a killer red herring in the rare event that that error occurs, and the fix is trivial. > The file is src/org/apache/xalan/xsltc/runtime/BasisLibrary.java. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Tue Sep 27 06:45:13 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82540 invoked from network); 27 Sep 2005 06:45:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Sep 2005 06:45:12 -0000 Received: (qmail 11555 invoked by uid 500); 27 Sep 2005 06:45:11 -0000 Delivered-To: [email protected] Received: (qmail 11261 invoked by uid 500); 27 Sep 2005 06:45:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 11247 invoked by uid 99); 27 Sep 2005 06:45:10 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Sep 2005 23:45:09 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id B342A123 for <[email protected]>; Tue, 27 Sep 2005 08:44:48 +0200 (CEST) Message-ID: <[email protected]> Date: Tue, 27 Sep 2005 08:44:48 +0200 (CEST) From: "Brian Minchau (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Closed: (XALANJ-2163) Incorrect error message in booleanF method. In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/XALANJ-2163?page=all ] Brian Minchau closed XALANJ-2163: --------------------------------- closing this issue. > Incorrect error message in booleanF method. > ------------------------------------------- > > Key: XALANJ-2163 > URL: http://issues.apache.org/jira/browse/XALANJ-2163 > Project: XalanJ2 > Type: Bug > Components: XSLTC > Versions: Latest Development Code > Environment: All. > Reporter: Brian Vargas > Assignee: Brian Minchau > Priority: Trivial > Fix For: 2.7 > Attachments: BasisLibrary.2163.patch.txt > > The implementation of the XSLTC XPath boolean() function in the BasisLibrary.booleanF() method contains an incorrect error message that appears when the method receives an inappropriate argument. The else clause passes "number()" to the runtimeError() method, when it should pass the string "boolean()". > It looks to me like somebody got a bit too overzealous in their copy-paste coding. ;-) > In any event, it makes for a killer red herring in the rare event that that error occurs, and the fix is trivial. > The file is src/org/apache/xalan/xsltc/runtime/BasisLibrary.java. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Sep 28 13:44:14 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59368 invoked from network); 28 Sep 2005 13:44:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Sep 2005 13:44:13 -0000 Received: (qmail 49148 invoked by uid 500); 28 Sep 2005 13:44:12 -0000 Delivered-To: [email protected] Received: (qmail 49085 invoked by uid 500); 28 Sep 2005 13:44:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 49071 invoked by uid 99); 28 Sep 2005 13:44:10 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Sep 2005 06:44:09 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 5F13D122 for <[email protected]>; Wed, 28 Sep 2005 15:43:48 +0200 (CEST) Message-ID: <[email protected]> Date: Wed, 28 Sep 2005 15:43:48 +0200 (CEST) From: "Joachim (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (XALANJ-2083) Data corrupted in Parallel XSL execution In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/XALANJ-2083?page=comments#action_12330688 ] Joachim commented on XALANJ-2083: --------------------------------- Hi, I found the same error in Xalan J 2.70 on AIX platforms (4 and 5) using multiple CPU. Problem could not be reproduced on Windows, Linux on single CPU computers even if more than one threads were used. Switching configuration on AIX to 1 thread helps to avoid bug, but slows down execution performance. Joachim > Data corrupted in Parallel XSL execution > ---------------------------------------- > > Key: XALANJ-2083 > URL: http://issues.apache.org/jira/browse/XALANJ-2083 > Project: XalanJ2 > Type: Bug > Versions: 2.5 > Environment: Solaris 8, JDK1.4.2_05 - Xalan with Xerces 2.5.0 and xercesImpl Xerces-J_2_0_1_01 > Reporter: Rony Zoghby > Assignee: Yash Talwar > Priority: Critical > Fix For: 2.7 > Attachments: XalanXercesTest.zip > > Hi, > We're executing the same stylesheet on different XML documents at the same time (multiple concurrent threads). Randomly, the result of the execution of one thread is the result of the execution of another: > Example: > XML INPUT1: <Date>17/01/1976</Date> > XML INPUT2: <Date>20/04/2004</Date> > The results of the XSL that extracts the date are: > RESULT 1: 20/04/2004 (the result of the second execution) > RESULT 2: 20/04/2004 > Is this issue related to Bug ID 19434? It seems like if it is the same. > If not, is there a fix for this? > Regards, > Rony. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Wed Sep 28 18:24:14 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 16483 invoked from network); 28 Sep 2005 18:24:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Sep 2005 18:24:13 -0000 Received: (qmail 20540 invoked by uid 500); 28 Sep 2005 18:24:13 -0000 Delivered-To: [email protected] Received: (qmail 20260 invoked by uid 500); 28 Sep 2005 18:24:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 20247 invoked by uid 99); 28 Sep 2005 18:24:11 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Sep 2005 11:24:11 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 47D16122 for <[email protected]>; Wed, 28 Sep 2005 20:23:50 +0200 (CEST) Message-ID: <[email protected]> Date: Wed, 28 Sep 2005 20:23:50 +0200 (CEST) From: "Christine Li (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (XALANJ-2205) If a URIResolver is provided, don't call SystemIDResolver.getAbsoluteURI In-Reply-To: <{{EMAIL+PHONE}}> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/XALANJ-2205?page=comments#action_12330712 ] Christine Li commented on XALANJ-2205: -------------------------------------- The patch looks fine and should resolve the problem. Reviewed by Christine Li > If a URIResolver is provided, don't call SystemIDResolver.getAbsoluteURI > ------------------------------------------------------------------------ > > Key: XALANJ-2205 > URL: http://issues.apache.org/jira/browse/XALANJ-2205 > Project: XalanJ2 > Type: Bug > Versions: 2.6, 2.7, Latest Development Code > Reporter: Brian Minchau > Assignee: Brian Minchau > Attachments: ProcessorInclude.patch4.txt > > If the user provides a URIResolver that returns the Source given the absolute URI of the stylesheet module doing the include/import and the relative URI from the href attribute, and if that Source has its system ID set, then there is no reason for the XSLT processor to get involved with the contents of the URIs. The user has provided the full management of stylesheet URIs, to resolve all included/imported Source stylesheet modules and their absolute URIs. > The URIs are supposed to be legitimate URIs, but wheter or not they actually are should be in the user's control. For example the URIs might be of the form "file:///..." with directories or filenames that have characters in them that are not allowed in legitimate URIs. > On the other hand, if the user hasn't provided a URIResolver, or that resolver doesn't return a Source, or that Source doesn't have its system ID set, then the fallback of using SystemIDResolver to get the base URI of the included document is OK. If the URIs are not legitimate, the services provided by this class may throw MalformedURIException. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Sep 29 20:33:14 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93485 invoked from network); 29 Sep 2005 20:33:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Sep 2005 20:33:14 -0000 Received: (qmail 61831 invoked by uid 500); 29 Sep 2005 20:33:12 -0000 Delivered-To: [email protected] Received: (qmail 61806 invoked by uid 500); 29 Sep 2005 20:33:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 61791 invoked by uid 99); 29 Sep 2005 20:33:12 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Sep 2005 13:33:10 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id 992BCE1 for <[email protected]>; Thu, 29 Sep 2005 22:32:49 +0200 (CEST) Message-ID: <[email protected]> Date: Thu, 29 Sep 2005 22:32:49 +0200 (CEST) From: "Henri-Bastien Lamontagne (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (XALANC-564) wrong assertion check in XalanEXSLTFunctionDecodeURIacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bxecute (XalanEXSLTString.cpp) Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N wrong assertion check in XalanEXSLTFunctionDecodeURIacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bxecute (XalanEXSLTString.cpp) ------------------------------------------------------------------------------------ Key: XALANC-564 URL: http://issues.apache.org/jira/browse/XALANC-564 Project: XalanC Type: Bug Components: XalanC Versions: 1.8, 1.9 Environment: ALL Reporter: Henri-Bastien Lamontagne Priority: Minor There is a wrong assertion check in the function XalanEXSLTFunctionDecodeURIacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bxecute in the file XalanEXSLTString.cpp. the current assertion is: assert(args[0].null() == false && (theSize == 2 || args[1].null() == false)); The resulting behevior is that with only one argument the assertion should always fail because (theSize ==2 will be false and args[1].null() == false should be false too. The solution is to replace it with this: assert(args[0].null() == false && (theSize == 1 || args[1].null() == false)); There is a simple workaround for though will its being fixed though. If you supply 2 arguments and specify UTF-8 as the second argument you will get the exact same behavior without assertion failure. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Sep 29 20:35:12 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 95312 invoked from network); 29 Sep 2005 20:35:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 29 Sep 2005 20:35:12 -0000 Received: (qmail 69411 invoked by uid 500); 29 Sep 2005 20:35:10 -0000 Delivered-To: [email protected] Received: (qmail 69368 invoked by uid 500); 29 Sep 2005 20:35:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 69354 invoked by uid 99); 29 Sep 2005 20:35:10 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Sep 2005 13:35:08 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id B6B81E1 for <[email protected]>; Thu, 29 Sep 2005 22:34:47 +0200 (CEST) Message-ID: <[email protected]> Date: Thu, 29 Sep 2005 22:34:47 +0200 (CEST) From: "Henri-Bastien Lamontagne (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (XALANC-564) wrong assertion check in XalanEXSLTFunctionDecodeURIacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bxecute (XalanEXSLTString.cpp) In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/XALANC-564?page=comments#action_12330870 ] Henri-Bastien Lamontagne commented on XALANC-564: ------------------------------------------------- Well, although the main title doesn't mention it the issue is fixed in this bug report. http://issues.apache.org/jira/browse/XALANC-522 > wrong assertion check in XalanEXSLTFunctionDecodeURIacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bxecute (XalanEXSLTString.cpp) > ------------------------------------------------------------------------------------ > > Key: XALANC-564 > URL: http://issues.apache.org/jira/browse/XALANC-564 > Project: XalanC > Type: Bug > Components: XalanC > Versions: 1.8, 1.9 > Environment: ALL > Reporter: Henri-Bastien Lamontagne > Priority: Minor > > There is a wrong assertion check in the function XalanEXSLTFunctionDecodeURIacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bxecute in the file XalanEXSLTString.cpp. > the current assertion is: > assert(args[0].null() == false && > (theSize == 2 || args[1].null() == false)); > The resulting behevior is that with only one argument the assertion should always fail because (theSize ==2 will be false and args[1].null() == false should be false too. > The solution is to replace it with this: > assert(args[0].null() == false && > (theSize == 1 || args[1].null() == false)); > There is a simple workaround for though will its being fixed though. If you supply 2 arguments and specify UTF-8 as the second argument you will get the exact same behavior without assertion failure. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Sep 30 05:54:24 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11353 invoked from network); 30 Sep 2005 05:54:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Sep 2005 05:54:24 -0000 Received: (qmail 52727 invoked by uid 500); 30 Sep 2005 05:54:13 -0000 Delivered-To: [email protected] Received: (qmail 52465 invoked by uid 500); 30 Sep 2005 05:54:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 52035 invoked by uid 99); 30 Sep 2005 05:54:10 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO ajax.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Sep 2005 22:54:08 -0700 Received: from ajax.apache.org (ajax.apache.org [161.129.204.104]) by ajax.apache.org (Postfix) with ESMTP id D7569DF for <[email protected]>; Fri, 30 Sep 2005 07:53:47 +0200 (CEST) Message-ID: <[email protected]> Date: Fri, 30 Sep 2005 07:53:47 +0200 (CEST) From: "David Bertoni (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Resolved: (XALANC-564) wrong assertion check in XalanEXSLTFunctionDecodeURIacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bxecute (XalanEXSLTString.cpp) In-Reply-To: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/XALANC-564?page=all ] David Bertoni resolved XALANC-564: ---------------------------------- Resolution: Duplicate > wrong assertion check in XalanEXSLTFunctionDecodeURIacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bxecute (XalanEXSLTString.cpp) > ------------------------------------------------------------------------------------ > > Key: XALANC-564 > URL: http://issues.apache.org/jira/browse/XALANC-564 > Project: XalanC > Type: Bug > Components: XalanC > Versions: 1.8, 1.9 > Environment: ALL > Reporter: Henri-Bastien Lamontagne > Priority: Minor > > There is a wrong assertion check in the function XalanEXSLTFunctionDecodeURIacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bxecute in the file XalanEXSLTString.cpp. > the current assertion is: > assert(args[0].null() == false && > (theSize == 2 || args[1].null() == false)); > The resulting behevior is that with only one argument the assertion should always fail because (theSize ==2 will be false and args[1].null() == false should be false too. > The solution is to replace it with this: > assert(args[0].null() == false && > (theSize == 1 || args[1].null() == false)); > There is a simple workaround for though will its being fixed though. If you supply 2 arguments and specify UTF-8 as the second argument you will get the exact same behavior without assertion failure. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Fri Sep 30 21:54:54 2005 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82703 invoked from network); 30 Sep 2005 21:54:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 30 Sep 2005 21:54:54 -0000 Received: (qmail 27560 invoked by uid 500); 30 Sep 2005 21:54:52 -0000 Delivered-To: [email protected] Received: (qmail 27534 invoked by uid 500); 30 Sep 2005 21:54:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: [email protected] List-Id: <xalan-dev.xml.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 27523 invoked by uid 99); 30 Sep 2005 21:54:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Sep 2005 14:54:51 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO smtp.openfox.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Sep 2005 14:54:56 -0700 Received: from IANPC (ian [161.129.204.104]) by smtp.openfox.com (8.9.3/8.9.3) with SMTP id RAA30043 for <[email protected]>; Fri, 30 Sep 2005 17:10:42 -0500 Message-ID: <086b01c5c609$5c4135f0$5301010a@IANPC> From: "Ian Warner" <[email protected]> To: <[email protected]> References: <[email protected]> Subject: Compile errors on SFU Date: Fri, 30 Sep 2005 16:53:15 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I am getting the following errors compiling Xalan on Windows SFU using gcc 3.3 Any assistance would be greatly apprectiated - thanks g++ -O -DNDEBUG -fno-elide-constructors -DINTERIX -D_ALL_SOURCE -D_REENT RANT -I/usr/local/include -DXALAN_INMEM_MS G_LOADER -c -I/AL3/xalan1_9/xml-xalan/c/src -I/AL3/xalan1_9/xml-xalan/c/incl ude -I../../nls/include -I/AL3/xerces-c-src_ 2_6_0/src/ -I/AL3/xerces-c-src_2_6_0/include/xercesc -I/AL3/xerces-c-src_2_6 _0/include/ -o ../../obj/process.o /AL3/xal an1_9/xml-xalan/c/src/xalanc/TestXSLT/process.cpp /AL3/xalan1_9/xml-xalan/c/src/xalanc/TestXSLT/process.cpp: In function ` xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bFormatterListener* createFormatter(int, bool, bool, bool, bool, xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bPrintWriter&, int, const xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanDOMString&, const xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bStylesheetRoot*, xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXercesParserLiaison&, xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanSourceTreeParserLiaison&, const xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bPrefixResolver&, const xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanDocument*&)': /AL3/xalan1_9/xml-xalan/c/src/xalanc/TestXSLT/process.cpp:631: error: no matching function for call to `xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bFormatterToTextacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bormatterToText( xercesc_2_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bMemoryManager&, xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bPrintWriter&, const xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanDOMString&)' /AL3/xalan1_9/xml-xalan/c/src/xalanc/XMLSupport/FormatterToText.hpp:222: error: candidates are: xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bFormatterToTextacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bormatterToText(const xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bFormatterToText&) /AL3/xalan1_9/xml-xalan/c/src/xalanc/XMLSupport/FormatterToText.hpp:81: error: xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bFormatterToTextacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bormatterToText(xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bWriter&, const xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanDOMString&, bool = true, bool = true, xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bMemoryManagerType& = xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanMemMgrsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetDefaultXercesMemMgr()()) /AL3/xalan1_9/xml-xalan/c/src/xalanc/XMLSupport/FormatterToText.hpp:66: error: xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bFormatterToTextacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bormatterToText(xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bWriter&, bool = true, bool = true, xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bMemoryManagerType& = xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanMemMgrsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetDefaultXercesMemMgr()()) /AL3/xalan1_9/xml-xalan/c/src/xalanc/XMLSupport/FormatterToText.hpp:53: error: xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bFormatterToTextacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bormatterToText(xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bMemoryManagerType& = xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanMemMgrsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetDefaultXercesMemMgr()()) /AL3/xalan1_9/xml-xalan/c/src/xalanc/TestXSLT/process.cpp:666: error: no matching function for call to `xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bFormatterToHTMLacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bormatterToHTML( xercesc_2_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bMemoryManager&, xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bPrintWriter&, const xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanDOMString&, xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanDOMString&, xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanDOMString&, xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanDOMString&, bool&, int&)' /AL3/xalan1_9/xml-xalan/c/src/xalanc/XMLSupport/FormatterToHTML.hpp:51: error: candidates are: xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bFormatterToHTMLacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bormatterToHTML(const xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bFormatterToHTML&) /AL3/xalan1_9/xml-xalan/c/src/xalanc/XMLSupport/FormatterToHTML.hpp:85: error: xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bFormatterToHTMLacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bormatterToHTML(xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bWriter&, const xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanDOMString& = XalanDOMString((+xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanMemMgrsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetDummyMemMgr()())), const xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanDOMString& = XalanDOMString((+xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanMemMgrsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetDummyMemMgr()())), const xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanDOMString& = XalanDOMString((+xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanMemMgrsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetDummyMemMgr()())), const xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanDOMString& = XalanDOMString((+xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanMemMgrsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetDummyMemMgr()())), bool = true, int = eDefaultIndentAmount, bool = true, bool = false, xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bMemoryManagerType& = xalanc_1_acf:4db6:5e0b:f386:43a5:35d7:718d:3c8bXalanMemMgrsacf:4db6:5e0b:f386:43a5:35d7:718d:3c8bgetDefaultXercesMemMgr()()) gmake[1]: *** [../../obj/process.o] Error 1 gmake[1]: Leaving directory `/AL3/xalan1_9/xml-xalan/c/src/xalanc' gmake: *** [all] Error 2 fox-on-nodea% --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
From [email protected] Wed Feb 1 02:04:24 2006 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 83735 invoked by uid 99); 1 Feb 2006 02:04:24 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jan 2006 18:04:24 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO web51808.mail.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 31 Jan 2006 18:04:22 -0800 Received: (qmail 95770 invoked by uid 60001); 1 Feb 2006 02:04:01 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=NZb6lDyZzyHGgHlh2v2ZnKzk24z5SHFxkesFGZIwaX2W/A2iPQrvdX4vdqxJhTLed6x8mMXAoWJkDH9YQ8uGhzVbTu03w9Q87hM+uWVuNsjztcTdrXg4awuqJynPP+Vr5dZ/8MuiKt5tasTJvRtPheEgjdMNBCARwMI/+1rg6QA= ; Message-ID: <[email protected]> Received: from [161.129.204.104] by web51808.mail.yahoo.com via HTTP; Tue, 31 Jan 2006 18:04:01 PST Date: Tue, 31 Jan 2006 18:04:01 -0800 (PST) From: senthil kumar <[email protected]> Subject: In html report how can I display Class names. To: [email protected] MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Kazuhito, How can I display the test class names in report. For example I have three test classes Atest.java (testAmethod()) Btest.java (testBmethod()) Ctest.java (testCmethod()) I created a suite with for these three classes. AllTestsSuite (which has all three testClasses) If I call AllTestsSuite then in the report I am seeing the suite name after the summary section testSuite name displayed TestCase AllTestSuite and down below I am seeing all the method names but I need a break down report for each test case meaning (for each test class these are the methods). Right how its showing all the methods from different test classes its very hard to find out which test class has which method. Is there anyway I can configure this? Thanks, Senthil. From [email protected] Wed Feb 1 05:16:02 2006 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 12425 invoked by uid 99); 1 Feb 2006 05:16:02 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jan 2006 21:16:02 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO redrose.hubbub.com.au) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jan 2006 21:16:02 -0800 Received: from dorothy-int.oz.hubbub.com.au (unknown [161.129.204.104]) by redrose.hubbub.com.au (Postfix) with ESMTP id 70DB71038D for <[email protected]>; Wed, 1 Feb 2006 16:14:25 +1100 (EST) Received: from ATLANTIS-EVS.oz.hubbub.com.au (maryann1.oz.hubbub.com.au [161.129.204.104]) by dorothy-int.oz.hubbub.com.au (Postfix) with ESMTP id B85EE7883 for <[email protected]>; Thu, 2 Feb 2006 03:15:14 +1100 (EST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: NoClassDefFoundError running cactus Ant Task Date: Wed, 1 Feb 2006 16:18:09 +1100 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: NoClassDefFoundError running cactus Ant Task Thread-Index: AcYm7uPrcqiHjBjLQa6EOlvKVN3csQ== From: "William Ferguson" <[email protected]> To: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Hi, I've created an Ear using the cactifyear Ant Task and have deployed it to Weblogic 8.1 and started the server. When I run the cactus Ant task, it hist the RedirectorServlet on WLS but then dies with NoClassDefFoundError: org/apache/cactus/ServletTestCase (full stacktrace to follow). The cactus war that has been added to the Ear contains the cactus-1.7.1.jar in WEB-INF/lib (as well as all the other Cactus jars). William [cactus] Testcase: testGetMergedDocument(au.com.hubbub.consol.beans.appservice.ejb.AppServi ceTest): Caused an ERROR [cactus] org/apache/cactus/ServletTestCase [cactus] java.lang.NoClassDefFoundError: org/apache/cactus/ServletTestCase [cactus] at java.lang.ClassLoader.defineClass0(Native Method) [cactus] at java.lang.ClassLoader.defineClass(ClassLoader.java:537) [cactus] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) [cactus] at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericCla ssLoader.java:476) [cactus] at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoa der.java:181) [cactus] at java.lang.ClassLoader.loadClass(ClassLoader.java:289) [cactus] at java.lang.ClassLoader.loadClass(ClassLoader.java:282) [cactus] at java.lang.ClassLoader.loadClass(ClassLoader.java:235) [cactus] at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoa der.java:223) [cactus] at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAware ClassLoader.java:41) [cactus] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) [cactus] at java.lang.Class.forName0(Native Method) [cactus] at java.lang.Class.forName(Class.java:219) [cactus] at org.apache.cactus.internal.util.ClassLoaderUtils.loadClassFromContextCla ssLoader_aroundBody2(ClassLoaderUtils.java:78) [cactus] at org.apache.cactus.internal.util.ClassLoaderUtils.loadClassFromContextCla ssLoader_aroundBody3$advice(ClassLoaderUtils.java:246) [cactus] at org.apache.cactus.internal.util.ClassLoaderUtils.loadClassFromContextCla ssLoader(ClassLoaderUtils.java) [cactus] at org.apache.cactus.internal.util.ClassLoaderUtils.loadClass_aroundBody0(C lassLoaderUtils.java:61) [cactus] at org.apache.cactus.internal.util.ClassLoaderUtils.loadClass_aroundBody1$a dvice(ClassLoaderUtils.java:246) [cactus] at org.apache.cactus.internal.util.ClassLoaderUtils.loadClass(ClassLoaderUt ils.java) [cactus] at org.apache.cactus.internal.server.AbstractWebTestCaller.getTestClassClas s(AbstractWebTestCaller.java:485) [cactus] at org.apache.cactus.internal.server.AbstractWebTestCaller.getTestClassInst ance(AbstractWebTestCaller.java:384) [cactus] at org.apache.cactus.internal.server.AbstractWebTestCaller.doTest(AbstractW ebTestCaller.java:109) [cactus] at org.apache.cactus.internal.server.AbstractWebTestController.handleReques t_aroundBody0(AbstractWebTestController.java:93) [cactus] at org.apache.cactus.internal.server.AbstractWebTestController.handleReques t_aroundBody1$advice(AbstractWebTestController.java:217) [cactus] at org.apache.cactus.internal.server.AbstractWebTestController.handleReques t(AbstractWebTestController.java) [cactus] at org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody2(Servle tTestRedirector.java:101) [cactus] at org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody3$advice (ServletTestRedirector.java:217) [cactus] at org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedirec tor.java) [cactus] at org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody0(Servlet TestRedirector.java:72) [cactus] at org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody1$advice( ServletTestRedirector.java:217) [cactus] at org.apache.cactus.server.ServletTestRedirector.doGet(ServletTestRedirect or.java) [cactus] at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) [cactus] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) [cactus] at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se rvletStubImpl.java:996) [cactus] at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl. java:419) [cactus] at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl. java:315) [cactus] at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r un(WebAppServletContext.java: 6456) [cactus] at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu bject.java:321) [cactus] at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118 ) [cactus] at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl etContext.java:3661) [cactus] at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl. java:2630) [cactus] at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219) [cactus] at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178) [cactus] TEST au.com.hubbub.consol.beans.appservice.ejb.AppServiceTest FAILED From [email protected] Wed Feb 1 08:09:39 2006 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 48426 invoked by uid 99); 1 Feb 2006 08:09:39 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2006 00:09:39 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO mail.idainfront.se) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2006 00:09:38 -0800 Received: from narnia.idainfront.idainfront.se (narnia.idainfront.idainfront.se [161.129.204.104]) by mail.idainfront.se (8.12.3/8.12.3/Debian-7.1) with ESMTP id k11899xa009551 for <[email protected]>; Wed, 1 Feb 2006 09:09:09 +0100 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: NoClassDefFoundError running cactus Ant Task X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Wed, 1 Feb 2006 09:09:09 +0100 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: NoClassDefFoundError running cactus Ant Task Thread-Index: AcYm7uPrcqiHjBjLQa6EOlvKVN3csQAF55Gw From: "Magnus Grimsell" <[email protected]> To: "Cactus Users List" <[email protected]> X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on mail.idainfront.se X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-98.7 required=5.0 tests=AWL,BAYES_99, USER_IN_WHITELIST autolearn=disabled version=3.0.2 Hi William, Where are your test classes located. If they aren=B4t loaded from the = cactus war you could end up with this problem. /grimsell > -----Original Message----- > From: William Ferguson [mailto:[email protected]] > Sent: Wednesday, February 01, 2006 6:18 AM > To: [email protected] > Subject: NoClassDefFoundError running cactus Ant Task >=20 >=20 > Hi, >=20 > I've created an Ear using the cactifyear Ant Task and have deployed it > to Weblogic 8.1 and started the server. When I run the cactus=20 > Ant task, > it hist the RedirectorServlet on WLS but then dies with > NoClassDefFoundError: org/apache/cactus/ServletTestCase (full=20 > stacktrace > to follow). >=20 > The cactus war that has been added to the Ear contains the > cactus-1.7.1.jar in WEB-INF/lib (as well as all the other=20 > Cactus jars). >=20 > William >=20 >=20 > [cactus] Testcase: > testGetMergedDocument(au.com.hubbub.consol.beans.appservice.ej > b.AppServi > ceTest): Caused an ERROR > [cactus] org/apache/cactus/ServletTestCase > [cactus] java.lang.NoClassDefFoundError: > org/apache/cactus/ServletTestCase > [cactus] at java.lang.ClassLoader.defineClass0(Native Method) > [cactus] at > java.lang.ClassLoader.defineClass(ClassLoader.java:537) > [cactus] at > java.security.SecureClassLoader.defineClass(SecureClassLoader. > java:123) > [cactus] at > weblogic.utils.classloaders.GenericClassLoader.findLocalClass( > GenericCla > ssLoader.java:476) > [cactus] at > weblogic.utils.classloaders.GenericClassLoader.findClass(Gener > icClassLoa > der.java:181) > [cactus] at=20 > java.lang.ClassLoader.loadClass(ClassLoader.java:289) > [cactus] at=20 > java.lang.ClassLoader.loadClass(ClassLoader.java:282) > [cactus] at=20 > java.lang.ClassLoader.loadClass(ClassLoader.java:235) > [cactus] at > weblogic.utils.classloaders.GenericClassLoader.loadClass(Gener > icClassLoa > der.java:223) > [cactus] at > weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(C > hangeAware > ClassLoader.java:41) > [cactus] at > java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) > [cactus] at java.lang.Class.forName0(Native Method) > [cactus] at java.lang.Class.forName(Class.java:219) > [cactus] at > org.apache.cactus.internal.util.ClassLoaderUtils.loadClassFrom > ContextCla > ssLoader_aroundBody2(ClassLoaderUtils.java:78) > [cactus] at > org.apache.cactus.internal.util.ClassLoaderUtils.loadClassFrom > ContextCla > ssLoader_aroundBody3$advice(ClassLoaderUtils.java:246) > [cactus] at > org.apache.cactus.internal.util.ClassLoaderUtils.loadClassFrom > ContextCla > ssLoader(ClassLoaderUtils.java) > [cactus] at > org.apache.cactus.internal.util.ClassLoaderUtils.loadClass_aro > undBody0(C > lassLoaderUtils.java:61) > [cactus] at > org.apache.cactus.internal.util.ClassLoaderUtils.loadClass_aro > undBody1$a > dvice(ClassLoaderUtils.java:246) > [cactus] at > org.apache.cactus.internal.util.ClassLoaderUtils.loadClass(Cla > ssLoaderUt > ils.java) > [cactus] at > org.apache.cactus.internal.server.AbstractWebTestCaller.getTes > tClassClas > s(AbstractWebTestCaller.java:485) > [cactus] at > org.apache.cactus.internal.server.AbstractWebTestCaller.getTes > tClassInst > ance(AbstractWebTestCaller.java:384) > [cactus] at > org.apache.cactus.internal.server.AbstractWebTestCaller.doTest > (AbstractW > ebTestCaller.java:109) > [cactus] at > org.apache.cactus.internal.server.AbstractWebTestController.ha > ndleReques > t_aroundBody0(AbstractWebTestController.java:93) > [cactus] at > org.apache.cactus.internal.server.AbstractWebTestController.ha > ndleReques > t_aroundBody1$advice(AbstractWebTestController.java:217) > [cactus] at > org.apache.cactus.internal.server.AbstractWebTestController.ha > ndleReques > t(AbstractWebTestController.java) > [cactus] at > org.apache.cactus.server.ServletTestRedirector.doPost_aroundBo > dy2(Servle > tTestRedirector.java:101) > [cactus] at > org.apache.cactus.server.ServletTestRedirector.doPost_aroundBo > dy3$advice > (ServletTestRedirector.java:217) > [cactus] at > org.apache.cactus.server.ServletTestRedirector.doPost(ServletT > estRedirec > tor.java) > [cactus] at > org.apache.cactus.server.ServletTestRedirector.doGet_aroundBod > y0(Servlet > TestRedirector.java:72) > [cactus] at > org.apache.cactus.server.ServletTestRedirector.doGet_aroundBod > y1$advice( > ServletTestRedirector.java:217) > [cactus] at > org.apache.cactus.server.ServletTestRedirector.doGet(ServletTe > stRedirect > or.java) > [cactus] at > javax.servlet.http.HttpServlet.service(HttpServlet.java:740) > [cactus] at > javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > [cactus] at > weblogic.servlet.internal.ServletStubImpl$ServletInvocationAct > ion.run(Se > rvletStubImpl.java:996) > [cactus] at > weblogic.servlet.internal.ServletStubImpl.invokeServlet(Servle > tStubImpl. > java:419) > [cactus] at > weblogic.servlet.internal.ServletStubImpl.invokeServlet(Servle > tStubImpl. > java:315) > [cactus] at > weblogic.servlet.internal.WebAppServletContext$ServletInvocati > onAction.r > un(WebAppServletContext.java: > 6456) > [cactus] at > weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authe > nticatedSu > bject.java:321) > [cactus] at > weblogic.security.service.SecurityManager.runAs(SecurityManage > r.java:118 > ) > [cactus] at > weblogic.servlet.internal.WebAppServletContext.invokeServlet(W > ebAppServl > etContext.java:3661) > [cactus] at > weblogic.servlet.internal.ServletRequestImpl.execute(ServletRe > questImpl. > java:2630) > [cactus] at > weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219) > [cactus] at > weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178) >=20 >=20 > [cactus] TEST > au.com.hubbub.consol.beans.appservice.ejb.AppServiceTest FAILED >=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >=20 >=20 From [email protected] Wed Feb 1 21:46:17 2006 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 426 invoked by uid 99); 1 Feb 2006 21:46:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2006 13:46:17 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO uswgco34.uswest.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2006 13:46:16 -0800 Received: from egate-ne9.uswc.uswest.com (egate-ne9.uswc.uswest.com [161.129.204.104]) by uswgco34.uswest.com (8/8) with ESMTP id k11Ljt3v003384 for <[email protected]>; Wed, 1 Feb 2006 14:45:55 -0700 (MST) Received: from itomae2ksm02.AD.QINTRA.COM (localhost [161.129.204.104]) by egate-ne9.uswc.uswest.com (8.12.10/8.12.10) with ESMTP id k11Ljamc004900 for <[email protected]>; Wed, 1 Feb 2006 15:45:54 -0600 (CST) Received: from itomae2km04.AD.QINTRA.COM ([161.129.204.104]) by itomae2ksm02.AD.QINTRA.COM with Microsoft SMTPSVC(548)664-7369); Wed, 1 Feb 2006 15:45:40 -0600 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Testing for Servlet 2.4 and JSP 2.0 Date: Wed, 1 Feb 2006 15:45:38 -0600 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Testing for Servlet 2.4 and JSP 2.0 Thread-Index: AcYneNckbaFTwrLoSyuVFyFMp+IbkA== From: "Allison, Bob" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 01 Feb 2006 21:45:40.0936 (UTC) FILETIME=[D88DAC80:01C62778] X-Virus-Checked: Checked by ClamAV on apache.org I am starting to work on a new project which uses the Servlet 2.4 and JSP 2.0 standards. In particular, the JSPs use JSP Expression Language. I am wondering if I can use Cactus to test these JSPs. If so, does anyone have pointers on which container(s) I can use and how to set things up to run the tests. Looking at the binary distribution, I don't see any means to perform this testing. In the source distribution, though, it looks like there may be a start towards the support I need, but I do not see anything in the top-level build.xml to build the J2EE 1.4 stuff. I have no problems building from source if I can get some information on how to get it to build the J2EE 1.4 support correctly. From [email protected] Wed Feb 1 22:28:01 2006 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 69314 invoked by uid 99); 1 Feb 2006 22:28:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2006 14:28:00 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO redrose.hubbub.com.au) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2006 14:27:58 -0800 Received: from dorothy-int.oz.hubbub.com.au (unknown [161.129.204.104]) by redrose.hubbub.com.au (Postfix) with ESMTP id 60157ED95 for <[email protected]>; Thu, 2 Feb 2006 09:26:20 +1100 (EST) Received: from ATLANTIS-EVS.oz.hubbub.com.au (maryann1.oz.hubbub.com.au [161.129.204.104]) by dorothy-int.oz.hubbub.com.au (Postfix) with ESMTP id 3AF4319B15 for <[email protected]>; Thu, 2 Feb 2006 20:26:48 +1100 (EST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: NoClassDefFoundError running cactus Ant Task Date: Thu, 2 Feb 2006 09:29:52 +1100 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: NoClassDefFoundError running cactus Ant Task Thread-Index: AcYm7uPrcqiHjBjLQa6EOlvKVN3csQAF55GwAB3hvuA= From: "William Ferguson" <[email protected]> To: "Cactus Users List" <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Thanks Magnus, My test classes were in the cactus war, but had unfortunately also been = packaged up into another module in the Ear, and that was causing the = problem. William =20 -----Original Message----- From: Magnus Grimsell [mailto:[email protected]]=20 Sent: Wednesday, 1 February 2006 6:09 PM To: Cactus Users List Subject: RE: NoClassDefFoundError running cactus Ant Task Hi William, Where are your test classes located. If they aren=B4t loaded from the = cactus war you could end up with this problem. /grimsell > -----Original Message----- > From: William Ferguson [mailto:[email protected]] > Sent: Wednesday, February 01, 2006 6:18 AM > To: [email protected] > Subject: NoClassDefFoundError running cactus Ant Task >=20 >=20 > Hi, >=20 > I've created an Ear using the cactifyear Ant Task and have deployed it > to Weblogic 8.1 and started the server. When I run the cactus=20 > Ant task, > it hist the RedirectorServlet on WLS but then dies with > NoClassDefFoundError: org/apache/cactus/ServletTestCase (full=20 > stacktrace > to follow). >=20 > The cactus war that has been added to the Ear contains the > cactus-1.7.1.jar in WEB-INF/lib (as well as all the other=20 > Cactus jars). >=20 > William >=20 >=20 > [cactus] Testcase: > testGetMergedDocument(au.com.hubbub.consol.beans.appservice.ej > b.AppServi > ceTest): Caused an ERROR > [cactus] org/apache/cactus/ServletTestCase > [cactus] java.lang.NoClassDefFoundError: > org/apache/cactus/ServletTestCase > [cactus] at java.lang.ClassLoader.defineClass0(Native Method) > [cactus] at > java.lang.ClassLoader.defineClass(ClassLoader.java:537) > [cactus] at > java.security.SecureClassLoader.defineClass(SecureClassLoader. > java:123) > [cactus] at > weblogic.utils.classloaders.GenericClassLoader.findLocalClass( > GenericCla > ssLoader.java:476) > [cactus] at > weblogic.utils.classloaders.GenericClassLoader.findClass(Gener > icClassLoa > der.java:181) > [cactus] at=20 > java.lang.ClassLoader.loadClass(ClassLoader.java:289) > [cactus] at=20 > java.lang.ClassLoader.loadClass(ClassLoader.java:282) > [cactus] at=20 > java.lang.ClassLoader.loadClass(ClassLoader.java:235) > [cactus] at > weblogic.utils.classloaders.GenericClassLoader.loadClass(Gener > icClassLoa > der.java:223) > [cactus] at > weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(C > hangeAware > ClassLoader.java:41) > [cactus] at > java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) > [cactus] at java.lang.Class.forName0(Native Method) > [cactus] at java.lang.Class.forName(Class.java:219) > [cactus] at > org.apache.cactus.internal.util.ClassLoaderUtils.loadClassFrom > ContextCla > ssLoader_aroundBody2(ClassLoaderUtils.java:78) > [cactus] at > org.apache.cactus.internal.util.ClassLoaderUtils.loadClassFrom > ContextCla > ssLoader_aroundBody3$advice(ClassLoaderUtils.java:246) > [cactus] at > org.apache.cactus.internal.util.ClassLoaderUtils.loadClassFrom > ContextCla > ssLoader(ClassLoaderUtils.java) > [cactus] at > org.apache.cactus.internal.util.ClassLoaderUtils.loadClass_aro > undBody0(C > lassLoaderUtils.java:61) > [cactus] at > org.apache.cactus.internal.util.ClassLoaderUtils.loadClass_aro > undBody1$a > dvice(ClassLoaderUtils.java:246) > [cactus] at > org.apache.cactus.internal.util.ClassLoaderUtils.loadClass(Cla > ssLoaderUt > ils.java) > [cactus] at > org.apache.cactus.internal.server.AbstractWebTestCaller.getTes > tClassClas > s(AbstractWebTestCaller.java:485) > [cactus] at > org.apache.cactus.internal.server.AbstractWebTestCaller.getTes > tClassInst > ance(AbstractWebTestCaller.java:384) > [cactus] at > org.apache.cactus.internal.server.AbstractWebTestCaller.doTest > (AbstractW > ebTestCaller.java:109) > [cactus] at > org.apache.cactus.internal.server.AbstractWebTestController.ha > ndleReques > t_aroundBody0(AbstractWebTestController.java:93) > [cactus] at > org.apache.cactus.internal.server.AbstractWebTestController.ha > ndleReques > t_aroundBody1$advice(AbstractWebTestController.java:217) > [cactus] at > org.apache.cactus.internal.server.AbstractWebTestController.ha > ndleReques > t(AbstractWebTestController.java) > [cactus] at > org.apache.cactus.server.ServletTestRedirector.doPost_aroundBo > dy2(Servle > tTestRedirector.java:101) > [cactus] at > org.apache.cactus.server.ServletTestRedirector.doPost_aroundBo > dy3$advice > (ServletTestRedirector.java:217) > [cactus] at > org.apache.cactus.server.ServletTestRedirector.doPost(ServletT > estRedirec > tor.java) > [cactus] at > org.apache.cactus.server.ServletTestRedirector.doGet_aroundBod > y0(Servlet > TestRedirector.java:72) > [cactus] at > org.apache.cactus.server.ServletTestRedirector.doGet_aroundBod > y1$advice( > ServletTestRedirector.java:217) > [cactus] at > org.apache.cactus.server.ServletTestRedirector.doGet(ServletTe > stRedirect > or.java) > [cactus] at > javax.servlet.http.HttpServlet.service(HttpServlet.java:740) > [cactus] at > javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > [cactus] at > weblogic.servlet.internal.ServletStubImpl$ServletInvocationAct > ion.run(Se > rvletStubImpl.java:996) > [cactus] at > weblogic.servlet.internal.ServletStubImpl.invokeServlet(Servle > tStubImpl. > java:419) > [cactus] at > weblogic.servlet.internal.ServletStubImpl.invokeServlet(Servle > tStubImpl. > java:315) > [cactus] at > weblogic.servlet.internal.WebAppServletContext$ServletInvocati > onAction.r > un(WebAppServletContext.java: > 6456) > [cactus] at > weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authe > nticatedSu > bject.java:321) > [cactus] at > weblogic.security.service.SecurityManager.runAs(SecurityManage > r.java:118 > ) > [cactus] at > weblogic.servlet.internal.WebAppServletContext.invokeServlet(W > ebAppServl > etContext.java:3661) > [cactus] at > weblogic.servlet.internal.ServletRequestImpl.execute(ServletRe > questImpl. > java:2630) > [cactus] at > weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219) > [cactus] at > weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178) >=20 >=20 > [cactus] TEST > au.com.hubbub.consol.beans.appservice.ejb.AppServiceTest FAILED >=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >=20 >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Thu Feb 2 04:25:10 2006 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 5895 invoked by uid 99); 2 Feb 2006 04:25:10 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2006 20:25:10 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO tama5.ecl.ntt.co.jp) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2006 20:25:09 -0800 Received: from vcs3.rdh.ecl.ntt.co.jp (vcs3.rdh.ecl.ntt.co.jp [161.129.204.104]) by tama5.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id k124Olp3022516 for <[email protected]>; Thu, 2 Feb 2006 13:24:47 +0900 (JST) Received: from mfs3.rdh.ecl.ntt.co.jp (mfs3.rdh.ecl.ntt.co.jp [161.129.204.104]) by vcs3.rdh.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id k124Okvn014950 for <[email protected]>; Thu, 2 Feb 2006 13:24:46 +0900 (JST) Received: from nttmail3.ecl.ntt.co.jp ([161.129.204.104]) by mfs3.rdh.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id k124OkoS022798 for <[email protected]>; Thu, 2 Feb 2006 13:24:46 +0900 (JST) Received: from dmailsv1.y.ecl.ntt.co.jp (dmailsv1.y.ecl.ntt.co.jp [161.129.204.104]) by nttmail3.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id k124Oj0P018715 for <[email protected]>; Thu, 2 Feb 2006 13:24:45 +0900 (JST) Received: from mailsv01.y.ecl.ntt.co.jp by dmailsv1.y.ecl.ntt.co.jp (8.13.5/dmailsv-1.5) with ESMTP id k124Oisq016821 for <[email protected]>; Thu, 2 Feb 2006 13:24:44 +0900 (JST) Received: from localhost by mailsv01.y.ecl.ntt.co.jp (8.13.5/Lab-1.5a) with ESMTP id k124Oi4w016738 for <[email protected]>; Thu, 2 Feb 2006 13:24:44 +0900 (JST) Date: Thu, 02 Feb 2006 13:24:52 +0900 (JST) Message-Id: <[email protected]> To: [email protected] Subject: Re: In html report how can I display Class names. From: Kazuhito SUGURI <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> X-Mailer: Mew version 4.2 on Emacs 21.4 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Senthil, In article <[email protected]>, Tue, 31 Jan 2006 18:04:01 -0800 (PST), senthil kumar <[email protected]> wrote: senthil_cbe> How can I display the test class names in report. For senthil_cbe> example I have three test classes senthil_cbe> Atest.java (testAmethod()) senthil_cbe> Btest.java (testBmethod()) senthil_cbe> Ctest.java (testCmethod()) senthil_cbe> senthil_cbe> I created a suite with for these three classes. senthil_cbe> AllTestsSuite (which has all three testClasses) senthil_cbe> senthil_cbe> If I call AllTestsSuite then in the report I am seeing senthil_cbe> the suite name after the summary section testSuite senthil_cbe> name displayed senthil_cbe> TestCase AllTestSuite senthil_cbe> and down below I am seeing all the method names but I senthil_cbe> need a break down report for each test case meaning senthil_cbe> (for each test class these are the methods). Right how senthil_cbe> its showing all the methods from different test senthil_cbe> classes its very hard to find out which test class has senthil_cbe> which method. You might use <batchtest> to execute <cactus> for individual test class. By using build.xml fragment such as follws, you could obtain test reports each of which is for a test class: <cactus ...> ... <batchtest> <fileset dir="${cactus.src.dir}" includes="**/*test.java" excludes="AllTestsSuite.java" /> </batchtest> <formatter type="xml" /> <junitreport> <fileset dir="${report.cactus.dir}" includes="TEST-*.xml" /> <report todir="${report.cactus.dir}/html" format="frames" /> </junitreport> ... </cactus> If you want to see all results in a single HTML report -- this may be a reason why you are using AllTestSuites --, you could use your own XSL style-sheet for <junitreport> Ant task. In a test report of XML format, which is created by <cactus> and <formatter>, there is information you might want to see in the HTML report, such as class-name. Follwing is an example of the report of XML format: <?xml version="1.0" encoding="UTF-8" ?> <testsuite errors="0" failures="0" name="AllTests" tests="28" time="3.834"> ... <testcase classname="org.dummy.SampleTest" name="testA" time="0.291"></testcase> ... </testsuite> Hope this helps, ---- Kazuhito SUGURI From [email protected] Thu Feb 2 21:22:32 2006 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 52092 invoked by uid 99); 2 Feb 2006 21:22:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2006 13:22:32 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO LEUSAV02.landsend.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2006 13:22:31 -0800 Received: from usav002.leinternal.com ([161.129.204.104]) by LEUSAV02.landsend.com with Microsoft SMTPSVC(5.0.2195.6713); Thu, 2 Feb 2006 15:21:05 -0600 Received: From usmsg005.leinternal.com ([161.129.204.104]) by usav002.leinternal.com (WebShield SMTP v4.5 MR1a P0803.345); id 1138915264281; Thu, 2 Feb 2006 15:21:04 -0600 Received: from usmsg012.leinternal.com ([161.129.204.104]) by usmsg005.leinternal.com with Microsoft SMTPSVC(6.0.3790.211); Thu, 2 Feb 2006 15:22:06 -0600 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Cactus 1.6.1 Tests from Two Different WARs Deployed in Same JVM Date: Thu, 2 Feb 2006 15:22:03 -0600 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Cactus 1.6.1 Tests from Two Different WARs Deployed in Same JVM thread-index: AcYoPrZOCHU/EonwRP6zMbII8zJWKw== From: "Fredrich, Jeremy D" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 02 Feb 2006 21:22:06.0195 (UTC) FILETIME=[B7B71430:01C6283E] X-Virus-Checked: Checked by ClamAV on apache.org I have deployed two different EARs, each containing a WAR, into a = Websphere 5.1.1 application server which uses a shared JVM. Both = Cactus tests(one from each WAR) run successfully from the browser if = they are the first and only to run after the server is started. If I = attempt to run the second Cactus test after the first one successfully = runs, I receive the following error: org.apache.cactus.util.ChainedRuntimeException: Failed to get the test = results at = http://localhost:9080/application1_web/ServletRedirectorSecure The cactus.contextURL contains the URL of the first test that ran. = Below are the two test URLs. http://localhost:9080/application1_web/ServletTestRunner?suite=3Dcom.abc.= WMServletTest http://localhost:9080/application2_web/ServletTestRunner?suite=3Dcom.abc.= QAServletTest Does Cactus support running two different WARs in the same JVM? If so, = how do I configure Cactus? =20 From [email protected] Thu Feb 2 23:23:54 2006 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 35347 invoked by uid 99); 2 Feb 2006 23:23:54 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2006 15:23:54 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO web51808.mail.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 02 Feb 2006 15:23:53 -0800 Received: (qmail 59883 invoked by uid 60001); 2 Feb 2006 23:23:32 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ZZWsDliaSBrJPh3VzWAVc+J0dtqHh2A0DChFviSNGk6YSzGQ/R2uSt0IQTv7F16Em+ZMynRnVL1J4cL633PfgFqrCjYInKBJhMtN7r8Jh3DPapEIdoCA4YXKN1OvhtRfI+hkUweDRhgML7TWbJT+YFJerembRK67MlXImNlfK0o= ; Message-ID: <[email protected]> Received: from [161.129.204.104] by web51808.mail.yahoo.com via HTTP; Thu, 02 Feb 2006 15:23:32 PST Date: Thu, 2 Feb 2006 15:23:32 -0800 (PST) From: senthil kumar <[email protected]> Subject: Re: In html report how can I display Class names. To: Cactus Users List <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Kazuhito, 1. I am not using ANT to generate a report. Right now I am running my test cases from browser. I created a simple UI to display and run test cases for my application. 2. > <testcase classname="org.dummy.SampleTest" > name="testA" time="0.291"></testcase> Regarding the above lines I dont have any problem in using my own XLST but in the XML I didn't see the class name for example here is the XML report which I got from my application. <testsuite name="com.testsuite.AllTestSuite" tests="11" failures="3" errors="0" time="1.484"> <testcase name="testMethod" time="0.14" /> Here I didn't see any class name, I beleive even if I modify the XLST unless there is an entry in the XML document it wont display the class name. So I need to introduce one more attribute class name while writing XML am I right? Thanks, Senthil. --- Kazuhito SUGURI <[email protected]> wrote: > Hi Senthil, > > In article > <[email protected]>, > Tue, 31 Jan 2006 18:04:01 -0800 (PST), > senthil kumar <[email protected]> wrote: > senthil_cbe> How can I display the test class names > in report. For > senthil_cbe> example I have three test classes > senthil_cbe> Atest.java (testAmethod()) > senthil_cbe> Btest.java (testBmethod()) > senthil_cbe> Ctest.java (testCmethod()) > senthil_cbe> > senthil_cbe> I created a suite with for these three > classes. > senthil_cbe> AllTestsSuite (which has all three > testClasses) > senthil_cbe> > senthil_cbe> If I call AllTestsSuite then in the > report I am seeing > senthil_cbe> the suite name after the summary > section testSuite > senthil_cbe> name displayed > senthil_cbe> TestCase AllTestSuite > senthil_cbe> and down below I am seeing all the > method names but I > senthil_cbe> need a break down report for each test > case meaning > senthil_cbe> (for each test class these are the > methods). Right how > senthil_cbe> its showing all the methods from > different test > senthil_cbe> classes its very hard to find out which > test class has > senthil_cbe> which method. > > You might use <batchtest> to execute <cactus> for > individual test class. > By using build.xml fragment such as follws, > you could obtain test reports each of which is for a > test class: > <cactus ...> > ... > <batchtest> > <fileset dir="${cactus.src.dir}" > includes="**/*test.java" > excludes="AllTestsSuite.java" /> > </batchtest> > <formatter type="xml" /> > <junitreport> > <fileset dir="${report.cactus.dir}" > includes="TEST-*.xml" /> > <report todir="${report.cactus.dir}/html" > format="frames" /> > </junitreport> > ... > </cactus> > > If you want to see all results in a single HTML > report > -- this may be a reason why you are using > AllTestSuites --, > you could use your own XSL style-sheet for > <junitreport> Ant task. > In a test report of XML format, which is created by > <cactus> and <formatter>, > there is information you might want to see in the > HTML report, > such as class-name. Follwing is an example of the > report of XML format: > <?xml version="1.0" encoding="UTF-8" ?> > <testsuite errors="0" failures="0" > name="AllTests" tests="28" time="3.834"> > ... > <testcase classname="org.dummy.SampleTest" > name="testA" time="0.291"></testcase> > ... > </testsuite> > > Hope this helps, > ---- > Kazuhito SUGURI > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [email protected] > For additional commands, e-mail: > [email protected] > > From [email protected] Fri Feb 3 05:02:52 2006 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 41620 invoked by uid 99); 3 Feb 2006 05:02:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2006 21:02:52 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO tama5.ecl.ntt.co.jp) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2006 21:02:50 -0800 Received: from vcs3.rdh.ecl.ntt.co.jp (vcs3.rdh.ecl.ntt.co.jp [161.129.204.104]) by tama5.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id k1352SHN009406 for <[email protected]>; Fri, 3 Feb 2006 14:02:28 +0900 (JST) Received: from mfs3.rdh.ecl.ntt.co.jp (mfs3.rdh.ecl.ntt.co.jp [161.129.204.104]) by vcs3.rdh.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id k1352RI5006282 for <[email protected]>; Fri, 3 Feb 2006 14:02:27 +0900 (JST) Received: from nttmail3.ecl.ntt.co.jp ([161.129.204.104]) by mfs3.rdh.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id k1352RSd015996 for <[email protected]>; Fri, 3 Feb 2006 14:02:27 +0900 (JST) Received: from dmailsv1.y.ecl.ntt.co.jp (dmailsv1.y.ecl.ntt.co.jp [161.129.204.104]) by nttmail3.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id k1352Qwb001547 for <[email protected]>; Fri, 3 Feb 2006 14:02:26 +0900 (JST) Received: from mailsv01.y.ecl.ntt.co.jp by dmailsv1.y.ecl.ntt.co.jp (8.13.5/dmailsv-1.5) with ESMTP id k1352QLc011887 for <[email protected]>; Fri, 3 Feb 2006 14:02:26 +0900 (JST) Received: from localhost by mailsv01.y.ecl.ntt.co.jp (8.13.5/Lab-1.5a) with ESMTP id k1352PuB020773 for <[email protected]>; Fri, 3 Feb 2006 14:02:25 +0900 (JST) Date: Fri, 03 Feb 2006 14:02:35 +0900 (JST) Message-Id: <[email protected]> To: [email protected] Subject: Re: In html report how can I display Class names. From: Kazuhito SUGURI <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> X-Mailer: Mew version 4.2 on Emacs 21.4 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Senthil, In article <[email protected]>, Thu, 2 Feb 2006 15:23:32 -0800 (PST), senthil kumar <[email protected]> wrote: senthil_cbe> 1. I am not using ANT to generate a report. Right now senthil_cbe> I am running my test cases from browser. I created a senthil_cbe> simple UI to display and run test cases for my senthil_cbe> application. I see. senthil_cbe> Here I didn't see any class name, I beleive even if I senthil_cbe> modify the XLST unless there is an entry in the XML senthil_cbe> document it wont display the class name. So I need to senthil_cbe> introduce one more attribute class name while writing senthil_cbe> XML am I right? Yes, you are right. You have to customize org.apache.cactus.internal.server.runner.XMLFormatter class and XSL stylesheet if you are using ServletTestRunner. org.apache.cactus.internal.server.runner.XMLFormatter#endTest(Test) method is the first point to modify, I think. Hope this helps, ---- Kazuhito SUGURI From [email protected] Fri Feb 3 05:09:00 2006 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 44220 invoked by uid 99); 3 Feb 2006 05:09:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2006 21:09:00 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO tama5.ecl.ntt.co.jp) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2006 21:08:59 -0800 Received: from vcs3.rdh.ecl.ntt.co.jp (vcs3.rdh.ecl.ntt.co.jp [161.129.204.104]) by tama5.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id k1358cND012059; Fri, 3 Feb 2006 14:08:38 +0900 (JST) Received: from mfs3.rdh.ecl.ntt.co.jp (mfs3.rdh.ecl.ntt.co.jp [161.129.204.104]) by vcs3.rdh.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id k1358bG3011068; Fri, 3 Feb 2006 14:08:37 +0900 (JST) Received: from nttmail3.ecl.ntt.co.jp ([161.129.204.104]) by mfs3.rdh.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id k1358aYT020687; Fri, 3 Feb 2006 14:08:36 +0900 (JST) Received: from dmailsv1.y.ecl.ntt.co.jp (dmailsv1.y.ecl.ntt.co.jp [161.129.204.104]) by nttmail3.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id k1358akS002790; Fri, 3 Feb 2006 14:08:36 +0900 (JST) Received: from mailsv01.y.ecl.ntt.co.jp by dmailsv1.y.ecl.ntt.co.jp (8.13.5/dmailsv-1.5) with ESMTP id k1358Zq2013834; Fri, 3 Feb 2006 14:08:35 +0900 (JST) Received: from localhost by mailsv01.y.ecl.ntt.co.jp (8.13.5/Lab-1.5a) with ESMTP id k1358ZNU021340; Fri, 3 Feb 2006 14:08:35 +0900 (JST) Date: Fri, 03 Feb 2006 14:08:45 +0900 (JST) Message-Id: <[email protected]> To: [email protected], [email protected] Subject: Re: Cactus 1.6.1 Tests from Two Different WARs Deployed in Same JVM From: Kazuhito SUGURI <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> X-Mailer: Mew version 4.2 on Emacs 21.4 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Jeremy, In article <[email protected]>, Thu, 2 Feb 2006 15:22:03 -0600, "Fredrich, Jeremy D" <[email protected]> wrote: Jeremy> I have deployed two different EARs, each containing a WAR, Jeremy> into a Websphere 5.1.1 application server which uses a shared JVM. Jeremy> Both Cactus tests(one from each WAR) run successfully from the browser Jeremy> if they are the first and only to run after the server is started. Jeremy> If I attempt to run the second Cactus test after the first one Jeremy> successfully runs, I receive the following error: Jeremy> org.apache.cactus.util.ChainedRuntimeException: Failed to get the test results at http://localhost:9080/application1_web/ServletRedirectorSecure Jeremy> The cactus.contextURL contains the URL of the first test that ran. This is the limitation of the ServletTestRunner. The context-url the ServletTestRedirector uses is stored as a system (i.e. jvm wide) property and is initialized once when the class is loaded for the first time. See also: http://[email protected]/msg06966.html Regards, ---- Kazuhito SUGURI From [email protected] Fri Feb 3 06:43:31 2006 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 9504 invoked by uid 99); 3 Feb 2006 06:43:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2006 22:43:31 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=HTML_FONT_FACE_BAD,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO mailrelay.zensar.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2006 22:43:30 -0800 Received: from BRIDGEHEAD.ind.zensar.com ([161.129.204.104]) by mailrelay.zensar.com with Microsoft SMTPSVC(6.0.3790.211); Fri, 3 Feb 2006 12:18:52 +0530 Received: from ZENMAILHQ.ind.zensar.com ([161.129.204.104]) by BRIDGEHEAD.ind.zensar.com with Microsoft SMTPSVC(6.0.3790.211); Fri, 3 Feb 2006 12:19:02 +0530 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C6288D.C7DC0B0A" Subject: what url I should write? Date: Fri, 3 Feb 2006 12:18:03 +0530 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: what url I should write? thread-index: AcYojer7twmgBiffQ4W+74qNWmA22w== From: "Awaneesh Shatmanyu" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 03 Feb 2006 06:49:02.0810 (UTC) FILETIME=[EB329BA0:01C6288D] X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C6288D.C7DC0B0A Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, =20 The package structure of my project Glossary Tool ...is com.NRI.TStar.servlets......... =20 Inside servlets(package) I have a SampleServlet.java and to test this using cactus I have TestSampleServlet.java.......... =20 My application is hosted on Tomcat 4.1........... =20 PROBLEM: I am not able to display the test result on the SampleServlet on my browser...(test result is shown in xml in cactus) =20 I am trying http://localhost:8080/GlossaryTool/ServletTestRunner?suite=3DTestSampleSe= r vlet ......this does not work............. =20 Can anyone tell me what to write instead of above......I have tried like =20 com.NRI.TStar.servlets.ServletTestRunner?suite=3DTestSampleServlet but = no result......... =20 =20 Do tell me if I have to modify my web.xml? =20 If I don't use any package structure .....I am able to execute the test!!!!!!! But in package structure I am getting path not found error.Help me!!!!! =20 =20 Regards, Awaneesh Shatmanyu =20 This email may contain confidential or privileged information for the=20 intended recipient(s) and the views expressed in the same are not=20 necessarily the views of Zensar Technologies Ltd. If you are not the = intended=20 recipient or have received this e-mail by error, its use is strictly=20 prohibited, please delete the e-mail and notify the sender. Zensar=20 Technologies Ltd. does not accept any liability for virus infected = mails. ------_=_NextPart_001_01C6288D.C7DC0B0A-- From [email protected] Fri Feb 3 07:03:16 2006 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 27984 invoked by uid 99); 3 Feb 2006 07:03:16 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2006 23:03:16 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO tama55.ecl.ntt.co.jp) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2006 23:03:15 -0800 Received: from vcs3.rdh.ecl.ntt.co.jp (vcs3.rdh.ecl.ntt.co.jp [161.129.204.104]) by tama55.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id k1372rcN026019 for <[email protected]>; Fri, 3 Feb 2006 16:02:53 +0900 (JST) Received: from mfs3.rdh.ecl.ntt.co.jp (mfs3.rdh.ecl.ntt.co.jp [161.129.204.104]) by vcs3.rdh.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id k1372qgC025922 for <[email protected]>; Fri, 3 Feb 2006 16:02:52 +0900 (JST) Received: from nttmail3.ecl.ntt.co.jp ([161.129.204.104]) by mfs3.rdh.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id k1372q7G004775 for <[email protected]>; Fri, 3 Feb 2006 16:02:52 +0900 (JST) Received: from dmailsv1.y.ecl.ntt.co.jp (dmailsv1.y.ecl.ntt.co.jp [161.129.204.104]) by nttmail3.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id k1372q6j023655 for <[email protected]>; Fri, 3 Feb 2006 16:02:52 +0900 (JST) Received: from mailsv01.y.ecl.ntt.co.jp by dmailsv1.y.ecl.ntt.co.jp (8.13.5/dmailsv-1.5) with ESMTP id k1372pPo016845 for <[email protected]>; Fri, 3 Feb 2006 16:02:51 +0900 (JST) Received: from localhost by mailsv01.y.ecl.ntt.co.jp (8.13.5/Lab-1.5a) with ESMTP id k1372pkr001295 for <[email protected]>; Fri, 3 Feb 2006 16:02:51 +0900 (JST) Date: Fri, 03 Feb 2006 16:03:00 +0900 (JST) Message-Id: <[email protected]> To: [email protected] Subject: Re: what url I should write? From: Kazuhito SUGURI <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> X-Mailer: Mew version 4.2 on Emacs 21.4 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, Awaneesh In article <[email protected]>, Fri, 3 Feb 2006 12:18:03 +0530, "Awaneesh Shatmanyu" <[email protected]> wrote: a.shatmanyu> The package structure of my project Glossary Tool ...is a.shatmanyu> com.NRI.TStar.servlets......... a.shatmanyu> a.shatmanyu> Inside servlets(package) I have a SampleServlet.java and to test this a.shatmanyu> using cactus I have TestSampleServlet.java.......... [snip] a.shatmanyu> I am trying a.shatmanyu> http://localhost:8080/GlossaryTool/ServletTestRunner?suite=TestSampleServlet a.shatmanyu> ......this does not work............. I'm not sure how does that not work ;-) The url might be http://localhost:8080/GlossaryTool/ServletTestRunner?suite=com.NRI.TStar.servlets.TestSampleServlet a.shatmanyu> PROBLEM: a.shatmanyu> a.shatmanyu> I am not able to display the test result on the SampleServlet on my a.shatmanyu> browser...(test result is shown in xml in cactus) If you are seeing a test result in XML format, http://jakarta.apache.org/cactus/integration/integration_browser.html might helps you. Hope this helps, ---- Kazuhito SUGURI From [email protected] Fri Feb 3 07:25:13 2006 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 49803 invoked by uid 99); 3 Feb 2006 07:25:13 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2006 23:25:13 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO mailrelay.zensar.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2006 23:25:12 -0800 Received: from zenmailpubfld.ind.zensar.com ([161.129.204.104]) by mailrelay.zensar.com with Microsoft SMTPSVC(6.0.3790.211); Fri, 3 Feb 2006 13:00:34 +0530 Received: from ZENMAILHQ.ind.zensar.com ([161.129.204.104]) by zenmailpubfld.ind.zensar.com with Microsoft SMTPSVC(6.0.3790.211); Fri, 3 Feb 2006 13:00:43 +0530 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: what url I should write? Date: Fri, 3 Feb 2006 12:59:58 +0530 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: what url I should write? thread-index: AcYokNszoyXo7WY0TLWWs8gJ//NbNQAAsjNA From: "Awaneesh Shatmanyu" <[email protected]> To: "Cactus Users List" <[email protected]> X-OriginalArrivalTime: 03 Feb 2006 07:30:43.0952 (UTC) FILETIME=[BDFE9700:01C62893] X-Virus-Checked: Checked by ClamAV on apache.org Thank you Suguri San=20 Its working now ......... Regards, Awaneesh -----Original Message----- From: Kazuhito SUGURI [mailto:[email protected]]=20 Sent: Friday, February 03, 2006 12:33 PM To: [email protected] Subject: Re: what url I should write? Hi, Awaneesh In article <[email protected]>, Fri, 3 Feb 2006 12:18:03 +0530, "Awaneesh Shatmanyu" <[email protected]> wrote:=20 a.shatmanyu> The package structure of my project Glossary Tool ...is a.shatmanyu> com.NRI.TStar.servlets......... a.shatmanyu>=20 a.shatmanyu> Inside servlets(package) I have a SampleServlet.java and to test this a.shatmanyu> using cactus I have TestSampleServlet.java.......... [snip] a.shatmanyu> I am trying a.shatmanyu> http://localhost:8080/GlossaryTool/ServletTestRunner?suite=3DTestSampleSe= r vlet a.shatmanyu> ......this does not work............. I'm not sure how does that not work ;-) The url might be http://localhost:8080/GlossaryTool/ServletTestRunner?suite=3Dcom.NRI.TSta= r .servlets.TestSampleServlet a.shatmanyu> PROBLEM: a.shatmanyu>=20 a.shatmanyu> I am not able to display the test result on the SampleServlet on my a.shatmanyu> browser...(test result is shown in xml in cactus) If you are seeing a test result in XML format, =09 http://jakarta.apache.org/cactus/integration/integration_browser.html might helps you. Hope this helps, ---- Kazuhito SUGURI --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] This email may contain confidential or privileged information for the=20 intended recipient(s) and the views expressed in the same are not=20 necessarily the views of Zensar Technologies Ltd. If you are not the = intended=20 recipient or have received this e-mail by error, its use is strictly=20 prohibited, please delete the e-mail and notify the sender. Zensar=20 Technologies Ltd. does not accept any liability for virus infected = mails. From [email protected] Sat Feb 4 00:13:01 2006 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 77740 invoked by uid 99); 4 Feb 2006 00:13:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Feb 2006 16:13:01 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO web51802.mail.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 03 Feb 2006 16:13:00 -0800 Received: (qmail 1305 invoked by uid 60001); 4 Feb 2006 00:12:39 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=jJK7HR74pg/hOKm8e3E/bMHny1B1KvVQrbFEkXB/LAediZMVPSzutq0mSPEkonnzjrb8CrTtS2Yyfd+GWbNCm+muKMZrdbHOq3ABvfRhlIyRHrf0as4V5BlAl79YqcoK2vDFQVdMcuEeramKGOQpDgfaS1KLXmqAaDqBTA2VNkw= ; Message-ID: <[email protected]> Received: from [161.129.204.104] by web51802.mail.yahoo.com via HTTP; Fri, 03 Feb 2006 16:12:39 PST Date: Fri, 3 Feb 2006 16:12:39 -0800 (PST) From: senthil kumar <[email protected]> Subject: Re: In html report how can I display Class names. To: Cactus Users List <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Kazuhito, You are right. I modified org.apache.cactus.internal.server.runner.XMLFormatter#endTest(Test) this to get a class name. But since these test classes were wrapped into ServletTestCase I am getting the class name as ServletTestCase. From the java doc I was not able to identify exactly from where I can get the original test class name. From testCase or Test object the suite name or class name returned is not the original class name. I noticed getWrappedTestClassName() in AbstractWebTestCaller.java will return the right class name. Is that right? Or could you please advice me where can I get this class name. Thanks, Senthil. --- Kazuhito SUGURI <[email protected]> wrote: > Hi Senthil, > > In article > <[email protected]>, > Thu, 2 Feb 2006 15:23:32 -0800 (PST), > senthil kumar <[email protected]> wrote: > senthil_cbe> 1. I am not using ANT to generate a > report. Right now > senthil_cbe> I am running my test cases from > browser. I created a > senthil_cbe> simple UI to display and run test cases > for my > senthil_cbe> application. > > I see. > > > senthil_cbe> Here I didn't see any class name, I > beleive even if I > senthil_cbe> modify the XLST unless there is an > entry in the XML > senthil_cbe> document it wont display the class > name. So I need to > senthil_cbe> introduce one more attribute class name > while writing > senthil_cbe> XML am I right? > > Yes, you are right. > > You have to customize > org.apache.cactus.internal.server.runner.XMLFormatter > class and XSL stylesheet if you are using > ServletTestRunner. > > org.apache.cactus.internal.server.runner.XMLFormatter#endTest(Test) > method is the first point to modify, I think. > > Hope this helps, > ---- > Kazuhito SUGURI > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [email protected] > For additional commands, e-mail: > [email protected] > > From [email protected] Mon Feb 6 08:08:46 2006 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 12631 invoked by uid 99); 6 Feb 2006 08:08:46 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Feb 2006 00:08:46 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO tama5.ecl.ntt.co.jp) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Feb 2006 00:08:42 -0800 Received: from vcs3.rdh.ecl.ntt.co.jp (vcs3.rdh.ecl.ntt.co.jp [161.129.204.104]) by tama5.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id k1688IeA020367 for <[email protected]>; Mon, 6 Feb 2006 17:08:18 +0900 (JST) Received: from mfs3.rdh.ecl.ntt.co.jp (mfs3.rdh.ecl.ntt.co.jp [161.129.204.104]) by vcs3.rdh.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id k1688HDZ024973 for <[email protected]>; Mon, 6 Feb 2006 17:08:17 +0900 (JST) Received: from nttmail3.ecl.ntt.co.jp ([161.129.204.104]) by mfs3.rdh.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id k1688GFq029623 for <[email protected]>; Mon, 6 Feb 2006 17:08:16 +0900 (JST) Received: from dmailsv1.y.ecl.ntt.co.jp (dmailsv1.y.ecl.ntt.co.jp [161.129.204.104]) by nttmail3.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id k1688GdC004463 for <[email protected]>; Mon, 6 Feb 2006 17:08:16 +0900 (JST) Received: from mailsv01.y.ecl.ntt.co.jp by dmailsv1.y.ecl.ntt.co.jp (8.13.5/dmailsv-1.5) with ESMTP id k1688FP1010997 for <[email protected]>; Mon, 6 Feb 2006 17:08:15 +0900 (JST) Received: from localhost by mailsv01.y.ecl.ntt.co.jp (8.13.5/Lab-1.5a) with ESMTP id k1688FRW022372 for <[email protected]>; Mon, 6 Feb 2006 17:08:15 +0900 (JST) Date: Mon, 06 Feb 2006 17:08:29 +0900 (JST) Message-Id: <[email protected]> To: [email protected] Subject: Re: In html report how can I display Class names. From: Kazuhito SUGURI <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> X-Mailer: Mew version 4.2 on Emacs 21.4 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Senthil, In article <[email protected]>, Fri, 3 Feb 2006 16:12:39 -0800 (PST), senthil kumar <[email protected]> wrote: senthil_cbe> You are right. I modified senthil_cbe> org.apache.cactus.internal.server.runner.XMLFormatter#endTest(Test) senthil_cbe> this to get a class name. But since these test classes senthil_cbe> were wrapped into ServletTestCase I am getting the senthil_cbe> class name as ServletTestCase. From the java doc I was senthil_cbe> not able to identify exactly from where I can get the senthil_cbe> original test class name. From testCase or Test object senthil_cbe> the suite name or class name returned is not the senthil_cbe> original class name. I noticed senthil_cbe> getWrappedTestClassName() in senthil_cbe> AbstractWebTestCaller.java will return the right class senthil_cbe> name. Is that right? Or could you please advice me senthil_cbe> where can I get this class name. I guess you are using org.apache.cactus.ServletTestSuite in your AllTestSuite#suite() method, right? If so, could you change that to junit.framework.TestSuite? public static Test suite() { TestSuite suite = new TestSuite(); suite.addTestSuite(Atest.class); ... return suite; } By doing so, I believe that Test.getClass().getName() in XMLFormatter#endTest(Test) will return the name of the test class. Regards, ---- Kazuhito SUGURI From [email protected] Mon Feb 6 19:48:43 2006 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 3834 invoked by uid 99); 6 Feb 2006 19:48:43 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Feb 2006 11:48:43 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO web51812.mail.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 06 Feb 2006 11:48:42 -0800 Received: (qmail 50930 invoked by uid 60001); 6 Feb 2006 19:48:21 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Cbe8QokK3MzlhVXyTir+lyKmKUwNeXwtyxUWipRvfsha6XVtjhfWhA0Pd60i04KucnYmHdPfUTCkjUVXkZKDmFNNfAS/tvHk6GYDtoyDK/VslmZk2tehlHTE1HXVJdapPPHn1BFFd8w3oKXiz4f9gxfF5/j30MblU9gwIKvD3wI= ; Message-ID: <[email protected]> Received: from [161.129.204.104] by web51812.mail.yahoo.com via HTTP; Mon, 06 Feb 2006 11:48:21 PST Date: Mon, 6 Feb 2006 11:48:21 -0800 (PST) From: senthil kumar <[email protected]> Subject: Re: In html report how can I display Class names. To: Cactus Users List <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Kazuhito, You are right. I got the class name. Its working fine. But can you just give me a brief idea when I have to use ServletTestSuite instead of TestSuite? Thanks, Senthil. --- Kazuhito SUGURI <[email protected]> wrote: > Hi Senthil, > > In article > <[email protected]>, > Fri, 3 Feb 2006 16:12:39 -0800 (PST), > senthil kumar <[email protected]> wrote: > senthil_cbe> You are right. I modified > senthil_cbe> > org.apache.cactus.internal.server.runner.XMLFormatter#endTest(Test) > senthil_cbe> this to get a class name. But since > these test classes > senthil_cbe> were wrapped into ServletTestCase I am > getting the > senthil_cbe> class name as ServletTestCase. From the > java doc I was > senthil_cbe> not able to identify exactly from where > I can get the > senthil_cbe> original test class name. From testCase > or Test object > senthil_cbe> the suite name or class name returned > is not the > senthil_cbe> original class name. I noticed > senthil_cbe> getWrappedTestClassName() in > senthil_cbe> AbstractWebTestCaller.java will return > the right class > senthil_cbe> name. Is that right? Or could you > please advice me > senthil_cbe> where can I get this class name. > > I guess you are using > org.apache.cactus.ServletTestSuite in your > AllTestSuite#suite() method, right? > If so, could you change that to > junit.framework.TestSuite? > public static Test suite() { > TestSuite suite = new TestSuite(); > suite.addTestSuite(Atest.class); > ... > return suite; > } > By doing so, I believe that > Test.getClass().getName() > in XMLFormatter#endTest(Test) will return the name > of the test class. > > > Regards, > ---- > Kazuhito SUGURI > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [email protected] > For additional commands, e-mail: > [email protected] > > From [email protected] Mon Feb 6 20:41:51 2006 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 67127 invoked by uid 99); 6 Feb 2006 20:41:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Feb 2006 12:41:51 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO Kecgate03.infosys.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Feb 2006 12:41:50 -0800 Received: from indhubbhs01.ad.infosys.com ([161.129.204.104]) by Kecgate03.infosys.com with InterScan Messaging Security Suite; Tue, 07 Feb 2006 02:14:38 +0530 Received: from PUNITPMSG02.ad.infosys.com ([161.129.204.104]) by indhubbhs01.ad.infosys.com with Microsoft SMTPSVC(5.0.2195.6713); Tue, 7 Feb 2006 02:09:40 +0530 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Problem faced while integrating Cactus with WSAD 5.1 Date: Tue, 7 Feb 2006 02:09:40 +0530 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Problem faced while integrating Cactus with WSAD 5.1 thread-index: AcYrXXOhiQH0Fff3Su+ESyaGyZYHYw== From: "prashant jha" <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 06 Feb 2006 20:39:40.0674 (UTC) FILETIME=[741E6620:01C62B5D] X-Virus-Checked: Checked by ClamAV on apache.org Hi, I am trying to integrate Cactus with WSAD 5.1. I followed the steps= mentioned in Sheldon's tutorial. But when I run my Cactus test case I get= the following exception related to logger configuration failure on the= client side. =0D Exception in thread "main" java.lang.ExceptionInInitializerError at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at= sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcc= essorImpl.java:80) at= sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstr= uctorAccessorImpl.java:44) at java.lang.reflect.Constructor.newInstance(Constructor.java:315) at junit.framework.TestSuite.createTest(TestSuite.java:135) at junit.framework.TestSuite.addTestMethod(TestSuite.java:114) at junit.framework.TestSuite.<init>(TestSuite.java:75) at junit.runner.BaseTestRunner.getTest(BaseTestRunner.java:103) at junit.swingui.TestRunner.runSuite(TestRunner.java:591) at junit.swingui.TestRunner.start(TestRunner.java:708) at junit.swingui.TestRunner.main(TestRunner.java:52) at xyz.test.SetUpTestCase.main(SetUpTestCase.java:33) Caused by: org.apache.commons.logging.LogConfigurationException:= org.apache.commons.logging.LogConfigurationException:= org.apache.commons.logging.LogConfigurationException: Class= org.apache.commons.logging.impl.NoOpLog does not implement Log at= org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.= java:532) at= org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.= java:272) at= org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.= java:246) at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:395) at= org.apache.cactus.internal.configuration.ConfigurationInitializer.initiali= ze_aroundBody1$advice(ConfigurationInitializer.java:177) at= org.apache.cactus.internal.configuration.ConfigurationInitializer.initiali= ze(ConfigurationInitializer.java) at= org.apache.cactus.internal.configuration.ConfigurationInitializer.initiali= ze(ConfigurationInitializer.java:87) at= org.apache.cactus.internal.AbstractCactusTestCase.<clinit>(AbstractCactusT= estCase.java:53) ... 12 more Caused by: org.apache.commons.logging.LogConfigurationException:= org.apache.commons.logging.LogConfigurationException: Class= org.apache.commons.logging.impl.NoOpLog does not implement Log at= org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactor= yImpl.java:416) at= org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.= java:525) ... 19 more Caused by: org.apache.commons.logging.LogConfigurationException: Class= org.apache.commons.logging.impl.NoOpLog does not implement Log at= org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactor= yImpl.java:412) ... 20 more =0D Any pointer to the possible fix will be greatly appreciated. Thanks in advance. Prashant **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended= solely for the use of the addressee(s). If you are not the intended= recipient, please notify the sender by e-mail and delete the original= message. Further, you are not to copy, disclose, or distribute this e-mail= or its contents to any other person and any such actions are unlawful.= This e-mail may contain viruses. Infosys has taken every reasonable= precaution to minimize this risk, but is not liable for any damage you may= sustain as a result of any virus in this e-mail. You should carry out your= own virus checks before opening the e-mail or attachment. Infosys reserves= the right to monitor and review the content of all messages sent to or= from this e-mail address. Messages sent to or from this e-mail address may= be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS*** From [email protected] Tue Feb 7 01:13:52 2006 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 27008 invoked by uid 99); 7 Feb 2006 01:13:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Feb 2006 17:13:52 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO tama5.ecl.ntt.co.jp) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Feb 2006 17:13:51 -0800 Received: from vcs3.rdh.ecl.ntt.co.jp (vcs3.rdh.ecl.ntt.co.jp [161.129.204.104]) by tama5.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id k171DTTe006979 for <[email protected]>; Tue, 7 Feb 2006 10:13:29 +0900 (JST) Received: from mfs3.rdh.ecl.ntt.co.jp (mfs3.rdh.ecl.ntt.co.jp [161.129.204.104]) by vcs3.rdh.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id k171DSWn025136 for <[email protected]>; Tue, 7 Feb 2006 10:13:28 +0900 (JST) Received: from nttmail3.ecl.ntt.co.jp ([161.129.204.104]) by mfs3.rdh.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id k171DROH005206 for <[email protected]>; Tue, 7 Feb 2006 10:13:27 +0900 (JST) Received: from dmailsv1.y.ecl.ntt.co.jp (dmailsv1.y.ecl.ntt.co.jp [161.129.204.104]) by nttmail3.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id k171DRl6016577 for <[email protected]>; Tue, 7 Feb 2006 10:13:27 +0900 (JST) Received: from mailsv01.y.ecl.ntt.co.jp by dmailsv1.y.ecl.ntt.co.jp (8.13.5/dmailsv-1.5) with ESMTP id k171DQ2A014211 for <[email protected]>; Tue, 7 Feb 2006 10:13:26 +0900 (JST) Received: from localhost by mailsv01.y.ecl.ntt.co.jp (8.13.5/Lab-1.5a) with ESMTP id k171DQlk010930 for <[email protected]>; Tue, 7 Feb 2006 10:13:26 +0900 (JST) Date: Tue, 07 Feb 2006 10:13:43 +0900 (JST) Message-Id: <[email protected]> To: [email protected] Subject: Re: In html report how can I display Class names. From: Kazuhito SUGURI <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> X-Mailer: Mew version 4.2 on Emacs 21.4 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, In article <[email protected]>, Mon, 6 Feb 2006 11:48:21 -0800 (PST), senthil kumar <[email protected]> wrote: senthil_cbe> But can you just give me a brief idea when I have to senthil_cbe> use ServletTestSuite instead of TestSuite? ATM, I have no idea :-< ---- Kazuhito SUGURI From [email protected] Tue Feb 7 01:24:52 2006 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 38474 invoked by uid 99); 7 Feb 2006 01:24:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Feb 2006 17:24:52 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO tama5.ecl.ntt.co.jp) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Feb 2006 17:24:52 -0800 Received: from vcs3.rdh.ecl.ntt.co.jp (vcs3.rdh.ecl.ntt.co.jp [161.129.204.104]) by tama5.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id k171OVQD011819 for <[email protected]>; Tue, 7 Feb 2006 10:24:31 +0900 (JST) Received: from mfs3.rdh.ecl.ntt.co.jp (mfs3.rdh.ecl.ntt.co.jp [161.129.204.104]) by vcs3.rdh.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id k171OUBi003399 for <[email protected]>; Tue, 7 Feb 2006 10:24:30 +0900 (JST) Received: from nttmail3.ecl.ntt.co.jp ([161.129.204.104]) by mfs3.rdh.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id k171OTw3013413 for <[email protected]>; Tue, 7 Feb 2006 10:24:29 +0900 (JST) Received: from dmailsv1.y.ecl.ntt.co.jp (dmailsv1.y.ecl.ntt.co.jp [161.129.204.104]) by nttmail3.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id k171OTF3018837 for <[email protected]>; Tue, 7 Feb 2006 10:24:29 +0900 (JST) Received: from mailsv01.y.ecl.ntt.co.jp by dmailsv1.y.ecl.ntt.co.jp (8.13.5/dmailsv-1.5) with ESMTP id k171OShg018143 for <[email protected]>; Tue, 7 Feb 2006 10:24:28 +0900 (JST) Received: from localhost by mailsv01.y.ecl.ntt.co.jp (8.13.5/Lab-1.5a) with ESMTP id k171OSxr012033 for <[email protected]>; Tue, 7 Feb 2006 10:24:28 +0900 (JST) Date: Tue, 07 Feb 2006 10:24:45 +0900 (JST) Message-Id: <[email protected]> To: [email protected] Subject: Re: Problem faced while integrating Cactus with WSAD 5.1 From: Kazuhito SUGURI <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> X-Mailer: Mew version 4.2 on Emacs 21.4 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Prashant, In article <[email protected]>, Tue, 7 Feb 2006 02:09:40 +0530, "prashant jha" <[email protected]> wrote: prashant_jha> I am trying to integrate Cactus with WSAD 5.1. prashant_jha> I followed the steps mentioned in Sheldon's tutorial. prashant_jha> But when I run my Cactus test case I get the following exception prashant_jha> related to logger configuration failure on the client side. What's kind of TestRunner are you using? junit.swingui.TestRunner? prashant_jha> Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.NoOpLog does not implement Log It looks like a known class-loader related issue. Following FAQ entry might helps you: http://jakarta.apache.org/cactus/faq.html#faq_classcastexception_logfactoryimpl Hope this helps, ---- Kazuhito SUGURI From [email protected] Sun Feb 12 15:53:15 2006 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 19912 invoked by uid 99); 12 Feb 2006 15:53:15 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Feb 2006 07:53:15 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO web33213.mail.mud.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 12 Feb 2006 07:53:14 -0800 Received: (qmail 72841 invoked by uid 60001); 12 Feb 2006 15:52:53 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=mGvFxHzwAt5yLusQrZU0NvnIjrsL4P8D2m2AL6NiY8d/gXrwxuufJ/MCGAF2h5l0OCgpe0Q+BROA4Qvxi4rgSPFHAjRTC5o5Nv/WGAw+QGzb64akPPxV+XQtvODVC2faPiY2KtRyecxxU8Ru769E2Zf0MkslDXzHJJ/h7AtV+5w= ; Message-ID: <[email protected]> Received: from [161.129.204.104] by web33213.mail.mud.yahoo.com via HTTP; Sun, 12 Feb 2006 07:52:53 PST Date: Sun, 12 Feb 2006 07:52:53 -0800 (PST) From: shankar krishnamoorthy <[email protected]> Subject: problems running cactus tests in WebSphere 6 To: [email protected] MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1241648002-1139759573=:61049" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org --0-1241648002-1139759573=:61049 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit When trying to run any cactus test in WebSphere 6 environment I get the following errors NULL ------------------------------------------------------------------------ 0SECTION XHPI subcomponent dump routine NULL ============================== 1XHEXCPCODE Exception code: C0000005 Access Violation 1XHEXCPADDRESS Fault address: 7C93426D 01:0003326D 1XHEXCPMODULE Fault module: C:\WINDOWS\system32\ntdll.dll Any suggestions .. Thanks Shankar.k. --------------------------------- Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars. --0-1241648002-1139759573=:61049-- From [email protected] Sun Feb 12 18:59:52 2006 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 32864 invoked by uid 99); 12 Feb 2006 18:59:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Feb 2006 10:59:52 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy includes SPF [email protected]) Received: from [161.129.204.104] (HELO exprod6og6.obsmtp.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 12 Feb 2006 10:59:51 -0800 Received: from source ([161.129.204.104]) by exprod6ob6.obsmtp.com ([161.129.204.104]) with SMTP; Sun, 12 Feb 2006 10:59:29 PST Received: from inner-relay-1.corp.adobe.com ([161.129.204.104]) by outbound-smtp-2.corp.adobe.com (8.12.10/8.12.10) with ESMTP id k1CIxW46023589 for <[email protected]>; Sun, 12 Feb 2006 10:59:33 -0800 (PST) Received: from [161.129.204.104] ([161.129.204.104]) by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id k1CIxQHV021754 for <[email protected]>; Sun, 12 Feb 2006 10:59:26 -0800 (PST) Message-ID: <[email protected]> Date: Sun, 12 Feb 2006 12:59:28 -0600 From: Shay Thompson <[email protected]> User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Cactus Users List <[email protected]> Subject: Re: problems running cactus tests in WebSphere 6 References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: multipart/alternative; boundary="------------020309040600020905010009" X-Virus-Checked: Checked by ClamAV on apache.org --------------020309040600020905010009 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit This is a known problem which IBM has a fix pack for. I've tried this fix and it works. Here is a snippet from the email they sent me. We fixed a defect in regards to the ClassLoaders in IBM Java SDK version SR3. I downloaded, installed and tried to reproduce the issue and the issue doesnt occur anymore. Herewith, I am attaching the latest Java SDK Version SR3 technote link. http://www-1.ibm.com/support/docview.wss?rs=180&uid=swg24011104 <http://www-1.ibm.com/support/docview.wss?rs=180&uid=swg24011104> shankar krishnamoorthy wrote: > When trying to run any cactus test in WebSphere 6 environment I get the following errors > > NULL ------------------------------------------------------------------------ > 0SECTION XHPI subcomponent dump routine > NULL ============================== > 1XHEXCPCODE Exception code: C0000005 Access Violation > 1XHEXCPADDRESS Fault address: 7C93426D 01:0003326D > 1XHEXCPMODULE Fault module: C:\WINDOWS\system32\ntdll.dll > > Any suggestions .. > > Thanks > > Shankar.k. > > > > --------------------------------- > Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars. > -- ... hey, it works on my machine. Shay Thompson - Lead Computer Scientist Adobe Systems, Inc. - Titan Core QE Voice: x34728 or (548)664-7369 --------------020309040600020905010009-- From [email protected] Mon Feb 13 01:42:32 2006 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 40723 invoked by uid 99); 13 Feb 2006 01:42:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Feb 2006 17:42:32 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO web33205.mail.mud.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 12 Feb 2006 17:42:31 -0800 Received: (qmail 24281 invoked by uid 60001); 13 Feb 2006 01:42:10 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=gmjBipUfTt217MaQW6x8abWGfXZk/LoijL1y54QFl0ITchkmTypR0Z3Y/zs2ZbOIoi/YQejw/SSTOysE0VfgtIh+6StLrXnwS3WzyaTHmrMItMhhTph6eFtzHTxn4leanpeXv/3Y+N26kYh70S29pTu4XM6wprOfPYNruEz/+qA= ; Message-ID: <[email protected]> Received: from [161.129.204.104] by web33205.mail.mud.yahoo.com via HTTP; Sun, 12 Feb 2006 17:42:10 PST Date: Sun, 12 Feb 2006 17:42:10 -0800 (PST) From: shankar krishnamoorthy <[email protected]> Subject: Re: problems running cactus tests in WebSphere 6 To: Cactus Users List <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-374702535-1139794930=:24026" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org --0-374702535-1139794930=:24026 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Thanks Shay Thompson <[email protected]> wrote: This is a known problem which IBM has a fix pack for. I've tried this fix and it works. Here is a snippet from the email they sent me. We fixed a defect in regards to the ClassLoaders in IBM Java SDK version SR3. I downloaded, installed and tried to reproduce the issue and the issue doesnt occur anymore. Herewith, I am attaching the latest Java SDK Version SR3 technote link. http://www-1.ibm.com/support/docview.wss?rs=180&uid=swg24011104 shankar krishnamoorthy wrote: > When trying to run any cactus test in WebSphere 6 environment I get the following errors > > NULL ------------------------------------------------------------------------ > 0SECTION XHPI subcomponent dump routine > NULL ============================== > 1XHEXCPCODE Exception code: C0000005 Access Violation > 1XHEXCPADDRESS Fault address: 7C93426D 01:0003326D > 1XHEXCPMODULE Fault module: C:\WINDOWS\system32\ntdll.dll > > Any suggestions .. > > Thanks > > Shankar.k. > > > > --------------------------------- > Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars. > -- ... hey, it works on my machine. Shay Thompson - Lead Computer Scientist Adobe Systems, Inc. - Titan Core QE Voice: x34728 or (548)664-7369 --------------------------------- Yahoo! Mail Use Photomail to share photos without annoying attachments. --0-374702535-1139794930=:24026-- From [email protected] Wed Feb 15 11:22:33 2006 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 69689 invoked by uid 99); 15 Feb 2006 11:22:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Feb 2006 03:22:32 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FORGED_YAHOO_RCVD,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ciao.gmane.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Feb 2006 03:22:32 -0800 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1F9KjU-0002Sj-4P for [email protected]; Wed, 15 Feb 2006 12:22:04 +0100 Received: from 161.129.204.104 ([161.129.204.104]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <[email protected]>; Wed, 15 Feb 2006 12:22:04 +0100 Received: from sureshcapr by 161.129.204.104 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <[email protected]>; Wed, 15 Feb 2006 12:22:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: [email protected] From: sureshcapr <[email protected]> Subject: Problem with cactus using WSAD Date: Wed, 15 Feb 2006 10:56:55 +0000 (UTC) Lines: 3 Message-ID: <[email protected]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: [email protected] X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 161.129.204.104 (Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7) Sender: news <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Iam getting a error as Failed to get the test results at [http://localhost:9080/servletcactus/ServletRedirector] While testing the testcase write to test sample servelts using cactus in WSAD From [email protected] Wed Feb 15 13:46:41 2006 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 7121 invoked by uid 99); 15 Feb 2006 13:46:41 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Feb 2006 05:46:40 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy includes SPF [email protected]) Received: from [161.129.204.104] (HELO exprod6og12.obsmtp.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 15 Feb 2006 05:46:38 -0800 Received: from source ([161.129.204.104]) by exprod6ob12.obsmtp.com ([161.129.204.104]) with SMTP; Wed, 15 Feb 2006 05:46:17 PST Received: from inner-relay-1.corp.adobe.com ([161.129.204.104]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id k1FDjiBl027146 for <[email protected]>; Wed, 15 Feb 2006 05:45:44 -0800 (PST) Received: from [161.129.204.104] ([161.129.204.104]) by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id k1FDkHHV021816 for <[email protected]>; Wed, 15 Feb 2006 05:46:17 -0800 (PST) Message-ID: <[email protected]> Date: Wed, 15 Feb 2006 07:46:15 -0600 From: Shay Thompson <[email protected]> User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Cactus Users List <[email protected]> Subject: Re: Problem with cactus using WSAD References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org You should make sure that your tests were actually deployed. Look for the class files inside of either the war or ear, depending on what you deployed. What version of WSAD? Can you send us the error? sureshcapr wrote: > Iam getting a error as Failed to get the test results at > [http://localhost:9080/servletcactus/ServletRedirector] > While testing the testcase write to test sample servelts using cactus in WSAD > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > -- ... hey, it works on my machine. Shay Thompson - Lead Computer Scientist Adobe Systems, Inc. - Titan Core QE Voice: x34728 or (548)664-7369 From [email protected] Mon Feb 20 19:58:47 2006 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 37337 invoked by uid 99); 20 Feb 2006 19:58:47 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Feb 2006 11:58:47 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO web52103.mail.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 20 Feb 2006 11:58:46 -0800 Received: (qmail 66815 invoked by uid 60001); 20 Feb 2006 19:58:25 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.br; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=qAg7kHKSPulIOIzyk5PEFYHyG28k+A2+SUfrSaUO2lKfiAyiib0ZGwyQqgePFYGuNyrY/oLW0U/9UEfsiCRFfsEXN0miiybJWzoL4KraKZX78qn6vuLh2nFEU0rtYwezEZGrnHX9aVQopthgPtGNv2Xm2yyMrXi0byceoLBloRw= ; Message-ID: <[email protected]> Received: from [161.129.204.104] by web52103.mail.yahoo.com via HTTP; Mon, 20 Feb 2006 16:58:25 ART Date: Mon, 20 Feb 2006 16:58:25 -0300 (ART) From: Paulo R C Siqueira <[email protected]> Subject: problem getting test results To: [email protected] MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1317763386-1140465505=:66557" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org --0-1317763386-1140465505=:66557 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi, I'm having problems getting the Cactus test results. When I run my tests I always get this exception: 15:53:51,882 ERROR [AbstractWebTestCaller] Error getting test result. This could happen for example if you're using a load-balancer. Please disable it before running Cactus tests. 15:53:51,883 ERROR [[ServletRedirectorSecure]] Servlet.service() for servlet ServletRedirectorSecure threw exception javax.servlet.ServletException: Error getting test result. This could happen for example if you're using a load-balancer. Please disable it before running Cactus tests. at org.apache.cactus.internal.server.AbstractWebTestCaller.doGetResults(AbstractWebTestCaller.java:176) at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody0(AbstractWebTestController.java:98) at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody1$advice(AbstractWebTestController.java:224) at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest(AbstractWebTestController.java) at org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody2(ServletTestRedirector.java:101) at org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody3$advice(ServletTestRedirector.java:224) at org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedirector.java) at org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody0(ServletTestRedirector.java:72) at org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody1$advice(ServletTestRedirector.java:224) at org.apache.cactus.server.ServletTestRedirector.doGet(ServletTestRedirector.java) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) I'm running the tests under JBoss 4.0.3 What am I doing wrong here? _________________________________ Paulo "gangrel-br" R C Siqueira Sun Certified Programmer for the Java 2 Platform 1.4 Mogi das Cruzes - SP - Brazil Contact: (11) 8149-5046 --------------------------------- Yahoo! Acesso Grátis Internet rápida e grátis. Instale o discador agora! --0-1317763386-1140465505=:66557-- From [email protected] Thu Feb 23 02:41:54 2006 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 865 invoked by uid 99); 23 Feb 2006 02:41:54 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2006 18:41:54 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO tama5.ecl.ntt.co.jp) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2006 18:41:53 -0800 Received: from vcs3.rdh.ecl.ntt.co.jp (vcs3.rdh.ecl.ntt.co.jp [161.129.204.104]) by tama5.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id k1N2fVXm001770 for <[email protected]>; Thu, 23 Feb 2006 11:41:31 +0900 (JST) Received: from mfs3.rdh.ecl.ntt.co.jp (mfs3.rdh.ecl.ntt.co.jp [161.129.204.104]) by vcs3.rdh.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id k1N2fUjt015848 for <[email protected]>; Thu, 23 Feb 2006 11:41:30 +0900 (JST) Received: from nttmail3.ecl.ntt.co.jp ([161.129.204.104]) by mfs3.rdh.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id k1N2fUmM029288 for <[email protected]>; Thu, 23 Feb 2006 11:41:30 +0900 (JST) Received: from dmailsv1.y.ecl.ntt.co.jp (dmailsv1.y.ecl.ntt.co.jp [161.129.204.104]) by nttmail3.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id k1N2fUUQ019255 for <[email protected]>; Thu, 23 Feb 2006 11:41:30 +0900 (JST) Received: from mailsv01.y.ecl.ntt.co.jp by dmailsv1.y.ecl.ntt.co.jp (8.13.5/dmailsv-1.5) with ESMTP id k1N2fTIo025301 for <[email protected]>; Thu, 23 Feb 2006 11:41:29 +0900 (JST) Received: from localhost by mailsv01.y.ecl.ntt.co.jp (8.13.5/Lab-1.5a) with ESMTP id k1N2fTDJ018578 for <[email protected]>; Thu, 23 Feb 2006 11:41:29 +0900 (JST) Date: Thu, 23 Feb 2006 11:41:28 +0900 (JST) Message-Id: <[email protected]> To: [email protected] Subject: Re: problem getting test results From: Kazuhito SUGURI <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> X-Mailer: Mew version 4.2 on Emacs 21.4 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Paulo, In article <[email protected]>, Mon, 20 Feb 2006 16:58:25 -0300 (ART), Paulo R C Siqueira <[email protected]> wrote: gangrelbr1> I'm having problems getting the Cactus test results. When I run my tests I always get this exception: gangrelbr1> gangrelbr1> 15:53:51,882 ERROR [AbstractWebTestCaller] Error getting test result. This could happen for example if you're using a load-balancer. Please disable it before running Cactus tests. How are you runnning the test? By using ServletTestRunner, for example? The client side of Cactus sends requests to server side twice for each testXXX() method. The first request is to execute the test. The test result will be saved as a context scope attribute. The second request is to retrieve test result from the context scope. The error you have encountered happens on the second request and it can happen if the context scope attribute for the test result does not exist. Possible causes are (1) the server-side context receiving the second request from the client-side is not the one that received the first request. (2) the client-side is making the second request before the first request fully finished. So, we must see test execution sequence including the client-side to know what is really happening in your case. Regards, ---- Kazuhito SUGURI From [email protected] Fri Feb 24 12:34:23 2006 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 22101 invoked by uid 99); 24 Feb 2006 12:34:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Feb 2006 04:34:23 -0800 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_10_20,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO web52114.mail.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 24 Feb 2006 04:34:21 -0800 Received: (qmail 54431 invoked by uid 60001); 24 Feb 2006 12:34:00 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.br; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=wMuavp5Ykoh6/LSw4kLbXQBqjD5BnumTAaQhBOM4IL9S/tZulZBibPRK9xkU/eEQHW7gQFV2aPT3Oy4HQFq0dozIGOvQKHq8qMk8IZEAJJu1TjwSlQVyNCwqrf0YxR98NlXhJNi+zLBLHpbBLz1lKlV1mbUUCD3oiVbqafnlZE0= ; Message-ID: <[email protected]> Received: from [161.129.204.104] by web52114.mail.yahoo.com via HTTP; Fri, 24 Feb 2006 12:34:00 GMT Date: Fri, 24 Feb 2006 12:34:00 +0000 (GMT) From: Paulo R C Siqueira <[email protected]> Subject: Re: problem getting test results To: Cactus Users List <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-182482576-1140784440=:53836" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org --0-182482576-1140784440=:53836 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi Kazuhito, I'm using NetBeans 5.0 to run the tests. I have a simple test extending ServletTestCase with a simple test method that only calls 'assertTrue', just to be sure when the tests are running correctly. Since I don't know how exactly NetBeans handle the tests internally, and I'm using the default configurations for JBoss, it seens more likely that (2) is what is happening. What should I do? Thank you very much for the help! =) Kazuhito SUGURI <[email protected]> escreveu: Hi Paulo, In article <[email protected]>, Mon, 20 Feb 2006 16:58:25 -0300 (ART), Paulo R C Siqueira wrote: gangrelbr1> I'm having problems getting the Cactus test results. When I run my tests I always get this exception: gangrelbr1> gangrelbr1> 15:53:51,882 ERROR [AbstractWebTestCaller] Error getting test result. This could happen for example if you're using a load-balancer. Please disable it before running Cactus tests. How are you runnning the test? By using ServletTestRunner, for example? The client side of Cactus sends requests to server side twice for each testXXX() method. The first request is to execute the test. The test result will be saved as a context scope attribute. The second request is to retrieve test result from the context scope. The error you have encountered happens on the second request and it can happen if the context scope attribute for the test result does not exist. Possible causes are (1) the server-side context receiving the second request from the client-side is not the one that received the first request. (2) the client-side is making the second request before the first request fully finished. So, we must see test execution sequence including the client-side to know what is really happening in your case. Regards, ---- Kazuhito SUGURI --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] _________________________________ Paulo "gangrel-br" R C Siqueira Sun Certified Programmer for the Java 2 Platform 1.4 Mogi das Cruzes - SP - Brazil Contact: (11) 8149-5046 --------------------------------- Yahoo! Acesso Grátis Internet rápida e grátis. Instale o discador agora! --0-182482576-1140784440=:53836-- From [email protected] Mon Feb 27 05:42:17 2006 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 86750 invoked by uid 99); 27 Feb 2006 05:42:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Feb 2006 21:42:17 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO tama5.ecl.ntt.co.jp) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Feb 2006 21:42:16 -0800 Received: from vcs3.rdh.ecl.ntt.co.jp (vcs3.rdh.ecl.ntt.co.jp [161.129.204.104]) by tama5.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id k1R5foAe016500 for <[email protected]>; Mon, 27 Feb 2006 14:41:50 +0900 (JST) Received: from mfs3.rdh.ecl.ntt.co.jp (mfs3.rdh.ecl.ntt.co.jp [161.129.204.104]) by vcs3.rdh.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id k1R5fnp1021911 for <[email protected]>; Mon, 27 Feb 2006 14:41:49 +0900 (JST) Received: from nttmail3.ecl.ntt.co.jp ([161.129.204.104]) by mfs3.rdh.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id k1R5fmss006493 for <[email protected]>; Mon, 27 Feb 2006 14:41:48 +0900 (JST) Received: from dmailsv1.y.ecl.ntt.co.jp (dmailsv1.y.ecl.ntt.co.jp [161.129.204.104]) by nttmail3.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id k1R5fm57012063 for <[email protected]>; Mon, 27 Feb 2006 14:41:48 +0900 (JST) Received: from mailsv01.y.ecl.ntt.co.jp by dmailsv1.y.ecl.ntt.co.jp (8.13.5/dmailsv-1.5) with ESMTP id k1R5flvL008143 for <[email protected]>; Mon, 27 Feb 2006 14:41:47 +0900 (JST) Received: from localhost by mailsv01.y.ecl.ntt.co.jp (8.13.5/Lab-1.5a) with ESMTP id k1R5flN4020077 for <[email protected]>; Mon, 27 Feb 2006 14:41:47 +0900 (JST) Date: Mon, 27 Feb 2006 14:41:50 +0900 (JST) Message-Id: <[email protected]> To: [email protected] Subject: Re: problem getting test results From: Kazuhito SUGURI <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> X-Mailer: Mew version 4.2 on Emacs 21.4 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Paulo, In article <[email protected]>, Fri, 24 Feb 2006 12:34:00 +0000 (GMT), Paulo R C Siqueira <[email protected]> wrote: gangrelbr1> Since I don't know how exactly NetBeans handle the tests gangrelbr1> internally, and I'm using the default configurations for JBoss, gangrelbr1> it seens more likely that (2) is what is happening. gangrelbr1> What should I do? You might try run test without NetBeans to know whether Cactus works with your target container (JBoss-4.0.3). I had tried following steps last weekend and it worked fine: (1) create cactified-war with a simple test (2) start JBoss (3) deploy the cactified-war file to JBoss manually (4) run test by using junit.textui.TestRunner: java junit.textui.TestRunner <test class name> My environment is as follows: Linux kernel 2.6.8 Sun jdk 1.5.0_06 JBoss-4.0.3SP1 Cactus-1.7.1 Once you found a working configuration, you can use that for other tests, and can narrow the problem you have encountered. Regards, ---- Kazuhito SUGURI From [email protected] Tue Feb 28 23:22:47 2006 Return-Path: <[email protected]> list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <cactus-user.jakarta.apache.org> Mailing-List: contact [email protected]; run by ezmlm Delivered-To: mailing list [email protected] Received: (qmail 79976 invoked by uid 99); 28 Feb 2006 23:22:47 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Feb 2006 15:22:46 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy includes SPF [email protected]) Received: from [161.129.204.104] (HELO exprod6og14.obsmtp.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 28 Feb 2006 15:22:45 -0800 Received: from source ([161.129.204.104]) by exprod6ob14.obsmtp.com ([161.129.204.104]) with SMTP; Tue, 28 Feb 2006 15:22:25 PST Received: from inner-relay-1.corp.adobe.com ([161.129.204.104]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id k1SNLjBl009470 for <[email protected]>; Tue, 28 Feb 2006 15:21:45 -0800 (PST) Received: from [161.129.204.104] ([161.129.204.104]) by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id k1SNMOHV009791 for <[email protected]>; Tue, 28 Feb 2006 15:22:24 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 28 Feb 2006 17:22:22 -0600 From: Shay Thompson <[email protected]> User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Cactus Users List <[email protected]> Subject: Is Cactus thread safe? References: <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I need to test multiple remote machines, from a single main machine, using Cactus. I'm wondering if Cactus is thread safe for doing something like this? I'd obviously have to have it run off of separate ear files, 1 for each remote machine, but even then will it work? Any recommendations would be helpfull. -Shay
From [email protected] Tue Aug 15 09:31:05 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 55198 invoked from network); 15 Aug 2006 09:31:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Aug 2006 09:31:05 -0000 Received: (qmail 65281 invoked by uid 500); 15 Aug 2006 09:31:04 -0000 Delivered-To: [email protected] Received: (qmail 65076 invoked by uid 500); 15 Aug 2006 09:31:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Portals Discussion" <[email protected]> List-Id: <general.portals.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 65065 invoked by uid 99); 15 Aug 2006 09:31:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Aug 2006 02:31:04 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [161.129.204.104] (HELO mx1.adesso.de) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Aug 2006 02:31:01 -0700 Received: from localhost (localhost [161.129.204.104]) by mx1.adesso.de (Postfix) with ESMTP id 377093D965 for <[email protected]>; Tue, 15 Aug 2006 11:30:30 +0200 (CEST) Received: from mx1.adesso.de ([161.129.204.104]) by localhost (mx1.adesso.de [161.129.204.104]) (amavisd-new, port 10024) with ESMTP id 02135-10 for <[email protected]>; Tue, 15 Aug 2006 11:30:29 +0200 (CEST) Received: from lotus-ext.adesso.de (mail.adesso.de [161.129.204.104]) by mx1.adesso.de (Postfix) with ESMTP id EA7EE3D94D for <[email protected]>; Tue, 15 Aug 2006 11:30:28 +0200 (CEST) To: [email protected] Subject: JSF Portals Bridge under Bea Weblogic Portal SP5 MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5.2 June 01, 2004 Message-ID: <[email protected]> From: Stefan Aigner <[email protected]> Date: Tue, 15 Aug 2006 11:30:27 +0200 X-MIMETrack: Serialize by Router on lotus-ext/Adesso/DE(Release 6.5.4|March 27, 2005) at 08/15/2006 11:30:28, Serialize complete at 08/15/2006 11:30:28 Content-Type: multipart/alternative; boundary="=_alternative 0034161FC12571CB_=" X-Virus-Scanned: by [email protected] X-Spam-Checker-Version: SpamAssassin 3.0.4-v18 (2005-06-05) on mx1.adesso.de X-Spam-Level: X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, hits=-3.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_50, HTML_40_50,HTML_MESSAGE autolearn=no version=3.0.4-v18 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dies ist eine mehrteilige Nachricht im MIME-Format. --=_alternative 0034161FC12571CB_= Content-Type: text/plain; charset="US-ASCII" Hi all, is it possible to run the JSF Portals Bridge under Bea Weblogic Portal SP5? A first test with the JSF example portlets failed. If it is possible, which classes do I have to modify and how? Any information would be very helpful. Thanks in advance, Stefan _______________________________________________________ ACHTUNG! Ab 19.06.2006 neue Postanschrift: _______________________________________________________ Stefan Aigner . adesso AG . Rotherstrasse 19 . 10245 Berlin tel.: (603)363-6787 mobil: (603)363-6787 fax: (603)363-6787 email: [email protected] http://www.adesso.de _______________________________________________________ --=_alternative 0034161FC12571CB_= Content-Type: text/html; charset="US-ASCII" <br><font size=2 face="sans-serif">Hi all,</font> <br> <br><font size=2 face="sans-serif">is it possible to run the JSF Portals Bridge under Bea Weblogic Portal SP5? A first test with the JSF example portlets failed. If it is possible, which classes do I have to modify and how?</font> <br> <br><font size=2 face="sans-serif">Any information would be very helpful.</font> <br> <br><font size=2 face="sans-serif">Thanks in advance,</font> <br> <br><font size=2 face="sans-serif">Stefan</font> <br> <br><font size=2 face="sans-serif">_______________________________________________________<br> <br> ACHTUNG! <br> Ab 19.06.2006 neue Postanschrift:<br> _______________________________________________________<br> <br> Stefan Aigner . adesso AG . Rotherstrasse 19 . 10245 Berlin<br> <br> tel.: &nbsp;(603)363-6787 &nbsp; &nbsp; mobil: &nbsp;(603)363-6787<br> fax: &nbsp;(603)363-6787 &nbsp; &nbsp; email: &nbsp;[email protected]<br> <br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; http://www.adesso.de<br> _______________________________________________________</font> --=_alternative 0034161FC12571CB_=--
From [email protected] Tue May 20 16:10:28 2008 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 176 invoked from network); 20 May 2008 16:10:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 May 2008 16:10:27 -0000 Received: (qmail 82329 invoked by uid 500); 20 May 2008 16:10:29 -0000 Delivered-To: [email protected] Received: (qmail 82311 invoked by uid 500); 20 May 2008 16:10:28 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:[email protected]> List-Help: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: "Regexp Users List" <regexp-user.jakarta.apache.org> Reply-To: "Regexp Users List" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 82300 invoked by uid 99); 20 May 2008 16:10:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 May 2008 09:10:28 -0700 X-ASF-Spam-Status: No, hits=-2.0 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO ememr1004.accenture.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 May 2008 16:09:35 +0000 Received: from EMEXV1002.dir.svc.accenture.com (emexv1002.dir.svc.accenture.com [161.129.204.104]) by ememr1004.accenture.com (8.13.8/8.13.8) with ESMTP id m4KG94xd001594 for <[email protected]>; Tue, 20 May 2008 17:09:50 +0100 (WEST) Received: from emexr1001.dir.svc.accenture.com ([161.129.204.104]) by EMEXV1002.dir.svc.accenture.com with Microsoft SMTPSVC334-895-6892); Tue, 20 May 2008 18:09:42 +0200 Content-Transfer-Encoding: 7bit Received: from EMEXM0103.dir.svc.accenture.com ([161.129.204.104]) by emexr1001.dir.svc.accenture.com with Microsoft SMTPSVC334-895-6892); Tue, 20 May 2008 18:09:43 +0200 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2992 Importance: normal Priority: normal Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C8BA93.E9EEBF1E" Subject: RegExp Compatibility Date: Tue, 20 May 2008 18:13:36 +0200 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: RegExp Compatibility thread-index: Aci6lHWDYPYmz1sXSUGI1pKl9M1dxA== From: <[email protected]> To: <[email protected]> X-OriginalArrivalTime: 20 May 2008 16:09:43.0137 (UTC) FILETIME=[EA25E510:01C8BA93] X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C8BA93.E9EEBF1E Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi. I would like to know whether RegExp is compatible with JDK 1.5 and J2EE 1.4. =20 Could you please help me? =20 Thanks, Paolo. =20 =20 This message is for the designated recipient only and may contain = privileged, proprietary, or otherwise private information. If you have = received it in error, please notify the sender immediately and delete = the original. Any other use of the email by you is prohibited. ------_=_NextPart_001_01C8BA93.E9EEBF1E--
From [email protected] Wed Sep 01 07:32:52 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88585 invoked from network); 1 Sep 2010 07:32:52 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 1 Sep 2010 07:32:52 -0000 Received: (qmail 87817 invoked by uid 500); 1 Sep 2010 07:32:52 -0000 Delivered-To: [email protected] Received: (qmail 87462 invoked by uid 500); 1 Sep 2010 07:32:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 87454 invoked by uid 99); 1 Sep 2010 07:32:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Sep 2010 07:32:48 +0000 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO smtpq3.tb.mail.iss.as9143.net) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Sep 2010 07:32:39 +0000 Received: from [161.129.204.104] (helo=smtp13.tb.mail.iss.as9143.net) by smtpq3.tb.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from <[email protected]>) id 1Oqhns-0007kH-8o for [email protected]; Wed, 01 Sep 2010 09:32:16 +0200 Received: from wcoe-58.r-195-35-227.atwork.nl ([161.129.204.104] helo=mail.topicus.nl) by smtp13.tb.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from <[email protected]>) id 1Oqhnp-00062H-UH for [email protected]; Wed, 01 Sep 2010 09:32:13 +0200 Received: from baas3.topicus.local ([161.129.204.104]) by mail.topicus.nl with Microsoft SMTPSVC(262)296-2461); Wed, 1 Sep 2010 09:32:13 +0200 Received: from baas3.topicus.local ([acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b90b7:dfb:8eb6:fcbf]) by baas3.topicus.local ([acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b90b7:dfb:8eb6:fcbf%10]) with mapi; Wed, 1 Sep 2010 09:32:13 +0200 From: Marc Gerritsen <[email protected]> To: Log4NET User <[email protected]> Date: Wed, 1 Sep 2010 09:32:09 +0200 Subject: RE: SPAM : RE: Problem in mixed .net 4.0 and 2.0 project Thread-Topic: SPAM : RE: Problem in mixed .net 4.0 and 2.0 project Thread-Index: AQIPx8zaucuhzsImtjFf1pp5h5IvJpJxKeuQgAKVLEA= Message-ID: <[email protected]> References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Accept-Language: nl-NL, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: nl-NL, en-US Content-Type: multipart/alternative; boundary="_000_7DCBCBE5420D0948886D0FAA96935BEABDBD2A4CA6baas3topicusl_" MIME-Version: 1.0 X-OriginalArrivalTime: 01 Sep 2010 07:32:13.0018 (UTC) FILETIME=[CB593BA0:01CB49A7] X-ZiggoSMTP-MailScanner-Information: Please contact the ISP for more information X-ZiggoSMTP-MailScanner-ID: 1Oqhnp-00062H-UH X-ZiggoSMTP-MailScanner: Found to be clean X-ZiggoSMTP-MailScanner-SpamCheck: geen spam, SpamAssassin (niet cached, score=1.891, vereist 5, BAYES_50 0.00, FH_HOST_ALMOST_IP 1.89, HTML_MESSAGE 0.00) X-ZiggoSMTP-MailScanner-SpamScore: s X-ZiggoSMTP-MailScanner-From: [email protected] X-Old-Spam-Status: No --_000_7DCBCBE5420D0948886D0FAA96935BEABDBD2A4CA6baas3topicusl_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable No, but when I do I get version problems and my application won't start. I don't want to rebuild all the common logging, spring and nhibernate dll's Any idea? Cheers, Marc Gerritsen From: Karim Bourouba [mailto:[email protected]] Sent: maandag 30 augustus 2010 18:03 To: 'Log4NET User' Subject: SPAM : RE: Problem in mixed .net 4.0 and 2.0 project Are you building the Log4Net binaries under .Net 4.0 prior to using them in= your project? From: Marc Gerritsen [mailto:[email protected]] Sent: 30 August 2010 14:25 To: [email protected] Subject: Problem in mixed .net 4.0 and 2.0 project Hello, We are building an application that makes use of log4net It also uses Spring.Net and NHibernate. When we upgraded our solution from VS 2008 to VS 2010 we got a problem. We changed the framework of all the projects to the full .net 4.0 framework= . But we use some components we created our self and use them in many more pr= ojects. These projects are in framework 3.5 and can't be upgraded just yet. The problem is that when there is an exception triggered from a 3.5 compone= nt and catch it in a 4.0 project to log we get the following exception: <log4net.Error>Exception rendering object type [Force.Workflow.Core.Excepti= ons.WorkflowIllegalStatusChange]<stackTrace>System.BadImageFormatException:= The parameters and the signature of the method don't match. at System.Reflection.RuntimeParameterInfo.GetParameters(IRuntimeMethodIn= fo methodHandle, MemberInfo member, Signature sig, ParameterInfo& returnPar= ameter, Boolean fetchReturnParameter) at System.Reflection.RuntimeMethodInfo.GetParameters() at System.Diagnostics.StackTrace.ToString(TraceFormat traceFormat) at System.Exception.GetStackTrace(Boolean needFileInfo) at System.Exception.ToString(Boolean needFileLineInfo) at log4net.ObjectRenderer.DefaultRenderer.RenderObject(RendererMap rende= rerMap, Object obj, TextWriter writer) at log4net.ObjectRenderer.RendererMap.FindAndRender(Object obj, TextWrit= er writer)</stackTrace></log4net.Error> Does anyone have a clue how this is possible? An how we could fix it? Cheers, Marc Gerritsen --_000_7DCBCBE5420D0948886D0FAA96935BEABDBD2A4CA6baas3topicusl_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Dus-ascii"= > <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:windowtext;} span.EmailStyle18 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:#1F497D;} span.EmailStyle19 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} @page WordSection1 {size:612.0pt 792.0pt; margin:70.85pt 70.85pt 70.85pt 70.85pt;} div.WordSection1 {page:WordSection1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3DNL link=3Dblue vlink=3Dpurple> <div class=3DWordSection1> <p class=3DMsoNormal><span lang=3DEN-US style=3D'color:#1F497D'>No, but whe= n I do I get version problems and my application won&#8217;t start.<o:p></o:p></span= ></p> <p class=3DMsoNormal><span lang=3DEN-US style=3D'color:#1F497D'>I don&#8217= ;t want to rebuild all the common logging, spring and nhibernate dll&#8217;s<o:p></o:p= ></span></p> <p class=3DMsoNormal><span lang=3DEN-US style=3D'color:#1F497D'><o:p>&nbsp;= </o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US style=3D'color:#1F497D'>Any idea?<o= :p></o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US style=3D'color:#1F497D'><o:p>&nbsp;= </o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US style=3D'color:#1F497D'>Cheers,<o:p= ></o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US style=3D'color:#1F497D'><o:p>&nbsp;= </o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US style=3D'color:#1F497D'>Marc Gerrit= sen<o:p></o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US style=3D'color:#1F497D'><o:p>&nbsp;= </o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US style=3D'color:#1F497D'><o:p>&nbsp;= </o:p></span></p> <div> <div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm = 0cm 0cm'> <p class=3DMsoNormal><b><span lang=3DEN-US style=3D'font-size:10.0pt;font-f= amily: "Tahoma","sans-serif"'>From:</span></b><span lang=3DEN-US style=3D'font-siz= e:10.0pt; font-family:"Tahoma","sans-serif"'> Karim Bourouba [mailto:[email protected]= om] <br> <b>Sent:</b> maandag 30 augustus 2010 18:03<br> <b>To:</b> 'Log4NET User'<br> <b>Subject:</b> SPAM : RE: Problem in mixed .net 4.0 and 2.0 project<o:p></= o:p></span></p> </div> </div> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal><span lang=3DEN-GB style=3D'color:#1F497D'>Are you bui= lding the Log4Net binaries under .Net 4.0 prior to using them in your project?<o:p></= o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-GB style=3D'color:#1F497D'><o:p>&nbsp;= </o:p></span></p> <div> <div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm = 0cm 0cm'> <p class=3DMsoNormal><b><span lang=3DEN-US style=3D'font-size:10.0pt;font-f= amily: "Tahoma","sans-serif"'>From:</span></b><span lang=3DEN-US style=3D'font-siz= e:10.0pt; font-family:"Tahoma","sans-serif"'> Marc Gerritsen [mailto:[email protected]] <br> <b>Sent:</b> 30 August 2010 14:25<br> <b>To:</b> [email protected]<br> <b>Subject:</b> Problem in mixed .net 4.0 and 2.0 project<o:p></o:p></span>= </p> </div> </div> <p class=3DMsoNormal><span lang=3DEN-GB><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US>Hello,<o:p></o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US>We are building an application that= makes use of log4net<o:p></o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US>It also uses Spring.Net and NHibern= ate.<o:p></o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US>When we upgraded our solution from = VS 2008 to VS 2010 we got a problem.<o:p></o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US>We changed the framework of all the= projects to the full .net 4.0 framework.<o:p></o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US>But we use some components we creat= ed our self and use them in many more projects.<o:p></o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US>These projects are in framework 3.5= and can&#8217;t be upgraded just yet.<o:p></o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US>The problem is that when there is a= n exception triggered from a 3.5 component and catch it in a 4.0 project to l= og we get the following exception:<o:p></o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US>&lt;log4net.Error&gt;Exception rend= ering object type [Force.Workflow.Core.Exceptions.WorkflowIllegalStatusChange]&lt;stackTrace&= gt;System.BadImageFormatException: The parameters and the signature of the method don't match.<o:p></o:p></spa= n></p> <p class=3DMsoNormal><span lang=3DEN-US>&nbsp;&nbsp; at System.Reflection.RuntimeParameterInfo.GetParameters(IRuntimeMethodInfo methodHandle, MemberInfo member, Signature sig, ParameterInfo&amp; returnParameter, Boolean fetchReturnParameter)<o:p></o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US>&nbsp;&nbsp; at System.Reflection.R= untimeMethodInfo.GetParameters()<o:p></o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US>&nbsp;&nbsp; at System.Diagnostics.StackTrace.ToString(TraceFormat traceFormat)<o:p></o:p><= /span></p> <p class=3DMsoNormal><span lang=3DEN-US>&nbsp;&nbsp; at System.Exception.GetStackTrace(Boolean needFileInfo)<o:p></o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US>&nbsp;&nbsp; at System.Exception.ToString(Boolean needFileLineInfo)<o:p></o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US>&nbsp;&nbsp; at log4net.ObjectRenderer.DefaultRenderer.RenderObject(RendererMap rendererMap= , Object obj, TextWriter writer)<o:p></o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US>&nbsp;&nbsp; at log4net.ObjectRenderer.RendererMap.FindAndRender(Object obj, TextWriter writer)&lt;/stackTrace&gt;&lt;/log4net.Error&gt;<o:p></o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US>Does anyone have a clue how this is possible? An how we could fix it?<o:p></o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US><o:p>&nbsp;</o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US>Cheers,<o:p></o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US>Marc Gerritsen<o:p></o:p></span></p= > <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> </div> </body> </html> --_000_7DCBCBE5420D0948886D0FAA96935BEABDBD2A4CA6baas3topicusl_-- From [email protected] Wed Sep 01 15:04:17 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 12198 invoked from network); 1 Sep 2010 15:04:17 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 1 Sep 2010 15:04:17 -0000 Received: (qmail 74437 invoked by uid 500); 1 Sep 2010 15:04:17 -0000 Delivered-To: [email protected] Received: (qmail 74199 invoked by uid 500); 1 Sep 2010 15:04:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 74167 invoked by uid 99); 1 Sep 2010 15:04:13 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Sep 2010 15:04:13 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO biz-email.ivey.ca) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Sep 2010 15:03:52 +0000 Received: from BIZ-EMAIL.ivey.ca ([161.129.204.104]) by biz-email ([161.129.204.104]) with mapi; Wed, 1 Sep 2010 11:03:30 -0400 From: "Gagne, Chris" <[email protected]> To: Log4NET User <[email protected]> Date: Wed, 1 Sep 2010 11:03:29 -0400 Subject: Custom Properties in an ASP.Net Web Application Thread-Topic: Custom Properties in an ASP.Net Web Application Thread-Index: ActJ5W0OBxtUmSM3SwuXjGHcmXAZVQ== Message-ID: <038C9B245F74BC4B869B757F143086520682409941@biz-email> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_038C9B245F74BC4B869B757F143086520682409941bizemail_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_038C9B245F74BC4B869B757F143086520682409941bizemail_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Here's our situation... We're adding debug messages to an ASP.Net web application that allows our u= sers to apply for a job online. We have a custom properties and database f= ields created named JobPostingId and MemberId. Here's a small code snippet= of our logging. ILog logger =3D LogManager.GetLogger(CONST_JOBPOSTINGS); if (logger.IsDebugEnabled) { log4net.ThreadContext.Properties[CONST_JOBPOSTINGID] =3D Jo= bPostingId; log4net.ThreadContext.Properties[CONST_MEMBERID] =3D MemberId; logger.Debug(message); } We've noticed very inconsistent values for our custom properties. I suspec= t it has something to do with the context belonging to a thread and that sa= me thread being reused by different web requests, therefore different users= . Does anyone have suggestions for me on how I can capture user specific data= into custom properties? Any thoughts or suggestions would be greatly appr= eciated. --_000_038C9B245F74BC4B869B757F143086520682409941bizemail_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40"><head><meta http-equiv=3DContent-Type content= =3D"text/html; charset=3Dus-ascii"><meta name=3DGenerator content=3D"Micros= oft Word 14 (filtered medium)"><style><!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} p.MsoAcetate, li.MsoAcetate, div.MsoAcetate {mso-style-priority:99; mso-style-link:"Balloon Text Char"; margin:0in; margin-bottom:.0001pt; font-size:8.0pt; font-family:"Tahoma","sans-serif";} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Calibri","sans-serif"; color:windowtext;} span.BalloonTextChar {mso-style-name:"Balloon Text Char"; mso-style-priority:99; mso-style-link:"Balloon Text"; font-family:"Tahoma","sans-serif";} .MsoChpDefault {mso-style-type:export-only; font-family:"Calibri","sans-serif";} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue vli= nk=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal>Here&#8217;s our= situation&#8230;<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><= p class=3DMsoNormal>We&#8217;re adding debug messages to an ASP.Net web app= lication that allows our users to apply for a job online.&nbsp; We have a c= ustom properties and database fields created named JobPostingId and MemberI= d.&nbsp; Here&#8217;s a small code snippet of our logging.<o:p></o:p></p><p= class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>ILog logger = =3D LogManager.GetLogger(CONST_JOBPOSTINGS);<o:p></o:p></p><p class=3DMsoNo= rmal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>if (logger.IsDebugEnabled)<o= :p></o:p></p><p class=3DMsoNormal>{<o:p></o:p></p><p class=3DMsoNormal>&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp; log4net.ThreadContext.Properties[CONST_JOBPOSTINGID] =3D JobPos= tingId;<o:p></o:p></p><p class=3DMsoNormal style=3D'text-indent:.5in'>log4n= et.ThreadContext.Properties[CONST_MEMBERID] =3D MemberId;<o:p></o:p></p><p = class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; logger.Debug(message);<o:p></o:p></p><p c= lass=3DMsoNormal>}<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p>= <p class=3DMsoNormal>We&#8217;ve noticed very inconsistent values for our c= ustom properties.&nbsp; I suspect it has something to do with the context b= elonging to a thread and that same thread being reused by different web req= uests, therefore different users.<o:p></o:p></p><p class=3DMsoNormal><o:p>&= nbsp;</o:p></p><p class=3DMsoNormal>Does anyone have suggestions for me on = how I can capture user specific data into custom properties?&nbsp; Any thou= ghts or suggestions would be greatly appreciated.<o:p></o:p></p></div></bod= y></html>= --_000_038C9B245F74BC4B869B757F143086520682409941bizemail_-- From [email protected] Wed Sep 01 15:55:25 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 30743 invoked from network); 1 Sep 2010 15:55:24 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 1 Sep 2010 15:55:24 -0000 Received: (qmail 60523 invoked by uid 500); 1 Sep 2010 15:55:24 -0000 Delivered-To: [email protected] Received: (qmail 60338 invoked by uid 500); 1 Sep 2010 15:55:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 60330 invoked by uid 99); 1 Sep 2010 15:55:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Sep 2010 15:55:23 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO hobbes.BURLINGTON.IVARA.COM) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Sep 2010 15:55:16 +0000 Received: from hobbes.BURLINGTON.IVARA.COM ([161.129.204.104]) by hobbes.BURLINGTON.IVARA.COM ([161.129.204.104]) with mapi; Wed, 1 Sep 2010 11:59:19 -0400 From: Rob Prouse <[email protected]> To: Log4NET User <[email protected]> Date: Wed, 1 Sep 2010 11:59:18 -0400 Subject: RE: Custom Properties in an ASP.Net Web Application Thread-Topic: Custom Properties in an ASP.Net Web Application Thread-Index: ActJ5W0OBxtUmSM3SwuXjGHcmXAZVQACGJ6Q Message-ID: <[email protected]> References: <038C9B245F74BC4B869B757F143086520682409941@biz-email> In-Reply-To: <038C9B245F74BC4B869B757F143086520682409941@biz-email> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_D0A5983C38E59B4CA97DC4D4285159DE3AD0D81768hobbesBURLING_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_D0A5983C38E59B4CA97DC4D4285159DE3AD0D81768hobbesBURLING_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable For the common log appenders, the log is output synchronously with the log = message, so it should be on the same thread, so it shouldn't be a problem. = I am not sure of the behavior when you use an asynchronous appender (like t= he ADO appender), but it should be pulling the context out before it goes a= synchronous. If it doesn't, then that would be a bug in log4net, but I woul= d need to look at the code. What appender are you using? From: Gagne, Chris [mailto:[email protected]] Sent: Wednesday, September 01, 2010 11:03 AM To: Log4NET User Subject: Custom Properties in an ASP.Net Web Application Here's our situation... We're adding debug messages to an ASP.Net web application that allows our u= sers to apply for a job online. We have a custom properties and database f= ields created named JobPostingId and MemberId. Here's a small code snippet= of our logging. ILog logger =3D LogManager.GetLogger(CONST_JOBPOSTINGS); if (logger.IsDebugEnabled) { log4net.ThreadContext.Properties[CONST_JOBPOSTINGID] =3D Jo= bPostingId; log4net.ThreadContext.Properties[CONST_MEMBERID] =3D MemberId; logger.Debug(message); } We've noticed very inconsistent values for our custom properties. I suspec= t it has something to do with the context belonging to a thread and that sa= me thread being reused by different web requests, therefore different users= . Does anyone have suggestions for me on how I can capture user specific data= into custom properties? Any thoughts or suggestions would be greatly appr= eciated. --_000_D0A5983C38E59B4CA97DC4D4285159DE3AD0D81768hobbesBURLING_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:x=3D"urn:schemas-microsoft-com:office:excel" xmlns:p=3D"urn:schemas-m= icrosoft-com:office:powerpoint" xmlns:a=3D"urn:schemas-microsoft-com:office= :access" xmlns:dt=3D"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s=3D"= uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs=3D"urn:schemas-microsof= t-com:rowset" xmlns:z=3D"#RowsetSchema" xmlns:b=3D"urn:schemas-microsoft-co= m:office:publisher" xmlns:ss=3D"urn:schemas-microsoft-com:office:spreadshee= t" xmlns:c=3D"urn:schemas-microsoft-com:office:component:spreadsheet" xmlns= :odc=3D"urn:schemas-microsoft-com:office:odc" xmlns:oa=3D"urn:schemas-micro= soft-com:office:activation" xmlns:html=3D"http://www.w3.org/TR/REC-html40" = xmlns:q=3D"http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc=3D"http://m= icrosoft.com/officenet/conferencing" xmlns:D=3D"DAV:" xmlns:Repl=3D"http://= schemas.microsoft.com/repl/" xmlns:mt=3D"http://schemas.microsoft.com/share= point/soap/meetings/" xmlns:x2=3D"http://schemas.microsoft.com/office/excel= /2003/xml" xmlns:ppda=3D"http://www.passport.com/NameSpace.xsd" xmlns:ois= =3D"http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir=3D"http://= schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds=3D"http://www.w3= .org/2000/09/xmldsig#" xmlns:dsp=3D"http://schemas.microsoft.com/sharepoint= /dsp" xmlns:udc=3D"http://schemas.microsoft.com/data/udc" xmlns:xsd=3D"http= ://www.w3.org/2001/XMLSchema" xmlns:sub=3D"http://schemas.microsoft.com/sha= repoint/soap/2002/1/alerts/" xmlns:ec=3D"http://www.w3.org/2001/04/xmlenc#"= xmlns:sp=3D"http://schemas.microsoft.com/sharepoint/" xmlns:sps=3D"http://= schemas.microsoft.com/sharepoint/soap/" xmlns:xsi=3D"http://www.w3.org/2001= /XMLSchema-instance" xmlns:udcs=3D"http://schemas.microsoft.com/data/udc/so= ap" xmlns:udcxf=3D"http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udc= p2p=3D"http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf=3D"http:/= /schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss=3D"http://sche= mas.microsoft.com/office/2006/digsig-setup" xmlns:dssi=3D"http://schemas.mi= crosoft.com/office/2006/digsig" xmlns:mdssi=3D"http://schemas.openxmlformat= s.org/package/2006/digital-signature" xmlns:mver=3D"http://schemas.openxmlf= ormats.org/markup-compatibility/2006" xmlns:m=3D"http://schemas.microsoft.c= om/office/2004/12/omml" xmlns:mrels=3D"http://schemas.openxmlformats.org/pa= ckage/2006/relationships" xmlns:spwp=3D"http://microsoft.com/sharepoint/web= partpages" xmlns:ex12t=3D"http://schemas.microsoft.com/exchange/services/20= 06/types" xmlns:ex12m=3D"http://schemas.microsoft.com/exchange/services/200= 6/messages" xmlns:pptsl=3D"http://schemas.microsoft.com/sharepoint/soap/Sli= deLibrary/" xmlns:spsl=3D"http://microsoft.com/webservices/SharePointPortal= Server/PublishedLinksService" xmlns:Z=3D"urn:schemas-microsoft-com:" xmlns:= st=3D"&#1;" xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} p.MsoAcetate, li.MsoAcetate, div.MsoAcetate {mso-style-priority:99; mso-style-link:"Balloon Text Char"; margin:0in; margin-bottom:.0001pt; font-size:8.0pt; font-family:"Tahoma","sans-serif";} span.BalloonTextChar {mso-style-name:"Balloon Text Char"; mso-style-priority:99; mso-style-link:"Balloon Text"; font-family:"Tahoma","sans-serif";} span.EmailStyle19 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:windowtext;} span.EmailStyle20 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DWordSection1> <p class=3DMsoNormal><span style=3D'color:#1F497D'>For the common log appen= ders, the log is output synchronously with the log message, so it should be on th= e same thread, so it shouldn&#8217;t be a problem. I am not sure of the behav= ior when you use an asynchronous appender (like the ADO appender), but it should be pulling the context out before it goes asynchronous. If it doesn&#8217;t, t= hen that would be a bug in log4net, but I would need to look at the code.<o:p><= /o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>What appender are you us= ing?<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span>= </p> <div> <div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in = 0in 0in'> <p class=3DMsoNormal><b><span style=3D'font-size:10.0pt;font-family:"Tahoma= ","sans-serif"'>From:</span></b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Gagne, Chris [mailto:[email protected]] <br> <b>Sent:</b> Wednesday, September 01, 2010 11:03 AM<br> <b>To:</b> Log4NET User<br> <b>Subject:</b> Custom Properties in an ASP.Net Web Application<o:p></o:p><= /span></p> </div> </div> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>Here&#8217;s our situation&#8230;<o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>We&#8217;re adding debug messages to an ASP.Net web application that allows our users to apply for a job online.&nbsp; We have = a custom properties and database fields created named JobPostingId and Member= Id.&nbsp; Here&#8217;s a small code snippet of our logging.<o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>ILog logger =3D LogManager.GetLogger(CONST_JOBPOSTINGS= );<o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>if (logger.IsDebugEnabled)<o:p></o:p></p> <p class=3DMsoNormal>{<o:p></o:p></p> <p class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log4net.ThreadContext.Properties[CONST_JOBPOSTINGID] =3D JobPostingId;<o:p>= </o:p></p> <p class=3DMsoNormal style=3D'text-indent:.5in'>log4net.ThreadContext.Prope= rties[CONST_MEMBERID] =3D MemberId;<o:p></o:p></p> <p class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; logger.Debug(message);<o:p></o:p></p> <p class=3DMsoNormal>}<o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>We&#8217;ve noticed very inconsistent values for our c= ustom properties.&nbsp; I suspect it has something to do with the context belongi= ng to a thread and that same thread being reused by different web requests, therefore different users.<o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>Does anyone have suggestions for me on how I can captu= re user specific data into custom properties?&nbsp; Any thoughts or suggestion= s would be greatly appreciated.<o:p></o:p></p> </div> </body> </html> --_000_D0A5983C38E59B4CA97DC4D4285159DE3AD0D81768hobbesBURLING_-- From [email protected] Wed Sep 01 16:01:17 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 32194 invoked from network); 1 Sep 2010 16:01:17 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 1 Sep 2010 16:01:17 -0000 Received: (qmail 71110 invoked by uid 500); 1 Sep 2010 16:01:17 -0000 Delivered-To: [email protected] Received: (qmail 70997 invoked by uid 500); 1 Sep 2010 16:01:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 70989 invoked by uid 99); 1 Sep 2010 16:01:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Sep 2010 16:01:16 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO biz-email.ivey.ca) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Sep 2010 16:01:09 +0000 Received: from BIZ-EMAIL.ivey.ca ([161.129.204.104]) by biz-email ([161.129.204.104]) with mapi; Wed, 1 Sep 2010 12:00:48 -0400 From: "Gagne, Chris" <[email protected]> To: 'Log4NET User' <[email protected]> Date: Wed, 1 Sep 2010 12:00:48 -0400 Subject: RE: Custom Properties in an ASP.Net Web Application Thread-Topic: Custom Properties in an ASP.Net Web Application Thread-Index: ActJ5W0OBxtUmSM3SwuXjGHcmXAZVQACGJ6QAAAYOuA= Message-ID: <038C9B245F74BC4B869B757F143086520682409944@biz-email> References: <038C9B245F74BC4B869B757F143086520682409941@biz-email> <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_038C9B245F74BC4B869B757F143086520682409944bizemail_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_038C9B245F74BC4B869B757F143086520682409944bizemail_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Yeah we're using the log4net.Appender.AdoNetAppender. From: Rob Prouse [mailto:[email protected]] Sent: Wednesday, September 01, 2010 11:59 AM To: Log4NET User Subject: RE: Custom Properties in an ASP.Net Web Application For the common log appenders, the log is output synchronously with the log = message, so it should be on the same thread, so it shouldn't be a problem. = I am not sure of the behavior when you use an asynchronous appender (like t= he ADO appender), but it should be pulling the context out before it goes a= synchronous. If it doesn't, then that would be a bug in log4net, but I woul= d need to look at the code. What appender are you using? From: Gagne, Chris [mailto:[email protected]] Sent: Wednesday, September 01, 2010 11:03 AM To: Log4NET User Subject: Custom Properties in an ASP.Net Web Application Here's our situation... We're adding debug messages to an ASP.Net web application that allows our u= sers to apply for a job online. We have a custom properties and database f= ields created named JobPostingId and MemberId. Here's a small code snippet= of our logging. ILog logger =3D LogManager.GetLogger(CONST_JOBPOSTINGS); if (logger.IsDebugEnabled) { log4net.ThreadContext.Properties[CONST_JOBPOSTINGID] =3D Jo= bPostingId; log4net.ThreadContext.Properties[CONST_MEMBERID] =3D MemberId; logger.Debug(message); } We've noticed very inconsistent values for our custom properties. I suspec= t it has something to do with the context belonging to a thread and that sa= me thread being reused by different web requests, therefore different users= . Does anyone have suggestions for me on how I can capture user specific data= into custom properties? Any thoughts or suggestions would be greatly appr= eciated. --_000_038C9B245F74BC4B869B757F143086520682409944bizemail_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV=3D"Content-Type" CONTENT= =3D"text/html; charset=3Dus-ascii"><meta name=3DGenerator content=3D"Micros= oft Word 14 (filtered medium)"><style><!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} p.MsoAcetate, li.MsoAcetate, div.MsoAcetate {mso-style-priority:99; mso-style-link:"Balloon Text Char"; margin:0in; margin-bottom:.0001pt; font-size:8.0pt; font-family:"Tahoma","sans-serif";} span.BalloonTextChar {mso-style-name:"Balloon Text Char"; mso-style-priority:99; mso-style-link:"Balloon Text"; font-family:"Tahoma","sans-serif";} span.EmailStyle19 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:windowtext;} span.EmailStyle20 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:#1F497D;} span.EmailStyle21 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue vli= nk=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span style=3D'c= olor:#1F497D'>Yeah we&#8217;re using the log4net.Appender.AdoNetAppender.<o= :p></o:p></span></p><p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p= >&nbsp;</o:p></span></p><div><div style=3D'border:none;border-top:solid #B5= C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=3DMsoNormal><b><span style= =3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><sp= an style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Rob Prouse= [mailto:[email protected]] <br><b>Sent:</b> Wednesday, September 01, 20= 10 11:59 AM<br><b>To:</b> Log4NET User<br><b>Subject:</b> RE: Custom Proper= ties in an ASP.Net Web Application<o:p></o:p></span></p></div></div><p clas= s=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span style=3D'colo= r:#1F497D'>For the common log appenders, the log is output synchronously wi= th the log message, so it should be on the same thread, so it shouldn&#8217= ;t be a problem. I am not sure of the behavior when you use an asynchronous= appender (like the ADO appender), but it should be pulling the context out= before it goes asynchronous. If it doesn&#8217;t, then that would be a bug= in log4net, but I would need to look at the code.<o:p></o:p></span></p><p = class=3DMsoNormal><span style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p= ><p class=3DMsoNormal><span style=3D'color:#1F497D'>What appender are you u= sing?<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'color:#1F497= D'><o:p>&nbsp;</o:p></span></p><div><div style=3D'border:none;border-top:so= lid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=3DMsoNormal><b><span = style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></= b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Gagne= , Chris [mailto:[email protected]] <br><b>Sent:</b> Wednesday, September 0= 1, 2010 11:03 AM<br><b>To:</b> Log4NET User<br><b>Subject:</b> Custom Prope= rties in an ASP.Net Web Application<o:p></o:p></span></p></div></div><p cla= ss=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>Here&#8217;s our s= ituation&#8230;<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p = class=3DMsoNormal>We&#8217;re adding debug messages to an ASP.Net web appli= cation that allows our users to apply for a job online.&nbsp; We have a cus= tom properties and database fields created named JobPostingId and MemberId.= &nbsp; Here&#8217;s a small code snippet of our logging.<o:p></o:p></p><p c= lass=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>ILog logger =3D = LogManager.GetLogger(CONST_JOBPOSTINGS);<o:p></o:p></p><p class=3DMsoNormal= ><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>if (logger.IsDebugEnabled)<o:p><= /o:p></p><p class=3DMsoNormal>{<o:p></o:p></p><p class=3DMsoNormal>&nbsp;&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp; log4net.ThreadContext.Properties[CONST_JOBPOSTINGID] =3D JobPosting= Id;<o:p></o:p></p><p class=3DMsoNormal style=3D'text-indent:.5in'>log4net.T= hreadContext.Properties[CONST_MEMBERID] =3D MemberId;<o:p></o:p></p><p clas= s=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp; logger.Debug(message);<o:p></o:p></p><p class= =3DMsoNormal>}<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p c= lass=3DMsoNormal>We&#8217;ve noticed very inconsistent values for our custo= m properties.&nbsp; I suspect it has something to do with the context belon= ging to a thread and that same thread being reused by different web request= s, therefore different users.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp= ;</o:p></p><p class=3DMsoNormal>Does anyone have suggestions for me on how = I can capture user specific data into custom properties?&nbsp; Any thoughts= or suggestions would be greatly appreciated.<o:p></o:p></p></div></body></= html>= --_000_038C9B245F74BC4B869B757F143086520682409944bizemail_-- From [email protected] Wed Sep 01 17:37:42 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73420 invoked from network); 1 Sep 2010 17:37:42 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 1 Sep 2010 17:37:42 -0000 Received: (qmail 84219 invoked by uid 500); 1 Sep 2010 17:37:41 -0000 Delivered-To: [email protected] Received: (qmail 84036 invoked by uid 500); 1 Sep 2010 17:37:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 84028 invoked by uid 99); 1 Sep 2010 17:37:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Sep 2010 17:37:40 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO hobbes.BURLINGTON.IVARA.COM) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Sep 2010 17:37:32 +0000 Received: from hobbes.BURLINGTON.IVARA.COM ([161.129.204.104]) by hobbes.BURLINGTON.IVARA.COM ([161.129.204.104]) with mapi; Wed, 1 Sep 2010 13:41:37 -0400 From: Rob Prouse <[email protected]> To: Log4NET User <[email protected]> Date: Wed, 1 Sep 2010 13:41:36 -0400 Subject: RE: Custom Properties in an ASP.Net Web Application Thread-Topic: Custom Properties in an ASP.Net Web Application Thread-Index: ActJ5W0OBxtUmSM3SwuXjGHcmXAZVQACGJ6QAAAYOuAAAu0SIA== Message-ID: <[email protected]> References: <038C9B245F74BC4B869B757F143086520682409941@biz-email> <[email protected]> <038C9B245F74BC4B869B757F143086520682409944@biz-email> In-Reply-To: <038C9B245F74BC4B869B757F143086520682409944@biz-email> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_D0A5983C38E59B4CA97DC4D4285159DE3AD0D817C7hobbesBURLING_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_D0A5983C38E59B4CA97DC4D4285159DE3AD0D817C7hobbesBURLING_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I took a quick look at the code and as far as I can see, the ThreadContext = is taken out of the logging event when formatting the message which happens= when it is being written. Therefore, I believe that if you use any appende= r deriving from the BufferingSkeletonAppender, then the ThreadContext will = be wrong because the writing of the message happens on a different thread. = So, I don't think you can use the ThreadContext. I assume you want to use properties so that you can have them as separate c= olumns in the DB, otherwise you could just insert the values into the messa= ge. If that is the case, then the only solution I can think of is to downlo= ad the source, copy the code from the ADO appender and create your own that= does not derive from the buffering appender. Or, you could look at NLog and see if it meets your needs. Rob From: Gagne, Chris [mailto:[email protected]] Sent: Wednesday, September 01, 2010 12:01 PM To: 'Log4NET User' Subject: RE: Custom Properties in an ASP.Net Web Application Yeah we're using the log4net.Appender.AdoNetAppender. From: Rob Prouse [mailto:[email protected]] Sent: Wednesday, September 01, 2010 11:59 AM To: Log4NET User Subject: RE: Custom Properties in an ASP.Net Web Application For the common log appenders, the log is output synchronously with the log = message, so it should be on the same thread, so it shouldn't be a problem. = I am not sure of the behavior when you use an asynchronous appender (like t= he ADO appender), but it should be pulling the context out before it goes a= synchronous. If it doesn't, then that would be a bug in log4net, but I woul= d need to look at the code. What appender are you using? From: Gagne, Chris [mailto:[email protected]] Sent: Wednesday, September 01, 2010 11:03 AM To: Log4NET User Subject: Custom Properties in an ASP.Net Web Application Here's our situation... We're adding debug messages to an ASP.Net web application that allows our u= sers to apply for a job online. We have a custom properties and database f= ields created named JobPostingId and MemberId. Here's a small code snippet= of our logging. ILog logger =3D LogManager.GetLogger(CONST_JOBPOSTINGS); if (logger.IsDebugEnabled) { log4net.ThreadContext.Properties[CONST_JOBPOSTINGID] =3D Jo= bPostingId; log4net.ThreadContext.Properties[CONST_MEMBERID] =3D MemberId; logger.Debug(message); } We've noticed very inconsistent values for our custom properties. I suspec= t it has something to do with the context belonging to a thread and that sa= me thread being reused by different web requests, therefore different users= . Does anyone have suggestions for me on how I can capture user specific data= into custom properties? Any thoughts or suggestions would be greatly appr= eciated. --_000_D0A5983C38E59B4CA97DC4D4285159DE3AD0D817C7hobbesBURLING_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:x=3D"urn:schemas-microsoft-com:office:excel" xmlns:p=3D"urn:schemas-m= icrosoft-com:office:powerpoint" xmlns:a=3D"urn:schemas-microsoft-com:office= :access" xmlns:dt=3D"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s=3D"= uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs=3D"urn:schemas-microsof= t-com:rowset" xmlns:z=3D"#RowsetSchema" xmlns:b=3D"urn:schemas-microsoft-co= m:office:publisher" xmlns:ss=3D"urn:schemas-microsoft-com:office:spreadshee= t" xmlns:c=3D"urn:schemas-microsoft-com:office:component:spreadsheet" xmlns= :odc=3D"urn:schemas-microsoft-com:office:odc" xmlns:oa=3D"urn:schemas-micro= soft-com:office:activation" xmlns:html=3D"http://www.w3.org/TR/REC-html40" = xmlns:q=3D"http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc=3D"http://m= icrosoft.com/officenet/conferencing" xmlns:D=3D"DAV:" xmlns:Repl=3D"http://= schemas.microsoft.com/repl/" xmlns:mt=3D"http://schemas.microsoft.com/share= point/soap/meetings/" xmlns:x2=3D"http://schemas.microsoft.com/office/excel= /2003/xml" xmlns:ppda=3D"http://www.passport.com/NameSpace.xsd" xmlns:ois= =3D"http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir=3D"http://= schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds=3D"http://www.w3= .org/2000/09/xmldsig#" xmlns:dsp=3D"http://schemas.microsoft.com/sharepoint= /dsp" xmlns:udc=3D"http://schemas.microsoft.com/data/udc" xmlns:xsd=3D"http= ://www.w3.org/2001/XMLSchema" xmlns:sub=3D"http://schemas.microsoft.com/sha= repoint/soap/2002/1/alerts/" xmlns:ec=3D"http://www.w3.org/2001/04/xmlenc#"= xmlns:sp=3D"http://schemas.microsoft.com/sharepoint/" xmlns:sps=3D"http://= schemas.microsoft.com/sharepoint/soap/" xmlns:xsi=3D"http://www.w3.org/2001= /XMLSchema-instance" xmlns:udcs=3D"http://schemas.microsoft.com/data/udc/so= ap" xmlns:udcxf=3D"http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udc= p2p=3D"http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf=3D"http:/= /schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss=3D"http://sche= mas.microsoft.com/office/2006/digsig-setup" xmlns:dssi=3D"http://schemas.mi= crosoft.com/office/2006/digsig" xmlns:mdssi=3D"http://schemas.openxmlformat= s.org/package/2006/digital-signature" xmlns:mver=3D"http://schemas.openxmlf= ormats.org/markup-compatibility/2006" xmlns:m=3D"http://schemas.microsoft.c= om/office/2004/12/omml" xmlns:mrels=3D"http://schemas.openxmlformats.org/pa= ckage/2006/relationships" xmlns:spwp=3D"http://microsoft.com/sharepoint/web= partpages" xmlns:ex12t=3D"http://schemas.microsoft.com/exchange/services/20= 06/types" xmlns:ex12m=3D"http://schemas.microsoft.com/exchange/services/200= 6/messages" xmlns:pptsl=3D"http://schemas.microsoft.com/sharepoint/soap/Sli= deLibrary/" xmlns:spsl=3D"http://microsoft.com/webservices/SharePointPortal= Server/PublishedLinksService" xmlns:Z=3D"urn:schemas-microsoft-com:" xmlns:= st=3D"&#1;" xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} p.MsoAcetate, li.MsoAcetate, div.MsoAcetate {mso-style-priority:99; mso-style-link:"Balloon Text Char"; margin:0in; margin-bottom:.0001pt; font-size:8.0pt; font-family:"Tahoma","sans-serif";} span.BalloonTextChar {mso-style-name:"Balloon Text Char"; mso-style-priority:99; mso-style-link:"Balloon Text"; font-family:"Tahoma","sans-serif";} span.EmailStyle19 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:windowtext;} span.EmailStyle20 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:#1F497D;} span.EmailStyle21 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:#1F497D;} span.EmailStyle22 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DWordSection1> <p class=3DMsoNormal><span style=3D'color:#1F497D'>I took a quick look at t= he code and as far as I can see, the ThreadContext is taken out of the logging even= t when formatting the message which happens when it is being written. Therefo= re, I believe that if you use any appender deriving from the BufferingSkeletonAppender, then the ThreadContext will be wrong because the= writing of the message happens on a different thread. So, I don&#8217;t think you c= an use the ThreadContext.<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>I assume you want to use properties so that you can have them as separate columns in the DB, otherwi= se you could just insert the values into the message. If that is the case, the= n the only solution I can think of is to download the source, copy the code f= rom the ADO appender and create your own that does not derive from the bufferin= g appender.<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>Or, you could look at NL= og and see if it meets your needs.<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>Rob<o:p></o:p></span></p= > <p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span>= </p> <div> <div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in = 0in 0in'> <p class=3DMsoNormal><b><span style=3D'font-size:10.0pt;font-family:"Tahoma= ","sans-serif"'>From:</span></b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Gagne, Chris [mailto:[email protected]] <br> <b>Sent:</b> Wednesday, September 01, 2010 12:01 PM<br> <b>To:</b> 'Log4NET User'<br> <b>Subject:</b> RE: Custom Properties in an ASP.Net Web Application<o:p></o= :p></span></p> </div> </div> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>Yeah we&#8217;re using t= he log4net.Appender.AdoNetAppender.<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span>= </p> <div> <div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in = 0in 0in'> <p class=3DMsoNormal><b><span style=3D'font-size:10.0pt;font-family:"Tahoma= ","sans-serif"'>From:</span></b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Rob Prouse [mailto:[email protected]] <br> <b>Sent:</b> Wednesday, September 01, 2010 11:59 AM<br> <b>To:</b> Log4NET User<br> <b>Subject:</b> RE: Custom Properties in an ASP.Net Web Application<o:p></o= :p></span></p> </div> </div> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>For the common log appen= ders, the log is output synchronously with the log message, so it should be on th= e same thread, so it shouldn&#8217;t be a problem. I am not sure of the behav= ior when you use an asynchronous appender (like the ADO appender), but it shoul= d be pulling the context out before it goes asynchronous. If it doesn&#8217;t, t= hen that would be a bug in log4net, but I would need to look at the code.<o:p><= /o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span>= </p> <p class=3DMsoNormal><span style=3D'color:#1F497D'>What appender are you us= ing?<o:p></o:p></span></p> <p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span>= </p> <div> <div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in = 0in 0in'> <p class=3DMsoNormal><b><span style=3D'font-size:10.0pt;font-family:"Tahoma= ","sans-serif"'>From:</span></b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Gagne, Chris [mailto:[email protected]] <br> <b>Sent:</b> Wednesday, September 01, 2010 11:03 AM<br> <b>To:</b> Log4NET User<br> <b>Subject:</b> Custom Properties in an ASP.Net Web Application<o:p></o:p><= /span></p> </div> </div> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>Here&#8217;s our situation&#8230;<o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>We&#8217;re adding debug messages to an ASP.Net web application that allows our users to apply for a job online.&nbsp; We have = a custom properties and database fields created named JobPostingId and MemberId.&nbsp; Here&#8217;s a small code snippet of our logging.<o:p></o:p= ></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>ILog logger =3D LogManager.GetLogger(CONST_JOBPOSTINGS= );<o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>if (logger.IsDebugEnabled)<o:p></o:p></p> <p class=3DMsoNormal>{<o:p></o:p></p> <p class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log4net.ThreadContext.Properties[CONST_JOBPOSTINGID] =3D JobPostingId;<o:p>= </o:p></p> <p class=3DMsoNormal style=3D'text-indent:.5in'>log4net.ThreadContext.Prope= rties[CONST_MEMBERID] =3D MemberId;<o:p></o:p></p> <p class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; logger.Debug(message);<o:p></o:p></p> <p class=3DMsoNormal>}<o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>We&#8217;ve noticed very inconsistent values for our c= ustom properties.&nbsp; I suspect it has something to do with the context belongi= ng to a thread and that same thread being reused by different web requests, therefore different users.<o:p></o:p></p> <p class=3DMsoNormal><o:p>&nbsp;</o:p></p> <p class=3DMsoNormal>Does anyone have suggestions for me on how I can captu= re user specific data into custom properties?&nbsp; Any thoughts or suggestion= s would be greatly appreciated.<o:p></o:p></p> </div> </body> </html> --_000_D0A5983C38E59B4CA97DC4D4285159DE3AD0D817C7hobbesBURLING_-- From [email protected] Wed Sep 01 17:59:23 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76871 invoked from network); 1 Sep 2010 17:59:23 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 1 Sep 2010 17:59:23 -0000 Received: (qmail 2294 invoked by uid 500); 1 Sep 2010 17:59:23 -0000 Delivered-To: [email protected] Received: (qmail 2151 invoked by uid 500); 1 Sep 2010 17:59:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 2143 invoked by uid 99); 1 Sep 2010 17:59:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Sep 2010 17:59:22 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO biz-email.ivey.ca) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Sep 2010 17:59:15 +0000 Received: from BIZ-EMAIL.ivey.ca ([161.129.204.104]) by biz-email ([161.129.204.104]) with mapi; Wed, 1 Sep 2010 13:58:53 -0400 From: "Gagne, Chris" <[email protected]> To: 'Log4NET User' <[email protected]> Date: Wed, 1 Sep 2010 13:58:53 -0400 Subject: RE: Custom Properties in an ASP.Net Web Application Thread-Topic: Custom Properties in an ASP.Net Web Application Thread-Index: ActJ5W0OBxtUmSM3SwuXjGHcmXAZVQACGJ6QAAAYOuAAAu0SIAABPMjA Message-ID: <038C9B245F74BC4B869B757F143086520682409946@biz-email> References: <038C9B245F74BC4B869B757F143086520682409941@biz-email> <[email protected]> <038C9B245F74BC4B869B757F143086520682409944@biz-email> <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_038C9B245F74BC4B869B757F143086520682409946bizemail_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_038C9B245F74BC4B869B757F143086520682409946bizemail_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Thank you for your help Rob. We identified that if one of the custom prope= rties was not set at the point in time we're about to log a message (in our= case not all log messages had a job id), that the value that was previousl= y set for that thread was logged. This was the cause of our inconsistencie= s. So far we seem to be fine as long as we explicitly set all custom prope= rties every log attempt including nullifying values if we don't expect one. I'm still not 100% confident in our solution at this point but we've made s= ome ground anyways. Thanks again for your thoughts. From: Rob Prouse [mailto:[email protected]] Sent: Wednesday, September 01, 2010 1:42 PM To: Log4NET User Subject: RE: Custom Properties in an ASP.Net Web Application I took a quick look at the code and as far as I can see, the ThreadContext = is taken out of the logging event when formatting the message which happens= when it is being written. Therefore, I believe that if you use any appende= r deriving from the BufferingSkeletonAppender, then the ThreadContext will = be wrong because the writing of the message happens on a different thread. = So, I don't think you can use the ThreadContext. I assume you want to use properties so that you can have them as separate c= olumns in the DB, otherwise you could just insert the values into the messa= ge. If that is the case, then the only solution I can think of is to downlo= ad the source, copy the code from the ADO appender and create your own that= does not derive from the buffering appender. Or, you could look at NLog and see if it meets your needs. Rob From: Gagne, Chris [mailto:[email protected]] Sent: Wednesday, September 01, 2010 12:01 PM To: 'Log4NET User' Subject: RE: Custom Properties in an ASP.Net Web Application Yeah we're using the log4net.Appender.AdoNetAppender. From: Rob Prouse [mailto:[email protected]] Sent: Wednesday, September 01, 2010 11:59 AM To: Log4NET User Subject: RE: Custom Properties in an ASP.Net Web Application For the common log appenders, the log is output synchronously with the log = message, so it should be on the same thread, so it shouldn't be a problem. = I am not sure of the behavior when you use an asynchronous appender (like t= he ADO appender), but it should be pulling the context out before it goes a= synchronous. If it doesn't, then that would be a bug in log4net, but I woul= d need to look at the code. What appender are you using? From: Gagne, Chris [mailto:[email protected]] Sent: Wednesday, September 01, 2010 11:03 AM To: Log4NET User Subject: Custom Properties in an ASP.Net Web Application Here's our situation... We're adding debug messages to an ASP.Net web application that allows our u= sers to apply for a job online. We have a custom properties and database f= ields created named JobPostingId and MemberId. Here's a small code snippet= of our logging. ILog logger =3D LogManager.GetLogger(CONST_JOBPOSTINGS); if (logger.IsDebugEnabled) { log4net.ThreadContext.Properties[CONST_JOBPOSTINGID] =3D Jo= bPostingId; log4net.ThreadContext.Properties[CONST_MEMBERID] =3D MemberId; logger.Debug(message); } We've noticed very inconsistent values for our custom properties. I suspec= t it has something to do with the context belonging to a thread and that sa= me thread being reused by different web requests, therefore different users= . Does anyone have suggestions for me on how I can capture user specific data= into custom properties? Any thoughts or suggestions would be greatly appr= eciated. --_000_038C9B245F74BC4B869B757F143086520682409946bizemail_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV=3D"Content-Type" CONTENT= =3D"text/html; charset=3Dus-ascii"><meta name=3DGenerator content=3D"Micros= oft Word 14 (filtered medium)"><style><!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} p.MsoAcetate, li.MsoAcetate, div.MsoAcetate {mso-style-priority:99; mso-style-link:"Balloon Text Char"; margin:0in; margin-bottom:.0001pt; font-size:8.0pt; font-family:"Tahoma","sans-serif";} span.BalloonTextChar {mso-style-name:"Balloon Text Char"; mso-style-priority:99; mso-style-link:"Balloon Text"; font-family:"Tahoma","sans-serif";} span.EmailStyle19 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:windowtext;} span.EmailStyle20 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:#1F497D;} span.EmailStyle21 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:#1F497D;} span.EmailStyle22 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:#1F497D;} span.EmailStyle23 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue vli= nk=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span style=3D'c= olor:#1F497D'>Thank you for your help Rob.&nbsp; We identified that if one = of the custom properties was not set at the point in time we&#8217;re about= to log a message (in our case not all log messages had a job id), that the= value that was previously set for that thread was logged.&nbsp; This was t= he cause of our inconsistencies.&nbsp; So far we seem to be fine as long as= we explicitly set all custom properties every log attempt including nullif= ying values if we don&#8217;t expect one.<o:p></o:p></span></p><p class=3DM= soNormal><span style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class= =3DMsoNormal><span style=3D'color:#1F497D'>I&#8217;m still not 100% confide= nt in our solution at this point but we&#8217;ve made some ground anyways.&= nbsp; Thanks again for your thoughts.<o:p></o:p></span></p><p class=3DMsoNo= rmal><span style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div st= yle=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in= '><p class=3DMsoNormal><b><span style=3D'font-size:10.0pt;font-family:"Taho= ma","sans-serif"'>From:</span></b><span style=3D'font-size:10.0pt;font-fami= ly:"Tahoma","sans-serif"'> Rob Prouse [mailto:[email protected]] <br><b>= Sent:</b> Wednesday, September 01, 2010 1:42 PM<br><b>To:</b> Log4NET User<= br><b>Subject:</b> RE: Custom Properties in an ASP.Net Web Application<o:p>= </o:p></span></p></div></div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p c= lass=3DMsoNormal><span style=3D'color:#1F497D'>I took a quick look at the c= ode and as far as I can see, the ThreadContext is taken out of the logging = event when formatting the message which happens when it is being written. T= herefore, I believe that if you use any appender deriving from the Bufferin= gSkeletonAppender, then the ThreadContext will be wrong because the writing= of the message happens on a different thread. So, I don&#8217;t think you = can use the ThreadContext.<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><s= pan style=3D'color:#1F497D'>I assume you want to use properties so that you= can have them as separate columns in the DB, otherwise you could just inse= rt the values into the message. If that is the case, then the only solution= I can think of is to download the source, copy the code from the ADO appen= der and create your own that does not derive from the buffering appender.<o= :p></o:p></span></p><p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p= >&nbsp;</o:p></span></p><p class=3DMsoNormal><span style=3D'color:#1F497D'>= Or, you could look at NLog and see if it meets your needs.<o:p></o:p></span= ></p><p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p>&nbsp;</o:p></= span></p><p class=3DMsoNormal><span style=3D'color:#1F497D'>Rob<o:p></o:p><= /span></p><p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p>&nbsp;</o= :p></span></p><div><div style=3D'border:none;border-top:solid #B5C4DF 1.0pt= ;padding:3.0pt 0in 0in 0in'><p class=3DMsoNormal><b><span style=3D'font-siz= e:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style=3D'= font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Gagne, Chris [mailto:c= [email protected]] <br><b>Sent:</b> Wednesday, September 01, 2010 12:01 PM<= br><b>To:</b> 'Log4NET User'<br><b>Subject:</b> RE: Custom Properties in an= ASP.Net Web Application<o:p></o:p></span></p></div></div><p class=3DMsoNor= mal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span style=3D'color:#1F497D'= >Yeah we&#8217;re using the log4net.Appender.AdoNetAppender.<o:p></o:p></sp= an></p><p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p>&nbsp;</o:p>= </span></p><div><div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;pa= dding:3.0pt 0in 0in 0in'><p class=3DMsoNormal><b><span style=3D'font-size:1= 0.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style=3D'fon= t-size:10.0pt;font-family:"Tahoma","sans-serif"'> Rob Prouse [mailto:Rob.Pr= [email protected]] <br><b>Sent:</b> Wednesday, September 01, 2010 11:59 AM<br>= <b>To:</b> Log4NET User<br><b>Subject:</b> RE: Custom Properties in an ASP.= Net Web Application<o:p></o:p></span></p></div></div><p class=3DMsoNormal><= o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span style=3D'color:#1F497D'>For = the common log appenders, the log is output synchronously with the log mess= age, so it should be on the same thread, so it shouldn&#8217;t be a problem= . I am not sure of the behavior when you use an asynchronous appender (like= the ADO appender), but it should be pulling the context out before it goes= asynchronous. If it doesn&#8217;t, then that would be a bug in log4net, bu= t I would need to look at the code.<o:p></o:p></span></p><p class=3DMsoNorm= al><span style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=3DMso= Normal><span style=3D'color:#1F497D'>What appender are you using?<o:p></o:p= ></span></p><p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p>&nbsp;<= /o:p></span></p><div><div style=3D'border:none;border-top:solid #B5C4DF 1.0= pt;padding:3.0pt 0in 0in 0in'><p class=3DMsoNormal><b><span style=3D'font-s= ize:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style= =3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Gagne, Chris [mail= to:[email protected]] <br><b>Sent:</b> Wednesday, September 01, 2010 11:03= AM<br><b>To:</b> Log4NET User<br><b>Subject:</b> Custom Properties in an A= SP.Net Web Application<o:p></o:p></span></p></div></div><p class=3DMsoNorma= l><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>Here&#8217;s our situation&#823= 0;<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNo= rmal>We&#8217;re adding debug messages to an ASP.Net web application that a= llows our users to apply for a job online.&nbsp; We have a custom propertie= s and database fields created named JobPostingId and MemberId.&nbsp; Here&#= 8217;s a small code snippet of our logging.<o:p></o:p></p><p class=3DMsoNor= mal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>ILog logger =3D LogManager.Ge= tLogger(CONST_JOBPOSTINGS);<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;<= /o:p></p><p class=3DMsoNormal>if (logger.IsDebugEnabled)<o:p></o:p></p><p c= lass=3DMsoNormal>{<o:p></o:p></p><p class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log4n= et.ThreadContext.Properties[CONST_JOBPOSTINGID] =3D JobPostingId;<o:p></o:p= ></p><p class=3DMsoNormal style=3D'text-indent:.5in'>log4net.ThreadContext.= Properties[CONST_MEMBERID] =3D MemberId;<o:p></o:p></p><p class=3DMsoNormal= >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp; logger.Debug(message);<o:p></o:p></p><p class=3DMsoNormal>= }<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNor= mal>We&#8217;ve noticed very inconsistent values for our custom properties.= &nbsp; I suspect it has something to do with the context belonging to a thr= ead and that same thread being reused by different web requests, therefore = different users.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p= class=3DMsoNormal>Does anyone have suggestions for me on how I can capture= user specific data into custom properties?&nbsp; Any thoughts or suggestio= ns would be greatly appreciated.<o:p></o:p></p></div></body></html>= --_000_038C9B245F74BC4B869B757F143086520682409946bizemail_-- From [email protected] Thu Sep 02 17:16:42 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 86529 invoked from network); 2 Sep 2010 17:16:42 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 2 Sep 2010 17:16:42 -0000 Received: (qmail 84912 invoked by uid 500); 2 Sep 2010 17:16:42 -0000 Delivered-To: [email protected] Received: (qmail 84809 invoked by uid 500); 2 Sep 2010 17:16:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 84801 invoked by uid 99); 2 Sep 2010 17:16:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Sep 2010 17:16:41 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO n13.bullet.mail.ac4.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 02 Sep 2010 17:16:32 +0000 Received: from [161.129.204.104] by n13.bullet.mail.ac4.yahoo.com with NNFMP; 02 Sep 2010 17:16:11 -0000 Received: from [161.129.204.104] by t8.bullet.mail.ac4.yahoo.com with NNFMP; 02 Sep 2010 17:16:10 -0000 Received: from [161.129.204.104] by omp306.mail.re3.yahoo.com with NNFMP; 02 Sep 2010 17:16:10 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: [email protected] Received: (qmail 77206 invoked by uid 60001); 2 Sep 2010 17:16:10 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1283447770; bh=NbcJNYsedkfY+kRWh7gV7BNGpMQCLF2JRb03V1sodC8=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=w/GShiVuyGnkFLhmhCoGkKcfTgamN3J/pZMHjmay5ywQqxEuL2BxvId4TOI7ROC4Dreta8aBlh0OLlPL6aaCbJKvPn+XHqJfeJNYYtJisFAOnXl5RAUvcgANGJxWhxwXh5D/PSvlh2mmlt45TH6B+9L/aVrM6B+frzZVpLmNEN8= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=oFp9hGVb4privLgvDEdq/rfBOmgGGIgbNfgRyCsqHVV4IxcqJSCMrFGAyCUfdGRLATvghbX5yOPGc4zbMtJ5zAK8xRSRYZFQbH/minOVZkEA1luIUACNna2IUJwLlL0XPl8Z8+adfxa9UZAroFjE13oDYnySMS7cEBMmdTblYCs=; Message-ID: <[email protected]> X-YMail-OSG: 4AZ7VJUVM1lC8VFK28tBx4tco2ll8p_mZg6x0fXN1Co6bml By.kVDjtEXQCBb1.jJt53rweHLcFRnXJ56oe.8Nr65.Dy4ycQsmmwtv.r.iE wOrenre4yBNkEbAxQOk2DBcbU1InQL..uFyW96yzyCiBGqDxPQE4u5tTCFJL kOkHr5mw7naqIyUw9py4Z7L7dOJWdxTeeB65hYzPQN7fDH2Q.Y3lJI1gbBGk hRgBCh9xS4HSFb8g21bTiPkS5EO3oG6Q2fEDzUNrvxHd6NVj31kyIigWhMIH kZtqYdVR1kPqirGxyXgJAUV2t3.7gExJ.3GhdTifSCA-- Received: from [161.129.204.104] by web56301.mail.re3.yahoo.com via HTTP; Thu, 02 Sep 2010 10:16:10 PDT X-Mailer: YahooMailClassic/11.3.2 YahooMailWebService/161.129.204.1049950 Date: Thu, 2 Sep 2010 10:16:10 -0700 (PDT) From: T Dog <[email protected]> Subject: how often to call XmlConfigurator.Configure To: [email protected] MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable I have a simple C# .net 2.0 program where a console application calls into = a Caller class which then calls into a Callee class.=A0 I want to have sepa= rate log4net configurations for the console application, for the Caller dll= , and for the Callee dll.=A0 Each of the 3 should write to its own rolling = log file appender.=A0=A0 I call XmlConfigurator.Configure in the constructo= r of the Caller, the Callee, and in the Main method of the console applicat= ion.=A0 It ends up that the console application starts writing to its own l= og file, but then ends up writing into the innermost, the Callee's, log fil= e.=A0 I can get the console application to write back to its own log file i= f I call XmlConfigurator.Configure again before I want to write to the cons= ole app's log file.=A0 Is that necessary or did I configure this incorrectl= y?=A0 I want to be able to have varying levels of log4net capability and ve= rbosity at each of the 3 levels. Here's the guts of the console application: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 log4net.Config.XmlConfigurator.Configure(ne= w System.IO.FileInfo(Assembly.GetExecutingAssembly().Location + ".config"))= ; =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 string message =3D "message from main gener= ated at : " + DateTime.Now.ToLongTimeString(); =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _log.Error("error" + message); =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _log.Warn("warn" + message); =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _log.Info("info" + message); =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _log.Debug("debug" + message); =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=20 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Caller caller =3D new Caller(); =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 caller.MethodOne(); =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 // if the following line is commented out, = then the output goes into the Callee's log file (which was the last class t= o call XmlConfigurator.Configure), not into the console application's log f= ile =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 log4net.Config.XmlConfigurator.Configure(ne= w System.IO.FileInfo(Assembly.GetExecutingAssembly().Location + ".config"))= ; =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 message =3D "message from main generated at= : " + DateTime.Now.ToLongTimeString(); =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _log.Error("error" + message); =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _log.Warn("warn" + message); =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _log.Info("info" + message); =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _log.Debug("debug" + message); =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Caller caller2 =3D new Caller(); =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 caller2.MethodOne(); =0A=0A=0A From [email protected] Fri Sep 03 10:21:16 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 76911 invoked from network); 3 Sep 2010 10:21:16 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 3 Sep 2010 10:21:16 -0000 Received: (qmail 51639 invoked by uid 500); 3 Sep 2010 10:21:16 -0000 Delivered-To: [email protected] Received: (qmail 51262 invoked by uid 500); 3 Sep 2010 10:21:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 51254 invoked by uid 99); 3 Sep 2010 10:21:12 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Sep 2010 10:21:12 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO main.hasam.cz) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Sep 2010 10:20:49 +0000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Subject: RE: how often to call XmlConfigurator.Configure X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Fri, 3 Sep 2010 12:20:27 +0200 Message-ID: <[email protected]> In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: how often to call XmlConfigurator.Configure Thread-Index: ActKwp5oFtUkIKYBQqWpzNbLqZLObgAjk2Sw References: <[email protected]> From: "Radovan Raszka" <[email protected]> To: "Log4NET User" <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Log4net system should be configured only once int the "starting" class = of your application (first class used in the application) or any other = class but before first logging attempt.. If you configure more times, only the last configuration is used. But you can use log4net in way that every class uses its own appender. RR -----P=F9vodn=ED zpr=E1va----- Od: T Dog [mailto:[email protected]]=20 Odesl=E1no: 2. z=E1=F8=ED 2010 19:16 Komu: [email protected] P=F8edm=ECt: how often to call XmlConfigurator.Configure I have a simple C# .net 2.0 program where a console application calls = into a Caller class which then calls into a Callee class.=A0 I want to = have separate log4net configurations for the console application, for = the Caller dll, and for the Callee dll.=A0 Each of the 3 should write to = its own rolling log file appender.=A0=A0 I call = XmlConfigurator.Configure in the constructor of the Caller, the Callee, = and in the Main method of the console application.=A0 It ends up that = the console application starts writing to its own log file, but then = ends up writing into the innermost, the Callee's, log file.=A0 I can get = the console application to write back to its own log file if I call = XmlConfigurator.Configure again before I want to write to the console = app's log file.=A0 Is that necessary or did I configure this = incorrectly?=A0 I want to be able to have varying levels of log4net = capability and verbosity at each of the 3 levels. Here's the guts of the console application: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = log4net.Config.XmlConfigurator.Configure(new = System.IO.FileInfo(Assembly.GetExecutingAssembly().Location + = ".config")); =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 string message =3D "message from main = generated at : " + DateTime.Now.ToLongTimeString(); =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _log.Error("error" + message); =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _log.Warn("warn" + message); =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _log.Info("info" + message); =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _log.Debug("debug" + message); =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=20 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Caller caller =3D new Caller(); =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 caller.MethodOne(); =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 // if the following line is commented = out, then the output goes into the Callee's log file (which was the last = class to call XmlConfigurator.Configure), not into the console = application's log file =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = log4net.Config.XmlConfigurator.Configure(new = System.IO.FileInfo(Assembly.GetExecutingAssembly().Location + = ".config")); =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 message =3D "message from main generated = at : " + DateTime.Now.ToLongTimeString(); =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _log.Error("error" + message); =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _log.Warn("warn" + message); =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _log.Info("info" + message); =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 _log.Debug("debug" + message); =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Caller caller2 =3D new Caller(); =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 caller2.MethodOne(); =20 From [email protected] Fri Sep 03 11:32:57 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93669 invoked from network); 3 Sep 2010 11:32:57 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 3 Sep 2010 11:32:57 -0000 Received: (qmail 31963 invoked by uid 500); 3 Sep 2010 11:32:57 -0000 Delivered-To: [email protected] Received: (qmail 31579 invoked by uid 500); 3 Sep 2010 11:32:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 31567 invoked by uid 99); 3 Sep 2010 11:32:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Sep 2010 11:32:53 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO eu1sys200aog111.obsmtp.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 03 Sep 2010 11:32:46 +0000 Received: from source ([161.129.204.104]) by eu1sys200aob111.postini.com ([161.129.204.104]) with SMTP ID [email protected]; Fri, 03 Sep 2010 11:32:26 UTC Received: by qyk31 with SMTP id 31so3482211qyk.20 for <[email protected]>; Fri, 03 Sep 2010 04:32:25 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id i11mr273214qal.121.1283513539727; Fri, 03 Sep 2010 04:32:19 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Fri, 3 Sep 2010 04:32:19 -0700 (PDT) Reply-To: [email protected] Date: Fri, 3 Sep 2010 13:32:19 +0200 Message-ID: <[email protected]> Subject: log4net Remote Logging Server Service - a remote logging listener as a Windows Service From: Svante Seleborg <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=00c09f88cfed9991cc048f594865 X-Virus-Checked: Checked by ClamAV on apache.org --00c09f88cfed9991cc048f594865 Content-Type: text/plain; charset=ISO-8859-1 Hello, I've published a convenience wrapper around the log4net remoting receiver plug-in RemoteLoggingServerPlugin, in the form of an installer for a Windows Service. This makes it easy to make use of the RemoteAppender to send logs to a single location for consolidation etc. It also resolves a number issues concerning concurrent access to log files that are only partially resolved by using the minimal locking model. The installer and the source code is found at http://log4netremotelogging.codeplex.com/ . Svante --00c09f88cfed9991cc048f594865 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div>Hello,</div><div><br></div><div>I&#39;ve published a convenience wrapp= er around the log4net remoting receiver plug-in RemoteLoggingServerPlugin, = in the form of an installer for a Windows Service.</div><div><br></div><div= > This makes it easy to make use of the RemoteAppender to send logs to a sing= le location for consolidation etc.</div><div><br></div><div>It also resolve= s a number issues concerning concurrent access to log files that are only p= artially resolved by using the minimal locking model.</div> <div><br></div><div>The installer and the source code is found at <a href= =3D"http://log4netremotelogging.codeplex.com/">http://log4netremotelogging.= codeplex.com/</a> .</div><div><br></div><div>Svante</div> --00c09f88cfed9991cc048f594865-- From [email protected] Fri Sep 03 16:16:52 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 82797 invoked from network); 3 Sep 2010 16:16:51 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 3 Sep 2010 16:16:51 -0000 Received: (qmail 41861 invoked by uid 500); 3 Sep 2010 16:16:51 -0000 Delivered-To: [email protected] Received: (qmail 41707 invoked by uid 500); 3 Sep 2010 16:16:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 41689 invoked by uid 99); 3 Sep 2010 16:16:50 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Sep 2010 16:16:50 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [161.129.204.104] (HELO n10.bullet.mail.ac4.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 03 Sep 2010 16:16:25 +0000 Received: from [161.129.204.104] by n10.bullet.mail.ac4.yahoo.com with NNFMP; 03 Sep 2010 16:16:04 -0000 Received: from [161.129.204.104] by t3.bullet.mail.ac4.yahoo.com with NNFMP; 03 Sep 2010 16:16:04 -0000 Received: from [161.129.204.104] by omp105.mail.re3.yahoo.com with NNFMP; 03 Sep 2010 16:16:04 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: [email protected] Received: (qmail 28653 invoked by uid 60001); 3 Sep 2010 16:16:04 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1283530564; bh=PGhuV1EbIHoHj0EV74/RSQbjfr785ff68CKHE6imrQQ=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=NSxxxIcAJo/jQ17LY2v6s+fRrsRgbCJUE2TDQO8urFMOlKP7WLmCylPS1QCCjBChiM3x3qwAzBsN2I+buPtFh+IjJcYBq87GvGSQ1CAfCaUKKrKA1B/3KjPHnD9U02ct5/kawjwZaiRVyrzifAdVMZHOU7trsYS0gB/omv8wWKI= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=52VqfEPv/tk3JVT6yUtxWqMS/KNh1HMwF+RwmIPTsxuki7KWkuX2cnoyzWUj2HpQGTp1D1EndC+rrvN5XXdvvlzQsQ8Q4Ozn902KBO7gz4rn+jw1+5rIm6mV/Pfta47CEcVl7S/0s9e8QugcydkmCUAZ8caC1yyFMRC776sIFDY=; Message-ID: <[email protected]> X-YMail-OSG: Gm1sK4UVM1lU8GX0I.pyIicwcnrvtz.arJJoUTUmR1zkXoL fDrDcypwni3gBDDqgW39wpfXKQva2VPkDqpxbTZrrXkdU8WFfaDFYZOZbchD 7WdGa2pCD7ajlfzbiijblX4gWxqvbOnN_Di.cyI7WWHXsgiFGbryXUjrUkaz LG2I71wrXPtAEvlEM1Wkd7FdF0oZYjzGmMy1.FgGbDi2uyuiBamLbYoIpzPe G23Wi3p0yVQw4WHAFqEaAoQd9Utyp.fZ7xiLsDGAjDOOcwYyIDSK2is33dYS PK4razyPAx8NZbblYzsTV72u45UCTx_eTVSvYOQwmZmRok.wp9IsAfNyXXYZ dCmL1L8IVaA-- Received: from [161.129.204.104] by web56308.mail.re3.yahoo.com via HTTP; Fri, 03 Sep 2010 09:16:03 PDT X-Mailer: YahooMailClassic/11.3.2 YahooMailWebService/161.129.204.1049950 Date: Fri, 3 Sep 2010 09:16:03 -0700 (PDT) From: T Dog <[email protected]> Subject: RE: how often to call XmlConfigurator.Configure To: Log4NET User <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org log4net has been a great benefit to me since I have been using it, so thank= you for working on it. I really want to understand it better. Are there = any examples of using it so that each class has its own appender? This cou= ld be useful in some cases. Thanks again. --- On Fri, 9/3/10, Radovan Raszka <[email protected]> wrote: > From: Radovan Raszka <[email protected]> > Subject: RE: how often to call XmlConfigurator.Configure > To: "Log4NET User" <[email protected]> > Date: Friday, September 3, 2010, 4:20 AM > Log4net system should be configured > only once int the "starting"=C2=A0 class of your application > (first class used in the application) or any other class but > before first logging attempt.. > If you configure more times, only the last configuration is > used. > But you can use log4net in way that every class uses its > own appender. > RR >=20 > -----P=C5=AFvodn=C3=AD zpr=C3=A1va----- > Od: T Dog [mailto:[email protected]] >=20 > Odesl=C3=A1no: 2. z=C3=A1=C5=99=C3=AD 2010 19:16 > Komu: [email protected] > P=C5=99edm=C4=9Bt: how often to call XmlConfigurator.Configure >=20 > I have a simple C# .net 2.0 program where a console > application calls into a Caller class which then calls into > a Callee class.=C2=A0 I want to have separate log4net > configurations for the console application, for the Caller > dll, and for the Callee dll.=C2=A0 Each of the 3 should write to > its own rolling log file appender.=C2=A0=C2=A0 I call > XmlConfigurator.Configure in the constructor of the Caller, > the Callee, and in the Main method of the console > application.=C2=A0 It ends up that the console application > starts writing to its own log file, but then ends up writing > into the innermost, the Callee's, log file.=C2=A0 I can get the > console application to write back to its own log file if I > call XmlConfigurator.Configure again before I want to write > to the console app's log file.=C2=A0 Is that necessary or did I > configure this incorrectly?=C2=A0 I want to be able to have > varying levels of log4net capability and verbosity at each > of the 3 levels. >=20 > Here's the guts of the console application: >=20 > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > log4net.Config.XmlConfigurator.Configure(new > System.IO.FileInfo(Assembly.GetExecutingAssembly().Location > + ".config")); >=20 > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 string message = =3D "message from main > generated at : " + DateTime.Now.ToLongTimeString(); > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 _log.Error("error= " + message); > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 _log.Warn("warn" = + message); > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 _log.Info("info" = + message); > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 _log.Debug("debug= " + message); > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=20 > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Caller caller =3D= new Caller(); > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 caller.MethodOne(= ); >=20 > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 // if the followi= ng line is > commented out, then the output goes into the Callee's log > file (which was the last class to call > XmlConfigurator.Configure), not into the console > application's log file > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > log4net.Config.XmlConfigurator.Configure(new > System.IO.FileInfo(Assembly.GetExecutingAssembly().Location > + ".config")); > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 message =3D "mess= age from main > generated at : " + DateTime.Now.ToLongTimeString(); > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 _log.Error("error= " + message); > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 _log.Warn("warn" = + message); > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 _log.Info("info" = + message); > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 _log.Debug("debug= " + message); >=20 > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Caller caller2 = =3D new Caller(); > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 caller2.MethodOne= (); >=20 >=20 >=20 >=20 >=20 > =C2=A0 =C2=A0 =C2=A0=20 >=20 > =0A=0A=0A From [email protected] Sat Sep 04 06:57:09 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89088 invoked from network); 4 Sep 2010 06:57:08 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 4 Sep 2010 06:57:08 -0000 Received: (qmail 46153 invoked by uid 500); 4 Sep 2010 06:57:08 -0000 Delivered-To: [email protected] Received: (qmail 45898 invoked by uid 500); 4 Sep 2010 06:57:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 45890 invoked by uid 99); 4 Sep 2010 06:57:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Sep 2010 06:57:04 +0000 X-ASF-Spam-Status: No, hits=4.7 required=10.0 tests=FREEMAIL_FROM,FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-qy0-f182.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Sep 2010 06:56:59 +0000 Received: by qyk4 with SMTP id 4so2862277qyk.13 for <[email protected]>; Fri, 03 Sep 2010 23:56:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=QFv70YMpoM+Q2RcDVfe7VZoAz2butIk+59LaR+mHd0I=; b=frwjQglSAEr054LeIBN+LyhecJtfvi207QAGjEshDp/Teoko7vKb4KAHix/gbhU4c1 aP6w4kjCioZXfHoYifZQoGeLMzy/vf/OVTMcIsDc7LDZpZuh5fQxchq/Xy9qu1hsla96 okuniaegOmeI/hL8/GT7TT+a1dKcIWvIYcRGM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=OtxkwovwywzHf/Lb+jP9d1CwLCug8Hx0XxFCef1RAAT4d+IchV1h2eRuU8mnspFeW6 p+ObsN9f+UO0Wafvw+9MHJXCklsUluM6pf4odn9WVa1T5UOYBHY2wlzDRm3VlgQmZEfC TzHw5GxBWpUznCCYJSR8vHZzma5VOt+rbnUco= Received: by 161.129.204.104 with SMTP id y25mr103076qah.193.1283583398150; Fri, 03 Sep 2010 23:56:38 -0700 (PDT) MIME-Version: 1.0 Received: by 161.129.204.104 with HTTP; Fri, 3 Sep 2010 23:56:18 -0700 (PDT) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> From: Yuriy Taraday <[email protected]> Date: Sat, 4 Sep 2010 10:56:18 +0400 Message-ID: <[email protected]> Subject: Re: how often to call XmlConfigurator.Configure To: Log4NET User <[email protected]> Content-Type: multipart/alternative; boundary=00c09f93d5c97c84e4048f698c36 --00c09f93d5c97c84e4048f698c36 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable You should configure all appenders ad loggers in one config file. You can configure appender for specific loggers (subtree of loggers) by adding <logger> section to config. If you still really want to configure each assembly separately, you should use RepositoryAttribute and set different repository for every assembly. Kind regards, Yuriy. On Fri, Sep 3, 2010 at 8:16 PM, T Dog <[email protected]> wrote: > log4net has been a great benefit to me since I have been using it, so tha= nk > you for working on it. I really want to understand it better. Are there > any examples of using it so that each class has its own appender? This > could be useful in some cases. > > Thanks again. > > --- On Fri, 9/3/10, Radovan Raszka <[email protected]> wrote: > > > From: Radovan Raszka <[email protected]> > > Subject: RE: how often to call XmlConfigurator.Configure > > To: "Log4NET User" <[email protected]> > > Date: Friday, September 3, 2010, 4:20 AM > > Log4net system should be configured > > only once int the "starting" class of your application > > (first class used in the application) or any other class but > > before first logging attempt.. > > If you configure more times, only the last configuration is > > used. > > But you can use log4net in way that every class uses its > > own appender. > > RR > > > > -----P=C5=AFvodn=C3=AD zpr=C3=A1va----- > > Od: T Dog [mailto:[email protected]] > > > > Odesl=C3=A1no: 2. z=C3=A1=C5=99=C3=AD 2010 19:16 > > Komu: [email protected] > > P=C5=99edm=C4=9Bt: how often to call XmlConfigurator.Configure > > > > I have a simple C# .net 2.0 program where a console > > application calls into a Caller class which then calls into > > a Callee class. I want to have separate log4net > > configurations for the console application, for the Caller > > dll, and for the Callee dll. Each of the 3 should write to > > its own rolling log file appender. I call > > XmlConfigurator.Configure in the constructor of the Caller, > > the Callee, and in the Main method of the console > > application. It ends up that the console application > > starts writing to its own log file, but then ends up writing > > into the innermost, the Callee's, log file. I can get the > > console application to write back to its own log file if I > > call XmlConfigurator.Configure again before I want to write > > to the console app's log file. Is that necessary or did I > > configure this incorrectly? I want to be able to have > > varying levels of log4net capability and verbosity at each > > of the 3 levels. > > > > Here's the guts of the console application: > > > > > > log4net.Config.XmlConfigurator.Configure(new > > System.IO.FileInfo(Assembly.GetExecutingAssembly().Location > > + ".config")); > > > > string message =3D "message from main > > generated at : " + DateTime.Now.ToLongTimeString(); > > _log.Error("error" + message); > > _log.Warn("warn" + message); > > _log.Info("info" + message); > > _log.Debug("debug" + message); > > > > Caller caller =3D new Caller(); > > caller.MethodOne(); > > > > // if the following line is > > commented out, then the output goes into the Callee's log > > file (which was the last class to call > > XmlConfigurator.Configure), not into the console > > application's log file > > > > log4net.Config.XmlConfigurator.Configure(new > > System.IO.FileInfo(Assembly.GetExecutingAssembly().Location > > + ".config")); > > message =3D "message from main > > generated at : " + DateTime.Now.ToLongTimeString(); > > _log.Error("error" + message); > > _log.Warn("warn" + message); > > _log.Info("info" + message); > > _log.Debug("debug" + message); > > > > Caller caller2 =3D new Caller(); > > caller2.MethodOne(); > > > > > > > > > > > > > > > > > > > > > --00c09f93d5c97c84e4048f698c36 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable You should configure all appenders ad loggers in one config file.<div>You c= an configure appender for specific loggers (subtree of loggers) by adding &= lt;logger&gt; section to config.</div><div>If you still really want to conf= igure each assembly separately, you should use RepositoryAttribute and set = different repository for every assembly.=C2=A0<br clear=3D"all"> <br><div>Kind regards, Yuriy.</div><br> <br><br><div class=3D"gmail_quote">On Fri, Sep 3, 2010 at 8:16 PM, T Dog <s= pan dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]">acedog032000@= yahoo.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style= =3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"> log4net has been a great benefit to me since I have been using it, so thank= you for working on it. =C2=A0I really want to understand it better. =C2=A0= Are there any examples of using it so that each class has its own appender?= =C2=A0This could be useful in some cases.<br> <br> Thanks again.<br> <br> --- On Fri, 9/3/10, Radovan Raszka &lt;<a href=3D"mailto:[email protected]">r= [email protected]</a>&gt; wrote:<br> <br> &gt; From: Radovan Raszka &lt;<a href=3D"mailto:[email protected]">raszka@has= am.cz</a>&gt;<br> &gt; Subject: RE: how often to call XmlConfigurator.Configure<br> &gt; To: &quot;Log4NET User&quot; &lt;<a href=3D"mailto:log4net-user@loggin= g.apache.org">[email protected]</a>&gt;<br> &gt; Date: Friday, September 3, 2010, 4:20 AM<br> <div><div></div><div class=3D"h5">&gt; Log4net system should be configured<= br> &gt; only once int the &quot;starting&quot;=C2=A0 class of your application= <br> &gt; (first class used in the application) or any other class but<br> &gt; before first logging attempt..<br> &gt; If you configure more times, only the last configuration is<br> &gt; used.<br> &gt; But you can use log4net in way that every class uses its<br> &gt; own appender.<br> &gt; RR<br> &gt;<br> &gt; -----P=C5=AFvodn=C3=AD zpr=C3=A1va-----<br> &gt; Od: T Dog [mailto:<a href=3D"mailto:[email protected]">acedog0320= [email protected]</a>]<br> &gt;<br> &gt; Odesl=C3=A1no: 2. z=C3=A1=C5=99=C3=AD 2010 19:16<br> &gt; Komu: <a href=3D"mailto:[email protected]">log4net-user@= logging.apache.org</a><br> &gt; P=C5=99edm=C4=9Bt: how often to call XmlConfigurator.Configure<br> &gt;<br> &gt; I have a simple C# .net 2.0 program where a console<br> &gt; application calls into a Caller class which then calls into<br> &gt; a Callee class.=C2=A0 I want to have separate log4net<br> &gt; configurations for the console application, for the Caller<br> &gt; dll, and for the Callee dll.=C2=A0 Each of the 3 should write to<br> &gt; its own rolling log file appender.=C2=A0=C2=A0 I call<br> &gt; XmlConfigurator.Configure in the constructor of the Caller,<br> &gt; the Callee, and in the Main method of the console<br> &gt; application.=C2=A0 It ends up that the console application<br> &gt; starts writing to its own log file, but then ends up writing<br> &gt; into the innermost, the Callee&#39;s, log file.=C2=A0 I can get the<br= > &gt; console application to write back to its own log file if I<br> &gt; call XmlConfigurator.Configure again before I want to write<br> &gt; to the console app&#39;s log file.=C2=A0 Is that necessary or did I<br= > &gt; configure this incorrectly?=C2=A0 I want to be able to have<br> &gt; varying levels of log4net capability and verbosity at each<br> &gt; of the 3 levels.<br> &gt;<br> &gt; Here&#39;s the guts of the console application:<br> &gt;<br> &gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<br> &gt; log4net.Config.XmlConfigurator.Configure(new<br> &gt; System.IO.FileInfo(Assembly.GetExecutingAssembly().Location<br> &gt; + &quot;.config&quot;));<br> &gt;<br> &gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 string message= =3D &quot;message from main<br> &gt; generated at : &quot; + DateTime.Now.ToLongTimeString();<br> &gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 _log.Error(&qu= ot;error&quot; + message);<br> &gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 _log.Warn(&quo= t;warn&quot; + message);<br> &gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 _log.Info(&quo= t;info&quot; + message);<br> &gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 _log.Debug(&qu= ot;debug&quot; + message);<br> &gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<br> &gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Caller caller = =3D new Caller();<br> &gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 caller.MethodO= ne();<br> &gt;<br> &gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 // if the foll= owing line is<br> &gt; commented out, then the output goes into the Callee&#39;s log<br> &gt; file (which was the last class to call<br> &gt; XmlConfigurator.Configure), not into the console<br> &gt; application&#39;s log file<br> &gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<br> &gt; log4net.Config.XmlConfigurator.Configure(new<br> &gt; System.IO.FileInfo(Assembly.GetExecutingAssembly().Location<br> &gt; + &quot;.config&quot;));<br> &gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 message =3D &q= uot;message from main<br> &gt; generated at : &quot; + DateTime.Now.ToLongTimeString();<br> &gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 _log.Error(&qu= ot;error&quot; + message);<br> &gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 _log.Warn(&quo= t;warn&quot; + message);<br> &gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 _log.Info(&quo= t;info&quot; + message);<br> &gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 _log.Debug(&qu= ot;debug&quot; + message);<br> &gt;<br> &gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Caller caller2= =3D new Caller();<br> &gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 caller2.Method= One();<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt;<br> &gt; =C2=A0 =C2=A0 =C2=A0<br> &gt;<br> &gt;<br> <br> <br> <br> <br> </div></div></blockquote></div><br></div> --00c09f93d5c97c84e4048f698c36-- From [email protected] Wed Sep 15 15:04:15 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38853 invoked from network); 15 Sep 2010 15:04:15 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 15 Sep 2010 15:04:15 -0000 Received: (qmail 30009 invoked by uid 500); 15 Sep 2010 15:04:15 -0000 Delivered-To: [email protected] Received: (qmail 29737 invoked by uid 500); 15 Sep 2010 15:04:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 29726 invoked by uid 99); 15 Sep 2010 15:04:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Sep 2010 15:04:11 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-yw0-f47.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Sep 2010 15:04:05 +0000 Received: by ywa8 with SMTP id 8so117018ywa.34 for <[email protected]>; Wed, 15 Sep 2010 08:03:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=82bmi1geK0Drovd4p60KF/FVIoDUZ0VxxV6bSOYvN/U=; b=gf8sr15xNcOKRBP2qKbAjNXE+/HQkm8IqG5MJLMBkOnKaVaqoW7aTFKd5a/9Y1+YIU KCGWdQt+Opi09W5Ww6mtVXU/uWXZKyWTFRQ4VpXdfhy2KHpuy3LKXUU6a4NYKM76PYTB 2ZOzk/sCj0QmPZdVW+GeNtR3oKP4QUoFPx0Zc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Df7I6EyyRYcXukw9ep2p4BtUXJjN0k1H2XbiCnfUYne2ViCMIWbrnuL9+vBJXeFT/e XS+yd1zj3zVcshran8ObfuAnSnshGefrNEV0FucO74YlVdi5Y3RGmtVn+bxNw0p8Pk4A Gxmtu7esSVrEDENs4oUX/9EGQOMk2LJcJfzrI= MIME-Version: 1.0 Received: by 161.129.204.104 with SMTP id n17mr2221022ybf.19.1284563024328; Wed, 15 Sep 2010 08:03:44 -0700 (PDT) Received: by 161.129.204.104 with HTTP; Wed, 15 Sep 2010 08:03:44 -0700 (PDT) Date: Wed, 15 Sep 2010 17:03:44 +0200 Message-ID: <[email protected]> Subject: Problem with eventlog and source ? From: Macarthur Work <[email protected]> To: [email protected] Content-Type: multipart/alternative; boundary=000e0cd6ac70c1b95204904da2df --000e0cd6ac70c1b95204904da2df Content-Type: text/plain; charset=ISO-8859-1 I'm using log4net without config file. When I want add log by System.Diagnostics.EventLog everything goes ok: if (!EventLog.SourceExists("TestSource")) { EventLog.CreateEventSource("TestSource", TestLog"); } System.Diagnostics.EventLog.WriteEntry("TestSource", "someMessage", eventType); But the same action when I using log4net doesn't work: var log4net = new Log4NetEventLogger("TestSource"); log4net.AddEntry("TestSource", "TestLog", new Exception(), "additionalMesage", System.Diagnostics.EventLogEntryType.Error); public class MyLog4NetEventLogger { #region Declaration private readonly string _loggerName; private ILog _logger; private bool _clientHasOwnConfiguration; #endregion Declarations #region constructor public MyLog4NetEventLogger(string logerName) { _loggerName = logerName; _logger = LogManager.GetLogger(_loggerName); if (_logger.Logger.Repository.GetAppenders().Where(a => a.Name == "EventLogAppender").Count() == 0) { log4net.Config.BasicConfigurator.Configure(); AddAppender(logerName, CreateEventLogAppender()); } } #endregion constructor private static void AddAppender(string loggerName, IAppender appender) { ILog log = LogManager.GetLogger(loggerName); var l = (log4net.Repository.Hierarchy.Logger)log.Logger; l.AddAppender(appender); } public void AddEntry(string sourceApplicationName, string logName, Exception ex, string additionalMessage, EventLogEntryType eventType) { SetEventLogAppender(sourceApplicationName, logName); if (_logger.Logger.Repository.GetAppenders().Where(a => a.Name == "EventLogAppender").Count() == 0) { throw new NotSupportedException(); } var smth = _logger.Logger.Repository.GetAppenders(); switch (eventType) { case EventLogEntryType.Error: _logger.Error(additionalMessage, ex); break; case EventLogEntryType.Warning: _logger.Warn(additionalMessage, ex); break; case EventLogEntryType.Information: _logger.Info(additionalMessage, ex); break; case EventLogEntryType.SuccessAudit: case EventLogEntryType.FailureAudit: throw new NotImplementedException(); default: throw new ArgumentOutOfRangeException("eventType"); } } private static void SetEventLogAppender(string applicationName, string logName) { if (!EventLog.SourceExists(applicationName)) { EventLog.CreateEventSource(applicationName, logName); } var eventLogAppender = LogManager.GetRepository().GetAppenders() .Where(appender => appender.Name == "EventLogAppender").FirstOrDefault() as EventLogAppender; if (eventLogAppender != null) { eventLogAppender.LogName = logName; eventLogAppender.ApplicationName = applicationName; eventLogAppender.ActivateOptions(); } } private static IAppender CreateEventLogAppender() { var appender = new EventLogAppender { Name = "EventLogAppender", ApplicationName = "CMNLibrary" }; var layout = new log4net.Layout.PatternLayout { ConversionPattern = "%d [%t] %-5p %c [%x] - %m%n" }; layout.ActivateOptions(); var filter = new log4net.Filter.LoggerMatchFilter { AcceptOnMatch = true }; var filterDeny = new log4net.Filter.DenyAllFilter(); var filterErrorType = new log4net.Filter.LevelRangeFilter { AcceptOnMatch = true, LevelMin = Level.Error }; appender.AddFilter(filter); appender.AddFilter(filterDeny); appender.AddFilter(filterErrorType); appender.ActivateOptions(); appender.Layout = layout; appender.ActivateOptions(); return appender; } } Thanks & Regards, --000e0cd6ac70c1b95204904da2df Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: base64 PGJyPkkmIzM5O20gdXNpbmcgbG9nNG5ldCB3aXRob3V0IGNvbmZpZyBmaWxlLjxicj48YnI+V2hl biBJIHdhbnQgYWRkIGxvZyBieSBTeXN0ZW0uRGlhZ25vc3RpY3MuRXZlbnRMb2cgZXZlcnl0aGlu ZyBnb2VzIG9rOjxicj48YnI+PGJyPqCgoCBpZiAoIUV2ZW50TG9nLlNvdXJjZUV4aXN0cygmcXVv dDtUZXN0U291cmNlJnF1b3Q7KSk8YnI+oKCgoKCgoKCgoKCgoKCgIHs8YnI+oKCgoKCgoKCgoKCg oKCgoKCgoCBFdmVudExvZy5DcmVhdGVFdmVudFNvdXJjZSgmcXVvdDtUZXN0U291cmNlJnF1b3Q7 LCBUZXN0TG9nJnF1b3Q7KTs8YnI+CqCgoKCgoKCgoKCgoKCgoCB9PGJyPqCgoCA8YnI+oKCgIFN5 c3RlbS5EaWFnbm9zdGljcy5FdmVudExvZy5Xcml0ZUVudHJ5KCZxdW90O1Rlc3RTb3VyY2UmcXVv dDssICZxdW90O3NvbWVNZXNzYWdlJnF1b3Q7LCBldmVudFR5cGUpOzxicj48YnI+QnV0IHRoZSBz YW1lIGFjdGlvbiB3aGVuIEkgdXNpbmcgbG9nNG5ldCBkb2VzbiYjMzk7dCB3b3JrOjxicj48YnI+ oDxicj48YnI+oKCgoCB2YXIgbG9nNG5ldCA9IG5ldyBMb2c0TmV0RXZlbnRMb2dnZXIoJnF1b3Q7 VGVzdFNvdXJjZSZxdW90Oyk7PGJyPgqgoKCgoKCgoKCgoKCgoKAgbG9nNG5ldC5BZGRFbnRyeSgm cXVvdDtUZXN0U291cmNlJnF1b3Q7LCAmcXVvdDtUZXN0TG9nJnF1b3Q7LCBuZXcgRXhjZXB0aW9u KCksICZxdW90O2FkZGl0aW9uYWxNZXNhZ2UmcXVvdDssIFN5c3RlbS5EaWFnbm9zdGljcy5FdmVu dExvZ0VudHJ5VHlwZS5FcnJvcik7PGJyPqCgoCA8YnI+oKCgIDxicj6goKAgPGJyPqCgoCA8YnI+ oKCgIHB1YmxpYyBjbGFzcyBNeUxvZzROZXRFdmVudExvZ2dlcjxicj4KoKCgoKCgoCB7PGJyPqCg oKCgoKCgoKCgICNyZWdpb24gRGVjbGFyYXRpb248YnI+oKCgIDxicj6goKCgoKCgoKCgoCBwcml2 YXRlIHJlYWRvbmx5IHN0cmluZyBfbG9nZ2VyTmFtZTs8YnI+oKCgoKCgoKCgoKAgcHJpdmF0ZSBJ TG9nIF9sb2dnZXI7PGJyPqCgoKCgoKCgoKCgIHByaXZhdGUgYm9vbCBfY2xpZW50SGFzT3duQ29u ZmlndXJhdGlvbjs8YnI+oKCgIDxicj6goKCgoKCgoKCgoCAjZW5kcmVnaW9uIERlY2xhcmF0aW9u czxicj4KoKCgIDxicj6goKCgoKCgoKCgoCAjcmVnaW9uIGNvbnN0cnVjdG9yPGJyPqCgoKCgoKCg oKCgIHB1YmxpYyBNeUxvZzROZXRFdmVudExvZ2dlcihzdHJpbmcgbG9nZXJOYW1lKTxicj6goKCg oKCgoKCgoCB7PGJyPqCgoKCgoKCgoKCgoKCgoCBfbG9nZ2VyTmFtZSA9IGxvZ2VyTmFtZTs8YnI+ oKCgIDxicj6goKCgoKCgoKCgoKCgoKAgX2xvZ2dlciA9IExvZ01hbmFnZXIuR2V0TG9nZ2VyKF9s b2dnZXJOYW1lKTs8YnI+CqCgoCA8YnI+oKCgoKCgoKCgoKCgoKAgaWYgKF9sb2dnZXIuTG9nZ2Vy LlJlcG9zaXRvcnkuR2V0QXBwZW5kZXJzKCkuV2hlcmUoYSA9Jmd0OyBhLk5hbWUgPT0gJnF1b3Q7 RXZlbnRMb2dBcHBlbmRlciZxdW90OykuQ291bnQoKSA9PSAwKTxicj6goKCgoKCgoKCgoKCgoKCg oKCgIHs8YnI+oKCgoKCgoKCgoKCgoKCgoKCgoKCgoKAgbG9nNG5ldC5Db25maWcuQmFzaWNDb25m aWd1cmF0b3IuQ29uZmlndXJlKCk7PGJyPgqgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoCBBZGRBcHBl bmRlcihsb2dlck5hbWUsIENyZWF0ZUV2ZW50TG9nQXBwZW5kZXIoKSk7PGJyPqCgoKCgoKCgoKCg oKCgoKCgoKCgoKAgPGJyPqCgoKCgoKCgoKCgoKCgoKCgoKAgfTxicj6goKCgoKCgoKCgoKCgoCA8 YnI+oKCgoKCgoKCgoKAgfTxicj6goKCgoKCgoKCgoCAjZW5kcmVnaW9uIGNvbnN0cnVjdG9yPGJy PqCgoKCgoKCgoKCgIHByaXZhdGUgc3RhdGljIHZvaWQgQWRkQXBwZW5kZXIoc3RyaW5nIGxvZ2dl ck5hbWUsIElBcHBlbmRlciBhcHBlbmRlcik8YnI+CqCgoKCgoKCgoKCgIHs8YnI+oKCgoKCgoKCg oKCgoKCgIElMb2cgbG9nID0gTG9nTWFuYWdlci5HZXRMb2dnZXIobG9nZ2VyTmFtZSk7PGJyPqCg oKCgoKCgoKCgoKCgoCB2YXIgbCA9IChsb2c0bmV0LlJlcG9zaXRvcnkuSGllcmFyY2h5LkxvZ2dl cilsb2cuTG9nZ2VyOzxicj6goKAgPGJyPqCgoKCgoKCgoKCgoKCgoCBsLkFkZEFwcGVuZGVyKGFw cGVuZGVyKTs8YnI+oKCgoKCgoKCgoKAgfTxicj4KoKCgoKCgoKCgoCA8YnI+oKCgoKCgoKAgPGJy PqCgoKCgoKCgoKCgIHB1YmxpYyB2b2lkIEFkZEVudHJ5KHN0cmluZyBzb3VyY2VBcHBsaWNhdGlv bk5hbWUsIHN0cmluZyBsb2dOYW1lLCBFeGNlcHRpb24gZXgsIHN0cmluZyBhZGRpdGlvbmFsTWVz c2FnZSwgRXZlbnRMb2dFbnRyeVR5cGUgZXZlbnRUeXBlKTxicj6goKCgoKCgoKCgoCB7PGJyPqCg oKCgoKCgoKCgoKCgoCBTZXRFdmVudExvZ0FwcGVuZGVyKHNvdXJjZUFwcGxpY2F0aW9uTmFtZSwg bG9nTmFtZSk7PGJyPgqgoKAgPGJyPqCgoKCgoKCgoKCgoKCgoCBpZiAoX2xvZ2dlci5Mb2dnZXIu UmVwb3NpdG9yeS5HZXRBcHBlbmRlcnMoKS5XaGVyZShhID0mZ3Q7IGEuTmFtZSA9PSAmcXVvdDtF dmVudExvZ0FwcGVuZGVyJnF1b3Q7KS5Db3VudCgpID09IDApPGJyPqCgoKCgoKCgoKCgoKCgoCB7 PGJyPqCgoKCgoKCgoKCgoKCgoKCgoKAgdGhyb3cgbmV3IE5vdFN1cHBvcnRlZEV4Y2VwdGlvbigp Ozxicj6goKCgoKCgoKCgoKCgoKAgfTxicj4KoKCgIDxicj6goKAgPGJyPqCgoKCgoKCgoKCgoKCg oCB2YXIgc210aCA9IF9sb2dnZXIuTG9nZ2VyLlJlcG9zaXRvcnkuR2V0QXBwZW5kZXJzKCk7PGJy PqCgoKCgoKCgoKCgoKCgoCBzd2l0Y2ggKGV2ZW50VHlwZSk8YnI+oKCgoKCgoKCgoKCgoKCgIHs8 YnI+oKCgoKCgoKCgoKCgoKCgoKCgoCBjYXNlIEV2ZW50TG9nRW50cnlUeXBlLkVycm9yOjxicj6g oKCgoKCgoKCgoKCgoKCgoKCgoKCgoCBfbG9nZ2VyLkVycm9yKGFkZGl0aW9uYWxNZXNzYWdlLCBl eCk7PGJyPgqgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoCBicmVhazs8YnI+oKCgoKCgoKCgoKCgoKCg oKCgoCBjYXNlIEV2ZW50TG9nRW50cnlUeXBlLldhcm5pbmc6PGJyPqCgoKCgoKCgoKCgoKCgoKCg oKCgoKCgIF9sb2dnZXIuV2FybihhZGRpdGlvbmFsTWVzc2FnZSwgZXgpOzxicj6goKCgoKCgoKCg oKCgoKCgoKCgoKCgoCBicmVhazs8YnI+oKCgoKCgoKCgoKCgoKCgoKCgoCBjYXNlIEV2ZW50TG9n RW50cnlUeXBlLkluZm9ybWF0aW9uOjxicj4KoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKAgX2xvZ2dl ci5JbmZvKGFkZGl0aW9uYWxNZXNzYWdlLCBleCk7PGJyPqCgoKCgoKCgoKCgoKCgoKCgoKCgoKCg IGJyZWFrOzxicj6goKCgoKCgoKCgoKCgoKCgoKCgIGNhc2UgRXZlbnRMb2dFbnRyeVR5cGUuU3Vj Y2Vzc0F1ZGl0Ojxicj6goKCgoKCgoKCgoKCgoKCgoKCgIGNhc2UgRXZlbnRMb2dFbnRyeVR5cGUu RmFpbHVyZUF1ZGl0Ojxicj6goKCgoKCgoKCgoKCgoKCgoKCgoKCgoCB0aHJvdyBuZXcgTm90SW1w bGVtZW50ZWRFeGNlcHRpb24oKTs8YnI+CqCgoKCgoKCgoKCgoKCgoKCgoKAgZGVmYXVsdDo8YnI+ oKCgoKCgoKCgoKCgoKCgoKCgoKCgoKAgdGhyb3cgbmV3IEFyZ3VtZW50T3V0T2ZSYW5nZUV4Y2Vw dGlvbigmcXVvdDtldmVudFR5cGUmcXVvdDspOzxicj6goKCgoKCgoKCgoKCgoKAgfTxicj6goKCg oKCgoKCgoCB9PGJyPqCgoCA8YnI+oKCgoKCgoKCgoKAgcHJpdmF0ZSBzdGF0aWMgdm9pZCBTZXRF dmVudExvZ0FwcGVuZGVyKHN0cmluZyBhcHBsaWNhdGlvbk5hbWUsIHN0cmluZyBsb2dOYW1lKTxi cj4KoKCgoKCgoKCgoKAgezxicj6goKCgoKCgoKCgoKCgoKAgaWYgKCFFdmVudExvZy5Tb3VyY2VF eGlzdHMoYXBwbGljYXRpb25OYW1lKSk8YnI+oKCgoKCgoKCgoKCgoKCgIHs8YnI+oKCgoKCgoKCg oKCgoKCgoKCgoCBFdmVudExvZy5DcmVhdGVFdmVudFNvdXJjZShhcHBsaWNhdGlvbk5hbWUsIGxv Z05hbWUpOzxicj6goKCgoKCgoKCgoKCgoKAgfTxicj6goKCgoKCgoKCgoKAgPGJyPqCgoKCgoKCg oKCgoKCgoCB2YXIgZXZlbnRMb2dBcHBlbmRlciA9PGJyPgqgoKCgoKCgoKCgoKCgoKCgoKCgoKAg TG9nTWFuYWdlci5HZXRSZXBvc2l0b3J5KCkuR2V0QXBwZW5kZXJzKCk8YnI+oKCgoKCgoKCgoKCg oKCgoKCgoKCgoKCgoCAuV2hlcmUoYXBwZW5kZXIgPSZndDsgYXBwZW5kZXIuTmFtZSA9PTxicj6g oKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoCAmcXVvdDtFdmVudExv Z0FwcGVuZGVyJnF1b3Q7KS5GaXJzdE9yRGVmYXVsdCgpIGFzIEV2ZW50TG9nQXBwZW5kZXI7PGJy PgqgoKAgPGJyPqCgoKCgoKCgoKCgoKCgoCBpZiAoZXZlbnRMb2dBcHBlbmRlciAhPSBudWxsKTxi cj6goKCgoKCgoKCgoKCgoKAgezxicj6goKAgPGJyPqCgoKCgoKCgoKCgoKCgoKCgoKAgZXZlbnRM b2dBcHBlbmRlci5Mb2dOYW1lID0gbG9nTmFtZTs8YnI+oKCgoKCgoKCgoKCgoKCgoKCgoCBldmVu dExvZ0FwcGVuZGVyLkFwcGxpY2F0aW9uTmFtZSA9IGFwcGxpY2F0aW9uTmFtZTs8YnI+oKCgoKCg oKCgoKCgoKCgoKCgoCBldmVudExvZ0FwcGVuZGVyLkFjdGl2YXRlT3B0aW9ucygpOzxicj4KoKCg oKCgoKCgoKCgoKCgIH08YnI+oKCgoKCgoKCgoKAgfTxicj6goKCgoKCgoKCgoKCgoKCgoCA8YnI+ oKCgoKCgoKCgoKAgcHJpdmF0ZSBzdGF0aWMgSUFwcGVuZGVyIENyZWF0ZUV2ZW50TG9nQXBwZW5k ZXIoKTxicj6goKCgoKCgoKCgoCB7PGJyPqCgoCA8YnI+oKCgoKCgoKCgoKCgoKCgIHZhciBhcHBl bmRlciA9IG5ldyBFdmVudExvZ0FwcGVuZGVyIHsgTmFtZSA9ICZxdW90O0V2ZW50TG9nQXBwZW5k ZXImcXVvdDssIEFwcGxpY2F0aW9uTmFtZSA9ICZxdW90O0NNTkxpYnJhcnkmcXVvdDsgfTs8YnI+ CqCgoCA8YnI+oKCgIDxicj6goKCgoKCgoKCgoKCgoKAgdmFyIGxheW91dCA9IG5ldyBsb2c0bmV0 LkxheW91dC5QYXR0ZXJuTGF5b3V0PGJyPqCgoKCgoKCgoKCgoKCgoCB7PGJyPqCgoKCgoKCgoKCg oKCgoKCgoKAgQ29udmVyc2lvblBhdHRlcm4gPSAmcXVvdDslZCBbJXRdICUtNXAgJWMgWyV4XSAt ICVtJW4mcXVvdDs8YnI+oKCgoKCgoKCgoKCgoKCgIH07PGJyPqCgoCA8YnI+oKCgoKCgoKCgoKCg oKCgIGxheW91dC5BY3RpdmF0ZU9wdGlvbnMoKTs8YnI+CqCgoCA8YnI+oKCgIDxicj6goKCgoKCg oKCgoKCgoKAgdmFyIGZpbHRlciA9IG5ldyBsb2c0bmV0LkZpbHRlci5Mb2dnZXJNYXRjaEZpbHRl ciB7IEFjY2VwdE9uTWF0Y2ggPSB0cnVlIH07PGJyPqCgoKCgoKCgoKCgoKCgoCB2YXIgZmlsdGVy RGVueSA9IG5ldyBsb2c0bmV0LkZpbHRlci5EZW55QWxsRmlsdGVyKCk7PGJyPqCgoKCgoKCgoKCg oKCgoCB2YXIgZmlsdGVyRXJyb3JUeXBlID0gbmV3IGxvZzRuZXQuRmlsdGVyLkxldmVsUmFuZ2VG aWx0ZXIgeyBBY2NlcHRPbk1hdGNoID0gdHJ1ZSwgTGV2ZWxNaW4gPSBMZXZlbC5FcnJvciB9Ozxi cj4KoKCgIDxicj6goKCgoKCgoKCgoKCgoKAgYXBwZW5kZXIuQWRkRmlsdGVyKGZpbHRlcik7PGJy PqCgoKCgoKCgoKCgoKCgoCBhcHBlbmRlci5BZGRGaWx0ZXIoZmlsdGVyRGVueSk7PGJyPqCgoKCg oKCgoKCgoKCgoCBhcHBlbmRlci5BZGRGaWx0ZXIoZmlsdGVyRXJyb3JUeXBlKTs8YnI+oKCgIDxi cj6goKCgoKCgoKCgoKCgoKAgYXBwZW5kZXIuQWN0aXZhdGVPcHRpb25zKCk7PGJyPqCgoCA8YnI+ CqCgoKCgoKCgoKCgoKCgoCBhcHBlbmRlci5MYXlvdXQgPSBsYXlvdXQ7PGJyPqCgoKCgoKCgoKCg oKCgoCBhcHBlbmRlci5BY3RpdmF0ZU9wdGlvbnMoKTs8YnI+oKCgIDxicj6goKAgPGJyPqCgoCA8 YnI+oKCgoKCgoKCgoKCgoKCgIHJldHVybiBhcHBlbmRlcjs8YnI+oKCgoKCgoKCgoKAgfTxicj6g oKCgoKCgIH08YnI+PGRpdiBjbGFzcz0iZ21haWxfcXVvdGUiPjxzcGFuIHN0eWxlPSJib3JkZXIt Y29sbGFwc2U6IHNlcGFyYXRlOyBjb2xvcjogcmdiKDAsIDAsIDApOyBmb250LWZhbWlseTogJiMz OTtUaW1lcyBOZXcgUm9tYW4mIzM5OzsgZm9udC1zdHlsZTogbm9ybWFsOyBmb250LXZhcmlhbnQ6 IG5vcm1hbDsgZm9udC13ZWlnaHQ6IG5vcm1hbDsgbGV0dGVyLXNwYWNpbmc6IG5vcm1hbDsgbGlu ZS1oZWlnaHQ6IG5vcm1hbDsgdGV4dC1pbmRlbnQ6IDBweDsgdGV4dC10cmFuc2Zvcm06IG5vbmU7 IHdoaXRlLXNwYWNlOiBub3JtYWw7IHdvcmQtc3BhY2luZzogMHB4OyBmb250LXNpemU6IG1lZGl1 bTsiPjxzcGFuIHN0eWxlPSJjb2xvcjogcmdiKDY2LCA2NiwgNjYpOyBmb250LWZhbWlseTogYXJp YWw7IGZvbnQtc2l6ZTogMTFweDsiPjx0YWJsZSB2YWxpZ249InRvcCIgc3R5bGU9ImZvbnQtZmFt aWx5OiBhcmlhbDsgZm9udC1zaXplOiAxMXB4OyBtYXJnaW46IDBweDsgY29sb3I6IHJnYig2Niwg NjYsIDY2KTsiIGFsaWduPSJsZWZ0IiBib3JkZXI9IjAiIGNlbGxwYWRkaW5nPSIwIiBjZWxsc3Bh Y2luZz0iMCIgaGVpZ2h0PSIxMDAlIiB3aWR0aD0iMTAwJSI+Cjx0Ym9keT48dHIgc3R5bGU9ImZv bnQtZmFtaWx5OiBhcmlhbDsgZm9udC1zaXplOiAxMXB4OyBtYXJnaW46IDBweDsgY29sb3I6IHJn Yig2NiwgNjYsIDY2KTsiPjx0ZCBzdHlsZT0iZm9udC1mYW1pbHk6IGFyaWFsOyBmb250LXNpemU6 IDExcHg7IG1hcmdpbjogMHB4OyBjb2xvcjogcmdiKDY2LCA2NiwgNjYpOyIgYWxpZ249ImxlZnQi IHZhbGlnbj0idG9wIiB3aWR0aD0iMTAwJSI+PHNwYW4gc3R5bGU9ImZvbnQtc2l6ZTogMTJweDsg Zm9udC1mYW1pbHk6IEFyaWFsOyBjb2xvcjogcmdiKDY0LCA2MywgNjMpOyI+PHAgc3R5bGU9ImZv bnQtZmFtaWx5OiBhcmlhbDsgZm9udC1zaXplOiAxMXB4OyBjb2xvcjogcmdiKDY2LCA2NiwgNjYp OyI+Cgo8c3BhbiBzdHlsZT0iZm9udC1zaXplOiAxMnB4OyBmb250LWZhbWlseTogQXJpYWw7IGNv bG9yOiByZ2IoNjQsIDYzLCA2Myk7Ij5UaGFua3MgJmFtcDsgUmVnYXJkcyw8L3NwYW4+PC9wPjwv c3Bhbj48L3RkPjwvdHI+PC90Ym9keT48L3RhYmxlPjwvc3Bhbj48L3NwYW4+CjwvZGl2Pjxicj4K --000e0cd6ac70c1b95204904da2df-- From [email protected] Mon Sep 20 17:23:39 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6335 invoked from network); 20 Sep 2010 17:23:39 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 20 Sep 2010 17:23:39 -0000 Received: (qmail 31919 invoked by uid 500); 20 Sep 2010 17:23:38 -0000 Delivered-To: [email protected] Received: (qmail 31860 invoked by uid 500); 20 Sep 2010 17:23:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 31852 invoked by uid 99); 20 Sep 2010 17:23:37 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Sep 2010 17:23:37 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-yx0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Sep 2010 17:23:13 +0000 Received: by yxg6 with SMTP id 6so1891693yxg.34 for <[email protected]>; Mon, 20 Sep 2010 10:22:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :message-id:mime-version:content-type:x-mailer:thread-index :content-language; bh=VYMIdmL+8dsagYXLRl+QOGcEMHnYIQppc3G5yTlCIec=; b=GLJQHUMjD4Xnpf8kSxbUV+0YdE4HnCvc1P86hWdYfurt5BiwPGLmKa+jwd4ep0behl xmkAT8Z4IDRhjhOs34WCKMh5UE4p8plKwd6p+sZ4oOAk3hr94OKSL9MHK/uZ2ew1m6u3 Axlahu7Uuf93Ak50ezzjtg9b+JwiFwN2fC9z8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:mime-version:content-type:x-mailer :thread-index:content-language; b=O03Zyqkwdt4vk0mXqNoPuBLTHq56+0EXk6Eynq21sarT7KN4fvsL60SkYGMsNdoO50 LvD9UVpzCCkeRmDeGFbue634AdoPi7r8HuS5fIXJzhMTEFa8RUD/bz4YuHsb8tZPwRxO VZsVODgZV+V7OY9U67fWw8j3DInoc6msmKnVE= Received: by 161.129.204.104 with SMTP id e8mr9157872ybf.424.1285003372161; Mon, 20 Sep 2010 10:22:52 -0700 (PDT) Received: from DavePC (262)296-2461.dhcp.stls.mo.charter.com [161.129.204.104]) by mx.google.com with ESMTPS id 36sm3747595ybr.8.2161.129.204.104.22.50 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 20 Sep 2010 10:22:51 -0700 (PDT) From: "David Gerler" <[email protected]> To: <[email protected]> Subject: Date Rollover filename Date: Mon, 20 Sep 2010 12:22:50 -0500 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_02B5_01CB58BE.8B901FE0" X-Mailer: Microsoft Outlook 14.0 Thread-Index: ActY2nEYTa1sZNiRRCmswTNX14Lniw== Content-Language: en-us X-Virus-Checked: Checked by ClamAV on apache.org This is a multipart message in MIME format. ------=_NextPart_000_02B5_01CB58BE.8B901FE0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit We are using the Date rollover style for our logs. The thing we don't like is the fact that it appends the date to the end of the filename like "root.txt20100920". We'd like to have it insert the date in the middle like "root20100920.txt". Is that possible? I have searched the documentation and can't seem to find anything. I also tried inserting [%date] in the filename in the config file, but that didn't work. ------=_NextPart_000_02B5_01CB58BE.8B901FE0 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta = http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 = (filtered medium)"><style><!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Calibri","sans-serif"; color:windowtext;} .MsoChpDefault {mso-style-type:export-only; font-family:"Calibri","sans-serif";} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue = vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal>We are = using the Date rollover style for our logs. The thing we don&#8217;t = like is the fact that it appends the date to the end of the filename = like &#8220;root.txt20100920&#8221;. We&#8217;d like to have it insert = the date in the middle like &#8220;root20100920.txt&#8221;. Is that = possible?<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p = class=3DMsoNormal> I have searched the documentation and can&#8217;t = seem to find anything. I also tried inserting [%date] in the filename in = the config file, but that didn&#8217;t = work.<o:p></o:p></p></div></body></html> ------=_NextPart_000_02B5_01CB58BE.8B901FE0-- From [email protected] Mon Sep 20 17:32:05 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7971 invoked from network); 20 Sep 2010 17:32:04 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 20 Sep 2010 17:32:04 -0000 Received: (qmail 40572 invoked by uid 500); 20 Sep 2010 17:32:04 -0000 Delivered-To: [email protected] Received: (qmail 40534 invoked by uid 500); 20 Sep 2010 17:32:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 40526 invoked by uid 99); 20 Sep 2010 17:32:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Sep 2010 17:32:03 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-pw0-f47.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Sep 2010 17:31:56 +0000 Received: by pwj1 with SMTP id 1so1616557pwj.34 for <[email protected]>; Mon, 20 Sep 2010 10:31:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:mime-version :content-type:subject:date:in-reply-to:to:references:message-id :x-mailer; bh=UN0o/cBX2hiT5LV0MkYYmKoYLisRldcDzQKzxMpRArQ=; b=o2sNwRuwsU+tBqFD96MNtFQQvb6Vay08qOtr/sipDI+/WOgzjApN4FWlY1Z8GWPGh/ R3F67ZAGaBb4OkcTiiR/MvXf1GqvwKVQL/cmyfVEsO94zuUOzkpIwAodMbaD2wUndBKA /K/mx5FKz4364oFr/oFMPxrq59r2N3jS8+bo8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:mime-version:content-type:subject:date:in-reply-to:to :references:message-id:x-mailer; b=VUdn8NxPba8Fmv5N2Mmwp1tQmLc/o62j4n2q/wCLSIh/IiYSn48go12mhDvqcpyEM8 cNQH0jNtmMN6CygzykTMztfeiCs2J333hIan/YJQGXWirbKljL3HO52ajApH69E9u4SN SgCJwAM+1z9IWurHRZOOZAfk2o0mzffCUAfu4= Received: by 161.129.204.104 with SMTP id s6mr10337878wac.10.1285003886388; Mon, 20 Sep 2010 10:31:26 -0700 (PDT) Received: from [161.129.204.104] (c-65-96-13-156.hsd1.ma.comcast.net [161.129.204.104]) by mx.google.com with ESMTPS id a5sm1490311vci.0.2161.129.204.104.31.24 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 20 Sep 2010 10:31:25 -0700 (PDT) From: Chris White <[email protected]> Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: multipart/alternative; boundary=Apple-Mail-20--393477984 Subject: Re: Date Rollover filename Date: Mon, 20 Sep 2010 13:31:23 -0400 In-Reply-To: <[email protected]> To: "Log4NET User" <[email protected]> References: <[email protected]> Message-Id: <[email protected]> X-Mailer: Apple Mail (2.1081) --Apple-Mail-20--393477984 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Sep 20, 2010, at 1:22 PM, David Gerler wrote: > We are using the Date rollover style for our logs. The thing we don=92t = like is the fact that it appends the date to the end of the filename = like =93root.txt20100920=94. We=92d like to have it insert the date in = the middle like =93root20100920.txt=94. Is that possible? > =20 > I have searched the documentation and can=92t seem to find anything. I = also tried inserting [%date] in the filename in the config file, but = that didn=92t work. Looking at the code in repository for the RollingFileAppender there = appears to be a property called PreserveLogFileNameExtension which ay do = what you want.= --Apple-Mail-20--393477984 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 <html><head></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; = "><div><div>On Sep 20, 2010, at 1:22 PM, David Gerler wrote:</div><br = class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><span = class=3D"Apple-style-span" style=3D"border-collapse: separate; = font-family: Helvetica; font-style: normal; font-variant: normal; = font-weight: normal; letter-spacing: normal; line-height: normal; = orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; = widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; = -webkit-border-vertical-spacing: 0px; = -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div = lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div class=3D"WordSection1" = style=3D"page: WordSection1; "><div style=3D"margin-top: 0in; = margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: = 11pt; font-family: Calibri, sans-serif; ">We are using the Date rollover = style for our logs. The thing we don=92t like is the fact that it = appends the date to the end of the filename like =93root.txt20100920=94. = We=92d like to have it insert the date in the middle like = =93root20100920.txt=94. Is that possible?<o:p></o:p></div><div = style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; = margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; = "><o:p>&nbsp;</o:p></div><div style=3D"margin-top: 0in; margin-right: = 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; = font-family: Calibri, sans-serif; ">I have searched the documentation = and can=92t seem to find anything. I also tried inserting [%date] in the = filename in the config file, but that didn=92t = work.<o:p></o:p></div></div></div></span></blockquote></div><br><div>Looki= ng at the code in repository for the RollingFileAppender there appears = to be a property called PreserveLogFileNameExtension which ay do what = you want.</div></body></html>= --Apple-Mail-20--393477984-- From [email protected] Mon Sep 20 18:00:45 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 16487 invoked from network); 20 Sep 2010 18:00:45 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 20 Sep 2010 18:00:45 -0000 Received: (qmail 91275 invoked by uid 500); 20 Sep 2010 18:00:44 -0000 Delivered-To: [email protected] Received: (qmail 91229 invoked by uid 500); 20 Sep 2010 18:00:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 91221 invoked by uid 99); 20 Sep 2010 18:00:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Sep 2010 18:00:44 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO blv-smtpout-01.boeing.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Sep 2010 18:00:35 +0000 Received: from stl-av-01.boeing.com (stl-av-01.boeing.com [161.129.204.104]) by blv-smtpout-01.ns.cs.boeing.com (8.14.4/8.14.4/8.14.4/SMTPOUT) with ESMTP id o8KI0DV0019405 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <[email protected]>; Mon, 20 Sep 2010 11:00:14 -0700 (PDT) Received: from stl-av-01.boeing.com (localhost [161.129.204.104]) by stl-av-01.boeing.com (8.14.4/8.14.4/DOWNSTREAM_RELAY) with ESMTP id o8KI0Bd2002455 for <[email protected]>; Mon, 20 Sep 2010 13:00:12 -0500 (CDT) Received: from XCH-NWHT-06.nw.nos.boeing.com (xch-nwht-06.nw.nos.boeing.com [161.129.204.104]) by stl-av-01.boeing.com (8.14.4/8.14.4/UPSTREAM_RELAY) with ESMTP id o8KHxmTW001071 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=OK) for <[email protected]>; Mon, 20 Sep 2010 13:00:10 -0500 (CDT) Received: from XCH-NW-20V.nw.nos.boeing.com ([161.129.204.104]) by XCH-NWHT-06.nw.nos.boeing.com ([161.129.204.104]) with mapi; Mon, 20 Sep 2010 11:00:03 -0700 From: "Lansdaal, Michael T" <[email protected]> To: "[email protected]" <[email protected]> Date: Mon, 20 Sep 2010 11:00:02 -0700 Subject: RE: Date Rollover filename Thread-Topic: Date Rollover filename Thread-Index: ActY6Kk/PM1GtAWgSX2BekwBp2h1FwABEnKg Message-ID: <[email protected]> References: <[email protected]> In-Reply-To: <[email protected]> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_B10B2A4D956CEC4BB5C619190BF4301C520A44C1EDXCHNW20Vnwnos_" MIME-Version: 1.0 --_000_B10B2A4D956CEC4BB5C619190BF4301C520A44C1EDXCHNW20Vnwnos_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Yes - you need to set the datePattern value for the appender. Something li= ke this <appender name=3D"RollingDebugLogFileAppender" type=3D"log4net.Appender.Rol= lingFileAppender"> <file value=3D"..\\Data\\Logs\\debug" /> <appendToFile value=3D"true" /> <rollingStyle value=3D"Composite" /> <staticLogFileName value=3D"false" /> <datePattern value=3D".yyyy-MM-dd.lo\g" /> and you would set yours to <datePattern value=3D".yyyy-MM-dd.txt" /> Hope this helps. ________________________________ From: David Gerler [mailto:[email protected]] Sent: Monday, September 20, 2010 10:23 AM To: [email protected] Subject: Date Rollover filename We are using the Date rollover style for our logs. The thing we don't like = is the fact that it appends the date to the end of the filename like "root.= txt20100920". We'd like to have it insert the date in the middle like "root= 20100920.txt". Is that possible? I have searched the documentation and can't seem to find anything. I also t= ried inserting [%date] in the filename in the config file, but that didn't = work. --_000_B10B2A4D956CEC4BB5C619190BF4301C520A44C1EDXCHNW20Vnwnos_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML xmlns=3D"http://www.w3.org/TR/REC-html40" xmlns:v =3D=20 "urn:schemas-microsoft-com:vml" xmlns:o =3D=20 "urn:schemas-microsoft-com:office:office" xmlns:w =3D=20 "urn:schemas-microsoft-com:office:word" xmlns:m =3D=20 "http://schemas.microsoft.com/office/2004/12/omml"><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii"> <META content=3D"MSHTML 6.00.6000.17080" name=3DGENERATOR> <STYLE>@font-face { font-family: Calibri; } @page WordSection1 {size: 8.5in 11.0in; margin: 1.0in 1.0in 1.0in 1.0in; } P.MsoNormal { FONT-SIZE: 11pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif" } LI.MsoNormal { FONT-SIZE: 11pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif" } DIV.MsoNormal { FONT-SIZE: 11pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif" } A:link { COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99 } SPAN.MsoHyperlink { COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99 } A:visited { COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99 } SPAN.MsoHyperlinkFollowed { COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99 } SPAN.EmailStyle17 { COLOR: windowtext; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: pe= rsonal-compose } .MsoChpDefault { FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: export-only } DIV.WordSection1 { page: WordSection1 } </STYLE> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--></HEAD> <BODY lang=3DEN-US vLink=3Dpurple link=3Dblue> <DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff size=3D2><SP= AN=20 class=3D358025517-20092010>Yes - you need to set the datePattern value for = the=20 appender.&nbsp; Something like this</SPAN></FONT></DIV> <DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff size=3D2><SP= AN=20 class=3D358025517-20092010></SPAN></FONT>&nbsp;</DIV> <DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff size=3D2><SP= AN=20 class=3D358025517-20092010>&lt;appender name=3D"RollingDebugLogFileAppender= "=20 type=3D"log4net.Appender.RollingFileAppender"&gt;<BR>&nbsp;&nbsp;&nbsp;&lt;= file=20 value=3D"..\\Data\\Logs\\debug" /&gt;<BR>&nbsp;&nbsp;&nbsp;&lt;appendToFile= =20 value=3D"true" /&gt;<BR>&nbsp;&nbsp;&nbsp;&lt;rollingStyle value=3D"Composi= te"=20 /&gt;<BR>&nbsp;&nbsp;&nbsp;&lt;staticLogFileName value=3D"false"=20 /&gt;<BR>&nbsp;&nbsp;&nbsp;&lt;datePattern value=3D".yyyy-MM-dd.lo\g"=20 /&gt;<BR></DIV></SPAN></FONT> <DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff size=3D2><SP= AN=20 class=3D358025517-20092010>and you would set yours to</SPAN></FONT></DIV> <DIV dir=3Dltr align=3Dleft><FONT><SPAN class=3D358025517-20092010><FONT fa= ce=3DArial=20 color=3D#0000ff size=3D2>&nbsp;&nbsp;&nbsp;&lt;datePattern value=3D".yyyy-M= M-dd.txt"=20 /&gt;<BR></FONT></DIV> <DIV></SPAN></FONT><SPAN class=3D358025517-20092010></SPAN><FONT face=3DAri= al><FONT=20 color=3D#0000ff><FONT=20 size=3D2>Hope&nbsp;this&nbsp;helps.</FONT></FONT></FONT><BR></DIV> <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft> <HR tabIndex=3D-1> <FONT face=3DTahoma size=3D2><B>From:</B> David Gerler [mailto:dgerler@gmai= l.com]=20 <BR><B>Sent:</B> Monday, September 20, 2010 10:23 AM<BR><B>To:</B>=20 [email protected]<BR><B>Subject:</B> Date Rollover=20 filename<BR></FONT><BR></DIV> <DIV></DIV> <DIV class=3DWordSection1> <P class=3DMsoNormal>We are using the Date rollover style for our logs. The= thing=20 we don&#8217;t like is the fact that it appends the date to the end of the = filename=20 like &#8220;root.txt20100920&#8221;. We&#8217;d like to have it insert the = date in the middle like=20 &#8220;root20100920.txt&#8221;. Is that possible?<o:p></o:p></P> <P class=3DMsoNormal><o:p>&nbsp;</o:p></P> <P class=3DMsoNormal>I have searched the documentation and can&#8217;t seem= to find=20 anything. I also tried inserting [%date] in the filename in the config file= , but=20 that didn&#8217;t work.<o:p></o:p></P></DIV></BODY></HTML> --_000_B10B2A4D956CEC4BB5C619190BF4301C520A44C1EDXCHNW20Vnwnos_-- From [email protected] Mon Sep 20 18:32:49 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37342 invoked from network); 20 Sep 2010 18:32:49 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 20 Sep 2010 18:32:49 -0000 Received: (qmail 32897 invoked by uid 500); 20 Sep 2010 18:32:48 -0000 Delivered-To: [email protected] Received: (qmail 32853 invoked by uid 500); 20 Sep 2010 18:32:48 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 32845 invoked by uid 99); 20 Sep 2010 18:32:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Sep 2010 18:32:47 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-gx0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Sep 2010 18:32:37 +0000 Received: by gxk10 with SMTP id 10so1916985gxk.34 for <[email protected]>; Mon, 20 Sep 2010 11:32:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:references :in-reply-to:subject:date:message-id:mime-version:content-type :x-mailer:thread-index:content-language; bh=KKgWF6q0pyRmkj8c+P8SFQ5XiD/Re31eOY2Gd4WAPU4=; b=ZjL/LUbdUh7W8ZAqFhwf6rzV/8cNoTo6dM959zH2CII4gVfJNtLoaBu7JXg28HHPBr k9mu2w6uw+254DefWrh6mZAIHBZD/ro48O/oHXXtWjUJjPVWudy1ehnZewC9DwxHifda B757CUHmDUe+Fem+ScnNc1t7THNiux0zrM4Nc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-type:x-mailer:thread-index:content-language; b=lYTjWwz+ayT8spHYZG4f370sFsgIblIPFbuTn7QWsEU0Sx5To7eelRo+bL6fJX8nLF rgxjJdYXnn1lZDtysUwV3xmx2AARUVzWqOJsksFyr4/PkEdceKZlcC7mu/ASC1BEEHNW S6p55KJjfOPmOdx2SrJhguabWVgIeJZvnmli4= Received: by 161.129.204.104 with SMTP id y20mr9806534ank.40.1285007536549; Mon, 20 Sep 2010 11:32:16 -0700 (PDT) Received: from DavePC (262)296-2461.dhcp.stls.mo.charter.com [161.129.204.104]) by mx.google.com with ESMTPS id t24sm12890051ano.12.2161.129.204.104.32.15 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 20 Sep 2010 11:32:15 -0700 (PDT) From: "David Gerler" <[email protected]> To: "'Log4NET User'" <[email protected]> References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Subject: RE: Date Rollover filename Date: Mon, 20 Sep 2010 13:32:15 -0500 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_02F0_01CB58C8.3DF1A060" X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQHZSGLlBJml1WKXG7M1VM/HRAYs8QIrj1Gnku32JcA= Content-Language: en-us X-Virus-Checked: Checked by ClamAV on apache.org This is a multipart message in MIME format. ------=_NextPart_000_02F0_01CB58C8.3DF1A060 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Michael, Other than still having the .txt in the middle of the file name, it works nicely. Well enough for our use in fact. Chris, Do you have an example of how to use it? I tried: <appender name="Root" type="log4net.Appender.RollingFileAppender"> <file value="c:/log/synch/root.txt" /> <appendToFile value="true" /> <maxSizeRollBackups value="10" /> <PreserveLogFileNameExtension value="true"> <datePattern value="yyyy-MM-dd" /> <rollingStyle value="Date" /> <staticLogFileName value="true" /> <layout type="log4net.Layout.PatternLayout"> <header value="[Header]&#xD;&#xA;"/> <footer value="[Footer]&#xD;&#xA;"/> <conversionPattern value="%date [%thread] %-5level %logger (%file:%line) - %message%newline" /> </layout> </appender> From: Lansdaal, Michael T [mailto:[email protected]] Sent: Monday, September 20, 2010 1:00 PM To: [email protected] Subject: RE: Date Rollover filename Yes - you need to set the datePattern value for the appender. Something like this <appender name="RollingDebugLogFileAppender" type="log4net.Appender.RollingFileAppender"> <file value="..\\Data\\Logs\\debug" /> <appendToFile value="true" /> <rollingStyle value="Composite" /> <staticLogFileName value="false" /> <datePattern value=".yyyy-MM-dd.lo\g" /> and you would set yours to <datePattern value=".yyyy-MM-dd.txt" /> Hope this helps. _____ From: David Gerler [mailto:[email protected]] Sent: Monday, September 20, 2010 10:23 AM To: [email protected] Subject: Date Rollover filename We are using the Date rollover style for our logs. The thing we don't like is the fact that it appends the date to the end of the filename like "root.txt20100920". We'd like to have it insert the date in the middle like "root20100920.txt". Is that possible? I have searched the documentation and can't seem to find anything. I also tried inserting [%date] in the filename in the config file, but that didn't work. ------=_NextPart_000_02F0_01CB58C8.3DF1A060 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns=3D"http://www.w3.org/TR/REC-html40"><head><META = HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 = (filtered medium)"><!--[if !mso]><style>v\:* = {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style><![endif]--><style><!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} p.MsoAcetate, li.MsoAcetate, div.MsoAcetate {mso-style-priority:99; mso-style-link:"Balloon Text Char"; margin:0in; margin-bottom:.0001pt; font-size:8.0pt; font-family:"Tahoma","sans-serif";} span.EmailStyle17 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:windowtext;} span.EmailStyle18 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} span.BalloonTextChar {mso-style-name:"Balloon Text Char"; mso-style-priority:99; mso-style-link:"Balloon Text"; font-family:"Tahoma","sans-serif";} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue = vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span = style=3D'color:#1F497D'>Michael,<o:p></o:p></span></p><p = class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp; Other than = still having the .txt in the middle of the file name, it works nicely. = Well enough for our use in fact.<o:p></o:p></span></p><p = class=3DMsoNormal><span = style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p = class=3DMsoNormal><span = style=3D'color:#1F497D'>Chris,<o:p></o:p></span></p><p = class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp; Do you have = an example of how to use it? I tried:<o:p></o:p></span></p><p = class=3DMsoNormal><span = style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p = class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp; = &lt;appender name=3D&quot;Root&quot; = type=3D&quot;log4net.Appender.RollingFileAppender&quot;&gt;<o:p></o:p></s= pan></p><p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;file = value=3D&quot;c:/log/synch/root.txt&quot; /&gt;<o:p></o:p></span></p><p = class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;appendToFile value=3D&quot;true&quot; /&gt;<o:p></o:p></span></p><p = class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;maxSizeRollBackups value=3D&quot;10&quot; = /&gt;<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;PreserveLogFileNameExtension = value=3D&quot;true&quot;&gt;<o:p></o:p></span></p><p = class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;datePattern = value=3D&quot;yyyy-MM-dd&quot; /&gt;<o:p></o:p></span></p><p = class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;rollingStyle = value=3D&quot;Date&quot; /&gt;<o:p></o:p></span></p><p = class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;staticLogFileName value=3D&quot;true&quot; = /&gt;<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;layout = type=3D&quot;log4net.Layout.PatternLayout&quot;&gt;<o:p></o:p></span></p>= <p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp; &lt;header = value=3D&quot;[Header]&amp;#xD;&amp;#xA;&quot;/&gt;<o:p></o:p></span></p>= <p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp; &lt;footer = value=3D&quot;[Footer]&amp;#xD;&amp;#xA;&quot;/&gt;<o:p></o:p></span></p>= <p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp; &lt;conversionPattern value=3D&quot;%date [%thread] = %-5level %logger (%file:%line) - %message%newline&quot; = /&gt;<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;/layout&gt;<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp; = &lt;/appender&gt;<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div = style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in = 0in 0in'><p class=3DMsoNormal><b><span = style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>= </b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> = Lansdaal, Michael T [mailto:[email protected]] = <br><b>Sent:</b> Monday, September 20, 2010 1:00 PM<br><b>To:</b> = [email protected]<br><b>Subject:</b> RE: Date Rollover = filename<o:p></o:p></span></p></div></div><p = class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:blue'>Ye= s - you need to set the datePattern value for the appender.&nbsp; = Something like this</span><span = style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'><o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'>&nbsp;<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:blue'>&l= t;appender name=3D&quot;RollingDebugLogFileAppender&quot; = type=3D&quot;log4net.Appender.RollingFileAppender&quot;&gt;<br>&nbsp;&nbs= p;&nbsp;&lt;file value=3D&quot;..\\Data\\Logs\\debug&quot; = /&gt;<br>&nbsp;&nbsp;&nbsp;&lt;appendToFile value=3D&quot;true&quot; = /&gt;<br>&nbsp;&nbsp;&nbsp;&lt;rollingStyle = value=3D&quot;Composite&quot; = /&gt;<br>&nbsp;&nbsp;&nbsp;&lt;staticLogFileName = value=3D&quot;false&quot; /&gt;<br>&nbsp;&nbsp;&nbsp;&lt;datePattern = value=3D&quot;.yyyy-MM-dd.lo\g&quot; /&gt;<o:p></o:p></span></p><p = class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:blue'>an= d you would set yours to</span><span = style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'><o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:blue'>&n= bsp;&nbsp;&nbsp;&lt;datePattern value=3D&quot;.yyyy-MM-dd.txt&quot; = /&gt;</span><span style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'><o:p></o:p></span></p><div><p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:blue'>Ho= pe&nbsp;this&nbsp;helps.</span><span = style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'><o:p></o:p></span></p></div><div class=3DMsoNormal = align=3Dcenter style=3D'text-align:center'><span = style=3D'font-size:12.0pt;font-family:"Times New Roman","serif"'><hr = size=3D2 width=3D"100%" align=3Dcenter></span></div><p class=3DMsoNormal = style=3D'margin-bottom:12.0pt'><b><span = style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>= </b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> = David Gerler [mailto:[email protected]] <br><b>Sent:</b> Monday, = September 20, 2010 10:23 AM<br><b>To:</b> = [email protected]<br><b>Subject:</b> Date Rollover = filename</span><span style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'><o:p></o:p></span></p><p class=3DMsoNormal>We are using = the Date rollover style for our logs. The thing we don&#8217;t like is = the fact that it appends the date to the end of the filename like = &#8220;root.txt20100920&#8221;. We&#8217;d like to have it insert the = date in the middle like &#8220;root20100920.txt&#8221;. Is that = possible?<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p = class=3DMsoNormal>I have searched the documentation and can&#8217;t seem = to find anything. I also tried inserting [%date] in the filename in the = config file, but that didn&#8217;t = work.<o:p></o:p></p></div></body></html> ------=_NextPart_000_02F0_01CB58C8.3DF1A060-- From [email protected] Mon Sep 20 18:53:46 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45434 invoked from network); 20 Sep 2010 18:53:46 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 20 Sep 2010 18:53:46 -0000 Received: (qmail 68154 invoked by uid 500); 20 Sep 2010 18:53:45 -0000 Delivered-To: [email protected] Received: (qmail 68025 invoked by uid 500); 20 Sep 2010 18:53:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 68008 invoked by uid 99); 20 Sep 2010 18:53:44 -0000 Received: from Unknown (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Sep 2010 18:53:44 +0000 X-ASF-Spam-Status: No, hits=4.7 required=10.0 tests=FREEMAIL_FROM,FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-vw0-f47.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Sep 2010 18:53:19 +0000 Received: by vws9 with SMTP id 9so4447197vws.34 for <[email protected]>; Mon, 20 Sep 2010 11:52:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:mime-version :content-type:subject:date:in-reply-to:to:references:message-id :x-mailer; bh=gFY4v2sX8Ay3+NS2wgUefnPhBJRGZkKxqjFkHjb0koc=; b=MH/5dJxnRkTfWX7QeP3KiYT4jZgq/baQYVnawa06N3+QPV29/uEpfv1QCEZ7DS8xtd JZmVhxFCceudgaYesUvOJMqaATWfwLS4QW/LlmgzTWam1EMx9sIK44IetSoqJYHUJf9p jeve/EJ8PMDyXX/K3J/u4vrnUTlxCBuDA+iPc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:mime-version:content-type:subject:date:in-reply-to:to :references:message-id:x-mailer; b=CfPmjXWzKsiTyZeQ0HQm30Wh0AwvuvCdpdc2belrLxRy1AVIKOXGSu4QY3qWNFryiK 31khW1eIgv56XbJDgxQatexwGe186tltUYA3rS7s264w6KS/Wlny33zWoBc4Istg0bBA sfa3V7pAXpRUlsTZ5I369AFvQ0/hmNiGpZkEI= Received: by 161.129.204.104 with SMTP id w14mr5395456vcy.17.1285008778578; Mon, 20 Sep 2010 11:52:58 -0700 (PDT) Received: from [161.129.204.104] (c-65-96-13-156.hsd1.ma.comcast.net [161.129.204.104]) by mx.google.com with ESMTPS id t13sm530299vcj.44.2161.129.204.104.52.57 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 20 Sep 2010 11:52:57 -0700 (PDT) From: Chris White <[email protected]> Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: multipart/alternative; boundary=Apple-Mail-21--388585290 Subject: Re: Date Rollover filename Date: Mon, 20 Sep 2010 14:52:56 -0400 In-Reply-To: <[email protected]> To: "Log4NET User" <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> Message-Id: <[email protected]> X-Mailer: Apple Mail (2.1081) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-21--388585290 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 David, I do not. I was curious because I hadn't thought of looking into it = until I saw your email (although I've periodically had the same question = but obviously never investigated). Where the other properties are = lower-case at the first position you might try = "preserveLogFileNameExtension". Chris On Sep 20, 2010, at 2:32 PM, David Gerler wrote: > Michael, > Other than still having the .txt in the middle of the file name, it = works nicely. Well enough for our use in fact. > =20 > Chris, > Do you have an example of how to use it? I tried: > =20 > <appender name=3D"Root" = type=3D"log4net.Appender.RollingFileAppender"> > <file value=3D"c:/log/synch/root.txt" /> > <appendToFile value=3D"true" /> > <maxSizeRollBackups value=3D"10" /> > <PreserveLogFileNameExtension value=3D"true"> > <datePattern value=3D"yyyy-MM-dd" /> > <rollingStyle value=3D"Date" /> > <staticLogFileName value=3D"true" /> > <layout type=3D"log4net.Layout.PatternLayout"> > <header value=3D"[Header]&#xD;&#xA;"/> > <footer value=3D"[Footer]&#xD;&#xA;"/> > <conversionPattern value=3D"%date = [%thread] %-5level %logger (%file:%line) - %message%newline" /> > </layout> > </appender> > =20 > From: Lansdaal, Michael T [mailto:[email protected]]=20 > Sent: Monday, September 20, 2010 1:00 PM > To: [email protected] > Subject: RE: Date Rollover filename > =20 > Yes - you need to set the datePattern value for the appender. = Something like this > =20 > <appender name=3D"RollingDebugLogFileAppender" = type=3D"log4net.Appender.RollingFileAppender"> > <file value=3D"..\\Data\\Logs\\debug" /> > <appendToFile value=3D"true" /> > <rollingStyle value=3D"Composite" /> > <staticLogFileName value=3D"false" /> > <datePattern value=3D".yyyy-MM-dd.lo\g" /> > and you would set yours to > <datePattern value=3D".yyyy-MM-dd.txt" /> > Hope this helps. > From: David Gerler [mailto:[email protected]]=20 > Sent: Monday, September 20, 2010 10:23 AM > To: [email protected] > Subject: Date Rollover filename >=20 > We are using the Date rollover style for our logs. The thing we don=92t = like is the fact that it appends the date to the end of the filename = like =93root.txt20100920=94. We=92d like to have it insert the date in = the middle like =93root20100920.txt=94. Is that possible? > =20 > I have searched the documentation and can=92t seem to find anything. I = also tried inserting [%date] in the filename in the config file, but = that didn=92t work. --Apple-Mail-21--388585290 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 <html><head></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; = ">David,<div><br></div><div>I do not. I was curious because I hadn't = thought of looking into it until I saw your email (although&nbsp;I've = periodically had the same question but obviously never investigated). = Where the other properties are lower-case at the first position you = might try = "preserveLogFileNameExtension".</div><div><br></div><div>Chris</div><div><= br><div><div>On Sep 20, 2010, at 2:32 PM, David Gerler wrote:</div><br = class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><span = class=3D"Apple-style-span" style=3D"border-collapse: separate; = font-family: Helvetica; font-style: normal; font-variant: normal; = font-weight: normal; letter-spacing: normal; line-height: normal; = orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; = widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; = -webkit-border-vertical-spacing: 0px; = -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div = lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div class=3D"WordSection1" = style=3D"page: WordSection1; "><div style=3D"margin-top: 0in; = margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: = 11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, = 73, 125); ">Michael,<o:p></o:p></span></div><div style=3D"margin-top: = 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; = font-size: 11pt; font-family: Calibri, sans-serif; "><span style=3D"color:= rgb(31, 73, 125); ">&nbsp;&nbsp; Other than still having the .txt in = the middle of the file name, it works nicely. Well enough for our use in = fact.<o:p></o:p></span></div><div style=3D"margin-top: 0in; = margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: = 11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, = 73, 125); "><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; = margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: = 11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, = 73, 125); ">Chris,<o:p></o:p></span></div><div style=3D"margin-top: 0in; = margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: = 11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, = 73, 125); ">&nbsp;&nbsp; Do you have an example of how to use it? I = tried:<o:p></o:p></span></div><div style=3D"margin-top: 0in; = margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: = 11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, = 73, 125); "><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; = margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: = 11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, = 73, 125); ">&nbsp;&nbsp;&nbsp; &lt;appender name=3D"Root" = type=3D"log4net.Appender.RollingFileAppender"&gt;<o:p></o:p></span></div><= div style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: = 0.0001pt; margin-left: 0in; font-size: 11pt; font-family: Calibri, = sans-serif; "><span style=3D"color: rgb(31, 73, 125); = ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;file = value=3D"c:/log/synch/root.txt" /&gt;<o:p></o:p></span></div><div = style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; = margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; = "><span style=3D"color: rgb(31, 73, 125); ">&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;appendToFile value=3D"true" /&gt;<o:p></o:p></span></div><div = style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; = margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; = "><span style=3D"color: rgb(31, 73, 125); = ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;maxSizeRollBackups value=3D"10" /&gt;<o:p></o:p></span></div><div = style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; = margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; = "><span style=3D"color: rgb(31, 73, 125); = ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp; &lt;PreserveLogFileNameExtension = value=3D"true"&gt;<o:p></o:p></span></div><div style=3D"margin-top: 0in; = margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: = 11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, = 73, 125); ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;datePattern = value=3D"yyyy-MM-dd" /&gt;<o:p></o:p></span></div><div = style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; = margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; = "><span style=3D"color: rgb(31, 73, 125); = ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;rollingStyle = value=3D"Date" /&gt;<o:p></o:p></span></div><div style=3D"margin-top: = 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; = font-size: 11pt; font-family: Calibri, sans-serif; "><span style=3D"color:= rgb(31, 73, 125); ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;staticLogFileName value=3D"true" /&gt;<o:p></o:p></span></div><div = style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; = margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; = "><span style=3D"color: rgb(31, 73, 125); = ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;layout = type=3D"log4net.Layout.PatternLayout"&gt;<o:p></o:p></span></div><div = style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; = margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; = "><span style=3D"color: rgb(31, 73, 125); = ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp; &lt;header = value=3D"[Header]&amp;#xD;&amp;#xA;"/&gt;<o:p></o:p></span></div><div = style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; = margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; = "><span style=3D"color: rgb(31, 73, 125); = ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp; &lt;footer = value=3D"[Footer]&amp;#xD;&amp;#xA;"/&gt;<o:p></o:p></span></div><div = style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; = margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; = "><span style=3D"color: rgb(31, 73, 125); = ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp; &lt;conversionPattern value=3D"%date [%thread] %-5level = %logger (%file:%line) - %message%newline" = /&gt;<o:p></o:p></span></div><div style=3D"margin-top: 0in; = margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: = 11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, = 73, 125); ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;/layout&gt;<o:p></o:p></span></div><div style=3D"margin-top: 0in; = margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: = 11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, = 73, 125); ">&nbsp;&nbsp;&nbsp; = &lt;/appender&gt;<o:p></o:p></span></div><div style=3D"margin-top: 0in; = margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: = 11pt; font-family: Calibri, sans-serif; "><span style=3D"color: rgb(31, = 73, 125); "><o:p>&nbsp;</o:p></span></div><div><div = style=3D"border-right-style: none; border-bottom-style: none; = border-left-style: none; border-width: initial; border-color: initial; = border-top-style: solid; border-top-color: rgb(181, 196, 223); = border-top-width: 1pt; padding-top: 3pt; padding-right: 0in; = padding-bottom: 0in; padding-left: 0in; "><div style=3D"margin-top: 0in; = margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: = 11pt; font-family: Calibri, sans-serif; "><b><span style=3D"font-size: = 10pt; font-family: Tahoma, sans-serif; ">From:</span></b><span = style=3D"font-size: 10pt; font-family: Tahoma, sans-serif; "><span = class=3D"Apple-converted-space">&nbsp;</span>Lansdaal, Michael T = [mailto:[email protected]]<span = class=3D"Apple-converted-space">&nbsp;</span><br><b>Sent:</b><span = class=3D"Apple-converted-space">&nbsp;</span>Monday, September 20, 2010 = 1:00 PM<br><b>To:</b><span class=3D"Apple-converted-space">&nbsp;</span><a= href=3D"mailto:[email protected]" style=3D"color: blue; = text-decoration: underline; = ">[email protected]</a><br><b>Subject:</b><span = class=3D"Apple-converted-space">&nbsp;</span>RE: Date Rollover = filename<o:p></o:p></span></div></div></div><div style=3D"margin-top: = 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; = font-size: 11pt; font-family: Calibri, sans-serif; = "><o:p>&nbsp;</o:p></div><div style=3D"margin-top: 0in; margin-right: = 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; = font-family: Calibri, sans-serif; "><span style=3D"font-size: 10pt; = font-family: Arial, sans-serif; color: blue; ">Yes - you need to set the = datePattern value for the appender.&nbsp; Something like = this</span><span style=3D"font-size: 12pt; font-family: 'Times New = Roman', serif; "><o:p></o:p></span></div><div style=3D"margin-top: 0in; = margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: = 11pt; font-family: Calibri, sans-serif; "><span style=3D"font-size: = 12pt; font-family: 'Times New Roman', serif; = ">&nbsp;<o:p></o:p></span></div><div style=3D"margin-top: 0in; = margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: = 11pt; font-family: Calibri, sans-serif; "><span style=3D"font-size: = 10pt; font-family: Arial, sans-serif; color: blue; ">&lt;appender = name=3D"RollingDebugLogFileAppender" = type=3D"log4net.Appender.RollingFileAppender"&gt;<br>&nbsp;&nbsp;&nbsp;&lt= ;file value=3D"..\\Data\\Logs\\debug" = /&gt;<br>&nbsp;&nbsp;&nbsp;&lt;appendToFile value=3D"true" = /&gt;<br>&nbsp;&nbsp;&nbsp;&lt;rollingStyle value=3D"Composite" = /&gt;<br>&nbsp;&nbsp;&nbsp;&lt;staticLogFileName value=3D"false" = /&gt;<br>&nbsp;&nbsp;&nbsp;&lt;datePattern value=3D".yyyy-MM-dd.lo\g" = /&gt;<o:p></o:p></span></div><div style=3D"margin-top: 0in; = margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: = 11pt; font-family: Calibri, sans-serif; "><span style=3D"font-size: = 10pt; font-family: Arial, sans-serif; color: blue; ">and you would set = yours to</span><span style=3D"font-size: 12pt; font-family: 'Times New = Roman', serif; "><o:p></o:p></span></div><div style=3D"margin-top: 0in; = margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: = 11pt; font-family: Calibri, sans-serif; "><span style=3D"font-size: = 10pt; font-family: Arial, sans-serif; color: blue; = ">&nbsp;&nbsp;&nbsp;&lt;datePattern value=3D".yyyy-MM-dd.txt" = /&gt;</span><span style=3D"font-size: 12pt; font-family: 'Times New = Roman', serif; "><o:p></o:p></span></div><div><div style=3D"margin-top: = 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; = font-size: 11pt; font-family: Calibri, sans-serif; "><span = style=3D"font-size: 10pt; font-family: Arial, sans-serif; color: blue; = ">Hope&nbsp;this&nbsp;helps.</span><span style=3D"font-size: 12pt; = font-family: 'Times New Roman', serif; = "><o:p></o:p></span></div></div><div class=3D"MsoNormal" align=3D"center" = style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; = margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; = text-align: center; "><span style=3D"font-size: 12pt; font-family: = 'Times New Roman', serif; "><hr size=3D"2" width=3D"100%" = align=3D"center"></span></div><p class=3D"MsoNormal" style=3D"margin-top: = 0in; margin-right: 0in; margin-bottom: 12pt; margin-left: 0in; = font-size: 11pt; font-family: Calibri, sans-serif; "><b><span = style=3D"font-size: 10pt; font-family: Tahoma, sans-serif; = ">From:</span></b><span style=3D"font-size: 10pt; font-family: Tahoma, = sans-serif; "><span class=3D"Apple-converted-space">&nbsp;</span>David = Gerler [mailto:[email protected]]<span = class=3D"Apple-converted-space">&nbsp;</span><br><b>Sent:</b><span = class=3D"Apple-converted-space">&nbsp;</span>Monday, September 20, 2010 = 10:23 AM<br><b>To:</b><span = class=3D"Apple-converted-space">&nbsp;</span><a = href=3D"mailto:[email protected]" style=3D"color: blue; = text-decoration: underline; = ">[email protected]</a><br><b>Subject:</b><span = class=3D"Apple-converted-space">&nbsp;</span>Date Rollover = filename</span><span style=3D"font-size: 12pt; font-family: 'Times New = Roman', serif; "><o:p></o:p></span></p><div style=3D"margin-top: 0in; = margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: = 11pt; font-family: Calibri, sans-serif; ">We are using the Date rollover = style for our logs. The thing we don=92t like is the fact that it = appends the date to the end of the filename like =93root.txt20100920=94. = We=92d like to have it insert the date in the middle like = =93root20100920.txt=94. Is that possible?<o:p></o:p></div><div = style=3D"margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; = margin-left: 0in; font-size: 11pt; font-family: Calibri, sans-serif; = "><o:p>&nbsp;</o:p></div><div style=3D"margin-top: 0in; margin-right: = 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 11pt; = font-family: Calibri, sans-serif; ">I have searched the documentation = and can=92t seem to find anything. I also tried inserting [%date] in the = filename in the config file, but that didn=92t = work.<o:p></o:p></div></div></div></span></blockquote></div><br></div></bo= dy></html>= --Apple-Mail-21--388585290-- From [email protected] Tue Sep 21 06:16:23 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54459 invoked from network); 21 Sep 2010 06:16:23 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 21 Sep 2010 06:16:23 -0000 Received: (qmail 6736 invoked by uid 500); 21 Sep 2010 06:16:23 -0000 Delivered-To: [email protected] Received: (qmail 6400 invoked by uid 500); 21 Sep 2010 06:16:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 6391 invoked by uid 99); 21 Sep 2010 06:16:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Sep 2010 06:16:19 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO main.hasam.cz) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Sep 2010 06:16:12 +0000 Subject: RE: Date Rollover filename Date: Tue, 21 Sep 2010 08:15:48 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CB5954.6F35F185" Message-ID: <[email protected]> Content-class: urn:content-classes:message In-Reply-To: <[email protected]> X-MimeOLE: Produced By Microsoft Exchange V6.5 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Date Rollover filename Thread-Index: AQHZSGLlBJml1WKXG7M1VM/HRAYs8QIrj1Gnku32JcCAAMNXIA== References: <[email protected]> <[email protected]> <[email protected]> From: "Radovan Raszka" <[email protected]> To: "Log4NET User" <[email protected]> This is a multi-part message in MIME format. ------_=_NextPart_001_01CB5954.6F35F185 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Please notice, that <file value=3D"..\\Data\\Logs\\debug" /> _doesn't_ = contain extension. =20 Your config should be like this: <appender name=3D"Root" = type=3D"log4net.Appender.RollingFileAppender"> <file value=3D"c:/log/synch/root" /> <appendToFile value=3D"true" /> <maxSizeRollBackups value=3D"10" /> <datePattern value=3D"yyyy-MM-dd.txt" /> <rollingStyle value=3D"Date" /> <staticLogFileName value=3D"false" /> <layout type=3D"log4net.Layout.PatternLayout"> <header value=3D"[Header]&#xD;&#xA;"/> <footer value=3D"[Footer]&#xD;&#xA;"/> <conversionPattern value=3D"%date = [%thread] %-5level %logger (%file:%line) - %message%newline" /> </layout> </appender> =20 Now log files will have names in form root2010-09-21.txt (for today's = date) Radovan ________________________________ Od: David Gerler [mailto:[email protected]]=20 Odesl=E1no: 20. z=E1=F8=ED 2010 20:32 Komu: 'Log4NET User' P=F8edm=ECt: RE: Date Rollover filename Michael, Other than still having the .txt in the middle of the file name, it = works nicely. Well enough for our use in fact. =20 Chris, Do you have an example of how to use it? I tried: =20 <appender name=3D"Root" = type=3D"log4net.Appender.RollingFileAppender"> <file value=3D"c:/log/synch/root.txt" /> <appendToFile value=3D"true" /> <maxSizeRollBackups value=3D"10" /> <PreserveLogFileNameExtension value=3D"true"> <datePattern value=3D"yyyy-MM-dd" /> <rollingStyle value=3D"Date" /> <staticLogFileName value=3D"true" /> <layout type=3D"log4net.Layout.PatternLayout"> <header value=3D"[Header]&#xD;&#xA;"/> <footer value=3D"[Footer]&#xD;&#xA;"/> <conversionPattern value=3D"%date = [%thread] %-5level %logger (%file:%line) - %message%newline" /> </layout> </appender> =20 From: Lansdaal, Michael T [mailto:[email protected]]=20 Sent: Monday, September 20, 2010 1:00 PM To: [email protected] Subject: RE: Date Rollover filename =20 Yes - you need to set the datePattern value for the appender. Something = like this =20 <appender name=3D"RollingDebugLogFileAppender" = type=3D"log4net.Appender.RollingFileAppender"> <file value=3D"..\\Data\\Logs\\debug" /> <appendToFile value=3D"true" /> <rollingStyle value=3D"Composite" /> <staticLogFileName value=3D"false" /> <datePattern value=3D".yyyy-MM-dd.lo\g" /> and you would set yours to <datePattern value=3D".yyyy-MM-dd.txt" /> Hope this helps. ________________________________ From: David Gerler [mailto:[email protected]]=20 Sent: Monday, September 20, 2010 10:23 AM To: [email protected] Subject: Date Rollover filename We are using the Date rollover style for our logs. The thing we don't = like is the fact that it appends the date to the end of the filename = like "root.txt20100920". We'd like to have it insert the date in the = middle like "root20100920.txt". Is that possible? =20 I have searched the documentation and can't seem to find anything. I = also tried inserting [%date] in the filename in the config file, but = that didn't work. ------_=_NextPart_001_01CB5954.6F35F185 Content-Type: text/html; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML xmlns=3D"http://www.w3.org/TR/REC-html40" xmlns:v =3D=20 "urn:schemas-microsoft-com:vml" xmlns:o =3D=20 "urn:schemas-microsoft-com:office:office" xmlns:w =3D=20 "urn:schemas-microsoft-com:office:word" xmlns:m =3D=20 "http://schemas.microsoft.com/office/2004/12/omml"><HEAD> <META content=3D"text/html; charset=3Diso-8859-2" = http-equiv=3DContent-Type> <META name=3DGENERATOR content=3D"MSHTML 8.00.6001.18939"><!--[if !mso]> <STYLE>v\:* { BEHAVIOR: url(#default#VML) } o\:* { BEHAVIOR: url(#default#VML) } w\:* { BEHAVIOR: url(#default#VML) } .shape { BEHAVIOR: url(#default#VML) } </STYLE> <![endif]--> <STYLE>@font-face { font-family: Calibri; } @font-face { font-family: Tahoma; } @page WordSection1 {size: 8.5in 11.0in; margin: 1.0in 1.0in 1.0in 1.0in; = } P.MsoNormal { MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: = 11pt } LI.MsoNormal { MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: = 11pt } DIV.MsoNormal { MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: = 11pt } A:link { COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99 } SPAN.MsoHyperlink { COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99 } A:visited { COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99 } SPAN.MsoHyperlinkFollowed { COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99 } P.MsoAcetate { MARGIN: 0in 0in 0pt; FONT-FAMILY: "Tahoma","sans-serif"; FONT-SIZE: = 8pt; mso-style-priority: 99; mso-style-link: "Balloon Text Char" } LI.MsoAcetate { MARGIN: 0in 0in 0pt; FONT-FAMILY: "Tahoma","sans-serif"; FONT-SIZE: = 8pt; mso-style-priority: 99; mso-style-link: "Balloon Text Char" } DIV.MsoAcetate { MARGIN: 0in 0in 0pt; FONT-FAMILY: "Tahoma","sans-serif"; FONT-SIZE: = 8pt; mso-style-priority: 99; mso-style-link: "Balloon Text Char" } SPAN.EmailStyle17 { FONT-FAMILY: "Calibri","sans-serif"; COLOR: windowtext; mso-style-type: = personal } SPAN.EmailStyle18 { FONT-FAMILY: "Calibri","sans-serif"; COLOR: #1f497d; mso-style-type: = personal-reply } SPAN.BalloonTextChar { FONT-FAMILY: "Tahoma","sans-serif"; mso-style-priority: 99; = mso-style-link: "Balloon Text"; mso-style-name: "Balloon Text Char" } .MsoChpDefault { FONT-SIZE: 10pt; mso-style-type: export-only } DIV.WordSection1 { page: WordSection1 } </STYLE> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--></HEAD> <BODY lang=3DEN-US link=3Dblue vLink=3Dpurple> <DIV dir=3Dltr align=3Dleft><SPAN class=3D979100806-21092010><FONT = color=3D#0000ff=20 size=3D2 face=3DArial>Please notice, that &lt;file = value=3D"..\\Data\\Logs\\debug"=20 /&gt; _doesn't_ contain extension.</FONT></SPAN></DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D979100806-21092010><FONT = color=3D#0000ff=20 size=3D2 face=3DArial></FONT></SPAN>&nbsp;</DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D979100806-21092010><FONT = color=3D#0000ff=20 size=3D2 face=3DArial>Your config should be like = this:</FONT></SPAN></DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D979100806-21092010><FONT = color=3D#0000ff=20 size=3D2 face=3DArial> <P class=3DMsoNormal><SPAN style=3D"COLOR: #1f497d">&nbsp;&nbsp;&nbsp; = &lt;appender=20 name=3D"Root"=20 type=3D"log4net.Appender.RollingFileAppender"&gt;<o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN style=3D"COLOR: = #1f497d">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <STRONG>&lt;file=20 value=3D"c:/log/synch/root" /&gt;<o:p></o:p></STRONG></SPAN></P> <P class=3DMsoNormal><SPAN style=3D"COLOR: = #1f497d">&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;appendToFile=20 value=3D"true" /&gt;<o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN style=3D"COLOR: = #1f497d">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;maxSizeRollBackups=20 value=3D"10" /&gt;<o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN=20 style=3D"COLOR: #1f497d"><STRONG>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;datePattern=20 value=3D"yyyy-MM-dd<SPAN class=3D979100806-21092010>.txt</SPAN>"=20 /&gt;<o:p></o:p></STRONG></SPAN></P> <P class=3DMsoNormal><SPAN style=3D"COLOR: = #1f497d">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;rollingStyle=20 value=3D"Date" /&gt;<o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN=20 style=3D"COLOR: #1f497d"><STRONG>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;staticLogFileName=20 value=3D"<SPAN class=3D979100806-21092010>fals</SPAN>e"=20 /&gt;<o:p></o:p></STRONG></SPAN></P> <P class=3DMsoNormal><SPAN style=3D"COLOR: = #1f497d">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;layout=20 type=3D"log4net.Layout.PatternLayout"&gt;<o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN=20 style=3D"COLOR: #1f497d">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;=20 &lt;header = value=3D"[Header]&amp;#xD;&amp;#xA;"/&gt;<o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN=20 style=3D"COLOR: #1f497d">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;=20 &lt;footer = value=3D"[Footer]&amp;#xD;&amp;#xA;"/&gt;<o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN=20 style=3D"COLOR: #1f497d">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;=20 &lt;conversionPattern value=3D"%date [%thread] %-5level %logger = (%file:%line) -=20 %message%newline" /&gt;<o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN style=3D"COLOR: = #1f497d">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &lt;/layout&gt;<o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN style=3D"COLOR: #1f497d">&nbsp;&nbsp;&nbsp;=20 &lt;/appender&gt;<o:p></o:p></SPAN></P></FONT></SPAN></DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D979100806-21092010><FONT = color=3D#0000ff=20 size=3D2 face=3DArial></FONT></SPAN>&nbsp;</DIV> <DIV><FONT color=3D#0000ff size=3D2 face=3DArial><SPAN = class=3D979100806-21092010>Now=20 log files will have names in form root2010-09-21.txt (for today's=20 date)</SPAN></FONT></DIV> <DIV><FONT color=3D#1f497d face=3DCalibri><SPAN=20 class=3D979100806-21092010>Radovan</SPAN></FONT></DIV> <DIV><BR></DIV> <DIV dir=3Dltr lang=3Dcs class=3DOutlookMessageHeader align=3Dleft> <HR tabIndex=3D-1> <FONT size=3D2 face=3DTahoma><B>Od:</B> David Gerler = [mailto:[email protected]]=20 <BR><B>Odesl=E1no:</B> 20. z=E1=F8=ED 2010 20:32<BR><B>Komu:</B> = 'Log4NET=20 User'<BR><B>P=F8edm=ECt:</B> RE: Date Rollover = filename<BR></FONT><BR></DIV> <DIV></DIV> <DIV class=3DWordSection1> <P class=3DMsoNormal><SPAN style=3D"COLOR: = #1f497d">Michael,<o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN style=3D"COLOR: #1f497d">&nbsp;&nbsp; Other = than still=20 having the .txt in the middle of the file name, it works nicely. Well = enough for=20 our use in fact.<o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN style=3D"COLOR: = #1f497d"><o:p>&nbsp;</o:p></SPAN></P> <P class=3DMsoNormal><SPAN style=3D"COLOR: = #1f497d">Chris,<o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN style=3D"COLOR: #1f497d">&nbsp;&nbsp; Do you = have an=20 example of how to use it? I tried:<o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN style=3D"COLOR: = #1f497d"><o:p>&nbsp;</o:p></SPAN></P> <P class=3DMsoNormal><SPAN style=3D"COLOR: #1f497d">&nbsp;&nbsp;&nbsp; = &lt;appender=20 name=3D"Root"=20 type=3D"log4net.Appender.RollingFileAppender"&gt;<o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN style=3D"COLOR: = #1f497d">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;file=20 value=3D"c:/log/synch/root.txt" /&gt;<o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN style=3D"COLOR: = #1f497d">&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;appendToFile=20 value=3D"true" /&gt;<o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN style=3D"COLOR: = #1f497d">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;maxSizeRollBackups=20 value=3D"10" /&gt;<o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN=20 style=3D"COLOR: = #1f497d">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;=20 &lt;PreserveLogFileNameExtension = value=3D"true"&gt;<o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN style=3D"COLOR: = #1f497d">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;datePattern=20 value=3D"yyyy-MM-dd" /&gt;<o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN style=3D"COLOR: = #1f497d">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;rollingStyle=20 value=3D"Date" /&gt;<o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN style=3D"COLOR: = #1f497d">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;staticLogFileName=20 value=3D"true" /&gt;<o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN style=3D"COLOR: = #1f497d">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;layout=20 type=3D"log4net.Layout.PatternLayout"&gt;<o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN=20 style=3D"COLOR: #1f497d">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;=20 &lt;header = value=3D"[Header]&amp;#xD;&amp;#xA;"/&gt;<o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN=20 style=3D"COLOR: #1f497d">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;=20 &lt;footer = value=3D"[Footer]&amp;#xD;&amp;#xA;"/&gt;<o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN=20 style=3D"COLOR: #1f497d">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;=20 &lt;conversionPattern value=3D"%date [%thread] %-5level %logger = (%file:%line) -=20 %message%newline" /&gt;<o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN style=3D"COLOR: = #1f497d">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &lt;/layout&gt;<o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN style=3D"COLOR: #1f497d">&nbsp;&nbsp;&nbsp;=20 &lt;/appender&gt;<o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN style=3D"COLOR: = #1f497d"><o:p>&nbsp;</o:p></SPAN></P> <DIV> <DIV=20 style=3D"BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; = PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: = #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"> <P class=3DMsoNormal><B><SPAN=20 style=3D"FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: = 10pt">From:</SPAN></B><SPAN=20 style=3D"FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"> Lansdaal, = Michael T=20 [mailto:[email protected]] <BR><B>Sent:</B> Monday, = September 20,=20 2010 1:00 PM<BR><B>To:</B> = [email protected]<BR><B>Subject:</B>=20 RE: Date Rollover filename<o:p></o:p></SPAN></P></DIV></DIV> <P class=3DMsoNormal><o:p>&nbsp;</o:p></P> <P class=3DMsoNormal><SPAN=20 style=3D"FONT-FAMILY: 'Arial','sans-serif'; COLOR: blue; FONT-SIZE: = 10pt">Yes -=20 you need to set the datePattern value for the appender.&nbsp; Something = like=20 this</SPAN><SPAN=20 style=3D"FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: = 12pt"><o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN=20 style=3D"FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: = 12pt">&nbsp;<o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN=20 style=3D"FONT-FAMILY: 'Arial','sans-serif'; COLOR: blue; FONT-SIZE: = 10pt">&lt;appender=20 name=3D"RollingDebugLogFileAppender"=20 type=3D"log4net.Appender.RollingFileAppender"&gt;<BR>&nbsp;&nbsp;&nbsp;&l= t;file=20 value=3D"..\\Data\\Logs\\debug" = /&gt;<BR>&nbsp;&nbsp;&nbsp;&lt;appendToFile=20 value=3D"true" /&gt;<BR>&nbsp;&nbsp;&nbsp;&lt;rollingStyle = value=3D"Composite"=20 /&gt;<BR>&nbsp;&nbsp;&nbsp;&lt;staticLogFileName value=3D"false"=20 /&gt;<BR>&nbsp;&nbsp;&nbsp;&lt;datePattern value=3D".yyyy-MM-dd.lo\g"=20 /&gt;<o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN=20 style=3D"FONT-FAMILY: 'Arial','sans-serif'; COLOR: blue; FONT-SIZE: = 10pt">and you=20 would set yours to</SPAN><SPAN=20 style=3D"FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: = 12pt"><o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN=20 style=3D"FONT-FAMILY: 'Arial','sans-serif'; COLOR: blue; FONT-SIZE: = 10pt">&nbsp;&nbsp;&nbsp;&lt;datePattern=20 value=3D".yyyy-MM-dd.txt" /&gt;</SPAN><SPAN=20 style=3D"FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: = 12pt"><o:p></o:p></SPAN></P> <DIV> <P class=3DMsoNormal><SPAN=20 style=3D"FONT-FAMILY: 'Arial','sans-serif'; COLOR: blue; FONT-SIZE: = 10pt">Hope&nbsp;this&nbsp;helps.</SPAN><SPAN=20 style=3D"FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: = 12pt"><o:p></o:p></SPAN></P></DIV> <DIV style=3D"TEXT-ALIGN: center" class=3DMsoNormal align=3Dcenter><SPAN = style=3D"FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt"> <HR align=3Dcenter SIZE=3D2 width=3D"100%"> </SPAN></DIV> <P style=3D"MARGIN-BOTTOM: 12pt" class=3DMsoNormal><B><SPAN=20 style=3D"FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: = 10pt">From:</SPAN></B><SPAN=20 style=3D"FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"> David = Gerler=20 [mailto:[email protected]] <BR><B>Sent:</B> Monday, September 20, 2010 = 10:23=20 AM<BR><B>To:</B> [email protected]<BR><B>Subject:</B> Date = Rollover filename</SPAN><SPAN=20 style=3D"FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: = 12pt"><o:p></o:p></SPAN></P> <P class=3DMsoNormal>We are using the Date rollover style for our logs. = The thing=20 we don&#8217;t like is the fact that it appends the date to the end of = the filename=20 like &#8220;root.txt20100920&#8221;. We&#8217;d like to have it insert = the date in the middle like=20 &#8220;root20100920.txt&#8221;. Is that possible?<o:p></o:p></P> <P class=3DMsoNormal><o:p>&nbsp;</o:p></P> <P class=3DMsoNormal>I have searched the documentation and can&#8217;t = seem to find=20 anything. I also tried inserting [%date] in the filename in the config = file, but=20 that didn&#8217;t work.<o:p></o:p></P></DIV></BODY></HTML> ------_=_NextPart_001_01CB5954.6F35F185-- From [email protected] Tue Sep 21 14:07:36 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25808 invoked from network); 21 Sep 2010 14:07:35 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 21 Sep 2010 14:07:35 -0000 Received: (qmail 75050 invoked by uid 500); 21 Sep 2010 14:07:35 -0000 Delivered-To: [email protected] Received: (qmail 74767 invoked by uid 500); 21 Sep 2010 14:07:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 74757 invoked by uid 99); 21 Sep 2010 14:07:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Sep 2010 14:07:31 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-gy0-f175.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Sep 2010 14:07:21 +0000 Received: by gya6 with SMTP id 6so2230094gya.34 for <[email protected]>; Tue, 21 Sep 2010 07:07:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:references :in-reply-to:subject:date:message-id:mime-version:content-type :x-mailer:thread-index:content-language; bh=MeMflGqy5p6fH53z/LoqB9kDtNPKzk3lhBzFbwzPpg8=; b=P0SWF+ZWmNGzOriad9ns2+/b+ycTvo4pg2bLs7UUfEZWnifa9ez78Hq5SmgjLKAn4K N6LNWEaBkF4bK+eyA9UpXghf9XNUOp2HPFzhTnPZh1B6h2xl1TiBDDiD+zZugU7vPK5J auE6UDbaTZQQ4I0br2fYAQH0jbW4bczCtiObM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-type:x-mailer:thread-index:content-language; b=wixeMiCrWjjuz8ZN3z8Wu1mdflbz6jNeqCPxgh1ckXL4blnXVP21Kk3bYbADf8PvI7 GKLWPZ4afLjq12YUapt5rRGEYY9yFsd+Mx3/giLCY0NBx0jFsIVEtR1xYaoVcdCtIdJm 4VKuj6R+X72c6wV/qvUq4RdkmdzCu5bvsS0fg= Received: by 161.129.204.104 with SMTP id y35mr11129866ano.250.1285078020261; Tue, 21 Sep 2010 07:07:00 -0700 (PDT) Received: from DavePC (262)296-2461.dhcp.stls.mo.charter.com [161.129.204.104]) by mx.google.com with ESMTPS id c7sm14501173ana.18.2161.129.204.104.06.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 21 Sep 2010 07:06:59 -0700 (PDT) From: "David Gerler" <[email protected]> To: "'Log4NET User'" <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Subject: RE: Date Rollover filename Date: Tue, 21 Sep 2010 09:07:02 -0500 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0480_01CB596C.5BD2C1F0" X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQHZSGLlBJml1WKXG7M1VM/HRAYs8QIrj1GnAVtZN1IBWpGTGJLZj9wA Content-Language: en-us X-Virus-Checked: Checked by ClamAV on apache.org This is a multipart message in MIME format. ------=_NextPart_000_0480_01CB596C.5BD2C1F0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Yes. Thank you. =20 From: Radovan Raszka [mailto:[email protected]]=20 Sent: Tuesday, September 21, 2010 1:16 AM To: Log4NET User Subject: RE: Date Rollover filename =20 Please notice, that <file value=3D"..\\Data\\Logs\\debug" /> _doesn't_ = contain extension. =20 Your config should be like this: <appender name=3D"Root" = type=3D"log4net.Appender.RollingFileAppender"> <file value=3D"c:/log/synch/root" /> <appendToFile value=3D"true" /> <maxSizeRollBackups value=3D"10" /> <datePattern value=3D"yyyy-MM-dd.txt" /> <rollingStyle value=3D"Date" /> <staticLogFileName value=3D"false" /> <layout type=3D"log4net.Layout.PatternLayout"> <header value=3D"[Header]&#xD;&#xA;"/> <footer value=3D"[Footer]&#xD;&#xA;"/> <conversionPattern value=3D"%date = [%thread] %-5level %logger (%file:%line) - %message%newline" /> </layout> </appender> =20 Now log files will have names in form root2010-09-21.txt (for today's = date) Radovan =20 _____ =20 Od: David Gerler [mailto:[email protected]]=20 Odesl=E1no: 20. z=E1=F8=ED 2010 20:32 Komu: 'Log4NET User' P=F8edm=ECt: RE: Date Rollover filename Michael, Other than still having the .txt in the middle of the file name, it = works nicely. Well enough for our use in fact. =20 Chris, Do you have an example of how to use it? I tried: =20 <appender name=3D"Root" = type=3D"log4net.Appender.RollingFileAppender"> <file value=3D"c:/log/synch/root.txt" /> <appendToFile value=3D"true" /> <maxSizeRollBackups value=3D"10" /> <PreserveLogFileNameExtension value=3D"true"> <datePattern value=3D"yyyy-MM-dd" /> <rollingStyle value=3D"Date" /> <staticLogFileName value=3D"true" /> <layout type=3D"log4net.Layout.PatternLayout"> <header value=3D"[Header]&#xD;&#xA;"/> <footer value=3D"[Footer]&#xD;&#xA;"/> <conversionPattern value=3D"%date = [%thread] %-5level %logger (%file:%line) - %message%newline" /> </layout> </appender> =20 From: Lansdaal, Michael T [mailto:[email protected]]=20 Sent: Monday, September 20, 2010 1:00 PM To: [email protected] Subject: RE: Date Rollover filename =20 Yes - you need to set the datePattern value for the appender. Something like this =20 <appender name=3D"RollingDebugLogFileAppender" type=3D"log4net.Appender.RollingFileAppender"> <file value=3D"..\\Data\\Logs\\debug" /> <appendToFile value=3D"true" /> <rollingStyle value=3D"Composite" /> <staticLogFileName value=3D"false" /> <datePattern value=3D".yyyy-MM-dd.lo\g" /> and you would set yours to <datePattern value=3D".yyyy-MM-dd.txt" /> Hope this helps. _____ =20 From: David Gerler [mailto:[email protected]]=20 Sent: Monday, September 20, 2010 10:23 AM To: [email protected] Subject: Date Rollover filename We are using the Date rollover style for our logs. The thing we don't = like is the fact that it appends the date to the end of the filename like "root.txt20100920". We'd like to have it insert the date in the middle = like "root20100920.txt". Is that possible? =20 I have searched the documentation and can't seem to find anything. I = also tried inserting [%date] in the filename in the config file, but that = didn't work. ------=_NextPart_000_0480_01CB596C.5BD2C1F0 Content-Type: text/html; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta = http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-2"><meta name=3DGenerator content=3D"Microsoft Word = 14 (filtered medium)"><!--[if !mso]><style>v\:* = {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style><![endif]--><style><!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} p.MsoAcetate, li.MsoAcetate, div.MsoAcetate {mso-style-priority:99; mso-style-link:"Balloon Text Char"; margin:0in; margin-bottom:.0001pt; font-size:8.0pt; font-family:"Tahoma","sans-serif";} span.BalloonTextChar {mso-style-name:"Balloon Text Char"; mso-style-priority:99; mso-style-link:"Balloon Text"; font-family:"Tahoma","sans-serif";} span.EmailStyle19 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:windowtext;} span.EmailStyle20 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:#1F497D;} span.EmailStyle22 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue = vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span = style=3D'color:#1F497D'>Yes. Thank you.<o:p></o:p></span></p><p = class=3DMsoNormal><span = style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div = style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in = 0in 0in'><p class=3DMsoNormal><b><span = style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>= </b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> = Radovan Raszka [mailto:[email protected]] <br><b>Sent:</b> Tuesday, = September 21, 2010 1:16 AM<br><b>To:</b> Log4NET User<br><b>Subject:</b> = RE: Date Rollover filename<o:p></o:p></span></p></div></div><p = class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:blue'>Pl= ease notice, that &lt;file value=3D&quot;..\\Data\\Logs\\debug&quot; = /&gt; _doesn't_ contain extension.</span><span = style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'><o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'>&nbsp;<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:blue'>Yo= ur config should be like this:</span><span = style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'><o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp; &lt;appender = name=3D&quot;Root&quot; = type=3D&quot;log4net.Appender.RollingFileAppender&quot;&gt;<o:p></o:p></s= pan></p><p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong><span = style=3D'font-family:"Calibri","sans-serif"'>&lt;file = value=3D&quot;c:/log/synch/root&quot; = /&gt;</span></strong></span><strong><span = style=3D'font-family:"Calibri","sans-serif"'><o:p></o:p></span></strong><= /p><p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;appendToFile value=3D&quot;true&quot; /&gt;</span><o:p></o:p></p><p = class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;maxSizeRollBackups value=3D&quot;10&quot; = /&gt;<o:p></o:p></span></p><p class=3DMsoNormal><strong><span = style=3D'font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;datePattern value=3D&quot;yyyy-MM-dd.txt&quot; = /&gt;</span></strong><strong><span = style=3D'font-family:"Calibri","sans-serif"'><o:p></o:p></span></strong><= /p><p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;rollingStyle = value=3D&quot;Date&quot; /&gt;</span><o:p></o:p></p><p = class=3DMsoNormal><strong><span = style=3D'font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;staticLogFileName value=3D&quot;false&quot; = /&gt;</span></strong><strong><span = style=3D'font-family:"Calibri","sans-serif"'><o:p></o:p></span></strong><= /p><p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;layout = type=3D&quot;log4net.Layout.PatternLayout&quot;&gt;</span><o:p></o:p></p>= <p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp; &lt;header = value=3D&quot;[Header]&amp;#xD;&amp;#xA;&quot;/&gt;<o:p></o:p></span></p>= <p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp; &lt;footer = value=3D&quot;[Footer]&amp;#xD;&amp;#xA;&quot;/&gt;<o:p></o:p></span></p>= <p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp; &lt;conversionPattern value=3D&quot;%date [%thread] = %-5level %logger (%file:%line) - %message%newline&quot; = /&gt;<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;/layout&gt;<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp; = &lt;/appender&gt;<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'>&nbsp;<o:p></o:p></span></p><div><p = class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:blue'>No= w log files will have names in form root2010-09-21.txt (for today's = date)</span><span style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'><o:p></o:p></span></p></div><div><p = class=3DMsoNormal><span = style=3D'font-size:12.0pt;color:#1F497D'>Radovan</span><span = style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'><o:p></o:p></span></p></div><div><p = class=3DMsoNormal><span style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'><o:p>&nbsp;</o:p></span></p></div><div class=3DMsoNormal = align=3Dcenter style=3D'text-align:center'><span lang=3DCS = style=3D'font-size:12.0pt;font-family:"Times New Roman","serif"'><hr = size=3D2 width=3D"100%" align=3Dcenter></span></div><p class=3DMsoNormal = style=3D'margin-bottom:12.0pt'><b><span lang=3DCS = style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Od:</span></= b><span lang=3DCS = style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> David = Gerler [mailto:[email protected]] <br><b>Odesl=E1no:</b> 20. z=E1=F8=ED = 2010 20:32<br><b>Komu:</b> 'Log4NET User'<br><b>P=F8edm=ECt:</b> RE: = Date Rollover filename</span><span lang=3DCS = style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'><o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'color:#1F497D'>Michael,<o:p></o:p></span></p><p = class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp; Other than = still having the .txt in the middle of the file name, it works nicely. = Well enough for our use in fact.<o:p></o:p></span></p><p = class=3DMsoNormal><span = style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p = class=3DMsoNormal><span = style=3D'color:#1F497D'>Chris,<o:p></o:p></span></p><p = class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp; Do you have = an example of how to use it? I tried:<o:p></o:p></span></p><p = class=3DMsoNormal><span = style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p = class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp; = &lt;appender name=3D&quot;Root&quot; = type=3D&quot;log4net.Appender.RollingFileAppender&quot;&gt;<o:p></o:p></s= pan></p><p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;file = value=3D&quot;c:/log/synch/root.txt&quot; /&gt;<o:p></o:p></span></p><p = class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;appendToFile value=3D&quot;true&quot; /&gt;<o:p></o:p></span></p><p = class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;maxSizeRollBackups value=3D&quot;10&quot; = /&gt;<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;PreserveLogFileNameExtension = value=3D&quot;true&quot;&gt;<o:p></o:p></span></p><p = class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;datePattern = value=3D&quot;yyyy-MM-dd&quot; /&gt;<o:p></o:p></span></p><p = class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;rollingStyle = value=3D&quot;Date&quot; /&gt;<o:p></o:p></span></p><p = class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;staticLogFileName value=3D&quot;true&quot; = /&gt;<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;layout = type=3D&quot;log4net.Layout.PatternLayout&quot;&gt;<o:p></o:p></span></p>= <p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp; &lt;header = value=3D&quot;[Header]&amp;#xD;&amp;#xA;&quot;/&gt;<o:p></o:p></span></p>= <p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp; &lt;footer = value=3D&quot;[Footer]&amp;#xD;&amp;#xA;&quot;/&gt;<o:p></o:p></span></p>= <p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp; &lt;conversionPattern value=3D&quot;%date [%thread] = %-5level %logger (%file:%line) - %message%newline&quot; = /&gt;<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;/layout&gt;<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp; = &lt;/appender&gt;<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div = style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in = 0in 0in'><p class=3DMsoNormal><b><span = style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>= </b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> = Lansdaal, Michael T [mailto:[email protected]] = <br><b>Sent:</b> Monday, September 20, 2010 1:00 PM<br><b>To:</b> = [email protected]<br><b>Subject:</b> RE: Date Rollover = filename<o:p></o:p></span></p></div></div><p = class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:blue'>Ye= s - you need to set the datePattern value for the appender.&nbsp; = Something like this</span><span = style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'><o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'>&nbsp;<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:blue'>&l= t;appender name=3D&quot;RollingDebugLogFileAppender&quot; = type=3D&quot;log4net.Appender.RollingFileAppender&quot;&gt;<br>&nbsp;&nbs= p;&nbsp;&lt;file value=3D&quot;..\\Data\\Logs\\debug&quot; = /&gt;<br>&nbsp;&nbsp;&nbsp;&lt;appendToFile value=3D&quot;true&quot; = /&gt;<br>&nbsp;&nbsp;&nbsp;&lt;rollingStyle = value=3D&quot;Composite&quot; = /&gt;<br>&nbsp;&nbsp;&nbsp;&lt;staticLogFileName = value=3D&quot;false&quot; /&gt;<br>&nbsp;&nbsp;&nbsp;&lt;datePattern = value=3D&quot;.yyyy-MM-dd.lo\g&quot; /&gt;<o:p></o:p></span></p><p = class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:blue'>an= d you would set yours to</span><span = style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'><o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:blue'>&n= bsp;&nbsp;&nbsp;&lt;datePattern value=3D&quot;.yyyy-MM-dd.txt&quot; = /&gt;</span><span style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'><o:p></o:p></span></p><div><p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:blue'>Ho= pe&nbsp;this&nbsp;helps.</span><span = style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'><o:p></o:p></span></p></div><div class=3DMsoNormal = align=3Dcenter style=3D'text-align:center'><span = style=3D'font-size:12.0pt;font-family:"Times New Roman","serif"'><hr = size=3D2 width=3D"100%" align=3Dcenter></span></div><p class=3DMsoNormal = style=3D'margin-bottom:12.0pt'><b><span = style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>= </b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> = David Gerler [mailto:[email protected]] <br><b>Sent:</b> Monday, = September 20, 2010 10:23 AM<br><b>To:</b> = [email protected]<br><b>Subject:</b> Date Rollover = filename</span><span style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'><o:p></o:p></span></p><p class=3DMsoNormal>We are using = the Date rollover style for our logs. The thing we don&#8217;t like is = the fact that it appends the date to the end of the filename like = &#8220;root.txt20100920&#8221;. We&#8217;d like to have it insert the = date in the middle like &#8220;root20100920.txt&#8221;. Is that = possible?<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p = class=3DMsoNormal>I have searched the documentation and can&#8217;t seem = to find anything. I also tried inserting [%date] in the filename in the = config file, but that didn&#8217;t = work.<o:p></o:p></p></div></body></html> ------=_NextPart_000_0480_01CB596C.5BD2C1F0-- From [email protected] Tue Sep 21 14:08:53 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 27918 invoked from network); 21 Sep 2010 14:08:53 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 21 Sep 2010 14:08:53 -0000 Received: (qmail 80484 invoked by uid 500); 21 Sep 2010 14:08:53 -0000 Delivered-To: [email protected] Received: (qmail 80412 invoked by uid 500); 21 Sep 2010 14:08:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 80404 invoked by uid 99); 21 Sep 2010 14:08:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Sep 2010 14:08:51 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail-gw0-f47.google.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Sep 2010 14:08:43 +0000 Received: by gwb1 with SMTP id 1so1099094gwb.34 for <[email protected]>; Tue, 21 Sep 2010 07:08:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:references :in-reply-to:subject:date:message-id:mime-version:content-type :x-mailer:thread-index:content-language; bh=a+4TGzZsBNdMvIMZK99dyXTrP6M5zz3TDSDDdJXpXMM=; b=xeaqOYg4c0fyZ+tKeqhOzWbupLRobw4smquTlCHG39PvgJxb8T4DK/eQZ9c597bUiK U9yxQMOTSbrrj/KaYfjk+iJ5BloPpqcqYvY+2la1y/hOUJji4OfTxQbx6W3chinI+3dp V5ZDe7fiOOARxGuMwUvmp1GtUGvxMhnmQhLxQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-type:x-mailer:thread-index:content-language; b=o7cn6DEeePnG+ywtW6Ld/kU8DT7gEGdB+RXlM/4WeYofH9O04Fnwtq2sMla0STFSvb sFn+EhehhnbE6e5bJ19GX4ybdCGLfsL4movXXPsWgcAzdcqfdd3+qnm3NyZO3qaKl8dd kQN2aFVtbN42xK9JqlMZWfE1wL2TjoKXTalDM= Received: by 161.129.204.104 with SMTP id u5mr11097643anu.226.1285078102068; Tue, 21 Sep 2010 07:08:22 -0700 (PDT) Received: from DavePC (262)296-2461.dhcp.stls.mo.charter.com [161.129.204.104]) by mx.google.com with ESMTPS id c7sm14502683ana.18.2161.129.204.104.08.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 21 Sep 2010 07:08:21 -0700 (PDT) From: "David Gerler" <[email protected]> To: "'Log4NET User'" <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Subject: RE: Date Rollover filename Date: Tue, 21 Sep 2010 09:08:25 -0500 Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0485_01CB596C.8CBEDDD0" X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQHZSGLlBJml1WKXG7M1VM/HRAYs8QIrj1GnAVtZN1IBWpGTGJLZkAwQ Content-Language: en-us This is a multipart message in MIME format. ------=_NextPart_000_0485_01CB596C.8CBEDDD0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable It should be noted as well that I had to escape the t's in txt. =20 yyyy-MM-dd.\tx\t =20 From: Radovan Raszka [mailto:[email protected]]=20 Sent: Tuesday, September 21, 2010 1:16 AM To: Log4NET User Subject: RE: Date Rollover filename =20 Please notice, that <file value=3D"..\\Data\\Logs\\debug" /> _doesn't_ = contain extension. =20 Your config should be like this: <appender name=3D"Root" = type=3D"log4net.Appender.RollingFileAppender"> <file value=3D"c:/log/synch/root" /> <appendToFile value=3D"true" /> <maxSizeRollBackups value=3D"10" /> <datePattern value=3D"yyyy-MM-dd.txt" /> <rollingStyle value=3D"Date" /> <staticLogFileName value=3D"false" /> <layout type=3D"log4net.Layout.PatternLayout"> <header value=3D"[Header]&#xD;&#xA;"/> <footer value=3D"[Footer]&#xD;&#xA;"/> <conversionPattern value=3D"%date = [%thread] %-5level %logger (%file:%line) - %message%newline" /> </layout> </appender> =20 Now log files will have names in form root2010-09-21.txt (for today's = date) Radovan =20 _____ =20 Od: David Gerler [mailto:[email protected]]=20 Odesl=E1no: 20. z=E1=F8=ED 2010 20:32 Komu: 'Log4NET User' P=F8edm=ECt: RE: Date Rollover filename Michael, Other than still having the .txt in the middle of the file name, it = works nicely. Well enough for our use in fact. =20 Chris, Do you have an example of how to use it? I tried: =20 <appender name=3D"Root" = type=3D"log4net.Appender.RollingFileAppender"> <file value=3D"c:/log/synch/root.txt" /> <appendToFile value=3D"true" /> <maxSizeRollBackups value=3D"10" /> <PreserveLogFileNameExtension value=3D"true"> <datePattern value=3D"yyyy-MM-dd" /> <rollingStyle value=3D"Date" /> <staticLogFileName value=3D"true" /> <layout type=3D"log4net.Layout.PatternLayout"> <header value=3D"[Header]&#xD;&#xA;"/> <footer value=3D"[Footer]&#xD;&#xA;"/> <conversionPattern value=3D"%date = [%thread] %-5level %logger (%file:%line) - %message%newline" /> </layout> </appender> =20 From: Lansdaal, Michael T [mailto:[email protected]]=20 Sent: Monday, September 20, 2010 1:00 PM To: [email protected] Subject: RE: Date Rollover filename =20 Yes - you need to set the datePattern value for the appender. Something like this =20 <appender name=3D"RollingDebugLogFileAppender" type=3D"log4net.Appender.RollingFileAppender"> <file value=3D"..\\Data\\Logs\\debug" /> <appendToFile value=3D"true" /> <rollingStyle value=3D"Composite" /> <staticLogFileName value=3D"false" /> <datePattern value=3D".yyyy-MM-dd.lo\g" /> and you would set yours to <datePattern value=3D".yyyy-MM-dd.txt" /> Hope this helps. _____ =20 From: David Gerler [mailto:[email protected]]=20 Sent: Monday, September 20, 2010 10:23 AM To: [email protected] Subject: Date Rollover filename We are using the Date rollover style for our logs. The thing we don't = like is the fact that it appends the date to the end of the filename like "root.txt20100920". We'd like to have it insert the date in the middle = like "root20100920.txt". Is that possible? =20 I have searched the documentation and can't seem to find anything. I = also tried inserting [%date] in the filename in the config file, but that = didn't work. ------=_NextPart_000_0485_01CB596C.8CBEDDD0 Content-Type: text/html; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta = http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-2"><meta name=3DGenerator content=3D"Microsoft Word = 14 (filtered medium)"><!--[if !mso]><style>v\:* = {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style><![endif]--><style><!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} p.MsoAcetate, li.MsoAcetate, div.MsoAcetate {mso-style-priority:99; mso-style-link:"Balloon Text Char"; margin:0in; margin-bottom:.0001pt; font-size:8.0pt; font-family:"Tahoma","sans-serif";} span.BalloonTextChar {mso-style-name:"Balloon Text Char"; mso-style-priority:99; mso-style-link:"Balloon Text"; font-family:"Tahoma","sans-serif";} span.EmailStyle19 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:windowtext;} span.EmailStyle20 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:#1F497D;} span.EmailStyle22 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue = vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span = style=3D'color:#1F497D'>It should be noted as well that I had to escape = the t&#8217;s in txt.<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p = class=3DMsoNormal><strong><span = style=3D'font-family:"Calibri","sans-serif";color:#1F497D'>yyyy-MM-dd.\tx= \t</span></strong><span style=3D'color:#1F497D'><o:p></o:p></span></p><p = class=3DMsoNormal><span = style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div = style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in = 0in 0in'><p class=3DMsoNormal><b><span = style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>= </b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> = Radovan Raszka [mailto:[email protected]] <br><b>Sent:</b> Tuesday, = September 21, 2010 1:16 AM<br><b>To:</b> Log4NET User<br><b>Subject:</b> = RE: Date Rollover filename<o:p></o:p></span></p></div></div><p = class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:blue'>Pl= ease notice, that &lt;file value=3D&quot;..\\Data\\Logs\\debug&quot; = /&gt; _doesn't_ contain extension.</span><span = style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'><o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'>&nbsp;<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:blue'>Yo= ur config should be like this:</span><span = style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'><o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp; &lt;appender = name=3D&quot;Root&quot; = type=3D&quot;log4net.Appender.RollingFileAppender&quot;&gt;<o:p></o:p></s= pan></p><p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong><span = style=3D'font-family:"Calibri","sans-serif"'>&lt;file = value=3D&quot;c:/log/synch/root&quot; = /&gt;</span></strong></span><strong><span = style=3D'font-family:"Calibri","sans-serif"'><o:p></o:p></span></strong><= /p><p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;appendToFile value=3D&quot;true&quot; /&gt;</span><o:p></o:p></p><p = class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;maxSizeRollBackups value=3D&quot;10&quot; = /&gt;<o:p></o:p></span></p><p class=3DMsoNormal><strong><span = style=3D'font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;datePattern value=3D&quot;yyyy-MM-dd.txt&quot; = /&gt;</span></strong><strong><span = style=3D'font-family:"Calibri","sans-serif"'><o:p></o:p></span></strong><= /p><p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;rollingStyle = value=3D&quot;Date&quot; /&gt;</span><o:p></o:p></p><p = class=3DMsoNormal><strong><span = style=3D'font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;staticLogFileName value=3D&quot;false&quot; = /&gt;</span></strong><strong><span = style=3D'font-family:"Calibri","sans-serif"'><o:p></o:p></span></strong><= /p><p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;layout = type=3D&quot;log4net.Layout.PatternLayout&quot;&gt;</span><o:p></o:p></p>= <p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp; &lt;header = value=3D&quot;[Header]&amp;#xD;&amp;#xA;&quot;/&gt;<o:p></o:p></span></p>= <p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp; &lt;footer = value=3D&quot;[Footer]&amp;#xD;&amp;#xA;&quot;/&gt;<o:p></o:p></span></p>= <p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp; &lt;conversionPattern value=3D&quot;%date [%thread] = %-5level %logger (%file:%line) - %message%newline&quot; = /&gt;<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;/layout&gt;<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp; = &lt;/appender&gt;<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'>&nbsp;<o:p></o:p></span></p><div><p = class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:blue'>No= w log files will have names in form root2010-09-21.txt (for today's = date)</span><span style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'><o:p></o:p></span></p></div><div><p = class=3DMsoNormal><span = style=3D'font-size:12.0pt;color:#1F497D'>Radovan</span><span = style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'><o:p></o:p></span></p></div><div><p = class=3DMsoNormal><span style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'><o:p>&nbsp;</o:p></span></p></div><div class=3DMsoNormal = align=3Dcenter style=3D'text-align:center'><span lang=3DCS = style=3D'font-size:12.0pt;font-family:"Times New Roman","serif"'><hr = size=3D2 width=3D"100%" align=3Dcenter></span></div><p class=3DMsoNormal = style=3D'margin-bottom:12.0pt'><b><span lang=3DCS = style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Od:</span></= b><span lang=3DCS = style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> David = Gerler [mailto:[email protected]] <br><b>Odesl=E1no:</b> 20. z=E1=F8=ED = 2010 20:32<br><b>Komu:</b> 'Log4NET User'<br><b>P=F8edm=ECt:</b> RE: = Date Rollover filename</span><span lang=3DCS = style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'><o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'color:#1F497D'>Michael,<o:p></o:p></span></p><p = class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp; Other than = still having the .txt in the middle of the file name, it works nicely. = Well enough for our use in fact.<o:p></o:p></span></p><p = class=3DMsoNormal><span = style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p = class=3DMsoNormal><span = style=3D'color:#1F497D'>Chris,<o:p></o:p></span></p><p = class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp; Do you have = an example of how to use it? I tried:<o:p></o:p></span></p><p = class=3DMsoNormal><span = style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p = class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp; = &lt;appender name=3D&quot;Root&quot; = type=3D&quot;log4net.Appender.RollingFileAppender&quot;&gt;<o:p></o:p></s= pan></p><p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;file = value=3D&quot;c:/log/synch/root.txt&quot; /&gt;<o:p></o:p></span></p><p = class=3DMsoNormal><span style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;appendToFile value=3D&quot;true&quot; /&gt;<o:p></o:p></span></p><p = class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;maxSizeRollBackups value=3D&quot;10&quot; = /&gt;<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;PreserveLogFileNameExtension = value=3D&quot;true&quot;&gt;<o:p></o:p></span></p><p = class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;datePattern = value=3D&quot;yyyy-MM-dd&quot; /&gt;<o:p></o:p></span></p><p = class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;rollingStyle = value=3D&quot;Date&quot; /&gt;<o:p></o:p></span></p><p = class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;staticLogFileName value=3D&quot;true&quot; = /&gt;<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;layout = type=3D&quot;log4net.Layout.PatternLayout&quot;&gt;<o:p></o:p></span></p>= <p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp; &lt;header = value=3D&quot;[Header]&amp;#xD;&amp;#xA;&quot;/&gt;<o:p></o:p></span></p>= <p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp; &lt;footer = value=3D&quot;[Footer]&amp;#xD;&amp;#xA;&quot;/&gt;<o:p></o:p></span></p>= <p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp; &lt;conversionPattern value=3D&quot;%date [%thread] = %-5level %logger (%file:%line) - %message%newline&quot; = /&gt;<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;/layout&gt;<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp; = &lt;/appender&gt;<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div = style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in = 0in 0in'><p class=3DMsoNormal><b><span = style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>= </b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> = Lansdaal, Michael T [mailto:[email protected]] = <br><b>Sent:</b> Monday, September 20, 2010 1:00 PM<br><b>To:</b> = [email protected]<br><b>Subject:</b> RE: Date Rollover = filename<o:p></o:p></span></p></div></div><p = class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:blue'>Ye= s - you need to set the datePattern value for the appender.&nbsp; = Something like this</span><span = style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'><o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'>&nbsp;<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:blue'>&l= t;appender name=3D&quot;RollingDebugLogFileAppender&quot; = type=3D&quot;log4net.Appender.RollingFileAppender&quot;&gt;<br>&nbsp;&nbs= p;&nbsp;&lt;file value=3D&quot;..\\Data\\Logs\\debug&quot; = /&gt;<br>&nbsp;&nbsp;&nbsp;&lt;appendToFile value=3D&quot;true&quot; = /&gt;<br>&nbsp;&nbsp;&nbsp;&lt;rollingStyle = value=3D&quot;Composite&quot; = /&gt;<br>&nbsp;&nbsp;&nbsp;&lt;staticLogFileName = value=3D&quot;false&quot; /&gt;<br>&nbsp;&nbsp;&nbsp;&lt;datePattern = value=3D&quot;.yyyy-MM-dd.lo\g&quot; /&gt;<o:p></o:p></span></p><p = class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:blue'>an= d you would set yours to</span><span = style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'><o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:blue'>&n= bsp;&nbsp;&nbsp;&lt;datePattern value=3D&quot;.yyyy-MM-dd.txt&quot; = /&gt;</span><span style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'><o:p></o:p></span></p><div><p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";color:blue'>Ho= pe&nbsp;this&nbsp;helps.</span><span = style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'><o:p></o:p></span></p></div><div class=3DMsoNormal = align=3Dcenter style=3D'text-align:center'><span = style=3D'font-size:12.0pt;font-family:"Times New Roman","serif"'><hr = size=3D2 width=3D"100%" align=3Dcenter></span></div><p class=3DMsoNormal = style=3D'margin-bottom:12.0pt'><b><span = style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>= </b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> = David Gerler [mailto:[email protected]] <br><b>Sent:</b> Monday, = September 20, 2010 10:23 AM<br><b>To:</b> = [email protected]<br><b>Subject:</b> Date Rollover = filename</span><span style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'><o:p></o:p></span></p><p class=3DMsoNormal>We are using = the Date rollover style for our logs. The thing we don&#8217;t like is = the fact that it appends the date to the end of the filename like = &#8220;root.txt20100920&#8221;. We&#8217;d like to have it insert the = date in the middle like &#8220;root20100920.txt&#8221;. Is that = possible?<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p = class=3DMsoNormal>I have searched the documentation and can&#8217;t seem = to find anything. I also tried inserting [%date] in the filename in the = config file, but that didn&#8217;t = work.<o:p></o:p></p></div></body></html> ------=_NextPart_000_0485_01CB596C.8CBEDDD0-- From [email protected] Wed Sep 22 06:11:02 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63606 invoked from network); 22 Sep 2010 06:11:02 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 22 Sep 2010 06:11:02 -0000 Received: (qmail 34270 invoked by uid 500); 22 Sep 2010 06:11:02 -0000 Delivered-To: [email protected] Received: (qmail 33890 invoked by uid 500); 22 Sep 2010 06:10:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 33864 invoked by uid 99); 22 Sep 2010 06:10:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Sep 2010 06:10:58 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [161.129.204.104] (HELO main.hasam.cz) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Sep 2010 06:10:51 +0000 Subject: RE: Date Rollover filename MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CB5A1C.DA89CB14" Date: Wed, 22 Sep 2010 08:10:28 +0200 Content-class: urn:content-classes:message Message-ID: <[email protected]> X-MimeOLE: Produced By Microsoft Exchange V6.5 In-Reply-To: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Date Rollover filename Thread-Index: AQHZSGLlBJml1WKXG7M1VM/HRAYs8QIrj1GnAVtZN1IBWpGTGJLZkAwQgAEMWrA= References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> From: "Radovan Raszka" <[email protected]> To: "Log4NET User" <[email protected]> This is a multi-part message in MIME format. ------_=_NextPart_001_01CB5A1C.DA89CB14 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Yes, I didn't tested suggested configuration, but some chars used as = standard formatting strings must be escaped in order to preserve them. ________________________________ Od: David Gerler [mailto:[email protected]]=20 Odesl=E1no: 21. z=E1=F8=ED 2010 16:08 Komu: 'Log4NET User' P=F8edm=ECt: RE: Date Rollover filename It should be noted as well that I had to escape the t's in txt. =20 yyyy-MM-dd.\tx\t =20 From: Radovan Raszka [mailto:[email protected]]=20 Sent: Tuesday, September 21, 2010 1:16 AM To: Log4NET User Subject: RE: Date Rollover filename =20 Please notice, that <file value=3D"..\\Data\\Logs\\debug" /> _doesn't_ = contain extension. =20 Your config should be like this: <appender name=3D"Root" = type=3D"log4net.Appender.RollingFileAppender"> <file value=3D"c:/log/synch/root" /> <appendToFile value=3D"true" /> <maxSizeRollBackups value=3D"10" /> <datePattern value=3D"yyyy-MM-dd.txt" /> <rollingStyle value=3D"Date" /> <staticLogFileName value=3D"false" /> <layout type=3D"log4net.Layout.PatternLayout"> <header value=3D"[Header]&#xD;&#xA;"/> <footer value=3D"[Footer]&#xD;&#xA;"/> <conversionPattern value=3D"%date = [%thread] %-5level %logger (%file:%line) - %message%newline" /> </layout> </appender> =20 Now log files will have names in form root2010-09-21.txt (for today's = date) Radovan =20 ------_=_NextPart_001_01CB5A1C.DA89CB14 Content-Type: text/html; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML xmlns=3D"http://www.w3.org/TR/REC-html40" xmlns:v =3D=20 "urn:schemas-microsoft-com:vml" xmlns:o =3D=20 "urn:schemas-microsoft-com:office:office" xmlns:w =3D=20 "urn:schemas-microsoft-com:office:word" xmlns:m =3D=20 "http://schemas.microsoft.com/office/2004/12/omml"><HEAD> <META content=3D"text/html; charset=3Diso-8859-2" = http-equiv=3DContent-Type> <META name=3DGENERATOR content=3D"MSHTML 8.00.6001.18939"><!--[if !mso]> <STYLE>v\:* { BEHAVIOR: url(#default#VML) } o\:* { BEHAVIOR: url(#default#VML) } w\:* { BEHAVIOR: url(#default#VML) } .shape { BEHAVIOR: url(#default#VML) } </STYLE> <![endif]--> <STYLE>@font-face { font-family: Calibri; } @font-face { font-family: Tahoma; } @page WordSection1 {size: 8.5in 11.0in; margin: 1.0in 1.0in 1.0in 1.0in; = } P.MsoNormal { MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: = 11pt } LI.MsoNormal { MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: = 11pt } DIV.MsoNormal { MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: = 11pt } A:link { COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99 } SPAN.MsoHyperlink { COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99 } A:visited { COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99 } SPAN.MsoHyperlinkFollowed { COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99 } P.MsoAcetate { MARGIN: 0in 0in 0pt; FONT-FAMILY: "Tahoma","sans-serif"; FONT-SIZE: = 8pt; mso-style-priority: 99; mso-style-link: "Balloon Text Char" } LI.MsoAcetate { MARGIN: 0in 0in 0pt; FONT-FAMILY: "Tahoma","sans-serif"; FONT-SIZE: = 8pt; mso-style-priority: 99; mso-style-link: "Balloon Text Char" } DIV.MsoAcetate { MARGIN: 0in 0in 0pt; FONT-FAMILY: "Tahoma","sans-serif"; FONT-SIZE: = 8pt; mso-style-priority: 99; mso-style-link: "Balloon Text Char" } SPAN.BalloonTextChar { FONT-FAMILY: "Tahoma","sans-serif"; mso-style-priority: 99; = mso-style-link: "Balloon Text"; mso-style-name: "Balloon Text Char" } SPAN.EmailStyle19 { FONT-FAMILY: "Calibri","sans-serif"; COLOR: windowtext; mso-style-type: = personal } SPAN.EmailStyle20 { FONT-FAMILY: "Calibri","sans-serif"; COLOR: #1f497d; mso-style-type: = personal } SPAN.EmailStyle22 { FONT-FAMILY: "Calibri","sans-serif"; COLOR: #1f497d; mso-style-type: = personal-reply } .MsoChpDefault { FONT-SIZE: 10pt; mso-style-type: export-only } DIV.WordSection1 { page: WordSection1 } </STYLE> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--></HEAD> <BODY lang=3DEN-US link=3Dblue vLink=3Dpurple> <DIV dir=3Dltr align=3Dleft><SPAN class=3D279540706-22092010><FONT = color=3D#0000ff=20 size=3D2 face=3DArial>Yes, I didn't tested suggested configuration, but = some chars=20 used as standard formatting strings must be escaped in order to preserve = them.</FONT></SPAN></DIV><BR> <DIV dir=3Dltr lang=3Dcs class=3DOutlookMessageHeader align=3Dleft> <HR tabIndex=3D-1> <FONT size=3D2 face=3DTahoma><B>Od:</B> David Gerler = [mailto:[email protected]]=20 <BR><B>Odesl=E1no:</B> 21. z=E1=F8=ED 2010 16:08<BR><B>Komu:</B> = 'Log4NET=20 User'<BR><B>P=F8edm=ECt:</B> RE: Date Rollover = filename<BR></FONT><BR></DIV> <DIV></DIV> <DIV class=3DWordSection1> <P class=3DMsoNormal><SPAN style=3D"COLOR: #1f497d">It should be noted = as well that=20 I had to escape the t&#8217;s in txt.<o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN style=3D"COLOR: = #1f497d"><o:p>&nbsp;</o:p></SPAN></P> <P class=3DMsoNormal><STRONG><SPAN=20 style=3D"FONT-FAMILY: 'Calibri','sans-serif'; COLOR: = #1f497d">yyyy-MM-dd.\tx\t</SPAN></STRONG><SPAN=20 style=3D"COLOR: #1f497d"><o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN style=3D"COLOR: = #1f497d"><o:p>&nbsp;</o:p></SPAN></P> <DIV> <DIV=20 style=3D"BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; = PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: = #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"> <P class=3DMsoNormal><B><SPAN=20 style=3D"FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: = 10pt">From:</SPAN></B><SPAN=20 style=3D"FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"> Radovan = Raszka=20 [mailto:[email protected]] <BR><B>Sent:</B> Tuesday, September 21, 2010 = 1:16=20 AM<BR><B>To:</B> Log4NET User<BR><B>Subject:</B> RE: Date Rollover=20 filename<o:p></o:p></SPAN></P></DIV></DIV> <P class=3DMsoNormal><o:p>&nbsp;</o:p></P> <P class=3DMsoNormal><SPAN=20 style=3D"FONT-FAMILY: 'Arial','sans-serif'; COLOR: blue; FONT-SIZE: = 10pt">Please=20 notice, that &lt;file value=3D"..\\Data\\Logs\\debug" /&gt; _doesn't_ = contain=20 extension.</SPAN><SPAN=20 style=3D"FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: = 12pt"><o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN=20 style=3D"FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: = 12pt">&nbsp;<o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN=20 style=3D"FONT-FAMILY: 'Arial','sans-serif'; COLOR: blue; FONT-SIZE: = 10pt">Your=20 config should be like this:</SPAN><SPAN=20 style=3D"FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: = 12pt"><o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN style=3D"COLOR: #1f497d">&nbsp;&nbsp;&nbsp; = &lt;appender=20 name=3D"Root"=20 type=3D"log4net.Appender.RollingFileAppender"&gt;<o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN style=3D"COLOR: = #1f497d">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <STRONG><SPAN=20 style=3D"FONT-FAMILY: 'Calibri','sans-serif'">&lt;file = value=3D"c:/log/synch/root"=20 /&gt;</SPAN></STRONG></SPAN><STRONG><SPAN=20 style=3D"FONT-FAMILY: = 'Calibri','sans-serif'"><o:p></o:p></SPAN></STRONG></P> <P class=3DMsoNormal><SPAN style=3D"COLOR: = #1f497d">&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;appendToFile=20 value=3D"true" /&gt;</SPAN><o:p></o:p></P> <P class=3DMsoNormal><SPAN style=3D"COLOR: = #1f497d">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;maxSizeRollBackups=20 value=3D"10" /&gt;<o:p></o:p></SPAN></P> <P class=3DMsoNormal><STRONG><SPAN=20 style=3D"FONT-FAMILY: 'Calibri','sans-serif'; COLOR: = #1f497d">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;datePattern=20 value=3D"yyyy-MM-dd.txt" /&gt;</SPAN></STRONG><STRONG><SPAN=20 style=3D"FONT-FAMILY: = 'Calibri','sans-serif'"><o:p></o:p></SPAN></STRONG></P> <P class=3DMsoNormal><SPAN style=3D"COLOR: = #1f497d">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;rollingStyle=20 value=3D"Date" /&gt;</SPAN><o:p></o:p></P> <P class=3DMsoNormal><STRONG><SPAN=20 style=3D"FONT-FAMILY: 'Calibri','sans-serif'; COLOR: = #1f497d">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;staticLogFileName=20 value=3D"false" /&gt;</SPAN></STRONG><STRONG><SPAN=20 style=3D"FONT-FAMILY: = 'Calibri','sans-serif'"><o:p></o:p></SPAN></STRONG></P> <P class=3DMsoNormal><SPAN style=3D"COLOR: = #1f497d">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;layout=20 type=3D"log4net.Layout.PatternLayout"&gt;</SPAN><o:p></o:p></P> <P class=3DMsoNormal><SPAN=20 style=3D"COLOR: #1f497d">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;=20 &lt;header = value=3D"[Header]&amp;#xD;&amp;#xA;"/&gt;<o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN=20 style=3D"COLOR: #1f497d">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;=20 &lt;footer = value=3D"[Footer]&amp;#xD;&amp;#xA;"/&gt;<o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN=20 style=3D"COLOR: #1f497d">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;=20 &lt;conversionPattern value=3D"%date [%thread] %-5level %logger = (%file:%line) -=20 %message%newline" /&gt;<o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN style=3D"COLOR: = #1f497d">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20 &lt;/layout&gt;<o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN style=3D"COLOR: #1f497d">&nbsp;&nbsp;&nbsp;=20 &lt;/appender&gt;<o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN=20 style=3D"FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: = 12pt">&nbsp;<o:p></o:p></SPAN></P> <DIV> <P class=3DMsoNormal><SPAN=20 style=3D"FONT-FAMILY: 'Arial','sans-serif'; COLOR: blue; FONT-SIZE: = 10pt">Now log=20 files will have names in form root2010-09-21.txt (for today's = date)</SPAN><SPAN=20 style=3D"FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: = 12pt"><o:p></o:p></SPAN></P></DIV> <DIV> <P class=3DMsoNormal><SPAN=20 style=3D"COLOR: #1f497d; FONT-SIZE: 12pt">Radovan</SPAN><SPAN=20 style=3D"FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: = 12pt"><o:p></o:p></SPAN></P></DIV> <DIV> <P class=3DMsoNormal><SPAN=20 style=3D"FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: = 12pt"><o:p>&nbsp;</o:p></SPAN></P></DIV></DIV></BODY></HTML> ------_=_NextPart_001_01CB5A1C.DA89CB14-- From [email protected] Mon Sep 27 17:50:45 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 72086 invoked from network); 27 Sep 2010 17:50:45 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 27 Sep 2010 17:50:45 -0000 Received: (qmail 234 invoked by uid 500); 27 Sep 2010 17:50:44 -0000 Delivered-To: [email protected] Received: (qmail 138 invoked by uid 500); 27 Sep 2010 17:50:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 99731 invoked by uid 99); 27 Sep 2010 17:50:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Sep 2010 17:50:43 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO kuber.nabble.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Sep 2010 17:50:38 +0000 Received: from isper.nabble.com ([161.129.204.104]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <[email protected]>) id 1P0HqD-00063u-CV for [email protected]; Mon, 27 Sep 2010 10:50:17 -0700 Message-ID: <[email protected]> Date: Mon, 27 Sep 2010 10:50:17 -0700 (PDT) From: Lathendra Uddaraju <[email protected]> To: [email protected] Subject: Log4Net with WCF Service is not writting the Log file. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: [email protected] X-Virus-Checked: Checked by ClamAV on apache.org Hai All, I have WCF Service which is hosted in IIS 7.5 and I am using Log4Net for logging errors that are raised in the WCF Service. I have all the setting configured properly in my application as per the Log4Net samples configuration. My application is working when I am using VS 2010 application server. But when I host the same Service in Windows 7 IIS 7.5 the log is being created with out any exception but there is no data in the log file. One more thing is I have kept the Debugger in the ErrorLogger file of the Log4Net and seen all the values there, every thing is fine and I can see all the values are properly going till the last moment but in the log file nothing is present. I am unable to understand why the service is not able to write the file in the specified path which is mentioned in the web.config file. The Log4Net settings in the Presentation Layer is as follows. <log4net> <!-- Log4Net Appender for logging to Log file --> <appender name="RollingFile" type="log4net.Appender.FileAppender"> <file value="D:\_log\EdgeLog.log" /> <appendToFile value="true" /> <maximumFileSize value="1024KB" /> <maxSizeRollBackups value="10" /> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value=" ----------------------------------- %newlineDate of Error: %date{yyyy-MM-dd HH:mm:ss} | Error Level: %level | Logger: %logger | Domain Con: [%property{NDC}] | %newline%message%%newline ------------------------------------ %newline" /> </layout> </appender> <!-- Log4Net Appender for sending email with the error details --> <appender name="SmtpAppender" type="log4net.Appender.SmtpAppender"> <to value="[email protected]" /> <from value="[email protected]" /> <subject value="Sales Application Exception" /> <smtpHost value="smtp.pmusa.net" /> <bufferSize value="102400" /> <lossy value="true" /> <evaluator type="log4net.Core.LevelEvaluator"> <threshold value="WARN" /> </evaluator> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value=" --------------------------------- Sales Edge Web Framework --------------------------------- %newline%newlineDate of Error: %date{yyyy-MM-dd HH:mm:ss} %newline Error Level: %level %newline Logger: %logger %newline Diag Context: [%property{NDC}] %newline Domain: %appdomain %newline%message%newline -------------------------------------------------------------------------------------------- %newline" /> </layout> </appender> <root> <!-- Configure the levels based on which logging will be done --> <level value="ALL" /> <appender-ref ref="RollingFile" /> <appender-ref ref="SmtpAppender" /> </root> </log4net> The WCF Service Method where I am raising the exception is as follows. public stringGetAllTerritories() { string result = string.Empty; TerritoryBL territoryBL = new TerritoryBL(); try { result = territoryBL.GenerateTerritoryXML(); //return result; throw new Exception("Log4Net Testing with WCF Service - Execption"); } catch (Exception ex) { ErrorLogger.ReportError("Exception in WCF Service", ex, LogErrorType.Error); return result; } finally { territoryBL = null; } } In the catch block I am catching the exception and logging the error message in the Log file. Even though the file is not present in the specified location, the file is created by the hosted service but when I open the file after the running the code, there is nothing in the file and size of the file is 0 KB. I strongly believe that I am missing some permission for the folder where the log file is being written. I tried with the following users with Full Control, but the service is not writing to the log file. ASP.NET <computername>\IIS_IUSRS Thanks in Advance ... -- View this message in context: http://old.nabble.com/Log4Net-with-WCF-Service-is-not-writting-the-Log-file.-tp29816712p29816712.html Sent from the Log4net - Users mailing list [email protected]. From [email protected] Thu Sep 30 14:42:04 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54494 invoked from network); 30 Sep 2010 14:42:04 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 30 Sep 2010 14:42:04 -0000 Received: (qmail 6344 invoked by uid 500); 30 Sep 2010 14:42:04 -0000 Delivered-To: [email protected] Received: (qmail 5980 invoked by uid 500); 30 Sep 2010 14:42:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk list-help: <mailto:[email protected]> list-unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> Reply-To: "Log4NET User" <[email protected]> List-Id: <log4net-user.logging.apache.org> Delivered-To: mailing list [email protected] Received: (qmail 5972 invoked by uid 99); 30 Sep 2010 14:42:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Sep 2010 14:42:01 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO mail95.messagelabs.com) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Sep 2010 14:41:52 +0000 X-VirusChecked: Checked X-Env-Sender: [email protected] X-Msg-Ref: server-2.tower-95.messagelabs.com!1285857687!79160889!1 X-StarScan-Version: 6.2.4; banners=-,-,- X-Originating-IP: [161.129.204.104] Received: (qmail 14523 invoked from network); 30 Sep 2010 14:41:28 -0000 Received: from mail.pncbank.com (HELO imr11.pncbank.com) (161.129.204.104) by server-2.tower-95.messagelabs.com with DHE-RSA-AES256-SHA encrypted SMTP; 30 Sep 2010 14:41:28 -0000 Received: from vwall11.pncbank.com (DMZ-170-201-180-15.pncbank.com [161.129.204.104]) by imr11.pncbank.com (Switch-3.4.0/Switch-3.4.0) with ESMTP id o8UEfQG9019064 for <[email protected]>; Thu, 30 Sep 2010 10:41:26 -0400 Received: from pncbank.com (PPSWPADLP03.pncbank.com [161.129.204.104]) by vwall11.pncbank.com (8.14.3/8.14.3) with ESMTP id o8UEfQE0006285 for <[email protected]>; Thu, 30 Sep 2010 10:41:26 -0400 Received: from vwall11 (vwall11 [161.129.204.104]) by pps.rte_to_v (8.14.1/8.14.1) with SMTP id o8UEeB6a003222 for <[email protected]>; Thu, 30 Sep 2010 10:41:26 -0400 Received: from ppntmm24.pncbank.com (PPNTMM24.pncbank.com [161.129.204.104]) by vwall11.pncbank.com with ESMTP id o8UEfP8H006254 for <[email protected]>; Thu, 30 Sep 2010 10:41:26 -0400 In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> Subject: Is there an SMTP appender limit X-KeepSent: E36520E6:40B98AA4-852577AE:004FECD2; type=4; name=$KeepSent To: "Log4NET User" <[email protected]> X-Mailer: Lotus Notes Release 8.5 December 05, 2008 Message-ID: <[email protected]> From: [email protected] Date: Thu, 30 Sep 2010 10:41:19 -0400 X-MIMETrack: Serialize by Router on PNCPGHM24/PGH/MAIL/PNC(Release 8.5.1FP3|May 23, 2010) at 09/30/2010 10:41:26 AM MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=nai engine=5400 definitions=6121 signatures=640124 X-Proofpoint-Virus-Version: vendor=nai engine=5400 definitions=6121 signatures=640124 Content-Type: text/plain; charset="ISO-8859-1" X-CFilter-Loop: Reflected X-Virus-Checked: Checked by ClamAV on apache.org Just curious if there is any limit for the "to value" for the SmtpAppender. I have about 10 emails I need to put in the to value, so is that ok? Thanks, Harry The contents of this email are the property of PNC. If it was not addressed to you, you have no legal right to read it. If you think you received it in error, please notify the sender. Do not forward or copy without permission of the sender. This message may contain an advertisement of a product or service and thus may constitute a commercial electronic mail message under US Law. The postal address for PNC is 249 Fifth Avenue, Pittsburgh, PA 15222. If you do not wish to receive any additional advertising or promotional messages from PNC at this e-mail address, click here to unsubscribe. https://pnc.p.delivery.net/m/u/pnc/uni/p.asp By unsubscribing to this message, you will be unsubscribed from all advertising or promotional messages from PNC. Removing your e-mail address from this mailing list will not affect your subscription to alerts, e-newsletters or account servicing e-mails.
From [email protected] Tue Apr 12 08:13:28 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47268 invoked from network); 12 Apr 2011 08:13:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 12 Apr 2011 08:13:28 -0000 Received: (qmail 22711 invoked by uid 500); 12 Apr 2011 08:13:28 -0000 Delivered-To: [email protected] Received: (qmail 22687 invoked by uid 500); 12 Apr 2011 08:13:24 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.continuum.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 22650 invoked by uid 99); 12 Apr 2011 08:13:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Apr 2011 08:13:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmbuild.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Apr 2011 08:13:18 +0000 Received: from vmbuild (localhost [161.129.204.104]) by vmbuild.apache.org (8.14.3/8.14.3/Debian-9.1ubuntu1) with ESMTP id p3C8CvkW003840; Tue, 12 Apr 2011 08:12:58 GMT Date: Tue, 12 Apr 2011 08:12:57 +0000 (UTC) From: "Continuum@vmbuild" <[email protected]> To: [email protected] To: [email protected] To: [email protected] To: [email protected] To: [email protected] Message-ID: <801937419.01302595978095.JavaMail.continuum@vmbuild> Subject: [continuum] BUILD SUCCESSFUL: Continuum (trunk) - Continuum acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b Project - Default Maven 2 Build Definition MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Continuum-Build-Host: vmbuild X-Continuum-Project-Id: 11 X-Continuum-Project-Name: Continuum acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b Project Online report : http://vmbuild.apache.org/continuum/buildResult.action?buildId=7213&projectId=11 Build statistics: State: Ok Previous State: Building Started at: Tue 12 Apr 2011 07:55:12 +0000 Finished at: Tue 12 Apr 2011 08:12:32 +0000 Total time: 17m 20s Build Trigger: Schedule Build Number: 48 Exit code: 0 Building machine hostname: vmbuild Operating system : Linux(unknown) Java Home version : java version "1.6.0_22" Java(TM) SE Runtime Environment (build 1.6.0_22-b04) Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode) Builder version : Apache Maven 2.2.1 (r801777; 2009-08-06 19:16:01+0000) Java version: 1.6.0_22 Java home: /usr/lib/jvm/java-6-sun-161.129.204.104/jre Default locale: en_US, platform encoding: ANSI_X3.4-1968 OS name: "linux" version: "2.6.32-27-server" arch: "amd64" Family: "unix" **************************************************************************** SCM Changes: **************************************************************************** Changed: brett @ Tue 12 Apr 2011 05:14:08 +0000 Comment: [CONTINUUM-2621] upgraded to Redback 1.2.8-SNAPSHOT to get CSRF fixes in user mgnt [CONTINUUM-2622] o added CSRF checks for delete actions and some save actions o added selenium tests for CSRF checks Merged from: r1091025:1091284 Files changed: /continuum/trunk ( 1091297 ) /continuum/trunk/continuum-api/src/main/java/org/apache/continuum/taskqueue/BuildProjectTask.java ( 1091297 ) /continuum/trunk/continuum-api/src/main/java/org/apache/continuum/taskqueue/CheckOutTask.java ( 1091297 ) /continuum/trunk/continuum-api/src/main/java/org/apache/continuum/taskqueue/PrepareBuildProjectsTask.java ( 1091297 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/build/execution/manager/BuildAgentBuildExecutorManager.java ( 1091297 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/build/execution/manager/DefaultBuildAgentBuildExecutorManager.java ( 1091297 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/build/execution/maven/m1 ( 1091297 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/build/execution/maven/m2/BuildAgentMavenBuilderHelper.java ( 1091297 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/build/execution/maven/m2/DefaultBuildAgentMavenBuilderHelper.java ( 1091297 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/configuration/BuildAgentConfiguration.java ( 1091297 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/configuration/BuildAgentConfigurationException.java ( 1091297 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/configuration/BuildAgentConfigurationService.java ( 1091297 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/configuration/DefaultBuildAgentConfiguration.java ( 1091297 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/configuration/DefaultBuildAgentConfigurationService.java ( 1091297 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/configuration/GeneralBuildAgentConfiguration.java ( 1091297 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/installation/BuildAgentInstallationService.java ( 1091297 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/installation/DefaultBuildAgentInstallationService.java ( 1091297 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/manager/BuildAgentManager.java ( 1091297 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/manager/DefaultBuildAgentManager.java ( 1091297 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/taskqueue/manager/BuildAgentTaskQueueManager.java ( 1091297 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/taskqueue/manager/DefaultBuildAgentTaskQueueManager.java ( 1091297 ) /continuum/trunk/continuum-builder/src/main/java/org/apache/continuum/builder/distributed/executor/DistributedBuildProjectTaskExecutor.java ( 1091297 ) /continuum/trunk/continuum-builder/src/main/java/org/apache/continuum/builder/distributed/executor/ThreadedDistributedBuildTaskQueueExecutor.java ( 1091297 ) /continuum/trunk/continuum-data-management/data-management-cli ( 1091297 ) /continuum/trunk/continuum-docs ( 1091297 ) /continuum/trunk/continuum-docs/src/site/xdoc ( 1091297 ) /continuum/trunk/continuum-model/src/main/resources/package-default.orm ( 1091297 ) /continuum/trunk/continuum-webapp/src/main/java/org/apache/continuum/web/action/admin/BuildAgentAction.java ( 1091297 ) /continuum/trunk/continuum-webapp/src/main/resources/struts.xml ( 1091297 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/appearance.jsp ( 1091297 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/buildAgentsList.jsp ( 1091297 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/buildDefinitionTemplateSummary.jsp ( 1091297 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/confirmDeleteBuildAgent.jsp ( 1091297 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/confirmDeleteBuildAgentGroup.jsp ( 1091297 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/confirmDeleteBuildDefinitionTemplate.jsp ( 1091297 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/confirmDeleteBuildEnv.jsp ( 1091297 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/confirmDeleteBuildQueue.jsp ( 1091297 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/confirmDeleteInstallation.jsp ( 1091297 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/confirmDeleteLocalRepository.jsp ( 1091297 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/confirmDeletePurgeConfiguration.jsp ( 1091297 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/editPom.jsp ( 1091297 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/localRepositoriesList.jsp ( 1091297 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/parallelbuilds.jsp ( 1091297 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/purgeConfigurationsList.jsp ( 1091297 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/buildResult.jsp ( 1091297 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/buildResults.jsp ( 1091297 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/buildDefinitionGroupSummaryComponent.jsp ( 1091297 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/buildDefinitionSummaryComponent.jsp ( 1091297 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/projectSummaryComponent.jsp ( 1091297 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/confirmBuildDefinitionRemoval.jsp ( 1091297 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/confirmBuildResultsRemoval.jsp ( 1091297 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/confirmGroupRemoval.jsp ( 1091297 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/confirmReleaseResultsRemoval.jsp ( 1091297 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/confirmScheduleRemoval.jsp ( 1091297 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/deleteBuildDefinition.jsp ( 1091297 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/deleteProject.jsp ( 1091297 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/groupSummary.jsp ( 1091297 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/notifier/deleteNotifier.jsp ( 1091297 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectGroupMembers.jsp ( 1091297 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectGroupReleaseResults.jsp ( 1091297 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectGroupSummary.jsp ( 1091297 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/schedules.jsp ( 1091297 ) /continuum/trunk/continuum-webapp-test/src/test/selenium-ide ( 1091297 ) /continuum/trunk/continuum-webapp-test/src/test/testng/config/testng.xml ( 1091297 ) /continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/CSRFSecurityTest.java (from /continuum/branches/continuum-1.3.x/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/CSRFSecurityTest.java:1091290) ( 1091297 ) /continuum/trunk/src/site ( 1091297 ) Changed: batkinson @ Mon 11 Apr 2011 12:58:12 +0000 Comment: [CONTINUUM-2591] Git builds can't properly release or checkout on branch Updated git-scm to include fixes required for proper checkout on a branch. Updated the release manager, and added a workaround for detecting current branch from working copy for releases to work properly. Files changed: /continuum/trunk/continuum-release/pom.xml ( 1091054 ) /continuum/trunk/continuum-release/src/main/java/org/apache/continuum/release/phase/RunPrepareGoalsPhase.java ( 1091054 ) /continuum/trunk/continuum-release/src/main/java/org/apache/maven/continuum/release/phase/UpdateWorkingCopyPhase.java ( 1091054 ) /continuum/trunk/pom.xml ( 1091054 ) Changed: ctan @ Thu 17 Mar 2011 11:46:30 +0000 Comment: [CONTINUUM-2617] cancel a project build for distributed builds Submitted By: John Michael Luy Files changed: /continuum/trunk/continuum-api/src/main/java/org/apache/continuum/builder/distributed/manager/DistributedBuildManager.java ( 1082448 ) /continuum/trunk/continuum-core/src/main/java/org/apache/continuum/builder/distributed/manager/DefaultDistributedBuildManager.java ( 1082448 ) /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-api/src/main/java/org/apache/maven/continuum/xmlrpc/ContinuumService.java ( 1082448 ) /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-client/src/main/java/org/apache/maven/continuum/xmlrpc/client/ContinuumXmlRpcClient.java ( 1082448 ) /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumServiceImpl.java ( 1082448 ) Changed: ctan @ Thu 17 Mar 2011 07:28:50 +0000 Comment: [CONTINUUM-2616] set project's old state to the its current state so when the build is cancelled, project will be set to it's previous state Files changed: /continuum/trunk/continuum-core/src/main/java/org/apache/continuum/builder/distributed/DefaultDistributedBuildService.java ( 1082418 ) Changed: jzurbano @ Tue 15 Mar 2011 13:14:51 +0000 Comment: [CONTINUUM-2613] Add xmlrpc service method overload for buildProject that accepts projectId, buildDefinitionId, and buildTrigger as the parameters * applied patch * minor modifications made ** corrected typo "defintion" ** refactored unit test Submitted by: Warner B. Pi?\195?\177ero Files changed: /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-api/src/main/java/org/apache/maven/continuum/xmlrpc/ContinuumService.java ( 1081766 ) /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-client/src/main/java/org/apache/maven/continuum/xmlrpc/client/ContinuumXmlRpcClient.java ( 1081766 ) /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumServiceImpl.java ( 1081766 ) /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/test/java/org/apache/continuum/xmlrpc/server/ContinuumServiceImplStub.java ( 1081766 ) /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/test/java/org/apache/continuum/xmlrpc/server/ContinuumServiceImplTest.java ( 1081766 ) Changed: ctan @ Fri 11 Mar 2011 08:56:19 +0000 Comment: [2611] ability to set useCredentialCached when adding a maven two project through XMLRPC Submitted By: Efraim Lorenz Longkines Files changed: /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-api/src/main/java/org/apache/maven/continuum/xmlrpc/ContinuumService.java ( 1080490 ) /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-client/src/main/java/org/apache/maven/continuum/xmlrpc/client/ContinuumXmlRpcClient.java ( 1080490 ) /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumServiceImpl.java ( 1080490 ) Changed: ctan @ Wed 2 Mar 2011 12:08:33 +0000 Comment: fixed grammar Files changed: /continuum/trunk/continuum-commons/src/main/java/org/apache/maven/continuum/configuration/DefaultConfigurationService.java ( 1076185 ) Changed: ctan @ Tue 15 Feb 2011 01:55:05 +0000 Comment: [CONTINUUM-2610] explicitly activate profile in profile manager when argument has -P Files changed: /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/configuration/DefaultBuildAgentConfigurationService.java ( 1070743 ) /continuum/trunk/continuum-release/src/main/java/org/apache/maven/continuum/release/phase/GenerateReactorProjectsPhase.java ( 1070743 ) /continuum/trunk/continuum-release/src/test/java/org/apache/maven/continuum/release/executors/ReleaseTaskExecutorTest.java ( 1070743 ) /continuum/trunk/continuum-release/src/test/scm/db/current ( 1070743 ) /continuum/trunk/continuum-release/src/test/scm/db/revprops/6 ( 1070743 ) /continuum/trunk/continuum-release/src/test/scm/db/revs/6 ( 1070743 ) Changed: ctan @ Thu 10 Feb 2011 07:04:50 +0000 Comment: [CONTINUUM-2607] prevent setting null values in the parameters Files changed: /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/action/CheckoutProjectAction.java ( 1069246 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/build/execution/AbstractBuildExecutor.java ( 1069246 ) Changed: ctan @ Wed 9 Feb 2011 11:50:24 +0000 Comment: [CONTINUUM-2608] set scmUsername and scmPassword in the actionContext passed to the CheckoutProjectAction Files changed: /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/taskqueue/execution/PrepareBuildProjectsTaskExecutor.java ( 1068853 ) Changed: brett @ Tue 8 Feb 2011 13:12:26 +0000 Comment: use GPG agent when needed Files changed: /continuum/trunk/pom.xml ( 1068370 ) Changed: brett @ Tue 1 Feb 2011 14:37:55 +0000 Comment: [CONTINUUM-2604] extremecomponents table should use autoIncludeParameters="false" Merged from: r1066053 Files changed: /continuum/trunk ( 1066056 ) /continuum/trunk/continuum-api/src/main/java/org/apache/continuum/taskqueue/BuildProjectTask.java ( 1066056 ) /continuum/trunk/continuum-api/src/main/java/org/apache/continuum/taskqueue/CheckOutTask.java ( 1066056 ) /continuum/trunk/continuum-api/src/main/java/org/apache/continuum/taskqueue/PrepareBuildProjectsTask.java ( 1066056 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/build/execution/manager/BuildAgentBuildExecutorManager.java ( 1066056 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/build/execution/manager/DefaultBuildAgentBuildExecutorManager.java ( 1066056 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/build/execution/maven/m1 ( 1066056 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/build/execution/maven/m2/BuildAgentMavenBuilderHelper.java ( 1066056 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/build/execution/maven/m2/DefaultBuildAgentMavenBuilderHelper.java ( 1066056 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/configuration/BuildAgentConfiguration.java ( 1066056 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/configuration/BuildAgentConfigurationException.java ( 1066056 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/configuration/BuildAgentConfigurationService.java ( 1066056 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/configuration/DefaultBuildAgentConfiguration.java ( 1066056 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/configuration/DefaultBuildAgentConfigurationService.java ( 1066056 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/configuration/GeneralBuildAgentConfiguration.java ( 1066056 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/installation/BuildAgentInstallationService.java ( 1066056 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/installation/DefaultBuildAgentInstallationService.java ( 1066056 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/manager/BuildAgentManager.java ( 1066056 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/manager/DefaultBuildAgentManager.java ( 1066056 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/taskqueue/manager/BuildAgentTaskQueueManager.java ( 1066056 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/taskqueue/manager/DefaultBuildAgentTaskQueueManager.java ( 1066056 ) /continuum/trunk/continuum-builder/src/main/java/org/apache/continuum/builder/distributed/executor/DistributedBuildProjectTaskExecutor.java ( 1066056 ) /continuum/trunk/continuum-builder/src/main/java/org/apache/continuum/builder/distributed/executor/ThreadedDistributedBuildTaskQueueExecutor.java ( 1066056 ) /continuum/trunk/continuum-data-management/data-management-cli ( 1066056 ) /continuum/trunk/continuum-docs ( 1066056 ) /continuum/trunk/continuum-docs/src/site/xdoc ( 1066056 ) /continuum/trunk/continuum-model/src/main/resources/package-default.orm ( 1066056 ) /continuum/trunk/continuum-webapp/src/main/java/org/apache/continuum/web/action/admin/BuildAgentAction.java ( 1066056 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/buildAgentsList.jsp ( 1066056 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/buildDefinitionTemplateSummary.jsp ( 1066056 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/buildQueueView.jsp ( 1066056 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/confirmDeleteBuildAgent.jsp ( 1066056 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/installationsList.jsp ( 1066056 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/localRepositoriesList.jsp ( 1066056 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/parallelbuilds.jsp ( 1066056 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/profilesList.jsp ( 1066056 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/purgeConfigurationsList.jsp ( 1066056 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/viewBuildAgent.jsp ( 1066056 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/viewDistributedBuilds.jsp ( 1066056 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/buildResult.jsp ( 1066056 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/buildResults.jsp ( 1066056 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/buildDefinitionGroupSummaryComponent.jsp ( 1066056 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/buildDefinitionSummaryComponent.jsp ( 1066056 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/projectGroupNotifierSummaryComponent.jsp ( 1066056 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/projectSummaryComponent.jsp ( 1066056 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/groupSummary.jsp ( 1066056 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectGroupMembers.jsp ( 1066056 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectGroupReleaseResults.jsp ( 1066056 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectGroupSummary.jsp ( 1066056 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectView.jsp ( 1066056 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/releases.jsp ( 1066056 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/schedules.jsp ( 1066056 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/surefireReport.jsp ( 1066056 ) /continuum/trunk/continuum-webapp-test/src/test/selenium-ide ( 1066056 ) /continuum/trunk/src/site ( 1066056 ) Changed: brett @ Tue 1 Feb 2011 11:01:28 +0000 Comment: use property for Tomcat version for consistency with branch Merged from: r1065985 Files changed: /continuum/trunk ( 1065989 ) /continuum/trunk/continuum-api/src/main/java/org/apache/continuum/taskqueue/BuildProjectTask.java ( 1065989 ) /continuum/trunk/continuum-api/src/main/java/org/apache/continuum/taskqueue/CheckOutTask.java ( 1065989 ) /continuum/trunk/continuum-api/src/main/java/org/apache/continuum/taskqueue/PrepareBuildProjectsTask.java ( 1065989 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/build/execution/manager/BuildAgentBuildExecutorManager.java ( 1065989 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/build/execution/manager/DefaultBuildAgentBuildExecutorManager.java ( 1065989 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/build/execution/maven/m1 ( 1065989 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/build/execution/maven/m2/BuildAgentMavenBuilderHelper.java ( 1065989 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/build/execution/maven/m2/DefaultBuildAgentMavenBuilderHelper.java ( 1065989 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/configuration/BuildAgentConfiguration.java ( 1065989 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/configuration/BuildAgentConfigurationException.java ( 1065989 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/configuration/BuildAgentConfigurationService.java ( 1065989 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/configuration/DefaultBuildAgentConfiguration.java ( 1065989 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/configuration/DefaultBuildAgentConfigurationService.java ( 1065989 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/configuration/GeneralBuildAgentConfiguration.java ( 1065989 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/installation/BuildAgentInstallationService.java ( 1065989 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/installation/DefaultBuildAgentInstallationService.java ( 1065989 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/manager/BuildAgentManager.java ( 1065989 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/manager/DefaultBuildAgentManager.java ( 1065989 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/taskqueue/manager/BuildAgentTaskQueueManager.java ( 1065989 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/taskqueue/manager/DefaultBuildAgentTaskQueueManager.java ( 1065989 ) /continuum/trunk/continuum-builder/src/main/java/org/apache/continuum/builder/distributed/executor/DistributedBuildProjectTaskExecutor.java ( 1065989 ) /continuum/trunk/continuum-builder/src/main/java/org/apache/continuum/builder/distributed/executor/ThreadedDistributedBuildTaskQueueExecutor.java ( 1065989 ) /continuum/trunk/continuum-data-management/data-management-cli ( 1065989 ) /continuum/trunk/continuum-docs ( 1065989 ) /continuum/trunk/continuum-docs/src/site/xdoc ( 1065989 ) /continuum/trunk/continuum-model/src/main/resources/package-default.orm ( 1065989 ) /continuum/trunk/continuum-webapp/src/main/java/org/apache/continuum/web/action/admin/BuildAgentAction.java ( 1065989 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/confirmDeleteBuildAgent.jsp ( 1065989 ) /continuum/trunk/continuum-webapp-test/pom.xml ( 1065989 ) /continuum/trunk/continuum-webapp-test/src/test/selenium-ide ( 1065989 ) /continuum/trunk/src/site ( 1065989 ) Changed: brett @ Tue 1 Feb 2011 11:57:46 +0000 Comment: [CONTINUUM-2603] [CVE-2010-3449] CSRF vulnerability - Continuum doesn't check which form sends credentials Merged from: r1066010 Files changed: /continuum/trunk ( 1066016 ) /continuum/trunk/continuum-api/src/main/java/org/apache/continuum/taskqueue/BuildProjectTask.java ( 1066016 ) /continuum/trunk/continuum-api/src/main/java/org/apache/continuum/taskqueue/CheckOutTask.java ( 1066016 ) /continuum/trunk/continuum-api/src/main/java/org/apache/continuum/taskqueue/PrepareBuildProjectsTask.java ( 1066016 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/build/execution/manager/BuildAgentBuildExecutorManager.java ( 1066016 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/build/execution/manager/DefaultBuildAgentBuildExecutorManager.java ( 1066016 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/build/execution/maven/m1 ( 1066016 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/build/execution/maven/m2/BuildAgentMavenBuilderHelper.java ( 1066016 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/build/execution/maven/m2/DefaultBuildAgentMavenBuilderHelper.java ( 1066016 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/configuration/BuildAgentConfiguration.java ( 1066016 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/configuration/BuildAgentConfigurationException.java ( 1066016 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/configuration/BuildAgentConfigurationService.java ( 1066016 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/configuration/DefaultBuildAgentConfiguration.java ( 1066016 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/configuration/DefaultBuildAgentConfigurationService.java ( 1066016 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/configuration/GeneralBuildAgentConfiguration.java ( 1066016 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/installation/BuildAgentInstallationService.java ( 1066016 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/installation/DefaultBuildAgentInstallationService.java ( 1066016 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/manager/BuildAgentManager.java ( 1066016 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/manager/DefaultBuildAgentManager.java ( 1066016 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/taskqueue/manager/BuildAgentTaskQueueManager.java ( 1066016 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/taskqueue/manager/DefaultBuildAgentTaskQueueManager.java ( 1066016 ) /continuum/trunk/continuum-builder/src/main/java/org/apache/continuum/builder/distributed/executor/DistributedBuildProjectTaskExecutor.java ( 1066016 ) /continuum/trunk/continuum-builder/src/main/java/org/apache/continuum/builder/distributed/executor/ThreadedDistributedBuildTaskQueueExecutor.java ( 1066016 ) /continuum/trunk/continuum-data-management/data-management-cli ( 1066016 ) /continuum/trunk/continuum-docs ( 1066016 ) /continuum/trunk/continuum-docs/src/site/apt/administrator_guides/security/customising-security.apt ( 1066016 ) /continuum/trunk/continuum-docs/src/site/xdoc ( 1066016 ) /continuum/trunk/continuum-model/src/main/resources/package-default.orm ( 1066016 ) /continuum/trunk/continuum-webapp/src/main/java/org/apache/continuum/web/action/admin/BuildAgentAction.java ( 1066016 ) /continuum/trunk/continuum-webapp/src/main/resources/struts.xml ( 1066016 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/confirmDeleteBuildAgent.jsp ( 1066016 ) /continuum/trunk/continuum-webapp-test/src/test/selenium-ide ( 1066016 ) /continuum/trunk/src/site ( 1066016 ) Changed: ctan @ Thu 27 Jan 2011 02:28:22 +0000 Comment: [CONTINUUM-2602] moved release helper methods in a utility class and expose method to retrieve projects release and development versions in xmlrpc Files changed: /continuum/trunk/continuum-api/src/main/java/org/apache/continuum/utils/release ( 1063962 ) /continuum/trunk/continuum-api/src/main/java/org/apache/continuum/utils/release/ReleaseUtil.java ( 1063962 ) /continuum/trunk/continuum-api/src/main/java/org/apache/maven/continuum/release/ContinuumReleaseManager.java ( 1063962 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/ContinuumBuildAgentServiceImpl.java ( 1063962 ) /continuum/trunk/continuum-release/src/main/java/org/apache/maven/continuum/release/DefaultContinuumReleaseManager.java ( 1063962 ) /continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ReleasePerformAction.java ( 1063962 ) /continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ReleasePrepareAction.java ( 1063962 ) /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-api/src/main/java/org/apache/maven/continuum/xmlrpc/ContinuumService.java ( 1063962 ) /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-client/src/main/java/org/apache/maven/continuum/xmlrpc/client/ContinuumXmlRpcClient.java ( 1063962 ) /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumServiceImpl.java ( 1063962 ) Changed: dennisl @ Sun 16 Jan 2011 20:19:15 +0000 Comment: Add missing dependency, so that Continuum can be built with Java 5. Files changed: /continuum/trunk/continuum-buildagent/continuum-buildagent-webdav/pom.xml ( 1059652 ) Changed: dennisl @ Sun 16 Jan 2011 19:04:34 +0000 Comment: Fix typos. Files changed: /continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java ( 1059636 ) Changed: ctan @ Fri 7 Jan 2011 07:56:37 +0000 Comment: removed unnecessary logging dependencies Files changed: /continuum/trunk/continuum-distributed/continuum-distributed-slave/continuum-distributed-slave-client/pom.xml ( 1056215 ) Changed: oching @ Thu 6 Jan 2011 10:01:04 +0000 Comment: [CONTINUUM-2600] submitted by Mark John Kennedy Magallanes o set build agent's platform when retrieving build agent from continuum web service + unit test o added xmlrpc method for getting the build agent's platform Files changed: /continuum/trunk/continuum-api/src/main/java/org/apache/continuum/builder/distributed/manager/DistributedBuildManager.java ( 1055810 ) /continuum/trunk/continuum-core/src/main/java/org/apache/continuum/builder/distributed/manager/DefaultDistributedBuildManager.java ( 1055810 ) /continuum/trunk/continuum-core/src/test/java/org/apache/continuum/builder/distributed/manager/DefaultDistributedBuildManagerTest.java ( 1055810 ) /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-api/src/main/mdo/continuum-service.xml ( 1055810 ) /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumServiceImpl.java ( 1055810 ) Changed: ctan @ Mon 3 Jan 2011 06:48:19 +0000 Comment: [2599] ability for ContinuumXMLRPC to retrieve build agent's installations Submitted By: Marc Jansen Tan Chua Files changed: /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-api/src/main/java/org/apache/maven/continuum/xmlrpc/ContinuumService.java ( 1054534 ) /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-client/src/main/java/org/apache/maven/continuum/xmlrpc/client/ContinuumXmlRpcClient.java ( 1054534 ) /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumServiceImpl.java ( 1054534 ) Changed: ctan @ Wed 15 Dec 2010 03:01:25 +0000 Comment: [CONTINUUM-2592] utilize build agents own installations configured in continuum-buildagent.xml Submitted By: Marc Jansen Tan Chua Files changed: /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/taskqueue/execution/BuildProjectTaskExecutor.java ( 1049398 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/test/java/org/apache/continuum/buildagent/taskqueue/execution/BuildProjectTaskExecutorTest.java ( 1049398 ) Changed: jzurbano @ Tue 14 Dec 2010 12:53:01 +0000 Comment: CONTINUUM-2584 Unable to save the Description of Build Definition when creating build defintion using xmlrpc * applied patch - set the build definition description Patch Submitted by: Gwen Harold Autencio additional modification * added unit test Files changed: /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumServiceImpl.java ( 1049071 ) /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/test/java/org/apache/continuum/xmlrpc/server/ContinuumServiceImplStub.java ( 1049071 ) /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/test/java/org/apache/continuum/xmlrpc/server/ContinuumServiceImplTest.java ( 1049071 ) Changed: ctan @ Mon 13 Dec 2010 01:00:36 +0000 Comment: [CONTINUUM-2571] fixed error in change log - set the LatestUpdateDate in the scm config used by changelog - use the latestUpdateDate if scmVersion is empty to avoid getting error in change log Files changed: /continuum/trunk/continuum-base/continuum-scm/pom.xml ( 1044989 ) /continuum/trunk/continuum-base/continuum-scm/src/main/java/org/apache/continuum/scm/DefaultContinuumScm.java ( 1044989 ) /continuum/trunk/continuum-base/continuum-scm/src/test/java/org/apache/continuum/scm/DefaultContinuumScmTest.java ( 1044989 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/action/ChangeLogProjectAction.java ( 1044989 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/action/UpdateWorkingDirectoryAction.java ( 1044989 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/buildcontext/BuildContext.java ( 1044989 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/taskqueue/execution/PrepareBuildProjectsTaskExecutor.java ( 1044989 ) /continuum/trunk/continuum-builder/src/main/java/org/apache/continuum/builder/distributed/executor/DistributedBuildProjectTaskExecutor.java ( 1044989 ) Changed: ctan @ Thu 9 Dec 2010 00:15:22 +0000 Comment: [CONTINUUM-2593] ability to add/edit/delete/retrieve a build agent through web service Submitted By: Mark John Kenedy L. Magallanes Files changed: /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-api/src/main/java/org/apache/maven/continuum/xmlrpc/ContinuumService.java ( 1043796 ) /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-api/src/main/mdo/continuum-service.xml ( 1043796 ) /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-client/src/main/java/org/apache/maven/continuum/xmlrpc/client/ContinuumXmlRpcClient.java ( 1043796 ) /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumServiceImpl.java ( 1043796 ) /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/resources/dozerBeanMapping.xml ( 1043796 ) Changed: ctan @ Wed 8 Dec 2010 06:00:51 +0000 Comment: [CONTINUUM-2595] added a check if distributed build is enabled so we can call the appropriate class to retrieve the projects in build queue Submitted By: Gwen Harold Autencio Files changed: /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumServiceImpl.java ( 1043316 ) Changed: ctan @ Wed 1 Dec 2010 22:14:28 +0000 Comment: [CONTINUUM-2587] added ability to enable/disable distributed builds from continuum.xml Submitted By: Gwen Harold Autencio Files changed: /continuum/trunk/continuum-api/src/main/java/org/apache/continuum/configuration/GeneralConfiguration.java ( 1041189 ) /continuum/trunk/continuum-base/continuum-configuration/pom.xml ( 1041189 ) /continuum/trunk/continuum-base/continuum-configuration/src/main/java/org/apache/continuum/configuration/DefaultContinuumConfiguration.java ( 1041189 ) /continuum/trunk/continuum-base/continuum-configuration/src/main/mdo/continuum-configuration.xml ( 1041189 ) /continuum/trunk/continuum-base/continuum-configuration/src/test/java/org/apache/continuum/configuration/TestDefaultContinuumConfiguration.java ( 1041189 ) /continuum/trunk/continuum-base/continuum-configuration/src/test/resources/conf/continuum.xml ( 1041189 ) /continuum/trunk/continuum-commons/src/main/java/org/apache/maven/continuum/configuration/DefaultConfigurationService.java ( 1041189 ) Changed: brett @ Tue 30 Nov 2010 00:53:06 +0000 Comment: remove stray import from previous commit Files changed: /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/test/java/org/apache/continuum/xmlrpc/server/ContinuumServiceImplTest.java ( 1040369 ) Changed: brett @ Tue 30 Nov 2010 00:01:29 +0000 Comment: [CONTINUUM-2586] rename "Maven 2" projects to just "Maven", in light of the release of Maven 3 Files changed: /continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/builddefinition/DefaultBuildDefinitionService.java ( 1040349 ) /continuum/trunk/continuum-docs/src/site/apt/developer_guides/building.apt ( 1040349 ) /continuum/trunk/continuum-docs/src/site/apt/installation/build-agent.apt ( 1040349 ) /continuum/trunk/continuum-docs/src/site/apt/user_guides/managing_project/addProject.apt ( 1040349 ) /continuum/trunk/continuum-docs/src/site/apt/user_guides/notification/mail.apt ( 1040349 ) /continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ProjectGroupAction.java ( 1040349 ) /continuum/trunk/continuum-webapp/src/main/resources/localization/Continuum.properties ( 1040349 ) /continuum/trunk/continuum-webapp/src/main/resources/localization/Continuum_de.properties ( 1040349 ) /continuum/trunk/continuum-webapp/src/main/resources/localization/Continuum_fr.properties ( 1040349 ) /continuum/trunk/continuum-webapp/src/main/resources/localization/Continuum_pt_BR.properties ( 1040349 ) /continuum/trunk/continuum-webapp/src/main/resources/localization/Continuum_zh_CN.properties ( 1040349 ) /continuum/trunk/continuum-webapp-test/src/site/apt/index.apt ( 1040349 ) /continuum/trunk/continuum-webapp-test/src/test/resources/testng.properties ( 1040349 ) /continuum/trunk/continuum-webapp-test/src/test/selenium-ide/add_and_edit_project_level_build_definition.html ( 1040349 ) /continuum/trunk/continuum-webapp-test/src/test/selenium-ide/check_menu_options.html ( 1040349 ) /continuum/trunk/continuum-webapp-test/src/test/selenium-ide/test_build_definition_templates.html ( 1040349 ) /continuum/trunk/continuum-webapp-test/src/test/selenium-ide/test_release_plugin_configuration.html ( 1040349 ) /continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/BuildDefinitionTemplateTest.java ( 1040349 ) /continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/BuildDefinitionTest.java ( 1040349 ) /continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/InstallationTest.java ( 1040349 ) /continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/UserRolesManagementTest.java ( 1040349 ) /continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractBuildDefinitionTemplateTest.java ( 1040349 ) /continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractContinuumTest.java ( 1040349 ) /continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractInstallationTest.java ( 1040349 ) /continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractUserRolesManagementTest.java ( 1040349 ) Changed: ctan @ Thu 18 Nov 2010 15:22:13 +0000 Comment: [CONTINUUM-2581] - fixed NPE in rewrite-pom-phase - fixed ClassCastException when invoking getListener() - throw an exception when agent is unreachable while doing a release perform Files changed: /continuum/trunk/continuum-core/src/main/java/org/apache/continuum/release/distributed/manager/DefaultDistributedReleaseManager.java ( 1036488 ) /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/pom.xml ( 1036488 ) /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumServiceImpl.java ( 1036488 ) /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/test ( 1036488 ) /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/test/java ( 1036488 ) /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/test/java/org ( 1036488 ) /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/test/java/org/apache ( 1036488 ) /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/test/java/org/apache/continuum ( 1036488 ) /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/test/java/org/apache/continuum/xmlrpc ( 1036488 ) /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/test/java/org/apache/continuum/xmlrpc/server ( 1036488 ) /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/test/java/org/apache/continuum/xmlrpc/server/ContinuumServiceImplStub.java ( 1036488 ) /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/test/java/org/apache/continuum/xmlrpc/server/ContinuumServiceImplTest.java ( 1036488 ) Changed: ctan @ Thu 18 Nov 2010 15:52:10 +0000 Comment: [CONTINUUM-2420] display default values on the release input page when distributed builds is enabled Files changed: /continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ReleasePerformAction.java ( 1036502 ) /continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ReleasePrepareAction.java ( 1036502 ) Changed: ctan @ Wed 17 Nov 2010 00:45:59 +0000 Comment: [CONTINUUM-2582] ability to check if project is in queue or is currently preparing/building with distributed builds enabled Files changed: /continuum/trunk/continuum-core/src/main/java/org/apache/continuum/builder/distributed/manager/DefaultDistributedBuildManager.java ( 1035889 ) /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-api/src/main/java/org/apache/maven/continuum/xmlrpc/ContinuumService.java ( 1035889 ) /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-client/src/main/java/org/apache/maven/continuum/xmlrpc/client/ContinuumXmlRpcClient.java ( 1035889 ) /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumServiceImpl.java ( 1035889 ) Changed: ctan @ Wed 17 Nov 2010 00:56:59 +0000 Comment: [CONTINUUM-2582] method call is incorrect when checking if project is currently building with enabled distributed builds Files changed: /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumServiceImpl.java ( 1035891 ) Changed: ctan @ Wed 15 Dec 2010 07:18:28 +0000 Comment: [CONTINUUM-2597] ability to retrieve the operating system name of the build agent through web service Submitted by: Mark John Kennedy L. Magallanes Files changed: /continuum/trunk/continuum-buildagent/continuum-buildagent-api/src/main/java/org/apache/continuum/buildagent/ContinuumBuildAgentService.java ( 1049444 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/ContinuumBuildAgentServiceImpl.java ( 1049444 ) /continuum/trunk/continuum-core/src/test/java/org/apache/continuum/builder/distributed/stubs/SlaveBuildAgentTransportClientStub.java ( 1049444 ) /continuum/trunk/continuum-distributed/continuum-distributed-master/continuum-distributed-master-client/pom.xml ( 1049444 ) /continuum/trunk/continuum-distributed/continuum-distributed-slave/continuum-distributed-slave-api/src/main/java/org/apache/continuum/distributed/transport/slave/SlaveBuildAgentTransportService.java ( 1049444 ) /continuum/trunk/continuum-distributed/continuum-distributed-slave/continuum-distributed-slave-client/pom.xml ( 1049444 ) /continuum/trunk/continuum-distributed/continuum-distributed-slave/continuum-distributed-slave-client/src/main/java/org/apache/continuum/distributed/transport/slave/SampleBuildAgentClient.java ( 1049444 ) /continuum/trunk/continuum-distributed/continuum-distributed-slave/continuum-distributed-slave-client/src/main/java/org/apache/continuum/distributed/transport/slave/SlaveBuildAgentTransportClient.java ( 1049444 ) /continuum/trunk/continuum-distributed/continuum-distributed-slave/continuum-distributed-slave-server/src/main/java/org/apache/continuum/distributed/transport/slave/SlaveBuildAgentTransportServer.java ( 1049444 ) **************************************************************************** Dependencies Changes: **************************************************************************** No dependencies changed **************************************************************************** Build Definition: **************************************************************************** POM filename: pom.xml Goals: clean install Arguments: --batch-mode Build Fresh: false Always Build: false Default Build Definition: true Schedule: DEFAULT_SCHEDULE Profile Name: Maven 2.2.1 Description: Default Maven 2 Build Definition **************************************************************************** Test Summary: **************************************************************************** Tests: 314 Failures: 0 Errors: 0 Success Rate: 100 Total time: 634.6701 From [email protected] Fri Apr 15 08:50:00 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 23674 invoked from network); 15 Apr 2011 08:50:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Apr 2011 08:50:00 -0000 Received: (qmail 93254 invoked by uid 500); 15 Apr 2011 08:50:00 -0000 Delivered-To: [email protected] Received: (qmail 93231 invoked by uid 500); 15 Apr 2011 08:49:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.continuum.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 93220 invoked by uid 99); 15 Apr 2011 08:49:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Apr 2011 08:49:58 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmbuild.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Apr 2011 08:49:55 +0000 Received: from vmbuild (localhost [161.129.204.104]) by vmbuild.apache.org (8.14.3/8.14.3/Debian-9.1ubuntu1) with ESMTP id p3F8nWNN025846; Fri, 15 Apr 2011 08:49:33 GMT Date: Fri, 15 Apr 2011 08:49:32 +0000 (UTC) From: "Continuum@vmbuild" <[email protected]> To: [email protected] To: [email protected] Message-ID: <160096117.01302857373507.JavaMail.continuum@vmbuild> Subject: [continuum] BUILD FAILURE: Continuum (trunk) - Continuum acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b Project - Default Maven 2 Build Definition MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Continuum-Build-Host: vmbuild X-Continuum-Project-Id: 11 X-Continuum-Project-Name: Continuum acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b Project X-Virus-Checked: Checked by ClamAV on apache.org Online report : http://vmbuild.apache.org/continuum/buildResult.action?buildId=7338&projectId=11 Build statistics: State: Failed Previous State: Ok Started at: Fri 15 Apr 2011 08:33:36 +0000 Finished at: Fri 15 Apr 2011 08:49:07 +0000 Total time: 15m 30s Build Trigger: Schedule Build Number: 55 Exit code: 1 Building machine hostname: vmbuild Operating system : Linux(unknown) Java Home version : java version "1.6.0_22" Java(TM) SE Runtime Environment (build 1.6.0_22-b04) Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode) Builder version : Apache Maven 2.2.1 (r801777; 2009-08-06 19:16:01+0000) Java version: 1.6.0_22 Java home: /usr/lib/jvm/java-6-sun-161.129.204.104/jre Default locale: en_US, platform encoding: ANSI_X3.4-1968 OS name: "linux" version: "2.6.32-27-server" arch: "amd64" Family: "unix" **************************************************************************** SCM Changes: **************************************************************************** Changed: ctan @ Fri 15 Apr 2011 07:51:56 +0000 Comment: [CONTINUUM-2620] fixed validator and added selenium scripts Files changed: /continuum/trunk/continuum-webapp/src/main/resources/org/apache/continuum/web/action/admin/BuildAgentAction-saveBuildAgent-validation.xml ( 1092617 ) /continuum/trunk/continuum-webapp/src/main/resources/org/apache/maven/continuum/web/action/admin/InstallationAction-saveInstallation-validation.xml ( 1092617 ) /continuum/trunk/continuum-webapp-test/src/test/resources/testng.properties ( 1092617 ) /continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/BuildAgentsTest.java ( 1092617 ) /continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ConfigurationTest.java ( 1092617 ) /continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractConfigurationTest.java ( 1092617 ) **************************************************************************** Dependencies Changes: **************************************************************************** No dependencies changed **************************************************************************** Build Definition: **************************************************************************** POM filename: pom.xml Goals: clean install Arguments: --batch-mode Build Fresh: false Always Build: false Default Build Definition: true Schedule: DEFAULT_SCHEDULE Profile Name: Maven 2.2.1 Description: Default Maven 2 Build Definition **************************************************************************** Test Summary: **************************************************************************** Tests: 314 Failures: 0 Errors: 105 Success Rate: 66 Total time: 865.8839 From [email protected] Fri Apr 15 12:45:45 2011 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66763 invoked from network); 15 Apr 2011 12:45:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Apr 2011 12:45:45 -0000 Received: (qmail 99544 invoked by uid 500); 15 Apr 2011 12:45:45 -0000 Delivered-To: [email protected] Received: (qmail 99523 invoked by uid 500); 15 Apr 2011 12:45:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.continuum.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 99516 invoked by uid 99); 15 Apr 2011 12:45:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Apr 2011 12:45:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmbuild.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Apr 2011 12:45:41 +0000 Received: from vmbuild (localhost [161.129.204.104]) by vmbuild.apache.org (8.14.3/8.14.3/Debian-9.1ubuntu1) with ESMTP id p3FCjI2Y005594 for <[email protected]>; Fri, 15 Apr 2011 12:45:19 GMT Date: Fri, 15 Apr 2011 12:45:18 +0000 (UTC) From: "Continuum@vmbuild" <[email protected]> To: [email protected] Message-ID: <209864559.01302871519126.JavaMail.continuum@vmbuild> Subject: [continuum] BUILD SUCCESSFUL: Continuum (trunk) - Continuum acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b Project - Default Maven 2 Build Definition MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Continuum-Build-Host: vmbuild X-Continuum-Project-Id: 11 X-Continuum-Project-Name: Continuum acf:4db6:5e0b:f386:43a5:35d7:718d:3c8b Project X-Virus-Checked: Checked by ClamAV on apache.org Online report : http://vmbuild.apache.org/continuum/buildResult.action?buildId=7343&projectId=11 Build statistics: State: Ok Previous State: Failed Started at: Fri 15 Apr 2011 12:31:39 +0000 Finished at: Fri 15 Apr 2011 12:45:01 +0000 Total time: 13m 22s Build Trigger: Schedule Build Number: 56 Exit code: 0 Building machine hostname: vmbuild Operating system : Linux(unknown) Java Home version : java version "1.6.0_22" Java(TM) SE Runtime Environment (build 1.6.0_22-b04) Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode) Builder version : Apache Maven 2.2.1 (r801777; 2009-08-06 19:16:01+0000) Java version: 1.6.0_22 Java home: /usr/lib/jvm/java-6-sun-161.129.204.104/jre Default locale: en_US, platform encoding: ANSI_X3.4-1968 OS name: "linux" version: "2.6.32-27-server" arch: "amd64" Family: "unix" **************************************************************************** SCM Changes: **************************************************************************** Changed: oching @ Fri 15 Apr 2011 11:39:04 +0000 Comment: merge -r1092648 from 1.3.x branch (CONTINUUM-2622) o do an explicit check for a random generated value in the action on remove project group (built-in token session interceptor doesn't work for projectGroupSummary page because the <s:action> tag (which executes result) for getting the projects in the group in the page causes a double submit o enabled selenium test for remove project group csrf check Files changed: /continuum/trunk ( 1092666 ) /continuum/trunk/continuum-api/src/main/java/org/apache/continuum/taskqueue/BuildProjectTask.java ( 1092666 ) /continuum/trunk/continuum-api/src/main/java/org/apache/continuum/taskqueue/CheckOutTask.java ( 1092666 ) /continuum/trunk/continuum-api/src/main/java/org/apache/continuum/taskqueue/PrepareBuildProjectsTask.java ( 1092666 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/build/execution/manager/BuildAgentBuildExecutorManager.java ( 1092666 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/build/execution/manager/DefaultBuildAgentBuildExecutorManager.java ( 1092666 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/build/execution/maven/m1 ( 1092666 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/build/execution/maven/m2/BuildAgentMavenBuilderHelper.java ( 1092666 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/build/execution/maven/m2/DefaultBuildAgentMavenBuilderHelper.java ( 1092666 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/configuration/BuildAgentConfiguration.java ( 1092666 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/configuration/BuildAgentConfigurationException.java ( 1092666 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/configuration/BuildAgentConfigurationService.java ( 1092666 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/configuration/DefaultBuildAgentConfiguration.java ( 1092666 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/configuration/DefaultBuildAgentConfigurationService.java ( 1092666 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/configuration/GeneralBuildAgentConfiguration.java ( 1092666 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/installation/BuildAgentInstallationService.java ( 1092666 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/installation/DefaultBuildAgentInstallationService.java ( 1092666 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/manager/BuildAgentManager.java ( 1092666 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/manager/DefaultBuildAgentManager.java ( 1092666 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/taskqueue/manager/BuildAgentTaskQueueManager.java ( 1092666 ) /continuum/trunk/continuum-buildagent/continuum-buildagent-core/src/main/java/org/apache/continuum/buildagent/taskqueue/manager/DefaultBuildAgentTaskQueueManager.java ( 1092666 ) /continuum/trunk/continuum-builder/src/main/java/org/apache/continuum/builder/distributed/executor/DistributedBuildProjectTaskExecutor.java ( 1092666 ) /continuum/trunk/continuum-builder/src/main/java/org/apache/continuum/builder/distributed/executor/ThreadedDistributedBuildTaskQueueExecutor.java ( 1092666 ) /continuum/trunk/continuum-data-management/data-management-cli ( 1092666 ) /continuum/trunk/continuum-docs ( 1092666 ) /continuum/trunk/continuum-docs/src/site/xdoc ( 1092666 ) /continuum/trunk/continuum-model/src/main/resources/package-default.orm ( 1092666 ) /continuum/trunk/continuum-webapp/pom.xml ( 1092666 ) /continuum/trunk/continuum-webapp/src/main/java/org/apache/continuum/web/action/admin/BuildAgentAction.java ( 1092666 ) /continuum/trunk/continuum-webapp/src/main/java/org/apache/continuum/web/interceptor (from /continuum/branches/continuum-1.3.x/continuum-webapp/src/main/java/org/apache/continuum/web/interceptor:1092648) ( 1092666 ) /continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ProjectGroupAction.java ( 1092666 ) /continuum/trunk/continuum-webapp/src/main/resources/localization/Continuum.properties ( 1092666 ) /continuum/trunk/continuum-webapp/src/main/resources/struts.xml ( 1092666 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/confirmDeleteBuildAgent.jsp ( 1092666 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/confirmGroupRemoval.jsp ( 1092666 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/groupSummary.jsp ( 1092666 ) /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectGroupSummary.jsp ( 1092666 ) /continuum/trunk/continuum-webapp-test/src/test/selenium-ide ( 1092666 ) /continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/CSRFSecurityTest.java ( 1092666 ) /continuum/trunk/pom.xml ( 1092666 ) /continuum/trunk/src/site ( 1092666 ) **************************************************************************** Dependencies Changes: **************************************************************************** No dependencies changed **************************************************************************** Build Definition: **************************************************************************** POM filename: pom.xml Goals: clean install Arguments: --batch-mode Build Fresh: false Always Build: false Default Build Definition: true Schedule: DEFAULT_SCHEDULE Profile Name: Maven 2.2.1 Description: Default Maven 2 Build Definition **************************************************************************** Test Summary: **************************************************************************** Tests: 314 Failures: 0 Errors: 0 Success Rate: 100 Total time: 522.96515
From [email protected] Mon Nov 01 20:18:10 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68404 invoked from network); 1 Nov 2004 20:18:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 1 Nov 2004 20:18:10 -0000 Received: (qmail 25440 invoked by uid 500); 1 Nov 2004 20:18:09 -0000 Delivered-To: [email protected] Received: (qmail 25377 invoked by uid 500); 1 Nov 2004 20:18:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 29182 invoked by uid 99); 1 Nov 2004 18:16:54 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) From: Grant Smith <[email protected]> Organization: Object Systems Development Corporation To: "MyFaces Development" <[email protected]> Subject: Re: Tracking system Date: Mon, 1 Nov 2004 10:16:50 -0800 User-Agent: KMail/1.7.1 References: <200410275548.146102@PC15> <{{EMAIL+SOCIAL_SECURITY_NUMBER}}> <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Jira-userrnames: matzew mmarinschek oros anton manolito (project lead permissions for me, please) grantsmith P.S. Ted, I still don't have my CVS credentials. Thanks. -- Grant Smith Object Systems Development Corporation Phone: 943.268.5260 Fax: 943.268.5260 From [email protected] Mon Nov 01 20:18:26 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68546 invoked from network); 1 Nov 2004 20:18:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 1 Nov 2004 20:18:26 -0000 Received: (qmail 25698 invoked by uid 500); 1 Nov 2004 20:18:25 -0000 Delivered-To: [email protected] Received: (qmail 25633 invoked by uid 500); 1 Nov 2004 20:18:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 33408 invoked by uid 99); 1 Nov 2004 18:23:01 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) From: Grant Smith <[email protected]> Organization: Marathon Computer Systems To: [email protected] Subject: Deploying of myfaces-examples fails due to new URI Date: Mon, 1 Nov 2004 10:22:58 -0800 User-Agent: KMail/1.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Presumably this will resolve itself when http://myfaces.apache.org exists, but does this mean we cannot do unything while still in incubation ? 23:33:07,466 ERROR [Engine] StandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw exception javax.faces.FacesException: The absolute uri: http://myfaces.apache.org cannot be resolved in either web.xml or the jar files deployed with this application From [email protected] Mon Nov 01 22:43:44 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44347 invoked from network); 1 Nov 2004 22:43:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 1 Nov 2004 22:43:44 -0000 Received: (qmail 63536 invoked by uid 500); 1 Nov 2004 22:43:44 -0000 Delivered-To: [email protected] Received: (qmail 63508 invoked by uid 500); 1 Nov 2004 22:43:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 63497 invoked by uid 99); 1 Nov 2004 22:43:43 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO h4403.serverkompetenz.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 01 Nov 2004 14:43:43 -0800 Received: from [161.129.204.104] (p5081E504.dip0.t-ipconnect.de [161.129.204.104]) by h4403.serverkompetenz.net (Postfix) with ESMTP id EEDE93B8017 for <[email protected]>; Mon, 1 Nov 2004 23:43:36 +0100 (CET) Message-ID: <[email protected]> Date: Mon, 01 Nov 2004 23:43:38 +0100 From: Oliver Rossmueller <[email protected]> User-Agent: Mozilla Thunderbird 0.8 (X11/20040926) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "MyFaces Development" <[email protected]> Subject: Re: cvs commit: incubator-myfaces/build build.xml References: <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 161.129.204.104 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Sylvain, the api classes are in myfaces-jsf-api.jar now, the split was done on occasion in July (see revision 1.48/1.49 of build.xml, search for subject '[Myfaces-develop] JAR-Files' in the [email protected] archive) so please revert this modification. Oliver [email protected] wrote: >svieujot 2004/11/01 08:21:46 > > Modified: build build.xml > Log: > Add the api.classes to myfaces.jar > > Revision Changes Path > 1.58 +2 -2 incubator-myfaces/build/build.xml > > Index: build.xml > =================================================================== > RCS file: /home/cvs/incubator-myfaces/build/build.xml,v > retrieving revision 1.57 > retrieving revision 1.58 > diff -u -r1.57 -r1.58 > --- build.xml 26 Oct 2004 12:41:36 -0000 1.57 > +++ build.xml 1 Nov 2004 16:21:46 -0000 1.58 > @@ -119,9 +119,9 @@ > </manifest> > > <!-- classes --> > - <!--fileset dir="${api.classes}" > + <fileset dir="${api.classes}" > includes="**" > - excludes=".dependency-info/**/*"/--> > + excludes=".dependency-info/**/*"/> > <fileset dir="${share.classes}" > includes="**" > excludes=".dependency-info/**/*"/> > > > > > From [email protected] Mon Nov 01 22:58:23 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58029 invoked from network); 1 Nov 2004 22:58:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 1 Nov 2004 22:58:23 -0000 Received: (qmail 82260 invoked by uid 500); 1 Nov 2004 22:58:22 -0000 Delivered-To: [email protected] Received: (qmail 82126 invoked by uid 500); 1 Nov 2004 22:58:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 82080 invoked by uid 99); 1 Nov 2004 22:58:21 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO h4403.serverkompetenz.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 01 Nov 2004 14:58:20 -0800 Received: from [161.129.204.104] (p5081E0CD.dip0.t-ipconnect.de [161.129.204.104]) by h4403.serverkompetenz.net (Postfix) with ESMTP id 764C83B8017 for <[email protected]>; Mon, 1 Nov 2004 23:58:16 +0100 (CET) Message-ID: <[email protected]> Date: Mon, 01 Nov 2004 23:58:17 +0100 From: Oliver Rossmueller <[email protected]> User-Agent: Mozilla Thunderbird 0.8 (X11/20040926) X-Accept-Language: en-us, en MIME-Version: 1.0 To: MyFaces Development <[email protected]> Subject: Re: Deploying of myfaces-examples fails due to new URI References: <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 161.129.204.104 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Grant, the uri for the MyFaces extensions taglib was not correct in almost all of the example JSP, the correct uri has to be http://myfaces.apache.org/extensions. I fixes this issue, cvs head should work now. Oliver Grant Smith wrote: >Presumably this will resolve itself when http://myfaces.apache.org exists, but >does this mean we cannot do unything while still in incubation ? > > >23:33:07,466 ERROR [Engine] StandardWrapperValve[Faces Servlet]: >Servlet.service() for servlet Faces Servlet threw exception >javax.faces.FacesException: The absolute uri: http://myfaces.apache.org cannot >be resolved in either web.xml or the jar files deployed with this application > > From [email protected] Mon Nov 01 23:03:16 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59350 invoked from network); 1 Nov 2004 23:03:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 1 Nov 2004 23:03:15 -0000 Received: (qmail 85869 invoked by uid 500); 1 Nov 2004 23:03:15 -0000 Delivered-To: [email protected] Received: (qmail 85843 invoked by uid 500); 1 Nov 2004 23:03:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 85829 invoked by uid 99); 1 Nov 2004 23:03:15 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO sc8-sf-sshgate.sourceforge.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 01 Nov 2004 15:03:14 -0800 Received: from sc8-sf-web4-b.sourceforge.net ([161.129.204.104] helo=sc8-sf-web4.sourceforge.net) by sc8-sf-sshgate.sourceforge.net with esmtp (Exim 3.36 #1 (Debian)) id 1COlCj-0007lp-00; Mon, 01 Nov 2004 15:03:13 -0800 Received: from nobody by sc8-sf-web4.sourceforge.net with local (Exim 4.33) id 1COlCj-0006vz-36; Mon, 01 Nov 2004 15:03:13 -0800 To: [email protected] From: "SourceForge.net" <[email protected]> Subject: [ myfaces-Feature Requests-1058460 ] JSCookMenu support Frames and target Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Message-Id: <[email protected]> Sender: Nobody <[email protected]> Date: Mon, 01 Nov 2004 15:03:13 -0800 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Feature Requests item #1058460, was opened at 2004-11-01 18:03 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=525511&aid=1058460&group_id=69709 Category: Components and Renderers Group: None Status: Open Priority: 5 Submitted By: David Wilson (eldiosyeldiablo) Assigned to: Nobody/Anonymous (nobody) Summary: JSCookMenu support Frames and target Initial Comment: The original version of JSCookMenu.js from the author supports the ability to use the target. However, the change by royalts (Thomas Spiegl) on line 455 in JSCookMenu.js nullified this feature. The change that Thomas did implemented the ablity to use the JSF Navigation. I have taken a look at the code but unfortunately I was unable to get the jscook_action to be directed to a target. I believe that changes will be needed for files JSCookMenu.js, HtmlJSCookMenu.java (line 168). Thank you and great work, David Wilson ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=525511&aid=1058460&group_id=69709 From [email protected] Tue Nov 02 01:46:31 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20769 invoked from network); 2 Nov 2004 01:46:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 2 Nov 2004 01:46:30 -0000 Received: (qmail 89780 invoked by uid 500); 2 Nov 2004 01:46:30 -0000 Delivered-To: [email protected] Received: (qmail 89726 invoked by uid 500); 2 Nov 2004 01:46:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 89715 invoked by uid 99); 2 Nov 2004 01:46:29 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=HTML_20_30,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO mailgwvw01.freelance.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 01 Nov 2004 17:46:27 -0800 Received: from mailgwvw02.freelance.com (mailgwvw02.freelance.com [161.129.204.104]) by mailgwvw01.freelance.com (8.12.3/8.12.3) with ESMTP id iA21kss5011017 for <[email protected]>; Tue, 2 Nov 2004 02:46:54 +0100 Received: from [161.129.204.104] ([161.129.204.104]) by mailgwvw02.freelance.com (Lotus Domino Release 5.0.12) with ESMTP id 2004110202461434:5970 ; Tue, 2 Nov 2004 02:46:14 +0100 Subject: Re: cvs commit: incubator-myfaces/build build.xml From: Sylvain Vieujot <[email protected]> To: MyFaces Development <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Message-Id: <1099359982.3425.605.camel@sv> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Mon, 01 Nov 2004 21:46:22 -0400 X-MIMETrack: Itemize by SMTP Server on mailgw01/Freelance(Release 5.0.12 |February 13, 2003) at 11/02/2004 02:46:14 AM, Serialize by Router on mailgw01/Freelance(Release 5.0.12 |February 13, 2003) at 11/02/2004 02:46:14 AM, Serialize complete at 11/02/2004 02:46:14 AM Content-Type: multipart/alternative; boundary="=-SwzgilBqgxlQuPMkWmEB" X-Spam-Status: No, hits=0.1 required=5.0 tests=HTML_FONTCOLOR_UNSAFE, HTML_MESSAGE autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on mailgwvw01.freelance.com X-Virus-Scanned: ClamAV 0.80rc/530/Thu Oct 14 04:41:39 2004 clamav-milter version 0.80 on 161.129.204.104 X-Virus-Status: Clean X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --=-SwzgilBqgxlQuPMkWmEB Content-Transfer-Encoding: 7bit Content-Type: text/plain Done. Sorry for that. Maybe we should anyway make a package that has everything, like the javamail distribution that has several jar files (imap.jar, pop.jar, ...) and one big mail.jar that has everything and is way easier to install. With our file names, a simple guy like me thinks that : myfaces-jsf-api.jar contains the api classes. myfaces-components.jar contains the myfaces extensions. myfaces.jar contains everything. So, why not have this scheme : myfaces-jsf-api.jar contains the api classes (no change) myfaces-impl.jar contains the standard jsf implementation, without the extensions (same as jsf-impl.jar from the RI) myfaces-extensions.jar contains the myfaces extensions and a myfaces.jar that contains everything. I think this would have the benefits of a clear modular split, with file names similar to the RI ones, and an easy to use package for those that don't want to mix the RI with myfaces extensions. By the way, right now, it seems that myfaces-components.jar has the components ressources, but that myfaces.jar doesn't has them. Is this intended ? Sylvain. On Mon, 2004-11-01 at 18:43, Oliver Rossmueller wrote: > Sylvain, > > the api classes are in myfaces-jsf-api.jar now, the split was done on > occasion in July (see revision 1.48/1.49 of build.xml, search for > subject '[Myfaces-develop] JAR-Files' in the > [email protected] archive) so please revert this > modification. > > Oliver > > > [email protected] wrote: > > >svieujot 2004/11/01 08:21:46 > > > > Modified: build build.xml > > Log: > > Add the api.classes to myfaces.jar > > > > Revision Changes Path > > 1.58 +2 -2 incubator-myfaces/build/build.xml > > > > Index: build.xml > > =================================================================== > > RCS file: /home/cvs/incubator-myfaces/build/build.xml,v > > retrieving revision 1.57 > > retrieving revision 1.58 > > diff -u -r1.57 -r1.58 > > --- build.xml 26 Oct 2004 12:41:36 -0000 1.57 > > +++ build.xml 1 Nov 2004 16:21:46 -0000 1.58 > > @@ -119,9 +119,9 @@ > > </manifest> > > > > <!-- classes --> > > - <!--fileset dir="${api.classes}" > > + <fileset dir="${api.classes}" > > includes="**" > > - excludes=".dependency-info/**/*"/--> > > + excludes=".dependency-info/**/*"/> > > <fileset dir="${share.classes}" > > includes="**" > > excludes=".dependency-info/**/*"/> > > > > > > > > > > Sylvain. --=-SwzgilBqgxlQuPMkWmEB Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=utf-8 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8"> <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.10"> </HEAD> <BODY> Done.<BR> Sorry for that.<BR> <BR> Maybe we should anyway make a package that has everything, like the javamail distribution that has several jar files (imap.jar, pop.jar, ...) and one big mail.jar that has everything and is way easier to install.<BR> <BR> With our file names, a simple guy like me thinks that :<BR> myfaces-jsf-api.jar contains the api classes.<BR> myfaces-components.jar contains the myfaces extensions.<BR> myfaces.jar contains everything.<BR> <BR> So, why not have this scheme :<BR> myfaces-jsf-api.jar contains the api classes (no change)<BR> myfaces-impl.jar contains the standard jsf implementation, without the extensions (same as jsf-impl.jar from the RI)<BR> myfaces-extensions.jar contains the myfaces extensions<BR> and a myfaces.jar that contains everything.<BR> <BR> I think this would have the benefits of a clear modular split, with file names similar to the RI ones, and an easy to use package for those that don't want to mix the RI with myfaces extensions.<BR> <BR> By the way, right now, it seems that myfaces-components.jar has the components ressources, but that myfaces.jar doesn't has them.<BR> Is this intended ?<BR> <BR> Sylvain.<BR> <BR> On Mon, 2004-11-01 at 18:43, Oliver Rossmueller wrote: <BLOCKQUOTE TYPE=CITE> <PRE><FONT COLOR="#737373"><I>Sylvain, the api classes are in myfaces-jsf-api.jar now, the split was done on occasion in July (see revision 1.48/1.49 of build.xml, search for subject '[Myfaces-develop] JAR-Files' in the [email protected] archive) so please revert this modification. Oliver [email protected] wrote: &gt;svieujot 2004/11/01 08:21:46 &gt; &gt; Modified: build build.xml &gt; Log: &gt; Add the api.classes to myfaces.jar &gt; &gt; Revision Changes Path &gt; 1.58 +2 -2 incubator-myfaces/build/build.xml &gt; &gt; Index: build.xml &gt; =================================================================== &gt; RCS file: /home/cvs/incubator-myfaces/build/build.xml,v &gt; retrieving revision 1.57 &gt; retrieving revision 1.58 &gt; diff -u -r1.57 -r1.58 &gt; --- build.xml 26 Oct 2004 12:41:36 -0000 1.57 &gt; +++ build.xml 1 Nov 2004 16:21:46 -0000 1.58 &gt; @@ -119,9 +119,9 @@ &gt; &lt;/manifest&gt; &gt; &gt; &lt;!-- classes --&gt; &gt; - &lt;!--fileset dir=&quot;${api.classes}&quot; &gt; + &lt;fileset dir=&quot;${api.classes}&quot; &gt; includes=&quot;**&quot; &gt; - excludes=&quot;.dependency-info/**/*&quot;/--&gt; &gt; + excludes=&quot;.dependency-info/**/*&quot;/&gt; &gt; &lt;fileset dir=&quot;${share.classes}&quot; &gt; includes=&quot;**&quot; &gt; excludes=&quot;.dependency-info/**/*&quot;/&gt; &gt; &gt; &gt; &gt; &gt;</I></FONT></PRE> </BLOCKQUOTE> <PRE><TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%"> <TR> <TD> <BR> Sylvain.<BR> <BR> </TD> </TR> </TABLE> </PRE> </BODY> </HTML> --=-SwzgilBqgxlQuPMkWmEB-- From [email protected] Tue Nov 02 01:58:56 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25752 invoked from network); 2 Nov 2004 01:58:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 2 Nov 2004 01:58:56 -0000 Received: (qmail 98697 invoked by uid 500); 2 Nov 2004 01:58:55 -0000 Delivered-To: [email protected] Received: (qmail 98646 invoked by uid 500); 2 Nov 2004 01:58:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 98634 invoked by uid 99); 2 Nov 2004 01:58:55 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=HTML_30_40,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO mailgwvw01.freelance.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 01 Nov 2004 17:58:54 -0800 Received: from mailgwvw02.freelance.com (mailgwvw02.freelance.com [161.129.204.104]) by mailgwvw01.freelance.com (8.12.3/8.12.3) with ESMTP id iA21xMs5013793 for <[email protected]>; Tue, 2 Nov 2004 02:59:22 +0100 Received: from [161.129.204.104] ([161.129.204.104]) by mailgwvw02.freelance.com (Lotus Domino Release 5.0.12) with ESMTP id 2004110202584196:5971 ; Tue, 2 Nov 2004 02:58:41 +0100 Subject: Fileupload failed validation problem From: Sylvain Vieujot <[email protected]> To: MyFaces Development <[email protected]> In-Reply-To: <[email protected]> References: <200410275548.146102@PC15> <{{EMAIL+SOCIAL_SECURITY_NUMBER}}> <[email protected]> <[email protected]> Message-Id: <1099360730.3425.630.camel@sv> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Mon, 01 Nov 2004 21:58:50 -0400 X-MIMETrack: Itemize by SMTP Server on mailgw01/Freelance(Release 5.0.12 |February 13, 2003) at 11/02/2004 02:58:42 AM, Serialize by Router on mailgw01/Freelance(Release 5.0.12 |February 13, 2003) at 11/02/2004 02:58:42 AM, Serialize complete at 11/02/2004 02:58:42 AM Content-Type: multipart/alternative; boundary="=-3hYXy9TwRK/Ree42xbaQ" X-Spam-Status: No, hits=0.5 required=5.0 tests=HTML_20_30,HTML_MESSAGE autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on mailgwvw01.freelance.com X-Virus-Scanned: ClamAV 0.80rc/530/Thu Oct 14 04:41:39 2004 clamav-milter version 0.80 on 161.129.204.104 X-Virus-Status: Clean X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --=-3hYXy9TwRK/Ree42xbaQ Content-Transfer-Encoding: 7bit Content-Type: text/plain The fileupload is special in that if the process validations step fails, the name of the file to upload is lost when the page renders again as the value attribute of an <input type="file"> is ignored by the browser for security reasons. This feels like a bug for a user as it uploaded the file already, and if the validation of the form failed because another field didn't validate, the uploaded data are lost and he has to select again the file to upload. I thought this could be fixed by using immediate="true" for the x:inputFileUpload tag, as this would still update the model with the uploaded values, but it seems this isn't how it works. At least, I couldn't make this work. Any idea on how to solve that ? Sylvain. --=-3hYXy9TwRK/Ree42xbaQ Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=utf-8 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8"> <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.10"> </HEAD> <BODY> The fileupload is special in that if the process validations step fails, the name of the file to upload is lost when the page renders again as the value attribute of an &lt;input type=&quot;file&quot;&gt; is ignored by the browser for security reasons.<BR> <BR> This feels like a bug for a user as it uploaded the file already, and if the validation of the form failed because another field didn't validate, the uploaded data are lost and he has to select again the file to upload.<BR> <BR> I thought this could be fixed by using immediate=&quot;true&quot; for the x:inputFileUpload tag, as this would still update the model with the uploaded values, but it seems this isn't how it works.<BR> At least, I couldn't make this work.<BR> <BR> Any idea on how to solve that ?<BR> <TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%"> <TR> <TD> <BR> Sylvain.<BR> <BR> </TD> </TR> </TABLE> </BODY> </HTML> --=-3hYXy9TwRK/Ree42xbaQ-- From [email protected] Tue Nov 02 08:29:09 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81917 invoked from network); 2 Nov 2004 08:29:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 2 Nov 2004 08:29:08 -0000 Received: (qmail 34426 invoked by uid 500); 2 Nov 2004 08:29:08 -0000 Delivered-To: [email protected] Received: (qmail 34393 invoked by uid 500); 2 Nov 2004 08:29:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 34379 invoked by uid 99); 2 Nov 2004 08:29:07 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO [161.129.204.104]) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 02 Nov 2004 00:29:06 -0800 Message-ID: <[email protected]> Date: Tue, 02 Nov 2004 09:27:15 +0100 From: Manfred Geiler <[email protected]> User-Agent: Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: MyFaces Development <[email protected]> Subject: Re: Scripting Support commandButton References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Takashi, Thanks for your offer. My personal opinion is, that it's better to NOT mix GUI design and business logic within a JSF. This is one of the most important issues that is adressed by the MVC (model view controller) pattern. The clear separation between model and view is a paradigm. On the other hand, your component is of course a convenient thing during development. And some people might find it useful in production too. I understand that the MVC principles are not a dogma for everyone ;-) Unfortunately my time is very limited at the moment. Anyone willing to help Takashi make a complete MyFaces component out of his commandButton? Thanks, Manfred Takashi Okamoto wrote: > Hi, > > I made improved commandButton which support scripting support with > BSF(Apache Jakarta Bean Scription Framework). For example. > > [jsp] > <%@ taglib prefix="nv" uri="http://nirvana.ultimania.org/jsf" %> > .. > <nv:commandButton type="submit" action="&calc.rb" /> > > [Ruby Script(WEB-INF/script/calc.rb] > $bean.setResult($bean.getNumA()+$bean.getNumB()) > print $bean.getResult() > "success"; > > calc.rb is executed when commandButton is pressed. $bean is managed > bean. Any managed beans are refered as global variables in > script. This taglib supports JavaScript and Python and any other > script language supported by BSF. > > This function makes extreme easily JSF development. You don't need > recompile Java class to modify bussiness logic. > > I made this commandButton for Nirvana framework (http://ultimania.org/nirvana/). > However, if you think this is good idea, I would like to contribute > my code for MyFaces. > > Here is demo application included sourcecode: > > http://tidus.ultimania.org/tmp/bsf-demo.war > > This demo includes MyFaces and you can try it immediately:) > > greetings, > > Takashi Okamoto > > > From [email protected] Tue Nov 02 09:54:30 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21688 invoked from network); 2 Nov 2004 09:54:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 2 Nov 2004 09:54:28 -0000 Received: (qmail 58422 invoked by uid 500); 2 Nov 2004 09:54:25 -0000 Delivered-To: [email protected] Received: (qmail 58317 invoked by uid 500); 2 Nov 2004 09:54:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 58279 invoked by uid 99); 2 Nov 2004 09:54:23 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO h4403.serverkompetenz.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 02 Nov 2004 01:54:22 -0800 Received: from tuxerra.com (p5081E1E1.dip0.t-ipconnect.de [161.129.204.104]) by h4403.serverkompetenz.net (Postfix) with ESMTP id C8BD03B8017 for <[email protected]>; Tue, 2 Nov 2004 10:54:17 +0100 (CET) Message-ID: <[email protected]> Date: Tue, 02 Nov 2004 10:54:17 +0100 From: Oliver Rossmueller <[email protected]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040413 Debian/1.6-5 X-Accept-Language: en MIME-Version: 1.0 To: MyFaces Development <[email protected]> Subject: Re: cvs commit: incubator-myfaces/build build.xml References: <[email protected]> <[email protected]> <1099359982.3425.605.camel@sv> In-Reply-To: <1099359982.3425.605.camel@sv> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Sylvain Vieujot wrote: > Done. > Sorry for that. > > Maybe we should anyway make a package that has everything, like the > javamail distribution that has several jar files (imap.jar, pop.jar, > ...) and one big mail.jar that has everything and is way easier to > install. > > With our file names, a simple guy like me thinks that : > myfaces-jsf-api.jar contains the api classes. > myfaces-components.jar contains the myfaces extensions. > myfaces.jar contains everything. > > So, why not have this scheme : > myfaces-jsf-api.jar contains the api classes (no change) > myfaces-impl.jar contains the standard jsf implementation, without the > extensions (same as jsf-impl.jar from the RI) > myfaces-extensions.jar contains the myfaces extensions > and a myfaces.jar that contains everything. > +1 Oliver > I think this would have the benefits of a clear modular split, with > file names similar to the RI ones, and an easy to use package for > those that don't want to mix the RI with myfaces extensions. > > By the way, right now, it seems that myfaces-components.jar has the > components ressources, but that myfaces.jar doesn't has them. > Is this intended ? > > Sylvain. > > On Mon, 2004-11-01 at 18:43, Oliver Rossmueller wrote: > >>/Sylvain, >> >>the api classes are in myfaces-jsf-api.jar now, the split was done on >>occasion in July (see revision 1.48/1.49 of build.xml, search for >>subject '[Myfaces-develop] JAR-Files' in the >>[email protected] archive) so please revert this >>modification. >> >>Oliver >> >> >>[email protected] wrote: >> >>>svieujot 2004/11/01 08:21:46 >>> >>> Modified: build build.xml >>> Log: >>> Add the api.classes to myfaces.jar >>> >>> Revision Changes Path >>> 1.58 +2 -2 incubator-myfaces/build/build.xml >>> >>> Index: build.xml >>> =================================================================== >>> RCS file: /home/cvs/incubator-myfaces/build/build.xml,v >>> retrieving revision 1.57 >>> retrieving revision 1.58 >>> diff -u -r1.57 -r1.58 >>> --- build.xml 26 Oct 2004 12:41:36 -0000 1.57 >>> +++ build.xml 1 Nov 2004 16:21:46 -0000 1.58 >>> @@ -119,9 +119,9 @@ >>> </manifest> >>> >>> <!-- classes --> >>> - <!--fileset dir="${api.classes}" >>> + <fileset dir="${api.classes}" >>> includes="**" >>> - excludes=".dependency-info/**/*"/--> >>> + excludes=".dependency-info/**/*"/> >>> <fileset dir="${share.classes}" >>> includes="**" >>> excludes=".dependency-info/**/*"/> >>> >>> >>> >>> >>>/ >> > Sylvain. > > > > From [email protected] Tue Nov 02 13:17:46 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18503 invoked from network); 2 Nov 2004 13:17:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 2 Nov 2004 13:17:46 -0000 Received: (qmail 43891 invoked by uid 500); 2 Nov 2004 13:17:46 -0000 Delivered-To: [email protected] Received: (qmail 43863 invoked by uid 500); 2 Nov 2004 13:17:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 43842 invoked by uid 99); 2 Nov 2004 13:17:45 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO sc8-sf-sshgate.sourceforge.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 02 Nov 2004 05:17:41 -0800 Received: from sc8-sf-web3-b.sourceforge.net ([161.129.204.104] helo=sc8-sf-web3.sourceforge.net) by sc8-sf-sshgate.sourceforge.net with esmtp (Exim 3.36 #1 (Debian)) id 1COyXc-00049E-00; Tue, 02 Nov 2004 05:17:40 -0800 Received: from nobody by sc8-sf-web3.sourceforge.net with local (Exim 4.33) id 1COyXc-0003AO-74; Tue, 02 Nov 2004 05:17:40 -0800 To: [email protected] From: "SourceForge.net" <[email protected]> Subject: [ myfaces-Bugs-1058799 ] German Euro-Character (&#8364;) turns to &#8364; Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Message-Id: <[email protected]> Sender: Nobody <[email protected]> Date: Tue, 02 Nov 2004 05:17:40 -0800 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Bugs item #1058799, was opened at 2004-11-02 05:17 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=525508&aid=1058799&group_id=69709 Category: basic implementation Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: German Euro-Character (&#8364;) turns to &#8364; Initial Comment: My Config: Myfaces 1.0.7 JBoss 4.0.0 Problem: if I insert an German Euro-Character (&#8364;) it turns after request/response to &#8364;. Sometimes, if I route the navigation to an action, it stays as &#8364;. The problem exists as well in the MyFaces in Action Samples, check out http://irian.at/myfaces/sample2.jsf and enter an &#8364;-Symbol. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=525508&aid=1058799&group_id=69709 From [email protected] Tue Nov 02 15:51:55 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 19362 invoked from network); 2 Nov 2004 15:51:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 2 Nov 2004 15:51:54 -0000 Received: (qmail 57536 invoked by uid 500); 2 Nov 2004 15:51:54 -0000 Delivered-To: [email protected] Received: (qmail 57505 invoked by uid 500); 2 Nov 2004 15:51:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 57493 invoked by uid 99); 2 Nov 2004 15:51:53 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO ns.kun.ne.jp) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 02 Nov 2004 07:51:52 -0800 Received: from localhost (YahooBB219180052044.bbtec.net [161.129.204.104]) by ns.kun.ne.jp (8.12.11/3.7W/040708) with ESMTP id iA2Fssv1023098 for <[email protected]>; Wed, 3 Nov 2004 00:54:55 +0900 (JST) Date: Wed, 03 Nov 2004 00:51:32 +0900 (LMT) Message-Id: <[email protected]> To: [email protected] Subject: Re: Scripting Support commandButton From: Takashi Okamoto <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> X-FingerPrint: 8B37 1FE6 76B2 7BA6 D59A 9BF7 E7F4 46C8 5293 6E17 X-GPG-Key: http://db.debian.org/fetchkey.cgi?fingerprint=8B371FE676B27BA6D59A9BF7E7F446C852936E17 X-Mailer: Mew version 4.0.65 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N From: Manfred Geiler <[email protected]> Subject: Re: Scripting Support commandButton Date: Tue, 02 Nov 2004 09:27:15 +0100 > My personal opinion is, that it's better to NOT mix GUI design and > business logic within a JSF. Of course I thought:) Devleloper can execute another scripts from the script is called by JSF. Nested scripts become model and the script called by JSF become controller such as Struts Action Class. > Unfortunately my time is very limited at the moment. Anyone willing to > help Takashi make a complete MyFaces component out of his > commandButton? Current demo is just prototype. I can refactor my taglib for myfaces. At least changing license and package name, and adding cache support should be done by me. If someone can commit them, I'll do it before commit. But I would like to ask one point. Where should I implement my function? I have a two opinion: (i)add bsf function into org.apache.myfaces.taglib.html.ext.HtmlCommandButtonTag and org.apache.myfaces.taglib.html.ext.HtmlCommandLinkTag. (ii)create new component at src/components/org/apache/myfaces/custom/bsf and Change tag class into: BSFHtmlCommandButtonTag.java BSFHtmlCommandLinkTag.java (i) seems smart way. When BSF extension detect string which is starting '&' like "&test.rb", action is recognized as script. If not, it manners plain commandButton and commandLink. Detecting script takes quite a few penalty and it's not influence performance. However MyFaces HtmlCommandButtonTag break compatibility for JSF when from-outcome value takes the string "&xxxx". x:commandButton and x:commandLink are MyFaces specific features and I think (i) is not become problem because developer can use plain h:commandXXXX if he keep compatibility with JSF. (ii) doesn't break any compatibility. But two tags will be added. BTW, I contributed some bugs fix and Japanese localization already. If I will become commiter with above contribute, I'm happy. I'm already Debian Official Developer and contribute some Java projects. I'm also developping Nirvana Framework which compile HTML into JSP (http://ultimania.org/nurvana/). greetings, Takashi Okamoto From [email protected] Wed Nov 03 08:39:02 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65964 invoked from network); 3 Nov 2004 08:39:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 3 Nov 2004 08:39:01 -0000 Received: (qmail 71420 invoked by uid 500); 3 Nov 2004 08:38:59 -0000 Delivered-To: [email protected] Received: (qmail 71372 invoked by uid 500); 3 Nov 2004 08:38:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 71335 invoked by uid 99); 3 Nov 2004 08:38:58 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO [161.129.204.104]) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 03 Nov 2004 00:38:57 -0800 Message-ID: <[email protected]> Date: Wed, 03 Nov 2004 09:37:07 +0100 From: Manfred Geiler <[email protected]> User-Agent: Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: MyFaces Discussion <[email protected]> CC: MyFaces Development <[email protected]> Subject: Re: again on ResultDataSet References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Francesco, Hi all, Yes, ResultSetDataModel is not yet implemented. It is not really difficult to implement but my time is very limited at the moment. So, I encourage you or any other interested developer to implement it. Could be done in about 2-3 man hours, I think. Francesco, thanks for your confidence and: you are just kidding about the ASP.NET thing, arent' you ?! ;-) Manfred Francesco Consumi wrote: > Scrive Mark Lowe <[email protected]>: > >> Francesco >> >> I think you'd need to read the result set into something you can >> display as judging by the message myfaces ResultSetDataModel isn't >> implemenated in myfaces yet.. >> >> That or use sun's implemenation which I imagine does. Myfaces >> componants (at least the ones i've tried) work with sun's >> implementation. But I imagine a list will should work just fine. >> > Mark, > > thanks for the answer. I know that it works if I copy the ResultSet into > a list, > but in that way the jsf technology is useless :-) . > I can't write tons of code only in order to show a grid linked to a > dataset.. > :-), don't you think ? > > Now, I'm able to understand why the people chooses ASP.NET.. :-) > > I'm very grateful to those that are working hard writing MyFaces, but I > think > the work is still a bit long........ > > -- > Francesco Consumi > > > > > From [email protected] Wed Nov 03 16:24:46 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18366 invoked from network); 3 Nov 2004 16:24:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 3 Nov 2004 16:24:46 -0000 Received: (qmail 90684 invoked by uid 500); 3 Nov 2004 16:24:45 -0000 Delivered-To: [email protected] Received: (qmail 90646 invoked by uid 500); 3 Nov 2004 16:24:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 90624 invoked by uid 99); 3 Nov 2004 16:24:45 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=HTML_30_40,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO mailgwvw01.freelance.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 03 Nov 2004 08:24:44 -0800 Received: from mailgwvw02.freelance.com (mailgwvw02.freelance.com [161.129.204.104]) by mailgwvw01.freelance.com (8.12.3/8.12.3) with ESMTP id iA3GP9s5013584 for <[email protected]>; Wed, 3 Nov 2004 17:25:09 +0100 Received: from [161.129.204.104] ([161.129.204.104]) by mailgwvw02.freelance.com (Lotus Domino Release 5.0.12) with ESMTP id 2004110317242771:6787 ; Wed, 3 Nov 2004 17:24:27 +0100 Subject: Re: cvs commit: incubator-myfaces/build build.xml From: Sylvain Vieujot <[email protected]> To: MyFaces Development <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <1099359982.3425.605.camel@sv> <[email protected]> Message-Id: <1099499076.3495.20.camel@sv> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Wed, 03 Nov 2004 12:24:36 -0400 X-MIMETrack: Itemize by SMTP Server on mailgw01/Freelance(Release 5.0.12 |February 13, 2003) at 11/03/2004 05:24:28 PM, Serialize by Router on mailgw01/Freelance(Release 5.0.12 |February 13, 2003) at 11/03/2004 05:24:29 PM, Serialize complete at 11/03/2004 05:24:29 PM Content-Type: multipart/alternative; boundary="=-yyOH4d0q848nvr/udykj" X-Spam-Status: No, hits=0.1 required=5.0 tests=HTML_FONTCOLOR_UNSAFE, HTML_MESSAGE autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on mailgwvw01.freelance.com X-Virus-Scanned: ClamAV 0.80rc/530/Thu Oct 14 04:41:39 2004 clamav-milter version 0.80 on 161.129.204.104 X-Virus-Status: Clean X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --=-yyOH4d0q848nvr/udykj Content-Transfer-Encoding: 7bit Content-Type: text/plain Ok, I made the changes. It works for me, but please test it and report me any problem. Sylvain. On Tue, 2004-11-02 at 05:54, Oliver Rossmueller wrote: > Sylvain Vieujot wrote: > > > Done. > > Sorry for that. > > > > Maybe we should anyway make a package that has everything, like the > > javamail distribution that has several jar files (imap.jar, pop.jar, > > ...) and one big mail.jar that has everything and is way easier to > > install. > > > > With our file names, a simple guy like me thinks that : > > myfaces-jsf-api.jar contains the api classes. > > myfaces-components.jar contains the myfaces extensions. > > myfaces.jar contains everything. > > > > So, why not have this scheme : > > myfaces-jsf-api.jar contains the api classes (no change) > > myfaces-impl.jar contains the standard jsf implementation, without the > > extensions (same as jsf-impl.jar from the RI) > > myfaces-extensions.jar contains the myfaces extensions > > and a myfaces.jar that contains everything. > > > +1 > > Oliver > > > I think this would have the benefits of a clear modular split, with > > file names similar to the RI ones, and an easy to use package for > > those that don't want to mix the RI with myfaces extensions. > > > > By the way, right now, it seems that myfaces-components.jar has the > > components ressources, but that myfaces.jar doesn't has them. > > Is this intended ? > > > > Sylvain. > > > > On Mon, 2004-11-01 at 18:43, Oliver Rossmueller wrote: > > > >>/Sylvain, > >> > >>the api classes are in myfaces-jsf-api.jar now, the split was done on > >>occasion in July (see revision 1.48/1.49 of build.xml, search for > >>subject '[Myfaces-develop] JAR-Files' in the > >>[email protected] archive) so please revert this > >>modification. > >> > >>Oliver > >> > >> > >>[email protected] wrote: > >> > >>>svieujot 2004/11/01 08:21:46 > >>> > >>> Modified: build build.xml > >>> Log: > >>> Add the api.classes to myfaces.jar > >>> > >>> Revision Changes Path > >>> 1.58 +2 -2 incubator-myfaces/build/build.xml > >>> > >>> Index: build.xml > >>> =================================================================== > >>> RCS file: /home/cvs/incubator-myfaces/build/build.xml,v > >>> retrieving revision 1.57 > >>> retrieving revision 1.58 > >>> diff -u -r1.57 -r1.58 > >>> --- build.xml 26 Oct 2004 12:41:36 -0000 1.57 > >>> +++ build.xml 1 Nov 2004 16:21:46 -0000 1.58 > >>> @@ -119,9 +119,9 @@ > >>> </manifest> > >>> > >>> <!-- classes --> > >>> - <!--fileset dir="${api.classes}" > >>> + <fileset dir="${api.classes}" > >>> includes="**" > >>> - excludes=".dependency-info/**/*"/--> > >>> + excludes=".dependency-info/**/*"/> > >>> <fileset dir="${share.classes}" > >>> includes="**" > >>> excludes=".dependency-info/**/*"/> > >>> > >>> > >>> > >>> > >>>/ > >> > > Sylvain. > > > > > > > > Sylvain. --=-yyOH4d0q848nvr/udykj Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=utf-8 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8"> <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.10"> </HEAD> <BODY> Ok, I made the changes.<BR> <BR> It works for me, but please test it and report me any problem.<BR> <BR> Sylvain.<BR> <BR> On Tue, 2004-11-02 at 05:54, Oliver Rossmueller wrote: <BLOCKQUOTE TYPE=CITE> <PRE><FONT COLOR="#737373"><I>Sylvain Vieujot wrote: &gt; Done. &gt; Sorry for that. &gt; &gt; Maybe we should anyway make a package that has everything, like the &gt; javamail distribution that has several jar files (imap.jar, pop.jar, &gt; ...) and one big mail.jar that has everything and is way easier to &gt; install. &gt; &gt; With our file names, a simple guy like me thinks that : &gt; myfaces-jsf-api.jar contains the api classes. &gt; myfaces-components.jar contains the myfaces extensions. &gt; myfaces.jar contains everything. &gt; &gt; So, why not have this scheme : &gt; myfaces-jsf-api.jar contains the api classes (no change) &gt; myfaces-impl.jar contains the standard jsf implementation, without the &gt; extensions (same as jsf-impl.jar from the RI) &gt; myfaces-extensions.jar contains the myfaces extensions &gt; and a myfaces.jar that contains everything. &gt; +1 Oliver &gt; I think this would have the benefits of a clear modular split, with &gt; file names similar to the RI ones, and an easy to use package for &gt; those that don't want to mix the RI with myfaces extensions. &gt; &gt; By the way, right now, it seems that myfaces-components.jar has the &gt; components ressources, but that myfaces.jar doesn't has them. &gt; Is this intended ? &gt; &gt; Sylvain. &gt; &gt; On Mon, 2004-11-01 at 18:43, Oliver Rossmueller wrote: &gt; &gt;&gt;/Sylvain, &gt;&gt; &gt;&gt;the api classes are in myfaces-jsf-api.jar now, the split was done on &gt;&gt;occasion in July (see revision 1.48/1.49 of build.xml, search for &gt;&gt;subject '[Myfaces-develop] JAR-Files' in the &gt;&gt;[email protected] archive) so please revert this &gt;&gt;modification. &gt;&gt; &gt;&gt;Oliver &gt;&gt; &gt;&gt; &gt;&gt;[email protected] wrote: &gt;&gt; &gt;&gt;&gt;svieujot 2004/11/01 08:21:46 &gt;&gt;&gt; &gt;&gt;&gt; Modified: build build.xml &gt;&gt;&gt; Log: &gt;&gt;&gt; Add the api.classes to myfaces.jar &gt;&gt;&gt; &gt;&gt;&gt; Revision Changes Path &gt;&gt;&gt; 1.58 +2 -2 incubator-myfaces/build/build.xml &gt;&gt;&gt; &gt;&gt;&gt; Index: build.xml &gt;&gt;&gt; =================================================================== &gt;&gt;&gt; RCS file: /home/cvs/incubator-myfaces/build/build.xml,v &gt;&gt;&gt; retrieving revision 1.57 &gt;&gt;&gt; retrieving revision 1.58 &gt;&gt;&gt; diff -u -r1.57 -r1.58 &gt;&gt;&gt; --- build.xml 26 Oct 2004 12:41:36 -0000 1.57 &gt;&gt;&gt; +++ build.xml 1 Nov 2004 16:21:46 -0000 1.58 &gt;&gt;&gt; @@ -119,9 +119,9 @@ &gt;&gt;&gt; &lt;/manifest&gt; &gt;&gt;&gt; &gt;&gt;&gt; &lt;!-- classes --&gt; &gt;&gt;&gt; - &lt;!--fileset dir=&quot;${api.classes}&quot; &gt;&gt;&gt; + &lt;fileset dir=&quot;${api.classes}&quot; &gt;&gt;&gt; includes=&quot;**&quot; &gt;&gt;&gt; - excludes=&quot;.dependency-info/**/*&quot;/--&gt; &gt;&gt;&gt; + excludes=&quot;.dependency-info/**/*&quot;/&gt; &gt;&gt;&gt; &lt;fileset dir=&quot;${share.classes}&quot; &gt;&gt;&gt; includes=&quot;**&quot; &gt;&gt;&gt; excludes=&quot;.dependency-info/**/*&quot;/&gt; &gt;&gt;&gt; &gt;&gt;&gt; &gt;&gt;&gt; &gt;&gt;&gt; &gt;&gt;&gt;/ &gt;&gt; &gt; Sylvain. &gt; &gt; &gt; &gt;</I></FONT></PRE> </BLOCKQUOTE> <PRE><TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%"> <TR> <TD> <BR> Sylvain.<BR> <BR> </TD> </TR> </TABLE> </PRE> </BODY> </HTML> --=-yyOH4d0q848nvr/udykj-- From [email protected] Thu Nov 04 07:10:08 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40385 invoked from network); 4 Nov 2004 07:10:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 4 Nov 2004 07:10:08 -0000 Received: (qmail 6511 invoked by uid 500); 4 Nov 2004 07:10:07 -0000 Delivered-To: [email protected] Received: (qmail 6484 invoked by uid 500); 4 Nov 2004 07:10:07 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 6471 invoked by uid 99); 4 Nov 2004 07:10:06 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO sc8-sf-sshgate.sourceforge.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 03 Nov 2004 23:10:05 -0800 Received: from sc8-sf-web2-b.sourceforge.net ([161.129.204.104] helo=sc8-sf-web2.sourceforge.net) by sc8-sf-sshgate.sourceforge.net with esmtp (Exim 3.36 #1 (Debian)) id 1CPbky-0006G2-00; Wed, 03 Nov 2004 23:10:04 -0800 Received: from nobody by sc8-sf-web2.sourceforge.net with local (Exim 4.33) id 1CPbky-00035N-36; Wed, 03 Nov 2004 23:10:04 -0800 To: [email protected] From: "SourceForge.net" <[email protected]> Subject: [ myfaces-Bugs-1059998 ] cactus-webapp build error Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Message-Id: <[email protected]> Sender: Nobody <[email protected]> Date: Wed, 03 Nov 2004 23:10:04 -0800 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Bugs item #1059998, was opened at 2004-11-04 10:17 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=525508&aid=1059998&group_id=69709 Category: None Group: v 1.0.6 Status: Open Resolution: None Priority: 5 Submitted By: hhreza (hhreza) Assigned to: Nobody/Anonymous (nobody) Summary: cactus-webapp build error Initial Comment: When I build myfaces\build\cactus-webapp ,I get error is there any setting should be down in tomcat tomcat-deploy-app: BUILD FAILED: /myfaces/build/cactus- webapp/build.xml:46: Following error occured while executing this line /myfaces/build/tomcat/tomcat-build.xmlf:12: java.io.IOException: Server returned HTTP response code: 401 for URL: http://localhost:8080/manager/deploy?path=% 2Fmyfaces-cactus-tests Total time: 5 seconds ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=525508&aid=1059998&group_id=69709 From [email protected] Thu Nov 04 22:20:14 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91326 invoked from network); 4 Nov 2004 22:20:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 4 Nov 2004 22:20:13 -0000 Received: (qmail 92483 invoked by uid 500); 4 Nov 2004 22:20:13 -0000 Delivered-To: [email protected] Received: (qmail 92395 invoked by uid 500); 4 Nov 2004 22:20:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 92352 invoked by uid 99); 4 Nov 2004 22:20:11 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO smtpout.mac.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 04 Nov 2004 14:20:10 -0800 Received: from mac.com (smtpin08-en2 [161.129.204.104]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id iA4MK1aW002552 for <[email protected]>; Thu, 4 Nov 2004 14:20:03 -0800 (PST) Received: from [161.129.204.104] (c-67-161-197-229.client.comcast.net [161.129.204.104]) (authenticated bits=0) by mac.com (Xserve/smtpin08/MantshX 4.0) with ESMTP id iA4MK0Ex012307 for <[email protected]>; Thu, 4 Nov 2004 14:20:01 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v619) Content-Transfer-Encoding: 7bit Message-Id: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed To: [email protected] From: Bill Dudney <[email protected]> Subject: bug tracker still on SF.net? Date: Thu, 4 Nov 2004 15:19:59 -0700 X-Mailer: Apple Mail (2.619) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi All, Where are we posting bugs these days? TTFN, -bd- From [email protected] Thu Nov 04 22:23:19 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92816 invoked from network); 4 Nov 2004 22:23:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 4 Nov 2004 22:23:19 -0000 Received: (qmail 97193 invoked by uid 500); 4 Nov 2004 22:23:18 -0000 Delivered-To: [email protected] Received: (qmail 97136 invoked by uid 500); 4 Nov 2004 22:23:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 97125 invoked by uid 99); 4 Nov 2004 22:23:18 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO moutng.kundenserver.de) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 04 Nov 2004 14:23:17 -0800 Received: from [161.129.204.104] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1CPq0g-00054m-00 for [email protected]; Thu, 04 Nov 2004 23:23:14 +0100 Received: from [161.129.204.104] (helo=fumakilla) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1CPq0g-0004hK-00 for [email protected]; Thu, 04 Nov 2004 23:23:14 +0100 From: "Matthias Wessendorf" <[email protected]> To: "'MyFaces Development'" <[email protected]> Subject: RE: bug tracker still on SF.net? Date: Thu, 4 Nov 2004 23:22:27 +0100 Message-ID: <006701c4c2bc$c4d1cae0$6402a8c0@fumakilla> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: <[email protected]> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Provags-ID: kundenserver.de [email protected] auth:157ed430dbf2887568e54eb61bfb58ed X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Bill, see here: http://nagoya.apache.org/jira/secure/BrowseProject.jspa?id=10600 I think all is ready to use jira. -Matthias > -----Original Message----- > From: Bill Dudney [mailto:[email protected]] > Sent: Thursday, November 04, 2004 11:20 PM > To: [email protected] > Subject: bug tracker still on SF.net? > > > Hi All, > > Where are we posting bugs these days? > > TTFN, > > -bd- > From [email protected] Fri Nov 05 08:48:25 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48278 invoked from network); 5 Nov 2004 08:48:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 5 Nov 2004 08:48:25 -0000 Received: (qmail 93524 invoked by uid 500); 5 Nov 2004 08:48:17 -0000 Delivered-To: [email protected] Received: (qmail 93474 invoked by uid 500); 5 Nov 2004 08:48:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 93435 invoked by uid 99); 5 Nov 2004 08:48:16 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO [161.129.204.104]) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 05 Nov 2004 00:48:14 -0800 Message-ID: <[email protected]> Date: Fri, 05 Nov 2004 09:46:33 +0100 From: Manfred Geiler <[email protected]> User-Agent: Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: MyFaces Development <[email protected]> Subject: Re: bug tracker still on SF.net? References: <006701c4c2bc$c4d1cae0$6402a8c0@fumakilla> In-Reply-To: <006701c4c2bc$c4d1cae0$6402a8c0@fumakilla> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi all, Hi Ted, Yes, Jira is ready to use and I have changed the link from myfaces.org to the new Jira tracker. Ted, there is only one thing left. Can you please ask the infrastructure guys to create the directory /opt/tomcat/jira/repos/incubator-myfaces with write permissions for us, so that we are able to configure the CVS feature in Jira for MyFaces. Thanks. What I do not know is, how we can transfer our existing issues to Jira. Jira is able to import some formats (Bugzilla, Mantis, CSV) but I do not see a way to get the data out of sourceforge. Any ideas? Manfred Matthias Wessendorf wrote: > Hi Bill, > > see here: > http://nagoya.apache.org/jira/secure/BrowseProject.jspa?id=10600 > > I think all is ready to use jira. > > -Matthias > > >>-----Original Message----- >>From: Bill Dudney [mailto:[email protected]] >>Sent: Thursday, November 04, 2004 11:20 PM >>To: [email protected] >>Subject: bug tracker still on SF.net? >> >> >>Hi All, >> >>Where are we posting bugs these days? >> >>TTFN, >> >>-bd- >> > > > > From [email protected] Fri Nov 05 16:07:41 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64015 invoked from network); 5 Nov 2004 16:07:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 5 Nov 2004 16:07:41 -0000 Received: (qmail 10702 invoked by uid 500); 5 Nov 2004 16:07:41 -0000 Delivered-To: [email protected] Received: (qmail 10594 invoked by uid 500); 5 Nov 2004 16:07:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 10572 invoked by uid 99); 5 Nov 2004 16:07:39 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO smtpout.mac.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 05 Nov 2004 08:07:39 -0800 Received: from mac.com (smtpin08-en2 [161.129.204.104]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id iA5G7WLU016893 for <[email protected]>; Fri, 5 Nov 2004 08:07:34 -0800 (PST) Received: from [161.129.204.104] (c-67-161-197-229.client.comcast.net [161.129.204.104]) (authenticated bits=0) by mac.com (Xserve/smtpin08/MantshX 4.0) with ESMTP id iA5G7VQN026171 for <[email protected]>; Fri, 5 Nov 2004 08:07:32 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v619) Content-Transfer-Encoding: 7bit Message-Id: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed To: [email protected] From: Bill Dudney <[email protected]> Subject: VariableResolverImpl Date: Fri, 5 Nov 2004 09:07:30 -0700 X-Mailer: Apple Mail (2.619) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi All, I'd like to change the log.error to log.info. I'm using the spring integration and its disconcerting to see an error log when no error actually occurred. Thoughts? -bd- From [email protected] Fri Nov 05 16:11:15 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66052 invoked from network); 5 Nov 2004 16:11:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 5 Nov 2004 16:11:15 -0000 Received: (qmail 20272 invoked by uid 500); 5 Nov 2004 16:10:35 -0000 Delivered-To: [email protected] Received: (qmail 20185 invoked by uid 500); 5 Nov 2004 16:10:34 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 20086 invoked by uid 99); 5 Nov 2004 16:10:32 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO [161.129.204.104]) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 05 Nov 2004 08:10:32 -0800 Message-ID: <[email protected]> Date: Fri, 05 Nov 2004 17:08:50 +0100 From: Manfred Geiler <[email protected]> User-Agent: Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: MyFaces Development <[email protected]> Subject: Re: VariableResolverImpl References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Bill, Why not log.warn ? Manfred Bill Dudney wrote: > Hi All, > > I'd like to change the log.error to log.info. I'm using the spring > integration and its disconcerting to see an error log when no error > actually occurred. > > Thoughts? > > -bd- From [email protected] Fri Nov 05 17:25:31 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 556 invoked from network); 5 Nov 2004 17:25:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 5 Nov 2004 17:25:30 -0000 Received: (qmail 91986 invoked by uid 500); 5 Nov 2004 17:25:30 -0000 Delivered-To: [email protected] Received: (qmail 91936 invoked by uid 500); 5 Nov 2004 17:25:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 91921 invoked by uid 99); 5 Nov 2004 17:25:29 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO smtpout.mac.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 05 Nov 2004 09:25:27 -0800 Received: from mac.com (smtpin08-en2 [161.129.204.104]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id iA5HPPd8000532 for <[email protected]>; Fri, 5 Nov 2004 09:25:25 -0800 (PST) Received: from [161.129.204.104] (c-67-161-197-229.client.comcast.net [161.129.204.104]) (authenticated bits=0) by mac.com (Xserve/smtpin08/MantshX 4.0) with ESMTP id iA5HPNdc022556 for <[email protected]>; Fri, 5 Nov 2004 09:25:24 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit From: Bill Dudney <[email protected]> Subject: Re: VariableResolverImpl Date: Fri, 5 Nov 2004 10:25:23 -0700 To: MyFaces Development <[email protected]> X-Mailer: Apple Mail (2.619) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Manfred, log.warn is fine. TTFN, -bd- On Nov 5, 2004, at 9:08 AM, Manfred Geiler wrote: > Bill, > Why not log.warn ? > > Manfred > > > Bill Dudney wrote: >> Hi All, >> I'd like to change the log.error to log.info. I'm using the spring >> integration and its disconcerting to see an error log when no error >> actually occurred. >> Thoughts? >> -bd- > From [email protected] Mon Nov 08 12:11:47 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 50445 invoked from network); 8 Nov 2004 12:11:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 8 Nov 2004 12:11:47 -0000 Received: (qmail 66204 invoked by uid 500); 8 Nov 2004 12:11:47 -0000 Delivered-To: [email protected] Received: (qmail 66174 invoked by uid 500); 8 Nov 2004 12:11:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 62789 invoked by uid 99); 8 Nov 2004 09:26:44 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Date: Mon, 8 Nov 2004 10:26:37 +0100 (MET) From: "Thomas Spiegl" <[email protected]> To: Bill Dudney <[email protected]> Cc: [email protected] MIME-Version: 1.0 References: <[email protected]> Subject: Re: 'normal' files and the JspTilesViewHandlerImpl X-Priority: 3 (Normal) X-Authenticated: #18645813 Message-ID: <[email protected]> X-Mailer: WWW-Mail 1.6 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Bill, i just fixed JspTilesViewHandlerImpl to meet your needs. If no isExtensionMapping is found for the request, the viewHanlder checks if viewId ends with default suffux (config-param javax.faces.DEFAULT_SUFFIX). If default_suffix is null ".jsp" will be used. If the check returns true, then tiles-support will be used. On false, the viewHanlder dispatches to viewId without manipulation to it. Does this work for you? HTH, thomas > Hi All & esp Thomas, > > When playing around with the tiles view handler I've run into a > problem. I have css (resources/styles.css) files that are loaded by > some of my JSP's. When they are sent through the > JspTilesViewHandlerImpl the request gets turned into > resources/styles.tiles. Which of course can't be found. I'm using the > faces/* mapping. I've not tried the extension (*.jsf) mapping. > > I've put in a solution to get the view handler to ignore certain file > extensions (the list is config driven in the web.xml file). This > approach works but I' not sure that I like it. I don't like forcing > another configuration. What do you think of by default only > transforming .jsp requests (or the extension defined in the extension > mapping) and then having a configuration option to transform any > others. Then the default would work for most cases and configuration > would only be required for the non-typical case. > > I was also thinking of trying to find the mapping as is done now then > if that fails try the original request and see if it succeeds (which > might also have problems). > > Anyway your thoughts on this would be most appreciated. I would also be > glad to post an issue if this is going to need tracking before it gets > resolved. > > TTFN, > > -bd- > -- NEU +++ DSL Komplett von GMX +++ http://www.gmx.net/de/go/dsl GMX DSL-Netzanschluss + Tarif zum supergünstigen Komplett-Preis! From [email protected] Mon Nov 08 12:12:48 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51074 invoked from network); 8 Nov 2004 12:12:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 8 Nov 2004 12:12:47 -0000 Received: (qmail 67720 invoked by uid 500); 8 Nov 2004 12:12:45 -0000 Delivered-To: [email protected] Received: (qmail 67688 invoked by uid 500); 8 Nov 2004 12:12:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 88446 invoked by uid 99); 8 Nov 2004 03:36:52 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit Cc: Thomas Spiegl <[email protected]> From: Bill Dudney <[email protected]> Subject: 'normal' files and the JspTilesViewHandlerImpl Date: Sun, 7 Nov 2004 20:36:10 -0700 To: MyFaces DevList <[email protected]> X-Mailer: Apple Mail (2.619) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi All & esp Thomas, When playing around with the tiles view handler I've run into a problem. I have css (resources/styles.css) files that are loaded by some of my JSP's. When they are sent through the JspTilesViewHandlerImpl the request gets turned into resources/styles.tiles. Which of course can't be found. I'm using the faces/* mapping. I've not tried the extension (*.jsf) mapping. I've put in a solution to get the view handler to ignore certain file extensions (the list is config driven in the web.xml file). This approach works but I' not sure that I like it. I don't like forcing another configuration. What do you think of by default only transforming .jsp requests (or the extension defined in the extension mapping) and then having a configuration option to transform any others. Then the default would work for most cases and configuration would only be required for the non-typical case. I was also thinking of trying to find the mapping as is done now then if that fails try the original request and see if it succeeds (which might also have problems). Anyway your thoughts on this would be most appreciated. I would also be glad to post an issue if this is going to need tracking before it gets resolved. TTFN, -bd- From [email protected] Mon Nov 08 20:21:03 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37008 invoked from network); 8 Nov 2004 20:21:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 8 Nov 2004 20:21:02 -0000 Received: (qmail 66728 invoked by uid 500); 8 Nov 2004 20:21:02 -0000 Delivered-To: [email protected] Received: (qmail 66697 invoked by uid 500); 8 Nov 2004 20:21:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 66686 invoked by uid 99); 8 Nov 2004 20:21:01 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=HTML_30_40,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO mailgwvw01.freelance.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 08 Nov 2004 12:21:01 -0800 Received: from mailgwvw02.freelance.com (mailgwvw02.freelance.com [161.129.204.104]) by mailgwvw01.freelance.com (8.12.3/8.12.3) with ESMTP id iA8KLUs5029912 for <[email protected]>; Mon, 8 Nov 2004 21:21:30 +0100 Received: from [161.129.204.104] ([161.129.204.104]) by mailgwvw02.freelance.com (Lotus Domino Release 5.0.12) with ESMTP id 2004110821204272:8753 ; Mon, 8 Nov 2004 21:20:42 +0100 Subject: examples webapp broken From: Sylvain Vieujot <[email protected]> To: MyFaces Development <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Message-Id: <1099945214.3359.37.camel@sv> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Mon, 08 Nov 2004 16:20:14 -0400 X-MIMETrack: Itemize by SMTP Server on mailgw01/Freelance(Release 5.0.12 |February 13, 2003) at 11/08/2004 09:20:46 PM, Serialize by Router on mailgw01/Freelance(Release 5.0.12 |February 13, 2003) at 11/08/2004 09:20:46 PM, Serialize complete at 11/08/2004 09:20:46 PM Content-Type: multipart/alternative; boundary="=-DSZN5IiR0bDcAoaNTPXd" X-Spam-Status: No, hits=0.5 required=5.0 tests=HTML_20_30,HTML_MESSAGE autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on mailgwvw01.freelance.com X-Virus-Scanned: ClamAV 0.80rc/530/Thu Oct 14 04:41:39 2004 clamav-milter version 0.80 on 161.129.204.104 X-Virus-Status: Clean X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --=-DSZN5IiR0bDcAoaNTPXd Content-Transfer-Encoding: 7bit Content-Type: text/plain It appears the examples webapp doesn't work anymore. When I try to deploy it under tomcat 5.5, I just get blank pages : <html><body></body></html> I know we had this problem once already, but I don't remember very well what it was. I think it had to do with a JspViewHandlerImp, but I'm really not sure, as I wasn't the one who fixed it. Anyone has the same problem ? The other applications where I'm using the same myfaces.jar work though. P.S. I was about to commit some changes, so I wanted to test them when I discovered this. However, it appears that the version prior to the changes has the same problems. I'm going to commit the new component anyway, as it doesn't seem to be the culprit, and it works fine in my other applications. Sylvain. --=-DSZN5IiR0bDcAoaNTPXd Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=utf-8 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8"> <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.10"> </HEAD> <BODY> It appears the examples webapp doesn't work anymore.<BR> When I try to deploy it under tomcat 5.5, I just get blank pages :<BR> &lt;html&gt;&lt;body&gt;&lt;/body&gt;&lt;/html&gt;<BR> <BR> I know we had this problem once already, but I don't remember very well what it was.<BR> I think it had to do with a JspViewHandlerImp, but I'm really not sure, as I wasn't the one who fixed it.<BR> Anyone has the same problem ?<BR> <BR> The other applications where I'm using the same myfaces.jar work though.<BR> <BR> P.S. I was about to commit some changes, so I wanted to test them when I discovered this. However, it appears that the version prior to the changes has the same problems.<BR> I'm going to commit the new component anyway, as it doesn't seem to be the culprit, and it works fine in my other applications.<BR> <TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%"> <TR> <TD> <BR> Sylvain.<BR> <BR> </TD> </TR> </TABLE> </BODY> </HTML> --=-DSZN5IiR0bDcAoaNTPXd-- From [email protected] Mon Nov 08 20:29:20 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 43794 invoked from network); 8 Nov 2004 20:29:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 8 Nov 2004 20:29:20 -0000 Received: (qmail 81840 invoked by uid 500); 8 Nov 2004 20:29:20 -0000 Delivered-To: [email protected] Received: (qmail 81804 invoked by uid 500); 8 Nov 2004 20:29:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 81786 invoked by uid 99); 8 Nov 2004 20:29:19 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=HTML_30_40,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO mailgwvw01.freelance.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 08 Nov 2004 12:29:19 -0800 Received: from mailgwvw02.freelance.com (mailgwvw02.freelance.com [161.129.204.104]) by mailgwvw01.freelance.com (8.12.3/8.12.3) with ESMTP id iA8KTms5030533; Mon, 8 Nov 2004 21:29:48 +0100 Received: from [161.129.204.104] ([161.129.204.104]) by mailgwvw02.freelance.com (Lotus Domino Release 5.0.12) with ESMTP id 2004110821290072:8755 ; Mon, 8 Nov 2004 21:29:00 +0100 Subject: New AliasBean component From: Sylvain Vieujot <[email protected]> To: MyFaces Development <[email protected]> Message-Id: <1099945735.3359.47.camel@sv> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Mon, 08 Nov 2004 16:28:56 -0400 X-MIMETrack: Itemize by SMTP Server on mailgw01/Freelance(Release 5.0.12 |February 13, 2003) at 11/08/2004 09:29:04 PM, Serialize by Router on mailgw01/Freelance(Release 5.0.12 |February 13, 2003) at 11/08/2004 09:29:04 PM, Serialize complete at 11/08/2004 09:29:04 PM Content-Type: multipart/alternative; boundary="=-F6wW/VD6P5qEcN3qzZnQ" X-Spam-Status: No, hits=0.5 required=5.0 tests=HTML_20_30,HTML_MESSAGE autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on mailgwvw01.freelance.com X-Virus-Scanned: ClamAV 0.80rc/530/Thu Oct 14 04:41:39 2004 clamav-milter version 0.80 on 161.129.204.104 X-Virus-Status: Clean X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --=-F6wW/VD6P5qEcN3qzZnQ Content-Transfer-Encoding: 7bit Content-Type: text/plain I'm about to commit a new component that allows to make a library of reusable generic subforms. The aliasBean tag allows you to link a fictive bean to a real bean. Let's suppose you have a subform you use often but with different beans. The aliasBean allows you to design the subform with a fictive bean and to include it in all the pages where you use it. You just need to make an alias to the real bean named after the fictive bean before invoking the fictive bean. example : In this example, the customerAddress bean is a managed bean, but the address bean isn't defined anywhere. After the aliasBean tag, we can use #{address.*} in place of #{custommerAddress.*}, so making it possible to have a generic address subforms (ok, this one it a bite simple form, but here is the idea). <h:form> <x:aliasBean sourceBean="#{customerAddress}" alias="#{address}"/> <f:subview id="simulatedIncludedSubform"> <%-- The next tag could be inserted by an %@ include or jsp:include --%> <h:inputText value="#{address}"/> </f:subview> <h:commandButton/> </h:form> Thanks for your comments. Sylvain. --=-F6wW/VD6P5qEcN3qzZnQ Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=utf-8 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8"> <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.10"> </HEAD> <BODY> I'm about to commit a new component that allows to make a library of reusable generic subforms.<BR> <BR> The aliasBean tag allows you to link a fictive bean to a real bean.<BR> <BR> Let's suppose you have a subform you use often but with different beans.<BR> The aliasBean allows you to design the subform with a fictive bean and to include it in all the pages where you use it.<BR> You just need to make an alias to the real bean named after the fictive bean before invoking the fictive bean.<BR> <BR> example :<BR> <BR> In this example, the customerAddress bean is a managed bean, but the address bean isn't defined anywhere.<BR> After the aliasBean tag, we can use #{address.*} in place of #{custommerAddress.*}, so making it possible to have a generic address subforms (ok, this one it a bite simple form, but here is the idea).<BR> <BR> &lt;h:form&gt;<BR> &lt;x:aliasBean sourceBean=&quot;#{customerAddress}&quot; alias=&quot;#{address}&quot;/&gt;<BR> &lt;f:subview id=&quot;simulatedIncludedSubform&quot;&gt;<BR> &lt;%-- The next tag could be inserted by an %@ include or jsp:include --%&gt;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;h:inputText value=&quot;#{address}&quot;/&gt;<BR> &lt;/f:subview&gt;<BR> <BR> &lt;h:commandButton/&gt;<BR> &lt;/h:form&gt;<BR> <BR> Thanks for your comments.<BR> <TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%"> <TR> <TD> <BR> Sylvain.<BR> <BR> </TD> </TR> </TABLE> </BODY> </HTML> --=-F6wW/VD6P5qEcN3qzZnQ-- From [email protected] Tue Nov 09 15:22:02 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59625 invoked from network); 9 Nov 2004 15:22:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 9 Nov 2004 15:22:01 -0000 Received: (qmail 75476 invoked by uid 500); 9 Nov 2004 15:21:43 -0000 Delivered-To: [email protected] Received: (qmail 75410 invoked by uid 500); 9 Nov 2004 15:21:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 33757 invoked by uid 99); 8 Nov 2004 13:47:23 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: quoted-printable From: Bill Dudney <[email protected]> Subject: Re: 'normal' files and the JspTilesViewHandlerImpl Date: Mon, 8 Nov 2004 06:47:12 -0700 To: MyFaces Development <[email protected]> X-Mailer: Apple Mail (2.619) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Thomas, Thanks, that worked like a champ. TTFN, -bd- On Nov 8, 2004, at 2:26 AM, Thomas Spiegl wrote: > Hi Bill, > > i just fixed JspTilesViewHandlerImpl to meet your needs. > > If no isExtensionMapping is found for the request, > the viewHanlder checks if viewId ends with > default suffux (config-param javax.faces.DEFAULT_SUFFIX). > If default_suffix is null ".jsp" will be used. > If the check returns true, then tiles-support will be used. > On false, the viewHanlder dispatches to viewId without > manipulation to it. > > Does this work for you? > HTH, thomas >> Hi All & esp Thomas, >> >> When playing around with the tiles view handler I've run into a >> problem. I have css (resources/styles.css) files that are loaded by >> some of my JSP's. When they are sent through the >> JspTilesViewHandlerImpl the request gets turned into >> resources/styles.tiles. Which of course can't be found. I'm using the >> faces/* mapping. I've not tried the extension (*.jsf) mapping. >> >> I've put in a solution to get the view handler to ignore certain file >> extensions (the list is config driven in the web.xml file). This >> approach works but I' not sure that I like it. I don't like forcing >> another configuration. What do you think of by default only >> transforming .jsp requests (or the extension defined in the extension >> mapping) and then having a configuration option to transform any >> others. Then the default would work for most cases and configuration >> would only be required for the non-typical case. >> >> I was also thinking of trying to find the mapping as is done now then >> if that fails try the original request and see if it succeeds (which >> might also have problems). >> >> Anyway your thoughts on this would be most appreciated. I would also=20= >> be >> glad to post an issue if this is going to need tracking before it = gets >> resolved. >> >> TTFN, >> >> -bd- >> > > --=20 > NEU +++ DSL Komplett von GMX +++ http://www.gmx.net/de/go/dsl > GMX DSL-Netzanschluss + Tarif zum superg=FCnstigen Komplett-Preis! > From [email protected] Tue Nov 09 15:22:04 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59646 invoked from network); 9 Nov 2004 15:22:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 9 Nov 2004 15:22:01 -0000 Received: (qmail 75737 invoked by uid 500); 9 Nov 2004 15:21:46 -0000 Delivered-To: [email protected] Received: (qmail 75685 invoked by uid 500); 9 Nov 2004 15:21:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 38227 invoked by uid 99); 8 Nov 2004 13:49:23 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Mime-Version: 1.0 (Apple Message framework v619) Content-Transfer-Encoding: 7bit Message-Id: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed To: MyFaces DevList <[email protected]> From: Bill Dudney <[email protected]> Subject: div element Date: Mon, 8 Nov 2004 06:49:13 -0700 X-Mailer: Apple Mail (2.619) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi All, I've just committed a new component that adds a div to the html. You can specify the style with the style attribute or the class attribute with the styleClass attribute. I also added a cactus test. TTFN, -bd- From [email protected] Wed Nov 10 10:49:09 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 39161 invoked from network); 10 Nov 2004 10:49:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 10 Nov 2004 10:49:09 -0000 Received: (qmail 97054 invoked by uid 500); 10 Nov 2004 10:49:08 -0000 Delivered-To: [email protected] Received: (qmail 97018 invoked by uid 500); 10 Nov 2004 10:49:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 97006 invoked by uid 99); 10 Nov 2004 10:49:08 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO mailrelay.t-mobile.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 10 Nov 2004 02:49:07 -0800 Received: from localhost (localhost [161.129.204.104]) by mailrelay.t-mobile.com (Postfix) with ESMTP id 52CAB99B0 for <[email protected]>; Wed, 10 Nov 2004 04:45:32 -0600 (CST) Received: from mailrelay.t-mobile.com ([161.129.204.104]) by localhost (mailrelay.t-mobile.com [161.129.204.104]) (amavisd-new, port 10024) with ESMTP id 16561-08 for <[email protected]>; Wed, 10 Nov 2004 04:45:31 -0600 (CST) Received: from [161.129.204.104] (unknown [161.129.204.104]) by mailrelay.t-mobile.com (Postfix) with ESMTP for <[email protected]>; Wed, 10 Nov 2004 04:45:31 -0600 (CST) Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <1099945735.3359.47.camel@sv> References: <1099945735.3359.47.camel@sv> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: quoted-printable From: Bill Dudney <[email protected]> Subject: Re: New AliasBean component Date: Wed, 10 Nov 2004 03:49:04 -0700 To: MyFaces Development <[email protected]> X-Mailer: Apple Mail (2.619) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N How about having a close that removes the alias? So you could do; <x:aliasBean...> alias valid... </x:aliasBean> alias not valid... So in encodeBegin(...) the alias is made and in encodeEnd(...) the=20 alias is removed. Thoughts? I personally like this approach better because it is more explicit and=20= if you have more than one subform on the same page the coming and going=20= of the alias would be explicit (probably helping me find bugs, or=20 preventing me from introducing them). -bd- On Nov 8, 2004, at 1:28 PM, Sylvain Vieujot wrote: > I'm about to commit a new component that allows to make a library of=20= > reusable generic subforms. > > The aliasBean tag allows you to link a fictive bean to a real bean. > > Let's suppose you have a subform you use often but with different=20 > beans. > The aliasBean allows you to design the subform with a fictive bean=20 > and to include it in all the pages where you use it. > You just need to make an alias to the real bean named after the=20 > fictive bean before invoking the fictive bean. > > example : > > In this example, the customerAddress bean is a managed bean, but the=20= > address bean isn't defined anywhere. > After the aliasBean tag, we can use #{address.*} in place of=20 > #{custommerAddress.*}, so making it possible to have a generic address=20= > subforms (ok, this one it a bite simple form, but here is the idea). > > <h:form> > <x:aliasBean sourceBean=3D"#{customerAddress}" alias=3D"#{address}"/> > <f:subview id=3D"simulatedIncludedSubform"> > <%-- The next tag could be inserted by an %@ include or jsp:include=20= > --%> > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = <h:inputText value=3D"#{address}"/> > </f:subview> > > <h:commandButton/> > </h:form> > > Thanks for your comments. > > > > Sylvain. > > =20= From [email protected] Thu Nov 11 04:12:09 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7244 invoked from network); 11 Nov 2004 04:12:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 11 Nov 2004 04:12:09 -0000 Received: (qmail 36624 invoked by uid 500); 11 Nov 2004 04:12:09 -0000 Delivered-To: [email protected] Received: (qmail 36588 invoked by uid 500); 11 Nov 2004 04:12:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 36575 invoked by uid 99); 11 Nov 2004 04:12:08 -0000 Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO sc8-sf-sshgate.sourceforge.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 10 Nov 2004 20:12:08 -0800 Received: from sc8-sf-web2-b.sourceforge.net ([161.129.204.104] helo=sc8-sf-web2.sourceforge.net) by sc8-sf-sshgate.sourceforge.net with esmtp (Exim 3.36 #1 (Debian)) id 1CS6JZ-00019K-00; Wed, 10 Nov 2004 20:12:05 -0800 Received: from nobody by sc8-sf-web2.sourceforge.net with local (Exim 4.33) id 1CS6JY-0007u0-UJ; Wed, 10 Nov 2004 20:12:04 -0800 To: [email protected] From: "SourceForge.net" <[email protected]> Subject: [ myfaces-Feature Requests-1064298 ] support dialog box search & return Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Message-Id: <[email protected]> Sender: Nobody <[email protected]> Date: Wed, 10 Nov 2004 20:12:04 -0800 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Feature Requests item #1064298, was opened at 2004-11-11 04:12 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=525511&aid=1064298&group_id=69709 Category: None Group: None Status: Open Priority: 5 Submitted By: Kenneth (c3kit) Assigned to: Nobody/Anonymous (nobody) Summary: support dialog box search & return Initial Comment: Like many client application, press function key to popup dialog box and get the search result, then back to previous form.. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=525511&aid=1064298&group_id=69709 From [email protected] Thu Nov 11 07:44:58 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79034 invoked from network); 11 Nov 2004 07:44:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 11 Nov 2004 07:44:57 -0000 Received: (qmail 60420 invoked by uid 500); 11 Nov 2004 07:44:57 -0000 Delivered-To: [email protected] Received: (qmail 60355 invoked by uid 500); 11 Nov 2004 07:44:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 60342 invoked by uid 99); 11 Nov 2004 07:44:56 -0000 Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO sc8-sf-sshgate.sourceforge.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 10 Nov 2004 23:44:56 -0800 Received: from sc8-sf-web2-b.sourceforge.net ([161.129.204.104] helo=sc8-sf-web2.sourceforge.net) by sc8-sf-sshgate.sourceforge.net with esmtp (Exim 3.36 #1 (Debian)) id 1CS9dH-00052y-00; Wed, 10 Nov 2004 23:44:39 -0800 Received: from nobody by sc8-sf-web2.sourceforge.net with local (Exim 4.33) id 1CS9dH-00059H-Fi; Wed, 10 Nov 2004 23:44:39 -0800 To: [email protected] From: "SourceForge.net" <[email protected]> Subject: [ myfaces-Bugs-1064356 ] [tiles] DOCTYPE declaration in tile.xml is old. Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Message-Id: <[email protected]> Sender: Nobody <[email protected]> Date: Wed, 10 Nov 2004 23:44:39 -0800 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Bugs item #1064356, was opened at 2004-11-11 16:44 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=525508&aid=1064356&group_id=69709 Category: custom and extended components Group: v 1.0.7 Status: Open Resolution: None Priority: 5 Submitted By: Sakanoue Atsuhiko (atsuhiko) Assigned to: Nobody/Anonymous (nobody) Summary: [tiles] DOCTYPE declaration in tile.xml is old. Initial Comment: Problem: myfaces-tiles-example.war doesn't work, and throws DefinitionsFactoryException. -------- org.apache.myfaces.application.jsp.JspTilesViewHandlerI mpl getDefinitionsFactory FATAL: Error reading tiles definitions org.apache.struts.tiles.DefinitionsFactoryException: IO Error while parsing file '/WEB-INF/tiles.xml'. Connection refused: connect -------- Version: JDK: 1.4.2_06 Tomcat: 4.1.31 MyFaces: CVS HEAD & 1.0.7 Detail Cause: $MODULE_ROOT/webapps/tiles/web/WEB-INF/tiles.xml -------- <!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles Configuration//EN" "http://jakarta.apache.org/struts/dtds/tiles- config.dtd"> -------- Modify as follows. -------- <?xml version="1.0"?> <!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN" "http://struts.apache.org/dtds/tiles-config_1_1.dtd"> -------- In passing: $MODULE_ROOT/webapps/tiles/web/WEB-INF/tiles- config_1_1.dtd Replace it to <http://struts.apache.org/dtds/tiles- config_1_1.dtd> because it is also old. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=525508&aid=1064356&group_id=69709 From [email protected] Thu Nov 11 17:05:07 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 98069 invoked from network); 11 Nov 2004 17:05:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 11 Nov 2004 17:05:07 -0000 Received: (qmail 41049 invoked by uid 500); 11 Nov 2004 17:05:06 -0000 Delivered-To: [email protected] Received: (qmail 41007 invoked by uid 500); 11 Nov 2004 17:05:06 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 40996 invoked by uid 99); 11 Nov 2004 17:05:06 -0000 Received-SPF: neutral (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO dudney.jportfolio.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 11 Nov 2004 09:05:06 -0800 Received: from [161.129.204.104] (161.129.204.104.netbeam.net [161.129.204.104] (may be forged)) by dudney.jportfolio.com (8.11.6/8.11.6) with ESMTP id iABHiGd05861 for <[email protected]>; Thu, 11 Nov 2004 12:44:17 -0500 Mime-Version: 1.0 (Apple Message framework v619) To: MyFaces DevList <[email protected]> Message-Id: <[email protected]> Content-Type: multipart/alternative; boundary=Apple-Mail-36--521077805 From: Bill Dudney <[email protected]> Subject: error handling Date: Thu, 11 Nov 2004 10:04:50 -0700 X-Mailer: Apple Mail (2.619) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --Apple-Mail-36--521077805 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Hi All, I had a bogus renderer class name in my faces-config.xml file which was causing a lot of problems. However the error I was getting java.lang.IllegalStateException: org.apache.myfaces.webapp.webxml.WebXml.init must be called before! org.apache.myfaces.webapp.webxml.WebXml.getWebXml(WebXml.java:131) org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.getServletMap ping(JspTilesViewHandlerImpl.java:236) org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.renderView(Js pTilesViewHandlerImpl.java:130) org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java: 290) javax.faces.webapp.FacesServlet.service(FacesServlet.java:110) org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilt erInternal(OpenSessionInViewFilter.java:170) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequ estFilter.java:73) org.apache.myfaces.custom.fileupload.MultipartFilter.doFilter(MultipartF ilter.java:88) was not all together helpful :-) Turns out the problem was that the bogus class name was causing the whole loading of the configuration to fail so there was no render kit and a bunch of other bad things. The WebXml.init is called after the call to FacesConfigurator.configure so the init was not called which was the immediate cause of the error. However after much banging my head against the monitor I was getting null renderkits and lots of other bad things. So I propose the following patch to FacesConfigurator to give a better warning and to allow the configuration to proceed. Your thoughts are greatly appreciated. If there is no objection I'll commit this code. TTFN, -bd- Index: FacesConfigurator.java =================================================================== RCS file: /home/cvs/incubator-myfaces/src/myfaces/org/apache/myfaces/config/ FacesConfigurator.java,v retrieving revision 1.7 diff -u -r1.7 FacesConfigurator.java --- FacesConfigurator.java 13 Oct 2004 11:50:59 -0000 1.7 +++ FacesConfigurator.java 11 Nov 2004 17:02:10 -0000 @@ -607,7 +607,14 @@ for (Iterator renderers = _dispenser.getRenderers(renderKitId); renderers.hasNext();) { Renderer element = (Renderer) renderers.next(); - javax.faces.render.Renderer renderer = (javax.faces.render.Renderer) ClassUtils.newInstance(element.getRendererClass()); + javax.faces.render.Renderer renderer = null; + try { + renderer = (javax.faces.render.Renderer) ClassUtils.newInstance(element.getRendererClass()); + } catch(FacesException e) { + // ignore the failure so that the render kit is configured + log.error("failed to configure class " + element.getRendererClass(), e); + continue; + } renderKit.addRenderer(element.getComponentFamily(), element.getRendererType(), renderer); } --Apple-Mail-36--521077805 Content-Transfer-Encoding: 7bit Content-Type: text/enriched; charset=US-ASCII Hi All, I had a bogus renderer class name in my faces-config.xml file which was causing a lot of problems. However the error I was getting <fontfamily><param>Courier</param><smaller>java.lang.IllegalStateException: org.apache.myfaces.webapp.webxml.WebXml.init must be called before! org.apache.myfaces.webapp.webxml.WebXml.getWebXml(WebXml.java:131) org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.getServletMapping(JspTilesViewHandlerImpl.java:236) org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.renderView(JspTilesViewHandlerImpl.java:130) org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:290) javax.faces.webapp.FacesServlet.service(FacesServlet.java:110) org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:73) org.apache.myfaces.custom.fileupload.MultipartFilter.doFilter(MultipartFilter.java:88)</smaller><x-tad-bigger> </x-tad-bigger></fontfamily> was not all together helpful :-) Turns out the problem was that the bogus class name was causing the whole loading of the configuration to fail so there was no render kit and a bunch of other bad things. The WebXml.init is called after the call to FacesConfigurator.configure so the init was not called which was the immediate cause of the error. However after much banging my head against the monitor I was getting null renderkits and lots of other bad things. So I propose the following patch to FacesConfigurator to give a better warning and to allow the configuration to proceed. Your thoughts are greatly appreciated. If there is no objection I'll commit this code. TTFN, -bd- Index: FacesConfigurator.java =================================================================== RCS file: /home/cvs/incubator-myfaces/src/myfaces/org/apache/myfaces/config/FacesConfigurator.java,v retrieving revision 1.7 diff -u -r1.7 FacesConfigurator.java --- FacesConfigurator.java 13 Oct 2004 11:50:59 -0000 1.7 +++ FacesConfigurator.java 11 Nov 2004 17:02:10 -0000 @@ -607,7 +607,14 @@ for (Iterator renderers = _dispenser.getRenderers(renderKitId); renderers.hasNext();) { Renderer element = (Renderer) renderers.next(); - javax.faces.render.Renderer renderer = (javax.faces.render.Renderer) ClassUtils.newInstance(element.getRendererClass()); + javax.faces.render.Renderer renderer = null; + try { + renderer = (javax.faces.render.Renderer) ClassUtils.newInstance(element.getRendererClass()); + } catch(FacesException e) { + // ignore the failure so that the render kit is configured + log.error("failed to configure class " + element.getRendererClass(), e); + continue; + } renderKit.addRenderer(element.getComponentFamily(), element.getRendererType(), renderer); } --Apple-Mail-36--521077805-- From [email protected] Thu Nov 11 19:16:37 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 69605 invoked from network); 11 Nov 2004 19:16:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 11 Nov 2004 19:16:37 -0000 Received: (qmail 13371 invoked by uid 500); 11 Nov 2004 19:16:27 -0000 Delivered-To: [email protected] Received: (qmail 13267 invoked by uid 500); 11 Nov 2004 19:16:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 13222 invoked by uid 99); 11 Nov 2004 19:16:26 -0000 Received-SPF: neutral (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO mailgwvw01.freelance.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 11 Nov 2004 11:16:26 -0800 Received: from mailgwvw02.freelance.com (mailgwvw02.freelance.com [161.129.204.104]) by mailgwvw01.freelance.com (8.12.3/8.12.3) with ESMTP id iABJGjs5018368 for <[email protected]>; Thu, 11 Nov 2004 20:16:45 +0100 Received: from 161.129.204.104 ([161.129.204.104]) by mailgwvw02.freelance.com (Lotus Domino Release 5.0.12) with ESMTP id 2004111120155867:10014 ; Thu, 11 Nov 2004 20:15:58 +0100 Subject: Re: error handling From: Sylvain Vieujot <[email protected]> To: MyFaces Development <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> Date: Thu, 11 Nov 2004 15:16:10 -0400 Message-Id: <[email protected]> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-3) X-MIMETrack: Itemize by SMTP Server on mailgw01/Freelance(Release 5.0.12 |February 13, 2003) at 11/11/2004 08:15:59 PM, Serialize by Router on mailgw01/Freelance(Release 5.0.12 |February 13, 2003) at 11/11/2004 08:16:00 PM, Serialize complete at 11/11/2004 08:16:00 PM Content-Type: multipart/alternative; boundary="=-0xK6fUua4UisLbiixTwm" X-Spam-Status: No, hits=0.8 required=5.0 tests=HTML_30_40,HTML_MESSAGE autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on mailgwvw01.freelance.com X-Virus-Scanned: ClamAV 0.80rc/530/Thu Oct 14 04:41:39 2004 clamav-milter version 0.80 on 161.129.204.104 X-Virus-Status: Clean X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --=-0xK6fUua4UisLbiixTwm Content-Transfer-Encoding: 7bit Content-Type: text/plain I fully subscribe to this change ! On Thu, 2004-11-11 at 10:04 -0700, Bill Dudney wrote: > > > ______________________________________________________________________ > > Hi All, > > I had a bogus renderer class name in my faces-config.xml file which > was causing a lot of problems. However the error I was getting > > java.lang.IllegalStateException: > org.apache.myfaces.webapp.webxml.WebXml.init must be called before! > org.apache.myfaces.webapp.webxml.WebXml.getWebXml > (WebXml.java:131) > > org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.getServletMapping(JspTilesViewHandlerImpl.java:236) > > org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.renderView > (JspTilesViewHandlerImpl.java:130) > org.apache.myfaces.lifecycle.LifecycleImpl.render > (LifecycleImpl.java:290) > javax.faces.webapp.FacesServlet.service(FacesServlet.java:110) > > org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170) > org.springframework.web.filter.OncePerRequestFilter.doFilter > (OncePerRequestFilter.java:73) > org.apache.myfaces.custom.fileupload.MultipartFilter.doFilter > (MultipartFilter.java:88) > > was not all together helpful :-) > > Turns out the problem was that the bogus class name was causing the > whole loading of the configuration to fail so there was no render kit > and a bunch of other bad things. The WebXml.init is called after the > call to FacesConfigurator.configure so the init was not called which > was the immediate cause of the error. However after much banging my > head against the monitor I was getting null renderkits and lots of > other bad things. > > So I propose the following patch to FacesConfigurator to give a better > warning and to allow the configuration to proceed. > > Your thoughts are greatly appreciated. > > If there is no objection I'll commit this code. > > TTFN, > > -bd- > > Index: FacesConfigurator.java > =================================================================== > RCS file: /home/cvs/incubator- > myfaces/src/myfaces/org/apache/myfaces/config/FacesConfigurator.java,v > retrieving revision 1.7 > diff -u -r1.7 FacesConfigurator.java > --- FacesConfigurator.java 13 Oct 2004 11:50:59 -0000 1.7 > +++ FacesConfigurator.java 11 Nov 2004 17:02:10 -0000 > @@ -607,7 +607,14 @@ > for (Iterator renderers = _dispenser.getRenderers > (renderKitId); renderers.hasNext();) > { > Renderer element = (Renderer) renderers.next(); > - javax.faces.render.Renderer renderer = > (javax.faces.render.Renderer) ClassUtils.newInstance > (element.getRendererClass()); > + javax.faces.render.Renderer renderer = null; > + try { > + renderer = (javax.faces.render.Renderer) > ClassUtils.newInstance(element.getRendererClass()); > + } catch(FacesException e) { > + // ignore the failure so that the render kit is > configured > + log.error("failed to configure class " + > element.getRendererClass(), e); > + continue; > + } > > renderKit.addRenderer(element.getComponentFamily(), > element.getRendererType(), renderer); > } --=-0xK6fUua4UisLbiixTwm Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=utf-8 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8"> <META NAME="GENERATOR" CONTENT="GtkHTML/3.3.2"> </HEAD> <BODY> I fully subscribe to this change !<BR> <BR> On Thu, 2004-11-11 at 10:04 -0700, Bill Dudney wrote:<BR> <BLOCKQUOTE TYPE=CITE> <BR> <HR> <BR> <BR> <FONT COLOR="#000000">Hi All,</FONT><BR> <BR> <FONT COLOR="#000000">I had a bogus renderer class name in my faces-config.xml file which was causing a lot of problems. However the error I was getting</FONT><BR> <BR> <FONT SIZE="2"><FONT COLOR="#000000">java.lang.IllegalStateException: org.apache.myfaces.webapp.webxml.WebXml.init must be called before!</FONT></FONT><BR> <FONT SIZE="2"><FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; org.apache.myfaces.webapp.webxml.WebXml.getWebXml(WebXml.java:131)</FONT></FONT><BR> <FONT SIZE="2"><FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.getServletMapping(JspTilesViewHandlerImpl.java:236)</FONT></FONT><BR> <FONT SIZE="2"><FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.renderView(JspTilesViewHandlerImpl.java:130)</FONT></FONT><BR> <FONT SIZE="2"><FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:290)</FONT></FONT><BR> <FONT SIZE="2"><FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; javax.faces.webapp.FacesServlet.service(FacesServlet.java:110)</FONT></FONT><BR> <FONT SIZE="2"><FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170)</FONT></FONT><BR> <FONT SIZE="2"><FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:73)</FONT></FONT><BR> <FONT SIZE="2"><FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; org.apache.myfaces.custom.fileupload.MultipartFilter.doFilter(MultipartFilter.java:88)</FONT></FONT><BR> <BR> <FONT COLOR="#000000">was not all together helpful :-)</FONT><BR> <BR> <FONT COLOR="#000000">Turns out the problem was that the bogus class name was causing the whole loading of the configuration to fail so there was no render kit and a bunch of other bad things. The WebXml.init is called after the call to FacesConfigurator.configure so the init was not called which was the immediate cause of the error. However after much banging my head against the monitor I was getting null renderkits and lots of other bad things.</FONT><BR> <BR> <FONT COLOR="#000000">So I propose the following patch to FacesConfigurator to give a better warning and to allow the configuration to proceed.</FONT><BR> <BR> <FONT COLOR="#000000">Your thoughts are greatly appreciated.</FONT><BR> <BR> <FONT COLOR="#000000">If there is no objection I'll commit this code.</FONT><BR> <BR> <FONT COLOR="#000000">TTFN,</FONT><BR> <BR> <FONT COLOR="#000000">-bd-</FONT><BR> <BR> <FONT COLOR="#000000">Index: FacesConfigurator.java</FONT><BR> <FONT COLOR="#000000">===================================================================</FONT><BR> <FONT COLOR="#000000">RCS file: /home/cvs/incubator-myfaces/src/myfaces/org/apache/myfaces/config/FacesConfigurator.java,v</FONT><BR> <FONT COLOR="#000000">retrieving revision 1.7</FONT><BR> <FONT COLOR="#000000">diff -u -r1.7 FacesConfigurator.java</FONT><BR> <FONT COLOR="#000000">--- FacesConfigurator.java 13 Oct 2004 11:50:59 -0000 1.7</FONT><BR> <FONT COLOR="#000000">+++ FacesConfigurator.java 11 Nov 2004 17:02:10 -0000</FONT><BR> <FONT COLOR="#000000">@@ -607,7 +607,14 @@</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for (Iterator renderers = _dispenser.getRenderers(renderKitId); renderers.hasNext();)</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Renderer element = (Renderer) renderers.next();</FONT><BR> <FONT COLOR="#000000">-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; javax.faces.render.Renderer renderer = (javax.faces.render.Renderer) ClassUtils.newInstance(element.getRendererClass());</FONT><BR> <FONT COLOR="#000000">+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; javax.faces.render.Renderer renderer = null;</FONT><BR> <FONT COLOR="#000000">+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; try {</FONT><BR> <FONT COLOR="#000000">+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; renderer = (javax.faces.render.Renderer) ClassUtils.newInstance(element.getRendererClass());</FONT><BR> <FONT COLOR="#000000">+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } catch(FacesException e) {</FONT><BR> <FONT COLOR="#000000">+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // ignore the failure so that the render kit is configured</FONT><BR> <FONT COLOR="#000000">+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log.error(&quot;failed to configure class &quot; + element.getRendererClass(), e);</FONT><BR> <FONT COLOR="#000000">+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; continue;</FONT><BR> <FONT COLOR="#000000">+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</FONT><BR> <BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; renderKit.addRenderer(element.getComponentFamily(), element.getRendererType(), renderer);</FONT><BR> <FONT COLOR="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</FONT> </BLOCKQUOTE> </BODY> </HTML> --=-0xK6fUua4UisLbiixTwm-- From [email protected] Thu Nov 11 21:51:44 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56229 invoked from network); 11 Nov 2004 21:51:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 11 Nov 2004 21:51:44 -0000 Received: (qmail 65828 invoked by uid 500); 11 Nov 2004 21:51:44 -0000 Delivered-To: [email protected] Received: (qmail 65745 invoked by uid 500); 11 Nov 2004 21:51:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 65711 invoked by uid 99); 11 Nov 2004 21:51:43 -0000 Received: from [161.129.204.104] (HELO [161.129.204.104]) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 11 Nov 2004 13:51:43 -0800 Message-ID: <[email protected]> Date: Thu, 11 Nov 2004 22:51:46 +0100 From: Manfred Geiler <[email protected]> User-Agent: Thunderbird 0.7 (Windows/20040616) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: MyFaces Development <[email protected]> Subject: Re: New AliasBean component References: <1099945735.3359.47.camel@sv> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Bill Dudney wrote: > How about having a close that removes the alias? > > So you could do; > > <x:aliasBean...> > alias valid... > </x:aliasBean> > alias not valid... > > So in encodeBegin(...) the alias is made and in encodeEnd(...) the alias > is removed. > > Thoughts? +1 Manfred > > I personally like this approach better because it is more explicit and > if you have more than one subform on the same page the coming and going > of the alias would be explicit (probably helping me find bugs, or > preventing me from introducing them). > > -bd- > > On Nov 8, 2004, at 1:28 PM, Sylvain Vieujot wrote: > >> I'm about to commit a new component that allows to make a library of >> reusable generic subforms. >> >> The aliasBean tag allows you to link a fictive bean to a real bean. >> >> Let's suppose you have a subform you use often but with different beans. >> The aliasBean allows you to design the subform with a fictive bean >> and to include it in all the pages where you use it. >> You just need to make an alias to the real bean named after the >> fictive bean before invoking the fictive bean. >> >> example : >> >> In this example, the customerAddress bean is a managed bean, but the >> address bean isn't defined anywhere. >> After the aliasBean tag, we can use #{address.*} in place of >> #{custommerAddress.*}, so making it possible to have a generic address >> subforms (ok, this one it a bite simple form, but here is the idea). >> >> <h:form> >> <x:aliasBean sourceBean="#{customerAddress}" alias="#{address}"/> >> <f:subview id="simulatedIncludedSubform"> >> <%-- The next tag could be inserted by an %@ include or jsp:include --%> >> <h:inputText value="#{address}"/> >> </f:subview> >> >> <h:commandButton/> >> </h:form> >> >> Thanks for your comments. >> >> >> >> Sylvain. >> >> > > > From [email protected] Thu Nov 11 21:52:36 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56768 invoked from network); 11 Nov 2004 21:52:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 11 Nov 2004 21:52:36 -0000 Received: (qmail 66894 invoked by uid 500); 11 Nov 2004 21:52:36 -0000 Delivered-To: [email protected] Received: (qmail 66836 invoked by uid 500); 11 Nov 2004 21:52:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 66824 invoked by uid 99); 11 Nov 2004 21:52:36 -0000 Received: from [161.129.204.104] (HELO [161.129.204.104]) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 11 Nov 2004 13:52:36 -0800 Message-ID: <[email protected]> Date: Thu, 11 Nov 2004 22:52:38 +0100 From: Manfred Geiler <[email protected]> User-Agent: Thunderbird 0.7 (Windows/20040616) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: MyFaces Development <[email protected]> Subject: Re: error handling References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N +1 Manfred Bill Dudney wrote: > Hi All, > > I had a bogus renderer class name in my faces-config.xml file which was > causing a lot of problems. However the error I was getting > > java.lang.IllegalStateException: > org.apache.myfaces.webapp.webxml.WebXml.init must be called before! > > org.apache.myfaces.webapp.webxml.WebXml.getWebXml(WebXml.java:131) > > org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.getServletMapping(JspTilesViewHandlerImpl.java:236) > > > org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.renderView(JspTilesViewHandlerImpl.java:130) > > > org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:290) > javax.faces.webapp.FacesServlet.service(FacesServlet.java:110) > > org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170) > > > org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:73) > > > org.apache.myfaces.custom.fileupload.MultipartFilter.doFilter(MultipartFilter.java:88) > > > was not all together helpful :-) > > Turns out the problem was that the bogus class name was causing the > whole loading of the configuration to fail so there was no render kit > and a bunch of other bad things. The WebXml.init is called after the > call to FacesConfigurator.configure so the init was not called which was > the immediate cause of the error. However after much banging my head > against the monitor I was getting null renderkits and lots of other bad > things. > > So I propose the following patch to FacesConfigurator to give a better > warning and to allow the configuration to proceed. > > Your thoughts are greatly appreciated. > > If there is no objection I'll commit this code. > > TTFN, > > -bd- > > Index: FacesConfigurator.java > =================================================================== > RCS file: > /home/cvs/incubator-myfaces/src/myfaces/org/apache/myfaces/config/FacesConfigurator.java,v > > retrieving revision 1.7 > diff -u -r1.7 FacesConfigurator.java > --- FacesConfigurator.java 13 Oct 2004 11:50:59 -0000 1.7 > +++ FacesConfigurator.java 11 Nov 2004 17:02:10 -0000 > @@ -607,7 +607,14 @@ > for (Iterator renderers = _dispenser.getRenderers(renderKitId); > renderers.hasNext();) > { > Renderer element = (Renderer) renderers.next(); > - javax.faces.render.Renderer renderer = (javax.faces.render.Renderer) > ClassUtils.newInstance(element.getRendererClass()); > + javax.faces.render.Renderer renderer = null; > + try { > + renderer = (javax.faces.render.Renderer) > ClassUtils.newInstance(element.getRendererClass()); > + } catch(FacesException e) { > + // ignore the failure so that the render kit is configured > + log.error("failed to configure class " + element.getRendererClass(), e); > + continue; > + } > > > renderKit.addRenderer(element.getComponentFamily(), > element.getRendererType(), renderer); > } > From [email protected] Fri Nov 12 19:43:42 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 13878 invoked from network); 12 Nov 2004 19:43:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 12 Nov 2004 19:43:41 -0000 Received: (qmail 36165 invoked by uid 500); 12 Nov 2004 19:43:19 -0000 Delivered-To: [email protected] Received: (qmail 36018 invoked by uid 500); 12 Nov 2004 19:43:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 35943 invoked by uid 99); 12 Nov 2004 19:43:18 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO mail.marathon-man.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 12 Nov 2004 11:43:15 -0800 Received: (qmail 31194 invoked from network); 12 Nov 2004 19:13:53 -0000 Received: from gsdev.marathon-man.com ([email protected]) by mail.marathon-man.com with SMTP; 12 Nov 2004 19:13:53 -0000 From: Grant Smith <[email protected]> Organization: Marathon Computer Systems To: "MyFaces Development" <[email protected]> Subject: Re: error handling Date: Fri, 12 Nov 2004 11:43:09 -0800 User-Agent: KMail/1.7.1 References: <[email protected]> In-Reply-To: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N +1 Grant On Thursday 11 November 2004 09:04, Bill Dudney wrote: > Hi All, > > I had a bogus renderer class name in my faces-config.xml file which was > causing a lot of problems. However the error I was getting > > java.lang.IllegalStateException: > org.apache.myfaces.webapp.webxml.WebXml.init must be called before! > > org.apache.myfaces.webapp.webxml.WebXml.getWebXml(WebXml.java:131) > > org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.getServletMap > ping(JspTilesViewHandlerImpl.java:236) > > org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.renderView(Js > pTilesViewHandlerImpl.java:130) > > org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java: > 290) > javax.faces.webapp.FacesServlet.service(FacesServlet.java:110) > > org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilt > erInternal(OpenSessionInViewFilter.java:170) > > org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequ > estFilter.java:73) > > org.apache.myfaces.custom.fileupload.MultipartFilter.doFilter(MultipartF > ilter.java:88) > > was not all together helpful :-) > > Turns out the problem was that the bogus class name was causing the > whole loading of the configuration to fail so there was no render kit > and a bunch of other bad things. The WebXml.init is called after the > call to FacesConfigurator.configure so the init was not called which > was the immediate cause of the error. However after much banging my > head against the monitor I was getting null renderkits and lots of > other bad things. > > So I propose the following patch to FacesConfigurator to give a better > warning and to allow the configuration to proceed. > > Your thoughts are greatly appreciated. > > If there is no objection I'll commit this code. > > TTFN, > > -bd- > > Index: FacesConfigurator.java > =================================================================== > RCS file: > /home/cvs/incubator-myfaces/src/myfaces/org/apache/myfaces/config/ > FacesConfigurator.java,v > retrieving revision 1.7 > diff -u -r1.7 FacesConfigurator.java > --- FacesConfigurator.java 13 Oct 2004 11:50:59 -0000 1.7 > +++ FacesConfigurator.java 11 Nov 2004 17:02:10 -0000 > @@ -607,7 +607,14 @@ > for (Iterator renderers = > _dispenser.getRenderers(renderKitId); renderers.hasNext();) > { > Renderer element = (Renderer) renderers.next(); > - javax.faces.render.Renderer renderer = > (javax.faces.render.Renderer) > ClassUtils.newInstance(element.getRendererClass()); > + javax.faces.render.Renderer renderer = null; > + try { > + renderer = (javax.faces.render.Renderer) > ClassUtils.newInstance(element.getRendererClass()); > + } catch(FacesException e) { > + // ignore the failure so that the render kit is > configured > + log.error("failed to configure class " + > element.getRendererClass(), e); > + continue; > + } > > renderKit.addRenderer(element.getComponentFamily(), > element.getRendererType(), renderer); > } From [email protected] Sun Nov 14 15:09:05 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25536 invoked from network); 14 Nov 2004 15:09:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 14 Nov 2004 15:09:05 -0000 Received: (qmail 30954 invoked by uid 500); 14 Nov 2004 15:09:05 -0000 Delivered-To: [email protected] Received: (qmail 30876 invoked by uid 500); 14 Nov 2004 15:09:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 30865 invoked by uid 99); 14 Nov 2004 15:09:03 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=FORGED_RCVD_HELO,HTML_50_60,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO mailgwvw01.freelance.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 14 Nov 2004 07:09:01 -0800 Received: from mailgwvw02.freelance.com (mailgwvw02.freelance.com [161.129.204.104]) by mailgwvw01.freelance.com (8.12.3/8.12.3) with ESMTP id iAEF9Fs5002256 for <[email protected]>; Sun, 14 Nov 2004 16:09:15 +0100 Received: from 161.129.204.104 ([161.129.204.104]) by mailgwvw02.freelance.com (Lotus Domino Release 5.0.12) with ESMTP id 2004111416082753:10469 ; Sun, 14 Nov 2004 16:08:27 +0100 Subject: Re: New AliasBean component From: Sylvain Vieujot <[email protected]> To: MyFaces Development <[email protected]> In-Reply-To: <[email protected]> References: <1099945735.3359.47.camel@sv> <[email protected]> Date: Sun, 14 Nov 2004 11:08:40 -0400 Message-Id: <[email protected]> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-3) X-MIMETrack: Itemize by SMTP Server on mailgw01/Freelance(Release 5.0.12 |February 13, 2003) at 11/14/2004 04:08:27 PM, Serialize by Router on mailgw01/Freelance(Release 5.0.12 |February 13, 2003) at 11/14/2004 04:08:28 PM, Serialize complete at 11/14/2004 04:08:28 PM Content-Type: multipart/alternative; boundary="=-J1guGmrXE83y3eby7Ruq" X-Spam-Status: No, hits=0.8 required=5.0 tests=HTML_30_40,HTML_MESSAGE autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on mailgwvw01.freelance.com X-Virus-Scanned: ClamAV 0.80rc/530/Thu Oct 14 04:41:39 2004 clamav-milter version 0.80 on 161.129.204.104 X-Virus-Status: Clean X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --=-J1guGmrXE83y3eby7Ruq Content-Transfer-Encoding: 7bit Content-Type: text/plain Done. On Wed, 2004-11-10 at 03:49 -0700, Bill Dudney wrote: > How about having a close that removes the alias? > > So you could do; > > <x:aliasBean...> > alias valid... > </x:aliasBean> > alias not valid... > > So in encodeBegin(...) the alias is made and in encodeEnd(...) the > alias is removed. > > Thoughts? > > I personally like this approach better because it is more explicit and > if you have more than one subform on the same page the coming and going > of the alias would be explicit (probably helping me find bugs, or > preventing me from introducing them). > > -bd- > > On Nov 8, 2004, at 1:28 PM, Sylvain Vieujot wrote: > > > I'm about to commit a new component that allows to make a library of > > reusable generic subforms. > > > > The aliasBean tag allows you to link a fictive bean to a real bean. > > > > Let's suppose you have a subform you use often but with different > > beans. > > The aliasBean allows you to design the subform with a fictive bean > > and to include it in all the pages where you use it. > > You just need to make an alias to the real bean named after the > > fictive bean before invoking the fictive bean. > > > > example : > > > > In this example, the customerAddress bean is a managed bean, but the > > address bean isn't defined anywhere. > > After the aliasBean tag, we can use #{address.*} in place of > > #{custommerAddress.*}, so making it possible to have a generic address > > subforms (ok, this one it a bite simple form, but here is the idea). > > > > <h:form> > > <x:aliasBean sourceBean="#{customerAddress}" alias="#{address}"/> > > <f:subview id="simulatedIncludedSubform"> > > <%-- The next tag could be inserted by an %@ include or jsp:include > > --%> > > <h:inputText value="#{address}"/> > > </f:subview> > > > > <h:commandButton/> > > </h:form> > > > > Thanks for your comments. > > > > > > > > Sylvain. > > > > > --=-J1guGmrXE83y3eby7Ruq Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=utf-8 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8"> <META NAME="GENERATOR" CONTENT="GtkHTML/3.3.2"> </HEAD> <BODY> Done.<BR> <BR> On Wed, 2004-11-10 at 03:49 -0700, Bill Dudney wrote: <BLOCKQUOTE TYPE=CITE> <PRE> <FONT COLOR="#000000">How about having a close that removes the alias?</FONT> <FONT COLOR="#000000">So you could do;</FONT> <FONT COLOR="#000000">&lt;x:aliasBean...&gt;</FONT> <FONT COLOR="#000000">alias valid...</FONT> <FONT COLOR="#000000">&lt;/x:aliasBean&gt;</FONT> <FONT COLOR="#000000">alias not valid...</FONT> <FONT COLOR="#000000">So in encodeBegin(...) the alias is made and in encodeEnd(...) the </FONT> <FONT COLOR="#000000">alias is removed.</FONT> <FONT COLOR="#000000">Thoughts?</FONT> <FONT COLOR="#000000">I personally like this approach better because it is more explicit and </FONT> <FONT COLOR="#000000">if you have more than one subform on the same page the coming and going </FONT> <FONT COLOR="#000000">of the alias would be explicit (probably helping me find bugs, or </FONT> <FONT COLOR="#000000">preventing me from introducing them).</FONT> <FONT COLOR="#000000">-bd-</FONT> <FONT COLOR="#000000">On Nov 8, 2004, at 1:28 PM, Sylvain Vieujot wrote:</FONT> <FONT COLOR="#000000">&gt; I'm about to commit a new component that allows to make a library of </FONT> <FONT COLOR="#000000">&gt; reusable generic subforms.</FONT> <FONT COLOR="#000000">&gt;</FONT> <FONT COLOR="#000000">&gt; The aliasBean tag allows you to link a fictive bean to a real bean.</FONT> <FONT COLOR="#000000">&gt;</FONT> <FONT COLOR="#000000">&gt; Let's suppose you have a subform you use often but with different </FONT> <FONT COLOR="#000000">&gt; beans.</FONT> <FONT COLOR="#000000">&gt; The aliasBean allows you to design the subform with a fictive bean </FONT> <FONT COLOR="#000000">&gt; and to include it in all the pages where you use it.</FONT> <FONT COLOR="#000000">&gt; You just need to make an alias to the real bean named after the </FONT> <FONT COLOR="#000000">&gt; fictive bean before invoking the fictive bean.</FONT> <FONT COLOR="#000000">&gt;</FONT> <FONT COLOR="#000000">&gt; example :</FONT> <FONT COLOR="#000000">&gt;</FONT> <FONT COLOR="#000000">&gt; In this example, the customerAddress bean is a managed bean, but the </FONT> <FONT COLOR="#000000">&gt; address bean isn't defined anywhere.</FONT> <FONT COLOR="#000000">&gt; After the aliasBean tag, we can use #{address.*} in place of </FONT> <FONT COLOR="#000000">&gt; #{custommerAddress.*}, so making it possible to have a generic address </FONT> <FONT COLOR="#000000">&gt; subforms (ok, this one it a bite simple form, but here is the idea).</FONT> <FONT COLOR="#000000">&gt;</FONT> <FONT COLOR="#000000">&gt; &lt;h:form&gt;</FONT> <FONT COLOR="#000000">&gt; &lt;x:aliasBean sourceBean=&quot;#{customerAddress}&quot; alias=&quot;#{address}&quot;/&gt;</FONT> <FONT COLOR="#000000">&gt; &lt;f:subview id=&quot;simulatedIncludedSubform&quot;&gt;</FONT> <FONT COLOR="#000000">&gt; &lt;%-- The next tag could be inserted by an %@ include or jsp:include </FONT> <FONT COLOR="#000000">&gt; --%&gt;</FONT> <FONT COLOR="#000000">&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;h:inputText value=&quot;#{address}&quot;/&gt;</FONT> <FONT COLOR="#000000">&gt; &lt;/f:subview&gt;</FONT> <FONT COLOR="#000000">&gt;</FONT> <FONT COLOR="#000000">&gt; &lt;h:commandButton/&gt;</FONT> <FONT COLOR="#000000">&gt; &lt;/h:form&gt;</FONT> <FONT COLOR="#000000">&gt;</FONT> <FONT COLOR="#000000">&gt; Thanks for your comments.</FONT> <FONT COLOR="#000000">&gt;</FONT> <FONT COLOR="#000000">&gt;</FONT> <FONT COLOR="#000000">&gt;</FONT> <FONT COLOR="#000000">&gt; Sylvain.</FONT> <FONT COLOR="#000000">&gt;</FONT> <FONT COLOR="#000000">&gt;</FONT> <FONT COLOR="#000000">&nbsp;</FONT> </PRE> </BLOCKQUOTE> </BODY> </HTML> --=-J1guGmrXE83y3eby7Ruq-- From [email protected] Tue Nov 16 05:54:40 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 6047 invoked from network); 16 Nov 2004 05:54:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 16 Nov 2004 05:54:40 -0000 Received: (qmail 64848 invoked by uid 500); 16 Nov 2004 05:54:39 -0000 Delivered-To: [email protected] Received: (qmail 64814 invoked by uid 500); 16 Nov 2004 05:54:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 64801 invoked by uid 99); 16 Nov 2004 05:54:38 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO web54707.mail.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 15 Nov 2004 21:54:34 -0800 Received: (qmail 87860 invoked by uid 60001); 16 Nov 2004 05:54:32 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=EXgVDunLhfIf1wB9HmpBLmWPOhSP5G2xi484NFp4VFLrXLsfP5LqXvP79WCl0V2ND3f28Ui3n1CCROKbopQvflbe/RBGdG8PKZIxYfNmDo4vIXSQ7togcJR+TERdwJw4LjUZhZq+AGf6nvctEKi3d4BYmr6bQRahAnOO2+XhhkA= ; Message-ID: <[email protected]> Received: from [161.129.204.104] by web54707.mail.yahoo.com via HTTP; Mon, 15 Nov 2004 21:54:32 PST Date: Mon, 15 Nov 2004 21:54:32 -0800 (PST) From: David Le Strat <[email protected]> Subject: [Patch] Added Tree Table Support to Existing Tree Component. To: [email protected] MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-484126245-1100584472=:87773" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --0-484126245-1100584472=:87773 Content-Type: text/plain; charset=us-ascii Content-Id: Content-Disposition: inline All, Also see http://nagoya.apache.org/jira/browse/MYFACES-8 for patch. Please find attached an enhancement to the MyFaces tree. The initial component provided by MyFaces provides a great basic tree functionality but did not provide the option to display table tree. I extended the HtmlTree component to provide for that support as illustrated in the enclosed PDF. I enclosed the following items: 1. A quick overview of the enhancements made to the tree component. 2. A patch for the code in question developed against the latest subversion trunk as of 11/16/2004 12:30AM EST. 3. An image that is needed for the footer of the extended component to be added to webapps/examples/web/images, sw_med_rond.gif 4. The provided code implements an example integrated with MyFaces example application. I integrate the treeTable.jsf page to the example navigation. Looking forward to your feedback. Regards, David Le Strat. __________________________________ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.yahoo.com __________________________________ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com --0-484126245-1100584472=:87773 Content-Type: application/pdf; name="myFacesTreeComponent.pdf" Content-Transfer-Encoding: base64 Content-Description: myFacesTreeComponent.pdf Content-Disposition: attachment; filename="myFacesTreeComponent.pdf" JVBERi0xLjQNCiXk9tzfDQoxIDAgb2JqDQo8PCAvTGVuZ3RoIDIgMCBSDQog ICAvRmlsdGVyIC9GbGF0ZURlY29kZQ0KPj4NCnN0cmVhbQ0KeJzNVttq3EAM fV/Yf9BzIY40N3sgFOysXfqYdiEf0EsgdFual/x+Zc9I4/UkSygUisEskuZI OjojL8LzfvcbEK6wIQhk+N3G+f30De7fwc/k5afxSDHA08N+Nxz3uzjHtxgb A8evcD0REP/6DjdIaN7D8ZFDGssH2XuDFh16DMlObXG06JOxa1qxdTkMm1jC YjbS+myvkUGMQzKFkvkWD5q5K6fHZBq5l7u5SVraJFg19uW03yHX9XzGwKcP bIUr4rATxK5x6fcP+JyRlmAlyoWWQ15kasKJMFfmS2UTESEZsvy4TZXn2Eut wVuucYE26yHwY2UU1nH2DO+EcqZNjQHbbLTFmAexKi1ij4OEmjl7djDJ1dB7 Dh85XeQjDqfkd1gGPQq+zjlXthLIbRVTV2WVRdQmmUPuPxdKjddYOe1KqFVt bWVU0sokNAXlWkPpR5nhaxReT9jKQY3J4pYICm+Yugnc1LmgqKYvSP5Yxmq3 BFKgIgk1thXzsbIolFEolm8gucJd6bGXS7heC/Uoq9oia2fgK+wZtheVWa0g g9oyqEEs26seNIJBZVKuVGg4Q5YbhYJX8UCHaoBt1Ui/ZWbegUJALMTLvlJ5 0FgNLJaN6l4naqzp5T79vGIli1mJ9UCRJoOXtmDS2GYLnu8/083dXFyAC5QN 9H/Klcw/lKvU6fAvWlSJeq3KzGvdUjBGF5sWXD5yuqHGl1Q+FzawKy5Q41ok b9FEGuRlTUS7/SjeAcN4bDrgbctO3tiMwl9Tfq/+aCTzkm1xlSMpJcD1x5OF wy8QTP6seug6HrHlrATGGSZxDRntApgcOT4WNKdofwAkztWPZW5kc3RyZWFt DQplbmRvYmoNCg0KMiAwIG9iag0KICA2MzANCmVuZG9iag0KDQo0IDAgb2Jq DQo8PCAvVHlwZSAvWE9iamVjdA0KICAgL1N1YnR5cGUgL0ltYWdlDQogICAv V2lkdGggNTI0DQogICAvSGVpZ2h0IDMyMw0KICAgL0JpdHNQZXJDb21wb25l bnQgOA0KICAgL0xlbmd0aCA1IDAgUg0KICAgL0ZpbHRlciAvRmxhdGVEZWNv ZGUNCiAgIC9Db2xvclNwYWNlIFsgIC9JbmRleGVkIC9EZXZpY2VSR0IgMjU1 IDwNCkY1RjNGRCBGRkZGRjYgMDA2N0E1IDM0MzQ5MyA1OTdCOUYgRDFEN0VB IDM0MzQzMyBFQ0VDRUMNCkZGRkZFRCAwMDAwNTUgMDAwMDY4IEU4RkZGRiBG OUY5RjkgNjY2NjY2IEFBQUFBOSBGNkY2RjcNCjY5MDAwMCBEOURBRDcgQjhB NkM2IEU4RkZFRCA5Nzk3OTQgNzE3MzM2IDQ5MDAwMCBBMTY2OUQNCkVGRUZE MiBGRkZGRkIgRThDQ0QwIEZGRkVGRiBFQUU3RkEgRjRGNUVDIEJCQkJBNCA3 OTM2OEMNCkM5Q0FDNSAxRTJEMjEgMDAwMDAwIEI1QjRCQSBGRkZERkYgNDU0 NTQ2IEFCQThCQSBGMkYyRjENCjg5ODk4OSBEREREQzIgMzkwMDAwIEZGRkVG MyBGQUY5RkYgRkVGRUZDIEY4RjZGRSBGREZBRkYNCjAwMDAzQyA5MjQyMDAg RkJGNERDIEIzNkMwMCA1ODU4NTkgQzZDNEQ2IEUzRENDQSA0MzAwNjkNCkY2 RURERCBGNEY1RjIgQUFBNTk0IEZGRkZFOSBDNUMzQkMgRkJGQkZDIEZBRkFG NSBGQUY1RjINCkIyQUI5NyA2QTAwNjUgRkZGQkUzIEUzRTNFMiA5Nzk1QTIg RjFFRUZDIEI4QjVDOCA5RUI5RUQNCkY0RjFFMSA0RDRBNUMgOTI5MDY3IEY5 RjFFQyA3QzdFN0YgNTU1MjY0IEY5RjlGMyA5MjQyNjkNCkE4QTI4OSA4NDg0 OUEgQzNCREFFIEZCRkNGNiBGREZCRkYgRkZGRkY4IDY5MDAzRSBGN0Y3RjEN CkYzRjJGNSBCMDZENkIgRDlEN0JDIEZDRkNGQSBDNkMyQTYgRkVGN0U2IDYz NUE3NCAzRTNCNTENCkY5RkFFRSA4RjhGOEQgMUMxQzFFIEZFRkFGNSBCQkI3 Q0UgRkZGQUZBIEQwRDBEMCBGRUY5RTgNCkZGRkNGQiBGRkZBRUMgRDJDRUI5 IDQxNDA0NiA2NDY1NUQgRkJGQ0YyIDUwNTA0RiA3NTc2NzINCkZERkVGOCBG REZERkQgM0QzRDNDIEZGRkRGNyBFOUVBRTggNjc2ODYzIEVGQ0U4NyBFN0Q2 QjUNCjk5RDZGNyA5MkNFREUgNUIzMzgzIDQzMDAzRSBEREMyODcgODdDMkRE IDNFMDAzRSAzMzMzNjYNCjYzQjlFRCBBMkI3QzUgRDFCOUM2IEVGRDI5MiA5 MkQyRUYgODJDQ0Y2IEE1RERERCA0MzAwNDMNCjg3M0UwMCA2M0E2RTMgRERB NTY1IEI4RUVGRiBGRkRERDkgMDA2REIzIDYzOTJEMCBGRkVFRTMNCjgyOTJD NiA5RTkyQzYgOENCQkJCIEIzRUZFRiBEREREQTUgRkZGQTk0IEZERjQ4MyBD MkREREQNCjAwNDM5MiBEMkVGRUYgRUZCMzZEIDAwM0U4NyBCM0VCREUgNjM5 MkQ5IEQxRkZGRiBCQjhDNTUNCjY1QTVERCBCNEVGRjcgQTU2NTAwIDNFODdD MiA3MkE0QkIgNzIzNTAwIEE0QkJCQiAwMDM1NzINCkJCQTQ3MiAzMzdGQ0Mg RUZFRkIzIEQyOTI0MyAwMDU1OEMgOUVEREZGIEE0NzIzNSBFRkVCQTYNCkMy ODczRSBGQkZCQzggRUZFQkMzIEU3RUZFMiAzMzVDQjUgMDA0MTg3IDhDNTUw MCA5OTVDNjYNCkQyOEYzRSBDRTlFODMgRkZFMzdEIEQyRUJERSBDRUVGRjcg QTVBNjE0IEI0N0Y2NiBFN0JBOUQNCjQzOTJEMiA2REIzRUYgRUZBRjY1IEZD RkJCNCA1QjlFRTIgRTdFRkNDIDQzOEZDMyA1QjMzNjYNCjNFMDA2NSBCQkJC OEMgNkRBRkRFIDdCQkFGNyBGRkU4ODQgRTJFMzk4IDVCMzM5RCBDRUNFNzIN CjU1OENCQiBCMkIyMkMgN0IzMzY2IDk5OTkxNCAzNTcyQTQgMDA0MDQwIDcy MzUzNSA2RDZENkMNCkQxRkZFRCBDRUQ2QjUgRDJDRTg3IEZDRkRGNyA5RTky RDAgNzI4QzcyIDQzNkI2NSBBNUMyODcNCjNFODdBNSBEMkVGQjMgNUU1RTVD IEE1NjU2NSBCOUFGOTggQjhCOUUzIDg3M0UzRSA4MjkyRDANCjlEOUY5RSBG OEY4RTIgRDFCOUQwIDZEOEY4NyA3QjlFQjUgQTI5RkIwIEZGRjdGMCA3MDcx NkQNCkU2RTVFOCBFRUU3RDAgRkJGQ0VBIEZBRkNFRiBBNkEwQzIgQTA5OTg3 IDBBMEEwQiBFOERERDkNCkQ2RDhEMCBCQkJCQkIgRUZFQkRFIEVGRUZFRiA2 MzkyQzYgREREREREIEZGRkZGRiBFN0VGRjcNCj4gXQ0KPj4NCnN0cmVhbQ0K eJztnQtgHMV5x3V2sK9w+AQlDuuNHbKsrOCThI0NxMgWTsEUEuIQfBcpUXnY gAtxbCzhYCCmVk3FwxYQiqEJhWBMwltAoAk2aTF1jEkKpUBIaeP05aataQuB pFFtnzXOzOzO7szezN6+7iHp+9vS3e3OfPPtzG+/nb2b+3TwIAjkKFVAZoN5 otmSQYUVKwq7NQ01a1irtMLuVGpRrv2D9GdMs+XEWvsJqrxSHT16W8OZC/WM pk1NFRZ1orna4rm7O3ZPLKQWFxb96qQ/uACzYJq19hNUeRUWZ3XTvMhsQIsm YhQ0rblV68T/tMUFrTNVyJ30iwsuMfNmvtZ+giqvRVq+pUW/yNSzWmFq5yqt W8vO1XZrqzo6jztu3rxCrn1BukAuIbX2E1R57dZQW5t5jql37ds7adIxnXOR Nl/TVmvFwr55x80bTrefd0Xqsryp19pPUOWl4UtEvuGzbcWjJsxZ2YRnjtnh HoQDg9Z53Fe/cuWeaenz0lddouvAwhiQ1oWnC+Y5uo6mdqZWdKLs/mN6tGO0 YgeeORQKq3PpBencJVoG1dpPUOWFdL1hYb7JbOnWCp2LURZNQChz7jyts1DU CsXCxRecln4vp3VotfYTVHlhFsy2hnPMvK5pWtZiQT9jj64hrYC3FK6Yl74i l5oKLIwBoYYus8082dSbtY7ObmRO2pvNIjQBo2Apd/4FZ+fOTuVq7Seo8mrB YcGcPv1ywkJ3d4vehIhWrsYwUByuOmVeOv2r3K9r7Seo8tL1NrPts2ZXC75z QPO79F4do5Dfv7fVjgyXvbeg/ez0OxAXxoDa8G3E55eZel5bPFdD+vTj27I6 ymSbdEQjQ+vl751yfnv7r9I1drM/dbR6533fQuj2r1fPmXpUH1of20aLqX/0 wjazId+qaXPxRAHHCR3Nz8zpoTC0YhZyC05qT0tZ6EO2A84Tbg9VnBEiI2wr fYcfC7RgoJZoySmBWu+nDUfqX3rwAwcHiU992Hdhe4ROGbTslWs0Ggt8Pf2j rRf2mG16S0bT5ustc3qXL29avrJpqY6vFRpqbb3sqtwp09rbVSzQ47ptY01Z 6As4vCFYcNoOatnjERm5wSkb19+2cdnvjhwWGk48eUnbQjOPtO6pyNQbzAy+ QqAM6iHzBqRfftl76fbz3ml/R27nMGqpTzushIX4EUsw5MuC3/Wj1GCQ4e23 Sw3GYqHv9lcGbuFZiNgpt20sj08yLJzTZubzCF8itK4WvZjvsYSKCN9bZls/ c0X6gpNOa2+X2/lv4uVtGwf6scU+m13rOWvhliPcU4HED6tQPz3ZLRsI+Z7z Dgv9TkG3NnuF9+CSuC2ymdstlrQMTuGd4p3mXB0UKjlW7DZ+n6tUuvcOh4WD g6mjpSyE7BSbBVy/n5Yl1enufmvLetc474ynMLfT7U3rUkhK4c0n/t9ZebOl RUOLtflIHyazBKpMJoOKWfP03CevSLdP+0DBwnriQh+xvB57TNuhjnsPm7pg B94p1uHzvojDJWUBOQW52iILVgFut7ekhwVijXeac3WQix6cFbuNn3OVSvdy LNzy/wd9WAjcKQ4LvBj1yIKBGi9xhi9c0gDZKrDw0YsunX7W8fvfxyCgrK43 9LC4gPJdmIjWTy74xWmn/eZ86T0lbh+7+V8bB6wzxAq/fdZT5JLPNg5S/Pun 4NIDtEMG7KO87x8CsECOYZC8cmuzMnSw++yLO7e7pCRjgbPdb59V4lY6WAOM NceK24ZTSbLXZYHsKZkvhO8UlwXLNfLK7gpKHmJnn+hMSWGuY5ze5K8Rbe+e PH36u+8O6/r7um4W5yxvaqL/9yC9K4PQJVd8gG8i0gdULOCfZUccbXXOfd+i 54nlnnvYfTa6dDd3aAf7yUkshoRBobN4Fuh433LEFL62h4X1Jca9Jd1RZ07Z Xg26sdkKufaZOyAYdLxxK8n2qhS1U7hrBP9iCmOSlu+jkdnrDFeY3+n2puC0 aTaY1o/e0tKCZ4utltBE7GtxbuGT+Iby7FyqID840j4acK+c660GSsMh3WOf aHZYpOGqX4zhAVjga9tleBa43aUlWR+6Th0k13RcaeCguJW5PiC05xyWU0m6 V6GonSJlgfZzvz1JsBsvdYYrLDRQwgK9RuTzLfrCtkvfNU/Mk9vIrF0BZbvw cw2lvnzKSelcSpOud7QuB9YFyDqZbv/6ID8wB21U8B7FYVvDr54mV4QFzikr aPbbswt3K/M0fYd0tJ1KkVgI2ynlWBiMzQL2CP/WFiO9zTx5ehuODF09w5o9 XejW0LmouUObesIJv5fOnZ5p8z0416n/sI7N2WOdcfSwuXDouVnuV3ei7Brh vdX2XCOc3aUlD1oscE7RCPtz6wLNb2UWSMQe4Co7o2lXku4tcyyhO6UMC9w1 wusMV5jfWcKC5dGK1Fxk6tOn5xfiqwSasNi+jdAyXzmqWdMW5b70pfY/TLXK 10GXsNDHIix32PZkuXSaRKZV1gQpFAtcbVZGCEXc7pKS9ARYLzjlvkvCbb1t 4xTXFmfFPWBWSb7X/1hCd0oZFqgJbu7IOSMWdjuGZ2HA8gj/vjil9TSYJ7+7 MG+a+czU3vmIvNOkZY67UlvcqXUQFtKnnx6QBdzTFub8HucibF8lndsn5ATg MNcIrjYrI7DA7faWdGYjnFN0TKwC7lZWkb8XQ8Ls0Kkk3et/LGE7hb3vKBte x0v+nhJ5547efuN6kzZGbgTxhlRqUVZfeNalefPEBh1pk5Zk0GqEmlt7tcUd hd2pqV/+4ECu0KoXA7HgvF/HdQvxdwoLxwhx03jiJn/z5tcE5z1X2y4jTlH4 3X0lnWpPpl2nXKf5rf32CIkGhcOa4m0uOAvhOsWPhcOQc2OyXrBRWpjbyfdm n2W8Hz9NdZK48O7SCy86Z/kkfVh7e0JvU1NT79J9hc5le087bf+Cd3K5RR1B 10EPppXvFICSl8/FNYq03T3z9Ra9hdxU4riQzfYgfDvZuqpj1e5catXFuVzq 7BWa1hOMBfFtHVCllTALCN87tjWYDXlTn9iAiiSKTESou0PTdq+4eOrUX3dO Jcseu+cG8y3Mp0Sg2EqYhRZzkvHxvGEsa2kjn0yuHjKMlc1FTMKqFalULpXS Ojs6yTdtg9iy75VA1VLCLOgNew1joTG0bOX7w3POQF3G8T3ZZU0r9161v7d3 X/orvb9E+1c2LUtJ546g0aUWdObQ8pV7jDOWXrmnF+ldhjE0b9In5hhnGL/Z s+QYY59xzNCEX+7rTNXaT1DlhTKTjDON44yjjscQZFHX0N48mtB7pTFpCO07 46vGknMnrd5jTNDge1NjQN1dS5ZONHTjjB5jaDVCRWMval5qTBhCQ0ND564e Wmpkli5dOgfB9ynHgJCOJk5EGbR6iXEuau5C76NucjfRjLHAv7KZDN7XjG8t au0nqPKiH0ySX59YgscdDzz9yaC55K1o8ob0RPyDyai1n6DKi76dgLonkmCA n2XnTySrXufrJDRkcNBoJsvdUKa51n6CKq9mEha6SSTIWvEBUzCxGdFwkG1G PSiLA0QR4gIIBAKBQCAQCARyhEAgKszCAVBU1Xr0khWwEEe1Hr1kBSzEUa1H L1kBC3FU69FLVhVj4eqvXVsZw/EbClDjqU/dK9m6wzDGCRtqPXrJirBg9U2g Pr16skH0NzE6nJo4XNbVASRaLesyaWtmqBq2bBZ2CMf6VKP3uGs9eskqLAuB T0I1C2TH1pnRokY4FnaQgdzBkxuSBbH81ad6Ca716CUrkYVnZhnG935w4Oqb PmwYu7biH7x9Nn8Ws77ZgcfyqcZdB3AZcuJxFa7+2qdpBVrSrktOL2yWN7EV v7ZbO0CtfO8HdAf+JWmdGsVjSmrgknar1qufcX7bxdiANhILB7Yefi9zSl1D cFFkgZV5qpG06jg9yll4Zha+HM4eh0PrLtw5+Ad3H35JB85zXuFNs3fZT3Ff uxWunmxVICVnu0+f+dy9ggmutQOzifkv3uuwUNo6NbqDEcZaPcBquH7bxQRn qUn7KFQ1RBc9LPCNO06PVhasScDMa53RoGfDtewpN5Ny5gvPzFrOAMGh01vB emR1ZYFdLOnukLfOdnEskIAtWOAe7SI2FfgyL9aX1PBeO8S4wFUWm6j16CUr IS7QC+JTXxBGY7KFiTcu2M9o0D28hAXLhlOXxPRdpSyw1k7lrs0eFiaLkIqt ujU4v0tc5J1S1xBc9GPBrjj6WZCMhjhfcjr6mVlv47hAr8jquMDV9Y7QVm5+ 4BMXPJhYT1ir5eICP18oExdEFyEucFdR7sDJtdF7sScdPO6ZWbusl1tL4gKx w9XdsauEha0zuUuvPV+gt2yzZ14rad0ZAVqGteq84v3mh9S5j2BOKWuILvqw MOrnC4wFd3bNnQR4Ju++w8LmC3TmRud4hvHPYlyYbJXn6pIJuDu7d99fcKbk s61JPDH2P0JcYBbcQd5KStqtWq9+JvotDCl7f4E5pawhuii+vyAGlVF+H5Go +KGoG4V2Sv6+Y4lqPXrJCliQClhIQqODhYCq9eglK/icMo5qPXrJCta4gZhq vdoSBALVn2odl0AgUP2p1nEpadW6P0eyDh4aVQIWYghYADEBCyAmYAHEBCyA mIAFEBOwAGICFkBMwAKICVgAMQELICZgAcQELICYgAUQE7AAYgIWQEzAAohJ ZGHNddc4v0ekgIUYAhZATCoWnn1u3bq/+Ev89Nx163Zuwz94+wvr1o1/oCZD HFjAQgwpWHj2uUfx2D96aM3LOw9txyBsxxDgl4e2YT7qWSoW9iek5CxVpYlY LLy8jmj8NRQK/Is82j9000sfq+/AACx4bMVggcWFNa89QAZeYOFlC5PaDHJA AQseW0mwIIkLr9V3SKACFjy2EmDBmS+4LND5wrMfqW8ggAWPrQRYcO8jXBbI fcS6R2szxkEVi4X7jd/507Kdm5SlqjQRh4URLx8Wpn3HeAI/fN94+KHQ3evs iWnpkRmGQev6jl+sJu4nudVYLWAhaRaexL2bDAtPPvyQXVmteE1M+84TXDVg IQAL9vDibfY4/3gye2bvemTGzH+awUbiSTULoSx9kW5Vjm8CTUy78CHBXWCh DAv46VvuiUUG58eN9hZnFw3nZVkIbcn3XE+oCTf0AAtKFiw9/BA+jb5NTq7X SW/TM+t+A2+xetXeRZ8wlbAQ2RKZMgS7RkRtggSNtxxbwIKCBXaq3W939Ou4 356gvUoH+37az/YufxYiW8Llysz/YzcB1whLwVhwuu5+t1ftJ86uYCyEtVQe hZhNPPIhWtJ+CSyUZcF6Ou3vv037kAw0jcH2JZjbVZaFkJbwld5/shC7iUdm vAX3EZbC3EcYtGsNY4I1E+en5ngXN4J0i0VDPEtsFvB6GBZCOvt9eH/BFrwH 7bFVDRbqdO0TsOCxFZ0Fe/3CK+U7HViolOqGhcAjDCxUSvXGwvbx1xx66c2d h7ZZq1e4VY9rrttLVz2yDy7JAsjt6+hnmvUgYMFjKz4LZF3jCzvtp+Mf4FY9 rnnZWvXIFjTYT+tlXQOsfY0hxXzh2ecuZGf6mtce8K56tB7ZAsh6ulwoWBhO SslZqk4bcVhwhtV6Rla04MtA6QrYa/gFkORKsrPqwy4VsOCxlQALzz73eRwX yJTBJy5wCyDrJTYACx5bCbCw7dFnn9tpvdxWEhfIYkhuAeT2ncBCkqoXFuz5 wjZyp0AnjOvWfUiMCy9bix65BZAvvRnsLYlqCFjw2IrOQnnVSwBQCFjw2AIW qs/CG2+88ZOPV7iNKLaABTkLJ9xsGOPsxz//M/dxeHjtH10ffJyOZOK2v/Hd H951twPDBmMz/r2p8V9vpuY3NW4ONX6+NsIdREVZqHP5sXDCzQ/iH9yPW8aJ j2tnGDPDsGA/tx//6u+w/pbo7g+zYhsOv9FtjjwJz4LCRsiDABbkLKz90Y20 h+kpxj0Oh40LHha+i/VDIpcFMkJPk7N37YzNw09bp21YFuQ2Qh4EsCBngfYY 7jDaZ9yjohuV41TCwl1Edz//KsfCpsZeOj640X8JaptvQ2kj5EEAC3IWNjXi OLthZgIs0MVJ+JH8YyzcJbBAT2aqLUa4KwQ3d5TZCHkQwIKcBXJJNX76oxsr Eheef94TF460zungpoU21DbCHQSwoGCBCF+BE58vkCvEq8+/+jw/X3hweEvI WxShDX8bwQ8CWFCzsIHMtb1T8Jgs3O3IYYFM9Wg0j8GC2kaIg6gjFqr+boQv CxsMg55A3ltzEnYNOxwHGCfP+ws/+bArNljWeTrjQcUIlW9DbSPcQcRggX7a EDVXmzjwtXlTCt6D9tiKwYL1wWS0UQQW6q+NuCzQxH12XpZDdKGKtY7N+si6 JN8jXQFJl0LRkvYSSevVP/IZXvZW4eNMYMFjKy4LXL6mQy8QID7ygMNCab5H ugJyO1sOS7WNvRIyRdrFgIUqtpEEC3weN2eHPN8j28UvkHvtAaEG/wgsVLON RFhg+R3tdWwyFl4W04KKSyTdGlymSGCh2m3EZmEbPz9QxwUPJtYTtkSyvuIC KIgU9xHe+cJLb+JZ3wvjeRbYckdnkGkZtkTSecVniqwZC8WklJyl6rQRhwX6 /sKdhw659xEvWF+KIisf/1eIC2y5ozvI20hJe4mk9Uq4jxjNLByZWAt1w8KI F8QFjy1gAeICswUsQFxgtoAFiAvMFrBQ+7hA18hXuI0gtoAFOQvHzjKMW+3H b3zTfSwWb7jpT6KPk/MZNrfNXiPvbnjceDHw+MnqRPQdWJCzcOysF/EP7tDZ t4qPN0w2ZsZhQXzk18g7ZR5rfNsauRBt8HWi+g4syFm44dQ7i8V7Dr/zsca/ Fh6LceMC/jGKLgvcGnmnzD3f+DfSWqg2+DpRfQcW5CzQrsM9RzuPeyzXn7Jx 4lXCgrtG3ikz+0VyJodrg68T1XdgQc7CY4348nvPzAqwQNfI40fyr8ivkWdF iH16aodoQ6gT1fcKsFDn36J05Tt3xNdW46en3lmVuGCtkWdFHscXfnLJD9OG WCei77FYIJ9ICGvcRgwGVGXvKR+/tVjx+YK7Rt4uQSb9Bpv3B2xDUieC73FY 2E5WoW3nl6KNLhbuIZNu71w8ARa4R36NvL3HCvVBG+FmukKdKL7HYIGuPrDT 8lh5HNXrFusoq6MrXxbuMQx6Jnnv0Un8tfYEHCdRnvcX+DXydgl7Chhw9ohk dSL6HoMFOwjQVUv2X69WrVtcU0dZHV3VzfuOddJGDBbstakvvfmKuFpJsj6p Pq8d8HmEx1YiccHO46het1hHWR1dQVzw2IrOAj9fKBMXSLn6iw0QFzy2orPg 3kewPI7KdYv1lNXRFcQFj60YLDjvL7A8jsp1i/WU1dEVxAWPrTgsMNXfKR9I sCY+hsYGC8l99yQxS9VpA1ioPgtHKrYn2UYkW0mwMEIFccFjC1iAuMBsAQsQ F5gtYAHiArMFLNQ+LsTIGw8sJKNq5In3qnzeeJpjzQiaLB5J6kR1HViQs5BU nnivyueNp+P1dLCsgQ4LfJ3IrgMLchaSyhPvVfm88Vyi3sBtCHUiuw4syFlI Kk+8V+Xzxlvn+LhgTQhxwa4T2XVgQc5CUnnivSqfNz72fCGy68CCnIWk8sR7 VT5vPDW/IdycRKwT1XVgQcECUQJ54r0qnzeemt/0hVBtlNaJ4jqwoGYhiTzx XpXPGx/7PiKy68CCgoWE8sR7VT5vPG0g6CWCny84daK6Diyo40JcwecRI0fw eYTHFrAAcYHZiszCH49I1QMLozAulPTtSBPEBY+t6CyMeEFc8NgCFkBRNDZY SO67J4lZqk4bwEL1WfB+byrO96iAhWQEccFjKzEWtttfqRw5grjgsRWdhe3C 92XpV6xHliAueGzFiAvCV+fYX5QaQYK44LEVkwWWnYt8q378Nc4fGxoRqtu4 IOSN98/ohgKUCarYLPB/fNT5I2QjQ5HyxD8eNvdiqfg4UD5vfHgWoroePy5w 6Xmq8yfDElOUPPHHfu5OliuxrILEhfJ540OzENn1ZFmwU3bVZmhDK2KeeCvj bgAFigvioyRv/A03fdonKSMqLRPZdYgLchZ8cq2HzMPprxIWSvLG3zCZnNqq IUSlZSK7nigLo2i+4JNrvfh4sLSvAeNCubzxwlCqWODLRHY9Bgv0/QUxnd8o uo9Q51q/J87flfFKGheEvPGhWYjsepy4MNIVLU980KgQcb5QkjfeGkrV35NA ijJRXAcW1CxIc60rr9yqcfJXgLzxeJzV038kLxPJdWBBwYIi1/pjjeTyHuwq EeH9BUneeJrcXTnjQ5IyUV0HFtRxIa7G0ucRI1318nlEJdqIZAtYgLjAbAEL EBeYLWAB4gKzBSxAXGC2gAVQFI0NFpL77klilqrTBrBQfRbKfW8qzPeqgIVk BHHBYwtYgLjAbAELEBeYLWAB4gKzBSxAXGC2gAU5C6pk608bLOl65HGKGhdk Gfm8bXBlQh8BsCBnQZls/d9vZMkSyyrZuCDP8o6UZcIfAbAgZ8En2To+s4IF hmTiAknbSVM8+8QFWZnwRwAsyFnwSbZe7biAx20LGWa/a4SkTPgjABbkLKiT rePLbsXnC+zfsDVwveq/CoOUZcIfAbAgZ8En2Xrsa0RYOX8kxGfuKCkT+giA BQULtMekydbdxzJK6D7ihJuPDBAX5GVCHQGwoGZBlmx903W4y7dUNS48PY7c Egz7zxfkZcIdAbCgYEGVbH1Ltd9fIH8KYO2MBxVZ3pG6TOgjABbUcSGu4H3H kSP4PMJjC1iAuMBsAQsQF5gtYAHiArMFLEBcYLaABVAUjQ0WkvvuSWKWqtMG sFB9Fsp9byrM96qAhWQEccFjC1iAuMBsAQsQF5gtYAHiArMFLEBcYLaABTkL VcoTH3y/vGGkLhP6CIAFOQuqZOvFLyabJz6wFFnekbJM+CMAFuQsVCtPfPn9 JG0nTfEsbRgpy4Q/AmBBzoJfsvUqxwU8brOtYZZkeUfKMuGPAFiQs6BOto4v uxWfL7B/RWvgmuwGJfmckbJM+CMAFuQs+CRbj32NCCvWrCzLO1KXCX0EwIKC BdpjsmTrRfexjBLK43bsrLfpyEmzvCP/MqGOAFhQsyBLtv7Yx74ZOFd8UvOF W8ktgaJR5Fsm3BEACwoWFMnWi7Mr//6CKHKq3zD5RUWWd6QuE/oIgAV1XIgr eN9x5KheP49Ioo1ItoAFiAvMFrAAcYHZAhYgLjBbwALEBWYLWABF0dhgIbnv niRmqTptAAvVZyHM96KithHJFrAAcYHZAhYgLjBbwALEBWYLWIC4wGwBCxAX mC1gQc6CKsu6PLVeqHHyxoVNjbIMbeHaEGxE9B1YkLOgzLIuT9fuO05ltMHY jH8//WCw0vI2BBtRfQcW5Cz4ZFlPOC7YSTojyiXXVVTfgQU5Cz5Z1mOzICqw OZ82PNleI/oOLMhZUGdZTyIu8HngAyaX9m1DtBHVd2BBzoJPlvW6jwtRfQcW FCwQybOsJ8yC9fdgooqLYqIi+A4sqFmQZVkv15+l41RWGwwykHHvIzw2ovgO LChYUGVZl6dr9xunsqImA+aeV7Uh2IjoO7CgjgtxBe87jhwBCx5bwAKwwGwB C8ACswUsAAvMFrAALDBbwAIoisYGCwmeaSNLwAKwwAQsAAtMwAKwwAQsAAtM wAKwwAQsAAtMwAKwwAQsyFmg3zfwrCnY9Kk4KxPrX8CCggXJuAMLY5qFDTg6 bGYPW0ikIGuDHhxe2zsj1vLluhSwoGCBXCM2k2+dbPrC9fYD4YM8PeE/6ZZR J2DBLy5sIAtGt2y2H8g2EiEIJOOjLU+sawELfixI4oIFAbAw5lgQ5wt4woDn C5MNY+b1a8f/oKbDVhEBC3IWxqKABWCBCVgAFpiABYCBCVgAFpiABYCBCVgA GpiABVAkAQsgJmABxAQsgJiABRATsABiAhZATMACiAlYADEBCyAmYAHEBCyA mIAFEBOwAGICFkBMwAKICVgAMQELICZgAcQELICYgAUQE7AAYgIWQEzAAogJ WAAxAQsgJmABxAQsgJiABRATsABi+i3g10cdDQplbmRzdHJlYW0NCmVuZG9i ag0KDQo1IDAgb2JqDQo3NTQyDQplbmRvYmoNCg0KMyAwIG9iag0KPDwgL1R5 cGUgL1hPYmplY3QNCiAgIC9TdWJ0eXBlIC9JbWFnZQ0KICAgL1dpZHRoIDQx NA0KICAgL0hlaWdodCAyNjINCiAgIC9CaXRzUGVyQ29tcG9uZW50IDgNCiAg IC9MZW5ndGggNiAwIFINCiAgIC9GaWx0ZXIgL0ZsYXRlRGVjb2RlDQogICAv Q29sb3JTcGFjZSBbICAvSW5kZXhlZCAvRGV2aWNlUkdCIDI1NSA8DQo5QjVE OUQgRjZGNkY1IDM0MzQzNCA2NjY2NjYgRDlEQUQ3IEI0N0Y5RCA5Nzk4OTYg NzE3MzM2DQpFOEZGRUQgRkZGRkZCIEZGRkVGRiBFQUU3RkEgQjhBNkM2IEY0 RjVFRCA2REFGREUgQzlDQUM1DQpERURFRTAgRThDQ0QwIEI3QjZCOSBGRkZE RkYgQUJBOEJBIEYxRjFGMCBGRkZGRTggNDY0NTQ3DQo4OTg5ODkgRkZGRkYx IEZBRjlGRiBGRUZFRkMgRjlGN0ZFIEZERkFGRiBBOUE2OTcgRDNENENGDQo1 ODU4NTkgRUVFRUVFIEM2QzRENiA3NDk3OUUgRTNEQ0M4IEY2RUVEQyAwMDAw MDAgRjVGNUYxDQpDN0M0QkIgRkJGQkZDIDg1ODQ5RCBGOUZBRjUgRkFGNUYy IEIyQUI5NyBGNkY1RjkgRkZGRkVEDQpGRkZCRTMgRTNFM0UyIDkyOEZBMiBG RkZGRjYgRjBFRUY4IEVFRThEMiBCNkI0QzQgOUVCOUVEDQpGNEYxRTMgRjdG NUZFIDRENEE1QyBFOUU5RTkgRkJGMkVDIDdDN0U3RiA1MjRGNjAgRjlGOUYz DQpBOEEyODkgRkJGNERCIEMxQkRCMCBGOUY5RkEgMzMzMzlFIEY1RjNGRiBG QkZDRjYgRkRGQkZGDQpGRkZGRjggRjdGN0Y4IEY3RjdGMiBGQUZBRkEgQTFB MUEzIEFDQUNBRCBGMkYyRjMgREFEN0JEDQpGQ0ZDRkEgQzZDMkE2IEZFRjdF NiBCOUI2QTYgM0UzQjUxIEYyRjFGOSBGOUZBRUUgOEY4RjhEDQpBNUE0QUMg MUExQTFBIEZFRkFGNSBCQkI3Q0UgMzMzMzg0IEZGRkFGQSBGRkZGRjMgRkFG QUY3DQpGRUY5RTggRjZGNEREIEZGRkNGQiBGRkY4RUQgRDJDRUI5IDQxNDA0 NiA2NDY1NUQgRUVFRkU5DQpGRkZGRUYgRkJGQ0YyIDUwNTA0RiA3NTc2NzIg RkRGRUY4IEZGRkNFQyBGM0YwRkUgRkRGREZEDQozQzNDMzkgRkZGREY4IEVB RUJFNiA2NzY4NjMgRUZDRTg3IEU3RDZCNSA5OUQ2RjcgOTJDRURFDQo1QjMz ODMgNDMwMDNFIDMzMzM2NiBBMkI3QzUgNjNCOUVEIEQxQjlDNiA4MkNDRjYg RkZGQTk0DQpGREY0ODMgRkZEREQ5IDYzQTZFMyA5RTkyQzYgQjhFRUZGIEIz RUJERSA2MzkyRDAgRThGRkZGDQpGRkVFRTMgNjM5MkQ5IDgyOTJDNiBEMUZG RkYgQjRFRkY3IEZGRTNCOSBBN0UzRkYgMzM3RkNDDQowMDZCQTYgRkJGQkM4 IEVGRUJBNiA2MDMzODUgRTdFRkUyIEVGRUJDMyAzMzVDQjUgMDA0MTg3DQo5 MjQxMDAgOTk1QzY2IENFOUU4MyBEMjhGM0UgRDJFQkRFIENFRUZGNyBBNUE2 MTQgOUVEREZGDQpGRkUzN0QgQjQ3RjY2IEIzNkIwMCBFRkFGNjUgRTdCQTlE IDQzOEZDMyBGQ0ZCQjQgRTdFRkNDDQo1QjlFRTIgMDAwMDY1IDVCMzM2NiA0 MzAwMDAgNjBBN0U4IDdCQkFGNyBGRkU4ODQgRTNBNzg1DQpFMkUzOTggMzM2 MEI5IEM2RkZGRiBFM0ZGRkYgNDMwMDY1IEIyQjIyQyA1QjMzOUQgQ0VDRTcy DQo2RDAwNjUgQTc2MDY2IDMzODVEMiA3QjMzNjYgNkQwMDAwIEM2ODU2NiAw MDAwM0UgNjAzMzY2DQo5OTk5MTQgRkZDNjlGIEZGRkZEMiA4NTMzNjYgMjAy QTI0IDg1QzZGRiA3QjMzODMgNkQwMDNFDQo5MjhGNjUgRkNGREY3IDkyNDE2 NSBEMkNFODcgRkNGREY4IENFRDZCNSBEMUZGRUQgN0IzMzlEDQo2MDMzOUYg RkNGREY1IDlFOTJEMCA1RTVFNUMgNDM2QjY1IEZERkZGMyBGREZFRjYgNUI3 RjlEDQpCMzZCNjUgRDJDRUUzIEEwOTk4NyBDNkUzQjkgNzA3MTZEIEI5QUY5 OCBGQUZBREUgRkZGN0YwDQo2RDZCNjUgRTVFNUU4IEVERTZDQSA1RDVBNkQg RkNGREVBIEZBRkNFRiBFOERERDkgQTZBMEMyDQpEMURERUYgOUI5RTlDIEEw OUNCMSBCOEI5RTMgRThGRkY2IEMwQzBDMCBEMUI5RDAgRjRGNEY1DQowQTBB MEIgRkZGREYzIEZGRkRGNiBGNEVDRTAgRjdFRkVDIEUzRkZEMiA2RDZENkQg RjdGOEU0DQo4NTMzODUgNUY1Rjg1IEVDRUJFQyA4MjkyRDAgRUZFQkRFIDYz OTJDNiBFN0VGRjcgRkZGRkZGDQo+IF0NCj4+DQpzdHJlYW0NCnic7Z0LfBTH fccjrOLO2qrAK06VdGBEyIIsQCGHU2RCZJClOwkQisMbLBIcbIORpSRgJ1dJ RhgTO4baIdDwSCIeImCwTe3EbsEGwsNtaNwHpaR16tR1nbTBrYv8SVvXFDGZ xz5m7vZOe9Jpd+52fnC6u915/He++5+Z3f3vHoRSUlJS2adeKWEl6YgsSUdk ETqhCFRr1JFqcTWIrFoVOQ8AaEAvsAZELkRCVUWBfy36jKoGw14b6ztROuUt SnHNp6Yo1QDkhSJV9SAH1I57o/z8/ZFIbahqwYzPfeG/VSSvjfWdCJ1I7SRF VeaFa2AV4lEFwIgSUI/+gVoQqY9Eimb84u4laliVvuO2CJ0qEA4Wq/OgUod8 p34NmAVyxoE3wJry+vz88eMjTYGJzRHc8XltrO9E6JwHMFip3qEqDbmXR80Z Wj8OglkQfAWMiOS+n5+f2xS4szl0T1hVvDbWdyJ0QI6iqjWfDU7JHbJ6dWEI wLphjQC+AUB9/lfve+vi5yvuLAotURVJx21ROg2IDvYdWF8VuZAD624Z2lIy FJQuByV5IPKVpoqJD3ywBLmT18b6ToQOVJSah9RCtbgRuUstzIGtEM6aPh7W g/sB+r/g7lEV934AlgOvjfWdDDpqsPIONayggxzkOnAIhMrkiwACotC94x9o bgrlSTpui9K5Ml8NqmPQrACU1zdCZdHsujoIW0sMPB/MvHtq0dRLl7w21nci dIoVtVItKFCVEWB5Y2MxLCSnR1dPgzqeJWPHP1Dxy6ZfeW2s70ToKEqlGvys Oj+Ihh0Qnq+0KghOyy2zgU7ny29PbP5ixYdFXhvrOxE6lYq64rY3VSUMascB CAvmBCcpsLpupYKdBwFa8fbYmRWBXz7gsa0doZsTr3zyKQif+KZ7xrgiQieo qje9W6nWhEsAGAex6yA6ZWWjGxVMp6RkxdtFE78YqKiwK6ANwnb+A7OGaCBt httcV8VjyeiQhI5qIimHO6q9g1Tc7sxUXmTjO3u7sE1tyHZuueNGocc7Nynv qmqlUrwcgDIlOLp15crClYWrF7fgHg6UlNzz5aKxnwsEEtEhNW3a6CmdNocN ngIds26nJcdY1In+dA3f2L5p45u/OxA6leqYT1VOUcMQvJEHVaVSqUb9GqyG hA5UVtxzb1HFnf8c+NDWCPhrQqUt9Os4Ou026fsho6CkdJL1evEFOmnwDj1V 14DotD3xfOcGlk57CmUQOg8F7yhWw2GIOjZwJahMadEFS+EkCCeVfKa5+e4Z owIBWyPgf21EO8KmjZ0dqOI22KlvWTtjyIZvWLsL9jGaqIM4BC0DwqR+QQtC dDrMhFZu4xtag1KiuvBiZjWfkhY4nDWKNZoxtYvLZJai1/EHTKb4tY+ZdHq7 mm62peOkUQidkf++NKgWFwNYC8qgMgxPBoiqq6vhiDplwgefaK4IfP72BHTa cY1tuOXaUTWk6E0bSXfLG0Jq1buL4dQg2tYd5to+6EAzIZObp0MTMKtjU8bQ waWxRjOmdjEexpSi1/F3TKb4tQydDf/Wm4ROH42C6dw0b2nBpz/9/juzIJ4P KPNN34HhK4jRit9M/MWoO38+03bOhqpDFv7/xk66F9FOo41+5HtYsrCL7CId w1HqTmJiJ93A3if/2gEdbHYX/mblNtKQ5m/TBwlmdVzKXq5na6OltdssJc2n Z2NKseowM9mstejgNXHjjsNGoUej740pKJi9aJiqvKMoSunowpX030WoNFRD uKT59uZARdFvbI93iOPAN//zZmruk0+RfYnsPIwh9HM7XY1Fa0cm4R2dd5uu 2FGTH3c2fGM4mzuGTntc4bEpLQ6GUbpVXWyP0t5r7t2dXIGmNVYmu7WJlFqj EDqq+pBKX0qwOIjmASVU8CrKPeJK5BMzAoGpTaFIIjrIITutHridNKCNE5M1 +s5oTohCNxMnZnoeB3TY3DZ0mNXxKQ06llGoSrT2yac6e/mlhumdXH3mZpmZ bNcmpJNKoxA64XCxMqVy6aLwyLCCpmk5ehqY04A+Axj50tgZFUWhEtu4AtqJ 0Z6ynVT6xDe72Kbq1eGhNQkMoUASzzEHhQ5jFO1LOvRRylpqWFrxmG37m5n6 RcdZo5DjnVqoBNUxBeioVG1oGQaMcQfA6aChHOTNHfvJiqYJE4JJq9PpoF3q P2ht5hq6VxJDGCfu5Ioxciergu3ZOmPT8D2buTo+ZS+lwxiFU6FRnox+7FKj BNzPdDKZ280VNJPt2j62xVmjEDqrIuOgqhYUjESdmwKHrCohAAFcfl9uXgmo apo795NfQK6T2HeI9PZtM/oFxhB9YtIeNwDiAZPOB1Kiw+Q20nDuyqyOS0l2 23bOKOuojVm6aeNwqyymFGuDjUz2a5Nvi7NGIXQWhEBLjTrmvZqwqoZz6ltn oQ6tGoLl+Q+C2npQfmnu3EDFhAkO6aBtp7sCu8bszPXe1pw8QrPbSKVnY3Ib aTg6zOrYlOaoxhhFWokmsJYaGdkZPOTGfTOT7drk2+KwUTCdplBVjjJl6dKR 6sgadLAzZ+EsOA3CBtC6prYcXIhM/dLt14oiJcoUR3TMY2zGUGzJcKMTgZCZ MuF2Yqeuyapg6DC59TT8UMeu5lNaQxxjlGU0u7RDbzO+QG6zjDm43dqk2+Ks UQidS/WgZZL63rl3590xb07JMPC/Q1oLCwtbF+dG6m+9PHvUzIkfFjVVLXca k9OV+LhSKjXRWcH5ljKlWA2OVFU0jQb1dWjidhWCNVVrfnapqWnBpUtNU1cB 4JAOf+AnNRDRK9cNcFJwvoqGHeXqJFiKPQod6TSWA3DhwoIP835VnxcBADSO c1Ri0qswUilJv3K9SDsX1nrGtEzCZ6Wn9Wja6oZSAM7/bFWoKRQKRerL63HM u5MC9ZmiVDpEr1zPf0/Tpmg9t65+Z9joyfCKdktLXX7h6sslM1tbby26r/Ut +P7qwvzI/V4b6zvpvnO5p7DwBm3y4ukXW6FyRdN63p/z+6O1ydrQiwt/rt2q De0Z8lZunu2ZHKlBFB13qhdpQ7V8LfcWTcuvgw09s1vguZUPanN6IrmTv6ot nD5n2kVtCJTxbG6L0Gm8snDxVa1Fm1zW04MOdEq12bDhnDakB/b0LH7was9i re7c4sWjoYyjdlt6LCi8Wgqr4bSF2nTY0ADfgY2wtAXN5NDUrQHWVVdD5FDo s9fG+k6ETh2eQ+Mz09MXIhIIE4Sz8NuVOvRehtaUotcIeYup66K+Qy7kNF6l 3gLrykpxvEcZeiHPQY6FwMyqhrNGeG2s70ToICiwrhF7C3Ig7EiISylCgl2m bgRsgXU5sLpU+o7rkk0usiQdkSXpiCxJR2RJOiIL04FSwgrRuSbVX0k6IkvS EVmSjsjKWDprv/7I4BQ88Ioc5Nj6Z4/bLN2vac9wC9ygQ611tJVrj2hYvzeA JiBFPGu38Q7El9qnybiukynl0KXT2c9t69bXYrdbNDqOd9TEdPCK3Sf751mp 0dmPm3Y/uy+lSIdPv/ZHsfuUu3S279C073wXfbxR0w7sRi+0fB+7pxvW7ket u/W1A9dQGrxzMhnWfv0nJANJqefFuyAqli1iN/qu13aNlPKd75IV6I9N7aRQ 1Mo4B0qp10q//ZS1+yfszo4NxKU/+7hhVOIcnIk8HSPN1tdwrabRrtPZvgN1 q/ueQR3CAWQueqENQl9JU8bse2jRvgP6R7T1Voa1R2gGnHKf9XH7Xz7OFcHU dm0fLv4fHzfpxNdOCt1vMDdqvWbksOzWk3HGkiL1rUiUgzcxhg5buWm0e3To YHLyEWvvfUTfa+gia4w0x53tO1YayJDDx2ag70Zeu+6IT2mtsK/dWMXQwd0M VwLzrifROaHhgs9vkyO2x+N9h8nMV+EKHbO9cMe69S+49jlCwcX6jv6JdBXP xtGhZZh5cU90IJ6OUduPmD4+hs4Rfrfha7VyMHbHmcgalTgHZ2IyOnpGL+jY tA8/Epqbvn3HvyDfIT17Yt9h8sa22W52nEnsOzHg6Aej1r58hx13+vAd3kQx fcfsjRlTcB8bO2jgTX5m+44D9OvuON/B5TB59x+Io7P7JNOF6+MOmbDuO/mI Te1mm5A0Rq3mN9ZutpHNOZthVMIcvIlJ6Hgw7hh0rJkMs6OgWZN1DGaMO2RM JqO3pv097ztHaHomL57sWDMp63jHnP7soxMmXNjHOd8xSrCafTdOqddKv/2U t5trZON4xzAqYQ7eRP54h3c81+dsaRXbOMIoZaPszxXESdJJhyQdXdlBx6Ey jo6v5AIdKWHldWSDVGJJOiLLa8+Vkspcee29gyCvmzSN6r2ebZJ0RJakI7Ik HZEl6YgsSUdkSToiS9IRWZKOyJJ0RJakI7IkHZEl6YgsSUdkSToiS9IRWZKO yMpeOuu+9rD5N1Ml6YgsP9DZtjMa/ePvoY/To9FDu9ALLd8bjd612ZMWT0U+ oLNt59OIxtPX1x0+dL0boelGWNDX67sQMcGVxXQOR7GWPUwwoT/4XX+RRQf/ RnjnyWI6hu+sewVROPjnHJ3DFJw3be5cfqBj4zuvCO82RD6gY447Fh0y7mz7 mPCIfEDHmrNZdPCcLfq0N02eglKk8/LLL//43OC07cDlp3MFNxhilr38rR88 ut7Eczr6Ovp75uyGYy/+kHx4fRCb3oF8RYd///6fIv0J1vobjSSn73oJBo49 h17HIfngrfxM51tIP8Cy6MATx+FRBAZuOfU6PEocyEv5ms6jWOv3vMDQOXP2 I+Q+EHvRP337jwat2R3KX3TIozDQO/5n0HmUo0OchuhE1Ot+zW90uHdKZ8+e GN+5jfoO3OK96/iezvoX9rywhx13noMn6HAj6QyGnNNZb8qkgycCZ86SLk3S GQw5Pt758Y2W9BSnSa+25RTGI+kMhrL3TI5ziXv9NHvp6Nd3nu+7DSQdN2R3 FtSJJB03ZE+ne9nD1w++euj6Lnq9jYkuWPe1yyS6wDhpjQMNuqPkfLYgyn46 OH5g7yH9412bmeiCdYdpdIFxwUf/KNB1nyymY4w723Z+ZHjDulc2x0YX0Hcj 0ECwTi6L6ZgNTT/ha3Co84qL/SABB2agAe7/DrlOIZFSo3ND30k8VAI623be hnwHDz1JfIcJNBDIf3zgO7ue3rbzEP26K853cNABE2jQfSiD6WSU7+jjzi48 KyNTgWj0H3jfOUyDC5hAg4OvOjtEcknZ6zt9SyAnSaDs9Z2+lW104iRUjI6f 6fQdo4N01MtLpH4+R+0gRgdfK/Uw9sPvdDSYPEbn9Iv/42FQm6STPEYHX8k+ nt4mT0H+ptNnjA6+QLrlb18alKZ3IH/TsfEdPkYHxxl4GBIq6SSL0QkcI0fn ns0L/E6HebeJ0aGdmnfxH4NLx4ujo34f79jE6OgTAs/mBTbn2fp7XzWPwrPD 1uw9z0ZPSvfz3tCMpJNJ59lok+Lb3vV7366TS2v06jS9gBD3/AISaUAup5KU eigC/fZX7F10l905lZ3lvsPeN3p9L0b0O5tNOvHPLyCRBt1GIAjRLuMb9+QD PZlYdDLPd2LuuTZX2D+/wFjFXvZ+ZTOXg30XjI7Y6ut5BfrVaTs6h/kHT/Ch CFYO5skHAtLJPN/ZxY4ziX0nBhz9YIQiSN9JhxLM2WLHnYOvovF87zKWjhFW YDY7SWOEIpjf2CcfCEgno3zHPN4x52x7aaAnjjD4+Lc5OnpYgdXsu3BKPRSB fuPmbELSEVt+PpODlUm+kw2SviOypO+ILD/H5IivdMbkbDmFj+lkXEH6lM6Y HHJl5+hd8sp12tR/OvExOYSOhzdfSzrJYnKo78iYnPQpnTE5ctxJtwboO1xM DvGd08sE79nEj562NDA6fEwOoXPm/4Shg8+0cVeuMwkMUVpjcsSas3Xja8vd 7AXmbKbTZ0wOGXe869hi6JCrM/rNiPS5BInjA8R6SoGl7D3PpjsKufKp/+pB oviAdWI9pcBS9p5n06MyDr76PH/F0+Yap7A9ni98R38uQeL4ALGeUmApe32H HXf68B2cTkj/yV7fseZsxnMJEsYHCPaUAkvZ6zvW8Y7xXIKE8QGCPaXAUhb7 jikh3cKRBuY7YvmS3+mILb/TyUzfyVz5wXcyV9J3RFaafYeL0XH7Irbf6bC+ 4iBGR9IZoPrvOw5jdFyU3+ncYPM5WYzOqGjUxYtxfqfDykGMzqnj0PgFGDfk dzq87/QZo+NyfJvf6bByGKMj6QxAaRx37GN0XHzmlN/psHIWo0N+itQl+Z1O kuOdRDE6Lgbu+p2O2PI7HbHOq8XK73TElt/pSN9xV1nrO3+Yqeo/nUzynbhN zUBlre9khdLrO976lt/piC2/05G+466k74gs3/hOtx5KnVHKXt/p5iLXye0H GSd3fMedS3AxvsMF6LI/KJo5csN3tpxy515fGzrGfbv4HpBlD5uPoMwUDabv 4AdLnDmLf/DFM9/hHv9tPr41YzSovnP0xR+eIL/G4x0d9qZE1x62mjal23eM f0SBYx/ReClB6Og383rT0v3R4I47BhVB6PjedzgFjt0mku/IcYfT0eP6r8B5 QYcc7/A3w8s5GyP8QKMtp56jsTkuxFP7/UyO2PI7nQw+z5aRkr4jsqTviCzp OyJL+o7Ikr4jsqTviCzpOyJL+o7Ikr4jsqTviCzpOyLLDd85Go1G3XimhN/p 9EuBj73kzq3XfqfT35gcEgCSUk39kd/ppCgzJgfCE9J3+iF3YnLc+d0Xv9NJ VUY8gTs/aOV3OikezxgxOS79YpLf6aQoPSbHrUe0+Z1Oar6jx+ScORt15zet /E5HbPmdTiY9ryAbJH1HZEnfEVnSd0SW9B2RJX1HZEnfEVnSd0SW9B2RJX1H ZEnfEVnSd0TWwHyHnH528Rd2ksvvdGJ0Ovo6+nv0uTS17kDldzq87+i3uwsj v9Ph5fbvuvUlv9PhY25OCzPiUPmdDi/pO4OtgdAx4jxFkaTD6XQU45FztkHT wI5GyRNw3PvJyj4k6YgsSUdkSToiS9IRWZKOyJJ0RJakI7IkHZEl6YgsSUdk SToiS9IRWZKOyJJ0RJakI7IkHZEl6YgsSUdkSToiS9IRWZKOuPot00yo/g0K ZW5kc3RyZWFtDQplbmRvYmoNCg0KNiAwIG9iag0KNTMxNg0KZW5kb2JqDQoN CjcgMCBvYmoNCjw8IC9MZW5ndGggOCAwIFINCiAgIC9GaWx0ZXIgL0ZsYXRl RGVjb2RlDQo+Pg0Kc3RyZWFtDQp4nMVZW6vkNgx+P3D+Q54LO7Xk+AZLYTKZ 0+dtD/QHbC9QuoXuy/79ykkkO4kncWamlLBDcCz5k/Tp4rOq+fb68k+jmg/q BI0FpF8X4u/X35pfvmv+Hr/SczIKgm2+/vH60r2/voS436lwwub91+b7N2iA 3n5vPipQ+EPz/idtOWkSpK8flVatMsqO6+DSB6fMuOhPjtf8tE2dQtoWpkXI Zc+y0/JiNy7ZdPJF9XKyT9LXcelKtnyKRsJgJjSZYZ+/vL4owvVt5oGffqTV 5gPQti9N8Kd2fP+r+XnSNGwWR7XW0Zaip97UG6gJmUnI3gBAAYKmp12gnOse sFo6wC5Uo1YaJ1lE8Q5Y6NHIiYaXg3gyc6+BTvUQxHMu+R3pk1kBBzcuGYkb qgr4rSp55rIpCaoloZIoWrAIQrSMB25FFghgVc+7ERj1tFNT3FiaLUNeOfOK 7DEsJf6w6iyn6uzUOUUTXp8Ir0m4ZdHVCXJmv/Q4Mz0hV0CqGEVIDmnpXCNn +DxX7TJ/0SOwV8BvOIVIEz2K6UitEveMREAkLGvJiwWxt1cclcw2vcOKkU9o idhzUgDW8akgipYKGmNROZ8gC5EQ3qhAzxQW1Ou4nECiSQHAVJtIeSIOBgmZ TTqQczd3FgdBYjUxk8ME3YqXgbB3TEOE2zWx5F5qEX7po67OvSXR/8W9lF7X VYngLMwxqFRJcA7tLBkldbGHawRH7tX0z9SQ1YRAvwuytlXeLIlue1MaMIU8 +6TXddFyqbFZt10SjdmSSTmuY+Isk7V9Ja6CjuqJkRaS9ZY4KNT4zQHJLIy/ 8OnCAaoiYl6KIFUiz3nkbpo3BBMjoJouZtqWJBeAvJieteBVOrIfU6GLySn5 3yaMmPEuC6HUSlosNxDxyCKBpEtYBiXy624mwFlq2cgKhpSItO5Q2wyUsK3G C7JEi+UpujRAWfF83j4opI6TY6s6Dq1R6qNJnj7zeDkbQ5eTwL5f1lWbQ5jt qUmDoTvcnQbJx2mgmNHG1tFmXnWVNCl7m161ZacU9GWZ5h0gegB3cpaqD3X6 li46U7/XDSi5vvB1hR6nPBlOcZeVjtbileJKQ2oc8DqquMBfadDoQdM3GzNX VqNXAr1dwTGDtsLaelyicvNn27gQA1pQEmGb3Bjw9GaJ8TWgqOS2T4BVUANn Srkueg0u9NvDmVZmPq+AZxWnwp3w7L4S6MdAlmHy1yq4RnG/eADujhKqdzSN D5DMDchvaUcVbB14hHsA9o4SVLTLRmbego2QdlTBRrl9r06sqRMb4qtnmDsz 2HaC3tOtxlFtqIE7TET3w90QXz5IvS6WMroK92vQ41c0Efr4TtV/j98TCOV5 PN0FEQ+M2Y/tENKAbjvNIo3i9zhg5XJVwHSQP5fsB9PSnSuO9JQieJ44x1Bi 6nRYdaTfDQdQruo8GHWKnV03sOM1uaiGWhkhUsTb6Ns2Fr/hbjP2vGteN3aw DpzW1uzW53ugb6kdnBrnQZrhQ/wlmyii0ZhFC8/LoKNph5o8XojrNYYZs9sX 7zDO31INeJlHpgokXU/26vZx35eU1vs8H5umOYRGJg8xzy6c4nFgirGoMlK3 uz213kTX3lJJEbgvW1Hv1+XZ+Hn8CBranzA7FtU8uyAorK/DR6OHiLeOuLco 2Hoi4vAfKP9JSSiqPloSRq6gh2c0j6KaB6sAMyumYZXbJ4vcrtfJVQ8lGNFg v9rf18yxDQ/eYMZ4lNQ8OXdRh0OVthb6ltp787Y/0swR/cE+WZ+5JdV3NXME /4wiX1TzaPuOLfuM7esLffGkITb0eDE+0MZRuerry76pQxsvqjzexgd4QPeH I8W9Al5R5WbK5lfkupQFb6vbbQV5iuqqyTO/v9cSA9yReaHG72uFdyUkWLPR SStKf1HBslXNgXxq/gUOQs4XZW5kc3RyZWFtDQplbmRvYmoNCg0KOCAwIG9i ag0KICAxNDM4DQplbmRvYmoNCg0KMTAgMCBvYmoNCjw8IC9MZW5ndGggMTEg MCBSDQogICAvRmlsdGVyIC9GbGF0ZURlY29kZQ0KICAgL0xlbmd0aDEgMzQw NjANCj4+DQpzdHJlYW0NCnic7L15fFXF2Tg+M+fc/d7cfd/OvTe5We5NbvYE EpITAmETElkkMUQISYBoICsgbmCtG6jgWhVbadW2ikoIoAFUbOv6umArLrW2 UL+IrTXV9kXrW8m9v2fm3JsF1Nf3+/v+8f18P+ZwZp55zsycmWeeeZaZuYeB vvUdSIu2IA6JbWtbe7JU8X8ihF5FCJvaNgwI6at+fBTgEwgpfrCqZ/Xau0us 8xBStSMke3d116ZVe37y1bUI6SsRmrlhTUdr+9BV0/UILd4PdZSuAcTO0Ufk kP4E0ulr1g5c+gNNpwqhJQZIX9TV3db65XrzpZDuoem1rZf25GvKOUi/AWlh XevaDtsbv3ND+jMoPqunu39gMQrHEbqsnD7v6evoGbr9YSOkGxFS7wUchov+ aQGU0zTheJlcoVSpNVpdmt5gNJktVpvd4XS5PV6fXwgEQ+kZ4cys7JxINBf9 P/jHfwT3bcgNsY9biXwIJY4n7w/iV0nP46OJBHkHMi9O3tLfYrjuZOFiPF+K UTs6htaiW9GPAFeEX0cPIxHpAX8McUD6RlSJbkcb0VtoSeIfgA2gB9CnKIqm oDWJODKizSiOr0QPYIIIlCpHb6IOtINUchH+bzBuOTif241/gHKhlsXoLmRH R6HGnIQa0vuIl1RCqcXoFW65MprIT/wTP8u/nFiJfoYrydv848CxIzjIo/g1 iW2JnYn7UBo6zXlHf5MoSKyFUkvQCrQeXQEt2IJ+gl7DTWQaOZK4EdrUCG3Y jJ5Er+AIj/gVyIQWQu4forvRQfQMOoreRR9ijPU4C2/Bb+JjMjT6XPy5xJzE ykQ3mokWoAa0BZ56cQauIRdyF3KPce+M/q/4iYQP6l6MNqBL0eVoO9qBdqN3 0O/RHzBH1GQxWcI9htxoGroQrQRq3g5tehi9jI5jJS7GU7GIr8OPkg08N/oc zEseWYGCsxn1b0U7gaYPoT3oOfQG+i3U+Q+gKYedOIKX4GX4SnwtvgXfgR/C j+LH8d+IjLzLcdzV/Av83+JvJ9SJexMPw3vdyIMElA0jU47Og/F8DX0M/cvB UVyNf0ciJMphXjsajxclZiU2J55PvINCKBPyTkMzoM/z0VJo9SZ0DTqMXoCy r6HX0Sn0L6ASh9XYBLQQcAgvxIvwemjFY/hTPEpsMH7lpIsMkWNchHuNX8o/ Pro/bo0PxT+NJxK7E4OJ3yReZeNbCu+phRFoQT2on43YAXjP8+gk+iv6HN4h x35o62w8D/p7N9R/HJ8BdlKSq8ijJMFN43ZwL/NO/u74gvja+N3xfYnixHzg LQ7JkBMVwzUVuGkJaoK6fwDUfAA9AiOzD7jnbfR37MA+nI/n4AtwI16B1+Bu 3IN78eX4CqDqw3g/Pozfxn/Afyc8kRMr0ClC2sgPyO1kP3mOvE1OcohbxDVy vdzl3O3cfu4N7i+8gY/y+fx8fgW/ib9MhmSc3KZ89Yz9zNrRlaP3jv4mnhef Eb8kvi3+q/jb8Q8SmsSRxIdIjvKhjU1oNbTxSuj/degWdD/wxyPQxj+jj9Df YMz/CbTgsAq7oMV+Nm610O750PKluAmvgmsNvhjovwXvxkP4Kfws/hV+Gb+C f4ffx58SDK3Pg6sCZsESsgr6cC/ZTQbJ7+H6nPwXF+aiXCFXxFVxK6A313M3 QH9+xL3PfcgT3soX8Iv4zfyLMk7WLrtLtlP2nOwl2cdyg7w5KSMWT5Q/3Kvk V3wV14V2oQbCcR+T35FKfCX5Cv+CePGv4G1eroFrILWkAhF8GLh8LbIodsoD 8gCxIINiBa2D3ENyuaV8mNOiAZhviFxIriMr0M/xU+grMhs4bQP3GtlFlnM7 +dv4KvwO2gzvRESHv0A1qAZXwdi9iXphhHK5PfzrtEaZkjsjW0t0iev5j2SE +x3IwWmgKv4DX4hHcAOxAbUqyC0oBGkDHoF4DszA3wPnH8RLUTl/gruJzCV/ AFwXuh3/Cvp4GHWRw/hnMC7lMB/7cAO+jytAV+FeoMYUdDG5AwVJDwkCPy9B /4l/gK0wc7+CsUknqxDP6UgbOkaaYNTfwCaSh68CPl2LtuGtKIpH8bPoVXIr KsUd3DNnnKNZBJ8ZwXu52Wgv/op/mX+Z8FDTr4Ca+SA9ROCQB0BGLIGZGeDC wDXlSEaiwP8tIAHPQ0byOb6CdKFOfDf3V/wQqUH1qIPrJ3X4rvjnfA1XBBQ7 BNKkVj5FiWSVMi9fDCP+EaoCblyNkHwNf1z2Awpzb3KnE02JQHy5LC3+ProM qDMbpNs2mEuz0XvYhi/C5/MJMo9PJC5Au8ke/v2EHWtxAP02ATMsfgBX4vSE gHsTGnw+cPhF8odH7+G38dfy6/krQDd9BVLzOnQbuhf9GrTJg6C3MoGO5wE1 l4Hs6QQdkY8KUQn0rgpNB6k0B541oAtAnq4AKbkKrUO9IHl/jB5Fe0FDzQN6 XATlVqGLAd8PGupydBXM/+vRTSAD7kI/R78lj5D7uQC5gTxPNpBO9B56j3uR E/EF6Bh/I78ZLULp6HxshjeXwSj5odxNiTfhbdnIDdK/GGYp8H3ib4m3E78c PQr1/Rzafpt8OvqbvBYhsWaxWF01rbJi6pTyspLiosKC/FhebjSSk52VGc5I DwUDgt/n9bhdTofdZrWYTUaDPk2n1ahVSoVcxnMEo+jMUN0KYTC8YpAPh2bP zqXpUCsgWicgVgwKgKqbnGdQWMGyCZNzipBz1Vk5RSmnOJYTG4RKVJkbFWaG hMHXZoSEYXzh+Y0A3zwj1CQMjjB4PoN3MFgHcCAABYSZjjUzhEG8Qpg5WLdh zdaZK2ZAdXs16tpQbYc6N4r2qjUAagAatId69mJ7FWYAsc+cupcgpQ4aNegK zZg56AzNoC0Y5DJmtrYPNpzfOHOGOxBoyo0O4tq20MpBFJo+qI+wLKiWvWZQ XjuoYK8ROmlv0DZhb/TZrTcNG9DKFRFte6i9dVnjINfaRN9hjMB7ZwzaLzvp GE9C5abaxusnPnVzW2c6OgWa3Lr1emFw1/mNE58GaNjUBHVAWZJRt2JrHbz6 JiDivEUCvI1c29Q4iK+FVwq0J7RXUv86QjMpZsXFwqAqND20ZuvFK2BoXFsH 0cJNgSGXSzyYOIFcM4WtixtDgcFqd6ipdYZnrwVtXbhpn1MUnJOf5Eb3GowS Yfem6ZOAVjcR6Bh7xiCWnULzFo5RFtMWheYAQwwKbQK0pDEEfSqnQUc52tpW DtngrwlDqcF2GJHOQVXtiq2GqRRPyw/KMgwhYevnCDggNPLJZExrEiPPMHyO KEj5ZIzV4HkKHoxEBnNyKIsoamFMoY1VLF2SG90wTDpDPQYBIiAfagDatjZN jQH5AwE6wNuGRbQSEoNbzm+U0gJa6R5CYizSNEhW0CfPpp5Yl9AnW1JPxoqv CAEn72cOhXVQGR77pzfYzDPXTB3Etm953CE9n7coNO/8CxuFmVtXJGk7b/Gk lPS8fOxZEho01zZybpKEiJtjT4Epl41lpolG7SCfAf/kjKnbhxVK4EqGwULd oGHFbClsUgcC37HQcOIzWopF48WSzRycGpmcrpiUntQ87VYOGsyHybzFF27d qp70rA4k0NatdSGhbuuKra3DiS0rQ4IhtPUgGB7hrT0zV6RGdDhxaJt7sO6m JujEGjwVuJWg6XtD+Ibz94r4hkUXNh4EP1K4YXHjEJg0tSumN+1Nh2eNBwWQ uQxLxrA0JdAUmoeB04fAYqSP3AdFhLawpzxDsHTbMEYMp0zhMGobJhLOwHDw lwsWC7Ul4AL9qkB1e+WKYazdD1gZTwEOqeUyAJ7gOOJSKSjuCYycyvrLHZEF htOV80crFxi+qJxvGK1E1ZWjlfQuyA8YA8YMCDAY/mcE7tkzogx9hQT+WcR4 rYZ7h58PvsU1om+vHCtVqnSELUilRlhNYSPASmRUNuNh/Mg+pG421qjwI0gN tpKW3AX6fzdS4qeG5AfxMNktqmNQp9OE6q92DOPQtRHkjGEHNK1l/smREfiH nKcdI04DBNcr8yJpVxqeg9jBgIJ83GLEpUWFoLEUGEMoDwUzuZtsGqMzeOYL ThV0GjU2Mgv/W+s0Os3xhniDGQDqmIPHhfiLwRutJbeJd/qNfhMxlRuXGokb YQPyB1fgtabuQHdoRe1v8G8Mr5teD7waerXw18W/rtUrkQPdHeRQITbVGk21 IUMwZAiARsWB4sKQwWQQcKEF48LiWpPJJASKLYFAManAFfoKQ4XaXGGqCFQI Fa6CisKK9IpQRc70itqKkoriigqxtra6vLw6FMrMy8usbpIVD+O8/ULtvdWG YXxCdGMs0wYCNq1WhmzYZvPie/WybhmRuWYWwvN9oXszTSxf4N7MJr035q33 Lvd2e2Ve5wy12qXOkVfITx3CCuTAUSBxNfxhicZj1AU2aHHOP+kwTYm1GKfE nHAbAaZPT7pGHIaTFEkRydiFHIYR+DsrkF2fF4H5fRCZEv+xz1lYbRpOHNtn z6Xxo/ssWTT+Yp8pROMP9qXZafynIXdlVYT9NV1/5XPXw+hCDWLIUArlDVEo bBChpEENxQw+KGPw6WzVhuBYKVZMD3975aR2ceMBo0OnLy4aTvxlCGIEj4FR eltQSy9rWFHiA1Fl0lQbfRpTNeT6QJwLgFFts1cZ1UZTVW2Nz1SNaVBb5jFW YxrUlrkNAEFQa3HqqzENAmqvUFWsh6DQ4nRXGSwGa3XhcOKTfRCbknHtcOK5 fQZLFYZY1AEQqoQgQAMcOecPSZ1BLcA+NsbNgWC4pLi0qAhjxuQpRCkggmHp kYQPYRwKTkDIQ2QXvjps0bv88X/6XS7/tvjB+OGbfC6XL/6pz6U3h/HV8UfS zfD8Q7/T6W/Hbuxt97khSZ+m4+fj2xU2ncnhMJnteEr8RbuZwjqbArzR2Ur2 BDDxT7GRxg6z1qYEWfRa4gMOw6zSgX9fIKr0QzaNcgjJTYexDXxfHtsOaDRO p2ftQexDSQFkAL5B1SPVIzBIqc6wnpgnpciS9PKG88smB9zKhrKKBfQe3V5f PnUBvWFu35Y4zlfwt6EoellM/8qNdW6XmzyoPqD+tfpN9Um1bEPadWl3pv08 7QXN2xq5XYkVh8jj0Lg+0arkeYUyiA0WldVIV+osMqc2exg/IBp9FenpigqM kVwbcGosN4AkfVi0RKNKlRAOvIA8Bo/g6fEc8cg8w+TDfbk5jzkiMKFOgjit NJw+STtYaRipNIyOGE32KaYpGOYWMoxOoxMKGz4/DbKsdpOY5nKrNRqXyo/U bq0foQiOXH016m0B7sWBJAMYLbaiwtKypNSDgQbyGFNjTwPA40P4JTbU5et7 l7xQZtEZHDrhX723P76TYnfCmDq4lXTcRn87Z2WRoHMa9brA/K3rSYwiv6SZ qIzcDTLyQm4jNMMqWq5Iw1FVvfpi0ybTjaa75D82KzzBYfK4qPG/FPL7g6Gg x22ldHRgUVRZHA6rJeiOZNAc9VkL0rOyMtKDEU2ahbkUMoUOHBlLmkGdnlGB InJ1tSHAK6wV7mCFx+NW6xWfKYjClYssQro+1BDaEtoR2hX6LCQPOaOjtzC+ aZE016kW0FqMhapHRqjuArLCvymUyNg4ZTKJvzkhyY2DCCee3edOL4bZemLI 6EqKDjRv0Lho3mA6GBsHzJY0m8lTXl7ehHphIlhLS5NMGgxnhsOhoFxhDBRO mrmpoSHkwQdmzrvaaVanmUPFzrKdR/AAnZeja30up/+VnTTkVh67Y0mHy+xU mEOuxt3xYjrp7CajnTxFxwURtAU4O8ZtgbkkoDfETrXtHispJNPJQtJGXiAv mP/D+Z7pPef77v/l+ND/b5vO6cnxFJNy31z3ef5l7gv93e4u/1Xum9z3eO7x PSnTr7cd8jzHPWd62fOyT6583ugSBISx0RuwK/iAUaNd7KrYhXAPcMIw/lC0 BwVQY7ssuNtyxHLUctzCW5yBnEdBa4NKoUPSOx90wBctvSOM3UeAujAghhFG QW2SgkM2ixwMu/1ui99HQEiWlzNitvRi+Bewnc3aqKQYFRUihURbPvfML20f PnzR6zXmNIPDkP/51e/Gj2P9S69j9VLnW7fffsyFf/zAi1VFeqfRaChcit0v P4nl8f+8etvjj96MgHpPAz/bZEawlDxos5gTdBY6RedCZ5tzwPlDoLnO0Gix BHVyrapRJgtqbR7nnVZr0MM9T4bxHU945DotWDiH8XIoT0DVpvG8TLDWW0AZ eM/fPM6VYEoxY6r6C2BLYK9jleismNot2BoqMZ/FLIExZtlxxWY8l7GHg05G PPdzKpplxt//Pn7+mX9KsthsJwfpTKY9uwr4YjddX0c56M9PzMlZkwN2I517 aUiGZTEskxEcVPocFGVwx+xut8Me9KltwSxVi3oYt+3LCmhtEItCMGDxIa3G ogA7D9v9KmELXXnG2BXNCGwxYDBGbtoXydkijbrhi15mN/TOp2KuktoVBhjx k/DvNJ2G3zDhWqi4mzdoS/LEvjSlSUm5YJxNDqKcxCdDgiXzUOJLFE58tC+k THeWp5gFG1OqoYTOPEkjFtpT1DMXU26xMjnJkx5Kxudv+3Pfbzdt+m3/+3ex dM+7d9717rt33fku/9FXayk5f/HSphMbLz1+2Uv4PTrVzry06/33d93/xz8C bTvwVr6T0zKdVjakSAer9UvRbU3Xa5wuL19vwvBPb4qZqk2cyelJGtYtLb2V YFej2PzRL6hmS40wazc3KcUXnOmig8zdQcMJMHlSUq2gZt+0m812egPnqckv uF/xv0NgYqMVe9Nkw+Q6UU0tb5in6ndUh8iDSEOeEbWC8YjxqPG48VOjzHgI 9C8hz+xT4nfQMHnwQL6yW0mUT5F7kAn9AzcgpqxOjxhGv2gZOQ3qmI4mKGfa cI6pmMxxAN5VJxecTkGOVzPQ4RJk/O/irrDfH8anpBjaUkF3fcAWCOHlYsFu vNv0qJkT1IJG0Ao6IU3QC4apqAKXm6aaV5HVxk5LZ2gPZHrEbBL9WG2gnGrV IZ1BF9NxugVGnc5gDIJ5Jikdox/5sX9ZUvGEkIpjzC6XLyNyOUeCKoLdVoqq dugdfgdxLEhqJIvZSDAWTEaLCe4QuG5mi8VstphNQDyqfUAJucFQ5yrUKnmo wjKMLxY1ZlIRM1Yb9xg5IOTFyIxVok404XxTt2mX6Q0Tb3oa70HpOAMHQPu1 w7QAWXjqdMuIgZFyhOp9+q+6Mha7XpYXSdq4EDmQcmxW/KMlBpNkQvqs5NmP aTpp1wZCKeMvkLIGi87GkMFb4r+4gAmTChpuw8UZOI8ZhLiSWoBLOF2K3UZn gWRJwlS67ADpcgFonSxUileK5z+ieND/SB4XVmT4K/gB80bXBvcWy7Wu2yx3 unYrdlkedD0eO6B4Km2vZb/roO+VtNMFVjV24hzM3Wu8w0Uuz9uatzPvkbTd ec8XvFXwYYEyi42oKyMWyMgIBoJZJq/Znl0aQKXZmCvSqqKl1K+5EN+QhdRF AU6jCqCoIdoT5aLZFVptluU+Q8CroA90SBACIngG+gCOBaoD9YHlgfsDewJH AscDyoCr3L49PyCnz7vl98uPyI/LebmzLOfwuP7Ckfmjp5g4wxEqyJkWo2ps JNYyQg2402C8TWGWBcg2MDTOtuBAgDmTAuwIUoDkKk58hkrgdiZO7zMp85Rj EqwXsmogqwWyHkY+yGJOPMusihbcEmBSTTLl7CVUmCkkRFlSN6bEHxdmzyRJ V8Y1PvnGjx458c7UG+q3bFm5V1AZ7Oq0tvsa7h+SRGDFD+c8uXrBxr61h9s2 3XtP92VP6A03zFw1Re0wGdV6V86P20aPUUmIf2Y01FcsPG/N0uXUBjwMs9gC msWBWsTildZ+6zVWTq/SNhoMMMmUskZwRJQmh/VOozHoALcfNKRgNBjqDUcM nMHpnKgXqUr8Fn34jbrw1sma8J9UE6bENtWCfJXEpxg1A582gcTJBHtVq+YP 2EiWDbuUehWzU7UxpVarUgb1khrUuBck1WBmgKZzYQan1wnp6QEhmIlteosQ qECZarujwu/z6ZWqCoNebgE2AxsJ2W3D5AFRlW0wCsqjCqwYxn/blzWrNaUU W6jdcxpkKHNsaAIuaW1lslZs+e+NUhDtIjVJhTF7FPwEg8nMy2UZZh7koElu kTwF6irMGzQnGfBpZE18gmyJD8AR/yDJdIyxMie4C8yXKBtPpvjqukdfulxc 1EsJ/vyaBa/tZm7Dp7NoePl9tY3riY+JiZsXXvyUBEo2CZUVhxNX8UbZdDSL LnKJRQ3mBs/9lvvdeyx7XHvcillodjhjTo1YFs0tbZ4jmkvmPFFQUUDwvFD6 XKXK5PWYm+cOJ54dCpawKF2KvCx6wl4y9wm7zi7RxS1Ok+3CM3aJ2btyhV3p uHkeap4tNpdVN5dXlRXPLp5XbFI3G1XNxiqTmHNXsUkMlphE21QA9CXLTdg0 TBrE3Pl5zSW5zaUZzXPSm+eWVJUWzylumIvnFpvdzZYdjl0O4mlusOyw7LJw liozNEHUQFUG8w7zLjNnfor8A50H2vN8qj1Pt0Q+aRlpAU/kdMvp059Qj4Rd gIe/Txh4+vSZFPqkdDWhWMwwSnOA/VRJlS79Y7iJCDY/uJTNQ/UwDGKJOQWV mVMDOA6AQWS3WRXcBCg5vUJcESeYfkrH8hcBYjcanYFnBOIwmJxY2EOxB0z3 0fn2s0AS+TTL5cKBfcyl/M+nzc+Qk/EvqTUSj/ocvN6lx6+PQxSPlSw85nXy YKfHC8chVupLuooYH8UPgVwpQHcfeMv0VpAohhN/etJXYgt6gsU+gEULAKFg ep7RZOD0smizWA0TdJg4DiBB2SzqARIDSHChzGN52mO8LB20+DFXLC89EBCO IZfBRVzOwn8fxFdKCw0t809Ty9zAQiA9csZiLsOowzXihKgFYkydRjo/QZBH YD71mm1AOJgidhpbklOnmDp6QOOy0lJIpFwVcFYgp/ynhSb79AK/Wudy1pfM ml7ksdk8xTWXLna4dCqhsCYL/zMczK2K3zNljoxTaUF2Fc5sw2vK5vGczWK2 cfy8MrzmoisdJpNWzcnmlsXvrp5P5dp2kMGV/G0ohG4Rc0D4lhgMXlXQ4y8N hbweEMIlGHuVZqet1GTyOkMmEJBEpVQ6h3H3EwaDkbryAIqCwRPzrPAc9fB6 T7Wn3rPc0+PZ7tnjOe5Rev6a8etuZgP2SlQ6SYU1iCsMIoxK6KSgnpwCtjQW neXtBowWaUViDCA73qN8M/ovGr4X/yUVFNxjlA/4qjO2lBDnPo7/kXId3hi/ kcUhkCW5IM+XAo94UBZO36szM7FtiFkMBjP4aR4bTZudMavTaQM/zafgsEYI a1s04MgcCAdUQgBTlyaH8yDEKVQab0APWp/IXTmhxUgrWC2iXlWtt3SDK8tZ nNkX3TLRFKAa6yQ1BuaPULem0mk46YCZ6zzpOCktMHyTc5M0BFKejLj4YhXO 1+Snz8q6IKs96+HgQ+lP4oOap3xPZD4ne0V5jH9feVL2sdJo4wtwoWyaphbX a+b4LsBLZC2KFk07XiXr0qwnl6sv923y3+g75H86eCDDhsGFHtIYsoYTH+/1 2ahNwRaJmrARGBJZLQh41Ro6awUCT3CLcM7d7wyDb/yvA+/f/jwdmF4m7Lmf vHfbbe/Rm/9o9M0X4p//+rn4Zy88NK5lz7wEPtH91C/C0lof+gf4RR5QUkNK Df+uxpk2vrRHCQeuT8Y3LeP9Y8KKHagO/lng8HKSKU79wHvKR+rQ3PJn0Rvo Tfyu57feL9AX+AuvOgNlejN94fJZnqWeX/oO+o6hYyBaPsZ/8eoafVgLQv1B 0Xy/Huv1fj3RZ5v1epPZq/VnULwBBRuCJJgdDgYzwl5/rIQiNYVFpYWFJaXe mEbG0soiXqmU8V4NdR9oZQ4sORDZzIHwuvOyKD4NRRoiJJKdGYlkZXrzhhPb RI8XI8Hj9fowsWAa+soR8nl9FkCBz+UVNb4M8Ix8Po83jGl6rsfjLi8jnDXs JnmxzNJwLKbRaHlzWKsMZ5aXe30+b1mpL1NER7E/c3lmd+aezCOZskwxM7s4 UzSV6DO3Z76ReSLzM8ANkz+LVq8fL8dkOz6KwcPhPR6eEN47TDaJNrPAgQ3n qzcfNR83f2rmzc4pdLozqQiOSaXLaRihy/rSv5ZeSILa6nUYToForJSw1LuX DBkqHyqrRyX1ZBgdYTiYGinXhu7OyK40PBdxoG+ydEDMfIvh863FQOj0gc/T i8HnOUf6hM5eLv+aLOQnK+JPG5hFE/8PGs4qoeHruApPeZ2KnuI6GsZfoXbm ThNeTo5PFFNUcI1GyTEaT8RT2+dWkFeV4CdpkB3PFstNNt5msdu4l/HLmrfI H2R/VLylkV+i6DSSDtLBdyo71Rfruowd5lV2pTXA6QMqcG4U2gACQ2Of3lnN 4jQ7i0WdtWSQ7kzloxWIA3a6XnSYwJuBbHIR8nSDQ3NUfkL+mVwmH8Yf7HPk PDZmjIJlODLa0kstRCrK6FAxCaVJSqjDYCWeRpbE6f0GS5rFfghMRnPig306 n9FXXj6+5kKJTrdlNDaLwV1toYFxOPGFaNb7qjUWCJRqCBQ0APwnotekqVZY NCZ4CIHNYrRXWWhgtugtNMdzogkAtVprgJIQEE7vr8TJPZDxvyZMpVlqHXDi yk5lfATE09+x6blfY/OSP+/a9Wd64z3Pxj/DxiPPYmP8s1/95E/Hf3zfiePM 3jiTtDfeEs05QXxZ8D+CHwe5R4LYE83ILXYMJ46JaQB4gxD4aWCn9IfYCsYI jW3UKAkA4KMFeJPFRJh5opf55tvmI0EBFgqIHslCiTSL1FYRvZKFkjRLXGOG it7lBwPlKfIEKsKH8SvJBRjJNpGicw0UiEeolZIyUlpSNMItvX04nLJOMiXX MWW7UPZPmidjTiQzXTBfZARrRVDpnM6G4lm1RW673V08/dJFTqdWnbJWolV4 TflcnlPpTCZH0Yz2+N3MWjFbmLUSvxusFbNJq+JkYLqsrl5ArZUPQdv+FWS5 H70j5sb4PFmILvhYBGvME/NVyYq0+ZZ8a7Wn2rdAVqsVLaJ1nqfeW++zqvRM AmtLDVqtHgwcp5+lPaXI4/Ejr5MuaEJaVspWM71KBxP3mdZSo9VqMnod/rDT FHY6CAkr9WEVGEAI+4z1BmxwCjcdn+SGsv0Cui7z3XYHzlLuX+erTlrQC4HL KjCbh63lYSF+gsaEre9NNnrGlvWAblbQgUdAetSRHLFSX6YvT5uin6qv1E/T i/pa/UyVKawt1e53D0X5TFyKyRLPSsVKz4BiwCMrVRR6ZipmepYoZPnKsmls Kez4VDy1rmrq1GlVwTKrnqJ8ggk3mN4wnTB9ZuKRyWASTZypLs1k0qcFrRl+ tjSMggbQkXW+YNDvC2aU5kvIIkMRKaqLFRXlx4KldSJFdhyvxbV11bW1YnUw Nyb3hfNys7weOVbklIkVqE6eE+BcAZWKUwCzZWRY1bo0wW4T/SX5ti02YjsT 9vqEzDBNh7eESfhMFYoJ1VV0cQZVHak6WsVVOWfRLbRxW4x6UpVjER1EqoVS Q2lMrsqYpqBv0h3fljpLH7WM7wjJQQbY2I7Q2TtDSVdcyMp2ONVaXqbJyOYz /Vgmd6rtfpwly/FjhxYMWeZLGCqpew4OeksLSF53UvLWqJE68XfEw61IvAfv eg/hxJtJiduLpe1qBW2Bq0o+LMW0JUMQsxbgFrOVrRKVJif8mNorljajJqUV ExBnacy/XNJVszJQ3j+1uXQWc/N3LijKW1VTx8D6gtzotFqG/oApTAZyK5f0 z6yrm1lx3oWjByhHkx+Ji2d2jL7J4Ftrl3qz26VEcquCLhBgdDRxnIsDl8/A /xBvsFR7aojpPNSEOmc8Kjxa9tPyV80vT/+T+W3b21V/mP4388niv0w/Yz5d /OV0k8Yst8mqVNP9ZqvNWuWevi14Z/FhvWap+cLyzvKLKy4rv6rixvIbKx6y DFnUt1Qc8JPzlZHsULhAnFZZ7HLo0xRW7RRUXJgf4vNK9WlaTo04o7Ni2jSY u7XqYVyynxPycN4wvkv0hEsDAVShWDIlUO9b7uv2cT5XXcHiUEW2NSBSXWwD rSs2dWfjbOfMWgUnD6sDmouSOyITjlacxhEQMJIPMToKnhOwKl0gGAVrKrmQ OMa2kuNpmsJYqrxsuknwZJgz7FVWP6pwT/HjMgEC03RI2qodfmR3VE2b6q30 Y7erorLcX+pHlhojYzU6K6Qgeb6ALQql9i/3V1iK1Z6nEh8he+ITNCPxyVCV pYweVQjaKj3lY9oe9An4E4z7ykGTq2BaVlggKKd63WGwQgqCGVSRz7CA6p5h 0eirPbQeoAzN9CQ1Xyw0mKDIwYaQ/OXUfmlmcvXSzjzspIttkXa0kxvZ8Izq +pLizHC6dN6hkLuCbno5zEY7kZcvvP7mBRV1+dftmdG6/PUXX9ystOpMDuA5 pz10T/eDu85fGH/xhvOO3f44F/GCTbfD57I5KzPLp0RKKrM8erMjdMXsS37R EbSkuXyP+VxOa54/v/qyGQtiMaF4TWXXZiqV74xfxd/NrUSF+Cmx2oEcJkcw ogvYS3CJsV4n2r8y/1dQozLPM88NrsFrjJeaLw3eYL4heND4tPlQ8IXgO8E0 +iumQpOx0Cztafh0utjYZoY76Nviw757gj6QuO5gKFIAWfbn5TNOtIN3kpdX UBiMFJpV0maeTHaPtJWnwshlYRsh9nw7tsdAi1jMQZe5MCedYtdmZsZCmZnp oWBOKGguLBRCQQvMeaPJJNCTWiYzwoXwwGTESOmTmVR068PttlS4XIYKNaFb H+kVOQUVkUhOGvI1+EiP74TvMzoPihtkGMkMMkHWIzsh+0wmlzmLcg6xfQ/m OZ9s6TWcAu5JbcpP2PxgZx7sU+ghLuod0B0QiBz/gx2Pb3qcShrOzq1QGiqV lWyTJJDcD/mWAzOTj9gUBUhX/DKnz6Wz2k4xDxkvxQuZl/yh32Ww5I1+cg3z ITxMxys4ncOks6rYumg92Sttn+hsiq+eZ5v4SR2/GTyE8/jHUDk6Ll6aa8Ex VI3qESezWW0X2Dss7bbOvB5Lv63Hsd+uLvOU5s+1zS1ttjeXXGxfU3Kt556Y uqhAL7iDGHHKNJu9DAbWp9chzqQJ7Y+YMso023hfRqSM40lElRZWrgiEw66p 7rC+wF8QK6gu4AucU67fNL7KMZ9u3jLZVC35BfRKroJReYSlsypTjFMmOQwH kQckh9GCDoEQ8SY+OWCz2T0O20Tp0dKLS75ustMLUOisbf7MPA5mvInO7ncl kwhmt+yCgTtaLxDD0zM92LC/a3eD0WqyRRa+1tl80eyLbiy89qPr3+D9bC/r r36Xw724piniz12wvK7x9qfif7toudVmtMeWtYTcs3ffunT3FZjbBvTvAhtr KWifcny9WPaW/C0leU7+nJI8oBySDym5XsUWBWlTtCvb3dxO90Nycrl/H95P OI//Yj9BGBxqn9Ik7aHrrX4rsdY5rVaHM2jKjrGlqeiy/Gg0lh/MNmqkvfc0 nFanTkvTqINGaZfLgDIMGSRjWXKrq7yQInUldQUlJYUFwcKKcjk+hE8gAbeJ Zm+AV2RnZZlMRrVKLbiOO7GT7joYpqKAULAjf1c+yXdOmdU64eDB6ZYJptHo 6ZHqke/kVX+r+/2tR2NAWVncHplSoZQridwjA3PHrfRSRYQjOUzzpEydIb8F iv5pr9siGTe9dL2qt6WlRTpDQ8X/ObbJZBvmbCcfL228pWlFfXkzs0b+TH32 uh+sXXRZ73I2Lf9Ow+VJS2Vz04xs37Y5o5+OmSNc0+W1147+4yzzBDhkCXDI WvATy3GfmHuP6yuB8NiK2+Xr5TvwHWQXfpAM4n1E/ZD854r9sgOKFxTvKo67 FC6l0S7xhcVvIZZlDovF7ggaz+YLg1riCx3WLVPpdGpV0CDxheYslgiVxCSW KMdCtifAAx8YjYZyxCsMaqVKcB53YAdlBg1jhiP5R4EZ6CbUlLM3oSSOYMcy 2DKN8RsPZfwf5AmDyy1TyDPcMqcfuxQeiR8kS8Q0JkPkidMHBK3fIq1fgtSg S5hGdqBqnBcCE3lB8S3MsLDh9uaVNy67iO5kxz+lzHDRNeuX1cS6JnIDk978 R6NfLZ01c3v96L/GuaH5slxh4+gnZ20pYnQJcEM3+LK1+Nei1vRT2+OxfbYj MZ6qcnBFdRGmyb1ql8AWBQ1e7I0EvF4h4HVFC6V1whiOZRfFYoVF3mjldLYO qa/2V5PqSG119fRabyU9uQBVySPs4AJ4vWaWtmWbbDazyeuMsMXLNH0Wzoqw U3TeSAVbuqwFFi2PFJeXlxR7K0JBH8JY5SwMR6MRIezKCEciLnPY5SSVFRVq tUpZ5Esv9qXXih5/8f21e2rJ9trjtaR2mBwW3TNNvkDA6MsnItlBuHryBiF6 spx0E448RQ6jGWguflva4mrppZqcnm6IVLJTm0knbERaAGT8lTz19T+XNd/d W/s6j5wZqzEwzlVglNpECGJgqj+ZZoYEBNJKUuAbFwxTblLgHMxZJbhrRt9k bBR/n7FUMWW1/2L2AcntoYf4/outIS5P5XH6e0hp3Heuyx8/D+9PweNLAsBz 79BTlyCBitErYoaobZBtkV2jvbpgl3ZIuz/y68ixiNqu1Ku0L9Ed+OI8VIDB aOSfQCiYR5SyYSyKLronn54VRBkt2QEvQibBmZfrkKuU6uAwvklUl6IoFlxH 2WGuO0VdzCpae6xvWHmrs2T9Qfzq2H5ZCzu8eoptBVXS/evRk+zkw+Tt+5aJ +/j0DGtOxO3J8UT9KOLOlqb+1Vefu2ZSNPnM6pj9zxb4rKmFlBhmxB7tpuEr T9DwiUdv2Xh9kdVhUZp/tGbdRnwjE/G60VmTZfnmi++zKW0mk52zd83cnJLu 9wNtB2A+F6N/iBetkGGgY4RupgXcvpJg0OsuytXn+0GWRoqLvblAzlK6s2Zy WiNGo9cZjqJsQzbJjmRkeKPBUNhZjDLSwwg5CQ6rnESlLM7IzQjT0ykNUS46 jKvEaHp6COGwIRhGbsFNGty73G+4T7g/c8vcC42CASPDFsMOw2cG3uAs+eIg ViZJ3wvaHOaaga6xQ3JEOloHSeD5UWkFXtqYaxnbi0MTd+gAjc/ZqvumESij 61fS2mAJOMNJsy2FwfdJS1lxd2qXSK/xcT+mLtjolTjXIdHcQUri/kksrlPH j9MSr8XnTZTAdAzKEwn+DvCosrio+FCWLdN+HfeI7SFQnwdt++1KRAxks227 bY/tGdtxW9ym3EUGyVHCKXml1cE7rFkkm8+yZtrL+XLrbH62dSm/1NJobXQ2 Zq3Cl/BrrKvtq52rsy7nL7XebbvL/nOym/+ldZf9ADnMD1sH7U86n8x62fai /Q+2Y/a/2k7aIxqb2xYhEVvEfr3z+qxHbYdtL8hesLxv+wv+i/1L8pXtS7tR 2ndMM4xtPFqsgUyKivakY5QupIvp3GcU2pX+RjrXk74lnRjSG9JJevo9Wenp mVnBQBbSymmB7OWqzartKk6v8qvqVdynKrxHdUR1nCKwSnWPTKWSy4JaGS+4 mGvn9cacXq/LGRScjjuJzS4MJ+aKhVaeEywynhesFguY0lkICQ6nxeEALiQc Fhx2gEGjEcwJVhvksJEjYFHa8QD4aCfoMiM+IYZ4tBhjbjGvzqwIuCoEc4VO XqENCIJOp5V3g23xGyemoiKMbneK+SVOMStS7BQzMiHw+iBwuiDQG4udFeIK UEyH8S8QgVdsE+22JUQsmFJMaD5C8xHRYCwmw/gXok4mrLBi628s/O2WChld xsovodG+8inFLBmRkvAaFkMNLIbyLIbKaCyabPZimWgt2SzbLiNIVi8jsqfx Byh7wvm7L1rG1sYjIyed4Ja6kscsHKechtEWl2NEenj6FH2IHNWVqV0s5rae rjScpMAo29RSUndVBv7qGJD0X6+/8rlI5Ns82BgYuL295+LORTI1Nu5iHchS OpW8YXwxBvcFFByXyZ2lnszmIrP5LBx3w5qDw2sez6YT7iMaXHLnvvbh7RfT /axTVDllYeIBUT7hvN8qYhn9hNw7fuYP40j8GPktzkMqVCQ6fo1+h06gzxCP nuDxf5Jfod/pFX4FUTyF70ZqtBZ7pf2Lk6MnUWyEyZoATu42YLoR84477Axx OG/03cKQU81+f7UbPOF54InloM8OBNQafbWVbiZFAXjR+n7G7zNP+E8E/pbx caYi3ZppmyHMz5ifuURoybgw82L9xc7OjBudWttw4p9iv9nSZL7AeknGqswv XDK5y2mwukBImzJcWw07DXc57nQ9ZH0I8obCJqPeaXEzz9npsVOv2ahBNxgD 2QrNPl7u+Zk9ENKkVSibdvnxDv+zfuJ3RS2BMD0isCuM9WF/eEeYCzsjz004 JdCLI/OT55/pSc8Rekhw5GTSgR53no10XQ/GsLyc/o4jEhlzjeXjvxuwTv5V R2rHi3ueSlfM/GH5njsO//rtR1a+stBqMNo7HnjplfhXWPPKrzidh47qM36X 3T1ry8c/euDY7AaL3RiZfgnmXnwFM2qfRIj7C/8lcqO9QyalezjxJUxfOVKq 3KK7wdTg5lX6Q+RhpMU7RRXbfnlGpSQUIwOMia05PaNM/jRcYXJbDpF3kJGs fhLJVEqtk1gOk6uREdnJ66IarTYa8WoE1sXTpAd50E/x69LqENCJ/QBGOhVb PSIduPm2nRbUQl2Dc3dbZGM7WWTHWTstf7eo9E610sl/+dWyMWs+/wI5/YWL UiX9poV7RyYDs0SQ3Jgn3ZqIjLcgNIybD6i1lmlBGT21N0obV5DvPohsiT+J UXBzZusvS7su87qs67J/nvXz7MPa/TkqnUltK9GW5/DZoRxfxJLpywppLRq6 Sqr72DRi+7dp1MZnKVOUfP/JJCFBXp2EiaXBOphozftVKrXWNYz/az9792Hc jDSIAF75Z+O0jBod6Ua5IFybkQ/ya8hasN5uxfIUTU+PGL4YOS39hor+xmj0 JFX5EhnR2A+LPP50k8OWIYStAYeIzCGjiO1+i4hN6RBEpLViujuRXMOhmw+R prKUMWANlKSXVZESySGXJ0+jpn77IlcgxSi5lh0POYbRP3sX+x+/fN0jTrlK C3zaebD1xx+EmzfE3z20OEAHaf0Vp/7evaY+q+vnV7U4FGq7If/Bi97bOrW1 fyD+/k8pr+aBjXY1/fUW7hZtSoJVHqeHvEiwBsvdbmxz8xojc5HSsk1paUaT V5MRkVwt0ETZ0aysSNSboeZZFkURp1DwHDhoFpa2R9hCqdeV7qPpYKDIGwj4 vN50N8Em7PO4LR6PG7uRORLOyPCF09PJMLnsCbcl7HYRD4CiGmvUaqz0enyg H6OiG6GomFGij9ZHl0e7o9ujx6PyqCuPcD6Tm2Y3m5abu83bzZ+Zeb0Zm525 Uy8Zkx69LZXzqYlH5Uekcr7hVGrpZuKqKbO3pV9UinqstGRVY4vRA4HBXY2T P3x0fMedy291odiaXSB07oGusSMVKSh1oJwnXaN37pSOSrDFF2apv0+62E+Z cCnbKeLtZ6ZNdn2++oh7fuKu50HQAxb+MXAz/yDmTCs6z11f1FK00Xad7XrX je6bptwzXT1HqKsht/p/5n+45pfT37Kfsn9uV4AE+2LI7CilW/JNETF7WoXL oZdZEC5LK8wPcXnFknx3hisri40ZtZptfN62zOKMQC3Hk0xlgC2OlmXQzR3i c9VZMsSCcCgs1nRnb87enn1/9p5sWbZz5o8PYX9qYVv6ObJhZGw3p3p8yTS5 oTO+nZPczwEBRsUXW9g4azVUEvk+MmHjw2qZsPGR2vZgC6fJDX3udoluJjuW PfDDbQ/mnbdi1e6apU2nfvOHa6Q1Zvrk8E9+8mTdzPy7f7ts2ZuPDfJVbHn6 bR9dIL1ue2vhwiK/0ePN3HrRjlduzKeP/kLXTpf96Cdd01f7rK7Q7NnX/vAZ epYlN34VWynNAAczV6wuUOunZMJdkns+XkJadO24g3TIL9EN4Mtz+vI0v5E/ q/694veq9zJ/X3BK/iEIYC7KXa64ibuHe5ST2zxsjcsZ8zqdHm/QJu1Ha0wv Tdp8rgnGkvvOWJcd01dYPRVAm7RYQKPODuDbeQXyV2TIwwG9EitdRVGUJvj0 yZ85815n4cTje3Q1tDJ1eG+ksvrkiPT7S7Y+8Z0WwM46xTeUpc0/lDiNchOn 90e0OgHTUzIFiT/uzQyN75qxY0kgTK3JRSx2DO8bV6wmncab9+j6K37XHx99 +s83vcrcpe4Jh/J+/Obd9xw7ds+PjnEr72leNnC070A88WRcntpX4CvYT4Q6 bz36xo5b3zgKY9cIEvQZkKC5qAz/9CAKJJ4TFwiBqojF7qhqLllVsL6AU0Sm FswtuNDVWDAgDEQvLbm55KGcRwqOht/yvykcD7+V+2nYqA+rCmb66wKXRq/1 b43SCbg7+pLwcuBUROc7nPgSFJiendeIJM9rpM5nFE06n1EBvrN0PiPqF3Ii AXkwNxry56HSsNNpCjtILvLF8oAXqiHQV+flKR3ZoXBODj2/4T9ELkO5ZJeo Q9ARn6Eow4PCODyMWw5s9mz3gETGWfAsiBuCu4JvBD8L8kF6rk5vFA04Bl41 MTjL53ZNMNeYW32y5STbhQXX+ovkEtYIPZYfQxF6sqB6RFrFShpw3/1USPmE 1c0hv1ag7BJg7FJi81NxVSwUDCc+TmlYiV+YOfhNLCJJWoXNZk+Z9iScmQH8 QgVDKICXSNJ31zir4DM/fufa+y7ccrNIUz337e6Of/7hun3nP7wp/gpRx+dO FsUvXnnh/SVV97Gj+9j+TMnihq7yxXdP+sLDdWLwiPy32n9quUlfdpj4xYdm I/vKg7IZ12jwI+wLD/RLD8mvPCBMdotadDAmx3KnCTVcDsMRmPiRh9GT3+Ej D3jMm8DJw03cO2cG2GceOPWZfyU/8xCXs8884EE8KH3mAaNTiaXcx7K1yIDW ilNVKht2qrhyNEVVh+eomlWXqDbgS1U3Km9U3YXvUT2EH1Y9gZ7AL+KXVW/j U/ivqi/wlyq7RoU1w/ilA5ymCjWrhvEQGAHNyqdjHObega4f3vsUWxsdBSMs 6f30tkxocNJK4k6MLjO6jU41eUBjSTM6Zen/bsxw6rVW2S/taU69Btr6m8QH PEwdBAbvvq5yjKh7U1RYWGKcmj4nfW5GbXkfkm8OXFd+J397yV3lD5X8vPyg +ZD9FfMrltfsfzD/0f6J+d/2RMxIyx2wBMFgNVLt6AEgW6nXRLKMXAwMMAeS hTzI6ROywlEnmLz7BMEUHcY37wtPK0qD+IBpmjw0rXQY60S1dRrn8UzhXFNj h8D09JCrn9Q4pxTJ5LpPDuEtY5+SoKcd5p88ucBwCqbDfAP9/SC1QkdPmpLn HMAFkpwhO9tJpOZocUl6htnCyzKKQyI2y6wiTi8Ji9jCm0TEDsyw0zIQlbf0 wlzpxbaxX1knlwsl9RhOThU7SzHrNOUbSHOGMw9c9vlw11/y9HaDwbLzsdue b32iBQwU5+ze2++9YultUYNRY3Qs3XTv/a+uJLuLD6z80UfL8g0mg0Pf/2TP vB2L2NzY2nzRjspii8puyJq25MgPF9+FpO+gkFOr3j1z5YXL9ZWfK2Fe0L8H Ms5vHf/yXPwqGQLuQ0iV/CYoK0e/Mzbh83QYTf7D/GtoNVqJOvBr6DbwV7YA 7ml0FaTVqALtQIdRMzgJd6LtKBdyONCt+A70IbKio+hOtBl1oSXoEvQOuh/4 KAKlT8Kdhw6CLmhEd6BT6DfsHeVoJ6kjN3K53Bf8nfydMiIblH0pP09RoIwp r1XNUjer/6FZq63UrtQ9n3a7frb+pHGpaY/5bctd1l/YHrf/xXGXs9EdcTd7 TJ4fedf4lvsjgiqQHbglcDJ4ONmjPHQeaCL26TyYfTG6r8bdr95LfzsNuDpu Af0wn0Qk6SN9rJyNpThWKg0kjARz6EIcTMI8suErkrAMePC2JCxHHpA+EqxA P8cvJGElCpOuJKwCHk7lVxMfeTwJa1AX/2oS1qJVsvIkrJPvl/0kCaehZdqF Y2O1Wft4EsZIo8tNwgQpdOVJmEO5uuokzEOeriQsQ1rdxiQsR2m6a5KwAi3S 3ZqElcisO5mEVZDnX0lYjfVpsiSsQaV6y9iXZov0c5OwjrtQf2USTkN5pneg JZinVNeaZQyW0RExGxksZ/gAgxUMn8tgJYOnMVhFx8g8PwnDGFnmJWEYI0tr EoYxsnQnYRgjy8tJGMbIcjwJwxhZ/pWEYYys5iQMY2Q9mIRhjKyp/DBG1q+S MIyRw5mEYYwc1yZhGCPH35IwjJH/fgarab/8UlkN7YugYLCW4gU7g9MYHGKw gfZFiDHYDLBJkPpuYXnqGWxl9TQz2MbwlzDYycpuZLCb5ZHa5mV57mSwn8E/ ZXA6y/8Yg3MYfJjBuXRmCIxuStb+JCy96y0KayX8nxks9WUELUabUA/qQKtQ K2qDWEAPw70YrWHwfNSN1sE9kMwloFpI9QFMw1bAd7IcAmC6oHweQDMYvvX/ Z02xsZYJaBE86ULrx/L0A24OxNL7CtAUuPJBRklQMcPWQIkuiBdCmdXQhgFW aiHU1w93H9oAYTtrw3pIdTKcgBZAvJHlWg34LmhX3zktn/oNpaayOvug/lRP CqEltGUCyoJaOqG9ffCkH+5VUFv2N9RzwTfUMjm3lLcBaEO/bDzpWSDI6E6p 2g7ptawXlwCOvvd/f0QEwFK6dELbBlgbKAUFSNM8bQxDxz2Vpi1aBxipVf3Q i3PfKI1xN9RK39gDLduEZkN6I2szrX0e5BuAq4vVP4PVREd0XfLtrWxcKbel at3I3jiQpOk4X69i/aKcMx1aEk32dyL9NyZr62P521mbNrLe0K8FU55qZ7lb Ga4OYIknV4+9a+IbKN92sHa3JalAaShxX4oiAqs11Xaao5Vx7SqAL032sIf1 pg1oI7DxTPWf9mDtGEW7GUVSo7ER4BTfC6y97ezdlKNXTmjFqgnj181mVAe8 byDZsiUsXztrXzeElJekWTHA3vX1FO9mVOlh4ThN+ljN3YxH+lnbB1hbUrOM trk7yaep9g4w2q2B1Dhl2iFXG5RaC8/WsTpSfJrHekvfPBWkRwzqo1feBBpJ rc1jfV0LOWj+tVBrDMIByNPKaqWpfrQ8ycEp7ljH+pk3Vub/7Ls2Mk6R8nZM eMsCVA9zZA7w2hzg1hoG1wNWgLAOwvMYnn7FexGElJdmgfSayb5xTbGLkQ6p 2U1nfSfj7oFzJH4KL8mFHialepLzedOY3Phus3d89DqTMnc946LUHNrEqJp6 J+3xhgmyZD0rK/FRqj0SX61l+aWW0NnexXiig2mDDoZbzWrpGOMMysNNybet gecbWL5uaEdKSqV4+5spk5LVkjzqYHOgM9myPsaNnQzfxiTUJsbvfWwUv45e 3cl+dTOJMV7LxmSdX/e+9qS8pXy4ks0pqdUrkyOzLlnz141QJuvVZEpJcudc rjj3zZ1jknUDm3vr2XztSlK7n9U28I3vzmPyYx3L389q2nTOWEjjNFmTSJKm lbWoh1G2k0nDtu805kKSF9cxqbAOUuPvpdqwnVFakheSPOmbYB9Ex3L3TeBb qX8D/y2laOvWJuXguMwcry8l3/onSa1xCTmeszupdagMXcnq7Wdvl/ojtWsi d1MNT7lBor80q3qS/JHi0rN56Nt6NM4fc1jfzx05SmFafy/gO1jdqd6M65E+ JrcnjkHfWfQer5n2r5vpgvakrtjA5O7GCXLgu4x+qj5pTtK5uiE5GuNzLFXf ueMoUUvqwQCTAQNfO49TI9Z6Fq1X/Y9aO07lc9/QlrQxViZTE1uUsnsGQPek algC8p/aEbmI2prlYAOXgX0pQFgAKfqt8WK48xH1kJaATSXlzIenBez/FJDg MlQENy1VikrA5qQ3rf1/puv+9zVj6lnsLOqN6cPFm3o6VrW2dQgPC4vXdAjz u9d1DwBKqO3u6+nuax3o7F4n9HS15QkzWgda/5tMMVqZsKi7az3F9Atz1kG5 gilT8nMhKM4Tarq6hIWdq9cM9AsLO/o7+jZ0tNd2r+/r7OgTFnRsXNixen1X a1+q8qkTHk3d0NHXT19SmDclX8ia39nW193fvWoge0KeCyZkSaIB27Bo/uJk 6hFhcV9re8fa1r5LhO5V39oRoa9jdWf/QEdfR7vQuU5o6+gbaKVx9/p1A1BV f95YQehx9+q+1p41m2Z3b2ztaxfmdQwMdHX0zejo71y9Doq39gutAs26sa8T KhQYrVd19wlzps+PCqn2b4RsfR1Ce1/rxnXCyk1CTXtfZ+s6oa4PKLmalpIK CIs6ujraoAltApCPNkQQamjtnW2tXcKqzkvhhT2dA21rhHb2/qiwlja0e10H 7cbGDkp7oXVdu9Df1bqSVbGK9a97XVtHzwBUtqQfahjoFjrWwlAMdExsePf6 gZ71A6wlfR1ArIH+qDDQupIOmbCxG2hK6x3oaFuzjjWmvbtt/dqOdQOMpnlr BgZ6psZiGzduzFubJF1eW/fa2JqBtV2xtQP0P/WJre1f3iaRY13Hxjz65DuW 2tjRBdgOVmRB/eI5dXNqaxbPqV8g1NcJ582pnblg0UyhZtbCmTPnz1ywWKfW qRev6exnXWODQWHghZ6+7h4Y502UN75meFn3OoFz1/d30BHa1L2elmzr3sC4 ZP26dqARrQdotbafVtIqdHW2dayD7K2r+zo6KDHyhCYotqZ1Q4fQvZKyFKX2 pMZQrgY+6hA6OqGyPqG9sw8GvGuTsKqve+14u2AQBrpXd7AsGyHneLl24Nu+ zpXrB6BqaCYd+gkdyuxPNQp4Z4wUY4U7KbNuaO1a37qyC5rd398xMLF0nrBk XVdHfz/rPOsF9Ck5SYBpWoX+no62zlXAnef0XAAqrhvoXLealW1tb++kfAF8 0sfkQZSi+xht4X0DZzeqq3Nt54DEmSwf5bd+ibUYQzJkN0ydnvUruzr719D3 QF0Sude2bhKg/TBUPZso4cYpNPlFjB5zVo13rnXdJqF3fUc/ew2bI33rkj3o S7abZe5f072+qx1mxYbOjo2MB87tPs0HI9nRCTJPGjGab6yP0Cx4wUBr28D4 GNOOtSZbverrq2VNHivQBhJjZUeqIip7BqbSDEsW1Qi5QlZ5cVm2UFZQnptf nJ+vUi2ZB8j8goLiYgjLisqEstKSKSVTdOpvmHXfOhlpKpZsHpuH4Ch1MxeD moTUQdiEdaB2Lgb181emtFLPFjElTF0UtjzB3cvt5Z7mjsB9kDvEPfr9Ytr3 i2nfL6ah7xfTvl9M+34x7fvFtO8X075fTPt+Me37xbTvF9P+r1xMm+T1jMOt LP/XPfvzWWU6JvlDko359XV2MQ6fkOZ9fAE/j5/FT4NwyqQ3UBn8TbUsYHOG yh6p92vwIP4ph9i8+OYyXw8nzw+heGjy//eZ+juEFiee5Z4dWlIkDkM0lUX7 0tILt9BYo2PxkKqouibGPYt64N4D91G4ebQcws1JDIf8EFbDTbHb2fNd3GE0 CPezcL8BN8UcAswhwBwCzCHAVHPDCHNPck8Mpfvh1fv3OdMLP61xcftQAm7C 3cptQwGo+6JkvDwZb4c4B+IdyfhmbttQhV9fo2KfsPgUwgTcBPp239Cs+sKD DCirZMDOFGbnPsD4a5zcfdCq+6BV90Gr7oNWfQohhlp3An4n4HcCfifD76Q/ 6IeqAtnJqpLAfUN6WxIDQI2aa+IuADfMzzUm46XcBUOF/iM1K7glUPUeFu7i FtMv17JwOQvrWbiZPd3M4G4GdzO4msHVSZiGsQmhn4V6GnILuUUwmf3c+dxc FjdwM1EGxPWQpvECbg6L53OzWHwe4B0Qz4N8JojncnUsPQfSMyCeDWkaz+Lq hmb482t6IL0cnhF4H8XPgDbMgDbNACJRzHa4d8F9nGGWQ7gZ7qNwcywn5mbA VQtXDVcDJUSoQ4QnIuI4Ea5quKq4KngyDfJOg1DkKlkfKyFXJbypEmhVCTVX wvBUwvBUIgVXCaHAlaB8uEW4G+BeAbcM6olCuSi0KwpviHK5KB3qCpCbkAVi IRn7yTbkg9hHtg35/GKNiuxHDXCvgLsH7i1k/5DMpK+xQD6aNwZ3PdzL4d4M 9/1w74FbiaqlJ6KGVJNqrp7Uczxwd/a+yspCFheVSrHHK8VaV6G+po/LBjJl o/vh5qDJ2dDkbOhqKuWHmwDrZKIjcB+F+zjclOCZQIxMIEYmdDATymeyXHKW 71O4E3BzwESZUP/kPDJW2g93bEItFJsFmCxIZUGZLMibBdjjEGJWgj5vgHs7 3EeSz4KMmYOMOYNQVxBaG4OwmkF6CP1ccIjQbxhuG8JT9TVlQPd6uOEhuRmo eTPQ7WbKIYRO4hg8qU7m2A73Hrhl3EG4suHKhCsLriBcAbgEuGAEOR+M3g64 tsN1C1w3w3UTXNtgNCx7IkciZHlJd8nmku0l95fsKTlSojhMWuFaQVaIamSz gUg0GZWuGgPh0TKkw/9m4WMs7GOhyEK76FqmO7lM99Iy3T3LdHcu0zUu0y1Y pqtbpost0w3jlaI9ovtDRLcjorsgoiuN6EoiuqKILjuiqzHiJrwUdOQzLJzO wkIWBlnoxUuHdEj1FG5GASVwPM7cH7ja/2FgmMdD/msCw0qIfiClmqWogiKf 8OcHVvujEiYsRemBp3moAS3BjyIFjohRxcuK5QpRMUWRp8hVZCkyFSGFX2FR mpQGZZpSq1QrlUq5klcSJVJahhMnxAg9u2mRG2gk52nIM9hAaEikY6wEKwma iwbN3Dwyb9F0PG/w2TY0b6Uw+MWi0DBWn3/hoCw0HQ+a5qF5i6c7Bssi84YV iYWD5ZF5g6qG5sa9GN/SBKlBcsMwRosbh3GCoq510//a9SDCOHrtze5k3NRE yzTu5fHNNzch24ZqR7WpyjilbsbXBCuS4YTvpDomfjSVtsQ7eNe8RY2Dj3ib BgspkPA2zQPK0f8J9iApJ6UzZxwkZTRqajyo3kLKZy6kePWWGU3j+ZAA+BkH UYBGLB8SaD4knJXPR8r+v8bOZjVhIIjju7VgqbbYSwkI1iXYg+ITiEXzQSDn HhookliC9laY2EMO0muxD+IlkNRL9UE8+yid2cRqqgeXneyS/4+ZJEw25LJD XIOGlKtJrpbjkq4wjUSILdOVTDfPjPLMSDKjjCmkjNhjihsmJCOKmwOmdgLT OMrsPU1fOyzVt2t8SRukJHpIZXRd1fTR3Hj2Plbij2G9vmQ6X2cVdu/d4cuY Rs//4WvVN2JdNeqJHR7qcUiyrRoJC83HpyTs+ca33bNN1TOcheU1o1y4z224 pOkdceaRsybFsqIjckSyRbEiihVRLKtnyVgy6zEtL5jm6M/puDgrXWICu1Xh aLeVtweZzR2hTKurc8bnrNRy4rKqxVdoJLX77T5J+JaRdE3VkjNJmXZEdcXn mVTB0zeqxhTz1cAOkE1O7AAQDGAANMoOwQRN1lbEv+6A4R30y/L7doerMa3N M7QvuUYXAJwg3bAQJoy8BXTYOf+bTdAzh1zlRvjfKDNaLDV0BxMu6zviJEsb 4CiiG0YXmXlh7BfCRiaRDQplbmRzdHJlYW0NCmVuZG9iag0KDQoxMSAwIG9i ag0KMTkyMTQNCmVuZG9iag0KDQoxMiAwIG9iag0KPDwgL1R5cGUgL0ZvbnRE ZXNjcmlwdG9yDQogICAvRm9udE5hbWUgL0RBQUFBQStDb3VyaWVyTmV3UFNN VA0KICAgL0ZsYWdzIDUNCiAgIC9Gb250QkJveCBbIC0yMSAtNjc5IDYzNyAx MDIxIF0NCiAgIC9JdGFsaWNBbmdsZSAwDQogICAvQXNjZW50IDgzMg0KICAg L0Rlc2NlbnQgMzAwDQogICAvQ2FwSGVpZ2h0IDEwMjANCiAgIC9TdGVtViA4 MA0KICAgL0ZvbnRGaWxlMiAxMCAwIFINCj4+DQplbmRvYmoNCg0KMTMgMCBv YmoNCjw8IC9MZW5ndGggNDMwDQogICAvRmlsdGVyIC9GbGF0ZURlY29kZSA+ Pg0Kc3RyZWFtDQp4nF2Ty26jMBSG90i8g5ftogIfDLRShJQmjZTFXDTpPACB kwxSY5BDFnn7gf+n1Wg2iT6fi/2Z42Sz3+59N5rkZ+ibg47m1Pk26LW/hUbN Uc+djyMrpu2a8RPx11zqIY6Sqf5wv4562ftTb1arODIm+TUlXMdwNw/rtj/q IxZ/hFZD58/m4ffmwKXDbRg+9KJ+NGkcVZVp9TT3/FYP3+uLmgTlT/t2yujG +9NU+E/K+31QI1ywPFvTt3od6kZD7c8aR6s0rcxqt6viSH37f9TlrDqemj91 mLPtlJ2m2aaaQQDlMyBjZA1wjDhAThBAAShyQAmQFPDMyAvghcAGa7beAl5Z w24bti4AW9ZYwBuBB90xDZvalA0yAH3KVwB9cmxq6VNgH0sfeQPQx+E4dvHZ AehTMkIfBx+7+DBCn5InoE/JNPo4RhYfbrr44K4tfRxA6FPgDoQ+jrB8nxJA H8GFCH0K7CP0yXBvQp8M2kIfhxMIfXLW0KfElxP65KyhT8Ya+ghuR+iTZZy1 z5maxw4v5Wuom1sI0zzjQWGO5wnuvH49uqEfULf8/AXgYNkiZW5kc3RyZWFt DQplbmRvYmoNCg0KMTQgMCBvYmoNCjw8IC9UeXBlIC9Gb250DQogICAvU3Vi dHlwZSAvVHJ1ZVR5cGUNCiAgIC9CYXNlRm9udCAvREFBQUFBK0NvdXJpZXJO ZXdQU01UDQogICAvRmlyc3RDaGFyIDANCiAgIC9MYXN0Q2hhciA0NQ0KICAg L1dpZHRocyBbIDYwMCA2MDAgNjAwIDYwMCA2MDAgNjAwIDYwMCA2MDANCiAg ICAgNjAwIDYwMCA2MDAgNjAwIDYwMCA2MDAgNjAwIDYwMA0KICAgICA2MDAg NjAwIDYwMCA2MDAgNjAwIDYwMCA2MDAgNjAwDQogICAgIDYwMCA2MDAgNjAw IDYwMCA2MDAgNjAwIDYwMCA2MDANCiAgICAgNjAwIDYwMCA2MDAgNjAwIDYw MCA2MDAgNjAwIDYwMA0KICAgICA2MDAgNjAwIDYwMCA2MDAgNjAwIDYwMCBd DQogICAvRm9udERlc2NyaXB0b3IgMTIgMCBSDQogICAvVG9Vbmljb2RlIDEz IDAgUg0KPj4NCmVuZG9iag0KDQoxNSAwIG9iag0KPDwgL0xlbmd0aCAxNiAw IFINCiAgIC9GaWx0ZXIgL0ZsYXRlRGVjb2RlDQogICAvTGVuZ3RoMSA0NTkx Ng0KPj4NCnN0cmVhbQ0KeJzcvHt8FNXdP37OzOzM3nf2Pnufzd6zm+zmskk2 BDIhFyAhJsotAVfCRcErSQooVEu8ImAltdZ7Bdt6qfYpAQGD1hp90NYqlbbW ap9aab9otTUt7UOtLWT3+zlnE4Snv9/v9fz929mZc5kzZ87lcz7n/Tmfz5mN w5suR3o0glikrLl21eAZTeFvCKE3EcKWNZs3yk/+Mm0B/wmEhNeuGFx37Ub5 m0sR0jyFEF+17potVwxfvfU+hEy/QWjt/PWXr1p73+WPmRDaGIY86tZDxJcK WwQIXwrh8PprN97wQ63wXQiPQPjgNRvWrLp2xa/rEdpUC+FLr111w+Beca0K wqMQlq9bde3lna+oXobwGEKVmwY3fGnjWhQuIvSdOLk/OHz54FMP1zMQng9l sEIchoP89ODlSZhhORUvqDVand5gNIlmi9Vmdzgll9vj9fkDcrAsFI5EY/FE eTKF/v/4U90N50IUgNPL3os8CBV/B+dJOD8udBbPqq5GocJVxRMsab3/mD4R iqD70B4URqdwFXoFTaBO9ARqQb3oXjQPvYX2ISPagt9AHAqhNvQUiuAAYlAH cmIVehC9hy5Fw+hDdALFURf6LbZAPu1oEDlQrvgJXLvQncUjkEqLWtH30fP4 GrwIpcE/n0nhJLx5d3ECOVG8eKz4LoS+iT7E4eJ+NB98HyEziqFt6GvIgq5C PymehZKG0Wr0JL4Rf4KCaADt4mq5ncWr0Sx0CP0Sd4GvG21Rvas5hK6Bp76N nXii+EHxD+iHHEaXQ063oDuhxAfQBFPJtqr2IhlF0Wx0EVoFd7+M3sNWXMUq xVhxbvFBiH0S/Y1JMq+xApQjiRagleir6DFojXfQSfR3rMNZ/E38DBw/w39W vQtl60Kb0FYYW9+E1nsSfQ8dwVW4inEyTmgtJ0qgJXBvN3oc3v8sOo67cD+e wC+zj6syheairWgv/qFYROWoD0q4B70M7ziNM5AG3sCWsRs5P7dRVT11M9Rw LXoEHUc/g3L8Ftr97+hzXA7H75ivMNuKy4pPFT+EsqhRADWgi9FytAFtRtej b0GvvoKOor/iM4wGUr7FvaraqjpVvAfaNormQtl7IPUiyHsX9NIBNA7HO1BL M5ahFg34InwJXod34/vwOH4Pv8fwTJAZYv7IjrFvsL/h6lSqYiPk5EB+eG8I LUProQe+Aq19D9T3KfQqeh3bcRRXQI3egec/Y2YxbXB8m3mL+S17O7ubO6u6 o3Ci8KfCmeJOJACVzYN22ISehlb4C3ZAGRL4Kvwl/H+g5KPMQdbIimyIzbIt 7GK2n72TvZf9MftTbph7hvu1aoFqleoZYVXhusLPil3F2xDhEjyUK4ZSqBbV A/1cAdR0NZRvEI5hdCO6Ge1EdwO93IP2omeg3i+h19Ev0fvoU+gBhINQ5ivh 7dcC1d2O74bjQfw9/DJ+Fb+Of4c/IwdTBkecqWOamVamg1nH3A7Hvcxx5h3m Y9bLrmG3sSNwPMoeZt/jEMdxRVU1HPNVu1RP8m8IcWG+sFr95tnJqfKp/qnf FlDBXVhRuK/wcuEPxaXFLVD+CKpAlVDS7VDKB4EGH4fjaaDEw+g14N2/omX9 G2awCihewiGghhT0WjOehxfA0Y0vhmMJHMvwcjhW4dV4PRzb8Ai+Bd+Kb8Nf xd+gxwNQt8fxd/FhOJ7Dz8PxS/wB/gj/Ef+NASJmWKDmCBNj0kwOatrKzGN6 mEvgWMdsgGOQGWY2Qw89yTzLHGHeYa1shK1gV7FD7IPs99lX2LfZf3IMl+LS XBO3lFvH3cq9xf2Me5c7owqo2lXrVY+qXuE9fC2/hL+Kf4Dfx3/MnxV4oVdY LdwovC0U1RHgVj+Ceh+6gOWl+bfwl1Q27gbmAxgXEjuo2o6XQIvxzGL2GvZu 9ueqK/ApVsa/xjvZK9mri99mO5jP2Q14KfMSLmMDqkb2CnQXKuJnmN8xp5k/ cHa8mPkEx7mv4eeYDWwrw1O++gvOzt2q+hgh5leokbkJTzCvsreytxZfRI2q R/EHqkeZnyGZO8FY0Qcwqrcz98NDP2WuZHahPq5WdQZdCe3+XdUN0N5zmDtx Ofs29yj6kA0x/41P4fuAaxzDnVyYuYzJ4WeA405hP5rEQ2gQfwMp+AX8Ph5H GD/FPokXMnrorTHGgOth6jvGBvHbrBb1kzLiKGPHvcwpZgn7A/44m8UYuMTP 0VbM4gzQzsyvgK6DEXAvEwOe1g7c5Be4GknofuD3pws/IBxb9a5qF9DZY2wK XYIyKM+8gRphbHwIRx+6A1Wj54EG70QZ5gF0Y3EErwW+3w38k0Hj+CqUxjrg lk4o2zaYLxxMGfDClfDWz4H//wS4fhf+M7oeyzCyJlCcI3fu4tqBMw0A/90F x1qUh9Aj6B7+kOoXqAc7EeLkwqNA5b9Bl8Gc83/g/W7UBOVbjh7jUlBqGTjz EDzxSGE+UuC4A72BGXQTlHkOjPNebj5w3vuKV0ENr4Q5aiHMia+jK4v3o1bo u0uKtxZ3oZXFx4qXonVoUfEp4L+biwdQHdqu6meWqpJcLfDY1/FRmI/+C+8C vj0f/Rr4UQRL6I9wfB/KP0f1AtrJ/Qp4Z3PxruIvkR3aowxaaDXMoifRtejP 0G7z2QlUU7iI2V/sYAdhhvoAXVx8shjAWrS+eA1w3h+gxwUV8J4R5Fc9DrSL lLlLFivNc2Y3zWrMNdTXZWtrqqsy6cqKVLI8EY9FI+FQWVAO+H1ej9slOR02 q8UsmowGvU6rUQu8imMZjFLtoY4BeSw6MMZFQ/PnV5BwaBVErDovYmBMhqiO C9OMyQM0mXxhSgVSXvE/UiqllMq5lFiUm1BTRUpuD8ljx9pC8jhefnEf+L/a FuqXxyapv5v6R6nfAP5gEB6Q26X1bfIYHpDbxzo2r9/ZPtAG2e3XaVtDrZdr K1Jov1YHXh34xpyhwf3YOQdTD+Nsb9zPILUBCjXmDrW1j7lCbaQEY2ykfdXa sd6L+9rbPMFgf0VqDLeuCa0eQ6G5Y6YkTYJa6WvG+NYxgb5GvpLUBu2S96cm dt41LqLVA0n92tDaVZf2jbGr+sk7zEl4b9uYc+tJ6YsgZG5p7dt+/l0Pu7Nd ulImwZ07t8tjey/uO/9ukFz7+yGPMSbSMbCzA158FzRh1yIZ3sXc3t83hm+H F8qkHqROpdpdHmonMQNXyWOa0NzQ+p1XDUDHuHeOoUu2BA+43cqR4gnkbpd3 Lu4LBceaPaH+VW3e/Ta085Itz7oU2XXhnYrUftFcatb9RtO0R28433P5uXvU R5MTX9cl59oVkxKFFgA5jMlrZChJXwjq1EAulzegnWsaIBn8+jE8NbYW+uPK MU3rwE6xEeJF8vyYKiKG5J1/R9D/oclPL4xZNR3DR8S/I+IlVHKO0OD+jH8s mRwrLycEIrRCj0IZ59BwtiK1eZwZCw2KMjjQfKgX2nZVf2MaGj8YJN27a1xB qyEwNnJxXykso9WeA0hJJ/vHmAFyZ2Lmjn0JuTMyc+fc4wMhoOODVCaxj6mj 5/4m0WFtX984hh3/H7cvL93vWhTqunh5n9y+c2C6bbsWXxAq3W84d2/ah0s3 oMHHuAi01IIQkN4ly/tIBPxVkY5Q+5UD82GoQRnHrK19rIfpL/kYD0uzAvq9 9FzOJNCnJ3lxEZ7S/9pxQQ0ETGOw3DEmDswvXfu1weD/8qHx4inyFHW+eGy6 TmONyQvDsy4IX1A8/U4WCsxFma7Fy3fu1F5wrwOY1c6dHSG5Y+fAzlXjxZHV IVkM7TzC9rF9OwfbB2a6f7z4/C7PWMdd/VCJ9bgRSJtBc/eH8J0X71fwnYuW 9x0RQey8c3HfAQYzrQNz+/eH4V7fERn4M41lSCyJJAGZBGB+g1FxgFHT9J4j CkIj9C5HI2h4zThGNE49E4fRmnGmFCfOxDEQx5XiFBpHfoRTtC7uO58G6MDq ryAzO4O9gFS8IFCzgKG79zP4BeaHgH0F5qUDSMWNMz88yCKtQDyHMHKpedVL cJ9BLE4gDb4aX4akpPhZ01TTReLppu6pJtQMfvEsXKoyQXPQHIEL9nLorMxO nFVU6Awgngl4vq14klOB5BlAFUzXfoaUUImmFVFkliR4yWBglvBqkwmuehLF I9nn0JJYh04eL55WzBYLs0TWW61wpakh9nNFT56QJfKE7H2e/T3yFScOayDk C1jG2d8rolXRGJklVhuKRDRCKsWi9GTzZPP7yck0nDidJL+J95NHxQniP1aV SXr287Rsl1jgKSTrWJY86h30YcU34GN8AR1ko3PoDQZ+iYMTRZ6U0EZcmTOZ 4MqQO7KcrkzQNLRygFb5dKXZkksnjyWpA689lkwiUph8/ljzpMWZa34f3u85 gtLFiWfnzatNjxcnlLnJytqB9I3cjaqd3Eh6X3oiLSjpkTSD0o5ye3KJaol6 cfI+AUQDLKfrtfO0S7UPcE+W700LE+lTSUaWkRx8Hhi9rnhCaW+Se+TL5Cu0 18hb5T1oj/y0cER4rVwXVVtj+haL39pm98UcLV6/ry0Aj+m4lJ22WiCFU6kA qwsgXVAPE/U6xWIfcIw49jnYgGPUwTj+lOjloazPxitrifvcvCzfWtm6TUoC hSST3ZNTw3mgDvIDWpkchiqbnTnx75Nn8d9RyanKtG5R3NEkp45FouqEjJIc XOJCRMblqhSMpGQSQ4vdfDPKN8APD+XREB4eyieT/f0Rng+VRbO1lppqZ7Y2 Gg2VCbFIjdnmcNRU1ztVoay5koE43m6DCOZHrSOd9534/D+39JhkyZ00YHOF KejwVOgKpyr5pjXpvvYVY9esWNcx+8yrr+J53d/95ny3GBo88/5j87zm0NDr +N22wVzP+h//5FcwHGfDYDIBRdvx10r0fAQ5i58pPkKdNj2PBawmXswRIsW8 Xg9X/XjxbwcJEYPnjwdJFHh+f5CkA887Bwklg+e3h8gzetWLQNJqOAVkBWrW WW2KhmRuh4g0UHH1pDg5Q8VATUDGR8XXzqPhmNVCCNNGydMKjyEkYEqVmCFR mFIsKdSpgyQMntMHSRSJeY6k0+udjml6JS+At1Iqhd7wPDfqnHCecrJO0vfN HbXEVRpzs2qx84BhbV2vEyvOXueAc9A56twLCQV9wi90luGEn4+FbDFDi9Vv a4MiCbwW4bBBP50NcRV3dlbtqB736vGAflA/qt+rP6VX6Q84DnybMJ/80HAy 2URZT3MTJaBkEsqUx0OY0Ake7u/HlADswWx1XV3WPEMW+Muu2nmF5uZKtzEg ueNmbFbdfaZlaYMvHHY3LWGVh+eR3oZuRQuLJ9lF7BiyIR970zS3iqsd0IR6 E3QRMlLHqCcdZ7RngDvLIAUxCIlExClOHLTaIBWpitlsBh/SeSJmAQmiwAjk NnmaeA6RdMBsoeuJDzw/eY5wOq5KpwPmAF2aTOaBO5AeyOfztLPfT06kj00A q5juZZ99BO1FY4glRVCArdNClN6oJi9RwqRzRUEWxgRg+gPCiLBX4IR7uG9x BziWvEqAqhEuGyV9brMF/FBP4oXaAjWQ2oJjdJAoozHgL1HE+8DDSizt+DEo a/5oPp+spmWFkhJWprgsK6W8awAN2N5hVS7Zm3PC6VC8uQAplba1s1YdaDXk 6wKUfcRrafSi8spaD+/S9Fkvc6x0LpdWuAXManhBo9ar7Av4Hcxd/Hb9TvF2 37eZZ6RD1reZ90y/Fk8z/81aLQPCgHoQardD87LwY9MpQc1hwXAbw2oID+SB B3bWaTqYeZqewGJmsWY1M8zssO5wPWj9juY72nH1Ic2Y9kfMH5gT+tNam/q4 gJFwXGCGiEvabhQabUzghZs4G8o47KSoVkvOstK+zb7H/oGds9s9v+Aw9ODx A7YcOB8fsBLnXWW+JUfa+FIPJj0ivKl2xD05kwNvcGxz7HawjtM224gaZ9Sj aiaj3q3+QM2KakUNNVGPqU+oefXTRjuHdhC6YlOKJWNUjL1GFhlFo2xkTxmx kZREA21pbPW3dpW47tDwcPfUUJM4lR/KgzOZH0qKk9BHw4SkksNm6KLWvgMb 7DjfTwaSeDoPYypHxhBqaEBDedzad5BHmGGG+slYoz80DLDtCBLgbbpQTq9U 5AxwquHtB+I5oeQQ/n/AUwp5SvemQ9pSSFsKaWhIMWpydtGVc8nmnAFOyuZR 8rwfoBkr7wTGXVfvJHyeoXzeYY8EozEypvlf47Vrty+/vSJg/8kDj//pr4cf em1qO35KJbrW1C26lZn15saNa26w7fgdxu/9CQtvPN3YF25QbgbevbZ4kvkl uw9VcbXToztWoxC+XKPodMwSBlNMgSXKuk0etzqmJ/GxoGm8eIJyaRMZL9Xk vqlKUMdMQc6SVOEtKnyNCqsiaYxxueC63o/X+LE/IrvxgHvQzbgtMKphnEzm 82lwwcmTiZ+M6mMwjt4+Jr5dQiHnWHh10BRTc+UOv6VSxZRXCaVsXJYuFb5a 9WUVo4qUC21+vNa/0c/4IxYdJiX8m+ImQ9Vkqql2q43Eq45ZiBOL1VRPo5Cj JfcoGbl5copHj+abxaOWHNyAQpHxm9CkXCnGYqlUdLlUXJeTbP365dGHxXvD Kq2gjWsTAzWDNSM1vKlmHMvKdhjJbxjeMB4NH438KvRO+L3UR9xHoY/Cn6R0 luZUPnVdxU2p3Xg3s5sdsY+4Rzwj3h0VuysNJmxitKxGz3u1qR+XvR5Se1mH zeJ1+FwJT+pBzYPah+Wvh74e1lmShniqM9VTs7LmhsQNqTuMT4X21XzMfuTV J9RVfvQi48cBnMYMHsfJA+jFynHsVszlkt/1osfvDrix6Jah5chN14sOcrPM YgmHDDrOFKOOyo9/hCrT5VUAj6FR3V9xuaRxtkOxOdKkYZk3LRhb3gp+EPxL kA2OszZFN2jCA6ZB06iJNY3jOsUVc7sqA2qsTu2J4YHYYGwkxsqxTIyJPQ+z QzWW95dGJwy17snh03R0TpFxWAzCOMylYXgdKGLwkpF6Eu4DVG0Sm8ST4qQZ OgSTS2ufog2HQmGDzmYw6LYbK5PGm8Sj/RISPz09mR/G4uTpyZKfektEdLBS 1hhqUbKf4ixvPBGQRTMvBMxBL+YTai+SRb8XCXGVF5eQ1s3ww1AyRXNG+Ez8 zHwmzuX78TAaQiTStQfvYfawe3QPGUbto+5Rz6j3wbL7Q3sq9Pn+fBIPIeAY kEyXDqXDu1IPhx9OqfL9UDnFHJddOU3clcOKNsfA6SmxBDfhBS5trhKiUvTU 5PSi39JslMkFsAhwEeq4cuESYw2VHAALHx+25lKStZSXpZSXyQKvsMArLLmU bCHPnFJMJkhmyrGiAd5jIBmcUiwGeI8B0sApmel5Afv5tx+0TT/KE3gRouzH bnM6nE6H3Qa8KUYwRshcQ4BnHSDRcAxQaR2gUsq+mNFg9PpLO5bKgZX3vPHi psXXBO1OQzDofXR1+7JVhd9WVDz85bruGrNo0bP7Cj/++lWdFQ3xROW8Nd+6 6UG/1o3n3XX3xbn2y0Ybc8uGHnCajBLwMFvxr0wT9zLy4KlpHhbxKRbgYT4q Ven0EkESersVq6zUazUSDmcFwekg4VtWgvYIgLGStqBil1WnTpkcNm4cew4Q ZWnzsanjx9KTR6cx5vsT4mvpC/mTy6mnMhC92s/zQ398TEGle8bjAo9Coeig DutMHmy/0oYX2DB9nQKkCO/WebCKQlOVmkAOFUUhKijgn2kWpKQUoILnXxSg Wq0+7zRABTySpEikeep4Pj8hHhOP5ilUJZMXlPgIMkABWvS5lXglwzT7HjQ/ 6HrJ/pJj3PWxS9jjwzvcuEffY1ipX2n4u6TiJbsUk1iHXXK5WUwuNs9ezNoz 06VlMwwDoD5LCu14CwDAX+ys/XKb502kG8efKilZj/WVad8YiIwIY45ThW29 VjxixcgqWsesE9bj1hNW3jrgfWbHNKYlEzE58qfzgOuBTwDAnTrZDHxAnIRb JzGITQhOC/BmMkcPDedhqBFirLGHzDZKZjVUGopmzaFsXV19XT3ufOedmnhw jjkWGmmr7Cv/Wv2XKpwJ7uXCLzqmvt8/JxFfvaZm5RpmfdBx5fzo5UQLZgD4 +xzMjHF8aAb3ltOZkQ84zTEqy8SkADZT2cZMw2Yq25gDJemBWQKezyhhgefP ipkQVsBGCDBACRBizyo6mhCLrORwvQASjoSiIOEYe2IbYttibCwuSHpWAPoD MQdaY4oAzdw0FdKOnhCPvpYEcefoeeJOiGQXhWc3aLZpGA1kIPFQUkpDZiqq kzL+6yAJB4j8RSiJeJ4j9wKB8sQXlAT5g7Bz7Fge5B3ybjIdbpAZ2VTNVJsU RjHdwglKOV5ZjgMJvxQrMyf8zjtCsZjcEvXH2pBWV262ySLmpBEN1uREIIZ+ FrC35NSu5LHCY74yUI7LkTkcCARkPCKPygywYXlMnpCPyyp5IPHEdTOTRVO3 CN0/fHJomAo84uTwZN5M54NcblqApvLP8BBlTfY6gpAIRyIMiRfMwKNKohDQ w/nC0MIvbamfXxsOLbNb7BUZq2HunEKyo8ylVRlC7kBMi+3svp/+tDUVq2u3 JS4rLFgY84TDYYcYMvfiNXtne01hKiktKE6yO4BeqtFsdsE0xcjNCun+Zko3 do9QGVET9BSh4lIE6WsIw9ERiqhxUNAFEi8FVTUEVNkJadTQtDU5gbpCRSXh 67IGHqmsQX4ukcrU6hUNZKpXfD5yNVuo5Py24ieJ9Hpum4QlGivRFJIY8QtN KY6uABGpqtTVgLumSEO+nTwG5HVsekVo4n0iTL9d4nTKBp13Zw1jWVSHLXIg N9L8lOawlrUkLTehm2ruQLt0u7K8z+JoFJtHmjmNd6FqId8ut5ctbFSad/jU WqMgo7IFuEu7QLcg21Xf2rhg9jLdOt3tmtu0t+lMix23OphA88pmZkBdg2qb KhMVtS9gD9IjPVnKyukBdpVE4sasqO/VMwpcBvSsTJ3Nek7fJBEhI6HL9Ugr pQ0Sm5a2SYz0lYCISY0zTUoTA9UerBipYCqy0G4E05g5XeVEBa4YiKAag15f WwsNf5Zy2JoX8DoURhHyRmMORQKRkchohFMipyLMSARHRJIo8gLTigRkhxk3 kLOTJSG/J52rEhRjThZ6QQBjRQGfEnCvgIXWOa3nKHk42Q2gJClOJYkI3zSV LDG8JmB/wOtOT53Mi5NDIKUAMEqac1TMT6ZLg/sAq8dA3oCEcqXhCEhmXnaW N6Sy1jfUNTC8Rq1VM3ywTC5j+KwuJyOzz+pFFqspYPDistAsVc6LGtS1Ms7W 6ixe0YuNZXBp5Ju8ZMqHQsDkDhf4J8vLywkAGgYoMwRcloCeA80WAGY4X5KC DlZBTYEiTxwQqXPYmKuXoe4ElOiJcwKkiJwk60Dg1eW8hNrdupwWurI+Tlwt uFpwNeBq/g1yEIQR4YXSslY9sHEAE3QFy2krxVFQAahjepGrrt5O4mMA6fjp Za55Xw3XzV75ZX/ijU+XLWqORJl0NJIe27P1ollei9ZpEvX2psErqhrx/ame tqUNC2+71uy65arWqrYbloZ3XFFWlmqsrK6tWDqaCMxN3l54/dZZNsHQ1HBf 29dxvsmVGsjNX0lG/qpCh5BS3Y3mosX4feWqJ9ATLZ+2sMiFvKLL7u11LfFu dghYRPGP0R9bTiz9rJ3r633C/oTj+FJO7pUvli9ZKXFBJGPgqj3cenQ5s863 HXFb0E50poXdr26ZO7dmLuq5pGpuC4M4Hecu72mpYbhWD8jBcxWNOAfPWY9a cSuEnptr6oiiuYL3BXYuvN/Dzju08OY6f4dznL1YqRM6KmvrtJes4xqqqpYs 1XWUN7v/Q/YAP/ewHvfSXINpwcgCZsFT1ka5LFOmlPWWcWWuJUvH8XvPBh+5 TBrH9bcnkxedzndPTuUnLwJSJTRMJoqpDwnNnobZ6SPxw+bmSfHv+an8hxSq EyJ1EkIVX98uGpsotc5q66qfrcrMm98xv30+y89qbGpk+FRUE7FH5Yg5Eo7G I4Zo2+wFG1FX/QIf4tOcD6krdBuxI2Adx5ueRZIPpJdNz2Gvx+UWIyRO8SFj DFLMb2zdiDsbFvqQKiP4kDYpbES2oJM+5fKWXEsIhJRNh7A+YdqIz5EcoCMy AC8kwBL5D+XJr6EB5YcwO01YdZZsLRMOlXGM3WbhamRkrWFQsCzMZEULqqnm LHYbM023M8uy9WQ6ctYLZCqazoRMQ7VR1cimFm9SXnDsnscLvzj8h8LGP7yB B9/GAv7uxsblhWjhZ38urP/95/ilM2/h7u9/++yOhd2Wew+0zbvuxUe+tKK1 Xwy+0tU91DtrXqpx5C65YQH7w8LQiRvCcuoePP/AM7js4b8Xaj//qHDny9iN TYU/F773O/zNz7Eav47xM4XnjjxXePA781saVjx71barvobXDy1qb7/O2rPx 1dG+5p6+5y7ds3buRYgp/rPQyT4Pc1sM5Ziy6bktMYvOatXacuJoeTJZaSWr C8lswkpBkVWmk5pcghrUc5biIqrIMFBlBRtPWjgj7yY6CydZ2pVcUmXEWNfP CzGiuNAghagxEAYM9H4SZqz0ZDotTpYEwXQJBE0AGgcAlL5Ab3EEVRfPHiII p1pL+A5VPmi1sxqhdBQIWSm8tsoljMaTQv1Z8VD9hQyp4rwxhrDLCIXRkdKQ AjQTnYlYwkH43Nrf8enFvySBRl/RziILeTlxgbhC3GHm7kjhWanmWV2pFamr zFelvqTeYt6Suk39uPCJ+p8aQ2ZWX01/7TW1nDILp9VsPGGxygm/644yK8FS IRQL9sT8qI2xJOMsVynWYVISRiBlcknG6qqAdlTLDGhHtPu0rPZPMmMlU5BH lnuDg0FmJIhRUAyOBSeCx4Oq4EDjK10zAJvgqKn88CTBUZNQreFziohkkjWK REVBh6qczgoGdaQ2qo9mIlmhWsZpA1xqNHUyrtJVnlNIUJ0ExeFDeQDibKTG XkeZs90mUIkwNrMMXeOo/2IhWlWCZNVkGFCpkWewOzpvd8/OS4fuHHy6sy5e 7cx1FWRXfcxqF0N+KYJrNcZrF62dc/GlSl8mHWZzw+9sWXXNbW9PPrzNbqoo fHJZjT8SwQ5d1Vp2dX9GMm4rPL0h1Nh30RVHfj50kUSMdVFH8STbCbQcxH8/ oObwDFJj3NMKN31J+UYVcY6ISSMMkMYM0jVqoOagD7AVXaMGz08OE+zmqyLq NLJEnW8+WlJDHDtKlqUtIQJYvlReUYtChCqchmUqxmtdzC1SLeIXC32ePq+w TrVZNYJGggc9rwLgPYE+VGnq8Ty8VFriXRkakAa8m6Vh707L3dZR86j0BP4O sy/0LH4Z/0j4kesT9UnvH+XTWOKZTssyy67ALnkkdCokmGX8g+IJJMMZgKkZ +RCBOhkxiAeCI0GGEIUc7A2Seo0G904TyIngqaAheIXvAxM2/cgR0QhQvXcP 2HLEURosOaikLvhmQA+i4W49o0+LdI19AA2iUTSGJtAJpCERDHr6S+5b3Uyv G+9xY+DTesVyiseIF3mZz/AKr+Jby1qPMF9DFAsND3VP5oeHpobygOon6UJ/ 8+TkEAVJJy3T4ox2kW+N70s+9us+QD5D/YB5iO6Lar/yeJiusgAUQaJE1j5O HbbmVKKYw2QZRCQYZGK/WIIWmMiIQ3h6/RTNSAexaLREfJQpA4pgOyPv3vrI xxgf3P79qtQsv1kXCs1ZO/vix3asvqi+Fl966D8x/8G72Li7O5qO2jcH/J2r H/vOmdbKLSWpkf1vwAJ1zO5pyvI1KIRIRK1ZS7miVgqTsOQmAWlmDUIiWIkS oERlQykK4pgSIBHRYG02VoGDHBEugzSPYAVdx6ggnJXEVswImhUzoid4PlVM 5PEKml8FljlTixa4rAXOCJxxOGOoFnisKUu1adk6FDP7UhwwOuCxhNsCn/30 0wvlTSJuVotHkzO6tgsFz75aqmfL0iu8MVYLmZIszTEtZbdkmoArZcBaiUZJ NEqiUZLUUI+DNDpIo4M0Olgxo5irIGpDcgM8Z+m6R0VFQ/156x4TFyjp0kSt PC22ElWdkm5QyrPahgEYjKaIKTrSMNrAjTVMNBxvYJM87m0YaBgkUUoDltVS wm8eZ02Kuawi4Y91lmkTfrEzFEz4o+OsUakMZWOVLbX+bBuWY3WI1hIoyWwW tS4prBnV4jEtNmkHtXu0b2k57TjzohKpQMFwZaCit2KgYrCCG6kYrWDGKjCq ECsmKo5XcBUD9U9soyx6ehFkquQClybYBOrSZM7lptk0kXSBQ9vcXpWaj3ii XpXLiwW1W/B5cRJTJENZMgwRECLo6kgdRSAELk8LwmShZIYZE/n4nHh8vnTc veGWlosGPVajNqMU5tiVai0baMtUXdVpz3UUGmeHbJIp4Lanjdiiuntq9db2 pZcqTxd+sEyWvOFwLCpehNvuuyxd21PwXlYZCIet2oal7OySNplw468VT+IN 6BWkQ0nFixRexyoapTGrUZqzKzV4j2afhtHcrr9qK2kWIgYRHlGVicwI9iAD YJRWWiorW1peodfKtEIweTtw+SPA5U3Ix+inR6LXpuepXpmyeD1l8XqRCOR6 N0cGDrlJPIqVRHI0GecEmV2MIDIqmqeZe0le/kLxqCH3STo3edhDyNLN2Sjp 2vQi1SOLVInMUXmfeDnOr9eXFIhmIFiRUKx4jNpBTBIc0W4ZseMnHYcdr+LX NUd972l4yx+0eL6m3bHMfju+S7PD9J5HCCjVWY4qDvcE8Gv2192MEsAL1DOl sXBk+kladM09HFY4fJxce7kBbpAb5cY4nvsUmLOuWdHvAYZ+TmdGZFNCgMmu sfiirrHei5fv1/sX7A9wCy5Z3vcikcYRB2egOAFcuL+17wfIzVYjDtnY6k/E TzznBYF/9E9XCCi1DvssEWOUiXij2ggfNZtsMvJht4wdGvBJAvisBlHGHhYu dp1TRi4VXKbB+cyPSqNAB0OY6OYU8yZmE79Vu9W41XKDY5O0yavO98OsQBbZ NV7RnPPAaYdG36+jU0A/DAOKSnjK94F66pxlBNJb6FJ1LMqg41+5evNb297a uu6mNxdlr56755ZVX7lyHrvv0e37vnx25PFd//GVf17f0vzojT8u/Hbvf56+ a4BYD80udLD/BbQ2Cy1A/ez9yi0WR+/90QfrWBjZK5jN5ZsXMaicr+Qv2SVz zfU9KzbUb4oOrtjN7Vbd6rxN2p3dOefW9t1dd/R8w/kN6cGece6I6qDzoPR6 7etdEyuOrzix4tQKj1u214hZW11ghepJdWddswc52Lpgpwe5Wr+wZdVYrTaN eiSCLRGyjmQBjBIhCmWbvpm4ig46e09kX+SlCBsZx48e6ksCRARg81vFQNJa 9gT3BV8iOp3SM9SFR4KQVpFGO3GnArGdhGQ6U2T66ey1Yds4VivWDWq8TQ0e M2SjzvIPUmm0StG7OrVpF+51jbgY14vMzxGPNGw3aoJbWl5wXYwvTqVM3T9k M4Al/HDNoW42A5NeBm/I7M7sybAZidgHZOg6eiabq2RHFuPFpG4GGJng+clB 0UY9v6Wzw2IyvLQGGG+LI4E4jpNKO5zu2t1x3BMfjE/Ej8e5uJGkjM/Mk3GC +i1k4Mc3ySsyK5QVe6HNVSvIo16dvnaFcfd9HbiDrvZ0VMkObHIMOt5ysA6i XKQrug49MWworfU7CJu3PtiMm6sybC/L9LIYsSLLsKQpXb5a6kKuLHk9mZaJ 5zlSR/bK5SuexzcAKtXu3yElk58RYodRODk8RT2TyeGTYnLoMxpIDhPtdXJI PHkagsNkkbyk1AYBfDI/1CxODounk/k8OCQ9JM639h0kKjsm358cPj2ZTxLN 1MG3Ih9EIGaYzC7Tcjo56YLqzNrS1q5lje3hrNfnlLAqGqmuqqmqrWL5lmhP tDJSHl0aWezF3ll+L+rKdstoLm6W0WxVsxf1VnR70SXJxTJukzq8eElsmRcv XeZr9EByzyy0sKpTxl2d2TqFaZVhHpjDNXnxRemLvWhR4mIZtTtbvYiOfboU 9cXlfF4AAjrV0JElqjxVBNBFKUVbKQKNgiRO1qRO7beUhj6OTq8YlSZBEEz4 UGgaAVKp3kmPcyILWXKCgz6FSxquaSaB+fNDEM4uXn5s760DrySNLK9iTcnr G44+3jYvFQhmvIM/nZ3fcNUjZ16+vUtnzgora5M5bO9c21bbu3B1e03h83Sm ce2LB5+pqX3od/iixNf77zyqqHiN061V8fMHRw7bojmbWRY4VqUxDF4ytOae ZdV1khSZq1kTqAqELmO2b9766LK5w1v3LJ979uaavkgmPGfb/FqHg+OhTU8B c+JV65ED3a/YFGlA2iudkDgkKRKzGd2BGGOLFV+JW5AG70VliKV+NfhDMDF/ jkz4SuSAGIT/phgxjBUNg1UatZ5h0fP4H5B8gWIxGgEeZTOmbaZR014TZ3I5 n2fC+GQJ2+eTTd3i5EmxZJ5E6SqHzq3SAy4ZyltLBmpOQB1zGMAc1JZBOIU7 g9amSwvMQINDK0Tckbncjx47s324wc9EIoyvaivzm3vLZX+A4Ae2eJKZA3ib RZcoGqR6I7CuDmE8zsYUA8PaGIZliaWnDo3jgGKT2Qw7wA6ye9kTLM++gP+D eYMbxxv2f0DQxeTpPJWHm7arKpM3UViLcQgzcwr2Xvwn1d3/Wqp6miCLvuLH 7H5oVQnF0VmlfJNms/Z64y2a9yKfRHiexTexW7mtjtudXJM6DsQQcsVdPCuv BO44jlsPy1EgQxMex199VkIqeRzzz5oMGBpUQSFsAtbqRuVKOaOUD5TvLT9R zpW7nsdzkIfcIuoy2ZqxKtZR616rYHUlnsd+jGlbn813T528SMwPfdY9ebqJ zLlN1PxocnhGXz6tANfxHp5B+ZICPOWNaCw+r9/L8OaIIRrRhFbjgOhZjYJG 8IW10dXYa5FXozI9XNC5ebicmB9C52G7kRVKOpbSiDHXWsJ1Nbg0lkq6X8CV 7H23Pfntq8OjX9v15rob39y16of3YNPnV0+9aZnXUbNg2Y47b4ouU62PGHq+ 9aMda06MPX3X05c+i32H8fxC31Tb9kUDv5ub/s4Dz/yL8IgU0PMz0PJ+vF65 RZB0OafknV0rKXBxkYvJ73AkhCZhgfBdgVfkFdxy9Qrnculq9UbzRssjum8a HzR/T/c94+uq150/lt5zviedkP/J/dNpt2Mf51J57C6Hy+mTBI1TJ+l8ta55 rh3O3bIguRjG6XbpXbyBdTEqXqLMw8oZxqEYGg2ZE4lqa5ytAflN5d7twntc +2C+e56tgUHy1Wcxo/dDfysGxP++x7rSusG6zcpZx7GgWIktsxvJijwiswPy XpmRXS/gfwItG7Ci2FYyG5htzG7mJeYt5gPmL4yacQWex3dPd/npfPfJpkna 5/luqiglRqUgMTQ1Tw2Vevu53Rr8kuYtDUOk5uTJaQ5PuTsjThPETa6vughB GJu2i6qbjhqB7Ok6Th5TZTFmg1mESh0phOpmeltghCBZvmSfWXn2BF6F5Uev W7snGnG99fDj72c6n/jnHLz6mmUdbqwqnIngufiB7978xKahI6+9Pbpu3bcO FU41iFUVMJI6YSQ9B/0pojB6/sAqNRkOB1QqO3EMBvc4oXqNG0WVKKNEB6J7 oyeiXNRMoo0r0Qa0De1Ge5EKuSJfDASyOj09Dr5AngtxOBQuCzM8g1nM8ELE 6/F5/B6Wt0ZNEV1UcjldDB/kzKtRgHevxjYj+Bx68IWxvBp71HCxiPbVyKWF yzk8Wk7P8vKbraW1XafDTNd8Y9F6sWTqUGem0wNd1+q8a+PygUdufPjOX6x+ 5eZrj7bnhuo2+isz4VyisS07v5Z59GPcc0nLnlcL+z4tHP7Ghy//o/Dx/m+s Gv4ezn388JcywdmLCo9Ai8kwAo5Ai2mRAf1KiTsM2ITaDYqJVUy4XI/tAlQP sxoVjzm9zoA4vYEjK1nj2KtYBLVNENRqlhN4vRoFDNjwAn4EEJkO71EMKsxr 1DyvVnF6PfcCXgA0qMZXKDqNxsTiPew+AmHwPxQJN1OSJfY+e00nTKyJVwQs uIzn0eVQE6XJJiBK8H4kEvm1OZem6q1JcWoYZFgzJcLtlUkO+CzxmkwmmBGG iag6jO0hc8gczOIacDB75PDjU68wm657vBDGp+8uPISvGGFvOXsX89jUSsL/ 5yDEjZE93OivSuNyvJxZ7lvuvxpfzVztu9qvTgebgz3BB1T3e55SPeERGOzz OwIeMVimCXhMwZAghVCAEU3q4DgzoVg1OIkUp7HZYoLsetE+kGLGmbjiVmt4 gtU0VB7UULFRU+Z0BJJ+artHnkB+0b/Sv9fP+Z9n4shR/FTRUWxIF3kAFU48 K6/Nk1kmmTwNWOwI8hcnDuiyJIMDOlMtwJMkTJQE6jWdpvZGSNFl4Zy59RGd maZAqsfi6+Lr1EAxj60hav0XIgJ9TUmgJ/I8ITgYrVbuMVNUZw2sW/ySJ9qT nno5szTs+PbKeG2nEBVVCwuvLA431p85fVOgPBKplYc5vdF6zaUw20Cr6kGi Oc3ei6rPrfbbNJpkOYtuiOGYz8LbqFWgbZz9/WEz9ZqJl6FehnirqbcavPuB xJonk5PJT+FoTh/L04X7L2RnvyaJfDYzs7UaVyMLj/jQVvIOk81Wg1BtzbSA jJrfzx9tbhbfzx+ny+2ATcfErsUgj3qKnyNX8RRyA9LTisQqvt+jPKMhCNCY /EaCsdZWOtbW3aq6nWc0GpVF7VK7NUmbO6oJW8LuaLIB11mynnmW9Zr12itd V7jXeNanblBv0W5xXe/e6LkhtUO7w/UAekBzv/u+5AvoeO2HfEijUSeTqfJy LVYzfmx12fxWlKr2I4vW7LdE1bLL7c6Ua22QIJVMhjVqG7QcPFLu1nBadQpc l1ajVoesFgsMGT5GaQhKG0uHcj5TrRPmGiJTeXZr8QfaU2R5f1D7Fy2rvalZ 06NZqWE1NwGSMCq+5DsmGZvkPTBr7F6ZwulUc4pJuWpqvxski0hEUTfcfTI/ dHLqdJ5YtU5d1H55G5ARAIVkaT1pBhpsV5eM57YbK6Xk9ICUkDiJxYl/vwqi ukndVDIyT5JZor/fGrSXLMCsVgqIo6Fs0A4EyAuYP09PSzhiPY4SjhjT42fs FRXBD46ZBXVZEpdH4pLGVdhVt+/iWQvrM8FcXOufF24pPGcKukRnDXtvJOaL tReq8b8ScYtGZ4hEOClobD573e13tqXKaxymOf17mGcDlSG9qAfqHSn+jlOp rkYNzDLFZflGChPLSh2LTFwcJVTJHtzDaMyN47hDOV7XUOdmPdxKaaVrpXul h1cZVEZUPtHIbdRtNGw0bjYN+gcDg+nBzA71Hbrthu3G20zbk09xT9WIFkON odaQ9dX4an3ZNE4zFZzslwOJREXNHDyHaeYyrow/EwDWXTs7O98wv3yxbqlh mbg0sTTpC+AA46kJZD11i6XFrsXu/upLay6tvTR7ad3yeiOr0yWsOk8ipJMb ZyUyjcOWYeuO8APCA+kHM0+lJ+Ivl7+WnGg81Wi7SN3gQRsYzz78FmbwNozx 82ic7VIM2YeqYIbbEPD4/c/7SEyt6yEbTFdNeqNNrzcm9eVGLqqhDh/CUwjx 8So2FLdpmO9hxV9Wi3EAYOo4Dili2vySmfnAjGXzPvMHZtY8zmx/LvA9f1Ik iAcSBPZU4pcq/1JZrGQrlXlZpfItCLCoUq7MVE5UcpU/wB0ohzuwND0755Ml m08CVIanhnPpZGmebjrPtHPGmLNky3mBJecQ+EuLSeGMYI1HdSlNDUqYojU4 bIWLkIGgtkJfg3T6VDImltdgkzFRHrGEapA6zdcQde8XwiSe0VvlYeYhPHeN 7grDOnFNksv3E6OyJDXzBHlSr5NMOS5jytXAWZIlzSGymaZk9uhnZtQIFCSZ a/xMCfzGouHo+dTPPhOx5L936fo7k3M++eGurr/8YFZt4D/dLp8Qibj7Dl1z 09fqG2OF73x94Yn/uGZLg9Md1KquLiS3771s28VzarpuuuLaey9+6AONqtmf xj+752sDty2vviLl/8+Ndy2+5xdZVyBN+Tbgg3+w+1AN84tpvu3MUu1DhqoW qujVqDY5QkS7UElCIV84oaZKBTW1YVNTGza1gyoppucvutvMMbNk4pgxUnKQ tZMoSe5APvqwj2bko1n4ElRHkaDqh0TJcJF6TtFcEjMqC/D8S9GSJxLIy4Qz VOtbRbW+VdWGH7K/RyKcZSWthaIJm8LVgjvF0PVYqgr+9FPx/eTkv9nFTfuJ IoCYx83YyH1hsXlZ2kHXlejKTRX10wJUlfI3hdV0BVdN1RFqqo5QO+imNgeN clDLTIcjW4t8NKWPRvjoTR+tKN33NqO7AM/fniMpEols7f9WZZH0KI1ZpTyr zhKdRSbbmx3IDmZHs6oKDivUPwKhsSw/lj2eZcayeAAiJrKsT+1I+E0l9UUi 4Q93lqkTfmNnyJfwh0rqi6pYeUvGX9XmRaHqGlrjcChkMhm1TkdYGFXjMTU2 qQfVe9RvqTk1WdfyJGp84fJAojcxkBhMcCOJ0cRYgkUJMcEk6NYLm6M2MVBb UmEk//cqDIvkYnku4mKdXgzilco9o8AgQ3MI/kTLRzUY/6/6C0A850d+ob2o wV2P3dN1jeww6qrmFmZZlRot19J9/WadsaqrMMvWUWUKuL0xE7YlmclXupY2 3VjYsizgopoLUw++/qahWwq+vMPnCYfnrcWLH5/vJsZ+GC0udDI3qu5GVtSo hO4zP2lm7tDvMDPaBzRm9AC2YoS0mqeMZb085kdsiy+jOp3JqaYmsWlaKiFa GWwHDsFkRVQPsyXwEGAkzI33Xz76CK7+7MuPXhR0d95U2BBZeMXX8M63cR0u Xlfe9mnhvlff2bfzyYdAFmhCiBGgDDpUxiyY2XcXhn6g++4sBjoUDUEKxIJ0 /0bQKrEaMhApmiX7NyiUJXuuKLIdL/70MEmtMUgz65PSzKY8op+cUVS+c4jq KWUyUp09wQ3BbUE2WLYB2mUAKqxQ/TnZ/0iNZct4K0o3v5NM5o/lAb5N79Kb VqEQ29WkmCRC57lhaZCp9jBIrySfg11d056WlpJHcdXX80sUolbeyzPkpQjJ wTLBSqr3meIlT2o04ZCBDkUDQwadgQ5RUrPSaJQI/6Gax5ktfpIUDp03FEtG HWR74bHmYyUTvGkloms0jAfCg+HR8N7wqbBKDveGGYVcwmR5t7q6lroNjSW3 IlNyQxHqKpUud62U8Fs7ywwJv6UzFIy5WmR/sE3v0ltHoSo5hMr0gtWiHSUG s2TF+EBrlqXW/M1Z9mq93uAyhCUlmZOoNWRdY+2ohHslPCANSqPSXumUpJIO hM7bIEj3TpwGt2Q2S6w9LLnzzGVL9k/5oTzdL3ieZs164d7B2IxGMFE+a1Z5 edOsr7iqWgqtrZUejeB3e+NGbFPdTW40lZfPKgSn5KU5L91PiFd9IyW7SiOn DNDG30Bey+DXlY9NEjYitdPoMsRNCVM5lxEss/HsdL+0Aa+Xrk1vke7HD6Xf kH4tfYz/JBkMEtY6+UxHhq2T6jLzJNaRiUnRDAssI+N0skmUgNAs1OjMSVlX NtNc3VO9Hm1Fm6Utro2ZnWiHdHvmQXR/5rvoicze6rHqN52vSxPVv3G+Jx2v nnT+Ufqj60T1Z+hfzn9kIvPxAmdHejnudy5NX+W8wfWa9GrmHemdzIfShxmj KeDRBMvkgMcdLKsMeOLBMibgUQdDYsDjCIaCAU8sGHJKUhnCNiS5EHZJ0jjz ujInk7ZlJGcmLQFYhLIDzHc5GRAEEMpkYnF1ZgWMZ1e6skyWz7PJ4IOPKiAY YYZkYRBNssnMLDE9WrXqN6X9bWTjebeYJ+I2sBcQlArQx9PGpCWWS0AVhfgq AvHVAPGJRypNjgTH54fgh4Yo0vGkRZu+GZcuYk6SzDlJtOSQWso5x4vHDzlz zowtV1oaomc/kUOD+H8IoNNCAMZEMhB4+/+4jdmOqdOeSG+mECciqc3YtQiP 4E/xSTySXhZ2eCO96amJzLKQY+rv3Kazm2cEVHbz8rgvFjnzXxwNnt157sbO M7sI+gkixJFvuVXg8v3x9Dj2K/WRtXUaTqMdS7MPJJ9PvpZ8j/1F8hPuE+0Z 7oxWM6ga5LcJ29QjqhF+t7BbrRa0mnJGCOr14ziqGNQewRfwOINlfJBhSExC 5eGNtJf9AU80GEqm4lq1nlMxDA4Bd3FWoFAUxcU4Ex9nfqFEYsDdHU51LBn/ HkpglMgkFDJvJkZ5PiDgHgG/JGBhHB9SKpGRLjAY6QLD9F7aMr+PojUfjfRR IOZ7tHLVmunt5KTrS8sFxJ4LRvrUyZJV/J/z4lQT8C6YdUs2wkSeI+sGk58i cWrGLe2cyA8lsZlul6CAli4k/M+ejEVD0JdWch9/+x9LekD6wrH2tn8YtHIq UzX1fGZxVDJoA0BL7F8NIXf75VepmKk/dW0oZHs6I4Wl64IuixSJVMlb2WtK /sI7K/vjpL/MwAsygFaXsefQaj9Fq/3Uat45vbViycLMDPTMkM0KpFVIjGIi jZZJ0lTJqvqOmVQdM6lIjBIkqTpa5rXQdC0Up7ZQhNqykG7GWDjz3MIZSLpw JoOFBJu6SNqFWpLNwiR9PEkfT9ZTbT6JqBfJY/XE6p6u+9R7Scb11ISHJK1n 6H2G5FF/wV4RYipdykPOTNtIvlLKQy6nX3oYL/5a0ZGkMjNjQ6noqFmlw5Wu bp9PJmF53uIlCkmTXoJ7lmxYsm0Ju2QpP69KiqR0QlNKVbJdSBOjHpDAjolT E+Q3g5bJbPfv3ult9CX0nKTua3Sm/gJAN0H2kLtOUAmLlywVpKp5ZjrhmmW6 x0ROUsycpHHJ+hYaaqGhloUy2W1S+kBEXz0xgiLR9SVrKOr5G71bX9+3kCAW ErlwZuoGz+f07sKF/X3TM7b53FWEktMTqoBonY81NxMNKTC7MUPX4r6XUEfx Y9QOZxrOTPHjQ24JmLTUUPr1exRvrXC8/y8OdgQEvX6Cu5MGPNqPZbWc8AMz P3uwrD7hrwKPoitbmPDP66S7XgBWHwwlE36QYAwHQy0Jfwd4lDmhJbHulsX+ JW3qRH23kkvE1UiIzFu6jHRMJKXX6gSeUwnzOqpgdtD2O51u0RwOZmQ8KI/J jDyOs4qpPlGZDDdk6vFg/Vg9U0/iHN3LWsILFwa6e7uZke7RbgZ1i91MN0CC wwDDuwf6+seZ5c+SpaBxvJbabSfP7aA5TSD5yZLTNL0sRD9L0Uz/3dBWzU3T 4vg5jd0XFkdlYb3JEAlFw/qgFxtNZcbI+RZHw4hsfST7bwCbU8D+/2B2NL0B J0YlZsH5Bc44Fy2cZ490Afqowb1rLRXra5beaF93d9eCoaDDoK2bXWiyzgo6 tZwntjR79UKGsTd2FKoW5nSqYKqnLruowkXgfnO1myKVEt7/dK0pWr525Q1d XUsabyxsXio7AuGwk+7q2TlYqWTn65KFLmqzFA6bL4G4KsWXqi/Yl9eBNOCZ tQRfdn8qOI1qKkEeWErlgZwSTnDl6vkqFgQBMwgEVoSxRgvCQMn8keVH7H3f +XeBAOetWWgki11EQraOmJfHKpnKBy7f/UjhrX98eU930NV1o2ptedcV9xSu /2XhJwV8XaT9T/jqV385tvMJIg2MFU/iUXYMpAEnmrufdY3jCAgC6+pGXXtd DK8ggZj6mBQ7q2hqR+177Yz9BziCJPRzkFVoaU6XbAhKZUleAAPPN7YKEhMr OFPplrnEZcdKVleVLVPWuSXfXAAyxTPE/gpaxIHC+Ocl7r7fryL8WCTMTWXT I4l+1kbSjxc/mvkSyNmZD4CU7MT15+zE9XrJiThGYyXsznzu6x+eiEYX7C+t BdCv2VxgFj69R3OGXUUhCxaygOfIM+RZv0oVhVYo2R6WrBH1hAdRYy3gO3Q/ nF4fjVz4oYdj0+87Zp7eH75FjOLv8If5Q8IfA5wqSiyy5OgmdjN3B7ude4J9 Ri3ME3CjeuZjH5JTjziPA4lBfK4kVQHVqIoZUI2o9qlY1Z/0DuiXsF4vGnoN g4ZRAzcClzEDiwyiQTZkwDthOG4QDETOasoaBiKvTH/x4Nwon7HwniSGIWZn 7osPzMRdMqsTojLrl7FbK3mRS9LpvWoIBbigjF06jxf5eI88rfOd3hdx881o iOz7KYkJX+h9o7EvpG2z2XFO8SvweNbtD33159/a9Uzv40tNsuQtN2JrRc21 uRXf/ObabDbOfHbkrz87/Y2Rxkb20CPUIHAqPvWb6pofvzT2oscGo6oHIXar 6i6UZNQz+3or6I7eCipjVlCU4AHWY+Sx2piY/sqMxUimXQuZPI0WCqVKsIon Www0QD5adTjidyIEIgfZ3mvh1SDkTU6IE83Hzn1GZoKQz1GY8eC4YNXoCDLR ZxDZ/OpL8GHISZ2Y/pYMneGmvyhDivFuydbPSOMh/GtKT0ZjRWrm00d0/Yfu r5wx/JuzS37Q/mCUbWPb9PNdt7O361UPcThdsS04yo8Ke9R7NI+Kj5rHKjQi LwrMyvKVScarNh70q+8pwwf9wjirVgIh/x7/S37Gbw5HnDjZK2IxU56wmHkA uKIHe8bxJc/ursAV48xnB3B5chyLiiGewBaTWbzHZMJh8iGNZwcGaqnb2Fhy m5tLbriKuorDG6wdNWLy+Y2VxkHjhPG4kTe6Us+zPCtML/aWPpjRDfLnaSqK NIHzUf5kSQxtapoabmqeMufy6Zl1oEjM5ohG7NGII+5FMVvYi6e/dkQ+cYSG 6aRynihBpoVQtoYY8ZW2GtAdv3RO4e32Gjt+whuZs2jq/UR8ruvAgb5DQ1f2 Ndb6nTWdgUC0UvF+yi6cemKkLBUOx9tWM8vnN+344aa2igZ/Nnit1Vq17p25 8wGjFj8s/lH1NMgUMfyy0rXTgi27MWaUnuxuBlt8DI4xFdYG6w3WB5gPmCIj WMvKLCAHaoNlIAd6gmUskRVDNiIrhiwWM2aYMksZgM6ysnH8LcUU+x7WajSY 8bjVFg1LZTy9ZZHZLIsZURFZkay5EOMycQahEs9hQtPio3TJTWzOKgksJ/De xIkEk7DaSBb2YDBThifKcBkVIMpE8mRZyTQOHi1zxVd9a0aIyA9RZgEi5NAw tTkDQVL8iKpsS/Lj5OT2kuiIQJDIUbFREJvIAtZwa58S11hclgRuRjlLD+q0 rETLLRvQVZatlofxd/EL+JDlDfwvbPkLg8l6Vz8CaWOIfjuFKT71rN/SzBCC chiaLeTrBcC4FW+OeA9MOx7qHHblMMifFjKcTJacxWHJMaIdTlfOSrYo6HIM +dQMdT4/ZMsxyhcfL5gxFkN0MyELgmptSZyZlktD/1NypfTjwYPsbCKF4neJ fBo+e4sn2gPCKhFOZ82e5ZulWnhWYI0z4ueZHVzb2RfPCaP72lNWDdkJUDyp Osjei1LssRL3OhwN+s1GJkWmMCPSRCU1F48EeBNPNKTNzem0MydOHYffxHn6 0SMoCgJCG52gvHQ5ml4lapCoLl2lqIZDcZr5lhROoU0RHNFtiuO4rpR7KlUR DFZWnFOlwi/fnKe6VKpNJXMYbSbPfgvdXuxtzjpisiibIzG5cmXllZrByk8i n8Q/j3we15MEB6xZmu7HnkBtsLIysbbO53IFPCGxktNGfdFUNBdd4nzS+aT0 ZFSti9SH62M9aCHuFhao54U7Yt3x7sSdwog4Yv5q5M74nYmRyofEe0niyAvi kciR+EuVP478OP5e5L348coAUnHQUZxTExFimjifyDpbxVZzr+oSYal0SWKH brd4p7TDtSN0Z+TO6Eilc7vmDuf2KGvQ9OPrxevNnEajhi6NRLRYYPxYdJr9 ohwK+mWUSPmRSWv0mwIuvz8wXrzjWXU8BkLJTYoiRcKyWlBrhHAibksk4kAS kVhGrbGp1RrJLrnsYW3EptVGQuFwRnLZJMmViIZcAN41wF+hH17AnyIZ+fGn zwawyUxCIjLiTxWtySSK/7e9bw1vq7gWndlbb1mWLFuyLdnSlmXZcmRbju2Q 2KhYTuwQx0lsiPNwSrBlWbYFsuXoEWNKGnOghbSlSYFCgZakpaEBQlHkJDgJ LTlc+qKlCfee24/DoYUWaGkhPWkb6KUQ5641e0t2HtD23PPj/oiTNbP2zJrX WmvWzN7zkN0uCITDQEqqgYQSRdExegNxERV91K93+6GyYJG0wkf6kIbO0AMH j5NQlRNXhE1+q7e7mO4ppt8rPlH8WjFffHe5F6b31qcFvYsaQOjS7lLXMWog FcREh/05fo23r4L6K6YquIoZ+u5B9bZKr+ootUJxVr9GIG465T6NXyzOHT8E Sd17lOwIWXcVncJvFoYqocpflao6XnWySlnVX5O9o+EUzjSKLafOvnnm1OYt RWcsp4rZ5MMCARBd9KbllOEMwinp07/FwF4rcK9q5rCziJ8Sl/5w1112FVqF iDyDZEI8no9dlr70EjWuHoiLBx6YuYDlOVSBn7bwGhTc4JyPB5dL8ctW1itA 73S6sMmFnok9HTA1ZTed9rLlboW42s2WsnGtW5ld/ZaeqZOnTgqap6NTixx5 z/+gsajS7KMHV9gKVCf/taCyiTo2VM3+vOqt2fdcs6+ULvHx97pkthJ79dk/ 0Sfv8BXm8i4XD+8iBaazf6YfXiHk485HXfijd7iOs0/zXEeDDr+fcDDHPgsW xsXVSfMjcyX7fqKSpkJawS19Q5DumRBs0jeEN/357BuDhRFajOx7hTFzGMmY ObEJyBn2sd9YnjmgmVvkUmiF3CJFaXWuVom3Vx3CpTqVhnh/6cFZjLGpCV63 35W+84ufE/BmyXnHhDYoxWu9eJVGK2iLcmGaArmKWWqpis2fNOKNfGxeJVjY /XwW9lnBomHnK4wqVYXAFtwEhfgdocKIh4OQxJj5to8I+1JgNFZWzP9SAI6B rQy+yCZgeAjS8KKBLbu1/FK8s20RrcRXf6ESbzBKVcoatYvtzcIK+wpBblHl d+H5TEeXzVXpVFXSVqVN1SZoXaWqGdruz9cQl6u4mLUnV6PVaLUOdl1kLklR qqfjdDc9QWWUHQkyFlvKjcbu/F353BQ4qXxe3OcpXoyiyO+veG77+fdf4BY/ 6c0Rb0aSuhLWPPtJHyZTBmuJPq9EbykhhjyrobSEsDd0tnNzsydzLaB4L2Tm phSYxStBWcX7U/JQlfmg3mG2V+bO/rFm6y3tq7dUlyxeQVt7WzyjnU2b+HvP /u/d7DbI56aW9n5pij7QWm+lrrMPTXVfsYpTrlnMueC91ECIPCW/kZQQO1ck aamR2mFyWkpKbPCeYae2Eq7g+6J2ESWABpeVVFyJjderSsylxD5OpyhHqUrP 4Uwd97W+ePJFrxetBsxP/giqJv4Ztt3x/PMGABSfVZWr1+sMGpva3u1QmPT5 BkuexWotKSpV4MGGtGsRO99Qt7GR+Z5a5qerxGChQgy22MTgQhacNjHPf78h v1Gn10LmTfqV+uWGDluXo1e/wbCuYKPtBv2wYcS21TAluyP3C/o7DHcYd9ju tD+kf8jwQN5DtiP6I4bvWY7Yfqp/wfDj0hds/6F/2fCO/m3D27YP9P/H8EHp B7Zqtb7TytltFJlESm22EnWuxqo2lxRazSp4V1SZ8gqspptsegNeVlVSlmco yBvPo3gIJBdnf3mcrYDjbPbSvYSIjMNPzDkqg543mc0whKlKZujf/Go9pOH2 5vrzZri66S4btc1w7/pzBbxT73Qun/sd4cYvMFNfbDm7+VQRWu/NGVPegvfk 4Rli3KnBlhU2o4m+Q77t+Y+30HcYtj3vU/rgP+4w3Zzdwk9jm3upgx2+xG3g 7K6eBiruCb8C9xNpOf6xs3+5ruzKgdl164obrqK/dNKXmzavPfv7a5rcY799 l/7wF12Vdq/S5dIX1d0ju+7Dr915jdzlktU6qvuojis/+yp+jwjOLqc75TuJ llTR5yU91Lrz2etkvh3XDc8cRBuoztwFpc4seKpx4pkvrouKa6oaDNbBpGGW JQHk3cwtP69m7v152a9m1/0QRRU7x57jZjsa3FVm688NxHvqRbx31/CLFzNm 0pNZEPX8ELT38NctVFFMPahsLYsX6TxpsER+T7dnl2df7r7SPR6FAA9THt4A ISc9vAUnL62VNndbMTZJsS7fol5QbBWqcpRm3Cymg26Yo4SS9bvzKTsk7lsg Li/6r17E13oKCy05OdJqKTO12FJwy+32XbjJjOLu5NMCLwjsw+7Muffg3RuN bnqB5yUHrjXiB8bMtwdcllhjwO+Kq894TsUMpzYzAysa/5TiRetBts55KtaL 9kvaDWr0SJ8aRfNVYsvVl7pK9PYSasu14lkQmnkThOk8vApesFA5b6OZueGC 9Uq3x+fzLPD5pn6859MbFzos1ryAo6jWPLdquZNFL/D4ZoWPht55c6nTWa9T bnBt+Ar3pfs94jc+jqw492v5TWDJcoiVHPAvvN+4T/mY5jGDbIJOKu+gdypl y1Q6N+FNboW6yGfnvTyHR3/wyIGfl/MdpWy1tmWRUOov5UrzfAa1oOb0arua U3eUDAalN+bVp1YbtnjeR2Ru/3I9teI+ZUtFfkVuTl4NsdKiGlqgBMwsB8yg 0dXQYg4co8pUQwpl4Mx/+fHcCjMhKpA8A3Ggu/iKQnj5yWOblI15hsoK7hRV 0dtmb559Z/bt2dteffavh8d2fHl0+tkPdozJb5yNzv7b7E9nR+iXqY8u+9mB jjv2zT4ze3D6TrqAttLrnrgTZyJG4M13cRcuZzyo0SvsnNjDDpqpzaAD9X86 186ZlbmcktnvFnzNEV9y4H3X4KBmlbbpMTNlJrZINMDwWs/8ai/z/bcJzsa/ GD+0n3bwRwuPFB2zpBwfKOWPFe+3PCM/rDiihJf07ygeUz5u+o5Z/pByl36X 8UHzLoc8bBosTMgmNVMO+SbzhsJuR0gRVso/rexVfVpzfW6vSe53dJMefoN8 rUIuOBplS0zLSUeu3KWoUrpVbpPbLAeeOeoc/XiFgjR7KSG5DkFjtpgXmHmz UodNtObiBREqey6H3zY2G87+4Ac/AJ3ezPbaW/0FRA4zbr3JYNXnqoDYXmiz go24w59nVirgXUNZBrpsNpvkCgWa8EXmQjwUY9eDSSecUqH+sJAW/q7O7Dfv Mp82y8xv15n8pm5TynTaJBdM/aZx05RJZprh3jksOO5zoN32nNm8ufjM5jc3 kyLpPd6XnV/jtBqRjzfVvcxCz/2xN+jNYKnZsUpNkbFJ7zeym10PG5pUqny8 yvTlw/lNGrd40esBfXbCDDONzdTE9oI6ce+nOD/G6TKl4ha5ykXy765wLaqa rXTNyioNxR1XcQuuX1JLe6nf29wuz5GvcukcC0Mfflb2lU0FdidYdnVtef0N H73F5yVqShdpKUwzCI/7CmS/BQ20EQ9Zwm3z120im2w7yJ22HQ0PWL5Rud+y v/L3lj9U/s6bs4TcXDnZ8GD9Aw17yx9veNnycuXLbo2seYb73bR++IpmVLqS skb0/W+YChsb/I5qcIptjfV+pxsca2ljW3mba4fl3+kvyl9peMullJVTl67e wJsUVkuBzVxudpvqauvby1c2bqAbizdV3sdB1zM0r6Obyvubx5unmvc0qyx1 lvpuMBBKS7nNXeyVKTjeVmjrariz/MHyf29QCs3+5u7mIBfk++X9in5lf91W RdwSt47bEuXxypvdtys+b/28bWfDVPML3le875T/rby4VyXuTBD3ITSUE15W TRZ57OV8WdWS6ga+tsy9aJHaXOUuLDRztW6cCezCbZ7Q55oXMW8pelPTLa2N +Di9bDnz/QUQvqqvhGpsdSVcyTqZx76keiH7+tS+yOiX7ZFxBJzXZTw7bqzR 5TUSGRXwBmD6kt9VzZa2q9k32Gq2tF1dBnMVPPOoF/BR/3BT8zP0JeIgAbZN lI0kvtV4whGvv9q8BbfLL+Rrfm9l3qleD95PgsaSHYL0xDLzYHYX0Sl2yKVQ HFQKm6TZcKu30ekuslGlxVps5RSKinIX52qocBdVNFCvcmEDddoqGvhGurCB r7RWNdA6eW0DcZWWNRBbPb+ogVICk2fffJu6QLwadAuNxWIktiVrcAm+cJql I8bzVtHxo1M9O12ocEkjlLhtTfpezlbC+PRdywNTr711dqphnauwtHJ1A7fy 28H7Hr7l7GdcfU1337PmuaOD3Ykth76//rmdV220cgdtS6/7XOjIOtcVzhgf +ayj2lVU/vTE0Df1SmXLv6ye2Gf+MGp95Kauu3tkcrTSa8+9za+Xj5B6uuoI 0cDbbk6TGkXmy2lqVbdrlms7y2Qn1LSqakmVv7G/8UTj641/1ShJI21Vb3fe XPt4+ZHyo7U/qX3N+ZrrP2r/UPZ7V06HqmqGfmna7TaQGe7N6ZN1tG6GbzzE yw1mChOP3YdK/R5vY+kMXTZt0FW5j9ERUkDU3Bt+bbcwJXC72JmnGb5hOpVD c2boLgjH69l21eyp4Wog/FCfcjteFM695df4G+mexuONXCOZoVc97c9/Np/L L27Aoz9vZw9EsZMnpzZvOYPOmwZ2FM6Dlz1vxuNw0tbhWq+tQqOXKcocTke5 w+WQKeSu3IoKjTBAvbKaAWrTA+bQVg5QjbpWUTdA7brSAbZzeO4AnHQELka2 eDz52atuxMOjjrmZyLxDoqgBV3Gi0EeaD9z+yIalR7dNjd89+86OoNdRbMm7 qdC1YOh+p8XuuW+N0LV7xa39D43IVu746g1dm+59eOHhz6Ru3ddWWVqtkrco tA9HujqXlLpbbZrrb+8a3v4oSncljMF6mJ+UU86/VG3DLele3mu/T/+A7RH9 I8bD+qeNWpUNdJNu4z9jusl8F/8F8zf4+yz7+WO8OofPlXGlK/heXu5VGfLK rcBk+SHOKu0pPyw8KHeX8PDK+tqhPE/KQA0zfOuhnbrdOg6Gd6/fi3vHCaW0 3rD/qTxqz2vJ4/IsfjAvap9QRPVF9iKuiHX+og6XNNnx4CRnjWHz+3gHzJkt MN85C3I789uWU5ld33jOBS8hMlkVOUqXpUJbYXYprOoakmMCR1Usr6GaQl3N BZcQsZUCPBqDXQqv55JuzZY5BTzUaywXt2PDe4bsJbv9qt9+845Xtm099bXb X5i0D82ePjb71JEvHKYt37tn5wKjtcCihRlQw4nDO2b/7bWZ2T/v2rKv4NC+ vx396Ke059gKc761jrAfqOEJ+fGBLe/16X3vqYpV7IfDvvVG6XOZHxHDtw9l Nbx9EKKWfoOTpVM6ZtvJhuxvjVFy/l+Nogl/QIS0cU3kU/xdZBVfSgYBL+Ae Jzp47lBeTwIycu4DwJcDnY4j5CvgtwN8CuA00PLgbwSoBlgJIMjeIFcBHQE8 RxYnU+hDfj1A61OWkjIIcyiaSB6E1UJYCvL/EPAu+Y/OvSX/EdEBPQe+gWs6 FwR/BYBRvh7SEbIW/JWQ9ZX029zdsn9RvKnSqyu15Tlf1X2oX2B4zvBHY3nB eMFvTFbTy+bjhb2Fvym6q+iu4net4dLS0j7bUfvbwnGnyznk/G75yQpjpbeq f0Ha835NYc3e2t/W3bRwuL6ccaiGbEJ+4y+4EHiTIusJkb+gz4cwbNbV/CZR Huy324iEU5gXzEo4R3Lxl18YzpMYXSDhMmKjX5dwOSkCxRdxBSmj/1PCleRl ekbCVaSC+5mEq8nnuT9LuEa+nr9JwrUkpvq5hOeQIbVfwnWKg+pHJTyXXGfY lJX9dsNhCadEn7dIwjmizGuTcJ405XVKuAxobpdwOcnJu0fCFSQvb7eEK0kk LyXhKpJvLJFwNVlm9Eq4hnvCGJNwLWkylWZ/KbbBtF7Cdfwm0w4JzyW1RW9A TagMuZ5TnMdwOUqkuJThChZew3AlC29iuIrhHQxXo4yKeyUcZGTZIOEgI0tS wkFGltskHGRkeU/CQUbWfAkHGVk9Eg4ysq6WcJBRiUvCQUYlnRIOMip5ScJB RmWVEg4yKntAwkFGZeckHGRUNc1wDbZrgZ7hWmzLAivDc1i4WIdchi9mOP4C Re6CZQzPB9y44BqGFzCaIMNNLJ8ow80sfDvDi1naLzLcymjEupUymscYbmf4 IYaXM/p/ZfgChp9geA3Df4m4Sqz/OwwXy/or4jks3MMznLXFw9qoR/0hHivp IZNknITIEAmQIPgCeQygh4wwfDWJkjGAhEQlkGXwFAMc3QCEhxmFACERSF8L WBsLD/w/5uTN1kwgayEmQpJZmjj7tcMxqbyFpAn+1YH9ELF6FtoKKSLgXwtp hqEOCZbqWsgvDhAjW8EdhDLCZJSFCWQN+BOMJgphAcgfqYeh3Ag8xS5qQfPf SS1ckL4ZLBqWHM+2tAFqilekCOy3I8PQnhjExAGGoJSqv5P/x+U2l0pMM5ei Gzi5GuI/Od/vMqmhTAYhbpTV/UYIw1r91+UpQChyIwylJljNkf8CPCNNQsp1 HdRQgHpievxVYixvNbhdUPYQkyvWENOFINc4q/uIlFvtJeok6lAUysU6jQPt 5MdShZjuIt0Eq9Vwttyw1DNqmC4mWB0iEDIp8SHGWoW5VkPIekafYOECWcX4 h5wcY21CHW0AHUU+hpkEYvO4HCADLGchW7u5fon1iDHuCawtGBu4gI+Z3DPP GWnNl7gox1WsvoOSjMYYJ+OQZ4DlG2MtGZLaMMHqGgQX802wkADLa5DliT1s jNUDJYR9E2lGJJo49IABJqstgIl8iDDeDcBTkOldiNVrTPKH5mnEBKtDBPLG vEZZ/0hIuQYZZ+Lwb4j1MmGeTIOMM4F5NkOsW4YjotSGGZ8CLO3gebKPs7JF zRKYfAYZlmRcCzG+fLIuVEocCrM8gvN6xACj/mQ9EXvAxfKbz2GRR2NSTcey YWhFkszqCZIlCpGbWK8bY9LayvIMS/1Q5JEYNs7SZrgqatFWZn23ZvsE8jom lR3LSujGrM5d2L9EPvxjfUxs3VKmOaJeR7P1F/VS5MOYZM/P57ioc4NM+qJ2 JxmHxZySrO1imd0sL8wxAeGBeXalm1nrMcYTsT+Hz9Nm0UZOsppFWIo4a2lE 0roRJseAVG5MsnfYujiTfPK8/oO1xR6XqSNqg8C0UpQHtjvIbF0kK+GIZEcH ACKsdpNSi5PM1oo5TbCYEZZbFP6JNjMoyWYU0oi83gB0g6yESYlH8+3JAEt7 o1RXkUPIgWGAmxkNasp8W4G6Lo4BCSkmep4NHWT6lTxPipmcA8ymR+flNsj4 N85kMnke5SDjUIzxNiPXWjbOJ4C+GeYPXuAB/qtlVmO+RtZKVsfL6Echdy+4 CWYJsF74FCd9LG+x14n2MZYdI2uzKf97S5xgksjYxLlS1kAv6YFevxxgGcxt EO+CUOw9y5n1wPB2CFkLLs5+roYRvZ39sjWG9hAdu1tEM2/cuXiEyYSPzLMF 4xKXJ7OW+R8bZedkFZakLOpWxvpNMn3NlIkt3jpvVjDfymbqI/an0XljWID1 BlGzxqTcA6wWITamihqGet4rlYa9c6tk/weY9Q5LI5dYzsdxJjMnm5BGXOxL 4Xk2cL6VF3vSkKQtl+JXVGoXcix0niXN9NmLyxuULEmM9fxk1mIMSJKZP3Ze 2gKfzylxLLlYKy4uOSz1UQE4F2Dz8LlZSoCNEyFmly5dNnJ/nTRGimPK5EWy EOV0/pxQtIQBVqNxxtmwZEX+EZkLki5m7PjwvHLRdgwyTovjsTj6x+a9J1Rn qWPz9HZuXvLJnIowqxG+wKbP5ZcZL+NM/+ZmBRmbN0cZBVpxBp1kHMf8R7Lt Ees1X7tHJSsp8l/sVeOSfsxZ0/N16JNaNKcfHaztF0suMxaKM7v4vNaII02Q SXXsAhnELuD3XM7Yviibyw1KYwnOO8Q3lIwd+Eekn8lP7JMhaTw9f1zM5Hex HEVuiS1ISGP5pfpxRmKBC3g99E/Vdo7LF5cQlOZvA9LT/BqFpJEwAWNPJgd8 f2ol4puKmywhjWQxvEcK4C6Epxp4O2xk74j41WQd6ZQo6yB2IcQ0SvhieIdY zFJdQRbBGwUC5v7PjXX/9ZExE+e9gHvZ8bBncjw0FAiGhMeEnpGQsDo6Fk1A kLAsGhuPxgKJcHRMGI8Ea4W2QCLwd4i8mJmwNhpJYkhc6BiDdAubmupqwKmv FVojEeHa8PBIIi5cG4qHYltDgz3h0VBcWBOaEK6NjgbGrg0NJyOBWKaA5gui BSm+eX0oFsdCG2rr6gT36nAwFo1HhxJVF9DPJ2NREMMiuteu7rmAdp/QEwsM hkYDsRuF6NAntlOIhYbD8UQoFhoUwmNCAkjXrRW6AwmhQuhZLXQNDdUKgbFB IRSJhyZGgKw2mxNwKDocC4yPTM4PCgltscBEeGwY04ZBGDXC2kRgLBKahDrE wvHoWLWwPhxMRGPCqkBsMDSWALY21PeMhONQF6xyYCASEhIZWQ6FY/GEEBgf DwWkOiI5+tgsseHQxlXRsUFo0VhoIj4eGA/FqoUhKGFiJBwcEcIJYSIQFwZD 8fDwWGiwVhA6EsIIhMSTA/HQliTUITIpDISC0dGQEB0LYX7IiIloLDIYF0aj UIF4MhgMxeNDyQirmhCMhRgP45AbVgSaNhweC0SEQbH1cWECmCWMghiE5Nhg KHYhFyqhQuFYKMgEMTB5IU9AANn2iRWGGo1BpmOIxaLJ4RGQixC6KREai4e3 hqCRIZQqYOOxKFYVWLQ1GtmKkhhKxiB1DBt0I3IuIy+owyUkBsUtDcSB11HM H3gJdRgDPZcqDpwbFILA7mQwAUTJOKbsDsXGQ4lkgOlKdyQwlgiDnMMim0Ej J4VoZFCIJyZBtMGRQCwAaSG3RDgYFwaSonwCg4FxzDERFYaxHaGbgqFIBBsc AR0dCEfCiUkoODkeAaKJcGJEGI5GQTOhLtHRSaj1hvBgCASZjIt6MhCN3hhn FRoNDAduDo+F4qJWxELQAxLwEBU1dDAaTIpNROJAJB5lZIPh+HgkMCkGDm4N xRJhbGvtSCIx3uz1TkxM1I5KjKwF1fGOJEYj3tHEWGA05B2N9yVQdKCPMeyR tRj5DyacCEVQE1mSNV09Hcs7lrX2dHStEbqWC6s6lrWvWdsutF59bXv76vY1 PTqNTsP6TrbDID7CtABEBxwDZb5El2WtCkOTgVuofpPRJKYMRrcyUyCqLOYD chplPSwgRIBZY0AeGI6FQsiwWqEXko0EQFjRgUQAOAzSO68yaMkmoOMKoTDT QFHlQUhDwJa5egG3E9HhkKikKNlsOhBCIhYGFYGsoZpS75ynwFKloJdkWZFN DHhA2BqIJJlJCcTjocT81LXCOuiR0FMmM62ANkmWEJQwIMTHQ8EwqMjFLReA i6jjwyxtYHAwjP0Yun+MjQnVGBxjvGW25IJKRcKjYUnTGR32y3hCtMmoeSww OgEGOjkQCcdHsBzIS2T3KKgk1B9ENT4piGoqcej8ghg/OobmGoe9EIxdnBUD nSYYio1JLYhJ9WbE8ZFoEjprLLQ1DAMK6sDFzUc6kGQI+qnUF5Eu20aoFhSQ gF4+J2NsWECq9dCls2VVziYIgn0bCGUygnICiWYkWLe2FQYV95LGxVXC4oVL auoa6+rU6nWdEFi3cGFjI7iLGxYLi69Y1LSoSaf5mF73iZ0Rn7xS9Vg/hJfl KHvNxNcCfEmcpDqYetwAU5Dfs4lLJi7z8W9Q/HDHP8gf4L/HPwtwhD/K77+8 sHJ5YeXywsrlhRVyeWHl8sLK5YWVywsrlxdWLi+sXF5Yubywcnlh5fLCyuWF lcsLK/9fLqyc9/VjDg8w+kvF/fqCNKHzvouIM+9L5xlhGj7vWWaTLZR1yq6W fQrcpvNKQBv8cbmsYX0GbY/Y+hGaot/kCesXrUAVY2Me1unjc7g0nt1vTs45 IPtL/B0lPeeO87+ebm+v98+A76llftpdVX8EI9KWkvrv8b/m9sNIYYeA19Jm K4v5VXrpUgm5YomITC+oqX+tVcP/ivwnAMf/in8NNI2lmnbX1p9u1UEA5T9L 9JQSO9nD/5KkADji51+ZLq+o3/0s/zOIf4H/CdQVk/0krcurhwx/xD9NjMTO H+YPSTGHpnPz6klrnL+LUHIc3JMArwOcBpCRKP8dsh1gJ8BTADKiB9cO4AXo whD+Cf4JqOde3MwOrhcgCrATQEZ6+Mch/EZ0+X38DaQM0n6Jv5eYwP8ifw/z vw2+BfxvQbgN/G/CM/q7peeHwMf4B6XwB+DZDP7XJP9+CLeCfx88o/9V6Xkr n2TpEpK/h4+nbXZDqw3iBYA6AB6wewG7F1h3L4oYXMrfxkdYSQfArwd/VPSB XdvSDieT0bbpwuL6PcDSbcD6bcC5bcC5bfirmfwtGZpbRJoa/haguQVobgGa W4ArdXwcyovjYQZwDQACAA98jwPfMTwF7nGAkyz8dnB3AezBJ34C+FgFtdrB 35B220HJhqeb/PUtx/ghYLWfH5ouLq3fOfek1qAigp8r+XqkDbHY0LQ6B0ND 05ZS0QeqG1tz+SD5DABHCsAtB2gEaAOQ8cF0udd+lF9DRlXEn2vfzm3nt8u2 y2V1bdT4LF9PulUEVNLI1xAfEFTZ+3x0cb96XD2l5vE4dJ3ar+5Wy6P8dn4n z+MR6ha+i+/j5Xg4UdncgGfVrlY0N+zS7tGmtMe1J7XylOK44qTidcVphVy8 X7Fb0a8YV0wpdin2KNR4YxrXrx3XTml5g1bQ1mn92m6t3K6ke1o/xw/gYQZw DQDjALsAZMDjPggX+OsB+kAafcCK6/G0DLgEngwAJwF/HXw5POmBTg90egjV Q6geQgm4GNMN0A8wLsUqsjGZNEh/GmMAKiE2F0Lx+MDr4J5GDGAlPOngSQdP OqA6yX0ENTSAKwB0A/As7HUA0BpwM3F1Unw/gILFn2Y0mTg/puU+8gcqj1fR FN4iRndVUb+vpbXeXwaO0Wjsc/a5+tx9e2VRZ9QVdUf3yrqcXa4ud9deWYuz xdXibtkr8zq9Lq/bu1dmd9pddrd9r2znqqdWPbvqxCpZ36roqu2r+MV4njTt qatnfpkL/UPpYkv9Yn3rldxT0Jw+cHcDvAbAEzu4XoAWgCiAjHsKXDv3JIQ+ CaFPki6APgA5pHgSzQu4dikOw3ezOMQwnjsvnoeG7083N3S1rgST2wewG4CH vPdD/H5GLWJPsfAUuK+z8C6Jfg8Lt4ObScODgdvEzNwm6H6bSAtAH8A4gJyc 4DeQ1wAgZ3DtAOMATwHI+E3wbwO/gXsS/u3n9vPVft1Ck52YzTBwGPNUhlYD lwM6oKP7mPs15u5gbgtzy/25K3Xvr9R9f6Xu8yt1lYBwbhjSdPRe5jr82lbd wVZdV6uuqlUHuRUSB9FxJuYq0KXvMHcNc6v9BQ7dBw7dXxy6Pzl033Dotjh0 n3JguhLouzqugLladOl9zF3J3Aq/1q77oV23wa5bbNe16ujDFEonS5lrY64V Xfrng/o2PVEfo38mbZATTfuq7DMcYR49l/a1gjeb9l0N3tm072Hw/pb23WN/ hn5A2ZBG30+Xv2lvNdEztEOGz3+R/D/RDvIE+KfBHwb/UeKjLvC/nfbdivSP QPoH4flbpEyF9N8k3SzdbtrBwr8hpft6unoASn0oXT0JpT5Iqlmp96er34TQ e9LVO8C7O10dAW9n2oUVvCHtW2BvzaPDpJxD2iBxcViTVVKJKyDnCPhXi4nb 09WYqg0LmKHL0s6F4FViLZ+hTtLNirOnnayRpcTJsighTlZpK3ExP5fqWeV1 pIz5qrTzVshFcdD1pv2vvmPYcPIe1acftr/xDLRvPTz+hnakn7C/dATZlbaf qJ6hrsP2nzuP2X9QPkPXp+3Hq2dUEPFs9QxHD9kPAJNTQMvRw/anqoftTzpZ 7F4nxIKod/tq7A85N9kfcMFz2n5r9TNYDTIKLV4P0b3VV9lX+Z6wL3fNUIj2 +/A+Wo292RmzN0HwkhnaMf2EfWH5DFalDvJ44rB9AZRY4WRVWbf4KLeIKGnS X61MKAeU65XXKK9UNihrlIKyVFmiLFAZVQZVripHpVGpVAqVTMWpiKpg5tzr fg+enCtQGNBTyNCVMdzAsSuz2ME6wlEVB30nlc93cp1rl9KUsZN09ixNLfZ0 zijPXZta4ulMqbo/vfEApV/uhacUd+cMJT0bQUEx6HPWlBFPpVPq/dxdVvRv +dxdvb20M3U8SDoHhNT7a6Edmms2peTOpUXEvLWlqMV4VV7T8rZLOP2S65n7 K/LM/ysqTd3XuXZj6vHS3lQ9IudKeztTV68Vrtt4hNvCRdvbjnDj6PVuPEJv 5ra0X4vh9Oa23iwZKePGgYz40EOyaVKGZKSMTjOyVYwM1LSsve1AWZlI9Bzt QCJQn+cY0bCYVzkUAXl1owdknI2Us7zKORuSgT6ImennZ5ZDqJ5lps8hLLMS JDrgcgFJtQtJDix2AcEB12IW/cRctNMlVqeXuFg5LtrLyqF0jsYt0oAWSDSc Cmg8/51/oaX/BDGdDrw6GGwPOdv7ne0hgP7UF7eOFKWmBgThwOCrGCGk+Ir+ geAI+oFQ6lVnqC016GwTDgSCl4gOYnTA2XaABNt7Nh4I+kNt6YA/0O4MtPVO P7p9Wed5Ze3IlrVs+yUy246ZLcOyHu28RHQnRj+KZXViWZ1Y1qP+R1lZndcu pZ3dGw+oyNLeZdeJ/jSn1UB/6Lc6epeaDeNXsc5xpaPos9ajMgLDltbTm8px Lk3pADCqprWmFaOgd2JULgTrpaiiz17psB6l+6QoAwTnOZcSDylqD7dl/8fj 8QRCMukBN5EsYmEJ6LSOtZ2p5dds2pjypXztKX9/Wy87GZ6U/pZt9Bue9Z3w cVHfdt9O327fUz55MtkLwcZny06UcX1l0bLtZTvLdpc9VabAiOs2Hvb7dpf9 ZxmfBG2iCfhrb2NlJsGH//iYSMbxj0ABcQCxOE/Ss2xjaxkJwmyXwsy8huQD OAEaANYCyMn/APd/AbwB8BcAGbkN3HsAHgGYxhC+hq9pLwq3YYm9HjQ6RXz9 dN2i+iUz4AeGRH/tJtFvXyP6vtb6IvDTLQ2aVj1MvCk5Cu4LAK8A/AHgbwBy vp6vZ5knRa3tjZO4h0L18TqLBDpxT4Li7akU2Z2IezwkLv72BwUJ4Kl7er7e ExpPEmAFCAQ8IGKhcUyWRH+O8P8CbdK+fA0KZW5kc3RyZWFtDQplbmRvYmoN Cg0KMTYgMCBvYmoNCjI3ODY1DQplbmRvYmoNCg0KMTcgMCBvYmoNCjw8IC9U eXBlIC9Gb250RGVzY3JpcHRvcg0KICAgL0ZvbnROYW1lIC9CQUFBQUErVGlt ZXNOZXdSb21hblBTTVQNCiAgIC9GbGFncyA2DQogICAvRm9udEJCb3ggWyAt NTY4IC0zMDYgMjAwMCAxMDA3IF0NCiAgIC9JdGFsaWNBbmdsZSAwDQogICAv QXNjZW50IDg5MQ0KICAgL0Rlc2NlbnQgMjE2DQogICAvQ2FwSGVpZ2h0IDEw MDYNCiAgIC9TdGVtViA4MA0KICAgL0ZvbnRGaWxlMiAxNSAwIFINCj4+DQpl bmRvYmoNCg0KMTggMCBvYmoNCjw8IC9MZW5ndGggNDI1DQogICAvRmlsdGVy IC9GbGF0ZURlY29kZSA+Pg0Kc3RyZWFtDQp4nF2TzW7qMBBG95HyDl62iyrx 2IFWQpEoFIlFf1TufYCQGBqpOJEJC96+yfe5VdUN6NgzzhzPOFtt11vfDip7 C129c4M6tL4J7txdQu3U3h1bnyZaVNPWwzfirz5VfZpkY/7ueh7caesPnVos 0kSp7H0MOA/hqm6WTbd3t1h8DY0LrT+qm/+rHZd2l77/dCfnB5WnSVmqxh2m M5+r/qU6OZUh/W7bjBHtcL0bE3+F/Lv2TgkXNGuru8ad+6p2ofJHlyaLPC/V YrMp08T55u+utczaH+qPKkzReozO85ktJxDCCmAIBcAC5gZQEJgzIwhgzhwN uAfYHPDAMMKSYTztkXAPWAHkCbDmzgbwRJgDNgCD7+icOQjT9DEzAH0MatP0 MahA08dAQdOnINBHGEaf+QOAPgWq1vSZoVBNH4GCjj7MoY9dA+hjWVv04Q59 BDlCH7MExP5AQWJ/cIDQx6ICif3B7UjsDzon9LG4Kon94dGxP7g3oU/Bo+lj +VH6GGhL9DEcr+8xmiYNj+NnjutLCOMI4w1hdKehbb37eWd91yMv/nwBAjPW bWVuZHN0cmVhbQ0KZW5kb2JqDQoNCjE5IDAgb2JqDQo8PCAvVHlwZSAvRm9u dA0KICAgL1N1YnR5cGUgL1RydWVUeXBlDQogICAvQmFzZUZvbnQgL0JBQUFB QStUaW1lc05ld1JvbWFuUFNNVA0KICAgL0ZpcnN0Q2hhciAwDQogICAvTGFz dENoYXIgNDQNCiAgIC9XaWR0aHMgWyA3NzcgNTAwIDI3NyA0NDMgMzg5IDI3 NyAzMzMgNDQzDQogICAgIDkyMCA1MDAgNDQzIDUwMCAyNTAgNTAwIDUwMCA1 MDANCiAgICAgMjc3IDUwMCA1MDAgNTAwIDUwMCA2MTAgMjUwIDUwMA0KICAg ICA1NTYgNTAwIDMzMyAyNzcgODg5IDU1NiA3NzcgMzMzDQogICAgIDI3NyA1 MDAgMzMzIDcyMiA3MjIgNTAwIDcyMiAyNzcNCiAgICAgNzIyIDcyMiA2NjYg NTAwIDY2NiBdDQogICAvRm9udERlc2NyaXB0b3IgMTcgMCBSDQogICAvVG9V bmljb2RlIDE4IDAgUg0KPj4NCmVuZG9iag0KDQoyMCAwIG9iag0KPDwgL0xl bmd0aCAyMSAwIFINCiAgIC9GaWx0ZXIgL0ZsYXRlRGVjb2RlDQogICAvTGVu Z3RoMSAzMTgxNg0KPj4NCnN0cmVhbQ0KeJztvQl4W8W1OD5zr/ZdsmRJlqV7 tdqWLMuLvCWOfR0vWRw7DpgQB9xYseXYiWM7sp3gQHHYSyhNWlrWvpJSChT6 GkWG4JBS3NLS0tImXUlLC2mbLlACtA30PYrt35m5144DvMJ77/99/9/3/bAy M2dmzpw5c7aZuVd2xlLjSaRD+xCLhJ6diZFLVlStRgg9hxC29Owe47W/2XsV wKcRUqn6RrbtvHOwZR1C6j8jJD+1bXCir7f85kKEjDMIhXT9yUTvPz6+14RQ OYxHFf3Q0DU3oQRQBvVA/86xKyY1t26Cej7ULx8c7klkj7zWDfXroV68M3HF SNiiJviPQp0fSuxM+h6y/hbqP0Oo7Isjw6NjT6PAPELbryD9I6nkyPxF96+A +p0ImdPQhuFDfnQAKkidYWVyhVKl1mh1eoPRZLZkWW3Z6P+dH/mnECdfR1Mu +1nkQmge5Dl/BtKf59bOvyPfgfxz2+dPs1kgrICYpJ8guh4F0J/R7egp1IV+ wLCoCRehTUiGHciJGFyNWrAJ2ZEca1A+8qMW1I5saC36A9ajw6gEvYKb0TU4 iNajzyMfakPZqB59Gh3Cq+ZfRtegn+IB9AiMfggLKA+tw6vnX0IbUPv84zAH QsvRHehubEAc9Giwf/5FoDCKbkJPoF+gebQZ3Sk/BFTa0UVoaP5xdDn6Md6M L5vPRWvQELoa3Ym+iJ5EZ/An8IxMPt+NytFWlMJKnIXz2WvnH0JV8lPqx+a/ PX8SmQD/i0D1VSYia55/DQnozzI83w/ekIXK4DOE7kNH0a+xA5ezDciA4jBX F7oKHWbzgcfV6GZY2xP4SnyYNczfD6upRD1oEp3GV+AZxis/JX9jfi+ywPri wOl+dD/6Jnoa/QWoNeMOdudc3Xwb2KsKRVATzHQ9uhF9DST3Lfh8GxuxF68B yt/EL+LfskPsH4Hyg+gsegv9B87HA/hqpo65Vl46e838YygEKxSAxhp0KRpE X8UhLODLYOznmT3M1cwke5T9tSxf9vp81fzTSIFigHstehjW9SP0U/Q86KsZ t+JfMFezU/Ib568EfmOoH1ZxPfoyOobexHKsxjpsxTwuw5WwsivxDP4t42b8 zCZ2K3tY/sn5iflbkRdspQslYeR2dB26AT2OTqDfob+gszgHRsZgZB1ux7fi A/jbzAn2UvZy9naZILtd9ojsW7J35Gb5t+Z+PHcapE7oFKNW+HShPrQXZD0N n6fRrzCLXdgDlFbgtUBpC+7DV+GD+HP4S/gBfBR/F5/EL+PX8X8yDuaTzGeZ 48x3mBPMSdbNhtlG9l72OZlX9ivZP5WJWffcU3Ovz2vnI/Nl8wfnPz//wvxZ qoVcsPg61ADWtQPi4fXoIPoc+jeQ+aPoh+jnYHcv0c8Z9Abo4J9YAdbkBI58 2I/zcCGs7lK8Ce/B+/Ft+H78DP4tPoPfYRCjY3zwCTMVzFrmcuZa5lXmHVbD +tl69gr2DvYn7NuyCXkpfB6RPyZ/Q3FGGVQ99849sy/OobmBudvn7pkvB1tU gOVlgc/F0UqwubWg5V60Cz4ptBvtARntBYl/HiznMMqg4+h7EL1PwOcF9GvK L/m8DJo4h2bRHGZAn3Ksgo/IezFopgGspRsnQbfi50p8Lb4Z3wmfe/AX8BdB vj/GP8E/xS/h3+M3YU2IiTL1zCpYUTtzGdMFny1MD3MNcwvzKHx+xPyCeYH5 HfM2a2LNLMfmsU3sNvYT7H42zT7K/oz9uSwkq5etlu2QfVf2Y1j5avka+RZ5 j/wW+RflX5J/S/59+Rn5vOI2xX2KacWflRplhbJd2aG8WfkV5XHlr5Xzqjyw p1bgvmBJmLsNXyaLMQfxPDMN6/4GM8b+gPksfuSCSLgfOOhFW5hp9knm3646 yP6O/SpzLUKyRtq9AqLYc+jr6Dn5T2U2+Z/Rd5kc9BrEw8+yCeYbzF2MA1ew y2U3yJ6DqDMBfH6JeYlRMocB4y+gjS3oEuxEf5NtRK+D/E/I94NMm5kX8SPM M8xasORT6H7mOLoLHUJJXAnc9aLH0Nvo0/gYy+OjYHeT6CR6FZ0+z60sNruS qVM4mN2KZaChY3jD/HeZgvm/gNf/Ft+AXmDfBtvfiNtwDD2Afg9a/zmOY042 J3OhH0Pk86B7wGr/hKbAB78vC4AHvYmOsXG0WXYadB6bfXauUT7GXoffYupB nXYaudeTaAwx+E6IVSSOGtBhsASIItSj/4J+iH0gxZ8qfoXuRgfQE6wNBdkv M/uYefZ7Mh59Bp1m18GsH4f4lIvjQGknGoB18PN/nLsfKGxHVagKb8WbUSP0 rEae+Z3A+QMQi4T5y+fvknfKI+hHeB22oacgejlAirfL1XNnAfNR8MMX0Gp8 C5qa60UzsK84cBCXgjWdle+WH5Q/LH9U/g35DxUl6Arw2ntAi79D52DX4HEP yOIV9A+w9ZXgPYXgP/XAxWrYwwaZTvZJ1IBz0AjEwHyI2ytBBptBk6NA5Vr0 SfCnL8Me8iP0Bjbhy9E30CnwHDv4eQ/MrwI6LegS0PooegCi43V4Clp6kQeF QU5vYwOuYsZgPhJnb4c4OwM8/Rr9ESLHPOWrEC/HjaC9HvQP4sswQwVqx0dg Tz6KqmGnbGSfQ39AAdhdV4KP3g/jusE2DMiNquW/xwwqnGubr2IG2CdxNuyG BrCqDtjZV+BdwIUR1jGLbHg9Kp9bBdQegVjWLv+yUN8h1NWuqFm+rLqqsjxe VlpSHCuKFkbCBfl5oWDA7/PynMed68pxOuzZNmuWxWwyGvQ6rUatUirkMpbB qLDJ39zNp0PdaVnIv3p1lNT9CWhILGnoTvPQ1HwhTprvpmj8hZgCYPa9C1MQ MYVFTGzia1BNtJBv8vPpHzb6+Wm8ecMmgG9t9Hfy6bMUbqXwQQrrAfZ6YQDf 5Ohv5NO4m29KN+/u39/U3Qjkjmg1Df6GpCZaiI5otABqAUrb/SNHsL0WU4Cx Ny07wiCVHphK5/gbm9JOfyPhIM0GmxK96fYNm5oaXV5vZ7QwjRt6/FvTyL8y bYxQFNRAp0krGtJKOg0/QFaDbuGPFM7s/+S0CW3tjuh6/b2Jyzel2UQnmcMc gXkb0/a9Zxznq0Dc0rDppqW9LnZ/k2OAJ9X9+2/i04c2bFra6yV5ZyfQgLFM sLl7fzNM/UkQYsvFPMzG3NC5KY1vgCl5shKyKnF9SX8TaenezqfV/pX+/v3b u0E1OfvT6KIJbyYnRzg2fxrlNPH7Ozb5vek6l78z0Zh7xIr2XzQx5RR454U9 0cIjJrMo2CMGowTo9EuB5GIfhSg6gVouWpQsJhz514BBpPkeHjjZ5Ic1VZEs WYX291QBGvx0YhiV7gWNDKTVDd37TctIOxmflgdNfn7/mwgswH/21QtbElKL Imh6ExGQ2MmiqUH/ApyORNLhMDERZQPoFHispfXyaOHuaeZe/4iJhwLEh9pB tonOZTEQv9dLFHzLtIC2QiW9b8Mmsc6jra4MEmKRzjTTTXpmFnpsl5CefQs9 i8O7/WDJj9JLjS2tCi3+M5qys5r6l6Vx9r/oTor9LRf7WzZs3sQ37e+WZNvS cUFN7K9a7JOgdFbDJtbFSBDjYmkvGOXli8ikskmXlgXhn4Iade+0UgVWSVsw 35w2da8W806N1/shB03Pv0FG0eL8MInN9LLIhfXlF9QvYE+3nwWGZSGmpWPz /v2aC/qaIQLt39/s55v3d+9PTM/v2+rnTf79x+C4krd/pKl7QaPT80/c4ko3 f7ITFtGPl4G1MmjlET/+xIYjAv7ExZs3HYP7Lv+Jjk0ZBjMN3Ss7jwSgb9Mx HiGBtjKLraTGkxpcnMDSM4yKdrmOCQjto70y2kDrPdMY0TbVQhtGPdOM2Gai bfAThXtYLuzKuXIE50QlWvkog59WKKdZlZCF5LKnWaRRyp7GyKlSyJ9m2K/j eqSGzXMjckRMb9XM1rSZztW0ztagOoBN70BWUuw1e81ByHCuDL3DszPvCHL0 T8TLZhCcFGCt8rS8n5zScbFwm8+ktdT1mXab9vhvMt3of1j/uEl5u35Kz+CA n0E+v9+rMWjdGrvX4bZr1VjNqNzqbLPNnY0DGuTLHvUbTbwfeU1exutnvFGz yWo2m/yM38vkG4xWg8HI7DZgg2avGXthP5Jl+71mAyPDdr/RF8iHoxfGZ0yC ycjas7M1sFMZs3H2E/ha5MdFgp/XOItDI6F9oUOhk6HTIfD0EB8SQu3QcjCU DikP7HRE2naZus45c1pnz3YhR12NCT51NTmm2S6QhLnabLFXY5J1Waq7qm8y FEVUHzd9G0oHAbq+HTFXV8M/BzKdxaYZMe9aWlGaamqUNSBT1IW7cAR7lQqb 1Z5tt3nLKyoq4TqVLVbKSisryuN5obw8lmU75rzVuUWu7XMr1nysCf8hC7/c HPXVzo641vPZCiZ3+/dP4muvXxmpdplUwaC25x7Zsn8+9IUCTh4MZps8liz1 yr/jn86BXaD182dkTXDv96Ao3iv479Q/pD+mfzxbZrFUqpDH5GHsXFStctzH eb7jNyo5JaOcxq89iu9TcABc9rgqcr1Op9Jy03iL4LRPeENWJZBCSGVSMaow cpgcjCOMp+dnBEOps86I12MmDQrJiUFTpqWcFFPLV8RJKVh1hnh77GSMGYkd ijExLoRDgol02MhQEy4GLbabTppkJmdR1TWgF9O5rl2R1rNdbaauVCQSeUus ne0illp39txZ0NVZ05tn38FvdkVYA4i5pgZ3lRQ3TAj5vrA+KxD0BxmFJZSf V5DHKAxBX1YoD4X1kAXN3jycZ4zkIRSJYCAdjoSvuaZhkxAb0Y9kjfhGwunY TEwxYpi07LZP+kcKrozeaN8fvVN/R/Y9hQ9kP1L4RKFhn/FmM4N2gU47IZId QzFYqdNbR1fs4GmZsXN1hHonaN4MKgc1y8sVCr8vL1Qer6goK822m0HhIX95 VsjvUyrALsAWwA7YnyhU0aq58VXDzVP9Hf2P9Tf0L1frilfetHZH0BGMxaP2 /E1t8nX/fG6n1cvLvK2f3Vh76Non73h9b7we5+zIdueGZ2/8lJX7/BePPBzK 2i9aAdvFPg3nex6XC5sUlhZrl3XY2m9LOiasyqDmQbihPGv+MfNj9pT+lO3v 7H/oNZM27BOybPGNbB877NvDTvquY280vKL/s00dVs1nY5VaHSFmwKtYVZec z0a4OXsa5z/qCmUp5dPYM6XTqrOJdrWg3WzB6YtnDyCoHyXKhjBG5KQ1xEkp OMzlKCfmq/Nt8b3uk/n4AiPm4KRdSqxjCvBp6bGIZag4Tq1GB+Z00oRNTm/V p0RjAVFHWme7zoC9vBWJEGOJRMBWzoKtzBK3Ptd1Bpue3UUtxGP2uIMOu9PO KHItnAflWLM92GN2ebDdBploF+HINbgrQpS8C3upaioq7QsKtID+lPFQHlWd zcZ2zc6rNzclarZW+dZNT5zcsXH24U/9+DV/0OaPe5fjN58YvLjh0ux7rjl0 zVOvYNvL933xCs5S1nmPH0RRBDekB8BHC7FXaFXK1JpC1qddq5Ur5ApNiAmx IVlIE9KGdOvZZs16bZ9mt+ZGjWFvwcGix2SPaZ6RPaP5o+yPmrfkb2k0Bt5t 9fndvNvm84U2FBZOM/nC9jx3yAhX/Q063Q/UbhVSYuUGhvmBwq308O6Az69S KkOMbr2eWY9DTwVxMCddhIsQ1hsNnIEx1LqNiAMLqvV43M6o1VaYH2Dycb5O rw9YDe5q0hBE+cEAY1NFi74O1xIvXEGUsLNEUF1dzVlw0JpzNWZLdazmLK1g utmYznaR+FpTQ1TVBfU/mv5IkSLYdPZVZHqz611lJFJSjLt2oV3YDEqoqCwz +8Fv/GZrdnZZmRQ8IXya46S13Et6QTFMWd7m1Hqd35/1lR159obq6Ozy6PJA jkGbDbDsigLD6M6a+2Rzsz+t2Ldz9tJvXjmX6I/nBYM2g8/Rx15F4Lkrb77e Rcy1DuJoCfsg8uHPHEMBML8HWsrbAycDjFrn0oV1a3Syat3duV/Jnc6Vva58 TcX4BK0+7iWZUY6yOLkpS/aSEs8rMQ5wcr/fGOCy/H5PgIPtEfSscSbVWo0W +XxWa5YCKcKiA4Q9CqFpVVwhrChXCA2QqpdBpbgEsrx8yHwByCJRyDwcZCZz /IQCGxWYV5xQMEhhUjCKaXxc0AQEb31dQKgtDxAHAiK0BDq0LCyiZSYsdgNl WgJJUgpOCAIzAcwF0gEmFhgJMAErZ8O2sNFAsIAwLSuXxWkZK6ElECOFkOUO xN8w4JhhxnDSwBqc/rbFwE5+4NjRVWPq2pWKLPyc61pai9TMdp0l4V7clGvO 1plqoLVrF4nz4KA0/qYiEF3pFkpcMxQiVpAHNkBsg5gFrbLP5a+Yu67hxovX XxnOq8UfzypwBdz5VXm17IOzgR3lysDH29ckrr0Pj26Pq4Kz1/Qu82TlrMfn SA203wweWgnxM8LIjiHF/J8f01arFThKVlgFdhDFcrlcEVSwv2R+wf48h7Up yuXNDPsL/JKLsRgN4BMRzmDymiKHjU+BK7pyrQHOOM28IJh9oQDn9fs0Ac7g 9+cGOLhH/Eqw+fMCXATOTTxvNBo0zj45K1O6YAueOgl76/T8Y8JGRzmegM1L oeHgQBW22axEw1awE6MV89YTVsZKDMcKRmMlRmMVyisgA41bib1YiflYiflY ieVYieWYrNhKjMXIRdNRJhYdiTJRsJioZDG0BCJRyXKikuVEJZOJSiZDZWIE k4nmioEjnJcXoucDYPCNEI6FZuAkxoYkmwlJNkNR1GAsIWehZCJUz2AhJFCY Fuyha5cY5hdqYCGkn1jIucius9REqLHQftZkIEcCuj/zMJFFW8fTiay6OiOc R8RaVrYeanYDZE4jZC5TnZGYsNdatzBRJ5zeUmQXAGNDuyLYJu7e2TbJ8BZj j095YUteOX569fXrLrvCasqrncsrt5sskZyNa/PK5/KWO83E+ibaViVbqu+b ++wgGGFAGXT24EOjNd4r57QDVdCg4LMHGRM1Q7DDNtjHt4Ad+tFfhZ1vKnBA jTvVD3i+w3zHfwq/gn/HKDUqXMiErZdyfept3G71bk3Kc0fWV7O+ap1mnrAe 9Tzh/47nRNCMsC0LsYbck+g0qOgkPo3hQG2FiOPNsjmcjjfM2PwXR0ir9K6W aY1w+I5gaSemRz2X2hw3YnwIp2FEzuHg60EmaMzlcpncUqWER8qj+ZH4Sdht qMRhs1Y6A9JOHQEdiuc6cqaLtJ5J0V367C5TDT1Nd+2q3kXP3KZnSdgnXp7a FaQ7L1MerySyt1mJr+ctbL/iwamCFbiV3xk+frrvylOffqSpanmrWmG3c8W+ eMeaypaSTX91XDWBc5556tOHP7O5urGtt87pLGu99/q/Lo8UEemG5v/O3C6b RU50p2A4oD2gY2im1SHnND4qOLHMamVt1zFYwWuLtYKW1abUSYOWYaexQXDL tUd1OS4skyGjnJMz8nBWtm0Cwrmgs9ZlERmY3L54LGsm62QWm+XMabtk4dAC Jn6OWjGYbZvprdazUEV1s2e6yH2MnltqMBWEuP3Z/FJks4sSKDf76UVi+sUX jSFT/TLPhqOdV5o1e68+slI2O/dwz+xTG2LunuyZnhW+2/F/+ju/PUHucGHI /PJBpEW56AUh27PPbK8zmpEF5XJmk8WUq7AHOAu5Cvj0Ac5MAL8jwOUex6+B 8SlgNeZ4RfywAivgSqrLVVjMGjVZYy60IrVJzagFtkCnM+o5PaMPO+wCkLcT p1pWToop3h+nZZadlkIsWhxP2/EBO0Z2k52xXyl42j0M5+n2HPKkPbKYp85z AIAZz2mPwt02AxdX2Cbe6lrYRkiIOHcWjmpwMYCrAQ0R4haBF0wFTtxZ7/HN UP3mywRh8+bnihrmlLUea9FK+SBtEITL5pbPunoqZYEA47P3MD4AgyC3teCB j4MH6pEXdwiO7+bgPB22XKoyhPQYKe0hpVqldQuyhRuRTAhF4kYZluX4xRsR LVaJRR0tpqpXxEkpBMBfZvwn4c7sF/zdfgLKBf+9cBM2WjgLYxFOarFW8i9a AmlSHgXf0jp9QGPfo3nlVbvg7CWFT9HHpP30LeJpZ5EYImvO0lNwI/aawHk5 D+9hFNYsWxajUIRcuTm5zlxWYdRb8mCVbg/OVls8yKF052GzzpCHPazBg7M0 dg/KldvzEBV2RLxFhSMRco8qycfVeA1eY5rQyUcUk7pJ04hzn+KA7oBpn/N7 zDOcZlIJNy3jpOOAcp9+n/GAQwVe3rWrE4Onl2aDxpSiq1vsPgW9LYs7eQXR WgjP7f3JzuTe53965uUTZWvsBu3qoqgnT28NBXPYp6/+8/7v3ngfzn/6WRxZ 1fr77+/oWrXW6VuxBXsfnnTbiOVfPv939kXQYAmqYdYKNoXJVC3jTdWlQk1j /Jby25T3lLO1RB2JlvKj1fhq5QPRr9Y8Hn0mesr7fPRU+R+j6nJlk3Jt1lr7 mvJN9j7V59A95V/GR/FRla5MiffV3iW7O/r5Ehmqba/tye6uTdlvtx3GX172 FD5dq1Flt9eOLWdXqxibxcYsJ7N82179+nJcWqZSq5SRwvxIYTBSWFBT9kjZ 8TJWVrairLXs42W3lt1b9u9lT5b9qOw3ZWfLtCNluGy5VeVVJVXjKhmjWq5a p9qrull1r+oB1fdUv1SptSqXakTFWi0q1qEPcRGgWNAXW76aKb0DdcVijEMo AKN0cI4tjmHHvY7DjqccypccrzrecbAOh2AwxR0Mp2S0xkKuMFZYVygrbCxo MAY5MJRXEIqp69ST6qfUMh4KRvR1cm4wCbX7ahmhtruWqX0Izocusrr89vy6 eRd2RVClqZKpLAV7DsaH5W/ImWK5IG+Xd8tlcueKqksc07jkhsUL/65zuyLf 7DKRvb4rRSLjW2e64DZhqY7EoJ8ERHKVmD13xnTWbIfNImUhGewcsGdUw56h MtXAvo+6Ijh1RME0dGx6VOdwOxjU1UmNvrRqWa5fY2JlxqA75A1qQ9UhA1wH kY5Xe7DPv4yt9CBTrt6DNT7IqmTLPeQxAZi4dKoAE4cf2JG6UIpcDcmJIBIJ SkEmWC6eA6jZLoae88cFMXLT0G1WiFhlpcyaRz7Rvn0al9uF/PpwTm5ozfK6 S1LPDd1wj92gsepzXJ7SHY3tmzUTy/O8zmjp/jsG1u945FMf215Z4LY4bFwk v6RpXdnq65p3rQzfMfc5AZzasbah5XO4etWGisoiv4vsbhEw/gDcMk0IwrSF xPtuC05bMNxPFMgENxTwBIU2wClo1CfXFBr1dQHOBICQ7YeRcFNB0tVEpyUx XSvGdBqOonEajkhsJ6Xgh+Ce1uIDWoy0Ji2jvZKzHLKkLWzMUmc5YJmxnLbI LQS/JB4n5dFoUdxMQzs52F0Q22lYXwjp0I7fE8inzgfwdf/cvRi22e9tJWEb Vm+ea2bPwv0thnseo7uSbnr+tPC1LFstOfisRWv1q3M6cza7NhVtz9nu6i+6 2TXt+p7LkJ+Vb61CVTnNqFm/TbFNuU13Z+wh9FDO8049UNXH9LqYQaFTcgqb M5uzmchbdRkntxqyOGvYlpcfiBhiseYcpzUnxwlXZoc+u07/MYStSG9AGHtj OU6DXoeUtrwYChAQ7hE5gVciBz3GwCsem9WqUMgVOUjbXXK65I0StoRIVW/N j5fY7TlGW8zG2KYxK9jlBQV8XjyvMY/Ne9YbQfKTcPpwFpdA35T3m5eQ7eBc V+u52a4z4EptTcnGP0ZSVKLknAxXcTh4kbMW+A49c1mqb1IVRSKGhaecBEBi 5796yglOp6oh6oFduEuOQ+QKZqPBOyurojwuVZWYUUouQT3CLgZ2/Le5nzTW F+G/luSXHtq5vKQWVxcta5x7M1nS1H/xtlXx0hUYq1RGhyu/IsQ89m+rDcEg 43OERuY+g113LA8WMsGgfMWR2Za5d2o6tjQsWyc0hLRad/h2ovkChJT9YPcV eL2Q8pBn1VoPVnuu9DDFVU0V7VUPou8heTC3Au9Be3L3uG9EN+Xe5L7L/ZD7 Fffbbt1I1ekqhrNwoFBTwBSUGy3GLKMVBVBQXaHQ8G7G58vh3Rafr2iZO+Tz aXm32efnlrmDPn+Md5eTXfkTQgNy5/IYofxclzU314UqKhCKuj1Wt9uDcIU7 l+VwDqooZzATCrpzLWYVQpVVLlMOzqnVnNC+BL6TU0VP0bmeOGUIavsEtS07 XuXh8mNFpM9M+opOFzEzRSeLmCJnZdU07pjyrtgNsbXwBmoDKXLfhiNmJBUh D13AsZzkoYuDnAngh+REyWADqpuKInLQO5QOCkQcYuSjCk517UJd5BqEvTYS 6SCKvedBDPaLjzxpW3bF0ocz7Ek8wuQX1gScRm12Y3XhbI0Iz/6HY/YNuf7S rrliQ7QtX8tAZ4QJ4x+xVwdtBq8j+c61Sx7PnP1nRPbcO0299tK6YBBz8Zj2 MnbztrI86u0b5s8wP4M9vpS5SbhcW2wz1clM+gKryV0gU1izrc8Enwn90vSK 6T9NygJTMFxlqgjfpP2c/3OBr2i/5J/WPurXynVyvarAplulbdEpBK2gYyyl HLqH4TAm90YsgBndSy7juEnIQvdYYtAQj/094uCc97i4nBwSzwDlIKhwGu8Q /M57sv9uschDEaXFE7JoLWIQFSy2OL7MIr77oM9Ktca4WPPRxydFcNTj4P6V Y4zjWHx9fEt8OD4ZPxxXxC1GFadiVAIMECFfTkH+wuPVfJy/cOnKd5aREyE5 EMLWegaOxrvgOvyYiodbroog2WGASrB661Q1Nj9k2UGoAuvSxZecH99Kkdua ONDLw/K9JHaqgYL3YzCacD4FBGgJNGgJZEiZWaQU6TxDKcA1Ssh3gARzzZCZ XJAZ7JBBaBTR4CpIJvJ4PMY6z/T876bg/kRLwCBlBtApIsU7huTzjwkWwJV7 AFHuASyIvxKK6VVyK8Cms+fOItOrETK9MSZozHUxQW2EDNZC0AiSiEVmDkaB NdjBTk6JJSzVaawLRu0GUvupoAYgGM3W1wWn5/86ZedIeeZxB1+ny3V669Di 04lOtKukmD6h6kIRnEUeWProfi8j5wL6FBm8x8+WkTMBDZGhPDEwik+amc8a fSuuqy9YZuVxqKvtUxsbRjxab7bX5Iv+W3Pxipr+u6IrP3frulUusyXbwX5z 7puf6q8MuJwF371lY9vt7WFtKW6//vrl4eLmVdurLuoZPBw0GsnT5rUIgXWv Qzz66jHkI28rcuI+YgnLTZY47xN87b4Zn6wYAAb/Rql8h3FjB+82+Xxq3m2E 2PabnJx3PG5OmZOPeMZkVKER6gdhwacyqjk4DdY6TQ7MO9odB+E8yZs4zHPt 3CR3kJNxT+AwcjBfm/IObSLvHuG4R57+kS3+nLTLz9aIT3xnI9Kj4Fly8SXq kZ7pvveZLw1BfrNcF+DbGkNbkvaGZdHZZeRBr1G79ebaS+0h+bq5T08Oey3/ fOV8AJFlL9twOx4m0aIFIXYIokUBzhM02pC2WmvVmcQrli9AzjJ/mnJx8Yh0 VoFyX4Yrp1W3R2w2mmgp5Fmz46YIvl17MMJonXpz3OhGHlTAuU0eU4EC27Lt duS7j/PQI5b9Gc5Nj1j+AFdAjlhuv6bUKHhq6oxCbmWdcRt57IcKFB63xtiF NE/gLUiGtzx+UHlSeVrJKqfxE4IWFRjtHNyXw36feL/00edzcarRKRcvatZq yY7P+PCIDyOfycf4fhUmTx9MC2cskP+5c11nz5rOiPdnuB1GIvAvoqQv1cip CwxYOo9FIuTdiPgAbOEhjLQJ2OziSy7yYrOcvtmCk9mzXZ+sr2qoLypvU2r0 7pwCG4+VuljVnHJFRKUJFbMP/uzTW5rqGtY2yhTZvrrE+PNV1SaXkw0E5NV7 GXl7dm6OPEgj+m/ll8p3oAB2H0PZ8/um1Jp47rRYKqRST3bFTgB0OWpXRVZr zo3Zt+QccN2cq9ph3mGZME9YbjY/qHhI/2X7d+0/cGkU2SjUkF2fuy/7BvuN rutzH5cd92hioX5uj2K3frfrxqwnjMpKg9kScKPN4ARg41YBQO9XzBaDfLub NWy3qfGWmBmbc0ZCOGQJDh3DpYjEWrgBq40aTsNoWp3Oc60vd7mmROhsJ33m 1XqGPu+CGwvEJyk6PVtS3HLxxJFSFdxQAtm5Cr0uZA+q1Eo1o3CF9NmaIFLk QqZ1GIJIDTLBC28u4TZC3ox07aJ3cOomEGfIzcJCw4iNhJoAuUwHFiKL/NK8 wjfunPxZSd3l3/78vp/vTv3jy7+cO/z4D3Dntw7ce7mTjynlO+bC09/+zO47 jh2d+/ldIzeP79nxNdw8/S18+UxtIFZGvGYdQopx8Jpmpk3gVjHYYuEEjadS ZcxCNaiZy4LTZbMCV1Q6A5x1mnn+UV80wOUDIFh99QGuxu8T34EIedgX4PKm mVOP+4XluDLALQdYCPtXBrhmv1/pi1Z4lVjmqSntk3n6NBpwiWZFzfL8PGuW ZrUA289qYuGXeHxxtPrQ6vTqmdWy1XA8NhiNnJExhnOcwopyJ3nofa/zKecJ Jys4DzgZ58teX7goCl1R2hV9KnoiygrRA1Em+jIyVnJwWQ2vrCeUc9y+eHf9 6XrmUH26fqaejUF2sp6td65aPc1cPOUlT6vJ4WpXSnybQZ9oQhiTyq4aeuLe Rd6HSaesOnLoNp2VvlhQTa415N/559X0lhqIlbjcWr1cURzKDZXIizxYoXRr czxYp48pSj3YpfOIrynhVkovpuRSitZ0TAgWjlepeZUnT86pvXmI96qUmD4S RxH6kjvQvfr0akahC+jiOmH1L7Ty9fL1qjb1eu3MankVs16xXve2Qka+rLAr Jb7aXk32czcV9JTJVgfu9h9TsHPS0qKtg5vUG4ulWS+2Q0nrRq1YN0r9Jmkc lKR+RFt9fsMkBk3elUtP12n+Po/YFUqz9P2JWmbhqbvivc/dn229rm3zXm/7 be2J0Whe7Zy72mWxRtyRTVGzvX4uNy9qtMZc+d5YOfR5pIfxV3Y0dGzc3N55 8+1z1wzGVRCE8lwJ/JmPN3rr6uY0yZwguVf6Sy7Cn5kUAjauZU7TU6e44CE9 g/Lm1spywC98cNccE5yWmMqoQEpk5hQmpcmsyIrBJgyXavI9C0FL7tmK7/il Z6yCyx+93q40WxQWsyIY4rQKiMAFuEBw5VhKxPheIn2jgt4Fi7Ns8faSkyVM cYlQ0l4yUiIrkU6WYb1F0OFinaBr183oTurkOmdx2y4a83dRnerEryvopK8r 6KSvK5BjCzVa8SsXFLVERC2RUEuWoL4F50L6ZQzxuSsx4Qu+h8GHCh0eZzAS cofygoWOgjwc8kAWzonm4fzc4OL3L6j5gmkuDwh1q+J+kk06Jj2ToclC2Zh1 0jnivso/kjcZucH6Sf/t1jscd3nu8t0TeMD6Fd/DgaPWrwcsjTZMT1pArzNI TwhLbcFrq6gUjUk6d+VlL3zbBmwHH7YXN8/+hT49wJ8oKVuzcdtXNl3279tb G0orN26t8MerQ0Kyfsvc/avjDrh3eu3d7AvkafCVq/nYtX+4/lN/udKXc//e 6o5X/9a5/DPkCePh+T/hd9hvIS2yo9JjyEleolqy4oo1SKlbY9Ea2TXqwqds 2OZ0nDohvgSA27n4RYX3PLJeAuONTYlEE6TG5sRWUrLfolVIs6mtIrQV0e8B sgglTk/+ZIux5k2VU0W/S37f78ubz3+zfK4Z7sSDgKuWfleKjlN655rQpYtI GF34Y1dU41z5d5FJNorWs7ei9Qz5jvrvURHU6yA1Q1sb8zAKMdUoLENoLaTL AY5AaVbeigpYN9og34jWAl4L0NmgeBitg3F5MOYwkKrAOsbIvMi8yKZlh+V/ V9yndCgfVX1OY9Yc1N6qu8lgM3zBOGKqNn/H8kyWgnJnR6sQQ3kj30qLoUtg DTeZ07B+0rpFtleUBVkwzVm6Kg+tsXSUinxzjsIsGqS/90RgGcrHByVYjhx4 WoIVqBCflGAlOoXfkWAVrPlnEqxGNzJvS7BGvpHdJ8FalFL9QoJ1qE+9WoL1 ikfVX5NgA7rctHVR7pOmb0gwRkbzCglmkMy8ToJZVGFul2AZsppvlGA50pnv lmAFyjY/IMFKNGj+ugSrUJYlX4LVqMGyXII1zCOWqyVYi6ptBYu/TVdmW+BN z262fU6CDajI8TpwgmVE6ganW4JlqMgZobAc2jXOTgmWobCzh8IKaFc4b5Vg GQo5b6OwkujFeUyCQRfOb1JYBe0658sSLEOFzjcprCb6zfFKMOjXxUkw0HGt kGDQr6tJgoGm64gEg35dv5Rg0K/rrxIM+s11SzDoN3dhLtCv2yXBoF/3FyUY 9Ov7hwSDfv0DEgz69Z+QYNBv+DoKa4iswi9JMMgqfJbCWmi3RFwSLEOlkSiF dWQtkS0SDPxHtlHYQCw/ckCCZag4ci+FTZTOCQkmdH5L4Swi88IsCQaZFzop bCX8FNZJMPBT2EphG7RbC6+UYBmKF4pzZVP8pyWY4P+Ywk6KPy/BgB8V53IR G4iukmCwgegGCrsJP9ErJRj4iV5DYY7iPyjBBF/UV4DYQPQFCQYbiP6JwmEi n6IsCQb5FIkyJN+BREUNEixbgFVU/osw8F9E+VHRdRVNSjBpp/apE/GPSzBp f5bCVC9F/5BgMu886kATaAQlUR9KoB4oefQVSB2on8KtaBgNQRqTsHjUALUU wCRPQPsAxeChZRDGFwHUSNsT/0tKsUXOeHQx9Ayi8UWcUWgjv+8jzleCquFT jKISVEpb62HEIJQXwZhtwMMYHXUR0BuFRH4PLYl6YY4BtJO28agNyj0UZxja EkB/JZ239z28L/uAcfziyGVoI51tdHF1ZcBdMXx4lA90B2ANKegZhdQH9As+ NOX/iu758eLo82PbQY7RJWvq+IC5vka1R3TTC32kLYV2QBvh9H+uVx5ak6CR AZh1jK6B6IGHOsEZk6heArzywDEZz6MQna8V8vUwdx/VL+GQjEsC1VHKe79E reh9eBJtaRjmJTyNAO7Ef4mVpDZM8PZQrrYtzjsgeUiU2uQY5WEQWiYkOaTo qgjVQmjZSPHHaDsPN1AiPyLJIbomYqtlYKtEjgNUA6klUk6grZQyv8jdef8k fKSo9Hi6FtKbeJccF6gv1Be0tVTjoh7XUX57JR0NUUmOAs0EpZuiK+mT1rCH 8toDOaE7RlsSlFYvpUk8bYjyQTREfJTg9Es4o+DBW6mudgEkymGQym4r1Hqo 3SUpX0NS2bfEIvZQHgbp77vxgDksSYBQ7aGSGYVPH9QGl0iNp/6VXGKHoxJv CxIRtbaNyilBx/ZeoPtROrdoWTzVTy+FxqnUklQu/9oW8iQJDVAaPUs8YivF /td2InrAe/W3VMKijIYkTocW20hkGafRj5eiRxJdQb1uiGprN6U5IPmhKCOx bYSOXZCqaEW7aeTYvegTRNYpae7UooZ2LNrcu/1LlMOH8zFxdSup5Yh2PbzI v2iXohyGpLh+ocRFm+ul2hete5xKWKQ0TtcuztlOaRGKY9CeWBJX2mGtCUp/ QPLngQusWYyRE5SzQTpilK50ULK6fqrHhDRvSop3ZHWjVPPjF/gP4ZZ43AKP xBp4apWiPsi6e2isG1zU8KAUR7dCGqTcTUgrHqexVqS0h/b0U2rD8BFjZo+k m50wRpT1pYDXS2eYkGS0NJ5spWN3SLyKEiIS2AZpL8UhlrI0VhBbF/eAMaln +IIY2kvta/wCLS5QTtCYPryEWi+V3wjVycQFmL1UQikq2wW9FtH9fgzwl8E5 IgYyIJ8iGjWWWmSRFHViFH8nUI9BPkYjAeGL1EbRFkpb9DoxPqYW98iixZH/ 3864h2piISaen6UNvKQDvL4ZUgOccQi8HlqJ9zTT6EHam6DlYsjJKWgV7OhN 8GmlrR1IjzQ0nd933rvDLLT3L4kFI5KUJxYj84fbZc/rakDSsmhbC9Fvgtrr wpxkxbuXnAqWRtkFfkR/2rlkD0tQbxAta0iinqBcJOmeKloYsfNOaTbinbul +L+VRu8BaecS5/mvJLNwTtsj7bjElwaWxMClUV70pD7JWt5PXsPSuojEkhdE 0gWffe98vVIkSVHPH1+MGFslzSzdO98/Al8oKXEvea9VvHfmAclHeZBcgp7H z59SEnSfSNK49P5zE+lfIu2R4p4y8R5diHq68EwoRsIE5WiESnZAiiIfRue8 ZIsLcXzbknlJ7Oilkhb3Y3H3Ty25LxQuYqeW2O35c8m/ltQgjRoD74rp5+kt 7Jej1P7OnwoWYt55zGHAFU/Q41TihH7/4npEvpZa904pSoryF71qRLKP89H0 Qhv6Vys6bx9r6Nrfq7mFvVA82Y0uWY240/RQrQ69Swepd8n7PGWyvmF6luuV 9hJy7hBvKAtx4MNof4Ge6JNJaT+9cF9coPdePYrSElcwJu3l7+fHCxpLvEvW ff8tbs9L+b0z9Ejnt61SbSlHSWknHIO9Z4ECuT/VI/Gmko+qUBxVwt2Sh7wE alG4J8bpbZE8IboEtUiYxdBbAj1xCa6EO0QlHVWByuFGQRKh/t/b6/7nO+NC X+xd0lvcDzsmRpJ9iZ4k/xW+oz/Jtw4PDY9BE98wnBoZTiXGBoaH+JHBniK+ MTGW+ACkGCHGXzw8OE5aRvk1QzCupLq6OApZaRFfPzjIXzSwrX9slL8oOZpM 7U72dgzsTI7ybck9/EXDOxNDK4cHexeoL3tXH086l21MpkbJdGVFxcV8futA T2p4dLhvrOD9kJfi0n7opr3tF0fpTB3vGvUQ35FK9CZ3JlI7+OG+f7lWPpXc NjA6lkwle/mBIX4MUC+5mG9PjPEhvqOVX9/XV8Qnhnr55OBock8/oBUtUgIp DW9LJUb6J5Y2JfnGVGLPwNA2MnYAFBLlLx5LDA0mJ4CH1MDo8FAhv3GgZ2w4 xa9LpHqTQ2Mg2rLSjv6BUeCFsJzYOpjkxxb02TeQGh3jEyMjyYTEI0EnJVmW uHBY47rhoV5Y0VByz+hIYiSZKuT7YIY9/QM9/fzAGL8nMcr3JkcHtg0le4t4 fs0Y3w8to+NbR5O7xoGHwQl+a7JneGeSHx5KEnpEEHuGU4O9o/zOYWBgdLyn Jzk62jc+SFnje1JJKsNRoEYYgaVtGxhKDPK94upH+T0gLH4nqIEfH+pNpt4t hTxgaCCV7KGK2DrxbpmAAhbXJzIMHA0B0SECpYbHt/WDXvjkFWPJodGB3UlY ZJJoFaCR1DBhFUS0e3hwN9FE33gKRqfIgnYQyS3oC3h4H43BdCsToyDrYUIf ZAk8DIGtS4yD5Hr5HhD3eM8YII2PkpHtydRIcmw8QW2lfTAxNDYAeh4QxQwW OcGDnfKjYxOg2p7+RCoBY4Ha2EDPKL91XNRPojcxQiiODfPbyDqSV/QkBwfJ ggfBRrcODA6MTcDE4yODgLRnYKyf3zY8DJYJvAzvnACuLx3oTYIix0dFO9k6 PLxjlDK0M7EtsXdgKDkqWkUqCR4wBpVh0UJ7h3vGxSUS5MTg6DBF6x0YHRlM TIiNvbuTqbEBstai/rGxkWWx2J49e4p2SoIsAtOJ9Y/tHIztHCN/+S+2c3TL GFEd2GOKeGQR6fyQA/ckB4kl0iFt6zvWNK9pqO9Ys76NX9/Mr1vT0NR2cRNf v+qipqbWprYOvUavob6z6DAE7qdWAKoDiYExv4/L0lUNwJJBWsT8JobHycie 4d00FIgmS+iAnnZSD0vwgyCsIUBPbEslk0RgRXwnDOtPgLKGt44lQMKgvQuY ITFtDzgunxygFiiaPCipD8Ryni+Q9tjwtqRopESzi+NACWOpATARIA1sSt65 xIAlpsBLFkWxOBjgBL87MThOQ0pidDQ5tnR0EX8JeCR4ysTCKmBNUiQEI0zw oyPJngEwkfeunAcpEhvfRscmensHiB+D+6fovlBImlNUtjSWvIupwYGdA5Kl Uzzil6NjYkwmlkcbh/dAgB7fOjgw2k/mAVqiuHeCSQL/oKqRCV40U0lCF05E 5bGm7/ziiBdCsBul04DT9CRTQ9IKUhLfFHm0f3gcnDWV3D0AGwqxgfcun+CB JpPgp5IvErzFNQJbMMEYePl5HZOFJSSu+96fLGV5cUAPxLetyQVCME9ibBlB uOTiethU8qvilQV8ZUlVtDheXKxWX9ICjcUlJfE45JVllXxlRXl1ebVe8194 3b90RlKLSexRP6QPxcVjGjlsfdCj+Quxx9A41kP7yx847jxmH/rglxK8hNVM 5xn7QGwJj/0E+yT7bfYpyI980Jh34X70guijF0QfvSD66AXRRy+IPnpB9NEL oo9eEH30guijF0QfvSD66AXRRy+IPnpB9NELoo9eEP1f/IJo8ZnMAPrvPMER sddBKVrwMG0Z/8Dx7x2xikaX0Q8cuYDXjF4Grnegt4DGy9D2wU93LsRfoCPG WhJRPuzM50dspNAHjROxVtOouJs+k/rgMRdit0sngXF6QhUj7AdReL8xS7X2 weu9AFvGyWply2UNsgpZlUyQrZC1yKo/iMJ/MebDPu07j9n8oWQmYrUQyeES aPkg/POYLdIZe8eHkMoSXGxGv2P90PMBYxbx/jc+9r/Q3f9q3v+uXy7+bg6a 96Kn0fv8PIE65mdk7FRTU6kwDWWkiJaZ/ILSY6Qjk5Nb+qSMZe6CUxYHDTiT 7aI9KLNypQRUVInAVDha+lK9RobQ65AYGZJhiNJ01FR+UekbT0Eds3PIiDFp Zd+ZMllhNnZ2yphVKtSb2P9E7ZAYlGaPoBlIDBpm30STkBhAP5yJlpCJ2MNT GkOpCfBfRzykfSz53ZhDkGNaFyAR/NensrIJ+T9ljGY67qVMcVwEpkyO0vZ6 K/tr4OdZ9ifIjzj2d1B6oPwulG4on2G/B7sC4fP+KaOpdB/M9yVA/xI7AVsO x36Z3YtKoXyIvRq5KNovMwZxnl9m8sOl9Rr2QfYqijLK7oK9h2MH2R2ZUo4/ zt4PnArsq1NqLeHv1YzJVvok+zK7A1kB6wxg2Tnjk+wQikEiK5meUutLD9br 2GlY5jSIhQMeMbqX5gL7kwwQgvm+wu5D2dB3gr0G2aB8mL02Y+NmjrP/oGhv ESow330ZVRkppvSG0pl6NXsf9KbZv4HE/0ZnOzcVqipF9SH2k6gYEgNC/T1A vye/BsO+BtBroKbXQDWvgWpeAy5eQwqws7PQcxZwYuyLaIR9AR2EdC/AMiA5 kQEJHqNAIL/0GPtx9iqQhOk4yA5D69VTagPh7KqMJYuiXTWlM5TWPck+j9ZD YoD5U1N2R+nwcfZTdCkHpxwuMuBnGbUORHelqAsYuJfo4El2H3stlcQ1VALp b0AVIyN7HR08P6Uzl06C9jugOgz5AUgnIb0OSQZoHbCGDrQFEgvo7VMGY6nx OLuZDl6TMZRxT7KrYemrqbRWZ2w+yvOqKQA2HGdbwEjWs22ZXg4Y3JCBwaS3 bapqWWnxcbaNLrgtw/nF5kyWkwLNGbVoPA1TGjOZrpEiRjIqA22OSH7Hhqes 9lIOjHEZXVIZ+RUxFk4zkIoh7YMWIvHSKZMFTLyXLaVsl6JuSIcgpSHJQJGl gF4KiixFp2mLka2ANVWgeUgsKLACvQGJgfYSVAfpAKSnIJ2GJKet3ZAYaC+G GbohPwiJAYoxqJsgFyB1Q9oH6RCkGUhvQFKiE2wU5iG/N1QM+T5IaUgvseS3 h4bZQuCjkPxuFcujWRVCHJpk7hKW4Uk0iSeZSXZSNimfNE2aVUJ5sLBU2E6y IpLlQ1bZrR5R71OzxWpB3a5mTWpezZDfplUuKyO/zmtRLCv7VesrrW+3spbK g4qDSuZEvQ62hJcgvQ6JRSewCWomqJmEm9gTtS/Vvl7Lnmh9qfX1VvbEiy+9 +PqL7InoS9HXo6zQ6lpWWrkFD+NJfADLOBzDdXg9lm1hh9lJ9gAr49gYWwe2 IOvWjmj3aVnyBy3btaxJy2uZg9pD2rR2RntSK08rZhQnFacVbyjk7YpuxYhi n+Kg4pBCwSljyjqloJC9Ud/AvABCPQR5GhKD9kF+kEIm2jMD+UlaP0jr3ZCP 0LoAeTuF/JAXEwiSH2j9CvD2QX4QEsEjdT/kxaQOyQ8h/JfQNgL5QUgM80sh 11ccEAKMKcAHGBTAbwTwycDpAJMOzASYmfplzCnK5Sng8hTl8hSMPEXnPgV0 AYLkB26fp3jPA97zFO95wCPQ+7V1Qz5CIQHydgr5IS8mEPN8xl9prLcz9wDF LZDfC+klSCyKQV4HaZjWOILB3AO5wNw9lVdYum+auTsTgkAIhU8sPGKRS4sp Z07plnojczeQvBtI3g1ESI2DVEdq8zPMXZlGgntXZoVYLCt7qb4StkrCyl3o MCQGrYf8XgrFIK+j0GGKY1yspyE/TaERyA8tjttCIQ7yhbEsczd87gLIyOyF 1r2ClkHZ5D9atJhVlmnmicyAhZtmHs3km6CYEosMKeqzGBZkr6d/XVSPv0bz e2n+WZpfSnOjoPXr/9Ov/45f/6BfX69h1qIANL9B85dpvl0wBPR/DuifCei/ FNDfF9Afx79HPujwCjk+/R98+t/49I/79A/79Lf59Jf79Bt8+nU+QiofTiZ6 xk1y/DGa5wp2Xv8Or/8tr/8Br/8er/8ir+/k9ct4QMd/g01Tjz9P8ztoXv54 XM/F9e64/gkGIhO+LGNE6uMMgy9DelaTCddy06yaFow30xqEIjfTWg+FK9N6 ERQ5mdYUFFmZ1tu4ejVjxEfgRMIxBnxERUpdJnwNdGvFQpUJfwwKeSZczU3j uUzYD8U/M31uKN7O9HmgeCvTF4fiTVJ8Hf8d9TFABv810/cFII9fQfmELP4T CjGPQDmdaa0D7MfF2fGjqBYHoTmDBMIF/momDMzhhzLhfCgezIQDUDwgFl/K hDkovpjpK4LiC5m+26D4t0zfGSjuzuQPEnp3oXxK504UouVoptUF3bsyrYTC SKY1BsVwprUcih2Z2h9CMZCpPUOGbsNHMFg27kNhymki0xcm/x+FtJAulE+7 L0fllPKqTCsRSTMhUq/HTdJCGnEDOdjhlfgIpSJkwsWAVpsJh6BYIUquJtMX gaIqkw8yxpWZ/C+A5CqkCQqIfr6OA8AGIeTPhB8BJC7TVwCFJ9PXBIWLjASm sqRZLaiWMmXOhAmWKRPmuW9gLeqjFDUohO8+ys0C3X/WTuONGe5tYVqFM9w/ 8qE4yr3aupX7S+s0HGu5V8CFHznKvQSoL9YCKGi5X4fPcC/0+bjvhwFDcHHP hou4p0MT3HT+cW6q1cMdAcbSfVu5w32UwtdCMCzDPZQ/zWAYfahvHXdnOMLd EZomPHwGkG8icwChG8IT3LWha7hxMIWx1pu50bCbG8n/GLc9n0xk5wbCF3H9 sJBtMCbZt41LhG/jusspxx8L/5C7uJyuoaWPrmhNLe1Y3XcR1wwcQEcd6QAO loNdlsLQovLjREYoihumfshdUvl1BnZhvA9SSihSPqm8WrlV2aFcCftNnjKo 9Co9SqvKojKpDCqdSqNSqRQqmYpRIRVirORvdUXIb8tbFSZSKGQkl1HYxJCc ob9MjxisYtBalM5iW5iWi1emKyMt08r5i9JVkZa0sv2yTUcw/lQnbknP9KCW rXz6rYv901izYXNa7l+J05YW1NKx0gHIaeYT0xh1bJrG82TEDS7yn3UdQxgX 3nCri5TNN9za2Ymyd9c56iy15urmxvfJuqW8qfH8H0JZ+HN7izV3+vaWizel H3Z3pksJMO/ubEkXkP/Q6xgzyGxvajzG7CBF56ZjuJ8ZbLqItOP+xk5AW07R UC2zA9BQKykAjbkc1RI0aL98CRo+As2NR2prRaT1+AhBAqdZT5E2i0gNS5HY W3ADRWpgb6FIXxAnDAMfMKFACkCTD6IwnTAsH6RoDoJ2JBQCSn0hgnKkNAQI R0KltHvD+e58sfvfxe5/J93TGJ/vLw+J3OajEJ0hxOQDTuT/x5/kyv/BIDy1 YvfQJvIfsXX7m5KQutO37O53pPdt5fkjQ7ul/6Et1L21p5+UiWR6tz/ZmB7y N/JHVmx6n+5NpHuFv/EI2tTUsenIJiHZmFkhrGjyJxo7p9quqdp1wVw3L85V dc37ELuGEKsic7Xtep/uXaS7jcy1i8y1i8zVJrTRuVouWolb2jcdUaGV5C8K 0XKK0WrAW7pd3s6V2aaRWuo6y72Oq11PyBB+CGkjnWmdf2VaD4l0Reuj9aQL XJp0Gch/tid1Oa5e7nU9gR+SukzQbPavRGOOpoFG+DcKP2Nj4/ADMh4dFWXt EDvGIk20HxDGABqjP4AJMEmjtFXqH0Pj538iEREXjUYaNh1pbW1yDDSSP3k8 Rc7dkc5RFImIE0YiCOaEVdODfjY96GsV2WU/b/1D65ut7Aw94Z+EdJqe8Gfg dH8S0mk44XvYmdqTtadr2ZnWk62nAffFky+efpGdiZ6Mno6ylRIHZKpODBye /4xHRsdH6d8spqul64bqWGQ0Qpa8IAOoRUgrkQr8iO10XASoRBbHRs4Do2Ln OB0ito6eN+D/AwbIxf4NCmVuZHN0cmVhbQ0KZW5kb2JqDQoNCjIxIDAgb2Jq DQoxNjkxMA0KZW5kb2JqDQoNCjIyIDAgb2JqDQo8PCAvVHlwZSAvRm9udERl c2NyaXB0b3INCiAgIC9Gb250TmFtZSAvQ0FBQUFBK1RpbWVzTmV3Um9tYW5Q Uy1Cb2xkTVQNCiAgIC9GbGFncyA2DQogICAvRm9udEJCb3ggWyAtNTU4IC0z MDYgMjAwMCAxMDI2IF0NCiAgIC9JdGFsaWNBbmdsZSAwDQogICAvQXNjZW50 IDg5MQ0KICAgL0Rlc2NlbnQgMjE2DQogICAvQ2FwSGVpZ2h0IDEwMjUNCiAg IC9TdGVtViA4MA0KICAgL0ZvbnRGaWxlMiAyMCAwIFINCj4+DQplbmRvYmoN Cg0KMjMgMCBvYmoNCjw8IC9MZW5ndGggMzMyDQogICAvRmlsdGVyIC9GbGF0 ZURlY29kZSA+Pg0Kc3RyZWFtDQp4nF2SzW6DMBCE70i8g4/pIQITQhoJIaUk SBz6o9I+ALGXFKkYy5ADb1/YaaKqF9C3nll7vA7y8liadhTBm+tVRaNoWqMd Df3VKRJnurTG92QkdKvGG/JPdbX1vWD2V9MwUleaphdp6ntCBO+zYBjdJFYH 3Z/pgYuvTpNrzUWsPvMKpepq7Td1ZEYR+l6WCU3N0vO5ti91RyJg+7rUs6Id p/Vs/CP5mCyJCAWJs6le02BrRa42F/K9NAwzkRZF5ntk9P/VKILr3Kiv2i1q OavDMJbZAhFDEjNsAFuGmCEKGbbwJAwJww6yHTwnhkfAhmEPGVofsLJneAIU DDkAxzkCcoYTGsBT4ATHBWSIFd5HIs+W95HIs4sYkCeGDHkSNECeHYeTyLM5 4AJvF7XcJY//Pil1dW4eEr8SHs4yltbQ/SXZ3rLv9/MD5A+h2mVuZHN0cmVh bQ0KZW5kb2JqDQoNCjI0IDAgb2JqDQo8PCAvVHlwZSAvRm9udA0KICAgL1N1 YnR5cGUgL1RydWVUeXBlDQogICAvQmFzZUZvbnQgL0NBQUFBQStUaW1lc05l d1JvbWFuUFMtQm9sZE1UDQogICAvRmlyc3RDaGFyIDANCiAgIC9MYXN0Q2hh ciAyMg0KICAgL1dpZHRocyBbIDc3NyA3MjIgNTU2IDQ0MyAyNTAgNjEwIDU1 NiA1NTYNCiAgICAgNDQzIDMzMyAyNzcgNTAwIDUwMCAyNzcgNTAwIDk0Mw0K ICAgICAzODkgNjY2IDQ0MyA3MjIgODMzIDU1NiAzMzMgXQ0KICAgL0ZvbnRE ZXNjcmlwdG9yIDIyIDAgUg0KICAgL1RvVW5pY29kZSAyMyAwIFINCj4+DQpl bmRvYmoNCg0KMjUgMCBvYmoNCjw8IC9GMSAxOSAwIFINCiAgIC9GMiAyNCAw IFINCiAgIC9GMyAxNCAwIFINCiAgID4+DQplbmRvYmoNCg0KMjYgMCBvYmoN Cjw8IC9JbTQgNCAwIFINCiAgIC9JbTMgMyAwIFINCiAgID4+DQplbmRvYmoN Cg0KMjcgMCBvYmoNCjw8DQogICAvRm9udCAyNSAwIFINCiAgIC9YT2JqZWN0 IDI2IDAgUg0KICAgL1Byb2NTZXQgWyAvUERGIC9JbWFnZUMgL0ltYWdlSSBd DQo+Pg0KZW5kb2JqDQoNCjI4IDAgb2JqDQo8PCAvVHlwZSAvUGFnZQ0KICAg L1BhcmVudCA5IDAgUg0KICAgL1Jlc291cmNlcyAyNyAwIFINCiAgIC9NZWRp YUJveCBbIDAgMCA2MTIgNzkyIF0NCiAgIC9Db250ZW50cyAxIDAgUg0KPj4N CmVuZG9iag0KDQoyOSAwIG9iag0KPDwgL1R5cGUgL1BhZ2UNCiAgIC9QYXJl bnQgOSAwIFINCiAgIC9SZXNvdXJjZXMgMjcgMCBSDQogICAvTWVkaWFCb3gg WyAwIDAgNjEyIDc5MiBdDQogICAvQ29udGVudHMgNyAwIFINCj4+DQplbmRv YmoNCg0KOSAwIG9iag0KPDwgL1R5cGUgL1BhZ2VzDQogICAvUmVzb3VyY2Vz IDI3IDAgUg0KICAgL01lZGlhQm94IFsgMCAwIDU5NSA4NDIgXQ0KICAgL0tp ZHMgWyAyOCAwIFINCiAgICAgICAgICAgMjkgMCBSDQogICAgICAgICAgIF0N CiAgIC9Db3VudCAyDQo+Pg0KZW5kb2JqDQoNCjMwIDAgb2JqDQo8PCAvVHlw ZSAvQ2F0YWxvZw0KICAgL1BhZ2VzIDkgMCBSDQo+Pg0KZW5kb2JqDQoNCjMx IDAgb2JqDQo8PCAvQ3JlYXRvciA8RkVGRjAwNTcwMDcyMDA2OTAwNzQwMDY1 MDA3Mj4NCi9Qcm9kdWNlciA8RkVGRjAwNEYwMDcwMDA2NTAwNkUwMDRGMDA2 NjAwNjYwMDY5MDA2MzAwNjUwMDJFMDA2RjAwNzIwMDY3MDAyMDAwMzEwMDJF MDAzMTAwMkUwMDMyPg0KL0NyZWF0aW9uRGF0ZSAoRDoyMDA0MTExNjAwMTgw Mi0wNScwMCcpDQo+Pg0KZW5kb2JqDQoNCnhyZWYNCjAgMzINCjAwMDAwMDAw MDAgNjU1MzUgZg0KMDAwMDAwMDAxNyAwMDAwMCBuDQowMDAwMDAwNzMyIDAw MDAwIG4NCjAwMDAwMTAzODAgMDAwMDAgbg0KMDAwMDAwMDc1OCAwMDAwMCBu DQowMDAwMDEwMzU1IDAwMDAwIG4NCjAwMDAwMTc3NTEgMDAwMDAgbg0KMDAw MDAxNzc3NiAwMDAwMCBuDQowMDAwMDE5Mjk5IDAwMDAwIG4NCjAwMDAwODc1 MzEgMDAwMDAgbg0KMDAwMDAxOTMyNiAwMDAwMCBuDQowMDAwMDM4NjQ4IDAw MDAwIG4NCjAwMDAwMzg2NzUgMDAwMDAgbg0KMDAwMDAzODkxOSAwMDAwMCBu DQowMDAwMDM5NDMyIDAwMDAwIG4NCjAwMDAwMzk4NDUgMDAwMDAgbg0KMDAw MDA2NzgxOCAwMDAwMCBuDQowMDAwMDY3ODQ1IDAwMDAwIG4NCjAwMDAwNjgw OTQgMDAwMDAgbg0KMDAwMDA2ODYwMiAwMDAwMCBuDQowMDAwMDY5MDE0IDAw MDAwIG4NCjAwMDAwODYwMzIgMDAwMDAgbg0KMDAwMDA4NjA1OSAwMDAwMCBu DQowMDAwMDg2MzEzIDAwMDAwIG4NCjAwMDAwODY3MjggMDAwMDAgbg0KMDAw MDA4NzAzOSAwMDAwMCBuDQowMDAwMDg3MTExIDAwMDAwIG4NCjAwMDAwODcx NjggMDAwMDAgbg0KMDAwMDA4NzI3MSAwMDAwMCBuDQowMDAwMDg3NDAxIDAw MDAwIG4NCjAwMDAwODc2ODggMDAwMDAgbg0KMDAwMDA4Nzc0OCAwMDAwMCBu DQp0cmFpbGVyDQo8PCAvU2l6ZSAzMg0KICAgL1Jvb3QgMzAgMCBSDQogICAv SW5mbyAzMSAwIFINCj4+DQpzdGFydHhyZWYNCjg3OTU1DQolJUVPRg0K --0-484126245-1100584472=:87773-- From [email protected] Tue Nov 16 09:14:38 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11067 invoked from network); 16 Nov 2004 09:14:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 16 Nov 2004 09:14:38 -0000 Received: (qmail 96760 invoked by uid 500); 16 Nov 2004 09:14:37 -0000 Delivered-To: [email protected] Received: (qmail 96713 invoked by uid 500); 16 Nov 2004 09:14:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 96699 invoked by uid 99); 16 Nov 2004 09:14:36 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO [161.129.204.104]) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 16 Nov 2004 01:14:35 -0800 Message-ID: <[email protected]> Date: Tue, 16 Nov 2004 10:12:28 +0100 From: Manfred Geiler <[email protected]> User-Agent: Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: MyFaces Development <[email protected]> Subject: Re: [Patch] Added Tree Table Support to Existing Tree Component. References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Thanks, David. Oliver, as the master of the tree ;-) could you please add this patch? Thanks, Manfred David Le Strat wrote: > All, > > Also see > http://nagoya.apache.org/jira/browse/MYFACES-8 for > patch. > > Please find attached an enhancement to the MyFaces > tree. The initial component provided by MyFaces > provides a great basic tree functionality but did not > provide the option to display table tree. I extended > the HtmlTree component to provide for that support as > illustrated in the enclosed PDF. > > I enclosed the following items: > > 1. A quick overview of the enhancements made to the > tree component. > 2. A patch for the code in question developed against > the latest subversion trunk as of 11/16/2004 12:30AM > EST. > 3. An image that is needed for the footer of the > extended component to be added to > webapps/examples/web/images, sw_med_rond.gif > 4. The provided code implements an example integrated > with MyFaces example application. I integrate the > treeTable.jsf page to the example navigation. > > Looking forward to your feedback. > > Regards, > > David Le Strat. > > > > __________________________________ > Do you Yahoo!? > Meet the all-new My Yahoo! - Try it today! > http://my.yahoo.com > > > > > > __________________________________ > Do you Yahoo!? > The all-new My Yahoo! - Get yours free! > http://my.yahoo.com > From [email protected] Tue Nov 16 23:25:30 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40792 invoked from network); 16 Nov 2004 23:25:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 16 Nov 2004 23:25:30 -0000 Received: (qmail 85328 invoked by uid 500); 16 Nov 2004 23:25:30 -0000 Delivered-To: [email protected] Received: (qmail 85291 invoked by uid 500); 16 Nov 2004 23:25:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 85280 invoked by uid 99); 16 Nov 2004 23:25:29 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO h4403.serverkompetenz.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 16 Nov 2004 15:25:25 -0800 Received: from [161.129.204.104] (p5081F1C5.dip0.t-ipconnect.de [161.129.204.104]) by h4403.serverkompetenz.net (Postfix) with ESMTP id 7DCCC3B8017 for <[email protected]>; Wed, 17 Nov 2004 00:25:16 +0100 (CET) Message-ID: <[email protected]> Date: Wed, 17 Nov 2004 00:25:17 +0100 From: Oliver Rossmueller <[email protected]> User-Agent: Mozilla Thunderbird 0.8 (X11/20040926) X-Accept-Language: en-us, en MIME-Version: 1.0 To: MyFaces Development <[email protected]> Subject: Re: [Patch] Added Tree Table Support to Existing Tree Component. References: <[email protected]> In-Reply-To: <[email protected]> X-Enigmail-Version: 161.129.204.104 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N David, great work! I'll add you enhancement to the code base as soon as possible. Thanks. Best regards, Oliver David Le Strat wrote: >All, > >Also see >http://nagoya.apache.org/jira/browse/MYFACES-8 for >patch. > >Please find attached an enhancement to the MyFaces >tree. The initial component provided by MyFaces >provides a great basic tree functionality but did not >provide the option to display table tree. I extended >the HtmlTree component to provide for that support as >illustrated in the enclosed PDF. > >I enclosed the following items: > >1. A quick overview of the enhancements made to the >tree component. >2. A patch for the code in question developed against >the latest subversion trunk as of 11/16/2004 12:30AM >EST. >3. An image that is needed for the footer of the >extended component to be added to >webapps/examples/web/images, sw_med_rond.gif >4. The provided code implements an example integrated >with MyFaces example application. I integrate the >treeTable.jsf page to the example navigation. > >Looking forward to your feedback. > >Regards, > >David Le Strat. > > > >__________________________________ >Do you Yahoo!? >Meet the all-new My Yahoo! - Try it today! >http://my.yahoo.com > > > > > >__________________________________ >Do you Yahoo!? >The all-new My Yahoo! - Get yours free! >http://my.yahoo.com > > > -- Oliver Rossmueller Software Engineer and IT-Consultant Hamburg, Germany http://www.rossmueller.com From [email protected] Wed Nov 17 12:44:30 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28409 invoked from network); 17 Nov 2004 12:44:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 17 Nov 2004 12:44:29 -0000 Received: (qmail 38428 invoked by uid 500); 17 Nov 2004 12:44:11 -0000 Delivered-To: [email protected] Received: (qmail 38318 invoked by uid 500); 17 Nov 2004 12:44:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 38227 invoked by uid 99); 17 Nov 2004 12:44:09 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO [161.129.204.104]) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 17 Nov 2004 04:44:09 -0800 Message-ID: <[email protected]> Date: Wed, 17 Nov 2004 13:42:24 +0100 From: Manfred Geiler <[email protected]> User-Agent: Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: MyFaces Development <[email protected]> Subject: Next MyFaces Release Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Ted, We would like to release a new MyFaces version as soon as possible. Can you tell us, what are the necessary pre-steps? - What has to be done first? - How does it work? (where are the file servers, etc.) Thanks, Manfred From [email protected] Wed Nov 17 13:46:31 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 61327 invoked from network); 17 Nov 2004 13:46:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 17 Nov 2004 13:46:30 -0000 Received: (qmail 63246 invoked by uid 500); 17 Nov 2004 13:46:29 -0000 Delivered-To: [email protected] Received: (qmail 63204 invoked by uid 500); 17 Nov 2004 13:46:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 63172 invoked by uid 99); 17 Nov 2004 13:46:28 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: error (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO main01.cmc.com.vn) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 17 Nov 2004 05:46:23 -0800 Received: from mailserver.cmc.com.vn (mail.hn.cmc.vn [161.129.204.104]) by main01.cmc.com.vn (8.12.8/linuxconf) with ESMTP id iAHDjpK2024194; Wed, 17 Nov 2004 20:45:52 +0700 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Subject: RE: [BAYESIAN SPAM] - Re: New Popup-Component - Bayesian Filter detected spam Date: Wed, 17 Nov 2004 20:49:23 +0700 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [BAYESIAN SPAM] - Re: New Popup-Component - Bayesian Filter detected spam Thread-Index: AcTMnkm/mSiAA0/WQjKbx75hDi9/qQADRN6A From: "Tran Danh Thang" <[email protected]> To: "MyFaces Discussion" <[email protected]> Cc: <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Does anyone have example about using treeSelectionListener tag in JSF? Please send it to me. Thanks a lot -----Original Message----- From: No Galz [mailto:[email protected]]=20 Sent: Wednesday, November 17, 2004 7:05 PM To: MyFaces Discussion; [email protected] Subject: [BAYESIAN SPAM] - Re: New Popup-Component - Bayesian Filter detected spam Hii, Can someone tell us the roadmap to roll out the new version of myfaces and the availability of them from the myfaces.org. Regards, fargo --- Martin Marinschek <[email protected]> wrote: > Hi there, >=20 > amongst the examples you can find a new > popup-component - usable with > any content you dare to imagine (see examples, > popup.jsp); attention: > there is an overlay bug in IE which leads to select > boxes shining > through any divs above them; so don't let the > popup-box show over > forms with select-boxes. >=20 > Another thing: in Mozilla/Firefox I have the problem > that mouse-events > seem to be swallowed when the mouse is sufficiently > fast moved out of > the popup-box, leading to the effect that the > popup-box will not > properly be closed. Has anybody of you got a > workaround for this > effect? >=20 > regards, >=20 > Martin >=20 =09 __________________________________=20 Do you Yahoo!?=20 The all-new My Yahoo! - Get yours free!=20 http://my.yahoo.com=20 =20 From [email protected] Wed Nov 17 13:50:47 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63167 invoked from network); 17 Nov 2004 13:50:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 17 Nov 2004 13:50:46 -0000 Received: (qmail 69014 invoked by uid 500); 17 Nov 2004 13:50:45 -0000 Delivered-To: [email protected] Received: (qmail 68932 invoked by uid 500); 17 Nov 2004 13:50:45 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 68905 invoked by uid 99); 17 Nov 2004 13:50:44 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: error (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO main01.cmc.com.vn) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 17 Nov 2004 05:50:44 -0800 Received: from mailserver.cmc.com.vn (mail.hn.cmc.vn [161.129.204.104]) by main01.cmc.com.vn (8.12.8/linuxconf) with ESMTP id iAHDoBK2024292; Wed, 17 Nov 2004 20:50:14 +0700 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Subject: Tree question Date: Wed, 17 Nov 2004 20:53:43 +0700 Message-ID: <[email protected]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Tree question Thread-Index: AcTMnkm/mSiAA0/WQjKbx75hDi9/qQADRN6AAABcVQA= From: "Tran Danh Thang" <[email protected]> To: "MyFaces Development" <[email protected]>, "MyFaces Discussion" <[email protected]> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Does anyone have example about using treeSelectionListener tag in JSF? Please send it to me. Thanks a lot From [email protected] Thu Nov 18 08:10:14 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 43203 invoked from network); 18 Nov 2004 08:10:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 18 Nov 2004 08:10:13 -0000 Received: (qmail 47456 invoked by uid 500); 18 Nov 2004 08:10:13 -0000 Delivered-To: [email protected] Received: (qmail 47421 invoked by uid 500); 18 Nov 2004 08:10:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 47409 invoked by uid 99); 18 Nov 2004 08:10:12 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_60_70,HTML_MESSAGE,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO mailsw2.globus.ch) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 18 Nov 2004 00:10:10 -0800 Received: from v0c132ns.gknet.ch (unverified [161.129.204.104]) by mailsw2.globus.ch (Content Technologies SMTPRS 4.3.12) with ESMTP id <[email protected]> for <[email protected]>; Thu, 18 Nov 2004 09:09:27 +0100 In-Reply-To: <1100763681.1989.6.camel@alecs> To: "MyFaces Discussion" <[email protected]> Subject: x:message tag MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5.1 January 21, 2004 Message-ID: <[email protected]> From: [email protected] Date: Thu, 18 Nov 2004 09:09:52 +0100 X-MIMETrack: Serialize by Router on V0C132NS/Globus-Gruppe(Release 5.0.11 |July 24, 2002) at 18.11.2004 09:09:57, Serialize [email protected] 09:09:57 Content-Type: multipart/alternative; boundary="=_alternative 002CD998C1256F50_=" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Dies ist eine mehrteilige Nachricht im MIME-Format. --=_alternative 002CD998C1256F50_= Content-Type: text/plain; charset="US-ASCII" Hi there, I played around with the messages tag. I realised, that it is not possible to set a x:message tag before the input tag which it is referencing to. Like this: <x:message for="rayon" detailFormat="*" styleClass="ErrorText" /> <h:inputText id="rayon" styleClass="FieldForm NormalText TextLeftAlign" value="#{WVSForm.a_WVSObject.a_Rayon}"> <f:validateLongRange minimum="0" maximum="9999"/> </h:inputText> Error: Can't find Component"rayon" It works if I set the x:message tag after the input tag: <h:inputText id="rayon" styleClass="FieldForm NormalText TextLeftAlign" value="#{WVSForm.a_WVSObject.a_Rayon}"> <f:validateLongRange minimum="0" maximum="9999"/> </h:inputText> <x:message for="rayon" detailFormat="*" styleClass="ErrorText" /> But on the other hand, in the x:dataTable it doesen't matter. both <h:column > <x:message for="skunbr" detailFormat="*" styleClass="ErrorText" /> <h:inputText id="skunbr" value="#{sku.a_Skunbr}" required="true" > <f:validateLength minimum="8" maximum="8" /> </h:inputText> </h:column> and <h:column > <h:inputText id="skunbr" value="#{sku.a_Skunbr}" required="true" > <f:validateLength minimum="8" maximum="8" /> </h:inputText> <x:message for="skunbr" detailFormat="*" styleClass="ErrorText" /> </h:column> work perfectly. Now my question is: Is this correct or is this a remaining bug? greetz, Chris --=_alternative 002CD998C1256F50_= Content-Type: text/html; charset="US-ASCII" <br><font size=2 face="sans-serif">Hi there,</font> <br> <br><font size=2 face="sans-serif">I played around with the messages tag. I realised, that it is not possible to set a x:message tag </font> <br><font size=2 face="sans-serif">before the input tag which it is referencing to. Like this:</font> <br> <br><font size=2 face="sans-serif">&lt;x:message for=&quot;rayon&quot; detailFormat=&quot;*&quot; styleClass=&quot;ErrorText&quot; /&gt;</font> <br><font size=2 face="sans-serif">&lt;h:inputText id=&quot;rayon&quot; styleClass=&quot;FieldForm NormalText TextLeftAlign&quot; value=&quot;#{WVSForm.a_WVSObject.a_Rayon}&quot;&gt;</font> <br><font size=2 face="sans-serif">&nbsp; &lt;f:validateLongRange minimum=&quot;0&quot; maximum=&quot;9999&quot;/&gt;</font> <br><font size=2 face="sans-serif">&lt;/h:inputText&gt;</font> <br> <br><font size=2 face="sans-serif">Error: Can't find Component&quot;rayon&quot;</font> <br> <br><font size=2 face="sans-serif">It works if I set the x:message tag after the input tag:</font> <br> <br><font size=2 face="sans-serif">&lt;h:inputText id=&quot;rayon&quot; styleClass=&quot;FieldForm NormalText TextLeftAlign&quot; value=&quot;#{WVSForm.a_WVSObject.a_Rayon}&quot;&gt;</font> <br><font size=2 face="sans-serif">&nbsp; &lt;f:validateLongRange minimum=&quot;0&quot; maximum=&quot;9999&quot;/&gt;</font> <br><font size=2 face="sans-serif">&lt;/h:inputText&gt;</font> <br><font size=2 face="sans-serif">&lt;x:message for=&quot;rayon&quot; detailFormat=&quot;*&quot; styleClass=&quot;ErrorText&quot; /&gt;</font> <br> <br> <br><font size=2 face="sans-serif">But on the other hand, in the x:dataTable it doesen't matter. both </font> <br> <br><font size=2 face="sans-serif">&lt;h:column &gt;</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &lt;x:message for=&quot;skunbr&quot; detailFormat=&quot;*&quot; styleClass=&quot;ErrorText&quot; /&gt;</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &lt;h:inputText id=&quot;skunbr&quot; value=&quot;#{sku.a_Skunbr}&quot; required=&quot;true&quot; &nbsp;&gt;</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;f:validateLength minimum=&quot;8&quot; maximum=&quot;8&quot; /&gt;</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &lt;/h:inputText&gt;</font> <br><font size=2 face="sans-serif">&nbsp;&lt;/h:column&gt;</font> <br> <br><font size=2 face="sans-serif">and</font> <br> <br><font size=2 face="sans-serif">&lt;h:column &gt;</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &lt;h:inputText id=&quot;skunbr&quot; value=&quot;#{sku.a_Skunbr}&quot; required=&quot;true&quot; &nbsp;&gt;</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;f:validateLength minimum=&quot;8&quot; maximum=&quot;8&quot; /&gt;</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &lt;/h:inputText&gt;</font> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &lt;x:message for=&quot;skunbr&quot; detailFormat=&quot;*&quot; styleClass=&quot;ErrorText&quot; /&gt;</font> <br><font size=2 face="sans-serif">&lt;/h:column&gt;</font> <br> <br><font size=2 face="sans-serif">work perfectly.</font> <br> <br><font size=2 face="sans-serif">Now my question is: Is this correct or is this a remaining bug?</font> <br> <br><font size=2 face="sans-serif">greetz,</font> <br> <br><font size=2 face="sans-serif">&nbsp;Chris</font> <br> --=_alternative 002CD998C1256F50_=-- From [email protected] Thu Nov 18 08:15:34 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51963 invoked from network); 18 Nov 2004 08:15:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 18 Nov 2004 08:15:34 -0000 Received: (qmail 50486 invoked by uid 500); 18 Nov 2004 08:15:34 -0000 Delivered-To: [email protected] Received: (qmail 50420 invoked by uid 500); 18 Nov 2004 08:15:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 50408 invoked by uid 99); 18 Nov 2004 08:15:33 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_60_70,HTML_MESSAGE,SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO moutng.kundenserver.de) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 18 Nov 2004 00:15:28 -0800 Received: from [161.129.204.104] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1CUhRh-0005jY-00 for [email protected]; Thu, 18 Nov 2004 09:15:13 +0100 Received: from [161.129.204.104] (helo=fumakilla) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1CUhRg-0002Ph-00 for [email protected]; Thu, 18 Nov 2004 09:15:12 +0100 From: "Matthias Wessendorf" <[email protected]> To: "'MyFaces Development'" <[email protected]> Subject: RE: message tag Date: Thu, 18 Nov 2004 09:14:24 +0100 Message-ID: <003301c4cd46$9f7423d0$6402a8c0@fumakilla> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0034_01C4CD4F.01388BD0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: <[email protected]> X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Provags-ID: kundenserver.de [email protected] auth:157ed430dbf2887568e54eb61bfb58ed X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------=_NextPart_000_0034_01C4CD4F.01388BD0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Chris, this is generell in JSF (see [Bergsten] ) the component tree does not know a component with ID=rayon, when I comes first to <x:message/>. Bergsten: http://www.onjava.com/pub/a/onjava/2004/06/09/jsf.html -Matthias -----Original Message----- From: [email protected] [mailto:[email protected]] Sent: Thursday, November 18, 2004 9:10 AM To: MyFaces Discussion Subject: x:message tag Hi there, I played around with the messages tag. I realised, that it is not possible to set a x:message tag before the input tag which it is referencing to. Like this: <x:message for="rayon" detailFormat="*" styleClass="ErrorText" /> <h:inputText id="rayon" styleClass="FieldForm NormalText TextLeftAlign" value="#{WVSForm.a_WVSObject.a_Rayon}"> <f:validateLongRange minimum="0" maximum="9999"/> </h:inputText> Error: Can't find Component"rayon" It works if I set the x:message tag after the input tag: <h:inputText id="rayon" styleClass="FieldForm NormalText TextLeftAlign" value="#{WVSForm.a_WVSObject.a_Rayon}"> <f:validateLongRange minimum="0" maximum="9999"/> </h:inputText> <x:message for="rayon" detailFormat="*" styleClass="ErrorText" /> But on the other hand, in the x:dataTable it doesen't matter. both <h:column > <x:message for="skunbr" detailFormat="*" styleClass="ErrorText" /> <h:inputText id="skunbr" value="#{sku.a_Skunbr}" required="true" > <f:validateLength minimum="8" maximum="8" /> </h:inputText> </h:column> and <h:column > <h:inputText id="skunbr" value="#{sku.a_Skunbr}" required="true" > <f:validateLength minimum="8" maximum="8" /> </h:inputText> <x:message for="skunbr" detailFormat="*" styleClass="ErrorText" /> </h:column> work perfectly. Now my question is: Is this correct or is this a remaining bug? greetz, Chris ------=_NextPart_000_0034_01C4CD4F.01388BD0 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <TITLE>Nachricht</TITLE> <META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR></HEAD> <BODY> <DIV><SPAN class=3D834081108-18112004><FONT face=3DArial color=3D#0000ff = size=3D2>Chris,</FONT></SPAN></DIV> <DIV><SPAN class=3D834081108-18112004><FONT face=3DArial color=3D#0000ff = size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV><SPAN class=3D834081108-18112004><FONT face=3DArial color=3D#0000ff = size=3D2>this=20 is generell in JSF (see [Bergsten] )</FONT></SPAN></DIV> <DIV><SPAN class=3D834081108-18112004><FONT face=3DArial color=3D#0000ff = size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV><SPAN class=3D834081108-18112004><FONT face=3DArial color=3D#0000ff = size=3D2>the=20 component tree does not know a component with = ID=3Drayon,</FONT></SPAN></DIV> <DIV><SPAN class=3D834081108-18112004><FONT face=3DArial color=3D#0000ff = size=3D2>when I=20 comes first to &lt;x:message/&gt;.</FONT></SPAN></DIV> <DIV><SPAN class=3D834081108-18112004><FONT face=3DArial color=3D#0000ff = size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV><SPAN class=3D834081108-18112004><FONT face=3DArial color=3D#0000ff = size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV><SPAN class=3D834081108-18112004><FONT face=3DArial color=3D#0000ff = size=3D2>Bergsten: <A=20 href=3D"http://www.onjava.com/pub/a/onjava/2004/06/09/jsf.html">http://ww= w.onjava.com/pub/a/onjava/2004/06/09/jsf.html</A></FONT></SPAN></DIV> <DIV><SPAN class=3D834081108-18112004></SPAN><FONT face=3DTahoma><FONT = size=3D2><SPAN=20 class=3D834081108-18112004><FONT face=3DArial=20 color=3D#0000ff></FONT></SPAN></FONT></FONT>&nbsp;</DIV> <DIV><FONT face=3DTahoma><FONT size=3D2><SPAN=20 class=3D834081108-18112004></SPAN></FONT></FONT>&nbsp;</DIV> <DIV><FONT face=3DTahoma><FONT size=3D2><SPAN=20 class=3D834081108-18112004></SPAN></FONT></FONT>&nbsp;</DIV> <DIV><FONT face=3DTahoma><FONT size=3D2><SPAN = class=3D834081108-18112004><FONT=20 face=3DArial = color=3D#0000ff>-Matthias</FONT>&nbsp;</SPAN></FONT></FONT></DIV> <DIV><FONT face=3DTahoma><FONT size=3D2><SPAN=20 class=3D834081108-18112004></SPAN></FONT></FONT>&nbsp;</DIV> <DIV><FONT face=3DTahoma><FONT size=3D2><SPAN=20 class=3D834081108-18112004>&nbsp;</SPAN>-----Original = Message-----<BR><B>From:</B>=20 [email protected] [mailto:[email protected]] = <BR><B>Sent:</B>=20 Thursday, November 18, 2004 9:10 AM<BR><B>To:</B> MyFaces=20 Discussion<BR><B>Subject:</B> x:message tag<BR><BR></DIV></FONT></FONT> <BLOCKQUOTE=20 style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px = solid; MARGIN-RIGHT: 0px"><BR><FONT=20 face=3Dsans-serif size=3D2>Hi there,</FONT> <BR><BR><FONT = face=3Dsans-serif size=3D2>I=20 played around with the messages tag. I realised, that it is not = possible to=20 set a x:message tag </FONT><BR><FONT face=3Dsans-serif size=3D2>before = the input=20 tag which it is referencing to. Like this:</FONT> <BR><BR><FONT=20 face=3Dsans-serif size=3D2>&lt;x:message for=3D"rayon" = detailFormat=3D"*"=20 styleClass=3D"ErrorText" /&gt;</FONT> <BR><FONT face=3Dsans-serif=20 size=3D2>&lt;h:inputText id=3D"rayon" styleClass=3D"FieldForm = NormalText=20 TextLeftAlign" value=3D"#{WVSForm.a_WVSObject.a_Rayon}"&gt;</FONT> = <BR><FONT=20 face=3Dsans-serif size=3D2>&nbsp; &lt;f:validateLongRange = minimum=3D"0"=20 maximum=3D"9999"/&gt;</FONT> <BR><FONT face=3Dsans-serif=20 size=3D2>&lt;/h:inputText&gt;</FONT> <BR><BR><FONT face=3Dsans-serif = size=3D2>Error:=20 Can't find Component"rayon"</FONT> <BR><BR><FONT face=3Dsans-serif = size=3D2>It=20 works if I set the x:message tag after the input tag:</FONT> = <BR><BR><FONT=20 face=3Dsans-serif size=3D2>&lt;h:inputText id=3D"rayon" = styleClass=3D"FieldForm=20 NormalText TextLeftAlign" = value=3D"#{WVSForm.a_WVSObject.a_Rayon}"&gt;</FONT>=20 <BR><FONT face=3Dsans-serif size=3D2>&nbsp; &lt;f:validateLongRange = minimum=3D"0"=20 maximum=3D"9999"/&gt;</FONT> <BR><FONT face=3Dsans-serif=20 size=3D2>&lt;/h:inputText&gt;</FONT> <BR><FONT face=3Dsans-serif=20 size=3D2>&lt;x:message for=3D"rayon" detailFormat=3D"*" = styleClass=3D"ErrorText"=20 /&gt;</FONT> <BR><BR><BR><FONT face=3Dsans-serif size=3D2>But on the = other hand,=20 in the x:dataTable it doesen't matter. both </FONT><BR><BR><FONT=20 face=3Dsans-serif size=3D2>&lt;h:column &gt;</FONT> <BR><FONT = face=3Dsans-serif=20 size=3D2>&nbsp; &nbsp; &nbsp; &nbsp; &lt;x:message for=3D"skunbr" = detailFormat=3D"*"=20 styleClass=3D"ErrorText" /&gt;</FONT> <BR><FONT face=3Dsans-serif = size=3D2>&nbsp;=20 &nbsp; &nbsp; &nbsp; &lt;h:inputText id=3D"skunbr" = value=3D"#{sku.a_Skunbr}"=20 required=3D"true" &nbsp;&gt;</FONT> <BR><FONT face=3Dsans-serif = size=3D2>&nbsp;=20 &nbsp; &nbsp; &nbsp; &nbsp; &lt;f:validateLength minimum=3D"8" = maximum=3D"8"=20 /&gt;</FONT> <BR><FONT face=3Dsans-serif size=3D2>&nbsp; &nbsp; &nbsp; = &nbsp;=20 &lt;/h:inputText&gt;</FONT> <BR><FONT face=3Dsans-serif=20 size=3D2>&nbsp;&lt;/h:column&gt;</FONT> <BR><BR><FONT = face=3Dsans-serif=20 size=3D2>and</FONT> <BR><BR><FONT face=3Dsans-serif = size=3D2>&lt;h:column=20 &gt;</FONT> <BR><FONT face=3Dsans-serif size=3D2>&nbsp; &nbsp; &nbsp; = &nbsp;=20 &lt;h:inputText id=3D"skunbr" value=3D"#{sku.a_Skunbr}" = required=3D"true"=20 &nbsp;&gt;</FONT> <BR><FONT face=3Dsans-serif size=3D2>&nbsp; &nbsp; = &nbsp; &nbsp;=20 &nbsp; &lt;f:validateLength minimum=3D"8" maximum=3D"8" /&gt;</FONT> = <BR><FONT=20 face=3Dsans-serif size=3D2>&nbsp; &nbsp; &nbsp; &nbsp; = &lt;/h:inputText&gt;</FONT>=20 <BR><FONT face=3Dsans-serif size=3D2>&nbsp; &nbsp; &nbsp; &nbsp; = &lt;x:message=20 for=3D"skunbr" detailFormat=3D"*" styleClass=3D"ErrorText" = /&gt;</FONT> <BR><FONT=20 face=3Dsans-serif size=3D2>&lt;/h:column&gt;</FONT> <BR><BR><FONT = face=3Dsans-serif=20 size=3D2>work perfectly.</FONT> <BR><BR><FONT face=3Dsans-serif = size=3D2>Now my=20 question is: Is this correct or is this a remaining bug?</FONT> = <BR><BR><FONT=20 face=3Dsans-serif size=3D2>greetz,</FONT> <BR><BR><FONT = face=3Dsans-serif=20 size=3D2>&nbsp;Chris</FONT> <BR></BLOCKQUOTE></BODY></HTML> ------=_NextPart_000_0034_01C4CD4F.01388BD0-- From [email protected] Thu Nov 18 08:52:56 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 72282 invoked from network); 18 Nov 2004 08:52:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 18 Nov 2004 08:52:55 -0000 Received: (qmail 87332 invoked by uid 500); 18 Nov 2004 08:52:55 -0000 Delivered-To: [email protected] Received: (qmail 87199 invoked by uid 500); 18 Nov 2004 08:52:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 87175 invoked by uid 99); 18 Nov 2004 08:52:54 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO moutng.kundenserver.de) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 18 Nov 2004 00:52:49 -0800 Received: from [161.129.204.104] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1CUi21-0007pb-00; Thu, 18 Nov 2004 09:52:45 +0100 Received: from [161.129.204.104] (helo=fumakilla) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1CUi21-0001Gq-00; Thu, 18 Nov 2004 09:52:45 +0100 From: "Matthias Wessendorf" <[email protected]> To: <[email protected]>, <[email protected]> Subject: Shale Proposal Date: Thu, 18 Nov 2004 09:51:59 +0100 Message-ID: <004201c4cd4b$de588140$6402a8c0@fumakilla> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Provags-ID: kundenserver.de [email protected] auth:157ed430dbf2887568e54eb61bfb58ed X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N FYI: http://svn.apache.org/viewcvs.cgi/*checkout*/struts/sandbox/trunk/struts -shale/README.html=09 Regards, Matthias -- Matthias We=DFendorf Aechterhoek 18 DE-48282 Emsdetten Germany URL: http://www.wessendorf.net From [email protected] Thu Nov 18 20:12:11 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83310 invoked from network); 18 Nov 2004 20:12:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 18 Nov 2004 20:12:11 -0000 Received: (qmail 47404 invoked by uid 500); 18 Nov 2004 20:12:10 -0000 Delivered-To: [email protected] Received: (qmail 47351 invoked by uid 500); 18 Nov 2004 20:12:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 47335 invoked by uid 99); 18 Nov 2004 20:12:10 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO web51901.mail.yahoo.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 18 Nov 2004 12:12:06 -0800 Received: (qmail 60650 invoked by uid 60001); 18 Nov 2004 20:12:01 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=tQRaNDgH3e/DSoW92DQnp+6oA4F/on7MKZZxx1qDwEPGgN/KQtDCtabYlbQauvTst3QFo98I0BnMnwPxSbXEOZP4It8dMS7jAXb5HIFbGMMJjviDPlx54KNryWCcCVufHn6vniJCwKqd5e/wvGqfegaLCLUFQateJgJ1eZYOiBo= ; Message-ID: <[email protected]> Received: from [161.129.204.104] by web51901.mail.yahoo.com via HTTP; Thu, 18 Nov 2004 12:12:00 PST Date: Thu, 18 Nov 2004 12:12:00 -0800 (PST) From: ss ss <[email protected]> Subject: tomcat-deploy-app failed To: myfaces dev <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I was running 'Ant' in the examples-webapp directory and I got the following [email protected]. I have roles 'admin' and 'manager' added to the tomcat-users.xml --------------- -war: [war] Building war: C:\incubator-myfaces\temp\myfaces-examples.war tomcat-deploy-app: [echo] username= tomcat [echo] password= tomcat [echo] path= /myfaces [echo] war= C:\incubator-myfaces\temp\myfaces-examples.war [echo] url= http://localhost:8080/manager BUILD FAILED C:\incubator-myfaces\build\examples-webapp\build.xml:46: The following error occ urred while executing this line: C:\incubator-myfaces\build\tomcat\tomcat-build.xmlf:42: java.net.UnknownHostExce ption: C Total time: 11 seconds __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From [email protected] Sun Nov 21 21:07:08 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 44694 invoked from network); 21 Nov 2004 21:07:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 21 Nov 2004 21:07:08 -0000 Received: (qmail 1206 invoked by uid 500); 21 Nov 2004 21:07:06 -0000 Delivered-To: [email protected] Received: (qmail 1124 invoked by uid 500); 21 Nov 2004 21:07:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 1110 invoked by uid 99); 21 Nov 2004 21:07:05 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO dudney.jportfolio.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 21 Nov 2004 13:07:00 -0800 Received: from [161.129.204.104] (c-67-161-197-229.client.comcast.net [161.129.204.104]) by dudney.jportfolio.com (8.11.6/8.11.6) with ESMTP id iALM1bV19735 for <[email protected]>; Sun, 21 Nov 2004 17:01:37 -0500 Mime-Version: 1.0 (Apple Message framework v619) Content-Transfer-Encoding: 7bit Message-Id: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed To: MyFaces DevList <[email protected]> From: Bill Dudney <[email protected]> Subject: converter tags Date: Sun, 21 Nov 2004 14:06:46 -0700 X-Mailer: Apple Mail (2.619) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi All, I've discovered a bug in the converter tags. the release() method sets the _converterId to null. The lifecycle goes like this; 1) new 2) setters, setPageContext, setParent 3) doStartTag, doEndTag etc 4) release then loop through 2-4. On Tomcat this works fine because tomcat creates a new instance of the tag each time (does all of 1-4 each time) however on WebLogic a pool of instances is created and reused (i.e. only 2-4 are redone each time). So I have fixed the problem by placing setConverterId(DateTimeConverter.CONVERTER_ID) in the setPageContext method. The other option is to place the call to setConverterId into the createConverter method. Either way will work but I think the setPageContext method is 'more correct'. I'll be checking it in later today if I don't hear any opinion either way. TTFN, -bd- From [email protected] Sun Nov 21 21:45:29 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57192 invoked from network); 21 Nov 2004 21:45:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 21 Nov 2004 21:45:28 -0000 Received: (qmail 38435 invoked by uid 500); 21 Nov 2004 21:45:28 -0000 Delivered-To: [email protected] Received: (qmail 38397 invoked by uid 500); 21 Nov 2004 21:45:27 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 38384 invoked by uid 99); 21 Nov 2004 21:45:27 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO moutng.kundenserver.de) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 21 Nov 2004 13:45:22 -0800 Received: from [161.129.204.104] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1CVzWI-0004mU-00 for [email protected]; Sun, 21 Nov 2004 22:45:18 +0100 Received: from [161.129.204.104] (helo=fumakilla) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1CVzWI-00040k-00 for [email protected]; Sun, 21 Nov 2004 22:45:18 +0100 From: "Matthias Wessendorf" <[email protected]> To: "'MyFaces Development'" <[email protected]> Subject: RE: converter tags Date: Sun, 21 Nov 2004 22:44:29 +0100 Message-ID: <001201c4d013$4a2548d0$6402a8c0@fumakilla> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: <[email protected]> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Provags-ID: kundenserver.de [email protected] auth:157ed430dbf2887568e54eb61bfb58ed X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Bill, a time ago, there was an related issue to this regarding the email-validator tags. Daniel Kamakura told us about that. However see here the cvs-change-log: http://cvs.apache.org/viewcvs.cgi/incubator-myfaces/src/components/org/a pache/myfaces/custom/emailvalidator/ValidateEmailTag.java?r1=1.2&r2=1.3& diff_format=h Regards, Matthias > -----Original Message----- > From: Bill Dudney [mailto:[email protected]] > Sent: Sunday, November 21, 2004 10:07 PM > To: MyFaces DevList > Subject: converter tags > > > Hi All, > > I've discovered a bug in the converter tags. > > the release() method sets the _converterId to null. > > The lifecycle goes like this; > > 1) new > 2) setters, setPageContext, setParent > 3) doStartTag, doEndTag etc > 4) release > > then loop through 2-4. > > On Tomcat this works fine because tomcat creates a new > instance of the > tag each time (does all of 1-4 each time) however on WebLogic > a pool of > instances is created and reused (i.e. only 2-4 are redone each time). > > So I have fixed the problem by placing > > setConverterId(DateTimeConverter.CONVERTER_ID) > > in the setPageContext method. The other option is to place > the call to > setConverterId into the createConverter method. Either way will work > but I think the setPageContext method is 'more correct'. > > I'll be checking it in later today if I don't hear any opinion either > way. > > TTFN, > > -bd- > From [email protected] Mon Nov 22 00:34:45 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47246 invoked from network); 22 Nov 2004 00:34:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 22 Nov 2004 00:34:44 -0000 Received: (qmail 4678 invoked by uid 500); 22 Nov 2004 00:34:44 -0000 Delivered-To: [email protected] Received: (qmail 4622 invoked by uid 500); 22 Nov 2004 00:34:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 4608 invoked by uid 99); 22 Nov 2004 00:34:43 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO dudney.jportfolio.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 21 Nov 2004 16:34:41 -0800 Received: from [161.129.204.104] (c-67-161-197-229.client.comcast.net [161.129.204.104]) by dudney.jportfolio.com (8.11.6/8.11.6) with ESMTP id iAM1TBV30026 for <[email protected]>; Sun, 21 Nov 2004 20:29:12 -0500 Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <001201c4d013$4a2548d0$6402a8c0@fumakilla> References: <001201c4d013$4a2548d0$6402a8c0@fumakilla> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit From: Bill Dudney <[email protected]> Subject: Re: converter tags Date: Sun, 21 Nov 2004 17:34:21 -0700 To: MyFaces Development <[email protected]> X-Mailer: Apple Mail (2.619) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I'll check the rest of the validator tags before I make the commit. Thanks! -bd- On Nov 21, 2004, at 2:44 PM, Matthias Wessendorf wrote: > Bill, > > a time ago, there was an related issue to this > regarding the email-validator tags. > > Daniel Kamakura told us about that. > However see here the cvs-change-log: > http://cvs.apache.org/viewcvs.cgi/incubator-myfaces/src/components/ > org/a > pache/myfaces/custom/emailvalidator/ValidateEmailTag.java? > r1=1.2&r2=1.3& > diff_format=h > > > Regards, > Matthias > >> -----Original Message----- >> From: Bill Dudney [mailto:[email protected]] >> Sent: Sunday, November 21, 2004 10:07 PM >> To: MyFaces DevList >> Subject: converter tags >> >> >> Hi All, >> >> I've discovered a bug in the converter tags. >> >> the release() method sets the _converterId to null. >> >> The lifecycle goes like this; >> >> 1) new >> 2) setters, setPageContext, setParent >> 3) doStartTag, doEndTag etc >> 4) release >> >> then loop through 2-4. >> >> On Tomcat this works fine because tomcat creates a new >> instance of the >> tag each time (does all of 1-4 each time) however on WebLogic >> a pool of >> instances is created and reused (i.e. only 2-4 are redone each time). >> >> So I have fixed the problem by placing >> >> setConverterId(DateTimeConverter.CONVERTER_ID) >> >> in the setPageContext method. The other option is to place >> the call to >> setConverterId into the createConverter method. Either way will work >> but I think the setPageContext method is 'more correct'. >> >> I'll be checking it in later today if I don't hear any opinion either >> way. >> >> TTFN, >> >> -bd- >> > From [email protected] Mon Nov 22 00:44:06 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 50279 invoked from network); 22 Nov 2004 00:44:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 22 Nov 2004 00:44:06 -0000 Received: (qmail 20683 invoked by uid 500); 22 Nov 2004 00:44:04 -0000 Delivered-To: [email protected] Received: (qmail 20621 invoked by uid 500); 22 Nov 2004 00:44:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 20606 invoked by uid 99); 22 Nov 2004 00:44:03 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO dudney.jportfolio.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 21 Nov 2004 16:44:01 -0800 Received: from [161.129.204.104] (c-67-161-197-229.client.comcast.net [161.129.204.104]) by dudney.jportfolio.com (8.11.6/8.11.6) with ESMTP id iAM1ccV30599 for <[email protected]>; Sun, 21 Nov 2004 20:38:38 -0500 Mime-Version: 1.0 (Apple Message framework v619) Content-Transfer-Encoding: 7bit Message-Id: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed To: MyFaces DevList <[email protected]> From: Bill Dudney <[email protected]> Subject: safari, myfaces & weblogic... Date: Sun, 21 Nov 2004 17:43:51 -0700 X-Mailer: Apple Mail (2.619) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi All, I have the following configuration; WLS 8.1sp3 Tomcat 5.0.28 OSX 10.3.6 Safari 1.2.4 (v125.11) java -version (build 1.4.2-38, mixed mode) MyFaces - CVS Head (Nov-21-2004:12:00 MST) When I deploy my app to tomcat I'm able to traverse through the app just fine. When I deploy to WebLogic I am not able to get by the first page. Each request builds a new request and thus the viewId is always null so its always creating a new session. I have cookies turned on so Safari should be able to reconnect to the session but it does not appear to be doing that. When I hit the same app via FireFox it works fine on weblogic. Any ideas would be greatly appreciated? Any one know why safari would not like weblogic cookies? Any ideas of other stuff I could look into to try to nail down the problem? Thanks! -bd- From [email protected] Mon Nov 22 02:10:09 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84642 invoked from network); 22 Nov 2004 02:10:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 22 Nov 2004 02:10:09 -0000 Received: (qmail 192 invoked by uid 500); 22 Nov 2004 02:10:08 -0000 Delivered-To: [email protected] Received: (qmail 156 invoked by uid 500); 22 Nov 2004 02:10:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 138 invoked by uid 99); 22 Nov 2004 02:10:07 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO dudney.jportfolio.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 21 Nov 2004 18:10:05 -0800 Received: from [161.129.204.104] (c-67-161-197-229.client.comcast.net [161.129.204.104]) by dudney.jportfolio.com (8.11.6/8.11.6) with ESMTP id iAM34cV02775 for <[email protected]>; Sun, 21 Nov 2004 22:04:39 -0500 Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <[email protected]> References: <001201c4d013$4a2548d0$6402a8c0@fumakilla> <[email protected]> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit From: Bill Dudney <[email protected]> Subject: Re: converter tags Date: Sun, 21 Nov 2004 19:09:53 -0700 To: MyFaces Development <[email protected]> X-Mailer: Apple Mail (2.619) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Perhaps an even better solution is to override getConverterType and always return the constant. Also do the same in getValidatorType for the validtor tags too. Thoughts? TTFN, -bd- On Nov 21, 2004, at 5:34 PM, Bill Dudney wrote: > I'll check the rest of the validator tags before I make the commit. > > Thanks! > > -bd- > > On Nov 21, 2004, at 2:44 PM, Matthias Wessendorf wrote: > >> Bill, >> >> a time ago, there was an related issue to this >> regarding the email-validator tags. >> >> Daniel Kamakura told us about that. >> However see here the cvs-change-log: >> http://cvs.apache.org/viewcvs.cgi/incubator-myfaces/src/components/ >> org/a >> pache/myfaces/custom/emailvalidator/ValidateEmailTag.java? >> r1=1.2&r2=1.3& >> diff_format=h >> >> >> Regards, >> Matthias >> >>> -----Original Message----- >>> From: Bill Dudney [mailto:[email protected]] >>> Sent: Sunday, November 21, 2004 10:07 PM >>> To: MyFaces DevList >>> Subject: converter tags >>> >>> >>> Hi All, >>> >>> I've discovered a bug in the converter tags. >>> >>> the release() method sets the _converterId to null. >>> >>> The lifecycle goes like this; >>> >>> 1) new >>> 2) setters, setPageContext, setParent >>> 3) doStartTag, doEndTag etc >>> 4) release >>> >>> then loop through 2-4. >>> >>> On Tomcat this works fine because tomcat creates a new >>> instance of the >>> tag each time (does all of 1-4 each time) however on WebLogic >>> a pool of >>> instances is created and reused (i.e. only 2-4 are redone each time). >>> >>> So I have fixed the problem by placing >>> >>> setConverterId(DateTimeConverter.CONVERTER_ID) >>> >>> in the setPageContext method. The other option is to place >>> the call to >>> setConverterId into the createConverter method. Either way will work >>> but I think the setPageContext method is 'more correct'. >>> >>> I'll be checking it in later today if I don't hear any opinion either >>> way. >>> >>> TTFN, >>> >>> -bd- >>> >> > From [email protected] Mon Nov 22 08:02:58 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41902 invoked from network); 22 Nov 2004 08:02:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 22 Nov 2004 08:02:58 -0000 Received: (qmail 7389 invoked by uid 500); 22 Nov 2004 08:02:57 -0000 Delivered-To: [email protected] Received: (qmail 7306 invoked by uid 500); 22 Nov 2004 08:02:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 7275 invoked by uid 99); 22 Nov 2004 08:02:55 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO moutng.kundenserver.de) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 22 Nov 2004 00:02:50 -0800 Received: from [161.129.204.104] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1CW99q-0008M8-00 for [email protected]; Mon, 22 Nov 2004 09:02:46 +0100 Received: from [161.129.204.104] (helo=fumakilla) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1CW99p-0000ef-00 for [email protected]; Mon, 22 Nov 2004 09:02:45 +0100 From: "Matthias Wessendorf" <[email protected]> To: <[email protected]> Subject: new MyFaces-Website on i.a.o Date: Mon, 22 Nov 2004 09:01:59 +0100 Message-ID: <000b01c4d069$8c15f810$6402a8c0@fumakilla> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-Mimeole: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Provags-ID: kundenserver.de [email protected] auth:157ed430dbf2887568e54eb61bfb58ed X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi all, I just updated the website of MyFaces. See here: http://incubator.apache.org/myfaces/ It is very basic, but a first point. SRC for the site is in cvs (src/documentation/content/xdocs) Regards, Matthias From [email protected] Mon Nov 22 08:19:00 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68691 invoked from network); 22 Nov 2004 08:19:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 22 Nov 2004 08:19:00 -0000 Received: (qmail 30156 invoked by uid 500); 22 Nov 2004 08:18:59 -0000 Delivered-To: [email protected] Received: (qmail 30113 invoked by uid 500); 22 Nov 2004 08:18:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 30082 invoked by uid 99); 22 Nov 2004 08:18:58 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO moutng.kundenserver.de) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 22 Nov 2004 00:18:55 -0800 Received: from [161.129.204.104] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1CW9PN-000511-00; Mon, 22 Nov 2004 09:18:49 +0100 Received: from [161.129.204.104] (helo=fumakilla) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1CW9PM-0001W4-00; Mon, 22 Nov 2004 09:18:48 +0100 From: "Matthias Wessendorf" <[email protected]> To: <[email protected]>, <[email protected]> Subject: FW: Shale vs. Struts-Chain Date: Mon, 22 Nov 2004 09:18:03 +0100 Message-ID: <000e01c4d06b$ca1e06a0$6402a8c0@fumakilla> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-Mimeole: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Provags-ID: kundenserver.de [email protected] auth:157ed430dbf2887568e54eb61bfb58ed X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N FYI -----Original Message----- From: Ted Husted [mailto:[email protected]]=20 Sent: Sunday, November 21, 2004 2:56 PM To: Struts Developers List Subject: Re: Shale vs. Struts-Chain On Thu, 18 Nov 2004 13:48:39 +0100, Matthias Wessendorf wrote: > >=A0Has Struts Shale no relationship to (Struts/Commons)-Chain? Technically, there only relationship between Struts and Shale is that they are both standards-based web application frameworks originated by Craig McClanahan :)=20 I saw your post to the MyFaces list regarding Shale, Matthais, and it will be interesting to see how the MyFaces community responds. Given that Apache MyFaces now hosts generic JSF components, like JSF Tiles, an obvious question is whether Shale would be a better fit as a MyFaces subproject.=20 -Ted. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] From [email protected] Mon Nov 22 10:11:48 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38025 invoked from network); 22 Nov 2004 10:11:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 22 Nov 2004 10:11:48 -0000 Received: (qmail 39865 invoked by uid 500); 22 Nov 2004 10:11:46 -0000 Delivered-To: [email protected] Received: (qmail 39796 invoked by uid 500); 22 Nov 2004 10:11:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 39690 invoked by uid 99); 22 Nov 2004 10:11:40 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO [161.129.204.104]) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 22 Nov 2004 02:11:39 -0800 Message-ID: <[email protected]> Date: Mon, 22 Nov 2004 11:09:55 +0100 From: Manfred Geiler <[email protected]> User-Agent: Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: MyFaces Development <[email protected]> Subject: Re: new MyFaces-Website on i.a.o References: <000b01c4d069$8c15f810$6402a8c0@fumakilla> In-Reply-To: <000b01c4d069$8c15f810$6402a8c0@fumakilla> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Thanks very much, Matthias! Can you give as a small "cookbook" of how to change the website? cvs, forrest, ... Thanks, Manfred Matthias Wessendorf wrote: > Hi all, > > I just updated the website of MyFaces. > See here: > http://incubator.apache.org/myfaces/ > > It is very basic, but a first point. > SRC for the site is in cvs > (src/documentation/content/xdocs) > > > Regards, > Matthias > > > From [email protected] Mon Nov 22 10:25:01 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45008 invoked from network); 22 Nov 2004 10:25:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 22 Nov 2004 10:25:00 -0000 Received: (qmail 64414 invoked by uid 500); 22 Nov 2004 10:25:00 -0000 Delivered-To: [email protected] Received: (qmail 64325 invoked by uid 500); 22 Nov 2004 10:24:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 64299 invoked by uid 99); 22 Nov 2004 10:24:59 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO moutng.kundenserver.de) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 22 Nov 2004 02:24:55 -0800 Received: from [161.129.204.104] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1CWBNK-0002oX-00 for [email protected]; Mon, 22 Nov 2004 11:24:50 +0100 Received: from [161.129.204.104] (helo=fumakilla) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1CWBNJ-0005pj-00 for [email protected]; Mon, 22 Nov 2004 11:24:49 +0100 From: "Matthias Wessendorf" <[email protected]> To: "'MyFaces Development'" <[email protected]> Subject: RE: new MyFaces-Website on i.a.o Date: Mon, 22 Nov 2004 11:24:01 +0100 Message-ID: <004d01c4d07d$64c5a3a0$6402a8c0@fumakilla> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: <[email protected]> X-Mimeole: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Provags-ID: kundenserver.de [email protected] auth:157ed430dbf2887568e54eb61bfb58ed X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > Can you give as a small "cookbook" of how to change the > website? cvs, forrest, ... Well forrest is an *easy* tool, doc for forrest is at http://forrest.apache.org (install, Tags, setup projects,...) however, forrest could be integrated into Ant, needs Ant 1.6+. So I decided not to include forrest-task into our build. I guess some of you are using *older* ant (delivered by their IDEs...) Should we move to Ank 1.6? then I will integrate forrest with your build. I run forrest in commandline on my box I change to $MYFACES_HOME and call "forrest" after I changed the xml in forrest-folder (src/documentation/content/xdocs) then the processor is runing and builds the site into $MYFACES__HOME/build/site. this folder contains the HTMLs. To load the *updated* sites on i.a.o you need ssh-access (via scp) to cvs.apache.org (in short c.a.o) on c.a.o the folder /www/incubator.apache.org/projects/myfaces contains our website. For modifing you need to be added to the "apcvs" Unix group on the server. I asked the incubator-guys for adding me to that group. This moring I looked at my "groups" and saw it was added. (Perhaps it is default... I didn't checked it sillily before... ;-)) HTH, Matthias > Thanks, > Manfred > > Matthias Wessendorf wrote: > > Hi all, > > > > I just updated the website of MyFaces. > > See here: > > http://incubator.apache.org/myfaces/ > > > > It is very basic, but a first point. > > SRC for the site is in cvs > > (src/documentation/content/xdocs) > > > > > > Regards, > > Matthias > > > > > > > From [email protected] Mon Nov 22 11:35:58 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 97091 invoked from network); 22 Nov 2004 11:35:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 22 Nov 2004 11:35:58 -0000 Received: (qmail 5895 invoked by uid 500); 22 Nov 2004 11:35:58 -0000 Delivered-To: [email protected] Received: (qmail 5808 invoked by uid 500); 22 Nov 2004 11:35:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 5796 invoked by uid 99); 22 Nov 2004 11:35:57 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO MAIL4.DnB.no) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 22 Nov 2004 03:35:54 -0800 Received: from sdlap401.DnB.no (int-mail4.dnb.no) by MAIL4.DnB.no (Content Technologies SMTPRS 4.3.12) with ESMTP id <[email protected]> for <[email protected]>; Mon, 22 Nov 2004 12:18:43 +0100 Received: by sdlap401.dnb.no with Internet Mail Service (5.5.2657.72) id <XLVFCRG7>; Mon, 22 Nov 2004 12:20:45 +0100 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: Weird question? Date: Mon, 22 Nov 2004 12:20:35 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="ISO-8859-1" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi There is one question that I have not been able to fand an answer to. Since in JSF there is no notion of a FrontEndController, hence no way of calling an initial Action like you do in struts which can be used to prepopulate the request/session with data - How do you propose to do this in JSF ? Hermod * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This email with attachments is solely for the use of the individual or entity to whom it is addressed. Please also be aware that the DnB NOR Group cannot accept any payment orders or other legally binding correspondence with customers as a part of an email. This email message has been virus checked by the virus programs used in the DnB NOR Group. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * From [email protected] Mon Nov 22 11:59:11 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 24533 invoked from network); 22 Nov 2004 11:59:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 22 Nov 2004 11:59:10 -0000 Received: (qmail 51800 invoked by uid 500); 22 Nov 2004 11:59:10 -0000 Delivered-To: [email protected] Received: (qmail 51747 invoked by uid 500); 22 Nov 2004 11:59:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 51730 invoked by uid 99); 22 Nov 2004 11:59:09 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO moutng.kundenserver.de) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 22 Nov 2004 03:59:08 -0800 Received: from [161.129.204.104] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1CWCqW-0001gH-00 for [email protected]; Mon, 22 Nov 2004 12:59:04 +0100 Received: from [161.129.204.104] (helo=fumakilla) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1CWCqU-0002kD-00 for [email protected]; Mon, 22 Nov 2004 12:59:02 +0100 From: "Matthias Wessendorf" <[email protected]> To: "'MyFaces Development'" <[email protected]> Subject: RE: Weird question? Date: Mon, 22 Nov 2004 12:58:17 +0100 Message-ID: <008301c4d08a$8e21caa0$6402a8c0@fumakilla> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: <[email protected]> X-Mimeole: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Provags-ID: kundenserver.de [email protected] auth:157ed430dbf2887568e54eb61bfb58ed X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Could you be more detailed on that? I guess you mean the *preActions* ? Like http://host:port/myApp/showFormpage.do that Action does something and *forwards* to a JSP, that contains a HTML-form for using formbeans? Do you mean this? Regards, Matthias > -----Original Message----- > From: [email protected] [mailto:[email protected]] > Sent: Monday, November 22, 2004 12:21 PM > To: [email protected] > Subject: Weird question? > > > Hi > > There is one question that I have not been able to fand an > answer to. Since in JSF there is no notion of a > FrontEndController, hence no way of calling an initial Action > like you do in struts which can be used to prepopulate the > request/session with data - How do you propose to do this in JSF ? > > Hermod > > > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * > * * * * * * * > > This email with attachments is solely for the use of the > individual or entity to whom it is addressed. Please also be > aware that the DnB NOR Group cannot accept any payment orders > or other legally binding correspondence with customers as a > part of an email. > > This email message has been virus checked by the virus > programs used in the DnB NOR Group. > > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * > * * * * * * * > From [email protected] Mon Nov 22 13:04:59 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 66797 invoked from network); 22 Nov 2004 13:04:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 22 Nov 2004 13:04:58 -0000 Received: (qmail 69028 invoked by uid 500); 22 Nov 2004 13:04:58 -0000 Delivered-To: [email protected] Received: (qmail 68976 invoked by uid 500); 22 Nov 2004 13:04:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 68960 invoked by uid 99); 22 Nov 2004 13:04:57 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO MAIL4.DnB.no) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 22 Nov 2004 05:04:54 -0800 Received: from sdlap401.DnB.no (int-mail4.dnb.no) by MAIL4.DnB.no (Content Technologies SMTPRS 4.3.12) with ESMTP id <[email protected]> for <[email protected]>; Mon, 22 Nov 2004 14:02:44 +0100 Received: by sdlap401.dnb.no with Internet Mail Service (5.5.2657.72) id <XLVFCT7Q>; Mon, 22 Nov 2004 14:04:46 +0100 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: SV: Weird question? Date: Mon, 22 Nov 2004 14:04:38 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="ISO-8859-1" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Yes. I am looking at JSF for the next generation of a current Struts based application. When the user gets the first (index.do) page presented, the Struts Action has looked up news etc from the database to present on the frontpage. Regards Hermod -----Opprinnelig melding----- Fra: Matthias Wessendorf [mailto:[email protected]] Sendt: 22. november 2004 12:58 Til: 'MyFaces Development' Emne: RE: Weird question? Could you be more detailed on that? I guess you mean the *preActions* ? Like http://host:port/myApp/showFormpage.do that Action does something and *forwards* to a JSP, that contains a HTML-form for using formbeans? Do you mean this? Regards, Matthias > -----Original Message----- > From: [email protected] [mailto:[email protected]] > Sent: Monday, November 22, 2004 12:21 PM > To: [email protected] > Subject: Weird question? > > > Hi > > There is one question that I have not been able to fand an > answer to. Since in JSF there is no notion of a > FrontEndController, hence no way of calling an initial Action > like you do in struts which can be used to prepopulate the > request/session with data - How do you propose to do this in JSF ? > > Hermod > > > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * > * * * * * * * > > This email with attachments is solely for the use of the > individual or entity to whom it is addressed. Please also be > aware that the DnB NOR Group cannot accept any payment orders > or other legally binding correspondence with customers as a > part of an email. > > This email message has been virus checked by the virus > programs used in the DnB NOR Group. > > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * > * * * * * * * > From [email protected] Mon Nov 22 13:36:56 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 83056 invoked from network); 22 Nov 2004 13:36:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 22 Nov 2004 13:36:55 -0000 Received: (qmail 24345 invoked by uid 500); 22 Nov 2004 13:36:54 -0000 Delivered-To: [email protected] Received: (qmail 24287 invoked by uid 500); 22 Nov 2004 13:36:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 24244 invoked by uid 99); 22 Nov 2004 13:36:52 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO moutng.kundenserver.de) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 22 Nov 2004 05:36:50 -0800 Received: from [161.129.204.104] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1CWDyf-0006EW-00 for [email protected]; Mon, 22 Nov 2004 14:11:33 +0100 Received: from [161.129.204.104] (helo=fumakilla) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1CWDye-0004vz-00 for [email protected]; Mon, 22 Nov 2004 14:11:33 +0100 From: "Matthias Wessendorf" <[email protected]> To: "'MyFaces Development'" <[email protected]> Subject: RE: Weird question? Date: Mon, 22 Nov 2004 14:10:47 +0100 Message-ID: <009301c4d094$af1f5560$6402a8c0@fumakilla> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: <[email protected]> X-Mimeole: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Provags-ID: kundenserver.de [email protected] auth:157ed430dbf2887568e54eb61bfb58ed X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Ah, now I see :-) Well what you could do is this: index.jsp --> <jsp:forward page="welcome.jsf"/> in weclome.jsp you could refer to a backingBean (welcomBacking,java) public class WelcomeBacking { private String tippOfTheDay; //getter+setter public WelcomeBacking(){ //connecting to DB or else tippOfTheDay = myTempDBaccessObject.getTipp(); } } in welcome.jsp file you could use a tag like <h:outputText value="#welcomeBacking.tippOfTheDay"/> to be able to do this your WelcomeBackingBean-clazz must be described in faces-config.xml in managed-bean-facility. btw. with this you will be also able to read HTTP-params in constructor of a BackingBean on a request like: http://host:port/app/listDetailsOfCustomer.jsf?id=654567865 JSF delivers an ExternalContext for accessing HTTP-Parameters HTH, Matthias > -----Original Message----- > From: [email protected] [mailto:[email protected]] > Sent: Monday, November 22, 2004 2:05 PM > To: [email protected] > Subject: SV: Weird question? > > > Hi > > Yes. I am looking at JSF for the next generation of a current > Struts based application. When the user gets the first > (index.do) page presented, the Struts Action has looked up > news etc from the database to present on the frontpage. > > Regards > Hermod > > -----Opprinnelig melding----- > Fra: Matthias Wessendorf [mailto:[email protected]] > Sendt: 22. november 2004 12:58 > Til: 'MyFaces Development' > Emne: RE: Weird question? > > > Could you be more detailed on that? > > I guess you mean the *preActions* ? > > Like http://host:port/myApp/showFormpage.do > that Action does something and *forwards* > to a JSP, that contains a HTML-form > for using formbeans? > > Do you mean this? > > Regards, > Matthias > > > -----Original Message----- > > From: [email protected] [mailto:[email protected]] > > Sent: Monday, November 22, 2004 12:21 PM > > To: [email protected] > > Subject: Weird question? > > > > > > Hi > > > > There is one question that I have not been able to fand an > > answer to. Since in JSF there is no notion of a > > FrontEndController, hence no way of calling an initial Action > > like you do in struts which can be used to prepopulate the > > request/session with data - How do you propose to do this in JSF ? > > > > Hermod > > > > > > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * > > * * * * * * * > > > > This email with attachments is solely for the use of the > > individual or entity to whom it is addressed. Please also be > > aware that the DnB NOR Group cannot accept any payment orders > > or other legally binding correspondence with customers as a > > part of an email. > > > > This email message has been virus checked by the virus > > programs used in the DnB NOR Group. > > > > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * > > * * * * * * * > > > From [email protected] Mon Nov 22 13:40:23 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 85319 invoked from network); 22 Nov 2004 13:40:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 22 Nov 2004 13:40:22 -0000 Received: (qmail 33360 invoked by uid 500); 22 Nov 2004 13:40:22 -0000 Delivered-To: [email protected] Received: (qmail 33311 invoked by uid 500); 22 Nov 2004 13:40:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 33290 invoked by uid 99); 22 Nov 2004 13:40:21 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO dudney.jportfolio.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 22 Nov 2004 05:40:19 -0800 Received: from [161.129.204.104] (c-67-161-197-229.client.comcast.net [161.129.204.104]) by dudney.jportfolio.com (8.11.6/8.11.6) with ESMTP id iAMEH8V05295 for <[email protected]>; Mon, 22 Nov 2004 09:17:09 -0500 Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <004d01c4d07d$64c5a3a0$6402a8c0@fumakilla> References: <004d01c4d07d$64c5a3a0$6402a8c0@fumakilla> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit From: Bill Dudney <[email protected]> Subject: Re: new MyFaces-Website on i.a.o Date: Mon, 22 Nov 2004 06:22:33 -0700 To: MyFaces Development <[email protected]> X-Mailer: Apple Mail (2.619) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Does anyone know if we can run cruise control on i.a.o? I've recently set up cruisecontrol on one of my project and now I'm a huge fan. I'd be glad to spearhead getting that set up if anyone knows who to talk to about it. Thanks! -bd- On Nov 22, 2004, at 3:24 AM, Matthias Wessendorf wrote: >> Can you give as a small "cookbook" of how to change the >> website? cvs, forrest, ... > > Well forrest is an *easy* tool, > doc for forrest is at > http://forrest.apache.org > (install, Tags, setup projects,...) > > however, forrest could be integrated > into Ant, needs Ant 1.6+. So I decided > not to include forrest-task into our build. > I guess some of you are using *older* ant > (delivered by their IDEs...) > > Should we move to Ank 1.6? > then I will integrate forrest with your build. > > I run forrest in commandline on my box > I change to $MYFACES_HOME and call > "forrest" after I changed the xml > in forrest-folder (src/documentation/content/xdocs) > > then the processor is runing and builds the site > into $MYFACES__HOME/build/site. this folder > contains the HTMLs. > > To load the *updated* sites on i.a.o you > need ssh-access (via scp) to cvs.apache.org > (in short c.a.o) > > on c.a.o the folder /www/incubator.apache.org/projects/myfaces > contains our website. For modifing you need to be added to the "apcvs" > Unix group on the server. > > I asked the incubator-guys for adding me to that group. > This moring I looked at my "groups" and saw it was > added. (Perhaps it is default... I didn't checked it > sillily before... ;-)) > > HTH, > Matthias > > > > > >> Thanks, >> Manfred >> >> Matthias Wessendorf wrote: >>> Hi all, >>> >>> I just updated the website of MyFaces. >>> See here: >>> http://incubator.apache.org/myfaces/ >>> >>> It is very basic, but a first point. >>> SRC for the site is in cvs >>> (src/documentation/content/xdocs) >>> >>> >>> Regards, >>> Matthias >>> >>> >>> >> > From [email protected] Mon Nov 22 13:57:14 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 1062 invoked from network); 22 Nov 2004 13:57:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 22 Nov 2004 13:57:14 -0000 Received: (qmail 76540 invoked by uid 500); 22 Nov 2004 13:57:13 -0000 Delivered-To: [email protected] Received: (qmail 76487 invoked by uid 500); 22 Nov 2004 13:57:13 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 76475 invoked by uid 99); 22 Nov 2004 13:57:12 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO dudney.jportfolio.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 22 Nov 2004 05:57:11 -0800 Received: from [161.129.204.104] (c-67-161-197-229.client.comcast.net [161.129.204.104]) by dudney.jportfolio.com (8.11.6/8.11.6) with ESMTP id iAMEpRV07662 for <[email protected]>; Mon, 22 Nov 2004 09:51:27 -0500 Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <[email protected]> References: <004d01c4d07d$64c5a3a0$6402a8c0@fumakilla> <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit From: Bill Dudney <[email protected]> Subject: Re: new MyFaces-Website on i.a.o Date: Mon, 22 Nov 2004 06:56:53 -0700 To: MyFaces Development <[email protected]> X-Mailer: Apple Mail (2.619) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N BTW the new home page looks fantastic! Thanks Matthias, -bd- On Nov 22, 2004, at 6:22 AM, Bill Dudney wrote: > Does anyone know if we can run cruise control on i.a.o? > > I've recently set up cruisecontrol on one of my project and now I'm a > huge fan. I'd be glad to spearhead getting that set up if anyone knows > who to talk to about it. > > Thanks! > > -bd- > > On Nov 22, 2004, at 3:24 AM, Matthias Wessendorf wrote: > >>> Can you give as a small "cookbook" of how to change the >>> website? cvs, forrest, ... >> >> Well forrest is an *easy* tool, >> doc for forrest is at >> http://forrest.apache.org >> (install, Tags, setup projects,...) >> >> however, forrest could be integrated >> into Ant, needs Ant 1.6+. So I decided >> not to include forrest-task into our build. >> I guess some of you are using *older* ant >> (delivered by their IDEs...) >> >> Should we move to Ank 1.6? >> then I will integrate forrest with your build. >> >> I run forrest in commandline on my box >> I change to $MYFACES_HOME and call >> "forrest" after I changed the xml >> in forrest-folder (src/documentation/content/xdocs) >> >> then the processor is runing and builds the site >> into $MYFACES__HOME/build/site. this folder >> contains the HTMLs. >> >> To load the *updated* sites on i.a.o you >> need ssh-access (via scp) to cvs.apache.org >> (in short c.a.o) >> >> on c.a.o the folder /www/incubator.apache.org/projects/myfaces >> contains our website. For modifing you need to be added to the "apcvs" >> Unix group on the server. >> >> I asked the incubator-guys for adding me to that group. >> This moring I looked at my "groups" and saw it was >> added. (Perhaps it is default... I didn't checked it >> sillily before... ;-)) >> >> HTH, >> Matthias >> >> >> >> >> >>> Thanks, >>> Manfred >>> >>> Matthias Wessendorf wrote: >>>> Hi all, >>>> >>>> I just updated the website of MyFaces. >>>> See here: >>>> http://incubator.apache.org/myfaces/ >>>> >>>> It is very basic, but a first point. >>>> SRC for the site is in cvs >>>> (src/documentation/content/xdocs) >>>> >>>> >>>> Regards, >>>> Matthias >>>> >>>> >>>> >>> >> > From [email protected] Mon Nov 22 14:27:30 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33700 invoked from network); 22 Nov 2004 14:27:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 22 Nov 2004 14:27:29 -0000 Received: (qmail 41512 invoked by uid 500); 22 Nov 2004 14:27:23 -0000 Delivered-To: [email protected] Received: (qmail 41477 invoked by uid 500); 22 Nov 2004 14:27:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 41457 invoked by uid 99); 22 Nov 2004 14:27:21 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO [161.129.204.104]) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 22 Nov 2004 06:27:20 -0800 Message-ID: <[email protected]> Date: Mon, 22 Nov 2004 15:25:30 +0100 From: Manfred Geiler <[email protected]> User-Agent: Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: MyFaces Development <[email protected]> Subject: Re: new MyFaces-Website on i.a.o References: <004d01c4d07d$64c5a3a0$6402a8c0@fumakilla> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Just to do some quick planning... First I must apologize, that my time spent on MyFaces was minimal in the last days or weeks. This is because I'm currently working hard on an important project at my company that does not leave me much air to breath. I hope that I can manage to spend a few hours next week. Well, now some quick brainstorming regarding the future of our MyFaces homepage: - We should displace the current www.myfaces.org page as soon as possible. Therefore we should bring all the content into the new page. Should not be a great effort because already many things there (thanks Matthias) and "luckily" there is not too much documentation yet ;-) - www.myfaces.org should then point to the new page somehow - The incubator-myfaces page should also have a link to our main page - There should be a wiki for everyone (not only developers) WDYT? Manfred Bill Dudney wrote: > BTW the new home page looks fantastic! > > Thanks Matthias, > > -bd- > > On Nov 22, 2004, at 6:22 AM, Bill Dudney wrote: > >> Does anyone know if we can run cruise control on i.a.o? >> >> I've recently set up cruisecontrol on one of my project and now I'm a >> huge fan. I'd be glad to spearhead getting that set up if anyone knows >> who to talk to about it. >> >> Thanks! >> >> -bd- >> >> On Nov 22, 2004, at 3:24 AM, Matthias Wessendorf wrote: >> >>>> Can you give as a small "cookbook" of how to change the >>>> website? cvs, forrest, ... >>> >>> >>> Well forrest is an *easy* tool, >>> doc for forrest is at >>> http://forrest.apache.org >>> (install, Tags, setup projects,...) >>> >>> however, forrest could be integrated >>> into Ant, needs Ant 1.6+. So I decided >>> not to include forrest-task into our build. >>> I guess some of you are using *older* ant >>> (delivered by their IDEs...) >>> >>> Should we move to Ank 1.6? >>> then I will integrate forrest with your build. >>> >>> I run forrest in commandline on my box >>> I change to $MYFACES_HOME and call >>> "forrest" after I changed the xml >>> in forrest-folder (src/documentation/content/xdocs) >>> >>> then the processor is runing and builds the site >>> into $MYFACES__HOME/build/site. this folder >>> contains the HTMLs. >>> >>> To load the *updated* sites on i.a.o you >>> need ssh-access (via scp) to cvs.apache.org >>> (in short c.a.o) >>> >>> on c.a.o the folder /www/incubator.apache.org/projects/myfaces >>> contains our website. For modifing you need to be added to the "apcvs" >>> Unix group on the server. >>> >>> I asked the incubator-guys for adding me to that group. >>> This moring I looked at my "groups" and saw it was >>> added. (Perhaps it is default... I didn't checked it >>> sillily before... ;-)) >>> >>> HTH, >>> Matthias >>> >>> >>> >>> >>> >>>> Thanks, >>>> Manfred >>>> >>>> Matthias Wessendorf wrote: >>>> >>>>> Hi all, >>>>> >>>>> I just updated the website of MyFaces. >>>>> See here: >>>>> http://incubator.apache.org/myfaces/ >>>>> >>>>> It is very basic, but a first point. >>>>> SRC for the site is in cvs >>>>> (src/documentation/content/xdocs) >>>>> >>>>> >>>>> Regards, >>>>> Matthias >>>>> >>>>> >>>>> >>>> >>> >> > > > From [email protected] Mon Nov 22 14:36:54 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40885 invoked from network); 22 Nov 2004 14:36:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 22 Nov 2004 14:36:54 -0000 Received: (qmail 67173 invoked by uid 500); 22 Nov 2004 14:36:51 -0000 Delivered-To: [email protected] Received: (qmail 67121 invoked by uid 500); 22 Nov 2004 14:36:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 67085 invoked by uid 99); 22 Nov 2004 14:36:47 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO moutng.kundenserver.de) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 22 Nov 2004 06:36:45 -0800 Received: from [161.129.204.104] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1CWFIr-0005M5-00 for [email protected]; Mon, 22 Nov 2004 15:36:29 +0100 Received: from [161.129.204.104] (helo=fumakilla) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1CWFIp-0003MX-00 for [email protected]; Mon, 22 Nov 2004 15:36:27 +0100 From: "Matthias Wessendorf" <[email protected]> To: "'MyFaces Development'" <[email protected]> Subject: RE: new MyFaces-Website on i.a.o Date: Mon, 22 Nov 2004 15:35:41 +0100 Message-ID: <00a601c4d0a0$8b815430$6402a8c0@fumakilla> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: <[email protected]> X-Mimeole: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Provags-ID: kundenserver.de [email protected] auth:157ed430dbf2887568e54eb61bfb58ed X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi ... see inline. > Well, now some quick brainstorming regarding the future of > our MyFaces > homepage: > - We should displace the current www.myfaces.org page as soon as > possible. Therefore we should bring all the content into the > new page. > Should not be a great effort because already many things > there (thanks > Matthias) and "luckily" there is not too much documentation yet ;-) yes, but for the components descr. (aka handbook) we should use a wiki > - www.myfaces.org should then point to the new page somehow +1 > - The incubator-myfaces page should also have a link to our main page there is a link to www.myfaces.org, isn't it? or do you mean the *legacy* sf-site? > - There should be a wiki for everyone (not only developers) Right! for *handbook* and other stuff. I guess the guys at infrastructure will be able to create a wiki or the incubator guys? I mailed Ted on that, perhaps he knows more on that. > WDYT? > Manfred -Matthias > > > Bill Dudney wrote: > > BTW the new home page looks fantastic! > > > > Thanks Matthias, > > > > -bd- > > > > On Nov 22, 2004, at 6:22 AM, Bill Dudney wrote: > > > >> Does anyone know if we can run cruise control on i.a.o? > >> > >> I've recently set up cruisecontrol on one of my project > and now I'm a > >> huge fan. I'd be glad to spearhead getting that set up if > anyone knows > >> who to talk to about it. > >> > >> Thanks! > >> > >> -bd- > >> > >> On Nov 22, 2004, at 3:24 AM, Matthias Wessendorf wrote: > >> > >>>> Can you give as a small "cookbook" of how to change the website? > >>>> cvs, forrest, ... > >>> > >>> > >>> Well forrest is an *easy* tool, > >>> doc for forrest is at > >>> http://forrest.apache.org > >>> (install, Tags, setup projects,...) > >>> > >>> however, forrest could be integrated > >>> into Ant, needs Ant 1.6+. So I decided > >>> not to include forrest-task into our build. > >>> I guess some of you are using *older* ant > >>> (delivered by their IDEs...) > >>> > >>> Should we move to Ank 1.6? > >>> then I will integrate forrest with your build. > >>> > >>> I run forrest in commandline on my box > >>> I change to $MYFACES_HOME and call > >>> "forrest" after I changed the xml > >>> in forrest-folder (src/documentation/content/xdocs) > >>> > >>> then the processor is runing and builds the site > >>> into $MYFACES__HOME/build/site. this folder > >>> contains the HTMLs. > >>> > >>> To load the *updated* sites on i.a.o you > >>> need ssh-access (via scp) to cvs.apache.org > >>> (in short c.a.o) > >>> > >>> on c.a.o the folder /www/incubator.apache.org/projects/myfaces > >>> contains our website. For modifing you need to be added to the > >>> "apcvs" Unix group on the server. > >>> > >>> I asked the incubator-guys for adding me to that group. > This moring > >>> I looked at my "groups" and saw it was added. (Perhaps it is > >>> default... I didn't checked it sillily before... ;-)) > >>> > >>> HTH, > >>> Matthias > >>> > >>> > >>> > >>> > >>> > >>>> Thanks, > >>>> Manfred > >>>> > >>>> Matthias Wessendorf wrote: > >>>> > >>>>> Hi all, > >>>>> > >>>>> I just updated the website of MyFaces. > >>>>> See here: > >>>>> http://incubator.apache.org/myfaces/ > >>>>> > >>>>> It is very basic, but a first point. > >>>>> SRC for the site is in cvs > >>>>> (src/documentation/content/xdocs) > >>>>> > >>>>> > >>>>> Regards, > >>>>> Matthias > >>>>> > >>>>> > >>>>> > >>>> > >>> > >> > > > > > > > From [email protected] Mon Nov 22 14:53:05 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 54294 invoked from network); 22 Nov 2004 14:53:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 22 Nov 2004 14:53:05 -0000 Received: (qmail 21977 invoked by uid 500); 22 Nov 2004 14:52:31 -0000 Delivered-To: [email protected] Received: (qmail 21857 invoked by uid 500); 22 Nov 2004 14:52:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 21712 invoked by uid 99); 22 Nov 2004 14:52:29 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO MAIL4.DnB.no) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 22 Nov 2004 06:52:27 -0800 Received: from sdlap401.DnB.no (int-mail4.dnb.no) by MAIL4.DnB.no (Content Technologies SMTPRS 4.3.12) with ESMTP id <[email protected]> for <[email protected]>; Mon, 22 Nov 2004 15:39:57 +0100 Received: by sdlap401.dnb.no with Internet Mail Service (5.5.2657.72) id <XLVFCW3X>; Mon, 22 Nov 2004 15:42:00 +0100 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: SV: Weird question? Date: Mon, 22 Nov 2004 15:41:57 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="ISO-8859-1" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Thanks, this makes sense - I need to sit down and shake my head to get into the event-driven mode :) Regards Hermod -----Opprinnelig melding----- Fra: Matthias Wessendorf [mailto:[email protected]] Sendt: 22. november 2004 14:11 Til: 'MyFaces Development' Emne: RE: Weird question? Ah, now I see :-) Well what you could do is this: index.jsp --> <jsp:forward page="welcome.jsf"/> in weclome.jsp you could refer to a backingBean (welcomBacking,java) public class WelcomeBacking { private String tippOfTheDay; //getter+setter public WelcomeBacking(){ //connecting to DB or else tippOfTheDay = myTempDBaccessObject.getTipp(); } } in welcome.jsp file you could use a tag like <h:outputText value="#welcomeBacking.tippOfTheDay"/> to be able to do this your WelcomeBackingBean-clazz must be described in faces-config.xml in managed-bean-facility. btw. with this you will be also able to read HTTP-params in constructor of a BackingBean on a request like: http://host:port/app/listDetailsOfCustomer.jsf?id=654567865 JSF delivers an ExternalContext for accessing HTTP-Parameters HTH, Matthias > -----Original Message----- > From: [email protected] [mailto:[email protected]] > Sent: Monday, November 22, 2004 2:05 PM > To: [email protected] > Subject: SV: Weird question? > > > Hi > > Yes. I am looking at JSF for the next generation of a current > Struts based application. When the user gets the first > (index.do) page presented, the Struts Action has looked up > news etc from the database to present on the frontpage. > > Regards > Hermod > > -----Opprinnelig melding----- > Fra: Matthias Wessendorf [mailto:[email protected]] > Sendt: 22. november 2004 12:58 > Til: 'MyFaces Development' > Emne: RE: Weird question? > > > Could you be more detailed on that? > > I guess you mean the *preActions* ? > > Like http://host:port/myApp/showFormpage.do > that Action does something and *forwards* > to a JSP, that contains a HTML-form > for using formbeans? > > Do you mean this? > > Regards, > Matthias > > > -----Original Message----- > > From: [email protected] [mailto:[email protected]] > > Sent: Monday, November 22, 2004 12:21 PM > > To: [email protected] > > Subject: Weird question? > > > > > > Hi > > > > There is one question that I have not been able to fand an > > answer to. Since in JSF there is no notion of a > > FrontEndController, hence no way of calling an initial Action > > like you do in struts which can be used to prepopulate the > > request/session with data - How do you propose to do this in JSF ? > > > > Hermod > > > > > > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * > > * * * * * * * > > > > This email with attachments is solely for the use of the > > individual or entity to whom it is addressed. Please also be > > aware that the DnB NOR Group cannot accept any payment orders > > or other legally binding correspondence with customers as a > > part of an email. > > > > This email message has been virus checked by the virus > > programs used in the DnB NOR Group. > > > > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * > > * * * * * * * > > > From [email protected] Mon Nov 22 15:33:07 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84718 invoked from network); 22 Nov 2004 15:33:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 22 Nov 2004 15:33:07 -0000 Received: (qmail 77022 invoked by uid 500); 22 Nov 2004 15:33:06 -0000 Delivered-To: [email protected] Received: (qmail 76958 invoked by uid 500); 22 Nov 2004 15:33:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 76931 invoked by uid 99); 22 Nov 2004 15:33:05 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO [161.129.204.104]) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 22 Nov 2004 07:33:02 -0800 Message-ID: <[email protected]> Date: Mon, 22 Nov 2004 16:31:17 +0100 From: Manfred Geiler <[email protected]> User-Agent: Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: MyFaces Development <[email protected]> Subject: Re: new MyFaces-Website on i.a.o References: <00a601c4d0a0$8b815430$6402a8c0@fumakilla> In-Reply-To: <00a601c4d0a0$8b815430$6402a8c0@fumakilla> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Matthias Wessendorf wrote: > Hi ... see inline. > >>Well, now some quick brainstorming regarding the future of >>our MyFaces >>homepage: >>- We should displace the current www.myfaces.org page as soon as >>possible. Therefore we should bring all the content into the >>new page. >>Should not be a great effort because already many things >>there (thanks >>Matthias) and "luckily" there is not too much documentation yet ;-) > > yes, but for the components descr. (aka handbook) > we should use a wiki Do you really think so? Having the handbook in forrest sources would also enable us to generate offline docs or a pdf handbook, is that right or did I confuse something? So, IMHO, the better place for the docs is forrest. Of course some sort of docs would also be located in the wiki, but I would rather see these as tips & tricks. There could also be a place in the wiki where "junior contributors" would put their component docs, that one of us committers puts into forrest later. And "senior contributors" can also send their docs as patch to the forrest files. >>- The incubator-myfaces page should also have a link to our main page > > there is a link to www.myfaces.org, isn't it? > or do you mean the *legacy* sf-site? Yes, of course. Sorry, I overlooked it somehow... >>- There should be a wiki for everyone (not only developers) > > Right! for *handbook* and other stuff. > I guess the guys at infrastructure will be able > to create a wiki or the incubator guys? > I mailed Ted on that, perhaps he knows more > on that. ok, thanks. Manfred > >> >>Bill Dudney wrote: >> >>>BTW the new home page looks fantastic! >>> >>>Thanks Matthias, >>> >>>-bd- >>> >>>On Nov 22, 2004, at 6:22 AM, Bill Dudney wrote: >>> >>> >>>>Does anyone know if we can run cruise control on i.a.o? >>>> >>>>I've recently set up cruisecontrol on one of my project >> >>and now I'm a >> >>>>huge fan. I'd be glad to spearhead getting that set up if >> >>anyone knows >> >>>>who to talk to about it. >>>> >>>>Thanks! >>>> >>>>-bd- >>>> >>>>On Nov 22, 2004, at 3:24 AM, Matthias Wessendorf wrote: >>>> >>>> >>>>>>Can you give as a small "cookbook" of how to change the website? >>>>>>cvs, forrest, ... >>>>> >>>>> >>>>>Well forrest is an *easy* tool, >>>>>doc for forrest is at >>>>>http://forrest.apache.org >>>>>(install, Tags, setup projects,...) >>>>> >>>>>however, forrest could be integrated >>>>>into Ant, needs Ant 1.6+. So I decided >>>>>not to include forrest-task into our build. >>>>>I guess some of you are using *older* ant >>>>>(delivered by their IDEs...) >>>>> >>>>>Should we move to Ank 1.6? >>>>>then I will integrate forrest with your build. >>>>> >>>>>I run forrest in commandline on my box >>>>>I change to $MYFACES_HOME and call >>>>>"forrest" after I changed the xml >>>>>in forrest-folder (src/documentation/content/xdocs) >>>>> >>>>>then the processor is runing and builds the site >>>>>into $MYFACES__HOME/build/site. this folder >>>>>contains the HTMLs. >>>>> >>>>>To load the *updated* sites on i.a.o you >>>>>need ssh-access (via scp) to cvs.apache.org >>>>>(in short c.a.o) >>>>> >>>>>on c.a.o the folder /www/incubator.apache.org/projects/myfaces >>>>>contains our website. For modifing you need to be added to the >>>>>"apcvs" Unix group on the server. >>>>> >>>>>I asked the incubator-guys for adding me to that group. >> >>This moring >> >>>>>I looked at my "groups" and saw it was added. (Perhaps it is >>>>>default... I didn't checked it sillily before... ;-)) >>>>> >>>>>HTH, >>>>>Matthias >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>>Thanks, >>>>>>Manfred >>>>>> >>>>>>Matthias Wessendorf wrote: >>>>>> >>>>>> >>>>>>>Hi all, >>>>>>> >>>>>>>I just updated the website of MyFaces. >>>>>>>See here: >>>>>>>http://incubator.apache.org/myfaces/ >>>>>>> >>>>>>>It is very basic, but a first point. >>>>>>>SRC for the site is in cvs >>>>>>>(src/documentation/content/xdocs) >>>>>>> >>>>>>> >>>>>>>Regards, >>>>>>>Matthias >>>>>>> >>>>>>> >>>>>>> >>>>>> >>> >>> > > > From [email protected] Mon Nov 22 15:38:24 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88101 invoked from network); 22 Nov 2004 15:38:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 22 Nov 2004 15:38:24 -0000 Received: (qmail 93128 invoked by uid 500); 22 Nov 2004 15:38:22 -0000 Delivered-To: [email protected] Received: (qmail 93051 invoked by uid 500); 22 Nov 2004 15:38:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 93026 invoked by uid 99); 22 Nov 2004 15:38:20 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO moutng.kundenserver.de) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 22 Nov 2004 07:38:16 -0800 Received: from [161.129.204.104] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1CWGGT-0000To-00 for [email protected]; Mon, 22 Nov 2004 16:38:05 +0100 Received: from [161.129.204.104] (helo=fumakilla) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1CWGGS-0000tr-00 for [email protected]; Mon, 22 Nov 2004 16:38:04 +0100 From: "Matthias Wessendorf" <[email protected]> To: "'MyFaces Development'" <[email protected]> Subject: RE: new MyFaces-Website on i.a.o Date: Mon, 22 Nov 2004 16:37:16 +0100 Message-ID: <00be01c4d0a9$27535680$6402a8c0@fumakilla> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: <[email protected]> X-Mimeole: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Provags-ID: kundenserver.de [email protected] auth:157ed430dbf2887568e54eb61bfb58ed X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Manfred, > Do you really think so? > Having the handbook in forrest sources would also enable us > to generate > offline docs or a pdf handbook, is that right or did I > confuse something? So, IMHO, the better place for the docs is > forrest. Of course some sort > of docs would also be located in the wiki, but I would rather > see these > as tips & tricks. There could also be a place in the wiki > where "junior > contributors" would put their component docs, that one of us > committers > puts into forrest later. And "senior contributors" can also > send their > docs as patch to the forrest files. fine! I like this idea more :-) okay, jun. and sen. contributors seams to be a good thing. And of cource wiki is more for tips and tricks. And if someone would add content on our "handbook" they can post it in wiki. my +1 ;-) Regards, Matthia > > >>- The incubator-myfaces page should also have a link to our > main page > > > > there is a link to www.myfaces.org, isn't it? > > or do you mean the *legacy* sf-site? > > Yes, of course. Sorry, I overlooked it somehow... > > > >>- There should be a wiki for everyone (not only developers) > > > > Right! for *handbook* and other stuff. > > I guess the guys at infrastructure will be able > > to create a wiki or the incubator guys? > > I mailed Ted on that, perhaps he knows more > > on that. > > ok, thanks. > > Manfred > > > > >> > >>Bill Dudney wrote: > >> > >>>BTW the new home page looks fantastic! > >>> > >>>Thanks Matthias, > >>> > >>>-bd- > >>> > >>>On Nov 22, 2004, at 6:22 AM, Bill Dudney wrote: > >>> > >>> > >>>>Does anyone know if we can run cruise control on i.a.o? > >>>> > >>>>I've recently set up cruisecontrol on one of my project > >> > >>and now I'm a > >> > >>>>huge fan. I'd be glad to spearhead getting that set up if > >> > >>anyone knows > >> > >>>>who to talk to about it. > >>>> > >>>>Thanks! > >>>> > >>>>-bd- > >>>> > >>>>On Nov 22, 2004, at 3:24 AM, Matthias Wessendorf wrote: > >>>> > >>>> > >>>>>>Can you give as a small "cookbook" of how to change the website? > >>>>>>cvs, forrest, ... > >>>>> > >>>>> > >>>>>Well forrest is an *easy* tool, > >>>>>doc for forrest is at > >>>>>http://forrest.apache.org > >>>>>(install, Tags, setup projects,...) > >>>>> > >>>>>however, forrest could be integrated > >>>>>into Ant, needs Ant 1.6+. So I decided > >>>>>not to include forrest-task into our build. > >>>>>I guess some of you are using *older* ant > >>>>>(delivered by their IDEs...) > >>>>> > >>>>>Should we move to Ank 1.6? > >>>>>then I will integrate forrest with your build. > >>>>> > >>>>>I run forrest in commandline on my box > >>>>>I change to $MYFACES_HOME and call > >>>>>"forrest" after I changed the xml > >>>>>in forrest-folder (src/documentation/content/xdocs) > >>>>> > >>>>>then the processor is runing and builds the site > >>>>>into $MYFACES__HOME/build/site. this folder > >>>>>contains the HTMLs. > >>>>> > >>>>>To load the *updated* sites on i.a.o you > >>>>>need ssh-access (via scp) to cvs.apache.org > >>>>>(in short c.a.o) > >>>>> > >>>>>on c.a.o the folder /www/incubator.apache.org/projects/myfaces > >>>>>contains our website. For modifing you need to be added to the > >>>>>"apcvs" Unix group on the server. > >>>>> > >>>>>I asked the incubator-guys for adding me to that group. > >> > >>This moring > >> > >>>>>I looked at my "groups" and saw it was added. (Perhaps it is > >>>>>default... I didn't checked it sillily before... ;-)) > >>>>> > >>>>>HTH, > >>>>>Matthias > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>>>Thanks, > >>>>>>Manfred > >>>>>> > >>>>>>Matthias Wessendorf wrote: > >>>>>> > >>>>>> > >>>>>>>Hi all, > >>>>>>> > >>>>>>>I just updated the website of MyFaces. > >>>>>>>See here: > >>>>>>>http://incubator.apache.org/myfaces/ > >>>>>>> > >>>>>>>It is very basic, but a first point. > >>>>>>>SRC for the site is in cvs > >>>>>>>(src/documentation/content/xdocs) > >>>>>>> > >>>>>>> > >>>>>>>Regards, > >>>>>>>Matthias > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>> > >>> > >>> > > > > > > > From [email protected] Mon Nov 22 17:48:34 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88245 invoked from network); 22 Nov 2004 17:48:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 22 Nov 2004 17:48:33 -0000 Received: (qmail 9912 invoked by uid 500); 22 Nov 2004 17:48:32 -0000 Delivered-To: [email protected] Received: (qmail 9849 invoked by uid 500); 22 Nov 2004 17:48:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 9833 invoked by uid 99); 22 Nov 2004 17:48:31 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 22 Nov 2004 09:48:29 -0800 Received: by wproxy.gmail.com with SMTP id 68so218613wra for <[email protected]>; Mon, 22 Nov 2004 09:48:25 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=sB5sZQYEDbN3Vo/pBqJw3zt0vH7fsHM9s80uxrwIS8q4rMOSF4vVCxV/6S+NYAgbcU+1ZdQHVUexiaY9kP6rGxHmiJYfy6s5HaEcY16kAf43mbeDsN2olUu+/+JwCuQmmnVuZVT9FCLL5+lBFEKVM09jEPFrqc3e8Esu9y29di0= Received: by 161.129.204.104 with SMTP id 73mr1790060wru; Mon, 22 Nov 2004 02:36:32 -0800 (PST) Received: by 161.129.204.104 with HTTP; Mon, 22 Nov 2004 02:36:32 -0800 (PST) Message-ID: <[email protected]> Date: Mon, 22 Nov 2004 11:36:32 +0100 From: Martin Marinschek <[email protected]> Reply-To: [email protected] To: MyFaces Development <[email protected]> Subject: Re: new MyFaces-Website on i.a.o In-Reply-To: <004d01c4d07d$64c5a3a0$6402a8c0@fumakilla> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <[email protected]> <004d01c4d07d$64c5a3a0$6402a8c0@fumakilla> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N right now ant 1.6 is included in intellij, so for the intellij guys there wouldn't be a problem to have the deployment in the build file... regards, Martin On Mon, 22 Nov 2004 11:24:01 +0100, Matthias Wessendorf <[email protected]> wrote: > > Can you give as a small "cookbook" of how to change the > > website? cvs, forrest, ... > > Well forrest is an *easy* tool, > doc for forrest is at > http://forrest.apache.org > (install, Tags, setup projects,...) > > however, forrest could be integrated > into Ant, needs Ant 1.6+. So I decided > not to include forrest-task into our build. > I guess some of you are using *older* ant > (delivered by their IDEs...) > > Should we move to Ank 1.6? > then I will integrate forrest with your build. > > I run forrest in commandline on my box > I change to $MYFACES_HOME and call > "forrest" after I changed the xml > in forrest-folder (src/documentation/content/xdocs) > > then the processor is runing and builds the site > into $MYFACES__HOME/build/site. this folder > contains the HTMLs. > > To load the *updated* sites on i.a.o you > need ssh-access (via scp) to cvs.apache.org > (in short c.a.o) > > on c.a.o the folder /www/incubator.apache.org/projects/myfaces > contains our website. For modifing you need to be added to the "apcvs" > Unix group on the server. > > I asked the incubator-guys for adding me to that group. > This moring I looked at my "groups" and saw it was > added. (Perhaps it is default... I didn't checked it > sillily before... ;-)) > > HTH, > Matthias > > > > > > Thanks, > > Manfred > > > > Matthias Wessendorf wrote: > > > Hi all, > > > > > > I just updated the website of MyFaces. > > > See here: > > > http://incubator.apache.org/myfaces/ > > > > > > It is very basic, but a first point. > > > SRC for the site is in cvs > > > (src/documentation/content/xdocs) > > > > > > > > > Regards, > > > Matthias > > > > > > > > > > > > > From [email protected] Mon Nov 22 18:04:55 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 98946 invoked from network); 22 Nov 2004 18:04:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 22 Nov 2004 18:04:54 -0000 Received: (qmail 48830 invoked by uid 500); 22 Nov 2004 18:04:54 -0000 Delivered-To: [email protected] Received: (qmail 48783 invoked by uid 500); 22 Nov 2004 18:04:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 48755 invoked by uid 99); 22 Nov 2004 18:04:54 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=FORGED_RCVD_HELO,HTML_50_60,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO mailgwvw01.freelance.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 22 Nov 2004 10:04:50 -0800 Received: from mailgwvw02.freelance.com (mailgwvw02.freelance.com [161.129.204.104]) by mailgwvw01.freelance.com (8.12.3/8.12.3) with ESMTP id iAMI5As5027444 for <[email protected]>; Mon, 22 Nov 2004 19:05:11 +0100 Received: from 161.129.204.104 ([161.129.204.104]) by mailgwvw02.freelance.com (Lotus Domino Release 5.0.12) with ESMTP id 2004112219043377:969 ; Mon, 22 Nov 2004 19:04:33 +0100 Subject: Re: new MyFaces-Website on i.a.o From: Sylvain Vieujot <[email protected]> To: MyFaces Development <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <004d01c4d07d$64c5a3a0$6402a8c0@fumakilla> <[email protected]> Date: Mon, 22 Nov 2004 14:04:32 -0400 Message-Id: <[email protected]> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-3) X-MIMETrack: Itemize by SMTP Server on mailgw01/Freelance(Release 5.0.12 |February 13, 2003) at 11/22/2004 07:04:34 PM, Serialize by Router on mailgw01/Freelance(Release 5.0.12 |February 13, 2003) at 11/22/2004 07:04:35 PM, Serialize complete at 11/22/2004 07:04:35 PM Content-Type: multipart/alternative; boundary="=-gZu0/V73fQKU0y6CaLBO" X-Spam-Status: No, hits=0.5 required=5.0 tests=HTML_40_50,HTML_MESSAGE autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on mailgwvw01.freelance.com X-Virus-Scanned: ClamAV 0.80rc/591/Thu Nov 18 16:38:04 2004 clamav-milter version 0.80 on 161.129.204.104 X-Virus-Status: Clean X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --=-gZu0/V73fQKU0y6CaLBO Content-Transfer-Encoding: 7bit Content-Type: text/plain I use eclipse 3.1, and it's bundled with ant 1.6.2 I think eclipse 3.0 uses ant 1.6 too. On Mon, 2004-11-22 at 11:36 +0100, Martin Marinschek wrote: > right now ant 1.6 is included in intellij, so for the intellij guys > there wouldn't be a problem to have the deployment in the build > file... > > regards, > > Martin > > > On Mon, 22 Nov 2004 11:24:01 +0100, Matthias Wessendorf > <[email protected]> wrote: > > > Can you give as a small "cookbook" of how to change the > > > website? cvs, forrest, ... > > > > Well forrest is an *easy* tool, > > doc for forrest is at > > http://forrest.apache.org > > (install, Tags, setup projects,...) > > > > however, forrest could be integrated > > into Ant, needs Ant 1.6+. So I decided > > not to include forrest-task into our build. > > I guess some of you are using *older* ant > > (delivered by their IDEs...) > > > > Should we move to Ank 1.6? > > then I will integrate forrest with your build. > > > > I run forrest in commandline on my box > > I change to $MYFACES_HOME and call > > "forrest" after I changed the xml > > in forrest-folder (src/documentation/content/xdocs) > > > > then the processor is runing and builds the site > > into $MYFACES__HOME/build/site. this folder > > contains the HTMLs. > > > > To load the *updated* sites on i.a.o you > > need ssh-access (via scp) to cvs.apache.org > > (in short c.a.o) > > > > on c.a.o the folder /www/incubator.apache.org/projects/myfaces > > contains our website. For modifing you need to be added to the "apcvs" > > Unix group on the server. > > > > I asked the incubator-guys for adding me to that group. > > This moring I looked at my "groups" and saw it was > > added. (Perhaps it is default... I didn't checked it > > sillily before... ;-)) > > > > HTH, > > Matthias > > > > > > > > > > > Thanks, > > > Manfred > > > > > > Matthias Wessendorf wrote: > > > > Hi all, > > > > > > > > I just updated the website of MyFaces. > > > > See here: > > > > http://incubator.apache.org/myfaces/ > > > > > > > > It is very basic, but a first point. > > > > SRC for the site is in cvs > > > > (src/documentation/content/xdocs) > > > > > > > > > > > > Regards, > > > > Matthias > > > > > > > > > > > > > > > > > > > --=-gZu0/V73fQKU0y6CaLBO Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=utf-8 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8"> <META NAME="GENERATOR" CONTENT="GtkHTML/3.3.2"> </HEAD> <BODY> I use eclipse 3.1, and it's bundled with ant 1.6.2<BR> I think eclipse 3.0 uses ant 1.6 too.<BR> <BR> On Mon, 2004-11-22 at 11:36 +0100, Martin Marinschek wrote: <BLOCKQUOTE TYPE=CITE> <PRE> <FONT COLOR="#000000">right now ant 1.6 is included in intellij, so for the intellij guys</FONT> <FONT COLOR="#000000">there wouldn't be a problem to have the deployment in the build</FONT> <FONT COLOR="#000000">file...</FONT> <FONT COLOR="#000000">regards,</FONT> <FONT COLOR="#000000">Martin</FONT> <FONT COLOR="#000000">On Mon, 22 Nov 2004 11:24:01 +0100, Matthias Wessendorf</FONT> <FONT COLOR="#000000">&lt;<A HREF="mailto:[email protected]">[email protected]</A>&gt; wrote:</FONT> <FONT COLOR="#000000">&gt; &gt; Can you give as a small &quot;cookbook&quot; of how to change the</FONT> <FONT COLOR="#000000">&gt; &gt; website? cvs, forrest, ...</FONT> <FONT COLOR="#000000">&gt; </FONT> <FONT COLOR="#000000">&gt; Well forrest is an *easy* tool,</FONT> <FONT COLOR="#000000">&gt; doc for forrest is at</FONT> <FONT COLOR="#000000">&gt; <A HREF="http://forrest.apache.org">http://forrest.apache.org</A></FONT> <FONT COLOR="#000000">&gt; (install, Tags, setup projects,...)</FONT> <FONT COLOR="#000000">&gt; </FONT> <FONT COLOR="#000000">&gt; however, forrest could be integrated</FONT> <FONT COLOR="#000000">&gt; into Ant, needs Ant 1.6+. So I decided</FONT> <FONT COLOR="#000000">&gt; not to include forrest-task into our build.</FONT> <FONT COLOR="#000000">&gt; I guess some of you are using *older* ant</FONT> <FONT COLOR="#000000">&gt; (delivered by their IDEs...)</FONT> <FONT COLOR="#000000">&gt; </FONT> <FONT COLOR="#000000">&gt; Should we move to Ank 1.6?</FONT> <FONT COLOR="#000000">&gt; then I will integrate forrest with your build.</FONT> <FONT COLOR="#000000">&gt; </FONT> <FONT COLOR="#000000">&gt; I run forrest in commandline on my box</FONT> <FONT COLOR="#000000">&gt; I change to $MYFACES_HOME and call</FONT> <FONT COLOR="#000000">&gt; &quot;forrest&quot; after I changed the xml</FONT> <FONT COLOR="#000000">&gt; in forrest-folder (src/documentation/content/xdocs)</FONT> <FONT COLOR="#000000">&gt; </FONT> <FONT COLOR="#000000">&gt; then the processor is runing and builds the site</FONT> <FONT COLOR="#000000">&gt; into $MYFACES__HOME/build/site. this folder</FONT> <FONT COLOR="#000000">&gt; contains the HTMLs.</FONT> <FONT COLOR="#000000">&gt; </FONT> <FONT COLOR="#000000">&gt; To load the *updated* sites on i.a.o you</FONT> <FONT COLOR="#000000">&gt; need ssh-access (via scp) to cvs.apache.org</FONT> <FONT COLOR="#000000">&gt; (in short c.a.o)</FONT> <FONT COLOR="#000000">&gt; </FONT> <FONT COLOR="#000000">&gt; on c.a.o the folder /www/incubator.apache.org/projects/myfaces</FONT> <FONT COLOR="#000000">&gt; contains our website. For modifing you need to be added to the &quot;apcvs&quot;</FONT> <FONT COLOR="#000000">&gt; Unix group on the server.</FONT> <FONT COLOR="#000000">&gt; </FONT> <FONT COLOR="#000000">&gt; I asked the incubator-guys for adding me to that group.</FONT> <FONT COLOR="#000000">&gt; This moring I looked at my &quot;groups&quot; and saw it was</FONT> <FONT COLOR="#000000">&gt; added. (Perhaps it is default... I didn't checked it</FONT> <FONT COLOR="#000000">&gt; sillily before... ;-))</FONT> <FONT COLOR="#000000">&gt; </FONT> <FONT COLOR="#000000">&gt; HTH,</FONT> <FONT COLOR="#000000">&gt; Matthias</FONT> <FONT COLOR="#000000">&gt; </FONT> <FONT COLOR="#000000">&gt; </FONT> <FONT COLOR="#000000">&gt; </FONT> <FONT COLOR="#000000">&gt; </FONT> <FONT COLOR="#000000">&gt; &gt; Thanks,</FONT> <FONT COLOR="#000000">&gt; &gt; Manfred</FONT> <FONT COLOR="#000000">&gt; &gt;</FONT> <FONT COLOR="#000000">&gt; &gt; Matthias Wessendorf wrote:</FONT> <FONT COLOR="#000000">&gt; &gt; &gt; Hi all,</FONT> <FONT COLOR="#000000">&gt; &gt; &gt;</FONT> <FONT COLOR="#000000">&gt; &gt; &gt; I just updated the website of MyFaces.</FONT> <FONT COLOR="#000000">&gt; &gt; &gt; See here:</FONT> <FONT COLOR="#000000">&gt; &gt; &gt; <A HREF="http://incubator.apache.org/myfaces/">http://incubator.apache.org/myfaces/</A></FONT> <FONT COLOR="#000000">&gt; &gt; &gt;</FONT> <FONT COLOR="#000000">&gt; &gt; &gt; It is very basic, but a first point.</FONT> <FONT COLOR="#000000">&gt; &gt; &gt; SRC for the site is in cvs</FONT> <FONT COLOR="#000000">&gt; &gt; &gt; (src/documentation/content/xdocs)</FONT> <FONT COLOR="#000000">&gt; &gt; &gt;</FONT> <FONT COLOR="#000000">&gt; &gt; &gt;</FONT> <FONT COLOR="#000000">&gt; &gt; &gt; Regards,</FONT> <FONT COLOR="#000000">&gt; &gt; &gt; Matthias</FONT> <FONT COLOR="#000000">&gt; &gt; &gt;</FONT> <FONT COLOR="#000000">&gt; &gt; &gt;</FONT> <FONT COLOR="#000000">&gt; &gt; &gt;</FONT> <FONT COLOR="#000000">&gt; &gt;</FONT> <FONT COLOR="#000000">&gt; </FONT> <FONT COLOR="#000000">&gt;</FONT> </PRE> </BLOCKQUOTE> </BODY> </HTML> --=-gZu0/V73fQKU0y6CaLBO-- From [email protected] Mon Nov 22 18:47:15 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 22668 invoked from network); 22 Nov 2004 18:47:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 22 Nov 2004 18:47:14 -0000 Received: (qmail 71374 invoked by uid 500); 22 Nov 2004 18:47:12 -0000 Delivered-To: [email protected] Received: (qmail 71278 invoked by uid 500); 22 Nov 2004 18:47:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 71260 invoked by uid 99); 22 Nov 2004 18:47:10 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO moutng.kundenserver.de) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 22 Nov 2004 10:47:06 -0800 Received: from [161.129.204.104] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1CWET0-0005ac-00 for [email protected]; Mon, 22 Nov 2004 14:42:54 +0100 Received: from [161.129.204.104] (helo=fumakilla) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1CWET1-0001oo-00 for [email protected]; Mon, 22 Nov 2004 14:42:55 +0100 From: "Matthias Wessendorf" <[email protected]> To: "'MyFaces Development'" <[email protected]> Subject: RE: new MyFaces-Website on i.a.o Date: Mon, 22 Nov 2004 14:42:09 +0100 Message-ID: <009b01c4d099$10e5b600$6402a8c0@fumakilla> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: <[email protected]> X-Mimeole: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Provags-ID: kundenserver.de [email protected] auth:157ed430dbf2887568e54eb61bfb58ed X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > Does anyone know if we can run cruise control on i.a.o? :-) nice idea. heart much on it. perhaps the infrastructor-guys will know more on that. Regards, Matthias > I've recently set up cruisecontrol on one of my project and now I'm a > huge fan. I'd be glad to spearhead getting that set up if > anyone knows > who to talk to about it. > > Thanks! > > -bd- > > On Nov 22, 2004, at 3:24 AM, Matthias Wessendorf wrote: > > >> Can you give as a small "cookbook" of how to change the > website? cvs, > >> forrest, ... > > > > Well forrest is an *easy* tool, > > doc for forrest is at > > http://forrest.apache.org > > (install, Tags, setup projects,...) > > > > however, forrest could be integrated > > into Ant, needs Ant 1.6+. So I decided > > not to include forrest-task into our build. > > I guess some of you are using *older* ant > > (delivered by their IDEs...) > > > > Should we move to Ank 1.6? > > then I will integrate forrest with your build. > > > > I run forrest in commandline on my box > > I change to $MYFACES_HOME and call > > "forrest" after I changed the xml > > in forrest-folder (src/documentation/content/xdocs) > > > > then the processor is runing and builds the site > > into $MYFACES__HOME/build/site. this folder > > contains the HTMLs. > > > > To load the *updated* sites on i.a.o you > > need ssh-access (via scp) to cvs.apache.org > > (in short c.a.o) > > > > on c.a.o the folder /www/incubator.apache.org/projects/myfaces > > contains our website. For modifing you need to be added to > the "apcvs" > > Unix group on the server. > > > > I asked the incubator-guys for adding me to that group. > > This moring I looked at my "groups" and saw it was > > added. (Perhaps it is default... I didn't checked it > > sillily before... ;-)) > > > > HTH, > > Matthias > > > > > > > > > > > >> Thanks, > >> Manfred > >> > >> Matthias Wessendorf wrote: > >>> Hi all, > >>> > >>> I just updated the website of MyFaces. > >>> See here: > >>> http://incubator.apache.org/myfaces/ > >>> > >>> It is very basic, but a first point. > >>> SRC for the site is in cvs > >>> (src/documentation/content/xdocs) > >>> > >>> > >>> Regards, > >>> Matthias > >>> > >>> > >>> > >> > > > From [email protected] Mon Nov 22 19:24:26 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48747 invoked from network); 22 Nov 2004 19:24:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 22 Nov 2004 19:24:25 -0000 Received: (qmail 63359 invoked by uid 500); 22 Nov 2004 19:24:23 -0000 Delivered-To: [email protected] Received: (qmail 63324 invoked by uid 500); 22 Nov 2004 19:24:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 63312 invoked by uid 99); 22 Nov 2004 19:24:23 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO dudney.jportfolio.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 22 Nov 2004 11:24:21 -0800 Received: from [161.129.204.104] (c-67-161-197-229.client.comcast.net [161.129.204.104]) by dudney.jportfolio.com (8.11.6/8.11.6) with ESMTP id iAMKIcV31831 for <[email protected]>; Mon, 22 Nov 2004 15:18:38 -0500 Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <009b01c4d099$10e5b600$6402a8c0@fumakilla> References: <009b01c4d099$10e5b600$6402a8c0@fumakilla> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <[email protected]> Content-Transfer-Encoding: 7bit From: Bill Dudney <[email protected]> Subject: Re: new MyFaces-Website on i.a.o Date: Mon, 22 Nov 2004 12:24:11 -0700 To: MyFaces Development <[email protected]> X-Mailer: Apple Mail (2.619) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi All, +1 on moving everything from where it is into i.a.o. I like forest too instead of a WIKI for components On the cruisecontrol front--- I email Ted H. and he refereed me to the infrastructure guys. They use gump instead of cruisecontrol. Same basic functional set though I believe. After the holiday (thanksgiving in the us this week) I'll try to take a crack at getting us plugged into the nightly build. I could also do the nightly build via cruisecontrol and then upload the files to our spot on i.a.o. I'll look at both and keep you all informed. TTFN, -bd- On Nov 22, 2004, at 6:42 AM, Matthias Wessendorf wrote: >> Does anyone know if we can run cruise control on i.a.o? > > :-) nice idea. heart much on it. perhaps the infrastructor-guys > will know more on that. > > Regards, > Matthias > >> I've recently set up cruisecontrol on one of my project and now I'm a >> huge fan. I'd be glad to spearhead getting that set up if >> anyone knows >> who to talk to about it. >> >> Thanks! >> >> -bd- >> >> On Nov 22, 2004, at 3:24 AM, Matthias Wessendorf wrote: >> >>>> Can you give as a small "cookbook" of how to change the >> website? cvs, >>>> forrest, ... >>> >>> Well forrest is an *easy* tool, >>> doc for forrest is at >>> http://forrest.apache.org >>> (install, Tags, setup projects,...) >>> >>> however, forrest could be integrated >>> into Ant, needs Ant 1.6+. So I decided >>> not to include forrest-task into our build. >>> I guess some of you are using *older* ant >>> (delivered by their IDEs...) >>> >>> Should we move to Ank 1.6? >>> then I will integrate forrest with your build. >>> >>> I run forrest in commandline on my box >>> I change to $MYFACES_HOME and call >>> "forrest" after I changed the xml >>> in forrest-folder (src/documentation/content/xdocs) >>> >>> then the processor is runing and builds the site >>> into $MYFACES__HOME/build/site. this folder >>> contains the HTMLs. >>> >>> To load the *updated* sites on i.a.o you >>> need ssh-access (via scp) to cvs.apache.org >>> (in short c.a.o) >>> >>> on c.a.o the folder /www/incubator.apache.org/projects/myfaces >>> contains our website. For modifing you need to be added to >> the "apcvs" >>> Unix group on the server. >>> >>> I asked the incubator-guys for adding me to that group. >>> This moring I looked at my "groups" and saw it was >>> added. (Perhaps it is default... I didn't checked it >>> sillily before... ;-)) >>> >>> HTH, >>> Matthias >>> >>> >>> >>> >>> >>>> Thanks, >>>> Manfred >>>> >>>> Matthias Wessendorf wrote: >>>>> Hi all, >>>>> >>>>> I just updated the website of MyFaces. >>>>> See here: >>>>> http://incubator.apache.org/myfaces/ >>>>> >>>>> It is very basic, but a first point. >>>>> SRC for the site is in cvs >>>>> (src/documentation/content/xdocs) >>>>> >>>>> >>>>> Regards, >>>>> Matthias >>>>> >>>>> >>>>> >>>> >>> >> > From [email protected] Mon Nov 22 19:27:14 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 50148 invoked from network); 22 Nov 2004 19:27:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 22 Nov 2004 19:27:13 -0000 Received: (qmail 67682 invoked by uid 500); 22 Nov 2004 19:27:08 -0000 Delivered-To: [email protected] Received: (qmail 67636 invoked by uid 500); 22 Nov 2004 19:27:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 67606 invoked by uid 99); 22 Nov 2004 19:27:07 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO moutng.kundenserver.de) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 22 Nov 2004 11:27:05 -0800 Received: from [161.129.204.104] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1CWJpx-0001sl-00 for [email protected]; Mon, 22 Nov 2004 20:26:57 +0100 Received: from [161.129.204.104] (helo=fumakilla) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1CWJpx-0006jw-00 for [email protected]; Mon, 22 Nov 2004 20:26:57 +0100 From: "Matthias Wessendorf" <[email protected]> To: "'MyFaces Development'" <[email protected]> Subject: RE: new MyFaces-Website on i.a.o Date: Mon, 22 Nov 2004 20:26:11 +0100 Message-ID: <00e401c4d0c9$20929de0$6402a8c0@fumakilla> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: <[email protected]> X-Mimeole: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Provags-ID: kundenserver.de [email protected] auth:157ed430dbf2887568e54eb61bfb58ed X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Bill, Manfred, others Ted mailed me to, I forwarded it to [email protected] Regards, Matthias BTW. nightly via crusicontrol sounds fine! A great chance to learn this tool ;-) > -----Original Message----- > From: Bill Dudney [mailto:[email protected]] > Sent: Monday, November 22, 2004 8:24 PM > To: MyFaces Development > Subject: Re: new MyFaces-Website on i.a.o > > > Hi All, > > +1 on moving everything from where it is into i.a.o. I like forest too > instead of a WIKI for components > > On the cruisecontrol front--- I email Ted H. and he refereed > me to the > infrastructure guys. They use gump instead of cruisecontrol. > Same basic > functional set though I believe. After the holiday > (thanksgiving in the > us this week) I'll try to take a crack at getting us plugged into the > nightly build. > > I could also do the nightly build via cruisecontrol and then > upload the > files to our spot on i.a.o. I'll look at both and keep you all > informed. > > TTFN, > > -bd- > > On Nov 22, 2004, at 6:42 AM, Matthias Wessendorf wrote: > > >> Does anyone know if we can run cruise control on i.a.o? > > > > :-) nice idea. heart much on it. perhaps the infrastructor-guys > > will know more on that. > > > > Regards, > > Matthias > > > >> I've recently set up cruisecontrol on one of my project > and now I'm a > >> huge fan. I'd be glad to spearhead getting that set up if > >> anyone knows > >> who to talk to about it. > >> > >> Thanks! > >> > >> -bd- > >> > >> On Nov 22, 2004, at 3:24 AM, Matthias Wessendorf wrote: > >> > >>>> Can you give as a small "cookbook" of how to change the > >> website? cvs, > >>>> forrest, ... > >>> > >>> Well forrest is an *easy* tool, > >>> doc for forrest is at > >>> http://forrest.apache.org > >>> (install, Tags, setup projects,...) > >>> > >>> however, forrest could be integrated > >>> into Ant, needs Ant 1.6+. So I decided > >>> not to include forrest-task into our build. > >>> I guess some of you are using *older* ant > >>> (delivered by their IDEs...) > >>> > >>> Should we move to Ank 1.6? > >>> then I will integrate forrest with your build. > >>> > >>> I run forrest in commandline on my box > >>> I change to $MYFACES_HOME and call > >>> "forrest" after I changed the xml > >>> in forrest-folder (src/documentation/content/xdocs) > >>> > >>> then the processor is runing and builds the site > >>> into $MYFACES__HOME/build/site. this folder > >>> contains the HTMLs. > >>> > >>> To load the *updated* sites on i.a.o you > >>> need ssh-access (via scp) to cvs.apache.org > >>> (in short c.a.o) > >>> > >>> on c.a.o the folder /www/incubator.apache.org/projects/myfaces > >>> contains our website. For modifing you need to be added to > >> the "apcvs" > >>> Unix group on the server. > >>> > >>> I asked the incubator-guys for adding me to that group. > >>> This moring I looked at my "groups" and saw it was > >>> added. (Perhaps it is default... I didn't checked it > >>> sillily before... ;-)) > >>> > >>> HTH, > >>> Matthias > >>> > >>> > >>> > >>> > >>> > >>>> Thanks, > >>>> Manfred > >>>> > >>>> Matthias Wessendorf wrote: > >>>>> Hi all, > >>>>> > >>>>> I just updated the website of MyFaces. > >>>>> See here: > >>>>> http://incubator.apache.org/myfaces/ > >>>>> > >>>>> It is very basic, but a first point. > >>>>> SRC for the site is in cvs > >>>>> (src/documentation/content/xdocs) > >>>>> > >>>>> > >>>>> Regards, > >>>>> Matthias > >>>>> > >>>>> > >>>>> > >>>> > >>> > >> > > > From [email protected] Tue Nov 23 04:39:40 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74836 invoked from network); 23 Nov 2004 04:39:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 23 Nov 2004 04:39:40 -0000 Received: (qmail 19791 invoked by uid 500); 23 Nov 2004 04:39:39 -0000 Delivered-To: [email protected] Received: (qmail 19738 invoked by uid 500); 23 Nov 2004 04:39:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 19717 invoked by uid 99); 23 Nov 2004 04:39:38 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=FORGED_RCVD_HELO,HTML_30_40,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: error (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO mailgwvw01.freelance.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 22 Nov 2004 20:39:34 -0800 Received: from mailgwvw02.freelance.com (mailgwvw02.freelance.com [161.129.204.104]) by mailgwvw01.freelance.com (8.12.3/8.12.3) with ESMTP id iAN4dvs5006795 for <[email protected]>; Tue, 23 Nov 2004 05:39:57 +0100 Received: from 161.129.204.104 ([161.129.204.104]) by mailgwvw02.freelance.com (Lotus Domino Release 5.0.12) with ESMTP id 2004112305392059:1016 ; Tue, 23 Nov 2004 05:39:20 +0100 Subject: New "permanent" attribute to x:aliasBean From: Sylvain Vieujot <[email protected]> To: MyFaces Development <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <004d01c4d07d$64c5a3a0$6402a8c0@fumakilla> <[email protected]> <[email protected]> Date: Tue, 23 Nov 2004 00:39:22 -0400 Message-Id: <[email protected]> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-3) X-MIMETrack: Itemize by SMTP Server on mailgw01/Freelance(Release 5.0.12 |February 13, 2003) at 11/23/2004 05:39:20 AM, Serialize by Router on mailgw01/Freelance(Release 5.0.12 |February 13, 2003) at 11/23/2004 05:39:21 AM, Serialize complete at 11/23/2004 05:39:21 AM Content-Type: multipart/alternative; boundary="=-dtn0CjKcpBV08CIboV/K" X-Spam-Status: No, hits=0.0 required=5.0 tests=HTML_MESSAGE autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on mailgwvw01.freelance.com X-Virus-Scanned: ClamAV 0.80rc/591/Thu Nov 18 16:38:04 2004 clamav-milter version 0.80 on 161.129.204.104 X-Virus-Status: Clean X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --=-dtn0CjKcpBV08CIboV/K Content-Transfer-Encoding: 7bit Content-Type: text/plain The aliasBean didn't work with commandButtons. The problem is that when events are broadcasted, the tag has no way (that I'm aware of) to intercept the calls to it's children broadcast. So, it can't make/remove the alias before/after the call to a child h:commandButton action. The only way I've found to solve this is to add a new attribute named permanent to the x:aliasBean. So if permanent="true" is added to the tag, the alias isn't removed when the tag is closed. I know, this is quite ugly, but I didn't find a better way to handle this case. Suggestions to improve this and find a way to remove this attribute would be very welcome. Sylvain. --=-dtn0CjKcpBV08CIboV/K Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=utf-8 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8"> <META NAME="GENERATOR" CONTENT="GtkHTML/3.3.2"> </HEAD> <BODY> The aliasBean didn't work with commandButton<I>s</I>.<BR> <BR> The problem is that when events are broadcasted, the tag has no way (that I'm aware of) to intercept the calls to it's children broadcast.<BR> So, it can't make/remove the alias before/after the call to a child h:commandButton action.<BR> <BR> The only way I've found to solve this is to add a new attribute named <B>permanent</B> to the x:aliasBean.<BR> So if permanent=&quot;true&quot; is added to the tag, the alias isn't removed when the tag is closed.<BR> <BR> I know, this is quite ugly, but I didn't find a better way to handle this case.<BR> <BR> Suggestions to improve this and find a way to remove this attribute would be very welcome.<BR> <BR> Sylvain. </BODY> </HTML> --=-dtn0CjKcpBV08CIboV/K-- From [email protected] Tue Nov 23 08:17:34 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 20592 invoked from network); 23 Nov 2004 08:17:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 23 Nov 2004 08:17:34 -0000 Received: (qmail 51550 invoked by uid 500); 23 Nov 2004 08:17:33 -0000 Delivered-To: [email protected] Received: (qmail 51500 invoked by uid 500); 23 Nov 2004 08:17:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 51487 invoked by uid 99); 23 Nov 2004 08:17:33 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO [161.129.204.104]) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 23 Nov 2004 00:17:32 -0800 Message-ID: <[email protected]> Date: Tue, 23 Nov 2004 09:15:55 +0100 From: Manfred Geiler <[email protected]> User-Agent: Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: MyFaces Development <[email protected]> Subject: Re: New "permanent" attribute to x:aliasBean References: <[email protected]> <004d01c4d07d$64c5a3a0$6402a8c0@fumakilla> <[email protected]> <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Sylvain, Do you have a custom "aliasBean" component associated with the tag? If yes, you could do the same trick as the UIData does. UIData wraps each Event in a private FacesEventWrapper class so that it has total control of the situation (i.e. the current row) for broadcasting the real Event to the actual component. Look at the queueEvent and broadcast methods in javax.faces.component.UIData to see what I mean. HTH, Manfred Sylvain Vieujot wrote: > The aliasBean didn't work with commandButton/s/. > > The problem is that when events are broadcasted, the tag has no way > (that I'm aware of) to intercept the calls to it's children broadcast. > So, it can't make/remove the alias before/after the call to a child > h:commandButton action. > > The only way I've found to solve this is to add a new attribute named > *permanent* to the x:aliasBean. > So if permanent="true" is added to the tag, the alias isn't removed when > the tag is closed. > > I know, this is quite ugly, but I didn't find a better way to handle > this case. > > Suggestions to improve this and find a way to remove this attribute > would be very welcome. > > Sylvain. From [email protected] Tue Nov 23 11:01:53 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18729 invoked from network); 23 Nov 2004 11:01:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 23 Nov 2004 11:01:53 -0000 Received: (qmail 66794 invoked by uid 500); 23 Nov 2004 11:01:52 -0000 Delivered-To: [email protected] Received: (qmail 66735 invoked by uid 500); 23 Nov 2004 11:01:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 66694 invoked by uid 99); 23 Nov 2004 11:01:51 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=FORGED_RCVD_HELO,HTML_40_50,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO mailgwvw01.freelance.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 23 Nov 2004 03:01:47 -0800 Received: from mailgwvw02.freelance.com (mailgwvw02.freelance.com [161.129.204.104]) by mailgwvw01.freelance.com (8.12.3/8.12.3) with ESMTP id iANB2Fs5020881 for <[email protected]>; Tue, 23 Nov 2004 12:02:15 +0100 Received: from 161.129.204.104 ([161.129.204.104]) by mailgwvw02.freelance.com (Lotus Domino Release 5.0.12) with ESMTP id 2004112312013880:1209 ; Tue, 23 Nov 2004 12:01:38 +0100 Subject: Re: New "permanent" attribute to x:aliasBean From: Sylvain Vieujot <[email protected]> To: MyFaces Development <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> <004d01c4d07d$64c5a3a0$6402a8c0@fumakilla> <[email protected]> <[email protected]> <[email protected]> <[email protected]> Date: Tue, 23 Nov 2004 07:01:39 -0400 Message-Id: <[email protected]> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-3) X-MIMETrack: Itemize by SMTP Server on mailgw01/Freelance(Release 5.0.12 |February 13, 2003) at 11/23/2004 12:01:39 PM, Serialize by Router on mailgw01/Freelance(Release 5.0.12 |February 13, 2003) at 11/23/2004 12:01:40 PM, Serialize complete at 11/23/2004 12:01:40 PM Content-Type: multipart/alternative; boundary="=-T4QXfgCno4hn0HMijKiP" X-Spam-Status: No, hits=0.8 required=5.0 tests=HTML_30_40,HTML_MESSAGE autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on mailgwvw01.freelance.com X-Virus-Scanned: ClamAV 0.80rc/591/Thu Nov 18 16:38:04 2004 clamav-milter version 0.80 on 161.129.204.104 X-Virus-Status: Clean X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --=-T4QXfgCno4hn0HMijKiP Content-Transfer-Encoding: 7bit Content-Type: text/plain You're right, it works great. Thanks for the trick. Sylvain. On Tue, 2004-11-23 at 09:15 +0100, Manfred Geiler wrote: > Sylvain, > Do you have a custom "aliasBean" component associated with the tag? > If yes, you could do the same trick as the UIData does. UIData wraps > each Event in a private FacesEventWrapper class so that it has total > control of the situation (i.e. the current row) for broadcasting the > real Event to the actual component. > Look at the queueEvent and broadcast methods in > javax.faces.component.UIData to see what I mean. > > HTH, > Manfred > > > Sylvain Vieujot wrote: > > The aliasBean didn't work with commandButton/s/. > > > > The problem is that when events are broadcasted, the tag has no way > > (that I'm aware of) to intercept the calls to it's children broadcast. > > So, it can't make/remove the alias before/after the call to a child > > h:commandButton action. > > > > The only way I've found to solve this is to add a new attribute named > > *permanent* to the x:aliasBean. > > So if permanent="true" is added to the tag, the alias isn't removed when > > the tag is closed. > > > > I know, this is quite ugly, but I didn't find a better way to handle > > this case. > > > > Suggestions to improve this and find a way to remove this attribute > > would be very welcome. > > > > Sylvain. --=-T4QXfgCno4hn0HMijKiP Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=utf-8 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8"> <META NAME="GENERATOR" CONTENT="GtkHTML/3.3.2"> </HEAD> <BODY> You're right, it works great.<BR> <BR> Thanks for the trick.<BR> <BR> Sylvain.<BR> <BR> On Tue, 2004-11-23 at 09:15 +0100, Manfred Geiler wrote: <BLOCKQUOTE TYPE=CITE> <PRE> <FONT COLOR="#000000">Sylvain,</FONT> <FONT COLOR="#000000">Do you have a custom &quot;aliasBean&quot; component associated with the tag?</FONT> <FONT COLOR="#000000">If yes, you could do the same trick as the UIData does. UIData wraps </FONT> <FONT COLOR="#000000">each Event in a private FacesEventWrapper class so that it has total </FONT> <FONT COLOR="#000000">control of the situation (i.e. the current row) for broadcasting the </FONT> <FONT COLOR="#000000">real Event to the actual component.</FONT> <FONT COLOR="#000000">Look at the queueEvent and broadcast methods in </FONT> <FONT COLOR="#000000">javax.faces.component.UIData to see what I mean.</FONT> <FONT COLOR="#000000">HTH,</FONT> <FONT COLOR="#000000">Manfred</FONT> <FONT COLOR="#000000">Sylvain Vieujot wrote:</FONT> <FONT COLOR="#000000">&gt; The aliasBean didn't work with commandButton/s/.</FONT> <FONT COLOR="#000000">&gt; </FONT> <FONT COLOR="#000000">&gt; The problem is that when events are broadcasted, the tag has no way </FONT> <FONT COLOR="#000000">&gt; (that I'm aware of) to intercept the calls to it's children broadcast.</FONT> <FONT COLOR="#000000">&gt; So, it can't make/remove the alias before/after the call to a child </FONT> <FONT COLOR="#000000">&gt; h:commandButton action.</FONT> <FONT COLOR="#000000">&gt; </FONT> <FONT COLOR="#000000">&gt; The only way I've found to solve this is to add a new attribute named </FONT> <FONT COLOR="#000000">&gt; *permanent* to the x:aliasBean.</FONT> <FONT COLOR="#000000">&gt; So if permanent=&quot;true&quot; is added to the tag, the alias isn't removed when </FONT> <FONT COLOR="#000000">&gt; the tag is closed.</FONT> <FONT COLOR="#000000">&gt; </FONT> <FONT COLOR="#000000">&gt; I know, this is quite ugly, but I didn't find a better way to handle </FONT> <FONT COLOR="#000000">&gt; this case.</FONT> <FONT COLOR="#000000">&gt; </FONT> <FONT COLOR="#000000">&gt; Suggestions to improve this and find a way to remove this attribute </FONT> <FONT COLOR="#000000">&gt; would be very welcome.</FONT> <FONT COLOR="#000000">&gt; </FONT> <FONT COLOR="#000000">&gt; Sylvain.</FONT> </PRE> </BLOCKQUOTE> </BODY> </HTML> --=-T4QXfgCno4hn0HMijKiP-- From [email protected] Tue Nov 23 12:03:31 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 55470 invoked from network); 23 Nov 2004 12:03:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 23 Nov 2004 12:03:30 -0000 Received: (qmail 84783 invoked by uid 500); 23 Nov 2004 12:03:29 -0000 Delivered-To: [email protected] Received: (qmail 84736 invoked by uid 500); 23 Nov 2004 12:03:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 84719 invoked by uid 99); 23 Nov 2004 12:03:28 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO sc8-sf-sshgate.sourceforge.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 23 Nov 2004 04:03:28 -0800 Received: from sc8-sf-web2-b.sourceforge.net ([161.129.204.104] helo=sc8-sf-web2.sourceforge.net) by sc8-sf-sshgate.sourceforge.net with esmtp (Exim 3.36 #1 (Debian)) id 1CWZNa-0000Ml-00; Tue, 23 Nov 2004 04:02:42 -0800 Received: from nobody by sc8-sf-web2.sourceforge.net with local (Exim 4.33) id 1CWZNa-0004CW-Na; Tue, 23 Nov 2004 04:02:42 -0800 To: [email protected] From: "SourceForge.net" <[email protected]> Subject: [ myfaces-Bugs-1071640 ] NullPointerException in CookieMap Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Message-Id: <[email protected]> Sender: Nobody <[email protected]> Date: Tue, 23 Nov 2004 04:02:42 -0800 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Bugs item #1071640, was opened at 2004-11-23 21:02 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=525508&aid=1071640&group_id=69709 Category: basic implementation Group: v 1.0.7 Status: Open Resolution: None Priority: 5 Submitted By: ruimo (ruimo) Assigned to: Nobody/Anonymous (nobody) Summary: NullPointerException in CookieMap Initial Comment: In case no cookie is found, CookieMap class throws NullPointerException. protected Object getAttribute(String key) { Cookie[] cookies = _httpServletRequest.getCookies(); for (int i = 0, len = cookies.length; i < len; i++) Regarding servlet specification, HttpServletRequest#getCookies() may return null. This code should be: protected Object getAttribute(String key) { Cookie[] cookies = _httpServletRequest.getCookies(); if (cookies == null) return null; // add for (int i = 0, len = cookies.length; i < len; i++) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=525508&aid=1071640&group_id=69709 From [email protected] Tue Nov 23 17:36:52 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 43072 invoked from network); 23 Nov 2004 17:36:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 23 Nov 2004 17:36:51 -0000 Received: (qmail 63471 invoked by uid 500); 23 Nov 2004 17:36:51 -0000 Delivered-To: [email protected] Received: (qmail 63429 invoked by uid 500); 23 Nov 2004 17:36:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Delivered-To: moderator for [email protected] Received: (qmail 57822 invoked by uid 99); 22 Nov 2004 16:02:31 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Message-ID: <2118305310.1101139345527.JavaMail.apache@nagoya> Date: Mon, 22 Nov 2004 08:02:25 -0800 (PST) From: "Manfred Geiler (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (MYFACES-28) <h:message> problem with localized Bundle Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N <h:message> problem with localized Bundle ----------------------------------------- Key: MYFACES-28 URL: http://nagoya.apache.org/jira/browse/MYFACES-28 Project: MyFaces Type: Bug Versions: 1.0.7 beta Reporter: Manfred Geiler >From a post to [email protected] by [email protected]: Hello, I have a form with 8 fields. This fields cannot be blank, so I use <h:message> to display the error. It works fine, but I want to custom the errors (in Italian language). I have a class(Bundles),inside I have a properties file (Messages_it.properties) with the text customized. I have registred it in faces-config.xml ( <application> <message-bundle>Bundles.Messages_it</message-bundle> </application> and in jsp page I call it with : <f:loadBundle basename="Bundles.Messages" var="msgs" />. With standar jsf libraries it works fine, but with myfaces libraries not. Why? Thanks... -- Leonardo -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira From [email protected] Tue Nov 23 17:52:46 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59160 invoked from network); 23 Nov 2004 17:52:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 23 Nov 2004 17:52:44 -0000 Received: (qmail 11341 invoked by uid 500); 23 Nov 2004 17:52:43 -0000 Delivered-To: [email protected] Received: (qmail 11292 invoked by uid 500); 23 Nov 2004 17:52:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 11278 invoked by uid 99); 23 Nov 2004 17:52:42 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=MIME_QP_LONG_LINE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [161.129.204.104] (HELO ms-smtp-03.nyroc.rr.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 23 Nov 2004 09:52:41 -0800 Received: from pc18 (roc-24-93-23-127.rochester.rr.com [161.129.204.104]) by ms-smtp-03.nyroc.rr.com (8.12.10/8.12.10) with SMTP id iANHqTNQ029810 for <[email protected]>; Tue, 23 Nov 2004 12:52:32 -0500 (EST) From: Ted Husted <[email protected]> To: MyFaces Development <[email protected]> X-Mailer: PocoMail 3.2 (2000) - Licensed Version Date: Tue, 23 Nov 2004 12:52:27 -0500 Message-ID: <20041123125227.465712@pc18> In-Reply-To: <[email protected]> Subject: Re: new MyFaces-Website on i.a.o Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Mon, 22 Nov 2004 16:31:17 +0100, Manfred Geiler wrote: >=A0There could also be a place in the wiki where "junior contributors" >=A0would put their component docs, that one of us committers puts into >=A0forrest later. And "senior contributors" can also send their docs >=A0as patch to the forrest files. In conventional Apache nomenclature, we would refer to "junior contributors"= as developers and "senior contributors" (with write access) as= "committers". So, in the normal course, people who start contributing to the project= become "developers" (by virtue of their contribution), developers who= continue to make worthwhile contributions are invited to become= "committers". Committers who contribute toward the long-term health of the project may be= invited to become PMC Members. Right now, all the MyFaces committers are= also PMC members, but eventually that may change. Then, finally, committers who contribute toward the long-term health of the= foundation may be invited to become ASF members. As to wikis, people are working toward integrating wikis with conventional= documentation, so you can edit online and bundle it for offline access too,= but I don't think we are there yet. So, using a wiki for new documentation= and then "promoting" it to Forrest, as people seem to be saying, sounds= like a good idea. Wikis are also good for documentation that you don't want to make ~too~= official, like a list of MyFaces support vendors. Something I'm trying in Struts is to have links to wiki pages from the= conventional documentation, for any comments or corrections people might= like to contribute. The Apache Wiki does mail to the DEV list, like CVS does, so you can keep= track of the changes. -Ted. From [email protected] Wed Nov 24 02:30:09 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89745 invoked from network); 24 Nov 2004 02:30:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 24 Nov 2004 02:30:09 -0000 Received: (qmail 71944 invoked by uid 500); 24 Nov 2004 02:30:08 -0000 Delivered-To: [email protected] Received: (qmail 71899 invoked by uid 500); 24 Nov 2004 02:30:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 71887 invoked by uid 99); 24 Nov 2004 02:30:07 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from [161.129.204.104] (HELO wproxy.gmail.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 23 Nov 2004 18:30:05 -0800 Received: by wproxy.gmail.com with SMTP id 68so365013wra for <[email protected]>; Tue, 23 Nov 2004 18:30:01 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=lldAdVbzWsawWuhb+lmnOTBgs0Jnv1Evlc8kEeb4ySL6qDCKvxGFKIOiaAN5PjbnfGiXY3pkgxdH0oEAdI/+VSjkJ6Tu89rTCgRBo30iOtnzklVcTrTpiBHB3arSwgnQe6UJWZ+sWZOd/MOxuOV6OLrQTB469EyDt04+ut3fewc= Received: by 161.129.204.104 with SMTP id 3mr325595wrn; Tue, 23 Nov 2004 18:29:56 -0800 (PST) Received: by 161.129.204.104 with HTTP; Tue, 23 Nov 2004 18:29:55 -0800 (PST) Message-ID: <[email protected]> Date: Tue, 23 Nov 2004 21:29:55 -0500 From: Peter Cheung <[email protected]> Reply-To: Peter Cheung <[email protected]> To: MyFaces Development <[email protected]> Subject: Re: [jira] Created: (MYFACES-28) <h:message> problem with localized Bundle In-Reply-To: <2118305310.1101139345527.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <2118305310.1101139345527.JavaMail.apache@nagoya> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Did you set the logging level to "DEBUG" (see below), so that you can find out more info of what might have gone wrong? This is from a sample log4j config. for a Spring app. log4j.rootLogger=DEBUG, stdout, logfile # Defines the console logger. log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%d %p %c - %m%n # Defines the file logger, using the "web app root" system property # (set by Log4jConfigListener) for a log file relative to the web app. log4j.appender.logfile=org.apache.log4j.FileAppender log4j.appender.logfile.File=C:/servers/Tomcat 5.0/logs/a.log # Pattern to output: date priority [category] - message log4j.appender.logfile.layout=org.apache.log4j.PatternLayout log4j.appender.logfile.layout.ConversionPattern=%d %p [%c] - %m%n HTH. On Mon, 22 Nov 2004 08:02:25 -0800 (PST), Manfred Geiler (JIRA) <[email protected]> wrote: > <h:message> problem with localized Bundle > ----------------------------------------- > > Key: MYFACES-28 > URL: http://nagoya.apache.org/jira/browse/MYFACES-28 > Project: MyFaces > Type: Bug > Versions: 1.0.7 beta > Reporter: Manfred Geiler > > From a post to [email protected] by [email protected]: > > Hello, > I have a form with 8 fields. This fields cannot be blank, so I use <h:message> > to display the error. It works fine, but I want to custom the errors (in > Italian language). > I have a class(Bundles),inside I have a properties file (Messages_it.properties) > with the text customized. > I have registred it in faces-config.xml ( > <application> > <message-bundle>Bundles.Messages_it</message-bundle> > </application> > > and in jsp page I call it with : > <f:loadBundle basename="Bundles.Messages" var="msgs" />. > With standar jsf libraries it works fine, but with myfaces libraries not. > Why? > Thanks... > > -- Leonardo > > -- > This message is automatically generated by JIRA. > - > If you think it was sent incorrectly contact one of the administrators: > http://nagoya.apache.org/jira/secure/Administrators.jspa > - > If you want more information on JIRA, or have a bug to report see: > http://www.atlassian.com/software/jira > > From [email protected] Wed Nov 24 13:22:19 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 60752 invoked from network); 24 Nov 2004 13:22:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 24 Nov 2004 13:22:18 -0000 Received: (qmail 73834 invoked by uid 500); 24 Nov 2004 13:22:18 -0000 Delivered-To: [email protected] Received: (qmail 73799 invoked by uid 500); 24 Nov 2004 13:22:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 73786 invoked by uid 99); 24 Nov 2004 13:22:17 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of [email protected] designates 161.129.204.104 as permitted sender) Received: from sc8-sf-sshgate.sourceforge.net (HELO sc8-sf-sshgate.sourceforge.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 24 Nov 2004 05:22:15 -0800 Received: from sc8-sf-web4-b.sourceforge.net ([161.129.204.104] helo=sc8-sf-web4.sourceforge.net) by sc8-sf-sshgate.sourceforge.net with esmtp (Exim 3.36 #1 (Debian)) id 1CWx5R-0004YS-00; Wed, 24 Nov 2004 05:21:33 -0800 Received: from nobody by sc8-sf-web4.sourceforge.net with local (Exim 4.33) id 1CWx5R-0006xS-RA; Wed, 24 Nov 2004 05:21:33 -0800 To: [email protected] From: "SourceForge.net" <[email protected]> Subject: [ myfaces-Bugs-1072442 ] ExternalContext.getRequestCookieMap() returns invalid value. Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Message-Id: <[email protected]> Sender: Nobody <[email protected]> Date: Wed, 24 Nov 2004 05:21:33 -0800 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Bugs item #1072442, was opened at 2004-11-24 22:21 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=525508&aid=1072442&group_id=69709 Category: basic implementation Group: v 1.0.7 Status: Open Resolution: None Priority: 5 Submitted By: ruimo (ruimo) Assigned to: Nobody/Anonymous (nobody) Summary: ExternalContext.getRequestCookieMap() returns invalid value. Initial Comment: Regarding JSF spec, the value type of ExternalContext.getRequestCookieMap() should be Cookie. However, current MyFaces implementation returns String that holds value of Cookie. The code CookieMap should be changed as follows. protected Object getAttribute(String key) { Cookie[] cookies = _httpServletRequest.getCookies(); if (cookies == null) return null; for (int i = 0, len = cookies.length; i < len; i++) { if (cookies[i].getName().equals(key)) { // return cookies[i].getValue(); // Ruimo return cookies[i]; // Ruimo } } return null; } ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=525508&aid=1072442&group_id=69709 From [email protected] Thu Nov 25 09:40:07 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 19181 invoked from network); 25 Nov 2004 09:40:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 25 Nov 2004 09:40:06 -0000 Received: (qmail 26446 invoked by uid 500); 25 Nov 2004 09:38:21 -0000 Delivered-To: [email protected] Received: (qmail 26343 invoked by uid 500); 25 Nov 2004 09:38:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 26285 invoked by uid 99); 25 Nov 2004 09:38:19 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from moutng.kundenserver.de (HELO moutng.kundenserver.de) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 25 Nov 2004 01:38:17 -0800 Received: from [161.129.204.104] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1CXG4j-0004Gs-00; Thu, 25 Nov 2004 10:38:05 +0100 Received: from [161.129.204.104] (helo=fumakilla) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1CXG4i-0002sY-00; Thu, 25 Nov 2004 10:38:04 +0100 From: "Matthias Wessendorf" <[email protected]> To: <[email protected]>, <[email protected]> Subject: [OT] The Geronimo Effect Date: Thu, 25 Nov 2004 10:37:19 +0100 Message-ID: <002801c4d2d2$5be4e870$6402a8c0@fumakilla> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Provags-ID: kundenserver.de [email protected] auth:157ed430dbf2887568e54eb61bfb58ed X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi all, a nice article on Geronimo=20 http://www.eweek.com/article2/0%2C1759%2C1728802%2C00.asp Keep in mind, that Geronimo needs something like MyFaces, when it will support J2EE 1.5+ Best regards Mit freundlichen Gr=FC=DFen -- Matthias We=DFendorf Aechterhoek 18 DE-48282 Emsdetten Germany From [email protected] Fri Nov 26 13:12:24 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 19126 invoked from network); 26 Nov 2004 13:12:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 26 Nov 2004 13:12:23 -0000 Received: (qmail 14407 invoked by uid 500); 26 Nov 2004 13:12:23 -0000 Delivered-To: [email protected] Received: (qmail 14351 invoked by uid 500); 26 Nov 2004 13:12:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 14331 invoked by uid 99); 26 Nov 2004 13:12:22 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from exchange.sun.com (HELO exchange.sun.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 26 Nov 2004 05:12:21 -0800 Received: (qmail 2422 invoked from network); 26 Nov 2004 13:12:20 -0000 Received: from localhost (HELO nagoya) (161.129.204.104) by nagoya.betaversion.org with SMTP; 26 Nov 2004 13:12:20 -0000 Message-ID: <408511456.1101474740004.JavaMail.apache@nagoya> Date: Fri, 26 Nov 2004 05:12:20 -0800 (PST) From: "Oliver Rossmueller (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (MYFACES-32) Multiple browser window problem with server state saving Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Multiple browser window problem with server state saving -------------------------------------------------------- Key: MYFACES-32 URL: http://nagoya.apache.org/jira/browse/MYFACES-32 Project: MyFaces Type: Bug Versions: 1.0.7 beta Reporter: Oliver Rossmueller Priority: Minor In response to sf bug #1008685 server-side view state is held in the session by viewId so for multiple windows the state is not lost. The issue remains for multiple browser windows showing the same view as in this scenario all windows share one server-side view state. This can only be resolved by making viewId unique using some window-dependent pre-/postfix to the current viewId (e.g. by providing a special custom component). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira From [email protected] Fri Nov 26 13:39:52 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33233 invoked from network); 26 Nov 2004 13:39:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 26 Nov 2004 13:39:51 -0000 Received: (qmail 68351 invoked by uid 500); 26 Nov 2004 13:39:51 -0000 Delivered-To: [email protected] Received: (qmail 68295 invoked by uid 500); 26 Nov 2004 13:39:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 68281 invoked by uid 99); 26 Nov 2004 13:39:50 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from h4403.serverkompetenz.net (HELO h4403.serverkompetenz.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 26 Nov 2004 05:39:49 -0800 Received: from [161.129.204.104] (p5081F065.dip0.t-ipconnect.de [161.129.204.104]) by h4403.serverkompetenz.net (Postfix) with ESMTP id 142BF3B8017 for <[email protected]>; Fri, 26 Nov 2004 14:39:41 +0100 (CET) Message-ID: <[email protected]> Date: Fri, 26 Nov 2004 14:39:43 +0100 From: Oliver Rossmueller <[email protected]> User-Agent: Mozilla Thunderbird 0.8 (X11/20040926) X-Accept-Language: en-us, en MIME-Version: 1.0 To: MyFaces Discussion <[email protected]> Subject: Status of sf bugs X-Enigmail-Version: 161.129.204.104 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I was looking through the bug list on sf.net and there are six issues assigned to a developer, so can you guys please have a quick look at them. If an issue is already fixed please close it, otherwise please add a short comment on what the current status is. manolito: https://sourceforge.net/tracker/index.php?func=detail&aid=955170&group_id=69709&atid=525508 and https://sourceforge.net/tracker/index.php?func=detail&aid=1030116&group_id=69709&atid=525508 royalts: https://sourceforge.net/tracker/index.php?func=detail&aid=981851&group_id=69709&atid=525508 and https://sourceforge.net/tracker/index.php?func=detail&aid=999543&group_id=69709&atid=525508 tinytoony: https://sourceforge.net/tracker/index.php?func=detail&aid=1027488&group_id=69709&atid=525508 and https://sourceforge.net/tracker/index.php?func=detail&aid=1037378&group_id=69709&atid=525508 I will try to resolve as many of the remaining issues as possible and then move the rest to Jira so we can close the sf tracker. Oliver -- Oliver Rossmueller Software Engineer and IT-Consultant Hamburg, Germany http://www.rossmueller.com From [email protected] Fri Nov 26 16:11:10 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 18029 invoked from network); 26 Nov 2004 16:11:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 26 Nov 2004 16:11:09 -0000 Received: (qmail 42857 invoked by uid 500); 26 Nov 2004 16:11:09 -0000 Delivered-To: [email protected] Received: (qmail 42801 invoked by uid 500); 26 Nov 2004 16:11:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 42781 invoked by uid 99); 26 Nov 2004 16:11:08 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO [161.129.204.104]) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 26 Nov 2004 08:11:07 -0800 Message-ID: <[email protected]> Date: Fri, 26 Nov 2004 17:08:40 +0100 From: Manfred Geiler <[email protected]> User-Agent: Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: MyFaces Development <[email protected]> Subject: Re: Status of sf bugs References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hey Oliver, thanks very much for your effort! I will have a look at my issues next week. Thanks, Manfred Oliver Rossmueller wrote: > Hi, > > I was looking through the bug list on sf.net and there are six issues > assigned to a developer, so can you guys please have a quick look at > them. If an issue is already fixed please close it, otherwise please add > a short comment on what the current status is. > > manolito: > https://sourceforge.net/tracker/index.php?func=detail&aid=955170&group_id=69709&atid=525508 > and > https://sourceforge.net/tracker/index.php?func=detail&aid=1030116&group_id=69709&atid=525508 > > > royalts: > https://sourceforge.net/tracker/index.php?func=detail&aid=981851&group_id=69709&atid=525508 > and > https://sourceforge.net/tracker/index.php?func=detail&aid=999543&group_id=69709&atid=525508 > > > tinytoony: > https://sourceforge.net/tracker/index.php?func=detail&aid=1027488&group_id=69709&atid=525508 > and > https://sourceforge.net/tracker/index.php?func=detail&aid=1037378&group_id=69709&atid=525508 > > > I will try to resolve as many of the remaining issues as possible and > then move the rest to Jira so we can close the sf tracker. > > Oliver > From [email protected] Sat Nov 27 08:56:21 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 1961 invoked from network); 27 Nov 2004 08:56:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 27 Nov 2004 08:56:20 -0000 Received: (qmail 3508 invoked by uid 500); 27 Nov 2004 08:56:20 -0000 Delivered-To: [email protected] Received: (qmail 3468 invoked by uid 500); 27 Nov 2004 08:56:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 3454 invoked by uid 99); 27 Nov 2004 08:56:19 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from moutng.kundenserver.de (HELO moutng.kundenserver.de) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 27 Nov 2004 00:56:17 -0800 Received: from [161.129.204.104] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1CXyNL-0004I6-00 for [email protected]; Sat, 27 Nov 2004 09:56:15 +0100 Received: from [161.129.204.104] (helo=fumakilla) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1CXyNL-0007yq-00 for [email protected]; Sat, 27 Nov 2004 09:56:15 +0100 From: "Matthias Wessendorf" <[email protected]> To: <[email protected]> Subject: [JIRA] spam ? Date: Sat, 27 Nov 2004 09:55:30 +0100 Message-ID: <003301c4d45e$d95f1cc0$6402a8c0@fumakilla> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Provags-ID: kundenserver.de [email protected] auth:157ed430dbf2887568e54eb61bfb58ed X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I just saw this guy... http://nagoya.apache.org/jira/browse/MYFACES-33 what's that? Best regards Mit freundlichen Gr=FC=DFen -- Matthias We=DFendorf Aechterhoek 18 DE-48282 Emsdetten Germany Email: [email protected] URL: http://www.wessendorf.net From [email protected] Sat Nov 27 19:30:40 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 98591 invoked from network); 27 Nov 2004 19:30:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 27 Nov 2004 19:30:39 -0000 Received: (qmail 97042 invoked by uid 500); 27 Nov 2004 19:30:39 -0000 Delivered-To: [email protected] Received: (qmail 97003 invoked by uid 500); 27 Nov 2004 19:30:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 96991 invoked by uid 99); 27 Nov 2004 19:30:38 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO [161.129.204.104]) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 27 Nov 2004 11:30:37 -0800 Message-ID: <[email protected]> Date: Sat, 27 Nov 2004 20:30:42 +0100 From: Manfred Geiler <[email protected]> User-Agent: Thunderbird 0.7 (Windows/20040616) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: MyFaces Development <[email protected]> Subject: Re: [JIRA] spam ? References: <003301c4d45e$d95f1cc0$6402a8c0@fumakilla> In-Reply-To: <003301c4d45e$d95f1cc0$6402a8c0@fumakilla> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ok, deleted reporting issues should be easy and without registration, I think. so we must live with dumb people... :-( Manfred Matthias Wessendorf wrote: > Hi, >=20 > I just saw this guy... >=20 > http://nagoya.apache.org/jira/browse/MYFACES-33 >=20 > what's that? >=20 >=20 > Best regards > Mit freundlichen Gr=FC=DFen > -- > Matthias We=DFendorf > Aechterhoek 18 > DE-48282 Emsdetten > Germany > Email: [email protected] > URL: http://www.wessendorf.net >=20 >=20 >=20 From [email protected] Mon Nov 29 09:52:32 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65918 invoked from network); 29 Nov 2004 09:52:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 29 Nov 2004 09:52:32 -0000 Received: (qmail 54243 invoked by uid 500); 29 Nov 2004 09:51:22 -0000 Delivered-To: [email protected] Received: (qmail 54161 invoked by uid 500); 29 Nov 2004 09:51:20 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 54054 invoked by uid 99); 29 Nov 2004 09:51:18 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from moutng.kundenserver.de (HELO moutng.kundenserver.de) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 29 Nov 2004 01:51:14 -0800 Received: from [161.129.204.104] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1CYiBS-0006lQ-00 for [email protected]; Mon, 29 Nov 2004 10:51:02 +0100 Received: from [161.129.204.104] (helo=fumakilla) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1CYiBR-00056u-00 for [email protected]; Mon, 29 Nov 2004 10:51:01 +0100 From: "Matthias Wessendorf" <[email protected]> To: <[email protected]> Subject: [validation messages] component_id vs. bad value Date: Mon, 29 Nov 2004 10:50:11 +0100 Message-ID: <001801c4d5f8$d54a7990$6402a8c0@fumakilla> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Provags-ID: kundenserver.de [email protected] auth:157ed430dbf2887568e54eb61bfb58ed X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi all, our current solution for validation messages is the following: -user enters bad value. - this message comes up (e.g. for e-mail): "component_id": Value is not a correct email-address." if the developer uses *well named ids* all may be fine. "emailValue": Value is not correct... but on *silly ids* it is not clear to the users. e.g. a: Value is not a correct emial.... However, if I changed the messages (on my box) to=20 "sss@hotmail": Value is not a correct email-address. this would be more sensible to the users. What do you think? But how should we handle *required*-messages? the current (on my box) is still "component_id": Value is required. Any ideas? Best regards Mit freundlichen Gr=FC=DFen -- Matthias We=DFendorf Aechterhoek 18 DE-48282 Emsdetten Germany From [email protected] Tue Nov 30 09:19:09 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68150 invoked from network); 30 Nov 2004 09:19:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 30 Nov 2004 09:19:09 -0000 Received: (qmail 37647 invoked by uid 500); 30 Nov 2004 09:18:12 -0000 Delivered-To: [email protected] Received: (qmail 37378 invoked by uid 500); 30 Nov 2004 09:18:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 37322 invoked by uid 99); 30 Nov 2004 09:18:08 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO [161.129.204.104]) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 30 Nov 2004 01:18:07 -0800 Message-ID: <[email protected]> Date: Tue, 30 Nov 2004 10:15:06 +0100 From: Manfred Geiler <[email protected]> User-Agent: Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: MyFaces Development <[email protected]> Subject: Re: Status of sf bugs References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Oliver, Just a short coordination: - on SF I created a new canned response "Moved to JIRA" for convenience - on SF I set the Status to "Closed" and Resolution to "Later" - in JIRA I had "(was: SF#xxxxxx by Max Muster)" to the subject Is that ok? Thanks, Manfred Oliver Rossmueller wrote: > Hi, > > I was looking through the bug list on sf.net and there are six issues > assigned to a developer, so can you guys please have a quick look at > them. If an issue is already fixed please close it, otherwise please add > a short comment on what the current status is. > > manolito: > https://sourceforge.net/tracker/index.php?func=detail&aid=955170&group_id=69709&atid=525508 > and > https://sourceforge.net/tracker/index.php?func=detail&aid=1030116&group_id=69709&atid=525508 > > > royalts: > https://sourceforge.net/tracker/index.php?func=detail&aid=981851&group_id=69709&atid=525508 > and > https://sourceforge.net/tracker/index.php?func=detail&aid=999543&group_id=69709&atid=525508 > > > tinytoony: > https://sourceforge.net/tracker/index.php?func=detail&aid=1027488&group_id=69709&atid=525508 > and > https://sourceforge.net/tracker/index.php?func=detail&aid=1037378&group_id=69709&atid=525508 > > > I will try to resolve as many of the remaining issues as possible and > then move the rest to Jira so we can close the sf tracker. > > Oliver > From [email protected] Tue Nov 30 12:23:15 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 73193 invoked from network); 30 Nov 2004 12:23:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 30 Nov 2004 12:23:13 -0000 Received: (qmail 3485 invoked by uid 500); 30 Nov 2004 12:23:13 -0000 Delivered-To: [email protected] Received: (qmail 3448 invoked by uid 500); 30 Nov 2004 12:23:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 3430 invoked by uid 99); 30 Nov 2004 12:23:12 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=FORGED_RCVD_HELO,HTML_40_50,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from mailgwvw01.freelance.com (HELO mailgwvw01.freelance.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 30 Nov 2004 04:23:10 -0800 Received: from mailgwvw02.freelance.com (mailgwvw02.freelance.com [161.129.204.104]) by mailgwvw01.freelance.com (8.12.3/8.12.3) with ESMTP id iAUCNgs5026983 for <[email protected]>; Tue, 30 Nov 2004 13:23:42 +0100 Received: from 161.129.204.104 ([161.129.204.104]) by mailgwvw02.freelance.com (Lotus Domino Release 5.0.12) with ESMTP id 2004113013230272:1958 ; Tue, 30 Nov 2004 13:23:02 +0100 Subject: Re: [validation messages] component_id vs. bad value From: Sylvain Vieujot <[email protected]> To: MyFaces Development <[email protected]> In-Reply-To: <001801c4d5f8$d54a7990$6402a8c0@fumakilla> References: <001801c4d5f8$d54a7990$6402a8c0@fumakilla> Date: Tue, 30 Nov 2004 08:23:04 -0400 Message-Id: <[email protected]> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-3) X-MIMETrack: Itemize by SMTP Server on mailgw01/Freelance(Release 5.0.12 |February 13, 2003) at 11/30/2004 01:23:03 PM, Serialize by Router on mailgw01/Freelance(Release 5.0.12 |February 13, 2003) at 11/30/2004 01:23:04 PM, Serialize complete at 11/30/2004 01:23:04 PM Content-Type: multipart/alternative; boundary="=-rE0l4YtANdoHFjJX5u6m" X-Spam-Status: No, hits=0.5 required=5.0 tests=HTML_20_30,HTML_MESSAGE autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on mailgwvw01.freelance.com X-Virus-Scanned: ClamAV 0.80rc/591/Thu Nov 18 16:38:04 2004 clamav-milter version 0.80 on 161.129.204.104 X-Virus-Status: Clean X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --=-rE0l4YtANdoHFjJX5u6m Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Hello, I think that our validation messages should be more consistent and understandable than they are now. Including the field's value is good. Maybe we need to have a way to shorten it if it's too long, or just to decide we alway stick to : value.length() > 10 ? value.substring(0,10)+"..." : value for example. I think it would also help a lot to include the label's value if a label is attached to the field (anyone knows how to do that ?). So, for me a good example would be : FIELD'S_LABEL : "VALUE_SUBSTRING(10)" is not a correct VALIDATOR_TYPE My point here is that we should have something standard and sensible as the messages we have now, with the component's id, and no value are not great. Any thoughts ? Sylvain. On Mon, 2004-11-29 at 10:50 +0100, Matthias Wessendorf wrote: > Hi all, >=20 > our current solution for validation messages is the following: > -user enters bad value. > - this message comes up (e.g. for e-mail): > "component_id": Value is not a correct email-address." >=20 > if the developer uses *well named ids* all may be fine. > "emailValue": Value is not correct... >=20 > but on *silly ids* it is not clear to the users. > e.g. a: Value is not a correct emial.... >=20 > However, if I changed the messages (on my box) to=20 > "sss@hotmail": Value is not a correct email-address. > this would be more sensible to the users. > What do you think? >=20 > But how should we handle *required*-messages? > the current (on my box) is still > "component_id": Value is required. >=20 > Any ideas? >=20 >=20 > Best regards > Mit freundlichen Gr=C3=BC=C3=9Fen > -- > Matthias We=C3=9Fendorf > Aechterhoek 18 > DE-48282 Emsdetten > Germany --=-rE0l4YtANdoHFjJX5u6m Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=utf-8 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8"> <META NAME="GENERATOR" CONTENT="GtkHTML/3.3.2"> </HEAD> <BODY> Hello,<BR> <BR> I think that our validation messages should be more consistent and understandable than they are now.<BR> <BR> Including the field's value is good. Maybe we need to have a way to shorten it if it's too long, or just to decide we alway stick to :<BR> &nbsp;&nbsp;&nbsp; value.length() &gt; 10 ? value.substring(0,10)+&quot;...&quot; : value<BR> for example.<BR> <BR> I think it would also help a lot to include the label's value if a label is attached to the field (anyone knows how to do that ?).<BR> <BR> So, for me a good example would be :<BR> FIELD'S_LABEL : &quot;VALUE_SUBSTRING(10)&quot; is not a correct VALIDATOR_TYPE<BR> <BR> My point here is that we should have something standard and sensible as the messages we have now, with the component's id, and no value are not great.<BR> <BR> Any thoughts ?<BR> <BR> Sylvain.<BR> <BR> On Mon, 2004-11-29 at 10:50 +0100, Matthias Wessendorf wrote: <BLOCKQUOTE TYPE=CITE> <PRE> <FONT COLOR="#000000">Hi all,</FONT> <FONT COLOR="#000000">our current solution for validation messages is the following:</FONT> <FONT COLOR="#000000">-user enters bad value.</FONT> <FONT COLOR="#000000">- this message comes up (e.g. for e-mail):</FONT> <FONT COLOR="#000000">&quot;component_id&quot;: Value is not a correct email-address.&quot;</FONT> <FONT COLOR="#000000">if the developer uses *well named ids* all may be fine.</FONT> <FONT COLOR="#000000">&quot;emailValue&quot;: Value is not correct...</FONT> <FONT COLOR="#000000">but on *silly ids* it is not clear to the users.</FONT> <FONT COLOR="#000000">e.g. a: Value is not a correct emial....</FONT> <FONT COLOR="#000000">However, if I changed the messages (on my box) to </FONT> <FONT COLOR="#000000">&quot;sss@hotmail&quot;: Value is not a correct email-address.</FONT> <FONT COLOR="#000000">this would be more sensible to the users.</FONT> <FONT COLOR="#000000">What do you think?</FONT> <FONT COLOR="#000000">But how should we handle *required*-messages?</FONT> <FONT COLOR="#000000">the current (on my box) is still</FONT> <FONT COLOR="#000000">&quot;component_id&quot;: Value is required.</FONT> <FONT COLOR="#000000">Any ideas?</FONT> <FONT COLOR="#000000">Best regards</FONT> <FONT COLOR="#000000">Mit freundlichen Gr&#252;&#223;en</FONT> <FONT COLOR="#000000">--</FONT> <FONT COLOR="#000000">Matthias We&#223;endorf</FONT> <FONT COLOR="#000000">Aechterhoek 18</FONT> <FONT COLOR="#000000">DE-48282 Emsdetten</FONT> <FONT COLOR="#000000">Germany</FONT> </PRE> </BLOCKQUOTE> <BR> </BODY> </HTML> --=-rE0l4YtANdoHFjJX5u6m-- From [email protected] Tue Nov 30 12:47:28 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84766 invoked from network); 30 Nov 2004 12:47:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 30 Nov 2004 12:47:28 -0000 Received: (qmail 49830 invoked by uid 500); 30 Nov 2004 12:47:06 -0000 Delivered-To: [email protected] Received: (qmail 49620 invoked by uid 500); 30 Nov 2004 12:47:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 49533 invoked by uid 99); 30 Nov 2004 12:47:02 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=FORGED_RCVD_HELO,HTML_20_30,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from mailgwvw01.freelance.com (HELO mailgwvw01.freelance.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 30 Nov 2004 04:46:59 -0800 Received: from mailgwvw02.freelance.com (mailgwvw02.freelance.com [161.129.204.104]) by mailgwvw01.freelance.com (8.12.3/8.12.3) with ESMTP id iAUClUs5029285 for <[email protected]>; Tue, 30 Nov 2004 13:47:30 +0100 Received: from 161.129.204.104 ([161.129.204.104]) by mailgwvw02.freelance.com (Lotus Domino Release 5.0.12) with ESMTP id 2004113013465143:1973 ; Tue, 30 Nov 2004 13:46:51 +0100 Subject: Javascript Hell From: Sylvain Vieujot <[email protected]> To: MyFaces Development <[email protected]> In-Reply-To: <001801c4d5f8$d54a7990$6402a8c0@fumakilla> References: <001801c4d5f8$d54a7990$6402a8c0@fumakilla> Date: Tue, 30 Nov 2004 08:46:53 -0400 Message-Id: <[email protected]> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-3) X-MIMETrack: Itemize by SMTP Server on mailgw01/Freelance(Release 5.0.12 |February 13, 2003) at 11/30/2004 01:46:51 PM, Serialize by Router on mailgw01/Freelance(Release 5.0.12 |February 13, 2003) at 11/30/2004 01:46:52 PM, Serialize complete at 11/30/2004 01:46:52 PM Content-Type: multipart/alternative; boundary="=-7xvAtQqgycdRO8cEH4O0" X-Spam-Status: No, hits=0.8 required=5.0 tests=HTML_30_40,HTML_MESSAGE autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on mailgwvw01.freelance.com X-Virus-Scanned: ClamAV 0.80rc/591/Thu Nov 18 16:38:04 2004 clamav-milter version 0.80 on 161.129.204.104 X-Virus-Status: Clean X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --=-7xvAtQqgycdRO8cEH4O0 Content-Transfer-Encoding: 7bit Content-Type: text/plain Hello everybody, Right now, some components require you to include some javascript libraries in your app, and to reference those libraries in your page's header. Just for your example webapp, the header looks like that : <!-- JSCook Menu --> <script language="JavaScript" src="jscookmenu/JSCookMenu.js" type="text/javascript"></script> <script language="JavaScript" src="jscookmenu/ThemeOffice/theme.js"></script> <link rel="stylesheet" href="jscookmenu/ThemeOffice/theme.css" type="text/css"> <script language="JavaScript" src="jscookmenu/ThemeMiniBlack/theme.js"></script> <link rel="stylesheet" href="jscookmenu/ThemeMiniBlack/theme.css" type="text/css"> <script language="JavaScript" src="jscookmenu/ThemeIE/theme.js"></script> <link rel="stylesheet" href="jscookmenu/ThemeIE/theme.css" type="text/css"> <script language="JavaScript" src="jscookmenu/ThemePanel/theme.js"></script> <link rel="stylesheet" href="jscookmenu/ThemePanel/theme.css" type="text/css"> <!-- JSCalendar --> <script language="JavaScript" src="jscalendar/popcalendar.js" type="text/javascript"></script> <link rel="stylesheet" href="jscalendar/jscalendar-WH/theme.css" type="text/css"> <link rel="stylesheet" href="jscalendar/jscalendar-DB/theme.css" type="text/css"> <!-- JSPopup --> <script language="JavaScript" src="jspopup/JSPopup.js" type="text/javascript"></script> I'm now working on a new component that is javascript intensive too, and that would require the include of at least 5 other .js files. I think we should make this transparent to the user by : 1. Including the scripts/css/whatever required in the myfaces.jar file as resources. So, we are sure we always have the .js file's version that works, and the developer just needs to include the myfaces lib. (this will grow a bite the size of the jar though). 2. Have the components load the script/css/whatever in a standard way so that the page's developer doesn't need to bother, and so that the script/css/... is only included once in the page. So, starting to think about a solution for this, here is my first idea : - Have all those scripts/css/... as resources - Make an additional servlet that the webapp developper would include in his web.xml declarations, and that would be invoqued like : http://my.webserver.com/webapp/myFacesRessource?name=jspopup.js This is the only thing the webapp developper would have to do (declare the servlet), but I don't see how we could avoid that without writing the scripts/css/... into the page. Writing the scripts/css/... into the page would be bad for caching, and wouldn't allow us to use standard images with this facility. - Have a facility so that the component's renderer can call something like includeRessourceScriptLibrary(facesContext,"jspopup/JSPopup.js") (similar helper for css, ...), and the code calling the above servlet is automatically included in the page. Any thoughts on this ? Sylvain. --=-7xvAtQqgycdRO8cEH4O0 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=utf-8 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8"> <META NAME="GENERATOR" CONTENT="GtkHTML/3.3.2"> </HEAD> <BODY> Hello everybody,<BR> <BR> Right now, some components require you to include some javascript libraries in your app, and to reference those libraries in your page's header.<BR> Just for your example webapp, the header looks like that :<BR> <BR> &nbsp;&nbsp;&nbsp; &lt;!-- JSCook Menu --&gt; <PRE> &nbsp; &lt;script language=&quot;JavaScript&quot; src=&quot;jscookmenu/JSCookMenu.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt; &nbsp; &lt;script language=&quot;JavaScript&quot; src=&quot;jscookmenu/ThemeOffice/theme.js&quot;&gt;&lt;/script&gt; &nbsp; &lt;link rel=&quot;stylesheet&quot; href=&quot;jscookmenu/ThemeOffice/theme.css&quot; type=&quot;text/css&quot;&gt; &nbsp; &lt;script language=&quot;JavaScript&quot; src=&quot;jscookmenu/ThemeMiniBlack/theme.js&quot;&gt;&lt;/script&gt; &nbsp; &lt;link rel=&quot;stylesheet&quot; href=&quot;jscookmenu/ThemeMiniBlack/theme.css&quot; type=&quot;text/css&quot;&gt; &nbsp; &lt;script language=&quot;JavaScript&quot; src=&quot;jscookmenu/ThemeIE/theme.js&quot;&gt;&lt;/script&gt; &nbsp; &lt;link rel=&quot;stylesheet&quot; href=&quot;jscookmenu/ThemeIE/theme.css&quot; type=&quot;text/css&quot;&gt; &nbsp; &lt;script language=&quot;JavaScript&quot; src=&quot;jscookmenu/ThemePanel/theme.js&quot;&gt;&lt;/script&gt; &nbsp; &lt;link rel=&quot;stylesheet&quot; href=&quot;jscookmenu/ThemePanel/theme.css&quot; type=&quot;text/css&quot;&gt; &nbsp; &lt;!-- JSCalendar --&gt; &nbsp; &lt;script language=&quot;JavaScript&quot; src=&quot;jscalendar/popcalendar.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt; &nbsp; &lt;link rel=&quot;stylesheet&quot; href=&quot;jscalendar/jscalendar-WH/theme.css&quot; type=&quot;text/css&quot;&gt; &nbsp; &lt;link rel=&quot;stylesheet&quot; href=&quot;jscalendar/jscalendar-DB/theme.css&quot; type=&quot;text/css&quot;&gt; &nbsp; &lt;!-- JSPopup --&gt; &nbsp; &lt;script language=&quot;JavaScript&quot; src=&quot;jspopup/JSPopup.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt; </PRE> <BR> I'm now working on a new component that is javascript intensive too, and that would require the include of at least 5 other .js files.<BR> <BR> I think we should make this transparent to the user by : <UL> <LI TYPE=1 VALUE=1>Including the scripts/css/whatever required in the myfaces.jar file as resources. So, we are sure we always have the .js file's version that works, and the developer just needs to include the myfaces lib. (this will grow a bite the size of the jar though). <LI TYPE=1 VALUE=2>Have the components load the script/css/whatever in a standard way so that the page's developer doesn't need to bother, and so that the script/css/... is only included once in the page. </UL> So, starting to think about a solution for this, here is my first idea :<BR> <BR> - Have all those scripts/css/... as resources<BR> <BR> - Make an additional servlet that the webapp developper would include in his web.xml declarations, and that would be invoqued like :<BR> &nbsp;&nbsp;&nbsp; <A HREF="http://my.webserver.com/webapp/myFacesRessource?name=jspopup.js">http://my.webserver.com/webapp/myFacesRessource?name=jspopup.js</A><BR> <BLOCKQUOTE> This is the only thing the webapp developper would have to do (declare the servlet), but I don't see how we could avoid that without writing the scripts/css/... into the page.<BR> Writing the scripts/css/... into the page would be bad for caching, and wouldn't allow us to use standard images with this facility.<BR> </BLOCKQUOTE> - Have a facility so that the component's renderer can call something like <TT>includeRessourceScriptLibrary(facesContext,&quot;jspopup/JSPopup.js&quot;)</TT> (similar helper for css, ...), and the code calling the above servlet is automatically included in the page.<BR> <BR> Any thoughts on this ?<BR> <BR> Sylvain. </BODY> </HTML> --=-7xvAtQqgycdRO8cEH4O0-- From [email protected] Tue Nov 30 14:10:10 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33367 invoked from network); 30 Nov 2004 14:10:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 30 Nov 2004 14:10:10 -0000 Received: (qmail 45113 invoked by uid 500); 30 Nov 2004 14:09:08 -0000 Delivered-To: [email protected] Received: (qmail 45065 invoked by uid 500); 30 Nov 2004 14:09:08 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 45004 invoked by uid 99); 30 Nov 2004 14:09:06 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=HTML_30_40,HTML_MESSAGE,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail4.dnb.no (HELO MAIL4.DnB.no) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 30 Nov 2004 06:09:03 -0800 Received: from sdlap401.DnB.no (int-mail4.dnb.no) by MAIL4.DnB.no (Content Technologies SMTPRS 4.3.12) with ESMTP id <[email protected]> for <[email protected]>; Tue, 30 Nov 2004 15:06:43 +0100 Received: by sdlap401.dnb.no with Internet Mail Service (5.5.2657.72) id <X714P3Z9>; Tue, 30 Nov 2004 15:08:50 +0100 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: SV: Javascript Hell Date: Tue, 30 Nov 2004 15:08:49 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4D6E6.1D751FB6" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C4D6E6.1D751FB6 Content-Type: text/plain; charset="utf-8" Hi Another solution is to add another tag to the lib, which the developer could add at the top of the page - ala the Struts <html:script> tag. Making it parameterless so that it could itself find out which librarys to load or add some more fuctionality to the view <f:tag> so that it would render the <link> stuff. Hermod -----Opprinnelig melding----- Fra: Sylvain Vieujot [mailto:[email protected]] Sendt: 30. november 2004 13:47 Til: MyFaces Development Emne: Javascript Hell Hello everybody, Right now, some components require you to include some javascript libraries in your app, and to reference those libraries in your page's header. Just for your example webapp, the header looks like that : <!-- JSCook Menu --> <script language="JavaScript" src="jscookmenu/JSCookMenu.js" type="text/javascript"></script> <script language="JavaScript" src="jscookmenu/ThemeOffice/theme.js"></script> <link rel="stylesheet" href="jscookmenu/ThemeOffice/theme.css" type="text/css"> <script language="JavaScript" src="jscookmenu/ThemeMiniBlack/theme.js"></script> <link rel="stylesheet" href="jscookmenu/ThemeMiniBlack/theme.css" type="text/css"> <script language="JavaScript" src="jscookmenu/ThemeIE/theme.js"></script> <link rel="stylesheet" href="jscookmenu/ThemeIE/theme.css" type="text/css"> <script language="JavaScript" src="jscookmenu/ThemePanel/theme.js"></script> <link rel="stylesheet" href="jscookmenu/ThemePanel/theme.css" type="text/css"> <!-- JSCalendar --> <script language="JavaScript" src="jscalendar/popcalendar.js" type="text/javascript"></script> <link rel="stylesheet" href="jscalendar/jscalendar-WH/theme.css" type="text/css"> <link rel="stylesheet" href="jscalendar/jscalendar-DB/theme.css" type="text/css"> <!-- JSPopup --> <script language="JavaScript" src="jspopup/JSPopup.js" type="text/javascript"></script> I'm now working on a new component that is javascript intensive too, and that would require the include of at least 5 other .js files. I think we should make this transparent to the user by : * Including the scripts/css/whatever required in the myfaces.jar file as resources. So, we are sure we always have the .js file's version that works, and the developer just needs to include the myfaces lib. (this will grow a bite the size of the jar though). * Have the components load the script/css/whatever in a standard way so that the page's developer doesn't need to bother, and so that the script/css/... is only included once in the page. So, starting to think about a solution for this, here is my first idea : - Have all those scripts/css/... as resources - Make an additional servlet that the webapp developper would include in his web.xml declarations, and that would be invoqued like : http://my.webserver.com/webapp/myFacesRessource?name=jspopup.js <http://my.webserver.com/webapp/myFacesRessource?name=jspopup.js> This is the only thing the webapp developper would have to do (declare the servlet), but I don't see how we could avoid that without writing the scripts/css/... into the page. Writing the scripts/css/... into the page would be bad for caching, and wouldn't allow us to use standard images with this facility. - Have a facility so that the component's renderer can call something like includeRessourceScriptLibrary(facesContext,"jspopup/JSPopup.js") (similar helper for css, ...), and the code calling the above servlet is automatically included in the page. Any thoughts on this ? Sylvain. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This email with attachments is solely for the use of the individual or entity to whom it is addressed. Please also be aware that the DnB NOR Group cannot accept any payment orders or other legally binding correspondence with customers as a part of an email. This email message has been virus checked by the virus programs used in the DnB NOR Group. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ------_=_NextPart_001_01C4D6E6.1D751FB6 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Dutf-8"> <META content=3D"MSHTML 6.00.2800.1476" name=3DGENERATOR></HEAD> <BODY> <DIV><SPAN class=3D477210514-30112004><FONT face=3DArial color=3D#0000ff=20 size=3D2>Hi</FONT></SPAN></DIV> <DIV><SPAN class=3D477210514-30112004><FONT face=3DArial color=3D#0000ff=20 size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV><SPAN class=3D477210514-30112004><FONT face=3DArial color=3D#0000ff=20 size=3D2>Another solution is to add another tag to the lib, which the devel= oper=20 could add at the top of the page - ala the Struts &lt;html:script&gt; tag.= Making it parameterless so that it could itself find out which librarys to= load</FONT></SPAN></DIV> <DIV><SPAN class=3D477210514-30112004><FONT face=3DArial color=3D#0000ff=20 size=3D2>or</FONT></SPAN></DIV> <DIV><SPAN class=3D477210514-30112004><FONT face=3DArial color=3D#0000ff si= ze=3D2>add=20 some more fuctionality to the view &lt;f:tag&gt; so that it would render th= e=20 &lt;link&gt; stuff.</FONT></SPAN></DIV> <DIV><SPAN class=3D477210514-30112004><FONT face=3DArial color=3D#0000ff=20 size=3D2></FONT></SPAN>&nbsp;</DIV> <DIV><SPAN class=3D477210514-30112004><FONT face=3DArial color=3D#0000ff=20 size=3D2>Hermod</FONT></SPAN></DIV> <BLOCKQUOTE> <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT face=3DTah= oma=20 size=3D2>-----Opprinnelig melding-----<BR><B>Fra:</B> Sylvain Vieujot=20 [mailto:[email protected]]<BR><B>Sendt:</B> 30. november 2004=20 13:47<BR><B>Til:</B> MyFaces Development<BR><B>Emne:</B> Javascript=20 Hell<BR><BR></FONT></DIV>Hello everybody,<BR><BR>Right now, some componen= ts=20 require you to include some javascript libraries in your app, and to refe= rence=20 those libraries in your page's header.<BR>Just for your example webapp, t= he=20 header looks like that :<BR><BR>&nbsp;&nbsp;&nbsp; &lt;!-- JSCook Menu --= &gt; <PRE>&nbsp; &lt;script language=3D"JavaScript" src=3D"jscookmenu/JSCoo= kMenu.js" type=3D"text/javascript"&gt;&lt;/script&gt; &nbsp; &lt;script language=3D"JavaScript" src=3D"jscookmenu/ThemeOffice/the= me.js"&gt;&lt;/script&gt; &nbsp; &lt;link rel=3D"stylesheet" href=3D"jscookmenu/ThemeOffice/theme.css= " type=3D"text/css"&gt; &nbsp; &lt;script language=3D"JavaScript" src=3D"jscookmenu/ThemeMiniBlack/= theme.js"&gt;&lt;/script&gt; &nbsp; &lt;link rel=3D"stylesheet" href=3D"jscookmenu/ThemeMiniBlack/theme.= css" type=3D"text/css"&gt; &nbsp; &lt;script language=3D"JavaScript" src=3D"jscookmenu/ThemeIE/theme.j= s"&gt;&lt;/script&gt; &nbsp; &lt;link rel=3D"stylesheet" href=3D"jscookmenu/ThemeIE/theme.css" ty= pe=3D"text/css"&gt; &nbsp; &lt;script language=3D"JavaScript" src=3D"jscookmenu/ThemePanel/them= e.js"&gt;&lt;/script&gt; &nbsp; &lt;link rel=3D"stylesheet" href=3D"jscookmenu/ThemePanel/theme.css"= type=3D"text/css"&gt; &nbsp; &lt;!-- JSCalendar --&gt; &nbsp; &lt;script language=3D"JavaScript" src=3D"jscalendar/popcalendar.js"= type=3D"text/javascript"&gt;&lt;/script&gt; &nbsp; &lt;link rel=3D"stylesheet" href=3D"jscalendar/jscalendar-WH/theme.c= ss" type=3D"text/css"&gt; &nbsp; &lt;link rel=3D"stylesheet" href=3D"jscalendar/jscalendar-DB/theme.c= ss" type=3D"text/css"&gt; &nbsp; &lt;!-- JSPopup --&gt; &nbsp; &lt;script language=3D"JavaScript" src=3D"jspopup/JSPopup.js" type= =3D"text/javascript"&gt;&lt;/script&gt; </PRE><BR>I'm now working on a new component that is javascript intensive t= oo,=20 and that would require the include of at least 5 other .js files.<BR><BR>= I=20 think we should make this transparent to the user by :=20 <UL> <LI type=3D1 value=3D1>Including the scripts/css/whatever required in t= he=20 myfaces.jar file as resources. So, we are sure we always have the .js f= ile's=20 version that works, and the developer just needs to include the myfaces= lib.=20 (this will grow a bite the size of the jar though).=20 <LI type=3D1 value=3D2>Have the components load the script/css/whatever= in a=20 standard way so that the page's developer doesn't need to bother, and s= o=20 that the script/css/... is only included once in the page. </LI></UL>So= ,=20 starting to think about a solution for this, here is my first idea :<BR><= BR>-=20 Have all those scripts/css/... as resources<BR><BR>- Make an additional= servlet that the webapp developper would include in his web.xml declarat= ions,=20 and that would be invoqued like :<BR>&nbsp;&nbsp;&nbsp; <A=20 href=3D"http://my.webserver.com/webapp/myFacesRessource?name=3Djspopup.js= ">http://my.webserver.com/webapp/myFacesRessource?name=3Djspopup.js</A><BR> <BLOCKQUOTE>This is the only thing the webapp developper would have to do= (declare the servlet), but I don't see how we could avoid that without= writing the scripts/css/... into the page.<BR>Writing the scripts/css/= ...=20 into the page would be bad for caching, and wouldn't allow us to use=20 standard images with this facility.<BR></BLOCKQUOTE>- Have a facility s= o that=20 the component's renderer can call something like=20 <TT>includeRessourceScriptLibrary(facesContext,"jspopup/JSPopup.js")</TT>= (similar helper for css, ...), and the code calling the above servlet is= automatically included in the page.<BR><BR>Any thoughts on this=20 ?<BR><BR>Sylvain. </BLOCKQUOTE><FONT SIZE=3D3><BR> <BR> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *= <BR> <BR> This email with attachments is solely for the use of the individual or<BR> entity to whom it is addressed. Please also be aware that the DnB NOR Group= <BR> cannot accept any payment orders or other legally binding correspondence wi= th<BR> customers as a part of an email. <BR> <BR> This email message has been virus checked by the virus programs used<BR> in the DnB NOR Group.<BR> <BR> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *= <BR> </FONT> </BODY></HTML> ------_=_NextPart_001_01C4D6E6.1D751FB6-- From [email protected] Tue Nov 30 16:11:26 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 32668 invoked from network); 30 Nov 2004 16:11:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 30 Nov 2004 16:11:23 -0000 Received: (qmail 1988 invoked by uid 500); 30 Nov 2004 16:09:19 -0000 Delivered-To: [email protected] Received: (qmail 1903 invoked by uid 500); 30 Nov 2004 16:09:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 1832 invoked by uid 99); 30 Nov 2004 16:09:16 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO [161.129.204.104]) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 30 Nov 2004 08:09:16 -0800 Message-ID: <[email protected]> Date: Tue, 30 Nov 2004 17:06:42 +0100 From: Manfred Geiler <[email protected]> User-Agent: Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: MyFaces Development <[email protected]> Subject: Re: [validation messages] component_id vs. bad value References: <001801c4d5f8$d54a7990$6402a8c0@fumakilla> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Matthias, Sylvain, Please note that the <x:message> and <x:messages> tags already address=20 some of your issues. See myfaces_ext.tld for docs: 8X---------------------------------------------------- <attribute> <name>summaryFormat</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> If present, instead of rendering the message summary, a MessageFormat=20 with this attribute as pattern is created. The format method of this=20 MessageFormat is called with the message summary as the first argument=20 and the label of the associated component (if any) as the second=20 argument. Example: "{0}:" </description> </attribute> <attribute> <name>detailFormat</name> <required>false</required> <rtexprvalue>false</rtexprvalue> <description> If present, instead of rendering the message detail, a MessageFormat=20 with this attribute as pattern is created. The format method of this=20 MessageFormat is called with the message detail as the first argument=20 and the label of the associated component (if any) as the second=20 argument. Example: "The input in field {1} is wrong: {0}" </description> </attribute> 8X---------------------------------------------------- HTH, Manfred Sylvain Vieujot wrote: > Hello, >=20 > I think that our validation messages should be more consistent and=20 > understandable than they are now. >=20 > Including the field's value is good. Maybe we need to have a way to=20 > shorten it if it's too long, or just to decide we alway stick to : > value.length() > 10 ? value.substring(0,10)+"..." : value > for example. >=20 > I think it would also help a lot to include the label's value if a labe= l=20 > is attached to the field (anyone knows how to do that ?). >=20 > So, for me a good example would be : > FIELD'S_LABEL : "VALUE_SUBSTRING(10)" is not a correct VALIDATOR_TYPE >=20 > My point here is that we should have something standard and sensible as= =20 > the messages we have now, with the component's id, and no value are not= =20 > great. >=20 > Any thoughts ? >=20 > Sylvain. >=20 > On Mon, 2004-11-29 at 10:50 +0100, Matthias Wessendorf wrote: >=20 >>Hi all, >> >>our current solution for validation messages is the following: >>-user enters bad value. >>- this message comes up (e.g. for e-mail): >>"component_id": Value is not a correct email-address." >> >>if the developer uses *well named ids* all may be fine. >>"emailValue": Value is not correct... >> >>but on *silly ids* it is not clear to the users. >>e.g. a: Value is not a correct emial.... >> >>However, if I changed the messages (on my box) to=20 >>"sss@hotmail": Value is not a correct email-address. >>this would be more sensible to the users. >>What do you think? >> >>But how should we handle *required*-messages? >>the current (on my box) is still >>"component_id": Value is required. >> >>Any ideas? >> >> >>Best regards >>Mit freundlichen Gr=C3=BC=C3=9Fen >>-- >>Matthias We=C3=9Fendorf >>Aechterhoek 18 >>DE-48282 Emsdetten >>Germany >> >=20 From [email protected] Tue Nov 30 16:19:44 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 43211 invoked from network); 30 Nov 2004 16:19:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 30 Nov 2004 16:19:44 -0000 Received: (qmail 39412 invoked by uid 500); 30 Nov 2004 16:19:40 -0000 Delivered-To: [email protected] Received: (qmail 39359 invoked by uid 500); 30 Nov 2004 16:19:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 39340 invoked by uid 99); 30 Nov 2004 16:19:39 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO [161.129.204.104]) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 30 Nov 2004 08:19:34 -0800 Message-ID: <[email protected]> Date: Tue, 30 Nov 2004 17:16:53 +0100 From: Manfred Geiler <[email protected]> User-Agent: Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: MyFaces Development <[email protected]> Subject: Re: SV: Javascript Hell References: <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Sylvain, I understand your concerns and I agree that there is already some kind of javascript hell that will become worse. But there are some important issues to consider first: 1. There are two kinds of resources a. those a component needs for rendering directly (e.g. images) b. those, that must be referenced in HTML Head (javascript, css) 2. Handling resources via Servlet can be implemented fast in a simple way, i.e. getting the Stream for the given name and stream it to the client. But keep in mind that this is not the only thing a sophisticated, performance optimized ResourceServlet must do: think of caching, handling browser HTTP HEAD requests instead of GET, etc. So we should take a look at Tomcats DefaultServlet first, before reinventing the wheel. 3. The facility method is easy to implement for (1.a.) but difficult to handle for (1.b.). There are two possible solutions: a. To automatically render the link or script tags in the html head only if they are really needed, the whole page rendering must be buffered (difficult, particularly when jsp includes or tiles are used). Inspecting the component tree prior to rendering is no solution because on first page access the component tree is empty! b. The user must configure, which components he is using either globally in web.xml or as attributes to the tag that Hermod mentions. I hope I did not sound too pessimistic, I only wanted to address some important points from my POV before we "jump into the water". ;-) Manfred [email protected] wrote: > Hi > > Another solution is to add another tag to the lib, which the developer > could add at the top of the page - ala the Struts <html:script> tag. > Making it parameterless so that it could itself find out which librarys > to load > or > add some more fuctionality to the view <f:tag> so that it would render > the <link> stuff. > > Hermod > > -----Opprinnelig melding----- > *Fra:* Sylvain Vieujot [mailto:[email protected]] > *Sendt:* 30. november 2004 13:47 > *Til:* MyFaces Development > *Emne:* Javascript Hell > > Hello everybody, > > Right now, some components require you to include some javascript > libraries in your app, and to reference those libraries in your > page's header. > Just for your example webapp, the header looks like that : > > <!-- JSCook Menu --> > > <script language="JavaScript" src="jscookmenu/JSCookMenu.js" type="text/javascript"></script> > <script language="JavaScript" src="jscookmenu/ThemeOffice/theme.js"></script> > <link rel="stylesheet" href="jscookmenu/ThemeOffice/theme.css" type="text/css"> > <script language="JavaScript" src="jscookmenu/ThemeMiniBlack/theme.js"></script> > <link rel="stylesheet" href="jscookmenu/ThemeMiniBlack/theme.css" type="text/css"> > <script language="JavaScript" src="jscookmenu/ThemeIE/theme.js"></script> > <link rel="stylesheet" href="jscookmenu/ThemeIE/theme.css" type="text/css"> > <script language="JavaScript" src="jscookmenu/ThemePanel/theme.js"></script> > <link rel="stylesheet" href="jscookmenu/ThemePanel/theme.css" type="text/css"> > > <!-- JSCalendar --> > <script language="JavaScript" src="jscalendar/popcalendar.js" type="text/javascript"></script> > <link rel="stylesheet" href="jscalendar/jscalendar-WH/theme.css" type="text/css"> > <link rel="stylesheet" href="jscalendar/jscalendar-DB/theme.css" type="text/css"> > > <!-- JSPopup --> > <script language="JavaScript" src="jspopup/JSPopup.js" type="text/javascript"></script> > > > I'm now working on a new component that is javascript intensive too, > and that would require the include of at least 5 other .js files. > > I think we should make this transparent to the user by : > > * Including the scripts/css/whatever required in the myfaces.jar > file as resources. So, we are sure we always have the .js > file's version that works, and the developer just needs to > include the myfaces lib. (this will grow a bite the size of > the jar though). > * Have the components load the script/css/whatever in a standard > way so that the page's developer doesn't need to bother, and > so that the script/css/... is only included once in the page. > > So, starting to think about a solution for this, here is my first idea : > > - Have all those scripts/css/... as resources > > - Make an additional servlet that the webapp developper would > include in his web.xml declarations, and that would be invoqued like : > http://my.webserver.com/webapp/myFacesRessource?name=jspopup.js > > This is the only thing the webapp developper would have to do > (declare the servlet), but I don't see how we could avoid that > without writing the scripts/css/... into the page. > Writing the scripts/css/... into the page would be bad for > caching, and wouldn't allow us to use standard images with this > facility. > > - Have a facility so that the component's renderer can call > something like > includeRessourceScriptLibrary(facesContext,"jspopup/JSPopup.js") > (similar helper for css, ...), and the code calling the above > servlet is automatically included in the page. > > Any thoughts on this ? > > Sylvain. > > > > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * > > This email with attachments is solely for the use of the individual or > entity to whom it is addressed. Please also be aware that the DnB NOR Group > cannot accept any payment orders or other legally binding correspondence > with > customers as a part of an email. > > This email message has been virus checked by the virus programs used > in the DnB NOR Group. > > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * From [email protected] Tue Nov 30 17:22:05 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87781 invoked from network); 30 Nov 2004 17:22:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 30 Nov 2004 17:22:03 -0000 Received: (qmail 34957 invoked by uid 500); 30 Nov 2004 17:21:10 -0000 Delivered-To: [email protected] Received: (qmail 34648 invoked by uid 500); 30 Nov 2004 17:21:05 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 34361 invoked by uid 99); 30 Nov 2004 17:21:01 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=FORGED_RCVD_HELO,HTML_50_60,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from mailgwvw01.freelance.com (HELO mailgwvw01.freelance.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 30 Nov 2004 09:20:55 -0800 Received: from mailgwvw02.freelance.com (mailgwvw02.freelance.com [161.129.204.104]) by mailgwvw01.freelance.com (8.12.3/8.12.3) with ESMTP id iAUHL1s5028912 for <[email protected]>; Tue, 30 Nov 2004 18:21:11 +0100 Received: from 161.129.204.104 ([161.129.204.104]) by mailgwvw02.freelance.com (Lotus Domino Release 5.0.12) with ESMTP id 2004113018200691:2154 ; Tue, 30 Nov 2004 18:20:06 +0100 Subject: Re: [validation messages] component_id vs. bad value From: Sylvain Vieujot <[email protected]> To: MyFaces Development <[email protected]> In-Reply-To: <[email protected]> References: <001801c4d5f8$d54a7990$6402a8c0@fumakilla> <[email protected]> <[email protected]> Date: Tue, 30 Nov 2004 13:20:03 -0400 Message-Id: <[email protected]> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-3) X-MIMETrack: Itemize by SMTP Server on mailgw01/Freelance(Release 5.0.12 |February 13, 2003) at 11/30/2004 06:20:07 PM, Serialize by Router on mailgw01/Freelance(Release 5.0.12 |February 13, 2003) at 11/30/2004 06:20:33 PM, Serialize complete at 11/30/2004 06:20:33 PM Content-Type: multipart/alternative; boundary="=-UjwCPfmKGnmitBQEvag5" X-Spam-Status: No, hits=0.8 required=5.0 tests=HTML_30_40,HTML_MESSAGE autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on mailgwvw01.freelance.com X-Virus-Scanned: ClamAV 0.80rc/611/Mon Nov 29 15:02:55 2004 clamav-milter version 0.80 on 161.129.204.104 X-Virus-Status: Clean X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --=-UjwCPfmKGnmitBQEvag5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Thank you Manfred for this info. Does it mean that h:message doesn't use the label for {0} when there is one ? Is it the way to do it in the specs, or could we just enhance the h:message, so that it behaves as the x:message for this matter ? Sylvain. On Tue, 2004-11-30 at 17:06 +0100, Manfred Geiler wrote: > Matthias, Sylvain, > Please note that the <x:message> and <x:messages> tags already address=20 > some of your issues. > See myfaces_ext.tld for docs: >=20 > 8X---------------------------------------------------- > <attribute> > <name>summaryFormat</name> > <required>false</required> > <rtexprvalue>false</rtexprvalue> > <description> > If present, instead of rendering the message summary, a MessageFormat=20 > with this attribute as pattern is created. The format method of this=20 > MessageFormat is called with the message summary as the first argument=20 > and the label of the associated component (if any) as the second=20 > argument. Example: "{0}:" > </description> > </attribute> > <attribute> > <name>detailFormat</name> > <required>false</required> > <rtexprvalue>false</rtexprvalue> > <description> > If present, instead of rendering the message detail, a MessageFormat=20 > with this attribute as pattern is created. The format method of this=20 > MessageFormat is called with the message detail as the first argument=20 > and the label of the associated component (if any) as the second=20 > argument. Example: "The input in field {1} is wrong: {0}" > </description> > </attribute> > 8X---------------------------------------------------- >=20 > HTH, > Manfred >=20 >=20 >=20 > Sylvain Vieujot wrote: > > Hello, > >=20 > > I think that our validation messages should be more consistent and=20 > > understandable than they are now. > >=20 > > Including the field's value is good. Maybe we need to have a way to=20 > > shorten it if it's too long, or just to decide we alway stick to : > > value.length() > 10 ? value.substring(0,10)+"..." : value > > for example. > >=20 > > I think it would also help a lot to include the label's value if a labe= l=20 > > is attached to the field (anyone knows how to do that ?). > >=20 > > So, for me a good example would be : > > FIELD'S_LABEL : "VALUE_SUBSTRING(10)" is not a correct VALIDATOR_TYPE > >=20 > > My point here is that we should have something standard and sensible as= =20 > > the messages we have now, with the component's id, and no value are not= =20 > > great. > >=20 > > Any thoughts ? > >=20 > > Sylvain. > >=20 > > On Mon, 2004-11-29 at 10:50 +0100, Matthias Wessendorf wrote: > >=20 > >>Hi all, > >> > >>our current solution for validation messages is the following: > >>-user enters bad value. > >>- this message comes up (e.g. for e-mail): > >>"component_id": Value is not a correct email-address." > >> > >>if the developer uses *well named ids* all may be fine. > >>"emailValue": Value is not correct... > >> > >>but on *silly ids* it is not clear to the users. > >>e.g. a: Value is not a correct emial.... > >> > >>However, if I changed the messages (on my box) to=20 > >>"sss@hotmail": Value is not a correct email-address. > >>this would be more sensible to the users. > >>What do you think? > >> > >>But how should we handle *required*-messages? > >>the current (on my box) is still > >>"component_id": Value is required. > >> > >>Any ideas? > >> > >> > >>Best regards > >>Mit freundlichen Gr=C3=BC=C3=9Fen > >>-- > >>Matthias We=C3=9Fendorf > >>Aechterhoek 18 > >>DE-48282 Emsdetten > >>Germany > >> > >=20 --=-UjwCPfmKGnmitBQEvag5 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=utf-8 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8"> <META NAME="GENERATOR" CONTENT="GtkHTML/3.3.2"> </HEAD> <BODY> Thank you Manfred for this info.<BR> <BR> Does it mean that h:message doesn't use the label for {0} when there is one ?<BR> Is it the way to do it in the specs, or could we just enhance the h:message, so that it behaves as the x:message for this matter ?<BR> <BR> Sylvain.<BR> <BR> <BR> On Tue, 2004-11-30 at 17:06 +0100, Manfred Geiler wrote: <BLOCKQUOTE TYPE=CITE> <PRE> <FONT COLOR="#000000">Matthias, Sylvain,</FONT> <FONT COLOR="#000000">Please note that the &lt;x:message&gt; and &lt;x:messages&gt; tags already address </FONT> <FONT COLOR="#000000">some of your issues.</FONT> <FONT COLOR="#000000">See myfaces_ext.tld for docs:</FONT> <FONT COLOR="#000000">8X----------------------------------------------------</FONT> <FONT COLOR="#000000"> &lt;attribute&gt;</FONT> <FONT COLOR="#000000"> &lt;name&gt;summaryFormat&lt;/name&gt;</FONT> <FONT COLOR="#000000"> &lt;required&gt;false&lt;/required&gt;</FONT> <FONT COLOR="#000000"> &lt;rtexprvalue&gt;false&lt;/rtexprvalue&gt;</FONT> <FONT COLOR="#000000"> &lt;description&gt;</FONT> <FONT COLOR="#000000">If present, instead of rendering the message summary, a MessageFormat </FONT> <FONT COLOR="#000000">with this attribute as pattern is created. The format method of this </FONT> <FONT COLOR="#000000">MessageFormat is called with the message summary as the first argument </FONT> <FONT COLOR="#000000">and the label of the associated component (if any) as the second </FONT> <FONT COLOR="#000000">argument. Example: &quot;{0}:&quot;</FONT> <FONT COLOR="#000000"> &lt;/description&gt;</FONT> <FONT COLOR="#000000"> &lt;/attribute&gt;</FONT> <FONT COLOR="#000000"> &lt;attribute&gt;</FONT> <FONT COLOR="#000000"> &lt;name&gt;detailFormat&lt;/name&gt;</FONT> <FONT COLOR="#000000"> &lt;required&gt;false&lt;/required&gt;</FONT> <FONT COLOR="#000000"> &lt;rtexprvalue&gt;false&lt;/rtexprvalue&gt;</FONT> <FONT COLOR="#000000"> &lt;description&gt;</FONT> <FONT COLOR="#000000">If present, instead of rendering the message detail, a MessageFormat </FONT> <FONT COLOR="#000000">with this attribute as pattern is created. The format method of this </FONT> <FONT COLOR="#000000">MessageFormat is called with the message detail as the first argument </FONT> <FONT COLOR="#000000">and the label of the associated component (if any) as the second </FONT> <FONT COLOR="#000000">argument. Example: &quot;The input in field {1} is wrong: {0}&quot;</FONT> <FONT COLOR="#000000"> &lt;/description&gt;</FONT> <FONT COLOR="#000000"> &lt;/attribute&gt;</FONT> <FONT COLOR="#000000">8X----------------------------------------------------</FONT> <FONT COLOR="#000000">HTH,</FONT> <FONT COLOR="#000000">Manfred</FONT> <FONT COLOR="#000000">Sylvain Vieujot wrote:</FONT> <FONT COLOR="#000000">&gt; Hello,</FONT> <FONT COLOR="#000000">&gt; </FONT> <FONT COLOR="#000000">&gt; I think that our validation messages should be more consistent and </FONT> <FONT COLOR="#000000">&gt; understandable than they are now.</FONT> <FONT COLOR="#000000">&gt; </FONT> <FONT COLOR="#000000">&gt; Including the field's value is good. Maybe we need to have a way to </FONT> <FONT COLOR="#000000">&gt; shorten it if it's too long, or just to decide we alway stick to :</FONT> <FONT COLOR="#000000">&gt; value.length() &gt; 10 ? value.substring(0,10)+&quot;...&quot; : value</FONT> <FONT COLOR="#000000">&gt; for example.</FONT> <FONT COLOR="#000000">&gt; </FONT> <FONT COLOR="#000000">&gt; I think it would also help a lot to include the label's value if a label </FONT> <FONT COLOR="#000000">&gt; is attached to the field (anyone knows how to do that ?).</FONT> <FONT COLOR="#000000">&gt; </FONT> <FONT COLOR="#000000">&gt; So, for me a good example would be :</FONT> <FONT COLOR="#000000">&gt; FIELD'S_LABEL : &quot;VALUE_SUBSTRING(10)&quot; is not a correct VALIDATOR_TYPE</FONT> <FONT COLOR="#000000">&gt; </FONT> <FONT COLOR="#000000">&gt; My point here is that we should have something standard and sensible as </FONT> <FONT COLOR="#000000">&gt; the messages we have now, with the component's id, and no value are not </FONT> <FONT COLOR="#000000">&gt; great.</FONT> <FONT COLOR="#000000">&gt; </FONT> <FONT COLOR="#000000">&gt; Any thoughts ?</FONT> <FONT COLOR="#000000">&gt; </FONT> <FONT COLOR="#000000">&gt; Sylvain.</FONT> <FONT COLOR="#000000">&gt; </FONT> <FONT COLOR="#000000">&gt; On Mon, 2004-11-29 at 10:50 +0100, Matthias Wessendorf wrote:</FONT> <FONT COLOR="#000000">&gt; </FONT> <FONT COLOR="#000000">&gt;&gt;Hi all,</FONT> <FONT COLOR="#000000">&gt;&gt;</FONT> <FONT COLOR="#000000">&gt;&gt;our current solution for validation messages is the following:</FONT> <FONT COLOR="#000000">&gt;&gt;-user enters bad value.</FONT> <FONT COLOR="#000000">&gt;&gt;- this message comes up (e.g. for e-mail):</FONT> <FONT COLOR="#000000">&gt;&gt;&quot;component_id&quot;: Value is not a correct email-address.&quot;</FONT> <FONT COLOR="#000000">&gt;&gt;</FONT> <FONT COLOR="#000000">&gt;&gt;if the developer uses *well named ids* all may be fine.</FONT> <FONT COLOR="#000000">&gt;&gt;&quot;emailValue&quot;: Value is not correct...</FONT> <FONT COLOR="#000000">&gt;&gt;</FONT> <FONT COLOR="#000000">&gt;&gt;but on *silly ids* it is not clear to the users.</FONT> <FONT COLOR="#000000">&gt;&gt;e.g. a: Value is not a correct emial....</FONT> <FONT COLOR="#000000">&gt;&gt;</FONT> <FONT COLOR="#000000">&gt;&gt;However, if I changed the messages (on my box) to </FONT> <FONT COLOR="#000000">&gt;&gt;&quot;sss@hotmail&quot;: Value is not a correct email-address.</FONT> <FONT COLOR="#000000">&gt;&gt;this would be more sensible to the users.</FONT> <FONT COLOR="#000000">&gt;&gt;What do you think?</FONT> <FONT COLOR="#000000">&gt;&gt;</FONT> <FONT COLOR="#000000">&gt;&gt;But how should we handle *required*-messages?</FONT> <FONT COLOR="#000000">&gt;&gt;the current (on my box) is still</FONT> <FONT COLOR="#000000">&gt;&gt;&quot;component_id&quot;: Value is required.</FONT> <FONT COLOR="#000000">&gt;&gt;</FONT> <FONT COLOR="#000000">&gt;&gt;Any ideas?</FONT> <FONT COLOR="#000000">&gt;&gt;</FONT> <FONT COLOR="#000000">&gt;&gt;</FONT> <FONT COLOR="#000000">&gt;&gt;Best regards</FONT> <FONT COLOR="#000000">&gt;&gt;Mit freundlichen Gr&#252;&#223;en</FONT> <FONT COLOR="#000000">&gt;&gt;--</FONT> <FONT COLOR="#000000">&gt;&gt;Matthias We&#223;endorf</FONT> <FONT COLOR="#000000">&gt;&gt;Aechterhoek 18</FONT> <FONT COLOR="#000000">&gt;&gt;DE-48282 Emsdetten</FONT> <FONT COLOR="#000000">&gt;&gt;Germany</FONT> <FONT COLOR="#000000">&gt;&gt;</FONT> <FONT COLOR="#000000">&gt; </FONT> </PRE> </BLOCKQUOTE> <BR> </BODY> </HTML> --=-UjwCPfmKGnmitBQEvag5-- From [email protected] Tue Nov 30 18:20:42 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 50292 invoked from network); 30 Nov 2004 18:20:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 30 Nov 2004 18:20:41 -0000 Received: (qmail 42704 invoked by uid 500); 30 Nov 2004 18:18:15 -0000 Delivered-To: [email protected] Received: (qmail 42638 invoked by uid 500); 30 Nov 2004 18:18:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 42587 invoked by uid 99); 30 Nov 2004 18:18:13 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=FORGED_RCVD_HELO,HTML_40_50,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: error (hermes.apache.org: local policy) Received: from mailgwvw01.freelance.com (HELO mailgwvw01.freelance.com) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 30 Nov 2004 10:18:04 -0800 Received: from mailgwvw02.freelance.com (mailgwvw02.freelance.com [161.129.204.104]) by mailgwvw01.freelance.com (8.12.3/8.12.3) with ESMTP id iAUIICs5003111 for <[email protected]>; Tue, 30 Nov 2004 19:18:12 +0100 Received: from 161.129.204.104 ([161.129.204.104]) by mailgwvw02.freelance.com (Lotus Domino Release 5.0.12) with ESMTP id 2004113019173361:2217 ; Tue, 30 Nov 2004 19:17:33 +0100 Subject: Re: SV: Javascript Hell From: Sylvain Vieujot <[email protected]> To: MyFaces Development <[email protected]> Date: Tue, 30 Nov 2004 14:17:35 -0400 Message-Id: <[email protected]> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-3) X-MIMETrack: Itemize by SMTP Server on mailgw01/Freelance(Release 5.0.12 |February 13, 2003) at 11/30/2004 07:17:34 PM, Serialize by Router on mailgw01/Freelance(Release 5.0.12 |February 13, 2003) at 11/30/2004 07:17:34 PM, Serialize complete at 11/30/2004 07:17:34 PM Content-Type: multipart/alternative; boundary="=-XixYQn9xvE/I1keVoKxc" X-Spam-Status: No, hits=0.8 required=5.0 tests=HTML_30_40,HTML_MESSAGE autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on mailgwvw01.freelance.com X-Virus-Scanned: ClamAV 0.80rc/611/Mon Nov 29 15:02:55 2004 clamav-milter version 0.80 on 161.129.204.104 X-Virus-Status: Clean X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --=-XixYQn9xvE/I1keVoKxc Content-Transfer-Encoding: 7bit Content-Type: text/plain On Tue, 2004-11-30 at 17:16 +0100, Manfred Geiler wrote: > Sylvain, > I understand your concerns and I agree that there is already some kind > of javascript hell that will become worse. > But there are some important issues to consider first: > 1. There are two kinds of resources > a. those a component needs for rendering directly (e.g. images) > b. those, that must be referenced in HTML Head (javascript, css) > 2. Handling resources via Servlet can be implemented fast in a simple > way, i.e. getting the Stream for the given name and stream it to the > client. But keep in mind that this is not the only thing a > sophisticated, performance optimized ResourceServlet must do: think of > caching, handling browser HTTP HEAD requests instead of GET, etc. > So we should take a look at Tomcats DefaultServlet first, before > reinventing the wheel. You're right, but anyway, I think this is not the difficult part. > 3. The facility method is easy to implement for (1.a.) but difficult to > handle for (1.b.). There are two possible solutions: > a. To automatically render the link or script tags in the html head > only if they are really needed, the whole page rendering must be > buffered (difficult, particularly when jsp includes or tiles are used). > Inspecting the component tree prior to rendering is no solution because > on first page access the component tree is empty! > b. The user must configure, which components he is using either > globally in web.xml or as attributes to the tag that Hermod mentions. > for 1.b, I agree that they might not be any easy way to render the link in the head. But I tried to include script links and css links in the body, and it works fine. Is there any objection to do this ? It would really make the all thing easy. For the <script src="..."></script>, it's definitely allowed to use it in the body : http://www.w3.org/TR/html401/interact/scripts.html For the <link ...> element the specs says that it should go only in the head ... BUT the limited tests I did show that it works (I don't know if it always works though). http://www.w3.org/TR/html401/struct/links.html#h-12.3 My guess is that it works, but it fails to provide the user with the style sheet alternatives. I don't think this is a problem though as the style sheets we will include this way are meant for the components, not for the whole page display. What do you think ? Can we still do it for style sheets ? Is there another way to do it for <link ...> elements or for style sheets ? I don't like the solution of asking the user to configure which components he is using, as it's quiet inefficient, error prone, and add yet another level of complexity. > I hope I did not sound too pessimistic, I only wanted to address some > important points from my POV before we "jump into the water". ;-) > > > Manfred > > > > > [email protected] wrote: > > Hi > > > > Another solution is to add another tag to the lib, which the developer > > could add at the top of the page - ala the Struts <html:script> tag. > > Making it parameterless so that it could itself find out which librarys > > to load > > or > > add some more fuctionality to the view <f:tag> so that it would render > > the <link> stuff. > > > > Hermod > > > > -----Opprinnelig melding----- > > *Fra:* Sylvain Vieujot [mailto:[email protected]] > > *Sendt:* 30. november 2004 13:47 > > *Til:* MyFaces Development > > *Emne:* Javascript Hell > > > > Hello everybody, > > > > Right now, some components require you to include some javascript > > libraries in your app, and to reference those libraries in your > > page's header. > > Just for your example webapp, the header looks like that : > > > > <!-- JSCook Menu --> > > > > <script language="JavaScript" src="jscookmenu/JSCookMenu.js" type="text/javascript"></script> > > <script language="JavaScript" src="jscookmenu/ThemeOffice/theme.js"></script> > > <link rel="stylesheet" href="jscookmenu/ThemeOffice/theme.css" type="text/css"> > > <script language="JavaScript" src="jscookmenu/ThemeMiniBlack/theme.js"></script> > > <link rel="stylesheet" href="jscookmenu/ThemeMiniBlack/theme.css" type="text/css"> > > <script language="JavaScript" src="jscookmenu/ThemeIE/theme.js"></script> > > <link rel="stylesheet" href="jscookmenu/ThemeIE/theme.css" type="text/css"> > > <script language="JavaScript" src="jscookmenu/ThemePanel/theme.js"></script> > > <link rel="stylesheet" href="jscookmenu/ThemePanel/theme.css" type="text/css"> > > > > <!-- JSCalendar --> > > <script language="JavaScript" src="jscalendar/popcalendar.js" type="text/javascript"></script> > > <link rel="stylesheet" href="jscalendar/jscalendar-WH/theme.css" type="text/css"> > > <link rel="stylesheet" href="jscalendar/jscalendar-DB/theme.css" type="text/css"> > > > > <!-- JSPopup --> > > <script language="JavaScript" src="jspopup/JSPopup.js" type="text/javascript"></script> > > > > > > I'm now working on a new component that is javascript intensive too, > > and that would require the include of at least 5 other .js files. > > > > I think we should make this transparent to the user by : > > > > * Including the scripts/css/whatever required in the myfaces.jar > > file as resources. So, we are sure we always have the .js > > file's version that works, and the developer just needs to > > include the myfaces lib. (this will grow a bite the size of > > the jar though). > > * Have the components load the script/css/whatever in a standard > > way so that the page's developer doesn't need to bother, and > > so that the script/css/... is only included once in the page. > > > > So, starting to think about a solution for this, here is my first idea : > > > > - Have all those scripts/css/... as resources > > > > - Make an additional servlet that the webapp developper would > > include in his web.xml declarations, and that would be invoqued like : > > http://my.webserver.com/webapp/myFacesRessource?name=jspopup.js > > > > This is the only thing the webapp developper would have to do > > (declare the servlet), but I don't see how we could avoid that > > without writing the scripts/css/... into the page. > > Writing the scripts/css/... into the page would be bad for > > caching, and wouldn't allow us to use standard images with this > > facility. > > > > - Have a facility so that the component's renderer can call > > something like > > includeRessourceScriptLibrary(facesContext,"jspopup/JSPopup.js") > > (similar helper for css, ...), and the code calling the above > > servlet is automatically included in the page. > > > > Any thoughts on this ? > > > > Sylvain. > > > > > > > > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * > > > > This email with attachments is solely for the use of the individual or > > entity to whom it is addressed. Please also be aware that the DnB NOR Group > > cannot accept any payment orders or other legally binding correspondence > > with > > customers as a part of an email. > > > > This email message has been virus checked by the virus programs used > > in the DnB NOR Group. > > > > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * > > --=-XixYQn9xvE/I1keVoKxc Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=utf-8 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8"> <META NAME="GENERATOR" CONTENT="GtkHTML/3.3.2"> </HEAD> <BODY> On Tue, 2004-11-30 at 17:16 +0100, Manfred Geiler wrote: <BLOCKQUOTE TYPE=CITE> <PRE> <FONT COLOR="#808080">Sylvain,</FONT> <FONT COLOR="#808080">I understand your concerns and I agree that there is already some kind</FONT> <FONT COLOR="#808080">of javascript hell that will become worse.</FONT> <FONT COLOR="#808080">But there are some important issues to consider first:</FONT> <FONT COLOR="#808080">1. There are two kinds of resources</FONT> <FONT COLOR="#808080"> a. those a component needs for rendering directly (e.g. images)</FONT> <FONT COLOR="#808080">&nbsp;&nbsp; b. those, that must be referenced in HTML Head (javascript, css)</FONT> <FONT COLOR="#808080">2. Handling resources via Servlet can be implemented fast in a simple </FONT> <FONT COLOR="#808080">way, i.e. getting the Stream for the given name and stream it to the </FONT> <FONT COLOR="#808080">client. But keep in mind that this is not the only thing a </FONT> <FONT COLOR="#808080">sophisticated, performance optimized ResourceServlet must do: think of </FONT> <FONT COLOR="#808080">caching, handling browser HTTP HEAD requests instead of GET, etc.</FONT> <FONT COLOR="#808080">So we should take a look at Tomcats DefaultServlet first, before </FONT> <FONT COLOR="#808080">reinventing the wheel.</FONT> </PRE> </BLOCKQUOTE> <BR> You're right, but anyway, I think this is not the difficult part.<BR> <BR> <BLOCKQUOTE TYPE=CITE> <PRE> <FONT COLOR="#808080">3. The facility method is easy to implement for (1.a.) but difficult to</FONT> <FONT COLOR="#808080">handle for (1.b.). There are two possible solutions:</FONT> <FONT COLOR="#808080"> a. To automatically render the link or script tags in the html head </FONT> <FONT COLOR="#808080">only if they are really needed, the whole page rendering must be </FONT> <FONT COLOR="#808080">buffered (difficult, particularly when jsp includes or tiles are used). </FONT> <FONT COLOR="#808080">Inspecting the component tree prior to rendering is no solution because </FONT> <FONT COLOR="#808080">on first page access the component tree is empty!</FONT> <FONT COLOR="#808080"> b. The user must configure, which components he is using either </FONT> <FONT COLOR="#808080">globally in web.xml or as attributes to the tag that Hermod mentions.</FONT> </PRE> </BLOCKQUOTE> <BR> for 1.b, I agree that they might not be any easy way to render the link in the head. But I tried to include script links and css links in the body, and it works fine.<BR> Is there any objection to do this ? It would really make the all thing easy.<BR> For the &lt;script src=&quot;...&quot;&gt;&lt;/script&gt;, it's definitely allowed to use it in the body :<BR> <A HREF="http://www.w3.org/TR/html401/interact/scripts.html">http://www.w3.org/TR/html401/interact/scripts.html</A><BR> For the &lt;link ...&gt; element the specs says that it should go only in the head ... BUT the limited tests I did show that it works (I don't know if it always works though).<BR> <A HREF="http://www.w3.org/TR/html401/struct/links.html#h-12.3">http://www.w3.org/TR/html401/struct/links.html#h-12.3</A><BR> My guess is that it works, but it fails to provide the user with the style sheet alternatives. I don't think this is a problem though as the style sheets we will include this way are meant for the components, not for the whole page display.<BR> <BR> What do you think ?<BR> Can we still do it for style sheets ?<BR> Is there another way to do it for &lt;link ...&gt; elements or for style sheets ?<BR> <BR> I don't like the solution of asking the user to configure which components he is using, as it's quiet inefficient, error prone, and add yet another level of complexity.<BR> <BR> <BR> <BLOCKQUOTE TYPE=CITE> <PRE> <FONT COLOR="#808080">I hope I did not sound too pessimistic, I only wanted to address some </FONT> <FONT COLOR="#808080">important points from my POV before we &quot;jump into the water&quot;. ;-)</FONT> <FONT COLOR="#808080">Manfred</FONT> <FONT COLOR="#808080"><A HREF="mailto:[email protected]">[email protected]</A> wrote:</FONT> <FONT COLOR="#808080">&gt; Hi</FONT> <FONT COLOR="#808080">&gt; </FONT> <FONT COLOR="#808080">&gt; Another solution is to add another tag to the lib, which the developer </FONT> <FONT COLOR="#808080">&gt; could add at the top of the page - ala the Struts &lt;html:script&gt; tag. </FONT> <FONT COLOR="#808080">&gt; Making it parameterless so that it could itself find out which librarys </FONT> <FONT COLOR="#808080">&gt; to load</FONT> <FONT COLOR="#808080">&gt; or</FONT> <FONT COLOR="#808080">&gt; add some more fuctionality to the view &lt;f:tag&gt; so that it would render </FONT> <FONT COLOR="#808080">&gt; the &lt;link&gt; stuff.</FONT> <FONT COLOR="#808080">&gt; </FONT> <FONT COLOR="#808080">&gt; Hermod</FONT> <FONT COLOR="#808080">&gt; </FONT> <FONT COLOR="#808080">&gt; -----Opprinnelig melding-----</FONT> <FONT COLOR="#808080">&gt; *Fra:* Sylvain Vieujot [mailto:<A HREF="mailto:[email protected]">[email protected]</A>]</FONT> <FONT COLOR="#808080">&gt; *Sendt:* 30. november 2004 13:47</FONT> <FONT COLOR="#808080">&gt; *Til:* MyFaces Development</FONT> <FONT COLOR="#808080">&gt; *Emne:* Javascript Hell</FONT> <FONT COLOR="#808080">&gt; </FONT> <FONT COLOR="#808080">&gt; Hello everybody,</FONT> <FONT COLOR="#808080">&gt; </FONT> <FONT COLOR="#808080">&gt; Right now, some components require you to include some javascript</FONT> <FONT COLOR="#808080">&gt; libraries in your app, and to reference those libraries in your</FONT> <FONT COLOR="#808080">&gt; page's header.</FONT> <FONT COLOR="#808080">&gt; Just for your example webapp, the header looks like that :</FONT> <FONT COLOR="#808080">&gt; </FONT> <FONT COLOR="#808080">&gt; &lt;!-- JSCook Menu --&gt;</FONT> <FONT COLOR="#808080">&gt; </FONT> <FONT COLOR="#808080">&gt; &lt;script language=&quot;JavaScript&quot; src=&quot;jscookmenu/JSCookMenu.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;</FONT> <FONT COLOR="#808080">&gt; &lt;script language=&quot;JavaScript&quot; src=&quot;jscookmenu/ThemeOffice/theme.js&quot;&gt;&lt;/script&gt;</FONT> <FONT COLOR="#808080">&gt; &lt;link rel=&quot;stylesheet&quot; href=&quot;jscookmenu/ThemeOffice/theme.css&quot; type=&quot;text/css&quot;&gt;</FONT> <FONT COLOR="#808080">&gt; &lt;script language=&quot;JavaScript&quot; src=&quot;jscookmenu/ThemeMiniBlack/theme.js&quot;&gt;&lt;/script&gt;</FONT> <FONT COLOR="#808080">&gt; &lt;link rel=&quot;stylesheet&quot; href=&quot;jscookmenu/ThemeMiniBlack/theme.css&quot; type=&quot;text/css&quot;&gt;</FONT> <FONT COLOR="#808080">&gt; &lt;script language=&quot;JavaScript&quot; src=&quot;jscookmenu/ThemeIE/theme.js&quot;&gt;&lt;/script&gt;</FONT> <FONT COLOR="#808080">&gt; &lt;link rel=&quot;stylesheet&quot; href=&quot;jscookmenu/ThemeIE/theme.css&quot; type=&quot;text/css&quot;&gt;</FONT> <FONT COLOR="#808080">&gt; &lt;script language=&quot;JavaScript&quot; src=&quot;jscookmenu/ThemePanel/theme.js&quot;&gt;&lt;/script&gt;</FONT> <FONT COLOR="#808080">&gt; &lt;link rel=&quot;stylesheet&quot; href=&quot;jscookmenu/ThemePanel/theme.css&quot; type=&quot;text/css&quot;&gt;</FONT> <FONT COLOR="#808080">&gt; </FONT> <FONT COLOR="#808080">&gt; &lt;!-- JSCalendar --&gt;</FONT> <FONT COLOR="#808080">&gt; &lt;script language=&quot;JavaScript&quot; src=&quot;jscalendar/popcalendar.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;</FONT> <FONT COLOR="#808080">&gt; &lt;link rel=&quot;stylesheet&quot; href=&quot;jscalendar/jscalendar-WH/theme.css&quot; type=&quot;text/css&quot;&gt;</FONT> <FONT COLOR="#808080">&gt; &lt;link rel=&quot;stylesheet&quot; href=&quot;jscalendar/jscalendar-DB/theme.css&quot; type=&quot;text/css&quot;&gt;</FONT> <FONT COLOR="#808080">&gt; </FONT> <FONT COLOR="#808080">&gt; &lt;!-- JSPopup --&gt;</FONT> <FONT COLOR="#808080">&gt; &lt;script language=&quot;JavaScript&quot; src=&quot;jspopup/JSPopup.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;</FONT> <FONT COLOR="#808080">&gt; </FONT> <FONT COLOR="#808080">&gt; </FONT> <FONT COLOR="#808080">&gt; I'm now working on a new component that is javascript intensive too,</FONT> <FONT COLOR="#808080">&gt; and that would require the include of at least 5 other .js files.</FONT> <FONT COLOR="#808080">&gt; </FONT> <FONT COLOR="#808080">&gt; I think we should make this transparent to the user by :</FONT> <FONT COLOR="#808080">&gt; </FONT> <FONT COLOR="#808080">&gt; * Including the scripts/css/whatever required in the myfaces.jar</FONT> <FONT COLOR="#808080">&gt; file as resources. So, we are sure we always have the .js</FONT> <FONT COLOR="#808080">&gt; file's version that works, and the developer just needs to</FONT> <FONT COLOR="#808080">&gt; include the myfaces lib. (this will grow a bite the size of</FONT> <FONT COLOR="#808080">&gt; the jar though).</FONT> <FONT COLOR="#808080">&gt; * Have the components load the script/css/whatever in a standard</FONT> <FONT COLOR="#808080">&gt; way so that the page's developer doesn't need to bother, and</FONT> <FONT COLOR="#808080">&gt; so that the script/css/... is only included once in the page. </FONT> <FONT COLOR="#808080">&gt; </FONT> <FONT COLOR="#808080">&gt; So, starting to think about a solution for this, here is my first idea :</FONT> <FONT COLOR="#808080">&gt; </FONT> <FONT COLOR="#808080">&gt; - Have all those scripts/css/... as resources</FONT> <FONT COLOR="#808080">&gt; </FONT> <FONT COLOR="#808080">&gt; - Make an additional servlet that the webapp developper would</FONT> <FONT COLOR="#808080">&gt; include in his web.xml declarations, and that would be invoqued like :</FONT> <FONT COLOR="#808080">&gt; <A HREF="http://my.webserver.com/webapp/myFacesRessource?name=jspopup.js">http://my.webserver.com/webapp/myFacesRessource?name=jspopup.js</A></FONT> <FONT COLOR="#808080">&gt; </FONT> <FONT COLOR="#808080">&gt; This is the only thing the webapp developper would have to do</FONT> <FONT COLOR="#808080">&gt; (declare the servlet), but I don't see how we could avoid that</FONT> <FONT COLOR="#808080">&gt; without writing the scripts/css/... into the page.</FONT> <FONT COLOR="#808080">&gt; Writing the scripts/css/... into the page would be bad for</FONT> <FONT COLOR="#808080">&gt; caching, and wouldn't allow us to use standard images with this</FONT> <FONT COLOR="#808080">&gt; facility.</FONT> <FONT COLOR="#808080">&gt; </FONT> <FONT COLOR="#808080">&gt; - Have a facility so that the component's renderer can call</FONT> <FONT COLOR="#808080">&gt; something like</FONT> <FONT COLOR="#808080">&gt; includeRessourceScriptLibrary(facesContext,&quot;jspopup/JSPopup.js&quot;)</FONT> <FONT COLOR="#808080">&gt; (similar helper for css, ...), and the code calling the above</FONT> <FONT COLOR="#808080">&gt; servlet is automatically included in the page.</FONT> <FONT COLOR="#808080">&gt; </FONT> <FONT COLOR="#808080">&gt; Any thoughts on this ?</FONT> <FONT COLOR="#808080">&gt; </FONT> <FONT COLOR="#808080">&gt; Sylvain. </FONT> <FONT COLOR="#808080">&gt; </FONT> <FONT COLOR="#808080">&gt; </FONT> <FONT COLOR="#808080">&gt; </FONT> <FONT COLOR="#808080">&gt; * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *</FONT> <FONT COLOR="#808080">&gt; </FONT> <FONT COLOR="#808080">&gt; This email with attachments is solely for the use of the individual or</FONT> <FONT COLOR="#808080">&gt; entity to whom it is addressed. Please also be aware that the DnB NOR Group</FONT> <FONT COLOR="#808080">&gt; cannot accept any payment orders or other legally binding correspondence </FONT> <FONT COLOR="#808080">&gt; with</FONT> <FONT COLOR="#808080">&gt; customers as a part of an email.</FONT> <FONT COLOR="#808080">&gt; </FONT> <FONT COLOR="#808080">&gt; This email message has been virus checked by the virus programs used</FONT> <FONT COLOR="#808080">&gt; in the DnB NOR Group.</FONT> <FONT COLOR="#808080">&gt; </FONT> <FONT COLOR="#808080">&gt; * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *</FONT> </PRE> </BLOCKQUOTE> <TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%"> <TR> <TD> <BR> <BR> </TD> </TR> </TABLE> <BR> </BODY> </HTML> --=-XixYQn9xvE/I1keVoKxc-- From [email protected] Wed Dec 01 00:20:47 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 51435 invoked from network); 1 Dec 2004 00:20:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 1 Dec 2004 00:20:47 -0000 Received: (qmail 64520 invoked by uid 500); 1 Dec 2004 00:20:46 -0000 Delivered-To: [email protected] Received: (qmail 64467 invoked by uid 500); 1 Dec 2004 00:20:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 64456 invoked by uid 99); 1 Dec 2004 00:20:46 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from h4403.serverkompetenz.net (HELO h4403.serverkompetenz.net) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 30 Nov 2004 16:20:44 -0800 Received: from [161.129.204.104] (p5081F52B.dip0.t-ipconnect.de [161.129.204.104]) by h4403.serverkompetenz.net (Postfix) with ESMTP id 72A1D3B8017 for <[email protected]>; Wed, 1 Dec 2004 01:20:34 +0100 (CET) Message-ID: <[email protected]> Date: Wed, 01 Dec 2004 01:20:51 +0100 From: Oliver Rossmueller <[email protected]> User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: MyFaces Development <[email protected]> Subject: Re: Status of sf bugs References: <[email protected]> <[email protected]> In-Reply-To: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Manfred Geiler wrote: > Oliver, > Just a short coordination: > - on SF I created a new canned response "Moved to JIRA" for convenience > - on SF I set the Status to "Closed" and Resolution to "Later" > - in JIRA I had "(was: SF#xxxxxx by Max Muster)" to the subject > > Is that ok? Manfred, that's perfect. I'll do it the same way for the issues I'm not able to resolve within the next week or so. Oliver > > Thanks, > Manfred > > > Oliver Rossmueller wrote: > >> Hi, >> >> I was looking through the bug list on sf.net and there are six issues >> assigned to a developer, so can you guys please have a quick look at >> them. If an issue is already fixed please close it, otherwise please >> add a short comment on what the current status is. >> >> manolito: >> https://sourceforge.net/tracker/index.php?func=detail&aid=955170&group_id=69709&atid=525508 >> and >> https://sourceforge.net/tracker/index.php?func=detail&aid=1030116&group_id=69709&atid=525508 >> >> >> royalts: >> https://sourceforge.net/tracker/index.php?func=detail&aid=981851&group_id=69709&atid=525508 >> and >> https://sourceforge.net/tracker/index.php?func=detail&aid=999543&group_id=69709&atid=525508 >> >> >> tinytoony: >> https://sourceforge.net/tracker/index.php?func=detail&aid=1027488&group_id=69709&atid=525508 >> and >> https://sourceforge.net/tracker/index.php?func=detail&aid=1037378&group_id=69709&atid=525508 >> >> >> I will try to resolve as many of the remaining issues as possible and >> then move the rest to Jira so we can close the sf tracker. >> >> Oliver >> From [email protected] Wed Dec 01 04:49:06 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 74191 invoked from network); 1 Dec 2004 04:49:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 1 Dec 2004 04:49:05 -0000 Received: (qmail 77092 invoked by uid 500); 1 Dec 2004 04:49:05 -0000 Delivered-To: [email protected] Received: (qmail 77045 invoked by uid 500); 1 Dec 2004 04:49:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 77033 invoked by uid 99); 1 Dec 2004 04:49:04 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 30 Nov 2004 20:49:03 -0800 Received: (qmail 74161 invoked by uid 1339); 1 Dec 2004 04:49:02 -0000 Received: from localhost ([email protected]) by localhost with SMTP; 1 Dec 2004 04:49:02 -0000 Date: Tue, 30 Nov 2004 20:49:02 -0800 (PST) From: Martin Cooper <[email protected]> To: [email protected] Subject: JSF API jar on Maven's ibiblio repository? Message-ID: <[email protected]> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Rating: localhost 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N The Maven build tool likes to grab all of a project's dependencies from a repository on www.ibiblio.org. Projects compiling against JSF have a problem, though, because the license for the JSF RI does not allow the jars for that to live in the ibiblio repository. One obvious solution would be to compile against the MyFaces flavour of the JSF API. That, of course, would require that the appropriate MyFaces jar(s) be made [email protected]. Since I know next to nothing about MyFaces, I'm not exactly the right person to get this done. ;-( I'm hoping that there might be someone here who could make the appropriate request / do the deed to get the right jar(s) put up on ibiblio. Any takers? Please? ;-) -- Martin Cooper From [email protected] Wed Dec 01 07:13:05 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40221 invoked from network); 1 Dec 2004 07:13:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 1 Dec 2004 07:13:05 -0000 Received: (qmail 69045 invoked by uid 500); 1 Dec 2004 07:13:04 -0000 Delivered-To: [email protected] Received: (qmail 69005 invoked by uid 500); 1 Dec 2004 07:13:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 68992 invoked by uid 99); 1 Dec 2004 07:13:04 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail4.dnb.no (HELO MAIL4.DnB.no) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 30 Nov 2004 23:13:01 -0800 Received: from sdlap405.DnB.no (int-mail2.dnb.no) by MAIL4.DnB.no (Content Technologies SMTPRS 4.3.12) with ESMTP id <[email protected]> for <[email protected]>; Wed, 1 Dec 2004 08:10:48 +0100 Received: by sdlap405.dnb.no with Internet Mail Service (5.5.2657.72) id <XD9QZH9C>; Wed, 1 Dec 2004 08:12:56 +0100 Message-ID: <[email protected]> From: [email protected] To: [email protected] Subject: SV: JSF API jar on Maven's ibiblio repository? Date: Wed, 1 Dec 2004 08:12:56 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Actually you can have the best of both - There is maven proxy at http://maven-proxy.codehaus.org/. With this you can have your own stuff (Like the JSF API) locally in your repository, while all others are on ibiblio. Personally I think building with Maven is much easier than with Ant - mainly because of the version centric way of building. Hermod -----Opprinnelig melding----- Fra: Martin Cooper [mailto:[email protected]] Sendt: 1. desember 2004 05:49 Til: [email protected] Emne: JSF API jar on Maven's ibiblio repository? The Maven build tool likes to grab all of a project's dependencies from a repository on www.ibiblio.org. Projects compiling against JSF have a problem, though, because the license for the JSF RI does not allow the jars for that to live in the ibiblio repository. One obvious solution would be to compile against the MyFaces flavour of the JSF API. That, of course, would require that the appropriate MyFaces jar(s) be made [email protected]. Since I know next to nothing about MyFaces, I'm not exactly the right person to get this done. ;-( I'm hoping that there might be someone here who could make the appropriate request / do the deed to get the right jar(s) put up on ibiblio. Any takers? Please? ;-) -- Martin Cooper * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This email with attachments is solely for the use of the individual or entity to whom it is addressed. Please also be aware that the DnB NOR Group cannot accept any payment orders or other legally binding correspondence with customers as a part of an email. This email message has been virus checked by the virus programs used in the DnB NOR Group. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * From [email protected] Wed Dec 01 07:53:15 2004 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56444 invoked from network); 1 Dec 2004 07:53:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur-2.apache.org with SMTP; 1 Dec 2004 07:53:15 -0000 Received: (qmail 37305 invoked by uid 500); 1 Dec 2004 07:53:09 -0000 Delivered-To: [email protected] Received: (qmail 37265 invoked by uid 500); 1 Dec 2004 07:53:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <myfaces-dev.incubator.apache.org> Reply-To: "MyFaces Development" <[email protected]> Delivered-To: mailing list [email protected] Received: (qmail 37252 invoked by uid 99); 1 Dec 2004 07:53:08 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from moutng.kundenserver.de (HELO moutng.kundenserver.de) (161.129.204.104) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 30 Nov 2004 23:53:06 -0800 Received: from [161.129.204.104] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1CZPIM-0001D7-00 for [email protected]; Wed, 01 Dec 2004 08:53:02 +0100 Received: from [161.129.204.104] (helo=fumakilla) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1CZPIM-0007Cj-00 for [email protected]; Wed, 01 Dec 2004 08:53:02 +0100 From: "Matthias Wessendorf" <[email protected]> To: "'MyFaces Development'" <[email protected]> Subject: RE: JSF API jar on Maven's ibiblio repository? Date: Wed, 1 Dec 2004 08:52:09 +0100 Message-ID: <002601c4d77a$aeee95f0$6402a8c0@fumakilla> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: <[email protected]> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Provags-ID: kundenserver.de [email protected] auth:157ed430dbf2887568e54eb61bfb58ed X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Martin, > One obvious solution would be to compile against the MyFaces > flavour of > the JSF API. That, of course, would require that the > appropriate MyFaces > jar(s) be made [email protected]. what is todo for this? how can we put our jar(s) to ibiblio ? Matthias
From [email protected] Thu Feb 02 16:55:53 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 63632 invoked from network); 2 Feb 2006 16:55:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 2 Feb 2006 16:55:53 -0000 Received: (qmail 37234 invoked by uid 500); 2 Feb 2006 16:55:52 -0000 Delivered-To: [email protected] Received: (qmail 37176 invoked by uid 500); 2 Feb 2006 16:55:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <java-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 37165 invoked by uid 99); 2 Feb 2006 16:55:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2006 08:55:52 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 02 Feb 2006 08:55:51 -0800 Received: (qmail 63333 invoked by uid 65534); 2 Feb 2006 16:55:31 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r374436 - /lucene/java/trunk/src/java/org/apache/lucene/search/FieldSortedHitQueue.java Date: Thu, 02 Feb 2006 16:55:30 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: yonik Date: Thu Feb 2 08:55:26 2006 New Revision: 374436 URL: http://svn.apache.org/viewcvs?rev=374436&view=rev Log: make FIeldSortedHitQueue public: LUCENE-432 Modified: lucene/java/trunk/src/java/org/apache/lucene/search/FieldSortedHitQueue.java Modified: lucene/java/trunk/src/java/org/apache/lucene/search/FieldSortedHitQueue.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/src/java/org/apache/lucene/search/FieldSortedHitQueue.java?rev=374436&r1=374435&r2=374436&view=diff ============================================================================== --- lucene/java/trunk/src/java/org/apache/lucene/search/FieldSortedHitQueue.java (original) +++ lucene/java/trunk/src/java/org/apache/lucene/search/FieldSortedHitQueue.java Thu Feb 2 08:55:26 2006 @@ -38,7 +38,7 @@ * @see Searcher#search(Query,Filter,int,Sort) * @see FieldCache */ -class FieldSortedHitQueue +public class FieldSortedHitQueue extends PriorityQueue { /** @@ -48,7 +48,7 @@ * @param size The number of hits to retain. Must be greater than zero. * @throws IOException */ - FieldSortedHitQueue (IndexReader reader, SortField[] fields, int size) + public FieldSortedHitQueue (IndexReader reader, SortField[] fields, int size) throws IOException { final int n = fields.length; comparators = new ScoreDocComparator[n]; From [email protected] Sun Feb 05 18:17:27 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7307 invoked from network); 5 Feb 2006 18:17:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 5 Feb 2006 18:17:27 -0000 Received: (qmail 54462 invoked by uid 500); 5 Feb 2006 18:17:26 -0000 Delivered-To: [email protected] Received: (qmail 54446 invoked by uid 500); 5 Feb 2006 18:17:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <java-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 54435 invoked by uid 99); 5 Feb 2006 18:17:25 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Feb 2006 10:17:25 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 05 Feb 2006 10:17:25 -0800 Received: (qmail 7254 invoked by uid 65534); 5 Feb 2006 18:17:04 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r375070 - in /lucene/java/trunk/src: java/org/apache/lucene/document/DateTools.java test/org/apache/lucene/document/TestDateTools.java Date: Sun, 05 Feb 2006 18:17:04 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: dnaber Date: Sun Feb 5 10:17:02 2006 New Revision: 375070 URL: http://svn.apache.org/viewcvs?rev=375070&view=rev Log: DateTools needs to use UTC for correct collation (LUCENE-491), patch by John Haxby Modified: lucene/java/trunk/src/java/org/apache/lucene/document/DateTools.java lucene/java/trunk/src/test/org/apache/lucene/document/TestDateTools.java Modified: lucene/java/trunk/src/java/org/apache/lucene/document/DateTools.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/src/java/org/apache/lucene/document/DateTools.java?rev=375070&r1=375069&r2=375070&view=diff ============================================================================== --- lucene/java/trunk/src/java/org/apache/lucene/document/DateTools.java (original) +++ lucene/java/trunk/src/java/org/apache/lucene/document/DateTools.java Sun Feb 5 10:17:02 2006 @@ -20,6 +20,7 @@ import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; +import java.util.TimeZone; /** * Provides support for converting dates to strings and vice-versa. @@ -36,6 +37,8 @@ * is set to <code>Resolution.DAY</code> or lower. */ public class DateTools { + + private final static TimeZone GMT = TimeZone.getTimeZone("GMT"); private DateTools() {} @@ -46,7 +49,7 @@ * @param resolution the desired resolution, see * {@link #round(Date, DateTools.Resolution)} * @return a string in format <code>yyyyMMddHHmmssSSS</code> or shorter, - * depeding on <code>resolution</code> + * depeding on <code>resolution</code>; using UTC as timezone */ public static String dateToString(Date date, Resolution resolution) { return timeToString(date.getTime(), resolution); @@ -59,10 +62,10 @@ * @param resolution the desired resolution, see * {@link #round(long, DateTools.Resolution)} * @return a string in format <code>yyyyMMddHHmmssSSS</code> or shorter, - * depeding on <code>resolution</code> + * depeding on <code>resolution</code>; using UTC as timezone */ public static String timeToString(long time, Resolution resolution) { - Calendar cal = Calendar.getInstance(); + Calendar cal = Calendar.getInstance(GMT); //protected in JDK's prior to 1.4 //cal.setTimeInMillis(round(time, resolution)); @@ -70,6 +73,7 @@ cal.setTime(new Date(round(time, resolution))); SimpleDateFormat sdf = new SimpleDateFormat(); + sdf.setTimeZone(GMT); String pattern = null; if (resolution == Resolution.YEAR) { pattern = "yyyy"; @@ -135,6 +139,7 @@ else throw new ParseException("Input is not valid date string: " + dateString, 0); SimpleDateFormat sdf = new SimpleDateFormat(pattern); + sdf.setTimeZone(GMT); Date date = sdf.parse(dateString); return date; } @@ -163,7 +168,7 @@ * set to 0 or 1, expressed as milliseconds since January 1, 1970, 00:00:00 GMT */ public static long round(long time, Resolution resolution) { - Calendar cal = Calendar.getInstance(); + Calendar cal = Calendar.getInstance(GMT); // protected in JDK's prior to 1.4 //cal.setTimeInMillis(time); Modified: lucene/java/trunk/src/test/org/apache/lucene/document/TestDateTools.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/src/test/org/apache/lucene/document/TestDateTools.java?rev=375070&r1=375069&r2=375070&view=diff ============================================================================== --- lucene/java/trunk/src/test/org/apache/lucene/document/TestDateTools.java (original) +++ lucene/java/trunk/src/test/org/apache/lucene/document/TestDateTools.java Sun Feb 5 10:17:02 2006 @@ -4,6 +4,7 @@ import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; +import java.util.TimeZone; import junit.framework.TestCase; @@ -58,6 +59,7 @@ cal.set(1970, 0, 1, // year=1970, month=january, day=1 0, 0, 0); // hour, minute, second cal.set(Calendar.MILLISECOND, 0); + cal.setTimeZone(TimeZone.getTimeZone("GMT")); assertEquals(cal.getTime().getTime(), time); cal.set(1980, 1, 2, // year=1980, month=february, day=2 11, 5, 0); // hour, minute, second @@ -68,6 +70,7 @@ public void testDateAndTimetoString() throws ParseException { Calendar cal = Calendar.getInstance(); + cal.setTimeZone(TimeZone.getTimeZone("GMT")); cal.set(2004, 1, 3, // year=2004, month=february(!), day=3 22, 8, 56); // hour, minute, second cal.set(Calendar.MILLISECOND, 333); @@ -131,6 +134,7 @@ public void testRound() { Calendar cal = Calendar.getInstance(); + cal.setTimeZone(TimeZone.getTimeZone("GMT")); cal.set(2004, 1, 3, // year=2004, month=february(!), day=3 22, 8, 56); // hour, minute, second cal.set(Calendar.MILLISECOND, 333); @@ -168,7 +172,23 @@ private String isoFormat(Date date) { SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss:SSS"); + sdf.setTimeZone(TimeZone.getTimeZone("GMT")); return sdf.format(date); + } + + public void testDateToolsUTC() throws Exception { + // Sun, 30 Oct 2005 00:00:00 +0000 -- the last second of 2005's DST in Europe/London + long time = 1130630400; + try { + TimeZone.setDefault(TimeZone.getTimeZone(/* "GMT" */ "Europe/London")); + String d1 = DateTools.dateToString(new Date(time*1000), DateTools.Resolution.MINUTE); + String d2 = DateTools.dateToString(new Date((time+3600)*1000), DateTools.Resolution.MINUTE); + assertFalse("different times", d1.equals(d2)); + assertEquals("midnight", DateTools.stringToTime(d1), time*1000); + assertEquals("later", DateTools.stringToTime(d2), (time+3600)*1000); + } finally { + TimeZone.setDefault(null); + } } } From [email protected] Mon Feb 06 18:57:28 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53792 invoked from network); 6 Feb 2006 18:57:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 6 Feb 2006 18:57:28 -0000 Received: (qmail 36285 invoked by uid 500); 6 Feb 2006 18:57:26 -0000 Delivered-To: [email protected] Received: (qmail 36210 invoked by uid 500); 6 Feb 2006 18:57:26 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <java-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 36182 invoked by uid 99); 6 Feb 2006 18:57:26 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Feb 2006 10:57:26 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 06 Feb 2006 10:57:25 -0800 Received: (qmail 53644 invoked by uid 65534); 6 Feb 2006 18:57:04 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r375332 - /lucene/java/nightly/nightly.properties Date: Mon, 06 Feb 2006 18:57:03 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.6 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Mon Feb 6 10:57:01 2006 New Revision: 375332 URL: http://svn.apache.org/viewcvs?rev=375332&view=rev Log: Updated email paramters. Modified: lucene/java/nightly/nightly.properties Modified: lucene/java/nightly/nightly.properties URL: http://svn.apache.org/viewcvs/lucene/java/nightly/nightly.properties?rev=375332&r1=375331&r2=375332&view=diff ============================================================================== --- lucene/java/nightly/nightly.properties (original) +++ lucene/java/nightly/nightly.properties Mon Feb 6 10:57:01 2006 @@ -1,4 +1,4 @@ -MailLogger.mailhost = mail.apache.org +MailLogger.mailhost = localhost MailLogger.from = [email protected] MailLogger.failure.to = [email protected] MailLogger.failure.subject = Lucene nightly build failure From [email protected] Thu Feb 09 19:17:40 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28562 invoked from network); 9 Feb 2006 19:17:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 9 Feb 2006 19:17:40 -0000 Received: (qmail 13283 invoked by uid 500); 9 Feb 2006 19:17:39 -0000 Delivered-To: [email protected] Received: (qmail 13269 invoked by uid 500); 9 Feb 2006 19:17:39 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <java-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 13253 invoked by uid 99); 9 Feb 2006 19:17:38 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Feb 2006 11:17:38 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 09 Feb 2006 11:17:38 -0800 Received: (qmail 28488 invoked by uid 65534); 9 Feb 2006 19:17:17 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r376393 - /lucene/java/trunk/contrib/miscellaneous/src/java/org/apache/lucene/misc/HighFreqTerms.java Date: Thu, 09 Feb 2006 19:17:17 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.6 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: otis Date: Thu Feb 9 11:17:14 2006 New Revision: 376393 URL: http://svn.apache.org/viewcvs?rev=376393&view=rev Log: - Limit to an optional field; reindented (die tabs, die), ASF License 2.0 Modified: lucene/java/trunk/contrib/miscellaneous/src/java/org/apache/lucene/misc/HighFreqTerms.java Modified: lucene/java/trunk/contrib/miscellaneous/src/java/org/apache/lucene/misc/HighFreqTerms.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/miscellaneous/src/java/org/apache/lucene/misc/HighFreqTerms.java?rev=376393&r1=376392&r2=376393&view=diff ============================================================================== --- lucene/java/trunk/contrib/miscellaneous/src/java/org/apache/lucene/misc/HighFreqTerms.java (original) +++ lucene/java/trunk/contrib/miscellaneous/src/java/org/apache/lucene/misc/HighFreqTerms.java Thu Feb 9 11:17:14 2006 @@ -1,58 +1,20 @@ package org.apache.lucene.misc; -/* ==================================================================== - * The Apache Software License, Version 1.1 - * - * Copyright (c) 2001,2004 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 Lucene" must not be used to endorse or promote products - * derived from this software without prior written permission. For - * written permission, please contact [email protected]. - * - * 5. Products derived from this software may not be called "Apache", - * "Apache Lucene", 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/>. - */ +/** + * Copyright 2004 The Apache Software Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import org.apache.lucene.index.IndexReader; import org.apache.lucene.index.Term; @@ -66,58 +28,69 @@ * @version $Id$ */ public class HighFreqTerms { - - // The top numTerms will be displayed - public static final int numTerms = 100; - - public static void main(String[] args) throws Exception { - IndexReader reader = null; - if (args.length == 1) { - reader = IndexReader.open(args[0]); - } else { - usage(); - System.exit(1); - } - - TermInfoQueue tiq = new TermInfoQueue(numTerms); - TermEnum terms = reader.terms(); - - while (terms.next()) { - tiq.insert(new TermInfo(terms.term(), terms.docFreq())); - } - - while (tiq.size() != 0) { - TermInfo termInfo = (TermInfo) tiq.pop(); - System.out.println(termInfo.term + " " + termInfo.docFreq); - } - - reader.close(); - } - - private static void usage() { - System.out.println( - "\n\n" - + "java org.apache.lucene.misc.HighFreqTerms <index dir>\n\n"); - } + + // The top numTerms will be displayed + public static final int numTerms = 100; + + public static void main(String[] args) throws Exception { + IndexReader reader = null; + String field = null; + if (args.length == 1) { + reader = IndexReader.open(args[0]); + } else if (args.length == 2) { + reader = IndexReader.open(args[0]); + field = args[1]; + } else { + usage(); + System.exit(1); + } + + TermInfoQueue tiq = new TermInfoQueue(numTerms); + TermEnum terms = reader.terms(); + + if (field != null) { + while (terms.next()) { + if (terms.term().field().equals(field)) { + tiq.insert(new TermInfo(terms.term(), terms.docFreq())); + } + } + } + else { + while (terms.next()) { + tiq.insert(new TermInfo(terms.term(), terms.docFreq())); + } + } + while (tiq.size() != 0) { + TermInfo termInfo = (TermInfo) tiq.pop(); + System.out.println(termInfo.term + " " + termInfo.docFreq); + } + + reader.close(); + } + + private static void usage() { + System.out.println( + "\n\n" + + "java org.apache.lucene.misc.HighFreqTerms <index dir> [field]\n\n"); + } } final class TermInfo { - TermInfo(Term t, int df) { - term = t; - docFreq = df; - } - int docFreq; - Term term; + TermInfo(Term t, int df) { + term = t; + docFreq = df; + } + int docFreq; + Term term; } final class TermInfoQueue extends PriorityQueue { - TermInfoQueue(int size) { - initialize(size); - } - - protected final boolean lessThan(Object a, Object b) { - TermInfo termInfoA = (TermInfo) a; - TermInfo termInfoB = (TermInfo) b; - return termInfoA.docFreq < termInfoB.docFreq; - } + TermInfoQueue(int size) { + initialize(size); + } + protected final boolean lessThan(Object a, Object b) { + TermInfo termInfoA = (TermInfo) a; + TermInfo termInfoB = (TermInfo) b; + return termInfoA.docFreq < termInfoB.docFreq; + } } From [email protected] Mon Feb 13 21:46:40 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 53948 invoked from network); 13 Feb 2006 21:46:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 13 Feb 2006 21:46:39 -0000 Received: (qmail 86478 invoked by uid 500); 13 Feb 2006 21:46:38 -0000 Delivered-To: [email protected] Received: (qmail 86400 invoked by uid 500); 13 Feb 2006 21:46:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <java-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 86327 invoked by uid 99); 13 Feb 2006 21:46:37 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Feb 2006 13:46:37 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 13 Feb 2006 13:46:35 -0800 Received: (qmail 53761 invoked by uid 65534); 13 Feb 2006 21:46:15 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r377502 - in /lucene/java/trunk: CHANGES.txt src/java/org/apache/lucene/search/FieldCacheImpl.java Date: Mon, 13 Feb 2006 21:46:14 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.6 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: yonik Date: Mon Feb 13 13:46:13 2006 New Revision: 377502 URL: http://svn.apache.org/viewcvs?rev=377502&view=rev Log: Removed constrait that a sort field must have some terms indexed: LUCENE-374 Modified: lucene/java/trunk/CHANGES.txt lucene/java/trunk/src/java/org/apache/lucene/search/FieldCacheImpl.java Modified: lucene/java/trunk/CHANGES.txt URL: http://svn.apache.org/viewcvs/lucene/java/trunk/CHANGES.txt?rev=377502&r1=377501&r2=377502&view=diff ============================================================================== --- lucene/java/trunk/CHANGES.txt (original) +++ lucene/java/trunk/CHANGES.txt Mon Feb 13 13:46:13 2006 @@ -337,6 +337,9 @@ "[1/16/2000 TO 1/18/2000]". This query did not include the documents of 1/18/2000, i.e. the last day was not included. (Daniel Naber) +24. Removed sorting constraint that threw an exception if there were + not yet any values for the sort field (Yonik Seeley, LUCENE-374) + Optimizations 1. Disk usage (peak requirements during indexing and optimization) Modified: lucene/java/trunk/src/java/org/apache/lucene/search/FieldCacheImpl.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/src/java/org/apache/lucene/search/FieldCacheImpl.java?rev=377502&r1=377501&r2=377502&view=diff ============================================================================== --- lucene/java/trunk/src/java/org/apache/lucene/search/FieldCacheImpl.java (original) +++ lucene/java/trunk/src/java/org/apache/lucene/search/FieldCacheImpl.java Mon Feb 13 13:46:13 2006 @@ -154,26 +154,21 @@ Object ret = lookup (reader, field, parser); if (ret == null) { final int[] retArray = new int[reader.maxDoc()]; - if (retArray.length > 0) { - TermDocs termDocs = reader.termDocs(); - TermEnum termEnum = reader.terms (new Term (field, "")); - try { - if (termEnum.term() == null) { - throw new RuntimeException ("no terms in field " + field); - } - do { - Term term = termEnum.term(); - if (term.field() != field) break; - int termval = parser.parseInt(term.text()); - termDocs.seek (termEnum); - while (termDocs.next()) { - retArray[termDocs.doc()] = termval; - } - } while (termEnum.next()); - } finally { - termDocs.close(); - termEnum.close(); - } + TermDocs termDocs = reader.termDocs(); + TermEnum termEnum = reader.terms (new Term (field, "")); + try { + do { + Term term = termEnum.term(); + if (term==null || term.field() != field) break; + int termval = parser.parseInt(term.text()); + termDocs.seek (termEnum); + while (termDocs.next()) { + retArray[termDocs.doc()] = termval; + } + } while (termEnum.next()); + } finally { + termDocs.close(); + termEnum.close(); } store (reader, field, parser, retArray); return retArray; @@ -194,26 +189,21 @@ Object ret = lookup (reader, field, parser); if (ret == null) { final float[] retArray = new float[reader.maxDoc()]; - if (retArray.length > 0) { - TermDocs termDocs = reader.termDocs(); - TermEnum termEnum = reader.terms (new Term (field, "")); - try { - if (termEnum.term() == null) { - throw new RuntimeException ("no terms in field " + field); - } - do { - Term term = termEnum.term(); - if (term.field() != field) break; - float termval = parser.parseFloat(term.text()); - termDocs.seek (termEnum); - while (termDocs.next()) { - retArray[termDocs.doc()] = termval; - } - } while (termEnum.next()); - } finally { - termDocs.close(); - termEnum.close(); - } + TermDocs termDocs = reader.termDocs(); + TermEnum termEnum = reader.terms (new Term (field, "")); + try { + do { + Term term = termEnum.term(); + if (term==null || term.field() != field) break; + float termval = parser.parseFloat(term.text()); + termDocs.seek (termEnum); + while (termDocs.next()) { + retArray[termDocs.doc()] = termval; + } + } while (termEnum.next()); + } finally { + termDocs.close(); + termEnum.close(); } store (reader, field, parser, retArray); return retArray; @@ -228,26 +218,21 @@ Object ret = lookup (reader, field, SortField.STRING); if (ret == null) { final String[] retArray = new String[reader.maxDoc()]; - if (retArray.length > 0) { - TermDocs termDocs = reader.termDocs(); - TermEnum termEnum = reader.terms (new Term (field, "")); - try { - if (termEnum.term() == null) { - throw new RuntimeException ("no terms in field " + field); - } - do { - Term term = termEnum.term(); - if (term.field() != field) break; - String termval = term.text(); - termDocs.seek (termEnum); - while (termDocs.next()) { - retArray[termDocs.doc()] = termval; - } - } while (termEnum.next()); - } finally { - termDocs.close(); - termEnum.close(); - } + TermDocs termDocs = reader.termDocs(); + TermEnum termEnum = reader.terms (new Term (field, "")); + try { + do { + Term term = termEnum.term(); + if (term==null || term.field() != field) break; + String termval = term.text(); + termDocs.seek (termEnum); + while (termDocs.next()) { + retArray[termDocs.doc()] = termval; + } + } while (termEnum.next()); + } finally { + termDocs.close(); + termEnum.close(); } store (reader, field, SortField.STRING, retArray); return retArray; @@ -263,56 +248,52 @@ if (ret == null) { final int[] retArray = new int[reader.maxDoc()]; String[] mterms = new String[reader.maxDoc()+1]; - if (retArray.length > 0) { - TermDocs termDocs = reader.termDocs(); - TermEnum termEnum = reader.terms (new Term (field, "")); - int t = 0; // current term number - - // an entry for documents that have no terms in this field - // should a document with no terms be at top or bottom? - // this puts them at the top - if it is changed, FieldDocSortedHitQueue - // needs to change as well. - mterms[t++] = null; - - try { - if (termEnum.term() == null) { - throw new RuntimeException ("no terms in field " + field); - } - do { - Term term = termEnum.term(); - if (term.field() != field) break; - - // store term text - // we expect that there is at most one term per document - if (t >= mterms.length) throw new RuntimeException ("there are more terms than " + - "documents in field \"" + field + "\", but it's impossible to sort on " + - "tokenized fields"); - mterms[t] = term.text(); - - termDocs.seek (termEnum); - while (termDocs.next()) { - retArray[termDocs.doc()] = t; - } + TermDocs termDocs = reader.termDocs(); + TermEnum termEnum = reader.terms (new Term (field, "")); + int t = 0; // current term number + + // an entry for documents that have no terms in this field + // should a document with no terms be at top or bottom? + // this puts them at the top - if it is changed, FieldDocSortedHitQueue + // needs to change as well. + mterms[t++] = null; - t++; - } while (termEnum.next()); - } finally { - termDocs.close(); - termEnum.close(); - } + try { + do { + Term term = termEnum.term(); + if (term==null || term.field() != field) break; + + // store term text + // we expect that there is at most one term per document + if (t >= mterms.length) throw new RuntimeException ("there are more terms than " + + "documents in field \"" + field + "\", but it's impossible to sort on " + + "tokenized fields"); + mterms[t] = term.text(); + + termDocs.seek (termEnum); + while (termDocs.next()) { + retArray[termDocs.doc()] = t; + } - if (t == 0) { - // if there are no terms, make the term array - // have a single null entry - mterms = new String[1]; - } else if (t < mterms.length) { - // if there are less terms than documents, - // trim off the dead array space - String[] terms = new String[t]; - System.arraycopy (mterms, 0, terms, 0, t); - mterms = terms; - } + t++; + } while (termEnum.next()); + } finally { + termDocs.close(); + termEnum.close(); + } + + if (t == 0) { + // if there are no terms, make the term array + // have a single null entry + mterms = new String[1]; + } else if (t < mterms.length) { + // if there are less terms than documents, + // trim off the dead array space + String[] terms = new String[t]; + System.arraycopy (mterms, 0, terms, 0, t); + mterms = terms; } + StringIndex value = new StringIndex (retArray, mterms); store (reader, field, STRING_INDEX, value); return value; @@ -389,26 +370,21 @@ Object ret = lookup (reader, field, comparator); if (ret == null) { final Comparable[] retArray = new Comparable[reader.maxDoc()]; - if (retArray.length > 0) { - TermDocs termDocs = reader.termDocs(); - TermEnum termEnum = reader.terms (new Term (field, "")); - try { - if (termEnum.term() == null) { - throw new RuntimeException ("no terms in field " + field); - } - do { - Term term = termEnum.term(); - if (term.field() != field) break; - Comparable termval = comparator.getComparable (term.text()); - termDocs.seek (termEnum); - while (termDocs.next()) { - retArray[termDocs.doc()] = termval; - } - } while (termEnum.next()); - } finally { - termDocs.close(); - termEnum.close(); - } + TermDocs termDocs = reader.termDocs(); + TermEnum termEnum = reader.terms (new Term (field, "")); + try { + do { + Term term = termEnum.term(); + if (term==null || term.field() != field) break; + Comparable termval = comparator.getComparable (term.text()); + termDocs.seek (termEnum); + while (termDocs.next()) { + retArray[termDocs.doc()] = termval; + } + } while (termEnum.next()); + } finally { + termDocs.close(); + termEnum.close(); } store (reader, field, comparator, retArray); return retArray; From [email protected] Wed Feb 15 18:36:24 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25049 invoked from network); 15 Feb 2006 18:36:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 15 Feb 2006 18:36:24 -0000 Received: (qmail 99830 invoked by uid 500); 15 Feb 2006 18:36:24 -0000 Delivered-To: [email protected] Received: (qmail 99801 invoked by uid 500); 15 Feb 2006 18:36:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <java-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 99790 invoked by uid 99); 15 Feb 2006 18:36:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Feb 2006 10:36:23 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 15 Feb 2006 10:36:22 -0800 Received: (qmail 24859 invoked by uid 65534); 15 Feb 2006 18:36:02 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r378052 - /lucene/java/trunk/src/test/org/apache/lucene/queryParser/TestMultiAnalyzer.java Date: Wed, 15 Feb 2006 18:36:01 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.6 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: yonik Date: Wed Feb 15 10:36:00 2006 New Revision: 378052 URL: http://svn.apache.org/viewcvs?rev=378052&view=rev Log: TestMultiAnalyzer - test subclassing and default phrase slop: LUCENE-483 Modified: lucene/java/trunk/src/test/org/apache/lucene/queryParser/TestMultiAnalyzer.java Modified: lucene/java/trunk/src/test/org/apache/lucene/queryParser/TestMultiAnalyzer.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/src/test/org/apache/lucene/queryParser/TestMultiAnalyzer.java?rev=378052&r1=378051&r2=378052&view=diff ============================================================================== --- lucene/java/trunk/src/test/org/apache/lucene/queryParser/TestMultiAnalyzer.java (original) +++ lucene/java/trunk/src/test/org/apache/lucene/queryParser/TestMultiAnalyzer.java Wed Feb 15 10:36:00 2006 @@ -20,6 +20,7 @@ import junit.framework.TestCase; +import org.apache.lucene.search.Query; import org.apache.lucene.analysis.Analyzer; import org.apache.lucene.analysis.LowerCaseFilter; import org.apache.lucene.analysis.Token; @@ -79,12 +80,39 @@ // phrase with non-default boost: assertEquals("\"(multi multi2) foo\"^2.0", qp.parse("\"multi foo\"^2").toString()); + // phrase after changing default slop + qp.setPhraseSlop(99); + assertEquals("\"(multi multi2) foo\"~99 bar", + qp.parse("\"multi foo\" bar").toString()); + assertEquals("\"(multi multi2) foo\"~99 \"foo bar\"~2", + qp.parse("\"multi foo\" \"foo bar\"~2").toString()); + qp.setPhraseSlop(0); + // non-default operator: qp.setDefaultOperator(QueryParser.AND_OPERATOR); assertEquals("+(multi multi2) +foo", qp.parse("multi foo").toString()); } + + public void testMultiAnalyzerWithSubclassOfQueryParser() throws ParseException { + + DumbQueryParser qp = new DumbQueryParser("", new MultiAnalyzer()); + qp.setPhraseSlop(99); // modified default slop + // direct call to (super's) getFieldQuery to demonstrate differnce + // between phrase and multiphrase with modified default slop + assertEquals("\"foo bar\"~99", + qp.getSuperFieldQuery("","foo bar").toString()); + assertEquals("\"(multi multi2) bar\"~99", + qp.getSuperFieldQuery("","multi bar").toString()); + + + // ask sublcass to parse phrase with modified default slop + assertEquals("\"(multi multi2) foo\"~99 bar", + qp.parse("\"multi foo\" bar").toString()); + + } + public void testPosIncrementAnalyzer() throws ParseException { QueryParser qp = new QueryParser("", new PosIncrementAnalyzer()); assertEquals("quick brown", qp.parse("the quick brown").toString()); @@ -190,4 +218,39 @@ } } + /** a very simple subclass of QueryParser */ + private final static class DumbQueryParser extends QueryParser { + + public DumbQueryParser(String f, Analyzer a) { + super(f, a); + } + + /** expose super's version */ + public Query getSuperFieldQuery(String f, String t) + throws ParseException { + return super.getFieldQuery(f,t); + } + /** wrap super's version */ + protected Query getFieldQuery(String f, String t) + throws ParseException { + return new DumbQueryWrapper(getSuperFieldQuery(f,t)); + } + } + + /** + * A very simple wrapper to prevent instanceof checks but uses + * the toString of the query it wraps. + */ + private final static class DumbQueryWrapper extends Query { + + private Query q; + public DumbQueryWrapper(Query q) { + super(); + this.q = q; + } + public String toString(String f) { + return q.toString(f); + } + } + } From [email protected] Mon Feb 20 18:11:35 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 55821 invoked from network); 20 Feb 2006 18:11:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Feb 2006 18:11:34 -0000 Received: (qmail 42765 invoked by uid 500); 20 Feb 2006 18:11:30 -0000 Delivered-To: [email protected] Received: (qmail 42657 invoked by uid 500); 20 Feb 2006 18:11:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <java-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 42612 invoked by uid 99); 20 Feb 2006 18:11:29 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Feb 2006 10:11:29 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 20 Feb 2006 10:11:28 -0800 Received: (qmail 55673 invoked by uid 65534); 20 Feb 2006 18:11:07 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r379189 - in /lucene/java/trunk: ./ contrib/analyzers/src/java/org/apache/lucene/analysis/br/ contrib/analyzers/src/java/org/apache/lucene/analysis/cjk/ contrib/analyzers/src/java/org/apache/lucene/analysis/cn/ contrib/analyzers/src/java/or... Date: Mon, 20 Feb 2006 18:11:05 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.6 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Mon Feb 20 10:11:02 2006 New Revision: 379189 URL: http://svn.apache.org/viewcvs?rev=379189&view=rev Log: Minor javadoc improvements. Added: lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/br/package.html lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/cjk/package.html lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/package.html lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/cz/package.html lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/el/package.html lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/fr/package.html lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/nl/package.html lucene/java/trunk/contrib/spellchecker/src/java/org/apache/lucene/search/spell/package.html Modified: lucene/java/trunk/build.xml lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/de/package.html lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/ru/package.html lucene/java/trunk/contrib/snowball/src/java/org/apache/lucene/analysis/snowball/package.html lucene/java/trunk/src/java/org/apache/lucene/document/DateTools.java lucene/java/trunk/src/java/org/apache/lucene/document/Field.java lucene/java/trunk/src/java/org/apache/lucene/search/BooleanClause.java Modified: lucene/java/trunk/build.xml URL: http://svn.apache.org/viewcvs/lucene/java/trunk/build.xml?rev=379189&r1=379188&r2=379189&view=diff ============================================================================== --- lucene/java/trunk/build.xml (original) +++ lucene/java/trunk/build.xml Mon Feb 20 10:11:02 2006 @@ -370,13 +370,13 @@ <packageset dir="contrib/highlighter/src/java"/> <packageset dir="contrib/similarity/src/java"/> <packageset dir="contrib/spellchecker/src/java"/> - <packageset dir="contrib/snowball/src/java" excludes="net/"/> + <packageset dir="contrib/snowball/src/java"/> <packageset dir="contrib/swing/src/java"/> <packageset dir="contrib/memory/src/java"/> <group title="Core" packages="org.apache.*:org.apache.lucene.analysis:org.apache.lucene.analysis.standard*"/> <group title="Analysis" packages="org.apache.lucene.analysis.*"/> - <group title="Snowball" packages="org.apache.lucene.analysis.snowball*"/> + <group title="Snowball Stemmers" packages="org.apache.lucene.analysis.snowball*:net.sf.snowball*"/> <group title="Highlighter" packages="org.apache.lucene.search.highlight*"/> <group title="MoreLikeThis" packages="org.apache.lucene.search.similar*"/> <group title="SpellChecker" packages="org.apache.lucene.search.spell*"/> Added: lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/br/package.html URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/br/package.html?rev=379189&view=auto ============================================================================== --- lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/br/package.html (added) +++ lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/br/package.html Mon Feb 20 10:11:02 2006 @@ -0,0 +1,5 @@ +<html><head></head> +<body> +Analyzer for Brazilian. +</body> +</html> Added: lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/cjk/package.html URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/cjk/package.html?rev=379189&view=auto ============================================================================== --- lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/cjk/package.html (added) +++ lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/cjk/package.html Mon Feb 20 10:11:02 2006 @@ -0,0 +1,5 @@ +<html><head></head> +<body> +Analyzer for Chinese, Japanese and Korean. +</body> +</html> Added: lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/package.html URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/package.html?rev=379189&view=auto ============================================================================== --- lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/package.html (added) +++ lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/cn/package.html Mon Feb 20 10:11:02 2006 @@ -0,0 +1,5 @@ +<html><head></head> +<body> +Analyzer for Chinese. +</body> +</html> Added: lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/cz/package.html URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/cz/package.html?rev=379189&view=auto ============================================================================== --- lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/cz/package.html (added) +++ lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/cz/package.html Mon Feb 20 10:11:02 2006 @@ -0,0 +1,5 @@ +<html><head></head> +<body> +Analyzer for Czech. +</body> +</html> Modified: lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/de/package.html URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/de/package.html?rev=379189&r1=379188&r2=379189&view=diff ============================================================================== --- lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/de/package.html (original) +++ lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/de/package.html Mon Feb 20 10:11:02 2006 @@ -1,5 +1,5 @@ -<html> +<html><head></head> <body> -Support for indexing and searching of German text. The source files are encoded in UTF-8. +Analyzer for German. </body> </html> Added: lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/el/package.html URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/el/package.html?rev=379189&view=auto ============================================================================== --- lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/el/package.html (added) +++ lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/el/package.html Mon Feb 20 10:11:02 2006 @@ -0,0 +1,5 @@ +<html><head></head> +<body> +Analyzer for Greek. +</body> +</html> Added: lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/fr/package.html URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/fr/package.html?rev=379189&view=auto ============================================================================== --- lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/fr/package.html (added) +++ lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/fr/package.html Mon Feb 20 10:11:02 2006 @@ -0,0 +1,5 @@ +<html><head></head> +<body> +Analyzer for French. +</body> +</html> Added: lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/nl/package.html URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/nl/package.html?rev=379189&view=auto ============================================================================== --- lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/nl/package.html (added) +++ lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/nl/package.html Mon Feb 20 10:11:02 2006 @@ -0,0 +1,5 @@ +<html><head></head> +<body> +Analyzer for Dutch. +</body> +</html> Modified: lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/ru/package.html URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/ru/package.html?rev=379189&r1=379188&r2=379189&view=diff ============================================================================== --- lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/ru/package.html (original) +++ lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/ru/package.html Mon Feb 20 10:11:02 2006 @@ -1,5 +1,5 @@ -<html> +<html><head></head> <body> -Support for indexing and searching Russian text. +Analyzer for Russian. </body> </html> Modified: lucene/java/trunk/contrib/snowball/src/java/org/apache/lucene/analysis/snowball/package.html URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/snowball/src/java/org/apache/lucene/analysis/snowball/package.html?rev=379189&r1=379188&r2=379189&view=diff ============================================================================== --- lucene/java/trunk/contrib/snowball/src/java/org/apache/lucene/analysis/snowball/package.html (original) +++ lucene/java/trunk/contrib/snowball/src/java/org/apache/lucene/analysis/snowball/package.html Mon Feb 20 10:11:02 2006 @@ -1,5 +1,7 @@ <html> <body> -Lucene analyzer that uses Snowball stemmers. +{@link org.apache.lucene.analysis.TokenFilter} and {@link +org.apache.lucene.analysis.Analyzer} implementations that use Snowball +stemmers. </body> </html> Added: lucene/java/trunk/contrib/spellchecker/src/java/org/apache/lucene/search/spell/package.html URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/spellchecker/src/java/org/apache/lucene/search/spell/package.html?rev=379189&view=auto ============================================================================== --- lucene/java/trunk/contrib/spellchecker/src/java/org/apache/lucene/search/spell/package.html (added) +++ lucene/java/trunk/contrib/spellchecker/src/java/org/apache/lucene/search/spell/package.html Mon Feb 20 10:11:02 2006 @@ -0,0 +1,5 @@ +<html><head></head> +<body> +Suggest alternate spellings for words. +</body> +</html> Modified: lucene/java/trunk/src/java/org/apache/lucene/document/DateTools.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/src/java/org/apache/lucene/document/DateTools.java?rev=379189&r1=379188&r2=379189&view=diff ============================================================================== --- lucene/java/trunk/src/java/org/apache/lucene/document/DateTools.java (original) +++ lucene/java/trunk/src/java/org/apache/lucene/document/DateTools.java Mon Feb 20 10:11:02 2006 @@ -210,6 +210,7 @@ return cal.getTime().getTime(); } + /** Specifies the time granularity. */ public static class Resolution { public static final Resolution YEAR = new Resolution("year"); Modified: lucene/java/trunk/src/java/org/apache/lucene/document/Field.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/src/java/org/apache/lucene/document/Field.java?rev=379189&r1=379188&r2=379189&view=diff ============================================================================== --- lucene/java/trunk/src/java/org/apache/lucene/document/Field.java (original) +++ lucene/java/trunk/src/java/org/apache/lucene/document/Field.java Mon Feb 20 10:11:02 2006 @@ -51,6 +51,7 @@ private float boost = 1.0f; + /** Specifies whether and how a field should be stored. */ public static final class Store extends Parameter implements Serializable { private Store(String name) { @@ -73,6 +74,7 @@ public static final Store NO = new Store("NO"); } + /** Specifies whether and how a field should be indexed. */ public static final class Index extends Parameter implements Serializable { private Index(String name) { @@ -106,6 +108,7 @@ } + /** Specifies whether and how a field should have term vectors. */ public static final class TermVector extends Parameter implements Serializable { private TermVector(String name) { Modified: lucene/java/trunk/src/java/org/apache/lucene/search/BooleanClause.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/src/java/org/apache/lucene/search/BooleanClause.java?rev=379189&r1=379188&r2=379189&view=diff ============================================================================== --- lucene/java/trunk/src/java/org/apache/lucene/search/BooleanClause.java (original) +++ lucene/java/trunk/src/java/org/apache/lucene/search/BooleanClause.java Mon Feb 20 10:11:02 2006 @@ -21,6 +21,7 @@ /** A clause in a BooleanQuery. */ public class BooleanClause implements java.io.Serializable { + /** Specifies how terms may occur in matching documents. */ public static final class Occur extends Parameter implements java.io.Serializable { private Occur(String name) { From [email protected] Mon Feb 20 18:17:24 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 58888 invoked from network); 20 Feb 2006 18:17:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Feb 2006 18:17:23 -0000 Received: (qmail 58104 invoked by uid 500); 20 Feb 2006 18:17:19 -0000 Delivered-To: [email protected] Received: (qmail 58085 invoked by uid 500); 20 Feb 2006 18:17:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <java-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 58074 invoked by uid 99); 20 Feb 2006 18:17:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Feb 2006 10:17:19 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 20 Feb 2006 10:17:19 -0800 Received: (qmail 58436 invoked by uid 65534); 20 Feb 2006 18:16:51 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r379190 - /lucene/java/branches/lucene_1_9/ Date: Mon, 20 Feb 2006 18:16:51 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.6 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Mon Feb 20 10:16:47 2006 New Revision: 379190 URL: http://svn.apache.org/viewcvs?rev=379190&view=rev Log: Branching for 1.9 releases. Added: lucene/java/branches/lucene_1_9/ - copied from r379189, lucene/java/trunk/ From [email protected] Mon Feb 20 18:38:33 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 68897 invoked from network); 20 Feb 2006 18:38:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Feb 2006 18:38:33 -0000 Received: (qmail 8675 invoked by uid 500); 20 Feb 2006 18:38:22 -0000 Delivered-To: [email protected] Received: (qmail 8659 invoked by uid 500); 20 Feb 2006 18:38:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <java-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 8648 invoked by uid 99); 20 Feb 2006 18:38:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Feb 2006 10:38:22 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 20 Feb 2006 10:38:21 -0800 Received: (qmail 68590 invoked by uid 65534); 20 Feb 2006 18:37:59 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r379196 - in /lucene/java/branches/lucene_1_9: docs/index.html xdocs/index.xml Date: Mon, 20 Feb 2006 18:37:56 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.6 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Mon Feb 20 10:37:52 2006 New Revision: 379196 URL: http://svn.apache.org/viewcvs?rev=379196&view=rev Log: Adding news item for 1.9 RC1 release. Modified: lucene/java/branches/lucene_1_9/docs/index.html lucene/java/branches/lucene_1_9/xdocs/index.xml Modified: lucene/java/branches/lucene_1_9/docs/index.html URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/docs/index.html?rev=379196&r1=379195&r2=379196&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/docs/index.html (original) +++ lucene/java/branches/lucene_1_9/docs/index.html Mon Feb 20 10:37:52 2006 @@ -144,7 +144,21 @@ </td></tr> <tr><td> <blockquote> - <h3>26 January 2006 - Nightly builds available</h3> + <h3>21 February 2006 - 1.9RC1 available </h3> + <p>This release candidate has many improvements since + release 1.4.3, both new features and performance + improvements. See <a href="http://svn.apache.org/viewcvs.cgi/*checkout*/lucene/java/branches/lucene_1_9/CHANGES.txt?rev=379190">CHANGES.txt</a> + for details.</p> + <p>1.9 will be the last 1.x release. It is both + back-compatible with 1.4.3 and forward-compatible with + the upcoming 2.0 release. Many methods and classes in + 1.4.3 have been deprecated in 1.9 and will be removed + in 2.0. Applications must compile against 1.9 without + deprecation warnings before they are compatible with + 2.0.</p> + <p>Binary and source distributions are + available <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/">here</a>.</p> + <h3>26 January 2006 - Nightly builds available</h3> <p>Nightly builds of the current development version of Lucene, to be released as Lucene 1.9, are now available at <a href="http://cvs.apache.org/dist/lucene/java/nightly/">http://cvs.apache.org/dist/lucene/java/nightly/</a>. </p> Modified: lucene/java/branches/lucene_1_9/xdocs/index.xml URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/xdocs/index.xml?rev=379196&r1=379195&r2=379196&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/xdocs/index.xml (original) +++ lucene/java/branches/lucene_1_9/xdocs/index.xml Mon Feb 20 10:37:52 2006 @@ -23,6 +23,26 @@ <section name="Lucene News"> + <h3>21 February 2006 - 1.9RC1 available </h3> + + <p>This release candidate has many improvements since + release 1.4.3, both new features and performance + improvements. See <a + href="http://svn.apache.org/viewcvs.cgi/*checkout*/lucene/java/branches/lucene_1_9/CHANGES.txt?rev=379190">CHANGES.txt</a> + for details.</p> + + <p>1.9 will be the last 1.x release. It is both + back-compatible with 1.4.3 and forward-compatible with + the upcoming 2.0 release. Many methods and classes in + 1.4.3 have been deprecated in 1.9 and will be removed + in 2.0. Applications must compile against 1.9 without + deprecation warnings before they are compatible with + 2.0.</p> + + <p>Binary and source distributions are + available <a + href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/">here</a>.</p> + <h3>26 January 2006 - Nightly builds available</h3> <p>Nightly builds of the current development version of Lucene, to be released as Lucene 1.9, From [email protected] Mon Feb 20 19:09:46 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 81692 invoked from network); 20 Feb 2006 19:09:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Feb 2006 19:09:45 -0000 Received: (qmail 61219 invoked by uid 500); 20 Feb 2006 19:09:42 -0000 Delivered-To: [email protected] Received: (qmail 61158 invoked by uid 500); 20 Feb 2006 19:09:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <java-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 61004 invoked by uid 99); 20 Feb 2006 19:09:41 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Feb 2006 11:09:41 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 20 Feb 2006 11:09:40 -0800 Received: (qmail 81426 invoked by uid 65534); 20 Feb 2006 19:09:19 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r379202 - in /lucene/java/branches/lucene_1_9: docs/index.html xdocs/index.xml Date: Mon, 20 Feb 2006 19:09:16 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.6 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Mon Feb 20 11:09:14 2006 New Revision: 379202 URL: http://svn.apache.org/viewcvs?rev=379202&view=rev Log: Updated distribution to no longer be in jakarta directory. Modified: lucene/java/branches/lucene_1_9/docs/index.html lucene/java/branches/lucene_1_9/xdocs/index.xml Modified: lucene/java/branches/lucene_1_9/docs/index.html URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/docs/index.html?rev=379202&r1=379201&r2=379202&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/docs/index.html (original) +++ lucene/java/branches/lucene_1_9/docs/index.html Mon Feb 20 11:09:14 2006 @@ -128,7 +128,7 @@ </p> <p> Apache Lucene is an open source project available for - <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/">free download</a> from Apache Jakarta. + <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">free download</a> from Apache Jakarta. Please use the links on the left to access Lucene. </p> </blockquote> @@ -144,10 +144,10 @@ </td></tr> <tr><td> <blockquote> - <h3>21 February 2006 - 1.9RC1 available </h3> + <h3>21 February 2006 - 1.9 RC1 available </h3> <p>This release candidate has many improvements since - release 1.4.3, both new features and performance - improvements. See <a href="http://svn.apache.org/viewcvs.cgi/*checkout*/lucene/java/branches/lucene_1_9/CHANGES.txt?rev=379190">CHANGES.txt</a> + release 1.4.3, including new features, performance + improvements, bug fixes, etc. See <a href="http://svn.apache.org/viewcvs.cgi/*checkout*/lucene/java/branches/lucene_1_9/CHANGES.txt?rev=379190">CHANGES.txt</a> for details.</p> <p>1.9 will be the last 1.x release. It is both back-compatible with 1.4.3 and forward-compatible with @@ -157,7 +157,7 @@ deprecation warnings before they are compatible with 2.0.</p> <p>Binary and source distributions are - available <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/">here</a>.</p> + available <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">here</a>.</p> <h3>26 January 2006 - Nightly builds available</h3> <p>Nightly builds of the current development version of Lucene, to be released as Lucene 1.9, are now available at <a href="http://cvs.apache.org/dist/lucene/java/nightly/">http://cvs.apache.org/dist/lucene/java/nightly/</a>. Modified: lucene/java/branches/lucene_1_9/xdocs/index.xml URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/xdocs/index.xml?rev=379202&r1=379201&r2=379202&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/xdocs/index.xml (original) +++ lucene/java/branches/lucene_1_9/xdocs/index.xml Mon Feb 20 11:09:14 2006 @@ -16,18 +16,18 @@ </p> <p> Apache Lucene is an open source project available for - <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/">free download</a> from Apache Jakarta. + <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">free download</a> from Apache Jakarta. Please use the links on the left to access Lucene. </p> </section> <section name="Lucene News"> - <h3>21 February 2006 - 1.9RC1 available </h3> + <h3>21 February 2006 - 1.9 RC1 available </h3> <p>This release candidate has many improvements since - release 1.4.3, both new features and performance - improvements. See <a + release 1.4.3, including new features, performance + improvements, bug fixes, etc. See <a href="http://svn.apache.org/viewcvs.cgi/*checkout*/lucene/java/branches/lucene_1_9/CHANGES.txt?rev=379190">CHANGES.txt</a> for details.</p> @@ -41,7 +41,7 @@ <p>Binary and source distributions are available <a - href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/">here</a>.</p> + href="http://www.apache.org/dyn/closer.cgi/lucene/java/">here</a>.</p> <h3>26 January 2006 - Nightly builds available</h3> From [email protected] Mon Feb 20 19:35:15 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93224 invoked from network); 20 Feb 2006 19:35:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 20 Feb 2006 19:35:14 -0000 Received: (qmail 3355 invoked by uid 500); 20 Feb 2006 19:35:12 -0000 Delivered-To: [email protected] Received: (qmail 3174 invoked by uid 500); 20 Feb 2006 19:35:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <java-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 3107 invoked by uid 99); 20 Feb 2006 19:35:11 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Feb 2006 11:35:11 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 20 Feb 2006 11:35:10 -0800 Received: (qmail 92936 invoked by uid 65534); 20 Feb 2006 19:34:49 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r379209 - in /lucene/java/trunk: docs/index.html xdocs/index.xml Date: Mon, 20 Feb 2006 19:34:48 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.6 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Mon Feb 20 11:34:47 2006 New Revision: 379209 URL: http://svn.apache.org/viewcvs?rev=379209&view=rev Log: Sync changes to docs from 1.9 branch. Modified: lucene/java/trunk/docs/index.html lucene/java/trunk/xdocs/index.xml Modified: lucene/java/trunk/docs/index.html URL: http://svn.apache.org/viewcvs/lucene/java/trunk/docs/index.html?rev=379209&r1=379208&r2=379209&view=diff ============================================================================== --- lucene/java/trunk/docs/index.html (original) +++ lucene/java/trunk/docs/index.html Mon Feb 20 11:34:47 2006 @@ -128,7 +128,7 @@ </p> <p> Apache Lucene is an open source project available for - <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/">free download</a> from Apache Jakarta. + <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">free download</a> from Apache Jakarta. Please use the links on the left to access Lucene. </p> </blockquote> @@ -144,7 +144,21 @@ </td></tr> <tr><td> <blockquote> - <h3>26 January 2006 - Nightly builds available</h3> + <h3>21 February 2006 - 1.9 RC1 available </h3> + <p>This release candidate has many improvements since + release 1.4.3, including new features, performance + improvements, bug fixes, etc. See <a href="http://svn.apache.org/viewcvs.cgi/*checkout*/lucene/java/branches/lucene_1_9/CHANGES.txt?rev=379190">CHANGES.txt</a> + for details.</p> + <p>1.9 will be the last 1.x release. It is both + back-compatible with 1.4.3 and forward-compatible with + the upcoming 2.0 release. Many methods and classes in + 1.4.3 have been deprecated in 1.9 and will be removed + in 2.0. Applications must compile against 1.9 without + deprecation warnings before they are compatible with + 2.0.</p> + <p>Binary and source distributions are + available <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">here</a>.</p> + <h3>26 January 2006 - Nightly builds available</h3> <p>Nightly builds of the current development version of Lucene, to be released as Lucene 1.9, are now available at <a href="http://cvs.apache.org/dist/lucene/java/nightly/">http://cvs.apache.org/dist/lucene/java/nightly/</a>. </p> Modified: lucene/java/trunk/xdocs/index.xml URL: http://svn.apache.org/viewcvs/lucene/java/trunk/xdocs/index.xml?rev=379209&r1=379208&r2=379209&view=diff ============================================================================== --- lucene/java/trunk/xdocs/index.xml (original) +++ lucene/java/trunk/xdocs/index.xml Mon Feb 20 11:34:47 2006 @@ -16,12 +16,32 @@ </p> <p> Apache Lucene is an open source project available for - <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/">free download</a> from Apache Jakarta. + <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">free download</a> from Apache Jakarta. Please use the links on the left to access Lucene. </p> </section> <section name="Lucene News"> + + <h3>21 February 2006 - 1.9 RC1 available </h3> + + <p>This release candidate has many improvements since + release 1.4.3, including new features, performance + improvements, bug fixes, etc. See <a + href="http://svn.apache.org/viewcvs.cgi/*checkout*/lucene/java/branches/lucene_1_9/CHANGES.txt?rev=379190">CHANGES.txt</a> + for details.</p> + + <p>1.9 will be the last 1.x release. It is both + back-compatible with 1.4.3 and forward-compatible with + the upcoming 2.0 release. Many methods and classes in + 1.4.3 have been deprecated in 1.9 and will be removed + in 2.0. Applications must compile against 1.9 without + deprecation warnings before they are compatible with + 2.0.</p> + + <p>Binary and source distributions are + available <a + href="http://www.apache.org/dyn/closer.cgi/lucene/java/">here</a>.</p> <h3>26 January 2006 - Nightly builds available</h3> From [email protected] Tue Feb 21 16:32:00 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 2417 invoked from network); 21 Feb 2006 16:32:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Feb 2006 16:32:00 -0000 Received: (qmail 44845 invoked by uid 500); 21 Feb 2006 16:31:59 -0000 Delivered-To: [email protected] Received: (qmail 44827 invoked by uid 500); 21 Feb 2006 16:31:59 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <java-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 44815 invoked by uid 99); 21 Feb 2006 16:31:59 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2006 08:31:59 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 21 Feb 2006 08:31:58 -0800 Received: (qmail 2150 invoked by uid 65534); 21 Feb 2006 16:31:37 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r379515 - in /lucene/java/trunk: docs/ docs/lucene-sandbox/ xdocs/stylesheets/ Date: Tue, 21 Feb 2006 16:31:33 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.6 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Tue Feb 21 08:31:28 2006 New Revision: 379515 URL: http://svn.apache.org/viewcvs?rev=379515&view=rev Log: Fix release and svn urls. Modified: lucene/java/trunk/docs/benchmarks.html lucene/java/trunk/docs/contributions.html lucene/java/trunk/docs/demo.html lucene/java/trunk/docs/demo2.html lucene/java/trunk/docs/demo3.html lucene/java/trunk/docs/demo4.html lucene/java/trunk/docs/features.html lucene/java/trunk/docs/fileformats.html lucene/java/trunk/docs/gettingstarted.html lucene/java/trunk/docs/index.html lucene/java/trunk/docs/lucene-sandbox/index.html lucene/java/trunk/docs/mailinglists.html lucene/java/trunk/docs/queryparsersyntax.html lucene/java/trunk/docs/resources.html lucene/java/trunk/docs/systemproperties.html lucene/java/trunk/docs/whoweare.html lucene/java/trunk/xdocs/stylesheets/project.xml Modified: lucene/java/trunk/docs/benchmarks.html URL: http://svn.apache.org/viewcvs/lucene/java/trunk/docs/benchmarks.html?rev=379515&r1=379514&r2=379515&view=diff ============================================================================== --- lucene/java/trunk/docs/benchmarks.html (original) +++ lucene/java/trunk/docs/benchmarks.html Tue Feb 21 08:31:28 2006 @@ -98,11 +98,9 @@ </ul> <p><strong>Download</strong></p> <ul> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/binaries/">Binaries</a> + <li> <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">Releases</a> </li> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/source/">Source Code</a> -</li> - <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/">Source Repository</a> + <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/java/">Source Repository</a> </li> </ul> </td> Modified: lucene/java/trunk/docs/contributions.html URL: http://svn.apache.org/viewcvs/lucene/java/trunk/docs/contributions.html?rev=379515&r1=379514&r2=379515&view=diff ============================================================================== --- lucene/java/trunk/docs/contributions.html (original) +++ lucene/java/trunk/docs/contributions.html Tue Feb 21 08:31:28 2006 @@ -102,11 +102,9 @@ </ul> <p><strong>Download</strong></p> <ul> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/binaries/">Binaries</a> + <li> <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">Releases</a> </li> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/source/">Source Code</a> -</li> - <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/">Source Repository</a> + <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/java/">Source Repository</a> </li> </ul> </td> Modified: lucene/java/trunk/docs/demo.html URL: http://svn.apache.org/viewcvs/lucene/java/trunk/docs/demo.html?rev=379515&r1=379514&r2=379515&view=diff ============================================================================== --- lucene/java/trunk/docs/demo.html (original) +++ lucene/java/trunk/docs/demo.html Tue Feb 21 08:31:28 2006 @@ -98,11 +98,9 @@ </ul> <p><strong>Download</strong></p> <ul> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/binaries/">Binaries</a> + <li> <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">Releases</a> </li> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/source/">Source Code</a> -</li> - <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/">Source Repository</a> + <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/java/">Source Repository</a> </li> </ul> </td> Modified: lucene/java/trunk/docs/demo2.html URL: http://svn.apache.org/viewcvs/lucene/java/trunk/docs/demo2.html?rev=379515&r1=379514&r2=379515&view=diff ============================================================================== --- lucene/java/trunk/docs/demo2.html (original) +++ lucene/java/trunk/docs/demo2.html Tue Feb 21 08:31:28 2006 @@ -98,11 +98,9 @@ </ul> <p><strong>Download</strong></p> <ul> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/binaries/">Binaries</a> + <li> <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">Releases</a> </li> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/source/">Source Code</a> -</li> - <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/">Source Repository</a> + <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/java/">Source Repository</a> </li> </ul> </td> Modified: lucene/java/trunk/docs/demo3.html URL: http://svn.apache.org/viewcvs/lucene/java/trunk/docs/demo3.html?rev=379515&r1=379514&r2=379515&view=diff ============================================================================== --- lucene/java/trunk/docs/demo3.html (original) +++ lucene/java/trunk/docs/demo3.html Tue Feb 21 08:31:28 2006 @@ -98,11 +98,9 @@ </ul> <p><strong>Download</strong></p> <ul> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/binaries/">Binaries</a> + <li> <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">Releases</a> </li> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/source/">Source Code</a> -</li> - <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/">Source Repository</a> + <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/java/">Source Repository</a> </li> </ul> </td> Modified: lucene/java/trunk/docs/demo4.html URL: http://svn.apache.org/viewcvs/lucene/java/trunk/docs/demo4.html?rev=379515&r1=379514&r2=379515&view=diff ============================================================================== --- lucene/java/trunk/docs/demo4.html (original) +++ lucene/java/trunk/docs/demo4.html Tue Feb 21 08:31:28 2006 @@ -98,11 +98,9 @@ </ul> <p><strong>Download</strong></p> <ul> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/binaries/">Binaries</a> + <li> <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">Releases</a> </li> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/source/">Source Code</a> -</li> - <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/">Source Repository</a> + <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/java/">Source Repository</a> </li> </ul> </td> Modified: lucene/java/trunk/docs/features.html URL: http://svn.apache.org/viewcvs/lucene/java/trunk/docs/features.html?rev=379515&r1=379514&r2=379515&view=diff ============================================================================== --- lucene/java/trunk/docs/features.html (original) +++ lucene/java/trunk/docs/features.html Tue Feb 21 08:31:28 2006 @@ -96,11 +96,9 @@ </ul> <p><strong>Download</strong></p> <ul> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/binaries/">Binaries</a> + <li> <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">Releases</a> </li> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/source/">Source Code</a> -</li> - <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/">Source Repository</a> + <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/java/">Source Repository</a> </li> </ul> </td> Modified: lucene/java/trunk/docs/fileformats.html URL: http://svn.apache.org/viewcvs/lucene/java/trunk/docs/fileformats.html?rev=379515&r1=379514&r2=379515&view=diff ============================================================================== --- lucene/java/trunk/docs/fileformats.html (original) +++ lucene/java/trunk/docs/fileformats.html Tue Feb 21 08:31:28 2006 @@ -96,11 +96,9 @@ </ul> <p><strong>Download</strong></p> <ul> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/binaries/">Binaries</a> + <li> <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">Releases</a> </li> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/source/">Source Code</a> -</li> - <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/">Source Repository</a> + <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/java/">Source Repository</a> </li> </ul> </td> Modified: lucene/java/trunk/docs/gettingstarted.html URL: http://svn.apache.org/viewcvs/lucene/java/trunk/docs/gettingstarted.html?rev=379515&r1=379514&r2=379515&view=diff ============================================================================== --- lucene/java/trunk/docs/gettingstarted.html (original) +++ lucene/java/trunk/docs/gettingstarted.html Tue Feb 21 08:31:28 2006 @@ -98,11 +98,9 @@ </ul> <p><strong>Download</strong></p> <ul> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/binaries/">Binaries</a> + <li> <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">Releases</a> </li> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/source/">Source Code</a> -</li> - <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/">Source Repository</a> + <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/java/">Source Repository</a> </li> </ul> </td> Modified: lucene/java/trunk/docs/index.html URL: http://svn.apache.org/viewcvs/lucene/java/trunk/docs/index.html?rev=379515&r1=379514&r2=379515&view=diff ============================================================================== --- lucene/java/trunk/docs/index.html (original) +++ lucene/java/trunk/docs/index.html Tue Feb 21 08:31:28 2006 @@ -104,11 +104,9 @@ </ul> <p><strong>Download</strong></p> <ul> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/binaries/">Binaries</a> + <li> <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">Releases</a> </li> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/source/">Source Code</a> -</li> - <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/">Source Repository</a> + <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/java/">Source Repository</a> </li> </ul> </td> Modified: lucene/java/trunk/docs/lucene-sandbox/index.html URL: http://svn.apache.org/viewcvs/lucene/java/trunk/docs/lucene-sandbox/index.html?rev=379515&r1=379514&r2=379515&view=diff ============================================================================== --- lucene/java/trunk/docs/lucene-sandbox/index.html (original) +++ lucene/java/trunk/docs/lucene-sandbox/index.html Tue Feb 21 08:31:28 2006 @@ -98,11 +98,9 @@ </ul> <p><strong>Download</strong></p> <ul> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/binaries/">Binaries</a> + <li> <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">Releases</a> </li> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/source/">Source Code</a> -</li> - <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/">Source Repository</a> + <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/java/">Source Repository</a> </li> </ul> </td> Modified: lucene/java/trunk/docs/mailinglists.html URL: http://svn.apache.org/viewcvs/lucene/java/trunk/docs/mailinglists.html?rev=379515&r1=379514&r2=379515&view=diff ============================================================================== --- lucene/java/trunk/docs/mailinglists.html (original) +++ lucene/java/trunk/docs/mailinglists.html Tue Feb 21 08:31:28 2006 @@ -96,11 +96,9 @@ </ul> <p><strong>Download</strong></p> <ul> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/binaries/">Binaries</a> + <li> <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">Releases</a> </li> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/source/">Source Code</a> -</li> - <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/">Source Repository</a> + <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/java/">Source Repository</a> </li> </ul> </td> Modified: lucene/java/trunk/docs/queryparsersyntax.html URL: http://svn.apache.org/viewcvs/lucene/java/trunk/docs/queryparsersyntax.html?rev=379515&r1=379514&r2=379515&view=diff ============================================================================== --- lucene/java/trunk/docs/queryparsersyntax.html (original) +++ lucene/java/trunk/docs/queryparsersyntax.html Tue Feb 21 08:31:28 2006 @@ -100,11 +100,9 @@ </ul> <p><strong>Download</strong></p> <ul> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/binaries/">Binaries</a> + <li> <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">Releases</a> </li> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/source/">Source Code</a> -</li> - <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/">Source Repository</a> + <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/java/">Source Repository</a> </li> </ul> </td> Modified: lucene/java/trunk/docs/resources.html URL: http://svn.apache.org/viewcvs/lucene/java/trunk/docs/resources.html?rev=379515&r1=379514&r2=379515&view=diff ============================================================================== --- lucene/java/trunk/docs/resources.html (original) +++ lucene/java/trunk/docs/resources.html Tue Feb 21 08:31:28 2006 @@ -98,11 +98,9 @@ </ul> <p><strong>Download</strong></p> <ul> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/binaries/">Binaries</a> + <li> <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">Releases</a> </li> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/source/">Source Code</a> -</li> - <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/">Source Repository</a> + <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/java/">Source Repository</a> </li> </ul> </td> Modified: lucene/java/trunk/docs/systemproperties.html URL: http://svn.apache.org/viewcvs/lucene/java/trunk/docs/systemproperties.html?rev=379515&r1=379514&r2=379515&view=diff ============================================================================== --- lucene/java/trunk/docs/systemproperties.html (original) +++ lucene/java/trunk/docs/systemproperties.html Tue Feb 21 08:31:28 2006 @@ -98,11 +98,9 @@ </ul> <p><strong>Download</strong></p> <ul> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/binaries/">Binaries</a> + <li> <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">Releases</a> </li> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/source/">Source Code</a> -</li> - <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/">Source Repository</a> + <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/java/">Source Repository</a> </li> </ul> </td> Modified: lucene/java/trunk/docs/whoweare.html URL: http://svn.apache.org/viewcvs/lucene/java/trunk/docs/whoweare.html?rev=379515&r1=379514&r2=379515&view=diff ============================================================================== --- lucene/java/trunk/docs/whoweare.html (original) +++ lucene/java/trunk/docs/whoweare.html Tue Feb 21 08:31:28 2006 @@ -100,11 +100,9 @@ </ul> <p><strong>Download</strong></p> <ul> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/binaries/">Binaries</a> + <li> <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">Releases</a> </li> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/source/">Source Code</a> -</li> - <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/">Source Repository</a> + <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/java/">Source Repository</a> </li> </ul> </td> Modified: lucene/java/trunk/xdocs/stylesheets/project.xml URL: http://svn.apache.org/viewcvs/lucene/java/trunk/xdocs/stylesheets/project.xml?rev=379515&r1=379514&r2=379515&view=diff ============================================================================== --- lucene/java/trunk/xdocs/stylesheets/project.xml (original) +++ lucene/java/trunk/xdocs/stylesheets/project.xml Tue Feb 21 08:31:28 2006 @@ -27,9 +27,8 @@ </menu> <menu name="Download"> - <item name="Binaries" href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/binaries/"/> - <item name="Source Code" href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/source/"/> - <item name="Source Repository" href="http://svn.apache.org/viewcvs.cgi/lucene/"/> + <item name="Releases" href="http://www.apache.org/dyn/closer.cgi/lucene/java/"/> + <item name="Source Repository" href="http://svn.apache.org/viewcvs.cgi/lucene/java/"/> </menu> </body> From [email protected] Tue Feb 21 16:34:38 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4059 invoked from network); 21 Feb 2006 16:34:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Feb 2006 16:34:38 -0000 Received: (qmail 51325 invoked by uid 500); 21 Feb 2006 16:34:38 -0000 Delivered-To: [email protected] Received: (qmail 51311 invoked by uid 500); 21 Feb 2006 16:34:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <java-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 51299 invoked by uid 99); 21 Feb 2006 16:34:37 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2006 08:34:37 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 21 Feb 2006 08:34:37 -0800 Received: (qmail 3714 invoked by uid 65534); 21 Feb 2006 16:34:17 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r379518 - in /lucene/java/tags/lucene_1_9_rc1: ./ .cvsignore BUILD.txt CHANGES.txt LICENSE.txt README.txt build-deprecated.xml build.xml common-build.xml docs/ index.html xdocs/ Date: Tue, 21 Feb 2006 16:34:16 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.6 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Tue Feb 21 08:34:12 2006 New Revision: 379518 URL: http://svn.apache.org/viewcvs?rev=379518&view=rev Log: Add tag for 1.9 rc1 release. Added: lucene/java/tags/lucene_1_9_rc1/ - copied from r379207, lucene/java/branches/lucene_1_9/ lucene/java/tags/lucene_1_9_rc1/.cvsignore - copied unchanged from r379515, lucene/java/branches/lucene_1_9/.cvsignore lucene/java/tags/lucene_1_9_rc1/BUILD.txt - copied unchanged from r379515, lucene/java/branches/lucene_1_9/BUILD.txt lucene/java/tags/lucene_1_9_rc1/CHANGES.txt - copied unchanged from r379515, lucene/java/branches/lucene_1_9/CHANGES.txt lucene/java/tags/lucene_1_9_rc1/LICENSE.txt - copied unchanged from r379515, lucene/java/branches/lucene_1_9/LICENSE.txt lucene/java/tags/lucene_1_9_rc1/README.txt - copied unchanged from r379515, lucene/java/branches/lucene_1_9/README.txt lucene/java/tags/lucene_1_9_rc1/build-deprecated.xml - copied unchanged from r379515, lucene/java/branches/lucene_1_9/build-deprecated.xml lucene/java/tags/lucene_1_9_rc1/build.xml - copied unchanged from r379515, lucene/java/branches/lucene_1_9/build.xml lucene/java/tags/lucene_1_9_rc1/common-build.xml - copied unchanged from r379515, lucene/java/branches/lucene_1_9/common-build.xml lucene/java/tags/lucene_1_9_rc1/docs/ - copied from r379515, lucene/java/branches/lucene_1_9/docs/ lucene/java/tags/lucene_1_9_rc1/index.html - copied unchanged from r379515, lucene/java/branches/lucene_1_9/index.html lucene/java/tags/lucene_1_9_rc1/xdocs/ - copied from r379515, lucene/java/branches/lucene_1_9/xdocs/ From [email protected] Tue Feb 21 16:39:10 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7259 invoked from network); 21 Feb 2006 16:39:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Feb 2006 16:39:09 -0000 Received: (qmail 60855 invoked by uid 500); 21 Feb 2006 16:39:09 -0000 Delivered-To: [email protected] Received: (qmail 60836 invoked by uid 500); 21 Feb 2006 16:39:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <java-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 60825 invoked by uid 99); 21 Feb 2006 16:39:09 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2006 08:39:09 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 21 Feb 2006 08:39:08 -0800 Received: (qmail 7023 invoked by uid 65534); 21 Feb 2006 16:38:47 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r379523 - in /lucene/java/branches/lucene_1_9: docs/ docs/lucene-sandbox/ xdocs/stylesheets/ Date: Tue, 21 Feb 2006 16:38:31 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.6 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Tue Feb 21 08:38:30 2006 New Revision: 379523 URL: http://svn.apache.org/viewcvs?rev=379523&view=rev Log: svn merge -r 379202:379518: merging doc changes from trunk into 1.9 branch. Modified: lucene/java/branches/lucene_1_9/docs/benchmarks.html lucene/java/branches/lucene_1_9/docs/contributions.html lucene/java/branches/lucene_1_9/docs/demo.html lucene/java/branches/lucene_1_9/docs/demo2.html lucene/java/branches/lucene_1_9/docs/demo3.html lucene/java/branches/lucene_1_9/docs/demo4.html lucene/java/branches/lucene_1_9/docs/features.html lucene/java/branches/lucene_1_9/docs/fileformats.html lucene/java/branches/lucene_1_9/docs/gettingstarted.html lucene/java/branches/lucene_1_9/docs/index.html lucene/java/branches/lucene_1_9/docs/lucene-sandbox/index.html lucene/java/branches/lucene_1_9/docs/mailinglists.html lucene/java/branches/lucene_1_9/docs/queryparsersyntax.html lucene/java/branches/lucene_1_9/docs/resources.html lucene/java/branches/lucene_1_9/docs/systemproperties.html lucene/java/branches/lucene_1_9/docs/whoweare.html lucene/java/branches/lucene_1_9/xdocs/stylesheets/project.xml Modified: lucene/java/branches/lucene_1_9/docs/benchmarks.html URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/docs/benchmarks.html?rev=379523&r1=379522&r2=379523&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/docs/benchmarks.html (original) +++ lucene/java/branches/lucene_1_9/docs/benchmarks.html Tue Feb 21 08:38:30 2006 @@ -98,11 +98,9 @@ </ul> <p><strong>Download</strong></p> <ul> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/binaries/">Binaries</a> + <li> <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">Releases</a> </li> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/source/">Source Code</a> -</li> - <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/">Source Repository</a> + <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/java/">Source Repository</a> </li> </ul> </td> Modified: lucene/java/branches/lucene_1_9/docs/contributions.html URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/docs/contributions.html?rev=379523&r1=379522&r2=379523&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/docs/contributions.html (original) +++ lucene/java/branches/lucene_1_9/docs/contributions.html Tue Feb 21 08:38:30 2006 @@ -102,11 +102,9 @@ </ul> <p><strong>Download</strong></p> <ul> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/binaries/">Binaries</a> + <li> <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">Releases</a> </li> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/source/">Source Code</a> -</li> - <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/">Source Repository</a> + <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/java/">Source Repository</a> </li> </ul> </td> Modified: lucene/java/branches/lucene_1_9/docs/demo.html URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/docs/demo.html?rev=379523&r1=379522&r2=379523&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/docs/demo.html (original) +++ lucene/java/branches/lucene_1_9/docs/demo.html Tue Feb 21 08:38:30 2006 @@ -98,11 +98,9 @@ </ul> <p><strong>Download</strong></p> <ul> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/binaries/">Binaries</a> + <li> <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">Releases</a> </li> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/source/">Source Code</a> -</li> - <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/">Source Repository</a> + <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/java/">Source Repository</a> </li> </ul> </td> Modified: lucene/java/branches/lucene_1_9/docs/demo2.html URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/docs/demo2.html?rev=379523&r1=379522&r2=379523&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/docs/demo2.html (original) +++ lucene/java/branches/lucene_1_9/docs/demo2.html Tue Feb 21 08:38:30 2006 @@ -98,11 +98,9 @@ </ul> <p><strong>Download</strong></p> <ul> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/binaries/">Binaries</a> + <li> <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">Releases</a> </li> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/source/">Source Code</a> -</li> - <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/">Source Repository</a> + <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/java/">Source Repository</a> </li> </ul> </td> Modified: lucene/java/branches/lucene_1_9/docs/demo3.html URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/docs/demo3.html?rev=379523&r1=379522&r2=379523&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/docs/demo3.html (original) +++ lucene/java/branches/lucene_1_9/docs/demo3.html Tue Feb 21 08:38:30 2006 @@ -98,11 +98,9 @@ </ul> <p><strong>Download</strong></p> <ul> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/binaries/">Binaries</a> + <li> <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">Releases</a> </li> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/source/">Source Code</a> -</li> - <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/">Source Repository</a> + <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/java/">Source Repository</a> </li> </ul> </td> Modified: lucene/java/branches/lucene_1_9/docs/demo4.html URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/docs/demo4.html?rev=379523&r1=379522&r2=379523&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/docs/demo4.html (original) +++ lucene/java/branches/lucene_1_9/docs/demo4.html Tue Feb 21 08:38:30 2006 @@ -98,11 +98,9 @@ </ul> <p><strong>Download</strong></p> <ul> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/binaries/">Binaries</a> + <li> <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">Releases</a> </li> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/source/">Source Code</a> -</li> - <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/">Source Repository</a> + <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/java/">Source Repository</a> </li> </ul> </td> Modified: lucene/java/branches/lucene_1_9/docs/features.html URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/docs/features.html?rev=379523&r1=379522&r2=379523&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/docs/features.html (original) +++ lucene/java/branches/lucene_1_9/docs/features.html Tue Feb 21 08:38:30 2006 @@ -96,11 +96,9 @@ </ul> <p><strong>Download</strong></p> <ul> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/binaries/">Binaries</a> + <li> <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">Releases</a> </li> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/source/">Source Code</a> -</li> - <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/">Source Repository</a> + <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/java/">Source Repository</a> </li> </ul> </td> Modified: lucene/java/branches/lucene_1_9/docs/fileformats.html URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/docs/fileformats.html?rev=379523&r1=379522&r2=379523&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/docs/fileformats.html (original) +++ lucene/java/branches/lucene_1_9/docs/fileformats.html Tue Feb 21 08:38:30 2006 @@ -96,11 +96,9 @@ </ul> <p><strong>Download</strong></p> <ul> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/binaries/">Binaries</a> + <li> <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">Releases</a> </li> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/source/">Source Code</a> -</li> - <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/">Source Repository</a> + <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/java/">Source Repository</a> </li> </ul> </td> Modified: lucene/java/branches/lucene_1_9/docs/gettingstarted.html URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/docs/gettingstarted.html?rev=379523&r1=379522&r2=379523&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/docs/gettingstarted.html (original) +++ lucene/java/branches/lucene_1_9/docs/gettingstarted.html Tue Feb 21 08:38:30 2006 @@ -98,11 +98,9 @@ </ul> <p><strong>Download</strong></p> <ul> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/binaries/">Binaries</a> + <li> <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">Releases</a> </li> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/source/">Source Code</a> -</li> - <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/">Source Repository</a> + <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/java/">Source Repository</a> </li> </ul> </td> Modified: lucene/java/branches/lucene_1_9/docs/index.html URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/docs/index.html?rev=379523&r1=379522&r2=379523&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/docs/index.html (original) +++ lucene/java/branches/lucene_1_9/docs/index.html Tue Feb 21 08:38:30 2006 @@ -104,11 +104,9 @@ </ul> <p><strong>Download</strong></p> <ul> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/binaries/">Binaries</a> + <li> <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">Releases</a> </li> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/source/">Source Code</a> -</li> - <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/">Source Repository</a> + <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/java/">Source Repository</a> </li> </ul> </td> Modified: lucene/java/branches/lucene_1_9/docs/lucene-sandbox/index.html URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/docs/lucene-sandbox/index.html?rev=379523&r1=379522&r2=379523&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/docs/lucene-sandbox/index.html (original) +++ lucene/java/branches/lucene_1_9/docs/lucene-sandbox/index.html Tue Feb 21 08:38:30 2006 @@ -98,11 +98,9 @@ </ul> <p><strong>Download</strong></p> <ul> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/binaries/">Binaries</a> + <li> <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">Releases</a> </li> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/source/">Source Code</a> -</li> - <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/">Source Repository</a> + <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/java/">Source Repository</a> </li> </ul> </td> Modified: lucene/java/branches/lucene_1_9/docs/mailinglists.html URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/docs/mailinglists.html?rev=379523&r1=379522&r2=379523&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/docs/mailinglists.html (original) +++ lucene/java/branches/lucene_1_9/docs/mailinglists.html Tue Feb 21 08:38:30 2006 @@ -96,11 +96,9 @@ </ul> <p><strong>Download</strong></p> <ul> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/binaries/">Binaries</a> + <li> <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">Releases</a> </li> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/source/">Source Code</a> -</li> - <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/">Source Repository</a> + <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/java/">Source Repository</a> </li> </ul> </td> Modified: lucene/java/branches/lucene_1_9/docs/queryparsersyntax.html URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/docs/queryparsersyntax.html?rev=379523&r1=379522&r2=379523&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/docs/queryparsersyntax.html (original) +++ lucene/java/branches/lucene_1_9/docs/queryparsersyntax.html Tue Feb 21 08:38:30 2006 @@ -100,11 +100,9 @@ </ul> <p><strong>Download</strong></p> <ul> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/binaries/">Binaries</a> + <li> <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">Releases</a> </li> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/source/">Source Code</a> -</li> - <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/">Source Repository</a> + <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/java/">Source Repository</a> </li> </ul> </td> Modified: lucene/java/branches/lucene_1_9/docs/resources.html URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/docs/resources.html?rev=379523&r1=379522&r2=379523&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/docs/resources.html (original) +++ lucene/java/branches/lucene_1_9/docs/resources.html Tue Feb 21 08:38:30 2006 @@ -98,11 +98,9 @@ </ul> <p><strong>Download</strong></p> <ul> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/binaries/">Binaries</a> + <li> <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">Releases</a> </li> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/source/">Source Code</a> -</li> - <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/">Source Repository</a> + <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/java/">Source Repository</a> </li> </ul> </td> Modified: lucene/java/branches/lucene_1_9/docs/systemproperties.html URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/docs/systemproperties.html?rev=379523&r1=379522&r2=379523&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/docs/systemproperties.html (original) +++ lucene/java/branches/lucene_1_9/docs/systemproperties.html Tue Feb 21 08:38:30 2006 @@ -98,11 +98,9 @@ </ul> <p><strong>Download</strong></p> <ul> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/binaries/">Binaries</a> + <li> <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">Releases</a> </li> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/source/">Source Code</a> -</li> - <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/">Source Repository</a> + <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/java/">Source Repository</a> </li> </ul> </td> Modified: lucene/java/branches/lucene_1_9/docs/whoweare.html URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/docs/whoweare.html?rev=379523&r1=379522&r2=379523&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/docs/whoweare.html (original) +++ lucene/java/branches/lucene_1_9/docs/whoweare.html Tue Feb 21 08:38:30 2006 @@ -100,11 +100,9 @@ </ul> <p><strong>Download</strong></p> <ul> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/binaries/">Binaries</a> + <li> <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">Releases</a> </li> - <li> <a href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/source/">Source Code</a> -</li> - <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/">Source Repository</a> + <li> <a href="http://svn.apache.org/viewcvs.cgi/lucene/java/">Source Repository</a> </li> </ul> </td> Modified: lucene/java/branches/lucene_1_9/xdocs/stylesheets/project.xml URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/xdocs/stylesheets/project.xml?rev=379523&r1=379522&r2=379523&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/xdocs/stylesheets/project.xml (original) +++ lucene/java/branches/lucene_1_9/xdocs/stylesheets/project.xml Tue Feb 21 08:38:30 2006 @@ -27,9 +27,8 @@ </menu> <menu name="Download"> - <item name="Binaries" href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/binaries/"/> - <item name="Source Code" href="http://www.apache.org/dyn/closer.cgi/jakarta/lucene/source/"/> - <item name="Source Repository" href="http://svn.apache.org/viewcvs.cgi/lucene/"/> + <item name="Releases" href="http://www.apache.org/dyn/closer.cgi/lucene/java/"/> + <item name="Source Repository" href="http://svn.apache.org/viewcvs.cgi/lucene/java/"/> </menu> </body> From [email protected] Tue Feb 21 17:01:48 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 21975 invoked from network); 21 Feb 2006 17:01:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Feb 2006 17:01:47 -0000 Received: (qmail 6935 invoked by uid 500); 21 Feb 2006 17:01:42 -0000 Delivered-To: [email protected] Received: (qmail 6920 invoked by uid 500); 21 Feb 2006 17:01:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <java-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 6909 invoked by uid 99); 21 Feb 2006 17:01:42 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2006 09:01:42 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 21 Feb 2006 09:01:41 -0800 Received: (qmail 21780 invoked by uid 65534); 21 Feb 2006 17:01:18 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r379532 - in /lucene/java/trunk: CHANGES.txt src/java/org/apache/lucene/store/BufferedIndexOutput.java src/java/org/apache/lucene/store/RAMOutputStream.java src/test/org/apache/lucene/StoreTest.java Date: Tue, 21 Feb 2006 17:00:55 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.6 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Tue Feb 21 09:00:40 2006 New Revision: 379532 URL: http://svn.apache.org/viewcvs?rev=379532&view=rev Log: Fix for LUCENE-435: Optimize BufferedIndexOutput.writeBytes(). Contributed by Lukas Zapletal. Modified: lucene/java/trunk/CHANGES.txt lucene/java/trunk/src/java/org/apache/lucene/store/BufferedIndexOutput.java lucene/java/trunk/src/java/org/apache/lucene/store/RAMOutputStream.java lucene/java/trunk/src/test/org/apache/lucene/StoreTest.java Modified: lucene/java/trunk/CHANGES.txt URL: http://svn.apache.org/viewcvs/lucene/java/trunk/CHANGES.txt?rev=379532&r1=379531&r2=379532&view=diff ============================================================================== --- lucene/java/trunk/CHANGES.txt (original) +++ lucene/java/trunk/CHANGES.txt Tue Feb 21 09:00:40 2006 @@ -2,6 +2,15 @@ $Id$ +1.9 RC2 + +Optimizations + + 1. Optimized BufferedIndexOutput.writeBytes() to use + System.arraycopy() in more cases, rather than copying byte-by-byte. + (Lukas Zapletal via Cutting) + + 1.9 RC1 Note that this realease is mostly but not 100% source compatible with the Modified: lucene/java/trunk/src/java/org/apache/lucene/store/BufferedIndexOutput.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/src/java/org/apache/lucene/store/BufferedIndexOutput.java?rev=379532&r1=379531&r2=379532&view=diff ============================================================================== --- lucene/java/trunk/src/java/org/apache/lucene/store/BufferedIndexOutput.java (original) +++ lucene/java/trunk/src/java/org/apache/lucene/store/BufferedIndexOutput.java Tue Feb 21 09:00:40 2006 @@ -41,8 +41,41 @@ * @see IndexInput#readBytes(byte[],int,int) */ public void writeBytes(byte[] b, int length) throws IOException { - for (int i = 0; i < length; i++) - writeByte(b[i]); + int bytesLeft = BUFFER_SIZE - bufferPosition; + // is there enough space in the buffer? + if (bytesLeft >= length) { + // we add the data to the end of the buffer + System.arraycopy(b, 0, buffer, bufferPosition, length); + bufferPosition += length; + // if the buffer is full, flush it + if (BUFFER_SIZE - bufferPosition == 0) + flush(); + } else { + // is data larger then buffer? + if (length > BUFFER_SIZE) { + // we flush the buffer + if (bufferPosition > 0) + flush(); + // and write data at once + flushBuffer(b, length); + } else { + // we fill/flush the buffer (until the input is written) + int pos = 0; // position in the input data + int pieceLength; + while (pos < length) { + pieceLength = (length - pos < bytesLeft) ? length - pos : bytesLeft; + System.arraycopy(b, pos, buffer, bufferPosition, pieceLength); + pos += pieceLength; + bufferPosition += pieceLength; + // if the buffer is full, flush it + bytesLeft = BUFFER_SIZE - bufferPosition; + if (bytesLeft == 0) { + flush(); + bytesLeft = BUFFER_SIZE; + } + } + } + } } /** Forces any buffered output to be written. */ Modified: lucene/java/trunk/src/java/org/apache/lucene/store/RAMOutputStream.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/src/java/org/apache/lucene/store/RAMOutputStream.java?rev=379532&r1=379531&r2=379532&view=diff ============================================================================== --- lucene/java/trunk/src/java/org/apache/lucene/store/RAMOutputStream.java (original) +++ lucene/java/trunk/src/java/org/apache/lucene/store/RAMOutputStream.java Tue Feb 21 09:00:40 2006 @@ -66,27 +66,27 @@ } public void flushBuffer(byte[] src, int len) { - int bufferNumber = pointer/BUFFER_SIZE; - int bufferOffset = pointer%BUFFER_SIZE; - int bytesInBuffer = BUFFER_SIZE - bufferOffset; - int bytesToCopy = bytesInBuffer >= len ? len : bytesInBuffer; + byte[] buffer; + int bufferPos = 0; + while (bufferPos != len) { + int bufferNumber = pointer/BUFFER_SIZE; + int bufferOffset = pointer%BUFFER_SIZE; + int bytesInBuffer = BUFFER_SIZE - bufferOffset; + int remainInSrcBuffer = len - bufferPos; + int bytesToCopy = bytesInBuffer >= remainInSrcBuffer ? remainInSrcBuffer : bytesInBuffer; - if (bufferNumber == file.buffers.size()) - file.buffers.addElement(new byte[BUFFER_SIZE]); + if (bufferNumber == file.buffers.size()) { + buffer = new byte[BUFFER_SIZE]; + file.buffers.addElement(buffer); + } else { + buffer = (byte[]) file.buffers.elementAt(bufferNumber); + } - byte[] buffer = (byte[])file.buffers.elementAt(bufferNumber); - System.arraycopy(src, 0, buffer, bufferOffset, bytesToCopy); - - if (bytesToCopy < len) { // not all in one buffer - int srcOffset = bytesToCopy; - bytesToCopy = len - bytesToCopy; // remaining bytes - bufferNumber++; - if (bufferNumber == file.buffers.size()) - file.buffers.addElement(new byte[BUFFER_SIZE]); - buffer = (byte[])file.buffers.elementAt(bufferNumber); - System.arraycopy(src, srcOffset, buffer, 0, bytesToCopy); + System.arraycopy(src, bufferPos, buffer, bufferOffset, bytesToCopy); + bufferPos += bytesToCopy; + pointer += bytesToCopy; } - pointer += len; + if (pointer > file.length) file.length = pointer; Modified: lucene/java/trunk/src/test/org/apache/lucene/StoreTest.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/src/test/org/apache/lucene/StoreTest.java?rev=379532&r1=379531&r2=379532&view=diff ============================================================================== --- lucene/java/trunk/src/test/org/apache/lucene/StoreTest.java (original) +++ lucene/java/trunk/src/test/org/apache/lucene/StoreTest.java Tue Feb 21 09:00:40 2006 @@ -28,14 +28,13 @@ class StoreTest { public static void main(String[] args) { try { - test(1000, true); + test(1000, true, true); } catch (Exception e) { - System.out.println(" caught a " + e.getClass() + - "\n with message: " + e.getMessage()); + e.printStackTrace(); } } - public static void test(int count, boolean ram) + public static void test(int count, boolean ram, boolean buffered) throws Exception { Random gen = new Random(1251971); int i; @@ -51,6 +50,8 @@ final int LENGTH_MASK = 0xFFF; + final byte[] buffer = new byte[LENGTH_MASK]; + for (i = 0; i < count; i++) { String name = i + ".dat"; int length = gen.nextInt() & LENGTH_MASK; @@ -59,8 +60,14 @@ IndexOutput file = store.createOutput(name); - for (int j = 0; j < length; j++) - file.writeByte(b); + if (buffered) { + for (int j = 0; j < length; j++) + buffer[j] = b; + file.writeBytes(buffer, length); + } else { + for (int j = 0; j < length; j++) + file.writeByte(b); + } file.close(); } @@ -89,9 +96,18 @@ if (file.length() != length) throw new Exception("length incorrect"); - for (int j = 0; j < length; j++) - if (file.readByte() != b) - throw new Exception("contents incorrect"); + byte[] content = new byte[length]; + if (buffered) { + file.readBytes(content, 0, length); + // check the buffer + for (int j = 0; j < length; j++) + if (content[j] != b) + throw new Exception("contents incorrect"); + } else { + for (int j = 0; j < length; j++) + if (file.readByte() != b) + throw new Exception("contents incorrect"); + } file.close(); } From [email protected] Tue Feb 21 21:05:50 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 84526 invoked from network); 21 Feb 2006 21:05:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Feb 2006 21:05:50 -0000 Received: (qmail 35431 invoked by uid 500); 21 Feb 2006 21:05:50 -0000 Delivered-To: [email protected] Received: (qmail 35398 invoked by uid 500); 21 Feb 2006 21:05:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <java-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 35382 invoked by uid 99); 21 Feb 2006 21:05:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2006 13:05:49 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 21 Feb 2006 13:05:48 -0800 Received: (qmail 83651 invoked by uid 65534); 21 Feb 2006 21:05:22 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r379586 - in /lucene/java/trunk/contrib/highlighter/src: java/org/apache/lucene/search/highlight/QueryTermExtractor.java test/org/apache/lucene/search/highlight/HighlighterTest.java Date: Tue, 21 Feb 2006 21:05:22 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.6 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: mharwood Date: Tue Feb 21 13:05:18 2006 New Revision: 379586 URL: http://svn.apache.org/viewcvs?rev=379586&view=rev Log: Removed use of deprecated APIs ready for 2.0 Lucene release Modified: lucene/java/trunk/contrib/highlighter/src/java/org/apache/lucene/search/highlight/QueryTermExtractor.java lucene/java/trunk/contrib/highlighter/src/test/org/apache/lucene/search/highlight/HighlighterTest.java Modified: lucene/java/trunk/contrib/highlighter/src/java/org/apache/lucene/search/highlight/QueryTermExtractor.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/highlighter/src/java/org/apache/lucene/search/highlight/QueryTermExtractor.java?rev=379586&r1=379585&r2=379586&view=diff ============================================================================== --- lucene/java/trunk/contrib/highlighter/src/java/org/apache/lucene/search/highlight/QueryTermExtractor.java (original) +++ lucene/java/trunk/contrib/highlighter/src/java/org/apache/lucene/search/highlight/QueryTermExtractor.java Tue Feb 21 13:05:18 2006 @@ -134,8 +134,12 @@ for (i = 0; i < queryClauses.length; i++) { - if (prohibited || !queryClauses[i].prohibited) - getTerms(queryClauses[i].query, terms, prohibited, fieldName); + //Pre Lucene 2.0 code +// if (prohibited || !queryClauses[i].prohibited) +// getTerms(queryClauses[i].query, terms, prohibited, fieldName); + // Lucene 2.0 ready code + if (prohibited || queryClauses[i].getOccur()!=BooleanClause.Occur.MUST_NOT) + getTerms(queryClauses[i].getQuery(), terms, prohibited, fieldName); } } Modified: lucene/java/trunk/contrib/highlighter/src/test/org/apache/lucene/search/highlight/HighlighterTest.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/highlighter/src/test/org/apache/lucene/search/highlight/HighlighterTest.java?rev=379586&r1=379585&r2=379586&view=diff ============================================================================== --- lucene/java/trunk/contrib/highlighter/src/test/org/apache/lucene/search/highlight/HighlighterTest.java (original) +++ lucene/java/trunk/contrib/highlighter/src/test/org/apache/lucene/search/highlight/HighlighterTest.java Tue Feb 21 13:05:18 2006 @@ -222,7 +222,8 @@ String srchkey = "football"; String s = "football-soccer in the euro 2004 footie competition"; - Query query = QueryParser.parse(srchkey, "bookid", analyzer); + QueryParser parser=new QueryParser("bookid",analyzer); + Query query = parser.parse(srchkey); Highlighter highlighter = new Highlighter(new QueryScorer(query)); TokenStream tokenStream = @@ -289,7 +290,7 @@ new Highlighter(this,new QueryScorer(query)); highlighter.setMaxDocBytesToAnalyze(30); TokenStream tokenStream=analyzer.tokenStream(FIELD_NAME,new StringReader(texts[0])); - String result = highlighter.getBestFragment(tokenStream,texts[0]); + highlighter.getBestFragment(tokenStream,texts[0]); assertTrue("Setting MaxDocBytesToAnalyze should have prevented " + "us from finding matches for this record: " + numHighlights + " found", numHighlights == 0); @@ -302,7 +303,9 @@ //test to show how rewritten query can still be used searcher = new IndexSearcher(ramDir); Analyzer analyzer=new StandardAnalyzer(); - Query query = QueryParser.parse("JF? or Kenned*", FIELD_NAME, analyzer); + + QueryParser parser=new QueryParser(FIELD_NAME,analyzer); + Query query = parser.parse("JF? or Kenned*"); System.out.println("Searching with primitive query"); //forget to set this and... //query=query.rewrite(reader); @@ -406,7 +409,7 @@ RAMDirectory ramDir1 = new RAMDirectory(); IndexWriter writer1 = new IndexWriter(ramDir1, new StandardAnalyzer(), true); Document d = new Document(); - Field f = new Field(FIELD_NAME, "multiOne", true, true, true); + Field f = new Field(FIELD_NAME, "multiOne", Field.Store.YES, Field.Index.TOKENIZED); d.add(f); writer1.addDocument(d); writer1.optimize(); @@ -417,7 +420,7 @@ RAMDirectory ramDir2 = new RAMDirectory(); IndexWriter writer2 = new IndexWriter(ramDir2, new StandardAnalyzer(), true); d = new Document(); - f = new Field(FIELD_NAME, "multiTwo", true, true, true); + f = new Field(FIELD_NAME, "multiTwo", Field.Store.YES, Field.Index.TOKENIZED); d.add(f); writer2.addDocument(d); writer2.optimize(); @@ -430,7 +433,8 @@ searchers[0] = new IndexSearcher(ramDir1); searchers[1] = new IndexSearcher(ramDir2); MultiSearcher multiSearcher=new MultiSearcher(searchers); - query = QueryParser.parse("multi*", FIELD_NAME, new StandardAnalyzer()); + QueryParser parser=new QueryParser(FIELD_NAME, new StandardAnalyzer()); + query = parser.parse("multi*"); System.out.println("Searching for: " + query.toString(FIELD_NAME)); //at this point the multisearcher calls combine(query[]) hits = multiSearcher.search(query); @@ -536,7 +540,8 @@ public void doSearching(String queryString) throws Exception { searcher = new IndexSearcher(ramDir); - query = QueryParser.parse(queryString, FIELD_NAME, new StandardAnalyzer()); + QueryParser parser=new QueryParser(FIELD_NAME, new StandardAnalyzer()); + query = parser.parse(queryString); //for any multi-term queries to work (prefix, wildcard, range,fuzzy etc) you must use a rewritten query! query=query.rewrite(reader); System.out.println("Searching for: " + query.toString(FIELD_NAME)); @@ -585,7 +590,7 @@ private void addDoc(IndexWriter writer, String text) throws IOException { Document d = new Document(); - Field f = new Field(FIELD_NAME, text, true, true, true); + Field f = new Field(FIELD_NAME, text,Field.Store.YES, Field.Index.TOKENIZED); d.add(f); writer.addDocument(d); From [email protected] Tue Feb 21 21:43:32 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 7539 invoked from network); 21 Feb 2006 21:43:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Feb 2006 21:43:32 -0000 Received: (qmail 92643 invoked by uid 500); 21 Feb 2006 21:43:31 -0000 Delivered-To: [email protected] Received: (qmail 92606 invoked by uid 500); 21 Feb 2006 21:43:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <java-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 92595 invoked by uid 99); 21 Feb 2006 21:43:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2006 13:43:31 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 21 Feb 2006 13:43:30 -0800 Received: (qmail 7388 invoked by uid 65534); 21 Feb 2006 21:43:10 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r379598 - in /lucene/java/trunk: BUILD.txt README.txt Date: Tue, 21 Feb 2006 21:43:09 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.6 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: dnaber Date: Tue Feb 21 13:43:08 2006 New Revision: 379598 URL: http://svn.apache.org/viewcvs?rev=379598&view=rev Log: updating file names und an URL Modified: lucene/java/trunk/BUILD.txt lucene/java/trunk/README.txt Modified: lucene/java/trunk/BUILD.txt URL: http://svn.apache.org/viewcvs/lucene/java/trunk/BUILD.txt?rev=379598&r1=379597&r2=379598&view=diff ============================================================================== --- lucene/java/trunk/BUILD.txt (original) +++ lucene/java/trunk/BUILD.txt Tue Feb 21 13:43:08 2006 @@ -38,7 +38,7 @@ route, or you might have an incomplete copy of the Lucene, so: Lucene releases are available for download at: - http://www.apache.org/dyn/closer.cgi/jakarta/lucene/ + http://www.apache.org/dyn/closer.cgi/lucene/java/ Download either a zip or a tarred/gzipped version of the archive, and uncompress it into a directory of your choice. Modified: lucene/java/trunk/README.txt URL: http://svn.apache.org/viewcvs/lucene/java/trunk/README.txt?rev=379598&r1=379597&r2=379598&view=diff ============================================================================== --- lucene/java/trunk/README.txt (original) +++ lucene/java/trunk/README.txt Tue Feb 21 13:43:08 2006 @@ -16,8 +16,11 @@ FILES -lucene-XX.jar +lucene-core-XX.jar The compiled lucene library. + +lucene-demos-XX.jar + The compiled simple example code. docs/index.html The contents of the Lucene website. From [email protected] Tue Feb 21 21:48:32 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10318 invoked from network); 21 Feb 2006 21:48:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 21 Feb 2006 21:48:32 -0000 Received: (qmail 7751 invoked by uid 500); 21 Feb 2006 21:48:31 -0000 Delivered-To: [email protected] Received: (qmail 7726 invoked by uid 500); 21 Feb 2006 21:48:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <java-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 7714 invoked by uid 99); 21 Feb 2006 21:48:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2006 13:48:31 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 21 Feb 2006 13:48:30 -0800 Received: (qmail 10086 invoked by uid 65534); 21 Feb 2006 21:48:10 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r379599 - in /lucene/java/trunk/src/jsp: README.txt configuration.jsp Date: Tue, 21 Feb 2006 21:48:09 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.6 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: dnaber Date: Tue Feb 21 13:48:07 2006 New Revision: 379599 URL: http://svn.apache.org/viewcvs?rev=379599&view=rev Log: renaming Jakarta Lucene to Apache Lucene Modified: lucene/java/trunk/src/jsp/README.txt lucene/java/trunk/src/jsp/configuration.jsp Modified: lucene/java/trunk/src/jsp/README.txt URL: http://svn.apache.org/viewcvs/lucene/java/trunk/src/jsp/README.txt?rev=379599&r1=379598&r2=379599&view=diff ============================================================================== --- lucene/java/trunk/src/jsp/README.txt (original) +++ lucene/java/trunk/src/jsp/README.txt Tue Feb 21 13:48:07 2006 @@ -1,8 +1,8 @@ -To build the Jakarta Lucene web app demo just run -"ant war-demo" from the Jakarta Lucene Installation +To build the Apache Lucene web app demo just run +"ant war-demo" from the Apache Lucene Installation directory (follow the master instructions in BUILD.txt). If you have questions please post -them to the Jakarta Lucene mailing lists. To +them to the Apache Lucene mailing lists. To actually figure this out you really need to read the Lucene "Getting Started" guide provided with the doc build ("ant docs"). Modified: lucene/java/trunk/src/jsp/configuration.jsp URL: http://svn.apache.org/viewcvs/lucene/java/trunk/src/jsp/configuration.jsp?rev=379599&r1=379598&r2=379599&view=diff ============================================================================== --- lucene/java/trunk/src/jsp/configuration.jsp (original) +++ lucene/java/trunk/src/jsp/configuration.jsp Tue Feb 21 13:48:07 2006 @@ -1,7 +1,7 @@ <% /* Author: Andrew C. Oliver ([email protected]) */ -String appTitle = "Jakarta Lucene Example - Intranet Server Search Application"; +String appTitle = "Apache Lucene Example - Intranet Server Search Application"; /* make sure you point the below string to the index you created with IndexHTML */ String indexLocation = "/opt/lucene/index"; -String appfooter = "Jakarta Lucene Template WebApp 1.0"; +String appfooter = "Apache Lucene Template WebApp 1.0"; %> From [email protected] Thu Feb 23 19:53:52 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 56457 invoked from network); 23 Feb 2006 19:53:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 23 Feb 2006 19:53:52 -0000 Received: (qmail 54135 invoked by uid 500); 23 Feb 2006 19:53:52 -0000 Delivered-To: [email protected] Received: (qmail 54106 invoked by uid 500); 23 Feb 2006 19:53:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <java-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 54095 invoked by uid 99); 23 Feb 2006 19:53:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Feb 2006 11:53:51 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 23 Feb 2006 11:53:50 -0800 Received: (qmail 56338 invoked by uid 65534); 23 Feb 2006 19:53:30 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r380207 - /lucene/java/trunk/src/java/org/apache/lucene/document/DateField.java Date: Thu, 23 Feb 2006 19:53:29 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: dnaber Date: Thu Feb 23 11:53:26 2006 New Revision: 380207 URL: http://svn.apache.org/viewcvs?rev=380207&view=rev Log: improve exception message Modified: lucene/java/trunk/src/java/org/apache/lucene/document/DateField.java Modified: lucene/java/trunk/src/java/org/apache/lucene/document/DateField.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/src/java/org/apache/lucene/document/DateField.java?rev=380207&r1=380206&r2=380207&view=diff ============================================================================== --- lucene/java/trunk/src/java/org/apache/lucene/document/DateField.java (original) +++ lucene/java/trunk/src/java/org/apache/lucene/document/DateField.java Thu Feb 23 11:53:26 2006 @@ -76,12 +76,13 @@ */ public static String timeToString(long time) { if (time < 0) - throw new RuntimeException("time too early"); + throw new RuntimeException("time '" + time + "' is too early, must be >= 0"); String s = Long.toString(time, Character.MAX_RADIX); if (s.length() > DATE_LEN) - throw new RuntimeException("time too late"); + throw new RuntimeException("time '" + time + "' is too late, length of string " + + "representation must be <= " + DATE_LEN); // Pad with leading zeros if (s.length() < DATE_LEN) { From [email protected] Sat Feb 25 00:40:01 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 16994 invoked from network); 25 Feb 2006 00:40:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Feb 2006 00:40:00 -0000 Received: (qmail 17133 invoked by uid 500); 25 Feb 2006 00:40:00 -0000 Delivered-To: [email protected] Received: (qmail 17117 invoked by uid 500); 25 Feb 2006 00:40:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <java-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 17102 invoked by uid 99); 25 Feb 2006 00:39:59 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Feb 2006 16:39:59 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 24 Feb 2006 16:39:56 -0800 Received: (qmail 16919 invoked by uid 65534); 25 Feb 2006 00:39:35 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r380874 [2/3] - in /lucene/java/trunk/contrib: queries/ queries/src/ queries/src/java/ queries/src/java/org/ queries/src/java/org/apache/ queries/src/java/org/apache/lucene/ queries/src/java/org/apache/lucene/search/ queries/src/java/org/ap... Date: Sat, 25 Feb 2006 00:39:24 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Added: lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/ParserException.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/ParserException.java?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/ParserException.java (added) +++ lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/ParserException.java Fri Feb 24 16:39:18 2006 @@ -0,0 +1,40 @@ +/* + * Created on 25-Jan-2006 + */ +package org.apache.lucene.xmlparser; + +/** + * @author maharwood + */ +public class ParserException extends Exception { + + /** + * + */ + public ParserException() { + super(); + // TODO Auto-generated constructor stub + } + /** + * @param message + */ + public ParserException(String message) { + super(message); + // TODO Auto-generated constructor stub + } + /** + * @param message + * @param cause + */ + public ParserException(String message, Throwable cause) { + super(message, cause); + // TODO Auto-generated constructor stub + } + /** + * @param cause + */ + public ParserException(Throwable cause) { + super(cause); + // TODO Auto-generated constructor stub + } +} Added: lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/QueryBuilder.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/QueryBuilder.java?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/QueryBuilder.java (added) +++ lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/QueryBuilder.java Fri Feb 24 16:39:18 2006 @@ -0,0 +1,15 @@ +package org.apache.lucene.xmlparser; + +import org.apache.lucene.search.Query; +import org.w3c.dom.Element; + +/** + * Implemented by objects that produce Lucene Query objects from XML streams. Implementations are + * expected to be thread-safe so that they can be used to simultaneously parse multiple XML documents. + * @author maharwood + */ +public interface QueryBuilder { + + public Query getQuery(Element e) throws ParserException; + +} Added: lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/QueryBuilderFactory.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/QueryBuilderFactory.java?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/QueryBuilderFactory.java (added) +++ lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/QueryBuilderFactory.java Fri Feb 24 16:39:18 2006 @@ -0,0 +1,31 @@ +/* + * Created on 25-Jan-2006 + */ +package org.apache.lucene.xmlparser; + +import java.util.HashMap; + +import org.apache.lucene.search.Query; +import org.w3c.dom.Element; + +/** + * @author maharwood + */ +public class QueryBuilderFactory implements QueryBuilder { + + HashMap builders=new HashMap(); + + public Query getQuery(Element n) throws ParserException { + QueryBuilder builder=(QueryBuilder) builders.get(n.getNodeName()); + if(builder==null) + { + throw new ParserException("No QueryObjectBuilder defined for node "+n.getNodeName()); + } + return builder.getQuery(n); + } + public void addBuilder(String nodeName,QueryBuilder builder) + { + builders.put(nodeName,builder); + } + +} Added: lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/BooleanQueryBuilder.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/BooleanQueryBuilder.java?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/BooleanQueryBuilder.java (added) +++ lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/BooleanQueryBuilder.java Fri Feb 24 16:39:18 2006 @@ -0,0 +1,89 @@ +/* + * Created on 25-Jan-2006 + */ +package org.apache.lucene.xmlparser.builders; + +import org.apache.lucene.search.BooleanClause; +import org.apache.lucene.search.BooleanQuery; +import org.apache.lucene.search.Query; +import org.apache.lucene.xmlparser.DOMUtils; +import org.apache.lucene.xmlparser.ParserException; +import org.apache.lucene.xmlparser.QueryBuilder; +import org.w3c.dom.Element; +import org.w3c.dom.NodeList; + + +/** + * @author maharwood + */ +public class BooleanQueryBuilder implements QueryBuilder { + + private QueryBuilder factory; + + public BooleanQueryBuilder(QueryBuilder factory) + { + this.factory=factory; + } + + /* (non-Javadoc) + * @see org.apache.lucene.xmlparser.QueryObjectBuilder#process(org.w3c.dom.Element) + */ + public Query getQuery(Element e) throws ParserException { + BooleanQuery bq=new BooleanQuery(); + bq.setBoost(DOMUtils.getAttribute(e,"boost",1.0f)); + NodeList nl = e.getElementsByTagName("Clause"); + for(int i=0;i<nl.getLength();i++) + { + Element clauseElem=(Element) nl.item(i); + BooleanClause.Occur occurs=getOccursValue(clauseElem); + + //find the first element child which should contain a Query + Element clauseQuery=DOMUtils.getFirstChildElement(clauseElem); + if(clauseQuery!=null) + { + Query q=factory.getQuery(clauseQuery); + bq.add(new BooleanClause(q,occurs)); + + } + else + { + throw new ParserException("BooleanClause missing child query element "); + } + } + + return bq; + } + private BooleanClause.Occur getOccursValue(Element clauseElem) throws ParserException + { + String occs=clauseElem.getAttribute("occurs"); + BooleanClause.Occur occurs=BooleanClause.Occur.SHOULD; + if("must".equalsIgnoreCase(occs)) + { + occurs=BooleanClause.Occur.MUST; + } + else + { + if("mustNot".equalsIgnoreCase(occs)) + { + occurs=BooleanClause.Occur.MUST_NOT; + } + else + { + if(("should".equalsIgnoreCase(occs))||("".equals(occs))) + { + occurs=BooleanClause.Occur.SHOULD; + } + else + { + if(occs!=null) + { + throw new ParserException("Invalid value for \"occurs\" attribute of clause:"+occs); + } + } + } + } + return occurs; + + } + +} Added: lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/BoostingQueryBuilder.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/BoostingQueryBuilder.java?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/BoostingQueryBuilder.java (added) +++ lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/BoostingQueryBuilder.java Fri Feb 24 16:39:18 2006 @@ -0,0 +1,58 @@ +package org.apache.lucene.xmlparser.builders; + +import org.apache.lucene.search.BoostingQuery; +import org.apache.lucene.search.Query; +import org.apache.lucene.xmlparser.DOMUtils; +import org.apache.lucene.xmlparser.ParserException; +import org.apache.lucene.xmlparser.QueryBuilder; +import org.w3c.dom.Element; + + +public class BoostingQueryBuilder implements QueryBuilder +{ + + private QueryBuilder factory; + float defaultBoost=0.01f; + + public BoostingQueryBuilder (QueryBuilder factory) + { + this.factory=factory; + } + + public Query getQuery(Element e) throws ParserException + { + + Element mainQueryElem=DOMUtils.getChildByTagName(e,"Query"); + if(mainQueryElem==null) + { + throw new ParserException("BoostingQuery missing a \"Query\" child element"); + } + mainQueryElem=DOMUtils.getFirstChildElement(mainQueryElem); + if(mainQueryElem==null) + { + throw new ParserException("BoostingQuery \"Query\" element missing a child element"); + } + Query mainQuery=factory.getQuery(mainQueryElem); + + + Element boostQueryElem=DOMUtils.getChildByTagName(e,"BoostQuery"); + float boost=DOMUtils.getAttribute(boostQueryElem,"boost",defaultBoost); + if(boostQueryElem==null) + { + throw new ParserException("BoostingQuery missing a \"BoostQuery\" child element"); + } + boostQueryElem=DOMUtils.getFirstChildElement(boostQueryElem); + if(boostQueryElem==null) + { + throw new ParserException("BoostingQuery \"BoostQuery\" element missing a child element"); + } + Query boostQuery=factory.getQuery(boostQueryElem); + + BoostingQuery bq = new BoostingQuery(mainQuery,boostQuery,boost); + bq.setBoost(DOMUtils.getAttribute(e,"boost",1.0f)); + return bq; + + } + + +} Added: lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/ConstantScoreQueryBuilder.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/ConstantScoreQueryBuilder.java?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/ConstantScoreQueryBuilder.java (added) +++ lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/ConstantScoreQueryBuilder.java Fri Feb 24 16:39:18 2006 @@ -0,0 +1,32 @@ +package org.apache.lucene.xmlparser.builders; + +import org.apache.lucene.search.ConstantScoreQuery; +import org.apache.lucene.search.Query; +import org.apache.lucene.xmlparser.DOMUtils; +import org.apache.lucene.xmlparser.FilterBuilderFactory; +import org.apache.lucene.xmlparser.ParserException; +import org.apache.lucene.xmlparser.QueryBuilder; +import org.w3c.dom.Element; + +public class ConstantScoreQueryBuilder implements QueryBuilder +{ + private FilterBuilderFactory filterFactory; + + public ConstantScoreQueryBuilder(FilterBuilderFactory filterFactory) + { + this.filterFactory=filterFactory; + } + + public Query getQuery(Element e) throws ParserException + { + Element filterElem=DOMUtils.getFirstChildElement(e); + if(filterElem==null) + { + throw new ParserException("ConstantScoreQuery missing child element with filter"); + } + Query q=new ConstantScoreQuery(filterFactory.getFilter(filterElem)); + q.setBoost(DOMUtils.getAttribute(e,"boost",1.0f)); + return q; + } + +} Added: lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/FuzzyLikeThisQueryBuilder.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/FuzzyLikeThisQueryBuilder.java?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/FuzzyLikeThisQueryBuilder.java (added) +++ lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/FuzzyLikeThisQueryBuilder.java Fri Feb 24 16:39:18 2006 @@ -0,0 +1,47 @@ +package org.apache.lucene.xmlparser.builders; + +import org.apache.lucene.analysis.Analyzer; +import org.apache.lucene.search.FuzzyLikeThisQuery; +import org.apache.lucene.search.Query; +import org.apache.lucene.xmlparser.DOMUtils; +import org.apache.lucene.xmlparser.ParserException; +import org.apache.lucene.xmlparser.QueryBuilder; +import org.w3c.dom.Element; +import org.w3c.dom.NodeList; + + +public class FuzzyLikeThisQueryBuilder implements QueryBuilder +{ + int defaultMaxNumTerms=50; + float defaultMinSimilarity=0.5f; + int defaultPrefixLength=1; + boolean defaultIgnoreTF=false; + private Analyzer analyzer; + + public FuzzyLikeThisQueryBuilder(Analyzer analyzer) + { + this.analyzer=analyzer; + } + + public Query getQuery(Element e) throws ParserException + { + NodeList nl = e.getElementsByTagName("Field"); + int maxNumTerms=DOMUtils.getAttribute(e,"maxNumTerms",defaultMaxNumTerms); + FuzzyLikeThisQuery fbq=new FuzzyLikeThisQuery(maxNumTerms,analyzer); + fbq.setIgnoreTF(DOMUtils.getAttribute(e,"ignoreTF",defaultIgnoreTF)); + for(int i=0;i<nl.getLength();i++) + { + Element fieldElem=(Element) nl.item(i); + float minSimilarity=DOMUtils.getAttribute(fieldElem,"minSimilarity",defaultMinSimilarity); + int prefixLength=DOMUtils.getAttribute(fieldElem,"prefixLength",defaultPrefixLength); + String fieldName=DOMUtils.getAttributeWithInheritance(fieldElem,"fieldName"); + + String value=DOMUtils.getText(fieldElem); + fbq.addTerms(value,fieldName,minSimilarity,prefixLength); + } + fbq.setBoost(DOMUtils.getAttribute(e,"boost",1.0f)); + + return fbq; + } + +} Added: lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/LikeThisQueryBuilder.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/LikeThisQueryBuilder.java?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/LikeThisQueryBuilder.java (added) +++ lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/LikeThisQueryBuilder.java Fri Feb 24 16:39:18 2006 @@ -0,0 +1,58 @@ +/* + * Created on 25-Jan-2006 + */ +package org.apache.lucene.xmlparser.builders; + +import org.apache.lucene.analysis.Analyzer; +import org.apache.lucene.search.similar.MoreLikeThisQuery; +import org.apache.lucene.search.Query; +import org.apache.lucene.xmlparser.DOMUtils; +import org.apache.lucene.xmlparser.ParserException; +import org.apache.lucene.xmlparser.QueryBuilder; +import org.w3c.dom.Element; + + +/** + * @author maharwood + */ +public class LikeThisQueryBuilder implements QueryBuilder { + + private Analyzer analyzer; + String defaultFieldNames []; + int defaultMaxQueryTerms=20; + int defaultMinTermFrequency=1; + float defaultPercentTermsToMatch=30; //default is a 3rd of selected terms must match + + public LikeThisQueryBuilder(Analyzer analyzer,String [] defaultFieldNames) + { + this.analyzer=analyzer; + this.defaultFieldNames=defaultFieldNames; + } + + /* (non-Javadoc) + * @see org.apache.lucene.xmlparser.QueryObjectBuilder#process(org.w3c.dom.Element) + */ + public Query getQuery(Element e) throws ParserException { + String fieldsList=e.getAttribute("fieldNames"); //a comma-delimited list of fields + String fields[]=defaultFieldNames; + if((fieldsList!=null)&&(fieldsList.trim().length()>0)) + { + fields=fieldsList.trim().split(","); + //trim the fieldnames + for (int i = 0; i < fields.length; i++) { + fields[i]=fields[i].trim(); + } + } + MoreLikeThisQuery mlt=new MoreLikeThisQuery(DOMUtils.getText(e),fields,analyzer); + mlt.setMaxQueryTerms(DOMUtils.getAttribute(e,"maxQueryTerms",defaultMaxQueryTerms)); + mlt.setMinTermFrequency(DOMUtils.getAttribute(e,"minTermFrequency",defaultMinTermFrequency)); + mlt.setPercentTermsToMatch(DOMUtils.getAttribute(e,"percentTermsToMatch",defaultPercentTermsToMatch)/100); + + mlt.setBoost(DOMUtils.getAttribute(e,"boost",1.0f)); + + return mlt; + } + + + +} Added: lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/RangeFilterBuilder.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/RangeFilterBuilder.java?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/RangeFilterBuilder.java (added) +++ lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/RangeFilterBuilder.java Fri Feb 24 16:39:18 2006 @@ -0,0 +1,32 @@ +/* + * Created on 25-Jan-2006 + */ +package org.apache.lucene.xmlparser.builders; + +import org.apache.lucene.search.Filter; +import org.apache.lucene.search.RangeFilter; +import org.apache.lucene.xmlparser.DOMUtils; +import org.apache.lucene.xmlparser.FilterBuilder; +import org.apache.lucene.xmlparser.ParserException; +import org.w3c.dom.Element; + + + +/** + * @author maharwood + */ +public class RangeFilterBuilder implements FilterBuilder { + + + public Filter getFilter(Element e) throws ParserException { + + String fieldName=DOMUtils.getAttributeWithInheritance(e,"fieldName"); + + String lowerTerm=e.getAttribute("lowerTerm"); + String upperTerm=e.getAttribute("upperTerm"); + boolean includeLower=DOMUtils.getAttribute(e,"includeLower",true); + boolean includeUpper=DOMUtils.getAttribute(e,"includeUpper",true); + return new RangeFilter(fieldName,lowerTerm,upperTerm,includeLower,includeUpper); + } + +} Added: lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanBuilderBase.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanBuilderBase.java?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanBuilderBase.java (added) +++ lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanBuilderBase.java Fri Feb 24 16:39:18 2006 @@ -0,0 +1,14 @@ +package org.apache.lucene.xmlparser.builders; + +import org.apache.lucene.search.Query; +import org.apache.lucene.xmlparser.ParserException; +import org.w3c.dom.Element; + +public abstract class SpanBuilderBase implements SpanQueryBuilder +{ + public Query getQuery(Element e) throws ParserException + { + return getSpanQuery(e); + } + +} Added: lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanFirstBuilder.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanFirstBuilder.java?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanFirstBuilder.java (added) +++ lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanFirstBuilder.java Fri Feb 24 16:39:18 2006 @@ -0,0 +1,31 @@ +package org.apache.lucene.xmlparser.builders; + +import org.apache.lucene.search.spans.SpanFirstQuery; +import org.apache.lucene.search.spans.SpanQuery; +import org.apache.lucene.xmlparser.DOMUtils; +import org.apache.lucene.xmlparser.ParserException; +import org.w3c.dom.Element; + +public class SpanFirstBuilder extends SpanBuilderBase +{ + SpanQueryBuilder factory; + + public SpanFirstBuilder(SpanQueryBuilder factory) + { + super(); + this.factory = factory; + } + + public SpanQuery getSpanQuery(Element e) throws ParserException + { + int end=DOMUtils.getAttribute(e,"end",1); + Element child=DOMUtils.getFirstChildElement(e); + SpanQuery q=factory.getSpanQuery(child); + + SpanFirstQuery sfq = new SpanFirstQuery(q,end); + + sfq.setBoost(DOMUtils.getAttribute(e,"boost",1.0f)); + return sfq; + } + +} Added: lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanNearBuilder.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanNearBuilder.java?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanNearBuilder.java (added) +++ lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanNearBuilder.java Fri Feb 24 16:39:18 2006 @@ -0,0 +1,42 @@ +package org.apache.lucene.xmlparser.builders; + +import java.util.ArrayList; + +import org.apache.lucene.search.spans.SpanNearQuery; +import org.apache.lucene.search.spans.SpanQuery; +import org.apache.lucene.xmlparser.DOMUtils; +import org.apache.lucene.xmlparser.ParserException; +import org.w3c.dom.Element; +import org.w3c.dom.Node; + +public class SpanNearBuilder extends SpanBuilderBase +{ + SpanQueryBuilder factory; + public SpanNearBuilder(SpanQueryBuilder factory) + { + this.factory=factory; + } + + public SpanQuery getSpanQuery(Element e) throws ParserException + { + String slopString=e.getAttribute("slop"); + if((slopString==null)||(slopString.length()==0)) + { + throw new ParserException("SpanTermQuery missing slop property "); + } + int slop=Integer.parseInt(slopString); + boolean inOrder=DOMUtils.getAttribute(e,"inOrder",false); + ArrayList spans=new ArrayList(); + for (Node kid = e.getFirstChild(); kid != null; kid = kid.getNextSibling()) + { + if (kid.getNodeType() == Node.ELEMENT_NODE) + { + spans.add(factory.getSpanQuery((Element) kid)); + } + } + SpanQuery[] spanQueries=(SpanQuery[]) spans.toArray(new SpanQuery[spans.size()]); + SpanNearQuery snq=new SpanNearQuery(spanQueries,slop,inOrder); + return snq; + } + +} Added: lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanNotBuilder.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanNotBuilder.java?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanNotBuilder.java (added) +++ lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanNotBuilder.java Fri Feb 24 16:39:18 2006 @@ -0,0 +1,51 @@ +package org.apache.lucene.xmlparser.builders; + +import org.apache.lucene.search.spans.SpanNotQuery; +import org.apache.lucene.search.spans.SpanQuery; +import org.apache.lucene.xmlparser.DOMUtils; +import org.apache.lucene.xmlparser.ParserException; +import org.w3c.dom.Element; + +public class SpanNotBuilder extends SpanBuilderBase +{ + + SpanQueryBuilder factory; + + /** + * @param factory + */ + public SpanNotBuilder(SpanQueryBuilder factory) + { + super(); + this.factory = factory; + } + public SpanQuery getSpanQuery(Element e) throws ParserException + { + Element includeElem=DOMUtils.getChildByTagName(e,"Include"); + if(includeElem!=null) + { + includeElem=DOMUtils.getFirstChildElement(includeElem); + } + if(includeElem==null) + { + throw new ParserException("SpanNotQuery missing Include child Element"); + } + Element excludeElem=DOMUtils.getChildByTagName(e,"Exclude"); + if(excludeElem!=null) + { + excludeElem=DOMUtils.getFirstChildElement(excludeElem); + } + if(excludeElem==null) + { + throw new ParserException("SpanNotQuery missing Exclude child Element"); + } + SpanQuery include=factory.getSpanQuery(includeElem); + SpanQuery exclude=factory.getSpanQuery(excludeElem); + + SpanNotQuery snq = new SpanNotQuery(include,exclude); + + snq.setBoost(DOMUtils.getAttribute(e,"boost",1.0f)); + return snq; + } + +} Added: lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanOrBuilder.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanOrBuilder.java?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanOrBuilder.java (added) +++ lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanOrBuilder.java Fri Feb 24 16:39:18 2006 @@ -0,0 +1,40 @@ +package org.apache.lucene.xmlparser.builders; + +import java.util.ArrayList; + +import org.apache.lucene.search.spans.SpanOrQuery; +import org.apache.lucene.search.spans.SpanQuery; +import org.apache.lucene.xmlparser.DOMUtils; +import org.apache.lucene.xmlparser.ParserException; +import org.w3c.dom.Element; +import org.w3c.dom.Node; + +public class SpanOrBuilder extends SpanBuilderBase +{ + + SpanQueryBuilder factory; + + public SpanOrBuilder(SpanQueryBuilder factory) + { + super(); + this.factory = factory; + } + + public SpanQuery getSpanQuery(Element e) throws ParserException + { + ArrayList clausesList=new ArrayList(); + for (Node kid = e.getFirstChild(); kid != null; kid = kid.getNextSibling()) + { + if (kid.getNodeType() == Node.ELEMENT_NODE) + { + SpanQuery clause=factory.getSpanQuery((Element) kid); + clausesList.add(clause); + } + } + SpanQuery[] clauses=(SpanQuery[]) clausesList.toArray(new SpanQuery[clausesList.size()]); + SpanOrQuery soq = new SpanOrQuery(clauses); + soq.setBoost(DOMUtils.getAttribute(e,"boost",1.0f)); + return soq; + } + +} Added: lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanOrTermsBuilder.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanOrTermsBuilder.java?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanOrTermsBuilder.java (added) +++ lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanOrTermsBuilder.java Fri Feb 24 16:39:18 2006 @@ -0,0 +1,62 @@ +package org.apache.lucene.xmlparser.builders; + +import java.io.IOException; +import java.io.StringReader; +import java.util.ArrayList; + +import org.apache.lucene.analysis.Analyzer; +import org.apache.lucene.analysis.Token; +import org.apache.lucene.analysis.TokenStream; +import org.apache.lucene.index.Term; +import org.apache.lucene.search.spans.SpanOrQuery; +import org.apache.lucene.search.spans.SpanQuery; +import org.apache.lucene.search.spans.SpanTermQuery; +import org.apache.lucene.xmlparser.DOMUtils; +import org.apache.lucene.xmlparser.ParserException; +import org.w3c.dom.Element; + +public class SpanOrTermsBuilder extends SpanBuilderBase +{ + Analyzer analyzer; + + + /** + * @param analyzer + */ + public SpanOrTermsBuilder(Analyzer analyzer) + { + super(); + this.analyzer = analyzer; + } + public SpanQuery getSpanQuery(Element e) throws ParserException + { + String fieldName=DOMUtils.getAttributeWithInheritance(e,"fieldName"); + if(fieldName==null) + { + throw new ParserException("Error: SpanOrTermsBuilder missing \"fieldName\" property"); + } + + String value=DOMUtils.getText(e); + + try + { + ArrayList clausesList=new ArrayList(); + TokenStream ts=analyzer.tokenStream(fieldName,new StringReader(value)); + Token token=ts.next(); + while(token!=null) + { + SpanTermQuery stq=new SpanTermQuery(new Term(fieldName,token.termText())); + clausesList.add(stq); + token=ts.next(); + } + SpanOrQuery soq=new SpanOrQuery((SpanQuery[]) clausesList.toArray(new SpanQuery[clausesList.size()])); + soq.setBoost(DOMUtils.getAttribute(e,"boost",1.0f)); + return soq; + } + catch(IOException ioe) + { + throw new ParserException("IOException parsing value:"+value); + } + } + +} Added: lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanQueryBuilder.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanQueryBuilder.java?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanQueryBuilder.java (added) +++ lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanQueryBuilder.java Fri Feb 24 16:39:18 2006 @@ -0,0 +1,18 @@ +/* + * Created on 25-Jan-2006 + */ +package org.apache.lucene.xmlparser.builders; + +import org.apache.lucene.search.spans.SpanQuery; +import org.apache.lucene.xmlparser.ParserException; +import org.apache.lucene.xmlparser.QueryBuilder; +import org.w3c.dom.Element; + +/** + * @author maharwood + */ +public interface SpanQueryBuilder extends QueryBuilder{ + + public SpanQuery getSpanQuery(Element e) throws ParserException; + +} Added: lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanQueryBuilderFactory.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanQueryBuilderFactory.java?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanQueryBuilderFactory.java (added) +++ lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanQueryBuilderFactory.java Fri Feb 24 16:39:18 2006 @@ -0,0 +1,34 @@ +package org.apache.lucene.xmlparser.builders; + +import java.util.HashMap; + +import org.apache.lucene.search.Query; +import org.apache.lucene.search.spans.SpanQuery; +import org.apache.lucene.xmlparser.ParserException; +import org.w3c.dom.Element; + +/** + * @author maharwood + */ +public class SpanQueryBuilderFactory implements SpanQueryBuilder { + + HashMap builders=new HashMap(); + + public Query getQuery(Element e) throws ParserException { + return getSpanQuery(e); + } + public void addBuilder(String nodeName,SpanQueryBuilder builder) + { + builders.put(nodeName,builder); + } + public SpanQuery getSpanQuery(Element e) throws ParserException + { + SpanQueryBuilder builder=(SpanQueryBuilder) builders.get(e.getNodeName()); + if(builder==null) + { + throw new ParserException("No SpanQueryObjectBuilder defined for node "+e.getNodeName()); + } + return builder.getSpanQuery(e); + } + +} Added: lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanTermBuilder.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanTermBuilder.java?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanTermBuilder.java (added) +++ lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanTermBuilder.java Fri Feb 24 16:39:18 2006 @@ -0,0 +1,31 @@ +package org.apache.lucene.xmlparser.builders; + +import org.apache.lucene.index.Term; +import org.apache.lucene.search.spans.SpanQuery; +import org.apache.lucene.search.spans.SpanTermQuery; +import org.apache.lucene.xmlparser.DOMUtils; +import org.apache.lucene.xmlparser.ParserException; +import org.w3c.dom.Element; + +public class SpanTermBuilder extends SpanBuilderBase +{ + + public SpanQuery getSpanQuery(Element e) throws ParserException + { + String fieldName=DOMUtils.getAttributeWithInheritance(e,"fieldName"); + String value=DOMUtils.getText(e); + if((fieldName==null)||(fieldName.length()==0)) + { + throw new ParserException("SpanTermQuery missing fieldName property "); + } + if((value==null)||(value.length()==0)) + { + throw new ParserException("TermQuery missing value property "); + } + SpanTermQuery stq = new SpanTermQuery(new Term(fieldName,value)); + + stq.setBoost(DOMUtils.getAttribute(e,"boost",1.0f)); + return stq; + } + +} Added: lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/TermQueryBuilder.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/TermQueryBuilder.java?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/TermQueryBuilder.java (added) +++ lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/TermQueryBuilder.java Fri Feb 24 16:39:18 2006 @@ -0,0 +1,37 @@ +/* + * Created on 25-Jan-2006 + */ +package org.apache.lucene.xmlparser.builders; + +import org.apache.lucene.index.Term; +import org.apache.lucene.search.Query; +import org.apache.lucene.search.TermQuery; +import org.apache.lucene.xmlparser.DOMUtils; +import org.apache.lucene.xmlparser.ParserException; +import org.apache.lucene.xmlparser.QueryBuilder; +import org.w3c.dom.Element; + + +/** + * @author maharwood + */ +public class TermQueryBuilder implements QueryBuilder { + + public Query getQuery(Element e) throws ParserException { + String field=DOMUtils.getAttributeWithInheritance(e,"fieldName"); + String value=DOMUtils.getText(e); + if((field==null)||(field.length()==0)) + { + throw new ParserException("TermQuery element missing fieldName attribute"); + } + if((value==null)||(value.length()==0)) + { + throw new ParserException("TermQuery element missing child text property "); + } + TermQuery tq = new TermQuery(new Term(field,value)); + + tq.setBoost(DOMUtils.getAttribute(e,"boost",1.0f)); + return tq; + } + +} Added: lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/TermsFilterBuilder.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/TermsFilterBuilder.java?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/TermsFilterBuilder.java (added) +++ lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/TermsFilterBuilder.java Fri Feb 24 16:39:18 2006 @@ -0,0 +1,79 @@ +package org.apache.lucene.xmlparser.builders; + +import java.io.IOException; +import java.io.StringReader; + +import org.apache.lucene.analysis.Analyzer; +import org.apache.lucene.analysis.Token; +import org.apache.lucene.analysis.TokenStream; +import org.apache.lucene.index.Term; +import org.apache.lucene.search.Filter; +import org.apache.lucene.search.TermsFilter; +import org.apache.lucene.xmlparser.DOMUtils; +import org.apache.lucene.xmlparser.FilterBuilder; +import org.apache.lucene.xmlparser.ParserException; +import org.w3c.dom.Element; +import org.w3c.dom.NodeList; + + +/** + * @author maharwood + * + * @ + */ +public class TermsFilterBuilder implements FilterBuilder +{ + Analyzer analyzer; + + /** + * @param analyzer + */ + public TermsFilterBuilder(Analyzer analyzer) + { + this.analyzer = analyzer; + } + + /* (non-Javadoc) + * @see org.apache.lucene.xmlparser.FilterBuilder#process(org.w3c.dom.Element) + */ + public Filter getFilter(Element e) throws ParserException + { + TermsFilter tf=new TermsFilter(); + NodeList nl = e.getElementsByTagName("Field"); + for(int i=0;i<nl.getLength();i++) + { + Element fieldElem=(Element) nl.item(i); + String fieldName=DOMUtils.getAttributeWithInheritance(fieldElem,"fieldName"); + + if(fieldName==null) + { + throw new ParserException("TermsFilter missing \"fieldName\" element"); + } + String text=DOMUtils.getText(fieldElem).trim(); + TokenStream ts = analyzer.tokenStream(fieldName, new StringReader(text)); + try + { + Token token=ts.next(); + Term term=null; + while(token!=null) + { + if(term==null) + { + term=new Term(fieldName,token.termText()); + } + else + { + term=term.createTerm(token.termText()); //create from previous to save fieldName.intern overhead + } + tf.addTerm(term); + token=ts.next(); + } + } + catch(IOException ioe) + { + throw new RuntimeException("Error constructing terms from index:"+ioe); + } + } + return tf; + } +} Added: lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/UserInputQueryBuilder.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/UserInputQueryBuilder.java?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/UserInputQueryBuilder.java (added) +++ lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/UserInputQueryBuilder.java Fri Feb 24 16:39:18 2006 @@ -0,0 +1,44 @@ +/* + * Created on 25-Jan-2006 + */ +package org.apache.lucene.xmlparser.builders; + +import org.apache.lucene.queryParser.ParseException; +import org.apache.lucene.queryParser.QueryParser; +import org.apache.lucene.search.Query; +import org.apache.lucene.xmlparser.DOMUtils; +import org.apache.lucene.xmlparser.ParserException; +import org.apache.lucene.xmlparser.QueryBuilder; +import org.w3c.dom.Element; + + + +/** + * @author maharwood + */ +public class UserInputQueryBuilder implements QueryBuilder { + + QueryParser parser; + + /** + * @param parser + */ + public UserInputQueryBuilder(QueryParser parser) { + this.parser = parser; + } + + /* (non-Javadoc) + * @see org.apache.lucene.xmlparser.QueryObjectBuilder#process(org.w3c.dom.Element) + */ + public Query getQuery(Element e) throws ParserException { + String text=DOMUtils.getText(e); + try { + Query q = parser.parse(text); + q.setBoost(DOMUtils.getAttribute(e,"boost",1.0f)); + return q; + } catch (ParseException e1) { + throw new ParserException(e1.getMessage()); + } + } + +} Added: lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/BooleanQuery.xml URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/BooleanQuery.xml?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/BooleanQuery.xml (added) +++ lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/BooleanQuery.xml Fri Feb 24 16:39:18 2006 @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<BooleanQuery fieldName="contents"> + <Clause occurs="should"> + <TermQuery>merger</TermQuery> + </Clause> + <Clause occurs="mustnot"> + <TermQuery>sumitomo</TermQuery> + </Clause> + <Clause occurs="must"> + <TermQuery>bank</TermQuery> + </Clause> +</BooleanQuery> Added: lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/BoostingQuery.xml URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/BoostingQuery.xml?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/BoostingQuery.xml (added) +++ lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/BoostingQuery.xml Fri Feb 24 16:39:18 2006 @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<BoostingQuery> + <!-- Find docs about banks, preferably merger info and preferably not "World bank" --> + <Query> + <BooleanQuery fieldName="contents"> + <Clause occurs="should"> + <TermQuery>merger</TermQuery> + </Clause> + <Clause occurs="must"> + <TermQuery>bank</TermQuery> + </Clause> + </BooleanQuery> + </Query> + <BoostQuery boost="0.01"> + <UserQuery>"world bank"</UserQuery> + </BoostQuery> +</BoostingQuery> Added: lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/ConstantScoreQuery.xml URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/ConstantScoreQuery.xml?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/ConstantScoreQuery.xml (added) +++ lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/ConstantScoreQuery.xml Fri Feb 24 16:39:18 2006 @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ConstantScoreQuery> + <RangeFilter fieldName="date" lowerTerm="19870409" upperTerm="19870412"/> +</ConstantScoreQuery> Added: lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/FuzzyLikeThisQuery.xml URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/FuzzyLikeThisQuery.xml?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/FuzzyLikeThisQuery.xml (added) +++ lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/FuzzyLikeThisQuery.xml Fri Feb 24 16:39:18 2006 @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<FuzzyLikeThisQuery> + <!-- Matches on misspelt "Sumitomo" bank --> + <Field fieldName="contents"> + Sumitimo bank + </Field> +</FuzzyLikeThisQuery> Added: lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/LikeThisQuery.xml URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/LikeThisQuery.xml?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/LikeThisQuery.xml (added) +++ lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/LikeThisQuery.xml Fri Feb 24 16:39:18 2006 @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<LikeThisQuery percentTermsToMatch="5"> +IRAQI TROOPS REPORTED PUSHING BACK IRANIANS Iraq said today its troops were pushing Iranian forces out of + positions they had initially occupied when they launched a new offensive near the southern port of + Basra early yesterday. A High Command communique said Iraqi troops had won a significant victory + and were continuing to advance. Iraq said it had foiled a three-pronged thrust some 10 km + (six miles) from Basra, but admitted the Iranians had occupied ground held by the Mohammed al-Qassem + unit, one of three divisions attacked. The communique said Iranian Revolutionary Guards were under + assault from warplanes, helicopter gunships, heavy artillery and tanks. "Our forces are continuing + their advance until they purge the last foothold" occupied by the Iranians, it said. + (Iran said its troops had killed or wounded more than 4,000 Iraqis and were stabilising their new positions.) + The Baghdad communique said Iraqi planes also destroyed oil installations at Iran's southwestern Ahvaz field + during a raid today. It denied an Iranian report that an Iraqi jet was shot down. + Iraq also reported a naval battle at the northern tip of the Gulf. Iraqi naval units and forces defending an + offshore terminal sank six Iranian out of 28 Iranian boats attempting to attack an offshore terminal, + the communique said. Reuter 3; +</LikeThisQuery> \ No newline at end of file Added: lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/RangeFilterQuery.xml URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/RangeFilterQuery.xml?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/RangeFilterQuery.xml (added) +++ lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/RangeFilterQuery.xml Fri Feb 24 16:39:18 2006 @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<FilteredQuery> + <Query> + <BooleanQuery fieldName="contents"> + <Clause occurs="should"> + <TermQuery>merger</TermQuery> + </Clause> + <Clause occurs="mustnot"> + <TermQuery >sumitomo</TermQuery> + </Clause> + <Clause occurs="must"> + <TermQuery>bank</TermQuery> + </Clause> + </BooleanQuery> + </Query> + + <Filter> + <RangeFilter fieldName="date" lowerTerm="19870409" upperTerm="19870412"/> + </Filter> + +</FilteredQuery> Added: lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/SpanQuery.xml URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/SpanQuery.xml?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/SpanQuery.xml (added) +++ lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/SpanQuery.xml Fri Feb 24 16:39:18 2006 @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8"?> +<SpanOr fieldName="contents"> + <SpanNear slop="8" inOrder="false" > + <SpanOr> + <SpanTerm>killed</SpanTerm> + <SpanTerm>died</SpanTerm> + <SpanTerm>dead</SpanTerm> + </SpanOr> + <SpanOr> + <!-- a less verbose way of declaring SpanTerm declarations - these are analyzed + into a series of Tokens which are added as SpanTerm elements of a SpanOr + --> + <SpanOrTerms>miner miners</SpanOrTerms> + <!-- finds mine near worker or workers --> + <SpanNear slop="6" inOrder="false"> + <SpanTerm>mine</SpanTerm> + <SpanOrTerms>worker workers</SpanOrTerms> + </SpanNear> + </SpanOr> + </SpanNear> + <SpanFirst end="10"> + <SpanOrTerms>fire burn</SpanOrTerms> + </SpanFirst> + <!-- Other Span examples.... + + <SpanNot> + <Include> + <SpanNear slop="2" inOrder="2"> + <SpanTerm>social</SpanTerm> + <SpanTerm>services</SpanTerm> + </SpanNear> + </Include> + <Exclude> + <SpanTerm>public</SpanTerm> + </Exclude> + </SpanNot> + --> +</SpanOr> Added: lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/TermQuery.xml URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/TermQuery.xml?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/TermQuery.xml (added) +++ lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/TermQuery.xml Fri Feb 24 16:39:18 2006 @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="UTF-8"?> +<TermQuery fieldName="contents">sumitomo</TermQuery> \ No newline at end of file Added: lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/TermsFilterQuery.xml URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/TermsFilterQuery.xml?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/TermsFilterQuery.xml (added) +++ lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/TermsFilterQuery.xml Fri Feb 24 16:39:18 2006 @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="UTF-8"?> +<FilteredQuery> + <Query> + <BooleanQuery fieldName="contents"> + <Clause occurs="should"> + <TermQuery>merger</TermQuery> + </Clause> + <Clause occurs="must"> + <TermQuery>bank</TermQuery> + </Clause> + </BooleanQuery> + </Query> + <Filter> + <!-- TermsFilter uses an analyzer to tokenize Field text and creates a filter for docs which + have ANY of the supplied terms. Unlike a RangeFilter this can be used for filtering on + multiple terms that are not necessarily in a sequence. An example might be a list of primary + keys from a database query result or perhaps a choice of "category" labels picked by the end + user. + As a filter, this is much faster than the equivalent query (a BooleanQuery with many + "should" TermQueries) + + This example might be just a list of Saturdays ie not a contiguous range of values + which can be handled by rangefilter + --> + <TermsFilter> + <Field fieldName="date" >19870601 19870608 19870615</Field> + </TermsFilter> + </Filter> + +</FilteredQuery> Added: lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/TestParser.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/TestParser.java?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/TestParser.java (added) +++ lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/TestParser.java Fri Feb 24 16:39:18 2006 @@ -0,0 +1,166 @@ +/* + * Created on 25-Jan-2006 + */ +package org.apache.lucene.xmlparser; + +import java.io.BufferedReader; +import java.io.IOException; +import java.io.InputStream; +import java.io.InputStreamReader; + +import junit.framework.TestCase; + +import org.apache.lucene.analysis.Analyzer; +import org.apache.lucene.analysis.standard.StandardAnalyzer; +import org.apache.lucene.document.Field; +import org.apache.lucene.index.IndexReader; +import org.apache.lucene.index.IndexWriter; +import org.apache.lucene.queryParser.QueryParser; +import org.apache.lucene.search.Hits; +import org.apache.lucene.search.IndexSearcher; +import org.apache.lucene.search.Query; +import org.apache.lucene.store.Directory; +import org.apache.lucene.store.RAMDirectory; + +/** + * @author maharwood + */ +public class TestParser extends TestCase { + + CoreParser builder; + static Directory dir; + Analyzer analyzer=new StandardAnalyzer(); + IndexReader reader; + private IndexSearcher searcher; + + //CHANGE THIS TO SEE OUTPUT + boolean printResults=false; + + + /* + * @see TestCase#setUp() + */ + protected void setUp() throws Exception { + super.setUp(); + + //initialize the parser + builder=new CorePlusExtensionsParser(analyzer,new QueryParser("contents", analyzer)); + + //initialize the index (done once, then cached in static data for use with ALL tests) + if(dir==null) + { + BufferedReader d = new BufferedReader(new InputStreamReader(TestParser.class.getResourceAsStream("reuters21578.txt"))); + dir=new RAMDirectory(); + IndexWriter writer=new IndexWriter(dir,analyzer,true); + String line = d.readLine(); + while(line!=null) + { + int endOfDate=line.indexOf('\t'); + String date=line.substring(0,endOfDate).trim(); + String content=line.substring(endOfDate).trim(); + org.apache.lucene.document.Document doc =new org.apache.lucene.document.Document(); + doc.add(new Field("date",date,Field.Store.YES,Field.Index.TOKENIZED)); + doc.add(new Field("contents",content,Field.Store.YES,Field.Index.TOKENIZED)); + writer.addDocument(doc); + line=d.readLine(); + } + d.close(); + } + reader=IndexReader.open(dir); + searcher=new IndexSearcher(reader); + + } + + + + + protected void tearDown() throws Exception { + reader.close(); + searcher.close(); +// dir.close(); + + } + public void testSimpleXML() throws ParserException, IOException + { + Query q=parse("TermQuery.xml"); + dumpResults("TermQuery", q, 5); + } + public void testBooleanQueryXML() throws ParserException, IOException + { + Query q=parse("BooleanQuery.xml"); + dumpResults("BooleanQuery", q, 5); + } + public void testRangeFilterQueryXML() throws ParserException, IOException + { + Query q=parse("RangeFilterQuery.xml"); + dumpResults("RangeFilter", q, 5); + } + public void testUserQueryXML() throws ParserException, IOException + { + Query q=parse("UserInputQuery.xml"); + dumpResults("UserInput with Filter", q, 5); + } + public void testLikeThisQueryXML() throws Exception + { + Query q=parse("LikeThisQuery.xml"); + dumpResults("like this", q, 5); + } + public void testBoostingQueryXML() throws Exception + { + Query q=parse("BoostingQuery.xml"); + dumpResults("boosting ",q, 5); + } + public void testFuzzyLikeThisQueryXML() throws Exception + { + Query q=parse("FuzzyLikeThisQuery.xml"); + //show rewritten fuzzyLikeThisQuery - see what is being matched on + if(printResults) + { + System.out.println(q.rewrite(reader)); + } + dumpResults("FuzzyLikeThis", q, 5); + } + public void testTermsFilterXML() throws Exception + { + Query q=parse("TermsFilterQuery.xml"); + dumpResults("Terms Filter",q, 5); + } + public void testSpanTermXML() throws Exception + { + Query q=parse("SpanQuery.xml"); + dumpResults("Span Query",q, 5); + } + public void testConstantScoreQueryXML() throws Exception + { + Query q=parse("ConstantScoreQuery.xml"); + dumpResults("ConstantScoreQuery",q, 5); + } + + + + //================= Helper methods =================================== + private Query parse(String xmlFileName) throws ParserException, IOException + { + InputStream xmlStream=TestParser.class.getResourceAsStream(xmlFileName); + Query result=builder.parse(xmlStream); + xmlStream.close(); + return result; + } + private void dumpResults(String qType,Query q, int numDocs) throws IOException + { + Hits h = searcher.search(q); + assertTrue(qType +" should produce results ", h.length()>0); + if(printResults) + { + System.out.println("========="+qType+"============"); + for(int i=0;i<Math.min(numDocs,h.length());i++) + { + org.apache.lucene.document.Document ldoc=h.doc(i); + System.out.println("["+ldoc.get("date")+"]"+ldoc.get("contents")); + } + System.out.println(); + } + } + + +} Added: lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/UserInputQuery.xml URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/UserInputQuery.xml?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/UserInputQuery.xml (added) +++ lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/UserInputQuery.xml Fri Feb 24 16:39:18 2006 @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<FilteredQuery> + <Query> + <UserQuery>"Bank of England"</UserQuery> + </Query> + <Filter> + <RangeFilter fieldName="date" lowerTerm="19870409" upperTerm="19870412"/> + </Filter> + +</FilteredQuery> From [email protected] Sat Feb 25 00:40:03 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17042 invoked from network); 25 Feb 2006 00:40:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Feb 2006 00:40:03 -0000 Received: (qmail 17289 invoked by uid 500); 25 Feb 2006 00:40:03 -0000 Delivered-To: [email protected] Received: (qmail 17216 invoked by uid 500); 25 Feb 2006 00:40:02 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <java-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 17204 invoked by uid 99); 25 Feb 2006 00:40:02 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Feb 2006 16:40:02 -0800 X-ASF-Spam-Status: No, hits=-8.8 required=10.0 tests=ADVANCE_FEE_1,ADVANCE_FEE_2,ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 24 Feb 2006 16:39:57 -0800 Received: (qmail 16922 invoked by uid 65534); 25 Feb 2006 00:39:36 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r380874 [3/3] - in /lucene/java/trunk/contrib: queries/ queries/src/ queries/src/java/ queries/src/java/org/ queries/src/java/org/apache/ queries/src/java/org/apache/lucene/ queries/src/java/org/apache/lucene/search/ queries/src/java/org/ap... Date: Sat, 25 Feb 2006 00:39:24 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Added: lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/reuters21578.txt URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/reuters21578.txt?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/reuters21578.txt (added) +++ lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/reuters21578.txt Fri Feb 24 16:39:18 2006 @@ -0,0 +1,498 @@ +19870408 COUPON CUT ON KEIHANSHIN REAL ESTATE WARRANT BOND The coupon on the 25 mln dlr equity warrant eurobond for Keihanshin Real Estate Co Ltd has been set at 2-1/8 pct compared with the 2-1/4 pct indication, lead manager Daiwa Europe Ltd said. The exercise price has been set at 810 yen per share which represents a premium of 2.53 pct over today's closing price of 790 yen. The exchange rate was set 146.30 yen to the dollar. The five-year deal is priced at par and guaranteed by the Sumitomo Bank Ltd. REUTER 3; +19870408 IRAQI TROOPS REPORTED PUSHING BACK IRANIANS Iraq said today its troops were pushing Iranian forces out of positions they had initially occupied when they launched a new offensive near the southern port of Basra early yesterday. A High Command communique said Iraqi troops had won a significant victory and were continuing to advance. Iraq said it had foiled a three-pronged thrust some 10 km (six miles) from Basra, but admitted the Iranians had occupied ground held by the Mohammed al-Qassem unit, one of three divisions attacked. The communique said Iranian Revolutionary Guards were under assault from warplanes, helicopter gunships, heavy artillery and tanks. "Our forces are continuing their advance until they purge the last foothold" occupied by the Iranians, it said. (Iran said its troops had killed or wounded more than 4,000 Iraqis and were stabilising their new positions.) The Baghdad communique said Iraqi planes also destroyed oil installati ons at Iran's southwestern Ahvaz field during a raid today. It denied an Iranian report that an Iraqi jet was shot down. Iraq also reported a naval battle at the northern tip of the Gulf. Iraqi naval units and forces defending an offshore terminal sank six Iranian out of 28 Iranian boats attempting to attack an offshore terminal, the communique said. Reuter 3; +19870408 SUMITOMO BANK AIMS AT QUICK RECOVERY FROM MERGER Sumitomo Bank Ltd <SUMI.T> is certain to lose its status as Japan's most profitable bank as a result of its merger with the Heiwa Sogo Bank, financial analysts said. Osaka-based Sumitomo, with desposits of around 23.9 trillion yen, merged with Heiwa Sogo, a small, struggling bank with an estimated 1.29 billion dlrs in unrecoverable loans, in October. But despite the link-up, Sumitomo President Koh Komatsu told Reuters he is confident his bank can quickly regain its position. "We'll be back in position in first place within three years," Komatsu said in an interview. He said that while the merger will initially reduce Sumitomo's profitability and efficiency, it will vastly expand Sumitomo's branch network in the Tokyo metropolitan area where it has been relatively weak. But financial analysts are divided on whether and how quickly the gamble will pay off. Some said Sumitomo may have paid too muc h for Heiwa Sogo in view of the smaller bank's large debts. Others argue the merger was more cost effective than creating a comparable branch network from scratch. The analysts agreed the bank was aggressive. It has expanded overseas, entered the lucrative securities business and geared up for domestic competition, but they questioned the wisdom of some of those moves. "They've made bold moves to put everything in place. Now it's largely out of their hands," said Kleinwort Benson Ltd financial analyst Simon Smithson. Among Sumitomo's problems are limits placed on its move to enter U.S. Securities business by taking a share in American investment bank Goldman, Sachs and Co. Sumitomo last August agreed to pay 500 mln dlrs for a 12.5 pct limited partnership in the bank, but for the time being at least, the Federal Reserve Board has forbidden them to exchange personnel, or increase the business they do with each other. "The tie-up is widely looked on as a lam e duck because the Fed was stricter than Sumitomo expected," said one analyst. But Komatsu said the move will pay off in time. "U.S. Regulations will change in the near future and if so, we can do various things. We only have to wait two or three years, not until the 21st century," Komatsu said. Komatsu is also willing to be patient about possible routes into the securities [email protected]. Article 65 of the Securities and Exchange Act, Japan's version of the U.S. Glass-Steagall Act, separates commercial from investment banking. But the walls between the two are crumbling and Komatsu said he hopes further deregulation will create new opportunities. "We need to find new business chances," Komatsu said. "In some cases these will be securities related, in some cases trust bank related. That's the kind of deregulation we want." Until such changes occur, Sumitomo will focus on such domestic securities business as profitable government bond dealing and strengthening relations with Meiko Securities Co Ltd, in which it holds a five pct share, Komatsu said. He said Sumitomo is cautiously optimistic about entering the securities business here through its Swiss universal bank subsidiary, Banca del Gottardo. The Finance Ministry is expected to grant licences to securities subsidiaries of U.S. Commercial banks soon, following a similar decision for subsidiaries of European universal banks in which the parent holds a less than 50 pct. But Komatsu is reluctant to push hard for a similar decision on a Gottardo subsidiary. "We don't want to make waves. We expect this will be allowed in two or three years," he said. Like other city banks, Sumitomo is also pushing to expand lending to individuals and small and medium businesses to replace disappearing demand from big business, he added. The analysts said Sumitomo will have to devote a lot of time to digesting its most recent initiatives, including the merger w ith ailing Heiwa Sogo. "It's (Sumitomo) been bold in its strategies," said Kleinwort's Smithson. "After that, it's a question of absorbing and juggling around. It will be the next decade before we see if the strategy is right or wrong." REUTER 3; +19870408 U.K. MONEY MARKET DEFICIT FORECAST AT 250 MLN STG The Bank of England said it forecast a shortage of around 250 mln stg in the money market today. Among the main factors affecting liquidity, bills maturing in official hands and the take-up of treasury bills will drain some 505 mln stg, while bills for repurchase by the market will remove around 194 mln. In addition, a rise in note circulation and bankers' balances below target will each drain around 110 mln stg. Partly offsetting these outflows, exchequer transactions will add some 690 mln stg to the system today. REUTER 3; +19870408 U.K. MONEY MARKET GIVEN 53 MLN STG ASSISTANCE The Bank of England said it provided the money market with 53 mln stg assistance in the morning session. This compares with the bank's estimate of a shortage in the system of around 300 mln stg which it earlier revised up from 250 mln. The central bank made outright purchases of bank bills comprising 46 mln stg in band three at 9-3/4 pct and seven mln stg in band four at 9-11/16 pct. REUTER 3; +19870408 U.K. MONEY MARKET GIVEN FURTHER 166 MLN STG HELP The Bank of England said it provided the market with further help totalling 166 mln stg during the afternoon. In band one, it bought 31 mln stg of treasury bills and three mln stg of bank bills at 9-7/8 pct, while in band two it bought 69 mln stg of bank bills at 9-13/16 pct. In addition, it bought 63 mln stg of band three bank bills at 9-3/4 pct. This brings the total assistance by the Bank so far today to 219 mln stg against a liquidity shortage it has estimated at around 300 mln stg. REUTER 3; +19870409 <EMCOR> COMPLETES SALE OF STOCK TO INVESTORS Emcore said it completed the sale of 4.1 mln dlrs of stock to Citicorp Venture Capital Ltd, Concord Ventures of Dillon Read and Co and private investors. Reuter 3; +19870409 <TRUMP PLAZA> 4TH QTR NET Net profit 2,529,000 vs loss 1,066,000 Revs 59.0 mln vs 52.6 mln Year Net profit 15.4 mln vs profit 865,000 Revs 247.0 mln vs 231.1 mln NOTE: Company became wholly owned and operated by Donald Trump in May 1986, when he acquired 50 pct interest that had been owned by former operator Holiday Corp <HIA>. Reuter 3; +19870409 ABBOTT <ABT> SEES GAINS FROM WEAKER DOLLAR Abbott Laboratories Inc said its 1987 first quarter record results reflected continued productivity improvement, higher volume, better product mix and a weaker U.S. dollar. Abbott reported 1987 first quarter earnings rose to a record 142 mln dlrs or 62 cts a share on record sales of one billion dlrs. Research and development expenses, most of which was applied to diagnostic and pharmaceutical products, increased by 23 pct to 78 mln dlrs, it said. Sales of pharmaceutical and nutritional products were 548 mln dlrs in the first quarter, up 17.6 pct over a year ago, Abbott said. Hospital and laboratory product sales in the first quarter rose 14.1 pct to 456 mln dlrs, it said. First quarter sales in domestic markets advanced 11.5 pct to 688 mln dlrs while international sales jumped 27.1 pct to 316 mln dlrs, Abbott said. Reuter 3; +19870409 ADAMS EXPRESS CO <ADX> MARCH 31 ASSETS Shr 22.50 dlrs vs 21.74 dlrs Assets 546.9 mln vs 485.2 mln Shrs out 24.3 mln vs 22.3 mln NOTE: lastest assets after capital gain distributions of 28 cts a share in February 1987 and 2.55 dlrs a share in December 1986 Reuter 3; +19870409 AEGON EXPECTS MODERATE RISE IN 1987 PROFITS Dutch insurer AEGON NV <AEGN.AS> reported a 6.4 pct increase in 1986 net profits to 327.1 mln guilders and said it expected a moderate increase in profits for 1987. Total revenue was eight pct lower in [email protected] billion guilders vs 8.7 billion guilders in 1985. The company said its revenues were down due to lower foreign exchange rates and a change in accounting practice. It added that revenues would have risen by about seven pct had those changes not occurred. Revenue from Dutch operations rose five pct in 1986, mainly due to its life insurance business. Health insurance revenues in the Netherlands also rose despite a notable shift to insurances with lower premiums and higher personal risks. Damage insurances made losses, mainly due to car damage insurances. AEGON did not specify the loss. In the United States, revenue in guilders from health and life insurance was lower. AEGON said this was due to a change in accounting for U.S. Annuities. AEGON said annuities are subject to such strong personal investment influences that it should be accounted differently from the more traditional insurances. This change in accounting practice and another change to account for profits made on fixed interest investments, resulted in an incidental rise in net profits of 31 mln guilders. AEGON said incidental negative influences on net profits were slightly higher, being the lower dollar rate, high initial costs for new products, and the cost of new headquarters in The Hague. In 1986, a large number of new insurance products emerged in the Netherlands and the U.S., AEGON said. Large initial costs for these products have depressed net profits somewhat. Monumental Corp, a U.S. Insurer which merged with AEGON in May 1986, saw its profits almost completely eroded by these costs and made only a small contribution to the group's profits. AEGON said it has written-off 6 57 mln guilders in goodwill for Monumental Corp. AEGON's net equity was 2.71 billion guilders in December 1986, against 3.46 billion the year before. REUTER 3; +19870409 ALEX. BROWN <ABSB> SETS SPLIT, TO OFFER SHARES Alex. Brown Inc said it has declared a three-for-two stock split, payable May 29, record May 22. The company also said it has filed to offer 912,000 common shares, including 162,000 to be sold by a shareholder, with company proceeds to be used for working capital and general corporate purposes. Its Alex. Brown and Sons Inc subsidiary is lead underwriter. The offering is expected to be made before the record date of the split, the company said. Reuter 3; +19870409 AMERICAN WOODMARK <AMWD> TO BUILD PLANT American Woodmark Corp said it plans to build a 100,000 square foot kitchen cabinet component plant in Toccoa, Ga., with completion expected in the spring of 1988. Reuter 3; +19870409 AMOSKEAG BANK SHARES INC <AMKG> 1ST QTR NET Shr 70 cts vs 67 cts Net 6,416,000 vs 6,057,000 NOTE: Net includes pretax securities sales gains of 5,900,000 dlrs vs 5,900,000 dlrs. Reuter 3; +19870409 AMRO BANK PLANS 300 MLN GUILDER 6.75 PCT BONDS Amsterdam-Rotterdam Bank NV <AMRO.AS> said it plans to issue 300 mln 6.75 pct capital bonds due 1988/2007. The bonds will be redeemable in 20 almost equal annual instalments starting June 1, 1988. Early redemption is not permitted, the bank said. The issue price will be announced no later than Wednesday, April 15. Subscriptions close on Thursday April [email protected] hrs local time. The coupon and payment date is June 1. The bonds will be listed on the Amsterdam Stock Exchange. A spokesman for the bank said the capital bonds were subordinated and had an average maturity of 10.5 years. The bonds will be in denominations of 1,000 and 5,000 guilders. REUTER 3; +19870409 ANALYSTS DOUBT FED FIRMED DESPITE BORROWING RISE Economists said that they doubt the Federal Reserve is firming policy to aid the dollar, despite higher discount window borrowings in the latest two-week statement period and very heavy borrowings Wednesday. Data out today show net borrowings from the Fed averaged 393 mln dlrs in the two weeks to Wednesday, up from 265 mln dlrs in the prior statement period. Wednesday borrowings were 1.4 billion dlrs as Federal funds averaged a high 6.45 pct. "One could make a case that the Fed is firming, but it probably isn't," said William Sullivan of Dean Witter Reynolds. Sullivan said some may assume the Fed has firmed policy modestly to support the dollar because net borrowings in the two-weeks to Wednesday were nearly 400 mln dlrs after averaging around 250 mln dlrs over the previous two months. However, the Dean Witter economist noted that the latest two-week period included a quarter end when seasonal demand o ften pushes up borrrowings. "Some might argue that the Fed was firming policy, but it looks like it tried to play catchup with reserve provisions late in the statement period and didn't quite make it," said Ward McCarthy of Merrill Lynch Capital Markets. A Fed spokesman told a press press conference today that the Fed had no large net one-day miss of two billion dlrs or more in its reserve projections in the week ended Wednesday. Still, McCarthy said it may have had a cumulative miss in its estimates over the week that caused it to add fewer reserves earlier in the week than were actually needed. The Fed took no market reserve management action last Thursday and Friday, the first two days of the week. It added temporary reserves indirectly on Monday via two billion dlrs of customer repurchase agreements and then supplied reserves directly via System repurchases on Tuesday and Wednesday. Based on Fed data out today, economists calculated that the two-day S ystem repurchase agreements the Fed arrranged on Tuesday totaled around 5.9 billion dlrs. They put Wednesday's overnight System repos at approximately 3.4 billion dlrs. "It is quite clear that the Fed is not firming policy at this time," said Larry Leuzzi of S.G. Warburg and Co Inc. Citing the view shared by the other two economists, Leuzzi said the Fed cannot really afford to seriously lift interest rates to help the dollar because that would harm already weak economies in the United States and abroad and add to the financial stress of developing countries and their lenders. "Those who believe the Fed tightened policy in the latest statement period have to explain why it acted before the dollar tumbled," said McCarthy of Merrill Lynch. He said the dollar staged a precipitous drop as a new statement period began today on disappointment yesterday's Washington meetings of international monetary officials failed to produce anything that would offer substantive d ollar aid. In fact, currency dealers said there was nothing in Wednesday's G-7 communique to alter the prevailing view that the yen needs to rise further to redress the huge trade imbalance between the United States and Japan. The economists generally agreed that the Fed is aiming for steady policy now that should correspond to a weekly average Fed funds rate between six and 6-1/8 pct. This is about where the rate has been since early November. "I'm not so sure that the Fed is engineering a tighter policy to help the dollar, as some suspect," said Sullivan of Dean Witter. If it is, however, he said that Fed probably has just nudged up its funds rate goal to around 6.25 to 6.35 pct from six to 6.10 pct previously. Reuter 3; +19870409 ANCHOR FINANCIAL <AFCX> TO MAKE ACQUISITION Anchor Financial Corp said it has agreed to acquire Waccamaw State Bank of Surfside Beach, S.C., in an exchange of 1.435 Anchor shares for each Waccamaw share, subject to regulatory and shareholder approvals. Waccamaw had assets of 22.8 mln dlrs as of March 31. Reuter 3; +19870409 ARGENTINE 1986/87 GRAIN OILSEED REGISTRATIONS Argentine grain board preliminary figures show 1986/87 crop export registrations of grains and oilseeds in the week to April 8, were as follows, in tonnes, compared with the previous week and the comparable week a year earlier. BREAD WHEAT nil nil nil MAIZE 113,500 21,800 51,300 SORGHUM 13,600 nil 26,500 SOYBEAN 30,000 36,000 72,000 SUNFLOWERSEED nil nil 19,100 Cumulative figures export registrations for the 1986/87 crop to April 8, 1987, with comparative figures for the 1985/86 crop up to April 9, 1986, in brackets, were in thousands of tonnes. BREAD WHEAT 2,692,4 (4,161.0) MAIZE 2,305.1 (5,200.0) SORGHUM 220.5 (625.7) SOYBEAN 561.3 (524.5) SUNFLOWERSEED 45.7 (213.2) REUTER 3; +19870409 ARGENTINE CATTLE MARKET REPORT ABOUT 3,314 HEAD OF CATTLE WERE AUCTIONED IN LINIERS CATTLE MARKET, AGAINST 13,952 ON WEDNESDAY AND 9,217 LAST THURSDAY, TRADE SOURCES SAID. MAXIMUN PRICES, IN AUSTRALES PER KILO, WITH DOLLAR EQUIVALENT IN BRACKETS, INCLUDED: TODAY WEDNESDAY STEERS OVER 480 KILOS 1.02(0.658) 1.015(0.654) STEERS 460 TO 480 KILOS 1.05(0.677) 1.032(0.665) COWS FOR CANNING 0.56(0.361) 0.56 (0.361) REUTER 3; +19870409 ARGENTINE GRAIN BELT WEATHER REPORT ARGENTINE GRAIN BELT TEMPERATURES (CENTIGRADE) AND RAIN (MM) IN THE 24 HOURS TO 12.00 GMT WERE: ...............MAX TEMP..MIN TEMP..RAINFALL BUENOS AIRES.......24.......12............0 BAHIA BLANCA.......22........7............0 TRES ARROYOS.......22........8............0 TANDIL.............22........7............0 JUNIN..............24.......11............0 SANTA ROSA.........--........6............0 CORDOBA............23.......12............1 SANTA FE...........21.......18...........17 REUTER 3; +19870409 ARGENTINE GRAIN MARKET REVIEW The Argentine grain market was quiet in the week to Wednesday, with prices rising slightly on increased interest in wheat, millet and birdseed. Wheat for domestic consumption rose six Australs per tonne to 118. For export it rose eight to 108 per tonne from Bahia Blanca, increased 0.50 to 104 at Necochea and was unchanged at [email protected]. Maize increased one to 90 per tonne at Buenos Aires, was unchanged at 82 in Bahia Blanca, increased 0.50 to 85 at Necochea and fell one to 88 at Parana River ports. Sorghum from Bahia Blanca increased 0.50 Australs to 76.50 per tonne and dropped one to [email protected]. It was quoted at 75 at Villa Constitucion, San Nicolas and Puerto Alvear. Oats were unchanged at 168 per tonne at Buenos Aires. Millet from Buenos Aires and Rosario rose five per tonne to 140 and birdseed rose 15 to 205 at Buenos Aires. REUTER 3; +19870409 ARUS <ARSCC> GETS 5.2 MLN DLR ORDER Arus Corp said it has received a letter of intent from Winston Financial Corp for the purchase of over 5,200,000 dlrs in telephone diagnostic testing equipment. It said it expects to negotiate a firm order in May. The company said the total value of the order is at least 5,200,000 dlrs and could be more, depending on circuit configurations required. Reuter 3; +19870409 ASARCO UPS U.S. LEAD PRICE 0.50 CT TO 26.50 CTS Asarco Inc said it is increasing its base spot sales price for refined lead by one-half cent to 26.50 cents a lb, FOB, delivered in carload lots, effective immediately. Reuter 3; +19870409 ASSETS OF U.S. MONEY FUNDS ROSE IN WEEK Assets of money market mutual funds increased 1.39 billion dlrs in the week ended yesterday to 236.77 billion dlrs, the Investment Company Institute said. Assets of 93 institutional funds were up 481.1 mln dlrs to 65.65 billion dlrs, 93 broker-dealer funds rose 285.3 mln dlrs to 107.31 billion dlrs, and 197 general purpose funds gained 625.5 mln dlrs to 63.8 billion dlrs. Reuter 3; +19870409 AUSTRALIAN UNIONS AND NSW GOVERNMENT REACH DEAL Union and New South Wales government officials have reached a compromise in a dispute over workers compensation, averting increased industrial action in the state, union sources said. But some unions, including those of building and mining workers, said they were dissatisfied with the deal and would continue their strikes for a few more days. State officials said the government had agreed to revise its proposals to cut compensation and would allow slightly higher cash benefits for injured workers. Under the original proposal, which sparked strikes and other industrial action in the state on April 7, workers' compensation would have been cut by one third. Full details of the compromise package are not yet known. The Labour Council, affiliated to the Australian Council of Trade Unions (ACTU), had threatened to paralyse New South Wales unless the government modified its pending legislation on the issue. State officials said the only sectors affected in the past three days were some government building projects, railway freight movement and cargo handling in Sydney's ports. REUTER 3; +19870409 AVERAGE YEN CD RATES FALL IN LATEST WEEK Average interest rates on yen certificates of deposit (CD) fell to 4.13 pct in the week ended April 8 from 4.33 pct the previous week, the Bank of Japan said. New rates (previous in brackets) - Average CD rates all banks 4.13 pct (4.33) Money Market Certificate (MMC) ceiling rates for week starting from April 13 - 3.38 pct (3.58) Average CD rates of city, trust and long-term banks - Less than 60 days 4.15 pct (4.41) 60-90 days 4.14 pct (4.29) Average CD rates of city, trust and long-term banks - 90-120 days 4.12 pct (4.25) 120-150 days 4.12 pct (4.23) 150-180 days unquoted (4.03) 180-270 days 4.05 pct (4.05) Over 270 days 4.05 pct (unqtd) Average yen bankers acceptance rates of city, trust and long-term banks - 30 to less than 60 days 3.98 pct (4.20) 60-90 days 4.03 pct (3.97) 90-120 days unquoted (unqtd) REUTER 3; +19870409 BANK OF FRANCE LEAVES INTERVENTION RATE UNCHANGED The Bank of France said it left its intervention rate unchanged at 7-3/4 pct when it injected funds in the market against first category paper in today's money market intervention tender. Money market dealers had earlier expressed mixed views on the possibility of quarter point cut. The rate was last adjusted on March 9, when it was cut to 7-3/4 pct from the eight pct rate set in January. REUTER 3; +19870409 BANK OF FRANCE TO HOLD MONEY MARKET TENDER TODAY The Bank of France said it has invited offers of first category paper today for a money market intervention tender. Money market operators were divided over whether the Bank of France will use to occasion to cut its intervention rate, which has stood at 7-3/4 pct since March 9. Some thought a price cut unlikely while others said there was room for a further 1/4 point cut by the bank. REUTER 3; +19870409 BANK OF JAPAN BUYS DOLLARS IN TOKYO, DEALERS SAY The Bank of Japan bought a modest amount of dollars at around 145.10 yen just after the market here opened, dealers said. Just before the opening, the dollar dropped swiftly as speculators concluded the Group of Seven (G-7) comminuique issued in Washington contained nothing basically new, they said. It fell about a half yen, to around 145. The G-7 reaffirmed that their currencies around current levels reflect economic fundamentals. One dealer said the Bank of Japan probably intervened in Australia before the opening here, but could not confirm this. REUTER 3; +19870409 BANKERS TRUST <BT> FILES 400 MLN DLR OFFERING Bankers Trust New York Corp filed with the Securities and Exchange Commission for a shelf offering of up to 400 mln dlrs of subordinated debentures on terms to be set at the time of sale. The bank holding company said proceeds will be used for general corporate purposes including investments in or extensions of credit to its subsidiaries. Underwriters were not named in the draft prospectus. Reuter 3; +19870409 BANKS OF MID-AMERICA INC <BOMA> 1ST QTR NET Shr loss 18 cts vs loss 89 cts Net profit 161,000 vs loss 5,938,000 Assets 3.43 billion vs 3.46 billion Deposits 2.68 billion vs 2.67 billion Loans 1.45 billion vs 1.64 billion Note: Shr data after payment of preferred dividends. Reuter 3; +19870409 BAYBANKS INC <BBNK> 1ST QTR NET Oper shr 1.08 dlrs vs 96 cts Oper shr diluted 1.02 dlrs vs 89 cts Oper net 16.1 mln vs 12.8 mln Avg shrs 14.9 mln vs 13.4 mln Avg shrs 16.1 mln vs 14.8 mln NOTE: 1987 net excludes gain 4,820,000 dlrs from cumulative effect of change in calculating depreciation expense. Reuter 3; +19870409 BELGIAN CURRENT ACCOUNT SURPLUS WIDENS IN 1986 Belgium's current account surplus, measured on a cash basis, widened sharply to 134.9 billion francs last year from 17.5 billion in 1985, the Finance Ministry said. The increase was due almost entirely to a sharp rise in the goods trade surplus to 126.1 billion francs from 20.4 billion. The services trade surpluses increased to 52.4 billion francs from 38.9 billion while the deficit on transfers rose slightly to 43.6 billion from 41.8 billion. Private sector capital operations showed a steeply higher deficit of 160.7 billion francs after 56.9 billion in 1985. Reuter 3; +19870409 BELGIUM LAUNCHES BONDS WITH GOLD WARRANTS The Kingdom of Belgium is launching 100 mln Swiss francs of seven year notes with warrants attached to buy gold, lead manager Credit Suisse said. The notes themselves have a 3-3/8 pct coupon and are [email protected]. Payment is due April 30, 1987, and final maturity April 30, 1994. Each 50,000 franc note carries 15 warrants. Two warrants are required to allow the holder to buy 100 grammes of gold at a price of 2,450 francs, during the entire life of the bond. The latest gold price in Zurich was 2,045/2,070 francs per 100 grammes. Reuter 3; +19870409 BELGIUM LAUNCHES BONDS WITH GOLD WARRANTS The Kingdom of Belgium is launching 100 mln Swiss francs of seven year notes with warrants attached to buy gold, lead mananger Credit Suisse said. The notes themselves have a 3-3/8 pct coupon and are [email protected]. Payment is due April 30, 1987 and final maturity April 30, 1994. Each 50,000 franc note carries 15 warrants. Two warrants are required to allow the holder to buy 100 grammes of gold at a price of 2,450 francs, during the entire life of the bond. The latest gold price in Zurich was 2,045/2,070 francs per 100 grammes. REUTER 3; +19870409 BELGIUM TO ISSUE GOLD WARRANTS, SOURCES SAY Belgium plans to issue Swiss franc warrants to buy gold, with Credit Suisse as lead manager, market sources said. No confirmation or further details were immediately available. REUTER 3; +19870409 BERLINER BANK ISSUES 50 MLN AUSTRALIAN DLR BOND Berliner Bank AG Berlin is issuing a 50 mln Australian dlr eurobond due November 13, 1990 paying 14-1/4 pct and priced at 101-1/2 pct, lead manager Banque Paribas Capital Markets said. The non-callable bond is available in denominations of 1,000 Australian dlrs and will be listed in Luxembourg. The selling concession is one pct while management and underwriting combined pays 5/8 pct. The payment date is May 13 and there will be a long first coupon period. REUTER 3; +19870409 BERMUDA SEEKS 40 MLN DLR REVOLVING CREDIT The Government of Bermuda is seeking a 40 mln dlr, seven year revolving credit, which will be the only credit outstanding in its own name, N.M. Rothschild and Sons Ltd said as arranger and agent. The credit will pay a margin of 20 basis points over U.S. Dollar London Interbank Offered Rates (LIBOR) and will incorporate a tender panel for U.S. Dlr advances. There is a 10 basis point annual facility fee in years one to four, rising to 12-1/2 points thereafter. A 7-1/2 basis point participation fee is payable on the transaction, which started syndication this week. Reuter 3; +19870409 BEVIS <BEVI> RECEIVES TAKEOVER INQUIRIES Bevis Industries Inc, which has been seeking to be acquired, said it recently received inquiries concerning the purchase of the company. The company did not identify the parties that made the inquiries, but it said they had been referred to its investment bankers, Tucker, Anthony and R.L. Day Inc, for study. On March 18, the company said it engaged Tucker, Anthony to seek purchasers of its operating units, Greenville Tube Corp and MD Pneumatics Inc. Reuter 3; +19870409 BFIM-SOVAC OFFERS BOND REDEMPTION Banque de Financement Immobilier SOVAC, BFIM-SOVAC, launched an offer to repurchase its 14.30 pct 1980 bond issue at a price of 2,180 francs per bond, a Paris Bourse statement said. The repurchase offer, managed by Lazard Freres et Cie, opens April 10 and closes April 27. The 140 mln franc issue comprised 70,000 bonds of 2,000 franc nominal value each. Reuter 3; +19870409 BOND INTERNATIONAL SELLS H.K. RESIDENTIAL BUILDING <Bond Corp International Ltd> said it has sold a residential block at Hong Kong's mid-levels to a joint venture between Sun Hung Kai Properties Ltd <SHKP.HK> and <New Town (N.T.) Properties Ltd> for 138 mln H.K. Dlrs. Bond International, a subsidiary of the Australia based Bond Corp Holdings Ltd <BONA.S>, will receive net profits of about 16 mln dlrs from the deal. The firm bought the building, which has total floor spaces of 110,580 sq ft and is now fully let, as part of a parcel of properties which it acquired from Hongkong Land Co Ltd <HKLD.HK> for 1.43 billion dlrs late last year. REUTER 3; +19870409 BRAMALL TO ACQUIRE GELCO FOR UP TO 26.3 MLN DLRS <C.D. Bramall Plc> said in a statement accompanying its annual results that it proposed to acquire Gelco U.K. For some 26.3 mln dlrs. Part of the cost will be met by the issue of 2.14 mln new ordinary Bramall shares which are being placed at 265p each. The acquisition will be satisfied by an initial payment of some 25.3 mln dlrs in cash with further payments of 500,000 dlrs up to a maximum 26.3 mln dlrs. These further payments will only be made if profits achieved by Gelco for the year ending July 31, 1987 reach a certain level. Bramall shares were trading 6p [email protected]. REUTER 3; +19870409 BRAZIL COCOA EXPORTERS UNLIKELY TO LIMIT SALES Brazilian cocoa exporters are not likely to follow the example of Cocoa Producers Alliance, CPA, members, who may limit sales of the product in an effort to boost world prices, trade sources said. They said a similar procedure was taken in the past in Brazil and that it did not work out according to plans. "The cocoa market is completely free. Unlike coffee, which is controlled through export registrations, cocoa exporters in Brazil operate at their own free will," a trade source said. The traders were responding to questions whether they would follow the example of CPA members meeting in Yaounde. The sources said the Banco do Brasil's Foreign Trade Department, CACEX, never interferes in the cocoa market by rejecting sales that do not meet certain price or shipment criteria. "The position of local producers is always to negotiate as they please. If they buy for ten and sell for eleven and think it's a good deal, they are free to go ahead," one source added. Reuter 3; +19870409 BRAZIL COTTON CROP LOWER -- USDA REPORT Brazil's 1986/87 cotton crop estimate has been reduced to 710,000 from 735,000 tonnes (lint basis), the U.S. Agriculture Department's officer in Sao Paulo said in a field report. The report, dated April 7, said the reduction is based on an expected smaller harvest in the center-south region. The center-south crop is now estimated at 550,000 tonnes -- 25,000 tonnes below the previous estimate. Hot, dry weather during part of January and excessive rains in some areas in February reduced yield prospects and may have affected quality, the report said. Nearly 60 pct of the crop has been harvested in Parana and slightly less in Sao Paulo, it said. Cotton entering gins is of fairly good quality, according to trade sources, it said. Reuter 3; +19870409 BRAZIL SOYBEAN YIELDS SEEN AVERAGE - USDA REPORT Based on field travel in the Brazilian state of Parana, soybean yields should be about average or 2.0 to 2.2 tonnes per hectare, the U.S. Agriculture Department's officer in Sao Paulo said in a field report. The report, dated March 24, noted Parana accounts for about 20 to 24 pct of Brazil's total soybean crop. It said generally favorable weather from early December through February helped compensate for earlier dryness. However, hot, dry weather during the past 20 to 30 days followed by an unseasonably brief cold spell during the second week of march has raised concern about late planted soybeans which are still immature, but the impact may be localized, the report said. The corn crop is expected to be a record and will create serious storage problems, the report said. Due to favorable support prices, corn area increased by more than 25 pct at the expense of soybeans, and yields are expected to be above average, it said. Due to late plantings only about 20 pct of the corn crop crop has been harvested. During the field trip long truck lines were noted at grain elevators where preference is given to soybeans over corn, the report said. New crop wheat plantings are expected to decline -- Parana accounts for about 60 pct of total production. Major reasons for the decline are expected reduced government support price and good summer crop harvests. Reuter 3; +19870409 BRAZILIAN SOY RAINFALL THE FOLLOWING RAINFALL WAS RECORDED IN THE 24 HOURS UP TO (1200) GMT TODAY PARANA STATE: CASCAVEL NIL, PONTA GROSSA NIL,CAMPO MOURAO NIL, LONDRINA NIL, MARINGA NIL. RIO GRANDO DO SUL STATE: PASSO FUNDO NIL, SANTA MARIA 7.0 MILLIMETRES, CRUZ ALTA 8.5 MM, SAO LUIZ GONZAGA 4.4 MM. REUTER 3; +19870409 BRENDA MINES SELLING KERR ADDISON SHARES <Brenda Mines Ltd> said it sold 2,830,390 <Kerr Addison Mines Ltd> shares to a group of underwriters led by Wood Gundy Inc and Brown, Baldwin Nisker Ltd for redistribution. Financial terms were undisclosed. Reuter 3; +19870409 BRITISH AIRWAYS ISSUES 100 MLN STG EUROBOND British Airways Plc <BAB.L> is issuing a 100 mln stg eurobond due May 6, 1997, paying 9-1/2 pct and priced at 101-1/2, lead manager Union Bank of Switzerland said. The non-callable bond is available in denominations of 1,000 and 10,000 stg and will be listed in London. The selling concession is 1-1/4 pct while management and underwriting combined pays 3/4 pct. Payment date is May 6. REUTER 3; +19870409 BUNDESBANK SEES NO CHANGE IN MONETARY COURSE The Bundesbank sees no current reason to change monetary course, vice-president Helmut Schlesinger told Reuters in a telephone interview. Schlesinger was responding to questions following remarks yesterday by Bundesbank board member Claus Koehler and West Berlin state central bank president Dieter Hiss, which, dealers said, revived some speculation that German interest rate cuts may once again be under discussion. Schlesinger said he had no comment on the remarks of his two central bank council colleagues. But he added that the last central bank council meeting on April 2 had discussed the economic situation with a mood of "subdued optimism," particularly influenced by the news brought by several state central bank presidents. "Much is going better than the impression gained by the public from the January figures, which have been in the meantime superseded," he said. German January industrial output fe ll 3.0 pct after a decline of 0.9 pct in December. New industry orders fell 1.9 pct after they had been unchanged in December. Bank economists said that the two together showed the economy would either stagnate or contract in the first quarter of 1987. Aside from the economic developments, Schlesinger added, a steady monetary course was important to hold the dollar/mark rate around current levels as Bundesbank president Karl Otto Poehl had said while attending the Washington World Bank/IMF meeting. Asked, however, if the Bundesbank could move to cut rates on repurchase agreements at the setting of the next repurchase tender, due next Tuesday, Schlesinger said, "Since the central bank council gives its opinion on this theme only every 14 days, this is hardly probable." Responding to the question whether the Bundesbank had moved away from a policy of targetting monetary growth toward one of targetting currency rates, Schlesinger said he could have no comment on the subject while negotiations were still in progress in Washington. REUTER 3; +19870409 BURLINGTON INDUSTRIES <BUR> SELLS CONVERTIBLES Burlington Industries Inc is raising 75 mln dlrs through an offering of convertible subordinated debentures due 2012 with a 6-1/4 pct coupon and par pricing, said lead manager Kidder, Peabody and Co Inc. The debentures are convertible into the company's common [email protected] dlrs per share, representing a premium of 18.1 pct over the stock price when terms on the debt were set. Non-callable for three years, the issue is rated Ba-2 by Moody's Investors Service Inc and BBB by Standard and Poor's Corp. Merrill Lynch Capital Markets and Salomon Brothers Inc co-managed the deal. Reuter 3; +19870409 BURMAH OIL PROSPECTS REMAIN FAVOURABLE The current year has opened well, with trading prospects remaining favourable, Burmah Oil Co Plc <BURM.L> said in a statement with its 1986 results. The company plans to maintain a steady rate of investment in its marketing operations and to obtain improved profit margins on its liquified natural gas, LNG, project. Burmah has the financial capacity to continue making acquisitions within its business sectors, it added. The rationalisation programme, including sale of the Bahamas oil terminal and all peripheral activities, is now complete. Pre-tax profit for 1986 rose to 105.9 mln stg from 79.6 mln. REUTER^M 3; +19870409 C.O.M.B. <CMCO> MAKES ACQUISITION C.O.M.B. Co said it acquired for 8.7 mln dlrs the principal assets of National Tech Industries Inc and Telkon Corp. The companies are engaged in servicing, sales and telemarketing of consumer electronic merchandise. Reuter 3; +19870409 C.O.M.B. <CMCO> MAKES ACQUISITION C.O.M.B. Co said it has acquired the principal assets of National Tech Industries Inc and Telkom Corp, which are engaged in the sale and telemarketing of consumer electronic merchandise and do business as House of Imports and N.L. Industries respectively. The company said it paid a total of 8,700,000 dlrs, including the assumption of liabilities. National Tech had sales of about 23 mln dlrs for 1986, it said. Reuter 3; +19870409 CADILLAC FAIRVIEW SAYS IT RECEIVED TAKEOVER BIDS <Cadillac Fairview Corp Ltd> said it received proposals to acquire the company, following its announcement last August that it had retained investment dealers to solicit offers for all outstanding common shares. Cadillac Fairview said the offers are subject to clarification and negotiation and offered no further details. Reuter 3; +19870409 CANADA FEBRUARY TRADE SURPLUS 1.2 BILLION DLRS Canada had a trade surplus of 1.25 billion dlrs in February compared with an upward revised 623 mln dlrs surplus in January, Statistics Canada said. The January surplus originally was reported at 533 mln dlrs. The February surplus last year was 189 mln dlrs. February exports, seasonally adjusted, were 10.44 billion dlrs against 9.85 billion in January and 10.05 billion in February, 1986. February imports were 9.19 billion dlrs against 9.23 billion in January and 9.86 billion in February, 1986. Reuter 3; +19870409 CANADA TRADE RISE SEEN AS START OF RECOVERY Canada's trade picture has brightened considerably, underscoring economists' predictions the sector would post a long awaited recovery this year. The federal government reported today that the monthly surplus soared to 1.25 billion Canadian dlrs in February, double January's 623 mln dlrs surplus and sharply higher than February 1986's 189 mln dlr tally. "Hopefully it's the beginning of a trend," said Richardson Greenshields of Canada Ltd economist Susan Clark in Toronto. Economists generally don't expect such large gains over the next months, but are looking for an upward trend throughout the year. "We thought the trade balance would improve ... over the year, and it certainly looks as if this morning's figure is indicative of that," commented economist James Donegan at the Toronto securities firm of Midland Doherty Ltd. Statistics Canada reported the surplus was driven by a 23 pct gain in automobile pr oduct exports to a record 3.2 billion dls in the month. "Recovery in the automotive sector helped push the value of exports up by 5.9 pct in February," the agency said in its monthly report. Total exports expanded to 10.44 billion dlrs from 9.85 billion dlrs in February, while imports slipped to 9.19 billion dlrs from 9.23 billion dlrs. Economists have predicted the 1987 trade surplus would end up three to five billion dlrs higher than last year's dismal 10.1 billion dlr total. In 1985 the surplus was 17.48 billion dlrs. Money market analysts said the positive trade news touched off a modest rally in the Canadian dollar, which rose to 76.85 U.S. cts on North American markets early this morning after [email protected] cts Wednesday. The currency was hovering around 76.78 cts in early afternoon trading. Economists have been banking on an improved trade performance this year to stimulate an otherwise sluggish Canadian economy. Money market analysts sa id the positive trade news touched off a modest rally in the Canadian dollar, which rose to 76.85 U.S. cts on North American markets early this morning after [email protected] cts Wednesday. The currency was hovering around 76.78 cts in early afternoon trading. Economists have been banking on an improved trade performance this year to stimulate an otherwise sluggish Canadian economy. They say the country's consumers, who have been spending at a torrid pace in recent years, will sharply curtail outlays this year and this should help curtail the flow of imports into the country. Meanwhile, demand for Canadian exports in the United States, by far the country's largest market, is expected to be strong as a result of a projected rise in American consumer spending and the relatively low value of the Canadian currency. "We maintain what's going to drive Canada's export performance is income growth in the U.S.," said Midland's Donegan. But at the Bank of Nova Scotia, deputy chief economist Warren Jestin was less optimistic about the U.S. outlook and said it could be a mistake to read too much into February's trade upturn. Jestin said, "Given the fact the U.S. economy is showing signs of weakening--particularly car sales--it would indicate that part of the strength (in Canada's trade figures) is probably transitory." Reuter 3; +19870409 CANADIAN BANK RATE RISES IN WEEK Canada's key bank rate rose to 7.20 pct from 7.15 pct the week before, Bank of Canada said. Bank rate is set 1/4 percentage point above the average yield on the weekly issue of 91-day treasury bills. This week's yield was 6.95 pct compared with the previous week's 6.90 pct. Tenders were accepted for 2.55 billion dlrs of 91-day bills at an average price of 98.296 dlrs against 98.310 dlrs last week. The 1.40 billion dlrs of 182-day bills were priced at an average 96.488 dlrs against 96.549 dlrs last week, to yield an average 7.30 pct, versus 7.17 pct last week. The 500 mln dlrs of 364-day bills were priced at an average 92.969 dlrs against 93.159 dlrs last week, to yield an average 7.58 pct versus 7.38 pct last week. Tenders will be received next week for 2.50 billion dlrs of 91-day bills, 1.40 billion dlrs of 182-day bills and 500 mln dlrs of 364-day bills. Reuter 3; +19870409 CANAM MANAC WINS 8.5 MLN DLR CONTRACT (The Canam Manac Group Inc) said its Canam Steel Works unit received a contract [email protected] mln dlrs to supply steel trusses to (Canron Inc) for a new car plant in Ingersoll, Ontario. Canam Manac said it will produce the trusses at its Quebec and Ontario plants and delivery will be completed by August. Reuter 3; +19870409 CANNON INT'L <CAN> SETS PHILIPPINES FILM PACT Cannon International said <Viva Films International> agreed to exclusively distribute Cannon films in the Philippines for the new four years. The company said the agreement covers both theatrical and video distribution. Terms were not disclosed. Reuter 3; +19870409 CARGILL CONFIRMS WHITE SUGAR SALE TO INDIA London-based trader Cargill (U.K.) Ltd confirmed it sold one cargo of white sugar to India for shipment April 15/May 15 at yesterday's tender. Price details were not immediately available but some traders suggested business had been done around 220 dlrs a tonne cif. India tendered for one or two cargoes of white sugar. There was no specific requirement on shipping period. REUTER 3; +19870409 CCC GUARANTEES TO IRAQ SWITCHED --USDA The Commodity Credit Corporation (CCC) has transferred 12.0 mln dlrs in credit guarantees previously earmarked for sales of U.S. hatching eggs and 7.0 mln dlrs in guarantees for breeder livestock to increase coverage on sales of U.S. protein concentrates to Iraq, the U.S. Agriculture Department said. The action was taken at the request of Iraq's State Trade Organization for Grains and Foodstuffs and reduces the line for hatching eggs to zero and the line for breeder livestock from 15.0 mln dlrs to 8.0 mln dlrs, the department said. The guarantee line for sales of protein concentrates has been increased from 25.0 mln dlrs to 44.0 mln dlrs, it said. Reuter 3; +19870409 CCF REPORTS 34.8 PCT PROFIT BOOST, SHARE SPLIT SEEN Credit Commercial de France <CCFP.PA> reported a parent company net profit up 34.8 pct to 140.1 mln francs from 103.9 mln francs a few weeks before its denationalisation around the end of this month. Official sources said the bank, France's sixth largest in terms of its deposits and seventh in terms of its assets, planned a share split to increase the number of shares on offer ahead of the sale of 40 pct of its ordinary share capital to the public, of 10 pct to staff and 20 pct abroad. Previously one of France's biggest private banks, it was nationalised by the Socialists in 1982. The sources said it was too early to give details of the planned split or of the share price, but cited April 27 as a likely date for the flotation launch. So far 30 pct of the group's capital, [email protected] mln shares of 100 francs nominal, has been offered for sale to large private investors to constitute a solid c ore of eight to ten shareholders before the flotation. The private tender offer closes on April 16, while a 12 mln franc advertising campaign for the flotation begins on Sunday. "The privatisation will be a way of attracting extra clients," CCF deputy director-general Rene de la Serre told Reuters. Market sources put the total value of CCF's privatisation at between four and five billion francs. De la Serre said the bank was likely to attract at least the same number of investors as <Sogenal>, another recently privatised bank in which 850,000 people bought shares. The government's sweeping privatisation programme has also included the sale of Saint-Gobain <SGEP.PA>, and Cie Financiere de Paribas <PARI.PA>. The sale of <Banque du Batiment et des Travaux Publics> and <Banque Industrielle et Mobiliere Privee> should be completed this month, while third largest French bank Societe Generale <SGEN.PA> will be privatised later this year. REUTER 3; +19870409 CENTEL <CNT> COMPLETES ACQUISITION Centel Corp said it completed the acquisition of Welbac Cable Television Corp, which serves more than 2,500 cable television subscribers in east central Michigan. Terms were not disclosed. With the addition of Welbac customers, Centel Cable Television Co of Michigan serves more than 83,000 customers. Overall, Centel has nearly 495,000 customers in seven states. Reuter 3; +19870409 CENTEL <CNT> SELLS [email protected] PCT Centel Corp is raising 50 mln dlrs through an offering of debentures due 2017 yielding 9.233 pct, said lead manager Smith Barney, Harris Upham and Co Inc. The debentures have a 9-1/8 pct coupon and were [email protected] to yield 117 basis points over comparable Treasury securities. Non-callable for five years, the issue is rated A-3 by Moody's Investors Service Inc and A by Standard and Poor's Corp. E.F. Hutton and Co Inc and UBS Securities Inc co-managed the deal. Reuter 3; +19870409 CERTIFICATED COTTON STOCKS Certificated cotton stocks deliverable on the New York Cotton Exchange No 2 cotton futures contract as of April 8 were reported at 34,661 bales, down 421 bales from the previous day's figure. There were no bales awaiting review and 1,218 bales awaiting decertification. Reuter 3; +19870409 CHICAGO PACIFIC <CPAC> SELLS CONVERTIBLE DEBT Chicago Pacific Corp is raising 150 mln dlrs through an offering of convertible subordinated debentures due 2012 with a 6-1/2 pct coupon and par pricing, said lead manager Goldman, Sachs and Co. The debentures are convertible into the company's common [email protected] dlrs per share, representing a premium of 25.63 pct over the stock price when terms on the debt were set. Non-callable for two years, the issue is rated B-1 by Moody's Investors Service Inc and B by Standard and Poor's Corp. First Boston Corp and Lazard Freres and Co co-managed the deal. Reuter 3; +19870409 CHILEAN TRADE SURPLUS NARROWS SLIGHTLY IN FEBRUARY chile's trade surplus narrowed to 102.2 mln dlrs in february, from 105.4 mln dlrs in the same month last year, but it was above the 18.2-mln-dlr surplus recorded in january 1987, the central bank said. Exports in february totalled 379.4 mln dlrs, 17.2 pct above the january figure. Imports fell 9.2 pct from the previous month to 277.2 mln dlrs. The figures for the same month last year were 314 mln and 208.6 mln dlrs, respectively. The accumulated trade surplus over the first two months of 1987 [email protected] mln dlrs against 132.8 mln dlrs the previous year. Reuter 3; +19870409 CHINA LIGHT UNIT RENEWS COMMERCIAL PAPER FACILITY <Kowloon Electricity Supply Co Ltd>, a joint venture of China Light and Power Co Ltd <CLPH.HK> and Exxon Corp <XON>, has renewed and increased an existing commercial paper program, arranger <Schroders Asia Ltd> said. The fully underwritten program, which expires this month, has been extended to December 1990 and increased to 540 mln H.K. Dlrs from the original 500 mln dlrs, it said. The underwriting fee is 1/8 of a percentage point over the Hong Kong interbank offered rate. Commercial paper in tenures of one to three months will be issued in denominations of one mln dlrs, it said. The program offers a U.S. Dlr option whereby commercial paper in denominations of 100,000 U.S. Dlrs will be issued subject to the same underwriting margin. Joining Schroders as underwriters are Barclays Bank Plc, Citicorp International Ltd, Paribas Asia Ltd, Sanwa International Finance Ltd and Sumitomo Finance (Asia) Ltd . The six underwriters will be joined by 11 other financial institutions in the tender panel. REUTER 3; +19870409 CHINA'S WHEAT CROP THREATENED BY PESTS, DISEASE Pests and disease, which destroyed 1.1 mln tonnes of wheat in China in 1986, are threatening crops on 11.64 mln hectares this year, the China Daily said. About 14.54 mln hectares of wheat were affected in 1986. The paper said abnormal weather conditions had encouraged the spread of wheat midges in 2.47 mln hectares in Shanxi, Henan, Sichuan, Anhui, Hebei and Jiangsu. In Henan, Shandong and Hebei wheat aphids are affecting 4.67 mln hectares, wheat red mite 2.8 mln hectares and wheat powdery mildew 1.7 mln hectares. REUTER 3; +19870409 CHINESE BANK TO MAKE FIRST FOREIGN BORROWING The state-owned People's Construction Bank of China is making its first foreign borrowing, 300 mln dlrs to finance a large ethylene plant in Shanghai, the People's Daily said. The newspaper's overseas edition said the plant will produce 300,000 tonnes of ethylene a year. It said the bank last year started foreign exchange services for the first time on an experimental basis in Shenzhen, Zhuhai and Xiamen, but it gave no more details. REUTER 3; +19870409 CIBC UNIT ISSUES AUSTRALIAN DLR ZERO COUPON BOND CIBC Australia Ltd is issuing a zero coupon eurobond with a total redemption amount of 125 mln Australian dlrs due May 15, 1992 priced at 54 pct, sole lead manager CIBC Ltd said. The issue is available in denominations of 1,000 and 10,000 Australian dlrs and is guaranteed Canadian Imperial Bank of Commerce. The selling concession is 3/4 pct, while management and underwriting combined pays 5/8 pct. The payment date is May 15. REUTER 3; +19870409 CLEVITE <CLEV> AMENDS RIGHTS PLAN Clevite Industries Inc, which earlier received a 96 mln dlr takeover offer from J.P. Industries Inc <JPI>, said it amended its Shareholder Rights Plan so that certain provisions of the plan cannot occur until the board determines that it is in the best interests of the company and stockholders. The plan, adopted in December 1986, permits Clevite to issue shares at half price to existing stockholders and allows stockholders to buy shares of an unfriendly bidder at half price. Clevite said the amendments by its board effectively mean that the so-called flip-in and flip-over provisions of its rights plan can only be triggered by affirmative board approval. The company said it acted inview of the proposed acquisition and because certain debt restrictions could block its ability to redeem the rights. Reuter 3; +19870409 CLEVITE <CLEV> GETS 13.50 DLR/SHR OFFER Clevite Industries Inc said it received a written proposal from J.P. Industries Inc <JPI> seeking to buy all of its outstanding shares for 13.50 dlrs a share. Clevite's stock was trading on NASDAQ at 13-1/4. J.P. Industries recently completed the acquisition of Clevite's Engine Parts Division. J.P. Industries said its proposed transaction would be financed through borrowings under its available bank lines and a bridge financing facility which Donaldson Lufkin and Jenrette Securities Corp agreed to arrange. To expedite the transaction, J.P. Industries said it would be willing to start a cash tender for Clevite's shares within five days after agreeing upon a definitive merger and confirmation of Clevite's financial results and condition. Reuter 3; +19870409 COAST SAVINGS <CSA> IN TALKS ON BUYING BANK Coast Savings and Loan Association said it is in talks with the Federal Savings and Loan Insurance Corp on the acquisition of Central Savings and Loan Association of San Diego. Central, which operates 46 branches, has been under management guidance of the FSLIC since May 1985. Coast said the acquisition would give it an entry into the San Joaquin Valley market besides strengthening its presence in the San Diego, Los Angeles and Orange Counties areas. Reuter 3; +19870409 COLONIAL BANCGROUP <CLBGA> MAKES ACQUISITION Colonial BancGroup said it has signed letter of intent to acquire Community Bank and Trust of Hartselle, Ala., with assets of 26 mln dlrs, for undisclosed terms, subject to approval by regulatory authorities and Community Bank shareholders. Completion is expected within the next year, it said. Reuter 3; +19870409 COMDATA <CDN> GETS MERGER FINANCING Comdata Network Inc said it has received a letter from Drexel Burnham Lambert Inc stating that, subject to conditions, the company could raise up to 235 mln dlrs in debt securities to finance the previously announced merger of a newly formed corporation controlled by <Welsh, Carson, Anderson and Stowe IV> and Comdata. Comdata said the letter was in accordance with the previously announced terms with Welsh, Carson. Reuter 3; +19870409 COMINCO <CLT> TO FORM EXPLORATION UNIT Cominco Ltd said it is forming a new publicly held company, Cominco Resources International Ltd, to continue exploration and development of its mineral holdings outside Canada, Alaska and Australia. Cominco will maintain a majority position in the company, but the remaining interest will be sold in offerings led by Wood Gundy Inc and First Marathon Securities Ltd in Canada, and S.G. Warburg Securities and Wood Gundy Inc internationally. Cominco said it is filing a preliminary prospectus with securities regulators in all Canadian provinces. Reuter 3; +19870409 COMMONWEALTH EDISON <CWE> FILES DEBT OFFER Commonwealth Edison Co filed with the Securities and Exchange Commission for the sale of 375 mln dlrs in first mortgage bonds. It said the proceedings would be used to discharge or refund outstanding obligations. No underwriter was named. Reuter 3; +19870409 COMMUNITY BANK SYSTEM INC <CBSI> 1ST QTR NET Shr 46 cts vs 49 cts Net 1,101,551 vs 831,398 NOTE: Share adjusted for two-for-one stock split in May 1986. Reuter 3; +19870409 CONSENSUS SEEN ON TIN PACT EXTENSION The quarterly session of the International Tin Council (ITC) continued without formal agreement on an extension of the sixth International Tin Agreement (ITA), but delegates said it was apparent there was a general consensus the Agreement should be prolonged. Some delegations are still awaiting formal instructions from capitals, but informally most have indicated they favour an extension, delegates said. This afternoon's session was used by delegates to seek further clarification on some of the issues involved, and to discuss internal matters. Some sources were optimistic a resolution on an extension could be passed tomorrow but others suggested a special session would be convened to adopt the resolution after the Association of Tin Producing Countries meeting April 14 to 16. The full Council session resumes tomorrow at 1330 GMT after a European Community coordination [email protected]. Reuter 3; +19870409 CONSUMERS POWER <CMS> TO REDEEM BONDS Consumers Power Co said it has 56 mln dlrs available to be used to redeem at par any 15 pct series first mortgage bonds that are not exchanged under an outstanding bond exchange program. The utility on March 17 offered to exchange its 15 pct first mortgage bonds due March 1, 1994 for a new series of first mortgage bonds, 9-1/4 pct due April 1, 1997. The offer will expire April 14, 1987. Reuter 3; +19870409 CONTI SHARES OPEN HIGHER ON GOOD NEW TYRE REVIEWS Shares of Continental Gummi-Werke AG <CONG.F> opened eight marks stronger in an otherwise mixed Frankfurt market and dealers attributed the trend to favourable press reports about a new tyre system the company is developing. The shares later eased to 344.50. A spokesman for the West German Automobile Association, ADAC, said the ADAC magazine in a recent edition described advantages of the new tyre. REUTER 3; +19870409 COUPON CUT ON BANK OF TOKYO DOLLAR CONVERTIBLE The coupon on the 100 mln dlr, 15-year, convertible eurobond for the Bank of Tokyo Ltd has been cut to 1-3/4 pct from the two pct initially indicated, lead manager Bank of Tokyo International Ltd said. The foreign exchange rate has been [email protected] yen to the dollar but details of the conversion price were not immediately available. REUTER 3; +19870409 COUPON CUT ON BANK OF TOKYO SWISS FRANC ISSUE The coupon on the Bank of Tokyo Ltd's 100 mln Swiss franc convertible has been cut to 7/8 pct from the indicated 1-1/4 pct, lead manager Swiss Bank Corp said. The conversion price has been set at 1,590 yen, the same as today's close. The exchange rate has been [email protected] yen to the franc. Payment is due April 30. The conversion period is from May 20, 1987 until September 20, 1992. REUTER 3; +19870409 CRAY <CYR> GETS 6.6 MLN DLRS ORDER FROM BP <BP> Cray Research Inc said British Petroleum ordered a CRAY X-MP/24 supercomputer valued at about 6.6 mln dlrs. The leased system will be installed at BP Exploration Co Ltd's London headquarters in the fourth quarter of 1987, pending export license approval, it said. The CRAY X-MP/24 will replace a CRAY X-MP/12 supercomputer in operation since 1985, it added. Separately, the company said that a CRAY X-MP/24 system [email protected] mln dlrs was installed at Lockheed Missiles and Space Co. Reuter 3; +19870409 CREDIT NATIONAL ISSUES BILLION FRANC CONVERTIBLE Credit National is issuing a one billion franc convertible bond issue in two tranches both paying 8.50 pct and in 5,000 franc units, lead managers Caisse Nationale de Credit Agricole, Union de Garantie et de Placement and Morgan et Cie said. Both tranches will be redeemable at the end of their lives and both have a payment date of April 27. One seven year tranche will be [email protected] pct. Each bond will be convertible on a one-for-one basis for a 8-1/2 year, 8.50 pct bond [email protected] pct, redeemable at the end of its life. This bond will pay a first coupon of 4.25 pct on April 27 next year and the payment date will be October 27, 1987. A 13-year tranche, [email protected] pct, will also be convertible until October 10, 1987 on a one for one basis for a 8.50 pct, 10-1/2 year year bond [email protected] pct. This bond will pay a first coupon of 212.50 francs on October 27 next year and the payment date will be October 27 this year. REUTER 3; +19870409 CRUDE OIL NETBACKS UP SHARPLY IN EUROPE, U.S. Crude oil netback values in complex refineries rose sharply in Europe and firmed in the U.S. last Friday from the previous week but fell sharply in Singapore, according to calculations by Reuters Pipeline. The firmer tone to refining margins in Europe and the U.S. relected higher prices for petroleum products, particularly gasoline, and support from crude oil prices. Netback values for crude oil refined in Northern Europe rose substantially following strong gains in gasoline prices there. Brent is [email protected] dlrs, up 56 cts a barrel or three pct from the previous week. In the U.S. Gulf, sweet crudes rose in value by 14 cts to 19.33 dlrs for West Texas Intermediate, up about 0.7 pct. Sour grades in the U.S. Gulf showed an increase of 33 cts a barrel for Alaska North Slope, up 1.7 pct. But netbacks for crude oil refined in Singapore fell sharply, down 15 cts to as much as 68 cts a barrel as ample d istillate supplies weighed on petroleum product prices. Attaka in Singapore is [email protected] dlrs, a decline of 68 cts a barrel or 3.5 pct from the previous week. For refineries in the Mediterranean, netback values were mostly lower, with declines of seven to 14 cts. The value of Kuwait crude fell 14 cts to 18.37 dlrs, while Iranian Light fell 11 cts to 19.14 dlrs. On the U.S. West Coast, netback values for ANS CIF L.A. also jumped sharply, up 40 cts a barrel or 2.2 pct to 18.82 dlrs on higher gasoline prices. Reuter 3; +19870409 DAYTON HUDSON <DH> MARCH SALES OFF 4.9 PCT Dayton Hudson Corp said retail sales for the five weeks ended April Four were 791.8 mln dlrs compared to 755.6 mln dlrs a year ago. On a comparable store basis, it said sales declined 4.9 pct. Sales for the nine months were 1.39 billion dlrs, up from 1.26 billion dlrs in the same 1986 period. On a comparable store basis, the sales rose 1.2 pct. Reuter 3; +19870409 DEKALB CORP <DKLBB> 2ND QTR FEB 28 NET Shr 20 cts vs 14 cts Net 2.4 mln vs 1.7 mln Revs 136.7 mln vs 174.4 mln Six Mths SDhr 72 cts vs 82 cts Net 8.6 mln vs 9.9 mln Revs 212.5 mln vs 268.8 mln Reuter 3; +19870409 DIAMOND CRYSTAL <DSLT> MIGHT SELL SALT UNIT Diamond Crystal Salt Co said it might sell its salt division. The company said it retained First Boston Corp to assist it with the possible sale of the division, "assuming a fair price and reasonable terms can be obtained." Diamond Crystal said sale of the unit was in the best long-term interests of its shareholders. The company also said it incorporated its Packet Products Division as of April one. The unit will be an indirect wholly owned subsidiary called Diamond Crystal Specialty Foods Inc. Current management of the division will remain. Reuter 3; +19870409 DISEASE PUTS ZIMBABWE BEEF EXPORTS IN JEOPARDY Zimbabwe's beef exports to the European Community (EC), potentially worth 70 mln Zimbabwean dlrs this year, may be jeopardised by an outbreak of foot and mouth disease in southwestern Matabeleland, industry sources said. The country has temporarily suspended beef exports to the EC because of the outbreak and awaits a decision from the EC veterinary committee, which is considering a formal ban. The outbreak in the country's main ranching province has already led neighbouring beef-producing Botswana and Zambia to bar beef and dairy imports from Zimbabwe, threatening the dairy industry with a loss of at least one mln dlrs in export revenue. "The situation is still uncertain at the moment. Normally when an outbreak occurs there is an automatic suspension of beef exports," one industry source said yesterday. Commenting on EC policy, he explained, "Depending on the seriousness of the outbreak the (veterinary) committee then decides on three options, allowing us to continue exporting beef from disease-free areas, clamping a three-month suspension on exports or banning us from exporting for a year. We are still awaiting their decision," he added, asking not to be identified. Zimbabwe was granted an export quota of 8,100 tonnes of high-grade beef to EC markets in 1985 after the country had spent millions of dollars erecting disease-control fences and upgrading abattoirs to meet stringent EC rules. Should the EC ban Zimbabwean exports, the country will be forced to sell its beef on glutted world beef markets at low prices, the source said. Projected earnings from beef sales could fall about 23 mln dlrs as a result, he said. Reuter 3; +19870409 DISNEY FAMILY MAKES BID FOR HOLLY SUGAR <HLY> The Roy Disney family disclosed in a filing with the Securities and Exchange Commission that it made a bid to acquire Holly Sugar Corp for a package of cash and securities. Shamrock Holdings of California Inc, a Disney family company, said it submitted the bid on April 8 to Salomon Brothers Inc, Holly Sugar's investment banker. The offer was for 45 dlrs in cash, securities with a face value of 70 dlrs, and a "contingent payment certificate" that would pay out as much as 70 dlrs over a 20-year period for each share of Holly Sugar outstanding. The Disney family already holds 101,300 Holly Sugar shares or 9.0 pct of the total outstanding following purchases of 12,500 shares March 13-April 17, Shamrock told the SEC. Shamrock said it had asked for certain information about Holly Sugar's financial condition but had been turned down. It said its offer was therefore subject to further discussions. "Once we ha ve had an opportunity to complete our due diligence evaluation of the company, including inspections of certain facilities and meetings with key management personnel, we would be prepared to negotiate all aspects of our proposal, including price," it said in its April 8 letter. REUTER^M 3; +19870409 DOE RUN RAISES LEAD PRICE 0.50 CT TO 26.50 CTS Doe Run Company said it is increasing the price of its corroding grade lead by one-half cent to 26.50 cents a lb, effective immediately. The price is quoted FOB, Herculaneum, Mo., and FOB, Boss, Mo., with freight allowed for carload quantities. Reuter 3; +19870409 DOLLAR ENDS LOWER IN LACKLUSTRE FRANKFURT The dollar drifted down to end one pfennig lower after a lacklustre session, held in limits by the lack of concrete news from the Group of Seven meeting and comments on the edge of the Washington IMF/World Bank meeting. Dealers said the communique early in the European morning from the G-7 meeting contained no significant new factors and although the dollar dipped it generally resisted further attempts to push it lower through the day. The U.S. Currency [email protected]/80 marks, below yesterday's last 1.8365/75. Koch said the assessment of the dollar's direction was based on a global view, with operators paying most attention to comments by finance officials to see how closely they stated adherence to international agreements such as those set at the Plaza Hotel in 1985 and in Paris on February 22. Koch described the wording of the communique from the G-7 as "soft as wax." Bundebank vice-president Helmut Schlesinger told Reuters in a telephone interview that the German central bank sees no current reason to change monetary [email protected]. Schlesinger was responding to questions following remarks yesterday by Bundesbank board member Claus Koehler and West Berlin state central bank president Dieter Hiss, which dealers said revived some speculation that German interest rate cuts may be under consideration. German call money was slightly softer today, at around 3.70 pct after 3.80 yesterday. Some dealers said rates on new liquidity injections added via Bundesbank securities repurchase agreements may be cut next week. Hopes of a cut were dashed on Tuesday with an allocation at an unchanged 3.80 pct. But speaking of the pact tender rate next week, Schlesinger said, "since the central bank council gives its opinion on this theme only every 14 days, this is hardly probable." Euromark rates scarcely responded to the central bankers comments, with six months fun ds ending unaltered at around 3-7/8 pct. Eurodollars for the same maturity rose a fractional 1/16 pct from yesterday to around 6-11/16 pct. Sterling dipped to [email protected]/956 marks after 2.960/965 last night. The Swiss franc firmed slightly to 120.30/45 marks per 100 from 120.25/40, with the yen soaring however to 1.2570/90 marks per 100 from 1.2515/35 yesterday. EMS currencies saw the French franc end unchanged from last [email protected]/06 marks per 100, with the Belgian franc easing however to 4.829/831 marks per 100 from 4.831/833. REUTER 3; +19870409 DOLLAR FALLS BELOW 143 YEN IN TOKYO The dollar fell below 143 yen in hectic early Tokyo trading despite aggressive Bank of Japan intervention, dealers said. After opening at a Tokyo low of 143.75 yen, the dollar fell as low as 142.90 yen on heavy selling led by securities firms and institutional investors, they said. REUTER 3; +19870409 DOLLAR OPENS AT TOKYO RECORD LOW OF 143.75 YEN The dollar opened at a record Tokyo low of 143.75 yen despite aggressive Bank of Japan intervention, dealers said. The previous record low was 144.70 yen set on March 30. The opening compares with 143.90/144.00 yen at the close in New York. The central bank bought dollars through Tokyo brokers just before and after the market opening, the dealers said. The intervention took place when the dollar fell to 143.20 yen, one dealer said. The dollar [email protected]/60 marks against 1.8187/97 in New York. The dollar fell as low as 142.90 yen despite central bank [email protected] yen, dealers said. Selling pressure was strong from securities houses and institutional investors in hectic and nervous trading on underlying bearish sentiment for the dollar, they said. Most dealers were surpised by the dollar's sharp fall against the yen in New York, although many had expected such a drop to happen e ventually. Institutional investors are expected to sell the dollar aggressively if it rises to around 143.50 yen, dealers said. The U.S. Currency steadied well above 143.00 yen after Bank of Japan intervention and scattered short-covering, they said. The dollar [email protected]/30 Swiss francs against 1.5085/00 at the New York close. Sterling [email protected]/00 dlrs against 1.6195/05. REUTER 3; +19870409 E.F. HUTTON <EFH> UNIT'S PUROLATOR OFFER EXPIRES E.F. Hutton LBO Inc said the tender offer by its wholly owned unit, PC Acquisition Inc, for Purolator Courier Corp <PCC> expired at 2400 EDT yesterday without the purchase of any Purolator common stock. Hutton added that PC Acquisition also terminated its merger agreement with Purolator. Hutton said the offer, which had been conditioned upon the tender of at least 5,116,892 Purolator shares, or about two-thirds of the outstanding shares, was terminated because the minimum number of shares was not tendered. Purolator had entered into a definitive agreement with PC Acquisition, part-owned by E.F. Hutton LBO Inc, a unit of E.F. Hutton, and some officers of Purolator's U.S. courier division, in which PC offered to purchase 6,332,471 Purolator common stock shares for 35 dlrs a share. Following that move, PC Acquisition planned to merge a subsidiary into Purolator, converting all outstanding Purolator common it did not own into an aggregate 46 mln dlrs principal amount of 12 pct guaranteed debentures due 2002 and warrants to purchase 15 pct of a Purolator unit comprised of Purolator's U.S courier operations. Hutton said as of 2400 EDT yesterday about 181,000 shares of Purolator common stock, or about 2.4 pct of the outstanding shares, had been validly tendered and not withdrawn. PC Acquisition has instructed its depository for the offer to return promptly the Purolator stock deposited by, or on behalf of, tendering shareholders, Hutton said. Reuter 3; +19870409 EC COMMISSION AUTHORISED TO BUY MAIZE IN JUNE The European Commission was authorised to buy up to one mln tonnes of maize into intervention stores in the second half of June, although sales into intervention normally end on April 30, Commission sources said. They said approval was given by the EC's Cereals Management Committee because of the possible disturbance of the market due to heavy imports of maize under the agreement between the EC and the United States. The agreement guarantees access to the Spanish market for two mln tonnes of non-EC maize a year for the next four years. The sources said the intervention price for the maize would be 201.49 Ecus a tonne. They said at this price it seemed unlikely that the full They added the decision is also designed to prevent massive offers of maize for intervention just ahead of the normal April 30 deadline, which could be caused by speculation about the implementation of the accord with the United St ates. Reuter 3; +19870409 EC GRANTS FREE MARKET BARLEY, MAIZE EXPORTS The European Commission authorised the export of 65,000 tonnes of free market barley at today's tender at a maximum rebate of 138.75 European currency units and 55,000 tonnes of French maize at 130 Ecus, grain traders here said. It rejected bids for breadmaking and feed wheat, they said. Reuter 3; +19870409 EC LAUNCHES ANTI-DUMPING PROBE ON JAPANESE CHIPS The European Community launched an investigation into allegations of dumping by Japanese semiconductor makers in a move which diplomats said could mark an intensification of world trade strains. Tokyo already faces a deadline of April 17 from Washington for the imposition of 300 mln dlrs worth of tariffs on chips it imports into the U.S. The EC Executive Commission said today the European Electrical Component Manufacturers Association complained that Japanese firms were selling high capacity EPROM type (erasable programmable read only memory) chips at unfairly low prices. Japan last year took 78 pct of the 170 mln dlr EC EPROM market, up from 60 pct in 1984. The EC firms said they had been forced to offer their products at a discount of up to 30 pct in order to compete with the Japanese. The Commission said it believed the Association had given sufficient elements of proof for dumping to warrant an inv estigation, which could lead it to impose duties if it found the complaints were justified. The Commission claims last year's accord between the U.S. And Japan on microchip pricing gives U.S. Firms privileged access to the Japanese market. REUTER 3; +19870409 EC SUGAR TENDER SEEN MARKING NO CHANGE IN POLICY The maximum export rebate granted at yesterday's EC sugar tender marked no change in policy over producer complaints that they are not obtaining the EC intervention price in exporting sugar outside the Community, EC Commission sources said. The maximum rebate was 46.496 Ecus per 100 kilos for 118,350 tonnes of sugar, down from 46.864 Ecus the previous week, but the change is explained by world market conditions. Producers claim the rebate was short of the level needed to obtain a price equivalent to the intervention price by over one Ecu per 100 kilos, and was 0.87 Ecu short the previous week, the sources said. They said this was despite the fact that the Commission had to accept 785,000 tonnes of sugar into intervention from operators protesting that rebates are too low. Operators have now until early May to withdraw this sugar. But they have not given any sign of planned withdrawals unless the Commis sion reviews its export policy, they said. REUTER 3; +19870409 ECONOMIC SPOTLIGHT - TELECOM IS KEY JAPAN MINISTRY Japan's little-known Ministry of Posts and Telecommunications (MPT) has emerged as an international force to be reckoned with, political analysts said. MPT, thrust into the spotlight by trade rows with the U.S. And Britain, is in a position of strength due to its control of a lucrative industry and its ties with important politicians, they said. "The ministry is standing athwart the regulatory control of a key industrial sector, telecommunications and information," said one diplomatic source. "They are a potent political force," the diplomatic source said. But MPT is finding domestic political prowess does not always help when it comes to trade friction diplomacy, analysts said. "The ministry was a minor ministry and its people were not so internationalized," said Waseda University professor Mitsuru Uchida. "Suddenly they're standing at the centre of the world community and in that sense, they're at a loss (as to) how to face the situation." Most recently the ministry has been embroiled in a row with London over efforts by Britain's Cable and Wireless Plc to keep a major stake in one of two consortia trying to compete in Japan's lucrative overseas telephone business. The ministry has favoured the merger of the two rival groups, arguing the market cannot support more than one competitor to Kokusai Denshin Denwa Co Ltd, which now monopolizes the business. It has also opposed a major management role in the planned merger for any non-Japanese overseas telecommunications firm on the grounds that no such international precedent exists. The ministry's stance has outraged both London, which has threatened to retaliate, and Washington, which says the merger plan is evidence of Japan's failure to honour pledges to open its telecommunications market. Washington is also angry over other ministry moves which it says have limited access for U.S. Firms to Japan 's car telephone and satellite communications market. Much of MPT's new prominence stems from the growth of the sector it regulates. "What has been happening is an important shift in the economy which makes the ministry a very important place," said James Abegglen, head of the consulting firm Asia Advisory Service Inc. A decision to open the telecommunications industry to competition under a new set of laws passed in 1985 has boosted rather than lessened MPT's authority, analysts said. "With the legal framework eased, they became the de facto legal framework," said Bache Securities (Japan) analyst Darrell Whitten. Close links with the powerful political faction of the ruling Liberal Democratic Party (LDP) nurtured by former Prime Minister Kakuei Tanaka are another key to MPT's influence, the analysts said. "Other factions ignored MPT (in the 1970s), but the Tanaka faction was forward looking and ... Recognized the importance of MPT," Uchida said. Many former bureaucrats became members of the influential political group, he added. The ministry also has power in the financial sector due to the more than 100,000 billion yen worth of deposits in the Postal Savings System, analysts said. MPT has helped block Finance Ministry plans to deregulate interest rates on small deposits, a key element in financial liberalisation, since the change would remove the Postal Savings System's ability to offer slightly higher rates than banks, they said. Diplomatic sources, frustrated with what they see as MPT's obstructionist and protectionist posture, have characterized the ministry as feudal. Critics charge MPT with protecting its own turf, limiting competition and sheltering the former monopolies under its wing. Providing consumers with the best service at the lowest price takes a back seat to such considerations, they said. But many of the ministry's actions are not unlike those of its bureaucratic counterparts in muc h of the Western world including Britain, several analysts said. "The United States is really the odd man out," Abegglen said. "For a government to take the view that it wants to keep order in utilities markets is not an unusual and/or unreasonable view," he said. REUTER 3; +19870409 ECUADOR CRUDE OIL OUTPUT TO RESUME NEXT MONTH Ecuador is due to resume limited crude oil output on May 8 when a new 43 km pipeline to neighbouring Colombia should be finished, an energy ministry spokesman said. Oil output was halted on March 5 by an earthquake which damaged 50 km of the main pipeline linking jungle oilfields at Lago Agrio to the Ecuadorean port of Balao on the Pacific. About 13 km of the new link, capable of carrying some 50,000 barrels per day (bpd), has been built, he said. Ecuador pumped 245,000 to 250,000 bpd before the earthquake. The new link will connect Lago Agrio to Puerto Colon in Colombia, the starting point of Columbia's pipeline to the Pacific ocean port of Temuco. The government estimates it will take about four more months to repair the Lago Agrio to Balao pipeline and return output to normal levels, the spokesman said. REUTER 3; +19870409 EGYPT BUYS PL 480 WHEAT FLOUR - U.S. TRADERS Egypt bought 125,723 tonnes of U.S. wheat flour in its PL 480 tender yesterday, trade sources said. The purchase included 51,880 tonnes for May shipment and 73,843 tonnes for June shipment. Price details were not available. Reuter 3; +19870409 EGYPT CANCELS WHEAT TENDER Egypt has cancelled its April 2 tender for 200,000 tonnes of any origin wheat for April 15-30 shipment, trade and Egyptian official sources said. Trade sources said the cancellation followed an offer by an Egyptian company, Islamic Corp, at 85.80 dlrs/tonne cost and freight, undercutting other traders' offers of between 93.90 and 94.49 dlrs/tonne. An Egyptian trade official in Paris confirmed cancellation of the tender following the Islamic Corp offer, which he said the government had refused for legal reasons. The official denied trade reports that the government might have substituted a private deal with Islamic Corp for the original tender. Reuter 3; +19870409 EGYPT SEEKING 500,000 TONNES CORN - U.S. TRADERS Egypt is expected to tender April 22 for 500,000 tonnes of corn for May through September shipments, private export sources said. Reuter 3; +19870409 EIB ISSUES 40 BILLION YEN EUROBOND The European Investment Bank (EIB) is issuing a 40 billion yen eurobond due May 6, 1994 paying 4-5/8 pct and priced at 101-1/2, lead Nomura International Ltd said. The non-callable bond is available in denominations of one mln yen and will be listed in Luxembourg. The selling concession is 1-1/8 pct while management and underwriting combined pays 1/2 pct. The payment date is May 6. There is a mandatory purchase fund operating in years one and two, except for the first month after the payment date, whereby the EIB can purchase up to five pct of the issue each year if it is trading below par. REUTER 3; +19870409 EQUITICORP H.K. UNIT TO RAISE 30 MLN U.S. DLRS <Equiticorp Hongkong Ltd> is planning a 30 mln U.S. Dlr transferrable loan facility to raise working capital, lead managers <Manufacturers Hanover Asia Ltd> and <Manufacturers Hanover Ltd>, said. The two year loan with bullet repayment carries interest at 5/8 of a percentage point over the London interbank offered rate. It will be guaranteed by parent company <Equiticorp Holdings Ltd> of New Zealand, the managers said. Syndication is proceeding and managers and participants are being invited to participate at four levels with management fees ranging from 15 to 30 basis points, it said. REUTER 3; [... 391 lines stripped ...] From [email protected] Sat Feb 25 00:40:04 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 17052 invoked from network); 25 Feb 2006 00:40:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Feb 2006 00:40:03 -0000 Received: (qmail 17353 invoked by uid 500); 25 Feb 2006 00:40:03 -0000 Delivered-To: [email protected] Received: (qmail 17236 invoked by uid 500); 25 Feb 2006 00:40:03 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <java-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 17205 invoked by uid 99); 25 Feb 2006 00:40:02 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Feb 2006 16:40:02 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 24 Feb 2006 16:39:56 -0800 Received: (qmail 16916 invoked by uid 65534); 25 Feb 2006 00:39:35 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r380874 [1/3] - in /lucene/java/trunk/contrib: queries/ queries/src/ queries/src/java/ queries/src/java/org/ queries/src/java/org/apache/ queries/src/java/org/apache/lucene/ queries/src/java/org/apache/lucene/search/ queries/src/java/org/ap... Date: Sat, 25 Feb 2006 00:39:24 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: mharwood Date: Fri Feb 24 16:39:18 2006 New Revision: 380874 URL: http://svn.apache.org/viewcvs?rev=380874&view=rev Log: Added XML-query-parser module for new extensible query parser that handles queries expressed as XML. Is dependent on new "queries" contrib module. Added "queries" contrib module for various new query/filter classes. This area is also intended to consolidate existing query classes so have moved a copy of MoreLikeThis into here. Probably need to remove "similarity" module as a result, if no one objects. Added: lucene/java/trunk/contrib/queries/ lucene/java/trunk/contrib/queries/build.xml lucene/java/trunk/contrib/queries/readme.txt lucene/java/trunk/contrib/queries/src/ lucene/java/trunk/contrib/queries/src/java/ lucene/java/trunk/contrib/queries/src/java/org/ lucene/java/trunk/contrib/queries/src/java/org/apache/ lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/ lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/ lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/BoostingQuery.java lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/FuzzyLikeThisQuery.java lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/TermsFilter.java lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/similar/ lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/similar/MoreLikeThis.java lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/similar/MoreLikeThisQuery.java lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/similar/SimilarityQueries.java lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/similar/package.html lucene/java/trunk/contrib/xml-query-parser/ lucene/java/trunk/contrib/xml-query-parser/build.xml lucene/java/trunk/contrib/xml-query-parser/readme.htm lucene/java/trunk/contrib/xml-query-parser/src/ lucene/java/trunk/contrib/xml-query-parser/src/java/ lucene/java/trunk/contrib/xml-query-parser/src/java/org/ lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/ lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/ lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/ lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/CoreParser.java lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/CorePlusExtensionsParser.java lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/DOMUtils.java lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/FilterBuilder.java lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/FilterBuilderFactory.java lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/FilteredQueryBuilder.java lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/ParserException.java lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/QueryBuilder.java lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/QueryBuilderFactory.java lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/ lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/BooleanQueryBuilder.java lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/BoostingQueryBuilder.java lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/ConstantScoreQueryBuilder.java lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/FuzzyLikeThisQueryBuilder.java lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/LikeThisQueryBuilder.java lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/RangeFilterBuilder.java lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanBuilderBase.java lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanFirstBuilder.java lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanNearBuilder.java lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanNotBuilder.java lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanOrBuilder.java lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanOrTermsBuilder.java lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanQueryBuilder.java lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanQueryBuilderFactory.java lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanTermBuilder.java lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/TermQueryBuilder.java lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/TermsFilterBuilder.java lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/UserInputQueryBuilder.java lucene/java/trunk/contrib/xml-query-parser/src/test/ lucene/java/trunk/contrib/xml-query-parser/src/test/org/ lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/ lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/ lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/ lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/BooleanQuery.xml lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/BoostingQuery.xml lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/ConstantScoreQuery.xml lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/FuzzyLikeThisQuery.xml lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/LikeThisQuery.xml lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/RangeFilterQuery.xml lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/SpanQuery.xml lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/TermQuery.xml lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/TermsFilterQuery.xml lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/TestParser.java lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/UserInputQuery.xml lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/reuters21578.txt Added: lucene/java/trunk/contrib/queries/build.xml URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/queries/build.xml?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/queries/build.xml (added) +++ lucene/java/trunk/contrib/queries/build.xml Fri Feb 24 16:39:18 2006 @@ -0,0 +1,10 @@ +<?xml version="1.0"?> + +<project name="queries" default="default"> + + <description> + Queries - various query object exotica not in core + </description> + + <import file="../contrib-build.xml"/> +</project> Added: lucene/java/trunk/contrib/queries/readme.txt URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/queries/readme.txt?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/queries/readme.txt (added) +++ lucene/java/trunk/contrib/queries/readme.txt Fri Feb 24 16:39:18 2006 @@ -0,0 +1,27 @@ +This module contains a number of filter and query objects that add to core lucene. + +The "MoreLikeThis" class from the "similarity" module has been copied into here. +If people are generally happy with this move then the similarity module can be deleted, or at least a +"Moved to queries module..." note left in its place. + +==== FuzzyLikeThis - mixes the behaviour of FuzzyQuery and MoreLikeThis but with special consideration +of fuzzy scoring factors. This generally produces good results for queries where users may provide details in a number of +fields and have no knowledge of boolean query syntax and also want a degree of fuzzy matching. The query is fast because, like +MoreLikeThis, it optimizes the query to only the most distinguishing terms. + +==== BoostingQuery - effectively demotes search results that match a given query. +Unlike the "NOT" clause, this still selects documents that contain undesirable terms, +but reduces the overall score of docs containing these terms. + + +==== TermsFilter - Unlike a RangeFilter this can be used for filtering on multiple terms that are not necessarily in +a sequence. An example might be a collection of primary keys from a database query result or perhaps +a choice of "category" labels picked by the end user. + + + + +Mark Harwood +25/02/2006 + + Added: lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/BoostingQuery.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/BoostingQuery.java?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/BoostingQuery.java (added) +++ lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/BoostingQuery.java Fri Feb 24 16:39:18 2006 @@ -0,0 +1,71 @@ +package org.apache.lucene.search; +import java.io.IOException; + +import org.apache.lucene.index.IndexReader; +import org.apache.lucene.search.BooleanQuery; +import org.apache.lucene.search.DefaultSimilarity; +import org.apache.lucene.search.Query; +import org.apache.lucene.search.Searcher; +import org.apache.lucene.search.Similarity; +/** + * The BoostingQuery class can be used to effectively demote results that match a given query. + * Unlike the "NOT" clause, this still selects documents that contain undesirable terms, + * but reduces their overall score: + * + * Query balancedQuery = new BoostingQuery(positiveQuery, negativeQuery, 0.01f); + * In this scenario the positiveQuery contains the mandatory, desirable criteria which is used to + * select all matching documents, and the negativeQuery contains the undesirable elements which + * are simply used to lessen the scores. Documents that match the negativeQuery have their score + * multiplied by the supplied "boost" parameter, so this should be less than 1 to achieve a + * demoting effect + * + * This code was originally made available here: [WWW] http://marc.theaimsgroup.com/?l=lucene-user&m=108058407130459&w=2 + * and is documented here: http://wiki.apache.org/jakarta-lucene/CommunityContributions + */ +public class BoostingQuery extends Query { + private float boost; // the amount to boost by + private Query match; // query to match + private Query context; // boost when matches too + + public BoostingQuery(Query match, Query context, float boost) { + this.match = match; + this.context = (Query)context.clone(); // clone before boost + this.boost = boost; + + context.setBoost(0.0f); // ignore context-only matches + } + + public Query rewrite(IndexReader reader) throws IOException { + BooleanQuery result = new BooleanQuery() { + + public Similarity getSimilarity(Searcher searcher) { + return new DefaultSimilarity() { + + public float coord(int overlap, int max) { + switch (overlap) { + + case 1: // matched only one clause + return 1.0f; // use the score as-is + + case 2: // matched both clauses + return boost; // multiply by boost + + default: + return 0.0f; + + } + } + }; + } + }; + + result.add(match, BooleanClause.Occur.MUST); + result.add(context, BooleanClause.Occur.SHOULD); + + return result; + } + + public String toString(String field) { + return match.toString(field) + "/" + context.toString(field); + } + } \ No newline at end of file Added: lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/FuzzyLikeThisQuery.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/FuzzyLikeThisQuery.java?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/FuzzyLikeThisQuery.java (added) +++ lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/FuzzyLikeThisQuery.java Fri Feb 24 16:39:18 2006 @@ -0,0 +1,302 @@ +package org.apache.lucene.search; + +import java.io.IOException; +import java.io.StringReader; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.Iterator; + +import org.apache.lucene.analysis.Analyzer; +import org.apache.lucene.analysis.Token; +import org.apache.lucene.analysis.TokenStream; +import org.apache.lucene.index.IndexReader; +import org.apache.lucene.index.Term; +import org.apache.lucene.index.TermEnum; +import org.apache.lucene.util.PriorityQueue; + +/** + * Fuzzifies ALL terms provided as strings and then picks the best n differentiating terms. + * In effect this mixes the behaviour of FuzzyQuery and MoreLikeThis but with special consideration + * of fuzzy scoring factors. + * This generally produces good results for queries where users may provide details in a number of + * fields and have no knowledge of boolean query syntax and also want a degree of fuzzy matching and + * a fast query. + * + * For each source term the fuzzy variants are held in a BooleanQuery with no coord factor (because + * we are not looking for matches on multiple variants in any one doc). Additionally, a specialized + * TermQuery is used for variants and does not use that variant term's IDF because this would favour rarer + * terms eg misspellings. Instead, all variants use the same IDF ranking (the one for the source query + * term) and this is factored into the variant's boost. If the source query term does not exist in the + * index the average IDF of the variants is used. + * @author maharwood + */ +public class FuzzyLikeThisQuery extends Query +{ + static Similarity sim=new DefaultSimilarity(); + Query rewrittenQuery=null; + ArrayList fieldVals=new ArrayList(); + Analyzer analyzer; + + ScoreTermQueue q; + int MAX_VARIANTS_PER_TERM=50; + boolean ignoreTF=false; + + + /** + * + * @param maxNumTerms The total number of terms clauses that will appear once rewritten as a BooleanQuery + * @param analyzer + */ + public FuzzyLikeThisQuery(int maxNumTerms, Analyzer analyzer) + { + q=new ScoreTermQueue(maxNumTerms); + this.analyzer=analyzer; + } + + class FieldVals + { + String queryString; + String fieldName; + float minSimilarity; + int prefixLength; + public FieldVals(String name, float similarity, int length, String queryString) + { + fieldName = name; + minSimilarity = similarity; + prefixLength = length; + this.queryString = queryString; + } + + } + + /** + * Adds user input for "fuzzification" + * @param queryString The string which will be parsed by the analyzer and for which fuzzy variants will be parsed + * @param fieldName + * @param minSimilarity The minimum similarity of the term variants (see FuzzyTermEnum) + * @param prefixLength Length of required common prefix on variant terms (see FuzzyTermEnum) + */ + public void addTerms(String queryString, String fieldName,float minSimilarity, int prefixLength) + { + fieldVals.add(new FieldVals(fieldName,minSimilarity,prefixLength,queryString)); + } + + + private void addTerms(IndexReader reader,FieldVals f) throws IOException + { + if(f.queryString==null) return; + TokenStream ts=analyzer.tokenStream(f.fieldName,new StringReader(f.queryString)); + Token token=ts.next(); + int corpusNumDocs=reader.numDocs(); + Term internSavingTemplateTerm =new Term(f.fieldName,""); //optimization to avoid constructing new Term() objects + + while(token!=null) + { + ScoreTermQueue variantsQ=new ScoreTermQueue(MAX_VARIANTS_PER_TERM); //maxNum variants considered for any one term + float minScore=0; + Term startTerm=internSavingTemplateTerm.createTerm(token.termText()); + FuzzyTermEnum fe=new FuzzyTermEnum(reader,startTerm,f.minSimilarity,f.prefixLength); + TermEnum origEnum = reader.terms(startTerm); + int df=0; + if(startTerm.equals(origEnum.term())) + { + df=origEnum.docFreq(); //store the df so all variants use same idf + } + int numVariants=0; + int totalVariantDocFreqs=0; + do + { + Term possibleMatch=fe.term(); + if(possibleMatch!=null) + { + numVariants++; + totalVariantDocFreqs+=fe.docFreq(); + float score=fe.difference(); + if(variantsQ.size() < MAX_VARIANTS_PER_TERM || score > minScore){ + ScoreTerm st=new ScoreTerm(possibleMatch,score,startTerm); + variantsQ.insert(st); + minScore = ((ScoreTerm)variantsQ.top()).score; // maintain minScore + } + } + } + while(fe.next()); + if(numVariants==0) + { + //no variants to rank here + break; + } + int avgDf=totalVariantDocFreqs/numVariants; + if(df==0)//no direct match we can use as df for all variants + { + df=avgDf; //use avg df of all variants + } + + // take the top variants (scored by edit distance) and reset the score + // to include an IDF factor then add to the global queue for ranking overall top query terms + int size = variantsQ.size(); + for(int i = 0; i < size; i++) + { + ScoreTerm st = (ScoreTerm) variantsQ.pop(); + st.score=(st.score*st.score)*sim.idf(df,corpusNumDocs); + q.insert(st); + } + token=ts.next(); + } + } + + public Query rewrite(IndexReader reader) throws IOException + { + if(rewrittenQuery!=null) + { + return rewrittenQuery; + } + //load up the list of possible terms + for (Iterator iter = fieldVals.iterator(); iter.hasNext();) + { + FieldVals f = (FieldVals) iter.next(); + addTerms(reader,f); + } + //clear the list of fields + fieldVals.clear(); + + BooleanQuery bq=new BooleanQuery(); + + + //create BooleanQueries to hold the variants for each token/field pair and ensure it + // has no coord factor + //Step 1: sort the termqueries by term/field + HashMap variantQueries=new HashMap(); + int size = q.size(); + for(int i = 0; i < size; i++) + { + ScoreTerm st = (ScoreTerm) q.pop(); + ArrayList l=(ArrayList) variantQueries.get(st.fuzziedSourceTerm); + if(l==null) + { + l=new ArrayList(); + variantQueries.put(st.fuzziedSourceTerm,l); + } + l.add(st); + } + //Step 2: Organize the sorted termqueries into zero-coord scoring boolean queries + for (Iterator iter = variantQueries.values().iterator(); iter.hasNext();) + { + ArrayList variants = (ArrayList) iter.next(); + if(variants.size()==1) + { + //optimize where only one selected variant + ScoreTerm st=(ScoreTerm) variants.get(0); + TermQuery tq = new FuzzyTermQuery(st.term,ignoreTF); + tq.setBoost(st.score); // set the boost to a mix of IDF and score + bq.add(tq, BooleanClause.Occur.SHOULD); + } + else + { + BooleanQuery termVariants=new BooleanQuery(true); //disable coord and IDF for these term variants + for (Iterator iterator2 = variants.iterator(); iterator2 + .hasNext();) + { + ScoreTerm st = (ScoreTerm) iterator2.next(); + TermQuery tq = new FuzzyTermQuery(st.term,ignoreTF); // found a match + tq.setBoost(st.score); // set the boost using the ScoreTerm's score + termVariants.add(tq, BooleanClause.Occur.SHOULD); // add to query + } + bq.add(termVariants, BooleanClause.Occur.SHOULD); // add to query + } + } + //TODO possible alternative step 3 - organize above booleans into a new layer of field-based + // booleans with a minimum-should-match of NumFields-1? + + this.rewrittenQuery=bq; + return bq; + } + + //Holds info for a fuzzy term variant - initially score is set to edit distance (for ranking best + // term variants) then is reset with IDF for use in ranking against all other + // terms/fields + private static class ScoreTerm{ + public Term term; + public float score; + Term fuzziedSourceTerm; + + public ScoreTerm(Term term, float score, Term fuzziedSourceTerm){ + this.term = term; + this.score = score; + this.fuzziedSourceTerm=fuzziedSourceTerm; + } + } + + private static class ScoreTermQueue extends PriorityQueue { + public ScoreTermQueue(int size){ + initialize(size); + } + + /* (non-Javadoc) + * @see org.apache.lucene.util.PriorityQueue#lessThan(java.lang.Object, java.lang.Object) + */ + protected boolean lessThan(Object a, Object b) { + ScoreTerm termA = (ScoreTerm)a; + ScoreTerm termB = (ScoreTerm)b; + if (termA.score== termB.score) + return termA.term.compareTo(termB.term) > 0; + else + return termA.score < termB.score; + } + + } + + //overrides basic TermQuery to negate effects of IDF (idf is factored into boost of containing BooleanQuery) + private static class FuzzyTermQuery extends TermQuery + { + boolean ignoreTF; + public FuzzyTermQuery(Term t, boolean ignoreTF) + { + super(t); + this.ignoreTF=ignoreTF; + } + public Similarity getSimilarity(Searcher searcher) + { + Similarity result = super.getSimilarity(searcher); + result = new SimilarityDelegator(result) { + + public float tf(float freq) + { + if(ignoreTF) + { + return 1; //ignore tf + } + return super.tf(freq); + } + public float idf(int docFreq, int numDocs) + { + //IDF is already factored into individual term boosts + return 1; + } + }; + return result; + } + } + + + + /* (non-Javadoc) + * @see org.apache.lucene.search.Query#toString(java.lang.String) + */ + public String toString(String field) + { + return null; + } + + + public boolean isIgnoreTF() + { + return ignoreTF; + } + + + public void setIgnoreTF(boolean ignoreTF) + { + this.ignoreTF = ignoreTF; + } + +} Added: lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/TermsFilter.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/TermsFilter.java?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/TermsFilter.java (added) +++ lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/TermsFilter.java Fri Feb 24 16:39:18 2006 @@ -0,0 +1,51 @@ +package org.apache.lucene.search; + +import java.io.IOException; +import java.util.ArrayList; +import java.util.BitSet; +import java.util.Iterator; + +import org.apache.lucene.index.IndexReader; +import org.apache.lucene.index.Term; +import org.apache.lucene.index.TermDocs; + +/** + * Constructs a filter for docs matching any of the terms added to this class. + * Unlike a RangeFilter this can be used for filtering on multiple terms that are not necessarily in + * a sequence. An example might be a collection of primary keys from a database query result or perhaps + * a choice of "category" labels picked by the end user. As a filter, this is much faster than the + * equivalent query (a BooleanQuery with many "should" TermQueries) + * + * @author maharwood + */ +public class TermsFilter extends Filter +{ + ArrayList termsList=new ArrayList(); + + /** + * Adds a term to the list of acceptable terms + * @param term + */ + public void addTerm(Term term) + { + termsList.add(term); + } + + /* (non-Javadoc) + * @see org.apache.lucene.search.Filter#bits(org.apache.lucene.index.IndexReader) + */ + public BitSet bits(IndexReader reader) throws IOException + { + BitSet result=new BitSet(reader.maxDoc()); + for (Iterator iter = termsList.iterator(); iter.hasNext();) + { + Term term = (Term) iter.next(); + TermDocs td=reader.termDocs(term); + while (td.next()) + { + result.set(td.doc()); + } + } + return result; + } +} Added: lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/similar/MoreLikeThis.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/similar/MoreLikeThis.java?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/similar/MoreLikeThis.java (added) +++ lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/similar/MoreLikeThis.java Fri Feb 24 16:39:18 2006 @@ -0,0 +1,926 @@ +/** + * Copyright 2004-2005 The Apache Software Foundation. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.lucene.search.similar; + +import org.apache.lucene.util.PriorityQueue; +import org.apache.lucene.index.IndexReader; +import org.apache.lucene.index.Term; +import org.apache.lucene.index.TermFreqVector; +import org.apache.lucene.search.BooleanClause; +import org.apache.lucene.search.DefaultSimilarity; +import org.apache.lucene.search.Similarity; +import org.apache.lucene.search.TermQuery; +import org.apache.lucene.search.BooleanQuery; +import org.apache.lucene.search.IndexSearcher; +import org.apache.lucene.search.Query; +import org.apache.lucene.search.Hits; +import org.apache.lucene.analysis.Analyzer; +import org.apache.lucene.analysis.TokenStream; +import org.apache.lucene.analysis.standard.StandardAnalyzer; +import org.apache.lucene.document.Document; + +import java.util.Set; +import java.util.HashMap; +import java.util.Map; +import java.util.Collection; +import java.util.Iterator; +import java.io.IOException; +import java.io.Reader; +import java.io.File; +import java.io.PrintStream; +import java.io.StringReader; +import java.io.FileReader; +import java.io.InputStreamReader; +import java.net.URL; +import java.util.ArrayList; + + +/** + * Generate "more like this" similarity queries. + * Based on this mail: + * <code><pre> + * Lucene does let you access the document frequency of terms, with IndexReader.docFreq(). + * Term frequencies can be computed by re-tokenizing the text, which, for a single document, + * is usually fast enough. But looking up the docFreq() of every term in the document is + * probably too slow. + * + * You can use some heuristics to prune the set of terms, to avoid calling docFreq() too much, + * [email protected]. Since you're trying to maximize a tf*idf score, you're probably most interested + * in terms with a high tf. Choosing a tf threshold even as low as two or three will radically + * reduce the number of terms under consideration. Another heuristic is that terms with a + * high idf (i.e., a low df) tend to be longer. So you could threshold the terms by the + * number of characters, not selecting anything less than, e.g., six or seven characters. + * With these sorts of heuristics you can usually find small set of, e.g., ten or fewer terms + * that do a pretty good job of characterizing a document. + * + * It all depends on what you're trying to do. If you're trying to eek out that last percent + * of precision and recall regardless of computational difficulty so that you can win a TREC + * competition, then the techniques I mention above are useless. But if you're trying to + * provide a "more like this" button on a search results page that does a decent job and has + * good performance, such techniques might be useful. + * + * An efficient, effective "more-like-this" query generator would be a great contribution, if + * anyone's interested. I'd imagine that it would take a Reader or a String (the document's + * text), analyzer Analyzer, and return a set of representative terms using heuristics like those + * above. The frequency and length thresholds could be parameters, etc. + * + * Doug + * </pre></code> + * + * + * <p> + * <h3>Initial Usage</h3> + * + * This class has lots of options to try to make it efficient and flexible. + * See the body of {@link #main main()} below in the source for real code, or + * if you want pseudo code, the simpliest possible usage is as follows. The bold + * fragment is specific to this class. + * + * <code><pre> + * + * IndexReader ir = ... + * IndexSearcher is = ... + * <b> + * MoreLikeThis mlt = new MoreLikeThis(ir); + * Reader target = ... </b><em>// orig source of doc you want to find similarities to</em><b> + * Query query = mlt.like( target); + * </b> + * Hits hits = is.search(query); + * <em>// now the usual iteration thru 'hits' - the only thing to watch for is to make sure + * you ignore the doc if it matches your 'target' document, as it should be similar to itself </em> + * + * </pre></code> + * + * Thus you: + * <ol> + * <li> do your normal, Lucene setup for searching, + * <li> create a MoreLikeThis, + * <li> get the text of the doc you want to find similaries to + * <li> then call one of the like() calls to generate a similarity query + * <li> call the searcher to find the similar docs + * </ol> + * + * <h3>More Advanced Usage</h3> + * + * You may want to use {@link #setFieldNames setFieldNames(...)} so you can examine + * multiple fields (e.g. body and title) for similarity. + * <p> + * + * Depending on the size of your index and the size and makeup of your documents you + * may want to call the other set methods to control how the similarity queries are + * generated: + * <ul> + * <li> {@link #setMinTermFreq setMinTermFreq(...)} + * <li> {@link #setMinDocFreq setMinDocFreq(...)} + * <li> {@link #setMinWordLen setMinWordLen(...)} + * <li> {@link #setMaxWordLen setMaxWordLen(...)} + * <li> {@link #setMaxQueryTerms setMaxQueryTerms(...)} + * <li> {@link #setMaxNumTokensParsed setMaxNumTokensParsed(...)} + * <li> {@link #setStopWords setStopWord(...)} + * </ul> + * + * <hr> + * <pre> + * Changes: Mark Harwood 29/02/04 + * Some bugfixing, some refactoring, some optimisation. + * - bugfix: retrieveTerms(int docNum) was not working for indexes without a termvector -added missing code + * - bugfix: No significant terms being created for fields with a termvector - because + * was only counting one occurence per term/field pair in calculations(ie not including frequency info from TermVector) + * - refactor: moved common code into isNoiseWord() + * - optimise: when no termvector support available - used maxNumTermsParsed to limit amount of tokenization + * </pre> + * + * @author David Spencer + * @author Bruce Ritchie + * @author Mark Harwood + */ +public final class MoreLikeThis { + + /** + * Default maximum number of tokens to parse in each example doc field that is not stored with TermVector support. + * @see #getMaxNumTokensParsed + */ + public static final int DEFAULT_MAX_NUM_TOKENS_PARSED=5000; + + + /** + * Default analyzer to parse source doc with. + * @see #getAnalyzer + */ + public static final Analyzer DEFAULT_ANALYZER = new StandardAnalyzer(); + + /** + * Ignore terms with less than this frequency in the source doc. + * @see #getMinTermFreq + * @see #setMinTermFreq + */ + public static final int DEFAULT_MIN_TERM_FREQ = 2; + + /** + * Ignore words which do not occur in at least this many docs. + * @see #getMinDocFreq + * @see #setMinDocFreq + */ + public static final int DEFALT_MIN_DOC_FREQ = 5; + + /** + * Boost terms in query based on score. + * @see #isBoost + * @see #setBoost + */ + public static final boolean DEFAULT_BOOST = false; + + /** + * Default field names. Null is used to specify that the field names should be looked + * up at runtime from the provided reader. + */ + public static final String[] DEFAULT_FIELD_NAMES = new String[] { "contents"}; + + /** + * Ignore words less than this length or if 0 then this has no effect. + * @see #getMinWordLen + * @see #setMinWordLen + */ + public static final int DEFAULT_MIN_WORD_LENGTH = 0; + + /** + * Ignore words greater than this length or if 0 then this has no effect. + * @see #getMaxWordLen + * @see #setMaxWordLen + */ + public static final int DEFAULT_MAX_WORD_LENGTH = 0; + + /** + * Default set of stopwords. + * If null means to allow stop words. + * + * @see #setStopWords + * @see #getStopWords + */ + public static final Set DEFAULT_STOP_WORDS = null; + + /** + * Current set of stop words. + */ + private Set stopWords = DEFAULT_STOP_WORDS; + + /** + * Return a Query with no more than this many terms. + * + * @see BooleanQuery#getMaxClauseCount + * @see #getMaxQueryTerms + * @see #setMaxQueryTerms + */ + public static final int DEFAULT_MAX_QUERY_TERMS = 25; + + /** + * Analyzer that will be used to parse the doc. + */ + private Analyzer analyzer = DEFAULT_ANALYZER; + + /** + * Ignore words less freqent that this. + */ + private int minTermFreq = DEFAULT_MIN_TERM_FREQ; + + /** + * Ignore words which do not occur in at least this many docs. + */ + private int minDocFreq = DEFALT_MIN_DOC_FREQ; + + /** + * Should we apply a boost to the Query based on the scores? + */ + private boolean boost = DEFAULT_BOOST; + + /** + * Field name we'll analyze. + */ + private String[] fieldNames = DEFAULT_FIELD_NAMES; + + /** + * The maximum number of tokens to parse in each example doc field that is not stored with TermVector support + */ + private int maxNumTokensParsed=DEFAULT_MAX_NUM_TOKENS_PARSED; + + + + /** + * Ignore words if less than this len. + */ + private int minWordLen = DEFAULT_MIN_WORD_LENGTH; + + /** + * Ignore words if greater than this len. + */ + private int maxWordLen = DEFAULT_MAX_WORD_LENGTH; + + /** + * Don't return a query longer than this. + */ + private int maxQueryTerms = DEFAULT_MAX_QUERY_TERMS; + + /** + * For idf() calculations. + */ + private Similarity similarity = new DefaultSimilarity(); + + /** + * IndexReader to use + */ + private final IndexReader ir; + + /** + * Constructor requiring an IndexReader. + */ + public MoreLikeThis(IndexReader ir) { + this.ir = ir; + } + + /** + * Returns an analyzer that will be used to parse source doc with. The default analyzer + * is the {@link #DEFAULT_ANALYZER}. + * + * @return the analyzer that will be used to parse source doc with. + * @see #DEFAULT_ANALYZER + */ + public Analyzer getAnalyzer() { + return analyzer; + } + + /** + * Sets the analyzer to use. An analyzer is not required for generating a query with the + * {@link #like(int)} method, all other 'like' methods require an analyzer. + * + * @param analyzer the analyzer to use to tokenize text. + */ + public void setAnalyzer(Analyzer analyzer) { + this.analyzer = analyzer; + } + + /** + * Returns the frequency below which terms will be ignored in the source doc. The default + * frequency is the {@link #DEFAULT_MIN_TERM_FREQ}. + * + * @return the frequency below which terms will be ignored in the source doc. + */ + public int getMinTermFreq() { + return minTermFreq; + } + + /** + * Sets the frequency below which terms will be ignored in the source doc. + * + * @param minTermFreq the frequency below which terms will be ignored in the source doc. + */ + public void setMinTermFreq(int minTermFreq) { + this.minTermFreq = minTermFreq; + } + + /** + * Returns the frequency at which words will be ignored which do not occur in at least this + * many docs. The default frequency is {@link #DEFALT_MIN_DOC_FREQ}. + * + * @return the frequency at which words will be ignored which do not occur in at least this + * many docs. + */ + public int getMinDocFreq() { + return minDocFreq; + } + + /** + * Sets the frequency at which words will be ignored which do not occur in at least this + * many docs. + * + * @param minDocFreq the frequency at which words will be ignored which do not occur in at + * least this many docs. + */ + public void setMinDocFreq(int minDocFreq) { + this.minDocFreq = minDocFreq; + } + + /** + * Returns whether to boost terms in query based on "score" or not. The default is + * {@link #DEFAULT_BOOST}. + * + * @return whether to boost terms in query based on "score" or not. + * @see #setBoost + */ + public boolean isBoost() { + return boost; + } + + /** + * Sets whether to boost terms in query based on "score" or not. + * + * @param boost true to boost terms in query based on "score", false otherwise. + * @see #isBoost + */ + public void setBoost(boolean boost) { + this.boost = boost; + } + + /** + * Returns the field names that will be used when generating the 'More Like This' query. + * The default field names that will be used is {@link #DEFAULT_FIELD_NAMES}. + * + * @return the field names that will be used when generating the 'More Like This' query. + */ + public String[] getFieldNames() { + return fieldNames; + } + + /** + * Sets the field names that will be used when generating the 'More Like This' query. + * Set this to null for the field names to be determined at runtime from the IndexReader + * provided in the constructor. + * + * @param fieldNames the field names that will be used when generating the 'More Like This' + * query. + */ + public void setFieldNames(String[] fieldNames) { + this.fieldNames = fieldNames; + } + + /** + * Returns the minimum word length below which words will be ignored. Set this to 0 for no + * minimum word length. The default is {@link #DEFAULT_MIN_WORD_LENGTH}. + * + * @return the minimum word length below which words will be ignored. + */ + public int getMinWordLen() { + return minWordLen; + } + + /** + * Sets the minimum word length below which words will be ignored. + * + * @param minWordLen the minimum word length below which words will be ignored. + */ + public void setMinWordLen(int minWordLen) { + this.minWordLen = minWordLen; + } + + /** + * Returns the maximum word length above which words will be ignored. Set this to 0 for no + * maximum word length. The default is {@link #DEFAULT_MAX_WORD_LENGTH}. + * + * @return the maximum word length above which words will be ignored. + */ + public int getMaxWordLen() { + return maxWordLen; + } + + /** + * Sets the maximum word length above which words will be ignored. + * + * @param maxWordLen the maximum word length above which words will be ignored. + */ + public void setMaxWordLen(int maxWordLen) { + this.maxWordLen = maxWordLen; + } + + /** + * Set the set of stopwords. + * Any word in this set is considered "uninteresting" and ignored. + * Even if your Analyzer allows stopwords, you might want to tell the MoreLikeThis code to ignore them, as + * for the purposes of document similarity it seems reasonable to assume that "a stop word is never interesting". + * + * @param stopWords set of stopwords, if null it means to allow stop words + * + * @see org.apache.lucene.analysis.StopFilter#makeStopSet StopFilter.makeStopSet() + * @see #getStopWords + */ + public void setStopWords(Set stopWords) { + this.stopWords = stopWords; + } + + /** + * Get the current stop words being used. + * @see #setStopWords + */ + public Set getStopWords() { + return stopWords; + } + + + /** + * Returns the maximum number of query terms that will be included in any generated query. + * The default is {@link #DEFAULT_MAX_QUERY_TERMS}. + * + * @return the maximum number of query terms that will be included in any generated query. + */ + public int getMaxQueryTerms() { + return maxQueryTerms; + } + + /** + * Sets the maximum number of query terms that will be included in any generated query. + * + * @param maxQueryTerms the maximum number of query terms that will be included in any + * generated query. + */ + public void setMaxQueryTerms(int maxQueryTerms) { + this.maxQueryTerms = maxQueryTerms; + } + + /** + * @return The maximum number of tokens to parse in each example doc field that is not stored with TermVector support + * @see #DEFAULT_MAX_NUM_TOKENS_PARSED + */ + public int getMaxNumTokensParsed() + { + return maxNumTokensParsed; + } + + /** + * @param i The maximum number of tokens to parse in each example doc field that is not stored with TermVector support + */ + public void setMaxNumTokensParsed(int i) + { + maxNumTokensParsed = i; + } + + + + + /** + * Return a query that will return docs like the passed lucene document ID. + * + * @param docNum the documentID of the lucene doc to generate the 'More Like This" query for. + * @return a query that will return docs like the passed lucene document ID. + */ + public Query like(int docNum) throws IOException { + if (fieldNames == null) { + // gather list of valid fields from lucene + Collection fields = ir.getFieldNames( IndexReader.FieldOption.INDEXED); + fieldNames = (String[]) fields.toArray(new String[fields.size()]); + } + + return createQuery(retrieveTerms(docNum)); + } + + /** + * Return a query that will return docs like the passed file. + * + * @return a query that will return docs like the passed file. + */ + public Query like(File f) throws IOException { + if (fieldNames == null) { + // gather list of valid fields from lucene + Collection fields = ir.getFieldNames( IndexReader.FieldOption.INDEXED); + fieldNames = (String[]) fields.toArray(new String[fields.size()]); + } + + return like(new FileReader(f)); + } + + /** + * Return a query that will return docs like the passed URL. + * + * @return a query that will return docs like the passed URL. + */ + public Query like(URL u) throws IOException { + return like(new InputStreamReader(u.openConnection().getInputStream())); + } + + /** + * Return a query that will return docs like the passed stream. + * + * @return a query that will return docs like the passed stream. + */ + public Query like(java.io.InputStream is) throws IOException { + return like(new InputStreamReader(is)); + } + + /** + * Return a query that will return docs like the passed Reader. + * + * @return a query that will return docs like the passed Reader. + */ + public Query like(Reader r) throws IOException { + return createQuery(retrieveTerms(r)); + } + + /** + * Create the More like query from a PriorityQueue + */ + private Query createQuery(PriorityQueue q) { + BooleanQuery query = new BooleanQuery(); + Object cur; + int qterms = 0; + float bestScore = 0; + + while (((cur = q.pop()) != null)) { + Object[] ar = (Object[]) cur; + TermQuery tq = new TermQuery(new Term((String) ar[1], (String) ar[0])); + + if (boost) { + if (qterms == 0) { + bestScore = ((Float) ar[2]).floatValue(); + } + float myScore = ((Float) ar[2]).floatValue(); + + tq.setBoost(myScore / bestScore); + } + + try { + query.add(tq, BooleanClause.Occur.SHOULD); + } + catch (BooleanQuery.TooManyClauses ignore) { + break; + } + + qterms++; + if (maxQueryTerms > 0 && qterms >= maxQueryTerms) { + break; + } + } + + return query; + } + + /** + * Create a PriorityQueue from a word->tf map. + * + * @param words a map of words keyed on the word(String) with Int objects as the values. + */ + private PriorityQueue createQueue(Map words) throws IOException { + // have collected all words in doc and their freqs + int numDocs = ir.numDocs(); + FreqQ res = new FreqQ(words.size()); // will order words by score + + Iterator it = words.keySet().iterator(); + while (it.hasNext()) { // for every word + String word = (String) it.next(); + + int tf = ((Int) words.get(word)).x; // term freq in the source doc + if (minTermFreq > 0 && tf < minTermFreq) { + continue; // filter out words that don't occur enough times in the source + } + + // go through all the fields and find the largest document frequency + String topField = fieldNames[0]; + int docFreq = 0; + for (int i = 0; i < fieldNames.length; i++) { + int freq = ir.docFreq(new Term(fieldNames[i], word)); + topField = (freq > docFreq) ? fieldNames[i] : topField; + docFreq = (freq > docFreq) ? freq : docFreq; + } + + if (minDocFreq > 0 && docFreq < minDocFreq) { + continue; // filter out words that don't occur in enough docs + } + + if (docFreq == 0) { + continue; // index update problem? + } + + float idf = similarity.idf(docFreq, numDocs); + float score = tf * idf; + + // only really need 1st 3 entries, other ones are for troubleshooting + res.insert(new Object[]{word, // the word + topField, // the top field + new Float(score), // overall score + new Float(idf), // idf + new Integer(docFreq), // freq in all docs + new Integer(tf) + }); + } + return res; + } + + /** + * Describe the parameters that control how the "more like this" query is formed. + */ + public String describeParams() { + StringBuffer sb = new StringBuffer(); + sb.append("\t" + "maxQueryTerms : " + maxQueryTerms + "\n"); + sb.append("\t" + "minWordLen : " + minWordLen + "\n"); + sb.append("\t" + "maxWordLen : " + maxWordLen + "\n"); + sb.append("\t" + "fieldNames : \""); + String delim = ""; + for (int i = 0; i < fieldNames.length; i++) { + String fieldName = fieldNames[i]; + sb.append(delim).append(fieldName); + delim = ", "; + } + sb.append("\n"); + sb.append("\t" + "boost : " + boost + "\n"); + sb.append("\t" + "minTermFreq : " + minTermFreq + "\n"); + sb.append("\t" + "minDocFreq : " + minDocFreq + "\n"); + return sb.toString(); + } + + /** + * Test driver. + * Pass in "-i INDEX" and then either "-fn FILE" or "-url URL". + */ + public static void main(String[] a) throws Throwable { + String indexName = "localhost_index"; + String fn = "c:/Program Files/Apache Group/Apache/htdocs/manual/vhosts/index.html.en"; + URL url = null; + for (int i = 0; i < a.length; i++) { + if (a[i].equals("-i")) { + indexName = a[++i]; + } + else if (a[i].equals("-f")) { + fn = a[++i]; + } + else if (a[i].equals("-url")) { + url = new URL(a[++i]); + } + } + + PrintStream o = System.out; + IndexReader r = IndexReader.open(indexName); + o.println("Open index " + indexName + " which has " + r.numDocs() + " docs"); + + MoreLikeThis mlt = new MoreLikeThis(r); + + o.println("Query generation parameters:"); + o.println(mlt.describeParams()); + o.println(); + + Query query = null; + if (url != null) { + o.println("Parsing URL: " + url); + query = mlt.like(url); + } + else if (fn != null) { + o.println("Parsing file: " + fn); + query = mlt.like(new File(fn)); + } + + o.println("q: " + query); + o.println(); + IndexSearcher searcher = new IndexSearcher(indexName); + + Hits hits = searcher.search(query); + int len = hits.length(); + o.println("found: " + len + " documents matching"); + o.println(); + for (int i = 0; i < Math.min(25, len); i++) { + Document d = hits.doc(i); + String summary = d.get( "summary"); + o.println("score : " + hits.score(i)); + o.println("url : " + d.get("url")); + o.println("\ttitle : " + d.get("title")); + if ( summary != null) + o.println("\tsummary: " + d.get("summary")); + o.println(); + } + } + + /** + * Find words for a more-like-this query former. + * + * @param docNum the id of the lucene document from which to find terms + */ + private PriorityQueue retrieveTerms(int docNum) throws IOException { + Map termFreqMap = new HashMap(); + for (int i = 0; i < fieldNames.length; i++) { + String fieldName = fieldNames[i]; + TermFreqVector vector = ir.getTermFreqVector(docNum, fieldName); + + // field does not store term vector info + if (vector == null) { + Document d=ir.document(docNum); + String text[]=d.getValues(fieldName); + if(text!=null) + { + for (int j = 0; j < text.length; j++) { + addTermFrequencies(new StringReader(text[j]), termFreqMap, fieldName); + } + } + } + else { + addTermFrequencies(termFreqMap, vector); + } + + } + + return createQueue(termFreqMap); + } + + /** + * Adds terms and frequencies found in vector into the Map termFreqMap + * @param termFreqMap a Map of terms and their frequencies + * @param vector List of terms and their frequencies for a doc/field + */ + private void addTermFrequencies(Map termFreqMap, TermFreqVector vector) + { + String[] terms = vector.getTerms(); + int freqs[]=vector.getTermFrequencies(); + for (int j = 0; j < terms.length; j++) { + String term = terms[j]; + + if(isNoiseWord(term)){ + continue; + } + // increment frequency + Int cnt = (Int) termFreqMap.get(term); + if (cnt == null) { + cnt=new Int(); + termFreqMap.put(term, cnt); + cnt.x=freqs[j]; + } + else { + cnt.x+=freqs[j]; + } + } + } + /** + * Adds term frequencies found by tokenizing text from reader into the Map words + * @param r a source of text to be tokenized + * @param termFreqMap a Map of terms and their frequencies + * @param fieldName Used by analyzer for any special per-field analysis + */ + private void addTermFrequencies(Reader r, Map termFreqMap, String fieldName) + throws IOException + { + TokenStream ts = analyzer.tokenStream(fieldName, r); + org.apache.lucene.analysis.Token token; + int tokenCount=0; + while ((token = ts.next()) != null) { // for every token + String word = token.termText(); + tokenCount++; + if(tokenCount>maxNumTokensParsed) + { + break; + } + if(isNoiseWord(word)){ + continue; + } + + // increment frequency + Int cnt = (Int) termFreqMap.get(word); + if (cnt == null) { + termFreqMap.put(word, new Int()); + } + else { + cnt.x++; + } + } + } + + + /** determines if the passed term is likely to be of interest in "more like" comparisons + * + * @param term The word being considered + * @return true if should be ignored, false if should be used in further analysis + */ + private boolean isNoiseWord(String term) + { + int len = term.length(); + if (minWordLen > 0 && len < minWordLen) { + return true; + } + if (maxWordLen > 0 && len > maxWordLen) { + return true; + } + if (stopWords != null && stopWords.contains( term)) { + return true; + } + return false; + } + + + /** + * Find words for a more-like-this query former. + * The result is a priority queue of arrays with one entry for <b>every word</b> in the document. + * Each array has 6 elements. + * The elements are: + * <ol> + * <li> The word (String) + * <li> The top field that this word comes from (String) + * <li> The score for this word (Float) + * <li> The IDF value (Float) + * <li> The frequency of this word in the index (Integer) + * <li> The frequency of this word in the source document (Integer) + * </ol> + * This is a somewhat "advanced" routine, and in general only the 1st entry in the array is of interest. + * This method is exposed so that you can identify the "interesting words" in a document. + * For an easier method to call see {@link #retrieveInterestingTerms retrieveInterestingTerms()}. + * + * @param r the reader that has the content of the document + * @return the most intresting words in the document ordered by score, with the highest scoring, or best entry, first + * + * @see #retrieveInterestingTerms + */ + public PriorityQueue retrieveTerms(Reader r) throws IOException { + Map words = new HashMap(); + for (int i = 0; i < fieldNames.length; i++) { + String fieldName = fieldNames[i]; + addTermFrequencies(r, words, fieldName); + } + return createQueue(words); + } + + /** + * Convenience routine to make it easy to return the most interesting words in a document. + * More advanced users will call {@link #retrieveTerms(java.io.Reader) retrieveTerms()} directly. + * @param r the source document + * @return the most interesting words in the document + * + * @see #retrieveTerms(java.io.Reader) + * @see #setMaxQueryTerms + */ + public String[] retrieveInterestingTerms( Reader r) throws IOException { + ArrayList al = new ArrayList( maxQueryTerms); + PriorityQueue pq = retrieveTerms( r); + Object cur; + int lim = maxQueryTerms; // have to be careful, retrieveTerms returns all words but that's probably not useful to our caller... + // we just want to return the top words + while (((cur = pq.pop()) != null) && lim-- > 0) { + Object[] ar = (Object[]) cur; + al.add( ar[ 0]); // the 1st entry is the interesting word + } + String[] res = new String[ al.size()]; + return (String[]) al.toArray( res); + } + + /** + * PriorityQueue that orders words by score. + */ + private static class FreqQ extends PriorityQueue { + FreqQ (int s) { + initialize(s); + } + + protected boolean lessThan(Object a, Object b) { + Object[] aa = (Object[]) a; + Object[] bb = (Object[]) b; + Float fa = (Float) aa[2]; + Float fb = (Float) bb[2]; + return fa.floatValue() > fb.floatValue(); + } + } + + /** + * Use for frequencies and to avoid renewing Integers. + */ + private static class Int { + int x; + + Int() { + x = 1; + } + } + + +} Added: lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/similar/MoreLikeThisQuery.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/similar/MoreLikeThisQuery.java?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/similar/MoreLikeThisQuery.java (added) +++ lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/similar/MoreLikeThisQuery.java Fri Feb 24 16:39:18 2006 @@ -0,0 +1,123 @@ +/* + * Created on 25-Jan-2006 + */ +package org.apache.lucene.search.similar; + +import java.io.ByteArrayInputStream; +import java.io.IOException; + +import org.apache.lucene.analysis.Analyzer; +import org.apache.lucene.index.IndexReader; +import org.apache.lucene.search.BooleanClause; +import org.apache.lucene.search.BooleanQuery; +import org.apache.lucene.search.Query; +import org.apache.lucene.search.similar.MoreLikeThis; + +/** + * A simple wrapper for MoreLikeThis for use in scenarios where a Query object is required eg + * in custom QueryParser extensions. At query.rewrite() time the reader is used to construct the + * actual MoreLikeThis object and obtain the real Query object. + * @author maharwood + */ +public class MoreLikeThisQuery extends Query +{ + + + private String likeText; + private String[] moreLikeFields; + private Analyzer analyzer; + float percentTermsToMatch=0.3f; + int minTermFrequency=1; + int maxQueryTerms=5; + + + /** + * @param docId + * @param moreLikeFields + */ + public MoreLikeThisQuery(String likeText, String[] moreLikeFields, Analyzer analyzer) + { + this.likeText=likeText; + this.moreLikeFields=moreLikeFields; + this.analyzer=analyzer; + } + + public Query rewrite(IndexReader reader) throws IOException + { + MoreLikeThis mlt=new MoreLikeThis(reader); + + mlt.setFieldNames(moreLikeFields); + mlt.setAnalyzer(analyzer); + mlt.setMinTermFreq(minTermFrequency); + mlt.setMaxQueryTerms(maxQueryTerms); + BooleanQuery bq= (BooleanQuery) mlt.like(new ByteArrayInputStream(likeText.getBytes())); + BooleanClause[] clauses = bq.getClauses(); + //make at least half the terms match + bq.setMinimumNumberShouldMatch((int)(clauses.length*percentTermsToMatch)); + return bq; + } + /* (non-Javadoc) + * @see org.apache.lucene.search.Query#toString(java.lang.String) + */ + public String toString(String field) + { + return "like:"+likeText; + } + + public float getPercentTermsToMatch() { + return percentTermsToMatch; + } + public void setPercentTermsToMatch(float percentTermsToMatch) { + this.percentTermsToMatch = percentTermsToMatch; + } + + public Analyzer getAnalyzer() + { + return analyzer; + } + + public void setAnalyzer(Analyzer analyzer) + { + this.analyzer = analyzer; + } + + public String getLikeText() + { + return likeText; + } + + public void setLikeText(String likeText) + { + this.likeText = likeText; + } + + public int getMaxQueryTerms() + { + return maxQueryTerms; + } + + public void setMaxQueryTerms(int maxQueryTerms) + { + this.maxQueryTerms = maxQueryTerms; + } + + public int getMinTermFrequency() + { + return minTermFrequency; + } + + public void setMinTermFrequency(int minTermFrequency) + { + this.minTermFrequency = minTermFrequency; + } + + public String[] getMoreLikeFields() + { + return moreLikeFields; + } + + public void setMoreLikeFields(String[] moreLikeFields) + { + this.moreLikeFields = moreLikeFields; + } +} Added: lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/similar/SimilarityQueries.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/similar/SimilarityQueries.java?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/similar/SimilarityQueries.java (added) +++ lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/similar/SimilarityQueries.java Fri Feb 24 16:39:18 2006 @@ -0,0 +1,118 @@ +/** + * Copyright 2004 The Apache Software Foundation. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.lucene.search.similar; + +import java.io.*; +import java.util.*; +import java.net.*; + +import org.apache.lucene.analysis.*; +import org.apache.lucene.analysis.standard.*; +import org.apache.lucene.document.*; +import org.apache.lucene.search.*; +import org.apache.lucene.index.*; +import org.apache.lucene.util.*; + +/** + * Simple similarity measures. + * + * + * @see MoreLikeThis + */ +public final class SimilarityQueries +{ + /** + * + */ + private SimilarityQueries() + { + } + + /** + * Simple similarity query generators. + * Takes every unique word and forms a boolean query where all words are optional. + * After you get this you'll use to to query your {@link IndexSearcher} for similar docs. + * The only caveat is the first hit returned <b>should be</b> your source document - you'll + * need to then ignore that. + * + * <p> + * + * So, if you have a code fragment like this: + * <br> + * <code> + * Query q = formSimilaryQuery( "I use Lucene to search fast. Fast searchers are good", new StandardAnalyzer(), "contents", null); + * </code> + * + * <p> + * + + * The query returned, in string form, will be <code>'(i use lucene to search fast searchers are good')</code>. + * + * <p> + * The philosophy behind this method is "two documents are similar if they share lots of words". + * Note that behind the scenes, Lucenes scoring algorithm will tend to give two documents a higher similarity score if the share more uncommon words. + * + * <P> + * This method is fail-safe in that if a long 'body' is passed in and + * {@link BooleanQuery#add BooleanQuery.add()} (used internally) + * throws + * {@link org.apache.lucene.search.BooleanQuery.TooManyClauses BooleanQuery.TooManyClauses}, the + * query as it is will be returned. + * + * + * + * + * + * @param body the body of the document you want to find similar documents to + * @param a the analyzer to use to parse the body + * @param field the field you want to search on, probably something like "contents" or "body" + * @param stop optional set of stop words to ignore + * @return a query with all unique words in 'body' + * @throws IOException this can't happen... + */ + public static Query formSimilarQuery( String body, + Analyzer a, + String field, + Set stop) + throws IOException + { + TokenStream ts = a.tokenStream( field, new StringReader( body)); + org.apache.lucene.analysis.Token t; + BooleanQuery tmp = new BooleanQuery(); + Set already = new HashSet(); // ignore dups + while ( (t = ts.next()) != null) + { + String word = t.termText(); + // ignore opt stop words + if ( stop != null && + stop.contains( word)) continue; + // ignore dups + if ( ! already.add( word)) continue; + // add to query + TermQuery tq = new TermQuery( new Term( field, word)); + try + { + tmp.add( tq, false, false); + } + catch( BooleanQuery.TooManyClauses too) + { + // fail-safe, just return what we have, not the end of the world + break; + } + } + return tmp; + } +} Added: lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/similar/package.html URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/similar/package.html?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/similar/package.html (added) +++ lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/similar/package.html Fri Feb 24 16:39:18 2006 @@ -0,0 +1,5 @@ +<html> +<body> +Document similarity query generators. +</body> +</html> \ No newline at end of file Added: lucene/java/trunk/contrib/xml-query-parser/build.xml URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/build.xml?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/build.xml (added) +++ lucene/java/trunk/contrib/xml-query-parser/build.xml Fri Feb 24 16:39:18 2006 @@ -0,0 +1,28 @@ +<?xml version="1.0"?> + +<project name="xml-query-parser" default="buildParser"> + + <description> + XML query parser + </description> + + <import file="../contrib-build.xml"/> + + <property name="queries.jar" location="../../build/contrib/queries/lucene-queries-${version}.jar"/> + + <path id="classpath"> + <pathelement path="${lucene.jar}"/> + <pathelement path="${queries.jar}"/> + <pathelement path="${project.classpath}"/> + </path> + + + <target name="buildParser" depends="buildQueries,default" /> + + <target name="buildQueries" > + <echo>XML Parser building dependency ${queries.jar}</echo> + <ant antfile="../queries/build.xml" target="default" inheritall="false"/> + </target> + + +</project> Added: lucene/java/trunk/contrib/xml-query-parser/readme.htm URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/readme.htm?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/readme.htm (added) +++ lucene/java/trunk/contrib/xml-query-parser/readme.htm Fri Feb 24 16:39:18 2006 @@ -0,0 +1,33 @@ +<html> + <body> + <h1>XML based query syntax + </h1> + <p> + This module contains: + <ul> + <li>a modular Lucene Query Parser where queries are expressed as XML</li> + <li>JUnit test</li> + <li>Example XML queries</li> + <li>Test index (subset of Reuters 21578)</li> + </ul> + </p> + <p> + The original motivation for creating this package was outlined and discussed <a href="http://marc.theaimsgroup.com/?l=lucene-dev&m=113355526731460&w=2">here</a>. + </p> + <p> + Parser support includes: + <ul> + <li>"Span" queries</li> + <li>"Like this" queries</li> + <li>Boolean, Term, and UserInput (parsed with existing query parser)</li> + <li>BoostingQuery - a class that can downgrade scores for hits on + certain terms rather than the hard-line approach taken by BooleanClause.Occurs.MUST_NOT</li> + <li>FilteredQuery, RangeFilter, and "TermsFilter" for non-sequential terms</li> + <li>"FuzzyLikeThis" a new query which is a cross between "LikeThis" and "fuzzy" but with + better scoring of fuzzy terms than standard fuzzy queries</li> + <li>A modular design with expandable support for new query/filter types</li> + </ul> + </p> + <p>This code is dependent on the "queries" contrib module although the "CoreParser" can be compiled with just Lucene core if required</p> + </body> +</html> \ No newline at end of file Added: lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/CoreParser.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/CoreParser.java?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/CoreParser.java (added) +++ lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/CoreParser.java Fri Feb 24 16:39:18 2006 @@ -0,0 +1,124 @@ +package org.apache.lucene.xmlparser; + +import java.io.InputStream; + +import javax.xml.parsers.DocumentBuilder; +import javax.xml.parsers.DocumentBuilderFactory; + +import org.apache.lucene.analysis.Analyzer; +import org.apache.lucene.queryParser.QueryParser; +import org.apache.lucene.search.Query; +import org.apache.lucene.xmlparser.builders.BooleanQueryBuilder; +import org.apache.lucene.xmlparser.builders.ConstantScoreQueryBuilder; +import org.apache.lucene.xmlparser.builders.RangeFilterBuilder; +import org.apache.lucene.xmlparser.builders.SpanFirstBuilder; +import org.apache.lucene.xmlparser.builders.SpanNearBuilder; +import org.apache.lucene.xmlparser.builders.SpanNotBuilder; +import org.apache.lucene.xmlparser.builders.SpanOrBuilder; +import org.apache.lucene.xmlparser.builders.SpanOrTermsBuilder; +import org.apache.lucene.xmlparser.builders.SpanQueryBuilderFactory; +import org.apache.lucene.xmlparser.builders.SpanTermBuilder; +import org.apache.lucene.xmlparser.builders.TermQueryBuilder; +import org.apache.lucene.xmlparser.builders.UserInputQueryBuilder; +import org.w3c.dom.Document; +import org.w3c.dom.Element; + +/** + * Assembles a QueryBuilder which uses only core Lucene Query objects + * @author Mark + * + */ +public class CoreParser implements QueryBuilder +{ + + protected Analyzer analyzer; + protected QueryParser parser; + protected QueryBuilderFactory queryFactory; + protected FilterBuilderFactory filterFactory; + + public CoreParser(Analyzer analyzer, QueryParser parser) + { + this.analyzer=analyzer; + this.parser=parser; + filterFactory = new FilterBuilderFactory(); + filterFactory.addBuilder("RangeFilter",new RangeFilterBuilder()); + + + queryFactory = new QueryBuilderFactory(); + queryFactory.addBuilder("TermQuery",new TermQueryBuilder()); + queryFactory.addBuilder("BooleanQuery",new BooleanQueryBuilder(queryFactory)); + queryFactory.addBuilder("UserQuery",new UserInputQueryBuilder(new QueryParser("contents", analyzer))); + queryFactory.addBuilder("FilteredQuery",new FilteredQueryBuilder(filterFactory,queryFactory)); + queryFactory.addBuilder("ConstantScoreQuery",new ConstantScoreQueryBuilder(filterFactory)); + + SpanQueryBuilderFactory sqof=new SpanQueryBuilderFactory(); + + SpanNearBuilder snb=new SpanNearBuilder(sqof); + sqof.addBuilder("SpanNear",snb); + queryFactory.addBuilder("SpanNear",snb); + + SpanTermBuilder snt=new SpanTermBuilder(); + sqof.addBuilder("SpanTerm",snt); + queryFactory.addBuilder("SpanTerm",snt); + + SpanOrBuilder sot=new SpanOrBuilder(sqof); + sqof.addBuilder("SpanOr",sot); + queryFactory.addBuilder("SpanOr",sot); + + SpanOrTermsBuilder sots=new SpanOrTermsBuilder(analyzer); + sqof.addBuilder("SpanOrTerms",sots); + queryFactory.addBuilder("SpanOrTerms",sots); + + SpanFirstBuilder sft=new SpanFirstBuilder(sqof); + sqof.addBuilder("SpanFirst",sft); + queryFactory.addBuilder("SpanFirst",sft); + + SpanNotBuilder snot=new SpanNotBuilder(sqof); + sqof.addBuilder("SpanNot",snot); + queryFactory.addBuilder("SpanNot",snot); + } + + public Query parse(InputStream xmlStream) throws ParserException + { + return getQuery(parseXML(xmlStream).getDocumentElement()); + } + + public void addQueryBuilder(String nodeName,QueryBuilder builder) + { + queryFactory.addBuilder(nodeName,builder); + } + public void addFilterBuilder(String nodeName,FilterBuilder builder) + { + filterFactory.addBuilder(nodeName,builder); + } + + private static Document parseXML(InputStream pXmlFile) throws ParserException + { + DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); + DocumentBuilder db = null; + try + { + db = dbf.newDocumentBuilder(); + } + catch (Exception se) + { + throw new ParserException("XML Parser configuration error", se); + } + org.w3c.dom.Document doc = null; + try + { + doc = db.parse(pXmlFile); + } + catch (Exception se) + { + throw new ParserException("Error parsing XML stream:" + se, se); + } + return doc; + } + + + public Query getQuery(Element e) throws ParserException + { + return queryFactory.getQuery(e); + } +} Added: lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/CorePlusExtensionsParser.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/CorePlusExtensionsParser.java?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/CorePlusExtensionsParser.java (added) +++ lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/CorePlusExtensionsParser.java Fri Feb 24 16:39:18 2006 @@ -0,0 +1,25 @@ +package org.apache.lucene.xmlparser; + +import org.apache.lucene.analysis.Analyzer; +import org.apache.lucene.queryParser.QueryParser; +import org.apache.lucene.xmlparser.builders.BoostingQueryBuilder; +import org.apache.lucene.xmlparser.builders.FuzzyLikeThisQueryBuilder; +import org.apache.lucene.xmlparser.builders.LikeThisQueryBuilder; +import org.apache.lucene.xmlparser.builders.TermsFilterBuilder; + +public class CorePlusExtensionsParser extends CoreParser +{ + + public CorePlusExtensionsParser(Analyzer analyzer, QueryParser parser) + { + super(analyzer, parser); + filterFactory.addBuilder("TermsFilter",new TermsFilterBuilder(analyzer)); + String fields[]={"contents"}; + queryFactory.addBuilder("LikeThisQuery",new LikeThisQueryBuilder(analyzer,fields)); + queryFactory.addBuilder("BoostingQuery", new BoostingQueryBuilder(queryFactory)); + queryFactory.addBuilder("FuzzyLikeThisQuery", new FuzzyLikeThisQueryBuilder(analyzer)); + + } + + +} Added: lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/DOMUtils.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/DOMUtils.java?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/DOMUtils.java (added) +++ lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/DOMUtils.java Fri Feb 24 16:39:18 2006 @@ -0,0 +1,198 @@ +package org.apache.lucene.xmlparser; +import java.io.Reader; + +import javax.xml.parsers.DocumentBuilder; +import javax.xml.parsers.DocumentBuilderFactory; + +import org.w3c.dom.Document; +import org.w3c.dom.Element; +import org.w3c.dom.Node; +import org.xml.sax.InputSource; + +public class DOMUtils +{ + /* Convenience method where there is only one child Element of a given name */ + public static Element getChildByTagName(Element e, String name) + { + for (Node kid = e.getFirstChild(); kid != null; kid = kid.getNextSibling()) + { + if( (kid.getNodeType()==Node.ELEMENT_NODE) && (name.equals(kid.getNodeName())) ) + { + return (Element)kid; + } + } + return null; + } + + /** + * Returns an attribute value from this node, or first parent node with this attribute defined + * @param element + * @param attributeName + * @return A non-zero-length value if defined, otherwise null + */ + public static String getAttributeWithInheritance(Element element, String attributeName) + { + String result=element.getAttribute(attributeName); + if( (result==null)|| ("".equals(result) ) ) + { + Node n=element.getParentNode(); + if((n==element)||(n==null)) + { + return null; + } + Element parent=(Element) n; + return getAttributeWithInheritance(parent,attributeName); + } + return result; + } + + + + /* Convenience method where there is only one child Element of a given name */ + public static String getChildTextByTagName(Element e, String tagName) + { + Element child=getChildByTagName(e,tagName); + if(child!=null) + { + return getText(child); + } + return null; + } + + /* Convenience method to append a new child with text*/ + public static Element insertChild(Element parent, String tagName, String text) + { + Element child = parent.getOwnerDocument().createElement(tagName); + parent.appendChild(child); + if(text!=null) + { + child.appendChild(child.getOwnerDocument().createTextNode(text)); + } + return child; + } + + public static String getAttribute(Element element, String attributeName, String deflt) + { + String result=element.getAttribute(attributeName); + if( (result==null)|| ("".equals(result) ) ) + { + return deflt; + } + return result; + } + public static float getAttribute(Element element, String attributeName, float deflt) + { + String result=element.getAttribute(attributeName); + if( (result==null)|| ("".equals(result) ) ) + { + return deflt; + } + return Float.parseFloat(result); + } + + public static int getAttribute(Element element, String attributeName, int deflt) + { + String result=element.getAttribute(attributeName); + if( (result==null)|| ("".equals(result) ) ) + { + return deflt; + } + return Integer.parseInt(result); + } + + public static boolean getAttribute(Element element, String attributeName, + boolean deflt) + { + String result = element.getAttribute(attributeName); + if ((result == null) || ("".equals(result))) + { + return deflt; + } + return Boolean.getBoolean(result); + } + + /* Returns text of node and all child nodes - without markup */ + //MH changed to Node from Element 25/11/2005 + public static String getText(Node e) + { + StringBuffer sb=new StringBuffer(); + getTextBuffer(e, sb); + return sb.toString(); + } + + public static Element getFirstChildElement(Element element) + { + for (Node kid = element.getFirstChild(); kid != null; kid = kid + .getNextSibling()) + { + if (kid.getNodeType() == Node.ELEMENT_NODE) + { + return (Element) kid; + } + } + return null; + } + + private static void getTextBuffer(Node e, StringBuffer sb) + { + for (Node kid = e.getFirstChild(); kid != null; kid = kid.getNextSibling()) + { + switch(kid.getNodeType()) + { + case Node.TEXT_NODE: + { + sb.append(kid.getNodeValue()); + break; + } + case Node.ELEMENT_NODE: + { + getTextBuffer(kid, sb); + break; + } + case Node.ENTITY_REFERENCE_NODE: + { + getTextBuffer(kid, sb); + break; + } + } + } + } + + /** + * Helper method to parse an XML file into a DOM tree, given a filename. + * @param pXmlFile name of the XML file to be parsed + * @return an org.w3c.dom.Document object + */ + public static Document loadXML(Reader is) + { + + DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); + DocumentBuilder db = null; + + try + { + db = dbf.newDocumentBuilder(); + } + catch (Exception se) + { + throw new RuntimeException("Parser configuration error", se); + } + + // Step 3: parse the input file + org.w3c.dom.Document doc = null; + try + { + doc = db.parse(new InputSource(is)); + //doc = db.parse(is); + } + catch (Exception se) + { + throw new RuntimeException("Error parsing file:" + se, se); + } + + return doc; + } +} + + + Added: lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/FilterBuilder.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/FilterBuilder.java?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/FilterBuilder.java (added) +++ lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/FilterBuilder.java Fri Feb 24 16:39:18 2006 @@ -0,0 +1,14 @@ +/* + * Created on 25-Jan-2006 + */ +package org.apache.lucene.xmlparser; + +import org.apache.lucene.search.Filter; +import org.w3c.dom.Element; + +/** + * @author maharwood + */ +public interface FilterBuilder { + public Filter getFilter(Element e) throws ParserException; +} Added: lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/FilterBuilderFactory.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/FilterBuilderFactory.java?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/FilterBuilderFactory.java (added) +++ lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/FilterBuilderFactory.java Fri Feb 24 16:39:18 2006 @@ -0,0 +1,31 @@ +/* + * Created on 25-Jan-2006 + */ +package org.apache.lucene.xmlparser; + +import java.util.HashMap; + +import org.apache.lucene.search.Filter; +import org.w3c.dom.Element; + +/** + * @author maharwood + */ +public class FilterBuilderFactory implements FilterBuilder { + + HashMap builders=new HashMap(); + + public Filter getFilter(Element n) throws ParserException { + FilterBuilder builder=(FilterBuilder) builders.get(n.getNodeName()); + if(builder==null) + { + throw new ParserException("No FilterBuilder defined for node "+n.getNodeName()); + } + return builder.getFilter(n); + } + public void addBuilder(String nodeName,FilterBuilder builder) + { + builders.put(nodeName,builder); + } + +} Added: lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/FilteredQueryBuilder.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/FilteredQueryBuilder.java?rev=380874&view=auto ============================================================================== --- lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/FilteredQueryBuilder.java (added) +++ lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/FilteredQueryBuilder.java Fri Feb 24 16:39:18 2006 @@ -0,0 +1,71 @@ +/* + * Created on 25-Jan-2006 + */ +package org.apache.lucene.xmlparser; + +import org.apache.lucene.search.Filter; +import org.apache.lucene.search.FilteredQuery; +import org.apache.lucene.search.Query; +import org.w3c.dom.Element; + + +/** + * @author maharwood + */ +public class FilteredQueryBuilder implements QueryBuilder { + + private FilterBuilder filterFactory; + private QueryBuilder queryFactory; + + public FilteredQueryBuilder(FilterBuilder filterFactory, QueryBuilder queryFactory) + { + this.filterFactory=filterFactory; + this.queryFactory=queryFactory; + + } + + /* (non-Javadoc) + * @see org.apache.lucene.xmlparser.QueryObjectBuilder#process(org.w3c.dom.Element) + */ + public Query getQuery(Element e) throws ParserException { + Element filterElement=DOMUtils.getChildByTagName(e,"Filter"); + if(filterElement==null) + { + throw new ParserException("FilteredQuery missing \"Filter\" child element"); + } + filterElement=DOMUtils.getFirstChildElement(filterElement); + Filter f=null; + if(filterElement!=null) + { + f=filterFactory.getFilter(filterElement); + } + else + { + throw new ParserException("FilteredQuery \"Filter\" element missing child query element "); + } + + + Element queryElement=DOMUtils.getChildByTagName(e,"Query"); + if(queryElement==null) + { + throw new ParserException("FilteredQuery missing \"Query\" child element"); + } + queryElement=DOMUtils.getFirstChildElement(queryElement); + Query q=null; + if(queryElement!=null) + { + q=queryFactory.getQuery(queryElement); + } + else + { + throw new ParserException("FilteredQuery \"Query\" element missing child query element "); + } + + + FilteredQuery fq = new FilteredQuery(q,f); + fq.setBoost(DOMUtils.getAttribute(e,"boost",1.0f)); + return fq; + + } + +} From [email protected] Sat Feb 25 20:43:55 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10301 invoked from network); 25 Feb 2006 20:43:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 25 Feb 2006 20:43:55 -0000 Received: (qmail 2100 invoked by uid 500); 25 Feb 2006 20:43:55 -0000 Delivered-To: [email protected] Received: (qmail 2079 invoked by uid 500); 25 Feb 2006 20:43:54 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <java-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 2068 invoked by uid 99); 25 Feb 2006 20:43:54 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Feb 2006 12:43:54 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 25 Feb 2006 12:43:53 -0800 Received: (qmail 10166 invoked by uid 65534); 25 Feb 2006 20:43:33 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r380989 - in /lucene/java/trunk/contrib/surround/src/java/org/apache/lucene/queryParser/surround: parser/package.html query/package.html Date: Sat, 25 Feb 2006 20:43:33 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: otis Date: Sat Feb 25 12:43:32 2006 New Revision: 380989 URL: http://svn.apache.org/viewcvs?rev=380989&view=rev Log: - Package description from Paul Elschot Added: lucene/java/trunk/contrib/surround/src/java/org/apache/lucene/queryParser/surround/parser/package.html lucene/java/trunk/contrib/surround/src/java/org/apache/lucene/queryParser/surround/query/package.html Added: lucene/java/trunk/contrib/surround/src/java/org/apache/lucene/queryParser/surround/parser/package.html URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/surround/src/java/org/apache/lucene/queryParser/surround/parser/package.html?rev=380989&view=auto ============================================================================== --- lucene/java/trunk/contrib/surround/src/java/org/apache/lucene/queryParser/surround/parser/package.html (added) +++ lucene/java/trunk/contrib/surround/src/java/org/apache/lucene/queryParser/surround/parser/package.html Sat Feb 25 12:43:32 2006 @@ -0,0 +1,11 @@ +<html> + <head> + <title>Surround parser package</title> + </head> + <body> + This package contains the QueryParser.jj source file for the Surround parser. + <p/> + Parsing the text of a query results in a SrndQuery in the + org.apache.lucene.queryParser.surround.query package. + </body> +</html> Added: lucene/java/trunk/contrib/surround/src/java/org/apache/lucene/queryParser/surround/query/package.html URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/surround/src/java/org/apache/lucene/queryParser/surround/query/package.html?rev=380989&view=auto ============================================================================== --- lucene/java/trunk/contrib/surround/src/java/org/apache/lucene/queryParser/surround/query/package.html (added) +++ lucene/java/trunk/contrib/surround/src/java/org/apache/lucene/queryParser/surround/query/package.html Sat Feb 25 12:43:32 2006 @@ -0,0 +1,15 @@ +<html> + <head> + <title>Surround query package</title> + </head> + <body> + This package contains SrndQuery and its subclasses. + <p/> + The parser in the org.apache.lucene.queryParser.surround.parser package + normally generates a SrndQuery. + <p/> + For searching an org.apache.lucene.search.Query is provided by + the SrndQuery.makeLuceneQueryField method. + For this, TermQuery, BooleanQuery and SpanQuery are used from Lucene. + </body> +</html> From [email protected] Sun Feb 26 01:05:17 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 4352 invoked from network); 26 Feb 2006 01:05:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Feb 2006 01:05:17 -0000 Received: (qmail 77926 invoked by uid 500); 26 Feb 2006 01:05:17 -0000 Delivered-To: [email protected] Received: (qmail 77889 invoked by uid 500); 26 Feb 2006 01:05:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <java-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 77877 invoked by uid 99); 26 Feb 2006 01:05:16 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Feb 2006 17:05:16 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 25 Feb 2006 17:05:15 -0800 Received: (qmail 4239 invoked by uid 65534); 26 Feb 2006 01:04:55 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r381040 - in /lucene/java/trunk: docs/index.html xdocs/index.xml Date: Sun, 26 Feb 2006 01:04:54 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: dnaber Date: Sat Feb 25 17:04:53 2006 New Revision: 381040 URL: http://svn.apache.org/viewcvs?rev=381040&view=rev Log: remove outdated reference to Jakarta Modified: lucene/java/trunk/docs/index.html lucene/java/trunk/xdocs/index.xml Modified: lucene/java/trunk/docs/index.html URL: http://svn.apache.org/viewcvs/lucene/java/trunk/docs/index.html?rev=381040&r1=381039&r2=381040&view=diff ============================================================================== --- lucene/java/trunk/docs/index.html (original) +++ lucene/java/trunk/docs/index.html Sat Feb 25 17:04:53 2006 @@ -126,7 +126,7 @@ </p> <p> Apache Lucene is an open source project available for - <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">free download</a> from Apache Jakarta. + <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">free download</a>. Please use the links on the left to access Lucene. </p> </blockquote> Modified: lucene/java/trunk/xdocs/index.xml URL: http://svn.apache.org/viewcvs/lucene/java/trunk/xdocs/index.xml?rev=381040&r1=381039&r2=381040&view=diff ============================================================================== --- lucene/java/trunk/xdocs/index.xml (original) +++ lucene/java/trunk/xdocs/index.xml Sat Feb 25 17:04:53 2006 @@ -16,7 +16,7 @@ </p> <p> Apache Lucene is an open source project available for - <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">free download</a> from Apache Jakarta. + <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">free download</a>. Please use the links on the left to access Lucene. </p> </section> From [email protected] Sun Feb 26 14:25:22 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 87445 invoked from network); 26 Feb 2006 14:25:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Feb 2006 14:25:21 -0000 Received: (qmail 45325 invoked by uid 500); 26 Feb 2006 14:25:21 -0000 Delivered-To: [email protected] Received: (qmail 45298 invoked by uid 500); 26 Feb 2006 14:25:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <java-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 45287 invoked by uid 99); 26 Feb 2006 14:25:20 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Feb 2006 06:25:20 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 26 Feb 2006 06:25:19 -0800 Received: (qmail 87364 invoked by uid 65534); 26 Feb 2006 14:24:59 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r381095 - /lucene/java/trunk/contrib/lucli/build.xml Date: Sun, 26 Feb 2006 14:24:58 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: ehatcher Date: Sun Feb 26 06:24:54 2006 New Revision: 381095 URL: http://svn.apache.org/viewcvs?rev=381095&view=rev Log: modified build file to pick up the proper manifest file. more work is needed to have the manifest pick up the right Lucene JAR name though Modified: lucene/java/trunk/contrib/lucli/build.xml Modified: lucene/java/trunk/contrib/lucli/build.xml URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/lucli/build.xml?rev=381095&r1=381094&r2=381095&view=diff ============================================================================== --- lucene/java/trunk/contrib/lucli/build.xml (original) +++ lucene/java/trunk/contrib/lucli/build.xml Sun Feb 26 06:24:54 2006 @@ -18,12 +18,13 @@ <property name="src.dir" location="src"/> - <target name="dist" depends="compile" description="Create JAR"> - <jar jarfile="${dist.dir}/${dist.name}.jar" - basedir="${build.dir}/classes" + + <import file="../contrib-build.xml"/> + + <target name="jar" depends="compile" description="Create JAR"> + <jar jarfile="${build.dir}/${final.name}.jar" + basedir="${build.dir}/classes/java" manifest="META-INF/MANIFEST.MF" /> </target> - - <import file="../contrib-build.xml"/> </project> From [email protected] Sun Feb 26 14:40:31 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91223 invoked from network); 26 Feb 2006 14:40:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Feb 2006 14:40:30 -0000 Received: (qmail 50810 invoked by uid 500); 26 Feb 2006 14:40:30 -0000 Delivered-To: [email protected] Received: (qmail 50751 invoked by uid 500); 26 Feb 2006 14:40:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <java-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 50740 invoked by uid 99); 26 Feb 2006 14:40:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Feb 2006 06:40:30 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 26 Feb 2006 06:40:29 -0800 Received: (qmail 91099 invoked by uid 65534); 26 Feb 2006 14:40:09 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r381096 - in /lucene/java/trunk: CHANGES.txt src/java/org/apache/lucene/index/IndexWriter.java Date: Sun, 26 Feb 2006 14:40:08 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: dnaber Date: Sun Feb 26 06:40:05 2006 New Revision: 381096 URL: http://svn.apache.org/viewcvs?rev=381096&view=rev Log: Undo the change that made setMaxBufferedDocs(1) work because it had negative effects on indexing performance. Instead throw an exception if setMaxBufferedDocs(1) is called. Modified: lucene/java/trunk/CHANGES.txt lucene/java/trunk/src/java/org/apache/lucene/index/IndexWriter.java Modified: lucene/java/trunk/CHANGES.txt URL: http://svn.apache.org/viewcvs/lucene/java/trunk/CHANGES.txt?rev=381096&r1=381095&r2=381096&view=diff ============================================================================== --- lucene/java/trunk/CHANGES.txt (original) +++ lucene/java/trunk/CHANGES.txt Sun Feb 26 06:40:05 2006 @@ -4,6 +4,13 @@ 1.9 RC2 +Bug fixes + + 1. The fix that made IndexWriter.setMaxBufferedDocs(1) work had negative + effects on indexing performance and has thus been reverted. The + argument for setMaxBufferedDocs(int) must now at least be 2, otherwise + an exception is thrown. + Optimizations 1. Optimized BufferedIndexOutput.writeBytes() to use Modified: lucene/java/trunk/src/java/org/apache/lucene/index/IndexWriter.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/src/java/org/apache/lucene/index/IndexWriter.java?rev=381096&r1=381095&r2=381096&view=diff ============================================================================== --- lucene/java/trunk/src/java/org/apache/lucene/index/IndexWriter.java (original) +++ lucene/java/trunk/src/java/org/apache/lucene/index/IndexWriter.java Sun Feb 26 06:40:05 2006 @@ -318,11 +318,11 @@ * * <p> The default value is 10. * - * @throws IllegalArgumentException if maxBufferedDocs is smaller than 1 + * @throws IllegalArgumentException if maxBufferedDocs is smaller than 2 */ public void setMaxBufferedDocs(int maxBufferedDocs) { - if (maxBufferedDocs < 1) - throw new IllegalArgumentException("maxBufferedDocs must at least be 1"); + if (maxBufferedDocs < 2) + throw new IllegalArgumentException("maxBufferedDocs must at least be 2"); this.minMergeDocs = maxBufferedDocs; } @@ -637,7 +637,7 @@ int mergeDocs = 0; while (--minSegment >= 0) { SegmentInfo si = segmentInfos.info(minSegment); - if (si.docCount > targetMergeDocs) + if (si.docCount >= targetMergeDocs) break; mergeDocs += si.docCount; } From [email protected] Sun Feb 26 14:48:41 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93837 invoked from network); 26 Feb 2006 14:48:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Feb 2006 14:48:41 -0000 Received: (qmail 54493 invoked by uid 500); 26 Feb 2006 14:48:41 -0000 Delivered-To: [email protected] Received: (qmail 54434 invoked by uid 500); 26 Feb 2006 14:48:40 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <java-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 54423 invoked by uid 99); 26 Feb 2006 14:48:40 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Feb 2006 06:48:40 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 26 Feb 2006 06:48:39 -0800 Received: (qmail 93779 invoked by uid 65534); 26 Feb 2006 14:48:19 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r381098 - /lucene/java/trunk/contrib/regex/lib/regexp.LICENSE Date: Sun, 26 Feb 2006 14:48:19 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: ehatcher Date: Sun Feb 26 06:48:17 2006 New Revision: 381098 URL: http://svn.apache.org/viewcvs?rev=381098&view=rev Log: add regexp LICENSE file Added: lucene/java/trunk/contrib/regex/lib/regexp.LICENSE Added: lucene/java/trunk/contrib/regex/lib/regexp.LICENSE URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/regex/lib/regexp.LICENSE?rev=381098&view=auto ============================================================================== --- lucene/java/trunk/contrib/regex/lib/regexp.LICENSE (added) +++ lucene/java/trunk/contrib/regex/lib/regexp.LICENSE Sun Feb 26 06:48:17 2006 @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. From [email protected] Sun Feb 26 15:38:58 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 11039 invoked from network); 26 Feb 2006 15:38:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 26 Feb 2006 15:38:58 -0000 Received: (qmail 85189 invoked by uid 500); 26 Feb 2006 15:38:58 -0000 Delivered-To: [email protected] Received: (qmail 85130 invoked by uid 500); 26 Feb 2006 15:38:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <java-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 85119 invoked by uid 99); 26 Feb 2006 15:38:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Feb 2006 07:38:57 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 26 Feb 2006 07:38:56 -0800 Received: (qmail 10953 invoked by uid 65534); 26 Feb 2006 15:38:36 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r381108 - in /lucene/java/trunk/contrib/regex/src: java/org/apache/lucene/search/regex/ java/org/apache/regexp/ test/org/apache/lucene/search/regex/ Date: Sun, 26 Feb 2006 15:38:33 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: ehatcher Date: Sun Feb 26 07:38:30 2006 New Revision: 381108 URL: http://svn.apache.org/viewcvs?rev=381108&view=rev Log: Many javadoc additions, and adding ASL to each file Added: lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/package.html lucene/java/trunk/contrib/regex/src/java/org/apache/regexp/package.html Modified: lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/JakartaRegexpCapabilities.java lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/JavaUtilRegexCapabilities.java lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/RegexCapabilities.java lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/RegexQuery.java lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/RegexQueryCapable.java lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/RegexTermEnum.java lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/SpanRegexQuery.java lucene/java/trunk/contrib/regex/src/java/org/apache/regexp/RegexpTunnel.java lucene/java/trunk/contrib/regex/src/test/org/apache/lucene/search/regex/TestSpanRegexQuery.java Modified: lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/JakartaRegexpCapabilities.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/JakartaRegexpCapabilities.java?rev=381108&r1=381107&r2=381108&view=diff ============================================================================== --- lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/JakartaRegexpCapabilities.java (original) +++ lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/JakartaRegexpCapabilities.java Sun Feb 26 07:38:30 2006 @@ -1,8 +1,29 @@ package org.apache.lucene.search.regex; +/** + * Copyright 2006 The Apache Software Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import org.apache.regexp.RE; import org.apache.regexp.RegexpTunnel; +/** + * Implementation tying <a href="http://jakarta.apache.org/regexp">Jakarta Regexp</a> + * to RegexQuery. Thanks to some internals of Jakarta Regexp, this + * has a solid {@link #prefix} implementation. + */ public class JakartaRegexpCapabilities implements RegexCapabilities { private RE regexp; Modified: lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/JavaUtilRegexCapabilities.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/JavaUtilRegexCapabilities.java?rev=381108&r1=381107&r2=381108&view=diff ============================================================================== --- lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/JavaUtilRegexCapabilities.java (original) +++ lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/JavaUtilRegexCapabilities.java Sun Feb 26 07:38:30 2006 @@ -1,7 +1,30 @@ package org.apache.lucene.search.regex; +/** + * Copyright 2006 The Apache Software Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import java.util.regex.Pattern; +/** + * An implementation tying Java's built-in java.util.regex to RegexQuery. + * + * Note that because this implementation currently only returns null from + * {@link #prefix} that queries using this implementation will enumerate and + * attempt to {@link #match} each term for the specified field in the index. + */ public class JavaUtilRegexCapabilities implements RegexCapabilities { private Pattern pattern; Modified: lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/RegexCapabilities.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/RegexCapabilities.java?rev=381108&r1=381107&r2=381108&view=diff ============================================================================== --- lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/RegexCapabilities.java (original) +++ lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/RegexCapabilities.java Sun Feb 26 07:38:30 2006 @@ -1,7 +1,47 @@ package org.apache.lucene.search.regex; -public interface RegexCapabilities { +/** + * Copyright 2006 The Apache Software Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * Defines basic operations needed by {@link RegexQuery} for a regular + * expression implementation. + */ +interface RegexCapabilities { + /** + * Called by the constructor of {@link RegexTermEnum} allowing + * implementations to cache a compiled version of the regular + * expression pattern. + * + * @param pattern regular expression pattern + */ void compile(String pattern); + + /** + * + * @param string + * @return true if string matches the pattern last passed to {@link #compile}. + */ boolean match(String string); + + /** + * A wise prefix implementation can reduce the term enumeration (and thus performance) + * of RegexQuery dramatically! + * + * @return static non-regex prefix of the pattern last passed to {@link #compile}. May return null. + */ String prefix(); } Modified: lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/RegexQuery.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/RegexQuery.java?rev=381108&r1=381107&r2=381108&view=diff ============================================================================== --- lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/RegexQuery.java (original) +++ lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/RegexQuery.java Sun Feb 26 07:38:30 2006 @@ -1,5 +1,21 @@ package org.apache.lucene.search.regex; +/** + * Copyright 2006 The Apache Software Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import org.apache.lucene.search.MultiTermQuery; import org.apache.lucene.search.FilteredTermEnum; import org.apache.lucene.index.Term; @@ -7,17 +23,32 @@ import java.io.IOException; +/** Implements the regular expression term search query. + * The expressions supported depend on the regular expression implementation + * used by way of the {@link RegexCapabilities} interface. + * + * @see RegexTermEnum + */ public class RegexQuery extends MultiTermQuery implements RegexQueryCapable { private RegexCapabilities regexImpl = new JavaUtilRegexCapabilities(); + /** Constructs a query for terms matching <code>term</code>. */ public RegexQuery(Term term) { super(term); } + /** + * Defines which {@link RegexCapabilities} implementation is used by this instance. + * + * @param impl + */ public void setRegexImplementation(RegexCapabilities impl) { this.regexImpl = impl; } + /** + * @return The implementation used by this instance. + */ public RegexCapabilities getRegexImplementation() { return regexImpl; } Modified: lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/RegexQueryCapable.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/RegexQueryCapable.java?rev=381108&r1=381107&r2=381108&view=diff ============================================================================== --- lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/RegexQueryCapable.java (original) +++ lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/RegexQueryCapable.java Sun Feb 26 07:38:30 2006 @@ -1,6 +1,26 @@ package org.apache.lucene.search.regex; -public interface RegexQueryCapable { +/** + * Copyright 2006 The Apache Software Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +/** + * Defines methods for regular expression supporting Querys to use. + */ +interface RegexQueryCapable { void setRegexImplementation(RegexCapabilities impl); RegexCapabilities getRegexImplementation(); } Modified: lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/RegexTermEnum.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/RegexTermEnum.java?rev=381108&r1=381107&r2=381108&view=diff ============================================================================== --- lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/RegexTermEnum.java (original) +++ lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/RegexTermEnum.java Sun Feb 26 07:38:30 2006 @@ -1,10 +1,35 @@ package org.apache.lucene.search.regex; +/** + * Copyright 2006 The Apache Software Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import org.apache.lucene.search.FilteredTermEnum; import org.apache.lucene.index.IndexReader; import org.apache.lucene.index.Term; import java.io.IOException; + +/** + * Subclass of FilteredTermEnum for enumerating all terms that match the + * specified regular expression term using the specified regular expression + * implementation. + * <p> + * Term enumerations are always ordered by Term.compareTo(). Each term in + * the enumeration is greater than all that precede it. + */ public class RegexTermEnum extends FilteredTermEnum { private String field = ""; Modified: lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/SpanRegexQuery.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/SpanRegexQuery.java?rev=381108&r1=381107&r2=381108&view=diff ============================================================================== --- lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/SpanRegexQuery.java (original) +++ lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/SpanRegexQuery.java Sun Feb 26 07:38:30 2006 @@ -1,5 +1,21 @@ package org.apache.lucene.search.regex; +/** + * Copyright 2006 The Apache Software Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import org.apache.lucene.index.Term; import org.apache.lucene.index.IndexReader; import org.apache.lucene.search.Query; @@ -16,6 +32,10 @@ import java.util.Collection; import java.util.ArrayList; +/** + * A SpanQuery version of {@link RegexQuery} allowing regular expression + * queries to be nested within other SpanQuery subclasses. + */ public class SpanRegexQuery extends SpanQuery implements RegexQueryCapable { private RegexCapabilities regexImpl = new JavaUtilRegexCapabilities(); private Term term; Added: lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/package.html URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/package.html?rev=381108&view=auto ============================================================================== --- lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/package.html (added) +++ lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/package.html Sun Feb 26 07:38:30 2006 @@ -0,0 +1,5 @@ +<html><head></head> +<body> +Regular expression Query. +</body> +</html> Modified: lucene/java/trunk/contrib/regex/src/java/org/apache/regexp/RegexpTunnel.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/regex/src/java/org/apache/regexp/RegexpTunnel.java?rev=381108&r1=381107&r2=381108&view=diff ============================================================================== --- lucene/java/trunk/contrib/regex/src/java/org/apache/regexp/RegexpTunnel.java (original) +++ lucene/java/trunk/contrib/regex/src/java/org/apache/regexp/RegexpTunnel.java Sun Feb 26 07:38:30 2006 @@ -1,6 +1,23 @@ package org.apache.regexp; /** + * Copyright 2006 The Apache Software Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +/** * This class exists as a gateway to access useful Jakarta Regexp package protected data. */ public class RegexpTunnel { Added: lucene/java/trunk/contrib/regex/src/java/org/apache/regexp/package.html URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/regex/src/java/org/apache/regexp/package.html?rev=381108&view=auto ============================================================================== --- lucene/java/trunk/contrib/regex/src/java/org/apache/regexp/package.html (added) +++ lucene/java/trunk/contrib/regex/src/java/org/apache/regexp/package.html Sun Feb 26 07:38:30 2006 @@ -0,0 +1,7 @@ +<html><head></head> +<body> +This package exists to allow access to useful package protected data within +Jakarta Regexp. This data has now been opened up with an accessor, but +an official release with that change has not been made to date. +</body> +</html> Modified: lucene/java/trunk/contrib/regex/src/test/org/apache/lucene/search/regex/TestSpanRegexQuery.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/regex/src/test/org/apache/lucene/search/regex/TestSpanRegexQuery.java?rev=381108&r1=381107&r2=381108&view=diff ============================================================================== --- lucene/java/trunk/contrib/regex/src/test/org/apache/lucene/search/regex/TestSpanRegexQuery.java (original) +++ lucene/java/trunk/contrib/regex/src/test/org/apache/lucene/search/regex/TestSpanRegexQuery.java Sun Feb 26 07:38:30 2006 @@ -12,22 +12,29 @@ import org.apache.lucene.search.spans.SpanTermQuery; import org.apache.lucene.search.spans.SpanNearQuery; import org.apache.lucene.search.spans.SpanQuery; +import org.apache.lucene.search.spans.SpanFirstQuery; public class TestSpanRegexQuery extends TestCase { public void testSpanRegex() throws Exception { RAMDirectory directory = new RAMDirectory(); IndexWriter writer = new IndexWriter(directory, new SimpleAnalyzer(), true); Document doc = new Document(); - doc.add(new Field("field", "the quick brown fox jumps over the lazy dog", Field.Store.NO, Field.Index.TOKENIZED)); +// doc.add(new Field("field", "the quick brown fox jumps over the lazy dog", Field.Store.NO, Field.Index.TOKENIZED)); +// writer.addDocument(doc); +// doc = new Document(); + doc.add(new Field("field", "auto update", Field.Store.NO, Field.Index.TOKENIZED)); + writer.addDocument(doc); + doc = new Document(); + doc.add(new Field("field", "first auto update", Field.Store.NO, Field.Index.TOKENIZED)); writer.addDocument(doc); writer.optimize(); writer.close(); IndexSearcher searcher = new IndexSearcher(directory); - SpanRegexQuery srq = new SpanRegexQuery(new Term("field", "q.[aeiou]c.*")); - SpanTermQuery stq = new SpanTermQuery(new Term("field","dog")); - SpanNearQuery query = new SpanNearQuery(new SpanQuery[] {srq, stq}, 6, true); - Hits hits = searcher.search(query); + SpanRegexQuery srq = new SpanRegexQuery(new Term("field", "aut.*")); + SpanFirstQuery sfq = new SpanFirstQuery(srq, 1); +// SpanNearQuery query = new SpanNearQuery(new SpanQuery[] {srq, stq}, 6, true); + Hits hits = searcher.search(sfq); assertEquals(1, hits.length()); } } From [email protected] Mon Feb 27 19:50:45 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 25142 invoked from network); 27 Feb 2006 19:50:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2006 19:50:45 -0000 Received: (qmail 30010 invoked by uid 500); 27 Feb 2006 19:50:44 -0000 Delivered-To: [email protected] Received: (qmail 29924 invoked by uid 500); 27 Feb 2006 19:50:43 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <java-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 29895 invoked by uid 99); 27 Feb 2006 19:50:42 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Feb 2006 11:50:42 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 27 Feb 2006 11:50:41 -0800 Received: (qmail 24992 invoked by uid 65534); 27 Feb 2006 19:50:21 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r381415 - in /lucene/java/trunk: README.txt build.xml docs/fileformats.html docs/queryparsersyntax.html xdocs/fileformats.xml xdocs/queryparsersyntax.xml Date: Mon, 27 Feb 2006 19:50:20 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Mon Feb 27 11:50:18 2006 New Revision: 381415 URL: http://svn.apache.org/viewcvs?rev=381415&view=rev Log: Fix for LUCENE-499: documentation improvements prior to 1.9 release. Contributed by Hoss. Modified: lucene/java/trunk/README.txt lucene/java/trunk/build.xml lucene/java/trunk/docs/fileformats.html lucene/java/trunk/docs/queryparsersyntax.html lucene/java/trunk/xdocs/fileformats.xml lucene/java/trunk/xdocs/queryparsersyntax.xml Modified: lucene/java/trunk/README.txt URL: http://svn.apache.org/viewcvs/lucene/java/trunk/README.txt?rev=381415&r1=381414&r2=381415&view=diff ============================================================================== --- lucene/java/trunk/README.txt (original) +++ lucene/java/trunk/README.txt Mon Feb 27 11:50:18 2006 @@ -22,11 +22,19 @@ lucene-demos-XX.jar The compiled simple example code. +luceneweb.war + The compiled simple example Web Application. + +contrib/* + Contributed code which extends and enhances Lucene, but is not + part of the core library. + docs/index.html The contents of the Lucene website. docs/api/index.html - The Javadoc Lucene API documentation. + The Javadoc Lucene API documentation. This includes the core + library, the demo, as well as all of the contrib modules. src/java The Lucene source code. Modified: lucene/java/trunk/build.xml URL: http://svn.apache.org/viewcvs/lucene/java/trunk/build.xml?rev=381415&r1=381414&r2=381415&view=diff ============================================================================== --- lucene/java/trunk/build.xml (original) +++ lucene/java/trunk/build.xml Mon Feb 27 11:50:18 2006 @@ -364,25 +364,45 @@ <tag name="todo" description="To Do:"/> <!-- TODO: find a dynamic way to do include multiple source roots --> + <packageset dir="src/java"/> + + <packageset dir="src/demo"/> + <packageset dir="contrib/analyzers/src/java"/> - <packageset dir="contrib/wordnet/src/java"/> + <packageset dir="contrib/ant/src/java"/> <packageset dir="contrib/highlighter/src/java"/> + <packageset dir="contrib/lucli/src/java"/> + <packageset dir="contrib/memory/src/java"/> + <packageset dir="contrib/miscellaneous/src/java"/> <packageset dir="contrib/similarity/src/java"/> - <packageset dir="contrib/spellchecker/src/java"/> + <packageset dir="contrib/regex/src/java"/> <packageset dir="contrib/snowball/src/java"/> + <packageset dir="contrib/spellchecker/src/java"/> + <packageset dir="contrib/surround/src/java"/> <packageset dir="contrib/swing/src/java"/> - <packageset dir="contrib/memory/src/java"/> + <packageset dir="contrib/wordnet/src/java"/> <group title="Core" packages="org.apache.*:org.apache.lucene.analysis:org.apache.lucene.analysis.standard*"/> + + <group title="Demo" packages="org.apache.lucene.demo*"/> + <group title="Analysis" packages="org.apache.lucene.analysis.*"/> - <group title="Snowball Stemmers" packages="org.apache.lucene.analysis.snowball*:net.sf.snowball*"/> + <group title="Ant" packages="org.apache.lucene.ant*"/> + <group title="Highlighter" packages="org.apache.lucene.search.highlight*"/> + <group title="Lucli" packages="lucli*"/> + <group title="Memory" packages="org.apache.lucene.index.memory*"/> + <group title="Miscellaneous " packages="org.apache.lucene.misc*:org.apache.lucene.queryParser.analyzing*:org.apache.lucene.queryParser.precedence*"/> <group title="MoreLikeThis" packages="org.apache.lucene.search.similar*"/> - <group title="SpellChecker" packages="org.apache.lucene.search.spell*"/> - <group title="WordNet" packages="org.apache.lucene.wordnet*"/> + <group title="RegEx" packages="org.apache.lucene.search.regex*:org.apache.regexp*"/> + <group title="Snowball Stemmers" packages="org.apache.lucene.analysis.snowball*:net.sf.snowball*"/> + <group title="SpellChecker" packages="org.apache.lucene.search.spell*"/> + <group title="Surround Parser" packages="org.apache.lucene.queryParser.surround*"/> <group title="Swing" packages="org.apache.lucene.swing*"/> - <group title="Memory" packages="org.apache.lucene.index.memory*"/> + <group title="WordNet" packages="org.apache.lucene.wordnet*"/> + + </javadoc> </sequential> </macrodef> Modified: lucene/java/trunk/docs/fileformats.html URL: http://svn.apache.org/viewcvs/lucene/java/trunk/docs/fileformats.html?rev=381415&r1=381414&r2=381415&view=diff ============================================================================== --- lucene/java/trunk/docs/fileformats.html (original) +++ lucene/java/trunk/docs/fileformats.html Mon Feb 27 11:50:18 2006 @@ -113,7 +113,10 @@ <blockquote> <p> This document defines the index file formats used - in Lucene version 1.4 and above. + in Lucene version 1.9. If you are using a different + version of Lucene, pelase consult the copy of + <code>docs/fileformats.html</code> that was distributed + with the version you are using. </p> <p> Apache Lucene is written in Java, but several Modified: lucene/java/trunk/docs/queryparsersyntax.html URL: http://svn.apache.org/viewcvs/lucene/java/trunk/docs/queryparsersyntax.html?rev=381415&r1=381414&r2=381415&view=diff ============================================================================== --- lucene/java/trunk/docs/queryparsersyntax.html (original) +++ lucene/java/trunk/docs/queryparsersyntax.html Mon Feb 27 11:50:18 2006 @@ -117,10 +117,15 @@ <blockquote> <p>Although Lucene provides the ability to create your own queries through its API, it also provides a rich query - language through the Query Parser.</p> - <p>This page - provides syntax of Lucene's Query Parser, a lexer which - interprets a string into a Lucene Query using JavaCC.</p> + language through the Query Parser, a lexer which + interprets a string into a Lucene Query using JavaCC. + </p> + <p>This page provides the Query Parser syntax in Lucene 1.9. + If you are using a different + version of Lucene, pelase consult the copy of + <code>docs/queryparsersyntax.html</code> that was distributed + with the version you are using. + </p> <p> Before choosing to use the provided Query Parser, please consider the following: <ol> Modified: lucene/java/trunk/xdocs/fileformats.xml URL: http://svn.apache.org/viewcvs/lucene/java/trunk/xdocs/fileformats.xml?rev=381415&r1=381414&r2=381415&view=diff ============================================================================== --- lucene/java/trunk/xdocs/fileformats.xml (original) +++ lucene/java/trunk/xdocs/fileformats.xml Mon Feb 27 11:50:18 2006 @@ -14,7 +14,10 @@ <p> This document defines the index file formats used - in Lucene version 1.4 and above. + in Lucene version 1.9. If you are using a different + version of Lucene, pelase consult the copy of + <code>docs/fileformats.html</code> that was distributed + with the version you are using. </p> <p> Modified: lucene/java/trunk/xdocs/queryparsersyntax.xml URL: http://svn.apache.org/viewcvs/lucene/java/trunk/xdocs/queryparsersyntax.xml?rev=381415&r1=381414&r2=381415&view=diff ============================================================================== --- lucene/java/trunk/xdocs/queryparsersyntax.xml (original) +++ lucene/java/trunk/xdocs/queryparsersyntax.xml Mon Feb 27 11:50:18 2006 @@ -10,9 +10,16 @@ <section name="Overview"> <p>Although Lucene provides the ability to create your own queries through its API, it also provides a rich query - language through the Query Parser.</p> <p>This page - provides syntax of Lucene's Query Parser, a lexer which - interprets a string into a Lucene Query using JavaCC.</p> + language through the Query Parser, a lexer which + interprets a string into a Lucene Query using JavaCC. + </p> + + <p>This page provides the Query Parser syntax in Lucene 1.9. + If you are using a different + version of Lucene, pelase consult the copy of + <code>docs/queryparsersyntax.html</code> that was distributed + with the version you are using. + </p> <p> Before choosing to use the provided Query Parser, please consider the following: <ol> From [email protected] Mon Feb 27 19:54:37 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 27282 invoked from network); 27 Feb 2006 19:54:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2006 19:54:37 -0000 Received: (qmail 37531 invoked by uid 500); 27 Feb 2006 19:54:36 -0000 Delivered-To: [email protected] Received: (qmail 37503 invoked by uid 500); 27 Feb 2006 19:54:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <java-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 37486 invoked by uid 99); 27 Feb 2006 19:54:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Feb 2006 11:54:35 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 27 Feb 2006 11:54:34 -0800 Received: (qmail 26931 invoked by uid 65534); 27 Feb 2006 19:54:14 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r381420 - /lucene/java/trunk/build.xml Date: Mon, 27 Feb 2006 19:54:14 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Mon Feb 27 11:54:13 2006 New Revision: 381420 URL: http://svn.apache.org/viewcvs?rev=381420&view=rev Log: Make it clear in javadoc which modules are in contrib. Modified: lucene/java/trunk/build.xml Modified: lucene/java/trunk/build.xml URL: http://svn.apache.org/viewcvs/lucene/java/trunk/build.xml?rev=381420&r1=381419&r2=381420&view=diff ============================================================================== --- lucene/java/trunk/build.xml (original) +++ lucene/java/trunk/build.xml Mon Feb 27 11:54:13 2006 @@ -387,20 +387,20 @@ <group title="Demo" packages="org.apache.lucene.demo*"/> - <group title="Analysis" packages="org.apache.lucene.analysis.*"/> - <group title="Ant" packages="org.apache.lucene.ant*"/> + <group title="contrib: Analysis" packages="org.apache.lucene.analysis.*"/> + <group title="contrib: Ant" packages="org.apache.lucene.ant*"/> - <group title="Highlighter" packages="org.apache.lucene.search.highlight*"/> - <group title="Lucli" packages="lucli*"/> - <group title="Memory" packages="org.apache.lucene.index.memory*"/> - <group title="Miscellaneous " packages="org.apache.lucene.misc*:org.apache.lucene.queryParser.analyzing*:org.apache.lucene.queryParser.precedence*"/> - <group title="MoreLikeThis" packages="org.apache.lucene.search.similar*"/> - <group title="RegEx" packages="org.apache.lucene.search.regex*:org.apache.regexp*"/> - <group title="Snowball Stemmers" packages="org.apache.lucene.analysis.snowball*:net.sf.snowball*"/> - <group title="SpellChecker" packages="org.apache.lucene.search.spell*"/> - <group title="Surround Parser" packages="org.apache.lucene.queryParser.surround*"/> - <group title="Swing" packages="org.apache.lucene.swing*"/> - <group title="WordNet" packages="org.apache.lucene.wordnet*"/> + <group title="contrib: Highlighter" packages="org.apache.lucene.search.highlight*"/> + <group title="contrib: Lucli" packages="lucli*"/> + <group title="contrib: Memory" packages="org.apache.lucene.index.memory*"/> + <group title="contrib: Miscellaneous " packages="org.apache.lucene.misc*:org.apache.lucene.queryParser.analyzing*:org.apache.lucene.queryParser.precedence*"/> + <group title="contrib: MoreLikeThis" packages="org.apache.lucene.search.similar*"/> + <group title="contrib: RegEx" packages="org.apache.lucene.search.regex*:org.apache.regexp*"/> + <group title="contrib: Snowball" packages="org.apache.lucene.analysis.snowball*:net.sf.snowball*"/> + <group title="contrib: SpellChecker" packages="org.apache.lucene.search.spell*"/> + <group title="contrib: Surround Parser" packages="org.apache.lucene.queryParser.surround*"/> + <group title="contrib: Swing" packages="org.apache.lucene.swing*"/> + <group title="contrib: WordNet" packages="org.apache.lucene.wordnet*"/> </javadoc> From [email protected] Mon Feb 27 20:04:54 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 32603 invoked from network); 27 Feb 2006 20:04:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2006 20:04:53 -0000 Received: (qmail 58574 invoked by uid 500); 27 Feb 2006 20:04:50 -0000 Delivered-To: [email protected] Received: (qmail 58530 invoked by uid 500); 27 Feb 2006 20:04:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <java-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 58264 invoked by uid 99); 27 Feb 2006 20:04:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Feb 2006 12:04:48 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 27 Feb 2006 12:04:47 -0800 Received: (qmail 32311 invoked by uid 65534); 27 Feb 2006 20:04:26 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r381422 - in /lucene/java/trunk/src/demo/org/apache/lucene/demo: DeleteFiles.java IndexFiles.java IndexHTML.java SearchFiles.java Date: Mon, 27 Feb 2006 20:04:24 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Mon Feb 27 12:04:22 2006 New Revision: 381422 URL: http://svn.apache.org/viewcvs?rev=381422&view=rev Log: Add basic javadoc to demo classes. Modified: lucene/java/trunk/src/demo/org/apache/lucene/demo/DeleteFiles.java lucene/java/trunk/src/demo/org/apache/lucene/demo/IndexFiles.java lucene/java/trunk/src/demo/org/apache/lucene/demo/IndexHTML.java lucene/java/trunk/src/demo/org/apache/lucene/demo/SearchFiles.java Modified: lucene/java/trunk/src/demo/org/apache/lucene/demo/DeleteFiles.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/src/demo/org/apache/lucene/demo/DeleteFiles.java?rev=381422&r1=381421&r2=381422&view=diff ============================================================================== --- lucene/java/trunk/src/demo/org/apache/lucene/demo/DeleteFiles.java (original) +++ lucene/java/trunk/src/demo/org/apache/lucene/demo/DeleteFiles.java Mon Feb 27 12:04:22 2006 @@ -22,8 +22,13 @@ import org.apache.lucene.index.Term; //import org.apache.lucene.index.Term; -class DeleteFiles { + +/** Deletes documents from an index that do not contain a term. */ +public class DeleteFiles { + private DeleteFiles() {} // singleton + + /** Deletes documents from an index that do not contain a term. */ public static void main(String[] args) { String usage = "java org.apache.lucene.demo.DeleteFiles <unique_term>"; if (args.length == 0) { Modified: lucene/java/trunk/src/demo/org/apache/lucene/demo/IndexFiles.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/src/demo/org/apache/lucene/demo/IndexFiles.java?rev=381422&r1=381421&r2=381422&view=diff ============================================================================== --- lucene/java/trunk/src/demo/org/apache/lucene/demo/IndexFiles.java (original) +++ lucene/java/trunk/src/demo/org/apache/lucene/demo/IndexFiles.java Mon Feb 27 12:04:22 2006 @@ -24,10 +24,14 @@ import java.io.IOException; import java.util.Date; -class IndexFiles { +/** Index all text files under a directory. */ +public class IndexFiles { + private IndexFiles() {} + static final File INDEX_DIR = new File("index"); + /** Index all text files under a directory. */ public static void main(String[] args) { String usage = "java org.apache.lucene.demo.IndexFiles <root_directory>"; if (args.length == 0) { @@ -64,7 +68,7 @@ } } - public static void indexDocs(IndexWriter writer, File file) + static void indexDocs(IndexWriter writer, File file) throws IOException { // do not try to index files that cannot be read if (file.canRead()) { Modified: lucene/java/trunk/src/demo/org/apache/lucene/demo/IndexHTML.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/src/demo/org/apache/lucene/demo/IndexHTML.java?rev=381422&r1=381421&r2=381422&view=diff ============================================================================== --- lucene/java/trunk/src/demo/org/apache/lucene/demo/IndexHTML.java (original) +++ lucene/java/trunk/src/demo/org/apache/lucene/demo/IndexHTML.java Mon Feb 27 12:04:22 2006 @@ -26,13 +26,16 @@ import java.util.Date; import java.util.Arrays; -class IndexHTML { +/** Indexer for HTML files. */ +public class IndexHTML { + private IndexHTML() {} private static boolean deleting = false; // true during deletion pass private static IndexReader reader; // existing index private static IndexWriter writer; // new index being built private static TermEnum uidIter; // document id iterator + /** Indexer for HTML files.*/ public static void main(String[] argv) { try { String index = "index"; Modified: lucene/java/trunk/src/demo/org/apache/lucene/demo/SearchFiles.java URL: http://svn.apache.org/viewcvs/lucene/java/trunk/src/demo/org/apache/lucene/demo/SearchFiles.java?rev=381422&r1=381421&r2=381422&view=diff ============================================================================== --- lucene/java/trunk/src/demo/org/apache/lucene/demo/SearchFiles.java (original) +++ lucene/java/trunk/src/demo/org/apache/lucene/demo/SearchFiles.java Mon Feb 27 12:04:22 2006 @@ -33,7 +33,8 @@ import org.apache.lucene.search.Hits; import org.apache.lucene.queryParser.QueryParser; -class SearchFiles { +/** Simple command-line based search demo. */ +public class SearchFiles { /** Use the norms from one field for all fields. Norms are read into memory, * using a byte of memory per document per searched field. This can cause @@ -53,6 +54,9 @@ } } + private SearchFiles() {} + + /** Simple command-line based search demo. */ public static void main(String[] args) throws Exception { String usage = "Usage: java org.apache.lucene.demo.SearchFiles [-index dir] [-field f] [-repeat n] [-queries file] [-raw] [-norms field]"; From [email protected] Mon Feb 27 20:13:42 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 36625 invoked from network); 27 Feb 2006 20:13:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2006 20:13:41 -0000 Received: (qmail 75388 invoked by uid 500); 27 Feb 2006 20:13:37 -0000 Delivered-To: [email protected] Received: (qmail 75341 invoked by uid 500); 27 Feb 2006 20:13:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <java-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 75286 invoked by uid 99); 27 Feb 2006 20:13:36 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Feb 2006 12:13:36 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 27 Feb 2006 12:13:35 -0800 Received: (qmail 36465 invoked by uid 65534); 27 Feb 2006 20:13:15 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r381427 - in /lucene/java/trunk: docs/fileformats.html docs/queryparsersyntax.html xdocs/fileformats.xml xdocs/queryparsersyntax.xml Date: Mon, 27 Feb 2006 20:13:14 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: dnaber Date: Mon Feb 27 12:13:12 2006 New Revision: 381427 URL: http://svn.apache.org/viewcvs?rev=381427&view=rev Log: typo fix only Modified: lucene/java/trunk/docs/fileformats.html lucene/java/trunk/docs/queryparsersyntax.html lucene/java/trunk/xdocs/fileformats.xml lucene/java/trunk/xdocs/queryparsersyntax.xml Modified: lucene/java/trunk/docs/fileformats.html URL: http://svn.apache.org/viewcvs/lucene/java/trunk/docs/fileformats.html?rev=381427&r1=381426&r2=381427&view=diff ============================================================================== --- lucene/java/trunk/docs/fileformats.html (original) +++ lucene/java/trunk/docs/fileformats.html Mon Feb 27 12:13:12 2006 @@ -114,7 +114,7 @@ <p> This document defines the index file formats used in Lucene version 1.9. If you are using a different - version of Lucene, pelase consult the copy of + version of Lucene, please consult the copy of <code>docs/fileformats.html</code> that was distributed with the version you are using. </p> Modified: lucene/java/trunk/docs/queryparsersyntax.html URL: http://svn.apache.org/viewcvs/lucene/java/trunk/docs/queryparsersyntax.html?rev=381427&r1=381426&r2=381427&view=diff ============================================================================== --- lucene/java/trunk/docs/queryparsersyntax.html (original) +++ lucene/java/trunk/docs/queryparsersyntax.html Mon Feb 27 12:13:12 2006 @@ -122,7 +122,7 @@ </p> <p>This page provides the Query Parser syntax in Lucene 1.9. If you are using a different - version of Lucene, pelase consult the copy of + version of Lucene, please consult the copy of <code>docs/queryparsersyntax.html</code> that was distributed with the version you are using. </p> Modified: lucene/java/trunk/xdocs/fileformats.xml URL: http://svn.apache.org/viewcvs/lucene/java/trunk/xdocs/fileformats.xml?rev=381427&r1=381426&r2=381427&view=diff ============================================================================== --- lucene/java/trunk/xdocs/fileformats.xml (original) +++ lucene/java/trunk/xdocs/fileformats.xml Mon Feb 27 12:13:12 2006 @@ -15,7 +15,7 @@ <p> This document defines the index file formats used in Lucene version 1.9. If you are using a different - version of Lucene, pelase consult the copy of + version of Lucene, please consult the copy of <code>docs/fileformats.html</code> that was distributed with the version you are using. </p> Modified: lucene/java/trunk/xdocs/queryparsersyntax.xml URL: http://svn.apache.org/viewcvs/lucene/java/trunk/xdocs/queryparsersyntax.xml?rev=381427&r1=381426&r2=381427&view=diff ============================================================================== --- lucene/java/trunk/xdocs/queryparsersyntax.xml (original) +++ lucene/java/trunk/xdocs/queryparsersyntax.xml Mon Feb 27 12:13:12 2006 @@ -16,7 +16,7 @@ <p>This page provides the Query Parser syntax in Lucene 1.9. If you are using a different - version of Lucene, pelase consult the copy of + version of Lucene, please consult the copy of <code>docs/queryparsersyntax.html</code> that was distributed with the version you are using. </p> From [email protected] Mon Feb 27 20:17:52 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 38770 invoked from network); 27 Feb 2006 20:17:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2006 20:17:52 -0000 Received: (qmail 82281 invoked by uid 500); 27 Feb 2006 20:17:51 -0000 Delivered-To: [email protected] Received: (qmail 82257 invoked by uid 500); 27 Feb 2006 20:17:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <java-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 82246 invoked by uid 99); 27 Feb 2006 20:17:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Feb 2006 12:17:51 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 27 Feb 2006 12:17:48 -0800 Received: (qmail 38571 invoked by uid 65534); 27 Feb 2006 20:17:28 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r381429 - in /lucene/java/branches/lucene_1_9: ./ contrib/highlighter/src/java/org/apache/lucene/search/highlight/ contrib/highlighter/src/test/org/apache/lucene/search/highlight/ contrib/lucli/ contrib/queries/ contrib/queries/src/ contrib... Date: Mon, 27 Feb 2006 20:17:10 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Mon Feb 27 12:17:01 2006 New Revision: 381429 URL: http://svn.apache.org/viewcvs?rev=381429&view=rev Log: Merge -r 379518:381427 from trunk to 1.9 branch prior to release. Added: lucene/java/branches/lucene_1_9/contrib/queries/ - copied from r381422, lucene/java/trunk/contrib/queries/ lucene/java/branches/lucene_1_9/contrib/queries/build.xml - copied unchanged from r381422, lucene/java/trunk/contrib/queries/build.xml lucene/java/branches/lucene_1_9/contrib/queries/readme.txt - copied unchanged from r381422, lucene/java/trunk/contrib/queries/readme.txt lucene/java/branches/lucene_1_9/contrib/queries/src/ - copied from r381422, lucene/java/trunk/contrib/queries/src/ lucene/java/branches/lucene_1_9/contrib/queries/src/java/ - copied from r381422, lucene/java/trunk/contrib/queries/src/java/ lucene/java/branches/lucene_1_9/contrib/queries/src/java/org/ - copied from r381422, lucene/java/trunk/contrib/queries/src/java/org/ lucene/java/branches/lucene_1_9/contrib/queries/src/java/org/apache/ - copied from r381422, lucene/java/trunk/contrib/queries/src/java/org/apache/ lucene/java/branches/lucene_1_9/contrib/queries/src/java/org/apache/lucene/ - copied from r381422, lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/ lucene/java/branches/lucene_1_9/contrib/queries/src/java/org/apache/lucene/search/ - copied from r381422, lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/ lucene/java/branches/lucene_1_9/contrib/queries/src/java/org/apache/lucene/search/BoostingQuery.java - copied unchanged from r381422, lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/BoostingQuery.java lucene/java/branches/lucene_1_9/contrib/queries/src/java/org/apache/lucene/search/FuzzyLikeThisQuery.java - copied unchanged from r381422, lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/FuzzyLikeThisQuery.java lucene/java/branches/lucene_1_9/contrib/queries/src/java/org/apache/lucene/search/TermsFilter.java - copied unchanged from r381422, lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/TermsFilter.java lucene/java/branches/lucene_1_9/contrib/queries/src/java/org/apache/lucene/search/similar/ - copied from r381422, lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/similar/ lucene/java/branches/lucene_1_9/contrib/queries/src/java/org/apache/lucene/search/similar/MoreLikeThis.java - copied unchanged from r381422, lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/similar/MoreLikeThis.java lucene/java/branches/lucene_1_9/contrib/queries/src/java/org/apache/lucene/search/similar/MoreLikeThisQuery.java - copied unchanged from r381422, lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/similar/MoreLikeThisQuery.java lucene/java/branches/lucene_1_9/contrib/queries/src/java/org/apache/lucene/search/similar/SimilarityQueries.java - copied unchanged from r381422, lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/similar/SimilarityQueries.java lucene/java/branches/lucene_1_9/contrib/queries/src/java/org/apache/lucene/search/similar/package.html - copied unchanged from r381422, lucene/java/trunk/contrib/queries/src/java/org/apache/lucene/search/similar/package.html lucene/java/branches/lucene_1_9/contrib/regex/lib/regexp.LICENSE - copied unchanged from r381422, lucene/java/trunk/contrib/regex/lib/regexp.LICENSE lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/lucene/search/regex/package.html - copied unchanged from r381422, lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/package.html lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/regexp/package.html - copied unchanged from r381422, lucene/java/trunk/contrib/regex/src/java/org/apache/regexp/package.html lucene/java/branches/lucene_1_9/contrib/surround/src/java/org/apache/lucene/queryParser/surround/parser/package.html - copied unchanged from r381422, lucene/java/trunk/contrib/surround/src/java/org/apache/lucene/queryParser/surround/parser/package.html lucene/java/branches/lucene_1_9/contrib/surround/src/java/org/apache/lucene/queryParser/surround/query/package.html - copied unchanged from r381422, lucene/java/trunk/contrib/surround/src/java/org/apache/lucene/queryParser/surround/query/package.html lucene/java/branches/lucene_1_9/contrib/xml-query-parser/ - copied from r381422, lucene/java/trunk/contrib/xml-query-parser/ lucene/java/branches/lucene_1_9/contrib/xml-query-parser/build.xml - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/build.xml lucene/java/branches/lucene_1_9/contrib/xml-query-parser/readme.htm - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/readme.htm lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/ - copied from r381422, lucene/java/trunk/contrib/xml-query-parser/src/ lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/java/ - copied from r381422, lucene/java/trunk/contrib/xml-query-parser/src/java/ lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/java/org/ - copied from r381422, lucene/java/trunk/contrib/xml-query-parser/src/java/org/ lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/java/org/apache/ - copied from r381422, lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/ lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/java/org/apache/lucene/ - copied from r381422, lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/ lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/ - copied from r381422, lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/ lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/CoreParser.java - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/CoreParser.java lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/CorePlusExtensionsParser.java - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/CorePlusExtensionsParser.java lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/DOMUtils.java - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/DOMUtils.java lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/FilterBuilder.java - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/FilterBuilder.java lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/FilterBuilderFactory.java - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/FilterBuilderFactory.java lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/FilteredQueryBuilder.java - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/FilteredQueryBuilder.java lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/ParserException.java - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/ParserException.java lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/QueryBuilder.java - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/QueryBuilder.java lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/QueryBuilderFactory.java - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/QueryBuilderFactory.java lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/ - copied from r381422, lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/ lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/BooleanQueryBuilder.java - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/BooleanQueryBuilder.java lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/BoostingQueryBuilder.java - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/BoostingQueryBuilder.java lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/ConstantScoreQueryBuilder.java - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/ConstantScoreQueryBuilder.java lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/FuzzyLikeThisQueryBuilder.java - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/FuzzyLikeThisQueryBuilder.java lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/LikeThisQueryBuilder.java - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/LikeThisQueryBuilder.java lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/RangeFilterBuilder.java - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/RangeFilterBuilder.java lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanBuilderBase.java - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanBuilderBase.java lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanFirstBuilder.java - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanFirstBuilder.java lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanNearBuilder.java - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanNearBuilder.java lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanNotBuilder.java - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanNotBuilder.java lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanOrBuilder.java - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanOrBuilder.java lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanOrTermsBuilder.java - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanOrTermsBuilder.java lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanQueryBuilder.java - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanQueryBuilder.java lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanQueryBuilderFactory.java - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanQueryBuilderFactory.java lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanTermBuilder.java - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanTermBuilder.java lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/TermQueryBuilder.java - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/TermQueryBuilder.java lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/TermsFilterBuilder.java - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/TermsFilterBuilder.java lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/UserInputQueryBuilder.java - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/UserInputQueryBuilder.java lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/test/ - copied from r381422, lucene/java/trunk/contrib/xml-query-parser/src/test/ lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/test/org/ - copied from r381422, lucene/java/trunk/contrib/xml-query-parser/src/test/org/ lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/test/org/apache/ - copied from r381422, lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/ lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/test/org/apache/lucene/ - copied from r381422, lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/ lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/ - copied from r381422, lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/ lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/BooleanQuery.xml - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/BooleanQuery.xml lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/BoostingQuery.xml - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/BoostingQuery.xml lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/ConstantScoreQuery.xml - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/ConstantScoreQuery.xml lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/FuzzyLikeThisQuery.xml - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/FuzzyLikeThisQuery.xml lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/LikeThisQuery.xml - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/LikeThisQuery.xml lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/RangeFilterQuery.xml - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/RangeFilterQuery.xml lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/SpanQuery.xml - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/SpanQuery.xml lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/TermQuery.xml - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/TermQuery.xml lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/TermsFilterQuery.xml - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/TermsFilterQuery.xml lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/TestParser.java - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/TestParser.java lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/UserInputQuery.xml - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/UserInputQuery.xml lucene/java/branches/lucene_1_9/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/reuters21578.txt - copied unchanged from r381422, lucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/reuters21578.txt Modified: lucene/java/branches/lucene_1_9/BUILD.txt lucene/java/branches/lucene_1_9/CHANGES.txt lucene/java/branches/lucene_1_9/README.txt lucene/java/branches/lucene_1_9/build.xml lucene/java/branches/lucene_1_9/contrib/highlighter/src/java/org/apache/lucene/search/highlight/QueryTermExtractor.java lucene/java/branches/lucene_1_9/contrib/highlighter/src/test/org/apache/lucene/search/highlight/HighlighterTest.java lucene/java/branches/lucene_1_9/contrib/lucli/build.xml lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/lucene/search/regex/JakartaRegexpCapabilities.java lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/lucene/search/regex/JavaUtilRegexCapabilities.java lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/lucene/search/regex/RegexCapabilities.java lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/lucene/search/regex/RegexQuery.java lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/lucene/search/regex/RegexQueryCapable.java lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/lucene/search/regex/RegexTermEnum.java lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/lucene/search/regex/SpanRegexQuery.java lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/regexp/RegexpTunnel.java lucene/java/branches/lucene_1_9/contrib/regex/src/test/org/apache/lucene/search/regex/TestSpanRegexQuery.java lucene/java/branches/lucene_1_9/docs/fileformats.html lucene/java/branches/lucene_1_9/docs/index.html lucene/java/branches/lucene_1_9/docs/queryparsersyntax.html lucene/java/branches/lucene_1_9/src/demo/org/apache/lucene/demo/DeleteFiles.java lucene/java/branches/lucene_1_9/src/demo/org/apache/lucene/demo/IndexFiles.java lucene/java/branches/lucene_1_9/src/demo/org/apache/lucene/demo/IndexHTML.java lucene/java/branches/lucene_1_9/src/demo/org/apache/lucene/demo/SearchFiles.java lucene/java/branches/lucene_1_9/src/java/org/apache/lucene/document/DateField.java lucene/java/branches/lucene_1_9/src/java/org/apache/lucene/index/IndexWriter.java lucene/java/branches/lucene_1_9/src/java/org/apache/lucene/store/BufferedIndexOutput.java lucene/java/branches/lucene_1_9/src/java/org/apache/lucene/store/RAMOutputStream.java lucene/java/branches/lucene_1_9/src/jsp/README.txt lucene/java/branches/lucene_1_9/src/jsp/configuration.jsp lucene/java/branches/lucene_1_9/src/test/org/apache/lucene/StoreTest.java lucene/java/branches/lucene_1_9/xdocs/fileformats.xml lucene/java/branches/lucene_1_9/xdocs/index.xml lucene/java/branches/lucene_1_9/xdocs/queryparsersyntax.xml Modified: lucene/java/branches/lucene_1_9/BUILD.txt URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/BUILD.txt?rev=381429&r1=381428&r2=381429&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/BUILD.txt (original) +++ lucene/java/branches/lucene_1_9/BUILD.txt Mon Feb 27 12:17:01 2006 @@ -38,7 +38,7 @@ route, or you might have an incomplete copy of the Lucene, so: Lucene releases are available for download at: - http://www.apache.org/dyn/closer.cgi/jakarta/lucene/ + http://www.apache.org/dyn/closer.cgi/lucene/java/ Download either a zip or a tarred/gzipped version of the archive, and uncompress it into a directory of your choice. Modified: lucene/java/branches/lucene_1_9/CHANGES.txt URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/CHANGES.txt?rev=381429&r1=381428&r2=381429&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/CHANGES.txt (original) +++ lucene/java/branches/lucene_1_9/CHANGES.txt Mon Feb 27 12:17:01 2006 @@ -2,6 +2,22 @@ $Id$ +1.9 RC2 + +Bug fixes + + 1. The fix that made IndexWriter.setMaxBufferedDocs(1) work had negative + effects on indexing performance and has thus been reverted. The + argument for setMaxBufferedDocs(int) must now at least be 2, otherwise + an exception is thrown. + +Optimizations + + 1. Optimized BufferedIndexOutput.writeBytes() to use + System.arraycopy() in more cases, rather than copying byte-by-byte. + (Lukas Zapletal via Cutting) + + 1.9 RC1 Note that this realease is mostly but not 100% source compatible with the Modified: lucene/java/branches/lucene_1_9/README.txt URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/README.txt?rev=381429&r1=381428&r2=381429&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/README.txt (original) +++ lucene/java/branches/lucene_1_9/README.txt Mon Feb 27 12:17:01 2006 @@ -16,14 +16,25 @@ FILES -lucene-XX.jar +lucene-core-XX.jar The compiled lucene library. +lucene-demos-XX.jar + The compiled simple example code. + +luceneweb.war + The compiled simple example Web Application. + +contrib/* + Contributed code which extends and enhances Lucene, but is not + part of the core library. + docs/index.html The contents of the Lucene website. docs/api/index.html - The Javadoc Lucene API documentation. + The Javadoc Lucene API documentation. This includes the core + library, the demo, as well as all of the contrib modules. src/java The Lucene source code. Modified: lucene/java/branches/lucene_1_9/build.xml URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/build.xml?rev=381429&r1=381428&r2=381429&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/build.xml (original) +++ lucene/java/branches/lucene_1_9/build.xml Mon Feb 27 12:17:01 2006 @@ -364,25 +364,45 @@ <tag name="todo" description="To Do:"/> <!-- TODO: find a dynamic way to do include multiple source roots --> + <packageset dir="src/java"/> + + <packageset dir="src/demo"/> + <packageset dir="contrib/analyzers/src/java"/> - <packageset dir="contrib/wordnet/src/java"/> + <packageset dir="contrib/ant/src/java"/> <packageset dir="contrib/highlighter/src/java"/> + <packageset dir="contrib/lucli/src/java"/> + <packageset dir="contrib/memory/src/java"/> + <packageset dir="contrib/miscellaneous/src/java"/> <packageset dir="contrib/similarity/src/java"/> - <packageset dir="contrib/spellchecker/src/java"/> + <packageset dir="contrib/regex/src/java"/> <packageset dir="contrib/snowball/src/java"/> + <packageset dir="contrib/spellchecker/src/java"/> + <packageset dir="contrib/surround/src/java"/> <packageset dir="contrib/swing/src/java"/> - <packageset dir="contrib/memory/src/java"/> + <packageset dir="contrib/wordnet/src/java"/> <group title="Core" packages="org.apache.*:org.apache.lucene.analysis:org.apache.lucene.analysis.standard*"/> - <group title="Analysis" packages="org.apache.lucene.analysis.*"/> - <group title="Snowball Stemmers" packages="org.apache.lucene.analysis.snowball*:net.sf.snowball*"/> - <group title="Highlighter" packages="org.apache.lucene.search.highlight*"/> - <group title="MoreLikeThis" packages="org.apache.lucene.search.similar*"/> - <group title="SpellChecker" packages="org.apache.lucene.search.spell*"/> - <group title="WordNet" packages="org.apache.lucene.wordnet*"/> - <group title="Swing" packages="org.apache.lucene.swing*"/> - <group title="Memory" packages="org.apache.lucene.index.memory*"/> + + <group title="Demo" packages="org.apache.lucene.demo*"/> + + <group title="contrib: Analysis" packages="org.apache.lucene.analysis.*"/> + <group title="contrib: Ant" packages="org.apache.lucene.ant*"/> + + <group title="contrib: Highlighter" packages="org.apache.lucene.search.highlight*"/> + <group title="contrib: Lucli" packages="lucli*"/> + <group title="contrib: Memory" packages="org.apache.lucene.index.memory*"/> + <group title="contrib: Miscellaneous " packages="org.apache.lucene.misc*:org.apache.lucene.queryParser.analyzing*:org.apache.lucene.queryParser.precedence*"/> + <group title="contrib: MoreLikeThis" packages="org.apache.lucene.search.similar*"/> + <group title="contrib: RegEx" packages="org.apache.lucene.search.regex*:org.apache.regexp*"/> + <group title="contrib: Snowball" packages="org.apache.lucene.analysis.snowball*:net.sf.snowball*"/> + <group title="contrib: SpellChecker" packages="org.apache.lucene.search.spell*"/> + <group title="contrib: Surround Parser" packages="org.apache.lucene.queryParser.surround*"/> + <group title="contrib: Swing" packages="org.apache.lucene.swing*"/> + <group title="contrib: WordNet" packages="org.apache.lucene.wordnet*"/> + + </javadoc> </sequential> </macrodef> Modified: lucene/java/branches/lucene_1_9/contrib/highlighter/src/java/org/apache/lucene/search/highlight/QueryTermExtractor.java URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/contrib/highlighter/src/java/org/apache/lucene/search/highlight/QueryTermExtractor.java?rev=381429&r1=381428&r2=381429&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/contrib/highlighter/src/java/org/apache/lucene/search/highlight/QueryTermExtractor.java (original) +++ lucene/java/branches/lucene_1_9/contrib/highlighter/src/java/org/apache/lucene/search/highlight/QueryTermExtractor.java Mon Feb 27 12:17:01 2006 @@ -134,8 +134,12 @@ for (i = 0; i < queryClauses.length; i++) { - if (prohibited || !queryClauses[i].prohibited) - getTerms(queryClauses[i].query, terms, prohibited, fieldName); + //Pre Lucene 2.0 code +// if (prohibited || !queryClauses[i].prohibited) +// getTerms(queryClauses[i].query, terms, prohibited, fieldName); + // Lucene 2.0 ready code + if (prohibited || queryClauses[i].getOccur()!=BooleanClause.Occur.MUST_NOT) + getTerms(queryClauses[i].getQuery(), terms, prohibited, fieldName); } } Modified: lucene/java/branches/lucene_1_9/contrib/highlighter/src/test/org/apache/lucene/search/highlight/HighlighterTest.java URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/contrib/highlighter/src/test/org/apache/lucene/search/highlight/HighlighterTest.java?rev=381429&r1=381428&r2=381429&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/contrib/highlighter/src/test/org/apache/lucene/search/highlight/HighlighterTest.java (original) +++ lucene/java/branches/lucene_1_9/contrib/highlighter/src/test/org/apache/lucene/search/highlight/HighlighterTest.java Mon Feb 27 12:17:01 2006 @@ -222,7 +222,8 @@ String srchkey = "football"; String s = "football-soccer in the euro 2004 footie competition"; - Query query = QueryParser.parse(srchkey, "bookid", analyzer); + QueryParser parser=new QueryParser("bookid",analyzer); + Query query = parser.parse(srchkey); Highlighter highlighter = new Highlighter(new QueryScorer(query)); TokenStream tokenStream = @@ -289,7 +290,7 @@ new Highlighter(this,new QueryScorer(query)); highlighter.setMaxDocBytesToAnalyze(30); TokenStream tokenStream=analyzer.tokenStream(FIELD_NAME,new StringReader(texts[0])); - String result = highlighter.getBestFragment(tokenStream,texts[0]); + highlighter.getBestFragment(tokenStream,texts[0]); assertTrue("Setting MaxDocBytesToAnalyze should have prevented " + "us from finding matches for this record: " + numHighlights + " found", numHighlights == 0); @@ -302,7 +303,9 @@ //test to show how rewritten query can still be used searcher = new IndexSearcher(ramDir); Analyzer analyzer=new StandardAnalyzer(); - Query query = QueryParser.parse("JF? or Kenned*", FIELD_NAME, analyzer); + + QueryParser parser=new QueryParser(FIELD_NAME,analyzer); + Query query = parser.parse("JF? or Kenned*"); System.out.println("Searching with primitive query"); //forget to set this and... //query=query.rewrite(reader); @@ -406,7 +409,7 @@ RAMDirectory ramDir1 = new RAMDirectory(); IndexWriter writer1 = new IndexWriter(ramDir1, new StandardAnalyzer(), true); Document d = new Document(); - Field f = new Field(FIELD_NAME, "multiOne", true, true, true); + Field f = new Field(FIELD_NAME, "multiOne", Field.Store.YES, Field.Index.TOKENIZED); d.add(f); writer1.addDocument(d); writer1.optimize(); @@ -417,7 +420,7 @@ RAMDirectory ramDir2 = new RAMDirectory(); IndexWriter writer2 = new IndexWriter(ramDir2, new StandardAnalyzer(), true); d = new Document(); - f = new Field(FIELD_NAME, "multiTwo", true, true, true); + f = new Field(FIELD_NAME, "multiTwo", Field.Store.YES, Field.Index.TOKENIZED); d.add(f); writer2.addDocument(d); writer2.optimize(); @@ -430,7 +433,8 @@ searchers[0] = new IndexSearcher(ramDir1); searchers[1] = new IndexSearcher(ramDir2); MultiSearcher multiSearcher=new MultiSearcher(searchers); - query = QueryParser.parse("multi*", FIELD_NAME, new StandardAnalyzer()); + QueryParser parser=new QueryParser(FIELD_NAME, new StandardAnalyzer()); + query = parser.parse("multi*"); System.out.println("Searching for: " + query.toString(FIELD_NAME)); //at this point the multisearcher calls combine(query[]) hits = multiSearcher.search(query); @@ -536,7 +540,8 @@ public void doSearching(String queryString) throws Exception { searcher = new IndexSearcher(ramDir); - query = QueryParser.parse(queryString, FIELD_NAME, new StandardAnalyzer()); + QueryParser parser=new QueryParser(FIELD_NAME, new StandardAnalyzer()); + query = parser.parse(queryString); //for any multi-term queries to work (prefix, wildcard, range,fuzzy etc) you must use a rewritten query! query=query.rewrite(reader); System.out.println("Searching for: " + query.toString(FIELD_NAME)); @@ -585,7 +590,7 @@ private void addDoc(IndexWriter writer, String text) throws IOException { Document d = new Document(); - Field f = new Field(FIELD_NAME, text, true, true, true); + Field f = new Field(FIELD_NAME, text,Field.Store.YES, Field.Index.TOKENIZED); d.add(f); writer.addDocument(d); Modified: lucene/java/branches/lucene_1_9/contrib/lucli/build.xml URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/contrib/lucli/build.xml?rev=381429&r1=381428&r2=381429&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/contrib/lucli/build.xml (original) +++ lucene/java/branches/lucene_1_9/contrib/lucli/build.xml Mon Feb 27 12:17:01 2006 @@ -18,12 +18,13 @@ <property name="src.dir" location="src"/> - <target name="dist" depends="compile" description="Create JAR"> - <jar jarfile="${dist.dir}/${dist.name}.jar" - basedir="${build.dir}/classes" + + <import file="../contrib-build.xml"/> + + <target name="jar" depends="compile" description="Create JAR"> + <jar jarfile="${build.dir}/${final.name}.jar" + basedir="${build.dir}/classes/java" manifest="META-INF/MANIFEST.MF" /> </target> - - <import file="../contrib-build.xml"/> </project> Modified: lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/lucene/search/regex/JakartaRegexpCapabilities.java URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/lucene/search/regex/JakartaRegexpCapabilities.java?rev=381429&r1=381428&r2=381429&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/lucene/search/regex/JakartaRegexpCapabilities.java (original) +++ lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/lucene/search/regex/JakartaRegexpCapabilities.java Mon Feb 27 12:17:01 2006 @@ -1,8 +1,29 @@ package org.apache.lucene.search.regex; +/** + * Copyright 2006 The Apache Software Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import org.apache.regexp.RE; import org.apache.regexp.RegexpTunnel; +/** + * Implementation tying <a href="http://jakarta.apache.org/regexp">Jakarta Regexp</a> + * to RegexQuery. Thanks to some internals of Jakarta Regexp, this + * has a solid {@link #prefix} implementation. + */ public class JakartaRegexpCapabilities implements RegexCapabilities { private RE regexp; Modified: lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/lucene/search/regex/JavaUtilRegexCapabilities.java URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/lucene/search/regex/JavaUtilRegexCapabilities.java?rev=381429&r1=381428&r2=381429&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/lucene/search/regex/JavaUtilRegexCapabilities.java (original) +++ lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/lucene/search/regex/JavaUtilRegexCapabilities.java Mon Feb 27 12:17:01 2006 @@ -1,7 +1,30 @@ package org.apache.lucene.search.regex; +/** + * Copyright 2006 The Apache Software Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import java.util.regex.Pattern; +/** + * An implementation tying Java's built-in java.util.regex to RegexQuery. + * + * Note that because this implementation currently only returns null from + * {@link #prefix} that queries using this implementation will enumerate and + * attempt to {@link #match} each term for the specified field in the index. + */ public class JavaUtilRegexCapabilities implements RegexCapabilities { private Pattern pattern; Modified: lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/lucene/search/regex/RegexCapabilities.java URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/lucene/search/regex/RegexCapabilities.java?rev=381429&r1=381428&r2=381429&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/lucene/search/regex/RegexCapabilities.java (original) +++ lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/lucene/search/regex/RegexCapabilities.java Mon Feb 27 12:17:01 2006 @@ -1,7 +1,47 @@ package org.apache.lucene.search.regex; -public interface RegexCapabilities { +/** + * Copyright 2006 The Apache Software Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * Defines basic operations needed by {@link RegexQuery} for a regular + * expression implementation. + */ +interface RegexCapabilities { + /** + * Called by the constructor of {@link RegexTermEnum} allowing + * implementations to cache a compiled version of the regular + * expression pattern. + * + * @param pattern regular expression pattern + */ void compile(String pattern); + + /** + * + * @param string + * @return true if string matches the pattern last passed to {@link #compile}. + */ boolean match(String string); + + /** + * A wise prefix implementation can reduce the term enumeration (and thus performance) + * of RegexQuery dramatically! + * + * @return static non-regex prefix of the pattern last passed to {@link #compile}. May return null. + */ String prefix(); } Modified: lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/lucene/search/regex/RegexQuery.java URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/lucene/search/regex/RegexQuery.java?rev=381429&r1=381428&r2=381429&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/lucene/search/regex/RegexQuery.java (original) +++ lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/lucene/search/regex/RegexQuery.java Mon Feb 27 12:17:01 2006 @@ -1,5 +1,21 @@ package org.apache.lucene.search.regex; +/** + * Copyright 2006 The Apache Software Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import org.apache.lucene.search.MultiTermQuery; import org.apache.lucene.search.FilteredTermEnum; import org.apache.lucene.index.Term; @@ -7,17 +23,32 @@ import java.io.IOException; +/** Implements the regular expression term search query. + * The expressions supported depend on the regular expression implementation + * used by way of the {@link RegexCapabilities} interface. + * + * @see RegexTermEnum + */ public class RegexQuery extends MultiTermQuery implements RegexQueryCapable { private RegexCapabilities regexImpl = new JavaUtilRegexCapabilities(); + /** Constructs a query for terms matching <code>term</code>. */ public RegexQuery(Term term) { super(term); } + /** + * Defines which {@link RegexCapabilities} implementation is used by this instance. + * + * @param impl + */ public void setRegexImplementation(RegexCapabilities impl) { this.regexImpl = impl; } + /** + * @return The implementation used by this instance. + */ public RegexCapabilities getRegexImplementation() { return regexImpl; } Modified: lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/lucene/search/regex/RegexQueryCapable.java URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/lucene/search/regex/RegexQueryCapable.java?rev=381429&r1=381428&r2=381429&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/lucene/search/regex/RegexQueryCapable.java (original) +++ lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/lucene/search/regex/RegexQueryCapable.java Mon Feb 27 12:17:01 2006 @@ -1,6 +1,26 @@ package org.apache.lucene.search.regex; -public interface RegexQueryCapable { +/** + * Copyright 2006 The Apache Software Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +/** + * Defines methods for regular expression supporting Querys to use. + */ +interface RegexQueryCapable { void setRegexImplementation(RegexCapabilities impl); RegexCapabilities getRegexImplementation(); } Modified: lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/lucene/search/regex/RegexTermEnum.java URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/lucene/search/regex/RegexTermEnum.java?rev=381429&r1=381428&r2=381429&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/lucene/search/regex/RegexTermEnum.java (original) +++ lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/lucene/search/regex/RegexTermEnum.java Mon Feb 27 12:17:01 2006 @@ -1,10 +1,35 @@ package org.apache.lucene.search.regex; +/** + * Copyright 2006 The Apache Software Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import org.apache.lucene.search.FilteredTermEnum; import org.apache.lucene.index.IndexReader; import org.apache.lucene.index.Term; import java.io.IOException; + +/** + * Subclass of FilteredTermEnum for enumerating all terms that match the + * specified regular expression term using the specified regular expression + * implementation. + * <p> + * Term enumerations are always ordered by Term.compareTo(). Each term in + * the enumeration is greater than all that precede it. + */ public class RegexTermEnum extends FilteredTermEnum { private String field = ""; Modified: lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/lucene/search/regex/SpanRegexQuery.java URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/lucene/search/regex/SpanRegexQuery.java?rev=381429&r1=381428&r2=381429&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/lucene/search/regex/SpanRegexQuery.java (original) +++ lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/lucene/search/regex/SpanRegexQuery.java Mon Feb 27 12:17:01 2006 @@ -1,5 +1,21 @@ package org.apache.lucene.search.regex; +/** + * Copyright 2006 The Apache Software Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import org.apache.lucene.index.Term; import org.apache.lucene.index.IndexReader; import org.apache.lucene.search.Query; @@ -16,6 +32,10 @@ import java.util.Collection; import java.util.ArrayList; +/** + * A SpanQuery version of {@link RegexQuery} allowing regular expression + * queries to be nested within other SpanQuery subclasses. + */ public class SpanRegexQuery extends SpanQuery implements RegexQueryCapable { private RegexCapabilities regexImpl = new JavaUtilRegexCapabilities(); private Term term; Modified: lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/regexp/RegexpTunnel.java URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/regexp/RegexpTunnel.java?rev=381429&r1=381428&r2=381429&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/regexp/RegexpTunnel.java (original) +++ lucene/java/branches/lucene_1_9/contrib/regex/src/java/org/apache/regexp/RegexpTunnel.java Mon Feb 27 12:17:01 2006 @@ -1,6 +1,23 @@ package org.apache.regexp; /** + * Copyright 2006 The Apache Software Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +/** * This class exists as a gateway to access useful Jakarta Regexp package protected data. */ public class RegexpTunnel { Modified: lucene/java/branches/lucene_1_9/contrib/regex/src/test/org/apache/lucene/search/regex/TestSpanRegexQuery.java URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/contrib/regex/src/test/org/apache/lucene/search/regex/TestSpanRegexQuery.java?rev=381429&r1=381428&r2=381429&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/contrib/regex/src/test/org/apache/lucene/search/regex/TestSpanRegexQuery.java (original) +++ lucene/java/branches/lucene_1_9/contrib/regex/src/test/org/apache/lucene/search/regex/TestSpanRegexQuery.java Mon Feb 27 12:17:01 2006 @@ -12,22 +12,29 @@ import org.apache.lucene.search.spans.SpanTermQuery; import org.apache.lucene.search.spans.SpanNearQuery; import org.apache.lucene.search.spans.SpanQuery; +import org.apache.lucene.search.spans.SpanFirstQuery; public class TestSpanRegexQuery extends TestCase { public void testSpanRegex() throws Exception { RAMDirectory directory = new RAMDirectory(); IndexWriter writer = new IndexWriter(directory, new SimpleAnalyzer(), true); Document doc = new Document(); - doc.add(new Field("field", "the quick brown fox jumps over the lazy dog", Field.Store.NO, Field.Index.TOKENIZED)); +// doc.add(new Field("field", "the quick brown fox jumps over the lazy dog", Field.Store.NO, Field.Index.TOKENIZED)); +// writer.addDocument(doc); +// doc = new Document(); + doc.add(new Field("field", "auto update", Field.Store.NO, Field.Index.TOKENIZED)); + writer.addDocument(doc); + doc = new Document(); + doc.add(new Field("field", "first auto update", Field.Store.NO, Field.Index.TOKENIZED)); writer.addDocument(doc); writer.optimize(); writer.close(); IndexSearcher searcher = new IndexSearcher(directory); - SpanRegexQuery srq = new SpanRegexQuery(new Term("field", "q.[aeiou]c.*")); - SpanTermQuery stq = new SpanTermQuery(new Term("field","dog")); - SpanNearQuery query = new SpanNearQuery(new SpanQuery[] {srq, stq}, 6, true); - Hits hits = searcher.search(query); + SpanRegexQuery srq = new SpanRegexQuery(new Term("field", "aut.*")); + SpanFirstQuery sfq = new SpanFirstQuery(srq, 1); +// SpanNearQuery query = new SpanNearQuery(new SpanQuery[] {srq, stq}, 6, true); + Hits hits = searcher.search(sfq); assertEquals(1, hits.length()); } } Modified: lucene/java/branches/lucene_1_9/docs/fileformats.html URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/docs/fileformats.html?rev=381429&r1=381428&r2=381429&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/docs/fileformats.html (original) +++ lucene/java/branches/lucene_1_9/docs/fileformats.html Mon Feb 27 12:17:01 2006 @@ -113,7 +113,10 @@ <blockquote> <p> This document defines the index file formats used - in Lucene version 1.4 and above. + in Lucene version 1.9. If you are using a different + version of Lucene, please consult the copy of + <code>docs/fileformats.html</code> that was distributed + with the version you are using. </p> <p> Apache Lucene is written in Java, but several Modified: lucene/java/branches/lucene_1_9/docs/index.html URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/docs/index.html?rev=381429&r1=381428&r2=381429&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/docs/index.html (original) +++ lucene/java/branches/lucene_1_9/docs/index.html Mon Feb 27 12:17:01 2006 @@ -126,7 +126,7 @@ </p> <p> Apache Lucene is an open source project available for - <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">free download</a> from Apache Jakarta. + <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">free download</a>. Please use the links on the left to access Lucene. </p> </blockquote> Modified: lucene/java/branches/lucene_1_9/docs/queryparsersyntax.html URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/docs/queryparsersyntax.html?rev=381429&r1=381428&r2=381429&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/docs/queryparsersyntax.html (original) +++ lucene/java/branches/lucene_1_9/docs/queryparsersyntax.html Mon Feb 27 12:17:01 2006 @@ -117,10 +117,15 @@ <blockquote> <p>Although Lucene provides the ability to create your own queries through its API, it also provides a rich query - language through the Query Parser.</p> - <p>This page - provides syntax of Lucene's Query Parser, a lexer which - interprets a string into a Lucene Query using JavaCC.</p> + language through the Query Parser, a lexer which + interprets a string into a Lucene Query using JavaCC. + </p> + <p>This page provides the Query Parser syntax in Lucene 1.9. + If you are using a different + version of Lucene, please consult the copy of + <code>docs/queryparsersyntax.html</code> that was distributed + with the version you are using. + </p> <p> Before choosing to use the provided Query Parser, please consider the following: <ol> Modified: lucene/java/branches/lucene_1_9/src/demo/org/apache/lucene/demo/DeleteFiles.java URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/src/demo/org/apache/lucene/demo/DeleteFiles.java?rev=381429&r1=381428&r2=381429&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/src/demo/org/apache/lucene/demo/DeleteFiles.java (original) +++ lucene/java/branches/lucene_1_9/src/demo/org/apache/lucene/demo/DeleteFiles.java Mon Feb 27 12:17:01 2006 @@ -22,8 +22,13 @@ import org.apache.lucene.index.Term; //import org.apache.lucene.index.Term; -class DeleteFiles { + +/** Deletes documents from an index that do not contain a term. */ +public class DeleteFiles { + private DeleteFiles() {} // singleton + + /** Deletes documents from an index that do not contain a term. */ public static void main(String[] args) { String usage = "java org.apache.lucene.demo.DeleteFiles <unique_term>"; if (args.length == 0) { Modified: lucene/java/branches/lucene_1_9/src/demo/org/apache/lucene/demo/IndexFiles.java URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/src/demo/org/apache/lucene/demo/IndexFiles.java?rev=381429&r1=381428&r2=381429&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/src/demo/org/apache/lucene/demo/IndexFiles.java (original) +++ lucene/java/branches/lucene_1_9/src/demo/org/apache/lucene/demo/IndexFiles.java Mon Feb 27 12:17:01 2006 @@ -24,10 +24,14 @@ import java.io.IOException; import java.util.Date; -class IndexFiles { +/** Index all text files under a directory. */ +public class IndexFiles { + private IndexFiles() {} + static final File INDEX_DIR = new File("index"); + /** Index all text files under a directory. */ public static void main(String[] args) { String usage = "java org.apache.lucene.demo.IndexFiles <root_directory>"; if (args.length == 0) { @@ -64,7 +68,7 @@ } } - public static void indexDocs(IndexWriter writer, File file) + static void indexDocs(IndexWriter writer, File file) throws IOException { // do not try to index files that cannot be read if (file.canRead()) { Modified: lucene/java/branches/lucene_1_9/src/demo/org/apache/lucene/demo/IndexHTML.java URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/src/demo/org/apache/lucene/demo/IndexHTML.java?rev=381429&r1=381428&r2=381429&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/src/demo/org/apache/lucene/demo/IndexHTML.java (original) +++ lucene/java/branches/lucene_1_9/src/demo/org/apache/lucene/demo/IndexHTML.java Mon Feb 27 12:17:01 2006 @@ -26,13 +26,16 @@ import java.util.Date; import java.util.Arrays; -class IndexHTML { +/** Indexer for HTML files. */ +public class IndexHTML { + private IndexHTML() {} private static boolean deleting = false; // true during deletion pass private static IndexReader reader; // existing index private static IndexWriter writer; // new index being built private static TermEnum uidIter; // document id iterator + /** Indexer for HTML files.*/ public static void main(String[] argv) { try { String index = "index"; Modified: lucene/java/branches/lucene_1_9/src/demo/org/apache/lucene/demo/SearchFiles.java URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/src/demo/org/apache/lucene/demo/SearchFiles.java?rev=381429&r1=381428&r2=381429&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/src/demo/org/apache/lucene/demo/SearchFiles.java (original) +++ lucene/java/branches/lucene_1_9/src/demo/org/apache/lucene/demo/SearchFiles.java Mon Feb 27 12:17:01 2006 @@ -33,7 +33,8 @@ import org.apache.lucene.search.Hits; import org.apache.lucene.queryParser.QueryParser; -class SearchFiles { +/** Simple command-line based search demo. */ +public class SearchFiles { /** Use the norms from one field for all fields. Norms are read into memory, * using a byte of memory per document per searched field. This can cause @@ -53,6 +54,9 @@ } } + private SearchFiles() {} + + /** Simple command-line based search demo. */ public static void main(String[] args) throws Exception { String usage = "Usage: java org.apache.lucene.demo.SearchFiles [-index dir] [-field f] [-repeat n] [-queries file] [-raw] [-norms field]"; Modified: lucene/java/branches/lucene_1_9/src/java/org/apache/lucene/document/DateField.java URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/src/java/org/apache/lucene/document/DateField.java?rev=381429&r1=381428&r2=381429&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/src/java/org/apache/lucene/document/DateField.java (original) +++ lucene/java/branches/lucene_1_9/src/java/org/apache/lucene/document/DateField.java Mon Feb 27 12:17:01 2006 @@ -76,12 +76,13 @@ */ public static String timeToString(long time) { if (time < 0) - throw new RuntimeException("time too early"); + throw new RuntimeException("time '" + time + "' is too early, must be >= 0"); String s = Long.toString(time, Character.MAX_RADIX); if (s.length() > DATE_LEN) - throw new RuntimeException("time too late"); + throw new RuntimeException("time '" + time + "' is too late, length of string " + + "representation must be <= " + DATE_LEN); // Pad with leading zeros if (s.length() < DATE_LEN) { Modified: lucene/java/branches/lucene_1_9/src/java/org/apache/lucene/index/IndexWriter.java URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/src/java/org/apache/lucene/index/IndexWriter.java?rev=381429&r1=381428&r2=381429&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/src/java/org/apache/lucene/index/IndexWriter.java (original) +++ lucene/java/branches/lucene_1_9/src/java/org/apache/lucene/index/IndexWriter.java Mon Feb 27 12:17:01 2006 @@ -318,11 +318,11 @@ * * <p> The default value is 10. * - * @throws IllegalArgumentException if maxBufferedDocs is smaller than 1 + * @throws IllegalArgumentException if maxBufferedDocs is smaller than 2 */ public void setMaxBufferedDocs(int maxBufferedDocs) { - if (maxBufferedDocs < 1) - throw new IllegalArgumentException("maxBufferedDocs must at least be 1"); + if (maxBufferedDocs < 2) + throw new IllegalArgumentException("maxBufferedDocs must at least be 2"); this.minMergeDocs = maxBufferedDocs; } @@ -637,7 +637,7 @@ int mergeDocs = 0; while (--minSegment >= 0) { SegmentInfo si = segmentInfos.info(minSegment); - if (si.docCount > targetMergeDocs) + if (si.docCount >= targetMergeDocs) break; mergeDocs += si.docCount; } Modified: lucene/java/branches/lucene_1_9/src/java/org/apache/lucene/store/BufferedIndexOutput.java URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/src/java/org/apache/lucene/store/BufferedIndexOutput.java?rev=381429&r1=381428&r2=381429&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/src/java/org/apache/lucene/store/BufferedIndexOutput.java (original) +++ lucene/java/branches/lucene_1_9/src/java/org/apache/lucene/store/BufferedIndexOutput.java Mon Feb 27 12:17:01 2006 @@ -41,8 +41,41 @@ * @see IndexInput#readBytes(byte[],int,int) */ public void writeBytes(byte[] b, int length) throws IOException { - for (int i = 0; i < length; i++) - writeByte(b[i]); + int bytesLeft = BUFFER_SIZE - bufferPosition; + // is there enough space in the buffer? + if (bytesLeft >= length) { + // we add the data to the end of the buffer + System.arraycopy(b, 0, buffer, bufferPosition, length); + bufferPosition += length; + // if the buffer is full, flush it + if (BUFFER_SIZE - bufferPosition == 0) + flush(); + } else { + // is data larger then buffer? + if (length > BUFFER_SIZE) { + // we flush the buffer + if (bufferPosition > 0) + flush(); + // and write data at once + flushBuffer(b, length); + } else { + // we fill/flush the buffer (until the input is written) + int pos = 0; // position in the input data + int pieceLength; + while (pos < length) { + pieceLength = (length - pos < bytesLeft) ? length - pos : bytesLeft; + System.arraycopy(b, pos, buffer, bufferPosition, pieceLength); + pos += pieceLength; + bufferPosition += pieceLength; + // if the buffer is full, flush it + bytesLeft = BUFFER_SIZE - bufferPosition; + if (bytesLeft == 0) { + flush(); + bytesLeft = BUFFER_SIZE; + } + } + } + } } /** Forces any buffered output to be written. */ Modified: lucene/java/branches/lucene_1_9/src/java/org/apache/lucene/store/RAMOutputStream.java URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/src/java/org/apache/lucene/store/RAMOutputStream.java?rev=381429&r1=381428&r2=381429&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/src/java/org/apache/lucene/store/RAMOutputStream.java (original) +++ lucene/java/branches/lucene_1_9/src/java/org/apache/lucene/store/RAMOutputStream.java Mon Feb 27 12:17:01 2006 @@ -66,27 +66,27 @@ } public void flushBuffer(byte[] src, int len) { - int bufferNumber = pointer/BUFFER_SIZE; - int bufferOffset = pointer%BUFFER_SIZE; - int bytesInBuffer = BUFFER_SIZE - bufferOffset; - int bytesToCopy = bytesInBuffer >= len ? len : bytesInBuffer; + byte[] buffer; + int bufferPos = 0; + while (bufferPos != len) { + int bufferNumber = pointer/BUFFER_SIZE; + int bufferOffset = pointer%BUFFER_SIZE; + int bytesInBuffer = BUFFER_SIZE - bufferOffset; + int remainInSrcBuffer = len - bufferPos; + int bytesToCopy = bytesInBuffer >= remainInSrcBuffer ? remainInSrcBuffer : bytesInBuffer; - if (bufferNumber == file.buffers.size()) - file.buffers.addElement(new byte[BUFFER_SIZE]); + if (bufferNumber == file.buffers.size()) { + buffer = new byte[BUFFER_SIZE]; + file.buffers.addElement(buffer); + } else { + buffer = (byte[]) file.buffers.elementAt(bufferNumber); + } - byte[] buffer = (byte[])file.buffers.elementAt(bufferNumber); - System.arraycopy(src, 0, buffer, bufferOffset, bytesToCopy); - - if (bytesToCopy < len) { // not all in one buffer - int srcOffset = bytesToCopy; - bytesToCopy = len - bytesToCopy; // remaining bytes - bufferNumber++; - if (bufferNumber == file.buffers.size()) - file.buffers.addElement(new byte[BUFFER_SIZE]); - buffer = (byte[])file.buffers.elementAt(bufferNumber); - System.arraycopy(src, srcOffset, buffer, 0, bytesToCopy); + System.arraycopy(src, bufferPos, buffer, bufferOffset, bytesToCopy); + bufferPos += bytesToCopy; + pointer += bytesToCopy; } - pointer += len; + if (pointer > file.length) file.length = pointer; Modified: lucene/java/branches/lucene_1_9/src/jsp/README.txt URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/src/jsp/README.txt?rev=381429&r1=381428&r2=381429&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/src/jsp/README.txt (original) +++ lucene/java/branches/lucene_1_9/src/jsp/README.txt Mon Feb 27 12:17:01 2006 @@ -1,8 +1,8 @@ -To build the Jakarta Lucene web app demo just run -"ant war-demo" from the Jakarta Lucene Installation +To build the Apache Lucene web app demo just run +"ant war-demo" from the Apache Lucene Installation directory (follow the master instructions in BUILD.txt). If you have questions please post -them to the Jakarta Lucene mailing lists. To +them to the Apache Lucene mailing lists. To actually figure this out you really need to read the Lucene "Getting Started" guide provided with the doc build ("ant docs"). Modified: lucene/java/branches/lucene_1_9/src/jsp/configuration.jsp URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/src/jsp/configuration.jsp?rev=381429&r1=381428&r2=381429&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/src/jsp/configuration.jsp (original) +++ lucene/java/branches/lucene_1_9/src/jsp/configuration.jsp Mon Feb 27 12:17:01 2006 @@ -1,7 +1,7 @@ <% /* Author: Andrew C. Oliver ([email protected]) */ -String appTitle = "Jakarta Lucene Example - Intranet Server Search Application"; +String appTitle = "Apache Lucene Example - Intranet Server Search Application"; /* make sure you point the below string to the index you created with IndexHTML */ String indexLocation = "/opt/lucene/index"; -String appfooter = "Jakarta Lucene Template WebApp 1.0"; +String appfooter = "Apache Lucene Template WebApp 1.0"; %> Modified: lucene/java/branches/lucene_1_9/src/test/org/apache/lucene/StoreTest.java URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/src/test/org/apache/lucene/StoreTest.java?rev=381429&r1=381428&r2=381429&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/src/test/org/apache/lucene/StoreTest.java (original) +++ lucene/java/branches/lucene_1_9/src/test/org/apache/lucene/StoreTest.java Mon Feb 27 12:17:01 2006 @@ -28,14 +28,13 @@ class StoreTest { public static void main(String[] args) { try { - test(1000, true); + test(1000, true, true); } catch (Exception e) { - System.out.println(" caught a " + e.getClass() + - "\n with message: " + e.getMessage()); + e.printStackTrace(); } } - public static void test(int count, boolean ram) + public static void test(int count, boolean ram, boolean buffered) throws Exception { Random gen = new Random(1251971); int i; @@ -51,6 +50,8 @@ final int LENGTH_MASK = 0xFFF; + final byte[] buffer = new byte[LENGTH_MASK]; + for (i = 0; i < count; i++) { String name = i + ".dat"; int length = gen.nextInt() & LENGTH_MASK; @@ -59,8 +60,14 @@ IndexOutput file = store.createOutput(name); - for (int j = 0; j < length; j++) - file.writeByte(b); + if (buffered) { + for (int j = 0; j < length; j++) + buffer[j] = b; + file.writeBytes(buffer, length); + } else { + for (int j = 0; j < length; j++) + file.writeByte(b); + } file.close(); } @@ -89,9 +96,18 @@ if (file.length() != length) throw new Exception("length incorrect"); - for (int j = 0; j < length; j++) - if (file.readByte() != b) - throw new Exception("contents incorrect"); + byte[] content = new byte[length]; + if (buffered) { + file.readBytes(content, 0, length); + // check the buffer + for (int j = 0; j < length; j++) + if (content[j] != b) + throw new Exception("contents incorrect"); + } else { + for (int j = 0; j < length; j++) + if (file.readByte() != b) + throw new Exception("contents incorrect"); + } file.close(); } Modified: lucene/java/branches/lucene_1_9/xdocs/fileformats.xml URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/xdocs/fileformats.xml?rev=381429&r1=381428&r2=381429&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/xdocs/fileformats.xml (original) +++ lucene/java/branches/lucene_1_9/xdocs/fileformats.xml Mon Feb 27 12:17:01 2006 @@ -14,7 +14,10 @@ <p> This document defines the index file formats used - in Lucene version 1.4 and above. + in Lucene version 1.9. If you are using a different + version of Lucene, please consult the copy of + <code>docs/fileformats.html</code> that was distributed + with the version you are using. </p> <p> Modified: lucene/java/branches/lucene_1_9/xdocs/index.xml URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/xdocs/index.xml?rev=381429&r1=381428&r2=381429&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/xdocs/index.xml (original) +++ lucene/java/branches/lucene_1_9/xdocs/index.xml Mon Feb 27 12:17:01 2006 @@ -16,7 +16,7 @@ </p> <p> Apache Lucene is an open source project available for - <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">free download</a> from Apache Jakarta. + <a href="http://www.apache.org/dyn/closer.cgi/lucene/java/">free download</a>. Please use the links on the left to access Lucene. </p> </section> Modified: lucene/java/branches/lucene_1_9/xdocs/queryparsersyntax.xml URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/xdocs/queryparsersyntax.xml?rev=381429&r1=381428&r2=381429&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/xdocs/queryparsersyntax.xml (original) +++ lucene/java/branches/lucene_1_9/xdocs/queryparsersyntax.xml Mon Feb 27 12:17:01 2006 @@ -10,9 +10,16 @@ <section name="Overview"> <p>Although Lucene provides the ability to create your own queries through its API, it also provides a rich query - language through the Query Parser.</p> <p>This page - provides syntax of Lucene's Query Parser, a lexer which - interprets a string into a Lucene Query using JavaCC.</p> + language through the Query Parser, a lexer which + interprets a string into a Lucene Query using JavaCC. + </p> + + <p>This page provides the Query Parser syntax in Lucene 1.9. + If you are using a different + version of Lucene, please consult the copy of + <code>docs/queryparsersyntax.html</code> that was distributed + with the version you are using. + </p> <p> Before choosing to use the provided Query Parser, please consider the following: <ol> From [email protected] Mon Feb 27 20:24:58 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 48414 invoked from network); 27 Feb 2006 20:24:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2006 20:24:58 -0000 Received: (qmail 488 invoked by uid 500); 27 Feb 2006 20:24:58 -0000 Delivered-To: [email protected] Received: (qmail 426 invoked by uid 500); 27 Feb 2006 20:24:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <java-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 415 invoked by uid 99); 27 Feb 2006 20:24:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Feb 2006 12:24:57 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 27 Feb 2006 12:24:57 -0800 Received: (qmail 48329 invoked by uid 65534); 27 Feb 2006 20:24:36 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r381432 - /lucene/java/branches/lucene_1_9/CHANGES.txt Date: Mon, 27 Feb 2006 20:24:36 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Mon Feb 27 12:24:34 2006 New Revision: 381432 URL: http://svn.apache.org/viewcvs?rev=381432&view=rev Log: Preparing for 1.9 final release. Modified: lucene/java/branches/lucene_1_9/CHANGES.txt Modified: lucene/java/branches/lucene_1_9/CHANGES.txt URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/CHANGES.txt?rev=381432&r1=381431&r2=381432&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/CHANGES.txt (original) +++ lucene/java/branches/lucene_1_9/CHANGES.txt Mon Feb 27 12:24:34 2006 @@ -2,7 +2,14 @@ $Id$ -1.9 RC2 +1.9 final + +Note that this realease is mostly but not 100% source compatible with +the previous release of Lucene (1.4.3). In other words, you should +make sure your application compiles with this version of Lucene before +you replace the old Lucene JAR with the new one. Many methods have +been deprecated in anticipation of release 2.0, so deprecation +warnings are to be expected when upgrading from 1.4.3 to 1.9. Bug fixes @@ -17,13 +24,7 @@ System.arraycopy() in more cases, rather than copying byte-by-byte. (Lukas Zapletal via Cutting) - 1.9 RC1 - -Note that this realease is mostly but not 100% source compatible with the -latest release of Lucene (1.4.3). In other words, you should make sure -your application compiles with this version of Lucene before you replace -the old Lucene JAR with the new one. Requirements From [email protected] Mon Feb 27 20:29:09 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 49682 invoked from network); 27 Feb 2006 20:29:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2006 20:29:09 -0000 Received: (qmail 2638 invoked by uid 500); 27 Feb 2006 20:29:09 -0000 Delivered-To: [email protected] Received: (qmail 2618 invoked by uid 500); 27 Feb 2006 20:29:09 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <java-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 2607 invoked by uid 99); 27 Feb 2006 20:29:09 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Feb 2006 12:29:09 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 27 Feb 2006 12:29:08 -0800 Received: (qmail 49609 invoked by uid 65534); 27 Feb 2006 20:28:48 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r381433 - in /lucene/java/branches/lucene_1_9: docs/index.html xdocs/index.xml Date: Mon, 27 Feb 2006 20:28:47 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Mon Feb 27 12:28:45 2006 New Revision: 381433 URL: http://svn.apache.org/viewcvs?rev=381433&view=rev Log: Preparing for 1.9 final release. Modified: lucene/java/branches/lucene_1_9/docs/index.html lucene/java/branches/lucene_1_9/xdocs/index.xml Modified: lucene/java/branches/lucene_1_9/docs/index.html URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/docs/index.html?rev=381433&r1=381432&r2=381433&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/docs/index.html (original) +++ lucene/java/branches/lucene_1_9/docs/index.html Mon Feb 27 12:28:45 2006 @@ -142,10 +142,10 @@ </td></tr> <tr><td> <blockquote> - <h3>21 February 2006 - 1.9 RC1 available </h3> - <p>This release candidate has many improvements since - release 1.4.3, including new features, performance - improvements, bug fixes, etc. See <a href="http://svn.apache.org/viewcvs.cgi/*checkout*/lucene/java/branches/lucene_1_9/CHANGES.txt?rev=379190">CHANGES.txt</a> + <h3>27 February 2006 - 1.9 final available </h3> + <p>This release has many improvements since release + 1.4.3, including new features, performance + improvements, bug fixes, etc. See <a href="http://svn.apache.org/viewcvs.cgi/*checkout*/lucene/java/branches/lucene_1_9/CHANGES.txt?rev=381432">CHANGES.txt</a> for details.</p> <p>1.9 will be the last 1.x release. It is both back-compatible with 1.4.3 and forward-compatible with Modified: lucene/java/branches/lucene_1_9/xdocs/index.xml URL: http://svn.apache.org/viewcvs/lucene/java/branches/lucene_1_9/xdocs/index.xml?rev=381433&r1=381432&r2=381433&view=diff ============================================================================== --- lucene/java/branches/lucene_1_9/xdocs/index.xml (original) +++ lucene/java/branches/lucene_1_9/xdocs/index.xml Mon Feb 27 12:28:45 2006 @@ -23,12 +23,12 @@ <section name="Lucene News"> - <h3>21 February 2006 - 1.9 RC1 available </h3> + <h3>27 February 2006 - 1.9 final available </h3> - <p>This release candidate has many improvements since - release 1.4.3, including new features, performance + <p>This release has many improvements since release + 1.4.3, including new features, performance improvements, bug fixes, etc. See <a - href="http://svn.apache.org/viewcvs.cgi/*checkout*/lucene/java/branches/lucene_1_9/CHANGES.txt?rev=379190">CHANGES.txt</a> + href="http://svn.apache.org/viewcvs.cgi/*checkout*/lucene/java/branches/lucene_1_9/CHANGES.txt?rev=381432">CHANGES.txt</a> for details.</p> <p>1.9 will be the last 1.x release. It is both From [email protected] Mon Feb 27 20:52:51 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 62664 invoked from network); 27 Feb 2006 20:52:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 27 Feb 2006 20:52:51 -0000 Received: (qmail 37609 invoked by uid 500); 27 Feb 2006 20:52:51 -0000 Delivered-To: [email protected] Received: (qmail 37593 invoked by uid 500); 27 Feb 2006 20:52:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <java-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 37580 invoked by uid 99); 27 Feb 2006 20:52:50 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Feb 2006 12:52:50 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 27 Feb 2006 12:52:50 -0800 Received: (qmail 62527 invoked by uid 65534); 27 Feb 2006 20:52:30 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r381437 - /lucene/java/tags/lucene_1_9_final/ Date: Mon, 27 Feb 2006 20:52:29 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Mon Feb 27 12:52:28 2006 New Revision: 381437 URL: http://svn.apache.org/viewcvs?rev=381437&view=rev Log: Tagged 1.9 final release. Added: lucene/java/tags/lucene_1_9_final/ - copied from r381435, lucene/java/branches/lucene_1_9/ From [email protected] Tue Feb 28 16:51:10 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10933 invoked from network); 28 Feb 2006 16:50:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Feb 2006 16:50:56 -0000 Received: (qmail 99375 invoked by uid 500); 28 Feb 2006 16:50:37 -0000 Delivered-To: [email protected] Received: (qmail 99346 invoked by uid 500); 28 Feb 2006 16:50:37 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <java-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 99335 invoked by uid 99); 28 Feb 2006 16:50:36 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Feb 2006 08:50:36 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 28 Feb 2006 08:50:36 -0800 Received: (qmail 10413 invoked by uid 65534); 28 Feb 2006 16:50:06 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r381700 - in /lucene/java/trunk: CHANGES.txt docs/index.html xdocs/index.xml Date: Tue, 28 Feb 2006 16:49:47 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Tue Feb 28 08:49:44 2006 New Revision: 381700 URL: http://svn.apache.org/viewcvs?rev=381700&view=rev Log: Merge changes from 1.9 branch. Modified: lucene/java/trunk/CHANGES.txt lucene/java/trunk/docs/index.html lucene/java/trunk/xdocs/index.xml Modified: lucene/java/trunk/CHANGES.txt URL: http://svn.apache.org/viewcvs/lucene/java/trunk/CHANGES.txt?rev=381700&r1=381699&r2=381700&view=diff ============================================================================== --- lucene/java/trunk/CHANGES.txt (original) +++ lucene/java/trunk/CHANGES.txt Tue Feb 28 08:49:44 2006 @@ -2,7 +2,14 @@ $Id$ -1.9 RC2 +1.9 final + +Note that this realease is mostly but not 100% source compatible with +the previous release of Lucene (1.4.3). In other words, you should +make sure your application compiles with this version of Lucene before +you replace the old Lucene JAR with the new one. Many methods have +been deprecated in anticipation of release 2.0, so deprecation +warnings are to be expected when upgrading from 1.4.3 to 1.9. Bug fixes @@ -17,13 +24,7 @@ System.arraycopy() in more cases, rather than copying byte-by-byte. (Lukas Zapletal via Cutting) - 1.9 RC1 - -Note that this realease is mostly but not 100% source compatible with the -latest release of Lucene (1.4.3). In other words, you should make sure -your application compiles with this version of Lucene before you replace -the old Lucene JAR with the new one. Requirements Modified: lucene/java/trunk/docs/index.html URL: http://svn.apache.org/viewcvs/lucene/java/trunk/docs/index.html?rev=381700&r1=381699&r2=381700&view=diff ============================================================================== --- lucene/java/trunk/docs/index.html (original) +++ lucene/java/trunk/docs/index.html Tue Feb 28 08:49:44 2006 @@ -142,10 +142,10 @@ </td></tr> <tr><td> <blockquote> - <h3>21 February 2006 - 1.9 RC1 available </h3> - <p>This release candidate has many improvements since - release 1.4.3, including new features, performance - improvements, bug fixes, etc. See <a href="http://svn.apache.org/viewcvs.cgi/*checkout*/lucene/java/branches/lucene_1_9/CHANGES.txt?rev=379190">CHANGES.txt</a> + <h3>27 February 2006 - 1.9 final available </h3> + <p>This release has many improvements since release + 1.4.3, including new features, performance + improvements, bug fixes, etc. See <a href="http://svn.apache.org/viewcvs.cgi/*checkout*/lucene/java/branches/lucene_1_9/CHANGES.txt?rev=381432">CHANGES.txt</a> for details.</p> <p>1.9 will be the last 1.x release. It is both back-compatible with 1.4.3 and forward-compatible with Modified: lucene/java/trunk/xdocs/index.xml URL: http://svn.apache.org/viewcvs/lucene/java/trunk/xdocs/index.xml?rev=381700&r1=381699&r2=381700&view=diff ============================================================================== --- lucene/java/trunk/xdocs/index.xml (original) +++ lucene/java/trunk/xdocs/index.xml Tue Feb 28 08:49:44 2006 @@ -23,12 +23,12 @@ <section name="Lucene News"> - <h3>21 February 2006 - 1.9 RC1 available </h3> + <h3>27 February 2006 - 1.9 final available </h3> - <p>This release candidate has many improvements since - release 1.4.3, including new features, performance + <p>This release has many improvements since release + 1.4.3, including new features, performance improvements, bug fixes, etc. See <a - href="http://svn.apache.org/viewcvs.cgi/*checkout*/lucene/java/branches/lucene_1_9/CHANGES.txt?rev=379190">CHANGES.txt</a> + href="http://svn.apache.org/viewcvs.cgi/*checkout*/lucene/java/branches/lucene_1_9/CHANGES.txt?rev=381432">CHANGES.txt</a> for details.</p> <p>1.9 will be the last 1.x release. It is both From [email protected] Tue Feb 28 19:14:38 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 89181 invoked from network); 28 Feb 2006 19:14:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Feb 2006 19:14:38 -0000 Received: (qmail 37548 invoked by uid 500); 28 Feb 2006 19:14:36 -0000 Delivered-To: [email protected] Received: (qmail 37443 invoked by uid 500); 28 Feb 2006 19:14:36 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <java-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 37346 invoked by uid 99); 28 Feb 2006 19:14:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Feb 2006 11:14:35 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 28 Feb 2006 11:14:35 -0800 Received: (qmail 88803 invoked by uid 65534); 28 Feb 2006 19:14:14 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r381746 - /lucene/java/trunk/docs/doap.rdf Date: Tue, 28 Feb 2006 19:14:14 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Tue Feb 28 11:14:11 2006 New Revision: 381746 URL: http://svn.apache.org/viewcvs?rev=381746&view=rev Log: Added DOAP file, contributed by Grant Ingersoll. Added: lucene/java/trunk/docs/doap.rdf Added: lucene/java/trunk/docs/doap.rdf URL: http://svn.apache.org/viewcvs/lucene/java/trunk/docs/doap.rdf?rev=381746&view=auto ============================================================================== --- lucene/java/trunk/docs/doap.rdf (added) +++ lucene/java/trunk/docs/doap.rdf Tue Feb 28 11:14:11 2006 @@ -0,0 +1,43 @@ +<?xml version="1.0"?> +<?xml-stylesheet type="text/xsl"?> +<rdf:RDF xml:lang="en" + xmlns="http://usefulinc.com/ns/doap#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:asfext="http://projects.apache.org/ns/asfext#" + xmlns:foaf="http://xmlns.com/foaf/0.1/"> +<!-- + ======================================================================= + + Copyright (c) 2006 The Apache Software Foundation. + All rights reserved. + + ======================================================================= +--> + <Project rdf:about="http://lucene.apache.org/java/"> + <created>2006-02-28</created> + <license rdf:resource="http://usefulinc.com/doap/licenses/asl20" /> + <name>Lucene Java</name> + <homepage rdf:resource="http://lucene.apache.org/java/" /> + <asfext:pmc rdf:resource="http://lucene.apache.org" /> + <shortdesc>Apache Lucene is a high-performance, full-featured text search engine library written entirely in Java. It is a technology suitable for nearly any application that requires full-text search, especially cross-platform.</shortdesc> + <description>Apache Lucene is a high-performance, full-featured text search engine library written entirely in Java. It is a technology suitable for nearly any application that requires full-text search, especially cross-platform.</description> + <bug-database rdf:resource="http://issues.apache.org/jira/browse/LUCENE" /> + <mailing-list rdf:resource="http://lucene.apache.org/java/docs/mailinglists.html" /> + <download-page rdf:resource="http://www.apache.org/dyn/closer.cgi/lucene/java/" /> + <programming-language>Java</programming-language> + <category rdf:resource="http://projects.apache.org/category/database" /> + <release> + <Version> + <name>Lucene 1.9</name> + <created>2006-02-28</created> + <revision>1.9</revision> + </Version> + </release> + <repository> + <SVNRepository> + <location rdf:resource="http://svn.apache.org/repos/asf/lucene/java/"/> + <browse rdf:resource="http://svn.apache.org/viewcvs.cgi/lucene/java/"/> + </SVNRepository> + </repository> + </Project> +</rdf:RDF> From [email protected] Tue Feb 28 19:19:58 2006 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91479 invoked from network); 28 Feb 2006 19:19:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (161.129.204.104) by minotaur.apache.org with SMTP; 28 Feb 2006 19:19:57 -0000 Received: (qmail 64432 invoked by uid 500); 28 Feb 2006 19:19:52 -0000 Delivered-To: [email protected] Received: (qmail 64382 invoked by uid 500); 28 Feb 2006 19:19:51 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <java-commits.lucene.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 64289 invoked by uid 99); 28 Feb 2006 19:19:42 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Feb 2006 11:19:42 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO minotaur.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 28 Feb 2006 11:19:40 -0800 Received: (qmail 91242 invoked by uid 65534); 28 Feb 2006 19:19:19 -0000 Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r381749 - /lucene/java/trunk/docs/doap.rdf Date: Tue, 28 Feb 2006 19:19:19 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: cutting Date: Tue Feb 28 11:19:17 2006 New Revision: 381749 URL: http://svn.apache.org/viewcvs?rev=381749&view=rev Log: Qualify project name with Apache. Modified: lucene/java/trunk/docs/doap.rdf Modified: lucene/java/trunk/docs/doap.rdf URL: http://svn.apache.org/viewcvs/lucene/java/trunk/docs/doap.rdf?rev=381749&r1=381748&r2=381749&view=diff ============================================================================== --- lucene/java/trunk/docs/doap.rdf (original) +++ lucene/java/trunk/docs/doap.rdf Tue Feb 28 11:19:17 2006 @@ -16,7 +16,7 @@ <Project rdf:about="http://lucene.apache.org/java/"> <created>2006-02-28</created> <license rdf:resource="http://usefulinc.com/doap/licenses/asl20" /> - <name>Lucene Java</name> + <name>Apache Lucene Java</name> <homepage rdf:resource="http://lucene.apache.org/java/" /> <asfext:pmc rdf:resource="http://lucene.apache.org" /> <shortdesc>Apache Lucene is a high-performance, full-featured text search engine library written entirely in Java. It is a technology suitable for nearly any application that requires full-text search, especially cross-platform.</shortdesc>
From [email protected] Thu Apr 22 10:52:17 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 24205 invoked from network); 22 Apr 2010 10:52:16 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 22 Apr 2010 10:52:16 -0000 Received: (qmail 17763 invoked by uid 500); 22 Apr 2010 10:52:16 -0000 Delivered-To: [email protected] Received: (qmail 17301 invoked by uid 500); 22 Apr 2010 10:52:14 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 17294 invoked by uid 99); 22 Apr 2010 10:52:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Apr 2010 10:52:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Apr 2010 10:52:11 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3MApotE014211 for <[email protected]>; Thu, 22 Apr 2010 10:51:50 GMT Message-ID: <25390348.136561271933510130.JavaMail.jira@thor> Date: Thu, 22 Apr 2010 06:51:50 -0400 (EDT) From: "Alexander Sofronov (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (JCS-74) Some data may be lost when adding/removing entries with the same key MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Some data may be lost when adding/removing entries with the same key -------------------------------------------------------------------- Key: JCS-74 URL: https://issues.apache.org/jira/browse/JCS-74 Project: JCS Issue Type: Bug Components: Indexed Disk Cache Reporter: Alexander Sofronov Assignee: Aaron Smuts I see this problem in jcs-161.129.204.104-RC.jar. When adding/removing data to IndexedDiskCache some data may be lost. Consider the following sample: cache.put("key", "value1"); cache.put("key", "value2"); cache.put("key", "value3"); After running this code the cache often stores only "value1", other values may be lost. It looks like this is caused by asynchronous cache update mechanism, adding some pause (say Thread.sleep(100)) between different puts fixes the problem. Also (it may be another bug actually) it could happen that the following code will not write any data to the cache: cache.put("key", "value1"); cache.remove("key"); cache.put("key", "value2"); This happens non-deterministically on my machine, in case of problems with reproducing this try put some other data before this test to make the queue longer. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Apr 22 18:07:50 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 93559 invoked from network); 22 Apr 2010 18:07:50 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 22 Apr 2010 18:07:50 -0000 Received: (qmail 57574 invoked by uid 500); 22 Apr 2010 18:07:49 -0000 Delivered-To: [email protected] Received: (qmail 57366 invoked by uid 500); 22 Apr 2010 18:07:49 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 57359 invoked by uid 99); 22 Apr 2010 18:07:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Apr 2010 18:07:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Apr 2010 18:07:42 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id E256F23889D7; Thu, 22 Apr 2010 18:06:58 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r936989 - in /jakarta/site: docs/site/mail.html docs/site/mail2.html xdocs/site/mail-toc.ent xdocs/site/mail2.xml Date: Thu, 22 Apr 2010 18:06:58 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rahul Date: Thu Apr 22 18:06:58 2010 New Revision: 936989 URL: http://svn.apache.org/viewvc?rev=936989&view=rev Log: Overhaul the mailing lists pages given recent consolidation: * Add information about new Jakarta-wide dev and notifications lists, with a mention of list email subject conventions * Remove subscribe/unsubscribe links to old subproject dev lists but leave a link to archives in place with a pointer to new dev list * Similarly removed parts of site-cvs@ info * Sorted and re-ordered to have retired projects at the end * Cleaned up retired section, now points to Attic for Slide and Taglibs * Added a short descriptive phrase for each subproject (if missing) * Corrected some typos and broken links Modified: jakarta/site/docs/site/mail.html jakarta/site/docs/site/mail2.html jakarta/site/xdocs/site/mail-toc.ent jakarta/site/xdocs/site/mail2.xml Modified: jakarta/site/docs/site/mail.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/mail.html?rev=936989&r1=936988&r2=936989&view=diff ============================================================================== --- jakarta/site/docs/site/mail.html (original) +++ jakarta/site/docs/site/mail.html Thu Apr 22 18:06:58 2010 @@ -357,7 +357,13 @@ yourself the embarrassment. <a href="mail2.html#General">General</a> </td> <td> -<a href="mail2.html#Documentation">Documentation</a> +<a href="mail2.html#Development">Development</a> +</td> +</tr> +<tr> +<td/> +<td> +<a href="mail2.html#Notifications">Notifications</a> </td> </tr> <tr> @@ -366,10 +372,10 @@ yourself the embarrassment. <tr> <td>Subprojects:</td> <td> -<a href="mail2.html#BSF">BSF</a> +<a href="mail2.html#BCEL">BCEL</a> </td> <td> -<a href="mail2.html#BCEL">BCEL</a> +<a href="mail2.html#BSF">BSF</a> </td> <td> <a href="mail2.html#Cactus">Cactus</a> @@ -383,12 +389,12 @@ yourself the embarrassment. <td> <a href="mail2.html#JCS">JCS</a> </td> -</tr> -<tr> -<td/> <td> <a href="mail2.html#JMeter">JMeter</a> </td> +</tr> +<tr> +<td/> <td> <a href="mail2.html#ORO">ORO</a> </td> @@ -403,15 +409,15 @@ yourself the embarrassment. <td/> </tr> <tr> -<td>Retired: </td> +<td>Retired:</td> <td> -<a href="mail2.html#Alexandria">Alexandria</a> +<a href="mail2.html#Retired">Alexandria</a> </td> <td> -<a href="mail2.html#Slide">Slide</a> +<a href="mail2.html#Retired">Slide</a> </td> <td> -<a href="mail2.html#Taglibs">Taglibs</a> +<a href="mail2.html#Retired">Taglibs</a> </td> </tr> </table> Modified: jakarta/site/docs/site/mail2.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/mail2.html?rev=936989&r1=936988&r2=936989&view=diff ============================================================================== --- jakarta/site/docs/site/mail2.html (original) +++ jakarta/site/docs/site/mail2.html Thu Apr 22 18:06:58 2010 @@ -188,9 +188,6 @@ There are several sites that archive and <a href="http://mail-archives.apache.org/mod_mbox/">mail-archives.apache.org</a> </li> <li> -<a href="/mail/">Full mbox archives of all lists.</a> -</li> -<li> <a href="http://jakarta.markmail.org/">Mark Mail</a> </li> <li> <a href="http://www.mail-archive.com/">mail-archive.com</a> </li> @@ -221,7 +218,13 @@ There are several sites that archive and <a href="#General">General</a> </td> <td> -<a href="#Documentation">Documentation</a> +<a href="#Development">Development</a> +</td> +</tr> +<tr> +<td/> +<td> +<a href="#Notifications">Notifications</a> </td> </tr> <tr> @@ -230,10 +233,10 @@ There are several sites that archive and <tr> <td>Subprojects:</td> <td> -<a href="#BSF">BSF</a> +<a href="#BCEL">BCEL</a> </td> <td> -<a href="#BCEL">BCEL</a> +<a href="#BSF">BSF</a> </td> <td> <a href="#Cactus">Cactus</a> @@ -247,12 +250,12 @@ There are several sites that archive and <td> <a href="#JCS">JCS</a> </td> -</tr> -<tr> -<td/> <td> <a href="#JMeter">JMeter</a> </td> +</tr> +<tr> +<td/> <td> <a href="#ORO">ORO</a> </td> @@ -267,15 +270,15 @@ There are several sites that archive and <td/> </tr> <tr> -<td>Retired: </td> +<td>Retired:</td> <td> -<a href="#Alexandria">Alexandria</a> +<a href="#Retired">Alexandria</a> </td> <td> -<a href="#Slide">Slide</a> +<a href="#Retired">Slide</a> </td> <td> -<a href="#Taglibs">Taglibs</a> +<a href="#Retired">Taglibs</a> </td> </tr> </table> @@ -309,63 +312,108 @@ to this moderated list to get general an </div> <div class="section"> <div class="section-header"> -<a name="Alexandria"> -<strong>Alexandria</strong> +<a name="General"> +<strong>General</strong> </a> </div> <p> <div class="section-body"> <p> -<b>The Alexandria User List</b> +<b>The Jakarta General Project List</b> <br/> -<a href="http://mail-archives.apache.org/mod_mbox/jakarta-alexandria-user/">Archive</a> +<a href="mailto:[email protected]">Subscribe</a> +<a href="mailto:[email protected]">Unsubscribe</a> +<a href="mail.html">Guidelines</a> +<a href="http://mail-archives.apache.org/mod_mbox/jakarta-general/">Archive</a> </p> <p> -<b>The Alexandria Developer List</b> -<br/> -<a href="http://mail-archives.apache.org/mod_mbox/jakarta-alexandria-dev/">Archive</a> +This is the project general mailing list. This is where ideas, suggestions, +and comments are exchanged that deal with the <b>*overall* Jakarta project</b>. +<em>READ:</em> This is <b>*not*</b> a place to ask technical questions related to <a href="#tomcat">Tomcat</a>, <a href="#struts">Struts</a> or +<a href="">any other single Jakarta project</a>. +Matters that affect the project as a whole are decided here. If you are interested +in adding a new project to Jakarta, please see <a href="newproject.html">this page</a>. </p> </div> </p> </div> <div class="section"> <div class="section-header"> -<a name="BSF"> -<strong>BSF</strong> +<a name="Development"> +<strong>Development</strong> </a> </div> <p> <div class="section-body"> <p> -<b> -<i>Note: Bean Scripting Framework</i> -</b> -</p> -<p> -<b>The BSF User List</b> +<b>The Jakarta Development List</b> <br/> -<a href="mailto:[email protected]">Subscribe</a> -<a href="mailto:[email protected]">Unsubscribe</a> +<a href="mailto:[email protected]">Subscribe</a> +<a href="mailto:[email protected]">Unsubscribe</a> <a href="mail.html">Guidelines</a> -<a href="http://mail-archives.apache.org/mod_mbox/jakarta-bsf-user/">Archive</a> +<a href="http://mail-archives.apache.org/mod_mbox/jakarta-dev/">Archive</a> </p> <p> -This list is for users of BSF to ask questions, share knowledge, and -discuss issues related to using BSF. +This is the shared mailing list for development discussions related to all +Jakarta subprojects. +<ul> +<li> +<strong>Please do not send usage questions to this list, see user lists + below.</strong> +</li> +<li> +<strong>Since this is a shared mailing list, convention is to prefix + email subjects with the subproject name in square brackets, e.g. [BSF] + or [JMeter].</strong> +</li> +</ul> +</p> +<p> +This is the list where participating developers of the each of the +subprojects meet and discuss issues, code changes/additions etc. +</p> +</div> </p> +</div> +<div class="section"> +<div class="section-header"> +<a name="Notifications"> +<strong>Notifications</strong> +</a> +</div> +<p> +<div class="section-body"> <p> -<b>The BSF Developer List</b> +<b>The Jakarta Notifications List</b> <br/> -<a href="mailto:[email protected]">Subscribe</a> -<a href="mailto:[email protected]">Unsubscribe</a> +<a href="mailto:[email protected]">Subscribe</a> +<a href="mailto:[email protected]">Unsubscribe</a> <a href="mail.html">Guidelines</a> -<a href="http://mail-archives.apache.org/mod_mbox/jakarta-bsf-dev/">Archive</a> +<a href="http://mail-archives.apache.org/mod_mbox/jakarta-notifications/">Archive</a> +</p> +<p> +This is the shared mailing list for automated notification messages related +to all Jakarta subprojects. These include SVN commit messages, issue tracker +notifications (Bugzilla and JIRA), build notifications (Hudson, buildbot) +and Gump nags. +<ul> +<li> +<strong>This is the list for automated messages, please do not send + email to this list. Please send usage questions to user lists + below.</strong> +</li> +<li> +<strong>Subscribers to this list get notices of each and every code + change, build results, testing notices, etc.</strong> +</li> +</ul> </p> <p> -This is the list where participating developers of BSF meet -and discuss issues, code changes/additions, etc. Subscribers -to this list get notices of each and every code change, build results, -testing notices, etc. +Changes to the Jakarta website are echoed to this list. If you have +comments or suggestions about the site please send them to the [email protected] mailing list. We have fairly good +<a href="/site/jakarta-site2.html">instructions</a> for modifying the +site and creating <a href="/site/source.html">patches</a>. </p> </div> </p> @@ -380,7 +428,7 @@ testing notices, etc. <div class="section-body"> <p> <b> -<i>Note: Byte Code Enginerring Library</i> +<i>Note: Byte Code Engineering Library</i> </b> </p> <p> @@ -396,18 +444,46 @@ This list is for users of BCEL to ask qu discuss issues related to using BCEL. </p> <p> -<b>The BCEL Developer List</b> +<b>Old BCEL Developer List</b> <br/> -<a href="mailto:[email protected]">Subscribe</a> -<a href="mailto:[email protected]">Unsubscribe</a> -<a href="mail.html">Guidelines</a> <a href="http://mail-archives.apache.org/mod_mbox/jakarta-bcel-dev/">Archive</a> +<br/> +Replaced by <a href="#Development">Jakarta-wide developer list</a>. +</p> +</div> +</p> +</div> +<div class="section"> +<div class="section-header"> +<a name="BSF"> +<strong>BSF</strong> +</a> +</div> +<p> +<div class="section-body"> +<p> +<b> +<i>Note: Bean Scripting Framework</i> +</b> +</p> +<p> +<b>The BSF User List</b> +<br/> +<a href="mailto:[email protected]">Subscribe</a> +<a href="mailto:[email protected]">Unsubscribe</a> +<a href="mail.html">Guidelines</a> +<a href="http://mail-archives.apache.org/mod_mbox/jakarta-bsf-user/">Archive</a> +</p> +<p> +This list is for users of BSF to ask questions, share knowledge, and +discuss issues related to using BSF. </p> <p> -This is the list where participating developers of BCEL meet -and discuss issues, code changes/additions, etc. Subscribers -to this list get notices of each and every code change, build results, -testing notices, etc. +<b>Old BSF Developer List</b> +<br/> +<a href="http://mail-archives.apache.org/mod_mbox/jakarta-bsf-dev/">Archive</a> +<br/> +Replaced by <a href="#Development">Jakarta-wide developer list</a>. </p> </div> </p> @@ -421,6 +497,11 @@ testing notices, etc. <p> <div class="section-body"> <p> +<b> +<i>Note: Web application unit-test framework</i> +</b> +</p> +<p> <b>The Cactus User List</b> <br/> <a href="mailto:[email protected]">Subscribe</a> @@ -433,17 +514,11 @@ This list is for users of Cactus to ask discuss issues related to using Cactus. </p> <p> -<b>The Cactus Developer List</b> +<b>Old Cactus Developer List</b> <br/> -<a href="mailto:[email protected]">Subscribe</a> -<a href="mailto:[email protected]">Unsubscribe</a> -<a href="mail.html">Guidelines</a> <a href="http://mail-archives.apache.org/mod_mbox/jakarta-cactus-dev/">Archive</a> -</p> -<p> -This is the list where participating developers of Cactus meet and discuss -issues, code changes/additions, etc. Subscribers to this list -get notices of each and every code change, build results, testing notices, etc. +<br/> +Replaced by <a href="#Development">Jakarta-wide developer list</a>. </p> </div> </p> @@ -457,6 +532,12 @@ get notices of each and every code chang <p> <div class="section-body"> <p> +<b> +<i>Note: Element Construction Set</i> +</b> +</p> + +<p> <b>The ECS User List</b> <br/> <a href="mailto:[email protected]">Subscribe</a> @@ -469,65 +550,29 @@ This list is for developers that are usi ask questions, share knowledge, and discuss issues related to using ECS. </p> <p> -<b>The ECS Developer List</b> +<b>Old ECS Developer List</b> <br/> -<a href="mailto:[email protected]">Subscribe</a> -<a href="mailto:[email protected]">Unsubscribe</a> -<a href="mail.html">Guidelines</a> <a href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-dev/">Archive</a> -</p> -<p> -This is the list where participating developers of the Element Construction Set -meet and discuss issues, code changes/additions, etc. Subscribers to this list -get notices of each and every code change, build results, testing notices, etc. +<br/> +Replaced by <a href="#Development">Jakarta-wide developer list</a>. </p> </div> </p> </div> <div class="section"> <div class="section-header"> -<a name="Documentation"> -<strong>Documentation</strong> +<a name="JCS"> +<strong>JCS</strong> </a> </div> <p> <div class="section-body"> <p> <b> -<i>Note: Jakarta Documentation</i> +<i>Note: Java Caching System</i> </b> </p> <p> -<b>The Jakarta Website Change Commit List</b> -<br/> -<a href="mailto:[email protected]">Subscribe</a> -<a href="mailto:[email protected]">Unsubscribe</a> -<a href="mail.html">Guidelines</a> -<a href="http://mail-archives.apache.org/mod_mbox/jakarta-site-cvs/">Archive</a> -Don't send mail to this list -</p> -<p> -Changes to the Jakarta website are echoed to this list. Useful if you -want to find out when this site's been updated. Note, if you have -comments or suggestions about the site please send them to the [email protected] mailing list. Instructions for subscribing -are also on this page. The site is also checked into CVS under the <a href="/site/cvsindex.html">jakarta-site2</a> module. We have fairly good -<a href="/site/jakarta-site2.html">instructions</a> for modifying the -site. <a href="/site/source.html">Patches send to the general@list are -welcomed.</a> -</p> -</div> -</p> -</div> -<div class="section"> -<div class="section-header"> -<a name="JCS"> -<strong>JCS</strong> -</a> -</div> -<p> -<div class="section-body"> -<p> <b>The JCS User List</b> <br/> <a href="mailto:[email protected]">Subscribe</a> @@ -540,15 +585,11 @@ List for JCS users to meet, discuss and Developers will also be lurking around. </p> <p> -<b>The JCS Developer List</b> +<b>Old JCS Developer List</b> <br/> -<a href="mailto:[email protected]">Subscribe</a> -<a href="mailto:[email protected]">Unsubscribe</a> -<a href="mail.html">Guidelines</a> <a href="http://mail-archives.apache.org/mod_mbox/jakarta-jcs-dev/">Archive</a> -</p> -<p> -This list is where discussion of JCS development occurs. +<br/> +Replaced by <a href="#Development">Jakarta-wide developer list</a>. </p> </div> </p> @@ -562,6 +603,11 @@ This list is where discussion of JCS dev <p> <div class="section-body"> <p> +<b> +<i>Note: Load test and performance measurement application</i> +</b> +</p> +<p> <b>The JMeter User List</b> <br/> <a href="mailto:[email protected]">Subscribe</a> @@ -575,20 +621,11 @@ issues. Developers are also expected to offer support to users of Jakarta-JMeter. </p> <p> -<b>The JMeter Developer List</b> +<b>Old JMeter Developer List</b> <br/> -<a href="mailto:[email protected]">Subscribe</a> -<a href="mailto:[email protected]">Unsubscribe</a> -<a href="mail.html">Guidelines</a> <a href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-dev/">Archive</a> -</p> -<p> -This is the list where participating developers of the Jakarta-JMeter -Package meet and discuss issues, code changes/additions, -etc. Subscribers to this list get notices of each and every code -change, build results, testing notices, etc. <b>Do not send mail to -this list with usage questions or configuration problems</b> --- that's what jmeter-user is for. +<br/> +Replaced by <a href="#Development">Jakarta-wide developer list</a>. </p> </div> </p> @@ -620,20 +657,11 @@ issues. Developers are also expected to offer support to users of Jakarta-ORO. </p> <p> -<b>The ORO Developer List</b> +<b>Old ORO Developer List</b> <br/> -<a href="mailto:[email protected]">Subscribe</a> -<a href="mailto:[email protected]">Unsubscribe</a> -<a href="mail.html">Guidelines</a> <a href="http://mail-archives.apache.org/mod_mbox/jakarta-oro-dev/">Archive</a> -</p> -<p> -This is the list where participating developers of the Jakarta-ORO -Package meet and discuss issues, code changes/additions, -etc. Subscribers to this list get notices of each and every code -change, build results, testing notices, etc. <b>Do not send mail to -this list with usage questions or configuration problems</b> --- that's what oro-user is for. +<br/> +Replaced by <a href="#Development">Jakarta-wide developer list</a>. </p> </div> </p> @@ -647,6 +675,11 @@ this list with usage questions or config <p> <div class="section-body"> <p> +<b> +<i>Note: Regular Expressions Library</i> +</b> +</p> +<p> <b>The Regexp User List</b> <br/> <a href="mailto:[email protected]">Subscribe</a> @@ -660,87 +693,70 @@ issues. Developers are also expected to offer support to users of Regexp. </p> <p> -<b>The Regexp Developer List</b> +<b>Old Regexp Developer List</b> <br/> -<a href="mailto:[email protected]">Subscribe</a> -<a href="mailto:[email protected]">Unsubscribe</a> -<a href="mail.html">Guidelines</a> <a href="http://mail-archives.apache.org/mod_mbox/jakarta-regexp-dev/">Archive</a> -</p> -<p> -This is the list where participating developers of the Regexp Package meet -and discuss issues, code changes/additions, etc. Subscribers -to this list get notices of each and every code change, build results, -testing notices, etc. <b>Do not send mail to -this list with usage questions or configuration problems</b> --- that's what regexp-user is for. +<br/> +Replaced by <a href="#Development">Jakarta-wide developer list</a>. </p> </div> </p> </div> <div class="section"> <div class="section-header"> -<a name="Slide"> -<strong>Slide</strong> +<a name="Documentation"> +<strong>Documentation</strong> </a> </div> <p> <div class="section-body"> <p> -<b>The Slide User List</b> +<b>Old Jakarta Website Change Commit List</b> <br/> -<a href="mailto:[email protected]">Subscribe</a> -<a href="mailto:[email protected]">Unsubscribe</a> -<a href="mail.html">Guidelines</a> -<a href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/">Archive</a> -</p> -<p> -This is the list for users of the content management and WebDAV tools -to ask questions about how to install and use these components. Slide -developers should also join this list to offer support to their users. -</p> -<p> -<b>The Slide Developer List</b> +<a href="http://mail-archives.apache.org/mod_mbox/jakarta-site-cvs/">Archive</a> <br/> -<a href="mailto:[email protected]">Subscribe</a> -<a href="mailto:[email protected]">Unsubscribe</a> -<a href="mail.html">Guidelines</a> -<a href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-dev/">Archive</a> -</p> -<p> -Developers working on the content management tools and WebDAV implementation -included in the <strong>slide</strong> project should subscribe to this list. -Subscribers will also get notices of every CVS checkin of new or changed -code modules. <b>Do not send mail to -this list with usage questions or configuration problems</b> --- that's what slide-user is for. +Replaced by <a href="#Development">Jakarta-wide developer list</a>. </p> </div> </p> </div> <div class="section"> <div class="section-header"> -<a name="General"> -<strong>General</strong> +<a name="Retired"> +<strong>Retired</strong> </a> </div> <p> <div class="section-body"> <p> -<b>The Jakarta General Project List</b> +<strong>The following Jakarta subprojects have been retired.</strong> +</p> +<p> +<b>Alexandria</b> <br/> -<a href="mailto:[email protected]">Subscribe</a> -<a href="mailto:[email protected]">Unsubscribe</a> -<a href="mail.html">Guidelines</a> -<a href="http://mail-archives.apache.org/mod_mbox/jakarta-general/">Archive</a> +<a href="http://mail-archives.apache.org/mod_mbox/jakarta-alexandria-user/">Old User List Archive</a> +<br/> +<a href="http://mail-archives.apache.org/mod_mbox/jakarta-alexandria-dev/">Old Development List Archive</a> </p> <p> -This is the project general mailing list. This is where ideas, suggestions, -and comments are exchanged that deal with the <b>*overall* Jakarta project</b>. -<em>READ:</em> This is <b>*not*</b> a place to ask technical questions related to <a href="#tomcat">Tomcat</a>, <a href="#struts">Struts</a> or -<a href="">any other single Jakarta project</a>. -Matters that affect the project as a whole are decided here. If you are interested -in adding a new project to Jakarta, please see <a href="newproject.html">this page</a>. +<b>Slide</b> +<br/> +<a href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/">Old User List Archive</a> +<br/> +<a href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-dev/">Old Development List Archive</a> +<br/> +Moved to Apache Attic, see <a href="http://attic.apache.org">Attic website</a> +for more information. +</p> +<p> +<b>Taglibs</b> +<br/> +<a href="http://mail-archives.apache.org/mod_mbox/jakarta-taglibs-user/">Old User List Archive</a> +<br/> +<a href="http://mail-archives.apache.org/mod_mbox/jakarta-taglibs-dev/">Old Development List Archive</a> +<br/> +Moved to Apache Attic, see <a href="http://attic.apache.org">Attic website</a> +for more information. </p> </div> </p> Modified: jakarta/site/xdocs/site/mail-toc.ent URL: http://svn.apache.org/viewvc/jakarta/site/xdocs/site/mail-toc.ent?rev=936989&r1=936988&r2=936989&view=diff ============================================================================== --- jakarta/site/xdocs/site/mail-toc.ent (original) +++ jakarta/site/xdocs/site/mail-toc.ent Thu Apr 22 18:06:58 2010 @@ -5,23 +5,27 @@ <td>Jakarta:</td> <td><a href="&mail-path;#Announcement">Announcement</a></td> <td><a href="&mail-path;#General">General</a></td> -<td><a href="&mail-path;#Documentation">Documentation</a></td> +<td><a href="&mail-path;#Development">Development</a></td> +</tr> +<tr> +<td></td> +<td><a href="&mail-path;#Notifications">Notifications</a></td> </tr> <tr><td></td></tr> <tr> <td>Subprojects:</td> -<td><a href="&mail-path;#BSF">BSF</a></td> <td><a href="&mail-path;#BCEL">BCEL</a></td> +<td><a href="&mail-path;#BSF">BSF</a></td> <td><a href="&mail-path;#Cactus">Cactus</a></td> </tr> <tr> <td></td> <td><a href="&mail-path;#ECS">ECS</a></td> <td><a href="&mail-path;#JCS">JCS</a></td> +<td><a href="&mail-path;#JMeter">JMeter</a></td> </tr> <tr> <td></td> -<td><a href="&mail-path;#JMeter">JMeter</a></td> <td><a href="&mail-path;#ORO">ORO</a></td> <td><a href="&mail-path;#Regexp">Regexp</a></td> </tr> @@ -30,10 +34,10 @@ </tr> <tr><td></td></tr> <tr> -<td>Retired: </td> -<td><a href="&mail-path;#Alexandria">Alexandria</a></td> -<td><a href="&mail-path;#Slide">Slide</a></td> -<td><a href="&mail-path;#Taglibs">Taglibs</a></td> +<td>Retired:</td> +<td><a href="&mail-path;#Retired">Alexandria</a></td> +<td><a href="&mail-path;#Retired">Slide</a></td> +<td><a href="&mail-path;#Retired">Taglibs</a></td> </tr> </table> </p> Modified: jakarta/site/xdocs/site/mail2.xml URL: http://svn.apache.org/viewvc/jakarta/site/xdocs/site/mail2.xml?rev=936989&r1=936988&r2=936989&view=diff ============================================================================== --- jakarta/site/xdocs/site/mail2.xml (original) +++ jakarta/site/xdocs/site/mail2.xml Thu Apr 22 18:06:58 2010 @@ -50,7 +50,6 @@ There are several sites that archive and <p> <ul> <li><a href="http://mail-archives.apache.org/mod_mbox/">mail-archives.apache.org</a></li> -<li><a href="/mail/">Full mbox archives of all lists.</a></li> <li><a href="http://jakarta.markmail.org/">Mark Mail</a> </li> <li><a href="http://www.mail-archive.com/">mail-archive.com</a> </li> <li><a href="http://marc.theaimsgroup.com/">marc.theaimsgroup.com</a></li> @@ -74,51 +73,83 @@ the time to read all the messages on the to this moderated list to get general announcements. </p> </section> - -<section name="Alexandria"> + +<section name="General"> <p> -<b>The Alexandria User List</b><br/> -<a href="http://mail-archives.apache.org/mod_mbox/jakarta-alexandria-user/">Archive</a> +<b>The Jakarta General Project List</b><br/> +<a href="mailto:[email protected]">Subscribe</a> +<a href="mailto:[email protected]">Unsubscribe</a> +<a href="mail.html">Guidelines</a> +<a href="http://mail-archives.apache.org/mod_mbox/jakarta-general/">Archive</a> </p> <p> -<b>The Alexandria Developer List</b><br/> -<a href="http://mail-archives.apache.org/mod_mbox/jakarta-alexandria-dev/">Archive</a> +This is the project general mailing list. This is where ideas, suggestions, +and comments are exchanged that deal with the <b>*overall* Jakarta project</b>. +<em>READ:</em> This is <b>*not*</b> a place to ask technical questions related to <a href="#tomcat">Tomcat</a>, <a href="#struts">Struts</a> or +<a href="">any other single Jakarta project</a>. +Matters that affect the project as a whole are decided here. If you are interested +in adding a new project to Jakarta, please see <a href="newproject.html">this page</a>. </p> </section> -<section name="BSF"> +<section name="Development"> <p> -<b><i>Note: Bean Scripting Framework</i></b> +<b>The Jakarta Development List</b><br/> +<a href="mailto:[email protected]">Subscribe</a> +<a href="mailto:[email protected]">Unsubscribe</a> +<a href="mail.html">Guidelines</a> +<a href="http://mail-archives.apache.org/mod_mbox/jakarta-dev/">Archive</a> </p> <p> -<b>The BSF User List</b><br/> -<a href="mailto:[email protected]">Subscribe</a> -<a href="mailto:[email protected]">Unsubscribe</a> -<a href="mail.html">Guidelines</a> -<a href="http://mail-archives.apache.org/mod_mbox/jakarta-bsf-user/">Archive</a> +This is the shared mailing list for development discussions related to all +Jakarta subprojects. +<ul> +<li><strong>Please do not send usage questions to this list, see user lists + below.</strong></li> +<li><strong>Since this is a shared mailing list, convention is to prefix + email subjects with the subproject name in square brackets, e.g. [BSF] + or [JMeter].</strong></li> +</ul> </p> <p> -This list is for users of BSF to ask questions, share knowledge, and -discuss issues related to using BSF. +This is the list where participating developers of the each of the +subprojects meet and discuss issues, code changes/additions etc. </p> +</section> + +<section name="Notifications"> <p> -<b>The BSF Developer List</b><br/> -<a href="mailto:[email protected]">Subscribe</a> -<a href="mailto:[email protected]">Unsubscribe</a> +<b>The Jakarta Notifications List</b><br/> +<a href="mailto:[email protected]">Subscribe</a> +<a href="mailto:[email protected]">Unsubscribe</a> <a href="mail.html">Guidelines</a> -<a href="http://mail-archives.apache.org/mod_mbox/jakarta-bsf-dev/">Archive</a> +<a href="http://mail-archives.apache.org/mod_mbox/jakarta-notifications/">Archive</a> </p> <p> -This is the list where participating developers of BSF meet -and discuss issues, code changes/additions, etc. Subscribers -to this list get notices of each and every code change, build results, -testing notices, etc. +This is the shared mailing list for automated notification messages related +to all Jakarta subprojects. These include SVN commit messages, issue tracker +notifications (Bugzilla and JIRA), build notifications (Hudson, buildbot) +and Gump nags. +<ul> +<li><strong>This is the list for automated messages, please do not send + email to this list. Please send usage questions to user lists + below.</strong></li> +<li><strong>Subscribers to this list get notices of each and every code + change, build results, testing notices, etc.</strong></li> +</ul> +</p> +<p> +Changes to the Jakarta website are echoed to this list. If you have +comments or suggestions about the site please send them to the [email protected] mailing list. We have fairly good +<a href="/site/jakarta-site2.html">instructions</a> for modifying the +site and creating <a href="/site/source.html">patches</a>. </p> </section> <section name="BCEL"> <p> -<b><i>Note: Byte Code Enginerring Library</i></b> +<b><i>Note: Byte Code Engineering Library</i></b> </p> <p> <b>The BCEL User List</b><br/> @@ -132,22 +163,39 @@ This list is for users of BCEL to ask qu discuss issues related to using BCEL. </p> <p> -<b>The BCEL Developer List</b><br/> -<a href="mailto:[email protected]">Subscribe</a> -<a href="mailto:[email protected]">Unsubscribe</a> +<b>Old BCEL Developer List</b><br/> +<a href="http://mail-archives.apache.org/mod_mbox/jakarta-bcel-dev/">Archive</a><br/> +Replaced by <a href="#Development">Jakarta-wide developer list</a>. +</p> +</section> + +<section name="BSF"> +<p> +<b><i>Note: Bean Scripting Framework</i></b> +</p> +<p> +<b>The BSF User List</b><br/> +<a href="mailto:[email protected]">Subscribe</a> +<a href="mailto:[email protected]">Unsubscribe</a> <a href="mail.html">Guidelines</a> -<a href="http://mail-archives.apache.org/mod_mbox/jakarta-bcel-dev/">Archive</a> +<a href="http://mail-archives.apache.org/mod_mbox/jakarta-bsf-user/">Archive</a> +</p> +<p> +This list is for users of BSF to ask questions, share knowledge, and +discuss issues related to using BSF. </p> <p> -This is the list where participating developers of BCEL meet -and discuss issues, code changes/additions, etc. Subscribers -to this list get notices of each and every code change, build results, -testing notices, etc. +<b>Old BSF Developer List</b><br/> +<a href="http://mail-archives.apache.org/mod_mbox/jakarta-bsf-dev/">Archive</a><br/> +Replaced by <a href="#Development">Jakarta-wide developer list</a>. </p> </section> <section name="Cactus"> <p> +<b><i>Note: Web application unit-test framework</i></b> +</p> +<p> <b>The Cactus User List</b><br/> <a href="mailto:[email protected]">Subscribe</a> <a href="mailto:[email protected]">Unsubscribe</a> @@ -159,22 +207,19 @@ This list is for users of Cactus to ask discuss issues related to using Cactus. </p> <p> -<b>The Cactus Developer List</b><br/> -<a href="mailto:[email protected]">Subscribe</a> -<a href="mailto:[email protected]">Unsubscribe</a> -<a href="mail.html">Guidelines</a> -<a href="http://mail-archives.apache.org/mod_mbox/jakarta-cactus-dev/">Archive</a> -</p> -<p> -This is the list where participating developers of Cactus meet and discuss -issues, code changes/additions, etc. Subscribers to this list -get notices of each and every code change, build results, testing notices, etc. +<b>Old Cactus Developer List</b><br/> +<a href="http://mail-archives.apache.org/mod_mbox/jakarta-cactus-dev/">Archive</a><br/> +Replaced by <a href="#Development">Jakarta-wide developer list</a>. </p> </section> <section name="ECS"> <p> +<b><i>Note: Element Construction Set</i></b> +</p> + +<p> <b>The ECS User List</b><br/> <a href="mailto:[email protected]">Subscribe</a> <a href="mailto:[email protected]">Unsubscribe</a> @@ -186,46 +231,16 @@ This list is for developers that are usi ask questions, share knowledge, and discuss issues related to using ECS. </p> <p> -<b>The ECS Developer List</b><br/> -<a href="mailto:[email protected]">Subscribe</a> -<a href="mailto:[email protected]">Unsubscribe</a> -<a href="mail.html">Guidelines</a> -<a href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-dev/">Archive</a> -</p> -<p> -This is the list where participating developers of the Element Construction Set -meet and discuss issues, code changes/additions, etc. Subscribers to this list -get notices of each and every code change, build results, testing notices, etc. +<b>Old ECS Developer List</b><br/> +<a href="http://mail-archives.apache.org/mod_mbox/jakarta-ecs-dev/">Archive</a><br/> +Replaced by <a href="#Development">Jakarta-wide developer list</a>. </p> </section> -<section name="Documentation"> -<p> -<b><i>Note: Jakarta Documentation</i></b> -</p> -<p> -<b>The Jakarta Website Change Commit List</b><br /> -<a href="mailto:[email protected]">Subscribe</a> -<a href="mailto:[email protected]">Unsubscribe</a> -<a href="mail.html">Guidelines</a> -<a href="http://mail-archives.apache.org/mod_mbox/jakarta-site-cvs/">Archive</a> -Don't send mail to this list -</p> +<section name="JCS"> <p> -Changes to the Jakarta website are echoed to this list. Useful if you -want to find out when this site's been updated. Note, if you have -comments or suggestions about the site please send them to the [email protected] mailing list. Instructions for subscribing -are also on this page. The site is also checked into CVS under the <a -href="/site/cvsindex.html">jakarta-site2</a> module. We have fairly good -<a href="/site/jakarta-site2.html">instructions</a> for modifying the -site. <a href="/site/source.html">Patches send to the general@list are -welcomed.</a> +<b><i>Note: Java Caching System</i></b> </p> -</section> - - -<section name="JCS"> <p> <b>The JCS User List</b><br/> <a href="mailto:[email protected]">Subscribe</a> @@ -238,19 +253,17 @@ List for JCS users to meet, discuss and Developers will also be lurking around. </p> <p> -<b>The JCS Developer List</b><br/> -<a href="mailto:[email protected]">Subscribe</a> -<a href="mailto:[email protected]">Unsubscribe</a> -<a href="mail.html">Guidelines</a> -<a href="http://mail-archives.apache.org/mod_mbox/jakarta-jcs-dev/">Archive</a> -</p> -<p> -This list is where discussion of JCS development occurs. +<b>Old JCS Developer List</b><br/> +<a href="http://mail-archives.apache.org/mod_mbox/jakarta-jcs-dev/">Archive</a><br/> +Replaced by <a href="#Development">Jakarta-wide developer list</a>. </p> </section> <section name="JMeter"> <p> +<b><i>Note: Load test and performance measurement application</i></b> +</p> +<p> <b>The JMeter User List</b><br/> <a href="mailto:[email protected]">Subscribe</a> <a href="mailto:[email protected]">Unsubscribe</a> @@ -263,23 +276,12 @@ issues. Developers are also expected to offer support to users of Jakarta-JMeter. </p> <p> -<b>The JMeter Developer List</b><br/> -<a href="mailto:[email protected]">Subscribe</a> -<a href="mailto:[email protected]">Unsubscribe</a> -<a href="mail.html">Guidelines</a> -<a href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-dev/">Archive</a> -</p> -<p> -This is the list where participating developers of the Jakarta-JMeter -Package meet and discuss issues, code changes/additions, -etc. Subscribers to this list get notices of each and every code -change, build results, testing notices, etc. <b>Do not send mail to -this list with usage questions or configuration problems</b> --- that's what jmeter-user is for. +<b>Old JMeter Developer List</b><br/> +<a href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-dev/">Archive</a><br/> +Replaced by <a href="#Development">Jakarta-wide developer list</a>. </p> </section> - <section name="ORO"> <p> <b><i>Note: APIs for Regular Expressions</i></b> @@ -297,24 +299,17 @@ issues. Developers are also expected to offer support to users of Jakarta-ORO. </p> <p> -<b>The ORO Developer List</b><br/> -<a href="mailto:[email protected]">Subscribe</a> -<a href="mailto:[email protected]">Unsubscribe</a> -<a href="mail.html">Guidelines</a> -<a href="http://mail-archives.apache.org/mod_mbox/jakarta-oro-dev/">Archive</a> -</p> -<p> -This is the list where participating developers of the Jakarta-ORO -Package meet and discuss issues, code changes/additions, -etc. Subscribers to this list get notices of each and every code -change, build results, testing notices, etc. <b>Do not send mail to -this list with usage questions or configuration problems</b> --- that's what oro-user is for. +<b>Old ORO Developer List</b><br/> +<a href="http://mail-archives.apache.org/mod_mbox/jakarta-oro-dev/">Archive</a><br/> +Replaced by <a href="#Development">Jakarta-wide developer list</a>. </p> </section> <section name="Regexp"> <p> +<b><i>Note: Regular Expressions Library</i></b> +</p> +<p> <b>The Regexp User List</b><br/> <a href="mailto:[email protected]">Subscribe</a> <a href="mailto:[email protected]">Unsubscribe</a> @@ -327,70 +322,44 @@ issues. Developers are also expected to offer support to users of Regexp. </p> <p> -<b>The Regexp Developer List</b><br/> -<a href="mailto:[email protected]">Subscribe</a> -<a href="mailto:[email protected]">Unsubscribe</a> -<a href="mail.html">Guidelines</a> -<a href="http://mail-archives.apache.org/mod_mbox/jakarta-regexp-dev/">Archive</a> +<b>Old Regexp Developer List</b><br/> +<a href="http://mail-archives.apache.org/mod_mbox/jakarta-regexp-dev/">Archive</a><br/> +Replaced by <a href="#Development">Jakarta-wide developer list</a>. </p> +</section> + +<section name="Documentation"> <p> -This is the list where participating developers of the Regexp Package meet -and discuss issues, code changes/additions, etc. Subscribers -to this list get notices of each and every code change, build results, -testing notices, etc. <b>Do not send mail to -this list with usage questions or configuration problems</b> --- that's what regexp-user is for. +<b>Old Jakarta Website Change Commit List</b><br /> +<a href="http://mail-archives.apache.org/mod_mbox/jakarta-site-cvs/">Archive</a><br/> +Replaced by <a href="#Development">Jakarta-wide developer list</a>. </p> </section> -<section name="Slide"> +<section name="Retired"> <p> -<b>The Slide User List</b><br/> -<a href="mailto:[email protected]">Subscribe</a> -<a href="mailto:[email protected]">Unsubscribe</a> -<a href="mail.html">Guidelines</a> -<a href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/">Archive</a> +<strong>The following Jakarta subprojects have been retired.</strong> </p> <p> -This is the list for users of the content management and WebDAV tools -to ask questions about how to install and use these components. Slide -developers should also join this list to offer support to their users. +<b>Alexandria</b><br/> +<a href="http://mail-archives.apache.org/mod_mbox/jakarta-alexandria-user/">Old User List Archive</a><br/> +<a href="http://mail-archives.apache.org/mod_mbox/jakarta-alexandria-dev/">Old Development List Archive</a> </p> <p> -<b>The Slide Developer List</b><br/> -<a href="mailto:[email protected]">Subscribe</a> -<a href="mailto:[email protected]">Unsubscribe</a> -<a href="mail.html">Guidelines</a> -<a href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-dev/">Archive</a> +<b>Slide</b><br/> +<a href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/">Old User List Archive</a><br/> +<a href="http://mail-archives.apache.org/mod_mbox/jakarta-slide-dev/">Old Development List Archive</a><br/> +Moved to Apache Attic, see <a href="http://attic.apache.org">Attic website</a> +for more information. </p> <p> -Developers working on the content management tools and WebDAV implementation -included in the <strong>slide</strong> project should subscribe to this list. -Subscribers will also get notices of every CVS checkin of new or changed -code modules. <b>Do not send mail to -this list with usage questions or configuration problems</b> --- that's what slide-user is for. +<b>Taglibs</b><br/> +<a href="http://mail-archives.apache.org/mod_mbox/jakarta-taglibs-user/">Old User List Archive</a><br/> +<a href="http://mail-archives.apache.org/mod_mbox/jakarta-taglibs-dev/">Old Development List Archive</a><br/> +Moved to Apache Attic, see <a href="http://attic.apache.org">Attic website</a> +for more information. </p> </section> -<section name="General"> -<p> -<b>The Jakarta General Project List</b><br/> -<a href="mailto:[email protected]">Subscribe</a> -<a href="mailto:[email protected]">Unsubscribe</a> -<a href="mail.html">Guidelines</a> -<a href="http://mail-archives.apache.org/mod_mbox/jakarta-general/">Archive</a> -</p> -<p> -This is the project general mailing list. This is where ideas, suggestions, -and comments are exchanged that deal with the <b>*overall* Jakarta project</b>. -<em>READ:</em> This is <b>*not*</b> a place to ask technical questions related to <a href="#tomcat">Tomcat</a>, <a href="#struts">Struts</a> or -<a href="">any other single Jakarta project</a>. -Matters that affect the project as a whole are decided here. If you are interested -in adding a new project to Jakarta, please see <a href="newproject.html">this page</a>. -</p> -</section> - - </body> </document> From [email protected] Fri Apr 23 23:54:57 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 34213 invoked from network); 23 Apr 2010 23:54:56 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 23 Apr 2010 23:54:56 -0000 Received: (qmail 8793 invoked by uid 500); 23 Apr 2010 23:54:55 -0000 Delivered-To: [email protected] Received: (qmail 8653 invoked by uid 500); 23 Apr 2010 23:54:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> #Reply-To: [email protected] Reply-To: <dev>@jakarta.apache.org Delivered-To: mailing list [email protected] Received: (qmail 8646 invoked by uid 99); 23 Apr 2010 23:54:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Apr 2010 23:54:55 +0000 X-ASF-Spam-Status: No, hits=-1750.3 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Apr 2010 23:54:49 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 1FC7D23889B6; Fri, 23 Apr 2010 23:54:08 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r937555 - in /jakarta/site: docs/ docs/site/ docs/site/downloads/ docs/site/news/ docs/site/pmc/ xdocs/stylesheets/ Date: Fri, 23 Apr 2010 23:54:06 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: rahul Date: Fri Apr 23 23:54:03 2010 New Revision: 937555 URL: http://svn.apache.org/viewvc?rev=937555&view=rev Log: Update copyright year on site. Modified: jakarta/site/docs/index.html jakarta/site/docs/site/bugs.html jakarta/site/docs/site/communication.html jakarta/site/docs/site/contact.html jakarta/site/docs/site/contributing.html jakarta/site/docs/site/cvsindex.html jakarta/site/docs/site/decisions.html jakarta/site/docs/site/dirlayout.html jakarta/site/docs/site/downloads/downloads_bcel.html jakarta/site/docs/site/downloads/downloads_bsf.html jakarta/site/docs/site/downloads/downloads_cactus.html jakarta/site/docs/site/downloads/downloads_ecs.html jakarta/site/docs/site/downloads/downloads_jcs.html jakarta/site/docs/site/downloads/downloads_jmeter.html jakarta/site/docs/site/downloads/downloads_oro.html jakarta/site/docs/site/downloads/downloads_regexp.html jakarta/site/docs/site/downloads/downloads_taglibs-application.html jakarta/site/docs/site/downloads/downloads_taglibs-benchmark.html jakarta/site/docs/site/downloads/downloads_taglibs-datetime.html jakarta/site/docs/site/downloads/downloads_taglibs-dbtags.html jakarta/site/docs/site/downloads/downloads_taglibs-log.html jakarta/site/docs/site/downloads/downloads_taglibs-mailer.html jakarta/site/docs/site/downloads/downloads_taglibs-page.html jakarta/site/docs/site/downloads/downloads_taglibs-random.html jakarta/site/docs/site/downloads/downloads_taglibs-rdc.html jakarta/site/docs/site/downloads/downloads_taglibs-regexp.html jakarta/site/docs/site/downloads/downloads_taglibs-request.html jakarta/site/docs/site/downloads/downloads_taglibs-response.html jakarta/site/docs/site/downloads/downloads_taglibs-session.html jakarta/site/docs/site/downloads/downloads_taglibs-standard-1.0.html jakarta/site/docs/site/downloads/downloads_taglibs-standard.html jakarta/site/docs/site/downloads/downloads_taglibs-string.html jakarta/site/docs/site/downloads/downloads_taglibs-xsl.html jakarta/site/docs/site/downloads/downloads_taglibs.html jakarta/site/docs/site/downloads/index.html jakarta/site/docs/site/guidelines.html jakarta/site/docs/site/jakarta-site-tags-example.html jakarta/site/docs/site/jakarta-site2.html jakarta/site/docs/site/jspa-agreement.html jakarta/site/docs/site/jspa-position.html jakarta/site/docs/site/legal.html jakarta/site/docs/site/library.html jakarta/site/docs/site/mail.html jakarta/site/docs/site/mail2.html jakarta/site/docs/site/management.html jakarta/site/docs/site/newproject.html jakarta/site/docs/site/news/200206.html jakarta/site/docs/site/news/200207.html jakarta/site/docs/site/news/200208.html jakarta/site/docs/site/news/200209.html jakarta/site/docs/site/news/200210.html jakarta/site/docs/site/news/200211.html jakarta/site/docs/site/news/200212.html jakarta/site/docs/site/news/200301.html jakarta/site/docs/site/news/200303.html jakarta/site/docs/site/news/200305.html jakarta/site/docs/site/news/editor.html jakarta/site/docs/site/news/elsewhere-2002.html jakarta/site/docs/site/news/elsewhere-2003.html jakarta/site/docs/site/news/elsewhere-2004-1stHalf.html jakarta/site/docs/site/news/elsewhere-2004-2ndHalf.html jakarta/site/docs/site/news/index.html jakarta/site/docs/site/news/news-2000.html jakarta/site/docs/site/news/news-2001.html jakarta/site/docs/site/news/news-2002.html jakarta/site/docs/site/news/news-2003.html jakarta/site/docs/site/news/news-2004-1stHalf.html jakarta/site/docs/site/news/news-2004-2ndHalf.html jakarta/site/docs/site/news/news-2005-q1.html jakarta/site/docs/site/news/news-2005-q2.html jakarta/site/docs/site/news/news-2005-q3.html jakarta/site/docs/site/news/news-2005-q4.html jakarta/site/docs/site/news/news-2006-q1.html jakarta/site/docs/site/news/news-2006-q2.html jakarta/site/docs/site/news/news-2006-q3.html jakarta/site/docs/site/news/news-2006-q4.html jakarta/site/docs/site/news/news-2007-q1.html jakarta/site/docs/site/news/news-2007-q2.html jakarta/site/docs/site/news/news-2007-q3.html jakarta/site/docs/site/news/news-2007-q4.html jakarta/site/docs/site/news/news-2008-q1.html jakarta/site/docs/site/news/news-2008-q2.html jakarta/site/docs/site/news/news-2009-q1.html jakarta/site/docs/site/news/news-2009-q2.html jakarta/site/docs/site/news/news-2009-q4.html jakarta/site/docs/site/packageversioning.html jakarta/site/docs/site/pmc/01-01-17-meeting-minutes.html jakarta/site/docs/site/pmc/01-01-17-pictures.html jakarta/site/docs/site/pmc/01-03-19-meeting-agenda.html jakarta/site/docs/site/pmc/01-03-19-meeting-irclog.html jakarta/site/docs/site/pmc/01-03-19-meeting-summary.html jakarta/site/docs/site/pmc/01-04-22-meeting-irclog.html jakarta/site/docs/site/pmc/02-01-30-elections.html jakarta/site/docs/site/pmc/board-report-december2004.html jakarta/site/docs/site/pmc/board-report-december2005.html jakarta/site/docs/site/pmc/board-report-july2004.html jakarta/site/docs/site/pmc/board-report-june2005.html jakarta/site/docs/site/pmc/board-report-june2006.html jakarta/site/docs/site/pmc/board-report-march2004.html jakarta/site/docs/site/pmc/board-report-march2005.html jakarta/site/docs/site/pmc/board-report-march2006.html jakarta/site/docs/site/pmc/board-report-september2004.html jakarta/site/docs/site/pmc/board-report-september2005.html jakarta/site/docs/site/pmc/board-report-september2006.html jakarta/site/docs/site/pmc/board-reports.html jakarta/site/docs/site/pmc/index.html jakarta/site/docs/site/proposal.html jakarta/site/docs/site/retired-projects.html jakarta/site/docs/site/retired-taglibs.html jakarta/site/docs/site/roles.html jakarta/site/docs/site/source.html jakarta/site/docs/site/understandingopensource.html jakarta/site/docs/site/versioning.html jakarta/site/docs/site/whoweare.html jakarta/site/xdocs/stylesheets/site.xsl Modified: jakarta/site/docs/index.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/index.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/index.html (original) +++ jakarta/site/docs/index.html Fri Apr 23 23:54:03 2010 @@ -433,7 +433,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/bugs.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/bugs.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/bugs.html (original) +++ jakarta/site/docs/site/bugs.html Fri Apr 23 23:54:03 2010 @@ -313,7 +313,7 @@ details. <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/communication.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/communication.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/communication.html (original) +++ jakarta/site/docs/site/communication.html Fri Apr 23 23:54:03 2010 @@ -359,7 +359,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/contact.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/contact.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/contact.html (original) +++ jakarta/site/docs/site/contact.html Fri Apr 23 23:54:03 2010 @@ -354,7 +354,7 @@ Comments regarding these pages can be di <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/contributing.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/contributing.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/contributing.html (original) +++ jakarta/site/docs/site/contributing.html Fri Apr 23 23:54:03 2010 @@ -400,7 +400,7 @@ Craig <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/cvsindex.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/cvsindex.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/cvsindex.html (original) +++ jakarta/site/docs/site/cvsindex.html Fri Apr 23 23:54:03 2010 @@ -411,7 +411,7 @@ or even request commit privileges, pleas <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/decisions.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/decisions.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/decisions.html (original) +++ jakarta/site/docs/site/decisions.html Fri Apr 23 23:54:03 2010 @@ -421,7 +421,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/dirlayout.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/dirlayout.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/dirlayout.html (original) +++ jakarta/site/docs/site/dirlayout.html Fri Apr 23 23:54:03 2010 @@ -576,7 +576,7 @@ target names, etc. in this document? [JS <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/downloads/downloads_bcel.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/downloads/downloads_bcel.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/downloads/downloads_bcel.html (original) +++ jakarta/site/docs/site/downloads/downloads_bcel.html Fri Apr 23 23:54:03 2010 @@ -398,7 +398,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/downloads/downloads_bsf.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/downloads/downloads_bsf.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/downloads/downloads_bsf.html (original) +++ jakarta/site/docs/site/downloads/downloads_bsf.html Fri Apr 23 23:54:03 2010 @@ -434,7 +434,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/downloads/downloads_cactus.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/downloads/downloads_cactus.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/downloads/downloads_cactus.html (original) +++ jakarta/site/docs/site/downloads/downloads_cactus.html Fri Apr 23 23:54:03 2010 @@ -414,7 +414,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/downloads/downloads_ecs.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/downloads/downloads_ecs.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/downloads/downloads_ecs.html (original) +++ jakarta/site/docs/site/downloads/downloads_ecs.html Fri Apr 23 23:54:03 2010 @@ -398,7 +398,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/downloads/downloads_jcs.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/downloads/downloads_jcs.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/downloads/downloads_jcs.html (original) +++ jakarta/site/docs/site/downloads/downloads_jcs.html Fri Apr 23 23:54:03 2010 @@ -392,7 +392,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/downloads/downloads_jmeter.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/downloads/downloads_jmeter.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/downloads/downloads_jmeter.html (original) +++ jakarta/site/docs/site/downloads/downloads_jmeter.html Fri Apr 23 23:54:03 2010 @@ -398,7 +398,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/downloads/downloads_oro.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/downloads/downloads_oro.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/downloads/downloads_oro.html (original) +++ jakarta/site/docs/site/downloads/downloads_oro.html Fri Apr 23 23:54:03 2010 @@ -398,7 +398,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/downloads/downloads_regexp.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/downloads/downloads_regexp.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/downloads/downloads_regexp.html (original) +++ jakarta/site/docs/site/downloads/downloads_regexp.html Fri Apr 23 23:54:03 2010 @@ -373,7 +373,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/downloads/downloads_taglibs-application.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/downloads/downloads_taglibs-application.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/downloads/downloads_taglibs-application.html (original) +++ jakarta/site/docs/site/downloads/downloads_taglibs-application.html Fri Apr 23 23:54:03 2010 @@ -359,7 +359,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/downloads/downloads_taglibs-benchmark.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/downloads/downloads_taglibs-benchmark.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/downloads/downloads_taglibs-benchmark.html (original) +++ jakarta/site/docs/site/downloads/downloads_taglibs-benchmark.html Fri Apr 23 23:54:03 2010 @@ -359,7 +359,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/downloads/downloads_taglibs-datetime.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/downloads/downloads_taglibs-datetime.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/downloads/downloads_taglibs-datetime.html (original) +++ jakarta/site/docs/site/downloads/downloads_taglibs-datetime.html Fri Apr 23 23:54:03 2010 @@ -359,7 +359,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/downloads/downloads_taglibs-dbtags.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/downloads/downloads_taglibs-dbtags.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/downloads/downloads_taglibs-dbtags.html (original) +++ jakarta/site/docs/site/downloads/downloads_taglibs-dbtags.html Fri Apr 23 23:54:03 2010 @@ -359,7 +359,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/downloads/downloads_taglibs-log.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/downloads/downloads_taglibs-log.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/downloads/downloads_taglibs-log.html (original) +++ jakarta/site/docs/site/downloads/downloads_taglibs-log.html Fri Apr 23 23:54:03 2010 @@ -359,7 +359,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/downloads/downloads_taglibs-mailer.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/downloads/downloads_taglibs-mailer.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/downloads/downloads_taglibs-mailer.html (original) +++ jakarta/site/docs/site/downloads/downloads_taglibs-mailer.html Fri Apr 23 23:54:03 2010 @@ -359,7 +359,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/downloads/downloads_taglibs-page.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/downloads/downloads_taglibs-page.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/downloads/downloads_taglibs-page.html (original) +++ jakarta/site/docs/site/downloads/downloads_taglibs-page.html Fri Apr 23 23:54:03 2010 @@ -359,7 +359,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/downloads/downloads_taglibs-random.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/downloads/downloads_taglibs-random.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/downloads/downloads_taglibs-random.html (original) +++ jakarta/site/docs/site/downloads/downloads_taglibs-random.html Fri Apr 23 23:54:03 2010 @@ -359,7 +359,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/downloads/downloads_taglibs-rdc.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/downloads/downloads_taglibs-rdc.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/downloads/downloads_taglibs-rdc.html (original) +++ jakarta/site/docs/site/downloads/downloads_taglibs-rdc.html Fri Apr 23 23:54:03 2010 @@ -393,7 +393,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/downloads/downloads_taglibs-regexp.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/downloads/downloads_taglibs-regexp.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/downloads/downloads_taglibs-regexp.html (original) +++ jakarta/site/docs/site/downloads/downloads_taglibs-regexp.html Fri Apr 23 23:54:03 2010 @@ -359,7 +359,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/downloads/downloads_taglibs-request.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/downloads/downloads_taglibs-request.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/downloads/downloads_taglibs-request.html (original) +++ jakarta/site/docs/site/downloads/downloads_taglibs-request.html Fri Apr 23 23:54:03 2010 @@ -359,7 +359,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/downloads/downloads_taglibs-response.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/downloads/downloads_taglibs-response.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/downloads/downloads_taglibs-response.html (original) +++ jakarta/site/docs/site/downloads/downloads_taglibs-response.html Fri Apr 23 23:54:03 2010 @@ -359,7 +359,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/downloads/downloads_taglibs-session.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/downloads/downloads_taglibs-session.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/downloads/downloads_taglibs-session.html (original) +++ jakarta/site/docs/site/downloads/downloads_taglibs-session.html Fri Apr 23 23:54:03 2010 @@ -359,7 +359,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/downloads/downloads_taglibs-standard-1.0.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/downloads/downloads_taglibs-standard-1.0.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/downloads/downloads_taglibs-standard-1.0.html (original) +++ jakarta/site/docs/site/downloads/downloads_taglibs-standard-1.0.html Fri Apr 23 23:54:03 2010 @@ -405,7 +405,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/downloads/downloads_taglibs-standard.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/downloads/downloads_taglibs-standard.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/downloads/downloads_taglibs-standard.html (original) +++ jakarta/site/docs/site/downloads/downloads_taglibs-standard.html Fri Apr 23 23:54:03 2010 @@ -389,7 +389,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/downloads/downloads_taglibs-string.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/downloads/downloads_taglibs-string.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/downloads/downloads_taglibs-string.html (original) +++ jakarta/site/docs/site/downloads/downloads_taglibs-string.html Fri Apr 23 23:54:03 2010 @@ -359,7 +359,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/downloads/downloads_taglibs-xsl.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/downloads/downloads_taglibs-xsl.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/downloads/downloads_taglibs-xsl.html (original) +++ jakarta/site/docs/site/downloads/downloads_taglibs-xsl.html Fri Apr 23 23:54:03 2010 @@ -359,7 +359,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/downloads/downloads_taglibs.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/downloads/downloads_taglibs.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/downloads/downloads_taglibs.html (original) +++ jakarta/site/docs/site/downloads/downloads_taglibs.html Fri Apr 23 23:54:03 2010 @@ -356,7 +356,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/downloads/index.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/downloads/index.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/downloads/index.html (original) +++ jakarta/site/docs/site/downloads/index.html Fri Apr 23 23:54:03 2010 @@ -319,7 +319,7 @@ Binary and source releases and links int <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/guidelines.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/guidelines.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/guidelines.html (original) +++ jakarta/site/docs/site/guidelines.html Fri Apr 23 23:54:03 2010 @@ -331,7 +331,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/jakarta-site-tags-example.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/jakarta-site-tags-example.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/jakarta-site-tags-example.html (original) +++ jakarta/site/docs/site/jakarta-site-tags-example.html Fri Apr 23 23:54:03 2010 @@ -335,7 +335,7 @@ This is section 3. <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/jakarta-site2.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/jakarta-site2.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/jakarta-site2.html (original) +++ jakarta/site/docs/site/jakarta-site2.html Fri Apr 23 23:54:03 2010 @@ -440,7 +440,7 @@ browser to see the generated HTML markup <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/jspa-agreement.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/jspa-agreement.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/jspa-agreement.html (original) +++ jakarta/site/docs/site/jspa-agreement.html Fri Apr 23 23:54:03 2010 @@ -399,7 +399,7 @@ press<b>AT</b>apache.org<br/> <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/jspa-position.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/jspa-position.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/jspa-position.html (original) +++ jakarta/site/docs/site/jspa-position.html Fri Apr 23 23:54:03 2010 @@ -440,7 +440,7 @@ been satisfied</a>. <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/legal.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/legal.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/legal.html (original) +++ jakarta/site/docs/site/legal.html Fri Apr 23 23:54:03 2010 @@ -303,7 +303,7 @@ All software produced by The Apache Soft <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/library.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/library.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/library.html (original) +++ jakarta/site/docs/site/library.html Fri Apr 23 23:54:03 2010 @@ -364,7 +364,7 @@ licensing use of the software, and packa <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/mail.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/mail.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/mail.html (original) +++ jakarta/site/docs/site/mail.html Fri Apr 23 23:54:03 2010 @@ -535,7 +535,7 @@ yourself the embarrassment. <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/mail2.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/mail2.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/mail2.html (original) +++ jakarta/site/docs/site/mail2.html Fri Apr 23 23:54:03 2010 @@ -871,7 +871,7 @@ for more information. <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/management.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/management.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/management.html (original) +++ jakarta/site/docs/site/management.html Fri Apr 23 23:54:03 2010 @@ -338,7 +338,7 @@ to be a need for incubation. <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/newproject.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/newproject.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/newproject.html (original) +++ jakarta/site/docs/site/newproject.html Fri Apr 23 23:54:03 2010 @@ -554,7 +554,7 @@ the General list, including the final vo <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/news/200206.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/news/200206.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/news/200206.html (original) +++ jakarta/site/docs/site/news/200206.html Fri Apr 23 23:54:03 2010 @@ -1106,7 +1106,7 @@ The major goals for Apache Tomcat 5.0 ar <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/news/200207.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/news/200207.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/news/200207.html (original) +++ jakarta/site/docs/site/news/200207.html Fri Apr 23 23:54:03 2010 @@ -951,7 +951,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/news/200208.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/news/200208.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/news/200208.html (original) +++ jakarta/site/docs/site/news/200208.html Fri Apr 23 23:54:03 2010 @@ -962,7 +962,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/news/200209.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/news/200209.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/news/200209.html (original) +++ jakarta/site/docs/site/news/200209.html Fri Apr 23 23:54:03 2010 @@ -272,7 +272,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/news/200210.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/news/200210.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/news/200210.html (original) +++ jakarta/site/docs/site/news/200210.html Fri Apr 23 23:54:03 2010 @@ -714,7 +714,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/news/200211.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/news/200211.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/news/200211.html (original) +++ jakarta/site/docs/site/news/200211.html Fri Apr 23 23:54:03 2010 @@ -678,7 +678,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/news/200212.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/news/200212.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/news/200212.html (original) +++ jakarta/site/docs/site/news/200212.html Fri Apr 23 23:54:03 2010 @@ -584,7 +584,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/news/200301.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/news/200301.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/news/200301.html (original) +++ jakarta/site/docs/site/news/200301.html Fri Apr 23 23:54:03 2010 @@ -764,7 +764,7 @@ for packaging the first release candidat <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/news/200303.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/news/200303.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/news/200303.html (original) +++ jakarta/site/docs/site/news/200303.html Fri Apr 23 23:54:03 2010 @@ -911,7 +911,7 @@ http://mail-archives.apache.org/eyebrows <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/news/200305.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/news/200305.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/news/200305.html (original) +++ jakarta/site/docs/site/news/200305.html Fri Apr 23 23:54:03 2010 @@ -1518,7 +1518,7 @@ For more information, visit the Apache J <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/news/editor.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/news/editor.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/news/editor.html (original) +++ jakarta/site/docs/site/news/editor.html Fri Apr 23 23:54:03 2010 @@ -571,7 +571,7 @@ That's all there is to editing the newsl <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/news/elsewhere-2002.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/news/elsewhere-2002.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/news/elsewhere-2002.html (original) +++ jakarta/site/docs/site/news/elsewhere-2002.html Fri Apr 23 23:54:03 2010 @@ -610,7 +610,7 @@ Jakarta Struts, and other Java Web appli <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/news/elsewhere-2003.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/news/elsewhere-2003.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/news/elsewhere-2003.html (original) +++ jakarta/site/docs/site/news/elsewhere-2003.html Fri Apr 23 23:54:03 2010 @@ -2257,7 +2257,7 @@ See above for description and links. <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/news/elsewhere-2004-1stHalf.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/news/elsewhere-2004-1stHalf.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/news/elsewhere-2004-1stHalf.html (original) +++ jakarta/site/docs/site/news/elsewhere-2004-1stHalf.html Fri Apr 23 23:54:03 2010 @@ -942,7 +942,7 @@ but that's blogging... <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/news/elsewhere-2004-2ndHalf.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/news/elsewhere-2004-2ndHalf.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/news/elsewhere-2004-2ndHalf.html (original) +++ jakarta/site/docs/site/news/elsewhere-2004-2ndHalf.html Fri Apr 23 23:54:03 2010 @@ -769,7 +769,7 @@ The Apache Maven Team <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/news/index.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/news/index.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/news/index.html (original) +++ jakarta/site/docs/site/news/index.html Fri Apr 23 23:54:03 2010 @@ -2250,7 +2250,7 @@ Open-source Apache project solidifies st <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/news/news-2000.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/news/news-2000.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/news/news-2000.html (original) +++ jakarta/site/docs/site/news/news-2000.html Fri Apr 23 23:54:03 2010 @@ -601,7 +601,7 @@ future releases of Tomcat, <a href="./ge <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/news/news-2001.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/news/news-2001.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/news/news-2001.html (original) +++ jakarta/site/docs/site/news/news-2001.html Fri Apr 23 23:54:03 2010 @@ -1696,7 +1696,7 @@ in between beta releases of the entire T <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/news/news-2002.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/news/news-2002.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/news/news-2002.html (original) +++ jakarta/site/docs/site/news/news-2002.html Fri Apr 23 23:54:03 2010 @@ -2043,7 +2043,7 @@ along with additional information.</p> <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/news/news-2003.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/news/news-2003.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/news/news-2003.html (original) +++ jakarta/site/docs/site/news/news-2003.html Fri Apr 23 23:54:03 2010 @@ -2309,7 +2309,7 @@ when downloading from a mirror. <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/news/news-2004-1stHalf.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/news/news-2004-1stHalf.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/news/news-2004-1stHalf.html (original) +++ jakarta/site/docs/site/news/news-2004-1stHalf.html Fri Apr 23 23:54:03 2010 @@ -1429,7 +1429,7 @@ information.</p> <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/news/news-2004-2ndHalf.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/news/news-2004-2ndHalf.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/news/news-2004-2ndHalf.html (original) +++ jakarta/site/docs/site/news/news-2004-2ndHalf.html Fri Apr 23 23:54:03 2010 @@ -1436,7 +1436,7 @@ improved bean reading design is planned <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/news/news-2005-q1.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/news/news-2005-q1.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/news/news-2005-q1.html (original) +++ jakarta/site/docs/site/news/news-2005-q1.html Fri Apr 23 23:54:03 2010 @@ -668,7 +668,7 @@ The Apache Jakarta Tomcat Team <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/news/news-2005-q2.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/news/news-2005-q2.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/news/news-2005-q2.html (original) +++ jakarta/site/docs/site/news/news-2005-q2.html Fri Apr 23 23:54:03 2010 @@ -701,7 +701,7 @@ http://jakarta.apache.org/commons/config <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/news/news-2005-q3.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/news/news-2005-q3.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/news/news-2005-q3.html (original) +++ jakarta/site/docs/site/news/news-2005-q3.html Fri Apr 23 23:54:03 2010 @@ -663,7 +663,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/news/news-2005-q4.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/news/news-2005-q4.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/news/news-2005-q4.html (original) +++ jakarta/site/docs/site/news/news-2005-q4.html Fri Apr 23 23:54:03 2010 @@ -763,7 +763,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/news/news-2006-q1.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/news/news-2006-q1.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/news/news-2006-q1.html (original) +++ jakarta/site/docs/site/news/news-2006-q1.html Fri Apr 23 23:54:03 2010 @@ -470,7 +470,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/news/news-2006-q2.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/news/news-2006-q2.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/news/news-2006-q2.html (original) +++ jakarta/site/docs/site/news/news-2006-q2.html Fri Apr 23 23:54:03 2010 @@ -602,7 +602,7 @@ It will be held in <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/news/news-2006-q3.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/news/news-2006-q3.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/news/news-2006-q3.html (original) +++ jakarta/site/docs/site/news/news-2006-q3.html Fri Apr 23 23:54:03 2010 @@ -397,7 +397,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/news/news-2006-q4.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/news/news-2006-q4.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/news/news-2006-q4.html (original) +++ jakarta/site/docs/site/news/news-2006-q4.html Fri Apr 23 23:54:03 2010 @@ -520,7 +520,7 @@ in binary and source distributions. <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/news/news-2007-q1.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/news/news-2007-q1.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/news/news-2007-q1.html (original) +++ jakarta/site/docs/site/news/news-2007-q1.html Fri Apr 23 23:54:03 2010 @@ -484,7 +484,7 @@ There are implementations for multi leve <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/news/news-2007-q2.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/news/news-2007-q2.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/news/news-2007-q2.html (original) +++ jakarta/site/docs/site/news/news-2007-q2.html Fri Apr 23 23:54:03 2010 @@ -421,7 +421,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/news/news-2007-q3.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/news/news-2007-q3.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/news/news-2007-q3.html (original) +++ jakarta/site/docs/site/news/news-2007-q3.html Fri Apr 23 23:54:03 2010 @@ -468,7 +468,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/news/news-2007-q4.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/news/news-2007-q4.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/news/news-2007-q4.html (original) +++ jakarta/site/docs/site/news/news-2007-q4.html Fri Apr 23 23:54:03 2010 @@ -398,7 +398,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/news/news-2008-q1.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/news/news-2008-q1.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/news/news-2008-q1.html (original) +++ jakarta/site/docs/site/news/news-2008-q1.html Fri Apr 23 23:54:03 2010 @@ -335,7 +335,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/news/news-2008-q2.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/news/news-2008-q2.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/news/news-2008-q2.html (original) +++ jakarta/site/docs/site/news/news-2008-q2.html Fri Apr 23 23:54:03 2010 @@ -335,7 +335,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/news/news-2009-q1.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/news/news-2009-q1.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/news/news-2009-q1.html (original) +++ jakarta/site/docs/site/news/news-2009-q1.html Fri Apr 23 23:54:03 2010 @@ -335,7 +335,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/news/news-2009-q2.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/news/news-2009-q2.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/news/news-2009-q2.html (original) +++ jakarta/site/docs/site/news/news-2009-q2.html Fri Apr 23 23:54:03 2010 @@ -366,7 +366,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/news/news-2009-q4.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/news/news-2009-q4.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/news/news-2009-q4.html (original) +++ jakarta/site/docs/site/news/news-2009-q4.html Fri Apr 23 23:54:03 2010 @@ -343,7 +343,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/packageversioning.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/packageversioning.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/packageversioning.html (original) +++ jakarta/site/docs/site/packageversioning.html Fri Apr 23 23:54:03 2010 @@ -361,7 +361,7 @@ Sample Files: <a href="packageversioni <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/pmc/01-01-17-meeting-minutes.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/pmc/01-01-17-meeting-minutes.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/pmc/01-01-17-meeting-minutes.html (original) +++ jakarta/site/docs/site/pmc/01-01-17-meeting-minutes.html Fri Apr 23 23:54:03 2010 @@ -618,7 +618,7 @@ On the phone was: <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/pmc/01-01-17-pictures.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/pmc/01-01-17-pictures.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/pmc/01-01-17-pictures.html (original) +++ jakarta/site/docs/site/pmc/01-01-17-pictures.html Fri Apr 23 23:54:03 2010 @@ -334,7 +334,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/pmc/01-03-19-meeting-agenda.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/pmc/01-03-19-meeting-agenda.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/pmc/01-03-19-meeting-agenda.html (original) +++ jakarta/site/docs/site/pmc/01-03-19-meeting-agenda.html Fri Apr 23 23:54:03 2010 @@ -311,7 +311,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/pmc/01-03-19-meeting-irclog.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/pmc/01-03-19-meeting-irclog.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/pmc/01-03-19-meeting-irclog.html (original) +++ jakarta/site/docs/site/pmc/01-03-19-meeting-irclog.html Fri Apr 23 23:54:03 2010 @@ -1143,7 +1143,7 @@ Below is the IRC log from the meeting on <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/pmc/01-03-19-meeting-summary.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/pmc/01-03-19-meeting-summary.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/pmc/01-03-19-meeting-summary.html (original) +++ jakarta/site/docs/site/pmc/01-03-19-meeting-summary.html Fri Apr 23 23:54:03 2010 @@ -478,7 +478,7 @@ subscribe to the PMC mailing list.</p> <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/pmc/01-04-22-meeting-irclog.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/pmc/01-04-22-meeting-irclog.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/pmc/01-04-22-meeting-irclog.html (original) +++ jakarta/site/docs/site/pmc/01-04-22-meeting-irclog.html Fri Apr 23 23:54:03 2010 @@ -693,7 +693,7 @@ for me. i'll send an update and some ot <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/pmc/02-01-30-elections.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/pmc/02-01-30-elections.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/pmc/02-01-30-elections.html (original) +++ jakarta/site/docs/site/pmc/02-01-30-elections.html Fri Apr 23 23:54:03 2010 @@ -460,7 +460,7 @@ Cc: This message is sent to: <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/pmc/board-report-december2004.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/pmc/board-report-december2004.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/pmc/board-report-december2004.html (original) +++ jakarta/site/docs/site/pmc/board-report-december2004.html Fri Apr 23 23:54:03 2010 @@ -467,7 +467,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/pmc/board-report-december2005.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/pmc/board-report-december2005.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/pmc/board-report-december2005.html (original) +++ jakarta/site/docs/site/pmc/board-report-december2005.html Fri Apr 23 23:54:03 2010 @@ -435,7 +435,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/pmc/board-report-july2004.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/pmc/board-report-july2004.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/pmc/board-report-july2004.html (original) +++ jakarta/site/docs/site/pmc/board-report-july2004.html Fri Apr 23 23:54:03 2010 @@ -485,7 +485,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/pmc/board-report-june2005.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/pmc/board-report-june2005.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/pmc/board-report-june2005.html (original) +++ jakarta/site/docs/site/pmc/board-report-june2005.html Fri Apr 23 23:54:03 2010 @@ -469,7 +469,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/pmc/board-report-june2006.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/pmc/board-report-june2006.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/pmc/board-report-june2006.html (original) +++ jakarta/site/docs/site/pmc/board-report-june2006.html Fri Apr 23 23:54:03 2010 @@ -451,7 +451,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/pmc/board-report-march2004.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/pmc/board-report-march2004.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/pmc/board-report-march2004.html (original) +++ jakarta/site/docs/site/pmc/board-report-march2004.html Fri Apr 23 23:54:03 2010 @@ -289,7 +289,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/pmc/board-report-march2005.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/pmc/board-report-march2005.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/pmc/board-report-march2005.html (original) +++ jakarta/site/docs/site/pmc/board-report-march2005.html Fri Apr 23 23:54:03 2010 @@ -440,7 +440,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/pmc/board-report-march2006.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/pmc/board-report-march2006.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/pmc/board-report-march2006.html (original) +++ jakarta/site/docs/site/pmc/board-report-march2006.html Fri Apr 23 23:54:03 2010 @@ -400,7 +400,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/pmc/board-report-september2004.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/pmc/board-report-september2004.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/pmc/board-report-september2004.html (original) +++ jakarta/site/docs/site/pmc/board-report-september2004.html Fri Apr 23 23:54:03 2010 @@ -433,7 +433,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/pmc/board-report-september2005.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/pmc/board-report-september2005.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/pmc/board-report-september2005.html (original) +++ jakarta/site/docs/site/pmc/board-report-september2005.html Fri Apr 23 23:54:03 2010 @@ -500,7 +500,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/pmc/board-report-september2006.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/pmc/board-report-september2006.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/pmc/board-report-september2006.html (original) +++ jakarta/site/docs/site/pmc/board-report-september2006.html Fri Apr 23 23:54:03 2010 @@ -428,7 +428,7 @@ not pass the finals.</p> <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/pmc/board-reports.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/pmc/board-reports.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/pmc/board-reports.html (original) +++ jakarta/site/docs/site/pmc/board-reports.html Fri Apr 23 23:54:03 2010 @@ -309,7 +309,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/pmc/index.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/pmc/index.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/pmc/index.html (original) +++ jakarta/site/docs/site/pmc/index.html Fri Apr 23 23:54:03 2010 @@ -309,7 +309,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/proposal.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/proposal.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/proposal.html (original) +++ jakarta/site/docs/site/proposal.html Fri Apr 23 23:54:03 2010 @@ -1452,7 +1452,7 @@ It is preferred but not required that at <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/retired-projects.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/retired-projects.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/retired-projects.html (original) +++ jakarta/site/docs/site/retired-projects.html Fri Apr 23 23:54:03 2010 @@ -308,7 +308,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/retired-taglibs.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/retired-taglibs.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/retired-taglibs.html (original) +++ jakarta/site/docs/site/retired-taglibs.html Fri Apr 23 23:54:03 2010 @@ -566,7 +566,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/roles.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/roles.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/roles.html (original) +++ jakarta/site/docs/site/roles.html Fri Apr 23 23:54:03 2010 @@ -454,7 +454,7 @@ The Jakarta Project Management Committee <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/source.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/source.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/source.html (original) +++ jakarta/site/docs/site/source.html Fri Apr 23 23:54:03 2010 @@ -518,7 +518,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/understandingopensource.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/understandingopensource.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/understandingopensource.html (original) +++ jakarta/site/docs/site/understandingopensource.html Fri Apr 23 23:54:03 2010 @@ -337,7 +337,7 @@ Cameron Riley <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/versioning.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/versioning.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/versioning.html (original) +++ jakarta/site/docs/site/versioning.html Fri Apr 23 23:54:03 2010 @@ -963,7 +963,7 @@ <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/docs/site/whoweare.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/whoweare.html?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/docs/site/whoweare.html (original) +++ jakarta/site/docs/site/whoweare.html Fri Apr 23 23:54:03 2010 @@ -1365,7 +1365,7 @@ Rory is a software developer specializin <tr> <td colspan="3"> <div class="page-footer"> -<em> Copyright &copy; 1999-2008, The Apache +<em> Copyright &copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> Modified: jakarta/site/xdocs/stylesheets/site.xsl URL: http://svn.apache.org/viewvc/jakarta/site/xdocs/stylesheets/site.xsl?rev=937555&r1=937554&r2=937555&view=diff ============================================================================== --- jakarta/site/xdocs/stylesheets/site.xsl (original) +++ jakarta/site/xdocs/stylesheets/site.xsl Fri Apr 23 23:54:03 2010 @@ -184,7 +184,7 @@ limitations under the License. <tr> <td colspan="3"> <div class="page-footer"> - <em> Copyright <xsl:text disable-output-escaping="yes">&amp;</xsl:text>copy; 1999-2008, The Apache + <em> Copyright <xsl:text disable-output-escaping="yes">&amp;</xsl:text>copy; 1999-2010, The Apache Software Foundation. <a href="http://jakarta.apache.org/site/legal.html">Legal information</a>. </em> </div> </td> From [email protected] Sat Apr 24 03:40:37 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94544 invoked from network); 24 Apr 2010 03:40:37 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 24 Apr 2010 03:40:37 -0000 Received: (qmail 94747 invoked by uid 500); 24 Apr 2010 03:40:36 -0000 Delivered-To: [email protected] Received: (qmail 94305 invoked by uid 500); 24 Apr 2010 03:40:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 94298 invoked by uid 99); 24 Apr 2010 03:40:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Apr 2010 03:40:34 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Apr 2010 03:40:32 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 28D662388978; Sat, 24 Apr 2010 03:39:49 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r937586 - in /jakarta/site: docs/site/cvsindex.html xdocs/site/cvsindex.xml Date: Sat, 24 Apr 2010 03:39:49 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: rahul Date: Sat Apr 24 03:39:48 2010 New Revision: 937586 URL: http://svn.apache.org/viewvc?rev=937586&view=rev Log: Remove subprojects now in Attic. Modified: jakarta/site/docs/site/cvsindex.html jakarta/site/xdocs/site/cvsindex.xml Modified: jakarta/site/docs/site/cvsindex.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/cvsindex.html?rev=937586&r1=937585&r2=937586&view=diff ============================================================================== --- jakarta/site/docs/site/cvsindex.html (original) +++ jakarta/site/docs/site/cvsindex.html Sat Apr 24 03:39:48 2010 @@ -263,26 +263,6 @@ ASF Subversion repository is <a href="ht <td>[<a href="https://svn.apache.org/repos/asf/jakarta/site/">svn-url</a>]</td> <td>[<a href="http://svn.apache.org/viewcvs.cgi/jakarta/site/">view-svn</a>]</td> </tr> - <tr> - <td>Slide</td> - <td>[<a href="http://svn.apache.org/repos/asf/jakarta/slide/trunk/">svn-url</a>]</td> - <td>[<a href="https://svn.apache.org/repos/asf/jakarta/slide/trunk/">svn-url</a>]</td> - <td>[<a href="http://svn.apache.org/viewcvs.cgi/jakarta/slide/">view-svn</a>]</td> - </tr> - <tr> - <td>Taglibs<a href="#svn_externals">*</a> -</td> - <td>[<a href="http://svn.apache.org/repos/asf/jakarta/taglibs/trunks-proper/">svn-url</a>]</td> - <td>[<a href="https://svn.apache.org/repos/asf/jakarta/taglibs/trunks-proper/">svn-url</a>]</td> - <td>[<a href="http://svn.apache.org/viewcvs.cgi/jakarta/taglibs/proper/">view-svn</a>]</td> - </tr> - <tr> - <td>Taglibs-Sandbox<a href="#svn_externals">*</a> -</td> - <td>[<a href="http://svn.apache.org/repos/asf/jakarta/taglibs/trunks-sandbox/">svn-url</a>]</td> - <td>[<a href="https://svn.apache.org/repos/asf/jakarta/taglibs/trunks-sandbox/">svn-url</a>]</td> - <td>[<a href="http://svn.apache.org/viewcvs.cgi/jakarta/taglibs/sandbox/">view-svn</a>]</td> - </tr> </table> <a name="svn_externals"/> Modified: jakarta/site/xdocs/site/cvsindex.xml URL: http://svn.apache.org/viewvc/jakarta/site/xdocs/site/cvsindex.xml?rev=937586&r1=937585&r2=937586&view=diff ============================================================================== --- jakarta/site/xdocs/site/cvsindex.xml (original) +++ jakarta/site/xdocs/site/cvsindex.xml Sat Apr 24 03:39:48 2010 @@ -110,24 +110,6 @@ ASF Subversion repository is <a href="ht <td>[<a href="https://svn.apache.org/repos/asf/jakarta/site/">svn-url</a>]</td> <td>[<a href="http://svn.apache.org/viewcvs.cgi/jakarta/site/">view-svn</a>]</td> </tr> - <tr> - <td>Slide</td> - <td>[<a href="http://svn.apache.org/repos/asf/jakarta/slide/trunk/">svn-url</a>]</td> - <td>[<a href="https://svn.apache.org/repos/asf/jakarta/slide/trunk/">svn-url</a>]</td> - <td>[<a href="http://svn.apache.org/viewcvs.cgi/jakarta/slide/">view-svn</a>]</td> - </tr> - <tr> - <td>Taglibs<a href="#svn_externals">*</a></td> - <td>[<a href="http://svn.apache.org/repos/asf/jakarta/taglibs/trunks-proper/">svn-url</a>]</td> - <td>[<a href="https://svn.apache.org/repos/asf/jakarta/taglibs/trunks-proper/">svn-url</a>]</td> - <td>[<a href="http://svn.apache.org/viewcvs.cgi/jakarta/taglibs/proper/">view-svn</a>]</td> - </tr> - <tr> - <td>Taglibs-Sandbox<a href="#svn_externals">*</a></td> - <td>[<a href="http://svn.apache.org/repos/asf/jakarta/taglibs/trunks-sandbox/">svn-url</a>]</td> - <td>[<a href="https://svn.apache.org/repos/asf/jakarta/taglibs/trunks-sandbox/">svn-url</a>]</td> - <td>[<a href="http://svn.apache.org/viewcvs.cgi/jakarta/taglibs/sandbox/">view-svn</a>]</td> - </tr> </table> <a name="svn_externals"/> From [email protected] Sat Apr 24 16:54:48 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70291 invoked from network); 24 Apr 2010 16:54:47 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 24 Apr 2010 16:54:47 -0000 Received: (qmail 62391 invoked by uid 500); 24 Apr 2010 16:54:46 -0000 Delivered-To: [email protected] Received: (qmail 62228 invoked by uid 500); 24 Apr 2010 16:54:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 62219 invoked by uid 99); 24 Apr 2010 16:54:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Apr 2010 16:54:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Apr 2010 16:54:44 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 6303223889FA; Sat, 24 Apr 2010 16:54:01 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r937640 - /jakarta/jmeter/trunk/lib/ Date: Sat, 24 Apr 2010 16:54:01 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: sebb Date: Sat Apr 24 16:54:01 2010 New Revision: 937640 URL: http://svn.apache.org/viewvc?rev=937640&view=rev Log: Update/sort ignore list Modified: jakarta/jmeter/trunk/lib/ (props changed) Propchange: jakarta/jmeter/trunk/lib/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Sat Apr 24 16:54:01 2010 @@ -1,15 +1,10 @@ ext -jorphan.jar -bshclient.jar activation.jar -mail.jar -jms*.jar -derbyclient*.jar -geronimo*.jar -xstream-1.3.1.jar avalon-framework-4.1.4.jar bsf-2.4.0.jar +bsf-api-3.0.jar bsh-2.0b5.jar +bshclient.jar commons-codec-1.4.jar commons-collections-3.2.1.jar commons-httpclient-3.1.jar @@ -18,17 +13,23 @@ commons-jexl-1.1.jar commons-lang-2.4.jar commons-logging-1.1.1.jar commons-net-1.4.1.jar +derbyclient*.jar excalibur-datasource-1.1.1.jar excalibur-instrument-1.0.jar excalibur-logger-1.1.jar excalibur-pool-1.2.jar +geronimo*.jar htmllexer-2.0-20060923.jar htmlparser-2.0-20060923.jar jCharts-0.7.5.jar jdom-1.1.jar +jms*.jar +jorphan.jar js-1.6R5.jar -junit-4.7.jar +jtidy-r*.jar +junit-4*.jar logkit-2.0.jar +mail.jar oro-2.0.8.jar serializer-2.7.1.jar soap-2.3.1.jar @@ -37,5 +38,4 @@ xercesImpl-2.9.1.jar xml-apis-1.3.04.jar xmlgraphics-commons-1.3.1.jar xpp3_min-1.1.4c.jar -bsf-api-3.0.jar -jtidy-r*.jar +xstream-1.3.1.jar From [email protected] Sat Apr 24 16:55:20 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70538 invoked from network); 24 Apr 2010 16:55:19 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 24 Apr 2010 16:55:19 -0000 Received: (qmail 63198 invoked by uid 500); 24 Apr 2010 16:55:19 -0000 Delivered-To: [email protected] Received: (qmail 62973 invoked by uid 500); 24 Apr 2010 16:55:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 62966 invoked by uid 99); 24 Apr 2010 16:55:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Apr 2010 16:55:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Apr 2010 16:55:16 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 0BB072388A02; Sat, 24 Apr 2010 16:54:34 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r937641 - /jakarta/jmeter/trunk/build.properties Date: Sat, 24 Apr 2010 16:54:34 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: sebb Date: Sat Apr 24 16:54:33 2010 New Revision: 937641 URL: http://svn.apache.org/viewvc?rev=937641&view=rev Log: Junit 4.7 => 4.8.1 Modified: jakarta/jmeter/trunk/build.properties Modified: jakarta/jmeter/trunk/build.properties URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/build.properties?rev=937641&r1=937640&r2=937641&view=diff ============================================================================== --- jakarta/jmeter/trunk/build.properties (original) +++ jakarta/jmeter/trunk/build.properties Sat Apr 24 16:54:33 2010 @@ -131,9 +131,9 @@ js_rhino.jar = js-1.6R5.j js_rhino.loc = http://repo2.maven.org/maven2/rhino/js/1.6R5/ js_rhino.md5 = 437A15E789AB9A95D10C2F950E94A84E -junit.jar = junit-4.7.jar +junit.jar = junit-4.8.1.jar junit.loc = http://downloads.sourceforge.net/junit -junit.md5 = B03D4C6FF4CEDCD731D6A6D1A3149F65 +junit.md5 = FB44723F35C2F1AF5C51EB729B502F0D logkit.jar = logkit-2.0.jar logkit.loc = http://repo2.maven.org/maven2/logkit/logkit/2.0 From [email protected] Sat Apr 24 16:57:53 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 70830 invoked from network); 24 Apr 2010 16:57:52 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 24 Apr 2010 16:57:52 -0000 Received: (qmail 67871 invoked by uid 500); 24 Apr 2010 16:57:50 -0000 Delivered-To: [email protected] Received: (qmail 67734 invoked by uid 500); 24 Apr 2010 16:57:50 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 67701 invoked by uid 99); 24 Apr 2010 16:57:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Apr 2010 16:57:50 +0000 X-ASF-Spam-Status: No, hits=-1460.7 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Apr 2010 16:57:49 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id C2DA723889FA; Sat, 24 Apr 2010 16:57:07 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r937642 - /jakarta/jmeter/trunk/bin/testfiles/monitorStatus.xml Date: Sat, 24 Apr 2010 16:57:07 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: sebb Date: Sat Apr 24 16:57:07 2010 New Revision: 937642 URL: http://svn.apache.org/viewvc?rev=937642&view=rev Log: Sample Tomcat monitor status file for testing parser Added: jakarta/jmeter/trunk/bin/testfiles/monitorStatus.xml (with props) Added: jakarta/jmeter/trunk/bin/testfiles/monitorStatus.xml URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/bin/testfiles/monitorStatus.xml?rev=937642&view=auto ============================================================================== --- jakarta/jmeter/trunk/bin/testfiles/monitorStatus.xml (added) +++ jakarta/jmeter/trunk/bin/testfiles/monitorStatus.xml Sat Apr 24 16:57:07 2010 @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<?xml-stylesheet type="text/xsl" href="xform.xsl" ?> +<status> + <jvm><memory free='10807352' total='16318464' max='259522560'/></jvm> + <connector name='http-8080'><threadInfo maxThreads="200" currentThreadCount="3" + currentThreadsBusy="1" /><requestInfo maxTime="140" processingTime="846" + requestCount="29" errorCount="3" bytesReceived="0" bytesSent="96856" /> + <workers> + <worker stage="S" requestProcessingTime="0" requestBytesSent="0" + requestBytesReceived="0" remoteAddr="161.129.204.104" virtualHost="localhost" method=" + GET" currentUri="/manager/status" currentQueryString="XML=true" protocol="HTTP/1.1" /> + <worker stage="R" requestProcessingTime="0" requestBytesSent="0" + requestBytesRecieved="0" remoteAddr="&#63;" virtualHost="&#63;" method="&#63;" + currentUri="&#63;" currentQueryString="&#63;" protocol="&#63;" /><worker stage= + "R" requestProcessingTime="0" requestBytesSent="0" requestBytesRecieved="0" + remoteAddr="&#63;" virtualHost="&#63;" method="&#63;" currentUri="&#63;" + currentQueryString="&#63;" protocol="&#63;" /> + </workers> + </connector> + <connector name='ajp-8009'><threadInfo maxThreads="200" currentThreadCount="0" + currentThreadsBusy="0" /><requestInfo maxTime="0" processingTime="0" + requestCount="0" errorCount="0" bytesReceived="0" bytesSent="0" /> + <workers> + </workers> + </connector> +</status> \ No newline at end of file Propchange: jakarta/jmeter/trunk/bin/testfiles/monitorStatus.xml ------------------------------------------------------------------------------ svn:eol-style = native From [email protected] Sat Apr 24 17:44:11 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77144 invoked from network); 24 Apr 2010 17:44:10 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 24 Apr 2010 17:44:10 -0000 Received: (qmail 5052 invoked by uid 500); 24 Apr 2010 17:44:10 -0000 Delivered-To: [email protected] Received: (qmail 4961 invoked by uid 500); 24 Apr 2010 17:44:10 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 4954 invoked by uid 99); 24 Apr 2010 17:44:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Apr 2010 17:44:10 +0000 X-ASF-Spam-Status: No, hits=-1462.2 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Apr 2010 17:44:09 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 713CD23889FA; Sat, 24 Apr 2010 17:43:27 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r937656 - /jakarta/jmeter/trunk/src/monitor/model/org/apache/jmeter/monitor/parser/ParserImpl.java Date: Sat, 24 Apr 2010 17:43:27 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: sebb Date: Sat Apr 24 17:43:27 2010 New Revision: 937656 URL: http://svn.apache.org/viewvc?rev=937656&view=rev Log: Tidy up class; parse string directly rather than converting to byte[] first Modified: jakarta/jmeter/trunk/src/monitor/model/org/apache/jmeter/monitor/parser/ParserImpl.java Modified: jakarta/jmeter/trunk/src/monitor/model/org/apache/jmeter/monitor/parser/ParserImpl.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/monitor/model/org/apache/jmeter/monitor/parser/ParserImpl.java?rev=937656&r1=937655&r2=937656&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/monitor/model/org/apache/jmeter/monitor/parser/ParserImpl.java (original) +++ jakarta/jmeter/trunk/src/monitor/model/org/apache/jmeter/monitor/parser/ParserImpl.java Sat Apr 24 17:43:27 2010 @@ -18,6 +18,7 @@ package org.apache.jmeter.monitor.parser import java.io.ByteArrayInputStream; import java.io.IOException; +import java.io.StringReader; import org.xml.sax.SAXException; import org.xml.sax.InputSource; @@ -36,13 +37,11 @@ public abstract class ParserImpl impleme private static final Logger log = LoggingManager.getLoggerForClass(); - private SAXParserFactory PARSERFACTORY = null; + private final SAXParser PARSER; - private SAXParser PARSER = null; + private final MonitorHandler DOCHANDLER; - private MonitorHandler DOCHANDLER = null; - - private ObjectFactory FACTORY = null; + private final ObjectFactory FACTORY; /** * @@ -50,16 +49,20 @@ public abstract class ParserImpl impleme public ParserImpl(ObjectFactory factory) { super(); this.FACTORY = factory; + SAXParser parser = null; + MonitorHandler handler = null; try { - PARSERFACTORY = SAXParserFactory.newInstance(); - PARSER = PARSERFACTORY.newSAXParser(); - DOCHANDLER = new MonitorHandler(); - DOCHANDLER.setObjectFactory(this.FACTORY); + SAXParserFactory parserFactory = SAXParserFactory.newInstance(); + parser = parserFactory.newSAXParser(); + handler = new MonitorHandler(); + handler.setObjectFactory(this.FACTORY); } catch (SAXException e) { log.error("Failed to create the parser",e); } catch (ParserConfigurationException e) { log.error("Failed to create the parser",e); } + PARSER = parser; + DOCHANDLER = handler; } /** @@ -90,7 +93,20 @@ public abstract class ParserImpl impleme * @return Status */ public Status parseString(String content) { - return parseBytes(content.getBytes()); + try { + InputSource is = new InputSource(); + is.setCharacterStream(new StringReader(content)); + PARSER.parse(is, DOCHANDLER); + return DOCHANDLER.getContents(); + } catch (SAXException e) { + log.error("Failed to parse the String",e); + // let bad input fail silently + return DOCHANDLER.getContents(); + } catch (IOException e) { // Should never happen + log.error("Failed to read the String",e); + // let bad input fail silently + return DOCHANDLER.getContents(); + } } /** From [email protected] Sat Apr 24 17:48:30 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77645 invoked from network); 24 Apr 2010 17:48:29 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 24 Apr 2010 17:48:29 -0000 Received: (qmail 8504 invoked by uid 500); 24 Apr 2010 17:48:29 -0000 Delivered-To: [email protected] Received: (qmail 8411 invoked by uid 500); 24 Apr 2010 17:48:29 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 8404 invoked by uid 99); 24 Apr 2010 17:48:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Apr 2010 17:48:29 +0000 X-ASF-Spam-Status: No, hits=-1463.8 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Apr 2010 17:48:24 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 75B4023889FA; Sat, 24 Apr 2010 17:47:42 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r937658 - /jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/client/ReceiveSubscriber.java Date: Sat, 24 Apr 2010 17:47:42 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: sebb Date: Sat Apr 24 17:47:42 2010 New Revision: 937658 URL: http://svn.apache.org/viewvc?rev=937658&view=rev Log: Method not used Modified: jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/client/ReceiveSubscriber.java Modified: jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/client/ReceiveSubscriber.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/client/ReceiveSubscriber.java?rev=937658&r1=937657&r2=937658&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/client/ReceiveSubscriber.java (original) +++ jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/client/ReceiveSubscriber.java Sat Apr 24 17:47:42 2010 @@ -160,14 +160,6 @@ public class ReceiveSubscriber implement } /** - * Get the message(s) as an array of byte[] - * - */ - public synchronized byte[] getByteResult() { - return this.buffer.toString().getBytes(); - } - - /** * close() will stop the connection first. Then it closes the subscriber, * session and connection. */ From [email protected] Sat Apr 24 17:48:32 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 77873 invoked from network); 24 Apr 2010 17:48:31 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 24 Apr 2010 17:48:31 -0000 Received: (qmail 9195 invoked by uid 500); 24 Apr 2010 17:48:30 -0000 Delivered-To: [email protected] Received: (qmail 9079 invoked by uid 500); 24 Apr 2010 17:48:30 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 9072 invoked by uid 99); 24 Apr 2010 17:48:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Apr 2010 17:48:30 +0000 X-ASF-Spam-Status: No, hits=-1800.3 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Apr 2010 17:48:29 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 064BE2388A3D; Sat, 24 Apr 2010 17:47:48 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r937659 - in /jakarta/site: docs/site/cvsindex.html xdocs/site/cvsindex.xml Date: Sat, 24 Apr 2010 17:47:47 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: rahul Date: Sat Apr 24 17:47:47 2010 New Revision: 937659 URL: http://svn.apache.org/viewvc?rev=937659&view=rev Log: URL consistency and removing old comments. Modified: jakarta/site/docs/site/cvsindex.html jakarta/site/xdocs/site/cvsindex.xml Modified: jakarta/site/docs/site/cvsindex.html URL: http://svn.apache.org/viewvc/jakarta/site/docs/site/cvsindex.html?rev=937659&r1=937658&r2=937659&view=diff ============================================================================== --- jakarta/site/docs/site/cvsindex.html (original) +++ jakarta/site/docs/site/cvsindex.html Sat Apr 24 17:47:47 2010 @@ -243,7 +243,7 @@ ASF Subversion repository is <a href="ht <td>JMeter</td> <td>[<a href="http://svn.apache.org/repos/asf/jakarta/jmeter/trunk">svn-url</a>]</td> <td>[<a href="https://svn.apache.org/repos/asf/jakarta/jmeter/trunk">svn-url</a>]</td> - <td>[<a href="http://svn.apache.org/viewcvs.cgi/jakarta/jmeter/trunk">view-svn</a>]</td> + <td>[<a href="http://svn.apache.org/viewcvs.cgi/jakarta/jmeter/">view-svn</a>]</td> </tr> <tr> <td>ORO</td> @@ -265,16 +265,9 @@ ASF Subversion repository is <a href="ht </tr> </table> -<a name="svn_externals"/> -<p> -<b>* NOTE</b>: See this <a href="http://commons.apache.org/svninfo.html">Subversion information</a> page for a brief description of the relationship between URL tuples such as <i>trunks-proper</i> and <i>proper</i>.</p> - </div> </div> - - - <p>If you are not a <em>Committer</em>, but you want to submit patches or even request commit privileges, please see our <a href="guidelines.html">Guidelines</a> for more information.</p> Modified: jakarta/site/xdocs/site/cvsindex.xml URL: http://svn.apache.org/viewvc/jakarta/site/xdocs/site/cvsindex.xml?rev=937659&r1=937658&r2=937659&view=diff ============================================================================== --- jakarta/site/xdocs/site/cvsindex.xml (original) +++ jakarta/site/xdocs/site/cvsindex.xml Sat Apr 24 17:47:47 2010 @@ -90,7 +90,7 @@ ASF Subversion repository is <a href="ht <td>JMeter</td> <td>[<a href="http://svn.apache.org/repos/asf/jakarta/jmeter/trunk">svn-url</a>]</td> <td>[<a href="https://svn.apache.org/repos/asf/jakarta/jmeter/trunk">svn-url</a>]</td> - <td>[<a href="http://svn.apache.org/viewcvs.cgi/jakarta/jmeter/trunk">view-svn</a>]</td> + <td>[<a href="http://svn.apache.org/viewcvs.cgi/jakarta/jmeter/">view-svn</a>]</td> </tr> <tr> <td>ORO</td> @@ -112,46 +112,8 @@ ASF Subversion repository is <a href="ht </tr> </table> -<a name="svn_externals"/> -<p><b>* NOTE</b>: See this <a href="http://commons.apache.org/svninfo.html">Subversion information</a> page for a brief description of the relationship between URL tuples such as <i>trunks-proper</i> and <i>proper</i>.</p> - </subsection> - -<!-- NEED TO WORK OUT WHERE THESE WENT - bayard 20050128 - -<p>Modules for the older Java Apache Projects</p> - -<ul> -<li><a href="http://cvs.apache.org/viewcvs/java-framework/"> -java-framework</a></li> -<li><a href="http://cvs.apache.org/viewcvs/java-icalendar/"> -java-icalendar</a></li> -<li><a href="http://cvs.apache.org/viewcvs/java-jserv/"> -java-jserv</a></li> -<li><a href="http://cvs.apache.org/viewcvs/java-jukebox/"> -java-jukebox</a></li> -<li><a href="http://cvs.apache.org/viewcvs/java-jyve/"> -java-jyve</a> (dead)</li> -<li><a href="http://cvs.apache.org/viewcvs/java-jyve2/"> -java-jyve2</a> (dead)</li> -<li><a href="http://cvs.apache.org/viewcvs/java-mod_java/"> -java-mod_java</a></li> -<li><a href="http://cvs.apache.org/viewcvs/java-picoserver/"> -java-picoserver</a></li> -<li><a href="http://cvs.apache.org/viewcvs/java-site/"> -java-site</a></li> -<li><a href="http://cvs.apache.org/viewcvs/java-spfc/"> -java-spfc</a></li> -<li><a href="http://cvs.apache.org/viewcvs/java-ssi/"> -java-ssi</a></li> -<li><a href="http://cvs.apache.org/viewcvs/java-utils/"> -java-utils</a></li> -<li><a href="http://cvs.apache.org/viewcvs/java-whiteboard/"> -java-whiteboard</a></li> -</ul> ---> - <p>If you are not a <em>Committer</em>, but you want to submit patches or even request commit privileges, please see our <a href="guidelines.html">Guidelines</a> for more information.</p> From [email protected] Sat Apr 24 17:51:19 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78214 invoked from network); 24 Apr 2010 17:51:18 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 24 Apr 2010 17:51:18 -0000 Received: (qmail 10205 invoked by uid 500); 24 Apr 2010 17:51:18 -0000 Delivered-To: [email protected] Received: (qmail 10058 invoked by uid 500); 24 Apr 2010 17:51:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 10051 invoked by uid 99); 24 Apr 2010 17:51:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Apr 2010 17:51:17 +0000 X-ASF-Spam-Status: No, hits=-1465.3 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Apr 2010 17:51:17 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 3D3EF23889FA; Sat, 24 Apr 2010 17:50:35 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r937660 - /jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/Receiver.java Date: Sat, 24 Apr 2010 17:50:35 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: sebb Date: Sat Apr 24 17:50:34 2010 New Revision: 937660 URL: http://svn.apache.org/viewvc?rev=937660&view=rev Log: Code tidy Modified: jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/Receiver.java Modified: jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/Receiver.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/Receiver.java?rev=937660&r1=937659&r2=937660&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/Receiver.java (original) +++ jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/Receiver.java Sat Apr 24 17:50:34 2010 @@ -73,14 +73,13 @@ public class Receiver implements Runnabl try { reply = consumer.receive(5000); if (reply != null) { - - if (log.isDebugEnabled()) { - log.debug("Received message, correlation id:" + reply.getJMSCorrelationID()); - } - - if (reply.getJMSCorrelationID() == null) { + final String jmsCorrelationID = reply.getJMSCorrelationID(); + if (jmsCorrelationID == null) { log.warn("Received message with correlation id null. Discarding message ..."); } else { + if (log.isDebugEnabled()) { + log.debug("Received message, correlation id:" + jmsCorrelationID); + } MessageAdmin.getAdmin().putReply(reply.getJMSCorrelationID(), reply); } } From [email protected] Sat Apr 24 17:55:34 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78598 invoked from network); 24 Apr 2010 17:55:34 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 24 Apr 2010 17:55:34 -0000 Received: (qmail 12355 invoked by uid 500); 24 Apr 2010 17:55:33 -0000 Delivered-To: [email protected] Received: (qmail 12144 invoked by uid 500); 24 Apr 2010 17:55:33 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 12137 invoked by uid 99); 24 Apr 2010 17:55:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Apr 2010 17:55:33 +0000 X-ASF-Spam-Status: No, hits=-1466.8 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Apr 2010 17:55:32 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id BEA0323889FA; Sat, 24 Apr 2010 17:54:50 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r937661 - in /jakarta/jmeter/trunk: src/jorphan/org/apache/jorphan/util/JOrphanUtils.java src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java test/src/org/apache/jorphan/util/TestJorphanUtils.java Date: Sat, 24 Apr 2010 17:54:50 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: sebb Date: Sat Apr 24 17:54:50 2010 New Revision: 937661 URL: http://svn.apache.org/viewvc?rev=937661&view=rev Log: Add baToHexBytes method to avoid unnecessary conversion via string Modified: jakarta/jmeter/trunk/src/jorphan/org/apache/jorphan/util/JOrphanUtils.java jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java jakarta/jmeter/trunk/test/src/org/apache/jorphan/util/TestJorphanUtils.java Modified: jakarta/jmeter/trunk/src/jorphan/org/apache/jorphan/util/JOrphanUtils.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/jorphan/org/apache/jorphan/util/JOrphanUtils.java?rev=937661&r1=937660&r2=937661&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/jorphan/org/apache/jorphan/util/JOrphanUtils.java (original) +++ jakarta/jmeter/trunk/src/jorphan/org/apache/jorphan/util/JOrphanUtils.java Sat Apr 24 17:54:50 2010 @@ -468,4 +468,26 @@ public final class JOrphanUtils { } return sb.toString(); } + + /** + * Convert binary byte array to hex string. + * + * @param ba input binary byte array + * @return hex representation of binary input + */ + public static byte[] baToHexBytes(byte ba[]) { + byte[] hb = new byte[ba.length*2]; + for (int i = 0; i < ba.length; i++) { + byte upper = (byte) ((ba[i] & 0xf0) >> 4); + byte lower = (byte) (ba[i] & 0x0f); + hb[2*i]=toHexChar(upper); + hb[2*i+1]=toHexChar(lower); + } + return hb; + } + + private static byte toHexChar(byte in){ + if (in < 10) return (byte) (in+'0'); + return (byte) ((in-10)+'a'); + } } Modified: jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java?rev=937661&r1=937660&r2=937661&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java (original) +++ jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java Sat Apr 24 17:54:50 2010 @@ -1478,7 +1478,7 @@ public abstract class HTTPSamplerBase ex w.flush(); if (asMD5 && md != null) { byte[] md5Result = md.digest(); - w.write(JOrphanUtils.baToHexString(md5Result).getBytes()); + w.write(JOrphanUtils.baToHexBytes(md5Result)); sampleResult.setBytes(totalBytes); } w.close(); Modified: jakarta/jmeter/trunk/test/src/org/apache/jorphan/util/TestJorphanUtils.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/test/src/org/apache/jorphan/util/TestJorphanUtils.java?rev=937661&r1=937660&r2=937661&view=diff ============================================================================== --- jakarta/jmeter/trunk/test/src/org/apache/jorphan/util/TestJorphanUtils.java (original) +++ jakarta/jmeter/trunk/test/src/org/apache/jorphan/util/TestJorphanUtils.java Sat Apr 24 17:54:50 2010 @@ -22,6 +22,8 @@ package org.apache.jorphan.util; +import java.io.UnsupportedEncodingException; + import junit.framework.TestCase; public class TestJorphanUtils extends TestCase { @@ -301,4 +303,17 @@ public class TestJorphanUtils extends Te assertEquals("00",JOrphanUtils.baToHexString(new byte[]{0})); assertEquals("0f107f8081ff",JOrphanUtils.baToHexString(new byte[]{15,16,127,-128,-127,-1})); } + + public void testbaToByte() throws Exception{ + assertEqualsArray(new byte[]{},JOrphanUtils.baToHexBytes(new byte[]{})); + assertEqualsArray(new byte[]{'0','0'},JOrphanUtils.baToHexBytes(new byte[]{0})); + assertEqualsArray("0f107f8081ff".getBytes("UTF-8"),JOrphanUtils.baToHexBytes(new byte[]{15,16,127,-128,-127,-1})); + } + + private void assertEqualsArray(byte[] expected, byte[] actual){ + assertEquals("arrays must be same length",expected.length, actual.length); + for(int i=0; i < expected.length; i++){ + assertEquals("values must be the same for index: "+i,expected[i],actual[i]); + } + } } From [email protected] Sat Apr 24 17:56:13 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 78801 invoked from network); 24 Apr 2010 17:56:12 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 24 Apr 2010 17:56:12 -0000 Received: (qmail 13167 invoked by uid 500); 24 Apr 2010 17:56:12 -0000 Delivered-To: [email protected] Received: (qmail 12878 invoked by uid 500); 24 Apr 2010 17:56:11 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 12871 invoked by uid 99); 24 Apr 2010 17:56:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Apr 2010 17:56:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Apr 2010 17:56:07 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B466D2388A32; Sat, 24 Apr 2010 17:55:24 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r937662 - in /jakarta/jmeter/trunk: src/core/org/apache/jmeter/util/ src/protocol/ftp/org/apache/jmeter/protocol/ftp/sampler/ src/protocol/http/org/apache/jmeter/protocol/http/proxy/ src/protocol/http/org/apache/jmeter/protocol/http/sampler... Date: Sat, 24 Apr 2010 17:55:24 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: sebb Date: Sat Apr 24 17:55:23 2010 New Revision: 937662 URL: http://svn.apache.org/viewvc?rev=937662&view=rev Log: Add TODO Charset markers Modified: jakarta/jmeter/trunk/src/core/org/apache/jmeter/util/BeanShellClient.java jakarta/jmeter/trunk/src/protocol/ftp/org/apache/jmeter/protocol/ftp/sampler/FTPSampler.java jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/AjpSampler.java jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/PostWriter.java jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/Base64Encoder.java jakarta/jmeter/trunk/src/protocol/tcp/org/apache/jmeter/protocol/tcp/sampler/TCPClientImpl.java jakarta/jmeter/trunk/test/src/org/apache/jmeter/assertions/XMLSchemaAssertionTest.java jakarta/jmeter/trunk/test/src/org/apache/jmeter/monitor/model/benchmark/ParseBenchmark.java jakarta/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/proxy/TestHttpRequestHdr.java jakarta/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/sampler/PostWriterTest.java jakarta/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/sampler/TestHTTPSamplersAgainstHttpMirrorServer.java Modified: jakarta/jmeter/trunk/src/core/org/apache/jmeter/util/BeanShellClient.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/core/org/apache/jmeter/util/BeanShellClient.java?rev=937662&r1=937661&r2=937662&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/core/org/apache/jmeter/util/BeanShellClient.java (original) +++ jakarta/jmeter/trunk/src/core/org/apache/jmeter/util/BeanShellClient.java Sat Apr 24 17:55:23 2010 @@ -78,7 +78,7 @@ public class BeanShellClient { private static void sendLine( String line, OutputStream outPipe ) throws IOException { - outPipe.write( line.getBytes() ); + outPipe.write( line.getBytes() ); // TODO - charset? outPipe.flush(); } Modified: jakarta/jmeter/trunk/src/protocol/ftp/org/apache/jmeter/protocol/ftp/sampler/FTPSampler.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/ftp/org/apache/jmeter/protocol/ftp/sampler/FTPSampler.java?rev=937662&r1=937661&r2=937662&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/protocol/ftp/org/apache/jmeter/protocol/ftp/sampler/FTPSampler.java (original) +++ jakarta/jmeter/trunk/src/protocol/ftp/org/apache/jmeter/protocol/ftp/sampler/FTPSampler.java Sat Apr 24 17:55:23 2010 @@ -196,7 +196,7 @@ public class FTPSampler extends Abstract if (isUpload()) { String contents=getLocalFileContents(); if (contents.length() > 0){ - byte bytes[] = contents.getBytes();// TODO this assumes local encoding + byte bytes[] = contents.getBytes(); // TODO - charset? input = new ByteArrayInputStream(bytes); res.setBytes(bytes.length); } else { Modified: jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java?rev=937662&r1=937661&r2=937662&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java (original) +++ jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java Sat Apr 24 17:55:23 2010 @@ -437,7 +437,7 @@ public class Proxy extends Thread { private void writeToClient(SampleResult res, OutputStream out, boolean forcedHTTPS) throws IOException { try { String responseHeaders = massageResponseHeaders(res, forcedHTTPS); - out.write(responseHeaders.getBytes()); + out.write(responseHeaders.getBytes()); // TODO - charset? out.write(CRLF_BYTES); out.write(res.getResponseData()); out.flush(); Modified: jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/AjpSampler.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/AjpSampler.java?rev=937662&r1=937661&r2=937662&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/AjpSampler.java (original) +++ jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/AjpSampler.java Sat Apr 24 17:55:23 2010 @@ -280,7 +280,7 @@ public class AjpSampler extends HTTPSamp sb.append(arg.getStringValue()); } stringBody = sb.toString(); - byte [] sbody = stringBody.getBytes(); //FIXME - encoding + byte [] sbody = stringBody.getBytes(); // TODO - charset? cl = sbody.length; body = new ByteArrayInputStream(sbody); } Modified: jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/PostWriter.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/PostWriter.java?rev=937662&r1=937661&r2=937662&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/PostWriter.java (original) +++ jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/PostWriter.java Sat Apr 24 17:55:23 2010 @@ -40,7 +40,7 @@ import org.apache.jmeter.testelement.pro public class PostWriter { private static final String DASH_DASH = "--"; // $NON-NLS-1$ - private static final byte[] DASH_DASH_BYTES = DASH_DASH.getBytes(); + private static final byte[] DASH_DASH_BYTES = {'-', '-'}; /** The bounday string between multiparts */ protected final static String BOUNDARY = "---------------------------7d159c1302d0y0"; // $NON-NLS-1$ @@ -107,7 +107,7 @@ public class PostWriter { for (int i=0; i < files.length; i++) { HTTPFileArg file = files[i]; // First write the start multipart file - byte[] header = file.getHeader().getBytes(); // TODO what encoding should be used here? + byte[] header = file.getHeader().getBytes(); // TODO - charset? out.write(header); // Retrieve the formatted data using the same encoding used to create it postedBody.append(new String(header)); // TODO - charset? @@ -122,7 +122,7 @@ public class PostWriter { postedBody.append(new String(fileMultipartEndDivider, ENCODING)); if(i + 1 < files.length) { out.write(CRLF); - postedBody.append(new String(CRLF)); + postedBody.append(new String(CRLF)); // TODO - charset? } } // Write end of multipart Modified: jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/Base64Encoder.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/Base64Encoder.java?rev=937662&r1=937661&r2=937662&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/Base64Encoder.java (original) +++ jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/Base64Encoder.java Sat Apr 24 17:55:23 2010 @@ -38,7 +38,7 @@ public final class Base64Encoder { } public final static String encode(String s) { - return encode(s.getBytes()); + return encode(s.getBytes()); // TODO - charset? } public final static String encode(byte[] bs) { Modified: jakarta/jmeter/trunk/src/protocol/tcp/org/apache/jmeter/protocol/tcp/sampler/TCPClientImpl.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/tcp/org/apache/jmeter/protocol/tcp/sampler/TCPClientImpl.java?rev=937662&r1=937661&r2=937662&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/protocol/tcp/org/apache/jmeter/protocol/tcp/sampler/TCPClientImpl.java (original) +++ jakarta/jmeter/trunk/src/protocol/tcp/org/apache/jmeter/protocol/tcp/sampler/TCPClientImpl.java Sat Apr 24 17:55:23 2010 @@ -63,7 +63,7 @@ public class TCPClientImpl extends Abstr */ public void write(OutputStream os, String s) { try { - os.write(s.getBytes()); + os.write(s.getBytes()); // TODO - charset? os.flush(); } catch (IOException e) { log.warn("Write error", e); Modified: jakarta/jmeter/trunk/test/src/org/apache/jmeter/assertions/XMLSchemaAssertionTest.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/test/src/org/apache/jmeter/assertions/XMLSchemaAssertionTest.java?rev=937662&r1=937661&r2=937662&view=diff ============================================================================== --- jakarta/jmeter/trunk/test/src/org/apache/jmeter/assertions/XMLSchemaAssertionTest.java (original) +++ jakarta/jmeter/trunk/test/src/org/apache/jmeter/assertions/XMLSchemaAssertionTest.java Sat Apr 24 17:55:23 2010 @@ -134,7 +134,7 @@ public class XMLSchemaAssertionTest exte } public void testAssertionEmptyResult() throws Exception { - result.setResponseData("".getBytes()); + result.setResponseData("", null); assertion.setXsdFileName("testfiles/XMLSchema-fail.xsd"); AssertionResult res = assertion.getResult(jmctx.getPreviousResult()); testLog.debug("isError() " + res.isError() + " isFailure() " + res.isFailure()); @@ -145,7 +145,7 @@ public class XMLSchemaAssertionTest exte } public void testAssertionBlankResult() throws Exception { - result.setResponseData(" ".getBytes()); + result.setResponseData(" ", null); assertion.setXsdFileName("testfiles/XMLSchema-fail.xsd"); AssertionResult res = assertion.getResult(jmctx.getPreviousResult()); testLog.debug("isError() " + res.isError() + " isFailure() " + res.isFailure()); @@ -157,7 +157,7 @@ public class XMLSchemaAssertionTest exte public void testXMLTrailingcontent() throws Exception { ByteArrayOutputStream baos = readBA("testfiles/XMLSchematest.xml"); - baos.write("extra".getBytes()); + baos.write("extra".getBytes()); // TODO - charset? result.setResponseData(baos.toByteArray()); assertion.setXsdFileName("testfiles/XMLSchema-pass.xsd"); AssertionResult res = assertion.getResult(jmctx.getPreviousResult()); @@ -170,7 +170,7 @@ public class XMLSchemaAssertionTest exte public void testXMLTrailingwhitespace() throws Exception { ByteArrayOutputStream baos = readBA("testfiles/XMLSchematest.xml"); - baos.write(" \t\n".getBytes()); + baos.write(" \t\n".getBytes()); // TODO - charset? result.setResponseData(baos.toByteArray()); assertion.setXsdFileName("testfiles/XMLSchema-pass.xsd"); AssertionResult res = assertion.getResult(jmctx.getPreviousResult()); Modified: jakarta/jmeter/trunk/test/src/org/apache/jmeter/monitor/model/benchmark/ParseBenchmark.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/test/src/org/apache/jmeter/monitor/model/benchmark/ParseBenchmark.java?rev=937662&r1=937661&r2=937662&view=diff ============================================================================== --- jakarta/jmeter/trunk/test/src/org/apache/jmeter/monitor/model/benchmark/ParseBenchmark.java (original) +++ jakarta/jmeter/trunk/test/src/org/apache/jmeter/monitor/model/benchmark/ParseBenchmark.java Sat Apr 24 17:55:23 2010 @@ -83,7 +83,7 @@ public class ParseBenchmark { start = System.currentTimeMillis(); for (int idx = 0; idx < loops; idx++) { // NOTUSED org.apache.jmeter.monitor.model.Status st = - of.parseBytes(contents.getBytes()); + of.parseBytes(contents.getBytes()); // TODO - charset? } end = System.currentTimeMillis(); System.out.println("elapsed Time: " + (end - start)); Modified: jakarta/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/proxy/TestHttpRequestHdr.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/proxy/TestHttpRequestHdr.java?rev=937662&r1=937661&r2=937662&view=diff ============================================================================== --- jakarta/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/proxy/TestHttpRequestHdr.java (original) +++ jakarta/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/proxy/TestHttpRequestHdr.java Sat Apr 24 17:55:23 2010 @@ -599,7 +599,7 @@ public class TestHttpRequestHdr extends } else { // Most browsers use ISO-8859-1 as default encoding, even if spec says UTF-8 - return postBody.getBytes().length; + return postBody.getBytes().length; // TODO - charset? } } } Modified: jakarta/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/sampler/PostWriterTest.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/sampler/PostWriterTest.java?rev=937662&r1=937661&r2=937662&view=diff ============================================================================== --- jakarta/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/sampler/PostWriterTest.java (original) +++ jakarta/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/sampler/PostWriterTest.java Sat Apr 24 17:55:23 2010 @@ -160,7 +160,7 @@ public class PostWriterTest extends Test postWriter.sendPostData(connection, sampler); checkContentTypeUrlEncoded(connection); - byte[] expectedUrl = "title=mytitle&description=mydescription".getBytes(); + byte[] expectedUrl = "title=mytitle&description=mydescription".getBytes(); // TODO - charset? checkContentLength(connection, expectedUrl.length); checkArraysHaveSameContent(expectedUrl, connection.getOutputStreamContent()); expectedUrl = "title=mytitle&description=mydescription".getBytes(UTF_8); @@ -220,7 +220,8 @@ public class PostWriterTest extends Test checkContentLength(connection, TEST_FILE_CONTENT.length); checkArraysHaveSameContent(TEST_FILE_CONTENT, connection.getOutputStreamContent()); // Check that other encoding is not the current encoding - checkArraysHaveDifferentContent(new String(TEST_FILE_CONTENT).getBytes(otherEncoding), connection.getOutputStreamContent()); + checkArraysHaveDifferentContent(new String(TEST_FILE_CONTENT) // TODO - charset? + .getBytes(otherEncoding), connection.getOutputStreamContent()); // If we have both file as body, and form data, then only form data will be sent setupFormData(sampler); @@ -230,7 +231,7 @@ public class PostWriterTest extends Test postWriter.sendPostData(connection, sampler); checkContentTypeUrlEncoded(connection); - byte[] expectedUrl = "title=mytitle&description=mydescription".getBytes(); + byte[] expectedUrl = "title=mytitle&description=mydescription".getBytes(); // TODO - charset? checkContentLength(connection, expectedUrl.length); checkArraysHaveSameContent(expectedUrl, connection.getOutputStreamContent()); } @@ -712,7 +713,7 @@ public class PostWriterTest extends Test output.write(titleValue.getBytes(contentEncoding)); } else { - output.write(titleValue.getBytes()); + output.write(titleValue.getBytes()); // TODO - charset? } output.write(CRLF); output.write(DASH_DASH); @@ -734,7 +735,7 @@ public class PostWriterTest extends Test output.write(descriptionValue.getBytes(contentEncoding)); } else { - output.write(descriptionValue.getBytes()); + output.write(descriptionValue.getBytes()); // TODO - charset? } output.write(CRLF); output.write(DASH_DASH); Modified: jakarta/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/sampler/TestHTTPSamplersAgainstHttpMirrorServer.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/sampler/TestHTTPSamplersAgainstHttpMirrorServer.java?rev=937662&r1=937661&r2=937662&view=diff ============================================================================== --- jakarta/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/sampler/TestHTTPSamplersAgainstHttpMirrorServer.java (original) +++ jakarta/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/sampler/TestHTTPSamplersAgainstHttpMirrorServer.java Sat Apr 24 17:55:23 2010 @@ -1198,7 +1198,7 @@ public class TestHTTPSamplersAgainstHttp output.write(titleValue.getBytes(contentEncoding)); } else { - output.write(titleValue.getBytes()); + output.write(titleValue.getBytes()); // TODO - charset? } output.write(CRLF); output.write(DASH_DASH); @@ -1221,7 +1221,7 @@ public class TestHTTPSamplersAgainstHttp output.write(descriptionValue.getBytes(contentEncoding)); } else { - output.write(descriptionValue.getBytes()); + output.write(descriptionValue.getBytes()); // TODO - charset? } output.write(CRLF); output.write(DASH_DASH); From [email protected] Sat Apr 24 17:57:34 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 79023 invoked from network); 24 Apr 2010 17:57:32 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 24 Apr 2010 17:57:32 -0000 Received: (qmail 13804 invoked by uid 500); 24 Apr 2010 17:57:31 -0000 Delivered-To: [email protected] Received: (qmail 13660 invoked by uid 500); 24 Apr 2010 17:57:31 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 13652 invoked by uid 99); 24 Apr 2010 17:57:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Apr 2010 17:57:31 +0000 X-ASF-Spam-Status: No, hits=-1468.3 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Apr 2010 17:57:28 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id C368823889FA; Sat, 24 Apr 2010 17:56:45 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r937663 - in /jakarta/jmeter/trunk: src/components/org/apache/jmeter/extractor/ src/components/org/apache/jmeter/sampler/ src/core/org/apache/jmeter/save/converters/ src/examples/org/apache/jmeter/examples/sampler/ src/examples/org/apache/j... Date: Sat, 24 Apr 2010 17:56:45 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: sebb Date: Sat Apr 24 17:56:44 2010 New Revision: 937663 URL: http://svn.apache.org/viewvc?rev=937663&view=rev Log: Use setResponseData(String, null) where default charset is OK Modified: jakarta/jmeter/trunk/src/components/org/apache/jmeter/extractor/DebugPostProcessor.java jakarta/jmeter/trunk/src/components/org/apache/jmeter/sampler/DebugSampler.java jakarta/jmeter/trunk/src/core/org/apache/jmeter/save/converters/SampleResultConverter.java jakarta/jmeter/trunk/src/examples/org/apache/jmeter/examples/sampler/ExampleSampler.java jakarta/jmeter/trunk/src/examples/org/apache/jmeter/examples/testbeans/example1/Example1.java jakarta/jmeter/trunk/src/examples/org/apache/jmeter/examples/testbeans/example2/Example2.java jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/WebServiceSampler.java jakarta/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BSFSampler.java jakarta/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BeanShellSampler.java jakarta/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/JSR223Sampler.java jakarta/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/JavaSampler.java jakarta/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/test/JavaTest.java jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/JMSSampler.java jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/SubscriberSampler.java jakarta/jmeter/trunk/src/protocol/ldap/org/apache/jmeter/protocol/ldap/sampler/LDAPExtSampler.java jakarta/jmeter/trunk/src/protocol/ldap/org/apache/jmeter/protocol/ldap/sampler/LDAPSampler.java jakarta/jmeter/trunk/src/protocol/tcp/org/apache/jmeter/protocol/tcp/sampler/TCPSampler.java jakarta/jmeter/trunk/test/src/org/apache/jmeter/assertions/ResponseAssertionTest.java jakarta/jmeter/trunk/test/src/org/apache/jmeter/assertions/SizeAssertionTest.java jakarta/jmeter/trunk/test/src/org/apache/jmeter/assertions/XPathAssertionTest.java jakarta/jmeter/trunk/test/src/org/apache/jmeter/engine/util/PackageTest.java jakarta/jmeter/trunk/test/src/org/apache/jmeter/extractor/TestRegexExtractor.java jakarta/jmeter/trunk/test/src/org/apache/jmeter/extractor/TestXPathExtractor.java jakarta/jmeter/trunk/test/src/org/apache/jmeter/functions/TestJexlFunction.java jakarta/jmeter/trunk/test/src/org/apache/jmeter/functions/TestRegexFunction.java jakarta/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/modifier/TestAnchorModifier.java jakarta/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/modifier/TestURLRewritingModifier.java Modified: jakarta/jmeter/trunk/src/components/org/apache/jmeter/extractor/DebugPostProcessor.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/components/org/apache/jmeter/extractor/DebugPostProcessor.java?rev=937663&r1=937662&r2=937663&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/components/org/apache/jmeter/extractor/DebugPostProcessor.java (original) +++ jakarta/jmeter/trunk/src/components/org/apache/jmeter/extractor/DebugPostProcessor.java Sat Apr 24 17:56:44 2010 @@ -46,7 +46,7 @@ public class DebugPostProcessor extends sb.append("\n"); } SampleResult sr = new SampleResult(); - sr.setResponseData(sb.toString().getBytes()); + sr.setResponseData(sb.toString(), null); sr.setDataType(SampleResult.TEXT); sr.setSampleLabel(getName()); sr.setSuccessful(true); Modified: jakarta/jmeter/trunk/src/components/org/apache/jmeter/sampler/DebugSampler.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/components/org/apache/jmeter/sampler/DebugSampler.java?rev=937663&r1=937662&r2=937663&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/components/org/apache/jmeter/sampler/DebugSampler.java (original) +++ jakarta/jmeter/trunk/src/components/org/apache/jmeter/sampler/DebugSampler.java Sat Apr 24 17:56:44 2010 @@ -73,7 +73,7 @@ public class DebugSampler extends Abstra sb.append("\n"); } - res.setResponseData(sb.toString().getBytes()); + res.setResponseData(sb.toString(), null); res.setDataType(SampleResult.TEXT); res.setSamplerData(rd.toString()); res.setSuccessful(true); Modified: jakarta/jmeter/trunk/src/core/org/apache/jmeter/save/converters/SampleResultConverter.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/core/org/apache/jmeter/save/converters/SampleResultConverter.java?rev=937663&r1=937662&r2=937663&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/core/org/apache/jmeter/save/converters/SampleResultConverter.java (original) +++ jakarta/jmeter/trunk/src/core/org/apache/jmeter/save/converters/SampleResultConverter.java Sat Apr 24 17:56:44 2010 @@ -347,7 +347,7 @@ public class SampleResultConverter exten try { res.setResponseData(responseData.getBytes(dataEncoding)); } catch (UnsupportedEncodingException e) { - res.setResponseData(("Can't support the char set: " + dataEncoding).getBytes()); + res.setResponseData(("Can't support the char set: " + dataEncoding), null); res.setDataType(SampleResult.TEXT); } } Modified: jakarta/jmeter/trunk/src/examples/org/apache/jmeter/examples/sampler/ExampleSampler.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/examples/org/apache/jmeter/examples/sampler/ExampleSampler.java?rev=937663&r1=937662&r2=937663&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/examples/org/apache/jmeter/examples/sampler/ExampleSampler.java (original) +++ jakarta/jmeter/trunk/src/examples/org/apache/jmeter/examples/sampler/ExampleSampler.java Sat Apr 24 17:56:44 2010 @@ -81,7 +81,7 @@ public class ExampleSampler extends Abst * Set up the sample result details */ res.setSamplerData(data); - res.setResponseData(response.getBytes()); + res.setResponseData(response, null); res.setDataType(SampleResult.TEXT); res.setResponseCodeOK(); Modified: jakarta/jmeter/trunk/src/examples/org/apache/jmeter/examples/testbeans/example1/Example1.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/examples/org/apache/jmeter/examples/testbeans/example1/Example1.java?rev=937663&r1=937662&r2=937663&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/examples/org/apache/jmeter/examples/testbeans/example1/Example1.java (original) +++ jakarta/jmeter/trunk/src/examples/org/apache/jmeter/examples/testbeans/example1/Example1.java Sat Apr 24 17:56:44 2010 @@ -39,7 +39,7 @@ public class Example1 extends AbstractSa res.setSamplerData(myStringProperty); res.sampleStart(); // Do something ... - res.setResponseData(myStringProperty.toUpperCase().getBytes()); + res.setResponseData(myStringProperty.toUpperCase(), null); res.setDataType(SampleResult.TEXT); res.sampleEnd(); res.setSuccessful(true); Modified: jakarta/jmeter/trunk/src/examples/org/apache/jmeter/examples/testbeans/example2/Example2.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/examples/org/apache/jmeter/examples/testbeans/example2/Example2.java?rev=937663&r1=937662&r2=937663&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/examples/org/apache/jmeter/examples/testbeans/example2/Example2.java (original) +++ jakarta/jmeter/trunk/src/examples/org/apache/jmeter/examples/testbeans/example2/Example2.java Sat Apr 24 17:56:44 2010 @@ -39,7 +39,7 @@ public class Example2 extends AbstractSa res.setSamplerData(myStringProperty); res.sampleStart(); // Do something ... - res.setResponseData(myStringProperty.toLowerCase().getBytes()); + res.setResponseData(myStringProperty.toLowerCase(), null); res.setDataType(SampleResult.TEXT); res.sampleEnd(); res.setSuccessful(true); Modified: jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/WebServiceSampler.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/WebServiceSampler.java?rev=937663&r1=937662&r2=937663&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/WebServiceSampler.java (original) +++ jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/WebServiceSampler.java Sat Apr 24 17:56:44 2010 @@ -538,7 +538,7 @@ public class WebServiceSampler extends H // performance on slow clients length=br.read(); result.sampleEnd(); - result.setResponseData(JMeterUtils.getResString("read_response_message").getBytes()); //$NON-NLS-1$ + result.setResponseData(JMeterUtils.getResString("read_response_message"), null); //$NON-NLS-1$ } // It is not possible to access the actual HTTP response code, so we assume no data means failure if (length > 0){ Modified: jakarta/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BSFSampler.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BSFSampler.java?rev=937663&r1=937662&r2=937663&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BSFSampler.java (original) +++ jakarta/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BSFSampler.java Sat Apr 24 17:56:44 2010 @@ -151,7 +151,7 @@ public class BSFSampler extends BSFTestE } if (bsfOut != null) { - res.setResponseData(bsfOut.toString().getBytes()); + res.setResponseData(bsfOut.toString(), null); } } catch (BSFException ex) { log.warn("BSF error", ex); Modified: jakarta/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BeanShellSampler.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BeanShellSampler.java?rev=937663&r1=937662&r2=937663&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BeanShellSampler.java (original) +++ jakarta/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BeanShellSampler.java Sat Apr 24 17:56:44 2010 @@ -141,7 +141,7 @@ public class BeanShellSampler extends Be if (bshOut != null) {// Set response data String out = bshOut.toString(); - res.setResponseData(out.getBytes()); + res.setResponseData(out, null); } // script can also use setResponseData() so long as it returns null Modified: jakarta/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/JSR223Sampler.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/JSR223Sampler.java?rev=937663&r1=937662&r2=937663&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/JSR223Sampler.java (original) +++ jakarta/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/JSR223Sampler.java Sat Apr 24 17:56:44 2010 @@ -61,8 +61,7 @@ public class JSR223Sampler extends JSR22 result.setResponseCodeOK(); result.setResponseMessageOK(); if (ret != null){ - // TODO what encoding to use? - result.setResponseData(ret.toString().getBytes()); + result.setResponseData(ret.toString(), null); } } catch (IOException e) { log.warn("Problem in JSR223 script "+e); Modified: jakarta/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/JavaSampler.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/JavaSampler.java?rev=937663&r1=937662&r2=937663&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/JavaSampler.java (original) +++ jakarta/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/sampler/JavaSampler.java Sat Apr 24 17:56:44 2010 @@ -279,7 +279,7 @@ public class JavaSampler extends Abstrac Thread.yield(); SampleResult results = new SampleResult(); results.setSuccessful(false); - results.setResponseData(("Class not found: " + getClassname()).getBytes()); + results.setResponseData(("Class not found: " + getClassname()), null); results.setSampleLabel("ERROR: " + getClassname()); return results; } Modified: jakarta/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/test/JavaTest.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/test/JavaTest.java?rev=937663&r1=937662&r2=937663&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/test/JavaTest.java (original) +++ jakarta/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/test/JavaTest.java Sat Apr 24 17:56:44 2010 @@ -272,7 +272,7 @@ public class JavaTest extends AbstractJa } if (resultData != null && resultData.length() > 0) { - results.setResponseData(resultData.getBytes()); + results.setResponseData(resultData, null); results.setDataType(SampleResult.TEXT); } Modified: jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/JMSSampler.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/JMSSampler.java?rev=937663&r1=937662&r2=937663&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/JMSSampler.java (original) +++ jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/JMSSampler.java Sat Apr 24 17:56:44 2010 @@ -137,7 +137,7 @@ public class JMSSampler extends Abstract if (isOneway()) { producer.send(msg); res.setSuccessful(true); - res.setResponseData("Oneway request has no response data".getBytes()); + res.setResponseData("Oneway request has no response data", null); } else { if (!useTemporyQueue()) { msg.setJMSReplyTo(receiveQueue); @@ -151,9 +151,9 @@ public class JMSSampler extends Abstract } } else { if (replyMsg instanceof TextMessage) { - res.setResponseData(((TextMessage) replyMsg).getText().getBytes()); + res.setResponseData(((TextMessage) replyMsg).getText(), null); } else { - res.setResponseData(replyMsg.toString().getBytes()); + res.setResponseData(replyMsg.toString(), null); } res.setSuccessful(true); } Modified: jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/SubscriberSampler.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/SubscriberSampler.java?rev=937663&r1=937662&r2=937663&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/SubscriberSampler.java (original) +++ jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/SubscriberSampler.java Sat Apr 24 17:56:44 2010 @@ -166,9 +166,9 @@ public class SubscriberSampler extends B result.sampleEnd(); synchronized (this) {// Need to synch because buffer is shared with onMessageHandler if (this.getReadResponseAsBoolean()) { - result.setResponseData(this.BUFFER.toString().getBytes()); + result.setResponseData(this.BUFFER.toString(), null); } else { - result.setBytes(this.BUFFER.toString().getBytes().length); + result.setBytes(this.BUFFER.toString().length()); } read=this.count(0); } @@ -210,9 +210,9 @@ public class SubscriberSampler extends B result.sampleEnd(); int read = this.SUBSCRIBER.count(0); if (this.getReadResponseAsBoolean()) { - result.setResponseData(this.SUBSCRIBER.getMessage().getBytes()); + result.setResponseData(this.SUBSCRIBER.getMessage(), null); } else { - result.setBytes(this.SUBSCRIBER.getMessage().getBytes().length); + result.setBytes(this.SUBSCRIBER.getMessage().length()); } result.setSuccessful(true); result.setResponseCodeOK(); Modified: jakarta/jmeter/trunk/src/protocol/ldap/org/apache/jmeter/protocol/ldap/sampler/LDAPExtSampler.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/ldap/org/apache/jmeter/protocol/ldap/sampler/LDAPExtSampler.java?rev=937663&r1=937662&r2=937663&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/protocol/ldap/org/apache/jmeter/protocol/ldap/sampler/LDAPExtSampler.java (original) +++ jakarta/jmeter/trunk/src/protocol/ldap/org/apache/jmeter/protocol/ldap/sampler/LDAPExtSampler.java Sat Apr 24 17:56:44 2010 @@ -711,7 +711,7 @@ public class LDAPExtSampler extends Abst XMLBuffer xmlBuffer = new XMLBuffer(); xmlBuffer.openTag("ldapanswer"); // $NON-NLS-1$ SampleResult res = new SampleResult(); - res.setResponseData("successfull".getBytes()); + res.setResponseData("successfull", null); res.setResponseMessage("Success"); // $NON-NLS-1$ res.setResponseCode("0"); // $NON-NLS-1$ res.setContentType("text/xml");// $NON-NLS-1$ @@ -847,7 +847,7 @@ public class LDAPExtSampler extends Abst xmlBuffer.closeTag("operation"); // $NON-NLS-1$ xmlBuffer.tag("responsecode",res.getResponseCode()); // $NON-NLS-1$ xmlBuffer.tag("responsemessage",res.getResponseMessage()); // $NON-NLS-1$ - res.setResponseData(xmlBuffer.toString().getBytes()); + res.setResponseData(xmlBuffer.toString(), null); res.setDataType(SampleResult.TEXT); res.setSuccessful(isSuccessful); } Modified: jakarta/jmeter/trunk/src/protocol/ldap/org/apache/jmeter/protocol/ldap/sampler/LDAPSampler.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/ldap/org/apache/jmeter/protocol/ldap/sampler/LDAPSampler.java?rev=937663&r1=937662&r2=937663&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/protocol/ldap/org/apache/jmeter/protocol/ldap/sampler/LDAPSampler.java (original) +++ jakarta/jmeter/trunk/src/protocol/ldap/org/apache/jmeter/protocol/ldap/sampler/LDAPSampler.java Sat Apr 24 17:56:44 2010 @@ -443,11 +443,11 @@ public class LDAPSampler extends Abstrac if (getPropertyAsString(TEST).equals(SEARCHBASE) && !searchFoundEntries) { res.setResponseCode("201");// TODO is this a sensible number? //$NON-NLS-1$ res.setResponseMessage("OK - no results"); - res.setResponseData("successful - no results".getBytes()); + res.setResponseData("successful - no results", null); } else { res.setResponseCodeOK(); res.setResponseMessage("OK"); //$NON-NLS-1$ - res.setResponseData("successful".getBytes()); + res.setResponseData("successful", null); } res.setDataType(SampleResult.TEXT); isSuccessful = true; Modified: jakarta/jmeter/trunk/src/protocol/tcp/org/apache/jmeter/protocol/tcp/sampler/TCPSampler.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/tcp/org/apache/jmeter/protocol/tcp/sampler/TCPSampler.java?rev=937663&r1=937662&r2=937663&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/protocol/tcp/org/apache/jmeter/protocol/tcp/sampler/TCPSampler.java (original) +++ jakarta/jmeter/trunk/src/protocol/tcp/org/apache/jmeter/protocol/tcp/sampler/TCPSampler.java Sat Apr 24 17:56:44 2010 @@ -307,7 +307,7 @@ public class TCPSampler extends Abstract res.setSamplerData(req); protocolHandler.write(os, req); String in = protocolHandler.read(is); - res.setResponseData(in.getBytes()); + res.setResponseData(in, null); res.setDataType(SampleResult.TEXT); res.setResponseCodeOK(); res.setResponseMessage("OK"); //$NON-NLS-1$ Modified: jakarta/jmeter/trunk/test/src/org/apache/jmeter/assertions/ResponseAssertionTest.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/test/src/org/apache/jmeter/assertions/ResponseAssertionTest.java?rev=937663&r1=937662&r2=937663&view=diff ============================================================================== --- jakarta/jmeter/trunk/test/src/org/apache/jmeter/assertions/ResponseAssertionTest.java (original) +++ jakarta/jmeter/trunk/test/src/org/apache/jmeter/assertions/ResponseAssertionTest.java Sat Apr 24 17:56:44 2010 @@ -48,11 +48,7 @@ public class ResponseAssertionTest exte vars = new JMeterVariables(); jmctx.setVariables(vars); jmctx.setPreviousResult(sample); - sample.setResponseData( - ( - "response Data\n" + - "line 2\n\nEOF" - ).getBytes()); + sample.setResponseData("response Data\nline 2\n\nEOF", null); sample.setURL(new URL("http://localhost/Sampler/Data/")); sample.setResponseCode("401"); sample.setResponseHeaders("X-Header: abcd"); @@ -135,7 +131,7 @@ public class ResponseAssertionTest exte // Bug 46831 - check can match dollars public void testResponseAssertionContainsDollar() throws Exception { - sample.setResponseData("value=\"${ID}\" Group$ctl00$drpEmails".getBytes()); + sample.setResponseData("value=\"${ID}\" Group$ctl00$drpEmails", null); assertion.unsetNotType(); assertion.setToContainsType(); assertion.setTestFieldResponseData(); @@ -240,7 +236,7 @@ public class ResponseAssertionTest exte assertion.setToContainsType(); assertion.addTestString(TEST_PATTERN); SampleResult response = new SampleResult(); - response.setResponseData(TEST_STRING.getBytes()); + response.setResponseData(TEST_STRING, null); for (int i = 0; i < 100; i++) { AssertionResult result; result = assertion.getResult(response); Modified: jakarta/jmeter/trunk/test/src/org/apache/jmeter/assertions/SizeAssertionTest.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/test/src/org/apache/jmeter/assertions/SizeAssertionTest.java?rev=937663&r1=937662&r2=937663&view=diff ============================================================================== --- jakarta/jmeter/trunk/test/src/org/apache/jmeter/assertions/SizeAssertionTest.java (original) +++ jakarta/jmeter/trunk/test/src/org/apache/jmeter/assertions/SizeAssertionTest.java Sat Apr 24 17:56:44 2010 @@ -43,7 +43,7 @@ public class SizeAssertionTest extends J jmctx.setVariables(vars); sample0 = new SampleResult(); sample1 = new SampleResult(); - sample1.setResponseData(data1.getBytes()); + sample1.setResponseData(data1, null); } public void testSizeAssertionEquals() throws Exception{ Modified: jakarta/jmeter/trunk/test/src/org/apache/jmeter/assertions/XPathAssertionTest.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/test/src/org/apache/jmeter/assertions/XPathAssertionTest.java?rev=937663&r1=937662&r2=937663&view=diff ============================================================================== --- jakarta/jmeter/trunk/test/src/org/apache/jmeter/assertions/XPathAssertionTest.java (original) +++ jakarta/jmeter/trunk/test/src/org/apache/jmeter/assertions/XPathAssertionTest.java Sat Apr 24 17:56:44 2010 @@ -68,7 +68,7 @@ public class XPathAssertionTest extends + "<value field=\"pinposition2\">5</value>" + "<value field=\"pinpositionvalue2\"></value>" + "<value field=\"pinposition3\">6</value>" + "<value field=\"pinpositionvalue3\"></value>" + "</row>" + "</company-xmlext-query-ret>"; - result.setResponseData(data.getBytes()); + result.setResponseData(data, null); } private ByteArrayOutputStream readBA(String name) throws IOException { @@ -180,7 +180,7 @@ public class XPathAssertionTest extends } public void testAssertionEmptyResult() throws Exception { - result.setResponseData("".getBytes()); + result.setResponseData("", null); AssertionResult res = assertion.getResult(result); testLog.debug("isError() " + res.isError() + " isFailure() " + res.isFailure()); testLog.debug("failure message: " + res.getFailureMessage()); @@ -190,7 +190,7 @@ public class XPathAssertionTest extends } public void testAssertionBlankResult() throws Exception { - result.setResponseData(" ".getBytes()); + result.setResponseData(" ", null); AssertionResult res = assertion.getResult(result); testLog.debug("isError() " + res.isError() + " isFailure() " + res.isFailure()); testLog.debug("failure message: " + res.getFailureMessage()); @@ -203,7 +203,7 @@ public class XPathAssertionTest extends String data = "<html><head><title>testtitle</title></head>" + "<body>" + "<p><i><b>invalid tag nesting</i></b><hr>" + "</body></html>"; - result.setResponseData(data.getBytes()); + result.setResponseData(data, null); vars = new JMeterVariables(); jmctx.setVariables(vars); jmctx.setPreviousResult(result); @@ -264,7 +264,7 @@ public class XPathAssertionTest extends + "<p>Where should we start?</p>" + "<p>How about more about me?</p>" + "</CHAPTER_TEXT>" + "</CHAPTER>" + "</PART>" + "</BOOK>"; - result.setResponseData(data.getBytes()); + result.setResponseData(data, null); vars = new JMeterVariables(); jmctx.setVariables(vars); jmctx.setPreviousResult(result); @@ -290,7 +290,7 @@ public class XPathAssertionTest extends + "<p>Where should we start?</p>" + "<p>How about more about me?</p>" + "</CHAPTER_TEXT>" + "</CHAPTER>" + "<illegal>not defined in dtd</illegal>" + "</PART>" + "</BOOK>"; - result.setResponseData(data.getBytes()); + result.setResponseData(data, null); vars = new JMeterVariables(); jmctx.setVariables(vars); jmctx.setPreviousResult(result); @@ -306,7 +306,7 @@ public class XPathAssertionTest extends String data = "<html><head><title>testtitle</title></head>" + "<body>" + "<p><i><b>invalid tag nesting</i></b><hr>" + "</body></html>"; - result.setResponseData(data.getBytes()); + result.setResponseData(data, null); vars = new JMeterVariables(); jmctx.setVariables(vars); jmctx.setPreviousResult(result); Modified: jakarta/jmeter/trunk/test/src/org/apache/jmeter/engine/util/PackageTest.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/test/src/org/apache/jmeter/engine/util/PackageTest.java?rev=937663&r1=937662&r2=937663&view=diff ============================================================================== --- jakarta/jmeter/trunk/test/src/org/apache/jmeter/engine/util/PackageTest.java (original) +++ jakarta/jmeter/trunk/test/src/org/apache/jmeter/engine/util/PackageTest.java Sat Apr 24 17:56:44 2010 @@ -56,7 +56,7 @@ public class PackageTest extends JMeterT variables.put("my_regex", ".*"); variables.put("server", "jakarta.apache.org"); result = new SampleResult(); - result.setResponseData("<html>hello world</html> costs: $3.47,$5.67".getBytes()); + result.setResponseData("<html>hello world</html> costs: $3.47,$5.67", null); transformer = new ReplaceStringWithFunctions(new CompoundVariable(), variables); jmctx.setVariables(new JMeterVariables()); jmctx.setSamplingStarted(true); Modified: jakarta/jmeter/trunk/test/src/org/apache/jmeter/extractor/TestRegexExtractor.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/test/src/org/apache/jmeter/extractor/TestRegexExtractor.java?rev=937663&r1=937662&r2=937663&view=diff ============================================================================== --- jakarta/jmeter/trunk/test/src/org/apache/jmeter/extractor/TestRegexExtractor.java (original) +++ jakarta/jmeter/trunk/test/src/org/apache/jmeter/extractor/TestRegexExtractor.java Sat Apr 24 17:56:44 2010 @@ -56,7 +56,7 @@ public class TestRegexExtractor extends + "<value field=\"pinposition2\">5</value>" + "<value field=\"pinpositionvalue2\"></value>" + "<value field=\"pinposition3\">6</value>" + "<value field=\"pinpositionvalue3\"></value>" + "</row>" + "</company-xmlext-query-ret>"; - result.setResponseData(data.getBytes()); + result.setResponseData(data, null); result.setResponseHeaders("Header1: Value1\nHeader2: Value2"); result.setResponseCode("abcd"); result.setResponseMessage("The quick brown fox"); Modified: jakarta/jmeter/trunk/test/src/org/apache/jmeter/extractor/TestXPathExtractor.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/test/src/org/apache/jmeter/extractor/TestXPathExtractor.java?rev=937663&r1=937662&r2=937663&view=diff ============================================================================== --- jakarta/jmeter/trunk/test/src/org/apache/jmeter/extractor/TestXPathExtractor.java (original) +++ jakarta/jmeter/trunk/test/src/org/apache/jmeter/extractor/TestXPathExtractor.java Sat Apr 24 17:56:44 2010 @@ -212,7 +212,7 @@ public class TestXPathExtractor extends } public void testInvalidDocument() throws Exception { - result.setResponseData("<z>".getBytes()); + result.setResponseData("<z>", null); extractor.setXPathQuery("<"); extractor.process(); assertEquals("Default", vars.get(VAL_NAME)); Modified: jakarta/jmeter/trunk/test/src/org/apache/jmeter/functions/TestJexlFunction.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/test/src/org/apache/jmeter/functions/TestJexlFunction.java?rev=937663&r1=937662&r2=937663&view=diff ============================================================================== --- jakarta/jmeter/trunk/test/src/org/apache/jmeter/functions/TestJexlFunction.java (original) +++ jakarta/jmeter/trunk/test/src/org/apache/jmeter/functions/TestJexlFunction.java Sat Apr 24 17:56:44 2010 @@ -49,7 +49,7 @@ public class TestJexlFunction extends JM result = new SampleResult(); jmctx = JMeterContextService.getContext(); String data = "The quick brown fox"; - result.setResponseData(data.getBytes()); + result.setResponseData(data, null); vars = new JMeterVariables(); jmctx.setVariables(vars); jmctx.setPreviousResult(result); Modified: jakarta/jmeter/trunk/test/src/org/apache/jmeter/functions/TestRegexFunction.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/test/src/org/apache/jmeter/functions/TestRegexFunction.java?rev=937663&r1=937662&r2=937663&view=diff ============================================================================== --- jakarta/jmeter/trunk/test/src/org/apache/jmeter/functions/TestRegexFunction.java (original) +++ jakarta/jmeter/trunk/test/src/org/apache/jmeter/functions/TestRegexFunction.java Sat Apr 24 17:56:44 2010 @@ -57,7 +57,7 @@ public class TestRegexFunction extends J + " field=\"pinposition2\">5</value><value" + " field=\"pinpositionvalue2\"></value><value" + " field=\"pinposition3\">6</value><value" + " field=\"pinpositionvalue3\"></value>" + "</row></company-xmlext-query-ret>"; - result.setResponseData(data.getBytes()); + result.setResponseData(data, null); vars = new JMeterVariables(); String data2 = "The quick brown fox jumped over the lazy dog 123 times"; vars.put(INPUT_VARIABLE_NAME, data2); Modified: jakarta/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/modifier/TestAnchorModifier.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/modifier/TestAnchorModifier.java?rev=937663&r1=937662&r2=937663&view=diff ============================================================================== --- jakarta/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/modifier/TestAnchorModifier.java (original) +++ jakarta/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/modifier/TestAnchorModifier.java Sat Apr 24 17:56:44 2010 @@ -55,7 +55,7 @@ public class TestAnchorModifier extends new FileInputStream(System.getProperty("user.dir") + "/testfiles/Load_JMeter_Page.jmx")).getArray()[0]; jmctx.setCurrentSampler(context); jmctx.setCurrentSampler(config); - result.setResponseData(new TextFile(System.getProperty("user.dir") + HTMLFileName).getText().getBytes()); + result.setResponseData(new TextFile(System.getProperty("user.dir") + HTMLFileName).getText(), null); result.setSampleLabel(context.toString()); result.setSamplerData(context.toString()); result.setURL(new URL("http://issues.apache.org/fakepage.html")); @@ -103,7 +103,7 @@ public class TestAnchorModifier extends HTTPSampleResult result = new HTTPSampleResult(); jmctx.setCurrentSampler(context); jmctx.setCurrentSampler(config); - result.setResponseData(responseText.getBytes()); + result.setResponseData(responseText, null); result.setSampleLabel(context.toString()); result.setSamplerData(context.toString()); result.setURL(context.getUrl()); @@ -123,7 +123,7 @@ public class TestAnchorModifier extends HTTPSampleResult result = new HTTPSampleResult(); jmctx.setCurrentSampler(context); jmctx.setCurrentSampler(config); - result.setResponseData(responseText.getBytes()); + result.setResponseData(responseText, null); result.setSampleLabel(context.toString()); result.setSamplerData(context.toString()); result.setURL(context.getUrl()); @@ -139,7 +139,7 @@ public class TestAnchorModifier extends + "<a href=\"/index.html\">Goto index page</a>" + "hfdfjiudfjdfjkjfkdjf" + "<b>bold text</b><a href=lowerdir/index.html>lower</a>" + "</body></html>"; HTTPSampleResult result = new HTTPSampleResult(); - result.setResponseData(responseText.getBytes()); + result.setResponseData(responseText, null); result.setSampleLabel(context.toString()); result.setURL(context.getUrl()); jmctx.setCurrentSampler(context); @@ -158,7 +158,7 @@ public class TestAnchorModifier extends String responseText = "<html><head><title>Test page</title></head><body>" + "<a href=\"/home/index.html?param1=value1\">" + "Goto index page</a></body></html>"; HTTPSampleResult result = new HTTPSampleResult(); - result.setResponseData(responseText.getBytes()); + result.setResponseData(responseText, null); result.setSampleLabel(context.toString()); result.setURL(context.getUrl()); jmctx.setCurrentSampler(context); @@ -175,7 +175,7 @@ public class TestAnchorModifier extends String responseText = "<html><head><title>Test page</title></head><body>" + "<A HREF=\"index.html\">Goto index page</A></body></html>"; HTTPSampleResult result = new HTTPSampleResult(); - result.setResponseData(responseText.getBytes()); + result.setResponseData(responseText, null); result.setSampleLabel(context.toString()); result.setURL(context.getUrl()); jmctx.setCurrentSampler(context); @@ -192,7 +192,7 @@ public class TestAnchorModifier extends String responseText = "<html><head><title>Test page</title></head><body>" + "<a href=\"../index.html\">Goto index page</a></body></html>"; HTTPSampleResult result = new HTTPSampleResult(); - result.setResponseData(responseText.getBytes()); + result.setResponseData(responseText, null); result.setSampleLabel(context.toString()); result.setURL(context.getUrl()); jmctx.setCurrentSampler(context); @@ -210,7 +210,7 @@ public class TestAnchorModifier extends + "<a href=\"/home/index.html?param1=value1\">" + "Goto index page</a></body></html>"; HTTPSampleResult result = new HTTPSampleResult(); String newUrl = config.getUrl().toString(); - result.setResponseData(responseText.getBytes()); + result.setResponseData(responseText, null); result.setSampleLabel(context.toString()); result.setURL(context.getUrl()); jmctx.setCurrentSampler(context); @@ -227,7 +227,7 @@ public class TestAnchorModifier extends + "<a href=\"/home/index.html?param1=value1\">" + "Goto index page</a></body></html>"; HTTPSampleResult result = new HTTPSampleResult(); String newUrl = config.getUrl().toString(); - result.setResponseData(responseText.getBytes()); + result.setResponseData(responseText, null); result.setSampleLabel(context.toString()); result.setURL(context.getUrl()); jmctx.setCurrentSampler(context); @@ -243,7 +243,7 @@ public class TestAnchorModifier extends String responseText = "<html><head><title>Test page</title></head><body>" + "<a href=\"/home/index.html?param1=value1\">" + "Goto index page</a></body></html>"; HTTPSampleResult result = new HTTPSampleResult(); - result.setResponseData(responseText.getBytes()); + result.setResponseData(responseText, null); result.setSampleLabel(context.toString()); result.setURL(context.getUrl()); jmctx.setCurrentSampler(context); @@ -263,7 +263,7 @@ public class TestAnchorModifier extends + "<form action=\"index.html\" method=\"POST\">" + "<input type=\"checkbox\" name=\"test\"" + " value=\"goto\">Goto index page</form></body></html>"; HTTPSampleResult result = new HTTPSampleResult(); - result.setResponseData(responseText.getBytes()); + result.setResponseData(responseText, null); result.setSampleLabel(context.toString()); result.setURL(context.getUrl()); jmctx.setCurrentSampler(context); @@ -283,7 +283,7 @@ public class TestAnchorModifier extends + "<form action=\"index.html\" method=\"POST\">" + "<input type=\"checkbox\" name=\"te$st\"" + " value=\"goto\">Goto index page</form></body></html>"; HTTPSampleResult result = new HTTPSampleResult(); - result.setResponseData(responseText.getBytes()); + result.setResponseData(responseText, null); result.setSampleLabel(context.toString()); result.setURL(context.getUrl()); jmctx.setCurrentSampler(context); @@ -307,7 +307,7 @@ public class TestAnchorModifier extends + " value=\"" + htmlEncodedFixture + "\">Goto index page</form></body></html>"; HTTPSampleResult result = new HTTPSampleResult(); - result.setResponseData(responseText.getBytes()); + result.setResponseData(responseText, null); result.setSampleLabel(context.toString()); result.setURL(context.getUrl()); jmctx.setCurrentSampler(context); Modified: jakarta/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/modifier/TestURLRewritingModifier.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/modifier/TestURLRewritingModifier.java?rev=937663&r1=937662&r2=937663&view=diff ============================================================================== --- jakarta/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/modifier/TestURLRewritingModifier.java (original) +++ jakarta/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/modifier/TestURLRewritingModifier.java Sat Apr 24 17:56:44 2010 @@ -58,7 +58,7 @@ public class TestURLRewritingModifier ex public void testGrabSessionId() throws Exception { String html = "location: http://server.com/index.html" + "?session_id=jfdkjdkf%20jddkfdfjkdjfdf%22;"; response = new SampleResult(); - response.setResponseData(html.getBytes()); + response.setResponseData(html, null); mod.setArgumentName("session_id"); HTTPSamplerBase sampler = createSampler(); sampler.addArgument("session_id", "adfasdfdsafasdfasd"); @@ -74,7 +74,7 @@ public class TestURLRewritingModifier ex public void testGrabSessionId2() throws Exception { String html = "<a href=\"http://server.com/index.html?" + "session_id=jfdkjdkfjddkfdfjkdjfdf\">"; response = new SampleResult(); - response.setResponseData(html.getBytes()); + response.setResponseData(html, null); mod.setArgumentName("session_id"); HTTPSamplerBase sampler = createSampler(); context.setCurrentSampler(sampler); @@ -96,7 +96,7 @@ public class TestURLRewritingModifier ex public void testGrabSessionId3() throws Exception { String html = "href='index.html?session_id=jfdkjdkfjddkfdfjkdjfdf'"; response = new SampleResult(); - response.setResponseData(html.getBytes()); + response.setResponseData(html, null); mod.setArgumentName("session_id"); HTTPSamplerBase sampler = createSampler(); context.setCurrentSampler(sampler); @@ -109,7 +109,7 @@ public class TestURLRewritingModifier ex public void testGrabSessionIdEndedInTab() throws Exception { String html = "href='index.html?session_id=jfdkjdkfjddkfdfjkdjfdf\t"; response = new SampleResult(); - response.setResponseData(html.getBytes()); + response.setResponseData(html, null); mod.setArgumentName("session_id"); HTTPSamplerBase sampler = createSampler(); context.setCurrentSampler(sampler); @@ -122,7 +122,7 @@ public class TestURLRewritingModifier ex public void testGrabSessionId4() throws Exception { String html = "href='index.html;%24sid%24KQNq3AAADQZoEQAxlkX8uQV5bjqVBPbT'"; response = new SampleResult(); - response.setResponseData(html.getBytes()); + response.setResponseData(html, null); mod.setArgumentName("%24sid%24"); mod.setPathExtension(true); mod.setPathExtensionNoEquals(true); @@ -137,7 +137,7 @@ public class TestURLRewritingModifier ex public void testGrabSessionId5() throws Exception { String html = "location: http://server.com/index.html" + "?session[33]=jfdkjdkf%20jddkfdfjkdjfdf%22;"; response = new SampleResult(); - response.setResponseData(html.getBytes()); + response.setResponseData(html, null); mod.setArgumentName("session[33]"); HTTPSamplerBase sampler = createSampler(); sampler.addArgument("session[33]", "adfasdfdsafasdfasd"); @@ -163,7 +163,7 @@ public class TestURLRewritingModifier ex }; for (int i = 0; i < html.length; i++) { response = new SampleResult(); - response.setResponseData(html[i].getBytes()); + response.setResponseData(html[i], null); URLRewritingModifier newMod = new URLRewritingModifier(); newMod.setThreadContext(context); newMod.setArgumentName("sid"); @@ -182,7 +182,7 @@ public class TestURLRewritingModifier ex String html = "<a href=\"#\" onclick=\"$(\'frame\').src=\'/index?param1=bla&sessionid=xyzxyzxyz\\'"; response = new SampleResult(); - response.setResponseData(html.getBytes()); + response.setResponseData(html, null); mod.setArgumentName("sessionid"); HTTPSamplerBase sampler = createSampler(); sampler.addArgument("sessionid", "xyzxyzxyz"); @@ -206,7 +206,7 @@ public class TestURLRewritingModifier ex newMod.setPathExtension(false); for (int i = 0; i < html.length; i++) { response = new SampleResult(); - response.setResponseData(html[i].getBytes()); + response.setResponseData(html[i], null); HTTPSamplerBase sampler = createSampler(); context.setCurrentSampler(sampler); context.setPreviousResult(response); @@ -228,7 +228,7 @@ public class TestURLRewritingModifier ex newMod.setShouldCache(false); for (int i = 0; i < html.length/2; i++) { response = new SampleResult(); - response.setResponseData(html[i*2].getBytes()); + response.setResponseData(html[i*2], null); HTTPSamplerBase sampler = createSampler(); context.setCurrentSampler(sampler); context.setPreviousResult(response); From [email protected] Sat Apr 24 19:03:57 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 98973 invoked from network); 24 Apr 2010 19:03:56 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 24 Apr 2010 19:03:56 -0000 Received: (qmail 41124 invoked by uid 500); 24 Apr 2010 19:03:56 -0000 Delivered-To: [email protected] Received: (qmail 40958 invoked by uid 500); 24 Apr 2010 19:03:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 40949 invoked by uid 99); 24 Apr 2010 19:03:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Apr 2010 19:03:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Apr 2010 19:03:54 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 29AB023889FA; Sat, 24 Apr 2010 19:03:11 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r937672 - /jakarta/jmeter/trunk/bin/testfiles/monitorStatus.xml Date: Sat, 24 Apr 2010 19:03:11 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: sebb Date: Sat Apr 24 19:03:10 2010 New Revision: 937672 URL: http://svn.apache.org/viewvc?rev=937672&view=rev Log: Tidy layout Modified: jakarta/jmeter/trunk/bin/testfiles/monitorStatus.xml Modified: jakarta/jmeter/trunk/bin/testfiles/monitorStatus.xml URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/bin/testfiles/monitorStatus.xml?rev=937672&r1=937671&r2=937672&view=diff ============================================================================== --- jakarta/jmeter/trunk/bin/testfiles/monitorStatus.xml (original) +++ jakarta/jmeter/trunk/bin/testfiles/monitorStatus.xml Sat Apr 24 19:03:10 2010 @@ -2,24 +2,25 @@ <?xml-stylesheet type="text/xsl" href="xform.xsl" ?> <status> <jvm><memory free='10807352' total='16318464' max='259522560'/></jvm> - <connector name='http-8080'><threadInfo maxThreads="200" currentThreadCount="3" - currentThreadsBusy="1" /><requestInfo maxTime="140" processingTime="846" - requestCount="29" errorCount="3" bytesReceived="0" bytesSent="96856" /> + <connector name='http-8080'> + <threadInfo maxThreads="200" currentThreadCount="3" currentThreadsBusy="1" /> + <requestInfo maxTime="140" processingTime="846" requestCount="29" errorCount="3" bytesReceived="0" bytesSent="96856" /> <workers> <worker stage="S" requestProcessingTime="0" requestBytesSent="0" requestBytesReceived="0" remoteAddr="161.129.204.104" virtualHost="localhost" method=" GET" currentUri="/manager/status" currentQueryString="XML=true" protocol="HTTP/1.1" /> <worker stage="R" requestProcessingTime="0" requestBytesSent="0" requestBytesRecieved="0" remoteAddr="&#63;" virtualHost="&#63;" method="&#63;" - currentUri="&#63;" currentQueryString="&#63;" protocol="&#63;" /><worker stage= + currentUri="&#63;" currentQueryString="&#63;" protocol="&#63;" /> + <worker stage= "R" requestProcessingTime="0" requestBytesSent="0" requestBytesRecieved="0" remoteAddr="&#63;" virtualHost="&#63;" method="&#63;" currentUri="&#63;" currentQueryString="&#63;" protocol="&#63;" /> </workers> </connector> - <connector name='ajp-8009'><threadInfo maxThreads="200" currentThreadCount="0" - currentThreadsBusy="0" /><requestInfo maxTime="0" processingTime="0" - requestCount="0" errorCount="0" bytesReceived="0" bytesSent="0" /> + <connector name='ajp-8009'> + <threadInfo maxThreads="200" currentThreadCount="0" currentThreadsBusy="0" /> + <requestInfo maxTime="0" processingTime="0" requestCount="0" errorCount="0" bytesReceived="0" bytesSent="0" /> <workers> </workers> </connector> From [email protected] Sat Apr 24 19:04:21 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 99164 invoked from network); 24 Apr 2010 19:04:20 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 24 Apr 2010 19:04:20 -0000 Received: (qmail 41735 invoked by uid 500); 24 Apr 2010 19:04:20 -0000 Delivered-To: [email protected] Received: (qmail 41633 invoked by uid 500); 24 Apr 2010 19:04:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 41626 invoked by uid 99); 24 Apr 2010 19:04:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Apr 2010 19:04:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Apr 2010 19:04:17 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B7DD92388A2D; Sat, 24 Apr 2010 19:03:34 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r937673 - /jakarta/jmeter/trunk/test/src/org/apache/jmeter/monitor/model/TestObjectFactory.java Date: Sat, 24 Apr 2010 19:03:34 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: sebb Date: Sat Apr 24 19:03:34 2010 New Revision: 937673 URL: http://svn.apache.org/viewvc?rev=937673&view=rev Log: Initial test cases Modified: jakarta/jmeter/trunk/test/src/org/apache/jmeter/monitor/model/TestObjectFactory.java Modified: jakarta/jmeter/trunk/test/src/org/apache/jmeter/monitor/model/TestObjectFactory.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/test/src/org/apache/jmeter/monitor/model/TestObjectFactory.java?rev=937673&r1=937672&r2=937673&view=diff ============================================================================== --- jakarta/jmeter/trunk/test/src/org/apache/jmeter/monitor/model/TestObjectFactory.java (original) +++ jakarta/jmeter/trunk/test/src/org/apache/jmeter/monitor/model/TestObjectFactory.java Sat Apr 24 19:03:34 2010 @@ -16,63 +16,59 @@ */ package org.apache.jmeter.monitor.model; +import java.io.File; +import java.util.List; + +import org.apache.commons.io.FileUtils; + import junit.framework.TestCase; public class TestObjectFactory extends TestCase { + private ObjectFactory of; + + private Status status; + + @Override + public void setUp(){ + of = ObjectFactory.getInstance(); + } - // TODO turn this into a proper test case + public void testNoStatus() throws Exception { + status = of.parseString("<a></a>"); + assertNull(status); + } + + public void testStatus() throws Exception { + status = of.parseString("<status></status>"); + assertNotNull(status); + } + + public void testFileData() throws Exception { + byte[] bytes= FileUtils.readFileToByteArray(new File("bin/testfiles/monitorStatus.xml")); + status = of.parseBytes(bytes); + checkResult(); + } - public void testSomething() throws Exception{ - + public void testStringData() throws Exception { + String content = FileUtils.readFileToString(new File("bin/testfiles/monitorStatus.xml")); + status = of.parseString(content); + checkResult(); } - /** - * Basic method for testing the class - * - * @param args - */ - public static void main(String[] args) { - if (args != null && args.length == 2) { - String file = null; - // int count = 1; - if (args[0] != null) { - file = args[0]; - } - if (args[1] != null) { - // count = Integer.parseInt(args[1]); - } - try { - ObjectFactory of = ObjectFactory.getInstance(); - java.io.File infile = new java.io.File(file); - java.io.FileInputStream fis = new java.io.FileInputStream(infile); - java.io.InputStreamReader isr = new java.io.InputStreamReader(fis); - StringBuilder buf = new StringBuilder(); - java.io.BufferedReader br = new java.io.BufferedReader(isr); - String line = null; - while ((line = br.readLine()) != null) { - buf.append(line); - } - System.out.println("contents: "); - System.out.println(buf.toString()); - System.out.println("----------------------"); - Status st = of.parseBytes(buf.toString().getBytes()); - if (st == null) { - System.out.println("parse failed"); - } else { - System.out.println("parse successful:"); - System.out.println(st.getJvm().getMemory().getFree()); - System.out.println(st.getJvm().getMemory().getTotal()); - System.out.println(st.getJvm().getMemory().getMax()); - System.out.println("connector size: " + st.getConnector().size()); - Connector conn = st.getConnector().get(0); - System.out.println("conn: " + conn.getThreadInfo().getMaxThreads()); - } - } catch (java.io.FileNotFoundException e) { - e.printStackTrace(); - } catch (java.io.IOException e) { - e.printStackTrace(); - } - } else { - } + + private void checkResult(){ + assertNotNull(status); + final Jvm jvm = status.getJvm(); + assertNotNull(jvm); + final Memory memory = jvm.getMemory(); + assertNotNull(memory); + assertEquals(10807352, memory.getFree()); + assertEquals(16318464, memory.getTotal()); + assertEquals(259522560, memory.getMax()); + final List<Connector> connector = status.getConnector(); + assertNotNull(connector); + assertEquals(2, connector.size()); + Connector conn = connector.get(0); + assertEquals(200, conn.getThreadInfo().getMaxThreads()); } } From [email protected] Sun Apr 25 00:25:00 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33898 invoked from network); 25 Apr 2010 00:24:59 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 25 Apr 2010 00:24:59 -0000 Received: (qmail 82425 invoked by uid 500); 25 Apr 2010 00:24:58 -0000 Delivered-To: [email protected] Received: (qmail 82305 invoked by uid 500); 25 Apr 2010 00:24:58 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 82298 invoked by uid 99); 25 Apr 2010 00:24:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Apr 2010 00:24:58 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Apr 2010 00:24:56 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id BA76F23888FE; Sun, 25 Apr 2010 00:24:13 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r937726 - /jakarta/jmeter/trunk/src/core/org/apache/jmeter/ProxyAuthenticator.java Date: Sun, 25 Apr 2010 00:24:13 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: sebb Date: Sun Apr 25 00:24:13 2010 New Revision: 937726 URL: http://svn.apache.org/viewvc?rev=937726&view=rev Log: Should only be applied to PROXY request types Modified: jakarta/jmeter/trunk/src/core/org/apache/jmeter/ProxyAuthenticator.java Modified: jakarta/jmeter/trunk/src/core/org/apache/jmeter/ProxyAuthenticator.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/core/org/apache/jmeter/ProxyAuthenticator.java?rev=937726&r1=937725&r2=937726&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/core/org/apache/jmeter/ProxyAuthenticator.java (original) +++ jakarta/jmeter/trunk/src/core/org/apache/jmeter/ProxyAuthenticator.java Sun Apr 25 00:24:13 2010 @@ -50,12 +50,21 @@ public class ProxyAuthenticator extends /** * Return a PasswordAuthentication instance using the userName and password * specified in the constructor. + * Only applies to PROXY request types. * * @return a PasswordAuthentication instance to use for authenticating with * the proxy */ @Override protected PasswordAuthentication getPasswordAuthentication() { - return new PasswordAuthentication(userName, password); + switch (getRequestorType()){ + case PROXY: + return new PasswordAuthentication(userName, password); + case SERVER: + break; + default: + break; + } + return null; } } From [email protected] Sun Apr 25 15:45:17 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91813 invoked from network); 25 Apr 2010 15:45:16 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 25 Apr 2010 15:45:16 -0000 Received: (qmail 97029 invoked by uid 500); 25 Apr 2010 15:45:16 -0000 Delivered-To: [email protected] Received: (qmail 96844 invoked by uid 500); 25 Apr 2010 15:45:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 96837 invoked by uid 99); 25 Apr 2010 15:45:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Apr 2010 15:45:15 +0000 X-ASF-Spam-Status: No, hits=-1318.3 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Apr 2010 15:45:14 +0000 Received: from [161.129.204.104] (localhost [161.129.204.104]) by vmgump.apache.org (Postfix) with ESMTP id 5169EAB4088 for <[email protected]>; Sun, 25 Apr 2010 08:44:53 -0700 (PDT) Date: Sun, 25 Apr 2010 08:44:53 PDT From: Petar Tahchiev <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project cargo-test (in module cargo) failed Message-Id: <[email protected]> To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project cargo-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 50 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - cargo-test : Cargo provides a Java API to manipulate Java Containers Full details are available at: http://vmgump.apache.org/gump/public/cargo/cargo-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -WARNING- Overriding Maven2 settings: [/srv/gump/public/workspace/cargo/gump_mvn_settings.xml] -DEBUG- (Gump generated) Maven2 Settings in: /srv/gump/public/workspace/cargo/gump_mvn_settings.xml -INFO- Failed with reason build failed -DEBUG- Maven POM in: /srv/gump/public/workspace/cargo/pom.xml -INFO- Project Reports in: /srv/gump/public/workspace/cargo/build/test-report -WARNING- No directory [/srv/gump/public/workspace/cargo/build/test-report] The following work was performed: http://vmgump.apache.org/gump/public/cargo/cargo-test/gump_work/build_cargo_cargo-test.html Work Name: build_cargo_cargo-test (Type: Build) Work ended in a state of : Failed Elapsed: 1 min 2 secs Command Line: mvn --batch-mode -Dsurefire.useFile=false --settings /srv/gump/public/workspace/cargo/gump_mvn_settings.xml test [Working Directory: /srv/gump/public/workspace/cargo] CLASSPATH: /usr/lib/jvm/java-6-sun/lib/tools.jar:/srv/gump/public/workspace/cargo/core/containers/weblogic/target/cargo-core-container-weblogic-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/jetty/target/cargo-core-container-jetty-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/api/module/target/cargo-core-api-module-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/resources/build-tools/target/cargo-build-tools-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/jrun/target/cargo-core-container-jrun-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/resin/target/cargo-core-container-resin-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/extensions/maven2/plugin/target/cargo-maven2-plugin-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/tomcat/target/cargo-core-container-tomcat-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/jo/target/cargo-core-container-jo-1.0.1-SNAPSH OT.jar:/srv/gump/public/workspace/cargo/core/api/generic/target/cargo-core-api-generic-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/orion/target/cargo-core-container-orion-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/api/container/target/cargo-core-api-container-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/jonas/target/cargo-core-container-jonas-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/jboss/target/cargo-core-container-jboss-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/extensions/ant/target/cargo-ant-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/uberjar/target/cargo-core-uberjar-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/geronimo/target/cargo-core-container-geronimo-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/api/util/target/cargo-core-api-util-1.0.1-SNAPSHOT.jar --------------------------------------------- Apr 25, 2010 8:44:51 AM org.apache.commons.vfs.VfsLog info INFO: Using "/tmp/vfs_cache" as temporary files store. Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.851 sec Running org.codehaus.cargo.util.Base64Test Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec Running org.codehaus.cargo.util.VFSFileHandlerTest Apr 25, 2010 8:44:51 AM org.apache.commons.vfs.VfsLog info INFO: Using "/tmp/vfs_cache" as temporary files store. Apr 25, 2010 8:44:51 AM org.apache.commons.vfs.VfsLog info INFO: Using "/tmp/vfs_cache" as temporary files store. Apr 25, 2010 8:44:51 AM org.apache.commons.vfs.VfsLog info INFO: Using "/tmp/vfs_cache" as temporary files store. Apr 25, 2010 8:44:51 AM org.apache.commons.vfs.VfsLog info INFO: Using "/tmp/vfs_cache" as temporary files store. Apr 25, 2010 8:44:51 AM org.apache.commons.vfs.VfsLog info INFO: Using "/tmp/vfs_cache" as temporary files store. Apr 25, 2010 8:44:51 AM org.apache.commons.vfs.VfsLog info INFO: Using "/tmp/vfs_cache" as temporary files store. Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.129 sec Running org.codehaus.cargo.util.Dom4JUtilTest Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.096 sec <<< FAILURE! testNoElementThrowsException(org.codehaus.cargo.util.Dom4JUtilTest) Time elapsed: 0.006 sec <<< ERROR! org.dom4j.XPathException: Exception occurred evaluting XPath: weblogic:app-deployment. Exception: XPath expression uses unbound namespace prefix weblogic at org.dom4j.xpath.DefaultXPath.handleJaxenException(DefaultXPath.java:374) at org.dom4j.xpath.DefaultXPath.selectNodes(DefaultXPath.java:134) at org.codehaus.cargo.util.Dom4JUtil.selectElementsMatchingXPath(Dom4JUtil.java:86) at org.codehaus.cargo.util.Dom4JUtil.selectElementMatchingXPath(Dom4JUtil.java:100) at org.codehaus.cargo.util.Dom4JUtilTest.testNoElementThrowsException(Dom4JUtilTest.java:48) Results : Tests in error: testNoElementThrowsException(org.codehaus.cargo.util.Dom4JUtilTest) Tests run: 17, Failures: 0, Errors: 1, Skipped: 0 [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] There are test failures. Please refer to /srv/gump/public/workspace/cargo/core/api/util/target/surefire-reports for the individual test results. [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 57 seconds [INFO] Finished at: Sun Apr 25 08:44:52 PDT 2010 [INFO] Final Memory: 16M/29M [INFO] ------------------------------------------------------------------------ --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/cargo/cargo-test/rss.xml - Atom: http://vmgump.apache.org/gump/public/cargo/cargo-test/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.3. Gump Run 05000025042010, vmgump:vmgump-public:05000025042010 Gump E-mail Identifier (unique within run) #51. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] From [email protected] Sun Apr 25 15:50:43 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92953 invoked from network); 25 Apr 2010 15:50:42 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 25 Apr 2010 15:50:42 -0000 Received: (qmail 8688 invoked by uid 500); 25 Apr 2010 15:50:41 -0000 Delivered-To: [email protected] Received: (qmail 8567 invoked by uid 500); 25 Apr 2010 15:50:41 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 8560 invoked by uid 99); 25 Apr 2010 15:50:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Apr 2010 15:50:41 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Apr 2010 15:50:38 +0000 Received: from [161.129.204.104] (localhost [161.129.204.104]) by vmgump.apache.org (Postfix) with ESMTP id 5DD51AB4088 for <[email protected]>; Sun, 25 Apr 2010 08:50:16 -0700 (PDT) Date: Sun, 25 Apr 2010 08:50:16 PDT From: Stefan Bodewig <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-bsf3 (in module jakarta-bsf3) failed Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-bsf3 has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 289 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - jakarta-bsf3 : Bean Scripting Framework Full details are available at: http://vmgump.apache.org/gump/public/jakarta-bsf3/jakarta-bsf3/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Optional dependency jetty failed with reason build failed -DEBUG- (Gump generated) Maven2 Settings in: /srv/gump/public/workspace/jakarta-bsf3/gump_mvn_settings.xml -INFO- Failed with reason build failed -DEBUG- Maven POM in: /srv/gump/public/workspace/jakarta-bsf3/pom.xml The following work was performed: http://vmgump.apache.org/gump/public/jakarta-bsf3/jakarta-bsf3/gump_work/build_jakarta-bsf3_jakarta-bsf3.html Work Name: build_jakarta-bsf3_jakarta-bsf3 (Type: Build) Work ended in a state of : Failed Elapsed: 59 secs Command Line: mvn --batch-mode --settings /srv/gump/public/workspace/jakarta-bsf3/gump_mvn_settings.xml install [Working Directory: /srv/gump/public/workspace/jakarta-bsf3] CLASSPATH: /usr/lib/jvm/java-6-sun/lib/tools.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/packages/junit3.8.1/junit.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/asm/output/dist/lib/all/asm-all-25042010.jar:/srv/gump/public/workspace/asm/output/dist/lib/asm-analysis-25042010.jar:/srv/gump/public/workspace/asm/output/dist/lib/asm-util-25042010.jar:/srv/gump/public/workspace/asm/output/dist/lib/asm-xml-25042010.jar:/srv/gump/public/workspace/asm/output/dist/lib/asm-commons-25042010.jar:/srv/gump/public/workspace/asm/output/ dist/lib/asm-25042010.jar:/srv/gump/public/workspace/asm/output/dist/lib/asm-tree-25042010.jar:/srv/gump/public/workspace/jakarta-bsf3/bsf-api/target/bsf-api-3.0-SNAPSHOT.jar:/srv/gump/public/workspace/commons-collections-3.x/target/commons-collections-3.3-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/io/target/commons-io-2.0-SNAPSHOT.jar:/srv/gump/public/workspace/commons-lang-2.x/target/commons-lang-2.6-SNAPSHOT.jar:/srv/gump/public/workspace/groovy/target/groovy-1.8.0-beta-1-SNAPSHOT.jar:/srv/gump/public/workspace/jakarta-oro/jakarta-oro-25042010.jar:/srv/gump/public/workspace/tomcat-tc6/output/build/lib/servlet-api.jar:/srv/gump/public/workspace/jetty/jetty-ajp/target/jetty-ajp-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-plus/target/jetty-plus-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-jndi/target/jetty-jndi-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-deploy/target/jetty-deploy-7.1.0-SNAPSHOT.jar:/srv/gump/public/worksp ace/jetty/jetty-servlets/target/jetty-servlets-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-servlet/target/jetty-servlet-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-jaspi/target/jetty-jaspi-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-webapp/target/jetty-webapp-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-osgi/jetty-osgi-boot-warurl/target/jetty-osgi-boot-warurl-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-io/target/jetty-io-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-policy/target/jetty-policy-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-security/target/jetty-security-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-server/target/jetty-server-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-http/target/jetty-http-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-osgi/jetty-osgi-boot-jsp/target/jetty-osgi-boot-jsp-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspac e/jetty/jetty-websocket/target/jetty-websocket-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-continuation/target/jetty-continuation-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-util/target/jetty-util-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-osgi/jetty-osgi-httpservice/target/jetty-httpservice-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-osgi/jetty-osgi-boot-logback/target/jetty-osgi-boot-logback-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-start/target/jetty-start-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-xml/target/jetty-xml-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-osgi/jetty-osgi-boot/target/jetty-osgi-boot-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-jmx/target/jetty-jmx-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-rewrite/target/jetty-rewrite-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-client/target/jetty-client-7.1.0-SNAPSHOT.jar:/ srv/gump/public/workspace/jetty/jetty-annotations/target/jetty-annotations-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/junit/dist/junit-25042010.jar:/srv/gump/public/workspace/jython/dist/jython-dev.jar:/srv/gump/packages/retroweaver-2.0.7/retroweaver-rt.jar:/srv/gump/packages/retroweaver-2.0.7/retroweaver.jar:/srv/gump/public/workspace/rhino/build/rhino_25042010/js.jar:/srv/gump/public/workspace/velocity-engine/bin/velocity-25042010.jar:/srv/gump/public/workspace/velocity-engine/bin/velocity-25042010-dep.jar:/srv/gump/public/workspace/ws-axis2-commons/axiom/modules/axiom-impl/target/axiom-impl-1.2.9-SNAPSHOT.jar:/srv/gump/public/workspace/ws-axis2-commons/axiom/modules/axiom-api/target/axiom-api-1.2.9-SNAPSHOT.jar:/srv/gump/public/workspace/ws-axis2-commons/axiom/modules/axiom-dom/target/axiom-dom-1.2.9-SNAPSHOT.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar --------------------------------------------- Downloading: http://localhost:8192/maven2/xmlbeans/xbean/2.2.0/xbean-2.2.0.jar Downloading: http://localhost:8192/maven2/rhino/js/1.6R7/js-1.6R7.jar Downloading: http://localhost:8192/maven2/org/apache/ws/commons/axiom/axiom-api/1.2.2/axiom-api-1.2.2.jar Downloading: http://localhost:8192/maven2/jaxen/jaxen/1.1-beta-9/jaxen-1.1-beta-9.jar Downloading: http://localhost:8192/maven2/org/codehaus/woodstox/wstx-asl/3.2.0/wstx-asl-3.2.0.jar 384K downloaded (axiom-api-1.2.2.jar) 221K downloaded (jaxen-1.1-beta-9.jar) Downloading: http://localhost:8192/maven2/org/apache/ws/commons/axiom/axiom-impl/1.2.2/axiom-impl-1.2.2.jar 119K downloaded (axiom-impl-1.2.2.jar) 1040K downloaded (js-1.6R7.jar) [INFO] [compiler:compile {execution: default-compile}] [INFO] Compiling 14 source files to /srv/gump/public/workspace/jakarta-bsf3/bsf-utils/target/classes [INFO] [resources:testResources {execution: default-testResources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 0 resource [INFO] [compiler:testCompile {execution: default-testCompile}] [INFO] Compiling 1 source file to /srv/gump/public/workspace/jakarta-bsf3/bsf-utils/target/test-classes [INFO] [surefire:test {execution: default-test}] [INFO] Surefire report directory: /srv/gump/public/workspace/jakarta-bsf3/bsf-utils/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.bsf.xml.JavaScriptXMLHelperTestCase Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.663 sec <<< FAILURE! Results : Tests in error: testToOmElement(org.apache.bsf.xml.JavaScriptXMLHelperTestCase) testToScriptXML(org.apache.bsf.xml.JavaScriptXMLHelperTestCase) Tests run: 2, Failures: 0, Errors: 2, Skipped: 0 [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] There are test failures. Please refer to /srv/gump/public/workspace/jakarta-bsf3/bsf-utils/target/surefire-reports for the individual test results. [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 58 seconds [INFO] Finished at: Sun Apr 25 08:50:09 PDT 2010 [INFO] Final Memory: 27M/48M [INFO] ------------------------------------------------------------------------ --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-bsf3/jakarta-bsf3/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-bsf3/jakarta-bsf3/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.3. Gump Run 05000025042010, vmgump:vmgump-public:05000025042010 Gump E-mail Identifier (unique within run) #54. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] From [email protected] Sun Apr 25 16:20:20 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 96026 invoked from network); 25 Apr 2010 16:20:20 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 25 Apr 2010 16:20:20 -0000 Received: (qmail 20426 invoked by uid 500); 25 Apr 2010 16:20:19 -0000 Delivered-To: [email protected] Received: (qmail 20262 invoked by uid 500); 25 Apr 2010 16:20:19 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 20255 invoked by uid 99); 25 Apr 2010 16:20:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Apr 2010 16:20:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Apr 2010 16:20:16 +0000 Received: from [161.129.204.104] (localhost [161.129.204.104]) by vmgump.apache.org (Postfix) with ESMTP id E2C02AB4088 for <[email protected]>; Sun, 25 Apr 2010 09:19:52 -0700 (PDT) Date: Sun, 25 Apr 2010 09:19:52 PDT From: Petar Tahchiev <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project cactus (in module jakarta-cactus) failed Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project cactus has an issue affecting its community integration. This issue affects 3 projects, and has been outstanding for 798 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - cactus : Cactus Framework - portals-jetspeed-1 : Enterprise Information Portal - strutstestcase : An extension of the standard JUnit TestCase class that provi... Full details are available at: http://vmgump.apache.org/gump/public/jakarta-cactus/cactus/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [cactus.core.framework.uberjar.javaEE.14-1.8.1-SNAPSHOT.jar] identifier set to project name -INFO- Optional dependency httpunit failed with reason build failed -INFO- Optional dependency jetty failed with reason build failed -DEBUG- (Gump generated) Maven2 Settings in: /srv/gump/public/workspace/jakarta-cactus/gump_mvn_settings.xml -INFO- Failed with reason build failed -DEBUG- Maven POM in: /srv/gump/public/workspace/jakarta-cactus/pom.xml -INFO- Project Reports in: /srv/gump/public/workspace/jakarta-cactus/build/test-report -WARNING- No directory [/srv/gump/public/workspace/jakarta-cactus/build/test-report] -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/jakarta-cactus/cactus/gump_work/build_jakarta-cactus_cactus.html Work Name: build_jakarta-cactus_cactus (Type: Build) Work ended in a state of : Failed Elapsed: 1 min 10 secs Command Line: mvn --batch-mode -Dsurefire.useFile=false --settings /srv/gump/public/workspace/jakarta-cactus/gump_mvn_settings.xml install [Working Directory: /srv/gump/public/workspace/jakarta-cactus] CLASSPATH: /usr/lib/jvm/java-6-sun/lib/tools.jar:/srv/gump/public/workspace/cargo/core/containers/weblogic/target/cargo-core-container-weblogic-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/jetty/target/cargo-core-container-jetty-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/api/module/target/cargo-core-api-module-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/resources/build-tools/target/cargo-build-tools-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/jrun/target/cargo-core-container-jrun-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/resin/target/cargo-core-container-resin-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/extensions/maven2/plugin/target/cargo-maven2-plugin-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/tomcat/target/cargo-core-container-tomcat-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/jo/target/cargo-core-container-jo-1.0.1-SNAPSH OT.jar:/srv/gump/public/workspace/cargo/core/api/generic/target/cargo-core-api-generic-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/orion/target/cargo-core-container-orion-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/api/container/target/cargo-core-api-container-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/jonas/target/cargo-core-container-jonas-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/jboss/target/cargo-core-container-jboss-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/extensions/ant/target/cargo-ant-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/uberjar/target/cargo-core-uberjar-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/geronimo/target/cargo-core-container-geronimo-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/api/util/target/cargo-core-api-util-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/checkstyle/target/dist/checkstyle-25042010/chec kstyle-25042010.jar:/srv/gump/public/workspace/checkstyle/target/dist/checkstyle-25042010/checkstyle-optional-25042010.jar:/srv/gump/public/workspace/apache-commons/beanutils/dist/commons-beanutils-25042010.jar:/srv/gump/public/workspace/apache-commons/codec/dist/commons-codec-25042010.jar:/srv/gump/public/workspace/commons-collections-3.x/target/commons-collections-3.3-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/digester/dist/commons-digester.jar:/srv/gump/public/workspace/httpcomponents/oac.hc3x/dist/commons-httpclient.jar:/srv/gump/public/workspace/apache-commons/io/target/commons-io-2.0-SNAPSHOT.jar:/srv/gump/public/workspace/commons-lang-2.x/target/commons-lang-2.6-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-25042010.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api-25042010.jar:/srv/gump/public/workspace/apache-commons/validator/dist/commons-validator-25042010.jar:/srv/gump/public/works pace/httpunit/lib/httpunit.jar:/srv/gump/public/workspace/jakarta-oro/jakarta-oro-25042010.jar:/srv/gump/public/workspace/tomcat-tc6/output/build/lib/servlet-api.jar:/srv/gump/public/workspace/jetty/jetty-ajp/target/jetty-ajp-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-plus/target/jetty-plus-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-jndi/target/jetty-jndi-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-deploy/target/jetty-deploy-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-servlets/target/jetty-servlets-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-servlet/target/jetty-servlet-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-jaspi/target/jetty-jaspi-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-webapp/target/jetty-webapp-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-osgi/jetty-osgi-boot-warurl/target/jetty-osgi-boot-warurl-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jett y-io/target/jetty-io-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-policy/target/jetty-policy-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-security/target/jetty-security-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-server/target/jetty-server-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-http/target/jetty-http-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-osgi/jetty-osgi-boot-jsp/target/jetty-osgi-boot-jsp-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-websocket/target/jetty-websocket-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-continuation/target/jetty-continuation-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-util/target/jetty-util-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-osgi/jetty-osgi-httpservice/target/jetty-httpservice-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-osgi/jetty-osgi-boot-logback/target/jetty-osgi-boot-logback-7.1.0-SNAPSHOT.jar:/ srv/gump/public/workspace/jetty/jetty-start/target/jetty-start-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-xml/target/jetty-xml-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-osgi/jetty-osgi-boot/target/jetty-osgi-boot-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-jmx/target/jetty-jmx-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-rewrite/target/jetty-rewrite-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-client/target/jetty-client-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-annotations/target/jetty-annotations-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/junit/dist/junit-25042010.jar:/srv/gump/public/workspace/logging-log4j-12/dist/lib/log4j-25042010.jar:/srv/gump/public/workspace/rat/apache-rat-tasks/target/apache-rat-tasks-0.7-SNAPSHOT.jar:/srv/gump/public/workspace/rat/apache-rat-core/target/apache-rat-core-0.7-SNAPSHOT.jar:/srv/gump/public/workspace/rat/apache-rat-plugin/target/apache-rat-plugin-0 .7-SNAPSHOT.jar:/srv/gump/public/workspace/tomcat-jasper_tc6/build/shared/lib/el-api.jar:/srv/gump/public/workspace/tomcat-jasper_tc6/build/shared/lib/jsp-api.jar:/srv/gump/public/workspace/tomcat-jasper_tc6/build/shared/lib/jasper-runtime.jar:/srv/gump/public/workspace/tomcat-jasper_tc6/build/shared/lib/jasper-compiler.jar:/srv/gump/public/workspace/tomcat-jasper_tc6/build/shared/lib/jasper-el.jar:/srv/gump/public/workspace/velocity-engine/bin/velocity-25042010.jar:/srv/gump/public/workspace/velocity-engine/bin/velocity-25042010-dep.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar --------------------------------------------- Downloading: http://localhost:8192/maven2/org/apache/maven/reporting/maven-reporting-impl/161.129.204.104/maven-reporting-impl-161.129.204.104.jar Downloading: http://localhost:8192/maven2/checkstyle/checkstyle/5.0/checkstyle-5.0.jar 840K downloaded (cargo-core-uberjar-0.9.jar) Downloading: http://localhost:8192/maven2/org/codehaus/plexus/plexus-resources/1.0-alpha-6/plexus-resources-1.0-alpha-6.jar 539K downloaded (checkstyle-5.0.jar) [INFO] [checkstyle:check {execution: default}] [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] basedir /srv/gump/public/workspace/jakarta-cactus/framework/src/main/java does not exist [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.IllegalStateException: basedir /srv/gump/public/workspace/jakarta-cactus/framework/src/main/java does not exist at org.codehaus.plexus.util.DirectoryScanner.scan(DirectoryScanner.java:550) at org.codehaus.plexus.util.FileUtils.getFileAndDirectoryNames(FileUtils.java:1717) at org.codehaus.plexus.util.FileUtils.getFileNames(FileUtils.java:1645) at org.codehaus.plexus.util.FileUtils.getFileNames(FileUtils.java:1627) at org.codehaus.plexus.util.FileUtils.getFiles(FileUtils.java:1601) at org.codehaus.plexus.util.FileUtils.getFiles(FileUtils.java:1584) at org.apache.maven.plugin.checkstyle.DefaultCheckstyleExecutor.getFilesToProcess(DefaultCheckstyleExecutor.java:407) at org.apache.maven.plugin.checkstyle.DefaultCheckstyleExecutor.executeCheckstyle(DefaultCheckstyleExecutor.java:89) at org.apache.maven.plugin.checkstyle.CheckstyleViolationCheckMojo.execute(CheckstyleViolationCheckMojo.java:393) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 minute 8 seconds [INFO] Finished at: Sun Apr 25 09:19:49 PDT 2010 [INFO] Final Memory: 26M/48M [INFO] ------------------------------------------------------------------------ --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-cactus/cactus/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-cactus/cactus/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.3. Gump Run 05000025042010, vmgump:vmgump-public:05000025042010 Gump E-mail Identifier (unique within run) #57. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] From [email protected] Mon Apr 26 13:08:55 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64745 invoked from network); 26 Apr 2010 13:08:54 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Apr 2010 13:08:54 -0000 Received: (qmail 70861 invoked by uid 500); 26 Apr 2010 13:08:53 -0000 Delivered-To: [email protected] Received: (qmail 70771 invoked by uid 500); 26 Apr 2010 13:08:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 70764 invoked by uid 99); 26 Apr 2010 13:08:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 13:08:53 +0000 X-ASF-Spam-Status: No, hits=-1469.8 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 13:08:52 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 808CD23889B3; Mon, 26 Apr 2010 13:08:10 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r938028 - /jakarta/jmeter/trunk/test/src/org/apache/jmeter/monitor/model/TestObjectFactory.java Date: Mon, 26 Apr 2010 13:08:10 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: sebb Date: Mon Apr 26 13:08:10 2010 New Revision: 938028 URL: http://svn.apache.org/viewvc?rev=938028&view=rev Log: Tests are run from the bin directory Modified: jakarta/jmeter/trunk/test/src/org/apache/jmeter/monitor/model/TestObjectFactory.java Modified: jakarta/jmeter/trunk/test/src/org/apache/jmeter/monitor/model/TestObjectFactory.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/test/src/org/apache/jmeter/monitor/model/TestObjectFactory.java?rev=938028&r1=938027&r2=938028&view=diff ============================================================================== --- jakarta/jmeter/trunk/test/src/org/apache/jmeter/monitor/model/TestObjectFactory.java (original) +++ jakarta/jmeter/trunk/test/src/org/apache/jmeter/monitor/model/TestObjectFactory.java Mon Apr 26 13:08:10 2010 @@ -45,13 +45,13 @@ public class TestObjectFactory extends T } public void testFileData() throws Exception { - byte[] bytes= FileUtils.readFileToByteArray(new File("bin/testfiles/monitorStatus.xml")); + byte[] bytes= FileUtils.readFileToByteArray(new File("testfiles/monitorStatus.xml")); status = of.parseBytes(bytes); checkResult(); } public void testStringData() throws Exception { - String content = FileUtils.readFileToString(new File("bin/testfiles/monitorStatus.xml")); + String content = FileUtils.readFileToString(new File("testfiles/monitorStatus.xml")); status = of.parseString(content); checkResult(); } From [email protected] Mon Apr 26 13:09:57 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65574 invoked from network); 26 Apr 2010 13:09:56 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Apr 2010 13:09:56 -0000 Received: (qmail 72777 invoked by uid 500); 26 Apr 2010 13:09:56 -0000 Delivered-To: [email protected] Received: (qmail 72680 invoked by uid 500); 26 Apr 2010 13:09:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 72673 invoked by uid 99); 26 Apr 2010 13:09:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 13:09:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 13:09:53 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id E496423889B3; Mon, 26 Apr 2010 13:09:10 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r938030 - /jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/JMSSampler.java Date: Mon, 26 Apr 2010 13:09:10 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: sebb Date: Mon Apr 26 13:09:10 2010 New Revision: 938030 URL: http://svn.apache.org/viewvc?rev=938030&view=rev Log: Better handling of errors Modified: jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/JMSSampler.java Modified: jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/JMSSampler.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/JMSSampler.java?rev=938030&r1=938029&r2=938030&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/JMSSampler.java (original) +++ jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/JMSSampler.java Mon Apr 26 13:09:10 2010 @@ -121,6 +121,8 @@ public class JMSSampler extends Abstract private transient Receiver receiverThread = null; + private transient Throwable thrown = null; + /** * {@inheritDoc} */ @@ -146,21 +148,23 @@ public class JMSSampler extends Abstract Message replyMsg = executor.sendAndReceive(msg); if (replyMsg == null) { res.setSuccessful(false); - if (LOGGER.isDebugEnabled()) { - LOGGER.debug("No reply message received"); - } + res.setResponseMessage("No reply message received"); } else { if (replyMsg instanceof TextMessage) { res.setResponseData(((TextMessage) replyMsg).getText(), null); } else { res.setResponseData(replyMsg.toString(), null); } - res.setSuccessful(true); + res.setResponseOK(); } } } catch (Exception e) { LOGGER.warn(e.getLocalizedMessage(), e); - res.setResponseData(new byte[0]); + if (thrown != null){ + res.setResponseMessage(thrown.toString()); + } else { + res.setResponseMessage(e.getLocalizedMessage()); + } res.setSuccessful(false); } res.sampleEnd(); @@ -290,6 +294,7 @@ public class JMSSampler extends Abstract logThreadStart(); Context context = null; + thrown = null; try { context = getInitialContext(); Object obj = context.lookup(getQueueConnectionFactory()); @@ -352,10 +357,12 @@ public class JMSSampler extends Abstract if (LOGGER.isDebugEnabled()) { LOGGER.debug("Connection started"); } - } catch (JMSException e) { - LOGGER.warn(e.getLocalizedMessage(), e); - } catch (NamingException e) { - LOGGER.warn(e.getLocalizedMessage(), e); + } catch (Exception e) { + thrown = e; + LOGGER.error(e.getLocalizedMessage(), e); + } catch (NoClassDefFoundError e) { + thrown = e; + LOGGER.error(e.getLocalizedMessage(), e); } finally { if (context != null) { try { From [email protected] Mon Apr 26 14:27:44 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10959 invoked from network); 26 Apr 2010 14:27:43 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Apr 2010 14:27:43 -0000 Received: (qmail 88543 invoked by uid 500); 26 Apr 2010 14:27:42 -0000 Delivered-To: [email protected] Received: (qmail 88409 invoked by uid 500); 26 Apr 2010 14:27:42 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 88401 invoked by uid 99); 26 Apr 2010 14:27:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 14:27:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 14:27:40 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id A749523889B3; Mon, 26 Apr 2010 14:26:57 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r938057 - /jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/MessageAdmin.java Date: Mon, 26 Apr 2010 14:26:57 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: sebb Date: Mon Apr 26 14:26:57 2010 New Revision: 938057 URL: http://svn.apache.org/viewvc?rev=938057&view=rev Log: Fix possible NPE Modified: jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/MessageAdmin.java Modified: jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/MessageAdmin.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/MessageAdmin.java?rev=938057&r1=938056&r2=938057&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/MessageAdmin.java (original) +++ jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/MessageAdmin.java Mon Apr 26 14:26:57 2010 @@ -81,10 +81,10 @@ public class MessageAdmin { if (log.isDebugEnabled()) { log.debug("GET_ID [" + id + "] for " + holder); } - if (!holder.hasReply()) { - log.info("Message with " + id + " not found."); + if (holder == null || !holder.hasReply()) { + log.debug("Message with " + id + " not found."); } - return (Message) holder.getReply(); + return holder==null ? null : (Message) holder.getReply(); } } From [email protected] Mon Apr 26 14:35:54 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 14176 invoked from network); 26 Apr 2010 14:35:53 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Apr 2010 14:35:53 -0000 Received: (qmail 98780 invoked by uid 500); 26 Apr 2010 14:35:53 -0000 Delivered-To: [email protected] Received: (qmail 98567 invoked by uid 500); 26 Apr 2010 14:35:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 98560 invoked by uid 99); 26 Apr 2010 14:35:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 14:35:53 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 14:35:51 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 2BAC123889B3; Mon, 26 Apr 2010 14:35:08 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r938062 - in /jakarta/jmeter/trunk: src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/FixedQueueExecutor.java xdocs/changes.xml Date: Mon, 26 Apr 2010 14:35:08 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org Author: sebb Date: Mon Apr 26 14:35:07 2010 New Revision: 938062 URL: http://svn.apache.org/viewvc?rev=938062&view=rev Log: Bug 49111 - "Message With ID Not Found" Error on JMS P2P sampler. Partial fix (can still fail if "Use Request Message Id As Correlation Id" is selected) Modified: jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/FixedQueueExecutor.java jakarta/jmeter/trunk/xdocs/changes.xml Modified: jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/FixedQueueExecutor.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/FixedQueueExecutor.java?rev=938062&r1=938061&r2=938062&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/FixedQueueExecutor.java (original) +++ jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/FixedQueueExecutor.java Mon Apr 26 14:35:07 2010 @@ -84,13 +84,16 @@ public class FixedQueueExecutor implemen log.error("Correlation id is null. Set the JMSCorrelationID header"); return null; } - producer.send(request); - if(useReqMsgIdAsCorrelId) { - id = request.getJMSMessageID(); + if(useReqMsgIdAsCorrelId) {// msgId not available until after send() is called + producer.send(request); // TODO - fix timing bug see Bugzilla 49111 + id=request.getJMSMessageID(); + MessageAdmin.getAdmin().putRequest(id, request); + } else { + MessageAdmin.getAdmin().putRequest(id, request); + producer.send(request); } - MessageAdmin.getAdmin().putRequest(id, request); try { if (log.isDebugEnabled()) { log.debug("wait for reply " + id + " started on " + System.currentTimeMillis()); Modified: jakarta/jmeter/trunk/xdocs/changes.xml URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/changes.xml?rev=938062&r1=938061&r2=938062&view=diff ============================================================================== --- jakarta/jmeter/trunk/xdocs/changes.xml (original) +++ jakarta/jmeter/trunk/xdocs/changes.xml Mon Apr 26 14:35:07 2010 @@ -98,6 +98,7 @@ The XPath Assertion and XPath Extractor <li>Bug 48573 - LDAPExtSampler directory context handling</li> <li>Bug 48579 - Single Bind does not show config information when LdapExt Sampler is accessed</li> <li>Bug 48747 - TCP Sampler swallows exceptions</li> +<li>Bug 49111 - "Message With ID Not Found" Error on JMS P2P sampler. Partial fix (can still fail if "Use Request Message Id As Correlation Id" is selected)</li> </ul> <h3>Controllers</h3> From [email protected] Mon Apr 26 17:41:33 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 98397 invoked from network); 26 Apr 2010 17:41:33 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Apr 2010 17:41:33 -0000 Received: (qmail 4147 invoked by uid 500); 26 Apr 2010 17:41:32 -0000 Delivered-To: [email protected] Received: (qmail 3872 invoked by uid 500); 26 Apr 2010 17:41:32 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 3865 invoked by uid 500); 26 Apr 2010 17:41:32 -0000 Delivered-To: [email protected] Received: (qmail 3862 invoked by uid 99); 26 Apr 2010 17:41:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 17:41:32 +0000 X-ASF-Spam-Status: No, hits=-1404.6 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 17:41:31 +0000 Received: from eos.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id C3F6B16E2D for <[email protected]>; Mon, 26 Apr 2010 17:41:10 +0000 (GMT) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki <[email protected]> To: Apache Wiki <[email protected]> Date: Mon, 26 Apr 2010 17:41:10 -0000 Message-ID: <[email protected]> Subject: =?utf-8?q?=5BJakarta-jmeter_Wiki=5D_Update_of_=22JMeterAndAmazon=22_by_ob?= =?utf-8?q?erman?= Dear Wiki user, You have subscribed to a wiki page or wiki category on "Jakarta-jmeter Wiki= " for change notification. The "JMeterAndAmazon" page has been changed by oberman. http://wiki.apache.org/jakarta-jmeter/JMeterAndAmazon?action=3Ddiff&rev1=3D= 1&rev2=3D2 -------------------------------------------------- = =3D=3D Elastic Load Balancer (ELB) Issues =3D=3D = - * The ELB is a name, not IP, and suffers from DNS caching. Make sure yo= u use "-Dsun.net.inetaddr.ttl=3D0" when starting JMeter + * The ELB is a name, not IP, and can suffer from DNS caching. Make sure= you use "-Dsun.net.inetaddr.ttl=3D0" when starting JMeter - * For a given ELB IP, there seems to be a static mapping of client IP <-= > backend instance. This is a slightly complicated statement that assumes = a some knowledge of how amazon in general, and ELBs in particular, work. I= f it's still up, this page [[http://www.shlomoswidler.com/2009/07/elastic-i= n-elastic-load-balancing-elb.html]] has pretty much everything you need to = know. But the basic idea is that the ELB is supposed to balance the inboun= d traffic to the currently known & healthy backend instances (e.g. the boxe= s you actually control). At any given time, the ELB DNS name resolves to a= pool of ELB IP addresses (which grows or shrinks based on load). The TTL = on an ELB name (which is owned & controlled by amazon, e.g. loadbalancer123= .amazon.com) is 60 seconds. And again, in practice I've found the load bal= ancing to be per client/ELB IP, rather than per request. = = - *Specifically, the behavior I've seen in JMeter is: - *I start a test that generates a small amount of load forever - *I check backend instances, and all load in on one box - *On the JMeter box, I run "dig mydomain.com" and watch the TTL count d= own from 60 to 0 - *If the ELB IP changes, all load moves to a different backend instance= (and if the ELB IP stays the same, it stays in the same place + * For a description of how the ELB works, see [[http://www.shlomoswidler= .com/2009/07/elastic-in-elastic-load-balancing-elb.html]], but if the link = is down or you just need a high level overview: + * Because the ELB is a DNS name, Amazon can (and is) load balancing the= load balancers. Example DNS lookup: www.mydomain.com -> loadbalancer123.a= mazon.com (this is controlled by you, and can be a long TTL), loadbalancer1= 23.amazon.com -> 161.129.204.104 (this is controlled by amazon, and is a short-live= d TTL, currently 60 seconds) + * Thus, each ELB is backed by a pool of load balancer IPs (which amazon= can scale up or down based on load) + * The ELB can be associated with one to many availability zones, but ea= ch load balancer IP is only associated with a single zone + * Each load balancer IP evenly distributes load among instances in its = availability zone + * Thus for normal web traffic, load will be distributed fairly evenly. = But, if the traffic originates from a small number of clients (like during= load testing), you can easily get unbalanced loads on a per availability z= one basis. There are two solutions: make sure there are enough instances t= o handle 100% of the load in each availability zone, or only use one availa= bility zone. = + * The motivation for this page was I thought I had bad load balancer beh= avior given this scenario: + * I had two availability zones (for redundancy) with auto-scaling for = 1 -> N in each zone. = + * I started a test that generated a small amount of load forever + * I checked all backend instances, and all the load was on one box + * On the JMeter box, I ran "dig mydomain.com" and watched the TTL coun= t down from 60 to 0 + * When the ELB IP changed, all load moved to a different backend insta= nce (and if the ELB IP stayed the same, the load stayed in the same place) + * But, if I changed the setup to have one availability zone with auto-sc= aling for 2 -> N, then each instance had ~50% of the load. +=20 From [email protected] Mon Apr 26 21:29:45 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 47795 invoked from network); 26 Apr 2010 21:29:44 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 26 Apr 2010 21:29:44 -0000 Received: (qmail 58474 invoked by uid 500); 26 Apr 2010 21:29:44 -0000 Delivered-To: [email protected] Received: (qmail 58209 invoked by uid 500); 26 Apr 2010 21:29:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 58202 invoked by uid 99); 26 Apr 2010 21:29:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 21:29:44 +0000 X-ASF-Spam-Status: No, hits=-1471.3 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 21:29:42 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 006A723889D2; Mon, 26 Apr 2010 21:29:01 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r938247 - in /jakarta/jmeter/trunk: src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/ xdocs/ Date: Mon, 26 Apr 2010 21:29:00 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: sebb Date: Mon Apr 26 21:29:00 2010 New Revision: 938247 URL: http://svn.apache.org/viewvc?rev=938247&view=rev Log: Bug 49111 - "Message With ID Not Found" Error on JMS P2P sampler. Fixed rest of bug Modified: jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/FixedQueueExecutor.java jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/JMSSampler.java jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/Receiver.java jakarta/jmeter/trunk/xdocs/changes.xml Modified: jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/FixedQueueExecutor.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/FixedQueueExecutor.java?rev=938247&r1=938246&r2=938247&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/FixedQueueExecutor.java (original) +++ jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/FixedQueueExecutor.java Mon Apr 26 21:29:00 2010 @@ -52,20 +52,6 @@ public class FixedQueueExecutor implemen * the queue to send the message on * @param timeout * timeout to use for the return message - */ - public FixedQueueExecutor(QueueSender producer, int timeout) { - this.producer = producer; - this.timeout = timeout; - this.useReqMsgIdAsCorrelId = false; - } - - /** - * Constructor. - * - * @param producer - * the queue to send the message on - * @param timeout - * timeout to use for the return message * @param useReqMsgIdAsCorrelId * whether to use the request message id as the correlation id */ @@ -85,12 +71,16 @@ public class FixedQueueExecutor implemen return null; } + final MessageAdmin admin = MessageAdmin.getAdmin(); if(useReqMsgIdAsCorrelId) {// msgId not available until after send() is called - producer.send(request); // TODO - fix timing bug see Bugzilla 49111 - id=request.getJMSMessageID(); - MessageAdmin.getAdmin().putRequest(id, request); + // Note: there is only one admin object which is shared between all threads + synchronized (admin) {// interlock with Receiver + producer.send(request); + id=request.getJMSMessageID(); + admin.putRequest(id, request); + } } else { - MessageAdmin.getAdmin().putRequest(id, request); + admin.putRequest(id, request); producer.send(request); } @@ -108,6 +98,6 @@ public class FixedQueueExecutor implemen } catch (InterruptedException e) { log.warn("Interrupt exception caught", e); } - return MessageAdmin.getAdmin().get(id); + return admin.get(id); } } \ No newline at end of file Modified: jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/JMSSampler.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/JMSSampler.java?rev=938247&r1=938246&r2=938247&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/JMSSampler.java (original) +++ jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/JMSSampler.java Mon Apr 26 21:29:00 2010 @@ -310,7 +310,8 @@ public class JMSSampler extends Abstract sendQueue = queue; if (!useTemporyQueue()) { receiveQueue = (Queue) context.lookup(getReceiveQueue()); - receiverThread = Receiver.createReceiver(factory, receiveQueue, getPrincipal(context), getCredentials(context)); + receiverThread = Receiver.createReceiver(factory, receiveQueue, getPrincipal(context), getCredentials(context) + , isUseReqMsgIdAsCorrelId()); } String principal = null; Modified: jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/Receiver.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/Receiver.java?rev=938247&r1=938246&r2=938247&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/Receiver.java (original) +++ jakarta/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/Receiver.java Mon Apr 26 21:29:00 2010 @@ -38,9 +38,9 @@ public class Receiver implements Runnabl private final QueueConnection conn; - // private static Receiver receiver; + private final boolean useReqMsgIdAsCorrelId; - private Receiver(QueueConnectionFactory factory, Queue receiveQueue, String principal, String credentials) throws JMSException { + private Receiver(QueueConnectionFactory factory, Queue receiveQueue, String principal, String credentials, boolean useReqMsgIdAsCorrelId) throws JMSException { if (null != principal && null != credentials) { log.info("creating receiver WITH authorisation credentials"); conn = factory.createQueueConnection(principal, credentials); @@ -50,15 +50,16 @@ public class Receiver implements Runnabl } session = conn.createQueueSession(false, Session.AUTO_ACKNOWLEDGE); consumer = session.createReceiver(receiveQueue); + this.useReqMsgIdAsCorrelId = useReqMsgIdAsCorrelId; log.debug("Receiver - ctor. Starting connection now"); conn.start(); log.info("Receiver - ctor. Connection to messaging system established"); } public static Receiver createReceiver(QueueConnectionFactory factory, Queue receiveQueue, - String principal, String credentials) + String principal, String credentials, boolean useReqMsgIdAsCorrelId) throws JMSException { - Receiver receiver = new Receiver(factory, receiveQueue, principal, credentials); + Receiver receiver = new Receiver(factory, receiveQueue, principal, credentials, useReqMsgIdAsCorrelId); Thread thread = new Thread(receiver); thread.start(); return receiver; @@ -73,14 +74,20 @@ public class Receiver implements Runnabl try { reply = consumer.receive(5000); if (reply != null) { - final String jmsCorrelationID = reply.getJMSCorrelationID(); - if (jmsCorrelationID == null) { - log.warn("Received message with correlation id null. Discarding message ..."); + String messageKey; + final MessageAdmin admin = MessageAdmin.getAdmin(); + if (useReqMsgIdAsCorrelId){ + messageKey = reply.getJMSMessageID(); + synchronized (admin) {// synchronize with FixedQueueExecutor + admin.putReply(messageKey, reply); + } } else { - if (log.isDebugEnabled()) { - log.debug("Received message, correlation id:" + jmsCorrelationID); + messageKey = reply.getJMSCorrelationID(); + if (messageKey == null) {// JMSMessageID cannot be null + log.warn("Received message with correlation id null. Discarding message ..."); + } else { + admin.putReply(messageKey, reply); } - MessageAdmin.getAdmin().putReply(reply.getJMSCorrelationID(), reply); } } Modified: jakarta/jmeter/trunk/xdocs/changes.xml URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/changes.xml?rev=938247&r1=938246&r2=938247&view=diff ============================================================================== --- jakarta/jmeter/trunk/xdocs/changes.xml (original) +++ jakarta/jmeter/trunk/xdocs/changes.xml Mon Apr 26 21:29:00 2010 @@ -98,7 +98,7 @@ The XPath Assertion and XPath Extractor <li>Bug 48573 - LDAPExtSampler directory context handling</li> <li>Bug 48579 - Single Bind does not show config information when LdapExt Sampler is accessed</li> <li>Bug 48747 - TCP Sampler swallows exceptions</li> -<li>Bug 49111 - "Message With ID Not Found" Error on JMS P2P sampler. Partial fix (can still fail if "Use Request Message Id As Correlation Id" is selected)</li> +<li>Bug 49111 - "Message With ID Not Found" Error on JMS P2P sampler.</li> </ul> <h3>Controllers</h3> From [email protected] Tue Apr 27 14:29:23 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 57182 invoked from network); 27 Apr 2010 14:29:22 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 27 Apr 2010 14:29:22 -0000 Received: (qmail 45666 invoked by uid 500); 27 Apr 2010 14:29:22 -0000 Delivered-To: [email protected] Received: (qmail 45580 invoked by uid 500); 27 Apr 2010 14:29:21 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 45573 invoked by uid 99); 27 Apr 2010 14:29:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 14:29:21 +0000 X-ASF-Spam-Status: No, hits=-1329.0 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 14:29:20 +0000 Received: from [161.129.204.104] (localhost [161.129.204.104]) by vmgump.apache.org (Postfix) with ESMTP id 5F160AB4090 for <[email protected]>; Tue, 27 Apr 2010 07:28:59 -0700 (PDT) Date: Tue, 27 Apr 2010 07:28:59 PDT From: Petar Tahchiev <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project cargo-test (in module cargo) failed Message-Id: <[email protected]> To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project cargo-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 53 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - cargo-test : Cargo provides a Java API to manipulate Java Containers Full details are available at: http://vmgump.apache.org/gump/public/cargo/cargo-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -WARNING- Overriding Maven2 settings: [/srv/gump/public/workspace/cargo/gump_mvn_settings.xml] -DEBUG- (Gump generated) Maven2 Settings in: /srv/gump/public/workspace/cargo/gump_mvn_settings.xml -INFO- Failed with reason build failed -DEBUG- Maven POM in: /srv/gump/public/workspace/cargo/pom.xml -INFO- Project Reports in: /srv/gump/public/workspace/cargo/build/test-report -WARNING- No directory [/srv/gump/public/workspace/cargo/build/test-report] The following work was performed: http://vmgump.apache.org/gump/public/cargo/cargo-test/gump_work/build_cargo_cargo-test.html Work Name: build_cargo_cargo-test (Type: Build) Work ended in a state of : Failed Elapsed: 26 secs Command Line: mvn --batch-mode -Dsurefire.useFile=false --settings /srv/gump/public/workspace/cargo/gump_mvn_settings.xml test [Working Directory: /srv/gump/public/workspace/cargo] CLASSPATH: /usr/lib/jvm/java-6-sun/lib/tools.jar:/srv/gump/public/workspace/cargo/core/containers/weblogic/target/cargo-core-container-weblogic-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/jetty/target/cargo-core-container-jetty-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/api/module/target/cargo-core-api-module-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/resources/build-tools/target/cargo-build-tools-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/jrun/target/cargo-core-container-jrun-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/resin/target/cargo-core-container-resin-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/extensions/maven2/plugin/target/cargo-maven2-plugin-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/tomcat/target/cargo-core-container-tomcat-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/jo/target/cargo-core-container-jo-1.0.1-SNAPSH OT.jar:/srv/gump/public/workspace/cargo/core/api/generic/target/cargo-core-api-generic-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/orion/target/cargo-core-container-orion-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/api/container/target/cargo-core-api-container-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/jonas/target/cargo-core-container-jonas-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/jboss/target/cargo-core-container-jboss-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/extensions/ant/target/cargo-ant-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/uberjar/target/cargo-core-uberjar-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/geronimo/target/cargo-core-container-geronimo-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/api/util/target/cargo-core-api-util-1.0.1-SNAPSHOT.jar --------------------------------------------- Apr 27, 2010 7:28:58 AM org.apache.commons.vfs.VfsLog info INFO: Using "/tmp/vfs_cache" as temporary files store. Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.913 sec Running org.codehaus.cargo.util.Base64Test Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec Running org.codehaus.cargo.util.VFSFileHandlerTest Apr 27, 2010 7:28:58 AM org.apache.commons.vfs.VfsLog info INFO: Using "/tmp/vfs_cache" as temporary files store. Apr 27, 2010 7:28:58 AM org.apache.commons.vfs.VfsLog info INFO: Using "/tmp/vfs_cache" as temporary files store. Apr 27, 2010 7:28:58 AM org.apache.commons.vfs.VfsLog info INFO: Using "/tmp/vfs_cache" as temporary files store. Apr 27, 2010 7:28:58 AM org.apache.commons.vfs.VfsLog info INFO: Using "/tmp/vfs_cache" as temporary files store. Apr 27, 2010 7:28:58 AM org.apache.commons.vfs.VfsLog info INFO: Using "/tmp/vfs_cache" as temporary files store. Apr 27, 2010 7:28:58 AM org.apache.commons.vfs.VfsLog info INFO: Using "/tmp/vfs_cache" as temporary files store. Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.233 sec Running org.codehaus.cargo.util.Dom4JUtilTest Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.049 sec <<< FAILURE! testNoElementThrowsException(org.codehaus.cargo.util.Dom4JUtilTest) Time elapsed: 0.006 sec <<< ERROR! org.dom4j.XPathException: Exception occurred evaluting XPath: weblogic:app-deployment. Exception: XPath expression uses unbound namespace prefix weblogic at org.dom4j.xpath.DefaultXPath.handleJaxenException(DefaultXPath.java:374) at org.dom4j.xpath.DefaultXPath.selectNodes(DefaultXPath.java:134) at org.codehaus.cargo.util.Dom4JUtil.selectElementsMatchingXPath(Dom4JUtil.java:86) at org.codehaus.cargo.util.Dom4JUtil.selectElementMatchingXPath(Dom4JUtil.java:100) at org.codehaus.cargo.util.Dom4JUtilTest.testNoElementThrowsException(Dom4JUtilTest.java:48) Results : Tests in error: testNoElementThrowsException(org.codehaus.cargo.util.Dom4JUtilTest) Tests run: 17, Failures: 0, Errors: 1, Skipped: 0 [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] There are test failures. Please refer to /srv/gump/public/workspace/cargo/core/api/util/target/surefire-reports for the individual test results. [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 25 seconds [INFO] Finished at: Tue Apr 27 07:28:58 PDT 2010 [INFO] Final Memory: 16M/29M [INFO] ------------------------------------------------------------------------ --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/cargo/cargo-test/rss.xml - Atom: http://vmgump.apache.org/gump/public/cargo/cargo-test/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.3. Gump Run 09000027042010, vmgump:vmgump-public:09000027042010 Gump E-mail Identifier (unique within run) #35. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] From [email protected] Tue Apr 27 14:34:13 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 59305 invoked from network); 27 Apr 2010 14:34:12 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 27 Apr 2010 14:34:12 -0000 Received: (qmail 55501 invoked by uid 500); 27 Apr 2010 14:34:12 -0000 Delivered-To: [email protected] Received: (qmail 55390 invoked by uid 500); 27 Apr 2010 14:34:12 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 55383 invoked by uid 99); 27 Apr 2010 14:34:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 14:34:12 +0000 X-ASF-Spam-Status: No, hits=-1442.2 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 14:34:11 +0000 Received: from [161.129.204.104] (localhost [161.129.204.104]) by vmgump.apache.org (Postfix) with ESMTP id 51646AB4090 for <[email protected]>; Tue, 27 Apr 2010 07:33:22 -0700 (PDT) Date: Tue, 27 Apr 2010 07:33:21 PDT From: Stefan Bodewig <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-bsf3 (in module jakarta-bsf3) failed Message-Id: <[email protected]> To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-bsf3 has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 292 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - jakarta-bsf3 : Bean Scripting Framework Full details are available at: http://vmgump.apache.org/gump/public/jakarta-bsf3/jakarta-bsf3/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Optional dependency jetty failed with reason build failed -DEBUG- (Gump generated) Maven2 Settings in: /srv/gump/public/workspace/jakarta-bsf3/gump_mvn_settings.xml -INFO- Failed with reason build failed -DEBUG- Maven POM in: /srv/gump/public/workspace/jakarta-bsf3/pom.xml The following work was performed: http://vmgump.apache.org/gump/public/jakarta-bsf3/jakarta-bsf3/gump_work/build_jakarta-bsf3_jakarta-bsf3.html Work Name: build_jakarta-bsf3_jakarta-bsf3 (Type: Build) Work ended in a state of : Failed Elapsed: 48 secs Command Line: mvn --batch-mode --settings /srv/gump/public/workspace/jakarta-bsf3/gump_mvn_settings.xml install [Working Directory: /srv/gump/public/workspace/jakarta-bsf3] CLASSPATH: /usr/lib/jvm/java-6-sun/lib/tools.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/packages/junit3.8.1/junit.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/asm/output/dist/lib/all/asm-all-27042010.jar:/srv/gump/public/workspace/asm/output/dist/lib/asm-analysis-27042010.jar:/srv/gump/public/workspace/asm/output/dist/lib/asm-util-27042010.jar:/srv/gump/public/workspace/asm/output/dist/lib/asm-xml-27042010.jar:/srv/gump/public/workspace/asm/output/dist/lib/asm-commons-27042010.jar:/srv/gump/public/workspace/asm/output/ dist/lib/asm-27042010.jar:/srv/gump/public/workspace/asm/output/dist/lib/asm-tree-27042010.jar:/srv/gump/public/workspace/jakarta-bsf3/bsf-api/target/bsf-api-3.0-SNAPSHOT.jar:/srv/gump/public/workspace/commons-collections-3.x/target/commons-collections-3.3-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/io/target/commons-io-2.0-SNAPSHOT.jar:/srv/gump/public/workspace/commons-lang-2.x/target/commons-lang-2.6-SNAPSHOT.jar:/srv/gump/public/workspace/groovy/target/groovy-1.8.0-beta-1-SNAPSHOT.jar:/srv/gump/public/workspace/jakarta-oro/jakarta-oro-27042010.jar:/srv/gump/public/workspace/tomcat-tc6/output/build/lib/servlet-api.jar:/srv/gump/public/workspace/jetty/jetty-ajp/target/jetty-ajp-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-plus/target/jetty-plus-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-jndi/target/jetty-jndi-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-deploy/target/jetty-deploy-7.1.0-SNAPSHOT.jar:/srv/gump/public/worksp ace/jetty/jetty-servlets/target/jetty-servlets-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-servlet/target/jetty-servlet-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-jaspi/target/jetty-jaspi-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-webapp/target/jetty-webapp-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-osgi/jetty-osgi-boot-warurl/target/jetty-osgi-boot-warurl-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-io/target/jetty-io-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-policy/target/jetty-policy-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-security/target/jetty-security-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-server/target/jetty-server-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-http/target/jetty-http-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-osgi/jetty-osgi-boot-jsp/target/jetty-osgi-boot-jsp-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspac e/jetty/jetty-websocket/target/jetty-websocket-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-continuation/target/jetty-continuation-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-util/target/jetty-util-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-osgi/jetty-osgi-httpservice/target/jetty-httpservice-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-osgi/jetty-osgi-boot-logback/target/jetty-osgi-boot-logback-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-start/target/jetty-start-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-xml/target/jetty-xml-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-osgi/jetty-osgi-boot/target/jetty-osgi-boot-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-jmx/target/jetty-jmx-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-rewrite/target/jetty-rewrite-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-client/target/jetty-client-7.1.0-SNAPSHOT.jar:/ srv/gump/public/workspace/jetty/jetty-annotations/target/jetty-annotations-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/junit/dist/junit-27042010.jar:/srv/gump/public/workspace/jython/dist/jython-dev.jar:/srv/gump/packages/retroweaver-2.0.7/retroweaver-rt.jar:/srv/gump/packages/retroweaver-2.0.7/retroweaver.jar:/srv/gump/public/workspace/rhino/build/rhino_27042010/js.jar:/srv/gump/public/workspace/velocity-engine/bin/velocity-27042010.jar:/srv/gump/public/workspace/velocity-engine/bin/velocity-27042010-dep.jar:/srv/gump/public/workspace/ws-axis2-commons/axiom/modules/axiom-impl/target/axiom-impl-1.2.9-SNAPSHOT.jar:/srv/gump/public/workspace/ws-axis2-commons/axiom/modules/axiom-api/target/axiom-api-1.2.9-SNAPSHOT.jar:/srv/gump/public/workspace/ws-axis2-commons/axiom/modules/axiom-dom/target/axiom-dom-1.2.9-SNAPSHOT.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar --------------------------------------------- Downloading: http://localhost:8192/maven2/xmlbeans/xbean/2.2.0/xbean-2.2.0.jar Downloading: http://localhost:8192/maven2/org/codehaus/woodstox/wstx-asl/3.2.0/wstx-asl-3.2.0.jar Downloading: http://localhost:8192/maven2/rhino/js/1.6R7/js-1.6R7.jar Downloading: http://localhost:8192/maven2/org/apache/ws/commons/axiom/axiom-api/1.2.2/axiom-api-1.2.2.jar Downloading: http://localhost:8192/maven2/jaxen/jaxen/1.1-beta-9/jaxen-1.1-beta-9.jar 388K downloaded (axiom-api-1.2.2.jar) Downloading: http://localhost:8192/maven2/org/apache/ws/commons/axiom/axiom-impl/1.2.2/axiom-impl-1.2.2.jar 119K downloaded (axiom-impl-1.2.2.jar) 221K downloaded (jaxen-1.1-beta-9.jar) 1040K downloaded (js-1.6R7.jar) [INFO] [compiler:compile {execution: default-compile}] [INFO] Compiling 14 source files to /srv/gump/public/workspace/jakarta-bsf3/bsf-utils/target/classes [INFO] [resources:testResources {execution: default-testResources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 0 resource [INFO] [compiler:testCompile {execution: default-testCompile}] [INFO] Compiling 1 source file to /srv/gump/public/workspace/jakarta-bsf3/bsf-utils/target/test-classes [INFO] [surefire:test {execution: default-test}] [INFO] Surefire report directory: /srv/gump/public/workspace/jakarta-bsf3/bsf-utils/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.bsf.xml.JavaScriptXMLHelperTestCase Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.827 sec <<< FAILURE! Results : Tests in error: testToOmElement(org.apache.bsf.xml.JavaScriptXMLHelperTestCase) testToScriptXML(org.apache.bsf.xml.JavaScriptXMLHelperTestCase) Tests run: 2, Failures: 0, Errors: 2, Skipped: 0 [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] There are test failures. Please refer to /srv/gump/public/workspace/jakarta-bsf3/bsf-utils/target/surefire-reports for the individual test results. [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 43 seconds [INFO] Finished at: Tue Apr 27 07:33:16 PDT 2010 [INFO] Final Memory: 27M/48M [INFO] ------------------------------------------------------------------------ --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-bsf3/jakarta-bsf3/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-bsf3/jakarta-bsf3/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.3. Gump Run 09000027042010, vmgump:vmgump-public:09000027042010 Gump E-mail Identifier (unique within run) #36. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] From [email protected] Tue Apr 27 16:24:23 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 92150 invoked from network); 27 Apr 2010 16:24:23 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 27 Apr 2010 16:24:23 -0000 Received: (qmail 89235 invoked by uid 500); 27 Apr 2010 16:24:23 -0000 Delivered-To: [email protected] Received: (qmail 89143 invoked by uid 500); 27 Apr 2010 16:24:22 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 89136 invoked by uid 99); 27 Apr 2010 16:24:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 16:24:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 16:24:19 +0000 Received: from [161.129.204.104] (localhost [161.129.204.104]) by vmgump.apache.org (Postfix) with ESMTP id 3DE9EAB4090 for <[email protected]>; Tue, 27 Apr 2010 09:23:57 -0700 (PDT) Date: Tue, 27 Apr 2010 09:23:57 PDT From: Petar Tahchiev <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project cactus (in module jakarta-cactus) failed Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project cactus has an issue affecting its community integration. This issue affects 3 projects, and has been outstanding for 801 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - cactus : Cactus Framework - portals-jetspeed-1 : Enterprise Information Portal - strutstestcase : An extension of the standard JUnit TestCase class that provi... Full details are available at: http://vmgump.apache.org/gump/public/jakarta-cactus/cactus/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [cactus.core.framework.uberjar.javaEE.14-1.8.1-SNAPSHOT.jar] identifier set to project name -INFO- Optional dependency httpunit failed with reason build failed -INFO- Optional dependency jetty failed with reason build failed -DEBUG- (Gump generated) Maven2 Settings in: /srv/gump/public/workspace/jakarta-cactus/gump_mvn_settings.xml -INFO- Failed with reason build failed -DEBUG- Maven POM in: /srv/gump/public/workspace/jakarta-cactus/pom.xml -INFO- Project Reports in: /srv/gump/public/workspace/jakarta-cactus/build/test-report -WARNING- No directory [/srv/gump/public/workspace/jakarta-cactus/build/test-report] -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/jakarta-cactus/cactus/gump_work/build_jakarta-cactus_cactus.html Work Name: build_jakarta-cactus_cactus (Type: Build) Work ended in a state of : Failed Elapsed: 1 min 30 secs Command Line: mvn --batch-mode -Dsurefire.useFile=false --settings /srv/gump/public/workspace/jakarta-cactus/gump_mvn_settings.xml install [Working Directory: /srv/gump/public/workspace/jakarta-cactus] CLASSPATH: /usr/lib/jvm/java-6-sun/lib/tools.jar:/srv/gump/public/workspace/cargo/core/containers/weblogic/target/cargo-core-container-weblogic-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/jetty/target/cargo-core-container-jetty-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/api/module/target/cargo-core-api-module-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/resources/build-tools/target/cargo-build-tools-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/jrun/target/cargo-core-container-jrun-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/resin/target/cargo-core-container-resin-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/extensions/maven2/plugin/target/cargo-maven2-plugin-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/tomcat/target/cargo-core-container-tomcat-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/jo/target/cargo-core-container-jo-1.0.1-SNAPSH OT.jar:/srv/gump/public/workspace/cargo/core/api/generic/target/cargo-core-api-generic-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/orion/target/cargo-core-container-orion-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/api/container/target/cargo-core-api-container-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/jonas/target/cargo-core-container-jonas-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/jboss/target/cargo-core-container-jboss-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/extensions/ant/target/cargo-ant-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/uberjar/target/cargo-core-uberjar-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/geronimo/target/cargo-core-container-geronimo-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/api/util/target/cargo-core-api-util-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/checkstyle/target/dist/checkstyle-27042010/chec kstyle-27042010.jar:/srv/gump/public/workspace/checkstyle/target/dist/checkstyle-27042010/checkstyle-optional-27042010.jar:/srv/gump/public/workspace/apache-commons/beanutils/dist/commons-beanutils-27042010.jar:/srv/gump/public/workspace/apache-commons/codec/dist/commons-codec-27042010.jar:/srv/gump/public/workspace/commons-collections-3.x/target/commons-collections-3.3-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/digester/dist/commons-digester.jar:/srv/gump/public/workspace/httpcomponents/oac.hc3x/dist/commons-httpclient.jar:/srv/gump/public/workspace/apache-commons/io/target/commons-io-2.0-SNAPSHOT.jar:/srv/gump/public/workspace/commons-lang-2.x/target/commons-lang-2.6-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-27042010.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api-27042010.jar:/srv/gump/public/workspace/apache-commons/validator/dist/commons-validator-27042010.jar:/srv/gump/public/works pace/httpunit/lib/httpunit.jar:/srv/gump/public/workspace/jakarta-oro/jakarta-oro-27042010.jar:/srv/gump/public/workspace/tomcat-tc6/output/build/lib/servlet-api.jar:/srv/gump/public/workspace/jetty/jetty-ajp/target/jetty-ajp-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-plus/target/jetty-plus-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-jndi/target/jetty-jndi-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-deploy/target/jetty-deploy-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-servlets/target/jetty-servlets-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-servlet/target/jetty-servlet-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-jaspi/target/jetty-jaspi-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-webapp/target/jetty-webapp-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-osgi/jetty-osgi-boot-warurl/target/jetty-osgi-boot-warurl-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jett y-io/target/jetty-io-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-policy/target/jetty-policy-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-security/target/jetty-security-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-server/target/jetty-server-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-http/target/jetty-http-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-osgi/jetty-osgi-boot-jsp/target/jetty-osgi-boot-jsp-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-websocket/target/jetty-websocket-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-continuation/target/jetty-continuation-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-util/target/jetty-util-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-osgi/jetty-osgi-httpservice/target/jetty-httpservice-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-osgi/jetty-osgi-boot-logback/target/jetty-osgi-boot-logback-7.1.0-SNAPSHOT.jar:/ srv/gump/public/workspace/jetty/jetty-start/target/jetty-start-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-xml/target/jetty-xml-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-osgi/jetty-osgi-boot/target/jetty-osgi-boot-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-jmx/target/jetty-jmx-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-rewrite/target/jetty-rewrite-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-client/target/jetty-client-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-annotations/target/jetty-annotations-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/junit/dist/junit-27042010.jar:/srv/gump/public/workspace/logging-log4j-12/dist/lib/log4j-27042010.jar:/srv/gump/public/workspace/rat/apache-rat-tasks/target/apache-rat-tasks-0.7-SNAPSHOT.jar:/srv/gump/public/workspace/rat/apache-rat-core/target/apache-rat-core-0.7-SNAPSHOT.jar:/srv/gump/public/workspace/rat/apache-rat-plugin/target/apache-rat-plugin-0 .7-SNAPSHOT.jar:/srv/gump/public/workspace/tomcat-jasper_tc6/build/shared/lib/el-api.jar:/srv/gump/public/workspace/tomcat-jasper_tc6/build/shared/lib/jsp-api.jar:/srv/gump/public/workspace/tomcat-jasper_tc6/build/shared/lib/jasper-runtime.jar:/srv/gump/public/workspace/tomcat-jasper_tc6/build/shared/lib/jasper-compiler.jar:/srv/gump/public/workspace/tomcat-jasper_tc6/build/shared/lib/jasper-el.jar:/srv/gump/public/workspace/velocity-engine/bin/velocity-27042010.jar:/srv/gump/public/workspace/velocity-engine/bin/velocity-27042010-dep.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar --------------------------------------------- Downloading: http://localhost:8192/maven2/checkstyle/checkstyle/5.0/checkstyle-5.0.jar Downloading: http://localhost:8192/maven2/com/google/collections/google-collections/0.9/google-collections-0.9.jar 839K downloaded (cargo-core-uberjar-0.9.jar) 539K downloaded (checkstyle-5.0.jar) Downloading: http://localhost:8192/maven2/org/codehaus/plexus/plexus-resources/1.0-alpha-6/plexus-resources-1.0-alpha-6.jar [INFO] [checkstyle:check {execution: default}] [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] basedir /srv/gump/public/workspace/jakarta-cactus/framework/src/main/java does not exist [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.IllegalStateException: basedir /srv/gump/public/workspace/jakarta-cactus/framework/src/main/java does not exist at org.codehaus.plexus.util.DirectoryScanner.scan(DirectoryScanner.java:550) at org.codehaus.plexus.util.FileUtils.getFileAndDirectoryNames(FileUtils.java:1717) at org.codehaus.plexus.util.FileUtils.getFileNames(FileUtils.java:1645) at org.codehaus.plexus.util.FileUtils.getFileNames(FileUtils.java:1627) at org.codehaus.plexus.util.FileUtils.getFiles(FileUtils.java:1601) at org.codehaus.plexus.util.FileUtils.getFiles(FileUtils.java:1584) at org.apache.maven.plugin.checkstyle.DefaultCheckstyleExecutor.getFilesToProcess(DefaultCheckstyleExecutor.java:407) at org.apache.maven.plugin.checkstyle.DefaultCheckstyleExecutor.executeCheckstyle(DefaultCheckstyleExecutor.java:89) at org.apache.maven.plugin.checkstyle.CheckstyleViolationCheckMojo.execute(CheckstyleViolationCheckMojo.java:393) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 minute 28 seconds [INFO] Finished at: Tue Apr 27 09:23:56 PDT 2010 [INFO] Final Memory: 26M/48M [INFO] ------------------------------------------------------------------------ --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-cactus/cactus/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-cactus/cactus/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.3. Gump Run 09000027042010, vmgump:vmgump-public:09000027042010 Gump E-mail Identifier (unique within run) #53. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] From [email protected] Wed Apr 28 03:36:01 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 64913 invoked from network); 28 Apr 2010 03:36:00 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 28 Apr 2010 03:36:00 -0000 Received: (qmail 83031 invoked by uid 500); 28 Apr 2010 03:36:00 -0000 Delivered-To: [email protected] Received: (qmail 82736 invoked by uid 500); 28 Apr 2010 03:36:00 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 82729 invoked by uid 500); 28 Apr 2010 03:35:59 -0000 Delivered-To: [email protected] Received: (qmail 82726 invoked by uid 99); 28 Apr 2010 03:35:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Apr 2010 03:35:59 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Apr 2010 03:35:57 +0000 Received: from eos.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id 1929E17D1C; Wed, 28 Apr 2010 03:35:36 +0000 (GMT) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki <[email protected]> To: Apache Wiki <[email protected]> Date: Wed, 28 Apr 2010 03:35:35 -0000 Message-ID: <[email protected]> Subject: =?utf-8?q?=5BJakarta-jmeter_Wiki=5D_Update_of_=22LogAnalysis=22_by_SonamC?= =?utf-8?q?hauhan?= X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Jakarta-jmeter Wiki= " for change notification. The "LogAnalysis" page has been changed by SonamChauhan. The comment on this change is: Adding information on Hudson. http://wiki.apache.org/jakarta-jmeter/LogAnalysis?action=3Ddiff&rev1=3D55&r= ev2=3D56 -------------------------------------------------- = ...without that the "entire" .pngs don't contain data, Cheers, Mike) = + =3D=3D Generating Appropriate JMeter Logs =3D=3D + The [[http://hudson-ci.org/|Hudson]] continuous integration server has a = [[http://wiki.hudson-ci.org/display/HUDSON/Performance+Plugin|'Performance'= plugin]] that can execute and report on JMeter and JUnit tests, and gener= ate graphic charts indicating performance and robustness.. For more details= , please see = +=20 From [email protected] Wed Apr 28 03:37:18 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 65176 invoked from network); 28 Apr 2010 03:37:18 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 28 Apr 2010 03:37:18 -0000 Received: (qmail 83780 invoked by uid 500); 28 Apr 2010 03:37:17 -0000 Delivered-To: [email protected] Received: (qmail 83539 invoked by uid 500); 28 Apr 2010 03:37:17 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 83532 invoked by uid 500); 28 Apr 2010 03:37:17 -0000 Delivered-To: [email protected] Received: (qmail 83529 invoked by uid 99); 28 Apr 2010 03:37:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Apr 2010 03:37:16 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Apr 2010 03:37:14 +0000 Received: from eos.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id 99D8517D1C; Wed, 28 Apr 2010 03:36:53 +0000 (GMT) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki <[email protected]> To: Apache Wiki <[email protected]> Date: Wed, 28 Apr 2010 03:36:53 -0000 Message-ID: <[email protected]> Subject: =?utf-8?q?=5BJakarta-jmeter_Wiki=5D_Trivial_Update_of_=22LogAnalysis=22_b?= =?utf-8?q?y_SonamChauhan?= X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Jakarta-jmeter Wiki= " for change notification. The "LogAnalysis" page has been changed by SonamChauhan. The comment on this change is: Cleanup error on Hudson entry. http://wiki.apache.org/jakarta-jmeter/LogAnalysis?action=3Ddiff&rev1=3D56&r= ev2=3D57 -------------------------------------------------- = ...without that the "entire" .pngs don't contain data, Cheers, Mike) = - =3D=3D Generating Appropriate JMeter Logs =3D=3D + =3D=3D JMeter Plugin for Hudson =3D=3D - The [[http://hudson-ci.org/|Hudson]] continuous integration server has a = [[http://wiki.hudson-ci.org/display/HUDSON/Performance+Plugin|'Performance'= plugin]] that can execute and report on JMeter and JUnit tests, and gener= ate graphic charts indicating performance and robustness.. For more details= , please see = + The [[http://hudson-ci.org/|Hudson]] continuous integration server has a = [[http://wiki.hudson-ci.org/display/HUDSON/Performance+Plugin|'Performance'= plugin]] that can execute and report on JMeter and JUnit tests, and gener= ate charts on performance and robustness. = =20 From [email protected] Wed Apr 28 11:05:01 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 67957 invoked from network); 28 Apr 2010 11:05:01 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 28 Apr 2010 11:05:01 -0000 Received: (qmail 71467 invoked by uid 500); 28 Apr 2010 11:05:00 -0000 Delivered-To: [email protected] Received: (qmail 71052 invoked by uid 500); 28 Apr 2010 11:04:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 71045 invoked by uid 99); 28 Apr 2010 11:04:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Apr 2010 11:04:57 +0000 X-ASF-Spam-Status: No, hits=-1343.6 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Apr 2010 11:04:56 +0000 Received: from thor.apache.org (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3SB4ZFA008547 for <[email protected]>; Wed, 28 Apr 2010 11:04:35 GMT Received: (from daemon@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id o3SB4ZZ2008546; Wed, 28 Apr 2010 07:04:35 -0400 (EDT) Date: Wed, 28 Apr 2010 07:04:35 -0400 (EDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 49208] New: Double byte code is garbled when reading from result file X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: JMeter X-Bugzilla-Component: Main X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: [email protected] X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: [email protected] X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: <[email protected]/bugzilla/> X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 https://issues.apache.org/bugzilla/show_bug.cgi?id=49208 Summary: Double byte code is garbled when reading from result file Product: JMeter Version: 2.3.4 Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Main AssignedTo: [email protected] ReportedBy: [email protected] Created an attachment (id=25366) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25366) Garbled image snapshot. Double byte code is garbled when reading from result file. Instead when test running "View Result Tree" listener shows well. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From [email protected] Wed Apr 28 14:32:59 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 88153 invoked from network); 28 Apr 2010 14:32:58 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 28 Apr 2010 14:32:58 -0000 Received: (qmail 451 invoked by uid 500); 28 Apr 2010 14:32:58 -0000 Delivered-To: [email protected] Received: (qmail 353 invoked by uid 500); 28 Apr 2010 14:32:57 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 346 invoked by uid 99); 28 Apr 2010 14:32:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Apr 2010 14:32:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Apr 2010 14:32:55 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3SEWXuL012113 for <[email protected]>; Wed, 28 Apr 2010 14:32:33 GMT Message-ID: <19294984.58111272465153412.JavaMail.jira@thor> Date: Wed, 28 Apr 2010 10:32:33 -0400 (EDT) From: "Chiat Lam (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (JCS-75) change the method isExpired(org.apache.jcs.engine.control.CompositeCache) from private to protected MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org change the method isExpired(org.apache.jcs.engine.control.CompositeCache) from private to protected --------------------------------------------------------------------------------------------------- Key: JCS-75 URL: https://issues.apache.org/jira/browse/JCS-75 Project: JCS Issue Type: Improvement Components: Composite Cache Reporter: Chiat Lam Assignee: Aaron Smuts Priority: Minor Is possible to change the method isExpired(org.apache.jcs.engine.control.CompositeCache) from private to protected? I would be override this method for my custom CompositeCache. Thanks -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Wed Apr 28 14:39:37 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 91666 invoked from network); 28 Apr 2010 14:39:36 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 28 Apr 2010 14:39:36 -0000 Received: (qmail 15907 invoked by uid 500); 28 Apr 2010 14:39:35 -0000 Delivered-To: [email protected] Received: (qmail 15721 invoked by uid 500); 28 Apr 2010 14:39:35 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 15714 invoked by uid 500); 28 Apr 2010 14:39:35 -0000 Delivered-To: [email protected] Received: (qmail 15711 invoked by uid 99); 28 Apr 2010 14:39:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Apr 2010 14:39:35 +0000 X-ASF-Spam-Status: No, hits=-1411.5 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Apr 2010 14:39:34 +0000 Received: from eos.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id 2CC48174F8 for <[email protected]>; Wed, 28 Apr 2010 14:39:14 +0000 (GMT) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki <[email protected]> To: Apache Wiki <[email protected]> Date: Wed, 28 Apr 2010 14:39:13 -0000 Message-ID: <[email protected]> Subject: =?utf-8?q?=5BJakarta-jmeter_Wiki=5D_Update_of_=22ProblemsRecording=22_by_?= =?utf-8?q?JMeterAdmin?= Dear Wiki user, You have subscribed to a wiki page or wiki category on "Jakarta-jmeter Wiki= " for change notification. The "ProblemsRecording" page has been changed by JMeterAdmin. The comment on this change is: Debug Proxy Recording. http://wiki.apache.org/jakarta-jmeter/ProblemsRecording -------------------------------------------------- New page: =3D How to debug problems when recording =3D =3D=3D JMeter Proxy does not record samples =3D=3D If the browser is working OK, but the Proxy is not recording samples, then = check that the browser really is using the JMeter Proxy. One way to do this is to stop the JMeter Proxy. If the browser continues wo= rking, then it is clearly not using the Proxy. Double-check the browser proxy settings. Clear the browser cache. The JMeter proxy works by capturing the browser request, creating a sampler= and adding it to the test plan, and then it runs the sampler. The response from the sampler is returned to the browser. It's very unlikely that the JMeter Proxy could return a response to the bro= wser without the sampler appearing in the test plan. However, it's worth checking the JMeter log file just in case. From [email protected] Wed Apr 28 14:44:40 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 94627 invoked from network); 28 Apr 2010 14:44:39 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 28 Apr 2010 14:44:39 -0000 Received: (qmail 24179 invoked by uid 500); 28 Apr 2010 14:44:38 -0000 Delivered-To: [email protected] Received: (qmail 24107 invoked by uid 500); 28 Apr 2010 14:44:38 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 24100 invoked by uid 500); 28 Apr 2010 14:44:38 -0000 Delivered-To: [email protected] Received: (qmail 24097 invoked by uid 99); 28 Apr 2010 14:44:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Apr 2010 14:44:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Apr 2010 14:44:36 +0000 Received: from eos.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id D2023174F8; Wed, 28 Apr 2010 14:44:14 +0000 (GMT) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki <[email protected]> To: Apache Wiki <[email protected]> Date: Wed, 28 Apr 2010 14:44:14 -0000 Message-ID: <[email protected]> Subject: =?utf-8?q?=5BJakarta-jmeter_Wiki=5D_Update_of_=22FrontPage=22_by_JMeterAd?= =?utf-8?q?min?= X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Jakarta-jmeter Wiki= " for change notification. The "FrontPage" page has been changed by JMeterAdmin. The comment on this change is: Add ProblemsRecording. http://wiki.apache.org/jakarta-jmeter/FrontPage?action=3Ddiff&rev1=3D103&re= v2=3D104 -------------------------------------------------- =3D=3D User Pages =3D=3D * [[JMeterAndHTTPS| JMeter and HTTPS]] * How to [[EscapedURLs| decode encoded/escaped URLs]] + * [[ProblemsRecording| Debugging problems when recording with the JMeter= Proxy]] * Tutorials and How-to articles * [[http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_test= ing_step_by_step.pdf|Distributed Testing]] (pdf) * [[http://jakarta.apache.org/jmeter/usermanual/jmeter_proxy_step_by_st= ep.pdf|Recording Tests]] (pdf) From [email protected] Wed Apr 28 14:48:06 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 96454 invoked from network); 28 Apr 2010 14:48:04 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 28 Apr 2010 14:48:04 -0000 Received: (qmail 30195 invoked by uid 500); 28 Apr 2010 14:48:04 -0000 Delivered-To: [email protected] Received: (qmail 30107 invoked by uid 500); 28 Apr 2010 14:48:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 30100 invoked by uid 99); 28 Apr 2010 14:48:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Apr 2010 14:48:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Apr 2010 14:48:01 +0000 Received: from thor.apache.org (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3SEle4A012351 for <[email protected]>; Wed, 28 Apr 2010 14:47:40 GMT Received: (from daemon@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id o3SEldnC012350; Wed, 28 Apr 2010 10:47:39 -0400 (EDT) Date: Wed, 28 Apr 2010 10:47:39 -0400 (EDT) Message-Id: <[email protected]> From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 49208] Double byte code is garbled when reading from result file X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: JMeter X-Bugzilla-Component: Main X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: [email protected] X-Bugzilla-Status: NEEDINFO X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: [email protected] X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status In-Reply-To: <[email protected]/bugzilla/> References: <[email protected]/bugzilla/> X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=49208 Sebb <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO --- Comment #1 from Sebb <[email protected]> 2010-04-28 10:47:36 EDT --- Most likely the correct encoding is not being detected. Can you provide a public URL which shows the problem? -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From [email protected] Wed Apr 28 18:39:24 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 42574 invoked from network); 28 Apr 2010 18:39:23 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 28 Apr 2010 18:39:23 -0000 Received: (qmail 96401 invoked by uid 500); 28 Apr 2010 18:39:23 -0000 Delivered-To: [email protected] Received: (qmail 96307 invoked by uid 500); 28 Apr 2010 18:39:23 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 96300 invoked by uid 99); 28 Apr 2010 18:39:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Apr 2010 18:39:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Apr 2010 18:39:20 +0000 Received: from thor.apache.org (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3SIcxLf017138 for <[email protected]>; Wed, 28 Apr 2010 18:38:59 GMT Received: (from daemon@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id o3SIcxYH017135; Wed, 28 Apr 2010 14:38:59 -0400 (EDT) Date: Wed, 28 Apr 2010 14:38:59 -0400 (EDT) Message-Id: <[email protected]> From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 49208] Double byte code is garbled when reading from result file X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: JMeter X-Bugzilla-Component: Main X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: [email protected] X-Bugzilla-Status: NEEDINFO X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: [email protected] X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: <[email protected]/bugzilla/> References: <[email protected]/bugzilla/> X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=49208 --- Comment #2 from [email protected] 2010-04-28 14:38:56 EDT --- I can't provide you just what i informed you because the test environment is within the private network. but the following site shows you the same problem if you access it with the header manager which Accept-Language is ja. http://www.jajakarta.org/ -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From [email protected] Wed Apr 28 21:53:54 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 45647 invoked from network); 28 Apr 2010 21:53:53 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 28 Apr 2010 21:53:53 -0000 Received: (qmail 13490 invoked by uid 500); 28 Apr 2010 21:53:52 -0000 Delivered-To: [email protected] Received: (qmail 13289 invoked by uid 500); 28 Apr 2010 21:53:52 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 13282 invoked by uid 99); 28 Apr 2010 21:53:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Apr 2010 21:53:52 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Apr 2010 21:53:50 +0000 Received: from thor.apache.org (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3SLrSb0002161 for <[email protected]>; Wed, 28 Apr 2010 21:53:28 GMT Received: (from daemon@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id o3SLrS7S002160; Wed, 28 Apr 2010 17:53:28 -0400 (EDT) Date: Wed, 28 Apr 2010 17:53:28 -0400 (EDT) Message-Id: <[email protected]> From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 49208] Double byte code is garbled when reading from result file X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: JMeter X-Bugzilla-Component: Main X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: [email protected] X-Bugzilla-Status: NEEDINFO X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: [email protected] X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: <[email protected]/bugzilla/> References: <[email protected]/bugzilla/> X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=49208 --- Comment #3 from Sebb <[email protected]> 2010-04-28 17:53:24 EDT --- I just tried sampling: http://www.jajakarta.org/index.html.ja.sjis Unfortunately this displays garbled for me both in the test and reading from the file, no doubt because my Java installation does not support Japanese. Can you check that the "Sampler Result" tab contents are the same for you in both cases. I get the following for that page: Thread Name: Thread Group 1-1 Sample Start: 2010-04-28 22:51:34 BST Load time: 1547 Latency: 1266 Size in bytes: 8904 Sample Count: 1 Error Count: 0 Response code: 200 Response message: OK Response headers: HTTP/1.1 200 OK Date: Wed, 28 Apr 2010 21:51:33 GMT Server: Apache Last-Modified: Wed, 22 Feb 2006 13:04:23 GMT ETag: "cfca0-22c8-c449c3c0" Accept-Ranges: bytes Content-Length: 8904 Connection: close Content-Type: text/html; charset=shift_jis Content-Language: ja HTTPSampleResult fields: ContentType: text/html; charset=shift_jis DataEncoding: shift_jis What do you get for that page when you load it from a file? Make sure you are saving all the relevant data in the file. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From [email protected] Thu Apr 29 09:52:18 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 34488 invoked from network); 29 Apr 2010 09:52:18 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 29 Apr 2010 09:52:18 -0000 Received: (qmail 22433 invoked by uid 500); 29 Apr 2010 09:52:17 -0000 Delivered-To: [email protected] Received: (qmail 22007 invoked by uid 500); 29 Apr 2010 09:52:15 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 22000 invoked by uid 99); 29 Apr 2010 09:52:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Apr 2010 09:52:15 +0000 X-ASF-Spam-Status: No, hits=-1365.2 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Apr 2010 09:52:14 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3T9pre0025558 for <[email protected]>; Thu, 29 Apr 2010 09:51:54 GMT Message-ID: <740541.2241272534713706.JavaMail.jira@thor> Date: Thu, 29 Apr 2010 05:51:53 -0400 (EDT) From: "Alexander Sofronov (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Created: (JCS-76) Exception when using the cache from different threads (synchronization problems) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Exception when using the cache from different threads (synchronization problems) -------------------------------------------------------------------------------- Key: JCS-76 URL: https://issues.apache.org/jira/browse/JCS-76 Project: JCS Issue Type: Bug Components: Composite Cache Reporter: Alexander Sofronov Assignee: Aaron Smuts Recently we switched our product into parallel mode, so now we are using JCS cache from different threads. And it looks like there are some problems with synchronization inside JCS, sometimes we are getting the following error: Caused by: java.lang.Error: update: last is null! at org.apache.jcs.engine.memory.AbstractDoulbeLinkedListMemoryCache.spoolLastElement(AbstractDoulbeLinkedListMemoryCache.java:280) at org.apache.jcs.engine.memory.AbstractDoulbeLinkedListMemoryCache.spoolIfNeeded(AbstractDoulbeLinkedListMemoryCache.java:154) at org.apache.jcs.engine.memory.AbstractDoulbeLinkedListMemoryCache.update(AbstractDoulbeLinkedListMemoryCache.java:106) at org.apache.jcs.engine.control.CompositeCache.copyAuxiliaryRetrievedItemToMemory(CompositeCache.java:993) at org.apache.jcs.engine.control.CompositeCache.get(CompositeCache.java:566) at org.apache.jcs.engine.control.CompositeCache.get(CompositeCache.java:429) at org.apache.jcs.access.CacheAccess.get(CacheAccess.java:192) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From [email protected] Thu Apr 29 14:57:46 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 37933 invoked from network); 29 Apr 2010 14:57:45 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 29 Apr 2010 14:57:45 -0000 Received: (qmail 14487 invoked by uid 500); 29 Apr 2010 14:57:44 -0000 Delivered-To: [email protected] Received: (qmail 14223 invoked by uid 500); 29 Apr 2010 14:57:44 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 14216 invoked by uid 99); 29 Apr 2010 14:57:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Apr 2010 14:57:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Apr 2010 14:57:41 +0000 Received: from thor.apache.org (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3TEvKqT002156 for <[email protected]>; Thu, 29 Apr 2010 14:57:20 GMT Received: (from daemon@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id o3TEvJwa002155; Thu, 29 Apr 2010 10:57:19 -0400 (EDT) Date: Thu, 29 Apr 2010 10:57:19 -0400 (EDT) From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 49223] New: Parameters do not work in the "Send Files with the Request" Field X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: JMeter X-Bugzilla-Component: HTTP X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: [email protected] X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: [email protected] X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: <[email protected]/bugzilla/> X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=49223 Summary: Parameters do not work in the "Send Files with the Request" Field Product: JMeter Version: 2.3.4 Platform: PC OS/Version: Windows XP Status: NEW Severity: major Priority: P2 Component: HTTP AssignedTo: [email protected] ReportedBy: [email protected] Created an attachment (id=25372) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25372) Screen shot configuration In the HTTP Request Sampler it is not possible to use paramters in the "Send Files with the Request" field. For the configuration details see the attached screen shot. The content of the error file is as follows: java.io.FileNotFoundException: ${requestFile_}${i} (The system cannot find the file specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at java.io.FileInputStream.<init>(Unknown Source) at org.apache.jmeter.protocol.http.sampler.PostWriter.writeFileToStream(PostWriter.java:406) at org.apache.jmeter.protocol.http.sampler.PostWriter.sendPostData(PostWriter.java:115) at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sendPostData(HTTPSampler.java:159) at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:514) at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1037) at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1023) at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:346) at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243) at java.lang.Thread.run(Unknown Source) -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From [email protected] Thu Apr 29 15:01:58 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 40257 invoked from network); 29 Apr 2010 15:01:57 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 29 Apr 2010 15:01:57 -0000 Received: (qmail 24899 invoked by uid 500); 29 Apr 2010 15:01:57 -0000 Delivered-To: [email protected] Received: (qmail 24800 invoked by uid 500); 29 Apr 2010 15:01:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 24793 invoked by uid 99); 29 Apr 2010 15:01:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Apr 2010 15:01:56 +0000 X-ASF-Spam-Status: No, hits=-1339.3 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Apr 2010 15:01:55 +0000 Received: from [161.129.204.104] (localhost [161.129.204.104]) by vmgump.apache.org (Postfix) with ESMTP id A5646AB41EB for <[email protected]>; Thu, 29 Apr 2010 08:01:31 -0700 (PDT) Date: Thu, 29 Apr 2010 08:01:31 PDT From: Petar Tahchiev <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project cargo-test (in module cargo) failed Message-Id: <[email protected]> To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project cargo-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 56 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - cargo-test : Cargo provides a Java API to manipulate Java Containers Full details are available at: http://vmgump.apache.org/gump/public/cargo/cargo-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -WARNING- Overriding Maven2 settings: [/srv/gump/public/workspace/cargo/gump_mvn_settings.xml] -DEBUG- (Gump generated) Maven2 Settings in: /srv/gump/public/workspace/cargo/gump_mvn_settings.xml -INFO- Failed with reason build failed -DEBUG- Maven POM in: /srv/gump/public/workspace/cargo/pom.xml -INFO- Project Reports in: /srv/gump/public/workspace/cargo/build/test-report -WARNING- No directory [/srv/gump/public/workspace/cargo/build/test-report] The following work was performed: http://vmgump.apache.org/gump/public/cargo/cargo-test/gump_work/build_cargo_cargo-test.html Work Name: build_cargo_cargo-test (Type: Build) Work ended in a state of : Failed Elapsed: 32 secs Command Line: mvn --batch-mode -Dsurefire.useFile=false --settings /srv/gump/public/workspace/cargo/gump_mvn_settings.xml test [Working Directory: /srv/gump/public/workspace/cargo] CLASSPATH: /usr/lib/jvm/java-6-sun/lib/tools.jar:/srv/gump/public/workspace/cargo/core/containers/weblogic/target/cargo-core-container-weblogic-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/jetty/target/cargo-core-container-jetty-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/api/module/target/cargo-core-api-module-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/resources/build-tools/target/cargo-build-tools-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/jrun/target/cargo-core-container-jrun-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/resin/target/cargo-core-container-resin-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/extensions/maven2/plugin/target/cargo-maven2-plugin-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/tomcat/target/cargo-core-container-tomcat-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/jo/target/cargo-core-container-jo-1.0.1-SNAPSH OT.jar:/srv/gump/public/workspace/cargo/core/api/generic/target/cargo-core-api-generic-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/orion/target/cargo-core-container-orion-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/api/container/target/cargo-core-api-container-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/jonas/target/cargo-core-container-jonas-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/jboss/target/cargo-core-container-jboss-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/extensions/ant/target/cargo-ant-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/uberjar/target/cargo-core-uberjar-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/geronimo/target/cargo-core-container-geronimo-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/api/util/target/cargo-core-api-util-1.0.1-SNAPSHOT.jar --------------------------------------------- Apr 29, 2010 8:01:30 AM org.apache.commons.vfs.VfsLog info INFO: Using "/tmp/vfs_cache" as temporary files store. Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.942 sec Running org.codehaus.cargo.util.Base64Test Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec Running org.codehaus.cargo.util.VFSFileHandlerTest Apr 29, 2010 8:01:30 AM org.apache.commons.vfs.VfsLog info INFO: Using "/tmp/vfs_cache" as temporary files store. Apr 29, 2010 8:01:30 AM org.apache.commons.vfs.VfsLog info INFO: Using "/tmp/vfs_cache" as temporary files store. Apr 29, 2010 8:01:30 AM org.apache.commons.vfs.VfsLog info INFO: Using "/tmp/vfs_cache" as temporary files store. Apr 29, 2010 8:01:30 AM org.apache.commons.vfs.VfsLog info INFO: Using "/tmp/vfs_cache" as temporary files store. Apr 29, 2010 8:01:30 AM org.apache.commons.vfs.VfsLog info INFO: Using "/tmp/vfs_cache" as temporary files store. Apr 29, 2010 8:01:30 AM org.apache.commons.vfs.VfsLog info INFO: Using "/tmp/vfs_cache" as temporary files store. Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.102 sec Running org.codehaus.cargo.util.Dom4JUtilTest Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.029 sec <<< FAILURE! testNoElementThrowsException(org.codehaus.cargo.util.Dom4JUtilTest) Time elapsed: 0.008 sec <<< ERROR! org.dom4j.XPathException: Exception occurred evaluting XPath: weblogic:app-deployment. Exception: XPath expression uses unbound namespace prefix weblogic at org.dom4j.xpath.DefaultXPath.handleJaxenException(DefaultXPath.java:374) at org.dom4j.xpath.DefaultXPath.selectNodes(DefaultXPath.java:134) at org.codehaus.cargo.util.Dom4JUtil.selectElementsMatchingXPath(Dom4JUtil.java:86) at org.codehaus.cargo.util.Dom4JUtil.selectElementMatchingXPath(Dom4JUtil.java:100) at org.codehaus.cargo.util.Dom4JUtilTest.testNoElementThrowsException(Dom4JUtilTest.java:48) Results : Tests in error: testNoElementThrowsException(org.codehaus.cargo.util.Dom4JUtilTest) Tests run: 17, Failures: 0, Errors: 1, Skipped: 0 [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] There are test failures. Please refer to /srv/gump/public/workspace/cargo/core/api/util/target/surefire-reports for the individual test results. [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 30 seconds [INFO] Finished at: Thu Apr 29 08:01:30 PDT 2010 [INFO] Final Memory: 16M/29M [INFO] ------------------------------------------------------------------------ --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/cargo/cargo-test/rss.xml - Atom: http://vmgump.apache.org/gump/public/cargo/cargo-test/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.3. Gump Run 09000029042010, vmgump:vmgump-public:09000029042010 Gump E-mail Identifier (unique within run) #35. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] From [email protected] Thu Apr 29 15:04:54 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41171 invoked from network); 29 Apr 2010 15:04:53 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 29 Apr 2010 15:04:53 -0000 Received: (qmail 31497 invoked by uid 500); 29 Apr 2010 15:04:53 -0000 Delivered-To: [email protected] Received: (qmail 31411 invoked by uid 500); 29 Apr 2010 15:04:53 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 31404 invoked by uid 99); 29 Apr 2010 15:04:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Apr 2010 15:04:53 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Apr 2010 15:04:51 +0000 Received: from thor.apache.org (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3TF4Txl002338 for <[email protected]>; Thu, 29 Apr 2010 15:04:29 GMT Received: (from daemon@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id o3TF4Svi002337; Thu, 29 Apr 2010 11:04:28 -0400 (EDT) Date: Thu, 29 Apr 2010 11:04:28 -0400 (EDT) Message-Id: <[email protected]> From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 49223] Parameters do not work in the "Send Files with the Request" Field X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: JMeter X-Bugzilla-Component: HTTP X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: [email protected] X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: [email protected] X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status Resolution In-Reply-To: <[email protected]/bugzilla/> References: <[email protected]/bugzilla/> X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=49223 Sebb <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #1 from Sebb <[email protected]> 2010-04-29 11:04:24 EDT --- *** This bug has been marked as a duplicate of bug 46901 *** -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From [email protected] Thu Apr 29 15:04:57 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41347 invoked from network); 29 Apr 2010 15:04:56 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 29 Apr 2010 15:04:56 -0000 Received: (qmail 32122 invoked by uid 500); 29 Apr 2010 15:04:56 -0000 Delivered-To: [email protected] Received: (qmail 32037 invoked by uid 500); 29 Apr 2010 15:04:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 32030 invoked by uid 99); 29 Apr 2010 15:04:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Apr 2010 15:04:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Apr 2010 15:04:54 +0000 Received: from thor.apache.org (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3TF4Wcb002350 for <[email protected]>; Thu, 29 Apr 2010 15:04:32 GMT Received: (from daemon@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id o3TF4WFY002349; Thu, 29 Apr 2010 11:04:32 -0400 (EDT) Date: Thu, 29 Apr 2010 11:04:32 -0400 (EDT) Message-Id: <[email protected]> From: [email protected] To: [email protected] Subject: DO NOT REPLY [Bug 46901] HTTP Sampler does not process var/func refs correctly in first file parameter X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: JMeter X-Bugzilla-Component: Main X-Bugzilla-Keywords: X-Bugzilla-Severity: blocker X-Bugzilla-Who: [email protected] X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: [email protected] X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC In-Reply-To: <[email protected]/bugzilla/> References: <[email protected]/bugzilla/> X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=46901 Sebb <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] | |in.ch --- Comment #22 from Sebb <[email protected]> 2010-04-29 11:04:24 EDT --- *** Bug 49223 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From [email protected] Thu Apr 29 15:06:57 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 41879 invoked from network); 29 Apr 2010 15:06:56 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 29 Apr 2010 15:06:56 -0000 Received: (qmail 34074 invoked by uid 500); 29 Apr 2010 15:06:56 -0000 Delivered-To: [email protected] Received: (qmail 33978 invoked by uid 500); 29 Apr 2010 15:06:56 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 33971 invoked by uid 99); 29 Apr 2010 15:06:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Apr 2010 15:06:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Apr 2010 15:06:52 +0000 Received: from [161.129.204.104] (localhost [161.129.204.104]) by vmgump.apache.org (Postfix) with ESMTP id 62390AB41EB for <[email protected]>; Thu, 29 Apr 2010 08:06:30 -0700 (PDT) Date: Thu, 29 Apr 2010 08:06:30 PDT From: Stefan Bodewig <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project jakarta-bsf3 (in module jakarta-bsf3) failed Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project jakarta-bsf3 has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 295 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - jakarta-bsf3 : Bean Scripting Framework Full details are available at: http://vmgump.apache.org/gump/public/jakarta-bsf3/jakarta-bsf3/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -INFO- Optional dependency jetty failed with reason build failed -DEBUG- (Gump generated) Maven2 Settings in: /srv/gump/public/workspace/jakarta-bsf3/gump_mvn_settings.xml -INFO- Failed with reason build failed -DEBUG- Maven POM in: /srv/gump/public/workspace/jakarta-bsf3/pom.xml The following work was performed: http://vmgump.apache.org/gump/public/jakarta-bsf3/jakarta-bsf3/gump_work/build_jakarta-bsf3_jakarta-bsf3.html Work Name: build_jakarta-bsf3_jakarta-bsf3 (Type: Build) Work ended in a state of : Failed Elapsed: 60 secs Command Line: mvn --batch-mode --settings /srv/gump/public/workspace/jakarta-bsf3/gump_mvn_settings.xml install [Working Directory: /srv/gump/public/workspace/jakarta-bsf3] CLASSPATH: /usr/lib/jvm/java-6-sun/lib/tools.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/packages/junit3.8.1/junit.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/asm/output/dist/lib/all/asm-all-29042010.jar:/srv/gump/public/workspace/asm/output/dist/lib/asm-analysis-29042010.jar:/srv/gump/public/workspace/asm/output/dist/lib/asm-util-29042010.jar:/srv/gump/public/workspace/asm/output/dist/lib/asm-xml-29042010.jar:/srv/gump/public/workspace/asm/output/dist/lib/asm-commons-29042010.jar:/srv/gump/public/workspace/asm/output/ dist/lib/asm-29042010.jar:/srv/gump/public/workspace/asm/output/dist/lib/asm-tree-29042010.jar:/srv/gump/public/workspace/jakarta-bsf3/bsf-api/target/bsf-api-3.0-SNAPSHOT.jar:/srv/gump/public/workspace/commons-collections-3.x/target/commons-collections-3.3-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/io/target/commons-io-2.0-SNAPSHOT.jar:/srv/gump/public/workspace/commons-lang-2.x/target/commons-lang-2.6-SNAPSHOT.jar:/srv/gump/public/workspace/groovy/target/groovy-1.8.0-beta-1-SNAPSHOT.jar:/srv/gump/public/workspace/jakarta-oro/jakarta-oro-29042010.jar:/srv/gump/public/workspace/tomcat-tc6/output/build/lib/servlet-api.jar:/srv/gump/public/workspace/jetty/jetty-ajp/target/jetty-ajp-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-plus/target/jetty-plus-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-jndi/target/jetty-jndi-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-deploy/target/jetty-deploy-7.1.0-SNAPSHOT.jar:/srv/gump/public/worksp ace/jetty/jetty-servlets/target/jetty-servlets-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-servlet/target/jetty-servlet-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-jaspi/target/jetty-jaspi-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-webapp/target/jetty-webapp-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-osgi/jetty-osgi-boot-warurl/target/jetty-osgi-boot-warurl-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-io/target/jetty-io-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-policy/target/jetty-policy-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-security/target/jetty-security-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-server/target/jetty-server-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-http/target/jetty-http-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-osgi/jetty-osgi-boot-jsp/target/jetty-osgi-boot-jsp-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspac e/jetty/jetty-websocket/target/jetty-websocket-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-continuation/target/jetty-continuation-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-util/target/jetty-util-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-osgi/jetty-osgi-httpservice/target/jetty-httpservice-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-osgi/jetty-osgi-boot-logback/target/jetty-osgi-boot-logback-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-start/target/jetty-start-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-xml/target/jetty-xml-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-osgi/jetty-osgi-boot/target/jetty-osgi-boot-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-jmx/target/jetty-jmx-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-rewrite/target/jetty-rewrite-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-client/target/jetty-client-7.1.0-SNAPSHOT.jar:/ srv/gump/public/workspace/jetty/jetty-annotations/target/jetty-annotations-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/junit/dist/junit-29042010.jar:/srv/gump/public/workspace/jython/dist/jython-dev.jar:/srv/gump/packages/retroweaver-2.0.7/retroweaver-rt.jar:/srv/gump/packages/retroweaver-2.0.7/retroweaver.jar:/srv/gump/public/workspace/rhino/build/rhino_29042010/js.jar:/srv/gump/public/workspace/velocity-engine/bin/velocity-29042010.jar:/srv/gump/public/workspace/velocity-engine/bin/velocity-29042010-dep.jar:/srv/gump/public/workspace/ws-axis2-commons/axiom/modules/axiom-impl/target/axiom-impl-1.2.9-SNAPSHOT.jar:/srv/gump/public/workspace/ws-axis2-commons/axiom/modules/axiom-api/target/axiom-api-1.2.9-SNAPSHOT.jar:/srv/gump/public/workspace/ws-axis2-commons/axiom/modules/axiom-dom/target/axiom-dom-1.2.9-SNAPSHOT.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar --------------------------------------------- Downloading: http://localhost:8192/maven2/xmlbeans/xbean/2.2.0/xbean-2.2.0.jar Downloading: http://localhost:8192/maven2/org/codehaus/woodstox/wstx-asl/3.2.0/wstx-asl-3.2.0.jar Downloading: http://localhost:8192/maven2/rhino/js/1.6R7/js-1.6R7.jar Downloading: http://localhost:8192/maven2/org/apache/ws/commons/axiom/axiom-api/1.2.2/axiom-api-1.2.2.jar Downloading: http://localhost:8192/maven2/jaxen/jaxen/1.1-beta-9/jaxen-1.1-beta-9.jar 221K downloaded (jaxen-1.1-beta-9.jar) 392K downloaded (axiom-api-1.2.2.jar) Downloading: http://localhost:8192/maven2/org/apache/ws/commons/axiom/axiom-impl/1.2.2/axiom-impl-1.2.2.jar 119K downloaded (axiom-impl-1.2.2.jar) 1040K downloaded (js-1.6R7.jar) [INFO] [compiler:compile {execution: default-compile}] [INFO] Compiling 14 source files to /srv/gump/public/workspace/jakarta-bsf3/bsf-utils/target/classes [INFO] [resources:testResources {execution: default-testResources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 0 resource [INFO] [compiler:testCompile {execution: default-testCompile}] [INFO] Compiling 1 source file to /srv/gump/public/workspace/jakarta-bsf3/bsf-utils/target/test-classes [INFO] [surefire:test {execution: default-test}] [INFO] Surefire report directory: /srv/gump/public/workspace/jakarta-bsf3/bsf-utils/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.bsf.xml.JavaScriptXMLHelperTestCase Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.712 sec <<< FAILURE! Results : Tests in error: testToOmElement(org.apache.bsf.xml.JavaScriptXMLHelperTestCase) testToScriptXML(org.apache.bsf.xml.JavaScriptXMLHelperTestCase) Tests run: 2, Failures: 0, Errors: 2, Skipped: 0 [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] There are test failures. Please refer to /srv/gump/public/workspace/jakarta-bsf3/bsf-utils/target/surefire-reports for the individual test results. [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 58 seconds [INFO] Finished at: Thu Apr 29 08:06:28 PDT 2010 [INFO] Final Memory: 27M/48M [INFO] ------------------------------------------------------------------------ --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-bsf3/jakarta-bsf3/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-bsf3/jakarta-bsf3/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.3. Gump Run 09000029042010, vmgump:vmgump-public:09000029042010 Gump E-mail Identifier (unique within run) #36. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] From [email protected] Thu Apr 29 17:24:47 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 5678 invoked from network); 29 Apr 2010 17:24:46 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 29 Apr 2010 17:24:46 -0000 Received: (qmail 52024 invoked by uid 500); 29 Apr 2010 17:24:46 -0000 Delivered-To: [email protected] Received: (qmail 51930 invoked by uid 500); 29 Apr 2010 17:24:46 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 51923 invoked by uid 99); 29 Apr 2010 17:24:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Apr 2010 17:24:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO vmgump.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Apr 2010 17:24:43 +0000 Received: from [161.129.204.104] (localhost [161.129.204.104]) by vmgump.apache.org (Postfix) with ESMTP id 5273CAB41EB for <[email protected]>; Thu, 29 Apr 2010 10:24:20 -0700 (PDT) Date: Thu, 29 Apr 2010 10:24:20 PDT From: Petar Tahchiev <[email protected]> To: [email protected] Subject: [GUMP@vmgump]: Project cactus (in module jakarta-cactus) failed Message-Id: <[email protected]> X-Virus-Checked: Checked by ClamAV on apache.org To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [email protected]. Project cactus has an issue affecting its community integration. This issue affects 3 projects, and has been outstanding for 804 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - cactus : Cactus Framework - portals-jetspeed-1 : Enterprise Information Portal - strutstestcase : An extension of the standard JUnit TestCase class that provi... Full details are available at: http://vmgump.apache.org/gump/public/jakarta-cactus/cactus/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [cactus.core.framework.uberjar.javaEE.14-1.8.1-SNAPSHOT.jar] identifier set to project name -INFO- Optional dependency httpunit failed with reason build failed -INFO- Optional dependency jetty failed with reason build failed -DEBUG- (Gump generated) Maven2 Settings in: /srv/gump/public/workspace/jakarta-cactus/gump_mvn_settings.xml -INFO- Failed with reason build failed -DEBUG- Maven POM in: /srv/gump/public/workspace/jakarta-cactus/pom.xml -INFO- Project Reports in: /srv/gump/public/workspace/jakarta-cactus/build/test-report -WARNING- No directory [/srv/gump/public/workspace/jakarta-cactus/build/test-report] -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/jakarta-cactus/cactus/gump_work/build_jakarta-cactus_cactus.html Work Name: build_jakarta-cactus_cactus (Type: Build) Work ended in a state of : Failed Elapsed: 1 min 22 secs Command Line: mvn --batch-mode -Dsurefire.useFile=false --settings /srv/gump/public/workspace/jakarta-cactus/gump_mvn_settings.xml install [Working Directory: /srv/gump/public/workspace/jakarta-cactus] CLASSPATH: /usr/lib/jvm/java-6-sun/lib/tools.jar:/srv/gump/public/workspace/cargo/core/containers/weblogic/target/cargo-core-container-weblogic-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/jetty/target/cargo-core-container-jetty-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/api/module/target/cargo-core-api-module-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/resources/build-tools/target/cargo-build-tools-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/jrun/target/cargo-core-container-jrun-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/resin/target/cargo-core-container-resin-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/extensions/maven2/plugin/target/cargo-maven2-plugin-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/tomcat/target/cargo-core-container-tomcat-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/jo/target/cargo-core-container-jo-1.0.1-SNAPSH OT.jar:/srv/gump/public/workspace/cargo/core/api/generic/target/cargo-core-api-generic-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/orion/target/cargo-core-container-orion-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/api/container/target/cargo-core-api-container-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/jonas/target/cargo-core-container-jonas-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/jboss/target/cargo-core-container-jboss-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/extensions/ant/target/cargo-ant-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/uberjar/target/cargo-core-uberjar-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/containers/geronimo/target/cargo-core-container-geronimo-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/cargo/core/api/util/target/cargo-core-api-util-1.0.1-SNAPSHOT.jar:/srv/gump/public/workspace/checkstyle/target/dist/checkstyle-29042010/chec kstyle-29042010.jar:/srv/gump/public/workspace/checkstyle/target/dist/checkstyle-29042010/checkstyle-optional-29042010.jar:/srv/gump/public/workspace/apache-commons/beanutils/dist/commons-beanutils-29042010.jar:/srv/gump/public/workspace/apache-commons/codec/dist/commons-codec-29042010.jar:/srv/gump/public/workspace/commons-collections-3.x/target/commons-collections-3.3-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/digester/dist/commons-digester.jar:/srv/gump/public/workspace/httpcomponents/oac.hc3x/dist/commons-httpclient.jar:/srv/gump/public/workspace/apache-commons/io/target/commons-io-2.0-SNAPSHOT.jar:/srv/gump/public/workspace/commons-lang-2.x/target/commons-lang-2.6-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-29042010.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api-29042010.jar:/srv/gump/public/workspace/apache-commons/validator/dist/commons-validator-29042010.jar:/srv/gump/public/works pace/httpunit/lib/httpunit.jar:/srv/gump/public/workspace/jakarta-oro/jakarta-oro-29042010.jar:/srv/gump/public/workspace/tomcat-tc6/output/build/lib/servlet-api.jar:/srv/gump/public/workspace/jetty/jetty-ajp/target/jetty-ajp-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-plus/target/jetty-plus-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-jndi/target/jetty-jndi-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-deploy/target/jetty-deploy-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-servlets/target/jetty-servlets-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-servlet/target/jetty-servlet-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-jaspi/target/jetty-jaspi-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-webapp/target/jetty-webapp-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-osgi/jetty-osgi-boot-warurl/target/jetty-osgi-boot-warurl-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jett y-io/target/jetty-io-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-policy/target/jetty-policy-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-security/target/jetty-security-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-server/target/jetty-server-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-http/target/jetty-http-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-osgi/jetty-osgi-boot-jsp/target/jetty-osgi-boot-jsp-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-websocket/target/jetty-websocket-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-continuation/target/jetty-continuation-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-util/target/jetty-util-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-osgi/jetty-osgi-httpservice/target/jetty-httpservice-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-osgi/jetty-osgi-boot-logback/target/jetty-osgi-boot-logback-7.1.0-SNAPSHOT.jar:/ srv/gump/public/workspace/jetty/jetty-start/target/jetty-start-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-xml/target/jetty-xml-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-osgi/jetty-osgi-boot/target/jetty-osgi-boot-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-jmx/target/jetty-jmx-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-rewrite/target/jetty-rewrite-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-client/target/jetty-client-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/jetty/jetty-annotations/target/jetty-annotations-7.1.0-SNAPSHOT.jar:/srv/gump/public/workspace/junit/dist/junit-29042010.jar:/srv/gump/public/workspace/logging-log4j-12/dist/lib/log4j-29042010.jar:/srv/gump/public/workspace/rat/apache-rat-tasks/target/apache-rat-tasks-0.7-SNAPSHOT.jar:/srv/gump/public/workspace/rat/apache-rat-core/target/apache-rat-core-0.7-SNAPSHOT.jar:/srv/gump/public/workspace/rat/apache-rat-plugin/target/apache-rat-plugin-0 .7-SNAPSHOT.jar:/srv/gump/public/workspace/tomcat-jasper_tc6/build/shared/lib/el-api.jar:/srv/gump/public/workspace/tomcat-jasper_tc6/build/shared/lib/jsp-api.jar:/srv/gump/public/workspace/tomcat-jasper_tc6/build/shared/lib/jasper-runtime.jar:/srv/gump/public/workspace/tomcat-jasper_tc6/build/shared/lib/jasper-compiler.jar:/srv/gump/public/workspace/tomcat-jasper_tc6/build/shared/lib/jasper-el.jar:/srv/gump/public/workspace/velocity-engine/bin/velocity-29042010.jar:/srv/gump/public/workspace/velocity-engine/bin/velocity-29042010-dep.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar --------------------------------------------- Downloading: http://localhost:8192/maven2/org/codehaus/cargo/cargo-core-uberjar/0.9/cargo-core-uberjar-0.9.jar Downloading: http://localhost:8192/maven2/org/apache/maven/reporting/maven-reporting-impl/161.129.204.104/maven-reporting-impl-161.129.204.104.jar 838K downloaded (cargo-core-uberjar-0.9.jar) Downloading: http://localhost:8192/maven2/checkstyle/checkstyle/5.0/checkstyle-5.0.jar 539K downloaded (checkstyle-5.0.jar) [INFO] [checkstyle:check {execution: default}] [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] basedir /srv/gump/public/workspace/jakarta-cactus/framework/src/main/java does not exist [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.IllegalStateException: basedir /srv/gump/public/workspace/jakarta-cactus/framework/src/main/java does not exist at org.codehaus.plexus.util.DirectoryScanner.scan(DirectoryScanner.java:550) at org.codehaus.plexus.util.FileUtils.getFileAndDirectoryNames(FileUtils.java:1717) at org.codehaus.plexus.util.FileUtils.getFileNames(FileUtils.java:1645) at org.codehaus.plexus.util.FileUtils.getFileNames(FileUtils.java:1627) at org.codehaus.plexus.util.FileUtils.getFiles(FileUtils.java:1601) at org.codehaus.plexus.util.FileUtils.getFiles(FileUtils.java:1584) at org.apache.maven.plugin.checkstyle.DefaultCheckstyleExecutor.getFilesToProcess(DefaultCheckstyleExecutor.java:407) at org.apache.maven.plugin.checkstyle.DefaultCheckstyleExecutor.executeCheckstyle(DefaultCheckstyleExecutor.java:89) at org.apache.maven.plugin.checkstyle.CheckstyleViolationCheckMojo.execute(CheckstyleViolationCheckMojo.java:393) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 minute 21 seconds [INFO] Finished at: Thu Apr 29 10:24:19 PDT 2010 [INFO] Final Memory: 26M/47M [INFO] ------------------------------------------------------------------------ --------------------------------------------- To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-cactus/cactus/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-cactus/cactus/atom.xml ============================== Gump Tracking Only === Produced by Gump version 2.3. Gump Run 09000029042010, vmgump:vmgump-public:09000029042010 Gump E-mail Identifier (unique within run) #52. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] From [email protected] Thu Apr 29 18:02:17 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 26981 invoked from network); 29 Apr 2010 18:02:17 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 29 Apr 2010 18:02:17 -0000 Received: (qmail 9407 invoked by uid 500); 29 Apr 2010 18:02:16 -0000 Delivered-To: [email protected] Received: (qmail 9272 invoked by uid 500); 29 Apr 2010 18:02:16 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 9265 invoked by uid 500); 29 Apr 2010 18:02:16 -0000 Delivered-To: [email protected] Received: (qmail 9262 invoked by uid 99); 29 Apr 2010 18:02:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Apr 2010 18:02:16 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Apr 2010 18:02:09 +0000 Received: from eos.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id A6DD117D1C; Thu, 29 Apr 2010 18:01:47 +0000 (GMT) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki <[email protected]> To: Apache Wiki <[email protected]> Date: Thu, 29 Apr 2010 18:01:47 -0000 Message-ID: <[email protected]> Subject: =?utf-8?q?=5BVelocity_Wiki=5D_Update_of_=22PoweredByVelocity=22_by_SeanGa?= =?utf-8?q?tes?= X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Velocity Wiki" for = change notification. The "PoweredByVelocity" page has been changed by SeanGates. http://wiki.apache.org/velocity/PoweredByVelocity?action=3Ddiff&rev1=3D74&r= ev2=3D75 -------------------------------------------------- ## page was renamed from PoweredBy =3D=3D Powered-By Velocity Logo =3D=3D + This is not a requirement, but we would love it if you would adopt our Po= wered-By Velocity logo for your own website in order to show your support f= or our hard work. = - This is not a requirement, but we would love it if you would adopt - our Powered-By Velocity logo for your own website in order to show - your support for our hard work. - = {{attachment:powered-by-logo.gif}} = =3D=3D Velocity-Powered Products and Projects =3D=3D + Velocity is a utility tool which can be used in conjunction with general = applications which may or may not be web based. - = - Velocity is a utility tool which can be used in conjunction with - general applications which may or may not be web based. - = - ||<30%tablewidth=3D"100%">'''Name'''||'''Description'''|| + ||<tablewidth=3D"100%"30%>'''Name''' ||'''Description''' || - ||[[http://www.vosao.org/|Vosao CMS for Google Apps Engine]]||Vosao (vo-z= a) is a content management system (CMS) that enables you to build web sites= and powerful online applications. Many aspects, including its ease-of-use = and extensibility, make Vosao CMS a good choice for your web site software.= Best of all, Vosao CMS is an open source solution that is freely available= to everyone and designed to be hosted on the Google App Engine. || + ||[[http://www.vosao.org/|Vosao CMS for Google Apps Engine]] ||Vosao (vo-= za) is a content management system (CMS) that enables you to build web site= s and powerful online applications. Many aspects, including its ease-of-use= and extensibility, make Vosao CMS a good choice for your web site software= . Best of all, Vosao CMS is an open source solution that is freely availabl= e to everyone and designed to be hosted on the Google App Engine. || - ||[[http://jakarta.apache.org/velocity/anakia.html|Anakia]]||Essentially = an XML transformation tool, Anakia uses JDOM and Velocity to transform XML = documents into the format of your choice. It provides an alternative to usi= ng Ant's <style> task and XSL to process XML files.|| + ||[[http://jakarta.apache.org/velocity/anakia.html|Anakia]] ||Essentially= an XML transformation tool, Anakia uses JDOM and Velocity to transform XML= documents into the format of your choice. It provides an alternative to us= ing Ant's <style> task and XSL to process XML files. || - ||[[http://jakarta.apache.org/velocity/texen.html|Texen]]||Texen is a gen= eral purpose text generating utility. It is capable of producing almost any= sort of text output. Driven by Ant, Texen uses a control template, an opti= onal set of worker templates, and control context to govern the generated o= utput.|| + ||[[http://jakarta.apache.org/velocity/texen.html|Texen]] ||Texen is a ge= neral purpose text generating utility. It is capable of producing almost an= y sort of text output. Driven by Ant, Texen uses a control template, an opt= ional set of worker templates, and control context to govern the generated = output. || - ||[[http://xmlgen.sourceforge.net/|XmlGen]]||XmlGen is and extension of T= exen. XmlGen makes XML nodes available to the Velocity template. You can a= ccess XML elements by name, get their attributes value, select some nodes w= ith an XPath expression or loop on an element list ...|| + ||[[http://xmlgen.sourceforge.net/|XmlGen]] ||XmlGen is and extension of = Texen. XmlGen makes XML nodes available to the Velocity template. You can = access XML elements by name, get their attributes value, select some nodes = with an XPath expression or loop on an element list ... || - ||[[http://www.gentleware.com/products/index.php3|GentleWare]] Poseidon f= or UML||GentleWare's Poseidon product uses Velocity as a template tool in o= rder to generate Java code from UML diagrams that you design using their to= ol.|| + ||[[http://www.gentleware.com/products/index.php3|GentleWare]] Poseidon f= or UML ||GentleWare's Poseidon product uses Velocity as a template tool in = order to generate Java code from UML diagrams that you design using their t= ool. || - ||[[http://www.xadra.com/products/vas/index.html|Xadra]] VelocityAdaptorS= erver||The VelocityAdaptorServer is a very simple yet extremely flexible sy= stem for the creation of HTML-based Java Management Extensions[tm] (JMX) co= mpatible management consoles.|| + ||[[http://www.xadra.com/products/vas/index.html|Xadra]] VelocityAdaptorS= erver ||The VelocityAdaptorServer is a very simple yet extremely flexible s= ystem for the creation of HTML-based Java Management Extensions[tm] (JMX) c= ompatible management consoles. || - ||[[http://www.vamphq.com/|Venus Application Publisher (Vamp)]]||Vamp is = a user-friendly tool that helps you package, sign and publish Web Start/Jav= a Network Launching Protocol (JNLP) software. Vamp uses Velocity heavily to= create parts of the gooey (GUI) in XUL or HTML or to create documents such= as JNLP startup files, web app config files or HTML info pages.|| + ||[[http://www.vamphq.com/|Venus Application Publisher (Vamp)]] ||Vamp is= a user-friendly tool that helps you package, sign and publish Web Start/Ja= va Network Launching Protocol (JNLP) software. Vamp uses Velocity heavily t= o create parts of the gooey (GUI) in XUL or HTML or to create documents suc= h as JNLP startup files, web app config files or HTML info pages. || - ||[[http://jtop.sourceforge.net/|J/Top]]||J/Top is an open source applica= tion for monitoring multiple servers running 'top'. It has an email notif= ier which uses Velocity for formatting the notification emails.|| + ||[[http://jtop.sourceforge.net/|J/Top]] ||J/Top is an open source applic= ation for monitoring multiple servers running 'top'. It has an email noti= fier which uses Velocity for formatting the notification emails. || - ||[[http://www.comcepta.com/en/enterprise-metasearch.html|EnterpriseMetas= earch]]||EnterpriseMetasearch is a customizable federated search engine pro= duct that uses Velocity for several internal text rendering tasks.|| + ||[[http://www.comcepta.com/en/enterprise-metasearch.html|EnterpriseMetas= earch]] ||EnterpriseMetasearch is a customizable federated search engine pr= oduct that uses Velocity for several internal text rendering tasks. || - ||[[http://eyebrowse.tigris.org/|Eyebrowse]]||Eyebrowse is a Java Servlet= browser for Unix mbox format mail archives.|| + ||[[http://eyebrowse.tigris.org/|Eyebrowse]] ||Eyebrowse is a Java Servle= t browser for Unix mbox format mail archives. || - ||[[http://www.vamphq.com/hazel.html"|Hazel]]||Hazel is a Web Start/JNLP = app catalog creator (jnlp2html). Hazel allows you to create your own Web St= art/JNLP app catalogs. Hazel extracts all JNLP links from HTML documents an= d creates an informative, neat looking HTML document listing all WebStart/J= NLP apps. Hazel uses Velocity as its template engine.|| + ||[[http://www.vamphq.com/hazel.html"|Hazel]] ||Hazel is a Web Start/JNLP= app catalog creator (jnlp2html). Hazel allows you to create your own Web S= tart/JNLP app catalogs. Hazel extracts all JNLP links from HTML documents a= nd creates an informative, neat looking HTML document listing all WebStart/= JNLP apps. Hazel uses Velocity as its template engine. || - ||[[http://xjr.sourceforge.net/|XJR : XML to Java via Reflection API]]||P= roject toolkit for XML <-> Java compilation and mapping. Among other things= , compiles DTDs to Java class hierarchies. Will create XML documents from t= hose hierarchies and others...|| + ||[[http://xjr.sourceforge.net/|XJR : XML to Java via Reflection API]] ||= Project toolkit for XML <-> Java compilation and mapping. Among other thing= s, compiles DTDs to Java class hierarchies. Will create XML documents from = those hierarchies and others... || - ||[[http://velocidoc.sourceforge.net/intro.html|Velocidoc]]||Velocidoc is= a Velocimacro documentation tool modeled after Javadoc that allows you to = generate HTML documentation for your Velocimacro libraries.|| + ||[[http://velocidoc.sourceforge.net/intro.html|Velocidoc]] ||Velocidoc i= s a Velocimacro documentation tool modeled after Javadoc that allows you to= generate HTML documentation for your Velocimacro libraries. || - ||[[http://scarab.tigris.org/|Scarab]]||Scarab is an Issue/Artiface track= ing system that has been developed on top of Velocity and Turbine and is av= ailable under an open source license.|| + ||[[http://scarab.tigris.org/|Scarab]] ||Scarab is an Issue/Artiface trac= king system that has been developed on top of Velocity and Turbine and is a= vailable under an open source license. || - ||[[http://luxor-xul.sourceforge.net|Luxor]]||Luxor is an open-source XML= User Interface Language (XUL) toolkit for building rich cross-platform, ze= ro-admin desktop apps in Java. Luxor supports hand-picked Mozilla XUL goodi= es and also includes a ultra light-weight, multi-threaded web server, a por= tal engine, and Velocity as its template engine.|| + ||[[http://luxor-xul.sourceforge.net|Luxor]] ||Luxor is an open-source XM= L User Interface Language (XUL) toolkit for building rich cross-platform, z= ero-admin desktop apps in Java. Luxor supports hand-picked Mozilla XUL good= ies and also includes a ultra light-weight, multi-threaded web server, a po= rtal engine, and Velocity as its template engine. || - ||[[http://www.beardediris.com/webkiosk.html|WebAmortize]]||WebAmortizati= on is a simple Java servlet that implements an online calculator for comput= ing mortgage payments using the Velocity template engine.|| + ||[[http://www.beardediris.com/webkiosk.html|WebAmortize]] ||WebAmortizat= ion is a simple Java servlet that implements an online calculator for compu= ting mortgage payments using the Velocity template engine. || - ||[[http://dione.zcu.cz/~toman40/ActionPack/|Action Pack]]||ActionPack is= a distribution of independent, but cooperating, opensource modules for web= applications development.|| + ||[[http://dione.zcu.cz/~toman40/ActionPack/|Action Pack]] ||ActionPack i= s a distribution of independent, but cooperating, opensource modules for we= b applications development. || - ||[[http://www.jeewiz.co.uk/index.html|JeeWiz : Enterprise System Builder= ]]||JeeWiz! uses templates to generate J2EE infrastructure code, deployment= descriptors and build jobs. The result is good news for everyone on a J2EE= project.|| + ||[[http://www.jeewiz.co.uk/index.html|JeeWiz : Enterprise System Builder= ]] ||JeeWiz! uses templates to generate J2EE infrastructure code, deploymen= t descriptors and build jobs. The result is good news for everyone on a J2E= E project. || - ||[[http://vdoclet.sourceforge.net/|vDoclet]]||vDoclet is a Javadoc-based= code-generation framework. It takes Java source-code, annotated with custo= m Javadoc tags, and uses Velocity templates to produce a number of output f= iles. Templates are included for generating various EJB-related components= .|| + ||[[http://vdoclet.sourceforge.net/|vDoclet]] ||vDoclet is a Javadoc-base= d code-generation framework. It takes Java source-code, annotated with cust= om Javadoc tags, and uses Velocity templates to produce a number of output = files. Templates are included for generating various EJB-related component= s. || - ||[[ftp://ftp.rexursive.com/pub/pump/pump.tar.gz|Pump Servlet]]||Bojan Sm= ojver's PumpServlet is an alternative to the core VelocityServlet to use as= a baseclass for developing Velocity-powered servlets. See the documentati= on included in the download for more information. (That should motivate Boj= an...)|| + ||[[ftp://ftp.rexursive.com/pub/pump/pump.tar.gz|Pump Servlet]] ||Bojan S= mojver's PumpServlet is an alternative to the core VelocityServlet to use a= s a baseclass for developing Velocity-powered servlets. See the documentat= ion included in the download for more information. (That should motivate Bo= jan...) || - ||[[http://edencrm.sf.net|EdenCRM]]||EdenCRM is an open source java appli= cation for Customer Relationship Management which is designed specifically = for small businesses. It runs on the desktop and does not require any serve= r software (unless you want to have multiple users use a shared database fo= r tickets and history entries).|| + ||[[http://edencrm.sf.net|EdenCRM]] ||EdenCRM is an open source java appl= ication for Customer Relationship Management which is designed specifically= for small businesses. It runs on the desktop and does not require any serv= er software (unless you want to have multiple users use a shared database f= or tickets and history entries). || - ||[[http://boss.bekk.no/boss/middlegen/|Middlegen]]||Middlegen is a code = generation tool for EJB 2.0 CMP/CMR Entity Beans. It's useful if you have a= database with existing tables and you want to map the tables to Entity Bea= ns. You don't want to write a lot of code. You want the code to be generate= d. The code generated by Middlegen relies on further processing by XDoclet = to produce even more code (home/remote/local interfaces, primary key classe= s and deployment descriptors).|| + ||[[http://boss.bekk.no/boss/middlegen/|Middlegen]] ||Middlegen is a code= generation tool for EJB 2.0 CMP/CMR Entity Beans. It's useful if you have = a database with existing tables and you want to map the tables to Entity Be= ans. You don't want to write a lot of code. You want the code to be generat= ed. The code generated by Middlegen relies on further processing by XDoclet= to produce even more code (home/remote/local interfaces, primary key class= es and deployment descriptors). || - ||[[http://www.rollerweblogger.org/|Roller Weblogger]]||Roller is server-= based weblogging software - a web application - that is designed to support= multiple simultaneous weblog users and visitors.|| + ||[[http://www.rollerweblogger.org/|Roller Weblogger]] ||Roller is server= -based weblogging software - a web application - that is designed to suppor= t multiple simultaneous weblog users and visitors. || - ||[[http://www.aidministrator.nl/spectacle/|Spectacle:Server]]||Spectacle= Server is a 100% Java web component (to be deployed in a web app server li= ke Tomcat/JBoss/!SunOne/!WebSphere) which offers high-performance, scalable= guided exploration on sets of structured or unstructured data. Spectacle u= ses Velocity templates for the rendering of information objects in HTML, X= ML or other formats.|| + ||[[http://www.aidministrator.nl/spectacle/|Spectacle:Server]] ||Spectacl= e Server is a 100% Java web component (to be deployed in a web app server l= ike Tomcat/JBoss/!SunOne/!WebSphere) which offers high-performance, scalabl= e guided exploration on sets of structured or unstructured data. Spectacle = uses Velocity templates for the rendering of information objects in HTML, = XML or other formats. || - ||[[http://www.cotsec.com/|Cotsec Forms]]||Cotsec Forms is a framework fo= r generating Forms based applications|| + ||[[http://www.cotsec.com/|Cotsec Forms]] ||Cotsec Forms is a framework f= or generating Forms based applications || - ||[[http://jag.sourceforge.net/|JAG - Java Application Generator]]||JAG i= s an application that creates complete, working J2EE applications. It is in= tended to alleviate much of the repetitive work involved in creating such a= pplications, while providing a means of quality assurance that the applicat= ions created will be of consistent quality.|| + ||[[http://jag.sourceforge.net/|JAG - Java Application Generator]] ||JAG = is an application that creates complete, working J2EE applications. It is i= ntended to alleviate much of the repetitive work involved in creating such = applications, while providing a means of quality assurance that the applica= tions created will be of consistent quality. || - ||[[http://www.intellij.com/|Intellij IDEA]]||IDEA is an award-winning Ja= va IDE that is used by at least some Velocity developers :) It uses Veloci= ty for its templating for class and method comment templates.|| + ||[[http://www.intellij.com/|Intellij IDEA]] ||IDEA is an award-winning J= ava IDE that is used by at least some Velocity developers :) It uses Veloc= ity for its templating for class and method comment templates. || - ||[[http://ivory.codehaus.org/soaplet/index.html|Ivory Soaplet]]||Clever = SOAP client framework that lets you use Velocity templates to construct the= SOAP messages.|| + ||[[http://ivory.codehaus.org/soaplet/index.html|Ivory Soaplet]] ||Clever= SOAP client framework that lets you use Velocity templates to construct th= e SOAP messages. || - ||[[http://velosurf.sourceforge.net/|Velosurf]]||Velosurf is a database a= ccess tool for the Velocity template engine. It is meant for ease-of-use, g= enericity and efficiency.|| + ||[[http://velosurf.sourceforge.net/|Velosurf]] ||Velosurf is a database = access tool for the Velocity template engine. It is meant for ease-of-use, = genericity and efficiency. || - ||[[http://xkins.sourceforge.net/|Xkins]]||Xkins is a framework that mana= ges skins for your web application.|| + ||[[http://xkins.sourceforge.net/|Xkins]] ||Xkins is a framework that man= ages skins for your web application. || - ||[[http://objectstyle.org/cayenne/|Cayenne O/R]]||Cayenne is an !OpenSou= rce Java Object-Relational suite that provides a runtime O/R framework and = a Swing GUI mapping/deployment tool. Velocity is used as the engine for tem= plate-based class generation from GUI or Ant tasks.|| + ||[[http://objectstyle.org/cayenne/|Cayenne O/R]] ||Cayenne is an !OpenSo= urce Java Object-Relational suite that provides a runtime O/R framework and= a Swing GUI mapping/deployment tool. Velocity is used as the engine for te= mplate-based class generation from GUI or Ant tasks. || - ||[[http://www.bluetetra.com/xsddoc/index.htm|XSDDoc]]||XSDDoc is a docum= entation tool that automatically generates detailed reports from XML Schema= definitions. XSDDoc transforms plain XML files into cross-referenced and h= yperlinked HTML documents for easy website publication and collaboration am= ong developers.|| + ||[[http://www.bluetetra.com/xsddoc/index.htm|XSDDoc]] ||XSDDoc is a docu= mentation tool that automatically generates detailed reports from XML Schem= a definitions. XSDDoc transforms plain XML files into cross-referenced and = hyperlinked HTML documents for easy website publication and collaboration a= mong developers. || - ||[[http://vpp.sourceforge.net/|VPP - File Pre-processor]]||VPP provides = general file preprocessing support based on the Velocity Template Engine an= d Ant . The core funtionality is provided as a filter for use with tasks th= at supports filter chains. Also included are replacement tasks for <copy> = and <javac> that integrate support for preprocessing.|| + ||[[http://vpp.sourceforge.net/|VPP - File Pre-processor]] ||VPP provides= general file preprocessing support based on the Velocity Template Engine a= nd Ant . The core funtionality is provided as a filter for use with tasks t= hat supports filter chains. Also included are replacement tasks for <copy>= and <javac> that integrate support for preprocessing. || - ||[[http://sourceforge.net/projects/strutsgenerator/|Struts Generator]]||= Web application generator, based on the Struts framework.|| + ||[[http://sourceforge.net/projects/strutsgenerator/|Struts Generator]] |= |Web application generator, based on the Struts framework. || - ||[[http://modelj.sourceforge.net/|ModelJ]]||ModelJ is a RAD (Rapid Appli= cation Development) tool that uses code generation to create complete J2EE = designs using the Struts and EJB frameworks.|| + ||[[http://modelj.sourceforge.net/|ModelJ]] ||ModelJ is a RAD (Rapid Appl= ication Development) tool that uses code generation to create complete J2EE= designs using the Struts and EJB frameworks. || - ||[[http://sourceforge.net/projects/veloedit/|VeloEdit]]||VeloEdit provid= es an [[http://www.eclipse.org/|Eclipse]] plugin for Velocity templates.|| + ||[[http://sourceforge.net/projects/veloedit/|VeloEdit]] ||VeloEdit provi= des an [[http://www.eclipse.org/|Eclipse]] plugin for Velocity templates. || - ||[[http://virtualschool.edu/ale/|Action Learning Environment (ALE)]]||AL= E is an open source project for building experimental learning environments= .|| + ||[[http://virtualschool.edu/ale/|Action Learning Environment (ALE)]] ||A= LE is an open source project for building experimental learning environment= s. || - ||[[http://www.binamics.com/hibernatesynch/|Hibernate Synchronizer]]||Hib= ernate Synchronizer is an Eclipse plugin to be used with Hibernate to keep = your Java business objects automatically synchronized with your Hibernate = mapping files.|| + ||[[http://www.binamics.com/hibernatesynch/|Hibernate Synchronizer]] ||Hi= bernate Synchronizer is an Eclipse plugin to be used with Hibernate to keep= your Java business objects automatically synchronized with your Hibernate= mapping files. || - ||[[http://www.dishevelled.org/codegen|codegen]]||dishevelled.org codegen= is a java source code generation suite based on Velocity templates that ge= nerates source code in several different styles.|| + ||[[http://www.dishevelled.org/codegen|codegen]] ||dishevelled.org codege= n is a java source code generation suite based on Velocity templates that g= enerates source code in several different styles. || - ||[[http://www.ilient.com/free-help-desk-software.htm|SysAid Free Help De= sk Software]]||SysAid Web Based Help Desk Software -- Help Desk, Inventory = and Project Management.SysAid is software for organizations' IT (Informatio= n Technology) departments. It provides asset management, automatically sca= nning the organization's network and listing its machines. SysAid provides = details on each machine (its hardware, software, history), and lets you rem= ote control it. SysAid also provides help desk, letting end users use forms= to submit service requests (error reports or calls for assistance).|| + ||[[http://www.ilient.com/free-help-desk-software.htm|SysAid Free Help De= sk Software]] ||SysAid Web Based Help Desk Software -- Help Desk, Inventory= and Project Management.SysAid is software for organizations' IT (Informati= on Technology) departments. It provides asset management, automatically sc= anning the organization's network and listing its machines. SysAid provides= details on each machine (its hardware, software, history), and lets you re= mote control it. SysAid also provides help desk, letting end users use form= s to submit service requests (error reports or calls for assistance). || - ||[[http://www.dbsight.net/|DBSight]]||DBSight is an J2EE RAD tool to cre= ate search like "Search Engine" style, or "Product Catalog" style, on any d= atabases. Only simple SQL knowledge is needed. The search results are based= on Velocity, which can be modified via web browser by the user to customiz= e the look and feel. [[http://search.dbsight.com/|Online Demo]] is availabl= e.|| + ||[[http://www.dbsight.net/|DBSight]] ||DBSight is an J2EE RAD tool to cr= eate search like "Search Engine" style, or "Product Catalog" style, on any = databases. Only simple SQL knowledge is needed. The search results are base= d on Velocity, which can be modified via web browser by the user to customi= ze the look and feel. [[http://search.dbsight.com/|Online Demo]] is availab= le. || - ||[[http://rtftemplate.sourceforge.net/|RTFTemplate]]||RTFTemplate is RTF= engine which is able to generate RTF by merging template RTF (model RTF so= urce) with JAVA object (context). RTFTemplate use Velocity for merging temp= late with JAVA object. With RTFTEmplate you can design your RTF model with = MS Word by using MERGEFIELD, HYPERLINK and BOOKMARK. RTFTemplate can be use= d too in C#. This project is called NRTFTemplate. || + ||[[http://rtftemplate.sourceforge.net/|RTFTemplate]] ||RTFTemplate is RT= F engine which is able to generate RTF by merging template RTF (model RTF s= ource) with JAVA object (context). RTFTemplate use Velocity for merging tem= plate with JAVA object. With RTFTEmplate you can design your RTF model with= MS Word by using MERGEFIELD, HYPERLINK and BOOKMARK. RTFTemplate can be us= ed too in C#. This project is called NRTFTemplate. || - ||[[http://www.andromda.org/|AndroMDA]]||AndroMDA (pronounced: andromeda)= is an open source code generation framework that follows the Model Driven = Architecture (MDA) paradigm. It takes model(s) from CASE-tool(s) and gener= ates fully deployable applications and other components. AndroMDA is mainly= used by J2EE developers for generating most of their Spring, Hibernate, EJ= B, WebServices, Struts, JSF and jBPM code. AndroMDA can be tailored to your= own needs simply by editing Velocity templates.|| + ||[[http://www.andromda.org/|AndroMDA]] ||AndroMDA (pronounced: andromeda= ) is an open source code generation framework that follows the Model Driven= Architecture (MDA) paradigm. It takes model(s) from CASE-tool(s) and gene= rates fully deployable applications and other components. AndroMDA is mainl= y used by J2EE developers for generating most of their Spring, Hibernate, E= JB, WebServices, Struts, JSF and jBPM code. AndroMDA can be tailored to you= r own needs simply by editing Velocity templates. || - ||[[http://webjavenue.com/|WebJavenue]]||WebJavenue is a Java web develop= ment resource that features two key artifacts: a reference application avai= lable both as a live demo and a downloadable project, and a step-by-step tu= torial centered around it. For rendering, both the reference application an= d the website itself use Velocity, thus promoting good webapp design practi= ces.|| + ||[[http://webjavenue.com/|WebJavenue]] ||WebJavenue is a Java web develo= pment resource that features two key artifacts: a reference application ava= ilable both as a live demo and a downloadable project, and a step-by-step t= utorial centered around it. For rendering, both the reference application a= nd the website itself use Velocity, thus promoting good webapp design pract= ices. || - ||[[http://www.churchandpeople.com/|Church and People]]||Church and Peopl= e is a web site that provides churches with community building and administ= ration tools, such as online event registration, credit card processing, re= source management, membership directories, private forums, an event calenda= r, e-mail tools, and more. Velocity was used during development to generate= most of the application, from HTML to configuration XML to business logic = classes, based on input from a domain-specific language created with JavaCC= .|| + ||[[http://www.churchandpeople.com/|Church and People]] ||Church and Peop= le is a web site that provides churches with community building and adminis= tration tools, such as online event registration, credit card processing, r= esource management, membership directories, private forums, an event calend= ar, e-mail tools, and more. Velocity was used during development to generat= e most of the application, from HTML to configuration XML to business logic= classes, based on input from a domain-specific language created with JavaC= C. || - ||[[http://www.alphaworks.ibm.com/tech/hirixml/|Hierarchical Inherited Ru= le-Interpreted XML]]||A dynamic XML Engine that creates dynamic DOMs built = on dynamic rules and expressions in which Velocity may be used as the expre= ssion interpreter.|| + ||[[http://www.alphaworks.ibm.com/tech/hirixml/|Hierarchical Inherited Ru= le-Interpreted XML]] ||A dynamic XML Engine that creates dynamic DOMs built= on dynamic rules and expressions in which Velocity may be used as the expr= ession interpreter. || - ||[[http://www.mcoletti.net/dev/iskb/velociowlPlugin.html|Velociowl, a re= porting plugin for Protege]]||Allows the production of reports and other ou= tput from the powerful OWL knowledgebase editor of Stanford University.|| + ||[[http://www.mcoletti.net/dev/iskb/velociowlPlugin.html|Velociowl, a re= porting plugin for Protege]] ||Allows the production of reports and other o= utput from the powerful OWL knowledgebase editor of Stanford University. || - ||[[http://www.xwiki.org|XWiki]]||A second generation wiki platform writt= en in Java. It uses Velocity for the interface templates, and as the main i= n-page programming language.|| + ||[[http://www.xwiki.org|XWiki]] ||A second generation wiki platform writ= ten in Java. It uses Velocity for the interface templates, and as the main = in-page programming language. || - ||[[http://www.myeclipseide.com|MyEclipse]]||Genuitec's MyEclipse Enterpr= ise Workbench is a leading J2EE IDE in the Eclipse space. With a full-featu= red toolkit, MyEclipse utilizes Velocity for many types of code generation = throughout the product.|| + ||[[http://www.myeclipseide.com|MyEclipse]] ||Genuitec's MyEclipse Enterp= rise Workbench is a leading J2EE IDE in the Eclipse space. With a full-feat= ured toolkit, MyEclipse utilizes Velocity for many types of code generation= throughout the product. || - ||[[http://www.thinkui.com|ThinkUI SQL Client]]||ThinkUI SQL Client is a = graphical program that allows Java developers to browse a database structur= e, edit data in the tables, issue SQL queries, and generate code (e.g. Java= Bean, DAO, SQL queries, JSP files, etc.) based on customizable Velocity te= mplates. [[http://www.thinkui.com/tutorial.html|Online Flash Demo]] is avai= lable.|| + ||[[http://www.thinkui.com|ThinkUI SQL Client]] ||ThinkUI SQL Client is a= graphical program that allows Java developers to browse a database structu= re, edit data in the tables, issue SQL queries, and generate code (e.g. Jav= a Bean, DAO, SQL queries, JSP files, etc.) based on customizable Velocity t= emplates. [[http://www.thinkui.com/tutorial.html|Online Flash Demo]] is ava= ilable. || - ||[[http://www.b-gallery.biz|B*Gallery]]||B*Gallery is a Swing-based imag= e publishing application. Users can create galleries of photos and publish= the photos as static HTML pages using one of several built-in themes. Use= rs can also create their own themes. The themes consist of Velocity templa= tes which makes customization simple, even for less advanced users. || + ||[[http://www.b-gallery.biz|B*Gallery]] ||B*Gallery is a Swing-based ima= ge publishing application. Users can create galleries of photos and publis= h the photos as static HTML pages using one of several built-in themes. Us= ers can also create their own themes. The themes consist of Velocity templ= ates which makes customization simple, even for less advanced users. || - ||[[http://www.gtportalbase.com|GT portalBase]]||GT portalBase is a platf= orm for building web based applications that utilise a database. Velocity p= owers the user interface and custom templates, such as for invoice printing= || + ||[[http://www.gtportalbase.com|GT portalBase]] ||GT portalBase is a plat= form for building web based applications that utilise a database. Velocity = powers the user interface and custom templates, such as for invoice printin= g || - ||[[http://www.prestosports.com|PrestoSports]]||High volume web publishin= g and workflow system for sports websites uses Velocity for every template.= || + ||[[http://www.prestosports.com|PrestoSports]] ||High volume web publishi= ng and workflow system for sports websites uses Velocity for every template= . || - ||[[http://www.spiderstrategies.com/products_overview.htm|Corporate Manag= ement Suite]]||Spider Strategies' Corporate Management Suite (CMS) allows l= arge organizations to track key metrics, add corrective actions, and manage= overall business strategy. Using proven tools like Dashboards and Balanced= Scorecards, CMS provides critical performance data in real-time. The softw= are is used throughout industry and government, including organizations as = diverse as Starbucks Canada, the US Army, and the University of California = San Francisco.|| + ||[[http://www.spiderstrategies.com/products_overview.htm|Corporate Manag= ement Suite]] ||Spider Strategies' Corporate Management Suite (CMS) allows = large organizations to track key metrics, add corrective actions, and manag= e overall business strategy. Using proven tools like Dashboards and Balance= d Scorecards, CMS provides critical performance data in real-time. The soft= ware is used throughout industry and government, including organizations as= diverse as Starbucks Canada, the US Army, and the University of California= San Francisco. || + ||[[http://dotcms.org|dotCMS]] ||dotCMS Enterprise content management sys= tem. || + = + = + = = =3D=3D Velocity Powered Websites =3D=3D - = - This is a list of public web sites that are created using Velocity. - This, of course, is by no means a complete listing of all of the - Velocity powered websites. = + This is a list of public web sites that are created using Velocity. This,= of course, is by no means a complete listing of all of the Velocity powere= d websites. + ||<tablewidth=3D"100%">'''URL''' ||'''Description''' ||<25%>'''Created By= ''' || + ||https://advisor.dynamic.ca/ ||The Dynamic Advisor Site is a website for= professional financial advisors. Velocity powers all content-related pages= as part of the CMS. The Dynamic Advisor Site has already garnered awards f= rom Dalbar as the "best advisor site in Canada." ||https://advisor.dynanmic= .ca || + ||http://www.openedit.org/showcase/ ||10 nice looking Velocity powered we= b sites that are all built and maintained with the free OpenEdit content ma= nagement system.Each page is dynamic, fast loading and search engine friend= ly. ||http://www.openedit.org || + ||[[http://www.JiansNet.com|www.JiansNet.com]] ||JiansNet is a platform f= or searching and sharing information. With our cutting edge search technolo= gy and a growing user base, we let you search and share information easily.= JiansNet even includes the Velocity questions and answers! ||[[http://www.= JiansNet.com|JiansNet]] || + ||[[http://www.everyboat.com|www.everyboat.com]] ||Every Boat uses Veloci= ty templates to generate static caches of classified ads resulting in fast = ad retrieval with no database connections required. ||[[http://www.everyboa= t.com|Every Boat Classifieds]] || + ||[[http://www.flashcan.com|www.flashcan.com]] ||An interactive card maki= ng game using Velocity, Turbine and Macromedia's Flash5. ||[[http://www.zin= croe.com|ZincRoe]] || + ||[[http://www.tigris.org|www.tigris.org]] ||Open source development tool= suite. ||[[http://www.collab.net|CollabNet]] || + ||[[http://www.adeptra.com|www.adeptra.com]] ||Adeptra is a venture-backe= d private company that provides 2-way alerting solutions for personal elect= ronic devices. ||[[http://www.adeptra.com|Adeptra Inc.]] || + ||[[http://www.webhelp.com/|www.webhelp.com]] ||Webhelp is a company that= provides distributed call center integration software and services for web= and wireless technologies. WebHelp incorporated Velocity with their ETran= script component, so that events generated in a conference are rendered as = MIME email and XML using Velocity templates. ||[[http://www.webhelp.com|Web= Help]] || + ||[[http://www.goodwoodinteriors.com|www.goodwoodinteriors.com]] ||Wood f= urniture factory site. The static content of this site is generated using = Velocity templates, providing the benefit of simple deployment without the = overhead of an online servlet container and database with the advantage of = Velocity's ease of use for generating data driven content. ||[[http://www.j= awasoft.com|P.T.Jawasoft]] || + ||[[http://www.freebok.net/|www.freebok.net]] ||Freebok.net is a free gue= stbook service that uses Velocity templates for the site. More importantly = the guestbook users have the option to create their own Velocity templates = to render the layout of their guestbook. ||[[http://www.freebok.net/|Freebo= k.net]] || + ||[[http://www.studentabc.com/|www.studentabc.com]] ||Free APA format and= MLA format [[http://www.studentabc.com/citation_machine|citation machine]]= . Parses visible and hidden html data to automatically generate bibliograp= hic entries. Built on Velocity/Turbine. ||[[http://www.solveabc.com|www.so= lveabc.com]] || + ||[[http://www.studioz.tv/|www.studioz.tv]] ||StudioZ is an events space = in San Francisco where artists of all types can promote their own events. W= e use Anakia with a custom style.vsl to generate the entire static website = XML->HTML in a matter of seconds. ||[[http://www.whichever.com/|www.whichev= er.com]] || + ||[[http://www.cbc.ca/olympics/|www.cbc.ca/olympics/]] ||The Canadian Bro= adcasting Corporation's 2002 Winter Olympic website was developed using Vel= ocity. ||[[http://www.cbc.ca/|Canadian Broadcasting Corporation]] || + ||[[http://www.impress.com/|www.IMPRESS.com]] ||Anakia-generated corporat= e site for Impress Software AG, producer of integration products and servic= es. ||[[http://www.impress.com/|Impress Software AG]] || + ||[[http://www.bkfev.de/|www.bkfev.de]] ||Site of a German Birman Cats ow= ners association. Static site generated with Velocity. ||[[http://www.bkfev= .de/|Birmakatzenfreunden]] || + ||http://www.caribbean.nl/ ||Site of a Dutch travel organization speciali= zed in the caribbean - Dynamic site based on the CrossmarX Application Engi= ne. Most pages are generated with velocity. ||[[http://www.caribbean.nl/|ca= ribbean.nl]] || + ||http://www.sardegne.com/ ||Site of a Sardinia tour operator specialized= in Sardinian Local Turistic Experience - Dynamic site based on Tomcat Appl= ication Engine. All pages are generated with velocity. ||[[http://www.sarde= gne.com/|Sardegne.com]] || + ||http://www.1dental.com/ ||Careington Dental Discount Plans. Online Enro= llment application based on Struts, Velocity and Castor JDO. ||[[http://www= .1dental.com/|1dental.com]] || + ||[[http://www.123case.it|www.123case.it]] ||123case.it is an italian rea= l estate portal developed using Velocity template engine. ||[[http://www.ig= ate.it|www.igate.it]] || + ||[[http://www.3java.net|www.3java.net]] ||A comprehensive directory of J= ava(tm) open source software, as well as an evaluation system that aids in = the selection of open source software. Developed with Struts & Velocity. |= |[[http://www.3java.net|www.3java.net]] || + ||[[http://www.peoplesarchive.com|Peoples Archive]] ||Video (movie) websi= te whose tagline is 'great people telling their life stories'. Soon to incl= ude Donald Knuth for those who are interested! Developed originally (badly)= by my predecessor in taglibs, jsp + nasty java, now being converted (by [[= http://www.keteracel.com/paul|me]]) into Velocity. ||http://www.keteracel.c= om || + ||[[http://jobbank.com/|jobbank.com]] ||Employment site for job searches,= posting jobs, posting resumes, and career tools. This MVC site uses Veloci= ty to render its entire view including templated emails. ||[[http://www.jmj= media.com|JMJ Media]] || + ||[[http://explash.com/|eXplash.com]] ||The social Web 2.0 directory. ||[= [http://jaspersoftware.com/|Jasper Software]] || + ||http://xp-dev.com/ ||Free subversion hosting and project tracking. Its = proprietary MVC uses Velocity exclusively to generate its views. ||[[http:/= /xp-dev.com/|XP-Dev.com]] || = + = - ||<tablewidth=3D"100%">'''URL'''||'''Description'''||<25%>'''Created By''= '|| - ||[[https://advisor.dynamic.ca/]]|| The Dynamic Advisor Site is a website= for professional financial advisors. Velocity powers all content-related p= ages as part of the CMS. The Dynamic Advisor Site has already garnered awar= ds from Dalbar as the "best advisor site in Canada." || [[https://advisor.d= ynanmic.ca]]|| - ||[[http://www.openedit.org/showcase/]]|| 10 nice looking Velocity powere= d web sites that are all built and maintained with the free OpenEdit conten= t management system.Each page is dynamic, fast loading and search engine fr= iendly.|| [[http://www.openedit.org]]|| - ||[[http://www.JiansNet.com|www.JiansNet.com]]||JiansNet is a platform fo= r searching and sharing information. With our cutting edge search technolog= y and a growing user base, we let you search and share information easily. = JiansNet even includes the Velocity questions and answers! ||[[http://www.J= iansNet.com|JiansNet]]|| - ||[[http://www.everyboat.com|www.everyboat.com]]||Every Boat uses Velocit= y templates to generate static caches of classified ads resulting in fast a= d retrieval with no database connections required.||[[http://www.everyboat.= com|Every Boat Classifieds]]|| - ||[[http://www.flashcan.com|www.flashcan.com]]||An interactive card makin= g game using Velocity, Turbine and Macromedia's Flash5.||[[http://www.zincr= oe.com|ZincRoe]]|| - ||[[http://www.tigris.org|www.tigris.org]]||Open source development tool = suite.||[[http://www.collab.net|CollabNet]]|| - ||[[http://www.adeptra.com|www.adeptra.com]]||Adeptra is a venture-backed= private company that provides 2-way alerting solutions for personal electr= onic devices.||[[http://www.adeptra.com|Adeptra Inc.]]|| - ||[[http://www.webhelp.com/|www.webhelp.com]]||Webhelp is a company that = provides distributed call center integration software and services for web = and wireless technologies. WebHelp incorporated Velocity with their ETrans= cript component, so that events generated in a conference are rendered as M= IME email and XML using Velocity templates.||[[http://www.webhelp.com|WebHe= lp]]|| - ||[[http://www.goodwoodinteriors.com|www.goodwoodinteriors.com]]||Wood fu= rniture factory site. The static content of this site is generated using V= elocity templates, providing the benefit of simple deployment without the o= verhead of an online servlet container and database with the advantage of V= elocity's ease of use for generating data driven content.||[[http://www.jaw= asoft.com|P.T.Jawasoft]]|| - ||[[http://www.freebok.net/|www.freebok.net]]||Freebok.net is a free gues= tbook service that uses Velocity templates for the site. More importantly t= he guestbook users have the option to create their own Velocity templates t= o render the layout of their guestbook.||[[http://www.freebok.net/|Freebok.= net]]|| - ||[[http://www.studentabc.com/|www.studentabc.com]]||Free APA format and = MLA format [[http://www.studentabc.com/citation_machine|citation machine]].= Parses visible and hidden html data to automatically generate bibliograph= ic entries. Built on Velocity/Turbine.||[[http://www.solveabc.com|www.solv= eabc.com]]|| - ||[[http://www.studioz.tv/|www.studioz.tv]]||StudioZ is an events space i= n San Francisco where artists of all types can promote their own events. We= use Anakia with a custom style.vsl to generate the entire static website X= ML->HTML in a matter of seconds.||[[http://www.whichever.com/|www.whichever= .com]]|| - ||[[http://www.cbc.ca/olympics/|www.cbc.ca/olympics/]]||The Canadian Broa= dcasting Corporation's 2002 Winter Olympic website was developed using Velo= city.||[[http://www.cbc.ca/|Canadian Broadcasting Corporation]]|| - ||[[http://www.impress.com/|www.IMPRESS.com]]||Anakia-generated corporate= site for Impress Software AG, producer of integration products and service= s.||[[http://www.impress.com/|Impress Software AG]]|| - ||[[http://www.bkfev.de/|www.bkfev.de]]||Site of a German Birman Cats own= ers association. Static site generated with Velocity.||[[http://www.bkfev.d= e/|Birmakatzenfreunden]]|| - ||[[http://www.caribbean.nl/|http://www.caribbean.nl/]]||Site of a Dutch = travel organization specialized in the caribbean - Dynamic site based on th= e CrossmarX Application Engine. Most pages are generated with velocity.||[[= http://www.caribbean.nl/|caribbean.nl]]|| - ||[[http://www.sardegne.com/|http://www.sardegne.com/]]||Site of a Sardin= ia tour operator specialized in Sardinian Local Turistic Experience - Dynam= ic site based on Tomcat Application Engine. All pages are generated with ve= locity.||[[http://www.sardegne.com/|Sardegne.com]]|| - ||[[http://www.1dental.com/|http://www.1dental.com/]]||Careington Dental = Discount Plans. Online Enrollment application based on Struts, Velocity and= Castor JDO.||[[http://www.1dental.com/|1dental.com]]|| - ||[[http://www.123case.it|www.123case.it]]||123case.it is an italian real= estate portal developed using Velocity template engine.||[[http://www.igat= e.it|www.igate.it]]|| - ||[[http://www.3java.net|www.3java.net]]||A comprehensive directory of Ja= va(tm) open source software, as well as an evaluation system that aids in t= he selection of open source software. Developed with Struts & Velocity.||[= [http://www.3java.net|www.3java.net]]|| - ||[[http://www.peoplesarchive.com|Peoples Archive]]||Video (movie) websit= e whose tagline is 'great people telling their life stories'. Soon to inclu= de Donald Knuth for those who are interested! Developed originally (badly) = by my predecessor in taglibs, jsp + nasty java, now being converted (by [[h= ttp://www.keteracel.com/paul|me]]) into Velocity.||[[http://www.keteracel.c= om]]|| - ||[[http://jobbank.com/|jobbank.com]]||Employment site for job searches, = posting jobs, posting resumes, and career tools. This MVC site uses Velocit= y to render its entire view including templated emails.||[[http://www.jmjme= dia.com|JMJ Media]]|| - ||[[http://explash.com/|eXplash.com]]||The social Web 2.0 directory.||[[h= ttp://jaspersoftware.com/|Jasper Software]]|| - ||[[http://xp-dev.com/|http://xp-dev.com/]]||Free subversion hosting and = project tracking. Its proprietary MVC uses Velocity exclusively to generate= its views.||[[http://xp-dev.com/|XP-Dev.com]]|| - = = = =3D=3D Frameworks that Support Velocity =3D=3D + This is a list of web frameworks that include support for Velocity 'out o= f the box'. While many web frameworks are being used with Velocity, such a= s the [[http://jakarta.apache.org/struts/|Jakarta Struts]] project, the fol= lowing include support for Velocity within the package. - = - This is a list of web frameworks that include support for - Velocity 'out of the box'. While many web frameworks are - being used with Velocity, such as the - [[http://jakarta.apache.org/struts/|Jakarta Struts]] - project, the following include support for Velocity within the - package. - = - = - = - ||<30%tablewidth=3D"100%">'''Name'''||'''Description'''|| + ||<tablewidth=3D"100%"30%>'''Name''' ||'''Description''' || - ||[[http://dione.zcu.cz/~toman40/ActionServlet|ActionServlet]]||ActionSer= vlet provides an easy mapping of user actions (HTTP requests) to methods of= Java components together with automatic conversion of HTTP parameters to t= he values of Java types.|| + ||[[http://dione.zcu.cz/~toman40/ActionServlet|ActionServlet]] ||ActionSe= rvlet provides an easy mapping of user actions (HTTP requests) to methods o= f Java components together with automatic conversion of HTTP parameters to = the values of Java types. || - ||[[http://click.sourceforge.net|Click]]||Click is a J2EE web application= framework created for commercial Java developers. Highlights include: ve= ry easy to learn; event based programming model; high performance.|| + ||[[http://click.sourceforge.net|Click]] ||Click is a J2EE web applicatio= n framework created for commercial Java developers. Highlights include: v= ery easy to learn; event based programming model; high performance. || - ||[[http://www.jcorporate.com/expresso.html|Expresso]]||Expresso is a pow= erful, enterprise-strength web application development framework. Expresso = extends Struts for developing database-driven web applications and adds cap= abilities for security, robust object-relational mapping, and many other se= rvices commonly required in web application development. Expresso can use V= elocity for the view tier, as well as several other technologies.|| + ||[[http://www.jcorporate.com/expresso.html|Expresso]] ||Expresso is a po= werful, enterprise-strength web application development framework. Expresso= extends Struts for developing database-driven web applications and adds ca= pabilities for security, robust object-relational mapping, and many other s= ervices commonly required in web application development. Expresso can use = Velocity for the view tier, as well as several other technologies. || - ||[[http://jakarta.apache.org/turbine/|Jakarta Turbine]]||One of the earl= y servlet-based web frameworks, and currently in version 2.1, Turbine is a = framework that allows experienced Java developers to quickly build secure w= eb applications. While Turbines primary templating technology is Velocity,= it also supports JSP, WebMacro, FreeMarker, ECS and others.|| + ||[[http://jakarta.apache.org/turbine/|Jakarta Turbine]] ||One of the ear= ly servlet-based web frameworks, and currently in version 2.1, Turbine is a= framework that allows experienced Java developers to quickly build secure = web applications. While Turbines primary templating technology is Velocity= , it also supports JSP, WebMacro, FreeMarker, ECS and others. || - ||[[http://www.jpublish.org/|JPublish]]||JPublish is a web publishing fra= mework which merges the Velocity template engine with a content repository = and application control framework.|| + ||[[http://www.jpublish.org/|JPublish]] ||JPublish is a web publishing fr= amework which merges the Velocity template engine with a content repository= and application control framework. || - ||[[http://mav.sourceforge.net|Maverick]]||Maverick is a Model-View-Contr= oller framework for publishing web applications. It is a simple, minimalist= framework which offers the ability to render views with JSP, Velocity, or = XSLT directly.|| + ||[[http://mav.sourceforge.net|Maverick]] ||Maverick is a Model-View-Cont= roller framework for publishing web applications. It is a simple, minimalis= t framework which offers the ability to render views with JSP, Velocity, or= XSLT directly. || - ||[[http://www.melati.org|Melati]]||Melati is a tool for building Java-pr= ogrammed websites backed by a database.|| + ||[[http://www.melati.org|Melati]] ||Melati is a tool for building Java-p= rogrammed websites backed by a database. || - ||[[http://myvelcont.sourceforge.net/|MyVelocityController]]||MyVelocityC= ontroller is a simple Servlet controller (under the MVC pattern) which uses= Velocity as its unique templating engine. It uses a set of templates to sh= ow HTML and another set to access a JDBC database.|| + ||[[http://myvelcont.sourceforge.net/|MyVelocityController]] ||MyVelocity= Controller is a simple Servlet controller (under the MVC pattern) which use= s Velocity as its unique templating engine. It uses a set of templates to s= how HTML and another set to access a JDBC database. || - ||[[http://www.niggle.org/|Niggle]]||Niggle is a Java class library inten= ded for use in development of robust, maintainable web applications. The Ni= ggle framework is designed to alleviate the repetitive, tedious details typ= ical of those kinds of applications|| + ||[[http://www.niggle.org/|Niggle]] ||Niggle is a Java class library inte= nded for use in development of robust, maintainable web applications. The N= iggle framework is designed to alleviate the repetitive, tedious details ty= pical of those kinds of applications || - ||[[http://www.openedit.org|OpenEdit]]|| OpenEdit is a platform used by w= eb design firms for creating and maintaining web sites. It includes content= management, eCommerce and blog editing tools and is built from the ground = up with Velocity. Uses Spring for Java objects and actions and requires no = database. || + ||[[http://www.openedit.org|OpenEdit]] ||OpenEdit is a platform used by w= eb design firms for creating and maintaining web sites. It includes content= management, eCommerce and blog editing tools and is built from the ground = up with Velocity. Uses Spring for Java objects and actions and requires no = database. || - ||[[http://pandora-frmwrk.sourceforge.net|PANDORA]]||PANDORA is a lightwe= ight web-application framework with single servlet, multi controller archit= ecture. It supports the ''Pull MVC'' pattern providing models for Forms, Ta= bles, Trees, Lists and the ''Open Session in View'' pattern in combination = with pluggable Hibnerate support.|| + ||[[http://pandora-frmwrk.sourceforge.net|PANDORA]] ||PANDORA is a lightw= eight web-application framework with single servlet, multi controller archi= tecture. It supports the ''Pull MVC'' pattern providing models for Forms, T= ables, Trees, Lists and the ''Open Session in View'' pattern in combination= with pluggable Hibnerate support. || - ||[[http://www.restlet.org|Restlet]]||Restlet is a lightweight REST frame= work for Java that natively supports Velocity templates as well as FreeMark= er templates, JSON, XML and other types of representations.|| + ||[[http://www.restlet.org|Restlet]] ||Restlet is a lightweight REST fram= ework for Java that natively supports Velocity templates as well as FreeMar= ker templates, JSON, XML and other types of representations. || - ||[[http://scriptella.javaforge.com|Scriptella ETL]]||Scriptella is an op= en source ETL(Extract-Transform-Load) and script execution tool. Its primar= y focus is simplicity. It doesn't require the user to learn another complex= XML-based language to use it, but allows the use of SQL or another scripti= ng language suitable for the data source to perform required transformation= s. Scriptella [[http://scriptella.javaforge.com/docs/api/scriptella/driver/= velocity/package-summary.html|provides built-in support]] for Velocity temp= lates in ETL files|| + ||[[http://scriptella.javaforge.com|Scriptella ETL]] ||Scriptella is an o= pen source ETL(Extract-Transform-Load) and script execution tool. Its prima= ry focus is simplicity. It doesn't require the user to learn another comple= x XML-based language to use it, but allows the use of SQL or another script= ing language suitable for the data source to perform required transformatio= ns. Scriptella [[http://scriptella.javaforge.com/docs/api/scriptella/driver= /velocity/package-summary.html|provides built-in support]] for Velocity tem= plates in ETL files || - ||[[http://www.springframework.org|Spring Framework]]||Spring is a layere= d Java/J2EE application framework, based on code published in Expert One-on= -One J2EE Design and Development by Rod Johnson (Wrox, 2002). Specifically= , it is a complete, lightweight container providing centralized, automated = configuration and wiring of your application objects. It includes a flexib= le MVC web application framework which is highly configurable via strategy = interfaces, and accommodates multiple view technologies like JSP, Velocity,= Tiles, iText, and POI.|| + ||[[http://www.springframework.org|Spring Framework]] ||Spring is a layer= ed Java/J2EE application framework, based on code published in Expert One-o= n-One J2EE Design and Development by Rod Johnson (Wrox, 2002). Specificall= y, it is a complete, lightweight container providing centralized, automated= configuration and wiring of your application objects. It includes a flexi= ble MVC web application framework which is highly configurable via strategy= interfaces, and accommodates multiple view technologies like JSP, Velocity= , Tiles, iText, and POI. || - ||[[http://tammi.sourceforge.net/|Tammi]]||Tammi is a Java component base= d development framework and run-time container for applications supporting = web browsers, mobile terminals and/or Swing based user interfaces.|| + ||[[http://tammi.sourceforge.net/|Tammi]] ||Tammi is a Java component bas= ed development framework and run-time container for applications supporting= web browsers, mobile terminals and/or Swing based user interfaces. || - ||[[http://velocityweb.sourceforge.net/|VelocityWeb]]|| VelocityWeb is a= zero-configuration web framework for J2EE.It's easy to debug/unit test wit= hout J2EE server,create view with Velocity/Freemarker,create DAO with Apach= e Common DBUtils,SQL pagination,and transaction following TRANSACTION_PER_R= EQUEST.|| + ||[[http://velocityweb.sourceforge.net/|VelocityWeb]] ||VelocityWeb is a = zero-configuration web framework for J2EE.It's easy to debug/unit test with= out J2EE server,create view with Velocity/Freemarker,create DAO with Apache= Common DBUtils,SQL pagination,and transaction following TRANSACTION_PER_RE= QUEST. || - ||[[http://sourceforge.net/projects/webwork/|WebWork]]||WebWork is a web = application framework for J2EE. It is based on a concept called "Pull HMVC"= (Pull Hierarchical Model View Controller). The basic idea is to separate t= he site programmers' and site designers' tasks. WebWork now supports Veloc= ity with their 1.0 release.|| + ||[[http://sourceforge.net/projects/webwork/|WebWork]] ||WebWork is a web= application framework for J2EE. It is based on a concept called "Pull HMVC= " (Pull Hierarchical Model View Controller). The basic idea is to separate = the site programmers' and site designers' tasks. WebWork now supports Velo= city with their 1.0 release. || - ||[[http://www.ztemplates.org/|ztemplates]]|| web framework with java 1.= 5 - uses object injection, annotations , generics and reflection - support = for templating, data binding, form validation (with Ajax/DWR), security, se= arch-engine friendly urls and i18n - gui components like tree and tabbed pa= ne - supports Apache Velocity, JSP and other technologies for rendering web= pages.|| + ||[[http://www.ztemplates.org/|ztemplates]] ||web framework with java 1.5= - uses object injection, annotations , generics and reflection - support f= or templating, data binding, form validation (with Ajax/DWR), security, sea= rch-engine friendly urls and i18n - gui components like tree and tabbed pan= e - supports Apache Velocity, JSP and other technologies for rendering webp= ages. || = + = +=20 From [email protected] Thu Apr 29 22:32:06 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 90981 invoked from network); 29 Apr 2010 22:32:05 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 29 Apr 2010 22:32:05 -0000 Received: (qmail 64454 invoked by uid 500); 29 Apr 2010 22:32:04 -0000 Delivered-To: [email protected] Received: (qmail 64333 invoked by uid 500); 29 Apr 2010 22:32:04 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 64325 invoked by uid 99); 29 Apr 2010 22:32:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Apr 2010 22:32:04 +0000 X-ASF-Spam-Status: No, hits=-1480.0 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eris.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Apr 2010 22:32:03 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id CD50C23889C5; Thu, 29 Apr 2010 22:31:13 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r939499 - /jakarta/jmeter/trunk/test/src/org/apache/jorphan/util/TestJorphanUtils.java Date: Thu, 29 Apr 2010 22:31:13 -0000 To: [email protected] From: [email protected] X-Mailer: svnmailer-1.0.8 Message-Id: <[email protected]> Author: sebb Date: Thu Apr 29 22:31:13 2010 New Revision: 939499 URL: http://svn.apache.org/viewvc?rev=939499&view=rev Log: Unused import Modified: jakarta/jmeter/trunk/test/src/org/apache/jorphan/util/TestJorphanUtils.java Modified: jakarta/jmeter/trunk/test/src/org/apache/jorphan/util/TestJorphanUtils.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/test/src/org/apache/jorphan/util/TestJorphanUtils.java?rev=939499&r1=939498&r2=939499&view=diff ============================================================================== --- jakarta/jmeter/trunk/test/src/org/apache/jorphan/util/TestJorphanUtils.java (original) +++ jakarta/jmeter/trunk/test/src/org/apache/jorphan/util/TestJorphanUtils.java Thu Apr 29 22:31:13 2010 @@ -22,8 +22,6 @@ package org.apache.jorphan.util; -import java.io.UnsupportedEncodingException; - import junit.framework.TestCase; public class TestJorphanUtils extends TestCase { From [email protected] Fri Apr 30 00:00:56 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 33795 invoked from network); 30 Apr 2010 00:00:55 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 30 Apr 2010 00:00:55 -0000 Received: (qmail 16639 invoked by uid 500); 30 Apr 2010 00:00:55 -0000 Delivered-To: [email protected] Received: (qmail 16511 invoked by uid 500); 30 Apr 2010 00:00:55 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 16491 invoked by uid 99); 30 Apr 2010 00:00:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Apr 2010 00:00:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO hudson.zones.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Apr 2010 00:00:52 +0000 Received: from hudson.zones.apache.org (localhost [161.129.204.104]) by hudson.zones.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3U00UUJ019238 for <[email protected]>; Thu, 29 Apr 2010 20:00:30 -0400 (EDT) Date: Fri, 30 Apr 2010 00:00:30 +0000 (UTC) From: Apache Hudson Server <[email protected]> To: [email protected] Message-ID: <[email protected]> In-Reply-To: <[email protected]> References: <[email protected]> Subject: Build failed in Hudson: Cactus #457 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org See <http://hudson.zones.apache.org/hudson/job/Cactus/457/> ------------------------------------------ Failed to access build log hudson.util.IOException2: remote file operation failed: /[email protected]@4b744b:minerva.apache.org (Ubuntu) at hudson.FilePath.act(FilePath.java:743) at hudson.FilePath.act(FilePath.java:729) at hudson.FilePath.toURI(FilePath.java:784) at hudson.tasks.MailSender.createFailureMail(MailSender.java:259) at hudson.tasks.MailSender.getMail(MailSender.java:134) at hudson.tasks.MailSender.execute(MailSender.java:82) at hudson.maven.MavenModuleSetBuild$RunnerImpl.cleanUp(MavenModuleSetBuild.java:616) at hudson.model.Run.run(Run.java:1285) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:304) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:122) Caused by: java.io.IOException: Remote call on minerva.apache.org (Ubuntu) failed at hudson.remoting.Channel.call(Channel.java:560) at hudson.FilePath.act(FilePath.java:736) ... 10 more Caused by: java.lang.OutOfMemoryError: PermGen space From [email protected] Fri Apr 30 18:51:27 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 10045 invoked from network); 30 Apr 2010 18:51:26 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 30 Apr 2010 18:51:26 -0000 Received: (qmail 91904 invoked by uid 500); 30 Apr 2010 18:51:26 -0000 Delivered-To: [email protected] Received: (qmail 91711 invoked by uid 500); 30 Apr 2010 18:51:25 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 91704 invoked by uid 500); 30 Apr 2010 18:51:25 -0000 Delivered-To: [email protected] Received: (qmail 91701 invoked by uid 99); 30 Apr 2010 18:51:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Apr 2010 18:51:25 +0000 X-ASF-Spam-Status: No, hits=-1419.6 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO eos.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Apr 2010 18:51:23 +0000 Received: from eos.apache.org (localhost [161.129.204.104]) by eos.apache.org (Postfix) with ESMTP id 8087C17D1C; Fri, 30 Apr 2010 18:51:03 +0000 (GMT) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki <[email protected]> To: Apache Wiki <[email protected]> Date: Fri, 30 Apr 2010 18:51:03 -0000 Message-ID: <[email protected]> Subject: =?utf-8?q?=5BVelocity_Wiki=5D_Update_of_=22PoweredByVelocity=22_by_Thomas?= =?utf-8?q?Vandahl?= Dear Wiki user, You have subscribed to a wiki page or wiki category on "Velocity Wiki" for = change notification. The "PoweredByVelocity" page has been changed by ThomasVandahl. The comment on this change is: Update Turbine information. http://wiki.apache.org/velocity/PoweredByVelocity?action=3Ddiff&rev1=3D75&r= ev2=3D76 -------------------------------------------------- ||[[http://dione.zcu.cz/~toman40/ActionServlet|ActionServlet]] ||ActionSe= rvlet provides an easy mapping of user actions (HTTP requests) to methods o= f Java components together with automatic conversion of HTTP parameters to = the values of Java types. || ||[[http://click.sourceforge.net|Click]] ||Click is a J2EE web applicatio= n framework created for commercial Java developers. Highlights include: v= ery easy to learn; event based programming model; high performance. || ||[[http://www.jcorporate.com/expresso.html|Expresso]] ||Expresso is a po= werful, enterprise-strength web application development framework. Expresso= extends Struts for developing database-driven web applications and adds ca= pabilities for security, robust object-relational mapping, and many other s= ervices commonly required in web application development. Expresso can use = Velocity for the view tier, as well as several other technologies. || - ||[[http://jakarta.apache.org/turbine/|Jakarta Turbine]] ||One of the ear= ly servlet-based web frameworks, and currently in version 2.1, Turbine is a= framework that allows experienced Java developers to quickly build secure = web applications. While Turbines primary templating technology is Velocity= , it also supports JSP, WebMacro, FreeMarker, ECS and others. || + ||[[http://turbine.apache.org/|Apache Turbine]] ||One of the early servle= t-based web frameworks, and currently in version 2.3.3, Turbine is a framew= ork that allows experienced Java developers to quickly build secure web app= lications. Turbines primary templating technology is Velocity. It also supp= orts JSP, ECS and others. || ||[[http://www.jpublish.org/|JPublish]] ||JPublish is a web publishing fr= amework which merges the Velocity template engine with a content repository= and application control framework. || ||[[http://mav.sourceforge.net|Maverick]] ||Maverick is a Model-View-Cont= roller framework for publishing web applications. It is a simple, minimalis= t framework which offers the ability to render views with JSP, Velocity, or= XSLT directly. || ||[[http://www.melati.org|Melati]] ||Melati is a tool for building Java-p= rogrammed websites backed by a database. || @@ -121, +121 @@ ||[[http://sourceforge.net/projects/webwork/|WebWork]] ||WebWork is a web= application framework for J2EE. It is based on a concept called "Pull HMVC= " (Pull Hierarchical Model View Controller). The basic idea is to separate = the site programmers' and site designers' tasks. WebWork now supports Velo= city with their 1.0 release. || ||[[http://www.ztemplates.org/|ztemplates]] ||web framework with java 1.5= - uses object injection, annotations , generics and reflection - support f= or templating, data binding, form validation (with Ajax/DWR), security, sea= rch-engine friendly urls and i18n - gui components like tree and tabbed pan= e - supports Apache Velocity, JSP and other technologies for rendering webp= ages. || = - = -=20 From [email protected] Fri Apr 30 20:37:20 2010 Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 31116 invoked from network); 30 Apr 2010 20:37:19 -0000 Received: from unknown (HELO mail.apache.org) (161.129.204.104) by 161.129.204.104 with SMTP; 30 Apr 2010 20:37:19 -0000 Received: (qmail 7381 invoked by uid 500); 30 Apr 2010 20:37:19 -0000 Delivered-To: [email protected] Received: (qmail 7250 invoked by uid 500); 30 Apr 2010 20:37:18 -0000 Mailing-List: contact [email protected]; run by ezmlm Precedence: bulk List-Help: <mailto:[email protected]> List-Unsubscribe: <mailto:[email protected]> List-Post: <mailto:[email protected]> List-Id: <notifications.jakarta.apache.org> Reply-To: [email protected] Delivered-To: mailing list [email protected] Received: (qmail 7240 invoked by uid 99); 30 Apr 2010 20:37:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Apr 2010 20:37:18 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [161.129.204.104] (HELO thor.apache.org) (161.129.204.104) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Apr 2010 20:37:16 +0000 Received: from thor (localhost [161.129.204.104]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3UKaseM007443 for <[email protected]>; Fri, 30 Apr 2010 20:36:54 GMT Message-ID: <28698915.40331272659814450.JavaMail.jira@thor> Date: Fri, 30 Apr 2010 16:36:54 -0400 (EDT) From: "Chiat Lam (JIRA)" <[email protected]> To: [email protected] Subject: [jira] Commented: (JCS-75) change the method isExpired(org.apache.jcs.engine.control.CompositeCache) from private to protected In-Reply-To: <19294984.58111272465153412.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCS-75?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12862849#action_12862849 ] Chiat Lam commented on JCS-75: ------------------------------ In addition, Is possible to change variable (private AuxiliaryCache[] auxCaches = new AuxiliaryCache[0];) to protected also? Thanks > change the method isExpired(org.apache.jcs.engine.control.CompositeCache) from private to protected > --------------------------------------------------------------------------------------------------- > > Key: JCS-75 > URL: https://issues.apache.org/jira/browse/JCS-75 > Project: JCS > Issue Type: Improvement > Components: Composite Cache > Reporter: Chiat Lam > Assignee: Aaron Smuts > Priority: Minor > > Is possible to change the method isExpired(org.apache.jcs.engine.control.CompositeCache) from private to protected? I would be override this method for my custom CompositeCache. Thanks -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.